ADM/[ADM] Integrated Logic/ADM_Integrated_Logic_ert_rtw/html/lib/bundle.index.js
2025-06-12 17:11:59 +09:00

635 lines
2.3 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{var __webpack_modules__={72904:(_,P,l)=>{var b,S;b=[l(80675),l(69961),l(30673),l(27420),l(55701)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e=0,t=1,r=2,i="This deferred has already been fulfilled.",s=Object.freeze||function(){},a=function(v,f,g,m,E){C("config-deferredInstrumentation")&&f===r&&h.instrumentRejected&&v.length===0&&h.instrumentRejected(g,!1,m,E);for(var w=0;w<v.length;w++)o(v[w],f,g,m)},o=function(v,f,g,m){var E=v[f],w=v.deferred;if(E)try{var I=E(g);if(f===e)typeof I<"u"&&c(w,f,I);else{if(I&&typeof I.then=="function"){v.cancel=I.cancel,I.then(u(w,t),u(w,r),u(w,e));return}c(w,t,I)}}catch(M){c(w,r,M)}else c(w,f,g);C("config-deferredInstrumentation")&&f===r&&h.instrumentRejected&&h.instrumentRejected(g,!!E,m,w.promise)},u=function(v,f){return function(g){c(v,f,g)}},c=function(v,f,g){if(!v.isCanceled())switch(f){case e:v.progress(g);break;case t:v.resolve(g);break;case r:v.reject(g);break}},h=function(v){var f=this.promise=new d,g=this,m,E,w,I=!1,M=[];C("config-deferredInstrumentation")&&Error.captureStackTrace&&(Error.captureStackTrace(g,h),Error.captureStackTrace(f,h)),this.isResolved=f.isResolved=function(){return m===t},this.isRejected=f.isRejected=function(){return m===r},this.isFulfilled=f.isFulfilled=function(){return!!m},this.isCanceled=f.isCanceled=function(){return I},this.progress=function(T,N){if(m){if(N===!0)throw new Error(i);return f}else return a(M,e,T,null,g),f},this.resolve=function(T,N){if(m){if(N===!0)throw new Error(i);return f}else return a(M,m=t,E=T,null,g),M=null,f};var R=this.reject=function(T,N){if(m){if(N===!0)throw new Error(i);return f}else return C("config-deferredInstrumentation")&&Error.captureStackTrace&&Error.captureStackTrace(w={},R),a(M,m=r,E=T,w,g),M=null,f};this.then=f.then=function(T,N,F){var y=[F,T,N];return y.cancel=f.cancel,y.deferred=new h(function(x){return y.cancel&&y.cancel(x)}),m&&!M?o(y,m,E,w):M.push(y),y.deferred.promise},this.cancel=f.cancel=function(T,N){if(m){if(N===!0)throw new Error(i)}else{if(v){var F=v(T);T=typeof F>"u"?T:F}if(I=!0,m){if(m===r&&E===T)return T}else return typeof T>"u"&&(T=new p),R(T),T}},s(f)};return h.prototype.toString=function(){return"[object Deferred]"},n&&n(h),h},_,P),_.exports=S},57574:(_,P,l)=>{var b,S;b=[l(76873),l(86560)],S=l.dj.d(b,function(C,A){"use strict";var p=C.after;function d(){}return d.prototype={on:function(n,e){return A.parse(this,n,e,function(t,r){return p(t,"on"+r,e,!0)})},emit:function(n,e){var t=[this];return t.push.apply(t,arguments),A.emit.apply(A,t)}},d},_,P),_.exports=S},51937:(_,P,l)=>{var b,S;b=[l(74786),l(69961),l(33659),l(27754)],S=l.dj.d(b,function(C,A,p,d){return C("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(n){var e=this._attrPairNames;return e[n]?e[n]:e[n]={s:"_"+n+"Setter",g:"_"+n+"Getter"}},postscript:function(n){n&&this.set(n)},_get:function(n,e){return typeof this[e.g]=="function"?this[e.g]():this[n]},get:function(n){return this._get(n,this._getAttrNames(n))},set:function(n,e){if(typeof n=="object"){for(var t in n)n.hasOwnProperty(t)&&t!="_watchCallbacks"&&this.set(t,n[t]);return this}var r=this._getAttrNames(n),i=this._get(n,r),s=this[r.s],a;if(typeof s=="function"?a=s.apply(this,Array.prototype.slice.call(arguments,1)):this[n]=e,this._watchCallbacks){var o=this;d(a,function(){o._watchCallbacks(n,i,e)})}return this},_changeAttrValue:function(n,e){var t=this.get(n);return this[n]=e,this._watchCallbacks&&this._watchCallbacks(n,t,e),this},watch:function(n,e){var t=this._watchCallbacks;if(!t){var r=this;t=this._watchCallbacks=function(a,o,u,c){var h=function(v){if(v){v=v.slice();for(var f=0,g=v.length;f<g;f++)v[f].call(r,a,o,u)}};h(t["_"+a]),c||h(t["*"])}}!e&&typeof n=="function"?(e=n,n="*"):n="_"+n;var i=t[n];typeof i!="object"&&(i=t[n]=[]),i.push(e);var s={};return s.unwatch=s.remove=function(){var a=p.indexOf(i,e);a>-1&&i.splice(a,1)},s}})},_,P),_.exports=S},36586:(_,P,l)=>{var b,S;b=[l(57987),l(69961),l(33659),l(69196)],S=l.dj.d(b,function(C,A,p,d){var n=C.Color=function(e){e&&this.setColor(e)};return n.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:d.transparentColor||[0,0,0,0]},A.extend(n,{r:255,g:255,b:255,a:1,_set:function(e,t,r,i){var s=this;s.r=e,s.g=t,s.b=r,s.a=i},setColor:function(e){return A.isString(e)?n.fromString(e,this):A.isArray(e)?n.fromArray(e,this):(this._set(e.r,e.g,e.b,e.a),e instanceof n||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var e=this;return[e.r,e.g,e.b]},toRgba:function(){var e=this;return[e.r,e.g,e.b,e.a]},toHex:function(){var e=p.map(["r","g","b"],function(t){var r=this[t].toString(16);return r.length<2?"0"+r:r},this);return"#"+e.join("")},toCss:function(e){var t=this,r=t.r+", "+t.g+", "+t.b;return(e?"rgba("+r+", "+t.a:"rgb("+r)+")"},toString:function(){return this.toCss(!0)}}),n.blendColors=C.blendColors=function(e,t,r,i){var s=i||new n;return s.r=Math.round(e.r+(t.r-e.r)*r),s.g=Math.round(e.g+(t.g-e.g)*r),s.b=Math.round(e.b+(t.b-e.b)*r),s.a=e.a+(t.a-e.a)*r,s.sanitize()},n.fromRgb=C.colorFromRgb=function(e,t){var r=e.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return r&&n.fromArray(r[1].split(/\s*,\s*/),t)},n.fromHex=C.colorFromHex=function(e,t){var r=t||new n,i=e.length==4?4:8,s=(1<<i)-1;return e=+("0x"+e.substr(1)),isNaN(e)?null:(p.forEach(["b","g","r"],function(a){var o=e&s;e>>=i,r[a]=i==4?17*o:o}),r.a=1,r)},n.fromArray=C.colorFromArray=function(e,t){var r=t||new n;return r._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(r.a)&&(r.a=1),r.sanitize()},n.fromString=C.colorFromString=function(e,t){var r=n.named[e];return r&&n.fromArray(r,t)||n.fromRgb(e,t)||n.fromHex(e,t)},n},_,P),_.exports=S},67324:(_,P,l)=>{var b,S;b=[l(57987),l(72904),l(27420),l(30673),l(80675),l(69961),l(27754)],S=l.dj.d(b,function(C,A,p,d,n,e,t){var r=function(){},i=Object.freeze||function(){},s=C.Deferred=function(a){var o,u,c,h,v,f,g,m=this.promise=new p;function E(M){if(u)throw new Error("This deferred has already been resolved");o=M,u=!0,w()}function w(){for(var M;!M&&g;){var R=g;g=g.next,(M=R.progress==r)&&(u=!1);var T=v?R.error:R.resolved;if(n("config-useDeferredInstrumentation")&&v&&A.instrumentRejected&&A.instrumentRejected(o,!!T),T)try{var N=T(o);if(N&&typeof N.then=="function"){N.then(e.hitch(R.deferred,"resolve"),e.hitch(R.deferred,"reject"),e.hitch(R.deferred,"progress"));continue}var F=M&&N===void 0;M&&!F&&(v=N instanceof Error),R.deferred[F&&v?"reject":"resolve"](F?o:N)}catch(y){R.deferred.reject(y)}else v?R.deferred.reject(o):R.deferred.resolve(o)}}this.isResolved=m.isResolved=function(){return h==0},this.isRejected=m.isRejected=function(){return h==1},this.isFulfilled=m.isFulfilled=function(){return h>=0},this.isCanceled=m.isCanceled=function(){return c},this.resolve=this.callback=function(M){this.fired=h=0,this.results=[M,null],E(M)},this.reject=this.errback=function(M){v=!0,this.fired=h=1,n("config-useDeferredInstrumentation")&&A.instrumentRejected&&A.instrumentRejected(M,!!g),E(M),this.results=[null,M]},this.progress=function(M){for(var R=g;R;){var T=R.progress;T&&T(M),R=R.next}},this.addCallbacks=function(M,R){return this.then(M,R,r),this},m.then=this.then=function(M,R,T){var N=T==r?this:new s(m.cancel),F={resolved:M,error:R,progress:T,deferred:N};return g?f=f.next=F:g=f=F,u&&w(),N.promise};var I=this;m.cancel=this.cancel=function(){if(!u){var M=a&&a(I);u||(M instanceof Error||(M=new d(M)),M.log=!1,I.reject(M))}c=!0},i(m)};return e.extend(s,{addCallback:function(a){return this.addCallbacks(e.hitch.apply(C,arguments))},addErrback:function(a){return this.addCallbacks(null,e.hitch.apply(C,arguments))},addBoth:function(a){var o=e.hitch.apply(C,arguments);return this.addCallbacks(o,o)},fired:-1}),s.when=C.when=t,s},_,P),_.exports=S},33659:(_,P,l)=>{var b,S;b=[l(57987),l(80675),l(69961)],S=l.dj.d(b,function(C,A,p){var d={},n,e;A("csp-restrictions")||(e=function(s){return d[s]=new Function("item","index","array",s)});function t(s){var a=!s;return function(o,u,c){var h=0,v=o&&o.length||0,f;if(v&&typeof o=="string"&&(o=o.split("")),typeof u=="string"){if(A("csp-restrictions"))throw new TypeError("callback must be a function");u=d[u]||e(u)}if(c){for(;h<v;++h)if(f=!u.call(c,o[h],h,o),s^f)return!f}else for(;h<v;++h)if(f=!u(o[h],h,o),s^f)return!f;return a}}function r(s){var a=1,o=0,u=0;return s||(a=o=u=-1),function(c,h,v,f){if(f&&a>0)return i.lastIndexOf(c,h,v);var g=c&&c.length||0,m=s?g+u:o,E;for(v===n?E=s?o:g+u:v<0?(E=g+v,E<0&&(E=o)):E=v>=g?g+u:v,g&&typeof c=="string"&&(c=c.split(""));E!=m;E+=a)if(c[E]==h)return E;return-1}}var i={every:t(!1),some:t(!0),indexOf:r(!0),lastIndexOf:r(!1),forEach:function(s,a,o){var u=0,c=s&&s.length||0;if(c&&typeof s=="string"&&(s=s.split("")),typeof a=="string"){if(A("csp-restrictions"))throw new TypeError("callback must be a function");a=d[a]||e(a)}if(o)for(;u<c;++u)a.call(o,s[u],u,s);else for(;u<c;++u)a(s[u],u,s)},map:function(s,a,o,u){var c=0,h=s&&s.length||0,v=new(u||Array)(h);if(h&&typeof s=="string"&&(s=s.split("")),typeof a=="string"){if(A("csp-restrictions"))throw new TypeError("callback must be a function");a=d[a]||e(a)}if(o)for(;c<h;++c)v[c]=a.call(o,s[c],c,s);else for(;c<h;++c)v[c]=a(s[c],c,s);return v},filter:function(s,a,o){var u=0,c=s&&s.length||0,h=[],v;if(c&&typeof s=="string"&&(s=s.split("")),typeof a=="string"){if(A("csp-restrictions"))throw new TypeError("callback must be a function");a=d[a]||e(a)}if(o)for(;u<c;++u)v=s[u],a.call(o,v,u,s)&&h.push(v);else for(;u<c;++u)v=s[u],a(v,u,s)&&h.push(v);return h},clearCache:function(){d={}}};return A("extend-dojo")&&p.mixin(C,i),i},_,P),_.exports=S},69196:(_,P,l)=>{var b,S;b=[l(79359),l(80675),l.dj.c(_)],S=l.dj.d(b,function(C,A,p){var d={};if(A("dojo-config-api")){var n=p.rawConfig,e;for(e in n)d[e]=n[e]}else{var t=function(i,s,a){for(e in i)e!="has"&&A.add(s+e,i[e],0,a)};d=A("dojo-loader")?p.rawConfig:C.dojoConfig||C.djConfig||{},t(d,"config",1),t(d.has,"",1)}if(d.updateLocale=function(i,s){var a,o,u="en-us";if(i.indexOf(s)>=0&&s!=="zh"){d.locale=s;return}if(a=s.split("-")[0],a==="zh"){d.locale=u.toLocaleLowerCase();return}for(var c=0;c<i.length;c=c+1)if(o=i[c].split("-")[0],a===o){d.locale=i[c];break}d.locale||(d.locale=u.toLowerCase())},!d.locale&&typeof navigator<"u"){var r=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;r=d._testLanguageOverride||r,r&&(r=r.toLowerCase(),d.supportedLocales&&d.updateLocale(d.supportedLocales,r))}return d.locale||(d.locale="en-us"),d},_,P),_.exports=S},18314:(_,P,l)=>{var b,S;b=[l(57987),l(86560),l(48309),l(76873),l(67711),l(72875),l(18203),l(69961),l(75145)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){t.add("events-keypress-typed",function(){var f={charCode:0};try{f=document.createEvent("KeyboardEvent"),(f.initKeyboardEvent||f.initKeyEvent).call(f,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(g){}return f.charCode==0&&!t("opera")});function i(f,g,m,E,w){if(E=r.hitch(m,E),!f||!(f.addEventListener||f.attachEvent))return d.after(f||C.global,g,E,!0);if(typeof g=="string"&&g.substring(0,2)=="on"&&(g=g.substring(2)),f||(f=C.global),!w)switch(g){case"keypress":g=c;break;case"mouseenter":g=e.enter;break;case"mouseleave":g=e.leave;break}return A(f,g,E,w)}var s={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},a=t("mac")?"metaKey":"ctrlKey",o=function(f,g){var m=r.mixin({},f,g);return u(m),m.preventDefault=function(){f.preventDefault()},m.stopPropagation=function(){f.stopPropagation()},m};function u(f){f.keyChar=f.charCode?String.fromCharCode(f.charCode):"",f.charOrCode=f.keyChar||f.keyCode}var c;if(t("events-keypress-typed")){var h=function(f,g){try{return f.keyCode=g}catch(m){return 0}};c=function(f,g){var m=A(f,"keydown",function(w){var I=w.keyCode,M=I!=13&&I!=32&&(I!=27||!t("ie"))&&(I<48||I>90)&&(I<96||I>111)&&(I<186||I>192)&&(I<219||I>222)&&I!=229;if(M||w.ctrlKey){var R=M?0:I;if(w.ctrlKey){if(I==3||I==13)return g.call(w.currentTarget,w);R>95&&R<106?R-=48:!w.shiftKey&&R>=65&&R<=90?R+=32:R=s[R]||R}var T=o(w,{type:"keypress",faux:!0,charCode:R});g.call(w.currentTarget,T),t("ie")&&h(w,T.keyCode)}}),E=A(f,"keypress",function(w){var I=w.charCode;return I=I>=32?I:0,w=o(w,{charCode:I,faux:!0}),g.call(this,w)});return{remove:function(){m.remove(),E.remove()}}}}else t("opera")?c=function(f,g){return A(f,"keypress",function(m){var E=m.which;return E==3&&(E=99),E=E<32&&!m.shiftKey?0:E,m.ctrlKey&&!m.shiftKey&&E>=65&&E<=90&&(E+=32),g.call(this,o(m,{charCode:E}))})}:c=function(f,g){return A(f,"keypress",function(m){return u(m),g.call(this,m)})};var v={_keypress:c,connect:function(f,g,m,E,w){var I=arguments,M=[],R=0;M.push(typeof I[0]=="string"?null:I[R++],I[R++]);var T=I[R+1];M.push(typeof T=="string"||typeof T=="function"?I[R++]:null,I[R++]);for(var N=I.length;R<N;R++)M.push(I[R]);return i.apply(this,M)},disconnect:function(f){f&&f.remove()},subscribe:function(f,g,m){return p.subscribe(f,r.hitch(g,m))},publish:function(f,g){return p.publish.apply(p,[f].concat(g))},connectPublisher:function(f,g,m){var E=function(){v.publish(f,arguments)};return m?v.connect(g,m,E):v.connect(g,E)},isCopyKey:function(f){return f[a]}};return v.unsubscribe=v.disconnect,t("extend-dojo")&&r.mixin(C,v),v},_,P),_.exports=S},74786:(_,P,l)=>{var b,S;b=[l(57987),l(80675),l(69961)],S=l.dj.d(b,function(C,A,p){var d=p.mixin,n=Object.prototype,e=n.toString,t,r=0,i="constructor";A("csp-restrictions")?t=function(){}:t=new Function;function s(y,x){throw new Error("declare"+(x?" "+x:"")+": "+y)}function a(y,x){for(var O=[],L=[{cls:0,refs:[]}],W={},j=1,H=y.length,K=0,$,V,z,X,Z,Y,Q,q;K<H;++K){for(z=y[K],z?e.call(z)!="[object Function]"&&s("mixin #"+K+" is not a callable constructor.",x):s("mixin #"+K+" is unknown. Did you use dojo.require to pull it in?",x),V=z._meta?z._meta.bases:[z],X=0,$=V.length-1;$>=0;--$)Z=V[$].prototype,Z.hasOwnProperty("declaredClass")||(Z.declaredClass="uniqName_"+r++),Q=Z.declaredClass,W.hasOwnProperty(Q)||(W[Q]={count:0,refs:[],cls:V[$]},++j),Y=W[Q],X&&X!==Y&&(Y.refs.push(X),++X.count),X=Y;++X.count,L[0].refs.push(X)}for(;L.length;){for(X=L.pop(),O.push(X.cls),--j;q=X.refs,q.length==1;){if(X=q[0],!X||--X.count){X=0;break}O.push(X.cls),--j}if(X)for(K=0,H=q.length;K<H;++K)X=q[K],--X.count||L.push(X)}return j&&s("can't build consistent linearization",x),z=y[0],O[0]=z?z._meta&&z===O[O.length-z._meta.bases.length]?z._meta.bases.length:1:0,O}function o(y,x,O,L){var W,j,H,K,$,V,z,X,Z,Y=this._inherited=this._inherited||{};if(typeof y=="string"&&(W=y,y=x,x=O,O=L),typeof y=="function")K=y,y=x,x=O;else try{K=y.callee}catch(Q){if(Q instanceof TypeError)s("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass);else throw Q}if(W=W||K.nom,W||s("can't deduce a name to call inherited()",this.declaredClass),O=L=0,$=this.constructor._meta,H=$.bases,Z=Y.p,W!=i){if(Y.c!==K&&(Z=0,V=H[0],$=V._meta,$.hidden[W]!==K)){j=$.chains,j&&typeof j[W]=="string"&&s("calling chained method with inherited: "+W,this.declaredClass);do if($=V._meta,z=V.prototype,$&&(z[W]===K&&z.hasOwnProperty(W)||$.hidden[W]===K))break;while(V=H[++Z]);Z=V?Z:-1}if(V=H[++Z],V)if(z=V.prototype,V._meta&&z.hasOwnProperty(W))O=z[W];else{X=n[W];do if(z=V.prototype,O=z[W],O&&(V._meta?z.hasOwnProperty(W):O!==X))break;while(V=H[++Z])}O=V&&O||n[W]}else{if(Y.c!==K&&(Z=0,$=H[0]._meta,$&&$.ctor!==K)){for(j=$.chains,(!j||j.constructor!=="manual")&&s("calling chained constructor with inherited",this.declaredClass);(V=H[++Z])&&($=V._meta,!($&&$.ctor===K)););Z=V?Z:-1}for(;(V=H[++Z])&&($=V._meta,O=$?$.ctor:V,!O););O=V&&O}if(Y.c=O,Y.p=Z,O)return x===!0?O:O.apply(this,x||y)}function u(y,x,O){return typeof y=="string"?typeof x=="function"?this.__inherited(y,x,O,!0):this.__inherited(y,x,!0):typeof y=="function"?this.__inherited(y,x,!0):this.__inherited(y,!0)}function c(y,x,O,L){var W=this.getInherited(y,x,O);if(W)return W.apply(this,L||O||x||y)}var h=C.config.isDebug?c:o;function v(y){for(var x=this.constructor._meta.bases,O=0,L=x.length;O<L;++O)if(x[O]===y)return!0;return this instanceof y}function f(y,x){for(var O in x)O!=i&&x.hasOwnProperty(O)&&(y[O]=x[O]);if(A("bug-for-in-skips-shadowed"))for(var L=p._extraNames,W=L.length;W;)O=L[--W],O!=i&&x.hasOwnProperty(O)&&(y[O]=x[O])}function g(y,x){var O,L;for(O in x)L=x[O],(L!==n[O]||!(O in n))&&O!=i&&(e.call(L)=="[object Function]"&&(L.nom=O),y[O]=L);if(A("bug-for-in-skips-shadowed")&&x)for(var W=p._extraNames,j=W.length;j;)O=W[--j],L=x[O],(L!==n[O]||!(O in n))&&O!=i&&(e.call(L)=="[object Function]"&&(L.nom=O),y[O]=L);return y}function m(y){return F.safeMixin(this.prototype,y),this}function E(y,x){return y instanceof Array||typeof y=="function"||(x=y,y=void 0),x=x||{},y=y||[],F([this].concat(y),x)}function w(y,x){return function(){var O=arguments,L=O,W=O[0],j,H,K,$=y.length,V;if(!(this instanceof O.callee))return N(O);if(x&&(W&&W.preamble||this.preamble))for(V=new Array(y.length),V[0]=O,H=0;W=O[0],W&&(j=W.preamble,j&&(O=j.apply(this,O)||O)),j=y[H].prototype,j=j.hasOwnProperty("preamble")&&j.preamble,j&&(O=j.apply(this,O)||O),++H!=$;)V[H]=O;for(H=$-1;H>=0;--H)j=y[H],K=j._meta,j=K?K.ctor:j,j&&j.apply(this,V?V[H]:O);j=this.postscript,j&&j.apply(this,L)}}function I(y,x){return function(){var O=arguments,L=O,W=O[0],j;if(!(this instanceof O.callee))return N(O);x&&(W&&(j=W.preamble,j&&(L=j.apply(this,L)||L)),j=this.preamble,j&&j.apply(this,L)),y&&y.apply(this,O),j=this.postscript,j&&j.apply(this,O)}}function M(y){return function(){var x=arguments,O=0,L,W;if(!(this instanceof x.callee))return N(x);for(;L=y[O];++O)if(W=L._meta,L=W?W.ctor:L,L){L.apply(this,x);break}L=this.postscript,L&&L.apply(this,x)}}function R(y,x,O){return function(){var L,W,j,H=0,K=1;for(O&&(H=x.length-1,K=-1);L=x[H];H+=K)W=L._meta,j=(W?W.hidden:L.prototype)[y],j&&j.apply(this,arguments)}}function T(y){t.prototype=y.prototype;var x=new t;return t.prototype=null,x}function N(y){var x=y.callee,O=T(x);return x.apply(O,y),O}function F(y,x,O){typeof y!="string"&&(O=x,x=y,y=""),O=O||{};var L,W,j,H,K,$,V,z=1,X=x;if(e.call(x)=="[object Array]"?($=a(x,y),j=$[0],z=$.length-j,x=$[z]):($=[0],x?e.call(x)=="[object Function]"?(j=x._meta,$=$.concat(j?j.bases:x)):s("base class is not a callable constructor.",y):x!==null&&s("unknown base class. Did you use dojo.require to pull it in?",y)),x)for(W=z-1;L=T(x),!!W;--W)j=$[W],(j._meta?f:d)(L,j.prototype),A("csp-restrictions")?H=function(){}:H=new Function,H.superclass=x,H.prototype=L,x=L.constructor=H;else L={};for(F.safeMixin(L,O),j=O.constructor,j!==n.constructor&&(j.nom=i,L.constructor=j),W=z-1;W;--W)j=$[W]._meta,j&&j.chains&&(V=d(V||{},j.chains));if(L["-chains-"]&&(V=d(V||{},L["-chains-"])),x&&x.prototype&&x.prototype["-chains-"]&&(V=d(V||{},x.prototype["-chains-"])),j=!V||!V.hasOwnProperty(i),$[0]=H=V&&V.constructor==="manual"?M($):$.length==1?I(O.constructor,j):w($,j),H._meta={bases:$,hidden:O,chains:V,parents:X,ctor:O.constructor},H.superclass=x&&x.prototype,H.extend=m,H.createSubclass=E,H.prototype=L,L.constructor=H,L.getInherited=u,L.isInstanceOf=v,L.inherited=h,L.__inherited=o,y&&(L.declaredClass=y,p.setObject(y,H)),V)for(K in V)L[K]&&typeof V[K]=="string"&&K!=i&&(j=L[K]=R(K,$,V[K]==="after"),j.nom=K);return H}return C.safeMixin=F.safeMixin=g,C.declare=F,F},_,P),_.exports=S},67711:(_,P,l)=>{var b,S;b=[l(57987),l(86560),l(80675),l(20849)],S=l.dj.d(b,function(C,A,p,d){if(A._fixEvent){var n=A._fixEvent;A._fixEvent=function(t,r){return t=n(t,r),t&&d.normalizeEvent(t),t}}var e={fix:function(t,r){return A._fixEvent?A._fixEvent(t,r):t},stop:function(t){p("dom-addeventlistener")||t&&t.preventDefault?(t.preventDefault(),t.stopPropagation()):(t=t||window.event,t.cancelBubble=!0,A._preventDefault.call(t))}};return p("extend-dojo")&&(C.fixEvent=e.fix,C.stopEvent=e.stop),e},_,P),_.exports=S},90554:(_,P,l)=>{var b,S;b=[l(57987),l(69196),l(69961),l(57574),l(36586),l(76873),l(23702),l(7835),l(37672)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){var s=p.mixin,a={},o=a._Line=function(m,E){this.start=m,this.end=E};o.prototype.getValue=function(m){return(this.end-this.start)*m+this.start};var u=a.Animation=function(m){s(this,m),p.isArray(this.curve)&&(this.curve=new o(this.curve[0],this.curve[1]))};u.prototype=new d,p.extend(u,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var m=this._percent,E=this.easing;return E?E(m):m},_fire:function(m,E){var w=E||[];if(this[m])if(A.debugAtAllCosts)this[m].apply(this,w);else try{this[m].apply(this,w)}catch(I){console.error("exception in animation handler for:",m),console.error(I)}return this},play:function(m,E){var w=this;if(w._delayTimer&&w._clearTimer(),E)w._stopTimer(),w._active=w._paused=!1,w._percent=0;else if(w._active&&!w._paused)return w;w._fire("beforeBegin",[w.node]);var I=m||w.delay,M=p.hitch(w,"_play",E);return I>0?(w._delayTimer=setTimeout(M,I),w):(M(),w)},_play:function(m){var E=this;E._delayTimer&&E._clearTimer(),E._startTime=new Date().valueOf(),E._paused&&(E._startTime-=E.duration*E._percent),E._active=!0,E._paused=!1;var w=E.curve.getValue(E._getStep());return E._percent||(E._startRepeatCount||(E._startRepeatCount=E.repeat),E._fire("onBegin",[w])),E._fire("onPlay",[w]),E._cycle(),E},pause:function(){var m=this;return m._delayTimer&&m._clearTimer(),m._stopTimer(),m._active&&(m._paused=!0,m._fire("onPause",[m.curve.getValue(m._getStep())])),m},gotoPercent:function(m,E){var w=this;return w._stopTimer(),w._active=w._paused=!0,w._percent=m,E&&w.play(),w},stop:function(m){var E=this;return E._delayTimer&&E._clearTimer(),E._timer&&(E._stopTimer(),m&&(E._percent=1),E._fire("onStop",[E.curve.getValue(E._getStep())]),E._active=E._paused=!1),E},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var m=this;if(m._active){var E=new Date().valueOf(),w=m.duration===0?1:(E-m._startTime)/m.duration;w>=1&&(w=1),m._percent=w,m.easing&&(w=m.easing(w)),m._fire("onAnimate",[m.curve.getValue(w)]),m._percent<1?m._startTimer():(m._active=!1,m.repeat>0?(m.repeat--,m.play(null,!0)):m.repeat==-1?m.play(null,!0):m._startRepeatCount&&(m.repeat=m._startRepeatCount,m._startRepeatCount=0),m._percent=0,m._fire("onEnd",[m.node]),!m.repeat&&m._stopTimer())}return m},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var c=0,h=null,v={run:function(){}};p.extend(u,{_startTimer:function(){this._timer||(this._timer=e.after(v,"run",p.hitch(this,"_cycle"),!0),c++),h||(h=setInterval(p.hitch(v,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,c--),c<=0&&(clearInterval(h),h=null,c=0)}});var f=t("ie")?function(m){var E=m.style;!E.width.length&&i.get(m,"width")=="auto"&&(E.width="auto")}:function(){};a._fade=function(m){m.node=r.byId(m.node);var E=s({properties:{}},m),w=E.properties.opacity={};w.start="start"in E?E.start:function(){return+i.get(E.node,"opacity")||0},w.end=E.end;var I=a.animateProperty(E);return e.after(I,"beforeBegin",p.partial(f,E.node),!0),I},a.fadeIn=function(m){return a._fade(s({end:1},m))},a.fadeOut=function(m){return a._fade(s({end:0},m))},a._defaultEasing=function(m){return .5+Math.sin((m+1.5)*Math.PI)/2};var g=function(m){this._properties=m;for(var E in m){var w=m[E];w.start instanceof n&&(w.tempColor=new n)}};return g.prototype.getValue=function(m){var E={};for(var w in this._properties){var I=this._properties[w],M=I.start;M instanceof n?E[w]=n.blendColors(M,I.end,m,I.tempColor).toCss():p.isArray(M)||(E[w]=(I.end-M)*m+M+(w!="opacity"?I.units||"px":0))}return E},a.animateProperty=function(m){var E=m.node=r.byId(m.node);m.easing||(m.easing=C._defaultEasing);var w=new u(m);return e.after(w,"beforeBegin",p.hitch(w,function(){var I={};for(var M in this.properties){(M=="width"||M=="height")&&(this.node.display="block");var R=this.properties[M];p.isFunction(R)&&(R=R(E)),R=I[M]=s({},p.isObject(R)?R:{end:R}),p.isFunction(R.start)&&(R.start=R.start(E)),p.isFunction(R.end)&&(R.end=R.end(E));var T=M.toLowerCase().indexOf("color")>=0,N=function(y,x){var O={height:y.offsetHeight,width:y.offsetWidth}[x];return O!==void 0?O:(O=i.get(y,x),x=="opacity"?+O:T?O:parseFloat(O))};"end"in R?"start"in R||(R.start=N(E,M)):R.end=N(E,M),T?(R.start=new n(R.start),R.end=new n(R.end)):R.start=M=="opacity"?+R.start:parseFloat(R.start)}this.curve=new g(I)}),!0),e.after(w,"onAnimate",p.hitch(i,"set",w.node),!0),w},a.anim=function(m,E,w,I,M,R){return a.animateProperty({node:m,duration:w||u.prototype.duration,properties:E,easing:I,onEnd:M}).play(R||0)},t("extend-dojo")&&(s(C,a),C._Animation=u),a},_,P),_.exports=S},84664:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(57987),__webpack_require__(685)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr=" ",dojo.toJson=function(_,P){return json.stringify(_,function(l,b){if(b){var S=b.__json__||b.json;if(typeof S=="function")return S.call(b)}return b},P&&dojo.toJsonIndentStr)},dojo},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},57987:(_,P,l)=>{var b,S;b=[l(79359),l(80675),l(69196),l.dj.c(_),l.dj.m(_)],S=l.dj.d(b,function(C,A,p,d,n){var e,t,r={},i={},s={config:p,global:C,dijit:r,dojox:i},a={dojo:["dojo",s],dijit:["dijit",r],dojox:["dojox",i]},o=d.map&&d.map[n.id.match(/[^\/]+/)[0]],u;for(t in o)a[t]?a[t][0]=o[t]:a[t]=[o[t],{}];for(t in a)u=a[t],u[1]._scopeName=u[0],p.noGlobals||(C[u[0]]=u[1]);s.scopeMap=a,s.baseUrl=s.config.baseUrl=d.baseUrl,s.isAsync=!A("dojo-loader")||d.async,s.locale=p.locale;var c="$Rev:$".match(/[0-9a-f]{7,}/);if(s.version={major:1,minor:17,patch:1,flag:"",revision:c?c[0]:NaN,toString:function(){var g=s.version;return g.major+"."+g.minor+"."+g.patch+g.flag+" ("+g.revision+")"}},A.add("extend-dojo",1),A("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(s),A("host-rhino")?s.exit=function(g){quit(g)}:s.exit=function(){},A("host-webworker")||A.add("dojo-guarantee-console",1),A("dojo-guarantee-console")){A.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log=="object"}),typeof console<"u"||(console={});var h=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"],v;for(e=0;v=h[e++];)console[v]?A("console-as-object")&&(console[v]=Function.prototype.bind.call(console[v],console)):function(){var g=v+"";console[g]="log"in console?function(){var m=Array.prototype.slice.call(arguments);m.unshift(g+":"),console.log(m.join(" "))}:function(){},console[g]._fake=!0}()}if(A.add("dojo-debug-messages",!!p.isDebug),s.deprecated=s.experimental=function(){},A("dojo-debug-messages")&&(s.deprecated=function(g,m,E){var w="DEPRECATED: "+g;m&&(w+=" "+m),E&&(w+=" -- will be removed in version: "+E),console.warn(w)},s.experimental=function(g,m){var E="EXPERIMENTAL: "+g+" -- APIs subject to change without notice.";m&&(E+=" "+m),console.warn(E)}),A.add("dojo-modulePaths",1),A("dojo-modulePaths")&&p.modulePaths){s.deprecated("dojo.modulePaths","use paths configuration");var f={};for(t in p.modulePaths)f[t.replace(/\./g,"/")]=p.modulePaths[t];d({paths:f})}return A.add("dojo-moduleUrl",1),A("dojo-moduleUrl")&&(s.moduleUrl=function(g,m){s.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var E=null;return g&&(E=d.toUrl(g.replace(/\./g,"/")+(m?"/"+m:"")+"/*.*").replace(/\/\*\.\*/,"")+(m?"":"/")),E}),s._hasResource={},s},_,P),_.exports=S},69961:(_,P,l)=>{var b,S;b=[l(57987),l(80675),l(23702)],S=l.dj.d(b,function(C,A){A.add("bug-for-in-skips-shadowed",function(){for(var s in{toString:1})return 0;return 1});var p=A("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],d=p.length,n=function(s,a,o){o||(s[0]&&C.scopeMap[s[0]]?o=C.scopeMap[s.shift()][1]:o=C.global);try{for(var u=0;u<s.length;u++){var c=s[u];if(c==="__proto__"||c==="constructor")return;if(!(c in o))if(a)o[c]={};else return;o=o[c]}return o}catch(h){}},e=Object.prototype.toString,t=function(s,a,o){return(o||[]).concat(Array.prototype.slice.call(s,a||0))},r=/\{([^\}]+)\}/g,i={_extraNames:p,_mixin:function(s,a,o){var u,c,h,v={};for(u in a)c=a[u],(!(u in s)||s[u]!==c&&(!(u in v)||v[u]!==c))&&(s[u]=o?o(c):c);if(A("bug-for-in-skips-shadowed")&&a)for(h=0;h<d;++h)u=p[h],c=a[u],(!(u in s)||s[u]!==c&&(!(u in v)||v[u]!==c))&&(s[u]=o?o(c):c);return s},mixin:function(s,a){s||(s={});for(var o=1,u=arguments.length;o<u;o++)i._mixin(s,arguments[o]);return s},setObject:function(s,a,o){var u=s.split("."),c=u.pop(),h=n(u,!0,o);return h&&c?h[c]=a:void 0},getObject:function(s,a,o){return s?n(s.split("."),a,o):o},exists:function(s,a){return i.getObject(s,!1,a)!==void 0},isString:function(s){return typeof s=="string"||s instanceof String},isArray:Array.isArray||function(s){return e.call(s)=="[object Array]"},isFunction:function(s){return e.call(s)==="[object Function]"},isObject:function(s){return s!==void 0&&(s===null||typeof s=="object"||i.isArray(s)||i.isFunction(s))},isArrayLike:function(s){return!!s&&!i.isString(s)&&!i.isFunction(s)&&!(s.tagName&&s.tagName.toLowerCase()=="form")&&(i.isArray(s)||isFinite(s.length))},isAlien:function(s){return s&&!i.isFunction(s)&&/\{\s*\[native code\]\s*\}/.test(String(s))},extend:function(s,a){for(var o=1,u=arguments.length;o<u;o++)i._mixin(s.prototype,arguments[o]);return s},_hitchArgs:function(s,a){var o=i._toArray(arguments,2),u=i.isString(a);return function(){var c=i._toArray(arguments),h=u?(s||C.global)[a]:a;return h&&h.apply(s||this,o.concat(c))}},hitch:function(s,a){if(arguments.length>2)return i._hitchArgs.apply(C,arguments);if(a||(a=s,s=null),i.isString(a)){if(s=s||C.global,!s[a])throw['lang.hitch: scope["',a,'"] is null (scope="',s,'")'].join("");return function(){return s[a].apply(s,arguments||[])}}return s?function(){return a.apply(s,arguments||[])}:a},delegate:function(){function s(){}return function(a,o){s.prototype=a;var u=new s;return s.prototype=null,o&&i._mixin(u,o),u}}(),_toArray:A("ie")?function(){function s(a,o,u){for(var c=u||[],h=o||0;h<a.length;h++)c.push(a[h]);return c}return function(a){return(a.item?s:t).apply(this,arguments)}}():t,partial:function(s){var a=[null];return i.hitch.apply(C,a.concat(i._toArray(arguments)))},clone:function(s){if(!s||typeof s!="object"||i.isFunction(s))return s;if(s.nodeType&&"cloneNode"in s)return s.cloneNode(!0);if(s instanceof Date)return new Date(s.getTime());if(s instanceof RegExp)return new RegExp(s);var a,o,u;if(i.isArray(s))for(a=[],o=0,u=s.length;o<u;++o)o in s&&(a[o]=i.clone(s[o]));else a=s.constructor?new s.constructor:{};return i._mixin(a,s,i.clone)},trim:String.prototype.trim?function(s){return s.trim()}:function(s){return s.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(s,a,o){return s.replace(o||r,i.isFunction(a)?a:function(u,c){return i.getObject(c,!1,a)})}};return A("extend-dojo")&&i.mixin(C,i),i},_,P),_.exports=S},18203:(_,P,l)=>{var b,S;b=[l(57987),l(69961),l(23702)],S=l.dj.d(b,function(C,A,p){return p("host-browser")&&(C._name="browser",A.mixin(C,{isBrowser:!0,isFF:p("ff"),isIE:p("ie"),isKhtml:p("khtml"),isWebKit:p("webkit"),isMozilla:p("mozilla"),isMoz:p("mozilla"),isOpera:p("opera"),isSafari:p("safari"),isChrome:p("chrome"),isMac:p("mac"),isIos:p("ios"),isAndroid:p("android"),isWii:p("wii"),isQuirks:p("quirks"),isAir:p("air")})),p},_,P),_.exports=S},84035:(_,P,l)=>{var b,S;b=[l(57987)],S=l.dj.d(b,function(C){var A=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),p=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),d=function(){for(var n=null,e=arguments,t=[e[0]],r=1;r<e.length;r++)if(e[r]){var i=new d(e[r]+""),s=new d(t[0]+"");if(i.path==""&&!i.scheme&&!i.authority&&!i.query)i.fragment!=n&&(s.fragment=i.fragment),i=s;else if(!i.scheme&&(i.scheme=s.scheme,!i.authority&&(i.authority=s.authority,i.path.charAt(0)!="/"))){for(var a=s.path.substring(0,s.path.lastIndexOf("/")+1)+i.path,o=a.split("/"),u=0;u<o.length;u++)o[u]=="."?u==o.length-1?o[u]="":(o.splice(u,1),u--):u>0&&!(u==1&&o[0]=="")&&o[u]==".."&&o[u-1]!=".."&&(u==o.length-1?(o.splice(u,1),o[u-1]=""):(o.splice(u-1,2),u-=2));i.path=o.join("/")}t=[],i.scheme&&t.push(i.scheme,":"),i.authority&&t.push("//",i.authority),t.push(i.path),i.query&&t.push("?",i.query),i.fragment&&t.push("#",i.fragment)}this.uri=t.join("");var c=this.uri.match(A);this.scheme=c[2]||(c[1]?"":n),this.authority=c[4]||(c[3]?"":n),this.path=c[5],this.query=c[7]||(c[6]?"":n),this.fragment=c[9]||(c[8]?"":n),this.authority!=n&&(c=this.authority.match(p),this.user=c[3]||n,this.password=c[4]||n,this.host=c[6]||c[7],this.port=c[9]||n)};return d.prototype.toString=function(){return this.uri},C._Url=d},_,P),_.exports=S},69174:(_,P,l)=>{var b,S;b=[l(57987),l(69961),l(23702)],S=l.dj.d(b,function(C,A,p){var d={global:C.global,doc:C.global.document||null,body:function(n){return n=n||C.doc,n.body||n.getElementsByTagName("body")[0]},setContext:function(n,e){C.global=d.global=n,C.doc=d.doc=e},withGlobal:function(n,e,t,r){var i=C.global;try{return C.global=d.global=n,d.withDoc.call(null,n.document,e,t,r)}finally{C.global=d.global=i}},withDoc:function(n,e,t,r){var i=d.doc,s=p("quirks"),a=p("ie"),o,u,c;try{return C.doc=d.doc=n,C.isQuirks=p.add("quirks",C.doc.compatMode=="BackCompat",!0,!0),p("ie")&&(c=n.parentWindow)&&c.navigator&&(o=parseFloat(c.navigator.appVersion.split("MSIE ")[1])||void 0,u=n.documentMode,u&&u!=5&&Math.floor(o)!=u&&(o=u),C.isIE=p.add("ie",o,!0,!0)),t&&typeof e=="string"&&(e=t[e]),e.apply(t,r||[])}finally{C.doc=d.doc=i,C.isQuirks=p.add("quirks",s,!0,!0),C.isIE=p.add("ie",a,!0,!0)}}};return p("extend-dojo")&&A.mixin(C,d),d},_,P),_.exports=S},7755:(_,P,l)=>{var b,S;b=[l(57987),l(18203),l.dj.c(_),l(42372),l(7835),l(12509),l(67324),l(69196),l(84664),l(69961),l(33659),l(86560),l(76873),l(3513),l(13879),l(61061)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v){C._xhrObj=h._create;var f=C.config;C.objectToQuery=d.objectToQuery,C.queryToObject=d.queryToObject,C.fieldToObject=e.fieldToObject,C.formToObject=e.toObject,C.formToQuery=e.toQuery,C.formToJson=e.toJson,C._blockAsync=!1;var g=C._contentHandlers=C.contentHandlers={text:function(R){return R.responseText},json:function(R){return i.fromJson(R.responseText||null)},"json-comment-filtered":function(R){r.useCommentedJson||console.warn(`Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&
Use djConfig.useCommentedJson=true to turn off this message.`);var T=R.responseText,N=T.indexOf("/*"),F=T.lastIndexOf("*/");if(N==-1||F==-1)throw new Error("JSON was not comment filtered");return i.fromJson(T.substring(N+2,F))},javascript:function(R){return C.eval(R.responseText)},xml:function(R){var T=R.responseXML;if(T&&A("dom-qsa2.1")&&!T.querySelectorAll&&A("dom-parser")&&(T=new DOMParser().parseFromString(R.responseText,"application/xml")),A("ie")&&(!T||!T.documentElement)){var N=function(y){return"MSXML"+y+".DOMDocument"},F=["Microsoft.XMLDOM",N(6),N(4),N(3),N(2)];a.some(F,function(y){try{var x=new ActiveXObject(y);x.async=!1,x.loadXML(R.responseText),T=x}catch(O){return!1}return!0})}return T},"json-comment-optional":function(R){return R.responseText&&/^[^{\[]*\/\*/.test(R.responseText)?g["json-comment-filtered"](R):g.json(R)}};C._ioSetArgs=function(R,T,N,F){var y={args:R,url:R.url},x=null;if(R.form){var O=n.byId(R.form),L=O.getAttributeNode("action");y.url=y.url||(L?L.value:C.doc?C.doc.URL:null),x=e.toObject(O)}var W={};x&&s.mixin(W,x),R.content&&s.mixin(W,R.content),R.preventCache&&(W["dojo.preventCache"]=new Date().valueOf()),y.query=d.objectToQuery(W),y.handleAs=R.handleAs||"text";var j=new t(function(V){V.canceled=!0,T&&T(V);var z=V.ioArgs.error;return z||(z=new Error("request cancelled"),z.dojoType="cancel",V.ioArgs.error=z),z});j.addCallback(N);var H=R.load;H&&s.isFunction(H)&&j.addCallback(function(V){return H.call(R,V,y)});var K=R.error;K&&s.isFunction(K)&&j.addErrback(function(V){return K.call(R,V,y)});var $=R.handle;return $&&s.isFunction($)&&j.addBoth(function(V){return $.call(R,V,y)}),j.addErrback(function(V){return F(V,j)}),f.ioPublish&&C.publish&&y.args.ioPublish!==!1&&(j.addCallbacks(function(V){return C.publish("/dojo/io/load",[j,V]),V},function(V){return C.publish("/dojo/io/error",[j,V]),V}),j.addBoth(function(V){return C.publish("/dojo/io/done",[j,V]),V})),j.ioArgs=y,j};var m=function(R){var T=g[R.ioArgs.handleAs](R.ioArgs.xhr);return T===void 0?null:T},E=function(R,T){return T.ioArgs.args.failOk||console.error(R),R},w=function(R){I<=0&&(I=0,f.ioPublish&&C.publish&&(!R||R&&R.ioArgs.args.ioPublish!==!1)&&C.publish("/dojo/io/stop"))},I=0;u.after(c,"_onAction",function(){I-=1}),u.after(c,"_onInFlight",w),C._ioCancelAll=c.cancelAll,C._ioNotifyStart=function(R){f.ioPublish&&C.publish&&R.ioArgs.args.ioPublish!==!1&&(I||C.publish("/dojo/io/start"),I+=1,C.publish("/dojo/io/send",[R]))},C._ioWatch=function(R,T,N,F){var y=R.ioArgs.options=R.ioArgs.args;s.mixin(R,{response:R.ioArgs,isValid:function(x){return T(R)},isReady:function(x){return N(R)},handleResponse:function(x){return F(R)}}),c(R),w(R)};var M="application/x-www-form-urlencoded";return C._ioAddQueryToUrl=function(R){R.query.length&&(R.url+=(R.url.indexOf("?")==-1?"?":"&")+R.query,R.query=null)},C.xhr=function(R,T,N){var F,y=C._ioSetArgs(T,function(L){F&&F.cancel()},m,E),x=y.ioArgs;"postData"in T?x.query=T.postData:"putData"in T?x.query=T.putData:"rawBody"in T?x.query=T.rawBody:(arguments.length>2&&!N||"POST|PUT".indexOf(R.toUpperCase())===-1)&&C._ioAddQueryToUrl(x);var O={method:R,handleAs:"text",timeout:T.timeout,withCredentials:T.withCredentials,ioArgs:x};typeof T.headers<"u"&&(O.headers=T.headers),typeof T.contentType<"u"&&(O.headers||(O.headers={}),O.headers["Content-Type"]=T.contentType),typeof x.query<"u"&&(O.data=x.query),typeof T.sync<"u"&&(O.sync=T.sync),C._ioNotifyStart(y);try{F=h(x.url,O,!0)}catch(L){return y.cancel(),y}return y.ioArgs.xhr=F.response.xhr,F.then(function(){y.resolve(y)}).otherwise(function(L){x.error=L,L.response&&(L.status=L.response.status,L.responseText=L.response.text,L.xhr=L.response.xhr),y.reject(L)}),y},C.xhrGet=function(R){return C.xhr("GET",R)},C.rawXhrPost=C.xhrPost=function(R){return C.xhr("POST",R,!0)},C.rawXhrPut=C.xhrPut=function(R){return C.xhr("PUT",R,!0)},C.xhrDelete=function(R){return C.xhr("DELETE",R)},C._isDocumentOk=function(R){return v.checkStatus(R.status)},C._getText=function(R){var T;return C.xhrGet({url:R,sync:!0,load:function(N){T=N}}),T},s.mixin(C.xhr,{_xhrObj:C._xhrObj,fieldToObject:e.fieldToObject,formToObject:e.toObject,objectToQuery:d.objectToQuery,formToQuery:e.toQuery,formToJson:e.toJson,queryToObject:d.queryToObject,contentHandlers:g,_ioSetArgs:C._ioSetArgs,_ioCancelAll:C._ioCancelAll,_ioNotifyStart:C._ioNotifyStart,_ioWatch:C._ioWatch,_ioAddQueryToUrl:C._ioAddQueryToUrl,_isDocumentOk:C._isDocumentOk,_getText:C._getText,get:C.xhrGet,post:C.xhrPost,put:C.xhrPut,del:C.xhrDelete}),C.xhr},_,P),_.exports=S},76873:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C;function A(t,r,i,s){var a=t[r],o=r=="around",u;if(o){var c=i(function(){return a.advice(this,arguments)});u={remove:function(){c&&(c=t=i=null)},advice:function(h,v){return c?c.apply(h,v):a.advice(h,v)}}}else u={remove:function(){if(u.advice){var h=u.previous,v=u.next;!v&&!h?delete t[r]:(h?h.next=v:t[r]=v,v&&(v.previous=h)),t=i=u.advice=null}},id:t.nextId++,advice:i,receiveArguments:s};if(a&&!o)if(r=="after"){for(;a.next&&(a=a.next););a.next=u,u.previous=a}else r=="before"&&(t[r]=u,u.next=a,a.previous=u);else t[r]=u;return u}function p(t){return function(r,i,s,a){var o=r[i],u;(!o||o.target!=r)&&(r[i]=u=function(){for(var h=u.nextId,v=arguments,f=u.before;f;)f.advice&&(v=f.advice.apply(this,v)||v),f=f.next;if(u.around)var g=u.around.advice(this,v);for(var m=u.after;m&&m.id<h;){if(m.advice)if(m.receiveArguments){var E=m.advice.apply(this,v);g=E===C?g:E}else g=m.advice.call(this,g,v);m=m.next}return g},o&&(u.around={advice:function(h,v){return o.apply(h,v)}}),u.target=r,u.nextId=u.nextId||0);var c=A(u||o,t,s,a);return s=null,c}}var d=p("after"),n=p("before"),e=p("around");return{before:n,around:e,after:d}},_,P),_.exports=S},78059:(_,P,l)=>{var b,S;b=[l(57987),l(37581)],S=l.dj.d(b,function(C){return C.cache},_,P),_.exports=S},8564:(_,P,l)=>{var b,S;b=[l(57987),l(89923)],S=l.dj.d(b,function(C,A){return C.cookie=function(p,d,n){var e=document.cookie,t;if(arguments.length==1){var r=e.match(new RegExp("(?:^|; )"+A.escapeString(p)+"=([^;]*)"));t=r?decodeURIComponent(r[1]):void 0}else{n=n||{};var i=n.expires;if(typeof i=="number"){var s=new Date;s.setTime(s.getTime()+i*24*60*60*1e3),i=n.expires=s}i&&i.toUTCString&&(n.expires=i.toUTCString()),d=encodeURIComponent(d);var a=p+"="+d,o;for(o in n){a+="; "+o;var u=n[o];u!==!0&&(a+="="+u)}document.cookie=a}return t},C.cookie.isSupported=function(){return"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed",navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1})),navigator.cookieEnabled},C.cookie},_,P),_.exports=S},58875:(_,P,l)=>{var b,S;b=[l(69961),l(33659)],S=l.dj.d(b,function(C,A){var p={};return C.setObject("dojo.date.stamp",p),p.fromISOString=function(d,n){p._isoRegExp||(p._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var e=p._isoRegExp.exec(d),t=null;if(e){e.shift(),e[1]&&e[1]--,e[6]&&(e[6]*=1e3),n&&(n=new Date(n),A.forEach(A.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(s){return n["get"+s]()}),function(s,a){e[a]=e[a]||s})),t=new Date(e[0]||1970,e[1]||0,e[2]||1,e[3]||0,e[4]||0,e[5]||0,e[6]||0),e[0]<100&&t.setFullYear(e[0]||1970);var r=0,i=e[7]&&e[7].charAt(0);i!="Z"&&(r=(e[8]||0)*60+(Number(e[9])||0),i!="-"&&(r*=-1)),i&&(r-=t.getTimezoneOffset()),r&&t.setTime(t.getTime()+r*6e4)}return t},p.toISOString=function(d,n){var e=function(h){return h<10?"0"+h:h};n=n||{};var t=[],r=n.zulu?"getUTC":"get",i="";if(n.selector!="time"){var s=d[r+"FullYear"]();i=["0000".substr((s+"").length)+s,e(d[r+"Month"]()+1),e(d[r+"Date"]())].join("-")}if(t.push(i),n.selector!="date"){var a=[e(d[r+"Hours"]()),e(d[r+"Minutes"]()),e(d[r+"Seconds"]())].join(":"),o=d[r+"Milliseconds"]();if(n.milliseconds&&(a+="."+(o<100?"0":"")+e(o)),n.zulu)a+="Z";else if(n.selector!="time"){var u=d.getTimezoneOffset(),c=Math.abs(u);a+=(u>0?"-":"+")+e(Math.floor(c/60))+":"+e(c%60)}t.push(a)}return t.join("T")},p},_,P),_.exports=S},81070:(_,P,l)=>{var b,S;b=[P,l(23702),l(69961),l(7835),l(37672),l(38339)],S=l.dj.d(b,function(C,A,p,d,n,e){var t={innerHTML:1,textContent:1,className:1,htmlFor:A("ie")?1:0,value:1},r={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function i(s,a){var o=s.getAttributeNode&&s.getAttributeNode(a);return!!o&&o.specified}C.has=function(a,o){var u=o.toLowerCase();return!!t[e.names[u]||o]||i(d.byId(a),r[u]||o)},C.get=function(a,o){a=d.byId(a);var u=o.toLowerCase(),c=e.names[u]||o,h=t[c],v=a[c];if(h&&typeof v<"u")return v;if(c=="textContent")return e.get(a,c);if(c!="href"&&(typeof v=="boolean"||p.isFunction(v)))return v;var f=r[u]||o;return i(a,f)?a.getAttribute(f):null},C.set=function(a,o,u){if(a=d.byId(a),arguments.length==2){for(var c in o)C.set(a,c,o[c]);return a}var h=o.toLowerCase(),v=e.names[h]||o,f=t[v];return v=="style"&&typeof u!="string"?(n.set(a,u),a):f||typeof u=="boolean"||p.isFunction(u)?e.set(a,o,u):(a.setAttribute(r[h]||o,u),a)},C.remove=function(a,o){d.byId(a).removeAttribute(r[o.toLowerCase()]||o)},C.getNodeProp=function(a,o){a=d.byId(a);var u=o.toLowerCase(),c=e.names[u]||o;if(c in a&&c!="href")return a[c];var h=r[u]||o;return i(a,h)?a.getAttribute(h):null}},_,P),_.exports=S},65724:(_,P,l)=>{var b,S;b=[l(69961),l(33659),l(7835)],S=l.dj.d(b,function(C,A,p){var d="className",n,e=/\s+/,t=[""];function r(s){if(typeof s=="string"||s instanceof String){if(s&&!e.test(s))return t[0]=s,t;var a=s.split(e);return a.length&&!a[0]&&a.shift(),a.length&&!a[a.length-1]&&a.pop(),a}return s?A.filter(s,function(o){return o}):[]}var i={};return n={contains:function(a,o){return(" "+p.byId(a)[d]+" ").indexOf(" "+o+" ")>=0},add:function(a,o){a=p.byId(a),o=r(o);var u=a[d],c;u=u?" "+u+" ":" ",c=u.length;for(var h=0,v=o.length,f;h<v;++h)f=o[h],f&&u.indexOf(" "+f+" ")<0&&(u+=f+" ");c<u.length&&(a[d]=u.substr(1,u.length-2))},remove:function(a,o){a=p.byId(a);var u;if(o!==void 0){o=r(o),u=" "+a[d]+" ";for(var c=0,h=o.length;c<h;++c)u=u.replace(" "+o[c]+" "," ");u=C.trim(u)}else u="";a[d]!=u&&(a[d]=u)},replace:function(a,o,u){a=p.byId(a),i[d]=a[d],n.remove(i,u),n.add(i,o),a[d]!==i[d]&&(a[d]=i[d])},toggle:function(a,o,u){if(a=p.byId(a),u===void 0){o=r(o);for(var c=0,h=o.length,v;c<h;++c)v=o[c],n[n.contains(a,v)?"remove":"add"](a,v)}else n[u?"add":"remove"](a,o);return u}},n},_,P),_.exports=S},92087:(_,P,l)=>{var b,S;b=[P,l(57987),l(23702),l(69174),l(7835),l(81070)],S=l.dj.d(b,function(C,A,p,d,n,e){var t={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},r=/<\s*([\w\:]+)/,i={},s=0,a="__"+A._scopeName+"ToDomId";for(var o in t)if(t.hasOwnProperty(o)){var u=t[o];u.pre=o=="option"?'<select multiple="multiple">':"<"+u.join("><")+">",u.post="</"+u.reverse().join("></")+">"}var c;p("ie")<=8&&(c=function(w){w.__dojo_html5_tested="yes";var I=f("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},w.body);I.childNodes.length!==1&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(M){w.createElement(M)}),E(I)});function h(w,I){var M=I.parentNode;M&&M.insertBefore(w,I)}function v(w,I){var M=I.parentNode;M&&(M.lastChild==I?M.appendChild(w):M.insertBefore(w,I.nextSibling))}C.toDom=function(I,M){M=M||d.doc;var R=M[a];R||(M[a]=R=++s+"",i[R]=M.createElement("div")),p("ie")<=8&&!M.__dojo_html5_tested&&M.body&&c(M),I+="";var T=I.match(r),N=T?T[1].toLowerCase():"",F=i[R],y,x,O,L;if(T&&t[N])for(y=t[N],F.innerHTML=y.pre+I+y.post,x=y.length;x;--x)F=F.firstChild;else F.innerHTML=I;if(F.childNodes.length==1)return F.removeChild(F.firstChild);for(L=M.createDocumentFragment();O=F.firstChild;)L.appendChild(O);return L},C.place=function(I,M,R){if(M=n.byId(M),typeof I=="string"&&(I=/^\s*</.test(I)?C.toDom(I,M.ownerDocument):n.byId(I)),typeof R=="number"){var T=M.childNodes;!T.length||T.length<=R?M.appendChild(I):h(I,T[R<0?0:R])}else switch(R){case"before":h(I,M);break;case"after":v(I,M);break;case"replace":M.parentNode.replaceChild(I,M);break;case"only":C.empty(M),M.appendChild(I);break;case"first":if(M.firstChild){h(I,M.firstChild);break}default:M.appendChild(I)}return I};var f=C.create=function(I,M,R,T){var N=d.doc;return R&&(R=n.byId(R),N=R.ownerDocument),typeof I=="string"&&(I=N.createElement(I)),M&&e.set(I,M),R&&C.place(I,R,T),I};function g(w){if("innerHTML"in w)try{w.innerHTML="";return}catch(M){}for(var I;I=w.lastChild;)w.removeChild(I)}C.empty=function(I){g(n.byId(I))};function m(w,I){w.firstChild&&g(w),I&&(p("ie")&&I.canHaveChildren&&"removeNode"in w?w.removeNode(!1):I.removeChild(w))}var E=C.destroy=function(I){I=n.byId(I),I&&m(I,I.parentNode)}},_,P),_.exports=S},12509:(_,P,l)=>{var b,S;b=[l(69961),l(7835),l(42372),l(685)],S=l.dj.d(b,function(C,A,p,d){function n(r,i,s){if(s!==null){var a=r[i];typeof a=="string"?r[i]=[a,s]:C.isArray(a)?a.push(s):r[i]=s}}var e="file|submit|image|reset|button",t={fieldToObject:function(i){var s=null;if(i=A.byId(i),i){var a=i.name,o=(i.type||"").toLowerCase();if(a&&o&&!i.disabled)if(o=="radio"||o=="checkbox")i.checked&&(s=i.value);else if(i.multiple){s=[];for(var u=[i.firstChild];u.length;)for(var c=u.pop();c;c=c.nextSibling)if(c.nodeType==1&&c.tagName.toLowerCase()=="option")c.selected&&s.push(c.value);else{c.nextSibling&&u.push(c.nextSibling),c.firstChild&&u.push(c.firstChild);break}}else s=i.value}return s},toObject:function(i){for(var s={},a=A.byId(i).elements,o=0,u=a.length;o<u;++o){var c=a[o],h=c.name,v=(c.type||"").toLowerCase();h&&v&&e.indexOf(v)<0&&!c.disabled&&(n(s,h,t.fieldToObject(c)),v=="image"&&(s[h+".x"]=s[h+".y"]=s[h].x=s[h].y=0))}return s},toQuery:function(i){return p.objectToQuery(t.toObject(i))},toJson:function(i,s){return d.stringify(t.toObject(i),null,s?4:0)}};return t},_,P),_.exports=S},20849:(_,P,l)=>{var b,S;b=[l(23702),l(69174),l(7835),l(37672)],S=l.dj.d(b,function(C,A,p,d){var n={};n.boxModel="content-box",C("ie")&&(n.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box"),n.getPadExtents=function(u,c){u=p.byId(u);var h=c||d.getComputedStyle(u),v=d.toPixelValue,f=v(u,h.paddingLeft),g=v(u,h.paddingTop),m=v(u,h.paddingRight),E=v(u,h.paddingBottom);return{l:f,t:g,r:m,b:E,w:f+m,h:g+E}};var e="none";n.getBorderExtents=function(u,c){u=p.byId(u);var h=d.toPixelValue,v=c||d.getComputedStyle(u),f=v.borderLeftStyle!=e?h(u,v.borderLeftWidth):0,g=v.borderTopStyle!=e?h(u,v.borderTopWidth):0,m=v.borderRightStyle!=e?h(u,v.borderRightWidth):0,E=v.borderBottomStyle!=e?h(u,v.borderBottomWidth):0;return{l:f,t:g,r:m,b:E,w:f+m,h:g+E}},n.getPadBorderExtents=function(u,c){u=p.byId(u);var h=c||d.getComputedStyle(u),v=n.getPadExtents(u,h),f=n.getBorderExtents(u,h);return{l:v.l+f.l,t:v.t+f.t,r:v.r+f.r,b:v.b+f.b,w:v.w+f.w,h:v.h+f.h}},n.getMarginExtents=function(u,c){u=p.byId(u);var h=c||d.getComputedStyle(u),v=d.toPixelValue,f=v(u,h.marginLeft),g=v(u,h.marginTop),m=v(u,h.marginRight),E=v(u,h.marginBottom);return{l:f,t:g,r:m,b:E,w:f+m,h:g+E}},n.getMarginBox=function(u,c){u=p.byId(u);var h=c||d.getComputedStyle(u),v=n.getMarginExtents(u,h),f=u.offsetLeft-v.l,g=u.offsetTop-v.t,m=u.parentNode,E=d.toPixelValue,w;if(C("mozilla")){var I=parseFloat(h.left),M=parseFloat(h.top);!isNaN(I)&&!isNaN(M)?(f=I,g=M):m&&m.style&&(w=d.getComputedStyle(m),w.overflow!="visible"&&(f+=w.borderLeftStyle!=e?E(u,w.borderLeftWidth):0,g+=w.borderTopStyle!=e?E(u,w.borderTopWidth):0))}else(C("opera")||C("ie")==8&&!C("quirks"))&&m&&(w=d.getComputedStyle(m),f-=w.borderLeftStyle!=e?E(u,w.borderLeftWidth):0,g-=w.borderTopStyle!=e?E(u,w.borderTopWidth):0);return{l:f,t:g,w:u.offsetWidth+v.w,h:u.offsetHeight+v.h}},n.getContentBox=function(u,c){u=p.byId(u);var h=c||d.getComputedStyle(u),v=u.clientWidth,f,g=n.getPadExtents(u,h),m=n.getBorderExtents(u,h);return v?(f=u.clientHeight,m.w=m.h=0):(v=u.offsetWidth,f=u.offsetHeight),C("opera")&&(g.l+=m.l,g.t+=m.t),{l:g.l,t:g.t,w:v-g.w-m.w,h:f-g.h-m.h}};function t(o,u,c,h,v,f){f=f||"px";var g=o.style;isNaN(u)||(g.left=u+f),isNaN(c)||(g.top=c+f),h>=0&&(g.width=h+f),v>=0&&(g.height=v+f)}function r(o){return o.tagName.toLowerCase()=="button"||o.tagName.toLowerCase()=="input"&&(o.getAttribute("type")||"").toLowerCase()=="button"}function i(o){return n.boxModel=="border-box"||o.tagName.toLowerCase()=="table"||r(o)}function s(o){var u={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0},c;try{c=o.getBoundingClientRect()}catch(h){return u}return typeof c.left>"u"?u:c}n.setContentSize=function(u,c,h){u=p.byId(u);var v=c.w,f=c.h;if(i(u)){var g=n.getPadBorderExtents(u,h);v>=0&&(v+=g.w),f>=0&&(f+=g.h)}t(u,NaN,NaN,v,f)};var a={l:0,t:0,w:0,h:0};return n.setMarginBox=function(u,c,h){u=p.byId(u);var v=h||d.getComputedStyle(u),f=c.w,g=c.h,m=i(u)?a:n.getPadBorderExtents(u,v),E=n.getMarginExtents(u,v);if(C("webkit")&&r(u)){var w=u.style;f>=0&&!w.width&&(w.width="4px"),g>=0&&!w.height&&(w.height="4px")}f>=0&&(f=Math.max(f-m.w-E.w,0)),g>=0&&(g=Math.max(g-m.h-E.h,0)),t(u,c.l,c.t,f,g)},n.isBodyLtr=function(u){return u=u||A.doc,(A.body(u).dir||u.documentElement.dir||"ltr").toLowerCase()=="ltr"},n.docScroll=function(u){u=u||A.doc;var c=u.parentWindow||u.defaultView;return"pageXOffset"in c?{x:c.pageXOffset,y:c.pageYOffset}:(c=C("quirks")?A.body(u):u.documentElement)&&{x:n.fixIeBiDiScrollLeft(c.scrollLeft||0,u),y:c.scrollTop||0}},n.getIeDocumentElementOffset=function(o){return{x:0,y:0}},n.fixIeBiDiScrollLeft=function(u,c){c=c||A.doc;var h=C("ie");if(h&&!n.isBodyLtr(c)){var v=C("quirks"),f=v?A.body(c):c.documentElement,g=A.global;return h==6&&!v&&g.frameElement&&f.scrollHeight>f.clientHeight&&(u+=f.clientLeft),h<8||v?u+f.clientWidth-f.scrollWidth:-u}return u},n.position=function(o,u){o=p.byId(o);var c=A.body(o.ownerDocument),h=s(o);if(h={x:h.left,y:h.top,w:h.right-h.left,h:h.bottom-h.top},C("ie")<9&&(h.x-=C("quirks")?c.clientLeft+c.offsetLeft:0,h.y-=C("quirks")?c.clientTop+c.offsetTop:0),u){var v=n.docScroll(o.ownerDocument);h.x+=v.x,h.y+=v.y}return h},n.getMarginSize=function(u,c){u=p.byId(u);var h=n.getMarginExtents(u,c||d.getComputedStyle(u)),v=s(u);return{w:v.right-v.left+h.w,h:v.bottom-v.top+h.h}},n.normalizeEvent=function(o){if("layerX"in o||(o.layerX=o.offsetX,o.layerY=o.offsetY),!("pageX"in o)){var u=o.target,c=u&&u.ownerDocument||document,h=C("quirks")?c.body:c.documentElement;o.pageX=o.clientX+n.fixIeBiDiScrollLeft(h.scrollLeft||0,c),o.pageY=o.clientY+(h.scrollTop||0)}},n},_,P),_.exports=S},38339:(_,P,l)=>{var b,S;b=[P,l(57987),l(23702),l(69961),l(7835),l(37672),l(92087),l(18314)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){var i={},s=1,a=A._scopeName+"attrid";p.add("dom-textContent",function(u,c,h){return"textContent"in h}),C.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};function o(u){for(var c="",h=u.childNodes,v=0,f;f=h[v];v++)f.nodeType!=8&&(f.nodeType==1?c+=o(f):c+=f.nodeValue);return c}C.get=function(c,h){c=n.byId(c);var v=h.toLowerCase(),f=C.names[v]||h;return f=="textContent"&&!p("dom-textContent")?o(c):c[f]},C.set=function(c,h,v){c=n.byId(c);var f=arguments.length;if(f==2&&typeof h!="string"){for(var g in h)C.set(c,g,h[g]);return c}var m=h.toLowerCase(),E=C.names[m]||h;if(E=="style"&&typeof v!="string")return e.set(c,v),c;if(E=="innerHTML")return p("ie")&&c.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(t.empty(c),c.appendChild(t.toDom(v,c.ownerDocument))):c[E]=v,c;if(E=="textContent"&&!p("dom-textContent"))return t.empty(c),c.appendChild(c.ownerDocument.createTextNode(v)),c;if(d.isFunction(v)){var w=c[a];w||(w=s++,c[a]=w),i[w]||(i[w]={});var I=i[w][E];if(I)r.disconnect(I);else try{delete c[E]}catch(M){}return v?i[w][E]=r.connect(c,E,v):c[E]=null,c}return c[E]=v,c}},_,P),_.exports=S},37672:(_,P,l)=>{var b,S;b=[l(23702),l(7835),l(69174)],S=l.dj.d(b,function(C,A,p){var d,n={};C("webkit")?d=function(h){var v;if(h.nodeType==1){var f=h.ownerDocument.defaultView;v=f.getComputedStyle(h,null),!v&&h.style&&(h.style.display="",v=f.getComputedStyle(h,null))}return v||{}}:C("ie")&&(C("ie")<9||C("quirks"))?d=function(h){return h.nodeType==1&&h.currentStyle?h.currentStyle:{}}:d=function(h){if(h.nodeType===1){var v=h.ownerDocument.defaultView,f=v.opener?v:p.global.window;return f.getComputedStyle(h,null)||{}}return{}},n.getComputedStyle=d;var e;C("ie")?e=function(h,v){if(!v)return 0;if(v=="medium")return 4;if(v.slice&&v.slice(-2)=="px")return parseFloat(v);var f=h.style,g=h.runtimeStyle,m=h.currentStyle,E=f.left,w=g.left;g.left=m.left;try{f.left=v,v=f.pixelLeft}catch(I){v=0}return f.left=E,g.left=w,v}:e=function(h,v){return parseFloat(v)||0},n.toPixelValue=e;var t="DXImageTransform.Microsoft.Alpha",r=function(h,v){try{return h.filters.item(t)}catch(f){return v?{}:null}},i=C("ie")<9||C("ie")<10&&C("quirks")?function(h){try{return r(h).Opacity/100}catch(v){return 1}}:function(h){return d(h).opacity},s=C("ie")<9||C("ie")<10&&C("quirks")?function(h,v){v===""&&(v=1);var f=v*100,g=v===1;if(g?(h.style.zoom="",r(h)&&(h.style.filter=h.style.filter.replace(new RegExp("\\s*progid:"+t+"\\([^\\)]+?\\)","i"),""))):(h.style.zoom=1,r(h)?r(h,1).Opacity=f:h.style.filter+=" progid:"+t+"(Opacity="+f+")",r(h,1).Enabled=!0),h.tagName.toLowerCase()=="tr")for(var m=h.firstChild;m;m=m.nextSibling)m.tagName.toLowerCase()=="td"&&s(m,v);return v}:function(h,v){return h.style.opacity=v},a={left:!0,top:!0},o=/margin|padding|width|height|max|min|offset/;function u(h,v,f){if(v=v.toLowerCase(),f=="auto"){if(v=="height")return h.offsetHeight;if(v=="width")return h.offsetWidth}if(v=="fontweight")switch(f){case 700:return"bold";case 400:default:return"normal"}return v in a||(a[v]=o.test(v)),a[v]?e(h,f):f}var c={cssFloat:1,styleFloat:1,float:1};return n.get=function(v,f){var g=A.byId(v),m=arguments.length,E=f=="opacity";if(m==2&&E)return i(g);f=c[f]?"cssFloat"in g.style?"cssFloat":"styleFloat":f;var w=n.getComputedStyle(g);return m==1?w:u(g,f,w[f]||g.style[f])},n.set=function(v,f,g){var m=A.byId(v),E=arguments.length,w=f=="opacity";if(f=c[f]?"cssFloat"in m.style?"cssFloat":"styleFloat":f,E==3)return w?s(m,g):m.style[f]=g;for(var I in f)n.set(v,I,f[I]);return n.getComputedStyle(m)},n},_,P),_.exports=S},7835:(_,P,l)=>{var b,S;b=[l(23702),l(69174),l(57987)],S=l.dj.d(b,function(C,A,p){if(C("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(t){}var d={};C("ie")?d.byId=function(t,r){if(typeof t!="string")return t||null;var i=r||A.doc,s=t&&i.getElementById(t);if(s&&(s.attributes.id.value==t||s.id==t))return s;var a=i.all[t];(!a||a.nodeName)&&(a=[a]);for(var o=0;s=a[o++];)if(s.attributes&&s.attributes.id&&s.attributes.id.value==t||s.id==t)return s;return null}:d.byId=function(t,r){return(typeof t=="string"?(r||A.doc).getElementById(t):t)||null};var n=p.global.document||null;C.add("dom-contains",!!(n&&n.contains)),d.isDescendant=function(t,r){try{for(t=d.byId(t),r=d.byId(r);t;){if(t==r)return!0;t=t.parentNode}}catch(i){}return!1},C.add("css-user-select",function(t,r,i){if(!i)return!1;var s=i.style,a=["Khtml","O","Moz","Webkit"],o=a.length,u="userSelect",c;do if(typeof s[u]<"u")return u;while(o--&&(u=a[o]+"UserSelect"));return!1});var e=C("css-user-select");return d.setSelectable=e?function(t,r){d.byId(t).style[e]=r?"":"none"}:function(t,r){t=d.byId(t);var i=t.getElementsByTagName("*"),s=i.length;if(r)for(t.removeAttribute("unselectable");s--;)i[s].removeAttribute("unselectable");else for(t.setAttribute("unselectable","on");s--;)i[s].setAttribute("unselectable","on")},d},_,P),_.exports=S},2799:(_,P,l)=>{var b,S;b=[l(79359),l(80675)],S=l.dj.d(b,function(C,A){var p=document,d={loaded:1,complete:1},n=typeof p.readyState!="string",e=!!d[p.readyState],t=[],r;function i(v){t.push(v),e&&s()}i.load=function(v,f,g){i(g)},i._Q=t,i._onQEmpty=function(){},n&&(p.readyState="loading");function s(){if(!r){for(r=!0;t.length;)try{t.shift()(p)}catch(v){console.error(v,"in domReady callback",v.stack)}r=!1,i._onQEmpty()}}if(!e){var a=[],o=function(v){v=v||C.event,!(e||v.type=="readystatechange"&&!d[p.readyState])&&(n&&(p.readyState="complete"),e=1,s())},u=function(v,f){v.addEventListener(f,o,!1),t.push(function(){v.removeEventListener(f,o,!1)})};if(!A("dom-addeventlistener")){u=function(v,f){f="on"+f,v.attachEvent(f,o),t.push(function(){v.detachEvent(f,o)})};var c=p.createElement("div");try{c.doScroll&&C.frameElement===null&&a.push(function(){try{return c.doScroll("left"),1}catch(v){}})}catch(v){}}if(u(p,"DOMContentLoaded"),u(C,"load"),"onreadystatechange"in p?u(p,"readystatechange"):n||a.push(function(){return d[p.readyState]}),a.length){var h=function(){if(!e){for(var v=a.length;v--;)if(a[v]()){o("poller");return}setTimeout(h,30)}};h()}}return i},_,P),_.exports=S},30673:(_,P,l)=>{var b,S;b=[l(68086)],S=l.dj.d(b,function(C){return C("CancelError",null,null,{dojoType:"cancel",log:!1})},_,P),_.exports=S},41972:(_,P,l)=>{var b,S;b=[l(68086)],S=l.dj.d(b,function(C){return C("RequestError",function(A,p){this.response=p})},_,P),_.exports=S},7982:(_,P,l)=>{var b,S;b=[l(68086),l(41972)],S=l.dj.d(b,function(C,A){return C("RequestTimeoutError",null,A,{dojoType:"timeout"})},_,P),_.exports=S},68086:(_,P,l)=>{var b,S;b=[l(69961)],S=l.dj.d(b,function(C){return function(A,p,d,n){d=d||Error;var e=function(t){if(d===Error){Error.captureStackTrace&&Error.captureStackTrace(this,e);var r=Error.call(this,t),i;for(i in r)r.hasOwnProperty(i)&&(this[i]=r[i]);this.message=t,this.stack=r.stack}else d.apply(this,arguments);p&&p.apply(this,arguments)};return e.prototype=C.delegate(d.prototype,n),e.prototype.name=A,e.prototype.constructor=e,e}},_,P),_.exports=S},3782:(_,P,l)=>{var b,S;b=[l(69961),l(57574),l(57987),l(33659),l(76873),l(90554),l(7835),l(37672),l(20849),l(63807),l.dj.c(_)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a){p.isAsync||s(0,function(){var v=["./fx/Toggler"];a(v)});var o=p.fx={},u={_fire:function(v,f){return this[v]&&this[v].apply(this,f||[]),this}},c=function(v){this._index=-1,this._animations=v||[],this._current=this._onAnimateCtx=this._onEndCtx=null,this.duration=0,d.forEach(this._animations,function(f){f&&(typeof f.duration<"u"&&(this.duration+=f.duration),f.delay&&(this.duration+=f.delay))},this)};c.prototype=new A,C.extend(c,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove(),this._onEndCtx.remove(),this._onAnimateCtx=this._onEndCtx=null,this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=n.after(this._current,"onAnimate",C.hitch(this,"_onAnimate"),!0),this._onEndCtx=n.after(this._current,"onEnd",C.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(v,f){if(this._current||(this._current=this._animations[this._index=0]),!f&&this._current.status()=="playing")return this;var g=n.after(this._current,"beforeBegin",C.hitch(this,function(){this._fire("beforeBegin")}),!0),m=n.after(this._current,"onBegin",C.hitch(this,function(w){this._fire("onBegin",arguments)}),!0),E=n.after(this._current,"onPlay",C.hitch(this,function(w){this._fire("onPlay",arguments),g.remove(),m.remove(),E.remove()}));return this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onAnimateCtx=n.after(this._current,"onAnimate",C.hitch(this,"_onAnimate"),!0),this._onEndCtx&&this._onEndCtx.remove(),this._onEndCtx=n.after(this._current,"onEnd",C.hitch(this,"_onEnd"),!0),this._current.play.apply(this._current,arguments),this},pause:function(){if(this._current){var v=n.after(this._current,"onPause",C.hitch(this,function(f){this._fire("onPause",arguments),v.remove()}),!0);this._current.pause()}return this},gotoPercent:function(v,f){this.pause();var g=this.duration*v;return this._current=null,d.some(this._animations,function(m,E){return g<=m.duration?(this._current=m,this._index=E,!0):(g-=m.duration,!1)},this),this._current&&this._current.gotoPercent(g/this._current.duration),f&&this.play(),this},stop:function(v){if(this._current){if(v){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var f=n.after(this._current,"onStop",C.hitch(this,function(g){this._fire("onStop",arguments),f.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop(),this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onEndCtx&&this._onEndCtx.remove()}}),C.extend(c,u),o.chain=function(v){return new c(C.isArray(v)?v:Array.prototype.slice.call(v,0))};var h=function(v){this._animations=v||[],this._connects=[],this._finished=0,this.duration=0,d.forEach(v,function(g){var m=g.duration;g.delay&&(m+=g.delay),this.duration<m&&(this.duration=m),this._connects.push(n.after(g,"onEnd",C.hitch(this,"_onEnd"),!0))},this),this._pseudoAnimation=new e.Animation({curve:[0,1],duration:this.duration});var f=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(g){f._connects.push(n.after(f._pseudoAnimation,g,function(){f._fire(g,arguments)},!0))})};return C.extend(h,{_doAction:function(v,f){return d.forEach(this._animations,function(g){g[v].apply(g,f)}),this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(v,f){var g=this._pseudoAnimation;g[v].apply(g,f)},play:function(v,f){return this._finished=0,this._doAction("play",arguments),this._call("play",arguments),this},pause:function(){return this._doAction("pause",arguments),this._call("pause",arguments),this},gotoPercent:function(v,f){var g=this.duration*v;return d.forEach(this._animations,function(m){m.gotoPercent(m.duration<g?1:g/m.duration,f)}),this._call("gotoPercent",arguments),this},stop:function(v){return this._doAction("stop",arguments),this._call("stop",arguments),this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop(),d.forEach(this._connects,function(v){v.remove()})}}),C.extend(h,u),o.combine=function(v){return new h(C.isArray(v)?v:Array.prototype.slice.call(v,0))},o.wipeIn=function(v){var f=v.node=t.byId(v.node),g=f.style,m,E=e.animateProperty(C.mixin({properties:{height:{start:function(){if(m=g.overflow,g.overflow="hidden",g.visibility=="hidden"||g.display=="none")return g.height="1px",g.display="",g.visibility="",1;var I=r.get(f,"height");return Math.max(I,1)},end:function(){return f.scrollHeight}}}},v)),w=function(){g.height="auto",g.overflow=m};return n.after(E,"onStop",w,!0),n.after(E,"onEnd",w,!0),E},o.wipeOut=function(v){var f=v.node=t.byId(v.node),g=f.style,m,E=e.animateProperty(C.mixin({properties:{height:{end:1}}},v));n.after(E,"beforeBegin",function(){m=g.overflow,g.overflow="hidden",g.display=""},!0);var w=function(){g.overflow=m,g.height="auto",g.display="none"};return n.after(E,"onStop",w,!0),n.after(E,"onEnd",w,!0),E},o.slideTo=function(v){var f=v.node=t.byId(v.node),g=null,m=null,E=function(I){return function(){var M=r.getComputedStyle(I),R=M.position;if(g=R=="absolute"?I.offsetTop:parseInt(M.top)||0,m=R=="absolute"?I.offsetLeft:parseInt(M.left)||0,R!="absolute"&&R!="relative"){var T=i.position(I,!0);g=T.y,m=T.x,I.style.position="absolute",I.style.top=g+"px",I.style.left=m+"px"}}}(f);E();var w=e.animateProperty(C.mixin({properties:{top:v.top||0,left:v.left||0}},v));return n.after(w,"beforeBegin",E,!0),w},o},_,P),_.exports=S},79359:function(_,P,l){var b;b=function(){return typeof global<"u"&&typeof global!="function"?global:typeof window<"u"?window:typeof self<"u"?self:this}.call(null,l,P,_),b!==void 0&&(_.exports=b)},80675:(_,P,l)=>{var b,S;b=[l(79359),l.dj.c(_),l.dj.m(_)],S=l.dj.d(b,function(C,A,p){var d=A.has||function(){};if(!d("dojo-has-api")){var n=typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location==location&&window.document==document,e=n&&document,t=e&&e.createElement("DiV"),r=p.config&&p.config()||{};d=function(s){return typeof r[s]=="function"?r[s]=r[s](C,e,t):r[s]},d.cache=r,d.add=function(s,a,o,u){return(typeof r[s]>"u"||u)&&(r[s]=a),o&&d(s)},d.add("host-browser",n),d.add("host-node",typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8),d.add("host-rhino",typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")),d.add("dom",n),d.add("dojo-dom-ready-api",1),d.add("dojo-sniff",1)}if(d("host-browser")){d.add("dom-addeventlistener",!!document.addEventListener),d.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),d.add("touch-events","ontouchstart"in document),d.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),d.add("MSPointer",window.navigator.msPointerEnabled),d.add("touch-action",d("touch")&&d("pointer-events")),d.add("device-width",screen.availWidth||innerWidth);var i=document.createElement("form");d.add("dom-attributes-explicit",i.attributes.length==0),d.add("dom-attributes-specified-flag",i.attributes.length>0&&i.attributes.length<40)}return d.clearElement=function(s){return s.innerHTML="",s},d.normalize=function(s,a){var o=s.match(/[\?:]|[^:\?]*/g),u=0,c=function(h){var v=o[u++];return v==":"?0:o[u++]=="?"?!h&&d(v)?c():(c(!0),c(h)):v||0};return s=c(),s&&a(s)},d.load=function(s,a,o){s?a([s],o):o()},d},_,P),_.exports=S},74818:(_,P,l)=>{var b,S;b=[l.dj.c(_),l(69196),l(65724),l(37672),l(80675),l(2799),l(69174)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return n.add("highcontrast",function(){var r=t.doc.createElement("div");try{r.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(A.blankGif||C.toUrl("./resources/blank.gif"))+'");',t.body().appendChild(r);var i=d.getComputedStyle(r),s=i.backgroundImage;return i.borderTopColor==i.borderRightColor||s&&(s=="none"||s=="url(invalid-url:)")}catch(a){return console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+a.toString()),!1}finally{n("ie")<=8?r.outerHTML="":t.body().removeChild(r)}}),e(function(){n("highcontrast")&&p.add(t.body(),"dj_a11y")}),n},_,P),_.exports=S},45760:(_,P,l)=>{var b,S;b=[l(57987),l(69961),l(33659),l(74786),l(7835),l(92087),l(67834)],S=l.dj.d(b,function(C,A,p,d,n,e,t){var r=0,i={_secureForInnerHtml:function(s){return s.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")},_emptyNode:e.empty,_setNodeContent:function(s,a){if(e.empty(s),a)if(typeof a=="number"&&(a=a.toString()),typeof a=="string"&&(a=e.toDom(a,s.ownerDocument)),!a.nodeType&&A.isArrayLike(a))for(var o=a.length,u=0;u<a.length;u=o==a.length?u+1:0)e.place(a[u],s,"last");else e.place(a,s,"last");return s},_ContentSetter:d("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:C._scopeName,startup:!0,constructor:function(s,a){A.mixin(this,s||{}),a=this.node=n.byId(this.node||a),this.id||(this.id=["Setter",a?a.id||a.tagName:"",r++].join("_"))},set:function(s,a){s!==void 0&&(this.content=s),typeof s=="number"&&(s=s.toString()),a&&this._mixin(a),this.onBegin(),this.setContent();var o=this.onEnd();return o&&o.then?o:this.node},setContent:function(){var s=this.node;if(!s)throw new Error(this.declaredClass+": setContent given no node");try{s=i._setNodeContent(s,this.content)}catch(o){var a=this.onContentError(o);try{s.innerHTML=a}catch(u){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+u.message,u)}}this.node=s},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred),this.parseResults&&this.parseResults.length&&(p.forEach(this.parseResults,function(s){s.destroy&&s.destroy()}),delete this.parseResults),e.empty(this.node)},onBegin:function(){var s=this.content;if(A.isString(s)&&(this.cleanContent&&(s=i._secureForInnerHtml(s)),this.extractContent)){var a=s.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);a&&(s=a[1])}return this.empty(),this.content=s,this.node},onEnd:function(){return this.parseContent&&this._parse(),this.node},tearDown:function(){delete this.parseResults,delete this.parseDeferred,delete this.node,delete this.content},onContentError:function(s){return"Error occurred setting content: "+s},onExecError:function(s){return"Error occurred executing scripts: "+s},_mixin:function(s){var a={},o;for(o in s)o in a||(this[o]=s[o])},_parse:function(){var s=this.node;try{var a={};p.forEach(["dir","lang","textDir"],function(u){this[u]&&(a[u]=this[u])},this);var o=this;this.parseDeferred=t.parse({rootNode:s,noStart:!this.startup,inherited:a,scope:this.parserScope}).then(function(u){return o.parseResults=u},function(u){o._onError("Content",u,"Error parsing in _ContentSetter#"+o.id)})}catch(u){this._onError("Content",u,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(s,a,o){var u=this["on"+s+"Error"].call(this,a);o?console.error(o,a):u&&i._setNodeContent(this.node,u,!0)}}),set:function(s,a,o){if(a==null&&(console.warn("dojo.html.set: no cont argument provided, using empty string"),a=""),typeof a=="number"&&(a=a.toString()),o){var u=new i._ContentSetter(A.mixin(o,{content:a,node:s}));return u.set()}else return i._setNodeContent(s,a,!0)}};return A.setObject("dojo.html",i),i},_,P),_.exports=S},86623:(_,P,l)=>{var b,S;b=[l(57987),l.dj.c(_),l(80675),l(33659),l(69196),l(69961),l(7755),l(685),l.dj.m(_)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){p.add("dojo-preload-i18n-Api",1),p.add("dojo-v1x-i18n-Api",1);var s=C.i18n={},a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,o=function(L,W,j,H){for(var K=[j+H],$=W.split("-"),V="",z=0;z<$.length;z++)V+=(V?"-":"")+$[z],(!L||L[V])&&(K.push(j+V+"/"+H),K.specificity=V);return K},u={},c=function(L,W,j){return j=j?j.toLowerCase():C.locale,L=L.replace(/\./g,"/"),W=W.replace(/\./g,"/"),/root/i.test(j)?L+"/nls/"+W:L+"/nls/"+j+"/"+W},h=C.getL10nName=function(L,W,j){return L=i.id+"!"+c(L,W,j)},v=function(L,W,j,H,K,$){L([W],function(V){var z=e.clone(V.root||V.ROOT),X=o(!V._v1x&&V,K,j,H);L(X,function(){for(var Z=1;Z<X.length;Z++)z=e.mixin(e.clone(z),arguments[Z]);var Y=W+"/"+K;u[Y]=z,z.$locale=X.specificity,$()})})},f=function(L,W){return/^\./.test(L)?W(L):L},g=function(L){var W=n.extraLocale||[];return W=e.isArray(W)?W:[W],W.push(L),W},m=function(L,W,j){var H=a.exec(L),K=H[1]+"/",$=H[5]||H[4],V=K+$,z=H[5]&&H[4],X=z||C.locale||"",Z=V+"/"+X,Y=z?[X]:g(X),Q=Y.length,q=function(){--Q||j(e.delegate(u[Z]))},ee=L.split("*"),oe=ee[1]=="preload";if(p("dojo-preload-i18n-Api")){if(oe&&(u[L]||(u[L]=1,R(ee[2],r.parse(ee[3]),1,W)),j(1)),oe||T(L,W,j)&&!u[Z])return}else if(oe){j(1);return}d.forEach(Y,function(se){var he=V+"/"+se;p("dojo-preload-i18n-Api")&&N(he),u[he]?q():v(W,V,K,$,se,q)})};if(p("dojo-preload-i18n-Api")||p("dojo-v1x-i18n-Api"))var E=s.normalizeLocale=function(L){var W=L?L.toLowerCase():C.locale;return W=="root"?"ROOT":W},w=function(L,W){return p("dojo-sync-loader")&&p("dojo-v1x-i18n-Api")?W.isXdUrl(A.toUrl(L+".js")):!0},I=0,M=[],R=s._preloadLocalizations=function(L,W,j,H){H=H||A;function K(Y,Q){w(Y,H)||j?H([Y],Q):O([Y],Q,H)}function $(Y,Q){for(var q=Y.split("-");q.length;){if(Q(q.join("-")))return;q.pop()}Q("ROOT")}function V(){I++}function z(){for(--I;!I&&M.length;)m.apply(null,M.shift())}function X(Y,Q,q,ee){return ee.toAbsMid(Y+Q+"/"+q)}function Z(Y){Y=E(Y),$(Y,function(Q){if(d.indexOf(W,Q)>=0){var q=L.replace(/\./g,"/")+"_"+Q;return V(),K(q,function(ee){for(var oe in ee){var se=ee[oe],he=oe.match(/(.+)\/([^\/]+)$/),fe,le;if(he&&(fe=he[2],le=he[1]+"/",!!se._localized)){var ie;if(Q==="ROOT"){var re=ie=se._localized;delete se._localized,re.root=se,u[A.toAbsMid(oe)]=re}else ie=se._localized,u[X(le,fe,Q,A)]=se;if(Q!==Y){var ce=function(ge,Te,Pe,Le){var ct=[],st=[];$(Y,function(ot){Le[ot]&&(ct.push(A.toAbsMid(ge+ot+"/"+Te)),st.push(X(ge,Te,ot,A)))}),ct.length?(V(),H(ct,function(){for(var ot=ct.length-1;ot>=0;ot--)Pe=e.mixin(e.clone(Pe),arguments[ot]),u[st[ot]]=Pe;u[X(ge,Te,Y,A)]=e.clone(Pe),z()})):u[X(ge,Te,Y,A)]=Pe};ce(le,fe,se,ie)}}}z()}),!0}return!1})}Z(),d.forEach(C.config.extraLocale,Z)},T=function(L,W,j){return I&&M.push([L,W,j]),I},N=function(){};if(p("dojo-v1x-i18n-Api")){var F={},y={},x,O=function(L,W,j){var H=[];d.forEach(L,function(K){var $=j.toUrl(K+".js");function V(X){x||(x=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;}, require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"));var Z=x(X,N,K,F);Z===F?H.push(u[$]=F.result):(Z instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+$,Z),Z={}),H.push(u[$]=/nls\/[^\/]+\/[^\/]+$/.test($)?Z:{root:Z,_v1x:1}))}if(u[$])H.push(u[$]);else{var z=j.syncLoadNls(K);if(z||(z=N(K.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"))),z)H.push(z);else if(t)t.get({url:$,sync:!0,load:V,error:function(){H.push(u[$]={})}});else try{j.getText($,!0,V)}catch(X){H.push(u[$]={})}}}),W&&W.apply(null,H)};N=function(L){for(var W,j=L.split("/"),H=C.global[j[0]],K=1;H&&K<j.length-1;H=H[j[K++]]);return H&&(W=H[j[K]],W||(W=H[j[K].replace(/-/g,"_")]),W&&(u[L]=W)),W},s.getLocalization=function(L,W,j){var H,K=c(L,W,j);return y[K]?y[K]:(m(K,w(K,A)?A:function($,V){O($,V,A)},function($){y[K]=$,H=$}),H)}}else s.getLocalization=function(L,W,j){var H=L.replace(/\./g,"/")+"/nls/"+W+"/"+(j||n.locale);return this.cache[H]};return e.mixin(s,{dynamic:!0,normalize:f,load:m,cache:u,getL10nName:h})},_,P),_.exports=S},42372:(_,P,l)=>{var b,S;b=[l(69961)],S=l.dj.d(b,function(C){var A={};return{objectToQuery:function(d){var n=encodeURIComponent,e=[];for(var t in d){var r=d[t];if(r!=A[t]){var i=n(t)+"=";if(C.isArray(r))for(var s=0,a=r.length;s<a;++s)e.push(i+n(r[s]));else e.push(i+n(r))}}return e.join("&")},queryToObject:function(d){for(var n=decodeURIComponent,e=d.split("&"),t={},r,i,s=0,a=e.length,o;s<a;++s)if(o=e[s],o.length){var u=o.indexOf("=");u<0?(r=n(o),i=""):(r=n(o.slice(0,u)),i=n(o.slice(u+1))),typeof t[r]=="string"&&(t[r]=[t[r]]),C.isArray(t[r])?t[r].push(i):t[r]=i}return t}}},_,P),_.exports=S},685:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(80675)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(has){"use strict";var hasJSON=typeof JSON<"u";if(has.add("json-parse",hasJSON),has.add("json-stringify",hasJSON&&JSON.stringify({a:0},function(_,P){return P||1})=='{"a":1}'),has("json-stringify"))return JSON;var escapeString=function(_){return('"'+_.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:has("json-parse")?JSON.parse:function(str,strict){if(strict&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(_,P,l){var b;typeof P=="string"&&(l=P,P=null);function S(C,A,p){P&&(C=P(p,C));var d,n=typeof C;if(n=="number")return isFinite(C)?C+"":"null";if(n=="boolean")return C+"";if(C===null)return"null";if(typeof C=="string")return escapeString(C);if(n=="function"||n=="undefined")return b;if(typeof C.toJSON=="function")return S(C.toJSON(p),A,p);if(C instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(c,h,v){var f=C["getUTC"+h]()+(v?1:0);return f<10?"0"+f:f});if(C.valueOf()!==C)return S(C.valueOf(),A,p);var e=l?A+l:"",t=l?" ":"",r=l?`
`:"";if(C instanceof Array){var i=C.length,s=[];for(p=0;p<i;p++){var a=C[p];d=S(a,e,p),typeof d!="string"&&(d="null"),s.push(r+e+d)}return"["+s.join(",")+r+A+"]"}var o=[];for(p in C){var u;if(C.hasOwnProperty(p)){if(typeof p=="number")u='"'+p+'"';else if(typeof p=="string")u=escapeString(p);else continue;if(d=S(C[p],e,p),typeof d!="string")continue;o.push(r+e+u+":"+t+d)}}return"{"+o.join(",")+r+A+"}"}return S(_,"","")}}},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},94168:(_,P,l)=>{var b,S;b=[l(72549)],S=l.dj.d(b,function(C){return{parse:C}},_,P),_.exports=S},72549:(_,P,l)=>{var b,S;b=[l(1723),l(64653)],S=l.dj.d(b,function(C,A){var p,d,n,e,t,r,i,s,a;function o(V,z){p=String(V),d="start",n=[],e=0,t=1,r=0,i=void 0,s=void 0,a=void 0;do i=m(),y[d]();while(i.type!=="eof");return typeof z=="function"?u({"":a},"",z):a}function u(V,z,X){var Z=V[z];if(Z!=null&&typeof Z=="object")for(var Y in Z){var Q=u(Z,Y,X);Q===void 0?delete Z[Y]:Z[Y]=Q}return X.call(V,z,Z)}var c,h,v,f,g;function m(){for(c="default",h="",v=!1,f=1;;){g=E();var V=I[c]();if(V)return V}}function E(){if(p[e])return C.fromCodePoint(C.codePointAt(p,e))}function w(){var V=E();return V===`
`?(t++,r=0):V?r+=V.length:r++,V&&(e+=V.length),V}var I={default:function(){switch(g){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
`:case"\r":case"\u2028":case"\u2029":w();return;case"/":w(),c="comment";return;case void 0:return w(),M("eof")}if(A.isSpaceSeparator(g)){w();return}return I[d]()},comment:function(){switch(g){case"*":w(),c="multiLineComment";return;case"/":w(),c="singleLineComment";return}throw L(w())},multiLineComment:function(){switch(g){case"*":w(),c="multiLineCommentAsterisk";return;case void 0:throw L(w())}w()},multiLineCommentAsterisk:function(){switch(g){case"*":w();return;case"/":w(),c="default";return;case void 0:throw L(w())}w(),c="multiLineComment"},singleLineComment:function(){switch(g){case`
`:case"\r":case"\u2028":case"\u2029":w(),c="default";return;case void 0:return w(),M("eof")}w()},value:function(){switch(g){case"{":case"[":return M("punctuator",w());case"n":return w(),R("ull"),M("null",null);case"t":return w(),R("rue"),M("boolean",!0);case"f":return w(),R("alse"),M("boolean",!1);case"-":case"+":w()==="-"&&(f=-1),c="sign";return;case".":h=w(),c="decimalPointLeading";return;case"0":h=w(),c="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=w(),c="decimalInteger";return;case"I":return w(),R("nfinity"),M("numeric",1/0);case"N":return w(),R("aN"),M("numeric",NaN);case'"':case"'":v=w()==='"',h="",c="string";return}throw L(w())},identifierNameStartEscape:function(){if(g!=="u")throw L(w());w();var V=F();switch(V){case"$":case"_":break;default:if(!A.isIdStartChar(V))throw j();break}h+=V,c="identifierName"},identifierName:function(){switch(g){case"$":case"_":case"\u200C":case"\u200D":h+=w();return;case"\\":w(),c="identifierNameEscape";return}if(A.isIdContinueChar(g)){h+=w();return}return M("identifier",h)},identifierNameEscape:function(){if(g!=="u")throw L(w());w();var V=F();switch(V){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!A.isIdContinueChar(V))throw j();break}h+=V,c="identifierName"},sign:function(){switch(g){case".":h=w(),c="decimalPointLeading";return;case"0":h=w(),c="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":h=w(),c="decimalInteger";return;case"I":return w(),R("nfinity"),M("numeric",f*(1/0));case"N":return w(),R("aN"),M("numeric",NaN)}throw L(w())},zero:function(){switch(g){case".":h+=w(),c="decimalPoint";return;case"e":case"E":h+=w(),c="decimalExponent";return;case"x":case"X":h+=w(),c="hexadecimal";return}return M("numeric",f*0)},decimalInteger:function(){switch(g){case".":h+=w(),c="decimalPoint";return;case"e":case"E":h+=w(),c="decimalExponent";return}if(A.isDigit(g)){h+=w();return}return M("numeric",f*Number(h))},decimalPointLeading:function(){if(A.isDigit(g)){h+=w(),c="decimalFraction";return}throw L(w())},decimalPoint:function(){switch(g){case"e":case"E":h+=w(),c="decimalExponent";return}if(A.isDigit(g)){h+=w(),c="decimalFraction";return}return M("numeric",f*Number(h))},decimalFraction:function(){switch(g){case"e":case"E":h+=w(),c="decimalExponent";return}if(A.isDigit(g)){h+=w();return}return M("numeric",f*Number(h))},decimalExponent:function(){switch(g){case"+":case"-":h+=w(),c="decimalExponentSign";return}if(A.isDigit(g)){h+=w(),c="decimalExponentInteger";return}throw L(w())},decimalExponentSign:function(){if(A.isDigit(g)){h+=w(),c="decimalExponentInteger";return}throw L(w())},decimalExponentInteger:function(){if(A.isDigit(g)){h+=w();return}return M("numeric",f*Number(h))},hexadecimal:function(){if(A.isHexDigit(g)){h+=w(),c="hexadecimalInteger";return}throw L(w())},hexadecimalInteger:function(){if(A.isHexDigit(g)){h+=w();return}return M("numeric",f*Number(h))},string:function(){switch(g){case"\\":w(),h+=T();return;case'"':if(v)return w(),M("string",h);h+=w();return;case"'":if(!v)return w(),M("string",h);h+=w();return;case`
`:case"\r":throw L(w());case"\u2028":case"\u2029":H(g);break;case void 0:throw L(w())}h+=w()},start:function(){switch(g){case"{":case"[":return M("punctuator",w())}c="value"},beforePropertyName:function(){switch(g){case"$":case"_":h=w(),c="identifierName";return;case"\\":w(),c="identifierNameStartEscape";return;case"}":return M("punctuator",w());case'"':case"'":v=w()==='"',c="string";return}if(A.isIdStartChar(g)){h+=w(),c="identifierName";return}throw L(w())},afterPropertyName:function(){if(g===":")return M("punctuator",w());throw L(w())},beforePropertyValue:function(){c="value"},afterPropertyValue:function(){switch(g){case",":case"}":return M("punctuator",w())}throw L(w())},beforeArrayValue:function(){if(g==="]")return M("punctuator",w());c="value"},afterArrayValue:function(){switch(g){case",":case"]":return M("punctuator",w())}throw L(w())},end:function(){throw L(w())}};function M(V,z){return{type:V,value:z,line:t,column:r}}function R(V){for(var z=0,X=V;z<X.length;z++){var Z=X[z],Y=E();if(Y!==Z)throw L(w());w()}}function T(){var V=E();switch(V){case"b":return w(),"\b";case"f":return w(),"\f";case"n":return w(),`
`;case"r":return w(),"\r";case"t":return w()," ";case"v":return w(),"\v";case"0":if(w(),A.isDigit(E()))throw L(w());return"\0";case"x":return w(),N();case"u":return w(),F();case`
`:case"\u2028":case"\u2029":return w(),"";case"\r":return w(),E()===`
`&&w(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw L(w());case void 0:throw L(w())}return w()}function N(){var V="",z=E();if(!A.isHexDigit(z)||(V+=w(),z=E(),!A.isHexDigit(z)))throw L(w());return V+=w(),C.fromCodePoint(parseInt(V,16))}function F(){for(var V="",z=4;z-- >0;){var X=E();if(!A.isHexDigit(X))throw L(w());V+=w()}return C.fromCodePoint(parseInt(V,16))}var y={start:function(){if(i.type==="eof")throw W();x()},beforePropertyName:function(){switch(i.type){case"identifier":case"string":s=i.value,d="afterPropertyName";return;case"punctuator":O();return;case"eof":throw W()}},afterPropertyName:function(){if(i.type==="eof")throw W();d="beforePropertyValue"},beforePropertyValue:function(){if(i.type==="eof")throw W();x()},beforeArrayValue:function(){if(i.type==="eof")throw W();if(i.type==="punctuator"&&i.value==="]"){O();return}x()},afterPropertyValue:function(){if(i.type==="eof")throw W();switch(i.value){case",":d="beforePropertyName";return;case"}":O()}},afterArrayValue:function(){if(i.type==="eof")throw W();switch(i.value){case",":d="beforeArrayValue";return;case"]":O()}},end:function(){}};function x(){var V;switch(i.type){case"punctuator":switch(i.value){case"{":V={};break;case"[":V=[];break}break;case"null":case"boolean":case"numeric":case"string":V=i.value;break}if(a===void 0)a=V;else{var z=n[n.length-1];Array.isArray(z)?z.push(V):z[s]=V}if(V!==null&&typeof V=="object")n.push(V),Array.isArray(V)?d="beforeArrayValue":d="beforePropertyName";else{var X=n[n.length-1];X==null?d="end":Array.isArray(X)?d="afterArrayValue":d="afterPropertyValue"}}function O(){n.pop();var V=n[n.length-1];V==null?d="end":Array.isArray(V)?d="afterArrayValue":d="afterPropertyValue"}function L(V){return $(V===void 0?"JSON5: invalid end of input at "+t+":"+r:"JSON5: invalid character '"+K(V)+"' at "+t+":"+r)}function W(){return $("JSON5: invalid end of input at "+t+":"+r)}function j(){return r-=5,$("JSON5: invalid identifier character at "+t+":"+r)}function H(V){console.warn("JSON5: '"+K(V)+"' in strings is not valid ECMAScript; consider escaping")}function K(V){var z={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(z[V])return z[V];if(V<" "){var X=V.charCodeAt(0).toString(16);return"\\x"+("00"+X).substring(X.length)}return V}function $(V){var z=new SyntaxError(V);return z.lineNumber=t,z.columnNumber=r,z}return o},_,P),_.exports=S},51818:(_,P,l)=>{_.exports={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/}},64653:(_,P,l)=>{var b,S;b=[l(51818)],S=l.dj.d(b,function(C){return{isSpaceSeparator:function(A){return typeof A=="string"&&C.Space_Separator.test(A)},isIdStartChar:function(A){return typeof A=="string"&&(A>="a"&&A<="z"||A>="A"&&A<="Z"||A==="$"||A==="_"||C.ID_Start.test(A))},isIdContinueChar:function(A){return typeof A=="string"&&(A>="a"&&A<="z"||A>="A"&&A<="Z"||A>="0"&&A<="9"||A==="$"||A==="_"||A==="\u200C"||A==="\u200D"||C.ID_Continue.test(A))},isDigit:function(A){return typeof A=="string"&&/[0-9]/.test(A)},isHexDigit:function(A){return typeof A=="string"&&/[0-9A-Fa-f]/.test(A)}}},_,P),_.exports=S},75145:(_,P,l)=>{var b,S;b=[l(57987),l(23702)],S=l.dj.d(b,function(C,A){return C.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:A("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:A("mac")&&!A("air")?A("safari")?91:224:17}},_,P),_.exports=S},72875:(_,P,l)=>{var b,S;b=[l(57987),l(86560),l(80675),l(7835),l(69174)],S=l.dj.d(b,function(C,A,p,d,n){p.add("dom-quirks",n.doc&&n.doc.compatMode=="BackCompat"),p.add("events-mouseenter",n.doc&&"onmouseenter"in n.doc.createElement("div")),p.add("events-mousewheel",n.doc&&"onmousewheel"in n.doc);var e;p("dom-quirks")&&p("ie")||!p("dom-addeventlistener")?e={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(i,s){return i.button&s},isLeft:function(i){return i.button&1},isMiddle:function(i){return i.button&4},isRight:function(i){return i.button&2}}:e={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(i,s){return i.button==s},isLeft:function(i){return i.button==0},isMiddle:function(i){return i.button==1},isRight:function(i){return i.button==2}},C.mouseButtons=e;function t(i,s){var a=function(o,u){return A(o,i,function(c){if(s)return s(c,u);if(!d.isDescendant(c.relatedTarget,o))return u.call(this,c)})};return a.bubble=function(o){return t(i,function(u,c){var h=o(u.target),v=u.relatedTarget;if(h&&h!=(v&&v.nodeType==1&&o(v)))return c.call(h,u)})},a}var r;return p("events-mousewheel")?r="mousewheel":r=function(i,s){return A(i,"DOMMouseScroll",function(a){a.wheelDelta=-a.detail,s.call(this,a)})},{_eventHandler:t,enter:t("mouseover"),leave:t("mouseout"),wheel:r,isLeft:e.isLeft,isMiddle:e.isMiddle,isRight:e.isRight}},_,P),_.exports=S},86560:(_,P,l)=>{var b,S;b=[l.dj.h("dom-addeventlistener?:76873"),l(57987),l(23702)],S=l.dj.d(b,function(C,A,p){"use strict";if(p("dom")){var d=window.ScriptEngineMajorVersion;p.add("jscript",d&&d()+ScriptEngineMinorVersion()/10),p.add("event-orientationchange",p("touch")&&!p("android")),p.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),p.add("event-focusin",function(T,N,F){return"onfocusin"in F}),p("touch")&&p.add("touch-can-modify-event-delegate",function(){var T=function(){};T.prototype=document.createEvent("MouseEvents");try{var N=new T;return N.target=null,N.target===null}catch(F){return!1}})}var n=function(T,N,F,y){return typeof T.on=="function"&&typeof N!="function"&&!T.nodeType?T.on(N,F):n.parse(T,N,F,t,y,this)};n.pausable=function(T,N,F,y){var x,O=n(T,N,function(){if(!x)return F.apply(this,arguments)},y);return O.pause=function(){x=!0},O.resume=function(){x=!1},O},n.once=function(T,N,F,y){var x=n(T,N,function(){return x.remove(),F.apply(this,arguments)});return x},n.parse=function(T,N,F,y,x,O){var L;if(N.call)return N.call(O,T,F);if(N instanceof Array?L=N:N.indexOf(",")>-1&&(L=N.split(/\s*,\s*/)),L){for(var W=[],j=0,H;H=L[j++];)W.push(n.parse(T,H,F,y,x,O));return W.remove=function(){for(var K=0;K<W.length;K++)W[K].remove()},W}return y(T,N,F,x,O)};var e=/^touch/;function t(T,N,F,y,x){var O=N.match(/(.*):(.*)/);if(O)return N=O[2],O=O[1],n.selector(O,N).call(x,T,F);if(p("touch")&&(e.test(N)&&(F=R(F)),!p("event-orientationchange")&&N=="orientationchange"&&(N="resize",T=window,F=R(F))),c&&(F=c(F)),T.addEventListener){var L=N in o,W=L?o[N]:N;return T.addEventListener(W,F,L),{remove:function(){T.removeEventListener(W,F,L)}}}if(N="on"+N,g&&T.attachEvent)return g(T,N,F);throw new Error("Target must be an event emitter")}n.matches=function(T,N,F,y,x){for(x=x&&typeof x.matches=="function"?x:A.query,y=y!==!1,T.nodeType!=1&&(T=T.parentNode);!x.matches(T,N,F);)if(T==F||y===!1||!(T=T.parentNode)||T.nodeType!=1)return!1;return T},n.selector=function(T,N,F){return function(y,x){var O=typeof T=="function"?{matches:T}:this,L=N.bubble;function W(j){return n.matches(j,T,y,F,O)}return L?n(y,L(W),x):n(y,N,function(j){var H=W(j.target);if(H)return j.selectorTarget=H,x.call(H,j)})}};function r(){this.cancelable=!1,this.defaultPrevented=!0}function i(){this.bubbles=!1}var s=[].slice,a=n.emit=function(T,N,F){var y=s.call(arguments,2),x="on"+N;if("parentNode"in T){var O=y[0]={};for(var L in F)O[L]=F[L];O.preventDefault=r,O.stopPropagation=i,O.target=T,O.type=N,F=O}do T[x]&&T[x].apply(T,y);while(F&&F.bubbles&&(T=T.parentNode));return F&&F.cancelable&&F},o=p("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!p("event-stopimmediatepropagation"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},c=function(T){return function(N){if(!N.immediatelyStopped)return N.stopImmediatePropagation=u,T.apply(this,arguments)}};if(p("dom-addeventlistener"))n.emit=function(T,N,F){if(T.dispatchEvent&&document.createEvent){var y=T.ownerDocument||document,x=y.createEvent("HTMLEvents");x.initEvent(N,!!F.bubbles,!!F.cancelable);for(var O in F)O in x||(x[O]=F[O]);return T.dispatchEvent(x)&&x}return a.apply(n,arguments)};else{n._fixEvent=function(T,N){if(!T){var F=N&&(N.ownerDocument||N.document||N).parentWindow||window;T=F.event}if(!T)return T;try{h&&T.type==h.type&&T.srcElement==h.target&&(T=h)}catch(x){}if(!T.target)switch(T.target=T.srcElement,T.currentTarget=N||T.srcElement,T.type=="mouseover"&&(T.relatedTarget=T.fromElement),T.type=="mouseout"&&(T.relatedTarget=T.toElement),T.stopPropagation||(T.stopPropagation=E,T.preventDefault=w),T.type){case"keypress":var y="charCode"in T?T.charCode:T.keyCode;y==10?(y=0,T.keyCode=13):y==13||y==27?y=0:y==3&&(y=99),T.charCode=y,m(T);break}return T};var h,v=function(T){this.handle=T};v.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var f=function(T){return function(N){N=n._fixEvent(N,this);var F=T.call(this,N);return N.modified&&(h||setTimeout(function(){h=null}),h=N),F}},g=function(T,N,F){if(F=f(F),((T.ownerDocument?T.ownerDocument.parentWindow:T.parentWindow||T.window||window)!=top||p("jscript")<5.8)&&!p("config-_allow_leaks")){typeof _dojoIEListeners_>"u"&&(_dojoIEListeners_=[]);var y=T[N];if(!y||!y.listeners){var x=y;y=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}"),y.listeners=[],T[N]=y,y.global=this,x&&y.listeners.push(_dojoIEListeners_.push(x)-1)}var O;return y.listeners.push(O=y.global._dojoIEListeners_.push(F)-1),new v(O)}return C.after(T,N,F,!0)},m=function(T){T.keyChar=T.charCode?String.fromCharCode(T.charCode):"",T.charOrCode=T.keyChar||T.keyCode},E=function(){this.cancelBubble=!0},w=n._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(T){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}if(p("touch"))var I=function(){},M=window.orientation,R=function(T){return function(N){var F=N.corrected;if(!F){var y=N.type;try{delete N.type}catch(W){}if(N.type){if(p("touch-can-modify-event-delegate"))I.prototype=N,F=new I;else{F={};for(var x in N)F[x]=N[x]}F.preventDefault=function(){N.preventDefault()},F.stopPropagation=function(){N.stopPropagation()}}else F=N,F.type=y;if(N.corrected=F,y=="resize")return M==window.orientation?null:(M=window.orientation,F.type="orientationchange",T.call(this,F));if("rotation"in F||(F.rotation=0,F.scale=1),window.TouchEvent&&N instanceof TouchEvent){var O=F.changedTouches[0];for(var L in O)delete F[L],F[L]=O[L]}}return T.call(this,F)}};return n},_,P),_.exports=S},67834:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.c(module),__webpack_require__(57987),__webpack_require__(69961),__webpack_require__(33659),__webpack_require__(69196),__webpack_require__(7835),__webpack_require__(69174),__webpack_require__(84035),__webpack_require__(76873),__webpack_require__(89780),__webpack_require__(58875),__webpack_require__(72904),__webpack_require__(80675),__webpack_require__(94168),__webpack_require__(11278),__webpack_require__(86560),__webpack_require__(63807)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(require,dojo,dlang,darray,config,dom,dwindow,_Url,aspect,all,dates,Deferred,has,json5,query,don,ready){var myEval;has("csp-restrictions")?myEval=json5.parse:myEval=function(text){return eval("("+text+")")};var extendCnt=0;aspect.after(dlang,"extend",function(){extendCnt++},!0);function getNameMap(_){var P=_._nameCaseMap,l=_.prototype;if(!P||P._extendCnt<extendCnt){P=_._nameCaseMap={};for(var b in l)b.charAt(0)!=="_"&&(P[b.toLowerCase()]=b);P._extendCnt=extendCnt}return P}function getCtor(_,P){P||(P=require);var l=P._dojoParserCtorMap||(P._dojoParserCtorMap={}),b=_.join();if(!l[b]){for(var S=[],C=0,A=_.length;C<A;C++){var p=_[C];S[S.length]=l[p]=l[p]||dlang.getObject(p)||~p.indexOf("/")&&P(p)}var d=S.shift();l[b]=S.length?d.createSubclass?d.createSubclass(S):d.extend.apply(d,S):d}return l[b]}var parser={_clearCache:function(){extendCnt++,_ctorMap={}},_functionFromScript:function(_,P){var l="",b="",S=_.getAttribute(P+"args")||_.getAttribute("args"),C=_.getAttribute("with"),A=(S||"").split(/\s*,\s*/);return C&&C.length&&darray.forEach(C.split(/\s*,\s*/),function(p){l+="with("+p+"){",b+="}"}),new Function(A,l+_.innerHTML+b)},instantiate:function(_,P,l){P=P||{},l=l||{};var b=(l.scope||dojo._scopeName)+"Type",S="data-"+(l.scope||dojo._scopeName)+"-",C=S+"type",A=S+"mixins",p=[];return darray.forEach(_,function(d){var n=b in P?P[b]:d.getAttribute(C)||d.getAttribute(b);if(n){var e=d.getAttribute(A),t=e?[n].concat(e.split(/\s*,\s*/)):[n];p.push({node:d,types:t})}}),this._instantiate(p,P,l)},_instantiate:function(_,P,l,b){var S=darray.map(_,function(A){var p=A.ctor||getCtor(A.types,l.contextRequire);if(!p)throw new Error("Unable to resolve constructor for: '"+A.types.join()+"'");return this.construct(p,A.node,P,l,A.scripts,A.inherited)},this);function C(A){return!P._started&&!l.noStart&&darray.forEach(A,function(p){typeof p.startup=="function"&&!p._started&&p.startup()}),A}return b?all(S).then(C):C(S)},construct:function(_,P,l,b,S,C){var A=_&&_.prototype;b=b||{};var p={};b.defaults&&dlang.mixin(p,b.defaults),C&&dlang.mixin(p,C);var d;if(has("dom-attributes-explicit"))d=P.attributes;else if(has("dom-attributes-specified-flag"))d=darray.filter(P.attributes,function($){return $.specified});else{var n=/^input$|^img$/i.test(P.nodeName)?P:P.cloneNode(!1),e=n.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");d=darray.map(e.split(/\s+/),function($){var V=$.toLowerCase();return{name:$,value:P.nodeName=="LI"&&$=="value"||V=="enctype"?P.getAttribute(V):P.getAttributeNode(V).value}})}var t=b.scope||dojo._scopeName,r="data-"+t+"-",i={};t!=="dojo"&&(i[r+"props"]="data-dojo-props",i[r+"type"]="data-dojo-type",i[r+"mixins"]="data-dojo-mixins",i[t+"type"]="dojotype",i[r+"id"]="data-dojo-id");for(var s=0,a,o=[],u,c;a=d[s++];){var h=a.name,v=h.toLowerCase(),f=a.value;switch(i[v]||v){case"data-dojo-type":case"dojotype":case"data-dojo-mixins":break;case"data-dojo-props":c=f;break;case"data-dojo-id":case"jsid":u=f;break;case"data-dojo-attach-point":case"dojoattachpoint":p.dojoAttachPoint=f;break;case"data-dojo-attach-event":case"dojoattachevent":p.dojoAttachEvent=f;break;case"class":p.class=P.className;break;case"style":p.style=P.style&&P.style.cssText;break;default:if(!(h in A)){var g=getNameMap(_);h=g[v]||h}if(h in A)switch(typeof A[h]){case"string":p[h]=f;break;case"number":p[h]=f.length?Number(f):NaN;break;case"boolean":p[h]=f.toLowerCase()!="false";break;case"function":f===""||f.search(/[^\w\.]+/i)!=-1?p[h]=new Function(f):p[h]=dlang.getObject(f,!1)||new Function(f),o.push(h);break;default:var m=A[h];try{p[h]=m&&"length"in m?f?f.split(/\s*,\s*/):[]:m instanceof Date?f==""?new Date(""):f=="now"?new Date:dates.fromISOString(f):m instanceof _Url?dojo.baseUrl+f:myEval(f)}catch($){console.error($)}}else p[h]=f}}for(var E=0;E<o.length;E++){var w=o[E].toLowerCase();P.removeAttribute(w),P[w]=null}if(c)try{c=myEval.call(b.propsThis,"{"+c+"}"),dlang.mixin(p,c)}catch($){throw new Error($.toString()+" in data-dojo-props='"+c+"'")}dlang.mixin(p,l),S||(S=_&&(_._noScript||A._noScript)?[]:query("> script[type^='dojo/']",P));var I=[],M=[],R=[],T=[];if(S)for(s=0;s<S.length;s++){var N=S[s];P.removeChild(N);var F=N.getAttribute(r+"event")||N.getAttribute("event"),y=N.getAttribute(r+"prop"),x=N.getAttribute(r+"method"),O=N.getAttribute(r+"advice"),L=N.getAttribute("type"),W=this._functionFromScript(N,r);F?L=="dojo/connect"?I.push({method:F,func:W}):L=="dojo/on"?T.push({event:F,func:W}):p[F]=W:L=="dojo/aspect"?I.push({method:x,advice:O,func:W}):L=="dojo/watch"?R.push({prop:y,func:W}):M.push(W)}var j=_.markupFactory||A.markupFactory,H=j?j(p,P,_):new _(p,P);function K($){for(u&&dlang.setObject(u,$),s=0;s<I.length;s++)aspect[I[s].advice||"after"]($,I[s].method,dlang.hitch($,I[s].func),!0);for(s=0;s<M.length;s++)M[s].call($);for(s=0;s<R.length;s++)$.watch(R[s].prop,R[s].func);for(s=0;s<T.length;s++)don($,T[s].event,T[s].func);return $}return H.then?H.then(K):K(H)},scan:function(_,P){var l=[],b=[],S={},C=(P.scope||dojo._scopeName)+"Type",A="data-"+(P.scope||dojo._scopeName)+"-",p=A+"type",d=A+"textdir",n=A+"mixins",e=_.firstChild,t=P.inherited;if(!t){var r=function M(R,T){return R.getAttribute&&R.getAttribute(T)||R.parentNode&&M(R.parentNode,T)};t={dir:r(_,"dir"),lang:r(_,"lang"),textDir:r(_,d)};for(var i in t)t[i]||delete t[i]}var s={inherited:t},a,o;function u(M){if(!M.inherited){M.inherited={};var R=M.node,T=u(M.parent),N={dir:R.getAttribute("dir")||T.dir,lang:R.getAttribute("lang")||T.lang,textDir:R.getAttribute(d)||T.textDir};for(var F in N)N[F]&&(M.inherited[F]=N[F])}return M.inherited}for(;;){if(!e){if(!s||!s.node)break;e=s.node.nextSibling,o=!1,s=s.parent,a=s.scripts;continue}if(e.nodeType!=1){e=e.nextSibling;continue}if(a&&e.nodeName.toLowerCase()=="script"){c=e.getAttribute("type"),c&&/^dojo\/\w/i.test(c)&&a.push(e),e=e.nextSibling;continue}if(o){e=e.nextSibling;continue}var c=e.getAttribute(p)||e.getAttribute(C),h=e.firstChild;if(!c&&(!h||h.nodeType==3&&!h.nextSibling)){e=e.nextSibling;continue}var v,f=null;if(c){var g=e.getAttribute(n),m=g?[c].concat(g.split(/\s*,\s*/)):[c];try{f=getCtor(m,P.contextRequire)}catch(M){}f||darray.forEach(m,function(M){~M.indexOf("/")&&!S[M]&&(S[M]=!0,b[b.length]=M)});var E=f&&!f.prototype._noScript?[]:null;v={types:m,ctor:f,parent:s,node:e,scripts:E},v.inherited=u(v),l.push(v)}else v={node:e,scripts:a,parent:s};a=E,o=e.stopParser||f&&f.prototype.stopParser&&!P.template,s=v,e=h}var w=new Deferred;if(b.length){has("dojo-debug-messages")&&console.warn("WARNING: Modules being Auto-Required: "+b.join(", "));var I=P.contextRequire||require;I(b,function(){w.resolve(darray.filter(l,function(M){if(!M.ctor)try{M.ctor=getCtor(M.types,P.contextRequire)}catch(N){}for(var R=M.parent;R&&!R.types;)R=R.parent;var T=M.ctor&&M.ctor.prototype;return M.instantiateChildren=!(T&&T.stopParser&&!P.template),M.instantiate=!R||R.instantiate&&R.instantiateChildren,M.instantiate}))})}else w.resolve(l);return w.promise},_require:function(_,P){var l=myEval("{"+_.innerHTML+"}"),b=[],S=[],C=new Deferred,A=P&&P.contextRequire||require;for(var p in l)b.push(p),S.push(l[p]);return A(S,function(){for(var d=0;d<b.length;d++)dlang.setObject(b[d],arguments[d]);C.resolve(arguments)}),C.promise},_scanAmd:function(_,P){var l=new Deferred,b=l.promise;l.resolve(!0);var S=this;return query("script[type='dojo/require']",_).forEach(function(C){b=b.then(function(){return S._require(C,P)}),C.parentNode.removeChild(C)}),b},parse:function(_,P){_&&typeof _!="string"&&!("nodeType"in _)&&(P=_,_=P.rootNode);var l=_?dom.byId(_):dwindow.body();P=P||{};var b=P.template?{template:!0}:{},S=[],C=this,A=this._scanAmd(l,P).then(function(){return C.scan(l,P)}).then(function(p){return C._instantiate(p,b,P,!0)}).then(function(p){return S=S.concat(p)}).otherwise(function(p){throw console.error("dojo/parser::parse() error",p),p});return dlang.mixin(S,A),S}};return has("extend-dojo")&&(dojo.parser=parser),config.parseOnLoad&&ready(100,parser,"parse"),parser},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},27420:(_,P,l)=>{var b,S;b=[l(69961)],S=l.dj.d(b,function(C){"use strict";function A(){throw new TypeError("abstract")}return C.extend(function(){},{then:function(p,d,n){A()},cancel:function(p,d){A()},isResolved:function(){A()},isRejected:function(){A()},isFulfilled:function(){A()},isCanceled:function(){A()},finally:function(p){return this.then(function(d){var n=p();return n&&typeof n.then=="function"?n.then(function(){return d}):d},function(d){var n=p();if(n&&typeof n.then=="function")return n.then(function(){throw d});throw d})},always:function(p){return this.then(p,p)},catch:function(p){return this.then(null,p)},otherwise:function(p){return this.then(null,p)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})},_,P),_.exports=S},89780:(_,P,l)=>{var b,S;b=[l(33659),l(69961),l(72904),l(27754)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n=C.some;return function(t){var r,i;A.isArray(t)?i=t:t&&typeof t=="object"&&(r=t);var s,a=[];if(r){i=[];for(var o in r)Object.hasOwnProperty.call(r,o)&&(a.push(o),i.push(r[o]));s={}}else i&&(s=[]);if(!i||!i.length)return new p().resolve(s);var u=new p;u.promise.always(function(){s=a=null});var c=i.length;return n(i,function(h,v){return r||a.push(v),d(h,function(f){u.isFulfilled()||(s[a[v]]=f,--c===0&&u.resolve(s))},u.reject),u.isFulfilled()}),u.promise}},_,P),_.exports=S},11278:(_,P,l)=>{var b,S;b=[l(57987),l(80675),l(7835),l(86560),l(33659),l(69961),l(86608),l(31125)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){"use strict";A.add("array-extensible",function(){return e.delegate([],{length:1}).length==1&&!A("bug-for-in-skips-shadowed")});var i=Array.prototype,s=i.slice,a=i.concat,o=n.forEach,u=function(R,T,N){var F=new(N||this._NodeListCtor||E)(R);return T?F._stash(T):F},c=function(R,T,N){return T=[0].concat(s.call(T,0)),N=N||C.global,function(F){return T[0]=F,R.apply(N,T)}},h=function(R,T){return function(){return this.forEach(c(R,arguments,T)),this}},v=function(R,T){return function(){return this.map(c(R,arguments,T))}},f=function(R,T){return function(){return this.filter(c(R,arguments,T))}},g=function(R,T,N){return function(){var F=arguments,y=c(R,F,N);return T.call(N||C.global,F)?this.map(y):(this.forEach(y),this)}},m=function(R){var T=this instanceof E&&A("array-extensible");typeof R=="number"&&(R=Array(R));var N=R&&"length"in R?R:arguments;if(T||!N.sort){for(var F=T?this:[],y=F.length=N.length,x=0;x<y;x++)F[x]=N[x];if(T)return F;N=F}return e._mixin(N,w),N._NodeListCtor=function(O){return E(O)},N},E=m,w=E.prototype=A("array-extensible")?[]:{};E._wrap=w._wrap=u,E._adaptAsMap=v,E._adaptAsForEach=h,E._adaptAsFilter=f,E._adaptWithCondition=g,o(["slice","splice"],function(R){var T=i[R];w[R]=function(){return this._wrap(T.apply(this,arguments),R=="slice"?this:null)}}),o(["indexOf","lastIndexOf","every","some"],function(R){var T=n[R];w[R]=function(){return T.apply(C,[this].concat(s.call(arguments,0)))}}),e.extend(m,{constructor:E,_NodeListCtor:E,toString:function(){return this.join(",")},_stash:function(R){return this._parent=R,this},on:function(R,T){var N=this.map(function(F){return d(F,R,T)});return N.remove=function(){for(var F=0;F<N.length;F++)N[F].remove()},N},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(R){var T=s.call(this,0),N=n.map(arguments,function(F){return s.call(F,0)});return this._wrap(a.apply(T,N),this)},map:function(R,T){return this._wrap(n.map(this,R,T),this)},forEach:function(R,T){return o(this,R,T),this},filter:function(R){var T=arguments,N=this,F=0;if(typeof R=="string"){if(N=M._filterResult(this,T[0]),T.length==1)return N._stash(this);F=1}return this._wrap(n.filter(N,T[F],T[F+1]),this)},instantiate:function(R,T){var N=e.isFunction(R)?R:e.getObject(R);return T=T||{},this.forEach(function(F){new N(T,F)})},at:function(){var R=new this._NodeListCtor(0);return o(arguments,function(T){T<0&&(T=this.length+T),this[T]&&R.push(this[T])},this),R._stash(this)}});function I(R,T){var N=function(y,x){if(typeof x=="string"&&(x=p.byId(x),!x))return new T([]);var O=typeof y=="string"?R(y,x):y?y.end&&y.on?y:[y]:[];return O.end&&O.on?O:new T(O)};if(N.matches=R.match||function(y,x,O){return N.filter([y],x,O).length>0},N.filter=R.filter||function(y,x,O){return N(x,O).filter(function(L){return n.indexOf(y,L)>-1})},typeof R!="function"){var F=R.search;R=function(y,x){return F(x||document,y)}}return N}var M=I(r,m);return C.query=I(r,function(R){return m(R)}),M.load=function(R,T,N){t.load(R,T,function(F){N(I(F,m))})},C._filterQueryResult=M._filterResult=function(R,T,N){return new m(M.filter(R,T,N))},C.NodeList=M.NodeList=m,M},_,P),_.exports=S},63807:(_,P,l)=>{var b,S;b=[l(57987),l(80675),l.dj.c(_),l(2799),l(69961)],S=l.dj.d(b,function(C,A,p,d,n){var e=0,t=[],r=0,i=function(){e=1,C._postLoad=C.config.afterOnLoad=!0,s()},s=function(){if(!r){for(r=1;e&&(!d||d._Q.length==0)&&(!p.idle||p.idle())&&t.length;){var u=t.shift();try{u()}catch(c){if(c.info=c.message,p.signal)p.signal("error",c);else throw c}}r=0}};p.on&&p.on("idle",s),d&&(d._onQEmpty=s);var a=C.ready=C.addOnLoad=function(u,c,h){var v=n._toArray(arguments);typeof u!="number"?(h=c,c=u,u=1e3):v.shift(),h=h?n.hitch.apply(C,v):function(){c()},h.priority=u;for(var f=0;f<t.length&&u>=t[f].priority;f++);t.splice(f,0,h),s()};if(A.add("dojo-config-addOnLoad",1),A("dojo-config-addOnLoad")){var o=C.config.addOnLoad;o&&a[n.isArray(o)?"apply":"call"](C,o)}return A("dojo-sync-loader")&&C.config.parseOnLoad&&!C.isAsync&&a(99,function(){C.parser||(C.deprecated("Add explicit require(['dojo/parser']);","","2.0"),Promise.resolve().then(function(){l(67834)}).catch(l.oe))}),d?d(i):i(),a},_,P),_.exports=S},89923:(_,P,l)=>{var b,S;b=[l(57987),l(69961)],S=l.dj.d(b,function(C,A){var p={};return A.setObject("dojo.regexp",p),p.escapeString=function(d,n){return d.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(e){return n&&n.indexOf(e)!=-1?e:"\\"+e})},p.buildGroupRE=function(d,n,e){if(!(d instanceof Array))return n(d);for(var t=[],r=0;r<d.length;r++)t.push(n(d[r]));return p.group(t.join("|"),e)},p.group=function(d,n){return"("+(n?"?:":"")+d+")"},p},_,P),_.exports=S},62215:(_,P,l)=>{var b,S;b=[l(13879)],S=l.dj.d(b,function(C){return C},_,P),_.exports=S},53408:(_,P,l)=>{var b,S;b=[l(685),l(57987),l(33659),l(80675),l(55701)],S=l.dj.d(b,function(C,A,p,d){d.add("activex",typeof ActiveXObject<"u"),d.add("dom-parser",function(a){return"DOMParser"in a});var n;if(d("activex")){var e=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],t;n=function(a){var o=a.data,u=a.text;o&&d("dom-qsa2.1")&&!o.querySelectorAll&&d("dom-parser")&&(o=new DOMParser().parseFromString(u,"application/xml"));function c(h){try{var v=new ActiveXObject(h);v.async=!1,v.loadXML(u),o=v,t=h}catch(f){return!1}return!0}return(!o||!o.documentElement)&&(!t||!c(t))&&p.some(e,c),o}}var r=function(a){return!d("native-xhr2-blob")&&a.options.handleAs==="blob"&&typeof Blob<"u"?new Blob([a.xhr.response],{type:a.xhr.getResponseHeader("Content-Type")}):a.xhr.response},i={javascript:function(a){return A.eval(a.text||"")},json:function(a){return C.parse(a.text||null)},xml:n,blob:r,arraybuffer:r,document:r};function s(a){var o=i[a.options.handleAs];return a.data=o?o(a):a.data||a.text,a}return s.register=function(a,o){i[a]=o},s},_,P),_.exports=S},43793:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.m(module),__webpack_require__(3513),__webpack_require__(61061),__webpack_require__(57987),__webpack_require__(33659),__webpack_require__(69961),__webpack_require__(86560),__webpack_require__(7835),__webpack_require__(92087),__webpack_require__(80675),__webpack_require__(69174)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(module,watch,util,kernel,array,lang,on,dom,domConstruct,has,win){has.add("script-readystatechange",function(_,P){var l=P.createElement("script");return typeof l.onreadystatechange<"u"&&(typeof _.opera>"u"||_.opera.toString()!=="[object Opera]")});var mid=module.id.replace(/[\/\.\-]/g,"_"),counter=0,loadEvent=has("script-readystatechange")?"readystatechange":"load",readyRegExp=/complete|loaded/,callbacks=kernel.global[mid+"_callbacks"]={},deadScripts=[];function attach(_,P,l,b){var S=l||win.doc,C=S.createElement("script");b&&on.once(C,"error",b),C.type="text/javascript";try{C.src=P}catch(A){b&&b(C)}return C.id=_,C.async=!0,C.charset="utf-8",S.getElementsByTagName("head")[0].appendChild(C)}function remove(_,P,l){domConstruct.destroy(dom.byId(_,P)),callbacks[_]&&(l?callbacks[_]=function(){delete callbacks[_]}:delete callbacks[_])}function _addDeadScript(_){var P=_.response.options,l=P.ioArgs?P.ioArgs.frameDoc:P.frameDoc;deadScripts.push({id:_.id,frameDoc:l}),P.ioArgs&&(P.ioArgs.frameDoc=null),P.frameDoc=null}function canceler(_,P){_.canDelete&&script._remove(_.id,P.options.frameDoc,!0)}function isValid(_){return deadScripts&&deadScripts.length&&(array.forEach(deadScripts,function(P){script._remove(P.id,P.frameDoc),P.frameDoc=null}),deadScripts=[]),_.options.jsonp?!_.data:!0}function isReadyScript(_){return!!this.scriptLoaded}function isReadyCheckString(response){var checkString=response.options.checkString;return checkString&&eval("typeof("+checkString+') !== "undefined"')}function handleResponse(_,P){this.canDelete&&_addDeadScript(this),P?this.reject(P):this.resolve(_)}function script(_,P,l){var b=util.parseArgs(_,util.deepCopy({},P));_=b.url,P=b.options;var S=util.deferred(b,canceler,isValid,P.jsonp?null:P.checkString?isReadyCheckString:isReadyScript,handleResponse);if(lang.mixin(S,{id:mid+counter++,canDelete:!1}),P.jsonp){var C=new RegExp("[?&]"+P.jsonp+"=");C.test(_)||(_+=(~_.indexOf("?")?"&":"?")+P.jsonp+"="+(P.frameDoc?"parent.":"")+mid+"_callbacks."+S.id),S.canDelete=!0,callbacks[S.id]=function(d){b.data=d,S.handleResponse(b)}}if(util.notify&&util.notify.emit("send",b,S.promise.cancel),!P.canAttach||P.canAttach(S)){var A=script._attach(S.id,_,P.frameDoc,function(d){if(!(d instanceof Error)){var n=new Error("Error loading "+(d.target?d.target.src:"script"));n.source=d,d=n}S.reject(d),script._remove(S.id,P.frameDoc,!0)});if(!P.jsonp&&!P.checkString)var p=on(A,loadEvent,function(d){(d.type==="load"||readyRegExp.test(A.readyState))&&(p.remove(),S.scriptLoaded=d)})}return watch(S),l?S:S.promise}return script.get=script,script._attach=attach,script._remove=remove,script._callbacksProperty=mid+"_callbacks",script},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},61061:(_,P,l)=>{var b,S;b=[P,l(41972),l(30673),l(72904),l(42372),l(33659),l(69961),l(27420),l(80675)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){function s(g){return i("native-arraybuffer")&&g instanceof ArrayBuffer}function a(g){return i("native-blob")&&g instanceof Blob}function o(g){return typeof Element<"u"?g instanceof Element:g.nodeType===1}function u(g){return i("native-formdata")&&g instanceof FormData}function c(g){return g&&typeof g=="object"&&!u(g)&&!o(g)&&!a(g)&&!s(g)}C.deepCopy=function(g,m){for(var E in m){var w=g[E],I=m[E];E!=="__proto__"&&w!==I&&(c(I)?Object.prototype.toString.call(I)==="[object Date]"?g[E]=new Date(I):t.isArray(I)?g[E]=C.deepCopyArray(I):w&&typeof w=="object"?C.deepCopy(w,I):g[E]=C.deepCopy({},I):g[E]=I)}return g},C.deepCopyArray=function(g){for(var m=[],E=0,w=g.length;E<w;E++){var I=g[E];typeof I=="object"?m.push(C.deepCopy({},I)):m.push(I)}return m},C.deepCreate=function(m,E){E=E||{};var w=t.delegate(m),I,M;for(I in m)M=m[I],M&&typeof M=="object"&&(w[I]=C.deepCreate(M,E[I]));return C.deepCopy(w,E)};var h=Object.freeze||function(g){return g};function v(g){return h(g)}function f(g){return g.data!==void 0?g.data:g.text}C.deferred=function(m,E,w,I,M,R){var T=new d(function(L){return E&&E(T,m),!L||!(L instanceof A)&&!(L instanceof p)?new p("Request canceled",m):L});T.response=m,T.isValid=w,T.isReady=I,T.handleResponse=M;function N(L){throw L.response=m,L}var F=T.then(v).otherwise(N);C.notify&&F.then(t.hitch(C.notify,"emit","load"),t.hitch(C.notify,"emit","error"));var y=F.then(f),x=new r;for(var O in y)y.hasOwnProperty(O)&&(x[O]=y[O]);return x.response=F,h(x),R&&T.then(function(L){R.call(T,L)},function(L){R.call(T,m,L)}),T.promise=x,T.then=x.then,T},C.addCommonMethods=function(m,E){e.forEach(E||["GET","POST","PUT","DELETE"],function(w){m[(w==="DELETE"?"DEL":w).toLowerCase()]=function(I,M){return M=t.delegate(M||{}),M.method=w,m(I,M)}})},C.parseArgs=function(m,E,w){var I=E.data,M=E.query;return I&&!w&&typeof I=="object"&&(!i("native-xhr2")||!(s(I)||a(I)))&&(E.data=n.objectToQuery(I)),M?(typeof M=="object"&&(M=n.objectToQuery(M)),E.preventCache&&(M+=(M?"&":"")+"request.preventCache="+ +new Date)):E.preventCache&&(M="request.preventCache="+ +new Date),m&&M&&(m+=(~m.indexOf("?")?"&":"?")+M),{url:m,options:E,getHeader:function(R){return null}}},C.checkStatus=function(g){return g=g||0,g>=200&&g<300||g===304||g===1223||!g}},_,P),_.exports=S},3513:(_,P,l)=>{var b,S;b=[l(61061),l(7982),l(30673),l(33659),l(69174),l.dj.h("dom-addeventlistener?:86560")],S=l.dj.d(b,function(C,A,p,d,n,e){var t=null,r=[];function i(){for(var a=+new Date,o=0,u;o<r.length&&(u=r[o]);o++){var c=u.response,h=c.options;u.isCanceled&&u.isCanceled()||u.isValid&&!u.isValid(c)?(r.splice(o--,1),s._onAction&&s._onAction()):u.isReady&&u.isReady(c)?(r.splice(o--,1),u.handleResponse(c),s._onAction&&s._onAction()):u.startTime&&u.startTime+(h.timeout||0)<a&&(r.splice(o--,1),u.cancel(new A("Timeout exceeded",c)),s._onAction&&s._onAction())}s._onInFlight&&s._onInFlight(u),r.length||(clearInterval(t),t=null)}function s(a){a.response.options.timeout&&(a.startTime=+new Date),!a.isFulfilled()&&(r.push(a),t||(t=setInterval(i,50)),a.response.options.sync&&i())}return s.cancelAll=function(){try{d.forEach(r,function(o){try{o.cancel(new p("All requests canceled."))}catch(u){}})}catch(o){}},n&&e&&n.doc.attachEvent&&e(n.global,"unload",function(){s.cancelAll()}),s},_,P),_.exports=S},13879:(_,P,l)=>{var b,S;b=[l(41972),l(3513),l(53408),l(61061),l(80675)],S=l.dj.d(b,function(C,A,p,d,n){n.add("native-xhr",function(){return typeof XMLHttpRequest<"u"}),n.add("dojo-force-activex-xhr",function(){return n("activex")&&window.location.protocol==="file:"}),n.add("native-xhr2",function(){if(!(!n("native-xhr")||n("dojo-force-activex-xhr"))){var v=new XMLHttpRequest;return typeof v.addEventListener<"u"&&(typeof opera>"u"||typeof v.upload<"u")}}),n.add("native-formdata",function(){return typeof FormData<"u"}),n.add("native-blob",function(){return typeof Blob<"u"}),n.add("native-arraybuffer",function(){return typeof ArrayBuffer<"u"}),n.add("native-response-type",function(){return n("native-xhr")&&typeof new XMLHttpRequest().responseType<"u"}),n.add("native-xhr2-blob",function(){if(n("native-response-type"))return!0});var e={blob:n("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function t(v,f){var g=v.xhr;v.status=v.xhr.status;try{v.text=g.responseText}catch(E){}v.options.handleAs==="xml"&&(v.data=g.responseXML);var m;if(f)this.reject(f);else{try{p(v)}catch(E){m=E}d.checkStatus(g.status)?m?this.reject(m):this.resolve(v):m?(f=new C("Unable to load "+v.url+" status: "+g.status+" and an error in handleAs: transformation of response",v),this.reject(f)):(f=new C("Unable to load "+v.url+" status: "+g.status,v),this.reject(f))}}var r,i,s,a;n("native-xhr2")?(r=function(v){return!this.isFulfilled()},a=function(v,f){f.xhr.abort()},s=function(v,f,g,m){function E(T){f.handleResponse(g)}function w(T){var N=T.target,F=new C("Unable to load "+g.url+" status: "+N.status,g);f.handleResponse(g,F)}function I(T,N){g.transferType=T,N.lengthComputable?(g.loaded=N.loaded,g.total=N.total,f.progress(g)):g.xhr.readyState===3&&(g.loaded="loaded"in N?N.loaded:N.position,f.progress(g))}function M(T){return I("download",T)}function R(T){return I("upload",T)}return v.addEventListener("load",E,!1),v.addEventListener("error",w,!1),v.addEventListener("progress",M,!1),m&&v.upload&&v.upload.addEventListener("progress",R,!1),function(){v.removeEventListener("load",E,!1),v.removeEventListener("error",w,!1),v.removeEventListener("progress",M,!1),v.upload.removeEventListener("progress",R,!1),v=null}}):(r=function(v){return v.xhr.readyState},i=function(v){return v.xhr.readyState===4},a=function(v,f){var g=f.xhr,m=typeof g.abort;(m==="function"||m==="object"||m==="unknown")&&g.abort()});function o(v){return this.xhr.getResponseHeader(v)}var u,c={data:null,query:null,sync:!1,method:"GET"};function h(v,f,g){var m=n("native-formdata")&&f&&f.data&&f.data instanceof FormData,E=d.parseArgs(v,d.deepCreate(c,f),m);v=E.url,f=E.options;var w=!f.data&&f.method!=="POST"&&f.method!=="PUT";n("ie")<=10&&(v=v.split("#")[0]);var I,M=function(){I&&I()},R=d.deferred(E,a,r,i,t,M),T=E.xhr=h._create();if(!T)return R.cancel(new C("XHR was not created")),g?R:R.promise;E.getHeader=o,s&&(I=s(T,R,E,f.uploadProgress));var N=typeof f.data>"u"?null:f.data,F=!f.sync,y=f.method;try{T.open(y,v,F,f.user||u,f.password||u),f.withCredentials&&(T.withCredentials=f.withCredentials),n("native-response-type")&&f.handleAs in e&&(T.responseType=e[f.handleAs]);var x=f.headers,O=m||w?!1:"application/x-www-form-urlencoded";if(x)for(var L in x)L.toLowerCase()==="content-type"?O=x[L]:x[L]&&T.setRequestHeader(L,x[L]);O&&O!==!1&&T.setRequestHeader("Content-Type",O),(!x||!("X-Requested-With"in x))&&T.setRequestHeader("X-Requested-With","XMLHttpRequest"),d.notify&&d.notify.emit("send",E,R.promise.cancel),T.send(N)}catch(W){R.reject(W)}return A(R),T=null,g?R:R.promise}if(h._create=function(){throw new Error("XMLHTTP not available")},n("native-xhr")&&!n("dojo-force-activex-xhr"))h._create=function(){return new XMLHttpRequest};else if(n("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),h._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(v){try{new ActiveXObject("Microsoft.XMLHTTP"),h._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(f){}}return d.addCommonMethods(h),h},_,P),_.exports=S},86608:(_,P,l)=>{var b,S;b=[l(80675),l.dj.c(_)],S=l.dj.d(b,function(C,A){"use strict";if(typeof document<"u"){var p=document.createElement("div");C.add("dom-qsa2.1",!!p.querySelectorAll),C.add("dom-qsa3",function(){try{return p.innerHTML="<p class='TEST'></p>",p.querySelectorAll(".TEST:empty").length==1}catch(t){}})}var d,n="./acme",e="./lite";return{load:function(t,r,i,s){if(s&&s.isBuild){i();return}var a=A;if(t=t=="default"?C("config-selectorEngine")||"css3":t,t=t=="css2"||t=="lite"?e:t=="css2.1"?C("dom-qsa2.1")?e:n:t=="css3"?C("dom-qsa3")?e:n:t=="acme"?n:(a=r)&&t,t.charAt(t.length-1)=="?"){t=t.substring(0,t.length-1);var o=!0}if(o&&(C("dom-compliant-qsa")||d))return i(d);a([t],function(u){t!="./lite"&&(d=u),i(u)})}}},_,P),_.exports=S},31125:(_,P,l)=>{var b,S;b=[l(80675),l(57987)],S=l.dj.d(b,function(C,A){"use strict";var p=document.createElement("div"),d=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector,n=p.querySelectorAll,e=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;C.add("dom-matches-selector",!!d),C.add("dom-qsa",!!n);var t=function(a,o){if(s&&a.indexOf(",")>-1)return s(a,o);var u=o?o.ownerDocument||o:A.doc||document,c=(n?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(a);if(o=o||u,c){var h=C("ie")===8&&C("quirks")?o.nodeType===u.nodeType:o.parentNode!==null&&o.nodeType!==9&&o.parentNode===u;if(c[2]&&h){var f=A.byId?A.byId(c[2],u):u.getElementById(c[2]);if(!f||c[1]&&c[1]!=f.tagName.toLowerCase())return[];if(o!=u){for(var v=f;v!=o;)if(v=v.parentNode,!v)return[]}return c[3]?t(c[3],f):[f]}if(c[3]&&o.getElementsByClassName)return o.getElementsByClassName(c[4]);var f;if(c[5])if(f=o.getElementsByTagName(c[5]),c[4]||c[6])a=(c[4]||"")+c[6];else return f}if(n)return o.nodeType===1&&o.nodeName.toLowerCase()!=="object"?r(o,a,o.querySelectorAll):o.querySelectorAll(a);f||(f=o.getElementsByTagName("*"));for(var g=[],m=0,E=f.length;m<E;m++){var w=f[m];w.nodeType==1&&i(w,a,o)&&g.push(w)}return g},r=function(a,o,u){var c=a,h=a.getAttribute("id"),v=h||"__dojo__",f=a.parentNode,g=/^\s*[+~]/.test(o);if(g&&!f)return[];h?v=v.replace(/'/g,"\\$&"):a.setAttribute("id",v),g&&f&&(a=a.parentNode);for(var m=o.match(e),E=0;E<m.length;E++)m[E]="[id='"+v+"'] "+m[E];o=m.join(",");try{return u.call(a,o)}finally{h||c.removeAttribute("id")}};if(!C("dom-matches-selector"))var i=function(){var a=p.tagName=="div"?"toLowerCase":"toUpperCase",o={"":function(m){return m=m[a](),function(E){return E.tagName==m}},".":function(m){var E=" "+m+" ";return function(w){return w.className.indexOf(m)>-1&&(" "+w.className+" ").indexOf(E)>-1}},"#":function(m){return function(E){return E.id==m}}},u={"^=":function(m,E){return m.indexOf(E)==0},"*=":function(m,E){return m.indexOf(E)>-1},"$=":function(m,E){return m.substring(m.length-E.length,m.length)==E},"~=":function(m,E){return(" "+m+" ").indexOf(" "+E+" ")>-1},"|=":function(m,E){return(m+"-").indexOf(E+"-")==0},"=":function(m,E){return m==E},"":function(m,E){return!0}};function c(m,E,w){var I=E.charAt(0);(I=='"'||I=="'")&&(E=E.slice(1,-1)),E=E.replace(/\\/g,"");var M=u[w||""];return function(R){var T=R.getAttribute(m);return T&&M(T,E)}}function h(m){return function(E,w){for(;(E=E.parentNode)!=w;)if(m(E,w))return!0}}function v(m){return function(E,w){return E=E.parentNode,m?E!=w&&m(E,w):E==w}}var f={};function g(m,E){return m?function(w,I){return E(w)&&m(w,I)}:E}return function(m,E,w){var I=f[E];if(!I){if(E.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(M,R,T,N,F,y,x){return N?I=g(I,o[T||""](N.replace(/\\/g,""))):R?I=(R==" "?h:v)(I):F&&(I=g(I,c(F,x,y))),""}))throw new Error("Syntax error in query");if(!I)return!0;f[E]=I}return I(m,w)}}();if(!C("dom-qsa"))var s=function(a,o){for(var u=a.match(e),c=[],h=0;h<u.length;h++){a=new String(u[h].replace(/\s*$/,"")),a.indexOf=escape;for(var v=t(a,o),f=0,g=v.length;f<g;f++){var m=v[f];c[m.sourceIndex]=m}}var E=[];for(h in c)E.push(c[h]);return E};return t.match=d?function(a,o,u){return u&&u.nodeType!=9?r(u,o,function(c){return d.call(a,c)}):d.call(a,o)}:i,t},_,P),_.exports=S},23702:(_,P,l)=>{var b,S;b=[l(80675)],S=l.dj.d(b,function(C){if(C("host-browser")){var A=navigator,p=A.userAgent,d=A.appVersion,n=parseFloat(d);if(C.add("air",p.indexOf("AdobeAIR")>=0),C.add("wp",parseFloat(p.split("Windows Phone")[1])||void 0),C.add("msapp",parseFloat(p.split("MSAppHost/")[1])||void 0),C.add("khtml",d.indexOf("Konqueror")>=0?n:void 0),C.add("edge",parseFloat(p.split("Edge/")[1])||void 0),C.add("opr",parseFloat(p.split("OPR/")[1])||void 0),C.add("webkit",!C("wp")&&!C("edge")&&parseFloat(p.split("WebKit/")[1])||void 0),C.add("chrome",!C("edge")&&!C("opr")&&parseFloat(p.split("Chrome/")[1])||void 0),C.add("android",!C("wp")&&parseFloat(p.split("Android ")[1])||void 0),C.add("safari",d.indexOf("Safari")>=0&&!C("wp")&&!C("chrome")&&!C("android")&&!C("edge")&&!C("opr")?parseFloat(d.split("Version/")[1]):void 0),C.add("mac",d.indexOf("Macintosh")>=0),C.add("quirks",document.compatMode=="BackCompat"),!C("wp")&&p.match(/(iPhone|iPod|iPad)/)){var e=RegExp.$1.replace(/P/,"p"),t=p.match(/OS ([\d_]+)/)?RegExp.$1:"1",r=parseFloat(t.replace(/_/,".").replace(/_/g,""));C.add(e,r),C.add("ios",r)}if(C.add("bb",(p.indexOf("BlackBerry")>=0||p.indexOf("BB10")>=0)&&parseFloat(p.split("Version/")[1])||void 0),C.add("trident",parseFloat(d.split("Trident/")[1])||void 0),C.add("svg",typeof SVGAngle<"u"),!C("webkit")){if(p.indexOf("Opera")>=0&&C.add("opera",n>=9.8&&parseFloat(p.split("Version/")[1])||n),p.indexOf("Gecko")>=0&&!C("wp")&&!C("khtml")&&!C("trident")&&!C("edge")&&C.add("mozilla",n),C("mozilla")&&C.add("ff",parseFloat(p.split("Firefox/")[1]||p.split("Minefield/")[1])||void 0),document.all&&!C("opera")){var i=parseFloat(d.split("MSIE ")[1])||void 0,s=document.documentMode;s&&s!=5&&Math.floor(i)!=s&&(i=s),C.add("ie",i)}C.add("wii",typeof opera<"u"&&opera.wiiremote)}}return C},_,P),_.exports=S},44739:(_,P,l)=>{var b,S;b=[l(74786),l(58599),l(21033)],S=l.dj.d(b,function(C,A,p){var d=null;return C("dojo.store.Memory",d,{constructor:function(n){for(var e in n)this[e]=n[e];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:p,get:function(n){return this.data[this.index[n]]},getIdentity:function(n){return n[this.idProperty]},put:function(n,e){var t=this.data,r=this.index,i=this.idProperty,s=n[i]=e&&"id"in e?e.id:i in n?n[i]:Math.random(),a=t.length,o,u,c=s in r?"update":"add";if(c==="update"){if(e&&e.overwrite===!1)throw new Error("Object already exists");u=r[s],a=u}return e&&"before"in e?e.before==null?(o=t.length,c==="update"&&--o):(o=r[this.getIdentity(e.before)],u<o&&--o):o=a,o===u?t[o]=n:(u!==void 0&&t.splice(u,1),t.splice(o,0,n),this._rebuildIndex(u===void 0?o:Math.min(u,o))),s},add:function(n,e){return(e=e||{}).overwrite=!1,this.put(n,e)},remove:function(n){var e=this.index,t=this.data;if(n in e)return t.splice(e[n],1),this.index={},this._rebuildIndex(),!0},query:function(n,e){return A(this.queryEngine(n,e)(this.data))},setData:function(n){n.items?(this.idProperty=n.identifier||this.idProperty,n=this.data=n.items):this.data=n,this.index={},this._rebuildIndex()},_rebuildIndex:function(n){var e=this.data,t=e.length,r;for(n=n||0,r=n;r<t;r++)this.index[e[r][this.idProperty]]=r}})},_,P),_.exports=S},58599:(_,P,l)=>{var b,S;b=[l(33659),l(69961),l(27754)],S=l.dj.d(b,function(C,A,p){var d=function(n){if(!n)return n;var e=!!n.then;e&&(n=A.delegate(n));function t(r){n[r]=function(){var i=arguments,s=p(n,function(a){return Array.prototype.unshift.call(i,a),d(C[r].apply(C,i))});if(r!=="forEach"||e)return s}}return t("forEach"),t("filter"),t("map"),n.total==null&&(n.total=p(n,function(r){return r.length})),n};return A.setObject("dojo.store.util.QueryResults",d),d},_,P),_.exports=S},21033:(_,P,l)=>{var b,S;b=[l(33659)],S=l.dj.d(b,function(C){return function(A,p){switch(typeof A){default:throw new Error("Can not query with a "+typeof A);case"object":case"undefined":var d=A;A=function(e){for(var t in d){var r=d[t];if(r&&r.test){if(!r.test(e[t],e))return!1}else if(r!=e[t])return!1}return!0};break;case"string":if(!this[A])throw new Error("No filter function "+A+" was found in store");A=this[A];case"function":}function n(e){var t=C.filter(e,A),r=p&&p.sort;if(r&&t.sort(typeof r=="function"?r:function(s,a){for(var o,u=0;o=r[u];u++){var c=s[o.attribute],h=a[o.attribute];if(c=c!=null?c.valueOf():c,h=h!=null?h.valueOf():h,c!=h)return!!o.descending==(c==null||c>h)?-1:1}return 0}),p&&(p.start||p.count)){var i=t.length;t=t.slice(p.start||0,(p.start||0)+(p.count||1/0)),t.total=i}return t}return n.matches=A,n}},_,P),_.exports=S},1723:(_,P,l)=>{var b,S;b=[l(57987),l(69961)],S=l.dj.d(b,function(C,A){var p=/[&<>'"\/]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"},n={};return A.setObject("dojo.string",n),n.escape=function(e){return e?e.replace(p,function(t){return d[t]}):""},n.codePointAt=String.prototype.codePointAt?function(e,t){return String.prototype.codePointAt.call(e,t)}:function(e,t){if(e==null)throw new TypeError("codePointAt called on null or undefined");var r,i,s,a;if(e=String(e),r=e.length,a=t?Number(t):0,a!=a&&(a=0),!(a<0||a>=r))return i=e.charCodeAt(a),i>=55296&&i<=56319&&r>a+1&&(s=e.charCodeAt(a+1),s>=56320&&s<=57343)?(i-55296)*1024+s-56320+65536:i},n.fromCodePoint=String.fromCodePoint||function(){var e=[],t=0,r="",i,s;for(s=0,len=arguments.length;s!==len;++s){if(i=+arguments[s],!(i<1114111&&i>>>0===i))throw RangeError("Invalid code point: "+i);i<=65535?t=e.push(i):(i-=65536,t=e.push((i>>10)+55296,i%1024+56320)),t>=16383&&(r+=String.fromCharCode.apply(null,e),e.length=0)}return r+String.fromCharCode.apply(null,e)},n.rep=function(e,t){if(t<=0||!e)return"";for(var r=[];t&1&&r.push(e),!!(t>>=1);)e+=e;return r.join("")},n.pad=function(e,t,r,i){r||(r="0");var s=String(e),a=n.rep(r,Math.ceil((t-s.length)/r.length));return i?s+a:a+s},n.substitute=function(e,t,r,i){return i=i||C.global,r=r?A.hitch(i,r):function(s){return s},e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(s,a,o){if(a=="")return"$";var u=A.getObject(a,!1,t);o&&(u=A.getObject(o,!1,i).call(i,u,a));var c=r(u,a);if(typeof c>"u")throw new Error('string.substitute could not find key "'+a+'" in template');return c.toString()})},n.trim=String.prototype.trim?A.trim:function(e){e=e.replace(/^\s+/,"");for(var t=e.length-1;t>=0;t--)if(/\S/.test(e.charAt(t))){e=e.substring(0,t+1);break}return e},n},_,P),_.exports=S},37581:(_,P,l)=>{var b,S;b=[l(57987),l.dj.c(_),l(80675),l(62215)],S=l.dj.d(b,function(C,A,p,d){var n;p("host-browser")?n=function(s,a,o){d(s,{sync:!!a,headers:{"X-Requested-With":null}}).then(o)}:A.getText?n=A.getText:console.error("dojo/text plugin failed to load because loader does not support getText");var e={},t=function(s){if(s){s=s.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var a=s.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);a&&(s=a[1])}else s="";return s},r={},i={};return C.cache=function(s,a,o){var u;typeof s=="string"?/\//.test(s)?(u=s,o=a):u=A.toUrl(s.replace(/\./g,"/")+(a?"/"+a:"")):(u=s+"",o=a);var c=o!=null&&typeof o!="string"?o.value:o,h=o&&o.sanitize;return typeof c=="string"?(e[u]=c,h?t(c):c):c===null?(delete e[u],null):(u in e||n(u,!0,function(v){e[u]=v}),h?t(e[u]):e[u])},{dynamic:!0,normalize:function(s,a){var o=s.split("!"),u=o[0];return(/^\./.test(u)?a(u):u)+(o[1]?"!"+o[1]:"")},load:function(s,a,o){var u=s.split("!"),c=u.length>1,h=u[0],v=a.toUrl(u[0]),f="url:"+v,g=r,m=function(w){o(c?t(w):w)};if(h in e?g=e[h]:a.cache&&f in a.cache?g=a.cache[f]:v in e&&(g=e[v]),g===r)if(i[v])i[v].push(m);else{var E=i[v]=[m];n(v,!a.async,function(w){e[h]=e[v]=w;for(var I=0;I<E.length;)E[I++](w);delete i[v]})}else m(g)}}},_,P),_.exports=S},48309:(_,P,l)=>{var b,S;b=[l(57574)],S=l.dj.d(b,function(C){var A=new C;return{publish:function(p,d){return A.emit.apply(A,arguments)},subscribe:function(p,d){return A.on.apply(A,arguments)}}},_,P),_.exports=S},71805:(_,P,l)=>{var b,S;b=[l(57987),l(76873),l(7835),l(65724),l(69961),l(86560),l(80675),l(72875),l(2799),l(69174)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){var a=t("ios")<5,o=t("pointer-events")||t("MSPointer"),u=function(){var O={};for(var L in{down:1,move:1,up:1,cancel:1,over:1,out:1})O[L]=t("MSPointer")?"MSPointer"+L.charAt(0).toUpperCase()+L.slice(1):"pointer"+L;return O}(),c=t("touch-events"),h,v,f=!1,g,m,E,w,I,M,R;function T(O,L,W){return o&&W?function(j,H){return e(j,W,H)}:c?function(j,H){var K=e(j,L,function(V){H.call(this,V),R=new Date().getTime()}),$=e(j,O,function(V){(!R||new Date().getTime()>R+1e3)&&H.call(this,V)});return{remove:function(){K.remove(),$.remove()}}}:function(j,H){return e(j,O,H)}}function N(O){do if(O.dojoClick!==void 0)return O;while(O=O.parentNode)}function F(O,L,W){if(!r.isRight(O)){var j=N(O.target);if(v=!O.target.disabled&&j&&j.dojoClick,v&&(f=v=="useTarget",g=f?j:O.target,f&&O.preventDefault(),m=O.changedTouches?O.changedTouches[0].pageX-s.global.pageXOffset:O.clientX,E=O.changedTouches?O.changedTouches[0].pageY-s.global.pageYOffset:O.clientY,w=(typeof v=="object"?v.x:typeof v=="number"?v:0)||4,I=(typeof v=="object"?v.y:typeof v=="number"?v:0)||4,!h)){h=!0;var H=function(V){f?v=p.isDescendant(s.doc.elementFromPoint(V.changedTouches?V.changedTouches[0].pageX-s.global.pageXOffset:V.clientX,V.changedTouches?V.changedTouches[0].pageY-s.global.pageYOffset:V.clientY),g):v=v&&(V.changedTouches?V.changedTouches[0].target:V.target)==g&&Math.abs((V.changedTouches?V.changedTouches[0].pageX-s.global.pageXOffset:V.clientX)-m)<=w&&Math.abs((V.changedTouches?V.changedTouches[0].pageY-s.global.pageYOffset:V.clientY)-E)<=I};s.doc.addEventListener(L,function($){r.isRight($)||(H($),f&&$.preventDefault())},!0),s.doc.addEventListener(W,function($){if(!r.isRight($)&&(H($),v)){M=new Date().getTime();var V=f?g:$.target;V.tagName==="LABEL"&&(V=p.byId(V.getAttribute("for"))||V);var z=$.changedTouches?$.changedTouches[0]:$,X=function(ee){var oe=document.createEvent("MouseEvents");return oe._dojo_click=!0,oe.initMouseEvent(ee,!0,!0,$.view,$.detail,z.screenX,z.screenY,z.clientX,z.clientY,$.ctrlKey,$.altKey,$.shiftKey,$.metaKey,0,null),oe},Z=X("mousedown"),Y=X("mouseup"),Q=X("click");setTimeout(function(){e.emit(V,"mousedown",Z),e.emit(V,"mouseup",Y),e.emit(V,"click",Q),M=new Date().getTime()},0)}},!0);var K=function(V){s.doc.addEventListener(V,function(z){var X=z.target;v&&!z._dojo_click&&new Date().getTime()<=M+1e3&&!(X.tagName=="INPUT"&&d.contains(X,"dijitOffScreen"))&&(z.stopPropagation(),z.stopImmediatePropagation&&z.stopImmediatePropagation(),V=="click"&&(X.tagName!="INPUT"||X.type=="radio"&&(d.contains(X,"dijitCheckBoxInput")||d.contains(X,"mblRadioButton"))||X.type=="checkbox"&&(d.contains(X,"dijitCheckBoxInput")||d.contains(X,"mblCheckBox")))&&X.tagName!="TEXTAREA"&&X.tagName!="AUDIO"&&X.tagName!="VIDEO"&&z.preventDefault())},!0)};K("click"),K("mousedown"),K("mouseup")}}}var y;t("touch")&&i(o?function(){s.doc.addEventListener(u.down,function(O){F(O,u.move,u.up)},!0)}:function(){y=s.body(),s.doc.addEventListener("touchstart",function(L){R=new Date().getTime();var W=y;y=L.target,e.emit(W,"dojotouchout",{relatedTarget:y,bubbles:!0}),e.emit(y,"dojotouchover",{relatedTarget:W,bubbles:!0}),F(L,"touchmove","touchend")},!0);function O(L){var W=n.delegate(L,{bubbles:!0});return t("ios")>=6&&(W.touches=L.touches,W.altKey=L.altKey,W.changedTouches=L.changedTouches,W.ctrlKey=L.ctrlKey,W.metaKey=L.metaKey,W.shiftKey=L.shiftKey,W.targetTouches=L.targetTouches),W}e(s.doc,"touchmove",function(L){R=new Date().getTime();var W=s.doc.elementFromPoint(L.pageX-(a?0:s.global.pageXOffset),L.pageY-(a?0:s.global.pageYOffset));W&&(y!==W&&(e.emit(y,"dojotouchout",{relatedTarget:W,bubbles:!0}),e.emit(W,"dojotouchover",{relatedTarget:y,bubbles:!0}),y=W),e.emit(W,"dojotouchmove",O(L))||L.preventDefault())}),e(s.doc,"touchend",function(L){R=new Date().getTime();var W=s.doc.elementFromPoint(L.pageX-(a?0:s.global.pageXOffset),L.pageY-(a?0:s.global.pageYOffset))||s.body();e.emit(W,"dojotouchend",O(L))})});var x={press:T("mousedown","touchstart",u.down),move:T("mousemove","dojotouchmove",u.move),release:T("mouseup","dojotouchend",u.up),cancel:T(r.leave,"touchcancel",o?u.cancel:null),over:T("mouseover","dojotouchover",u.over),out:T("mouseout","dojotouchout",u.out),enter:r._eventHandler(T("mouseover","dojotouchover",u.over)),leave:r._eventHandler(T("mouseout","dojotouchout",u.out))};return t("extend-dojo")&&(C.touch=x),x},_,P),_.exports=S},12390:(_,P,l)=>{var b,S;b=[l(20849),l(69961),l(2799),l(23702),l(69174)],S=l.dj.d(b,function(C,A,p,d,n){var e=n.doc.documentElement,t=d("ie"),r=d("trident"),i=d("opera"),s=Math.floor,a=d("ff"),o=C.boxModel.replace(/-/,""),u={dj_quirks:d("quirks"),dj_opera:i,dj_khtml:d("khtml"),dj_webkit:d("webkit"),dj_safari:d("safari"),dj_chrome:d("chrome"),dj_edge:d("edge"),dj_gecko:d("mozilla"),dj_ios:d("ios"),dj_android:d("android")};t&&(u.dj_ie=!0,u["dj_ie"+s(t)]=!0,u.dj_iequirks=d("quirks")),r&&(u.dj_trident=!0,u["dj_trident"+s(r)]=!0),a&&(u["dj_ff"+s(a)]=!0),u["dj_"+o]=!0;var c="";for(var h in u)u[h]&&(c+=h+" ");return e.className=A.trim(e.className+" "+c),p(function(){if(!C.isBodyLtr()){var v="dj_rtl dijitRtl "+c.replace(/ /g,"-rtl ");e.className=A.trim(e.className+" "+v+"dj_rtl dijitRtl "+c.replace(/ /g,"-rtl "))}}),d},_,P),_.exports=S},27754:(_,P,l)=>{var b,S;b=[l(72904),l(27420)],S=l.dj.d(b,function(C,A){"use strict";return function(d,n,e,t){var r=d&&typeof d.then=="function",i=r&&d instanceof A;if(r){if(!i){var s=new C(d.cancel);d.then(s.resolve,s.reject,s.progress),d=s.promise}}else return arguments.length>1?n?n(d):d:new C().resolve(d);return n||e||t?d.then(n,e,t):d}},_,P),_.exports=S},317:(_,P,l)=>{var b,S;b=[l(69961),l(23702),l(69174),l(7835),l(20849),l(37672),l(92087)],S=l.dj.d(b,function(C,A,p,d,n,e,t){A.add("rtl-adjust-position-for-verticalScrollBar",function(i,s){var a=p.body(s),o=t.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},a,"last"),u=t.create("div",{style:{overflow:"hidden",direction:"ltr"}},o,"last"),c=n.position(u).x!=0;return o.removeChild(u),a.removeChild(o),c}),A.add("position-fixed-support",function(i,s){var a=p.body(s),o=t.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},a,"last"),u=t.create("span",{style:{position:"fixed",left:"0",top:"0"}},o,"last"),c=n.position(u).x!=n.position(o).x;return o.removeChild(u),a.removeChild(o),c});var r={getBox:function(i){i=i||p.doc;var s=i.compatMode=="BackCompat"?p.body(i):i.documentElement,a=n.docScroll(i),o,u;if(A("touch")){var c=r.get(i);o=c.innerWidth||s.clientWidth,u=c.innerHeight||s.clientHeight}else o=s.clientWidth,u=s.clientHeight;return{l:a.x,t:a.y,w:o,h:u}},get:function(i){if(A("ie")&&r!==document.parentWindow){i.parentWindow.execScript("document._parentWindow = window;","Javascript");var s=i._parentWindow;return i._parentWindow=null,s}return i.parentWindow||i.defaultView},scrollIntoView:function(i,s){try{i=d.byId(i);var a=i.ownerDocument||p.doc,o=p.body(a),u=a.documentElement||o.parentNode,c=A("ie")||A("trident"),h=A("webkit");if(i==o||i==u)return;if(!(A("mozilla")||c||h||A("opera")||A("trident")||A("edge"))&&"scrollIntoView"in i){i.scrollIntoView(!1);return}var v=a.compatMode=="BackCompat",f=Math.min(o.clientWidth||u.clientWidth,u.clientWidth||o.clientWidth),g=Math.min(o.clientHeight||u.clientHeight,u.clientHeight||o.clientHeight),m=h||v?o:u,E=s||n.position(i),w=i.parentNode,I=function(V){return c<=6||c==7&&v?!1:A("position-fixed-support")&&e.get(V,"position").toLowerCase()=="fixed"},M=this,R=function(V,z,X){V.tagName=="BODY"||V.tagName=="HTML"?M.get(V.ownerDocument).scrollBy(z,X):(z&&(V.scrollLeft+=z),X&&(V.scrollTop+=X))};if(I(i))return;for(;w;){w==o&&(w=m);var T=n.position(w),N=I(w),F=e.getComputedStyle(w).direction.toLowerCase()=="rtl";if(w==m)T.w=f,T.h=g,m==u&&(c||A("trident"))&&F&&(T.x+=m.offsetWidth-T.w),T.x=0,T.y=0;else{var y=n.getPadBorderExtents(w);T.w-=y.w,T.h-=y.h,T.x+=y.l,T.y+=y.t;var x=w.clientWidth,O=T.w-x;x>0&&O>0&&(F&&A("rtl-adjust-position-for-verticalScrollBar")&&(T.x+=O),T.w=x),x=w.clientHeight,O=T.h-x,x>0&&O>0&&(T.h=x)}N&&(T.y<0&&(T.h+=T.y,T.y=0),T.x<0&&(T.w+=T.x,T.x=0),T.y+T.h>g&&(T.h=g-T.y),T.x+T.w>f&&(T.w=f-T.x));var L=E.x-T.x,W=E.y-T.y,j=L+E.w-T.w,H=W+E.h-T.h,K,$;j*L>0&&(w.scrollLeft||w==m||w.scrollWidth>w.offsetHeight)&&(K=Math[L<0?"max":"min"](L,j),F&&(c==8&&!v||A("trident")>=5)&&(K=-K),$=w.scrollLeft,R(w,K,0),K=w.scrollLeft-$,E.x-=K),H*W>0&&(w.scrollTop||w==m||w.scrollHeight>w.offsetHeight)&&(K=Math.ceil(Math[W<0?"max":"min"](W,H)),$=w.scrollTop,R(w,0,K),K=w.scrollTop-$,E.y-=K),w=w!=m&&!N&&w.parentNode}}catch(V){console.error("scrollIntoView: "+V),i.scrollIntoView(!1)}}};return A("extend-dojo")&&C.setObject("dojo.window",r),r},_,P),_.exports=S},15574:_=>{_.exports=function(P,l,b,S){this.loaderVersion="1.17.1",function(C,A){var p=function(){return typeof v<"u"&&typeof v!="function"?v:typeof S<"u"?this&&this.dojoConfig&&!S.dojoConfig?this:S:typeof self<"u"?self:this}(),d=function(){},n=function(Re){for(var Ue in Re)return 0;return 1},e={}.toString,t=function(Re){return e.call(Re)=="[object Function]"},r=function(Re){return e.call(Re)=="[object String]"},i=function(Re){return e.call(Re)=="[object Array]"},s=function(Re,Ue){if(Re)for(var je=0;je<Re.length;)Ue(Re[je++])},a=function(Re,Ue){for(var je in Ue)Re[je]=Ue[je];return Re},o=function(Re,Ue){return a(new Error(Re),{src:"dojoLoader",info:Ue})},u=1,c=function(){return"_"+u++},h=function(Re,Ue,je){return Nt(Re,Ue,je,0,h)},v=p,f=v.document,g=f&&f.createElement("DiV"),m=h.has=function(Re){return t(E[Re])?E[Re]=E[Re](v,f,g):E[Re]},E=m.cache=A.hasCache;if(t(C)&&(C=C(p)),m.add=function(Re,Ue,je,tt){return(E[Re]===void 0||tt)&&(E[Re]=Ue),je&&m(Re)},!1)var w,I,M,R;for(var T in C.has)m.add(T,C.has[T],0,1);var N=1,F=2,y=3,x=4,O=5,L=0,W="sync",j="xd",H=[],K=0,$=d,V=d,z;if(!1)var X,Z,R,Y,Q;else h.async=1;var q=function(){};h.eval=function(Re,Ue){return q(Re+`\r
//# sourceURL=`+Ue)};var ee={},oe="error",se=h.signal=function(Re,Ue){var je=ee[Re];s(je&&je.slice(0),function(tt){tt.apply(null,i(Ue)?Ue:[Ue])})},he=h.on=function(Re,Ue){var je=ee[Re]||(ee[Re]=[]);return je.push(Ue),{remove:function(){for(var tt=0;tt<je.length;tt++)if(je[tt]===Ue){je.splice(tt,1);return}}}},fe=[],le={},ie=[],re={},ce=h.map={},ve=[],ge={},Te="",Pe={},Le="url:",ct={},st={},ot=0;if(!1)var nt;var Rt=function(Re){return Re.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(Ue){return"\\"+Ue})},Yt=function(Re,Ue){Ue.splice(0,Ue.length);for(var je in Re)Ue.push([je,Re[je],new RegExp("^"+Rt(je)+"(/|$)"),je.length]);return Ue.sort(function(tt,xt){return xt[3]-tt[3]}),Ue},kt=function(Re,Ue){s(Re,function(je){Ue.push([r(je[0])?new RegExp("^"+Rt(je[0])+"$"):je[0],je[1]])})},Ft=function(Re){var Ue=Re.name;Ue||(Ue=Re,Re={name:Ue}),Re=a({main:"main"},Re),Re.location=Re.location?Re.location:Ue,Re.packageMap&&(ce[Ue]=Re.packageMap),Re.main.indexOf("./")||(Re.main=Re.main.substring(2)),re[Ue]=Re},Bt=[],me=function(Re,Ue,je){for(var tt in Re){if(tt=="waitSeconds"&&(h.waitms=(Re[tt]||0)*1e3),tt=="cacheBust"&&(Te=Re[tt]?r(Re[tt])?Re[tt]:new Date().getTime()+"":""),(tt=="baseUrl"||tt=="combo")&&(h[tt]=Re[tt]),!1)var xt;Re[tt]!==E&&(h.rawConfig[tt]=Re[tt],tt!="has"&&m.add("config-"+tt,Re[tt],0,Ue))}h.baseUrl||(h.baseUrl="./"),/\/$/.test(h.baseUrl)||(h.baseUrl+="/");for(tt in Re.has)m.add(tt,Re.has[tt],0,Ue);s(Re.packages,Ft);for(var Lt in Re.packagePaths)s(Re.packagePaths[Lt],function(vt){var an=Lt+"/"+vt;r(vt)&&(vt={name:vt}),vt.location=an,Ft(vt)});if(Yt(a(ce,Re.map),ve),s(ve,function(vt){vt[1]=Yt(vt[1],[]),vt[0]=="*"&&(ve.star=vt)}),Yt(a(le,Re.paths),ie),kt(Re.aliases,fe),!1)var ft;se("config",[Re,h.rawConfig])};if(!1)var Ne,R,Ve,et,ze,pt;if(!1)var Et;if(h.rawConfig={},me(A,1),me(C,1),me(st,1),!1)var It,Nt,Vt,cr,wn,On,Ln,yn,or,cn,wr,Kn;var sn=function(Re,Ue){if(Ue){for(var je=0;je<Ue.length;je++)if(Ue[je][2].test(Re))return Ue[je]}return 0},Xn=function(Re){var Ue=[],je,tt;for(Re=Re.replace(/\\/g,"/").split("/");Re.length;)je=Re.shift(),je==".."&&Ue.length&&tt!=".."?(Ue.pop(),tt=Ue[Ue.length-1]):je!="."&&Ue.push(tt=je);return Ue.join("/")},er=function(Re,Ue,je,tt){if(!1)var xt;else return{pid:Re,mid:Ue,pack:je,url:tt,executed:0,def:0}},Un=function(Re,Ue,je,tt,xt,Lt,ft,vt,an,nn){var pn,un,In,dn,Cn,Dn,An,En;if(En=Re,An=/^\./.test(Re),/(^\/)|(\:)|(\.js$)/.test(Re)||An&&!Ue)return er(0,Re,0,Re);if(Re=Xn(An?Ue.mid+"/../"+Re:Re),/^\./.test(Re))throw o("irrationalPath",Re);!nn&&!An&&Lt.star&&(dn=sn(Re,Lt.star[1])),!dn&&Ue&&(dn=sn(Ue.mid,Lt),dn=dn&&sn(Re,dn[1])),dn&&(Re=dn[1]+Re.substring(dn[3])),pt=Re.match(/^([^\/]+)(\/(.+))?$/),pn=pt?pt[1]:"",(un=je[pn])?Re=pn+"/"+(In=pt[3]||un.main):pn="";var Er=0,ar=0;return s(vt,function(Nn){var dr=Re.match(Nn[0]);dr&&dr.length>Er&&(ar=t(Nn[1])?Re.replace(Nn[0],Nn[1]):Nn[1])}),ar?Un(ar,0,je,tt,xt,Lt,ft,vt,an):(Dn=tt[Re],Dn?an?er(Dn.pid,Dn.mid,Dn.pack,Dn.url):tt[Re]:(dn=sn(Re,ft),dn?Cn=dn[1]+Re.substring(dn[3]):pn?Cn=(un.location.slice(-1)==="/"?un.location.slice(0,-1):un.location)+"/"+In:Cn=Re,/(^\/)|(\:)/.test(Cn)||(Cn=xt+Cn),Cn+=".js",er(pn,Re,un,Xn(Cn))))},ye=function(Re,Ue,je){return Un(Re,Ue,re,ge,h.baseUrl,ve,ie,fe,void 0,je)};if(!1)var Ce,Ie,Ke;var Je=h.toAbsMid=function(Re,Ue){return ye(Re,Ue).mid},Qe=h.toUrl=function(Re,Ue){var je=ye(Re+"/x",Ue),tt=je.url;return te(je.pid===0?Re:tt.substring(0,tt.length-5))};if(!1)var Ge,dt,mt,Dt,bt,qt,$t,Ht,Mt,wt,At,it,Ot,en,Se,Tt;var te=typeof C.fixupUrl=="function"?C.fixupUrl:function(Re){return Re+="",Re+(Te?(/\?/.test(Re)?"&":"?")+Te:"")};if(!1)var Ee,ne,ae,de,De,be,Be,Oe;var ke=0,Ze=d,ut=d;if(!1)var Ne,R,Ve,Xe,Qt;if(h.log=d,!1)var zt;else h.trace=d;if(!1)var Pt;else var Pt=d;if(a(a(h,A.loaderPatch),C.loaderPatch),he(oe,function(Re){try{if(console.error(Re),Re instanceof Error){for(var Ue in Re)console.log(Ue+":",Re[Ue]);console.log(".")}}catch(je){}}),a(h,{uid:c,cache:Pe,packs:re}),!v.define){if(v.define=Pt,v.require=h,!1)var Wt,tn;if(!1)var Kt,Gt}}.call(this,P,l)}},27203:(_,P,l)=>{var b=l(31888);P=b(!1),P.push([_.id,`/* styles for scrollbars during touch-scroll */
.touchscroll-x, .touchscroll-y {
display: none; /* overridden below */
overflow: hidden; /* cut off ends of scrollbar during rubber-banding */
position: absolute;
/* establish base style for scrollbar fade-in/out */
opacity: 0.7;
}
.touchscroll-fadeout .touchscroll-x, .touchscroll-fadeout .touchscroll-y {
opacity: 0;
-webkit-transition: opacity 0.3s ease-out 0.1s;
-moz-transition: opacity 0.3s ease-out 0.1s;
-o-transition: opacity 0.3s ease-out 0.1s;
transition: opacity 0.3s ease-out 0.1s;
}
.touchscroll-bar {
background-color: rgba(88,88,88,0.97);
border: 1px solid rgba(88,88,88,1);
border-radius: 3px;
/* the borders aren't anti-aliased on Android, so this smooths it out a bit */
-webkit-box-shadow: 0 0 1px rgba(88,88,88,0.4);
}
.touchscroll-x {
left: 1px;
right: 3px;
bottom: 1px;
height: 5px;
}
.touchscroll-y {
top: 1px;
bottom: 3px;
right: 1px;
width: 5px;
}
.touchscroll-scrollable-x .touchscroll-x, .touchscroll-scrollable-y .touchscroll-y {
display: block; /* display scrollbar when appropriate */
}
.touchscroll-bar {
/* Establish transition property and timing function for scrollbars */
-webkit-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
-moz-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
-o-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
}
/* indicator of a successful load */
#dgrid-css-TouchScroll-loaded {
display: none;
}`,""]),_.exports=P},10912:(_,P,l)=>{var b=l(31888),S=l(64526),C=l(90973);P=b(!1);var A=S(C);P.push([_.id,`/* This stylesheet provides the structural CSS for the dgrid */
.dgrid {
position: relative;
overflow: hidden; /* This is needed by IE to prevent crazy scrollbar flashing */
border: 1px solid #ddd;
height: 30em;
display: block;
}
.dgrid-header {
background-color: #eee;
}
.dgrid-header-row {
position: absolute;
right: 17px; /* scrollbar width; revised in List.js if necessary */
left: 0;
}
.dgrid-header-scroll {
position: absolute;
top: 0;
right: 0;
}
.dgrid-footer {
position: absolute;
bottom: 0;
width: 100%;
}
.dgrid-header-hidden,
html.has-quirks .dgrid-header-hidden .dgrid-cell {
/*
Used to "hide" header, without losing size information for reference.
!important is used to supersede theme styles at higher specificity.
Left/right box styles are untouched, as they may influence width of
.dgrid-content as updated in Grid's resize method.
Note: Still not quite perfect in IE Quirks mode (1px left over).
*/
font-size: 0; /* allow shrinkage in IE Quirks mode for Lists */
height: 0 !important;
border-top: none !important;
border-bottom: none !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.dgrid-footer-hidden {
/* Hiding footer is much simpler; simply set its display to none. */
display: none;
}
.dgrid-sortable {
cursor: pointer;
}
.dgrid-header, .dgrid-header-row, .dgrid-footer {
overflow: hidden;
background-color: #eee;
}
.dgrid-row-table {
border-collapse: collapse;
border: none;
table-layout: fixed;
empty-cells: show;
width: 100%; /* this becomes 'auto' for IE7 (non-quirks) */
height: 100%;
}
.dgrid-cell {
padding: 0px;
text-align: left;
overflow: hidden;
vertical-align: top;
border: 1px solid #ddd;
border-top-style: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.dgrid-cell-padding {
padding: 3px;
}
.dgrid-content {
position: relative;
height: 99%;
}
.dgrid-scroller {
overflow-x: auto;
overflow-y: scroll;
position: absolute;
top: 0px;
margin-top: 25px; /* this will be adjusted programmatically to fit below the header*/
bottom: 0px;
width: 100%;
}
.dgrid-preload {
/* Force IE6 to honor 0 height */
font-size: 0;
line-height: 0;
}
.dgrid-loading {
position: relative;
height: 100%;
}
.dgrid-above {
position: absolute;
bottom: 0;
}
.ui-icon {
width: 16px;
height: 16px;
background-image: url(`+A+`);
}
.ui-icon-triangle-1-e {
background-position: -32px -16px;
}
.ui-icon-triangle-1-se {
background-position: -48px -16px;
}
.dgrid-expando-icon {
width: 16px;
height: 16px;
}
.dgrid-tree-container {
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
-ms-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
transition-duration: 0.3s;
overflow: hidden;
}
.dgrid-tree-container.dgrid-tree-resetting {
-webkit-transition-duration: 0;
-moz-transition-duration: 0;
-ms-transition-duration: 0;
-o-transition-duration: 0;
transition-duration: 0;
}
/* Single Sort */
.dgrid-sort-arrow {
background-position: -64px -16px;
display: block;
float: right;
margin: 0 4px 0 5px;
height: 12px;
}
.dgrid-sort-up .dgrid-sort-arrow {
background-position: 0px -16px;
}
/* selection*/
.dgrid-selected {
background-color: #bfd6eb;
}
.dgrid-input {
width: 99%;
}
/* UA-specific hacks*/
html.has-mozilla .dgrid *:focus, html.has-opera .dgrid *:focus {
/* firefox's focus doesn't work by default for divs prior to actually tabbing into it. This fixes that
(we don't do any other browsers because we are trying to stay as close to native as possible) */
outline: 1px dotted;
}
html.has-ie-6-7.has-no-quirks .dgrid-row-table {
/* in IE7 this is needed instead of 100% to make it not create a horizontal scroll bar*/
width: auto;
}
html.has-quirks .dgrid-row-table, html.has-ie-6 .dgrid-row-table {
/* similar story, height looks too high */
height: auto;
}
html.has-quirks .dgrid-header-scroll,
html.has-ie-6 .dgrid-header-scroll {
/* ensure that header scroll node can shrink to 0 height in IE6 & quirks */
font-size: 0;
}
html.has-mozilla .dgrid-focus {
/* fix row focus outline (prevents horizontal scroll in FF 3.6) */
outline-offset: -1px;
}
/* will be used to calculate the width of the scrollbar */
.dgrid-scrollbar-measure {
width: 100px;
height: 100px;
overflow: scroll;
position: absolute;
top: -9999px;
}
/* Styles for auto-height grids; simply add the dgrid-autoheight class */
.dgrid-autoheight {
height: auto;
}
.dgrid-autoheight .dgrid-scroller {
position: relative;
overflow-y: hidden;
}
.dgrid-autoheight .dgrid-header-scroll {
display: none;
}
.dgrid-autoheight .dgrid-header {
right: 0;
}
/* indicator of a successful load */
#dgrid-css-dgrid-loaded {
display: none;
}`,""]),_.exports=P},31888:_=>{"use strict";_.exports=function(b){var S=[];return S.toString=function(){return this.map(function(A){var p=P(A,b);return A[2]?"@media ".concat(A[2]," {").concat(p,"}"):p}).join("")},S.i=function(C,A,p){typeof C=="string"&&(C=[[null,C,""]]);var d={};if(p)for(var n=0;n<this.length;n++){var e=this[n][0];e!=null&&(d[e]=!0)}for(var t=0;t<C.length;t++){var r=[].concat(C[t]);p&&d[r[0]]||(A&&(r[2]?r[2]="".concat(A," and ").concat(r[2]):r[2]=A),S.push(r))}},S};function P(b,S){var C=b[1]||"",A=b[3];if(!A)return C;if(S&&typeof btoa=="function"){var p=l(A),d=A.sources.map(function(n){return"/*# sourceURL=".concat(A.sourceRoot||"").concat(n," */")});return[C].concat(d).concat([p]).join(`
`)}return[C].join(`
`)}function l(b){var S=btoa(unescape(encodeURIComponent(JSON.stringify(b)))),C="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(S);return"/*# ".concat(C," */")}},64526:_=>{"use strict";_.exports=function(P,l){return l||(l={}),P=P&&P.__esModule?P.default:P,typeof P!="string"?P:(/^['"].*['"]$/.test(P)&&(P=P.slice(1,-1)),l.hash&&(P+=l.hash),/["'() \t\n]/.test(P)||l.needQuotes?'"'.concat(P.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):P)}},55701:_=>{_.exports=void 0},34526:(_,P,l)=>{var b,S;b=[l(86623),l(64318),l(3705),l(19947),l(12618),l(13228),l(21976),l(84236),l(60197),l(76670),l(31773),l(93153),l(62152),l(85572),l(39400),l(10930),l(86663),l(89931),l(76130),l(1330),l(62044),l(51848),l(95835),l(75536),l(56747),l(53427),l(99256),l(90882),l(96352),l(86098),l(88477),l(16231),l(38624),l(70516),l(34312),l(43545),l(82742),l(90743),l(93463),l(62768),l(9632),l(95675)],S=l.dj.d(b,function(C,A){return A(C,"dijit/nls/loading",l.dj.c(),!0)},_,P),_.exports=S},12154:(_,P,l)=>{var b,S;b=[l(86623),l(64318),l(85628),l(96453),l(14480),l(88038),l(32670),l(26657),l(39124),l(97240)],S=l.dj.d(b,function(C,A){return A(C,"mw-dialogs/l10n/nls/dialog",l.dj.c(),!0)},_,P),_.exports=S},49140:(_,P,l)=>{var b,S;b=[l(86623),l(64318),l(13430)],S=l.dj.d(b,function(C,A){return A(C,"mw-notifications/l10n/nls/NotificationsResources",l.dj.c(),!0)},_,P),_.exports=S},29907:(_,P,l)=>{var b,S;b=[l(86623),l(64318),l(54855),l(51154),l(66596),l(3052)],S=l.dj.d(b,function(C,A){return A(C,"report/resources/RTW/nls/traceInfo",l.dj.c(),!0)},_,P),_.exports=S},32239:(_,P,l)=>{var b,S;b=[l(86623),l(64318),l(59727),l(16857),l(17265)],S=l.dj.d(b,function(C,A){return A(C,"report/resources/SimulinkCoderApp/nls/report",l.dj.c(),!0)},_,P),_.exports=S},73021:(_,P,l)=>{var b,S;b=[l(86623),l(64318),l(91242),l(94008),l(32764)],S=l.dj.d(b,function(C,A){return A(C,"report/resources/coderdictionary/nls/mapping",l.dj.c(),!0)},_,P),_.exports=S},11344:(_,P,l)=>{var b,S;b=[l(11278),l(64318),l(55701)],S=l.dj.d(b,function(C,A){return A(C,"css2",l.dj.c(),!0)},_,P),_.exports=S},40809:(_,P,l)=>{var b,S;b=[l(2799),l(64318),l(55701)],S=l.dj.d(b,function(C,A){return A(C,"",l.dj.c(),!0)},_,P),_.exports=S},19388:(_,P,l)=>{var b,S;b=[l(95278),l(64318),l(55701)],S=l.dj.d(b,function(C,A){return A(C,"",l.dj.c(),!0)},_,P),_.exports=S},64318:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return function(C,A,p,d){var n,e,t;if(C.load(A,p,function(r){e=r,t=!0,n&&n(r)},{isBuild:!0}),t)return e;if(!d)throw new Error(A+" unavailable");return e=new Promise(function(r){n=r}),e.__DOJO_WEBPACK_DEFINE_PROMISE__=!0,e}},_,P),_.exports=S},80256:_=>{_.exports=`<span class="dijit dijitReset dijitInline" role="presentation"
><span class="dijitReset dijitInline dijitButtonNode"
data-dojo-attach-event="ondijitclick:__onClick" role="presentation"
><span class="dijitReset dijitStretch dijitButtonContents"
data-dojo-attach-point="titleNode,focusNode"
role="button" aria-labelledby="\${id}_label"
><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span
><span class="dijitReset dijitToggleButtonIconChar">&#x25CF;</span
><span class="dijitReset dijitInline dijitButtonText"
id="\${id}_label"
data-dojo-attach-point="containerNode"
></span
></span
></span
><input \${!nameAttrSetting} type="\${type}" value="\${value}" class="dijitOffScreen"
data-dojo-attach-event="onclick:_onClick"
tabIndex="-1" aria-hidden="true" data-dojo-attach-point="valueNode"
/></span>
`},19346:_=>{_.exports=`<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" data-dojo-attach-event="mouseenter:onMouseEnter,mouseleave:onMouseLeave"
><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div
><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role='alert'></div
></div>
`},42204:_=>{_.exports=`<div role="alertdialog" tabIndex="-1">
<div class="dijitTooltipContainer" role="presentation">
<div data-dojo-attach-point="contentsNode" class="dijitTooltipContents dijitTooltipFocusNode">
<div data-dojo-attach-point="containerNode"></div>
\${!actionBarTemplate}
</div>
</div>
<div class="dijitTooltipConnector" role="presentation" data-dojo-attach-point="connectorNode"></div>
</div>
`},64801:_=>{_.exports=`<div data-dojo-attach-point="focusNode" role="button"
><div data-dojo-attach-point="contentWrapperNode" class="mwContentWrapperNode"
><div data-dojo-attach-point="iconAndTextContainerNode" class="mwIconAndTextContainerNode mwAlignmentNode"
><div data-dojo-attach-point="iconNode" class="mwIconNode"></div
><div data-dojo-attach-point="textNode" class="mwTextNode"></div
></div
></div
></div>`},9606:_=>{_.exports='<div data-test-id="${data-test-id}" data-value="${value}">\n <div data-dojo-attach-point="gutterNode" class="${baseClass}Gutter">\n <div data-dojo-attach-point="progressNode" class="${baseClass}Progress"></div>\n </div>\n <div data-dojo-attach-point="progressTextNode" class="${baseClass}Text">50%</div>\n</div>'},37314:_=>{_.exports=`<div class="mw-busyIndicator" data-dojo-attach-point="_busyOverlayNode">
<div class="underlayNode" data-dojo-attach-point="_underlayNode"></div>
<div class="spinnerBgPanel" tabindex = "0" data-dojo-attach-point="_spinnerBgPanel">
<div class="spinnerNode" data-dojo-attach-point="_spinnerNode" ></div>
</div>
</div>
`},25427:(_,P,l)=>{"use strict";(function(b,S){_.exports=S(l(66501))})(void 0,function(b){"use strict";var S='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}';function C(ye){var Ce=document.createElement("style");Ce.textContent=ye,Ce.setAttribute("data-tippy-stylesheet","");var Ie=document.head,Ke=document.querySelector("head>style,head>link");Ke?Ie.insertBefore(Ce,Ke):Ie.appendChild(Ce)}var A=typeof window<"u"&&typeof document<"u",p=A?!!window.msCrypto:!1,d='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',n="tippy-box",e="tippy-content",t="tippy-backdrop",r="tippy-arrow",i="tippy-svg-arrow",s={passive:!0,capture:!0},a=function(){return document.body};function o(ye,Ce){return{}.hasOwnProperty.call(ye,Ce)}function u(ye,Ce,Ie){if(Array.isArray(ye)){var Ke=ye[Ce];return Ke==null?Array.isArray(Ie)?Ie[Ce]:Ie:Ke}return ye}function c(ye,Ce){var Ie={}.toString.call(ye);return Ie.indexOf("[object")===0&&Ie.indexOf(Ce+"]")>-1}function h(ye,Ce){return typeof ye=="function"?ye.apply(void 0,Ce):ye}function v(ye,Ce){if(Ce===0)return ye;var Ie;return function(Ke){clearTimeout(Ie),Ie=setTimeout(function(){ye(Ke)},Ce)}}function f(ye,Ce){var Ie=Object.assign({},ye);return Ce.forEach(function(Ke){delete Ie[Ke]}),Ie}function g(ye){return ye.split(/\s+/).filter(Boolean)}function m(ye){return[].concat(ye)}function E(ye,Ce){ye.indexOf(Ce)===-1&&ye.push(Ce)}function w(ye){return ye.filter(function(Ce,Ie){return ye.indexOf(Ce)===Ie})}function I(ye){return ye.split("-")[0]}function M(ye){return[].slice.call(ye)}function R(ye){return Object.keys(ye).reduce(function(Ce,Ie){return ye[Ie]!==void 0&&(Ce[Ie]=ye[Ie]),Ce},{})}function T(){return document.createElement("div")}function N(ye){return["Element","Fragment"].some(function(Ce){return c(ye,Ce)})}function F(ye){return c(ye,"NodeList")}function y(ye){return c(ye,"MouseEvent")}function x(ye){return!!(ye&&ye._tippy&&ye._tippy.reference===ye)}function O(ye){return N(ye)?[ye]:F(ye)?M(ye):Array.isArray(ye)?ye:M(document.querySelectorAll(ye))}function L(ye,Ce){ye.forEach(function(Ie){Ie&&(Ie.style.transitionDuration=Ce+"ms")})}function W(ye,Ce){ye.forEach(function(Ie){Ie&&Ie.setAttribute("data-state",Ce)})}function j(ye){var Ce,Ie=m(ye),Ke=Ie[0];return Ke!=null&&(Ce=Ke.ownerDocument)!=null&&Ce.body?Ke.ownerDocument:document}function H(ye,Ce){var Ie=Ce.clientX,Ke=Ce.clientY;return ye.every(function(Je){var Qe=Je.popperRect,Ge=Je.popperState,dt=Je.props,mt=dt.interactiveBorder,Dt=I(Ge.placement),bt=Ge.modifiersData.offset;if(!bt)return!0;var qt=Dt==="bottom"?bt.top.y:0,$t=Dt==="top"?bt.bottom.y:0,Ht=Dt==="right"?bt.left.x:0,Mt=Dt==="left"?bt.right.x:0,wt=Qe.top-Ke+qt>mt,At=Ke-Qe.bottom-$t>mt,it=Qe.left-Ie+Ht>mt,Ot=Ie-Qe.right-Mt>mt;return wt||At||it||Ot})}function K(ye,Ce,Ie){if(Ie){var Ke=Ce+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(Je){ye[Ke](Je,Ie)})}}function $(ye,Ce){for(var Ie=Ce;Ie;){var Ke;if(ye.contains(Ie))return!0;Ie=Ie.getRootNode==null||(Ke=Ie.getRootNode())==null?void 0:Ke.host}return!1}var V={isTouch:!1},z=0;function X(){V.isTouch||(V.isTouch=!0,window.performance&&document.addEventListener("mousemove",Z))}function Z(){var ye=performance.now();ye-z<20&&(V.isTouch=!1,document.removeEventListener("mousemove",Z)),z=ye}function Y(){var ye=document.activeElement;if(x(ye)){var Ce=ye._tippy;ye.blur&&!Ce.state.isVisible&&ye.blur()}}function Q(){document.addEventListener("touchstart",X,s),window.addEventListener("blur",Y)}function q(ye){var Ce=ye==="destroy"?"n already-":" ";return[ye+"() was called on a"+Ce+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function ee(ye){var Ce=/[ \t]{2,}/g,Ie=/^[ \t]*/gm;return ye.replace(Ce," ").replace(Ie,"").trim()}function oe(ye){return ee(`
%ctippy.js
%c`+ee(ye)+`
%cThis is a development-only message. It will be removed in production.
`)}function se(ye){return[oe(ye),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var he;fe();function fe(){he=new Set}function le(ye,Ce){if(ye&&!he.has(Ce)){var Ie;he.add(Ce),(Ie=console).warn.apply(Ie,se(Ce))}}function ie(ye,Ce){if(ye&&!he.has(Ce)){var Ie;he.add(Ce),(Ie=console).error.apply(Ie,se(Ce))}}function re(ye){var Ce=!ye,Ie=Object.prototype.toString.call(ye)==="[object Object]"&&!ye.addEventListener;ie(Ce,["tippy() was passed","`"+String(ye)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),ie(Ie,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var ce={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ve={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ge=Object.assign({appendTo:a,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},ce,ve),Te=Object.keys(ge),Pe=function(Ce){{var Ie=ge.plugins.concat(Ce.plugins||[]);ot(Ce,Ie)}var Ke=Object.keys(Ce);Ke.forEach(function(Je){ge[Je]=Ce[Je]})};function Le(ye){var Ce=ye.plugins||[],Ie=Ce.reduce(function(Ke,Je){var Qe=Je.name,Ge=Je.defaultValue;if(Qe){var dt;Ke[Qe]=ye[Qe]!==void 0?ye[Qe]:(dt=ge[Qe])!=null?dt:Ge}return Ke},{});return Object.assign({},ye,Ie)}function ct(ye,Ce){var Ie=Ce?Object.keys(Le(Object.assign({},ge,{plugins:Ce}))):Te,Ke=Ie.reduce(function(Je,Qe){var Ge=(ye.getAttribute("data-tippy-"+Qe)||"").trim();if(!Ge)return Je;if(Qe==="content")Je[Qe]=Ge;else try{Je[Qe]=JSON.parse(Ge)}catch(dt){Je[Qe]=Ge}return Je},{});return Ke}function st(ye,Ce){var Ie=Object.assign({},Ce,{content:h(Ce.content,[ye])},Ce.ignoreAttributes?{}:ct(ye,Ce.plugins));return Ie.aria=Object.assign({},ge.aria,Ie.aria),Ie.aria={expanded:Ie.aria.expanded==="auto"?Ce.interactive:Ie.aria.expanded,content:Ie.aria.content==="auto"?Ce.interactive?null:"describedby":Ie.aria.content},Ie}function ot(ye,Ce){ye===void 0&&(ye={}),Ce===void 0&&(Ce=[]);var Ie=Object.keys(ye);Ie.forEach(function(Ke){var Je=f(ge,Object.keys(ce)),Qe=!o(Je,Ke);Qe&&(Qe=Ce.filter(function(Ge){return Ge.name===Ke}).length===0),le(Qe,["`"+Ke+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var nt=function(){return"innerHTML"};function Rt(ye,Ce){ye[nt()]=Ce}function Yt(ye){var Ce=T();return ye===!0?Ce.className=r:(Ce.className=i,N(ye)?Ce.appendChild(ye):Rt(Ce,ye)),Ce}function kt(ye,Ce){N(Ce.content)?(Rt(ye,""),ye.appendChild(Ce.content)):typeof Ce.content!="function"&&(Ce.allowHTML?Rt(ye,Ce.content):ye.textContent=Ce.content)}function Ft(ye){var Ce=ye.firstElementChild,Ie=M(Ce.children);return{box:Ce,content:Ie.find(function(Ke){return Ke.classList.contains(e)}),arrow:Ie.find(function(Ke){return Ke.classList.contains(r)||Ke.classList.contains(i)}),backdrop:Ie.find(function(Ke){return Ke.classList.contains(t)})}}function Bt(ye){var Ce=T(),Ie=T();Ie.className=n,Ie.setAttribute("data-state","hidden"),Ie.setAttribute("tabindex","-1");var Ke=T();Ke.className=e,Ke.setAttribute("data-state","hidden"),kt(Ke,ye.props),Ce.appendChild(Ie),Ie.appendChild(Ke),Je(ye.props,ye.props);function Je(Qe,Ge){var dt=Ft(Ce),mt=dt.box,Dt=dt.content,bt=dt.arrow;Ge.theme?mt.setAttribute("data-theme",Ge.theme):mt.removeAttribute("data-theme"),typeof Ge.animation=="string"?mt.setAttribute("data-animation",Ge.animation):mt.removeAttribute("data-animation"),Ge.inertia?mt.setAttribute("data-inertia",""):mt.removeAttribute("data-inertia"),mt.style.maxWidth=typeof Ge.maxWidth=="number"?Ge.maxWidth+"px":Ge.maxWidth,Ge.role?mt.setAttribute("role",Ge.role):mt.removeAttribute("role"),(Qe.content!==Ge.content||Qe.allowHTML!==Ge.allowHTML)&&kt(Dt,ye.props),Ge.arrow?bt?Qe.arrow!==Ge.arrow&&(mt.removeChild(bt),mt.appendChild(Yt(Ge.arrow))):mt.appendChild(Yt(Ge.arrow)):bt&&mt.removeChild(bt)}return{popper:Ce,onUpdate:Je}}Bt.$$tippy=!0;var me=1,Ne=[],Ve=[];function et(ye,Ce){var Ie=st(ye,Object.assign({},ge,Le(R(Ce)))),Ke,Je,Qe,Ge=!1,dt=!1,mt=!1,Dt=!1,bt,qt,$t,Ht=[],Mt=v(an,Ie.interactiveDebounce),wt,At=me++,it=null,Ot=w(Ie.plugins),en={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},Se={id:At,reference:ye,popper:T(),popperInstance:it,props:Ie,state:en,plugins:Ot,clearDelayTimeouts:Nn,setProps:dr,setContent:fr,show:Vn,hide:Tr,hideWithInteractivity:Ur,enable:Er,disable:ar,unmount:sr,destroy:hr};if(!Ie.render)return ie(!0,"render() function has not been supplied."),Se;var Tt=Ie.render(Se),te=Tt.popper,Ee=Tt.onUpdate;te.setAttribute("data-tippy-root",""),te.id="tippy-"+Se.id,Se.popper=te,ye._tippy=Se,te._tippy=Se;var ne=Ot.map(function(Me){return Me.fn(Se)}),ae=ye.hasAttribute("aria-expanded");return Lt(),zt(),ut(),Xe("onCreate",[Se]),Ie.showOnCreate&&An(),te.addEventListener("mouseenter",function(){Se.props.interactive&&Se.state.isVisible&&Se.clearDelayTimeouts()}),te.addEventListener("mouseleave",function(){Se.props.interactive&&Se.props.trigger.indexOf("mouseenter")>=0&&Oe().addEventListener("mousemove",Mt)}),Se;function de(){var Me=Se.props.touch;return Array.isArray(Me)?Me:[Me,0]}function De(){return de()[0]==="hold"}function be(){var Me;return!!((Me=Se.props.render)!=null&&Me.$$tippy)}function Be(){return wt||ye}function Oe(){var Me=Be().parentNode;return Me?j(Me):document}function ke(){return Ft(te)}function Ze(Me){return Se.state.isMounted&&!Se.state.isVisible||V.isTouch?0:u(Se.props.delay,Me?0:1,ge.delay)}function ut(Me){Me===void 0&&(Me=!1),te.style.pointerEvents=Se.props.interactive&&!Me?"":"none",te.style.zIndex=""+Se.props.zIndex}function Xe(Me,qe,_t){if(_t===void 0&&(_t=!0),ne.forEach(function(jt){jt[Me]&&jt[Me].apply(jt,qe)}),_t){var Ut;(Ut=Se.props)[Me].apply(Ut,qe)}}function Qt(){var Me=Se.props.aria;if(Me.content){var qe="aria-"+Me.content,_t=te.id,Ut=m(Se.props.triggerTarget||ye);Ut.forEach(function(jt){var ln=jt.getAttribute(qe);if(Se.state.isVisible)jt.setAttribute(qe,ln?ln+" "+_t:_t);else{var rn=ln&&ln.replace(_t,"").trim();rn?jt.setAttribute(qe,rn):jt.removeAttribute(qe)}})}}function zt(){if(!(ae||!Se.props.aria.expanded)){var Me=m(Se.props.triggerTarget||ye);Me.forEach(function(qe){Se.props.interactive?qe.setAttribute("aria-expanded",Se.state.isVisible&&qe===Be()?"true":"false"):qe.removeAttribute("aria-expanded")})}}function Pt(){Oe().removeEventListener("mousemove",Mt),Ne=Ne.filter(function(Me){return Me!==Mt})}function Wt(Me){if(!(V.isTouch&&(mt||Me.type==="mousedown"))){var qe=Me.composedPath&&Me.composedPath()[0]||Me.target;if(!(Se.props.interactive&&$(te,qe))){if(m(Se.props.triggerTarget||ye).some(function(_t){return $(_t,qe)})){if(V.isTouch||Se.state.isVisible&&Se.props.trigger.indexOf("click")>=0)return}else Xe("onClickOutside",[Se,Me]);Se.props.hideOnClick===!0&&(Se.clearDelayTimeouts(),Se.hide(),dt=!0,setTimeout(function(){dt=!1}),Se.state.isMounted||Re())}}}function tn(){mt=!0}function Kt(){mt=!1}function Gt(){var Me=Oe();Me.addEventListener("mousedown",Wt,!0),Me.addEventListener("touchend",Wt,s),Me.addEventListener("touchstart",Kt,s),Me.addEventListener("touchmove",tn,s)}function Re(){var Me=Oe();Me.removeEventListener("mousedown",Wt,!0),Me.removeEventListener("touchend",Wt,s),Me.removeEventListener("touchstart",Kt,s),Me.removeEventListener("touchmove",tn,s)}function Ue(Me,qe){tt(Me,function(){!Se.state.isVisible&&te.parentNode&&te.parentNode.contains(te)&&qe()})}function je(Me,qe){tt(Me,qe)}function tt(Me,qe){var _t=ke().box;function Ut(jt){jt.target===_t&&(K(_t,"remove",Ut),qe())}if(Me===0)return qe();K(_t,"remove",qt),K(_t,"add",Ut),qt=Ut}function xt(Me,qe,_t){_t===void 0&&(_t=!1);var Ut=m(Se.props.triggerTarget||ye);Ut.forEach(function(jt){jt.addEventListener(Me,qe,_t),Ht.push({node:jt,eventType:Me,handler:qe,options:_t})})}function Lt(){De()&&(xt("touchstart",vt,{passive:!0}),xt("touchend",nn,{passive:!0})),g(Se.props.trigger).forEach(function(Me){if(Me!=="manual")switch(xt(Me,vt),Me){case"mouseenter":xt("mouseleave",nn);break;case"focus":xt(p?"focusout":"blur",pn);break;case"focusin":xt("focusout",pn);break}})}function ft(){Ht.forEach(function(Me){var qe=Me.node,_t=Me.eventType,Ut=Me.handler,jt=Me.options;qe.removeEventListener(_t,Ut,jt)}),Ht=[]}function vt(Me){var qe,_t;Me&&Me.type==="focusin"&&Me.stopPropagation();var Ut=!1;if(!(!Se.state.isEnabled||un(Me)||dt)){var jt=((qe=bt)==null?void 0:qe.type)==="focus"||((_t=bt)==null?void 0:_t.type)==="focusin";bt=Me,wt=Me.currentTarget,zt(),!Se.state.isVisible&&y(Me)&&Ne.forEach(function(ln){return ln(Me)}),Me.type==="click"&&(Se.props.trigger.indexOf("mouseenter")<0||Ge)&&Se.props.hideOnClick!==!1&&Se.state.isVisible?Ut=!0:An(Me),Me.type==="click"&&(Ge=!Ut),Ut&&!jt&&En(Me)}}function an(Me){var qe=Me.target,_t=Be().contains(qe)||te.contains(qe);if(!(Me.type==="mousemove"&&_t)){var Ut=Dn().concat(te).map(function(jt){var ln,rn=jt._tippy,ur=(ln=rn.popperInstance)==null?void 0:ln.state;return ur?{popperRect:jt.getBoundingClientRect(),popperState:ur,props:Ie}:null}).filter(Boolean);H(Ut,Me)&&(Pt(),En(Me))}}function nn(Me){var qe=un(Me)||Se.props.trigger.indexOf("click")>=0&&Ge;if(!qe){if(Se.props.interactive){Se.hideWithInteractivity(Me);return}En(Me)}}function pn(Me){Se.props.trigger.indexOf("focusin")<0&&Me.target!==Be()||Se.props.interactive&&Me.relatedTarget&&te.contains(Me.relatedTarget)||En(Me)}function un(Me){return V.isTouch?De()!==Me.type.indexOf("touch")>=0:!1}function In(){dn();var Me=Se.props,qe=Me.popperOptions,_t=Me.placement,Ut=Me.offset,jt=Me.getReferenceClientRect,ln=Me.moveTransition,rn=be()?Ft(te).arrow:null,ur=jt?{getBoundingClientRect:jt,contextElement:jt.contextElement||Be()}:ye,Vr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(ui){var $n=ui.state;if(be()){var Rr=ke(),$r=Rr.box;["placement","reference-hidden","escaped"].forEach(function(li){li==="placement"?$r.setAttribute("data-placement",$n.placement):$n.attributes.popper["data-popper-"+li]?$r.setAttribute("data-"+li,""):$r.removeAttribute("data-"+li)}),$n.attributes.popper={}}}},Sn=[{name:"offset",options:{offset:Ut}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ln}},Vr];be()&&rn&&Sn.push({name:"arrow",options:{element:rn,padding:3}}),Sn.push.apply(Sn,(qe==null?void 0:qe.modifiers)||[]),Se.popperInstance=b.createPopper(ur,te,Object.assign({},qe,{placement:_t,onFirstUpdate:$t,modifiers:Sn}))}function dn(){Se.popperInstance&&(Se.popperInstance.destroy(),Se.popperInstance=null)}function Cn(){var Me=Se.props.appendTo,qe,_t=Be();Se.props.interactive&&Me===a||Me==="parent"?qe=_t.parentNode:qe=h(Me,[_t]),qe.contains(te)||qe.appendChild(te),Se.state.isMounted=!0,In(),le(Se.props.interactive&&Me===ge.appendTo&&_t.nextElementSibling!==te,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Dn(){return M(te.querySelectorAll("[data-tippy-root]"))}function An(Me){Se.clearDelayTimeouts(),Me&&Xe("onTrigger",[Se,Me]),Gt();var qe=Ze(!0),_t=de(),Ut=_t[0],jt=_t[1];V.isTouch&&Ut==="hold"&&jt&&(qe=jt),qe?Ke=setTimeout(function(){Se.show()},qe):Se.show()}function En(Me){if(Se.clearDelayTimeouts(),Xe("onUntrigger",[Se,Me]),!Se.state.isVisible){Re();return}if(!(Se.props.trigger.indexOf("mouseenter")>=0&&Se.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Me.type)>=0&&Ge)){var qe=Ze(!1);qe?Je=setTimeout(function(){Se.state.isVisible&&Se.hide()},qe):Qe=requestAnimationFrame(function(){Se.hide()})}}function Er(){Se.state.isEnabled=!0}function ar(){Se.hide(),Se.state.isEnabled=!1}function Nn(){clearTimeout(Ke),clearTimeout(Je),cancelAnimationFrame(Qe)}function dr(Me){if(le(Se.state.isDestroyed,q("setProps")),!Se.state.isDestroyed){Xe("onBeforeUpdate",[Se,Me]),ft();var qe=Se.props,_t=st(ye,Object.assign({},qe,R(Me),{ignoreAttributes:!0}));Se.props=_t,Lt(),qe.interactiveDebounce!==_t.interactiveDebounce&&(Pt(),Mt=v(an,_t.interactiveDebounce)),qe.triggerTarget&&!_t.triggerTarget?m(qe.triggerTarget).forEach(function(Ut){Ut.removeAttribute("aria-expanded")}):_t.triggerTarget&&ye.removeAttribute("aria-expanded"),zt(),ut(),Ee&&Ee(qe,_t),Se.popperInstance&&(In(),Dn().forEach(function(Ut){requestAnimationFrame(Ut._tippy.popperInstance.forceUpdate)})),Xe("onAfterUpdate",[Se,Me])}}function fr(Me){Se.setProps({content:Me})}function Vn(){le(Se.state.isDestroyed,q("show"));var Me=Se.state.isVisible,qe=Se.state.isDestroyed,_t=!Se.state.isEnabled,Ut=V.isTouch&&!Se.props.touch,jt=u(Se.props.duration,0,ge.duration);if(!(Me||qe||_t||Ut)&&!Be().hasAttribute("disabled")&&(Xe("onShow",[Se],!1),Se.props.onShow(Se)!==!1)){if(Se.state.isVisible=!0,be()&&(te.style.visibility="visible"),ut(),Gt(),Se.state.isMounted||(te.style.transition="none"),be()){var ln=ke(),rn=ln.box,ur=ln.content;L([rn,ur],0)}$t=function(){var Sn;if(!(!Se.state.isVisible||Dt)){if(Dt=!0,te.offsetHeight,te.style.transition=Se.props.moveTransition,be()&&Se.props.animation){var si=ke(),ui=si.box,$n=si.content;L([ui,$n],jt),W([ui,$n],"visible")}Qt(),zt(),E(Ve,Se),(Sn=Se.popperInstance)==null||Sn.forceUpdate(),Xe("onMount",[Se]),Se.props.animation&&be()&&je(jt,function(){Se.state.isShown=!0,Xe("onShown",[Se])})}},Cn()}}function Tr(){le(Se.state.isDestroyed,q("hide"));var Me=!Se.state.isVisible,qe=Se.state.isDestroyed,_t=!Se.state.isEnabled,Ut=u(Se.props.duration,1,ge.duration);if(!(Me||qe||_t)&&(Xe("onHide",[Se],!1),Se.props.onHide(Se)!==!1)){if(Se.state.isVisible=!1,Se.state.isShown=!1,Dt=!1,Ge=!1,be()&&(te.style.visibility="hidden"),Pt(),Re(),ut(!0),be()){var jt=ke(),ln=jt.box,rn=jt.content;Se.props.animation&&(L([ln,rn],Ut),W([ln,rn],"hidden"))}Qt(),zt(),Se.props.animation?be()&&Ue(Ut,Se.unmount):Se.unmount()}}function Ur(Me){le(Se.state.isDestroyed,q("hideWithInteractivity")),Oe().addEventListener("mousemove",Mt),E(Ne,Mt),Mt(Me)}function sr(){le(Se.state.isDestroyed,q("unmount")),Se.state.isVisible&&Se.hide(),Se.state.isMounted&&(dn(),Dn().forEach(function(Me){Me._tippy.unmount()}),te.parentNode&&te.parentNode.removeChild(te),Ve=Ve.filter(function(Me){return Me!==Se}),Se.state.isMounted=!1,Xe("onHidden",[Se]))}function hr(){le(Se.state.isDestroyed,q("destroy")),!Se.state.isDestroyed&&(Se.clearDelayTimeouts(),Se.unmount(),ft(),delete ye._tippy,Se.state.isDestroyed=!0,Xe("onDestroy",[Se]))}}function ze(ye,Ce){Ce===void 0&&(Ce={});var Ie=ge.plugins.concat(Ce.plugins||[]);re(ye),ot(Ce,Ie),Q();var Ke=Object.assign({},Ce,{plugins:Ie}),Je=O(ye);{var Qe=N(Ke.content),Ge=Je.length>1;le(Qe&&Ge,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
`,`1) content: element.innerHTML
`,"2) content: () => element.cloneNode(true)"].join(" "))}var dt=Je.reduce(function(mt,Dt){var bt=Dt&&et(Dt,Ke);return bt&&mt.push(bt),mt},[]);return N(ye)?dt[0]:dt}ze.defaultProps=ge,ze.setDefaultProps=Pe,ze.currentInput=V;var pt=function(Ce){var Ie=Ce===void 0?{}:Ce,Ke=Ie.exclude,Je=Ie.duration;Ve.forEach(function(Qe){var Ge=!1;if(Ke&&(Ge=x(Ke)?Qe.reference===Ke:Qe.popper===Ke.popper),!Ge){var dt=Qe.props.duration;Qe.setProps({duration:Je}),Qe.hide(),Qe.state.isDestroyed||Qe.setProps({duration:dt})}})},Et=Object.assign({},b.applyStyles,{effect:function(Ce){var Ie=Ce.state,Ke={popper:{position:Ie.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(Ie.elements.popper.style,Ke.popper),Ie.styles=Ke,Ie.elements.arrow&&Object.assign(Ie.elements.arrow.style,Ke.arrow)}}),It=function(Ce,Ie){var Ke;Ie===void 0&&(Ie={}),ie(!Array.isArray(Ce),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(Ce)].join(" "));var Je=Ce,Qe=[],Ge=[],dt,mt=Ie.overrides,Dt=[],bt=!1;function qt(){Ge=Je.map(function(Se){return m(Se.props.triggerTarget||Se.reference)}).reduce(function(Se,Tt){return Se.concat(Tt)},[])}function $t(){Qe=Je.map(function(Se){return Se.reference})}function Ht(Se){Je.forEach(function(Tt){Se?Tt.enable():Tt.disable()})}function Mt(Se){return Je.map(function(Tt){var te=Tt.setProps;return Tt.setProps=function(Ee){te(Ee),Tt.reference===dt&&Se.setProps(Ee)},function(){Tt.setProps=te}})}function wt(Se,Tt){var te=Ge.indexOf(Tt);if(Tt!==dt){dt=Tt;var Ee=(mt||[]).concat("content").reduce(function(ne,ae){return ne[ae]=Je[te].props[ae],ne},{});Se.setProps(Object.assign({},Ee,{getReferenceClientRect:typeof Ee.getReferenceClientRect=="function"?Ee.getReferenceClientRect:function(){var ne;return(ne=Qe[te])==null?void 0:ne.getBoundingClientRect()}}))}}Ht(!1),$t(),qt();var At={fn:function(){return{onDestroy:function(){Ht(!0)},onHidden:function(){dt=null},onClickOutside:function(te){te.props.showOnCreate&&!bt&&(bt=!0,dt=null)},onShow:function(te){te.props.showOnCreate&&!bt&&(bt=!0,wt(te,Qe[0]))},onTrigger:function(te,Ee){wt(te,Ee.currentTarget)}}}},it=ze(T(),Object.assign({},f(Ie,["overrides"]),{plugins:[At].concat(Ie.plugins||[]),triggerTarget:Ge,popperOptions:Object.assign({},Ie.popperOptions,{modifiers:[].concat(((Ke=Ie.popperOptions)==null?void 0:Ke.modifiers)||[],[Et])})})),Ot=it.show;it.show=function(Se){if(Ot(),!dt&&Se==null)return wt(it,Qe[0]);if(!(dt&&Se==null)){if(typeof Se=="number")return Qe[Se]&&wt(it,Qe[Se]);if(Je.indexOf(Se)>=0){var Tt=Se.reference;return wt(it,Tt)}if(Qe.indexOf(Se)>=0)return wt(it,Se)}},it.showNext=function(){var Se=Qe[0];if(!dt)return it.show(0);var Tt=Qe.indexOf(dt);it.show(Qe[Tt+1]||Se)},it.showPrevious=function(){var Se=Qe[Qe.length-1];if(!dt)return it.show(Se);var Tt=Qe.indexOf(dt),te=Qe[Tt-1]||Se;it.show(te)};var en=it.setProps;return it.setProps=function(Se){mt=Se.overrides||mt,en(Se)},it.setInstances=function(Se){Ht(!0),Dt.forEach(function(Tt){return Tt()}),Je=Se,Ht(!1),$t(),qt(),Dt=Mt(it),it.setProps({triggerTarget:Ge})},Dt=Mt(it),it},Nt={mouseover:"mouseenter",focusin:"focus",click:"click"};function Vt(ye,Ce){ie(!(Ce&&Ce.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var Ie=[],Ke=[],Je=!1,Qe=Ce.target,Ge=f(Ce,["target"]),dt=Object.assign({},Ge,{trigger:"manual",touch:!1}),mt=Object.assign({touch:ge.touch},Ge,{showOnCreate:!0}),Dt=ze(ye,dt),bt=m(Dt);function qt(At){if(!(!At.target||Je)){var it=At.target.closest(Qe);if(it){var Ot=it.getAttribute("data-tippy-trigger")||Ce.trigger||ge.trigger;if(!it._tippy&&!(At.type==="touchstart"&&typeof mt.touch=="boolean")&&!(At.type!=="touchstart"&&Ot.indexOf(Nt[At.type])<0)){var en=ze(it,mt);en&&(Ke=Ke.concat(en))}}}}function $t(At,it,Ot,en){en===void 0&&(en=!1),At.addEventListener(it,Ot,en),Ie.push({node:At,eventType:it,handler:Ot,options:en})}function Ht(At){var it=At.reference;$t(it,"touchstart",qt,s),$t(it,"mouseover",qt),$t(it,"focusin",qt),$t(it,"click",qt)}function Mt(){Ie.forEach(function(At){var it=At.node,Ot=At.eventType,en=At.handler,Se=At.options;it.removeEventListener(Ot,en,Se)}),Ie=[]}function wt(At){var it=At.destroy,Ot=At.enable,en=At.disable;At.destroy=function(Se){Se===void 0&&(Se=!0),Se&&Ke.forEach(function(Tt){Tt.destroy()}),Ke=[],Mt(),it()},At.enable=function(){Ot(),Ke.forEach(function(Se){return Se.enable()}),Je=!1},At.disable=function(){en(),Ke.forEach(function(Se){return Se.disable()}),Je=!0},Ht(At)}return bt.forEach(wt),Dt}var cr={name:"animateFill",defaultValue:!1,fn:function(Ce){var Ie;if(!((Ie=Ce.props.render)!=null&&Ie.$$tippy))return ie(Ce.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var Ke=Ft(Ce.popper),Je=Ke.box,Qe=Ke.content,Ge=Ce.props.animateFill?wn():null;return{onCreate:function(){Ge&&(Je.insertBefore(Ge,Je.firstElementChild),Je.setAttribute("data-animatefill",""),Je.style.overflow="hidden",Ce.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(Ge){var mt=Je.style.transitionDuration,Dt=Number(mt.replace("ms",""));Qe.style.transitionDelay=Math.round(Dt/10)+"ms",Ge.style.transitionDuration=mt,W([Ge],"visible")}},onShow:function(){Ge&&(Ge.style.transitionDuration="0ms")},onHide:function(){Ge&&W([Ge],"hidden")}}}};function wn(){var ye=T();return ye.className=t,W([ye],"hidden"),ye}var On={clientX:0,clientY:0},Ln=[];function yn(ye){var Ce=ye.clientX,Ie=ye.clientY;On={clientX:Ce,clientY:Ie}}function or(ye){ye.addEventListener("mousemove",yn)}function cn(ye){ye.removeEventListener("mousemove",yn)}var wr={name:"followCursor",defaultValue:!1,fn:function(Ce){var Ie=Ce.reference,Ke=j(Ce.props.triggerTarget||Ie),Je=!1,Qe=!1,Ge=!0,dt=Ce.props;function mt(){return Ce.props.followCursor==="initial"&&Ce.state.isVisible}function Dt(){Ke.addEventListener("mousemove",$t)}function bt(){Ke.removeEventListener("mousemove",$t)}function qt(){Je=!0,Ce.setProps({getReferenceClientRect:null}),Je=!1}function $t(wt){var At=wt.target?Ie.contains(wt.target):!0,it=Ce.props.followCursor,Ot=wt.clientX,en=wt.clientY,Se=Ie.getBoundingClientRect(),Tt=Ot-Se.left,te=en-Se.top;(At||!Ce.props.interactive)&&Ce.setProps({getReferenceClientRect:function(){var ne=Ie.getBoundingClientRect(),ae=Ot,de=en;it==="initial"&&(ae=ne.left+Tt,de=ne.top+te);var De=it==="horizontal"?ne.top:de,be=it==="vertical"?ne.right:ae,Be=it==="horizontal"?ne.bottom:de,Oe=it==="vertical"?ne.left:ae;return{width:be-Oe,height:Be-De,top:De,right:be,bottom:Be,left:Oe}}})}function Ht(){Ce.props.followCursor&&(Ln.push({instance:Ce,doc:Ke}),or(Ke))}function Mt(){Ln=Ln.filter(function(wt){return wt.instance!==Ce}),Ln.filter(function(wt){return wt.doc===Ke}).length===0&&cn(Ke)}return{onCreate:Ht,onDestroy:Mt,onBeforeUpdate:function(){dt=Ce.props},onAfterUpdate:function(At,it){var Ot=it.followCursor;Je||Ot!==void 0&&dt.followCursor!==Ot&&(Mt(),Ot?(Ht(),Ce.state.isMounted&&!Qe&&!mt()&&Dt()):(bt(),qt()))},onMount:function(){Ce.props.followCursor&&!Qe&&(Ge&&($t(On),Ge=!1),mt()||Dt())},onTrigger:function(At,it){y(it)&&(On={clientX:it.clientX,clientY:it.clientY}),Qe=it.type==="focus"||it.type==="focusin"},onHidden:function(){Ce.props.followCursor&&(qt(),bt(),Ge=!0)}}}};function Kn(ye,Ce){var Ie;return{popperOptions:Object.assign({},ye.popperOptions,{modifiers:[].concat((((Ie=ye.popperOptions)==null?void 0:Ie.modifiers)||[]).filter(function(Ke){var Je=Ke.name;return Je!==Ce.name}),[Ce])})}}var sn={name:"inlinePositioning",defaultValue:!1,fn:function(Ce){var Ie=Ce.reference;function Ke(){return!!Ce.props.inlinePositioning}var Je,Qe=-1,Ge=!1,dt=[],mt={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(Ht){var Mt=Ht.state;Ke()&&(dt.indexOf(Mt.placement)!==-1&&(dt=[]),Je!==Mt.placement&&dt.indexOf(Mt.placement)===-1&&(dt.push(Mt.placement),Ce.setProps({getReferenceClientRect:function(){return Dt(Mt.placement)}})),Je=Mt.placement)}};function Dt($t){return Xn(I($t),Ie.getBoundingClientRect(),M(Ie.getClientRects()),Qe)}function bt($t){Ge=!0,Ce.setProps($t),Ge=!1}function qt(){Ge||bt(Kn(Ce.props,mt))}return{onCreate:qt,onAfterUpdate:qt,onTrigger:function(Ht,Mt){if(y(Mt)){var wt=M(Ce.reference.getClientRects()),At=wt.find(function(Ot){return Ot.left-2<=Mt.clientX&&Ot.right+2>=Mt.clientX&&Ot.top-2<=Mt.clientY&&Ot.bottom+2>=Mt.clientY}),it=wt.indexOf(At);Qe=it>-1?it:Qe}},onHidden:function(){Qe=-1}}}};function Xn(ye,Ce,Ie,Ke){if(Ie.length<2||ye===null)return Ce;if(Ie.length===2&&Ke>=0&&Ie[0].left>Ie[1].right)return Ie[Ke]||Ce;switch(ye){case"top":case"bottom":{var Je=Ie[0],Qe=Ie[Ie.length-1],Ge=ye==="top",dt=Je.top,mt=Qe.bottom,Dt=Ge?Je.left:Qe.left,bt=Ge?Je.right:Qe.right,qt=bt-Dt,$t=mt-dt;return{top:dt,bottom:mt,left:Dt,right:bt,width:qt,height:$t}}case"left":case"right":{var Ht=Math.min.apply(Math,Ie.map(function(te){return te.left})),Mt=Math.max.apply(Math,Ie.map(function(te){return te.right})),wt=Ie.filter(function(te){return ye==="left"?te.left===Ht:te.right===Mt}),At=wt[0].top,it=wt[wt.length-1].bottom,Ot=Ht,en=Mt,Se=en-Ot,Tt=it-At;return{top:At,bottom:it,left:Ot,right:en,width:Se,height:Tt}}default:return Ce}}var er={name:"sticky",defaultValue:!1,fn:function(Ce){var Ie=Ce.reference,Ke=Ce.popper;function Je(){return Ce.popperInstance?Ce.popperInstance.state.elements.reference:Ie}function Qe(Dt){return Ce.props.sticky===!0||Ce.props.sticky===Dt}var Ge=null,dt=null;function mt(){var Dt=Qe("reference")?Je().getBoundingClientRect():null,bt=Qe("popper")?Ke.getBoundingClientRect():null;(Dt&&Un(Ge,Dt)||bt&&Un(dt,bt))&&Ce.popperInstance&&Ce.popperInstance.update(),Ge=Dt,dt=bt,Ce.state.isMounted&&requestAnimationFrame(mt)}return{onMount:function(){Ce.props.sticky&&mt()}}}};function Un(ye,Ce){return ye&&Ce?ye.top!==Ce.top||ye.right!==Ce.right||ye.bottom!==Ce.bottom||ye.left!==Ce.left:!0}return A&&C(S),ze.setDefaultProps({plugins:[cr,wr,sn,er],render:Bt}),ze.createSingleton=It,ze.delegate=Vt,ze.hideAll=pt,ze.roundArrow=d,ze})},85646:(_,P,l)=>{var b,S;b=[l(78470)],S=l.dj.d(b,function(C){"use strict";var A={};return A.default=C.AckExtension=function(){let p,d=!1,n;function e(t,r){p._debug(t,r)}this.registered=(t,r)=>{p=r,e("AckExtension: executing registration callback")},this.unregistered=()=>{e("AckExtension: executing unregistration callback"),p=null},this.incoming=t=>{const r=t.channel,i=t.ext;if(r==="/meta/handshake"){if(i){const s=i.ack;if(typeof s=="object"){d=s.enabled===!0;const a=s.batch;typeof a=="number"&&(n=a)}else d=s===!0}e("AckExtension: server supports acknowledgements",d)}else r==="/meta/connect"&&t.successful&&d&&i&&typeof i.ack=="number"&&(n=i.ack,e("AckExtension: server sent batch",n));return t},this.outgoing=t=>{const r=t.channel;return t.ext||(t.ext={}),r==="/meta/handshake"?(t.ext.ack=p&&p.ackEnabled!==!1,d=!1,n=0):r==="/meta/connect"&&d&&(t.ext.ack=n,e("AckExtension: client sending batch",n)),t}},A.default},_,P),_.exports=S},78470:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};function A(){let h=0;const v={};this.register=f=>{const g=++h;return v[g]=f,g},this.unregister=f=>{const g=v[f];return delete v[f],g},this.setTimeout=(f,g)=>window.setTimeout(f,g),this.clearTimeout=f=>{window.clearTimeout(f)}}function p(){const h={};self.onmessage=v=>{const f=v.data,g=h[f.id];switch(f.type){case"setTimeout":h[f.id]=self.setTimeout(()=>{delete h[f.id],self.postMessage({id:f.id})},f.delay);break;case"clearTimeout":delete h[f.id],g&&self.clearTimeout(g);break;default:throw"Unknown command "+f.type}}}const d={isString:h=>h==null?!1:typeof h=="string"||h instanceof String};function n(){let h=[],v={};this.getTransportTypes=()=>h.slice(0),this.findTransportTypes=(f,g,m)=>{const E=[];for(let w=0;w<h.length;++w){const I=h[w];v[I].accept(f,g,m)===!0&&E.push(I)}return E},this.negotiateTransport=(f,g,m,E)=>{for(let w=0;w<h.length;++w){const I=h[w];for(let M=0;M<f.length;++M)if(I===f[M]){const R=v[I];if(R.accept(g,m,E)===!0)return R}}return null},this.add=(f,g,m)=>{let E=!1;for(let w=0;w<h.length;++w)if(h[w]===f){E=!0;break}return E||(typeof m!="number"?h.push(f):h.splice(m,0,f),v[f]=g),!E},this.find=f=>{for(let g=0;g<h.length;++g)if(h[g]===f)return v[f];return null},this.remove=f=>{for(let g=0;g<h.length;++g)if(h[g]===f){h.splice(g,1);const m=v[f];return delete v[f],m}return null},this.clear=()=>{h=[],v={}},this.reset=f=>{for(let g=0;g<h.length;++g)v[h[g]].reset(f)}}function e(){let h,v,f;this.registered=(g,m)=>{h=g,v=m},this.unregistered=()=>{h=null,v=null},this._notifyTransportTimeout=function(g){const m=v._getTransportListeners("timeout");if(m)for(let E=0;E<m.length;++E){const w=m[E];try{const I=w.call(this,g);if(typeof I=="number"&&I>0)return I}catch(I){this._info("Exception during execution of transport listener",w,I)}}return 0},this._debug=function(){v._debug.apply(v,arguments)},this._info=function(){v._info.apply(v,arguments)},this._mixin=function(){return v._mixin.apply(v,arguments)},this.getConfiguration=()=>v.getConfiguration(),this.getAdvice=()=>v.getAdvice(),this.setTimeout=(g,m)=>v.setTimeout(g,m),this.clearTimeout=g=>{v.clearTimeout(g)},this.convertToJSON=function(g){const m=this.getConfiguration().maxSendBayeuxMessageSize;let E="[";for(let w=0;w<g.length;++w){w>0&&(E+=",");const I=g[w],M=JSON.stringify(I);if(M.length>m)throw"maxSendBayeuxMessageSize "+m+" exceeded";E+=M}return E+="]",E},this.convertToMessages=function(g){if(d.isString(g))try{return JSON.parse(g)}catch(m){throw this._debug("Could not convert to JSON the following string",'"'+g+'"'),m}if(Array.isArray(g))return g;if(g==null)return[];if(g instanceof Object)return[g];throw"Conversion Error "+g+", typeof "+typeof g},this.accept=(g,m,E)=>{throw"Abstract"},this.getType=()=>h,this.getURL=()=>f,this.setURL=g=>{f=g},this.send=(g,m)=>{throw"Abstract"},this.reset=function(g){this._debug("Transport",h,"reset",g?"initial":"retry")},this.abort=function(){this._debug("Transport",h,"aborted")},this.toString=function(){return this.getType()}}e.derive=h=>{function v(){}return v.prototype=h,new v};function t(){const h=new e,v=e.derive(h);let f=0,g=null,m=[],E=[];function w(y){for(;E.length>0;){const x=E[0],O=x[0],L=x[1];if(O.url===y.url&&O.sync===y.sync){E.shift(),y.messages=y.messages.concat(O.messages),this._debug("Coalesced",O.messages.length,"messages from request",L.id);continue}break}}function I(y,x,O){const L=this._notifyTransportTimeout(y.messages);if(L>0)this._debug("Transport",this.getType(),"extended waiting for message replies of request",x.id,":",L,"ms"),x.timeout=this.setTimeout(()=>{I.call(this,y,x,O+L)},L);else{x.expired=!0;const W="Transport "+this.getType()+" expired waiting for message replies of request "+x.id+": "+O+" ms",j={reason:W},H=x.xhr;j.httpCode=this.xhrStatus(H),this.abortXHR(H),this._debug(W),this.complete(x,!1,x.metaConnect),y.onFailure(H,y.messages,j)}}function M(y,x){if(this.transportSend(y,x)&&(x.expired=!1,!y.sync)){let O=this.getConfiguration().maxNetworkDelay;x.metaConnect===!0&&(O+=this.getAdvice().timeout),this._debug("Transport",this.getType(),"started waiting for message replies of request",x.id,":",O,"ms"),x.timeout=this.setTimeout(()=>{I.call(this,y,x,O)},O)}}function R(y){const x=++f,O={id:x,metaConnect:!1,envelope:y};m.length<this.getConfiguration().maxConnections-1?(m.push(O),M.call(this,y,O)):(this._debug("Transport",this.getType(),"queueing request",x,"envelope",y),E.push([y,O]))}function T(y){const x=y.id;if(this._debug("Transport",this.getType(),"/meta/connect complete, request",x),g!==null&&g.id!==x)throw"/meta/connect request mismatch, completing request "+x;g=null}function N(y,x){const O=m.indexOf(y);if(O>=0&&m.splice(O,1),E.length>0){const L=E.shift(),W=L[0],j=L[1];this._debug("Transport dequeued request",j.id),x?(this.getConfiguration().autoBatch&&w.call(this,W),R.call(this,W),this._debug("Transport completed request",y.id,W)):this.setTimeout(()=>{this.complete(j,!1,j.metaConnect);const H={reason:"Previous request failed"},K=j.xhr;H.httpCode=this.xhrStatus(K),W.onFailure(K,W.messages,H)},0)}}v.complete=function(y,x,O){O?T.call(this,y):N.call(this,y,x)},v.transportSend=(y,x)=>{throw"Abstract"},v.transportSuccess=function(y,x,O){x.expired||(this.clearTimeout(x.timeout),this._debug("Transport",this.getType(),"cancelled waiting for message replies"),this.complete(x,!0,x.metaConnect),O&&O.length>0?y.onSuccess(O):y.onFailure(x.xhr,y.messages,{httpCode:204}))},v.transportFailure=function(y,x,O){x.expired||(this.clearTimeout(x.timeout),this._debug("Transport",this.getType(),"cancelled waiting for failed message replies"),this.complete(x,!1,x.metaConnect),y.onFailure(x.xhr,y.messages,O))};function F(y){if(g!==null)throw"Concurrent /meta/connect requests not allowed, request id="+g.id+" not yet completed";const x=++f;this._debug("Transport",this.getType(),"/meta/connect send, request",x,"envelope",y);const O={id:x,metaConnect:!0,envelope:y};M.call(this,y,O),g=O}return v.send=function(y,x){x?F.call(this,y):R.call(this,y)},v.abort=function(){h.abort();for(let x=0;x<m.length;++x){const O=m[x];O&&(this._debug("Aborting request",O),this.abortXHR(O.xhr)||this.transportFailure(O.envelope,O,{reason:"abort"}))}const y=g;y&&(this._debug("Aborting /meta/connect request",y),this.abortXHR(y.xhr)||this.transportFailure(y.envelope,y,{reason:"abort"})),this.reset(!0)},v.reset=y=>{h.reset(y),g=null,m=[],E=[]},v.abortXHR=function(y){if(y)try{const x=y.readyState;return y.abort(),x!==window.XMLHttpRequest.UNSENT}catch(x){this._debug(x)}return!1},v.xhrStatus=function(y){if(y)try{return y.status}catch(x){this._debug(x)}return-1},v}function r(){const h=new t,v=e.derive(h);let f=!0;v.accept=(m,E,w)=>f||!E,v.newXMLHttpRequest=()=>new window.XMLHttpRequest;function g(m){try{m.context=v.context}catch(E){v._debug("Could not copy transport context into XHR",E)}}return v.xhrSend=m=>{const E=v.newXMLHttpRequest();g(E),E.withCredentials=!0,E.open("POST",m.url,m.sync!==!0);const w=m.headers;if(w)for(let I in w)w.hasOwnProperty(I)&&E.setRequestHeader(I,w[I]);return E.setRequestHeader("Content-Type","application/json;charset=UTF-8"),E.onload=()=>{E.status===200?m.onSuccess(E.responseText):m.onError(E.statusText)},E.onabort=E.onerror=()=>{m.onError(E.statusText)},E.send(m.body),E},v.transportSend=function(m,E){this._debug("Transport",this.getType(),"sending request",E.id,"envelope",m);try{let w=!0;return E.xhr=this.xhrSend({transport:this,url:m.url,sync:m.sync,headers:this.getConfiguration().requestHeaders,body:this.convertToJSON(m.messages),onSuccess:I=>{this._debug("Transport",this.getType(),"received response",I);let M=!1;try{const R=this.convertToMessages(I);R.length===0?(f=!1,this.transportFailure(m,E,{httpCode:204})):(M=!0,this.transportSuccess(m,E,R))}catch(R){if(this._debug(R),!M){f=!1;const T={exception:R};T.httpCode=this.xhrStatus(E.xhr),this.transportFailure(m,E,T)}}},onError:(I,M)=>{this._debug("Transport",this.getType(),"received error",I,M),f=!1;const R={reason:I,exception:M};R.httpCode=this.xhrStatus(E.xhr),w?this.setTimeout(()=>{this.transportFailure(m,E,R)},0):this.transportFailure(m,E,R)}}),w=!1,!0}catch(w){return this._debug("Transport",this.getType(),"exception:",w),f=!1,this.setTimeout(()=>{this.transportFailure(m,E,{exception:w})},0),!1}},v.reset=m=>{h.reset(m),f=!0},v}function i(){const h=new t,v=e.derive(h);let f=0;v.accept=(m,E,w)=>!0,v.jsonpSend=m=>{const E=document.getElementsByTagName("head")[0],w=document.createElement("script"),I="_cometd_jsonp_"+f++;window[I]=R=>{E.removeChild(w),delete window[I],m.onSuccess(R)};let M=m.url;M+=M.indexOf("?")<0?"?":"&",M+="jsonp="+I,M+="&message="+encodeURIComponent(m.body),w.src=M,w.async=m.sync!==!0,w.type="application/javascript",w.onerror=R=>{m.onError("jsonp "+R.type)},E.appendChild(w)};function g(m,E,w){return()=>{this.transportFailure(m,E,"error",w)}}return v.transportSend=function(m,E){let w=0,I=m.messages.length;const M=[];for(;I>0;){const T=JSON.stringify(m.messages.slice(w,w+I)),N=m.url.length+encodeURI(T).length,F=this.getConfiguration().maxURILength;if(N>F){if(I===1){const y="Bayeux message too big ("+N+" bytes, max is "+F+") for transport "+this.getType();this.setTimeout(g.call(this,m,E,y),0);return}--I;continue}M.push(I),w+=I,I=m.messages.length-w}let R=m;if(M.length>1){let T=0,N=M[0];this._debug("Transport",this.getType(),"split",m.messages.length,"messages into",M.join(" + ")),R=this._mixin(!1,{},m),R.messages=m.messages.slice(T,N),R.onSuccess=m.onSuccess,R.onFailure=m.onFailure;for(let F=1;F<M.length;++F){const y=this._mixin(!1,{},m);T=N,N+=M[F],y.messages=m.messages.slice(T,N),y.onSuccess=m.onSuccess,y.onFailure=m.onFailure,this.send(y,E.metaConnect)}}this._debug("Transport",this.getType(),"sending request",E.id,"envelope",R);try{let T=!0;return this.jsonpSend({transport:this,url:R.url,sync:R.sync,headers:this.getConfiguration().requestHeaders,body:JSON.stringify(R.messages),onSuccess:N=>{let F=!1;try{const y=this.convertToMessages(N);y.length===0?this.transportFailure(R,E,{httpCode:204}):(F=!0,this.transportSuccess(R,E,y))}catch(y){this._debug(y),F||this.transportFailure(R,E,{exception:y})}},onError:(N,F)=>{const y={reason:N,exception:F};T?this.setTimeout(()=>{this.transportFailure(R,E,y)},0):this.transportFailure(R,E,y)}}),T=!1,!0}catch(T){return this.setTimeout(()=>{this.transportFailure(R,E,{exception:T})},0),!1}},v}function s(){const h=new e,v=e.derive(h);let f,g=!0,m=!1,E=!0,w=null,I=null,M=!1,R=null;v.reset=j=>{h.reset(j),g=!0,j&&(m=!1),E=!0,j&&(w=null),I=null,M=!1};function T(j,H){j&&(this.webSocketClose(j,H.code,H.reason),this.onClose(j,H))}function N(j){return j===I||j===w}function F(j,H,K){const $=[];for(let V=0;V<H.messages.length;++V){const z=H.messages[V];z.id&&$.push(z.id)}j.envelopes[$.join(",")]=[H,K],this._debug("Transport",this.getType(),"stored envelope, envelopes",j.envelopes)}function y(j,H){let K=!1;const $=j.envelopes;for(let V=0;V<H.length;++V){const z=H[V];for(let X in $)if($.hasOwnProperty(X)){const Z=X.split(","),Y=Z.indexOf(z);if(Y>=0){K=!0,Z.splice(Y,1);const Q=$[X][0],q=$[X][1];delete $[X],Z.length>0&&($[Z.join(",")]=[Q,q]);break}}}K&&this._debug("Transport",this.getType(),"removed envelope, envelopes",$)}function x(j){if(I)return;const H=f.getURL().replace(/^http/,"ws");this._debug("Transport",this.getType(),"connecting to URL",H);try{const X=f.getConfiguration().protocol;j.webSocket=X?new window.WebSocket(H,X):new window.WebSocket(H),I=j}catch(X){throw g=!1,this._debug("Exception while creating WebSocket object",X),X}E=f.getConfiguration().stickyReconnect!==!1;const K=f.getConfiguration().connectTimeout;K>0&&(j.connectTimer=this.setTimeout(()=>{f._debug("Transport",this.getType(),"timed out while connecting to URL",H,":",K,"ms"),T.call(this,j,{code:1e3,reason:"Connect Timeout"})},K));const $=()=>{f._debug("WebSocket onopen",j),j.connectTimer&&this.clearTimeout(j.connectTimer),N(j)?(I=null,w=j,m=!0,this.onOpen(j)):(f._warn("Closing extra WebSocket connection",this,"active connection",w),T.call(this,j,{code:1e3,reason:"Extra Connection"}))},V=X=>{X=X||{code:1e3},f._debug("WebSocket onclose",j,X,"connecting",I,"current",w),j.connectTimer&&this.clearTimeout(j.connectTimer),this.onClose(j,X)},z=X=>{f._debug("WebSocket onmessage",X,j),this.onMessage(j,X)};j.webSocket.onopen=$,j.webSocket.onclose=V,j.webSocket.onerror=()=>{V({code:1e3,reason:"Error"})},j.webSocket.onmessage=z,this._debug("Transport",this.getType(),"configured callbacks on",j)}function O(j,H,K){const $=this._notifyTransportTimeout([H]);$>0?(this._debug("Transport",this.getType(),"extended waiting for message replies:",$,"ms"),j.timeouts[H.id]=this.setTimeout(()=>{O.call(this,j,H,K+$)},$)):(this._debug("Transport",this.getType(),"expired waiting for message reply",H.id,":",K,"ms"),T.call(this,j,{code:1e3,reason:"Message Timeout"}))}function L(j,H,K){let $;try{$=this.convertToJSON(H.messages)}catch(X){this._debug("Transport",this.getType(),"exception:",X);const Z=[];for(let Y=0;Y<H.messages.length;++Y){const Q=H.messages[Y];Z.push(Q.id)}y.call(this,j,Z),this.setTimeout(()=>{this._notifyFailure(H.onFailure,j,H.messages,{exception:X})},0);return}j.webSocket.send($),this._debug("Transport",this.getType(),"sent",H,"/meta/connect =",K);let V=this.getConfiguration().maxNetworkDelay;K&&(V+=this.getAdvice().timeout,M=!0);const z=[];for(let X=0;X<H.messages.length;++X){const Z=H.messages[X];Z.id&&(z.push(Z.id),j.timeouts[Z.id]=this.setTimeout(()=>{O.call(this,j,Z,V)},V))}this._debug("Transport",this.getType(),"started waiting for message replies",V,"ms, messageIds:",z,", timeouts:",j.timeouts)}v._notifySuccess=function(j,H){j.call(this,H)},v._notifyFailure=function(j,H,K,$){j.call(this,H,K,$)};function W(j,H,K){try{j===null?(j=I||{envelopes:{},timeouts:{}},F.call(this,j,H,K),x.call(this,j)):(F.call(this,j,H,K),L.call(this,j,H,K))}catch($){this.setTimeout(()=>{T.call(this,j,{code:1e3,reason:"Exception",exception:$})},0)}}return v.onOpen=function(j){const H=j.envelopes;this._debug("Transport",this.getType(),"opened",j,"pending messages",H);for(let K in H)if(H.hasOwnProperty(K)){const $=H[K],V=$[0],z=$[1];R=V.onSuccess,L.call(this,j,V,z)}},v.onMessage=function(j,H){this._debug("Transport",this.getType(),"received websocket message",H,j);let K=!1;const $=this.convertToMessages(H.data),V=[];for(let z=0;z<$.length;++z){const X=$[z];if((/^\/meta\//.test(X.channel)||X.data===void 0)&&X.id){V.push(X.id);const Z=j.timeouts[X.id];Z&&(this.clearTimeout(Z),delete j.timeouts[X.id],this._debug("Transport",this.getType(),"removed timeout for message",X.id,", timeouts",j.timeouts))}X.channel==="/meta/connect"&&(M=!1),X.channel==="/meta/disconnect"&&!M&&(K=!0)}y.call(this,j,V),this._notifySuccess(R,$),K&&this.webSocketClose(j,1e3,"Disconnect")},v.onClose=function(j,H){this._debug("Transport",this.getType(),"closed",j,H),N(j)&&(g=E&&m,I=null,w=null);const K=j.timeouts;j.timeouts={};for(let V in K)K.hasOwnProperty(V)&&this.clearTimeout(K[V]);const $=j.envelopes;j.envelopes={};for(let V in $)if($.hasOwnProperty(V)){const z=$[V][0];$[V][1]&&(M=!1);const Z={websocketCode:H.code,reason:H.reason};H.exception&&(Z.exception=H.exception),this._notifyFailure(z.onFailure,j,z.messages,Z)}},v.registered=(j,H)=>{h.registered(j,H),f=H},v.accept=function(j,H,K){return this._debug("Transport",this.getType(),"accept, supported:",g),g&&!!window.WebSocket&&f.websocketEnabled!==!1},v.send=function(j,H){this._debug("Transport",this.getType(),"sending",j,"/meta/connect =",H),W.call(this,w,j,H)},v.webSocketClose=function(j,H,K){try{j.webSocket&&j.webSocket.close(H,K)}catch($){this._debug($)}},v.abort=function(){h.abort(),T.call(this,w,{code:1e3,reason:"Abort"}),this.reset(!0)},v}function a(h){const v=new A,f=this,g=h||"default";let m=!1;const E=new n;let w,I="disconnected",M=0,R=null,T=0,N=[],F=!1,y=0,x={};const O={};let L=0,W=null;const j=[];let H={},K,$;const V={},z={};let X=!1,Z=!1,Y=0,Q=0,q=null,ee={useWorkerScheduler:!0,protocol:null,stickyReconnect:!0,connectTimeout:0,maxConnections:2,backoffIncrement:1e3,maxBackoff:6e4,logLevel:"info",maxNetworkDelay:1e4,requestHeaders:{},appendMessageTypeToURL:!0,autoBatch:!1,urls:{},maxURILength:2e3,maxSendBayeuxMessageSize:8192,advice:{timeout:6e4,interval:0,reconnect:void 0,maxInterval:0}};function oe(te,Ee){try{return te[Ee]}catch(ne){return}}this._mixin=function(te,Ee,ne){const ae=Ee||{};for(let de=2;de<arguments.length;++de){const De=arguments[de];if(De!=null){for(let be in De)if(De.hasOwnProperty(be)){const Be=oe(De,be),Oe=oe(ae,be);if(Be===Ee||Be===void 0)continue;if(te&&typeof Be=="object"&&Be!==null)if(Be instanceof Array)ae[be]=this._mixin(te,Oe instanceof Array?Oe:[],Be);else{const ke=typeof Oe=="object"&&!(Oe instanceof Array)?Oe:{};ae[be]=this._mixin(te,ke,Be)}else ae[be]=Be}}}return ae};function se(te){return d.isString(te)}function he(te){return te>="A"&&te<="Z"?!0:te>="a"&&te<="z"}function fe(te){return te>="0"&&te<="9"}function le(te){switch(te){case" ":case"!":case"#":case"$":case"(":case")":case"*":case"+":case"-":case".":case"/":case"@":case"_":case"{":case"~":case"}":case":":case"\\":case",":return!0;default:return!1}}function ie(te){if(!se(te)||te.length<2||te.charAt(0)!=="/")return!1;for(let Ee=1;Ee<te.length;++Ee){const ne=te.charAt(Ee);if(!(he(ne)||fe(ne)||le(ne)))return!1}return!0}function re(te){return te==null?!1:typeof te=="function"}function ce(te,Ee){let ne="";for(;--Ee>0&&!(te>=Math.pow(10,Ee));)ne+="0";return ne+=te,ne}function ve(te,Ee){if(window.console){const ne=window.console[te];if(re(ne)){const ae=new Date;[].splice.call(Ee,0,0,ce(ae.getHours(),2)+":"+ce(ae.getMinutes(),2)+":"+ce(ae.getSeconds(),2)+"."+ce(ae.getMilliseconds(),3)),ne.apply(window.console,Ee)}}}this._warn=function(){ve("warn",arguments)},this._info=function(){ee.logLevel!=="warn"&&ve("info",arguments)},this._debug=function(){ee.logLevel==="debug"&&ve("debug",arguments)};function ge(te){return new RegExp("(^https?://)?(((\\[[^\\]]+])|([^:/?#]+))(:(\\d+))?)?([^?#]*)(.*)?").exec(te)}this._isCrossDomain=te=>window.location&&window.location.host&&te?te!==window.location.host:!1;function Te(te){f._debug("Configuring cometd object with",te),se(te)&&(te={url:te}),te||(te={}),ee=f._mixin(!1,ee,te);const Ee=f.getURL();if(!Ee)throw"Missing required configuration parameter 'url' specifying the Bayeux server URL";const ne=ge(Ee),ae=ne[2],de=ne[8],De=ne[9];if(m=f._isCrossDomain(ae),ee.appendMessageTypeToURL)if(De!==void 0&&De.length>0)f._info("Appending message type to URI "+de+De+" is not supported, disabling 'appendMessageTypeToURL' configuration"),ee.appendMessageTypeToURL=!1;else{const be=de.split("/");let Be=be.length-1;de.match(/\/$/)&&(Be-=1),be[Be].indexOf(".")>=0&&(f._info("Appending message type to URI "+de+" is not supported, disabling 'appendMessageTypeToURL' configuration"),ee.appendMessageTypeToURL=!1)}if(window.Worker&&window.Blob&&window.URL&&ee.useWorkerScheduler){let be=p.toString();be=be.substring(be.indexOf("{")+1,be.lastIndexOf("}"));const Be=new window.Blob([be],{type:"application/json"}),Oe=window.URL.createObjectURL(Be),ke=new window.Worker(Oe);v.setTimeout=(Ze,ut)=>{const Xe=v.register(Ze);return ke.postMessage({id:Xe,type:"setTimeout",delay:ut}),Xe},v.clearTimeout=Ze=>{v.unregister(Ze),ke.postMessage({id:Ze,type:"clearTimeout"})},ke.onmessage=Ze=>{const ut=Ze.data.id,Xe=v.unregister(ut);Xe&&Xe()}}}function Pe(te){if(te){const Ee=x[te.channel];Ee&&Ee[te.id]&&(delete Ee[te.id],f._debug("Removed",te.listener?"listener":"subscription",te))}}function Le(te){te&&!te.listener&&Pe(te)}function ct(){for(let te in x)if(x.hasOwnProperty(te)){const Ee=x[te];if(Ee)for(let ne in Ee)Ee.hasOwnProperty(ne)&&Le(Ee[ne])}}function st(te){I!==te&&(f._debug("Status",I,"->",te),I=te)}function ot(){return I==="disconnecting"||I==="disconnected"}function nt(){return""+ ++M}function Rt(te,Ee,ne,ae,de){try{return Ee.call(te,ae)}catch(De){const be=f.onExtensionException;if(re(be)){f._debug("Invoking extension exception handler",ne,De);try{be.call(f,De,ne,de,ae)}catch(Be){f._info("Exception during execution of extension exception handler",ne,Be)}}else f._info("Exception during execution of extension",ne,De);return ae}}function Yt(te){for(let Ee=0;Ee<j.length&&te!=null;++Ee){const ne=j[Ee],ae=ne.extension.incoming;if(re(ae)){const de=Rt(ne.extension,ae,ne.name,te,!1);te=de===void 0?te:de}}return te}function kt(te){for(let Ee=j.length-1;Ee>=0&&te!=null;--Ee){const ne=j[Ee],ae=ne.extension.outgoing;if(re(ae)){const de=Rt(ne.extension,ae,ne.name,te,!0);te=de===void 0?te:de}}return te}function Ft(te,Ee){const ne=x[te];if(ne){for(let ae in ne)if(ne.hasOwnProperty(ae)){const de=ne[ae];if(de)try{de.callback.call(de.scope,Ee)}catch(De){const be=f.onListenerException;if(re(be)){f._debug("Invoking listener exception handler",de,De);try{be.call(f,De,de,de.listener,Ee)}catch(Be){f._info("Exception during execution of listener exception handler",de,Be)}}else f._info("Exception during execution of listener",de,Ee,De)}}}}function Bt(te,Ee){Ft(te,Ee);const ne=te.split("/"),ae=ne.length-1;for(let de=ae;de>0;--de){let De=ne.slice(0,de).join("/")+"/*";de===ae&&Ft(De,Ee),De+="*",Ft(De,Ee)}}function me(){W!==null&&f.clearTimeout(W),W=null}function Ne(te,Ee){me();const ne=H.interval+Ee;f._debug("Function scheduled in",ne,"ms, interval =",H.interval,"backoff =",L,te),W=f.setTimeout(te,ne)}let Ve,et;function ze(te,Ee,ne){for(let De=0;De<te.length;++De){let be=te[De];const Be=be.id;R&&(be.clientId=R),be=kt(be),be!=null?(be.id=Be,te[De]=be):(delete V[Be],te.splice(De--,1))}if(te.length===0)return;Ee&&(q=te[0]);let ae=f.getURL();ee.appendMessageTypeToURL&&(ae.match(/\/$/)||(ae=ae+"/"),ne&&(ae=ae+ne));const de={url:ae,sync:!1,messages:te,onSuccess:De=>{try{Ve.call(f,De)}catch(be){f._info("Exception during handling of messages",be)}},onFailure:(De,be,Be)=>{try{const Oe=f.getTransport();Be.connectionType=Oe?Oe.getType():"unknown",et.call(f,De,be,Be)}catch(Oe){f._info("Exception during handling of failure",Oe)}}};f._debug("Send",de),w.send(de,Ee)}function pt(te){T>0||F===!0?N.push(te):ze([te],!1)}this.send=pt;function Et(){L=0}function It(){return L<ee.maxBackoff&&(L+=ee.backoffIncrement),L}function Nt(){++T,f._debug("Starting batch, depth",T)}function Vt(){const te=N;N=[],te.length>0&&ze(te,!1)}function cr(){if(--T,f._debug("Ending batch, depth",T),T<0)throw"Calls to startBatch() and endBatch() are not paired";T===0&&!ot()&&!F&&Vt()}function wn(){if(!ot()){const te={id:nt(),channel:"/meta/connect",connectionType:w.getType()};Z||(te.advice={timeout:0}),st("connecting"),f._debug("Connect sent",te),ze([te],!0,"connect"),st("connected")}}function On(te){st("connecting"),Ne(()=>{wn()},te)}function Ln(te){te&&(H=f._mixin(!1,{},ee.advice,te),f._debug("New advice",H))}function yn(te){if(me(),te&&w&&w.abort(),m=!1,w=null,st("disconnected"),R=null,T=0,Et(),X=!1,Z=!1,Y=0,q=null,N.length>0){const Ee=N;N=[],et.call(f,void 0,Ee,{reason:"Disconnected"})}}function or(te,Ee,ne){const ae=f.onTransportException;if(re(ae)){f._debug("Invoking transport exception handler",te,Ee,ne);try{ae.call(f,ne,te,Ee)}catch(de){f._info("Exception during execution of transport exception handler",de)}}}function cn(te,Ee){re(te)&&(Ee=te,te=void 0),R=null,ct(),ot()&&E.reset(!0),Ln({}),T=0,F=!0,K=te,$=Ee;const ne="1.0",ae=f.getURL(),de=E.findTransportTypes(ne,m,ae),De={id:nt(),version:ne,minimumVersion:ne,channel:"/meta/handshake",supportedConnectionTypes:de,advice:{timeout:H.timeout,interval:H.interval}},be=f._mixin(!1,{},K,De);if(f._putCallback(be.id,Ee),!w&&(w=E.negotiateTransport(de,ne,m,ae),!w)){const Be="Could not find initial transport among: "+E.getTransportTypes();throw f._warn(Be),Be}f._debug("Initial transport is",w.getType()),st("handshaking"),f._debug("Handshake sent",be),ze([be],!1,"handshake")}function wr(te){st("handshaking"),F=!0,Ne(()=>{cn(K,$)},te)}function Kn(te,Ee){try{te.call(f,Ee)}catch(ne){const ae=f.onCallbackException;if(re(ae)){f._debug("Invoking callback exception handler",ne);try{ae.call(f,ne,Ee)}catch(de){f._info("Exception during execution of callback exception handler",de)}}else f._info("Exception during execution of message callback",ne)}}this._getCallback=te=>V[te],this._putCallback=function(te,Ee){const ne=this._getCallback(te);return re(Ee)&&(V[te]=Ee),ne};function sn(te){const Ee=f._getCallback([te.id]);re(Ee)&&(delete V[te.id],Kn(Ee,te))}function Xn(te){const Ee=z[te.id];if(delete z[te.id],Ee){f._debug("Handling remote call response for",te,"with context",Ee);const ne=Ee.timeout;ne&&f.clearTimeout(ne);const ae=Ee.callback;if(re(ae))return Kn(ae,te),!0}return!1}this.onTransportFailure=function(te,Ee,ne){this._debug("Transport failure",Ee,"for",te);const ae=this.getTransportRegistry(),de=this.getURL(),De=this._isCrossDomain(ge(de)[2]),be="1.0",Be=ae.findTransportTypes(be,De,de);if(Ee.action==="none"){if(te.channel==="/meta/handshake"&&!Ee.transport){const Oe="Could not negotiate transport, client=["+Be+"], server=["+te.supportedConnectionTypes+"]";this._warn(Oe),or(w.getType(),null,{reason:Oe,connectionType:w.getType(),transport:w})}}else if(Ee.delay=this.getBackoffPeriod(),te.channel==="/meta/handshake"){if(!Ee.transport){const Oe=w?w.getType():null,ke=ae.negotiateTransport(Be,be,De,de);if(!ke)this._warn("Could not negotiate transport, client=["+Be+"]"),or(Oe,null,te.failure),Ee.action="none";else{const Ze=ke.getType();this._debug("Transport",Oe,"->",Ze),or(Oe,Ze,te.failure),Ee.action="handshake",Ee.transport=ke}}Ee.action!=="none"&&this.increaseBackoffPeriod()}else{const Oe=new Date().getTime();if(Y===0&&(Y=Oe),Ee.action==="retry"){Ee.delay=this.increaseBackoffPeriod();const ke=H.maxInterval;if(ke>0){const Ze=H.timeout+H.interval+ke;Oe-Y+L>Ze&&(Ee.action="handshake")}}Ee.action==="handshake"&&(Ee.delay=0,ae.reset(!1),this.resetBackoffPeriod())}ne.call(f,Ee)};function er(te){f._debug("Transport failure handling",te),te.transport&&(w=te.transport),te.url&&w.setURL(te.url);const Ee=te.action,ne=te.delay||0;switch(Ee){case"handshake":wr(ne);break;case"retry":On(ne);break;case"none":yn(!0);break;default:throw"Unknown action "+Ee}}function Un(te,Ee){sn(te),Bt("/meta/handshake",te),Bt("/meta/unsuccessful",te),ot()&&(Ee.action="none"),f.onTransportFailure.call(f,te,Ee,er)}function ye(te){const Ee=f.getURL();if(te.successful){const ne=f._isCrossDomain(ge(Ee)[2]),ae=E.negotiateTransport(te.supportedConnectionTypes,te.version,ne,Ee);if(ae===null){te.successful=!1,Un(te,{cause:"negotiation",action:"none",transport:null});return}else w!==ae&&(f._debug("Transport",w.getType(),"->",ae.getType()),w=ae);R=te.clientId,F=!1,Vt(),te.reestablish=X,X=!0,sn(te),Bt("/meta/handshake",te),Q=te["x-messages"]||0;const de=ot()?"none":H.reconnect||"retry";switch(de){case"retry":Et(),Q===0?On(0):f._debug("Processing",Q,"handshake-delivered messages");break;case"none":yn(!0);break;default:throw"Unrecognized advice action "+de}}else Un(te,{cause:"unsuccessful",action:H.reconnect||"handshake",transport:w})}function Ce(te){Un(te,{cause:"failure",action:"handshake",transport:null})}function Ie(te){return I==="disconnected"?!0:q&&q.id===te.id?(q=null,!0):!1}function Ke(te,Ee){Bt("/meta/connect",te),Bt("/meta/unsuccessful",te),ot()&&(Ee.action="none"),f.onTransportFailure.call(f,te,Ee,er)}function Je(te){if(Ie(te))if(Z=te.successful,Z){Bt("/meta/connect",te);const Ee=ot()?"none":H.reconnect||"retry";switch(Ee){case"retry":Et(),On(L);break;case"none":yn(!1);break;default:throw"Unrecognized advice action "+Ee}}else Ke(te,{cause:"unsuccessful",action:H.reconnect||"retry",transport:w});else f._debug("Mismatched /meta/connect reply",te)}function Qe(te){Ie(te)?(Z=!1,Ke(te,{cause:"failure",action:"retry",transport:null})):f._debug("Mismatched /meta/connect failure",te)}function Ge(te){yn(!0),sn(te),Bt("/meta/disconnect",te),Bt("/meta/unsuccessful",te)}function dt(te){te.successful?(yn(!1),sn(te),Bt("/meta/disconnect",te)):Ge(te)}function mt(te){Ge(te)}function Dt(te){const Ee=x[te.subscription];if(Ee){for(let ne in Ee)if(Ee.hasOwnProperty(ne)){const ae=Ee[ne];ae&&!ae.listener&&(delete Ee[ne],f._debug("Removed failed subscription",ae))}}sn(te),Bt("/meta/subscribe",te),Bt("/meta/unsuccessful",te)}function bt(te){te.successful?(sn(te),Bt("/meta/subscribe",te)):Dt(te)}function qt(te){Dt(te)}function $t(te){sn(te),Bt("/meta/unsubscribe",te),Bt("/meta/unsuccessful",te)}function Ht(te){te.successful?(sn(te),Bt("/meta/unsubscribe",te)):$t(te)}function Mt(te){$t(te)}function wt(te){Xn(te)||(sn(te),Bt("/meta/publish",te),Bt("/meta/unsuccessful",te))}function At(te){te.data!==void 0?Xn(te)||(Bt(te.channel,te),Q>0&&(--Q,Q===0&&(f._debug("Processed last handshake-delivered message"),On(0)))):te.successful===void 0?f._warn("Unknown Bayeux Message",te):te.successful?(sn(te),Bt("/meta/publish",te)):wt(te)}function it(te){wt(te)}function Ot(te){if(Y=0,te=Yt(te),te==null)return;switch(Ln(te.advice),te.channel){case"/meta/handshake":ye(te);break;case"/meta/connect":Je(te);break;case"/meta/disconnect":dt(te);break;case"/meta/subscribe":bt(te);break;case"/meta/unsubscribe":Ht(te);break;default:At(te);break}}this.receive=Ot,Ve=te=>{f._debug("Received",te);for(let Ee=0;Ee<te.length;++Ee){const ne=te[Ee];Ot(ne)}},et=(te,Ee,ne)=>{f._debug("handleFailure",te,Ee,ne),ne.transport=te;for(let ae=0;ae<Ee.length;++ae){const de=Ee[ae],De={id:de.id,successful:!1,channel:de.channel,failure:ne};switch(ne.message=de,de.channel){case"/meta/handshake":Ce(De);break;case"/meta/connect":Qe(De);break;case"/meta/disconnect":mt(De);break;case"/meta/subscribe":De.subscription=de.subscription,qt(De);break;case"/meta/unsubscribe":De.subscription=de.subscription,Mt(De);break;default:it(De);break}}};function en(te){const Ee=x[te];if(Ee){for(let ne in Ee)if(Ee.hasOwnProperty(ne)&&Ee[ne])return!0}return!1}function Se(te,Ee){const ne={scope:te,method:Ee};if(re(te))ne.scope=void 0,ne.method=te;else if(se(Ee)){if(!te)throw"Invalid scope "+te;if(ne.method=te[Ee],!re(ne.method))throw"Invalid callback "+Ee+" for scope "+te}else if(!re(Ee))throw"Invalid callback "+Ee;return ne}function Tt(te,Ee,ne,ae){const de=Se(Ee,ne);f._debug("Adding",ae?"listener":"subscription","on",te,"with scope",de.scope,"and callback",de.method);const De=++y,be={id:De,channel:te,scope:de.scope,callback:de.method,listener:ae};let Be=x[te];return Be||(Be={},x[te]=Be),Be[De]=be,f._debug("Added",ae?"listener":"subscription",be),be}this.registerTransport=function(te,Ee,ne){const ae=E.add(te,Ee,ne);return ae&&(this._debug("Registered transport",te),re(Ee.registered)&&Ee.registered(te,this)),ae},this.unregisterTransport=function(te){const Ee=E.remove(te);return Ee!==null&&(this._debug("Unregistered transport",te),re(Ee.unregistered)&&Ee.unregistered()),Ee},this.unregisterTransports=()=>{E.clear()},this.getTransportTypes=()=>E.getTransportTypes(),this.findTransport=te=>E.find(te),this.getTransportRegistry=()=>E,this.configure=function(te){Te.call(this,te)},this.init=function(te,Ee){this.configure(te),this.handshake(Ee)},this.handshake=(te,Ee)=>{if(I!=="disconnected")throw"Illegal state: handshaken";cn(te,Ee)},this.disconnect=function(te,Ee){if(ot())return;re(te)&&(Ee=te,te=void 0);const ne={id:nt(),channel:"/meta/disconnect"},ae=this._mixin(!1,{},te,ne);f._putCallback(ae.id,Ee),st("disconnecting"),ze([ae],!1,"disconnect")},this.startBatch=()=>{Nt()},this.endBatch=()=>{cr()},this.batch=function(te,Ee){const ne=Se(te,Ee);this.startBatch();try{ne.method.call(ne.scope),this.endBatch()}catch(ae){throw this._info("Exception during execution of batch",ae),this.endBatch(),ae}},this.addTransportListener=(te,Ee)=>{if(te!=="timeout")throw"Unsupported event "+te;let ne=O[te];ne||(O[te]=ne=[]),ne.push(Ee)},this.removeTransportListener=(te,Ee)=>{const ne=O[te];if(ne){const ae=ne.indexOf(Ee);if(ae>=0)return ne.splice(ae,1),!0}return!1},this._getTransportListeners=te=>O[te],this.addListener=function(te,Ee,ne){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!se(te))throw"Illegal argument type: channel must be a string";return Tt(te,Ee,ne,!0)},this.removeListener=te=>{if(!te||!te.channel||!("id"in te))throw"Invalid argument: expected subscription, not "+te;Pe(te)},this.clearListeners=()=>{x={}},this.subscribe=function(te,Ee,ne,ae,de){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!ie(te))throw"Illegal argument: invalid channel "+te;if(ot())throw"Illegal state: disconnected";re(Ee)&&(de=ae,ae=ne,ne=Ee,Ee=void 0),re(ae)&&(de=ae,ae=void 0);const De=!en(te),be=Tt(te,Ee,ne,!1);if(De){const Be={id:nt(),channel:"/meta/subscribe",subscription:te},Oe=this._mixin(!1,{},ae,Be);f._putCallback(Oe.id,de),pt(Oe)}else re(de)&&f.setTimeout(()=>{Kn(de,{id:nt(),successful:!0,channel:"/meta/subscribe",subscription:te})},0);return be},this.unsubscribe=function(te,Ee,ne){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(ot())throw"Illegal state: disconnected";re(Ee)&&(ne=Ee,Ee=void 0),this.removeListener(te);const ae=te.channel;if(en(ae))re(ne)&&f.setTimeout(()=>{Kn(ne,{id:nt(),successful:!0,channel:"/meta/unsubscribe",subscription:ae})},0);else{const de={id:nt(),channel:"/meta/unsubscribe",subscription:ae},De=this._mixin(!1,{},Ee,de);f._putCallback(De.id,ne),pt(De)}},this.resubscribe=function(te,Ee){if(Le(te),te)return this.subscribe(te.channel,te.scope,te.callback,Ee)},this.clearSubscriptions=()=>{ct()},this.publish=function(te,Ee,ne,ae){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(!ie(te))throw"Illegal argument: invalid channel "+te;if(/^\/meta\//.test(te))throw"Illegal argument: cannot publish to meta channels";if(ot())throw"Illegal state: disconnected";re(Ee)?(ae=Ee,Ee={},ne=void 0):re(ne)&&(ae=ne,ne=void 0);const de={id:nt(),channel:te,data:Ee},De=this._mixin(!1,{},ne,de);f._putCallback(De.id,ae),pt(De)},this.publishBinary=function(te,Ee,ne,ae,de,De){re(Ee)?(De=Ee,Ee=new ArrayBuffer(0),ne=!0,ae=void 0,de=void 0):re(ne)?(De=ne,ne=!0,ae=void 0,de=void 0):re(ae)?(De=ae,ae=void 0,de=void 0):re(de)&&(De=de,de=void 0);const be={meta:ae,data:Ee,last:ne},Be=this._mixin(!1,de,{ext:{binary:{}}});this.publish(te,be,Be,De)},this.remoteCall=function(te,Ee,ne,ae,de){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(!se(te))throw"Illegal argument type: target must be a string";if(ot())throw"Illegal state: disconnected";if(re(Ee)?(de=Ee,Ee={},ne=ee.maxNetworkDelay,ae=void 0):re(ne)?(de=ne,ne=ee.maxNetworkDelay,ae=void 0):re(ae)&&(de=ae,ae=void 0),typeof ne!="number")throw"Illegal argument type: timeout must be a number";te.match(/^\//)||(te="/"+te);const De="/service"+te;if(!ie(De))throw"Illegal argument: invalid target "+te;const be={id:nt(),channel:De,data:Ee},Be=this._mixin(!1,{},ae,be),Oe={callback:de};ne>0&&(Oe.timeout=f.setTimeout(()=>{f._debug("Timing out remote call",Be,"after",ne,"ms"),wt({id:Be.id,error:"406::timeout",successful:!1,failure:{message:Be,reason:"Remote Call Timeout"}})},ne),f._debug("Scheduled remote call timeout",Be,"in",ne,"ms")),z[Be.id]=Oe,pt(Be)},this.remoteCallBinary=function(te,Ee,ne,ae,de,De,be){re(Ee)?(be=Ee,Ee=new ArrayBuffer(0),ne=!0,ae=void 0,de=ee.maxNetworkDelay,De=void 0):re(ne)?(be=ne,ne=!0,ae=void 0,de=ee.maxNetworkDelay,De=void 0):re(ae)?(be=ae,ae=void 0,de=ee.maxNetworkDelay,De=void 0):re(de)?(be=de,de=ee.maxNetworkDelay,De=void 0):re(De)&&(be=De,De=void 0);const Be={meta:ae,data:Ee,last:ne},Oe=this._mixin(!1,De,{ext:{binary:{}}});this.remoteCall(te,Be,de,Oe,be)},this.getStatus=()=>I,this.isDisconnected=ot,this.setBackoffIncrement=te=>{ee.backoffIncrement=te},this.getBackoffIncrement=()=>ee.backoffIncrement,this.getBackoffPeriod=()=>L,this.increaseBackoffPeriod=()=>It(),this.resetBackoffPeriod=()=>{Et()},this.setLogLevel=te=>{ee.logLevel=te},this.registerExtension=function(te,Ee){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!se(te))throw"Illegal argument type: extension name must be a string";let ne=!1;for(let ae=0;ae<j.length;++ae)if(j[ae].name===te){ne=!0;break}return ne?(this._info("Could not register extension with name",te,"since another extension with the same name already exists"),!1):(j.push({name:te,extension:Ee}),this._debug("Registered extension",te),re(Ee.registered)&&Ee.registered(te,this),!0)},this.unregisterExtension=function(te){if(!se(te))throw"Illegal argument type: extension name must be a string";let Ee=!1;for(let ne=0;ne<j.length;++ne){const ae=j[ne];if(ae.name===te){j.splice(ne,1),Ee=!0,this._debug("Unregistered extension",te);const de=ae.extension;re(de.unregistered)&&de.unregistered();break}}return Ee},this.getExtension=te=>{for(let Ee=0;Ee<j.length;++Ee){const ne=j[Ee];if(ne.name===te)return ne.extension}return null},this.getName=()=>g,this.getClientId=()=>R,this.getURL=()=>{if(w){let te=w.getURL();if(te||(te=ee.urls[w.getType()],te))return te}return ee.url},this.getTransport=()=>w,this.getConfiguration=function(){return this._mixin(!0,{},ee)},this.getAdvice=function(){return this._mixin(!0,{},H)},this.setTimeout=(te,Ee)=>v.setTimeout(()=>{try{f._debug("Invoking timed function",te),te()}catch(ne){f._debug("Exception invoking timed function",te,ne)}},Ee),this.clearTimeout=te=>{v.clearTimeout(te)},window.WebSocket&&this.registerTransport("websocket",new s),this.registerTransport("long-polling",new r),this.registerTransport("callback-polling",new i)}const o=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",".","-",":","+","=","^","!","/","*","?","&","<",">","(",")","[","]","{","}","@","%","$","#"],u=[0,68,0,84,83,82,72,0,75,76,70,65,0,63,62,69,0,1,2,3,4,5,6,7,8,9,64,0,73,66,74,71,81,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,77,0,78,67,0,0,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,79,0,80,0,0],c={encode:h=>{let v=null;if(h instanceof ArrayBuffer?v=h:h.buffer instanceof ArrayBuffer?v=h.buffer:Array.isArray(h)&&(v=new Uint8Array(h).buffer),v==null)throw"Cannot Z85 encode "+h;const f=v.byteLength,g=f%4,m=4-(g===0?4:g),E=new DataView(v);let w="",I=0;for(let M=0;M<f+m;++M){const R=M>=f;if(I=I*256+(R?0:E.getUint8(M)),(M+1)%4===0){let T=52200625;for(let N=5;N>0;--N){if(!R||N>m){const F=Math.floor(I/T)%85;w+=o[F]}T/=85}I=0}}return w},decode:h=>{const v=h.length%5,f=5-(v===0?5:v);for(let R=0;R<f;++R)h+=o[o.length-1];const g=h.length,m=new ArrayBuffer(g*4/5-f),E=new DataView(m);let w=0,I=0,M=0;for(let R=0;R<g;++R){const T=h.charCodeAt(I++)-32;if(w=w*85+u[T],I%5===0){let N=16777216;for(;N>=1;)M<E.byteLength&&E.setUint8(M++,Math.floor(w/N)%256),N/=256;w=0}}return m}};return C.default={CometD:a,Transport:e,RequestTransport:t,LongPollingTransport:r,CallbackPollingTransport:i,WebSocketTransport:s,Utils:d,Z85:c},C.default},_,P),_.exports=S},6457:(_,P,l)=>{var b,S;b=[l(57987),l(74786),l(7835),l(86560),l(80675),l(95702),l(78013),l(65874),l(60493),l(18203),l(78602)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){r("mozilla","opera","webkit","ie","ie-6","ie-6-7","quirks","no-quirks","touch");var s="dgrid-row-odd",a="dgrid-row-even",o,u;function c(T){return document.getElementById(T)}function h(T){T.className="",document.body.removeChild(T)}function v(T,N){i(document.body,T,".dgrid-scrollbar-measure");var F=T["offset"+N]-T["client"+N];return h(T),F}n.add("dom-scrollbar-width",function(T,N,F){return v(F,"Width")}),n.add("dom-scrollbar-height",function(T,N,F){return v(F,"Height")}),n.add("dom-rtl-scrollbar-left",function(T,N,F){var y=i("div"),x;return i(document.body,F,".dgrid-scrollbar-measure[dir=rtl]"),i(F,y),x=!!n("ie")||!!n("trident")||y.offsetLeft>=n("dom-scrollbar-width"),h(F),i(y,"!"),F.removeAttribute("dir"),x});var f=0;function g(){return"dgrid_"+f++}var m=/ +/g;function E(T){var N=T?"."+T.replace(m,"."):"";this._class&&(N="!"+this._class.replace(m,"!")+N),i(this.domNode,N),this._class=T}function w(){return this._class}var I=n("ie")<7&&!n("quirks")?function(){var T,N,F,y;this._started&&(T=document.documentElement,N=T.clientWidth,F=T.clientHeight,y=this._prevWinDims||[],(y[0]!==N||y[1]!==F)&&(this.resize(),this._prevWinDims=[N,F]))}:function(){this._started&&this.resize()};function M(){return{x:this.bodyNode.scrollLeft,y:this.bodyNode.scrollTop}}function R(T){typeof T.x<"u"&&(this.bodyNode.scrollLeft=T.x),typeof T.y<"u"&&(this.bodyNode.scrollTop=T.y)}return A(n("touch")?t:null,{tabableHeader:!1,showHeader:!1,showFooter:!1,maintainOddEven:!0,cleanAddedRules:!0,useTouchScroll:null,addUiClasses:!0,cleanEmptyObservers:!0,highlightDuration:250,postscript:function(T,N){var F=this;(this._Row=function(y,x,O){this.id=y,this.data=x,this.element=O}).prototype.remove=function(){F.removeRow(this.element)},N&&(this.srcNodeRef=N=N.nodeType?N:c(N)),this.create(T,N)},listType:"list",create:function(T,N){var F=this.domNode=N||i("div"),y;T?(this.params=T,A.safeMixin(this,T),y=T.class||T.className||F.className,this._sort=T.sort||[],delete this.sort):this._sort=[],this.observers=[],this._numObservers=0,this._listeners=[],this._rowIdToObject={},this.postMixInProperties&&this.postMixInProperties(),this.id=F.id=F.id||this.id||g(),this.useTouchScroll===null&&(this.useTouchScroll=!n("dom-scrollbar-width")),this.buildRendering(),y&&E.call(this,y),this.postCreate(),delete this.srcNodeRef,this.domNode.offsetHeight&&this.startup()},buildRendering:function(){var T=this.domNode,N=this.addUiClasses,F=this,y,x,O,L,W;W=this.isRTL=(document.body.dir||document.documentElement.dir||document.body.style.direction).toLowerCase()=="rtl",T.className="",i(T,"[role=grid].dgrid.dgrid-"+this.listType+(N?".ui-widget":"")),y=this.headerNode=i(T,"div.dgrid-header.dgrid-header-row"+(N?".ui-widget-header":"")+(this.showHeader?"":".dgrid-header-hidden")),(n("quirks")||n("ie")<8)&&(x=i(T,"div.dgrid-spacer")),O=this.bodyNode=i(T,"div.dgrid-scroller"),n("ff")&&(O.tabIndex=-1),this.headerScrollNode=i(T,"div.dgrid-header.dgrid-header-scroll.dgrid-scrollbar-width"+(N?".ui-widget-header":"")),L=this.footerNode=i("div.dgrid-footer"+(this.showFooter?"":".dgrid-footer-hidden")),i(T,L),W&&(T.className+=" dgrid-rtl"+(n("dom-rtl-scrollbar-left")?" dgrid-rtl-swap":"")),d(O,"scroll",function(j){F.showHeader&&(y.scrollLeft=j.scrollLeft||O.scrollLeft),j.stopPropagation(),d.emit(T,"scroll",{scrollTarget:O})}),this.configStructure(),this.renderHeader(),this.contentNode=this.touchNode=i(this.bodyNode,"div.dgrid-content"+(N?".ui-widget-content":"")),this._listeners.push(this._resizeHandle=d(window,"resize",e.throttleDelayed(I,this)))},postCreate:n("touch")?function(){this.useTouchScroll&&this.inherited(arguments)}:function(){},startup:function(){this._started||(this.inherited(arguments),this._started=!0,this.resize(),this.set("sort",this._sort))},configStructure:function(){},resize:function(){var T=this.bodyNode,N=this.headerNode,F=this.footerNode,y=N.offsetHeight,x=this.showFooter?F.offsetHeight:0,O=n("quirks")||n("ie")<7;this.headerScrollNode.style.height=T.style.marginTop=y+"px",T.style.marginBottom=x+"px",O&&(T.style.height="",T.style.height=Math.max(this.domNode.offsetHeight-y-x,0)+"px",x&&(F.style.bottom="1px",setTimeout(function(){F.style.bottom=""},0))),o||(o=n("dom-scrollbar-width"),u=n("dom-scrollbar-height"),n("ie")&&(o++,u++),e.addCssRule(".dgrid-scrollbar-width","width: "+o+"px"),e.addCssRule(".dgrid-scrollbar-height","height: "+u+"px"),o!=17&&!O&&(e.addCssRule(".dgrid-header-row","right: "+o+"px"),e.addCssRule(".dgrid-rtl-swap .dgrid-header-row","left: "+o+"px"))),O&&(N.style.width=T.clientWidth+"px",setTimeout(function(){N.scrollLeft=T.scrollLeft},0))},addCssRule:function(T,N){var F=e.addCssRule(T,N);return this.cleanAddedRules&&this._listeners.push(F),F},on:function(T,N){var F=d(this.domNode,T,N);return n("dom-addeventlistener")||this._listeners.push(F),F},cleanup:function(){var T=this.observers,N;for(N in this._rowIdToObject)if(this._rowIdToObject[N]!=this.columns){var F=c(N);F&&this.removeRow(F,!0)}for(N=0;N<T.length;N++){var y=T[N];y&&y.cancel()}this.observers=[],this._numObservers=0,this.preload=null},destroy:function(){if(this._listeners){for(var T=this._listeners.length;T--;)this._listeners[T].remove();delete this._listeners}this._started=!1,this.cleanup(),i(this.domNode,"!"),this.useTouchScroll&&this.inherited(arguments)},refresh:function(){this.cleanup(),this._rowIdToObject={},this._autoId=0,this.contentNode.innerHTML="",this.scrollTo({x:0,y:0})},newRow:function(T,N,F,y,x){if(N){var O=this.insertRow(T,N,F,y,x);return i(O,".dgrid-highlight"+(this.addUiClasses?".ui-state-highlight":"")),setTimeout(function(){i(O,"!dgrid-highlight!ui-state-highlight")},this.highlightDuration),O}},adjustRowIndices:function(T){var N=T,F=N.rowIndex;if(F>-1)do N.rowIndex>-1&&(this.maintainOddEven&&(N.className+" ").indexOf("dgrid-row ")>-1&&i(N,"."+(F%2==1?s:a)+"!"+(F%2==0?s:a)),N.rowIndex=F++);while((N=N.nextSibling)&&N.rowIndex!=F)},renderArray:function(T,N,F){F=F||{};var y=this,x=F.start||0,O=this.observers,L,W,j;if(N||(this._lastCollection=T),T.observe){y._numObservers++;var H=T.observe(function(oe,se,he){var fe,le,ie,re;function ce(){ie=(ie.connected||ie).nextSibling}if(se>-1&&L[se]&&(fe=L.splice(se,1)[0],fe.parentNode==W&&(le=fe.nextSibling,le&&se!=he&&le.rowIndex--,y.removeRow(fe)),F.count--,y._processScroll&&y._processScroll()),he>-1){if(L.length?he===0?(ie=L[he],ie=ie&&z(ie)):(ie=L[he-1],ie&&(ie=z(ie),ce())):ie=y._getFirstRowSibling&&y._getFirstRowSibling(W),fe&&ie&&fe.id===ie.id&&ce(),ie&&!ie.parentNode&&(ie=c(ie.id)),re=N&&N.parentNode||ie&&ie.parentNode||y.contentNode,fe=y.newRow(oe,re,ie,F.start+he,F),fe&&(fe.observerIndex=j,L.splice(he,0,fe),!le||he<se)){var ve=fe.previousSibling;le=!ve||ve.rowIndex+1==fe.rowIndex||fe.rowIndex==0?fe:ve}F.count++}se===0?V(1,1):se===T.length-(he===-1?0:1)&&V(0,0),se!=he&&le&&y.adjustRowIndices(le),y._onNotification(L,oe,se,he)},!0);j=O.push(H)-1}var K=document.createDocumentFragment(),$;function V(){var oe=arguments;if(j>-1)for(var se=0;se<oe.length;se++){var he=oe[se],fe=L[he?0:L.length-1];if(fe=fe&&z(fe),fe){var le=fe[he?"previousSibling":"nextSibling"];if(le&&(le=y.row(le)),le&&le.element!=fe){var ie=he?"unshift":"push";T[ie](le.data),L[ie](le.element),F.count++}}}}function z(oe){return!p.isDescendant(oe,y.domNode)&&c(oe.id)?y.row(oe.id.slice(y.id.length+5)).element:oe}function X(oe){return $=y.insertRow(oe,K,null,x++,F),$.observerIndex=j,$}function Z(oe){if(typeof j<"u"&&(O[j].cancel(),O[j]=0,y._numObservers--),oe)throw oe}var Y;function Q(oe){Y=oe.slice(0),W=N?N.parentNode:y.contentNode,W&&W.parentNode&&(W!==y.contentNode||oe.length)?(W.insertBefore(K,N||null),$=oe[oe.length-1],$&&y.adjustRowIndices($)):O[j]&&y.cleanEmptyObservers&&Z(),L=oe,H&&(H.rows=L)}if(T.map){if(L=T.map(X,console.error),L.then)return T.then(function(oe){return T=oe,L.then(function(se){return Q(se),V(1,1,0,0),Y})})}else{L=[];for(var q=0,ee=T.length;q<ee;q++)L[q]=X(T[q])}return Q(L),V(1,1,0,0),Y},_onNotification:function(T,N,F,y){},renderHeader:function(){},_autoId:0,insertRow:function(T,N,F,y,x){var O=x.parentId,L=this.id+"-row-"+(O?O+"-":"")+(this.store&&this.store.getIdentity?this.store.getIdentity(T):this._autoId++),W=c(L),j=W&&W.previousSibling;return W&&(W===F&&(F=(F.connected||F).nextSibling),this.removeRow(W)),W=this.renderRow(T,x),W.className=(W.className||"")+" dgrid-row "+(y%2==1?s:a)+(this.addUiClasses?" ui-state-default":""),this._rowIdToObject[W.id=L]=T,N.insertBefore(W,F||null),j&&this.adjustRowIndices(j),W.rowIndex=y,W},renderRow:function(T,N){return i("div",""+T)},removeRow:function(T,N){T=T.element||T,delete this._rowIdToObject[T.id],N||i(T,"!")},row:function(T){var N;if(T instanceof this._Row)return T;if(T.target&&T.target.nodeType&&(T=T.target),T.nodeType){var F;do{var y=T.id;if(F=this._rowIdToObject[y])return new this._Row(y.substring(this.id.length+5),F,T);T=T.parentNode}while(T&&T!=this.domNode);return}return typeof T=="object"?N=this.store.getIdentity(T):(N=T,T=this._rowIdToObject[this.id+"-row-"+N]),new this._Row(N,T,c(this.id+"-row-"+N))},cell:function(T){return{row:this.row(T)}},_move:function(T,N,F,y){var x,O,L;L=O=T.element,N=N||1;do if(x=O[N<0?"previousSibling":"nextSibling"])do if(O=x,O&&(O.className+" ").indexOf(F+" ")>-1){L=O,N+=N<0?1:-1;break}while(x=(!y||!O.hidden)&&O[N<0?"lastChild":"firstChild"]);else if(O=O.parentNode,!O||O===this.bodyNode||O===this.headerNode)break;while(N);return L},up:function(T,N,F){return T.element||(T=this.row(T)),this.row(this._move(T,-(N||1),"dgrid-row",F))},down:function(T,N,F){return T.element||(T=this.row(T)),this.row(this._move(T,N||1,"dgrid-row",F))},scrollTo:n("touch")?function(T){return this.useTouchScroll?this.inherited(arguments):R.call(this,T)}:R,getScrollPosition:n("touch")?function(){return this.useTouchScroll?this.inherited(arguments):M.call(this)}:M,get:function(T){var N="_get"+T.charAt(0).toUpperCase()+T.slice(1);return typeof this[N]=="function"?this[N].apply(this,[].slice.call(arguments,1)):(!n("dojo-built")&&typeof this[N+"Attr"]=="function"&&console.warn("dgrid: Use "+N+" instead of "+N+"Attr for getting "+T),this[T])},set:function(T,N){if(typeof T=="object")for(var F in T)this.set(F,T[F]);else{var y="_set"+T.charAt(0).toUpperCase()+T.slice(1);typeof this[y]=="function"?this[y].apply(this,[].slice.call(arguments,1)):(!n("dojo-built")&&typeof this[y+"Attr"]=="function"&&console.warn("dgrid: Use "+y+" instead of "+y+"Attr for setting "+T),this[T]=N)}return this},_getClass:w,_setClass:E,_getClassName:w,_setClassName:E,_setSort:function(T,N){this._sort=typeof T!="string"?T:[{attribute:T,descending:N}],this.refresh(),this._lastCollection&&(T.length&&(typeof T!="string"&&(N=T[0].descending,T=T[0].attribute),this._lastCollection.sort(function(F,y){var x=F[T],O=y[T];return x===void 0&&(x=""),O===void 0&&(O=""),x==O?0:x>O==!N?1:-1})),this.renderArray(this._lastCollection))},sort:function(T,N){C.deprecated("sort(...)",'use set("sort", ...) instead',"dgrid 0.4"),this.set("sort",T,N)},_getSort:function(){return this._sort},_setShowHeader:function(T){var N=this.headerNode;this.showHeader=T,i(N,(T?"!":".")+"dgrid-header-hidden"),this.renderHeader(),this.resize(),T&&(N.scrollLeft=this.getScrollPosition().x)},setShowHeader:function(T){C.deprecated("setShowHeader(...)",'use set("showHeader", ...) instead',"dgrid 0.4"),this.set("showHeader",T)},_setShowFooter:function(T){this.showFooter=T,i(this.footerNode,(T?"!":".")+"dgrid-footer-hidden"),this.resize()}})},_,P),_.exports=S},14678:(_,P,l)=>{var b,S;b=[l(6457),l(10571),l(74786),l(69961),l(67324),l(7835),l(86560),l(95702),l(60493)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){return p([C,A],{minRowsPerPage:25,maxRowsPerPage:250,maxEmptySpace:1/0,bufferRows:10,farOffRemoval:2e3,queryRowsOverlap:0,pagingMethod:"debounce",pagingDelay:r.defaultDelay,keepScrollPosition:!1,rowHeight:22,postCreate:function(){this.inherited(arguments);var s=this;t(this.bodyNode,"scroll",r[this.pagingMethod](function(a){s._processScroll(a)},null,this.pagingDelay))},renderQuery:function(s,a){var o=this,u=a&&a.container||this.contentNode,c={query:s,count:0,options:a},h,v=this.preload,f,g={node:i(u,"div.dgrid-preload",{rowIndex:0}),count:0,query:s,next:c,options:a};g.node.style.height="0",c.node=h=i(u,"div.dgrid-preload"),c.previous=g,h.rowIndex=this.minRowsPerPage,v?((c.next=v.next)&&h.offsetTop>=v.node.offsetTop?c.previous=v:(c.next=v,c.previous=v.previous),c.previous.next=c,c.next.previous=c):this.preload=c;var m=i(h,"-div.dgrid-loading"),E=i(m,"div.dgrid-below");E.innerHTML=this.loadingMessage;function w(I){if(i(m,"!"),I)throw o._refreshDeferred&&(o._refreshDeferred.reject(I),delete o._refreshDeferred),I}if(a=d.mixin(this.get("queryOptions"),a,{start:0,count:this.minRowsPerPage},"level"in s?{queryLevel:s.level}:null),this._trackError(function(){return f=s(a)}),typeof f>"u"){w();return}return n.when(o.renderArray(f,h,a),function(I){var M=typeof f.total>"u"?f.length:f.total;return n.when(M,function(R){var T=I.length,N=h.parentNode,F=o.noDataNode;i(m,"!"),"queryLevel"in a||(o._total=R),R===0&&(F&&(i(F,"!"),delete o.noDataNode),o.noDataNode=F=i("div.dgrid-no-data"),N.insertBefore(F,o._getFirstRowSibling(N)),F.innerHTML=o.noDataMessage);for(var y=0,x=0;x<T;x++)y+=o._calcRowHeight(I[x]);return T&&y&&(o.rowHeight=y/T),R-=T,c.count=R,h.rowIndex=T,R?h.style.height=Math.min(R*o.rowHeight,o.maxEmptySpace)+"px":(h.style.display="none",a.count++),o._previousScrollPosition&&(o.scrollTo(o._previousScrollPosition),delete o._previousScrollPosition),o._processScroll(),o._refreshDeferred&&(o._refreshDeferred.resolve(f),delete o._refreshDeferred),I},w)},w),f},refresh:function(s){var a=this,o=s&&s.keepScrollPosition,u,c;if(typeof o>"u"&&(o=this.keepScrollPosition),o&&(this._previousScrollPosition=this.getScrollPosition()),this.inherited(arguments),this.store)return u=this._refreshDeferred=new n,c=a.renderQuery(function(h){return a.store.query(a.query,h)}),typeof c>"u"&&u.reject(),u.then(function(h){return setTimeout(function(){t.emit(a.domNode,"dgrid-refresh-complete",{bubbles:!0,cancelable:!1,grid:a,results:h})},0),delete a._refreshDeferred,h},function(h){throw delete a._refreshDeferred,h})},resize:function(){this.inherited(arguments),this._processScroll()},_getFirstRowSibling:function(s){return s.lastChild},_calcRowHeight:function(s){var a=s.nextSibling;return a&&!/\bdgrid-preload\b/.test(a.className)?a.offsetTop-s.offsetTop:s.offsetHeight},lastScrollTop:0,_processScroll:function(s){var a=this,o=a.bodyNode,u=s&&s.scrollTop||this.getScrollPosition().y,c=o.offsetHeight+u,h,v,f=a.preload,g=a.lastScrollTop,m=a.bufferRows*a.rowHeight,E=m-a.rowHeight,w,I,M,R=!0,T=1;a.lastScrollTop=u;function N(ee,oe,se,he){var fe=a.farOffRemoval,le=ee.node;if(oe>2*fe){for(var ie,re=le[se],ce=0,ve=0,ge=[];ie=re;){var Te=a._calcRowHeight(ie);if(ce+Te+fe>oe||re.className.indexOf("dgrid-row")<0&&re.className.indexOf("dgrid-loading")<0)break;var re=ie[se];ce+=Te,ve+=ie.count||1,a.removeRow(ie,!0),ge.push(ie)}ee.count+=ve,he?(le.rowIndex-=ve,F(ee)):le.style.height=le.offsetHeight+ce+"px";var Pe=i("div",ge);setTimeout(function(){i(Pe,"!")},1)}}function F(ee,oe){ee.node.style.height=Math.min(ee.count*a.rowHeight,oe?1/0:a.maxEmptySpace)+"px"}function y(ee,oe){do ee=oe?ee.next:ee.previous;while(ee&&!ee.node.offsetWidth);return ee}for(;f&&!f.node.offsetWidth;)f=f.previous;for(;f&&f!=h;){h=a.preload,a.preload=f,v=f.node;var x=v.offsetTop,O;if(c+T+E<x)f=y(f,R=!1);else if(u-T-E>x+(O=v.offsetHeight))f=y(f,R=!0);else{var L=((v.rowIndex?u-m:c)-x)/a.rowHeight,W=(c-u+2*m)/a.rowHeight,j=Math.max(Math.min((u-g)*a.rowHeight,a.maxRowsPerPage/2),a.maxRowsPerPage/-2);if(W+=Math.min(Math.abs(j),10),v.rowIndex==0&&(L-=W),L=Math.max(L,0),L<10&&L>0&&W+L<a.maxRowsPerPage&&(W+=Math.max(0,L),L=0),W=Math.min(Math.max(W,a.minRowsPerPage),a.maxRowsPerPage,f.count),W==0){f=y(f,R);continue}W=Math.ceil(W),L=Math.min(Math.floor(L),f.count-W);var H=d.mixin(a.get("queryOptions"),f.options);f.count-=W;var K=v,$,V=a.queryRowsOverlap,z=(v.rowIndex>0||v.offsetTop>u)&&f;if(z){var X=f.previous;X&&(N(X,u-(X.node.offsetTop+X.node.offsetHeight),"nextSibling"),L>0&&X.node==v.previousSibling?(L=Math.min(f.count,L),f.previous.count+=L,F(f.previous,!0),v.rowIndex+=L,V=0):W+=L,f.count-=L),H.start=v.rowIndex-V,H.count=Math.min(W+V,a.maxRowsPerPage),v.rowIndex=H.start+H.count}else{if(f.next){N(f.next,f.next.node.offsetTop-c,"previousSibling",!0);var K=v.nextSibling;K==f.next.node?(f.next.count+=f.count-L,f.next.node.rowIndex=L+W,F(f.next),f.count=L,V=0):$=!0}H.start=f.count,H.count=Math.min(W+V,a.maxRowsPerPage)}if($&&K&&K.offsetWidth&&($=K.offsetTop),F(f),"level"in f.query&&(H.queryLevel=f.query.level),!("queryLevel"in H)&&(H.start>a._total||H.count<0))continue;var Z=i(K,"-div.dgrid-loading[style=height:"+W*a.rowHeight+"px]"),Y=i(Z,"div.dgrid-"+(z?"below":"above"));Y.innerHTML=a.loadingMessage,Z.count=W;var Q=f.query(H),q=a._trackError(function(){return Q});if(q===void 0){i(Z,"!");return}(function(ee,oe,se,he){M=n.when(a.renderArray(he,ee,H),function(fe){if(I=he,K=ee.nextSibling,i(ee,"!"),se&&K&&K.offsetWidth){var le=a.getScrollPosition();a.scrollTo({x:le.x,y:le.y+K.offsetTop-se,preserveMomentum:!0})}return n.when(he.total||he.length,function(ie){"queryLevel"in H||(a._total=ie),oe&&(oe.count=ie-oe.node.rowIndex,oe.count===0&&H.count++,F(oe))}),a._processScroll(),fe},function(fe){throw i(ee,"!"),fe})}).call(this,Z,z,$,Q),f=f.previous}}M&&(w=this._refreshDeferred)&&(delete this._refreshDeferred,n.when(M,function(){w.resolve(I)}))},removeRow:function(s,a){function o(I,M){return I!=null?I:M}if(s){var u=s.previousSibling,c=s.nextSibling,h=u&&o(u.observerIndex,u.previousObserverIndex),v=c&&o(c.observerIndex,c.nextObserverIndex),f=s.observerIndex;if(s.observerIndex=void 0,a&&(s.nextObserverIndex=v,s.previousObserverIndex=h),this.cleanEmptyObservers&&f>-1&&f!==h&&f!==v){var g=this.observers,m=g[f];if(m){if(!a){for(var E=m.rows,w=0;w<E.length;w++)if(E[w]!=s&&e.isDescendant(E[w],this.domNode))return this.inherited(arguments)}m.cancel(),this._numObservers--,g[f]=0}}}this.inherited(arguments)}})},_,P),_.exports=S},83097:(_,P,l)=>{var b,S;b=[l(57987),l(74786),l(67324),l(86560),l(80675),l(76873),l(6457),l(42241),l(86023),l(60493),l(11278),l(18203)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){n.add("dom-comparedocumentposition",function(m,E,w){return!!w.compareDocumentPosition}),n.add("css-user-select",function(m,E,w){var I=w.style,M=["Khtml","O","ms","Moz","Webkit"],R=M.length,T="userSelect";do if(typeof I[T]<"u")return T;while(R--&&(T=M[R]+"UserSelect"));return!1}),n.add("dom-selectstart",typeof document.onselectstart<"u");var a=n("mac")?"metaKey":"ctrlKey",o=n("css-user-select"),u=r.pointer,c=r.MSPointer,h=u?u+(c?"Down":"down"):"mousedown",v=u?u+(c?"Up":"up"):"mouseup";function f(m,E){for(var w=m.unselectable=E?"on":"",I=m.getElementsByTagName("*"),M=I.length;--M;)I[M].tagName==="INPUT"||I[M].tagName==="TEXTAREA"||(I[M].unselectable=w)}function g(m,E){var w=m.bodyNode,I=E?"text":n("ff")<21?"-moz-none":"none";o&&o!=="msUserSelect"?w.style[o]=I:n("dom-selectstart")?!E&&!m._selectstartHandle?m._selectstartHandle=d(w,"selectstart",function(M){var R=M.target&&M.target.tagName;R!=="INPUT"&&R!=="TEXTAREA"&&M.preventDefault()}):E&&m._selectstartHandle&&(m._selectstartHandle.remove(),delete m._selectstartHandle):(f(w,!E),!E&&!m._unselectableHandle?m._unselectableHandle=e.after(m,"renderRow",function(M){return f(M,!0),M}):E&&m._unselectableHandle&&(m._unselectableHandle.remove(),delete m._unselectableHandle))}return A(null,{selectionDelegate:".dgrid-row",selectionEvents:h+","+v+",dgrid-cellfocusin",selectionTouchEvents:n("touch")?i.tap:null,deselectOnRefresh:!0,allowSelectAll:!1,selection:{},selectionMode:"extended",allowTextSelection:void 0,_selectionTargetType:"rows",create:function(){return this.selection={},this.inherited(arguments)},postCreate:function(){this.inherited(arguments),this._initSelectionEvents();var m=this.selectionMode;this.selectionMode="",this._setSelectionMode(m)},destroy:function(){this.inherited(arguments),this._selectstartHandle&&this._selectstartHandle.remove(),this._unselectableHandle&&this._unselectableHandle.remove(),this._removeDeselectSignals&&this._removeDeselectSignals()},_setSelectionMode:function(m){m!=this.selectionMode&&(this.clearSelection(),this.selectionMode=m,this._selectionHandlerName="_"+m+"SelectionHandler",this._setAllowTextSelection(this.allowTextSelection))},setSelectionMode:function(m){C.deprecated("setSelectionMode(...)",'use set("selectionMode", ...) instead',"dgrid 0.4"),this.set("selectionMode",m)},_setAllowTextSelection:function(m){typeof m<"u"?g(this,m):g(this,this.selectionMode==="none"),this.allowTextSelection=m},_handleSelect:function(m,E){!this[this._selectionHandlerName]||!this.allowSelect(this.row(E))||m.type==="dgrid-cellfocusin"&&m.parentType===h||m.type===v&&E!=this._waitForMouseUp||(this._waitForMouseUp=null,this._selectionTriggerEvent=m,(!m.keyCode||!m.ctrlKey||m.keyCode==32)&&(!m.shiftKey&&m.type===h&&this.isSelected(E)?this._waitForMouseUp=E:this[this._selectionHandlerName](m,E)),this._selectionTriggerEvent=null)},_singleSelectionHandler:function(m,E){var w=m.keyCode?m.ctrlKey:m[a];this._lastSelected===E?this.select(E,null,!w||!this.isSelected(E)):(this.clearSelection(),this.select(E),this._lastSelected=E)},_multipleSelectionHandler:function(m,E){var w=this._lastSelected,I=m.keyCode?m.ctrlKey:m[a],M;m.shiftKey||(M=I?null:!0,w=null),this.select(E,w,M),w||(this._lastSelected=E)},_extendedSelectionHandler:function(m,E){(m.button===2?!this.isSelected(E):!(m.keyCode?m.ctrlKey:m[a]))&&this.clearSelection(null,!0),this._multipleSelectionHandler(m,E)},_toggleSelectionHandler:function(m,E){this.select(E,null,null)},_initSelectionEvents:function(){var m=this,E=this.contentNode,w=this.selectionDelegate;this._selectionEventQueues={deselect:[],select:[]},n("touch")&&!n("pointer")&&this.selectionTouchEvents?(d(E,i.selector(w,this.selectionTouchEvents),function(I){m._handleSelect(I,this),m._ignoreMouseSelect=this}),d(E,d.selector(w,this.selectionEvents),function(I){m._ignoreMouseSelect!==this?m._handleSelect(I,this):I.type===v&&(m._ignoreMouseSelect=null)})):d(E,d.selector(w,this.selectionEvents),function(I){m._handleSelect(I,this)}),this.addKeyHandler&&this.addKeyHandler(32,function(I){m._handleSelect(I,I.target)}),this.allowSelectAll&&this.on("keydown",function(I){I[a]&&I.keyCode==65&&!/\bdgrid-input\b/.test(I.target.className)&&(I.preventDefault(),m[m.allSelected?"clearSelection":"selectAll"]())}),this._setStore&&e.after(this,"_setStore",function(){m._updateDeselectionAspect()}),this._updateDeselectionAspect()},_updateDeselectionAspect:function(){var m=this,E=this.store,w,I;function M(R,T,N){var F=T||R&&R[m.idProperty||"id"];if(F!=null){var y=m.row(F),x=y&&m.selection[y.id];x&&m[N](y,null,x)}}this._removeDeselectSignals&&this._removeDeselectSignals(),E&&E.notify?(w=e.before(E,"notify",function(R,T){R||M(R,T,"deselect")}),I=e.after(E,"notify",function(R,T){M(R,T,"select")},!0),this._removeDeselectSignals=function(){w.remove(),I.remove()}):(w=e.before(this,"removeRow",function(R,T){var N;T||(N=this.row(R),N&&N.id in this.selection&&this.deselect(N))}),this._removeDeselectSignals=function(){w.remove()})},allowSelect:function(m){return!0},_fireSelectionEvent:function(m){var E=this._selectionEventQueues[m],w=this._selectionTriggerEvent,I;I={bubbles:!0,grid:this},w&&(I.parentType=w.type),I[this._selectionTargetType]=E,d.emit(this.contentNode,"dgrid-"+m,I),this._selectionEventQueues[m]=[]},_fireSelectionEvents:function(){var m=this._selectionEventQueues,E;for(E in m)m[E].length&&this._fireSelectionEvent(E)},_select:function(m,E,w){var I,M,R,T,N;if(typeof w>"u"&&(w=!0),m.element||(m=this.row(m)),(w===!1||this.allowSelect(m))&&(I=this.selection,M=!!I[m.id],w===null&&(w=!M),R=m.element,!w&&!this.allSelected?delete this.selection[m.id]:I[m.id]=w,R&&(w?s(R,".dgrid-selected"+(this.addUiClasses?".ui-state-active":"")):s(R,"!dgrid-selected!ui-state-active")),w!==M&&R&&this._selectionEventQueues[(w?"":"de")+"select"].push(m),E)){if(E.element||(E=this.row(E)),!E){this._lastSelected=R,console.warn("The selection range has been reset because the beginning of the selection is no longer in the DOM. If you are using OnDemandList, you may wish to increase farOffRemoval to avoid this, but note that keeping more nodes in the DOM may impact performance.");return}if(T=E.element,T)for(N=this._determineSelectionDirection(R,T),N||(T=document.getElementById(T.id),N=this._determineSelectionDirection(R,T));m.element!=T&&(m=this[N](m));)this._select(m,null,w)}},_determineSelectionDirection:n("dom-comparedocumentposition")?function(m,E){var w=E.compareDocumentPosition(m);return w&1?!1:w===2?"down":"up"}:function(m,E){return E.sourceIndex<1?!1:E.sourceIndex>m.sourceIndex?"down":"up"},select:function(m,E,w){this._select(m,E,w),this._fireSelectionEvents()},deselect:function(m,E){this.select(m,E,!1)},clearSelection:function(m,E){this.allSelected=!1;for(var w in this.selection)m!==w&&this._select(w,null,!1);E||(this._lastSelected=null),this._fireSelectionEvents()},selectAll:function(){this.allSelected=!0,this.selection={};for(var m in this._rowIdToObject){var E=this.row(this._rowIdToObject[m]);this._select(E.id,null,!0)}this._fireSelectionEvents()},isSelected:function(m){return typeof m>"u"||m===null?!1:(m.element||(m=this.row(m)),m.id in this.selection?!!this.selection[m.id]:this.allSelected&&(!m.data||this.allowSelect(m)))},refresh:function(){return this.deselectOnRefresh&&this.clearSelection(),this._lastSelected=null,this.inherited(arguments)},renderArray:function(){var m=this,E=this.inherited(arguments);return p.when(E,function(w){var I=m.selection,M,R,T;for(M=0;M<w.length;M++)R=m.row(w[M]),T=R.id in I?I[R.id]:m.allSelected,T&&m._select(R,null,T);m._fireSelectionEvents()}),E}})},_,P),_.exports=S},78013:(_,P,l)=>{var b,S;b=[l(74786),l(86560),l(86023),l(70659),l(60493),l(48286)],S=l.dj.d(b,function(C,A,p,d,n){var e=50,t=30,r={},i={},s=1,a=8,o=/^translate(?:3d)?\((-?\d+)(?:\.\d*)?(?:px)?, (-?\d+)/,u=/^matrix\(1, 0, 0, 1, (-?\d+)(?:\.\d*)?(?:px)?, (-?\d+)/,c=d("css-transitions"),h=d("transitionend"),v=d("css-transforms"),f=d("css-transforms3d"),g,m,E,w,I;if(f?(w="translate3d(",I=",0)"):v&&(w="translate(",I=")"),!c||!w)return console.warn("CSS3 features unavailable for touch scroll effects."),function(){};E=f||v,E=E===!0?"transform":E+"Transform",m=c===!0?"transition":c+"Transition",g=v===!0?"":"-"+v.toLowerCase()+"-";function M(H,K){var $=H.touchNode,V=$.parentNode,z=V.offsetWidth-a,X=V.offsetHeight-a,Z=K.scrollWidth=$.scrollWidth,Y=K.scrollHeight=$.scrollHeight,Q=K.parentWidth=V.offsetWidth,q=K.parentHeight=V.offsetHeight,ee;Z>Q?(H._scrollbarXNode||(ee=n(V,"div.touchscroll-x")),ee=H._scrollbarXNode=H._scrollbarXNode||n(ee,"div.touchscroll-bar"),ee.style.width=z*z/Z+"px",ee.style.left=$.offsetLeft+"px",n(V,".touchscroll-scrollable-x"),K.scrollableX=!0):n(V,"!touchscroll-scrollable-x"),Y>q?(H._scrollbarYNode||(ee=n(V,"div.touchscroll-y")),ee=H._scrollbarYNode=H._scrollbarYNode||n(ee,"div.touchscroll-bar"),ee.style.height=X*X/Y+"px",ee.style.top=$.offsetTop+"px",n(V,".touchscroll-scrollable-y"),K.scrollableY=!0):n(V,"!touchscroll-scrollable-y"),n(V,"!touchscroll-fadeout")}function R(H,K){var $=H.touchNode,V=r[H.id],z,X,Z,Y,Q;typeof K!="object"?(Y=K,Q=arguments[2],K=arguments[3],X=Z=!0):(X="x"in K,Z="y"in K,(!X||!Z)&&(z=H.getScrollPosition()),Y=X?K.x:z.x,Q=Z?K.y:z.y),$.style[E]=w+-Y+"px,"+-Q+"px"+I,V&&X&&H._scrollbarXNode&&(H._scrollbarXNode.style[E]=w+Y*V.parentWidth/V.scrollWidth+"px,0"+I),V&&Z&&H._scrollbarYNode&&(H._scrollbarYNode.style[E]=w+"0,"+Q*V.parentHeight/V.scrollHeight+"px"+I),A.emit(H.touchNode.parentNode,"scroll",{scrollLeft:Y,scrollTop:Q})}function T(H){return r[H.id]?u.exec(window.getComputedStyle(H.touchNode)[E]):o.exec(H.touchNode.style[E])}function N(H){var K=this.widget,$=[this.node,K._scrollbarXNode,K._scrollbarYNode],V=$.length;for(this.timer&&(clearTimeout(this.timer),this.timer=null),this.transitionHandler&&this.transitionHandler.remove();V--;)$[V]&&($[V].style[m+"Duration"]="0");(!H||!H.preserveScrollbars)&&n(this.node.parentNode,".touchscroll-fadeout"),delete this.resetEffects}function F(H){var K=H.widget,$=K.touchNode,V=K.id,z=0,X=0,Z,Y,Q;p.countCurrentTouches(H,$)===K.touchesToScroll&&(Y=T(K),Y&&(z=+Y[1],X=+Y[2]),(Q=r[V])&&(Q.resetEffects&&Q.resetEffects({preserveScrollbars:!0}),$.style[E]=w+z+"px,"+X+"px"+I,i[V]=Q),Z=H.targetTouches[0],Q=r[V]={widget:K,node:$,startX:z-Z.pageX,startY:X-Z.pageY,lastX:z,lastY:X,pageX:Z.pageX,pageY:Z.pageY,tickFunc:function(){O(V)}},Q.timer=setTimeout(Q.tickFunc,e))}function y(H){var K=H.widget,$=K.id,V=K.touchesToScroll,z=r[$],X,Z,Y,Q,q,ee,oe,se;if(!z||(X=p.countCurrentTouches(H,K.touchNode))!==V){X>V&&K.cancelTouchScroll();return}if(Z=H.targetTouches,Y=Z[0],!z.scrollbarsShown&&(i[$]||Math.abs(Y.pageX-z.pageX)>K.scrollThreshold||Math.abs(Y.pageY-z.pageY)>K.scrollThreshold))for(M(K,z),z.scrollbarsShown=!0,se=Z.length;se--;)Z[se].touchScrolled=!0;z.scrollbarsShown&&(z.scrollableX||z.scrollableY)&&(H.preventDefault(),Q=z.scrollableX?z.startX+Y.pageX:0,q=z.scrollableY?z.startY+Y.pageY:0,ee=z.scrollableX?-(z.scrollWidth-z.parentWidth):0,oe=z.scrollableY?-(z.scrollHeight-z.parentHeight):0,Q>0?Q=Q/2:Q<ee&&(Q=ee-(ee-Q)/2),q>0?q=q/2:q<oe&&(q=oe-(oe-q)/2),R(K,-Q,-q))}function x(H){var K=H.widget,$=K.id,V=r[$];!V||p.countCurrentTouches(H,K.touchNode)!=K.touchesToScroll-1||W($)}function O(H){var K=r[H],$,V,z,X;K&&($=K.node,V=o.exec($.style[E]),V?(z=+V[1],X=+V[2],K.velX=z-K.lastX,K.velY=X-K.lastY,K.lastX=z,K.lastY=X):K.lastX=K.lastY=0,K.timer=setTimeout(K.tickFunc,e))}function L(H,K,$){var V=r[H],z=V.widget,X=V.node,Z,Y=V.scrollableX?Math.max(Math.min(0,K),-(V.scrollWidth-V.parentWidth)):K,Q=V.scrollableY?Math.max(Math.min(0,$),-(V.scrollHeight-V.parentHeight)):$;function q(){delete V.transitionHandler,V.resetEffects(),delete r[H]}delete V.timer,Y!=K||Q!=$?(V.transitionHandler=A.once(X,h,q),X.style[m+"Duration"]=z.bounceDuration+"ms",X.style[E]=w+Y+"px,"+Q+"px"+I,Y!=K&&V.scrollableX&&(Z=V.widget._scrollbarXNode,Z.style[m+"Duration"]=z.bounceDuration+"ms",K>Y?Z.style[E]=w+"0,0"+I:Z.style[E]=w+(Z.parentNode.offsetWidth-Z.offsetWidth)+"px,0"+I),Q!=$&&V.scrollableY&&(Z=V.widget._scrollbarYNode,Z.style[m+"Duration"]=z.bounceDuration+"ms",$>Q?Z.style[E]=w+"0,0"+I:Z.style[E]=w+"0,"+(Z.parentNode.offsetHeight-Z.offsetHeight)+"px"+I)):q()}function W(H){var K=r[H],$=i[H],V,z,X,Z=1.15;if(delete i[H],K.timer&&clearTimeout(K.timer),K.resetEffects=N,V=o.exec(K.node.style[E]),V?(z=+V[1],X=+V[2]):z=X=0,!K.velX&&!K.velY||(z>=0||z<=-(K.scrollWidth-K.parentWidth))&&(X>=0||X<=-(K.scrollHeight-K.parentHeight))){L(H,z,X);return}function Y(Q,q){return(Q.velX<=0&&q.velX<=0||Q.velX>=0&&q.velX>=0)&&(Q.velY<=0&&q.velY<=0||Q.velY>=0&&q.velY>=0)}$&&($.velX||$.velY)&&Y(K,$)&&(K.velX=(K.velX+$.velX)*Z,K.velY=(K.velY+$.velY)*Z),K.lastX=z,K.lastY=X,K.calcFunc=function(){j(H)},K.timer=setTimeout(K.calcFunc,t)}function j(H){var K=r[H],$,V,z,X,Z,Y,Q,q,ee=6;if(K)if($=K.node,V=$.parentNode,z=K.widget,Q=z.glideDecel(K.velX),q=z.glideDecel(K.velY),Math.abs(Q)>=s||Math.abs(q)>=s){if(Z=K.lastX+Q,Y=K.lastY+q,Z>0||Z<-(K.scrollWidth-K.parentWidth))for(X=ee;X--;)Q=z.glideDecel(Q);if(Y>0||Y<-(K.scrollHeight-K.parentHeight))for(X=ee;X--;)q=z.glideDecel(q);R(z,-Z,-Y),K.lastX=Z,K.lastY=Y,K.velX=Q,K.velY=q,K.timer=setTimeout(K.calcFunc,t)}else L(H,K.lastX,K.lastY)}return C(null,{touchesToScroll:1,touchNode:null,scrollThreshold:10,bounceDuration:300,postCreate:function(){this._initTouch(),this.inherited(arguments)},_initTouch:function(){var H=this.touchNode=this.touchNode||this.containerNode,K=this,$;if(!H||!H.parentNode){console.warn("TouchScroll requires a nested node upon which to operate.");return}$=H.parentNode,$.style.overflow="hidden",H.style[m+"Property"]=g+"transform",H.style[m+"TimingFunction"]="cubic-bezier(0.33, 0.66, 0.66, 1)";function V(){K.cancelTouchScroll()}function z(X){return function(Z){Z.widget=K,Z.cancelTouchScroll=V,X.call(this,Z)}}this._touchScrollListeners=[A($,"touchstart",z(F)),A($,"touchmove",z(y)),A($,"touchend,touchcancel",z(x))]},destroy:function(){for(var H=this._touchScrollListeners.length;H--;)this._touchScrollListeners[H].remove();delete r[this.id],this.inherited(arguments)},scrollTo:function(H){var K=r[this.id],$=this.touchNode,V=$.parentNode;!H.preserveMomentum&&K&&K.resetEffects&&K.resetEffects(),H.x&&(H.x=Math.max(0,Math.min(H.x,$.scrollWidth-V.offsetWidth))),H.y&&(H.y=Math.max(0,Math.min(H.y,$.scrollHeight-V.offsetHeight))),R(this,H)},getScrollPosition:function(){var H=T(this);return H?{x:-H[1],y:-H[2]}:{x:0,y:0}},cancelTouchScroll:function(){var H=r[this.id];H&&(H.resetEffects?H.resetEffects():(H.timer&&clearTimeout(H.timer),n(H.node.parentNode,".touchscroll-fadeout")),delete r[this.id])},glideDecel:function(H){return H*.9}})},_,P),_.exports=S},10571:(_,P,l)=>{var b,S;b=[l(57987),l(74786),l(69961),l(67324),l(86560),l(76873),l(60493)],S=l.dj.d(b,function(C,A,p,d,n,e,t){function r(s){return s}function i(s){if(typeof s!="object")s=new Error(s);else if(s.dojoType==="cancel")return;s.grid=this,n.emit(this.domNode,"dgrid-error",{grid:this,error:s,cancelable:!0,bubbles:!0})&&console.error(s)}return A(null,{store:null,query:null,queryOptions:null,getBeforePut:!0,noDataMessage:"",loadingMessage:"",constructor:function(){this.query={},this.queryOptions={},this.dirty={},this._updating={},this._columnsWithSet={},e.before(this,"configStructure",p.hitch(this,function(){this._columnsWithSet={}}))},postCreate:function(){this.inherited(arguments),this.store&&this._updateNotifyHandle(this.store)},destroy:function(){this.inherited(arguments),this._notifyHandle&&this._notifyHandle.remove()},_configColumn:function(s){s.set&&(this._columnsWithSet[s.field]=s),this.inherited(arguments)},_updateNotifyHandle:function(s){if(this._notifyHandle&&(this._notifyHandle.remove(),delete this._notifyHandle),s&&typeof s.notify=="function"){this._notifyHandle=e.after(s,"notify",p.hitch(this,"_onNotify"),!0);var a=this.get("sort");(!a||!a.length)&&console.warn("Observable store detected, but no sort order specified. You may experience quirks when adding/updating items. These can be resolved by setting a sort order on the list or grid.")}},_setStore:function(s,a,o){this._updateNotifyHandle(s),this.store=s,this.dirty={},this.set("query",a,o)},_setQuery:function(s,a){var o=a&&a.sort;this.query=s!==void 0?s:this.query,this.queryOptions=a||this.queryOptions,o?this.set("sort",o):this.refresh()},setStore:function(s,a,o){C.deprecated("setStore(...)",'use set("store", ...) instead',"dgrid 0.4"),this.set("store",s,a,o)},setQuery:function(s,a){C.deprecated("setQuery(...)",'use set("query", ...) instead',"dgrid 0.4"),this.set("query",s,a)},_getQueryOptions:function(){var s=p.delegate(this.queryOptions,{});return(typeof this._sort=="function"||this._sort.length)&&(s.sort=this._sort),s},_getQuery:function(){var s=this.query;return typeof s=="object"&&s!=null?p.delegate(s,{}):s},_setSort:function(s,a){this.store&&(this._lastCollection=null),this.inherited(arguments)},_onNotify:function(s,a){this.inherited(arguments),s&&this._numObservers<1&&this.refresh({keepScrollPosition:!0})},refresh:function(){var s=this.inherited(arguments);return this.store||(this.noDataNode=t(this.contentNode,"div.dgrid-no-data"),this.noDataNode.innerHTML=this.noDataMessage),s},renderArray:function(){var s=this,a=this.inherited(arguments);return this.store||d.when(a,function(o){o.length&&s.noDataNode&&t(s.noDataNode,"!")}),a},insertRow:function(s,a,o,u,c){var h=this.store,v=this.dirty,f=h&&h.getIdentity(s),g;return f in v&&!(f in this._updating)&&(g=v[f]),g&&(s=p.delegate(s,g)),this.inherited(arguments)},updateDirty:function(s,a,o){var u=this.dirty,c=u[s];c||(c=u[s]={}),c[a]=o},setDirty:function(s,a,o){C.deprecated("setDirty(...)","use updateDirty() instead","dgrid 0.4"),this.updateDirty(s,a,o)},save:function(){var s=this,a=this.store,o=this.dirty,u=new d,c=u.promise,h=function(m){var E;return s.getBeforePut||!(E=s.row(m).data)?function(){return a.get(m)}:function(){return E}};function v(m,E){return function(w){var I=s._columnsWithSet,M=s._updating,R,T;if(typeof w.set=="function")w.set(E);else for(R in E)w[R]=E[R];for(R in I)T=I[R].set(w),T!==void 0&&(w[R]=T);return M[m]=!0,d.when(a.put(w),function(){delete o[m],delete M[m]})}}for(var f in o){var g=v(f,o[f]);c=c.then(h(f)).then(g)}return u.resolve(),c},revert:function(){this.dirty={},this.refresh()},_trackError:function(s){var a;typeof s=="string"&&(s=p.hitch(this,s));try{a=s()}catch(o){i.call(this,o)}return d.when(a,r,p.hitch(this,i))},newRow:function(){var s=this.inherited(arguments);return this.noDataNode&&(t(this.noDataNode,"!"),delete this.noDataNode),s},removeRow:function(s,a){var o={element:s};return!a&&this.noDataMessage&&this.up(o).element===s&&this.down(o).element===s&&(this.noDataNode=t(this.contentNode,"div.dgrid-no-data"),this.noDataNode.innerHTML=this.noDataMessage),this.inherited(arguments)}})},_,P),_.exports=S},70659:(_,P,l)=>{var b,S;b=[l(80675)],S=l.dj.d(b,function(C){var A=["ms","O","Moz","Webkit"];function p(d,n){var e=d.style,t;if(n in e)return!0;for(n=n.slice(0,1).toUpperCase()+n.slice(1),t=A.length;t--;)if(A[t]+n in e)return A[t];return!1}return C.add("css-transitions",function(d,n,e){return p(e,"transitionProperty")}),C.add("css-transforms",function(d,n,e){return p(e,"transform")}),C.add("css-transforms3d",function(d,n,e){return p(e,"perspective")}),C.add("transitionend",function(){var d=C("css-transitions");return d?d===!0?"transitionend":{ms:"MSTransitionEnd",O:"oTransitionEnd",Moz:"transitionend",Webkit:"webkitTransitionEnd"}[d]:!1}),C},_,P),_.exports=S},42241:(_,P,l)=>{var b,S;b=[l(80675)],S=l.dj.d(b,function(C){C.add("pointer",function(n){return"PointerEvent"in n?"pointer":"MSPointerEvent"in n?"MSPointer":!1});var A=C("pointer"),p=A&&A.slice(0,2)==="MS",d={};return d.pointer=A,d.MSPointer=p,d},_,P),_.exports=S},95702:(_,P,l)=>{var b,S;b=[l(80675),l(60493)],S=l.dj.d(b,function(C,A){C.add("dom-contains",function(s,a,o){return!!o.contains});var p=[],d,n,e,t=/([^A-Za-z0-9_\u00A0-\uFFFF-])/g;function r(s){var a=p[s],o,u;if(a!==void 0)for(d[n](a),p[s]=void 0,o=s+1,u=p.length;o<u;o++)p[o]>a&&p[o]--}var i={defaultDelay:15,throttle:function(s,a,o){var u=!1;return o=o||i.defaultDelay,function(){u||(u=!0,s.apply(a,arguments),setTimeout(function(){u=!1},o))}},throttleDelayed:function(s,a,o){var u=!1;return o=o||i.defaultDelay,function(){if(!u){u=!0;var c=arguments;setTimeout(function(){u=!1,s.apply(a,c)},o)}}},debounce:function(s,a,o){var u;return o=o||i.defaultDelay,function(){u&&(clearTimeout(u),u=null);var c=arguments;u=setTimeout(function(){s.apply(a,c)},o)}},each:function(s,a,o){var u,c;if(s)if(typeof s.length=="number")for(u=0,c=s.length;u<c;u++)a.call(o,s[u],u,s);else for(u in s)a.call(o,s[u],u,s)},contains:function(s,a){return C("dom-contains")?s.contains(a):s.compareDocumentPosition(a)&8},addCssRule:function(s,a){d||(d=A(document.getElementsByTagName("head")[0],"style"),d=d.sheet||d.styleSheet,n=d.deleteRule?"deleteRule":"removeRule",e=d.cssRules?"cssRules":"rules");var o=p.length;return p[o]=(d.cssRules||d.rules).length,d.addRule?d.addRule(s,a):d.insertRule(s+"{"+a+"}",p[o]),{get:function(u){return d[e][p[o]].style[u]},set:function(u,c){typeof p[o]<"u"&&(d[e][p[o]].style[u]=c)},remove:function(){r(o)}}},escapeCssIdentifier:function(s,a){return typeof s=="string"?s.replace(t,a||"\\$1"):s}};return i},_,P),_.exports=S},86023:(_,P,l)=>{var b,S;b=[l(86560),l(11278)],S=l.dj.d(b,function(C,A){var p={tapRadius:10,dbltapTime:250,selector:function(t,r,i){return function(s,a){var o=r.bubble;return o?r=o:i!==!1&&(i=!0),C(s,r,function(u){var c=u.target;for(c.nodeType==3&&(c=c.parentNode);!A.matches(c,t,s);)if(c==s||!i||!(c=c.parentNode))return;return a.call(c,u)})}},countCurrentTouches:function(t,r){if(!("touches"in t))return-1;var i,s,a;for(i=0,s=0;a=t.touches[i];++i)r.contains(a.target)&&++s;return s}};function d(t,r,i,s){if(!(i.targetTouches.length>1)){var a=i.changedTouches[0],o=a.screenX,u=a.screenY;s&&i.preventDefault();var c=C(t,"touchend",function(h){var v=h.changedTouches[0];h.targetTouches.length||(Math.abs(v.screenX-o)<p.tapRadius&&Math.abs(v.screenY-u)<p.tapRadius&&(s&&h.preventDefault(),r.call(this,h)),c.remove())})}}function n(t,r){return C(t,"touchstart",function(i){d(t,r,i)})}function e(t,r){var i,s;return C(t,"touchstart",function(a){i?d(t,function(o){if(i){var u=o.changedTouches[0];Math.abs(u.screenX-i.screenX)<p.tapRadius&&Math.abs(u.screenY-i.screenY)<p.tapRadius&&(s&&clearTimeout(s),i=s=null,r.call(this,o))}},a,!0):d(t,function(o){i=o.changedTouches[0],s=setTimeout(function(){i=s=null},p.dbltapTime)},a)})}return p.tap=n,p.dbltap=e,p},_,P),_.exports=S},64220:(_,P,l)=>{var b,S;b=[l.dj.c(_),l(7240),l(69196),l(92087),l(37672),l(69961),l(86560),l(23702)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){r.add("config-bgIframe",(r("ie")||r("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var i=new function(){var s=[];this.pop=function(){var a;if(s.length)a=s.pop(),a.style.display="";else{if(r("ie")<9){var o=p.dojoBlankHtmlUrl||C.toUrl("dojo/resources/blank.html")||'javascript:""',u="<iframe src='"+o+`' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity="0");'>`;a=document.createElement(u)}else a=d.create("iframe"),a.src='javascript:""',a.className="dijitBackgroundIframe",a.setAttribute("role","presentation"),n.set(a,"opacity",.1);a.tabIndex=-1}return a},this.push=function(a){a.style.display="none",s.push(a)}};return A.BackgroundIframe=function(s){if(!s.id)throw new Error("no id");if(r("config-bgIframe")){var a=this.iframe=i.pop();s.appendChild(a),r("ie")<7||r("quirks")?(this.resize(s),this._conn=t(s,"resize",e.hitch(this,"resize",s))):n.set(a,{width:"100%",height:"100%"})}},e.extend(A.BackgroundIframe,{resize:function(s){this.iframe&&n.set(this.iframe,{width:s.offsetWidth+"px",height:s.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),i.push(this.iframe),delete this.iframe)}}),A.BackgroundIframe},_,P),_.exports=S},20728:(_,P,l)=>{var b,S;b=[l(33659),l(76873),l(74786)],S=l.dj.d(b,function(C,A,p){return p("dijit.Destroyable",null,{destroy:function(d){this._destroyed=!0},own:function(){var d=["destroyRecursive","destroy","remove"];return C.forEach(arguments,function(n){var e,t=A.before(this,"destroy",function(s){n[e](s)}),r=[];function i(){t.remove(),C.forEach(r,function(s){s.remove()})}n.then?(e="cancel",n.then(i,i)):C.forEach(d,function(s){typeof n[s]=="function"&&(e||(e=s),r.push(A.after(n,s,i,!0)))})},this),arguments}})},_,P),_.exports=S},57282:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(90554),l(7835),l(65724),l(20849),l(37672),l(69961),l(72875),l(86560),l(23702),l(49276),l(21569),l(44491),l(83830),l(64220),l(19346),l(7240)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g){var m=A("dijit._MasterTooltip",[c,h],{duration:o.defaultDuration,templateString:f,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new v(this.domNode),this.fadeIn=p.fadeIn({node:this.domNode,duration:this.duration,onEnd:r.hitch(this,"_onShow")}),this.fadeOut=p.fadeOut({node:this.domNode,duration:this.duration,onEnd:r.hitch(this,"_onHide")})},show:function(N,F,y,x,O,L,W){if(!(this.aroundNode&&this.aroundNode===F&&this.containerNode.innerHTML==N)){if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return}this.containerNode.innerHTML=N,O&&this.set("textDir",O),this.containerNode.align=x?"right":"left";var j=u.around(this.domNode,F,y&&y.length?y:T.defaultPosition,!x,r.hitch(this,"orient")),H=j.aroundNodePos;j.corner.charAt(0)=="M"&&j.aroundCorner.charAt(0)=="M"?(this.connectorNode.style.top=H.y+(H.h-this.connectorNode.offsetHeight>>1)-j.y+"px",this.connectorNode.style.left=""):j.corner.charAt(1)=="M"&&j.aroundCorner.charAt(1)=="M"?this.connectorNode.style.left=H.x+(H.w-this.connectorNode.offsetWidth>>1)-j.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),t.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=F,this.onMouseEnter=L||R,this.onMouseLeave=W||R}},orient:function(N,F,y,x,O){this.connectorNode.style.top="";var L=x.h,W=x.w;N.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[F+"-"+y],this.domNode.style.width="auto";var j=e.position(this.domNode);(a("ie")||a("trident"))&&(j.w+=2);var H=Math.min(Math.max(W,1),j.w);if(e.setMarginBox(this.domNode,{w:H}),y.charAt(0)=="B"&&F.charAt(0)=="B"){var K=e.position(N),$=this.connectorNode.offsetHeight;if(K.h>L){var V=L-(O.h+$>>1);this.connectorNode.style.top=V+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(O.h/2-$/2,0),K.h-$)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,j.w-W)},_onShow:function(){a("ie")&&(this.domNode.style.filter="")},hide:function(N){this._onDeck&&this._onDeck[1]==N?this._onDeck=null:this.aroundNode===N&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=R},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});a("dojo-bidi")&&m.extend({_setAutoTextDir:function(N){this.applyTextDir(N),C.forEach(N.children,function(F){this._setAutoTextDir(F)},this)},_setTextDirAttr:function(N){this._set("textDir",N),N=="auto"?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),g.showTooltip=function(N,F,y,x,O,L,W){return y&&(y=C.map(y,function(j){return{after:"after-centered",before:"before-centered"}[j]||j})),T._masterTT||(g._masterTT=T._masterTT=new m),T._masterTT.show(N,F,y,x,O,L,W)},g.hideTooltip=function(N){return T._masterTT&&T._masterTT.hide(N)};var E="DORMANT",w="SHOW TIMER",I="SHOWING",M="HIDE TIMER";function R(){}var T=A("dijit.Tooltip",c,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(N){C.forEach(this._connections||[],function(F){C.forEach(F,function(y){y.remove()})},this),this._connectIds=C.filter(r.isArrayLike(N)?N:N?[N]:[],function(F){return d.byId(F,this.ownerDocument)},this),this._connections=C.map(this._connectIds,function(F){var y=d.byId(F,this.ownerDocument),x=this.selector,O=x?function(W){return s.selector(x,W)}:function(W){return W},L=this;return[s(y,O(i.enter),function(){L._onHover(this)}),s(y,O("focusin"),function(){L._onHover(this)}),s(y,O(i.leave),r.hitch(L,"_onUnHover")),s(y,O("focusout"),r.hitch(L,"set","state",E))]},this),this._set("connectId",N)},addTarget:function(N){var F=N.id||N;C.indexOf(this._connectIds,F)==-1&&this.set("connectId",this._connectIds.concat(F))},removeTarget:function(N){var F=N.id||N,y=C.indexOf(this._connectIds,F);y>=0&&(this._connectIds.splice(y,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),n.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var N=this.connectId;C.forEach(r.isArrayLike(N)?N:[N],this.addTarget,this)},getContent:function(N){return this.label||this.domNode.innerHTML},state:E,_setStateAttr:function(N){if(!(this.state==N||N==w&&this.state==I||N==M&&this.state==E)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),N){case E:this._connectNode&&(T.hide(this._connectNode),delete this._connectNode,this.onHide());break;case w:this.state!=I&&(this._showTimer=this.defer(function(){this.set("state",I)},this.showDelay));break;case I:var F=this.getContent(this._connectNode);if(!F){this.set("state",E);return}T.show(F,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,r.hitch(this,"set","state",I),r.hitch(this,"set","state",M)),this.onShow(this._connectNode,this.position);break;case M:this._hideTimer=this.defer(function(){this.set("state",E)},this.hideDelay);break}this._set("state",N)}},_onHover:function(N){this._connectNode&&N!=this._connectNode&&this.set("state",E),this._connectNode=N,this.set("state",w)},_onUnHover:function(N){this.set("state",M)},open:function(N){this.set("state",E),this._connectNode=N,this.set("state",I)},close:function(){this.set("state",E)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",E),C.forEach(this._connections||[],function(N){C.forEach(N,function(F){F.remove()})},this),this.inherited(arguments)}});return T._MasterTooltip=m,T.show=g.showTooltip,T.hide=g.hideTooltip,T.defaultPosition=["after-centered","before-centered"],T},_,P),_.exports=S},18841:(_,P,l)=>{var b,S;b=[l(74786),l(65724),l(80675),l(75145),l(69961),l(86560),l(16109),l(72086),l(28193),l(58774),l(83830),l(42204),l(7240)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u){var c=C("dijit.TooltipDialog",[r,a,s,i],{title:"",doLayout:!1,autofocus:!0,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:o,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments),this.own(e(this.domNode,"keydown",n.hitch(this,"_onKey")))},orient:function(h,v,f){var g={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[v+"-"+f];A.replace(this.domNode,g,this._currentOrientClass||""),this._currentOrientClass=g},focus:function(){this._getFocusItems(),t.focus(this._firstFocusItem)},onOpen:function(h){this.orient(this.domNode,h.aroundCorner,h.corner);var v=h.aroundNodePos;h.corner.charAt(0)=="M"&&h.aroundCorner.charAt(0)=="M"?(this.connectorNode.style.top=v.y+(v.h-this.connectorNode.offsetHeight>>1)-h.y+"px",this.connectorNode.style.left=""):h.corner.charAt(1)=="M"&&h.aroundCorner.charAt(1)=="M"&&(this.connectorNode.style.left=v.x+(v.w-this.connectorNode.offsetWidth>>1)-h.x+"px"),this._onShow()},onClose:function(){this.onHide()},_onKey:function(h){if(h.keyCode==d.ESCAPE)this.defer("onCancel"),h.stopPropagation(),h.preventDefault();else if(h.keyCode==d.TAB){var v=h.target;this._getFocusItems(),this._firstFocusItem==this._lastFocusItem?(h.stopPropagation(),h.preventDefault()):v==this._firstFocusItem&&h.shiftKey?(t.focus(this._lastFocusItem),h.stopPropagation(),h.preventDefault()):v==this._lastFocusItem&&!h.shiftKey?(t.focus(this._firstFocusItem),h.stopPropagation(),h.preventDefault()):h.stopPropagation()}}});return p("dojo-bidi")&&c.extend({_setTitleAttr:function(h){this.containerNode.title=this.textDir&&this.enforceTextDirWithUcc?this.enforceTextDirWithUcc(null,h):h,this._set("title",h)},_setTextDirAttr:function(h){(!this._created||this.textDir!=h)&&(this._set("textDir",h),this.textDir&&this.title&&(this.containerNode.title=this.enforceTextDirWithUcc(null,this.title)))}}),c},_,P),_.exports=S},92266:(_,P,l)=>{var b,S;b=[l(57574),l(86560),l(2799),l(23702),l(317)],S=l.dj.d(b,function(C,A,p,d,n){var e=new C,t;return p(function(){var r=n.getBox();if(e._rlh=A(window,"resize",function(){var s=n.getBox();r.h==s.h&&r.w==s.w||(r=s,e.emit("resize"))}),d("ie")==8){var i=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=i&&(i=screen.deviceXDPI,e.emit("resize"))},500)}d("ios")&&(A(document,"focusin",function(s){t=s.target}),A(document,"focusout",function(s){t=null}))}),e.getEffectiveBox=function(r){var i=n.getBox(r),s=t&&t.tagName&&t.tagName.toLowerCase();if(d("ios")&&t&&!t.readOnly&&(s=="textarea"||s=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(t.type))){i.h*=orientation==0||orientation==180?.66:.4;var a=t.getBoundingClientRect();i.h=Math.max(i.h,a.top+a.height)}return i},e},_,P),_.exports=S},36891:(_,P,l)=>{var b,S;b=[l.dj.c(_),l(33659),l(18314),l(74786),l(69961),l(72875),l(86560),l(71805),l(75058)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){var s=n.delegate(r,{mouseenter:e.enter,mouseleave:e.leave,keypress:p._keypress}),a,o=d("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(u){for(var c=u;;)if(c.nodeType==1&&(this._processTemplateNode(c,function(h,v){return h.getAttribute(v)},this._attach)||this.searchContainerNode)&&c.firstChild)c=c.firstChild;else{if(c==u)return;for(;!c.nextSibling;)if(c=c.parentNode,c==u)return;c=c.nextSibling}},_processTemplateNode:function(u,c,h){var v=!0,f=this.attachScope||this,g=c(u,"dojoAttachPoint")||c(u,"data-dojo-attach-point");if(g)for(var m,E=g.split(/\s*,\s*/);m=E.shift();)n.isArray(f[m])?f[m].push(u):f[m]=u,v=m!="containerNode",this._attachPoints.push(m);var w=c(u,"dojoAttachEvent")||c(u,"data-dojo-attach-event");if(w){for(var I,M=w.split(/\s*,\s*/),R=n.trim;I=M.shift();)if(I){var T=null;if(I.indexOf(":")!=-1){var N=I.split(":");I=R(N[0]),T=R(N[1])}else I=R(I);T||(T=I),this._attachEvents.push(h(u,I,n.hitch(f,T)))}}return v},_attach:function(u,c,h){return c=c.replace(/^on/,"").toLowerCase(),c=="dijitclick"?c=a||(a=C("./a11yclick")):c=s[c]||c,t(u,c,h)},_detachTemplateNodes:function(){var u=this.attachScope||this;A.forEach(this._attachPoints,function(c){delete u[c]}),this._attachPoints=[],A.forEach(this._attachEvents,function(c){c.remove()}),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return n.extend(i,{dojoAttachEvent:"",dojoAttachPoint:""}),o},_,P),_.exports=S},93166:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C={LRM:"\u200E",LRE:"\u202A",PDF:"\u202C",RLM:"\u200F",RLE:"\u202B"};return{getTextDir:function(A){return this.textDir=="auto"?this._checkContextual(A):this.textDir},_checkContextual:function(A){var p=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(A);return p?p[0]<="z"?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(A,p){if(this.textDir){var d=this.textDir;if(d=="auto"){if(typeof p>"u"){var n=A.tagName.toLowerCase();p=n=="input"||n=="textarea"?A.value:A.innerText||A.textContent||""}d=this._checkContextual(p)}A.dir!=d&&(A.dir=d)}},enforceTextDirWithUcc:function(A,p){if(this.textDir){A&&(A.originalText=p);var d=this.textDir=="auto"?this._checkContextual(p):this.textDir;return(d=="ltr"?C.LRE:C.RLE)+p+C.PDF}return p},restoreOriginalText:function(A){return A.originalText&&(A.text=A.originalText,delete A.originalText),A},_setTextDirAttr:function(A){if(!this._created||this.textDir!=A){this._set("textDir",A);var p=null;this.displayNode?(p=this.displayNode,this.displayNode.align=this.dir=="rtl"?"right":"left"):p=this.textDirNode||this.focusNode||this.textbox,p&&this.applyTextDir(p)}}}},_,P),_.exports=S},17819:(_,P,l)=>{var b,S;b=[l(74786),l(45118)],S=l.dj.d(b,function(C,A){return C("dijit._Contained",null,{_getSibling:function(p){var d=this.getParent();return d&&d._getSiblingOfChild&&d._getSiblingOfChild(this,p=="previous"?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var p=this.getParent();return!p||!p.getIndexOfChild?-1:p.getIndexOfChild(this)}})},_,P),_.exports=S},90180:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(92087),l(57987)],S=l.dj.d(b,function(C,A,p,d){return A("dijit._Container",null,{buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode)},addChild:function(n,e){var t=this.containerNode;if(e>0){for(t=t.firstChild;e>0;)t.nodeType==1&&e--,t=t.nextSibling;t?e="before":(t=this.containerNode,e="last")}p.place(n.domNode,t,e),this._started&&!n._started&&n.startup()},removeChild:function(n){if(typeof n=="number"&&(n=this.getChildren()[n]),n){var e=n.domNode;e&&e.parentNode&&e.parentNode.removeChild(e)}},hasChildren:function(){return this.getChildren().length>0},_getSiblingOfChild:function(n,e){var t=this.getChildren(),r=C.indexOf(t,n);return t[r+e]},getIndexOfChild:function(n){return C.indexOf(this.getChildren(),n)}})},_,P),_.exports=S},91824:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(7835),l(65724),l(80675),l(69961),l(86560),l(2799),l(71805),l(69174),l(50502),l(45118)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o){var u=A("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments),C.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(h){this.watch(h,e.hitch(this,"_setStateClass"))},this);for(var c in this.cssStateNodes||{})this._trackMouseState(this[c],this.cssStateNodes[c]);this._trackMouseState(this.domNode,this.baseClass),this._setStateClass()},_cssMouseEvent:function(c){if(!this.disabled)switch(c.type){case"mouseover":case"MSPointerOver":case"pointerover":this._set("hovering",!0),this._set("active",this._mouseDown);break;case"mouseout":case"MSPointerOut":case"pointerout":this._set("hovering",!1),this._set("active",!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":this._set("active",!0);break;case"mouseup":case"dojotouchend":case"MSPointerUp":case"pointerup":case"keyup":this._set("active",!1);break}},_setStateClass:function(){var c=this.baseClass.split(" ");function h(w){c=c.concat(C.map(c,function(I){return I+w}),"dijit"+w)}this.isLeftToRight()||h("Rtl");var v=this.checked=="mixed"?"Mixed":this.checked?"Checked":"";this.checked&&h(v),this.state&&h(this.state),this.selected&&h("Selected"),this._opened&&h("Opened"),this.disabled?h("Disabled"):this.readOnly?h("ReadOnly"):this.active?h("Active"):this.hovering&&h("Hover"),this.focused&&h("Focused");var f=this.stateNode||this.domNode,g={};C.forEach(f.className.split(" "),function(w){g[w]=!0}),"_stateClasses"in this&&C.forEach(this._stateClasses,function(w){delete g[w]}),C.forEach(c,function(w){g[w]=!0});var m=[];for(var E in g)m.push(E);f.className=m.join(" "),this._stateClasses=c},_subnodeCssMouseEvent:function(c,h,v){if(this.disabled||this.readOnly)return;function f(E){d.toggle(c,h+"Hover",E)}function g(E){d.toggle(c,h+"Active",E)}function m(E){d.toggle(c,h+"Focused",E)}switch(v.type){case"mouseover":case"MSPointerOver":case"pointerover":f(!0);break;case"mouseout":case"MSPointerOut":case"pointerout":f(!1),g(!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":g(!0);break;case"mouseup":case"MSPointerUp":case"pointerup":case"dojotouchend":case"keyup":g(!1);break;case"focus":case"focusin":m(!0);break;case"blur":case"focusout":m(!1);break}},_trackMouseState:function(c,h){c._cssState=h}});return r(function(){function c(f,g,m){if(!(m&&p.isDescendant(m,g))){for(var E=g;E&&E!=m;E=E.parentNode)if(E._cssState){var w=o.getEnclosingWidget(E);w&&(E==w.domNode?w._cssMouseEvent(f):w._subnodeCssMouseEvent(E,E._cssState,f))}}}var h=s.body(),v;t(h,i.over,function(f){c(f,f.target,f.relatedTarget)}),t(h,i.out,function(f){c(f,f.target,f.relatedTarget)}),t(h,a.press,function(f){v=f.target,c(f,v)}),t(h,a.release,function(f){c(f,v),v=null}),t(h,"focusin, focusout",function(f){var g=f.target;if(g._cssState&&!g.getAttribute("widgetId")){var m=o.getEnclosingWidget(g);m&&m._subnodeCssMouseEvent(g,g._cssState,f)}})}),u},_,P),_.exports=S},28193:(_,P,l)=>{var b,S;b=[l(74786),l(96656)],S=l.dj.d(b,function(C,A){return C("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute(),this.execute(this.get("value"))},_getFocusItems:function(){var p=A._getTabNavigable(this.domNode);this._firstFocusItem=p.lowest||p.first||this.closeButtonNode||this.domNode,this._lastFocusItem=p.last||p.highest||this._firstFocusItem}})},_,P),_.exports=S},18248:(_,P,l)=>{var b,S;b=[l(16109),l(75058),l(74786),l(69961)],S=l.dj.d(b,function(C,A,p,d){return d.extend(A,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),p("dijit._FocusMixin",null,{_focusManager:C})},_,P),_.exports=S},35847:(_,P,l)=>{var b,S;b=[l(86560),l(33659),l(75145),l(74786),l(80675),l(50502)],S=l.dj.d(b,function(C,A,p,d,n,e){var t=d("dijit._OnDijitClickMixin",null,{connect:function(r,i,s){return this.inherited(arguments,[r,i=="ondijitclick"?e:i,s])}});return t.a11yclick=e,t},_,P),_.exports=S},83830:(_,P,l)=>{var b,S;b=[l(78059),l(74786),l(92087),l(69961),l(86560),l(23702),l(1723),l(36891)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){var i=A("dijit._TemplatedMixin",r,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(s){var a=this.declaredClass,o=this;return t.substitute(s,this,function(u,c){if(c.charAt(0)=="!"&&(u=d.getObject(c.substr(1),!1,o)),typeof u>"u")throw new Error(a+" template:"+c);return u==null?"":c.charAt(0)=="!"?u:this._escapeValue(""+u)},this)},_escapeValue:function(s){return s.replace(/["'<>&]/g,function(a){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}[a]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=C(this.templatePath,{sanitize:!0}));var s=i.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),a;if(d.isString(s)){if(a=p.toDom(this._stringRepl(s),this.ownerDocument),a.nodeType!=1)throw new Error("Invalid template: "+s)}else a=s.cloneNode(!0);this.domNode=a}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(s){var a=this.containerNode;if(s&&a)for(;s.hasChildNodes();)a.appendChild(s.firstChild)}});return i._templateCache={},i.getCachedTemplate=function(s,a,o){var u=i._templateCache,c=s,h=u[c];if(h){try{if(!h.ownerDocument||h.ownerDocument==(o||document))return h}catch(f){}p.destroy(h)}if(s=t.trim(s),a||s.match(/\$\{([^\}]+)\}/g))return u[c]=s;var v=p.toDom(s,o);if(v.nodeType!=1)throw new Error("Invalid template: "+s);return u[c]=v},e("ie")&&n(window,"unload",function(){var s=i._templateCache;for(var a in s){var o=s[a];typeof o=="object"&&p.destroy(o),delete s[a]}}),i},_,P),_.exports=S},44491:(_,P,l)=>{var b,S;b=[l(76873),l(69196),l(18314),l(74786),l(80675),l(57987),l(69961),l(11278),l(63807),l(45118),l(75058),l(35847),l(18248),l(12390),l(9719)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u){function c(){}function h(f){return function(g,m,E,w){return g&&typeof m=="string"&&g[m]==c?g.on(m.substring(2).toLowerCase(),t.hitch(E,w)):f.apply(p,arguments)}}C.around(p,"connect",h),e.connect&&C.around(e,"connect",h);var v=d("dijit._Widget",[a,o,u],{onClick:c,onDblClick:c,onKeyDown:c,onKeyPress:c,onKeyUp:c,onMouseDown:c,onMouseMove:c,onMouseOut:c,onMouseOver:c,onMouseLeave:c,onMouseEnter:c,onMouseUp:c,constructor:function(f){this._toConnect={};for(var g in f)this[g]===c&&(this._toConnect[g.replace(/^on/,"").toLowerCase()]=f[g],delete f[g])},postCreate:function(){this.inherited(arguments);for(var f in this._toConnect)this.on(f,this._toConnect[f]);delete this._toConnect},on:function(f,g){return this[this._onMap(f)]===c?p.connect(this.domNode,f.toLowerCase(),this,g):this.inherited(arguments)},_setFocusedAttr:function(f){this._focused=f,this._set("focused",f)},setAttribute:function(f,g){e.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(f,g)},attr:function(f,g){var m=arguments.length;return m>=2||typeof f=="object"?this.set.apply(this,arguments):this.get(f)},getDescendants:function(){return e.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?r("[widgetId]",this.containerNode).map(s.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return n("dijit-legacy-requires")&&i(0,function(){var f=["dijit/_base"];require(f)}),v},_,P),_.exports=S},75058:(_,P,l)=>{var b,S;b=[l.dj.c(_),l(33659),l(76873),l(69196),l(18314),l(74786),l(7835),l(81070),l(65724),l(92087),l(20849),l(37672),l(80675),l(57987),l(69961),l(86560),l(63807),l(51937),l(48309),l(69174),l(20728),l.dj.h("dojo-bidi?93166"),l(45118)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,E,w,I,M){u.add("dijit-legacy-requires",!c.isAsync),u.add("dojo-bidi",!1),u("dijit-legacy-requires")&&f(0,function(){var x=["dijit/_base/manager"];C(x)});var R={};function T(x){var O={};for(var L in x)O[L.toLowerCase()]=!0;return O}function N(x){return function(O){r[O?"set":"remove"](this.domNode,x,O),this._set(x,O)}}function F(x,O){return x===O||x!==x&&O!==O}var y=e("dijit._WidgetBase",[g,w],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:N("lang"),dir:"",_setDirAttr:N("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(x){this._set("ownerDocument",x)},attributeMap:{},_blankGif:d.blankGif||C.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var x=this.constructor;if(!x._setterAttrs){var O=x.prototype,L=x._setterAttrs=[],W=x._onMap={};for(var j in O.attributeMap)L.push(j);for(j in O)/^on/.test(j)&&(W[j.substring(2).toLowerCase()]=j),/^_set[A-Z](.*)Attr$/.test(j)&&(j=j.charAt(4).toLowerCase()+j.substr(5,j.length-9),(!O.attributeMap||!(j in O.attributeMap))&&L.push(j))}},postscript:function(x,O){this.create(x,O)},create:function(x,O){this._introspect(),this.srcNodeRef=t.byId(O),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&this.srcNodeRef.id&&typeof this.srcNodeRef.id=="string"&&(this.id=this.srcNodeRef.id),x&&(this.params=x,h.mixin(this,x)),this.postMixInProperties(),this.id||(this.id=M.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=E.body(this.ownerDocument),M.add(this),this.buildRendering();var L;if(this.domNode){this._applyAttributes();var W=this.srcNodeRef;W&&W.parentNode&&this.domNode!==W&&(W.parentNode.replaceChild(this.domNode,W),L=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),L&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var x={};for(var O in this.params||{})x[O]=this._get(O);A.forEach(this.constructor._setterAttrs,function(L){if(!(L in x)){var W=this._get(L);W&&this.set(L,W)}},this);for(O in x)this.set(O,x[O])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var x=this.baseClass.split(" ");this.isLeftToRight()||(x=x.concat(A.map(x,function(O){return O+"Rtl"}))),i.add(this.domNode,x)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,A.forEach(this.getChildren(),function(x){!x._started&&!x._destroyed&&h.isFunction(x.startup)&&(x.startup(),x._started=!0)}))},destroyRecursive:function(x){this._beingDestroyed=!0,this.destroyDescendants(x),this.destroy(x)},destroy:function(x){this._beingDestroyed=!0,this.uninitialize();function O(L){L.destroyRecursive?L.destroyRecursive(x):L.destroy&&L.destroy(x)}A.forEach(this._connects,h.hitch(this,"disconnect")),A.forEach(this._supportingWidgets,O),this.domNode&&A.forEach(M.findWidgets(this.domNode,this.containerNode),O),this.destroyRendering(x),M.remove(this.id),this._destroyed=!0},destroyRendering:function(x){this.bgIframe&&(this.bgIframe.destroy(x),delete this.bgIframe),this.domNode&&(x?r.remove(this.domNode,"widgetId"):s.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(x||s.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(x){A.forEach(this.getChildren(),function(O){O.destroyRecursive&&O.destroyRecursive(x)})},uninitialize:function(){return!1},_setStyleAttr:function(x){var O=this.domNode;h.isObject(x)?o.set(O,x):O.style.cssText?O.style.cssText+="; "+x:O.style.cssText=x,this._set("style",x)},_attrToDom:function(x,O,L){L=arguments.length>=3?L:this.attributeMap[x],A.forEach(h.isArray(L)?L:[L],function(W){var j=this[W.node||W||"domNode"],H=W.type||"attribute";switch(H){case"attribute":h.isFunction(O)&&(O=h.hitch(this,O));var K=W.attribute?W.attribute:/^on[A-Z][a-zA-Z]*$/.test(x)?x.toLowerCase():x;j.tagName?r.set(j,K,O):j.set(K,O);break;case"innerText":j.innerHTML="",j.appendChild(this.ownerDocument.createTextNode(O));break;case"textContent":j.textContent=O;break;case"innerHTML":j.innerHTML=O;break;case"class":i.replace(j,O,this[x]);break;case"toggleClass":i.toggle(j,W.className||x,O);break}},this)},get:function(x){var O=this._getAttrNames(x);return this[O.g]?this[O.g]():this._get(x)},set:function(x,O){if(typeof x=="object"){for(var L in x)this.set(L,x[L]);return this}var W=this._getAttrNames(x),j=this[W.s];if(h.isFunction(j))var H=j.apply(this,Array.prototype.slice.call(arguments,1));else{var K=this.focusNode&&!h.isFunction(this.focusNode)?"focusNode":"domNode",$=this[K]&&this[K].tagName,V=$&&(R[$]||(R[$]=T(this[K]))),z=x in this.attributeMap?this.attributeMap[x]:W.s in this?this[W.s]:V&&W.l in V&&typeof O!="function"||/^aria-|^data-|^role$/.test(x)?K:null;z!=null&&this._attrToDom(x,O,z),this._set(x,O)}return H||this},_attrPairNames:{},_getAttrNames:function(x){var O=this._attrPairNames;if(O[x])return O[x];var L=x.replace(/^[a-z]|-[a-zA-Z]/g,function(W){return W.charAt(W.length-1).toUpperCase()});return O[x]={n:x+"Node",s:"_set"+L+"Attr",g:"_get"+L+"Attr",l:L.toLowerCase()}},_set:function(x,O){var L=this[x];this[x]=O,this._created&&!F(L,O)&&(this._watchCallbacks&&this._watchCallbacks(x,L,O),this.emit("attrmodified-"+x,{detail:{prevValue:L,newValue:O}}))},_get:function(x){return this[x]},emit:function(x,O,L){O=O||{},O.bubbles===void 0&&(O.bubbles=!0),O.cancelable===void 0&&(O.cancelable=!0),O.detail||(O.detail={}),O.detail.widget=this;var W,j=this["on"+x];return j&&(W=j.apply(this,L||[O])),this._started&&!this._beingDestroyed&&v.emit(this.domNode,x.toLowerCase(),O),W},on:function(x,O){var L=this._onMap(x);return L?p.after(this,L,O,!0):this.own(v(this.domNode,x,O))[0]},_onMap:function(x){var O=this.constructor,L=O._onMap;if(!L){L=O._onMap={};for(var W in O.prototype)/^on/.test(W)&&(L[W.replace(/^on/,"").toLowerCase()]=W)}return L[typeof x=="string"&&x.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?M.findWidgets(this.containerNode):[]},getParent:function(){return M.getEnclosingWidget(this.domNode.parentNode)},connect:function(x,O,L){return this.own(n.connect(x,O,this,L))[0]},disconnect:function(x){x.remove()},subscribe:function(x,O){return this.own(m.subscribe(x,h.hitch(this,O)))[0]},unsubscribe:function(x){x.remove()},isLeftToRight:function(){return this.dir?this.dir.toLowerCase()=="ltr":a.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&o.get(this.domNode,"display")!="none"},placeAt:function(x,O){var L=!x.tagName&&M.byId(x);if(L&&L.addChild&&(!O||typeof O=="number"))L.addChild(this,O);else{var W=L&&"domNode"in L?L.containerNode&&!/after|before|replace/.test(O||"")?L.containerNode:L.domNode:t.byId(x,this.ownerDocument);s.place(this.domNode,W,O),!this._started&&(this.getParent()||{})._started&&this.startup()}return this},defer:function(x,O){var L=setTimeout(h.hitch(this,function(){L&&(L=null,this._destroyed||h.hitch(this,x)())}),O||0);return{remove:function(){return L&&(clearTimeout(L),L=null),null}}}});return u("dojo-bidi")&&y.extend(I),y},_,P),_.exports=S},49276:(_,P,l)=>{var b,S;b=[l(33659),l(69196),l(69961),l(45118),l(7240)],S=l.dj.d(b,function(C,A,p,d,n){var e={};return C.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(t){e[t]=d[t]}),p.mixin(e,{defaultDuration:A.defaultDuration||200}),p.mixin(n,e),n},_,P),_.exports=S},8666:(_,P,l)=>{var b,S;b=[l(69196)],S=l.dj.d(b,function(C){var A={warn:function(d){console&&console.warn&&console.warn(d)},error:function(d){console&&console.error&&console.error(d)}},p={deprecated:function(d){var n,e,t=!!C.isDebug||!!window.showDeprecationsAsErrors;t&&this._isConfigValid(d)&&(e=window.showDeprecationsAsErrors||d.deprecationLevel===this.ERROR?this.ERROR:this.WARN,n="DEPRECATED: ",d.deprecated&&(n+=d.deprecated.module,d.deprecated.method&&(n+="."+d.deprecated.method+"()"),n+="."),d.replacement&&(n+=" Use "+d.replacement.module,d.replacement.method&&(n+="."+d.replacement.method+"()"),n+=" instead."),d.removalVersion&&(n+=" Will be removed in version: "+d.removalVersion+"."),d.geckNumber&&(n+=" Please use g"+d.geckNumber+" to track latest information regarding this deprecation"),d.additionalInformation&&(n+=" "+d.additionalInformation),A[e](n))},_isConfigValid:function(d){var n=!!d.deprecated&&typeof d.deprecated=="object"&&d.deprecated.hasOwnProperty("module");return d.replacement&&(n=n&&typeof d.replacement=="object"&&d.replacement.hasOwnProperty("module")),d.geckNumber&&(n=n&&typeof d.geckNumber=="number"),n||A.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),n}};return Object.defineProperties(p,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),p},_,P),_.exports=S},96656:(_,P,l)=>{var b,S;b=[l(33659),l(7835),l(81070),l(37672),l(69961),l(23702),l(7240)],S=l.dj.d(b,function(C,A,p,d,n,e,t){var r,i={_isElementShown:function(s){var a=d.get(s);return a.visibility!="hidden"&&a.visibility!="collapsed"&&a.display!="none"&&p.get(s,"type")!="hidden"},hasDefaultTabStop:function(s){switch(s.nodeName.toLowerCase()){case"a":return p.has(s,"href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var a;try{var o=s.contentDocument;if("designMode"in o&&o.designMode=="on")return!0;a=o.body}catch(u){try{a=s.contentWindow.document.body}catch(c){return!1}}return a&&(a.contentEditable=="true"||a.firstChild&&a.firstChild.contentEditable=="true");default:return s.contentEditable=="true"}},effectiveTabIndex:function(s){return p.get(s,"disabled")?r:p.has(s,"tabIndex")?+p.get(s,"tabIndex"):i.hasDefaultTabStop(s)?0:r},isTabNavigable:function(s){return i.effectiveTabIndex(s)>=0},isFocusable:function(s){return i.effectiveTabIndex(s)>=-1},_getTabNavigable:function(s){var a,o,u,c,h,v,f={};function g(M){return M&&M.tagName.toLowerCase()=="input"&&M.type&&M.type.toLowerCase()=="radio"&&M.name&&M.name.toLowerCase()}var m=i._isElementShown,E=i.effectiveTabIndex,w=function(M){for(var R=M.firstChild;R;R=R.nextSibling)if(!(R.nodeType!=1||e("ie")<=9&&R.scopeName!=="HTML"||!m(R))){var T=E(R);if(T>=0){T==0?(a||(a=R),o=R):T>0&&((!u||T<c)&&(c=T,u=R),(!h||T>=v)&&(v=T,h=R));var N=g(R);p.get(R,"checked")&&N&&(f[N]=R)}R.nodeName.toUpperCase()!="SELECT"&&w(R)}};m(s)&&w(s);function I(M){return f[g(M)]||M}return{first:I(a),last:I(o),lowest:I(u),highest:I(h)}},getFirstInTabbingOrder:function(s,a){var o=i._getTabNavigable(A.byId(s,a));return o.lowest?o.lowest:o.first},getLastInTabbingOrder:function(s,a){var o=i._getTabNavigable(A.byId(s,a));return o.last?o.last:o.highest}};return e("extend-dojo")&&n.mixin(t,i),i},_,P),_.exports=S},50502:(_,P,l)=>{var b,S;b=[l(75145),l(72875),l(86560),l(71805)],S=l.dj.d(b,function(C,A,p,d){function n(r){if((r.keyCode===C.ENTER||r.keyCode===C.SPACE)&&!/input|button|textarea/i.test(r.target.nodeName)){for(var i=r.target;i;i=i.parentNode)if(i.dojoClick)return!0}}var e;p(document,"keydown",function(r){n(r)?(e=r.target,r.preventDefault()):e=null}),p(document,"keyup",function(r){n(r)&&r.target==e&&(e=null,p.emit(r.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey,altKey:r.altKey,_origType:r.type}))});var t=function(r,i){return r.dojoClick=!0,p(r,"click",i)};return t.click=t,t.press=function(r,i){var s=p(r,d.press,function(o){o.type=="mousedown"&&!A.isLeft(o)||i(o)}),a=p(r,"keydown",function(o){(o.keyCode===C.ENTER||o.keyCode===C.SPACE)&&i(o)});return{remove:function(){s.remove(),a.remove()}}},t.release=function(r,i){var s=p(r,d.release,function(o){o.type=="mouseup"&&!A.isLeft(o)||i(o)}),a=p(r,"keyup",function(o){(o.keyCode===C.ENTER||o.keyCode===C.SPACE)&&i(o)});return{remove:function(){s.remove(),a.remove()}}},t.move=d.move,t},_,P),_.exports=S},16109:(_,P,l)=>{var b,S;b=[l(76873),l(74786),l(7835),l(81070),l(65724),l(92087),l(57574),l(69961),l(86560),l(2799),l(23702),l(51937),l(69174),l(317),l(96656),l(45118),l(7240)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f){var g,m,E=A([o,t],{curNode:null,activeStack:[],constructor:function(){var M=r.hitch(this,function(R){p.isDescendant(this.curNode,R)&&this.set("curNode",null),p.isDescendant(this.prevNode,R)&&this.set("prevNode",null)});C.before(e,"empty",M),C.before(e,"destroy",M)},registerIframe:function(M){return this.registerWin(M.contentWindow,M)},registerWin:function(M,R){var T=this,N=M.document&&M.document.body;if(N){var F=a("pointer-events")?"pointerdown":a("MSPointer")?"MSPointerDown":a("touch-events")?"mousedown, touchstart":"mousedown",y=i(M.document,F,function(L){L&&L.target&&L.target.parentNode==null||T._onTouchNode(R||L.target,"mouse")}),x=i(N,"focusin",function(L){if(L.target.tagName){var W=L.target.tagName.toLowerCase();W=="#document"||W=="body"||(h.isFocusable(L.target)?T._onFocusNode(R||L.target):T._onTouchNode(R||L.target))}}),O=i(N,"focusout",function(L){T._onBlurNode(R||L.target)});return{remove:function(){y.remove(),x.remove(),O.remove(),y=x=O=null,N=null}}}},_onBlurNode:function(M){var R=new Date().getTime();R<g+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(r.hitch(this,function(){this.set("prevNode",this.curNode),this.set("curNode",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),!(R<m+100)&&(this._clearActiveWidgetsTimer=setTimeout(r.hitch(this,function(){delete this._clearActiveWidgetsTimer,this._setStack([])}),0)))},_onTouchNode:function(M,R){m=new Date().getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),n.contains(M,"dijitPopup")&&(M=M.firstChild);var T=[];try{for(;M;){var N=d.get(M,"dijitPopupParent");if(N)M=v.byId(N).domNode;else if(M.tagName&&M.tagName.toLowerCase()=="body"){if(M===u.body())break;M=c.get(M.ownerDocument).frameElement}else{var F=M.getAttribute&&M.getAttribute("widgetId"),y=F&&v.byId(F);y&&!(R=="mouse"&&y.get("disabled"))&&T.unshift(F),M=M.parentNode}}}catch(x){}this._setStack(T,R)},_onFocusNode:function(M){M&&M.nodeType!=9&&(g=new Date().getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(M),M!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",M)))},_setStack:function(M,R){var T=this.activeStack,N=T.length-1,F=M.length-1;if(M[F]!=T[N]){this.set("activeStack",M);var y,x;for(x=N;x>=0&&T[x]!=M[x];x--)y=v.byId(T[x]),y&&(y._hasBeenBlurred=!0,y.set("focused",!1),y._focusManager==this&&y._onBlur(R),this.emit("widget-blur",y,R));for(x++;x<=F;x++)y=v.byId(M[x]),y&&(y.set("focused",!0),y._focusManager==this&&y._onFocus(R),this.emit("widget-focus",y,R))}},focus:function(M){if(M)try{M.focus()}catch(R){}}}),w=new E;s(function(){var M=w.registerWin(c.get(document));a("ie")&&i(window,"unload",function(){M&&(M.remove(),M=null)})}),f.focus=function(M){w.focus(M)};for(var I in w)/^_/.test(I)||(f.focus[I]=typeof w[I]=="function"?r.hitch(w,I):w[I]);return w.watch(function(M,R,T){f.focus[M]=T}),w},_,P),_.exports=S},43810:(_,P,l)=>{var b,S;b=[l.dj.c(_),l(74786),l(65724),l(80675),l(57987),l(69961),l(63807),l(26205),l(18786),l(80256),l(8666),l(50502)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a){a.deprecated({deprecated:{module:"dijit/form/Button"},replacement:{module:"mw-form/PushButton"},geckNumber:1352405}),d("dijit-legacy-requires")&&t(0,function(){var u=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];C(u)});var o=A("dijit.form.Button"+(d("dojo-bidi")?"_NoBidi":""),[r,i],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:s,_setValueAttr:"valueNode",_setNameAttr:function(u){this.valueNode&&this.valueNode.setAttribute("name",u)},postCreate:function(){this.inherited(arguments),this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=e.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(u){this.containerNode&&p.toggle(this.containerNode,"dijitDisplayNone",!u),this._set("showLabel",u)},setLabel:function(u){n.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0"),this.set("label",u)},onLabelSet:function(){this.inherited(arguments),!this.showLabel&&!("title"in this.params)&&(this.titleNode.title=e.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});return d("dojo-bidi")&&(o=A("dijit.form.Button",o,{onLabelSet:function(){this.inherited(arguments),this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(u){this._created&&this.textDir!=u&&(this._set("textDir",u),this._setLabelAttr(this.label))}})),o},_,P),_.exports=S},18786:(_,P,l)=>{var b,S;b=[l(74786),l(7835),l(80675),l(45118)],S=l.dj.d(b,function(C,A,p,d){var n=C("dijit.form._ButtonMixin"+(p("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){return e.stopPropagation(),e.preventDefault(),this.disabled||this.valueNode.click(e),!1},_onClick:function(e){if(this.disabled)return e.stopPropagation(),e.preventDefault(),!1;this.onClick(e)===!1&&e.preventDefault();var t=e.defaultPrevented;if(!t&&this.type=="submit"&&!(this.valueNode||this.focusNode).form)for(var r=this.domNode;r.parentNode;r=r.parentNode){var i=d.byNode(r);if(i&&typeof i._onSubmit=="function"){i._onSubmit(e),e.preventDefault(),t=!0;break}}return!t},postCreate:function(){this.inherited(arguments),A.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(e){this._set("label",e);var t=this.containerNode||this.focusNode;t.innerHTML=e,this.onLabelSet()},onLabelSet:function(){}});return p("dojo-bidi")&&(n=C("dijit.form._ButtonMixin",n,{onLabelSet:function(){this.inherited(arguments);var e=this.containerNode||this.focusNode;this.applyTextDir(e)}})),n},_,P),_.exports=S},58774:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(57987),l(69961),l(86560),l(317)],S=l.dj.d(b,function(C,A,p,d,n,e){return A("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(t){var r=[];return C.forEach(t||this.getChildren(),function(i){"value"in i?r.push(i):r=r.concat(this._getDescendantFormWidgets(i.getChildren()))},this),r},reset:function(){C.forEach(this._getDescendantFormWidgets(),function(t){t.reset&&t.reset()})},validate:function(){var t=!1;return C.every(C.map(this._getDescendantFormWidgets(),function(r){r._hasBeenBlurred=!0;var i=r.disabled||!r.validate||r.validate();return!i&&!t&&(e.scrollIntoView(r.containerNode||r.domNode),r.focus(),t=!0),i}),function(r){return r})},setValues:function(t){return p.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0"),this.set("value",t)},_setValueAttr:function(t){var r={};C.forEach(this._getDescendantFormWidgets(),function(o){if(o.name){var u=r[o.name]||(r[o.name]=[]);u.push(o)}});for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],a=d.getObject(i,!1,t);a!==void 0&&(a=[].concat(a),typeof s[0].checked=="boolean"?C.forEach(s,function(o){o.set("value",C.indexOf(a,o._get("value"))!=-1)}):s[0].multiple?s[0].set("value",a):C.forEach(s,function(o,u){o.set("value",a[u])}))}},getValues:function(){return p.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},_getValueAttr:function(){var t={};return C.forEach(this._getDescendantFormWidgets(),function(r){var i=r.name;if(!(!i||r.disabled)){var s=r.get("value");if(typeof r.checked=="boolean")if(/Radio/.test(r.declaredClass))s!==!1?d.setObject(i,s,t):(s=d.getObject(i,!1,t),s===void 0&&d.setObject(i,null,t));else{var a=d.getObject(i,!1,t);a||(a=[],d.setObject(i,a,t)),s!==!1&&a.push(s)}else{var o=d.getObject(i,!1,t);typeof o<"u"?d.isArray(o)?o.push(s):d.setObject(i,[o,s],t):d.setObject(i,s,t)}}}),t},isValid:function(){return this.state==""},onValidStateChange:function(){},_getState:function(){var t=C.map(this._descendants,function(r){return r.get("state")||""});return C.indexOf(t,"Error")>=0?"Error":C.indexOf(t,"Incomplete")>=0?"Incomplete":""},disconnectChildren:function(){},connectChildren:function(t){this._descendants=this._getDescendantFormWidgets(),C.forEach(this._descendants,function(r){r._started||r.startup()}),t||this._onChildChange()},_onChildChange:function(t){(!t||t=="state"||t=="disabled")&&this._set("state",this._getState()),(!t||t=="value"||t=="disabled"||t=="checked")&&(this._onChangeDelayTimer&&this._onChangeDelayTimer.remove(),this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer,this._set("value",this.get("value"))},10))},startup:function(){this.inherited(arguments),this._descendants=this._getDescendantFormWidgets(),this.value=this.get("value"),this.state=this._getState();var t=this;this.own(n(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(r){r.target!=t.domNode&&t._onChildChange(r.type.replace("attrmodified-",""))})),this.watch("state",function(r,i,s){this.onValidStateChange(s=="")})},destroy:function(){this.inherited(arguments)}})},_,P),_.exports=S},26205:(_,P,l)=>{var b,S;b=[l(74786),l(23702),l(57987),l(63807),l(44491),l(91824),l(83830),l(4664)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){return A("dijit-legacy-requires")&&d(0,function(){var i=["dijit/form/_FormValueWidget"];require(i)}),C("dijit.form._FormWidget",[n,t,e,r],{setDisabled:function(i){p.deprecated("setDisabled("+i+") is deprecated. Use set('disabled',"+i+") instead.","","2.0"),this.set("disabled",i)},setValue:function(i){p.deprecated("dijit.form._FormWidget:setValue("+i+") is deprecated. Use set('value',"+i+") instead.","","2.0"),this.set("value",i)},getValue:function(){return p.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!A("msapp")?'name="'+this.name.replace(/"/g,"&quot;")+'"':"",this.inherited(arguments)}})},_,P),_.exports=S},4664:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(81070),l(37672),l(69961),l(72875),l(86560),l(23702),l(317),l(96656)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){return A("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(a){if(this._set("disabled",a),/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?(p.set(this.focusNode,"disabled",a),r("trident")&&"readOnly"in this&&p.set(this.focusNode,"readonly",a||this.readOnly)):this.focusNode.setAttribute("aria-disabled",a?"true":"false"),this.valueNode&&p.set(this.valueNode,"disabled",a),a){this._set("hovering",!1),this._set("active",!1);var o="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode";C.forEach(n.isArray(o)?o:[o],function(u){var c=this[u];r("webkit")||s.hasDefaultTabStop(c)?c.setAttribute("tabIndex","-1"):c.removeAttribute("tabIndex")},this)}else this.tabIndex!=""&&this.set("tabIndex",this.tabIndex)},_onFocus:function(a){if(a=="mouse"&&this.isFocusable())var o=this.own(t(this.focusNode,"focus",function(){c.remove(),o.remove()}))[0],u=r("pointer-events")?"pointerup":r("MSPointer")?"MSPointerUp":r("touch-events")?"touchend, mouseup":"mouseup",c=this.own(t(this.ownerDocumentBody,u,n.hitch(this,function(h){c.remove(),o.remove(),this.focused&&(h.type=="touchend"?this.defer("focus"):this.focus())})))[0];this.scrollOnFocus&&this.defer(function(){i.scrollIntoView(this.domNode)}),this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&d.get(this.domNode,"display")!="none"},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},compare:function(a,o){return typeof a=="number"&&typeof o=="number"?isNaN(a)&&isNaN(o)?0:a-o:a>o?1:a<o?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(a,o){this._lastValueReported==null&&(o===null||!this._onChangeActive)&&(this._resetValue=this._lastValueReported=a),this._pendingOnChange=this._pendingOnChange||typeof a!=typeof this._lastValueReported||this.compare(a,this._lastValueReported)!=0,(this.intermediateChanges||o||o===void 0)&&this._pendingOnChange&&(this._lastValueReported=a,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null,this.onChange(a)})))},create:function(){this.inherited(arguments),this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported)),this.inherited(arguments)}})},_,P),_.exports=S},9719:(_,P,l)=>{var b,S;b=[l(65724),l(74818),l(2799),l(69174)],S=l.dj.d(b,function(C,A,p,d){return p(function(){A("highcontrast")&&C.add(d.body(),"dijit_a11y")}),A},_,P),_.exports=S},34912:(_,P,l)=>{var b,S;b=[l(33659),l(8564),l(74786),l(65724),l(92087),l(20849),l(37672),l(75145),l(69961),l(86560),l(71805),l(75058),l(44491),l(83830),l(65431),l(75688)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v){var f=p("dijit.layout._Splitter",[u,c],{live:!0,templateString:'<div class="dijitSplitter" data-dojo-attach-event="onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex="0" role="separator"><div class="dijitSplitterThumb"></div></div>',constructor:function(){this._handlers=[]},postMixInProperties:function(){this.inherited(arguments),this.horizontal=/top|bottom/.test(this.region),this._factor=/top|left/.test(this.region)?1:-1,this._cookieName=this.container.id+"_"+this.region},buildRendering:function(){if(this.inherited(arguments),d.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")),this.container.persist){var E=this._getPersistentSplit();E&&(this.child.domNode.style[this.horizontal?"height":"width"]=E)}},_computeMaxSize:function(){var E=this.horizontal?"h":"w",w=e.getMarginBox(this.child.domNode)[E],I=C.filter(this.container.getChildren(),function(R){return R.region=="center"})[0],M=e.getContentBox(I.domNode)[E]-10;return Math.min(this.child.maxSize,w+M)},_startDrag:function(E){this.cover||(this.cover=n.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after")),d.add(this.cover,"dijitSplitterCoverActive"),this.fake&&n.destroy(this.fake),(this._resize=this.live)||((this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),d.add(this.domNode,"dijitSplitterShadow"),n.place(this.fake,this.domNode,"after")),d.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active"),this.fake&&d.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");var w=this._factor,I=this.horizontal,M=I?"pageY":"pageX",R=E[M],T=this.domNode.style,N=I?"h":"w",F=t.getComputedStyle(this.child.domNode),y=e.getMarginBox(this.child.domNode,F)[N],x=this._computeMaxSize(),O=Math.max(this.child.minSize,e.getPadBorderExtents(this.child.domNode,F)[N]+10),L=this.region,W=L=="top"||L=="bottom"?"top":"left",j=parseInt(T[W],10),H=this._resize,K=i.hitch(this.container,"_layoutChildren",this.child.id),$=this.ownerDocument;this._handlers=this._handlers.concat([s($,a.move,this._drag=function(V,z){var X=V[M]-R,Z=w*X+y,Y=Math.max(Math.min(Z,x),O);(H||z)&&K(Y),T[W]=X+j+w*(Y-Z)+"px"}),s($,"dragstart",function(V){V.stopPropagation(),V.preventDefault()}),s(this.ownerDocumentBody,"selectstart",function(V){V.stopPropagation(),V.preventDefault()}),s($,a.release,i.hitch(this,"_stopDrag"))]),E.stopPropagation(),E.preventDefault()},_onMouse:function(E){var w=E.type=="mouseover"||E.type=="mouseenter";d.toggle(this.domNode,"dijitSplitterHover",w),d.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",w)},_getPersistentSplit:function(){return A(this._cookieName)},_setPersistentSplit:function(E){A(this._cookieName,E,{expires:365})},_stopDrag:function(E){try{this.cover&&d.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&n.destroy(this.fake),d.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),this._drag(E),this._drag(E,!0)}finally{this._cleanupHandlers(),delete this._drag}this.container.persist&&this._setPersistentSplit(this.child.domNode.style[this.horizontal?"height":"width"])},_cleanupHandlers:function(){for(var E;E=this._handlers.pop();)E.remove()},_onKeyDown:function(E){this._resize=!0;var w=this.horizontal,I=1;switch(E.keyCode){case(w?r.UP_ARROW:r.LEFT_ARROW):I*=-1;case(w?r.DOWN_ARROW:r.RIGHT_ARROW):break;default:return}var M=e.getMarginSize(this.child.domNode)[w?"h":"w"]+this._factor*I;this.container._layoutChildren(this.child.id,Math.max(Math.min(M,this._computeMaxSize()),this.child.minSize)),E.stopPropagation(),E.preventDefault()},destroy:function(){this._cleanupHandlers(),delete this.child,delete this.container,delete this.cover,delete this.fake,this.inherited(arguments)}}),g=p("dijit.layout._Gutter",[u,c],{templateString:'<div class="dijitGutter" role="presentation"></div>',postMixInProperties:function(){this.inherited(arguments),this.horizontal=/top|bottom/.test(this.region)},buildRendering:function(){this.inherited(arguments),d.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"))}}),m=p("dijit.layout.BorderContainer",h,{gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:f,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter"),this.inherited(arguments)},_setupChild:function(E){this.inherited(arguments);var w=E.region,I=E.isLeftToRight();if(w=="leading"&&(w=I?"left":"right"),w=="trailing"&&(w=I?"right":"left"),w&&w!="center"&&(E.splitter||this.gutters)&&!E._splitterWidget){var M=E.splitter?this._splitterClass:g;i.isString(M)&&(M=i.getObject(M));var R=new M({id:E.id+"_splitter",container:this,child:E,region:w,live:this.liveSplitters});R.isSplitter=!0,E._splitterWidget=R;var T=w=="bottom"||w==(this.isLeftToRight()?"right":"left");n.place(R.domNode,E.domNode,T?"before":"after"),R.startup()}},layout:function(){this._layoutChildren()},removeChild:function(E){var w=E._splitterWidget;w&&(w.destroy(),delete E._splitterWidget),this.inherited(arguments)},getChildren:function(){return C.filter(this.inherited(arguments),function(E){return!E.isSplitter})},getSplitter:function(E){return C.filter(this.getChildren(),function(w){return w.region==E})[0]._splitterWidget},resize:function(E,w){if(!this.cs||!this.pe){var I=this.domNode;this.cs=t.getComputedStyle(I),this.pe=e.getPadExtents(I,this.cs),this.pe.r=t.toPixelValue(I,this.cs.paddingRight),this.pe.b=t.toPixelValue(I,this.cs.paddingBottom),t.set(I,"padding","0px")}this.inherited(arguments)},_layoutChildren:function(E,w){if(!(!this._borderBox||!this._borderBox.h)){var I=[];C.forEach(this._getOrderedChildren(),function(R){I.push(R),R._splitterWidget&&I.push(R._splitterWidget)});var M={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};v.layoutChildren(this.domNode,M,I,E,w)}},destroyRecursive:function(){C.forEach(this.getChildren(),function(E){var w=E._splitterWidget;w&&w.destroy(),delete E._splitterWidget}),this.inherited(arguments)}});return m.ChildWidgetProperties={splitter:!1,minSize:0,maxSize:1/0},i.mixin(m.ChildWidgetProperties,h.ChildWidgetProperties),i.extend(o,m.ChildWidgetProperties),m._Splitter=f,m._Gutter=g,m},_,P),_.exports=S},72086:(_,P,l)=>{var b,S;b=[l(57987),l(69961),l(44491),l(90180),l(21263),l(1723),l(45760),l(33659),l(74786),l(67324),l(7835),l(81070),l(92087),l(7755),l(86623),l(27754),l(34526)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v){return i("dijit.layout.ContentPane",[p,d,n],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:C._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(f,g,m){var E=new m(f,g);return!E.href&&E._contentSetter&&E._contentSetter.parseDeferred&&!E._contentSetter.parseDeferred.isFulfilled()?E._contentSetter.parseDeferred.then(function(){return E}):E},create:function(f,g){if((!f||!f.template)&&g&&!("href"in f)&&!("content"in f)){g=a.byId(g);for(var m=g.ownerDocument.createDocumentFragment();g.firstChild;)m.appendChild(g.firstChild);f=A.delegate(f,{content:m})}this.inherited(arguments,[f,g])},postMixInProperties:function(){this.inherited(arguments);var f=h.getLocalization("dijit","loading",this.lang);this.loadingMessage=e.substitute(this.loadingMessage,f),this.errorMessage=e.substitute(this.errorMessage,f)},buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode),this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments),this._contentSetter&&r.forEach(this._contentSetter.parseResults,function(f){!f._started&&!f._destroyed&&A.isFunction(f.startup)&&(f.startup(),f._started=!0)},this)},_startChildren:function(){r.forEach(this.getChildren(),function(f){!f._started&&!f._destroyed&&A.isFunction(f.startup)&&(f.startup(),f._started=!0)}),this._contentSetter&&r.forEach(this._contentSetter.parseResults,function(f){!f._started&&!f._destroyed&&A.isFunction(f.startup)&&(f.startup(),f._started=!0)},this)},setHref:function(f){return C.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0"),this.set("href",f)},_setHrefAttr:function(f){return this.cancel(),this.onLoadDeferred=new s(A.hitch(this,"cancel")),this.onLoadDeferred.then(A.hitch(this,"onLoad")),this._set("href",f),this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0,this.onLoadDeferred},setContent:function(f){C.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0"),this.set("content",f)},_setContentAttr:function(f){return this._set("href",""),this.cancel(),this.onLoadDeferred=new s(A.hitch(this,"cancel")),this._created&&this.onLoadDeferred.then(A.hitch(this,"onLoad")),this._setContent(f||""),this._isDownloaded=!1,this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&this._xhrDfd.fired==-1&&this._xhrDfd.cancel(),delete this._xhrDfd,this.onLoadDeferred=null},destroy:function(){this.cancel(),this.inherited(arguments)},destroyRecursive:function(f){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){if(this.inherited(arguments),this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){return this.cancel(),this.onLoadDeferred=new s(A.hitch(this,"cancel")),this.onLoadDeferred.then(A.hitch(this,"onLoad")),this._load(),this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var f=this,g={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};A.isObject(this.ioArgs)&&A.mixin(g,this.ioArgs);var m=this._xhrDfd=(this.ioMethod||c.get)(g),E;m.then(function(w){E=w;try{return f._isDownloaded=!0,f._setContent(w,!1)}catch(I){f._onError("Content",I)}},function(w){return m.canceled||f._onError("Download",w),delete f._xhrDfd,w}).then(function(){return f.onDownloadEnd(),delete f._xhrDfd,E}),delete this._hrefChanged},_onLoadHandler:function(f){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(f)}catch(g){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+g.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(f){console.error("Error "+this.widgetId+" running custom onUnload code: "+f.message)}},destroyDescendants:function(f){this.isLoaded&&this._onUnloadHandler();var g=this._contentSetter;r.forEach(this.getChildren(),function(m){m.destroyRecursive?m.destroyRecursive(f):m.destroy&&m.destroy(f),m._destroyed=!0}),g&&(r.forEach(g.parseResults,function(m){m._destroyed||(m.destroyRecursive?m.destroyRecursive(f):m.destroy&&m.destroy(f),m._destroyed=!0)}),delete g.parseResults),f||u.empty(this.containerNode),delete this._singleChild},_setContent:function(f,g){f=this.preprocessContent(f),this.destroyDescendants();var m=this._contentSetter;m&&m instanceof t._ContentSetter||(m=this._contentSetter=new t._ContentSetter({node:this.containerNode,_onError:A.hitch(this,this._onError),onContentError:A.hitch(this,function(M){var R=this.onContentError(M);try{this.containerNode.innerHTML=R}catch(T){console.error("Fatal "+this.id+" could not change content due to "+T.message,T)}})}));var E=A.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!f.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),w=m.set(A.isObject(f)&&f.domNode?f.domNode:f,E),I=this;return v(w&&w.then?w:m.parseDeferred,function(){delete I._contentSetterParams,g||(I._started&&(I._startChildren(),I._scheduleLayout()),I._onLoadHandler(f))})},preprocessContent:function(f){return f},_onError:function(f,g,m){this.onLoadDeferred.reject(g);var E=this["on"+f+"Error"].call(this,g);m?console.error(m,g):E&&this._setContent(E,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})},_,P),_.exports=S},65431:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(65724),l(37672),l(69961),l(75058),l(57266),l(75688)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){var i=A("dijit.layout.LayoutContainer",t,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){this._started||(C.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},_setupChild:function(s){this.inherited(arguments);var a=s.region;a&&p.add(s.domNode,this.baseClass+"Pane")},_getOrderedChildren:function(){var s=C.map(this.getChildren(),function(a,o){return{pane:a,weight:[a.region=="center"?1/0:0,a.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(a.region)?1:-1),o]}},this);return s.sort(function(a,o){for(var u=a.weight,c=o.weight,h=0;h<u.length;h++)if(u[h]!=c[h])return u[h]-c[h];return 0}),C.map(s,function(a){return a.pane})},layout:function(){r.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren())},addChild:function(s,a){this.inherited(arguments),this._started&&this.layout()},removeChild:function(s){this.inherited(arguments),this._started&&this.layout(),p.remove(s.domNode,this.baseClass+"Pane"),d.set(s.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"}),d.set(s.domNode,/top|bottom/.test(s.region)?"width":"height","auto")}});return i.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0},n.extend(e,i.ChildWidgetProperties),i},_,P),_.exports=S},21263:(_,P,l)=>{var b,S;b=[l(33659),l(74786),l(65724),l(20849),l(37672),l(69961),l(11278),l(45118),l(92266),l(75688)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){return A("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var a=this.getParent();this._childOfLayoutWidget=a&&a.isLayoutContainer,this._needLayout=!this._childOfLayoutWidget,this.inherited(arguments),this._isShown()&&this._onShow(),this._childOfLayoutWidget||this.own(i.on("resize",e.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var a=[],o=!1;t("> *",this.containerNode).some(function(u){var c=r.byNode(u);c&&c.resize?a.push(c):!/script|link|style/i.test(u.nodeName)&&u.offsetHeight&&(o=!0)}),this._singleChild=a.length==1&&!o?a[0]:null,p.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(a,o){this._resizeCalled=!0,this._scheduleLayout(a,o)},_scheduleLayout:function(a,o){this._isShown()?this._layout(a,o):(this._needLayout=!0,this._changeSize=a,this._resultSize=o)},_layout:function(a,o){delete this._needLayout,!this._wasShown&&this.open!==!1&&this._onShow(),a&&d.setMarginBox(this.domNode,a);var u=this.containerNode;if(u===this.domNode){var c=o||{};e.mixin(c,a||{}),(!("h"in c)||!("w"in c))&&(c=e.mixin(d.getMarginBox(u),c)),this._contentBox=s.marginBox2contentBox(u,c)}else this._contentBox=d.getContentBox(u);this._layoutChildren()},_layoutChildren:function(){if(this._checkIfSingleChild(),this._singleChild&&this._singleChild.resize){var a=this._contentBox||d.getContentBox(this.containerNode);this._singleChild.resize({w:a.w,h:a.h})}else for(var o=this.getChildren(),u,c=0;u=o[c++];)u.resize&&u.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var a=this.domNode,o=this.domNode.parentNode;return a.style.display!="none"&&a.style.visibility!="hidden"&&!p.contains(a,"dijitHidden")&&o&&o.style&&o.style.display!="none"},_onShow:function(){this._wasShown=!0,this._needLayout&&this._layout(this._changeSize,this._resultSize),this.inherited(arguments)}})},_,P),_.exports=S},57266:(_,P,l)=>{var b,S;b=[l(69961),l(44491),l(90180),l(17819),l(92266),l(74786),l(65724),l(20849),l(37672)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){return e("dijit.layout._LayoutWidget",[A,p,d],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments),t.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var s=this.getParent&&this.getParent();s&&s.isLayoutContainer||(this.resize(),this.own(n.on("resize",C.hitch(this,"resize"))))}},resize:function(s,a){var o=this.domNode;s&&r.setMarginBox(o,s);var u=a||{};C.mixin(u,s||{}),(!("h"in u)||!("w"in u))&&(u=C.mixin(r.getMarginBox(o),u));var c=i.getComputedStyle(o),h=r.getMarginExtents(o,c),v=r.getBorderExtents(o,c),f=this._borderBox={w:u.w-(h.w+v.w),h:u.h-(h.h+v.h)},g=r.getPadExtents(o,c);this._contentBox={l:i.toPixelValue(o,c.paddingLeft),t:i.toPixelValue(o,c.paddingTop),w:f.w-g.w,h:f.h-g.h},this.layout()},layout:function(){},_setupChild:function(s){var a=this.baseClass+"-child "+(s.baseClass?this.baseClass+"-"+s.baseClass:"");t.add(s.domNode,a)},addChild:function(s,a){this.inherited(arguments),this._started&&this._setupChild(s)},removeChild:function(s){var a=this.baseClass+"-child"+(s.baseClass?" "+this.baseClass+"-"+s.baseClass:"");t.remove(s.domNode,a),this.inherited(arguments)}})},_,P),_.exports=S},75688:(_,P,l)=>{var b,S;b=[l(33659),l(65724),l(20849),l(37672),l(69961)],S=l.dj.d(b,function(C,A,p,d,n){function e(i){return i.substring(0,1).toUpperCase()+i.substring(1)}function t(i,s){var a=i.resize?i.resize(s):p.setMarginBox(i.domNode,s);a?n.mixin(i,a):(n.mixin(i,p.getMarginBox(i.domNode)),n.mixin(i,s))}var r={marginBox2contentBox:function(i,s){var a=d.getComputedStyle(i),o=p.getMarginExtents(i,a),u=p.getPadBorderExtents(i,a);return{l:d.toPixelValue(i,a.paddingLeft),t:d.toPixelValue(i,a.paddingTop),w:s.w-(o.w+u.w),h:s.h-(o.h+u.h)}},layoutChildren:function(i,s,a,o,u){s=n.mixin({},s),A.add(i,"dijitLayoutContainer"),a=C.filter(a,function(c){return c.region!="center"&&c.layoutAlign!="client"}).concat(C.filter(a,function(c){return c.region=="center"||c.layoutAlign=="client"})),C.forEach(a,function(c){var h=c.domNode,v=c.region||c.layoutAlign;if(!v)throw new Error("No region setting for "+c.id);var f=h.style;f.left=s.l+"px",f.top=s.t+"px",f.position="absolute",A.add(h,"dijitAlign"+e(v));var g={};o&&o==c.id&&(g[c.region=="top"||c.region=="bottom"?"h":"w"]=u),v=="leading"&&(v=c.isLeftToRight()?"left":"right"),v=="trailing"&&(v=c.isLeftToRight()?"right":"left"),v=="top"||v=="bottom"?(g.w=s.w,t(c,g),s.h-=c.h,v=="top"?s.t+=c.h:f.top=s.t+s.h+"px"):v=="left"||v=="right"?(g.h=s.h,t(c,g),s.w-=c.w,v=="left"?s.l+=c.w:f.left=s.l+s.w+"px"):(v=="client"||v=="center")&&t(c,s)})}};return n.setObject("dijit.layout.utils",r),r},_,P),_.exports=S},7240:(_,P,l)=>{var b,S;b=[l(57987)],S=l.dj.d(b,function(C){return C.dijit},_,P),_.exports=S},9632:(_,P,l)=>{_.exports={loadingState:"Duke u ngarkuar",errorState:"Nj\xEB gabim ndodhi"}},62768:(_,P,l)=>{_.exports={loadingState:"\u062C\u0627\u0631\u064A \u0627\u0644\u062A\u062D\u0645\u064A\u0644...",errorState:"\u0639\u0641\u0648\u0627\u060C \u062D\u062F\u062B \u062E\u0637\u0623"}},93463:(_,P,l)=>{_.exports={loadingState:"Y\xFCkl\u0259nir...",errorState:"Problem yarand\u0131"}},90743:(_,P,l)=>{_.exports={loadingState:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435...",errorState:"\u0421\u044A\u0436\u0430\u043B\u044F\u0432\u0430\u043C\u0435, \u0432\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430"}},3705:(_,P,l)=>{_.exports={loadingState:"U\u010Ditavanje...",errorState:"Izvinite, do\u0161lo je do gre\u0161ke"}},82742:(_,P,l)=>{_.exports={loadingState:"S'est\xE0 carregant...",errorState:"Ens sap greu. S'ha produ\xEFt un error."}},43545:(_,P,l)=>{_.exports={loadingState:"Prob\xEDh\xE1 na\u010D\xEDt\xE1n\xED...",errorState:"Omlouv\xE1me se, do\u0161lo k chyb\u011B"}},34312:(_,P,l)=>{_.exports={loadingState:"Indl\xE6ser...",errorState:"Der er opst\xE5et en fejl"}},70516:(_,P,l)=>{_.exports={loadingState:"Wird geladen...",errorState:"Es ist ein Fehler aufgetreten."}},38624:(_,P,l)=>{_.exports={loadingState:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7...",errorState:"\u03A3\u03B1\u03C2 \u03B6\u03B7\u03C4\u03BF\u03CD\u03BC\u03B5 \u03C3\u03C5\u03B3\u03BD\u03CE\u03BC\u03B7, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1"}},16231:(_,P,l)=>{_.exports={loadingState:"Cargando...",errorState:"Lo siento, se ha producido un error"}},88477:(_,P,l)=>{_.exports={loadingState:"Kargatzen...",errorState:"Barkatu, errorea gertatu da"}},86098:(_,P,l)=>{_.exports={loadingState:"Lataus on meneill\xE4\xE4n...",errorState:"On ilmennyt virhe."}},96352:(_,P,l)=>{_.exports={loadingState:"Chargement...",errorState:"Une erreur est survenue"}},90882:(_,P,l)=>{_.exports={loadingState:"\u05D8\u05E2\u05D9\u05E0\u05D4...\u200F",errorState:"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4"}},99256:(_,P,l)=>{_.exports={loadingState:"U\u010Ditavanje...",errorState:"\u017Dao nam je, do\u0161lo je do gre\u0161ke"}},53427:(_,P,l)=>{_.exports={loadingState:"Bet\xF6lt\xE9s...",errorState:"Sajn\xE1lom, hiba t\xF6rt\xE9nt"}},56747:(_,P,l)=>{_.exports={loadingState:"Memuatkan...",errorState:"Maaf, terjadi kesalahan"}},75536:(_,P,l)=>{_.exports={loadingState:"Caricamento in corso...",errorState:"Si \xE8 verificato un errore"}},95835:(_,P,l)=>{_.exports={loadingState:"\u30ED\u30FC\u30C9\u4E2D...",errorState:"\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002"}},51848:(_,P,l)=>{_.exports={loadingState:"\u049A\u043E\u0442\u0430\u0440\u044B\u043B\u0443\u0434\u0430...",errorState:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u049B\u0430\u0442\u0435 \u043E\u0440\u044B\u043D \u0430\u043B\u0434\u044B"}},62044:(_,P,l)=>{_.exports={loadingState:"\uB85C\uB4DC \uC911...",errorState:"\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."}},95675:(_,P,l)=>{_.exports={root:{loadingState:"Loading...",errorState:"Sorry, an error occurred"},bs:!0,mk:!0,sr:!0,zh:!0,"zh-tw":!0,uk:!0,tr:!0,th:!0,sv:!0,sl:!0,sk:!0,ru:!0,ro:!0,pt:!0,"pt-pt":!0,pl:!0,nl:!0,nb:!0,ko:!0,kk:!0,ja:!0,it:!0,id:!0,hu:!0,hr:!0,he:!0,fr:!0,fi:!0,eu:!0,es:!0,el:!0,de:!0,da:!0,cs:!0,ca:!0,bg:!0,az:!0,ar:!0,al:!0}},19947:(_,P,l)=>{_.exports={loadingState:"\u0412\u0447\u0438\u0442\u0443\u0432\u0430\u045A\u0435...",errorState:"\u0421\u0435 \u043F\u043E\u0458\u0430\u0432\u0438 \u0433\u0440\u0435\u0448\u043A\u0430"}},1330:(_,P,l)=>{_.exports={loadingState:"Laster inn...",errorState:"Det oppsto en feil"}},76130:(_,P,l)=>{_.exports={loadingState:"Bezig met laden...",errorState:"Er is een fout opgetreden"}},89931:(_,P,l)=>{_.exports={loadingState:"\u0141adowanie...",errorState:"Niestety, wyst\u0105pi\u0142 b\u0142\u0105d"}},86663:(_,P,l)=>{_.exports={loadingState:"A carregar...",errorState:"Lamentamos, mas ocorreu um erro"}},10930:(_,P,l)=>{_.exports={loadingState:"Carregando...",errorState:"Desculpe, ocorreu um erro"}},39400:(_,P,l)=>{_.exports={loadingState:"\xCEnc\u0103rcare...",errorState:"Ne pare r\u0103u, a ap\u0103rut o eroare "}},85572:(_,P,l)=>{_.exports={loadingState:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",errorState:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0432\u043E\u0437\u043D\u0438\u043A\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430"}},62152:(_,P,l)=>{_.exports={loadingState:"Zav\xE1dza sa...",errorState:"\u013Dutujeme, ale vyskytla sa chyba"}},93153:(_,P,l)=>{_.exports={loadingState:"Nalaganje ...",errorState:"Oprostite, pri\u0161lo je do napake."}},12618:(_,P,l)=>{_.exports={loadingState:"U\u010Ditavanje...",errorState:"Na\u017Ealost, do\u0161lo je do gre\u0161ke"}},31773:(_,P,l)=>{_.exports={loadingState:"L\xE4ser in...",errorState:"Det har intr\xE4ffat ett fel."}},76670:(_,P,l)=>{_.exports={loadingState:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...",errorState:"\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14"}},60197:(_,P,l)=>{_.exports={loadingState:"Y\xFCkleniyor...",errorState:"\xDCzg\xFCn\xFCz, bir hata olu\u015Ftu"}},84236:(_,P,l)=>{_.exports={loadingState:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F...",errorState:"\u0421\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430"}},21976:(_,P,l)=>{_.exports={loadingState:"\u8F09\u5165\u4E2D...",errorState:"\u62B1\u6B49\uFF0C\u767C\u751F\u932F\u8AA4"}},13228:(_,P,l)=>{_.exports={loadingState:"\u6B63\u5728\u52A0\u8F7D...",errorState:"\u5BF9\u4E0D\u8D77\uFF0C\u53D1\u751F\u4E86\u9519\u8BEF"}},21569:(_,P,l)=>{var b,S;b=[l(33659),l(20849),l(37672),l(57987),l(69174),l(92266),l(7240)],S=l.dj.d(b,function(C,A,p,d,n,e,t){function r(a,o,u,c){var h=e.getEffectiveBox(a.ownerDocument);(!a.parentNode||String(a.parentNode.tagName).toLowerCase()!="body")&&n.body(a.ownerDocument).appendChild(a);var v=null;C.some(o,function(w){var I=w.corner,M=w.pos,R=0,T={w:{L:h.l+h.w-M.x,R:M.x-h.l,M:h.w}[I.charAt(1)],h:{T:h.t+h.h-M.y,B:M.y-h.t,M:h.h}[I.charAt(0)]},N=a.style;if(N.left=N.right="auto",u){var F=u(a,w.aroundCorner,I,T,c);R=typeof F>"u"?0:F}var y=a.style,x=y.display,O=y.visibility;y.display=="none"&&(y.visibility="hidden",y.display="");var L=A.position(a);y.display=x,y.visibility=O;var W={L:M.x,R:M.x-L.w,M:Math.max(h.l,Math.min(h.l+h.w,M.x+(L.w>>1))-L.w)}[I.charAt(1)],j={T:M.y,B:M.y-L.h,M:Math.max(h.t,Math.min(h.t+h.h,M.y+(L.h>>1))-L.h)}[I.charAt(0)],H=Math.max(h.l,W),K=Math.max(h.t,j),$=Math.min(h.l+h.w,W+L.w),V=Math.min(h.t+h.h,j+L.h),z=$-H,X=V-K;return R+=L.w-z+(L.h-X),(v==null||R<v.overflow)&&(v={corner:I,aroundCorner:w.aroundCorner,x:H,y:K,w:z,h:X,overflow:R,spaceAvailable:T}),!R}),v.overflow&&u&&u(a,v.aroundCorner,v.corner,v.spaceAvailable,c);var f=v.y,g=v.x,m=n.body(a.ownerDocument);/relative|absolute/.test(p.get(m,"position"))&&(f-=p.get(m,"marginTop"),g-=p.get(m,"marginLeft"));var E=a.style;return E.top=f+"px",E.left=g+"px",E.right="auto",v}var i={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},s={at:function(a,o,u,c,h){var v=C.map(u,function(f){var g={corner:f,aroundCorner:i[f],pos:{x:o.x,y:o.y}};return c&&(g.pos.x+=f.charAt(1)=="L"?c.x:-c.x,g.pos.y+=f.charAt(0)=="T"?c.y:-c.y),g});return r(a,v,h)},around:function(a,o,u,c,h){var v;if(typeof o=="string"||"offsetWidth"in o||"ownerSVGElement"in o){if(v=A.position(o,!0),/^(above|below)/.test(u[0])){var f=A.getBorderExtents(o),g=o.firstChild?A.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0},m=A.getBorderExtents(a),E=a.firstChild?A.getBorderExtents(a.firstChild):{t:0,l:0,b:0,r:0};v.y+=Math.min(f.t+g.t,m.t+E.t),v.h-=Math.min(f.t+g.t,m.t+E.t)+Math.min(f.b+g.b,m.b+E.b)}}else v=o;if(o.parentNode)for(var w=p.getComputedStyle(o).position=="absolute",I=o.parentNode;I&&I.nodeType==1&&I.nodeName!="BODY";){var M=A.position(I,!0),R=p.getComputedStyle(I);if(/relative|absolute/.test(R.position)&&(w=!1),!w&&/hidden|auto|scroll/.test(R.overflow)){var T=Math.min(v.y+v.h,M.y+M.h),N=Math.min(v.x+v.w,M.x+M.w);v.x=Math.max(v.x,M.x),v.y=Math.max(v.y,M.y),v.h=T-v.y,v.w=N-v.x}R.position=="absolute"&&(w=!0),I=I.parentNode}var F=v.x,y=v.y,x="w"in v?v.w:v.w=v.width,O="h"in v?v.h:(d.deprecated("place.around: dijit/place.__Rectangle: { x:"+F+", y:"+y+", height:"+v.height+", width:"+x+" } has been deprecated. Please use { x:"+F+", y:"+y+", h:"+v.height+", w:"+x+" }","","2.0"),v.h=v.height),L=[];function W(H,K){L.push({aroundCorner:H,corner:K,pos:{x:{L:F,R:F+x,M:F+(x>>1)}[H.charAt(1)],y:{T:y,B:y+O,M:y+(O>>1)}[H.charAt(0)]}})}C.forEach(u,function(H){var K=c;switch(H){case"above-centered":W("TM","BM");break;case"below-centered":W("BM","TM");break;case"after-centered":K=!K;case"before-centered":W(K?"ML":"MR",K?"MR":"ML");break;case"after":K=!K;case"before":W(K?"TL":"TR",K?"TR":"TL"),W(K?"BL":"BR",K?"BR":"BL");break;case"below-alt":K=!K;case"below":W(K?"BL":"BR",K?"TL":"TR"),W(K?"BR":"BL",K?"TR":"TL");break;case"above-alt":K=!K;case"above":W(K?"TL":"TR",K?"BL":"BR"),W(K?"TR":"TL",K?"BR":"BL");break;default:W(H.aroundCorner,H.corner)}});var j=r(a,L,h,{w:x,h:O});return j.aroundNodePos=v,j}};return t.place=s},_,P),_.exports=S},95301:(_,P,l)=>{var b,S;b=[l(33659),l(76873),l(74786),l(7835),l(81070),l(92087),l(20849),l(37672),l(80675),l(75145),l(69961),l(86560),l(21569),l(64220),l(92266),l(7240),l(71805)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v){function f(){this._popupWrapper&&(e.destroy(this._popupWrapper),delete this._popupWrapper)}var g=p(null,{_stack:[],_beginZIndex:1e3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var m=this._firstAroundPosition,E=t.position(this._firstAroundNode,!0),w=E.x-m.x,I=E.y-m.y;if(w||I){this._firstAroundPosition=E;for(var M=0;M<this._stack.length;M++){var R=this._stack[M].wrapper.style;R.top=parseFloat(R.top)+I+"px",R.right=="auto"?R.left=parseFloat(R.left)+w+"px":R.right=parseFloat(R.right)-w+"px"}}this._aroundMoveListener=setTimeout(a.hitch(this,"_repositionAll"),w||I?10:50)}},_createWrapper:function(m){var E=m._popupWrapper,w=m.domNode;if(!E){E=e.create("div",{class:"dijitPopup",style:{display:"none"},role:"region","aria-label":m["aria-label"]||m.label||m.name||m.id},m.ownerDocumentBody),E.appendChild(w);var I=w.style;I.display="",I.visibility="",I.position="",I.top="0px",m._popupWrapper=E,A.after(m,"destroy",f,!0),"ontouchend"in document&&o(E,"touchend",function(M){/^(input|button|textarea)$/i.test(M.target.tagName)||M.preventDefault()}),E.dojoClick=!0}return E},moveOffScreen:function(m){var E=this._createWrapper(m),w=t.isBodyLtr(m.ownerDocument),I={visibility:"hidden",top:"-9999px",display:""};return I[w?"left":"right"]="-9999px",I[w?"right":"left"]="auto",r.set(E,I),E},hide:function(m){var E=this._createWrapper(m);r.set(E,{display:"none",height:"auto",overflowY:"visible",border:""});var w=m.domNode;"_originalStyle"in w&&(w.style.cssText=w._originalStyle)},getTopPopup:function(){for(var m=this._stack,E=m.length-1;E>0&&m[E].parent===m[E-1].widget;E--);return m[E]},open:function(m){var E=this._stack,w=m.popup,I=w.domNode,M=m.orient||["below","below-alt","above","above-alt"],R=m.parent?m.parent.isLeftToRight():t.isBodyLtr(w.ownerDocument),T=m.around,N=m.around&&m.around.id?m.around.id+"_dropdown":"popup_"+this._idGen++;if(!m.doNotClose)for(;E.length&&(!m.parent||!d.isDescendant(m.parent.domNode,E[E.length-1].widget.domNode));)this.close(E[E.length-1].widget);var F=this.moveOffScreen(w);w.startup&&!w._started&&w.startup();var y,x=t.position(I);if("maxHeight"in m&&m.maxHeight!=-1)y=m.maxHeight||1/0;else{var O=h.getEffectiveBox(this.ownerDocument),L=T?t.position(T,!1):{y:m.y-(m.padding||0),h:(m.padding||0)*2};y=Math.floor(Math.max(L.y,O.h-(L.y+L.h)))}if(x.h>y){var W=r.getComputedStyle(I),j=W.borderLeftWidth+" "+W.borderLeftStyle+" "+W.borderLeftColor;r.set(F,{overflowY:"scroll",height:y+"px",border:j}),I._originalStyle=I.style.cssText,I.style.border="none"}n.set(F,{id:N,style:{zIndex:this._beginZIndex+E.length},class:"dijitPopup "+(w.baseClass||w.class||"").split(" ")[0]+"Popup",dijitPopupParent:m.parent?m.parent.id:""}),E.length==0&&T&&(this._firstAroundNode=T,this._firstAroundPosition=t.position(T,!0),this._aroundMoveListener=setTimeout(a.hitch(this,"_repositionAll"),50)),i("config-bgIframe")&&!w.bgIframe&&(w.bgIframe=new c(F));var H=w.orient?a.hitch(w,"orient"):null,K=T?u.around(F,T,M,R,H):u.at(F,m,M=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],m.padding,H);F.style.visibility="visible",I.style.visibility="visible";var $=[];return $.push(o(F,"keydown",a.hitch(this,function(V){if(V.keyCode==s.ESCAPE&&m.onCancel)V.stopPropagation(),V.preventDefault(),m.onCancel();else if(V.keyCode==s.TAB){V.stopPropagation(),V.preventDefault();var z=this.getTopPopup();z&&z.onCancel&&z.onCancel()}}))),w.onCancel&&m.onCancel&&$.push(w.on("cancel",m.onCancel)),$.push(w.on(w.onExecute?"execute":"change",a.hitch(this,function(){var V=this.getTopPopup();V&&V.onExecute&&V.onExecute()}))),E.push({widget:w,wrapper:F,parent:m.parent,onExecute:m.onExecute,onCancel:m.onCancel,onClose:m.onClose,handlers:$}),w.onOpen&&w.onOpen(K),K},close:function(m){for(var E=this._stack;m&&C.some(E,function(T){return T.widget==m})||!m&&E.length;){var w=E.pop(),I=w.widget,M=w.onClose;I.bgIframe&&(I.bgIframe.destroy(),delete I.bgIframe),I.onClose&&I.onClose();for(var R;R=w.handlers.pop();)R.remove();I&&I.domNode&&this.hide(I),M&&M()}E.length==0&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return v.popup=new g},_,P),_.exports=S},45118:(_,P,l)=>{var b,S;b=[l(33659),l(69174),l(7240)],S=l.dj.d(b,function(C,A,p){var d={},n={},e={length:0,add:function(t){if(n[t.id])throw new Error("Tried to register widget with id=="+t.id+" but that id is already registered");n[t.id]=t,this.length++},remove:function(t){n[t]&&(delete n[t],this.length--)},byId:function(t){return typeof t=="string"?n[t]:t},byNode:function(t){return n[t.getAttribute("widgetId")]},toArray:function(){var t=[];for(var r in n)t.push(n[r]);return t},getUniqueId:function(t){var r;do r=t+"_"+(t in d?++d[t]:d[t]=0);while(n[r]);return p._scopeName=="dijit"?r:p._scopeName+"_"+r},findWidgets:function(t,r){var i=[];function s(a){for(var o=a.firstChild;o;o=o.nextSibling)if(o.nodeType==1){var u=o.getAttribute("widgetId");if(u){var c=n[u];c&&i.push(c)}else o!==r&&s(o)}}return s(t),i},_destroyAll:function(){p._curFocus=null,p._prevFocus=null,p._activeStack=[],C.forEach(e.findWidgets(A.body()),function(t){t._destroyed||(t.destroyRecursive?t.destroyRecursive():t.destroy&&t.destroy())})},getEnclosingWidget:function(t){for(;t;){var r=t.nodeType==1&&t.getAttribute("widgetId");if(r)return n[r];t=t.parentNode}return null},_hash:n};return p.registry=e,e},_,P),_.exports=S},22405:(_,P,l)=>{var b,S;b=[P,l(95712),l(84999)],S=l.dj.d(b,function(C,A,p){"use strict";/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var d,n;const e=A.ReactiveElement,t=A.ReactiveElement;class r extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var a,o;const u=super.createRenderRoot();return(a=(o=this.renderOptions).renderBefore)!==null&&a!==void 0||(o.renderBefore=u.firstChild),u}update(a){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(a),this._$Dt=p.render(o,this.renderRoot,this.renderOptions)}connectedCallback(){var a;super.connectedCallback(),(a=this._$Dt)===null||a===void 0||a.setConnected(!0)}disconnectedCallback(){var a;super.disconnectedCallback(),(a=this._$Dt)===null||a===void 0||a.setConnected(!1)}render(){return p.noChange}}r.finalized=!0,r._$litElement$=!0,(d=globalThis.litElementHydrateSupport)===null||d===void 0||d.call(globalThis,{LitElement:r});const i=globalThis.litElementPolyfillSupport;i==null||i({LitElement:r}),((n=globalThis.litElementVersions)!==null&&n!==void 0?n:globalThis.litElementVersions=[]).push("3.0.1"),P.LitElement=r,P.UpdatingElement=e,P.t={_$AK:(s,a,o)=>{s._$AK(a,o)},_$AL:s=>s._$AL},Object.keys(A).forEach(function(s){s==="default"||C.hasOwnProperty(s)||Object.defineProperty(C,s,{enumerable:!0,get:function(){return A[s]}})}),Object.keys(p).forEach(function(s){s==="default"||C.hasOwnProperty(s)||Object.defineProperty(C,s,{enumerable:!0,get:function(){return p[s]}})}),Object.defineProperty(C,"i",{value:!0})},_,P),_.exports=S},84999:(_,P,l)=>{var b,S;b=[P],S=l.dj.d(b,function(C){"use strict";/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var A;const p=globalThis.trustedTypes,d=p?p.createPolicy("lit-html",{createHTML:Z=>Z}):void 0,n="$lit$",e=`lit$${(Math.random()+"").slice(9)}$`,t="?"+e,r=`<${t}>`,i=document,s=(Z="")=>i.createComment(Z),a=Z=>Z===null||typeof Z!="object"&&typeof Z!="function",o=Array.isArray,u=Z=>{var Y;return o(Z)||typeof((Y=Z)===null||Y===void 0?void 0:Y[Symbol.iterator])=="function"},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,h=/-->/g,v=/>/g,f=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,g=/'/g,m=/"/g,E=/^(?:script|style|textarea)$/i,w=Z=>(Y,...Q)=>({_$litType$:Z,strings:Y,values:Q}),I=w(1),M=w(2),R=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),N=new WeakMap,F=i.createTreeWalker(i,129,null,!1),y=(Z,Y)=>{const Q=Z.length-1,q=[];let ee,oe=Y===2?"<svg>":"",se=c;for(let fe=0;fe<Q;fe++){const le=Z[fe];let ie,re,ce=-1,ve=0;for(;ve<le.length&&(se.lastIndex=ve,re=se.exec(le),re!==null);)ve=se.lastIndex,se===c?re[1]==="!--"?se=h:re[1]!==void 0?se=v:re[2]!==void 0?(E.test(re[2])&&(ee=RegExp("</"+re[2],"g")),se=f):re[3]!==void 0&&(se=f):se===f?re[0]===">"?(se=ee!=null?ee:c,ce=-1):re[1]===void 0?ce=-2:(ce=se.lastIndex-re[2].length,ie=re[1],se=re[3]===void 0?f:re[3]==='"'?m:g):se===m||se===g?se=f:se===h||se===v?se=c:(se=f,ee=void 0);const ge=se===f&&Z[fe+1].startsWith("/>")?" ":"";oe+=se===c?le+r:ce>=0?(q.push(ie),le.slice(0,ce)+n+le.slice(ce)+e+ge):le+e+(ce===-2?(q.push(void 0),fe):ge)}const he=oe+(Z[Q]||"<?>")+(Y===2?"</svg>":"");return[d!==void 0?d.createHTML(he):he,q]};class x{constructor({strings:Y,_$litType$:Q},q){let ee;this.parts=[];let oe=0,se=0;const he=Y.length-1,fe=this.parts,[le,ie]=y(Y,Q);if(this.el=x.createElement(le,q),F.currentNode=this.el.content,Q===2){const re=this.el.content,ce=re.firstChild;ce.remove(),re.append(...ce.childNodes)}for(;(ee=F.nextNode())!==null&&fe.length<he;){if(ee.nodeType===1){if(ee.hasAttributes()){const re=[];for(const ce of ee.getAttributeNames())if(ce.endsWith(n)||ce.startsWith(e)){const ve=ie[se++];if(re.push(ce),ve!==void 0){const ge=ee.getAttribute(ve.toLowerCase()+n).split(e),Te=/([.?@])?(.*)/.exec(ve);fe.push({type:1,index:oe,name:Te[2],strings:ge,ctor:Te[1]==="."?H:Te[1]==="?"?K:Te[1]==="@"?$:j})}else fe.push({type:6,index:oe})}for(const ce of re)ee.removeAttribute(ce)}if(E.test(ee.tagName)){const re=ee.textContent.split(e),ce=re.length-1;if(ce>0){ee.textContent=p?p.emptyScript:"";for(let ve=0;ve<ce;ve++)ee.append(re[ve],s()),F.nextNode(),fe.push({type:2,index:++oe});ee.append(re[ce],s())}}}else if(ee.nodeType===8)if(ee.data===t)fe.push({type:2,index:oe});else{let re=-1;for(;(re=ee.data.indexOf(e,re+1))!==-1;)fe.push({type:7,index:oe}),re+=e.length-1}oe++}}static createElement(Y,Q){const q=i.createElement("template");return q.innerHTML=Y,q}}function O(Z,Y,Q=Z,q){var ee,oe,se,he;if(Y===R)return Y;let fe=q!==void 0?(ee=Q._$Cl)===null||ee===void 0?void 0:ee[q]:Q._$Cu;const le=a(Y)?void 0:Y._$litDirective$;return(fe==null?void 0:fe.constructor)!==le&&((oe=fe==null?void 0:fe._$AO)===null||oe===void 0||oe.call(fe,!1),le===void 0?fe=void 0:(fe=new le(Z),fe._$AT(Z,Q,q)),q!==void 0?((se=(he=Q)._$Cl)!==null&&se!==void 0?se:he._$Cl=[])[q]=fe:Q._$Cu=fe),fe!==void 0&&(Y=O(Z,fe._$AS(Z,Y.values),fe,q)),Y}class L{constructor(Y,Q){this.v=[],this._$AN=void 0,this._$AD=Y,this._$AM=Q}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(Y){var Q;const{el:{content:q},parts:ee}=this._$AD,oe=((Q=Y==null?void 0:Y.creationScope)!==null&&Q!==void 0?Q:i).importNode(q,!0);F.currentNode=oe;let se=F.nextNode(),he=0,fe=0,le=ee[0];for(;le!==void 0;){if(he===le.index){let ie;le.type===2?ie=new W(se,se.nextSibling,this,Y):le.type===1?ie=new le.ctor(se,le.name,le.strings,this,Y):le.type===6&&(ie=new V(se,this,Y)),this.v.push(ie),le=ee[++fe]}he!==(le==null?void 0:le.index)&&(se=F.nextNode(),he++)}return oe}m(Y){let Q=0;for(const q of this.v)q!==void 0&&(q.strings!==void 0?(q._$AI(Y,q,Q),Q+=q.strings.length-2):q._$AI(Y[Q])),Q++}}class W{constructor(Y,Q,q,ee){var oe;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=Y,this._$AB=Q,this._$AM=q,this.options=ee,this._$Cg=(oe=ee==null?void 0:ee.isConnected)===null||oe===void 0||oe}get _$AU(){var Y,Q;return(Q=(Y=this._$AM)===null||Y===void 0?void 0:Y._$AU)!==null&&Q!==void 0?Q:this._$Cg}get parentNode(){let Y=this._$AA.parentNode;const Q=this._$AM;return Q!==void 0&&Y.nodeType===11&&(Y=Q.parentNode),Y}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(Y,Q=this){Y=O(this,Y,Q),a(Y)?Y===T||Y==null||Y===""?(this._$AH!==T&&this._$AR(),this._$AH=T):Y!==this._$AH&&Y!==R&&this.$(Y):Y._$litType$!==void 0?this.T(Y):Y.nodeType!==void 0?this.S(Y):u(Y)?this.P(Y):this.$(Y)}M(Y,Q=this._$AB){return this._$AA.parentNode.insertBefore(Y,Q)}S(Y){this._$AH!==Y&&(this._$AR(),this._$AH=this.M(Y))}$(Y){this._$AH!==T&&a(this._$AH)?this._$AA.nextSibling.data=Y:this.S(i.createTextNode(Y)),this._$AH=Y}T(Y){var Q;const{values:q,_$litType$:ee}=Y,oe=typeof ee=="number"?this._$AC(Y):(ee.el===void 0&&(ee.el=x.createElement(ee.h,this.options)),ee);if(((Q=this._$AH)===null||Q===void 0?void 0:Q._$AD)===oe)this._$AH.m(q);else{const se=new L(oe,this),he=se.p(this.options);se.m(q),this.S(he),this._$AH=se}}_$AC(Y){let Q=N.get(Y.strings);return Q===void 0&&N.set(Y.strings,Q=new x(Y)),Q}P(Y){o(this._$AH)||(this._$AH=[],this._$AR());const Q=this._$AH;let q,ee=0;for(const oe of Y)ee===Q.length?Q.push(q=new W(this.M(s()),this.M(s()),this,this.options)):q=Q[ee],q._$AI(oe),ee++;ee<Q.length&&(this._$AR(q&&q._$AB.nextSibling,ee),Q.length=ee)}_$AR(Y=this._$AA.nextSibling,Q){var q;for((q=this._$AP)===null||q===void 0||q.call(this,!1,!0,Q);Y&&Y!==this._$AB;){const ee=Y.nextSibling;Y.remove(),Y=ee}}setConnected(Y){var Q;this._$AM===void 0&&(this._$Cg=Y,(Q=this._$AP)===null||Q===void 0||Q.call(this,Y))}}class j{constructor(Y,Q,q,ee,oe){this.type=1,this._$AH=T,this._$AN=void 0,this.element=Y,this.name=Q,this._$AM=ee,this.options=oe,q.length>2||q[0]!==""||q[1]!==""?(this._$AH=Array(q.length-1).fill(new String),this.strings=q):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(Y,Q=this,q,ee){const oe=this.strings;let se=!1;if(oe===void 0)Y=O(this,Y,Q,0),se=!a(Y)||Y!==this._$AH&&Y!==R,se&&(this._$AH=Y);else{const he=Y;let fe,le;for(Y=oe[0],fe=0;fe<oe.length-1;fe++)le=O(this,he[q+fe],Q,fe),le===R&&(le=this._$AH[fe]),se||(se=!a(le)||le!==this._$AH[fe]),le===T?Y=T:Y!==T&&(Y+=(le!=null?le:"")+oe[fe+1]),this._$AH[fe]=le}se&&!ee&&this.C(Y)}C(Y){Y===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,Y!=null?Y:"")}}class H extends j{constructor(){super(...arguments),this.type=3}C(Y){this.element[this.name]=Y===T?void 0:Y}}class K extends j{constructor(){super(...arguments),this.type=4}C(Y){Y&&Y!==T?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class $ extends j{constructor(Y,Q,q,ee,oe){super(Y,Q,q,ee,oe),this.type=5}_$AI(Y,Q=this){var q;if((Y=(q=O(this,Y,Q,0))!==null&&q!==void 0?q:T)===R)return;const ee=this._$AH,oe=Y===T&&ee!==T||Y.capture!==ee.capture||Y.once!==ee.once||Y.passive!==ee.passive,se=Y!==T&&(ee===T||oe);oe&&this.element.removeEventListener(this.name,this,ee),se&&this.element.addEventListener(this.name,this,Y),this._$AH=Y}handleEvent(Y){var Q,q;typeof this._$AH=="function"?this._$AH.call((q=(Q=this.options)===null||Q===void 0?void 0:Q.host)!==null&&q!==void 0?q:this.element,Y):this._$AH.handleEvent(Y)}}class V{constructor(Y,Q,q){this.element=Y,this.type=6,this._$AN=void 0,this._$AM=Q,this.options=q}get _$AU(){return this._$AM._$AU}_$AI(Y){O(this,Y)}}const z={k:n,V:e,L:t,I:1,N:y,R:L,D:u,j:O,H:W,O:j,F:K,B:$,W:H,Z:V},X=window.litHtmlPolyfillSupport;X==null||X(x,W),((A=globalThis.litHtmlVersions)!==null&&A!==void 0?A:globalThis.litHtmlVersions=[]).push("2.0.1"),P.t=z,P.html=I,P.noChange=R,P.nothing=T,P.render=(Z,Y,Q)=>{var q,ee;const oe=(q=Q==null?void 0:Q.renderBefore)!==null&&q!==void 0?q:Y;let se=oe._$litPart$;if(se===void 0){const he=(ee=Q==null?void 0:Q.renderBefore)!==null&&ee!==void 0?ee:null;oe._$litPart$=se=new W(Y.insertBefore(s(),he),he,void 0,Q!=null?Q:{})}return se._$AI(Z),se},P.svg=M,Object.defineProperty(C,"i",{value:!0})},_,P),_.exports=S},85149:(_,P,l)=>{var b,S;b=[P],S=l.dj.d(b,function(C){"use strict";/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const A=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),d=new Map;class n{constructor(i,s){if(this._$cssResult$=!0,s!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i}get styleSheet(){let i=d.get(this.cssText);return A&&i===void 0&&(d.set(this.cssText,i=new CSSStyleSheet),i.replaceSync(this.cssText)),i}toString(){return this.cssText}}const e=r=>new n(typeof r=="string"?r:r+"",p),t=A?r=>r:r=>r instanceof CSSStyleSheet?(i=>{let s="";for(const a of i.cssRules)s+=a.cssText;return e(s)})(r):r;P.CSSResult=n,P.adoptStyles=(r,i)=>{A?r.adoptedStyleSheets=i.map(s=>s instanceof CSSStyleSheet?s:s.styleSheet):i.forEach(s=>{const a=document.createElement("style"),o=window.litNonce;o!==void 0&&a.setAttribute("nonce",o),a.textContent=s.cssText,r.appendChild(a)})},P.css=(r,...i)=>{const s=r.length===1?r[0]:i.reduce((a,o,u)=>a+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[u+1],r[0]);return new n(s,p)},P.getCompatibleStyle=t,P.supportsAdoptingStyleSheets=A,P.unsafeCSS=e,Object.defineProperty(C,"t",{value:!0})},_,P),_.exports=S},46475:(_,P,l)=>{var b;b=function(){"use strict";return function(){if(window.Reflect===void 0||window.customElements===void 0||window.customElements.polyfillWrapFlushCallback)return;const S=HTMLElement;window.HTMLElement=function(){return Reflect.construct(S,[],this.constructor)},HTMLElement.prototype=S.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,S)}(),{}}.call(null,l,P,_),b!==void 0&&(_.exports=b)},95712:(_,P,l)=>{var b,S;b=[P,l(85149),l(46475)],S=l.dj.d(b,function(C,A,p){"use strict";/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var d;const n=window.reactiveElementPolyfillSupport,e={toAttribute(s,a){switch(a){case Boolean:s=s?"":null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,a){let o=s;switch(a){case Boolean:o=s!==null;break;case Number:o=s===null?null:Number(s);break;case Object:case Array:try{o=JSON.parse(s)}catch(u){o=null}}return o}},t=(s,a)=>a!==s&&(a==a||s==s),r={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:t};class i extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(a){var o;(o=this.l)!==null&&o!==void 0||(this.l=[]),this.l.push(a)}static get observedAttributes(){this.finalize();const a=[];return this.elementProperties.forEach((o,u)=>{const c=this._$Eh(u,o);c!==void 0&&(this._$Eu.set(c,u),a.push(c))}),a}static createProperty(a,o=r){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(a,o),!o.noAccessor&&!this.prototype.hasOwnProperty(a)){const u=typeof a=="symbol"?Symbol():"__"+a,c=this.getPropertyDescriptor(a,u,o);c!==void 0&&Object.defineProperty(this.prototype,a,c)}}static getPropertyDescriptor(a,o,u){return{get(){return this[o]},set(c){const h=this[a];this[o]=c,this.requestUpdate(a,h,u)},configurable:!0,enumerable:!0}}static getPropertyOptions(a){return this.elementProperties.get(a)||r}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const a=Object.getPrototypeOf(this);if(a.finalize(),this.elementProperties=new Map(a.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const o=this.properties,u=[...Object.getOwnPropertyNames(o),...Object.getOwnPropertySymbols(o)];for(const c of u)this.createProperty(c,o[c])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(a){const o=[];if(Array.isArray(a)){const u=new Set(a.flat(1/0).reverse());for(const c of u)o.unshift(A.getCompatibleStyle(c))}else a!==void 0&&o.push(A.getCompatibleStyle(a));return o}static _$Eh(a,o){const u=o.attribute;return u===!1?void 0:typeof u=="string"?u:typeof a=="string"?a.toLowerCase():void 0}o(){var a;this._$Ev=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$Ep(),this.requestUpdate(),(a=this.constructor.l)===null||a===void 0||a.forEach(o=>o(this))}addController(a){var o,u;((o=this._$Em)!==null&&o!==void 0?o:this._$Em=[]).push(a),this.renderRoot!==void 0&&this.isConnected&&((u=a.hostConnected)===null||u===void 0||u.call(a))}removeController(a){var o;(o=this._$Em)===null||o===void 0||o.splice(this._$Em.indexOf(a)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((a,o)=>{this.hasOwnProperty(o)&&(this._$Et.set(o,this[o]),delete this[o])})}createRenderRoot(){var a;const o=(a=this.shadowRoot)!==null&&a!==void 0?a:this.attachShadow(this.constructor.shadowRootOptions);return A.adoptStyles(o,this.constructor.elementStyles),o}connectedCallback(){var a;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(a=this._$Em)===null||a===void 0||a.forEach(o=>{var u;return(u=o.hostConnected)===null||u===void 0?void 0:u.call(o)})}enableUpdating(a){}disconnectedCallback(){var a;(a=this._$Em)===null||a===void 0||a.forEach(o=>{var u;return(u=o.hostDisconnected)===null||u===void 0?void 0:u.call(o)})}attributeChangedCallback(a,o,u){this._$AK(a,u)}_$Eg(a,o,u=r){var c,h;const v=this.constructor._$Eh(a,u);if(v!==void 0&&u.reflect===!0){const f=((h=(c=u.converter)===null||c===void 0?void 0:c.toAttribute)!==null&&h!==void 0?h:e.toAttribute)(o,u.type);this._$Ei=a,f==null?this.removeAttribute(v):this.setAttribute(v,f),this._$Ei=null}}_$AK(a,o){var u,c,h;const v=this.constructor,f=v._$Eu.get(a);if(f!==void 0&&this._$Ei!==f){const g=v.getPropertyOptions(f),m=g.converter,E=(h=(c=(u=m)===null||u===void 0?void 0:u.fromAttribute)!==null&&c!==void 0?c:typeof m=="function"?m:null)!==null&&h!==void 0?h:e.fromAttribute;this._$Ei=f,this[f]=E(o,g.type),this._$Ei=null}}requestUpdate(a,o,u){let c=!0;a!==void 0&&(((u=u||this.constructor.getPropertyOptions(a)).hasChanged||t)(this[a],o)?(this._$AL.has(a)||this._$AL.set(a,o),u.reflect===!0&&this._$Ei!==a&&(this._$ES===void 0&&(this._$ES=new Map),this._$ES.set(a,u))):c=!1),!this.isUpdatePending&&c&&(this._$Ev=this._$ET())}_$ET(){return a=this,o=void 0,c=function*(){this.isUpdatePending=!0;try{yield this._$Ev}catch(v){Promise.reject(v)}const h=this.scheduleUpdate();return h!=null&&(yield h),!this.isUpdatePending},new((u=void 0)||(u=Promise))(function(h,v){function f(E){try{m(c.next(E))}catch(w){v(w)}}function g(E){try{m(c.throw(E))}catch(w){v(w)}}function m(E){var w;E.done?h(E.value):(w=E.value,w instanceof u?w:new u(function(I){I(w)})).then(f,g)}m((c=c.apply(a,o||[])).next())});var a,o,u,c}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((c,h)=>this[h]=c),this._$Et=void 0);let o=!1;const u=this._$AL;try{o=this.shouldUpdate(u),o?(this.willUpdate(u),(a=this._$Em)===null||a===void 0||a.forEach(c=>{var h;return(h=c.hostUpdate)===null||h===void 0?void 0:h.call(c)}),this.update(u)):this._$EC()}catch(c){throw o=!1,this._$EC(),c}o&&this._$AE(u)}willUpdate(a){}_$AE(a){var o;(o=this._$Em)===null||o===void 0||o.forEach(u=>{var c;return(c=u.hostUpdated)===null||c===void 0?void 0:c.call(u)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(a)),this.updated(a)}_$EC(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(a){return!0}update(a){this._$ES!==void 0&&(this._$ES.forEach((o,u)=>this._$Eg(u,this[u],o)),this._$ES=void 0),this._$EC()}updated(a){}firstUpdated(a){}}i.finalized=!0,i.elementProperties=new Map,i.elementStyles=[],i.shadowRootOptions={mode:"open"},n==null||n({ReactiveElement:i}),((d=globalThis.reactiveElementVersions)!==null&&d!==void 0?d:globalThis.reactiveElementVersions=[]).push("1.0.1"),P.CSSResult=A.CSSResult,P.adoptStyles=A.adoptStyles,P.css=A.css,P.getCompatibleStyle=A.getCompatibleStyle,P.supportsAdoptingStyleSheets=A.supportsAdoptingStyleSheets,P.unsafeCSS=A.unsafeCSS,P.ReactiveElement=i,P.defaultConverter=e,P.notEqual=t,Object.defineProperty(C,"t",{value:!0})},_,P),_.exports=S},66501:(_,P,l)=>{var b,S;b=[P],S=l.dj.d(b,function(C){"use strict";function A(ne){var ae=ne.getBoundingClientRect();return{width:ae.width,height:ae.height,top:ae.top,right:ae.right,bottom:ae.bottom,left:ae.left,x:ae.left,y:ae.top}}function p(ne){if(ne==null)return window;if(ne.toString()!=="[object Window]"){var ae=ne.ownerDocument;return ae&&ae.defaultView||window}return ne}function d(ne){var ae=p(ne),de=ae.pageXOffset,De=ae.pageYOffset;return{scrollLeft:de,scrollTop:De}}function n(ne){var ae=p(ne).Element;return ne instanceof ae||ne instanceof Element}function e(ne){var ae=p(ne).HTMLElement;return ne instanceof ae||ne instanceof HTMLElement}function t(ne){if(typeof ShadowRoot>"u")return!1;var ae=p(ne).ShadowRoot;return ne instanceof ae||ne instanceof ShadowRoot}function r(ne){return{scrollLeft:ne.scrollLeft,scrollTop:ne.scrollTop}}function i(ne){return ne===p(ne)||!e(ne)?d(ne):r(ne)}function s(ne){return ne?(ne.nodeName||"").toLowerCase():null}function a(ne){return((n(ne)?ne.ownerDocument:ne.document)||window.document).documentElement}function o(ne){return A(a(ne)).left+d(ne).scrollLeft}function u(ne){return p(ne).getComputedStyle(ne)}function c(ne){var ae=u(ne),de=ae.overflow,De=ae.overflowX,be=ae.overflowY;return/auto|scroll|overlay|hidden/.test(de+be+De)}function h(ne,ae,de){de===void 0&&(de=!1);var De=a(ae),be=A(ne),Be=e(ae),Oe={scrollLeft:0,scrollTop:0},ke={x:0,y:0};return(Be||!Be&&!de)&&((s(ae)!=="body"||c(De))&&(Oe=i(ae)),e(ae)?(ke=A(ae),ke.x+=ae.clientLeft,ke.y+=ae.clientTop):De&&(ke.x=o(De))),{x:be.left+Oe.scrollLeft-ke.x,y:be.top+Oe.scrollTop-ke.y,width:be.width,height:be.height}}function v(ne){var ae=A(ne),de=ne.offsetWidth,De=ne.offsetHeight;return Math.abs(ae.width-de)<=1&&(de=ae.width),Math.abs(ae.height-De)<=1&&(De=ae.height),{x:ne.offsetLeft,y:ne.offsetTop,width:de,height:De}}function f(ne){return s(ne)==="html"?ne:ne.assignedSlot||ne.parentNode||(t(ne)?ne.host:null)||a(ne)}function g(ne){return["html","body","#document"].indexOf(s(ne))>=0?ne.ownerDocument.body:e(ne)&&c(ne)?ne:g(f(ne))}function m(ne,ae){var de;ae===void 0&&(ae=[]);var De=g(ne),be=De===((de=ne.ownerDocument)==null?void 0:de.body),Be=p(De),Oe=be?[Be].concat(Be.visualViewport||[],c(De)?De:[]):De,ke=ae.concat(Oe);return be?ke:ke.concat(m(f(Oe)))}function E(ne){return["table","td","th"].indexOf(s(ne))>=0}function w(ne){return!e(ne)||u(ne).position==="fixed"?null:ne.offsetParent}function I(ne){for(var ae=navigator.userAgent.toLowerCase().includes("firefox"),de=f(ne);e(de)&&["html","body"].indexOf(s(de))<0;){var De=u(de);if(De.transform!=="none"||De.perspective!=="none"||De.contain==="paint"||["transform","perspective"].includes(De.willChange)||ae&&De.willChange==="filter"||ae&&De.filter&&De.filter!=="none")return de;de=de.parentNode}return null}function M(ne){for(var ae=p(ne),de=w(ne);de&&E(de)&&u(de).position==="static";)de=w(de);return de&&(s(de)==="html"||s(de)==="body"&&u(de).position==="static")?ae:de||I(ne)||ae}var R="top",T="bottom",N="right",F="left",y="auto",x=[R,T,N,F],O="start",L="end",W="clippingParents",j="viewport",H="popper",K="reference",$=x.reduce(function(ne,ae){return ne.concat([ae+"-"+O,ae+"-"+L])},[]),V=[].concat(x,[y]).reduce(function(ne,ae){return ne.concat([ae,ae+"-"+O,ae+"-"+L])},[]),z="beforeRead",X="read",Z="afterRead",Y="beforeMain",Q="main",q="afterMain",ee="beforeWrite",oe="write",se="afterWrite",he=[z,X,Z,Y,Q,q,ee,oe,se];function fe(ne){var ae=new Map,de=new Set,De=[];ne.forEach(function(Be){ae.set(Be.name,Be)});function be(Be){de.add(Be.name);var Oe=[].concat(Be.requires||[],Be.requiresIfExists||[]);Oe.forEach(function(ke){if(!de.has(ke)){var Ze=ae.get(ke);Ze&&be(Ze)}}),De.push(Be)}return ne.forEach(function(Be){de.has(Be.name)||be(Be)}),De}function le(ne){var ae=fe(ne);return he.reduce(function(de,De){return de.concat(ae.filter(function(be){return be.phase===De}))},[])}function ie(ne){var ae;return function(){return ae||(ae=new Promise(function(de){Promise.resolve().then(function(){ae=void 0,de(ne())})})),ae}}function re(ne){return ne.split("-")[0]}function ce(ne){var ae=ne.reduce(function(de,De){var be=de[De.name];return de[De.name]=be?Object.assign({},be,De,{options:Object.assign({},be.options,De.options),data:Object.assign({},be.data,De.data)}):De,de},{});return Object.keys(ae).map(function(de){return ae[de]})}function ve(ne){var ae=p(ne),de=a(ne),De=ae.visualViewport,be=de.clientWidth,Be=de.clientHeight,Oe=0,ke=0;return De&&(be=De.width,Be=De.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(Oe=De.offsetLeft,ke=De.offsetTop)),{width:be,height:Be,x:Oe+o(ne),y:ke}}var ge=Math.max,Te=Math.min,Pe=Math.round;function Le(ne){var ae,de=a(ne),De=d(ne),be=(ae=ne.ownerDocument)==null?void 0:ae.body,Be=ge(de.scrollWidth,de.clientWidth,be?be.scrollWidth:0,be?be.clientWidth:0),Oe=ge(de.scrollHeight,de.clientHeight,be?be.scrollHeight:0,be?be.clientHeight:0),ke=-De.scrollLeft+o(ne),Ze=-De.scrollTop;return u(be||de).direction==="rtl"&&(ke+=ge(de.clientWidth,be?be.clientWidth:0)-Be),{width:Be,height:Oe,x:ke,y:Ze}}function ct(ne,ae){var de=ae.getRootNode&&ae.getRootNode();if(ne.contains(ae))return!0;if(de&&t(de)){var De=ae;do{if(De&&ne.isSameNode(De))return!0;De=De.parentNode||De.host}while(De)}return!1}function st(ne){return Object.assign({},ne,{left:ne.x,top:ne.y,right:ne.x+ne.width,bottom:ne.y+ne.height})}function ot(ne){var ae=A(ne);return ae.top=ae.top+ne.clientTop,ae.left=ae.left+ne.clientLeft,ae.bottom=ae.top+ne.clientHeight,ae.right=ae.left+ne.clientWidth,ae.width=ne.clientWidth,ae.height=ne.clientHeight,ae.x=ae.left,ae.y=ae.top,ae}function nt(ne,ae){return ae===j?st(ve(ne)):e(ae)?ot(ae):st(Le(a(ne)))}function Rt(ne){var ae=m(f(ne)),de=["absolute","fixed"].indexOf(u(ne).position)>=0,De=de&&e(ne)?M(ne):ne;return n(De)?ae.filter(function(be){return n(be)&&ct(be,De)&&s(be)!=="body"}):[]}function Yt(ne,ae,de){var De=ae==="clippingParents"?Rt(ne):[].concat(ae),be=[].concat(De,[de]),Be=be[0],Oe=be.reduce(function(ke,Ze){var ut=nt(ne,Ze);return ke.top=ge(ut.top,ke.top),ke.right=Te(ut.right,ke.right),ke.bottom=Te(ut.bottom,ke.bottom),ke.left=ge(ut.left,ke.left),ke},nt(ne,Be));return Oe.width=Oe.right-Oe.left,Oe.height=Oe.bottom-Oe.top,Oe.x=Oe.left,Oe.y=Oe.top,Oe}function kt(ne){return ne.split("-")[1]}function Ft(ne){return["top","bottom"].indexOf(ne)>=0?"x":"y"}function Bt(ne){var ae=ne.reference,de=ne.element,De=ne.placement,be=De?re(De):null,Be=De?kt(De):null,Oe=ae.x+ae.width/2-de.width/2,ke=ae.y+ae.height/2-de.height/2,Ze;switch(be){case R:Ze={x:Oe,y:ae.y-de.height};break;case T:Ze={x:Oe,y:ae.y+ae.height};break;case N:Ze={x:ae.x+ae.width,y:ke};break;case F:Ze={x:ae.x-de.width,y:ke};break;default:Ze={x:ae.x,y:ae.y}}var ut=be?Ft(be):null;if(ut!=null){var Xe=ut==="y"?"height":"width";switch(Be){case O:Ze[ut]=Ze[ut]-(ae[Xe]/2-de[Xe]/2);break;case L:Ze[ut]=Ze[ut]+(ae[Xe]/2-de[Xe]/2);break}}return Ze}function me(){return{top:0,right:0,bottom:0,left:0}}function Ne(ne){return Object.assign({},me(),ne)}function Ve(ne,ae){return ae.reduce(function(de,De){return de[De]=ne,de},{})}function et(ne,ae){ae===void 0&&(ae={});var de=ae,De=de.placement,be=De===void 0?ne.placement:De,Be=de.boundary,Oe=Be===void 0?W:Be,ke=de.rootBoundary,Ze=ke===void 0?j:ke,ut=de.elementContext,Xe=ut===void 0?H:ut,Qt=de.altBoundary,zt=Qt===void 0?!1:Qt,Pt=de.padding,Wt=Pt===void 0?0:Pt,tn=Ne(typeof Wt!="number"?Wt:Ve(Wt,x)),Kt=Xe===H?K:H,Gt=ne.elements.reference,Re=ne.rects.popper,Ue=ne.elements[zt?Kt:Xe],je=Yt(n(Ue)?Ue:Ue.contextElement||a(ne.elements.popper),Oe,Ze),tt=A(Gt),xt=Bt({reference:tt,element:Re,strategy:"absolute",placement:be}),Lt=st(Object.assign({},Re,xt)),ft=Xe===H?Lt:tt,vt={top:je.top-ft.top+tn.top,bottom:ft.bottom-je.bottom+tn.bottom,left:je.left-ft.left+tn.left,right:ft.right-je.right+tn.right},an=ne.modifiersData.offset;if(Xe===H&&an){var nn=an[be];Object.keys(vt).forEach(function(pn){var un=[N,T].indexOf(pn)>=0?1:-1,In=[R,T].indexOf(pn)>=0?"y":"x";vt[pn]+=nn[In]*un})}return vt}var ze={placement:"bottom",modifiers:[],strategy:"absolute"};function pt(){for(var ne=arguments.length,ae=new Array(ne),de=0;de<ne;de++)ae[de]=arguments[de];return!ae.some(function(De){return!(De&&typeof De.getBoundingClientRect=="function")})}function Et(ne){ne===void 0&&(ne={});var ae=ne,de=ae.defaultModifiers,De=de===void 0?[]:de,be=ae.defaultOptions,Be=be===void 0?ze:be;return function(ke,Ze,ut){ut===void 0&&(ut=Be);var Xe={placement:"bottom",orderedModifiers:[],options:Object.assign({},ze,Be),modifiersData:{},elements:{reference:ke,popper:Ze},attributes:{},styles:{}},Qt=[],zt=!1,Pt={state:Xe,setOptions:function(Gt){tn(),Xe.options=Object.assign({},Be,Xe.options,Gt),Xe.scrollParents={reference:n(ke)?m(ke):ke.contextElement?m(ke.contextElement):[],popper:m(Ze)};var Re=le(ce([].concat(De,Xe.options.modifiers)));return Xe.orderedModifiers=Re.filter(function(Ue){return Ue.enabled}),Wt(),Pt.update()},forceUpdate:function(){if(!zt){var Gt=Xe.elements,Re=Gt.reference,Ue=Gt.popper;if(pt(Re,Ue)){Xe.rects={reference:h(Re,M(Ue),Xe.options.strategy==="fixed"),popper:v(Ue)},Xe.reset=!1,Xe.placement=Xe.options.placement,Xe.orderedModifiers.forEach(function(an){return Xe.modifiersData[an.name]=Object.assign({},an.data)});for(var je=0;je<Xe.orderedModifiers.length;je++){if(Xe.reset===!0){Xe.reset=!1,je=-1;continue}var tt=Xe.orderedModifiers[je],xt=tt.fn,Lt=tt.options,ft=Lt===void 0?{}:Lt,vt=tt.name;typeof xt=="function"&&(Xe=xt({state:Xe,options:ft,name:vt,instance:Pt})||Xe)}}}},update:ie(function(){return new Promise(function(Kt){Pt.forceUpdate(),Kt(Xe)})}),destroy:function(){tn(),zt=!0}};if(!pt(ke,Ze))return Pt;Pt.setOptions(ut).then(function(Kt){!zt&&ut.onFirstUpdate&&ut.onFirstUpdate(Kt)});function Wt(){Xe.orderedModifiers.forEach(function(Kt){var Gt=Kt.name,Re=Kt.options,Ue=Re===void 0?{}:Re,je=Kt.effect;if(typeof je=="function"){var tt=je({state:Xe,name:Gt,instance:Pt,options:Ue}),xt=function(){};Qt.push(tt||xt)}})}function tn(){Qt.forEach(function(Kt){return Kt()}),Qt=[]}return Pt}}var It={passive:!0};function Nt(ne){var ae=ne.state,de=ne.instance,De=ne.options,be=De.scroll,Be=be===void 0?!0:be,Oe=De.resize,ke=Oe===void 0?!0:Oe,Ze=p(ae.elements.popper),ut=[].concat(ae.scrollParents.reference,ae.scrollParents.popper);return Be&&ut.forEach(function(Xe){Xe.addEventListener("scroll",de.update,It)}),ke&&Ze.addEventListener("resize",de.update,It),function(){Be&&ut.forEach(function(Xe){Xe.removeEventListener("scroll",de.update,It)}),ke&&Ze.removeEventListener("resize",de.update,It)}}var Vt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Nt,data:{}};function cr(ne){var ae=ne.state,de=ne.name;ae.modifiersData[de]=Bt({reference:ae.rects.reference,element:ae.rects.popper,strategy:"absolute",placement:ae.placement})}var wn={name:"popperOffsets",enabled:!0,phase:"read",fn:cr,data:{}},On={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ln(ne){var ae=ne.x,de=ne.y,De=window,be=De.devicePixelRatio||1;return{x:Pe(Pe(ae*be)/be)||0,y:Pe(Pe(de*be)/be)||0}}function yn(ne){var ae,de=ne.popper,De=ne.popperRect,be=ne.placement,Be=ne.offsets,Oe=ne.position,ke=ne.gpuAcceleration,Ze=ne.adaptive,ut=ne.roundOffsets,Xe=ut===!0?Ln(Be):typeof ut=="function"?ut(Be):Be,Qt=Xe.x,zt=Qt===void 0?0:Qt,Pt=Xe.y,Wt=Pt===void 0?0:Pt,tn=Be.hasOwnProperty("x"),Kt=Be.hasOwnProperty("y"),Gt=F,Re=R,Ue=window;if(Ze){var je=M(de),tt="clientHeight",xt="clientWidth";je===p(de)&&(je=a(de),u(je).position!=="static"&&(tt="scrollHeight",xt="scrollWidth")),je=je,be===R&&(Re=T,Wt-=je[tt]-De.height,Wt*=ke?1:-1),be===F&&(Gt=N,zt-=je[xt]-De.width,zt*=ke?1:-1)}var Lt=Object.assign({position:Oe},Ze&&On);if(ke){var ft;return Object.assign({},Lt,(ft={},ft[Re]=Kt?"0":"",ft[Gt]=tn?"0":"",ft.transform=(Ue.devicePixelRatio||1)<2?"translate("+zt+"px, "+Wt+"px)":"translate3d("+zt+"px, "+Wt+"px, 0)",ft))}return Object.assign({},Lt,(ae={},ae[Re]=Kt?Wt+"px":"",ae[Gt]=tn?zt+"px":"",ae.transform="",ae))}function or(ne){var ae=ne.state,de=ne.options,De=de.gpuAcceleration,be=De===void 0?!0:De,Be=de.adaptive,Oe=Be===void 0?!0:Be,ke=de.roundOffsets,Ze=ke===void 0?!0:ke,ut={placement:re(ae.placement),popper:ae.elements.popper,popperRect:ae.rects.popper,gpuAcceleration:be};ae.modifiersData.popperOffsets!=null&&(ae.styles.popper=Object.assign({},ae.styles.popper,yn(Object.assign({},ut,{offsets:ae.modifiersData.popperOffsets,position:ae.options.strategy,adaptive:Oe,roundOffsets:Ze})))),ae.modifiersData.arrow!=null&&(ae.styles.arrow=Object.assign({},ae.styles.arrow,yn(Object.assign({},ut,{offsets:ae.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Ze})))),ae.attributes.popper=Object.assign({},ae.attributes.popper,{"data-popper-placement":ae.placement})}var cn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:or,data:{}};function wr(ne){var ae=ne.state;Object.keys(ae.elements).forEach(function(de){var De=ae.styles[de]||{},be=ae.attributes[de]||{},Be=ae.elements[de];!e(Be)||!s(Be)||(Object.assign(Be.style,De),Object.keys(be).forEach(function(Oe){var ke=be[Oe];ke===!1?Be.removeAttribute(Oe):Be.setAttribute(Oe,ke===!0?"":ke)}))})}function Kn(ne){var ae=ne.state,de={popper:{position:ae.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(ae.elements.popper.style,de.popper),ae.styles=de,ae.elements.arrow&&Object.assign(ae.elements.arrow.style,de.arrow),function(){Object.keys(ae.elements).forEach(function(De){var be=ae.elements[De],Be=ae.attributes[De]||{},Oe=Object.keys(ae.styles.hasOwnProperty(De)?ae.styles[De]:de[De]),ke=Oe.reduce(function(Ze,ut){return Ze[ut]="",Ze},{});!e(be)||!s(be)||(Object.assign(be.style,ke),Object.keys(Be).forEach(function(Ze){be.removeAttribute(Ze)}))})}}var sn={name:"applyStyles",enabled:!0,phase:"write",fn:wr,effect:Kn,requires:["computeStyles"]};function Xn(ne,ae,de){var De=re(ne),be=[F,R].indexOf(De)>=0?-1:1,Be=typeof de=="function"?de(Object.assign({},ae,{placement:ne})):de,Oe=Be[0],ke=Be[1];return Oe=Oe||0,ke=(ke||0)*be,[F,N].indexOf(De)>=0?{x:ke,y:Oe}:{x:Oe,y:ke}}function er(ne){var ae=ne.state,de=ne.options,De=ne.name,be=de.offset,Be=be===void 0?[0,0]:be,Oe=V.reduce(function(Xe,Qt){return Xe[Qt]=Xn(Qt,ae.rects,Be),Xe},{}),ke=Oe[ae.placement],Ze=ke.x,ut=ke.y;ae.modifiersData.popperOffsets!=null&&(ae.modifiersData.popperOffsets.x+=Ze,ae.modifiersData.popperOffsets.y+=ut),ae.modifiersData[De]=Oe}var Un={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:er},ye={left:"right",right:"left",bottom:"top",top:"bottom"};function Ce(ne){return ne.replace(/left|right|bottom|top/g,function(ae){return ye[ae]})}var Ie={start:"end",end:"start"};function Ke(ne){return ne.replace(/start|end/g,function(ae){return Ie[ae]})}function Je(ne,ae){ae===void 0&&(ae={});var de=ae,De=de.placement,be=de.boundary,Be=de.rootBoundary,Oe=de.padding,ke=de.flipVariations,Ze=de.allowedAutoPlacements,ut=Ze===void 0?V:Ze,Xe=kt(De),Qt=Xe?ke?$:$.filter(function(Wt){return kt(Wt)===Xe}):x,zt=Qt.filter(function(Wt){return ut.indexOf(Wt)>=0});zt.length===0&&(zt=Qt);var Pt=zt.reduce(function(Wt,tn){return Wt[tn]=et(ne,{placement:tn,boundary:be,rootBoundary:Be,padding:Oe})[re(tn)],Wt},{});return Object.keys(Pt).sort(function(Wt,tn){return Pt[Wt]-Pt[tn]})}function Qe(ne){if(re(ne)===y)return[];var ae=Ce(ne);return[Ke(ne),ae,Ke(ae)]}function Ge(ne){var ae=ne.state,de=ne.options,De=ne.name;if(!ae.modifiersData[De]._skip){for(var be=de.mainAxis,Be=be===void 0?!0:be,Oe=de.altAxis,ke=Oe===void 0?!0:Oe,Ze=de.fallbackPlacements,ut=de.padding,Xe=de.boundary,Qt=de.rootBoundary,zt=de.altBoundary,Pt=de.flipVariations,Wt=Pt===void 0?!0:Pt,tn=de.allowedAutoPlacements,Kt=ae.options.placement,Gt=re(Kt),Re=Gt===Kt,Ue=Ze||(Re||!Wt?[Ce(Kt)]:Qe(Kt)),je=[Kt].concat(Ue).reduce(function(fr,Vn){return fr.concat(re(Vn)===y?Je(ae,{placement:Vn,boundary:Xe,rootBoundary:Qt,padding:ut,flipVariations:Wt,allowedAutoPlacements:tn}):Vn)},[]),tt=ae.rects.reference,xt=ae.rects.popper,Lt=new Map,ft=!0,vt=je[0],an=0;an<je.length;an++){var nn=je[an],pn=re(nn),un=kt(nn)===O,In=[R,T].indexOf(pn)>=0,dn=In?"width":"height",Cn=et(ae,{placement:nn,boundary:Xe,rootBoundary:Qt,altBoundary:zt,padding:ut}),Dn=In?un?N:F:un?T:R;tt[dn]>xt[dn]&&(Dn=Ce(Dn));var An=Ce(Dn),En=[];if(Be&&En.push(Cn[pn]<=0),ke&&En.push(Cn[Dn]<=0,Cn[An]<=0),En.every(function(fr){return fr})){vt=nn,ft=!1;break}Lt.set(nn,En)}if(ft)for(var Er=Wt?3:1,ar=function(Vn){var Tr=je.find(function(Ur){var sr=Lt.get(Ur);if(sr)return sr.slice(0,Vn).every(function(hr){return hr})});if(Tr)return vt=Tr,"break"},Nn=Er;Nn>0;Nn--){var dr=ar(Nn);if(dr==="break")break}ae.placement!==vt&&(ae.modifiersData[De]._skip=!0,ae.placement=vt,ae.reset=!0)}}var dt={name:"flip",enabled:!0,phase:"main",fn:Ge,requiresIfExists:["offset"],data:{_skip:!1}};function mt(ne){return ne==="x"?"y":"x"}function Dt(ne,ae,de){return ge(ne,Te(ae,de))}function bt(ne){var ae=ne.state,de=ne.options,De=ne.name,be=de.mainAxis,Be=be===void 0?!0:be,Oe=de.altAxis,ke=Oe===void 0?!1:Oe,Ze=de.boundary,ut=de.rootBoundary,Xe=de.altBoundary,Qt=de.padding,zt=de.tether,Pt=zt===void 0?!0:zt,Wt=de.tetherOffset,tn=Wt===void 0?0:Wt,Kt=et(ae,{boundary:Ze,rootBoundary:ut,padding:Qt,altBoundary:Xe}),Gt=re(ae.placement),Re=kt(ae.placement),Ue=!Re,je=Ft(Gt),tt=mt(je),xt=ae.modifiersData.popperOffsets,Lt=ae.rects.reference,ft=ae.rects.popper,vt=typeof tn=="function"?tn(Object.assign({},ae.rects,{placement:ae.placement})):tn,an={x:0,y:0};if(xt){if(Be||ke){var nn=je==="y"?R:F,pn=je==="y"?T:N,un=je==="y"?"height":"width",In=xt[je],dn=xt[je]+Kt[nn],Cn=xt[je]-Kt[pn],Dn=Pt?-ft[un]/2:0,An=Re===O?Lt[un]:ft[un],En=Re===O?-ft[un]:-Lt[un],Er=ae.elements.arrow,ar=Pt&&Er?v(Er):{width:0,height:0},Nn=ae.modifiersData["arrow#persistent"]?ae.modifiersData["arrow#persistent"].padding:me(),dr=Nn[nn],fr=Nn[pn],Vn=Dt(0,Lt[un],ar[un]),Tr=Ue?Lt[un]/2-Dn-Vn-dr-vt:An-Vn-dr-vt,Ur=Ue?-Lt[un]/2+Dn+Vn+fr+vt:En+Vn+fr+vt,sr=ae.elements.arrow&&M(ae.elements.arrow),hr=sr?je==="y"?sr.clientTop||0:sr.clientLeft||0:0,Me=ae.modifiersData.offset?ae.modifiersData.offset[ae.placement][je]:0,qe=xt[je]+Tr-Me-hr,_t=xt[je]+Ur-Me;if(Be){var Ut=Dt(Pt?Te(dn,qe):dn,In,Pt?ge(Cn,_t):Cn);xt[je]=Ut,an[je]=Ut-In}if(ke){var jt=je==="x"?R:F,ln=je==="x"?T:N,rn=xt[tt],ur=rn+Kt[jt],Vr=rn-Kt[ln],Sn=Dt(Pt?Te(ur,qe):ur,rn,Pt?ge(Vr,_t):Vr);xt[tt]=Sn,an[tt]=Sn-rn}}ae.modifiersData[De]=an}}var qt={name:"preventOverflow",enabled:!0,phase:"main",fn:bt,requiresIfExists:["offset"]},$t=function(ae,de){return ae=typeof ae=="function"?ae(Object.assign({},de.rects,{placement:de.placement})):ae,Ne(typeof ae!="number"?ae:Ve(ae,x))};function Ht(ne){var ae,de=ne.state,De=ne.name,be=ne.options,Be=de.elements.arrow,Oe=de.modifiersData.popperOffsets,ke=re(de.placement),Ze=Ft(ke),ut=[F,N].indexOf(ke)>=0,Xe=ut?"height":"width";if(!(!Be||!Oe)){var Qt=$t(be.padding,de),zt=v(Be),Pt=Ze==="y"?R:F,Wt=Ze==="y"?T:N,tn=de.rects.reference[Xe]+de.rects.reference[Ze]-Oe[Ze]-de.rects.popper[Xe],Kt=Oe[Ze]-de.rects.reference[Ze],Gt=M(Be),Re=Gt?Ze==="y"?Gt.clientHeight||0:Gt.clientWidth||0:0,Ue=tn/2-Kt/2,je=Qt[Pt],tt=Re-zt[Xe]-Qt[Wt],xt=Re/2-zt[Xe]/2+Ue,Lt=Dt(je,xt,tt),ft=Ze;de.modifiersData[De]=(ae={},ae[ft]=Lt,ae.centerOffset=Lt-xt,ae)}}function Mt(ne){var ae=ne.state,de=ne.options,De=de.element,be=De===void 0?"[data-popper-arrow]":De;be!=null&&(typeof be=="string"&&(be=ae.elements.popper.querySelector(be),!be)||ct(ae.elements.popper,be)&&(ae.elements.arrow=be))}var wt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Mt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function At(ne,ae,de){return de===void 0&&(de={x:0,y:0}),{top:ne.top-ae.height-de.y,right:ne.right-ae.width+de.x,bottom:ne.bottom-ae.height+de.y,left:ne.left-ae.width-de.x}}function it(ne){return[R,N,T,F].some(function(ae){return ne[ae]>=0})}function Ot(ne){var ae=ne.state,de=ne.name,De=ae.rects.reference,be=ae.rects.popper,Be=ae.modifiersData.preventOverflow,Oe=et(ae,{elementContext:"reference"}),ke=et(ae,{altBoundary:!0}),Ze=At(Oe,De),ut=At(ke,be,Be),Xe=it(Ze),Qt=it(ut);ae.modifiersData[de]={referenceClippingOffsets:Ze,popperEscapeOffsets:ut,isReferenceHidden:Xe,hasPopperEscaped:Qt},ae.attributes.popper=Object.assign({},ae.attributes.popper,{"data-popper-reference-hidden":Xe,"data-popper-escaped":Qt})}var en={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ot},Se=[Vt,wn,cn,sn],Tt=Et({defaultModifiers:Se}),te=[Vt,wn,cn,sn,Un,dt,qt,wt,en],Ee=Et({defaultModifiers:te});C.applyStyles=sn,C.arrow=wt,C.computeStyles=cn,C.createPopper=Ee,C.createPopperLite=Tt,C.defaultModifiers=te,C.detectOverflow=et,C.eventListeners=Vt,C.flip=dt,C.hide=en,C.offset=Un,C.popperGenerator=Et,C.popperOffsets=wn,C.preventOverflow=qt,Object.defineProperty(C,"__esModule",{value:!0})},_,P),_.exports=S},60493:(_,P,l)=>{var b,S;(function(C){var A,p=/[-+,> ]/;C([],A=function(s,n){"use strict";p=n||p;var e=/(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w\u00A0-\uFFFF%$|]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,t,r,i=!1,s=s||document,a=typeof s.createElement=="object";function o(c,h){c.appendChild(s.createTextNode(h))}function u(c){var h,v,f,g,m,E=arguments,w=E[0];function I(){m&&g&&m!=g&&(g==c&&(h||(h=p.test(R)&&s.createDocumentFragment()))?h:g).insertBefore(m,f||null)}for(var M=0;M<E.length;M++){var R=E[M];if(typeof R=="object"){if(v=!1,R instanceof Array){m=s.createDocumentFragment();for(var T=0;T<R.length;T++)m.appendChild(u(R[T]));R=m}if(R.nodeType)m=R,I(),g=R,f=0;else for(var T in R)m[T]=R[T]}else if(v)v=!1,o(m,R);else{M<1&&(c=null),v=!0;var N=R.replace(e,function(F,y,x,O,L,W){y&&(I(),y=="-"||y=="+"?(g=(f=m||g).parentNode,m=null,y=="+"&&(f=f.nextSibling)):(y=="<"?g=m=(m||g).parentNode:(y==","?g=c:m&&(g=m),m=null),f=0),m&&(g=m));var j=!x&&O;if(j||!m&&(x||L))if(j=="$")o(g,E[++M]);else{j=j||u.defaultTag;var H=a&&E[M+1]&&E[M+1].name;H&&(j="<"+j+' name="'+H+'">'),m=i&&~(r=j.indexOf("|"))?s.createElementNS(i[j.slice(0,r)],j.slice(r+1)):s.createElement(j)}if(x)if(O=="$"&&(O=E[++M]),x=="#")m.id=O;else{var K=m.className,$=K&&(" "+K+" ").replace(" "+O+" "," ");if(x==".")m.className=K?($+O).substring(1):O;else if(R=="!"){var V;a?u("div",m,"<").innerHTML="":(V=m.parentNode)&&V.removeChild(m)}else $=$.substring(1,$.length-1),$!=K&&(m.className=$)}if(L)if(W=="$"&&(W=E[++M]),L=="style")m.style.cssText=W;else{var z=L.charAt(0)=="!"?(L=L.substring(1))&&"removeAttribute":"setAttribute";W=W===""?L:W,i&&~(r=L.indexOf("|"))?m[z+"NS"](i[L.slice(0,r)],L.slice(r+1),W):m[z](L,W)}return""});if(N)throw new SyntaxError("Unexpected char "+N+" in "+R);I(),g=w=m||g}}return c&&h&&c.appendChild(h),w}return u.addNamespace=function(c,h){s.createElementNS?(i||(i={}))[c]=h:s.namespaces.add(c,h)},u.defaultTag="div",u.forDocument=A,u})})(function(C,A,p){p=p||A,b=[],S=l.dj.d(b,function(){return p()},_,P),_.exports=S})},85084:(_,P,l)=>{/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){"use strict";(function(b,S){S(P,l(14152))})(this,function(b,S){function C(D){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+D,k=1;k<arguments.length;k++)B+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+D+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function A(D,B){p(D,B),p(D+"Capture",B)}function p(D,B){for($i[D]=B,D=0;D<B.length;D++)zu.add(B[D])}function d(D){return Ua.call(Gu,D)?!0:Ua.call(Yu,D)?!1:Jl.test(D)?Gu[D]=!0:(Yu[D]=!0,!1)}function n(D,B,k,U){if(k!==null&&k.type===0)return!1;switch(typeof B){case"function":case"symbol":return!0;case"boolean":return U?!1:k!==null?!k.acceptsBooleans:(D=D.toLowerCase().slice(0,5),D!=="data-"&&D!=="aria-");default:return!1}}function e(D,B,k,U){if(B===null||typeof B>"u"||n(D,B,k,U))return!0;if(U)return!1;if(k!==null)switch(k.type){case 3:return!B;case 4:return B===!1;case 5:return isNaN(B);case 6:return isNaN(B)||1>B}return!1}function t(D,B,k,U,G,J,ue){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=U,this.attributeNamespace=G,this.mustUseProperty=k,this.propertyName=D,this.type=B,this.sanitizeURL=J,this.removeEmptyString=ue}function r(D,B,k,U){var G=kn.hasOwnProperty(B)?kn[B]:null;(G!==null?G.type!==0:U||!(2<B.length)||B[0]!=="o"&&B[0]!=="O"||B[1]!=="n"&&B[1]!=="N")&&(e(B,k,G,U)&&(k=null),U||G===null?d(B)&&(k===null?D.removeAttribute(B):D.setAttribute(B,""+k)):G.mustUseProperty?D[G.propertyName]=k===null?G.type===3?!1:"":k:(B=G.attributeName,U=G.attributeNamespace,k===null?D.removeAttribute(B):(G=G.type,k=G===3||G===4&&k===!0?"":""+k,U?D.setAttributeNS(U,B,k):D.setAttribute(B,k))))}function i(D){return D===null||typeof D!="object"?null:(D=Ju&&D[Ju]||D["@@iterator"],typeof D=="function"?D:null)}function s(D,B,k){if(Ja===void 0)try{throw Error()}catch(U){Ja=(B=U.stack.trim().match(/\n( *(at )?)/))&&B[1]||""}return`
`+Ja+D}function a(D,B){if(!D||qa)return"";qa=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(B)if(B=function(){throw Error()},Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(xe){var U=xe}Reflect.construct(D,[],B)}else{try{B.call()}catch(xe){U=xe}D.call(B.prototype)}else{try{throw Error()}catch(xe){U=xe}D()}}catch(xe){if(xe&&U&&typeof xe.stack=="string"){for(var G=xe.stack.split(`
`),J=U.stack.split(`
`),ue=G.length-1,pe=J.length-1;1<=ue&&0<=pe&&G[ue]!==J[pe];)pe--;for(;1<=ue&&0<=pe;ue--,pe--)if(G[ue]!==J[pe]){if(ue!==1||pe!==1)do if(ue--,pe--,0>pe||G[ue]!==J[pe]){var _e=`
`+G[ue].replace(" at new "," at ");return D.displayName&&_e.includes("<anonymous>")&&(_e=_e.replace("<anonymous>",D.displayName)),_e}while(1<=ue&&0<=pe);break}}}finally{qa=!1,Error.prepareStackTrace=k}return(D=D?D.displayName||D.name:"")?s(D):""}function o(D){switch(D.tag){case 5:return s(D.type);case 16:return s("Lazy");case 13:return s("Suspense");case 19:return s("SuspenseList");case 0:case 2:case 15:return D=a(D.type,!1),D;case 11:return D=a(D.type.render,!1),D;case 1:return D=a(D.type,!0),D;default:return""}}function u(D){if(D==null)return null;if(typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case bi:return"Fragment";case Si:return"Portal";case Ya:return"Profiler";case za:return"StrictMode";case Xa:return"Suspense";case Qa:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case Qu:return(D.displayName||"Context")+".Consumer";case Xu:return(D._context.displayName||"Context")+".Provider";case Ga:var B=D.render;return D=D.displayName,D||(D=B.displayName||B.name||"",D=D!==""?"ForwardRef("+D+")":"ForwardRef"),D;case Za:return B=D.displayName||null,B!==null?B:u(D.type)||"Memo";case Qr:B=D._payload,D=D._init;try{return u(D(B))}catch(k){}}return null}function c(D){var B=D.type;switch(D.tag){case 24:return"Cache";case 9:return(B.displayName||"Context")+".Consumer";case 10:return(B._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return D=B.render,D=D.displayName||D.name||"",B.displayName||(D!==""?"ForwardRef("+D+")":"ForwardRef");case 7:return"Fragment";case 5:return B;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return u(B);case 8:return B===za?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof B=="function")return B.displayName||B.name||null;if(typeof B=="string")return B}return null}function h(D){switch(typeof D){case"boolean":case"number":case"string":case"undefined":return D;case"object":return D;default:return""}}function v(D){var B=D.type;return(D=D.nodeName)&&D.toLowerCase()==="input"&&(B==="checkbox"||B==="radio")}function f(D){var B=v(D)?"checked":"value",k=Object.getOwnPropertyDescriptor(D.constructor.prototype,B),U=""+D[B];if(!D.hasOwnProperty(B)&&typeof k<"u"&&typeof k.get=="function"&&typeof k.set=="function"){var G=k.get,J=k.set;return Object.defineProperty(D,B,{configurable:!0,get:function(){return G.call(this)},set:function(ue){U=""+ue,J.call(this,ue)}}),Object.defineProperty(D,B,{enumerable:k.enumerable}),{getValue:function(){return U},setValue:function(ue){U=""+ue},stopTracking:function(){D._valueTracker=null,delete D[B]}}}}function g(D){D._valueTracker||(D._valueTracker=f(D))}function m(D){if(!D)return!1;var B=D._valueTracker;if(!B)return!0;var k=B.getValue(),U="";return D&&(U=v(D)?D.checked?"true":"false":D.value),D=U,D!==k?(B.setValue(D),!0):!1}function E(D){if(D=D||(typeof document<"u"?document:void 0),typeof D>"u")return null;try{return D.activeElement||D.body}catch(B){return D.body}}function w(D,B){var k=B.checked;return hn({},B,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:k!=null?k:D._wrapperState.initialChecked})}function I(D,B){var k=B.defaultValue==null?"":B.defaultValue,U=B.checked!=null?B.checked:B.defaultChecked;k=h(B.value!=null?B.value:k),D._wrapperState={initialChecked:U,initialValue:k,controlled:B.type==="checkbox"||B.type==="radio"?B.checked!=null:B.value!=null}}function M(D,B){B=B.checked,B!=null&&r(D,"checked",B,!1)}function R(D,B){M(D,B);var k=h(B.value),U=B.type;if(k!=null)U==="number"?(k===0&&D.value===""||D.value!=k)&&(D.value=""+k):D.value!==""+k&&(D.value=""+k);else if(U==="submit"||U==="reset"){D.removeAttribute("value");return}B.hasOwnProperty("value")?N(D,B.type,k):B.hasOwnProperty("defaultValue")&&N(D,B.type,h(B.defaultValue)),B.checked==null&&B.defaultChecked!=null&&(D.defaultChecked=!!B.defaultChecked)}function T(D,B,k){if(B.hasOwnProperty("value")||B.hasOwnProperty("defaultValue")){var U=B.type;if(!(U!=="submit"&&U!=="reset"||B.value!==void 0&&B.value!==null))return;B=""+D._wrapperState.initialValue,k||B===D.value||(D.value=B),D.defaultValue=B}k=D.name,k!==""&&(D.name=""),D.defaultChecked=!!D._wrapperState.initialChecked,k!==""&&(D.name=k)}function N(D,B,k){(B!=="number"||E(D.ownerDocument)!==D)&&(k==null?D.defaultValue=""+D._wrapperState.initialValue:D.defaultValue!==""+k&&(D.defaultValue=""+k))}function F(D,B,k,U){if(D=D.options,B){B={};for(var G=0;G<k.length;G++)B["$"+k[G]]=!0;for(k=0;k<D.length;k++)G=B.hasOwnProperty("$"+D[k].value),D[k].selected!==G&&(D[k].selected=G),G&&U&&(D[k].defaultSelected=!0)}else{for(k=""+h(k),B=null,G=0;G<D.length;G++){if(D[G].value===k){D[G].selected=!0,U&&(D[G].defaultSelected=!0);return}B!==null||D[G].disabled||(B=D[G])}B!==null&&(B.selected=!0)}}function y(D,B){if(B.dangerouslySetInnerHTML!=null)throw Error(C(91));return hn({},B,{value:void 0,defaultValue:void 0,children:""+D._wrapperState.initialValue})}function x(D,B){var k=B.value;if(k==null){if(k=B.children,B=B.defaultValue,k!=null){if(B!=null)throw Error(C(92));if(zi(k)){if(1<k.length)throw Error(C(93));k=k[0]}B=k}B==null&&(B=""),k=B}D._wrapperState={initialValue:h(k)}}function O(D,B){var k=h(B.value),U=h(B.defaultValue);k!=null&&(k=""+k,k!==D.value&&(D.value=k),B.defaultValue==null&&D.defaultValue!==k&&(D.defaultValue=k)),U!=null&&(D.defaultValue=""+U)}function L(D,B){B=D.textContent,B===D._wrapperState.initialValue&&B!==""&&B!==null&&(D.value=B)}function W(D){switch(D){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function j(D,B){return D==null||D==="http://www.w3.org/1999/xhtml"?W(B):D==="http://www.w3.org/2000/svg"&&B==="foreignObject"?"http://www.w3.org/1999/xhtml":D}function H(D,B,k){return B==null||typeof B=="boolean"||B===""?"":k||typeof B!="number"||B===0||Gi.hasOwnProperty(D)&&Gi[D]?(""+B).trim():B+"px"}function K(D,B){D=D.style;for(var k in B)if(B.hasOwnProperty(k)){var U=k.indexOf("--")===0,G=H(k,B[k],U);k==="float"&&(k="cssFloat"),U?D.setProperty(k,G):D[k]=G}}function $(D,B){if(B){if(ec[D]&&(B.children!=null||B.dangerouslySetInnerHTML!=null))throw Error(C(137,D));if(B.dangerouslySetInnerHTML!=null){if(B.children!=null)throw Error(C(60));if(typeof B.dangerouslySetInnerHTML!="object"||!("__html"in B.dangerouslySetInnerHTML))throw Error(C(61))}if(B.style!=null&&typeof B.style!="object")throw Error(C(62))}}function V(D,B){if(D.indexOf("-")===-1)return typeof B.is=="string";switch(D){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function z(D){return D=D.target||D.srcElement||window,D.correspondingUseElement&&(D=D.correspondingUseElement),D.nodeType===3?D.parentNode:D}function X(D){if(D=je(D)){if(typeof ts!="function")throw Error(C(280));var B=D.stateNode;B&&(B=xt(B),ts(D.stateNode,D.type,B))}}function Z(D){wi?Ti?Ti.push(D):Ti=[D]:wi=D}function Y(){if(wi){var D=wi,B=Ti;if(Ti=wi=null,X(D),B)for(D=0;D<B.length;D++)X(B[D])}}function Q(D,B,k){if(ns)return D(B,k);ns=!0;try{return el(D,B,k)}finally{ns=!1,(wi!==null||Ti!==null)&&(tl(),Y())}}function q(D,B){var k=D.stateNode;if(k===null)return null;var U=xt(k);if(U===null)return null;k=U[B];e:switch(B){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(U=!U.disabled)||(D=D.type,U=!(D==="button"||D==="input"||D==="select"||D==="textarea")),D=!U;break e;default:D=!1}if(D)return null;if(k&&typeof k!="function")throw Error(C(231,B,typeof k));return k}function ee(D,B,k,U,G,J,ue,pe,_e){Qi=!1,Mo=null,tc.apply(nc,arguments)}function oe(D,B,k,U,G,J,ue,pe,_e){if(ee.apply(this,arguments),Qi){if(Qi){var xe=Mo;Qi=!1,Mo=null}else throw Error(C(198));Po||(Po=!0,is=xe)}}function se(D){var B=D,k=D;if(D.alternate)for(;B.return;)B=B.return;else{D=B;do B=D,B.flags&4098&&(k=B.return),D=B.return;while(D)}return B.tag===3?k:null}function he(D){if(D.tag===13){var B=D.memoizedState;if(B===null&&(D=D.alternate,D!==null&&(B=D.memoizedState)),B!==null)return B.dehydrated}return null}function fe(D){if(se(D)!==D)throw Error(C(188))}function le(D){var B=D.alternate;if(!B){if(B=se(D),B===null)throw Error(C(188));return B!==D?null:D}for(var k=D,U=B;;){var G=k.return;if(G===null)break;var J=G.alternate;if(J===null){if(U=G.return,U!==null){k=U;continue}break}if(G.child===J.child){for(J=G.child;J;){if(J===k)return fe(G),D;if(J===U)return fe(G),B;J=J.sibling}throw Error(C(188))}if(k.return!==U.return)k=G,U=J;else{for(var ue=!1,pe=G.child;pe;){if(pe===k){ue=!0,k=G,U=J;break}if(pe===U){ue=!0,U=G,k=J;break}pe=pe.sibling}if(!ue){for(pe=J.child;pe;){if(pe===k){ue=!0,k=J,U=G;break}if(pe===U){ue=!0,U=J,k=G;break}pe=pe.sibling}if(!ue)throw Error(C(189))}}if(k.alternate!==U)throw Error(C(190))}if(k.tag!==3)throw Error(C(188));return k.stateNode.current===k?D:B}function ie(D){return D=le(D),D!==null?re(D):null}function re(D){if(D.tag===5||D.tag===6)return D;for(D=D.child;D!==null;){var B=re(D);if(B!==null)return B;D=D.sibling}return null}function ce(D,B){if(Nr&&typeof Nr.onCommitFiberRoot=="function")try{Nr.onCommitFiberRoot(Lo,D,void 0,(D.current.flags&128)===128)}catch(k){}}function ve(D){return D>>>=0,D===0?32:31-(sc(D)/uc|0)|0}function ge(D){switch(D&-D){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return D&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return D&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return D}}function Te(D,B){var k=D.pendingLanes;if(k===0)return 0;var U=0,G=D.suspendedLanes,J=D.pingedLanes,ue=k&268435455;if(ue!==0){var pe=ue&~G;pe!==0?U=ge(pe):(J&=ue,J!==0&&(U=ge(J)))}else ue=k&~G,ue!==0?U=ge(ue):J!==0&&(U=ge(J));if(U===0)return 0;if(B!==0&&B!==U&&!(B&G)&&(G=U&-U,J=B&-B,G>=J||G===16&&(J&4194240)!==0))return B;if(U&4&&(U|=k&16),B=D.entangledLanes,B!==0)for(D=D.entanglements,B&=U;0<B;)k=31-Dr(B),G=1<<k,U|=D[k],B&=~G;return U}function Pe(D,B){switch(D){case 1:case 2:case 4:return B+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return B+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Le(D,B){for(var k=D.suspendedLanes,U=D.pingedLanes,G=D.expirationTimes,J=D.pendingLanes;0<J;){var ue=31-Dr(J),pe=1<<ue,_e=G[ue];_e===-1?(!(pe&k)||pe&U)&&(G[ue]=Pe(pe,B)):_e<=B&&(D.expiredLanes|=pe),J&=~pe}}function ct(D){return D=D.pendingLanes&-1073741825,D!==0?D:D&1073741824?1073741824:0}function st(){var D=ko;return ko<<=1,!(ko&4194240)&&(ko=64),D}function ot(D){for(var B=[],k=0;31>k;k++)B.push(D);return B}function nt(D,B,k){D.pendingLanes|=B,B!==536870912&&(D.suspendedLanes=0,D.pingedLanes=0),D=D.eventTimes,B=31-Dr(B),D[B]=k}function Rt(D,B){var k=D.pendingLanes&~B;D.pendingLanes=B,D.suspendedLanes=0,D.pingedLanes=0,D.expiredLanes&=B,D.mutableReadLanes&=B,D.entangledLanes&=B,B=D.entanglements;var U=D.eventTimes;for(D=D.expirationTimes;0<k;){var G=31-Dr(k),J=1<<G;B[G]=0,U[G]=-1,D[G]=-1,k&=~J}}function Yt(D,B){var k=D.entangledLanes|=B;for(D=D.entanglements;k;){var U=31-Dr(k),G=1<<U;G&B|D[U]&B&&(D[U]|=B),k&=~G}}function kt(D){return D&=-D,1<D?4<D?D&268435455?16:536870912:4:1}function Ft(D,B){switch(D){case"focusin":case"focusout":Zr=null;break;case"dragenter":case"dragleave":Jr=null;break;case"mouseover":case"mouseout":qr=null;break;case"pointerover":case"pointerout":Zi.delete(B.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ji.delete(B.pointerId)}}function Bt(D,B,k,U,G,J){return D===null||D.nativeEvent!==J?(D={blockedOn:B,domEventName:k,eventSystemFlags:U,nativeEvent:J,targetContainers:[G]},B!==null&&(B=je(B),B!==null&&Rl(B)),D):(D.eventSystemFlags|=U,B=D.targetContainers,G!==null&&B.indexOf(G)===-1&&B.push(G),D)}function me(D,B,k,U,G){switch(B){case"focusin":return Zr=Bt(Zr,D,B,k,U,G),!0;case"dragenter":return Jr=Bt(Jr,D,B,k,U,G),!0;case"mouseover":return qr=Bt(qr,D,B,k,U,G),!0;case"pointerover":var J=G.pointerId;return Zi.set(J,Bt(Zi.get(J)||null,D,B,k,U,G)),!0;case"gotpointercapture":return J=G.pointerId,Ji.set(J,Bt(Ji.get(J)||null,D,B,k,U,G)),!0}return!1}function Ne(D){var B=Ue(D.target);if(B!==null){var k=se(B);if(k!==null){if(B=k.tag,B===13){if(B=he(k),B!==null){D.blockedOn=B,ad(D.priority,function(){id(k)});return}}else if(B===3&&k.stateNode.current.memoizedState.isDehydrated){D.blockedOn=k.tag===3?k.stateNode.containerInfo:null;return}}}D.blockedOn=null}function Ve(D){if(D.blockedOn!==null)return!1;for(var B=D.targetContainers;0<B.length;){var k=cr(D.domEventName,D.eventSystemFlags,B[0],D.nativeEvent);if(k===null){k=D.nativeEvent;var U=new k.constructor(k.type,k);es=U,k.target.dispatchEvent(U),es=null}else return B=je(k),B!==null&&Rl(B),D.blockedOn=k,!1;B.shift()}return!0}function et(D,B,k){Ve(D)&&k.delete(B)}function ze(){as=!1,Zr!==null&&Ve(Zr)&&(Zr=null),Jr!==null&&Ve(Jr)&&(Jr=null),qr!==null&&Ve(qr)&&(qr=null),Zi.forEach(et),Ji.forEach(et)}function pt(D,B){D.blockedOn===B&&(D.blockedOn=null,as||(as=!0,nl(rl,ze)))}function Et(D){if(0<jo.length){pt(jo[0],D);for(var B=1;B<jo.length;B++){var k=jo[B];k.blockedOn===D&&(k.blockedOn=null)}}for(Zr!==null&&pt(Zr,D),Jr!==null&&pt(Jr,D),qr!==null&&pt(qr,D),B=function(U){return pt(U,D)},Zi.forEach(B),Ji.forEach(B),B=0;B<ei.length;B++)k=ei[B],k.blockedOn===D&&(k.blockedOn=null);for(;0<ei.length&&(B=ei[0],B.blockedOn===null);)Ne(B),B.blockedOn===null&&ei.shift()}function It(D,B,k,U){var G=Zt,J=Ri.transition;Ri.transition=null;try{Zt=1,Vt(D,B,k,U)}finally{Zt=G,Ri.transition=J}}function Nt(D,B,k,U){var G=Zt,J=Ri.transition;Ri.transition=null;try{Zt=4,Vt(D,B,k,U)}finally{Zt=G,Ri.transition=J}}function Vt(D,B,k,U){if(Ho){var G=cr(D,B,k,U);if(G===null)Oe(D,B,U,Ko,k),Ft(D,U);else if(me(G,D,B,k,U))U.stopPropagation();else if(Ft(D,U),B&4&&-1<lc.indexOf(D)){for(;G!==null;){var J=je(G);if(J!==null&&rd(J),J=cr(D,B,k,U),J===null&&Oe(D,B,U,Ko,k),J===G)break;G=J}G!==null&&U.stopPropagation()}else Oe(D,B,U,null,k)}}function cr(D,B,k,U){if(Ko=null,D=z(U),D=Ue(D),D!==null)if(B=se(D),B===null)D=null;else if(k=B.tag,k===13){if(D=he(B),D!==null)return D;D=null}else if(k===3){if(B.stateNode.current.memoizedState.isDehydrated)return B.tag===3?B.stateNode.containerInfo:null;D=null}else B!==D&&(D=null);return Ko=D,null}function wn(D){switch(D){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(oc()){case os:return 1;case al:return 4;case Oo:case ac:return 16;case sl:return 536870912;default:return 16}default:return 16}}function On(){if(Uo)return Uo;var D,B=ss,k=B.length,U,G="value"in ti?ti.value:ti.textContent,J=G.length;for(D=0;D<k&&B[D]===G[D];D++);var ue=k-D;for(U=1;U<=ue&&B[k-U]===G[J-U];U++);return Uo=G.slice(D,1<U?1-U:void 0)}function Ln(D){var B=D.keyCode;return"charCode"in D?(D=D.charCode,D===0&&B===13&&(D=13)):D=B,D===10&&(D=13),32<=D||D===13?D:0}function yn(){return!0}function or(){return!1}function cn(D){function B(k,U,G,J,ue){this._reactName=k,this._targetInst=G,this.type=U,this.nativeEvent=J,this.target=ue,this.currentTarget=null;for(var pe in D)D.hasOwnProperty(pe)&&(k=D[pe],this[pe]=k?k(J):J[pe]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?yn:or,this.isPropagationStopped=or,this}return hn(B.prototype,{preventDefault:function(){this.defaultPrevented=!0;var k=this.nativeEvent;k&&(k.preventDefault?k.preventDefault():typeof k.returnValue!="unknown"&&(k.returnValue=!1),this.isDefaultPrevented=yn)},stopPropagation:function(){var k=this.nativeEvent;k&&(k.stopPropagation?k.stopPropagation():typeof k.cancelBubble!="unknown"&&(k.cancelBubble=!0),this.isPropagationStopped=yn)},persist:function(){},isPersistent:yn}),B}function wr(D){var B=this.nativeEvent;return B.getModifierState?B.getModifierState(D):(D=Dc[D])?!!B[D]:!1}function Kn(D){return wr}function sn(D,B){switch(D){case"keyup":return xc.indexOf(B.keyCode)!==-1;case"keydown":return B.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xn(D){return D=D.detail,typeof D=="object"&&"data"in D?D.data:null}function er(D,B){switch(D){case"compositionend":return Xn(B);case"keypress":return B.which!==32?null:(hl=!0,fl);case"textInput":return D=B.data,D===fl&&hl?null:D;default:return null}}function Un(D,B){if(Ii)return D==="compositionend"||!fs&&sn(D,B)?(D=On(),Uo=ss=ti=null,Ii=!1,D):null;switch(D){case"paste":return null;case"keypress":if(!(B.ctrlKey||B.altKey||B.metaKey)||B.ctrlKey&&B.altKey){if(B.char&&1<B.char.length)return B.char;if(B.which)return String.fromCharCode(B.which)}return null;case"compositionend":return dl&&B.locale!=="ko"?null:B.data;default:return null}}function ye(D){var B=D&&D.nodeName&&D.nodeName.toLowerCase();return B==="input"?!!Mc[D.type]:B==="textarea"}function Ce(D){if(!Or)return!1;D="on"+D;var B=D in document;return B||(B=document.createElement("div"),B.setAttribute(D,"return;"),B=typeof B[D]=="function"),B}function Ie(D,B,k,U){Z(U),B=Ze(B,"onChange"),0<B.length&&(k=new us("onChange","change",null,k,U),D.push({event:k,listeners:B}))}function Ke(D){ae(D,0)}function Je(D){var B=tt(D);if(m(B))return D}function Qe(D,B){if(D==="change")return B}function Ge(){no&&(no.detachEvent("onpropertychange",dt),ro=no=null)}function dt(D){if(D.propertyName==="value"&&Je(ro)){var B=[];Ie(B,ro,D,z(D)),Q(Ke,B)}}function mt(D,B,k){D==="focusin"?(Ge(),no=B,ro=k,no.attachEvent("onpropertychange",dt)):D==="focusout"&&Ge()}function Dt(D,B){if(D==="selectionchange"||D==="keyup"||D==="keydown")return Je(ro)}function bt(D,B){if(D==="click")return Je(B)}function qt(D,B){if(D==="input"||D==="change")return Je(B)}function $t(D,B){return D===B&&(D!==0||1/D===1/B)||D!==D&&B!==B}function Ht(D,B){if(Ar(D,B))return!0;if(typeof D!="object"||D===null||typeof B!="object"||B===null)return!1;var k=Object.keys(D),U=Object.keys(B);if(k.length!==U.length)return!1;for(U=0;U<k.length;U++){var G=k[U];if(!Ua.call(B,G)||!Ar(D[G],B[G]))return!1}return!0}function Mt(D){for(;D&&D.firstChild;)D=D.firstChild;return D}function wt(D,B){var k=Mt(D);D=0;for(var U;k;){if(k.nodeType===3){if(U=D+k.textContent.length,D<=B&&U>=B)return{node:k,offset:B-D};D=U}e:{for(;k;){if(k.nextSibling){k=k.nextSibling;break e}k=k.parentNode}k=void 0}k=Mt(k)}}function At(D,B){return D&&B?D===B?!0:D&&D.nodeType===3?!1:B&&B.nodeType===3?At(D,B.parentNode):"contains"in D?D.contains(B):D.compareDocumentPosition?!!(D.compareDocumentPosition(B)&16):!1:!1}function it(){for(var D=window,B=E();B instanceof D.HTMLIFrameElement;){try{var k=typeof B.contentWindow.location.href=="string"}catch(U){k=!1}if(k)D=B.contentWindow;else break;B=E(D.document)}return B}function Ot(D){var B=D&&D.nodeName&&D.nodeName.toLowerCase();return B&&(B==="input"&&(D.type==="text"||D.type==="search"||D.type==="tel"||D.type==="url"||D.type==="password")||B==="textarea"||D.contentEditable==="true")}function en(D){var B=it(),k=D.focusedElem,U=D.selectionRange;if(B!==k&&k&&k.ownerDocument&&At(k.ownerDocument.documentElement,k)){if(U!==null&&Ot(k)){if(B=U.start,D=U.end,D===void 0&&(D=B),"selectionStart"in k)k.selectionStart=B,k.selectionEnd=Math.min(D,k.value.length);else if(D=(B=k.ownerDocument||document)&&B.defaultView||window,D.getSelection){D=D.getSelection();var G=k.textContent.length,J=Math.min(U.start,G);U=U.end===void 0?J:Math.min(U.end,G),!D.extend&&J>U&&(G=U,U=J,J=G),G=wt(k,J);var ue=wt(k,U);G&&ue&&(D.rangeCount!==1||D.anchorNode!==G.node||D.anchorOffset!==G.offset||D.focusNode!==ue.node||D.focusOffset!==ue.offset)&&(B=B.createRange(),B.setStart(G.node,G.offset),D.removeAllRanges(),J>U?(D.addRange(B),D.extend(ue.node,ue.offset)):(B.setEnd(ue.node,ue.offset),D.addRange(B)))}}for(B=[],D=k;D=D.parentNode;)D.nodeType===1&&B.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k<B.length;k++)D=B[k],D.element.scrollLeft=D.left,D.element.scrollTop=D.top}}function Se(D,B,k){var U=k.window===k?k.document:k.nodeType===9?k:k.ownerDocument;vs||Ni==null||Ni!==E(U)||(U=Ni,"selectionStart"in U&&Ot(U)?U={start:U.selectionStart,end:U.selectionEnd}:(U=(U.ownerDocument&&U.ownerDocument.defaultView||window).getSelection(),U={anchorNode:U.anchorNode,anchorOffset:U.anchorOffset,focusNode:U.focusNode,focusOffset:U.focusOffset}),io&&Ht(io,U)||(io=U,U=Ze(hs,"onSelect"),0<U.length&&(B=new us("onSelect","select",null,B,k),D.push({event:B,listeners:U}),B.target=Ni)))}function Tt(D,B){var k={};return k[D.toLowerCase()]=B.toLowerCase(),k["Webkit"+D]="webkit"+B,k["Moz"+D]="moz"+B,k}function te(D){if(gs[D])return gs[D];if(!xi[D])return D;var B=xi[D],k;for(k in B)if(B.hasOwnProperty(k)&&k in gl)return gs[D]=B[k];return D}function Ee(D,B){yl.set(D,B),A(B,[D])}function ne(D,B,k){var U=D.type||"unknown-event";D.currentTarget=k,oe(U,B,void 0,D),D.currentTarget=null}function ae(D,B){B=(B&4)!==0;for(var k=0;k<D.length;k++){var U=D[k],G=U.event;U=U.listeners;e:{var J=void 0;if(B)for(var ue=U.length-1;0<=ue;ue--){var pe=U[ue],_e=pe.instance,xe=pe.currentTarget;if(pe=pe.listener,_e!==J&&G.isPropagationStopped())break e;ne(G,pe,xe),J=_e}else for(ue=0;ue<U.length;ue++){if(pe=U[ue],_e=pe.instance,xe=pe.currentTarget,pe=pe.listener,_e!==J&&G.isPropagationStopped())break e;ne(G,pe,xe),J=_e}}}if(Po)throw D=is,Po=!1,is=null,D}function de(D,B){var k=B[_s];k===void 0&&(k=B[_s]=new Set);var U=D+"__bubble";k.has(U)||(Be(B,D,2,!1),k.add(U))}function De(D,B,k){var U=0;B&&(U|=4),Be(k,D,U,B)}function be(D){if(!D[$o]){D[$o]=!0,zu.forEach(function(k){k!=="selectionchange"&&(Oc.has(k)||De(k,!1,D),De(k,!0,D))});var B=D.nodeType===9?D:D.ownerDocument;B===null||B[$o]||(B[$o]=!0,De("selectionchange",!1,B))}}function Be(D,B,k,U,G){switch(wn(B)){case 1:G=It;break;case 4:G=Nt;break;default:G=Vt}k=G.bind(null,B,k,D),G=void 0,!rs||B!=="touchstart"&&B!=="touchmove"&&B!=="wheel"||(G=!0),U?G!==void 0?D.addEventListener(B,k,{capture:!0,passive:G}):D.addEventListener(B,k,!0):G!==void 0?D.addEventListener(B,k,{passive:G}):D.addEventListener(B,k,!1)}function Oe(D,B,k,U,G){var J=U;if(!(B&1)&&!(B&2)&&U!==null)e:for(;;){if(U===null)return;var ue=U.tag;if(ue===3||ue===4){var pe=U.stateNode.containerInfo;if(pe===G||pe.nodeType===8&&pe.parentNode===G)break;if(ue===4)for(ue=U.return;ue!==null;){var _e=ue.tag;if((_e===3||_e===4)&&(_e=ue.stateNode.containerInfo,_e===G||_e.nodeType===8&&_e.parentNode===G))return;ue=ue.return}for(;pe!==null;){if(ue=Ue(pe),ue===null)return;if(_e=ue.tag,_e===5||_e===6){U=J=ue;continue e}pe=pe.parentNode}}U=U.return}Q(function(){var xe=J,He=z(k),$e=[];e:{var We=yl.get(D);if(We!==void 0){var rt=us,lt=D;switch(D){case"keypress":if(Ln(k)===0)break e;case"keydown":case"keyup":rt=Sc;break;case"focusin":lt="focus",rt=ds;break;case"focusout":lt="blur",rt=ds;break;case"beforeblur":case"afterblur":rt=ds;break;case"click":if(k.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":rt=ul;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":rt=fc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":rt=Tc;break;case pl:case ml:case El:rt=gc;break;case _l:rt=Fc;break;case"scroll":rt=cc;break;case"wheel":rt=Nc;break;case"copy":case"cut":case"paste":rt=mc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":rt=cl}var ht=(B&4)!==0,_n=!ht&&D==="scroll",we=ht?We!==null?We+"Capture":null:We;ht=[];for(var Ae=xe,Fe;Ae!==null;){Fe=Ae;var Ye=Fe.stateNode;if(Fe.tag===5&&Ye!==null&&(Fe=Ye,we!==null&&(Ye=q(Ae,we),Ye!=null&&ht.push(ke(Ae,Ye,Fe)))),_n)break;Ae=Ae.return}0<ht.length&&(We=new rt(We,lt,null,k,He),$e.push({event:We,listeners:ht}))}}if(!(B&7)){e:{if(We=D==="mouseover"||D==="pointerover",rt=D==="mouseout"||D==="pointerout",We&&k!==es&&(lt=k.relatedTarget||k.fromElement)&&(Ue(lt)||lt[kr]))break e;if((rt||We)&&(We=He.window===He?He:(We=He.ownerDocument)?We.defaultView||We.parentWindow:window,rt?(lt=k.relatedTarget||k.toElement,rt=xe,lt=lt?Ue(lt):null,lt!==null&&(_n=se(lt),lt!==_n||lt.tag!==5&&lt.tag!==6)&&(lt=null)):(rt=null,lt=xe),rt!==lt)){if(ht=ul,Ye="onMouseLeave",we="onMouseEnter",Ae="mouse",(D==="pointerout"||D==="pointerover")&&(ht=cl,Ye="onPointerLeave",we="onPointerEnter",Ae="pointer"),_n=rt==null?We:tt(rt),Fe=lt==null?We:tt(lt),We=new ht(Ye,Ae+"leave",rt,k,He),We.target=_n,We.relatedTarget=Fe,Ye=null,Ue(He)===xe&&(ht=new ht(we,Ae+"enter",lt,k,He),ht.target=Fe,ht.relatedTarget=_n,Ye=ht),_n=Ye,rt&&lt)t:{for(ht=rt,we=lt,Ae=0,Fe=ht;Fe;Fe=ut(Fe))Ae++;for(Fe=0,Ye=we;Ye;Ye=ut(Ye))Fe++;for(;0<Ae-Fe;)ht=ut(ht),Ae--;for(;0<Fe-Ae;)we=ut(we),Fe--;for(;Ae--;){if(ht===we||we!==null&&ht===we.alternate)break t;ht=ut(ht),we=ut(we)}ht=null}else ht=null;rt!==null&&Xe($e,We,rt,ht,!1),lt!==null&&_n!==null&&Xe($e,_n,lt,ht,!0)}}e:{if(We=xe?tt(xe):window,rt=We.nodeName&&We.nodeName.toLowerCase(),rt==="select"||rt==="input"&&We.type==="file")var gt=Qe;else if(ye(We))if(vl)gt=qt;else{gt=Dt;var yt=mt}else(rt=We.nodeName)&&rt.toLowerCase()==="input"&&(We.type==="checkbox"||We.type==="radio")&&(gt=bt);if(gt&&(gt=gt(D,xe))){Ie($e,gt,k,He);break e}yt&&yt(D,We,xe),D==="focusout"&&(yt=We._wrapperState)&&yt.controlled&&We.type==="number"&&N(We,"number",We.value)}switch(yt=xe?tt(xe):window,D){case"focusin":(ye(yt)||yt.contentEditable==="true")&&(Ni=yt,hs=xe,io=null);break;case"focusout":io=hs=Ni=null;break;case"mousedown":vs=!0;break;case"contextmenu":case"mouseup":case"dragend":vs=!1,Se($e,k,He);break;case"selectionchange":if(Pc)break;case"keydown":case"keyup":Se($e,k,He)}var Ct;if(fs)e:{switch(D){case"compositionstart":var St="onCompositionStart";break e;case"compositionend":St="onCompositionEnd";break e;case"compositionupdate":St="onCompositionUpdate";break e}St=void 0}else Ii?sn(D,k)&&(St="onCompositionEnd"):D==="keydown"&&k.keyCode===229&&(St="onCompositionStart");St&&(dl&&k.locale!=="ko"&&(Ii||St!=="onCompositionStart"?St==="onCompositionEnd"&&Ii&&(Ct=On()):(ti=He,ss="value"in ti?ti.value:ti.textContent,Ii=!0)),yt=Ze(xe,St),0<yt.length&&(St=new ll(St,D,null,k,He),$e.push({event:St,listeners:yt}),Ct?St.data=Ct:(Ct=Xn(k),Ct!==null&&(St.data=Ct)))),(Ct=Bc?er(D,k):Un(D,k))&&(xe=Ze(xe,"onBeforeInput"),0<xe.length&&(He=new _c("onBeforeInput","beforeinput",null,k,He),$e.push({event:He,listeners:xe}),He.data=Ct))}ae($e,B)})}function ke(D,B,k){return{instance:D,listener:B,currentTarget:k}}function Ze(D,B){for(var k=B+"Capture",U=[];D!==null;){var G=D,J=G.stateNode;G.tag===5&&J!==null&&(G=J,J=q(D,k),J!=null&&U.unshift(ke(D,J,G)),J=q(D,B),J!=null&&U.push(ke(D,J,G))),D=D.return}return U}function ut(D){if(D===null)return null;do D=D.return;while(D&&D.tag!==5);return D||null}function Xe(D,B,k,U,G){for(var J=B._reactName,ue=[];k!==null&&k!==U;){var pe=k,_e=pe.alternate,xe=pe.stateNode;if(_e!==null&&_e===U)break;pe.tag===5&&xe!==null&&(pe=xe,G?(_e=q(k,J),_e!=null&&ue.unshift(ke(k,_e,pe))):G||(_e=q(k,J),_e!=null&&ue.push(ke(k,_e,pe)))),k=k.return}ue.length!==0&&D.push({event:B,listeners:ue})}function Qt(D){return(typeof D=="string"?D:""+D).replace(Lc,`
`).replace(kc,"")}function zt(D,B,k,U){if(B=Qt(B),Qt(D)!==B&&k)throw Error(C(425))}function Pt(){}function Wt(D,B){return D==="textarea"||D==="noscript"||typeof B.children=="string"||typeof B.children=="number"||typeof B.dangerouslySetInnerHTML=="object"&&B.dangerouslySetInnerHTML!==null&&B.dangerouslySetInnerHTML.__html!=null}function tn(D){setTimeout(function(){throw D})}function Kt(D,B){var k=B,U=0;do{var G=k.nextSibling;if(D.removeChild(k),G&&G.nodeType===8)if(k=G.data,k==="/$"){if(U===0){D.removeChild(G),Et(B);return}U--}else k!=="$"&&k!=="$?"&&k!=="$!"||U++;k=G}while(k);Et(B)}function Gt(D){for(;D!=null;D=D.nextSibling){var B=D.nodeType;if(B===1||B===3)break;if(B===8){if(B=D.data,B==="$"||B==="$!"||B==="$?")break;if(B==="/$")return null}}return D}function Re(D){D=D.previousSibling;for(var B=0;D;){if(D.nodeType===8){var k=D.data;if(k==="$"||k==="$!"||k==="$?"){if(B===0)return D;B--}else k==="/$"&&B++}D=D.previousSibling}return null}function Ue(D){var B=D[xr];if(B)return B;for(var k=D.parentNode;k;){if(B=k[kr]||k[xr]){if(k=B.alternate,B.child!==null||k!==null&&k.child!==null)for(D=Re(D);D!==null;){if(k=D[xr])return k;D=Re(D)}return B}D=k,k=D.parentNode}return null}function je(D){return D=D[xr]||D[kr],!D||D.tag!==5&&D.tag!==6&&D.tag!==13&&D.tag!==3?null:D}function tt(D){if(D.tag===5||D.tag===6)return D.stateNode;throw Error(C(33))}function xt(D){return D[ao]||null}function Lt(D){return{current:D}}function ft(D,B){0>Mi||(D.current=ys[Mi],ys[Mi]=null,Mi--)}function vt(D,B,k){Mi++,ys[Mi]=D.current,D.current=B}function an(D,B){var k=D.type.contextTypes;if(!k)return ni;var U=D.stateNode;if(U&&U.__reactInternalMemoizedUnmaskedChildContext===B)return U.__reactInternalMemoizedMaskedChildContext;var G={},J;for(J in k)G[J]=B[J];return U&&(D=D.stateNode,D.__reactInternalMemoizedUnmaskedChildContext=B,D.__reactInternalMemoizedMaskedChildContext=G),G}function nn(D){return D=D.childContextTypes,D!=null}function pn(D,B,k){if(Tn.current!==ni)throw Error(C(168));vt(Tn,B),vt(Wn,k)}function un(D,B,k){var U=D.stateNode;if(B=B.childContextTypes,typeof U.getChildContext!="function")return k;U=U.getChildContext();for(var G in U)if(!(G in B))throw Error(C(108,c(D)||"Unknown",G));return hn({},k,U)}function In(D){return D=(D=D.stateNode)&&D.__reactInternalMemoizedMergedChildContext||ni,gi=Tn.current,vt(Tn,D),vt(Wn,Wn.current),!0}function dn(D,B,k){var U=D.stateNode;if(!U)throw Error(C(169));k?(D=un(D,B,gi),U.__reactInternalMemoizedMergedChildContext=D,ft(Wn),ft(Tn),vt(Tn,D)):ft(Wn),vt(Wn,k)}function Cn(D){Wr===null?Wr=[D]:Wr.push(D)}function Dn(D){zo=!0,Cn(D)}function An(){if(!Cs&&Wr!==null){Cs=!0;var D=0,B=Zt;try{var k=Wr;for(Zt=1;D<k.length;D++){var U=k[D];do U=U(!0);while(U!==null)}Wr=null,zo=!1}catch(G){throw Wr!==null&&(Wr=Wr.slice(D+1)),il(os,An),G}finally{Zt=B,Cs=!1}}return null}function En(D,B){Pi[Oi++]=Go,Pi[Oi++]=Yo,Yo=D,Go=B}function Er(D,B,k){gr[pr++]=jr,gr[pr++]=Hr,gr[pr++]=pi,pi=D;var U=jr;D=Hr;var G=32-Dr(U)-1;U&=~(1<<G),k+=1;var J=32-Dr(B)+G;if(30<J){var ue=G-G%5;J=(U&(1<<ue)-1).toString(32),U>>=ue,G-=ue,jr=1<<32-Dr(B)+G|k<<G|U,Hr=J+D}else jr=1<<J|k<<G|U,Hr=D}function ar(D){D.return!==null&&(En(D,1),Er(D,1,0))}function Nn(D){for(;D===Yo;)Yo=Pi[--Oi],Pi[Oi]=null,Go=Pi[--Oi],Pi[Oi]=null;for(;D===pi;)pi=gr[--pr],gr[pr]=null,Hr=gr[--pr],gr[pr]=null,jr=gr[--pr],gr[pr]=null}function dr(D,B){var k=mr(5,null,null,0);k.elementType="DELETED",k.stateNode=B,k.return=D,B=D.deletions,B===null?(D.deletions=[k],D.flags|=16):B.push(k)}function fr(D,B){switch(D.tag){case 5:var k=D.type;return B=B.nodeType!==1||k.toLowerCase()!==B.nodeName.toLowerCase()?null:B,B!==null?(D.stateNode=B,lr=D,nr=Gt(B.firstChild),!0):!1;case 6:return B=D.pendingProps===""||B.nodeType!==3?null:B,B!==null?(D.stateNode=B,lr=D,nr=null,!0):!1;case 13:return B=B.nodeType!==8?null:B,B!==null?(k=pi!==null?{id:jr,overflow:Hr}:null,D.memoizedState={dehydrated:B,treeContext:k,retryLane:1073741824},k=mr(18,null,null,0),k.stateNode=B,k.return=D,D.child=k,lr=D,nr=null,!0):!1;default:return!1}}function Vn(D){return(D.mode&1)!==0&&(D.flags&128)===0}function Tr(D){if(fn){var B=nr;if(B){var k=B;if(!fr(D,B)){if(Vn(D))throw Error(C(418));B=Gt(k.nextSibling);var U=lr;B&&fr(D,B)?dr(U,k):(D.flags=D.flags&-4097|2,fn=!1,lr=D)}}else{if(Vn(D))throw Error(C(418));D.flags=D.flags&-4097|2,fn=!1,lr=D}}}function Ur(D){for(D=D.return;D!==null&&D.tag!==5&&D.tag!==3&&D.tag!==13;)D=D.return;lr=D}function sr(D){if(D!==lr)return!1;if(!fn)return Ur(D),fn=!0,!1;var B;if((B=D.tag!==3)&&!(B=D.tag!==5)&&(B=D.type,B=B!=="head"&&B!=="body"&&!Wt(D.type,D.memoizedProps)),B&&(B=nr)){if(Vn(D)){for(D=nr;D;)D=Gt(D.nextSibling);throw Error(C(418))}for(;B;)dr(D,B),B=Gt(B.nextSibling)}if(Ur(D),D.tag===13){if(D=D.memoizedState,D=D!==null?D.dehydrated:null,!D)throw Error(C(317));e:{for(D=D.nextSibling,B=0;D;){if(D.nodeType===8){var k=D.data;if(k==="/$"){if(B===0){nr=Gt(D.nextSibling);break e}B--}else k!=="$"&&k!=="$!"&&k!=="$?"||B++}D=D.nextSibling}nr=null}}else nr=lr?Gt(D.stateNode.nextSibling):null;return!0}function hr(){nr=lr=null,fn=!1}function Me(D){Sr===null?Sr=[D]:Sr.push(D)}function qe(D,B){if(D&&D.defaultProps){B=hn({},B),D=D.defaultProps;for(var k in D)B[k]===void 0&&(B[k]=D[k]);return B}return B}function _t(){Ds=Li=Qo=null}function Ut(D,B){B=Xo.current,ft(Xo),D._currentValue=B}function jt(D,B,k){for(;D!==null;){var U=D.alternate;if((D.childLanes&B)!==B?(D.childLanes|=B,U!==null&&(U.childLanes|=B)):U!==null&&(U.childLanes&B)!==B&&(U.childLanes|=B),D===k)break;D=D.return}}function ln(D,B){Qo=D,Ds=Li=null,D=D.dependencies,D!==null&&D.firstContext!==null&&(D.lanes&B&&(rr=!0),D.firstContext=null)}function rn(D){var B=D._currentValue;if(Ds!==D)if(D={context:D,memoizedValue:B,next:null},Li===null){if(Qo===null)throw Error(C(308));Li=D,Qo.dependencies={lanes:0,firstContext:D}}else Li=Li.next=D;return B}function ur(D){mi===null?mi=[D]:mi.push(D)}function Vr(D,B,k,U){var G=B.interleaved;return G===null?(k.next=k,ur(B)):(k.next=G.next,G.next=k),B.interleaved=k,Sn(D,U)}function Sn(D,B){D.lanes|=B;var k=D.alternate;for(k!==null&&(k.lanes|=B),k=D,D=D.return;D!==null;)D.childLanes|=B,k=D.alternate,k!==null&&(k.childLanes|=B),k=D,D=D.return;return k.tag===3?k.stateNode:null}function si(D){D.updateQueue={baseState:D.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ui(D,B){D=D.updateQueue,B.updateQueue===D&&(B.updateQueue={baseState:D.baseState,firstBaseUpdate:D.firstBaseUpdate,lastBaseUpdate:D.lastBaseUpdate,shared:D.shared,effects:D.effects})}function $n(D,B){return{eventTime:D,lane:B,tag:0,payload:null,callback:null,next:null}}function Rr(D,B,k){var U=D.updateQueue;if(U===null)return null;if(U=U.shared,Xt&2){var G=U.pending;return G===null?B.next=B:(B.next=G.next,G.next=B),U.pending=B,Vc(D,k)}return G=U.interleaved,G===null?(B.next=B,ur(U)):(B.next=G.next,G.next=B),U.interleaved=B,Sn(D,k)}function $r(D,B,k){if(B=B.updateQueue,B!==null&&(B=B.shared,(k&4194240)!==0)){var U=B.lanes;U&=D.pendingLanes,k|=U,B.lanes=k,Yt(D,k)}}function li(D,B){var k=D.updateQueue,U=D.alternate;if(U!==null&&(U=U.updateQueue,k===U)){var G=null,J=null;if(k=k.firstBaseUpdate,k!==null){do{var ue={eventTime:k.eventTime,lane:k.lane,tag:k.tag,payload:k.payload,callback:k.callback,next:null};J===null?G=J=ue:J=J.next=ue,k=k.next}while(k!==null);J===null?G=J=B:J=J.next=B}else G=J=B;k={baseState:U.baseState,firstBaseUpdate:G,lastBaseUpdate:J,shared:U.shared,effects:U.effects},D.updateQueue=k;return}D=k.lastBaseUpdate,D===null?k.firstBaseUpdate=B:D.next=B,k.lastBaseUpdate=B}function po(D,B,k,U){var G=D.updateQueue;ri=!1;var J=G.firstBaseUpdate,ue=G.lastBaseUpdate,pe=G.shared.pending;if(pe!==null){G.shared.pending=null;var _e=pe,xe=_e.next;_e.next=null,ue===null?J=xe:ue.next=xe,ue=_e;var He=D.alternate;He!==null&&(He=He.updateQueue,pe=He.lastBaseUpdate,pe!==ue&&(pe===null?He.firstBaseUpdate=xe:pe.next=xe,He.lastBaseUpdate=_e))}if(J!==null){var $e=G.baseState;ue=0,He=xe=_e=null,pe=J;do{var We=pe.lane,rt=pe.eventTime;if((U&We)===We){He!==null&&(He=He.next={eventTime:rt,lane:0,tag:pe.tag,payload:pe.payload,callback:pe.callback,next:null});e:{var lt=D,ht=pe;switch(We=B,rt=k,ht.tag){case 1:if(lt=ht.payload,typeof lt=="function"){$e=lt.call(rt,$e,We);break e}$e=lt;break e;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=ht.payload,We=typeof lt=="function"?lt.call(rt,$e,We):lt,We==null)break e;$e=hn({},$e,We);break e;case 2:ri=!0}}pe.callback!==null&&pe.lane!==0&&(D.flags|=64,We=G.effects,We===null?G.effects=[pe]:We.push(pe))}else rt={eventTime:rt,lane:We,tag:pe.tag,payload:pe.payload,callback:pe.callback,next:null},He===null?(xe=He=rt,_e=$e):He=He.next=rt,ue|=We;if(pe=pe.next,pe===null){if(pe=G.shared.pending,pe===null)break;We=pe,pe=We.next,We.next=null,G.lastBaseUpdate=We,G.shared.pending=null}}while(1);if(He===null&&(_e=$e),G.baseState=_e,G.firstBaseUpdate=xe,G.lastBaseUpdate=He,B=G.shared.interleaved,B!==null){G=B;do ue|=G.lane,G=G.next;while(G!==B)}else J===null&&(G.shared.lanes=0);_i|=ue,D.lanes=ue,D.memoizedState=$e}}function xs(D,B,k){if(D=B.effects,B.effects=null,D!==null)for(B=0;B<D.length;B++){var U=D[B],G=U.callback;if(G!==null){if(U.callback=null,U=k,typeof G!="function")throw Error(C(191,G));G.call(U)}}}function la(D,B,k,U){B=D.memoizedState,k=k(U,B),k=k==null?B:hn({},B,k),D.memoizedState=k,D.lanes===0&&(D.updateQueue.baseState=k)}function Bs(D,B,k,U,G,J,ue){return D=D.stateNode,typeof D.shouldComponentUpdate=="function"?D.shouldComponentUpdate(U,J,ue):B.prototype&&B.prototype.isPureReactComponent?!Ht(k,U)||!Ht(G,J):!0}function Ms(D,B,k){var U=!1,G=ni,J=B.contextType;return typeof J=="object"&&J!==null?J=rn(J):(G=nn(B)?gi:Tn.current,U=B.contextTypes,J=(U=U!=null)?an(D,G):ni),B=new B(k,J),D.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=Zo,D.stateNode=B,B._reactInternals=D,U&&(D=D.stateNode,D.__reactInternalMemoizedUnmaskedChildContext=G,D.__reactInternalMemoizedMaskedChildContext=J),B}function Ps(D,B,k,U){D=B.state,typeof B.componentWillReceiveProps=="function"&&B.componentWillReceiveProps(k,U),typeof B.UNSAFE_componentWillReceiveProps=="function"&&B.UNSAFE_componentWillReceiveProps(k,U),B.state!==D&&Zo.enqueueReplaceState(B,B.state,null)}function ca(D,B,k,U){var G=D.stateNode;G.props=k,G.state=D.memoizedState,G.refs=Al,si(D);var J=B.contextType;typeof J=="object"&&J!==null?G.context=rn(J):(J=nn(B)?gi:Tn.current,G.context=an(D,J)),G.state=D.memoizedState,J=B.getDerivedStateFromProps,typeof J=="function"&&(la(D,B,J,k),G.state=D.memoizedState),typeof B.getDerivedStateFromProps=="function"||typeof G.getSnapshotBeforeUpdate=="function"||typeof G.UNSAFE_componentWillMount!="function"&&typeof G.componentWillMount!="function"||(B=G.state,typeof G.componentWillMount=="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount=="function"&&G.UNSAFE_componentWillMount(),B!==G.state&&Zo.enqueueReplaceState(G,G.state,null),po(D,k,G,U),G.state=D.memoizedState),typeof G.componentDidMount=="function"&&(D.flags|=4194308)}function Wi(D,B,k){if(D=k.ref,D!==null&&typeof D!="function"&&typeof D!="object"){if(k._owner){if(k=k._owner,k){if(k.tag!==1)throw Error(C(309));var U=k.stateNode}if(!U)throw Error(C(147,D));var G=U,J=""+D;return B!==null&&B.ref!==null&&typeof B.ref=="function"&&B.ref._stringRef===J?B.ref:(B=function(ue){var pe=G.refs;pe===Al&&(pe=G.refs={}),ue===null?delete pe[J]:pe[J]=ue},B._stringRef=J,B)}if(typeof D!="string")throw Error(C(284));if(!k._owner)throw Error(C(290,D))}return D}function mo(D,B){throw D=Object.prototype.toString.call(B),Error(C(31,D==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":D))}function Os(D){var B=D._init;return B(D._payload)}function Ls(D){function B(we,Ae){if(D){var Fe=we.deletions;Fe===null?(we.deletions=[Ae],we.flags|=16):Fe.push(Ae)}}function k(we,Ae){if(!D)return null;for(;Ae!==null;)B(we,Ae),Ae=Ae.sibling;return null}function U(we,Ae){for(we=new Map;Ae!==null;)Ae.key!==null?we.set(Ae.key,Ae):we.set(Ae.index,Ae),Ae=Ae.sibling;return we}function G(we,Ae){return we=Xr(we,Ae),we.index=0,we.sibling=null,we}function J(we,Ae,Fe){return we.index=Fe,D?(Fe=we.alternate,Fe!==null?(Fe=Fe.index,Fe<Ae?(we.flags|=2,Ae):Fe):(we.flags|=2,Ae)):(we.flags|=1048576,Ae)}function ue(we){return D&&we.alternate===null&&(we.flags|=2),we}function pe(we,Ae,Fe,Ye){return Ae===null||Ae.tag!==6?(Ae=La(Fe,we.mode,Ye),Ae.return=we,Ae):(Ae=G(Ae,Fe),Ae.return=we,Ae)}function _e(we,Ae,Fe,Ye){var gt=Fe.type;return gt===bi?He(we,Ae,Fe.props.children,Ye,Fe.key):Ae!==null&&(Ae.elementType===gt||typeof gt=="object"&&gt!==null&&gt.$$typeof===Qr&&Os(gt)===Ae.type)?(Ye=G(Ae,Fe.props),Ye.ref=Wi(we,Ae,Fe),Ye.return=we,Ye):(Ye=bo(Fe.type,Fe.key,Fe.props,null,we.mode,Ye),Ye.ref=Wi(we,Ae,Fe),Ye.return=we,Ye)}function xe(we,Ae,Fe,Ye){return Ae===null||Ae.tag!==4||Ae.stateNode.containerInfo!==Fe.containerInfo||Ae.stateNode.implementation!==Fe.implementation?(Ae=ka(Fe,we.mode,Ye),Ae.return=we,Ae):(Ae=G(Ae,Fe.children||[]),Ae.return=we,Ae)}function He(we,Ae,Fe,Ye,gt){return Ae===null||Ae.tag!==7?(Ae=vi(Fe,we.mode,Ye,gt),Ae.return=we,Ae):(Ae=G(Ae,Fe),Ae.return=we,Ae)}function $e(we,Ae,Fe){if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number")return Ae=La(""+Ae,we.mode,Fe),Ae.return=we,Ae;if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case xo:return Fe=bo(Ae.type,Ae.key,Ae.props,null,we.mode,Fe),Fe.ref=Wi(we,null,Ae),Fe.return=we,Fe;case Si:return Ae=ka(Ae,we.mode,Fe),Ae.return=we,Ae;case Qr:var Ye=Ae._init;return $e(we,Ye(Ae._payload),Fe)}if(zi(Ae)||i(Ae))return Ae=vi(Ae,we.mode,Fe,null),Ae.return=we,Ae;mo(we,Ae)}return null}function We(we,Ae,Fe,Ye){var gt=Ae!==null?Ae.key:null;if(typeof Fe=="string"&&Fe!==""||typeof Fe=="number")return gt!==null?null:pe(we,Ae,""+Fe,Ye);if(typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case xo:return Fe.key===gt?_e(we,Ae,Fe,Ye):null;case Si:return Fe.key===gt?xe(we,Ae,Fe,Ye):null;case Qr:return gt=Fe._init,We(we,Ae,gt(Fe._payload),Ye)}if(zi(Fe)||i(Fe))return gt!==null?null:He(we,Ae,Fe,Ye,null);mo(we,Fe)}return null}function rt(we,Ae,Fe,Ye,gt){if(typeof Ye=="string"&&Ye!==""||typeof Ye=="number")return we=we.get(Fe)||null,pe(Ae,we,""+Ye,gt);if(typeof Ye=="object"&&Ye!==null){switch(Ye.$$typeof){case xo:return we=we.get(Ye.key===null?Fe:Ye.key)||null,_e(Ae,we,Ye,gt);case Si:return we=we.get(Ye.key===null?Fe:Ye.key)||null,xe(Ae,we,Ye,gt);case Qr:var yt=Ye._init;return rt(we,Ae,Fe,yt(Ye._payload),gt)}if(zi(Ye)||i(Ye))return we=we.get(Fe)||null,He(Ae,we,Ye,gt,null);mo(Ae,Ye)}return null}function lt(we,Ae,Fe,Ye){for(var gt=null,yt=null,Ct=Ae,St=Ae=0,Pn=null;Ct!==null&&St<Fe.length;St++){Ct.index>St?(Pn=Ct,Ct=null):Pn=Ct.sibling;var Jt=We(we,Ct,Fe[St],Ye);if(Jt===null){Ct===null&&(Ct=Pn);break}D&&Ct&&Jt.alternate===null&&B(we,Ct),Ae=J(Jt,Ae,St),yt===null?gt=Jt:yt.sibling=Jt,yt=Jt,Ct=Pn}if(St===Fe.length)return k(we,Ct),fn&&En(we,St),gt;if(Ct===null){for(;St<Fe.length;St++)Ct=$e(we,Fe[St],Ye),Ct!==null&&(Ae=J(Ct,Ae,St),yt===null?gt=Ct:yt.sibling=Ct,yt=Ct);return fn&&En(we,St),gt}for(Ct=U(we,Ct);St<Fe.length;St++)Pn=rt(Ct,we,St,Fe[St],Ye),Pn!==null&&(D&&Pn.alternate!==null&&Ct.delete(Pn.key===null?St:Pn.key),Ae=J(Pn,Ae,St),yt===null?gt=Pn:yt.sibling=Pn,yt=Pn);return D&&Ct.forEach(function(ai){return B(we,ai)}),fn&&En(we,St),gt}function ht(we,Ae,Fe,Ye){var gt=i(Fe);if(typeof gt!="function")throw Error(C(150));if(Fe=gt.call(Fe),Fe==null)throw Error(C(151));for(var yt=gt=null,Ct=Ae,St=Ae=0,Pn=null,Jt=Fe.next();Ct!==null&&!Jt.done;St++,Jt=Fe.next()){Ct.index>St?(Pn=Ct,Ct=null):Pn=Ct.sibling;var ai=We(we,Ct,Jt.value,Ye);if(ai===null){Ct===null&&(Ct=Pn);break}D&&Ct&&ai.alternate===null&&B(we,Ct),Ae=J(ai,Ae,St),yt===null?gt=ai:yt.sibling=ai,yt=ai,Ct=Pn}if(Jt.done)return k(we,Ct),fn&&En(we,St),gt;if(Ct===null){for(;!Jt.done;St++,Jt=Fe.next())Jt=$e(we,Jt.value,Ye),Jt!==null&&(Ae=J(Jt,Ae,St),yt===null?gt=Jt:yt.sibling=Jt,yt=Jt);return fn&&En(we,St),gt}for(Ct=U(we,Ct);!Jt.done;St++,Jt=Fe.next())Jt=rt(Ct,we,St,Jt.value,Ye),Jt!==null&&(D&&Jt.alternate!==null&&Ct.delete(Jt.key===null?St:Jt.key),Ae=J(Jt,Ae,St),yt===null?gt=Jt:yt.sibling=Jt,yt=Jt);return D&&Ct.forEach(function(ud){return B(we,ud)}),fn&&En(we,St),gt}function _n(we,Ae,Fe,Ye){if(typeof Fe=="object"&&Fe!==null&&Fe.type===bi&&Fe.key===null&&(Fe=Fe.props.children),typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case xo:e:{for(var gt=Fe.key,yt=Ae;yt!==null;){if(yt.key===gt){if(gt=Fe.type,gt===bi){if(yt.tag===7){k(we,yt.sibling),Ae=G(yt,Fe.props.children),Ae.return=we,we=Ae;break e}}else if(yt.elementType===gt||typeof gt=="object"&&gt!==null&&gt.$$typeof===Qr&&Os(gt)===yt.type){k(we,yt.sibling),Ae=G(yt,Fe.props),Ae.ref=Wi(we,yt,Fe),Ae.return=we,we=Ae;break e}k(we,yt);break}else B(we,yt);yt=yt.sibling}Fe.type===bi?(Ae=vi(Fe.props.children,we.mode,Ye,Fe.key),Ae.return=we,we=Ae):(Ye=bo(Fe.type,Fe.key,Fe.props,null,we.mode,Ye),Ye.ref=Wi(we,Ae,Fe),Ye.return=we,we=Ye)}return ue(we);case Si:e:{for(yt=Fe.key;Ae!==null;){if(Ae.key===yt)if(Ae.tag===4&&Ae.stateNode.containerInfo===Fe.containerInfo&&Ae.stateNode.implementation===Fe.implementation){k(we,Ae.sibling),Ae=G(Ae,Fe.children||[]),Ae.return=we,we=Ae;break e}else{k(we,Ae);break}else B(we,Ae);Ae=Ae.sibling}Ae=ka(Fe,we.mode,Ye),Ae.return=we,we=Ae}return ue(we);case Qr:return yt=Fe._init,_n(we,Ae,yt(Fe._payload),Ye)}if(zi(Fe))return lt(we,Ae,Fe,Ye);if(i(Fe))return ht(we,Ae,Fe,Ye);mo(we,Fe)}return typeof Fe=="string"&&Fe!==""||typeof Fe=="number"?(Fe=""+Fe,Ae!==null&&Ae.tag===6?(k(we,Ae.sibling),Ae=G(Ae,Fe),Ae.return=we,we=Ae):(k(we,Ae),Ae=La(Fe,we.mode,Ye),Ae.return=we,we=Ae),ue(we)):k(we,Ae)}return _n}function ci(D){if(D===so)throw Error(C(174));return D}function da(D,B){switch(vt(lo,B),vt(uo,D),vt(Br,so),D=B.nodeType,D){case 9:case 11:B=(B=B.documentElement)?B.namespaceURI:j(null,"");break;default:D=D===8?B.parentNode:B,B=D.namespaceURI||null,D=D.tagName,B=j(B,D)}ft(Br),vt(Br,B)}function yi(D){ft(Br),ft(uo),ft(lo)}function ks(D){ci(lo.current);var B=ci(Br.current),k=j(B,D.type);B!==k&&(vt(uo,D),vt(Br,k))}function fa(D){uo.current===D&&(ft(Br),ft(uo))}function Eo(D){for(var B=D;B!==null;){if(B.tag===13){var k=B.memoizedState;if(k!==null&&(k=k.dehydrated,k===null||k.data==="$?"||k.data==="$!"))return B}else if(B.tag===19&&B.memoizedProps.revealOrder!==void 0){if(B.flags&128)return B}else if(B.child!==null){B.child.return=B,B=B.child;continue}if(B===D)break;for(;B.sibling===null;){if(B.return===null||B.return===D)return null;B=B.return}B.sibling.return=B.return,B=B.sibling}return null}function ha(){for(var D=0;D<As.length;D++)As[D]._workInProgressVersionPrimary=null;As.length=0}function zn(){throw Error(C(321))}function va(D,B){if(B===null)return!1;for(var k=0;k<B.length&&k<D.length;k++)if(!Ar(D[k],B[k]))return!1;return!0}function ga(D,B,k,U,G,J){if(Ei=J,gn=B,B.memoizedState=null,B.updateQueue=null,B.lanes=0,Jo.current=D===null||D.memoizedState===null?zc:Yc,D=k(U,G),co){J=0;do{if(co=!1,fo=0,25<=J)throw Error(C(301));J+=1,Bn=Rn=null,B.updateQueue=null,Jo.current=Gc,D=k(U,G)}while(co)}if(Jo.current=ea,B=Rn!==null&&Rn.next!==null,Ei=0,Bn=Rn=gn=null,qo=!1,B)throw Error(C(300));return D}function pa(){var D=fo!==0;return fo=0,D}function Fr(){var D={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bn===null?gn.memoizedState=Bn=D:Bn=Bn.next=D,Bn}function vr(){if(Rn===null){var D=gn.alternate;D=D!==null?D.memoizedState:null}else D=Rn.next;var B=Bn===null?gn.memoizedState:Bn.next;if(B!==null)Bn=B,Rn=D;else{if(D===null)throw Error(C(310));Rn=D,D={memoizedState:Rn.memoizedState,baseState:Rn.baseState,baseQueue:Rn.baseQueue,queue:Rn.queue,next:null},Bn===null?gn.memoizedState=Bn=D:Bn=Bn.next=D}return Bn}function ji(D,B){return typeof B=="function"?B(D):B}function ma(D,B,k){if(B=vr(),k=B.queue,k===null)throw Error(C(311));k.lastRenderedReducer=D;var U=Rn,G=U.baseQueue,J=k.pending;if(J!==null){if(G!==null){var ue=G.next;G.next=J.next,J.next=ue}U.baseQueue=G=J,k.pending=null}if(G!==null){J=G.next,U=U.baseState;var pe=ue=null,_e=null,xe=J;do{var He=xe.lane;if((Ei&He)===He)_e!==null&&(_e=_e.next={lane:0,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null}),U=xe.hasEagerState?xe.eagerState:D(U,xe.action);else{var $e={lane:He,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e===null?(pe=_e=$e,ue=U):_e=_e.next=$e,gn.lanes|=He,_i|=He}xe=xe.next}while(xe!==null&&xe!==J);_e===null?ue=U:_e.next=pe,Ar(U,B.memoizedState)||(rr=!0),B.memoizedState=U,B.baseState=ue,B.baseQueue=_e,k.lastRenderedState=U}if(D=k.interleaved,D!==null){G=D;do J=G.lane,gn.lanes|=J,_i|=J,G=G.next;while(G!==D)}else G===null&&(k.lanes=0);return[B.memoizedState,k.dispatch]}function Ea(D,B,k){if(B=vr(),k=B.queue,k===null)throw Error(C(311));k.lastRenderedReducer=D;var U=k.dispatch,G=k.pending,J=B.memoizedState;if(G!==null){k.pending=null;var ue=G=G.next;do J=D(J,ue.action),ue=ue.next;while(ue!==G);Ar(J,B.memoizedState)||(rr=!0),B.memoizedState=J,B.baseQueue===null&&(B.baseState=J),k.lastRenderedState=J}return[J,U]}function Ws(D,B,k){}function Hs(D,B,k){k=gn;var U=vr(),G=B(),J=!Ar(U.memoizedState,G);if(J&&(U.memoizedState=G,rr=!0),U=U.queue,_a(Vs.bind(null,k,U,D),[D]),U.getSnapshot!==B||J||Bn!==null&&Bn.memoizedState.tag&1){if(k.flags|=2048,Hi(9,Us.bind(null,k,U,G,B),void 0,null),Mn===null)throw Error(C(349));Ei&30||Ks(k,B,G)}return G}function Ks(D,B,k){D.flags|=16384,D={getSnapshot:B,value:k},B=gn.updateQueue,B===null?(B={lastEffect:null,stores:null},gn.updateQueue=B,B.stores=[D]):(k=B.stores,k===null?B.stores=[D]:k.push(D))}function Us(D,B,k,U){B.value=k,B.getSnapshot=U,$s(B)&&zs(D)}function Vs(D,B,k){return k(function(){$s(B)&&zs(D)})}function $s(D){var B=D.getSnapshot;D=D.value;try{var k=B();return!Ar(D,k)}catch(U){return!0}}function zs(D){var B=Sn(D,1);B!==null&&yr(B,D,1,-1)}function Ys(D){var B=Fr();return typeof D=="function"&&(D=D()),B.memoizedState=B.baseState=D,D={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:D},B.queue=D,D=D.dispatch=Nl.bind(null,gn,D),[B.memoizedState,D]}function Hi(D,B,k,U){return D={tag:D,create:B,destroy:k,deps:U,next:null},B=gn.updateQueue,B===null?(B={lastEffect:null,stores:null},gn.updateQueue=B,B.lastEffect=D.next=D):(k=B.lastEffect,k===null?B.lastEffect=D.next=D:(U=k.next,k.next=D,D.next=U,B.lastEffect=D)),D}function Gs(D){return vr().memoizedState}function _o(D,B,k,U){var G=Fr();gn.flags|=D,G.memoizedState=Hi(1|B,k,void 0,U===void 0?null:U)}function yo(D,B,k,U){var G=vr();U=U===void 0?null:U;var J=void 0;if(Rn!==null){var ue=Rn.memoizedState;if(J=ue.destroy,U!==null&&va(U,ue.deps)){G.memoizedState=Hi(B,k,J,U);return}}gn.flags|=D,G.memoizedState=Hi(1|B,k,J,U)}function Xs(D,B){return _o(8390656,8,D,B)}function _a(D,B){return yo(2048,8,D,B)}function Qs(D,B){return yo(4,2,D,B)}function Zs(D,B){return yo(4,4,D,B)}function Js(D,B){if(typeof B=="function")return D=D(),B(D),function(){B(null)};if(B!=null)return D=D(),B.current=D,function(){B.current=null}}function qs(D,B,k){return k=k!=null?k.concat([D]):null,yo(4,4,Js.bind(null,B,D),k)}function ya(D,B){}function eu(D,B){var k=vr();B=B===void 0?null:B;var U=k.memoizedState;return U!==null&&B!==null&&va(B,U[1])?U[0]:(k.memoizedState=[D,B],D)}function tu(D,B){var k=vr();B=B===void 0?null:B;var U=k.memoizedState;return U!==null&&B!==null&&va(B,U[1])?U[0]:(D=D(),k.memoizedState=[D,B],D)}function nu(D,B,k){return Ei&21?(Ar(k,B)||(k=st(),gn.lanes|=k,_i|=k,D.baseState=!0),B):(D.baseState&&(D.baseState=!1,rr=!0),D.memoizedState=k)}function Fl(D,B,k){k=Zt,Zt=k!==0&&4>k?k:4,D(!0);var U=Ss.transition;Ss.transition={};try{D(!1),B()}finally{Zt=k,Ss.transition=U}}function ru(){return vr().memoizedState}function Il(D,B,k){var U=Yr(D);if(k={lane:U,action:k,hasEagerState:!1,eagerState:null,next:null},iu(D))ou(B,k);else if(k=Vr(D,B,k,U),k!==null){var G=Zn();yr(k,D,U,G),au(k,B,U)}}function Nl(D,B,k){var U=Yr(D),G={lane:U,action:k,hasEagerState:!1,eagerState:null,next:null};if(iu(D))ou(B,G);else{var J=D.alternate;if(D.lanes===0&&(J===null||J.lanes===0)&&(J=B.lastRenderedReducer,J!==null))try{var ue=B.lastRenderedState,pe=J(ue,k);if(G.hasEagerState=!0,G.eagerState=pe,Ar(pe,ue)){var _e=B.interleaved;_e===null?(G.next=G,ur(B)):(G.next=_e.next,_e.next=G),B.interleaved=G;return}}catch(xe){}finally{}k=Vr(D,B,G,U),k!==null&&(G=Zn(),yr(k,D,U,G),au(k,B,U))}}function iu(D){var B=D.alternate;return D===gn||B!==null&&B===gn}function ou(D,B){co=qo=!0;var k=D.pending;k===null?B.next=B:(B.next=k.next,k.next=B),D.pending=B}function au(D,B,k){if(k&4194240){var U=B.lanes;U&=D.pendingLanes,k|=U,B.lanes=k,Yt(D,k)}}function Ci(D,B){try{var k="",U=B;do k+=o(U),U=U.return;while(U);var G=k}catch(J){G=`
Error generating stack: `+J.message+`
`+J.stack}return{value:D,source:B,stack:G,digest:null}}function Ca(D,B,k){return{value:D,source:null,stack:k!=null?k:null,digest:B!=null?B:null}}function Da(D,B){try{console.error(B.value)}catch(k){setTimeout(function(){throw k})}}function su(D,B,k){k=$n(-1,k),k.tag=3,k.payload={element:null};var U=B.value;return k.callback=function(){ia||(ia=!0,Is=U),Da(D,B)},k}function uu(D,B,k){k=$n(-1,k),k.tag=3;var U=D.type.getDerivedStateFromError;if(typeof U=="function"){var G=B.value;k.payload=function(){return U(G)},k.callback=function(){Da(D,B)}}var J=D.stateNode;return J!==null&&typeof J.componentDidCatch=="function"&&(k.callback=function(){Da(D,B),typeof U!="function"&&(ii===null?ii=new Set([this]):ii.add(this));var ue=B.stack;this.componentDidCatch(B.value,{componentStack:ue!==null?ue:""})}),k}function lu(D,B,k){var U=D.pingCache;if(U===null){U=D.pingCache=new Xc;var G=new Set;U.set(B,G)}else G=U.get(B),G===void 0&&(G=new Set,U.set(B,G));G.has(k)||(G.add(k),D=Kl.bind(null,D,B,k),B.then(D,D))}function cu(D){do{var B;if((B=D.tag===13)&&(B=D.memoizedState,B=B!==null?B.dehydrated!==null:!0),B)return D;D=D.return}while(D!==null);return null}function du(D,B,k,U,G){return D.mode&1?(D.flags|=65536,D.lanes=G,D):(D===B?D.flags|=65536:(D.flags|=128,k.flags|=131072,k.flags&=-52805,k.tag===1&&(k.alternate===null?k.tag=17:(B=$n(-1,1),B.tag=2,Rr(k,B,1))),k.lanes|=1),D)}function Qn(D,B,k,U){B.child=D===null?Sl(B,null,k,U):ki(B,D.child,k,U)}function fu(D,B,k,U,G){k=k.render;var J=B.ref;return ln(B,G),U=ga(D,B,k,U,J,G),k=pa(),D!==null&&!rr?(B.updateQueue=D.updateQueue,B.flags&=-2053,D.lanes&=~G,Pr(D,B,G)):(fn&&k&&ar(B),B.flags|=1,Qn(D,B,U,G),B.child)}function hu(D,B,k,U,G){if(D===null){var J=k.type;return typeof J=="function"&&!Oa(J)&&J.defaultProps===void 0&&k.compare===null&&k.defaultProps===void 0?(B.tag=15,B.type=J,vu(D,B,J,U,G)):(D=bo(k.type,null,U,B,B.mode,G),D.ref=B.ref,D.return=B,B.child=D)}if(J=D.child,!(D.lanes&G)){var ue=J.memoizedProps;if(k=k.compare,k=k!==null?k:Ht,k(ue,U)&&D.ref===B.ref)return Pr(D,B,G)}return B.flags|=1,D=Xr(J,U),D.ref=B.ref,D.return=B,B.child=D}function vu(D,B,k,U,G){if(D!==null){var J=D.memoizedProps;if(Ht(J,U)&&D.ref===B.ref)if(rr=!1,B.pendingProps=U=J,(D.lanes&G)!==0)D.flags&131072&&(rr=!0);else return B.lanes=D.lanes,Pr(D,B,G)}return Aa(D,B,k,U,G)}function gu(D,B,k){var U=B.pendingProps,G=U.children,J=D!==null?D.memoizedState:null;if(U.mode==="hidden")if(!(B.mode&1))B.memoizedState={baseLanes:0,cachePool:null,transitions:null},vt(Mr,qn),qn|=k;else{if(!(k&1073741824))return D=J!==null?J.baseLanes|k:k,B.lanes=B.childLanes=1073741824,B.memoizedState={baseLanes:D,cachePool:null,transitions:null},B.updateQueue=null,vt(Mr,qn),qn|=D,null;B.memoizedState={baseLanes:0,cachePool:null,transitions:null},U=J!==null?J.baseLanes:k,vt(Mr,qn),qn|=U}else J!==null?(U=J.baseLanes|k,B.memoizedState=null):U=k,vt(Mr,qn),qn|=U;return Qn(D,B,G,k),B.child}function pu(D,B){var k=B.ref;(D===null&&k!==null||D!==null&&D.ref!==k)&&(B.flags|=512,B.flags|=2097152)}function Aa(D,B,k,U,G){var J=nn(k)?gi:Tn.current;return J=an(B,J),ln(B,G),k=ga(D,B,k,U,J,G),U=pa(),D!==null&&!rr?(B.updateQueue=D.updateQueue,B.flags&=-2053,D.lanes&=~G,Pr(D,B,G)):(fn&&U&&ar(B),B.flags|=1,Qn(D,B,k,G),B.child)}function mu(D,B,k,U,G){if(nn(k)){var J=!0;In(B)}else J=!1;if(ln(B,G),B.stateNode===null)Do(D,B),Ms(B,k,U),ca(B,k,U,G),U=!0;else if(D===null){var ue=B.stateNode,pe=B.memoizedProps;ue.props=pe;var _e=ue.context,xe=k.contextType;typeof xe=="object"&&xe!==null?xe=rn(xe):(xe=nn(k)?gi:Tn.current,xe=an(B,xe));var He=k.getDerivedStateFromProps,$e=typeof He=="function"||typeof ue.getSnapshotBeforeUpdate=="function";$e||typeof ue.UNSAFE_componentWillReceiveProps!="function"&&typeof ue.componentWillReceiveProps!="function"||(pe!==U||_e!==xe)&&Ps(B,ue,U,xe),ri=!1;var We=B.memoizedState;ue.state=We,po(B,U,ue,G),_e=B.memoizedState,pe!==U||We!==_e||Wn.current||ri?(typeof He=="function"&&(la(B,k,He,U),_e=B.memoizedState),(pe=ri||Bs(B,k,pe,U,We,_e,xe))?($e||typeof ue.UNSAFE_componentWillMount!="function"&&typeof ue.componentWillMount!="function"||(typeof ue.componentWillMount=="function"&&ue.componentWillMount(),typeof ue.UNSAFE_componentWillMount=="function"&&ue.UNSAFE_componentWillMount()),typeof ue.componentDidMount=="function"&&(B.flags|=4194308)):(typeof ue.componentDidMount=="function"&&(B.flags|=4194308),B.memoizedProps=U,B.memoizedState=_e),ue.props=U,ue.state=_e,ue.context=xe,U=pe):(typeof ue.componentDidMount=="function"&&(B.flags|=4194308),U=!1)}else{ue=B.stateNode,ui(D,B),pe=B.memoizedProps,xe=B.type===B.elementType?pe:qe(B.type,pe),ue.props=xe,$e=B.pendingProps,We=ue.context,_e=k.contextType,typeof _e=="object"&&_e!==null?_e=rn(_e):(_e=nn(k)?gi:Tn.current,_e=an(B,_e));var rt=k.getDerivedStateFromProps;(He=typeof rt=="function"||typeof ue.getSnapshotBeforeUpdate=="function")||typeof ue.UNSAFE_componentWillReceiveProps!="function"&&typeof ue.componentWillReceiveProps!="function"||(pe!==$e||We!==_e)&&Ps(B,ue,U,_e),ri=!1,We=B.memoizedState,ue.state=We,po(B,U,ue,G);var lt=B.memoizedState;pe!==$e||We!==lt||Wn.current||ri?(typeof rt=="function"&&(la(B,k,rt,U),lt=B.memoizedState),(xe=ri||Bs(B,k,xe,U,We,lt,_e)||!1)?(He||typeof ue.UNSAFE_componentWillUpdate!="function"&&typeof ue.componentWillUpdate!="function"||(typeof ue.componentWillUpdate=="function"&&ue.componentWillUpdate(U,lt,_e),typeof ue.UNSAFE_componentWillUpdate=="function"&&ue.UNSAFE_componentWillUpdate(U,lt,_e)),typeof ue.componentDidUpdate=="function"&&(B.flags|=4),typeof ue.getSnapshotBeforeUpdate=="function"&&(B.flags|=1024)):(typeof ue.componentDidUpdate!="function"||pe===D.memoizedProps&&We===D.memoizedState||(B.flags|=4),typeof ue.getSnapshotBeforeUpdate!="function"||pe===D.memoizedProps&&We===D.memoizedState||(B.flags|=1024),B.memoizedProps=U,B.memoizedState=lt),ue.props=U,ue.state=lt,ue.context=_e,U=xe):(typeof ue.componentDidUpdate!="function"||pe===D.memoizedProps&&We===D.memoizedState||(B.flags|=4),typeof ue.getSnapshotBeforeUpdate!="function"||pe===D.memoizedProps&&We===D.memoizedState||(B.flags|=1024),U=!1)}return Sa(D,B,k,U,J,G)}function Sa(D,B,k,U,G,J){pu(D,B);var ue=(B.flags&128)!==0;if(!U&&!ue)return G&&dn(B,k,!1),Pr(D,B,J);U=B.stateNode,Qc.current=B;var pe=ue&&typeof k.getDerivedStateFromError!="function"?null:U.render();return B.flags|=1,D!==null&&ue?(B.child=ki(B,D.child,null,J),B.child=ki(B,null,pe,J)):Qn(D,B,pe,J),B.memoizedState=U.state,G&&dn(B,k,!0),B.child}function Eu(D){var B=D.stateNode;B.pendingContext?pn(D,B.pendingContext,B.pendingContext!==B.context):B.context&&pn(D,B.context,!1),da(D,B.containerInfo)}function _u(D,B,k,U,G){return hr(),Me(G),B.flags|=256,Qn(D,B,k,U),B.child}function ba(D){return{baseLanes:D,cachePool:null,transitions:null}}function yu(D,B,k){var U=B.pendingProps,G=vn.current,J=!1,ue=(B.flags&128)!==0,pe;if((pe=ue)||(pe=D!==null&&D.memoizedState===null?!1:(G&2)!==0),pe?(J=!0,B.flags&=-129):(D===null||D.memoizedState!==null)&&(G|=1),vt(vn,G&1),D===null)return Tr(B),D=B.memoizedState,D!==null&&(D=D.dehydrated,D!==null)?(B.mode&1?D.data==="$!"?B.lanes=8:B.lanes=1073741824:B.lanes=1,null):(ue=U.children,D=U.fallback,J?(U=B.mode,J=B.child,ue={mode:"hidden",children:ue},!(U&1)&&J!==null?(J.childLanes=0,J.pendingProps=ue):J=wo(ue,U,0,null),D=vi(D,U,k,null),J.return=B,D.return=B,J.sibling=D,B.child=J,B.child.memoizedState=ba(k),B.memoizedState=bs,D):wa(B,ue));if(G=D.memoizedState,G!==null&&(pe=G.dehydrated,pe!==null))return xl(D,B,ue,U,pe,G,k);if(J){J=U.fallback,ue=B.mode,G=D.child,pe=G.sibling;var _e={mode:"hidden",children:U.children};return!(ue&1)&&B.child!==G?(U=B.child,U.childLanes=0,U.pendingProps=_e,B.deletions=null):(U=Xr(G,_e),U.subtreeFlags=G.subtreeFlags&14680064),pe!==null?J=Xr(pe,J):(J=vi(J,ue,k,null),J.flags|=2),J.return=B,U.return=B,U.sibling=J,B.child=U,U=J,J=B.child,ue=D.child.memoizedState,ue=ue===null?ba(k):{baseLanes:ue.baseLanes|k,cachePool:null,transitions:ue.transitions},J.memoizedState=ue,J.childLanes=D.childLanes&~k,B.memoizedState=bs,U}return J=D.child,D=J.sibling,U=Xr(J,{mode:"visible",children:U.children}),!(B.mode&1)&&(U.lanes=k),U.return=B,U.sibling=null,D!==null&&(k=B.deletions,k===null?(B.deletions=[D],B.flags|=16):k.push(D)),B.child=U,B.memoizedState=null,U}function wa(D,B,k){return B=wo({mode:"visible",children:B},D.mode,0,null),B.return=D,D.child=B}function Co(D,B,k,U){return U!==null&&Me(U),ki(B,D.child,null,k),D=wa(B,B.pendingProps.children),D.flags|=2,B.memoizedState=null,D}function xl(D,B,k,U,G,J,ue){if(k)return B.flags&256?(B.flags&=-257,U=Ca(Error(C(422))),Co(D,B,ue,U)):B.memoizedState!==null?(B.child=D.child,B.flags|=128,null):(J=U.fallback,G=B.mode,U=wo({mode:"visible",children:U.children},G,0,null),J=vi(J,G,ue,null),J.flags|=2,U.return=B,J.return=B,U.sibling=J,B.child=U,B.mode&1&&ki(B,D.child,null,ue),B.child.memoizedState=ba(ue),B.memoizedState=bs,J);if(!(B.mode&1))return Co(D,B,ue,null);if(G.data==="$!"){if(U=G.nextSibling&&G.nextSibling.dataset,U)var pe=U.dgst;return U=pe,J=Error(C(419)),U=Ca(J,U,void 0),Co(D,B,ue,U)}if(pe=(ue&D.childLanes)!==0,rr||pe){if(U=Mn,U!==null){switch(ue&-ue){case 4:G=2;break;case 16:G=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:G=32;break;case 536870912:G=268435456;break;default:G=0}G=G&(U.suspendedLanes|ue)?0:G,G!==0&&G!==J.retryLane&&(J.retryLane=G,Sn(D,G),yr(U,D,G,-1))}return Pa(),U=Ca(Error(C(421))),Co(D,B,ue,U)}return G.data==="$?"?(B.flags|=128,B.child=D.child,B=Ul.bind(null,D),G._reactRetry=B,null):(D=J.treeContext,nr=Gt(G.nextSibling),lr=B,fn=!0,Sr=null,D!==null&&(gr[pr++]=jr,gr[pr++]=Hr,gr[pr++]=pi,jr=D.id,Hr=D.overflow,pi=B),B=wa(B,U.children),B.flags|=4096,B)}function Cu(D,B,k){D.lanes|=B;var U=D.alternate;U!==null&&(U.lanes|=B),jt(D.return,B,k)}function Ta(D,B,k,U,G){var J=D.memoizedState;J===null?D.memoizedState={isBackwards:B,rendering:null,renderingStartTime:0,last:U,tail:k,tailMode:G}:(J.isBackwards=B,J.rendering=null,J.renderingStartTime=0,J.last=U,J.tail=k,J.tailMode=G)}function Du(D,B,k){var U=B.pendingProps,G=U.revealOrder,J=U.tail;if(Qn(D,B,U.children,k),U=vn.current,U&2)U=U&1|2,B.flags|=128;else{if(D!==null&&D.flags&128)e:for(D=B.child;D!==null;){if(D.tag===13)D.memoizedState!==null&&Cu(D,k,B);else if(D.tag===19)Cu(D,k,B);else if(D.child!==null){D.child.return=D,D=D.child;continue}if(D===B)break e;for(;D.sibling===null;){if(D.return===null||D.return===B)break e;D=D.return}D.sibling.return=D.return,D=D.sibling}U&=1}if(vt(vn,U),!(B.mode&1))B.memoizedState=null;else switch(G){case"forwards":for(k=B.child,G=null;k!==null;)D=k.alternate,D!==null&&Eo(D)===null&&(G=k),k=k.sibling;k=G,k===null?(G=B.child,B.child=null):(G=k.sibling,k.sibling=null),Ta(B,!1,G,k,J);break;case"backwards":for(k=null,G=B.child,B.child=null;G!==null;){if(D=G.alternate,D!==null&&Eo(D)===null){B.child=G;break}D=G.sibling,G.sibling=k,k=G,G=D}Ta(B,!0,k,null,J);break;case"together":Ta(B,!1,null,null,void 0);break;default:B.memoizedState=null}return B.child}function Do(D,B){!(B.mode&1)&&D!==null&&(D.alternate=null,B.alternate=null,B.flags|=2)}function Pr(D,B,k){if(D!==null&&(B.dependencies=D.dependencies),_i|=B.lanes,!(k&B.childLanes))return null;if(D!==null&&B.child!==D.child)throw Error(C(153));if(B.child!==null){for(D=B.child,k=Xr(D,D.pendingProps),B.child=k,k.return=B;D.sibling!==null;)D=D.sibling,k=k.sibling=Xr(D,D.pendingProps),k.return=B;k.sibling=null}return B.child}function Bl(D,B,k){switch(B.tag){case 3:Eu(B),hr();break;case 5:ks(B);break;case 1:nn(B.type)&&In(B);break;case 4:da(B,B.stateNode.containerInfo);break;case 10:var U=B.type._context,G=B.memoizedProps.value;vt(Xo,U._currentValue),U._currentValue=G;break;case 13:if(U=B.memoizedState,U!==null)return U.dehydrated!==null?(vt(vn,vn.current&1),B.flags|=128,null):k&B.child.childLanes?yu(D,B,k):(vt(vn,vn.current&1),D=Pr(D,B,k),D!==null?D.sibling:null);vt(vn,vn.current&1);break;case 19:if(U=(k&B.childLanes)!==0,D.flags&128){if(U)return Du(D,B,k);B.flags|=128}if(G=B.memoizedState,G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),vt(vn,vn.current),U)break;return null;case 22:case 23:return B.lanes=0,gu(D,B,k)}return Pr(D,B,k)}function Ki(D,B){if(!fn)switch(D.tailMode){case"hidden":B=D.tail;for(var k=null;B!==null;)B.alternate!==null&&(k=B),B=B.sibling;k===null?D.tail=null:k.sibling=null;break;case"collapsed":k=D.tail;for(var U=null;k!==null;)k.alternate!==null&&(U=k),k=k.sibling;U===null?B||D.tail===null?D.tail=null:D.tail.sibling=null:U.sibling=null}}function Yn(D){var B=D.alternate!==null&&D.alternate.child===D.child,k=0,U=0;if(B)for(var G=D.child;G!==null;)k|=G.lanes|G.childLanes,U|=G.subtreeFlags&14680064,U|=G.flags&14680064,G.return=D,G=G.sibling;else for(G=D.child;G!==null;)k|=G.lanes|G.childLanes,U|=G.subtreeFlags,U|=G.flags,G.return=D,G=G.sibling;return D.subtreeFlags|=U,D.childLanes=k,B}function Ml(D,B,k){var U=B.pendingProps;switch(Nn(B),B.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yn(B),null;case 1:return nn(B.type)&&(ft(Wn),ft(Tn)),Yn(B),null;case 3:return U=B.stateNode,yi(),ft(Wn),ft(Tn),ha(),U.pendingContext&&(U.context=U.pendingContext,U.pendingContext=null),(D===null||D.child===null)&&(sr(B)?B.flags|=4:D===null||D.memoizedState.isDehydrated&&!(B.flags&256)||(B.flags|=1024,Sr!==null&&(Ba(Sr),Sr=null))),bl(D,B),Yn(B),null;case 5:fa(B);var G=ci(lo.current);if(k=B.type,D!==null&&B.stateNode!=null)Jc(D,B,k,U,G),D.ref!==B.ref&&(B.flags|=512,B.flags|=2097152);else{if(!U){if(B.stateNode===null)throw Error(C(166));return Yn(B),null}if(D=ci(Br.current),sr(B)){U=B.stateNode,k=B.type;var J=B.memoizedProps;switch(U[xr]=B,U[ao]=J,D=(B.mode&1)!==0,k){case"dialog":de("cancel",U),de("close",U);break;case"iframe":case"object":case"embed":de("load",U);break;case"video":case"audio":for(G=0;G<oo.length;G++)de(oo[G],U);break;case"source":de("error",U);break;case"img":case"image":case"link":de("error",U),de("load",U);break;case"details":de("toggle",U);break;case"input":I(U,J),de("invalid",U);break;case"select":U._wrapperState={wasMultiple:!!J.multiple},de("invalid",U);break;case"textarea":x(U,J),de("invalid",U)}$(k,J),G=null;for(var ue in J)if(J.hasOwnProperty(ue)){var pe=J[ue];ue==="children"?typeof pe=="string"?U.textContent!==pe&&(J.suppressHydrationWarning!==!0&&zt(U.textContent,pe,D),G=["children",pe]):typeof pe=="number"&&U.textContent!==""+pe&&(J.suppressHydrationWarning!==!0&&zt(U.textContent,pe,D),G=["children",""+pe]):$i.hasOwnProperty(ue)&&pe!=null&&ue==="onScroll"&&de("scroll",U)}switch(k){case"input":g(U),T(U,J,!0);break;case"textarea":g(U),L(U);break;case"select":case"option":break;default:typeof J.onClick=="function"&&(U.onclick=Pt)}U=G,B.updateQueue=U,U!==null&&(B.flags|=4)}else{ue=G.nodeType===9?G:G.ownerDocument,D==="http://www.w3.org/1999/xhtml"&&(D=W(k)),D==="http://www.w3.org/1999/xhtml"?k==="script"?(D=ue.createElement("div"),D.innerHTML="<script><\/script>",D=D.removeChild(D.firstChild)):typeof U.is=="string"?D=ue.createElement(k,{is:U.is}):(D=ue.createElement(k),k==="select"&&(ue=D,U.multiple?ue.multiple=!0:U.size&&(ue.size=U.size))):D=ue.createElementNS(D,k),D[xr]=B,D[ao]=U,Zc(D,B,!1,!1),B.stateNode=D;e:{switch(ue=V(k,U),k){case"dialog":de("cancel",D),de("close",D),G=U;break;case"iframe":case"object":case"embed":de("load",D),G=U;break;case"video":case"audio":for(G=0;G<oo.length;G++)de(oo[G],D);G=U;break;case"source":de("error",D),G=U;break;case"img":case"image":case"link":de("error",D),de("load",D),G=U;break;case"details":de("toggle",D),G=U;break;case"input":I(D,U),G=w(D,U),de("invalid",D);break;case"option":G=U;break;case"select":D._wrapperState={wasMultiple:!!U.multiple},G=hn({},U,{value:void 0}),de("invalid",D);break;case"textarea":x(D,U),G=y(D,U),de("invalid",D);break;default:G=U}$(k,G),pe=G;for(J in pe)if(pe.hasOwnProperty(J)){var _e=pe[J];J==="style"?K(D,_e):J==="dangerouslySetInnerHTML"?(_e=_e?_e.__html:void 0,_e!=null&&qu(D,_e)):J==="children"?typeof _e=="string"?(k!=="textarea"||_e!=="")&&Yi(D,_e):typeof _e=="number"&&Yi(D,""+_e):J!=="suppressContentEditableWarning"&&J!=="suppressHydrationWarning"&&J!=="autoFocus"&&($i.hasOwnProperty(J)?_e!=null&&J==="onScroll"&&de("scroll",D):_e!=null&&r(D,J,_e,ue))}switch(k){case"input":g(D),T(D,U,!1);break;case"textarea":g(D),L(D);break;case"option":U.value!=null&&D.setAttribute("value",""+h(U.value));break;case"select":D.multiple=!!U.multiple,J=U.value,J!=null?F(D,!!U.multiple,J,!1):U.defaultValue!=null&&F(D,!!U.multiple,U.defaultValue,!0);break;default:typeof G.onClick=="function"&&(D.onclick=Pt)}switch(k){case"button":case"input":case"select":case"textarea":U=!!U.autoFocus;break e;case"img":U=!0;break e;default:U=!1}}U&&(B.flags|=4)}B.ref!==null&&(B.flags|=512,B.flags|=2097152)}return Yn(B),null;case 6:if(D&&B.stateNode!=null)qc(D,B,D.memoizedProps,U);else{if(typeof U!="string"&&B.stateNode===null)throw Error(C(166));if(k=ci(lo.current),ci(Br.current),sr(B)){if(U=B.stateNode,k=B.memoizedProps,U[xr]=B,(J=U.nodeValue!==k)&&(D=lr,D!==null))switch(D.tag){case 3:zt(U.nodeValue,k,(D.mode&1)!==0);break;case 5:D.memoizedProps.suppressHydrationWarning!==!0&&zt(U.nodeValue,k,(D.mode&1)!==0)}J&&(B.flags|=4)}else U=(k.nodeType===9?k:k.ownerDocument).createTextNode(U),U[xr]=B,B.stateNode=U}return Yn(B),null;case 13:if(ft(vn),U=B.memoizedState,D===null||D.memoizedState!==null&&D.memoizedState.dehydrated!==null){if(fn&&nr!==null&&B.mode&1&&!(B.flags&128)){for(J=nr;J;)J=Gt(J.nextSibling);hr(),B.flags|=98560,J=!1}else if(J=sr(B),U!==null&&U.dehydrated!==null){if(D===null){if(!J)throw Error(C(318));if(J=B.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error(C(317));J[xr]=B}else hr(),!(B.flags&128)&&(B.memoizedState=null),B.flags|=4;Yn(B),J=!1}else Sr!==null&&(Ba(Sr),Sr=null),J=!0;if(!J)return B.flags&65536?B:null}return B.flags&128?(B.lanes=k,B):(U=U!==null,U!==(D!==null&&D.memoizedState!==null)&&U&&(B.child.flags|=8192,B.mode&1&&(D===null||vn.current&1?Fn===0&&(Fn=3):Pa())),B.updateQueue!==null&&(B.flags|=4),Yn(B),null);case 4:return yi(),bl(D,B),D===null&&be(B.stateNode.containerInfo),Yn(B),null;case 10:return Ut(B.type._context),Yn(B),null;case 17:return nn(B.type)&&(ft(Wn),ft(Tn)),Yn(B),null;case 19:if(ft(vn),J=B.memoizedState,J===null)return Yn(B),null;if(U=(B.flags&128)!==0,ue=J.rendering,ue===null)if(U)Ki(J,!1);else{if(Fn!==0||D!==null&&D.flags&128)for(D=B.child;D!==null;){if(ue=Eo(D),ue!==null){for(B.flags|=128,Ki(J,!1),U=ue.updateQueue,U!==null&&(B.updateQueue=U,B.flags|=4),B.subtreeFlags=0,U=k,k=B.child;k!==null;)J=k,D=U,J.flags&=14680066,ue=J.alternate,ue===null?(J.childLanes=0,J.lanes=D,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=ue.childLanes,J.lanes=ue.lanes,J.child=ue.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=ue.memoizedProps,J.memoizedState=ue.memoizedState,J.updateQueue=ue.updateQueue,J.type=ue.type,D=ue.dependencies,J.dependencies=D===null?null:{lanes:D.lanes,firstContext:D.firstContext}),k=k.sibling;return vt(vn,vn.current&1|2),B.child}D=D.sibling}J.tail!==null&&xn()>Fs&&(B.flags|=128,U=!0,Ki(J,!1),B.lanes=4194304)}else{if(!U)if(D=Eo(ue),D!==null){if(B.flags|=128,U=!0,k=D.updateQueue,k!==null&&(B.updateQueue=k,B.flags|=4),Ki(J,!0),J.tail===null&&J.tailMode==="hidden"&&!ue.alternate&&!fn)return Yn(B),null}else 2*xn()-J.renderingStartTime>Fs&&k!==1073741824&&(B.flags|=128,U=!0,Ki(J,!1),B.lanes=4194304);J.isBackwards?(ue.sibling=B.child,B.child=ue):(k=J.last,k!==null?k.sibling=ue:B.child=ue,J.last=ue)}return J.tail!==null?(B=J.tail,J.rendering=B,J.tail=B.sibling,J.renderingStartTime=xn(),B.sibling=null,k=vn.current,vt(vn,U?k&1|2:k&1),B):(Yn(B),null);case 22:case 23:return qn=Mr.current,ft(Mr),U=B.memoizedState!==null,D!==null&&D.memoizedState!==null!==U&&(B.flags|=8192),U&&B.mode&1?qn&1073741824&&(Yn(B),B.subtreeFlags&6&&(B.flags|=8192)):Yn(B),null;case 24:return null;case 25:return null}throw Error(C(156,B.tag))}function Pl(D,B,k){switch(Nn(B),B.tag){case 1:return nn(B.type)&&(ft(Wn),ft(Tn)),D=B.flags,D&65536?(B.flags=D&-65537|128,B):null;case 3:return yi(),ft(Wn),ft(Tn),ha(),D=B.flags,D&65536&&!(D&128)?(B.flags=D&-65537|128,B):null;case 5:return fa(B),null;case 13:if(ft(vn),D=B.memoizedState,D!==null&&D.dehydrated!==null){if(B.alternate===null)throw Error(C(340));hr()}return D=B.flags,D&65536?(B.flags=D&-65537|128,B):null;case 19:return ft(vn),null;case 4:return yi(),null;case 10:return Ut(B.type._context),null;case 22:case 23:return qn=Mr.current,ft(Mr),null;case 24:return null;default:return null}}function Di(D,B){var k=D.ref;if(k!==null)if(typeof k=="function")try{k(null)}catch(U){mn(D,B,U)}else k.current=null}function Ra(D,B,k){try{k()}catch(U){mn(D,B,U)}}function Ol(D,B){if(ps=Ho,D=it(),Ot(D)){if("selectionStart"in D)var k={start:D.selectionStart,end:D.selectionEnd};else e:{k=(k=D.ownerDocument)&&k.defaultView||window;var U=k.getSelection&&k.getSelection();if(U&&U.rangeCount!==0){k=U.anchorNode;var G=U.anchorOffset,J=U.focusNode;U=U.focusOffset;try{k.nodeType,J.nodeType}catch(Ye){k=null;break e}var ue=0,pe=-1,_e=-1,xe=0,He=0,$e=D,We=null;t:for(;;){for(var rt;$e!==k||G!==0&&$e.nodeType!==3||(pe=ue+G),$e!==J||U!==0&&$e.nodeType!==3||(_e=ue+U),$e.nodeType===3&&(ue+=$e.nodeValue.length),(rt=$e.firstChild)!==null;)We=$e,$e=rt;for(;;){if($e===D)break t;if(We===k&&++xe===G&&(pe=ue),We===J&&++He===U&&(_e=ue),(rt=$e.nextSibling)!==null)break;$e=We,We=$e.parentNode}$e=rt}k=pe===-1||_e===-1?null:{start:pe,end:_e}}else k=null}k=k||{start:0,end:0}}else k=null;for(ms={focusedElem:D,selectionRange:k},Ho=!1,at=B;at!==null;)if(B=at,D=B.child,(B.subtreeFlags&1028)!==0&&D!==null)D.return=B,at=D;else for(;at!==null;){B=at;try{var lt=B.alternate;if(B.flags&1024)switch(B.tag){case 0:case 11:case 15:break;case 1:if(lt!==null){var ht=lt.memoizedProps,_n=lt.memoizedState,we=B.stateNode,Ae=we.getSnapshotBeforeUpdate(B.elementType===B.type?ht:qe(B.type,ht),_n);we.__reactInternalSnapshotBeforeUpdate=Ae}break;case 3:var Fe=B.stateNode.containerInfo;Fe.nodeType===1?Fe.textContent="":Fe.nodeType===9&&Fe.documentElement&&Fe.removeChild(Fe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(Ye){mn(B,B.return,Ye)}if(D=B.sibling,D!==null){D.return=B.return,at=D;break}at=B.return}return lt=wl,wl=!1,lt}function Ui(D,B,k){var U=B.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var G=U=U.next;do{if((G.tag&D)===D){var J=G.destroy;G.destroy=void 0,J!==void 0&&Ra(B,k,J)}G=G.next}while(G!==U)}}function Ao(D,B){if(B=B.updateQueue,B=B!==null?B.lastEffect:null,B!==null){var k=B=B.next;do{if((k.tag&D)===D){var U=k.create;k.destroy=U()}k=k.next}while(k!==B)}}function Fa(D){var B=D.ref;if(B!==null){var k=D.stateNode;switch(D.tag){case 5:D=k;break;default:D=k}typeof B=="function"?B(D):B.current=D}}function Au(D){var B=D.alternate;B!==null&&(D.alternate=null,Au(B)),D.child=null,D.deletions=null,D.sibling=null,D.tag===5&&(B=D.stateNode,B!==null&&(delete B[xr],delete B[ao],delete B[_s],delete B[Hc],delete B[Kc])),D.stateNode=null,D.return=null,D.dependencies=null,D.memoizedProps=null,D.memoizedState=null,D.pendingProps=null,D.stateNode=null,D.updateQueue=null}function Su(D){return D.tag===5||D.tag===3||D.tag===4}function bu(D){e:for(;;){for(;D.sibling===null;){if(D.return===null||Su(D.return))return null;D=D.return}for(D.sibling.return=D.return,D=D.sibling;D.tag!==5&&D.tag!==6&&D.tag!==18;){if(D.flags&2||D.child===null||D.tag===4)continue e;D.child.return=D,D=D.child}if(!(D.flags&2))return D.stateNode}}function Ia(D,B,k){var U=D.tag;if(U===5||U===6)D=D.stateNode,B?k.nodeType===8?k.parentNode.insertBefore(D,B):k.insertBefore(D,B):(k.nodeType===8?(B=k.parentNode,B.insertBefore(D,k)):(B=k,B.appendChild(D)),k=k._reactRootContainer,k!=null||B.onclick!==null||(B.onclick=Pt));else if(U!==4&&(D=D.child,D!==null))for(Ia(D,B,k),D=D.sibling;D!==null;)Ia(D,B,k),D=D.sibling}function Na(D,B,k){var U=D.tag;if(U===5||U===6)D=D.stateNode,B?k.insertBefore(D,B):k.appendChild(D);else if(U!==4&&(D=D.child,D!==null))for(Na(D,B,k),D=D.sibling;D!==null;)Na(D,B,k),D=D.sibling}function zr(D,B,k){for(k=k.child;k!==null;)wu(D,B,k),k=k.sibling}function wu(D,B,k){if(Nr&&typeof Nr.onCommitFiberUnmount=="function")try{Nr.onCommitFiberUnmount(Lo,k)}catch(pe){}switch(k.tag){case 5:Gn||Di(k,B);case 6:var U=jn,G=br;jn=null,zr(D,B,k),jn=U,br=G,jn!==null&&(br?(D=jn,k=k.stateNode,D.nodeType===8?D.parentNode.removeChild(k):D.removeChild(k)):jn.removeChild(k.stateNode));break;case 18:jn!==null&&(br?(D=jn,k=k.stateNode,D.nodeType===8?Kt(D.parentNode,k):D.nodeType===1&&Kt(D,k),Et(D)):Kt(jn,k.stateNode));break;case 4:U=jn,G=br,jn=k.stateNode.containerInfo,br=!0,zr(D,B,k),jn=U,br=G;break;case 0:case 11:case 14:case 15:if(!Gn&&(U=k.updateQueue,U!==null&&(U=U.lastEffect,U!==null))){G=U=U.next;do{var J=G,ue=J.destroy;J=J.tag,ue!==void 0&&(J&2||J&4)&&Ra(k,B,ue),G=G.next}while(G!==U)}zr(D,B,k);break;case 1:if(!Gn&&(Di(k,B),U=k.stateNode,typeof U.componentWillUnmount=="function"))try{U.props=k.memoizedProps,U.state=k.memoizedState,U.componentWillUnmount()}catch(pe){mn(k,B,pe)}zr(D,B,k);break;case 21:zr(D,B,k);break;case 22:k.mode&1?(Gn=(U=Gn)||k.memoizedState!==null,zr(D,B,k),Gn=U):zr(D,B,k);break;default:zr(D,B,k)}}function Tu(D){var B=D.updateQueue;if(B!==null){D.updateQueue=null;var k=D.stateNode;k===null&&(k=D.stateNode=new ed),B.forEach(function(U){var G=Vl.bind(null,D,U);k.has(U)||(k.add(U),U.then(G,G))})}}function _r(D,B,k){if(k=B.deletions,k!==null)for(var U=0;U<k.length;U++){var G=k[U];try{var J=D,ue=B,pe=ue;e:for(;pe!==null;){switch(pe.tag){case 5:jn=pe.stateNode,br=!1;break e;case 3:jn=pe.stateNode.containerInfo,br=!0;break e;case 4:jn=pe.stateNode.containerInfo,br=!0;break e}pe=pe.return}if(jn===null)throw Error(C(160));wu(J,ue,G),jn=null,br=!1;var _e=G.alternate;_e!==null&&(_e.return=null),G.return=null}catch(xe){mn(G,B,xe)}}if(B.subtreeFlags&12854)for(B=B.child;B!==null;)Ru(B,D),B=B.sibling}function Ru(D,B,k){var U=D.alternate;switch(k=D.flags,D.tag){case 0:case 11:case 14:case 15:if(_r(B,D),Ir(D),k&4){try{Ui(3,D,D.return),Ao(3,D)}catch(ht){mn(D,D.return,ht)}try{Ui(5,D,D.return)}catch(ht){mn(D,D.return,ht)}}break;case 1:_r(B,D),Ir(D),k&512&&U!==null&&Di(U,U.return);break;case 5:if(_r(B,D),Ir(D),k&512&&U!==null&&Di(U,U.return),D.flags&32){var G=D.stateNode;try{Yi(G,"")}catch(ht){mn(D,D.return,ht)}}if(k&4&&(G=D.stateNode,G!=null)){var J=D.memoizedProps,ue=U!==null?U.memoizedProps:J,pe=D.type,_e=D.updateQueue;if(D.updateQueue=null,_e!==null)try{pe==="input"&&J.type==="radio"&&J.name!=null&&M(G,J),V(pe,ue);var xe=V(pe,J);for(ue=0;ue<_e.length;ue+=2){var He=_e[ue],$e=_e[ue+1];He==="style"?K(G,$e):He==="dangerouslySetInnerHTML"?qu(G,$e):He==="children"?Yi(G,$e):r(G,He,$e,xe)}switch(pe){case"input":R(G,J);break;case"textarea":O(G,J);break;case"select":var We=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!J.multiple;var rt=J.value;rt!=null?F(G,!!J.multiple,rt,!1):We!==!!J.multiple&&(J.defaultValue!=null?F(G,!!J.multiple,J.defaultValue,!0):F(G,!!J.multiple,J.multiple?[]:"",!1))}G[ao]=J}catch(ht){mn(D,D.return,ht)}}break;case 6:if(_r(B,D),Ir(D),k&4){if(D.stateNode===null)throw Error(C(162));G=D.stateNode,J=D.memoizedProps;try{G.nodeValue=J}catch(ht){mn(D,D.return,ht)}}break;case 3:if(_r(B,D),Ir(D),k&4&&U!==null&&U.memoizedState.isDehydrated)try{Et(B.containerInfo)}catch(ht){mn(D,D.return,ht)}break;case 4:_r(B,D),Ir(D);break;case 13:_r(B,D),Ir(D),G=D.child,G.flags&8192&&(J=G.memoizedState!==null,G.stateNode.isHidden=J,!J||G.alternate!==null&&G.alternate.memoizedState!==null||(Rs=xn())),k&4&&Tu(D);break;case 22:if(He=U!==null&&U.memoizedState!==null,D.mode&1?(Gn=(xe=Gn)||He,_r(B,D),Gn=xe):_r(B,D),Ir(D),k&8192){if(xe=D.memoizedState!==null,(D.stateNode.isHidden=xe)&&!He&&D.mode&1)for(at=D,He=D.child;He!==null;){for($e=at=He;at!==null;){switch(We=at,rt=We.child,We.tag){case 0:case 11:case 14:case 15:Ui(4,We,We.return);break;case 1:Di(We,We.return);var lt=We.stateNode;if(typeof lt.componentWillUnmount=="function"){k=We,B=We.return;try{U=k,lt.props=U.memoizedProps,lt.state=U.memoizedState,lt.componentWillUnmount()}catch(ht){mn(k,B,ht)}}break;case 5:Di(We,We.return);break;case 22:if(We.memoizedState!==null){Nu($e);continue}}rt!==null?(rt.return=We,at=rt):Nu($e)}He=He.sibling}e:for(He=null,$e=D;;){if($e.tag===5){if(He===null){He=$e;try{G=$e.stateNode,xe?(J=G.style,typeof J.setProperty=="function"?J.setProperty("display","none","important"):J.display="none"):(pe=$e.stateNode,_e=$e.memoizedProps.style,ue=_e!=null&&_e.hasOwnProperty("display")?_e.display:null,pe.style.display=H("display",ue))}catch(ht){mn(D,D.return,ht)}}}else if($e.tag===6){if(He===null)try{$e.stateNode.nodeValue=xe?"":$e.memoizedProps}catch(ht){mn(D,D.return,ht)}}else if(($e.tag!==22&&$e.tag!==23||$e.memoizedState===null||$e===D)&&$e.child!==null){$e.child.return=$e,$e=$e.child;continue}if($e===D)break e;for(;$e.sibling===null;){if($e.return===null||$e.return===D)break e;He===$e&&(He=null),$e=$e.return}He===$e&&(He=null),$e.sibling.return=$e.return,$e=$e.sibling}}break;case 19:_r(B,D),Ir(D),k&4&&Tu(D);break;case 21:break;default:_r(B,D),Ir(D)}}function Ir(D){var B=D.flags;if(B&2){try{e:{for(var k=D.return;k!==null;){if(Su(k)){var U=k;break e}k=k.return}throw Error(C(160))}switch(U.tag){case 5:var G=U.stateNode;U.flags&32&&(Yi(G,""),U.flags&=-33);var J=bu(D);Na(D,J,G);break;case 3:case 4:var ue=U.stateNode.containerInfo,pe=bu(D);Ia(D,pe,ue);break;default:throw Error(C(161))}}catch(_e){mn(D,D.return,_e)}D.flags&=-3}B&4096&&(D.flags&=-4097)}function Ll(D,B,k){at=D,Fu(D,B,k)}function Fu(D,B,k){for(var U=(D.mode&1)!==0;at!==null;){var G=at,J=G.child;if(G.tag===22&&U){var ue=G.memoizedState!==null||ta;if(!ue){var pe=G.alternate,_e=pe!==null&&pe.memoizedState!==null||Gn;pe=ta;var xe=Gn;if(ta=ue,(Gn=_e)&&!xe)for(at=G;at!==null;)ue=at,_e=ue.child,ue.tag===22&&ue.memoizedState!==null?xu(G):_e!==null?(_e.return=ue,at=_e):xu(G);for(;J!==null;)at=J,Fu(J,B,k),J=J.sibling;at=G,ta=pe,Gn=xe}Iu(D,B,k)}else G.subtreeFlags&8772&&J!==null?(J.return=G,at=J):Iu(D,B,k)}}function Iu(D,B,k){for(;at!==null;){if(B=at,B.flags&8772){k=B.alternate;try{if(B.flags&8772)switch(B.tag){case 0:case 11:case 15:Gn||Ao(5,B);break;case 1:var U=B.stateNode;if(B.flags&4&&!Gn)if(k===null)U.componentDidMount();else{var G=B.elementType===B.type?k.memoizedProps:qe(B.type,k.memoizedProps);U.componentDidUpdate(G,k.memoizedState,U.__reactInternalSnapshotBeforeUpdate)}var J=B.updateQueue;J!==null&&xs(B,J,U);break;case 3:var ue=B.updateQueue;if(ue!==null){if(k=null,B.child!==null)switch(B.child.tag){case 5:k=B.child.stateNode;break;case 1:k=B.child.stateNode}xs(B,ue,k)}break;case 5:var pe=B.stateNode;if(k===null&&B.flags&4){k=pe;var _e=B.memoizedProps;switch(B.type){case"button":case"input":case"select":case"textarea":_e.autoFocus&&k.focus();break;case"img":_e.src&&(k.src=_e.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(B.memoizedState===null){var xe=B.alternate;if(xe!==null){var He=xe.memoizedState;if(He!==null){var $e=He.dehydrated;$e!==null&&Et($e)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Gn||B.flags&512&&Fa(B)}catch(We){mn(B,B.return,We)}}if(B===D){at=null;break}if(k=B.sibling,k!==null){k.return=B.return,at=k;break}at=B.return}}function Nu(D){for(;at!==null;){var B=at;if(B===D){at=null;break}var k=B.sibling;if(k!==null){k.return=B.return,at=k;break}at=B.return}}function xu(D){for(;at!==null;){var B=at;try{switch(B.tag){case 0:case 11:case 15:var k=B.return;try{Ao(4,B)}catch(_e){mn(B,k,_e)}break;case 1:var U=B.stateNode;if(typeof U.componentDidMount=="function"){var G=B.return;try{U.componentDidMount()}catch(_e){mn(B,G,_e)}}var J=B.return;try{Fa(B)}catch(_e){mn(B,J,_e)}break;case 5:var ue=B.return;try{Fa(B)}catch(_e){mn(B,ue,_e)}}}catch(_e){mn(B,B.return,_e)}if(B===D){at=null;break}var pe=B.sibling;if(pe!==null){pe.return=B.return,at=pe;break}at=B.return}}function Vi(){Fs=xn()+500}function Zn(){return Xt&6?xn():sa!==-1?sa:sa=xn()}function Yr(D){return D.mode&1?Xt&2&&Hn!==0?Hn&-Hn:Uc.transition!==null?(ua===0&&(ua=st()),ua):(D=Zt,D!==0||(D=window.event,D=D===void 0?16:wn(D.type)),D):1}function yr(D,B,k,U){if(50<go)throw go=0,Ns=null,Error(C(185));nt(D,k,U),(!(Xt&2)||D!==Mn)&&(D===Mn&&(!(Xt&2)&&(ra|=k),Fn===4&&Gr(D,Hn)),tr(D,U),k===1&&Xt===0&&!(B.mode&1)&&(Vi(),zo&&An()))}function tr(D,B){var k=D.callbackNode;Le(D,B);var U=Te(D,D===Mn?Hn:0);if(U===0)k!==null&&ol(k),D.callbackNode=null,D.callbackPriority=0;else if(B=U&-U,D.callbackPriority!==B){if(k!=null&&ol(k),B===1)D.tag===0?Dn(Mu.bind(null,D)):Cn(Mu.bind(null,D)),jc(function(){!(Xt&6)&&An()}),k=null;else{switch(kt(U)){case 1:k=os;break;case 4:k=al;break;case 16:k=Oo;break;case 536870912:k=sl;break;default:k=Oo}k=Hu(k,Bu.bind(null,D))}D.callbackPriority=B,D.callbackNode=k}}function Bu(D,B){if(sa=-1,ua=0,Xt&6)throw Error(C(327));var k=D.callbackNode;if(Ai()&&D.callbackNode!==k)return null;var U=Te(D,D===Mn?Hn:0);if(U===0)return null;if(U&30||U&D.expiredLanes||B)B=So(D,U);else{B=U;var G=Xt;Xt|=2;var J=Ou();(Mn!==D||Hn!==B)&&(Kr=null,Vi(),fi(D,B));do try{jl();break}catch(pe){Pu(D,pe)}while(1);_t(),na.current=J,Xt=G,bn!==null?B=0:(Mn=null,Hn=0,B=Fn)}if(B!==0){if(B===2&&(G=ct(D),G!==0&&(U=G,B=xa(D,G))),B===1)throw k=ho,fi(D,0),Gr(D,U),tr(D,xn()),k;if(B===6)Gr(D,U);else{if(G=D.current.alternate,!(U&30)&&!kl(G)&&(B=So(D,U),B===2&&(J=ct(D),J!==0&&(U=J,B=xa(D,J))),B===1))throw k=ho,fi(D,0),Gr(D,U),tr(D,xn()),k;switch(D.finishedWork=G,D.finishedLanes=U,B){case 0:case 1:throw Error(C(345));case 2:hi(D,ir,Kr);break;case 3:if(Gr(D,U),(U&130023424)===U&&(B=Rs+500-xn(),10<B)){if(Te(D,0)!==0)break;if(G=D.suspendedLanes,(G&U)!==U){Zn(),D.pingedLanes|=D.suspendedLanes&G;break}D.timeoutHandle=Es(hi.bind(null,D,ir,Kr),B);break}hi(D,ir,Kr);break;case 4:if(Gr(D,U),(U&4194240)===U)break;for(B=D.eventTimes,G=-1;0<U;){var ue=31-Dr(U);J=1<<ue,ue=B[ue],ue>G&&(G=ue),U&=~J}if(U=G,U=xn()-U,U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*td(U/1960))-U,10<U){D.timeoutHandle=Es(hi.bind(null,D,ir,Kr),U);break}hi(D,ir,Kr);break;case 5:hi(D,ir,Kr);break;default:throw Error(C(329))}}}return tr(D,xn()),D.callbackNode===k?Bu.bind(null,D):null}function xa(D,B){var k=vo;return D.current.memoizedState.isDehydrated&&(fi(D,B).flags|=256),D=So(D,B),D!==2&&(B=ir,ir=k,B!==null&&Ba(B)),D}function Ba(D){ir===null?ir=D:ir.push.apply(ir,D)}function kl(D){for(var B=D;;){if(B.flags&16384){var k=B.updateQueue;if(k!==null&&(k=k.stores,k!==null))for(var U=0;U<k.length;U++){var G=k[U],J=G.getSnapshot;G=G.value;try{if(!Ar(J(),G))return!1}catch(ue){return!1}}}if(k=B.child,B.subtreeFlags&16384&&k!==null)k.return=B,B=k;else{if(B===D)break;for(;B.sibling===null;){if(B.return===null||B.return===D)return!0;B=B.return}B.sibling.return=B.return,B=B.sibling}}return!0}function Gr(D,B){for(B&=~Ts,B&=~ra,D.suspendedLanes|=B,D.pingedLanes&=~B,D=D.expirationTimes;0<B;){var k=31-Dr(B),U=1<<k;D[k]=-1,B&=~U}}function Mu(D){if(Xt&6)throw Error(C(327));Ai();var B=Te(D,0);if(!(B&1))return tr(D,xn()),null;var k=So(D,B);if(D.tag!==0&&k===2){var U=ct(D);U!==0&&(B=U,k=xa(D,U))}if(k===1)throw k=ho,fi(D,0),Gr(D,B),tr(D,xn()),k;if(k===6)throw Error(C(345));return D.finishedWork=D.current.alternate,D.finishedLanes=B,hi(D,ir,Kr),tr(D,xn()),null}function Ma(D,B){var k=Xt;Xt|=1;try{return D(B)}finally{Xt=k,Xt===0&&(Vi(),zo&&An())}}function di(D){oi!==null&&oi.tag===0&&!(Xt&6)&&Ai();var B=Xt;Xt|=1;var k=Jn.transition,U=Zt;try{if(Jn.transition=null,Zt=1,D)return D()}finally{Zt=U,Jn.transition=k,Xt=B,!(Xt&6)&&An()}}function fi(D,B){D.finishedWork=null,D.finishedLanes=0;var k=D.timeoutHandle;if(k!==-1&&(D.timeoutHandle=-1,Wc(k)),bn!==null)for(k=bn.return;k!==null;){var U=k;switch(Nn(U),U.tag){case 1:U=U.type.childContextTypes,U!=null&&(ft(Wn),ft(Tn));break;case 3:yi(),ft(Wn),ft(Tn),ha();break;case 5:fa(U);break;case 4:yi();break;case 13:ft(vn);break;case 19:ft(vn);break;case 10:Ut(U.type._context);break;case 22:case 23:qn=Mr.current,ft(Mr)}k=k.return}if(Mn=D,bn=D=Xr(D.current,null),Hn=qn=B,Fn=0,ho=null,Ts=ra=_i=0,ir=vo=null,mi!==null){for(B=0;B<mi.length;B++)if(k=mi[B],U=k.interleaved,U!==null){k.interleaved=null;var G=U.next,J=k.pending;if(J!==null){var ue=J.next;J.next=G,U.next=ue}k.pending=U}mi=null}return D}function Pu(D,B){do{var k=bn;try{if(_t(),Jo.current=ea,qo){for(var U=gn.memoizedState;U!==null;){var G=U.queue;G!==null&&(G.pending=null),U=U.next}qo=!1}if(Ei=0,Bn=Rn=gn=null,co=!1,fo=0,ws.current=null,k===null||k.return===null){Fn=1,ho=B,bn=null;break}e:{var J=D,ue=k.return,pe=k,_e=B;if(B=Hn,pe.flags|=32768,_e!==null&&typeof _e=="object"&&typeof _e.then=="function"){var xe=_e,He=pe,$e=He.tag;if(!(He.mode&1)&&($e===0||$e===11||$e===15)){var We=He.alternate;We?(He.updateQueue=We.updateQueue,He.memoizedState=We.memoizedState,He.lanes=We.lanes):(He.updateQueue=null,He.memoizedState=null)}var rt=cu(ue);if(rt!==null){rt.flags&=-257,du(rt,ue,pe,J,B),rt.mode&1&&lu(J,xe,B),B=rt,_e=xe;var lt=B.updateQueue;if(lt===null){var ht=new Set;ht.add(_e),B.updateQueue=ht}else lt.add(_e);break e}else{if(!(B&1)){lu(J,xe,B),Pa();break e}_e=Error(C(426))}}else if(fn&&pe.mode&1){var _n=cu(ue);if(_n!==null){!(_n.flags&65536)&&(_n.flags|=256),du(_n,ue,pe,J,B),Me(Ci(_e,pe));break e}}J=_e=Ci(_e,pe),Fn!==4&&(Fn=2),vo===null?vo=[J]:vo.push(J),J=ue;do{switch(J.tag){case 3:J.flags|=65536,B&=-B,J.lanes|=B;var we=su(J,_e,B);li(J,we);break e;case 1:pe=_e;var Ae=J.type,Fe=J.stateNode;if(!(J.flags&128)&&(typeof Ae.getDerivedStateFromError=="function"||Fe!==null&&typeof Fe.componentDidCatch=="function"&&(ii===null||!ii.has(Fe)))){J.flags|=65536,B&=-B,J.lanes|=B;var Ye=uu(J,pe,B);li(J,Ye);break e}}J=J.return}while(J!==null)}ku(k)}catch(gt){B=gt,bn===k&&k!==null&&(bn=k=k.return);continue}break}while(1)}function Ou(){var D=na.current;return na.current=ea,D===null?ea:D}function Pa(){(Fn===0||Fn===3||Fn===2)&&(Fn=4),Mn===null||!(_i&268435455)&&!(ra&268435455)||Gr(Mn,Hn)}function So(D,B){var k=Xt;Xt|=2;var U=Ou();(Mn!==D||Hn!==B)&&(Kr=null,fi(D,B));do try{Wl();break}catch(G){Pu(D,G)}while(1);if(_t(),Xt=k,na.current=U,bn!==null)throw Error(C(261));return Mn=null,Hn=0,Fn}function Wl(){for(;bn!==null;)Lu(bn)}function jl(){for(;bn!==null&&!rc();)Lu(bn)}function Lu(D){var B=nd(D.alternate,D,qn);D.memoizedProps=D.pendingProps,B===null?ku(D):bn=B,ws.current=null}function ku(D){var B=D;do{var k=B.alternate;if(D=B.return,B.flags&32768){if(k=Pl(k,B),k!==null){k.flags&=32767,bn=k;return}if(D!==null)D.flags|=32768,D.subtreeFlags=0,D.deletions=null;else{Fn=6,bn=null;return}}else if(k=Ml(k,B,qn),k!==null){bn=k;return}if(B=B.sibling,B!==null){bn=B;return}bn=B=D}while(B!==null);Fn===0&&(Fn=5)}function hi(D,B,k){var U=Zt,G=Jn.transition;try{Jn.transition=null,Zt=1,Hl(D,B,k,U)}finally{Jn.transition=G,Zt=U}return null}function Hl(D,B,k,U){do Ai();while(oi!==null);if(Xt&6)throw Error(C(327));k=D.finishedWork;var G=D.finishedLanes;if(k===null)return null;if(D.finishedWork=null,D.finishedLanes=0,k===D.current)throw Error(C(177));D.callbackNode=null,D.callbackPriority=0;var J=k.lanes|k.childLanes;if(Rt(D,J),D===Mn&&(bn=Mn=null,Hn=0),!(k.subtreeFlags&2064)&&!(k.flags&2064)||oa||(oa=!0,Hu(Oo,function(){return Ai(),null})),J=(k.flags&15990)!==0,k.subtreeFlags&15990||J){J=Jn.transition,Jn.transition=null;var ue=Zt;Zt=1;var pe=Xt;Xt|=4,ws.current=null,Ol(D,k),Ru(k,D),en(ms),Ho=!!ps,ms=ps=null,D.current=k,Ll(k,D,G),ic(),Xt=pe,Zt=ue,Jn.transition=J}else D.current=k;if(oa&&(oa=!1,oi=D,aa=G),J=D.pendingLanes,J===0&&(ii=null),ce(k.stateNode,U),tr(D,xn()),B!==null)for(U=D.onRecoverableError,k=0;k<B.length;k++)G=B[k],U(G.value,{componentStack:G.stack,digest:G.digest});if(ia)throw ia=!1,D=Is,Is=null,D;return aa&1&&D.tag!==0&&Ai(),J=D.pendingLanes,J&1?D===Ns?go++:(go=0,Ns=D):go=0,An(),null}function Ai(){if(oi!==null){var D=kt(aa),B=Jn.transition,k=Zt;try{if(Jn.transition=null,Zt=16>D?16:D,oi===null)var U=!1;else{if(D=oi,oi=null,aa=0,Xt&6)throw Error(C(331));var G=Xt;for(Xt|=4,at=D.current;at!==null;){var J=at,ue=J.child;if(at.flags&16){var pe=J.deletions;if(pe!==null){for(var _e=0;_e<pe.length;_e++){var xe=pe[_e];for(at=xe;at!==null;){var He=at;switch(He.tag){case 0:case 11:case 15:Ui(8,He,J)}var $e=He.child;if($e!==null)$e.return=He,at=$e;else for(;at!==null;){He=at;var We=He.sibling,rt=He.return;if(Au(He),He===xe){at=null;break}if(We!==null){We.return=rt,at=We;break}at=rt}}}var lt=J.alternate;if(lt!==null){var ht=lt.child;if(ht!==null){lt.child=null;do{var _n=ht.sibling;ht.sibling=null,ht=_n}while(ht!==null)}}at=J}}if(J.subtreeFlags&2064&&ue!==null)ue.return=J,at=ue;else e:for(;at!==null;){if(J=at,J.flags&2048)switch(J.tag){case 0:case 11:case 15:Ui(9,J,J.return)}var we=J.sibling;if(we!==null){we.return=J.return,at=we;break e}at=J.return}}var Ae=D.current;for(at=Ae;at!==null;){ue=at;var Fe=ue.child;if(ue.subtreeFlags&2064&&Fe!==null)Fe.return=ue,at=Fe;else e:for(ue=Ae;at!==null;){if(pe=at,pe.flags&2048)try{switch(pe.tag){case 0:case 11:case 15:Ao(9,pe)}}catch(gt){mn(pe,pe.return,gt)}if(pe===ue){at=null;break e}var Ye=pe.sibling;if(Ye!==null){Ye.return=pe.return,at=Ye;break e}at=pe.return}}if(Xt=G,An(),Nr&&typeof Nr.onPostCommitFiberRoot=="function")try{Nr.onPostCommitFiberRoot(Lo,D)}catch(gt){}U=!0}return U}finally{Zt=k,Jn.transition=B}}return!1}function Wu(D,B,k){B=Ci(k,B),B=su(D,B,1),D=Rr(D,B,1),B=Zn(),D!==null&&(nt(D,1,B),tr(D,B))}function mn(D,B,k){if(D.tag===3)Wu(D,D,k);else for(;B!==null;){if(B.tag===3){Wu(B,D,k);break}else if(B.tag===1){var U=B.stateNode;if(typeof B.type.getDerivedStateFromError=="function"||typeof U.componentDidCatch=="function"&&(ii===null||!ii.has(U))){D=Ci(k,D),D=uu(B,D,1),B=Rr(B,D,1),D=Zn(),B!==null&&(nt(B,1,D),tr(B,D));break}}B=B.return}}function Kl(D,B,k){var U=D.pingCache;U!==null&&U.delete(B),B=Zn(),D.pingedLanes|=D.suspendedLanes&k,Mn===D&&(Hn&k)===k&&(Fn===4||Fn===3&&(Hn&130023424)===Hn&&500>xn()-Rs?fi(D,0):Ts|=k),tr(D,B)}function ju(D,B){B===0&&(D.mode&1?(B=Wo,Wo<<=1,!(Wo&130023424)&&(Wo=4194304)):B=1);var k=Zn();D=Sn(D,B),D!==null&&(nt(D,B,k),tr(D,k))}function Ul(D){var B=D.memoizedState,k=0;B!==null&&(k=B.retryLane),ju(D,k)}function Vl(D,B){var k=0;switch(D.tag){case 13:var U=D.stateNode,G=D.memoizedState;G!==null&&(k=G.retryLane);break;case 19:U=D.stateNode;break;default:throw Error(C(314))}U!==null&&U.delete(B),ju(D,k)}function Hu(D,B){return il(D,B)}function $l(D,B,k,U){this.tag=D,this.key=k,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=B,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=U,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oa(D){return D=D.prototype,!(!D||!D.isReactComponent)}function zl(D){if(typeof D=="function")return Oa(D)?1:0;if(D!=null){if(D=D.$$typeof,D===Ga)return 11;if(D===Za)return 14}return 2}function Xr(D,B){var k=D.alternate;return k===null?(k=mr(D.tag,B,D.key,D.mode),k.elementType=D.elementType,k.type=D.type,k.stateNode=D.stateNode,k.alternate=D,D.alternate=k):(k.pendingProps=B,k.type=D.type,k.flags=0,k.subtreeFlags=0,k.deletions=null),k.flags=D.flags&14680064,k.childLanes=D.childLanes,k.lanes=D.lanes,k.child=D.child,k.memoizedProps=D.memoizedProps,k.memoizedState=D.memoizedState,k.updateQueue=D.updateQueue,B=D.dependencies,k.dependencies=B===null?null:{lanes:B.lanes,firstContext:B.firstContext},k.sibling=D.sibling,k.index=D.index,k.ref=D.ref,k}function bo(D,B,k,U,G,J){var ue=2;if(U=D,typeof D=="function")Oa(D)&&(ue=1);else if(typeof D=="string")ue=5;else e:switch(D){case bi:return vi(k.children,G,J,B);case za:ue=8,G|=8;break;case Ya:return D=mr(12,k,B,G|2),D.elementType=Ya,D.lanes=J,D;case Xa:return D=mr(13,k,B,G),D.elementType=Xa,D.lanes=J,D;case Qa:return D=mr(19,k,B,G),D.elementType=Qa,D.lanes=J,D;case Zu:return wo(k,G,J,B);default:if(typeof D=="object"&&D!==null)switch(D.$$typeof){case Xu:ue=10;break e;case Qu:ue=9;break e;case Ga:ue=11;break e;case Za:ue=14;break e;case Qr:ue=16,U=null;break e}throw Error(C(130,D==null?D:typeof D,""))}return B=mr(ue,k,B,G),B.elementType=D,B.type=U,B.lanes=J,B}function vi(D,B,k,U){return D=mr(7,D,U,B),D.lanes=k,D}function wo(D,B,k,U){return D=mr(22,D,U,B),D.elementType=Zu,D.lanes=k,D.stateNode={isHidden:!1},D}function La(D,B,k){return D=mr(6,D,null,B),D.lanes=k,D}function ka(D,B,k){return B=mr(4,D.children!==null?D.children:[],D.key,B),B.lanes=k,B.stateNode={containerInfo:D.containerInfo,pendingChildren:null,implementation:D.implementation},B}function Yl(D,B,k,U,G){this.tag=B,this.containerInfo=D,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ot(0),this.expirationTimes=ot(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ot(0),this.identifierPrefix=U,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function Wa(D,B,k,U,G,J,ue,pe,_e,xe){return D=new Yl(D,B,k,pe,_e),B===1?(B=1,J===!0&&(B|=8)):B=0,J=mr(3,null,null,B),D.current=J,J.stateNode=D,J.memoizedState={element:U,isDehydrated:k,cache:null,transitions:null,pendingSuspenseBoundaries:null},si(J),D}function Gl(D,B,k){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Si,key:U==null?null:""+U,children:D,containerInfo:B,implementation:k}}function Ku(D){if(!D)return ni;D=D._reactInternals;e:{if(se(D)!==D||D.tag!==1)throw Error(C(170));var B=D;do{switch(B.tag){case 3:B=B.stateNode.context;break e;case 1:if(nn(B.type)){B=B.stateNode.__reactInternalMemoizedMergedChildContext;break e}}B=B.return}while(B!==null);throw Error(C(171))}if(D.tag===1){var k=D.type;if(nn(k))return un(D,k,B)}return B}function Uu(D,B,k,U,G,J,ue,pe,_e,xe){return D=Wa(k,U,!0,D,G,J,ue,pe,_e),D.context=Ku(null),k=D.current,U=Zn(),G=Yr(k),J=$n(U,G),J.callback=B!=null?B:null,Rr(k,J,G),D.current.lanes=G,nt(D,G,U),tr(D,U),D}function To(D,B,k,U){var G=B.current,J=Zn(),ue=Yr(G);return k=Ku(k),B.context===null?B.context=k:B.pendingContext=k,B=$n(J,ue),B.payload={element:D},U=U===void 0?null:U,U!==null&&(B.callback=U),D=Rr(G,B,ue),D!==null&&(yr(D,G,ue,J),$r(D,G,ue)),ue}function Ro(D){if(D=D.current,!D.child)return null;switch(D.child.tag){case 5:return D.child.stateNode;default:return D.child.stateNode}}function Vu(D,B){if(D=D.memoizedState,D!==null&&D.dehydrated!==null){var k=D.retryLane;D.retryLane=k!==0&&k<B?k:B}}function ja(D,B){Vu(D,B),(D=D.alternate)&&Vu(D,B)}function Xl(D){return D=ie(D),D===null?null:D.stateNode}function Ql(D){return null}function Ha(D){this._internalRoot=D}function Fo(D){this._internalRoot=D}function Ka(D){return!(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11)}function Io(D){return!(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11&&(D.nodeType!==8||D.nodeValue!==" react-mount-point-unstable "))}function $u(){}function Zl(D,B,k,U,G){if(G){if(typeof U=="function"){var J=U;U=function(){var xe=Ro(ue);J.call(xe)}}var ue=Uu(B,U,D,0,null,!1,!1,"",$u);return D._reactRootContainer=ue,D[kr]=ue.current,be(D.nodeType===8?D.parentNode:D),di(),ue}for(;G=D.lastChild;)D.removeChild(G);if(typeof U=="function"){var pe=U;U=function(){var xe=Ro(_e);pe.call(xe)}}var _e=Wa(D,0,!1,null,null,!1,!1,"",$u);return D._reactRootContainer=_e,D[kr]=_e.current,be(D.nodeType===8?D.parentNode:D),di(function(){To(B,_e,k,U)}),_e}function No(D,B,k,U,G){var J=k._reactRootContainer;if(J){var ue=J;if(typeof G=="function"){var pe=G;G=function(){var _e=Ro(ue);pe.call(_e)}}To(B,ue,D,G)}else ue=Zl(k,B,D,G,U);return Ro(ue)}var zu=new Set,$i={},Or=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ua=Object.prototype.hasOwnProperty,Jl=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Yu={},Gu={},kn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(D){kn[D]=new t(D,0,!1,D,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(D){var B=D[0];kn[B]=new t(B,1,!1,D[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(D){kn[D]=new t(D,2,!1,D.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(D){kn[D]=new t(D,2,!1,D,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(D){kn[D]=new t(D,3,!1,D.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(D){kn[D]=new t(D,3,!0,D,null,!1,!1)}),["capture","download"].forEach(function(D){kn[D]=new t(D,4,!1,D,null,!1,!1)}),["cols","rows","size","span"].forEach(function(D){kn[D]=new t(D,6,!1,D,null,!1,!1)}),["rowSpan","start"].forEach(function(D){kn[D]=new t(D,5,!1,D.toLowerCase(),null,!1,!1)});var Va=/[\-:]([a-z])/g,$a=function(D){return D[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(D){var B=D.replace(Va,$a);kn[B]=new t(B,1,!1,D,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(D){var B=D.replace(Va,$a);kn[B]=new t(B,1,!1,D,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(D){var B=D.replace(Va,$a);kn[B]=new t(B,1,!1,D,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(D){kn[D]=new t(D,1,!1,D.toLowerCase(),null,!1,!1)}),kn.xlinkHref=new t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(D){kn[D]=new t(D,1,!1,D.toLowerCase(),null,!0,!0)});var Lr=S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xo=Symbol.for("react.element"),Si=Symbol.for("react.portal"),bi=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Ya=Symbol.for("react.profiler"),Xu=Symbol.for("react.provider"),Qu=Symbol.for("react.context"),Ga=Symbol.for("react.forward_ref"),Xa=Symbol.for("react.suspense"),Qa=Symbol.for("react.suspense_list"),Za=Symbol.for("react.memo"),Qr=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var Zu=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var Ju=Symbol.iterator,hn=Object.assign,Ja,qa=!1,zi=Array.isArray,Bo,qu=function(D){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(B,k,U,G){MSApp.execUnsafeLocalFunction(function(){return D(B,k,U,G)})}:D}(function(D,B){if(D.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in D)D.innerHTML=B;else{for(Bo=Bo||document.createElement("div"),Bo.innerHTML="<svg>"+B.valueOf().toString()+"</svg>",B=Bo.firstChild;D.firstChild;)D.removeChild(D.firstChild);for(;B.firstChild;)D.appendChild(B.firstChild)}}),Yi=function(D,B){if(B){var k=D.firstChild;if(k&&k===D.lastChild&&k.nodeType===3){k.nodeValue=B;return}}D.textContent=B},Gi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ql=["Webkit","ms","Moz","O"];Object.keys(Gi).forEach(function(D){ql.forEach(function(B){B=B+D.charAt(0).toUpperCase()+D.substring(1),Gi[B]=Gi[D]})});var ec=hn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),es=null,ts=null,wi=null,Ti=null,el=function(D,B){return D(B)},tl=function(){},ns=!1,rs=!1;if(Or)try{var Xi={};Object.defineProperty(Xi,"passive",{get:function(){rs=!0}}),window.addEventListener("test",Xi,Xi),window.removeEventListener("test",Xi,Xi)}catch(D){rs=!1}var tc=function(D,B,k,U,G,J,ue,pe,_e){var xe=Array.prototype.slice.call(arguments,3);try{B.apply(k,xe)}catch(He){this.onError(He)}},Qi=!1,Mo=null,Po=!1,is=null,nc={onError:function(D){Qi=!0,Mo=D}},Cr=S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,nl=Cr.unstable_scheduleCallback,rl=Cr.unstable_NormalPriority,il=nl,ol=Cr.unstable_cancelCallback,rc=Cr.unstable_shouldYield,ic=Cr.unstable_requestPaint,xn=Cr.unstable_now,oc=Cr.unstable_getCurrentPriorityLevel,os=Cr.unstable_ImmediatePriority,al=Cr.unstable_UserBlockingPriority,Oo=rl,ac=Cr.unstable_LowPriority,sl=Cr.unstable_IdlePriority,Lo=null,Nr=null,Dr=Math.clz32?Math.clz32:ve,sc=Math.log,uc=Math.LN2,ko=64,Wo=4194304,Zt=0,as=!1,jo=[],Zr=null,Jr=null,qr=null,Zi=new Map,Ji=new Map,ei=[],lc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),Ri=Lr.ReactCurrentBatchConfig,Ho=!0,Ko=null,ti=null,ss=null,Uo=null,Fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(D){return D.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},us=cn(Fi),qi=hn({},Fi,{view:0,detail:0}),cc=cn(qi),ls,cs,eo,Vo=hn({},qi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kn,button:0,buttons:0,relatedTarget:function(D){return D.relatedTarget===void 0?D.fromElement===D.srcElement?D.toElement:D.fromElement:D.relatedTarget},movementX:function(D){return"movementX"in D?D.movementX:(D!==eo&&(eo&&D.type==="mousemove"?(ls=D.screenX-eo.screenX,cs=D.screenY-eo.screenY):cs=ls=0,eo=D),ls)},movementY:function(D){return"movementY"in D?D.movementY:cs}}),ul=cn(Vo),dc=hn({},Vo,{dataTransfer:0}),fc=cn(dc),hc=hn({},qi,{relatedTarget:0}),ds=cn(hc),vc=hn({},Fi,{animationName:0,elapsedTime:0,pseudoElement:0}),gc=cn(vc),pc=hn({},Fi,{clipboardData:function(D){return"clipboardData"in D?D.clipboardData:window.clipboardData}}),mc=cn(pc),Ec=hn({},Fi,{data:0}),ll=cn(Ec),_c=ll,yc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Ac=hn({},qi,{key:function(D){if(D.key){var B=yc[D.key]||D.key;if(B!=="Unidentified")return B}return D.type==="keypress"?(D=Ln(D),D===13?"Enter":String.fromCharCode(D)):D.type==="keydown"||D.type==="keyup"?Cc[D.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kn,charCode:function(D){return D.type==="keypress"?Ln(D):0},keyCode:function(D){return D.type==="keydown"||D.type==="keyup"?D.keyCode:0},which:function(D){return D.type==="keypress"?Ln(D):D.type==="keydown"||D.type==="keyup"?D.keyCode:0}}),Sc=cn(Ac),bc=hn({},Vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cl=cn(bc),wc=hn({},qi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kn}),Tc=cn(wc),Rc=hn({},Fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fc=cn(Rc),Ic=hn({},Vo,{deltaX:function(D){return"deltaX"in D?D.deltaX:"wheelDeltaX"in D?-D.wheelDeltaX:0},deltaY:function(D){return"deltaY"in D?D.deltaY:"wheelDeltaY"in D?-D.wheelDeltaY:"wheelDelta"in D?-D.wheelDelta:0},deltaZ:0,deltaMode:0}),Nc=cn(Ic),xc=[9,13,27,32],fs=Or&&"CompositionEvent"in window,to=null;Or&&"documentMode"in document&&(to=document.documentMode);var Bc=Or&&"TextEvent"in window&&!to,dl=Or&&(!fs||to&&8<to&&11>=to),fl=String.fromCharCode(32),hl=!1,Ii=!1,Mc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},no=null,ro=null,vl=!1;Or&&(vl=Ce("input")&&(!document.documentMode||9<document.documentMode));var Ar=typeof Object.is=="function"?Object.is:$t,Pc=Or&&"documentMode"in document&&11>=document.documentMode,Ni=null,hs=null,io=null,vs=!1,xi={animationend:Tt("Animation","AnimationEnd"),animationiteration:Tt("Animation","AnimationIteration"),animationstart:Tt("Animation","AnimationStart"),transitionend:Tt("Transition","TransitionEnd")},gs={},gl={};Or&&(gl=document.createElement("div").style,"AnimationEvent"in window||(delete xi.animationend.animation,delete xi.animationiteration.animation,delete xi.animationstart.animation),"TransitionEvent"in window||delete xi.transitionend.transition);var pl=te("animationend"),ml=te("animationiteration"),El=te("animationstart"),_l=te("transitionend"),yl=new Map,Cl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");(function(){for(var D=0;D<Cl.length;D++){var B=Cl[D],k=B.toLowerCase();B=B[0].toUpperCase()+B.slice(1),Ee(k,"on"+B)}Ee(pl,"onAnimationEnd"),Ee(ml,"onAnimationIteration"),Ee(El,"onAnimationStart"),Ee("dblclick","onDoubleClick"),Ee("focusin","onFocus"),Ee("focusout","onBlur"),Ee(_l,"onTransitionEnd")})(),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),A("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),A("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),A("onBeforeInput",["compositionend","keypress","textInput","paste"]),A("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),A("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),A("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var oo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oc=new Set("cancel close invalid load scroll toggle".split(" ").concat(oo)),$o="_reactListening"+Math.random().toString(36).slice(2),Lc=/\r\n?/g,kc=/\u0000|\uFFFD/g,ps=null,ms=null,Es=typeof setTimeout=="function"?setTimeout:void 0,Wc=typeof clearTimeout=="function"?clearTimeout:void 0,Dl=typeof Promise=="function"?Promise:void 0,jc=typeof queueMicrotask=="function"?queueMicrotask:typeof Dl<"u"?function(D){return Dl.resolve(null).then(D).catch(tn)}:Es,Bi=Math.random().toString(36).slice(2),xr="__reactFiber$"+Bi,ao="__reactProps$"+Bi,kr="__reactContainer$"+Bi,_s="__reactEvents$"+Bi,Hc="__reactListeners$"+Bi,Kc="__reactHandles$"+Bi,ys=[],Mi=-1,ni={},Tn=Lt(ni),Wn=Lt(!1),gi=ni,Wr=null,zo=!1,Cs=!1,Pi=[],Oi=0,Yo=null,Go=0,gr=[],pr=0,pi=null,jr=1,Hr="",lr=null,nr=null,fn=!1,Sr=null,Uc=Lr.ReactCurrentBatchConfig,Xo=Lt(null),Qo=null,Li=null,Ds=null,mi=null,Vc=Sn,ri=!1,Al=new S.Component().refs,Zo={isMounted:function(D){return(D=D._reactInternals)?se(D)===D:!1},enqueueSetState:function(D,B,k){D=D._reactInternals;var U=Zn(),G=Yr(D),J=$n(U,G);J.payload=B,k!=null&&(J.callback=k),B=Rr(D,J,G),B!==null&&(yr(B,D,G,U),$r(B,D,G))},enqueueReplaceState:function(D,B,k){D=D._reactInternals;var U=Zn(),G=Yr(D),J=$n(U,G);J.tag=1,J.payload=B,k!=null&&(J.callback=k),B=Rr(D,J,G),B!==null&&(yr(B,D,G,U),$r(B,D,G))},enqueueForceUpdate:function(D,B){D=D._reactInternals;var k=Zn(),U=Yr(D),G=$n(k,U);G.tag=2,B!=null&&(G.callback=B),B=Rr(D,G,U),B!==null&&(yr(B,D,U,k),$r(B,D,U))}},ki=Ls(!0),Sl=Ls(!1),so={},Br=Lt(so),uo=Lt(so),lo=Lt(so),vn=Lt(0),As=[],Jo=Lr.ReactCurrentDispatcher,Ss=Lr.ReactCurrentBatchConfig,Ei=0,gn=null,Rn=null,Bn=null,qo=!1,co=!1,fo=0,$c=0,ea={readContext:rn,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useInsertionEffect:zn,useLayoutEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useMutableSource:zn,useSyncExternalStore:zn,useId:zn,unstable_isNewReconciler:!1},zc={readContext:rn,useCallback:function(D,B){return Fr().memoizedState=[D,B===void 0?null:B],D},useContext:rn,useEffect:Xs,useImperativeHandle:function(D,B,k){return k=k!=null?k.concat([D]):null,_o(4194308,4,Js.bind(null,B,D),k)},useLayoutEffect:function(D,B){return _o(4194308,4,D,B)},useInsertionEffect:function(D,B){return _o(4,2,D,B)},useMemo:function(D,B){var k=Fr();return B=B===void 0?null:B,D=D(),k.memoizedState=[D,B],D},useReducer:function(D,B,k){var U=Fr();return B=k!==void 0?k(B):B,U.memoizedState=U.baseState=B,D={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:D,lastRenderedState:B},U.queue=D,D=D.dispatch=Il.bind(null,gn,D),[U.memoizedState,D]},useRef:function(D){var B=Fr();return D={current:D},B.memoizedState=D},useState:Ys,useDebugValue:ya,useDeferredValue:function(D){return Fr().memoizedState=D},useTransition:function(){var D=Ys(!1),B=D[0];return D=Fl.bind(null,D[1]),Fr().memoizedState=D,[B,D]},useMutableSource:function(D,B,k){},useSyncExternalStore:function(D,B,k){var U=gn,G=Fr();if(fn){if(k===void 0)throw Error(C(407));k=k()}else{if(k=B(),Mn===null)throw Error(C(349));Ei&30||Ks(U,B,k)}G.memoizedState=k;var J={value:k,getSnapshot:B};return G.queue=J,Xs(Vs.bind(null,U,J,D),[D]),U.flags|=2048,Hi(9,Us.bind(null,U,J,k,B),void 0,null),k},useId:function(){var D=Fr(),B=Mn.identifierPrefix;if(fn){var k=Hr,U=jr;k=(U&~(1<<32-Dr(U)-1)).toString(32)+k,B=":"+B+"R"+k,k=fo++,0<k&&(B+="H"+k.toString(32)),B+=":"}else k=$c++,B=":"+B+"r"+k.toString(32)+":";return D.memoizedState=B},unstable_isNewReconciler:!1},Yc={readContext:rn,useCallback:eu,useContext:rn,useEffect:_a,useImperativeHandle:qs,useInsertionEffect:Qs,useLayoutEffect:Zs,useMemo:tu,useReducer:ma,useRef:Gs,useState:function(D){return ma(ji)},useDebugValue:ya,useDeferredValue:function(D){var B=vr();return nu(B,Rn.memoizedState,D)},useTransition:function(){var D=ma(ji)[0],B=vr().memoizedState;return[D,B]},useMutableSource:Ws,useSyncExternalStore:Hs,useId:ru,unstable_isNewReconciler:!1},Gc={readContext:rn,useCallback:eu,useContext:rn,useEffect:_a,useImperativeHandle:qs,useInsertionEffect:Qs,useLayoutEffect:Zs,useMemo:tu,useReducer:Ea,useRef:Gs,useState:function(D){return Ea(ji)},useDebugValue:ya,useDeferredValue:function(D){var B=vr();return Rn===null?B.memoizedState=D:nu(B,Rn.memoizedState,D)},useTransition:function(){var D=Ea(ji)[0],B=vr().memoizedState;return[D,B]},useMutableSource:Ws,useSyncExternalStore:Hs,useId:ru,unstable_isNewReconciler:!1},Xc=typeof WeakMap=="function"?WeakMap:Map,Qc=Lr.ReactCurrentOwner,rr=!1,bs={dehydrated:null,treeContext:null,retryLane:0},Zc=function(D,B,k,U){for(k=B.child;k!==null;){if(k.tag===5||k.tag===6)D.appendChild(k.stateNode);else if(k.tag!==4&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===B)break;for(;k.sibling===null;){if(k.return===null||k.return===B)return;k=k.return}k.sibling.return=k.return,k=k.sibling}},bl=function(D,B){},Jc=function(D,B,k,U,G){var J=D.memoizedProps;if(J!==U){switch(D=B.stateNode,ci(Br.current),G=null,k){case"input":J=w(D,J),U=w(D,U),G=[];break;case"select":J=hn({},J,{value:void 0}),U=hn({},U,{value:void 0}),G=[];break;case"textarea":J=y(D,J),U=y(D,U),G=[];break;default:typeof J.onClick!="function"&&typeof U.onClick=="function"&&(D.onclick=Pt)}$(k,U);var ue;k=null;for(xe in J)if(!U.hasOwnProperty(xe)&&J.hasOwnProperty(xe)&&J[xe]!=null)if(xe==="style"){var pe=J[xe];for(ue in pe)pe.hasOwnProperty(ue)&&(k||(k={}),k[ue]="")}else xe!=="dangerouslySetInnerHTML"&&xe!=="children"&&xe!=="suppressContentEditableWarning"&&xe!=="suppressHydrationWarning"&&xe!=="autoFocus"&&($i.hasOwnProperty(xe)?G||(G=[]):(G=G||[]).push(xe,null));for(xe in U){var _e=U[xe];if(pe=J!=null?J[xe]:void 0,U.hasOwnProperty(xe)&&_e!==pe&&(_e!=null||pe!=null))if(xe==="style")if(pe){for(ue in pe)!pe.hasOwnProperty(ue)||_e&&_e.hasOwnProperty(ue)||(k||(k={}),k[ue]="");for(ue in _e)_e.hasOwnProperty(ue)&&pe[ue]!==_e[ue]&&(k||(k={}),k[ue]=_e[ue])}else k||(G||(G=[]),G.push(xe,k)),k=_e;else xe==="dangerouslySetInnerHTML"?(_e=_e?_e.__html:void 0,pe=pe?pe.__html:void 0,_e!=null&&pe!==_e&&(G=G||[]).push(xe,_e)):xe==="children"?typeof _e!="string"&&typeof _e!="number"||(G=G||[]).push(xe,""+_e):xe!=="suppressContentEditableWarning"&&xe!=="suppressHydrationWarning"&&($i.hasOwnProperty(xe)?(_e!=null&&xe==="onScroll"&&de("scroll",D),G||pe===_e||(G=[])):(G=G||[]).push(xe,_e))}k&&(G=G||[]).push("style",k);var xe=G;(B.updateQueue=xe)&&(B.flags|=4)}},qc=function(D,B,k,U){k!==U&&(B.flags|=4)},ta=!1,Gn=!1,ed=typeof WeakSet=="function"?WeakSet:Set,at=null,wl=!1,jn=null,br=!1,td=Math.ceil,na=Lr.ReactCurrentDispatcher,ws=Lr.ReactCurrentOwner,Jn=Lr.ReactCurrentBatchConfig,Xt=0,Mn=null,bn=null,Hn=0,qn=0,Mr=Lt(0),Fn=0,ho=null,_i=0,ra=0,Ts=0,vo=null,ir=null,Rs=0,Fs=1/0,Kr=null,ia=!1,Is=null,ii=null,oa=!1,oi=null,aa=0,go=0,Ns=null,sa=-1,ua=0,nd=function(D,B,k){if(D!==null)if(D.memoizedProps!==B.pendingProps||Wn.current)rr=!0;else{if(!(D.lanes&k)&&!(B.flags&128))return rr=!1,Bl(D,B,k);rr=!!(D.flags&131072)}else rr=!1,fn&&B.flags&1048576&&Er(B,Go,B.index);switch(B.lanes=0,B.tag){case 2:var U=B.type;Do(D,B),D=B.pendingProps;var G=an(B,Tn.current);ln(B,k),G=ga(null,B,U,D,G,k);var J=pa();return B.flags|=1,typeof G=="object"&&G!==null&&typeof G.render=="function"&&G.$$typeof===void 0?(B.tag=1,B.memoizedState=null,B.updateQueue=null,nn(U)?(J=!0,In(B)):J=!1,B.memoizedState=G.state!==null&&G.state!==void 0?G.state:null,si(B),G.updater=Zo,B.stateNode=G,G._reactInternals=B,ca(B,U,D,k),B=Sa(null,B,U,!0,J,k)):(B.tag=0,fn&&J&&ar(B),Qn(null,B,G,k),B=B.child),B;case 16:U=B.elementType;e:{switch(Do(D,B),D=B.pendingProps,G=U._init,U=G(U._payload),B.type=U,G=B.tag=zl(U),D=qe(U,D),G){case 0:B=Aa(null,B,U,D,k);break e;case 1:B=mu(null,B,U,D,k);break e;case 11:B=fu(null,B,U,D,k);break e;case 14:B=hu(null,B,U,qe(U.type,D),k);break e}throw Error(C(306,U,""))}return B;case 0:return U=B.type,G=B.pendingProps,G=B.elementType===U?G:qe(U,G),Aa(D,B,U,G,k);case 1:return U=B.type,G=B.pendingProps,G=B.elementType===U?G:qe(U,G),mu(D,B,U,G,k);case 3:e:{if(Eu(B),D===null)throw Error(C(387));U=B.pendingProps,J=B.memoizedState,G=J.element,ui(D,B),po(B,U,null,k);var ue=B.memoizedState;if(U=ue.element,J.isDehydrated)if(J={element:U,isDehydrated:!1,cache:ue.cache,pendingSuspenseBoundaries:ue.pendingSuspenseBoundaries,transitions:ue.transitions},B.updateQueue.baseState=J,B.memoizedState=J,B.flags&256){G=Ci(Error(C(423)),B),B=_u(D,B,U,k,G);break e}else if(U!==G){G=Ci(Error(C(424)),B),B=_u(D,B,U,k,G);break e}else for(nr=Gt(B.stateNode.containerInfo.firstChild),lr=B,fn=!0,Sr=null,k=Sl(B,null,U,k),B.child=k;k;)k.flags=k.flags&-3|4096,k=k.sibling;else{if(hr(),U===G){B=Pr(D,B,k);break e}Qn(D,B,U,k)}B=B.child}return B;case 5:return ks(B),D===null&&Tr(B),U=B.type,G=B.pendingProps,J=D!==null?D.memoizedProps:null,ue=G.children,Wt(U,G)?ue=null:J!==null&&Wt(U,J)&&(B.flags|=32),pu(D,B),Qn(D,B,ue,k),B.child;case 6:return D===null&&Tr(B),null;case 13:return yu(D,B,k);case 4:return da(B,B.stateNode.containerInfo),U=B.pendingProps,D===null?B.child=ki(B,null,U,k):Qn(D,B,U,k),B.child;case 11:return U=B.type,G=B.pendingProps,G=B.elementType===U?G:qe(U,G),fu(D,B,U,G,k);case 7:return Qn(D,B,B.pendingProps,k),B.child;case 8:return Qn(D,B,B.pendingProps.children,k),B.child;case 12:return Qn(D,B,B.pendingProps.children,k),B.child;case 10:e:{if(U=B.type._context,G=B.pendingProps,J=B.memoizedProps,ue=G.value,vt(Xo,U._currentValue),U._currentValue=ue,J!==null)if(Ar(J.value,ue)){if(J.children===G.children&&!Wn.current){B=Pr(D,B,k);break e}}else for(J=B.child,J!==null&&(J.return=B);J!==null;){var pe=J.dependencies;if(pe!==null){ue=J.child;for(var _e=pe.firstContext;_e!==null;){if(_e.context===U){if(J.tag===1){_e=$n(-1,k&-k),_e.tag=2;var xe=J.updateQueue;if(xe!==null){xe=xe.shared;var He=xe.pending;He===null?_e.next=_e:(_e.next=He.next,He.next=_e),xe.pending=_e}}J.lanes|=k,_e=J.alternate,_e!==null&&(_e.lanes|=k),jt(J.return,k,B),pe.lanes|=k;break}_e=_e.next}}else if(J.tag===10)ue=J.type===B.type?null:J.child;else if(J.tag===18){if(ue=J.return,ue===null)throw Error(C(341));ue.lanes|=k,pe=ue.alternate,pe!==null&&(pe.lanes|=k),jt(ue,k,B),ue=J.sibling}else ue=J.child;if(ue!==null)ue.return=J;else for(ue=J;ue!==null;){if(ue===B){ue=null;break}if(J=ue.sibling,J!==null){J.return=ue.return,ue=J;break}ue=ue.return}J=ue}Qn(D,B,G.children,k),B=B.child}return B;case 9:return G=B.type,U=B.pendingProps.children,ln(B,k),G=rn(G),U=U(G),B.flags|=1,Qn(D,B,U,k),B.child;case 14:return U=B.type,G=qe(U,B.pendingProps),G=qe(U.type,G),hu(D,B,U,G,k);case 15:return vu(D,B,B.type,B.pendingProps,k);case 17:return U=B.type,G=B.pendingProps,G=B.elementType===U?G:qe(U,G),Do(D,B),B.tag=1,nn(U)?(D=!0,In(B)):D=!1,ln(B,k),Ms(B,U,G),ca(B,U,G,k),Sa(null,B,U,!0,D,k);case 19:return Du(D,B,k);case 22:return gu(D,B,k)}throw Error(C(156,B.tag))},mr=function(D,B,k,U){return new $l(D,B,k,U)},Tl=typeof reportError=="function"?reportError:function(D){console.error(D)};Fo.prototype.render=Ha.prototype.render=function(D){var B=this._internalRoot;if(B===null)throw Error(C(409));To(D,B,null,null)},Fo.prototype.unmount=Ha.prototype.unmount=function(){var D=this._internalRoot;if(D!==null){this._internalRoot=null;var B=D.containerInfo;di(function(){To(null,D,null,null)}),B[kr]=null}},Fo.prototype.unstable_scheduleHydration=function(D){if(D){var B=od();D={blockedOn:null,target:D,priority:B};for(var k=0;k<ei.length&&B!==0&&B<ei[k].priority;k++);ei.splice(k,0,D),k===0&&Ne(D)}};var rd=function(D){switch(D.tag){case 3:var B=D.stateNode;if(B.current.memoizedState.isDehydrated){var k=ge(B.pendingLanes);k!==0&&(Yt(B,k|1),tr(B,xn()),!(Xt&6)&&(Vi(),An()))}break;case 13:di(function(){var U=Sn(D,1);if(U!==null){var G=Zn();yr(U,D,1,G)}}),ja(D,1)}},Rl=function(D){if(D.tag===13){var B=Sn(D,134217728);if(B!==null){var k=Zn();yr(B,D,134217728,k)}ja(D,134217728)}},id=function(D){if(D.tag===13){var B=Yr(D),k=Sn(D,B);if(k!==null){var U=Zn();yr(k,D,B,U)}ja(D,B)}},od=function(){return Zt},ad=function(D,B){var k=Zt;try{return Zt=D,B()}finally{Zt=k}};ts=function(D,B,k){switch(B){case"input":if(R(D,k),B=k.name,k.type==="radio"&&B!=null){for(k=D;k.parentNode;)k=k.parentNode;for(k=k.querySelectorAll("input[name="+JSON.stringify(""+B)+'][type="radio"]'),B=0;B<k.length;B++){var U=k[B];if(U!==D&&U.form===D.form){var G=xt(U);if(!G)throw Error(C(90));m(U),R(U,G)}}}break;case"textarea":O(D,k);break;case"select":B=k.value,B!=null&&F(D,!!k.multiple,B,!1)}},function(D,B,k){el=D,tl=k}(Ma,function(D,B,k,U,G){var J=Zt,ue=Jn.transition;try{return Jn.transition=null,Zt=1,D(B,k,U,G)}finally{Zt=J,Jn.transition=ue,Xt===0&&Vi()}},di);var sd={usingClientEntryPoint:!1,Events:[je,tt,xt,Z,Y,Ma]};(function(D){if(D={bundleType:D.bundleType,version:D.version,rendererPackageName:D.rendererPackageName,rendererConfig:D.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Lr.ReactCurrentDispatcher,findHostInstanceByFiber:Xl,findFiberByHostInstance:D.findFiberByHostInstance||Ql,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")D=!1;else{var B=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(B.isDisabled||!B.supportsFiber)D=!0;else{try{Lo=B.inject(D),Nr=B}catch(k){}D=!!B.checkDCE}}return D})({findFiberByHostInstance:Ue,bundleType:0,version:"18.2.0-next-9e3b772b8-20220608",rendererPackageName:"react-dom"}),b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sd,b.createPortal=function(D,B){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ka(B))throw Error(C(200));return Gl(D,B,null,k)},b.createRoot=function(D,B){if(!Ka(D))throw Error(C(299));var k=!1,U="",G=Tl;return B!=null&&(B.unstable_strictMode===!0&&(k=!0),B.identifierPrefix!==void 0&&(U=B.identifierPrefix),B.onRecoverableError!==void 0&&(G=B.onRecoverableError)),B=Wa(D,1,!1,null,null,k,!1,U,G),D[kr]=B.current,be(D.nodeType===8?D.parentNode:D),new Ha(B)},b.findDOMNode=function(D){if(D==null)return null;if(D.nodeType===1)return D;var B=D._reactInternals;if(B===void 0)throw typeof D.render=="function"?Error(C(188)):(D=Object.keys(D).join(","),Error(C(268,D)));return D=ie(B),D=D===null?null:D.stateNode,D},b.flushSync=function(D){return di(D)},b.hydrate=function(D,B,k){if(!Io(B))throw Error(C(200));return No(null,D,B,!0,k)},b.hydrateRoot=function(D,B,k){if(!Ka(D))throw Error(C(405));var U=k!=null&&k.hydratedSources||null,G=!1,J="",ue=Tl;if(k!=null&&(k.unstable_strictMode===!0&&(G=!0),k.identifierPrefix!==void 0&&(J=k.identifierPrefix),k.onRecoverableError!==void 0&&(ue=k.onRecoverableError)),B=Uu(B,null,D,1,k!=null?k:null,G,!1,J,ue),D[kr]=B.current,be(D),U)for(D=0;D<U.length;D++)k=U[D],G=k._getVersion,G=G(k._source),B.mutableSourceEagerHydrationData==null?B.mutableSourceEagerHydrationData=[k,G]:B.mutableSourceEagerHydrationData.push(k,G);return new Fo(B)},b.render=function(D,B,k){if(!Io(B))throw Error(C(200));return No(null,D,B,!1,k)},b.unmountComponentAtNode=function(D){if(!Io(D))throw Error(C(40));return D._reactRootContainer?(di(function(){No(null,null,D,!1,function(){D._reactRootContainer=null,D[kr]=null})}),!0):!1},b.unstable_batchedUpdates=Ma,b.unstable_renderSubtreeIntoContainer=function(D,B,k,U){if(!Io(k))throw Error(C(200));if(D==null||D._reactInternals===void 0)throw Error(C(38));return No(D,B,k,!1,U)},b.version="18.2.0-next-9e3b772b8-20220608"})})()},14152:(_,P)=>{/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){"use strict";(function(l,b){b(P)})(this,function(l){function b(me){return me===null||typeof me!="object"?null:(me=W&&me[W]||me["@@iterator"],typeof me=="function"?me:null)}function S(me,Ne,Ve){this.props=me,this.context=Ne,this.refs=K,this.updater=Ve||j}function C(){}function A(me,Ne,Ve){this.props=me,this.context=Ne,this.refs=K,this.updater=Ve||j}function p(me,Ne,Ve){var et,ze={},pt=null,Et=null;if(Ne!=null)for(et in Ne.ref!==void 0&&(Et=Ne.ref),Ne.key!==void 0&&(pt=""+Ne.key),Ne)z.call(Ne,et)&&!Z.hasOwnProperty(et)&&(ze[et]=Ne[et]);var It=arguments.length-2;if(It===1)ze.children=Ve;else if(1<It){for(var Nt=Array(It),Vt=0;Vt<It;Vt++)Nt[Vt]=arguments[Vt+2];ze.children=Nt}if(me&&me.defaultProps)for(et in It=me.defaultProps,It)ze[et]===void 0&&(ze[et]=It[et]);return{$$typeof:w,type:me,key:pt,ref:Et,props:ze,_owner:X.current}}function d(me,Ne){return{$$typeof:w,type:me.type,key:Ne,ref:me.ref,props:me.props,_owner:me._owner}}function n(me){return typeof me=="object"&&me!==null&&me.$$typeof===w}function e(me){var Ne={"=":"=0",":":"=2"};return"$"+me.replace(/[=:]/g,function(Ve){return Ne[Ve]})}function t(me,Ne){return typeof me=="object"&&me!==null&&me.key!=null?e(""+me.key):Ne.toString(36)}function r(me,Ne,Ve,et,ze){var pt=typeof me;(pt==="undefined"||pt==="boolean")&&(me=null);var Et=!1;if(me===null)Et=!0;else switch(pt){case"string":case"number":Et=!0;break;case"object":switch(me.$$typeof){case w:case I:Et=!0}}if(Et)return Et=me,ze=ze(Et),me=et===""?"."+t(Et,0):et,V(ze)?(Ve="",me!=null&&(Ve=me.replace(Y,"$&/")+"/"),r(ze,Ne,Ve,"",function(Vt){return Vt})):ze!=null&&(n(ze)&&(ze=d(ze,Ve+(!ze.key||Et&&Et.key===ze.key?"":(""+ze.key).replace(Y,"$&/")+"/")+me)),Ne.push(ze)),1;if(Et=0,et=et===""?".":et+":",V(me))for(var It=0;It<me.length;It++){pt=me[It];var Nt=et+t(pt,It);Et+=r(pt,Ne,Ve,Nt,ze)}else if(Nt=b(me),typeof Nt=="function")for(me=Nt.call(me),It=0;!(pt=me.next()).done;)pt=pt.value,Nt=et+t(pt,It++),Et+=r(pt,Ne,Ve,Nt,ze);else if(pt==="object")throw Ne=String(me),Error("Objects are not valid as a React child (found: "+(Ne==="[object Object]"?"object with keys {"+Object.keys(me).join(", ")+"}":Ne)+"). If you meant to render a collection of children, use an array instead.");return Et}function i(me,Ne,Ve){if(me==null)return me;var et=[],ze=0;return r(me,et,"","",function(pt){return Ne.call(Ve,pt,ze++)}),et}function s(me){if(me._status===-1){var Ne=me._result;Ne=Ne(),Ne.then(function(Ve){(me._status===0||me._status===-1)&&(me._status=1,me._result=Ve)},function(Ve){(me._status===0||me._status===-1)&&(me._status=2,me._result=Ve)}),me._status===-1&&(me._status=0,me._result=Ne)}if(me._status===1)return me._result.default;throw me._result}function a(me,Ne){var Ve=me.length;me.push(Ne);e:for(;0<Ve;){var et=Ve-1>>>1,ze=me[et];if(0<c(ze,Ne))me[et]=Ne,me[Ve]=ze,Ve=et;else break e}}function o(me){return me.length===0?null:me[0]}function u(me){if(me.length===0)return null;var Ne=me[0],Ve=me.pop();if(Ve!==Ne){me[0]=Ve;e:for(var et=0,ze=me.length,pt=ze>>>1;et<pt;){var Et=2*(et+1)-1,It=me[Et],Nt=Et+1,Vt=me[Nt];if(0>c(It,Ve))Nt<ze&&0>c(Vt,It)?(me[et]=Vt,me[Nt]=Ve,et=Nt):(me[et]=It,me[Et]=Ve,et=Et);else if(Nt<ze&&0>c(Vt,Ve))me[et]=Vt,me[Nt]=Ve,et=Nt;else break e}}return Ne}function c(me,Ne){var Ve=me.sortIndex-Ne.sortIndex;return Ve!==0?Ve:me.id-Ne.id}function h(me){for(var Ne=o(le);Ne!==null;){if(Ne.callback===null)u(le);else if(Ne.startTime<=me)u(le),Ne.sortIndex=Ne.expirationTime,a(fe,Ne);else break;Ne=o(le)}}function v(me){if(Te=!1,h(me),!ge)if(o(fe)!==null)ge=!0,m(f);else{var Ne=o(le);Ne!==null&&E(v,Ne.startTime-me)}}function f(me,Ne){ge=!1,Te&&(Te=!1,Le(nt),nt=-1),ve=!0;var Ve=ce;try{for(h(Ne),re=o(fe);re!==null&&(!(re.expirationTime>Ne)||me&&!g());){var et=re.callback;if(typeof et=="function"){re.callback=null,ce=re.priorityLevel;var ze=et(re.expirationTime<=Ne);Ne=oe(),typeof ze=="function"?re.callback=ze:re===o(fe)&&u(fe),h(Ne)}else u(fe);re=o(fe)}if(re!==null)var pt=!0;else{var Et=o(le);Et!==null&&E(v,Et.startTime-Ne),pt=!1}return pt}finally{re=null,ce=Ve,ve=!1}}function g(){return!(oe()-Yt<Rt)}function m(me){ot=me,st||(st=!0,Ft())}function E(me,Ne){nt=Pe(function(){me(oe())},Ne)}var w=Symbol.for("react.element"),I=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),F=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),O=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),W=Symbol.iterator,j={isMounted:function(me){return!1},enqueueForceUpdate:function(me,Ne,Ve){},enqueueReplaceState:function(me,Ne,Ve,et){},enqueueSetState:function(me,Ne,Ve,et){}},H=Object.assign,K={};S.prototype.isReactComponent={},S.prototype.setState=function(me,Ne){if(typeof me!="object"&&typeof me!="function"&&me!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,me,Ne,"setState")},S.prototype.forceUpdate=function(me){this.updater.enqueueForceUpdate(this,me,"forceUpdate")},C.prototype=S.prototype;var $=A.prototype=new C;$.constructor=A,H($,S.prototype),$.isPureReactComponent=!0;var V=Array.isArray,z=Object.prototype.hasOwnProperty,X={current:null},Z={key:!0,ref:!0,__self:!0,__source:!0},Y=/\/+/g,Q={current:null},q={transition:null};if(typeof performance=="object"&&typeof performance.now=="function")var ee=performance,oe=function(){return ee.now()};else{var se=Date,he=se.now();oe=function(){return se.now()-he}}var fe=[],le=[],ie=1,re=null,ce=3,ve=!1,ge=!1,Te=!1,Pe=typeof setTimeout=="function"?setTimeout:null,Le=typeof clearTimeout=="function"?clearTimeout:null,ct=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var st=!1,ot=null,nt=-1,Rt=5,Yt=-1,kt=function(){if(ot!==null){var me=oe();Yt=me;var Ne=!0;try{Ne=ot(!0,me)}finally{Ne?Ft():(st=!1,ot=null)}}else st=!1};if(typeof ct=="function")var Ft=function(){ct(kt)};else if(typeof MessageChannel<"u"){$=new MessageChannel;var Bt=$.port2;$.port1.onmessage=kt,Ft=function(){Bt.postMessage(null)}}else Ft=function(){Pe(kt,0)};$={ReactCurrentDispatcher:Q,ReactCurrentOwner:X,ReactCurrentBatchConfig:q,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(me,Ne){switch(me){case 1:case 2:case 3:case 4:case 5:break;default:me=3}var Ve=ce;ce=me;try{return Ne()}finally{ce=Ve}},unstable_next:function(me){switch(ce){case 1:case 2:case 3:var Ne=3;break;default:Ne=ce}var Ve=ce;ce=Ne;try{return me()}finally{ce=Ve}},unstable_scheduleCallback:function(me,Ne,Ve){var et=oe();switch(typeof Ve=="object"&&Ve!==null?(Ve=Ve.delay,Ve=typeof Ve=="number"&&0<Ve?et+Ve:et):Ve=et,me){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=Ve+ze,me={id:ie++,callback:Ne,priorityLevel:me,startTime:Ve,expirationTime:ze,sortIndex:-1},Ve>et?(me.sortIndex=Ve,a(le,me),o(fe)===null&&me===o(le)&&(Te?(Le(nt),nt=-1):Te=!0,E(v,Ve-et))):(me.sortIndex=ze,a(fe,me),ge||ve||(ge=!0,m(f))),me},unstable_cancelCallback:function(me){me.callback=null},unstable_wrapCallback:function(me){var Ne=ce;return function(){var Ve=ce;ce=Ne;try{return me.apply(this,arguments)}finally{ce=Ve}}},unstable_getCurrentPriorityLevel:function(){return ce},unstable_shouldYield:g,unstable_requestPaint:function(){},unstable_continueExecution:function(){ge||ve||(ge=!0,m(f))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return o(fe)},get unstable_now(){return oe},unstable_forceFrameRate:function(me){0>me||125<me?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Rt=0<me?Math.floor(1e3/me):5},unstable_Profiling:null}},l.Children={map:i,forEach:function(me,Ne,Ve){i(me,function(){Ne.apply(this,arguments)},Ve)},count:function(me){var Ne=0;return i(me,function(){Ne++}),Ne},toArray:function(me){return i(me,function(Ne){return Ne})||[]},only:function(me){if(!n(me))throw Error("React.Children.only expected to receive a single React element child.");return me}},l.Component=S,l.Fragment=M,l.Profiler=T,l.PureComponent=A,l.StrictMode=R,l.Suspense=x,l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,l.cloneElement=function(me,Ne,Ve){if(me==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+me+".");var et=H({},me.props),ze=me.key,pt=me.ref,Et=me._owner;if(Ne!=null){if(Ne.ref!==void 0&&(pt=Ne.ref,Et=X.current),Ne.key!==void 0&&(ze=""+Ne.key),me.type&&me.type.defaultProps)var It=me.type.defaultProps;for(Nt in Ne)z.call(Ne,Nt)&&!Z.hasOwnProperty(Nt)&&(et[Nt]=Ne[Nt]===void 0&&It!==void 0?It[Nt]:Ne[Nt])}var Nt=arguments.length-2;if(Nt===1)et.children=Ve;else if(1<Nt){It=Array(Nt);for(var Vt=0;Vt<Nt;Vt++)It[Vt]=arguments[Vt+2];et.children=It}return{$$typeof:w,type:me.type,key:ze,ref:pt,props:et,_owner:Et}},l.createContext=function(me){return me={$$typeof:F,_currentValue:me,_currentValue2:me,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},me.Provider={$$typeof:N,_context:me},me.Consumer=me},l.createElement=p,l.createFactory=function(me){var Ne=p.bind(null,me);return Ne.type=me,Ne},l.createRef=function(){return{current:null}},l.forwardRef=function(me){return{$$typeof:y,render:me}},l.isValidElement=n,l.lazy=function(me){return{$$typeof:L,_payload:{_status:-1,_result:me},_init:s}},l.memo=function(me,Ne){return{$$typeof:O,type:me,compare:Ne===void 0?null:Ne}},l.startTransition=function(me,Ne){Ne=q.transition,q.transition={};try{me()}finally{q.transition=Ne}},l.unstable_act=function(me){throw Error("act(...) is not supported in production builds of React.")},l.useCallback=function(me,Ne){return Q.current.useCallback(me,Ne)},l.useContext=function(me){return Q.current.useContext(me)},l.useDebugValue=function(me,Ne){},l.useDeferredValue=function(me){return Q.current.useDeferredValue(me)},l.useEffect=function(me,Ne){return Q.current.useEffect(me,Ne)},l.useId=function(){return Q.current.useId()},l.useImperativeHandle=function(me,Ne,Ve){return Q.current.useImperativeHandle(me,Ne,Ve)},l.useInsertionEffect=function(me,Ne){return Q.current.useInsertionEffect(me,Ne)},l.useLayoutEffect=function(me,Ne){return Q.current.useLayoutEffect(me,Ne)},l.useMemo=function(me,Ne){return Q.current.useMemo(me,Ne)},l.useReducer=function(me,Ne,Ve){return Q.current.useReducer(me,Ne,Ve)},l.useRef=function(me){return Q.current.useRef(me)},l.useState=function(me){return Q.current.useState(me)},l.useSyncExternalStore=function(me,Ne,Ve){return Q.current.useSyncExternalStore(me,Ne,Ve)},l.useTransition=function(){return Q.current.useTransition()},l.version="18.2.0"})})()},65874:(_,P,l)=>{var b,S;b=[l(80675)],S=l.dj.d(b,function(C){var A={};return function(){for(var p,d=arguments,n=0;n<d.length;n++){var p=d[n];if(!A[p]){A[p]=!0;var e=p.match(/^(no-)?(.+?)((-[\d\.]+)(-[\d\.]+)?)?$/),t=C(e[2]),r=-e[4];(r>0?r<=t&&(-e[5]||r)>=t:!!t)==!e[1]&&(document.documentElement.className+=" has-"+p)}}}},_,P),_.exports=S},79016:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=function(){this.modes={},this.mimeModes={},this.modeExtensions={},this.defineMIME("text/plain","null"),this.defineMode("null",function(){return{token:function(p){p.skipToEnd()}}})};return C.prototype.defineMIME=function(A,p){this.mimeModes[A]=p},C.prototype.defineMode=function(A,p){arguments.length>2&&(p.dependencies=Array.prototype.slice.call(arguments,2)),this.modes[A]=p},C.prototype.resolveMode=function(A){return typeof A=="string"&&this.mimeModes.hasOwnProperty(A)?A=this.mimeModes[A]:A&&typeof A.name=="string"&&this.mimeModes.hasOwnProperty(A.name)&&(A=this.mimeModes[A.name]),typeof A=="string"?{name:A}:A||{name:"null"}},C.prototype.getMode=function(A,p){p=this.resolveMode(p);var d=this.modes[p.name];if(!d)return this.getMode(A,"text/plain");var n=d(A,p);if(this.modeExtensions.hasOwnProperty(p.name)){var e=this.modeExtensions[p.name];for(var t in e)e.hasOwnProperty(t)&&(n.hasOwnProperty(t)&&(n["_"+t]=n[t]),n[t]=e[t])}if(n.name=p.name,p.helperType&&(n.helperType=p.helperType),p.modeProps)for(var r in p.modeProps)n[r]=p.modeProps[r];return n},C.prototype.extendMode=function(A,p){var d=this.modeExtensions.hasOwnProperty(A)?this.modeExtensions[A]:this.modeExtensions[A]={};copyObj(p,d)},C.prototype.startState=function(A,p,d){return A.startState?A.startState(p,d):!0},C.prototype.splitLines=function(A){return A.split(/\r?\n|\r|\n/)},C.prototype.copyState=function(A,p){if(p===!0)return p;if(A.copyState)return A.copyState(p);var d={};for(var n in p){var e=p[n];e instanceof Array&&(e=e.concat([])),d[n]=e}return d},C.prototype.innerMode=function(A,p){let d;for(;A.innerMode&&(d=A.innerMode(p),!(!d||d.mode==A));)p=d.state,A=d.mode;return d||{mode:A,state:p}},C.prototype.registerGlobalHelper=Math.min,C.prototype.registerHelper=Math.min,C},_,P),_.exports=S},14963:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=function(p,d,n){this.pos=this.start=0,this.string=p,this.tabSize=d||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};return C.prototype.eol=function(){return this.pos>=this.string.length},C.prototype.sol=function(){return this.pos===this.lineStart},C.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},C.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},C.prototype.eat=function(A){let p=this.string.charAt(this.pos),d;if(typeof A=="string"?d=p==A:d=p&&(A.test?A.test(p):A(p)),d)return++this.pos,p},C.prototype.eatWhile=function(A){let p=this.pos;for(;this.eat(A););return this.pos>p},C.prototype.eatSpace=function(){let A=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},C.prototype.skipToEnd=function(){this.pos=this.string.length},C.prototype.skipTo=function(A){let p=this.string.indexOf(A,this.pos);if(p>-1)return this.pos=p,!0},C.prototype.backUp=function(A){this.pos-=A},C.prototype.countColumn=function(A,p,d,n,e){p==null&&(p=A.search(/[^\s\u00a0]/),p==-1&&(p=A.length));for(let t=n||0,r=e||0;;){let i=A.indexOf(" ",t);if(i<0||i>=p)return r+(p-t);r+=i-t,r+=d-r%d,t=i+1}},C.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=this.countColumn(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?this.countColumn(this.string,this.lineStart,this.tabSize):0)},C.prototype.indentation=function(){return this.countColumn(this.string,null,this.tabSize)-(this.lineStart?this.countColumn(this.string,this.lineStart,this.tabSize):0)},C.prototype.match=function(A,p,d){if(typeof A=="string"){let n=t=>d?t.toLowerCase():t,e=this.string.substr(this.pos,A.length);if(n(e)==n(A))return p!==!1&&(this.pos+=A.length),!0}else{let n=this.string.slice(this.pos).match(A);return n&&n.index>0?null:(n&&p!==!1&&(this.pos+=n[0].length),n)}},C.prototype.current=function(){return this.string.slice(this.start,this.pos)},C.prototype.hideFirstChars=function(A,p){this.lineStart+=A;try{return p()}finally{this.lineStart-=A}},C.prototype.lookAhead=function(A){let p=this.lineOracle;return p&&p.lookAhead(A)},C.prototype.baseToken=function(){let A=this.lineOracle;return A&&A.baseToken(this.pos)},C},_,P),_.exports=S},23494:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";function C(t,r,i,s,a,o){this.indented=t,this.column=r,this.type=i,this.info=s,this.align=a,this.prev=o}function A(t,r,i,s){var a=t.indented;return t.context&&t.context.type=="statement"&&i!="statement"&&(a=t.context.indented),t.context=new C(a,r,i,s,null,t.context)}function p(t){var r=t.context.type;return(r==")"||r=="]"||r=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}function d(t,r,i){if(r.prevToken=="variable"||r.prevToken=="variable-3"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(t.string.slice(0,i))||r.typeAtEndOfLine&&t.column()==t.indentation())return!0}function n(t){for(;;){if(!t||t.type=="top")return!0;if(t.type=="}"&&t.prev.info!="namespace")return!1;t=t.prev}}var e=function(r){r.defineMode("clike",function(I,M){var R=I.indentUnit,T=M.statementIndentUnit||R,N=M.dontAlignCalls,F=M.keywords||{},y=M.types||{},x=M.builtin||{},O=M.blockKeywords||{},L=M.defKeywords||{},W=M.atoms||{},j=M.hooks||{},H=M.multiLineStrings,K=M.indentStatements!==!1,$=M.indentSwitch!==!1,V=M.namespaceSeparator,z=M.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,X=M.numberStart||/[\d\.]/,Z=M.numberTokenizer||ie,Y=M.isOperatorChar||/[+\-*&%=<>!?|\/\^~]/,Q=M.validOperators||/^(?:=|\+=|-=|\*=|\/=|%=|&=|\|=|\^=|<<=|>>=|\+\+|--|\+|-|\*+|\/|%|~|&+|\||\^|<<|>>|!+|\|\||==|!=|<|>|<=|>=|->|\?|:)$/,q=M.isIdentifierChar||/[\w\$_\xa1-\uffff]/,ee,oe;function se(ce,ve){var ge=ce.next();if(j[ge]){var Te=j[ge](ce,ve);if(Te!==!1)return Te}if(ge=='"'||ge=="'")return ve.tokenize=he(ge),ve.tokenize(ce,ve);if(z.test(ge))return ee=ge,null;if(X.test(ge))return ce.backUp(1),Z(ce,ve);if(ge=="/"){if(ce.eat("*"))return ve.tokenize=fe,fe(ce,ve);if(ce.eat("/"))return ce.skipToEnd(),"comment"}if(Y.test(ge))return ce.backUp(1),le(ce,ve);if(ce.eatWhile(q),V)for(;ce.match(V);)ce.eatWhile(q);var Pe=ce.current();return s(F,Pe)?(s(O,Pe)&&(ee="newstatement"),s(L,Pe)&&(oe=!0),"keyword"):s(y,Pe)?"variable-3":s(x,Pe)?(s(O,Pe)&&(ee="newstatement"),"builtin"):s(W,Pe)?"atom":q.test(ge)?"variable":(ce.backUp(Pe.length-1),"invalid_character")}function he(ce){return function(ve,ge){for(var Te=!1,Pe,Le=!1;(Pe=ve.next())!=null;){if(Pe==ce&&!Te){Le=!0;break}Te=!Te&&Pe=="\\"}return(Le||!(Te||H))&&(ge.tokenize=null),ce=='"'?"string":"string-2"}}function fe(ce,ve){for(var ge=!1,Te;Te=ce.next();){if(Te=="/"&&ge){ve.tokenize=null;break}ge=Te=="*"}return"comment"}function le(ce,ve){for(var ge="";!ce.match(/^\/[\/*]/,!1)&&ce.match(Y,!1);)ge+=ce.next();return Q.test(ge)?"operator":"invalid_operator"}function ie(ce,ve){var ge=ce.next();if(ge==="0")if(ce.eat(/x/i)){var Te=ce.match(/^(?:(?:(?:(?:[0-9a-f]+\.?[0-9a-f]*)|(?:[0-9a-f]*\.?[0-9a-f]+))p[+\-]?[0-9]+[fl]?)|(?:[0-9a-f]+(?:u|l|ll)?))/i);if(!Te)return"incomplete_hex_number"}else if(ce.eat(/b/i)){var Pe=ce.match(/^[01]+(?:u|l|ll)?/i);if(!Pe)return"incomplete_bin_number"}else ce.backUp(1),ce.match(/^(?:(?:(?:(?:[0-9]+\.?[0-9]*)|(?:[0-9]*\.?[0-9]+))(?:e[+\-]?[0-9]+)?[fl]?)|(?:[0-7]*(?:u|l|ll)?))/i);else ce.backUp(1),ce.match(/^(?:(?:(?:(?:[0-9]+\.?[0-9]*)|(?:[0-9]*\.?[0-9]+))(?:e[+\-]?[0-9]+)?[fl]?)|(?:[1-9][0-9]*(?:u|l|ll)?))/i);var Le=ce.peek();return Le&&/\w|\./i.test(Le)?(ce.match(/^(?:\w|\.)*/),"invalid_number"):"number"}function re(ce,ve){M.typeFirstDefinitions&&ce.eol()&&n(ve.context)&&(ve.typeAtEndOfLine=d(ce,ve,ce.pos))}return{startState:function(ce){return{tokenize:null,context:new C((ce||0)-R,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(ce,ve){var ge=ve.context;if(ce.sol()&&(ge.align==null&&(ge.align=!1),ve.indented=ce.indentation(),ve.startOfLine=!0),ce.eatSpace())return re(ce,ve),null;ee=oe=null;var Te=(ve.tokenize||se)(ce,ve);if(Te=="comment"||Te=="meta")return Te;if(ge.align==null&&(ge.align=!0),ee==":"&&(ve.currentSwitchIndentAmount=ve.indented+R),ee==";"&&(ve.currentSwitchIndentAmount=ve.indented),ee==";"||ee==":"||ee==","&&ce.match(/^\s*(?:\/\/.*)?$/,!1))for(;ve.context.type=="statement";)p(ve);else if(ee=="{")A(ve,ce.column(),"}");else if(ee=="[")A(ve,ce.column(),"]");else if(ee=="(")A(ve,ce.column(),")");else if(ee=="}"){for(;ge.type=="statement";)ge=p(ve);for(ge.type=="}"&&(ge=p(ve));ge.type=="statement";)ge=p(ve)}else ee==ge.type?p(ve):K&&((ge.type=="}"||ge.type=="top")&&ee!=";"||ge.type=="statement"&&ee=="newstatement")&&A(ve,ce.column(),"statement",ce.current());if(Te=="variable"&&(ve.prevToken=="def"||M.typeFirstDefinitions&&d(ce,ve,ce.start)&&n(ve.context)&&ce.match(/^\s*\(/,!1))&&(Te="def"),j.token){var Pe=j.token(ce,ve,Te);Pe!==void 0&&(Te=Pe)}return Te=="def"&&M.styleDefs===!1&&(Te="variable"),ve.startOfLine=!1,ve.prevToken=oe?"def":Te||ee,re(ce,ve),Te},indent:function(ce,ve){if(ce.tokenize!=se&&ce.tokenize!=null||ce.typeAtEndOfLine)return r.Pass;var ge=ce.context,Te=ve&&ve.charAt(0);if(ge.type=="statement"&&Te=="}"&&(ge=ge.prev),M.dontIndentStatements)for(;ge.type=="statement"&&M.dontIndentStatements.test(ge.info);)ge=ge.prev;if(j.indent){var Pe=j.indent(ce,ge,ve);if(typeof Pe=="number")return Pe}var Le=Te==ge.type,ct=ge.prev&&ge.prev.info=="switch";if(M.allmanIndentation&&/[{(]/.test(Te)){for(;ge.type!="top"&&ge.type!="}";)ge=ge.prev;return ge.indented}return ge.type=="statement"?ge.indented+(Te=="{"?0:T):ge.align&&(!N||ge.type!=")")?ge.column+(Le?0:1):ge.type==")"&&!Le?ge.indented+T:/^(?:case|default)\b/.test(ve)&&ct?ge.prev.indented+R:ct&&Te!=="}"?ce.currentSwitchIndentAmount:ge.indented+(Le?0:R)},electricInput:$?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function i(I){for(var M={},R=I.split(" "),T=0;T<R.length;++T)M[R[T]]=!0;return M}function s(I,M){return typeof I=="function"?I(M):I.propertyIsEnumerable(M)}var a="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",o="int long char short double float unsigned signed void size_t ptrdiff_t";function u(I,M){if(!M.startOfLine)return!1;for(var R,T=null;R=I.peek();){if(R=="\\"&&I.match(/^.$/)){T=u;break}else if(R=="/"&&I.match(/^\/[\/\*]/,!1))break;I.next()}return M.tokenize=T,"meta"}function c(I,M){return M.prevToken=="variable-3"?"variable-3":I.eat("/")?"invalid_comment_end":!1}function h(I,M){return I.eol()?null:"invalid_backslash"}function v(I,M){if(I.backUp(1),I.match(/(R|u8R|uR|UR|LR)/)){var R=I.match(/"([^\s\\()]{0,16})\(/);return R?(M.cpp11RawStringDelim=R[1],M.tokenize=m,m(I,M)):!1}return I.match(/(u8|u|U|L)/)?I.match(/["']/,!1)?"string":!1:(I.next(),!1)}function f(I){var M=/(\w+)::~?(\w+)$/.exec(I);return M&&M[1]==M[2]}function g(I,M){for(var R;(R=I.next())!=null;)if(R=='"'&&!I.eat('"')){M.tokenize=null;break}return"string"}function m(I,M){var R=M.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),T=I.match(new RegExp(".*?\\)"+R+'"'));return T?M.tokenize=null:I.skipToEnd(),"string"}function E(I,M){typeof I=="string"&&(I=[I]);var R=[];function T(F){if(F)for(var y in F)F.hasOwnProperty(y)&&R.push(y)}T(M.keywords),T(M.types),T(M.builtin),T(M.atoms),R.length&&(M.helperType=I[0],r.registerHelper("hintWords",I[0],R));for(var N=0;N<I.length;++N)r.defineMIME(I[N],M)}E(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:i(a),types:i(o+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:i("case do else for if switch while struct"),defKeywords:i("struct"),typeFirstDefinitions:!0,atoms:i("null true false"),hooks:{"#":u,"*":c,"\\":h},modeProps:{fold:["brace","include"]}});var w=" and and_eq atomic_cancel atomic_commit atomic_noexcept bitand bitor char16_t char32_t compl concept export import module not not_eq or or_eq requires synchronized xor xor_eq";E(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:i(a+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"+w),types:i(o+" bool wchar_t"),blockKeywords:i("catch class do else finally for if struct switch try while"),defKeywords:i("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:i("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":u,"*":c,"\\":h,u:v,U:v,L:v,R:v,token:function(I,M,R){if(R=="variable"&&I.peek()=="("&&(M.prevToken==";"||M.prevToken==null||M.prevToken=="}")&&f(I.current()))return"def"}},numberTokenizer:function(I,M){var R=I.next();if(R==="0")if(I.eat(/x/i)){var T=I.match(/^(?:(?:(?:(?:[0-9a-f']+\.?[0-9a-f']*)|(?:[0-9a-f']*\.?[0-9a-f']+))p[+\-]?[0-9']+(?:ul{0,2}|l{0,2}u?)?)|(?:[0-9a-f']+l?))/i);if(!T)return"incomplete_hex_number"}else if(I.eat(/b/i)){var N=I.match(/^[01']+l?/i);if(!N)return"incomplete_bin_number"}else I.backUp(1),I.match(/^(?:(?:(?:(?:[0-9']+\.?[0-9']*)|(?:[0-9']*\.?[0-9']+))(?:e[+\-]?[0-9']+)?(?:ul{0,2}|l{0,2}u?)?)|(?:[0-7']*l?))/i);else I.backUp(1),I.match(/^(?:(?:(?:(?:[0-9']+\.?[0-9']*)|(?:[0-9']*\.?[0-9']+))(?:e[+\-]?[0-9']+)?(?:ul{0,2}|l{0,2}u?)?)|(?:[1-9'][0-9']*l?))/i);var F=I.peek();return F&&/\w|\./i.test(F)?(I.match(/^(?:\w|\.)*/),"invalid_number"):"number"},namespaceSeparator:"::",modeProps:{fold:["brace","include"]},validOperators:/^(?:=|\+=|-=|\*=|\/=|%=|&=|\|=|\^=|<<=|>>=|\+\+|--|\+|-|>*\*+>*|\/|%|~|>*&+>*|\||\^|<<|>>|!+|\|\||==|!=|<|>|<=|>=|<=>|->\**|\?|:)$/}),E("text/x-java",{name:"clike",keywords:i("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:i("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:i("catch class do else finally for if switch try while"),defKeywords:i("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:i("true false null"),numberTokenizer:function(I,M){var R=I.next();if(R==="0")if(I.eat(/x/i)){var T=I.match(/^(?:(?:(?:(?:[0-9a-f_]+\.?[0-9a-f_]*)|(?:[0-9a-f_]*\.?[0-9a-f_]+))p[+\-]?[0-9_]+[fd]?)|(?:[0-9a-f_]+l?))/i);if(!T)return"incomplete_hex_number"}else if(I.eat(/b/i)){var N=I.match(/^[01_]+l?/i);if(!N)return"incomplete_bin_number"}else I.backUp(1),I.match(/^(?:(?:(?:(?:[0-9_]+\.?[0-9_]*)|(?:[0-9_]*\.?[0-9_]+))(?:e[+\-]?[0-9_]+)?[fd]?)|(?:[0-7_]*l?))/i);else I.backUp(1),I.match(/^(?:(?:(?:(?:[0-9_]+\.?[0-9_]*)|(?:[0-9_]*\.?[0-9_]+))(?:e[+\-]?[0-9_]+)?[fd]?)|(?:[1-9_][0-9_]*l?))/i);var F=I.peek();return F&&/\w|\./i.test(F)?(I.match(/^(?:\w|\.)*/),"invalid_number"):"number"},hooks:{"@":function(I){return I.match("interface",!1)?!1:(I.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]},validOperators:/^(?:=|>|<|!+|~|<*\?>*|:|->|==|>=|<=|!=|&&|\|\||\+\+|--|\+|-|\*|\/|&|\||\^|%|<<|>>|>>>|\+=|-=|\*=|\/=|&=|\|=|\^=|%=|<<=|>>=|>>>=)$/}),E("text/x-csharp",{name:"clike",keywords:i("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:i("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:i("catch class do else finally for foreach if struct switch try while"),defKeywords:i("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:i("true false null"),hooks:{"@":function(I,M){return I.eat('"')?(M.tokenize=g,g(I,M)):(I.eatWhile(/[\w\$_]/),"meta")}}})};return e},_,P),_.exports=S},37106:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=function(p){p.defineMode("verilog",function(c,h){var v=c.indentUnit,f=h.statementIndentUnit||v,g=h.dontAlignCalls,m=h.noIndentKeywords||[],E=h.multiLineStrings,w=h.hooks||{};function I(le){for(var ie={},re=le.split(" "),ce=0;ce<re.length;++ce)ie[re[ce]]=!0;return ie}var M=I("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),R=/[\+\-\*\/!~&|^%=?:<>]/,T=/[\[\]{}()]/,N=/\d[0-9_]*/,F=/\d*\s*'s?d\s*\d[0-9_]*/i,y=/\d*\s*'s?b\s*[xz01][xz01_]*/i,x=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,O=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,L=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,W=/^((\w+)|[)}\]])/,j=/[)}\]]/,H,K,$=I("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),V={};for(var z in $)V[z]="end"+z;V.begin="end",V.casex="endcase",V.casez="endcase",V.do="while",V.fork="join;join_any;join_none",V.covergroup="endgroup";for(var X in m){var z=m[X];V[z]&&(V[z]=void 0)}var Z=I("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function Y(le,ie){var re=le.peek(),ce;if(w[re]&&(ce=w[re](le,ie))!=!1||w.tokenBase&&(ce=w.tokenBase(le,ie))!=!1)return ce;if(/[,;:\.]/.test(re))return H=le.next(),null;if(T.test(re))return H=le.next(),"bracket";if(re=="`")return le.next(),le.eatWhile(/[\w\$_]/)?"def":null;if(re=="$")return le.next(),le.eatWhile(/[\w\$_]/)?"meta":null;if(re=="#")return le.next(),le.eatWhile(/[\d_.]/),"def";if(re=='"')return le.next(),ie.tokenize=Q(re),ie.tokenize(le,ie);if(re=="/"){if(le.next(),le.eat("*"))return ie.tokenize=q,q(le,ie);if(le.eat("/"))return le.skipToEnd(),"comment";le.backUp(1)}if(le.match(L)||le.match(F)||le.match(y)||le.match(x)||le.match(O)||le.match(N)||le.match(L))return"number";if(le.eatWhile(R))return"meta";if(le.eatWhile(/[\w\$_]/)){var ve=le.current();return M[ve]?(V[ve]&&(H="newblock"),Z[ve]&&(H="newstatement"),K=ve,"keyword"):"variable"}return le.next(),null}function Q(le){return function(ie,re){for(var ce=!1,ve,ge=!1;(ve=ie.next())!=null;){if(ve==le&&!ce){ge=!0;break}ce=!ce&&ve=="\\"}return(ge||!(ce||E))&&(re.tokenize=Y),"string"}}function q(le,ie){for(var re=!1,ce;ce=le.next();){if(ce=="/"&&re){ie.tokenize=Y;break}re=ce=="*"}return"comment"}function ee(le,ie,re,ce,ve){this.indented=le,this.column=ie,this.type=re,this.align=ce,this.prev=ve}function oe(le,ie,re){var ce=le.indented,ve=new ee(ce,ie,re,null,le.context);return le.context=ve}function se(le){var ie=le.context.type;return(ie==")"||ie=="]"||ie=="}")&&(le.indented=le.context.indented),le.context=le.context.prev}function he(le,ie){if(le==ie)return!0;var re=ie.split(";");for(var ce in re)if(le==re[ce])return!0;return!1}function fe(){var le=[];for(var ie in V)if(V[ie]){var re=V[ie].split(";");for(var ce in re)le.push(re[ce])}var ve=new RegExp("[{}()\\[\\]]|("+le.join("|")+")$");return ve}return{electricInput:fe(),startState:function(le){var ie={tokenize:null,context:new ee((le||0)-v,0,"top",!1),indented:0,startOfLine:!0};return w.startState&&w.startState(ie),ie},token:function(le,ie){var re=ie.context;if(le.sol()&&(re.align==null&&(re.align=!1),ie.indented=le.indentation(),ie.startOfLine=!0),w.token){var ce=w.token(le,ie);if(ce!==void 0)return ce}if(le.eatSpace())return null;H=null,K=null;var ce=(ie.tokenize||Y)(le,ie);if(ce=="comment"||ce=="meta"||ce=="variable")return ce;if(re.align==null&&(re.align=!0),H==re.type)se(ie);else if(H==";"&&re.type=="statement"||re.type&&he(K,re.type))for(re=se(ie);re&&re.type=="statement";)re=se(ie);else if(H=="{")oe(ie,le.column(),"}");else if(H=="[")oe(ie,le.column(),"]");else if(H=="(")oe(ie,le.column(),")");else if(re&&re.type=="endcase"&&H==":")oe(ie,le.column(),"statement");else if(H=="newstatement")oe(ie,le.column(),"statement");else if(H=="newblock"&&!(K=="function"&&re&&(re.type=="statement"||re.type=="endgroup"))){if(!(K=="task"&&re&&re.type=="statement")){var ve=V[K];oe(ie,le.column(),ve)}}return ie.startOfLine=!1,ce},indent:function(le,ie){if(le.tokenize!=Y&&le.tokenize!=null)return p.Pass;if(w.indent){var re=w.indent(le);if(re>=0)return re}var ce=le.context,ve=ie&&ie.charAt(0);ce.type=="statement"&&ve=="}"&&(ce=ce.prev);var ge=!1,Te=ie.match(W);return Te&&(ge=he(Te[0],ce.type)),ce.type=="statement"?ce.indented+(ve=="{"?0:f):j.test(ce.type)&&ce.align&&!g?ce.column+(ge?0:1):ce.type==")"&&!ge?ce.indented+f:ce.indented+(ge?0:v)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),p.defineMIME("text/x-verilog",{name:"verilog"}),p.defineMIME("text/x-systemverilog",{name:"verilog"});var d={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},n={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},e=3,t=!1,r=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,i=/^[! ] /,s=/^[! ] */,a=/^\/[\/\*]/;function o(c,h,v){var f=h/e;return"tlv-"+c.tlvIndentationStyle[f]+"-"+v}function u(c){var h;return(h=c.match(r,!1))&&h[2].length>0}p.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(c,h){var v=void 0,f;if(c.sol()&&!h.tlvInBlockComment){c.peek()=="\\"&&(v="def",c.skipToEnd(),c.string.match(/\\SV/)?h.tlvCodeActive=!1:c.string.match(/\\TLV/)&&(h.tlvCodeActive=!0)),h.tlvCodeActive&&c.pos==0&&h.indented==0&&(f=c.match(s,!1))&&(h.indented=f[0].length);var g=h.indented,m=g/e;if(m<=h.tlvIndentationStyle.length){var E=c.string.length==g,w=m*e;if(w<c.string.length){var I=c.string.slice(w),M=I[0];n[M]&&(f=I.match(r))&&d[f[1]]&&(g+=e,M=="\\"&&w>0||(h.tlvIndentationStyle[m]=n[M],t&&(h.statementComment=!1),m++))}if(!E)for(;h.tlvIndentationStyle.length>m;)h.tlvIndentationStyle.pop()}h.tlvNextIndent=g}if(h.tlvCodeActive){var R=!1;t&&(R=c.peek()!=" "&&v===void 0&&!h.tlvInBlockComment&&c.column()==h.tlvIndentationStyle.length*e,R&&(h.statementComment&&(R=!1),h.statementComment=c.match(a,!1)));var f;if(v!==void 0)v+=" "+o(h,0,"scope-ident");else if(c.pos/e<h.tlvIndentationStyle.length&&(f=c.match(c.sol()?i:/^ /)))v="tlv-indent-"+(c.pos%2==0?"even":"odd")+" "+o(h,c.pos-e,"indent"),f[0].charAt(0)=="!"&&(v+=" tlv-alert-line-prefix"),u(c)&&(v+=" "+o(h,c.pos,"before-scope-ident"));else if(h.tlvInBlockComment)c.match(/^.*?\*\//)?(h.tlvInBlockComment=!1,t&&!c.eol()&&(h.statementComment=!1)):c.skipToEnd(),v="comment";else if((f=c.match(a))&&!h.tlvInBlockComment)f[0]=="//"?c.skipToEnd():h.tlvInBlockComment=!0,v="comment";else if(f=c.match(r)){var T=f[1],N=f[2];d.hasOwnProperty(T)&&(N.length>0||c.eol())?(v=d[T],c.column()==h.indented&&(v+=" "+o(h,c.column(),"scope-ident"))):(c.backUp(c.current().length-1),v="tlv-default")}else c.match(/^\t+/)?v="tlv-tab":c.match(/^[\[\]{}\(\);\:]+/)?v="meta":(f=c.match(/^[mM]4([\+_])?[\w\d_]*/))?v=f[1]=="+"?"tlv-m4-plus":"tlv-m4":c.match(/^ +/)?c.eol()?v="error":v="tlv-default":c.match(/^[\w\d_]+/)?v="number":(c.next(),v="tlv-default");R&&(v+=" tlv-statement")}else c.match(/^[mM]4([\w\d_]*)/)&&(v="tlv-m4");return v},indent:function(c){return c.tlvCodeActive==!0?c.tlvNextIndent:-1},startState:function(c){c.tlvIndentationStyle=[],c.tlvCodeActive=!0,c.tlvNextIndent=-1,c.tlvInBlockComment=!1,t&&(c.statementComment=!1)}}})};return C},_,P),_.exports=S},21332:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";function C(d){for(var n={},e=d.split(","),t=0;t<e.length;++t){var r=e[t].toUpperCase(),i=e[t].charAt(0).toUpperCase()+e[t].slice(1);n[e[t]]=!0,n[r]=!0,n[i]=!0}return n}function A(d){return d.eatWhile(/[\w\$_]/),"meta"}var p=function(n){n.defineMode("vhdl",function(e,t){var r=e.indentUnit,i=t.atoms||C("null"),s=t.hooks||{"`":A,$:A},a=t.multiLineStrings,o=C("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),u=C("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),c=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/,h,v=!1;function f(R,T){var N=R.next();if(s[N]){var F=s[N](R,T);if(F!==!1)return F}if(v)return v=!1,R.eatWhile(/[\w_]/),"keyword";if(N=='"')return T.tokenize=E(N),T.tokenize(R,T);if(N=="'")return T.tokenize=m(N),T.tokenize(R,T);if(/[\[\]{}\(\),;\:\.]/.test(N))return N==":"&&R.peek()=="="?(R.eatWhile(c),"operator"):(h=N,null);if(/[\d']/.test(N))return R.eatWhile(/[\w\.']/),"number";if(N=="-"&&R.eat("-"))return R.skipToEnd(),"comment";if(c.test(N))return R.eatWhile(c),"operator";R.eatWhile(/[\w\$_]/);var y=R.current();return o.propertyIsEnumerable(y.toLowerCase())?(u.propertyIsEnumerable(y)&&(h="newstatement"),"keyword"):i.propertyIsEnumerable(y)?"atom":(g(R.peek()),"variable")}function g(R){R=="'"&&(v=!0)}function m(R){return function(T,N){for(var F=!1,y,x=!1;(y=T.next())!=null;){if(y==R&&!F){x=!0;break}F=!F&&y=="--"}return(x||!(F||a))&&(N.tokenize=f),"string"}}function E(R){return function(T,N){for(var F=!1,y,x=!1;(y=T.next())!=null;){if(y==R&&!F){x=!0;break}F=!F&&y=="--"}return(x||!(F||a))&&(N.tokenize=f),"string-2"}}function w(R,T,N,F,y){this.indented=R,this.column=T,this.type=N,this.align=F,this.prev=y}function I(R,T,N){return R.context=new w(R.indented,T,N,null,R.context)}function M(R){var T=R.context.type;return(T==")"||T=="]"||T=="}")&&(R.indented=R.context.indented),R.context=R.context.prev}return{startState:function(R){return{tokenize:null,context:new w((R||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(R,T){var N=T.context;if(R.sol()&&(N.align==null&&(N.align=!1),T.indented=R.indentation(),T.startOfLine=!0),R.eatSpace())return null;h=null;var F=(T.tokenize||f)(R,T);if(F=="comment"||F=="meta")return F;if(N.align==null&&(N.align=!0),(h==";"||h==":")&&N.type=="statement")M(T);else if(h=="{")I(T,R.column(),"}");else if(h=="[")I(T,R.column(),"]");else if(h=="(")I(T,R.column(),")");else if(h=="}"){for(;N.type=="statement";)N=M(T);for(N.type=="}"&&(N=M(T));N.type=="statement";)N=M(T)}else h==N.type?M(T):(N.type=="}"||N.type=="top"||N.type=="statement"&&h=="newstatement")&&I(T,R.column(),"statement");return T.startOfLine=!1,F},indent:function(R,T){if(R.tokenize!=f&&R.tokenize!=null)return 0;var N=T&&T.charAt(0),F=R.context,y=N==F.type;return F.type=="statement"?F.indented+(N=="{"?0:r):F.align?F.column+(y?0:1):F.indented+(y?0:r)},electricChars:"{}"}}),n.defineMIME("text/x-vhdl","vhdl")};return p},_,P),_.exports=S},50822:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},A={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},p=function(n){n.defineMode("xml",function(e,t){var r=e.indentUnit,i={},s=t.htmlMode?C:A;for(var a in s)i[a]=s[a];for(var a in t)i[a]=t[a];var o,u;function c(L,W){function j($){return W.tokenize=$,$(L,W)}var H=L.next();if(H=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?j(f("xml atom","]]>")):null:L.match("--")?j(f("xml comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),j(g(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),W.tokenize=f("xml meta","?>"),"xml meta"):(o=L.eat("/")?"closeTag":"openTag",W.tokenize=h,"xml tag bracket");if(H=="&"){var K;return L.eat("#")?L.eat("x")?K=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):K=L.eatWhile(/[\d]/)&&L.eat(";"):K=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),K?"xml character":"xml error"}else return L.eatWhile(/[^&<]/),null}c.isInText=!0;function h(L,W){var j=L.next();if(j==">"||j=="/"&&L.eat(">"))return W.tokenize=c,o=j==">"?"endTag":"selfcloseTag","xml tag bracket";if(j=="=")return o="equals","xml operator";if(j=="<"){W.tokenize=c,W.state=I,W.tagName=W.tagStart=null;var H=W.tokenize(L,W);return"xml error"}else return/[\'\"]/.test(j)?(W.tokenize=v(j),W.stringStartCol=L.column(),W.tokenize(L,W)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function v(L){var W=function(j,H){for(;!j.eol();)if(j.next()==L){H.tokenize=h;break}return"xml string"};return W.isInAttribute=!0,W}function f(L,W){return function(j,H){for(;!j.eol();){if(j.match(W)){H.tokenize=c;break}j.next()}return L}}function g(L){return function(W,j){for(var H;(H=W.next())!=null;){if(H=="<")return j.tokenize=g(L+1),j.tokenize(W,j);if(H==">")if(L==1){j.tokenize=c;break}else return j.tokenize=g(L-1),j.tokenize(W,j)}return"xml doctype"}}function m(L,W,j){this.prev=L.context,this.tagName=W,this.indent=L.indented,this.startOfLine=j,(i.doNotIndent.hasOwnProperty(W)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function E(L){L.context&&(L.context=L.context.prev)}function w(L,W){for(var j;;){if(!L.context||(j=L.context.tagName,!i.contextGrabbers.hasOwnProperty(j)||!i.contextGrabbers[j].hasOwnProperty(W)))return;E(L)}}function I(L,W,j){return L=="openTag"?(j.tagStart=W.column(),M):L=="closeTag"?R:I}function M(L,W,j){return L=="word"?(j.tagName=W.current(),u="xml tag",F):i.allowMissingTagName&&L=="endTag"?(u="xml tag bracket",F(L,W,j)):(u="xml error",M)}function R(L,W,j){if(L=="word"){var H=W.current();return j.context&&j.context.tagName!=H&&i.implicitlyClosed.hasOwnProperty(j.context.tagName)&&E(j),j.context&&j.context.tagName==H||i.matchClosing===!1?(u="xml tag",T):(u="xml error",N)}else return i.allowMissingTagName&&L=="endTag"?(u="xml tag bracket",T(L,W,j)):(u="xml error",N)}function T(L,W,j){return L!="endTag"?(u="xml error",T):(E(j),I)}function N(L,W,j){return u="xml error",T(L,W,j)}function F(L,W,j){if(L=="word")return u="xml attribute",y;if(L=="endTag"||L=="selfcloseTag"){var H=j.tagName,K=j.tagStart;return j.tagName=j.tagStart=null,L=="selfcloseTag"||i.autoSelfClosers.hasOwnProperty(H)?w(j,H):(w(j,H),j.context=new m(j,H,K==j.indented)),I}return u="xml error",F}function y(L,W,j){return L=="equals"?x:(i.allowMissing||(u="xml error"),F(L,W,j))}function x(L,W,j){return L=="xml string"?O:L=="word"&&i.allowUnquoted?(u="xml string",F):(u="xml error",F(L,W,j))}function O(L,W,j){return L=="xml string"?O:F(L,W,j)}return{startState:function(L){var W={tokenize:c,state:I,indented:L||0,tagName:null,tagStart:null,context:null};return L!=null&&(W.baseIndent=L),W},token:function(L,W){if(!W.tagName&&L.sol()&&(W.indented=L.indentation()),L.eatSpace())return null;o=null;var j=W.tokenize(L,W);return(j||o)&&j!="xml comment"&&(u=null,W.state=W.state(o||j,L,W),u&&(j=u)),j},indent:function(L,W,j){var H=L.context;if(L.tokenize.isInAttribute)return L.tagStart==L.indented?L.stringStartCol+1:L.indented+r;if(H&&H.noIndent)return n.Pass;if(L.tokenize!=h&&L.tokenize!=c)return j?j.match(/^(\s*)/)[0].length:0;if(L.tagName)return i.multilineTagIndentPastTag!==!1?L.tagStart+L.tagName.length+2:L.tagStart+r*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(W))return 0;var K=W&&/^<(\/)?([\w_:\.-]*)/.exec(W),$=!0;if(K&&K[1])for($=!1;H&&i.implicitlyClosed.hasOwnProperty(H.tagName);)H=H.prev;else if(K)for(;H;){var V=i.contextGrabbers[H.tagName];if(V&&V.hasOwnProperty(K[2]))H=H.prev;else break}for(;H&&H.prev&&!H.startOfLine;)H=H.prev;if(H){var z=$?r:0;return H.indent+z}return L.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(L){L.state==x&&(L.state=F)}}}),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})};return p},_,P),_.exports=S},81896:(_,P,l)=>{var b,S;b=[l(69961),l(18203),l(65724)],S=l.dj.d(b,function(C,A,p){var d=window,n=null;return{supportsLocalStorage:function(){var e=d&&typeof d.localStorage!==void 0&&d.localStorage!==null;if(e)try{d.localStorage.setItem("motw.test.local.storage","0"),d.localStorage.removeItem("motw.test.local.storage")}catch(t){e=!1}return e},_hasNewIE:function(e){var t;return e&&!A("ie")&&A("trident")>0?t=parseFloat(e.split("rv:")[1]):e&&e.indexOf("Edge")>0?t="Edge "+parseFloat(e.split("Edge/")[1]):t="",t},_getBrowserInfo:function(e){var t,r={BROWSER:"OTHER",BROWSER_VER:"OTHER"},i,s={IE:"Microsoft Internet Explorer",FF:"Mozilla Firefox",Chrome:"Google Chrome",Safari:"Apple Safari"};if(t=this._hasNewIE(e),t)r.BROWSER=s.IE,r.BROWSER_VER=t.toString();else for(i in s)if(s.hasOwnProperty(i)&&A(i.toLowerCase())){t=A(i.toLowerCase()),r.BROWSER=s[i],r.BROWSER_VER=t.toString(),(i==="Chrome"||i==="Safari")&&(r.WEBKIT_VER=A("webkit").toString());break}return r},getSystemInfo:function(){var e={},t={};try{e.DEVICE="",e.LOCALE=d.navigator.language,e.OS=d.navigator.platform,e.PLATFORM=d.navigator.platform,e.SCREEN_RESOLUTION=d.screen.width+"x"+d.screen.height,e.WINDOW_RESOLUTION=d.innerWidth+"x"+d.innerHeight,e.USER_AGENT=d.navigator.userAgent,t=this._getBrowserInfo(d.navigator.appVersion),e=C.mixin(e,t)}catch(r){}return e},setClassName:function(e,t){if(p.add(e,"mw_type_"+(t.type||"unknownType")),p.add(e,"mw_type_Component"),t.name){var r="mw_name_"+(t.name.trim().replace(/[^a-zA-Z0-9]/g,"_")||"NO_NAME");p.contains(e,r)||(e.className=e.className.replace(/mw_name_[^ ]*/,""),p.add(e,r))}},isInFocus:function(e){return typeof d.document.activeElement!="unknown"?e===d.document.activeElement:!1},getScrollbarWidth:function(){if(n===null){var e=document.createElement("div");e.className="scrollbar-measure",e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;document.body.removeChild(e),t+=2,n=t}return n}}},_,P),_.exports=S},62479:(_,P,l)=>{"use strict";var b,S;b=[l(2860),l(57539),l(32948)],S=l.dj.d(b,function(C,A,p){class d{constructor(){this._cacheDataTransfer=new C}set(e){e&&(this._cacheDataTransfer=e)}clear(){this._cacheDataTransfer=new C}static clone(e){let t=new C;if(e.types.forEach(function(r){r!==p.FILES&&t.setData(r,e.getData(r))}),!e.items)return t;for(let r=0;r<e.items.length;r++){let i=e.items[r];if(i.kind===p.KIND_FILE){let s=i.getAsFile();t.items.add(s)}}return t}get(){return this._cacheDataTransfer}isEmpty(){return!this._cacheDataTransfer}validate(e){if(e.types.length===0&&e.files.length===0)return!0;let t=this.get(),r=Array.from(e.items).map(o=>o.type),i=Array.from(t.items).map(o=>o.type);return!r.every(o=>i.includes(o))||e.files.length>0&&t.files.length>0?!1:r.every(o=>{let u=e.getData(o),c=t.getData(o);return o===p.TEXT_HTML?this._validateHTML(u,c):e.getData(o)===t.getData(o)})}_validateHTML(e,t){const r=new DOMParser;let i=r.parseFromString(t,p.TEXT_HTML).body,s=this._getChildNodes(i),a=r.parseFromString(e,p.TEXT_HTML).body,o=this._getChildNodes(a);return s.length!==o.length?!1:s.every((c,h)=>{let v=o[h];return v.tagName!==c.tagName?!1:c.childNodes.length>0?!0:v.textContent===c.textContent})}_getChildNodes(e){let t=[];e instanceof window.Text&&e.textContent.trim()===""||t.push(e);for(let r=0;r<(e.childNodes&&e.childNodes.length);r++){let i=e.childNodes[r];t=t.concat(this._getChildNodes(i))}return t}mix(e){let t=new C,r=this.get(),i=new Map;for(let s=0;s<e.items.length;s++){let a=e.items[s],{kind:o,type:u}=a;i.set("".concat(o,"_").concat(u),!0),this._addItems(a,e,t)}for(let s=0;s<r.items.length;s++){let a=r.items[s],{kind:o,type:u}=a;i.has("".concat(o,"_").concat(u))||this._addItems(a,r,t)}this.set(t)}_addItems(e,t,r){let{kind:i,type:s}=e;if(i===p.KIND_FILE){let a=e.getAsFile();r.items.add(a)}else if(i===p.KIND_STRING){let a=t.getData(s);r.items.add(a,s)}}}return d},_,P),_.exports=S},32264:(_,P,l)=>{"use strict";var b,S;b=[l(69794),l(12716)],S=l.dj.d(b,function(C,A){let p,d;return{getInstance:function(t){return t&&t.isLocalServer?(d||(d=new C),d):(p||(p=new A),p)}}},_,P),_.exports=S},2860:(_,P,l)=>{"use strict";var b,S;b=[l(57539),l(98907),l(11451),l(46666),l(22928)],S=l.dj.d(b,function(C,A,p,d,n){class e{constructor(){C.isDataTransferConstructor()?this._dataTransfer=new window.DataTransfer:this._dataTransfer=new A}getData(...r){return this._dataTransfer.getData(...r)}setData(r,i){return i=String(i),this._dataTransfer.setData(r,i)}get types(){return this._dataTransfer.types}get files(){return this._dataTransfer.files}get items(){return this._dataTransfer.items}static createInstance(r){return r}static isDataTransferValid(r){return C.isDataTransferValid(r)}static getDataTransferString(r){return C.getDataTransferString(r)}static convertBase64ToBlob(r,i){return p.convert(r,i)}setUrls(r){if(!Array.isArray(r)){n.warn("DataTransfer setUrls accepts array format");return}this._urlList=r;let i="";r.length>0&&(i=r.reduce((s,a)=>"".concat(s,`\r
`).concat(a))),this.setData(d.MIME_TYPES.TEXT_URI_LIST,i)}getUrls(){let r=this.getData(d.MIME_TYPES.TEXT_URI_LIST),i=[];return r?(r.includes(`\r
`)?i=r.split(`\r
`):r.includes(`
`)?i=r.split(`
`):i=[r],i.filter(s=>s.trim().charAt("0")!=="#")):i}setAction(r){r=r.toLowerCase(),Object.values(d.ACTIONS.DataTransfer).includes(r)||n.warn("Pass move or copy actions to dataTransfer.setAction"),this.setData(d.MIME_TYPES.ACTION,r)}getAction(){return this.getData(d.MIME_TYPES.ACTION)||d.ACTIONS.DataTransfer.UNINITIALIZED}static printDataTransfer(r,i){n.debug("From ",i),n.debug("All types",r.types);for(let s=0;s<r.items.length;s++){let a=r.items[s];a.kind==="string"&&a.getAsString(function(o){n.debug("type",a.type,"kind",a.kind,"data",o)})}}}return e},_,P),_.exports=S},98907:(_,P,l)=>{"use strict";var b,S;b=[l(9321)],S=l.dj.d(b,function(C){"use strict";function A(i){return i.map(s=>String(s))}const p="string",d="file",n="Files";class e{constructor(){this._contentMap=new Map,this.items=new t(this._contentMap)}get files(){let s=[];for(let a=0;a<this.items.length;a++){let o=this.items[a];o.kind===d&&s.push(o.getAsFile())}return s}get types(){return Array.from(this._contentMap.keys())}setData(...s){C.validateArguments(s,2,"dataTransfer.setData");let[a,o]=A(s);this.items.add(o,a)}getData(...s){C.validateArguments(s,1,"dataTransfer.getData");let[a]=A(s);return a=a.toLowerCase(),this._contentMap.has(a)?this._contentMap.get(a):""}}class t{constructor(s){this._contentMap=s,this._nextIndex=0}add(...s){let[a,o]=s;o?([a,o]=s,o=o.toLowerCase()):o="",this[this._nextIndex]=new r(a,o,this._contentMap),this._nextIndex++}get length(){return this._nextIndex}}class r{constructor(s,a,o){s instanceof window.Blob?(this._kind=d,o.set(n,""),this._type=s.type):typeof s=="string"&&(this._kind=p,this._type=a,o.set(a,s)),this._data=s}get kind(){return this._kind}get type(){return this._type}getAsString(s){this._data instanceof String&&s(this._data)}getAsFile(){if(this._data instanceof window.Blob)return this._data}}return e},_,P),_.exports=S},12716:(_,P,l)=>{"use strict";var b,S;function C(d,n){var e=Object.keys(d);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(d);n&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(d,r).enumerable})),e.push.apply(e,t)}return e}function A(d){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?C(Object(e),!0).forEach(function(t){p(d,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(e)):C(Object(e)).forEach(function(t){Object.defineProperty(d,t,Object.getOwnPropertyDescriptor(e,t))})}return d}function p(d,n,e){return n in d?Object.defineProperty(d,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[n]=e,d}b=[l(7307),l(9321),l(62479),l(46666),l(60685),l(36745)],S=l.dj.d(b,function(d,n,e,t,r,i){class s extends r{constructor(o){super(),this._clientClipboardService=new d,this._cache=new e}get MIME_TYPES(){return t.MIME_TYPES}write(o){if(n.validateWrite(o),!o.dataTransfer){let c=new DataTransfer;i.convertContentMapToDataTransfer(o.contentMap,c),o=A(A({},o),{},{dataTransfer:c})}let u=e.clone(o.dataTransfer);return o=A(A({},o),{},{dataTransfer:u}),this._cache.set(u),this._clientClipboardService.write(o).then(c=>c,this._handleWriteFailure)}_handleWriteFailure(o){return{status:t.StatusEnum.success.writeLocal,message:o.message}}read(...o){return this._clientClipboardService.read(...o).then(this._handleReadSuccess.bind(this),this._handleReadFailure.bind(this))}async _handleReadSuccess(o){let{dataTransfer:u}=o;this._cache.validate(u)?this._cache.mix(u):this._cache.set(u),u=this._cache.get();let h=await i.convertDataTransferToContentMap(u);return A(A({},o),{},{dataTransfer:u,contentMap:h})}async _handleReadFailure(o){let u=this._cache.get(),c=await i.convertDataTransferToContentMap(u);return A(A({},o),{},{status:t.StatusEnum.success.readLocal,dataTransfer:u,contentMap:c})}readTypes(...o){return this._clientClipboardService.readTypes(...o)}}return s},_,P),_.exports=S},7307:(_,P,l)=>{"use strict";var b,S;b=[l(9735),l(25278),l(55886),l(45734),l(69301),l(57539),l(9321),l(46666),l(86683)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){"use strict";const s=r.StatusEnum,a=r.TypeMetaDataEnum,o=r.MIME_TYPES;class u{constructor(){this._isNavigatorWriteTextSupported=p.isWriteTextSupported(),this._isNavigatorWriteSupported=p.isWriteSupported(),this._isNavigatorReadSupported=p.isReadSupported()}write(h){let{dataTransfer:v,event:f,useNavigatorClipboard:g}=h;return this._writeDataTransfer(v,f,g)}_writeDataTransfer(h,v,f){let g=e.getMimeMetaData(h,v,f);return{[a.ONLY_TEXT]:this._writeText.bind(this),[a.FROM_COPY_EVENT]:this._writeUsingCopyEvent.bind(this),[a.CONTAINS_IMAGE]:this._writeImageUsingNavigatorService.bind(this),[a.OTHERS]:this._writeOtherTypes.bind(this),[a.useNavigatorClipboard]:this._useOnlyNavigatorClipboard.bind(this)}[g](h,v)}_writeUsingCopyEvent(h,v){return e.setEventClipboardData(v.clipboardData.items,h),Promise.resolve({status:s.success.write})}_writeText(h){return this._isNavigatorWriteTextSupported?this._writeUsingNavigator(h,!0):this._writeOtherTypes(h)}_writeOtherTypes(h){return new C(h).write(h)}_writeImageUsingNavigatorService(h){return this._isNavigatorWriteSupported?this._writeUsingNavigator(h):(!h.types.includes(o.TEXT_PLAIN)&&h.files.length>0&&h.setData(o.TEXT_PLAIN,h.files[0].name),this._writeOtherTypes(h))}_useOnlyNavigatorClipboard(h){return this._isNavigatorWriteTextSupported&&e.hasOnlyTextMimeType(h)?this._writeUsingNavigator(h,!0):this._isNavigatorWriteSupported?this._writeUsingNavigator(h):Promise.reject(new Error("Navigator clipboard is not supported"))}_writeUsingNavigator(h,v){let f=new n(h);return v?f.writeText():f.write()}read(h){let v=h&&h.event;return this._isEventFromPaste(v)?new A(h).read():this._isNavigatorReadSupported?new d().read():Promise.reject(new Error("Navigator clipboard is not supported"))}readTypes(h){return Promise.resolve({types:[r.MIME_TYPES.INDETERMINATE_TYPE]})}_isEventFromPaste(h){return h&&i.isEventRunningNow(h)&&(i.isPasteEvent(h)||i.isPasteKeyDown(h))}}return u},_,P),_.exports=S},45734:(_,P,l)=>{"use strict";var b,S;b=[l(23558),l(2860),l(19372),l(22928)],S=l.dj.d(b,function(C,A,p,d){"use strict";class n{constructor(){this._onSuccess=this._onSuccess.bind(this),this._onFailure=this._onFailure.bind(this),this._processClipboardDataTransfer=this._processClipboardDataTransfer.bind(this)}read(){return navigator.clipboard.read().then(this._onSuccess,this._onFailure)}_onFailure(t){throw d.warn(t&&t.message),new Error(t.message)}_onSuccess(t){return this._processClipboardItems(t)}_processClipboardItems(t){return this._dataTransfer=new A,C.clipboardItemsToDataTransfer(t,this._dataTransfer).then(this._processClipboardDataTransfer)}_processClipboardDataTransfer(){return{status:p.success.readGlobal,message:p.navigator.successMessage,dataTransfer:this._dataTransfer}}}return n},_,P),_.exports=S},55886:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){let C={isWriteSupported(){if(C.isCefClientSupported())return!1;let{navigator:A,ClipboardItem:p}=window;return!!(A&&A.clipboard&&A.clipboard.write&&p)},isReadSupported(){if(C.isCefClientSupported())return!1;let{navigator:A,ClipboardItem:p}=window;return!!(A&&A.clipboard&&A.clipboard.read&&p)},isWriteTextSupported(){if(C.isCefClientSupported())return!1;let{navigator:A}=window;return!!(A&&A.clipboard&&A.clipboard.writeText)},isCefClientSupported(){if(window.cefclient)return!0}};return C},_,P),_.exports=S},69301:(_,P,l)=>{"use strict";var b,S;b=[l(23558),l(19372),l(22928)],S=l.dj.d(b,function(C,A,p){"use strict";class d{constructor(e){this._dataTransfer=e,this._onSuccess=()=>({status:A.success.writeGlobal,message:A.navigator.successMessage}),this._onFailure=t=>{throw p.warn(t&&t.message),new Error(t.message)}}writeText(){let e=this._dataTransfer.getData("text/plain");return navigator.clipboard.writeText(e).then(this._onSuccess,this._onFailure)}write(){let e=C.convertToClipboardItem(this._dataTransfer);return navigator.clipboard.write([e]).then(this._onSuccess,this._onFailure)}}return d},_,P),_.exports=S},25278:(_,P,l)=>{"use strict";var b,S;b=[l(19372),l(2860),l(62479),l(17197),l(86683),l(22928)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";class e{constructor(r){this._event=r.event,this._removePasteListener=()=>{}}read(){let r={paste:this._handleEventFromPaste.bind(this),keydown:this._handleEventFromKeyDown.bind(this)},i=this._getHandlersType(),s=new Promise((a,o)=>{this._resolve=a,this._reject=o});return r[i](),s}_handleEventFromPaste(){let r=this._createDataTransferFromPasteEvent(this._event),i=p.clone(r);this._handlePasteSuccess(i)}_handleEventFromKeyDown(){let r=this._getReadPromise(),i=this._createTimeout();r.then(s=>{this._removePasteListener(),clearTimeout(i),this._handlePasteSuccess(s)},()=>{this._removePasteListener(),this._handlePasteFailure()})}_getHandlersType(){let r=this._event;if(n.isPasteEvent(r))return"paste";if(n.isPasteKeyDown(r))return"keydown"}_handlePasteSuccess(r){this._resolve({message:C.browserEvents.successMessage,status:C.success.readGlobal,dataTransfer:r})}_handlePasteFailure(){this._reject(new Error(C.browserEvents.failureMessage))}_getReadPromise(){return new Promise((r,i)=>{n.isPasteKeyDown(this._event)&&(this._removePasteListener=d.addEventListener(document,"paste",s=>{let a=this._createDataTransferFromPasteEvent(s),o=p.clone(a);r(o)})),this._rejectReadPromise=i})}_createDataTransferFromPasteEvent(r){return A.createInstance(r.clipboardData)}_createTimeout(){return setTimeout(()=>{this._rejectReadPromise(new Error)},1e3)}}return e},_,P),_.exports=S},9735:(_,P,l)=>{"use strict";var b,S;b=[l(17197),l(57539),l(19372),l(2860)],S=l.dj.d(b,function(C,A,p,d){class n{constructor(t){this._textarea=C.createTextBox(),this._dataTransfer=t}write(){return new Promise((t,r)=>{this._resolve=t,this._reject=r,this._triggerCopy()})}_triggerCopy(){this._removeEventListener=C.addEventListener(this._textarea,"copy",this._handleWriteSuccess.bind(this)),C.copy(this._textarea)||this._handleWriteFailure()}_handleWriteSuccess(t){A.setEventClipboardData(t.clipboardData.items,this._dataTransfer),t.preventDefault(),t.stopPropagation(),this._removeListenerAndRemoveTextbox(),this._resolve({status:p.success.writeGlobal,message:p.browserEvents.successMessage})}_handleWriteFailure(){this._removeListenerAndRemoveTextbox(),this._reject(new Error(p.browserEvents.failureMessage))}_removeListenerAndRemoveTextbox(){this._removeEventListener(),C.destroy(this._textarea)}}return n},_,P),_.exports=S},94680:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({DataTransfer:{COPY:"copy",MOVE:"move",UNINITIALIZED:"uninitialized"},WRITE_TO_CACHE:"WRITE_TO_CACHE",READ_FROM_CACHE:"READ_FROM_CACHE",FAIL_READ:"FAIL_READ"})},_,P),_.exports=S},64997:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({clipboardDataChange:"clipboardDataChange",clipboardChange:"clipboardChange"})},_,P),_.exports=S},32948:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({TEXT_HTML:"text/html",TEXT_PLAIN:"text/plain",TEXT_URI_LIST:"text/uri-list",IMAGE:"image/*",INDETERMINATE_TYPE:"INDETERMINATE_TYPE",FILES:"Files",KIND_FILE:"file",KIND_STRING:"string",ACTION:"application/mw-clipboard-action"})},_,P),_.exports=S},19372:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({navigator:{successMessage:"Action success using navigator.clipboard",failureMessage:"Action failure using navigator.clipboard"},browserEvents:{successMessage:"Action success using browser copy event",failureMessage:"Action failure using browser copy event"},messageService:{successMessage:"Action success using message service",failureMessage:"Action failure using message service"},success:{writeGlobal:"CLIPBOARD_WRITE_SUCCESS_GLOBAL",writeLocal:"CLIPBOARD_WRITE_SUCCESS_LOCAL",readLocal:"CLIPBOARD_READ_SUCCESS_LOCAL",readGlobal:"CLIPBOARD_READ_SUCCESS_GLOBAL"}})},_,P),_.exports=S},61610:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({ONLY_TEXT:"ONLY_TEXT",CONTAINS_IMAGE:"CONTAINS_IMAGE",FROM_COPY_EVENT:"FROM_COPY_EVENT",OTHERS:"OTHERS",DATA_KIND_STRING:"string",DATA_KIND_FILE:"file",useNavigatorClipboard:"useNavigatorClipboard"})},_,P),_.exports=S},46666:(_,P,l)=>{"use strict";var b,S;b=[l(19372),l(61610),l(32948),l(94680),l(64997)],S=l.dj.d(b,function(C,A,p,d,n){return{StatusEnum:C,TypeMetaDataEnum:A,MIME_TYPES:p,ACTIONS:d,EventsEnum:n}},_,P),_.exports=S},32009:(_,P,l)=>{"use strict";var b,S;b=[l(59940),l(92510),l(46666),l(28663),l(60685)],S=l.dj.d(b,function(C,A,p,d,n){let e;const{baseChannel:t,writeChannel:r,readChannel:i,readTypesChannel:s,clipboardChange:a}=d;class o extends n{constructor(){super(),this._requestId=A.generateUuid(),this._map=new Map,this._onSubscribe=this._onSubscribe.bind(this),this._subscribe("".concat(r.response,"/*"),this._onSubscribe),this._subscribe("".concat(i.response,"/*"),this._onSubscribe),this._subscribe("".concat(s.response,"/*"),this._onSubscribe)}write(c){return this._publish(r.request,{contents:c})}read(c){return this._publish(i.request,c)}readTypes(){return this._publish(s.request)}_publish(c,h){let v=A.generateUuid();return new Promise((g,m)=>{let E={uid:v,requestId:this._requestId};h&&Object.assign(E,h),this._map.set(v,{resolve:g,reject:m}),C.publish("".concat(t).concat(c),E)})}_subscribe(c,h){let v="".concat(t).concat(c);C.subscribe(v,h)}_onSubscribe(c){let h=c.channel||"",v=this._extractUID(h);if(!this._map.has(v))return;let{resolve:f}=this._map.get(v);f&&f(c),this._map.delete(v)}_extractUID(c){let h=c.split("/");if(h.length>=5)return h[4]}static getInstance(){return e||(C.start(),e=new o),e}setupClipboardListener(){this._subscribe(a.onChange,this._handleClipboardDataChange.bind(this)),C.publish("".concat(t).concat(a.request),{})}_handleClipboardDataChange(){this.emit(p.EventsEnum.clipboardChange,{})}}return o},_,P),_.exports=S},28663:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({baseChannel:"/v2/clipboardservice/",writeChannel:{request:"setClipboardDataRequest",response:"setClipboardDataResponse"},readChannel:{request:"getClipboardDataRequest",response:"getClipboardDataResponse"},readTypesChannel:{request:"requestAvailableDataFlavors",response:"sendAvailableDataFlavors"},clipboardChange:{request:"reqRegisterClipboardChange",response:"responseRegisterClipboardChange",onChange:"clipboardChange"}})},_,P),_.exports=S},69794:(_,P,l)=>{"use strict";var b,S;function C(d,n){var e=Object.keys(d);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(d);n&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(d,r).enumerable})),e.push.apply(e,t)}return e}function A(d){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?C(Object(e),!0).forEach(function(t){p(d,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(e)):C(Object(e)).forEach(function(t){Object.defineProperty(d,t,Object.getOwnPropertyDescriptor(e,t))})}return d}function p(d,n,e){return n in d?Object.defineProperty(d,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[n]=e,d}b=[l(4737),l(9321),l(62479),l(46666),l(22928),l(36745)],S=l.dj.d(b,function(d,n,e,t,r,i){class s{constructor(){this._cache=new e,this._serverClipboardService=new d(this._cache)}get MIME_TYPES(){return t.MIME_TYPES}write(o){if(n.validateWrite(o),o.dataTransfer){let u=e.clone(o.dataTransfer);o=A(A({},o),{},{dataTransfer:u})}return this._serverClipboardService.write(o).then(u=>u)}read(...o){return this._serverClipboardService.read(...o).then(this._handleReadSuccess.bind(this))}_handleReadSuccess(o){let{dataTransfer:u}=o;return this._cache.set(u),A(A({},o),{},{dataTransfer:u})}readTypes(...o){return this._serverClipboardService.readTypes(...o)}on(o,u){if(o!==t.EventsEnum.clipboardDataChange&&o!==t.EventsEnum.clipboardChange){r.warn("Server clipboard supports ".concat(t.EventsEnum.clipboardChange," and ").concat(t.EventsEnum.clipboardDataChange," events"));return}if(this._serverClipboardService.listeningClipboardChange||this._serverClipboardService.setupClipboardListener(),o===t.EventsEnum.clipboardChange)return this._serverClipboardService.on(t.EventsEnum.clipboardChange,u);if(o===t.EventsEnum.clipboardDataChange)return this._serverClipboardService.on(t.EventsEnum.clipboardDataChange,u)}}return s},_,P),_.exports=S},4737:(_,P,l)=>{"use strict";var b,S;b=[l(57539),l(36745),l(32009),l(46666),l(2860),l(60685),l(22928)],S=l.dj.d(b,function(C,A,p,d,n,e,t){const{StatusEnum:r,EventsEnum:i}=d;class s extends e{constructor(o){super(),this._serverCache=o,this._listeningClipboardChange=!1}setupClipboardListener(){let o=p.getInstance();o.setupClipboardListener(),o.on(i.clipboardChange,this._handleClipboardChange.bind(this)),this._listeningClipboardChange=!0}get listeningClipboardChange(){return this._listeningClipboardChange}async _handleClipboardChange(){if(!this.hasListeners(i.clipboardChange)&&!this.hasListeners(i.clipboardDataChange))return;const{dataTransfer:o}=await this.read(),u=this._serverCache.get();if(this._serverCache.set(o),this.emit(i.clipboardChange,{dataTransfer:o}),!this.hasListeners(i.clipboardDataChange))return;await C.compare(o,u)||this.emit(i.clipboardDataChange,{dataTransfer:o})}async write(o){try{let u=null;return o.dataTransfer?u=await C.convertDataTransferToServerFormat(o.dataTransfer):u=await A.convertContentMapToServerFormat(o.contentMap),await p.getInstance().write(u.contents),{status:r.success.writeGlobal,message:r.messageService.successMessage}}catch(u){return t.warn(u.message),{status:r.success.writeLocal,message:r.messageService.failureMessage}}}readTypes(){return p.getInstance().readTypes().then(this._handleTypesResponse)}_handleTypesResponse(o){let u=[];return o&&o.data&&o.data.flavors&&(u=o.data.flavors),{types:u}}read(o){const u={};return o&&Array.isArray(o.types)&&(u.flavors=[...o.types,d.MIME_TYPES.ACTION]),p.getInstance().read(u).then(this._handleReadSuccess)}_handleReadSuccess(o){let u=new n,c={};return o.data&&(C.convertServerFormatToDataTransfer(o.data,u),c=A.convertServerFormatToContentMap(o.data)),{status:r.success.readGlobal,message:r.messageService.successMessage,dataTransfer:u,contentMap:c}}}return s},_,P),_.exports=S},11451:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){function A(e){return atob(e)}function p(e,t){return Math.min(e+8,t)}function d(e,t){for(let r=0,i=0;r<e.length;r++){let s=p(i,t.length),a=new Array(s-i);n(a,t,i),e[r]=new window.Uint8Array(a),i=s}}function n(e,t,r){for(let i=0;i<e.length;i++)e[i]=t[r+i].charCodeAt(0)}return{convert(e,t){let r=A(e.trim()),i=Math.ceil(r.length/8),s=new Array(i);return d(s,r),new window.Blob(s,{type:t})}}},_,P),_.exports=S},36745:(_,P,l)=>{"use strict";var b,S;b=[l(57539),l(46666),l(23558),l(11451),l(38938)],S=l.dj.d(b,function(C,A,p,d,n){let{MIME_TYPES:e}=A;return{isContentMapValid(r){return!(!r||Object.prototype.toString.call(r)!=="[object Object]"||Object.keys(r).length===0)},convertContentMapToServerFormat(r){let i=[],s={[e.IMAGE]:(o,u)=>u?u instanceof HTMLImageElement?u.src:u:""};for(let o in r){if(p.checkImageType(o)){i.push({flavor:o,content:s[e.IMAGE](o,r[o])});continue}if(o===e.TEXT_URI_LIST){i.push({flavor:o,content:r[o],mode:r[e.ACTION]||A.ACTIONS.DataTransfer.COPY});continue}i.push({flavor:o,content:r[o]})}return{contents:i.filter(o=>!!o)}},convertServerFormatToContentMap(r){let i={};return r.contents?(r.contents.constructor.name==="Array"?r.contents.forEach(s=>{i[s.flavor]=s.content}):i=r.contents,i):{}},convertContentMapToDataTransfer(r,i){let s=Object.keys(r),a={[e.IMAGE]:(o,u)=>{if(!u||(u instanceof HTMLImageElement&&(u=u.src),typeof u!="string"))return;let c=u.split(","),h=c[1]||c[0],v=d.convert(h),f=n.convert(o);i.items.add(new File([v],f,{type:"image/png"}))},[e.TEXT_URI_LIST]:(o,u)=>{i.setUrls(u)}};s.forEach(o=>{let u=r[o];if(p.checkImageType(o)){a[e.IMAGE](o,u);return}if(a[o]){a[o](o,u);return}i.items.add(u,o)})},async convertDataTransferToContentMap(r){let i={[e.KIND_FILE]:async a=>{if(p.checkImageType(a.type)){let o=window.document.createElement("img"),u=await C.readBase64FromImage(a.getAsFile(),a.type);return o.src=u.content,o}},[e.KIND_STRING]:async a=>{let o=await r.getData(a.type);return a.type===e.TEXT_URI_LIST?i[e.TEXT_URI_LIST](a):o},[e.TEXT_URI_LIST]:async a=>r.getUrls()},s={};for(let a=0;a<r.items.length;a++){let o=r.items[a];s[o.type]=await i[o.kind](o)}return s}}},_,P),_.exports=S},57539:(_,P,l)=>{"use strict";var b,S;b=[l(23558),l(86683),l(11451),l(38938),l(46666)],S=l.dj.d(b,function(C,A,p,d,n){let{MIME_TYPES:e,TypeMetaDataEnum:t}=n;const r={setEventClipboardData(i,s){let a={[e.KIND_FILE]:o=>{let u=o.getAsFile();i.add(u)},[e.KIND_STRING]:o=>{i.add(s.getData(o.type),o.type)}};for(let o=0;o<s.items.length;o++){let u=s.items[o];a[u.kind]&&a[u.kind](u)}},hasOnlyTextMimeType(i){let s=i.types;return s.length===1&&s.includes(n.MIME_TYPES.TEXT_PLAIN)},hasImageMimeType(i){return i.items&&Array.from(i.items).some(s=>C.checkImageType(s.type))},getMimeMetaData(i,s,a){return a?t.useNavigatorClipboard:s&&A.isCopyEvent(s)&&A.isEventRunningNow(s)?t.FROM_COPY_EVENT:r.hasOnlyTextMimeType(i)?t.ONLY_TEXT:r.hasImageMimeType(i)?t.CONTAINS_IMAGE:t.OTHERS},isDataTransferConstructor(){try{new window.DataTransfer}catch(i){return!1}return!0},isDataTransferValid(i){if(!i)return!1;let s=i.types;return!(!s||(!Array.isArray(s)||s.length===0)&&i.items&&i.items.length===0)},getDataTransferString(i){if(!i)return"dataTransfer is null";let s=i.types;if(!s||s.length===0||!s[0])return"dataTransfer has no mime types";let a="";for(let o=0;o<s.length;o++){let u=s[o],c=i.getData(u);a+=" type = "+u+" value = "+c}return a},readBase64FromImage(i,s){return new Promise(a=>{let o=new FileReader;o.addEventListener("load",function(u){a({flavor:s,content:o.result})}),o.readAsDataURL(i)})},convertDataTransferToServerFormat(i){let s={[e.KIND_FILE]:o=>C.checkImageType(o.type)?r.readBase64FromImage(o.getAsFile(),o.type):Promise.resolve(null),[e.KIND_STRING]:o=>{let u=i.getData(o.type);return o.type===e.TEXT_URI_LIST?s[e.TEXT_URI_LIST](o):Promise.resolve({flavor:o.type,content:u})},[e.TEXT_URI_LIST]:o=>Promise.resolve({flavor:o.type,content:i.getUrls(),mode:i.getAction()})},a=[];for(let o=0;o<i.items.length;o++){let u=i.items[o];a.push(s[u.kind](u))}return Promise.all(a).then(o=>({contents:o.filter(c=>!!c)}))},convertServerFormatToDataTransfer(i,s){let a=i.contents||[],o=Object.keys(a),u={[e.IMAGE]:(c,h)=>{if(typeof h!="object")return;let v;if(h.__value__&&(v=h.__value__),h instanceof Image&&(v=h.src),!v)return;let f=v.split(",");if(f.length<2)return;let g=f[1],m=p.convert(g),E=d.convert(c);s.items.add(new File([m],E,{type:"image/png"}))},[e.TEXT_URI_LIST]:(c,h)=>{s.setUrls(h)}};return o.forEach(c=>{let h=a[c];if(C.checkImageType(c)){u[e.IMAGE](c,h);return}if(u[c]){u[c](c,h);return}s.items.add(h,c)}),s},compareStringData(i,s){let a=Array.from(i.types),o=Array.from(s.types);if(a.length!==o.length||!a.every(u=>o.includes(u)))return!1;if(i.files.length===0&&s.files.length===0)return a.every(u=>i.getData(u)===s.getData(u))},compare(i,s){const a=r.compareStringData(i,s);return typeof a=="boolean"?Promise.resolve(a):r.compareFiles(i.files,s.files)},compareFiles(i,s){const a=[];for(let o=0;o<i.length;o++){const u=i[o],c=s[o];a.push(r._compareFile(u,c))}return Promise.all(a).then(o=>o.every(u=>u))},_compareFile(i,s){return i.size!==s.size?Promise.resolve(!1):Promise.all([r._readFileAsDataURL(i),r._readFileAsDataURL(s)]).then(a=>{let o=a[0],u=a[1];return o===u})},_readFileAsDataURL(i){return new Promise(s=>{const a=new FileReader;a.onload=function(){s(a.result)},a.readAsDataURL(i)})}};return r},_,P),_.exports=S},60685:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){class C{constructor(p){this._events=[]}on(p,d){this._events[p]||(this._events[p]=[]),this._events[p].push(d);let n={};return n.remove=()=>{let e=this._events[p].indexOf(d);this._events[p].splice(e,1),n.remove=()=>null},n}emit(p,d={}){let n=this._events[p],e=Object.getOwnPropertyNames(d),t={};e.forEach(i=>{t[i]=d[i]}),(i=>{i&&i.forEach(s=>{s(t)})})(n)}hasListeners(p){return this._events[p]?this._events[p].length>0:!1}}return C},_,P),_.exports=S},86683:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";let C={C:67,V:86,X:88};return{isEventRunningNow(p){return p.eventPhase!==0},isPasteEvent(p){return p.type==="paste"},isCopyEvent(p){return p.type==="copy"},isPasteKeyDown(p){return!!(p.type==="keydown"&&(p.ctrlKey||p.meta||p.metaKey)&&p.keyCode===C.V)}}},_,P),_.exports=S},38938:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){const C={"application/atom+xml":{extensions:["atom"]},"application/java-archive":{extensions:["jar","war","ear"]},"application/javascript":{extensions:["js"]},"application/json":{extensions:["json"]},"application/mac-binhex40":{extensions:["hqx"]},"application/msword":{extensions:["doc"]},"application/octet-stream":{extensions:["bin","exe","dll","deb","dmg","iso","img","msi","msp","msm"]},"application/pdf":{extensions:["pdf"]},"application/postscript":{extensions:["ps","eps","ai"]},"application/rss+xml":{extensions:["rss"]},"application/rtf":{extensions:["rtf"]},"application/vnd.apple.mpegurl":{extensions:["m3u8"]},"application/vnd.google-earth.kml+xml":{extensions:["kml"]},"application/vnd.google-earth.kmz":{extensions:["kmz"]},"application/vnd.ms-excel":{extensions:["xls"]},"application/vnd.ms-fontobject":{extensions:["eot"]},"application/vnd.ms-powerpoint":{extensions:["ppt"]},"application/vnd.oasis.opendocument.graphics":{extensions:["odg"]},"application/vnd.oasis.opendocument.presentation":{extensions:["odp"]},"application/vnd.oasis.opendocument.spreadsheet":{extensions:["ods"]},"application/vnd.oasis.opendocument.text":{extensions:["odt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extensions:["docx"]},"application/vnd.wap.wmlc":{extensions:["wmlc"]},"application/wasm":{extensions:["wasm"]},"application/x-7z-compressed":{extensions:["7z"]},"application/x-cocoa":{extensions:["cco"]},"application/x-java-archive-diff":{extensions:["jardiff"]},"application/x-java-jnlp-file":{extensions:["jnlp"]},"application/x-makeself":{extensions:["run"]},"application/x-perl":{extensions:["pl","pm"]},"application/x-pilot":{extensions:["prc","pdb"]},"application/x-rar-compressed":{extensions:["rar"]},"application/x-redhat-package-manager":{extensions:["rpm"]},"application/x-sea":{extensions:["sea"]},"application/x-shockwave-flash":{extensions:["swf"]},"application/x-stuffit":{extensions:["sit"]},"application/x-tcl":{extensions:["tcl","tk"]},"application/x-x509-ca-cert":{extensions:["der","pem","crt"]},"application/x-xpinstall":{extensions:["xpi"]},"application/xhtml+xml":{extensions:["xhtml"]},"application/xspf+xml":{extensions:["xspf"]},"application/zip":{extensions:["zip"]},"audio/midi":{extensions:["mid","midi","kar"]},"audio/mpeg":{extensions:["mp3"]},"audio/ogg":{extensions:["ogg"]},"audio/x-m4a":{extensions:["m4a"]},"audio/x-realaudio":{extensions:["ra"]},"font/woff":{extensions:["woff"]},"font/woff2":{extensions:["woff2"]},"image/gif":{extensions:["gif"]},"image/jpeg":{extensions:["jpeg","jpg"]},"image/png":{extensions:["png"]},"image/*":{extensions:["png"]},"image/svg+xml":{extensions:["svg","svgz"]},"image/tiff":{extensions:["tif","tiff"]},"image/vnd.wap.wbmp":{extensions:["wbmp"]},"image/webp":{extensions:["webp"]},"image/x-icon":{extensions:["ico"]},"image/x-jng":{extensions:["jng"]},"image/x-ms-bmp":{extensions:["bmp"]},"text/css":{extensions:["css"]},"text/html":{extensions:["html","htm","shtml"]},"text/mathml":{extensions:["mml"]},"text/plain":{extensions:["txt"]},"text/vnd.sun.j2me.app-descriptor":{extensions:["jad"]},"text/vnd.wap.wml":{extensions:["wml"]},"text/x-component":{extensions:["htc"]},"text/xml":{extensions:["xml"]},"video/3gpp":{extensions:["3gpp","3gp"]},"video/mp2t":{extensions:["ts"]},"video/mp4":{extensions:["mp4"]},"video/mpeg":{extensions:["mpeg","mpg"]},"video/quicktime":{extensions:["mov"]},"video/webm":{extensions:["webm"]},"video/x-flv":{extensions:["flv"]},"video/x-m4v":{extensions:["m4v"]},"video/x-mng":{extensions:["mng"]},"video/x-ms-asf":{extensions:["asx","asf"]},"video/x-ms-wmv":{extensions:["wmv"]},"video/x-msvideo":{extensions:["avi"]}};return{convert(A){if(C[A]){const p=C[A].extensions;if(p.length>0)return"file.".concat(p[0])}return"file"}}},_,P),_.exports=S},23558:(_,P,l)=>{"use strict";var b,S;b=[l(11451),l(38938)],S=l.dj.d(b,function(C,A){let p={convertToClipboardItem:function(n){let e={},t=n.items||[];for(let r=0;r<t.length;r++){const i=t[r];if(i.kind==="string"){let s=i.type,a=n.getData(s);e[s]=new Blob([a],{type:s})}else if(i.kind==="file"){let s=i.type,a=i.getAsFile();e[s]=a}}return n.types.forEach(r=>{let i=n.getData(r);if(p.checkImageType(r)){let s=C.convert(i,r);e[r]=s}}),new ClipboardItem(e)},checkImageType:function(n){return!!new RegExp("^image{1}/","i").exec(n)},clipboardItemsToDataTransfer:function(n,e){let t=[];for(let r of n)t.push(p.clipboardItemToDataTransfer(r,e));return Promise.all(t).then(()=>Promise.resolve(e))},clipboardItemToDataTransfer:function(n,e){return p.clipboardItemToPromises(n).then(t=>p.clipboardItemPromisesToBlob(t)).then(t=>p.blobsToDataTransfer(t,e))},clipboardItemToPromises:function(n){return new Promise(e=>{let t=[];for(const r of n.types)t.push(n.getType(r));e(t)})},clipboardItemPromisesToBlob:function(n){return Promise.allSettled(n).then(e=>e.filter(t=>t.status==="fulfilled"&&t.value))},blobsToDataTransfer:function(n,e){let t=[],r=[];for(let i of n){let s=i.value.type;r.push(s),p.checkImageType(s)?e.items.add(new File([i.value],A.convert(s),{type:s})):t.push(p.blobToText(i.value))}return Promise.all(t).then(i=>(i.forEach((s,a)=>{e.items.add(s,r[a])}),e))},blobToText:function(n){return new Promise(e=>{let t=new FileReader;t.onload=function(r){e(r.target.result)},t.readAsText(n)})},blobToBase64:function(n){return new Promise(e=>{let t=new FileReader;t.onload=function(r){e(r.target.result)},t.readAsDataURL(n)})}};return p},_,P),_.exports=S},17197:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{createTextBox:function(){let A=document.createElement("textarea");const p=A.style;return p.position="fixed",p.top=p.opacity="0",p.left="-999px",A.setAttribute("aria-hidden","true"),A.value=" ",document.body.appendChild(A),A},addEventListener:function(A,p,d,n={}){return A.addEventListener(p,d,n),()=>{A.removeEventListener(p,d,n)}},copy:function(A){const p=document.activeElement;A.select(),A.focus(),A.setSelectionRange(0,A.value.length);let d=document.execCommand("copy");return p&&p.focus(),d},destroy:function(A){A.remove()}}},_,P),_.exports=S},9321:(_,P,l)=>{"use strict";var b,S;b=[l(57539),l(36745)],S=l.dj.d(b,function(C,A){"use strict";let p={argumentsLimit:(n,e,t)=>"Expected : ".concat(n," expects ").concat(t," arguments, but ").concat(e.length," arguments were passed"),dataTransfer:()=>"Expected: clipboard.write API should have dataTransfer with at least a mime-type set",contentMap:()=>"Expected: clipboard.write API should have contentMap with at least a mime-type set",emptyData:()=>"Expected: clipboard.write API should have either dataTransfer with DataTransfer object or contentMap with key-value pairs",clipboardConfig:n=>"Expected: clipboard.".concat(n," expects object")};return{validateArguments(n,e,t){if(n.length<e)throw new Error(p.argumentsLimit(t,n,e))},validateWrite(n){let e="write";if(!n)throw new Error(p.clipboardConfig(e));if(!n.dataTransfer&&!n.contentMap)throw new Error(p.emptyData());if(n.contentMap&&!A.isContentMapValid(n.contentMap))throw new Error(p.contentMap());if(n.dataTransfer&&!C.isDataTransferValid(n.dataTransfer))throw new Error(p.dataTransfer());return!0}}},_,P),_.exports=S},64338:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(61657),l(10896)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){},e=function(){function t(r){var i=this;A(this,t),this._on=new p,this._dataStore=r,this._data=[],this._pagedRangeList=[],this._pagedData=[],this._listeners=[],this._cellMetaData=[],this._rangeList=[],this._rowMetaData=[],this._columnMetaData=[],this.sort=r.sort?r.sort.bind(r):n,this.updateHeader=r.updateColumnHeader?r.updateColumnHeader.bind(r):void 0,this.setHeaders=r.__setHeaders?r.__setHeaders.bind(r):void 0,this.getHeaders=r.__getHeaders?r.__getHeaders.bind(r):void 0,this.updateRowHeader=r.updateRowHeader?r.updateRowHeader.bind(r):void 0,this.setSpanningHeaders=r.__setSpanningHeaders?r.__setSpanningHeaders.bind(r):void 0,this.getSpanningHeaders=r.__getSpanningHeaders?r.__getSpanningHeaders.bind(r):void 0;var s=r.getLocalColumnSpanningMetaData?r.getLocalColumnSpanningMetaData.bind(r):void 0,a=r.getLocalCellMetaData||function(c){},o=r.getLocalRowMetaData||function(c,h){},u=r.getLocalColumnMetaData||function(c,h){};this._pagedData=new d({getLocalCell:r.getLocalCellData.bind(r)}),this._pagedCellMetaData=new d({getLocalCell:a.bind(r)}),this._pagedRowMetaData=new d({getLocalCell:function(h,v){return o.call(r,h)}}),this._pagedColumnMetaData=new d({getLocalCell:function(h,v){return u.call(r,v)}}),s!==void 0&&(this._pagedColumnSpanningMetaData=new d({getLocalCell:function(h,v){return s(v)}})),this._listeners.push(this._dataStore.on("dataChanged",this._reactToNewData.bind(this)),this._dataStore.on("pagedRowMetaDataChanged",this._reactToNewRowMetaData.bind(this)),this._dataStore.on("pagedColumnMetaDataChanged",this._reactToNewColumnMetaData.bind(this)),this._dataStore.on("dataSizeChanged",function(c){return i._on.emit(c.eventName,c)}))}return C(t,[{key:"managePaging",value:function(i){var s=this._destructureRangesByType(i),a=s.rowRange,o=s.columnRange,u=this._pagedData.managePaging(i),c=u.data,h=this._pagedCellMetaData.managePaging(i),v=h.data,f=this._pagedRowMetaData.managePaging(a),g=f.data,m=this._pagedColumnMetaData.managePaging(o),E=m.data,w=this._pagedColumnSpanningMetaData!==void 0?this._pagedColumnSpanningMetaData.managePaging(o):{data:void 0},I=w.data;this._data=c,this._cellMetaData=v,this._rangeList=i,this._rowMetaData=g,this._columnMetaData=E,this._columnSpanningMetaData=I,this._pagedRangeList=i.slice(),this._dataStore.managePaging(i),this._emitPagedDataChanged()}},{key:"_emitPagedDataChanged",value:function(){this._on.emit("pagedDataChanged",{pagedData:this._data,cellMetaData:this._cellMetaData,rowMetaData:this._rowMetaData,columnMetaData:this._columnMetaData,columnSpanningMetaData:this._columnSpanningMetaData,rangeList:this._rangeList})}},{key:"_reactToNewData",value:function(i){var s=i.rangeList,a=this._pagedData.dataArrived(s),o=a.dataChanged,u=a.data,c=this._pagedCellMetaData.dataArrived(s),h=c.dataChanged,v=c.data;(o||h)&&(this._cellMetaData=v,this._data=u,this._emitPagedDataChanged())}},{key:"_reactToNewRowMetaData",value:function(i){var s=i.rangeList,a=this._pagedRowMetaData.dataArrived(s),o=a.dataChanged,u=a.data;o&&(this._rowMetaData=u,this._emitPagedDataChanged())}},{key:"_reactToNewColumnMetaData",value:function(i){var s=i.rangeList,a=this._pagedColumnMetaData.dataArrived(s),o=a.dataChanged,u=a.data,c=this._pagedColumnSpanningMetaData!==void 0?this._pagedColumnSpanningMetaData.dataArrived(s):{metaDataChanged:void 0,data:void 0},h=c.metaDataChanged,v=c.data;o&&(this._columnMetaData=u,this._emitPagedDataChanged()),h&&(this._columnSpanningMetaData=v,this._emitPagedDataChanged())}},{key:"_destructureRangesByType",value:function(i){return{dataRange:i,rowRange:i.map(function(s){return s.setColumns(0,0)}),columnRange:i.map(function(s){return s.setRows(0,0)})}}},{key:"on",value:function(i,s){var a=this._on.on(i,s);return this._listeners.push(a),a}},{key:"destroy",value:function(){this._listeners.forEach(function(i){return i.remove()}),this._dataStore.destroy(),this._dataStore=null,this._data=null,this._cellMetaData=null,this._rangeList=null,this._rowMetaData=null,this._columnMetaData=null,this._pagedRangeList=null,this._pagedData=null}},{key:"dataSize",get:function(){return this._dataStore.dataSize}}]),t}();return e},_,P),_.exports=S},42429:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(69453),l(80919),l(13653),l(26204),l(42681),l(65034),l(96667)],S=l.dj.d(b,function(p,d,n,e,t,r,i){"use strict";var s="LOCAL",a="SERVER",o={LOCAL:{TREE:p,TABLE:d,TREETABLE:n},SERVER:{TREE:t,TREETABLE:r,TABLE:i}},u=function(m){return Object.values(e).includes(m)},c=function(m,E){return new o[a][m.type](m,E)},h=function(m,E){var w=o[s][E.type],I=new w(m,E);if(!I)throw new Error("DataStore not created");return I._type=E.type,I},v=function(m,E){if(!E.type)throw new Error("type required.");if(!u(E.type))throw new Error("Invalid type");return!Array.isArray(m)&&m&&u(m.type)?c(m,E):h(m,E)},f=function(){function g(){throw A(this,g),new Error("This class is not instantiable")}return C(g,null,[{key:"create",value:function(E){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return v(E,w)}}]),g}();return f},_,P),_.exports=S},61657:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d),this._events={}}return C(d,[{key:"on",value:function(e,t){var r=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var i={};return i.remove=function(){var s=r._events[e].indexOf(t);r._events[e].splice(s,1),i.remove=function(){return null}},i}},{key:"emit",value:function(e,t){var r=this._events[e],i=Object.getOwnPropertyNames(t),s={};s.eventName=e,i.forEach(function(o){s[o]=t[o]});var a=function(u){u&&u.forEach(function(c){c(s)})};a(r)}}]),d}();return p},_,P),_.exports=S},68846:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{dataType:{BOOLEAN:"boolean",STRING:"string",NUMBER:"number",DEFAULT_DATA_TYPE:"string"},COLUMN_INDEX:"columnIndex",VALUE:"value",COMPARE_PROPERTY:"compare",COMPARE_TYPE:"type",DATA_TYPE:"dataType",CASE_SENSITIVE:"caseSensitive",PARAM:"param",type:{CONTAINS:"contains",STARTS_WITH:"startsWith",ENDS_WITH:"endsWith",EQUAL:"equalTo",NOT_EQUAL:"notEqualTo",LESS_THAN:"lessThan",GREATER_THAN:"greaterThan",LESS_THAN_EQUAL_TO:"lessThanEqualTo",GREATER_THAN_EQUAL_TO:"greaterThanEqualTo",FUNCTION:"function",DEFAULT_COMPARE_TYPE:"contains"},caseSensitive:{TRUE:!0,FALSE:!1,DEFAULT_CASE_SENSITIVE:!1}}},_,P),_.exports=S},26204:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{TREE:"TREE",TREETABLE:"TREETABLE",TABLE:"TABLE"}},_,P),_.exports=S},41906:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{POSITION:{FIRST:"first",LAST:"last",NEXT:"next",PREVIOUS:"previous"}}},_,P),_.exports=S},7698:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{ERROR_CIRCULAR_REF:"ERROR_CIRCULAR_REF",ERROR_SAVE_FAILED:"ERROR_SAVE_FAILED",ERROR_VALIDATION:"ERROR_VALIDATION",ERROR_UNKNOWN:"ERROR_UNKNOWN",ERROR_NODE_NON_EXISTENT:"ERROR_NODE_NON_EXISTENT"}},_,P),_.exports=S},71716:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{order:{ASC:"ASC",DESC:"DESC"},compare:{NUMERIC:"NUMERIC",STRING:"STRING"}}},_,P),_.exports=S},10896:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(e){A(this,n),this._getLocalCell=e.getLocalCell,this._pagedRangeList=[],this._pagedData=[]}return C(n,[{key:"managePaging",value:function(t){var r=this._pagedRangeList;return this._pagedRangeList=t,this._reactToNewPageRanges(r,t),{dataChanged:!1,data:this._pagedData}}},{key:"dataArrived",value:function(t){var r=this._reactToNewData(t);return{dataChanged:r,data:this._pagedData}}},{key:"_reactToNewPageRanges",value:function(t,r){this._discardOrphanedPagedData(t,r),this._fillInMissingPagedData(r)}},{key:"_discardOrphanedPagedData",value:function(t,r){var i=this,s=this._pagedData.length;s>r.length&&(this._pagedData=this._pagedData.slice(0,r.length));var a=function(u,c,h,v,f){for(var g=u;g<h;)f(g),g=g+1;for(g=v+1;g<=c;)f(g),g=g+1};r.forEach(function(o,u){var c=t[u];c?(a(c.rows.start,c.rows.end,o.rows.start,o.rows.end,function(h){i._pagedData[u][h]=void 0}),(c.columns.start<o.columns.start||c.columns.end>o.columns.end)&&function(){for(var h=Math.max(o.rows.start,c.rows.start),v=Math.min(o.rows.end,c.rows.end),f=h;f<=v;)a(c.columns.start,c.columns.end,o.columns.start,o.columns.end,function(g){i._pagedData[u][f][g]=void 0}),f=f+1}()):i._pagedData[u]=[]})}},{key:"_fillInMissingPagedData",value:function(t){var r=this;t.forEach(function(i,s){var a=r._pagedData[s];if(!(a.range&&p.isRangeEqual(a.range,i))){if(a.range&&p.isRangeInside(a.range,i)){a.range=i;return}var o=!a.range||i.columns.start<a.range.columns.start||i.columns.end>a.range.columns.end,u=i.rows.start,c=i.rows.end,h=i.columns.start,v=i.columns.end;a=r._updateCellRange(a,u,c,h,v,o,!0),a.range=i,r._pagedData[s]=a}})}},{key:"_reactToNewData",value:function(t){var r=this,i=this._pagedRangeList,s=!1;return i.forEach(function(a,o){t.forEach(function(u){if(p.doesRangeIntersect(a,u)){var c=r._pagedData[o],h=Math.max(a.rows.start,u.rows.start),v=Math.min(a.rows.end,u.rows.end),f=Math.max(a.columns.start,u.columns.start),g=Math.min(a.columns.end,u.columns.end),m=!0;c=r._updateCellRange(c,h,v,f,g,m,!1),r._pagedData[o]=c,s=!0}})}),s}},{key:"_updateCellRange",value:function(t,r,i,s,a,o,u){for(var c=r;c<=i;c+=1){var h=t[c];if(o||!h){var v=[];if(h){for(var f=t.range.columns.start;f<s;f+=1)v[f]=t[c][f];for(var g=a+1;g<=t.range.columns.end;g+=1)v[g]=t[c][g]}for(var m=s;m<=a;m+=1)if(u&&h&&t.range.columns.start<=m&&t.range.columns.end>=m)v[m]=t[c][m];else{var E=this._getLocalCell(c,m);v[m]=this._shallowCopyIfObject(E)}t[c]=v}}return t}},{key:"_shallowCopyIfObject",value:function(t){if(!(t instanceof Object))return t;var r=Object.getPrototypeOf(t),i=Object.create(r),s=Object.keys(t);return s.forEach(function(a){i[a]=t[a]}),t.hasOwnProperty("path")&&!i.hasOwnProperty("path")&&Object.defineProperty(i,"path",{get:function(){return t.path}}),i}}]),n}();return d},_,P),_.exports=S},56054:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(8578),l(5652)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(){A(this,i);var s=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s._orderedRules=[],s}return C(i,[{key:"add",value:function(a){this._orderedRules.push(a)}},{key:"remove",value:function(a){var o=[],u=n.findIndex(this._orderedRules,function(h){return h.name===a});if(u>=0){var c=this._orderedRules.splice(u,1);o=c[0].rangeList}return o}},{key:"getRulesForRange",value:function(a){for(var o=[],u=0;u<this._orderedRules.length;u+=1){var c=this._orderedRules[u];c.applyMetaDataFunction(a)&&o.push(c)}var h=o.slice();return h.length!==0&&(o=this._rearrangeHierarchyRules(h,a)),o}},{key:"_rearrangeHierarchyRules",value:function(a,o){for(var u=[],c=o.dynamic.path,h=c.length-1;h>=0&&a.length>0;h--){for(var v=[],f=0;f<a.length;f++)a[f].dataSelector.value.includes(c[h])&&(v.push(a[f]),a.splice(f,1),f--);v.reverse().forEach(function(g){u.unshift(g)})}return u}}]),i}(e);return t},_,P),_.exports=S},6554:(_,P,l)=>{"use strict";var b,S;b=[l(11487),l(26204)],S=l.dj.d(b,function(C,A){var p=[C.range().setRows(0,1/0).setColumns(0,1/0)],d=function(){return!0},n=function(s){if(isNaN(s)||s<=0)throw new Error("'value' for Nth-type dataSelectorsmust be numeric and a positive number.")},e={node:"node",rangeList:"rangeList",nthRow:"nthRow",nthColumn:"nthColumn",hierarchy:"hierarchy",all:"all"},t=[];t[A.TREE]=[e.node,e.rangeList,e.nthRow,e.nthColumn,e.hierarchy,e.all],t[A.TREETABLE]=[e.rangeList,e.nthRow,e.nthColumn],t[A.TABLE]=[e.rangeList,e.nthRow,e.nthColumn];var r={node:{validator:function(s,a){if(!s.node)throw new Error("Metadata property should contain nodeproperty to set metadata on Tree Nodes")},getRangeList:function(s){return p},makeApplyMetaDataFunction:function(s){return d}},rangeList:{validator:function(s,a){var o=a.value;if(!Array.isArray(o))throw new Error("'rangeList' must be an array");if(s.row&&!o.every(C.isRowRange))throw new Error("Cannot set row meta data on 'non-row' ranges");if(s.column&&!o.every(C.isColumnRange))throw new Error("Cannot set column meta data on 'non-column' ranges")},getRangeList:function(s){var a=s.value;return a},makeApplyMetaDataFunction:function(s){return d}},nthRow:{validator:function(s,a){var o=a.value;if(s.column)throw new Error("Cannot set column meta data on 'non-column' dataSelectors");n(o)},getRangeList:function(s){return p},makeApplyMetaDataFunction:function(s){var a=s.value;return function(o,u){return o%a===0}}},nthColumn:{validator:function(s,a){var o=a.value;if(s.row)throw new Error("Cannot set row meta data on 'non-row' dataSelectors");n(o)},getRangeList:function(s){return p},makeApplyMetaDataFunction:function(s){var a=s.value;return function(o,u){return u%a===0}}},hierarchy:{validator:function(s,a){if(s.column)throw new Error("Error in hierarchy: Cannot set column meta data on hierarchy dataSelector");if(!(typeof a.value=="string"||Array.isArray(a.value)))throw new Error("Error in hierarchy: Node id must be either a string or an array")},getRangeList:function(s){return p},makeApplyMetaDataFunction:function(s){return function(a){return!a.dynamic||typeof a.dynamic.path>"u"?!1:Array.isArray(s.value)?a.dynamic.path.some(function(o){return s.value.includes(o)}):a.dynamic.path.includes(s.value)}}},all:{validator:function(s,a){var o=a.value;if(o!==void 0)throw new Error("all dataselector does not take a value")},getRangeList:function(s){return p},makeApplyMetaDataFunction:function(s){return d}}};return{create:function(s,a,o){if(t[o].indexOf(a.type)===-1)throw new Error("The dataSelector type "+a.type+" is not valid for "+o+" DataStore");var u=r[a.type];if(!u)throw new Error("dataSelector type is unknown: "+a.type);u.validator(s,a);var c=!1;(typeof s.cell=="function"||typeof s.row=="function"||typeof s.column=="function")&&(c=!0);var h=u.getRangeList(a),v=u.makeApplyMetaDataFunction(a);return{getDataSelector:function(){return a},getMetaData:function(){return s},isDynamic:c,_getRangeList:function(){return h.slice(0)},_applyMetaDataFunction:v,dataSelector:a}},dataSelectorTypes:e}},_,P),_.exports=S},29350:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(6554),l(5652),l(56054),l(61657)],S=l.dj.d(b,function(p,d,n,e){var t="|RESULT|",r=void 0;Object.assign&&(r=function(a,o){return Object.assign({},a,o)});var i=function(){function s(){A(this,s),this._metaData={},this._metaDataOrder=new d,this._hierarchicalMetaDataOrder=new n,this._dynamicMetaDataOrder=new d,this._hierarchicalDynamicMetaDataOrder=new n,this._clearCache(),this._on=new e}return C(s,[{key:"on",value:function(o,u){return this._on.on(o,u)}},{key:"_clearCache",value:function(){this._cacheRuleResult={},this._cacheRuleResult.cell={},this._cacheRuleResult.row={},this._cacheRuleResult.column={}}},{key:"add",value:function(o,u){if(o.indexOf("|")>0||o.indexOf("*")>0||o.indexOf("$")>0)throw new Error('"|", "*", and "$" are invalid in metadata rule names');this.addBuiltIn(o,u)}},{key:"_getMetaDataRuleToAdd",value:function(o,u){var c=u._getRangeList();this._metaData[o]=u;var h=u.getMetaData();h.cell=h.cell||{},h.row=h.row||{},h.column=h.column||{};var v={name:o,rangeList:c,metaData:h,isDynamic:u.isDynamic,applyMetaDataFunction:u._applyMetaDataFunction,dataSelector:u.dataSelector};return v}},{key:"addBuiltIn",value:function(o,u){if(typeof u._getRangeList!="function"||typeof u.getMetaData!="function")throw new Error("A metaDataRule must be created using 'create' before trying to add it");var c=this._metaData[o],h=[];c&&(h=this._getOrderedRules(c).remove(o));var v=u._getRangeList();this._metaData[o]=u;var f=u.getMetaData();f.cell=f.cell||{},f.row=f.row||{},f.column=f.column||{};var g={name:o,rangeList:v,metaData:f,isDynamic:u.isDynamic,applyMetaDataFunction:u._applyMetaDataFunction,dataSelector:u.dataSelector};this._getOrderedRules(u).add(g),this._clearCache(),this._raiseChangeEvent(h.concat(v))}},{key:"_getOrderedRules",value:function(o){return this._isHierarchicalRule(o)?o.isDynamic?this._hierarchicalDynamicMetaDataOrder:this._hierarchicalMetaDataOrder:o.isDynamic?this._dynamicMetaDataOrder:this._metaDataOrder}},{key:"remove",value:function(o){if(o.indexOf("|")>-1||o.indexOf("*")>-1||o.indexOf("$")>-1)throw new Error('"|", "*", and "$" are invalid in metadata rule names');this.removeBuiltIn(o)}},{key:"update",value:function(o,u){if(!this._doesMetaDataRuleExist(o))throw new Error("There is no metaData rule with name:"+o);if(this._isMetaDataRuleUpdateChangingNature(o,u)){this.remove(o),this.add(o,u);return}else this._getOrderedRules(u).update(o,this._getMetaDataRuleToAdd(o,u));this._clearCache()}},{key:"_doesMetaDataRuleExist",value:function(o){return!!this._metaData[o]}},{key:"_isMetaDataRuleUpdateChangingNature",value:function(o,u){return this._isDataSelectorChanged(o,u)||this._isMetaDataNatureChanged(o,u)}},{key:"_isMetaDataNatureChanged",value:function(o,u){return this._metaData[o].isDynamic!==u.isDynamic}},{key:"_isDataSelectorChanged",value:function(o,u){return this._metaData[o].dataSelector.type!==u.dataSelector.type}},{key:"removeBuiltIn",value:function(o){var u=this._metaData[o];if(!u)throw new Error("'"+o+"' does not exist");this._clearCache();var c=this._getOrderedRules(u).remove(o);delete this._metaData[o],this._raiseChangeEvent(c)}},{key:"get",value:function(o){var u=this._metaData[o];if(!u)throw new Error("'"+o+"' does not exist");return this._metaData[o]}},{key:"_raiseChangeEvent",value:function(o){this._on.emit("metaDataChanged",{rangeList:o})}},{key:"getCellMetaData",value:function(o){var u={rows:{start:o.rowIndex,end:o.rowIndex,count:1},columns:{start:o.columnIndex,end:o.columnIndex,count:1}};return o.dynamic&&(o.dynamic.columnIndex=o.columnIndex,o.dynamic.rowIndex=o.rowIndex),this._getMetaData(u,"cell",o)}},{key:"getRowMetaData",value:function(o){var u={rows:{start:o.rowIndex,end:o.rowIndex,count:1},columns:{start:0,end:0,count:1}};return o.dynamic&&(o.dynamic.rowIndex=o.rowIndex),this._getMetaData(u,"row",o)}},{key:"getColumnMetaData",value:function(o){var u={rows:{start:0,end:0,count:1},columns:{start:o.columnIndex,end:o.columnIndex,count:1}};return o.dynamic&&(o.dynamic.columnIndex=o.columnIndex),this._getMetaData(u,"column",o)}},{key:"_getMetaData",value:function(o,u,c){var h=this._metaDataOrder.getRulesForRange(o);Array.prototype.push.apply(h,this._hierarchicalMetaDataOrder.getRulesForRange(c)),Array.prototype.push.apply(h,this._dynamicMetaDataOrder.getRulesForRange(o)),Array.prototype.push.apply(h,this._hierarchicalDynamicMetaDataOrder.getRulesForRange(c));var v={},f=this._cacheRuleResult[u],g=void 0,m=void 0,E=void 0,w=void 0,I=void 0;for(I=0;I<h.length&&(w=h[I],m=w.name,g=f[m],!!g);I+=1)v=g[t],f=f[m];for(var M=!0,R=I;R<h.length;R+=1){if(w=h[R],m=w.name,E=w.metaData[u],w.isDynamic&&typeof E=="function"){if(!c.dynamic)continue;E=Object.assign({},E(c.dynamic)),M=!1}v=this._combineMetaData(v,E),M&&(f[m]={},f[m][t]=v,f=f[m])}return v}},{key:"_combineMetaData",value:function(o,u){var c=null;(o.style||u.style)&&(c=r(o.style||{},u.style||{}));var h=r(o,u);return c&&(h.style=c),h}},{key:"_isHierarchicalRule",value:function(o){return o.dataSelector.type==="hierarchy"}}]),s}();return i.create=p.create,i.dataSelectorTypes=p.dataSelectorTypes,i},_,P),_.exports=S},5652:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(8578)],S=l.dj.d(b,function(p,d){var n=function(){function e(){A(this,e),this._orderedRules=[]}return C(e,[{key:"add",value:function(r){this._orderedRules.push(r)}},{key:"update",value:function(r,i){var s=d.findIndex(this._orderedRules,function(a){return a.name===r});s>=0&&(this._orderedRules[s]=i)}},{key:"remove",value:function(r){var i=[],s=d.findIndex(this._orderedRules,function(o){return o.name===r});if(s>=0){var a=this._orderedRules.splice(s,1);i=a[0].rangeList}return i}},{key:"getRulesForRange",value:function(r){for(var i=[],s=0;s<this._orderedRules.length;s+=1){for(var a=this._orderedRules[s],o=a.rangeList,u=!1,c=0;c<o.length&&(u=p.doesRangeIntersect(o[c],r),!u);c+=1);u&&a.applyMetaDataFunction(r.rows.start,r.columns.start)&&i.push(a)}return i}}]),e}();return n},_,P),_.exports=S},29782:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(71716)],S=l.dj.d(b,function(p){var d=void 0,n="en-US",e={caseFirst:"lower",ignorePunctuation:!1,numeric:!1,sensitivity:"variant",usage:"sort"};if(typeof Intl<"u"&&Intl.Collator){var t=new Intl.Collator(n,e);d=function(s,a){return t.compare(s,a)}}else d=function(s,a){return String.prototype.localeCompare.call(s,a,n,e)};var r={STRING:d,NUMERIC:function(s,a){typeof s!="number"&&(s=parseFloat(s)),typeof a!="number"&&(a=parseFloat(a));var o=s-a;return isNaN(o)?isNaN(s)&&isNaN(a)?0:isNaN(s)?-1:1:o}};return function(){function i(){A(this,i),this._sorted=!1,this._sortOptions=[]}return C(i,[{key:"removePersistentSort",value:function(){this._sorted=!1,this._sortOptions=[]}},{key:"sort",value:function(a,o){if(o)throw new Error("Sort is not implimented with arbitrary options");if(!this._sorted)throw new Error("Sort is only available when sort is maintained on Tree using the 'sorted' option");o=o||this._sortOptions;var u=this.generateCompareFunctionFromList(o);a.sort(u)}},{key:"getInsertIndex",value:function(a,o){if(!this._sorted)throw new Error("getInsertIndex is only available when sort is maintained on Tree using the 'sorted' option");for(var u=this._sortOptions,c=this.generateCompareFunctionFromList(u),h=0,v=a.length,f=void 0,g=void 0,m=void 0;h<v;){if(f=Math.floor((v+h)/2),g=a[f],m=c(o,g),m===0)return f;m<0?v=f:h=f+1}return h}},{key:"generateCompareFunctionFromList",value:function(a){for(var o=[],u=0;u<a.length;u+=1){var c=a[u];o.push(this._generateCompareFunctionFromItem(c))}var h=function(f,g){for(var m=0;m<o.length;m+=1){var E=o[m](f,g);if(E!==0)return E}return 0};return h}},{key:"_generateCompareFunctionFromItem",value:function(a){var o=1;a.order===p.order.DESC&&(o=-1);var u=r[a.compare],c=this._getSortField(a);return function(h,v){var f=h[c],g=v[c];if(typeof f>"u"||typeof g>"u")throw new Error("A valid field must be specified");return u(f,g)*o}}},{key:"_validateSortOption",value:function(a,o){if(this._validateFieldToSort(a,o),!r[a.compare])throw new Error("A valid compare type must be specified!");if(!p.order[a.order])throw new Error("A valid sort order must be specified!")}},{key:"validateCustomSortName",value:function(a){if(p.compare[a])throw new Error(a+" is already a built-in sort type. Please provide a unique name.")}},{key:"addCustomCompare",value:function(a,o){r[a]=o}},{key:"sorted",get:function(){return this._sorted}},{key:"sortOptions",get:function(){return this._sortOptions}}]),i}()},_,P),_.exports=S},11487:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(a){return a===0||a>0},d=function(a,o){if(!p(a))throw new Error("Invalid start value set");if(!p(o)&&(a!==0||o!==-1))throw new Error("Invalid end value set");var u={};return Object.defineProperty(u,"start",{value:a,enumerable:!0}),Object.defineProperty(u,"end",{value:o,enumerable:!0}),Object.defineProperty(u,"count",{value:o-a+1,enumerable:!0}),u},n=function(a,o){return o.start<=a.end&&o.end>=a.start},e=function(a,o,u,c){return new r(u,c,a,o)},t=function(a,o,u,c){return new r(a,o,u,c)},r=function(){function s(a,o,u,c){A(this,s),Object.defineProperties(this,{rows:{value:d(a,o),enumerable:!0},columns:{value:d(u,c),enumerable:!0}})}return C(s,[{key:"setEntireColumns",value:function(o,u){return u===void 0&&(u=o),new s(0,1/0,o,u)}},{key:"setEntireRows",value:function(o,u){return u===void 0&&(u=o),new s(o,u,0,1/0)}},{key:"setColumns",value:function(o,u){return new s(this.rows.start,this.rows.end,o,u)}},{key:"setRows",value:function(o,u){return new s(o,u,this.columns.start,this.columns.end)}},{key:"column",get:function(){return this.columns.start===this.columns.end&&this.rows.start===0&&this.rows.end===1/0?this.columns.start:null}},{key:"row",get:function(){return this.rows.start===this.rows.end&&this.columns.start===0&&this.columns.end===1/0?this.rows.start:null}}]),s}();Object.defineProperty(r.prototype,"row",{enumerable:!0}),Object.defineProperty(r.prototype,"column",{enumerable:!0});var i=function(){function s(){A(this,s)}return C(s,null,[{key:"range",value:function(){return new r(0,-1,0,-1)}},{key:"doesRangeListIntersect",value:function(o,u){for(var c=0;c<o.length;c+=1)for(var h=0;h<u.length;h+=1)if(s.doesRangeIntersect(o[c],u[h]))return!0;return!1}},{key:"doesRangeIntersect",value:function(o,u){return o.columns.start<=u.columns.end&&o.columns.end>=u.columns.start&&o.rows.start<=u.rows.end&&o.rows.end>=u.rows.start}},{key:"isRangeEqual",value:function(o,u){return o===u||o.columns.start===u.columns.start&&o.columns.end===u.columns.end&&o.rows.start===u.rows.start&&o.rows.end===u.rows.end}},{key:"isRangeInside",value:function(o,u){return o===u||o.columns.start<=u.columns.start&&o.columns.end>=u.columns.end&&o.rows.start<=u.rows.start&&o.rows.end>=u.rows.end}},{key:"isRowRange",value:function(o){return o.columns.start===0&&o.columns.end===1/0}},{key:"isColumnRange",value:function(o){return o.rows.start===0&&o.rows.end===1/0}},{key:"groupRangeListByRow",value:function(o){return s._groupRangeList(o,"rows")}},{key:"groupRangeListByColumn",value:function(o){return s._groupRangeList(o,"columns")}},{key:"removeRowsFromRangeList",value:function(o,u){return s._removeIntervalFromRank("rows",o,u,t)}},{key:"removeColumnsFromRangeList",value:function(o,u){return s._removeIntervalFromRank("columns",o,u,e)}},{key:"removeRangeFromRangeList",value:function(o,u){for(var c=[],h=0;h<o.length;h+=1)c=c.concat(s._removeIntersection(o[h],u));return c}},{key:"isRangeInsideRangeList",value:function(o,u){for(var c=[o],h=0;h<u.length&&c.length>0;h+=1){var v=u[h];c=s.removeRangeFromRangeList(c,v)}return c.length===0}},{key:"_removeIntersection",value:function(o,u){var c=[{rank:"columns",secondaryRank:"rows",makeRange:e},{rank:"rows",secondaryRank:"columns",makeRange:t}],h=o,v=[];return s.doesRangeIntersect(o,u)?c.forEach(function(f){var g=f.rank,m=f.secondaryRank,E=f.makeRange,w=h[g],I=u[g],M=[h[m].start,h[m].end];w.start<I.start&&(v.push(E.apply(void 0,[w.start,I.start-1].concat(M))),h=E.apply(void 0,[I.start,w.end].concat(M))),I.end<w.end&&(v.push(E.apply(void 0,[I.end+1,w.end].concat(M))),h=E.apply(void 0,[h[g].start,I.end].concat(M)))}):v=[o],v}},{key:"_removeIntervalFromRank",value:function(o,u,c,h){var v="columns",f=[];o==="columns"&&(v="rows");for(var g=0;g<u.length;g+=1){var m=u[g],E=m[o],w=E.start,I=E.end,M=[m[v].start,m[v].end];n(m[o],c)?m[o].end<=c.end&&m[o].start>=c.start||(m[o].start>=c.start?f.push(h.apply(void 0,[c.end+1,I].concat(M))):m[o].end<=c.end?f.push(h.apply(void 0,[w,c.start-1].concat(M))):(f.push(h.apply(void 0,[w,c.start-1].concat(M))),f.push(h.apply(void 0,[c.end+1,I].concat(M))))):f.push(m)}return f}},{key:"_groupRangeList",value:function(o,u){var c=[],h={};return o.forEach(function(v){var f=s._hashRankFromRange(v,u),g=h[f];g>=0?c[g].push(v):(g=c.length,h[f]=g,c[g]=[v])}),c}},{key:"_hashRankFromRange",value:function(o,u){var c=o[u].start,h=o[u].end,v=o[u].count;return v===0?-1:h*h+h+c}},{key:"clipRange",value:function(o,u){if(!s.doesRangeIntersect(u,o))throw new Error("rangeToBeClipped is not intersecting with BoundaryRange");return o.columns.end>u.columns.end&&o.setColumns(o.columns.start,u.columns.end),o.rows.end>u.rows.end&&o.setRows(o.rows.start,u.rows.end),o}}]),s}();return i},_,P),_.exports=S},32845:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(61657),l(7698),l(37573),l(68073)],S=l.dj.d(b,function(p,d,n,e,t){var r="dataSizeChanged",i="dataChanged",s="pagedRowMetaDataChanged",a="pagedColumnMetaDataChanged",o="pagedWidgetMetaDataChanged",u="viewPortRangeChanged",c=function(){return new Promise(function(f){f({})})},h=function(){function v(f,g){A(this,v),this._type=g.type,this._cachingDataProvider=new e(f,g),this._on=new d,this._dataSave=g.dataSave||{},this._listeners=[],this._viewPortRange=p.range(),this.dataSize=p.range(),this._setLatestDataSizeFromInfoHandler(),this._listeners.push(this._cachingDataProvider.on(i,this._forwardDataChangedEvent.bind(this)),this._cachingDataProvider.on(r,this._forwardDataSizeChangedEvent.bind(this)),this._cachingDataProvider.on(s,this._forwardPagedRowMetaDataChangedEvent.bind(this)),this._cachingDataProvider.on(a,this._forwardPagedColumnMetaDataChangedEvent.bind(this)),this._cachingDataProvider.on(o,this._forwardPagedWidgetMetaDataChangedEvent.bind(this)))}return C(v,[{key:"_forwardDataChangedEvent",value:function(g){this._emitEvent(i,g)}},{key:"_forwardPagedRowMetaDataChangedEvent",value:function(g){this._emitEvent(s,g)}},{key:"_forwardPagedColumnMetaDataChangedEvent",value:function(g){this._emitEvent(a,g)}},{key:"_forwardPagedWidgetMetaDataChangedEvent",value:function(g){this._emitEvent(o,g)}},{key:"_forwardDataSizeChangedEvent",value:function(g){this.dataSize=g.dataSize,this._emitEvent(r,g)}},{key:"on",value:function(g,m){var E=this._on.on(g,m);return this._listeners.push(E),E}},{key:"managePaging",value:function(g){var m=this._combineRanges(g);m!==void 0&&(this._cachingDataProvider.managePaging([m]),this._updateLocalViewPortInfo())}},{key:"getData",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Array.isArray(g)){var m=g.slice();return this._cachingDataProvider.getData(m)}else{var E=g.proxyNodes;if(E){if(!Array.isArray(E))return Promise.reject(new Error("The proxyNodes property should be an array"))}else return Promise.reject(new Error("Expected an object with a property of proxyNodes"))}}},{key:"_combineRanges",value:function(g){for(var m=1/0,E=-1,w=1/0,I=-1,M=!1,R=0;R<=g.length-1;R++)if(p.doesRangeIntersect(this._cachingDataProvider.dataSize,g[R])){M=!0;var T=p.clipRange(g[R],this._cachingDataProvider.dataSize);m=Math.min(m,T.rows.start),E=Math.max(E,T.rows.end),w=Math.min(w,T.columns.start),I=Math.max(I,T.columns.end)}if(g.length>=1&&M)return p.range().setRows(m,E).setColumns(w,I)}},{key:"getLocalCellData",value:function(g,m){return this._cachingDataProvider.getLocalCellData(g,m)}},{key:"getLocalCellMetaData",value:function(g,m){return this._cachingDataProvider.getLocalCellMetaData(g,m)}},{key:"getLocalRowMetaData",value:function(g){return this._cachingDataProvider.getLocalRowMetaData(g)}},{key:"getLocalColumnMetaData",value:function(g){return this._cachingDataProvider.getLocalColumnMetaData(g)}},{key:"getLocalWidgetMetaData",value:function(){return this._cachingDataProvider.getLocalWidgetMetaData()}},{key:"_needParentIdFor",value:function(g){return this._cachingDataProvider._needParentIdFor(g)}},{key:"_doSaveOperation",value:function(g,m){var E=this;return g=g||c,new Promise(function(w,I){g.call(E,m).then(function(M){w({message:M.message||"",reason:"",custom:M.custom||{},success:!0})},function(M){var R=new Error(M.message||"");R.reason=n[M.reason]||n.ERROR_UNKNOWN,R.custom=M.custom||{},R.success=!1,I(R)})})}},{key:"createMetaDataRule",value:function(g,m){return this._cachingDataProvider.createMetaDataRule(g,m)}},{key:"addMetaDataRule",value:function(g,m){return this._cachingDataProvider.addMetaDataRule(g,m)}},{key:"updateMetaDataRule",value:function(g,m,E){return this._cachingDataProvider.updateMetaDataRule(g,m,E)}},{key:"removeMetaDataRule",value:function(g){return this._cachingDataProvider.removeMetaDataRule(g)}},{key:"_setLatestDataSizeFromInfoHandler",value:function(){var g=this,m=this._cachingDataProvider.setLatestDataSizeFromDataProvider();m!==this.dataSize&&(this.dataSize=m,setTimeout(function(){g._emitEvent(r,{dataSize:g.dataSize})},0))}},{key:"_emitEvent",value:function(g,m){this._on.emit(g,m)}},{key:"_updateLocalViewPortInfo",value:function(){this._viewPortRange!==this._cachingDataProvider.getViewPortRange()&&(this._viewPortRange=this._cachingDataProvider.getViewPortRange(),this._emitEvent(u,{range:this._viewPortRange}))}},{key:"filter",value:function(g){var m=this;return new Promise(function(E){m._cachingDataProvider.filter(g).then(function(w){E(w)})})}},{key:"clearFilter",value:function(){var g=this;return new Promise(function(m){g._cachingDataProvider.clearFilter().then(function(E){m(E)})})}},{key:"sort",value:function(g){var m=this;return new Promise(function(E){m._cachingDataProvider.sort(g).then(function(w){E(w)})})}},{key:"search",value:function(g){var m=this;return new Promise(function(E){m._cachingDataProvider.search(g).then(function(w){E(w)})})}},{key:"clearSearch",value:function(){var g=this;return new Promise(function(m){g._cachingDataProvider.clearSearch().then(function(E){m(E)})})}},{key:"destroy",value:function(){this._listeners.forEach(function(g){return g.remove()}),this._cachingDataProvider.destroy(),this._cachingDataProvider=void 0}}]),v}();return h},_,P),_.exports=S},96667:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(32845),l(11487)],S=l.dj.d(b,function(n,e){var t="ROW",r="COLUMN",i=function(s){d(a,s);function a(){return A(this,a),p(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return C(a,[{key:"add",value:function(u,c){var h=this,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=void 0;return v.addType!==void 0?f=this._tablePartialAddParams(u,c,v.addType):f=this._tableFullAddParams(u,c),new Promise(function(g,m){var E={range:u,data:c,options:v};h._doSaveOperation(h._dataSave.beforeAdd,E).then(function(w){h._cachingDataProvider.add(f).then(function(I){g(w)},function(I){m(I)})},function(w){m(w)})})}},{key:"remove",value:function(u){var c=this,h={};if(u.columns.start===0&&u.columns.end===1/0){if(u.rows.start>=this.dataSize.rows.count||u.rows.start<0)throw new Error("Index "+u.rows.start+" is out of range for remove");h.addOrRemoveRows=!0}else if(u.rows.start===0&&u.rows.end===1/0){if(h.addOrRemoveColumns=!0,u.columns.start>=this.dataSize.columns.count||u.columns.start<0)throw new Error("Index "+u.columns.start+" is out of range for remove")}else throw new Error("Could not determine remove type for given range");return new Promise(function(v,f){var g={range:u};c._doSaveOperation(c._dataSave.beforeRemove,g).then(function(m){c._cachingDataProvider.remove([u]).then(function(E){v(m)},function(E){f(E)})},function(m){f(m)})})}},{key:"update",value:function(u,c){var h=this;if(u.rows.count!==c.length)throw new Error("Range rows count "+u.rows.count+" does not match data.length for update");if(!e.isRangeInside(this.dataSize,u))throw new Error("Range exceeds dataSize for update");for(var v=0;v<c.length;v+=1)if(c[v].length!==u.columns.count)throw new Error("data["+v+"] needs to contain "+(u.columns.count+" columns of data for update"));return new Promise(function(f,g){var m={range:u,data:c};h._doSaveOperation(h._dataSave.beforeUpdate,m).then(function(E){h._cachingDataProvider.update([{range:u,data:c}]).then(function(w){f(E)},function(w){g(w)})},function(E){g(E)})})}},{key:"getIndex",value:function(u){var c=this;return new Promise(function(h){c._cachingDataProvider.getIndex(u).then(function(v){h(v)})})}},{key:"_tableFullAddParams",value:function(u,c){var h=void 0;if(u.rows.start===u.rows.end&&u.columns.start===0&&u.columns.end===1/0){if(u.rows.start>this.dataSize.rows.count||u.rows.start<0)throw new Error("Index "+u.rows.start+" is out of range for add");for(var v=0;v<c.length;v+=1)if(c[v].length!==this.dataSize.columns.count)throw new Error("data["+v+"] needs to contain "+(this.dataSize.columns.count+" columns of data for add"));h=t}else if(u.columns.start===u.columns.end&&u.rows.start===0&&u.rows.end===1/0){if(u.columns.start>this.dataSize.columns.count||u.columns.start<0)throw new Error("Index "+u.columns.start+" is out of range for add");var f=null;if(c.length!==this.dataSize.rows.count&&this.dataSize.rows.count>0)throw new Error("data needs to contain "+(this.dataSize.rows.count+" rows of data for add"));for(var g=0;g<c.length;g+=1)if(f===null)f=c[g].length;else if(f!==c[g].length)throw new Error("The data["+g+"] needs to contain "+("the same number of columns ("+f+") as the ")+"first row for add");h=r}else throw new Error("Could not determine add type for given range");return this._makeTableDpAddParams([u],[c],[h])}},{key:"_tablePartialAddParams",value:function(u,c,h){if(h===t||h===r){if(!this._doesDataDimensionsMatchRange(u,c))throw new Error("Partial add: range and data dimensions does not match");return this._makeTableDpAddParams([u],[c],[h])}throw new Error("Partial add: Wrong addType for Partial addition of data")}},{key:"_doesDataDimensionsMatchRange",value:function(u,c){var h=u.rows.count,v=u.columns.count;if(c.length!==h)return!1;for(var f=0;f<=c.length-1;f++)if(c[f].length!==v)return!1;return!0}},{key:"_makeTableDpAddParams",value:function(u,c,h){for(var v=[],f=0;f<=u.length-1;f++)v.push({range:u[f],data:c[f],addType:h[f]});return v}}]),a}(n);return i},_,P),_.exports=S},42681:(_,P,l)=>{"use strict";var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(65034)],S=l.dj.d(b,function(e){var t=function(r){n(i,r);function i(){return p(this,i),d(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"remove",value:function(a){for(var o,u=arguments.length,c=Array(u>1?u-1:0),h=1;h<u;h++)c[h-1]=arguments[h];return(o=A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"remove",this)).call.apply(o,[this].concat(c))}},{key:"move",value:function(a){for(var o,u=arguments.length,c=Array(u>1?u-1:0),h=1;h<u;h++)c[h-1]=arguments[h];return(o=A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"move",this)).call.apply(o,[this].concat(c))}},{key:"update",value:function(a){for(var o,u=arguments.length,c=Array(u>1?u-1:0),h=1;h<u;h++)c[h-1]=arguments[h];return(o=A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"update",this)).call.apply(o,[this].concat(c))}},{key:"getLocalCellData",value:function(a){return A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"getLocalCellData",this).call(this,a,0)}},{key:"getLocalCellMetaData",value:function(a){return A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"getLocalCellMetaData",this).call(this,a,0)}},{key:"getRowIds",value:function(a){throw new Error("getRowIds is not supported for Tree type")}}]),i}(e);return t},_,P),_.exports=S},65034:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(32845),l(68073),l(11487)],S=l.dj.d(b,function(n,e,t){var r=function(i){d(s,i);function s(){return A(this,s),p(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return C(s,[{key:"add",value:function(o,u){var c=this,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};return h.place===void 0&&(h.place="last"),new Promise(function(v,f){var g={parentId:o.id,node:u,options:h};c._doSaveOperation(c._dataSave.beforeAdd,g).then(function(m){c._cachingDataProvider.add([{parentProxy:o,nodeToAdd:u,columnRange:h.columnRange,options:h}]).then(function(E){v(m)},function(E){f(E)})},function(m){f(m)})})}},{key:"remove",value:function(o){var u=this,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepChildren:!1};return c&&c.keepChildren===!0||(c={keepChildren:!1}),new Promise(function(h,v){u._needParentIdFor(o.id).then(function(f){var g={parentId:f,removeId:o.id,options:c};u._doSaveOperation(u._dataSave.beforeRemove,g).then(function(m){u._cachingDataProvider.remove([{proxyNodeToRemove:o,options:c}]).then(function(E){h(m)},function(E){v(E)})},function(m){v(m)})})})}},{key:"move",value:function(o,u){var c=this,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};return h.place===void 0&&(h.place="last"),new Promise(function(v,f){c._needParentIdFor(o.id).then(function(g){var m={parentId:g,newParentId:u.id,nodeToMoveId:o.id,options:h};c._doSaveOperation(c._dataSave.beforeMove,m).then(function(E){c._cachingDataProvider.move([{nodeToMoveProxy:o,newParentProxy:u,options:h}]).then(function(w){v(E)},function(w){f(w)})},function(E){f(E)})})})}},{key:"update",value:function(o,u){var c=this;return new Promise(function(h,v){c._needParentIdFor(o.id).then(function(f){var g={parentId:f,updateId:o.id,fieldsToMerge:u};c._doSaveOperation(c._dataSave.beforeUpdate,g).then(function(m){c._cachingDataProvider.update([{proxyNodeToUpdate:o,fieldsToMerge:u}]).then(function(E){h(m)},function(E){v(E)})},function(m){v(m)})})})}},{key:"getParentNode",value:function(o){var u=this;return o=e.normalize(o),new Promise(function(c){u._cachingDataProvider.getParentNode(o).then(function(h){c(h)})})}},{key:"getNode",value:function(o){var u=this;return o=e.normalize(o),new Promise(function(c){u._cachingDataProvider.getNode(o).then(function(h){c(h)})})}},{key:"getRowIds",value:function(o){for(var u=this,c=0;c<=o.length-1;c++)if(!t.isRangeInside(this.dataSize,o[c]))throw new Error("Range exceeds data size");return new Promise(function(h,v){u._cachingDataProvider.getRowIds(o).then(function(f){h(f)})})}},{key:"expand",value:function(o){var u=this;return new Promise(function(c,h){u._cachingDataProvider.expand(o).then(function(v){c(v)},function(v){h(v)})})}},{key:"expandTo",value:function(o){var u=this;return new Promise(function(c,h){u._cachingDataProvider.expandTo(o).then(function(v){c(v)},function(v){h(v)})})}},{key:"expandAll",value:function(){var o=this;return new Promise(function(u,c){o._cachingDataProvider.expandAll().then(function(h){u(h)},function(h){c(h)})})}},{key:"collapseAll",value:function(){var o=this;return new Promise(function(u,c){o._cachingDataProvider.collapseAll().then(function(h){u(h)},function(h){c(h)})})}},{key:"collapse",value:function(o){var u=this;return new Promise(function(c,h){u._cachingDataProvider.collapse(o).then(function(v){c(v)},function(v){h(v)})})}},{key:"groupBy",value:function(o){var u=this;return new Promise(function(c){u._cachingDataProvider.groupBy(o).then(function(h){c(h)})})}},{key:"clearGroupBy",value:function(){var o=this;return new Promise(function(u){o._cachingDataProvider.clearGroupBy().then(function(c){u(c)})})}}]),s}(n);return r},_,P),_.exports=S},52340:(_,P,l)=>{"use strict";var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var d=!0,n="before",e="before_start",t="at_start",r="in",i="at_end",s="after_end",a="after",o=0,u=1,c=function(){function h(){p(this,h),this._cache={cache:{},currentRows:0}}return C(h,[{key:"destroy",value:function(){this._cache=void 0}},{key:"insertDataIntoCache",value:function(f,g,m,E,w,I){if(this.doesNodeIdExistInCache(f)){this._cache.cache[f].info=this.makeContinuousRange(this._cache.cache[f].info,{id:f,parentId:g,columns:m,data:E,rowMetaData:w,cellMetaData:I}),this._updateRowMetaData(f,w);return}this._insertNewCacheEntry({id:f,parentId:g,columns:m,data:E,rowMetaData:w,cellMetaData:I})}},{key:"_updateRowMetaData",value:function(f,g){this._cache.cache[f].rowMetaData=g}},{key:"_getCacheInfoIndexByCol",value:function(f,g){for(var m=0;m<=this._cache.cache[f].info.length-1;m++)if(g>=this._cache.cache[f].info[m].columnRange[o]&&g<=this._cache.cache[f].info[m].columnRange[u])return m;return-1}},{key:"_getCachedDataByIndexAndCol",value:function(f,g,m){return this._cache.cache[f].info[g].data[m-this._cache.cache[f].info[g].columnRange[o]]}},{key:"_getCachedCellMetaDataByIndexAndCol",value:function(f,g,m){return this._cache.cache[f].info[g].cellMetaData[m-this._cache.cache[f].info[g].columnRange[o]]}},{key:"_isCacheValid",value:function(f){return this._cache.cache[f].validBit}},{key:"getColDataById",value:function(f,g,m){if(!(!this.doesNodeIdExistInCache(f)||!this._isCacheValid(f))){for(var E=[],w=g;w<=m;w++){var I=this._getCacheInfoIndexByCol(f,w);I!==-1?E.push(this._getCachedDataByIndexAndCol(f,I,w)):E.push(void 0)}return E}}},{key:"getRowMetaDataById",value:function(f){if(!(!this.doesNodeIdExistInCache(f)||!this._isCacheValid(f)))return this._cache.cache[f].rowMetaData}},{key:"getColCellMetaDataById",value:function(f,g,m){if(!(!this.doesNodeIdExistInCache(f)||!this._isCacheValid(f))){for(var E=[],w=g;w<=m;w++){var I=this._getCacheInfoIndexByCol(f,w);I!==-1?E.push(this._getCachedCellMetaDataByIndexAndCol(f,I,w)):E.push(void 0)}return E}}},{key:"_updateCacheInfoElementData",value:function(f,g,m,E){for(var w=E[o],I=0;w<=E[u];w++,I++)this._cache.cache[f].info[g].data[w-this._cache.cache[f].info[g].columnRange[o]]=m.data[I],this._cache.cache[f].info[g].cellMetaData[w-this._cache.cache[f].info[g].columnRange[o]]=m.cellMetaData[I]}},{key:"_insertNewCacheEntry",value:function(f){var g={};g.validBit=d,g.parentId=f.parentId,g.currentColumns=f.columns.count,g.rowMetaData=f.rowMetaData,g.info=[{columnRange:[f.columns[o],f.columns[u]],data:f.data,cellMetaData:f.cellMetaData}],this._cache.cache[f.id]=g,this._cache.currentRows+=1}},{key:"doesNodeIdExistInCache",value:function(f){return!!this._cache.cache[f]}},{key:"doesValidNodeIdExistInCache",value:function(f){return!!(this.doesNodeIdExistInCache(f)&&this._isCacheValid(f))}},{key:"doesDataExistInCache",value:function(f,g){return this.doesNodeIdExistInCache(f)?this._getCacheInfoIndexByCol(f,g)>-1:!1}},{key:"updateRowMetaData",value:function(f,g){var m=!1;return this.doesValidNodeIdExistInCache(f)&&(this._cache.cache[f].rowMetaData=Object.assign(this._cache.cache[f].rowMetaData,g),m=!0),m}},{key:"_getColStartOfCacheInfo",value:function(f){return f.columnRange[o]}},{key:"_getColEndOfCacheInfo",value:function(f){return f.columnRange[u]}},{key:"_getColStartOfNewNode",value:function(f){return f.columns[o]}},{key:"_getColEndOfNewNode",value:function(f){return f.columns[u]}},{key:"_makeNewCacheInfoDataWhileUpdating",value:function(f,g,m){for(var E=[],w=[],I=!1,M=f;M<=g;){if(M>=this._getColStartOfNewNode(m)&&M<=this._getColEndOfNewNode(m)){E=[].concat(A(E),A(m.data)),w=[].concat(A(w),A(m.cellMetaData)),M=this._getColEndOfNewNode(m)+1,I=!0;continue}I?(E=[].concat(A(E),A(this.getColDataById(m.id,M,g))),w=[].concat(A(w),A(this.getColCellMetaDataById(m.id,M,g))),M=g+1):(E=[].concat(A(E),A(this.getColDataById(m.id,M,this._getColStartOfNewNode(m)-1))),w=[].concat(A(w),A(this.getColCellMetaDataById(m.id,M,this._getColStartOfNewNode(m)-1))),M=this._getColStartOfNewNode(m))}return{data:E,cellMetaData:w}}},{key:"_makeCacheInfoElement",value:function(f,g,m){return{columnRange:[f,g],data:m.data,cellMetaData:m.cellMetaData}}},{key:"_findStartAndEndPositions",value:function(f,g){for(var m=void 0,E=void 0,w=this._getColStartOfNewNode(g),I=this._getColEndOfNewNode(g),M=0;M<=f.length-1&&m===void 0;M++)m=this._findStartPosition(w,f[M],M);m===void 0&&(m={found:!0,position:a,referenceIndex:f.length-1});for(var R=m.referenceIndex;R<=f.length-1&&E===void 0;R++)E=this._findStartPosition(I,f[R],R);return E===void 0&&(E={found:!0,position:a,referenceIndex:f.length-1}),{startPosition:m,endPosition:E}}},{key:"makeContinuousRange",value:function(f,g){var m=this._findStartAndEndPositions(f,g),E=m.startPosition,w=m.endPosition;switch(E.position){case a:return this._insertAfter(f,g);case n:case e:return this._insertBefore(f,g,E,w);case t:return this._insertAtStart(f,g,E,w);case r:case i:return this._insertIn(f,g,E,w);case s:return this._insertAfterEnd(f,g,E,w)}}},{key:"_insertNewElementAfterIndex",value:function(f,g,m){return g.columnRange=g.columns,delete g.columns,m.splice(f+1,0,g),m}},{key:"_findStartPosition",value:function(f,g,m){if(f<this._getColStartOfCacheInfo(g)-1)return{found:!0,position:n,referenceIndex:m};if(f===this._getColStartOfCacheInfo(g)-1)return{found:!0,position:e,referenceIndex:m};if(f===this._getColStartOfCacheInfo(g))return{found:!0,position:t,referenceIndex:m};if(f>this._getColStartOfCacheInfo(g)&&f<this._getColEndOfCacheInfo(g))return{found:!0,position:r,referenceIndex:m};if(f===this._getColEndOfCacheInfo(g))return{found:!0,position:i,referenceIndex:m};if(f===this._getColEndOfCacheInfo(g)+1)return{found:!0,position:s,referenceIndex:m}}},{key:"_insertAfter",value:function(f,g){return this._insertNewElementAfterIndex(f.length,g,f)}},{key:"_insertBefore",value:function(f,g,m,E){var w=void 0,I=void 0,M=void 0,R=void 0;return E.position===n?m.referenceIndex===E.referenceIndex?this._insertNewElementAfterIndex(m.referenceIndex-1,g,f):(f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex,this._makeCacheInfoElement(g.columns[o],g.columns[u],g)),f):E.position===s?(M=E.referenceIndex-m.referenceIndex+1,this._getColEndOfNewNode(g)+1===this._getColStartOfCacheInfo(f[E.referenceIndex+1])?(w=this._getColEndOfCacheInfo(f[E.referenceIndex+1]),M++):w=this._getColEndOfNewNode(g),R=[this._getColStartOfNewNode(g),w],f.splice(m.referenceIndex,M,this._makeCacheInfoElement(R[o],R[u],this._makeNewCacheInfoDataWhileUpdating(R[o],R[u],g))),f):E.position===a?(f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(g.columns[o],g.columns[u],g)),f):(I=[this._getColStartOfNewNode(g),this._getColEndOfCacheInfo(f[E.referenceIndex])],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(I[o],I[u],this._makeNewCacheInfoDataWhileUpdating(I[o],I[u],g))),f)}},{key:"_insertAtStart",value:function(f,g,m,E){var w=void 0,I=void 0,M=void 0,R=void 0;return E.position===n?(f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex,this._makeCacheInfoElement(g.columns[o],g.columns[u],g)),f):E.position===e?(I=[this._getColStartOfNewNode(g),this._getColEndOfCacheInfo(f[E.referenceIndex])],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(I[o],I[u],this._makeNewCacheInfoDataWhileUpdating(I[o],I[u],g))),f):E.position===s?(M=E.referenceIndex-m.referenceIndex+1,f[E.referenceIndex+1]&&this._getColEndOfNewNode(g)+1===this._getColStartOfCacheInfo(f[E.referenceIndex+1])?(w=this._getColEndOfCacheInfo(f[E.referenceIndex+1]),M++):w=this._getColEndOfNewNode(g),R=[this._getColStartOfNewNode(g),w],f.splice(m.referenceIndex,M,this._makeCacheInfoElement(R[o],R[u],this._makeNewCacheInfoDataWhileUpdating(R[o],R[u],g))),f):E.position===a?(f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(g.columns[o],g.columns[u],g)),f):m.referenceIndex===E.referenceIndex?(this._updateCacheInfoElementData(g.id,m.referenceIndex,g,[this._getColStartOfNewNode(g),this._getColEndOfNewNode(g)]),f):(I=[this._getColStartOfNewNode(g),this._getColEndOfCacheInfo(f[E.referenceIndex])],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(I[o],I[u],this._makeNewCacheInfoDataWhileUpdating(I[o],I[u],g))),f)}},{key:"_insertAfterEnd",value:function(f,g,m,E){var w=void 0,I=void 0,M=void 0;return E.position===n?(M=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfNewNode(g)],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex,this._makeCacheInfoElement(M[o],M[u],this._makeNewCacheInfoDataWhileUpdating(M[o],M[u],g))),f):E.position===s?(I=E.referenceIndex-m.referenceIndex+1,f[E.referenceIndex+1]&&this._getColEndOfNewNode(g)+1===this._getColStartOfCacheInfo(f[E.referenceIndex+1])?(w=this._getColEndOfCacheInfo(f[E.referenceIndex+1]),I++):w=this._getColEndOfNewNode(g),M=[this._getColStartOfCacheInfo(f[m.referenceIndex]),w],f.splice(m.referenceIndex,I,this._makeCacheInfoElement(M[o],M[u],this._makeNewCacheInfoDataWhileUpdating(M[o],M[u],g))),f):E.position===a?(M=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfNewNode(g)],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(M[o],M[u],this._makeNewCacheInfoDataWhileUpdating(M[o],M[u],g))),f):(M=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfCacheInfo(f[E.referenceIndex])],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(M[o],M[u],this._makeNewCacheInfoDataWhileUpdating(M[o],M[u],g))),f)}},{key:"_insertIn",value:function(f,g,m,E){var w=void 0,I=void 0,M=void 0,R=void 0;return E.position===n?(I=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfNewNode(g)],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex,this._makeCacheInfoElement(I[o],I[u],this._makeNewCacheInfoDataWhileUpdating(I[o],I[u],g))),f):E.position===s?(M=E.referenceIndex-m.referenceIndex+1,this._getColEndOfNewNode(g)+1===this._getColStartOfCacheInfo(f[E.referenceIndex+1])?(w=this._getColEndOfCacheInfo(f[E.referenceIndex+1]),M++):w=this._getColEndOfNewNode(g),R=[this._getColStartOfCacheInfo(f[m.referenceIndex]),w],f.splice(m.referenceIndex,M,this._makeCacheInfoElement(R[o],R[u],this._makeNewCacheInfoDataWhileUpdating(R[o],R[u],g))),f):E.position===a?(R=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfNewNode(g)],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(R[o],R[u],this._makeNewCacheInfoDataWhileUpdating(R[o],R[u],g))),f):E.position===r||E.position===i?m.referenceIndex===E.referenceIndex?(this._updateCacheInfoElementData(g.id,m.referenceIndex,g,[this._getColStartOfNewNode(g),this._getColEndOfNewNode(g)]),f):(I=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfCacheInfo(f[E.referenceIndex])],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(I[o],I[u],this._makeNewCacheInfoDataWhileUpdating(I[o],I[u],g))),f):(I=[this._getColStartOfCacheInfo(f[m.referenceIndex]),this._getColEndOfCacheInfo(f[E.referenceIndex])],f.splice(m.referenceIndex,E.referenceIndex-m.referenceIndex+1,this._makeCacheInfoElement(I[o],I[u],this._makeNewCacheInfoDataWhileUpdating(I[o],I[u],g))),f)}}]),h}();return c},_,P),_.exports=S},25644:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(){A(this,d),this._columnMetaCache={cache:{},numberOfColumns:0}}return C(d,[{key:"insertMetaData",value:function(e,t){this._columnMetaCache.cache[e]=t,this._doesCacheExist(e)||this._columnMetaCache.numberOfColumns++}},{key:"getColumnMetaData",value:function(e){return this._columnMetaCache.cache[e]}},{key:"_doesCacheExist",value:function(e){return!!this._columnMetaCache.cache[e]}}]),d}();return p},_,P),_.exports=S},37573:(_,P,l)=>{"use strict";var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(61657),l(52340),l(25644),l(26204),l(7698),l(11071),l(29350),l(6554)],S=l.dj.d(b,function(d,n,e,t,r,i,s,a,o){var u=0,c=1,h=!0,v="dataSizeChanged",f="dataChanged",g="pagedRowMetaDataChanged",m="pagedColumnMetaDataChanged",E="pagedWidgetMetaDataChanged",w="metaDataChanged",I=r.TABLE,M=r.TREE,R=function(F,y){F.hasOwnProperty("path")||Object.defineProperty(F,"path",{get:function(){return y.path}})},T=function(){function N(F,y){var x=this;p(this,N),this._type=y.type,this._infoCache=new e,this._columnMetaDataCache=new t,this._dataProvider=F,this._on=new n,this._listeners=[],this._viewPortRange=d.range(),this.dataSize=d.range(),this.setLatestDataSizeFromDataProvider(),this.rowIdTranslate={rowId:new s,maxRowNum:void 0,minRowNum:void 0},this._metaDataRules=new a,this._listeners.push(this._dataProvider.on(f,this._handleDataProviderDataChangedEvent.bind(this))),this._listeners.push(this._metaDataRules.on(w,function(O){for(var L=[],W=[],j=0;j<O.rangeList.length;j+=1){var H=O.rangeList[j];if(d.isRowRange(H)){var K=H.setColumns(0,0);W.push(K)}if(d.isColumnRange(H)){var $=H.setRows(0,0);L.push($)}}L.length>0&&x._emitPagedColumnMetaDataChanged(L),W.length>0&&x._emitPagedRowMetaDataChanged(W),x._emitDataChanged(O.rangeList)}))}return C(N,[{key:"_emitDataChanged",value:function(y){this._on.emit(f,{rangeList:y})}},{key:"_emitPagedColumnMetaDataChanged",value:function(y){this._on.emit(m,{rangeList:y})}},{key:"_emitPagedRowMetaDataChanged",value:function(y){this._on.emit(g,{rangeList:y})}},{key:"destroy",value:function(){this._listeners.forEach(function(y){return y.remove()}),this.rowIdTranslate.rowId.destroy(),this.rowIdTranslate=void 0,this._infoCache.destroy()}},{key:"on",value:function(y,x){var O=this._on.on(y,x);return this._listeners.push(O),O}},{key:"_handleDataProviderDataChangedEvent",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,this._dataProvider.dataSize),this._reactToNewDataSize(this._dataProvider.dataSize)}},{key:"managePaging",value:function(y){this._updateLocalViewPortInfo(y[0]);var x=this._getRangeListToFetch(y[0]);x.length!==0&&this.placeRequestForDataFetch(x)}},{key:"getData",value:function(y){var x=this;return new Promise(function(O,L){var W=x._computeRangeListToFetch(y);x.needDataForRangeList(W).then(function(){O(x._makeGetDataResponseLocally(y))},function(j){L(j)})})}},{key:"_computeRangeListToFetch",value:function(y){for(var x=[],O=0;O<=y.length-1;O++){if(this._type===I&&(y[O].columns.end===1/0&&(y[O]=y[O].setColumns(y[O].columns.start,this.dataSize.columns.end)),y[O].rows.end===1/0&&(y[O]=y[O].setRows(y[O].rows.start,this.dataSize.rows.end))),!d.isRangeInside(this.dataSize,y[O]))throw new Error("Range exceeds data size");var L=this._getRangeListToFetch(y[O]);L.length>0&&(x=[].concat(A(x),A(L)))}return x}},{key:"getRowIds",value:function(y){var x=this;return new Promise(function(O,L){var W=x._computeRangeListToFetch(y);x.needDataForRangeList(W).then(function(){O(x._makeGetRowIdsResponseLocally(y))},function(j){L(j)})})}},{key:"_makeGetRowIdsResponseLocally",value:function(y){for(var x=[],O=0;O<=y.length-1;O++)this._getIdsForARowRange(this._getRowRangeForRangeUtilRange(y[O])).forEach(function(L){return x.push(L)});return x}},{key:"_getIdsForARowRange",value:function(y){for(var x=[],O=y[u];O<=y[c];O++)x.push(this._getIdMappedWithRow(O));return x}},{key:"_makeGetDataResponseLocally",value:function(y){for(var x=[],O=0;O<=y.length-1;O++){var L=this._getCellBlock(y[O].rows.start,y[O].rows.end,y[O].columns.start,y[O].columns.end);L.range=y[O],x[O]=L}return x}},{key:"_getCellBlock",value:function(y,x,O,L){for(var W=[],j=y;j<=x;j+=1){for(var H=[],K=O;K<=L;K+=1)H[K]=this.getLocalCellData(j,K);W[j]=H}return W}},{key:"_getRangeListToFetch",value:function(y){for(var x=[],O=this._getRowRangeForRangeUtilRange(y),L=this._getColRangeForRangeUtilRange(y),W=O[u];W<=O[c];W++){if(!this._isThereAnIdAssociatedWithRow(W)){x.push(d.range().setRows(W,W).setColumns(L[u],L[c]));continue}for(var j=L[u];j<=L[c];j++)this._infoCache.doesDataExistInCache(this._getIdMappedWithRow(W),j)||x.push(d.range().setRows(W,W).setColumns(j,j))}return x}},{key:"createMetaDataRule",value:function(y,x){if(!x)throw new Error("dataselector is missing");return y.node&&(y.row=y.node,x||(x={type:o.dataSelectorTypes.node})),x.type==="hierarchy"&&(y.node&&(y.row=y.node),Array.isArray(x.value)||(x.value=[x.value])),o.create(y,x,this._type)}},{key:"addMetaDataRule",value:function(y,x){this._metaDataRules.add(y,x)}},{key:"removeMetaDataRule",value:function(y){this._metaDataRules.remove(y)}},{key:"getLocalCellData",value:function(y,x){var O=this._getIdMappedWithRow(y);if(O!==void 0){var L=this._infoCache.getColDataById(O,x,x);if(L!==void 0)return L[0]}}},{key:"getLocalCellMetaData",value:function(y,x){var O=void 0,L=this._getIdMappedWithRow(y);if(L===void 0)O=void 0;else{var W=this._infoCache.getColCellMetaDataById(L,x,x);W===void 0?O=void 0:O=W[0]}var j=this._metaDataRules.getCellMetaData({rowIndex:y,columnIndex:x,dynamic:{cellMetaData:O,widgetMetaData:this.getLocalWidgetMetaData()}});return Object.assign({},O,j)}},{key:"updateMetaDataRule",value:function(y,x,O){var L=o.create(x,O,this._type);return this._metaDataRules.update(y,L)}},{key:"getLocalRowMetaData",value:function(y){var x=this._getIdMappedWithRow(y),O=void 0;x===void 0?O=void 0:O=this._infoCache.getRowMetaDataById(x);var L=this._metaDataRules.getRowMetaData({rowIndex:y,dynamic:{path:O&&O.path?O.path:void 0,rowMetaData:O,widgetMetaData:this.getLocalWidgetMetaData()}}),W={};return R(W,O),Object.assign(W,O,L)}},{key:"getLocalColumnMetaData",value:function(y){var x=this._columnMetaDataCache.getColumnMetaData(y),O=this._metaDataRules.getColumnMetaData({columnIndex:y,dynamic:{widgetMetaData:this.getLocalWidgetMetaData(),columnMetaData:x}});return Object.assign({},x,O)}},{key:"getLocalWidgetMetaData",value:function(){return this._cachedWidgetMetaData}},{key:"expand",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.expand(y).then(function(W){x._handleDataProviderExpandResponse(W),O({})},function(W){L(W)})})}},{key:"expandTo",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.expandTo(y).then(function(W){x._handleDataProviderExpandToResponse(W,y).then(function(j){O(j)})},function(W){L(W)})})}},{key:"expandAll",value:function(){var y=this;return new Promise(function(x,O){y._dataProvider.expandAll().then(function(L){y._handleDataProviderExpandAllResponse(L),x({})},function(L){O(L)})})}},{key:"collapseAll",value:function(){var y=this;return new Promise(function(x,O){y._dataProvider.collapseAll().then(function(L){y._handleDataProviderCollapseAllResponse(L),x({})},function(L){O(L)})})}},{key:"collapse",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.collapse(y).then(function(W){x._handleDataProviderCollapseResponse(W),O({})},function(W){L(W)})})}},{key:"getParentNode",value:function(y){var x=this,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return new Promise(function(L){if(x._doesRowAndCacheExistForId(y.id)){var W=x._infoCache.getRowMetaDataById(y.id);if(W&&W.path){var j=x._getParentIdFromRowMetaData(W);if(j===null){L(null);return}if(x._doesRowAndCacheExistForId(j)){L(x._makeGetNodeResponseLocally({id:j}));return}}}x.needParentForProxyIdRanges(x._getProxyNodeRangesWithViewPortRange([y])[0]).then(function(H){if(O){L(x._makeGetNodeResponseLocally({id:H}));return}x.getNode(y).then(function(K){if(K===null)L(null);else{if(H===null){L(null);return}L(x._makeGetNodeResponseLocally({id:H}))}})})})}},{key:"getNode",value:function(y){var x=this;return new Promise(function(O){var L=x._getProxyNodesToFetch([y]),W=x._getProxyNodeRangesWithViewPortRange(L);x.needDataForProxyIdRanges(W).then(function(){O(x._makeGetNodeResponseLocally(y))})})}},{key:"getIndex",value:function(y){var x=this;return new Promise(function(O){var L=x._getProxyIdsToFetchForTable([y]),W=L.proxyIdsToFetch,j=L.cachedRows,H=x._getProxyNodeRangesWithViewPortRange(W);x.needDataForProxyIdRanges(H).then(function(){O(x._makeTableGetIndexResponseLocally(y,j))})})}},{key:"_makeTableGetIndexResponseLocally",value:function(y,x){if(x.length===1)return{index:x[0]};var O=this._getRowForValidRowAndCacheForTableId(y.id);return{index:O}}},{key:"_makeGetNodeResponseLocally",value:function(y){var x=Number(this._getRowMappedWithId(y.id));if(!Number.isInteger(x))return null;var O=this._infoCache.getRowMetaDataById(y.id);return O===void 0&&(O={}),{index:x,node:O}}},{key:"_getProxyNodeRangesWithViewPortRange",value:function(y){var x=[],O=this._getColRangeForRangeUtilRange(this._viewPortRange);(this._type===M||O[u]===0&&O[c]===-1)&&(O=[0,0]);for(var L=0;L<=y.length-1;L++)x.push({id:y[L].id,range:d.range().setColumns(O[u],O[c])});return x}},{key:"needDataForProxyIdRanges",value:function(y){var x=this;return new Promise(function(O,L){if(y.length===0){O({});return}x._dataProvider.getDataById(y).then(function(W){x._handleDataProviderGetDataByIdResponse(W,!1),O({})},function(W){L(W)})})}},{key:"needParentForProxyIdRanges",value:function(y){var x=this;return new Promise(function(O,L){if(y.length===0){O({});return}x._dataProvider.getParentNode(y).then(function(W){if(W.length>=1){var j=x._getTreeIdFromGetDataByIdResponse(W[0]);x._handleDataProviderGetDataByIdResponse(W,!1),O(j)}else O(null)},function(W){L(W)})})}},{key:"_getTreeIdFromGetDataByIdResponse",value:function(y){return y.metaData?y.metaData.rowLevel[0].id:y.id}},{key:"_handleDataProviderGetDataByIdResponse",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=this._getCacheFeedableFormat(y,!0),L=O.cacheUpdates,W=O.widgetLevelMetaData;this._updateCacheWithFeedableFormat(L,!0),this._updateCachedWidgetMetaData(W),x&&(this._emitEvent(f,{rangeList:this._getEntireRangeListFromResponse(y)}),this._emitEvent(g,{rangeList:this._getEntireRangeListFromResponse(y,g)}),this._emitEvent(m,{rangeList:this._getEntireRangeListFromResponse(y,m)}),W&&this._emitEvent(E,{}),this._reactToNewDataSize(this._dataProvider.dataSize))}},{key:"add",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.add(y).then(function(W){x._handleDataProviderAddResponse(W),O({})},function(W){L(W)})})}},{key:"_needParentIdFor",value:function(y){var x=this;return new Promise(function(O){if(x._doesRowAndCacheExistForId(y)){O(x._getParentIdFromRowMetaData(x._infoCache.getRowMetaDataById(y)));return}x.getParentNode({id:y},!0).then(function(L){O(L===null?null:L.node.id)})})}},{key:"remove",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.remove(y).then(function(W){x._handleDataProviderRemoveResponse(W),O({})},function(W){L(W)})})}},{key:"move",value:function(y){var x=this;return new Promise(function(O,L){for(var W=0;W<=y.length-1;W++)if(x._doesRowAndCacheExistForId(y[W].newParentProxy.id)){var j=x._infoCache.getRowMetaDataById(y[W].newParentProxy.id);if(j&&j.path&&j.path.indexOf(y[W].nodeToMoveProxy.id)>=0){var H=new Error("Move caused a circular reference");H.reason=i.ERROR_CIRCULAR_REF,L(H);return}}x._dataProvider.move(y).then(function(K){x._handleDataProviderMoveResponse(K),O({})},function(K){L(K)})})}},{key:"update",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.update(y).then(function(W){x._handleDataProviderUpdateResponse(W),O({})},function(W){L(W)})})}},{key:"_handleDataProviderAddResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderRemoveResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderMoveResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderUpdateResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderExpandAllResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderCollapseAllResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderExpandToResponse",value:function(y,x){var O=this;return new Promise(function(L){if(y.indexOfTargetNode===void 0){L(null);return}O.needDataForRangeList([O._viewPortRange.setRows(y.indexOfTargetNode,y.indexOfTargetNode)]).then(function(){var W=O._infoCache.getRowMetaDataById(x.id);y.rowToFetch!==void 0&&O._setNearestInvalidRow(y.rowToFetch,y.dataSize),O._reactToNewDataSize(y.dataSize),L({index:y.indexOfTargetNode,node:O._createTreeNodeInfoFromMetaData(W,x.id)})})})}},{key:"_createTreeNodeInfoFromMetaData",value:function(y,x){var O=y||{},L=O.groupRow,W=O.highlight,j=O.isExpanded,H=O.isExpandable,K=O.level,$=O.path;return{groupRow:L,highlight:W,id:x,isExpandable:H,isExpanded:j,level:K,path:$}}},{key:"_handleDataProviderExpandResponse",value:function(y){for(var x=1/0,O=0;O<=y.expandInfo.length-1;O++)y.expandInfo[O].success===h&&y.expandInfo[O].rowToFetch!==void 0&&(x=Math.min(x,y.expandInfo[O].rowToFetch));x!==1/0&&x>=0&&this._setNearestInvalidRow(x,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_handleDataProviderCollapseResponse",value:function(y){for(var x=1/0,O=0;O<=y.collapseInfo.length-1;O++)y.collapseInfo[O].success===h&&y.collapseInfo[O].rowToFetch!==void 0&&(x=Math.min(x,y.collapseInfo[O].rowToFetch));x!==1/0&&x>=0&&this._setNearestInvalidRow(x,y.dataSize),this._reactToNewDataSize(y.dataSize)}},{key:"_reactToNewDataSize",value:function(y){var x=this;if(y!==this.dataSize){this.dataSize=y;var O=this.getViewPortRange();O&&O.rows&&O.rows.count>0?setTimeout(function(){x._emitEvent(v,{dataSize:x.dataSize})},0):this._emitEvent(v,{dataSize:this.dataSize})}}},{key:"setLatestDataSizeFromDataProvider",value:function(){return this.dataSize=this._dataProvider.dataSize,this.dataSize}},{key:"_emitEvent",value:function(y,x){this._on.emit(y,x)}},{key:"_updateLocalViewPortInfo",value:function(y){this._viewPortRange!==y&&(this._viewPortRange=y)}},{key:"getViewPortRange",value:function(){return this._viewPortRange}},{key:"placeRequestForDataFetch",value:function(y){y&&y.length===0||this._dataProvider.getData(y).then(this._handleDataProviderGetDataResponse.bind(this),this._genericErrorHandler.bind(this))}},{key:"needDataForRangeList",value:function(y){var x=this;return new Promise(function(O,L){if(y.length===0){O({});return}x._dataProvider.getData(y).then(function(W){x._handleDataProviderGetDataResponse(W,!1),O({})},function(W){L(W)})})}},{key:"_genericErrorHandler",value:function(y){console.log("Internal Error"),console.log(y)}},{key:"_mapRowId",value:function(y,x){if(this._type!==I&&this.rowIdTranslate.rowId.mapAnIdToARow(x,y),this.rowIdTranslate.maxRowNum===void 0&&this.rowIdTranslate.minRowNum===void 0){this.rowIdTranslate.maxRowNum=y,this.rowIdTranslate.minRowNum=y;return}if(y>this.rowIdTranslate.maxRowNum){this.rowIdTranslate.maxRowNum=y;return}y<this.rowIdTranslate.minRowNum&&(this.rowIdTranslate.minRowNum=y)}},{key:"_getIdMappedWithRow",value:function(y){if(!(this.rowIdTranslate.minRowNum===void 0||this.rowIdTranslate.maxRowNum===void 0||y<this.rowIdTranslate.minRowNum||y>this.rowIdTranslate.maxRowNum))return this._type===r.TABLE?this._infoCache.doesValidNodeIdExistInCache(y)?y:void 0:this.rowIdTranslate.rowId.getIdAssociatedWithRow(y)}},{key:"_getProxyNodesToFetch",value:function(y){for(var x=[],O=0;O<=y.length-1;O++)this._doesRowAndCacheExistForId(y[O].id)||x.push({id:y[O].id});return x}},{key:"_getProxyIdsToFetchForTable",value:function(y){for(var x=[],O=[],L=0;L<=y.length-1;L++){var W=this._getRowForValidRowAndCacheForTableId(y[L].id);W===void 0?x.push({id:y[L].id}):O.push(W)}return{proxyIdsToFetch:x,cachedRows:O}}},{key:"_doesRowAndCacheExistForId",value:function(y){return!!(this._getRowMappedWithId(y)!==void 0&&this._infoCache.doesValidNodeIdExistInCache(y))}},{key:"_getRowForValidRowAndCacheForTableId",value:function(y){var x=void 0;if(this.rowIdTranslate.minRowNum===void 0||this.rowIdTranslate.maxRowNum===void 0)return x;for(var O=this.rowIdTranslate.minRowNum;O<=this.rowIdTranslate.maxRowNum;O++)if(this._getRowMappedWithId(O)!==void 0&&this._infoCache.doesValidNodeIdExistInCache(O)){var L=this._infoCache.getRowMetaDataById(O);if(L&&L.id===y){x=O;break}}return x}},{key:"_getRowMappedWithId",value:function(y){var x=void 0;if(this._type===I)this._infoCache.doesValidNodeIdExistInCache(y)&&(x=y);else{var O=this.rowIdTranslate.rowId.getRowAssociatedWithId(y);O>=this.rowIdTranslate.minRowNum&&O<=this.rowIdTranslate.maxRowNum&&(x=O)}return x}},{key:"_handleDataProviderGetDataResponse",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=this._getCacheFeedableFormat(y),L=O.cacheUpdates,W=O.widgetLevelMetaData;this._updateCacheWithFeedableFormat(L,!0),this._updateCachedWidgetMetaData(W),x&&(this._emitEvent(f,{rangeList:this._getEntireRangeListFromResponse(y)}),this._emitEvent(g,{rangeList:this._getEntireRangeListFromResponse(y,g)}),this._emitEvent(m,{rangeList:this._getEntireRangeListFromResponse(y,m)}),W&&this._emitEvent(E,{}),this._reactToNewDataSize(this._dataProvider.dataSize))}},{key:"_getEntireRangeListFromResponse",value:function(y){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,O=[],L=0;L<=y.length-1;L++){var W=y[L].range;W!==void 0&&(x===g&&(W=W.setColumns(0,0),W=W.setRows(W.rows.start,1/0)),x===m&&(W=W.setRows(0,0),W=W.setColumns(W.columns.start,1/0)),O.push(W))}return O}},{key:"_updateCacheWithFeedableFormat",value:function(y){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O=0;O<=y.length-1;O++)y[O].columnRange&&this._infoCache.insertDataIntoCache(y[O].id,y[O].parentId,y[O].columnRange,y[O].data,y[O].rowMetaData,y[O].cellMetaData),x&&this._mapRowId(y[O].flattenedRow,y[O].id)}},{key:"_updateCachedWidgetMetaData",value:function(y){this._cachedWidgetMetaData=y}},{key:"_getCacheFeedableFormat",value:function(y){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O=[],L=void 0,W=0;W<=y.length-1;W++){var j=this._convertResponseElementToCacheUpdates(y[W],x);j.length>=1&&(j[0].columnRange&&this._updateColumnMetaData(this._colRangeToColumnNumbers(j[0].columnRange),j[0].columnMetaData),O=[].concat(A(O),A(j))),this._isWidgetMetaDataPresentInGetDataResponse(y[W])&&(L=y[W].metaData.all)}return{cacheUpdates:O,widgetLevelMetaData:L}}},{key:"_updateColumnMetaData",value:function(y,x){for(var O=0;O<=y.length-1;O++)this._columnMetaDataCache.insertMetaData(y[O],x[O])}},{key:"_colRangeToColumnNumbers",value:function(y){for(var x=[],O=y[u];O<=y[c];O++)x.push(O);return x}},{key:"_convertResponseElementToCacheUpdates",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O=[];if(y.range===void 0||x&&y.range.rows.count===0)return O;for(var L=this._getRowRangeForRangeUtilRange(y.range),W=this._getColRangeForRangeUtilRange(y.range),j=!this._doesAtLeastOneColumnExists(W),H=0;H<=y.range.rows.count-1;H++){var K={};K.id=this._getCacheIdFromResponseElement(y,H,L,x),K.columnRange=j?void 0:W,K.flattenedRow=L[u]+H,j||(K.parentId=this._getParentIdToCacheIn(y,H,x),K.data=y.data[H],K.rowMetaData=y.metaData.rowLevel[H],K.cellMetaData=y.metaData.cellLevel[H],K.columnMetaData=y.metaData.columnLevel),O.push(K)}return O}},{key:"_isWidgetMetaDataPresentInGetDataResponse",value:function(y){return!!(y.metaData&&y.metaData.all)}},{key:"_doesAtLeastOneColumnExists",value:function(y){return y[c]-y[u]>=0}},{key:"_getCacheIdFromResponseElement",value:function(y,x,O){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return L?this._type===I?O[u]:y.id:this._type===I?O[u]+x:y.id[x]}},{key:"_getParentIdToCacheIn",value:function(y,x){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this._type!==I)return O?y.parentId:y.parentId[x]}},{key:"_getIdFromResponseElementMetaData",value:function(y,x){return y.metaData.rowLevel[x].id}},{key:"_getParentIdFromResponseElementMetaData",value:function(y,x){return this._getParentIdFromRowMetaData(y.metaData.rowLevel[x])}},{key:"_getParentIdFromRowMetaData",value:function(y){return y.path.length>=2?y.path[y.path.length-2]:null}},{key:"_getRowRangeForRangeUtilRange",value:function(y){return[y.rows.start,y.rows.end]}},{key:"_getColRangeForRangeUtilRange",value:function(y){return[y.columns.start,y.columns.end]}},{key:"_getRowsNotHavingIdsAssociated",value:function(y){for(var x=[],O=y[u];O<=y[c];O++)this._isThereAnIdAssociatedWithRow(O)||x.push(O);return x}},{key:"_isThereAnIdAssociatedWithRow",value:function(y){return this._getIdMappedWithRow(y)!==void 0}},{key:"_setNearestInvalidRow",value:function(y,x){if(y>this.rowIdTranslate.maxRowNum&&console.log("rowToFetch is greater than known maxRowNum"),y<this.rowIdTranslate.minRowNum&&(console.log("rowToFetch is smaller than minRowNum. Setting minRowNum and maxRowNum to undefined"),this.rowIdTranslate.minRowNum=void 0,this.rowIdTranslate.maxRowNum=void 0),y>=this.rowIdTranslate.minRowNum&&y<=this.rowIdTranslate.maxRowNum){for(var O=void 0,L=y-1;L>=this.rowIdTranslate.minRowNum;L--)if(this._isThereAnIdAssociatedWithRow(L)){O=L;break}O===void 0?(this.rowIdTranslate.minRowNum=void 0,this.rowIdTranslate.maxRowNum=void 0):this.rowIdTranslate.maxRowNum=O}if(this._viewPortRange.rows.count===0){this._emitEvent(f,{rangeList:[this.dataSize.setRows(0,1/0)]}),this._emitEvent(g,{rangeList:[this.dataSize.setRows(0,1/0)]});return}if(y>=this._getRowRangeForRangeUtilRange(this._viewPortRange)[u]&&y<=this._getRowRangeForRangeUtilRange(this._viewPortRange)[c]){var W=this._getViewRangeListToPlaceRequest(y,x);if(W.length===0){this._emitEvent(f,{rangeList:[this.dataSize.setRows(0,1/0)]}),this._emitEvent(g,{rangeList:[this.dataSize.setRows(0,1/0)]});return}this.placeRequestForDataFetch(this._getViewRangeListToPlaceRequest(y,x))}}},{key:"_getViewRangeListToPlaceRequest",value:function(y,x){var O=[];return d.doesRangeIntersect(x,this._viewPortRange.setRows(y,this._getRowRangeForRangeUtilRange(this._viewPortRange)[c]))&&O.push(d.clipRange(this._viewPortRange.setRows(y,this._getRowRangeForRangeUtilRange(this._viewPortRange)[c]),x)),O}},{key:"filter",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.filter(y).then(function(W){x._handleDataProviderResponse(W),O({})},function(W){L(W)})})}},{key:"clearFilter",value:function(){var y=this;return new Promise(function(x,O){y._dataProvider.clearFilter().then(function(L){y._handleDataProviderResponse(L),x({})},function(L){O(L)})})}},{key:"sort",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.sort(y).then(function(W){x._handleDataProviderResponse(W),O({})},function(W){L(W)})})}},{key:"search",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.search(y).then(function(W){x._handleDataProviderResponse(W),O({})},function(W){L(W)})})}},{key:"clearSearch",value:function(){var y=this;return new Promise(function(x,O){y._dataProvider.clearSearch().then(function(L){y._handleDataProviderResponse(L),x({})},function(L){O(L)})})}},{key:"groupBy",value:function(y){var x=this;return new Promise(function(O,L){x._dataProvider.groupBy(y).then(function(W){x._handleDataProviderResponse(W),O({})},function(W){L(W)})})}},{key:"clearGroupBy",value:function(){var y=this;return new Promise(function(x,O){y._dataProvider.clearGroupBy().then(function(L){y._handleDataProviderResponse(L),x({})},function(L){O(L)})})}},{key:"_handleDataProviderResponse",value:function(y){y.rowToFetch!==void 0&&this._setNearestInvalidRow(y.rowToFetch,y.dataSize),this._reactToNewDataSize(y.dataSize)}}]),N}();return T},_,P),_.exports=S},11071:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(){A(this,d),this._rowToIdMap=new Map,this._idToRowMap=new Map}return C(d,[{key:"mapAnIdToARow",value:function(e,t){this._rowToIdMap.set(t,e),this._idToRowMap.set(e,t)}},{key:"getIdAssociatedWithRow",value:function(e){return this._rowToIdMap.get(e)}},{key:"getRowAssociatedWithId",value:function(e){return this._idToRowMap.get(e)}},{key:"destroy",value:function(){this._rowToIdMap=void 0,this._idToRowMap=void 0}}]),d}();return p},_,P),_.exports=S},80919:(_,P,l)=>{"use strict";var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(61657),l(11487),l(56251),l(3641),l(7698),l(71455),l(33044),l(95126),l(29350),l(6554),l(72904),l(26204)],S=l.dj.d(b,function(d,n,e,t,r,i,s,a,o,u,c,h){"use strict";var v="addOrRemoveRows",f="addOrRemoveColumns",g=function(w){var I=new c;setTimeout(function(){return w(I.resolve,I.reject)},0),this.then=I.promise.then},m=function(){function E(w){var I=this,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};p(this,E),this._on=new d,this._listeners=[],this._type=M.type,this._metaDataRules=new o,this._dataSave=M.dataSave||{},this._dataSize=n.range(),this._sort=new t,this._filtering=!1,this._searching=!1,this.replaceAll(w,M),this._listeners.push(this._metaDataRules.on("metaDataChanged",function(R){for(var T=[],N=[],F=0;F<R.rangeList.length;F+=1){var y=R.rangeList[F];if(n.isRowRange(y)){var x=y.setColumns(0,0);N.push(x)}if(n.isColumnRange(y)){var O=y.setRows(0,0);T.push(O)}}T.length>0&&I._emitPagedColumnMetaDataChanged(T),N.length>0&&I._emitPagedRowMetaDataChanged(N),I._dataChanged(R.rangeList)}))}return C(E,[{key:"_getSortState",value:function(){return this._sortState}},{key:"_setSortState",value:function(I){this._sortState=I}},{key:"_updateSortState",value:function(){return this._sort.sorted?!1:(this._setSortState(null),!0)}},{key:"addMetaDataRule",value:function(I,M){this._metaDataRules.add(I,M)}},{key:"removeMetaDataRule",value:function(I){this._metaDataRules.remove(I)}},{key:"createMetaDataRule",value:function(I,M){return u.create(I,M,this._type)}},{key:"managePaging",value:function(I){}},{key:"_isRangeAddingRows",value:function(I){return!!(I.rows.start===I.rows.end&&this._isRowRange(I))}},{key:"_isRangeAddingColumns",value:function(I){return!!(I.columns.start===I.columns.end&&this._isColumnRange(I))}},{key:"_getDataSizeOnAdd",value:function(I,M,R){if(this._isRangeAddingRows(M))return I.setRows(0,I.rows.end+R);if(this._isRangeAddingColumns(M))return I.setColumns(0,I.columns.end+R)}},{key:"_getDataSizeOnRemove",value:function(I,M){if(this._isRowRange(M)){var R=I.rows.count-M.rows.count-1;return R=R<-1?-1:R,I.setRows(0,R)}if(this._isColumnRange(M)){var T=I.columns.count-M.columns.count-1;return T=T<-1?-1:T,I.setColumns(0,T)}}},{key:"_addRowLabelRules",value:function(I){var M=this,R=n.range().setColumns(0,1/0).setRows(0,1/0),T=this.createMetaDataRule.bind(this),N=T({row:function(y){var x=M.getLocalCellData(y.rowIndex,M._rowLabelIndex),O=x?x.value:void 0;return{label:O}}},{type:"rangeList",value:[R]});this._metaDataRules.addBuiltIn("$setRowLabels",N)}},{key:"_updateDataSize",value:function(){var I=E._calcTableSize(this._data,this._defaultColumnCount);(I.rows.count!==this._dataSize.rows.count||I.columns.count!==this._dataSize.columns.count)&&(this._dataSize=I,this._on.emit("dataSizeChanged",{dataSize:I}))}},{key:"getLocalCellData",value:function(I,M){var R=this._data[I];if(R)return R[M]}},{key:"getLocalRowMetaData",value:function(I){var M=this._gatherRowForMetaData(I),R=void 0,T=null;if(M!==void 0){try{R=this._getId(M)}catch(F){}T={id:R}}var N=this._metaDataRules.getRowMetaData({rowIndex:I,dynamic:T});return N.id=R,N}},{key:"getLocalColumnMetaData",value:function(I){var M={},R=this._metaDataRules.getColumnMetaData({columnIndex:I,dynamic:M});return this._getColumnNumbersForSortCriteria(this._getSortState()).indexOf(I)>=0&&(R.sorted=this._getSortState()),R}},{key:"_getColumnNumbersForSortCriteria",value:function(I){var M=[];return I&&I.forEach(function(R){return M.push(R.columnIndex)}),M}},{key:"updateColumnHeader",value:function(I){var M=I.id,R=I.value;return this._headers.updateHeader({id:M,value:R}),new g(function(T){setTimeout(T,0)})}},{key:"updateRowHeader",value:function(I,M){var R=this,T=I.rowIndex,N=M.value;return new g(function(F,y){try{var x=n.range().setRows(T,T).setColumns(R._rowLabelIndex,R._rowLabelIndex);F(R.update(x,[[{value:N}]]))}catch(O){y(O)}})}},{key:"getLocalColumnSpanningMetaData",value:function(I){return{value:this._headers.getHeaderHierarchy(I)}}},{key:"getLocalCellMetaData",value:function(I,M){var R=this.getLocalCellData(I,M),T=null;if(R!==void 0){var N=this._gatherRowForMetaData(I);T={id:this._getId(N),value:R},this._searching&&(T._row={data:this._data[I]})}var F=this._metaDataRules.getCellMetaData({rowIndex:I,columnIndex:M,dynamic:T});return F}},{key:"_emitPagedColumnMetaDataChanged",value:function(I){this._on.emit("pagedColumnMetaDataChanged",{rangeList:I})}},{key:"_emitPagedRowMetaDataChanged",value:function(I){this._on.emit("pagedRowMetaDataChanged",{rangeList:I})}},{key:"getIndex",value:function(I){var M=this;return new g(function(R,T){for(var N=0;N<M._data.length;N+=1){var F=M._gatherRowForMetaData(N);I.id===M._getId(F)&&R({index:N})}R({index:null})})}},{key:"getRowIds",value:function(I){var M=this,R=[];return new Promise(function(T,N){for(var F=0;F<=I.length-1;F++){var y=I[F];if(!n.isRangeInside(M.dataSize,y)){N(new Error("Range exceeds data size"));return}for(var x=y.rows.start,O=y.rows.end,L=x;L<=O;L++){var W=M._gatherRowForMetaData(L);R.push(M._getId(W))}}T(R)})}},{key:"getData",value:function(I){var M=this,R=I.slice(),T=new g(function(N,F){var y=[];R.forEach(function(x,O){if(x.columns.end===1/0&&(x=x.setColumns(x.columns.start,M.dataSize.columns.end)),x.rows.end===1/0&&(x=x.setRows(x.rows.start,M.dataSize.rows.end)),!n.isRangeInside(M.dataSize,x)){F(new Error("Range exceeds data size"));return}var L=x.rows.start,W=x.rows.end,j=x.columns.start,H=x.columns.end,K=M._getCellBlock(L,W,j,H);K.range=x,y[O]=K}),N(y)});return T}},{key:"_gatherRowForMetaData",value:function(I){for(var M=[],R=0;R<this._metaDataColumns.length;R+=1){var T=this._metaDataColumns[R];M[T]=this.getLocalCellData(I,T)}return M}},{key:"_getCellBlock",value:function(I,M,R,T){for(var N=[],F=I;F<=M;F+=1){for(var y=[],x=R;x<=T;x+=1)y[x]=this.getLocalCellData(F,x);N[F]=y}return N}},{key:"add",value:function(I){for(var M=arguments.length,R=Array(M>1?M-1:0),T=1;T<M;T++)R[T-1]=arguments[T];return Array.isArray(I)?this._addRecords.apply(this,[I].concat(R)):this._addRecord.apply(this,[I].concat(R))}},{key:"_addRecords",value:function(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};if(this._filtering)throw new Error("Data cannot be added in filter mode. Clear filter before adding data.");return this._doModifyData(I,M,this._validateAddingRecords.bind(this),this._dataSave.beforeAdd,this._performAdd.bind(this))}},{key:"_addRecord",value:function(I,M){if(this._filtering)throw new Error("Data cannot be added in filter mode. Clear filter before adding data.");var R=[{range:I,data:M}],T=this._validateAddingRecords(R);return this._doSaveOperation(this._dataSave.beforeAdd,this._bulkifyDataAdd,T[0])}},{key:"_bulkifyDataAdd",value:function(I){return this._performAdd([I])}},{key:"_performAdd",value:function(I){if(I.length!==0){for(var M=1/0,R=1/0,T=!1,N=!1,F=0;F<=I.length-1;F++){var y=this._add(I[F]);I[F][v]&&(M=Math.min(M,y.rows.start),T=!0),I[F][f]&&(R=Math.min(R,y.columns.start),N=!0)}M=N?0:M,R=T?0:R;var x=[n.range().setRows(M,1/0).setColumns(R,1/0)];this._updateDataSize(),this._dataChanged(x,this._checkSortStateThenSort(x))}}},{key:"_determineAddExtraOptions",value:function(I){if(I[v])return{addOrRemoveRows:!0};if(I[f])return{addOrRemoveColumns:!0}}},{key:"_isRowRange",value:function(I){return I.columns.start===0&&I.columns.end===1/0}},{key:"_isColumnRange",value:function(I){return I.rows.start===0&&I.rows.end===1/0}},{key:"_validateAddingRecords",value:function(I){for(var M=[],R=this._dataSize,T=0;T<=I.length-1;T++){var N=I[T].range,F=I[T].data;if(this._isRangeAddingRows(N)){if(N.rows.start>R.rows.count||N.rows.start<0)throw new Error("Index "+N.rows.start+" is out of range for adding row(s)");for(var y=0;y<F.length;y+=1)if(F[y].length!==R.columns.count)throw new Error("data["+y+"] needs to contain "+R.columns.count+" columns of data for adding row(s)");R=this._getDataSizeOnAdd(R,N,F.length),M.push({range:N,data:F,addOrRemoveRows:!0})}else if(this._isRangeAddingColumns(N)){if(N.columns.start>R.columns.count||N.columns.start<0)throw new Error("Index "+N.columns.start+" is out of range for adding column(s)");var x=-1;if(F.length!==R.rows.count&&R.rows.count>0)throw new Error("data needs to contain "+R.rows.count+" rows of data for adding column(s)");for(var O=0;O<F.length;O+=1)if(x===-1)x=F[O].length;else if(x!==F[O].length)throw new Error("The data["+O+"] needs to contain the same number of columns ("+x+") as the first row for adding column(s)");R=this._getDataSizeOnAdd(R,N,F[0].length),M.push({range:N,data:F,addOrRemoveColumns:!0})}else throw new Error("Could not determine add type for given range")}return M}},{key:"_addRows",value:function(I,M,R){if(I.rows.start>this._dataSize.rows.count||I.rows.start<0)throw new Error("Index "+I.rows.start+" is out of range for adding row(s)");for(var T=0;T<M.length;T+=1)if(M[T].length!==this._dataSize.columns.count)throw new Error("data["+T+"] needs to contain "+this._dataSize.columns.count+" columns of data for adding row(s)");R.addOrRemoveRows=!0}},{key:"_addColumns",value:function(I,M,R){if(I.columns.start>this._dataSize.columns.count||I.columns.start<0)throw new Error("Index "+I.columns.start+" is out of range for adding column(s)");var T=null;if(M.length!==this._dataSize.rows.count&&this._dataSize.rows.count>0)throw new Error("data needs to contain "+this._dataSize.rows.count+" rows of data for adding column(s)");for(var N=0;N<M.length;N+=1)if(T===null)T=M[N].length;else if(T!==M[N].length)throw new Error("The data["+N+"] needs to contain the same number of columns ("+T+") as the first row for adding column(s)");R.addOrRemoveColumns=!0}},{key:"_add",value:function(I){var M=I.range,R=I.data,T=I.addOrRemoveRows,N=I.addOrRemoveColumns,F=void 0;if(T){var y;(y=this._data).splice.apply(y,[M.rows.start,0].concat(A(R))),F=n.range().setRows(M.rows.start,1/0).setColumns(0,1/0)}else if(N){for(var x=0;x<R.length;x+=1){var O=this._data[x];O?O.splice.apply(O,[M.columns.start,0].concat(A(R[x]))):this._data[x]=R[x]}F=n.range().setRows(0,1/0).setColumns(M.columns.start,1/0)}return F}},{key:"_getSuccessInfo",value:function(I){return{message:I.message||"",reason:"",custom:I.custom||{},success:!0}}},{key:"_getFailureInfo",value:function(I){var M=new Error(I.message||"");return M.reason=r[I.reason]||r.ERROR_UNKNOWN,M.custom=I.custom||{},M.success=!1,M}},{key:"_doSaveOperation",value:function(I,M,R){var T=this,N=void 0;if(I)N=I.call(this,R);else{var F=new c;F.resolve({}),N=F.promise}return N.then(function(y){try{M.call(T,R)}catch(x){throw x.reason=r[x.reason]||r.ERROR_UNKNOWN,x.custom=x.custom||{},x.success=!1,x}return T._getSuccessInfo(y)},function(y){throw T._getFailureInfo(y)})}},{key:"_checkSortStateThenSort",value:function(I){for(var M=this._updateSortState(),R=!1,T=0;T<=I.length-1;T++)if(this._shouldSort(I[T].columns)){R=!0;break}return R&&this.sortData(this._sort.sortOptions),M}},{key:"_shouldSort",value:function(I){if(this._sort.sorted===!1)return!1;for(var M=0;M<this._sort.sortOptions.length;M++){var R=this._getColumnFromSortOption(this._sort.sortOptions[M]);if(R>=I.start&&R<=I.end)return!0}return!1}},{key:"_getColumnFromSortOption",value:function(I){return I&&Number.isInteger(I.columnIndex)?I.columnIndex:-1}},{key:"_doValidateOperation",value:function(I,M){var R=this;return new Promise(function(T,N){var F=void 0;I?F=I.call(R,M):F=new Promise(function(y){y({})}),F.then(function(y){T(R._getSuccessInfo(y))},function(y){N(R._getFailureInfo(y))})})}},{key:"update",value:function(I){for(var M=arguments.length,R=Array(M>1?M-1:0),T=1;T<M;T++)R[T-1]=arguments[T];return Array.isArray(I)?this._updateRecords.apply(this,[I].concat(R)):this._updateRecord.apply(this,[I].concat(R))}},{key:"_updateRecord",value:function(I,M){var R=[{range:I,data:M}],T=this._validateUpdatingRecords(R);return this._doSaveOperation(this._dataSave.beforeUpdate,this._bulkifyUpdate,T[0])}},{key:"_bulkifyUpdate",value:function(I){return this._performUpdate([I])}},{key:"_updateRecords",value:function(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};return this._doModifyData(I,M,this._validateUpdatingRecords.bind(this),this._dataSave.beforeUpdate,this._performUpdate.bind(this))}},{key:"_doModifyData",value:function(I,M,R,T,N){var F=this,y=[];return new Promise(function(x,O){var L=R(I);if(M.dataSave)for(var W=0;W<I.length;W++)y.push(F._doValidateOperation(T,L[W]));else y.push(Promise.resolve({}));Promise.all(y).then(function(j){N(L),x(j)},function(j){return O(j)})})}},{key:"_performUpdate",value:function(I){if(I.length!==0){for(var M=[],R=0;R<I.length;R++){var T=this._update({range:I[R].range,data:I[R].data});M.push(T)}this._dataChanged(M,this._checkSortStateThenSort(M)),this._filtering&&this.filter(this._filter.getFilterCriteria())}}},{key:"_validateUpdatingRecords",value:function(I){for(var M=[],R=0;R<I.length;R++){var T=I[R].range,N=I[R].data;if(T.rows.count!==N.length)throw new Error("Range rows count "+T.rows.count+" does not match data.length for update");if(!n.isRangeInside(this.dataSize,T))throw new Error("Range exceeds dataSize for update");for(var F=0;F<N.length;F+=1)if(N[F].length!==T.columns.count)throw new Error("data["+F+"] needs to contain "+T.columns.count+" columns of data for update");M.push({range:T,data:N})}return M}},{key:"_update",value:function(I){for(var M=I.range,R=I.data,T=0,N=M.rows.start;N<=M.rows.end;N+=1){var F=this._data[N];F.splice.apply(F,[M.columns.start,M.columns.count].concat(A(R[T]))),T+=1}return M}},{key:"remove",value:function(I){for(var M=arguments.length,R=Array(M>1?M-1:0),T=1;T<M;T++)R[T-1]=arguments[T];return Array.isArray(I)?this._removeRecords.apply(this,[I].concat(R)):this._removeRecord.apply(this,[I].concat(R))}},{key:"_removeRecord",value:function(I){if(this._filtering)throw new Error("Data cannot be removed in filter mode. Clear filter before deleting data.");var M=[I],R=this._validateRemovingRecords(M);return this._doSaveOperation(this._dataSave.beforeRemove,this._bulkifyRemove,R[0])}},{key:"_bulkifyRemove",value:function(I){return this._performRemove([I])}},{key:"_removeRecords",value:function(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};if(this._filtering)throw new Error("Data cannot be removed in filter mode. Clear filter before deleting data.");return this._doModifyData(I,M,this._validateRemovingRecords.bind(this),this._dataSave.beforeRemove,this._performRemove.bind(this))}},{key:"_performRemove",value:function(I){if(I.length!==0){for(var M=1/0,R=1/0,T=!1,N=!1,F=0;F<I.length;F++){var y=this._remove(I[F]);I[F][v]&&(M=Math.min(M,y.rows.start),T=!0),I[F][f]&&(R=Math.min(R,y.columns.start),N=!0)}M=N?0:M,R=T?0:R;var x=[n.range().setRows(M,1/0).setColumns(R,1/0)];this._updateDataSize(),this._dataChanged(x,this._checkSortStateThenSort(x))}}},{key:"_validateRemovingRecords",value:function(I){for(var M=[],R=this._dataSize,T=0;T<I.length;T++){var N=I[T];if(this._isRowRange(N)){if(N.rows.start>=R.rows.count||N.rows.start<0)throw new Error("Index "+N.rows.start+" is out of range for removing row(s)");R=this._getDataSizeOnRemove(R,N),M.push({range:N,addOrRemoveRows:!0})}else if(this._isColumnRange(N)){if(N.columns.start>=R.columns.count||N.columns.start<0)throw new Error("Index "+N.columns.start+" is out of range for removing column(s)");R=this._getDataSizeOnRemove(R,N),M.push({range:N,addOrRemoveColumns:!0})}else throw new Error("Could not determine remove type for given range")}return M}},{key:"_remove",value:function(I){var M=I.range,R=I.addOrRemoveRows,T=I.addOrRemoveColumns,N=void 0;if(R)this._data.splice(M.rows.start,M.rows.count),N=n.range().setRows(M.rows.start,1/0).setColumns(0,1/0);else if(T){for(var F=0;F<this._data.length;F+=1)this._data[F].splice(M.columns.start,M.columns.count);N=n.range().setRows(0,1/0).setColumns(M.columns.start,1/0)}return N}},{key:"replaceAll",value:function(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this._data=I||[],this._defaultColumnCount=M.defaultColumnCount,this._defaultColumnCount!==0&&!(this._defaultColumnCount>0)&&this._data.length>0&&(this._defaultColumnCount=this._data[0].length||0),this._metaDataColumns=M.metaDataColumns||this._metaDataColumns||[],M.getId){if(this._metaDataColumns.length===0)throw new Error("Must specify at least one column to derive the value of getId");this._getId=M.getId}else this._getId||(this._getId=function(){});M.rowLabelIndex&&M.rowLabelIndex>=0&&(this._rowLabelIndex=M.rowLabelIndex,this._metaDataColumns.push(this._rowLabelIndex),this._addRowLabelRules(M)),this._metaDataRanges=this._metaDataColumns.map(function(R){return n.range().setRows(0,1/0).setColumns(R,R)}),this._setSortState(null),this._updateDataSize(),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)],!0),this._filtering&&(this._filter.setUnfilteredData(this._data),this._filter.filter())}},{key:"sort",value:function(I){var M=this,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepSorted:!1};if(!(!I||I.length===0||this.dataSize.rows.count<2)){for(var T=0;T<=I.length-1;T++)this._sort.validateSortField(I[T],this.dataSize);return new Promise(function(N,F){R.keepSorted===!0&&M._sort.configurePersistentSort(I),R.keepSorted===!1&&M._sort.removePersistentSort(),M.sortData(I),M._emitPagedColumnMetaDataChanged([n.range().setRows(0,0).setColumns(0,M.dataSize.columns.end)]),N({})})}}},{key:"sortData",value:function(I){if(this._runSort(I),this._filtering){var M=this._filter.getUnfilteredData();M.sort(this._sort.generateCompareFunctionFromList(I,this.dataSize)),this._filter.setUnfilteredData(M)}this._setSortState(I),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)])}},{key:"_runSort",value:function(I){this._data.sort(this._sort.generateCompareFunctionFromList(I,this.dataSize))}},{key:"registerSortType",value:function(I){var M=I.name,R=I.compareFn;if(!(M&&typeof M=="string"&&R&&typeof R=="function"))throw new Error("A valid compare type name and comparator function must be specified");if(M.indexOf(".")!==-1)throw new Error("The name of sort type cannot contain a period.");return this._registerCustomSort(M,R),M}},{key:"_registerCustomSort",value:function(I,M){this._sort.validateCustomSortName(I),this._sort.addCustomCompare(I,M)}},{key:"_dataChanged",value:function(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._on.emit("dataChanged",{rangeList:I}),n.doesRangeListIntersect(I,this._metaDataRanges)&&this._emitPagedRowMetaDataChanged(I.map(function(R){return R.setColumns(0,0)})),M&&this._emitPagedColumnMetaDataChanged([n.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"filter",value:function(I){return this._filtering&&(this._data=this._filter.getUnfilteredData()),this._filtering=!0,this._filter=new i(I,{data:this._data}),this._filter.filter(),this._data=this._filter.getFilteredData(),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)]),this._updateDataSize(),new g(function(M){setTimeout(M,0)})}},{key:"search",value:function(I){if(this._search=new s(I,this.createMetaDataRule,{type:this._type}),!!this._search.isCriteriaValid()){var M=this._search.createRule();this._searching=!0,this._addSearchResults(M)}}},{key:"getRangeForQuery",value:function(I,M){var R=this;return new Promise(function(T,N){if(R._isQueryValid(I)&&R._isSearchSpaceConstraintValid(M,I.metaData.type)){var F=0,y=0;M&&M.range&&(F=M.range.rows.start,y=M.range.columns.start),T(R._searchForCellMetaData({startRowIndex:F,startColumnIndex:y,direction:M&&M.position==="previous"?-1:1,key:I.metaData.key,value:I.metaData.value}))}else N(new Error("Invalid query criteria or search space constraint!"))})}},{key:"_searchForCellMetaData",value:function(I){for(var M=I.startRowIndex,R=I.startColumnIndex,T=I.direction,N=T===void 0?1:T,F=I.key,y=I.value,x=M,O=R;x>=0&&x<=this.dataSize.rows.end;x+=N)for(x!==M&&(N===1?O=0:O=this.dataSize.columns.end);O>=0&&O<=this.dataSize.columns.end;O+=N){var L=this.getLocalCellMetaData(x,O);if(L[F]!==void 0&&(y===void 0||y!==void 0&&L[F]===y))return{range:n.range().setRows(x,x).setColumns(O,O)}}return{}}},{key:"_isQueryValid",value:function(I){return!!(I&&I.metaData&&I.metaData.type==="cell"&&typeof I.metaData.key=="string")}},{key:"_isSearchSpaceConstraintValid",value:function(I,M){return I===void 0?!0:!!((I.position==="next"||I.position==="previous")&&I.range&&M==="cell"&&I.range.rows.count===1&&I.range.columns.count===1&&n.isRangeInside(this.dataSize,I.range))}},{key:"clearFilter",value:function(){return this._filtering&&(this._data=this._filter.getUnfilteredData(),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)]),this._updateDataSize(),this._filtering=!1),new g(function(I){setTimeout(I,0)})}},{key:"clearSearch",value:function(){this._searching&&(this._removeSearchResults(),this._searching=!1)}},{key:"__setHeaders",value:function(I){this._headers?this._headers.setHeaders(I):this._headers=new a(I)}},{key:"__getHeaders",value:function(){return this._headers.getHeaders()}},{key:"__setSpanningHeaders",value:function(I){this._headers&&this._headers.setSpanningHeaders(I)}},{key:"__getSpanningHeaders",value:function(){return this._headers.getSpanningHeaders()}},{key:"_addSearchResults",value:function(I){this._metaDataRules.addBuiltIn("$Search",I)}},{key:"_removeSearchResults",value:function(){this._metaDataRules.removeBuiltIn("$Search")}},{key:"destroy",value:function(){for(var I=0;I<this._listeners.length;I+=1)this._listeners[I].remove()}},{key:"on",value:function(I,M){return this._on.on(I,M)}},{key:"dataSize",get:function(){return this._dataSize}}],[{key:"_calcTableSize",value:function(I,M){var R=function(y){return y?{start:0,end:y.length-1}:{start:0,end:-1}},T=n.range(),N=R(I);return T=T.setRows(N.start,N.end),T.rows.count>0?N=R(I[0]):N=R({length:M||0}),T=T.setColumns(N.start,N.end),T}}]),E}();return m},_,P),_.exports=S},95126:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){return function(){function p(d){A(this,p),this._allHeadersCache={},this._headerHierarchyMap={},this.setHeaders(d),this._createHeadersCache(this._headers)}return C(p,[{key:"setHeaders",value:function(n){n=n||[],this._headers=n,this._createHeadersCache(this._headers)}},{key:"getHeaders",value:function(){return this._headers}},{key:"setSpanningHeaders",value:function(n){Object.keys(n).length&&(this._spanningHeaders=n,this._createHeadersCache(Object.values(n)))}},{key:"getSpanningHeaders",value:function(){return this._spanningHeaders}},{key:"updateHeader",value:function(n){var e=n.id,t=n.value;this._allHeadersCache[e].label=t}},{key:"_createHeadersCache",value:function(n){for(var e=0;e<n.length;e=e+1)this._allHeadersCache[n[e].columnId]=n[e]}},{key:"getHeaderHierarchy",value:function(n){for(var e={},t=this._headers[n];t&&t.parentId;){var r=this._allHeadersCache[t.parentId];e[r.columnId]=r,t=r}return e}}]),p}()},_,P),_.exports=S},35363:(_,P,l)=>{"use strict";var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p};function A(p){if(Array.isArray(p)){for(var d=0,n=Array(p.length);d<p.length;d++)n[d]=p[d];return n}else return Array.from(p)}b=[l(68846)],S=l.dj.d(b,function(p){var d=function(ie,re,ce){var ve=void 0;switch(ce){case p.type.EQUAL:ve=ie===re;break;case p.type.NOT_EQUAL:ve=ie!==re;break;case p.type.GREATER_THAN:ve=ie>re;break;case p.type.GREATER_THAN_EQUAL_TO:ve=ie>=re;break;case p.type.LESS_THAN:ve=ie<re;break;case p.type.LESS_THAN_EQUAL_TO:ve=ie<=re;break;default:ve=!1}return ve},n=function(ie,re,ce){var ve=ie,ge=re,Te=!1;return typeof ie=="string"&&(ve=Number(ie)),typeof re=="string"&&(ge=Number(re)),Te=d(ve,ge,ce),Te},e=function(ie,re,ce){var ve=!1,ge=!!ie,Te=!!re;return ve=d(ge,Te,ce),ve},t=function(ie,re,ce){var ve=q(ce),ge=T(ce);if(ve===p.type.FUNCTION){var Te=!1,Pe=N(ce);if(w(Pe))try{Te=Pe(ie,re)}catch(st){Te=!1}return Te}if(ge===p.dataType.NUMBER)return n(ie,re,ve);if(ge===p.dataType.BOOLEAN)return e(ie,re,ve);if(ge===p.dataType.STRING){var Le=v(ce),ct=i(ie,re,Le);return d(ct.cellString,ct.findString,ve)}return!1},r=function(ie){return ie===""},i=function(ie,re,ce){var ve=ie.toString(),ge=re.toString();return ce||(ve=ve.toLowerCase(),ge=ge.toLowerCase()),{cellString:ve,findString:ge}},s=function(ie,re,ce){var ve=i(ie,re,ce);return ve.cellString.indexOf(ve.findString)!==-1},a=function(ie,re,ce){var ve=i(ie,re,ce);return ve.cellString.startsWith(ve.findString)},o=function(ie,re,ce){var ve=i(ie,re,ce);return ve.cellString.endsWith(ve.findString)},u=function(ie,re,ce){for(var ve=i(ie,re,ce),ge=[],Te=ve.cellString.indexOf(ve.findString);Te!==-1;)ge.push(Object.assign({},F(Te,ve.findString.length),{value:re})),Te=ve.cellString.indexOf(ve.findString,Te+ve.findString.length);return ge},c=function(ie,re,ce){var ve=[],ge=i(ie,re,ce);return a(ge.cellString,ge.findString,ce)&&ve.push(Object.assign({},F(0,ge.findString.length),{value:re})),ve},h=function(ie,re,ce){var ve=[],ge=i(ie,re,ce);if(o(ge.cellString,ge.findString,ce)){var Te=ge.cellString.length-ge.findString.length;ve.push(Object.assign({},F(Te,ge.findString.length),{value:re}))}return ve},v=function(ie){var re=ie[p.COMPARE_PROPERTY];return re&&re.hasOwnProperty(p.CASE_SENSITIVE)?re[p.CASE_SENSITIVE]:p.caseSensitive.DEFAULT_CASE_SENSITIVE},f=function(ie){var re=!1;return(ie===p.type.STARTS_WITH||ie===p.type.ENDS_WITH||ie===p.type.CONTAINS)&&(re=!0),re},g=function(ie){var re=!0;return ie==null&&(re=!1),re},m=function(ie){var re=!0;switch(ie){case p.type.CONTAINS:case p.type.STARTS_WITH:case p.type.ENDS_WITH:case p.type.EQUAL:case p.type.NOT_EQUAL:case p.type.GREATER_THAN:case p.type.GREATER_THAN_EQUAL_TO:case p.type.LESS_THAN:case p.type.LESS_THAN_EQUAL_TO:case p.type.FUNCTION:break;default:re=!1;break}return re},E=function(ie){var re=!0;return ie!=="string"&&ie!=="number"&&ie!=="boolean"&&(re=!1),re},w=function(ie){var re=!0;return ie||(re=!1),ie&&typeof ie!="function"&&(re=!1),re},I=function(ie){var re=!0,ce=ie?ie[p.COMPARE_PROPERTY]:null;if(ce){var ve=ce[p.COMPARE_TYPE];ve&&!m(ve)&&(re=!1);var ge=ce[p.DATA_TYPE];ge&&!E(ge)&&(re=!1);var Te=ce[p.PARAM];ve&&ve===p.type.FUNCTION&&!w(Te)&&(re=!1);var Pe=ce[p.CASE_SENSITIVE];Pe&&typeof Pe!="boolean"&&(re=!1)}return re},M=function(ie){return!!(ie&&ie.hasOwnProperty(p.VALUE)&&ie.hasOwnProperty(p.COLUMN_INDEX))},R=function(ie){var re=!1;return ie&&(ie.and||ie.or||ie.exclude)&&(re=!0),re},T=function(ie){var re=p.dataType.DEFAULT_DATA_TYPE,ce=q(ie);if(!f(ce)){var ve=ie[p.COMPARE_PROPERTY];ve&&ve.hasOwnProperty(p.DATA_TYPE)&&(re=ve[p.DATA_TYPE],E(re)||(re=p.dataType.DEFAULT_DATA_TYPE))}return re},N=function(ie){var re=null,ce=ie[p.COMPARE_PROPERTY];return ce&&ce.hasOwnProperty(p.PARAM)&&(re=ce[p.PARAM]),re},F=function(ie,re){var ce={start:ie,count:re};return ie===void 0&&(ie=0),(re===void 0||re<1)&&(re=0),ce},y=function(ie){var re=ie.toString(),ce=re.length;return(ce===void 0||ce<1)&&(ce=0),F(0,ce)},x=function(ie){ie.hasOwnProperty(p.COMPARE_PROPERTY)||(ie[p.COMPARE_PROPERTY]={})},O=function(ie,re,ce){var ve=re.or||re.and;if(ce&&ve||!re.and&&!re.or)return!L(ie,re.exclude,!0)},L=function(ie,re){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return re.length===0&&ce?!1:H(ie,re,!0)},W=function(ie,re){return H(ie,re,!1)},j=function(ie,re){var ce=!1;return re.and?ce=W(ie,re.and):re.or&&(ce=L(ie,re.or)),re.exclude&&(ce=O(ie,re,ce)),ce},H=function(ie,re,ce){for(var ve=!0,ge=0;ge<re.length;ge=ge+1){if(M(re[ge])){var Te=Y(re[ge]),Pe=ie[Te];ve=K(Pe,re[ge])}else R(re[ge])?ve=j(ie,re[ge]):ve=!0;if(ve===ce)return ce}return ve},K=function(ie,re){var ce=X(ie,Z(re)),ve=Q(re),ge=q(re);if(!g(ve))return!0;if(!g(ce))return!1;if(!I(re))return!0;if(r(ve))return r(ce);if(!f(ge))return t(ce,ve,re);var Te=v(re);return ge===p.type.CONTAINS?s(ce,ve,Te):ge===p.type.STARTS_WITH?a(ce,ve,Te):ge===p.type.ENDS_WITH?o(ce,ve,Te):!1},$=function(ie,re){var ce=X(ie,Z(re)),ve=Q(re),ge=[];if(Array.isArray(ve)||(typeof ve>"u"?"undefined":C(ve))==="object")return ge;var Te=q(re);if(!g(ve)||!g(ce)||!I(re))return ge;if(r(ve))return r(ce)&&ge.push(F(0,0)),ge;if(!f(Te))return t(ce,ve,re)&&ge.push(y(ce)),ge;var Pe=v(re);return Te===p.type.CONTAINS?u(ce,ve,Pe):Te===p.type.STARTS_WITH?c(ce,ve,Pe):Te===p.type.ENDS_WITH?h(ce,ve,Pe):ge},V=function(ie,re){return R(re)?j(ie,re):H(ie,[re],!1)},z=function(ie){if(ie&&(ie.and||ie.or))return!0;var re=Q(ie),ce=Y(ie);return!(!g(re)||typeof ce!="number"||Math.floor(ce)!==ce||!I(ie))},X=function(ie,re){var ce=ie;if(ie&&(typeof ie>"u"?"undefined":C(ie))==="object")if(re){for(var ve=ce,ge=re.split("."),Te=0;Te<ge.length;Te=Te+1){var Pe=ge[Te];ve=ve[Pe]}ve===null?ce=null:ce=ve}else ce=null;else ie&&re&&(ce=null);return ce},Z=function(ie){return ie?ie.field:null},Y=function(ie){return ie?ie.columnIndex:null},Q=function(ie){return ie?ie.value:null},q=function(ie){var re=p.type.DEFAULT_COMPARE_TYPE,ce=ie?ie[p.COMPARE_PROPERTY]:null;if(ce&&ce.hasOwnProperty(p.COMPARE_TYPE)){var ve=ce[p.COMPARE_TYPE];m(ve)&&(re=ve)}return re},ee=function(ie,re){x(ie),ie[p.COMPARE_PROPERTY][p.COMPARE_TYPE]=re},oe=function(ie,re){x(ie),ie[p.COMPARE_PROPERTY][p.DATA_TYPE]=re},se=function(ie,re){x(ie),ie[p.COMPARE_PROPERTY][p.CASE_SENSITIVE]=re},he=function(ie,re){x(ie),ie[p.COMPARE_PROPERTY][p.PARAM]=re},fe=function(ie,re,ce){var ve={};if(ie===null||ie.length===0)return ve;for(var ge=0;ge<=ie.length-1;ge++)if(ie[ge].field===re)if(ve.searchHighlight){var Te;(Te=ve.searchHighlight.matches).push.apply(Te,A(ie[ge].matches))}else ve.searchHighlight={matches:[].concat(A(ie[ge].matches))};return ve.searchHighlight&&ce&&(ve.searchHighlight.field=ce),ve};return{searchColumn:$,filterRow:V,isValid:z,getField:Z,getColumn:Y,getValue:Q,getCellValue:X,getCompareType:q,setCompareType:ee,setCompareDataType:oe,setCaseSensitive:se,setCompareParam:he,_createCellHighlightInfo:fe}},_,P),_.exports=S},71455:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(35363)],S=l.dj.d(b,function(p){return function(){function d(n,e){A(this,d),this._unfilteredData=e.data,this._data=[],this._filterCriteria=n}return C(d,[{key:"filter",value:function(){var e=this.getFilterCriteria();this._data=[];for(var t=0;t<this._unfilteredData.length;t=t+1)p.filterRow(this._unfilteredData[t],e)&&this._data.push(this._unfilteredData[t])}},{key:"getFilteredData",value:function(){return this._data}},{key:"getUnfilteredData",value:function(){return this._unfilteredData}},{key:"setUnfilteredData",value:function(e){this._unfilteredData=e}},{key:"getFilterCriteria",value:function(){return this._filterCriteria}}]),d}()},_,P),_.exports=S},3641:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(29782)],S=l.dj.d(b,function(n){var e=function(t){d(r,t);function r(i){A(this,r);var s=p(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i));return s.configurePersistentSort(i),s}return C(r,[{key:"configurePersistentSort",value:function(s){Array.isArray(s)&&(this._sorted=!0,this._sortOptions=s)}},{key:"_getSortField",value:function(s){return s.columnIndex}},{key:"validateSortField",value:function(s,a){return this._validateSortOption(s,a)}},{key:"_validateFieldToSort",value:function(s,a){if(!Number.isInteger(s.columnIndex))throw new Error("Column index must be Integer value specified for sort in TreeTable");if(s.columnIndex<a.columns.start||s.columnIndex>a.columns.end)throw new Error("columnIndex is out of bounds")}}]),r}(n);return e},_,P),_.exports=S},33044:(_,P,l)=>{"use strict";var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(11487),l(35363),l(64070)],S=l.dj.d(b,function(e,t,r){var i=function(u,c){var h=new Set(u),v=!0,f=!1,g=void 0;try{for(var m=c[Symbol.iterator](),E;!(v=(E=m.next()).done);v=!0){var w=E.value;h.add(w)}}catch(I){f=!0,g=I}finally{try{!v&&m.return&&m.return()}finally{if(f)throw g}}return h},s=function(u){for(var c=[],h=0;h<=u.length-1;h++)c.push(e.range().setColumns(u[h],u[h]).setRows(0,1/0));return c},a=function(o){n(u,o);function u(c,h,v){p(this,u);var f=d(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,v));return f._createRuleFn=h,f._type=v.type,f._columnMap=v.columnMap,f}return A(u,[{key:"isCriteriaValid",value:function(){return t.isValid(this._criteria)}},{key:"_getColumnNumbersForCriteria",value:function(){var h=new Set;return this._isBaseCriteria(this._criteria)?h=this._getColNums([this._criteria]):h=this._compositeGetColNums(this._criteria),Array.from(h)}},{key:"_compositeGetColNums",value:function(h){var v=new Set;return h.and?v=this._getColNums(h.and):h.or&&(v=this._getColNums(h.or)),v}},{key:"_isBaseCriteria",value:function(h){return!!(h&&"value"in h&&"columnIndex"in h)}},{key:"_getColNums",value:function(h){for(var v=new Set,f=0;f<=h.length-1;f++)if(!(h[f]===void 0||C(h[f])!=="object"||h[f]===null)){if(h[f].and){v=i(v,this._getColNums(h[f].and));continue}if(h[f].or){v=i(v,this._getColNums(h[f].or));continue}h[f].columnIndex!==void 0&&typeof h[f].columnIndex=="number"&&v.add(h[f].columnIndex)}return v}},{key:"_isCompositeCriteria",value:function(h){return!!(h&&(h.and||h.or))}},{key:"_getCriteriaField",value:function(h){return this._columnMap?this._columnMap[h.columnIndex]:h.columnIndex}},{key:"_getSearchColumnCriteria",value:function(h){return h}},{key:"metaDataFun",value:function(h){var v=this.searchNodeForMatches(h._row.data),f=t._createCellHighlightInfo(v,h.columnIndex,t.getField(this._criteria));return f}},{key:"createRule",value:function(){var h=s(this._getColumnNumbersForCriteria());return this._createRuleFn({cell:this.metaDataFun.bind(this)},{type:"rangeList",value:h})}}]),u}(r);return a},_,P),_.exports=S},69453:(_,P,l)=>{"use strict";var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},A=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function p(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e<n.length;e++)t[e]=n[e];return t}else return Array.from(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[l(72904),l(61657),l(11487),l(40667),l(80249),l(68073),l(7698),l(8578),l(79688),l(29350),l(6554),l(68018),l(41906),l(68846),l(26204)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o,u,c,h,v,f,g,m){"use strict";var E=function(F){var y=new n;setTimeout(function(){return F(y.resolve,y.reject)},0),this.then=y.promise.then},w={CHILD:"child",ROOT:"root",ANCESTOR:"ancestor",SIBLING:"sibling"};Object.freeze(w);var I=function(F){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};F.id=y.id,F.level=y.level,F.isExpanded=y.isExpanded,F.isExpandable=y.isExpandable,F.groupRow=y.groupRow,F.check=y.check,F.highlight=y.highlight,M(F,y)},M=function(F,y){F.hasOwnProperty("path")||Object.defineProperty(F,"path",{get:function(){return y.path}})},R=function(){function N(F,y,x,O,L,W,j,H){d(this,N),this.id=F,this._path=O,this.level=x,this.isExpandable=W,this.isExpanded=L,this.data=y,j!==null&&(this.check=j),H&&(this.groupRow=H)}return A(N,[{key:"path",get:function(){if(!this._fullPath){for(var y=new Array(this.level),x=this._path,O=this.level;O>=0;O-=1)y[O]=x.id,x=x.parent;this._fullPath=y}return this._fullPath}}]),N}(),T=function(){function N(F){var y=this,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};d(this,N),this._type=x.type,this._on=new e,this._listeners=[],this._dataSize=t.range(),this._expandCollapseToggle=new r({allExpanded:x.allExpanded}),this.replaceAll(F,x),this._metaDataRules=new c,this._expandCollapseState={filtering:!1},this._listeners.push(this._metaDataRules.on("metaDataChanged",function(O){for(var L=[],W=[],j=0;j<O.rangeList.length;j+=1){var H=O.rangeList[j];if(t.isRowRange(H)){var K=H.setColumns(0,0);W.push(K)}if(t.isColumnRange(H)){var $=H.setRows(0,0);L.push($)}}L.length>0&&y._emitPagedColumnMetaDataChanged(L),W.length>0&&y._emitPagedRowMetaDataChanged(W),y._type===m.TREE?y._dataChanged(O.rangeList):y._emitDataChanged(O.rangeList)}))}return A(N,[{key:"addMetaDataRule",value:function(y,x){this._metaDataRules.add(y,x)}},{key:"removeMetaDataRule",value:function(y){this._metaDataRules.remove(y)}},{key:"createMetaDataRule",value:function(y,x){if(!x)throw new Error("dataselector is missing");return y.node&&(y.row=y.node,x||(x={type:h.dataSelectorTypes.node})),x.type==="hierarchy"&&(y.node&&(y.row=y.node),Array.isArray(x.value)||(x.value=[x.value])),h.create(y,x,this._type)}},{key:"replaceAll",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};x.isCheckboxTree&&(this.updateChecked=this._updateChecked,this.getCheckNodes=this._getCheckNodes,this._isCheckboxTree=!0),this._internalDataStore=new i(y,{getParentId:x.getParentId,setParentId:x.setParentId,getId:x.getId,isExpanded:this._isExpanded.bind(this),createTreeNode:this._createTreeNode.bind(this),sorted:x.sorted,isCheckboxTree:this._isCheckboxTree,getCheck:x.getCheck,setCheck:x.setCheck,type:this._type}),this._dataSave=x.dataSave||{},this._getParentId=this._internalDataStore.getParentId.bind(this._internalDataStore),this._flattenedTree=[],this._flatten=this._internalDataStore.flatten.bind(this._internalDataStore),this._getSortState=this._internalDataStore.getSortState.bind(this._internalDataStore),this._flattenedTree=this._flatten(),this._updateDataSize(),this._dataChanged([t.range().setRows(0,1/0).setColumns(0,0)],!0)}},{key:"managePaging",value:function(y){}},{key:"_calculateDataSize",value:function(){return t.range().setRows(0,this._flattenedTree.length-1).setColumns(0,0)}},{key:"_updateDataSize",value:function(){var y=this,x=this._calculateDataSize();t.isRangeEqual(x,this.dataSize)||(this._dataSize=x,setTimeout(function(){(!y._lastEmitDataSize||!t.isRangeEqual(y._lastEmitDataSize,y.dataSize))&&(y._on.emit("dataSizeChanged",{dataSize:y.dataSize}),y._lastEmitDataSize=y.dataSize)},0))}},{key:"getLocalRowMetaData",value:function(y){var x=this._flattenedTree[y],O=this._getRowMetaData(y),L={};return x&&M(L,x),I(O,x),Object.assign(L,O),L}},{key:"_getRowMetaData",value:function(y){var x=this._flattenedTree[y],O={};return x&&I(O,x),this._metaDataRules.getRowMetaData({rowIndex:y,dynamic:O})}},{key:"getLocalColumnMetaData",value:function(y){var x={},O=this._metaDataRules.getColumnMetaData({columnIndex:y,dynamic:x});return this._getColumnNumbersForSortCriteria(this._getSortState()).indexOf(y)>=0&&(O.sorted=this._getSortState()),O}},{key:"getLocalCellMetaData",value:function(y,x){var O=this.getLocalCellData(y,x),L=null,W=void 0;if(O!==void 0){var j=this._flattenedTree[y];j&&(W=this._internalDataStore._isGrouping?this._internalDataStore._getParentIdForGrouping(j.data):this._internalDataStore.getParentId(j.data)),L={value:O,parentId:W},this._searching&&(L._row=j),j&&I(L,j)}var H=this._metaDataRules.getCellMetaData({rowIndex:y,columnIndex:x,dynamic:L});return H}},{key:"getLocalCellData",value:function(y){return this._flattenedTree[y]}},{key:"getData",value:function(y){var x=this,O=y.slice(),L=new E(function(W,j){var H=[];O.forEach(function(K,$){if(!t.isRangeInside(x.dataSize,K)){j(new Error("Range exceeds data size"));return}var V=K.rows.start,z=K.rows.end,X=K.columns.start,Z=K.columns.end,Y=x._getCellBlock(V,z,X,Z);Y.range=K,H[$]=Y}),W(H)});return L}},{key:"_getCellBlock",value:function(y,x,O,L){for(var W=[],j=y;j<=x;j+=1){for(var H=[],K=O;K<=L;K+=1)H[K]=this.getLocalCellData(j,K);W[j]=H}return W}},{key:"_calculateNodePath",value:function(y){var x=this._internalDataStore.getAncestorIds(y);return x.reverse(),x.push(y),x}},{key:"_createTreeNode",value:function(y,x,O,L,W,j,H){var K=arguments.length>7&&arguments[7]!==void 0?arguments[7]:void 0,$=this._isCheckboxTree?H:null,V=new R(y,x,O,L,W,j,$,K);return V}},{key:"_isExpanded",value:function(y){return this._expandCollapseToggle.isExpanded(y)}},{key:"expandAll",value:function(){var y=this._expandCollapseToggle.expandAll();return this._updateTreeData(y),new E(function(x){setTimeout(x,0)})}},{key:"collapseAll",value:function(){var y=this._expandCollapseToggle.collapseAll();return this._updateTreeData(y),new E(function(x){setTimeout(x,0)})}},{key:"expand",value:function(y){if(!Array.isArray(y))throw new Error("'expand' expected an array in proxyNodeList.");var x=this._expandCollapseToggle.expand(y);return this._updateTreeData(x),new E(function(O){setTimeout(O,0)})}},{key:"collapse",value:function(y){if(!Array.isArray(y))throw new Error("'collapse' expected an array in proxyNodeList.");var x=this._expandCollapseToggle.collapse(y);return this._updateTreeData(x),new E(function(O){setTimeout(O,0)})}},{key:"sort",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepSorted:!1};if(!(!y||!y.length)){this._internalDataStore.validateSortCriteria(y,this.dataSize);var O=this._internalDataStore.runSort(y,x);return this._emitPagedColumnMetaDataChanged([t.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)]),this._updateTreeData(O),new E(function(L){setTimeout(L,0)})}}},{key:"registerSortType",value:function(y){var x=y.name,O=y.compareFn;if(!(x&&typeof x=="string"&&O&&typeof O=="function"))throw new Error("A valid compare type name and comparator function must be specified");if(x.indexOf(".")!==-1)throw new Error("The name of sort type cannot contain a period.");return this._internalDataStore.registerCustomSort(x,O),x}},{key:"expandTo",value:function(y){var x=this;y=s.normalize(y);var O=this._internalDataStore.getAncestorIds(y.id,!0),L=O.map(function(W){return{id:W}});return this.expand(L).then(function(){return x.getNode(y)})}},{key:"add",value:function(y){for(var x=arguments.length,O=Array(x>1?x-1:0),L=1;L<x;L++)O[L-1]=arguments[L];return Array.isArray(y)?this._addNodes.apply(this,[y].concat(O)):this._addNode.apply(this,[y].concat(O))}},{key:"_addNodes",value:function(y){var x=this,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},L=[];return new Promise(function(W,j){for(var H=0;H<y.length;H++)if(y[H].options&&y[H].options.node&&(y[H].options.node=s.normalize(y[H].options.node)),O.dataSave){var K=x._getAddOptions(y[H].parentProxy,y[H].nodeToAdd,y[H].options||{place:"last"});L.push(x._doValidateOperation(x._dataSave.beforeAdd,K))}O.dataSave||L.push(Promise.resolve({})),Promise.all(L).then(function($){x._performAdditionOfNodes(y),W($)},function($){j($)})})}},{key:"_addNode",value:function(y,x){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};y=s.normalize(y),O.node&&(O.node=s.normalize(O.node));var L=this._getAddOptions(y,x,O);return this._doSaveOperation(this._dataSave.beforeAdd,this._addSingleNode,L)}},{key:"_getAddOptions",value:function(y,x,O){return{parentId:y.id,node:x,options:O}}},{key:"_addSingleNode",value:function(y){var x=[{parentProxy:{id:y.parentId},nodeToAdd:y.node,options:y.options}];this._performAdditionOfNodes(x)}},{key:"_performAdditionOfNodes",value:function(y){if(y.length!==0){var x=this._internalDataStore.addNodes(y);x.changedIds=this._getCheckBoxTreeChangedIds(x),this._updateTreeData(x)}}},{key:"_getCheckBoxTreeChangedIds",value:function(y){var x=this;if(y.changeOccurred&&this._isCheckboxTree){var O=new Set;return y.changedIds.forEach(function(L){x._internalDataStore.getAncestorIds(L).forEach(function(W){O.add(W)})}),y.changedIds.concat(Array.from(O))}return y.changedIds}},{key:"remove",value:function(y){for(var x=arguments.length,O=Array(x>1?x-1:0),L=1;L<x;L++)O[L-1]=arguments[L];return Array.isArray(y)?this._removeNodes.apply(this,[y].concat(O)):this._removeNode.apply(this,[y].concat(O))}},{key:"_removeNodes",value:function(y){var x=this,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},L=[],W=[];return new Promise(function(j,H){for(var K=0;K<y.length;K++){var $=x._internalDataStore.getAncestorIds(y[K].proxyNodeToRemove.id),V=$.length>0?$[0]:null;if(y[K].parentId=V,x._isExpanded(V)&&W.push(V),O.dataSave){var z={parentId:y[K].parentId,removeId:y[K].proxyNodeToRemove.id,options:y[K].options};L.push(x._doValidateOperation(x._dataSave.beforeRemove,z))}}O.dataSave||L.push(Promise.resolve({})),Promise.all(L).then(function(X){x._performRemovalOfNodes(y,W),j(X)},function(X){H(X)})})}},{key:"_removeNode",value:function(y,x){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{keepChildren:!1};x=s.normalize(x);var L=this._getRemoveOptions(x,O);return this._doSaveOperation(this._dataSave.beforeRemove,this._removeSingleNode,L)}},{key:"_getRemoveOptions",value:function(y,x){var O=this._internalDataStore.getAncestorIds(y.id);return{parentId:O.length>0?O[0]:null,removeId:y.id,options:x}}},{key:"_removeSingleNode",value:function(y){var x=[{proxyNodeToRemove:{id:y.removeId},parentId:y.parentId,options:y.options}];this._performRemovalOfNodes(x,this._isExpanded(y.parentId)?[y.parentId]:[])}},{key:"_performRemovalOfNodes",value:function(y,x){if(y.length!==0){var O=this._internalDataStore.remove(y);if(x.length>0){if(O.changedIds){var L;(L=O.changedIds).push.apply(L,p(x))}else O.changedIds=x;O.changedIds=this._getCheckBoxTreeChangedIds(O)}this._updateTreeData(O)}}},{key:"move",value:function(y,x,O){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{place:"last"};O=s.normalize(O),x=s.normalize(x),L.node&&(L.node=s.normalize(L.node));var W=this._internalDataStore.getAncestorIds(x.id),j={parentId:W.length>0?W[0]:null,newParentId:O.id,nodeToMoveId:x.id,options:L};return this._doSaveOperation(this._dataSave.beforeMove,this._move,j)}},{key:"_move",value:function(y){var x=this._isExpanded(y.parentId),O=this._isExpanded(y.newParentId),L=void 0;L=this._internalDataStore.move(y.parentId,y.nodeToMoveId,y.newParentId,y.options),L.changeOccurred&&(x&&(L.changedIds?L.changedIds.push(y.parentId):L.changedIds=[y.parentId]),O&&(L.changedIds?L.changedIds.push(y.newParentId):L.changedIds=[y.newParentId]),L.changedIds=this._getCheckBoxTreeChangedIds(L),this._updateTreeData(L))}},{key:"update",value:function(y){for(var x=arguments.length,O=Array(x>1?x-1:0),L=1;L<x;L++)O[L-1]=arguments[L];return Array.isArray(y)?this._updateNodes.apply(this,[y].concat(O)):this._updateNode.apply(this,[y].concat(O))}},{key:"_updateNodes",value:function(y){var x=this,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},L=[];return new Promise(function(W,j){for(var H=0;H<y.length;H++){var K=x._internalDataStore.getAncestorIds(y[H].proxyNodeToUpdate.id),$=K.length>0?K[0]:null;if(y[H].parentId=$,O.dataSave){var V={parentId:y[H].parentId,updateId:y[H].proxyNodeToUpdate.id,fieldsToMerge:y[H].fieldsToMerge};L.push(x._doValidateOperation(x._dataSave.beforeUpdate,V))}}O.dataSave||L.push(Promise.resolve({})),Promise.all(L).then(function(z){x._performUpdate(y),W(z)},function(z){return j(z)})})}},{key:"_updateNode",value:function(y,x,O){x=s.normalize(x);var L=this._getUpdateOptions(x,O);return this._doSaveOperation(this._dataSave.beforeUpdate,this._updateSingleNode,L)}},{key:"_getUpdateOptions",value:function(y,x){var O=this._internalDataStore.getAncestorIds(y.id);return{parentId:O.length>0?O[0]:null,updateId:y.id,fieldsToMerge:x}}},{key:"_updateSingleNode",value:function(y){var x=[{parentId:y.parentId,proxyNodeToUpdate:{id:y.updateId},fieldsToMerge:y.fieldsToMerge}];this._performUpdate(x)}},{key:"_performUpdate",value:function(y){if(y.length!==0){var x=this._internalDataStore.update(y);x.changedIds=this._getCheckBoxTreeChangedIds(x),this._updateTreeData(x)}}},{key:"_doValidateOperation",value:function(y,x){var O=this;return new Promise(function(L,W){var j=void 0;y?j=y.call(O,x):j=new Promise(function(H){H({})}),j.then(function(H){L(O._getSuccessInfo(H))},function(H){W(O._getFailureInfo(H))})})}},{key:"_getSuccessInfo",value:function(y){return{message:y.message||"",reason:"",custom:y.custom||{},success:!0}}},{key:"_getFailureInfo",value:function(y){var x=new Error(y.message||"");return x.reason=a[y.reason]||a.ERROR_UNKNOWN,x.custom=y.custom||{},x.success=!1,x}},{key:"_doSaveOperation",value:function(y,x,O){var L=this,W=void 0;if(y)W=y.call(this,O);else{var j=new n;j.resolve({}),W=j.promise}return W.then(function(H){try{x.call(L,O)}catch(K){throw K.reason=a[K.reason]||a.ERROR_UNKNOWN,K.custom=K.custom||{},K.success=!1,K}return L._getSuccessInfo(H)},function(H){throw L._getFailureInfo(H)})}},{key:"getNode",value:function(y,x){var O=this;return y=s.normalize(y),new Promise(function(L,W){var j=o.findIndex(O._flattenedTree,function(V){return y.id===V.id}),H=null;if(x){var K=v.isValidCriteria(x);if(K){var $=j>=0?O._queryMetaData(j,x):null;H=O._getTreeNodeInfo($),L(H)}W(new Error("invalid options criteria"))}else j>=0&&(H={index:j,node:O._flattenedTree[j]}),L(H)})}},{key:"_getTreeNodeInfo",value:function(y){var x=null;return y!=null?x={index:y,node:this._flattenedTree[y]}:x=null,x}},{key:"getParentNode",value:function(y){var x=this;return y=s.normalize(y),this.getNode(y).then(function(O){if(O){var L=void 0,W=x._internalDataStore.getAncestorIds(O.node.id,!0);return W.length>0&&(L=W[0]),x.getNode({id:L})}else return new E(function(j){return j(null)})})}},{key:"filter",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayChildren:!1};this._expandCollapseState.filtering||(this._expandCollapseState=this._expandCollapseToggle.getState(),this._expandCollapseState.filtering=!0);var O=this._internalDataStore.normalizeFilterCriteria(y),L=this._internalDataStore.filterTreeNode(O,x);return this._updateTreeData(L),new E(function(W){setTimeout(W,0)})}},{key:"clearFilter",value:function(){if(this._expandCollapseState.filtering){var y=this._internalDataStore.clearFilter();this._expandCollapseToggle.setState(this._expandCollapseState),this._expandCollapseState.filtering=!1,this._updateTreeData(y)}return new E(function(x){setTimeout(x,0)})}},{key:"search",value:function(y){var x={field:"",value:""};if(y&&(y.field||y.and||y.or))x=y;else throw new Error("Invalid Search Criteria");var O=this._internalDataStore.searchTreeNodes(x);return this._updateTreeData(O),new E(function(L){setTimeout(L,0)})}},{key:"getRangeForQuery",value:function(y,x){var O=this;return new Promise(function(L,W){if(O._isQueryValid(y)&&O._isSearchSpaceConstraintValid(x,y.metaData.type)){var j=0,H=0;x&&x.range&&(j=x.range.rows.start,H=x.range.columns.start),L(O._searchForMetaData({startRowIndex:j,startColumnIndex:H,direction:x&&x.position==="previous"?-1:1,key:y.metaData.key,value:y.metaData.value,type:y.metaData.type}))}else W(new Error("Invalid query criteria or search space constraint!"))})}},{key:"_searchForMetaData",value:function(y){for(var x=y.startRowIndex,O=y.startColumnIndex,L=y.direction,W=L===void 0?1:L,j=y.key,H=y.value,K=y.type,$=x,V=O;$>=0&&$<=this.dataSize.rows.end;$+=W)if(K==="cell")for($!==x&&(V=W===1?0:this.dataSize.columns.end);V>=0&&V<=this.dataSize.columns.end;V+=W){var z=this.getLocalCellMetaData($,V);if(z[j]!==void 0&&(H===void 0||H!==void 0&&z[j]===H))return{range:t.range().setRows($,$).setColumns(V,V)}}else if(K==="row"){var X=this.getLocalRowMetaData($);if(X[j]!==void 0&&(H===void 0||H!==void 0&&X[j]===H))return{range:t.range().setRows($,$).setColumns(0,1/0)}}return{}}},{key:"_isQueryValid",value:function(y){return!!(y&&y.metaData&&(y.metaData.type==="cell"||y.metaData.type==="row")&&typeof y.metaData.key=="string")}},{key:"_isSearchSpaceConstraintValid",value:function(y,x){if(y===void 0)return!0;var O=y.position==="next"||y.position==="previous",L=x==="cell"&&y.range.rows.count===1&&y.range.columns.count===1&&t.isRangeInside(this.dataSize,y.range),W=x==="row"&&y.range.rows.count===1&&y.range.columns.count===1/0&&y.range.rows.start>=this.dataSize.rows.start&&y.range.rows.end<=this.dataSize.rows.end;return!!(O&&y.range&&(L||W))}},{key:"clearSearch",value:function(){var y=this._internalDataStore.clearSearch();return this._updateTreeData(y),new E(function(x){setTimeout(x,0)})}},{key:"_updateChecked",value:function(y,x){var O=this._internalDataStore.updateChecked(y,x);return this._updateTreeData(O),new E(function(L){setTimeout(L,0)})}},{key:"_getCheckNodes",value:function(){var y=this._internalDataStore.getCheckedNodes(),x=y.checkedNodeIds,O={checkTrueNodes:x};return new E(function(L){setTimeout(function(){L(O)},0)})}},{key:"getChildNodes",value:function(y){var x=this,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y=s.normalize(y);var L={type:"child"};L.isRecursive=O.isRecursive||!1;var W=Object.getOwnPropertyNames(O).length,j="isRecursive"in O;return((typeof O>"u"?"undefined":C(O))!=="object"||W>1||W&&!j)&&console.warn("Invalid parameters passed, please see Tree data Store JSDoc for correct configuration"),L.node=O.node||{},new Promise(function(H){H(x._query(y,L))})}},{key:"_getColumnNumbersForSortCriteria",value:function(y){return y?[0]:[]}},{key:"_updateTreeData",value:function(y){if(y.changeOccurred){var x=this._flattenedTree;this._flattenedTree=this._flatten(),this._updateDataSize();var O=-1;if(y.updateAll)O=0;else{var L=new u;y.changedIds.forEach(function(H){L.set(H,!0)});var W=void 0,j=void 0;W=o.findIndex(x,function(H){return L.get(H.id)}),j=o.findIndex(this._flattenedTree,function(H){return L.get(H.id)}),W>=0&&j>=0?O=Math.min(W,j):O=Math.max(W,j)}O>=0&&this._dataChanged([t.range().setRows(O,1/0).setColumns(0,this.dataSize.columns.end)],y.columnMetaDataChanged)}}},{key:"_dataChanged",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._on.emit("dataChanged",{rangeList:y});var O=this._internalDataStore.getMetaDataRanges();t.doesRangeListIntersect(y,O)&&this._emitPagedRowMetaDataChanged(y.map(function(L){return L.setColumns(0,0)})),x&&this._emitPagedColumnMetaDataChanged([t.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"_emitPagedColumnMetaDataChanged",value:function(y){this._on.emit("pagedColumnMetaDataChanged",{rangeList:y})}},{key:"_emitPagedRowMetaDataChanged",value:function(y){this._on.emit("pagedRowMetaDataChanged",{rangeList:y})}},{key:"on",value:function(y,x){var O=this._on.on(y,x);return this._listeners.push(O),O}},{key:"destroy",value:function(){this._listeners.forEach(function(y){return y.remove()}),this._metaDataRules=null,this._internalDataStore=null,this._flattenedTree=null}},{key:"_query",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=y.id,L=[];return x.isRecursive?L=this._getRecursiveDataItems(O):L=this._getNodes(O)[w.CHILD](),Object.getOwnPropertyNames(x.node).length&&(L=this._filterDataItems(x.node,L)),L}},{key:"_queryMetaData",value:function(y,x){var O=void 0,L=void 0,W=void 0,j=this._flattenedTree.length,H=x.range&&x.range.rows&&x.range.rows.start?x.range.rows.start:0,K=x.range&&x.range.rows&&x.range.rows.end?x.range.rows.end:j-1,$=H<0?0:H,V=K>j-1?j-1:K,z=x.queryCriteria,X=z&&z.compare&&z.compare.dataType?z.compare.dataType:g.dataType.DEFAULT_DATA_TYPE,Z=z.metadata.field,Y=z.metadata.value,Q=v.getValueByType(X,Y),q=void 0,ee=void 0,oe=!1,se=!1;switch(x.position){case f.POSITION.NEXT:if(O=1,y>=V)return null;W=y+O;break;case f.POSITION.PREVIOUS:if(O=-1,y<=$)return null;W=y+O;break;case f.POSITION.FIRST:O=1,W=$;break;case f.POSITION.LAST:O=-1,W=V;break;default:}for(L=W;!oe;)L=W,W=W+O,q=this.getLocalRowMetaData(L)[Z],ee=v.getValueByType(X,q),se=L<$||L>V,oe=ee===Q||se;return L<$||L>K?null:L}},{key:"_getNodes",value:function(y){var x=this._internalDataStore,O=this._flattenedTree,L={child:x.getChildNodes.bind(x,y,O),sibling:x.getSiblingNodes.bind(x,y,O),root:x.getRootNodes.bind(x,y,O),ancestor:x.getAncestorNodes.bind(x,y,O)};return L}},{key:"_getRecursiveDataItems",value:function(y){for(var x=this._getNodes(y).child(),O=[],L=[{arr:x}],W=0;L.length>0;){for(var j=L[W].arr,H=0;H<j.length;H++){O.push(j[H]);var K=j[H].node,$=K.id;x=this._getNodes($).child(),x.length&&L.push({arr:x})}L.shift()}return O}},{key:"_filterDataItems",value:function(y,x){throw new Error("This configuration is not supported")}},{key:"dataSize",get:function(){return this._dataSize}},{key:"isCheckboxTree",get:function(){return this._isCheckboxTree?this._isCheckboxTree===!0:!1}}]),N}();return T},_,P),_.exports=S},40667:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(68073)],S=l.dj.d(b,function(p){return function(){function d(n){A(this,d),this._toggledIds=[],this._allExpanded=!1,n.allExpanded&&(this._allExpanded=!0)}return C(d,[{key:"isExpanded",value:function(e){var t=this._toggledIds.indexOf(e),r=t>=0;return this._allExpanded?!r:r}},{key:"expandAll",value:function(){var e=this._toggledIds.length>0||!this._allExpanded;return this._allExpanded=!0,this._toggledIds=[],{changeOccurred:e,allExpanded:this._allExpanded,updateAll:!0}}},{key:"collapseAll",value:function(){var e=this._toggledIds.length>0||this._allExpanded;return this._allExpanded=!1,this._toggledIds=[],{changeOccurred:e,updateAll:!0}}},{key:"expand",value:function(e){if(!Array.isArray(e))throw new Error("'expand' expected an array in proxyNodeList.");for(var t=!1,r=this._toggledIds.slice(0),i=0;i<e.length;i+=1){var s=p.normalize(e[i]),a=s.id,o=r.indexOf(a);this._allExpanded?o>=0&&(r.splice(o,1),t=!0):o<0&&(r.push(a),t=!0)}this._toggledIds=r;var u=e.map(function(c){return c.id});return{changeOccurred:t,changedIds:t?u:[],updateAll:!1}}},{key:"collapse",value:function(e){if(!Array.isArray(e))throw new Error("'expand' expected an array in proxyNodeList.");for(var t=!1,r=this._toggledIds.slice(0),i=0;i<e.length;i+=1){var s=p.normalize(e[i]),a=s.id,o=r.indexOf(a);this._allExpanded?o<0&&(r.push(a),t=!0):o>=0&&(r.splice(o,1),t=!0)}this._toggledIds=r;var u=e.map(function(c){return c.id});return{changeOccurred:t,changedIds:t?u:[],updateAll:!1}}},{key:"getState",value:function(){return{toggledIds:this._toggledIds,allExpanded:this._allExpanded}}},{key:"setState",value:function(e){this._toggledIds=e.toggledIds,this._allExpanded=e.allExpanded}}]),d}()},_,P),_.exports=S},81462:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79688)],S=l.dj.d(b,function(p){return function(){function d(n,e){A(this,d),this._filteredNodesCache=new p,this._filterCriteria=n,this._ancestorIds=[],this._getId=e.getId,this._getParentId=e.getParentId,this._treeRootId=e.treeRootId;var t=!0,r=e.checkedNodeIds(t),i=r.checkedNodeIds,s=r.unCheckedNodeIds;this.checkedNodeIds=i,this.unCheckedNodeIds=s,this._columnMap=e.columnMap}return C(d,[{key:"_checkComposite",value:function(e){return e.and||e.or}},{key:"isFiltered",value:function(e){return this._filteredNodesCache.has(e)}},{key:"clearFilteredNodes",value:function(){this._filteredNodesCache=new p}},{key:"addAncestorsToFilter",value:function(e){e!==this._treeRootId&&(this.isFiltered(e)||this._ancestorIds.push(e))}},{key:"clearFilter",value:function(){this.clearFilteredNodes();var e={};return e.changeOccurred=!0,e.updateAll=!0,e}},{key:"addtoFilterCache",value:function(e){this._filteredNodesCache.set(e,!0)}},{key:"removeNodeFromFilter",value:function(e){this._filteredNodesCache.remove(e)}},{key:"getAncestorIds",value:function(){return this._ancestorIds}},{key:"clearAncestorIds",value:function(){this._ancestorIds=[]}},{key:"getFilterCriteria",value:function(){return this._filterCriteria}},{key:"_isFiltratorDefined",value:function(e){return e.filtrator&&typeof e.filtrator=="function"}},{key:"_filterNode",value:function(e,t,r){for(var i=!0,s=0;s<t.length;s++){var a=this._isValidateCriteria(t[s]);if(!a.invalid){if(a.simple)if(this._isFiltratorDefined(t[s]))try{var o=t[s].filtrator(e,this._getCriteriaForCustomFilterFunction(t[s]));i=!!o}catch(h){i=!1}else{var u=t[s].value&&t[s].value.toString().toLowerCase(),c=this._extractValueToFilter(e,t[s]);i=this._compareValues(c,u,this._isFilterNeeded(e,t[s],u,c))}else a.complex?i=this._compositeCriteria(e,t[s]):a.checked&&(i=this._checkedCriteria(e,t[s]));if(i===r)return r}}return i}},{key:"_isValidateCriteria",value:function(e){var t=this._isBaseCriteria(e),r=this._isCheckedCriteria(e),i=!1;!t&&!r&&(i=this._checkComposite(e));var s=!t&&!i&&!r;return{simple:t,complex:i,checked:r,invalid:s}}},{key:"_filterCheckedNode",value:function(e){var t=this.checkedNodeIds.includes(this._getId(e));return t}},{key:"_filterUnCheckedNode",value:function(e){var t=this.unCheckedNodeIds.includes(this._getId(e));return t}},{key:"_checkedCriteria",value:function(e,t){var r=!1,i=t.metadata.checked,s=i===!0,a=i===!1;return s?r=this._filterCheckedNode(e):a&&(r=this._filterUnCheckedNode(e)),r}},{key:"_compositeCriteria",value:function(e,t){var r=!1;return t.and?r=this._filterNode(e,t.and,!1):t.or&&(r=this._filterNode(e,t.or,!0)),r}},{key:"isFilterMatch",value:function(e){var t=this._checkComposite(this._filterCriteria),r=!1;return t?r=this._compositeCriteria(e,this._filterCriteria):r=this._filterNode(e,[this._filterCriteria],!1),r&&this.addtoFilterCache(this._getId(e)),r}},{key:"_isFilterNeeded",value:function(e,t,r,i){var s=!0;return s=this._hasFilteringProperty(e,t),r===""&&(s=!1,i===r&&(s=!0)),s}},{key:"_compareValues",value:function(e,t,r){var i=void 0;return e!==null?i=r&&e.toString().toLowerCase().indexOf(t)!==-1:t===null?i=r:i=!1,i||!1}},{key:"_getCriteriaForCustomFilterFunction",value:function(e){var t={};return e.hasOwnProperty("field")&&(t.field=e.field),e.hasOwnProperty("columnIndex")&&(t.columnIndex=e.columnIndex),e.hasOwnProperty("value")&&(t.value=e.value),t}}]),d}()},_,P),_.exports=S},82666:(_,P,l)=>{"use strict";var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(79688),l(8578),l(7698),l(39418),l(98656),l(5108),l(56251),l(16349),l(26204),l(11487)],S=l.dj.d(b,function(d,n,e,t,r,i,s,a,o,u){var c=e.ERROR_CIRCULAR_REF,h=e.ERROR_MODE_NON_EXISTENT,v="mixed",f="checked",g="unchecked",m="__root",E={TREE:r,TREETABLE:i},w=0,I=o.TREETABLE,M="OBJECT";return function(){function R(T){var N=this,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};p(this,R),this._data=T||[],this.type=F.type,this._columnMap=F.columnMap,this.setSortState(null);var y=E[this.type];this.type===I&&F.rowDataType===M&&this._setDefaultColumnOptionsForTreeTable(F),this._sort=new y(F.sorted,this._columnMap),this._sort.sorted&&this._sort.sort(this._data),this._isExpanded=F.isExpanded,this.getParentId=function(x){return x.parent},F.getParentId&&(this.getParentId=F.getParentId),this.setParentId=function(x,O){x.parent=O},F.setParentId&&(this.setParentId=F.setParentId),this.getId=function(x){return x.id},F.getId&&(this.getId=F.getId),this.getCheck=function(x){return x.check},F.getCheck&&(this.getCheck=F.getCheck),this.setCheck=function(x,O){x.check=O===!0},F.setCheck&&(this.setCheck=F.setCheck),this.isCheckboxTree=F.isCheckboxTree,this._isSearching=!1,this._treeNodeIdCache=new d,this._treeRootId=null,this._getCheckedState=function(x){return!1},this.isCheckboxTree&&(this._getCheckedState=this._getCheckStatus,this._checkSet={}),this._createTreeNode=function(x,O,L){var W=N.getId(x),j=N._isExpandable(W),H=N._getCheckedState(W);return F.createTreeNode(W,x,O,L,j&&N._isExpanded(W),j,H,N._getGroupRow(W))},this._indexCache=new a(this._data,{getId:this.getId}),this._createParentCache(),this._makeCheckSets()}return C(R,[{key:"_setDefaultColumnOptionsForTreeTable",value:function(N){if(this._columnMap||(this._columnMap=Object.keys(this._data[0])),!this._columnMap)throw new Error("options.columnMap or at least one row of data must be specified.")}},{key:"setSortState",value:function(N){this._sortState=N}},{key:"getSortState",value:function(){return this._sortState}},{key:"_clearSortSettings",value:function(){this.setSortState([]),this._sort.removePersistentSort()}},{key:"_getGroupRow",value:function(N){if(this._groupRowIdCache&&this._groupRowIdCache.get(N))return this._groupRowIdCache.get(N)}},{key:"setGrouping",value:function(N){var F=this;this._isGrouping=!0,this._setGrouping=function(){var y=N(),x=y.groupingData,O=y.groupRowMeta,L=y.getParentIdForGrouping;F._groupRowIdCache=new d,Object.keys(O).forEach(function(W){F._groupRowIdCache.set(W,O[W])}),F._getParentIdForGrouping=L,F._createParentCache(x,L)},this._clearSortSettings(),this._updateResults()}},{key:"getNumColumns",value:function(){return w}},{key:"getColumnMap",value:function(){return this._columnMap}},{key:"getCell",value:function(N,F){return N[F]}},{key:"setCell",value:function(N,F,y){N[F]=y}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}},{key:"_hasChild",value:function(N){var F=this;return n.findIndex(this._data,function(y){return F.getParentId(y)===N})>=0}},{key:"_isExpandable",value:function(N){var F=this._parentCache.get(N);return!!(F&&F.length>0)}},{key:"_updateParentCacheNode",value:function(N,F){var y=this,x=this._parentCache.get(N);if(!x||x.length===0){F.index===void 0&&(F.index=this._getIndexById(this.getId(F.node))),this._parentCache.set(N,[F]);return}var O=void 0,L=x.length-1,W=0,j=void 0,H=void 0,K=void 0;if(F.index!==void 0?(O=F.index,j=x[L].index,H=x[W].index,K=function(z){return z.index>F.index}):(O=this._getIndexById(this.getId(F.node)),j=this._getIndexById(this.getId(x[L].node)),H=this._getIndexById(this.getId(x[W].node)),K=function(z){return y._getIndexById(y.getId(z.node))>O},F.index=O),j<O)x.push(F);else if(H>O)x.unshift(F);else{var $=n.findIndex(x,K);x.splice($,0,F)}}},{key:"_createChildIndexValue",value:function(N,F){return F!==void 0?{node:N,index:F}:{node:N}}},{key:"_createParentCache",value:function(N,F){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this._parentCache=new d,this._rootNodes=[],y=y||this._isGrouping||F!==void 0,N=N||this._data;for(var x=F||this.getParentId,O=N.length,L=0;L<O;L++){var W=N[L],j=x(W);y?this._updateParentCacheNode(j,this._createChildIndexValue(W,L)):this._updateParentCacheNode(j,this._createChildIndexValue(W))}}},{key:"_makeCheckSets",value:function(){if(this.isCheckboxTree)for(var N=0;N<=this._data.length-1;N++)this._isLeafNode(this.getId(this._data[N]))&&this._pushToCheckSet({directParent:this.getParentId(this._data[N]),leafChild:{id:this.getId(this._data[N]),node:this._data[N]}})}},{key:"_pushToCheckSet",value:function(N){if(N.directParent===null&&(N.directParent=m),this._checkSet[N.directParent]){var F=this._checkSet[N.directParent].checkValue,y=this._getNodeCheckStateForSet(N.leafChild.node);this._checkSet[N.directParent].checkValue=this._determineSetState(F,y),this._checkSet[N.directParent].leafChildren.push(N.leafChild)}else this._checkSet[N.directParent]={leafChildren:[N.leafChild],checkValue:this._getNodeCheckStateForSet(N.leafChild.node)}}},{key:"_getNodeCheckStateForSet",value:function(N){return this.getCheck(N)===!0?f:g}},{key:"_booleanToCheckState",value:function(N){return N?f:g}},{key:"_checkStateToBoolean",value:function(N){return N===f}},{key:"_determineSetState",value:function(N,F){return N===F?N:v}},{key:"_determineStateForSetOnRemovingLeafNode",value:function(N,F){return N===g||N===f?N:this._getCheckStatusForLeaves(F)}},{key:"_getCheckStatusForLeaves",value:function(N){for(var F=g,y=!1,x=!1,O=0;O<=N.length-1;O++)if(this.getCheck(N[O].node)?y=!0:x=!0,y&&x){F=v;break}return F===v?F:y?f:g}},{key:"_isLeafNode",value:function(N){N===m&&(N=null);var F=this._parentCache.get(N);return F=F||[],F.length===0}},{key:"_getChildIdsForParentId",value:function(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,y=this._parentCache.get(N),x=[];if(y)for(var O=0;O<=y.length-1;O++){var L=this.getId(y[O].node);F&&this._isLeafNode(L)||x.push(L)}return x}},{key:"_computeCheckStateOfNode",value:function(N){if(N.id!==m)return this._isLeafNode(N.id)?this._getNodeCheckStateForSet(this._getNodeInfo(N.id)):this._stateToString(this._computeCheckStateForSubTree(N.id))}},{key:"_stateToString",value:function(N){if(N.discoveredUnChecked&&N.discoveredChecked)return v;if(N.discoveredChecked)return f;if(N.discoveredUnChecked)return g}},{key:"_computeCheckStateForSubTree",value:function(N,F){F=F||{discoveredChecked:!1,discoveredUnChecked:!1};var y=this._getChildIdsForParentId(N),x=this.__getModifiedStateAndChildListToTraverse(N,y,F),O=x.newChildIds,L=x.newState;if(F=L,F.discoveredChecked&&F.discoveredUnChecked)return F;y=O;for(var W=0;W<=y.length-1;W++)if(F=this._computeCheckStateForSubTree(y[W],F),F.discoveredChecked&&F.discoveredUnChecked)return F;return F}},{key:"__getModifiedStateAndChildListToTraverse",value:function(N,F,y){if(this._checkSet[N]){var x=this._checkSet[N].checkValue;x===v&&(y.discoveredUnChecked=!0,y.discoveredChecked=!0),x===f&&(y.discoveredChecked=!0,F=this._removeSetLeafNodes(F,this._checkSet[N].leafChildren)),x===g&&(y.discoveredUnChecked=!0,F=this._removeSetLeafNodes(F,this._checkSet[N].leafChildren))}return{newChildIds:F,newState:y}}},{key:"_removeSetLeafNodes",value:function(N,F){for(var y=[],x=0;x<=F.length-1;x++)y.push(F[x].id);return N=N.filter(function(O){return!y.includes(O)}),N}},{key:"_reactToAddNode",value:function(N,F){if(N===null||!this._isLeafNode(N)){this._pushToCheckSet({directParent:N,leafChild:{id:this.getId(F),node:F}});return}this.__removeLeafNodeFromCheckSet(N,this.getParentId(this._getNodeInfo(N)),!1),this._pushToCheckSet({directParent:N,leafChild:{id:this.getId(F),node:F}})}},{key:"_reactToRemoveNode",value:function(N,F,y){if(this._isLeafNode(N)){this.__removeLeafNodeFromCheckSet(N,F);return}if(y.keepChildren!==!0){if(this.__removeSubTreeFromId(N),F===null)return;if(this._getChildIdsForParentId(F).length===1){var x=this._getParentIdForNodeId(F);this._pushToCheckSet({directParent:x,leafChild:{id:F,node:this._getNodeInfo(F)}})}return}for(var O=this._getChildIdsForParentId(N),L=0;L<=O.length-1;L++)this.__reactToReparentNode(O[L],N,F);this.__isIdPartOfParentCheckCache(N,F)&&this.__removeLeafNodeFromCheckSet(N,F)}},{key:"__isIdPartOfParentCheckCache",value:function(N,F){F===null&&(F=m);var y=!1;if(this._checkSet[F]){for(var x=this._checkSet[F].leafChildren,O=0;O<=x.length-1;O++)if(x[O].id===N){y=!0;break}}return y}},{key:"__removeSubTreeFromId",value:function(N){this._checkSet[N]&&this.__removeCheckSetEntry(N);for(var F=this._getChildIdsForParentId(N,!0),y=0;y<=F.length-1;y++)F.push.apply(F,A(this._getChildIdsForParentId(F[y],!0))),this._checkSet[F[y]]&&this.__removeCheckSetEntry(F[y])}},{key:"_getParentIdForNodeId",value:function(N){if(N!==null){var F=this._getNodeInfo(N);if(F)return this.getParentId(F)}}},{key:"__reactToReparentNode",value:function(N,F,y){if(this._isLeafNode(y)&&this.__removeLeafNodeFromCheckSet(y,this.getParentId(this._getNodeInfo(y))),!!this._isLeafNode(N)){this.__removeLeafNodeFromCheckSet(N,F),this._pushToCheckSet({directParent:y,leafChild:{id:N,node:this._getNodeInfo(N)}});var x=this._getParentIdForNodeId(y);if(x!==void 0){var O=this._getParentIdForNodeId(x);O!==void 0&&this.__removeLeafNodeFromCheckSet(x,O,!1)}}}},{key:"__doesIdExistInLeafChildren",value:function(N,F){for(var y=!1,x=0;x<=F.length-1;x++)if(F[x].id===N){y=!0;break}return y}},{key:"__removeLeafNodeFromCheckSet",value:function(N,F){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(F===null&&(F=m),this._checkSet[F]){if(!this.__doesIdExistInLeafChildren(N,this._checkSet[F].leafChildren))return;if(this._checkSet[F].leafChildren.length>1){this._checkSet[F].leafChildren=this._checkSet[F].leafChildren.filter(function(L){return L.id!==N});var x=this._checkSet[F].checkValue,O=this._checkSet[F].leafChildren;this._checkSet[F].checkValue=this._determineStateForSetOnRemovingLeafNode(x,O);return}this._getChildIdsForParentId(F).length===1&&y&&this._pushToCheckSet({directParent:this.getParentId(this._getNodeInfo(F)),leafChild:{id:F,node:this._getNodeInfo(F)}}),this.__removeCheckSetEntry(F)}}},{key:"__removeCheckSetEntry",value:function(N){delete this._checkSet[N]}},{key:"filterTreeNode",value:function(N,F){this._filterOptions=F;var y=F.displayChildren,x=this.getParentId,O=function(){return{checkTrueNodes:[],checkFalseNodes:[]}};this._isGrouping&&(x=this._getParentIdForGrouping),this.isCheckboxTree&&(O=this.getCheckedNodes),this._filter=this._instantiateFilter(N,{getId:this.getId,getParentId:x,treeRootId:this._treeRootId,checkedNodeIds:O.bind(this),columnMap:this._columnMap});for(var L=0;L<this._data.length;L=L+1){var W=this._data[L];if(this._treeNodeIdCache.set(this.getId(W),W),!this._filter.isFiltered(this.getId(W))){var j=this._filter.isFilterMatch(W);j&&(this._filter.addAncestorsToFilter(x(W)),y===!0&&this._addChildrenToFilter(this.getId(W)))}}this._includeFilteredAncestors(),this._filter.clearAncestorIds(),this._isFiltering=!0;var H={};return H.changeOccurred=!0,H.updateAll=!0,H}},{key:"_addChildrenToFilter",value:function(N){var F=this._parentCache.get(N);if(F)for(var y=[{arr:F,lastIndex:0}];y.length>0;){for(var x=y.length-1,O=y[x].lastIndex,L=y[x].arr,W=O,j=L.length;W<j;W+=1){var H=L[W].node,K=this.getId(H);if(this._filter.addtoFilterCache(K),this._parentCache.has(K)){y.push({arr:this._parentCache.get(K),lastIndex:0}),y[x].lastIndex=W+1;break}}W===L.length&&y.pop()}}},{key:"_includeFilteredAncestors",value:function(){for(var N=this._filter.getAncestorIds(),F=0;F<N.length;F++)this._addFilterAncestors(N[F])}},{key:"clearFilter",value:function(){var N={};return this._isFiltering?(this._isFiltering=!1,N=this._filter.clearFilter()):N.changeOccurred=!1,N}},{key:"registerCustomSort",value:function(N,F){this._sort.validateCustomSortName(N),this._sort.addCustomCompare(N,F)}},{key:"validateSortCriteria",value:function(N,F){var y=this;N.forEach(function(x){y._sort._validateSortOption(x,F)})}},{key:"searchTreeNodes",value:function(N){this._search=new t(N,{getId:this.getId,_type:this.type}),this._isSearching=!0;for(var F=0;F<this._data.length;F=F+1){var y=this._data[F];this._search.searchNodeForMatches(y)}var x={};return x.changeOccurred=!0,x.updateAll=!0,x}},{key:"clearSearch",value:function(){var N={};return this._isSearching?(this._isSearching=!1,N.changeOccurred=!0,N.updateAll=!0):N.changeOccurred=!1,N}},{key:"_updateResults",value:function(){var N=!1;if(this._isGrouping&&(this._setGrouping(),N=!0),this._isFiltering){var F=this._filter.getFilterCriteria();this.filterTreeNode(F,this._filterOptions),N=!0}if(this._isSearching){var y=this._search.getSearchCriteria();this.searchTreeNodes(y),N=!0}return N}},{key:"_reCreateParentCacheInGrouping",value:function(){this._isGrouping&&this._createParentCache()}},{key:"_setNodePositionForFilter",value:function(N,F){for(var y=0;y<N.length;y++){var x=N[y],O=this._isGrouping?this._getParentIdForGrouping(x.data):this.getParentId(x.data);O=O||"__root__node__",x.nodePosition={nodeIndex:F[O].currentIdx,noOfNodes:F[O].childrenCount},F[O].currentIdx++}}},{key:"flatten",value:function(N){N&&this._createParentCache(this._data);var F=this._createTreeNode,y=[],x=this._parentCache.get(this._treeRootId),O={};if(x){for(var L={id:this._treeRootId,parent:null},W=[{arr:x,lastIndex:0,path:L}];W.length>0;){for(var j=W.length-1,H=W[j].lastIndex,K=W[j].arr,$=H,V=K.length,z=W[j].path;$<V;$++){var X={parent:z},Z=F(K[$].node,j,X);X.id=Z.id;var Y=Z.id,Q=Z.isExpanded,q=!0;if(this._isFiltering){if(q=!1,this._filter.isFiltered(Y)){var ee=this._isGrouping?this._getParentIdForGrouping(Z.data):this.getParentId(Z.data);ee=ee||"__root__node__",O[ee]?O[ee].childrenCount++:O[ee]={childrenCount:1,currentIdx:1},y.push(Z),q=!0}}else Z.nodePosition={nodeIndex:$+1,noOfNodes:V},y.push(Z);if(this._isSearching&&this._search.isNodeAMatch(K[$].node)&&(Z.highlight=this._search.getMatchesFromCache(K[$].node)),q&&Q&&this._parentCache.has(Y)||N&&this._parentCache.has(Y)){W.push({arr:this._parentCache.get(Y),lastIndex:0,path:X}),W[j].lastIndex=$+1;break}}$===K.length&&W.pop()}this._isFiltering&&this._setNodePositionForFilter(y,O)}return y}},{key:"_getIndexById",value:function(N){return this._indexCache.getIndex(N)}},{key:"_getNodeById",value:function(N){for(var F=0;F<this._data.length;F+=1){var y=this._data[F];if(this.getId(y)===N)return y}return null}},{key:"getNodesByIds",value:function(N){var F=this;if(N.length===0)return[];if(N.length===1)return[this._getNodeById(N[0])];for(var y=new d,x=0;x<N.length;x+=1){var O=N[x];y.set(O,!0)}var L=function(j){return y.has(F.getId(j))};return this._data.filter(L)}},{key:"_cacheParents",value:function(N){var F=new d,y=this.getParentId;N&&this._isGrouping&&(y=this._getParentIdForGrouping);for(var x=0;x<this._data.length;x+=1){var O=this.getId(this._data[x]),L=y(this._data[x]);F.set(O,L)}return F}},{key:"getAncestorIds",value:function(N,F){var y=this,x=void 0;x=this._cacheParents(F);for(var O=function(H){var K=void 0;return x.has(H)?K=x.get(H):F&&y._isGrouping&&(K=y._getParentIdForGrouping(null,H)),K},L=[],W=O(N);W&&W!==this._treeRootId;)L.push(W),W=O(W);return L}},{key:"getChildIndiciesByParent",value:function(N){var F=this._parentCache.get(N);if(F){for(var y=[],x=F.length,O=0;O<x;O++){var L=F[O].node;y.push({index:this._getIndexById(this.getId(L)),node:L})}return y}return[]}},{key:"_calcPlacementIndex",value:function(N,F,y){var x=this;if(this._sort.sorted)return this._sort.getInsertIndex(this._data,F);var O=y.place,L=this._data.length;if(O==="first")L=0;else if(O==="last")L=this._data.length;else if(y.node){var W=void 0,j=void 0;W=y.node.id,j=this.getChildIndiciesByParent(N);var H=!1;if(j){var K=n.find(j,function(V){return W===x.getId(V.node)});K&&(L=K.index,H=!0)}if(!H){var $=this._getIndexById(W);$>=0&&(L=$,H=!0)}H&&O==="after"&&(L+=1)}return L}},{key:"_updateSortState",value:function(){return this._sort.sorted?!1:(this.setSortState(null),!0)}},{key:"add",value:function(N,F,y){this.isCheckboxTree&&this._reactToAddNode(N,F),this._reCreateParentCacheInGrouping(),this.setParentId(F,N);var x=this._calcPlacementIndex(N,F,y),O=this._isExpandable(N);this._data.splice(x,0,F),this._indexCache.setNode(this.getId(F),x,{index:x,node:F}),this._updateParentCacheNode(N,this._createChildIndexValue(F));var L=[this.getId(F)];O!==this._isExpandable(N)&&L.push(N);var W=this._updateResults(),j=this._updateSortState();return{changeOccurred:!0,changedIds:L,updateAll:W,columnMetaDataChanged:j}}},{key:"addNodes",value:function(N){for(var F=[],y=0;y<=N.length-1;y++){N[y].options===void 0&&(N[y].options={place:"last"});var x=this._add(N[y].parentProxy.id,N[y].nodeToAdd,N[y].options),O=x.changedIds;F.push.apply(F,A(O))}var L=this._updateResults(),W=this._updateSortState();return{changeOccurred:!0,changedIds:F,updateAll:L,columnMetaDataChanged:W}}},{key:"_add",value:function(N,F,y){this.isCheckboxTree&&this._reactToAddNode(N,F),this._reCreateParentCacheInGrouping(),this.setParentId(F,N);var x=this._calcPlacementIndex(N,F,y),O=this._isExpandable(N);this._data.splice(x,0,F),this._indexCache.setNode(this.getId(F),x,{index:x,node:F}),this._updateParentCacheNode(N,this._createChildIndexValue(F));var L=[this.getId(F)];return O!==this._isExpandable(N)&&L.push(N),{changedIds:L}}},{key:"remove",value:function(N){for(var F=!1,y=[],x=0;x<=N.length-1;x++){N[x].options===void 0&&(N[x].options={keepChildren:!1});var O=this._remove(N[x].parentId,N[x].proxyNodeToRemove.id,N[x].options),L=O.changeOccurred,W=O.changedIds;!F&&L&&(F=L),Array.isArray(W)&&(y=[].concat(A(y),A(W)))}if(F){var j=this._updateResults(),H=this._updateSortState();return{changeOccurred:F,changedIds:y,updateAll:j,columnMetaDataChanged:H}}return{changeOccurred:!1}}},{key:"_remove",value:function(N,F,y){var x=this;this._reCreateParentCacheInGrouping();var O=this._getIndexById(F);if(O<0)return{changeOccurred:!1};this.isCheckboxTree&&this._reactToRemoveNode(F,N,y);var L=this._isExpandable(N),W=void 0;if(y.keepChildren){var j=this.getChildIndiciesByParent(F);j.forEach(function(Z){x.setParentId(Z.node,N),x._updateParentCacheNode(N,{node:Z.node})}),W=[O]}else{var H=[],K=function Z(Y){if(Y.length!==0){var Q=[];Y.forEach(function(q){var ee=x.getId(q.node);Q=Q.concat(x.getChildIndiciesByParent(ee))}),H=H.concat(Q),Z(Q)}};K([this._createChildIndexValue(this._data[O])]),W=H.map(function(Z){return Z.index}),W.push(O),W.sort(function(Z,Y){return Y-Z})}for(var $=[],V=0;V<W.length;V+=1){var z=W[V],X=this._data[z];$.push(this.getId(X)),this._removeParentCacheNode(this.getParentId(X),{node:X}),this._indexCache.removeNode(this.getId(X),z),this._data.splice(z,1)}return L!==this._isExpandable(N)&&$.push(N),{changeOccurred:!0,changedIds:$}}},{key:"_getNodesByParent",value:function(N,F){var y=[],x=[],O=this._parentCache.get(N);if(O=O||[],O.length===0&&N===this._treeRootId)return{leafNodeIds:y,parentNodeIds:x};O.length>0&&F&&N!==this._treeRootId?x.push(N):O.length===0&&y.push(N);for(var L=[{arr:O}],W=0;L.length>0;){for(var j=L[W].arr,H=j.length,K=0;K<H;K++){var $=j[K].node,V=this.getId($),z=this._parentCache.get(V);z?(F&&V&&x.push(V),L.push({arr:z})):z||y.push(V)}L.shift()}return{leafNodeIds:y,parentNodeIds:x}}},{key:"getChildNodes",value:function(N,F){var y=this,x=this.getChildIndiciesByParent(N),O=null,L=[];return x.length===0?[]:(x.forEach(function(W){var j=n.findIndex(F,function(K){return W.node.id===K.id});if(j>=0)O={index:j,node:F[j]};else{var H=y._createTreeNode(W.node,null);O={index:null,node:{id:H.id,isExpandable:H.isExpandable,isExpanded:H.isExpanded,level:H.level,data:H.data}}}L.push(O)}),L)}},{key:"getSiblingNodes",value:function(N){throw new Error("This configuration is not suported")}},{key:"getRootNodes",value:function(N){throw new Error("This configuration is not suported")}},{key:"getAncestorNodes",value:function(N){throw new Error("This configuration is not suported")}},{key:"_removeParentCacheNode",value:function(N,F){var y=this,x=this._parentCache.get(N);if(x){var O=this._getIndexById(this.getId(F.node)),L=n.findIndex(x,function(W){return y._getIndexById(y.getId(W.node))===O});x.splice(L,1)}}},{key:"move",value:function(N,F,y,x){this._reCreateParentCacheInGrouping();var O=this._getIndexById(F);if(O<0)return{changeOccurred:!1};if(y&&!this._indexCache.hasIndex(y)){var L=new Error("New parent Id does not exists");throw L.reason=h,L}var W=this.getAncestorIds(y);if(W.indexOf(F)>=0||F===y){var j=new Error("Move caused a circular reference");throw j.reason=c,j}this.isCheckboxTree&&this.__reactToReparentNode(F,N,y);var H=this._calcPlacementIndex(y,this._data[O],x),K=this._isExpandable(y),$=this._isExpandable(N),V=this._data[O];O>=0&&H>=0&&O!==H?(this._removeParentCacheNode(N,{node:V}),this._indexCache.removeNode(F,O),this._data.splice(O,1),O<H&&(H-=1),this._data.splice(H,0,V),this._indexCache.setNode(F,H,{index:H,node:V}),this._updateParentCacheNode(y,{node:V})):O===H&&(this._removeParentCacheNode(N,{node:V}),this._updateParentCacheNode(y,{node:V})),this.setParentId(V,y);var z=[F];$!==this._isExpandable(N)&&z.push(N),K!==this._isExpandable(y)&&z.push(y);var X=this._updateResults(),Z=this._updateSortState();return{changeOccurred:!0,changedIds:z,updateAll:X,columnMetaDataChanged:Z}}},{key:"update",value:function(N){for(var F=[],y=0;y<=N.length-1;y++){var x=this._update(N[y].parentId,N[y].proxyNodeToUpdate.id,N[y].fieldsToMerge),O=x.changedIds;F.push.apply(F,A(O))}var L=this._updateResults(),W=this._updateSortState();return{changeOccurred:!0,changedIds:F,updateAll:L,columnMetaDataChanged:W}}},{key:"_update",value:function(N,F,y){var x=this._getIndexById(F);if(x<0)return{changeOccurred:!1,changedIds:[],updateAll:!1};var O=this._data[x];for(var L in y)O[L]=y[L];if(this._sort.sorted){var W=this.getParentId(O);this._removeParentCacheNode(W,{node:O}),this._indexCache.removeNode(F,x),this._data.splice(x,1);var j=this._calcPlacementIndex(W,O,{});this._data.splice(j,0,O),this._indexCache.setNode(F,j,{index:j,node:O}),this._updateParentCacheNode(W,{node:O})}return{changedIds:[F]}}},{key:"_updateChecked",value:function(N,F){var y=[];return this._isLeafNode(N.id)?(this._updateCheckedLeafNode(N.id,this._booleanToCheckState(F)),y.push({id:N.id}),y):(y=this._updateCheckedParentNode(N.id,this._booleanToCheckState(F)),y)}},{key:"_updateCheckedParentNode",value:function(N,F){var y=[],x=[];if(this.__doesParentIdHaveChekSet(N)){var O=this.__updateCheckedSets(N,F),L=O.leafChildrenSetIds,W=O.changeIds;x=L,y=[].concat(A(y),A(W))}var j=this._getChildIdsForParentId(N);j=j.filter(function(K){return!x.includes(K)});for(var H=0;H<=j.length-1;H++)y=[].concat(A(y),A(this._updateCheckedParentNode(j[H],F)));return y}},{key:"__doesParentIdHaveChekSet",value:function(N){return!!this._checkSet[N]}},{key:"__updateCheckedSets",value:function(N,F){for(var y=[],x=[],O=!1,L=0;L<=this._checkSet[N].leafChildren.length-1;L++)this._checkStateToBoolean(F)!==!!this.getCheck(this._checkSet[N].leafChildren[L].node)&&(O||(O=!0),x.push({id:this._checkSet[N].leafChildren[L].id,ignoreAncestorCalculation:!0})),this.setCheck(this._checkSet[N].leafChildren[L].node,this._checkStateToBoolean(F)),y.push(this.getId(this._checkSet[N].leafChildren[L].node));return this._checkSet[N].checkValue=F,O&&x.push({id:N}),{leafChildrenSetIds:y,changeIds:x}}},{key:"_updateCheckedLeafNode",value:function(N,F){if(this._getNodeCheckStateForSet(this._getNodeInfo(N))!==F){var y=this.getParentId(this._getNodeInfo(N));y===null&&(y=m),this.setCheck(this._getNodeInfo(N),this._checkStateToBoolean(F)),this._checkSet[y].checkValue=this._getCheckStatusForLeaves(this._checkSet[y].leafChildren)}}},{key:"_getAncestorIdsForCheckChange",value:function(N){for(var F=[],y=0;y<=N.length-1;y++){if(N[y].ignoreAncestorCalculation){F.push(N[y].id);continue}F.push(N[y].id),F.push.apply(F,A(this.getAncestorIds(N[y].id)))}return F}},{key:"updateChecked",value:function(N,F){var y=N.id,x=this._getIndexById(y);if(x<0)return{changeOccurred:!1,changedIds:[],updateAll:!1};var O=this._updateChecked(N,F),L=this._getAncestorIdsForCheckChange(O),W=!1;L.length>0&&(W=!0);var j=this._updateResults();return{changeOccurred:W,changedIds:W?L:[],updateAll:j}}},{key:"_getNodeInfo",value:function(N){var F=this._getIndexById(N);return this._data[F]}},{key:"_getCheckedNodes",value:function(){var N=this,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,y=[],x=[];Object.keys(this._checkSet).forEach(function(W){N._checkSet[W].checkValue===N._booleanToCheckState(F)&&x.push(W),N._checkSet[W].checkValue===v&&y.push(W)});var O=this.__traverseUpAndGetAllCheckedIdsForParentIds(x,this._booleanToCheckState(F)),L=[];return L.push.apply(L,A(this.__getCheckedLeafIdsForDirectParentIds(x,this._booleanToCheckState(F)))),L.push.apply(L,A(this.__getCheckedLeafIdsForDirectParentIds(y,this._booleanToCheckState(F)))),L.push.apply(L,A(this.__filterCheckedIds(x,this._booleanToCheckState(F)))),L.push.apply(L,A(O)),L}},{key:"__getCheckedLeafIdsForDirectParentIds",value:function(N,F){for(var y=[],x=0;x<=N.length-1;x++)y.push.apply(y,A(this.__getCheckedLeafIdsForDirectParentId(N[x],F)));return y}},{key:"__getCheckedLeafIdsForDirectParentId",value:function(N,F){for(var y=[],x=this._checkSet[N].checkValue,O=0;O<=this._checkSet[N].leafChildren.length-1;O++){if(x===F){y.push(this._checkSet[N].leafChildren[O].id);continue}this._computeCheckStateOfNode({id:this._checkSet[N].leafChildren[O].id})===F&&y.push(this._checkSet[N].leafChildren[O].id)}return y}},{key:"__traverseUpAndGetAllCheckedIdsForParentIds",value:function(N,F){for(var y=[],x=!0,O=[];x||O.length>0;){x&&(x=!1,O=N);var L=this.__getAncestorIdsForNodeIds(O);O=this.__filterCheckedIds(L,F),y.push.apply(y,A(O))}return y}},{key:"__getAncestorIdsForNodeIds",value:function(N){for(var F=new Set,y=0;y<=N.length-1;y++){var x=void 0;N[y]===m?x=null:x=this.getParentId(this._getNodeInfo(N[y])),x!==null&&F.add(x)}return[].concat(A(F))}},{key:"__filterCheckedIds",value:function(N,F){for(var y=[],x=0;x<=N.length-1;x++)this._computeCheckStateOfNode({id:N[x]})===F&&y.push(N[x]);return y}},{key:"getCheckedNodes",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,F=[],y=[];return F=this._getCheckedNodes(),N&&(y=this._getCheckedNodes(!1)),{checkedNodeIds:F,unCheckedNodeIds:y}}},{key:"_getCheckStatus",value:function(N){var F=this._computeCheckStateOfNode({id:N});return F===f||F===g?this._checkStateToBoolean(F):F}}]),R}()},_,P),_.exports=S},68073:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{validate:function(A){if(A){if(!A.hasOwnProperty("id"))throw new Error("id is required for proxyNode. Path property not implimented yet.")}else throw new Error("proxyNode is required")},normalize:function(A){return this.validate(A),A}}},_,P),_.exports=S},64070:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(35363)],S=l.dj.d(b,function(p){return function(){function d(n){A(this,d),this._criteria=n}return C(d,[{key:"_isCompositeCriteria",value:function(e){return!!(e&&(e.and||e.or))}},{key:"searchNodeForMatches",value:function(e){var t=[];return this._isCompositeCriteria(this._criteria)?t=this._compositeCriteria(e,this._criteria):t=this.searchMatchedNodes(e,[this._criteria],!0),t.length>0&&this._searchCache&&this._setMatchesInCache(e,t),t}},{key:"searchMatchedNodes",value:function(e,t,r){for(var i=[],s=!1,a=0;a<t.length;a++){s=!1;var o=this._isBaseCriteria(t[a]),u=!1;if(o||(u=this._isCompositeCriteria(t[a])),!(!o&&!u)){if(o){var c=this._getCriteriaField(t[a]);if(t[a].value===null&&e[c]===null)s=!0;else if(this._isValidCriteria(e,c,t[a].value)){var h=this._getSearchColumnCriteria(t[a]),v=p.searchColumn(e[c],h);v.length>0&&(i.push({field:t[a].columnIndex!==void 0?t[a].columnIndex:t[a].field,matches:v}),s=!0)}}else if(u){var f=this._compositeCriteria(e,t[a]);f.length>0&&(i=i.concat(f),s=!0)}if(!s&&!r)return[]}}return i}},{key:"_isValidCriteria",value:function(e,t,r){return!(r===null||e[t]===null||!(t in e)||e[t]===void 0)}},{key:"_searchNode",value:function(e,t,r){for(var i=!1,s=this.escapeRegExp(t),a=new RegExp(s,"gi"),o=0,u=[];o=a.exec(r);){var c={};c.start=o.index,c.count=t.length,c.value=t,u.push(c),i=!0}return i?this._createSearchMetadata(u,e):null}},{key:"_compositeCriteria",value:function(e,t){var r=[];return t.and?r=this.searchMatchedNodes(e,t.and,!1):t.or&&(r=this.searchMatchedNodes(e,t.or,!0)),r}},{key:"_setMatchesInCache",value:function(e,t){this._searchCache.set(this._getId(e),t)}},{key:"isNodeAMatch",value:function(e){return this._searchCache.has(this._getId(e))}},{key:"getMatchesFromCache",value:function(e){return this._searchCache.get(this._getId(e))}},{key:"_createSearchMetadata",value:function(e,t){return{field:t,matches:e}}},{key:"getSearchCriteria",value:function(){return this._criteria}},{key:"escapeRegExp",value:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}]),d}()},_,P),_.exports=S},98656:(_,P,l)=>{"use strict";var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(29782),l(71716)],S=l.dj.d(b,function(e,t){var r=[{field:"label",order:t.order.ASC,compare:t.compare.STRING}],i=function(s){n(a,s);function a(o){p(this,a);var u=d(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,o));return u.configurePersistentSort(o),u}return A(a,[{key:"configurePersistentSort",value:function(u){Array.isArray(u)?(this._sorted=!0,this._sortOptions=u):((typeof u>"u"?"undefined":C(u))==="object"||u===!0)&&(this._sorted=!0,this._sortOptions=r)}},{key:"_getSortField",value:function(u){return u.field}},{key:"_validateFieldToSort",value:function(u,c){if(!u.field)throw new Error("Field must be specified for sort in Tree")}}]),a}(e);return i},_,P),_.exports=S},78807:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(81462)],S=l.dj.d(b,function(n){var e=function(t){d(r,t);function r(){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return C(r,[{key:"_extractValueToFilter",value:function(s,a){return s[a.field]}},{key:"_hasFilteringProperty",value:function(s,a){return s.hasOwnProperty(a.field)}},{key:"_isBaseCriteria",value:function(s){return"value"in s&&"field"in s}},{key:"_isCheckedCriteria",value:function(s){return"metadata"in s&&"checked"in s.metadata}}]),r}(n);return e},_,P),_.exports=S},80249:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(82666),l(78807),l(56251)],S=l.dj.d(b,function(n,e,t){var r=function(a){var o={};return a.forEach(function(u,c){o[u]=c}),o},i=function(s){d(a,s);function a(o,u){A(this,a);var c=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,o,u));return c._columnMap=u.columnMap||[0],c._columnMap||(c._columnMap=Object.keys(c._data[0])),c.defaultColumnCount=c._columnMap.length,c._paramToIndexMap=r(c._columnMap),u.metaDataColumns=u.metaDataColumns||[0],c._metaDataColumns=u.metaDataColumns.map(function(h){return c._paramToIndexMap[h]}),c._metaDataRanges=t.columnArray(c._metaDataColumns),c._isFiltering=!1,c._filterOptions={},c}return C(a,[{key:"normalizeFilterCriteria",value:function(u){var c={field:"",value:""};return u&&(u.field||u.and||u.or||u.metadata)?u:c}},{key:"_instantiateFilter",value:function(){for(var u=arguments.length,c=Array(u),h=0;h<u;h++)c[h]=arguments[h];return new(Function.prototype.bind.apply(e,[null].concat(c)))}},{key:"_addFilterAncestors",value:function(u){for(;u!==this._treeRootId&&!this._filter.isFiltered(u);)this._filter.addtoFilterCache(u),u=this.getParentId(this._treeNodeIdCache.get(u))}},{key:"runSort",value:function(u,c){return c.keepSorted===!0?(this._sort.configurePersistentSort(u),this._sort.sort(this._data),this.setSortState(u),this._indexCache._reindex(),this._createParentCache(),{changeOccurred:!0,updateAll:!0}):(this._sort.removePersistentSort(),this._data.sort(this._sort.generateCompareFunctionFromList(u)),this.setSortState(u),this._indexCache._reindex(),this._createParentCache(),{changeOccurred:!0,updateAll:!0})}}]),a}(n);return i},_,P),_.exports=S},39418:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(64070),l(79688)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s,a){A(this,i);var o=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,s,a));return o._searchCache=new e,o._getId=a.getId,o}return C(i,[{key:"_getCriteriaField",value:function(a){return a.field}},{key:"_getSearchColumnCriteria",value:function(a){return{value:a.value}}},{key:"_isBaseCriteria",value:function(a){return!!(a&&"value"in a&&"field"in a)}}]),i}(n);return t},_,P),_.exports=S},79688:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(47828),l(99957)],S=l.dj.d(b,function(p,d){return function(){function n(){A(this,n),this._caches=[],this._caches.push(new p),typeof Map<"u"&&Map.prototype.keys&&this._caches.push(new d);var e=function(){var t=[];return{set:function(i,s){for(var a=0;a<t.length;a+=1){var o=t[a];if(o.key===i){o.value=s;return}}t.push({key:i,value:s})},get:function(i){for(var s=0;s<t.length;s+=1){var a=t[s];if(a.key===i)return a.value}},has:function(i){for(var s=0;s<t.length;s+=1){var a=t[s];if(a.key===i)return!0}return!1},remove:function(i){for(var s=0;s<t.length;s+=1){var a=t[s];if(a.key===i){t.splice(s,1);break}}},keys:function(){return t.map(function(i){return i.key})},canIndex:function(){return!0}}}();this._caches.push(e)}return C(n,[{key:"getCache",value:function(t){for(var r=0;r<this._caches.length;r+=1)if(this._caches[r].canIndex(t))return this._caches[r]}},{key:"set",value:function(t,r){this.getCache(t).set(t,r)}},{key:"get",value:function(t){return this.getCache(t).get(t)}},{key:"has",value:function(t){return this.getCache(t).has(t)}},{key:"remove",value:function(t){return this.getCache(t).remove(t)}},{key:"canIndex",value:function(t){return this.getCache(t).canIndex(t)}},{key:"keys",value:function(){for(var t=[],r=0;r<this._caches.length;r+=1)Array.prototype.push.apply(t,this._caches[r].keys());return t}}]),n}()},_,P),_.exports=S},16349:(_,P,l)=>{"use strict";var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=1,d=-1,n=500;b=[l(79688)],S=l.dj.d(b,function(e){return function(){function t(r,i){var s=i.getId;A(this,t),this._indexCache=new e,this._data=r,this._history=[],this.getId=s,this._reindex()}return C(t,[{key:"_reindex",value:function(){this._history=[];for(var i=this._data.length,s=0;s<i;s++){var a=this._data[s];this._indexCache.set(this.getId(a),{index:s,node:a,timestamp:0})}}},{key:"getIndex",value:function(i){return this.hasIndex(i)?(this._history.length>=n&&this._reindex(),this._calcIndex(i)):-1}},{key:"hasIndex",value:function(i){return this._indexCache.has(i)}},{key:"setNode",value:function(i,s,a){var o=a.index,u=a.node;this._updateHistory({op:p,opIdx:s}),this._indexCache.set(i,{index:o,node:u,timestamp:this._history.length})}},{key:"removeNode",value:function(i,s){this._updateHistory({op:d,opIdx:s}),this._indexCache.remove(i)}},{key:"_updateHistory",value:function(i){this._history.push(i)}},{key:"_calcIndex",value:function(i){for(var s=this._indexCache.get(i),a=s.index,o=s.timestamp,u=this._history.length,c=o;c<u;c++){var h=this._history[c],v=h.op,f=h.opIdx;a>=f&&(a+=v)}return a}}]),t}()},_,P),_.exports=S},99957:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";return function(){function p(){A(this,p),this._cache=new Map}return C(p,[{key:"set",value:function(n,e){this._cache.set(n,e)}},{key:"get",value:function(n){return this._cache.get(n)}},{key:"has",value:function(n){return this._cache.has(n)}},{key:"remove",value:function(n){this._cache.delete(n)}},{key:"keys",value:function(){return Array.from(this._cache.keys())}},{key:"canIndex",value:function(n){return!0}}]),p}()},_,P),_.exports=S},47828:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";return function(){function p(){A(this,p),this._cache=Object.create(null)}return C(p,[{key:"set",value:function(n,e){this.canIndex(n)&&(this._cache[n]=e)}},{key:"get",value:function(n){if(this.has(n))return this._cache[n]}},{key:"has",value:function(n){return n in this._cache}},{key:"remove",value:function(n){delete this._cache[n]}},{key:"keys",value:function(){var n=[];for(var e in this._cache)n.push(e);return n}},{key:"canIndex",value:function(n){return typeof n=="string"}}]),p}()},_,P),_.exports=S},13653:(_,P,l)=>{"use strict";var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(72904),l(69453),l(68073),l(79688),l(11487),l(32258),l(79930),l(60722),l(6554),l(33044),l(8578)],S=l.dj.d(b,function(e,t,r,i,s,a,o,u,c,h,v){"use strict";var f=function(M){var R=new e;setTimeout(function(){return M(R.resolve,R.reject)},0),this.then=R.promise.then},g=function(M){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};M.id=R.id,M.level=R.level,M.isExpanded=R.isExpanded,M.isExpandable=R.isExpandable,M.groupRow=R.groupRow,M.highlight=R.highlight,R.hasOwnProperty("check")&&(M.check=R.check),M.hasOwnProperty("path")||Object.defineProperty(M,"path",{get:function(){return R.path}})},m=function(M){if(!M)return M;var R={};return g(R,M.node),{index:M.index,node:R}},E={ARRAY:a,OBJECT:o},w=function(I){n(M,I);function M(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};p(this,M);var N=d(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,R,T));return N._type=T.type,N._searching=!1,N}return C(M,[{key:"addMetaDataRule",value:function(T,N){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"addMetaDataRule",this).call(this,T,N)}},{key:"removeMetaDataRule",value:function(T){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"removeMetaDataRule",this).call(this,T)}},{key:"createMetaDataRule",value:function(T,N){return c.create(T,N,this._type)}},{key:"replaceAll",value:function(T){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};N.isCheckboxTree===!0&&(this.updateChecked=this._updateChecked,this.getCheckNodes=this._getCheckNodes,this._isCheckboxTree=!0);var F=E[N.rowDataType];if(!F)throw new Error("rowDataType is invalid - valid options:"+Object.keys(E).join(", "));N=Object.assign(N,{type:this._type});var y=Object.assign({},N);N.setId&&(this.setId=N.setId),this._rowDataType=N.rowDataType,y.isExpanded=N.isExpanded||this._isExpanded.bind(this),y.createTreeNode=N.createTreeNode||this._createTreeNode.bind(this),y.isCheckboxTree=this._isCheckboxTree,y.getCheck=N.getCheck,y.setCheck=N.setCheck,this._dataSave=N.dataSave||{},this._internalDataStore=new F(T,y),this._getParentId=this._internalDataStore.getParentId.bind(this._internalDataStore),this._flattenedTree=[],this._flatten=this._internalDataStore.flatten.bind(this._internalDataStore),this._getSortState=this._internalDataStore.getSortState.bind(this._internalDataStore),this._groupOptions||this._filterCriteria?(this._groupOptions&&this.groupBy(this._groupOptions),this._filterCriteria&&this.filter(this._filterCriteria)):(this._flattenedTree=this._flatten(),this._updateDataSize(),this._dataChanged([s.range().setRows(0,1/0).setColumns(0,1/0)],!0))}},{key:"_calculateDataSize",value:function(){var T=s.range().setRows(0,this._flattenedTree.length-1);return T.setColumns(0,this._internalDataStore.getNumColumns()-1)}},{key:"groupBy",value:function(T){if(!this.setId)throw new Error("Please add setId function in DataStore options in order to use groupBy API");if(this.isCheckboxTree)throw new Error("groupBy is incompatible with checkbox treetable feature");this._groupOptions=T||[],this._group=new u(T,{getCell:this._internalDataStore.getCell.bind(this._internalDataStore),setCell:this._internalDataStore.setCell.bind(this._internalDataStore),setParentId:this._internalDataStore.setParentId.bind(this._internalDataStore),getParentId:this._internalDataStore.getParentId.bind(this._internalDataStore),getId:this._internalDataStore.getId.bind(this._internalDataStore),setId:this.setId.bind(this),flatten:this._internalDataStore.flatten.bind(this._internalDataStore),rowDataType:this._rowDataType,columnNum:this._internalDataStore.getNumColumns()});var N=this._group.getGroupByFn();this._internalDataStore.setGrouping(N),this._flattenedTree=this._internalDataStore.flatten.bind(this._internalDataStore)(),this._updateDataSize(),this._dataChanged([s.range().setRows(0,1/0).setColumns(0,1/0)]),this._emitPagedColumnMetaDataChanged([s.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"clearGroupBy",value:function(){this._internalDataStore.clearGrouping(),this._groupOptions=null,this._flattenedTree=this._internalDataStore.flatten.bind(this._internalDataStore)(),this._updateDataSize(),this._dataChanged([s.range().setRows(0,1/0).setColumns(0,1/0)]),this._emitPagedColumnMetaDataChanged([s.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"getLocalRowMetaData",value:function(T){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"getLocalRowMetaData",this).call(this,T)}},{key:"getLocalColumnMetaData",value:function(T){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"getLocalColumnMetaData",this).call(this,T)}},{key:"_getColumnNumbersForSortCriteria",value:function(T){if(!T)return[];var N=[];return T.forEach(function(F){return N.push(F.columnIndex)}),N}},{key:"getLocalCellData",value:function(T,N){if(this._flattenedTree[T])return this._internalDataStore.getCell(this._flattenedTree[T].data,N)}},{key:"getLocalCellMetaData",value:function(T,N){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"getLocalCellMetaData",this).call(this,T,N)}},{key:"getData",value:function(){var T=this,N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Array.isArray(N)){var F=N;return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"getData",this).call(this,F)}return new f(function(y,x){var O=N.proxyNodes;if(O){if(!Array.isArray(O)){x(new Error("The proxyNodes property should be an array"));return}}else{x(new Error("Expected an object with a property of proxyNodes"));return}for(var L=O.map(function(Z){return Z.id}),W=T._internalDataStore.getNodesByIds(L),j=new i,H=0;H<L.length;H+=1){var K=L[H];if(j.has(K)){var $=j.get(K);$.push(H)}else j.set(K,[H])}for(var V=L.map(function(){return null}),z=function(Y){var Q=W[Y];if(Q){var q=T._internalDataStore.getId(Q);if(j.has(q)){var ee=j.get(q);ee.forEach(function(oe){V[oe]=Q})}else x(Error("Node id "+q+" found in results but was not in requested"))}},X=0;X<W.length;X+=1)z(X);y(V)})}},{key:"expandTo",value:function(){for(var T,N=arguments.length,F=Array(N),y=0;y<N;y++)F[y]=arguments[y];return(T=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"expandTo",this)).call.apply(T,[this].concat(F)).then(function(x){return m(x)})}},{key:"getRowIds",value:function(T){var N=this,F=new f(function(y,x){var O=[];T.forEach(function(L,W){if(!s.isRangeInside(N.dataSize,L)){x(new Error("Range exceeds data size"));return}for(var j=L.rows.start,H=L.rows.end,K=j;K<=H;K+=1){var $=N._flattenedTree[K];O.push($.id)}}),y(O)});return F}},{key:"getParentNode",value:function(){for(var T,N=arguments.length,F=Array(N),y=0;y<N;y++)F[y]=arguments[y];return(T=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"getParentNode",this)).call.apply(T,[this].concat(F)).then(function(x){return m(x)})}},{key:"getNode",value:function(){for(var T,N=arguments.length,F=Array(N),y=0;y<N;y++)F[y]=arguments[y];return(T=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"getNode",this)).call.apply(T,[this].concat(F)).then(function(x){return m(x)})}},{key:"getChildNodes",value:function(T){var N=this;return T=r.normalize(T),new f(function(F){var y=[],x=N._internalDataStore.getChildIndiciesByParent(T.id),O=new f(function(L){x.length===0&&L(y),x.forEach(function(W){var j=N._internalDataStore.getId(W.node);N.getNode({id:j}).then(function(H){if(!H){var K=N._internalDataStore._createTreeNode(W.node,null);H={index:null,node:{groupRow:K.groupRow,id:K.id,isExpandable:K.isExpandable,isExpanded:K.isExpanded,level:K.level,check:K.check}}}y.push(H),y.length===x.length&&L(y)})})});O.then(function(L){L.length>0?F(L):F(null)})})}},{key:"add",value:function(T){for(var N,F=arguments.length,y=Array(F>1?F-1:0),x=1;x<F;x++)y[x-1]=arguments[x];return(N=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"add",this)).call.apply(N,[this,T].concat(y))}},{key:"remove",value:function(T){for(var N,F=arguments.length,y=Array(F>1?F-1:0),x=1;x<F;x++)y[x-1]=arguments[x];if(Array.isArray(T)){var O;return(O=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"remove",this)).call.apply(O,[this,T].concat(y))}return(N=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"remove",this)).call.apply(N,[this,{id:null},T].concat(y))}},{key:"move",value:function(T,N,F){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"move",this).call(this,{id:null},T,N,F)}},{key:"update",value:function(T){for(var N,F=arguments.length,y=Array(F>1?F-1:0),x=1;x<F;x++)y[x-1]=arguments[x];if(Array.isArray(T)){var O;return(O=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"update",this)).call.apply(O,[this,T].concat(y))}return(N=A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"update",this)).call.apply(N,[this,{id:null},T].concat(y))}},{key:"_emitDataChanged",value:function(T){this._on.emit("dataChanged",{rangeList:T})}},{key:"filter",value:function(T,N){return this._filterCriteria=T,A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"filter",this).call(this,T,N)}},{key:"clearFilter",value:function(){return this._filterCriteria=null,A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"clearFilter",this).call(this)}},{key:"search",value:function(T){if(this._search=new h(T,this.createMetaDataRule,{type:this._type,columnMap:this._internalDataStore.getColumnMap()}),!!this._search.isCriteriaValid()){var N=this._search.createRule();this._searching=!0,this._addSearchResults(N)}}},{key:"clearSearch",value:function(){this._searching&&(this._removeSearchResults(),this._searching=!1)}},{key:"sort",value:function(T,N){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"sort",this).call(this,T,N)}},{key:"registerSortType",value:function(T){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"registerSortType",this).call(this,T)}},{key:"_emitPagedColumnMetaDataChanged",value:function(T){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"_emitPagedColumnMetaDataChanged",this).call(this,T)}},{key:"_emitPagedRowMetaDataChanged",value:function(T){return A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"_emitPagedRowMetaDataChanged",this).call(this,T)}},{key:"_addSearchResults",value:function(T){this._metaDataRules.add("$Search",T)}},{key:"_removeSearchResults",value:function(){this._metaDataRules.removeBuiltIn("$Search")}},{key:"isCheckboxTree",get:function(){return this._isCheckboxTree?this._isCheckboxTree===!0:!1}}]),M}(t);return w},_,P),_.exports=S},32258:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(71562),l(56251),l(26204)],S=l.dj.d(b,function(n,e,t){return function(r){d(i,r);function i(s,a){var o;A(this,i);for(var u=arguments.length,c=Array(u>2?u-2:0),h=2;h<u;h++)c[h-2]=arguments[h];var v=p(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this,s,a].concat(c)));return v.defaultColumnCount=a.defaultColumnCount,v.defaultColumnCount!==0&&!(v.defaultColumnCount>0)&&s.length>0&&(v.defaultColumnCount=s[0].length||0),a.metaDataColumns=a.metaDataColumns||[],v._metaDataColumns=a.metaDataColumns.slice(0),v._metaDataRanges=e.columnArray(v._metaDataColumns),v}return C(i,[{key:"getNumColumns",value:function(){return this._data.length>0?this._data[0].length||this.defaultColumnCount:this.defaultColumnCount}},{key:"getCell",value:function(a,o){return a[o]}},{key:"setCell",value:function(a,o,u){a[o]=u}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}}]),i}(n)},_,P),_.exports=S},79930:(_,P,l)=>{"use strict";var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(71562),l(56251),l(26204)],S=l.dj.d(b,function(e,t,r){var i=function(a){var o={};return a.forEach(function(u,c){o[u]=c}),o};return function(s){n(a,s);function a(o,u){var c;p(this,a);for(var h=arguments.length,v=Array(h>2?h-2:0),f=2;f<h;f++)v[f-2]=arguments[f];var g=d(this,(c=a.__proto__||Object.getPrototypeOf(a)).call.apply(c,[this,o,u].concat(v)));return g.defaultColumnCount=g._columnMap.length,g._paramToIndexMap=i(g._columnMap),u.metaDataColumns=u.metaDataColumns||[],g._metaDataColumns=u.metaDataColumns.map(function(m){return g._paramToIndexMap[m]}),g._metaDataRanges=t.columnArray(g._metaDataColumns),g}return C(a,[{key:"getNumColumns",value:function(){return this._columnMap.length}},{key:"getCell",value:function(u,c){return u[this._columnMap[c]]}},{key:"setCell",value:function(u,c,h){u[this._columnMap[c]]=h}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}},{key:"update",value:function(u){for(var c=0;c<u.length;c++)u[c].fieldsToMerge=this._translateFieldsToMerge(u[c].fieldsToMerge);return A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"update",this).call(this,u)}},{key:"_translateFieldsToMerge",value:function(u){var c={},h=!0;for(var v in u)if(isNaN(v)){h=!1;break}else{var f=this._columnMap[v];if(f!==void 0)c[f]=u[v];else{h=!1;break}}return h&&(u=c),u}}]),a}(e)},_,P),_.exports=S},60722:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(n,e){A(this,d),this._groupOptions=n,this._getCell=e.getCell,this._setCell=e.setCell,this._setParentId=e.setParentId,this._getParentId=e.getParentId,this._getId=e.getId,this._setId=e.setId,this._rowDataType=e.rowDataType,this._flatten=e.flatten,this._columnNum=e.columnNum,this._treeRootId=null}return C(d,[{key:"_flattenOriginalDataForGrouping",value:function(){var e=this,t=this._flatten(!0);return t.forEach(function(r){var i=e._getParentId(r.data);i==null&&(r.isRoot=!0)}),t}},{key:"getGroupByFn",value:function(){var e=this;return function(){return e._flattenedGroupingRows=e._flattenOriginalDataForGrouping(),e._groupingMaps=[],e._parentGroupMapping={},e._getParentIdForGrouping=function(t,r){if(r)return e._parentGroupMapping[r]||e._treeRootId;var i=e._parentGroupMapping[e._getId(t)];return i||e._getParentId(t)},e._updateGroupingView(e._groupOptions),e.getGroupingInfoAndData()}}},{key:"_updateGroupingView",value:function(e){for(var t=0;t<e.length;t++){this._groupingMaps[t]={};var r=e[t];this._createGroupRowsAndGroupingMaps(r,this._groupingMaps[t],t)}}},{key:"getGroupingInfoAndData",value:function(){var e=this,t={};this._groupingMaps.forEach(function(s,a){Object.keys(s).forEach(function(o){t[o]={summary:{count:s[o].summary.count},groupByColIndex:s[o].groupByColIndex},e._parentGroupMapping[o]=s[o].parent})});var r=this._flattenedGroupingRows.map(function(s){return s.data}),i=this._getParentIdForGrouping;return{groupingData:r,groupRowMeta:t,getParentIdForGrouping:i}}},{key:"_addGroupRow",value:function(e,t,r,i){var s={};s.id=t,s.groupRow={summary:{},groupByColIndex:e[t].groupByColIndex},s.isExpandable=!0,s.isExpanded=!0,s.level=r,this._rowDataType==="OBJECT"?s.data={}:this._rowDataType==="ARRAY"&&(s.data=[]),this._setId(s.data,t),this._setParentId(s.data,r===0?null:e[t].parent),this._setLabelOnGroupRow(s.data,e[t].label),this._flattenedGroupingRows.splice(i,0,s)}},{key:"_setLabelOnGroupRow",value:function(e,t){for(var r=0;r<this._columnNum;r++)this._getCell(e,r)===void 0&&this._setCell(e,r,t)}},{key:"_createGroupRowsAndGroupingMaps",value:function(e,t,r){for(var i=this._getGroupingLabelFn(e),s=0;s<this._flattenedGroupingRows.length;s++){var a=this._flattenedGroupingRows[s],o=a.data,u=void 0;if(!a.groupRow){if(a.isRoot){var c=i(o);c?u="group_level"+r+"_"+c:u="group_level"+r+"_empty_group",t[u]?t[u].summary.count+=1:(t[u]={},t[u].label=c,t[u].groupByColIndex=e.columnIndex,t[u].summary={},t[u].summary.count=1,r>0&&(t[u].parent=this._getParentIdForGrouping(o)),this._addGroupRow(t,u,r,s),s+=1)}this._updateRowInGroup(a,u)}}}},{key:"_updateRowInGroup",value:function(e,t){e.level+=1,t&&(e.parentGroupId=t,this._parentGroupMapping[e.id]=t)}},{key:"_getGroupingLabelFn",value:function(e){var t=this,r=e.columnIndex,i=e.field;if(i){var s=i.split(".");return function(a){for(var o=t._getCell(a,r),u=0;u<s.length;u=u+1)o&&(o=o[s[u]]);return o}}else return function(a){return t._getCell(a,r)}}}]),d}();return p},_,P),_.exports=S},5108:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(29782)],S=l.dj.d(b,function(n){var e=function(t){d(r,t);function r(i,s){A(this,r);var a=p(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i));return a.columnMap=s||[],a}return C(r,[{key:"configurePersistentSort",value:function(s,a){this.columnMap=a||[],Array.isArray(s)&&(this._sorted=!0,this._sortOptions=s)}},{key:"_getSortField",value:function(s){var a=s.columnIndex,o=this.columnMap.length>0?this.columnMap[a]:a;return o}},{key:"_validateFieldToSort",value:function(s,a){if(!Number.isInteger(s.columnIndex))throw new Error("Column index must be Integer value specified for sort in TreeTable");if(s.columnIndex<a.columns.start||s.columnIndex>a.columns.end)throw new Error("columnIndex is out of bounds")}}]),r}(n);return e},_,P),_.exports=S},89041:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(81462)],S=l.dj.d(b,function(n){var e=function(t){d(r,t);function r(){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return C(r,[{key:"_getValueToFilter",value:function(s,a){for(var o=s,u=a.split("."),c=0;c<u.length;c++)o=o[u[c]];return o}},{key:"_extractValueToFilter",value:function(s,a){var o=s[this._getColumnIndex(a)];return a.field?this._getValueToFilter(o,a.field):o}},{key:"_getColumnIndex",value:function(s){return this._columnMap?this._columnMap[s.columnIndex]:s.columnIndex}},{key:"_hasFilteringProperty",value:function(s,a){return s.hasOwnProperty(this._getColumnIndex(a))}},{key:"_isBaseCriteria",value:function(s){return"value"in s&&"columnIndex"in s}},{key:"_isCheckedCriteria",value:function(s){return"metadata"in s&&"checked"in s.metadata}}]),r}(n);return e},_,P),_.exports=S},71562:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(82666),l(79688),l(89041)],S=l.dj.d(b,function(n,e,t){var r=function(i){d(s,i);function s(a,o){A(this,s);var u=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a,o));return u._isFiltering=!1,u}return C(s,[{key:"clearGrouping",value:function(){this._isGrouping=!1,this._groupRowIdCache=null,this._clearSortSettings(),this._createParentCache(this._data,void 0,!0)}},{key:"_instantiateFilter",value:function(){for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return new(Function.prototype.bind.apply(t,[null].concat(u)))}},{key:"_addFilterAncestors",value:function(o){for(;o!==this._treeRootId&&!this._filter.isFiltered(o);){this._filter.addtoFilterCache(o);var u=this.getParentId;this._isGrouping&&(u=this._getParentIdForGrouping);var c=this._treeNodeIdCache.get(o);c?o=u(c):o=u(null,o)}}},{key:"normalizeFilterCriteria",value:function(o){var u={columnIndex:"",value:""};return o&&(o.columnIndex||o.columnIndex===0||o.and||o.or||o.metadata)?o:u}},{key:"runSort",value:function(o,u){return u.keepSorted===!0?(this._sort.configurePersistentSort(o,this._columnMap),this._sort.sort(this._data),this.setSortState(o),this._indexCache._reindex(),this._isGrouping?this._setGrouping():this._createParentCache(this._data,void 0,!0),{changeOccurred:!0,updateAll:!0}):(this._sort.removePersistentSort(),this._data.sort(this._sort.generateCompareFunctionFromList(o)),this.setSortState(o),this._indexCache._reindex(),this._isGrouping?this._setGrouping():this._createParentCache(this._data,void 0,!0),{changeOccurred:!0,updateAll:!0})}},{key:"treeRootId",get:function(){return this._treeRootId}}]),s}(n);return r},_,P),_.exports=S},8578:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){var C=function(e,t){for(var r=e.length,i=0;i<r;i+=1)if(t(e[i]))return i;return-1},A=function(e,t){for(var r=e.length,i=0;i<r;i+=1){var s=e[i];if(t(s))return s}},p=function(e,t,r){return e.every(t,r)},d=function(e,t,r){return e.some(t,r)};return{findIndex:C,find:A,every:p,some:d}},_,P),_.exports=S},68018:(_,P,l)=>{"use strict";var b,S;b=[l(68846),l(41906)],S=l.dj.d(b,function(C,A){"use strict";function p(r){var i=!1,s=r.queryCriteria,a=d(s),o=e(r);return i=a&&o,i}function d(r){var i=!1,s=!0,a=!1,o=r&&r.compare&&r.compare.dataType;return o&&(s=n(r.compare.dataType)),a=r&&r.metadata,i=a&&s,i}function n(r){var i=!1;return(r===C.dataType.STRING||r===C.dataType.BOOLEAN||r===C.dataType.NUMBER)&&(i=!0),i}function e(r){var i=!1,s=r.position;return(s===A.POSITION.NEXT||s===A.POSITION.PREVIOUS||s===A.POSITION.FIRST||s===A.POSITION.LAST)&&(i=!0),i}function t(r,i){if(r===C.dataType.STRING)return String(i).toLowerCase();if(r===C.dataType.NUMBER)return Number(i);if(r===C.dataType.BOOLEAN)return!!i}return{isValidCriteria:p,getValueByType:t}},_,P),_.exports=S},56251:(_,P,l)=>{"use strict";var b,S;b=[l(11487)],S=l.dj.d(b,function(C){var A=function(n){return n==="row"?function(e,t,r){return e.setRows(t,r)}:function(e,t,r){return e.setColumns(t,r)}},p=function(n,e){var t=void 0,r=void 0,i=void 0;n==="row"?(t=A("row"),r=A("column"),i="row"):(t=A("column"),r=A("row"),i="column"),e.sort(function(u,c){return u-c});var s=[];if(e.length>0){var a=r(C.range(),0,1/0);a=t(a,e[0],e[0]);for(var o=0;o<e.length;o+=1)a[i].end+1===e[o]?a[i].end=e[o]:(s.push(a),a=r(C.range(),0,1/0),a=t(a,e[0],e[0]));s.push(a)}return s};return{columnArray:function(n){return p("column",n)},rowArray:function(n){return p("row",n)}}},_,P),_.exports=S},9511:(_,P,l)=>{var b,S;b=[l(69196),l(22928)],S=l.dj.d(b,function(C,A){var p={deprecated:function(d){var n,e,t=!!C.isDebug||!!window.showDeprecationsAsErrors;t&&this._isConfigValid(d)&&(e=window.showDeprecationsAsErrors||d.deprecationLevel===this.ERROR?this.ERROR:this.WARN,n="DEPRECATED: ",d.deprecated&&(n+=d.deprecated.module,d.deprecated.method&&(n+="."+d.deprecated.method+"()"),n+="."),d.replacement&&(n+=" Use "+d.replacement.module,d.replacement.method&&(n+="."+d.replacement.method+"()"),n+=" instead."),d.removalVersion&&(n+=" Will be removed in version: "+d.removalVersion+"."),d.geckNumber&&(n+=" Please use g"+d.geckNumber+" to track latest information regarding this deprecation"),d.additionalInformation&&(n+=" "+d.additionalInformation),A[e](n))},_isConfigValid:function(d){var n=!!d.deprecated&&typeof d.deprecated=="object"&&d.deprecated.hasOwnProperty("module");return d.replacement&&(n=n&&typeof d.replacement=="object"&&d.replacement.hasOwnProperty("module")),d.geckNumber&&(n=n&&typeof d.geckNumber=="number"),n||A.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),n}};return Object.defineProperties(p,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),p},_,P),_.exports=S},18262:(_,P,l)=>{"use strict";var b,S;b=[l(12154)],S=l.dj.d(b,function(C){const A=Object.freeze({HELP:"Help",SPL1:"Spl1",SPL2:"Spl2",DO_IT:"DoIt",DONT_DO_IT:"DontDoIt",CANCEL:"Cancel",APPLY:"Apply",REVERT:"Revert"}),p={NO_DEFAULT_ACTION:"NoDefaultAction",TYPE:A,HELP:Object.freeze({type:A.HELP,label:C.help,"data-test-id":"HelpButton"}),OK:Object.freeze({type:A.DO_IT,label:C.ok,"data-test-id":"OkButton"}),YES:Object.freeze({type:A.DO_IT,label:C.yes,"data-test-id":"YesButton"}),SUBMIT:Object.freeze({type:A.DO_IT,label:C.submit,"data-test-id":"SubmitButton"}),SAVE:Object.freeze({type:A.DO_IT,label:C.save,"data-test-id":"SaveButton"}),FIND:Object.freeze({type:A.DO_IT,label:C.find,"data-test-id":"FindButton"}),CREATE:Object.freeze({type:A.DO_IT,label:C.create,"data-test-id":"CreateButton"}),DONT_SAVE:Object.freeze({type:A.DONT_DO_IT,label:C.dontSave,"data-test-id":"DontSaveButton"}),NO:Object.freeze({type:A.DONT_DO_IT,label:C.no,"data-test-id":"NoButton"}),CANCEL:Object.freeze({type:A.CANCEL,label:C.cancel,"data-test-id":"CancelButton"}),CLOSE:Object.freeze({type:A.CANCEL,label:C.close,"data-test-id":"CloseButton"}),APPLY:Object.freeze({type:A.APPLY,label:C.apply,"data-test-id":"ApplyButton"}),REVERT:Object.freeze({type:A.REVERT,label:C.revert,"data-test-id":"RevertButton"})};return Object.freeze(p),p},_,P),_.exports=S},95962:(_,P,l)=>{"use strict";var b,S;b=[l(69961),l(7845),l(16141),l(72040),l(92510),l(42250)],S=l.dj.d(b,function(C,A,p,d,n,e){const t=()=>n.generateUuid(),r=s=>(s.uuid=t(),s.id=s.id?s.id:"dialog_"+s.uuid,s.className=typeof s.className=="string"?C.trim(s.className):"",s.dialogType=s.dialogType===d.MODAL?d.MODAL:d.MODELESS,s.hideCloseButton=typeof s.hideCloseButton=="boolean"?s.hideCloseButton:!1,s.closeOnEscape=typeof s.closeOnEscape=="boolean"?s.closeOnEscape:!0,s.resizable=typeof s.resizable=="boolean"?s.resizable:!1,s.draggable=typeof s.draggable=="boolean"?s.draggable:s.dialogType==="modeless",s.onFocus=typeof s.onFocus=="function"?s.onFocus:!1,s.onBlur=typeof s.onBlur=="function"?s.onBlur:!1,s);return{MODAL:"modal",MODELESS:"modeless",ROLE:p,numberOfOpenDialogs:A.numberOfOpenDialogs.bind(A),createDialog(s){s=r(s);const a=new A(s,e);return a._constructAndDisplayDialog(s),a}}},_,P),_.exports=S},65983:(_,P,l)=>{"use strict";var b,S;b=[l(86560),l(317)],S=l.dj.d(b,function(C,A){const p=(r,i,s,a)=>{let o,u;const c=s._dimension;return a?s._isCenter?(o=Math.max(0,Math.max(a.x,Math.min(i.width-r.width,Math.min(a.x+a.width/2-r.width/2,a.x+a.width-r.width)))),u=Math.max(0,Math.max(a.y,Math.min(i.height-r.height,Math.min(a.y+a.height/2-r.height/2,a.y+a.height-r.height))))):(o=Math.max(0,Math.max(a.x,Math.min(i.width-r.width,Math.min(s._specifiedPosition.x+a.x,a.x+a.width-r.width)))),u=Math.max(0,Math.max(a.y,Math.min(i.height-r.height,Math.min(s._specifiedPosition.y+a.y,a.y+a.height-r.height))))):s._isCenter?(o=Math.max(0,Math.min(i.width/2-r.width/2,i.width-r.width)),u=Math.max(0,Math.min(i.height/2-r.height/2,i.height-r.height))):(o=Math.max(0,Math.min(c.x,i.width-r.width)),u=Math.max(0,Math.min(c.y,i.height-r.height))),{left:o,top:u}},d=(r,i)=>r.left<i.left||r.bottom>i.bottom||r.right>i.right,n=(r,i,s)=>{let a;return r._isOutOfBound?a=e(r,i,s):a=t(r,i,s),a},e=(r,i,s)=>{const a=s,o=r._dimension,u=(o.visibleWidthEndPer-o.visibleWidthStartPer)*i.width,c=(o.visibleHeightEndPer-o.visibleHeightStartPer)*i.height,h={};if(a.width>u)h.width=o.width,h.left=Math.min(o.left,a.right-u);else{const v=a.width,f=o.visibleWidthEndPer-o.visibleWidthStartPer;h.width=v/f,o.visibleWidthStartPer>0?h.left=-1*(o.visibleWidthStartPer*h.width):h.left=a.width-v}if(a.height>c)h.height=o.height,h.top=Math.min(o.top,a.bottom-c);else{const v=a.height;h.height=v/(o.visibleHeightEndPer-o.visibleHeightStartPer),h.top=a.bottom-v}return h},t=(r,i,s)=>{const a={},o=r._dimension,u=s,c=typeof r._bindingNode=="object"?r._bindingNode.getBoundingClientRect():void 0;a.width=u.width<o.width?u.width:o.width,a.height=u.height<o.height?u.height:o.height;const h=p(a,s,r,c);return a.left=h.left,a.top=h.top,a};return{addBrowserResizeHandler(r){r._trackEventListener(C(r.domNode,"_dialogDimensionChange",()=>{r._dimension=r.domNode.getBoundingClientRect();const i=r._windowContext,s=A.getBox(i.document),a={width:s.w,height:s.h,left:s.l,top:s.t,bottom:s.h,right:s.w};r._isOutOfBound=d(r._dimension,a),r._dimension.visibleWidthStartPer=r._dimension.left<a.left?(a.left-r._dimension.left)/r._dimension.width:0,r._dimension.visibleWidthEndPer=r._dimension.right>a.right?(a.right-r._dimension.left)/r._dimension.width:1,r._dimension.visibleHeightStartPer=0,r._dimension.visibleHeightEndPer=r._dimension.bottom>a.bottom?(a.bottom-r._dimension.top)/r._dimension.height:1})),r._browserResizeHandler=[],r._browserResizeHandler.push(C(window,"resize",()=>{if(!r.domNode)return;const i=r.domNode.getBoundingClientRect(),s=A.getBox(),a={width:s.w,height:s.h,left:s.l,top:s.t,bottom:s.h,right:s.w},o=n(r,i,a);if(r.domNode.style.left="".concat(o.left,"px"),r.domNode.style.top="".concat(o.top,"px"),(!r._controlNodes||!r._controlNodes.dialogState.includes("COLLAPSE"))&&(i.width!==o.width||i.height!==o.height)){r.domNode.style.width="".concat(o.width,"px"),r.domNode.style.height="".concat(o.height,"px");const u={h:o.height,w:o.width,x:o.left,y:o.top};let c;if(r._contentArea){const h=window.getComputedStyle(r._contentArea);c={h:parseFloat(h.height),w:parseFloat(h.width)}}C.emit(r.domNode,"resize",{bubbles:!1,dimension:u,contentSize:c})}}))},removeBrowserResizeHandler(r){r._browserResizeHandler.forEach(i=>{i.remove()}),r._browserResizeHandler=[]}}},_,P),_.exports=S},40755:(_,P,l)=>{"use strict";var b,S;b=[l(20849),l(86560),l(317),l(96737)],S=l.dj.d(b,function(C,A,p,d){const n=(r,i,s,a,o)=>{const u={};return o?(u.l=Math.max(o.x,Math.min(o.x+i.x,o.x+o.w-s.w)),u.t=Math.max(o.y,Math.min(o.y+i.y,o.y+o.h-s.h)),r._specifiedPosition={x:u.l-o.x,y:u.t-o.y}):(u.l=Math.max(0,Math.min(i.x,a.w-s.w)),u.t=Math.max(0,Math.min(i.y,a.h-s.h)),r._specifiedPosition={x:u.l,y:u.t}),r._isCenter=!1,u},e=(r,i,s,a,o)=>{const u={};return o?(s.w>=o.x+o.w||s.w>=a.w-o.x||s.w>=o.w?u.l=Math.max(0,o.x):u.l=(o.x>=0?o.x:0)+(o.x+o.w<=a.w?o.w/2:(a.w-o.x)/2)-s.w/2,s.h>=o.y+o.h||s.h>=a.h-o.y||s.h>=o.h?u.t=Math.max(0,o.y):u.t=(o.y>=0?o.y:0)+(o.y+o.h<=a.h?o.h/2:(a.h-o.y)/2)-s.h/2):(u.l=Math.max(0,a.w/2-s.w/2),u.t=Math.max(0,a.h/2-s.h/2)),r._isCenter=!0,u},t=(r,i,s,a,o,u,c)=>{const h={};return c?(h.l=Math.max(c.x,Math.min(i.x-s+a,c.x+c.w-i.w)),h.t=Math.max(c.y,Math.min(i.y-o+u,c.y+c.h-i.h))):(h.l=i.x,h.t=i.y),h};return{moveTo(r,i){const s=C.position(r.domNode);let a={};const o=p.getBox(r._windowContext.document);if(typeof r._bindingNode=="object"){const u=C.position(r._bindingNode);i?a=n(r,i,s,o,u):a=e(r,i,s,o,u)}else i?a=n(r,i,s,o):a=e(r,i,s,o);r.domNode.style.left="".concat(a.l,"px"),r.domNode.style.top="".concat(a.t,"px"),A.emit(r.domNode,"_dialogDimensionChange",{bubbles:!1})},resizeTo(r,i){if(r.domNode){const s=i.heightUnits||"px",a=i.widthUnits||"px";this._isValidUnit(s)&&this._isValidUnit(a)&&(i.height&&(r.domNode.style.height="".concat(i.height).concat(s)),i.width&&(r.domNode.style.width="".concat(i.width).concat(a)),(i.height||i.width)&&A.emit(r.domNode,"_dialogDimensionChange",{bubbles:!1}))}},addScrollHandler(r){let i=r._windowContext.pageYOffset,s=r._windowContext.pageXOffset;r._trackEventListener(A(r._windowContext.document,"scroll",()=>{const a=r._windowContext.pageYOffset,o=r._windowContext.pageXOffset,u=C.position(r.domNode);let c={};if(typeof r._bindingNode=="object"){const h=C.position(r._bindingNode);c=t(r,u,o,s,a,i,h)}else c=t(r,u,o,s,a,i);r.domNode.style.left="".concat(c.l,"px"),r.domNode.style.top="".concat(c.t,"px"),i=a,s=o}))},selectionWithinDialogBounds(r){let i;r._trackEventListener(A(r._windowContext.document,"mousedown",s=>{s.target===r._contentWidget.domNode&&(i=!0)})),r._trackEventListener(A(r._windowContext.document,"mouseup",()=>{i=!1})),r._trackEventListener(A(r._windowContext.document,"mousemove",s=>{i&&s.target!==r._contentWidget.domNode&&d(s)}))},_isValidUnit(r){return["px"].some(s=>s===r)}}},_,P),_.exports=S},35379:(_,P,l)=>{"use strict";var b,S;b=[l(20849),l(86560),l(317),l(96737)],S=l.dj.d(b,function(C,A,p,d){const n=(t,r,i,s,a,o,u)=>{const c={};return o?(a.yLocked?c.t=t.y:c.t=Math.max(0,Math.max(o.y,Math.min(r.h-t.h,Math.min(i.pageY-s.y,o.y+o.h-t.h)))),a.xLocked?c.l=t.x:c.l=Math.max(0,Math.max(o.x,Math.min(r.w-t.w,Math.min(i.pageX-s.x,o.x+o.w-t.w))))):u?(c.l=Math.max(-(t.w-u*2),Math.min(i.pageX-s.x,r.w-u)),c.t=Math.max(0,Math.min(i.pageY-s.y,r.h-u))):(c.l=Math.max(0,Math.min(i.pageX-s.x,r.w-t.w)),c.t=Math.max(0,Math.min(i.pageY-s.y,r.h-t.h))),c},e=t=>{const r=t.target.closest("button");let i=!0;return r&&(i=r.getAttribute("Draggable")),i!=="false"};return{dragEvent:"move",draggable(t){const r=this,{dialog:i,bindingNode:s,windowContext:a,allowOutOfView:o}=t,u=o?o.minVisibleSize:void 0,c=i._titleBar;c.classList.add("mwDraggableDialog");let h=!1;const v={x:0,y:0};let f={l:0,t:0};const g={xLocked:!1,yLocked:!1};let m,E,w;i._dragEventSignals=[];const I=()=>{i._dragEventSignals.push(A(c,"mousedown",R=>{i.bringToTop(),R.button===0&&e(R)&&(d(R),h=!0,E=p.getBox(a.document),m=C.position(i.domNode),this._disableContentAreaEvents(i.domNode),typeof s=="object"&&(w=C.position(s),g.xLocked=m.w>=w.x+w.w||m.w>=E.w-w.x||m.w>=w.w,g.yLocked=m.h>=w.y+w.h||m.h>=E.h-w.y||m.h>=w.h),v.x=R.pageX-m.x,v.y=R.pageY-m.y)})),i._dragEventSignals.push(A(a.document,"mouseup",()=>{M()})),i._dragEventSignals.push(A(a.document,"mousemove",R=>{if(h){if(!R.synthetic&&(R.buttons&1)!==1){M();return}d(R),m=C.position(i.domNode),typeof s=="object"?(f=n(m,E,R,v,g,w),i._specifiedPosition={x:f.l-w.x,y:f.t-w.y}):(f=n(m,E,R,v,g,w,u),i._specifiedPosition={x:f.l,y:f.t}),i.domNode.style.left="".concat(f.l,"px"),i.domNode.style.top="".concat(f.t,"px"),i._isCenter=!1,A.emit(i.domNode,r.dragEvent,{bubbles:!1,position:{x:f.l,y:f.t}})}}))},M=()=>{h&&i.domNode&&A.emit(i.domNode,"_dialogDimensionChange",{bubbles:!1}),h=!1,this._enableContentAreaEvents(i.domNode)};I()},disable(t){t._dragEventSignals.forEach(r=>{r.remove()}),t._dragEventSignals=[],t._titleBar&&t._titleBar.classList.remove("mwDraggableDialog")},_disableContentAreaEvents(t){t&&t.classList&&t.classList.add("mwDialogDisableEvents")},_enableContentAreaEvents(t){t&&t.classList&&t.classList.remove("mwDialogDisableEvents")}}},_,P),_.exports=S},42250:(_,P,l)=>{"use strict";var b,S;b=[l(86560),l(7835),l(81070),l(65724),l(75145),l(96656),l(16109),l(22928),l(96737)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){const s={TEXT:"text",CHECKBOX:"checkbox",RADIO:"radio",PASSWORD:"password"};return{_activeClass:"active",_executeOnFocusCallback:a=>{a._isFocused||(a._isFocused=!0,a.onFocus&&(a.onFocus.bind(a),a.onFocus()))},_executeOnBlurCallback:(a,o)=>{a._isFocused&&a.domNode!==o&&(a._isFocused=!1,a.onBlur&&(a.onBlur.bind(a),a.onBlur()))},_isMouseDownOnUnderlay:!1,_focusedClass:"focused",_defaultButtonClass:"mwDefaultButton",focus(a){const o=this;let u=0,c=0;a._firstFocusItem=null,a._lastFocusItem=null,this._getFocusItems(a),a._underlay&&a._trackEventListener(C(a._underlay,"mousedown",()=>{this._isMouseDownOnUnderlay=!0})),this._handleOrphanedMouseDown(a),a._focusHandle=t.watch("curNode",(h,v,f)=>{if(f===null?(a._defaultButton&&(d.remove(a._defaultButton,o._defaultButtonClass),d.remove(a._defaultButton,o._activeClass)),v&&this._checkIfContentAreaNode(v,a.domNode,a._windowContext)&&d.remove(v,o._activeClass),d.remove(a.domNode,o._focusedClass),this._isMouseDownOnUnderlay||this._executeOnBlurCallback(a,f)):o._setFocusForNewNode(f,a)===!1&&(a._firstFocusItem?(d.remove(a.domNode,o._focusedClass),this._isMouseDownOnUnderlay||this._executeOnBlurCallback(a,f)):(a._latestFocusedItem=f,d.add(a.domNode,o._focusedClass),this._executeOnFocusCallback(a))),a._isModal&&f&&a.domNode&&a.domNode.classList.contains("mwModalDialogFg")&&f.ownerDocument===a.domNode.ownerDocument){do{if(f===a.domNode||d.contains(f,"dijitPopup"))return;f=f.parentNode}while(f);if(c++,c>5)return;u||(u=setTimeout(()=>{c=0,u=0},500)),this._forceFocusInModalDialog(a)}}),a._underlay&&a._trackEventListener(C(a._underlay,"click",()=>{this._forceFocusInModalDialog(a),this._isMouseDownOnUnderlay=!1})),this.focusItem(a),a.on("click",()=>{this._getFocusItems(a),a._latestFocusedItem&&a._latestFocusedItem!==a.domNode&&p.get(a._latestFocusedItem,"aria-disabled")!=="true"?t.focus(a._latestFocusedItem):a._firstFocusItem?t.focus(a._firstFocusItem):t.focus(a.domNode)}),a._trackEventListener(C(a._titleBar,"click",()=>{t.focus(a.domNode),this._getFocusItems(a),a._latestFocusedItem&&a._latestFocusedItem!==a.domNode&&p.get(a._latestFocusedItem,"aria-disabled")!=="true"?t.focus(a._latestFocusedItem):a._firstFocusItem?t.focus(a._firstFocusItem):t.focus(a.domNode)})),a._keyDownReady=!1,a.on("keydown",h=>{o._onKeyDown(h,a)}),a.on("keyup",h=>{o._onKeyUp(h,a)})},_checkIfContentAreaNode(a,o,u){return!!(this._isPopupDescendant(a,o,u)||A.isDescendant(a,o))},_generalFocusOrder(a){return[a._contentArea,a._buttonBar,a._closeNode]},_setFocusForNewNode(a,o){const u=this._generalFocusOrder(o);for(let c=0;c<u.length;c++){const h=u[c];if(h&&h===o._contentArea&&this._checkIfContentAreaNode(a,h,o._windowContext))return o._latestFocusedItem=a,o._defaultButton&&d.add(o._defaultButton,this._defaultButtonClass),d.add(o.domNode,this._focusedClass),this._executeOnFocusCallback(o),!0;if(h&&h===o._buttonBar&&A.isDescendant(a,h))return o._latestFocusedItem=a,o._defaultButton&&d.remove(o._defaultButton,this._defaultButtonClass),d.add(o.domNode,this._focusedClass),this._executeOnFocusCallback(o),!0;if(h&&a===h)return o._latestFocusedItem=a,d.add(o.domNode,this._focusedClass),this._executeOnFocusCallback(o),!0}return this._executeOnBlurCallback(o,a),!1},_forceFocusInModalDialog(a){a._windowContext.requestAnimationFrame(()=>{a._firstFocusItem?t.focus(a._latestFocusedItem):t.focus(a.domNode)})},_handleOrphanedMouseDown(a){let o=!1;a._trackEventListener(C(a.domNode,"mousedown",u=>{o=!0,setTimeout(()=>{o&&a.domNode&&this._forceFocusInModalDialog(a)},500)})),a._trackEventListener(C(a.domNode,"mouseup",u=>{o=!1}))},_getFocusItems(a){if(a._firstFocusItem=(a._contentArea?e.getFirstInTabbingOrder(a._contentArea):void 0)||(a._buttonBar?e.getFirstInTabbingOrder(a._buttonBar):void 0),!a._firstFocusItem){const o=this._getControlNodes(a);for(let u=0;u<o.length;u++)if(o[u]){a._firstFocusItem=o[u];break}}a._lastFocusItem=e.getLastInTabbingOrder(a.domNode)||a._firstFocusItem},_isPopupDescendant(a,o,u){try{let c=null;for(;a;){if(d.contains(a,"dijitPopup")){const h=p.get(a,"dijitPopupParent");h&&(c=a=u.document.getElementById(h))}if(a===o)return c;a=a.parentNode}}catch(c){}return!1},focusItem(a){if(a.bringToTop(),a.specifiedFocusItem){let o;if(typeof a.specifiedFocusItem=="object"){const u="span[data-test-id=".concat(a.specifiedFocusItem["data-test-id"],"]");o=a.domNode.querySelector(u),o||(a._firstFocusItem=a._buttonBar?e.getFirstInTabbingOrder(a._buttonBar):a._closeNode?a._closeNode:void 0)}else o=A.byId(a.specifiedFocusItem);if(o===null)r.log("specifiedFocusItem couldn't be found"),this._focusDefaultItem(a);else if(A.isDescendant(o,a.domNode))if(e.isFocusable(o))t.focus(o);else{const u=e.getFirstInTabbingOrder(o);u!==void 0?t.focus(u):(r.log("specifiedFocusItem is not focusable"),this._focusDefaultItem(a))}else r.log("specifiedFocusItem should be an id"),this._focusDefaultItem(a)}else this._focusDefaultItem(a)},_focusDefaultItem(a){a._firstFocusItem?a._buttonBar&&a._defaultButton&&A.isDescendant(a._firstFocusItem,a._buttonBar)&&a._defaultButton!==a._firstFocusItem&&p.get(a._defaultButton,"aria-disabled")!=="true"?t.focus(a._defaultButton):t.focus(a._firstFocusItem):t.focus(a.domNode)},_isFormElement(){function a(h){const v=h&&h.toLowerCase(),{TEXT:f,CHECKBOX:g,RADIO:m,PASSWORD:E}=s;return[f,g,m,E].includes(v)}const o=t.curNode;if(o.tagName.toLowerCase()==="input"){const h=o.getAttribute("type");return a(h)}const c=o.getAttribute("role");return c?a(c):!1},_getTabFocusOrder(a){return[a._closeNode,a._firstFocusItem]},_getShiftTabFocusOrder(a){return[a._closeNode,a._lastFocusItem]},_getControlNodes(a){return[a._closeNode]},_getForceFocusNodesForTab(a){return[a._lastFocusItem,a._closeNode]},_getForceFocusNodesForShiftTab(a){return[a._firstFocusItem,a._closeNode]},_getNextFocusNode(a,o){const u=this._getTabFocusOrder(o);this._setNodeToFocus(a,u)},_getPreviousFocusNode(a,o){const u=this._getShiftTabFocusOrder(o);this._setNodeToFocus(a,u)},_setNodeToFocus(a,o){const u=o.indexOf(a),c=o.length;let h=u+1;for(;h!==u;){if(h<c&&o[h]){t.focus(o[h]);break}else h>=c&&(h=-1);h=h+1}},_onKeyDown(a,o){if(o._keyDownReady=!0,a.keyCode===n.TAB){this._getFocusItems(o);const u=a.target;a.shiftKey&&this._getForceFocusNodesForShiftTab(o).includes(u)?(this._getPreviousFocusNode(u,o),i(a)):!a.shiftKey&&this._getForceFocusNodesForTab(o).includes(u)&&(this._getNextFocusNode(u,o),i(a))}else(a.keyCode===n.ENTER||a.keyCode===n.SPACE)&&(o._contentArea&&o._defaultButton&&A.isDescendant(t.curNode,o._contentArea)&&e.isFocusable(t.curNode)&&t.curNode.tagName&&this._isFormElement()&&a.keyCode===n.ENTER?(i(a),d.add(o._defaultButton,"active")):o._buttonBar&&A.isDescendant(t.curNode,o._buttonBar)&&e.isFocusable(t.curNode)?(i(a),d.add(t.curNode,"active")):this._getControlNodes(o).includes(t.curNode)&&(i(a),t.curNode.click(a)))},_onKeyUp(a,o){o._keyDownReady&&(a.keyCode===n.SPACE?o._buttonBar&&A.isDescendant(t.curNode,o._buttonBar)&&e.isFocusable(t.curNode)&&(d.remove(t.curNode,"active"),i(a),t.curNode.click(a)):a.keyCode===n.ENTER&&(o._contentArea&&o._defaultButton&&A.isDescendant(t.curNode,o._contentArea)&&e.isFocusable(t.curNode)&&t.curNode.tagName&&this._isFormElement()?(d.remove(o._defaultButton,"active"),i(a),o._defaultButton.click(a)):o._buttonBar&&A.isDescendant(t.curNode,o._buttonBar)&&e.isFocusable(t.curNode)&&(d.remove(t.curNode,"active"),i(a),t.curNode.click(a))))}}},_,P),_.exports=S},75317:(_,P,l)=>{"use strict";var b,S;b=[l(65724),l(92087),l(20849),l(37672),l(86560),l(11278),l(317),l(96737)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){const i=(m,E,w,I,M,R)=>{let T;return R?T=Math.max(d.get(m.domNode,"min-width"),Math.min(M.w-E.x,Math.min(w.pageX-I.x-E.x,Math.min(d.get(m.domNode,"max-width")?d.get(m.domNode,"max-width"):R.w+R.x-E.x,R.w+R.x-E.x)))):T=Math.max(d.get(m.domNode,"min-width"),Math.min(w.pageX-I.x-E.x,Math.min(d.get(m.domNode,"max-width")?d.get(m.domNode,"max-width"):M.w-E.x,M.w-E.x))),T},s=(m,E,w,I,M,R)=>{let T;return R?T=Math.max(d.get(m.domNode,"min-width"),Math.min(E.x+E.w,Math.min(E.x+E.w-(w.pageX-I.x),Math.min(d.get(m.domNode,"max-width")?d.get(m.domNode,"max-width"):E.x+E.w-R.x,E.x+E.w-R.x)))):T=Math.max(d.get(m.domNode,"min-width"),Math.min(E.x+E.w-(w.pageX-I.x),Math.min(d.get(m.domNode,"max-width")?d.get(m.domNode,"max-width"):E.x+E.w,E.x+E.w))),T},a=(m,E,w,I,M,R)=>{let T;return R?T=Math.max(d.get(m.domNode,"min-height"),Math.min(M.h-E.y,Math.min(w.pageY-I.y-E.y,Math.min(d.get(m.domNode,"max-height")?d.get(m.domNode,"max-height"):R.h+R.y-E.y,R.h+R.y-E.y)))):T=Math.max(d.get(m.domNode,"min-height"),Math.min(w.pageY-I.y-E.y,Math.min(d.get(m.domNode,"max-height")?d.get(m.domNode,"max-height"):M.h-E.y,M.h-E.y))),T},o=(m,E,w,I,M,R)=>{let T;return R?T=Math.max(d.get(m.domNode,"min-height"),Math.min(E.y+E.h,Math.min(E.y+E.h-(w.pageY-I.y),Math.min(d.get(m.domNode,"max-height")?d.get(m.domNode,"max-height"):E.y+E.h-R.y,E.y+E.h-R.y)))):T=Math.max(d.get(m.domNode,"min-height"),Math.min(E.y+E.h-(w.pageY-I.y),Math.min(d.get(m.domNode,"max-height")?d.get(m.domNode,"max-height"):E.y+E.h,E.y+E.h))),T},u=(m,E,w,I,M,R,T,N)=>{const F={};if(typeof R=="object"){const y=p.position(R);T==="e"?F.w=i(m,E,w,I,M,y):T==="w"&&(F.w=s(m,E,w,I,M,y)),N==="s"?F.h=a(m,E,w,I,M,y):N==="n"&&(F.h=o(m,E,w,I,M,y))}else T==="e"?F.w=i(m,E,w,I,M):T==="w"&&(F.w=s(m,E,w,I,M)),N==="s"?F.h=a(m,E,w,I,M):N==="n"&&(F.h=o(m,E,w,I,M));return T==="w"&&(F.l=E.x+E.w-F.w),N==="n"&&(F.t=E.y+E.h-F.h),F},c=(m,E)=>m.l<E.l||m.h+m.t>E.h||m.l+m.w>E.w,h=(m,E)=>{const w=m.l<E.l?(E.l-m.l)/m.w:0,I=m.w+m.l>E.w?(E.w-m.l)/m.w:1,M=0,R=m.t+m.h>E.h?(E.h-m.t)/m.h:1,T=(I-w)*m.w;return(R-M)*m.h>100&&T>100},v=(m,E)=>!(c(m,E)&&!h(m,E)),f=(m,E,w,I,M,R,T,N)=>{r(w);const F=u(m,E,w,I,M,R,T,N);let y={},x;const O={l:F.l?F.l:E.x,t:F.t?F.t:E.y,h:F.h?F.h:E.h,w:F.w?F.w:E.w};v(O,M)&&((T==="e"||T==="w")&&(m.domNode.style.width="".concat(F.w,"px")),T==="w"&&(m.domNode.style.left="".concat(F.l,"px")),(N==="s"||N==="n")&&(m.domNode.style.height="".concat(F.h,"px")),N==="n"&&(m.domNode.style.top="".concat(F.t,"px")),E=p.position(m.domNode),m._contentArea&&(x=p.position(m._contentArea),y={w:x.w,h:x.h}),g(m,E,y))};function g(m,E,w){n.emit(m.domNode,"resize",{bubbles:!1,dimension:E,contentSize:w})}return{resizeEvent:"resize",enable(m){let{widget:E,bindingNode:w,windowContext:I}=m;I=I||window,E._resizeEventSignals=[];let M,R;const T={x:0,y:0};(()=>{let F=!1,y=!1,x=!1,O=!1,L=!1,W=!1,j=!1,H=!1;E._resizeHandlers=[];const K=I.document.createElement("div");C.add(K,"mwResizableHandle mwResizable-e"),A.place(K,E.domNode,"last"),E._resizeHandlers.push(K);const $=I.document.createElement("div");C.add($,"mwResizableHandle mwResizable-s"),A.place($,E.domNode,"last"),E._resizeHandlers.push($);const V=I.document.createElement("div");C.add(V,"mwResizableHandle mwResizable-w"),A.place(V,E.domNode,"last"),E._resizeHandlers.push(V);const z=I.document.createElement("div");C.add(z,"mwResizableHandle mwResizable-n"),A.place(z,E.domNode,"last"),E._resizeHandlers.push(z);const X=I.document.createElement("div");C.add(X,"mwResizableHandle mwResizable-se"),A.place(X,E.domNode,"last"),E._resizeHandlers.push(X);const Z=I.document.createElement("div");C.add(Z,"mwResizableHandle mwResizable-ne"),A.place(Z,E.domNode,"last"),E._resizeHandlers.push(Z);const Y=I.document.createElement("div");C.add(Y,"mwResizableHandle mwResizable-sw"),A.place(Y,E.domNode,"last"),E._resizeHandlers.push(Y);const Q=I.document.createElement("div");C.add(Q,"mwResizableHandle mwResizable-nw"),A.place(Q,E.domNode,"last"),E._resizeHandlers.push(Q),E._resizeHandlers.forEach(ee=>{E._resizeEventSignals.push(n(ee,"mousedown",oe=>{oe.button===0&&(r(oe),M=t.getBox(I.document),R=p.position(E.domNode),this._setIframePointerStyle(E),ee===K?(F=!0,T.x=oe.pageX-(R.x+R.w),e("*")[0].style.cursor="ew-resize"):ee===$?(y=!0,T.y=oe.pageY-(R.y+R.h),e("*")[0].style.cursor="ns-resize"):ee===V?(x=!0,T.x=oe.pageX-R.x,e("*")[0].style.cursor="ew-resize"):ee===z?(O=!0,T.y=oe.pageY-R.y,e("*")[0].style.cursor="ns-resize"):ee===X?(L=!0,T.x=oe.pageX-(R.x+R.w),T.y=oe.pageY-(R.y+R.h),e("*")[0].style.cursor="nwse-resize"):ee===Z?(W=!0,T.x=oe.pageX-(R.x+R.w),T.y=oe.pageY-R.y,e("*")[0].style.cursor="nesw-resize"):ee===Y?(j=!0,T.x=oe.pageX-R.x,T.y=oe.pageY-(R.y+R.h),e("*")[0].style.cursor="nesw-resize"):ee===Q?(H=!0,T.x=oe.pageX-R.x,T.y=oe.pageY-R.y,e("*")[0].style.cursor="nwse-resize"):this._resetIframePointerStyle(E))}))}),E._resizeEventSignals.push(n(I.document,"mouseup",()=>{q()})),E._resizeEventSignals.push(n(I.document,"mousemove",ee=>{if(!ee.synthetic&&(ee.buttons&1)!==1){q();return}F?f(E,R,ee,T,M,w,"e"):y?f(E,R,ee,T,M,w,null,"s"):x?f(E,R,ee,T,M,w,"w"):O?f(E,R,ee,T,M,w,null,"n"):L?f(E,R,ee,T,M,w,"e","s"):W?f(E,R,ee,T,M,w,"e","n"):j?f(E,R,ee,T,M,w,"w","s"):H&&f(E,R,ee,T,M,w,"w","n")}));const q=()=>{[F,W,O,H,x,j,y,L].includes(!0)&&E.domNode&&n.emit(E.domNode,"_dialogDimensionChange",{bubbles:!1}),F=!1,y=!1,x=!1,O=!1,L=!1,W=!1,j=!1,H=!1,this._resetIframePointerStyle(E),e("*")[0].style.cursor=""}})()},disable(m){m._resizeEventSignals.forEach(E=>{E.remove()}),m._resizeEventSignals=[],m._resizeHandlers.forEach(E=>{A.destroy(E)}),m._resizeHandlers=[]},_disablePointerEvents(m){m&&m.classList&&m.classList.add("mwDialogDisableEvents")},_enablePointerEvents(m){m&&m.classList&&m.classList.remove("mwDialogDisableEvents")},_setIframePointerStyle(m){if(!m._allModalDialogs&&!m._allModelessDialogs)return;const E=[...m._allModalDialogs,...m._allModelessDialogs];for(const w of E)this._disablePointerEvents(w.domNode)},_resetIframePointerStyle(m){if(!m._allModalDialogs&&!m._allModelessDialogs)return;const E=[...m._allModalDialogs,...m._allModelessDialogs];for(const w of E)this._enablePointerEvents(w.domNode)}}},_,P),_.exports=S},96737:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return C=>(C.stopPropagation(),C.preventDefault(),!1)},_,P),_.exports=S},72040:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){const C={MODAL:"modal",MODELESS:"modeless"};return Object.freeze(C),C},_,P),_.exports=S},16141:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({DIALOG:"dialog",ALERT_DIALOG:"alertdialog"})},_,P),_.exports=S},88038:(_,P,l)=>{_.exports={ok:"OK",cancel:"Abbrechen",switchPanes:"Zu Windows wechseln",close:"Schlie\xDFen",yes:"Ja",no:"Nein",help:"Hilfe",submit:"Senden",save:"Speichern",find:"Finden",create:"Erstellen",dontSave:"Nicht speichern",apply:"Anwenden",revert:"R\xFCckg\xE4ngig machen"}},97240:(_,P,l)=>{_.exports={root:{ok:"OK",cancel:"Cancel",switchPanes:"Switch Windows",close:"Close",yes:"Yes",no:"No",help:"Help",submit:"Submit",save:"Save",find:"Find",create:"Create",dontSave:"Don't Save",apply:"Apply",revert:"Revert"},"ja-jp":!0,"ko-kr":!0,"zh-cn":!0,de:!0,es:!0,fr:!0,it:!0}},32670:(_,P,l)=>{_.exports={ok:"Aceptar",cancel:"Cancelar",switchPanes:"Cambiar ventanas",close:"Cerrar",yes:"S\xED",no:"No",help:"Ayuda",submit:"Enviar",save:"Guardar",find:"Buscar",create:"Crear",dontSave:"No guardar",apply:"Aplicar",revert:"Revertir"}},26657:(_,P,l)=>{_.exports={ok:"OK",cancel:"Annuler",switchPanes:"Changer de fen\xEAtre",close:"Fermer",yes:"Oui",no:"Non",help:"Aide",submit:"Envoyer",save:"Enregistrer",find:"Rechercher",create:"Cr\xE9er",dontSave:"Ne pas enregistrer",apply:"Appliquer",revert:"Restaurer"}},39124:(_,P,l)=>{_.exports={ok:"OK",cancel:"Annulla",switchPanes:"Cambia Windows",close:"Chiudi",yes:"S\xEC",no:"No",help:"Guida",submit:"Invia",save:"Salva",find:"Trova",create:"Crea",dontSave:"Non salvare",apply:"Candidati",revert:"Ritorna"}},85628:(_,P,l)=>{_.exports={ok:"OK",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",switchPanes:"\u30A6\u30A3\u30F3\u30C9\u30A6\u306E\u5207\u308A\u66FF\u3048",close:"\u9589\u3058\u308B",yes:"\u306F\u3044",no:"\u3044\u3044\u3048",help:"\u30D8\u30EB\u30D7",submit:"\u63D0\u51FA",save:"\u4FDD\u5B58",find:"\u691C\u7D22",create:"\u4F5C\u6210",dontSave:"\u4FDD\u5B58\u3057\u306A\u3044",apply:"\u9069\u7528",revert:"\u5143\u306B\u623B\u3059"}},96453:(_,P,l)=>{_.exports={ok:"\uD655\uC778",cancel:"\uCDE8\uC18C",switchPanes:"\uCC3D \uC804\uD658",close:"\uB2EB\uAE30",yes:"\uC608",no:"\uC544\uB2C8\uC694",help:"\uB3C4\uC6C0\uB9D0",submit:"\uC81C\uCD9C",save:"\uC800\uC7A5",find:"\uCC3E\uAE30",create:"\uC0DD\uC131\uD558\uAE30",dontSave:"\uC800\uC7A5 \uC548 \uD568",apply:"\uC801\uC6A9",revert:"\uB418\uB3CC\uB9AC\uAE30"}},14480:(_,P,l)=>{_.exports={ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",switchPanes:"\u5207\u6362\u7A97\u53E3",close:"\u5173\u95ED",yes:"\u662F",no:"\u5426",help:"\u5E2E\u52A9",submit:"\u63D0\u4EA4",save:"\u4FDD\u5B58",find:"\u67E5\u627E",create:"\u521B\u5EFA",dontSave:"\u4E0D\u4FDD\u5B58",apply:"\u5E94\u7528",revert:"\u6062\u590D"}},91960:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){function C(A,p){const e={mwCloseSVG:"M9.09,1.5L6,4.59,2.91,1.5,1.5,2.91,4.59,6,1.5,9.08,2.91,10.5,6,7.41,9.09,10.5,10.5,9.08,7.41,6,10.5,2.91,9.09,1.5h0Z"},t=p.document.createElementNS("http://www.w3.org/2000/svg","svg"),r=p.document.createElementNS("http://www.w3.org/2000/svg","path"),i=p.document.createElementNS("http://www.w3.org/2000/svg","rect"),s=p.document.createElementNS("http://www.w3.org/2000/svg","g");return t.setAttribute("viewBox","0 0 12 12"),t.classList.add(A),i.setAttribute("width",12),i.setAttribute("height",12),i.setAttribute("fill","none"),r.setAttribute("d",e[A]),r.setAttribute("fill","var(--mw-backgroundColor-iconFill, #616161)"),s.appendChild(i),s.appendChild(r),t.appendChild(s),t}return{createCloseIcon(A){return C("mwCloseSVG",A)}}},_,P),_.exports=S},4817:(_,P,l)=>{"use strict";var b,S;b=[l(69961)],S=l.dj.d(b,function(C){return function(A){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A.widget;const d=()=>{};C.isFunction(p.startup)?A.startup=()=>{p.startup()}:A.startup=d,C.isFunction(p.destroyRecursive)?A.destroyRecursive=n=>{p.destroyRecursive(n)}:A.destroyRecursive=d,C.isFunction(p.destroy)?A.destroy=n=>{p.destroy(n)}:A.destroy=d}},_,P),_.exports=S},41466:(_,P,l)=>{"use strict";var b,S;b=[l(86560)],S=l.dj.d(b,function(C){function A(n,e){let t,r;e.document.body.createTextRange?(t=e.document.body.createTextRange(),t.moveToElementText(n),t.select()):e.getSelection&&(r=e.getSelection(),t=e.document.createRange(),t.selectNodeContents(n),r.removeAllRanges(),r.addRange(t))}function p(n,e){(n.metaKey||navigator.platform.toUpperCase().indexOf("MAC")<0&&n.ctrlKey)&&d(n,e)}function d(n,e){switch(n.keyCode){case"A".charCodeAt(0):n.target!==e.document.body&&(n.target.value?n.target.setSelectionRange(0,n.target.value.length):A(n.target,e)),n.preventDefault();break;case"O".charCodeAt(0):n.preventDefault();break;case"S".charCodeAt(0):n.preventDefault();break}}return{prevent:n=>{const e=n._windowContext;e.document.body.style.cursor="default",n._preventKeyListener=C(e.document.body,"keydown",t=>{p(t,e)})},removePrevent:n=>{const e=n._windowContext;e.document.body.style.cursor="initial",n._preventKeyListener.remove()}}},_,P),_.exports=S},63018:(_,P,l)=>{"use strict";var b,S;b=[l(65724),l(86560),l(18262),l(22928)],S=l.dj.d(b,function(C,A,p,d){const n=[p.TYPE.HELP,p.TYPE.SPL1,p.TYPE.SPL2],e=[p.TYPE.DO_IT,p.TYPE.DONT_DO_IT,p.TYPE.CANCEL,p.TYPE.APPLY,p.TYPE.REVERT],t=96,r=5,i=8*2,s=5*2,a=1*2,o="13px 'Helvetica Neue', HeHelveticaNeue, Helvetica, Arial, sans-serif";function u(w){const I=[];for(const R in e){I[R]=[];for(const T in w)w[T].type===e[R]&&I[R].push(w[T])}const M=[];for(const R in I)I[R].length!==0&&M.push(I[R][0]);return M}function c(w,I,M,R){const T=R.document.createElement("div");T.className="mwActionButtonBar",T.setAttribute("data-test-id","dialog-action-button-bar");const N=u(I);let F;for(const y in N){F=R.document.createElement("span"),F.className="mwButton",F.tabIndex="0",F.textContent=N[y].label,F.setAttribute("data-button-type",N[y].type),F.setAttribute("aria-disabled","false"),F.setAttribute("role","button"),N[y]["data-test-id"]&&F.setAttribute("data-test-id",N[y]["data-test-id"]),w._trackEventListener(A(F,"click",g("".concat(N[y].type,"ButtonClick"),w))),(M===N[y].type||M===N[y]||M===void 0&&M!==p.NO_DEFAULT_ACTION&&y==="0")&&(w._defaultButton=F),T.appendChild(F);const x=f(I[y].label);w._buttonBar._buttonBarWidth+=x}return T}function h(w,I,M){const R=M.document.createElement("div");R.className="mwSplButtonBar",R.setAttribute("data-test-id","dialog-supplemental-button-bar");let T;for(const N in I){T=M.document.createElement("span"),T.className="mwButton",T.tabIndex="0",T.setAttribute("role","button"),T.textContent=I[N].label,T.setAttribute("data-button-type",I[N].type),T.setAttribute("aria-disabled","false"),I[N]["data-test-id"]&&T.setAttribute("data-test-id",I[N]["data-test-id"]),w._trackEventListener(A(T,"click",g("".concat(I[N].type,"ButtonClick"),w))),R.appendChild(T);const F=f(I[N].label);w._buttonBar._buttonBarWidth+=F}return R}function v(w){const M=document.createElement("canvas").getContext("2d");return M.font=o,M.measureText(w).width}function f(w){let M=v(w)+a+s+i;return M=M>t?M:t,M}function g(w,I){const M=()=>{I.close()};return()=>{A.emit(I.domNode,w,{bubbles:!1,close:M})}}function m(w,I){return A(w.domNode,"".concat(I,"ButtonClick"),M=>{let R=!1;w._buttonEvents[I].forEach(T=>{typeof T.func=="function"&&T.func(),R=R||T.dismiss}),w.domNode&&R&&M.close()})}function E(w){let I="";return w.hasOwnProperty("type")?I=w.type:I=w,I}return{addButtonEventListener(w,I,M,R){try{const T=E(I);w._buttonEvents[T]===void 0&&(w._buttonEvents[T]=[]),w._buttonEvents[T].push({func:M,dismiss:R}),w._buttonEventHandlers[T]&&w._buttonEventHandlers[T].remove();const N=w._buttonBar.querySelector("span[data-button-type="+T+"]"),F=N&&N.getAttribute("aria-disabled");(!F||F==="false")&&(w._buttonEventHandlers[T]=m(w,T))}catch(T){d.log("Button or type of button is invalid.")}},enableButton(w,I){const M=E(I);w._buttonEventHandlers[M]&&w._buttonEventHandlers[M].remove(),w._buttonEventHandlers[M]=m(w,M);const R=w._buttonBar.querySelector("span[data-button-type="+M+"]");C.remove(R,"mwDisabled"),R.setAttribute("tabIndex","0"),R.setAttribute("aria-disabled","false")},disableButton(w,I){const M=E(I);w._buttonEventHandlers[M]&&w._buttonEventHandlers[M].remove();const R=w._buttonBar.querySelector("span[data-button-type="+M+"]");C.add(R,"mwDisabled"),R.setAttribute("tabIndex","-1"),R.setAttribute("aria-disabled","true")},createButtonBar(w,I,M){const R=w._windowContext,T=w._buttonBar=R.document.createElement("div");T.className="mwDialogButtonBar",T.setAttribute("data-test-id","dialog-button-bar"),w._buttonEvents={},w._buttonEventHandlers={},w._buttonBar._buttonBarWidth=r*2;let N=!1,F=!1;const y=[],x=[];return I.forEach(O=>{n.indexOf(O.type)!==-1?x.push(O):e.indexOf(O.type)!==-1&&y.push(O)}),x.length>0?(F=!0,T.appendChild(h(w,x,R))):C.add(T,"mwNoSplBtn"),y.length>0&&(N=!0,T.appendChild(c(w,y,M,R))),N===!0&&F===!0&&(w._buttonBar._buttonBarWidth+=r*2),T}}},_,P),_.exports=S},77593:(_,P,l)=>{"use strict";var b,S;b=[l(69961),l(81070),l(92087),l(37672),l(4817)],S=l.dj.d(b,function(C,A,p,d,n){class e{constructor(r){this.widget=r.widget,this.contentArea=r.contentArea,n(this),this._addWidget(this.widget)}_addWidget(r){if(C.isString(r)){const i=p.create("div");i.className="mwContentMessage",A.set(i,"textContent",r),A.set(i,"data-test-id","dialog-content-widget"),d.set(i,"whiteSpace","pre-line"),p.place(i,this.contentArea,"first"),this.domNode=i}else C.isFunction(r.placeAt)?(A.set(r.domNode,"data-test-id","dialog-content-widget"),r.placeAt(this.contentArea,"first"),this.domNode=r.domNode):(A.set(r,"data-test-id","dialog-content-widget"),p.place(r,this.contentArea,"first"),this.domNode=r)}}return e},_,P),_.exports=S},7845:(_,P,l)=>{"use strict";var b,S;b=[l(65724),l(37672),l(80675),l(75145),l(86560),l(71805),l(12154),l(16141),l(72040),l(40755),l(35379),l(75317),l(96737),l(63018),l(77593),l(41466),l(91960),l(65983),l(59138),l(1797)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,E){const w=M=>n(M,p("mozilla")?"DOMMouseScroll":"mousewheel",R=>{const T=R.type==="DOMMouseScroll"?R.detail*-40:R.wheelDelta,N=T>0;!N&&-T>M.scrollHeight-M.clientHeight-M.scrollTop?(M.scrollTop=M.scrollHeight,u(R)):N&&T>M.scrollTop&&(M.scrollTop=0,u(R))});class I{constructor(R,T){this._eventSignals=[],this._windowContext=R.appendTo?R.appendTo:window,R.bindingNode&&(this._windowContext.document.body.contains(R.bindingNode)||(R.bindingNode=null)),this.domNode=this._createDomNodes({id:R.id,dialogType:R.dialogType,role:R.role,uuid:R.uuid}),this.domNode.widget=this,this._trackEventListener.bind(this),this._hideCloseButton=!1,this._closeOnEscape=!0,this._isProgrammaticalResizeCalled=!1,this.focus=T,this.onFocus=R.onFocus,this.onBlur=R.onBlur,this._isFocused=!1}_constructAndDisplayDialog(R){this._buildDialog(R),this._renderDialog(),this._contentWidget&&this._contentWidget.domNode.updateComplete?this._contentWidget.domNode.updateComplete.then(()=>{this._renderDialogDimension(R.title),this._show()}):(this._renderDialogDimension(R.title),this._show())}static numberOfOpenDialogs(){const R={};return R.modal=I.prototype._allModalDialogs.length,R.modeless=I.prototype._allModelessDialogs.length,R}addButtonEventListener(R,T,N){c.addButtonEventListener(this,R,T,N)}addControlNodeEventListener(R,T,N){if(R==="close"&&!this._hideCloseButton){const F=this._closeNode,y=this;N=typeof N>"u"?!1:N,this._removeEventListener(this._closeButtonListener),this._closeButtonListener=this._trackEventListener(n(F,"click",()=>{T.call(y),N&&y.close()})),this._closeOnEscape&&(this._removeEventListener(this._escapeListener),this._escapeListener=this._trackEventListener(n(y.domNode,"keydown",x=>{x.keyCode===d.ESCAPE&&(T.call(y),N&&y.close(),u(x))})))}}enableButton(R){c.enableButton(this,R)}disableButton(R){c.disableButton(this,R)}on(R,T){const N=n(this.domNode,R,T);this._eventSignals.push(N)}close(){n.emit(this.domNode,"close",{bubbles:!1,cancelable:!0}),this.destroy()}destroy(){if(!this.domNode)return;n.emit(this.domNode,"restorefocus",{bubbles:!0}),this._isModal?(v.removePrevent(this),this._allModalDialogs.splice(this._allModalDialogs.indexOf(this),1),this._dialogThemeObserver.disconnect()):this._allModelessDialogs.splice(this._allModelessDialogs.indexOf(this),1),this._focusHandle&&this._focusHandle.unwatch(),this._eventSignals.forEach(T=>{T.remove()}),this._eventSignals=[];let R;for(R in this._buttonEventHandlers)this._buttonEventHandlers[R].remove();if(this._buttonEventHandlers={},this._resizeEventSignals&&o.disable(this),this._dragEventSignals&&a.disable(this),this._browserResizeHandler&&g.removeBrowserResizeHandler(this),this._contentWidget&&this._contentWidget.destroyRecursive(),this._windowContext.document.body.removeChild(this.domNode),this._isModal===!0){this._windowContext.document.body.removeChild(this._underlay);const T=this._allModalDialogs;T.length>1&&T.sort((N,F)=>N.domNode.style.zIndex-F.domNode.style.zIndex),T.length>=1&&T[T.length-1]._underlay.classList.remove(this._stackedModalDialogClass)}for(R in this)this.hasOwnProperty(R)&&delete this[R]}moveTo(R){s.moveTo(this,R,this._windowContext)}resizeTo(R){this.domNode&&(this._isProgrammaticalResizeCalled=!0,s.resizeTo(this,R),this._resolveScrollBar())}bringToTop(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{setFocus:!1},T=[];const N=this;if(this._isModal)T=this._allModalDialogs.filter(F=>F!==N,this),T.sort((F,y)=>F.domNode.style.zIndex-y.domNode.style.zIndex),T.push(this),T.forEach((F,y)=>{F.domNode.style.zIndex=N._startZ+y*2,F._underlay.style.zIndex=F.domNode.style.zIndex-1,y!==T.length-1&&F._underlay.classList.add(this._stackedModalDialogClass),C.remove(F.domNode,"mwModalDialogFg")},this),C.add(this.domNode,"mwModalDialogFg");else{T=this._allModelessDialogs.filter(y=>y!==N&&(y._alwaysOnTop===void 0||y._alwaysOnTop===!1),this);let F=this._windowContext.document.getElementsByClassName("mwNonModalDialog");F.length>0&&(F=Array.prototype.slice.call(F),F=F.map(y=>({domNode:y})),T=T.concat(F)),T.sort((y,x)=>y.domNode.style.zIndex-x.domNode.style.zIndex),T.push(this),T.forEach((y,x)=>{y.domNode.style.zIndex=N._startZ+x*2,C.remove(y.domNode,"mwModelessDialogFg"),F.length>0&&C.remove(y.domNode,"dojoxFloatingPaneFg")},this),C.add(this.domNode,"mwModelessDialogFg")}R.setFocus&&this.focus.focus(this)}set title(R){this._titleText="",R&&typeof R=="string"&&(this._titleText=R),this._titleBar._titleNode.textContent=this._titleText,this._titleBar._titleNode.offsetWidth<this._titleBar._titleNode.scrollWidth&&(this._titleBar._titleNode.title=this._titleText)}get title(){return this._titleText}_show(){A.set(this.domNode,"visibility","visible"),this.moveTo(this._specifiedPosition),this.focus.focus(this),this._contentWidget&&this._contentWidget.startup(),this._isModal&&(v.prevent(this,this._windowContext),this._dialogTheme=m.getTheme(this.domNode)),n.emit(this.domNode,"show",{bubbles:!1,cancelable:!0}),n.emit(this.domNode,"_dialogDimensionChange",{bubbles:!1,cancelable:!0})}_trackEventListener(R){return this._eventSignals.push(R),R}_removeEventListener(R){const T=this._eventSignals.indexOf(R);T>-1&&(this._eventSignals.splice(T,1),R.remove())}_createDomNodes(R){let{dialogType:T,id:N,role:F,uuid:y}=R;const x=this._windowContext.document.createElement("div");x.id=N,x.className="mwDialog",x.tabIndex="0",T===i.MODAL?(x.setAttribute("aria-modal",!0),F=F===r.ALERT_DIALOG?F:r.DIALOG):(x.setAttribute("aria-modal",!1),F=r.DIALOG),x.setAttribute("role",F);const O=this._titleBar=this._windowContext.document.createElement("div");O.className="mwDialogTitleBar",O.setAttribute("data-test-id","dialog-title-bar");const L=this._titleBar._titleNode=this._windowContext.document.createElement("span");L.className="mwTitleNode",L.id="dialogTitle_"+y,L.setAttribute("data-test-id","dialog-title-node");const W=this._controlNodeBar=this._windowContext.document.createElement("div");W.className="mwControlNodeBar",W.setAttribute("data-test-id","dialog-control-node-bar");const j=this._contentArea=this._windowContext.document.createElement("div");return j.id="dialogContent_"+y,j.className="mwDialogBody",j.setAttribute("data-test-id","dialog-content-area"),O.appendChild(L),O.appendChild(W),x.appendChild(O),x.appendChild(j),x.setAttribute("aria-labelledby",L.id),x.setAttribute("aria-describedby",j.id),x}_buildDialog(R){const T=this;if(this._hideCloseButton=R.hideCloseButton,this._closeOnEscape=R.closeOnEscape,this.domNode.setAttribute("data-focus","temporary"),R.className&&C.add(this.domNode,R.className),!R.hideCloseButton){const N=this._closeNode=this._windowContext.document.createElement("button");N.className="mwCloseNode",N.title=t.close,N.setAttribute("data-test-id","dialog-close-node"),N.setAttribute("draggable",!1);const F=this._closeSVG=f.createCloseIcon(this._windowContext);N.appendChild(F),this._controlNodeBar.appendChild(N),this._closeButtonListener=this._trackEventListener(n(N,"click",()=>{T.close()}))}if(R.closeOnEscape&&(this._escapeListener=this._trackEventListener(n(this.domNode,"keydown",N=>{N.keyCode===d.ESCAPE&&(T.close(),u(N))}))),R.content&&(this._contentWidget=new h({widget:R.content,contentArea:this._contentArea}),R.dialogType===i.MODAL&&s.selectionWithinDialogBounds(this)),R.buttons&&Array.isArray(R.buttons)&&R.buttons.length>0){const N=c.createButtonBar(this,R.buttons,R.defaultActionButton);this.domNode.appendChild(N)}else C.add(this._contentArea,"mwNoButtons");if(R.dialogType===i.MODAL){this._isModal=!0,this._startZ=this._modalDialogBeginZIndex,C.add(this.domNode,"mwModalDialog");const N=this._windowContext.document.createElement("div");N.className="mwUnderlay",this._windowContext.document.body.appendChild(N),this._underlay=N,this._dialogThemeObserver=new this._windowContext.MutationObserver(F=>{F.forEach(y=>{if(y.type==="attributes"&&y.attributeName==="class"){const x=m.getTheme(this.domNode);this._dialogTheme!==x&&Object.values(E).includes(x)&&(m.setTheme(x,this._underlay),this._dialogTheme=x)}})}),this._config={attributes:!0,attributeFilter:["class"]},this._dialogThemeObserver.observe(this.domNode,this._config)}else this._startZ=this._modelessDialogBeginZIndex,C.add(this.domNode,"mwModelessDialog");R["data-test-id"]&&this.domNode.setAttribute("data-test-id",R["data-test-id"]),R.bindingNode&&(this._bindingNode=R.bindingNode),R.position&&(this._specifiedPosition=R.position),R.specifiedFocusItem&&(this.specifiedFocusItem=R.specifiedFocusItem),this._addControllers(R)}_renderDialog(){this._windowContext.document.body.appendChild(this.domNode),this._isModal?this._allModalDialogs.push(this):this._allModelessDialogs.push(this)}_renderDialogDimension(R){const T=window.getComputedStyle(this.domNode),N=parseInt(T.width),F=parseInt(T.height),y=parseInt(T.getPropertyValue("--mw-borderWidth-dialog"))*2;if(this._buttonBar&&parseInt(T.minWidth)<this._buttonBar._buttonBarWidth&&(this.domNode.style.minWidth=this._buttonBar._buttonBarWidth+y+"px"),this._isProgrammaticalResizeCalled){this.title=R;return}N>this._windowContext.document.documentElement.clientWidth?this.domNode.style.width=this._windowContext.document.documentElement.clientWidth+"px":this.domNode.style.width=T.width,F>this._windowContext.document.documentElement.clientHeight?this.domNode.style.height=this._windowContext.document.documentElement.clientHeight+"px":this.domNode.style.height=T.height,this.title=R}_addControllers(R){const T=this;this._scrollWheelListener=null,R.draggable?this._setDragController():this._titleBar.style.cursor="default",R.resizable&&(o.enable({widget:this,bindingNode:this._bindingNode,appendTo:this._windowContext}),this._resizeHandlers.forEach(N=>{T._resizeEventSignals.push(n(N,e.press,()=>{T.bringToTop()}))}),this._resizeEventSignals.push(n(this.domNode,o.resizeEvent,N=>{T._isCenter=!1,T._specifiedPosition={x:N.dimension.x,y:N.dimension.y},T._resolveScrollBar(),T._titleBar._titleNode.offsetWidth<T._titleBar._titleNode.scrollWidth?T._titleBar._titleNode.title=T.title:T._titleBar._titleNode.title="",T._contentArea.scrollHeight>T._contentArea.clientHeight?C.add(this._contentArea,"mwOverflow"):C.remove(this._contentArea,"mwOverflow")}))),this.on(e.press,()=>{T.bringToTop()}),this._resolveScrollBar(),s.addScrollHandler(this),g.addBrowserResizeHandler(this)}_resolveScrollBar(){if(this._contentArea.scrollHeight-this._contentArea.clientHeight>0){if(this._contentArea.offsetWidth-this._contentArea.scrollWidth>0){const R=this._standardContentPadding-(this._contentArea.offsetWidth-this._contentArea.scrollWidth);this._contentArea.style.setProperty("--mw-paddingRight-dialogBody","".concat(R,"px"))}this._scrollWheelListener||(this._scrollWheelListener=this._trackEventListener(w(this._contentArea)))}else this._contentArea.style.setProperty("--mw-paddingRight-dialogBody","".concat(this._standardContentPadding,"px")),this._scrollWheelListener&&(this._removeEventListener(this._scrollWheelListener),this._scrollWheelListener=null)}_setDragController(){a.draggable({dialog:this,bindingNode:this._bindingNode,allowOutOfView:void 0,windowContext:this._windowContext})}_disableResizeHandlers(){o.disable(this)}_enableResizeHandlers(){o.enable({widget:this,bindingNode:this._bindingNode,windowContext:this._windowContext})}}return I.prototype._modalDialogBeginZIndex=950,I.prototype._modelessDialogBeginZIndex=100,I.prototype._standardContentPadding=20,I.prototype._stackedModalDialogClass="mwModalDialogStackedBackground",I.prototype._allModalDialogs=[],I.prototype._allModelessDialogs=[],I},_,P),_.exports=S},48819:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(75072),l(46201),l(4501),l(45216),l(21861),l(27427),l(20060),l(21684),l(84089)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a){var o=function(){function u(c){A(this,u),this._initialize(c),this._setDndListenerEvents(),this._handleDynamicConfig(c),this._dragItem=e}return C(u,[{key:"_initialize",value:function(h){this._dragSources=[],this._dropTargets=[],this._canDropTracker=new i,this._dataStore={},this._dragInProgress=!1,this._contextDOM=h.context,this._setDnDListener(h)}},{key:"_setDnDListener",value:function(h){var v=this,f=function(){return v._dragSources},g=function(){return v._dropTargets},m=function(){return v._dragInProgress},E=function(){return v._dataStore.dragOperations||[]},w=this._getDropStatus.bind(this);this._dndListener=this._getDnDlistener(h.context,f,g,m,w,E)}},{key:"_getDnDlistener",value:function(){for(var h=arguments.length,v=Array(h),f=0;f<h;f++)v[f]=arguments[f];return new(Function.prototype.bind.apply(n,[null].concat(v)))}},{key:"_setDndListenerEvents",value:function(){this._dndListener.on(a.dragStart,this._handleDragStart.bind(this)),this._dndListener.on(a.dragEnter,this._handleDragEnter.bind(this)),this._dndListener.on(a.dragOverCoordinates,this._handleDragOverCoordinates.bind(this)),this._dndListener.on(a.dragOver,this._handleDragOver.bind(this)),this._dndListener.on(a.dragLeave,this._handleDragLeave.bind(this)),this._dndListener.on(a.drop,this._handleDrop.bind(this)),this._dndListener.on(a.dragEnd,this._handleDragEnd.bind(this))}},{key:"_handleDynamicConfig",value:function(h){var v=this,f=h.handleDynamicDragSources,g=h.context;f===!0&&(this._observer=new MutationObserver(function(){f&&v._dndListener.handleDynamicDragSources()}),this._observer.observe(g,{childList:!0,subtree:!0}))}},{key:"_handleDragStart",value:function(h){this._dataStore.dragData=new Map;var v=e.processAndExecuteHook(a.dragStart)(h)(this._dataStore);this._dragInProgress=v}},{key:"_handleDragEnter",value:function(h){var v=e.processAndExecuteHook(a.dragEnter)(h)(this._dataStore),f={};if(typeof v=="boolean"||typeof v>"u")this._canDropTracker.addCanTargetDrop(v);else{f=Object.assign({},v);var g=this._dragItem.getDragItemForDropEvents(h,this._dataStore);f.isValidDropAsync||(f.isValidDropAsync=function(){return Promise.reject(new Error)}),f.canDropPromiseInfo=f.isValidDropAsync(g,h.target,h.position),this._handleCanDropAsync(f),this._canDropTracker.addCanTargetDrop(f)}}},{key:"_handleCanDropAsync",value:function(h){h.canDropPromiseInfo.then(function(v){typeof v>"u"||v?h.isFulFilled=!0:h.isFulFilled=!1},function(){h.isFulFilled=!1})}},{key:"_handleDragOverCoordinates",value:function(h){var v=h.xCoord,f=h.yCoord;r.isAvatarPresent&&r.customAvatar.updatePosition(v,f)}},{key:"_handleDragOver",value:function(h){var v=this._getDropStatus();r.isAvatarPresent&&(v===t.StatusEnum.INVALID||h.dropEffect==="none"?r.customAvatar.leaveValidDropTarget():v===t.StatusEnum.VALID&&r.customAvatar.enterValidDropTarget()),e.processAndExecuteHook(a.dragOver)(h)(this._dataStore)}},{key:"_handleDragLeave",value:function(h){e.processAndExecuteHook(a.dragLeave)(h)(this._dataStore);var v=this._getDropStatus();this._canDropTracker.removeTopItem(),r.isAvatarPresent&&this._canDropTracker.length===0&&v===t.StatusEnum.VALID&&r.customAvatar.leaveValidDropTarget()}},{key:"_handleDrop",value:function(h){var v=this;this._getDropStatus()===t.StatusEnum.VALID&&e.processAndExecuteHook(a.drop)(h)(this._dataStore),this._getDropStatus()===t.StatusEnum.INVALID&&setTimeout(function(){return e.processAndExecuteHook(a.dragLeave)(h)(v._dataStore)},0),r.isAvatarPresent&&(r.customAvatar.remove(),r.clearAvatar()),this._canDropTracker.empty()}},{key:"_handleDragEnd",value:function(h){e.processAndExecuteHook(a.dragEnd)(h)(this._dataStore),this._dragInProgress=!1,r.isAvatarPresent&&(r.customAvatar.remove(),r.clearAvatar()),this._dataStore={},this._canDropTracker.empty()}},{key:"_getDropStatus",value:function(){var h=t.StatusEnum.INVALID;if(this._canDropTracker.length>0){var v=this._canDropTracker.getTopItem();return typeof v.canDrop=="boolean"||typeof v.canDrop>"u"?v.canDrop&&(h=t.StatusEnum.VALID):v.canDrop.isFulFilled&&(h=t.StatusEnum.VALID),h}}},{key:"createDropTarget",value:function(h){var v=this,f=function(){v._dropTargets=v._dropTargets.filter(function(E){return!E===g})},g=new d(h,{spliceDropTarget:f});return this._dropTargets.push(g),g}},{key:"createDragSource",value:function(h){var v=this,f=function(){v._dragSources=v._dragSources.filter(function(w){return!w===m})},g=this._dndListener,m=new p(h,{spliceDragSource:f,dndListener:g});return this._dragSources.push(m),m}},{key:"destroy",value:function(){this._dndListener.destroy(),this._dragSources.forEach(function(h){h.destroy()}),this._dropTargets.forEach(function(h){h.destroy()}),this._dragSources=[],this._dropTargets=[],this._observer&&this._observer.disconnect()}},{key:"COPY",get:function(){return s.COPY}},{key:"MOVE",get:function(){return s.MOVE}},{key:"NONE",get:function(){return s.NONE}},{key:"ALL",get:function(){return s.ALL}}]),u}();return o},_,P),_.exports=S},10383:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(48819),l(44830),l(43823)],S=l.dj.d(b,function(p,d,n){var e=function(s){return s instanceof Node},t=!1,r=function(){function i(){A(this,i)}return C(i,null,[{key:"createContext",value:function(a){if(t||(i._enableDNDinCEFAndHandleFiles(),t=!0),a&&e(a.context)){var o=new p(a);return o}else throw new Error("Expected: config.context should be of type Node")}},{key:"_createFileContext",value:function(a){if(a){var o=new d(a);return o}else throw new Error("Expected: config.context should be of type Node")}},{key:"_enableDNDinCEFAndHandleFiles",value:function(){window.cefclient&&window.cefclient.sendMessage&&typeof window.cefclient.sendMessage=="function"&&(window.cefclient.sendMessage("enable-dragndrop-all"),i._createFileContext({context:document}).createDropTarget({dropTarget:document,lifecycle:{enter:function(){return!1},drop:function(){}}}))}},{key:"disable",value:function(a){a.context.contentDocument&&(a.context=a.context.contentDocument),i._createFileContext({context:a.context}).createDropTarget({dropTarget:a.context,lifecycle:{enter:function(){return!1},drop:function(){}}})}},{key:"NativeType",get:function(){return n.TYPES}}]),i}();return r},_,P),_.exports=S},45216:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function p(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e<n.length;e++)t[e]=n[e];return t}else return Array.from(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[l(27427),l(47954),l(84089),l(22928)],S=l.dj.d(b,function(n,e,t,r){function i(a,o,u,c,h){var v=void 0;switch(a){case c.TEXT:v=o.getNativeDataByType(c.TEXT);break;case c.FILES:v=o.getNativeDataByType(c.FILES);break;default:if(u){var f=a.toLowerCase();v=u.get(f)}var g=v!=null;!g&&h&&(v=o.getNativeDataByType(a));break}return v}var s=function(){function a(){d(this,a)}return C(a,null,[{key:"getDragItemStart",value:function(u,c,h){var v=c.dragData,f=!1;return u.dragSource&&u.dragSource.allowGlobal&&(f=!0),{setDataByType:function(m,E){switch(f&&u.setNativeDataByType(m,E),m){case u.nativeTypes.TEXT:u.setNativeDataByType(u.nativeTypes.TEXT,E);break;default:m=m.toLowerCase(),v.set(m,E);break}},getXYCoordinates:function(){return e.getXYCoordinates(u)},getDataByType:function(m){return i(m,u,v,u.nativeTypes,f)},getDataTypes:function(){return a._getDataTypes(u,v,f)},setDragOperations:function(m){var E=void 0;Array.isArray(m)?E=m.slice():typeof m=="string"&&(E=[m]),c.dragOperations=E},getDropOperation:function(){return u.getDropOperation()},getDragOperations:function(){return c.dragOperations},setAvatar:function(m,E){u.canSetNativeAvatar&&(h.avatarDOM=m,h.count=E)}}}},{key:"getDragItemForDropEvents",value:function(u,c){var h=!1,v=c.dragData;return u.dropTarget&&u.dropTarget.allowGlobal&&(h=!0),{getDataByType:function(g){return i(g,u,v,u.nativeTypes,h)},getDataTypes:function(){return a._getDataTypes(u,v,h)},getXYCoordinates:function(){return e.getXYCoordinates(u)},getDropEffect:function(){return u.dropEffect},getDropOperation:function(){return u.getDropOperation()},getDragOperations:function(){return c.dragOperations}}}},{key:"getDragItemEnd",value:function(u,c){var h=c.dragData,v=!1;return u.dragSource&&u.dragSource.allowGlobal&&(v=!0),{getDataByType:function(g){return i(g,u,h,u.nativeTypes,v)},getDataTypes:function(){return a._getDataTypes(u,h,v)},getXYCoordinates:function(){return e.getXYCoordinates(u)},getDragOperations:function(){return c.dragOperations},getDropOperation:function(){return u.getDropOperation()}}}},{key:"_getDataTypes",value:function(u,c,h){var v=void 0;return h?v=a._getGlobalTypes(c,u):v=a._getLocalTypes(c,u),v.includes=function(f){var g=v.map(function(m){return m.toLowerCase()});return Array.prototype.includes.call(g,f.toLowerCase())},v}},{key:"_getGlobalTypes",value:function(u,c){var h=u?Array.from(u.keys()):[],v=c.getNativeDataTypes(),f=new Set(h.concat(v));return[].concat(p(f))}},{key:"_getLocalTypes",value:function(u,c){var h=u?Array.from(u.keys()):[],v=c.getNativeDataTypes();return h.concat(v)}},{key:"processAndExecuteHook",value:function(u){return function(c){return function(h){var v,f=(v={},A(v,t.dragStart,function(){var g={},m=!1,E=a.getDragItemStart(c,h,g),w=c.dragSource.dragStart(E,c.target);if(c.setValidDragItem(w),w&&(m=!0,g.avatarDOM)){var I=g.avatarDOM,M=g.count;c.setEmptyNativeAvatar(),n.createAvatar(I,c,M)}return m}),A(v,t.dragEnter,function(){var g=c.dropTarget.dragEnter(a.getDragItemForDropEvents(c,h),c.target,c.position);return g}),A(v,t.dragOver,function(){c.dropTarget.dragOver&&c.dropTarget.dragOver(a.getDragItemForDropEvents(c,h),c.target,c.position)}),A(v,t.dragLeave,function(){c.dropTarget.dragLeave&&c.dropTarget.dragLeave(a.getDragItemForDropEvents(c,h),c.target,c.position)}),A(v,t.drop,function(){c.dropTarget.drop(a.getDragItemForDropEvents(c,h),c.target,c.position)}),A(v,t.dragEnd,function(){c.dragSource.dragEnd&&c.dragSource.dragEnd(a.getDragItemEnd(c,h),c.target)}),v);try{return f[u]()}catch(g){return r.warn(g),!1}}}}}]),a}();return s},_,P),_.exports=S},75072:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(n,e){var t=e.spliceDragSource,r=e.dndListener;A(this,d),this._validate(n);var i=n.dragSource,s=n.lifecycle,a=n.allowGlobal;this.dragStart=s.start,this._removeFromContext=t,this.dragEnd=s.end,typeof i=="string"&&(this._dragSourceType="SELECTOR",this._dragSourceSelector=i),i instanceof Node&&(this._dragSourceType="DOM",this._dragSourceDOM=i),this._allowGlobal=!!a,r.setDraggableAttribute(this),this._dndListener=r}return C(d,[{key:"_validate",value:function(e){if(!e.dragSource)throw new Error("Expected: dragSource key should be defined");if(!e.lifecycle)throw new Error("Expected: lifecycle key should be defined");if(!e.lifecycle.start)throw new Error("Expected: lifecycle should have start function defined")}},{key:"destroy",value:function(){this._dndListener.removeDraggableAttribute(this),this._removeFromContext(),this.dragStart=null,this.dragEnd=null,this._dragSourceDOM=null,this._dragSourceType=null,this._dragSourceSelector=null}},{key:"allowGlobal",get:function(){return this._allowGlobal}},{key:"type",get:function(){return this._dragSourceType}},{key:"domNode",get:function(){return this._dragSourceDOM}},{key:"selector",get:function(){return this._dragSourceSelector}}]),d}();return p},_,P),_.exports=S},46201:(_,P,l)=>{"use strict";var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var d=function(){function n(e,t){var r=t.spliceDropTarget;p(this,n),this.validate(e);var i=e.dropTarget,s=e.lifecycle,a=e.rowRegions,o=e.columnRegions,u=e.allowGlobal;this._removeFromDropTargets=r,typeof i=="string"&&(this._dropTargetType="SELECTOR",this._dropTargetSelector=i),(i instanceof Node||i.nodeName==="#document")&&(this._dropTargetType="DOM",this._dropTargetDOM=i),this._allowGlobal=!!u,this.dragEnter=s.enter,this.dragOver=s.hover,this.dragLeave=s.leave,this.drop=s.drop,this.rowRegions=a,this.columnRegions=o}return A(n,[{key:"validate",value:function(t){if(!t.dropTarget)throw new Error("Expected: dropTarget key should be defined");if(!t.lifecycle)throw new Error("Expected: lifecycle key should be defined");if(!(t.lifecycle.enter&&t.lifecycle.drop))throw new Error("Expected: lifecycles should have enter and drop functions defined ");if(t.rowRegions){var r=C(t.rowRegions);if(r!=="function"&&r!=="string")throw new Error("Expected: rowRegions should be of type string or function");if(r==="string"&&!this._validateRegions(t.rowRegions))throw new Error("Expected: rowRegions should be of format px, % or number")}if(t.columnRegions){var i=C(t.columnRegions);if(i!=="function"&&i!=="string")throw new Error("Expected: columnRegions should be of type string or function");if(i==="string"&&!this._validateRegions(t.columnRegions))throw new Error("Expected: columnRegions should be of format px, % or number")}}},{key:"_validateRegions",value:function(t){var r=/^(([0-9]+(px|%)?)|auto)$/g;return t.split(" ").every(function(i){return i.match(r)!==null})}},{key:"hasRegions",value:function(){return this.hasRowRegions()||this.hasColumnRegions()}},{key:"hasRowRegions",value:function(){return!!this.rowRegions}},{key:"hasColumnRegions",value:function(){return!!this.columnRegions}},{key:"destroy",value:function(){this._removeFromDropTargets(),this._dropTargetType=null,this._dropTargetDOM=null,this._dropTargetSelector=null}},{key:"allowGlobal",get:function(){return this._allowGlobal}},{key:"type",get:function(){return this._dropTargetType}},{key:"domNode",get:function(){return this._dropTargetDOM}},{key:"selector",get:function(){return this._dropTargetSelector}}]),n}();return d},_,P),_.exports=S},44830:(_,P,l)=>{"use strict";var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(48819),l(91994)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(){return A(this,i),p(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"_getDnDlistener",value:function(){for(var a=arguments.length,o=Array(a),u=0;u<a;u++)o[u]=arguments[u];return new(Function.prototype.bind.apply(e,[null].concat(o)))}}]),i}(n);return t},_,P),_.exports=S},84089:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({dragOverCoordinates:"dragOverCoordinates",dragOver:"dragOver",dragStart:"dragStart",dragEnd:"dragEnd",dragEnter:"dragEnter",dragLeave:"dragLeave",drop:"drop"})},_,P),_.exports=S},21684:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({COPY:"COPY",MOVE:"MOVE",LINK:"LINK",ALL:"ALL",NONE:"NONE"})},_,P),_.exports=S},36204:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(){A(this,d)}return C(d,null,[{key:"pipe",value:function(){var e=[].concat(Array.prototype.slice.call(arguments));return function(){for(var t=e[0].apply(this,arguments),r=1;r<e.length;r+=1)t=e[r].call(this,t);return t}}}]),d}();return p},_,P),_.exports=S},21861:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(27962)],S=l.dj.d(b,function(p){"use strict";var d=`<div class ='mw-dnd-avatar-container-1'>
<div class='mw-dnd-avatar-container-2'>
<div class='mw-dnd-avatar-child'>
<div class='mw-dnd-avatar-child-content'> </div>
</div>
</div>
</div>
</div>`,n=function(){C(e,null,[{key:"StatusEnum",get:function(){return{VALID:"VALID",INVALID:"INVALID"}}}]);function e(t,r,i,s){A(this,e),this._singleSelect=!1,this._validate(t,s),this._avatarContainer=this._decorateAvatar(t,s),this._updatePosition(r,i),document.body.appendChild(this._avatarContainer)}return C(e,[{key:"_validate",value:function(r,i){if(r instanceof Node){if(i&&isNaN(i))throw new Error("Expected: count should be of type Number");return!0}else throw new Error("Expected: avatar should be of type Node")}},{key:"_decorateAvatar",value:function(r,i){var s=document.createElement("div");s.classList.add("mw-dnd-avatar"),p.showsNotAllowedPointerOnInvalidDnD&&s.classList.add("mw-dnd-pointer-not-allowed-support"),s.setAttribute("data-test-id","avatarElement");var a=new DOMParser().parseFromString(d,"text/html");return s.appendChild(a.querySelector(".mw-dnd-avatar-container-1")),!i||i<=1?(s.classList.add("mw-dnd-single-select","mw-dnd-invalid-target"),this._singleSelect=!0):(s.classList.add("mw-dnd-multi-select","mw-dnd-invalid-target"),s.setAttribute("data-multi-select-count",i),this._singleSelect=!1),s.querySelector(".mw-dnd-avatar-child-content").appendChild(r),s}},{key:"enterValidDropTarget",value:function(){this._avatarContainer.classList.remove("mw-dnd-invalid-target"),this._avatarContainer.classList.add("mw-dnd-valid-target")}},{key:"leaveValidDropTarget",value:function(){this._avatarContainer.classList.remove("mw-dnd-valid-target"),this._avatarContainer.classList.add("mw-dnd-invalid-target")}},{key:"updatePosition",value:function(r,i){window.requestAnimationFrame(function(){this._updatePosition(r,i)}.bind(this))}},{key:"_updatePosition",value:function(r,i){var s=void 0;this._singleSelect?s=15:s=25,this._avatarContainer.style.transform="translate("+(r+s)+"px, "+(i-5)+"px)"}},{key:"remove",value:function(){document.body.removeChild(this._avatarContainer)}},{key:"avatarContainer",get:function(){return this._avatarContainer}}]),e}();return n},_,P),_.exports=S},91994:(_,P,l)=>{"use strict";var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(43823),l(11788),l(36204),l(27618)],S=l.dj.d(b,function(e,t,r,i){var s=function(a){n(o,a);function o(){return p(this,o),d(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return C(o,[{key:"_getDropTargetPipeLine",value:function(){return r.pipe(i.addHandlersForEvents,i.addListenersUseCapture,i.removeListenerHandlerUseCapture)}},{key:"_handleDragEnter",value:function(c){o._hasFiles(c.event)&&A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleDragEnter",this).call(this,c)}},{key:"_handleDragLeave",value:function(c){o._hasFiles(c.event)&&A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleDragLeave",this).call(this,c)}},{key:"_handleDragOver",value:function(c){o._hasFiles(c.event)&&A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleDragOver",this).call(this,c)}},{key:"_handleDrop",value:function(c){o._hasFiles(c.event)&&A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleDrop",this).call(this,c)}}],[{key:"_hasFiles",value:function(c){return t.hasFileContent(c.dataTransfer)}}]),o}(e);return s},_,P),_.exports=S},43823:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(37089),l(11788),l(36204),l(27618),l(27962),l(9808),l(84089)],S=l.dj.d(b,function(p,d,n,e,t,r,i){var s=function(){function a(o,u,c,h,v,f){A(this,a),this._on=new p,this._isDragStartedInContext=h,this._listeners=[],this._getDragSources=u,this._getDropTargets=c,this._dragEnterLeaveCounterMap=new WeakMap,this._getDropStatus=v,this._getDragOperations=f,this._removeDragSourceListeners=this._attachDragSourceEvents(o,["dragstart"]),this._removeDropTargetListeners=this._attachDropTargetEvents(o,["dragenter","drop","dragover","dragleave"]),this._contextDOM=o}return C(a,[{key:"destroy",value:function(){this._listeners.forEach(function(u){u.remove()}),this._removeDragSourceListeners(),this._removeDropTargetListeners()}},{key:"_attachDragEndEvent",value:function(u){this._dragEndRemoveListener=this._attachDragSourceEvents(u,["dragend"])}},{key:"_removeDragEndEvent",value:function(){this._dragEndRemoveListener()}},{key:"_attachDragSourceEvents",value:function(u,c){var h=this,v=c.map(function(w){return h.handleEventsEnum[w]}),f=n.pipe(e.addHandlersForEvents,e.addListeners,e.removeListenerHandler),g={attachDragEndEvent:this._attachDragEndEvent.bind(this),removeDragEndEvent:this._removeDragEndEvent.bind(this)},m=this._on,E=this._getDragSources;return f({html5DnDEvents:c,handleEvents:v,on:m,domNode:u,getDragSources:E,handleDragEndListener:g})}},{key:"_getDropTargetPipeLine",value:function(){return n.pipe(e.addHandlersForEvents,e.addListeners,e.removeListenerHandler)}},{key:"_attachDropTargetEvents",value:function(u,c){var h=this,v=c.map(function(R){return h.handleEventsEnum[R]}),f=this._getDropTargetPipeLine(),g=this._on,m=this._getDropTargets,E=this._dragEnterLeaveCounterMap,w=this._isDragStartedInContext,I=this._getDropStatus,M=this._getDragOperations;return f({html5DnDEvents:c,handleEvents:v,on:g,domNode:u,getDropTargets:m,dragEnterLeaveCounterMap:E,isDragStartedInContext:w,getDropStatus:I,getDragOperations:M})}},{key:"_handleDragEnter",value:function(u){var c=u.event,h=u.domNode,v=u.on,f=u.getDropTargets,g=u.dragEnterLeaveCounterMap,m=u.isDragStartedInContext,E=u.getDropStatus,w=u.getDragOperations,I=e.validateDrag({getDropTargets:f,event:c,isDragStartedInContext:m,contextDOM:h});if(I){c.dataTransfer.dropEffect=e.getDropEffect(c,E,w),c.preventDefault();var M=I.matchedDragElement,R=I.matchedParentDOM;if(g.has(R)){var T=g.get(R);T++,g.set(R,T)}else g.set(R,1),v.emit(i.dragEnter,{type:i.dragEnter,dropEffect:c.dataTransfer.dropEffect,dropTarget:M,target:R,getNativeDataByType:e.createNativeDataByType(c),nativeTypes:a.TYPES,getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,M.allowGlobal)},xCoord:c.pageX,yCoord:c.pageY,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}})}}},{key:"_handleDragLeave",value:function(u){var c=u.event,h=u.domNode,v=u.on,f=u.getDropTargets,g=u.dragEnterLeaveCounterMap,m=u.isDragStartedInContext,E=u.getDropStatus,w=u.getDragOperations,I=e.validateDrag({getDropTargets:f,event:c,isDragStartedInContext:m,contextDOM:h});if(I){c.preventDefault();var M=I.matchedDragElement,R=I.matchedParentDOM;c.dataTransfer.dropEffect=e.getDropEffect(c,E,w);var T=g.get(R);T>1?(T--,g.set(R,T)):(g.delete(R),v.emit(i.dragLeave,{type:i.dragLeave,xCoord:c.pageX,yCoord:c.pageY,dropEffect:c.dataTransfer.dropEffect,dropTarget:M,target:R,getNativeDataByType:e.createNativeDataByType(c),getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,M.allowGlobal)},nativeTypes:a.TYPES,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}}))}}},{key:"_handleDrop",value:function(u){var c=u.event,h=u.domNode,v=u.on,f=u.getDropTargets,g=u.dragEnterLeaveCounterMap,m=u.isDragStartedInContext,E=u.getDropStatus,w=u.getDragOperations,I=e.validateDrag({getDropTargets:f,event:c,isDragStartedInContext:m,contextDOM:h});if(I){c.preventDefault();var M=I.matchedDragElement,R=I.matchedParentDOM;c.dataTransfer.dropEffect=e.getDropEffect(c,E,w),g.delete(R),v.emit(i.drop,{type:i.drop,xCoord:c.pageX,yCoord:c.pageY,dropEffect:c.dataTransfer.dropEffect,dropTarget:M,target:R,getNativeDataByType:e.createNativeDataByType(c),getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,M.allowGlobal)},nativeTypes:a.TYPES,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}})}}},{key:"_handleDragOver",value:function(u){var c=new r(u);c.handleDragOver()}},{key:"_handleDragStart",value:function(u){var c=u.event,h=u.on,v=u.getDragSources,f=u.handleDragEndListener,g=v(),m=e.matchDragSourceFromEvent(c,g);if(m){var E=m.matchedDragElement,w=m.matchedParentDOM;c.dataTransfer.setData(d.dndDefaultTypeEnum,""),f.attachDragEndEvent(w,h,g),h.emit(i.dragStart,{type:i.dragStart,dragSource:E,target:w,xCoord:c.pageX,yCoord:c.pageY,setNativeDataByType:function(M,R){switch(M){case a.TYPES.TEXT:{d.setNativeTextData(c.dataTransfer,R);break}default:E.allowGlobal&&d.setNativeDataByType(c.dataTransfer,M,R);break}},getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,E.allowGlobal)},getNativeDataByType:e.createNativeDataByType(c),setValidDragItem:function(M){M?c.dataTransfer.effectAllowed="all":(c.dataTransfer.effectAllowed="none",c.preventDefault())},canSetNativeAvatar:!!c.dataTransfer.setDragImage,setEmptyNativeAvatar:function(){var M=document.createElement("div");M.classList.add("mw-dnd-empty-avatar"),M.appendChild(document.createTextNode("\xA0")),document.body.appendChild(M),c.dataTransfer.setDragImage(M,0,0),setTimeout(function(){document.body.removeChild(M)},0)},nativeTypes:a.TYPES,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}}),e.stopPropagationforDojoDnDParent(c)}}},{key:"_handleDragEnd",value:function(u){var c=u.event,h=u.on,v=u.getDragSources,f=u.handleDragEndListener,g=v(),m=e.matchDragSourceFromEvent(c,g);if(m){var E=m.matchedDragElement,w=m.matchedParentDOM;E&&(f.removeDragEndEvent(),h.emit(i.dragEnd,{type:i.dragEnd,dragSource:E,xCoord:c.pageX,yCoord:c.pageY,target:w,getNativeDataByType:e.createNativeDataByType(c),nativeTypes:a.TYPES,getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,E.allowGlobal)},getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}}))}}},{key:"handleDynamicDragSources",value:function(){this._getDragSources().length>0&&this._getDragSources().forEach(this.setDraggableAttribute,this)}},{key:"setDraggableAttribute",value:function(u){switch(u.type){case"SELECTOR":this._setDraggableAttribute(u.selector);break;case"DOM":u.domNode.setAttribute("draggable",!0),this._setDraggableAttrChildren(u.domNode);break;default:break}}},{key:"removeDraggableAttribute",value:function(u){switch(u.type){case"SELECTOR":this._removeDraggableAttribute(u.selector);break;case"DOM":u.domNode.removeAttribute("draggable"),this._removeDraggableAttrChildren(u.domNode);break;default:break}}},{key:"_setDraggableAttributeToNodeList",value:function(u){for(var c=0;c<u.length;c++){var h=u[c];h.setAttribute("draggable",!0)}}},{key:"_removeDraggableAttributeToNodeList",value:function(u){for(var c=0;c<u.length;c++){var h=u[c];h.removeAttribute("draggable")}}},{key:"_setDraggableAttribute",value:function(u){for(var c=this._getDragSourcesFromContext(u),h=0;h<c.length;h++){var v=c[h];v.setAttribute("draggable",!0),this._setDraggableAttrChildren(v)}}},{key:"_setDraggableAttrChildren",value:function(u){if(t.notSupportNativeElementAvatarOveride){var c=u.querySelectorAll("img");this._setDraggableAttributeToNodeList(c);var h=u.querySelectorAll("a");this._setDraggableAttributeToNodeList(h)}}},{key:"_removeDraggableAttribute",value:function(u){for(var c=this._getDragSourcesFromContext(u),h=0;h<c.length;h++){var v=c[h];v.removeAttribute("draggable"),this._removeDraggableAttrChildren(v)}}},{key:"_getDragSourcesFromContext",value:function(u){var c=Array.from(this._contextDOM.querySelectorAll(u));return this._contextDOM.matches(u)&&c.push(this._contextDOM),c}},{key:"_removeDraggableAttrChildren",value:function(u){if(t.notSupportNativeElementAvatarOveride){var c=u.querySelectorAll("img");this._removeDraggableAttributeToNodeList(c);var h=u.querySelectorAll("a");this._removeDraggableAttributeToNodeList(h)}}},{key:"on",value:function(u,c){var h=this._on.on(u,c);return this._listeners.push(h),h}},{key:"handleEventsEnum",get:function(){return{dragstart:this._handleDragStart,dragend:this._handleDragEnd,dragenter:this._handleDragEnter,dragover:this._handleDragOver,drop:this._handleDrop,dragleave:this._handleDragLeave}}}],[{key:"TYPES",get:function(){return d.getTypes()}}]),a}();return s},_,P),_.exports=S},11788:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({TEXT_PLAIN:"text/plain",FILES:"Files"});return{dndDefaultTypeEnum:"__mw__dnd__native__default__type",getTypes:function(){return{TEXT:C.TEXT_PLAIN,FILES:C.FILES}},getNativeDataTypes:function(p,d){return d?this.getNativeDataTypesGlobal(p):this.getNativeDataTypesLocal(p)},getNativeDataTypesLocal:function(p){var d=this;return Array.from(p.types).filter(function(n){return(n===C.TEXT_PLAIN||n===C.FILES)&&n!==d.dndDefaultTypeEnum})},getNativeDataTypesGlobal:function(p){var d=this,n=Array.from(p.types);return n.filter(function(e){return e!==d.dndDefaultTypeEnum})},getNativeTextData:function(p){return p.getData("text/plain")},setNativeTextData:function(p,d){p.setData("text/plain",d)},getNativeFileData:function(p){return{items:p.items,files:p.files}},setNativeDataByType:function(p,d,n){p.setData(d,n)},getNativeDataByType:function(p,d){return p.getData(d)},hasFileContent:function(p){for(var d=p.items,n=0;n<d.length;n++){var e=d[n];if(e.kind==="file")return!0}var t=p.types;return t.some(function(r){return r===C.FILES})}}},_,P),_.exports=S},9808:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(27962),l(84089),l(27618),l(11788),l(27427),l(22928)],S=l.dj.d(b,function(p,d,n,e,t,r){var i=function(){function s(a){A(this,s),this._nativeEvent=a.event,this._contextDomNode=a.domNode,this._isDragStartedInContext=a.isDragStartedInContext,this._getDropStatus=a.getDropStatus,this._getDragOperations=a.getDragOperations,this._on=a.on,this._getDropTargets=a.getDropTargets}return C(s,[{key:"handleDragOver",value:function(){this._emitDragOverCoordinates();var o=this._getDropTargetIfValid(),u=this._isPlatformMac()&&t.isAvatarPresent&&this._isDragStartedInContext()&&!this._isTargetTextAreaOrInput()&&!this._hasFileContent();if(!o){u&&(this._setDropEffect(u),this._nativeEvent.preventDefault());return}this._setDropEffect(u),this._nativeEvent.preventDefault();var c=o.matchedDragElement,h=o.matchedParentDOM;this._emitDragOver({dropTarget:c,target:h})}},{key:"_hasFileContent",value:function(){return e.hasFileContent(this._nativeEvent.dataTransfer)}},{key:"_isTargetTextAreaOrInput",value:function(){var o=this._nativeEvent.target,u=o&&o.tagName.toLowerCase(),c=["input","textarea"];return c.includes(u)}},{key:"_isPlatformMac",value:function(){return p.isMac}},{key:"_getDropTargetIfValid",value:function(){return n.validateDrag({getDropTargets:this._getDropTargets,event:this._nativeEvent,isDragStartedInContext:this._isDragStartedInContext,contextDOM:this._contextDomNode})}},{key:"_emitDragOverCoordinates",value:function(){this._on.emit(d.dragOverCoordinates,{type:d.dragOverCoordinates,xCoord:this._nativeEvent.pageX,yCoord:this._nativeEvent.pageY})}},{key:"_emitDragOver",value:function(o){var u=this._nativeEvent,c=o.dropTarget,h=o.target,v=u.dataTransfer;this._on.emit(d.dragOver,{type:d.dragOver,xCoord:u.pageX,yCoord:u.pageY,dropEffect:u.dataTransfer.dropEffect,dropTarget:c,target:h,nativeTypes:e.getTypes(),getNativeDataByType:n.createNativeDataByType(u),getNativeDataTypes:function(){return e.getNativeDataTypes(v,c.allowGlobal)},getDropOperation:function(){return n.getDropOperationFromDropEffect(v.dropEffect)}})}},{key:"_setDropEffect",value:function(o){var u=n.getDropEffect(this._nativeEvent,this._getDropStatus,this._getDragOperations,o);this._nativeEvent.dataTransfer.dropEffect=u}}]),s}();return i},_,P),_.exports=S},4501:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(37089),l(43823),l(47954)],S=l.dj.d(b,function(p,d,n){return function(){function e(){var t=this;A(this,e);for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];this._html5DnDListener=new(Function.prototype.bind.apply(d,[null].concat(i))),this._listeners=[],this._html5DnDListener.on("dragStart",function(a){t._on.emit("dragStart",a)}),this._html5DnDListener.on("dragEnter",this._handleDragEnter.bind(this)),this._html5DnDListener.on("dragOverCoordinates",function(a){t._on.emit("dragOverCoordinates",a)}),this._html5DnDListener.on("dragOver",this._handleDragOver.bind(this)),this._html5DnDListener.on("dragLeave",this._handleDragLeave.bind(this)),this._html5DnDListener.on("drop",this._handleDrop.bind(this)),this._html5DnDListener.on("dragEnd",this._handleDragEnd.bind(this)),this._on=new p,this._regionsFunctionReturnCache={row:{},column:{}},this._regionsEnterQueue=[]}return C(e,[{key:"setDraggableAttribute",value:function(){var r;(r=this._html5DnDListener).setDraggableAttribute.apply(r,arguments)}},{key:"removeDraggableAttribute",value:function(){var r;(r=this._html5DnDListener).removeDraggableAttribute.apply(r,arguments)}},{key:"handleDynamicDragSources",value:function(){var r;(r=this._html5DnDListener).handleDynamicDragSources.apply(r,arguments)}},{key:"destroy",value:function(){this._listeners.forEach(function(r){r.remove()}),this._html5DnDListener.destroy()}},{key:"_handleDragEnter",value:function(r){if(r.dropTarget.hasRegions()){var i=this._getRowsAndColumns(r);this._saveDropTargetAndPostionsData(r.target,i),r.position=i}this._on.emit("dragEnter",r)}},{key:"_handleDragOver",value:function(r){if(r.dropTarget.hasRegions()){var i=this._getRowsAndColumns(r);this._hasEnteredBefore(r.target,i)?(r.position=i,this._on.emit("dragOver",r)):(r.position=i,this._on.emit("dragEnter",r),this._saveDropTargetAndPostionsData(r.target,i),r.position=this._regionsEnterQueue.shift().position,this._on.emit("dragLeave",r))}else this._on.emit("dragOver",r)}},{key:"_handleDragLeave",value:function(r){r.dropTarget.hasRegions()&&(r.position=this._regionsEnterQueue.shift().position),this._on.emit("dragLeave",r)}},{key:"_handleDrop",value:function(r){if(r.dropTarget.hasRegions()){var i=this._regionsEnterQueue.shift().position;r.position=i}this._on.emit("drop",r),this._regionsEnterQueue=[],this._regionsFunctionReturnCache={row:{},column:{}}}},{key:"_handleDragEnd",value:function(r){this._on.emit("dragEnd",r),this._regionsEnterQueue=[],this._regionsFunctionReturnCache={row:{},column:{}}}},{key:"_getRowsAndColumns",value:function(r){var i=r.dropTarget,s=r.target,a=r.type,o={row:0,column:0},u=n.getXYCoordinates(r),c=u.xOffset,h=u.yOffset;if(r.dropTarget.hasRowRegions()){var v=this._getRegions(a,i.rowRegions,"row");o.row=n.getRow(h,v,s.offsetHeight)}if(r.dropTarget.hasColumnRegions()){var f=this._getRegions(a,i.columnRegions,"column");o.column=n.getColumn(c,f,s.offsetWidth)}return o}},{key:"_saveDropTargetAndPostionsData",value:function(r,i){this._regionsEnterQueue.push({dropTarget:r,position:i})}},{key:"_hasEnteredBefore",value:function(r,i){var s=this._regionsEnterQueue[this._regionsEnterQueue.length-1];return this._isEqual(r,s.dropTarget)&&this._isEqual(i.row,s.position.row)&&this._isEqual(i.column,s.position.column)}},{key:"_isEqual",value:function(r,i){return r===i}},{key:"_getRegions",value:function(r,i,s){return typeof i!="function"?i:this._handleRegionsFunctionType(r,i,s)}},{key:"_handleRegionsFunctionType",value:function(r,i,s){switch(r){case"dragEnter":return i=i(),this._regionsFunctionReturnCache[s].previous?this._regionsFunctionReturnCache[s].previous=this._regionsFunctionReturnCache[s].current:this._regionsFunctionReturnCache[s].previous=i,this._regionsFunctionReturnCache[s].current=i,i;case"dragOver":case"drop":return this._regionsFunctionReturnCache[s].current;case"dragLeave":return this._regionsFunctionReturnCache[s].previous;default:break}}},{key:"on",value:function(r,i){var s=this._on.on(r,i);return this._listeners.push(s),s}}]),e}()},_,P),_.exports=S},27427:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(21861)],S=l.dj.d(b,function(p){var d=void 0,n=function(){function e(){A(this,e)}return C(e,null,[{key:"createAvatar",value:function(r,i,s){d||(d=new p(r,i.xCoord,i.yCoord,s))}},{key:"clearAvatar",value:function(){d=null}},{key:"customAvatar",get:function(){return d}},{key:"isAvatarPresent",get:function(){return!!d}}]),e}();return n},_,P),_.exports=S},27962:(_,P,l)=>{"use strict";var b,S;b=[l(81896)],S=l.dj.d(b,function(C){var A=C.getSystemInfo(),p=A.PLATFORM.toUpperCase(),d=A.BROWSER.toUpperCase(),n=p.includes("WIN"),e=p.includes("MAC"),t=p.includes("MAC"),r=p.includes("MAC")&&d.includes("SAFARI");return Object.freeze({showsNotAllowedPointerOnInvalidDnD:n,supportsAltKeyForCopy:e,notSupportNativeElementAvatarOveride:r,isMac:t})},_,P),_.exports=S},20060:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){return function(){function p(){A(this,p),this._canDropOnTarget=[]}return C(p,[{key:"addCanTargetDrop",value:function(n,e){this._canDropOnTarget.push({canDrop:n,dropTarget:e})}},{key:"removeTopItem",value:function(){this._canDropOnTarget.shift()}},{key:"empty",value:function(){this._canDropOnTarget=[]}},{key:"getTopItem",value:function(){return this._canDropOnTarget[this._canDropOnTarget.length-1]}},{key:"length",get:function(){return this._canDropOnTarget.length}}]),p}()},_,P),_.exports=S},27618:(_,P,l)=>{"use strict";var b,S;function C(A,p,d){return p in A?Object.defineProperty(A,p,{value:d,enumerable:!0,configurable:!0,writable:!0}):A[p]=d,A}b=[l(11788),l(21861),l(27962),l(21684)],S=l.dj.d(b,function(A,p,d,n){"use strict";var e={get TYPES(){return A.getTypes()},createNativeDataByType:function(r){var i,s=(i={},C(i,e.TYPES.TEXT,A.getNativeTextData),C(i,e.TYPES.FILES,A.getNativeFileData),i);return function(a){return s[a]?s[a](r.dataTransfer):A.getNativeDataByType(r.dataTransfer,a)}},traverseAndMatchDragElements:function(r,i,s,a){for(var o=void 0,u=0;u<a.length;u++){var c=a[u];if(o=e.matchDOMtoDragElements(s,c),o||c===i)return o}},matchDOMtoDragElements:function(r,i){for(var s=void 0,a=void 0,o=!1,u=0;u<r.length;u++){var c=r[u];e.reachedConfiguredDOM(c,i)&&(s=c,a=i,o=!0)}if(o)return{matchedDragElement:s,matchedParentDOM:a}},reachedConfiguredDOM:function(r,i){var s={SELECTOR:function(){return e.anySelectorMatched(i,[r.selector])},DOM:function(){return i&&i===r.domNode}};return s[r.type]()},anySelectorMatched:function(r,i){return r&&r.matches?i.some(function(s){return r.matches(s)}):!1},addHandlersForEvents:function(r){var i=r.handleEvents,s=r.html5DnDEvents,a=r.domNode,o=r.useCapture,u=i.map(function(c){return function(h){r.event=h,c(r)}});return{handlers:u,html5DnDEvents:s,domNode:a,useCapture:o}},reduceDragOperations:function(r,i){if(i.length===0)return r;var s=[];return r.includes(n.COPY)&&i.includes(n.COPY)&&s.push(n.COPY),r.includes(n.MOVE)&&i.includes(n.MOVE)&&s.push(n.MOVE),r.includes(n.LINK)&&i.includes(n.LINK)&&s.push(n.LINK),s},containsModifierKeys:function(){for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return i.reduce(function(a,o){return a||o},!1)},supportsAltKeyForCopy:function(){return d.supportsAltKeyForCopy},getEffectBasedOnPlatform:function(r,i){var s=r.isAltKey,a=r.isCtrlKey;function o(c){var h=e.supportsAltKeyForCopy();return h&&s||!h&&a?"copy":c}var u={copy:function(){return"copy"},move:function(){return"move"},copyMove:function(){return o("copyMove")},all:function(){return o("all")},uninitialized:function(){return o("uninitialized")}};return u[i]?u[i]():i},getDropEffect:function(r,i,s,a){return i()===p.StatusEnum.VALID?e.calculateDropEffect(r,s):a?"move":"none"},calculateDropEffect:function(r,i){var s=A.hasFileContent(r.dataTransfer);if(s)return"copy";var a=r.dataTransfer,o=a.effectAllowed,u=a.dropEffect;if(o==="uninitialized"&&u!=="none")return u;var c=i();c.includes(n.ALL)&&(c=[n.COPY,n.MOVE]);var h=r.altKey,v=r.ctrlKey;if(e.containsModifierKeys(h,v)){var f={isAltKey:h,isCtrlKey:v};o=e.getEffectBasedOnPlatform(f,o)}var g=e.getDragOperationsFromEffectsAllowed(o);return c=e.reduceDragOperations(g,c),c.includes(n.MOVE)?"move":c.includes(n.COPY)?"copy":"none"},addListenersUseCapture:function(r){return r.useCapture=!0,e.addListeners(r)},addListeners:function(r){var i=r.handlers,s=r.html5DnDEvents,a=r.domNode,o=r.useCapture;return s.forEach(function(u,c){switch(u){case"dragover":a!==document&&a.nodeName==="#document"?a.addEventListener(u,i[c],!!o):document.addEventListener(u,i[c],!!o);break;default:a.addEventListener(u,i[c],!!o);break}}),{handlers:i,html5DnDEvents:s,domNode:a,useCapture:o}},isTargetPresentInContext:function(r,i){return r.contains(i.target)},removeListenerHandlerUseCapture:function(r){return r.useCapture=!0,e.removeListenerHandler(r)},removeListenerHandler:function(r){var i=r.handlers,s=r.html5DnDEvents,a=r.domNode,o=r.useCapture;return function(){i.forEach(function(u,c){var h=s[c];switch(h){case"dragover":document.removeEventListener(h,u,!!o);break;default:a.removeEventListener(h,u,!!o);break}})}},validateDrag:function(r){var i=r.getDropTargets,s=r.event,a=r.isDragStartedInContext,o=r.contextDOM;if(e.isTargetPresentInContext(o,s)){var u=i(),c=e.containsAllowGlobalDropTargets(u);return c?e._validateAllowGlobal({event:s,contextDOM:o,dropTargets:u,isDragStartedInContext:a}):e._validateWithoutAllowGlobal({event:s,contextDOM:o,dropTargets:u,isDragStartedInContext:a})}},_validateAllowGlobal:function(r){var i=r.event,s=r.contextDOM,a=r.dropTargets,o=r.isDragStartedInContext,u=A.getNativeDataTypesGlobal(i.dataTransfer);if(!(u.length===0&&!o())){var c=e.matchDragElements({event:i,contextDOM:s,dragElements:a});if(c){var h=c.matchedDragElement;if(!h.allowGlobal&&!o()){var v=A.getNativeDataTypesLocal(i.dataTransfer);if(v.length===0)return}return c}}},matchDragSourceFromEvent:function(r,i){return e.matchDragElements({event:r,contextDOM:r.currentTarget,dragElements:i})},_validateWithoutAllowGlobal:function(r){var i=r.event,s=r.contextDOM,a=r.dropTargets,o=r.isDragStartedInContext,u=A.getNativeDataTypesLocal(i.dataTransfer);if(!(!o()&&u.length===0)){var c=e.matchDragElements({event:i,contextDOM:s,dragElements:a});if(c)return c}},matchDragElements:function(r){var i=r.event,s=r.contextDOM,a=r.dragElements,o=e.getComposedPath(i),u=e.traverseAndMatchDragElements(i.target,s,a,o);return u},getDragOperationsFromEffectsAllowed:function(r){var i={copy:[n.COPY],move:[n.MOVE],link:[n.LINK],copyLink:[n.COPY,n.LINK],copyMove:[n.MOVE,n.COPY],linkMove:[n.MOVE,n.LINK],all:[n.MOVE,n.COPY,n.LINK],uninitialized:[n.MOVE,n.COPY,n.LINK],none:[n.NONE]};return i[r]||[]},getDropOperationFromDropEffect:function(r){var i={copy:n.COPY,move:n.MOVE,link:n.LINK,none:n.NONE};return i[r]},containsAllowGlobalDropTargets:function(r){return r.some(function(i){return i.allowGlobal})},getComposedPath:function(r){if(r.composedPath)return r.composedPath();var i=[],s=r.target;for(i.push(s);s.parentNode;)s=s.parentNode,i.push(s);return i.concat(window)},stopPropagationforDojoDnDParent:function(r){var i=[".dojoDndContainer",".dojoDndSource",".dojoDndTarget"],s=function(u){return e.anySelectorMatched(u,i)},a=e.getComposedPath(r);a.some(s)&&r.stopPropagation()}};return e},_,P),_.exports=S},37089:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d),this._events={}}return C(d,[{key:"on",value:function(e,t){var r=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var i={};return i.remove=function(){var s=r._events[e].indexOf(t);r._events[e].splice(s,1),i.remove=function(){return null}},i}},{key:"emit",value:function(e,t){var r=this._events[e],i=Object.getOwnPropertyNames(t),s={};s.eventName=e,i.forEach(function(o){s[o]=t[o]});var a=function(u){u&&u.forEach(function(c){c(s)})};a(r)}}]),d}();return p},_,P),_.exports=S},47954:(_,P,l)=>{"use strict";var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){return function(){function p(){A(this,p)}return C(p,null,[{key:"getXYCoordinates",value:function(n){var e=n.xCoord,t=n.yCoord,r=n.target,i=r.getBoundingClientRect(),s=i.left,a=i.top;return{xOffset:e-s,yOffset:t-a}}},{key:"getRow",value:function(){return p.getRegion.apply(p,arguments)}},{key:"getColumn",value:function(){return p.getRegion.apply(p,arguments)}},{key:"getRegion",value:function(n,e,t){e=p._convertPixelsPercentagesToNumbers(e,t),e=p._convertStrAutoToNumbers(e,t);var r=p._getRegionLimits(e);return p._calcRegionIndex(r,n,t)}},{key:"_convertPixelsPercentagesToNumbers",value:function(n,e){var t=n.split(" "),r=t.map(function(i){return i.includes("px")?parseInt(i):i.includes("%")?parseInt(i)*e/100:i});return r.join(" ")}},{key:"_convertStrAutoToNumbers",value:function(n,e){var t=n.split(" "),r=t.filter(function(o){return o==="auto"});if(r.length===0)return t.map(function(o){return Number(o)});var i=p._sumOfRegions(t),s=e-i,a=0;return s>0&&(a=s/r.length),t.map(function(o){return isNaN(o)?a:Number(o)})}},{key:"_sumOfRegions",value:function(n){return n.reduce(function(e,t){return isNaN(t)||(e=e+Number(t)),e},0)}},{key:"_calcRegionIndex",value:function(n,e,t){return e<t?p._calcCoordWithInSize(n,e):p._calcCoordExceedsSize(n,t)}},{key:"_calcCoordWithInSize",value:function(n,e){var t=p._getMaxRegionsData(n),r=t.maxRegionsSize,i=t.maxRegionsIndex;if(e<r){for(var s=0;s<=i;s++)if(e<n[s])return s}else return i+1}},{key:"_calcCoordExceedsSize",value:function(n,e){var t=p._getMaxRegionsData(n),r=t.maxRegionsSize,i=t.maxRegionsIndex;return r<e?i+1:i}},{key:"_getMaxRegionsData",value:function(n){var e=n.length-1,t=n[e];return{maxRegionsSize:t,maxRegionsIndex:e}}},{key:"_getRegionLimits",value:function(n){var e=0;return n.map(function(t){return e=e+t,e})}}]),p}()},_,P),_.exports=S},17614:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};class A{constructor(){this._map=null}on(d,n){return this._map===null&&(this._map=new Map),this._map.has(d)?this._map.get(d).push(n):this._map.set(d,[n]),{remove:()=>{this.off(d,n)}}}emit(d,...n){if(this._map===null)return;const e=this._map.get(d);e&&[...e].forEach(t=>{t(...n)})}off(d,n){if(this._map===null)return;const e=this._map.get(d);if(e)if(n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}else this._map.set(d,[])}}return C.default=A,C.default},_,P),_.exports=S},53141:(_,P,l)=>{var b,S;b=[l(23702)],S=l.dj.d(b,function(C){var A=C("mac")?"":"+",p=", ",d=C("mac")?"":"NumPad-",n=C("mac")?"":"NumPad ",e="NUMPAD-",t=/NUMPAD-\d/,r=["CTRL","ALT","SHIFT","META"],i={CTRL:{macString:"\u2303",otherPlatformString:"Ctrl"},META:{macString:"\u2318",otherPlatformString:"Ctrl"},SHIFT:{macString:"\u21E7",otherPlatformString:"Shift"},ALT:{macString:"\u2325",otherPlatformString:"Alt"},ENTER:{macString:"\u23CE",otherPlatformString:"Enter"},DELETE:{macString:"\u2326",otherPlatformString:"Delete"},DEL:{macString:"\u2326",otherPlatformString:"Del"},SPACEBAR:{macString:"\u2423",otherPlatformString:"Spacebar"},SPACE:{macString:"\u2423",otherPlatformString:"Space"},UP:{macString:"\u2191",otherPlatformString:"Up"},DOWN:{macString:"\u2193",otherPlatformString:"Down"},LEFT:{macString:"\u2190",otherPlatformString:"Left"},RIGHT:{macString:"\u2192",otherPlatformString:"Right"},HOME:{macString:"\u2196",otherPlatformString:"Home"},END:{macString:"\u2198",otherPlatformString:"End"},PAGEUP:{macString:"\u21DE",otherPlatformString:"Page Up"},PAGEDOWN:{macString:"\u21DF",otherPlatformString:"Page Down"},PLUS:{macString:"+",otherPlatformString:"Plus"},"+":{macString:"+",otherPlatformString:"Plus"},MINUS:{macString:"-",otherPlatformString:"Minus"},"-":{macString:"-",otherPlatformString:"Minus"},TAB:{macString:"\u21E5",otherPlatformString:"Tab"},ESCAPE:{macString:"\u238B",otherPlatformString:"Esc"},BACKSPACE:{macString:"\u232B",otherPlatformString:"Backspace"},CLEAR:{macString:"\u2327",otherPlatformString:"Clear"},PAUSE:{macString:"Pause",otherPlatformString:"Pause"},INSERT:{macString:"Insert",otherPlatformString:"Insert"}};function s(o){var u=o.match(t)?d:n;return o.replace(e,u)}function a(o){o.sort(function(u,c){return r.indexOf(u)-r.indexOf(c)})}return{getPlatformSpecificString:function(o,u){u=u||{};var c=o.split(/,(?=[^,])/),h=c.map(function(v){v=v.replace(/ /g,""),v=v.replace(/_/g,"+"),v=v.toUpperCase(),v=v.replace(/CNTRL|CONTROL/g,"CTRL"),C("mac")&&!u.dontConvertCtrlToCmd&&(v=v.replace(/CTRL/g,"META")),v.match(/NUMPAD\D$/)&&(v=v.replace("NUMPAD",e)),/[^+-]\+$/.test(v)&&(v+="+");var f=v.split(/\+(?!$)/),g=f.pop();g.indexOf(e)===0&&(g=s(g)),u.sortModifiers&&a(f),f.push(g);var m=f.map(function(E){var w=i[E];return w?C("mac")?w.macString:w.otherPlatformString:E});return m.join(A)});return h.join(p)}}},_,P),_.exports=S},152:(_,P,l)=>{var b,S;b=[l(74786),l(86560),l(75058),l(17819),l(91824),l(18248),l(83830),l(91457),l(36158),l(27551),l(56827),l(14275),l(20916),l(47231),l(52398),l(31398),l(84925),l(78869),l(96257),l(53641),l(90082),l(64801)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,E,w,I){var M=13,R=32,T=9;return C(E.validate([p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,w]),{baseClass:"mwWidget mwPushButton",templateString:I,postCreate:function(){this.inherited(arguments),this.own(A(this.domNode,"keydown",this._handleKeydown.bind(this)),A(this.domNode,"keyup",this._handleKeyup.bind(this)))},_handleKeydown:function(N){if(!(this.domNode.closest(".enableInactive")!=null&&N.keyCode!=T))switch(N.keyCode){case M:this.get("disabled")||N.target.click(),N.preventDefault();break;case R:N.preventDefault();break}},_handleKeyup:function(N){if(!(this.domNode.closest(".enableInactive")!=null&&N.keyCode!=T))switch(N.keyCode){case M:N.preventDefault();break;case R:this.get("disabled")||N.target.click(),N.preventDefault();break}},_qeClick:function(){this.emit("click")}})},_,P),_.exports=S},90082:(_,P,l)=>{var b,S;b=[l(74786),l(52398)],S=l.dj.d(b,function(C,A){var p=C(null,{postCreate:function(){this.inherited(arguments);var d=this.id+"_label";this.focusNode.setAttribute("aria-labelledby",d),this.textNode.setAttribute("id",d)}});return p._dependencies=[{mixin:A,orderDependent:!1}],p},_,P),_.exports=S},78869:(_,P,l)=>{var b,S;b=[l(74786),l(37672),l(47231)],S=l.dj.d(b,function(C,A,p){var d=C(null,{_paddingAndBorder:6,_setSize:function(n,e){if(this.inherited(arguments),!!this._started){var t="";e==="auto"||e==="100%"?(t=e,this._setSpecialSizeOnAdditionalNodes(n,"none")):(t=this._getAdjustedSize(n,e,this.domNode),this._setSpecialSizeOnAdditionalNodes(n,parseFloat(t)-this._paddingAndBorder+"px")),this.contentWrapperNode.style[n]="100%"}},_setSpecialSizeOnAdditionalNodes:function(n,e){n==="width"?this.iconAndTextContainerNode.style.maxWidth=e:n==="height"&&(this.textNode.style.maxHeight=e)}});return d._dependencies=[{mixin:p,orderDependent:!0}],d},_,P),_.exports=S},96257:(_,P,l)=>{var b,S;b=[l(74786),l(86560)],S=l.dj.d(b,function(C,A){return C(null,{postCreate:function(){this.inherited(arguments),this._getNonSelectableNodes().forEach(function(p){A(p,"selectstart",function(d){["INPUT","TEXTAREA"].indexOf(d.target.nodeName)===-1&&d.preventDefault()})})},_getNonSelectableNodes:function(){return[this.domNode]}})},_,P),_.exports=S},53641:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=function(p,d){if(p<d)throw new Error("mixin dependency specified in invalid order")},A=function(p){return p};return{validate:A}},_,P),_.exports=S},36158:(_,P,l)=>{var b,S;b=[l(74786),l(53141)],S=l.dj.d(b,function(C,A){return C(null,{description:"",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwDescriptionMixin"),this.set("description",this.get("description"))},_setDescriptionAttr:function(p){if(typeof p!="string")throw new Error("'description' property expects a literal string!");this._updateDescription(p),this._set("description",p)},_updateDescription:function(p){this._lastKnownDescription=p,this.descriptionNode?(this.descriptionNode.textContent=p,this.get("showDescription")===!1?this.domNode.classList.add("mwHideDescription"):p===""?this.domNode.classList.add("mwHideDescription"):this.domNode.classList.remove("mwHideDescription")):this._updateTitle(p)},_updateTitle:function(p,d){var n;d?(p!==""&&p!==void 0&&(p=this._lastKnownDescription===""?p:" ("+p+")"),n=this._lastKnownDescription+p):this.get("shortcut")?n=p?p+" ("+A.getPlatformSpecificString(this.get("shortcut"))+")":A.getPlatformSpecificString(this.get("shortcut")):n=p;var e=this.getTitleNodes();e.forEach(function(t){t.setAttribute("title",n)})},getTitleNodes:function(){return[this.domNode]}})},_,P),_.exports=S},27551:(_,P,l)=>{var b,S;b=[l(74786)],S=l.dj.d(b,function(C){return C(null,{disabled:!1,postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwDisabledMixin"),this.set("disabled",this.get("disabled")),this._disableInteractionHandler=this._disableInteractionHandler.bind(this),this._addDisableListener(this.domNode,this._disableInteractionHandler)},startup:function(){this.inherited(arguments),this.get("disabled")&&(this.domNode.dojoClick=!1)},destroy:function(){this.domNode&&this._removeDisableListener(this.domNode,this._disableInteractionHandler),this.inherited(arguments)},_disableInteractionHandler:function(A){this.get("disabled")&&this._disabledInteraction(A)},_disabledInteraction:function(A){A.stopImmediatePropagation();var p=document.createEvent("MouseEvent");p.initMouseEvent(A.type,A.bubbles,A.cancelable,A.view,A.detail,A.screenX,A.screenY,A.clientX,A.clientY,A.ctrlKey,A.altKey,A.shiftKey,A.metaKey,A.button,A.relatedTarget),this.domNode.parentElement.dispatchEvent(p)},_addDisableListener:function(A,p){window.PointerEvent&&A.addEventListener("pointerdown",p,!0),A.addEventListener("mousedown",p,!0),A.addEventListener("click",p,!0)},_removeDisableListener:function(A,p){window.PointerEvent&&A.removeEventListener("pointerdown",p,!0),A.removeEventListener("mousedown",p,!0),A.removeEventListener("click",p,!0)},_updateDisableNode:function(A){A?(this.domNode.classList.add("mwDisabled"),this.domNode.classList.remove("mwEnabled")):(this.domNode.classList.add("mwEnabled"),this.domNode.classList.remove("mwDisabled"))},_setDisabledAttr:function(A){if(typeof A!="boolean")throw new Error("'disabled' property expects a boolean!");this._set("disabled",A),this._updateDisableNode(A),this.set("hovering",!1),this.set("active",!1),this._setAriaDisabled(),this.baseClass.split(" ").forEach(function(p){A?this.domNode.classList.add(p+"Disabled"):this.domNode.classList.remove(p+"Disabled")}.bind(this)),A?(this.domNode.classList.add("dijitDisabled"),this.domNode.dojoClick=!1):(this.domNode.classList.remove("dijitDisabled"),this.domNode.dojoClick=void 0),this._setTabIndexOnNode(this.focusNode)},_setTabIndexOnNode:function(A){this.get("disabled")?A.removeAttribute("tabIndex"):A.setAttribute("tabIndex","0")},_setAriaDisabled:function(){var A=this.disabledNode?this.disabledNode:this.domNode;A.setAttribute("aria-disabled",this.get("disabled")&&!this.get("dropDownNeverDisabled")?"true":"false")}})},_,P),_.exports=S},56827:(_,P,l)=>{var b,S;b=[l(74786)],S=l.dj.d(b,function(C){var A=["left","center","right"],p="mwHorizontalAlignment",d={},n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)};return Object.keys(A).forEach(function(e){d[A[e]]=p+n(A[e])}),C(null,{horizontalAlignment:"center",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwHorizontalAlignmentMixin")},_setHorizontalAlignmentAttr:function(e){if(A.indexOf(e)===-1)throw new Error("'Vertical alignment' property expects '' one of these values: "+A);this._applyHorizontalAlignmentClass(e),this._set("horizontalAlignment",e)},_applyHorizontalAlignmentClass:function(e){var t,r,i;t=this.get("horizontalAlignment"),r=d[t],r&&this.domNode.classList.remove(r),i=d[e],this.domNode.classList.add(i)}})},_,P),_.exports=S},14275:(_,P,l)=>{var b,S;b=[l(74786),l(92087),l(52398),l(20916)],S=l.dj.d(b,function(C,A,p,d){var n=C(null,{CLASS_NAME_PREFIX:"mwIconAlignment",constructor:function(){this.ICON_ALIGNMENT_CONFIGURATION={top:{className:this.CLASS_NAME_PREFIX+"Top",textNodeLocation:"after"},right:{className:this.CLASS_NAME_PREFIX+"Right",textNodeLocation:"before"},bottom:{className:this.CLASS_NAME_PREFIX+"Bottom",textNodeLocation:"before"},left:{className:this.CLASS_NAME_PREFIX+"Left",textNodeLocation:"after"}}},iconAlignment:"left",_supportedValues:["top","right","bottom","left"],postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwIconAlignmentMixin")},_setIconAlignmentAttr:function(e){if(!(this.get("iconAlignment")===e&&this._started)){if(this._supportedValues.indexOf(e)===-1)throw new Error("'iconAlignment' property expects one of these values: "+this._supportedValues);var t=this.ICON_ALIGNMENT_CONFIGURATION[this.get("iconAlignment")].className;this.domNode.classList.remove(t);var r=this.ICON_ALIGNMENT_CONFIGURATION[e].className;this.domNode.classList.add(r);var i=this.ICON_ALIGNMENT_CONFIGURATION[e].textNodeLocation;A.place(this.textNode,this.iconNode,i),this._set("iconAlignment",e)}}});return n._dependencies=[{mixin:p,orderDependent:!1},{mixin:d,orderDependent:!1}],n},_,P),_.exports=S},20916:(_,P,l)=>{var b,S;b=[l(74786),l(69961),l(92087),l(86560),l(12395)],S=l.dj.d(b,function(C,A,p,d,n){return C(null,{_iconTypes:{DATA_URI:"data_uri",PATH_URI:"path_uri",CSS_CLASS:"css_class",SVG_ICON:"svg_icon"},icon:"",_lastIconApplied:"",_lastSvgIconApplied:void 0,_lastSvgNode:void 0,postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwIconMixin"),this.set("icon",this.get("icon"))},_setIconAttr:function(e){this._set("icon",e),this._updateDOM(e)},_updateDOM:function(e){this._removeOldIcon(),this._applyNewIcon(e)},_removeOldIcon:function(){var e=this._lastIconApplied,t=this._getIconType(e);if(t===this._iconTypes.DATA_URI||t===this._iconTypes.PATH_URI)this._removeImageStyles(this.iconNode);else if(t===this._iconTypes.CSS_CLASS&&e!==""){var r=e.trim().split(" ");r.forEach(function(i){this.iconNode.classList.remove(i)},this)}this._removeOldSvgIcon()},_applyNewIcon:function(e){var t=this._getIconType(e);if(t===this._iconTypes.DATA_URI||t===this._iconTypes.PATH_URI){var r=p.create("img",{src:e});this.own(d.once(r,"load",A.hitch(this,function(){this._applyImageStyles(this.iconNode,e,r),this.emit("iconapplied"),this.emit("updatelayout"),p.destroy(r)}))),this._lastIconApplied=e}else if(t===this._iconTypes.CSS_CLASS){if(e!==""){var i=e.trim().split(" ");i.forEach(function(a){this.iconNode.classList.add(a)},this)}this._lastIconApplied=e}else if(t===this._iconTypes.SVG_ICON&&n.getInstance()&&e.hasOwnProperty("id")){var s={};Object.assign(s,e),this._lastSvgIconApplied=s,n.getInstance().getIcon(e).then(function(a){this.iconNode&&this._lastSvgIconApplied===s&&(this.iconNode.appendChild(a),this.iconNode.style.height=e.height+"px",this.iconNode.style.width=e.width+"px",this._lastSvgNode=a)}.bind(this))}t!==this._iconTypes.SVG_ICON&&e.length===0||t===this._iconTypes.SVG_ICON&&!e.hasOwnProperty("id")?this.domNode.classList.add("mwNoIcon"):this.domNode.classList.remove("mwNoIcon")},_removeOldSvgIcon:function(){this.iconNode&&this._lastSvgIconApplied&&(this._lastSvgNode&&this.iconNode.removeChild(this._lastSvgNode),this._lastSvgIconApplied=void 0,this._lastSvgNode=void 0)},_getIconType:function(e){return typeof e=="object"?this._iconTypes.SVG_ICON:e.indexOf("data:")>-1?this._iconTypes.DATA_URI:e.match(/\./)?this._iconTypes.PATH_URI:this._iconTypes.CSS_CLASS},_applyImageStyles:function(e,t,r){e.style.backgroundImage='url("'+t+'")',e.style.width=r.width+"px",e.style.height=r.height+"px"},_removeImageStyles:function(e){e.style.backgroundImage="",e.style.width="",e.style.height=""}})},_,P),_.exports=S},47231:(_,P,l)=>{var b,S;b=[l(69961),l(74786)],S=l.dj.d(b,function(C,A){return A(null,{width:"auto",height:"auto",_allowedValues:["auto","100%"],postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwSizeMixin"),this.on("updatelayout",C.hitch(this,this._updateLayout))},startup:function(){this.inherited(arguments),this._updateLayout()},_updateLayout:function(){this._setWidthAttr(this.get("width")),this._setHeightAttr(this.get("height"))},_setWidthAttr:function(p){this._setSize("width",p)},_setHeightAttr:function(p){this._setSize("height",p)},_validateSizeInput:function(p){if(!(typeof p=="string"&&this._allowedValues.indexOf(p)>=0||typeof p=="number"&&p>0))throw new Error(" Property should either be 'auto' or a positive integer")},_setSize:function(p,d){if(this._validateSizeInput(d),this._set(p,d),!!this._started){var n="";this._allowedValues.indexOf(d)>=0?n=d:n=this._getAdjustedSize(p,d,this.domNode),this.domNode.style[p]=n}},_getAdjustedSize:function(p,d,n){return d+"px"}})},_,P),_.exports=S},91457:(_,P,l)=>{var b,S;b=[l(74786)],S=l.dj.d(b,function(C){return C(null,{tag:"",_setTagAttr:function(A){if(typeof A!="string")throw new Error("tag property expects a 'String'");this.domNode.setAttribute("data-tag",A),this._set("tag",A)},postCreate:function(){this.inherited(arguments),this.set("tag",this.get("tag"))}})},_,P),_.exports=S},52398:(_,P,l)=>{var b,S;b=[l(74786)],S=l.dj.d(b,function(C){return C(null,{text:"",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwTextMixin"),this.set("text",this.get("text"))},_setTextAttr:function(A){if(typeof A!="string")throw new Error("'text' property expects a literal string!");this._updateTextInDOM(A),this._set("text",A)},_updateTextInDOM:function(A){this._placeTextInNode(A),this._getTextForDOM(A).length===0?this.domNode.classList.add("mwNoText"):this.domNode.classList.remove("mwNoText")},_placeTextInNode:function(A,p){for(p===void 0&&(p=this.textNode);p.firstChild;)p.removeChild(p.firstChild);var d=this._getTextForDOM(A,p);if(d.length>0){var n=document.createElement("span");n.classList.add("mwTextLine"),n.textContent=d,p.appendChild(n),p.classList.remove("mwEmptyNode")}else p.classList.add("mwEmptyNode")},_getTextForDOM:function(A){return A}})},_,P),_.exports=S},84925:(_,P,l)=>{var b,S;b=[l(74786),l(47231)],S=l.dj.d(b,function(C,A){var p=["top","middle","bottom"],d="mwVerticalAlignment",n={},e=function(r){return r.charAt(0).toUpperCase()+r.slice(1)};Object.keys(p).forEach(function(r){n[p[r]]=d+e(p[r])});var t=C(null,{verticalAlignment:"middle",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwVerticalAlignmentMixin")},_setVerticalAlignmentAttr:function(r){if(p.indexOf(r)===-1)throw new Error("'Vertical alignment' property expects '' one of these values: "+p[r]);this._applyVerticalAlignmentClass(r),this._set("verticalAlignment",r)},_applyVerticalAlignmentClass:function(r){var i,s,a;i=this.get("verticalAlignment"),s=n[i],s&&this.domNode.classList.remove(s),a=n[r],this.domNode.classList.add(a)}});return t._dependencies=[{mixin:A,orderDependent:!0}],t},_,P),_.exports=S},31398:(_,P,l)=>{var b,S;b=[l(74786)],S=l.dj.d(b,function(C){var A="mw",p="VisualFamily";return C(null,{visualFamily:"default",_setVisualFamilyAttr:function(d){if(typeof d!="string"||d.length===0)throw new Error("'visualFamily' property expects a literal non-empty string!");var n=this._getClassNameForVisualFamily(this.get("visualFamily"));this.domNode.classList.remove(n);var e=this._getClassNameForVisualFamily(d);this.domNode.classList.add(e),this._set("visualFamily",d)},_getClassNameForVisualFamily:function(d){return A+d.charAt(0).toUpperCase()+d.slice(1)+p}})},_,P),_.exports=S},48299:(_,P,l)=>{var b,S;b=[l(81862),l(24504)],S=l.dj.d(b,function(C,A){"use strict";var p={};return p.default=function(d,n){let e=[];const t=C.fromNode(d),r=A.fromNode(d),i=function(a){Array.isArray(a)||(a=[a]),a.forEach(function(o){o.attachInputStream(t),o.attachInputStream(r)}),e=e.concat(a)},s=function(a){};return n&&i(n),{add:i,remove:s,getAttachedRecognizers:function(){return e},destroy:function(){t.destroy(),r.destroy(),e.forEach(a=>a.destroy())},preventFocus:function(){t.preventFocus()},allowFocus:function(){t.allowFocus()},stopPropagation:function(){t.stopPropagation(),r.stopPropagation()},allowPropagation:function(){t.allowPropagation(),r.allowPropagation()},preventDefault:function(){t.preventDefault(),r.preventDefault()},allowDefault:function(){t.allowDefault(),r.allowDefault()},addHoverListeners:function(){return t.addHoverListeners()},resetAll:function(){t.clearInput(),e&&e.forEach(a=>a.reset())}}},p.default},_,P),_.exports=S},97715:(_,P,l)=>{var b,S;b=[l(75282),l(75948),l(96113),l(31491),l(8482),l(97806),l(41085),l(66706),l(4197),l(14313),l(43423),l(21181)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o){"use strict";var u={};const c=function(h,v){return function(f){if(v){f.options||(f.options={});for(const m in v)Object.prototype.hasOwnProperty.call(v,m)&&(f.options[m]=v[m])}const g=C(h(f.options));if(f.callbacks)for(const m in f.callbacks)Object.prototype.hasOwnProperty.call(f.callbacks,m)&&g.on(m,f.callbacks[m]);if(f&&f.options&&f.options.pointerTypes){const m=f.options.pointerTypes;g.setPointerTypes(m)}return g}};return u.default={click:c(n),tap:c(d),tapmove:c(p),slide:c(p,{numTaps:0}),flick:c(e),pan:c(t),rotate:c(r),pinch:c(i),doubleTap:c(d,{numTaps:2}),tripleTap:c(d,{numTaps:3}),leftClick:c(n,{button:A.LEFT}),rightClick:c(n,{button:A.RIGHT}),wheel:c(s),wheelmove:c(a),hover:c(o)},u.default},_,P),_.exports=S},56864:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default=function(A){const p=[],d=[],n=[],e=[];return{prevents:function(t){p.push(t),t.getCoordinator().isPreventedBy(A)},isPreventedBy:function(t){d.push(t)},resetPrevented:function(){p.forEach(t=>t.reset())},isPrevented:function(){return d.some(t=>t.isActive())},waitForFailure:function(t){n.push(t),t.getCoordinator().isWaitingFor(A)},isWaitingFor:function(t){e.push(t)},needsToWait:function(){return n.some(t=>t.isPossible())},failThoseWaiting:function(){e.forEach(function(t){t.reset(),t.attemptProcess(!0)})},allowThoseWaiting:function(){e.forEach(function(t){t.attemptProcess(!1)})}}},C.default},_,P),_.exports=S},47375:(_,P,l)=>{var b,S;b=[l(17614)],S=l.dj.d(b,function(C){"use strict";var A={};class p{constructor(){this._emitter=new C}subscribe(n){const e=this._emitter;return e.on("observableEvent",n),{unsubscribe:()=>{e.off("observableEvent",n)}}}emit(n){this._emitter.emit("observableEvent",n)}}return A.default=p,A.default},_,P),_.exports=S},48311:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default=function(){let A=[];return{own:function(p,d){let n=p;d&&(n={remove:function(){p[d](p)}}),A.push(n)},remove:function(){A.forEach(function(p){p.remove()}),A=[]}}},C.default},_,P),_.exports=S},68146:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={sequence:function(){const A=arguments;return function(p){for(let d=0;d<A.length;d++)p=A[d].call(this,p);return p}}},C.default},_,P),_.exports=S},96027:(_,P,l)=>{var b,S;b=[l(52485)],S=l.dj.d(b,function(C){"use strict";var A={};const{compareProperties:p}=C;class d{constructor(){this.reset()}setInitial(e){this.initialProperties=e.properties,this.currentProperties=e.properties,this.previousProperties=null,this.finalProperties=null,this.updateActionProperties()}setUpdated(e){this.previousProperties=this.currentProperties,this.currentProperties=e.properties,this.updateActionProperties()}setFinal(e){this.previousProperties=this.currentProperties,this.currentProperties=e.properties,this.finalProperties=e.properties,this.updateActionProperties()}updateActionProperties(){this.actionProperties=p(this.currentProperties,this.initialProperties,this.previousProperties,this.actionProperties)}reset(){this.initialProperties=null,this.finalProperties=null,this.currentProperties=null,this.previousProperties=null,this.actionProperties=null}getActionProperties(){return this.actionProperties}}return A.default=d,A.default},_,P),_.exports=S},13724:(_,P,l)=>{var b,S;b=[l(36553),l(47375),l(1512),l(31886),l(3138)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const{arePointsWithinRadius:t}=d,{isWithinTimeout:r}=n,{getCenterPoint:i,getTimestamp:s,createTimeout:a}=p;class o{constructor(c){this.options=Object.assign({numTaps:1,maxRadius:1,maxTouchRadius:20,maxHold:250,tapDelay:250},c||{}),this.observable=new A,this.reset()}setOptions(c){this.options=Object.assign(this.options,c||{}),this.reset()}_emitTimeout(){this.observable.emit(a())}onDown(c){this.resetTimers(),this.holdTimer.start(),this.latestDown=c;const h=this._checkUpToDownDelay(),v=this._checkUpToDownDistance();(!h||!v)&&(this.latestUp=null,this.tapCount=0)}onUp(c){this.resetTimers(),this.eventTimer.start(),this.latestUp=c,this._updateTapCount()}isBetweenDownAndUp(){const c=this.latestDown&&this.latestUp,h=!!this.latestDown;return c?s(this.latestDown)>s(this.latestUp):h}_isActivePress(){const c=this.latestDown&&this.latestUp,h=!!this.latestDown;return c?s(this.latestUp)>s(this.latestDown):h}_checkUpToDownDelay(){let c=!0;return this.tapCount!==0&&!r(s(this.latestUp),s(this.latestDown),this.options.tapDelay)&&(c=!1),c}_checkUpToDownDistance(){let c=!0;return this.tapCount!==0&&!t(i(this.latestUp),i(this.latestDown),this.latestDown&&this.latestDown.srcEvent&&this.latestDown.srcEvent.pointerType==="touch"?this.options.maxTouchRadius:this.options.maxRadius)&&(c=!1),c}_updateTapCount(){const c=this._isActivePress(),h=t(i(this.latestDown),i(this.latestUp),this.latestDown&&this.latestDown.srcEvent&&this.latestDown.srcEvent.pointerType==="touch"?this.options.maxTouchRadius:this.options.maxRadius),v=r(s(this.latestDown),s(this.latestUp),this.options.maxHold);c&&h&&v?this.tapCount++:(this.latestDown=null,this.latestUp=null,this.tapCount=0)}isTap(){return this.tapCount===this.options.numTaps}isEarlyTap(){const c=this._isActivePress(),h=this.tapCount<this.options.numTaps;return c&&h}getTapCount(){return this.tapCount}resetTimers(){this.holdTimer&&this.holdTimer.clear(),this.eventTimer&&this.eventTimer.clear()}reset(){this.tapCount=0,this.latestDown=null,this.latestUp=null,this.resetTimers(),this.holdTimer=new C(this._emitTimeout.bind(this),this.options.maxHold),this.eventTimer=new C(this._emitTimeout.bind(this),this.options.tapDelay)}}return e.default=o,e.default},_,P),_.exports=S},8482:(_,P,l)=>{var b,S;b=[l(47375),l(68146),l(16800),l(949),l(5798),l(27736),l(96027)],S=l.dj.d(b,function(C,A,p,d,n,e,t){"use strict";var r={};const{trackInitial:i,trackFinal:s,setActionData:a}=p,{isAncestorNode:o}=d,{sequence:u}=A,{RECOGNIZED:c,INACTIVE:h,POSSIBLE:v}=e,{createRecognizerData:f,applyWhen:g,applyWhenNotSinglePrimary:m,applyIfUndetermined:E,applyOnDown:w,applyOnMove:I,applyOnUp:M,markAsInactive:R,markAsNoChange:T,markAsPossible:N,applyIfTargetStateIsActive:F}=n,y=function(H){const{inputData:K}=H;return o(K.srcNode,K.target)},x=function(H){const K=H.inputData,$=H.internalData.clickOptions,V=K.srcEvent;let z=!1;return V.button!==void 0?z=V.button===$.button:$.button!==0&&(z=!0),z},O=function(H){const{currentState:K}=H;return K===v&&y(H)?H.targetState=c:H.targetState=h,H},L=u(g(x,u(N,i)),E(R)),W=u(s,O),j=u(m(R),w(L),I(T),M(W),E(R),F(a));return r.default=function(H){const K=new C,$=Object.assign({button:0},H||{}),V=new t;return{EVENT_SETS:["pointers"],reset:V.reset.bind(V),subscribe:K.subscribe.bind(K),recognize:function(z){const{targetState:X,actionData:Z}=j(f("click",z,{clickOptions:$,positionTracker:V}));return{targetState:X,actionData:Z}}}},r.default},_,P),_.exports=S},97806:(_,P,l)=>{var b,S;b=[l(68146),l(47375),l(5798),l(16800),l(31886),l(62388),l(96027)],S=l.dj.d(b,function(C,A,p,d,n,e,t){"use strict";var r={};const{trackInitial:i,trackUpdate:s,resetTracker:a,setActionData:o}=d,{sequence:u}=C,{computeMagnitude:c}=n,{createRecognizerData:h,markAsNoChange:v,markAsPossible:f,markAsRecognized:g,markAsInactive:m,applyIfUndetermined:E,applyIfPossible:w,applyOnDown:I,applyOnMove:M,applyWhen:R,applyOnUp:T,applyIfTargetStateIsActive:N,applyIfTargetStateIsComplete:F}=p,{DIRECTION_NONE:y}=e,x=function($){const V=$.internalData.flickOptions,Z=$.internalData.positionTracker.getActionProperties().center.direction,Y=$.inputData.pointers.length===V.pointers;return(V.direction===y||V.direction===Z)&&Y},O=function($){const V=$.internalData.flickOptions,X=$.internalData.positionTracker.getActionProperties(),Z=c(X.center.delta),Y=c(X.center.velocity);return Z>=V.minDistance&&Y>V.minVelocity},L=u(i,E(f)),W=w(u(s,R(x,v),E(m))),j=w(u(R(O,g),E(m))),H=u(I(L),M(W),T(j),E(m),N(o),F(a)),K=function($){const V=new A,z=new t,X=Object.assign({pointers:1,minDistance:20,direction:y,minVelocity:.3},$||{});return{EVENT_SETS:["pointers"],reset:z.reset.bind(z),subscribe:V.subscribe.bind(V),recognize:function(Z){const{targetState:Y,actionData:Q}=H(h("flick",Z,{positionTracker:z,flickOptions:X}));return{targetState:Y,actionData:Q}}}};return r.default=K,r.default},_,P),_.exports=S},21181:(_,P,l)=>{var b,S;b=[l(47375),l(16800),l(68146),l(5798),l(96027)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const{sequence:t}=p,{trackInitial:r,resetTracker:i,setActionData:s}=A,{createRecognizerData:a,applyWhen:o,applyIfUndetermined:u,markAsInactive:c,markAsRecognized:h,applyIfTargetStateIsActive:v}=d,g=t(o(function(m){const w=m.inputData.srcEvent;return w&&w.buttons===0&&(w.type==="pointermove"||w.type==="mousemove")},t(r,h)),u(c),v(s),i);return e.default=function(m){const E=new C,w=new n;return{EVENT_SETS:["pointers"],reset:w.reset.bind(w),subscribe:E.subscribe.bind(E),recognize:function(I){const{targetState:M,actionData:R}=g(a("hover",I,{positionTracker:w}));return{targetState:M,actionData:R}}}},e.default},_,P),_.exports=S},41085:(_,P,l)=>{var b,S;b=[l(68146),l(47375),l(62388),l(16800),l(31886),l(5798),l(96027)],S=l.dj.d(b,function(C,A,p,d,n,e,t){"use strict";var r={};const{sequence:i}=C,{computeMagnitude:s}=n,{trackInitial:a,trackUpdate:o,trackFinal:u,resetTracker:c,setActionData:h}=d,{createRecognizerData:v,markAsNoChange:f,markAsCancelled:g,markAsInactive:m,markAsPossible:E,markAsBegan:w,markAsProgress:I,markAsRecognized:M,applyIfUndetermined:R,applyOnDown:T,applyOnMove:N,applyIfTargetStateIsActive:F,applyIfTargetStateIsComplete:y,applyOnUp:x,applyWhen:O,applyIfPossible:L,applyIfActive:W,applyIfInactive:j,applyIfBegun:H}=e,{DIRECTION_NONE:K}=p,$=function(ee){const oe=ee.internalData.panOptions;return ee.inputData.pointers.length!==oe.pointers},V=function(ee){const oe=ee.internalData.panOptions,he=ee.internalData.positionTracker.getActionProperties(),fe=s(he.center.delta);return Math.abs(fe)>=oe.minDistance},z=function(ee){return ee.inputData.srcEvent.type==="pointermove"&&ee.inputData.srcEvent.buttons===0&&!ee.inputData.srcEvent.synthetic&&!ee.inputData.srcEvent.UITest&&(ee=g(ee)),ee},X=i(a,O($,i(H(M),R(m))),R(H(M)),R(E)),Z=i(o,H(z),H(O($,M)),R(i(L(O(V,w)),H(I))),R(f)),Y=i(u,H(M),R(m)),Q=i(T(X),N(Z),x(Y),R(j(m)),R(W(g)),F(h),y(c)),q=function(ee){const oe=new A,se=new t,he=Object.assign({pointers:1,minDistance:20,direction:K},ee||{});return{EVENT_SETS:["pointers"],reset:se.reset.bind(se),subscribe:oe.subscribe.bind(oe),recognize:function(fe){const{targetState:le,actionData:ie}=Q(v("pan",fe,{positionTracker:se,panOptions:he}));return{targetState:le,actionData:ie}}}};return r.default=q,r.default},_,P),_.exports=S},4197:(_,P,l)=>{var b,S;b=[l(68146),l(47375),l(16800),l(5798),l(96027)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const{sequence:t}=C,{trackInitial:r,trackUpdate:i,trackFinal:s,resetTracker:a,setActionData:o}=p,{createRecognizerData:u,markAsNoChange:c,markAsCancelled:h,markAsInactive:v,markAsPossible:f,markAsBegan:g,markAsProgress:m,markAsRecognized:E,applyIfUndetermined:w,applyOnDown:I,applyOnMove:M,applyIfTargetStateIsActive:R,applyIfTargetStateIsComplete:T,applyOnUp:N,applyWhen:F,applyIfPossible:y,applyIfActive:x,applyIfInactive:O,applyIfBegun:L}=d,W=function(X){const Z=X.internalData.pinchOptions;return X.inputData.pointers.length!==Z.pointers},j=function(X){const Z=X.internalData.pinchOptions,Q=X.internalData.positionTracker.getActionProperties().spread.delta;return Math.abs(Q)>=Z.minDistance},H=t(r,F(W,t(L(E),w(v))),w(L(E)),w(f)),K=t(i,L(F(W,E)),w(t(y(F(j,g)),L(m))),w(c)),$=t(s,L(E),w(v)),V=t(I(H),M(K),N($),w(O(v)),w(x(h)),R(o),T(a)),z=function(X){const Z=new A,Y=new n,Q=Object.assign({pointers:2,minDistance:3},X||{});return{EVENT_SETS:["pointers"],reset:Y.reset.bind(Y),subscribe:Z.subscribe.bind(Z),recognize:function(q){const{targetState:ee,actionData:oe}=V(u("pinch",q,{positionTracker:Y,pinchOptions:Q}));return{targetState:ee,actionData:oe}}}};return e.default=z,e.default},_,P),_.exports=S},66706:(_,P,l)=>{var b,S;b=[l(68146),l(47375),l(16800),l(5798),l(96027)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const{sequence:t}=C,{trackInitial:r,trackUpdate:i,trackFinal:s,resetTracker:a,setActionData:o}=p,{createRecognizerData:u,markAsNoChange:c,markAsCancelled:h,markAsInactive:v,markAsPossible:f,markAsBegan:g,markAsProgress:m,markAsRecognized:E,applyIfUndetermined:w,applyOnDown:I,applyOnMove:M,applyIfTargetStateIsActive:R,applyIfTargetStateIsComplete:T,applyOnUp:N,applyWhen:F,applyIfPossible:y,applyIfActive:x,applyIfInactive:O,applyIfBegun:L}=d,W=function(X){const Z=X.internalData.rotateOptions;return X.inputData.pointers.length!==Z.pointers},j=function(X){const Z=X.internalData.rotateOptions,q=X.internalData.positionTracker.getActionProperties().angle.delta;return Math.abs(q)>=Z.minRotation},H=t(r,F(W,t(L(E),w(v))),w(L(E)),w(f)),K=t(i,L(F(W,E)),w(t(y(F(j,g)),L(m))),w(c)),$=t(s,L(E),w(v)),V=t(I(H),M(K),N($),w(O(v)),w(x(h)),R(o),T(a)),z=function(X){const Z=new A,Y=new n,Q=Object.assign({pointers:2,minRotation:20},X||{});return{EVENT_SETS:["pointers"],reset:Y.reset.bind(Y),subscribe:Z.subscribe.bind(Z),recognize:function(q){const{targetState:ee,actionData:oe}=V(u("rotate",q,{positionTracker:Y,rotateOptions:Q}));return{targetState:ee,actionData:oe}}}};return e.default=z,e.default},_,P),_.exports=S},31491:(_,P,l)=>{var b,S;b=[l(68146),l(16800),l(5798),l(13724),l(96027)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const{sequence:t}=C,{trackInitial:r,trackUpdate:i,trackFinal:s,resetTracker:a,setActionData:o}=A,{createRecognizerData:u,markAsNoChange:c,markAsPossible:h,markAsInactive:v,markAsRecognized:f,applyWhen:g,applyIfUndetermined:m,applyIfTargetStateIsActive:E,applyOnTimeout:w,applyOnDown:I,applyOnMove:M,applyOnUp:R,applyIfTargetStateIsComplete:T}=p,N=function(z){return L(z).onDown(z.inputData),z},F=function(z){return L(z).onUp(z.inputData),z},y=function(z){return L(z).isTap()},x=function(z){return L(z).isEarlyTap()},O=function(z){return L(z).reset(),z},L=function(z){return z.internalData.tapCount},W=t(r,N,m(h)),j=t(i,m(c)),H=function(z){return z.inputData.srcEvent.button!==void 0&&z.inputData.srcEvent.button!==z.internalData.tapOptions.button&&(z=v(z)),z},K=t(F,m(g(y,t(s,f))),m(g(x,h))),$=t(w(v),m(I(H)),m(I(W)),m(M(j)),m(R(K)),m(v),E(o),T(t(a,O))),V=function(z){let X=Object.assign({button:0},z||{});const Z=new d(X),Y=new n;return{EVENT_SETS:["pointers"],setOptions:function(Q){X=Object.assign(X,Q||{}),Z.setOptions(X)},reset:t(Z.reset.bind(Z),Y.reset.bind(Y)),subscribe:Z.observable.subscribe.bind(Z.observable),recognize:function(Q){const{targetState:q,actionData:ee}=$(u("tap",Q,{positionTracker:Y,tapCount:Z,tapOptions:X}));return{targetState:q,actionData:ee}}}};return e.default=V,e.default},_,P),_.exports=S},96113:(_,P,l)=>{var b,S;b=[l(68146),l(16800),l(5798),l(27736),l(56228),l(13724),l(96027)],S=l.dj.d(b,function(C,A,p,d,n,e,t){"use strict";var r={};const{sequence:i}=C,{BEGAN:s,POSSIBLE:a,CANCELLED:o}=d,{trackInitial:u,trackUpdate:c,trackFinal:h,resetTracker:v,setActionData:f}=A,{createRecognizerData:g,markAsNoChange:m,markAsCancelled:E,markAsProgress:w,markAsInactive:I,markAsRecognized:M,applyIfUndetermined:R,applyOnTimeout:T,applyOnDown:N,applyOnMove:F,applyOnUp:y,applyIfBegun:x,applyIfTargetStateIsComplete:O,applyIfActive:L,applyIfInactive:W,applyIfTargetStateBegun:j,applyIfTargetStateIsActive:H}=p,{hasBegun:K}=n,$=function(fe){return X(fe).onDown(fe.inputData),fe},V=function(fe){return X(fe).onUp(fe.inputData),fe},z=function(fe){return X(fe).resetTimers(),fe},X=function(fe){return fe.internalData.tapCount},Z=function(fe){return X(fe).isTap()?fe.targetState=s:K(fe)?fe.targetState=o:fe.targetState=a,fe},Y=function(fe){return X(fe).reset(),fe},Q=function(fe){return fe.inputData.srcEvent.button!==void 0&&fe.inputData.srcEvent.button!==fe.internalData.tapMoveOptions.button&&(fe=I(fe)),fe},q=function(fe){return X(fe).isBetweenDownAndUp()&&fe.inputData.srcEvent.type==="pointermove"&&fe.inputData.srcEvent.buttons===0&&!fe.inputData.srcEvent.synthetic&&!fe.inputData.srcEvent.UITest&&(fe=E(fe)),fe},ee=i(u,$,x(E),R(Z),j(z)),oe=i(c,q,R(x(w)),R(m)),se=i(V,R(x(i(h,M))),R(m)),he=i(T(I),R(N(Q)),R(N(ee)),R(F(oe)),R(y(se)),R(W(I)),R(L(E)),H(f),O(i(v,Y)));return r.default=function(fe){let le=Object.assign({button:0},fe||{});const ie=new e(le),re=new t;return{EVENT_SETS:["pointers"],setOptions:function(ce){le=Object.assign(le,ce||{}),ie.setOptions(le)},reset:i(ie.reset.bind(ie),re.reset.bind(re)),subscribe:ie.observable.subscribe.bind(ie.observable),recognize:function(ce){const{targetState:ve,actionData:ge}=he(g("tapmove",ce,{positionTracker:re,tapCount:ie,tapMoveOptions:le}));return{targetState:ve,actionData:ge}}}},r.default},_,P),_.exports=S},14313:(_,P,l)=>{var b,S;b=[l(47375),l(68146),l(5798)],S=l.dj.d(b,function(C,A,p){"use strict";var d={};const{sequence:n}=A,{createRecognizerData:e,applyIfUndetermined:t,markAsInactive:r,markAsRecognized:i,applyIfTargetStateIsActive:s,applyOnWheel:a}=p,o=function(c){return c.actionData={type:c.type,srcEvent:c.inputData.srcEvent},c},u=n(a(i),t(r),s(o));return d.default=function(c){const h=new C;return{EVENT_SETS:["wheel"],reset:function(){},subscribe:h.subscribe.bind(h),recognize:function(v){const{targetState:f,actionData:g}=u(e("wheel",v,{}));return{targetState:f,actionData:g}}}},d.default},_,P),_.exports=S},43423:(_,P,l)=>{var b,S;b=[l(47375),l(27736),l(56228),l(1512),l(36553)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};return e.default=function(t){const r=t&&t.wheelDelay?t.wheelDelay:200,i=new C,s=new n(()=>{i.emit(d.createTimeout())},r);return{EVENT_SETS:["wheel"],reset:function(){s.clear()},subscribe:i.subscribe.bind(i),recognize:function({currentState:a,inputData:o}){let u=A.INACTIVE,c;if(d.isWheel(o))switch(s.clear(),a){case A.INACTIVE:u=A.BEGAN,s.start();break;case A.BEGAN:u=A.PROGRESS,s.start();break;case A.PROGRESS:u=A.PROGRESS,s.start();break}if(d.isTimeout(o))switch(a){case A.INACTIVE:u=A.INACTIVE;break;case A.BEGAN:u=A.RECOGNIZED;break;case A.PROGRESS:u=A.RECOGNIZED;break}return p.isActiveState(u)&&(c={type:"wheelmove",srcEvent:o.srcEvent}),{targetState:u,actionData:c}}}},e.default},_,P),_.exports=S},81862:(_,P,l)=>{var b,S;b=[l(949),l(1512),l(47375),l(48311),l(35659)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const{addDomListener:t,preventDefault:r,stopPropagation:i}=C,{getActiveImplementations:s,getImplementationForEvent:a,addListenersToRemovable:o,updateLastTouch:u,isCompatibilityEvent:c}=n,h=s();let v=null;const f=function(g,m){let E=d(),w=d(),I=d(),M=d(),R=d(),T=d();const N=g.ownerDocument;let F=[],y=[];const x=new p,O=function(z){let X=z;return v=u(z,v),c(z,v)&&(X=null),X},L=function(z){x.emit(A.createFromPointers(F,z,g))},W=function(z){x.emit(A.createFromPointers(y,z,g))},j=function(z){z=O(z),z&&(a(z).addEventToPointers(F,z),L(z))},H=function(z){if(z=O(z),z){const X=a(z);X.addEventToPointers(F,z),L(z),X.removeEventFromPointers(F,z),F.length===0&&w.remove()}},K=function(z){if(z=O(z),z){const X=a(z);X&&X.addEventToPointers(F,z),w.remove(),L(z),F=[]}},$=function(z){z=O(z),z&&(a(z).addEventToPointers(F,z),w=o(h,w,N,{move:j,up:H,cancel:K},!0),E.own(t(g,"dragstart",K,!1)),E.own(t(g,"drag",K,!1)),E.own(t(g,"dragend",K,!1)),L(z))},V=function(z){z=O(z),z&&z.buttons===0&&(y=[z],W(z))};return E=o(h,E,g,{down:$},!1),{EVENT_SET:"pointers",subscribe:x.subscribe.bind(x),preventFocus:function(){I.remove(),I=o(h,I,g,{down:r},!1)},allowFocus:function(){I.remove()},stopPropagation:function(){M.remove(),M=o(h,M,g,{down:i,move:i,up:i},!1)},allowPropagation:function(){M.remove()},preventDefault:function(){R.remove(),R=o(h,R,g,{down:r,move:r,up:r},!1)},allowDefault:function(){R.remove()},clearInput:function(){w.remove(),F=[]},addHoverListeners:function(){return T.remove(),T=o(h,T,g,{move:V},!1),T},destroy:function(){E.remove(),w.remove(),I.remove(),M.remove(),R.remove(),T.remove()}}};return e.default={fromNode:f},e.default},_,P),_.exports=S},35659:(_,P,l)=>{var b,S;b=[l(949),l(54141),l(55073),l(18670)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n={};const{addDomListener:e}=C,t=!!window.PointerEvent,r="ontouchstart"in window,i=1e3,s=25,a=t?[A]:r?[p,d]:[d],o=!t&&r,u={mousedown:!0,mousemove:!0,mouseup:!0},c={pointerdown:!0,pointermove:!0,pointerup:!0},h={touchstart:!0,touchmove:!0,touchend:!0,touchcancel:!0},v=function(E,w){const I=E.clientX,M=E.clientY,R=Date.now();if(w._softTimestamp+i<=R)return!1;const T=w.changedTouches;for(const N in T)if(Object.prototype.hasOwnProperty.call(T,N)&&N!=="length"){const F=T[N],y=F.clientX,x=F.clientY,O=Math.abs(I-y),L=Math.abs(M-x);if(O<=s&&L<=s)return!0}return!1},f=function(E){return E&&E.type&&u[E.type]},g=function(E){return E&&E.type&&c[E.type]},m=function(E){return E&&E.type&&h[E.type]};return n.default={isTouchEvent:m,isPointerEvent:g,isMouseEvent:f,getActiveImplementations:function(){return a},getImplementationForEvent:function(E){let w=null;return f(E)&&(w=d),g(E)&&(w=A),m(E)&&(w=p),w},addListenersToRemovable:function(E,w,I,M,R){return E.forEach(function(T){for(const N in M)if(Object.prototype.hasOwnProperty.call(M,N)){const F=M[N];w.own(e(I,T[N],F,R))}}),w},updateLastTouch:function(E,w){let I=w;return m(E)&&(E._softTimestamp=Date.now(),I=E),I},isCompatibilityEvent:function(E,w){let I=!1;return w&&f(E)&&o&&(I=v(E,w)),I}},n.default},_,P),_.exports=S},24504:(_,P,l)=>{var b,S;b=[l(949),l(1512),l(47375),l(48311)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n={};const{addDomListener:e,preventDefault:t,stopPropagation:r}=C,i=function(s,a){const o=d(),u=d(),c=d(),h=new p,v=function(f){h.emit(A.createFromPointers([],f,s))};return o.own(e(s,"wheel",v,!1)),{EVENT_SET:"wheel",subscribe:h.subscribe.bind(h),stopPropagation:function(){u.remove(),u.own(e(s,"wheel",r,!1))},allowPropagation:function(){u.remove()},preventDefault:function(){c.remove(),c.own(e(s,"wheel",t,!1))},allowDefault:function(){c.remove()},destroy:function(){o.remove()}}};return n.default={fromNode:i},n.default},_,P),_.exports=S},18670:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A=function(p,d){let n,e=-1;for(n=0;n<p.length;n++)p[n].pointerId===d.pointerId&&(e=n);return e===-1&&(e=p.length),e};return C.default={type:"mouse",down:"mousedown",move:"mousemove",up:"mouseup",cancel:"",addEventToPointers:function(p,d){(d.button===0||d.button===2)&&(d.pointerId=1,p[0]=d,d.pointerType="mouse")},removeEventFromPointers:function(p,d){const n=A(p,d);p.splice(n,1)}},C.default},_,P),_.exports=S},54141:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A=function(p,d){let n,e=-1;for(n=0;n<p.length;n++)p[n].pointerId===d.pointerId&&(e=n);return e===-1&&(e=p.length),e};return C.default={type:"pointer",down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel",addEventToPointers:function(p,d){const n=A(p,d);p[n]=d,d.pointerType||(d.pointerType="mouse")},removeEventFromPointers:function(p,d){const n=A(p,d);p.splice(n,1)}},C.default},_,P),_.exports=S},55073:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A=function(p,d){let n,e=-1;for(n=0;n<p.length;n++)p[n].identifier===d.identifier&&(e=n);return e===-1&&(e=p.length),e};return C.default={type:"touch",down:"touchstart",move:"touchmove",up:"touchend",cancel:"touchcancel",addEventToPointers:function(p,d){const n=d.touches,e=d.changedTouches[0];for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&t!=="length"){const r=A(p,n[t]);n[t].pointerId=r+1,p[r]=n[t]}d.pointerType="touch",["pageX","pageY","screenX","screenY","clientX","clientY","target"].forEach(function(t){try{t in d||(d[t]=e[t])}catch(r){}})},removeEventFromPointers:function(p,d){p.splice(0,p.length)}},C.default},_,P),_.exports=S},75282:(_,P,l)=>{var b,S;b=[l(17614),l(48311),l(56864),l(27736),l(56228),l(91423),l(1512)],S=l.dj.d(b,function(C,A,p,d,n,e,t){"use strict";var r={};const i=function(s){return s===d.RECOGNIZED||s===d.CANCELLED?d.INACTIVE:s};return r.default=function(s){let a=d.INACTIVE,o=null;const u=A(),c=A();let h=[e.MOUSE,e.TOUCH,e.PEN];const v=new C,f=function(w){let I=!0;if(w.srcEvent&&w.srcEvent.pointerType&&(I=h.indexOf(w.srcEvent.pointerType)!==-1),t.isCancel(w)&&(I=!0),E.isPrevented()||n.isWaitingState(a)||n.isDisabledState(a)||!I)return;a=i(a),a===d.INACTIVE&&c.remove();const{targetState:M,actionData:R}=s.recognize({inputData:w,currentState:a});g(M,R)},g=function(w,I){if(o=null,n.isActiveState(w)&&E.needsToWait()&&(o={targetState:w,actionData:I},w=d.WAITING),a=w,n.isActiveState(a)&&(E.resetPrevented(),E.failThoseWaiting()),n.isInactiveState(a)&&E.allowThoseWaiting(),n.isActiveState(a))try{v.emit(a,{actionData:I,recognizer:m})}catch(M){console.error("Exception thrown. Message: "+M.message),M.stack&&console.error("Stack: ",M.stack)}if(n.isEndedState(a))try{v.emit("after",{})}catch(M){console.error("Exception thrown. Message: "+M.message),M.stack&&console.error("Stack: ",M.stack)}};s.subscribe&&u.own(s.subscribe(f),"unsubscribe");const m={attachInputStream:function(w){let I=!1;if(s.EVENT_SETS.forEach(function(R){R===w.EVENT_SET&&(I=!0)}),!I)return{unsubscribe:function(){}};const M=w.subscribe(f);return u.own(M,"unsubscribe"),M},on:function(w,I){if(typeof w=="string"){const M=(T={})=>{I(T.actionData,T.recognizer)};v.on(w,M);const R={remove:()=>{v.off(w,M)}};return u.own(R),R}else{const M=w,R=A();for(const T in M)if(Object.prototype.hasOwnProperty.call(M,T)){const N=(y={})=>{M[T](y.actionData,y.recognizer)};v.on(T,N);const F={remove:()=>{v.off(T,N)}};u.own(F),R.own(F)}return R}},onTemp:function(w,I){if(typeof w=="string"){const M=(T={})=>{I(T.actionData,T.recognizer)};v.on(w,M);const R={remove:()=>{v.off(w,M)}};return c.own(R),R}else{const M=w,R=A();for(const T in M)if(Object.prototype.hasOwnProperty.call(M,T)){const N=(y={})=>{M[T](y.actionData,y.recognizer)};v.on(T,N);const F={remove:()=>{v.off(T,N)}};c.own(F),R.own(F)}return R}},enable:function(){a=d.INACTIVE},disable:function(){a=d.DISABLED},setPointerTypes:function(w){h=w},setOptions:function(w){s.setOptions&&s.setOptions(w)},reset:function(){g(d.INACTIVE),s.reset()},getCoordinator:function(){return E},destroy:function(){c.remove(),u.remove()},attemptProcess:function(w){if(a===d.WAITING&&o){const I=w?d.INACTIVE:o.targetState;g(I,o.actionData)}},isActive:function(){return n.isActiveState(a)},isPossible:function(){return n.isPossibleState(a)||n.isWaitingState(a)}},E=p(m);return m},r.default},_,P),_.exports=S},56228:(_,P,l)=>{var b,S;b=[l(27736)],S=l.dj.d(b,function(C){"use strict";var A={};return A.default={isActiveState:function(p){return p===C.RECOGNIZED||p===C.CANCELLED||p===C.BEGAN||p===C.PROGRESS},isEndedState:function(p){return p===C.RECOGNIZED||p===C.CANCELLED},isWaitingState:function(p){return p===C.WAITING},isInactiveState:function(p){return p===C.INACTIVE},isPossibleState:function(p){return p===C.POSSIBLE},hasBegun:function(p){return p===C.BEGAN||p===C.PROGRESS},isDisabledState:function(p){return p===C.DISABLED}},A.default},_,P),_.exports=S},27736:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={INACTIVE:"inactive",POSSIBLE:"possible",WAITING:"waiting",BEGAN:"began",PROGRESS:"progress",RECOGNIZED:"recognized",CANCELLED:"cancelled",DISABLED:"disabled"},C.default},_,P),_.exports=S},36553:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default=function(A,p){let d=null;const n=function(){e(),d=window.setTimeout(A,p)},e=function(){d&&window.clearTimeout(d),d=null};return{start:n,clear:e}},C.default},_,P),_.exports=S},16800:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={setActionData:function(A){return A.actionData={type:A.type,srcEvent:A.inputData.srcEvent,pointers:A.inputData.pointers,properties:A.internalData.positionTracker.getActionProperties()},A},trackInitial:function(A){const p=A.inputData;return A.internalData.positionTracker.setInitial(p),A},trackFinal:function(A){const p=A.inputData;return A.internalData.positionTracker.setFinal(p),A},trackUpdate:function(A){const p=A.inputData;return A.internalData.positionTracker.setUpdated(p),A},resetTracker:function(A){return A.internalData.positionTracker.reset(),A}},C.default},_,P),_.exports=S},75948:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={LEFT:0,RIGHT:2},C.default},_,P),_.exports=S},62388:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={DIRECTION_UP:"up",DIRECTION_RIGHT:"right",DIRECTION_DOWN:"down",DIRECTION_LEFT:"left",DIRECTION_NONE:"none"},C.default},_,P),_.exports=S},949:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={isAncestorNode:function(A,p){let d=!1;for(;p;){if(p===A){d=!0;break}p=p.parentNode}return d},addDomListener:function(A,p,d,n){return A.addEventListener(p,d,n),{remove:function(){A.removeEventListener(p,d,n)}}},preventDefault:function(A){A.preventDefault()},stopPropagation:function(A){A.stopPropagation()}},C.default},_,P),_.exports=S},31886:(_,P,l)=>{var b,S;b=[l(62388)],S=l.dj.d(b,function(C){"use strict";var A={};const{DIRECTION_UP:p,DIRECTION_RIGHT:d,DIRECTION_DOWN:n,DIRECTION_LEFT:e,DIRECTION_NONE:t}=C,r=function(f){return f.x},i=function(f){return f.y},s=function(f){return{max:{x:Math.max.apply(null,f.map(r)),y:Math.max.apply(null,f.map(i))},min:{x:Math.min.apply(null,f.map(r)),y:Math.min.apply(null,f.map(i))}}},a=function(f,g){return{x:g.x-f.x,y:g.y-f.y}},o=function(f,g){return u(a(f,g))},u=function(f){const g=Math.pow(f.x,2),m=Math.pow(f.y,2);return Math.sqrt(g+m)},c=function(f,g){return Math.atan2(f.y-g.y,f.x-g.x)*(180/Math.PI)},h=function(f,g){return{x:(f.x+g.x)/2,y:(f.y+g.y)/2}},v=function(f,g){let m=t;const E=g.x-f.x,w=g.y-f.y;return(E!==0||w!==0)&&(Math.abs(E)>Math.abs(w)?m=E<0?e:d:m=w<0?p:n),m};return A.default={arePointsWithinRadius:function(f,g,m){if(!f||!g)return!1;const E=f.x-g.x,w=f.y-g.y;return Math.sqrt(E*E+w*w)<m},getCenter:function(f){const{max:g,min:m}=s(f);return h(g,m)},getAngle:function(f){const{max:g,min:m}=s(f);return c(g,m)},getSpread:function(f){const{max:g,min:m}=s(f);return o(g,m)},computeDistance:a,computeMagnitude:u,computeDistanceMagnitude:o,computeDirection:v},A.default},_,P),_.exports=S},1512:(_,P,l)=>{var b,S;b=[l(1736),l(64038),l(52485),l(35659)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n={};const{isPrimary:e,getXY:t}=A,{calculateProperties:r}=p,i={pointerdown:C.DOWN,pointermove:C.MOVE,pointerup:C.UP,pointercancel:C.CANCEL,touchstart:C.DOWN,touchmove:C.MOVE,touchend:C.UP,touchcancel:C.CANCEL,mousedown:C.DOWN,mousemove:C.MOVE,mouseup:C.UP,"":C.CANCEL},s=function(o){let u=null;return o&&o.srcEvent&&(u=i[o.srcEvent.type]),u},a=function(o){let u=o?o.target:null;return u||(o.touches&&o.touches[0]?u=o.touches[0].target:o.changedTouches&&o.changedTouches[0]&&(u=o.changedTouches[0].target)),u};return n.default={createFromPointers:function(o,u,c){u._softTimestamp=Date.now()+(u.detail?u.detail:0);const h=o.slice();return{type:"inputData",pointers:h,properties:r(h,u),changedPointers:[u],srcEvent:u,target:a(u),srcNode:c}},createTimeout:function(){return{type:"inputData",isTimeout:!0}},isSinglePrimary:function(o){return o.pointers&&o.pointers.length===1&&e(o.pointers[0])},isDown:function(o){return s(o)===C.DOWN},isMove:function(o){return s(o)===C.MOVE},isUp:function(o){return s(o)===C.UP},isCancel:function(o){return s(o)===C.CANCEL},isTimeout:function(o){return!!o.isTimeout},isWheel:function(o){const u=o.srcEvent;return u&&u.type==="wheel"},getInputType:s,getCenterPoint:function(o){let u={x:NaN,y:NaN};return o&&o.properties&&(u=o.properties.center),u},getPointerLocations:function(o){return o.pointers.map(t)},getTimestamp:function(o){return o&&o.srcEvent?o.srcEvent._softTimestamp:NaN}},n.default},_,P),_.exports=S},1736:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={DOWN:"down",MOVE:"move",UP:"up",CANCEL:"cancel"},C.default},_,P),_.exports=S},52485:(_,P,l)=>{var b,S;b=[l(31886),l(3138),l(64038)],S=l.dj.d(b,function(C,A,p){"use strict";var d={};const{getXY:n}=p,{getTimestamp:e}=A,{getCenter:t,getAngle:r,getSpread:i,computeDistance:s,computeDirection:a}=C;return d.default={calculateProperties:function(o,u){const c=o.map(n);return{center:t(c),angle:r(c),spread:i(c),timestamp:e(u)}},compareProperties:function(o,u,c){u||(u=o),c||(c=u);const h=o.timestamp-c.timestamp,v=s(c.center,o.center);return{center:{current:o.center,initial:u.center,previous:c.center,delta:s(u.center,o.center),velocity:{x:v.x/h,y:v.y/h},direction:a(c.center,o.center)},angle:{current:o.angle,initial:u.angle,previous:c.angle,delta:o.angle-u.angle,velocity:(o.angle-c.angle)/h},spread:{current:o.spread,initial:u.spread,previous:c.spread,delta:o.spread-u.spread,velocity:(o.spread-c.spread)/h},timestamp:{current:o.timestamp,initial:u.timestamp,previous:c.timestamp,delta:o.timestamp-u.timestamp}}}},d.default},_,P),_.exports=S},91423:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={TOUCH:"touch",MOUSE:"mouse",PEN:"pen"},C.default},_,P),_.exports=S},64038:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={isPrimary:function(A){return A.isPrimary||A.pointerId===1||A.button===0||A.constructor.name==="Touch"},getXY:function(A){return{x:A.clientX,y:A.clientY}}},C.default},_,P),_.exports=S},5798:(_,P,l)=>{var b,S;b=[l(27736),l(56228),l(1512)],S=l.dj.d(b,function(C,A,p){"use strict";var d={};const{RECOGNIZED:n,BEGAN:e,PROGRESS:t,INACTIVE:r,POSSIBLE:i,CANCELLED:s}=C,{isEndedState:a,isInactiveState:o}=A,u={createRecognizerData:function(c,h,v){return{type:c,currentState:h.currentState,inputData:h.inputData,targetState:null,actionData:{},internalData:v}},applyWhen:function(c,h){return function(v){return c(v)?h(v):v}},applyIfUndetermined:function(c){return u.applyWhen(u.isUndetermined,c)},applyIfDetermined:function(c){return u.applyWhen(u.isDetermined,c)},applyIfActive:function(c){return u.applyWhen(function(h){return A.isActiveState(h.currentState)},c)},applyIfBegun:function(c){return u.applyWhen(function(h){return A.hasBegun(h.currentState)},c)},applyIfPossible:function(c){return u.applyWhen(function(h){return A.isPossibleState(h.currentState)},c)},applyIfTargetStateBegun:function(c){return u.applyWhen(function(h){return A.hasBegun(h.targetState)},c)},applyIfTargetStateIsActive:function(c){return u.applyWhen(function(h){return A.isActiveState(h.targetState)},c)},applyIfTargetStateIsComplete:function(c){return u.applyWhen(function(h){return o(h.targetState)||a(h.targetState)},c)},applyIfInactive:function(c){return u.applyWhen(function(h){return!A.isActiveState(h.currentState)},c)},applyOnUp:function(c){return u.applyWhen(function(h){return p.isUp(h.inputData)},c)},applyOnDown:function(c){return u.applyWhen(function(h){return p.isDown(h.inputData)},c)},applyOnMove:function(c){return u.applyWhen(function(h){return p.isMove(h.inputData)},c)},applyOnCancel:function(c){return u.applyWhen(function(h){return p.isCancel(h.inputData)},c)},applyOnTimeout:function(c){return u.applyWhen(function(h){return p.isTimeout(h.inputData)},c)},applyOnWheel:function(c){return u.applyWhen(function(h){return p.isWheel(h.inputData)},c)},applyWhenNotSinglePrimary:function(c){return u.applyWhen(function(h){return!p.isSinglePrimary(h.inputData)},c)},isDetermined:function(c){return!!c.targetState},isUndetermined:function(c){return!c.targetState},markAsNoChange:function(c){return c.targetState=c.currentState,c},markAsPossible:function(c){return c.targetState=i,c},markAsRecognized:function(c){return c.targetState=n,c},markAsInactive:function(c){return c.targetState=r,c},markAsCancelled:function(c){return c.targetState=s,c},markAsProgress:function(c){return c.targetState=t,c},markAsBegan:function(c){return c.targetState=e,c},resetWhenComplete:function(c){const{targetState:h,internalData:v}=c;return(o(h)||a(h))&&v&&v.reset&&v.reset(),c}};return d.default=u,d.default},_,P),_.exports=S},3138:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return C.default={isWithinTimeout:function(A,p,d){return Math.abs(A-p)<d},getTimestamp:function(A){return A._softTimestamp?A._softTimestamp:A.timestamp}},C.default},_,P),_.exports=S},13901:(_,P,l)=>{"use strict";var b,S;b=[l(42372),l(21366),l(9511)],S=l.dj.d(b,function(C,A,p){return{HYPERLINK_ESCAPE_REGEXP:/<a\s+href\s*=\s*"[^"]*"[^>]*>[\s\S]*?<\/a>/g,HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP:/<a\s+href\s*=\s*"([^"]*)"([^>]*)>([\s\S]*?)<\/a>/g,STRONG_ESCAPE_REGEXP:/<strong>|<\/strong>/g,BOLD_LINK_ATTRIBUTE_REGEX:/\bstyle\s*=\s*"[^"]*\bfont-weight\s*:\s*bold\b[^"]*"/,parseQueryString:function(){var n=window.location.search.substr(1,window.location.search.length);return this._parseQueryString(n)},_parseQueryString:function(n){return C.queryToObject(n)},parseUrl:function(n){var e=document.createElement("a");e.display="none",e.href=n||window.location.href,e.href=e.href;var t={protocol:e.protocol,hostname:e.hostname,port:e.port,pathname:e.pathname,search:e.search,hash:e.hash};return(t.protocol==="https:"||t.protocol==="http:")&&t.pathname.indexOf("/")!==0&&(t.pathname="/"+t.pathname),t.protocol==="https:"&&t.port==="443"&&n.indexOf("https://"+t.hostname+":443")!==0&&(t.port=""),t},escapeHtml:function(n){var e=document.createElement("div");e.textContent=n;var t=e.innerHTML;return t},escapeLinksAndHtml:function(n,e){p.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeLinksAndHtml"},replacement:{module:"mw-html-utils/HtmlUtils",method:"treatHtmlLikeCommandWindow"}});var t="",r=n.split(this.HYPERLINK_ESCAPE_REGEXP),i=n.match(this.HYPERLINK_ESCAPE_REGEXP),s="",a=this,o=0,u=function(h,v,f,g){var m=a.parseUrl(v).protocol;m!=="http:"&&m!=="https:"&&m!=="matlab:"&&(v="#"),v=a.escapeHtml(v),g=a._strongNotEscaped(g,!0),s='<a href="'+v+'">'+g+"</a>"};if(e)t=this.escapeHtml(n),t=this.escapeWhitespace(t);else if(r[0]!==""&&(t=this._strongNotEscaped(r[0],!0)),i!==null&&i.length!==0)for(o=0;o<i.length;o=o+1)i[o].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,u),r[o+1]!==""&&(r[o+1]=this._strongNotEscaped(r[o+1],!0)),t+=s+r[o+1];return t},treatHtmlLikeCommandWindow:function(n,e,t){if(typeof n!="string")return"";var r="",i=n.split(this.HYPERLINK_ESCAPE_REGEXP),s=n.match(this.HYPERLINK_ESCAPE_REGEXP),a="",o=this,u=0;t=t||{};var c=function(v,f,g,m){var E=o.parseUrl(f).protocol,w="";E!=="http:"&&E!=="https:"&&E!=="matlab:"&&(f="#"),f=o.escapeHtml(f),m=o._strongNotEscaped(m,!1),o.BOLD_LINK_ATTRIBUTE_REGEX.test(g)&&(w=' style="font-weight:bold"'),a='<a href="'+f+'"'+w+">"+m+"</a>"};if(e)r=this.escapeHtml(n);else if(i[0]!==""&&(r=this._strongNotEscaped(i[0],!1)),s!==null&&s.length!==0)for(u=0;u<s.length;u=u+1)s[u].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,c),i[u+1]!==""&&(i[u+1]=this._strongNotEscaped(i[u+1],!1)),r+=a+i[u+1];return t.addPreTagToPreserveWhiteSpace&&(r='<span style="white-space: pre">'+r+"</span>"),r},_strongNotEscaped:function(n,e){var t="",r=n.match(this.STRONG_ESCAPE_REGEXP),i=n.split(this.STRONG_ESCAPE_REGEXP),s=function(u){return u};e&&(s=this.escapeWhitespace);var a=0;if(r!==null&&r.length!==0)for(t=s(this.escapeHtml(i[0])),a=0;a<r.length;a=a+1)t+=r[a]+s(this.escapeHtml(i[a+1]));else t=s(this.escapeHtml(n));return t},escapeWhitespace:function(n){return p.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeWhitespace"},replacement:{module:"Plain HTML",method:'Set class as white-space: pre or use <span style="white-space: pre">...</span>'}}),n=n||"",n.replace(/\n/g,"<br>").replace(/ {2}/g,"&nbsp;&nbsp;")},handleAnchors:function(n,e){if(e&&e.target&&e.target.href){e.preventDefault(),e.stopPropagation();var t=e.target.href;if(t.indexOf("matlab:")!==-1){var r=t.substring(0,7);if(r==="matlab:"){var i=e.target.href.substring(7);n(window.decodeURIComponent(i))}}else window.open(e.target.href)}},isElementOverflown:function(n){return n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth},sanitizeHtmlFromJava:A.sanitizeHtmlFromJava,sanitizeHtml:A.sanitizeHtml}},_,P),_.exports=S},21366:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){var C={A:["target","href","title"],ABBR:["title"],ADDRESS:[],AREA:["shape","coords","href","alt"],ARTICLE:[],ASIDE:[],AUDIO:["autoplay","controls","loop","preload","src"],B:[],BDI:["dir"],BDO:["dir"],BIG:[],BLOCKQUOTE:["cite"],BR:[],CAPTION:[],CENTER:[],CITE:[],CODE:[],COL:["align","valign","span","width"],COLGROUP:["align","valign","span","width"],DD:[],DEL:["datetime"],DETAILS:["open"],DIV:[],DL:[],DT:[],EM:[],FONT:["color","size","face"],FOOTER:[],H1:[],H2:[],H3:[],H4:[],H5:[],H6:[],HEADER:[],HR:[],I:[],IMG:["src","alt","title","width","height"],INS:["datetime"],LI:[],MARK:[],NAV:[],OL:[],P:[],PRE:[],S:[],SECTION:[],SMALL:[],SPAN:[],SUB:[],SUP:[],STRONG:[],TABLE:["width","border","align","valign"],TBODY:["align","valign"],TD:["width","rowspan","colspan","align","valign"],TFOOT:["align","valign"],TH:["width","rowspan","colspan","align","valign"],THEAD:["align","valign"],TR:["rowspan","align","valign"],TT:[],U:[],UL:[],VIDEO:["autoplay","controls","loop","preload","src","height","width"]},A=Object.assign(C),p={href:{"http:":!0,"https:":!0,"mailto:":!0,"matlab:":!0,relative:{"#":!0,"/":!0}},src:{"http:":!0,"https:":!0,"mailto:":!0,relative:{"#":!0,"/":!0}}},d=Object.assign(p),n=["backgroundColor","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","color","fontFamily","fontSize","fontStyle","fontWeight","height","lineHeight","margin","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textAnchor","textDecoration","textIndent","textOverflow","textShadow","textTransform","width"],e=[].concat(n);e.push("whiteSpace");var t=function(s,a,o){var u=void 0,c=a.getAttribute("style");if(u=o?n:e,s.style&&c!==null&&c!=="")for(var h=0;h<u.length;h+=1){var v=u[h],f=a.style[v];s.style[v]!==void 0&&(s.style[v]=f)}},r=function(s,a,o,u){return function(c){var h=function(M,R){var T=String.prototype.trim.call(R),N=T.indexOf(":");if(N<0&&M.relative[T.charAt(0)])return T;var F=T.substring(0,N);return M[F+":"]?T:"#"},v=function(M,R){for(var T=[],N=0;N<M.length;N+=1){var F=M[N];if(R.hasAttribute(F)){var y=R.getAttribute(F),x="";a[F]?x=h(a[F],y):x=y,T.push({key:F,value:x})}}return T},f=function(M){var R=void 0;if(M.nodeType===window.Node.ELEMENT_NODE){var T=s[M.tagName];if(T){R=document.createElement(M.tagName);var N=s[M.tagName],F=v(N,M);F.forEach(function(y){R.setAttribute(y.key,y.value)}),o&&t(R,M,u)}else R=document.createDocumentFragment()}else M.nodeType===window.Node.TEXT_NODE?R=document.createTextNode(M.textContent):R=document.createDocumentFragment();return R},g=function I(M){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=document.createDocumentFragment();if(R>150||!M)return T;for(var N=M.firstChild;N;N=N.nextSibling){var F=f(N);N.nodeType===window.Node.ELEMENT_NODE&&F.appendChild(I(N,R+1)),T.appendChild(F)}return T},m=new DOMParser,E=m.parseFromString(c,"text/html"),w=void 0;return E.body?w=g(E.body):w=document.createDocumentFragment(),w}};return{sanitizeHtmlFromJava:r(C,p,!0,"java"),sanitizeHtml:r(A,d,!0)}},_,P),_.exports=S},12803:(_,P,l)=>{"use strict";var b,S,C,A;function p(d,n){return n||(n=d.slice(0)),Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(n)}}))}b=[l(44037),l(88363),l(49786),l(35848),l(12395)],S=l.dj.d(b,function(d,n,e,t,r){"use strict";class i extends d{static get properties(){return{iconId:{reflect:!0,attribute:"icon-id",type:String},iconWidth:{reflect:!0,attribute:"icon-width",type:Number},iconHeight:{reflect:!0,attribute:"icon-height",type:Number},dataTestId:{reflect:!0,attribute:"data-test-id",type:String},tag:{reflect:!0,attribute:"data-tag",type:String},_iconContainer:{state:!0}}}static get styles(){return t(C||(C=p([`
:host {
display: inline-flex;
}
`])))}constructor(){super(),this._experimentalUseShadowDom=!0,this._initializeDefaultValues()}_initializeDefaultValues(){this.iconId="",this.iconWidth=16,this.iconHeight=16,this._iconContainer=document.createElement("div")}_handleSVGRequest(){if(this._iconFetchPromise=new Promise(u=>{this._iconFetchResolve=u}),this.iconId===""){this._iconContainer=document.createElement("div"),this._iconFetchResolve(this._iconContainer);return}const a={id:this.iconId,width:this.iconWidth,height:this.iconHeight};r.getInstance().getIcon(a).then(u=>{this._iconContainer=u,this._iconFetchResolve(u)}).catch(u=>{this._iconContainer=document.createElement("div"),this._iconFetchResolve(this._iconContainer),this.emit("error",{iconId:this.iconId,iconWidth:this.iconWidth,iconHeight:this.iconHeight},{bubbles:!1})})}willUpdate(a){(a.has("iconId")||a.has("iconWidth")||a.has("iconHeight"))&&this._handleSVGRequest()}getUpdateComplete(){let a;const o=new Promise(u=>{a=u});return super.getUpdateComplete().then(u=>{this._iconFetchPromise.then(()=>{a(u)})}),o}render(){return e(A||(A=p([`
`,`
`])),this._iconContainer)}}return n({name:"mw-icon",widgetClass:i})},_,P),_.exports=S},87290:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){const C="http://www.w3.org/2000/svg",A="#00000000";class p{static buildSvg(n){let{url:e,iconId:t,width:r,height:i}=n;const s=document.createElementNS(C,"svg");return s.setAttribute("fill",A),s.setAttribute("height",i),s.setAttribute("width",r),this.injectSVG({url:e,node:s,iconId:t,height:i,width:r}),s.setAttribute("data-test-id",t),s}static injectSVG(n){let{url:e,node:t,iconId:r,height:i,width:s}=n;const a="".concat(r,"_").concat(s,"x").concat(i);p._svgTextCache[a]!==void 0?t.innerHTML=p._svgTextCache[a]:p._pendingContainerNodes[a]!==void 0?p._pendingContainerNodes[a].push(t):(p._pendingContainerNodes[a]=[t],fetch(e,{mode:"cors",credentials:"include"}).then(function(o){o.text().then(function(u){p._svgTextCache[a]=u,p._pendingContainerNodes[a].forEach(function(h){h.innerHTML=p._svgTextCache[a]}),delete p._pendingContainerNodes[a];const c=new CustomEvent("iconfetchsuccess",{detail:{id:r}});t.dispatchEvent(c)})}))}}return p._svgTextCache={},p._pendingContainerNodes={},p},_,P),_.exports=S},85695:(_,P,l)=>{"use strict";var b,S;b=[l(87290),l(22928)],S=l.dj.d(b,function(C,A){class p{constructor(n){this._iconData={},this._iconsLocation=n.iconsLocation,this._iconsLocation[this._iconsLocation.length-1]!=="/"&&(this._iconsLocation+="/"),this._resolvePath=n.resolvePath,this._resolvePath||(this._resolvePath=function(e){return e}),this._setupCompleted=this._loadConfigData(n.registryLocation)}getIcon(n){const e=n.id;return new Promise(function(t,r){this._ready().then(function(){n.width===void 0&&(n.width=n.height||24),n.height===void 0&&(n.height=n.width||24),this._validateProps(n)?t(this._getSvg(e,n.width,n.height)):r(new Error("Failed to fetch icon with requested size. { id: ".concat(e,", width: ").concat(n.width,", height: ").concat(n.height," }")))}.bind(this))}.bind(this))}_validateProps(n){return typeof n.id=="string"&&typeof n.height=="number"&&typeof n.width=="number"&&this._iconData.hasOwnProperty(n.id)&&this._iconData[n.id].indexOf("".concat(n.width,"x").concat(n.height))>=0}isValidIcon(n){return new Promise(function(e,t){this._ready().then(function(){e(this._iconData.hasOwnProperty(n))}.bind(this))}.bind(this))}validateIconProperties(n){return new Promise(function(e,t){this._ready().then(function(){n.width===void 0&&(n.width=n.height||24),n.height===void 0&&(n.height=n.width||24),e(this._validateProps(n))}.bind(this))}.bind(this))}_ready(){return this._setupCompleted}_loadConfigData(n){return new Promise(function(e,t){fetch(this._resolvePath(n),{mode:"cors",credentials:"include"}).then(function(r){r.status===200?r.json().then(function(i){this._iconData=i,e()}.bind(this)):(A.warn("Could not load Icons Registry."),e())}.bind(this),function(r){t(r)})}.bind(this))}_getSvg(n,e,t){return C.buildSvg({url:this._resolvePath("".concat(this._iconsLocation).concat(e,"x").concat(t,"/").concat(n,".svg")),iconId:n,width:e,height:t})}}return p},_,P),_.exports=S},12395:(_,P,l)=>{"use strict";var b,S;b=[l(85695),l(63091),l(55644),l(22928)],S=l.dj.d(b,function(C,A,p,d){class n{static getInstance(t){let r,i,s;if(t){switch(s=t.iconFactoryConfig,s){case A.MATLAB:r=p.MATLAB;break;case A.MAVEN:r=p.MAVEN;break;case A.OTHER:r=t.config;break;default:r=p.MATLAB}r.id=t.id||n._DEFAULT_ID,i=n.createInstance(r)}else n._instances[n._DEFAULT_ID]?i=n._instances[n._DEFAULT_ID]:(r=p.MATLAB,r.id=n._DEFAULT_ID,i=n.createInstance(r));return i}static createInstance(t){const r=t.id?t.id:n._DEFAULT_ID;return n._instances[r]=new C(t),n._instances[r]}static destroyInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n._DEFAULT_ID;n._instances.hasOwnProperty(t)&&delete n._instances[t]}static _logOnce(t,r){n._logOnceCache.hasOwnProperty(t)||(d.log(r),n._logOnceCache[t]=!0)}}return n._logOnceCache={},n._instances={},n._DEFAULT_ID="mw-icons/default",n},_,P),_.exports=S},63091:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({MATLAB:"matlab",MAVEN:"maven",OTHER:"other"})},_,P),_.exports=S},55644:(_,P,l)=>{"use strict";var b,S;b=[l(93600)],S=l.dj.d(b,function(C){return{MATLAB:{iconsLocation:"ui/icons/",registryLocation:"ui/icons/registry.json",resolvePath:C.createWorkerRoutingHostUrl},MAVEN:{iconsLocation:"/target/dependencies/mw-icons-store/",registryLocation:"/target/dependencies/mw-icons-store/registry.json"}}},_,P),_.exports=S},22928:(_,P,l)=>{var b,S;b=[l(68678),l(73484),l(86111),l(44706),l(87227)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={};const t="DEFAULT",i=d.create(100),s={debug:4,log:3,dir:3,table:3,trace:3,time:3,timeEnd:3,group:3,groupCollapsed:3,groupEnd:3,info:2,warn:1,assert:0,error:0},a={};let o=0,u=A.DEBUG,c=C.DEVELOPMENT;const h=[],v={};let f=null;class g{constructor(E){if(v[E]!=null)return;n.makeReadOnlyProperty(this,"name",E),v[this.name]=this,this._timers={},this._threshold=A.DEBUG,this._showTimestamp=!0,n.makeReadOnlyProperty(this,"modes",C),n.makeReadOnlyProperty(this,"levels",A);const w=this;typeof window=="object"&&(window.$mwLog={get filter(){return w.filter},set filter(I){w.filter=I},get mode(){return w.mode},set mode(I){w.mode=I}})}static _sanitizeLevel(E){return typeof E=="number"?E:A.DEBUG}static _sanitizeMode(E){return n.objectValues(C).indexOf(E)>-1?E:C.DEVELOPMENT}get threshold(){return this._threshold}set threshold(E){this._threshold=g._sanitizeLevel(E)}get showTimestamp(){return this._showTimestamp}set showTimestamp(E){this._showTimestamp=!!E}get globalThreshold(){return u}set globalThreshold(E){u=g._sanitizeLevel(E)}get mode(){return c}set mode(E){E&&(c=g._sanitizeMode(E))}get filter(){return f}set filter(E){(typeof E=="function"||E===null)&&(f=E)}_shouldLog(E,w){if(f&&c===C.DEVELOPMENT){const I={name:this.name,type:w};return!!f(I)}return u>E&&this._threshold>E}_nameAndTime(){const E=[];return this.name!==t&&E.push(this.name),this._showTimestamp&&E.push(n.currentTimeString()),E}table(E){if(this._shouldLog(s.table,p.TABLE)){const w={namespace:this.name,type:p.TABLE,message:[E],time:new Date};i.add(w),n.printToConsole(p.LOG,this._nameAndTime(),c),n.printToConsole(p.TABLE,[E],c),n.execCallbacks(a,w)}}trace(){if(this._shouldLog(s.trace,p.TRACE)){const E={namespace:this.name,type:p.TRACE,message:null,time:new Date};let I=new Error().stack.split(`
`);for(I[0]==="Error"&&I.shift();I[0].includes("Log.js")||I[0].includes("logger.trace")||I[0].includes("trace");)I.shift();I=I.join(`
`),E.message=[I],i.add(E),n.printToConsole(p.LOG,this._nameAndTime(),c),n.printToConsole(p.TRACE,[],c),n.execCallbacks(a,E)}}time(E){this._shouldLog(s.time)&&(this._timers[E]==null?this._timers[E]=new Date().getTime():this.warn('timer "'+E+'" already exists.'))}timeEnd(E){if(this._shouldLog(s.timeEnd,p.TIME_END)){const w={namespace:this.name,type:p.TIME_END,message:null,time:new Date};if(this._timers[E]!=null){const I=new Date().getTime()-this._timers[E];w.message=[E+": "+I+"ms - timer ended"],i.add(w),n.printToConsole(p.LOG,this._nameAndTime().concat(w.message),c),n.execCallbacks(a,w),this._timers[E]=null}else this.warn('timer "'+E+`" doesn't exist.`)}}_group(E,w){if(this._shouldLog(s.group,w?p.GROUP_COLLAPSED:p.GROUP)){const I=w?p.GROUP_COLLAPSED:p.GROUP,M={namespace:this.name,type:I,message:[E],time:new Date};h.push(E),i.add(M),n.printToConsole(I,[E],c),n.execCallbacks(a,M)}}groupCollapsed(E){this._group(E,!0)}group(E){this._group(E,!1)}groupEnd(){if(this._shouldLog(s.groupEnd,p.GROUP_END)){const E=h.pop(),w={namespace:this.name,type:p.GROUP_END,message:[E],time:new Date};i.add(w),n.printToConsole(p.GROUP_END,[],c),n.execCallbacks(a,w)}}assert(E,w){if(this._shouldLog(s.assert,p.ASSERT)&&!E){const I={namespace:this.name,type:p.ASSERT,message:["Assertion failed:",w],time:new Date};i.add(I),I.message.shift();const M=[!1].concat(this._nameAndTime().concat(I.message));n.printToConsole(p.ASSERT,M,c),n.execCallbacks(a,I)}}_basicLogMethod(E,w,I){if(this._shouldLog(w,E)){const M={namespace:this.name,type:E,message:I,time:new Date};I=this._nameAndTime().concat(I),i.add(M),n.printToConsole(E,I,c),n.execCallbacks(a,M)}}debug(E){const w=Array.prototype.slice.call(arguments);this._basicLogMethod(p.DEBUG,s.debug,w)}log(E){const w=Array.prototype.slice.call(arguments);this._basicLogMethod(p.LOG,s.log,w)}dir(E){const w=Array.prototype.slice.call(arguments);this._basicLogMethod(p.DIR,s.dir,w)}info(E){const w=Array.prototype.slice.call(arguments);this._basicLogMethod(p.INFO,s.info,w)}warn(E){const w=Array.prototype.slice.call(arguments);this._basicLogMethod(p.WARN,s.warn,w)}error(E){const w=Array.prototype.slice.call(arguments);this._basicLogMethod(p.ERROR,s.error,w)}addCallback(E,w){a[o]=E,w&&i.applyCallback(E);const I={},M=o;return I.remove=()=>{delete a[M]},o++,I}createLogger(E){const w=new g(E);return w.name?w:v[E]}}return e.default=new g(t),e.default},_,P),_.exports=S},44706:(_,P,l)=>{var b,S;b=[l(87227)],S=l.dj.d(b,function(C){"use strict";var A={};function p(n){const e={},t=[];C.makeReadOnlyProperty(e,"size",n);let r=0;return e.add=function(i){t[r]=i,r=(r+1)%e.size},e.applyCallback=function(i){let s=r+1;t[s]===void 0&&(s=0);let a=0,o=s;for(;a<e.size&&t[o]!==void 0;)i(t[o]),o=(o+1)%n,a++},e}const d={};return d.create=p,A.default=d,A.default},_,P),_.exports=S},73484:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A={DEBUG:5,LOG:4,TABLE:4,TIME:4,DIR:4,INFO:3,WARN:2,ASSERT:1,ERROR:1};return Object.freeze(A),C.default=A,C.default},_,P),_.exports=S},68678:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A={DEVELOPMENT:"DEVELOPMENT",PRODUCTION:"PRODUCTION"};return Object.freeze(A),C.default=A,C.default},_,P),_.exports=S},86111:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A={DEBUG:"debug",LOG:"log",TABLE:"table",TRACE:"trace",TIME_END:"timeEnd",GROUP:"group",GROUP_COLLAPSED:"groupCollapsed",GROUP_END:"groupEnd",DIR:"dir",INFO:"info",WARN:"warn",ASSERT:"assert",ERROR:"error"};return Object.freeze(A),C.default=A,C.default},_,P),_.exports=S},87227:(_,P,l)=>{var b,S;b=[l(68678)],S=l.dj.d(b,function(C){"use strict";var A={};const p={};return p.objectValues=function(d){const n=[];for(const e in d)Object.prototype.hasOwnProperty.call(d,e)&&n.push(d[e]);return n},p.makeReadOnlyProperty=function(d,n,e){Object.defineProperty(d,n,{value:e,writable:!1})},p.execCallbacks=function(d,n){const e=p.objectValues(d);for(const t in e)e[t](n)},p.currentTimeString=function(){const d=new Date;return d.toLocaleTimeString("en-US",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric"})+"."+d.getTime()%1e3},p.printToConsole=function(d,n,e){(e!==C.PRODUCTION||d==="error")&&console[d].apply(console,n)},A.default=p,A.default},_,P),_.exports=S},59940:(_,P,l)=>{var b,S;b=[l(64458),l(10520),l(75971),l(79415),l(93600)],S=l.dj.d(b,function(C,A,p,d,n){function e(a,o){const u=o._startFunction||o.start,c=o.stop,h=a._startFunction||a.start,v=a.stop,f=function(){h.call(a,[]),u.call(o,[])},g=function(){c.call(o,[]),v.call(a,[])};o._startFunction?o._startFunction=f:o.start=f,a._startFunction?a._startFunction=f:a.start=f,o.stop=g,a.stop=g}const t=C(new A(n,null,null,null,{instanceType:p.MATLAB_SERVICE_HOST.name})),r=new A(n,null,null,null,{instanceType:p.APP_SERVICE_HOST.name});let i;n.enableServerOnWorkerAsync=function(){},n.disableServerOnWorkerAsync=function(){};const s={};return s[p.APP_SERVICE_HOST.name]=()=>(i||(i=C(r),t.isStarted()&&i.start(),e(t,i)),i),s[p.MATLAB_SERVICE_HOST.name]=()=>t,t.create=function(a){return d(s,a)},t},_,P),_.exports=S},10520:(_,P,l)=>{var b,S;b=[l(74786),l(69196),l(72904),l(89780),l(78470),l(85646),l(83766),l(75971),l(22928),l(65763)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){const a=n.setTimeout,o=n.clearTimeout,u=2e4,c=30,h=!1;let v=0,f=0;const g={},m=200;setInterval(function(){v+=m,Object.keys(g).forEach(function(M){const R=g[M];R&&R.execTime<=v&&(R.func(),delete g[M])})},m),n.setTimeout=function(M,R){if(R===0)return a(M,R);{f+=1;const T=`t-${f}`;return g[T]={func:function(){try{M()}catch(N){i.warn(`Exception invoking timed function in callback
, this is likely an issue with code calling MessageService`,M,N)}},execTime:v+R},T}},n.clearTimeout=function(M){typeof M=="number"?o(M):delete g[M]};const E=function(M,R,T,N,F){const y=new n.CometD(M);return y.registerExtension("ack",new e),y},w=function(M,R){M.successful?R.resolve(M):(i.warn("Message failed: ",M),R.reject(M))},I=C([],{BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async",logCometdLifecycle:!1,logCometdSubscriptions:!1,constructor:function(M,R,T,N,F){F=F||{},this.remote=M,this.constructCometD=R||E,this.workerProxyAsyncClient=T||new s("remoteWorkerAsyncProducer");const y=r[F.instanceType];y&&(this.BASE_PREFIX=y.BASE_PREFIX,this.BASE_END_POINT=y.BASE_END_POINT),this.cometdProperties=N||{useWorkerScheduler:!1,stickyReconnect:!0,connectTimeout:5e3,maxConnections:2,backoffIncrement:2e3,maxBackoff:2e3,logLevel:"warn",maxNetworkDelay:u,requestHeaders:{},appendMessageTypeToURL:!1,autoBatch:!0,urls:{},maxURILength:2e3,maxSendBayeuxMessageSize:Number.MAX_SAFE_INTEGER};const x=["maxNetworkDelay","connectTimeout","logLevel"],O=A.cometdProperties;if(O)for(let j=0;j<x.length;j+=1){const H=x[j];O[H]!==void 0&&(this.cometdProperties[H]=O[H])}this.subscriptions={},this.recentMessages=[],this._deferredCleanupFunction=()=>{this._deferredCleanup=!1,this.recentMessages=[]},this.routingHost=I.workerHostOverride||this.remote.getWorkerRoutingHost(),this.routingKey=this.remote.getWorkerRoutingKey(),this.computeToken=this.remote.getComputeSessionId();const L=this.remote.getEndPointByName("WORKER_ASYNC_ENDPOINT");this.withCredentials=L?L.withCredentials:!1;const W=this._setUpEndPoint();this.computeToken&&(W.computeToken=this.computeToken),this.cometdProperties.url=W.url,this.cometdProperties.requestHeaders={computeToken:W.computeToken},this.cometd=null,this._connectedAtLeastOnce=!1,this.logCometdLifecycle&&i.info("MessageServiceAsync will construct new cometd instance when connecting.")},onMessage:function(M){},onConnectionError:function(){},onConnectionFails:function(){},onConnectionSuccess:function(){},connect:function(M){this.routingHost=I.workerHostOverride||this.remote.getWorkerRoutingHost(),this.routingKey=this.remote.getWorkerRoutingKey(),this.computeToken=this.remote.getComputeSessionId();const R=this.remote.getEndPointByName("WORKER_ASYNC_ENDPOINT");this.withCredentials=R?R.withCredentials:!1;const T=this._setUpEndPoint();this.computeToken&&(T.computeToken=this.computeToken),this.cometdProperties.url=T.url,this.cometdProperties.requestHeaders={computeToken:T.computeToken},this.cometd||(this.cometd=this.constructCometD("messageService",this.workerProxyAsyncClient,{websocket:I.enableWebsocket},T,this.remote),this.registerTransports({websocket:I.enableWebsocket}),this.logCometdLifecycle&&i.info("MessageServiceAsync constructing new cometd instance."));const N=new p;let F=0;return this.cleanupListeners(),this._handshakeHandle=this.cometd.addListener("/meta/handshake",y=>{if(y.successful===!0){F=0;let x,O;const L=[];this.doStartBatch();for(x in M)Object.prototype.hasOwnProperty.call(M,x)&&(O=M[x],L.push(this.doSubscribe(x)),O.subscribed=!0);this.doEndBatch(),d(L).then(W=>{this._connectedAtLeastOnce=!0,N.isFulfilled()?this.cometd&&this.onConnectionSuccess():N.resolve(W)},()=>{let W,j;const H=[];this.doStartBatch();for(W in M)Object.prototype.hasOwnProperty.call(M,W)&&(j=M[W],H.push(this.doSubscribe(W)),j.subscribed=!0);this.doEndBatch(),d(H).then(K=>{this._connectedAtLeastOnce=!0,N.isFulfilled()?this.cometd&&this.onConnectionSuccess():N.resolve(K)},K=>{N.reject(K)})})}}),this._connectHandle=this.cometd.addListener("/meta/connect",y=>{y.successful===!0&&(F>0&&this.cometd&&this.onConnectionSuccess(),F=0)}),this._unsuccessHandle=this.cometd.addListener("/meta/unsuccessful",y=>{if((y.channel==="/meta/handshake"||y.channel==="/meta/connect"||y.advice&&y.advice.reconnect==="handshake")&&F<c)F+=1,F===1&&this.onConnectionError();else if(y.channel==="/meta/disconnect")N&&!N.isFulfilled()&&N.reject(y);else if(F>=c){const x=this.doDisconnect();this._connectedAtLeastOnce||x.catch(()=>{i.info("MessageService never got connected to the server, and the attempt to disconnect also fails. Suppressing console error with this info log")}),N&&!N.isFulfilled()?N.reject(y):this.onConnectionFails()}}),this.cometd.init(this.cometdProperties),N.promise},registerTransports:function(M){const R=new n.LongPollingTransport;R.accept=()=>!0;const T=new n.WebSocketTransport;this.cometd.unregisterTransports(),M[t.WEBSOCKET]&&this.cometd.registerTransport(t.WEBSOCKET,T,0),this.cometd.registerTransport(t.LONG_POLLING,R,1)},disconnect:function(){this.logCometdLifecycle&&i.info("MessageServiceAsync disconnecting cometd due to disconnect call.",this.cometd.getClientId());const M=this._createOneShotMessagePromise("/meta/disconnect");return this.cometd.disconnect(),M},destructCometd:function(){this.cometd&&(this.cleanupListeners(),this.cometd=null,this.logCometdLifecycle&&i.info("MessageServiceAsync destroying cometd instance."))},cleanup:function(){this.cometd&&(this.logCometdLifecycle&&i.info("MessageServiceAsync disconnecting cometd due to cleanup call.",this.cometd,this.cometd&&this.cometd.getClientId()),this.cometd.disconnect())},cleanupListeners:function(){this._handshakeHandle&&this.cometd.removeListener(this._handshakeHandle),this._connectHandle&&this.cometd.removeListener(this._connectHandle),this._unsuccessHandle&&this.cometd.removeListener(this._unsuccessHandle)},delegateConnected:function(){return this.cometd?!this.cometd.isDisconnected()&&this.cometd.getStatus()!=="handshaking":!1},doPublish:function(M,R){const T=new p;return this.cometd.publish(this._getRequestChannel(M),R,{},function(N){w(N,T)}),T.promise},doSubscribe:function(M){this.logCometdSubscriptions&&i.info("MessageServiceAsync subscribing cometd to channel: "+M);const R=this._createOneShotMessagePromise("/meta/subscribe");return this.subscriptions[M]=this.cometd.subscribe(this._getRequestChannel(M),this,this._handleCometResponse),R},doDisconnect:function(){this.logCometdSubscriptions&&i.info("MessageServiceAsync sending disconnect to cometd");const M=this._createOneShotMessagePromise("/meta/disconnect");return this.cometd.disconnect(!0),M},doUnsubscribe:function(M){if(this.subscriptions[M]){this.logCometdSubscriptions&&i.info("MessageServiceAsync unsubscribing cometd from channel: "+M);const R=this._createOneShotMessagePromise("/meta/unsubscribe");return this.cometd.unsubscribe(this.subscriptions[M]),delete this.subscriptions[M],R}else return new p().resolve({successful:!0})},doStartBatch:function(){this.cometd.startBatch()},doEndBatch:function(){this.cometd.endBatch()},doSetLatency:function(M){this.workerProxyAsyncClient.setLatency(M)},doSetErrorRate:function(M){this.workerProxyAsyncClient.setErrorRate(M)},getTransport:function(){return this.cometd&&!this.cometd.isDisconnected()?this.cometd.getTransport().getType():t.UNKNOWN},_handleCometResponse:function(M){this._shouldHandleMessage(M)&&this.onMessage(this._stripBasePrefixAndConvertToJson(M))},_shouldHandleMessage:function(M){return M.id?!1:this.recentMessages.indexOf(M)<0?(this.recentMessages.push(M),this._deferRecentMessagesCleanup(),!0):!1},_deferRecentMessagesCleanup:function(){this._deferredCleanup||(this._deferredCleanup=setTimeout(this._deferredCleanupFunction,0))},_createOneShotMessagePromise:function(M){const R=new p;return this._addOneShotListener(M,function(T){w(T,R)}),R.promise},_addOneShotListener:function(M,R){const T=this,N=this.cometd,F=this.cometd.addListener(M,function(y){N.removeListener(F),R.apply(T,arguments)})},_setUpEndPoint:function(){let M,R=!1;const T="MESSAGE_SERVICE_ASYNC_ENDPOINT",N=!0,F=!0;let y;return h&&typeof this.remote.sendPayload=="function"?(R=!0,this.remote.createNewEndPoint(T,N,this.BASE_END_POINT,"remoteWorkerAsyncProducer",F),this.remote.setServiceEndPoint(T,this.routingHost,this.routingKey),M=this.remote.getUrlForEndPoint(T),y=this.remote.getEndPointAllowsDirectXhr(T)):(M=this.routingHost||"/",M.slice(-1)!=="/"&&(M+="/"),M+=this.BASE_END_POINT,this.routingKey&&(M+="?routingkey="+this.routingKey)),{remoteSupportsSendPayload:R,url:M,endPointName:T,endPointAllowsDirectXhr:y}},_getRequestChannel:function(M){return this.BASE_PREFIX+M},_stripBasePrefixAndConvertToJson:function(M){return{channel:M.channel.substring(this.BASE_PREFIX.length),data:M.data}}});return I.enableWebsocket=!1,I.workerHostOverride=!1,window.location.search.indexOf("websocket=on")>=0&&(I.enableWebsocket=!0),I},_,P),_.exports=S},12350:(_,P,l)=>{var b,S;b=[l(74786),l(69961),l(76873),l(72904),l(22928),l(38337),l(83766)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return C([e],{logSubscriptions:!1,constructor:function(){this.batching=!0,this.typeSerializers=[],this.typeDeserializers={},this.channelSubscriptions={},this._queuedOps=[],this._hasConnected=!1},setDelegate:function r(i){this.inherited("setDelegate",r,arguments),p.after(this._delegate,"onMessage",A.hitch(this,this.handleMessage),!0)},publish:function(r,i){if(this.isConnected()){const s=this._queuePublish(r,this.serialize(i));return this._deferProcessQueue(),s}else return this._queuePublish(r,this.serialize(i))},subscribe:function(r,i,s){this.logSubscriptions&&n.info("MessageService subscribe: "+r,i,s);const a=this._queueSubscribe(r,i,s);return this._addHandler(this.channelSubscriptions,r,i,s),a.catch(()=>{a.isCanceled()||this._removeHandler(this.channelSubscriptions,r,i,s)}),this.isConnected()&&this._deferProcessQueue(),a},unsubscribe:function(r,i,s){if(this.logSubscriptions&&n.info("MessageService unsubscribe: "+r,i,s),this._removeHandler(this.channelSubscriptions,r,i,s)){if(this._removeQueuedMatchingSubscribe(r,i,s))return new d().resolve();if(this.isConnected()){const o=this._queueUnsubscribe(r,i,s);return this._deferProcessQueue(),o}else return new d().resolve()}else return n.error("Not subscribed to channel: "+r+", can't unsubscribe."),new d().reject("Not subscribed to channel: "+r+", can't unsubscribe.")},flush:function(){if(this.isConnected())this._processQueue();else throw new Error("Can only manually flush the queue when connected.")},setLatency:function(r){this._delegate&&this._delegate.doSetLatency&&this._delegate.doSetLatency(r)},setErrorRate:function(r){this._delegate&&this._delegate.doSetErrorRate&&this._delegate.doSetErrorRate(r)},getTransport:function(){return this._delegate&&this._delegate.getTransport?this._delegate.getTransport():t.UNKNOWN},_enterDisconnected:function r(){this.inherited("_enterDisconnected",r,arguments),this._rejectQueue()},_enterConnecting:function r(){this.inherited("_enterConnecting",r,arguments),Object.keys(this.channelSubscriptions).forEach(i=>{this.channelSubscriptions[i].subscribed=!1})},_enterConnected:function r(){this._hasConnected=!0,this.inherited("_enterConnected",r,arguments),this._processQueue()},_enterDisconnecting:function r(){this._processQueue(),this.inherited("_enterDisconnecting",r,arguments)},_enterFatallyDisconnected:function r(){this.inherited("_enterFatallyDisconnected",r,arguments),this._rejectQueue()},_queuePublish:function(r,i){const s=new d;return this._queuedOps.push({type:"publish",channel:r,data:i,deferred:s}),s.promise},_queueSubscribe:function(r,i,s){const a=new d;return this._queuedOps.push({type:"subscribe",channel:r,handler:i,scope:s,deferred:a}),a.promise},_removeQueuedMatchingSubscribe:function(r,i,s){let a;for(let o=this._queuedOps.length-1;o>=0;o-=1)if(a=this._queuedOps[o],a.type==="subscribe"&&a.channel===r&&a.handler===i&&a.scope===s){this._queuedOps.splice(o,1);const u=this._delegate&&this._delegate.delegateConnected();return this.isConnected()&&u&&a.deferred.resolve(),!0}},_queueUnsubscribe:function(r,i,s){const a=new d;return this._queuedOps.push({type:"unsubscribe",channel:r,handler:i,scope:s,deferred:a}),a.promise},_processQueue:function(){const r=this._delegate&&this._delegate.delegateConnected();if(!(this.isConnected()&&r)&&this._currentState!=="disconnecting")return;this._delegate.doStartBatch();const s=this._queuedOps;this._queuedOps=[],s.forEach(function(a){let o;a.type==="publish"?o=this._delegate.doPublish(a.channel,a.data):a.type==="subscribe"?o=this._doSubscribe(a.channel,a.handler,a.scope):a.type==="unsubscribe"&&(o=this._doUnsubscribe(a.channel,a.handler,a.scope)),o.then(a.deferred.resolve,a.deferred.reject)},this),this._delegate.doEndBatch()},_rejectQueue:function(){if(this._hasConnected){for(let r=0;r<this._queuedOps.length;r+=1)this._queuedOps[r].deferred.reject(new Error("MessageService disconnected. Discarding queued message"));this._queuedOps=[]}this._hasConnected=!1},_deferProcessQueue:function(){if(this.batching&&!this._deferredTimeout){const r=this;this._deferredTimeout=setTimeout(function(){r._deferredTimeout=!1,r._processQueue()},0)}else this.batching||this._processQueue()},_doSubscribe:function(r){if(this.channelSubscriptions[r].subscribed)return new d().resolve();{const i=this._delegate.doSubscribe(r);return this.channelSubscriptions[r].subscribed=!0,i.catch(()=>{this.channelSubscriptions[r].subscribed=!1}),i}},_doUnsubscribe:function(r){return this.channelSubscriptions[r]?new d().resolve():this._delegate.doUnsubscribe(r)},handleMessage:function(r){let i;if(r&&r.channel){r.data&&(r.data=this.deserialize(r.data));const s=r.channel.split("/");for(i=1;i<=s.length;i+=1)this._callHandlers(this.channelSubscriptions,s.slice(0,i).concat("**").join("/"),r);this._callHandlers(this.channelSubscriptions,s.slice(0,s.length-1).concat("*").join("/"),r),this._callHandlers(this.channelSubscriptions,s.concat("*").join("/"),r),this._callHandlers(this.channelSubscriptions,r.channel,r)}},registerMessageHandler:function(r,i,s){n.error("registerMessageHandler is not supported any more.")},deregisterMessageHandler:function(r,i,s){n.error("deregisterMessageHandler is not supported any more.")},registerTypeSerializer:function(r,i,s){this.typeSerializers.push({typeMatcher:r,type:i,serializer:s})},registerTypeDeserializer:function(r,i){this.typeDeserializers[r]=i},serialize:function(r){return A.isArray(r)?this._serializeArray(r):r instanceof Number||r instanceof Boolean||A.isString(r)?r:this._serializeObject(r)},deserialize:function(r){return A.isArray(r)?this._deserializeArray(r):r instanceof Number||r instanceof Boolean||A.isString(r)?r:this._deserializeObject(r)},_addHandler:function(r,i,s,a){if(a=a||this,typeof s=="string"&&typeof a[s]!="function"){n.warn("Not adding invalid handler: "+s);return}let o=r[i];o||(o=[],r[i]=o);const u={channel:i,handler:s,scope:a};o.push(u),o.sort(function(c){return c.exclusive?-1:0})},_removeHandler:function(r,i,s,a){a=a||this;const o=r[i],u=this._getHandlerIndex(o,{handler:s,scope:a});return u>=0&&o.splice(u,1),(!o||o.length===0)&&delete r[i],u>=0},_callHandlers:function(r,i,s){let a,o;if(Object.prototype.hasOwnProperty.call(r,i))for(a=r[i],o=0;o<a.length;o+=1)try{typeof a[o].handler=="string"?a[o].scope[a[o].handler].call(a[o].scope,s):a[o].handler.call(a[o].scope,s)}catch(u){n.error("Error while executing message handler on channel: "+i+", message: "+JSON.stringify(s,null,2)+", error: ",u)}},_getHandlerIndex:function(r,i){if(!r)return-1;let s;for(s=0;s<r.length;s+=1)if(i.handler===r[s].handler&&i.scope===r[s].scope)return s;return-1},_serializeObject:function(r){let i,s;for(s=0;s<this.typeSerializers.length;s+=1){const a=this.typeSerializers[s];if(a.typeMatcher(r))return{__type__:a.type,__value__:a.serializer.call(this,r)}}if(r instanceof window.Image)return r;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(r[i]=this.serialize(r[i]));return r},_serializeArray:function(r){let i;const s=r.length;for(i=0;i<s;i+=1)r[i]=this.serialize(r[i]);return r},_deserializeObject:function(r){let i;if(r==null)return null;if(Object.prototype.hasOwnProperty.call(r,"__type__")&&Object.prototype.hasOwnProperty.call(r,"__value__"))try{return this.typeDeserializers[r.__type__].call(this,r.__value__)}catch(s){n.error("Error while trying to deserialize: ",r,"Error: ",s)}for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&r[i]!==null&&r[i]!==void 0&&(r[i]=this.deserialize(r[i]));return r},_deserializeArray:function(r){let i;const s=r.length;for(i=0;i<s;i+=1)r[i]=this.deserialize(r[i]);return r}})},_,P),_.exports=S},38337:(_,P,l)=>{var b,S;b=[l(74786),l(57574),l(69961),l(76873),l(89780),l(62407),l(22928)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return C([A],{logStateChanges:!1,constructor:function(){this._stateOptions={context:this,name:"WraDataService",namespace:"MOTW.wra",defaultSubstate:"disconnected",substates:{disconnected:{transitions:{onEnterState:this._enterDisconnected,start:"connecting"}},connecting:{transitions:{onEnterState:this._enterConnecting,_connectSuccess:"connected",_connectFailure:"fatallyDisconnected",stop:"disconnected"}},connected:{transitions:{onEnterState:this._enterConnected,_reconnect:"connecting",stop:"disconnecting"}},disconnecting:{transitions:{onEnterState:this._enterDisconnecting,_disconnectSuccess:"disconnected",_disconnectFailure:"disconnected","timeout 2":"disconnected"}},fatallyDisconnected:{transitions:{onEnterState:this._enterFatallyDisconnected,stop:"disconnected"}}}}},setDelegate:function(r){this._delegate!==r&&(this._delegate=r,this._states=new e(this._stateOptions),d.after(this._states,"onEnterState",p.hitch(this,this._enterState),!0),this._states.start());const i=this;d.after(this._delegate,"onConnectionError",function(){i._changeStateToConnecting()},!0),d.after(this._delegate,"onConnectionFails",function(){i._currentState="fatallyDisconnected",i._enterFatallyDisconnected()},!0),d.after(this._delegate,"onConnectionSuccess",function(){i._currentState="connected",i._enterConnected()},!0)},_changeStateToConnecting:function(){t.info("something wrong with connection, so changing state to connecting now, cometd is trying to connect again on its own"),this._currentState="connecting",this.onNotConnected()},onConnected:function(){this.emit("connected")},onNewlyConnected:function(){},onDisconnected:function(){this.emit("disconnected")},onReconnected:function(){this.emit("reconnected")},onFatallyDisconnected:function(){this.emit("fatallyDisconnected")},onNotConnected:function(){this.emit("notConnected")},isStarted:function(){return this._currentState!=="disconnecting"&&this._currentState!=="disconnected"},isConnected:function(){return this._currentState==="connected"},isFatallyDisconnected:function(){return this._currentState==="fatallyDisconnected"},isDisconnected:function(){return this._currentState==="disconnected"},start:function(){this._forceStop=!1},stop:function(){this._forceStop=!0},_enterState:function(r){const i=this._currentState;this._currentState=r,this.logStateChanges&&t.info("MessageService state change: "+i+" -> "+r),i==="connected"&&this.onNotConnected(),r==="connected"&&this._previouslyConnected?this.onReconnected():r==="connected"&&!this._previouslyConnected&&this.onNewlyConnected()},_enterDisconnected:function(){this._previouslyConnected=!1,this._delegate.cleanup(),this._forceStop&&this._delegate.destructCometd(),this.onDisconnected()},_enterConnecting:function(){this._delegate.cleanup(),this._delegate.connect(this.channelSubscriptions).then(this._connectSuccess,this._connectFailure)},_reconnect:function(){},_connectSuccess:function(){},_connectFailure:function(){},_timeoutAction:function(){this.logStateChanges&&t.info("MessageService timeout:",arguments)},_enterConnected:function(){this._previouslyConnected&&t.info("Successfully connected."),this._previouslyConnected=!0,this.onConnected()},_enterFatallyDisconnected:function(){this.onFatallyDisconnected()},_enterDisconnecting:function(){this._delegate.disconnect().then(this._disconnectSuccess,this._disconnectFailure)},_disconnectSuccess:function(){},_disconnectFailure:function(){}})},_,P),_.exports=S},64458:(_,P,l)=>{var b,S;b=[l(69961),l(76873),l(86560),l(12350)],S=l.dj.d(b,function(C,A,p,d){return function(e){const t=new d,r={messageService:t,subscribe:C.hitch(t,"subscribe"),unsubscribe:C.hitch(t,"unsubscribe"),publish:C.hitch(t,"publish"),start:C.hitch(t,"start"),stop:C.hitch(t,"stop"),isRunning:C.hitch(t,"isStarted"),isStarted:C.hitch(t,"isStarted"),isConnected:C.hitch(t,"isConnected"),isFatallyDisconnected:C.hitch(t,"isFatallyDisconnected"),isDisconnected:C.hitch(t,"isDisconnected"),setLatency:C.hitch(t,"setLatency"),setErrorRate:C.hitch(t,"setErrorRate"),getTransport:C.hitch(t,"getTransport"),onConnected:function(){},onDisconnected:function(){},onReconnected:function(){},onFatallyDisconnected:function(){},onNotConnected:function(){},on:function(i,s){return p(this.messageService,i,s)},handleMessage:C.hitch(t,"handleMessage"),internalMotwDisableStart:function(){this._startFunction=this.start,this.start=function(){}},internalMotwEnableStart:function(){this._startFunction&&(this.start=this._startFunction,this._startFunction=null)}};return A.after(t,"onConnected",C.hitch(r,"onConnected"),!0),A.after(t,"onDisconnected",C.hitch(r,"onDisconnected"),!0),A.after(t,"onReconnected",C.hitch(r,"onReconnected"),!0),A.after(t,"onFatallyDisconnected",C.hitch(r,"onFatallyDisconnected"),!0),A.after(t,"onNotConnected",C.hitch(r,"onNotConnected"),!0),t.setDelegate(e),r}},_,P),_.exports=S},75971:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return{APP_SERVICE_HOST:{name:"APP_SERVICE_HOST",BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async/blue"},MATLAB_SERVICE_HOST:{name:"MATLAB_SERVICE_HOST",BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async"}}},_,P),_.exports=S},79415:(_,P,l)=>{var b,S;b=[l(75971)],S=l.dj.d(b,function(C){const A=/AppServiceHost/i,p=n=>n.serviceName.match(A)!==null,d=(n,e)=>p(e)?n[C.APP_SERVICE_HOST.name]():n[C.MATLAB_SERVICE_HOST.name]();return function(e,t){if(t.serviceName){if(!t.serviceName.length||t.serviceName.length<5)throw new Error("serviceName must be longer than 4 characters")}else throw new Error("Must provide a serviceName");const r=d(e,t),i={};return["subscribe","unsubscribe","publish","isStarted","isConnected","isFatallyDisconnected","isDisconnected","setLatency","setErrorRate","getTransport","on","onConnected","onDisconnected"].forEach(s=>{i[s]=r[s].bind(r)}),i.messageService=r.messageService,i}},_,P),_.exports=S},83766:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return{UNKNOWN:"unknown",LONG_POLLING:"long-polling",WEBSOCKET:"websocket"}},_,P),_.exports=S},31915:(_,P,l)=>{var b,S;b=[l(74786),l(75058),l(83830),l(81070),l(69961),l(3782)],S=l.dj.d(b,function(C,A,p,d,n,e){return C([A,p],{templateString:'<div class="${baseClass}" style="display:none;"><div class="${baseClass}Container" data-dojo-attach-point="containerNode"><div class="${baseClass}Title" data-dojo-attach-point="titleNode">${!title}</div><div class="${baseClass}Content" data-dojo-attach-point="contentNode"></div></div></div>',baseClass:"mwBanner","data-test-id":"",title:"Banner Title",content:"This is the Banner Content Area",duration:4e3,wipeInDuration:500,wipeOutDuration:350,_hideTimer:0,isVisible:!1,onHide:function(){},postCreate:function(){d.set(this.domNode,"data-test-id",this["data-test-id"])},_setContentAttr:function(t){n.isString(t)?this.contentNode.innerHTML=t:(t.placeAt(this.contentNode),t.startup())},show:function(){if(this.isVisible||(this.set("isVisible",!0),e.wipeIn({node:this.domNode,duration:this.wipeInDuration}).play()),this.duration>0){var t=setTimeout(n.hitch(this,this.hide),this.duration);this.set("_hideTimer",t)}},hide:function(){this.isVisible&&(this.set("isVisible",!1),clearTimeout(this._hideTimer),e.wipeOut({node:this.domNode,duration:this.wipeOutDuration,onEnd:this.onHide}).play())}})},_,P),_.exports=S},16517:(_,P,l)=>{var b,S;b=[l(74786),l(75058),l(83830),l(45760),l(49140)],S=l.dj.d(b,function(C,A,p,d,n){let e={error:n.errorIconAltText,warning:n.warningIconAltText,info:n.infoIconAltText,question:n.questionIconAltText,success:n.successIconAltText,none:""};return C([A,p],{templateString:'<div class="${baseClass}"><img class="${baseClass}Icon" src="" draggable="false" ondragstart="return false;" data-dojo-attach-point="iconNode"><div class="${baseClass}Message" data-test-id="message-node" data-dojo-attach-point="messageNode">${!message}</div></div>',baseClass:"mwIconAndMessageWidget",icon:"error",customIconAltText:"",message:"",_setIconAttr:function(t){var r="";t||(t="error"),this._set("icon",t);var i=this.baseClass+"Icon";this.iconNode.src=this._ICON_blank,this.iconNode.className="",this.iconNode.classList.add(this.baseClass+"Icon"),t.match(/^(error|warning|info|question|success|none)$/)?(this.iconNode.classList.add("mwAlertIcon32",this._getIconClassName(this.icon)),r=t):t.match(/^(data:image\/)/i)?(r="customDataURI",this.iconNode.src=t):t.match(/\./)?(r="customURI",this.iconNode.src=t):(r="customCSSClass",this.iconNode.classList.add(t)),this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",r),this._setImgAltAttributeValue()},_setCustomIconAltTextAttr:function(t){this._set("customIconAltText",t),this._setImgAltAttributeValue()},_setImgAltAttributeValue:function(){var t=e[this.icon]||this.customIconAltText;this.iconNode.setAttribute("alt",t)},_getIconClassName:function(t){return"mwAlertIcon"+t.charAt(0).toUpperCase()+t.slice(1)},_setMessageAttr:function(t){this._set("message",t),typeof t=="string"&&(this.messageNode.style.whiteSpace="pre-wrap"),d.set(this.messageNode,t,{parseContent:!0})},_ICON_blank:"data:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw=="})},_,P),_.exports=S},40498:(_,P,l)=>{var b,S;b=[l(69174),l(57987),l(45760),l(317),l(16517),l(64743),l(31915),l(74068),l(95962),l(18262),l(59138),l(1797)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o){let u={displayAlertDialog:function(h,v,f){let g="AlertDialog";f=f||{};let m=this._createIconAndMessageWidget(v,"error",f);this._setupIconAndMessageWidget(m);let E=[{type:s.OK.type,label:s.OK.label,"data-test-id":g+"Button1"}],w=f.closeCallback?f.closeCallback:function(){},I={eventName:g+"Closed",dialogTitle:h,response:1,buttonText:E[0].label},M=i.createDialog({title:h,content:m,dialogType:f.modal===!1?i.MODELESS:i.MODAL,buttons:E,draggable:!0,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(f,E),"data-test-id":f["data-test-id"]?f["data-test-id"]:g,className:"mw"+g});return f.currentTheme&&(f.currentTheme==="light"?a.setTheme(o.LIGHT,M.domNode):f.currentTheme==="dark"&&a.setTheme(o.DARK,M.domNode)),M.on("close",function(){w(I)}),M.addButtonEventListener(s.OK,null,!0),M},_createIconAndMessageWidget:function(h,v,f){let g=f.icon?f.icon:v,m=f.customIconAltText||"";return new e({message:h,icon:g,customIconAltText:m})},_setupIconAndMessageWidget:function(h){let v=d.getBox(),f=Math.max(80,Math.min(.4*v.h,300));h.messageNode.style.maxHeight=f+"px"},_resizeToFitOversizeButtons:function(h){parseInt(window.getComputedStyle(h.domNode).width)>400&&(h.domNode.querySelector(".mwDialogBody").style.maxWidth="none")},_parseAndGetSpecifiedFocusedItem:function(h,v){return isNaN(h.specifiedFocusItem)?h.specifiedFocusItem:v[h.specifiedFocusItem-1]},displayConfirmDialog:function(h,v,f){let g="ConfirmDialog";f=f||{};let m=this._createIconAndMessageWidget(v,"question",f);this._setupIconAndMessageWidget(m);let E=[],w=[s.TYPE.DO_IT,s.TYPE.DONT_DO_IT,s.TYPE.CANCEL,s.TYPE.APPLY,s.TYPE.REVERT];if(f.buttonText&&f.buttonText.length>=1)for(let F=0;F<f.buttonText.length&&F<5;F++)E.push({type:w[F],label:f.buttonText[F],"data-test-id":g+"Button"+(F+1)});else E=[{type:s.TYPE.DO_IT,label:s.OK.label,"data-test-id":g+"Button1"},{type:s.TYPE.CANCEL,label:s.CANCEL.label,"data-test-id":g+"Button2"}];let I=f.closeCallback?f.closeCallback:function(){},M={eventName:g+"Closed",dialogTitle:h,response:1,buttonText:E[0].label},R=f.defaultCancelButton<=E.length?f.defaultCancelButton:E.length,T=E[R-1].label,N=i.createDialog({title:h,dialogType:i.MODAL,content:m,buttons:E,draggable:!0,className:"mw"+g,"data-test-id":f["data-test-id"]?f["data-test-id"]:g,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(f,E),defaultActionButton:f.defaultAcceptButton<=E.length?E[f.defaultAcceptButton-1]:E[0]});return f.currentTheme&&(f.currentTheme==="light"?a.setTheme(o.LIGHT,N.domNode):f.currentTheme==="dark"&&a.setTheme(o.DARK,N.domNode)),N.on("close",function(){M.response=R,M.buttonText=T,I(M)}),E.forEach(function(F,y){N.addButtonEventListener(F,function(){R=y+1,T=F.label},!0)}),this._resizeToFitOversizeButtons(N),N},displayProgressDialog:function(h,v,f){let g="ProgressDialog";f=f||{};let m=f.className===void 0?"":" "+f.className,E='<div class="mwProgressDialogMessage" data-test-id="progress-message-node"></div><div class="mwProgressDialogProgressBar"></div>',w=this._createIconAndMessageWidget(E,"none",f),I=w.messageNode.children[1],M=w.messageNode.children[0];c(M,v);let R=new r({indeterminate:f.indeterminate===void 0?!1:f.indeterminate,value:f.value===void 0?0:f.value,color:f.color||f.colorStyle||"Info",showPercentage:f.showPercentage===void 0?!1:f.showPercentage,"data-test-id":g+"ProgressBar"});R.placeAt(I),R.startup(),R.resize({w:w.icon==="none"?330:300}),this._setupIconAndMessageWidget(w);let T=[],N=f.showCancelButton===void 0?!1:f.showCancelButton;N&&(T=[{type:s.CANCEL.type,label:f.cancelButtonText===void 0?s.CANCEL.label:f.cancelButtonText,"data-test-id":g+"Button1"}]);let F=i.createDialog({title:h,dialogType:i.MODAL,content:w,buttons:T,draggable:!0,closeOnEscape:N,hideCloseButton:!N,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(f,T),className:"mw"+g+m,"data-test-id":f["data-test-id"]?f["data-test-id"]:g});if(f.currentTheme&&(f.currentTheme==="light"?a.setTheme(o.LIGHT,F.domNode):f.currentTheme==="dark"&&a.setTheme(o.DARK,F.domNode)),N){let y={eventName:g+"Closed",dialogTitle:h,response:"cancel",buttonText:T[0].label,dialog:F},x=f.cancelCallback?f.cancelCallback:function(){},O=function(){x(y)};F.on("close",O),F.addButtonEventListener(s.CANCEL,O,!1),F._destroyCache=F.destroy,F.destroy=function(){},F.closeProgressDialog=function(){this.destroy=this._destroyCache,this.destroy()},F.disableCancelButton=function(){this.disableButton(T[0])},F.enableCancelButton=function(){this.enableButton(T[0])}}else F.closeProgressDialog=function(){this.destroy()};return F.progressBar=R,F.progressMessageNode=M,F.updateMessage=function(y){c(this.progressMessageNode,y)},F}},c=function(h,v){typeof v=="string"&&(h.style.whiteSpace="pre-wrap"),p.set(h,v,{parseContent:!0})};return u.displayAlertBanner=function(h,v,f){A.experimental("Notifications.displayAlertBanner");let g="AlertBanner";f=f||{};let m=this._createIconAndMessageWidget(v,"error",f),E=f.closeCallback?f.closeCallback:function(){},w={eventName:g+"Closed",dialogTitle:h,response:"closed"},I=new t({title:h,content:m,duration:f.duration?f.duration:4e3,class:"mw"+g,"data-test-id":f["data-test-id"]?f["data-test-id"]:g});return I.set("onHide",function(){E(w),I.destroyRecursive()}),I.placeAt(C.body()),I.startup(),I.show(),I},u},_,P),_.exports=S},74068:(_,P,l)=>{var b,S;b=[l(74786),l(37672),l(65724),l(20849),l(83830),l(75058),l(47431),l(9606),l(81070)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){var s=C([e,n,t],{baseClass:"mwProgressBar",templateString:r,resize:function(a){var o;if(a&&a.w)o=a.w;else{var u=d.getContentBox(this.domNode.parentNode);o=u.w}(o===NaN||o===0)&&(o=100),A.set(this.gutterNode,"transform","scaleX("+o/100+")")},startup:function(){e.prototype.startup.apply(this,arguments),this.resize()},_setValueAttr:function(a){a=Math.min(Math.max(parseInt(a),0),100),this._set("value",a),this.progressTextNode.textContent=this.value+"%",i.set(this.domNode,"data-value",this.value),A.set(this.progressNode,"transform","translateX("+(this.value-100)+"px)")},_showAnimationWave:function(a){var o=this.baseClass+"NoWave";a===!1?p.add(this.domNode,o):p.remove(this.domNode,o)}});return s},_,P),_.exports=S},64743:(_,P,l)=>{var b,S;b=[l(74786),l(12395),l(16517)],S=l.dj.d(b,function(C,A,p){return C([p],{templateString:'<div class="${baseClass}" data-dojo-attach-point="baseNode"><img class="${baseClass}Icon" src="" draggable="false" ondragstart="return false;" data-dojo-attach-point="iconNode"><div class="${baseClass}Message" data-test-id="message-node" data-dojo-attach-point="messageNode">${!message}</div></div>',_setIconAttr:function(d){let n="";if(d||(d="error"),typeof d=="object"&&this._verifiedSVGIconObj(d)){n=d.id,this._set("icon",n);let e=this._createSvgNode();this.iconNode=e,this._getIconInstance(d,e),this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",n)}else{this._set("icon",d),this.iconNode=this._createImgNode();let e=this.baseClass+"Icon";if(this.iconNode.src=this._ICON_blank,this.iconNode.className="",this.iconNode.classList.add(this.baseClass+"Icon"),d.match(/^(error|warning|info|question|success|none)$/)){if(d!=="none"){let t=this._createSvgNode();this.iconNode=t,this._insertPresetSvg(d)}n=d}else d.match(/^(data:image\/)/i)?(n="customDataURI",this.iconNode.src=d):d.match(/\./)?(n="customURI",this.iconNode.src=d):(n="customCSSClass",this.iconNode.classList.add(d));this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",n),this._setImgAltAttributeValue()}},_getIconInstance:function(d,n){A.getInstance().getIcon(d).then(t=>{n.appendChild(t)})},_verifiedSVGIconObj:function(d){let n=d!==null&&Object.keys(d).length==3,e=Object.hasOwn(d,"id")&&Object.hasOwn(d,"height")&&Object.hasOwn(d,"width"),t=isNaN(d.icon)&&!isNaN(d.width)&&!isNaN(d.height);return n&&e&&t},_createSvgNode:function(){this.iconNode.remove();let d=document.createElement("div");return d.draggable="false",d.classList.add(this.baseClass+"Icon"),d.setAttribute("ondragstart","return false;"),d.setAttribute("data-dojo-attach-point","iconNode"),d.style.width="32px",d.style.height="32px",this.baseNode.insertBefore(d,this.baseNode.children[0]),d},_createImgNode:function(){this.iconNode.remove();let d=document.createElement("img");return d.draggable="false",d.classList.add(this.baseClass+"Icon"),d.setAttribute("ondragstart","return false;"),d.setAttribute("data-dojo-attach-point","iconNode"),this.baseNode.insertBefore(d,this.baseNode.children[0]),d},_insertPresetSvg:function(d){let n="";d==="error"?n='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 9.2868L9.2868 0.5L21.7132 0.5L30.5 9.2868V21.7132L21.7132 30.5H9.2868L0.5 21.7132L0.5 9.2868Z" fill="var(--mw-icon-alert-red, #B7313C)" stroke="var(--mw-icon-alert-red, #B7313C)"/><path d="M17 17.5C17 18.3284 16.3284 19 15.5 19C14.6716 19 14 18.3284 14 17.5L14 7.5C14 6.67157 14.6716 6 15.5 6C16.3284 6 17 6.67157 17 7.5L17 17.5Z" fill="var(--mw-icon-background-default-white, #FFFFFF)"/><path d="M17 23.5C17 24.3284 16.3284 25 15.5 25C14.6716 25 14 24.3284 14 23.5C14 22.6716 14.6716 22 15.5 22C16.3284 22 17 22.6716 17 23.5Z" fill="white"/></svg>':d==="warning"?n='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 1.5L30.5 28.5H0.5L15.5 1.5Z" fill="var(--mw-icon-background-medium-yellow, #FFEF91)" stroke="#674C06" stroke-linecap="square" stroke-linejoin="round"/><path d="M17 18.5C17 19.3284 16.3284 20 15.5 20C14.6716 20 14 19.3284 14 18.5L14 10.5C14 9.67157 14.6716 9 15.5 9C16.3284 9 17 9.67157 17 10.5L17 18.5Z" fill="var(--mw-icon-glyph-content-yellow, #674C07)"/><path d="M17 24.5C17 25.3284 16.3284 26 15.5 26C14.6716 26 14 25.3284 14 24.5C14 23.6716 14.6716 23 15.5 23C16.3284 23 17 23.6716 17 24.5Z" fill="var(--mw-icon-glyph-content-yellow, #674C07)"/></svg>':d==="info"?n='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 15.5C0.5 23.7843 7.21573 30.5 15.5 30.5C23.7843 30.5 30.5 23.7843 30.5 15.5C30.5 7.21573 23.7843 0.5 15.5 0.5C7.21573 0.5 0.5 7.21573 0.5 15.5Z" fill="var(--mw-icon-background-default-white, #FFFFFF)" stroke="var(--mw-icon-glyph-content-light-blue, #278CDD)" stroke-linecap="round"/><path d="M14 13.5C14 12.6716 14.6716 12 15.5 12C16.3284 12 17 12.6716 17 13.5V23.5C17 24.3284 16.3284 25 15.5 25C14.6716 25 14 24.3284 14 23.5V13.5Z" fill="var(--mw-icon-glyph-content-light-blue, #278CDD)"/><path d="M14 7.5C14 6.67157 14.6716 6 15.5 6C16.3284 6 17 6.67157 17 7.5C17 8.32843 16.3284 9 15.5 9C14.6716 9 14 8.32843 14 7.5Z" fill="var(--mw-icon-glyph-content-light-blue, #278CDD)"/></svg>':d==="question"?n='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 15.5C0.5 23.7843 7.21573 30.5 15.5 30.5C23.7843 30.5 30.5 23.7843 30.5 15.5C30.5 7.21573 23.7843 0.5 15.5 0.5C7.21573 0.5 0.5 7.21573 0.5 15.5Z" fill="var(--mw-icon-background-default-white, #FFFFFF)" stroke="var(--mw-icon-glyph-content-light-blue, #278CDD)" stroke-linecap="round"/><path d="M13.7093 19.3817C13.7093 18.2496 13.85 17.3472 14.1314 16.6747C14.4128 16.0022 14.9671 15.2659 15.7942 14.4657C16.6298 13.657 17.1585 13.0824 17.3802 12.7419C17.7213 12.2227 17.8919 11.6608 17.8919 11.0565C17.8919 10.2563 17.6915 9.64763 17.2907 9.23051C16.8984 8.80488 16.3186 8.59207 15.5512 8.59207C14.8178 8.59207 14.2252 8.80063 13.7733 9.21774C13.3298 9.62634 13.1081 10.1839 13.1081 10.8905H10C10.0171 9.38374 10.5287 8.19198 11.5349 7.31519C12.5496 6.4384 13.8884 6 15.5512 6C17.2651 6 18.5996 6.43414 19.5547 7.30242C20.5182 8.1707 21 9.38374 21 10.9415C21 12.3291 20.3519 13.6953 19.0558 15.0403L17.4826 16.5854C16.9198 17.2238 16.6298 18.1559 16.6128 19.3817H13.7093ZM13.4919 23.3528C13.4919 22.8506 13.6496 22.4462 13.9651 22.1398C14.2806 21.8248 14.707 21.6673 15.2442 21.6673C15.7899 21.6673 16.2205 21.8291 16.536 22.1526C16.8516 22.4675 17.0093 22.8676 17.0093 23.3528C17.0093 23.821 16.8558 24.2126 16.5488 24.5276C16.2419 24.8425 15.807 25 15.2442 25C14.6814 25 14.2465 24.8425 13.9395 24.5276C13.6411 24.2126 13.4919 23.821 13.4919 23.3528Z" fill="var(--mw-icon-glyph-content-light-blue, #278CDD)"/></svg>':d==="success"&&(n='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15.5" cy="15.5" r="15" fill="var(--mw-icon-background-default-action, #CBFFBE)" stroke="var(--mw-icon-border-default-green, #008013)"/><path d="M7.5 15.5L12.5 20.5L22.5 10.5" stroke="var(--mw-icon-glyph-content-dark-green, #02580E)" stroke-linecap="square"/></svg>'),this.iconNode.innerHTML=n}})},_,P),_.exports=S},47431:(_,P,l)=>{var b,S;b=[l(74786),l(81070),l(9511)],S=l.dj.d(b,function(C,A,p){var d=C([],{value:0,indeterminate:!1,showPercentage:!0,color:"Info","data-test-id":"",constructor:function(){this["data-test-id"]=this.baseClass.substring(2)},_setValueAttr:function(n){n=Math.min(Math.max(parseInt(n),0),100),this._set("value",n),this.progressTextNode.textContent=this.value+"%",A.set(this.domNode,"data-value",this.value)},_setIndeterminateAttr:function(n){this._set("indeterminate",n);var e=this.baseClass+"Indeterminate";this.indeterminate?this.domNode.classList.add(e):this.domNode.classList.remove(e)},_setShowPercentageAttr:function(n){this._set("showPercentage",n);var e=this.baseClass+"Invisible";this.showPercentage?this.progressTextNode.classList.remove(e):this.progressTextNode.classList.add(e)},_setColorStyleAttr:function(n){p.deprecated({deprecated:{module:"mw-notifications/ProgressBar",method:"_setColorStyleAttr"},replacement:{module:"mw-notifications/ProgressBar",method:"_setColorAttr"}}),+this.set("color",n)},_getColorStyleAttr:function(){return this.color},_setColorAttr:function(n){this._isHexColorCode(n)?(this._set("color",n),this.domNode.style.setProperty("--progress-color",n)):this._setColorEnum(n)},_setColorEnum:function(n){var e,t;switch(n.toLowerCase()){case"error":e="Error",t="var(--progress-color-error)";break;case"warning":e="Warning",t="var(--progress-color-warning)";break;case"success":e="Success",t="var(--progress-color-success)";break;default:e="Info",t="var(--progress-color-info)";break}this._set("color",e),this.domNode.style.setProperty("--progress-color",t)},_isHexColorCode:function(n){return/^#([0-9A-F]{3}){1,2}$/i.test(n)}});return d},_,P),_.exports=S},13430:(_,P,l)=>{_.exports={root:{errorIconAltText:"Error Icon",warningIconAltText:"Warning Icon",infoIconAltText:"Information Icon",questionIconAltText:"Question Icon",successIconAltText:"Success Icon"}}},93158:(_,P,l)=>{var b,S;b=[l(74786),l(86560),l(72904),l(89780),l(45118),l(75058),l(83830),l(31362),l(22928),l(37314)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){var a={spinnerSize:"large"},o={spinnerSize:"medium"},u={spinnerSize:"small"},c={spinnerSize:"xsmall"},h=C("MW.utils.BusyOverlay",[e,t],{_displayed:!1,_started:!1,_spinner:null,_size:null,target:null,_text:"",_textSpan:null,_spinnerTextNode:null,templateString:s,_resizeEvent:null,constructor:function(f){this._textSpan=document.createElement("span"),this._spinnerTextNode=document.createElement("div"),this._spinnerTextNode.classList.add("spinnerText"),this._spinnerTextNode.appendChild(this._textSpan),this._preventKeyBoardInteractions=this._preventKeyBoardInteractions.bind(this),this._handleFocusInTargetOnKeyDown=this._handleFocusInTargetOnKeyDown.bind(this),this._stopEventPropagation=this._stopEventPropagation.bind(this),Object.defineProperty(this,"text",{set:function(g){this._text=g,!this._resizeEvent&&this.registerResize(),this._text&&typeof this._text=="string"?this._textSpan.textContent=this._text:(this._text="",this._textSpan.textContent=this._text),this._started&&this._updateTitle()},get:function(){return this._text},enumerable:!0,configurable:!0}),f&&f.text&&this.set("text",f.text),this._setSpinnerSize(f)},_setSpinnerSize:function(f){try{if(f==null)this._size=a;else if(typeof f=="object")f.size?this._size=f.size:f.spinnerSize?this._size=f:this._size=a;else throw new Error("Incorrect argument passed to BusyOverlay Object.")}catch(g){i.error(g.message)}},_updateTitle:function(){this._textSpan.classList.remove("spinnerCenter"),this._textSpan.classList.add("spinnerCenter")},_updateTextStyle:function(){this._spinnerTextNode.style.marginTop="",this._text&&this.text.toString().trim()!==""&&(this._spinnerTextNode.style.marginTop="10px")},startup:function(){if(!this._started){if(this._spinner=this._createSpinner(),this._firstElement=this._createFirstElement(),this.target){if(typeof this.target=="string"){let f=n.byId(this.target);this.target=f?f.domNode:document.getElementById(this.target)}this.target.appendChild(this.domNode),this._spinnerBgPanel.appendChild(this._spinnerTextNode)}this._text&&(this._updateTitle(),!this._resizeEvent&&this.registerResize()),this._started=!0,this.inherited(arguments)}},_createSpinner(){let f=r({type:"spinner",size:this._size.spinnerSize});return f.updateComplete.then(()=>{f&&f.setAttribute("tabindex","-1")}),f.setAttribute("aria-indeterminate","true"),f.style.overflow="hidden",f},postCreate:function(){this._underlayNode.style.zIndex=2e9,this.inherited(arguments)},show:function(){this._displayed||(this._started||this.startup(),this._displayed=!0,this._busyOverlayNode.style.display="inline",this._busyOverlayNode.className="mw-busyIndicator",this._updateTextStyle(),this._spinnerTextNode.style.display="block",this._spinnerNode.appendChild(this._spinner),this.onShow(),this._handleFocusOnShow(),this._underlayNode.addEventListener("mousemove",this._stopEventPropagation))},_handleFocusOnShow(){if(this._isTargetPresent()){this.target.prepend(this._firstElement),this.target.removeEventListener("focusin",this._preventKeyBoardInteractions),this.target.addEventListener("focusin",this._preventKeyBoardInteractions),this.target.removeEventListener("keydown",this._handleFocusInTargetOnKeyDown),this.target.addEventListener("keydown",this._handleFocusInTargetOnKeyDown);let f=document.activeElement;f&&this.target.contains(f)&&this._spinnerBgPanel.focus()}},_isTargetPresent(){return this.target&&this.target instanceof Element},_handleFocusInTargetOnKeyDown:function(f){f.key!=="Tab"&&!(f.shiftKey&&(f.key==="Shift"||f.key==="Tab"))&&this._spinnerBgPanel.focus()},_stopEventPropagation:function(f){f.stopPropagation()},_preventKeyBoardInteractions:function(f){if(this._displayed&&this._isTargetPresent()){f.preventDefault();let g=this._spinnerBgPanel,m=this._firstElement,E=f.relatedTarget,w=f.target;if(w===m||w===g){this._lastFocusedNode=E;return}if(E===m){this._lastFocusedNode=w,g.focus();return}if(E===g){this._lastFocusedNode=w,m.focus();return}this._lastFocusedNode=w,g.focus()}},_createFirstElement(){let f=document.createElement("div");return f.setAttribute("tabindex","0"),f.className="mw-busyIndicator-focus-first",f},hide:function(){this._displayed&&(this._underlayNode.removeEventListener("mousemove",this._stopEventPropagation),this._handleFocusOnHide(),this._displayed=!1,this._busyOverlayNode.style.display="none",this._spinnerNode.removeChild(this._spinner),this._spinnerTextNode.style.display="none",this.onHide())},_handleFocusOnHide(){this._isTargetPresent()&&(this.target.removeEventListener("focusin",this._preventKeyBoardInteractions),this.target.removeEventListener("keydown",this._handleFocusInTargetOnKeyDown)),this._lastFocusedNode&&(document.activeElement===this._spinnerBgPanel||document.activeElement===this._firstElement)&&(this._lastFocusedNode.focus(),this._lastFocusedNode=null),this._firstElement&&this._firstElement.remove(),A.emit(this._spinnerBgPanel,"restorefocus",{bubbles:!0})},showUntilFinished:function(f){var g=new p;f.finally(function(){g.resolve()}),this.isVisible()||this.show(),this._hideBusyIndicatorPromise?this._hideBusyIndicatorPromise=d([this._hideBusyIndicatorPromise,g.promise]):this._hideBusyIndicatorPromise=g.promise;var m=this._hideBusyIndicatorPromise;m.then(function(){m===this._hideBusyIndicatorPromise&&this.hide()}.bind(this))},uninitialize:function(){if(this.hide(),this.target=null,this._spinner=null,this._displayed=!1,this._firstElement=null,this._busyOverlayNode)for(var f=this._busyOverlayNode.querySelectorAll(".spinnerText"),g=0;g<f.length;g++)f[g].remove();this._textSpan=null,this._spinnerTextNode=null,this.inherited(arguments),this._resizeEvent&&this._resizeEvent.remove()},isVisible:function(){return this._displayed},onShow:function(){},onHide:function(){this.inherited(arguments)},registerResize:function(){this._resizeEvent=A(window,"resize",this._updateTextStyle.bind(this)),this.own(this._resizeEvent)}}),v={LARGE:a,MEDIUM:o,SMALL:u,XSMALL:c};return h.SIZE=v,Object.freeze(h.SIZE),Object.freeze(h.SIZE.LARGE),Object.freeze(h.SIZE.MEDIUM),Object.freeze(h.SIZE.SMALL),Object.freeze(h.SIZE.XSMALL),h},_,P),_.exports=S},17571:(_,P,l)=>{var b,S;b=[l(87022),l(23006),l(49786)],S=l.dj.d(b,function(C,A,p){class d{static createContent(e){let t,r,i,s,a,o=document.createElement("div");o.classList.add("mw-popout-container"),o.setAttribute("tabindex",0);const{contentNode:u,headerNode:c,footerNode:h,contentClass:v,popoutType:f}=e;return(u||c)&&(s=f===C.STANDARD?null:p`<div class="mw-popout-type-icon"></div>`,t=c?p`<div class="mw-popout-header-footer mw-popout-header ${s?"mw-popout-header-with-icon":""}">${s}${c}</div>`:null,r=u?p`<div class="mw-popout-content ${v}">${u}</div>`:null,i=h?p`<div class="mw-popout-header-footer mw-popout-footer">${h}</div>`:null,a=p`<div class="mw-popout-arrow" data-popper-arrow></div>`,A(p`
${t}
<div class='mw-icon-content-wrapper'>
${c?null:s}
${r}
</div>
${i}
${a}`,o)),o}}return d},_,P),_.exports=S},34100:(_,P,l)=>{var b,S;b=[l(44037),l(88363),l(8790),l(87022),l(45044),l(18181),l(22840),l(1797),l(20259),l(59138),l(25427),l(90364),l(17571),l(49786),l(23006)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h){"use strict";const v=[d.STANDARD,d.ERROR,d.WARNING,d.INFO,d.SUCCESS];class f extends C{static get properties(){return{referenceNode:{type:Object,reflect:!1,attribute:!1},content:{type:Object,reflect:!1,attribute:!0},header:{type:Object,reflect:!1,attribute:!0},footer:{type:Object,reflect:!1,attribute:!0},referenceSelector:{type:String,reflect:!0,attribute:!0},open:{type:Boolean,reflect:!0,attribute:!0},placement:{type:String,reflect:!0,attribute:!0},trigger:{type:String,reflect:!0,attribute:!0},type:{type:String,reflect:!0,attribute:!0},_focusTrap:{type:Boolean,reflect:!1,attribute:!1}}}constructor(){if(super(),this._referenceNode=null,this._open=!1,this._trigger="",this._referenceSelector="",this._referenceObserver=null,this._refViewObserver=null,this.trigger="",this._referenceNodeClicked=!1,this._focusTrap=!1,this.placement="auto",this.type=d.STANDARD,this.currentTheme="",this._clickOnReferenceNode=this._clickOnReferenceNode.bind(this),this._keyDownOnReferenceNode=this._keyDownOnReferenceNode.bind(this),this._handlePointerDown=this._handlePointerDown.bind(this),this.initializeProp("content"),!this.content){const m=document.createElement("div");m.slot="content",this.content=m}this.initializeProp("header"),this.initializeProp("footer"),this.addEventListener("keydown",this._handleKeyDownOnPopout)}initializeProp(m){const E=this.querySelector(`mw-popout > [slot=${m}]`);E&&(this[m]=E)}_handleKeyDownOnPopout(m){const E=[e.ArrowDown,e.ArrowUp,e.ArrowLeft,e.ArrowRight,e.PageDown,e.PageUp],w=this.querySelector(".mw-popout-content");if(!w)return;const I=this.querySelector(".mw-popout-container");if(document.activeElement===I&&E.includes(m.key))[e.ArrowDown,e.PageDown].includes(m.key)&&(w.scrollTop+=e.ScrollJump),[e.ArrowUp,e.PageUp].includes(m.key)&&(w.scrollTop-=e.ScrollJump),m.key===e.ArrowLeft&&(w.scrollLeft-=e.ScrollJump),m.key===e.ArrowRight&&(w.scrollLeft+=e.ScrollJump),m.preventDefault();else if(this._isCrtlA(m)){m.preventDefault();const M=window.getSelection(),R=document.createRange();R.selectNode(this),M.removeAllRanges(),M.addRange(R)}}_isCrtlA(m){return(m.ctrlKey||m.metaKey)&&(m.key==="a"||m.key==="A")}_attachTriggerListeners(m){m===t.CLICK?this._addClickTriggerListeners():m===t.HOVER&&this._addHoverTriggerListeners()}connectedCallback(){super.connectedCallback(),p._createSRHelperNode(this)}set trigger(m){const E=this._trigger;this._tippyHideOnClick=!0,!m||m&&!i.isTriggerValid(m)?(this._trigger="",this._tippyTrigger=""):(this._trigger=m,m==="hover"?(this._tippyTrigger="mouseenter focus",this._tippyDelay=[t.OPEN_DEFAULT_DELAY,t.CLOSE_DEFAULT_DELAY],this._tippyHideOnClick=!0):m==="click"?(this._tippyTrigger="click",this._tippyDelay=0,this._tippyHideOnClick=!0,E==="persistent"&&p._attachBlurListenerToDocument()):(this._tippyTrigger="manual",this._tippyDelay=0,this._tippyHideOnClick=!1)),this.requestUpdate("trigger",E)}get trigger(){return this._trigger}set type(m){const E=this._type;m=typeof m=="string"?m.toLowerCase():m,this._type=v.includes(m)?m:d.STANDARD,this.requestUpdate("type",E)}get type(){return this._type}set referenceNode(m){if(p.has(m))throw new Error("A popout already exists for this reference node.Pass a new reference node");if(!i.isReferenceNodeValid(m))throw new Error("A valid node should be passed as reference node for popout");const E=this._referenceNode;this._cleanUp(!0),p.add(this,m),this._referenceNode=m;const{promise:w,observer:I}=i.observeElementInDom(this._referenceNode);this._referenceObserver=I,w.then(M=>{this._removeFromBody()}),this.requestUpdate("referenceNode",E)}get referenceNode(){return this._referenceNode}setProp(m){const E=this.querySelector(`mw-popout > [slot=${m}]`);if(E&&(this[m]=E),!this[m]){const w=this.querySelector(`mw-popout > [slot=${m}]`);w&&(this[m]=w)}this._arePopoutSectionsValid()||(this.open=!1)}set open(m){const E=this._open;this._open!==m&&(m&&this._validate(),this._arePopoutSectionsValid()?this._open=m:this._open=!1,this.requestUpdate("open",E))}get open(){return this._open}set referenceSelector(m){if(!i.isSelectorValid(m))throw new Error("Only class selector is supported at this moment.");const E=document.querySelector(m);if(!E)throw new Error("There exists no element with the specified selector");this.referenceNode=E;const w=this._referenceSelector;this._referenceSelector=m,this.requestUpdate("referenceSelector",w)}get referenceSelector(){return this._referenceSelector}set placement(m){const E=this._placement;!m||m&&!i.isPlacementValid(m)?this._placement="auto":this._placement=m,this.requestUpdate("placement",E)}get placement(){return this._placement}_arePopoutSectionsValid(){return i.isSectionValid(this.content,"content")||i.isSectionValid(this.header,"header")}_addClickTriggerListeners(){this._referenceNode.addEventListener("click",this._clickOnReferenceNode),this._referenceNode.addEventListener("keydown",this._clickOnReferenceNode)}_addHoverTriggerListeners(){this._referenceNode.addEventListener("keydown",this._keyDownOnReferenceNode)}_removeTriggerListeners(){this.trigger===t.CLICK?(this._referenceNode.removeEventListener("click",this._clickOnReferenceNode),this._referenceNode.removeEventListener("keydown",this._clickOnReferenceNode)):this.trigger===t.HOVER&&this._referenceNode.removeEventListener("keydown",this._keyDownOnReferenceNode)}_keyDownOnReferenceNode(m){(m.keyCode===n.ENTER||m.keyCode===n.SPACE)&&this._currentInstance&&this._currentInstance.hide()}_clickOnReferenceNode(m){(m.keyCode===n.ENTER||m.type==="click")&&(this._referenceNodeClicked=!0)}_attachPointerDownListener(){document.addEventListener("pointerdown",this._handlePointerDown)}_detachPointerDownListener(){document.removeEventListener("pointerdown",this._handlePointerDown)}_handlePointerDown(m){m.target!==this&&!this.contains(m.target)&&this.close()}_validate(){if(!this._referenceNode)throw new Error("A valid referenceSelector must be provided to open a popout");if(!document.body.contains(this))throw new Error("Popout must be appended to document.body to open it")}_destroyTippyInstance(m){m&&m.destroy()}_removeAriaAttribute(m){m&&m.reference.hasAttribute("aria-describedby")&&m.reference.removeAttribute("aria-describedby")}_cleanUp(m){if(p.has(this.referenceNode)){const E=p.getPopout(this.referenceNode),w=E&&E._tippyInstance;Array.isArray(w)?w.forEach(I=>{this._removeAriaAttribute(I),this._destroyTippyInstance(I)}):(this._removeAriaAttribute(w),this._destroyTippyInstance(w)),this._removeTriggerListeners(),p.remove(this,this._referenceNode),i.stopObservingElement(this._referenceObserver),i.stopObservingElement(this._refViewObserver),this.open&&(this.open=!1),this._referenceNode=null,this._referenceNodeClicked=!1,this._tippyInstance=null,this._currentInstance=null,this._referenceObserver=null,this._refViewObserver=null,m?this._referenceSelector&&(this._referenceSelector=""):(this._resetPropsAndAttributes(),this._destroyed=!0,this.emit("destroy",{}))}}_removeFromBody(){document.body.contains(this.renderRoot)&&this.renderRoot.parentNode.removeChild(this.renderRoot),this._destroyed||this._cleanUp()}_resetPropsAndAttributes(){this.content=null,this.header=null,this.footer=null,this.open=!1,this.trigger="",this._referenceSelector=""}show(){this.open=!0}close(){this.open=!1}_getReferenceNodeTheme(m){let E=s.getTheme(m);return E=E===""?r.LIGHT:r[E.toUpperCase()],E}_createTippyInstance(){const m=this;this._tippyInstance=a(m.referenceNode,{arrow:!1,allowHTML:!0,content:m.finalContent,delay:m._tippyDelay,placement:m.placement,appendTo:()=>m.renderRoot,interactive:!0,maxWidth:"min(calc(100vw - 40px), 500px)",trigger:m._tippyTrigger,hideOnClick:m._tippyHideOnClick,offset:[0,10],zIndex:951,animation:!1,popperOptions:{strategy:"fixed",modifiers:i.getPopperModifiers(m.placement,m.trigger)},aria:{content:null,expanded:!1},theme:"popoutTheme",onCreate(E){m._currentInstance=E},onHide(E){if(m._referenceNodeClicked===!0)return m._referenceNodeClicked=!1,!1;m.open=!1,o.freeFocus(),o.remove(),m._removeTriggerListeners(),i.stopObservingElement(this._refViewObserver),m.trigger===t.PERSISTENT&&p._attachBlurListenerToDocument(),m.trigger===t.CLICK&&m._detachPointerDownListener()},onShow(E){a.hideAll({exclude:E});const w=m.getNode("content"),I=m.getNode("header");if(!(w||I))return!1;o.set(m.referenceNode,m,E),m._attachTriggerListeners(m.trigger);const M=m._getReferenceNodeTheme(E.reference);s.setTheme(M,m),p.setZindex(m),m.open=!0,m.emit("open",{}),m.trigger===t.PERSISTENT&&p._detachBlurListenerToDocument(),m.trigger===t.CLICK&&m._attachPointerDownListener()},onMount(E){m.trigger!==t.PERSISTENT&&(this._refViewObserver=i.observeReferenceInView(m))}})}disconnectedCallback(){super.disconnectedCallback(),this._cleanUp()}firstUpdated(){if(this.hasAttribute("role")||this.setAttribute("role","tooltip"),!this.hasAttribute("id")){const E="mw-popout"+i.generateUuid();this.setAttribute("id",E)}this._referenceNode&&this._referenceNode.setAttribute("aria-describedby",p.getScreenReaderHelperID(this.type))}update(m){super.update(m),this.setProp("content"),this.setProp("header"),this.setProp("footer")}getNode(m){let E;return this[m]&&this[m].slot===m?E=this[m]:this[m]&&typeof this[m]!="string"?(this[m].setAttribute("slot",m),E=this[m]):this[m]&&typeof this[m]=="string"&&(E=document.createElement("div"),E.setAttribute("slot",m),h(c`${this[m]}`,E),m==="header"&&h(c`<h3>${this[m]}</h3>`,E)),E}_getContentClass(m){return this.type===d.STANDARD?m?"mw-popout-content-header":"":m?"mw-popout-content-icon-header":"mw-popout-content-icon"}_updateTippyInstance(){const m=this.getNode("content"),E=this.getNode("header"),w=this.getNode("footer");this.finalContent=u.createContent({contentNode:m,headerNode:E,footerNode:w,contentClass:this._getContentClass(E),popoutType:this.type}),this._tippyInstance?this._tippyInstance&&Array.isArray(this._tippyInstance)?this._tippyInstance.forEach(I=>{I.setProps({content:this.finalContent,trigger:this._tippyTrigger,hideOnClick:this._tippyHideOnClick,placement:this.placement})}):this._tippyInstance&&this._tippyInstance.setProps({content:this.finalContent,trigger:this._tippyTrigger,hideOnClick:this._tippyHideOnClick,placement:this.placement}):this.referenceNode&&this._createTippyInstance()}updated(m){if(this._destroyed){this._removeFromBody();return}document.body.contains(this.renderRoot)||document.body.appendChild(this.renderRoot),(m.has("content")||m.has("header")||m.has("footer")||m.has("type")||m.has("placement")||m.has("trigger")||m.has("referenceNode"))&&this._updateTippyInstance(),m.has("open")&&this._displayHidePopout()}_displayHidePopout(){this._currentInstance&&(this.open?this._currentInstance.show():this._currentInstance.hide())}}return A({name:"mw-popout",widgetClass:f})},_,P),_.exports=S},74628:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({FOCUSED:"mwPopoutFocused"})},_,P),_.exports=S},45044:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({ENTER:13,SPACE:32,TAB:9,SHIFT:16,ESCAPE:27})},_,P),_.exports=S},54964:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({ID_STANDARD:"mw-popout-sr-helper-standard",ID_ERROR:"mw-popout-sr-helper-error",ID_WARNING:"mw-popout-sr-helper-warning",ID_INFO:"mw-popout-sr-helper-info",ID_SUCCESS:"mw-popout-sr-helper-success",CLASSNAME:"mw-popout-sr-helper",TEXT:"has popup"})},_,P),_.exports=S},18181:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowRight:"ArrowRight",ArrowLeft:"ArrowLeft",PageUp:"PageUp",PageDown:"PageDown",ScrollJump:43})},_,P),_.exports=S},22840:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({HOVER:"hover",FOCUS:"focus",CLICK:"click",PERSISTENT:"persistent",CLOSE_DEFAULT_DELAY:300,OPEN_DEFAULT_DELAY:500})},_,P),_.exports=S},87022:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({STANDARD:"standard",ERROR:"error",WARNING:"warning",INFO:"info",SUCCESS:"success"})},_,P),_.exports=S},98980:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";class C{constructor(){this._popoutDepot=new WeakMap}clear(){this._popoutDepot=new WeakMap}delete(p){return this._popoutDepot.delete(p)}get(p){return this._popoutDepot.get(p)}has(p){return this._popoutDepot.has(p)}set(p,d){return this._popoutDepot.set(p,d),this}}return new C},_,P),_.exports=S},90364:(_,P,l)=>{var b,S;b=[l(70966),l(45044),l(74628),l(22840)],S=l.dj.d(b,function(C,A,p,d){"use strict";class n{constructor(){this._currentReferenceNode=null,this._currentPopout=null,this._currentTippyInstance=null,this._handleKeyDownOnReferenceNode=this._handleKeyDownOnReferenceNode.bind(this),this._handleKeyDownOnPopout=this._handleKeyDownOnPopout.bind(this),this._handleClickOnPopout=this._handleClickOnPopout.bind(this)}set(t,r,i){this._currentPopout=r,this._currentReferenceNode=t,this._currentTippyInstance=i,this._focusTrap=r._focusTrap,this._currentReferenceNode.addEventListener("keydown",this._handleKeyDownOnReferenceNode),this._currentPopout.addEventListener("keydown",this._handleKeyDownOnPopout),this._currentPopout.addEventListener("click",this._handleClickOnPopout)}_handleKeyDownOnPopout(t){if(t.keyCode!==A.TAB)return;let r=C.getKeyboardFocusableElements(this._currentPopout),i=r[0],s=r[r.length-1],a;r[1]&&(a=r[1]),this._focusTrap?this.focusTrap(t,i,a,s):this.noFocusTrap(t,i,a,s)}_handleKeyDownOnReferenceNode(t){if(t.keyCode===A.TAB){if(t.shiftKey)this._currentPopout.open&&this._currentPopout.trigger!==d.PERSISTENT&&this._currentTippyInstance.hide();else if(this._currentPopout.open){t.preventDefault();let r=this._currentPopout.querySelector(".tippy-box");r&&(r.hasAttribute("data-escaped")||r.hasAttribute("data-reference-hidden"))&&this._currentPopout.referenceNode.scrollIntoView({behavior:"auto",block:"center",inline:"center"});let i=C.getKeyboardFocusableElements(this._currentPopout);C.manageFocus(this._currentPopout,i)}}}_handleClickOnPopout(t){let r=C.getKeyboardFocusableElements(this._currentPopout),i=document.activeElement;C.manageFocus(this._currentPopout,r,i)}focusTrap(t,r,i,s){t.shiftKey?(this._currentPopout.removeAttribute(p.FOCUSED,""),i&&document.activeElement===i?(this._currentPopout.setAttribute(p.FOCUSED,""),r.focus(),t.preventDefault()):r&&document.activeElement===r&&(s.focus(),t.preventDefault()),r===s&&(this._currentPopout.setAttribute(p.FOCUSED,""),r.focus())):(this._currentPopout.removeAttribute(p.FOCUSED,""),s&&document.activeElement===s&&(r&&(this._currentPopout.setAttribute(p.FOCUSED,""),r.focus()),t.preventDefault()))}noFocusTrap(t,r,i,s){t.shiftKey?(this._currentPopout.removeAttribute(p.FOCUSED,""),i&&document.activeElement===i?(this._currentPopout.setAttribute(p.FOCUSED,""),r.focus(),t.preventDefault()):r&&document.activeElement===r&&(this._currentReferenceNode.focus(),t.preventDefault())):(this._currentPopout.removeAttribute(p.FOCUSED,""),s&&document.activeElement===s&&(this._currentReferenceNode.focus(),this._currentPopout.trigger!==d.PERSISTENT&&this._currentTippyInstance.hide()))}freeFocus(){this._currentPopout.contains(document.activeElement)&&(this._currentPopout.removeAttribute(p.FOCUSED,""),this._currentReferenceNode.focus())}remove(){this._currentReferenceNode.removeEventListener("keydown",this._handleKeyDownOnReferenceNode),this._currentPopout.removeEventListener("keydown",this._handleKeyDownOnPopout),this._currentPopout.removeEventListener("click",this._handleClickOnPopout)}}return new n},_,P),_.exports=S},8790:(_,P,l)=>{var b,S;b=[l(98980),l(20259),l(54964),l(87022),l(25427)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";class e{constructor(){this._typesOfPopoutCount={},this._typesOfPopoutCount[d.STANDARD]=0,this._typesOfPopoutCount[d.ERROR]=0,this._typesOfPopoutCount[d.WARNING]=0,this._typesOfPopoutCount[d.INFO]=0,this._typesOfPopoutCount[d.SUCCESS]=0,this._numOfPopouts=0,this._handleWindowBlur=this._handleWindowBlur.bind(this),this._handleKeyPressAndScroll=this._handleKeyPressAndScroll.bind(this),this._screenReaderHelper={}}has(r){return!!C.has(r)}getScreenReaderHelperID(r){return this._screenReaderHelper[r].id}_createSRHelperNode(r){this._typesOfPopoutCount[r.type]=this._typesOfPopoutCount[r.type]+1,this._typesOfPopoutCount[r.type]===1&&(this._screenReaderHelper[r.type]=document.createElement("div"),this._screenReaderHelper[r.type].className=p.CLASSNAME,this._screenReaderHelper[r.type].textContent=r.type===d.STANDARD?p.TEXT:this._getScreenReaderText(r.type),this._screenReaderHelper[r.type].id=this._generateScreenReaderHelperId(r.type),document.body.appendChild(this._screenReaderHelper[r.type]))}_generateScreenReaderHelperId(r){return p[`ID_${r.toUpperCase()}`]}_getScreenReaderText(r){let i=p.TEXT.split(" ");return i.splice(1,0,r),i.join(" ")}add(r,i){this._numOfPopouts=this._numOfPopouts+1,C.set(i,r),this._numOfPopouts===1&&this._attachListenerToDocument()}remove(r,i){C.delete(i),this._numOfPopouts===0&&this._detachListenerFromDocument(),this._typesOfPopoutCount[r.type]===0&&this._screenReaderHelper[r.type]&&(document.body.removeChild(this._screenReaderHelper[r.type]),this._screenReaderHelper[r.type]=null)}getPopout(r){return C.has(r)?C.get(r):null}_handleKeyPressAndScroll(r){r.key==="Escape"&&A._closePopout()}_handleWindowBlur(r){A._closePopout()}_attachListenerToDocument(){this._attachBlurListenerToDocument(),document.addEventListener("keyup",this._handleKeyPressAndScroll),window.addEventListener("scroll",this._handleKeyPressAndScroll)}_detachListenerFromDocument(){this._detachBlurListenerToDocument(),document.removeEventListener("keyup",this._handleKeyPressAndScroll),window.removeEventListener("scroll",this._handleKeyPressAndScroll)}_attachBlurListenerToDocument(){window.addEventListener("blur",this._handleWindowBlur)}_detachBlurListenerToDocument(){window.removeEventListener("blur",this._handleWindowBlur)}setZindex(r){let i=A.calculateZindex(r);i!=="auto"&&(r.style.zIndex=i)}}return new e},_,P),_.exports=S},70966:(_,P,l)=>{var b,S;b=[l(45044),l(74628)],S=l.dj.d(b,function(C,A){"use strict";class p{static getKeyboardFocusableElements(n=document){return[...n.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(e=>!e.hasAttribute("disabled"))}static isFocusInsidePopout(n){let e=document.activeElement;return n===e||n.contains(e)}static manageFocus(n,e,t){let r=e[0],i=e[e.length-1];!t||r===i?(n.setAttribute(A.FOCUSED,""),r.focus()):t&&document.activeElement===r&&n.setAttribute(A.FOCUSED,"");let s;return e[1]&&(s=e[1]),{firstFocusableEl:r,secondFocusableEl:s,lastFocusableEl:i}}}return p},_,P),_.exports=S},20259:(_,P,l)=>{var b,S;b=[l(25427),l(22840)],S=l.dj.d(b,function(C,A){"use strict";class p{static isElement(n){return n instanceof window.Element||n instanceof window.HTMLElement}static isSelectorValid(n){return n.substring(0,1)==="."}static isReferenceNodeValid(n){return n instanceof window.Element||n instanceof window.HTMLElement||n instanceof window.NodeList&&n.length>0}static observeElementInDom(n){let e,t=document.body.contains(n),r=new Promise(function(s,a){e=s}),i=new window.MutationObserver(function(s){document.body.contains(n)?t=!0:t&&(t=!1,e(n))});return i.observe(document.body,{childList:!0,subtree:!0}),{promise:r,observer:i}}static _closePopout(){C.hideAll()}static observeReferenceInView(n){let e=new window.MutationObserver(function(t){for(let r of t)r.oldValue===null&&p._closePopout()});return e.observe(n,{attributes:!0,attributeOldValue:!0,subtree:!0,attributeFilter:["data-escaped","data-reference-hidden"]}),e}static stopObservingElement(n){n&&n.disconnect()}static generateUuid(){return"xxxxxxxx".replace(/[xy]/g,function(n){let e=Math.random()*16|0;return(n==="x"?e:e&3|8).toString(16)}).toUpperCase()}static _getElementZindex(n){return window.getComputedStyle(n).getPropertyValue("z-index")}static calculateZindex(n){let e=p.getEffectiveZindex(n.referenceNode),t=p._getElementZindex(n);return e==="auto"||t==="auto"||e<t?"auto":e+1}static getEffectiveZindex(n){let e=0,t,r=!0;for(;n&&p.isElement(n);)t=p._getElementZindex(n),t!=="auto"&&(t=parseInt(t,10),t>e&&(r=!1,e=t)),n=n.parentNode;return r?"auto":e}static isPlacementValid(n){return["top","left","bottom","right","auto"].includes(n)}static isTriggerValid(n){return n===A.CLICK||n===A.HOVER||n===A.PERSISTENT}static isSectionValid(n,e){let t=document.createElement("div");if(t.setAttribute("slot",e),n)switch(typeof n){case"string":return!!n;default:return n.hasChildNodes()||n.textContent||!n.isEqualNode(t)}return!1}static getOppositePlacement(n){return{left:["right","right-start","right-end"],right:["left","left-start","left-end"],bottom:["top","top-start","top-end"],top:["bottom","bottom-start","bottom-end"]}[n]}static getPlacementVariations(n){return[`${n}-start`,`${n}-end`]}static getAltPlacement(n){return{left:["bottom","bottom-start","bottom-end","top","top-start","top-end"],right:["bottom","bottom-start","bottom-end","top","top-start","top-end"],bottom:["right","right-start","right-end","left","left-start","left-end"],top:["right","right-start","right-end","left","left-start","left-end"]}[n]}static getPopperModifiers(n,e=""){let t,r=["right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end","top","top-start","top-end"];return n==="auto"?t=r:t=p.getPlacementVariations(n).concat(p.getOppositePlacement(n)).concat(p.getAltPlacement(n)),[{name:"preventOverflow",options:{altAxis:e!==A.PERSISTENT,rootBoundary:"viewport"}},{name:"flip",options:{fallbackPlacements:t,allowedAutoPlacements:r,rootBoundary:"viewport",flipVariations:"true"}}]}}return p},_,P),_.exports=S},31362:(_,P,l)=>{var b,S;b=[l(88363),l(44037),l(30856),l(7329),l(81686),l(71546)],S=l.dj.d(b,function(C,A,p,d,n,e){"use strict";const t="mw-progress-indicator",r="var(--mw-backgroundColor-info, #0095ff)";class i extends A{static get properties(){return{value:{type:Number,reflect:!0},size:{type:String,reflect:!0},type:{type:String,reflect:!0},color:{type:String,reflect:!0},border:{type:String,reflect:!0}}}constructor(){super(),this.baseClass=t,this.strokeDash=0,this.strokeGap=0,this.customSize=void 0,this.currentProgress=0,this._view=null,this.strokeClass="mw-stroke-default-color",this._value=null}set type(a){const o=this.type;e.validate(a,"type"),a=a.toLowerCase(),this._type=a,this.requestUpdate("type",o)}get type(){return this._type}set size(a){if(typeof a=="object"&&a!==null){e.validate(a.customSize,"customSize");const o={width:a.customSize+"px",height:a.customSize+"px"};e.addStyles(this,o),this.customSize=a.customSize,this.removeAttribute("size")}else a!==null&&(e.validate(a,"size"),a=a.toLowerCase(),e.removeStyles(this,["width","height"]),this.customSize=void 0,this.setAttribute("size",a));this._view&&(this._view.update(this),this.requestUpdate())}get size(){return this.getAttribute("size")}set border(a){const o=this.border;e.validate(a,"border"),this._border=a,this._view&&(this._view.update(this),this.requestUpdate("border",o))}get border(){return this._border}set value(a){const o=this.value;e.validate(a,"value"),this.setAttribute("aria-valuenow",a),this._value=a,this._view&&(this._view.update(this),this.requestUpdate("value",o))}get value(){let a=this._value;return a===null?null:parseFloat(a)}set color(a){const o=this.color;e.validate(a,"color"),this.strokeClass="mw-stroke-custom-color",this._color=a,this.requestUpdate("color",o),this._view&&(this._view.update(this),this.requestUpdate())}get color(){let a=this._color;return e._isHexaColor(a)?a:r}render(){return this.type=this.type?this.type:n.SPINNER,this.size=this.size?this.size:this.customSize?{customSize:this.customSize}:d.SMALL,this._view=p.createView.call(this),this.currentProgress=this._view.getProgress(),this._view.getView()}shouldUpdate(){return!0}firstUpdated(){const a={role:"progressbar",tabindex:0};this.value===null?(this.setAttribute("indeterminate",""),this.requestUpdate()):this.removeAttribute("indeterminate"),e.addAttributes(this,a),this._view.update(this)}}return C({name:"mw-progress-indicator",widgetClass:i})},_,P),_.exports=S},7329:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({XSMALL:"xsmall",SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge"})},_,P),_.exports=S},81686:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({SPINNER:"spinner"})},_,P),_.exports=S},71546:(_,P,l)=>{var b,S;b=[l(81686),l(7329)],S=l.dj.d(b,function(C,A){"use strict";class p{static _isHexaColor(n){return/^#([0-9A-F]{3}){1,2}$/i.test(n)}static validate(n,e){switch(e){case"size":let t=Object.values(A);if(typeof n!="string"||!t.includes(n.toLowerCase()))throw new Error("Value of "+e+" property should be xsmall/small/medium/large/xlarge");break;case"type":if(typeof n!="string"||n.toLowerCase()!==C.SPINNER)throw new Error("Value of "+e+" property should be spinner");break;case"value":if(isNaN(parseFloat(n))||parseFloat(n)<0||parseFloat(n)>100)throw new Error("Value of "+e+" property should be Number between 0-100");break;case"color":let r=p._isHexaColor(n);if(typeof n!="string"||!r)throw new Error("Value of "+e+" css should be in valid supported css color in hex code");break;case"customSize":if(isNaN(n)||parseFloat(n)<0||n===null)throw new Error("Value of "+e+" should be a Number greater than 0");break;case"border":if(n===void 0||!(n.toString()==="false"||n.toString()==="true"))throw new Error("Value of "+e+" should be a true or false value");break}}static addStyles(n,e){n&&e&&Object.keys(e).length>0&&Object.keys(e).forEach(t=>{n.style[t]=e[t]})}static removeStyles(n,e){if(n&&e&&Array.isArray(e)&&e.length>0){let r=(n.getAttribute("style")||"").split(";");e.forEach(s=>{r=r.filter(a=>a.trim().startsWith(s)===!1)}),r=r.filter(s=>s.trim().length>0);const i=r.join(";");n.setAttribute("style",i)}}static addAttributes(n,e){n&&e&&Object.keys(e).length>0&&Object.keys(e).forEach(t=>n.setAttribute(t,e[t]))}static removeAttributes(n,e){n&&e&&Array.isArray(e)&&e.length>0&&e.forEach(t=>{n.hasAttribute(t)&&n.removeAttributes(t)})}}return p},_,P),_.exports=S},49218:(_,P,l)=>{var b,S;b=[l(23213),l(85802),l(77146),l(7329),l(81686)],S=l.dj.d(b,function(C,A,p,d,n){class e extends p{constructor(r){super(),this.properties=r}getProgress(){super.getProgress();const r=this.properties.customSize||this.properties.size;let i=0;switch(r){case d.XSMALL:i=16;break;case d.SMALL:i=24;break;case d.MEDIUM:i=32;break;case d.LARGE:i=48;break;case d.XLARGE:i=64;break;default:i=this.properties.customSize;break}i=i<=1?2:i,this.outerRadius=i/2;const s=this.outerRadius/4+1,a=s/2;return this.innerRadius=this.outerRadius-a,this.circleAttrs={radius:this.innerRadius,strokeWidth:s,cx:0,cy:0},this.innerRadius=this.outerRadius-s,2*Math.PI*this.circleAttrs.radius}update(){super.update(),this.properties.currentProgress=this.getProgress(),this.properties.strokeGap=this.properties.currentProgress;let r=this.properties.hasAttribute("indeterminate");const i=25;this.properties.strokeDash=r?this.properties.strokeGap*i/100:this.properties.value*this.properties.currentProgress/100}getView(){return super.getView(),this.properties.value<100?C`
<svg class="progressIndicatorSvg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="${-this.outerRadius} ${-this.outerRadius} ${2*this.outerRadius} ${2*this.outerRadius}">
<g>
<circle class="${this.properties.baseClass}-gutter" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.strokeClass}" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${this.properties.strokeDash}, ${this.properties.strokeGap}" stroke="${this.properties.color}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.baseClass}-border " r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${1}, ${this.properties.strokeDash-1}, ${1}, ${this.properties.strokeGap-1}"></circle>
</g>
${this.properties.border?C`<g class="outer-group">
<path d="M 0 ${-this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${-this.outerRadius} Z M 0 ${-this.outerRadius+1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${this.outerRadius-1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${-this.outerRadius+1} Z"></path>
<path d="M 0 ${-this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${-this.innerRadius} Z M 0 ${-this.innerRadius+1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${this.innerRadius-1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${-this.innerRadius+1} Z"></path>
</g>`:""}
</svg>`:C`
<svg class="progressIndicatorSvg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="${-this.outerRadius} ${-this.outerRadius} ${2*this.outerRadius} ${2*this.outerRadius}">
<g>
<circle class="${this.properties.baseClass}-gutter" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.strokeClass}" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${this.properties.strokeDash}, ${this.properties.strokeGap}" stroke="${this.properties.color}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.baseClass}-border " r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${0}, ${this.properties.strokeDash}, ${0}, ${this.properties.strokeGap}" ></circle>
</g>
${this.properties.border?C`<g class="outer-group">
<path d="M 0 ${-this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${-this.outerRadius} Z M 0 ${-this.outerRadius+1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${this.outerRadius-1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${-this.outerRadius+1} Z"></path>
<path d="M 0 ${-this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${-this.innerRadius} Z M 0 ${-this.innerRadius+1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${this.innerRadius-1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${-this.innerRadius+1} Z"></path>
</g>`:""}
</svg>`}}return A.setView(n.SPINNER,e),e},_,P),_.exports=S},30856:(_,P,l)=>{var b,S;b=[l(85802),l(77146),l(49218)],S=l.dj.d(b,function(C){"use strict";class A{static createView(){return C.getViewInstance.call(this)}}return A},_,P),_.exports=S},77146:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";class C{getView(){}getProgress(){}update(p,d){}}return C},_,P),_.exports=S},85802:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";const C={};class A{static getViewInstance(){return!!(this.type&&C[this.type]&&C[this.type].call&&C[this.type].apply)?new C[this.type](this):null}static setView(d,n){d&&n&&(C[d]=n)}}return A},_,P),_.exports=S},59411:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(33659),l(65763),l(65536)],S=l.dj.d(b,function(C,A,p,d){return C([],{constructor:function(){this._initializeEndPointsCollection()},_initializeEndPointsCollection:function(){this.endPointsCollection={ROUTER_LEAF_INSECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json",messages:["RouterLogin","CreateAccount","CurrentUser","Login","UpdateAccount","ServiceRegistry","ClientType","AuthorizationDetails","AcquireMatlab"],iframeProxyName:"remoteProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},ROUTER_LEAF_SECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},WORKER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!1,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteWorkerProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},WORKER_ASYNC_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/async",messages:[],iframeProxyName:"remoteWorkerAsyncProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},USAGE_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"udc/service/v1/events",messages:["UsageDataEventCollection"],iframeProxyName:"remoteUDCProducer",withCredentials:!1,acceptsMessageContainerMessages:!1},HELP_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"",messages:["HelpDataEventCollection"],iframeProxyName:"doc_center",withCredentials:!1,acceptsMessageContainerMessages:!1}}},reset:function(){this._initializeEndPointsCollection()},setUpNewEndPoint:function(e,t,r,i,s){this.endPointsCollection[e]={routingHost:"",routingKey:"",pathSuffix:r,enabled:t,messages:[],iframeProxy:null,iframeProxyName:i,acceptsMessageContainerMessages:s}},getPathSuffixForEndPoint:function(e){return this.endPointsCollection[e].pathSuffix},setPathSuffixForEndPoint:function(e,t){this.endPointsCollection[e].pathSuffix=t},getEndPointNames:function(){var e={},t;for(t in this.endPointsCollection)this.endPointsCollection.hasOwnProperty(t)&&(e[t]=t);return e},setRoutingHostAndRoutingKey:function(e,t,r){if(t&&t.lastIndexOf("/")!==t.length-1&&(t+="/"),!d.isAllowed(t))throw new Error("Insecure endpoint.");this.endPointsCollection[e].routingHost=t,r&&(this.endPointsCollection[e].routingKey=r),this._setIframeRoutingHostAndRoutingkey(e)},_setIframeRoutingHostAndRoutingkey:function(e){var t=this.getIframeProxyClientForEndPoint(e);t&&t.setRemotePageHost(this.endPointsCollection[e].routingHost,this.endPointsCollection[e].routingKey,null,this.endPointsCollection[e].iframeProxyUrl,{withCredentials:this.endPointsCollection[e].withCredentials})},getRoutingHost:function(e){return this.endPointsCollection[e].routingHost},getRoutingKey:function(e){return this.endPointsCollection[e].routingKey},getMessageTypesMappedToEndPoint:function(e){return this.endPointsCollection[e].messages},isEndPointEnabled:function(e){return this.endPointsCollection[e].enabled},setMessageTypesToEndPoint:function(e,t){this.endPointsCollection[e].messages=t},enableEndPoint:function(e){this.endPointsCollection[e].enabled=!0},disableEndPoint:function(e){this.endPointsCollection[e].enabled=!1},getEndPointForMessageType:function(e){var t=null,r;for(r in this.endPointsCollection)if(this.endPointsCollection.hasOwnProperty(r)&&(t=A.lastIndexOf(this.endPointsCollection[r].messages,e)>-1?r:t,t)){if(this.isEndPointEnabled(t))break;t=null}return t||this.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT},getRemoteUrlForEndPoint:function(e){var t=this.endPointsCollection[e].routingHost+this.endPointsCollection[e].pathSuffix;return this.endPointsCollection[e].routingKey&&(t=t+"?routingkey="+this.endPointsCollection[e].routingKey),t},setIframeProxyClientForEndPoint:function(e,t){this.endPointsCollection[e].iframeProxy=t},getIframeProxyClientForEndPoint:function(e){var t=this.endPointsCollection[e].iframeProxy;return t||(t=new p(this.endPointsCollection[e].iframeProxyName),this.endPointsCollection[e].iframeProxy=t),t},isEndpointMessageContainerBased:function(e){return e&&this.endPointsCollection[e]?this.endPointsCollection[e].acceptsMessageContainerMessages:!0},addMessagesTypesToEndPoint:function(e,t){this.endPointsCollection[e]&&this.endPointsCollection[e].messages.indexOf(t)===-1&&this.endPointsCollection[e].messages.push(t)},removeMessageTypesFromEndPoint:function(e,t){if(this.endPointsCollection[e]){var r=this.endPointsCollection[e].messages.indexOf(t);r>-1&&this.endPointsCollection[e].messages.splice(r,1)}}})},_,P),_.exports=S},93600:(_,P,l)=>{"use strict";var b,S;b=[l(69961),l(67324),l(76873),l(65763),l(38153),l(73539),l(64323),l(96397),l(15779),l(3747),l(89669),l(60711),l(22928),l(23241),l(19388)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h){var v;return v={reset:function(){var g=[],m=new n,E=new t({faultManager:m}),w=new e({responseManager:E});v.faultManager=m,v.responseManager=E,v.requestManager=w,v._serviceRegistryLookup=h,v._uploadParameters={};var I=v.proxyClient=new d;v.createUploadIframeTarget=C.hitch(I,I.createUploadIframeTarget),v.cancelUpload=C.hitch(I,I.cancelUpload),s.setIframeProxyClientForEndPoint(s.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,I),s.setIframeProxyClientForEndPoint(s.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,I),r.construct=function(M){return M=M||{},s.getRoutingHost(s.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT)||v.setEndpoint(),M.allowedMessages=g,M.sendMessage=v.sendMessage,M.computeSessionId=v.getComputeSessionId,new i(M)},v.registerEndpointLevelFaultHandler=C.hitch(m,m.registerEndpointLevelFaultHandler),v.sendMessage=C.hitch(w,w.sendMessage),v.sendPayload=a.sendPayload,v.registerDefaultMessageFactory=C.hitch(w,w.registerDefaultMessageFactory),v.deregisterDefaultMessageFactory=C.hitch(w,w.deregisterDefaultMessageFactory),v.registerResponseHandler=C.hitch(E,E.registerResponseHandler),v.deregisterResponseHandler=C.hitch(E,E.deregisterResponseHandler),v.registerFaultHandler=C.hitch(m,m.registerFaultHandler),v.deregisterFaultHandler=C.hitch(m,m.deregisterFaultHandler),v.registerTopLevelFaultHandler=C.hitch(m,m.registerTopLevelFaultHandler),v.deregisterTopLevelFaultHandler=C.hitch(m,m.deregisterTopLevelFaultHandler),v.setServiceEndPoint=function(M,R,T){s.setRoutingHostAndRoutingKey(M,R,T)},v.setServicePathSuffixForEndPoint=function(M,R){s.setPathSuffixForEndPoint(M,R)},v.ignoreTopLevelFault=v.registerTopLevelFaultHandler,v.setComputeToken=function(M){v._uploadParameters.computeToken=M.computeSessionId,w.computeToken=M},v.setWorkerEndpoint=function(M,R){v._uploadParameters.routingKey=R,s.setRoutingHostAndRoutingKey(s.getEndPointNames().WORKER_ENDPOINT,M,R)},v.setEndpoint=function(M){if(!M){var R=v._serviceRegistryLookup.getServiceRegistryEndpoint("primary");R?M=R:(u.info("ServiceRegistryLookup is empty, falling back to localhost"),M="/")}if(!M||M==="/"){var T=(document.getElementsByTagName("base")[0]||{}).href;if(T!==void 0){var N=document.createElement("a");N.display="none",N.href=T,M=N.protocol+"//"+N.hostname+(N.port?":"+N.port:"")+"/"}else M=window.location.protocol+"//"+window.location.host+"/"}s.setRoutingHostAndRoutingKey(s.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,M),s.setRoutingHostAndRoutingKey(s.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,M),I.setRemotePageHost(M,void 0,void 0,void 0,{withCredentials:s.endPointsCollection[s.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT].withCredentials})},v.setAllowedMessages=function(M){g=M},v.allowAllMessages=function(){g=[]},v.getEndPoint=function(){return s.getRoutingHost(s.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT)},v.getComputeSessionId=function(){return w.computeToken?w.computeToken.computeSessionId:null},v.getWorkerRoutingHost=function(){var M=s.getRoutingHost(s.getEndPointNames().WORKER_ENDPOINT);if(M)return M;if(M=v._serviceRegistryLookup.getServiceRegistryEndpoint("primary"),!M||M==="/"){var R=(document.getElementsByTagName("base")[0]||{}).href;if(R!==void 0){var T=document.createElement("a");T.display="none",T.href=R,M=T.protocol+"//"+T.hostname+(T.port?":"+T.port:"")+"/"}else M=window.location.protocol+"//"+window.location.host+"/"}return M},v.getWorkerRoutingKey=function(){return s.getRoutingKey(s.getEndPointNames().WORKER_ENDPOINT)},v.getDownloadUrlForFile=function(M){if(!M)throw new Error("Invalid input arguments provided!");var R=new A,T=new URL(v.getWorkerRoutingHost()+"download"+M),N=a.sendPayload(JSON.stringify({messages:{CreateCsrfToken:[{}]}}),s.getEndPointNames().WORKER_ENDPOINT);return N.then(function(F){F.messages.CreateCsrfTokenResponse.forEach(function(y){y.messageFaults&&y.messageFaults.length>0||(T.searchParams.set("csrfToken",y.csrfToken),R.resolve(T))})}),R},v.upload=function(M,R){return new o().upload(M,R,{endpoint:v.getWorkerRoutingHost(),uploadParams:v._uploadParameters})},v.createWorkerRoutingHostUrl=function(M){return c.createWorkerRoutingHostUrl(M,{host:v.getWorkerRoutingHost(),sessionId:v.getComputeSessionId(),routingKey:v.getWorkerRoutingKey()})},v.getServiceRegistryEndpoint=function(M){return v._serviceRegistryLookup.getServiceRegistryEndpoint(M)},v.enableServerOnWorkerAsync=function(){s.enableEndPoint(s.getEndPointNames().WORKER_ASYNC_ENDPOINT)},v.disableServerOnWorkerAsync=function(){s.disableEndPoint(s.getEndPointNames().WORKER_ASYNC_ENDPOINT)},v.isServerOnWorkerAsyncEnabled=function(){return s.isEndPointEnabled(s.getEndPointNames().WORKER_ASYNC_ENDPOINT)},v.enableServerOnWorker=function(){s.enableEndPoint(s.getEndPointNames().WORKER_ENDPOINT)},v.disableServerOnWorker=function(){s.disableEndPoint(s.getEndPointNames().WORKER_ENDPOINT)},v.isWorkerEndpointEnabled=function(){return s.isEndPointEnabled(s.getEndPointNames().WORKER_ENDPOINT)},v.setWorkerOnlyMessageTypes=function(M){s.setMessageTypesToEndPoint(s.getEndPointNames().WORKER_ENDPOINT,M)},p.after(I,"onError",function(M){M&&m.handleNonTransactionFault(M)},!0),v.createNewEndPoint=function(M,R,T,N,F){var y=this.getEndPointByName(M);y||s.setUpNewEndPoint(M,R,T,N,F)},v.getUrlForEndPoint=function(M){return s.getRemoteUrlForEndPoint(M)},v.getEndPointByName=function(M){return s.getEndPointNames()[M]}}},v.reset(),v},_,P),_.exports=S},3747:(_,P,l)=>{"use strict";var b,S;b=[l(59411)],S=l.dj.d(b,function(C){var A=null,p=function(){return A===null&&(A=new C),A};return p()},_,P),_.exports=S},64690:(_,P,l)=>{"use strict";var b,S;function C(t){"@babel/helpers - typeof";return C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},C(t)}function A(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function p(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,n(s.key),s)}}function d(t,r,i){return r&&p(t.prototype,r),i&&p(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t){var r=e(t,"string");return C(r)==="symbol"?r:String(r)}function e(t,r){if(C(t)!=="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var s=i.call(t,r||"default");if(C(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}b=[],S=l.dj.d(b,function(){"use strict";return function(){function t(r){A(this,t),this._xhr=null,this._uploadDestinationUrl=r.uploadDestinationUrl,this._computeToken=r.computeToken,this._routingkey=r.routingkey,this._fileDestination=r.fileDestination,this._csrfToken=r.csrfToken,this._postMessage=function(i){r.postMessage(i)}}return d(t,[{key:"_postMessageToParent",value:function(i){this._postMessage({data:i})}},{key:"_createFormDataFromFileList",value:function(i){for(var s=new window.FormData,a="uploadFileName",o=0;o<i.length;o++){var u=i[o];s.append(a,u,u.name)}return s}},{key:"_createAndSendXhr",value:function(i){var s=this;this._xhr=new XMLHttpRequest,this._xhr.upload.onprogress=function(a){s._postMessageToParent({type:"updateProgress",loaded:a.loaded,total:a.total})},this._xhr.onload=function(){s._postMessageToParent({type:"uploadFinished",status:s._xhr.status,response:s._xhr.response})},this._xhr.onerror=function(){s._postMessageToParent({type:"uploadError",status:s._xhr.status,response:s._xhr.response})},this._xhr.open("POST","".concat(this._uploadDestinationUrl,"?dest=").concat(this._fileDestination,"&computeToken=").concat(this._computeToken,"&routingkey=").concat(this._routingkey,"&csrfToken=").concat(this._csrfToken),!0),this._xhr.withCredentials=!0,this._xhr.send(i)}},{key:"handleMessage",value:function(i){if(i.data instanceof FileList){var s=this._createFormDataFromFileList(i.data);this._createAndSendXhr(s);return}i.data==="cancelUpload"&&(this._xhr&&this._xhr.abort(),this._postMessageToParent({type:"uploadCanceled"}))}}]),t}()},_,P),_.exports=S},60711:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(72904),l(92087),l(13901),l(3747),l(89669),l(64690)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return C([],{constructor:function(){},upload:function(i,s,a){var o=this;if(this._uploadHandler=new A(function(){o.postMessageToUploadIframe("cancelUpload"),o._unloadIframe()}),this._workerEndpoint=a.endpoint,i instanceof FileList){var u={csrfToken:void 0,validForMs:void 0},c=e.sendPayload(JSON.stringify({messages:{CreateCsrfToken:[{}]}}),n.getEndPointNames().WORKER_ENDPOINT);return c.then(function(h){h.messages.CreateCsrfTokenResponse.forEach(function(m){m.messageFaults&&m.messageFaults.length>0||(u={csrfToken:m.csrfToken,validForMs:m.validForMs})});var v=a.uploadParams,f=v.computeToken,g=v.routingKey;o._initiateUpload(i,{uploadDestinationUrl:o._workerEndpoint+"upload",computeToken:f,routingkey:g,fileDestination:encodeURIComponent(s),csrfToken:encodeURIComponent(u.csrfToken)})}),this._uploadHandler}},_initiateUpload:function(i,s){var a=this;this._eventCallBack=function(o){switch(o.data.type){case"updateProgress":a._uploadHandler.progress({loaded:o.data.loaded,total:o.data.total});break;case"uploadFinished":a._uploadHandler.resolve({status:o.data.status,response:o.data.response}),a._unloadIframe();break;case"uploadError":a._uploadHandler.reject({status:o.data.status,response:o.data.response});break;default:break}},s.postMessage=this._eventCallBack,this._ReplaceUploadIframe=new t(s),this.postMessageToUploadIframe(i)},_unloadIframe:function(){this._ReplaceUploadIframe=null},getHostName:function(i){var s=d.parseUrl(i);return s.hostname},postMessageToUploadIframe:function(i){this._ReplaceUploadIframe&&this._ReplaceUploadIframe.handleMessage({data:i})}})},_,P),_.exports=S},8810:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return{Eval:["CurrentFolder","ListFolder"],"Eval:Ping":[],"Eval:RunFile":["UpdateFile","CurrentFolder","ListFolder"],"Eval:MlsPublishPre":["UpdateFile"],"FEval:liveEvalInstrumentCode":[],Interrupt:[],"FEval:GetFigures":["CurrentFolder","ListFolder"],"FEval:CloseFigure":["FEval:GetFigures"],"FEval:SelectFigure":["FEval:GetFigures"],"FEval:ResetAxes":["FEval:GetFigures"],"FEval:ResizeFigure":["FEval:GetFigures"],"FEval:AxesInteraction2D":["FEval:GetFigures"],"FEval:AxesInteraction3D":["FEval:GetFigures"],CurrentUser:["ServiceRegistry"],RouterLogin:["ServiceRegistry"],CurrentFolder:["ListFolder"],MoveFile:["CurrentFolder"],Variable:[],CloseFile:["SaveSession"],UpdateFile:["SaveSession"],SaveSession:["UpdateFile"],SaveSessionState:["UpdateFile"],Logout:["CloseFile"],UpdateShare:["ListFolder"],AcquireMatlab:["ServiceRegistry"]}},_,P),_.exports=S},24547:(_,P,l)=>{"use strict";var b,S;b=[l(7835),l(86560),l(43793),l(22928)],S=l.dj.d(b,function(C,A,p,d){"use strict";function n(e){var t,r,i,s,a;if(!e)throw new Error("Expected a valid url in urlToEmptyJsFile");return t={},t.framedoc=null,r="error",i=p.get(e,t,!0),s=C.byId(i.id,t.frameDoc),a=A(s,r,function(o){d.info("CheckUrlService detected an error accessing url: "+e),i.handleResponse(null,o),a.remove()}),i.promise}return n},_,P),_.exports=S},65763:(_,P,l)=>{"use strict";var b,S;b=[l(18314),l(74786),l(67324),l(69961),l(76873),l(92087),l(22928),l(24547)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){var i=A([],{constructor:function(){this._messageId=0,this._loaded=!1,this._pendingQueue=[],this._transactions={},this._uploadTargetCallbacks={},this._checkUrl=null,this._loadTimeoutHandle=null,this._checkUrlTimeout=null,this._errorRate=0,this._inFlightTransactions={},this._webSocket=null},setRemotePageHost:function(a,o,u,c){var h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};a=this._combineUriPaths(a||"","/"),o=o||"",c=c||"",this.computeToken=u,this._withCredentials=this._withCredentials||!1,typeof h.withCredentials>"u"||h.withCredentials===null||(this._withCredentials=!!h.withCredentials),!(a===this._host&&o===this._key&&c===this._proxyUrl)&&(this._errorLoading=!1,this._host=a,this._key=o,this._proxyUrl=c,this._cleanupFailureChecks(),this._loaded=!0,this._flushPending())},setLatency:function(a){this._latency=a},setErrorRate:function(a){this._errorRate=a},sendMessage:function(a,o,u){var c=this,h,v,f;this.computeToken&&(u=u||{},u.headers=u.headers||{},u.headers.computeToken=this.computeToken);var g=u||{};h=this._getNewMessageId(),v={action:"sendMessage",id:h,endpoint:o,options:g,message:a};function m(){v={action:"abort",id:h},c._postMessage(v)}return f={deferred:new p(m),id:h},this._errorLoading?f.deferred.reject("Error loading: "+this._url):(this._transactions[h]=f,this._postMessage(v)),f.deferred},_postMessage:function(a){this._loaded?this._postMessageNow(a):this._pendingQueue.push(a)},_handleMessage:function(a){var o,u,c,h,v;if(o=a.data.action,!o)throw new Error("Client unable to parse message, no action specified: "+JSON.stringify(a.data));switch(o){case"ready":this._cleanupFailureChecks(),this._loaded=!0,this._flushPending();break;case"sendMessageResponse":this._sendMessageResponse(a);break;case"uploadIframeMessage":u=a.data.id,c=a.data.message,this._uploadTargetCallbacks[u](c);break;case"websocketOpened":this.onWebsocketOpen();break;case"websocketClosed":h=a.data.message,this.onWebsocketClose(h);break;case"websocketMsg":v=a.data.message,this.onWebsocketMsg(v);break;case"websocketError":this.onWebsocketError();break;default:throw new Error("Unknown action: "+o+", data: "+JSON.stringify(a.data))}},_sendMessageResponse:function(a){var o,u,c=a.data.id,h=a.data.responseType,v=a.data.message;if(!c||!h)throw new Error("Invalid message: "+JSON.stringify(a.data));if(o=this._transactions[c],!o)throw new Error("Unknown transaction id: "+c+": "+JSON.stringify(a.data));if(delete this._transactions[c],!o.deferred.isCanceled()){if(h==="success"){try{u=v&&JSON.parse(v)}catch(f){u=v}u=u===""?{}:u,o.deferred.resolve(u);return}this.onError(v),o.deferred.reject(v)}},_cleanupFailureChecks:function(){this._checkUrlTimeout&&clearTimeout(this._checkUrlTimeout),this._loadTimeoutHandle&&clearTimeout(this._loadTimeoutHandle),this._checkUrl&&!this._checkUrl.isFulfilled()&&this._checkUrl.cancel("Timeout Occurred",!1),this._checkUrlTimeout=null,this._loadTimeoutHandle=null,this._checkUrl=null},_handleLoadTimeout:function(){var a,o,u;if(!this._loaded){a={code:"IframeLoadTimeout",description:"Iframe proxy loading failed due to an HTTP error",message:""},u=this._transactions,this._transactions={},this._pendingQueue=[];for(o in u)u.hasOwnProperty(o)&&u[o].deferred.reject("Timeout: "+this._url+" at "+new Date);this._errorLoading=!0,this.onError(a)}},_handleXhrResponse:function(a,o){var u={action:"sendMessageResponse",id:a,responseType:"success",message:o};this._handleMessage({data:u})},_handleXhrFault:function(a,o){var u={action:"sendMessageResponse",id:a,responseType:"fault",message:o};this._handleMessage({data:u})},_sendXHRNow:function(a){var o=this,u,c,h,v,f,g,m,E=a.data.action;if(!E)throw new Error("Unable to parse message, no action specified: "+JSON.stringify(a.data));switch(E){case"sendMessage":if(u=a.data.id,c=a.data.endpoint,v=a.data.options,h=a.data.message,u&&c&&h)try{if(f=new XMLHttpRequest,this._inFlightTransactions[u]={xhr:f},g=!1,f.onreadystatechange=function(){var I;f.readyState===0?(g=!0,o.handleXhrFault(u,"XHR readyState 0")):f.readyState===4&&!g&&(g=!0,I=f.status||0,I>=200&&I<300||I===304?o._handleXhrResponse(u,f.responseText):o._handleXhrFault(u,f.responseText)),g&&f&&(f.onreadystatechange=o._noop,f=null,delete o._inFlightTransactions[u].xhr,delete o._inFlightTransactions[u])},f.open("POST",c,!0),f.withCredentials=this._withCredentials,f.setRequestHeader("Content-Type",v.contentType?v.contentType:"application/json"),f.setRequestHeader("X-Requested-With","XMLHttpRequest"),v.headers)for(m in v.headers)Object.prototype.hasOwnProperty.call(v.headers,m)&&f.setRequestHeader(m,v.headers[m]);f.send(h)}catch(I){this.handleXhrFault(u,"Unable to send data: "+I.toString())}else throw new Error("Invalid message to send: "+JSON.stringify(a.data));break;case"abort":u=a.data.id,this._inFlightTransactions[u]&&this._inFlightTransactions[u].xhr.abort();break;case"connectWebsocket":var w=a.data.url;this._webSocket=new WebSocket(w),this._webSocket.onopen=function(){o.onWebsocketOpen()},this._webSocket.onmessage=function(I){o.onWebsocketMsg(I)},this._webSocket.onclose=function(I){var M={code:I.code,reason:I.reason,wasClean:I.wasClean};o.onWebsocketClose(M)},this._webSocket.onerror=function(){o.onWebsocketError()};break;case"websocketSend":this._webSocket.send(a.data.data);break;case"closeWebsocket":this._webSocket.close();break;default:throw new Error("Unknown action: "+E)}},_postMessageNow:function(a){var o=this,u,c;function h(){if(o._errorRate>0&&Math.random()<o._errorRate&&a.action==="sendMessage"){if(u=a.id,c=o._transactions[u],c){delete o._transactions[u],t.error("Generating simulated error. Request was: ",JSON.stringify(a));var v="403 Forbidden;403";o.onError(v),c.deferred.reject(v)}}else o._sendXHRNow({data:a})}this._latency?setTimeout(h,this._latency):h()},_flushPending:function(){this._pendingQueue.forEach(this._postMessageNow,this),this._pendingQueue=[]},_getNewMessageId:function(){return this._messageId+=1,this._messageId.toString()},onError:function(){},onWebsocketOpen:function(){},onWebsocketMsg:function(){},onWebsocketClose:function(){},onWebsocketError:function(){},_combineUriPaths:function(){var a=Array.prototype.slice.call(arguments),o=a.reduce(function(u,c){return u.length===0?c:(c.length>0&&(c[0]==="/"&&u.lastIndexOf("/")===u.length-1?c=c.substring(1):c[0]!=="/"&&u.lastIndexOf("/")!==u.length-1&&(u+="/")),u+c)});return o}});return i.WebSocket=A([],{constructor:function(a){var o=this;this.proxyClient=i.WebSocket.proxyClient,this.proxyClient.computeToken&&a.indexOf("?")>=0&&(a=a+"&computeToken="+this.proxyClient.computeToken);var u={action:"connectWebsocket",url:a};this.proxyClient._postMessage(u),n.after(this.proxyClient,"onWebsocketOpen",function(){o.onopen.apply(o,arguments)},!0),n.after(this.proxyClient,"onWebsocketMsg",function(){o.onmessage.apply(o,arguments)},!0),n.after(this.proxyClient,"onWebsocketClose",function(){o.onclose.apply(o,arguments)},!0),n.after(this.proxyClient,"onWebsocketError",function(){o.onerror.apply(o,arguments),o.proxyClient.onError.apply(o.proxyClient,arguments)},!0)},onopen:function(){},onmessage:function(){},onclose:function(){},onerror:function(){},send:function(a){var o={action:"websocketSend",data:a};this.proxyClient._postMessage(o)},close:function(){var a={action:"closeWebsocket"};this.proxyClient._postMessage(a)}}),i},_,P),_.exports=S},15779:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(49825),l(89669)],S=l.dj.d(b,function(C,A,p){return C([A],{_doSend:function(n){return p.sendPayload(n,this.endPointName)}})},_,P),_.exports=S},38153:(_,P,l)=>{"use strict";var b,S;b=[l(33659),l(74786),l(69961)],S=l.dj.d(b,function(C,A,p){return A([],{constructor:function(n){n=n||{},this.faultHandlers=n.faultHandlers||{},this.topLevelHandlers=n.topLevelHandlers||[],this.endPointLevelHandlers=n.endPointLevelHandlers||{}},registerFaultHandler:function(n,e,t){t&&(e=p.hitch(t,e)),this.faultHandlers[n]=e},deregisterFaultHandler:function(n){delete this.faultHandlers[n]},registerTopLevelFaultHandler:function(n,e,t){var r;if(t&&(e=p.hitch(t,e)),p.isString(n)){if(n==="*")return r={matcher:n,handler:e},this.defaultTopLevelHandler=e,r;n=this._constructMatcherFromQuery(n)}return r={matcher:n,handler:e},this.topLevelHandlers.push(r),r},registerEndpointLevelFaultHandler:function(n,e,t,r){var i;return r&&(t=p.hitch(r,t)),p.isString(e)&&(e=this._constructMatcherFromQuery(e)),i={matcher:e,handler:t},this.endPointLevelHandlers[n]||(this.endPointLevelHandlers[n]=[]),this.endPointLevelHandlers[n].push(i),i},deregisterTopLevelFaultHandler:function(n){var e=this.topLevelHandlers.indexOf(n);e>-1?this.topLevelHandlers.splice(e,1):n.matcher==="*"&&delete this.defaultTopLevelHandler},_constructMatcherFromQuery:function(n){var e=n.split("||"),t=[];return e.forEach(function(r){r=p.trim(r),r=r.replace(/([.])/g,"\\$1"),r=r.replace(/\*/g,".*"),t.push(new RegExp("^"+r+"$"))}),function(r){return C.some(t,function(i){return i.test(r.faultCode||r.code||"")})}},handleFault:function(n){var e,t=function(s,a){var o,u=n.getMessageClassifier(a);u&&(o=[s,u].join(":"),this.faultHandlers[o]&&this.faultHandlers[o](n.fault,n.context))};for(e in n.requestMessages)if(n.requestMessages.hasOwnProperty(e)){this.faultHandlers[e]&&this.faultHandlers[e](n.fault,n.context);var r=n.requestMessages[e];Array.isArray(r)&&r.forEach(p.hitch(this,t,e))}this.faultHandlers["*"]&&this.faultHandlers["*"](n.fault,n.context),this.endPointLevelHandlers[n.endPointName]?this._handleEndpointLevelFault(n):this._handleTopLevelFault(n)},_handleEndpointLevelFault:function(n){var e=!1,t=C.filter(this.endPointLevelHandlers[n.endPointName],function(r){return r.matcher.call(this,n.fault,n.context)},this);return t.length>0&&t[0].handler&&(e=!0,t[0].handler.call(this,n.fault,n.context,n)),e},_handleTopLevelFault:function(n){var e=C.filter(this.topLevelHandlers,function(r){return r.matcher.call(this,n.fault,n.context)},this),t=e.length>0?e[0].handler:this.defaultTopLevelHandler;t&&t.call(this,n.fault,n.context,n)},handleNonTransactionFault:function(n){var e=C.filter(this.topLevelHandlers,function(r){return r.matcher.call(this,n)},this),t=e.length>0?e[0].handler:this.defaultTopLevelHandler;t&&t.call(this,n)}})},_,P),_.exports=S},49825:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(7755),l(69961),l(3747),l(96397)],S=l.dj.d(b,function(C,A,p,d,n){return C(n,{constructor:function(t){t=t||{},this.uuid=t.uuid||this._generateUuid()},_getRequest:function(t){var r=d.isEndpointMessageContainerBased(this.endPointName),i=null;if(r)i={uuid:this.uuid,messages:t},this.computeToken&&(i.computeToken=this.computeToken);else{var s=Object.keys(t);s.forEach(function(a){i=t[a]})}return this._sanitizeForJson(i),JSON.stringify(i,null,0)},_sanitizeForJson:function(t){var r;if(p.isArray(t))t.forEach(this._sanitizeForJson,this);else if(p.isObject(t))for(r in t)t.hasOwnProperty(r)&&(t[r]===void 0?delete t[r]:(p.isObject(t[r])||p.isArray(t[r]))&&this._sanitizeForJson(t[r]))},_doSend:function(t){return A.post({url:this._getEndpoint(),contentType:"application/json",handleAs:"json",postData:t})},_processResponse:function(t){this.stopTime=new Date().getTime(),t?(t.fault&&(this.fault=t.fault),t.messages?this.responseMessages=t.messages:this.responseMessages=t):this.fault={faultCode:"Connection.Fault",message:"Unable to communicate with server, no response."}},_processFault:function(t){this.stopTime=new Date().getTime(),this.fault={faultCode:"Connection.Fault",message:t}}})},_,P),_.exports=S},73539:(_,P,l)=>{"use strict";var b,S;b=[l(33659),l(74786),l(67324),l(69961),l(3747),l(8810),l(96397)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return A([],{defaultMapping:e,constructor:function(i){i=i||{},this.defaultFactories=i.defaultFactories||{},this.mockHandlers=i.mockHandlers||{},this.mapping=i.mapping||this.defaultMapping,this.responseManager=i.responseManager},registerDefaultMessageFactory:function(i,s,a){a&&(s=d.hitch(a,s)),this.defaultFactories[i]=s},deregisterDefaultMessageFactory:function(i){delete this.defaultFactories[i]},registerMockResponseGenerator:function(i,s,a){var o=this;s=d.hitch(a||this,s),this.mockHandlers[i]=function(u,c){var h,v=t.construct(c);h=s(u,v),h||(h=new p,h.callback()),h.addCallback(function(){o.responseManager._processResult(v)})}},deregisterMockResponseGenerator:function(i){delete this.mockHandlers[i]},sendMessage:function(i,s,a){var o={},u={},c,h,v;for(s=s||{},this._createAndFillTransactions(i,s,a,o,u),c=Object.keys(o),h=0;h<c.length;h=h+1)v=c[h],this._callMocks(u[v]),o[v].send(),this.responseManager.handleTransaction(o[v])},_getTransaction:function(i,s){var a=t.construct({context:s,computeToken:this.computeToken,endPointName:i});return a},_getMockTransaction:function(i,s,a){var o=t.construct({context:s,computeToken:this.computeToken,endPointName:i,uuid:a});return o},_createAndFillTransactions:function(i,s,a,o,u){var c,h,v=function(w){var I,M,R,T,N,F,y;if(N=n.getEndPointForMessageType(w),F=o[N],y=u[N],F||(F=this._getTransaction(N,s),y=this._getMockTransaction(N,s,F.uuid),o[N]=F,u[N]=y),this.defaultFactories[w]){if(I=this.defaultFactories[w](F.context),!I)return;M=w.split(":"),R=M[0],T=M.slice(1,M.length).join(":"),this.mockHandlers[w]||F.addRequestMessage(R,I,T),y.addRequestMessage(R,I,T)}},f,g;for(c in i)if(i.hasOwnProperty(c)){var m=n.getEndPointForMessageType(c);f=u[m],g=o[m],o[m]||(g=this._getTransaction(m,s),f=this._getMockTransaction(m,s,g.uuid),o[m]=g,u[m]=f),h=[c,a].join(":"),this.mockHandlers[c]||this.mockHandlers[h]||g.addRequestMessage(c,i[c],a),f.addRequestMessage(c,i[c],a),this.mapping[h]?this.mapping[h].forEach(v,this):this.mapping[c]&&this.mapping[c].forEach(v,this)}},_callMocks:function(i){var s,a,o=i.context;delete i.context;var u=function(h,v){var f,g=s.getMessageClassifier(v);g&&(f=[h,g].join(":"),this.mockHandlers[f]&&this.mockHandlers[f]([v],s))};for(a in i.requestMessages)i.requestMessages.hasOwnProperty(a)&&(s=d.mixin({},i),s.context=o,this.mockHandlers.hasOwnProperty(a)&&this.mockHandlers[a](s.requestMessages[a],s),Array.isArray(s.requestMessages[a])?s.requestMessages[a].forEach(d.hitch(this,u,a)):u(a,s.requestMessages[a]));this.mockHandlers["*"]&&this.mockHandlers["*"](a,s.requestMessages[a],s)}})},_,P),_.exports=S},64323:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(22928),l(3747)],S=l.dj.d(b,function(C,A,p,d){return C([],{constructor:function(e){e=e||{},this.responseHandlers=e.responseHandlers||{},this.faultManager=e.faultManager,this.transactions=e.transactions||[]},registerResponseHandler:function(e,t,r){r&&(t=A.hitch(r,t)),this.responseHandlers[e]=t},deregisterResponseHandler:function(e){delete this.responseHandlers[e]},handleTransaction:function(e){this.transactions.push(e),e.deferred.addCallback(A.hitch(this,this._processAll,e)),e.deferred.addCallback(A.hitch(this,this._processResult,e)),e.deferred.addErrback(A.hitch(this,this._processAll,e)),e.deferred.addErrback(A.hitch(this,this._processFault,e))},_processAll:function(e){var t;t=this.transactions.indexOf(e),t>=0&&this.transactions.splice(t,1)},_processResult:function(e){e.getResponseMessageTypes().forEach(function(t){var r=e.responseMessages[t],i=[];try{Array.isArray(r)&&(r.forEach(function(a){var o,u=e.getMessageClassifier(a);if(u){o=[t,u].join(":");var c=this,h=!1;e.getRequestMessageTypes().forEach(function(v){var f=e.requestMessages[v];Array.isArray(f)?f.forEach(function(g){c.responseHandlers[o]&&g.uuid===a.uuid&&(c.responseHandlers[o]([a],e.context),h=!0)}):c.responseHandlers[o]&&f.uuid===a.uuid&&(c.responseHandlers[o]([a],e.context),h=!0)}),h||i.push(a)}else i.push(a)},this),i.length>0&&this.responseHandlers[t]&&this.responseHandlers[t](i,e.context),this.responseHandlers["*"]&&this.responseHandlers["*"](t,e.responseMessages[t],e.context))}catch(a){var s=2;p.error(`Remote: Fault occurred while processing response.
Message: `+a.message+`
Type: `+t+`
Response: `+JSON.stringify(r,null,s))}},this),this._processUdcResponses(e),e.fault&&this.faultManager.handleFault(e)},_processUdcResponses:function(e){var t=d.isEndpointMessageContainerBased(e.endPointName);if(!t){var r=Object.keys(e.requestMessages)[0];this.responseHandlers[r]&&this.responseHandlers[r](e.responseMessages)}},_processFault:function(e){this.faultManager.handleFault(e)}})},_,P),_.exports=S},96397:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(67324),l(69961),l(3747),l(92510)],S=l.dj.d(b,function(C,A,p,d,n){return C([],{constructor:function(t){t=t||{},this.requestMessages=t.requestMessages||{},this.responseMessages=t.responseMessages||{},this.context=t.context,this.computeToken=t.computeToken,this.uuidClassifierMap=t.uuidClassifierMap||{},this.endPointName=t.endPointName||null,this.allowedMessages=t.allowedMessages||[],this.ignoreMessageTypes=t.ignoreMessageTypes||[],this.sendMessage=t.sendMessage},addRequestMessage:function(t,r,i){if(r){var s=d.isEndpointMessageContainerBased(this.endPointName);this.requestMessages[t]||(this.requestMessages[t]=[]),p.isArray(r)?r.forEach(function(a){this.addRequestMessage(t,a,i)},this):s?(r.uuid=r.uuid||this._generateUuid(),i&&(this.uuidClassifierMap[r.uuid]=i),this.requestMessages[t].push(r)):this.requestMessages[t]=r,this.requestMessages=this._filterMessages(this.requestMessages)}},_filterMessages:function(t){var r={};return this.getRequestMessageTypes().forEach(function(i){(this.allowedMessages.length===0||this.allowedMessages.indexOf(i)>=0)&&(r[i]=t[i])},this),r},getResponseMessageTypes:function(){var t,r=[];for(t in this.responseMessages)this.responseMessages.hasOwnProperty(t)&&r.push(t);return r},getRequestMessageTypes:function(){var t,r=[];for(t in this.requestMessages)this.requestMessages.hasOwnProperty(t)&&r.push(t);return r},getMessageClassifier:function(t){return t&&t.uuid&&this.uuidClassifierMap.hasOwnProperty(t.uuid)?this.uuidClassifierMap[t.uuid]:""},send:function(){this._removeEmptyMessages(),this._isEmpty(this.requestMessages)?(this.deferred=new A,this.deferred.callback()):(this.startTime=new Date().getTime(),this.deferred=this._doSend(this._getRequest(this.requestMessages)),this.deferred.addCallback(this,this._processResponse),this.deferred.addErrback(this,this._processFault))},addIgnoreMessageType:function(t,r){if(this.getRequestMessageTypes().indexOf(t)>-1)if(r){var i;for(i in this.uuidClassifierMap)this.uuidClassifierMap.hasOwnProperty(i)&&r&&this.uuidClassifierMap[i]===r&&this.ignoreMessageTypes.push(t+":"+r)}else this.ignoreMessageTypes.push(t)},_removeEmptyMessages:function(){if(!this._isEmpty(this.requestMessages)){var t;for(t in this.requestMessages)this.requestMessages.hasOwnProperty(t)&&p.isArray(this.requestMessages[t])&&n.getArrayLength(this.requestMessages[t])===0&&delete this.requestMessages[t]}},_isEmpty:function(t){var r;for(r in t)if(t.hasOwnProperty(r))return!1;return!0},_generateUuid:function(){return n.generateUuid()}})},_,P),_.exports=S},95278:(_,P,l)=>{"use strict";var b,S;b=[l(13879),l(13901),l(65536)],S=l.dj.d(b,function(C,A,p){var d=!1,n={};n._serviceData={},n.getServiceRegistryEndpoint=function(r){if(n._serviceData.serviceregistry){var i,s;for(i=n._serviceData.serviceregistry.length,s=0;s<i;s+=1)if(n._serviceData.serviceregistry[s].name===r)return n._serviceData.serviceregistry[s].endpoint}return""};var e=function(i){var s=A.parseQueryString().mre;if(s){var a=new URL(s,window.location.href);if(p.isAllowed(a)){s=a.href;var o=i.serviceregistry;o=Array.isArray(o)?o:[];var u=!1;o.forEach(function(c){c.name&&c.name==="primary"&&(c.endpoint=s,u=!0)}),u||(o.push({name:"primary",endpoint:s}),i.serviceregistry=o)}}return i},t={_doXhr:function(i,s){return C(i,{handleAs:"json",failOk:!0,method:"GET",timeout:15e3,sync:s})},_reset:function(){d=!1,n._serviceData={}},load:function(i,s,a){if(d)a(n);else{var o=!s.async;t._doXhr("/serviceregistrylookup/1/service",o).then(function(u){u instanceof Object||(u={}),n._serviceData=e(u),d=!0,a(n)},function(){n._serviceData=e({}),d=!0,a(n)})}}};return t},_,P),_.exports=S},23241:(_,P,l)=>{"use strict";var b,S;b=[l(22928)],S=l.dj.d(b,function(C){var A=new RegExp("^(?:[a-z]+:)?//","i"),p=["localhost","127.0.0.1","[::1]"];return{createWorkerRoutingHostUrl:function(n,e){if(n==="about:blank")return n;var t=n,r="",i="",s=e.host,a=e.sessionId,o=e.routingKey,u=!0;try{if(r=new URL(s),this.isAbsoluteUrl(n))if(i=new URL(n),i.origin&&p.includes(i.hostname)){var c=i.pathname;t=new URL(c,r).href,i.search&&(i.searchParams.has("mre")&&i.searchParams.delete("mre"),t=t+i.search)}else i.origin&&i.hostname!==r.hostname&&(u=!1);else n&&n.startsWith("/")?t=r+n.substr(1,n.length):t=r+n;return u&&(t+=(t.indexOf("?")>=0?"&":"?")+"mre="+encodeURIComponent(r),o&&a&&(t+="&routingkey="+o+"&computeToken="+encodeURIComponent(a))),t}catch(h){C.error("Input URL is malformed")}return t},isAbsoluteUrl:function(n){return!!A.test(n)}}},_,P),_.exports=S},65536:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){var C=["localhost","127.0.0.1","[::1]"];return{isAllowed:function(p){return p instanceof URL||(p=new URL(p)),this._checkIfSameOrigin(p.origin)||this._checkIfMathWorksAllowedDomain(p.hostname)||this._checkIfAllowedLocalHost(p.hostname)},_checkIfSameOrigin:function(p){return p===window.location.protocol+"//"+window.location.host},_checkIfMathWorksAllowedDomain:function(p){for(var d=p,n=0,e=[".matlab.com",".mathworks.com",".mathworks.cn",".mwcloudtest.com"];n<e.length;n++){var t=e[n];if(d.endsWith(t))return!0}return!1},_checkIfAllowedLocalHost:function(p){return!!C.includes(p)}}},_,P),_.exports=S},89669:(_,P,l)=>{"use strict";var b,S;b=[l(3747),l(67324)],S=l.dj.d(b,function(C,A){var p=function(n,e,t){var r=C.getIframeProxyClientForEndPoint(e);return r.sendMessage(n,C.getRemoteUrlForEndPoint(e),t)};return{sendPayload:function(n,e,t){var r=new A,i=p(n,e,t);return i.then(function(s){r.resolve(s)}),r}}},_,P),_.exports=S},62407:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(28906)],S=l.dj.d(b,function(C,A){return C([],{constructor:function(d){d.stateMachine=this,this.state=new A(d)},start:function(){this.state.enter()},stop:function(){this.state.exit()},_changeState:function(d,n){this.state.enter(d,n)},onEnterState:function(d){},onExitState:function(d){}})},_,P),_.exports=S},76597:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(76873),l(22928),l(8483)],S=l.dj.d(b,function(C,A,p,d,n){return C(n,{constructor:function(){this.connection={}},enable:function(){A.isFunction(this.context[this.name])&&(this.cachedFunction=this.context[this.name]),this.connection=p.after(this.context,this.name,A.hitch(null,this.triggerHandler,this.name),!0)},disable:function(){this.connection.remove(),this.cachedFunction&&(this.context[this.name]=this.cachedFunction)}})},_,P),_.exports=S},44570:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(48309),l(22928),l(8483)],S=l.dj.d(b,function(C,A,p,d,n){return C(n,{constructor:function(){const t=this.name.split(" ");(t.length<2||t[0]!=="subscribe")&&d.error("Invalid trigger name for a MessageTrigger. Could not parse out the message name."),this.messageId=t[1]||"",this.subscrition={}},enable:function(){this.subscription=p.subscribe(this.messageId,A.hitch(null,this.triggerHandler,this.name))},disable:function(){this.subscription.remove()}})},_,P),_.exports=S},979:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(22928),l(93600),l(8483)],S=l.dj.d(b,function(C,A,p,d,n){return C(n,{constructor:function(){const t=this.name.split(" ");(t.length<2||t[0]!=="response"&&t[0]!=="fault")&&p.error("Invalid trigger name for a RemoteTrigger. Could not parse out the type of handler."),(!d.registerResponseHandler||!d.registerFaultHandler)&&p.error("The remote package is not available, this type of trigger will not work."),this.messageId=t[1]||"",this.handlerType=t[0]},enable:function(){this.handlerType==="response"?d.registerResponseHandler(this.messageId,A.hitch(null,this.triggerHandler,this.name)):d.registerFaultHandler(this.messageId,A.hitch(null,this.triggerHandler,this.name))},disable:function(){this.handlerType==="response"?d.deregisterResponseHandler(this.messageId):d.deregisterFaultHandler(this.messageId)}})},_,P),_.exports=S},28906:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(22928),l(76597),l(44570),l(979),l(50856),l(40316)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){let i;return i=C([],{constructor:function(a){this.stateMachine=a.stateMachine||{_changeState:function(){},onEnterState:function(){},onExitState:function(){}},this.namespace=a.namespace||"",this.name=a.name||this.getDefaultName(),this.context=a.context||{},this.data=a.data||{},this.composition=a.composition||"XOR",this.defaultSubstate=a.defaultSubstate||"",this.constructSubstates(a.substates),this.constructTriggersAndTransitions(a.transitions),this.active=a.active||!1},getDefaultName:function(){let a,o;return this.namespace.length>0?(a=this.namespace.split("."),o=a.pop()):p.warn("State: state name is not specified."),o||""},constructSubstates:function(a){const o={};let u,c;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(c=a[u],c.name&&c.name!==u&&p.error("State: error constructing substate: "+u+", the specified names don't match: "+c.name),c.name=u,c.namespace=c.namespace||[this.namespace,this.name].join("."),c.stateMachine=c.stateMachine||this.stateMachine,c.context=c.context||this.context,o[c.name]=new i(c));this.substates=o},constructTriggersAndTransitions:function(a){let o;const u={},c=[];let h;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(h=this.constructTrigger(o),h&&c.push(h),u[o]=this.constructTransition(o,a[o]));this.transitions=u,this.triggers=c},constructTrigger:function(a){let o,u;const c=a.split(" ");return c.length===2?c[0]==="subscribe"?u=n:c[0]==="response"||c[0]==="fault"?u=e:c[0]==="timeout"&&(u=t):(a!=="onEnterState"||a!=="onExitState")&&(u=d),u&&(o=new u({name:a,context:this.context,triggerHandler:A.hitch(this,this.handleTrigger)})),o},constructTransition:function(a,o){let u,c;return(A.isFunction(o)||A.isString(o)||A.isArray(o))&&(a==="onEnterState"||a==="onExitState"?(u=o,o={},o.action=u,o.target=""):(c=o,o={},o.target=c)),o.state=this,new r(o)},enter:function(a,o){this.active||(this.active=!0,this.enableTriggers(),this.stateMachine.onEnterState(this.name),this.handleTrigger.apply(this,["onEnterState"].concat(o))),a?this.changeSubstates(a,o):this.changeToDefaultSubstate(o)},exit:function(){const a=this.activeSubstates();this.active=!1,this.disableTriggers(),a.forEach(function(o){o.exit()}),this.handleTrigger("onExitState"),this.stateMachine.onExitState(this.name)},enableTriggers:function(){this.triggers.forEach(function(a){a.enable()})},disableTriggers:function(){this.triggers.forEach(function(a){a.disable()})},handleTrigger:function(a){let o,u;this.transitions[a]&&(u=Array.prototype.slice.call(arguments,1,arguments.length),o=this.transitions[a].handleTrigger(a,u),o&&(A.isString(o)||(u=o.args,o=o.target),this.stateMachine._changeState(o,u)))},changeSubstates:function(a,o){const u=this.activeSubstates();this.substates[a]&&(u.length>=0&&u[0].name!==a&&u.forEach(function(c){c.exit()}),this.substates[a].enter(void 0,o))},changeToDefaultSubstate:function(a){this.activeSubstates().length===0&&this.substates[this.defaultSubstate]&&this.substates[this.defaultSubstate].enter(void 0,a)},activeSubstates:function(){const a=[];let o;for(o in this.substates)Object.prototype.hasOwnProperty.call(this.substates,o)&&this.substates[o].active&&a.push(this.substates[o]);return a}}),i},_,P),_.exports=S},50856:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(22928),l(8483)],S=l.dj.d(b,function(C,A,p,d){return C(d,{constructor:function(){const e=this.name.split(" ");(e.length<2||e[0]!=="timeout")&&p.error("Invalid trigger name for a TimeoutTrigger. Could not parse out the type of handler."),this.timeoutInSeconds=parseFloat(e[1]),this.handlerType=e[0]},enable:function(){this.disable(),this.timeoutHandle=setTimeout(A.hitch(null,this.triggerHandler,this.name),this.timeoutInSeconds*1e3)},disable:function(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=null)}})},_,P),_.exports=S},40316:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(69961),l(22928)],S=l.dj.d(b,function(C,A,p){return C([],{constructor:function(n){this.state={},this.target="",this.condition=null,this.action=null,C.safeMixin(this,n)},handleTrigger:function(n,e){let t="";return this.checkCondition(n,e)&&(this.runAction(n,e),t=this.getTarget(n,this.target,e)),t},checkCondition:function(n,e){return this.condition?A.hitch(this.state.context,this.condition).apply(null,[n,this.state.data].concat(e)):!0},runAction:function(n,e){let t;const r=this;this.action&&(t=A.hitch(this.state.context,this.action),t.apply(null,[n,r.state.data].concat(e)))},getTarget:function(n,e,t){let r,i,s,a;if(A.isString(e))i=e;else if(A.isFunction(e))s=A.hitch(this.state.context,e),i=s.apply(null,[n,this.state.data].concat(t));else if(A.isArray(e))for(r=0;r<e.length;r+=1){if(i=this.getTarget(n,e[r],t),A.isString(i)){i={target:i},A.mixin(i,a);break}if(i&&i.target){A.mixin(i,a);break}a=i||{}}else p.warn("Transition: improper target: ",e);return i}})},_,P),_.exports=S},8483:(_,P,l)=>{"use strict";var b,S;b=[l(74786)],S=l.dj.d(b,function(C){return C([],{constructor:function(p){this.name="",this.context={},this.triggerHandler=p.triggerHandler||function(){},C.safeMixin(this,p)},enable:function(){},disable:function(){}})},_,P),_.exports=S},26149:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(86560),l(62907),l(66379),l(61383),l(95504),l(99549),l(95723),l(51138),l(96723),l(13159),l(4051),l(70654),l(45120),l(79301),l(40748),l(87779),l(49333),l(26807),l(80531),l(83757),l(63804),l(11605),l(11487),l(71716),l(64338),l(47741),l(44105),l(82229),l(7540),l(2102)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,E,w,I,M,R,T,N,F,y,x,O,L,W){"use strict";var j={IdController:d,GeometryController:n,Scroll:e,TableResize:t,EventsController:r,DoubleClickController:i,ColConfigController:s,EditControllerProxy:a,HeaderEditController:o,AttributesController:u,CustomKeyController:c,DisableController:h},H=function(){function K($){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};A(this,K),this._events=[],this._eventMap={},this.resizeHandler=this.resizeHandler.bind(this);var z=!1,X=this._viewModel=O.setViewModel(F,y,$,T),Z=O._generateUuid();X.setState(v.protected.WIDGET_ID,Z),V.widgetId=Z,typeof V.keepSorted!="boolean"&&(V.keepSorted=!1),V.selectionConfig&&typeof V.selectionConfig.selectionById=="boolean"&&(z=V.selectionConfig.selectionById);var Y=x.getRowHeaderConfig(V);X.setState(v.protected.testId,"__MW_TABLE__"+V.dataTestId),X.setState(v.protected.SORT_BEHAVIOUR,V.keepSorted),z&&(X.setState(v.protected.TABLE_SELECTION_BY_ID,!0),X.setState(v.protected.INIT_CUSTOM_PROPS_FUNC,W.initTableColumnProps),X.setState(v.protected.UPDATE_CUSTOM_PROPS_FUNC,W.updateTableColumnProps)),X.setRowHeaderConfig(Y);var Q=V.freezeColumnConfig&&V.freezeColumnConfig.range?V.freezeColumnConfig:null;W.validateAndSetFreezeColumnConfig(Q,X),O.setupRegistration(this,X);var q=this._tableView=O.initializeTableView(X,$,j,f,V),ee=q.registry;O.mixinFacade(this,ee),O.facadeListeners(this,ee)}return C(K,[{key:"registerRenderer",value:function(V,z){O.registerRenderer(this,this._viewModel,V,z)}},{key:"registerEditor",value:function(V,z){O.registerEditor(this,this._viewModel,V,z)}},{key:"startup",value:function(){var V=m.SYNC;this._tableView.renderTable(),this._viewModel.setRenderType(V)}},{key:"destroy",value:function(){this._events.forEach(function(V){V.remove()}),this._tableView.removeTable(this._container),this._eventMap=null,this._viewModel=null,this._tableView=null}},{key:"on",value:function(V,z){var X=p(this._eventMap[V],V,z);return this._events.push(X),X}},{key:"getRangeFromId",value:function(V){}},{key:"resizeHandler",value:function(){this._tableView.throttledResize()}},{key:"focus",value:function(){this._tableView.focus()}},{key:"editCell",value:function(){this.focus();var V=this._tableView.domNode;this._editCell({container:V})}},{key:"emits",value:function(){}},{key:"domNode",get:function(){return this._tableView.domNode}}],[{key:"range",value:function(){return T.range()}},{key:"FEATURE",get:function(){return f.AVAILABLE}},{key:"gridStyle",get:function(){return g.public_enum}},{key:"compare",get:function(){return N.compare}},{key:"REORDER",get:function(){return E.AVAILABLE}},{key:"TOOLTIP",get:function(){return w.PUBLIC}},{key:"DRAGTOSELECT",get:function(){return L}},{key:"PLATFORMS",get:function(){return R.exposed}},{key:"KEYS",get:function(){return I}}]),K}();return H},_,P),_.exports=S},93361:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(63804),l(79301),l(9070)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=function(a,o){return a<o?-1:a>o?1:0},r=function(a,o){var u=t(a.rows.start,o.rows.start);return u===0?t(a.rows.end,o.rows.end):u},i=function(){function s(){A(this,s)}return C(s,null,[{key:"fitRangeToBounds",value:function(o,u,c){var h={rows:{},columns:{}};return c.rows.start>o||c.columns.start>u||c.rows.end<0||c.columns.end<0?null:(h.rows.start=Math.max(Math.min(c.rows.start,o),0),h.columns.start=Math.max(Math.min(c.columns.start,u),0),h.rows.end=c.rows.end===1/0?1/0:Math.max(Math.min(c.rows.end,o),h.rows.start),h.columns.end=c.columns.end===1/0?1/0:Math.max(Math.min(c.columns.end,u),h.columns.start),p.range().setRows(h.rows.start,h.rows.end).setColumns(h.columns.start,h.columns.end))}},{key:"getActiveCell",value:function(o){var u=o.getStateByKey(n.protected.ACTIVE_CELL);if(!u){var c=[p.range().setRows(0,0).setColumns(0,0)];u={value:null,rangeList:c}}return u}},{key:"getActiveCellRange",value:function(o){var u=o.getStateByKey(n.protected.ACTIVE_CELL);return u?u.rangeList[0]:[]}},{key:"getFocusedCell",value:function(o){var u=o.getStateByKey(n.protected.FOCUSED);return u?u.rangeList[0]:null}},{key:"isActiveCellEmpty",value:function(o){return!!(o==null||Array.isArray(o)&&o.length===0)}},{key:"getValidStartPoint",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return o<0?0:o}},{key:"isCellInRanges",value:function(o,u,c){if(Array.isArray(o)){if(o.length===0)return!1;var h=p.range().setRows(u,u).setColumns(c,c);return p.isRangeInsideRangeList(h,o)}else return Object.keys(o).indexOf(u)>-1}},{key:"isRangeVisible",value:function(o,u){return!u||!o?!1:p.isRangeInside(u,o)}},{key:"isIdInSelections",value:function(o,u){return o in u}},{key:"getSelectionCountByRanges",value:function(o){var u=void 0,c=function(f,g){return g?p.isRowRange(g)?(u=d.rangeType.ROW,f+g.rows.count):p.isColumnRange(g)?(u=d.rangeType.COLUMN,f+g.columns.count):(u=d.rangeType.CELL,f+g.rows.count*g.columns.count):f},h=o.reduce(c,0);return{count:h,type:u}}},{key:"getSelectionCountByIDs",value:function(o){var u="rows",c=Object.keys(o).length;return{count:c,type:u}}},{key:"areSelectionRangesDifferent",value:function(o,u){var c=!0;return u.length===o.length&&(u.sort(r),o.sort(r),c=o.reduce(function(h,v,f){return h||!p.isRangeEqual(v,u[f])},!1)),c}},{key:"areSelectionIdsDifferent",value:function(o,u){return!e.deepEqual(o,u)}},{key:"isDataTransferValid",value:function(o){if(!o)return!1;var u=o.types;if(!Array.isArray(u)||u.length===0)return!1;var c=u[0];if(!c)return!1;var h=o.getData(c);return!!h}},{key:"getDataTransferString",value:function(o){if(!o)return"dataTransfer is null";var u=o.types;if(!u||u.length===0||!u[0])return"dataTransfer has no mime types";for(var c="",h=0;h<u.length;h++){var v=u[h],f=o.getData(v);c+=" type = "+v+" value = "+f}return c}},{key:"getRangeAsString",value:function(o){function u(v){var f="";return v&&v.rows&&v.columns&&(f="[R"+v.rows.start+","+v.rows.end,f+="|C"+v.columns.start+","+v.columns.end,f+="|T"+v.columns.count*v.rows.count+"]"),f}if(!o)return"range undefined";if(o.length){for(var c="",h=0;h<o.length;h++)c+=h+"="+u(o[h])+",";return c}return u(o)}},{key:"getFirstVisibleColumn",value:function(o,u,c){var h=o.getFirstVisibleColumn(),v=u.getColumnCount()-1,f=o.getLastBufferedColumn();if(v===f){var g=o.getBoundingRect().left;for(var m in c)if(c[m].left-g<=0&&c[m].right-g>0){h=Number(m);break}}return h}}]),s}();return i},_,P),_.exports=S},91877:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(79301),l(16885)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(a){A(this,s);var o=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return o._viewModel=a.viewModel,o}return C(s,[{key:"eventList",value:function(){return{}}},{key:"setDefaultColumnWidth",value:function(o){o=Math.max(0,o),isNaN(o)||this._viewModel.setState(e.COL_WIDTH,o)}},{key:"setDefaultRowHeight",value:function(o){o=Math.max(0,o),isNaN(o)||this._viewModel.setState(e.ROW_HEIGHT,o)}}]),s}(n);return r},_,P),_.exports=S},78858:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(9070),l(79301),l(16885),l(83757),l(32264),l(2860),l(93361)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o){"use strict";var u=function(v){return v.ctrlKey||v.meta||v.metaKey},c=function(h){d(v,h);function v(f){A(this,v);var g=p(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));g._viewModel=f?f.viewModel:null;var m=f?f.options:null,E=m?m.clipboardConfig:null;return g._onCutCallback=e.toPromise,g._onCopyCallback=e.toPromise,g._isLocalServer=null,E&&(E.onCut&&(g._onCutCallback=E.onCut),E.onCopy&&(g._onCopyCallback=E.onCopy),E.isLocalServer!==null&&(g._isLocalServer=E.isLocalServer||!1),g._onPasteCallback=E.onPaste,g._onFailureCallback=E.onFailure,g._onSuccessCallback=E.onSuccess),g._onFailure=g._onFailure.bind(g),g._onSuccess=g._onSuccess.bind(g),g._events={},g}return C(v,[{key:"eventList",value:function(){var g=this,m={};return m[r.internal.TABLE_KEY_PRESS]=function(E){return g._handleKeyPress(E)},m[r.internal.CLIPBOARD_COPY]=function(E){g._handleCopyEvent(E)},m[r.internal.CLIPBOARD_CUT]=function(E){g._handleCutEvent(E)},m[r.internal.CLIPBOARD_PASTE]=function(E){g._handlePasteEvent(E)},m}},{key:"_handleKeyPress",value:function(g){var m=g.event;if(u(m))switch(m.keyCode){case i.C:m.nativeEvent&&m.nativeEvent.preventDefault(),this._handleCopyEvent(m);break;case i.X:m.nativeEvent&&m.nativeEvent.preventDefault(),this._handleCutEvent(m);break;case i.V:break}}},{key:"cut",value:function(){this._handleCutEvent(null)}},{key:"copy",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(o.isDataTransferValid(g)){this._serviceWrite(g);return}this._handleCopyEvent(null)}},{key:"paste",value:function(){this._handlePasteEvent()}},{key:"_handleCutEvent",value:function(g){var m=this;this._isEditing()||this._getCutData().then(function(E){m._serviceWrite(E)})}},{key:"_handleCopyEvent",value:function(g){var m=this;this._isEditing()||this._getCopyData().then(function(E){m._serviceWrite(E)})}},{key:"_handlePasteEvent",value:function(g){this._isEditing()||this._serviceRead(g)}},{key:"_getCutData",value:function(){return this._onCutCallback()}},{key:"_getCopyData",value:function(){return this._onCopyCallback()}},{key:"_onSuccess",value:function(g){var m=this._onSuccessCallback;m&&m(g)}},{key:"_onFailure",value:function(g){var m=this._onFailureCallback;m&&m(g)}},{key:"_getServiceConfig",value:function(){var g={};return this._isLocalServer&&(g={isLocalServer:this._isLocalServer}),g}},{key:"_serviceRead",value:function(g){var m=this;if(this._onPasteCallback){var E=s.getInstance(this._getServiceConfig()),w=g&&g.event&&g.event.nativeEvent;E.read({event:w}).then(function(I){var M=I.dataTransfer,R=I.status,T=I.message;m._onPasteCallback(M),m._onSuccess({status:R,message:T})}).catch(function(I){return m._onFailure(I)})}}},{key:"_serviceWrite",value:function(g){var m=this;if(o.isDataTransferValid(g)){var E=s.getInstance(this._getServiceConfig());E.write({dataTransfer:g}).then(this._onSuccess).catch(function(w){return m._onFailure(w)})}}},{key:"_isEditing",value:function(){if(this._viewModel){var g=this._viewModel.getStateByKey(t.protected.EDIT_STATE);if(g)return!0;var m=this._viewModel.getStateByKey(t.protected.EDIT_PROCESSING);return m&&m.value?m.value:!1}return!1}},{key:"_getSelectionRangeList",value:function(){if(this._viewModel){var g=this._viewModel.getStateByKey(t.protected.SELECTED);if(g)return g.rangeList}return null}}]),v}(n);return c},_,P),_.exports=S},74270:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(79301),l(38738),l(92582),l(11487),l(9070),l(51138),l(16885),l(29),l(43369)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o,u,c){var h=function(f){d(g,f);function g(m){A(this,g);var E=p(this,(g.__proto__||Object.getPrototypeOf(g)).call(this)),w=m.options.dragAndDropConfig;return E._viewModel=m.viewModel,E._dataStore=m.dataStore,E._logicalViewPort=m.viewPortList[0],E.dragAndDropConfig=w,E._handleColumnDrop=E._handleColumnDrop.bind(E),E._removeDragInProgress=E._removeDragInProgress.bind(E),E._handleRowDrop=E._handleRowDrop.bind(E),E._handleDragInProgress=E._handleDragInProgress.bind(E),E._viewModel.setState(e.dragAndDrop,!0),w&&E._setDnDMod(w,m.options),E._widget=E._viewModel.getStateByKey(e.protected.WIDGET_TYPE).value,E._widgetRowDnd=E._widget==="TreeTable"?c:u,E._widgetRowDnd.setConfig(m),E}return C(g,[{key:"eventList",value:function(){var E={};return E[o.internal.COLUMN_REORDERED]=this._handleColumnDrop,E[o.internal.ROW_DROPPED]=this._handleRowDrop,E[o.internal.DRAG_STARTED]=this._handleDragInProgress,E[o.internal.DRAG_END]=this._removeDragInProgress,E}},{key:"_setDnDMod",value:function(E,w){var I=E.setDragDataBySelection,M=E.mode,R=E.setAvatar,T=E.canDrag,N=E.canDrop,F=E.onDrop;this._viewModel.setState(e.setDragData,I||!1),this._viewModel.setState(e.setAvatar,R||!1),I&&this._viewModel.setState(e.dragRows,!0),T&&this._viewModel.setState(e.protected.CAN_DRAG,T),N&&this._viewModel.setState(e.protected.CAN_DROP,N);var y=v(M);F&&this._setDropFromExternal(F,N,y),y.columns&&this._setColumnReorder(w.initializedControllers),y.reorderRows&&this._viewModel.setState(e.protected.REORDER_ROWS,!0),!y.reorderRows&&y.reparentRows&&this._viewModel.setState(e.protected.REPARENT_ROWS,!0)}},{key:"_setDropFromExternal",value:function(E,w,I){if(!(!E||typeof E!="function")){typeof w!="function"&&(w=function(){return!0});var M=r.wrapFunctionWithViewModel(E,this._viewModel),R=r.wrapFunctionWithViewModel(w,this._viewModel);this._viewModel.setState(e.receiveDrop,{onDrop:M,canDrop:R,dropType:I})}}},{key:"_setColumnReorder",value:function(E){var w=this;this._viewModel.setState(e.dragColumns,!0),this.columnController||E.map(function(I){I.map(function(M){M instanceof a&&(w.columnController=M)})},this)}},{key:"_handleColumnDrop",value:function(E){var w=this,I=E.event,M=I.colIndex,R=I.targetIndex,T=I.headerMeta,N=this._getNextState(M,R,T),F=this._getColumnDropObjectForEmit(E.event);this._emitDropEvent(o.exposed.DROP_IN_PROGRESS,F),s.convertSyncFunctionToPromise(function(){return w.columnController.columnReorder(E.event)}).then(function(){return w._processAfterReorder(N,F)},function(){return w._emitDropEvent(o.exposed.DROP_FAILED,F)}).finally(this._removeDragInProgress)}},{key:"_getColumnDropObjectForEmit",value:function(E){var w=E.columnId,I=E.targetIndex,M={source:{type:"column",ids:[w]},target:{type:"column",index:I}};return M}},{key:"_emitDropEvent",value:function(E,w){this.emit(E,w)}},{key:"_processAfterReorder",value:function(E,w){E&&this._updateSelection(E),this._emitDropEvent(o.exposed.DROP_COMPLETED,w)}},{key:"_handleRowDrop",value:function(E){this._widgetRowDnd.dropInProgress=!0,this._widgetRowDnd.putData(E.event).then(this._handleSuccessResult.bind(this)).finally(this._removeDragInProgress)}},{key:"_handleDragInProgress",value:function(E){var w=E?E.event:null;this._viewModel.setState(e.dragInProgress,w)}},{key:"_removeDragInProgress",value:function(){this._viewModel.deleteState(e.dragInProgress)}},{key:"_getNextState",value:function(E,w,I){var M=this._viewModel.getStateByKey(e.protected.SELECTED);if(M){var R=M.value,T=M.rangeList;if(!(R!==e.SELECT_CELLS||!T||T.length<=0)){var N=t.getFirstIndexAfterReorder(E,w,I),F=t.getColRangeIndicesForView(N,I),y=F.endIndex,x=this._logicalViewPort.getFirstVisibleRow(),O=i.range().setRows(x,x).setColumns(N,N),L=i.range().setEntireColumns(N,y);return{activeCell:O,activeRange:L}}}}},{key:"_updateSelection",value:function(E){var w=E.activeCell,I=E.activeRange;this._viewModel.setState(e.protected.FOCUSED,null,[w]),this._viewModel.setState(e.protected.ACTIVE_CELL,null,[w]),this._viewModel.setState(e.protected.SELECTED,e.SELECT_CELLS,[I]),this._viewModel.setState(e.ACTIVE_RANGE,I)}},{key:"_handleSuccessResult",value:function(E){var w=this,I=E.dropSuccessInfo,M=E.dropFailInfo;M.forEach(function(R){w.emit(o.exposed.DROP_FAILED,R)}),I&&this.emit(o.exposed.DROP_COMPLETED,I),this._widgetRowDnd.dropInProgress=!1}}]),g}(n);return h;function v(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return f.reduce(function(g,m){return g[m]=!0,g},{})}},_,P),_.exports=S},45100:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(80460),l(9070),l(11487),l(93361),l(79301),l(16885)],S=l.dj.d(b,function(p,d,n,e,t,r){"use strict";var i=function(){function s(a){A(this,s);var o=new p;this.dataStore=a.dataStore,this.on=o.on.bind(o),this.viewModel=a.viewModel,this._emit=o.emit.bind(o),this._tableView=a.tableView,this._focusById=this._shouldFocusBeIdDriven(a),this._logicalViewPort=a.viewPortList[0],this._events={},this._resizeSelection=!1,this._rowCellRects=function(){return{}},this._headerRects=function(){return{}}}return C(s,[{key:"_shouldFocusBeIdDriven",value:function(o){return!!(o.options&&o.options.selectionConfig&&o.options.selectionConfig.selectionById)}},{key:"isFocusManagedById",value:function(){return!!this._focusById}},{key:"getFocusedCellRange",value:function(o,u){var c={};return this.dataStore.getIndex({id:o}).then(function(h){return h&&h.index&&h.index>-1?(c=n.range().setRows(h.index,h.index).setColumns(u,u),c):!1})}},{key:"eventList",value:function(){var o=this,u={};return u[r.protected.TABLE_CELL_CLICK]=function(c){return o._emit(r.protected.CELL_FOCUS_CLICK,c.event)},u[r.protected.TABLE_CELL_FOCUS]=function(c){return o._emit(r.protected.CELL_FOCUS_CLICK,c.event)},u[r.internal.TABLE_KEY_PRESS]=function(c){return o._processAndEmitKeyPress(c)},u[r.protected.ROW_SELECTION_CLICK]=function(c){return o._rowHeaderWithFocus(c)},u[r.protected.CELL_DOM_FOCUS_CACHE]=this._cacheFocusToOuterWrapper.bind(this),u[r.protected.RESIZE_SELECTION_BEGIN]=function(c){return o._handleResizeBegin(c)},u[r.protected.RESIZE_SELECTION_END]=function(c){return o._handleResizeEnd(c)},u[r.protected.ROW_CELL_RECTS]=function(c){return o._setRowCellRects(c)},u}},{key:"_setRowCellRects",value:function(o){this._rowCellRects=o.event.children}},{key:"_handleResizeBegin",value:function(o){this._resizeSelection=!0}},{key:"_handleResizeEnd",value:function(o){this._resizeSelection=!1}},{key:"_rowHeaderWithFocus",value:function(o){var u=o.event.row,c=this.getFocusState(),h=void 0;if(c)h=c.rangeList[0].columns.start;else{var v=this._rowCellRectsHeaderFallback({row:u});h=e.getFirstVisibleColumn(this._logicalViewPort,this.viewModel,v)}var f=n.range().setRows(u,u).setColumns(h,h);this._setFocus(f)}},{key:"_rowCellRectsHeaderFallback",value:function(o){var u=this._rowCellRects(o);return Object.keys(u).length===0&&o.row!==void 0&&o.col===void 0?this._headerRects():u}},{key:"_processAndEmitKeyPress",value:function(o){var u=o.event,c={keyCode:u.keyCode},h=e.getActiveCell(this.viewModel),v=h.rangeList[0],f=h.value;c.modifiers=u,c.dataSize={},c.viewPort={},c.dataSize=o.dataSize,c.viewPort=o.viewPort.rangeList[0],c.range=v&&v.rows?v:null,c.row=f,this._emit(r.protected.CELL_FOCUS_KEY,c)}},{key:"_removeFocus",value:function(){this.viewModel.deleteState(t.protected.FOCUSED),this.viewModel.deleteState(t.protected.ACTIVE_CELL)}},{key:"_setFocus",value:function(o,u){if(!this._resizeSelection){var c=d.curry(e.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end),h=n.range().setRows(o.rows.start,o.rows.start).setColumns(o.columns.start,o.columns.start),v=c(h),f=null,g=null;u&&(f={id:u},g=u),this.viewModel.setState(t.protected.FOCUSED,g,[v]),this.viewModel.setState(t.protected.ACTIVE_CELL,f,[v])}}},{key:"_setAsyncFocus",value:function(o){var u=this;d.convertSyncFunctionToPromise().then(function(){return u._setFocus(o)})}},{key:"_isFocusRangeValid",value:function(){return!!(this.getFocusState()&&this.getFocusState().rangeList.length&&this.getFocusState().rangeList[0]!==null)}},{key:"_cacheFocusToOuterWrapper",value:function(){return this._tableView.focus()}},{key:"getRowIdForIndex",value:function(o){var u=[n.range().setRows(o,o)];return this.dataStore.getRowIds(u).then(function(c){return c[0]})}},{key:"setFocusState",value:function(o){var u=this;if(this._focusById&&!o)return this._removeFocus();var c=o.range,h=o.row&&o.row.id?o.row.id:void 0;if(!c)throw this._removeFocus(),new Error("The usage of range argument "+c+" is not correct in setCellFocus API. Please check JSDoc to see the correct usage.");if(this.viewModel.deleteState(t.protected.PENDING_FOCUS_FUNC),Array.isArray(c)&&!this._focusById){if(c.length===0)return this._removeFocus();var v=e.isRangeVisible(c[0],this.viewModel.viewBuffer.rangeList[0]);return v?this._setFocus(c[0],h):this.viewModel.setState(t.protected.PENDING_FOCUS_FUNC,this._setAsyncFocus.bind(this),c)}else if(h===void 0&&this._focusById)this._lastRequestedAsyncFocusState=o,this.getRowIdForIndex(c[0].rows.start).then(function(f){if(u._lastRequestedAsyncFocusState===o){o.row={id:f};var g=e.isRangeVisible(c[0],u.viewModel.viewBuffer.rangeList[0]);return g?u._setFocus(c[0],h):u.viewModel.setState(t.protected.PENDING_FOCUS_FUNC,u._setAsyncFocus.bind(u),c)}});else if(this._focusById)return this._setFocus(c[0],h)}},{key:"getFocusState",value:function(){var o=this.viewModel.getStateByKey(t.protected.FOCUSED);return o||void 0}}]),s}();return i},_,P),_.exports=S},45394:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(16885),l(79301),l(9070)],S=l.dj.d(b,function(n,e,t,r){var i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u._viewModel=o.viewModel,u._handleHeaderMenu=u._handleHeaderMenu.bind(u),u._viewModel.setState(t.protected.HEADER_MENU_AFFORDANCE,!0),u}return C(a,[{key:"eventList",value:function(){var u={};return u[e.protected.HEADER_CLICKED]=this._handleHeaderMenu,u}},{key:"_handleHeaderMenu",value:function(u){var c={top:u.event.bottomRect,left:u.event.leftRect,columnIndex:u.event.columnIndex};this.emit(e.protected.HEADER_CLICKED,c)}}]),a}(n);return i},_,P),_.exports=S},68238:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(80460),l(79301),l(16885)],S=l.dj.d(b,function(e,t,r){"use strict";var i=function(s){n(a,s);function a(o){p(this,a);var u=d(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u.viewModel=o.viewModel,u._handleResizeDone=u._handleResizeDone.bind(u),u.viewModel.setState(t.colResize,!0),u}return C(a,[{key:"setConfig",value:function(u){if(u){var c=u&&u[t.protected.FIT_LAST_COLUMN]===!0,h=u&&u[t.protected.COLLAPSE_COLUMN]===!0;if(c||h){var v=A({},t.protected.FIT_LAST_COLUMN,c);h&&(v[t.protected.COLLAPSE_COLUMN]=h),this.viewModel.setState(t.colResize,v)}}}},{key:"eventList",value:function(){var u=this,c={};return c[r.protected.COL_RESIZE]=function(h){return u.emit(r.protected.COL_RESIZE,h.event)},c[r.internal.COL_RESIZE_DONE]=function(h){return u._handleResizeDone(h)},c}},{key:"_updatePagedHeader",value:function(u,c){var h=this.viewModel.getColumnHeaders(),v={value:c,unit:"px"};h.length===0?this.viewModel.setColumnMetaData("width",v,u):h[u].width=v}},{key:"setColumnResize",value:function(u){var c=u.width,h=u.column;this.viewModel.setState(t.COLUMN_RESIZED,!0),typeof h=="number"&&this._updatePagedHeader(h,c)}},{key:"_handleResizeDone",value:function(u){var c={sizes:u.event};this.emit(r.internal.COL_RESIZE_DONE,c)}}]),a}(e);return i},_,P),_.exports=S},486:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79301)],S=l.dj.d(b,function(p){var d=function(){function n(e){A(this,n),this._viewModel=e.viewModel,this._viewModel.setState(p.displayRowHeader,!0),this._viewModel.setState(p.rowHeaderWidth,0),this._viewModel.setState(p.DISPLAY_ROW_HEADER_INDICES,!0)}return C(n,[{key:"setConfig",value:function(t){t&&t&&t[p.DISPLAY_ROW_HEADER_INDICES]===!1&&this._viewModel.setState(p.DISPLAY_ROW_HEADER_INDICES,!1)}},{key:"eventList",value:function(){var t={};return t}}]),n}();return d},_,P),_.exports=S},62534:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(16885),l(15555)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),o=new n;return a._emit=o.emit.bind(o),a.on=o.on.bind(o),a._handleScrollChanged=a._handleScrollChanged.bind(a),a._viewModel=s.viewModel,a._logicalViewPort=s.viewPortList[0],a}return C(i,[{key:"eventList",value:function(){var a={};return a[e.internal.TABLE_SCROLL]=this._handleScrollChanged,a}},{key:"_handleScrollChanged",value:function(){var a=this.getScrollComponentDimensions(),o=this._viewModel.getStateByKey("scrollPositionChanged").value,u=this._viewModel.getStateByKey("ScrollChangeOnKeyPress").value;u===!0?(this._viewModel.setState("ScrollChangeOnKeyPress",!1),this._emit(e.internal.SCROLL_CHANGED,a)):o===!1&&this._emit(e.internal.SCROLL_CHANGED,a)}},{key:"scrollToPosition",value:function(a){var o=this.getScrollComponentDimensions(),u=o.scrollHeight,c=o.clientHeight,h=o.scrollWidth,v=o.clientWidth,f=u-c,g=h-v;if(!isNaN(a.scrollTop)){var m=Math.max(0,Math.min(a.scrollTop,f));this._logicalViewPort.setScrollTopPx(m)}if(!isNaN(a.scrollLeft)){var E=Math.max(0,Math.min(a.scrollLeft,g));this._logicalViewPort.setScrollLeftPx(E)}}},{key:"getScrollComponentDimensions",value:function(){return this._logicalViewPort.getScrollComponentDimensions()}}]),i}(n);return t},_,P),_.exports=S},62683:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79301)],S=l.dj.d(b,function(p){var d=function(){function n(e){A(this,n),this._viewModel=e.viewModel,this._viewModel.setState(p.displaySearch,!0)}return C(n,[{key:"eventList",value:function(){var t={};return t}}]),n}();return d},_,P),_.exports=S},74731:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(11487),l(80460),l(16885),l(79301)],S=l.dj.d(b,function(n,e,t,r){var i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u._viewModel=o.viewModel,u._viewModel.setState(r.protected.SORTABLE,!0),u._viewModel.setState(r.protected.CLEAR_SORT,!1),u._updateColumnSortState=u._updateColumnSortState.bind(u),u._viewModel.on(t.internal.DATA_SORTED,u._updateColumnSortState.bind(u)),u}return C(a,[{key:"setConfig",value:function(u){var c=u&&u[r.protected.CLEAR_SORT]===!0;c&&this._viewModel.setState(r.protected.CLEAR_SORT,!0)}},{key:"eventList",value:function(){var u=this,c={};return c[t.protected.SORT_AFFORDANCE_CLICKED]=function(h){return u.emit(t.protected.TABLE_COLUMN_SORT,h.event)},c[t.internal.COLUMN_REORDERED]=function(){return u._removeColumnSortState()},c}},{key:"sortColumn",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=u.columnIndex,h=u.order;h===void 0||isNaN(c)||c<0||(h===""?this._viewModel.sort([u]):(this.setSortIndicator(u),this._viewModel.sort([u])))}},{key:"_removeColumnSortState",value:function(){var u=this._viewModel.getStateByKey(r.protected.SORTED);if(u&&u.rangeList){var c=u.rangeList[0].columns.start;this._viewModel.deleteColumnMetaData(r.protected.SORTED,c)}}},{key:"_addColumnSortState",value:function(u,c){var h={order:c},v=n.range().setEntireColumns(u);this._viewModel.setColumnMetaData(r.protected.SORTED,h,u),this._viewModel.setState(r.protected.SORTED,c,[v])}},{key:"setSortIndicator",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=u.columnIndex,h=u.order;c=Number(c),Object.keys(u).length===0?(this._removeColumnSortState(),this._viewModel.deleteState(r.protected.SORTED)):!isNaN(c)&&c>=0&&h&&(this._removeColumnSortState(),this._addColumnSortState(c,h))}},{key:"_updateColumnSortState",value:function(u){if(this._removeColumnSortState(),u.sorted.length!==0){var c=u.sorted[0],h=c.columnIndex,v=c.order;h>=0&&this._addColumnSortState(h,v)}}}]),a}(e);return i},_,P),_.exports=S},29:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d),this._dataStore=null,this._viewModel=null,this.dropInProgress=!1}return C(d,[{key:"setConfig",value:function(e){this._dataStore=e.dataStore,this._viewModel=e.viewModel}}]),d}();return new p},_,P),_.exports=S},43369:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(84960),l(79301),l(43322),l(82020)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=function(){function r(){A(this,r),this._dataStore=null,this._viewModel=null,this._defaultType=n.TREETABLE_DEFAULT_TYPE,this.dropInProgress=!1}return C(r,[{key:"setConfig",value:function(s){this._dataStore=s.dataStore,this._viewModel=s.viewModel}},{key:"expandNode",value:function(s){this._dataStore.expand([{id:s.id}])}},{key:"getTreeColumnWidth",value:function(){var s=this._viewModel.getStateByKey(d.protected.TREE_COLUMN_INFO).value;return s.maxWidth||0}},{key:"hasHorizontalScroll",value:function(){var s=this._viewModel.getStateByKey(d.VIEWPORT_CONTAINER).value,a=s.scrollWidth>s.clientWidth;return a}},{key:"getRowMetaDataFn",value:function(){return this._viewModel.getStateByKey(d.protected.ROW_METADATA).value}},{key:"getCurrentRowMetaData",value:function(s){var a={};if(s===null)return a.path=[],a;var o=this.getRowMetaDataFn();return o[0](s)._dataMetaData.metaData}},{key:"getNodeValue",value:function(s){var a=this.getRowMetaDataFn();return a[0](s).value}},{key:"getNodeInfo",value:function(s,a){if(s&&a===p.TREETABLE_ROW){var o=parseInt(s.getAttribute("data-row"));return this.getNodeValue(o)}return{id:null}}},{key:"isInternalDrag",value:function(){var s=this._viewModel.getStateByKey(d.dragInProgress).value,a=s?s.dragItem:null;return!!(a&&a.getDataByType(this._defaultType))}},{key:"getDropTarget",value:function(s){var a=void 0,o=void 0;return s&&s.length>1?(a=s[s.length-2],o={proxyNode:{id:a},type:p.TREETABLE_ROW}):o={proxyNode:{id:null},type:p.TREETABLE},o}},{key:"getOptions",value:function(s,a){var o={};return s===n.REORDER.INSERT_BELOW?o.place="after":s===n.REORDER.INSERT_ABOVE?o.place="before":o.place=a.type==="TREETABLE"?"last":"first",o.node={id:a.proxyNode.id},o}},{key:"handleDataMove",value:function(s,a,o,u){var c=this.getOptions(o,a),h=a;return u&&(h=this.getDropTarget(u)),this.moveData(s,h,c)}},{key:"putData",value:function(s){var a=s.proxyNodes,o=s.currentNodeInfo,u=o.path,c=o.nextSibling,h=o.target,v=o.insertionPosition;switch(v){case n.REORDER.INSERT_AS_CHILD:return this.handleDataMove(a,h,v);case n.REORDER.INSERT_ABOVE:return this.handleDataMove(a,h,v,u);case n.REORDER.INSERT_BELOW:if(e.isNextSiblingItsChild(o)){var f=c.rowNode,g=this.getNodeInfo(f.firstElementChild,h.type),m=this.getCurrentRowMetaData(f.firstElementChild.getAttribute("data-row")).path||[];return h={proxyNode:{id:g.id},type:h.type},this.handleDataMove(a,h,n.REORDER.INSERT_ABOVE,m)}return this.handleDataMove(a,h,v,u)}}},{key:"_isNodeInDragList",value:function(s,a){var o=s.some(function(u){return u===a.id});return o}},{key:"_addReferenceRowInfo",value:function(s,a){var o=["before","after"];return a&&o.includes(a.place)&&(s.referenceRow=a.node,s.insertionPosition=a.place),s}},{key:"_finishDataUpdate",value:function(s){var a=s.resolve,o=s.movedNodeIds,u=s.failedReasons,c=s.target,h=s.referenceRow,v=[],f={type:c.type};c.proxyNode.id!==null&&(f.proxyNode=c.proxyNode),c=this._addReferenceRowInfo(f,h),u.forEach(function(m){var E=e.createProxyNodesWithIds(m.ids);v.push({source:{proxyNodes:E,type:p.TREETABLE_ROW},target:c,error:m.error})});var g=void 0;o.length!==0&&(g={source:{proxyNodes:e.createProxyNodesWithIds(o),type:p.TREETABLE_ROW},target:c}),a({dropSuccessInfo:g,dropFailInfo:v})}},{key:"_saveNodeInfo",value:function(s,a){var o=s.movedNodeIds,u=s.failedReasons,c=s.nodeId,h=s.isSuccess;if(h)o.push(c);else{var v=u.find(function(f){return f.error.reason===a.reason});v||(v={ids:[],error:{reason:a.reason,message:a.message}},u.push(v)),v.ids.push(c)}}},{key:"moveData",value:function(s,a,o){var u=this,c=[],h=[],v=[],f=[],g=e.getIdsFromProxyNodes(s);return new Promise(function(m,E){g.forEach(function(w){var I=u._dataStore.getParentNode({id:w}).then(function(M){var R=M?M.node:{id:null},T=R!==null&&u._isNodeInDragList(g,R);if(!T){var N=u._dataStore.move({id:w},{id:a.proxyNode.id},o).then(u._saveNodeInfo.bind(u,{nodeId:w,isSuccess:!0,movedNodeIds:v,failedReasons:f}),u._saveNodeInfo.bind(u,{nodeId:w,isSuccess:!1,movedNodeIds:v,failedReasons:f}));h.push(N)}});c.push(I)}),Promise.all(c).then(function(){Promise.all(h).then(function(){u._finishDataUpdate({resolve:m,movedNodeIds:v,failedReasons:f,target:a,referenceRow:o})})})})}}]),r}();return new t},_,P),_.exports=S},8885:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(64466),l(16885),l(82020),l(90228),l(11487),l(2488),l(63622)],S=l.dj.d(b,function(e,t,r,i,s,a,o){var u=function(c){n(h,c);function h(v){p(this,h);var f=d(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,v));return f.viewModel.setState(i.SELECT_ROW_HEADERS,!0),f._currentContinuousSelectionIdList=null,f.selectionChangedEventWaitForCtrlA=!!(v&&v.options&&v.options.selectionConfig&&v.options.selectionConfig.selectionChangedEventWaitForCtrlA),f}return C(h,[{key:"_getActiveCell",value:function(){var f=r.getActiveCell(this.viewModel);return f.value=f.value&&f.value.id,f}},{key:"eventList",value:function(){var f=this,g=A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"eventList",this).call(this);return g[t.protected.FORCE_LAYOUT]=function(){return f._emit(t.internal.EMIT_SELECTION_EVENT)},g}},{key:"_setFocusActiveCell",value:function(f,g){var m=this.viewModel.getStateByKey(i.protected.ROW_METADATA),E=g.rows.start,w=m.value[0](E).value;this.viewModel.setState(i.protected.ACTIVE_CELL,w.id,[f]),this.viewModel.setState(i.protected.FOCUSED,w.id,[g])}},{key:"_updateSelectionFromDataStore",value:function(f){this.setSelectionState(f.selectedIds)}},{key:"getSelectionState",value:function(){var f=A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"getSelectionState",this).call(this);return f&&f.value?f.value:[]}},{key:"_getCellSelectionKeyEventInfo",value:function(f,g){var m=g.event;return m.modifiers=g.event,m.dataSize=g.dataSize,m.viewPort=g.viewPort.rangeList[0],m.rowId={id:f.value},f.rangeList&&f.rangeList.length>0&&(m.row=f.rangeList[0].rows.start),m}},{key:"_emitSelectedActionEvent",value:function(){this._emit(t.protected.TABLE_SELECTED_ACTION,{selection:this.getSelectionState()})}},{key:"_handleDoubleClick",value:function(){this._emit(t.protected.TABLE_SELECTED_ACTION,{selection:this.getSelectionState()})}},{key:"_getSelectedItemsList",value:function(){var f=this.viewModel.getStateByKey(i.protected.SELECTED);return f?f.value:[]}},{key:"getRowIdForIndex",value:function(f){if(isNaN(f)||f<0)return Promise.resolve(void 0);var g=[s.range().setRows(f,f)];return this.dataStore.getRowIds(g).then(function(m){return m[0]})}},{key:"setIndividualRow",value:function(f){this._currentContinuousSelectionIdList=null;var g=f?[f]:null;this._setPivot(f),this._doesDataStoreSupportSelection?Array.isArray(g)?this.dataStore.setSelectionByIds(g):this.dataStore.setSelectionByIds([]):this.setSelectionState(g)}},{key:"_setPivot",value:function(f){f&&(this.viewModel.setState(i.protected.PIVOT,f),this.viewModel.deleteState(i.treetable.POTENTIAL_PIVOT))}},{key:"isRowSelected",value:function(f){return this.getSelectedIdIndex(f)}},{key:"getSelectedIdIndex",value:function(f){return this._getSelectedIdList().indexOf(f)}},{key:"_getSelectedIdList",value:function(){var f=this.viewModel.getStateByKey(i.protected.SELECTED);return f?f.value:[]}},{key:"_setFocusedActiveCellStates",value:function(f){var g=this,m=a.getRangeFromId(this.dataStore,f.id,f.column);m.then(function(E){if(E)g._setPivot(f.id),a.setFocusedActiveCellStates(g.viewModel,g._hasCellFocus,{range:E,id:f.id,column:f.column});else throw new Error("The updateFocusTo cell specified is not in the view.")})}},{key:"setSelectionState",value:function(f){Array.isArray(f)?(f.length===0?this.viewModel.setState(i.treetable.SELECTION_CLEARED,!0):this.viewModel.setState(i.treetable.SELECTION_CLEARED,!1),this.viewModel.setState(i.protected.SELECTED,f)):(this.viewModel.setState(i.protected.SELECTED,[]),this.viewModel.deleteState(i.treetable.SELECTION_CLEARED))}},{key:"setSelection",value:function(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=g.updateFocusTo;a.isUpdateFocusToIdValid(m,f)&&this._setFocusedActiveCellStates(m),this._doesDataStoreSupportSelection?this.dataStore.setSelectionByIds(f):this.setSelectionState(f)}},{key:"setAllRows",value:function(){if(this.selectionChangedEventWaitForCtrlA===!0)return this._setRangeSelection(0,1/0);this._setRangeSelection(0,1/0)}},{key:"setContiguousRows",value:function(f){var g=this;return this._getPivotInView().then(function(m){if(m){g._setPivot(m.id);var E=Math.min(m.index,f.rows.start),w=Math.max(m.index,f.rows.start);return g._setRangeSelection(E,w)}else return g._getPivotId(g.viewModel.dataSize.rows.start).then(function(I){g._setPivot(I),g._setRangeSelection(g.viewModel.dataSize.rows.start,g.viewModel.dataSize.rows.start)})})}},{key:"setDragSelection",value:function(f){var g=this;return this._getPivotInView().then(function(m){if(m){g._setPivot(m.id);var E=Math.min(m.index,f.rows.start),w=Math.max(m.index,f.rows.start),I=[],M=g._getSelectedIdList(),R=g._getRangeListforRowIndices(E,w);g.dataStore.getRowIds(R).then(function(T){if(!a.isIdListIdentical(T,M)){var N=a.findIntersection(M,T);I=a.removeIntersection(M,N),g._currentContinuousSelectionIdList&&(N=a.findIntersection(I,g._currentContinuousSelectionIdList),I=a.removeIntersection(I,N)),g._currentContinuousSelectionIdList=T,I=I.concat(T),g.setSelection(I)}})}else return g._getPivotId(g.viewModel.dataSize.rows.start).then(function(T){g._setPivot(T),g._setRangeSelection(g.viewModel.dataSize.rows.start,g.viewModel.dataSize.rows.start)})})}},{key:"setDiscontiguousRowByRange",value:function(f){var g=this;return this.dataStore.getRowIds([f]).then(function(m){if(m.length>0){var E=[m[0]];g.setDiscontiguousRow(E)}})}},{key:"setDiscontiguousRow",value:function(f){this._setPivot(f),this._currentContinuousSelectionIdList=null;var g=this._getSelectedIdList(),m=this.isRowSelected(f);m>-1?(g.splice(m,1),this._doesDataStoreSupportSelection&&this.dataStore.removeSelectionById([f])):g.push(f),this._doesDataStoreSupportSelection?this.dataStore.setSelectionByIds(g,!0):this.setSelectionState(g)}},{key:"_getRangeListforRowIndices",value:function(f,g){var m=Math.max(f,this.viewModel.dataSize.rows.start),E=Math.min(g,this.viewModel.dataSize.rows.end);return[s.range().setRows(m,E)]}},{key:"_setRangeSelection",value:function(f,g){if(this._doesDataStoreSupportSelection)this.dataStore.setSelection(this._getRangeListforRowIndices(f,g));else{var m=this.viewModel.viewBuffer.rangeList[0].rows,E=m.start,w=m.end,I=f>=E&&g<=w,M=this.viewModel._rowMetaData._dataMetaData[0];return I?this._setRangeSelectionStateInViewBuffer(M,f,g):(this._setRangeSelectionStateWithInViewBuffer(M,f,g,E,w),this._setRangeSelectionStateForWholeView(f,g))}}},{key:"_setRangeSelectionStateWithInViewBuffer",value:function(f,g,m,E,w){var I=g>=E?g:E,M=m<=w?m:w,R=this._getSelectionIdsInViewBuffer(f,I,M);this.setSelectionState(R)}},{key:"_setRangeSelectionStateInViewBuffer",value:function(f,g,m){var E=this._getSelectionIdsInViewBuffer(f,g,m);this.setSelectionState(E)}},{key:"_getSelectionIdsInViewBuffer",value:function(f,g,m){for(var E=[],w=g;w<=m;w++)E.push(f(w).value.id);return E}},{key:"_setRangeSelectionStateForWholeView",value:function(f,g){var m=this,E=this._getRangeListforRowIndices(f,g);return this.dataStore.getRowIds(E).then(function(w){m.setSelectionState(w)})}},{key:"_getPotentialPivot",value:function(){var f=this;return new Promise(function(g){var m=f.viewModel.getStateByKey(i.treetable.POTENTIAL_PIVOT),E=void 0,w=void 0;m?(E=m.rangeList[0].rows.start,w=m.value,g({potentialPivotRowIndex:E,potentialPivotId:w})):(E=f.viewModel.dataSize.rows.start,f._getPivotId(E).then(function(I){w=I,g({potentialPivotRowIndex:E,potentialPivotId:w})}))})}},{key:"_getPivotId",value:function(f){var g=this;return new Promise(function(m){var E=void 0,w=g.dataStore.getLocalRowMetaData(f);if(w&&w.id)E=w.id,m(E);else{var I=[s.range().setRows(f,f)];g.dataStore.getRowIds(I).then(function(M){E=M[0],m(E)})}})}}]),h}(e);return u},_,P),_.exports=S},36415:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(64466),l(16885),l(93361),l(79301),l(11487),l(9070),l(2488),l(63622)],S=l.dj.d(b,function(e,t,r,i,s,a,o,u){var c=function(h){n(v,h);function v(f){p(this,v);var g=d(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,f));return g.viewModel.setState(i.SELECT_ROW_HEADERS,!0),g._currentContinuousSelection=null,g.splitRange=o.splitRange,g}return C(v,[{key:"_setPivot",value:function(g){var m=a.curry(r.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end),E=s.range().setRows(g.rows.start,g.rows.start).setColumns(g.columns.start,g.columns.start),w=m(E);w&&this.viewModel.setState(i.protected.PIVOT,null,[w])}},{key:"_getSelectedRangeList",value:function(){var g=this.viewModel.getStateByKey(i.protected.SELECTED);return g?g.rangeList:[]}},{key:"_getCellSelectionKeyEventInfo",value:function(g,m){var E=m.event;return E.modifiers=m.event,E.dataSize=m.dataSize,E.viewPort=m.viewPort.rangeList[0],g&&Array.isArray(g.rangeList)&&g.rangeList[0].rows&&(E.row=g.rangeList[0].rows.start),E}},{key:"setContiguousRows",value:function(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E=this.viewModel.getStateByKey(i.protected.PIVOT),w=this.viewModel.getStateByKey(i.protected.FOCUSED),I=void 0;E?I=E.rangeList[0]:w?I=w.rangeList[0]:I=s.range().setRows(0,0).setColumns(0,0);var M=Math.min(I.rows.start,g.rows.start),R=Math.max(I.rows.start,g.rows.start),T=s.range().setEntireRows(M,R),N=[];if(m===!0){for(var F=this.getSelectionState(),y=!0,x=0;x<F.length;x++)if(!s.isRangeEqual(T,F[x])){y=!1;break}if(y===!0)return;N=s.removeRangeFromRangeList(F,T),this._currentContinuousSelection!==null&&(N=s.removeRangeFromRangeList(N,this._currentContinuousSelection)),N.push(T),this._currentContinuousSelection=T}else N.push(T);this.setSelectionState(N)}},{key:"_setFocusActiveCell",value:function(g,m){this.viewModel.setState(i.protected.ACTIVE_CELL,null,[g]),this.viewModel.setState(i.protected.FOCUSED,null,[m])}},{key:"_getActiveCell",value:function(){return r.getActiveCell(this.viewModel)}},{key:"eventList",value:function(){var g=this,m=A(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"eventList",this).call(this);return m[t.protected.TABLE_DBL_CLICK]=function(E){return g._handleDoubleClick(E)},m[t.protected.ROW_SELECTION_CLICK]=function(E){return g._emit(t.protected.CELL_SELECTION_CLICK,E.event)},this._isMultiRowSelection&&(m[t.protected.DATA_AREA_MOUSE_MOVE]=function(E){return g._trackMouseSelection(E)},m[t.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=function(E){return g._autoScroll(E)},m[t.protected.DOCUMENT_MOUSE_UP]=function(E){return g._endScroll(E)},m[t.protected.HEADER_RECTS]=function(E){return g._setHeaderRects(E)},m[t.protected.ROW_RECTS]=function(E){return g._setRowRects(E)},m[t.protected.ROW_CELL_RECTS]=function(E){return g._setRowCellRects(E)},m[t.protected.ALLOW_DRAG_TO_SELECT]=function(E){return g._emit(t.protected.ALLOW_DRAG_TO_SELECT,E)}),m}},{key:"_getSelectionToSet",value:function(g){return s.range().setEntireRows(g.rows.start,g.rows.start)}},{key:"setAllRows",value:function(){var g=s.range().setEntireColumns(0,1/0);this.setSelectionState([g])}},{key:"isRowSelected",value:function(g){var m=g.rows.start,E=g.rows.end,w=this._getSelectedRangeList(),I=-1,M=a.find(w,function(R){return I++,R.rows.start<=m&&R.rows.end>=E});return M?I:-1}},{key:"setDiscontiguousRow",value:function(g){this._setPivot(g),this._currentContinuousSelection=null;var m=s.range().setEntireRows(g.rows.start,g.rows.start),E=this._getSelectedRangeList().concat(),w=this.isRowSelected(m);if(w>-1){var I=o.splitRange(E[w],m);E.splice(w,1),E=E.concat(I)}else E.push(m);this.setSelectionState(E)}},{key:"_emitSelectedActionEvent",value:function(){this._emit(t.protected.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}},{key:"getSelectionState",value:function(){var g=A(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"getSelectionState",this).call(this,i.protected.SELECTED);return g?g.rangeList:null}},{key:"_handleDoubleClick",value:function(g){this._emit(t.protected.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}},{key:"_setFocusedActiveCellStates",value:function(g){var m=o.getFirstCellFromRange(g);this._setPivot(m),o.setFocusedActiveCellStates(this.viewModel,this._hasCellFocus,{range:m,id:null,column:null})}},{key:"setSelectionState",value:function(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=m.updateFocusTo;o.isUpdateFocusToRangeValid(E,g)&&this._setFocusedActiveCellStates(E),this.viewModel.setState(i.protected.SELECTED,null,this._getFittedRange(g))}},{key:"setIndividualRow",value:function(g){var m=s.range().setEntireRows(g.rows.start,g.rows.start);this._setPivot(g),this._currentContinuousSelection=null,this.setSelectionState([m])}}]),v}(e);return c},_,P),_.exports=S},64466:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(9070),l(16885),l(93361),l(80460),l(83757),l(79301),l(2488),l(63622),l(11487)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a){var o=function(){function u(c){A(this,u);var h=new e;if(this._emit=h.emit.bind(h),this.on=h.on.bind(h),this.viewModel=c.viewModel,this.dataStore=c.dataStore,this._events={},this._doesDataStoreSupportSelection=!!(c.options&&c.options.dataStoreSelection),this._doesDataStoreSupportSelection&&this.viewModel.on(d.internal.DATASTORE_SELECTION,this._updateSelectionFromDataStore.bind(this)),this._hasCellFocus=i.hasCellFocus(c),this._isMultiRowSelection=i.isMultiRowSelection(c),this._isMultiRowSelection){this._headerRects=function(){return{}},this._rowRects=function(){return{}},this._rowCellRects=function(){return{}},this._setHeaderRects=i.setHeaderRects.bind(this),this._setRowRects=i.setRowRects.bind(this),this._setRowCellRects=i.setRowCellRects.bind(this),this._logicalViewPort=c.viewPortList[0],this._previousRange=a.range(),this._sizes=new s(this.viewModel),this._trackMouseSelection=u.trackMouseSelection.bind(this),this._autoScroll=u.autoScroll.bind(this),this._endScroll=u.endScroll.bind(this),this._setFocusActiveCell=this._setFocusActiveCell.bind(this),this.viewModel.setState(r.protected.ALLOW_DRAG_TO_SELECT,!0);var v=c.options.selectionConfig;if(!v||!v.multiRowDragToSelect)this.viewModel.setState(r.protected.CAN_DRAG_TO_SELECT,null);else{var f=i.getCanDragToSelectFunc(v.multiRowDragToSelect);this.viewModel.setState(r.protected.CAN_DRAG_TO_SELECT,f)}}else this.viewModel.setState(r.protected.ALLOW_DRAG_TO_SELECT,!1)}return C(u,[{key:"_canDragCellSelection",value:function(){var h=this.viewModel.getStateByKey(r.protected.ALLOW_DRAG_TO_SELECT)&&this.viewModel.getStateByKey(r.protected.ALLOW_DRAG_TO_SELECT).value,v=this.viewModel.getStateByKey(r.dragInProgress),f=this.viewModel.getStateByKey(r.protected.EDIT_STATE);return!v&&!f&&h}},{key:"eventList",value:function(){var h=this,v={};return v[d.protected.TABLE_CELL_CLICK]=function(f){return h._emit(d.protected.CELL_SELECTION_CLICK,f.event)},v[d.internal.TABLE_KEY_PRESS]=function(f){return h._processAndEmitKeyPress(f)},v[d.protected.TABLE_DBL_CLICK]=function(f){return h._handleDoubleClick(f)},v[d.protected.ROW_SELECTION_CLICK]=function(f){return h._emit(d.protected.CELL_SELECTION_CLICK,f.event)},this._isMultiRowSelection&&(v[d.protected.DATA_AREA_MOUSE_MOVE]=function(f){return h._trackMouseSelection(f)},v[d.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=function(f){return h._autoScroll(f)},v[d.protected.DOCUMENT_MOUSE_UP]=function(f){return h._endScroll(f)},v[d.protected.HEADER_RECTS]=function(f){return h._setHeaderRects(f)},v[d.protected.ROW_RECTS]=function(f){return h._setRowRects(f)},v[d.protected.ROW_CELL_RECTS]=function(f){return h._setRowCellRects(f)},this.viewModel.setState(r.protected.ALLOW_DRAG_TO_SELECT,!0),v[d.protected.ALLOW_DRAG_TO_SELECT]=function(f){return h._emit(d.protected.ALLOW_DRAG_TO_SELECT,f)}),v}},{key:"doesDataStoreManageSelection",value:function(){return this._doesDataStoreSupportSelection}},{key:"_getActiveCell",value:function(){return n.getActiveCell(this.viewModel)}},{key:"_processAndEmitKeyPress",value:function(h){var v=this._getActiveCell();this._pivot=v;var f=this._getCellSelectionKeyEventInfo(v,h);this._emit(d.protected.CELL_SELECTION_KEY,f),h.event.keyCode===t.ENTER&&this._emitSelectedActionEvent()}},{key:"_getFittedRange",value:function(h){var v=p.curry(n.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end);return h.map(v).filter(function(f){return f!=null})}},{key:"getSelectionState",value:function(){return this.viewModel.getStateByKey(r.protected.SELECTED)}}],[{key:"trackMouseSelection",value:function(h){if(this._canDragCellSelection()){var v=n.getActiveCellRange(this.viewModel);if(v.rangeList&&Array.isArray(v.rangeList)&&(v=v.rangeList[0]),!n.isActiveCellEmpty(v)){var f=h.event.pointer,g=i.getRowIndexFromPointer(f,this._rowRects()),m=g;m<0&&(m=this._logicalViewPort.getFirstVisibleRow());var E=i.rowCellRectsHeaderFallback({row:m},this._rowCellRects({row:m}),this._headerRects()),w=i.getColumnIndexFromPointer(f,E),I=i.computeFocusActiveCellWhenDrag(g,w,v),M=I.nextRange;a.isRangeEqual(this._previousRange,M)||(this._previousRange=M,this._setFocusActiveCell(M,M),h.shiftKey=!0,h.dragEvent=!0,h.row=M.rows.start,this._emit(d.internal.RANGE_SELECTION,h))}}}},{key:"autoScroll",value:function(h){if(this._canDragCellSelection()){var v=n.getActiveCellRange(this.viewModel);if(!n.isActiveCellEmpty(v)){var f=i.rowCellRectsHeaderFallback({row:v.rows.start},this._rowCellRects({row:v.rows.start}),this._headerRects());if(Object.keys(f).length!==0){var g=i.computeScrollPosition(h,this._logicalViewPort,f,this._sizes.COL_WIDTH),m=g.leftPosition,E=g.topPosition;h.event.rowsOnly||this._logicalViewPort.setScrollLeftPx(m),h.event.colsOnly||this._logicalViewPort.setScrollTopPx(E);var w=this._logicalViewPort.getFirstVisibleRow(),I=this._logicalViewPort.getFirstVisibleColumn(),M=i.rowCellRectsHeaderFallback({row:w},this._rowCellRects({row:w}),this._headerRects()),R=i.getAutoScrollRange(h,this._logicalViewPort,this.viewModel,w,I,M,this._rowRects());a.isRangeEqual(this._previousRange,R)||(this._previousRange=R,this.viewModel.setState(r.protected.ACTIVE_CELL,null,[R]),this.viewModel.setState(r.protected.FOCUSED,null,[R]),h.shiftKey=!0,h.dragEvent=!0,h.row=R.rows.start,this._emit(d.internal.RANGE_SELECTION,h))}}}}},{key:"endScroll",value:function(h){if(this._canDragCellSelection()){var v=n.getActiveCellRange(this.viewModel);if(!n.isActiveCellEmpty(v)){var f=i.rowCellRectsHeaderFallback({row:v.rows.start},this._rowCellRects({row:v.rows.start}),this._headerRects());if(Object.keys(f).length!==0){var g=i.rowCellRectsHeaderFallback({col:v.columns.start},this._rowCellRects({col:v.columns.start}),this._headerRects());if(Object.keys(g).length!==0){var m=i.getActiveCellWhenScrollEnds(h,v,f,g);this._setFocusActiveCell(m,m),i.triggerCallbacks(h)}}}}}}]),u}();return o},_,P),_.exports=S},13568:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(11487),l(80460),l(93361),l(79301),l(16885),l(83757),l(63622),l(60801),l(1339),l(2488)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o,u,c){"use strict";var h=function(R){return R.ctrlKey||R.meta||R.metaKey},v=Object.freeze({RANGE_SELECTION:"rangeSelection",COLUMN_SELECTION:"columnSelection",ROW_SELECTION:"rowSelection",SELECT_ALL:"selectAll"}),f=15,g=function(R,T){var N=Object.getOwnPropertyNames(T);if(N.length===0)return-1;if(R.x>=T[N[N.length-1]].right)return Number(N[N.length-1]);for(var F=0;F<N.length;F+=1){var y=N[F];if(R.x>=T[y].left&&R.x<T[y].right)return Number(y)}return-1},m=function(R,T){var N=Object.getOwnPropertyNames(T);if(N.length===0)return-1;if(R.y>=T[N[N.length-1]].bottom)return Number(N[N.length-1]);for(var F=0;F<N.length;F+=1){var y=N[F];if(R.y>=T[y].top&&R.y<T[y].bottom)return Number(y)}return-1},E=function(R,T,N){for(var F=Object.getOwnPropertyNames(T),y=F.length-1;y>-1;y-=1)if(R[N]>T[F[y]][N])return Number(F[y]);return Number(F[F.length-1])},w=function(R,T,N){for(var F=Object.getOwnPropertyNames(T),y=0;y<F.length;y+=1)if(R[N]<T[F[y]][N])return Number(F[y]);return Number(F[0])},I=function(M){d(R,M);function R(T){A(this,R);var N=p(this,(R.__proto__||Object.getPrototypeOf(R)).call(this));return N._viewModel=T.viewModel,N._logicalViewPort=T.viewPortList[0],N._cellNav=new o(T.viewModel),N._resizeSelection=new u(T),N._events={},N._cellSelection=null,N._headerRects=function(){return{}},N._rowRects=function(){return{}},N._rowCellRects=function(){return{}},N._previousRange=n.range(),N._previousLeftPosition=0,N._previousTopPosition=0,N._sizes=new a(N._viewModel),N}return C(R,[{key:"eventList",value:function(){var N=this,F={};return F[i.protected.HEADER_RECTS]=function(y){return N._setHeaderRects(y)},F[i.protected.ROW_RECTS]=function(y){return N._setRowRects(y)},F[i.protected.ROW_CELL_RECTS]=function(y){return N._setRowCellRects(y)},F[i.protected.TABLE_CELL_CLICK]=function(y){return N._handleCellClick(y)},F[i.internal.TABLE_KEY_PRESS]=function(y){return N._handleKeyPress(y)},F[i.protected.COL_HEADER_CLICK]=function(y){return N._handleColumnHeaderClick(y)},F[i.protected.ROW_SELECTION_CLICK]=function(y){return N._handleRowHeaderClick(y)},F[i.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=function(y){return N._autoScroll(y)},F[i.protected.DATA_AREA_MOUSE_MOVE]=function(y){return N._trackMouseSelection(y)},F[i.protected.DOCUMENT_MOUSE_UP]=function(y){return N._endScroll(y)},F[i.protected.RESIZE_SELECTION_BEGIN]=function(y){return N._handleResizeBegin(y)},F[i.protected.RESIZE_SELECTION_END]=function(y){return N._handleResizeEnd(y)},F}},{key:"_getActiveCell",value:function(){var N=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL);return N&&N.rangeList[0]}},{key:"_canDragCellSelection",value:function(){var N=this._viewModel.getStateByKey(r.dragInProgress),F=this._viewModel.getStateByKey(r.protected.EDIT_STATE);return!N&&!F}},{key:"_rowCellRectsHeaderFallback",value:function(N){var F=this._rowCellRects(N);return Object.keys(F).length===0&&N.row!==void 0&&N.col===void 0?this._headerRects():F}},{key:"_handleCellClick",value:function(N){this._resizeSelection.inProgress()||this._emitSelectionEvent(N)}},{key:"_handleResizeBegin",value:function(N){var F=N.event,y={x:F.x,y:F.y},x=this._logicalViewPort.getFirstVisibleRow(),O=this._viewModel.getStateByKey(r.ACTIVE_RANGE),L=this._getActiveCell(),W=O.value.rows.start,j=O.value.rows.end,H=O.value.columns.start,K=O.value.columns.end;if(O&&((!L||!(L.rows.start===W&&L.columns.start===H)&&!(L.rows.start===W&&L.columns.end===K)&&!(L.rows.start===j&&L.columns.end===H)&&!(L.rows.start===j&&L.columns.end===K))&&(L=n.range().setRows(W,W).setColumns(H,H),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[L]),this._fulcrum||(this._fulcrum=n.range().setRows(j,j).setColumns(K,K))),this._fulcrum.columns.start!==this._fulcrum.columns.end)){var $=L.columns.start===H?K:H,V=L.rows.start===W?j:W;this._fulcrum=n.range().setRows(V,V).setColumns($,$)}var z={startRow:m(y,this._rowRects()),startCol:g(y,this._rowCellRectsHeaderFallback({row:x})),activeCell:this._getActiveCell(),fulcrum:this._fulcrum,location:F.location};this._resizeSelection.begin(z)}},{key:"_handleResizeEnd",value:function(N){this._resizeSelection.end();var F=this._previousRange.rows.end===-1&&this._previousRange.columns.end===-1;this.getActiveRange()&&(F||!n.isRangeInside(this.getActiveRange().value,this._previousRange))?this._previousRange=this._getActiveCell():this._viewModel.setState(r.protected.ACTIVE_CELL,null,[this._previousRange])}},{key:"_trackMouseSelection",value:function(N){if(this._canDragCellSelection()){var F=N.event,y=F.pointer,x=F.rowsOnly,O=F.colsOnly,L=m(y,this._rowRects()),W=L;W<0&&(W=this._logicalViewPort.getFirstVisibleRow());var j=g(y,this._rowCellRectsHeaderFallback({row:W})),H=this._getActiveCell();if(H){var K=H.rows.start,$=H.columns.start,V=n.range().setRows(K,K).setColumns($,$);if(j>-1&&!x&&(V=V.setColumns(j,j)),L>-1&&!O&&(V=V.setRows(L,L)),!n.isRangeEqual(this._previousRange,V)){if(this._resizeSelection.inProgress()){var z=this._getState(V);if(!z)return;this._fulcrum=z.resizeFulcrum,V=z.resizeActiveCell}this._previousRange=V,this._viewModel.setState(r.protected.ACTIVE_CELL,null,[V]),this._viewModel.setState(r.protected.FOCUSED,null,[V]),N.event.shiftKey=!0,N.event.dragEvent=!0,this._emitSelectionEvent(N)}}}}},{key:"_autoScroll",value:function(N){var F=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL);if(F=F&&F.rangeList[0],!!this._canDragCellSelection()&&F){var y=this._rowCellRectsHeaderFallback({row:F.rows.start});if(!(Object.keys(y).length<1)){var x=N.event,O=x.yDelta,L=x.xDelta,W=this._logicalViewPort.getScrollTop(),j=this._logicalViewPort.getScrollLeft(),H=this._logicalViewPort.getFirstVisibleColumn(),K=Math.floor(this._logicalViewPort.getLastVisibleColumn()),$=y[H].width/this._sizes.COL_WIDTH,V=Math.max(0,j+L/$),z=Math.max(0,W+O),X=this._setAutoScrollRange(N);if(N.event.rowsOnly||this._logicalViewPort.setScrollLeftPx(V),N.event.colsOnly||this._logicalViewPort.setScrollTopPx(z),!n.isRangeEqual(this._previousRange,X)){if(this._resizeSelection.inProgress()){var Z=this._getState(X);if(!Z)return;this._fulcrum=Z.resizeFulcrum,X=Z.resizeActiveCell}this._previousRange=X,this._viewModel.setState(r.protected.FOCUSED,null,[X]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[X]),this._fulcrum=this._fulcrum||n.range().setEntireColumns(K,K),N.event.shiftKey=!0,N.event.dragEvent=!0,this._emitSelectionEvent(N)}}}}},{key:"_getState",value:function(N){var F=this.getSelection();if(F.length===0)return null;var y={nextActiveCell:N,currentActiveCell:this._getActiveCell(),currentFulcrum:this._fulcrum};return this._resizeSelection.getState(y)}},{key:"_setAutoScrollRange",value:function(N){var F=N.event,y=F.yDelta,x=F.xDelta,O=F.pointer,L=this._getActiveCell(),W=this._logicalViewPort.getLastVisibleRow(),j=this._logicalViewPort.getFirstVisibleRow(),H=this._logicalViewPort.getLastVisibleColumn(),K=this._logicalViewPort.getFirstVisibleColumn();if(!N.event.rowsOnly)if(x>0)H=Math.min(H+f,this._viewModel.dataSize.columns.end),L=L.setColumns(H,H);else if(x<0){var $=Math.max(0,K-f);L=L.setColumns($,$)}else{var V=g(O,this._rowCellRectsHeaderFallback({row:j}));V=t.getValidStartPoint(V),L=L.setColumns(V,V)}if(!N.event.colsOnly)if(y>0)W=Math.min(W+f,this._viewModel.dataSize.rows.end),L=L.setRows(W,W);else if(y<0){var z=Math.max(0,j-f);L=L.setRows(z,z)}else{var X=m(O,this._rowRects());X=t.getValidStartPoint(X),L=L.setRows(X,X)}return L}},{key:"_endScroll",value:function(N){var F=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL);F=F&&F.rangeList[0];var y=N.event,x=y.yDelta,O=y.xDelta,L=y.containerRect;if(F){var W=this._rowCellRectsHeaderFallback({row:F.rows.start});if(!(Object.keys(W).length<1)){var j=this._rowCellRectsHeaderFallback({col:F.columns.start});if(!(Object.keys(j).length<1)){var H=this._getActiveCell();if(O>0){var K=E(L,W,"right");H=H.setColumns(K,K)}else if(O<0){var $=w(L,W,"left");H=H.setColumns($,$)}if(x>0){var V=E(L,j,"bottom");H=H.setRows(V,V)}else if(x<0){var z=w(L,j,"top");H=H.setRows(z,z)}this._viewModel.setState(r.protected.FOCUSED,null,[H]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[H]),this._triggerCallbacks(N)}}}}},{key:"_triggerCallbacks",value:function(N){var F=N.event,y=F.yDelta,x=F.xDelta,O=F.callback,L={shiftKey:!0};y>0&&(L.keyCode=s.ARROW_DOWN,O(i.internal.TABLE_KEY_PRESS,L)),y<0&&(L.keyCode=s.ARROW_UP,O(i.internal.TABLE_KEY_PRESS,L)),x>0&&(L.keyCode=s.ARROW_RIGHT,O(i.internal.TABLE_KEY_PRESS,L)),x<0&&(L.keyCode=s.ARROW_LEFT,O(i.internal.TABLE_KEY_PRESS,L))}},{key:"_setHeaderRects",value:function(N){this._headerRects=N.event.children}},{key:"_setRowRects",value:function(N){this._rowRects=N.event.children}},{key:"_setRowCellRects",value:function(N){this._rowCellRects=N.event.children}},{key:"_computeEventForPlugin",value:function(N){var F={shiftKey:N.event.shiftKey,ctrlKey:N.event.ctrlKey,metaKey:N.event.meta||N.event.metaKey,groupedSelection:N.event.groupedSelection};return F}},{key:"_handleKeyPress",value:function(N){var F=N.event;switch(F.keyCode){case s.ARROW_LEFT:case s.ARROW_RIGHT:case s.ARROW_UP:case s.ARROW_DOWN:case s.PAGE_UP:case s.PAGE_DOWN:var y=this._getActiveCell();y&&(this._previousRange=n.range().setRows(y.rows.start,y.rows.start).setColumns(y.columns.start,y.columns.start)),this._emitSelectionEvent(N);break;case s.HOME:case s.END:this._emitSelectionEvent(N);break;case s.A:h(F)&&(N.event.nativeEvent.preventDefault(),this._selectAll(N));break;case s.SPACE:if(h(F)){var x=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL)||{},O=x.rangeList||[{columns:{start:0}}],L=O[0].columns.start;this._fulcrum=n.range().setRows(1/0,1/0).setColumns(L,L),this._emitColumnSelectionEvent(N,L)}else if(F.shiftKey){var W=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL)||{},j=W.rangeList||[{rows:{start:0}}],H=j[0].rows.start;this._fulcrum=n.range().setRows(H,H).setColumns(1/0,1/0),this._emitRowSelectionEvent(N,H)}break;default:return!1}}},{key:"_selectAll",value:function(N){this._fulcrum=n.range().setRows(1/0,1/0).setColumns(1/0,1/0);var F=this._computeEventForPlugin(N);F.activeCell=this._getActiveCell(),F.fulcrum=this._fulcrum,F.keyCode=s.A,this.emit(v.SELECT_ALL,F)}},{key:"_emitSelectionEvent",value:function(N){var F=this._getActiveCell();this._fulcrum=this._fulcrum||F,(!N.event.shiftKey||h(N.event))&&(this._fulcrum=F);var y=this._computeEventForPlugin(N);this._resizeSelection.inProgress()&&!F?y.activeCell=this._fulcrum:y.activeCell=F,y.fulcrum=this._fulcrum,this._resizeSelection.inProgress()&&(y.resizeSelectionInProgress=!0),N.event.keyCode&&(y.keyCode=N.event.keyCode),N.event.dragEvent&&(y.dragEvent=N.event.dragEvent),this.emit(v.RANGE_SELECTION,y)}},{key:"_handleColumnHeaderClick",value:function(N){var F=N.event.column,y=N.event.columnEnd,x=this._logicalViewPort.getFirstVisibleRow(),O=this._cellNav.getScrollTopPosition(x,this._rowRects()),L=0,W=n.range().setRows(L,L).setColumns(F,F);this._logicalViewPort.setScrollTopPx(O),N.dataSize&&N.dataSize.rows.count>0&&(this._viewModel.setState(r.protected.FOCUSED,null,[W]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[W]),this._emitColumnSelectionEvent(N,F,y))}},{key:"_emitColumnSelectionEvent",value:function(N,F,y){var x=this._getActiveCell();if(this._fulcrum=this._fulcrum||x,!N.event.shiftKey)y||(y=F),this._fulcrum=n.range().setRows(1/0,1/0).setColumns(F,y);else{var O=this._fulcrum.columns.start;y||(y=O),this._fulcrum=n.range().setRows(1/0,1/0).setColumns(Math.min(O,F,y),Math.max(this._fulcrum.columns.end,F,y))}var L=this._computeEventForPlugin(N);L.activeCell=x,L.fulcrum=this._fulcrum||x,this.emit(v.COLUMN_SELECTION,L)}},{key:"_handleRowHeaderClick",value:function(N){var F=N.event.row,y=this._rowCellRectsHeaderFallback({row:F}),x=t.getFirstVisibleColumn(this._logicalViewPort,this._viewModel,y),O=this._cellNav.getScrollLeftPosition(x,this._rowCellRectsHeaderFallback({row:F})),L=n.range().setRows(F,F).setColumns(x,x);this._logicalViewPort.setScrollLeftPx(O),this._viewModel.setState(r.protected.FOCUSED,null,[L]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[L]),this._emitRowSelectionEvent(N,F)}},{key:"_emitRowSelectionEvent",value:function(N,F){var y=this._getActiveCell();if(this._fulcrum=this._fulcrum||y,!N.event.shiftKey)this._fulcrum=n.range().setRows(F,F).setColumns(1/0,1/0);else{var x=this._fulcrum.rows.start;this._fulcrum=n.range().setRows(x,x).setColumns(1/0,1/0)}var O=this._computeEventForPlugin(N);O.activeCell=y,O.fulcrum=this._fulcrum,this.emit(v.ROW_SELECTION,O)}},{key:"_handleDoubleClick",value:function(N){this.emit(i.internal.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}},{key:"_setFocusedActiveCellStates",value:function(N,F){var y=c.getFirstCellFromRange(N),x=c.getUpdateFocusToContainingRange(y,F);this._fulcrum=c.getFirstCellFromRange(x),c.setFocusedActiveCellStates(this._viewModel,!0,{range:y,id:null,column:null}),this._viewModel.setState(r.ACTIVE_RANGE,x)}},{key:"setSelection",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=F.activeRange,x=F.updateFocusTo;Array.isArray(N)&&(this._viewModel.setState(r.ACTIVE_RANGE,y),this._viewModel.setState(r.protected.SELECTED,this._cellSelection,N),c.isUpdateFocusToRangeValid(x,N)&&this._setFocusedActiveCellStates(x,N))}},{key:"getActiveRange",value:function(){return this._viewModel.getStateByKey(r.ACTIVE_RANGE)}},{key:"getSelection",value:function(){var N=this._viewModel.getStateByKey(r.protected.SELECTED);return N?N.rangeList:[]}},{key:"applyToCells",set:function(N){N?this._cellSelection=r.SELECT_CELLS:this._cellSelection=null}},{key:"selectHeaders",set:function(N){this._viewModel.setState(r.SELECT_HEADERS,!!N)}}],[{key:"event",get:function(){return v}}]),R}(e);return I},_,P),_.exports=S},2488:(_,P,l)=>{var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(16885),l(79301),l(83757),l(93361),l(15555),l(11487),l(7540)],S=l.dj.d(b,function(d,n,e,t,r,i,s){"use strict";var a=15,o=function(v,f,g){for(var m=Object.getOwnPropertyNames(f),E=m.length-1;E>-1;E-=1)if(v[g]>f[m[E]][g])return Number(m[E]);return Number(m[m.length-1])},u=function(v,f,g){for(var m=Object.getOwnPropertyNames(f),E=0;E<m.length;E+=1)if(v[g]<f[m[E]][g])return Number(m[E]);return Number(m[0])},c=function(){function h(){p(this,h)}return C(h,null,[{key:"getCanDragToSelectFunc",value:function(f){return function(g){var m=!1;switch(f){case s.TRUE:m=!0;break;case"false":m=!1;break;case s.WHITESPACE:var E=r.isWhiteSpace(g.target,g.clientX,g.clientY);E?m=!0:m=!1;break;default:m=!1}return m}}},{key:"isMultiRowSelection",value:function(f){var g=!1;if(!f||!f.options||!f.options.features)return g;for(var m="RangeMultiRowSelection",E="MultiRowSelectionById",w="MultiRowSelection",I=function(N){return N.name===m||N.name===w||N.name===E},M=0;M<f.options.features.length;M++){var R=f.options.features[M];if(Array.isArray(R)?g=R.some(function(T){return T.name===m||T.name===w||T.name===E}):g=I(R),g)break}return g}},{key:"hasCellFocus",value:function(f){var g=!1;if(!f||!f.options||!f.options.features)return g;var m="CellFocus",E=!0,w=!1,I=void 0;try{for(var M=f.options.features[Symbol.iterator](),R;!(E=(R=M.next()).done);E=!0){var T=R.value;if(Array.isArray(T)?g=T.some(function(N){return N.name===m}):g=T.name===m,g)break}}catch(N){w=!0,I=N}finally{try{!E&&M.return&&M.return()}finally{if(w)throw I}}return g}},{key:"getAutoScrollRange",value:function(f,g,m,E,w,I,M){var R=f.event,T=R.yDelta,N=R.xDelta,F=R.pointer,y=g.getLastVisibleRow(),x=g.getLastVisibleColumn(),O=t.getActiveCell(m).rangeList[0];if(!f.event.rowsOnly)if(N>0)x=Math.min(x+a,m.dataSize.columns.end),O=O.setColumns(x,x);else if(N<0){var L=Math.max(0,w-a);O=O.setColumns(L,L)}else{var W=h.getColumnIndexFromPointer(F,I);W=t.getValidStartPoint(W),O=O.setColumns(W,W)}if(!f.event.colsOnly)if(T>0)y=Math.min(y+a,m.dataSize.rows.end),O=O.setRows(y,y);else if(T<0){var j=Math.max(0,E-a);O=O.setRows(j,j)}else{var H=h.getRowIndexFromPointer(F,M);H=t.getValidStartPoint(H),O=O.setRows(H,H)}return O}},{key:"computeScrollPosition",value:function(f,g,m,E){var w=f.event,I=w.yDelta,M=w.xDelta,R=g.getScrollTop(),T=g.getScrollLeft(),N=g.getFirstVisibleColumn(),F=m[N].width/E,y=Math.max(0,T+M/F),x=Math.max(0,R+I);return{leftPosition:y,topPosition:x}}},{key:"splitRange",value:function(f,g){var m=void 0,E=void 0,w=[];return f.rows.start===f.rows.end?[]:f.rows.start===g.rows.start?(m=g.rows.start+1,E=f.rows.end,w.push(i.range().setEntireRows(m,E)),w):f.rows.end===g.rows.start?(E=g.rows.end-1,m=f.rows.start,w.push(i.range().setEntireRows(m,E)),w):(w.push(i.range().setEntireRows(f.rows.start,g.rows.start-1)),w.push(i.range().setEntireRows(g.rows.end+1,f.rows.end)),w)}},{key:"getRowIndexFromPointer",value:function(f,g){var m=Object.getOwnPropertyNames(g);if(m.length===0)return-1;if(f.y>=g[m[m.length-1]].bottom)return Number(m[m.length-1]);for(var E=0;E<m.length;E+=1){var w=m[E];if(f.y>=g[w].top&&f.y<g[w].bottom)return Number(w)}return-1}},{key:"getColumnIndexFromPointer",value:function(f,g){var m=Object.getOwnPropertyNames(g);if(m.length===0)return-1;if(f.x>=g[m[m.length-1]].right)return Number(m[m.length-1]);for(var E=0;E<m.length;E+=1){var w=m[E];if(f.x>=g[w].left&&f.x<g[w].right)return Number(w)}return-1}},{key:"rowCellRectsHeaderFallback",value:function(f,g,m){return Object.keys(g).length===0&&f.row!==void 0&&f.col===void 0?m:g}},{key:"getActiveCellWhenScrollEnds",value:function(f,g,m,E){var w=f.event,I=w.yDelta,M=w.xDelta,R=w.containerRect,T=g;if(M>0){var N=o(R,m,"right");T=T.setColumns(N,N)}else if(M<0){var F=u(R,m,"left");T=T.setColumns(F,F)}if(I>0){var y=o(R,E,"bottom");T=T.setRows(y,y)}else if(I<0){var x=u(R,E,"top");T=T.setRows(x,x)}return T}},{key:"triggerCallbacks",value:function(f){var g=f.event,m=g.yDelta,E=g.xDelta,w=g.callback,I={shiftKey:!0};m>0&&(I.keyCode=e.ARROW_DOWN,w(d.internal.TABLE_KEY_PRESS,I)),m<0&&(I.keyCode=e.ARROW_UP,w(d.internal.TABLE_KEY_PRESS,I)),E>0&&(I.keyCode=e.ARROW_RIGHT,w(d.internal.TABLE_KEY_PRESS,I)),E<0&&(I.keyCode=e.ARROW_LEFT,w(d.internal.TABLE_KEY_PRESS,I))}},{key:"computeFocusActiveCellWhenDrag",value:function(f,g,m){var E=m.rows.start,w=m.columns.start,I=i.range().setRows(E,E).setColumns(w,w);return g>-1&&(I=I.setColumns(g,g)),f>-1&&(I=I.setRows(f,f)),{nextRange:I}}},{key:"setHeaderRects",value:function(f){this._headerRects=f.event.children}},{key:"setRowRects",value:function(f){this._rowRects=f.event.children}},{key:"setRowCellRects",value:function(f){this._rowCellRects=f.event.children}},{key:"isIdListIdentical",value:function(f,g){if(f.length!==g.length)return!1;for(var m=new Set(f),E=0;E<g.length;E+=1)if(!m.has(g[E]))return!1;return!0}},{key:"findIntersection",value:function(f,g){if(!f||!g)return[];var m=new Set(f),E=new Set(g);return Array.from(new Set([].concat(A(m)).filter(function(w){return E.has(w)})))}},{key:"removeIntersection",value:function(f,g){return Array.isArray(f)?Array.isArray(g)?f.filter(function(m){return!g.includes(m)}):f:[]}},{key:"findAndRemoveCommonIds",value:function(f,g){var m=h.findIntersection(f,g);return h.removeIntersection(f,m)}},{key:"getFirstCellFromRange",value:function(f){var g=f.rows.start,m=f.columns.start;return i.range().setRows(g,g).setColumns(m,m)}},{key:"isUpdateFocusToRangeValid",value:function(f,g){return f&&i.isRangeInsideRangeList(f,g)}},{key:"isUpdateFocusToIdValid",value:function(f,g){return f&&g.includes(f.id)}},{key:"getRangeFromId",value:function(f,g,m){var E={},w=typeof f.getIndex=="function"?f.getIndex.bind(f):f.getNode.bind(f);return w({id:g}).then(function(I){return I&&I.index!==null&&I.index>-1?(E=i.range().setRows(I.index,I.index).setColumns(m,m),E):null})}},{key:"setFocusedActiveCellStates",value:function(f,g,m){var E=m.id?{id:m.id}:null;if(f.setState(n.protected.ACTIVE_CELL,E,[m.range]),g===!0){var w=function(){f.deleteState(n.protected.PREVENT_TRUE_FOCUS)};f.setState(n.protected.PREVENT_TRUE_FOCUS,{prevent:!0,delete:w}),f.setState(n.protected.FOCUSED,m.id,[m.range])}}},{key:"getUpdateFocusToContainingRange",value:function(f,g){return g.find(function(m){return i.isRangeInside(m,f)})}}]),h}();return c},_,P),_.exports=S},23787:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(8885),l(90228)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r);function i(){return A(this,i),p(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"_getPivotInView",value:function(){var a=this;return new Promise(function(o){var u=a.viewModel.getStateByKey(e.protected.PIVOT);u&&u.value?a.dataStore.getIndex({id:u.value}).then(function(c){var h=void 0,v=void 0;c&&Number.isInteger(c.index)?(h=c.index,v=u.value,o({id:v,index:h})):a._getPotentialPivot().then(function(f){h=f.potentialPivotRowIndex,v=f.potentialPivotId,o({id:v,index:h})})}):o(!1)})}}]),i}(n);return t},_,P),_.exports=S},35981:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(63804)],S=l.dj.d(b,function(p){var d=function(){function n(){A(this,n)}return C(n,null,[{key:"calculateRangeEnd",value:function(t,r,i){return Number(r)+Math.ceil(i/t)}},{key:"calcVisible",value:function(t,r){return Number(t)+Number(r)-1}},{key:"calculateFirstVisible",value:function(t,r){return Math.max(0,Math.floor(r/t))}},{key:"sum",value:function(t,r){return Number(t)+Number(r)}},{key:"roundedDivision",value:function(t,r){return Math.floor(r/t)}},{key:"calculateMaxFirstVisible",value:function(t,r){return Math.max(0,t-r)}},{key:"min2",value:function(t,r){return Math.min(t,r)}},{key:"max2",value:function(t,r){return Math.max(t,r)}}]),n}();return d},_,P),_.exports=S},4051:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(79301),l(25219),l(26118)],S=l.dj.d(b,function(n,e,t,r){var i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this)),c=o.viewModel,h=o.viewPortList;return u._viewPortList=h,u._viewModel=c,u}return C(a,[{key:"exposedAPI",value:function(){var u={};return Object.defineProperty(u,"minRowHeight",{get:this._getMinRowHeight.bind(this),set:this._setMinRowHeight.bind(this),enumerable:!0}),u}},{key:"eventList",value:function(){return{}}},{key:"_setMinRowHeight",value:function(u){r.setAttributes(this._viewModel,{minRowHeight:u}),t.renderUpdate(this._viewModel,this._viewPortList[0].getBufferedViewPort())}},{key:"_getMinRowHeight",value:function(){if(this._viewModel.getStateByKey(e.ROW_HEIGHT))return this._viewModel.getStateByKey(e.ROW_HEIGHT).value;throw new Error("Table does not have a minimum row height")}},{key:"emits",get:function(){return[]}}]),a}(n);return i},_,P),_.exports=S},51138:(_,P,l)=>{var b,S,C=function(){function n(e,t){var r=[],i=!0,s=!1,a=void 0;try{for(var o=e[Symbol.iterator](),u;!(i=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));i=!0);}catch(c){s=!0,a=c}finally{try{!i&&o.return&&o.return()}finally{if(s)throw a}}return r}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return n(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},p=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[l(79301),l(16885),l(9070),l(26118),l(85153),l(11487)],S=l.dj.d(b,function(n,e,t,r,i,s){"use strict";var a=function(){function o(u){d(this,o),this._viewModel=u.viewModel,this._baseColumnConfig=Object.create(this._viewModel.getColumnHeaders()),this._spanningHeaders=A(this._viewModel.getSpanningHeaders())==="object"?Object.create(this._viewModel.getSpanningHeaders()):void 0,this._orderedColumnConfig=Object.create(this._baseColumnConfig),this._computedHeaderWidths=[],this._customMapping=this._getMapping(),this.setColumnConfig(this.getColumnConfig()),this.setColumnHeaderConfig(this.getColumnHeaderConfig()),this.columnReorder=this.columnReorder.bind(this)}return p(o,[{key:"eventList",value:function(){var c=this,h={};return h[e.protected.COL_HEADER_MOUNT]=function(v){return c._storePixelWidths(v.event)},h[e.protected.COL_RESIZE]=function(v){return c._swapPercentsForPixels(v.event)},h}},{key:"exposedAPI",value:function(){return{getColumnConfig:this.getColumnConfig.bind(this),setColumnConfig:this.setColumnConfig.bind(this),getColumnHeaderConfig:this.getColumnHeaderConfig.bind(this),setColumnHeaderConfig:this.setColumnHeaderConfig.bind(this)}}},{key:"exposedTreeTableAPIs",value:function(){return{getColumnConfig:this.getColumnConfig.bind(this),setColumnConfig:this.setColumnConfig.bind(this),getColumnHeaderConfig:this.getColumnHeaderConfig.bind(this),setColumnHeaderConfig:this.setColumnHeaderConfig.bind(this)}}},{key:"columnReorder",value:function(c){var h=this.getColumnConfig(),v=c.columnId,f=c.targetIndex,g={columnId:v},m=this._viewModel.getSpanningHeaders(),E=this._indexLookupById(v,m),w=this._columnParentLookup(f,m),I=m?m[v]:void 0,M={index:f,targetParent:w},R=void 0;if(E&&E.length>0?(g.colIndexs=E,g.sourceParent=I,R=h.moveByParentColumnId(g,M)):R=h.moveColumn(g,M),!R)throw new Error("The move failed for column "+v+".");var T=this._determineNextSortColumnIndex(h);this._setColumnConfig(h,T)}},{key:"_determineNextSortColumnIndex",value:function(c){var h={},v=this._getExistingSortColumn();if(v.value&&v.column!==-1){var f=this._computeNewSortColumn(v.column,this._orderedColumnConfig.indexOf(c._moves[0].item),c._moves[0].toIndex);h.value=v.value,h.rangeList=[s.range().setRows(0,1/0).setColumns(f,f)]}return h}},{key:"_computeNewSortColumn",value:function(c,h,v){if(c===h)return v;if(h<v)return c<h||c>v?c:c-1;if(h>v)return c>h||c<v?c:c+1}},{key:"_getExistingSortColumn",value:function(){var c=this._viewModel.getStateByKey(n.protected.SORTED);return c&&c.value&&c.rangeList?{value:c.value,column:c.rangeList[0].columns.start}:{}}},{key:"_indexLookupById",value:function(c,h){if(h){var v=h[c];if(v)return t.rangeArray(v.colStartIndex,v.colEndIndex)}}},{key:"_columnParentLookup",value:function(c,h){var v=this._baseColumnConfig[c];if(v&&v.parentId)return h[v.parentId]}},{key:"_columnsNotPaged",value:function(c){var h=c.length||this._viewModel.dataSize.columns.end;return r.notEnoughColumnsToPage(h)}},{key:"_storePixelWidths",value:function(c){var h=c.width,v=c.column,f=this._viewModel.getColumnHeaders();if(this._columnsNotPaged(f)){var g=v;f[v]&&(g=this._customMapping[f[v].columnId]),this._computedHeaderWidths[g]=h}}},{key:"_swapPercentsForPixels",value:function(){var c=this,h=this._viewModel.getColumnHeaders();this._columnsNotPaged(h)&&this._baseColumnConfig.forEach(function(v,f){v.width={value:c._computedHeaderWidths[f],unit:"px"}}),this.setColumnConfig(this.getColumnConfig()),this._swapPercentsForPixels=function(){return!0},this._storePixelWidths=function(){return!0}}},{key:"_removeHiddenColumns",value:function(){for(var c=Object.create(this._orderedColumnConfig),h=0;h<c.length;h+=1){var v=c[h].hideable!==void 0?c[h].hideable:!0;c[h].hidden&&v&&c.length>1&&(c.splice(h,1),h-=1)}return this._autoFillMissingPercentageWidth(c),this._updateColumnHeaderIndex(c),c}},{key:"_updateColumnHeaderIndex",value:function(c){for(var h=!1,v=0,f=0;f<c.length;f+=1)c[f-1]&&c[f]&&c[f-1].parentId!==c[f].parentId&&(h=!1),c[f].parentId&&!h&&(v+=1,h=!0),c[f].parentId||(v+=1,h=!1),c[f].columnHeaderIndex=v}},{key:"_autoFillMissingPercentageWidth",value:function(c){var h=r.validateColPct(c),v=C(h,2),f=v[0],g=v[1];if(g>-1){var m=Object.create(c[g]);Object.keys(c[g]).forEach(function(E){m[E]=c[g][E]}),m.width={value:m.width.value+f,unit:"%"},c[g]=m}}},{key:"_mergeBaseItem",value:function(c,h){return Object.assign(c,h)}},{key:"_moveColumns",value:function(c){var h=this;c.forEach(function(v){var f=h._orderedColumnConfig.indexOf(v.item);h._orderedColumnConfig.splice(f,1),h._orderedColumnConfig.splice(v.toIndex,0,v.item)})}},{key:"_getMapping",value:function(){var c=[],h=Object.create(c);return this._baseColumnConfig.forEach(function(v,f){var g=f.toString();c.push(f),g!==v.columnId&&(h[v.columnId]=f)}),h}},{key:"getColumnConfig",value:function(){return i(this._baseColumnConfig,this._customMapping,this._spanningHeaders)}},{key:"setColumnConfig",value:function(c){return this._setColumnConfig(c)}},{key:"_filterColumnConfig",value:function(c,h){return Object.keys(c).forEach(function(v){h.includes(v)||delete c[v]}),c}},{key:"_setColumnConfig",value:function(c){var h=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object.keys(c).forEach(function(f){var g=void 0,m=void 0;if(h._spanningHeaders&&h._spanningHeaders[f]){m=f;var E=h._filterColumnConfig(c[f],["label","complexHeaderStyle"]);g=h._mergeBaseItem(h._spanningHeaders[f],E)}else m=h._customMapping[f],g=h._mergeBaseItem(h._baseColumnConfig[f],c[f]);if(!r.parseHeaderConfig(g,m))throw new Error("Column Configuration is not valid for column with id: "+f+", label: "+(g||{}).label)}),this._moveColumns(c._moves),this._customMapping=this._getMapping(),this._viewModel.setColumnHeaders(this._removeHiddenColumns()),this._viewModel._setPreviousSortState(v.value,v.rangeList),this._viewModel.setState(n.protected.COLUMN_CONFIG,!0)}},{key:"getColumnHeaderConfig",value:function(){return Object.assign({},this._viewModel.getColumnHeaderConfig())}},{key:"setColumnHeaderConfig",value:function(c){var h=["hideColumnHeader"];Object.keys(c).forEach(function(f){if(h.includes(f)&&c[f]&&typeof c[f]!="boolean")throw new Error("Invalid value '"+c[f]+"' set for '"+f+"' field.")});var v=this.getColumnHeaderConfig();v.hideColumnHeader!==c.hideColumnHeader&&this._viewModel.setColumnHeaderConfig(c)}},{key:"treeTableEmits",get:function(){return[]}},{key:"emits",get:function(){return[]}}]),o}();return a},_,P),_.exports=S},85153:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";function C(A,p,d){var n=[],e="COMPLEX_HEADER";function t(a,o){return!a||a.columnId===null||a.columnId===void 0?!1:o===e&&d&&d[a.columnId]?!0:!(isNaN(p[a.columnId])||p[a.columnId]<0)}function r(a){return!(!a||a.index===null||a.index===void 0||isNaN(a.index))}function i(a,o){return a.parentId===o.parentId}var s={getColumn:{value:function(o){if(!t(o,e))return null;var u=p[o.columnId];if(!this[u]){if(o&&d&&d[o.columnId])return this[o.columnId]=Object.create(d[o.columnId]),this[o.columnId];this[u]=Object.create(A[u])}return this[u]},writable:!1},moveColumn:{value:function(o,u){if(!t(o)){console.warn("invalid column source"+o.columnId+".");return}if(!r(u)){console.warn("invalid target "+u+".");return}var c=u.targetParent,h=Math.min(Math.max(u.index,0),A.length-1),v=p[o.columnId],f=c&&i(A[v],c);if(i(A[v],A[h])||f)return n.push({item:A[v],toIndex:h}),!0;console.warn("The destination index ("+h+") does not share the same parent as the column being moved (columnId: "+o.columnId+")")},writable:!1},moveByParentColumnId:{value:function(o,u){var c=o.colIndexs,h=o.sourceParent,v=o.columnId,f=u.targetParent;if(r(u)){var g=Math.min(Math.max(u.index,0),A.length-1);if(!i(h,A[g])&&!i(h,f)){console.warn("The destination index ("+g+") does not share the same parent as the column being moved (columnId: "+v+")");return}return c.map(function(m){n.push({item:A[m],toIndex:g})}),c[0]>g&&n.reverse(),!0}},writable:!1},_moves:{get:function(){return n}}};return Object.create(null,s)}return C},_,P),_.exports=S},62907:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487)],S=l.dj.d(b,function(p){var d=function(){function n(e){A(this,n),this._dataStore=e.dataStore,this.getRangeFromId=this.getRangeFromId.bind(this)}return C(n,[{key:"eventList",value:function(){return{}}},{key:"exposedAPI",value:function(){return{getRangeFromId:this.getRangeFromId}}},{key:"getRangeFromId",value:function(t){if(!t||t.id===void 0)throw new Error("You must provide a id to locate a range");return this._dataStore.getIndex({id:t.id}).then(function(r){return r&&r.index!=null?p.range().setRows(r.index,r.index):null})}}]),n}();return d},_,P),_.exports=S},45120:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(79301)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),o=s.viewModel;return a._viewModel=o,a}return C(i,[{key:"_disableWidget",value:function(){var a={};return Object.defineProperty(a,"disable",{get:this._getTableDisabled.bind(this),set:this._setTableDisabled.bind(this),enumerable:!0}),a}},{key:"exposedAPI",value:function(){return this._disableWidget()}},{key:"exposedTreeTableAPIs",value:function(){return this._disableWidget()}},{key:"eventList",value:function(){return{}}},{key:"_setTableDisabled",value:function(a){a===!0?this._viewModel.setState(e.protected.TABLE_DISABLED,a):this._viewModel.setState(e.protected.TABLE_DISABLED,!1)}},{key:"_getTableDisabled",value:function(){return this._viewModel.getStateByKey(e.protected.TABLE_DISABLED)?this._viewModel.getStateByKey(e.protected.TABLE_DISABLED).value:!1}},{key:"emits",get:function(){return[]}}]),i}(n);return t},_,P),_.exports=S},40410:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79301),l(83757),l(11487),l(25219),l(82020),l(19370),l(29780)],S=l.dj.d(b,function(p,d,n,e,t,r,i){var s=function(){function a(o){A(this,a);var u=o.emitEditCompleted,c=o.dataStore,h=o.viewModel,v=o.emitEditCanceled;this._dataStore=c,this._viewModel=h,this._emitEditCompleted=u,this._emitEditCanceled=v,this._validKeys={},this._editPromise=null,this._editPromiseResolve=null,this._unmountEditor=!1,this._widget=this._viewModel.getStateByKey(p.protected.WIDGET_TYPE).value,this._widgetController=this._widget===p.protected.TYPE.TABLE?r:i;for(var f=d.BACKSPACE;f<=d.SYM2_END;f++)this._validKeys[f]=this._widgetController.isValidKeyDownEvent(f)}return C(a,[{key:"editCell",value:function(u){var c=this,h=u.container;this._editPromise?this._editPromise.then(function(){c._setEditorOnFocusedCell(h)}):this._setEditorOnFocusedCell(h)}},{key:"_setEditorOnFocusedCell",value:function(u){var c=this._viewModel.getStateByKey(p.protected.FOCUSED)||{},h=c;if(h.rangeList&&h.rangeList.length>0){var v=h.rangeList[0];this._widgetController.isTargetCellEditable(u,v)&&this._widgetController.setupEditorOnRange(v,this._viewModel,this._dataStore)}}},{key:"_createEditPromise",value:function(){var u=this;this._editPromise=new Promise(function(c){u._editPromiseResolve=c})}},{key:"_resolveEditPromise",value:function(){this._editPromiseResolve(),this._editPromiseResolve=null,this._editPromise=null}},{key:"eventList",value:function(){var u=this,c={tableKeyPress:function(v){return u.setEditorOnKeyPress(v)},editComplete:function(v){return u.editHandler(v)},enterEditMode:function(v){return u.setEditorOnCell(v)},editCancel:function(v){return u.removeEditorOnCell(v)},editValidation:function(v){return u.handleEditValidation(v)},processEdit:function(v){return u.handleProcessEdit(v)}};return c}},{key:"_updateProcessStart",value:function(u){return this._createEditPromise(),this._setEditProcessingState(u.event),this._widgetController.updateDataStore({obj:u.event,viewModel:this._viewModel,dataStore:this._dataStore})}},{key:"_setEditProcessingState",value:function(u){var c=void 0;if(u){var h=u.row,v=u.column,f=u.oldValue,g=u.newValue,m=u.validationResult;m=m||null,c={},c={location:h+","+v,oldValue:f,newValue:g,validationResult:m}}else c=!1;this._viewModel.setState(p.protected.EDIT_PROCESSING,c)}},{key:"editHandler",value:function(u){var c=this;if(this._editPromise){this._unmountEditor=!0;return}var h=this._widgetController.getDataObj(u,this._viewModel);this._updateProcessStart(u).then(function(){return c._updateSuccess(h)},function(v){return c._updateFailedWithCanceled(h,v)})}},{key:"handleProcessEdit",value:function(u){var c=this;if(!this._editPromise){var h=this._widgetController.getDataObj(u,this._viewModel);this._updateProcessStart(u).then(function(){return c._updateSuccess(h)},function(v){return c._updateFailedWithValidation(h,v)})}}},{key:"_updateSuccess",value:function(u){var c=this;this._resolveEditPromise(),this.removeEditorOnCell();var h=this._widgetController.getOriginalValuePromise();h.then(function(v){u.oldValue=v,c._widgetController.emitEditCompletedEvent(u,c._emitEditCompleted.bind(c))})}},{key:"_updateFailedWithCanceled",value:function(u,c){var h=e.getValidationInfo(c);this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.handleEditCancel({obj:u,validationResult:h,emitEditCanceled:this._emitEditCanceled.bind(this)})}},{key:"_updateFailedWithValidation",value:function(u,c){var h=e.getValidationInfo(c);u.validationResult=h;var v=!this._unmountEditor;v?(this._viewModel.setState(p.protected.EDIT_VALIDATION,{error:!0}),this._resolveEditPromise(),this._setEditProcessingState(u)):(this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.handleEditCancel({obj:u,validationResult:h,emitEditCanceled:this._emitEditCanceled.bind(this)}))}},{key:"handleEditValidation",value:function(u){var c=e.getState(p.protected.EDIT_VALIDATION,this._viewModel);c=c===null?{error:!1}:c.value,u.event.error!==c.error&&this._viewModel.setState(p.protected.EDIT_VALIDATION,u.event)}},{key:"setEditorOnCell",value:function(u){if(!t.hasModifierKey(u.event)){var c=u.event,h=c.row,v=c.column,f=n.range().setRows(h,h).setColumns(v,v);this._widgetController.setupEditorOnRange(f,this._viewModel,this._dataStore)}}},{key:"removeEditorOnCell",value:function(u){var c=u?u.event:null;if(this._unmountEditor=!1,this._editPromise===null){e.getState(p.protected.EDIT_STATE,this._viewModel)&&this._viewModel.deleteState(p.protected.EDIT_STATE),e.getState(p.protected.EDIT_TRIGGER,this._viewModel)&&this._viewModel.deleteState(p.protected.EDIT_TRIGGER);var h=e.getState(p.protected.EDIT_VALIDATION,this._viewModel);h&&h.value&&h.value.error&&this._viewModel.setState(p.protected.EDIT_VALIDATION,{error:!1});var v=e.getState(p.protected.EDIT_PROCESSING,this._viewModel);v&&v.value&&this._setEditProcessingState(!1),c&&this._widgetController.handleRemoveEditor(c,this._emitEditCanceled,this._viewModel)}}},{key:"setEditorOnKeyPress",value:function(u){this._widgetController.setEditorOnKeyPress({evt:u,viewModel:this._viewModel,dataStore:this._dataStore,setEditorOnFocusedCell:this._setEditorOnFocusedCell.bind(this),validKeys:this._validKeys})}}]),a}();return s},_,P),_.exports=S},47087:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460)],S=l.dj.d(b,function(n){var e=function(t){d(r,t);function r(i){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).call(this))}return C(r,[{key:"editCell",value:function(s){this._editController.editCell(s)}},{key:"exposedAPI",value:function(){return{_editCell:this.editCell.bind(this)}}},{key:"eventList",value:function(){return[this._editController.eventList(),this._interactiveController.eventList()]}},{key:"emitEditCompleted",value:function(s){this.emit("editCompleted",s)}},{key:"emitEditCanceled",value:function(s){this.emit("editCanceled",s)}},{key:"emitIconAction",value:function(s){this.emit("iconAction",s)}}]),r}(n);return e},_,P),_.exports=S},96723:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(79301),l(40410),l(51052),l(1538),l(47087)],S=l.dj.d(b,function(n,e,t,r,i){var s=function(a){d(o,a);function o(u){A(this,o);var c=p(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),h=u.viewModel;return u.emitEditCompleted=c.emitEditCompleted.bind(c),u.emitEditCanceled=c.emitEditCanceled.bind(c),u.emitIconAction=c.emitIconAction.bind(c),c._editController=new e(u),c._widget=h.getStateByKey(n.protected.WIDGET_TYPE).value,c._interactiveController=c._widget===n.protected.TYPE.TABLE?new t(u):new r(u),c}return C(o,[{key:"exposedTreeTableAPIs",value:function(){return{_editCell:this.editCell.bind(this)}}},{key:"emits",get:function(){return["editCompleted","editCanceled","iconAction"]}},{key:"treeTableEmits",get:function(){return["editCompleted","editCanceled","iconAction"]}}]),o}(i);return s},_,P),_.exports=S},13159:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(79301),l(80460)],S=l.dj.d(b,function(n,e){var t=function(a){var o=a.event,u=o.ctrlKey,c=o.meta,h=o.shiftKey,v=o.altKey;return u||v||c||h},r="headerEditCompleted",i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this)),c=o.viewModel;return u._viewModel=c,u}return C(a,[{key:"_isEditInProgress",value:function(){var u=this._viewModel.getStateByKey(n.protected.EDIT_PROCESSING);return u?!!u.value:!1}},{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var u=this;return{enterColEditMode:function(h){return u._setEditorOnCol(h)},colEditComplete:function(h){return u._colEditHandler(h)},leaveColEditMode:function(){return u._removeEditor(n.protected.COL_EDIT_STATE)},enterRowEditMode:function(h){return u._setEditorOnRow(h)},rowEditComplete:function(h){return u._rowEditHandler(h)},leaveRowEditMode:function(h){return u._editCompleted(n.protected.ROW_HEADER_EDIT_STATE,r,!1)}}}},{key:"_colEditHandler",value:function(u){var c=this,h=u.event,v=h.oldValue,f=h.newValue,g=h.columnId,m={oldValue:v,newValue:f,columnId:g};return this._viewModel.updateHeader({id:g,value:f}).then(function(){return c._editCompleted(n.protected.COL_EDIT_STATE,r,m)})}},{key:"_rowEditHandler",value:function(u){var c=this,h=u.event,v=h.oldValue,f=h.newValue,g=h.row,m={oldValue:v,newValue:f,rowIndex:g};return this._viewModel.updateRowHeader({rowIndex:g},{value:f}).then(function(){return c._editCompleted(n.protected.ROW_HEADER_EDIT_STATE,r,m)})}},{key:"_editCompleted",value:function(u,c,h){this._removeEditor(u),this.emit(c,h)}},{key:"_setEditorOnCol",value:function(u){if(!(t(u)||this._isEditInProgress())){var c=u.event.columnId;c&&(this._viewModel.setState(n.protected.EDIT_STATE,{}),this._viewModel.setState(n.protected.COL_EDIT_STATE,c))}}},{key:"_setEditorOnRow",value:function(u){if(!(t(u)||this._isEditInProgress())){var c=u.event.row;this._viewModel.setState(n.protected.EDIT_STATE,{}),this._viewModel.setState(n.protected.ROW_HEADER_EDIT_STATE,c)}}},{key:"_removeEditor",value:function(u){this._viewModel.deleteState(n.protected.EDIT_STATE),this._viewModel.deleteState(u)}},{key:"emits",get:function(){return[r]}}]),a}(e);return i},_,P),_.exports=S},19370:(_,P,l)=>{var b,S;b=[l(79301),l(83757),l(25219)],S=l.dj.d(b,function(C,A,p){var d={then:function(){}};return{updateDataStore:function(e){var t=e.obj,r=e.viewModel,i=e.dataStore,s=t.row,a=t.column,o=t.newValue,u=p.getViewAndDataRange(s,a,r),c=u.dataRange;return r.clearCurrentSortState(),i.update(c,[[o]])},getDataObj:function(e,t){var r=e.event,i=r.row,s=r.column,a=r.newValue,o=r.oldValue,u=p.getViewAndDataRange(i,s,t),c=u.viewRange,h=u.dataRange;return{oldValue:o,newValue:a,viewRange:c,dataRange:h,row:i,column:s}},emitEditCompletedEvent:function(e,t){delete e.row,delete e.column,t(e)},handleRemoveEditor:function(e,t,r){var i=e.oldValue,s=e.newValue,a=e.validationResult,o=e.row,u=e.column;if(i!==s){var c=p.getViewAndDataRange(o,u,r),h=c.viewRange,v=c.dataRange,f={oldValue:i,newValue:s,viewRange:h,dataRange:v};this.handleEditCancel({obj:f,validationResult:a,emitEditCanceled:t})}},handleEditCancel:function(e){var t=e.obj,r=e.validationResult,i=e.emitEditCanceled;r?t.validationResult=[r]:t.validationResult=[],i(t)},setEditorOnKeyPress:function(e){var t=e.evt,r=e.viewModel,i=e.dataStore,s=e.validKeys,a=t.event;if(!(a.ctrlKey||a.altKey||a.meta||a.shiftKey&&a.keyCode===A.SPACE||this._editPromise)&&s[a.keyCode]){var o=p.getState(C.protected.FOCUSED,r)||{},u=o;if(u.rangeList&&u.rangeList.length>0){var c=u.rangeList[0];if(this.isTargetCellEditable(a.nativeEvent.target,c)){var h=null;return a.keyCode!==A.ENTER&&a.keyCode!==A.SPACE&&(h=a),this.setupEditorOnRange(c,r,i,h)}}}},isTargetCellEditable:function(e,t){if(!e.hasAttribute("data-cell-type")&&t){var r=t.rows.start,i=t.columns.start,s=e.querySelectorAll('[data-row="'+r+'"][data-col="'+i+'"][data-cell-type="EditableTableCell"]');return s.length===1}return e.getAttribute("data-cell-type")==="EditableTableCell"},getOriginalValuePromise:function(){return d},setupEditorOnRange:function(e,t,r,i){var s=p.viewRangeToDataRange(e,t);if(d=p.setOriginalValuePromise(s,r),p.isFocusedRange(e,t)){var a={};a[e.rows.start+","+e.columns.start]=!0,t.setState(C.protected.EDIT_STATE,a,[e]),i&&t.setState(C.protected.EDIT_TRIGGER,i.nativeEvent.key)}},isValidKeyDownEvent:function(e){return e=e||1,e>=A.NUM_START&&e<=A.NUM_END||e===A.SPACE||e===A.ENTER||e>=A.ALPHA_START&&e<=A.ALPHA_END||e>=A.NUMPAD_START&&e<=A.NUMPAD_END||e>=A.SYM1_START&&e<=A.SYM1_END||e>=A.SYM2_START&&e<=A.SYM2_END}}},_,P),_.exports=S},29780:(_,P,l)=>{var b,S;b=[l(90228),l(25219),l(83757),l(11487)],S=l.dj.d(b,function(C,A,p,d){var n={then:function(){}};return{updateDataStore:function(t){var r=t.obj,i=t.viewModel,s=t.dataStore,a=r.newValue,o=r.column,u=r.node,c=i.getColumnHeaders()[Number(o)]||{dataIndex:o},h=c.dataIndex;i.clearCurrentSortState();var v=[];return v[h]=a,s.update({id:u.id},v)},getDataObj:function(t){return t.event},emitEditCompletedEvent:function(t,r){var i=t.newValue,s=t.oldValue,a=t.column,o=t.node,u=t.columnId;r({cellInfo:{id:o.id,column:a,columnId:u},newValue:i,oldValue:s})},handleRemoveEditor:function(t,r){this.handleEditCancel({obj:t,validationResult:t.validationResult,emitEditCanceled:r})},handleEditCancel:function(t){var r=t.obj,i=t.validationResult,s=t.emitEditCanceled,a=r.newValue,o=r.oldValue,u=r.column,c=r.node,h=r.columnId,v={cellInfo:{id:c.id,column:u,columnId:h},newValue:a,oldValue:o,validationResult:[]};i&&(v.validationResult=[i]),s(v)},setEditorOnKeyPress:function(t){var r=t.evt,i=t.setEditorOnFocusedCell,s=t.validKeys,a=r.event;a.ctrlKey||a.altKey||a.meta||a.shiftKey&&a.keyCode===p.SPACE||s[a.keyCode]&&i(a.nativeEvent.target)},isTargetCellEditable:function(t,r){var i=t,s="Editable";if(!i.hasAttribute("data-cell-type")){var a=r.rows.start,o=r.columns.start,u=i.querySelectorAll('[data-row="'+a+'"][data-col="'+o+'"]'+('[data-cell-type^="'+s+'"]'));return u.length===1}var c=i.getAttribute("data-cell-type");return c.indexOf(s)===0},getOriginalValuePromise:function(){return n},setupEditorOnRange:function(t,r,i){var s=A.viewRangeToDataRange(t,r);n=A.setOriginalValuePromise(s,i);var a={};a[t.rows.start+","+t.columns.start]=!0,r.setState(C.protected.EDIT_STATE,a,[t])},isValidKeyDownEvent:function(t){return t=t||1,t===p.F2||t===p.ENTER}}},_,P),_.exports=S},95723:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(54505),l(80460),l(16885)],S=l.dj.d(b,function(n,e,t){var r=function(i){d(s,i);function s(a){A(this,s);var o=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));o._handleDoubleClick=o._handleDoubleClick.bind(o),o._preventDefault=o._preventDefault.bind(o);var u=a.viewModel;return o._viewModel=u,o}return C(s,[{key:"eventList",value:function(){var o=this,u={};return u[t.protected.CELL_DBL_CLICK]=function(c){return o._handleDoubleClick(c.event)},u}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_handleDoubleClick",value:function(o){this._defaultPrevented=!1;var u=n.getRangeForCell(o.row,o.column),c=this._viewModel.getStateForCustomEvent(),h=Object.assign(c,{cellRange:u,preventDefault:this._preventDefault});this.emit(t.exposed.DOUBLE_CLICKED,h),!this._defaultPrevented&&o.defaultFn&&o.defaultFn()}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[t.exposed.DOUBLE_CLICKED]}}]),s}(e);return r},_,P),_.exports=S},99549:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(16885),l(79301),l(15555),l(11487)],S=l.dj.d(b,function(n,e,t,r,i){var s=function(a){d(o,a);function o(u){A(this,o);var c=p(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),h=u.viewModel;return c._viewModel=h,c}return C(o,[{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var c={};return c[e.internal.TABLE_RIGHT_CLICK]=this._handleRightClick.bind(this),c}},{key:"_handleRightClick",value:function(c){var h=c.event,v=h.row,f=h.col,g=h.colEnd,m=h.top,E=h.left,w=h.target,I=this._getRangeFromCellIndices(v,f,g),M=this._viewModel.getStateForCustomEvent(),R=this._viewModel.viewRangeListToDataRangeList([I]);if(R.length>1)throw new Error("Single viewRange cell mapped to multiple ranges");var T=R[0],N=Object.assign(M,{top:m,left:E,viewRange:I,dataRange:T,target:w});r.validateContextMenuEventInfo(N),this.emit(e.exposed.CONTEXT_MENU,N)}},{key:"_getRangeFromCellIndices",value:function(c,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h,f=Math.max(0,c),g=Math.max(-1,c),m=Math.max(0,h),E=Math.max(-1,v);return i.range().setRows(f,g).setColumns(m,E)}},{key:"emits",get:function(){return[e.exposed.CONTEXT_MENU]}}]),o}(n);return s},_,P),_.exports=S},66379:(_,P,l)=>{var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d,n,e){return n in d?Object.defineProperty(d,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[n]=e,d}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(16885),l(79301)],S=l.dj.d(b,function(d,n){var e=function(){function t(r){p(this,t);var i=r.viewModel;this._vm=i,this._vm.setState(n.ROW_HEADER_NODE,{offsetWidth:0}),this._publishNode={},this._subscribeNode={}}return C(t,[{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var i=this,s,a=(s={},A(s,d.internal.NODE_PUBLISH,function(o){return i._nodePublish(o.event)}),A(s,d.internal.NODE_SUBSCRIBE,function(o){return i._nodeSubscribe(o.event)}),A(s,d.internal.NODE_UNSUBSCRIBE,function(o){return i._nodeUnsubscribe(o.event)}),A(s,d.protected.NODE_NOTIFY,function(o){return i._notifyChannel(o.event)}),A(s,d.protected.FORCE_LAYOUT,this._notifyAll.bind(this)),s);return a}},{key:"_nodePublish",value:function(i){var s=i.publisherFn,a=i.publisherId;this._publishNode[a]=s}},{key:"_nodeSubscribe",value:function(i){var s=i.subscriberFn,a=i.subscriberId,o=i.subscribeTo;this._subscribeNode[a]={subscriberFn:s,publisherId:o}}},{key:"_nodeUnsubscribe",value:function(i){var s=i.subscriberId;delete this._subscribeNode[s]}},{key:"_notifyChannel",value:function(i){var s=i.publisherFn,a=i.publisherId,o=A({},a,s());this._notifySubscribers(o)}},{key:"_notifyAll",value:function(){var i=this,s={};Object.keys(this._publishNode).forEach(function(a){var o=i._publishNode[a];s[a]=o()}),this._notifySubscribers(s)}},{key:"_notifySubscribers",value:function(i){var s=this;Object.keys(this._subscribeNode).forEach(function(a){if(s._subscribeNode[a]){var o=s._subscribeNode[a],u=o.subscriberFn,c=o.publisherId;i.hasOwnProperty(c)&&u(i[c])}})}}]),t}();return e},_,P),_.exports=S},51052:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(16885),l(79301),l(83757),l(25219),l(11487)],S=l.dj.d(b,function(p,d,n,e,t){var r=function(){function i(s){A(this,i);var a=s.emitEditCompleted,o=s.emitIconAction,u=s.dataStore,c=s.viewModel;this._viewModel=c,this._dataStore=u,this._emitEditCompleted=a,this._emitIconAction=o}return C(i,[{key:"eventList",value:function(){var a={};return a[p.internal.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),a[p.internal.TABLE_KEY_PRESS]=this._handleKeyPressEvent.bind(this),a}},{key:"_mapViewColumnsToDataColumns",value:function(a){for(var o={},u=a.columns.start;u<=a.columns.end;u++)o[this._getDataColumn(u)]=u;return o}},{key:"_convertViewRangeToDataRange",value:function(a){var o=void 0,u=this._getDataColumn(a.columns.start),c=this._getDataColumn(a.columns.end);a.rows.end===1/0?o=this._dataStore.dataSize.rows.end:o=a.rows.end;var h=t.range().setRows(a.rows.start,o).setColumns(u,c);return h}},{key:"_getNewValueIfUnchecked",value:function(a,o){var u=a.handleAction({value:o,shouldUpdate:!0}),c=void 0;return u?c=!1:c=!0,{oldState:c,value:u}}},{key:"_getDataColumn",value:function(a){var o=this._viewModel.getColumnHeaders()[Number(a)]||{},u=o.dataIndex;return(u<=-1||u===void 0)&&(u=a),u}},{key:"_getOldValueToToggle",value:function(a,o){for(var u=o.range,c=o.renderer,h=this._convertViewRangeToDataRange(u),v=this._mapViewColumnsToDataColumns(u),f=void 0,g=void 0,m=void 0,E=void 0,w=h.rows.start;w<=h.rows.end;w++)for(var I=h.columns.start;I<=h.columns.end;I++){var M=this._getNewValueIfUnchecked(c,a[0][w][I]).oldState;if(M)return g=t.range().setRows(w,w).setColumns(I,I),f=c.handleAction({value:a[0][w][I],shouldUpdate:!0,shouldToggle:!0}),m=v[I],E=t.range().setRows(w,w).setColumns(m,m),{value:f,dataRange:g,viewRange:E}}}},{key:"_updateIconAction",value:function(a,o){this._emitIconAction({viewRange:o,dataRange:a})}},{key:"_updateDataStore",value:function(a,o,u){this._dataStore.update(a,[[u.newValue]]),this._emitEditCompleted({oldValue:u.oldValue,newValue:u.newValue,viewRange:o,dataRange:a})}},{key:"_updateToggledValues",value:function(a){var o=this,u=a.interactiveRenderer,c=a.newToggledValue,h=this,v=u.renderer,f=this._getViewandDataRange(a),g=f.dataRange,m=f.viewRange,E=this._convertViewRangeToDataRange(u.range);this._dataStore.getData([E]).then(function(w){if(c=c||o._getNewValueIfUnchecked(v,w[0][g.rows.start][g.columns.start]).value,c){var I=h._getOldValueToToggle(w,u);I&&o._dataStore.update(I.dataRange,[[I.value.newValue]]),o._updateDataStore(g,m,c)}})}},{key:"_getViewandDataRange",value:function(a){var o=a.viewPosition,u=a.viewRange;o&&(u=t.range().setRows(o.row,o.row).setColumns(o.column,o.column));var c=this._getDataColumn(u.columns.start),h=t.range().setRows(u.rows.start,u.rows.start).setColumns(c,c);return{viewRange:u,dataRange:h}}},{key:"_handleCellClickEvent",value:function(a){var o=this,u=this._viewModel.getStateByKey("interactiveRenderer")||{},c=e.getInteractiveRendererFor(u,a.event.row,a.event.column);if(c){var h=c.renderer,v={interactiveRenderer:c,viewPosition:{row:a.event.row,column:a.event.column},newToggledValue:a.event},f=this._getViewandDataRange(v);h.toggle?this._updateToggledValues(v):h.iconAction?this._updateIconAction(f.dataRange,f.viewRange):o._updateDataStore(f.dataRange,f.viewRange,a.event)}}},{key:"_handleKeyPressEvent",value:function(a){var o=this,u=[n.SPACE,n.ENTER],c=[n.SPACE];if(u.includes(a.event.keyCode)){var h=this._viewModel.getStateByKey(d.protected.FOCUSED),v=this._viewModel.getStateByKey("interactiveRenderer")||{};if(h&&h.rangeList&&h.rangeList.length>0){var f=e.getViewIndex(h),g=f.viewRange,m=f.viewColIndex,E=f.viewRowIndex,w=e.getInteractiveRendererFor(v,E,m);if(!w)return;var I=w.renderer;if(!I.iconAction&&!c.includes(a.event.keyCode))return;var M=e.getColumnConfig(this._viewModel,m),R=this._dataStore.getLocalCellMetaData(E,M.dataIndex);if(e.isReadOnly(R)||M.readonly===!0)return;var T={interactiveRenderer:w,viewRange:g},N=this._getViewandDataRange(T),F=N.dataRange;I.toggle?this._updateToggledValues(T):I.iconAction?this._updateIconAction(F,g):this._dataStore.getData([F]).then(function(y){var x=o._getNewValueIfUnchecked(I,y[0][F.rows.start][F.columns.start]).value;x&&o._updateDataStore(F,g,x)})}}}}]),i}();return r},_,P),_.exports=S},70654:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(50723),l(82020),l(42333),l(11605),l(48350),l(62082),l(90228),l(83757)],S=l.dj.d(b,function(d,n,e,t,r,i,s,a){"use strict";var o=function(){function u(c){p(this,u);var h=c.dataStore,v=c.viewModel;this._viewModel=v,this._dataStore=h,this._keyHandlerList=[],this._preventDefault=this._preventDefault.bind(this),this._widget=this._viewModel.getStateByKey(s.protected.WIDGET_TYPE).value}return A(u,[{key:"_getKeyHandlerList",value:function(){return this._keyHandlerList}},{key:"_setKeyHandlerList",value:function(h){this._keyHandlerList=h}},{key:"eventList",value:function(){var h={};return h[r.protected.KEY_PRESS]=this._handleTableKeyPress.bind(this),h}},{key:"exposedTreeTableAPIs",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}},{key:"exposedAPI",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}},{key:"removeCustomKeyHandler",value:function(h){if(!h||typeof h!="string")throw new Error("Invalid KeyHandlerName, "+h+" should be a String.");var v=this._getKeyHandlerList();if(!n.isPropertyInTheObject(v,i.KEY_HANDLER_NAME,h))throw new Error("Invalid KeyHandlerName, "+h+" has not been added by addCustomKeyHandler API.");v&&Array.isArray(v)&&v.length>0&&(v=v.filter(function(f){return f[i.KEY_HANDLER_NAME]!==h}),this._setKeyHandlerList(v))}},{key:"addCustomKeyHandler",value:function(h,v,f){if(!h||typeof h!="string")throw new Error("Invalid KeyHandlerName, "+h+" should be a String.");var g=this._getKeyHandlerList();if(n.isPropertyInTheObject(g,i.KEY_HANDLER_NAME,h))throw new Error("Invalid KeyHandlerName, "+h+" should be Unique, "+h+" is already bound to addCustomKeyHandler API.");if(typeof f!="function")throw new Error("Invalid KeyHandler callback, "+f+" should be a function.");this._generateKeyHandlerList(h,v,f,g)}},{key:"_generateKeyHandlerList",value:function(h,v,f,g){var m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:t.internal.ALL;if(v&&Array.isArray(v)){if(e.validatingKeyBindingLength(v),n.hasDuplicates(v))throw new Error("Invalid KeyBinding, Duplicate keycode found.");var E=!0,w=!1,I=void 0;try{for(var M=v[Symbol.iterator](),R;!(E=(R=M.next()).done);E=!0){var T=R.value;this._validatingIndividualKeyCombination(T,m,g);var N=d.isKeyBindingInHandlerList(T,h,g);if(N){var F=d.findPropertyInTheObject(T,h,g);F&&F[i.PLATFORMS]&&this._updateKeyHandlerObjectWithPlatform(F[i.PLATFORMS],m)}if(T&&!N){var y=d.getModifierLookupList();Array.isArray(T)&&(y=d.getModifierKeyCodeList(T));var x={};x[i.KEY_CODE]=T,x[i.KEY_HANDLER_NAME]=h,x[i.KEY_HANDLER]=f,x[i.PLATFORMS]=[m],x[i.MODIFIER_KEY_LIST]=y,g.push(x)}}}catch(L){w=!0,I=L}finally{try{!E&&M.return&&M.return()}finally{if(w)throw I}}}else if(v&&(typeof v>"u"?"undefined":C(v))==="object"){e.validatingKeyBindingLength(Object.keys(v)),e.validatingPlatformInKeyBinding(v);for(var O in v)v.hasOwnProperty(O)&&this._generateKeyHandlerList(h,v[O],f,g,O)}else throw new Error("Invalid KeyBinding, it should be an Array or Object")}},{key:"_validatingIndividualKeyCombination",value:function(h,v,f){if(!h)throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc.");if(Array.isArray(h)){if(h.length<=1)throw new Error("Invalid KeyBinding, Key Combination should have one regular key and multiple modifier keys");e.validateSequenceOfKeyCombination(h),e.validateKeyCombinations(h,v,f)}else{if(!d.keyCodeLookUpArray().includes(h))throw new Error("Invalid KeyBinding, Please refer to valid keycode in jsDoc");var g=d.findKeyCodeInTheList(h,v,f);if(g&&g[i.KEY_HANDLER_NAME])throw new Error("Invalid KeyBinding, "+n.getKeyByValue(a,h)+" is already bound to "+g[i.KEY_HANDLER_NAME]+" KeyHandler")}}},{key:"_updateKeyHandlerObjectWithPlatform",value:function(h,v){var f=d.isPlatformInTheList(h,v);!f&&Array.isArray(h)&&h.push(v)}},{key:"_getTableSelectionState",value:function(){var h=this._viewModel.getStateByKey(s.protected.SELECTED);return h&&h.rangeList?h.rangeList:null}},{key:"_getTreeTableSelectionState",value:function(){var h=this._viewModel.getStateByKey(s.protected.SELECTED);return h&&h.value?h.value:[]}},{key:"_getSelection",value:function(){if(this._widget==="Table"){var h=this._getTableSelectionState();return h}else if(this._widget==="TreeTable"){var v=this._getTreeTableSelectionState(),f=v.map(function(g){return{id:g}});return f}}},{key:"_getFocusedState",value:function(){return this._viewModel.getStateByKey(s.protected.FOCUSED)||null}},{key:"_getFocused",value:function(){var h={},v=this._getFocusedState();if(this._widget==="Table")return v;if(this._widget==="TreeTable")return v&&v.rangeList[0]&&v.value&&(h.column=v.rangeList[0].columns.start,h.id=v.value),h}},{key:"_handleTableKeyPress",value:function(h){var v=this;this._defaultPrevented=!1;var f=Object.assign([],this._getKeyHandlerList()),g=h.event,m={};if(m.preventDefault=this._preventDefault,m.selectedRows=this._getSelection(),m.focusedCell=this._getFocused(),f){var E=f.filter(function(F){return v._isKeyHandlerObjInTheList(g,F)}),w=!0,I=!1,M=void 0;try{for(var R=E[Symbol.iterator](),T;!(w=(T=R.next()).done);w=!0){var N=T.value;if(N[i.KEY_HANDLER](m),this._defaultPrevented)break}}catch(F){I=!0,M=F}finally{try{!w&&R.return&&R.return()}finally{if(I)throw M}}}!this._defaultPrevented&&g.eventCallback&&this._emitExistingEvents(g)}},{key:"_isKeyHandlerObjInTheList",value:function(h,v){var f=n.getUsersPlaform(),g=v[i.KEY_CODE],m=v.modifierKeyList;Array.isArray(g)&&(g=d.getKeyCodeArray(g)[0]);var E=d.isPlatformInTheList(v[i.PLATFORMS],f),w=E;return!E&&v[i.PLATFORMS][0]===t.internal.ALL&&(w=!0),h[i.KEY_CODE]===g&&h[i.ALT_KEY]===m[i.ALT_KEY]&&h[i.CTRL_KEY]===m[i.CTRL_KEY]&&h[i.META]===m[i.META]&&h[i.SHIFT_KEY]===m[i.SHIFT_KEY]&&w}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_emitExistingEvents",value:function(h){var v=h.nativeEvent,f=h.keyCode,g=h.meta,m=h.ctrlKey,E=h.shiftKey,w=h.altKey,I=r.internal.TABLE_KEY_PRESS;h.eventCallback&&h.eventCallback(I,{nativeEvent:v,keyCode:f,meta:g,ctrlKey:m,shiftKey:E,altKey:w})}}]),u}();return o},_,P),_.exports=S},60742:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(79301)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){function e(t){A(this,e),this._viewModel=t.viewModel,this._dataStore=t.dataStore,this._logicalViewPort=t.viewPortList[0]}return C(e,[{key:"setActiveCell",value:function(r){var i=r.activeRange,s=r.scrollInPixels,a=r.leftScrollFn,o=r.topScrollFn;if(Array.isArray(i)&&i.length===0)return this._viewModel.setState(d.protected.ACTIVE_CELL,null,[]);if(i){var u=void 0,c=void 0;u=this.getActiveNodeInView(i),c=[i];var h=u?{id:u.id}:null;if(this._viewModel.setState(d.protected.ACTIVE_CELL,h,c),s){var v=s.scrollLeft,f=s.scrollCol,g=s.scrollFn;!isNaN(v)&&v!==null&&a(v,f,g)}if(s){var m=s.scrollFn,E=s.scrollTop,w=s.scrollRow;!isNaN(E)&&E!==null&&o(E,w,m)}}else this._viewModel.setState(d.protected.ACTIVE_CELL,null,[])}},{key:"getActiveNodeInView",value:function(r){var i=null;return r.rows.start<=this._viewModel.viewBuffer.rangeList[0].rows.end&&r.rows.start>=this._viewModel.viewBuffer.rangeList[0].rows.start&&(i=this._dataStore.getLocalRowMetaData(r.rows.start)),i}}]),e}();return n},_,P),_.exports=S},92340:(_,P,l)=>{var b,S;b=[l(3287)],S=l.dj.d(b,function(C){"use strict";var A=1;function p(d){function n(i){return Math.max(0,i)*d.ROW_HEIGHT}function e(i,s,a){var o=C.maybe(a[s]).chain(function(m){return m.height}).therefore(-1,function(m){return i-m});if(o<0)return Math.max(n(s+A)-i,0);for(var u=s,c=0;a[u-=1]&&c<o;)c+=a[u].height;u+=1;var h=c-o,v=Math.max(0,h/a[u].height),f=Math.floor(v*d.ROW_HEIGHT),g=Math.floor(d.ROW_HEIGHT*u)+f;return g}function t(i){return Math.max(0,d.COL_WIDTH*i)}function r(i,s,a){var o=C.maybe(a[s]).chain(function(m){return m.width}).therefore(-1,function(m){return i-m});if(o<0)return Math.max(t(s)-i,0);for(var u=s,c=0;a[u-=1]&&c<o;)c+=a[u].width;u+=1;var h=c-o,v=Math.max(0,h/a[u].width),f=Math.floor(v*d.COL_WIDTH),g=Math.floor(d.COL_WIDTH*u)+f;return g}return{getScrollLeftPosition:t,getScrollRightPosition:r,getScrollBottomPosition:e,getScrollTopPosition:n}}return p},_,P),_.exports=S},60801:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(54863),l(92340),l(26118),l(6887),l(3287),l(63622),l(79301),l(58815)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a){"use strict";var o=function(){function u(c){A(this,u),this._logicalSize=new i(c),this._viewModel=c,this._bufferedNavigation=n(this._logicalSize),this._unbufferedNavigation=d(this._logicalSize),this.getScrollTopPosition=this.getScrollTopPosition.bind(this),this.getScrollBottomPosition=this.getScrollBottomPosition.bind(this),this.getScrollLeftPosition=this.getScrollLeftPosition.bind(this),this.getScrollLeftPositionWithFrozenColumns=this.getScrollLeftPositionWithFrozenColumns.bind(this),this.getScrollRightPosition=this.getScrollRightPosition.bind(this)}return C(u,[{key:"getScrollTopPosition",value:function(h,v){var f=this._viewModel.viewBuffer.rangeList[0],g=this._viewModel.getRowCount();return f.rows.count===g?this._unbufferedNavigation.getScrollTopPosition.apply(null,[h,v]):this._bufferedNavigation.getScrollTopPosition.apply(null,[h,v])}},{key:"getScrollLeftPosition",value:function(h,v){var f=this._viewModel.viewBuffer.rangeList[0],g=this._viewModel.getColumnCount(),m=this._viewModel.getStateByKey(s.protected.FREEZE_COLUMN_CONFIG)?this._viewModel.getStateByKey(s.protected.FREEZE_COLUMN_CONFIG).value:null;return f.columns.count===g?this._unbufferedNavigation.getScrollLeftPosition.apply(null,[h,v,m]):this._bufferedNavigation.getScrollLeftPosition.apply(null,[h,v,m])}},{key:"_getColumnsToSatisfyMinPhysicalScroll",value:function(h,v,f,g){var m=h,E=0;for(v-=1;g[v]&&m<f;)m+=g[v].width,E+=1,v-=1;return{columnsToScroll:E,actualPhysicalScroll:m,updateNextLeftColumnToBringIntoView:v}}},{key:"_computeAdjustmentForExtraScroll",value:function(h,v,f,g){var m=h-v;return m/(f[g+1].width/this._logicalSize.COL_WIDTH)}},{key:"getScrollLeftPositionWithFrozenColumns",value:function(h,v,f,g){var m=h.freezeColumnConfig,E=h.nextLeftColumnToBringIntoView,w=h.originalScrollRect,I=f[m.range.columns.end].right-g.prev,M=0;if(E>0){var R=w.left-f[E].left,T=E*this._logicalSize.COL_WIDTH,N=this._getColumnsToSatisfyMinPhysicalScroll(R,E,I,f),F=N.columnsToScroll,y=N.actualPhysicalScroll,x=N.updateNextLeftColumnToBringIntoView,O=this._computeAdjustmentForExtraScroll(y,I,f,x);M=Math.max(0,T-this._logicalSize.COL_WIDTH*F+O)}return M}},{key:"getScrollRightPosition",value:function(h,v,f){var g=this._viewModel.viewBuffer.rangeList[0],m=this._viewModel.getColumnCount();return g.columns.count===m?this._unbufferedNavigation.getScrollRightPosition.apply(null,[h,v,f]):this._bufferedNavigation.getScrollRightPosition.apply(null,[h,v,f])}},{key:"getScrollBottomPosition",value:function(h,v,f){var g=this._viewModel.viewBuffer.rangeList[0],m=this._viewModel.getRowCount();return g.rows.count===m?this._unbufferedNavigation.getScrollBottomPosition.apply(null,[h,v,f]):this._bufferedNavigation.getScrollBottomPosition.apply(null,[h,v,f])}},{key:"increment",value:function(h,v,f){return Math.min(f+Number(v),h)}},{key:"decrement",value:function(h,v,f){return Math.max(f-v,h)}},{key:"setCellMeta",value:function(h,v,f,g){var m=p.range().setRows(f,f).setColumns(g,g);return{scrollInPixels:{scrollLeft:v,scrollTop:h,scrollCol:g,scrollRow:f},activeRange:m}}},{key:"getCurrent",value:function(h,v){return r.maybe(h).chain(function(f){return f.currentState}).chain(function(f){return f.rangeList}).chain(function(f){return f[0]}).therefore(-1,function(f){return f[v].start})}},{key:"isInRange",value:function(h,v){return h.prev<=v.prev&&h.next>=v.next}},{key:"isNextItem",value:function(h,v){return h.next>v.prev&&h.next<=v.next}},{key:"isPreviousItem",value:function(h,v){return h.prev>v.prev&&h.prev<=v.next}},{key:"isBeforeView",value:function(h,v,f,g){return v.prev===void 0?g<Object.keys(f)[0]:this.isPreviousItem(h,v)||h.prev>v.prev&&h.prev>=v.next}},{key:"isAfterView",value:function(h,v,f,g){return v.prev===void 0?g>Object.keys(f)[0]:this.isNextItem(h,v)||h.next<=v.prev&&h.next<v.next}},{key:"getRowPosition",value:function(h,v,f,g){var m=v[f]||{},E=t.map(m,[["top","prev"],["bottom","next"]]),w=t.map(h,[["top","prev"],["bottom","next"]]);return this.isNextItem(w,E)?this.getScrollBottomPosition(g,f,v):this.isPreviousItem(w,E)?this.getScrollTopPosition(f,v):this.isInRange(w,E)?null:this.getScrollTopPosition(f,v)}},{key:"getColPosition",value:function(h,v,f,g){var m=g[h]||{},E=t.map(m,[["left","prev"],["right","next"]]),w=t.map(v,[["left","prev"],["right","next"]]);return this.isNextItem(w,E)?this.getScrollRightPosition(f,h,g):this.isPreviousItem(w,E)?this.getScrollLeftPosition(h,g):this.isInRange(w,E)?null:this.getScrollLeftPosition(h,g)}},{key:"getNearestRowPosition",value:function(h,v,f,g){var m=v[f]||{},E=t.map(m,[["top","prev"],["bottom","next"]]),w=t.map(h,[["top","prev"],["bottom","next"]]);return this.isBeforeView(w,E,v,f)?{scrollPosition:this.getScrollTopPosition(f,v),scrollDirection:a.SCROLL_TOP}:this.isAfterView(w,E,v,f)?{scrollPosition:this.getScrollBottomPosition(g,f,v),scrollDirection:a.SCROLL_BOTTOM}:null}},{key:"getNearestColumnPosition",value:function(h,v,f,g){var m=v[f]||{},E=t.map(m,[["left","prev"],["right","next"]]),w=t.map(h,[["left","prev"],["right","next"]]);return this.isBeforeView(w,E,v,f)?{scrollPosition:this.getScrollLeftPosition(f,v),scrollDirection:a.SCROLL_LEFT}:this.isAfterView(w,E,v,f)?{scrollPosition:this.getScrollRightPosition(g,f,v),scrollDirection:a.SCROLL_RIGHT}:null}}]),u}();return o},_,P),_.exports=S},70518:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(54505),l(9070),l(60801),l(60742),l(6887),l(83757),l(79301),l(16885),l(63804),l(58815),l(82020),l(80460),l(2102)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a,o,u,c,h){"use strict";var v=function(){function f(g){A(this,f);var m=g.viewModel;this._viewModel=m,this._logicalViewPort=g.viewPortList[0],this._activeCell=new e(g),this._selectionById=!!(g.options&&g.options.selectionConfig&&g.options.selectionConfig.selectionById),this._handler={},this._handler[r.PAGE_UP]=this._handlePageUp.bind(this),this._handler[r.PAGE_DOWN]=this._handlePageDown.bind(this),this._handler[r.END]=this._handleEnd.bind(this),this._handler[r.HOME]=this._handleHome.bind(this),this._handler[r.ARROW_LEFT]=this._handleArrowLeft.bind(this),this._handler[r.ARROW_UP]=this._handleArrowUp.bind(this),this._handler[r.ARROW_RIGHT]=this._handleArrowRight.bind(this),this._handler[r.ARROW_DOWN]=this._handleArrowDown.bind(this),this._rowRects=function(){return{}},this._headerRects=function(){return{}},this._rowCellRects=function(){return{}},this.cellNav=new n(m);var E=new c;this.on=E.on.bind(E)}return C(f,[{key:"exposedAPI",value:function(){return{scrollTo:this.scrollTo.bind(this)}}},{key:"eventList",value:function(){var m=this,E={};return E[s.protected.TABLE_CELL_CLICK]=function(w){return m._rowClicked(w.event)},E[s.internal.TABLE_KEY_PRESS]=function(w){return m._processAndEmitKeyPress(w)},E[s.protected.HEADER_RECTS]=function(w){return m._setHeaderRects(w)},E[s.protected.ROW_RECTS]=function(w){return m._setRowRects(w)},E[s.protected.ROW_CELL_RECTS]=function(w){return m._setRowCellRects(w)},E}},{key:"_rowCellRectsHeaderFallback",value:function(m){var E=this._rowCellRects(m);return Object.keys(E).length===0&&m.row!==void 0&&m.col===void 0?this._headerRects():E}},{key:"scrollTo",value:function(m){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0,scrollToNearestEdge:!1};E.maintainPositionIfInView===void 0&&(E.maintainPositionIfInView=!0),E.scrollToNearestEdge===void 0&&(E.scrollToNearestEdge=!1);var w=this;function I(){if(!(m&&Object.keys(m).length))return new Promise(function(T,N){return N(new Error("The usage of Cell Range argument - "+m+" is not correct in scrollTo API. Please check JSDoc to see the correct usage."))});var M=!1,R=!1;return m.rows&&(m.rows&&m.rows.count>0&&(R=w._scrollToRow(m,E)),m.columns&&m.columns.count>0&&(M=w._scrollToColumn(m,E))),M===!1&&R===!1?new Promise(function(T){T()}):new Promise(function(T){w._viewModel.on("viewDataChanged",T)})}return I()}},{key:"_scrollToColumn",value:function(m,E){var w=E.maintainPositionIfInView,I=E.scrollToNearestEdge,M=Math.min(this._viewModel.dataSize.columns.count-1,m.columns.start),R=Math.min(this._viewModel.dataSize.rows.count-1,m.rows.start),T=this._rowCellRectsHeaderFallback({row:R}),N=this._logicalViewPort.getWidth(),F=this._getScrollRect(),y=!0,x=this.cellNav.getColPosition(M,F,N,T)===null;if(w)if(m.columns.start!==m.columns.end){var O=this.cellNav.getColPosition(Math.min(this._viewModel.dataSize.columns.count-1,m.columns.end),F,N,T)===null;y=!(x&&O)}else y=!x;if(y){var L=void 0,W=o.SCROLL_LEFT;if(I&&!x&&m.columns.start===m.columns.end){var j=this.cellNav.getNearestColumnPosition(F,T,M,N);L=j.scrollPosition,W=j.scrollDirection}else L=this.cellNav.getScrollLeftPosition(M,T);if(W===o.SCROLL_LEFT)y=this._logicalViewPort.setScrollLeftPx(L);else{var H=d.curry(this.cellNav.getScrollRightPosition)(N,M);y=this._logicalViewPort.setScrollRightPx(L,M,H)}}return y}},{key:"_scrollToRow",value:function(m,E){var w=E.maintainPositionIfInView,I=E.scrollToNearestEdge,M=Math.min(this._viewModel.dataSize.rows.count-1,m.rows.start),R=this._logicalViewPort.getHeight(),T=this._rowRects(),N=this._getScrollRect(),F=!0,y=this.cellNav.getRowPosition(N,T,M,R)===null;if(w)if(m.rows.start!==m.rows.end){var x=this.cellNav.getRowPosition(N,T,m.rows.end,R)===null;F=!(y&&x)}else F=!y;if(F){var O=void 0,L=o.SCROLL_TOP;if(I&&!y&&m.rows.start===m.rows.end){var W=this.cellNav.getNearestRowPosition(N,T,M,R);O=W.scrollPosition,L=W.scrollDirection}else O=this.cellNav.getScrollTopPosition(M,T);if(L===o.SCROLL_TOP)F=this._logicalViewPort.setScrollTopPx(O);else{var j=d.curry(this.cellNav.getScrollBottomPosition)(R,M);F=this._logicalViewPort.setScrollBottomPx(O,M,j)}}return F}},{key:"_setRowRects",value:function(m){this._rowRects=m.event.children}},{key:"_setHeaderRects",value:function(m){this._headerRects=m.event.children}},{key:"_setRowCellRects",value:function(m){this._rowCellRects=m.event.children}},{key:"_hasModifier",value:function(m){return!1}},{key:"_getActiveState",value:function(){var m=this._viewModel.getStateByKey(i.protected.ACTIVE_CELL);return m||void 0}},{key:"_processAndEmitKeyPress",value:function(m){var E=m.event,w={keyCode:E.keyCode};w.modifiers=E,w.dataSize={},w.viewPort={},w.dataSize=m.dataSize,w.viewPort=m.viewPort.rangeList[0],w.viewModel=this._viewModel,w.headerRects=this._headerRects,w.rowCellRects=this._rowCellRects,w.currentState=this._getActiveState(),this._keyPressed(w)}},{key:"_rowClicked",value:function(m){var E=p.getRangeForCell(m.row,m.column),w=null;this._selectionById&&(w={id:m.rowId}),this._viewModel.setState(i.protected.ACTIVE_CELL,w,[E])}},{key:"_getPreviousViewCount",value:function(m){var E=this.cellNav.getCurrent(m,"rows"),w=this._rowRects();return this._logicalViewPort.getPreviousViewPortCount(w,E)}},{key:"_getNextViewPortCount",value:function(m){var E=this.cellNav.getCurrent(m,"rows"),w=this._rowRects();return this._logicalViewPort.getNextViewPortCount(w,E)}},{key:"_getLastRowPositionForHeight",value:function(){var m=this._logicalViewPort.getHeight();return d.curry(this.cellNav.getScrollBottomPosition)(m)}},{key:"_getRightColPositionForWidth",value:function(){var m=this._logicalViewPort.getWidth();return d.curry(this.cellNav.getScrollRightPosition)(m)}},{key:"_getScrollRect",value:function(){var m=this._logicalViewPort.getBoundingRect(),E=m.height-this._logicalViewPort.getHeight(),w=m.width-this._logicalViewPort.getWidth();return{top:m.top,left:m.left,bottom:m.bottom-E,right:m.right-w}}},{key:"_handleVertical",value:function(m,E,w){var I=this.cellNav.getCurrent(m,"rows"),M=Math.max(0,this.cellNav.getCurrent(m,"columns")),R=E(I),T=this._getScrollRect(),N=this._logicalViewPort.getWidth(),F=null,y=this.cellNav.getColPosition(M,T,N,this._rowCellRectsHeaderFallback({row:I})),x=this._rowRects(),O=x[R]||{},L=t.map(O,[["top","prev"],["bottom","next"]]),W=t.map(T,[["top","prev"],["bottom","next"]]);this.cellNav.isInRange(W,L)||(F=w(R,x));var j=this.cellNav.setCellMeta(F,y,R,M);return j.scrollInPixels.scrollFn=d.curry(w)(R),j}},{key:"_handlePageUp",value:function(m){var E=d.curry(this.cellNav.decrement)(m.dataSize.rows.start,this._getPreviousViewCount(m)),w=this._handleVertical(m,E,this.cellNav.getScrollTopPosition);return w.topScrollFn=this._logicalViewPort.setScrollTopPx,w}},{key:"_handlePageDown",value:function(m){var E=d.curry(this.cellNav.increment)(m.dataSize.rows.end,this._getNextViewPortCount(m)),w=this._handleVertical(m,E,this._getLastRowPositionForHeight());return w.topScrollFn=this._logicalViewPort.setScrollBottomPx,w}},{key:"_handleArrowUp",value:function(m){var E=d.curry(this.cellNav.decrement)(m.dataSize.rows.start,1);return this._handleVertical(m,E,this.cellNav.getScrollTopPosition)}},{key:"_handleArrowDown",value:function(m){var E=d.curry(this.cellNav.increment)(m.dataSize.rows.end,1);return this._handleVertical(m,E,this._getLastRowPositionForHeight())}},{key:"_hasCtrlModifier",value:function(m){return m.modifiers?m.modifiers.ctrlKey:!1}},{key:"_hasCmdModifier",value:function(m){if(m.modifiers)return m.modifiers.meta||m.modifiers.metaKey}},{key:"_handleHome",value:function(m){if(this._hasCtrlModifier(m))return this._handleCtrlHomeEnd(m,!1);if(!this._hasCmdModifier(m)){var E=function(){return 0};return this._handleHorizontal(m,E,this.cellNav.getScrollLeftPosition)}}},{key:"_handleEnd",value:function(m){if(this._hasCtrlModifier(m))return this._handleCtrlHomeEnd(m,!0);if(!this._hasCmdModifier(m)){var E=function(){return m.dataSize.columns.end},w=this._handleHorizontal(m,E,this._getRightColPositionForWidth());return w.leftScrollFn=this._logicalViewPort.setScrollRightPx,w}}},{key:"_handleCtrlHomeEnd",value:function(m,E){var w=Math.max(0,this.cellNav.getCurrent(m,"rows")),I=m.dataSize.columns.start,M=m.dataSize.rows.start;E===!0&&(I=m.dataSize.columns.end,M=m.dataSize.rows.end);var R=this._rowCellRectsHeaderFallback({row:w}),T=R[I]||{},N=this._rowRects(),F=N[M]||{},y=this._getScrollRect(),x=this._logicalViewPort.getWidth(),O=t.map(T,[["left","prev"],["right","next"]]),L=t.map(F,[["top","prev"],["bottom","next"]]),W=t.map(y,[["left","prev"],["right","next"]]),j=null,H=null;this.cellNav.isInRange(W,O)||(j=this.cellNav.getScrollRightPosition(x,I,R)),this.cellNav.isInRange(W,L)||(H=this.cellNav.getScrollTopPosition(M,N));var K=this.cellNav.setCellMeta(H,j,M,I);return K.scrollInPixels.scrollFn=d.curry(this._getRightColPositionForWidth())(I),K.leftScrollFn=this._logicalViewPort.setScrollRightPx,K}},{key:"_handleHorizontal",value:function(m,E,w){var I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this._getScrollRect(),M=Math.max(0,this.cellNav.getCurrent(m,"rows")),R=this.cellNav.getCurrent(m,"columns"),T=E(R),N=this._rowCellRectsHeaderFallback({row:M}),F=N[T]||{};F.width===a.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN&&(T=this._getCollapseColumnFocus(R,T,N,m.dataSize),T===-1&&(T=R));var y=t.map(F,[["left","prev"],["right","next"]]),x=t.map(I,[["left","prev"],["right","next"]]),O=null,L=this._rowRects(),W=this.cellNav.getRowPosition(I,L,M,this._logicalViewPort.getHeight());this.cellNav.isInRange(x,y)||(O=w(T,N,y));var j=this.cellNav.setCellMeta(W,O,M,T);return j.scrollInPixels.scrollFn=d.curry(w)(T),j}},{key:"_getCollapseColumnFocus",value:function(m,E,w,I){var M=-1,R=E>m,T=I&&I.columns?I.columns.end:0,N=I&&I.columns?I.columns.start:0;if(R)for(var F=E;F<=T;F++){var y=w[F]||{};if(y.width>a.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN){M=F;break}}else for(var x=E;x>=N;x--){var O=w[x]||{};if(O.width>a.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN){M=x;break}}return M}},{key:"_updateScrollRectWithFrozenColumns",value:function(m,E,w){var I=Math.max(0,this.cellNav.getCurrent(m,"rows")),M=this._rowCellRectsHeaderFallback({row:I}),R=M[w.range.columns.end];E.left=R.right}},{key:"_handleArrowLeft",value:function(m){var E=d.curry(this.cellNav.decrement)(m.dataSize.columns.start,1),w=this._getScrollRect(),I=this.cellNav.getScrollLeftPosition;if(h.isFreezeColumnEnabled(this._viewModel)){var M=this._viewModel.getStateByKey(i.protected.FREEZE_COLUMN_CONFIG).value;this._updateScrollRectWithFrozenColumns(m,w,M);var R={freezeColumnConfig:M,nextLeftColumnToBringIntoView:this._logicalViewPort.getFirstVisibleColumn(),originalScrollRect:this._getScrollRect()};I=d.curry(this.cellNav.getScrollLeftPositionWithFrozenColumns)(R)}var T=this._handleHorizontal(m,E,I,w);return T.leftScrollFn=this._logicalViewPort.setScrollLeftPx,T}},{key:"_handleArrowRight",value:function(m){var E=d.curry(this.cellNav.increment)(m.dataSize.columns.end,1),w=this._getRightColPositionForWidth(),I=this._handleHorizontal(m,E,w);return I.leftScrollFn=this._logicalViewPort.setScrollRightPx,I}},{key:"_keyPressed",value:function(m){if(!this._hasModifier(m)){var E=this._handler[m.keyCode];if(E){var w=E(m);w.leftScrollFn=w.leftScrollFn||this._logicalViewPort.setScrollLeftPx,w.topScrollFn=w.topScrollFn||this._logicalViewPort.setScrollTopPx,this._activeCell.setActiveCell(w)}}}}]),f}();return v},_,P),_.exports=S},17104:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(70518)],S=l.dj.d(b,function(n){"use strict";var e=function(t){d(r,t);function r(){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return C(r,[{key:"_hasModifier",value:function(s){var a=s.modifiers,o=a.ctrlKey,u=a.shiftKey,c=a.altKey,h=a.meta;return o||u||c||h}}]),r}(n);return e},_,P),_.exports=S},54863:(_,P,l)=>{var b,S;b=[l(63804)],S=l.dj.d(b,function(C){"use strict";function A(p){function d(r,i){for(var s=Math.max(r,0),a=0;i[s-=1];)a+=i[s].height;return a}function n(r,i,s){var a=Math.max(i,0),o=0;do o+=s[a].height;while(s[a-=1]);return Math.max(0,o-r)}function e(r,i,s){for(var a=Math.max(r,0),o=0;i[a-=1];)o+=i[a].width;if(s)for(var u=0;u<=s.range.columns.end;u++)o-=i[u].width;return o}function t(r,i,s){var a=Math.max(i,0),o=0;do o+=s[a].width;while(s[a-=1]);return Math.max(0,o-r)}return{getScrollLeftPosition:e,getScrollRightPosition:t,getScrollBottomPosition:n,getScrollTopPosition:d}}return A},_,P),_.exports=S},95504:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(25219),l(79301),l(16885)],S=l.dj.d(b,function(p,d,n){var e=function(){function t(r){A(this,t),this.viewModel=r.viewModel,this._viewPortList=r.viewPortList}return C(t,[{key:"eventList",value:function(){var i=this,s={};return s[n.internal.TABLE_RESIZE]=function(a){return i.handleResize(a.event)},s[n.internal.TABLE_MOUNT]=function(a){return i.handleInit(a.event)},s}},{key:"handleInit",value:function(i){var s=i.table;this._viewPortList[0].setContainer(s)}},{key:"_getContainerWidth",value:function(i){if(i)return i.clientWidth}},{key:"handleResize",value:function(i){var s=this._getContainerWidth(i.container),a=this.viewModel.viewPort;a.rangeList[0]=this._viewPortList[0].getViewPort(s),this.viewModel.viewPort=a,p.renderUpdate(this.viewModel,this._viewPortList[0].getBufferedViewPort(s))}}]),t}();return e},_,P),_.exports=S},61383:(_,P,l)=>{var b,S,C=function(){function d(n,e){var t=[],r=!0,i=!1,s=void 0;try{for(var a=n[Symbol.iterator](),o;!(r=(o=a.next()).done)&&(t.push(o.value),!(e&&t.length===e));r=!0);}catch(u){i=!0,s=u}finally{try{!r&&a.return&&a.return()}finally{if(i)throw s}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(25219),l(35981),l(16885),l(79301),l(63804),l(63622),l(2102)],S=l.dj.d(b,function(d,n,e,t,r,i,s){var a=function(){function o(u){p(this,o),this._viewPortList=u.viewPortList,this.viewModel=u.viewModel,this._geomObjectX={scrollLeft:0,translateX:0},this._geomObjectY={translateY:0,scrollTop:0},this._scrollLeft=0,this._scrollTop=0,this._size=new i(this.viewModel),this._headerRects=function(){return{}},this._rowCellRects=function(){return{}},this._rowRects=function(){return{}}}return A(o,[{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var c=this,h={};return h[e.internal.TABLE_SCROLL]=function(v){return c._handler(v.event)},h[e.internal.COMPUTE_TRANSLATEX]=function(v){return c._getTranslateX(v.event)},h[e.internal.COMPUTE_TRANSLATEY_AND_HEIGHT]=function(v){return c._getTranslateYAndHeight(v.event)},h[e.internal.TABLE_WIDTH]=function(v){return c._updateGeomObjectForCols(v.event)},h[e.protected.HEADER_RECTS]=function(v){return c._setHeaderNodes(v)},h[e.protected.ROW_CELL_RECTS]=function(v){return c._setRowCellRects(v)},h[e.protected.ROW_RECTS]=function(v){return c._setRowRects(v)},h[e.internal.SCROLL_COMPONENT_UPDATED]=function(v){return c._setScrollBarUpdate(v.event)},h}},{key:"_setScrollBarUpdate",value:function(c){var h=c.scrollHorizontal;this.viewModel.setState(t.CAN_SCROLL_HORIZONTAL,h)}},{key:"_setHeaderNodes",value:function(c){this._headerRects=c.event.children}},{key:"_setRowCellRects",value:function(c){this._rowCellRects=c.event.children}},{key:"_setRowRects",value:function(c){this._rowRects=c.event.children}},{key:"_rowCellRectsHeaderFallback",value:function(c){var h=this._rowCellRects(c);return Object.keys(h).length===0&&c.row!==void 0&&c.col===void 0?this._headerRects():h}},{key:"_calcMaxHeight",value:function(c){for(var h=this._viewPortList[0].getHeight(),v=0,f=Object.keys(c).sort(function(M,R){return M-R}),g=void 0,m=f.length-1;m>=0&&(g=f[m],v+=c[g].height,!(v>h));m-=1);g=Math.max(g,0);var E=(v-h)/c[g].height,w=g,I=Math.floor(this._size.ROW_HEIGHT*(E+w));return[I+h,I]}},{key:"_calcMaxWidth",value:function(c,h){for(var v=this._viewPortList[0].getWidth(),f=0,g=Object.keys(c).sort(function(R,T){return R-T}),m=void 0,E=g.length-1;E>=0&&(m=g[E],f+=c[m].width,!(f>v));E-=1);m=Math.max(m,0);var w=(f-v)/c[m].width,I=m,M=Math.floor(this._size.COL_WIDTH*(w+I));return[M+v,M]}},{key:"_allColumnsInView",value:function(c){var h=this.viewModel.viewBuffer.rangeList[0],v=this.viewModel.getColumnCount();if(h.columns.count===v)return this._geomObjectX.translateX=0,c.result=this._geomObjectX,this._geomObjectX.translateX}},{key:"_isBufferCountZero",value:function(){var c=this.viewModel.viewBuffer.rangeList[0],h=c.rows.count;return h===0}},{key:"_allRowsInView",value:function(){var c=this.viewModel.viewBuffer.rangeList[0],h=this.viewModel.dataSize.rows.end,v=this.viewModel.dataSize.rows.start,f=c.rows.end,g=c.rows.start;return g===v&&h<=f}},{key:"_scrollExceedsTableWidth",value:function(c){this._updateGeomObjectForCols(c);var h=this._geomObjectX,v=h.maxScroll,f=h.physicalWidth,g=h.childClientWidth;if(!d.isColumnHeaderHidden(this.viewModel)&&this._scrollLeft>=v)return this._geomObjectX.translateX=f-g,this._geomObjectX.translateX}},{key:"_setPostUpdateX",value:function(c){var h=this,v=this.viewModel.getStateByKey("LastScrollColumnFn").value,f=this._viewPortList[0].getFirstBufferedRow(),g=v(this._rowCellRectsHeaderFallback({row:f}));g!==c?setTimeout(function(){h.viewModel.deleteState("LastScrollColumn"),h.viewModel.deleteState("LastScrollColumnFn"),h._viewPortList[0].setScrollLeftPx(g,!0)},0):(this.viewModel.deleteState("LastScrollColumn"),this.viewModel.deleteState("LastScrollColumnFn"))}},{key:"_setPostUpdateY",value:function(c){var h=this,v=this.viewModel.getStateByKey("LastScrollRowFn").value,f=v(this._rowRects());f!==c?window.requestAnimationFrame(function(){h.viewModel.deleteState("LastScrollRow"),h.viewModel.deleteState("LastScrollRowFn"),h._viewPortList[0].setScrollTopPx(f,!0)}):(this.viewModel.deleteState("LastScrollRow"),this.viewModel.deleteState("LastScrollRowFn"))}},{key:"_keyboardScrollTranslateY",value:function(c){var h=this._viewPortList[0].getHeight(),v=this._viewPortList[0].getScrollTop(),f=0,g=this.viewModel.getStateByKey("LastScrollRow");if(g)for(var m=g.value,E=this._rowRects(),w=Object.keys(E),I=0;I<w.length;I+=1){var M=w[I];if(f+=E[M].height,Number(M)===m){this._setPostUpdateY(v);var R=Math.min(v-f+h,v);return this._geomObjectY.translateY=R,c.result=this._geomObjectY,this._geomObjectY.translateY}}}},{key:"_keyboardScrollTranslateX",value:function(c){var h=this._viewPortList[0].getWidth(),v=this._viewPortList[0].getScrollLeft(),f=0,g=this.viewModel.getStateByKey("LastScrollColumn"),m=this._viewPortList[0].getFirstBufferedRow();if(g)for(var E=g.value,w=this._rowCellRectsHeaderFallback({row:m}),I=Object.keys(w),M=0;M<I.length;M+=1){var R=I[M];if(f+=w[R].width,Number(R)===E){this._setPostUpdateX(v);var T=Math.min(v-f+h-1,v);return this._geomObjectX.translateX=T,c.result=this._geomObjectX,this._geomObjectX.translateX}}}},{key:"_computeTranslateY",value:function(c,h){for(var v=Object.keys(h).sort(function(y,x){return y-x}),f=this._geomObjectY,g=f.physScrollY,m=f.scrollHeight,E=f.scrollYPos,w=f.bufferedRowCount,I=0,M=0;M<w;M+=1){var R=v[M];h[R]&&(I+=h[R].height-this._size.ROW_HEIGHT)}var T=m/this._size.ROW_HEIGHT-1,N=g%this._size.ROW_HEIGHT,F=Math.floor(E-I-T*N);return this._geomObjectY.translateY=F,c.result=this._geomObjectY,this._geomObjectY.translateY}},{key:"_scrollExceedsTableHeight",value:function(c,h){var v=this._geomObjectY,f=v.maxScroll,g=v.physicalHeight,m=0;if(this._scrollTop>=f){for(var E=Object.keys(h).length,w=0;w<E;w+=1){var I=Object.keys(h)[w];h[I]&&(m=m+h[I].height)}return this._geomObjectY.translateY=g-m,this._geomObjectY.translateY}}},{key:"_getTranslateYAndHeight",value:function(c){c.result=this._geomObjectY;var h=this._rowRects(),v=this._updateGeomObjectForRows(c,h),f=v.isTranslateYChanged;if(!f)return this._scrollExceedsTableHeight(c,h)||this._keyboardScrollTranslateY(c,h)||this._computeTranslateY(c,h)}},{key:"_additionalBufferedColCountWhenFreezeColumns",value:function(c){var h=function(g,m,E){return E[m+1]&&E[m+1]-E[m]>1},v=c.findIndex(h);return v>-1?v+1:0}},{key:"_computeTranslateX",value:function(c){var h=this._viewPortList[0].getFirstBufferedRow(),v=this._rowCellRectsHeaderFallback({row:h}),f=Object.keys(v).sort(function(y,x){return y-x}),g=this._geomObjectX,m=g.physScrollX,E=g.scrollWidth,w=g.scrollXPos,I=g.bufferedColCount,M=0;s.isFreezeColumnEnabled(this.viewModel)&&(I+=this._additionalBufferedColCountWhenFreezeColumns(f));for(var R=0;R<I;R+=1){var T=f[R];v[T]&&(M+=v[T].width-this._size.COL_WIDTH)}var N=E/this._size.COL_WIDTH-1,F=m%this._size.COL_WIDTH;return this._geomObjectX.translateX=Math.floor(w-M-N*F),c.result=this._geomObjectX,this._geomObjectX.translateX}},{key:"_getTranslateX",value:function(c){return c.result=this._geomObjectX,this._allColumnsInView(c)===0?this._geomObjectX.translateX:this._scrollExceedsTableWidth(c)||this._keyboardScrollTranslateX(c)||this._computeTranslateX(c)}},{key:"_updateGeomObjectForCols",value:function(c){var h=c.headerThead,v=this.viewModel.viewBuffer.rangeList,f=v[0].columns.start,g=this._size.COL_WIDTH*f,m=v[1]?v[1].columns.end:-1;m>-1&&f>m+1&&(g=this._size.COL_WIDTH*(f-(m+1)));var E=this._viewPortList[0].getLastBufferedColumn(),w=this.viewModel.dataSize.columns.count-1,I=Math.min(w,n.calculateFirstVisible(this._size.COL_WIDTH,this._scrollLeft)),M=w*this._size.COL_WIDTH,R=this._viewPortList[0].getWidth(),T=this.viewModel.getColumnCount();if(v[0].columns.count!==T){var N=Math.min(Math.max(0,I-f),E),F=1/0,y=0,x=Math.floor((M-R)/this._size.COL_WIDTH),O=this._viewPortList[0].getFirstBufferedRow(),L=this._rowCellRectsHeaderFallback({row:O});if(x-r.buffers.COL_OVERSCAN<=f&&E===w){var W=this._calcMaxWidth(L,f),j=C(W,2),H=j[0],K=j[1];F=K,y=Math.floor(H)}this._geomObjectX={maxScroll:F,physicalWidth:y,childClientWidth:h.offsetWidth,scrollXPos:g,bufferedColCount:N,scrollWidth:(L[I]?L[I]:L[f]).width,physScrollX:this._scrollLeft,translateX:this._geomObjectX.translateX}}else{var $=this._viewPortList[0].getFirstBufferedRow(),V=this._rowCellRectsHeaderFallback({row:$}),z=Object.keys(V),X=0;if(z.length>0){for(var Z=V[z[0]].left,Y=V[z[0]].right,Q=0;Q<z.length;Q=Q+1){var q=z[Q];V[q].left<Z&&(Z=V[q].left),V[q].right>Y&&(Y=V[q].right)}X=Y-Z}this._geomObjectX.physicalWidth=X}c.result=this._geomObjectX}},{key:"_updateGeomObjectForRows",value:function(c,h){var v=!1,f=this.viewModel.viewBuffer.rangeList,g=f[0].rows.start,m=this._size.ROW_HEIGHT*g,E=this._viewPortList[0].getLastBufferedRow(),w=this.viewModel.dataSize.rows.count-1,I=Math.min(w,n.calculateFirstVisible(this._size.ROW_HEIGHT,this._scrollTop)),M=w*this._size.ROW_HEIGHT,R=this._viewPortList[0].getHeight();if(!this._allRowsInView()&&!this._isBufferCountZero()){var T=Math.min(Math.max(0,I-g),E),N=1/0,F=0,y=Math.floor((M-R)/this._size.ROW_HEIGHT);if(y-r.buffers.ROW_OVERSCAN<=g&&E===w){var x=this._calcMaxHeight(h,g),O=C(x,2),L=O[0],W=O[1];N=W,F=Math.floor(L)}this._geomObjectY={maxScroll:N,physicalHeight:F,scrollYPos:m,bufferedRowCount:T,scrollHeight:(h[I]?h[I]:h[g]).height,physScrollY:this._scrollTop,translateY:this._geomObjectY.translateY}}else{var j=Object.keys(h),H=0;if(j.length>0)for(var K=0;K<j.length;K=K+1)H=h[K].height+H;this._geomObjectY.physicalHeight=H,this._geomObjectY.translateY=0,v=!0}return c.result=this._geomObjectY,{isTranslateYChanged:v}}},{key:"_handler",value:function(c){var h=this.viewModel.viewPort;h.rangeList[0]=this._viewPortList[0].getViewPort(),this._scrollLeft=c.target.scrollLeft,this._scrollTop=c.target.scrollTop,this.viewModel.viewPort=h,d.renderUpdate(this.viewModel,this._viewPortList[0].getBufferedViewPort())}}]),o}();return a},_,P),_.exports=S},91747:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(80460),l(83757)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){function e(t,r){A(this,e);var i=new p;t===void 0&&(t=""),this.config=r,this._emit=i.emit.bind(i),this.on=i.on.bind(i),this._handleKeyDown=this._handleKeyDown.bind(this),this._handleBlur=this._handleBlur.bind(this);var s=document.createElement("div");this._oldValue=t;var a=this._textField=document.createElement("input");a.input="text",a.value=t,a.tabIndex=0,s.appendChild(a),this._domNode=s,a.className="mwTableTextEditor",this._textField.addEventListener("blur",this._handleBlur),this._textField.addEventListener("keydown",this._handleKeyDown)}return C(e,[{key:"_handleBlur",value:function(){this._handleEdit()}},{key:"_handleEdit",value:function(){var r=this._textField.value,i=this._oldValue;i!==r?this._emit("editComplete",{newValue:r,oldValue:i}):this._emit("editCanceled")}},{key:"_handleKeyDown",value:function(r){switch(r.stopPropagation(),r.keyCode){case 27:this._emit("editCanceled");break;case 13:this._handleEdit();break;case d.PAGE_UP:case d.PAGE_DOWN:r.preventDefault();break;default:}}},{key:"setFocus",value:function(){this._textField.setSelectionRange(0,this._textField.value.length),this._textField.focus()}},{key:"getDomNode",value:function(){return this._domNode}},{key:"destroy",value:function(){this._textField.removeEventListener("blur",this._handleBlur),this._textField.removeEventListener("keydown",this._handleKeyDown),delete this._textField,delete this._domNode}},{key:"value",get:function(){return this._textField.value},set:function(r){this._textField.value=r}}]),e}();return n},_,P),_.exports=S},54282:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({HEADER_LABEL:"mw-header-label",HEADER_INDEX:"mw-header-index",ROW_HEADER_LABEL:"mw-row-header-label",RESIZE_AFFORDANCE:"mw-table-resize-affordance",RESIZE_SELECTION_AFFORDANCE:"mw-table-resize-selection",RESIZE_AFFORDANCE_PLACEHOLDER:"mwTableHeaderAffordancePlaceholder"});return C},_,P),_.exports=S},63804:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({COL_WIDTH:82,ROW_HEIGHT:22,MIN_ROW_HEADER_WIDTH:40,MIN_LEFT_HEADER_WIDTH:27,TOOLTIP_MIN_WIDTH:300,ABSOLUTE_MIN:10,COLLAPSE_COLUMN_ABSOLUTE_MIN:1,COLLAPSE_COLUMN_AFFORDANCE_MIN:10,MAX_ROW_HEADER_WIDTH:250}),A=Object.freeze({ROW_OVERSCAN:4,COL_OVERSCAN:3,UNPAGED_COL_LIMIT:12}),p=Object.freeze({EDITABLE_TABLE_CELL:"EditableTableCell",EDITABLE_TREE_CELL:"EditableTreeCell",INTERACTIVE_TABLE_CELL:"InteractiveTableCell"}),d=Object.freeze({ROW:"row",COLUMN:"column",CELL:"cell"}),n=Object.freeze({dimensions:C,buffers:A,cellType:p,rangeType:d,ZERO_HEIGHT_ROWS:12,ZERO_WIDTH_COLS:12,MAX_FROZEN_COLUMNS:5});return n},_,P),_.exports=S},43322:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({SOURCE_SELECTOR:"mw-table-dnd-source",TARGET_SELECTOR_TABLE_BODY:".mw-table-cell",TARGET_SELECTOR_TABLE_HEADER:".mw-table-header-column",TARGET_SELECTOR_TABLE_ROW:".mw-table-row",ROW_VALID_HOVER:"mw-table-dnd-valid-hover",ROW_INVALID_HOVER:"mw-table-dnd-invalid-hover",CONTAINER:"mw-scrolling-div",INSERTION_LINE_CLASS:"mw-table-insertion-line",WHITESPACE:"WHITESPACE",AUTO_EXPAND_TIME:1e3,MARGIN_LEFT_FOR_ROOT:18,ROW_REGIONS:{ROWS:"5 auto 5",CONTAINER:"0 auto 0",INSERT_AS_ROW:"50% 50%"},COLUMN_REGIONS:"50% 50%",dataType:{JSON:"json",TEXT:"text"},targetLifeCycle:{ENTER:"enter",HOVER:"hover",LEAVE:"leave"},modes:["columns","rowSelection"],REORDER:{INSERT_ABOVE:0,INSERT_BELOW:2,INSERT_AS_CHILD:1,ROWS:"reorderRows",VALID_LINE:"mw-table-horizontal-line",INVALID_LINE:"mw-table-horizontal-line-invalid"},REPARENT:{ROWS:"reparentRows"},DROP_TARGET:{TABLE_CELL:"tableCell",CONTAINER:"scrollComponent",INSERTION_LINE:"insertionLine"},TABLE_DEFAULT_TYPE:"mw-table-default-type",TABLE_SOURCE_COLUMN:"TABLE_COLUMN",TREETABLE_SOURCE_COLUMN:"TREETABLE_COLUMN",TABLE_SOURCE_ROW:"TABLE_ROW",TREETABLE_DEFAULT_TYPE:"mw-treetable-default-type",getDragSourceType:A});return C;function A(p,d){if(p===C.modes[0]&&d===C.TABLE_DEFAULT_TYPE)return C.TABLE_SOURCE_COLUMN;if(p===C.modes[0]&&d===C.TREETABLE_DEFAULT_TYPE)return C.TREETABLE_SOURCE_COLUMN}},_,P),_.exports=S},7540:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({TRUE:"true",WHITESPACE:"whiteSpace"});return C},_,P),_.exports=S},62638:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p={enterEditEvent:"enterRowEditMode",editCompleteEvent:"rowEditComplete",editCanceledEvent:"leaveRowEditMode"},d={enterEditEvent:"enterEditMode",editCompleteEvent:"editComplete",editCanceledEvent:"editCancel",editValidationEvent:"editValidation",processEditEvent:"processEdit"},n={enterEditEvent:"enterEditMode",editCompleteEvent:"editComplete",editCanceledEvent:"editCancel",editValidationEvent:"editValidation",processEditEvent:"processEdit"},e={rowLabel:p,tableCell:d,treeCell:n},t=function(){function r(){A(this,r)}return C(r,null,[{key:"getEditEventByType",value:function(s,a){return e[s][a]}}]),r}();return t},_,P),_.exports=S},21141:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({error:{INVALID_UNIT:new Error("Invalid column width unit specified, only 'px' or '%' allowed"),DATA_INDEX_REQUIRED:new Error("The dataIndex property is required in the column configuration")}});return C},_,P),_.exports=S},16885:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({ScrollComponentMounted:"scrollMounted",internal:{SCROLL_COMPONENT_MOUNTED:"scrollMounted",SCROLL_COMPONENT_UPDATED:"scrollUpdated",INTERACTIVE_CELL_CLICK:"interactiveCellClick",TABLE_RESIZE:"tableResized",COL_RESIZE_DONE:"colResized",TABLE_MOUNT:"tableMounted",TABLE_SCROLL:"tableScroll",NODE_PUBLISH:"nodePublish",NODE_SUBSCRIBE:"nodeSubscribe",NODE_UNSUBSCRIBE:"nodeUnsubscribe",BUFFER_DATA:"viewDataChanged",DATA_SIZE:"dataSizeChanged",ROW_META:"pagedRowMetaDataChanged",TBODY_MOUNT:"tbodyMount",COL_HEADER_UPDATE:"colHeaderUpdate",SET_LAST_COLUMN:"setLastColumn",COMPUTE_TRANSLATEX:"computeTranslateX",COMPUTE_TRANSLATEY_AND_HEIGHT:"computeTranslateY_Height",TABLE_WIDTH:"tableWidth",TABLE_HEIGHT:"tableHeight",TABLE_RIGHT_CLICK:"tableRightClick",SELECTION_EVENT:"selectionEvent",DRAG_STARTED:"dragStarted",DRAG_END:"dragEnd",COLUMN_REORDERED:"columnReordered",ROW_DROPPED:"rowDropped",TABLE_KEY_PRESS:"tableKeyPress",CLIPBOARD_CUT:"clipboardCut",CLIPBOARD_COPY:"clipboardCopy",CLIPBOARD_PASTE:"clipboardPaste",DATA_SORTED:"dataSorted",DATASTORE_SELECTION:"dataStoreSelection",UPDATE_SORTSTATE:"_updateSortState",EMIT_SELECTION_EVENT:"emitSelectionEvent",SCROLL_CHANGED:"scrollChanged",RANGE_SELECTION:"rangeSelection"},exposed:{SELECTION_CHANGED:"selectionChanged",HEADER_MENU:"headerMenuRequested",SELECTED_ACTION:"selectedAction",CONTEXT_MENU:"contextMenu",COLUMN_RESIZED:"columnResized",DOUBLE_CLICKED:"doubleClicked",ICON_ACTION:"iconAction",DROP_IN_PROGRESS:"dropInProgress",DROP_COMPLETED:"dropCompleted",DROP_FAILED:"dropFailed",SCROLL_VIEW_CHANGED:"scrollViewChanged"},protected:{TABLE_CELL_CLICK:"tableCellClick",TABLE_DBL_CLICK:"tableDblClick",KEY_PRESS:"keyPress",TABLE_CELL_FOCUS:"tableCellFocus",CELL_DOM_FOCUS_CACHE:"cellDomFocusCache",CELL_FOCUS_KEY:"cellFocusKeyPress",CELL_FOCUS_CLICK:"cellFocusClick",CELL_SELECTION_CLICK:"cellSelectionClick",CELL_SELECTION_KEY:"cellSelectionKeyPress",CELL_DBL_CLICK:"cellDoubleClick",TABLE_SELECTED_ACTION:"tableSelectedAction",NODE_NOTIFY:"nodeNotify",FORCE_LAYOUT:"forceLayout",HEADER_RECTS:"headerRects",ROW_CELL_RECTS:"rowCellRects",ROW_RECTS:"rowRects",COL_HEADER_CLICK:"colHeaderClick",ROW_SELECTION_CLICK:"rowSelectionClick",HEADER_CLICKED:"headerClicked",DOCUMENT_MOUSE_MOVE_INTERVAL:"docMouseMoveInterval",DATA_AREA_MOUSE_MOVE:"dataAreaMouseMove",DOCUMENT_MOUSE_UP:"docMouseUp",SORT_AFFORDANCE_CLICKED:"sortAffordanceClicked",TABLE_COLUMN_SORT:"tableColumnSort",COL_RESIZE:"colResize",COL_HEADER_MOUNT:"colHeaderDidMount",RESIZE_SELECTION_BEGIN:"ResizeSelectionBegin",RESIZE_SELECTION_END:"ResizeSelectionEnd",ALLOW_DRAG_TO_SELECT:"allowDragToSelect"}});return C},_,P),_.exports=S},2541:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({EDITOR:"editorValue",RENDERER:"rendererValue"});return C},_,P),_.exports=S},58692:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({ACTIVE_RIGHT_BORDER:1,SELECTED:2,ACTIVE_SELECTED:4}),A=Object.freeze({selection:C});return A},_,P),_.exports=S},87779:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({ROW_LINES:"ROW_LINES",LIGHT_WEIGHT:"LIGHT_WEIGHT",STANDARD:"STANDARD"}),A=Object.freeze({ROW_LINES:"mw-table-gridstyle-rowlines",LIGHT_WEIGHT:"mw-table-gridstyle-lightweight",COLUMN_LINES:"mw-table-gridstyle-columnlines",STANDARD:"",public_enum:C});return A},_,P),_.exports=S},83757:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({BACKSPACE:8,NUM_START:48,NUM_END:57,SPACE:32,ENTER:13,ALPHA_START:65,ALPHA_END:91,NUMPAD_START:95,NUMPAD_END:112,SYM1_START:185,SYM1_END:193,SYM2_START:219,SYM2_END:222,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,F2:113,CTRL:17,SHIFT:16,META:91,ALT:18,ESCAPE:27,DELETE:46,A:65,C:67,V:86,X:88});return C},_,P),_.exports=S},63622:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(63804),l(79301)],S=l.dj.d(b,function(p,d){var n=function(){function e(t){A(this,e),this._viewModel=t}return C(e,[{key:"COL_WIDTH",get:function(){var r=this._viewModel.getStateByKey(d.COL_WIDTH),i=p.dimensions.COL_WIDTH;return r&&r.value&&(i=r.value),i}},{key:"ROW_HEIGHT",get:function(){var r=this._viewModel.getStateByKey(d.ROW_HEIGHT),i=p.dimensions.ROW_HEIGHT;return r&&r.value&&(i=r.value),i}}]),e}();return n},_,P),_.exports=S},76298:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({MOUSE_LEFT_BUTTON:0,MOUSE_MIDDLE_BUTTON:1,MOUSE_RIGHT_BUTTON:2});return C},_,P),_.exports=S},40748:(_,P,l)=>{var b,S;b=[l(27166),l(74283),l(80144),l(68317),l(23922),l(51961),l(24715),l(28628),l(79708),l(29784),l(83683),l(61699),l(23903),l(70518),l(17104),l(91877),l(21953)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f){"use strict";var g=Object.freeze({AVAILABLE:{CellFocus:[C,c],SingleRowSelection:[d,c],MultiRowSelection:[n,C,c],CellSelection:[e,n,C,c],ColumnResize:t,IndividualColumnSort:r,RowHeaders:i,DragAndDrop:s,Search:o,Clipboard:u,HeaderMenu:a,ScrollSync:f},INTERNAL:{SingleRowSelectionById:[A,c],MultiRowSelectionById:[p,C,c]},INCOMPATIBLE:[[e,d,n,A,p]],CONTROLLERS:[[c,h]],EXPERIMENTAL_ADAPTORS:{SizingAdaptor:v}});return g},_,P),_.exports=S},49333:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({ASYNC:"async",SYNC:"sync"});return C},_,P),_.exports=S},26807:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{AVAILABLE:{COLUMNS:"columns",ROWS:"reorderRows"}}},_,P),_.exports=S},1103:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({TOP:"TOP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",ACTIVE:"ACTIVE",FULCRUM:"FULCRUM",ROW:"ROW",COLUMN:"COLUMN"});return C},_,P),_.exports=S},58815:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({SCROLL_TOP:"top",SCROLL_BOTTOM:"bottom",SCROLL_LEFT:"left",SCROLL_RIGHT:"right"});return C},_,P),_.exports=S},79301:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({CELL:"cellComponent",ROW:"rowComponent",TBODY:"tbodyComponent",TOOLTIP:"TooltipComponent",FLOATING_CONTENT:"FloatingContentComponent"}),A=Object.freeze({ACTIVE_RANGE:"activerange",SELECT_HEADERS:"selectHeaders",SELECT_ROW_HEADERS:"selectRowHeaders",SELECT_CELLS:"selectCells",ROW_HEIGHT:"rowHeight",COL_WIDTH:"colWidth",tableFlexWidth:"tableFlexWidth",origHeaders:"origHeaders",tableBottomLeftAffordanceHeight:"tableBottomLeftAffordanceHeight",TABLE_AFFORDANCE_WIDTH:"tableAffordanceWidth",COLUMN_RESIZED:"columnResized",colResize:"colResize",displaySearch:"displaySearch",dragAndDrop:"dragAndDrop",dragColumns:"dragColumns",dragRows:"dragRows",setDragData:"setDragData",setAvatar:"setAvatar",receiveDrop:"receiveDrop",dragInProgress:"dragInProgress",displayRowHeader:"displayRowHeader",HIDE_COLUMN_HEADER:"hideColumnHeader",DISPLAY_COLUMN_INDEX:"displayColumnIndex",DISPLAY_COLUMN_LABEL:"displayColumnLabel",DISPLAY_ROW_HEADER_INDICES:"displayIndices",rowHeaderWidth:"rowHeaderWidth",CAN_SCROLL_HORIZONTAL:"scrollHorizontal",INTERACTIVE_CHANGE:"interactiveChange",ROW_HEADER_NODE:"rowHeaderNode",VIEWPORT_CHANGED:"viewportChanged",SET_SCROLL_TOP:"setScrollTop",SCROLL_COMPONENT_WIDTH:"scrollComponentWidth",SCROLL_CONTAINER:"scrollComponent",TOTAL_COLUMN_WIDTH:"totalColumnWidth",TBODY:"tbody",TABLE_WIDTH:"tableWidth",VIEWPORT_CONTAINER:"viewportContainer",TRANSLATE_X:"translateX",LOGICAL_VIEWPORT:"logicalViewport",REGISTRATION:"registration",state:{VIEWPORT_CHANGED:"viewportChanged"},publisher:{ROW_HEADER:"rowHeader",ROW_HEIGHTS:"rowHeights",SCROLL_BAR_HEIGHT:"scrollBarHeight",SCROLL_BAR_WIDTH:"scrollBarWidth",TOOLTIP_DISMISS:"tooltipDismiss",FLOATING_CONTENT_DISMISS:"floatingContentDismiss",HEADER_TRANSX:"headerTranslateX",HEADER_ROW_HEIGHT:"headerRowHeight",HEADER_ROW_WIDTH:"headerRowWidth",TOP_LEFT_ROW_HEADER:"topLeftHeaderWidth",SCROLL_COMPONENT_LEFT:"scrollComponentLeft",TRANSFORM_Y_AND_HEIGHT:"translatyeY_Height"},subscriber:{ROW_HEADER_PARENT:"rowHeaderParent",ROW_HEADER_TRANSFORM_Y:"rowHeaderTransformY",ROW_HEADER_HEIGHTS:"rowHeaderHeights",ROW_HEADER:"rowHeader",TOP_LEFT:"topLeft",TOOLTIP_ENTER:"tooltipEnter",TOOLTIP_LEAVE:"tooltipLeave",TOOLTIP_GLOBAL_LEAVE:"tooltipGlobalLeave",FLOATING_CONTENT_ENTER:"floatingContentEnter",FLOATING_CONTENT_LEAVE:"floatingContentLeave",INSERTION_TABLE_BODY:"insertionBody",INSERTION_COLUMN_HEADER:"insertionColumnHeader",DRAG_LEAVE:"dragLeave",DND_START:"dndStart",TABLE_BOTTOM_LEFT_AFFORDANCE:"tableBottomLeftAffordance",HEADER_RIGHT_AFFORDANCE:"headerRightAffordance",TABLE_HAS_VERT_SCROLL:"tableHasVertScroll",HEADER_MIN_HEIGHT:"headerMinHeight",HEADER_TRANSFORMX:"headerTransformX",TBODY_TRANSFORM:"tbodyTransform",TABLE_WIDTH:"tableWidth",HEADER_WIDTH:"headerWidth",TBODY_TRANSFORM_Y:"tBodytransformY",TABLE_HEIGHT:"tableHeight"},protected:{VIEW_DATA:"viewData",ROW_METADATA:"rowMetaData",FIT_LAST_COLUMN:"fitLastColumn",COLLAPSE_COLUMN:"collapseColumn",component:C,UPDATE_CUSTOM_PROPS_FUNC:"updateCUstomPropsFunction",INIT_CUSTOM_PROPS_FUNC:"initializeCustomPropsFunction",PENDING_FOCUS_FUNC:"pendingFuncForView",FOCUSED:"focused",SELECTED:"selected",SELECTION_CLEARED:"selectionCleared",testId:"data-test-id",SORTED:"_sortIndicator",SORTABLE:"sortable",SORT_BEHAVIOUR:"sortBehaviour",DATASTORE_MANAGE_SELECTION:"dataStoreManageSelection",TABLE_SELECTION_BY_ID:"tableSelectionById",CLEAR_SORT:"clearSort",WIDGET_TYPE:"widgetType",TYPE:{TABLE:"Table",TREETABLE:"TreeTable"},HEADER_MENU_AFFORDANCE:"headerMenuAffordance",ACTIVE_CELL:"activeCell",PIVOT:"pivot",EDIT_STATE:"editState",EDIT_TRIGGER:"editTrigger",publisher:{CELL_ENTER:"cellEnter",CELL_HOVER:"cellHover",DND_IN_ACTION:"dndInAction"},GRID_STYLE:"gridStyle",GROUPED_COLUMN_HEADERS:"groupedColumnHeaders",COLUMN_CONFIG:"colconfig",COL_EDIT_STATE:"colEditState",ROW_HEADER_EDIT_STATE:"rowEditState",EDIT_VALIDATION:"editValidation",EDIT_PROCESSING:"editProcessing",USE_DATA_FIELDS:"useEditorRendererDataFields",RESIZE_SELECTION:"resizeSelection",READONLY_VISUALDESIGN:"readOnlyVisualDesign",REORDER_ROWS:"reorderRows",REPARENT_ROWS:"reparentRows",CAN_DRAG:"canDrag",CAN_DROP:"canDrop",TREE_COLUMN_INFO:"treeColumnInfo",WIDGET_ID:"widgetId",ALLOW_DRAG_TO_SELECT:"allowDragToSelect",CAN_DRAG_TO_SELECT:"canDragToSelect",TABLE_DISABLED:"tableDisabled",FREEZE_COLUMN_CONFIG:"freezeColumnConfig",PREVENT_TRUE_FOCUS:"preventTrueFocus"}});return A},_,P),_.exports=S},84960:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({ROW_HEADER:"ROW_HEADER",COLUMN_HEADER:"COLUMN_HEADER",TABLE_CELL:"TABLE_CELL",TREE_CELL:"TREE_CELL",TABLE:"TABLE",TABLE_ROW:"TABLE_ROW",EMPTY_ROW:"EMPTY_ROW",EMPTY_ROW_HEADER:"EMPTY_ROW_HEADER",TREETABLE:"TREETABLE",TREETABLE_ROW:"TREETABLE_ROW",TOPLEFT_HEADER:"TOPLEFT_HEADER",GROUPED_COLUMN_HEADER:"GROUPED_COLUMN_HEADER",SPANNING_COLUMN_HEADER:"SPANNING_COLUMN_HEADER"});return C},_,P),_.exports=S},80531:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({PUBLIC:{TOOLTIP_COMPONENT:"tooltip",DISPLAY_ALWAYS:"displayAlways",DISPLAY_WHEN_TRUNCATED:"displayWhenTruncated"},TRIGGER:{FOCUS:"focus",MOUSE_ENTER:"mouseenter"}});return C},_,P),_.exports=S},9070:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},A=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function p(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e<n.length;e++)t[e]=n[e];return t}else return Array.from(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var n=function(){function e(){d(this,e)}return A(e,null,[{key:"curry",value:function(r){return function i(){var s=arguments;return s.length>=r.length?r.apply(null,s):function(){var a=[];return Array.prototype.push.apply(a,s),Array.prototype.push.apply(a,arguments),i.apply(null,a)}}}},{key:"find",value:function(r,i){for(var s=0;s<r.length&&!i(r[s]);)s++;var a=s<r.length?r[s]:null;return a}},{key:"flatten",value:function(r){var i=[];return r.forEach(function(s){s=Array.isArray(s)?s:[s],Array.prototype.push.apply(i,s)}),i}},{key:"dedupe",value:function(r){return r.reduce(function(i,s){return i.indexOf(s)<0&&i.push(s),i},[])}},{key:"getNestedProp",value:function(r,i){var s=0,a=r;if(a){for(;s<i.length;){if(!a.hasOwnProperty(i[s]))return;a=a[i[s]],s+=1}return a}}},{key:"compose",value:function(){var r=[].concat(Array.prototype.slice.call(arguments)).reverse();return function(){for(var i=r[0].apply(this,arguments),s=1;s<r.length;s+=1)i=r[s].call(this,i);return i}}},{key:"fork",value:function(r,i,s){return function(a){return r(i(a),s(a))}}},{key:"canConvertToNumber",value:function(r){return!isNaN(r)}},{key:"transpose",value:function(r){if(Array.isArray(r)&&r.length>0)return r[0].map(function(i,s){return r.map(function(a){return a[s]})})}},{key:"values",value:function(r){var i=[];for(var s in r)r.hasOwnProperty(s)&&i.push(r[s]);return i}},{key:"range",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return[].concat(p(Array(r).keys())).map(function(s){return s+i})}},{key:"rangeArray",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(r>=0&&i>=0){var s=i-r+1;return e.range(s,r)}}},{key:"arrayMerge",value:function(r,i){return[].concat(p(r),p(i))}},{key:"toPromise",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(i,s){return setTimeout(i,r)})}},{key:"convertSyncFunctionToPromise",value:function(r){var i=arguments;return new Promise(function(s,a){try{var o=r?r.apply(null,i):void 0;return s(o)}catch(u){return a(u)}})}},{key:"deepEqual",value:function(r,i){var s=Object.keys(r),a=Object.keys(i);if(s.length!==a.length)return!1;var o=!0,u=!1,c=void 0;try{for(var h=s[Symbol.iterator](),v;!(o=(v=h.next()).done);o=!0){var f=v.value,g=r[f],m=i[f],E=e.isObject(g)&&e.isObject(m);if(E&&!e.deepEqual(g,m)||!E&&g!==m)return!1}}catch(w){u=!0,c=w}finally{try{!o&&h.return&&h.return()}finally{if(u)throw c}}return!0}},{key:"isObject",value:function(r){return r!=null&&(typeof r>"u"?"undefined":C(r))==="object"}},{key:"classNameArrayEqual",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],s=r.length;if(s!==i.length)return!1;for(var a=s-1;a>=0;a--)if(r[a]!==i[a])return!1;return!0}},{key:"isPromise",value:function(r){return!!r&&typeof r.then=="function"}},{key:"asyncWrapper",value:function(r,i){var s=new Promise(function(a,o){if(!r)a(!0);else{var u=r(i);typeof u=="boolean"?a(u):u.then(function(c){return a(c)})}});return s}},{key:"alt",get:function(){return e.curry(function(r,i,s){return r(s)||i(s)})}}]),e}();return n},_,P),_.exports=S},18158:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(n){if(A(this,d),this.map=this.map.bind(this),this.chain=this.chain.bind(this),this.run=this.run.bind(this),typeof n=="function")this.effect=n;else throw new Error("IO Monad requires a function")}return C(d,[{key:"map",value:function(e){var t=this;return new d(function(){return e(t.effect())})}},{key:"chain",value:function(e){return e(this.effect())}},{key:"run",value:function(){return this.effect()}}],[{key:"of",value:function(e){return new d(function(){return e})}},{key:"from",value:function(e){return new d(e)}}]),d}();return p},_,P),_.exports=S},6887:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(n){A(this,d),this._mapping=n;for(var e in n)this[e]=n[e]}return C(d,[{key:"get",value:function(e){return this._mapping[e]}}],[{key:"map",value:function(e,t){var r={};return Array.isArray(t)&&(r=t.reduce(function(i,s){return i[s[1]]=e[s[0]],i},{})),new d(r)}}]),d}();return p},_,P),_.exports=S},81291:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function p(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var n=function(){function r(){d(this,r)}return C(r,[{key:"isNothing",get:function(){return!1}},{key:"isJust",get:function(){return!1}}],[{key:"fromType",value:function(s,a){return s(a)?new t(s,a):new e}}]),r}(),e=function(r){p(i,r);function i(){return d(this,i),A(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"chain",value:function(a){return this}},{key:"filter",value:function(){return this}},{key:"orElse",value:function(a){return a}},{key:"isNothing",get:function(){return!0}}]),i}(n),t=function(r){p(i,r);function i(s,a){d(this,i);var o=A(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return o._typeCheck=s,o._value=a,o}return C(i,[{key:"chain",value:function(a){return n.fromType(this._typeCheck,a(this._value))}},{key:"filter",value:function(a){return n.fromType(a,this._value)}},{key:"orElse",value:function(){return this._value}},{key:"isJust",get:function(){return!0}}]),i}(n);return n},_,P),_.exports=S},3287:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function e(){A(this,e)}return C(e,null,[{key:"chain",value:function(r){return e}},{key:"therefore",value:function(r,i){return r}}]),e}(),d=function(){function e(){A(this,e)}return C(e,null,[{key:"Something",value:function(r,i){return{chain:function(a){return r.maybe(a(i))},therefore:function(a,o){return o(i)}}}}]),e}(),n=function(){function e(){A(this,e)}return C(e,null,[{key:"maybe",value:function(r){return r===null||typeof r>"u"?p:d.Something(e,r)}}]),e}();return n},_,P),_.exports=S},64920:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(18158)],S=l.dj.d(b,function(p){var d=function(){function n(e){A(this,n),this._viewModel=e}return C(n,[{key:"numRows",get:function(){var t=this;return function(){return t._viewModel.dataSize.rows.count}}},{key:"numColumns",get:function(){var t=this;return function(){return t._viewModel.dataSize.columns.count}}}]),n}();return d},_,P),_.exports=S},71098:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(18158),l(35981),l(9070),l(63804),l(63622),l(79301),l(26118),l(11487),l(25219)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a){var o=function(){function u(c){var h=c.viewModel,v=c.dataSize;A(this,u),this._dataSize=v,this._viewModel=h,this.getBufferedViewPort=this.getBufferedViewPort.bind(this),this._viewModel.setState(r.TABLE_AFFORDANCE_WIDTH,p.from(function(){return 0})),this._viewModel.setState("headerRow",[]),this._viewModel.setState("scrollPositionChanged",!1),this._size=new t(this._viewModel),this._containerWidth=null}return C(u,[{key:"getFirstVisibleRow",value:function(){return 0}},{key:"getLastVisibleRow",value:function(){return 0}},{key:"getVisibleRowCount",value:function(){return 0}},{key:"getFirstVisibleColumn",value:function(){return 0}},{key:"getLastVisibleColumn",value:function(){return 0}},{key:"getVisibleColumnCount",value:function(){return 0}},{key:"getFirstBufferedRow",value:function(){return 0}},{key:"getLastBufferedRow",value:function(){return 0}},{key:"getFirstBufferedColumn",value:function(){return 0}},{key:"getLastBufferedColumn",value:function(){return 0}},{key:"_maxColIndex",value:function(){var h=this._viewModel.getColumnCount();return h-1}},{key:"getViewPort",value:function(h){return s.range().setRows(this.getFirstVisibleRow(),this.getLastVisibleRow()).setColumns(this.getFirstVisibleColumn(),this.getLastVisibleColumn(h))}},{key:"isCollapseColumn",value:function(){var h=this._viewModel.getStateByKey(r.colResize);return h?h.value[r.protected.COLLAPSE_COLUMN]:!1}},{key:"getBufferedViewPort",value:function(h){var v=this.getFirstBufferedColumn(),f=this.getLastBufferedColumn(h),g=this._viewModel.getColumnCount();if(i.notEnoughColumnsToPage(g)&&(v=0,f=this._maxColIndex()),this.isCollapseColumn()){h?this._containerWidth=h:h=this._containerWidth;var m=this.getFirstVisibleColumn(),E=this._getActualLastColumnVisible(m,h),w=this._getActualLastBufferedColumn(E),I=Math.max(f,w);f=I}var M=this.getLastBufferedRow();return a.isColumnHeaderHidden(this._viewModel)&&this._viewModel.getSpanningHeaders()&&(M=Math.min(this._dataSize.numRows()-1,M+this._getNumAdditionalBufferRows())),s.range().setRows(this.getFirstBufferedRow(),M).setColumns(v,f)}},{key:"_getActualLastBufferedColumn",value:function(h){var v=h+e.buffers.COL_OVERSCAN,f=this._maxColIndex();return Math.min(v,f)}},{key:"_getNumAdditionalBufferRows",value:function(){var h=this._viewModel.getSpanningHeaders(),v=0,f=1;return Object.values(h).forEach(function(g){for(;g.parentId;)f+=1,g=h[g.parentId];f>v&&(v=f),f=1}),v+1}},{key:"_getUnifiedColWidth",value:function(h,v){var f=-1,g=null;try{h&&h[0]&&h[0](v)&&(g=h[0](v).value)}catch(m){g=null}return g&&(g.styleData&&g.styleData.hasOwnProperty("maxWidth")&&(f=g.styleData.maxWidth),g.width&&g.width.hasOwnProperty("value")&&(f=g.width.value)),f}},{key:"_getHeaderColWidth",value:function(h,v){var f=h&&h[v]&&h[v].width&&h[v].width.hasOwnProperty("value")?h[v].width.value:-1;return f=Number.isInteger(f)?f:-1,f}},{key:"_getActualLastColumnVisible",value:function(h,v){var f=this._maxColIndex();if(!v)return-1;var g=this._viewModel.getColumnHeaders(),m=null,E=this._viewModel.getStateByKey("viewBuffer");E&&(m=this._viewModel.getColumnMetaDataUnified());for(var w=this._size.COL_WIDTH,I=0,M=f,R=h;R<=f;R++){var T=w,N=this._getHeaderColWidth(g,R),F=this._getUnifiedColWidth(m,R);if(F>-1?T=F:N>-1&&(T=N),I+=T,I>v){M=R;break}}return M}},{key:"setScrollTop",value:function(h){}},{key:"getScrollTop",value:function(){return 0}},{key:"getScrollLeft",value:function(){return 0}},{key:"getWidth",value:function(){return 0}},{key:"getHeight",value:function(){return 0}},{key:"setContainer",value:function(h){var v=this;this._viewModel.setState(r.VIEWPORT_CONTAINER,h);var f=n.curry(d.sum)(e.buffers.ROW_OVERSCAN*-1),g=n.curry(d.sum)(e.buffers.COL_OVERSCAN*-1),m=n.curry(d.sum)(e.buffers.ROW_OVERSCAN),E=n.curry(d.sum)(e.buffers.COL_OVERSCAN),w=p.from(function(){return h.clientHeight}),I=p.from(function(){return h.clientWidth}),M=p.from(function(){return h.scrollLeft}),R=p.from(function(){return h.scrollTop}),T=function(){return v._viewModel.getColumnCount()};this.getScrollTop=function(){return R.run()},this.getScrollLeft=function(){return M.run()},this.getWidth=function(){return I.run()},this.getHeight=function(){return w.run()},this.getBoundingRect=function(){return h.getBoundingClientRect()},this._viewModel.setState(r.TABLE_AFFORDANCE_WIDTH,p.from(function(){return h.offsetWidth-h.clientWidth}));var N=n.curry(d.max2)(0),F=function(Z){Z=Z||e.ZERO_WIDTH_COLS;var Y=v._maxColIndex();return Math.max(Math.min(Y,Z),-1)},y=function(Z){Z=Z||e.ZERO_WIDTH_COLS;var Y=T();return Math.max(Math.min(Y,Z),-1)},x=function(Z){return Math.max(d.min2(Z,v._dataSize.numRows()-1),-1)},O=function(Z){return Math.max(d.min2(Z,v._dataSize.numRows()),0)||e.ZERO_HEIGHT_ROWS},L=function(){var Z=n.curry(d.calculateFirstVisible)(v._size.ROW_HEIGHT);return R.map(Z).run()},W=function(){var Z=n.curry(d.calculateFirstVisible)(v._size.COL_WIDTH);return M.map(Z).run()},j=function(Z,Y){for(var Q=v.getHeight(),q=0,ee=0,oe=!1,se=void 0,he=Object.keys(Z).sort(function(ge,Te){return ge-Te}),fe=he.length-1;fe>=0;fe-=1)if(q=Number(he[fe]),se=Z[q].height,q<=Y&&(ee+=se),ee>=Q){oe=!0;break}if(oe){var le=Y-(q-1),ie=ee-Q;return le=le-Math.ceil(ie/se),le}var re=Q-ee,ce=Math.floor(re/se),ve=Y+1-(q-ce);return ve},H=function(Z,Y){for(var Q=v.getHeight(),q=0,ee=0,oe=!1,se=void 0,he=Object.keys(Z).sort(function(ge,Te){return ge-Te}),fe=0;fe<he.length;fe++)if(q=Number(he[fe]),se=Z[q].height,q>=Y&&(ee+=se),ee>=Q){oe=!0;break}if(oe){var le=q-Y+1,ie=ee-Q;return le=le-Math.ceil(ie/se),le}var re=Q-ee,ce=Math.floor(re/se),ve=q+ce+1-Y;return ve};this.getVisibleColumnCount=function(X){var Z=X?p.from(function(){return X}):I,Y=n.curry(d.roundedDivision)(v._size.COL_WIDTH);return Z.map(Y).chain(y)},this.getVisibleRowCount=function(){var X=n.curry(d.roundedDivision)(v._size.ROW_HEIGHT);return w.map(X).chain(O)};var K=n.fork(d.calculateMaxFirstVisible,T,this.getVisibleColumnCount),$=function(Z){return n.fork(d.calcVisible,W,v.getVisibleColumnCount)(Z)},V=n.fork(d.calculateMaxFirstVisible,this._dataSize.numRows,this.getVisibleRowCount),z=n.fork(d.calcVisible,L,this.getVisibleRowCount);this.getLastVisibleColumn=function(X){return n.compose(F,$)(X)},this.getLastVisibleRow=n.compose(x,z),this.getFirstVisibleColumn=n.compose(function(X){return Math.min(W(),X)},K),this.getPreviousViewPortCount=j,this.getNextViewPortCount=H,this.getFirstVisibleRow=n.compose(function(X){return Math.min(L(),X)},V),this.getFirstBufferedColumn=n.compose(N,g,this.getFirstVisibleColumn),this.getFirstBufferedRow=n.compose(N,f,this.getFirstVisibleRow),this.getLastBufferedRow=n.compose(x,m,this.getLastVisibleRow),this.getLastBufferedColumn=function(X){return n.compose(F,E,v.getLastVisibleColumn)(X)},this.setScrollRightPx=function(X,Z,Y){v._viewModel.setState("LastScrollColumn",Z),v._viewModel.setState("LastScrollColumnFn",Y);var Q=h.scrollLeft;h.scrollLeft=X,v._viewModel.setState("scrollPositionChanged",Q!==h.scrollLeft)},this.setScrollLeftPx=function(X){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;v._viewModel.deleteState("LastScrollColumn"),v._viewModel.deleteState("LastScrollColumnFn");var Y=h.scrollLeft,Q=!0;h.scrollLeft=X,Y===h.scrollLeft&&(Q=!1),v._viewModel.getStateByKey("scrollPositionChanged").value!==!0&&v._viewModel.setState("scrollPositionChanged",Y!==h.scrollLeft);var q=h.scrollWidth-h.clientWidth;return!Z&&X>q&&(v._viewModel.setState("LastScrollColumn",X/v._size.COL_WIDTH),v._viewModel.setState("LastScrollColumnFn",function(){return X})),Q},this.setScrollTopPx=function(X){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;v._viewModel.deleteState("LastScrollRow"),v._viewModel.deleteState("LastScrollRowFn");var Y=h.scrollTop,Q=!0;h.scrollTop=X,Y===h.scrollTop&&(Q=!1),v._viewModel.getStateByKey("scrollPositionChanged").value!==!0&&v._viewModel.setState("scrollPositionChanged",Y!==h.scrollTop);var q=h.scrollHeight-h.clientHeight;return!Z&&X>q&&(v._viewModel.setState("LastScrollRow",X/v._size.ROW_HEIGHT),v._viewModel.setState("LastScrollRowFn",function(){return X})),Q},this.setScrollBottomPx=function(X,Z,Y){v._viewModel.setState("LastScrollRow",Z),v._viewModel.setState("LastScrollRowFn",Y);var Q=h.scrollTop;h.scrollTop=X,v._viewModel.setState("scrollPositionChanged",Q!==h.scrollTop)},this.getScrollComponentDimensions=function(){var X=h.scrollHeight,Z=h.scrollWidth,Y=h.scrollTop,Q=h.scrollLeft,q=h.clientWidth,ee=h.clientHeight;return{scrollHeight:X,scrollWidth:Z,scrollTop:Y,scrollLeft:Q,clientWidth:q,clientHeight:ee}}}}]),u}();return o},_,P),_.exports=S},18730:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(43883),l(55918)],S=l.dj.d(b,function(p,d){var n=function(){function e(t,r){A(this,e),this._viewModel=t,this._propManager=new p({},t,r),this._factory=new d(this._propManager),this._rowHeader=void 0,this._headerEl=[],this._tableComp=void 0}return C(e,[{key:"buildDataComponents",value:function(r){this._propManager.updateProps(r),this._headerEl=this._factory.makeHeaderComponent(),this._propManager.props.displayRowHeader&&(this._rowHeader=this._factory.makeRowHeaderComponent()),this._tableComp=this._factory.makeTableComponent()}},{key:"buildTable",value:function(){var r=this._factory.makeScrollComponent(this._tableComp,this._rowHeader);return[r,this._headerEl]}},{key:"buildOuterWrapper",value:function(){return this._factory.makeWrapperComponent(this.buildTable())}}]),e}();return n},_,P),_.exports=S},3649:(_,P,l)=>{var b,S,C=function(){function d(n,e){var t=[],r=!0,i=!1,s=void 0;try{for(var a=n[Symbol.iterator](),o;!(r=(o=a.next()).done)&&(t.push(o.value),!(e&&t.length===e));r=!0);}catch(u){i=!0,s=u}finally{try{!r&&a.return&&a.return()}finally{if(i)throw s}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(49333),l(79301),l(11487)],S=l.dj.d(b,function(d,n,e){var t=function(){function r(i,s,a){p(this,r),this._pendingRender=null,this._render=this._triggerRender,this._viewModel=i,this._renderer=s,this._build=a,i.on("dataSizeChanged",this._dataSizeChanged.bind(this)),i.on("viewDataChanged",this._viewDataChanged.bind(this)),i.on("renderTypeChanged",this._renderTypeChanged.bind(this))}return A(r,[{key:"_renderTypeChanged",value:function(s){var a=s.type;switch(a){case d.ASYNC:this._render=this._requestRender;break;case d.SYNC:this._render=this._triggerRender;break;default:throw new Error("Incorrect render type provided: "+a)}}},{key:"_dataSizeChanged",value:function(){this._removeDirtyStates(),this._renderer.resize()}},{key:"_removeDirtyStates",value:function(){var s=this._viewModel.getStateByKey(n.protected.SORTED);if(s&&s.rangeList){var a=s.rangeList[0].columns.start;this._viewModel.clearSortState(e.range().setColumns(a,a))}}},{key:"_requestRender",value:function(){var s=this;this._pendingRender===null&&(this._pendingRender=window.requestAnimationFrame(function(){s._triggerRender(),s._pendingRender=null}))}},{key:"_triggerRender",value:function(){var s=this._build.buildTable(),a=C(s,2),o=a[0],u=a[1];this._renderer.render(o,u)}},{key:"_viewDataChanged",value:function(s){this.buffEnd=this._viewModel.viewBuffer.rangeList[0].rows.end,this._build.buildDataComponents(s),this._render()}}]),r}();return t},_,P),_.exports=S},58375:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(72989),l(25219),l(79301)],S=l.dj.d(b,function(p,d,n){var e=function(){function t(r,i,s){var a=this;A(this,t),this._viewModel=r,this._adaptorList=i,this._viewModel.viewPortList=s,this._handlingUserInteraction=!1,this._triggerRender=!1,this._handleMetaDataUpdate=this._handleMetaDataUpdate.bind(this),this._handleMetaDataFlags=this._handleMetaDataFlags.bind(this),this.eventCallback=this.eventCallback.bind(this),this.throttledRender=p(d.renderUpdate,16.666666666666668),this.destroy=this.destroy.bind(this),this._destroyed=!1,r.on(n.REGISTRATION,function(){a.throttledRender(a._viewModel)}),r.on(n.protected.SELECTED,this._handleMetaDataUpdate),r.on(n.protected.FOCUSED,this._handleMetaDataUpdate),r.on(n.protected.SORTED,this._handleMetaDataUpdate),r.on(n.protected.EDIT_STATE,this._handleMetaDataUpdate),r.on(n.protected.COL_EDIT_STATE,this._handleMetaDataUpdate),r.on(n.protected.ROW_HEADER_EDIT_STATE,this._handleMetaDataUpdate),r.on(n.protected.ROW_HEIGHT,this._handleMetaDataUpdate),r.on(n.protected.COL_WIDTH,this._handleMetaDataUpdate),r.on(n.protected.EDIT_VALIDATION,this._handleMetaDataUpdate),r.on(n.protected.EDIT_PROCESSING,this._handleMetaDataUpdate),r.on(n.COLUMN_RESIZED,this._handleMetaDataFlags),r.on(n.protected.COLUMN_CONFIG,this._handleMetaDataFlags),r.on(n.protected.TABLE_DISABLED,this._handleMetaDataUpdate),r.on(n.HIDE_COLUMN_HEADER,this._handleMetaDataUpdate)}return C(t,[{key:"_handleMetaDataFlags",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};i.value===!0&&this._handleMetaDataUpdate(i)}},{key:"_handleMetaDataUpdate",value:function(){this._handlingUserInteraction?this._triggerRender=!0:this.throttledRender(this._viewModel)}},{key:"destroy",value:function(){this.throttledRender.cancel(),this._destroyed=!0,this._adaptorList=null,this._viewModel=null}},{key:"eventCallback",value:function(i,s){if(this._destroyed!==!0){s=s||{},this._handlingUserInteraction=!0,this._adaptorList.handleEvent(i,{dataSize:this._viewModel.dataSize,viewPort:this._viewModel.viewPort,event:s});var a=this._viewModel.getStateByKey("scrollPositionChanged")||{value:!1};this._triggerRender&&!a.value&&this.throttledRender(this._viewModel),this._triggerRender=!1,this._viewModel.setState("scrollPositionChanged",!1),this._handlingUserInteraction=!1}}}]),t}();return e},_,P),_.exports=S},94:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(18730),l(3649),l(10505),l(58375),l(25219)],S=l.dj.d(b,function(p,d,n,e,t){var r=function(){function i(s,a,o){A(this,i),this._viewModel=s,this._viewPortList=o,this._adaptorList=a;var u=new e(this._viewModel,this._adaptorList,this._viewPortList);this.destroyInteractiveEvents=u.destroy.bind(u),this._buildComponents=new p(this._viewModel,u.eventCallback),this._render=new n(this._buildComponents.buildOuterWrapper(),this._viewModel)}return C(i,[{key:"mount",value:function(){var a=this._render.mount();return this._incomingData=new d(this._viewModel,this._render,this._buildComponents),t.renderUpdate(this._viewModel,this._viewPortList[0].getBufferedViewPort()),this._render.resize(),a}},{key:"unmount",value:function(){this.destroyInteractiveEvents(),this._render.unmount(),this._viewPortList=null,this._viewModel=null,this._adaptorList=null,this._render=null}},{key:"domNode",get:function(){return this._render.domNode}}]),i}();return r},_,P),_.exports=S},10505:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79301),l(85084)],S=l.dj.d(b,function(p,d){var n=function(){function e(t,r){A(this,e),this._container=document.createElement("div"),this._container.style.height="100%",this._container.style.width="100%",this._table=t,this._viewModel=r}return C(e,[{key:"mount",value:function(){return this._tableComponent=d.render(this._table,this._container),this.resize(),this._tableComponent}},{key:"render",value:function(r,i){var s=this._viewModel.getStateByKey(p.protected.EDIT_TRIGGER)?this._viewModel.getStateByKey(p.protected.EDIT_TRIGGER):null,a=this._viewModel.getStateByKey(p.protected.EDIT_STATE)?this._viewModel.getStateByKey(p.protected.EDIT_STATE).value:!1,o=this._viewModel.getStateByKey(p.protected.EDIT_PROCESSING)?this._viewModel.getStateByKey(p.protected.EDIT_PROCESSING).value:!1;this._tableComponent&&this._tableComponent.setState({scrollComponent:r,header:i,editTrigger:s,editState:a,editProcessing:o})}},{key:"resize",value:function(){this._tableComponent._handleResize(this._container),this._tableComponent._handleResize(this._container)}},{key:"unmount",value:function(){d.unmountComponentAtNode(this._container),this._container.parentNode&&this._container.parentNode.removeChild(this._container),this._container=null,this._tableComponent=null,this._table=null,this._viewModel=null}},{key:"domNode",get:function(){return this._container}}]),e}();return n},_,P),_.exports=S},44105:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79708),l(58692),l(63804)],S=l.dj.d(b,function(p,d,n){"use strict";var e={enableEdit:!1,topLeftRowHeaderLabel:{}},t={displayIndices:!0},r=3,i=function(o){if(Array.isArray(o.features)){var u=o.features.find(function(c){return c instanceof p});if(u)return t}},s=function(){function a(){A(this,a)}return C(a,null,[{key:"getRowHeaderConfig",value:function(u){var c=i(u);if(!(!c&&!u.rowModel)){var h=Object.assign({},e,c);return u.rowModel&&u.rowModel.rowHeaderConfig?Object.assign({},h,u.rowModel.rowHeaderConfig):h}}},{key:"getLabels",value:function(u,c,h){var v=[],f=h-c+1;if(f>0){v.length=f;for(var g=c;g<=h;g++){var m=u[0](g);if(m&&m.value&&m.value.label!==void 0){var E=m.value.label||"";v[g-c]={label:E,rowIndex:g}}}}return v}},{key:"getHeaderPaddingSize",value:function(){return r}},{key:"getRowHeaderMaxWidth",value:function(){return n.dimensions.MAX_ROW_HEADER_WIDTH}},{key:"getSelectedRows",value:function(u,c,h){for(var v=Math.max(u.rows.start,c.rows.start),f=Math.min(u.rows.end,c.rows.end),g=v;g<=f;g+=1)h.mapping[g]=d.selection.SELECTED}},{key:"getSelectionMap",value:function(u){var c=u.metadata,h=c===void 0?{selections:[]}:c,v=u.viewBuffer,f=h.selections,g=h.selectionById,m={count:0,mapping:[]};if(g)Object.keys(f).forEach(function(w){return m.mapping[w]=d.selection.SELECTED});else for(var E=0;E<f.length;E+=1)f[E].rows.start<=v.rows.end&&f[E].rows.end>=v.rows.start&&a.getSelectedRows(f[E],v,m);return function(w){return m.mapping[w]||0}}}]),a}();return s},_,P),_.exports=S},26118:(_,P,l)=>{var b,S,C=function(){function d(n,e){var t=[],r=!0,i=!1,s=void 0;try{for(var a=n[Symbol.iterator](),o;!(r=(o=a.next()).done)&&(t.push(o.value),!(e&&t.length===e));r=!0);}catch(u){i=!0,s=u}finally{try{!r&&a.return&&a.return()}finally{if(i)throw s}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(9070),l(81291),l(63804),l(79301),l(87779)],S=l.dj.d(b,function(d,n,e,t,r){"use strict";var i=0,s=Object.freeze({displayIndices:!1,displayColumnLabel:!0,hideColumnHeader:!1});function a(){return i}function o(m,E,w){var I={columns:[],spanningConfig:[]},M={generatedId:w};if(m.children){if(i=i+1,E!==void 0){var R=m.label,T=m.columnId,N=m.headerEditor,F=m.headerRenderer,y=m.sortType,x=m.sortFirst,O=m.headerMenu,L=m.groupLength,W=m.colStartIndex,j=m.colEndIndex,H=m.reorder,K=m.resizable,$=m.complexHeaderStyle,V=w===void 0?"."+E:w+"."+E;M={generatedId:T||V,columnId:T||V,label:R,parentId:w,headerEditor:N,headerRenderer:F,sortType:y,sortFirst:x,headerMenu:O,groupLength:L,colStartIndex:W,colEndIndex:j,reorder:H,resizable:K,complexHeaderStyle:$,complexHeader:!0},I.spanningConfig.push(M)}m.children.forEach(function(z,X){var Z=o(z,X,M.generatedId);I.columns=I.columns.concat(Z.columns),I.spanningConfig=I.spanningConfig.concat(Z.spanningConfig)})}else m.parentId=w,I.columns=[m];return I}function u(m){var E={},w=!0,I=!1,M=void 0;try{for(var R=m[Symbol.iterator](),T;!(w=(T=R.next()).done);w=!0){var N=T.value,F=N,y=F.label,x=F.parentId,O=F.columnId,L=F.headerRenderer,W=F.headerEditor,j=F.sortType,H=F.sortFirst,K=F.headerMenu,$=F.groupLength,V=F.colStartIndex,z=F.colEndIndex,X=F.reorder,Z=F.resizable,Y=F.complexHeaderStyle,Q=F.complexHeader;E[F.generatedId]={label:y,parentId:x,columnId:O,headerRenderer:L,headerEditor:W,sortType:j,sortFirst:H,headerMenu:K,groupLength:$,colStartIndex:V,colEndIndex:z,reorder:X,resizable:Z,complexHeaderStyle:Y,complexHeader:Q}}}catch(q){I=!0,M=q}finally{try{!w&&R.return&&R.return()}finally{if(I)throw M}}return E}var c=function(E){return E.length>0},h=function(E){return E.dataIndex>=0||E.complexHeader===!0},v=function(E){return E.width.unit==="px"||E.width.unit==="%"&&!E.parentId||E.width.unit===""||!E.width.value&&!E.width.unit},f=function(){function m(){p(this,m)}return A(m,null,[{key:"getLevelsOfHeaders",value:function(){return a()}},{key:"parseViewModelWithConfig",value:function(w){var I=w.columnModel,M=I===void 0?{}:I,R=w.viewModel,T=R===void 0?{}:R,N=w.attributes,F=N===void 0?{}:N,y=d.alt(m.initializeConfiguredHeaders,function(){return{columns:[]}},{columnConfig:M.columnConfig}),x=y.spanning,O=y.columns,L=O||[],W=m.validateColPct(L),j=C(W,2),H=j[0],K=j[1],$=m.initialColumnHeaderConfig(M.columnHeaderConfig);return g(L,K,H),T.setColumnHeaderConfig($),T.setColumnHeaders(L),T.setSpanningHeaders(x),m.setAttributes(T,F),T}},{key:"isEditorConfigured",value:function(w){var I=!1;if(w&&w.length){for(var M=0;M<w.length;M++)if(!(w[M]&&w[M].editor==null)&&!w[M].readonly){I=!0;break}}return I}},{key:"initialColumnHeaderConfig",value:function(w){return Object.assign({},s,w)}},{key:"enoughColumnsToPage",value:function(w){return w>=e.buffers.UNPAGED_COL_LIMIT}},{key:"notEnoughColumnsToPage",value:function(w){return!m.enoughColumnsToPage(w)}},{key:"parseHeaderConfig",value:function(w,I){var M=w.label,R=M===void 0?null:M,T=w.dataIndex,N=T===void 0?-1:T,F=w.width,y=F===void 0?{}:F,x=w.renderer,O=x===void 0?null:x,L=w.editor,W=L===void 0?null:L,j=w.interactiveRenderer,H=j===void 0?null:j,K=w.sortType,$=K===void 0?"":K,V=w.sortFirst,z=V===void 0?void 0:V,X=w.hidden,Z=X===void 0?!1:X,Y=w.hideable,Q=Y===void 0?!0:Y,q=w.readonly,ee=q===void 0?!1:q,oe=w.columnId,se=oe===void 0?null:oe,he=w.headerMenu,fe=he===void 0?!1:he,le=w.headerRenderer,ie=le===void 0?null:le,re=w.headerEditor,ce=re===void 0?null:re,ve=w.parentId,ge=ve===void 0?void 0:ve,Te=w.colStartIndex,Pe=Te===void 0?-1:Te,Le=w.colEndIndex,ct=Le===void 0?-1:Le,st=w.reorder,ot=st===void 0?!0:st,nt=w.columnHeaderIndex,Rt=nt===void 0?-1:nt,Yt=w.resizable,kt=Yt===void 0?void 0:Yt,Ft=w.complexHeader,Bt=Ft===void 0?!1:Ft;H&&(W=null,O=null);var me={label:R,dataIndex:N,width:y,renderer:O,editor:W,interactiveRenderer:H,sortType:$,sortFirst:z,hidden:Z,hideable:Q,readonly:ee,columnId:se!==null?se.toString():I.toString(),headerMenu:fe,headerRenderer:ie,headerEditor:ce,colStartIndex:Pe,colEndIndex:ct,parentId:ge,reorder:ot,columnHeaderIndex:Rt,resizable:kt,complexHeader:Bt};return n.fromType(h,me).filter(v).orElse(null)}},{key:"initializeConfiguredHeaders",value:function(w){var I=w.columnConfig,M=I===void 0?[]:I,R=o({children:M}),T=u(R.spanningConfig),N=n.fromType(c,R.columns).chain(function(F){return F.map(m.parseHeaderConfig)}).chain(function(F){return F.filter(function(y){return y})});return{spanning:T,columns:N.orElse(null)}}},{key:"validateColPct",value:function(w){var I=0,M=0,R=-1;w.forEach(function(N,F){if(N.width&&m.validateGeoVal(N.width,"%")){var y=Math.floor(Math.abs(N.width.value));I+=y,y>M&&(R=F,M=y)}});var T=100-I;return T<1&&(R=-1),[T,R]}},{key:"getTbodyHeaderClass",value:function(w){return w?"mw-tbody-all-columns":"mw-tbody-paged-columns"}},{key:"getTableHeaderClass",value:function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return I?"mw-table-freeze-column":w?"":"mw-table-paged-columns"}},{key:"getPercentColumnPageWidth",value:function(w){var I=w.headers,M=I===void 0?[]:I,R=w.allColumnsRendered,T=R===void 0?!1:R;function N(F){if(F.width)return F.width.unit==="%"}return T&&d.find(M,N)?"100%":null}},{key:"validateGeoVal",value:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=w.value,M=w.unit,R=arguments[1];return!isNaN(parseFloat(I))&&I!==1/0&&(!R||M===R)}},{key:"validateForNaturalNumber",value:function(w){var I=function(){return!(w!==void 0&&(typeof w!="number"||!Number.isInteger(w)||w<=0))}();if(!I)throw new Error("Error: Invalid numberOfGutters option, numberOfGutters should be a natural number")}},{key:"setAttributes",value:function(w,I){function M(K,$){$=Math.max(e.dimensions.ABSOLUTE_MIN,$),m.validateGeoVal({value:$})&&w.setState(K,$)}function R(K,$){r.hasOwnProperty($)&&w.setState(K,$)}function T(K,$){w.setState(K,$)}function N(K,$){w.setState(K,$)}function F(K,$){w.setState(K,$)}function y(K,$){w.setState(K,$)}function x(K,$){m.validateForNaturalNumber($),w.setState(K,$)}for(var O=function($){switch($){case"minColWidth":return M.bind(this,t.COL_WIDTH);case"minRowHeight":return M.bind(this,t.ROW_HEIGHT);case"gridStyle":return R.bind(this,t.protected.GRID_STYLE);case"groupedColumns":return y.bind(this,t.protected.GROUPED_COLUMN_HEADERS);case"numberOfGutters":return x.bind(this,"numberOfGutters");case"useEditorRendererDataFields":return T.bind(this,t.protected.USE_DATA_FIELDS);case"resizeSelection":return N.bind(this,t.protected.RESIZE_SELECTION);case"readOnlyVisualDesign":return F.bind(this,t.protected.READONLY_VISUALDESIGN);default:return function(V){return V}}},L=Object.keys(I),W=L.length,j=void 0,H=0;H<W;H++)j=L[H],O(j)(I[j])}}]),m}();return f;function g(m){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,w=arguments[2];return E>-1&&(m[E].width.value+=w),m}},_,P),_.exports=S},23903:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(78858)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r),C(i,[{key:"emits",get:function(){return[]}}]);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s.adaptor,a}return C(i,[{key:"cut",value:function(){return this.adaptor.cut()}},{key:"copy",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.adaptor.copy(a)}},{key:"paste",value:function(){return this.adaptor.paste()}},{key:"exposedAPI",value:function(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}},{key:"exposedTreeTableAPIs",value:function(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},24715:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(68238),l(16885)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(a,o){A(this,s);var u=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return u.adaptor=a.adaptor,u.adaptor.setConfig(o),a.adaptor.on(t.protected.COL_RESIZE,function(c){return u._handleResize(c)}),a.adaptor.on(t.internal.COL_RESIZE_DONE,function(c){return u._handleResizeDone(c)}),u}return C(s,[{key:"exposedAPI",value:function(){return{}}},{key:"_handleResize",value:function(o){this.adaptor.setColumnResize(o)}},{key:"_handleResizeDone",value:function(o){this.emit(t.exposed.COLUMN_RESIZED,o)}},{key:"listensOn",get:function(){return[t.protected.COL_RESIZE]}},{key:"emits",get:function(){return[t.exposed.COLUMN_RESIZED]}},{key:"treeTableEmits",get:function(){return[t.exposed.COLUMN_RESIZED]}}],[{key:"config",value:function(o){var u=function(c){d(h,c);function h(v){return A(this,h),p(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,v,o))}return h}(s);return u}},{key:"adaptor",get:function(){return e}}]),s}(n);return r},_,P),_.exports=S},29784:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(74270),l(16885)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(a){A(this,s);var o=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return o.adaptor=a.adaptor,a.adaptor.on(t.exposed.DROP_COMPLETED,function(u){return o._emitDropEvent(t.exposed.DROP_COMPLETED,u)}),a.adaptor.on(t.exposed.DROP_FAILED,function(u){return o._emitDropEvent(t.exposed.DROP_FAILED,u)}),a.adaptor.on(t.exposed.DROP_IN_PROGRESS,function(u){return o._emitDropEvent(t.exposed.DROP_IN_PROGRESS,u)}),o}return C(s,[{key:"_emitDropEvent",value:function(o,u){this.emit(o,u)}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[t.exposed.DROP_IN_PROGRESS,t.exposed.DROP_COMPLETED,t.exposed.DROP_FAILED]}},{key:"treeTableEmits",get:function(){return[t.exposed.DROP_IN_PROGRESS,t.exposed.DROP_COMPLETED,t.exposed.DROP_FAILED]}}],[{key:"adaptor",get:function(){return e}}]),s}(n);return r},_,P),_.exports=S},27166:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(54505),l(9070),l(80460),l(45100),l(6699)],S=l.dj.d(b,function(d,n,e,t,r){"use strict";var i=function(){function s(a){var o=this;p(this,s),this.adaptor=a.adaptor,this.eventCallback=a.eventCallback;var u=new e;this._emit=u.emit.bind(u),this.on=u.on.bind(u),this._events={},this._isFocusById=this.adaptor.isFocusManagedById(),a.adaptor.on("cellFocusClick",function(c){return o._rowClicked(c)}),a.adaptor.on("cellFocusKeyPress",function(c){return o._keyPressed(c)})}return A(s,[{key:"exposedAPI",value:function(){return{setCellFocus:this.setCellFocus.bind(this),getFocusedCell:this.getFocusedCell.bind(this)}}},{key:"_rowClicked",value:function(o){var u=d.getRangeForCell(o.row,o.column),c={range:[u],row:{id:o.rowId}};this.adaptor.setFocusState(c),o.emitCellFocused!==!1&&this._emit("cellFocused",this._getPayLoadToEmitCellFocusedEvent(c,o.columnId))}},{key:"_getPayLoadToEmitCellFocusedEvent",value:function(o,u){return this._isFocusById?{focusedCell:{column:o.range[0].columns.start,id:o.row.id,columnId:u}}:o.range[0]}},{key:"_keyPressed",value:function(o){var u={range:[o.range],row:{id:o.row?o.row.id:void 0}};this.adaptor.setFocusState(u)}},{key:"setCellFocus",value:function(o){var u=this;return this._isFocusById?this._setCellFocusById(o):n.convertSyncFunctionToPromise(function(){return u.adaptor.setFocusState({range:o})})}},{key:"_setCellFocusById",value:function(o){var u=this;if(o&&(typeof o>"u"?"undefined":C(o))==="object"&&o.hasOwnProperty("id")&&o.hasOwnProperty("column"))return this.adaptor.getFocusedCellRange(o.id,o.column).then(function(c){if(c){var h={range:[c],row:{id:o.id}};u.adaptor.setFocusState(h)}else throw new Error("The cell to be setCellFocus is not in the view")});if(o&&(typeof o>"u"?"undefined":C(o))==="object"&&r.isObjectEmpty(o))return this.adaptor.setFocusState(null),Promise.resolve();throw new Error("Expected: cellInfo object or empty object to signify no focus. Usage: setCellFocus({id: 'a', column: 5}) or setCellFocus({})")}},{key:"getFocusedCell",value:function(){var o=this.adaptor.getFocusState();return this._isFocusById?this._getFocusedCellById(o):this._getFocusedCellByRange(o)}},{key:"_getFocusedCellByRange",value:function(o){var u={};return o&&o.rangeList[0]&&(u.row=o.rangeList[0].rows.start,u.column=o.rangeList[0].columns.start),u}},{key:"_getFocusedCellById",value:function(o){var u={};return o&&o.rangeList[0]&&o.value&&(u.column=o.rangeList[0].columns.start,u.id=o.value),u}},{key:"emits",get:function(){return["cellFocused"]}},{key:"listensOn",get:function(){return["cellFocusClick","cellFocusKeyPress"]}}],[{key:"adaptor",get:function(){return t}}]),s}();return i},_,P),_.exports=S},79708:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function p(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[l(486)],S=l.dj.d(b,function(n){"use strict";var e=function(){function t(r,i){d(this,t),this.adaptor=r.adaptor,this.adaptor.setConfig(i)}return C(t,[{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[]}}],[{key:"config",value:function(i){var s=function(a){p(o,a);function o(u){return d(this,o),A(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,u,i))}return o}(t);return s}},{key:"adaptor",get:function(){return n}}]),t}();return e},_,P),_.exports=S},83683:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(45394),l(16885)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(a){A(this,s);var o=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return o.adaptor=a.adaptor,a.adaptor.on(t.protected.HEADER_CLICKED,function(u){return o._handleHeaderMenu(u)}),o}return C(s,[{key:"exposedAPI",value:function(){return{}}},{key:"_handleHeaderMenu",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.emit(t.exposed.HEADER_MENU,o)}},{key:"emits",get:function(){return[t.exposed.HEADER_MENU]}}],[{key:"adaptor",get:function(){return e}}]),s}(n);return r},_,P),_.exports=S},21953:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(9070),l(62534),l(16885)],S=l.dj.d(b,function(n,e,t,r){"use strict";var i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u.adaptor=o.adaptor,o.adaptor.on(r.internal.SCROLL_CHANGED,function(c){return u._emitScrollEvent(c)}),u}return C(a,[{key:"_emitScrollEvent",value:function(u){this.emit("scrollViewChanged",u)}},{key:"scrollToPosition",value:function(u){var c=this;function h(){if(typeof u.scrollTop=="number"&&typeof u.scrollLeft=="number"||typeof u.scrollTop=="number"&&u.scrollLeft===void 0||typeof u.scrollLeft=="number"&&u.scrollTop===void 0)c.adaptor.scrollToPosition(u);else throw new Error(`scrollToPosition needs scrollTop, scrollLeft, or both set as properties as positive integers.
Examples:
scrollToPosition({ scrollTop: 30 })
scrollToPosition({ scrollTop: 30, scrollLeft: 50 })`)}return e.convertSyncFunctionToPromise(function(){return h()})}},{key:"getScrollComponentDimensions",value:function(){return this.adaptor.getScrollComponentDimensions()}},{key:"exposedAPI",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this)}}},{key:"exposedTreeTableAPIs",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this)}}},{key:"emits",get:function(){return[r.exposed.SCROLL_VIEW_CHANGED]}},{key:"treeTableEmits",get:function(){return[r.exposed.SCROLL_VIEW_CHANGED]}}],[{key:"adaptor",get:function(){return t}}]),a}(n);return i},_,P),_.exports=S},61699:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(62683)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(e,t){A(this,n),this.adaptor=e.adaptor,this.adaptor.setConfig(t)}return C(n,[{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return p}}]),n}();return d},_,P),_.exports=S},51961:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(11487),l(80460),l(13568),l(16885),l(83757)],S=l.dj.d(b,function(n,e,t,r,i){"use strict";var s=function(u){return u.ctrlKey||u.metaKey},a=function(o){d(u,o),C(u,[{key:"_handleSelectedAction",value:function(h){this.emit("selectedAction",h)}},{key:"emits",get:function(){return[r.exposed.SELECTION_CHANGED,"selectedAction"]}}]);function u(c){A(this,u);var h=p(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));h.adaptor=c.adaptor,h.previousFulcrum=n.range(),h.previousRangeList=[],h.ctrlClickSelectCell=c.hasOwnProperty("ctrlClickSelectCell")?c.ctrlClickSelectCell:!0;var v=t.event;return c.adaptor.on(v.RANGE_SELECTION,function(f){return h._handleKeySelection(f)}),c.adaptor.on(v.COLUMN_SELECTION,function(f){return h._handleColumnSelection(f)}),c.adaptor.on(v.ROW_SELECTION,function(f){return h._handleRowSelection(f)}),c.adaptor.on(v.SELECT_ALL,function(f){return h._handleSelectAll(f)}),c.adaptor.selectHeaders=!0,c.adaptor.applyToCells=!0,h}return C(u,[{key:"_handleSelectAll",value:function(h){var v=n.range().setEntireColumns(0,1/0);this._updateSelection(h,v)}},{key:"_handleColumnSelection",value:function(h){var v=h.activeCell,f=h.fulcrum,g=v.columns.start,m=Math.min(f.columns.start,g),E=Math.max(f.columns.end,g);h.groupedSelection||(s(h)||!h.shiftKey)&&(m=Math.min(v.columns.start,g),E=m);var w=Math.min(m,E),I=Math.max(m,E),M=n.range().setEntireColumns(w,I);this._updateSelection(h,M)}},{key:"_handleRowSelection",value:function(h){var v=h.activeCell,f=h.fulcrum,g=v.rows.start,m=Math.min(f.rows.start,g),E=Math.max(f.rows.end,g);(s(h)||!h.shiftKey)&&(m=Math.min(v.rows.start,g),E=m);var w=Math.min(m,E),I=Math.max(m,E),M=n.range().setEntireRows(w,I);this._updateSelection(h,M)}},{key:"_handleKeySelection",value:function(h){var v=h.fulcrum,f=h.activeCell,g=void 0;if(!s(h)&&!h.shiftKey)g=n.range().setRows(f.rows.start,f.rows.start).setColumns(f.columns.start,f.columns.start);else if(!s(h)&&h.shiftKey){var m=Math.min(v.rows.start,f.rows.start),E=Math.max(v.rows.end,f.rows.end),w=Math.min(v.columns.start,f.columns.start),I=Math.max(v.columns.end,f.columns.end),M=Math.min(w,I),R=Math.max(w,I),T=Math.min(m,E),N=Math.max(m,E);g=n.range().setRows(T,N).setColumns(M,R)}else if(s(h)){if(this.ctrlClickSelectCell&&!this._isNavigationKey(h.keyCode)&&!h.shiftKey)g=this.adaptor.getSelection(),n.isRangeInsideRangeList(f,g)?(g=n.removeRangeFromRangeList(g,f),this.adaptor.setSelection(g,{activeRange:n.range()})):(g.push(f),this.adaptor.setSelection(g,{activeRange:f})),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()});else{var F=this.adaptor.getSelection();this.adaptor.setSelection(F)}return}this._updateSelection(h,g)}},{key:"_updateSelection",value:function(h,v){if(h.resizeSelectionInProgress){var f=h.fulcrum;this.previousFulcrum=f,this._modifyActiveRangeResize(v)}else if(s(h)&&h.shiftKey){var g=this.adaptor.getSelection();this.adaptor.setSelection(g)}else!s(h)&&h.shiftKey?h.dragEvent?this._modifyActiveRangeResize(v):this._additiveUpdate(h,v):!s(h)||s(h)&&h.keyCode===i.A?this._newSelection(v,h):this._discreteAdditiveUpdate(v,h)}},{key:"_discreteAdditiveUpdate",value:function(h,v){var f=v.fulcrum,g=this.adaptor.getSelection();n.isRangeInsideRangeList(h,g)?this.adaptor.setSelection(g,{activeRange:h}):(this.previousRangeList=g.slice(),g=n.removeRangeFromRangeList(g,h),g.push(h),this.previousFulcrum=f,this.adaptor.setSelection(g,{activeRange:h}),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}))}},{key:"_newSelection",value:function(h,v){var f=v.fulcrum,g=this.adaptor.getSelection(),m=g.length===1?n.isRangeEqual(h,g[0]):!1;this.adaptor.setSelection([h],{activeRange:h}),this.previousRange=h,this.previousRangeList=[],this.previousFulcrum=f,m||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}},{key:"_additiveUpdate",value:function(h,v){var f=h.fulcrum;n.isRangeEqual(this.previousFulcrum,f)||f.rows.end===1/0&&this.previousFulcrum.columns.end===1/0||f.columns.end===1/0&&this.previousFulcrum.rows.end===1/0?this._modifyActiveRange(v):this._startNewActiveRange(v),this.previousRange=v,this.previousFulcrum=f}},{key:"_startNewActiveRange",value:function(h){var v=this.adaptor.getSelection();this.previousRangeList=v;var f=n.isRangeInsideRangeList(h,v);v=n.removeRangeFromRangeList(v,h),v.push(h),this.adaptor.setSelection(v,{activeRange:h}),f||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}},{key:"_modifyActiveRange",value:function(h){var v=this.adaptor.getSelection(),f=this.adaptor.getSelection();n.isRangeInsideRangeList(h,this.previousRangeList)?(this.adaptor.setSelection(this.previousRangeList,{activeRange:h}),n.isRangeInsideRangeList(this.previousRange,this.previousRangeList)||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})):(v=n.removeRangeFromRangeList(this.previousRangeList,h),v.push(h),this.adaptor.setSelection(v,{activeRange:h}),n.isRangeInsideRangeList(this.previousRange,v)?n.isRangeInsideRangeList(h,f)||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}):this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}))}},{key:"_modifyActiveRangeResize",value:function(h){for(var v=this.adaptor.getSelection(),f=!0,g=0;g<v.length;g++)if(!n.isRangeEqual(h,v[g])){f=!1;break}if(!f){var m=this.adaptor.getActiveRange(),E=n.removeRangeFromRangeList(v,h);m.value&&(E=n.removeRangeFromRangeList(E,m.value)),E.push(h),this.adaptor.setSelection(E,{activeRange:h}),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}}},{key:"_isNavigationKey",value:function(h){return h&&(h===i.ARROW_LEFT||h===i.ARROW_RIGHT||h===i.ARROW_UP||h===i.ARROW_DOWN||h===i.PAGE_UP||h===i.PAGE_DOWN||h===i.HOME||h===i.END)}},{key:"setSelection",value:function(h){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Array.isArray(h)){for(var f=[],g=h.slice(),m=g.shift();m;)f.push(m),g=n.removeRangeFromRangeList(g,m),m=g.shift();return this.adaptor.setSelection(f,v),f}}},{key:"getSelection",value:function(){return this.adaptor.getSelection()}},{key:"exposedAPI",value:function(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}],[{key:"adaptor",get:function(){return t}}]),u}(e);return a},_,P),_.exports=S},9641:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(8885),l(48350),l(83757),l(35694),l(11487),l(79301)],S=l.dj.d(b,function(e,t,r,i,s,a){"use strict";var o=function(h){return h.ctrlKey||h.metaKey||h.meta},u=function(c){n(h,c);function h(v){p(this,h);var f=d(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,v));return f.adaptor=v.adaptor,f._doesDataStoreSupportSelection=f.adaptor.doesDataStoreManageSelection(),v.adaptor.on(t.protected.CELL_SELECTION_CLICK,function(g){return f._handleSelection(g)}),v.adaptor.on(t.internal.RANGE_SELECTION,function(g){return f._handleSelection(g)}),v.adaptor.on(t.protected.ALLOW_DRAG_TO_SELECT,function(g){return f._handleAllowDragToSelect(g)}),f}return C(h,[{key:"_handleAllowDragToSelect",value:function(f){f.event.allowDragToSelect===!0?this.adaptor.viewModel.setState(a.protected.ALLOW_DRAG_TO_SELECT,!0):this.adaptor.viewModel.setState(a.protected.ALLOW_DRAG_TO_SELECT,!1)}},{key:"_handleSelection",value:function(f){var g=this,m=s.range().setEntireRows(Number(f.row)),E=this._getIdFromEvent(f),w=o(f),I=f.shiftKey,M=f.dragEvent===!0?f.dragEvent:!1;if(this._lastSelectionRange=m,this._initialSelection=(this.adaptor.getSelectionState()||[]).slice(),w&&f.keyCode===r.A){this.adaptor.selectionChangedEventWaitForCtrlA===!0?this.adaptor.setAllRows().then(function(){g._emitSelectionEvt()}):(this.adaptor.setAllRows(),this._emitSelectionEvt());return}if(E!==void 0){this._setMultipleSelection({selectionId:E,selectionRange:m,isCtrlKeyOrMetaKeyPressed:w,isShiftPressed:I,dragEvent:M});return}this.adaptor.getRowIdForIndex(f.row).then(function(R){g._lastSelectionRange===m&&g._setMultipleSelection({selectionId:R,selectionRange:m,isCtrlKeyOrMetaKeyPressed:w,isShiftPressed:I,dragEvent:M})})}},{key:"_setMultipleSelection",value:function(f){var g=this,m=f.selectionId,E=f.selectionRange,w=f.isCtrlKeyOrMetaKeyPressed,I=f.isShiftPressed,M=f.dragEvent;w?(this.adaptor.setDiscontiguousRow(m),this._emitSelectionEvt()):M===!0?(this.adaptor.setDragSelection(E),this._emitSelectionEvt()):I?this.adaptor.setContiguousRows(E).then(function(){return g._emitSelectionEvt()}):this._handleIndividualRowSelection(m)}},{key:"_handleIndividualRowSelection",value:function(f){this.adaptor.setIndividualRow(f),f!==void 0?this._emitSelectionEvt():this.adaptor.emitSelectionEvtWhenDataPagesIntoView(this._emitSelectionEvt.bind(this))}},{key:"_isSelectionChanged",value:function(f){return this.adaptor.getSelectedIdIndex(f)<0}},{key:"_handleSelectAndDeselectEvent",value:function(f,g){g?this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(f):this.adaptor.setSelectionState([f]):this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(null):this.adaptor.setSelectionState([])}},{key:"_keyPressed",value:function(f){f.rowId=f.rowId&&f.rowId.id;var g=this._getIdFromEvent(f);if(o(f)){if(f.keyCode===r.SPACE){this._handleSelection(f);return}if(f.keyCode===r.A){f.nativeEvent.preventDefault(),this._handleSelection(f);return}return}switch(f.keyCode){case r.ARROW_DOWN:case r.ARROW_UP:case r.ARROW_LEFT:case r.ARROW_RIGHT:case r.PAGE_DOWN:case r.PAGE_UP:case r.HOME:case r.END:this._handleSelection(f);break;case r.SPACE:f.shiftKey?this._handleSelection(f):this.adaptor.isRowSelected(g)<0&&(f.ctrlKey=!0,this._handleSelection(f));break}}},{key:"_handleSelectionChangedEvent",value:function(f,g,m){(f!==void 0&&g||f!==void 0&&m)&&this._emitSelectionEvt()}},{key:"_didSelectionChange",value:function(f,g){if(f.length!==g.length)return!0;for(var m=new Set(f),E=0;E<g.length;E+=1)if(!m.has(g[E]))return!0;return!1}},{key:"_emitSelectionEvt",value:function(){var f=this.adaptor.getSelectionState(),g=f.map(function(m){return{id:m}});this.emit(t.exposed.SELECTION_CHANGED,{selection:g})}},{key:"setSelection",value:function(f){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(f===null&&(f=[]),Array.isArray(f)){var m=f.map(function(E){if(E.id)return E.id;throw new Error(E+" should be a proxyNode containing an id property")});this.adaptor.setSelection(m,g)}else throw new Error("Expected: proxyNode array or empty array to signify no selection. Usage: setSelection([{id: 'a'}]), setSelection([])")}},{key:"getSelection",value:function(){var f=A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"getSelection",this).call(this);return f.map(function(g){return{id:g}})}}],[{key:"adaptor",get:function(){return e}}]),h}(i);return u},_,P),_.exports=S},99005:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(8885),l(48350),l(83757),l(5612)],S=l.dj.d(b,function(e,t,r,i){"use strict";var s=function(u){return u.ctrlKey||u.metaKey||u.meta},a=function(o){n(u,o);function u(c){p(this,u);var h=d(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c));return h.adaptor=c.adaptor,h._doesDataStoreSupportSelection=h.adaptor.doesDataStoreManageSelection(),c.adaptor.on(t.protected.CELL_SELECTION_CLICK,function(v){return h._handleSelection(v)}),c.adaptor.on(t.protected.CELL_SELECTION_KEY,function(v){return h._keyPressed(v)}),h}return C(u,[{key:"_handleSelection",value:function(h){var v=this,f=this._getIdFromEvent(h),g=s(h);if(this._lastSelectedRow=h.row,f!==void 0){this._setSingleSelection({selectionId:f,isCtrlKeyOrMetaKeyPressed:g});return}this.adaptor.getRowIdForIndex(h.row).then(function(m){v._lastSelectedRow===h.row&&m!==void 0&&v._setSingleSelection({selectionId:m,isCtrlKeyOrMetaKeyPressed:g})})}},{key:"_setSingleSelection",value:function(h){var v=h.selectionId,f=h.isCtrlKeyOrMetaKeyPressed,g=this._isSelectionChanged(v);if(f)this._handleSelectAndDeselectEvent(v,g);else{var m=v!==void 0?[v]:null;this._doesDataStoreSupportSelection?Array.isArray(m)&&m.length>=1?this.adaptor.setIndividualRow(m[0]):this.adaptor.setIndividualRow(null):this.adaptor.setSelectionState(m)}this._handleSelectionChangedEvent(v,g,f)}},{key:"_isSelectionChanged",value:function(h){return this.adaptor.getSelectedIdIndex(h)<0}},{key:"_handleSelectAndDeselectEvent",value:function(h,v){v?this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(h):this.adaptor.setSelectionState([h]):this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(null):this.adaptor.setSelectionState([])}},{key:"_keyPressed",value:function(h){if(h.rowId=h.rowId&&h.rowId.id,s(h)&&h.keyCode!==r.SPACE){h.keyCode===r.A&&h.nativeEvent.preventDefault();return}switch(h.keyCode){case r.ARROW_DOWN:case r.ARROW_UP:case r.ARROW_LEFT:case r.ARROW_RIGHT:case r.PAGE_DOWN:case r.PAGE_UP:case r.HOME:case r.END:case r.SPACE:this._handleSelection(h);break}}},{key:"_handleSelectionChangedEvent",value:function(h,v,f){(h!==void 0&&v||h!==void 0&&f)&&this._emitSelectionEvt()}},{key:"_emitSelectionEvt",value:function(){var h=this.adaptor.getSelectionState(),v=h.map(function(f){return{id:f}});this.emit(t.exposed.SELECTION_CHANGED,{selection:v})}},{key:"setSelection",value:function(h){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(h===null&&(h=[]),Array.isArray(h)){var f=void 0,g=h.map(function(m){if(m.id)return m.id;throw new Error(m+" should be a proxyNode containing an id property")});g.length>=1?f=[g[0]]:f=[],this.adaptor.setSelection(f,v)}else throw new Error("Expected: proxyNode array or empty array to signify no selection. Usage: setSelection([{id: 'a'}]), setSelection([])")}},{key:"getSelection",value:function(){var h=A(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"getSelection",this).call(this);return h.map(function(v){return{id:v}})}}],[{key:"adaptor",get:function(){return e}}]),u}(i);return a},_,P),_.exports=S},35694:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(16885)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r),C(i,[{key:"_fireSelectedActionEvent",value:function(a){this.emit("selectedAction",a)}},{key:"emits",get:function(){return[e.exposed.SELECTION_CHANGED,"selectedAction"]}}]);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s.adaptor,s.adaptor.on(e.protected.CELL_SELECTION_KEY,function(o){return a._keyPressed(o)}),s.adaptor.on(e.protected.TABLE_SELECTED_ACTION,function(o){return a._fireSelectedActionEvent(o)}),a}return C(i,[{key:"setSelection",value:function(){}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}]),i}(n);return t},_,P),_.exports=S},23922:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(36415),l(48350),l(83757),l(35694),l(11487),l(79301)],S=l.dj.d(b,function(n,e,t,r,i,s){"use strict";var a=function(v){return v.ctrlKey||v.metaKey||v.meta},o=function(v,f){return v<f?-1:v>f?1:0},u=function(v,f){var g=o(v.rows.start,f.rows.start);return g===0?o(v.rows.end,f.rows.end):g},c=function(h){d(v,h);function v(f){A(this,v);var g=p(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,f));return g.adaptor=f.adaptor,f.adaptor.on(e.protected.CELL_SELECTION_CLICK,function(m){return g._calculateProperSelection(m)}),f.adaptor.on(e.internal.RANGE_SELECTION,function(m){return g._calculateProperSelection(m)}),f.adaptor.on(e.protected.ALLOW_DRAG_TO_SELECT,function(m){return g._handleAllowDragToSelect(m)}),g}return C(v,[{key:"_handleAllowDragToSelect",value:function(g){g.event.allowDragToSelect===!0?this.adaptor.viewModel.setState(s.protected.ALLOW_DRAG_TO_SELECT,!0):this.adaptor.viewModel.setState(s.protected.ALLOW_DRAG_TO_SELECT,!1)}},{key:"_calculateProperSelection",value:function(g){var m=g.row!==void 0?i.range().setEntireRows(Number(g.row)):null,E=this.adaptor.getSelectionState()||[];a(g)?g.keyCode===t.A?this.adaptor.setAllRows():this.adaptor.setDiscontiguousRow(m):g.shiftKey?this.adaptor.setContiguousRows(m,g.dragEvent):this.adaptor.setIndividualRow(m),this._hasSelectionChanged(E)&&this.emit(e.exposed.SELECTION_CHANGED,{rangeList:this.adaptor.getSelectionState()})}},{key:"_hasSelectionChanged",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],m=this.adaptor.getSelectionState()||[],E=!0;return g.sort(u),m.length===g.length&&(m.sort(u),E=g.reduce(function(w,I,M){return w||!i.isRangeEqual(I,m[M])},!1)),E}},{key:"_keyPressed",value:function(g){if(a(g)){g.keyCode===t.SPACE?this._calculateProperSelection(g):g.keyCode===t.A&&(g.nativeEvent.preventDefault(),this._calculateProperSelection(g));return}switch(g.keyCode){case t.ARROW_DOWN:case t.ARROW_UP:case t.PAGE_DOWN:case t.PAGE_UP:case t.HOME:case t.END:this._calculateProperSelection(g);break;case t.SPACE:g.shiftKey?this._calculateProperSelection(g):this.adaptor.isRowSelected(i.range().setEntireRows(Number(g.row)))<0&&(g.ctrlKey=!0,this._calculateProperSelection(g));break;default:break}}},{key:"setSelection",value:function(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Array.isArray(g)){var E=g.map(function(w){return i.range().setEntireRows(w.rows.start,w.rows.end)});this.adaptor.setSelectionState(E,m)}}}],[{key:"adaptor",get:function(){return n}}]),v}(r);return c},_,P),_.exports=S},68317:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(36415),l(48350),l(5612),l(11487),l(83757)],S=l.dj.d(b,function(n,e,t,r,i){"use strict";var s=function(u){return u.ctrlKey||u.metaKey||u.meta},a=function(o){d(u,o);function u(c){A(this,u);var h=p(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c));return h.adaptor=c.adaptor,c.adaptor.on(e.protected.CELL_SELECTION_CLICK,function(v){return h._calculateProperSelection(v)}),c.adaptor.on(e.protected.CELL_SELECTION_KEY,function(v){return h._keyPressed(v)}),h}return C(u,[{key:"_calculateProperSelection",value:function(h){var v=r.range().setEntireRows(Number(h.row)),f=s(h),g=r.range().setEntireRows(v.rows.start,v.rows.start),m=this.adaptor.isRowSelected(g)<0;f?m?this.adaptor.setSelectionState([g]):this.adaptor.setSelectionState([]):this.adaptor.setIndividualRow(v),(v&&m||v&&f)&&this.emit(e.exposed.SELECTION_CHANGED,this.adaptor.getSelectionState())}},{key:"_keyPressed",value:function(h){if(s(h))if(h.keyCode===i.SPACE){this._calculateProperSelection(h);return}else if(h.keyCode===i.A)h.nativeEvent.preventDefault();else return;switch(h.keyCode){case i.ARROW_DOWN:case i.ARROW_UP:case i.PAGE_DOWN:case i.PAGE_UP:case i.HOME:case i.END:case i.SPACE:this._calculateProperSelection(h);break}}},{key:"setSelection",value:function(h){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Array.isArray(h)){var f=void 0;if(h.length>=1){var g=void 0;g=h[0],f=[r.range().setEntireRows(g.rows.start,g.rows.start)]}else f=[];this.adaptor.setSelectionState(f,v)}}}],[{key:"adaptor",get:function(){return n}}]),u}(t);return a},_,P),_.exports=S},5612:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(16885)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r),C(i,[{key:"_fireSelectedActionEvent",value:function(a){this.emit("selectedAction",a)}},{key:"emits",get:function(){return[e.exposed.SELECTION_CHANGED,"selectedAction"]}}]);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s.adaptor,a._events={},s.adaptor.on(e.protected.TABLE_SELECTED_ACTION,function(o){return a._fireSelectedActionEvent(o)}),a}return C(i,[{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"setSelection",value:function(){}},{key:"exposedAPI",value:function(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}]),i}(n);return t},_,P),_.exports=S},80144:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(9641),l(23787)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r);function i(){return A(this,i),p(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"_getIdFromEvent",value:function(a){return a.rowId?a.rowId:void 0}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},74283:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(99005),l(23787)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r);function i(){return A(this,i),p(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"_getIdFromEvent",value:function(a){return a.rowId}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},28628:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(80460),l(74731),l(16885)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(a,o){A(this,s);var u=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return u.adaptor=a.adaptor,o&&u.adaptor.setConfig(o),a.adaptor.on(t.protected.TABLE_COLUMN_SORT,function(c){return u._handleSort(c)}),u}return C(s,[{key:"exposedAPI",value:function(){return{setSortIndicator:this.setSortIndicator.bind(this)}}},{key:"_handleSort",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.order,c=o.column,h=o.type;u!==void 0&&c>=0&&h&&this.adaptor.sortColumn({columnIndex:c,order:u,compare:h})}},{key:"setSortIndicator",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.adaptor.setSortIndicator(o)}},{key:"emits",get:function(){return[]}}],[{key:"config",value:function(o){var u=function(c){d(h,c);function h(v){return A(this,h),p(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,v,o))}return h}(s);return u}},{key:"adaptor",get:function(){return e}}]),s}(n);return r},_,P),_.exports=S},64991:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(57006),l(64109),l(34602),l(25219)],S=l.dj.d(b,function(d,n,e,t){"use strict";var r=function(){function i(s){p(this,i),s=s||{};var a=s,o=a.isChecked,u=a.getValueForAction,c=a.getA11yProperties,h=a.alignment;this._checkboxDefaultClasses=["mwDefaultVisualFamily","mwEnabled","mwWidget","mwCheckBox","mw-data-checkbox-renderer"],this._checkboxCheckedClasses=["mwCheckBoxChecked"],o&&(this._isChecked=o),u&&(this.getValueForAction=u),c&&(this._getA11yProperties=c),h===n.LEFT||h===n.RIGHT?this._alignment=h:this._alignment=n.CENTER}return A(i,[{key:"_isChecked",value:function(a){return(typeof a>"u"?"undefined":C(a))==="object"&&a.checked===!0}},{key:"_getLabel",value:function(a){return a&&a.label?a.label.trim():""}},{key:"getTooltip",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o="";return this._alignment===n.LEFT&&(o={text:this._getLabel(a)}),o}},{key:"getDomNode",value:function(a,o){var u=document.createElement("span"),c=document.createElement("span"),h=document.createElement("div"),v=document.createElement("div"),f=this._isChecked(a);if(f?c.className=this._checkboxDefaultClasses.concat(this._checkboxCheckedClasses).join(" "):c.className=this._checkboxDefaultClasses.join(" "),a&&a.a11y&&a.a11y.checkboxDescription)h.setAttribute("aria-label",a.a11y.checkboxDescription);else if(this._getA11yProperties){var g=this._getA11yProperties(a);g&&g.checkboxDescription&&h.setAttribute("aria-label",g.checkboxDescription)}var m=t.isInteractive(o)&&!t.isReadOnly(o);if(h.setAttribute("role","checkbox"),h.setAttribute("data-clickable",m),v.setAttribute("data-clickable",m),h.setAttribute("aria-checked",f),h.classList.add("mwCheckBoxRadioIconNode"),v.classList.add("mwCheckBoxRadioIconInner"),h.appendChild(v),c.appendChild(h),this._alignment===n.LEFT){var E=this._getlabelNode(a,o);c.classList.add("mwLabeledCheckbox"),h.classList.add("mwLabeledCheckboxIcon"),c.appendChild(E)}else this._alignment===n.RIGHT&&c.classList.add("mwRightAlignCheckbox");return u.appendChild(c),u.className="mw-table-cell-content mwRenderer",u}},{key:"_getlabelNode",value:function(a,o){var u=document.createElement("span"),c=this._getLabel(a);return u.setAttribute("checkbox-label",!0),e.metaHasHighlightMatches(o)?(u.setAttribute("data-test-id","highlightLabel"),e.appendHighlightDom(u,c,o)):(u.textContent=c,u.setAttribute("data-test-id","label2")),u}},{key:"getAriaLabel",value:function(a){var o=this._isChecked(a)?"checked":"unchecked",u="checkbox "+o;if(a&&a.a11y&&a.a11y.checkboxDescription)return a.a11y.checkboxDescription+" "+u;if(this._getA11yProperties){var c=this._getA11yProperties(a);if(c&&c.checkboxDescription)return c.checkboxDescription+" "+u}return u}},{key:"getValueForAction",value:function(a){var o=d().shallowCopy(a);return(typeof o>"u"?"undefined":C(o))==="object"&&o.hasOwnProperty("checked")&&(o.checked=!o.checked),{oldValue:a,newValue:o}}},{key:"handleAction",value:function(a){a=a||{};var o=a,u=o.value,c=o.shouldUpdate,h=o.target;return c===!0||h&&h.getAttribute("data-clickable")?this.getValueForAction(u):null}}]),i}();return r.ALIGNMENT=n,r},_,P),_.exports=S},62806:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(34602),l(69933)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){function e(t){A(this,e),this.config=t,this._getDomNodeWithHighlight=this._getDomNodeWithHighlight.bind(this),this._getDomNodeByValue=this._getDomNodeByValue.bind(this),this._editIndicator=this._setEditIndicator(t)}return C(e,[{key:"_setEditIndicator",value:function(r){return r&&r.editIndicator?r.editIndicator:null}},{key:"getEditIndicator",value:function(){return this._editIndicator}},{key:"getTooltip",value:function(r){return typeof r=="number"&&(r=r.toString()),{text:r}}},{key:"getDomNode",value:function(r,i){return p.metaHasHighlightMatches(i)?this._getDomNodeWithHighlight(r,i):this._getDomNodeByValue(r)}},{key:"_getDomNodeByValue",value:function(r){var i=document.createElement("div");return i.style.textOverflow="ellipsis",r===void 0&&(r=""),i.textContent=r,i.style.overflow="hidden",i.className="mw-string-renderer",i}},{key:"_getDomNodeWithHighlight",value:function(r,i){var s=document.createElement("div");return s.setAttribute("data-test-id","highlightText"),s.style.textOverflow="ellipsis",s.style.overflow="hidden",s.className="mw-string-renderer",p.appendHighlightDom(s,r,i),s}}]),e}();return n.EditIndicatorType=d.TYPE,n},_,P),_.exports=S},22697:(_,P,l)=>{var b,S;b=[l(36377),l(34602),l(57006),l(2541),l(6699),l(14152)],S=l.dj.d(b,function(C,A,p,d,n,e){var t="mw-string-renderer",r="mw-treetable",i="mw-table-renderer-with-edit-indicator",s=function(g,m){var E=n.isDeepEqual(g.value,m.value),w=n.isDeepEqual(g.metaData,m.metaData),I=g.useEditorRendererDataFields===m.useEditorRendererDataFields,M=g.renderer===m.renderer;return E&&w&&I&&M},a=function(g){var m=g.typeOfCell,E=g.treeNodeRendererClassName,w=E===void 0?"":E,I=g.treeCellContentClassName,M=I===void 0?"":I,R=g.useEditorRendererDataFields,T=g.metaData,N=g.showEditIndicator,F=g.value,y=function(L){return L==null?"":p().getDisplayValue(L,d.RENDERER,R).toString()},x=y(F);return o(m,M,x,w,T,N)},o=function(g,m,E,w,I,M){var R=void 0;return A.metaHasHighlightMatches(I)?R=c(E,I,M):R=u(g,E,w,M),m!==""&&(R.className=m),R};function u(f,g,m,E){return f===r?h(m,g,E):v(g,E)}function c(f,g,m){var E=[t];m&&E.push(i);var w=e.createElement("div",{className:E.join(" "),style:{textOverflow:"ellipsis",overflow:"hidden"}});return w=A.appendHighlightDomReact(w,f,g),w}function h(f,g,m){var E=[f];return m&&E.push(i),e.createElement("span",{className:E.join(" ")},e.createElement("div",{className:t,style:{textOverflow:"ellipsis",overflow:"hidden"}},g))}function v(f,g){var m=[t];return g&&m.push(i),e.createElement("div",{className:m.join(" "),style:{textOverflow:"ellipsis",overflow:"hidden"}},f)}return e.memo(a,s)},_,P),_.exports=S},31363:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(34602),l(64109),l(84472)],S=l.dj.d(b,function(p,d,n){"use strict";var e=16,t=function(s,a){var o=s.iconSize&&s.iconSize[a]&&Number.isInteger(s.iconSize[a])?s.iconSize[a]:e;return o},r=function(){function i(s){A(this,i),this._getlabelNode=this._getlabelNode.bind(this),this._alignment=d.DEFAULT,s&&s.alignment&&(this._alignment=s.alignment),this.iconAction=!0}return C(i,[{key:"getTooltip",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=void 0;return a&&a.label&&(o={text:a.label}),o}},{key:"getDomNode",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments[1],u=document.createDocumentFragment(),c=document.createElement("span");c.className="mw-icon-label-renderer";var h=a&&a.hasOwnProperty("label"),v=void 0,f=a&&a.iconId,g={height:e,width:e};if(a&&a.iconUri?v=a.iconUri:v=a,v&&v.length>0||f){var m=!h&&this._alignment!==d.DEFAULT,E=void 0;if(f){E=document.createElement("span"),m&&(g.height=t(a,"height"),g.width=t(a,"width"));var w=n.getIconByIdDom(f,g);E.appendChild(w)}else E=document.createElement("img"),a&&a.a11y&&a.a11y.iconDescription&&E.setAttribute("alt",a.a11y.iconDescription),E.setAttribute("src",encodeURI(v));E.className="mw-data-icon-renderer",!h&&this._alignment!==d.DEFAULT&&(this._alignment===d.CENTER?E.className="mw-data-icon-renderer-center":this._alignment===d.LEFT?E.className="mw-data-icon-renderer-left":this._alignment===d.RIGHT&&(E.className="mw-data-icon-renderer-right")),E.setAttribute("data-test-id","icon1"),c.appendChild(E)}if(h){var I=this._getlabelNode(a.label,o);I&&c.appendChild(I)}return u.appendChild(c),u}},{key:"handleAction",value:function(a){return!0}},{key:"_createLabelElement",value:function(){var a=document.createElement("span");return a}},{key:"_getlabelNode",value:function(a,o){var u=void 0;if(a){var c=a.toString();u=this._createLabelElement(),u.setAttribute("data-region",!0),p.metaHasHighlightMatches(o)?(u.setAttribute("data-test-id","highlightLabel"),p.appendHighlightDom(u,c,o)):(u.textContent=c.trim(),u.setAttribute("data-test-id","label1"))}return u}}]),i}();return r.ALIGNMENT=d,r},_,P),_.exports=S},19510:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var d=function(){function e(t){p(this,e),this.config=t}return A(e,[{key:"getTooltip",value:function(r){return(r==null||(typeof r>"u"?"undefined":C(r))==="object")&&(r=""),typeof r!="string"&&(r=r.toString()),{text:r}}},{key:"getDomNode",value:function(r){var i=document.createElement("div");(r==null||(typeof r>"u"?"undefined":C(r))==="object")&&(r=""),typeof r!="string"&&(r=r.toString());var s=r.split(`
`);return s.forEach(function(a){return n(a,i)}),i.className="mw-default-header-cell",i}}]),e}();return d;function n(e,t){var r=document.createElement("span");r.textContent=e,t.appendChild(r),t.appendChild(document.createElement("br"))}},_,P),_.exports=S},40601:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(19081),l(34602)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){function t(r){A(this,t),r=r||{format:p.NO_FORMATTING};var i=r.format;this.formatNumber=i(r),this._getDomNodeWithHighlight=this._getDomNodeWithHighlight.bind(this),this._getDomNodeByValue=this._getDomNodeByValue.bind(this)}return C(t,[{key:"getTooltip",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",s=void 0;return e(i)&&(s={text:this.formatNumber(i).toString()}),s}},{key:"getDomNode",value:function(i,s){var a=document.createDocumentFragment(),o=void 0;return d.metaHasHighlightMatches(s)?o=this._getDomNodeWithHighlight(i,s):o=this._getDomNodeByValue(i),a.appendChild(o),a}},{key:"_getDomNodeByValue",value:function(i){var s=document.createElement("span");return e(i)&&(s.textContent=this.formatNumber(i)),s.className="mw-data-number-renderer",s.setAttribute("data-test-id","number1"),s}},{key:"_getDomNodeWithHighlight",value:function(i,s){var a=document.createElement("span");a.className="mw-data-number-renderer",a.setAttribute("data-test-id","highlightNumber"),a.setAttribute("data-region",!0);var o=i.toString();if(e(i)){var u=this.formatNumber(i).toString();if(o===u)d.appendHighlightDom(a,o,s);else{var c=[{start:0,count:u.length,value:u}];d.appendHighlightDomMatches(a,u,c)}return a}}}]),t}();return n;function e(t){return!isNaN(t)&&typeof t!="boolean"&&t!==null}},_,P),_.exports=S},69933:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({DROPDOWN:"dropdown"}),A=Object.freeze({TYPE:C,isValid:p});return A;function p(d){return Object.values(C).includes(d)}},_,P),_.exports=S},19081:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({SCIENTIFIC_NOTATION:function(p){var d=p.precision||p.decimals||C.SCIENTIFIC_NOTATION_DEFAULT_PRECISION;return function(n){return Number(n).toExponential(d)}},SCIENTIFIC_NOTATION_DEFAULT_PRECISION:4,DECIMAL_NOTATION:function(p){var d=p.precision||p.decimals||C.DECIMAL_NOTATION_DEFAULT_PRECISION;return function(n){return Number(n).toFixed(d)}},DECIMAL_NOTATION_DEFAULT_PRECISION:4,NO_FORMATTING:function(p){return function(d){return d}}});return C},_,P),_.exports=S},64109:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({LEFT:"left",RIGHT:"right",CENTER:"center",DEFAULT:"default"});return C},_,P),_.exports=S},84472:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(12803)],S=l.dj.d(b,function(d){"use strict";var n=16,e=function(){function t(){p(this,t)}return A(t,null,[{key:"shallowCopy",value:function(i){var s={};if(i!==null&&(typeof i>"u"?"undefined":C(i))==="object"&&!Array.isArray(i)){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(s[a]=i[a]);return s}else return i}},{key:"getIconByIdDom",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{height:n,width:n},a=document.createElement("mw-icon");return a.setAttribute("icon-id",i),a.setAttribute("icon-width",s.width),a.setAttribute("icon-height",s.height),a}}]),t}();return e},_,P),_.exports=S},1538:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(48350),l(90228),l(83757),l(26150),l(72904),l(55742),l(82020),l(25219)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s){var a=function(){function o(u){A(this,o);var c=u.emitEditCompleted,h=u.emitIconAction,v=u.dataStore,f=u.viewModel;this._viewModel=f,this._dataStore=v,this._emitEditCompleted=c,this._emitIconAction=h}return C(o,[{key:"eventList",value:function(){var c={};return c[p.internal.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),c[p.internal.TABLE_KEY_PRESS]=this._handleKeyPressEvent.bind(this),c}},{key:"_getInteractiveRenderer",value:function(c,h){var v=this._viewModel.getStateByKey("interactiveRenderer")||{},f=s.getInteractiveRendererFor(v,c,h);if(f){var g=f.renderer;return g}}},{key:"_getCurrentlyCheckedValue",value:function(c){var h=this,v=c.data,f=c.row,g=c.column,m=c.renderer,E=c.metaData,w=c.rowIndices,I=this._viewModel.getColumnHeaders()[Number(g)]||{dataIndex:g},M=I.dataIndex,R=void 0;switch(E.rendererConfig.groupBy){case e.PARENT:R=v.map(function(N,F){var y=w[F];return m=h._getInteractiveRenderer(y,g),{row:F,column:M,arrayIndex:F,dataIndex:M,renderer:m}});break;case e.ROW:R=v[0].map(function(N,F){return m=h._getInteractiveRenderer(f,F),{row:0,column:F,arrayIndex:0,dataIndex:F,renderer:m}});break}var T=this._getCheckedValue(R,v);return T}},{key:"_getCheckedValue",value:function(c,h){var v=void 0,f=!0,g=!1,m=void 0;try{for(var E=c[Symbol.iterator](),w;!(f=(w=E.next()).done);f=!0){var I=w.value;if(I.renderer&&I.renderer.toggle&&(v=I.renderer.handleAction(h[I.row][I.column],{actionName:r.CONTROLLER}),v.hasChanged))return{dataIndex:I.dataIndex,value:v,arrayIndex:I.arrayIndex}}}catch(M){g=!0,m=M}finally{try{!f&&E.return&&E.return()}finally{if(g)throw m}}return null}},{key:"_updateToggledValues",value:function(c){var h=this,v=c.row,f=c.column,g=c.node,m=c.metaData,E=c.renderer,w=new t,I=[],M=void 0,R=void 0;switch(m.rendererConfig.groupBy){case e.PARENT:R=this._dataStore.getChildNodes({id:c.metaData.parentId}).then(function(T){return M=T.map(function(N){return I.push(N.index),{id:N.node.id}}),h._dataStore.getData({proxyNodes:M})}).then(function(T){var N={data:T,rowIndices:I,row:v,column:f,metaData:m,renderer:E},F=h._getCurrentlyCheckedValue(N);return w.resolve({currentlyCheckedValue:F,proxyNodes:M}),w.promise});break;case e.ROW:M=[{id:g.id}],R=this._dataStore.getData({proxyNodes:M}).then(function(T){var N={data:T,row:v,column:f,metaData:m,renderer:E},F=h._getCurrentlyCheckedValue(N);return w.resolve({currentlyCheckedValue:F,proxyNodes:M}),w.promise});break}this._updateDataStoreForToggleRenderer(R,c)}},{key:"_updateDataStoreForToggleRenderer",value:function(c,h){var v=this;c.then(function(f){var g=f.currentlyCheckedValue,m=f.proxyNodes;if(g){var E=[],w=m[g.arrayIndex].id;E[g.dataIndex]=g.value.newValue,v._dataStore.update({id:w},E)}v._updateDataStore({newValue:h.newValue,oldValue:h.oldValue,id:h.node.id,row:h.row,column:h.column})})}},{key:"_handleCellClickEvent",value:function(c){var h=c.event,v=h.row,f=h.column,g=this._getInteractiveRenderer(v,f);g&&(c.event.renderer=g,g.toggle?this._updateToggledValues(c.event):g.iconAction?this._updateIconAction(c.event):this._updateDataStore(c.event))}},{key:"_updateIconAction",value:function(c){var h=this._viewModel.getColumnHeaders()[Number(c.column)],v=void 0;c.node?v=c.node.id:v=c.id,this._emitIconAction({cellInfo:{id:v,column:c.column,columnId:h.columnId}})}},{key:"_updateDataStore",value:function(c){var h=this._viewModel.getColumnHeaders()[Number(c.column)]||{dataIndex:c.column},v=h.dataIndex,f=[],g=void 0;f[v]=c.newValue,c.node?g=c.node.id:g=c.id,this._dataStore.update({id:g},f),this._emitEditCompleted({cellInfo:{id:g,column:c.column,columnId:h.columnId},newValue:c.newValue,oldValue:c.oldValue})}},{key:"_handleKeyPressEvent",value:function(c){var h=this,v=i.hasModifierKey(c.event),f=[n.SPACE,n.ENTER],g=[n.SPACE];if(f.includes(c.event.keyCode)&&!v){var m=this._viewModel.getStateByKey(d.protected.FOCUSED);if(m&&m.rangeList&&m.rangeList.length>0){var E=s.getViewIndex(m),w=E.viewColIndex,I=E.viewRowIndex,M=this._getInteractiveRenderer(I,w);if(!M||!M.iconAction&&!g.includes(c.event.keyCode))return;var R=s.getColumnConfig(this._viewModel,w),T=this._dataStore.getLocalCellData(I,R.dataIndex),N=this._dataStore.getLocalCellMetaData(I,R.dataIndex);if(s.isReadOnly(N)||R.readonly===!0)return;var F=M.handleAction(T,{actionName:r.KEY_PRESS});F.hasChanged&&(M.toggle?this._dataStore.getNode({id:N.id}).then(function(y){var x={node:y.node,row:I,column:w,renderer:M,metaData:N,oldValue:F.oldValue,newValue:F.newValue};h._updateToggledValues(x)}):M.iconAction?this._updateIconAction({id:m.value,row:I,column:w}):this._updateDataStore({newValue:F.newValue,oldValue:F.oldValue,id:m.value,row:I,column:w}))}}}}]),o}();return a},_,P),_.exports=S},62082:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({COL_WIDTH:82,ROW_HEIGHT:22,TOOLTIP_MIN_WIDTH:300}),A=Object.freeze({TREE_COLUMN_INDEX:0,TREE_NODE_INDENTATION:18,dimensions:C,KEY_HANDLER_NAME:"keyHandlerName",KEY_CODE:"keyCode",KEY_HANDLER:"keyHandler",PLATFORMS:"platforms",MODIFIER_KEY_LIST:"modifierKeyList",ALT_KEY:"altKey",CTRL_KEY:"ctrlKey",META:"meta",SHIFT_KEY:"shiftKey"});return A},_,P),_.exports=S},21558:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(69961)],S=l.dj.d(b,function(p){var d=function(){function n(){A(this,n)}return C(n,null,[{key:"mergeEnums",value:function(t,r){for(var i in r)t.hasOwnProperty(i)?p.mixin(t[i],r[i]):t[i]=r[i];return t}}]),n}();return d},_,P),_.exports=S},48350:(_,P,l)=>{var b,S;b=[l(21558),l(16885)],S=l.dj.d(b,function(C,A){var p=C.mergeEnums({internal:{TREE_DISCLOSURE_CLICK:"treeDisclosureClick",TREE_CELL_DOUBLE_CLICK:"treeCellDoubleClick",EMIT_SELECTION_EVENT:"emitSelectionEvent",EMIT_CONTEXT_MENU:"emitContextMenu",TABLE_RIGHT_CLICK:"tableRightClick",INTERACTIVE_CELL_CLICK:"interactiveCellClick",CHECKBOX_CLICKED:"checkBoxClicked",CHECKBOX_STATUS_CHANGE_REQUESTED:"checkboxStatusChangeRequested"},exposed:{SELECTION_CHANGED:"selectionChanged",CONTEXT_MENU:"contextMenu",HEADER_MENU:"headerMenuRequested",ICON_ACTION:"iconAction",CHECK_CHANGED:"checkChanged",SCROLL_VIEW_CHANGED:"scrollViewChanged"},protected:{COL_HEADER_MOUNT:"colHeaderDidMount",COL_RESIZE:"colResize"}},A);return Object.freeze(p)},_,P),_.exports=S},11605:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({internal:{ALL:"all"},exposed:{WINDOWS:"windows",MAC:"mac",LINUX:"linux"}})},_,P),_.exports=S},26150:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({PARENT:"parent",ROW:"row"});return C},_,P),_.exports=S},55742:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({CLICK:"click",KEY_PRESS:"keypress",CONTROLLER:"controller"});return C},_,P),_.exports=S},90228:(_,P,l)=>{var b,S;b=[l(21558),l(79301)],S=l.dj.d(b,function(C,A){var p=C.mergeEnums({treetable:{treeColumnIndex:"treeColumnIndex",POTENTIAL_ACTIVE_CELL:"potentialNextActiveCell",POTENTIAL_PIVOT:"potentialPivot",SELECTION_CLEARED:"selectionCleared",CHECKBOX_TREETABLE:"checkboxTreetable",WIDGET_TYPE:"TreeTable"},protected:{WIDTH_CHANGED:"widthChanged",COLUMN_CONFIG:"colconfig"}},A);return Object.freeze(p)},_,P),_.exports=S},86024:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(31363)],S=l.dj.d(b,function(n){"use strict";var e=function(t){d(r,t);function r(){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return C(r,[{key:"_createLabelElement",value:function(){var s=document.createElement("span");return s.className="mw-data-label-renderer",s}},{key:"handleAction",value:function(s){return{hasChanged:!0}}}]),r}(n);return e},_,P),_.exports=S},61577:(_,P,l)=>{var b,S;b=[l(82020)],S=l.dj.d(b,function(C){var A=[],p=window.requestAnimationFrame,d=!1;function n(e,t,r,i){var s=r.style.display;r.style.display="none",e.insertBefore(t,i),A.push({node:r,display:s}),d||(d=!0,p(function(){d=!1;for(var a=0;a<A.length;a+=1){var o=A[a],u=o.node,c=o.display;u.parentNode&&(u.parentNode.removeChild(u),u.style.display==="none"&&(u.style.display=c))}A=[]}))}return{shouldCellUpdate:function(t,r,i,s){if(JSON.stringify(t.editState)!==JSON.stringify(r.editState)||t.focusClass!==r.focusClass||JSON.stringify(t.additionalClass)!==JSON.stringify(r.additionalClass)||t.renderer!==r.renderer||t.interactiveRenderer!==r.interactiveRenderer||t.editor!==r.editor||JSON.stringify(t.editValidation)!==JSON.stringify(r.editValidation)||t.editProcessing!==r.editProcessing)return!0;var a=t.cellData.isEqual(r.cellData),o=t.styleData!==r.styleData;t.styleData instanceof Object&&r.styleData instanceof Object&&(o=!C.shallowEqual(t.styleData,r.styleData));var u=t.cellMetaData&&t.cellMetaData.isEqual(r.cellMetaData);return!a||!u||o},replaceFirstNode:function(t,r,i){n(t,r,i,t.firstChild)},replaceLastNode:function(t,r,i){n(t,r,i,null)}}},_,P),_.exports=S},42333:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(50723),l(82020),l(11605),l(62082)],S=l.dj.d(b,function(p,d,n,e){var t=function(){function r(){A(this,r)}return C(r,null,[{key:"validatingKeyBindingLength",value:function(s){if(d.isArrayEmpty(s))throw new Error("Invalid KeyBinding, one or more values are empty")}},{key:"validatingPlatformInKeyBinding",value:function(s){var a=n.exposed.WINDOWS in s,o=n.exposed.LINUX in s,u=n.exposed.MAC in s;if(!(a&&o&&u))throw new Error("Invalid KeyBinding, it should have TreeTable.PLATFORMS.WINDOWS, TreeTable.PLATFORMS.LINUX and TreeTable.PLATFORMS.MAC as a key")}},{key:"validateSequenceOfKeyCombination",value:function(s){if(s){if(d.hasDuplicates(s))throw new Error("Invalid KeyBinding, Duplicate Key Combination found");var a=p.getKeyCodeArray(s);if(a.length!==1)throw new Error("Invalid KeyBinding, Excluding modifiers, there can only be one key for the binding");return!0}return!1}},{key:"validateKeyCombinations",value:function(s,a,o){if(s&&a&&o){var u=o.filter(function(E){return Array.isArray(E.keyCode)}),c=!0,h=!1,v=void 0;try{for(var f=u[Symbol.iterator](),g;!(c=(g=f.next()).done);c=!0){var m=g.value;if(d.isArrayMatching(m[e.KEY_CODE],s)&&p.isThePlatformInObject(m[e.PLATFORMS],a))throw new Error("Invalid KeyBinding, Key Combination is already bound to addCustomKeyHandler API")}}catch(E){h=!0,v=E}finally{try{!c&&f.return&&f.return()}finally{if(h)throw v}}}}}]),r}();return t},_,P),_.exports=S},50723:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11605),l(62082),l(83757),l(82020)],S=l.dj.d(b,function(p,d,n,e){var t=function(){function r(){A(this,r)}return C(r,null,[{key:"isKeyBindingInHandlerList",value:function(s,a,o){return o&&a&&s?o.some(function(u){if(u&&u[d.KEY_CODE]&&u[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(s,u)&&u[d.KEY_HANDLER_NAME]===a}):!1}},{key:"isKeyCodeEqual",value:function(s,a){var o=!1;return Array.isArray(s)&&Array.isArray(a[d.KEY_CODE])?o=e.isArrayMatching(s,a[d.KEY_CODE]):o=a[d.KEY_CODE]===s,o}},{key:"isPlatformInTheList",value:function(s,a){return s&&a?s.some(function(o){if(o)return o===a}):!1}},{key:"isThePlatformInObject",value:function(s,a){return s&&Array.isArray(s)&&a?s.includes(a)||s.includes(p.internal.ALL)||a===p.internal.ALL:!1}},{key:"findPropertyInTheObject",value:function(s,a,o){return o&&a&&s?o.find(function(u){if(u&&u[d.KEY_CODE]&&u[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(s,u)&&u[d.KEY_HANDLER_NAME]===a}):!1}},{key:"findKeyCodeInTheList",value:function(s,a,o){return o.find(function(u){return u[d.KEY_CODE]===s&&r.isThePlatformInObject(u[d.PLATFORMS],a)})}},{key:"getModifierLookupList",value:function(){return{altKey:!1,ctrlKey:!1,meta:!1,shiftKey:!1}}},{key:"getModifierKeyCodeState",value:function(s){var a=e.containsKeyCode(n.CTRL,s),o=e.containsKeyCode(n.SHIFT,s),u=e.containsKeyCode(n.ALT,s),c=e.containsKeyCode(n.META,s);return{ctrlKey:a,shiftKey:o,altKey:u,meta:c}}},{key:"getKeyCodeArray",value:function(s){var a=[];if(s){var o=!0,u=!1,c=void 0;try{for(var h=s[Symbol.iterator](),v;!(o=(v=h.next()).done);o=!0){var f=v.value,g=f;if(!r.keyCodeLookUpArray().includes(g)&&!r.getValidModifierList().includes(g))throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc");r.getValidModifierList().includes(g)||a.push(g)}}catch(m){u=!0,c=m}finally{try{!o&&h.return&&h.return()}finally{if(u)throw c}}}return a}},{key:"getModifierKeyCodeList",value:function(s){var a=r.getModifierKeyCodeState(s),o=a.ctrlKey,u=a.shiftKey,c=a.altKey,h=a.meta,v=r.getModifierLookupList();for(var f in v)f===d.CTRL_KEY?v[f]=o:f===d.SHIFT_KEY?v[f]=u:f===d.ALT_KEY?v[f]=c:f===d.META&&(v[f]=h);return v}},{key:"keyCodeLookUpArray",value:function(){return[n.F2,n.ENTER,n.BACKSPACE,n.DELETE,n.ARROW_DOWN]}},{key:"getValidModifierList",value:function(){return[n.ALT,n.META,n.SHIFT,n.CTRL]}}]),r}();return t},_,P),_.exports=S},82020:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(90228),l(11487),l(11605),l(23702)],S=l.dj.d(b,function(d,n,e,t){"use strict";var r=function(){function i(){p(this,i)}return A(i,null,[{key:"getFocusedCellForTreeTable",value:function(a,o,u){var c={},h=void 0;if(o&&o.rangeList.length>0&&o.rangeList[0]){var v=o.rangeList[0],f=v.rows.start,g=v.columns.start,m=[f,g].join(",");if(o.value?(h=o.value,m=[h,g].join(",")):f<=a.rangeList[0].rows.end&&f>=a.rangeList[0].rows.start&&(h=a.rowMetaData[0](f).value.id,m=[h,g].join(","),i._updateActiveStateWhenFocusCellPageIntoView(h,o.rangeList,u)),f<=a.rangeList[0].rows.end&&f>=a.rangeList[0].rows.start){var E=a.rowMetaData[0](f).value.groupRow;i.isGroupedRow(E)&&(m=h)}c[m]="mw-table-cell-focused"}return[h,c]}},{key:"_areRangeListsEqual",value:function(a,o){if(!a&&!o&&a===o)return!0;if(!a||!o||a.length!==o.length)return!1;for(var u=0;u<a.length;u+=1)if(!n.isRangeEqual(a[u],o[u]))return!1;return!0}},{key:"_updateActiveStateWhenFocusCellPageIntoView",value:function(a,o,u){var c=u.getStateByKey(d.protected.FOCUSED),h=u.getStateByKey(d.protected.ACTIVE_CELL);(!c||c.value!==a)&&(!c||!i._areRangeListsEqual(o,c.rangeList))&&u.setState(d.protected.FOCUSED,a,o),(!h||!h.value||h.value.id!==a)&&(!h||!i._areRangeListsEqual(o,h.rangeList))&&u.setState(d.protected.ACTIVE_CELL,{id:a},o)}},{key:"getFocusedCell",value:function(a){var o=a.getStateByKey(d.protected.FOCUSED);return o?o.rangeList[0]:null}},{key:"isActiveCellEmpty",value:function(a){return!!(a==null||Array.isArray(a)&&a.length===0)}},{key:"_updateSelectionStateWhenSelectionPageIntoView",value:function(a,o){var u=o.getStateByKey(d.protected.SELECTED),c=o.getStateByKey(d.protected.PIVOT);(!u||!u.value||u.value[0]!==a)&&o.setState(d.protected.SELECTED,[a]),c&&c.value!==a&&o.setState(d.protected.PIVOT,a)}},{key:"getIdsFromProxyNodes",value:function(a){return a.map(function(o){return o.id})}},{key:"createProxyNodesWithIds",value:function(a){return a.map(function(o){return{id:o}})}},{key:"_setInitialSelectionPivot",value:function(a,o){if(a.rangeList[0].rows.count!==0&&a.rangeList[0].rows.start===0&&!o.getStateByKey(d.protected.PIVOT)){var u=a.rowMetaData[0](0).value.id;u!==void 0&&o.setState(d.protected.PIVOT,u)}}},{key:"getSelectionIdList",value:function(a,o,u){var c={},h=void 0,v=void 0;if(o){if(h=o.value,h&&h.length!==0)for(var f=0;f<h.length;f++)c[h[f]]=!0;else if(!u.getStateByKey(d.treetable.SELECTION_CLEARED)){var g=u.getStateByKey(d.protected.ACTIVE_CELL);g&&g.value&&(v=g.value.id,v!==void 0&&(c[v]=!0),i._updateSelectionStateWhenSelectionPageIntoView(v,u))}}else i._setInitialSelectionPivot(a,u);return c}},{key:"isObjectEmpty",value:function(a){for(var o in a)if(a.hasOwnProperty(o))return!1;return!0}},{key:"isGroupedRow",value:function(a){return a!==null&&(typeof a>"u"?"undefined":C(a))==="object"&&a.constructor===Object}},{key:"getActiveCell",value:function(a){var o=a.getStateByKey(d.protected.ACTIVE_CELL);if(!o){var u=[n.range().setRows(0,0).setColumns(0,0)];o={value:null,rangeList:u}}return o}},{key:"hasModifierKey",value:function(a){var o=a.ctrlKey,u=a.meta,c=a.shiftKey,h=a.altKey;return o||h||u||c}},{key:"shallowEqual",value:function(a,o){if(a===o)return!0;for(var u in a)if(!(u in o)||a[u]!==o[u])return!1;for(var c in o)if(!(c in a))return!1;return!0}},{key:"containsKeyCode",value:function(a,o){return o&&Array.isArray(o)&&a?o.includes(a):!1}},{key:"hasDuplicates",value:function(a){return a&&Array.isArray(a)&&a.length>0?new Set(a).size!==a.length:!1}},{key:"isArrayEmpty",value:function(a){return!!(a&&Array.isArray(a)&&a.length<=0)}},{key:"isArrayMatching",value:function(a,o){if(Array.isArray(a)&&Array.isArray(o)){var u=Object.assign([],a),c=Object.assign([],o);if(u.sort(function(v,f){return v-f}),c.sort(function(v,f){return v-f}),u.length!==c.length)return!1;for(var h=0;h<a.length;h++)if(u[h]!==c[h])return!1;return!0}return!1}},{key:"isPropertyInTheObject",value:function(a,o,u){return a&&o&&u?a.some(function(c){if(c&&c[o])return c[o]===u}):!1}},{key:"getUsersPlaform",value:function(){var a=navigator.userAgent.toLowerCase();if(t(e.exposed.MAC))return e.exposed.MAC;if(a.includes(e.exposed.WINDOWS))return e.exposed.WINDOWS;if(a.includes(e.exposed.LINUX))return e.exposed.LINUX}},{key:"getKeyByValue",value:function(a,o){if(a&&o){for(var u in a)if(a.hasOwnProperty(u)&&a[u]===o)return u}return!1}},{key:"getColumnId",value:function(a,o){var u=a.find(function(c){return c._index===o});return u?u.columnId:""}},{key:"getCheckboxTreetableAriaLabel",value:function(a){if(a){var o=a.check===!0?"checked":a.check?a.check:"unchecked",u="checkbox "+o;return u}}},{key:"getFocusState",value:function(a){return a.getStateByKey(d.protected.FOCUSED)||null}},{key:"getTreeColumnIndex",value:function(a){return a.getStateByKey(d.treetable.treeColumnIndex)||null}},{key:"getCheckboxTreetableState",value:function(a){return a.getStateByKey(d.treetable.CHECKBOX_TREETABLE)||null}},{key:"isCheckboxTreetable",value:function(a){return!!(a&&a.isCheckboxTree)}},{key:"getCellInfo",value:function(a){var o=a.row,u=a.column,c=a.columnId,h=a.evt,v=a.node,f=h.ctrlKey,g=h.shiftKey,m=h.altKey,E=h.target,w=v.id,I=h.metaKey,M=E.hasAttribute("data-disclosure-id"),R={id:w,node:v,row:o,column:u,columnId:c,meta:I,ctrlKey:f,shiftKey:g,altKey:m};return{isDisclosureTarget:M,cellInfo:R}}},{key:"isDraggedItemInTheNodePath",value:function(a,o){var u=a.sourceIds,c=a.path,h=[];h=o||c;var v=u.some(function(f){return h.includes(f)});return v}},{key:"_isMouseOnTopOfTarget",value:function(a,o,u){var c=a.getBoundingClientRect(),h=c.left,v=c.right,f=c.bottom,g=c.top,m=o.getBoundingClientRect(),E=m.left,w=m.top,I=E+u.xOffset,M=w+u.yOffset;return I>=h&&I<=v&&M>=g&&M<=f}},{key:"isDragTargetDisclosureIcon",value:function(a,o){var u=a.querySelector(".disclosureIcon");return u?i._isMouseOnTopOfTarget(u,a,o):!1}},{key:"isTargetOnScrollBar",value:function(a,o){return(a.clientWidth<=o.xOffset||a.clientHeight<=o.yOffset)&&a.classList.contains("mw-scrolling-div")}},{key:"isDragTargetCheckboxTree",value:function(a,o){var u=a.querySelector(".mw-checkbox-tree");return u?i._isMouseOnTopOfTarget(u,a,o):!1}},{key:"isNextSiblingItsChild",value:function(a){var o=a.level,u=a.nextSibling;return u.level===o+1}}]),i}();return r},_,P),_.exports=S},21321:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){function C(A,p,d,n){var e=d.style.display;d.style.display="none",A.insertBefore(p,n),setTimeout(function(){d.parentNode&&(d.parentNode.removeChild(d),d.style.display==="none"&&(d.style.display=e))},0)}return{shouldCellUpdate:function(p,d,n,e){if(p.editState!==d.editState||p.focusClass!==d.focusClass||p.renderer!==d.renderer||p.interactiveRenderer!==d.interactiveRenderer||p.editor!==d.editor)return!0;var t=p.cellData.isEqual(d.cellData);return!t},replaceFirstNode:function(p,d,n){C(p,d,n,p.firstChild)},replaceLastNode:function(p,d,n){C(p,d,n,null)},getCellType:function(p){return p.type&&p.type.cellType?p.type.cellType:"TableCell"},determineCellBaseStyle:function(p,d){var n=p;return d&&d.type&&d.type.baseStyle&&(n=d.type.baseStyle),d&&d.readOnlyVisualDesign===!1&&n.indexOf("mw-table-cell-background-input")===-1&&(n=n.replace("mw-table-cell-background","mw-table-cell-background-input")),n},getBaseStyle:function(p){var d="mw-table-cell mw-table-cell-background";return this.determineCellBaseStyle(d,p)},getFrozenColumnCellClass:function(p,d){var n=void 0;return p&&d>=p.range.columns.start&&d<=p.range.columns.end&&(n="mw-table-frozen-column-cell",d===p.range.columns.end&&(n+=" last-frozen-column")),n}}},_,P),_.exports=S},38738:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function n(){A(this,n)}return C(n,null,[{key:"getFirstIndexAfterReorder",value:function(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.colEndIndex,a=i.colStartIndex,o=s?s-a:0;return t>r?r:r-o}},{key:"getColRangeIndicesForView",value:function(t,r,i,s){if(!r)return{startIndex:t,endIndex:t};var a=t,o=i,u=r.colEndIndex,c=r.colStartIndex,h=u-c||0;return o=o||t+h,i-t<h&&(s===t?a=o-h:o=t+h),{startIndex:a,endIndex:o}}},{key:"isGroupColumn",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.colEndIndex,i=t.colStartIndex;return r&&r-i>0||!1}},{key:"getGroupCellAttribute",value:function(t,r){var i=t.parentId,s=t.colIndex,a=t.startCol,o=t.endCol,u=t.headerIndex;if(i){if(s===a)return"group-"+i+"-start";if(s===o)return"group-"+i+"-end";var c=r[u-1],h=r[u+1];return c&&c.parentId!==i?"group-"+i+"-start":h&&h.parentId!==i?"group-"+i+"-end":"group-"+i}}},{key:"cellInsideGroup",value:function(t){if(!(typeof t!="string"||t.length<=0)){var r=t.split("-");return Array.isArray(r)&&r.length===2?"middle":r[2]}}},{key:"headerInsideGroup",value:function(t,r){var i=t.getAttribute("data-col-index");if(i){var s=r&&r.column===1;return s?"end":"start"}}},{key:"columnDropValidation",value:function(t,r,i,s,a,o,u,c){var h=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null;t=Number(t);var v=r.targetIndex,f=r.rightTargetIndex,g=r.rightTargetIndex||r.targetIndex,m=(f||v)-t;if(g===c||t<c&&g>c||t>c&&g<c||o&&!o({dataTransferItem:a,target:{type:u,index:g}})||m===0||m===1)return!1;if(i&&i.colEndIndex>=0){var E=n.getColRangeIndicesForView(t,i),w=E.endIndex;if(m>0&&v<=w||(f||v)-w===1)return!1}return h&&v>=h.range.columns.start&&v<=h.range.columns.end?!1:s?d(r,s):!0}}]),n}();return p;function d(n,e){var t=n.rightTargetIndex;return!!(e==="start"&&!t||e==="end"&&t)}},_,P),_.exports=S},80460:(_,P,l)=>{var b,S;function C(A,p){if(!(A instanceof p))throw new TypeError("Cannot call a class as a function")}b=[l(57574),l(74786)],S=l.dj.d(b,function(A,p){var d=p([A],{}),n=function e(){C(this,e);var t=new d;this.emit=t.emit.bind(t),this.on=t.on.bind(t)};return n},_,P),_.exports=S},82229:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(70480),l(58714),l(89631),l(57996),l(83563),l(80896),l(79301),l(26118),l(64920),l(71098),l(9070)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a,o,u){"use strict";var c=function(){function h(){A(this,h)}return C(h,null,[{key:"setViewModel",value:function(f,g,m,E){var w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},I=new f(m),M=new g(I);M.setState("lookAheadRowBuffer",3),M.viewPort={size:{left:0,top:0,width:0,height:0},rangeList:[E.range().setRows(0,11).setColumns(0,5)]};var R=w.CellComponent,T=w.RowComponent,N=w.TBodyComponent,F=w.TooltipComponent,y=w.widgetType;return M.setState(i.protected.component.CELL,R||p),M.setState(i.protected.component.ROW,T||d),M.setState(i.protected.component.TBODY,N||n),M.setState(i.protected.WIDGET_TYPE,y||"Table"),M.setState(i.protected.component.TOOLTIP,F||e),M.setState(i.protected.component.FLOATING_CONTENT,t),M}},{key:"initializeTableView",value:function(f,g,m,E,w){var I=new a(f),M=[new o({viewPortItem:f.viewPort.rangeList[0],viewModel:f,dataSize:I})],R={viewModel:f,dataStore:g,viewPortList:M,dataSize:I,options:w};s.parseViewModelWithConfig({viewModel:f,dataSize:I,columnModel:w.columnModel,attributes:w.attributes});var T=f.getStateByKey(i.protected.READONLY_VISUALDESIGN),N=T&&T.value?T.value:void 0;N===void 0&&(s.isEditorConfigured(f.getColumnHeaders())||f.setState(i.protected.READONLY_VISUALDESIGN,!1));var F=Object.keys(m).map(function(x){return new m[x](R)}),y=new r({viewModel:f,options:w,viewPortList:M,dataStore:g,controllers:F,pluginEnum:E});return y.initializeTable(),y}},{key:"mixinFacade",value:function(f,g,m){m=m||"exposedAPI",g.forEach(function(E){if(E[0][m]){var w=E[0][m]();for(var I in w){f[I]=w[I];var M=Object.getOwnPropertyDescriptor(w,I);(M.set||M.get)&&Object.defineProperty(f,I,Object.getOwnPropertyDescriptor(w,I))}}})}},{key:"facadeListeners",value:function(f,g,m){m=m||"emits",g.forEach(function(E){E[0][m]&&E[0][m].forEach(function(w){f._eventMap[w]=E[0]})})}},{key:"registerRenderer",value:function(f,g,m,E){return u.curry(h._updateRegistration)("renderer")(f,g,m,E)}},{key:"registerEditor",value:function(f,g,m,E){return u.curry(h._updateRegistration)("editor")(f,g,m,E)}},{key:"setupRegistration",value:function(f,g){f._registrationMap={renderer:{},editor:{}},g.setState(i.REGISTRATION,f._registrationMap)}},{key:"_updateRegistration",value:function(f){return function(g,m,E,w){g._registrationMap[f][E]=w,m.setState(i.REGISTRATION,g._registrationMap)}}},{key:"_generateUuid",value:function(){return"xxxx".replace(/[xy]/g,function(f){var g=Math.random()*16|0,m=f==="x"?g:g&3|8;return m.toString(16)}).toUpperCase()}}]),h}();return c},_,P),_.exports=S},34602:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(83847),l(14152)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){function e(){A(this,e)}return C(e,null,[{key:"appendHighlightDom",value:function(r,i,s){if(this.metaHasHighlightMatches(s)){var a=s.searchHighlight.matches;return this.appendHighlightDomMatches(r,i,a)}else return!1}},{key:"appendHighlightDomMatches",value:function(r,i,s){if(!this._isHighlightMatchesValid(s))return!1;r.setAttribute("data-region",!0);var a=p.getHighlightedTextDOM(i.toString(),s,"mw-table-highlight");return a.forEach(function(o){o.setAttribute&&o.setAttribute("data-region",!0),r.appendChild(o)}),!0}},{key:"appendHighlightDomReact",value:function(r,i,s){if(this.metaHasHighlightMatches(s)){var a=s.searchHighlight.matches;return this.appendHighlightDomMatchesReact(r,i,a)}else return null}},{key:"appendHighlightDomMatchesReact",value:function(r,i,s){if(!this._isHighlightMatchesValid(s))return null;var a=p.getHighlightedReact(i.toString(),s,"mw-table-highlight");return d.cloneElement(r,{"data-test-id":"highlightText","data-region":"true"},a)}},{key:"metaHasHighlightMatches",value:function(r){return!!(r&&r.searchHighlight&&r.searchHighlight.matches)}},{key:"_isHighlightMatchesValid",value:function(r){return Array.isArray(r)?r.reduce(function(i,s){var a=s.hasOwnProperty("start")&&s.hasOwnProperty("count");return i&&a},!0):!1}}]),e}();return n},_,P),_.exports=S},43883:(_,P,l)=>{var b,S,C=function(){function e(t,r){var i=[],s=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),c;!(s=(c=u.next()).done)&&(i.push(c.value),!(r&&i.length===r));s=!0);}catch(h){a=!0,o=h}finally{try{!s&&u.return&&u.return()}finally{if(a)throw o}}return i}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}b=[l(25219),l(82020),l(63804),l(79301),l(63622),l(9070),l(10381),l(95655),l(54505),l(26118),l(2102)],S=l.dj.d(b,function(e,t,r,i,s,a,o,u,c,h,v){var f=1,g=0,m=function(){function E(w,I,M){n(this,E),this._viewModel=I,this._dataStore=w,this._props={},this._props.eventCallback=M,this._rowComponentList=I.getStateByKey("RowComponent")||{},this._props.dataTestId=null,this._props.widgetId=null,this._sorted=[],this._size=new s(I),this._helper=o,this._props.headers=[],this._tableWidth=a.curry(e.computeTableHeight),this._disjointFreezeColumnRange=null,this._initViewStateProps(),I.getStateByKey(i.protected.testId)&&(this._props.dataTestId=I.getStateByKey(i.protected.testId).value),I.getStateByKey(i.protected.WIDGET_TYPE).value==="TreeTable"&&(this._helper=u),I.getStateByKey(i.protected.WIDGET_ID)&&(this._props.widgetId=I.getStateByKey(i.protected.WIDGET_ID).value),this._props.component={cell:I.getStateByKey(i.protected.component.CELL).value,row:I.getStateByKey(i.protected.component.ROW).value,tooltip:I.getStateByKey(i.protected.component.TOOLTIP).value,floatingContent:I.getStateByKey(i.protected.component.FLOATING_CONTENT).value,tbody:I.getStateByKey(i.protected.component.TBODY).value},this._props.selectHeaders=function(){return I.getStateByKey(i.SELECT_HEADERS).value},this._props.selectRowHeaders=I.getStateByKey(i.SELECT_ROW_HEADERS).value,this._props.dragAndDrop=I.getStateByKey(i.dragAndDrop).value,this._props.allowDragToSelect=I.getStateByKey(i.protected.ALLOW_DRAG_TO_SELECT)?I.getStateByKey(i.protected.ALLOW_DRAG_TO_SELECT).value:!1,this._props.canDragToSelect=I.getStateByKey(i.protected.CAN_DRAG_TO_SELECT)?I.getStateByKey(i.protected.CAN_DRAG_TO_SELECT).value:null,this._props.reorderRows=I.getStateByKey(i.protected.REORDER_ROWS).value,this._props.reparentRows=I.getStateByKey(i.protected.REPARENT_ROWS).value,this._props.dragColumns=I.getStateByKey(i.dragColumns)?I.getStateByKey(i.dragColumns).value:null,this._props.dragRows=I.getStateByKey(i.dragRows)?I.getStateByKey(i.dragRows).value:null,this._props.widgetType=I.getStateByKey(i.protected.WIDGET_TYPE).value,this._props.freezeColumnConfig=I.getStateByKey(i.protected.FREEZE_COLUMN_CONFIG)?I.getStateByKey(i.protected.FREEZE_COLUMN_CONFIG).value:null;var R=t.getTreeColumnIndex(I);R=R?R.value:0,this._props.treeColumnIndex=this._props.widgetType==="TreeTable"?R:void 0,I.getStateByKey(i.setDragData)&&(this._props.setDragData=I.getStateByKey(i.setDragData).value),this._props.canDrag=I.getStateByKey(i.protected.CAN_DRAG).value,this._props.canDrop=I.getStateByKey(i.protected.CAN_DROP).value,I.getStateByKey(i.setAvatar)&&(this._props.setAvatar=I.getStateByKey(i.setAvatar).value),I.getStateByKey(i.receiveDrop)&&(this._props.receiveDrop=I.getStateByKey(i.receiveDrop).value)}return A(E,[{key:"_initViewStateProps",value:function(){var I=this,M=[{name:i.ROW_HEIGHT,default:this._size.ROW_HEIGHT},{name:i.protected.HEADER_MENU_AFFORDANCE,default:!1},{name:i.protected.SORTABLE,default:!1},{name:i.tableBottomLeftAffordanceHeight,default:0},{name:i.TABLE_AFFORDANCE_WIDTH,default:{run:function(){return 0}}},{name:i.TRANSLATE_X,default:0},{name:i.colResize,default:!1},{name:i.SELECT_HEADERS,default:!1},{name:i.SELECT_ROW_HEADERS,default:!1},{name:i.dragAndDrop,default:!1},{name:i.dragColumns,default:!1},{name:i.dragRows,default:!1},{name:i.REGISTRATION,default:{}},{name:i.protected.GRID_STYLE,default:"STANDARD"},{name:i.protected.USE_DATA_FIELDS,default:!1},{name:i.protected.GROUPED_COLUMN_HEADERS,default:!1},{name:i.protected.REORDER_ROWS,default:!1},{name:i.protected.REPARENT_ROWS,default:!1},{name:i.protected.CAN_DRAG,default:!1},{name:i.protected.CAN_DROP,default:!1}];M.forEach(function(F){var y=I._viewModel.getStateByKey(F.name);(!y||!y.value)&&I._viewModel.setState(F.name,F.default)}),this._props.metadata={selections:[]},this._props.gridStyle=this._viewModel.getStateByKey(i.protected.GRID_STYLE),this._props.useEditorRendererDataFields=this._viewModel.getStateByKey(i.protected.USE_DATA_FIELDS),this._props.resizeSelection=this._viewModel.getStateByKey(i.protected.RESIZE_SELECTION);var R=this._viewModel.getStateByKey(i.protected.READONLY_VISUALDESIGN);this._props.readOnlyVisualDesign=R?R.value:!0,this._props.customProps={};var T=this._viewModel.getStateByKey(i.protected.INIT_CUSTOM_PROPS_FUNC);T&&T.value(this._viewModel,this._props),this._props.dataSize=this._viewModel.dataSize;var N=this._viewModel.getStateByKey(i.colResize);this._props.fitLastColumn=N?N.value[i.protected.FIT_LAST_COLUMN]:void 0,this._props.collapseColumn=N?N.value[i.protected.COLLAPSE_COLUMN]:void 0}},{key:"setHeaderSortState",value:function(I){this._props.sorted[I._index]=I[i.protected.SORTED]||{order:""}}},{key:"getHeaderSortType",value:function(I){return this._props.headers[I].sortType}},{key:"_isA",value:function(I,M){return Object.keys(M).reduce(function(R,T){return R&&typeof I[T]=="function"},!0)}},{key:"_setColumnContent",value:function(I,M){var R=I(M).value,T=this._viewModel,N={getDomNode:1,handleAction:1},F={getDomNode:1};R.interactiveRenderer&&this._isA(R.interactiveRenderer,N)?c.addMetadataToCol(M,T,"interactiveRenderer",R.interactiveRenderer):(R.editor&&c.addMetadataToCol(M,T,"editor",R.editor),R.renderer&&this._isA(R.renderer,F)&&c.addMetadataToCol(M,T,"renderer",R.renderer))}},{key:"_getChildrenColumnIdAndIndex",value:function(I,M,R){if(Array.isArray(I&&I.indexes)&&M.push.apply(M,d(I.indexes)),Array.isArray(I&&I.columnIds)){var T=!0,N=!1,F=void 0;try{for(var y=I.columnIds[Symbol.iterator](),x;!(T=(x=y.next()).done);T=!0){var O=x.value;R.push(O);var L=this._props.spanningHeaderDirectChildren[O];L&&this._getChildrenColumnIdAndIndex(L,M,R)}}catch(W){N=!0,F=W}finally{try{!T&&y.return&&y.return()}finally{if(N)throw F}}}return[M,R]}},{key:"_addSpanningHeaderDirectChildrenProperty",value:function(I,M,R){var T=this._props.spanningHeaderDirectChildren[I];T?T[M]=T[M]?[].concat(d(T[M]),[R]):[R]:this._props.spanningHeaderDirectChildren[I]=p({},M,[R])}},{key:"updateProps",value:function(I){var M=this._viewModel,R=I.viewData[g].range;this._disjointFreezeColumnRange=I.viewData[f]&&I.viewData[f].range;var T=M.dataSize,N=M.viewBuffer.rangeList[0];if(this._props.registration=M.getStateByKey(i.REGISTRATION).value,this._props.dataSize=this._viewModel.dataSize,this._props.editTrigger=M.getStateByKey(i.protected.EDIT_TRIGGER),this._props.editState=this.getEditState(M.getStateByKey(i.protected.EDIT_STATE)),this._props.colEditState=this.getEditState(M.getStateByKey(i.protected.COL_EDIT_STATE)),this._props.rowEditState=this.getEditState(M.getStateByKey(i.protected.ROW_HEADER_EDIT_STATE)),this._props.editValidation=this.getValidationState(M.getStateByKey(i.protected.EDIT_VALIDATION)),this._props.editProcessing=this.getEditState(M.getStateByKey(i.protected.EDIT_PROCESSING)),this._props.numberOfGutters=this.getNumberOfGutters(M.getStateByKey("numberOfGutters")),this._props.startRow=R.rows.start,this._props.endRow=R.rows.end,this._props.startCol=R.columns.start,this._props.endCol=R.columns.end,this._props.colResize=M.getStateByKey(i.colResize).value,this._props.tableAffordanceWidth=M.getStateByKey(i.TABLE_AFFORDANCE_WIDTH).value.run(),this._props.tableBottomLeftAffordanceHeight=M.getStateByKey(i.tableBottomLeftAffordanceHeight).value,this._props.displaySearch=M.getStateByKey(i.displaySearch)?M.getStateByKey(i.displaySearch).value:!1,this._props.checkboxTreetable=M.getStateByKey("checkboxTreetable")?M.getStateByKey("checkboxTreetable").value:!1,this._props.tableSelectionById=M.getStateByKey(i.protected.TABLE_SELECTION_BY_ID)?M.getStateByKey(i.protected.TABLE_SELECTION_BY_ID).value:!1,M.getStateByKey(i.displayRowHeader)){this._props.displayRowHeader=M.getStateByKey(i.displayRowHeader).value||M.getStateByKey(i.DISPLAY_ROW_HEADER_INDICES).value,this._props.rowHeaderWidth=M.getStateByKey(i.rowHeaderWidth).value,this._props.displayRowHeaderIndices=M.getStateByKey(i.DISPLAY_ROW_HEADER_INDICES).value;var F=M.getRowHeaderConfig.bind(M),y=F();this._props.topLeftRowHeaderLabel=y?y.topLeftRowHeaderLabel:"",this._props.enableEdit=y?y.enableEdit:!1}this._props.rowHeight=M.getStateByKey(i.ROW_HEIGHT).value,this._props.focused=e.getFocusedCell(M.getStateByKey(i.protected.FOCUSED)),this._props.preventTrueFocus=M.getStateByKey(i.protected.PREVENT_TRUE_FOCUS)?M.getStateByKey(i.protected.PREVENT_TRUE_FOCUS).value:{prevent:!1},this._props.allowDragToSelect=M.getStateByKey(i.protected.ALLOW_DRAG_TO_SELECT)?M.getStateByKey(i.protected.ALLOW_DRAG_TO_SELECT).value:!1;var x=void 0,O=void 0;this._props.tableSelectionById?x=M.getStateByKey("selected")||{}:(x=M.getStateByKey("selected")&&M.getStateByKey("selected").rangeList||[],O=M.getStateByKey("selected")&&M.getStateByKey("selected").value);var L=M.getStateByKey(i.ACTIVE_RANGE)||{};this._props.metadata={selections:x,activeRange:L.value,selectionType:x.value||O},this._props.translateX=M.getStateByKey(i.TRANSLATE_X).value,this._props.height=e.computeTableHeight(Math.max(T.rows.count,this._props.endRow),this._size.ROW_HEIGHT),this._props.data=I.viewData[g],this._props.frozenColumnData=I.viewData[f],this._props.colMenuAffordance=M.getStateByKey(i.protected.HEADER_MENU_AFFORDANCE).value,this._props.sortable=M.getStateByKey(i.protected.SORTABLE).value,this._props.clearSort=M.getStateByKey(i.protected.CLEAR_SORT)?M.getStateByKey(i.protected.CLEAR_SORT).value:!1,this._props.scrollXPos=this._size.COL_WIDTH*this._props.startCol,this._props.scrollYPos=this._size.ROW_HEIGHT*this._props.startRow,this._props.translateY=this._size.ROW_HEIGHT*this._props.startRow,this._props.logicalColWidth=this._size.COL_WIDTH,this._props.logicalRowHeight=this._size.ROW_HEIGHT,this._props.viewBuffer=N,this._props.rowMetaData=I.rowMetaData,this._props.colMetaData=I.columnMetaData;var W=M.getColumnHeaders().length;this._props.lastDataColumn=W||T.columns.count,this._props.totalLogicalWidth=this._size.COL_WIDTH*this._props.lastDataColumn;var j=T.columns.count;this._allColumnsRendered=j===R.columns.count,this._props.spanningHeaderDirectChildren={},this._setHeaders();var H=this._tableWidth(this._size.COL_WIDTH),K={headers:this._props.headers,allColumnsRendered:this._allColumnsRendered},$=h.getPercentColumnPageWidth(K);this._props.width=$||H(T.columns.count),this._props.columnClass=h.getTbodyHeaderClass(this._allColumnsRendered),this._props.tableClass=h.getTableHeaderClass(this._allColumnsRendered,v.isFreezeColumnEnabled(M));var V=M.getStateByKey(i.protected.UPDATE_CUSTOM_PROPS_FUNC);V&&V.value(M,I,this._props),this._checkPendingFunctionForView(M,R),this._props.spanningColumnHeaders=M.getSpanningHeaders(),this._props.groupedColumnHeaders=M.getStateByKey(i.protected.GROUPED_COLUMN_HEADERS).value,this._props.spanningColumnHeaders||(this._props.spanningColumnHeaders=this._mixSpanningColumnHeaders(I.columnSpanningMetaData));var z=this._props.spanningColumnHeaders?Object.keys(this._props.spanningColumnHeaders).length!==0:!1;if(this._props.collapseColumn&&(this._props.groupedColumnHeaders||z)&&(this._props.collapseColumn=!1),this._props.widgetType===i.protected.TYPE.TREETABLE&&this._setTreeColumnWidth(),this._props.displayColumnIndex=M.getStateByKey(i.DISPLAY_COLUMN_INDEX)?M.getStateByKey(i.DISPLAY_COLUMN_INDEX).value:!1,this._props.displayColumnLabel=M.getStateByKey(i.DISPLAY_COLUMN_LABEL)?M.getStateByKey(i.DISPLAY_COLUMN_LABEL).value:!0,this._props.displayColumnIndexOnly=this._props.displayColumnIndex&&!this._props.displayColumnLabel,this._props.hideColumnHeader=M.getStateByKey(i.HIDE_COLUMN_HEADER)?M.getStateByKey(i.HIDE_COLUMN_HEADER).value:!1,!this._props.groupedColumnHeaders&&z&&(this._props.displayColumnIndexOnly=!1,this._props.displayColumnIndex=!1),z){var X=Object.keys(this._props.spanningColumnHeaders),Z=!0,Y=!1,Q=void 0;try{for(var q=X[Symbol.iterator](),ee;!(Z=(ee=q.next()).done);Z=!0){var oe=ee.value;for(var se in this._props.spanningColumnHeaders)this._props.spanningColumnHeaders[se].parentId===oe&&this._addSpanningHeaderDirectChildrenProperty(oe,"columnIds",se)}}catch(he){Y=!0,Q=he}finally{try{!Z&&q.return&&q.return()}finally{if(Y)throw Q}}}return this._setSpanningHeaderAllChildren(),this._props}},{key:"_setSpanningHeaderAllChildren",value:function(){if(this._props.spanningHeaderAllChildren={},this._props.spanningHeaderDirectChildren)for(var I in this._props.spanningHeaderDirectChildren){var M=this._props.spanningHeaderDirectChildren[I],R=this._getChildrenColumnIdAndIndex(M,[],[]),T=C(R,2),N=T[0],F=T[1];this._props.spanningHeaderAllChildren[I]={indexes:N,columnIds:F}}}},{key:"_checkPendingFunctionForView",value:function(I,M){var R=I.getStateByKey(i.protected.PENDING_FOCUS_FUNC);R&&this._helper.isRangeInside(M,R.rangeList[0])&&(R.value(R.rangeList[0]),I.deleteState(i.protected.PENDING_FOCUS_FUNC))}},{key:"setDisabledState",value:function(){var I=this._viewModel;this._props.isTableDisabled=function(){return I.getStateByKey(i.protected.TABLE_DISABLED)?I.getStateByKey(i.protected.TABLE_DISABLED).value:!1}}},{key:"_mixSpanningColumnHeaders",value:function(I){var M={};return I[0].forEach(function(R){R.forEach(function(T){if(T){var N=Object.keys(T.value);N.forEach(function(F){M[F]=T.value[F]})}})}),M}},{key:"_getParsedHeader",value:function(I,M){var R=this._props,T=R.logicalColWidth,N=R.lastDataColumn,F=R.fitLastColumn,y=R.collapseColumn,x=R.treeColumnIndex,O=T,L="px",W={width:O,unit:L};if(M.label===null&&(M.label=I+1),M&&a.isObject(M)){M.width||(M.width={}),W.width=Math.floor(M.width.value),W.unit=M.width.unit;var j=this._viewModel.getStateByKey(i.CAN_SCROLL_HORIZONTAL)?this._viewModel.getStateByKey(i.CAN_SCROLL_HORIZONTAL).value:void 0,H=N===I+1&&F&&!j;W.fillContainerWidth=H?"100%":void 0,M.fillContainerWidth=H}return M._index=I,I===x&&(M.reorder=!1),M.styleData=e.getTableHeaderStyle(W,this._allColumnsRendered,T,y),this.setHeaderSortState(M),M}},{key:"_setDisjointFreezeColumnHeader",value:function(I){if(this._props.freezeColumnHeaders=void 0,this._disjointFreezeColumnRange){for(var M=[],R=0;R<=this._disjointFreezeColumnRange.columns.end;R++){var T=I[f](R).value;M.push(this._getParsedHeader(R,T)),this._setColumnContent(I[f],R)}this._props.freezeColumnHeaders=M}}},{key:"_setHeaders",value:function(){var I=this._props,M=I.colMetaData,R=I.startCol,T=I.endCol,N=this._viewModel,F=M||[function(){return{value:{}}}];N.deleteState("renderer"),N.deleteState("editor"),N.deleteState("interactiveRenderer");var y=[];this._props.sorted=[],this._setDisjointFreezeColumnHeader(F);for(var x=R;x<=T;x+=1){var O=F[g](x).value;O&&O.parentId&&this._addSpanningHeaderDirectChildrenProperty(O.parentId,"indexes",x),y.push(this._getParsedHeader(x,O)),this._setColumnContent(F[g],x)}var L=N.getStateByKey("renderer")||{},W=N.getStateByKey("interactiveRenderer")||{},j=N.getStateByKey("editor")||{};this._props.getRenderer=a.curry(e.getContentFor)(L),this._props.getEditor=a.curry(e.getContentFor)(j),this._props.getInteractiveRenderer=a.curry(e.getContentFor)(W),this._props.setInteractiveRenderer=function(H,K,$){c.addMetadataToRange(H,H,K,K,N,"interactiveRenderer",$)},this._props.headers=y}},{key:"_setTreeColumnWidth",value:function(){var I=this,M=this._props.headers,R=!1,T=t.getTreeColumnIndex(this._viewModel);M.forEach(function(N){N._index===T.value&&(I._viewModel.setState(i.protected.TREE_COLUMN_INFO,{id:N.columnId,maxWidth:N.styleData.maxWidth}),R=!0)}),R||this._viewModel.setState(i.protected.TREE_COLUMN_INFO,{})}},{key:"getSortedState",value:function(I){return this._sorted[I]||{order:""}}},{key:"getValidationState",value:function(I){return I&&I.hasOwnProperty("value")?I.value:{error:!1}}},{key:"getNumberOfGutters",value:function(I){return I&&I.hasOwnProperty("value")?I.value:0}},{key:"getEditState",value:function(I){return I&&I.hasOwnProperty("value")?I.value:!1}},{key:"props",get:function(){return this._props}}]),E}();return m},_,P),_.exports=S},2102:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(6699),l(79301),l(82020),l(63804),l(22928)],S=l.dj.d(b,function(p,d,n,e,t){var r=function(){function i(){A(this,i)}return C(i,null,[{key:"initTableColumnProps",value:function(a,o){o.customProps=o.customProps||{},o.focused=[!0,{}]}},{key:"updateTableColumnProps",value:function(a,o,u){var c=o.rangeList[0];u.customProps.rowMetaData=o.rowMetaData[0],u.customProps.viewDataRowRange=c.rows,u.focused=n.getFocusedCellForTreeTable(o,a.getStateByKey(d.protected.FOCUSED),a);var h=p.getSelectionIdList(o,a.getStateByKey(d.protected.SELECTED),a);u.metadata={selections:h,selectionById:!0}}},{key:"isFreezeColumnEnabled",value:function(a){return!!(a.getStateByKey(d.protected.FREEZE_COLUMN_CONFIG)&&a.getStateByKey(d.protected.FREEZE_COLUMN_CONFIG).value)}},{key:"isFreezeColumnConfigValid",value:function(a){return!(a.range.columns.start!==0||a.range.columns.end<0||a.range.columns.count>e.MAX_FROZEN_COLUMNS)}},{key:"validateAndSetFreezeColumnConfig",value:function(a,o){a&&!i.isFreezeColumnConfigValid(a)&&(t.warn("Invalid freeze range, disabling this feature: currently, this feature requires the freeze range to start from 0 to Nth column; max columns to freeze is "+e.MAX_FROZEN_COLUMNS),a=null),o.setState(d.protected.FREEZE_COLUMN_CONFIG,a)}}]),i}();return r},_,P),_.exports=S},92582:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(79301)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(){A(this,n)}return C(n,null,[{key:"wrapFunctionWithViewModel",value:function(t,r){return function(){var s=r.getStateByKey(p.dragInProgress);return s&&s.value?null:t.apply(this,arguments)}}}]),n}();return d},_,P),_.exports=S},82099:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d),this._handlers={}}return C(d,[{key:"register",value:function(e){var t=this,r=e;Array.isArray(e)||(r=[e]),r.forEach(function(i){for(var s in i)t._handlers[s]=t._handlers[s]||[],t._handlers[s].push(i[s])})}},{key:"handleEvent",value:function(e,t){var r=this._handlers[e];Array.isArray(r)&&r.forEach(function(i){return i(t)})}}]),d}();return p},_,P),_.exports=S},57006:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A};b=[l(2541),l(69933)],S=l.dj.d(b,function(A,p){"use strict";var d=function(){var e=function(o){var u={};if(o!==null&&(typeof o>"u"?"undefined":C(o))==="object"&&!Array.isArray(o)){for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(u[c]=o[c]);return u}return o},t=function(o,u){return!!(u&&u.value&&(typeof o>"u"?"undefined":C(o))==="object"&&(A.EDITOR in o||A.RENDERER in o))},r=function(o,u,c){var h=o;return t(o,c)&&(u in o||(o[u]=""),h=o[u]),h},i=function(o,u,c,h){var v=u;return t(o,h)?(v=e(o),v[c]=u,{oldValue:o,valueToSave:v}):{oldValue:o,valueToSave:v}},s=function(o){var u=o&&o.getEditIndicator&&o.getEditIndicator(),c=p.isValid(u);return{showEditIndicator:c,editIndicatorType:c?u:null}};return{getDisplayValue:r,shallowCopy:e,getValueToSave:i,getEditIndicator:s}};return d},_,P),_.exports=S},1339:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(1103),l(11487),l(79301)],S=l.dj.d(b,function(p,d,n){"use strict";var e=function(){function t(){A(this,t),this.dragType=null,this.cellType=null,this.inProgress=this._inProgress.bind(this),this.begin=this._begin.bind(this),this.getState=this._getState.bind(this),this.end=this._end.bind(this)}return C(t,[{key:"makeRange",value:function(i,s){return d.range().setRows(i,i).setColumns(s,s)}},{key:"resizeRow",value:function(i,s){var a=i;return i===s&&(a=s),a}},{key:"resizeColumn",value:function(i,s){var a=i;return i===s&&(a=s),a}},{key:"_begin",value:function(i){var s=i.location,a=i.activeCell,o=i.startRow,u=i.startCol,c=void 0,h=void 0;return s===p.TOP||s===p.BOTTOM?(a&&a.rows.start===o?c=p.ACTIVE:c=p.FULCRUM,h=p.ROW):(s===p.LEFT||s===p.RIGHT)&&(a&&a.columns.start===u?c=p.ACTIVE:c=p.FULCRUM,h=p.COLUMN),this.cellType=c,this.dragType=h,{cellType:c,dragType:h}}},{key:"_inProgress",value:function(){var i=this.dragType;return i===p.ROW||i===p.COLUMN}},{key:"_getState",value:function(i){var s=i.nextActiveCell,a=i.currentActiveCell,o=i.currentFulcrum,u=a,c=o;if(this.dragType===p.ROW){if(this.cellType===p.ACTIVE){var h=this.resizeRow(s.rows.start,a.rows.start);u=this.makeRange(h,a.columns.start)}else if(this.cellType===p.FULCRUM){var v=this.resizeRow(s.rows.start,o.rows.start);c=this.makeRange(v,o.columns.start)}}if(this.dragType===p.COLUMN){if(this.cellType===p.ACTIVE){var f=this.resizeColumn(s.columns.start,a.columns.start);u=this.makeRange(a.rows.start,f)}else if(this.cellType===p.FULCRUM){var g=this.resizeColumn(s.columns.start,o.columns.start);c=this.makeRange(o.rows.start,g)}}var m=d.isRangeEqual(o,c),E=d.isRangeEqual(a,u);if(m&&E)return null;var w={resizeActiveCell:u,resizeFulcrum:c};return w}},{key:"_end",value:function(){this.cellType=null,this.dragType=null}}]),t}();return e},_,P),_.exports=S},74374:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(71716),l(9070)],S=l.dj.d(b,function(p,d){"use strict";var n=d.values(p.order),e=d.values(p.order).reverse(),t=d.arrayMerge([""],n),r=d.arrayMerge([""],e),i=function(){function s(){A(this,s)}return C(s,null,[{key:"getNext",value:function(o,u,c){var h=void 0;c&&c==="DESC"?h=u?r:e:h=u?t:n;var v=h.indexOf(o);if(v===-1)return h[0];var f=d.arrayMerge(h.slice(v),h);return f.shift(),f[0]}}]),s}();return i},_,P),_.exports=S},10381:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(){A(this,n)}return C(n,null,[{key:"isRangeInside",value:function(t,r){return p.isRangeInside(t,r)}}]),n}();return d},_,P),_.exports=S},6699:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(81896),l(79301)],S=l.dj.d(b,function(d,n){"use strict";var e=function(){function t(){p(this,t)}return A(t,null,[{key:"hasModifierKey",value:function(i){var s=i.ctrlKey,a=i.meta,o=i.shiftKey,u=i.altKey;return s||u||a||o}},{key:"isObjectEmpty",value:function(i){for(var s in i)if(i.hasOwnProperty(s))return!1;return!0}},{key:"isStrikeThrough",value:function(i){return i&&i.metaData&&i.metaData.strikeThrough===!0}},{key:"isSafari",value:function(){var i=/safari/i;return i.test((d.getSystemInfo()||{}).BROWSER)}},{key:"isDeepEqual",value:function(i,s){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(i===s)return!0;if(a=a+1,(typeof i>"u"?"undefined":C(i))!=="object"||(typeof s>"u"?"undefined":C(s))!=="object"||i===null||s===null)return!1;var o=Object.keys(i),u=Object.keys(s);if(o.length!==u.length)return!1;var c=!0,h=!1,v=void 0;try{for(var f=o[Symbol.iterator](),g;!(c=(g=f.next()).done);c=!0){var m=g.value;if(!u.includes(m)||(typeof i[m]=="function"||typeof s[m]=="function")&&i[m].toString()!==s[m].toString()||a>=5||!t.isDeepEqual(i[m],s[m],a))return!1}}catch(E){h=!0,v=E}finally{try{!c&&f.return&&f.return()}finally{if(h)throw v}}return!0}},{key:"getSelectionIdList",value:function(i,s,a){var o={},u=void 0,c=void 0;if(s){if(u=s.value,u&&u.length!==0)for(var h=0;h<u.length;h++)o[u[h]]=!0;else if(!a.getStateByKey(n.protected.SELECTION_CLEARED)){var v=a.getStateByKey(n.protected.ACTIVE_CELL);v&&v.value&&(c=v.value.id,c!==void 0&&(o[c]=!0),t._updateSelectionStateWhenSelectionPageIntoView(c,a))}}else t._setInitialSelectionPivot(i,a);return o}},{key:"_updateSelectionStateWhenSelectionPageIntoView",value:function(i,s){var a=s.getStateByKey(n.protected.SELECTED),o=s.getStateByKey(n.protected.PIVOT);(!a||!a.value||a.value[0]!==i)&&s.setState(n.protected.SELECTED,[i]),o&&o.value!==i&&s.setState(n.protected.PIVOT,i)}},{key:"_setInitialSelectionPivot",value:function(i,s){if(i.rangeList[0].rows.count!==0&&i.rangeList[0].rows.start===0&&!s.getStateByKey(n.protected.PIVOT)){var a=i.rowMetaData[0](0).value.id;a!==void 0&&s.setState(n.protected.PIVOT,a)}}},{key:"reverseArray",value:function(i){if(i&&Array.isArray(i))return i.reverse()}},{key:"joinArray",value:function(i,s){if(i&&Array.isArray(i))return i.join(s)}},{key:"getHeaderId",value:function(i,s,a){if(i&&a!==void 0)return i+s+a}}]),t}();return e},_,P),_.exports=S},72989:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return function(C,A){var p=!1,d=0,n=void 0,e=-1;function t(s){p=!0,e=window.setTimeout(function(){C.apply(null,n),d=Date.now(),p=!1},s)}function r(){clearTimeout(e),p=!1,n=void 0,e=-1}function i(){n=arguments;var s=A-(Date.now()-d);s<=0||s>A?(C.apply(null,arguments),d=Date.now(),window.clearTimeout(e),p=!1):p||t(s)}return i.cancel=r,i}},_,P),_.exports=S},95655:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(){A(this,n)}return C(n,null,[{key:"isRangeInside",value:function(t,r){var i=r.range;return p.isRangeInside(t,i)}}]),n}();return d},_,P),_.exports=S},11649:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(9070),l(21141)],S=l.dj.d(b,function(p,d){var n=["px","%",""],e=function(){function t(){A(this,t)}return C(t,null,[{key:"column",value:function(i){var s={},a=i.label,o=i.dataIndex,u=i.width,c=u.value,h=u.unit;if(h=h||"",isNaN(o)||o<0)throw d.error.DATA_INDEX_REQUIRED;if(p.find(n,function(v){return h===v})===null)throw d.error.INVALID_UNIT;return s.name=a||"",s.dataIndex=o,s.width=c,s.unit=h,s}},{key:"validateColPct",value:function(i){var s=0,a=0,o=-1;i.forEach(function(c,h){if(c.width&&c.width.unit&&!isNaN(c.width.value)&&c.width.unit==="%"){var v=Math.abs(c.width.value);s+=v,v>a&&(o=h,a=v)}});var u=100-s;return u<0&&(o=-1),[u,o]}},{key:"separateControllers",value:function(i,s){var a=[],o=[];return s.CONTROLLERS.forEach(function(u){var c=0;u.forEach(function(h){var v=i.indexOf(h);v>-1&&(c++<1&&a.push(h),o.push(v))})}),o.sort(function(u,c){return c-u}).forEach(function(u){i.splice(u,1)}),[a,i]}},{key:"prunePlugins",value:function(i,s){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=[];if(s.INCOMPATIBLE.forEach(function(c){var h=0;c.forEach(function(v,f){var g=i.indexOf(v);g>-1&&h++>0&&o.push(g)})}),o.forEach(function(c){i.splice(c,1)}),a.selectionConfig&&a.selectionConfig.selectionById){var u=i.indexOf(s.AVAILABLE.SingleRowSelection[0]);if(u>-1&&(i[u]=s.INTERNAL.SingleRowSelectionById[0]),u=i.indexOf(s.AVAILABLE.MultiRowSelection[0]),u>-1&&(i[u]=s.INTERNAL.MultiRowSelectionById[0]),u=i.indexOf(s.AVAILABLE.CellSelection[0]),u>-1)throw new Error("ID based Cell selection is not supported yet !")}return i}}]),t}();return e},_,P),_.exports=S},54505:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(11487)],S=l.dj.d(b,function(p){var d=function(){function n(){A(this,n)}return C(n,null,[{key:"addMetadataToCol",value:function(t,r,i,s){var a=[],o=[],u=r.getStateByKey(i);u&&(o=u.value,a=u.rangeList),o.push(s),a.push(p.range().setEntireColumns(t)),r.setState(i,o,a)}},{key:"addMetadataToRow",value:function(t,r,i,s){var a=[],o=[],u=r.getStateByKey(i);u&&(a=u.rangeList,o=u.value),o.push(s),a.push(p.range().setEntireRows(t)),r.setState(i,o,a)}},{key:"addMetadataToRange",value:function(t,r,i,s,a,o,u){var c=[],h=[],v=a.getStateByKey(o);v&&(c=v.rangeList,h=v.value),h.push(u),c.push(p.range().setRows(t,r).setColumns(i,s)),a.setState(o,h,c)}},{key:"getRangeForCell",value:function(t,r){return p.range().setRows(t,t).setColumns(r,r)}},{key:"getRangeForRow",value:function(t){return p.range().setEntireRows(t)}},{key:"getRangeForColumn",value:function(t){return p.range().setEntireColumns(t)}},{key:"getStateForKey",value:function(t,r){var i=t.getStateByKey(r);return i?{rangeList:i.rangeList,value:i.value}:{rangeList:null,value:null}}},{key:"updateDataForCell",value:function(t,r,i,s){r=Number(r),i=Number(i);var a=p.range().setRows(r,r).setColumns(i,i);t.update(a,[[s]])}}]),n}();return d},_,P),_.exports=S},45261:(_,P,l)=>{var b,S,C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(54282),l(16885),l(63804),l(18255),l(14152)],S=l.dj.d(b,function(e,t,r,i,s){var a="mw-table-resize-affordance",o="mw-table-resize-right-only",u="mw-table-resize-affordance-collapsecolumn",c="mwTableHeaderAffordancePlaceholder",h=function(v){n(f,v);function f(){p(this,f);var g=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return g._handleMouseDown=g._handleMouseDown.bind(g),g._handleMouseUp=g._handleMouseUp.bind(g),g._handleMouseMove=g._handleMouseMove.bind(g),g.state={computedWidth:null},g}return A(f,[{key:"shouldComponentUpdate",value:function(m){return!!(this.props.shouldReportHeaderWidth||this.props.colWidth!==m.colWidth||this.props.logicalColWidth!==m.logicalColWidth||this.props.colIndex!==m.colIndex||this.props.colIndexEnd!==m.colIndexEnd||this.props.rightOnly!==m.rightOnly||this.props.isResizable!==m.isResizable)}},{key:"_getComputedWidth",value:function(){return this.affordance.parentNode.offsetWidth}},{key:"_handleMouseDown",value:function(m){m.stopPropagation(),m.preventDefault(),m.target.hasAttribute("data-affordance-index")&&(document.addEventListener("mouseup",this._handleMouseUp),document.addEventListener("mousemove",this._handleMouseMove),this.setState({column:Number(m.target.getAttribute("data-col-index")),computedWidth:this._getComputedWidth(),startPos:m.clientX}))}},{key:"_handleMouseUp",value:function(m){document.removeEventListener("mouseup",this._handleMouseUp),document.removeEventListener("mousemove",this._handleMouseMove),this._handleMouseMove(m);for(var E=this._getComputedWidth(),w=this.props.colIndexEnd-this.props.colIndex+1,I=0;I<w;I=I+1)this.state.computedWidth!==E&&this.props.eventCallback(t.internal.COL_RESIZE_DONE,[{width:E/w,columnIndex:this.props.colIndex+I}])}},{key:"_handleMouseMove",value:function(m){var E=m.clientX-this.state.startPos;if(!(this.props.rightOnly&&i.isMovingLeft(E)))for(var w=this.props.colIndexEnd-this.props.colIndex+1,I=0;I<w;I=I+1){var M=E+this.state.computedWidth,R=this.props.logicalColWidth/w;this.props.collapseColumn&&(R=r.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN);var T=Math.max(R,M)/w;this.props.eventCallback(t.protected.COL_RESIZE,{width:T,column:this.props.colIndex+I})}}},{key:"_reportComputedWidth",value:function(){if(this.props.eventCallback)for(var m=this.props.colIndexEnd-this.props.colIndex+1,E=0;E<m;E=E+1)this.props.eventCallback(t.protected.COL_HEADER_MOUNT,{width:this._getComputedWidth()/m,column:this.props.colIndex+E,noRender:!0})}},{key:"componentDidUpdate",value:function(){this._reportComputedWidth()}},{key:"componentDidMount",value:function(){this._reportComputedWidth()}},{key:"render",value:function(){var m=this,E=this.props,w=E.colIndex,I=E.rightOnly,M=E.colIndexEnd,R=E.collapseColumn,T=E.colWidth,N=E.isResizable;M=M||w;var F=I?o:a;return R&&T<r.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN&&(F=u),N===void 0&&(N=!0),N||(F=c),s.createElement("div",C({ref:function(x){m.affordance=x},"data-test-id":N?e.RESIZE_AFFORDANCE:e.RESIZE_AFFORDANCE_PLACEHOLDER,"data-affordance-index":w,"data-affordance-index-end":M},N?{onMouseDown:this._handleMouseDown}:null,{className:F}))}}]),f}(s.Component);return h},_,P),_.exports=S},68376:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(16885),l(79301),l(63804),l(54282),l(84960),l(19510),l(45261),l(70017),l(59514),l(55346),l(58692),l(8398),l(15555),l(28752),l(21321),l(38738),l(6699),l(25219),l(14152)],S=l.dj.d(b,function(e,t,r,i,s,a,o,u,c,h,v,f,g,m,E,w,I,M,R){var T="mwTableSortAffordance",N=function($){var V=$?$.closest("div"):null;return V&&V.className===T},F=function($,V){var z=V.headerRenderer;return z&&typeof z.getDomNode=="function"?{headerRenderer:z}:{}},y=function(){var K={};return K[v.selection.SELECTED]="mw-table-header-col-selected",K}(),x=function($){return y[$]||""},O=function(){return R.createElement("div",{className:"mwTableHeaderAffordancePlaceholder"})},L=function($){var V=$.headerMeta,z=V===void 0?{}:V,X=$.eventCallback,Z=$.sortable,Y=$.clearSort,Q=$.colIndex,q=$.sorted,ee=$.colStartIndex,oe=$.colEndIndex,se=$.cellEditState,he=z.sortType,fe=z.sortFirst,le=T;if(Z&&he)return R.createElement(u,{key:"sort."+Q,sortClass:le,colIndex:Q,colStartIndex:ee,cellEditState:se,colEndIndex:oe,eventCallback:X,sortType:he,sortFirst:fe,sorted:q,clearSort:Y})},W=function($){var V=$.colResize,z=$.eventCallback,X=$.logicalColWidth,Z=$.colIndex,Y=$.headerMeta,Q=$.colIndexEnd,q=$.styleData,ee=$.fillContainerWidth,oe=$.collapseColumn,se=$.range,he=se===void 0?{}:se,fe=V;if(!fe)return R.createElement(O,{key:"resize."+Z+"."+Q});Y.resizable!==void 0&&(fe=Y.resizable);var le=w.getColRangeIndicesForView(Z,Y,Q,he.start),ie=q&&q.width&&q.width.includes("%"),re=q&&q.minWidth?q.minWidth:X;return R.createElement(o,{key:"resize."+le.startIndex,rightOnly:ee,colIndex:le.startIndex,colIndexEnd:le.endIndex,eventCallback:z,logicalColWidth:X,colWidth:re,collapseColumn:oe,shouldReportHeaderWidth:ie,isResizable:fe})},j=function($){var V=$.eventCallback,z=$.colMenuAffordance,X=$.sorted,Z=$.colIndex,Y=$.headerMeta,Q=Y===void 0?{}:Y,q=$.colIndexEnd,ee=$.range,oe=ee===void 0?{}:ee,se=Q.headerMenu,he=w.getColRangeIndicesForView(Z,Q,q,oe.start);if(z&&se)return R.createElement(c,{key:"menu."+he.startIndex,colIndex:he.startIndex,colStartIndex:he.startIndex,colEndIndex:he.endIndex,eventCallback:V,sorted:X})},H=function(K){n($,K);function $(V){p(this,$);var z=d(this,($.__proto__||Object.getPrototypeOf($)).call(this));z._handleMouseEnter=z._handleMouseEnter.bind(z),z._handleMouseDown=z._handleMouseDown.bind(z);var X=F(void 0,V),Z=X.headerRenderer;return z.state={headerRenderer:Z||new a},z._handleContextmenu=z._handleContextmenu.bind(z),z.handleDragState=z.handleDragState.bind(z),z}return A($,[{key:"componentDidMount",value:function(){this.props.displayColumnIndexOnly||this.renderNode.appendChild(this.state.headerRenderer.getDomNode(this.props.name))}},{key:"componentWillReceiveProps",value:function(z){var X=z.headerRenderer;X!==this.state.headerRenderer&&this.setState(F)}},{key:"componentDidUpdate",value:function(z,X){if(this.state.headerRenderer!==X.headerRenderer||this.props.name!==z.name){var Z=this.props.displayColumnIndexOnly?this.renderNode:this.renderNode.firstChild;E.replaceFirstNode(this.renderNode,this.state.headerRenderer.getDomNode(this.props.name),Z)}}},{key:"_handleMouseEnter",value:function(z){var X=this,Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s.COLUMN_HEADER,Y=this.props,Q=Y.colIndex,q=Y.name,ee=Y.id,oe=m.getTargetNode(s.COLUMN_HEADER,z.target,this.renderNode,this.state.headerRenderer);if(!this.state.dragInProgress&&this.state.headerRenderer.getTooltip&&(this.state.headerRenderer.showTooltip||m.isTruncated(oe))){var se=Z===s.COLUMN_HEADER?Q:ee;this.props.eventCallback(e.protected.NODE_NOTIFY,{publisherFn:function(){return{node:z.target,id:Z+se,content:X.state.headerRenderer.getTooltip(q).text,className:"mw-table-header-column"}},publisherId:t.protected.publisher.CELL_HOVER,noRender:!0})}}},{key:"_handleContextmenu",value:function(z){var X=this.props,Z=X.eventCallback,Y=X.rowIndex,Q=X.colIndex,q=X.colIndexEnd,ee={type:s.COLUMN_HEADER,rowIndex:Y,colIndex:Q,colEnd:q};return g.eventCallbackForContextMenu(z,Z,ee)}},{key:"_handleDoubleClick",value:function(){}},{key:"_handleMouseDown",value:function(z){if(!g.isSyntheticRightClick(z)){var X=this.props,Z=X.colIndex,Y=X.headerMeta,Q=X.colIndexEnd,q=X.range,ee=q===void 0?{}:q;if(!(Z<0)&&!N(z.target)){var oe=w.isGroupColumn(Y),se=w.getColRangeIndicesForView(Z,Y,Q,ee.start);this.props.eventCallback(e.protected.COL_HEADER_CLICK,{column:se.startIndex,columnEnd:se.endIndex,groupedSelection:oe,meta:z.metaKey,ctrlKey:z.ctrlKey,shiftKey:z.shiftKey,altKey:z.altKey})}}}},{key:"handleDragState",value:function(z){this.setState({dragInProgress:z}),this.props.eventCallback(e.internal.DRAG_STARTED,{columnDragStarted:z})}},{key:"_isWidthCollapsed",value:function(z,X){var Z=z.styleData,Y=z.collapseColumn,Q=z.logicalColWidth;if(!Y)return!1;var q=Z&&Z.minWidth?Z.minWidth:Q,ee=X||q;return ee<r.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN}},{key:"_makeDragIcon",value:function(){var z="column",X=this.props,Z=X.setAvatar,Y=X.canDrop,Q=X.widgetType,q=X.treeColumnIndex,ee=X.colIndex,oe=X.name,se=X.columnId,he=X.headerMeta,fe=X.freezeColumnConfig;return R.createElement(f,{avatarDefaultLabel:oe,setAvatar:Z,dropType:z,colIndex:ee,columnId:se,headerMeta:he,scrollNode:this.props.scrollNodeIntoView.getScrollNode(),eventCallback:this.props.eventCallback,onDragAction:this.handleDragState,canDrop:Y,widgetType:Q,treeColumnIndex:q,freezeColumnConfig:fe})}},{key:"render",value:function(){var z=this,X=this.props,Z=X.cellEditState,Y=X.styleData,Q=X.colEditState,q=X.colIndex,ee=X.headerMeta,oe=X.range,se=oe===void 0?{}:oe,he=X.colIndexEnd,fe=X.columnId,le=X.dragColumns,ie=X.colSelectionMap,re=ie===void 0?function(){return 0}:ie,ce=X.displayColumnIndex,ve=X.columnHeaderIndex,ge=X.displayColumnIndexOnly,Te=X.widgetId,Pe=X.freezeColumnConfig,Le=X.groupedColumnHeaders,ct=this.colHeaderNode&&this.colHeaderNode.offsetWidth?this.colHeaderNode.offsetWidth:0,st=this._isWidthCollapsed(this.props,ct);ve=ve||ee&&ee.columnHeaderIndex;for(var ot=I.getHeaderId(Te,"_",fe),nt=[],Rt=["mw-table-header-column","mw-table-flex-container"],Yt=0,kt=!0,Ft=q;Ft<=he;Ft+=1)if(Yt=re(Ft),Yt<=0){kt=!1;break}kt&&Rt.push(x(Yt)),(typeof Y>"u"?"undefined":C(Y))!=="object"&&(Y={position:"relative"});var Bt=q===0?"mw-table-no-left-border":"mw-table-left-border";Rt.push(Bt),st||nt.push(j(this.props)||L(this.props)),nt.push(W(this.props));var me=[];st||(Pe&&q>=Pe.range.columns.start&&q<=Pe.range.columns.end&&(le=!1),le&&me.push(this._makeDragIcon()));var Ne=w.getColRangeIndicesForView(q,ee,he,se.start),Ve=Z?"true":"false",et=ge?[]:["mw-table-header-label-container"];st&&(et=["mw-table-header-label-container-collapsecolumn"],Rt.push("mw-table-header-collapsecolumn"));var ze=["mw-table-header-label"];ce&&(et.push("mw-table-header-index-container"),ze.push("mw-text-center"));var pt=E.getFrozenColumnCellClass(Pe,q);pt&&Rt.push(pt);var Et=ee&&ee.style?ee.style:void 0;Et=Le&&ee&&ee.complexHeaderStyle?ee.complexHeaderStyle:Et,Et&&M.metaDataStyling(Et,Y,s.COLUMN_HEADER);var It={};return M.colorStyling(Et,It),R.createElement("th",{id:ot,role:"columnheader",scope:"col",ref:function(Vt){z.colHeaderNode=Vt},"data-col-index":Ne.startIndex,"data-col-index-end":Ne.endIndex,"data-edit-state":Q,"cell-edit-state":Ve,"data-column-id":fe,style:Y,onMouseDown:this._handleMouseDown,onContextMenu:this._handleContextmenu,className:Rt.join(" ")},me,R.createElement("div",{className:et.join(" ")},R.createElement(h,{columnHeaderIndex:ve,displayColumnIndex:ce,styleHeader:It}),ge?null:R.createElement("div",{ref:function(Vt){z.renderNode=Vt},style:It,"data-test-id":i.HEADER_LABEL,onMouseEnter:this._handleMouseEnter,onDoubleClick:this._handleDoubleClick,className:ze.join(" ")})),nt)}}]),$}(R.Component);return H},_,P),_.exports=S},55346:(_,P,l)=>{var b,S;b=[l(54282),l(14152)],S=l.dj.d(b,function(C,A){var p=function(n){var e=n.displayColumnIndex,t=n.columnHeaderIndex,r=n.styleHeader,i=[];return e&&i.push("mw-table-header-index-font","mw-table-header-index-padding-bottom","mw-text-center"),e?A.createElement("div",{style:r,"data-test-id":C.HEADER_INDEX,className:i.join(" ")},[t]):null};return p},_,P),_.exports=S},55918:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(30218),l(43548),l(85831),l(11430),l(69650),l(6983),l(90570),l(32249),l(98717),l(14152)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a,o){var u=function(){function c(h){A(this,c),this.propFactory=h,this._scrollNodeIntoView=new r}return C(c,[{key:"makeRowHeaderComponent",value:function(){var v=this.propFactory.props,f=v.height,g=v.startRow,m=v.endRow,E=v.eventCallback,w=v.scrollYPos,I=v.logicalRowHeight,M=v.rowMetaData,R=v.metadata,T=v.viewBuffer,N=v.displayRowHeaderIndices,F=v.enableEdit,y=v.displayRowHeader,x=v.rowEditState,O=v.editState,L=v.topLeftRowHeaderLabel,W=v.canDragToSelect,j=v.widgetId,H=o.createElement(t,{scrollPos:w,displayRowHeaderIndices:N,scrollNodeIntoView:this._scrollNodeIntoView,displayRowHeader:y,rowHeaderHeight:f,eventCallback:E,rowHeight:I,rowMetaData:M,startRow:g,metadata:R,viewBuffer:T,enableEdit:F,topLeftRowHeaderLabel:L,rowEditState:x,cellEditState:O,endRow:m,widgetId:j,canDragToSelect:W});return H}},{key:"makeTableComponent",value:function(v){var f=this.propFactory.props,g=f.height,m=f.width,E=f.tableClass,w=f.viewBuffer,I=f.customProps,M=f.widgetType,R=f.dataSize,T=f.startRow,N=f.startCol,F=f.eventCallback,y=f.translateX,x=f.scrollYPos,O=f.columnClass,L=f.displaySearch,W=f.endRow,j=f.endCol,H=f.metadata,K=f.headers,$=f.freezeColumnHeaders,V=f.data,z=f.focused,X=f.preventTrueFocus,Z=f.editState,Y=f.editTrigger,Q=f.editValidation,q=f.editProcessing,ee=f.logicalRowHeight,oe=f.getRenderer,se=f.getEditor,he=f.getInteractiveRenderer,fe=f.setInteractiveRenderer,le=f.component,ie=f.registration,re=f.readOnlyVisualDesign,ce=f.numberOfGutters,ve=f.useEditorRendererDataFields,ge=f.checkboxTreetable,Te=f.resizeSelection,Pe=f.tableSelectionById,Le=f.dragAndDrop,ct=f.canDragToSelect,st=f.rowMetaData,ot=f.widgetId,nt=f.spanningColumnHeaders,Rt=f.displayRowHeader,Yt=f.groupedColumnHeaders,kt=f.frozenColumnData,Ft=f.freezeColumnConfig;return o.createElement(d,{tableClass:E,height:g,width:m,rowMetaData:st,widgetType:M,dataSize:R,scrollNodeIntoView:this._scrollNodeIntoView,translateY:x,translateX:y,eventCallback:F,columnClass:O,displaySearch:L,startRow:T,startCol:N,endRow:W,endCol:j,metadata:H,headers:K,freezeColumnHeaders:$,data:V,focused:z,preventTrueFocus:X,editTrigger:Y,editState:Z,editValidation:Q,editProcessing:q,logicalRowHeight:ee,getEditor:se,getRenderer:oe,getInteractiveRenderer:he,setInteractiveRenderer:fe,component:le,viewBuffer:w,customProps:I,registration:ie,numberOfGutters:ce,checkboxTreetable:ge,tableSelectionById:Pe,useEditorRendererDataFields:ve,resizeSelection:Te,readOnlyVisualDesign:re,dragAndDrop:Le,canDragToSelect:ct,widgetId:ot,spanningColumnHeaders:nt,displayRowHeader:Rt,groupedColumnHeaders:Yt,frozenColumnData:kt,freezeColumnConfig:Ft})}},{key:"makeScrollComponent",value:function(v,f){var g=this.propFactory.props,m=g.eventCallback,E=g.tableBottomLeftAffordanceHeight,w=g.rowHeaderWidth,I=g.receiveDrop,M=g.tableAffordanceWidth,R=g.metadata,T=g.dragAndDrop,N=g.setDragData,F=g.setAvatar,y=g.dragColumns,x=g.dragRows,O=g.canDrag,L=g.canDrop,W=g.reorderRows,j=g.reparentRows,H=g.widgetType,K=g.allowDragToSelect,$=n;return T&&($=i),o.createElement(a,null,o.createElement($,{eventCallback:m,scrollNodeIntoView:this._scrollNodeIntoView,table:v,dragAndDrop:T,allowDragToSelect:K,dragColumns:y,reorderRows:W,reparentRows:j,widgetType:H,canDrag:O,canDrop:L,receiveDrop:I,dragRows:x,setDragData:N,setAvatar:F,metadata:R,rowHeader:f,rowHeaderWidth:w,tableAffordanceWidth:M,tableBottomLeftAffordanceHeight:E}))}},{key:"makeHeaderComponent",value:function(){var v=this.propFactory.props,f=v.eventCallback,g=v.tableAffordanceWidth,m=v.width,E=v.startCol,w=v.endCol,I=v.lastDataColumn,M=v.displayRowHeader,R=v.displayRowHeaderIndices,T=v.topLeftRowHeaderLabel,N=v.columnClass,F=v.scrollXPos,y=v.totalLogicalWidth,x=v.colMetaData,O=v.logicalColWidth,L=v.metadata,W=v.headers,j=v.freezeColumnHeaders,H=v.viewBuffer,K=v.sorted,$=v.colResize,V=v.colMenuAffordance,z=v.sortable,X=v.clearSort,Z=v.spanningColumnHeaders,Y=v.colEditState,Q=v.selectHeaders,q=v.editState,ee=v.groupedColumnHeaders,oe=v.dragColumns,se=v.dragAndDrop,he=v.widgetType,fe=v.fitLastColumn,le=v.collapseColumn,ie=v.setAvatar,re=v.canDrop,ce=v.hideColumnHeader,ve=v.displayColumnIndexOnly,ge=v.displayColumnLabel,Te=v.displayColumnIndex,Pe=v.treeColumnIndex,Le=v.widgetId,ct=v.spanningHeaderAllChildren,st=v.freezeColumnConfig,ot=p;return se&&oe&&(ot=s),o.createElement(a,null,o.createElement(ot,{scrollNodeIntoView:this._scrollNodeIntoView,displayRowHeader:M,displayRowHeaderIndices:R,topLeftRowHeaderLabel:T,scrollXPos:F,flexWidth:m,fitLastColumn:fe,hideColumnHeader:ce,displayColumnIndexOnly:ve,displayColumnLabel:ge,displayColumnIndex:Te,collapseColumn:le,lastDataColumn:I,width:m,eventCallback:f,startCol:E,endCol:w,tableAffordanceWidth:g,children:W,columnClass:N,logicalColWidth:O,totalLogicalWidth:y,headers:W,freezeColumnHeaders:j,colMetaData:x,viewBuffer:H,metadata:L,sorted:K,clearSort:X,colResize:$,sortable:z,colMenuAffordance:V,spanningColumnHeaders:Z,groupedColumnHeaders:ee,selectHeaders:Q,cellEditState:q,colEditState:Y,dragColumns:oe,widgetType:he,setAvatar:ie,dragAndDrop:se,canDrop:re,treeColumnIndex:Pe,widgetId:Le,spanningHeaderAllChildren:ct,freezeColumnConfig:st}))}},{key:"makeWrapperComponent",value:function(v,f){this.propFactory.props.isTableDisabled||this.propFactory.setDisabledState();var g=this.propFactory.props,m=g.eventCallback,E=g.maxWidth,w=g.dataTestId,I=g.component,M=g.selectHeaders,R=g.isTableDisabled,T=g.selectRowHeaders,N=g.gridStyle,F={maxWidth:E||"none"};return o.createElement(e,{dataTestId:w,style:F,scrollComponent:v,header:f,eventCallback:m,component:I,selectRowHeaders:T,isTableDisabled:R,selectHeaders:M,gridStyle:N})}}]),c}();return u},_,P),_.exports=S},70480:(_,P,l)=>{var b,S;b=[l(14152),l(62065),l(55485),l(56629),l(36377),l(18294),l(62806),l(57006),l(25219)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){"use strict";var s=new t,a=function(c,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return v===!1?c[h]:c[1][h]},o=function(c){var h=c.colIndex,v=c.rowIndex,f=c.data,g=c.focused,m=g===void 0?{}:g,E=c.preventTrueFocus,w=c.getEditor,I=c.getRenderer,M=c.groupAttr,R=c.readOnlyVisualDesign,T=c.focusCached,N=c.getInteractiveRenderer,F=c.setInteractiveRenderer,y=c.styleData,x=c.customProps,O=c.additionalClass,L=c.eventCallback,W=c.editTrigger,j=c.editState,H=c.editValidation,K=c.editProcessing,$=c.selectionMap,V=c.registration,z=c.displaySearch,X=c.useEditorRendererDataFields,Z=c.resizeSelection,Y=c.readonly,Q=c.tableSelectionById,q=c.columnAndRowHeaderIds,ee=c.frozenColumnData,oe=c.freezeColumnConfig,se=n(L),he=se.handleMouseOverWithRenderer,fe=e(L),le=fe.setFloatingContent,ie=fe.removeFloatingContent,re=void 0,ce=void 0,ve=void 0,ge={},Te={},Pe=A,Le=void 0;ee&&h>=oe.range.columns.start&&h<=oe.range.columns.end?Le=ee(v)(h):Le=f(v)(h),ce=N(v,h),Le&&Le.metaData&&i.isReadOnly(Le.metaData)&&(Y=Le.metaData.readonly),Y===!0?(ge.readonly=Y,ve=null):ve=w(v,h),Le.metaData&&(z&&Le.metaData.searchHighlight&&(ge.searchHighlight=Le.metaData.searchHighlight),Le.metaData.style&&(i.metaDataStyling(Le.metaData.style,y),Le.metaData.style.rangeOuterBorderColor&&i.setAllRangeOuterBorderColor(Le,h,f,y,v)),Le.metaData.rendererConfig&&(ge.rendererConfig=Le.metaData.rendererConfig),Le.metaData.renderer&&(typeof Le.metaData.renderer=="string"?re=V.renderer[Le.metaData.renderer]:re=Le.metaData.renderer),"interactiveRenderer"in Le.metaData&&(typeof Le.metaData.interactiveRenderer=="string"?(ce=V.renderer[Le.metaData.interactiveRenderer],F(v,h,ce)):Le.metaData.interactiveRenderer?(ce=Le.metaData.interactiveRenderer,F(v,h,ce)):ce=null),Le.metaData&&Le.metaData.editorConfig&&(Te.editorConfig=Le.metaData.editorConfig),"editor"in Le.metaData&&Y!==!0&&(typeof Le.metaData.editor=="string"?ve=V.editor[Le.metaData.editor]:Le.metaData.editor?ve=Le.metaData.editor:ve=null)),ce?(Pe=p,re=ce,ge.interactiveRenderer=!0):ve&&(Pe=d),re=re||I(v,h)||s;var ct=r().getEditIndicator(re),st=x.cellMetaData,ot=void 0;Q===!0?m[0]?ot=[st.value.id,h].join(","):ot=[v,h].join(","):ot=[v,h].join(",");var nt=j[v+","+h]?{rowIndex:v,colIndex:h}:!1;return C.createElement(Pe,{eventCallback:L,row:v,column:h,editType:"tableCell",rowIndex:v,colIndex:h,styleData:y,cellData:Le,groupAttr:M,focusClass:a(m,ot,Q),focusCached:T,additionalClass:O,focused:m,preventTrueFocus:E,renderer:re,editIndicator:ct,editor:ve,customProps:x,editTrigger:W,editState:nt,editValidation:H,editProcessing:K,renderMetaData:ge,editorMetaData:Te,selectionMap:$,handleMouseOver:he,handleSetFloatingContent:le,handleRemoveFloatingContent:ie,useEditorRendererDataFields:X,resizeSelection:Z,readOnlyVisualDesign:R,columnAndRowHeaderIds:q,freezeColumnConfig:oe})};return o},_,P),_.exports=S},81965:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(14152)],S=l.dj.d(b,function(n){"use strict";var e=function(t){d(r,t);function r(){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return C(r,[{key:"render",value:function(){var s=this,a=this.props.disabled;return a?n.createElement("div",{ref:function(u){s.disableWrapperRef=u},className:"mw-table-disable-layer",onContextMenu:function(u){return u.preventDefault()}}):null}}]),r}(n.Component);return e},_,P),_.exports=S},8398:(_,P,l)=>{var b,S,C=Object.assign||function(A){for(var p=1;p<arguments.length;p++){var d=arguments[p];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(A[n]=d[n])}return A};b=[l(16885),l(43322),l(83216),l(65353),l(14561),l(14152)],S=l.dj.d(b,function(A,p,d,n,e,t){var r=["mw-table-drag-icon","mw-table-dnd-source"],i=function(c){var h=c.avatarDefaultLabel,v=c.setAvatar,f=c.headerMeta,g=c.eventCallback,m=c.columnId,E=c.colIndex,w=c.onDragAction,I=c.scrollNode,M=c.dragType,R=M===void 0?"columns":M,T=c.canDrop,N=c.widgetType,F=c.treeColumnIndex,y=c.freezeColumnConfig,x=e(g),O=x.startDragSource,L=x.setDropTarget,W=f.reorder,j=W===void 0?!0:W,H=d.getDragDefaultType(N),K=t.useRef(null),$=p.getDragSourceType(R,H),V=function(){w(!1),n.removeInsertionLine(g);var q=K.current.index,ee={columnId:m,colIndex:E,targetIndex:q,headerMeta:f};K.current.valid&&g(A.internal.COLUMN_REORDERED,ee)},z=function(q){K.current=q},X=function(){var q={source:{ids:[m],type:$}};return{columnDnDSourceData:{data:{dragSourceType:H,value:q},dragType:R,count:1}}},Z=function(q,ee,oe){var se=d.getTargetValidation(E,f,g,z,ee,$,oe,y),he=n.lifecycleAddOn(se,n.debounceCheckForDragOut(q,p.targetLifeCycle.ENTER,g)),fe=n.debounceCheckForDragOut(q,p.targetLifeCycle.LEAVE,g),le=n.debounceCheckForDragOut(q,p.targetLifeCycle.HOVER,g);return{enter:he,leave:fe,hover:le,drop:V}},Y=function(){w(!0);var q={getData:X,eventCallback:g,setAvatar:s(h,v)},ee=d.getColumnHeaderLifeCycle(q),oe=O(ee),se=Z(oe,T,F),he=o(K.current,V),fe=[d.getColumnHeaderTarget(se)];return fe.push(d.getTableCellTarget(se)),fe.push(d.getInsertionLineTarget(he)),L(oe,{targetList:fe},I)};return t.createElement("div",C({className:r.join(" "),onMouseDown:d.isColumnDraggable(j)?Y:null},d.isColumnDraggable(j)?null:{disabled:!0},d.isColumnDraggable(j)?null:{"aria-disabled":!0}),t.createElement("svg",{viewBox:"0 0 6 10",width:"6px",height:"12px",fill:"var(--mw-backgroundColor-iconFill)"},t.createElement("rect",{width:"2",height:"2"}),t.createElement("rect",{y:"4",width:"2",height:"2"}),t.createElement("rect",{y:"8",width:"2",height:"2"}),t.createElement("rect",{x:"4",width:"2",height:"2"}),t.createElement("rect",{x:"4",y:"4",width:"2",height:"2"}),t.createElement("rect",{x:"4",y:"8",width:"2",height:"2"})))};return t.memo(i);function s(u,c){return c?function(h){return c(h)||a(u)}:function(){return a(u)}}function a(u){var c=document.createTextNode(u);return{node:c}}function o(u,c){var h=function(){return u&&u.valid};return{enter:h,drop:c}}},_,P),_.exports=S},90294:(_,P,l)=>{var b,S;b=[l(14152)],S=l.dj.d(b,function(C){var A=function(d){var n=d.editIndicator,e="mw-table-cell-edit-indicator-"+n,t="mw-table-cell-edit-indicator-"+n+"Icon",r="edit indicator "+n;return C.createElement("div",{className:e,"edit-indicator":"true","aria-label":r},C.createElement("svg",{viewBox:"0 0 8 8",className:t,"edit-indicator":"true"},C.createElement("g",null,C.createElement("polygon",{points:"4 7 0 3 8 3 4 7","edit-indicator":"true"}))))};return C.memo(A)},_,P),_.exports=S},56813:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(68376),l(76298),l(21321)],S=l.dj.d(b,function(e,t,r){"use strict";var i=function(s){n(a,s);function a(o){p(this,a);var u=d(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,o));return u._handleEditComplete=u._handleEditComplete.bind(u),u._handleDoubleClick=u._handleDoubleClick.bind(u),u._handleMouseEnter=u._handleMouseEnter.bind(u),u}return C(a,[{key:"_handleDoubleClick",value:function(u){var c=this.props,h=c.columnId,v=c.eventCallback,f=c.headerEditor,g=c.scrollNodeIntoView;if(v&&h&&f){var m=this.renderNode.getBoundingClientRect();g.scrollIntoView(m).then(function(E){E.isEditable&&v("enterColEditMode",{columnId:h})})}}},{key:"_handleMouseEnter",value:function(u,c){this.props.colEditState||A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"_handleMouseEnter",this).call(this,u,c)}},{key:"_handleEditComplete",value:function(u){if(this._content){this._handleLeaveEdit();var c=this.props,h=c.columnId,v=c.eventCallback;v&&v("colEditComplete",{newValue:u,columnId:h,oldValue:this.props.name})}}},{key:"_handleMouseEvent",value:function(u,c){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"tableCellClick",v=Number(c.rowIndex),f=Number(c.colIndex);u.button===t.MOUSE_LEFT_BUTTON&&this.props.eventCallback&&this.props.eventCallback(h,{row:v,column:f,meta:u.metaKey,ctrlKey:u.ctrlKey,shiftKey:u.shiftKey,altKey:u.altKey})}},{key:"_handleEditCanceled",value:function(){this._content&&(this._handleLeaveEdit(),this.props.eventCallback&&this.props.eventCallback("leaveColEditMode",{}))}},{key:"_handleLeaveEdit",value:function(){if(this.renderNode){var u=this.renderNode.contains(document.activeElement)||document.activeElement===this._previousActiveElement;this._dismount(),u&&this._previousActiveElement.focus()}}},{key:"_dismount",value:function(){this._listeners.forEach(function(u){u.remove()}),this._listeners=[],this._content.destroy(),this._content=void 0}},{key:"_mountContent",value:function(){var u=this,c=this.renderNode,h=this.props,v=h.headerEditor,f=h.name,g=h.colEditState,m=this.state.headerRenderer,E=void 0,w=[];if(g){c.removeAttribute("data-title");try{E=new v(f,{}),this._content=E,this._previousActiveElement=document.activeElement}catch(I){return m}return w.push(E.on("editComplete",function(I){u._handleEditComplete(I.newValue)})),w.push(E.on("editCanceled",this._handleEditCanceled.bind(this))),this._listeners=w,E}else return m}},{key:"_focusMe",value:function(u){this.renderNode.setAttribute("data-edit",this.props.colEditState||!1),this.props.colEditState&&(this._previousActiveElement=document.activeElement,u.setFocus())}},{key:"componentWillUnmount",value:function(){this.props.colEditState&&this.props.focusClass&&this._handleEditCanceled()}},{key:"componentDidMount",value:function(){var u=this.props,c=u.name,h=u.displayColumnIndexOnly;if(!h){var v=this._mountContent();this.renderNode.appendChild(v.getDomNode(c)),this._focusMe(v)}}},{key:"componentDidUpdate",value:function(u){var c=this.props.name===u.name;if((u.colEditState!==this.props.colEditState||!this.props.colEditState&&!c)&&!this.props.displayColumnIndexOnly){var h=this.props.name,v=this._mountContent(),f=!1;this.renderNode&&(f=this.renderNode.contains(document.activeElement)||document.activeElement===this._previousActiveElement),r.replaceFirstNode(this.renderNode,v.getDomNode(h),this.renderNode.firstChild),f&&this._previousActiveElement&&this._previousActiveElement.focus(),this._focusMe(v)}}},{key:"cellType",get:function(){return"EditableColumnHeader"}},{key:"baseStyle",get:function(){return"mw-table-cell"}}]),a}(e);return i},_,P),_.exports=S},35900:(_,P,l)=>{var b,S;b=[l(94373),l(91433)],S=l.dj.d(b,function(C,A){"use strict";var p=A(C);return p},_,P),_.exports=S},56629:(_,P,l)=>{var b,S;b=[l(62065),l(91433),l(63804)],S=l.dj.d(b,function(C,A,p){"use strict";var d={baseStyle:"mw-table-cell mw-table-text-full",cellType:p.cellType.EDITABLE_TABLE_CELL},n=A(C,d);return n},_,P),_.exports=S},53212:(_,P,l)=>{var b,S,C=function(){function p(d,n){var e=[],t=!0,r=!1,i=void 0;try{for(var s=d[Symbol.iterator](),a;!(t=(a=s.next()).done)&&(e.push(a.value),!(n&&e.length===n));t=!0);}catch(o){r=!0,i=o}finally{try{!t&&s.return&&s.return()}finally{if(r)throw i}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return p(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p};b=[l(91747),l(15555),l(2541),l(57006),l(9070),l(58416),l(14152)],S=l.dj.d(b,function(p,d,n,e,t,r,i){"use strict";var s=null,a=function(E,w){var I=w||p,M=new I(E,{});return M},o=function(E,w){var I=void 0;return A(E.editProcessing)==="object"&&A(w.editProcessing)==="object"?I=Object.entries(E.editProcessing).toString()===Object.entries(w.editProcessing).toString():I=E.editProcessing===w.editProcessing,E.value===w.value&&I},u=function(E){var w=E.CustomEditor,I=E.editProcessing,M=E.editTrigger,R=E.handleEditComplete,T=E.handleEditCanceled,N=E.handleEditValidation,F=E.handleProcessEdit,y=E.eventCallback,x=E.useEditorRendererDataFields,O=E.isTreeCell,L=E.isCustomHeight,W=E.cellRef,j=E.metaData,H=j===void 0?{}:j,K=E.value,$=i.useRef(),V=8,z=12,X=4,Z=22,Y=e().getDisplayValue(K,n.EDITOR,x),Q=L&&W?W.offsetHeight:null;Q&&(W.style.height=Q+"px");var q=Q?{height:Q-X+"px"}:null,ee=O?V:z,oe=i.useState(Y),se=C(oe,1),he=se[0],fe=i.useState(!1),le=C(fe,2),ie=le[0],re=le[1],ce=[],ve=function(Le,ct){if(!s){s=a(Le,w),$.current.appendChild(s.getDomNode(Le,ct)),ce.push(s.on("editComplete",function(nt){return c(nt,ge,$.current,Te)})),ce.push(s.on("editCanceled",function(nt){return c(nt,T,$.current,Te)})),ce.push(s.on("editValidation",function(nt){return N(nt)})),ce.push(s.on("processEdit",function(nt){return F(nt)})),s.setFocus();var st=s._domNode&&s._domNode.querySelector("input");if(Q&&st&&Q-ee>Z&&(st.style.height=Q-ee+"px"),M){var ot=s.getDomNode(Le,ct).getElementsByClassName("mwTableTextEditor")[0];ot&&g(M,ot)}}},ge=function(Le){var ct=e().getValueToSave(K,Le.newValue,n.EDITOR,x),st=ct.oldValue,ot=ct.valueToSave;return Le.oldValue=st,Le.newValue=ot,R(Le)},Te=function(){Q&&(W.style.height="auto"),ce&&ce.forEach(function(Le){return Le.remove()}),$.current&&$.current.contains(document.activeElement)&&(W?W.focus():d.setFocusCache(y)),s&&s.destroy&&s.destroy(),s=null};return i.useLayoutEffect(function(){return ve(Y,H),function(){Te()}},[]),i.useLayoutEffect(function(){he!==Y&&T&&T()},[Y]),i.useLayoutEffect(function(){var Pe=s&&s.update,Le=I&&I.validationResult,ct=I&&!I.validationResult;re(!!ct),Pe&&Le&&h(I,s)},[I]),i.createElement(i.Fragment,null,i.createElement(r,{loading:ie,style:q}),i.createElement("span",{className:ie?"mw-table-indicator-hide":"",ref:$,onMouseDown:v}))};return i.memo(u,o);function c(m,E,w,I){if(I(),f(w)){E(m);return}t.toPromise().then(function(){return E(m)})}function h(m,E){var w=m.validationResult,I=m.newValue;w.validatedData=I,E.update(m.oldValue,{validationResult:w})}function v(m){m.stopPropagation()}function f(m){return m&&m.contains(document.activeElement)||!1}function g(m,E){var w=!1;function I(){w=!0}E.addEventListener("keypress",I),setTimeout(function(){w||(E.value===m.value&&(E.value=""),E.value=m.value),E.removeEventListener("keypress",I)},0)}},_,P),_.exports=S},83563:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(16885),l(79301),l(80531),l(6287),l(14152)],S=l.dj.d(b,function(n,e,t,r,i){"use strict";var s=function(a){d(o,a);function o(){return A(this,o),p(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return C(o,[{key:"createFloatingContent",value:function(c){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.PUBLIC.TOOLTIP_COMPONENT,v=arguments[2];if(h===t.PUBLIC.TOOLTIP_COMPONENT){v.referenceNode=c;var f=r(v);document.body.appendChild(f),this._currentFloatingContent={instance:f,type:h,refNode:c,destroy:function(){f.destroy()}}}else throw new Error("Invalid floating content component "+h+" provided.")}},{key:"destroyFloatingContent",value:function(){this._currentFloatingContent&&(this._currentFloatingContent.destroy(),delete this._currentFloatingContent)}},{key:"updateContentAndFocusRefNode",value:function(){var c=this;this._currentFloatingContent.instance.requestUpdate(),this._currentFloatingContent.instance.updateComplete.then(function(){c._currentFloatingContent.refNode.focus({preventScroll:!0})})}},{key:"shouldDisplayFloatingContent",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.PUBLIC.DISPLAY_ALWAYS,h=arguments[1];return c===t.PUBLIC.DISPLAY_ALWAYS||c===t.PUBLIC.DISPLAY_WHEN_TRUNCATED&&h}},{key:"_sameAsCurrentRefNode",value:function(c){return this._currentFloatingContent&&this._currentFloatingContent.refNode===c}},{key:"_subscribeToDismissal",value:function(){var c=this;this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(v){(v===!0||c._sameAsCurrentRefNode(v.refNode))&&c.destroyFloatingContent()},subscriberId:e.subscriber.FLOATING_CONTENT_LEAVE,subscribeTo:e.publisher.FLOATING_CONTENT_DISMISS,noRender:!0})}},{key:"_handleCellEnterMessage",value:function(c){var h=c.trigger===t.TRIGGER.FOCUS,v=!this._sameAsCurrentRefNode(c.refNode),f=!1;this.shouldDisplayFloatingContent(c.displayCriteria,c.isTruncated)&&(this._currentFloatingContent&&v&&this.destroyFloatingContent(),this._currentFloatingContent||(this.createFloatingContent(c.refNode,c.component,c.configObj),f=!0)),h&&(f?this.updateContentAndFocusRefNode():c.refNode.focus({preventScroll:!0}))}},{key:"componentDidMount",value:function(){this._currentFloatingContent=null,this._subscribeToDismissal(),this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:this._handleCellEnterMessage.bind(this),subscriberId:e.subscriber.FLOATING_CONTENT_ENTER,subscribeTo:e.protected.publisher.CELL_ENTER,noRender:!0})}},{key:"render",value:function(){return null}}]),o}(i.Component);return s},_,P),_.exports=S},46949:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(56813),l(84960),l(14152)],S=l.dj.d(b,function(e,t,r){var i=function(s){n(a,s);function a(){return p(this,a),d(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return C(a,[{key:"_handleMouseEnter",value:function(u){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"_handleMouseEnter",this).call(this,u,t.GROUPED_COLUMN_HEADER)}}]),a}(e);return i},_,P),_.exports=S},59514:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(16885),l(14152)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r);function i(){A(this,i);var s=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s._handleMouseDown=s._handleMouseDown.bind(s),s._handleClick=s._handleClick.bind(s),s}return C(i,[{key:"shouldComponentUpdate",value:function(a){return a.sorted!==this.props.sorted}},{key:"_handleMouseDown",value:function(a){a.stopPropagation()}},{key:"_handleClick",value:function(){var a=this.menuRef.getBoundingClientRect();this.props.eventCallback(n.protected.HEADER_CLICKED,{columnIndex:this.props.colIndex,colStartIndex:this.props.colStartIndex,colEndIndex:this.props.colEndIndex,bottomRect:window.pageYOffset+a.bottom,leftRect:window.pageXOffset+a.left,noRender:!0})}},{key:"render",value:function(){var a=this,o=this.props,u=o.colIndex,c=o.sorted,h=o.colStartIndex,v=o.colEndIndex;return e.createElement("div",{className:"mwTableHeaderMenuAffordanceContainer",onMouseDown:this._handleMouseDown,onClick:this._handleClick},e.createElement("div",{"data-affordance-index":u,ref:function(g){a.menuRef=g},"data-sorted":c,colStartIndex:h,colEndIndex:v,className:"mwTableHeaderMenuAffordance"}))}}]),i}(e.Component);return t},_,P),_.exports=S},30218:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(14152),l(16885),l(79301),l(76298),l(34125),l(68376),l(65934),l(57191),l(56813),l(46949),l(58692)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o,u,c,h){var v=2,f=function(F,y,x){for(var O=Math.max(F.columns.start,y.columns.start),L=Math.min(F.columns.end,y.columns.end),W=O;W<=L;W+=1)x.mapping[W]=h.selection.SELECTED},g=function(F){for(var y=F.metadata,x=y===void 0?{selections:[]}:y,O=F.viewBuffer,L=x.selections||[],W={count:0,mapping:[]},j=0;j<L.length;j+=1)L[j].columns.start<=O.columns.end&&L[j].columns.end>=O.columns.start&&f(L[j],O,W);return function(H){return W.mapping[H]||0}},m=function(F,y,x){var O=F.label,L=F.styleData,W=F.headerRenderer,j=F.headerEditor,H=F.columnId,K=F.fillContainerWidth,$=F.columnHeaderIndex,V=x.eventCallback,z=x.logicalColWidth,X=x.colResize,Z=x.colMenuAffordance,Y=x.dragColumns,Q=x.collapseColumn,q=x.sorted,ee=q===void 0?[]:q,oe=x.sortable,se=x.clearSort,he=x.colEditState,fe=x.cellEditState,le=x.scrollNodeIntoView,ie=x.groupedColumnHeaders,re=x.setAvatar,ce=x.canDrop,ve=x.hideColumnHeader,ge=x.displayColumnIndex,Te=x.displayColumnIndexOnly,Pe=x.widgetType,Le=x.treeColumnIndex,ct=x.widgetId,st=x.freezeColumnConfig;L=L||{};var ot=ee[F._index]||{},nt=ot.order,Rt=void 0;Rt=j&&!Te?u:s,ie&&(Rt=c);var Yt=Te?$.toString():O,kt={headerEditor:j,headerRenderer:W,cellEditState:fe,colEditState:he===H},Ft=n.createElement(Rt,{headerMeta:F,fillContainerWidth:K,collapseColumn:Q,key:F._index,logicalColWidth:z,setAvatar:re,colIndex:F._index,colIndexEnd:F._index,styleData:L,eventCallback:V,colSelectionMap:y,sorted:nt,colResize:X,colMenuAffordance:Z,sortable:oe,clearSort:se,name:Yt,columnId:H,scrollNodeIntoView:le,dragColumns:Y,displayColumnIndex:ge,displayColumnIndexOnly:Te,hideColumnHeader:ve,widgetType:Pe,canDrop:ce,treeColumnIndex:Le,widgetId:ct,freezeColumnConfig:st});return Te||(Ft=E(Ft,kt)),Ft},E=function(F,y){return n.cloneElement(F,y)},w=function(F){for(var y=F.headers,x=F.spanningColumnHeaders,O=x===void 0?{}:x,L=F.freezeColumnHeaders,W=L===void 0?[]:L,j=[],H=g(F),K=void 0,$=0;$<W.length;$+=1)j.push(m(W[$],H,F));for(var V=0;V<y.length;V+=1)j.push(m(y[V],H,F));return Object.keys(O).length&&(K=a.makeColumnHeaderGroup(O,j,F)),K||j},I=function(F){var y=0;return F&&(F.width&&F.width.hasOwnProperty("value")?y=F.width.value:F.styleData&&F.styleData.hasOwnProperty("maxWidth")&&(y=F.styleData.maxWidth)),Number(y)},M=function N(F){return F.tagName.toUpperCase()==="TH"?F:F.parentNode?N(F.parentNode):null},R=function(F){return F.width&&F.width.unit==="%"},T=function(N){d(F,N);function F(){A(this,F);var y=p(this,(F.__proto__||Object.getPrototypeOf(F)).call(this));return y._headerRow={affordanceWidth:0},y._geomObjectX={scrollLeft:0,translateX:0},y._handleMouseDown=y._handleMouseDown.bind(y),y}return C(F,[{key:"_getHeaderRects",value:function(){for(var x=this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),O={},L=0;L<x.length;L+=1)for(var W=x[L].getAttribute("data-col-index"),j=x[L].getAttribute("data-col-index-end"),H=x[L].getBoundingClientRect(),K=parseInt(W,10),$=parseInt(j,10),V=K;V<=$;V+=1)O[V]=H;return O}},{key:"_publishMinHeight",value:function(){var x=this,O=this.tableRef.offsetHeight;return function(){return O=Math.min(O,x.tableRef.offsetHeight),O}}},{key:"_setFitWith",value:function(){var x=this.headerRef.parentNode;this.props.flexWidth==="100%"&&(x.style.maxWidth="none")}},{key:"_setComputedWidth",value:function(){if(this.props.fitLastColumn)return this._setFitWith();var x=0,O=this.tableRef,L=this.props.tableAffordanceWidth||this._headerRow.affordanceWidth||0,W=this.headerRef.parentNode;if(this.props.displayRowHeader&&(x=this.headerRef.childNodes[0].offsetWidth),this.props.flexWidth==="100%")W.style.maxWidth="none";else if(O.scrollWidth>0){var j=O.scrollWidth+x+L;if(this.props.collapseColumn){var H=this._getTotalWidthOfPagedHeaders(this.props.headers);H>0&&H<j&&(j=H+x+L+v)}W.style.maxWidth=j+"px"}}},{key:"_getTotalWidthOfPagedHeaders",value:function(x){for(var O=0,L=0;L<x.length;L+=1){var W=I(x[L]);O+=W}return O}},{key:"_setAffordanceWidth",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this._headerRow.affordanceWidth=x;var O=this.headerRef.childNodes;x===0?(O[O.length-1].style.width="0px",O[O.length-1].classList.remove("mw-table-top-right-affordance")):(O[O.length-1].style.width=x+"px",O[O.length-1].classList.add("mw-table-top-right-affordance")),this._setComputedWidth()}},{key:"componentDidUpdate",value:function(x){this._alignHeaderAndBodyScroll(x),this._setComputedWidth()}},{key:"_getGeomObject",value:function(x){var O={flexWidth:this.props.flexWidth,headerList:this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),headerThead:this.theadRef,noRender:!0};this.props.eventCallback(x,O),this._geomObjectX=O.result||this._geomObjectX}},{key:"_getHeaderRowWidth",value:function(){if(this._getGeomObject(e.internal.TABLE_WIDTH),this._geomObjectX.physicalWidth>=0)return this.colHeaderContainer.scrollWidth-this.colHeaderContainer.clientWidth>v||this.colHeaderContainer.scrollWidth===0?this.props.hideColumnHeader===!0&&this.colHeaderContainer.scrollWidth===0&&this.props.columnClass!=="mw-tbody-paged-columns"||this.props.headers.every(R)&&this.props.totalLogicalWidth<=this.colHeaderContainer.clientWidth&&this.props.columnClass!=="mw-tbody-paged-columns"?"100%":this._geomObjectX.physicalWidth:"100%";var x=void 0;if(this.colHeaderContainer.scrollWidth-this.colHeaderContainer.clientWidth>v)x=this.colHeaderContainer.scrollWidth-v;else{if(this.props.flexWidth==="100%")return"100%";x=this.colHeaderContainer.clientWidth}return x||0}},{key:"_getTranslateX",value:function(){return this._getGeomObject(e.internal.COMPUTE_TRANSLATEX),this._geomObjectX.translateX}},{key:"_setScrollLeft",value:function(x){this._geomObjectX.scrollLeft!==x&&(this.colHeaderContainer.scrollLeft=x,this._geomObjectX.scrollLeft=x)}},{key:"_setTranslateX",value:function(x){var O="translateX("+x+"px)";this.theadRef.style.transform=O,this.theadRef.style.webkitTransform=O;var L=this.props.freezeColumnConfig;L&&this._updateFrozenHeaderCellLeftPosition(x,L)}},{key:"_updateFrozenHeaderCellLeftPosition",value:function(x,O){for(var L=0,W={},j=0;j<=O.range.columns.end;j++){var H=this.theadRef.querySelector('th[data-col-index="'+j+'"]');H&&(W[j]={previousColumnsWidth:L,node:H},L+=parseInt(window.getComputedStyle(H).width.split("px")[0]))}Object.keys(W).forEach(function(K){W[K].node.style.left=-x+W[K].previousColumnsWidth+"px"})}},{key:"_setTableWidth",value:function(x){x>0?(this.tableRef.style.width=x+"px",this.tableRef.style.minWidth=x+"px",this.tableRef.style.maxWidth=x+"px"):this.props.fitLastColumn&&x==="100%"?(this.tableRef.style.width=x,this.tableRef.style.minWidth=x,this.tableRef.style.maxWidth=x):x==="100%"&&(this.tableRef.style.width=this.props.flexWidth,this.tableRef.style.minWidth=this.props.flexWidth,this.tableRef.style.maxWidth=this.props.flexWidth)}},{key:"_handleMouseDown",value:function(x){var O=M(x.target);O&&O.classList.contains("mw-table-header-column")&&!O.classList.contains("mw-table-spanning-column-header")&&x.button===r.MOUSE_LEFT_BUTTON&&i.addTrackingTo(this.colHeaderContainer.getBoundingClientRect(),this.props.eventCallback,{colsOnly:!0})}},{key:"componentDidMount",value:function(){var x=this,O=this.props.scrollNodeIntoView,L=O===void 0?{}:O;L.container=this.colHeaderContainer,this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setAffordanceWidth.bind(this),subscriberId:t.subscriber.HEADER_RIGHT_AFFORDANCE,subscribeTo:t.publisher.SCROLL_BAR_WIDTH,noRender:!0}),this.props.setDnDNode&&this.props.setDnDNode(this.headerRef.parentElement),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:function(j){x.headerRef.style.minHeight=j+"px"},subscriberId:t.subscriber.HEADER_MIN_HEIGHT,subscribeTo:t.publisher.HEADER_ROW_HEIGHT,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getTranslateX.bind(this),publisherId:t.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getHeaderRowWidth.bind(this),publisherId:t.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._publishMinHeight().bind(this),publisherId:t.publisher.HEADER_ROW_HEIGHT,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateX.bind(this),subscriberId:t.subscriber.HEADER_TRANSFORMX,subscribeTo:t.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollLeft.bind(this),subscriberId:t.subscriber.HEADER_SCROLL_LEFT,subscribeTo:t.publisher.SCROLL_COMPONENT_LEFT,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableWidth.bind(this),subscriberId:t.subscriber.HEADER_WIDTH,subscribeTo:t.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(e.protected.HEADER_RECTS,{children:this._getHeaderRects.bind(this),noRender:!0}),this._setComputedWidth()}},{key:"_getTopLeftHeaderValue",value:function(x){return x.text||x.value}},{key:"_getTopLeftHeaderRenderer",value:function(x){return x&&x.renderer?x.renderer:void 0}},{key:"_alignHeaderAndBodyScroll",value:function(x){x.hideColumnHeader===!0&&this.props.hideColumnHeader===!1&&this.colHeaderContainer.scrollLeft!==this._geomObjectX.scrollLeft&&(this.colHeaderContainer.scrollLeft=this._geomObjectX.scrollLeft)}},{key:"render",value:function(){var x=this,O=this.props,L=O.topLeftRowHeaderLabel,W=O.flexWidth,j=O.displayRowHeader,H=O.columnClass,K=O.eventCallback,$=O.hideColumnHeader,V=w(this.props),z={display:"flex",width:"100%"},X={minWidth:W,maxWidth:W,width:W},Z=H+" mw-table-header-thead",Y=($?"mw-table-header-hidden ":"")+"mw-table-flex-container mw-table-header-wrapper";return n.createElement("div",{ref:function(q){x.headerRef=q},className:Y},j&&n.createElement(o,{topLeftRowHeaderValue:this._getTopLeftHeaderValue(L),topLeftRowHeaderRenderer:this._getTopLeftHeaderRenderer(L),eventCallback:K}),n.createElement("div",{className:"mw-table-flex-dynamic-item",onMouseDown:this._handleMouseDown,ref:function(q){x.colHeaderContainer=q}},n.createElement("table",{ref:function(q){x.tableRef=q},style:X,className:"mw-table-header"},n.createElement("thead",{ref:function(q){x.theadRef=q},className:Z},n.createElement("tr",{role:"row",style:z,className:"mw-table-header-row"},V)))),n.createElement("div",null))}}]),F}(n.Component);return T},_,P),_.exports=S},32249:(_,P,l)=>{var b,S;b=[l(30218),l(96203)],S=l.dj.d(b,function(C,A){"use strict";var p=A(C);return p},_,P),_.exports=S},92744:(_,P,l)=>{var b,S;function C(A){if(Array.isArray(A)){for(var p=0,d=Array(A.length);p<A.length;p++)d[p]=A[p];return d}else return Array.from(A)}b=[l(69649),l(44105),l(14152)],S=l.dj.d(b,function(A,p,d){var n=function(){},e=function(r){var i=r.indexDisplay,s=r.rowHeight,a=r.eventCallback,o=r.additionalClass,u=o===void 0?[]:o,c=r.onMouseDown,h=c===void 0?n:c,v=r.onMouseUp,f=v===void 0?n:v,g=r.onContextMenu,m=g===void 0?n:g,E=r.rowIndex,w=r.hasLabels,I=r.lastRowIndex,M=d.useRef(),R=d.useContext(A),T=R.indexWidth,N=R.setIndexWidth,F={width:T+"px"},y=["mw-table-row-header-cell","mw-text-center","mw-cell-border-right"].concat(C(u));return s&&(F.minHeight=s+"px",F.maxHeight=s+"px"),d.useEffect(function(){I===E&&M.current.scrollWidth>M.current.clientWidth&&N(M.current.scrollWidth+p.getHeaderPaddingSize())},[I,w]),d.createElement("div",{ref:M,style:F,key:E,"data-index":E,"data-test-id":"mw-row-header-index",rowIndex:E,onMouseDown:h,onMouseUp:f,onContextMenu:m,eventCallback:a,className:y.join(" ")},d.createElement("div",{className:"mw-table-force-flex-padding-right"},i))};return e},_,P),_.exports=S},84891:(_,P,l)=>{var b,S;b=[l(92744),l(7190),l(81039),l(84960)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n=A(p(C,d.ROW_HEADER));return n},_,P),_.exports=S},55485:(_,P,l)=>{var b,S;b=[l(14152),l(62065),l(3394),l(63804)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n={baseStyle:"mw-table-cell",cellType:d.cellType.INTERACTIVE_TABLE_CELL},e=p(A,n);return e},_,P),_.exports=S},11430:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(16885),l(79301),l(83757),l(81965),l(87779),l(15555),l(84960),l(14152)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o){"use strict";var u=function(v){return v.preventDefault()},c=function(h){d(v,h);function v(f){A(this,v);var g=p(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,f));return g.state=f,g.scrollAffordanceWidth=0,g._handleResize=g._handleResize.bind(g),g._handleKeyDown=g._handleKeyDown.bind(g),g._handleFocus=g._handleFocus.bind(g),g._handleBlur=g._handleBlur.bind(g),g._handleMouseDown=g._handleMouseDown.bind(g),g._handleMouseUp=g._handleMouseUp.bind(g),g._stopToggle=!1,g._handleClipboardCopy=g._handleClipboardEvent.bind(g,n.internal.CLIPBOARD_COPY),g._handleClipboardCut=g._handleClipboardEvent.bind(g,n.internal.CLIPBOARD_CUT),g._handleClipboardPaste=g._handleClipboardEvent.bind(g,n.internal.CLIPBOARD_PASTE),g}return C(v,[{key:"_handleMouseUp",value:function(g){this.myOuterWrapper.removeEventListener("selectstart",u)}},{key:"_handleMouseDown",value:function(g){g.shiftKey&&this.myOuterWrapper.addEventListener("selectstart",u)}},{key:"_handleKeyDown",value:function(g){switch(g.keyCode){case t.ARROW_UP:case t.ARROW_DOWN:case t.ARROW_RIGHT:case t.ARROW_LEFT:case t.PAGE_UP:case t.PAGE_DOWN:case t.END:case t.HOME:case t.SPACE:g.preventDefault(),g.stopPropagation();break;case t.ALT:case t.SHIFT:case t.CTRL:case t.META:return}this.props.eventCallback&&(this.props.eventCallback(n.protected.KEY_PRESS,{nativeEvent:g,keyCode:g.keyCode,meta:g.metaKey,ctrlKey:g.ctrlKey,shiftKey:g.shiftKey,altKey:g.altKey,eventCallback:this.props.eventCallback}),this.props.eventCallback(n.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:e.publisher.TOOLTIP_DISMISS,noRender:!0}),this.props.eventCallback(n.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:e.publisher.FLOATING_CONTENT_DISMISS,noRender:!0}))}},{key:"_handleFocus",value:function(g){this.props.eventCallback&&this.props.eventCallback("tableFocus",{target:g.target,noRender:!0}),this.setState({wrapperClass:"mw-table-outer-wrapper mw-table-outer-wrapper-focused"})}},{key:"_handleBlur",value:function(){(!this.state.editState||this.state.editProcessing)&&this.state.wrapperClass!=="mw-table-outer-wrapper-blurred"&&this.setState({wrapperClass:"mw-table-outer-wrapper-blurred"})}},{key:"_handleResize",value:function(g){this.myOuterWrapper&&this.state.eventCallback(n.internal.TABLE_RESIZE,{container:g})}},{key:"_isTableCellOrRowActive",value:function(g){if(g.scrollComponent&&g.scrollComponent.props&&g.scrollComponent.props.children&&g.scrollComponent.props.children.props&&g.scrollComponent.props.children.props.table&&g.scrollComponent.props.children.props.table.props&&g.wrapperClass){var m=g.scrollComponent.props.children.props.table.props,E=m.focused?Object.getOwnPropertyNames(m.focused).length:0,w=m.metadata&&m.metadata.selections?m.metadata.selections.length:0,I=g.wrapperClass,M=g.editState;if((E>0||w>0||M)&&I.indexOf("mw-table-outer-wrapper-focused")!==-1)return!0}return!1}},{key:"_setScrollAffordanceWidth",value:function(g){g!==this.scrollAffordanceWidth&&g>0&&(this.myOuterWrapper.classList.add("mw-table-has-vertical-scroll"),this.scrollAffordanceWidth=g),g<=0&&(this.myOuterWrapper.classList.remove("mw-table-has-vertical-scroll"),this.scrollAffordanceWidth=g)}},{key:"componentDidUpdate",value:function(){this.state.eventCallback(n.protected.FORCE_LAYOUT,{noRender:!0}),this.myOuterWrapper.contains(document.activeElement)||this._handleBlur(),this.state.isTableDisabled&&this.state.isTableDisabled()?(this.state.wrapperClass==="mw-table-outer-wrapper"&&(document.activeElement.blur(),this._handleBlur()),this.myOuterWrapper.removeAttribute("tabindex")):this.myOuterWrapper.setAttribute("tabindex","0"),this._isTableCellOrRowActive(this.state)&&this.setState({wrapperClass:"mw-table-outer-wrapper"})}},{key:"componentDidMount",value:function(){this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollAffordanceWidth.bind(this),subscribeTo:e.publisher.SCROLL_BAR_WIDTH,subscriberId:e.subscriber.TABLE_HAS_VERT_SCROLL,noRender:!0}),document.addEventListener("cut",this._handleClipboardCut,!1),document.addEventListener("copy",this._handleClipboardCopy,!1),document.addEventListener("paste",this._handleClipboardPaste,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("cut",this._handleClipboardCut,!1),document.removeEventListener("copy",this._handleClipboardCopy,!1),document.removeEventListener("paste",this._handleClipboardPaste,!1)}},{key:"_isTableActive",value:function(){var g=!1;if(this.myOuterWrapper)g=this.myOuterWrapper.contains(document.activeElement);else for(var m=document.activeElement.classList,E=0;E<m.length;E++)if(/mw-table.*/.test(m[E]))return g=!0,g;return g}},{key:"_handleClipboardEvent",value:function(g,m){this._isTableActive()&&this.props.eventCallback&&this.props.eventCallback(g,{nativeEvent:m,eventCallback:this.props.eventCallback})}},{key:"focus",value:function(){this.myOuterWrapper&&this.myOuterWrapper.focus()}},{key:"render",value:function(){var g=this,m=this.state,E=m.header,w=m.scrollComponent,I=m.component,M=m.dataTestId,R=m.wrapperClass,T=m.isTableDisabled,N=m.selectHeaders,F=N===void 0?function(){return 0}:N,y=m.selectRowHeaders,x=m.gridStyle,O=!!T&&T();R=R||"mw-table-outer-wrapper-blurred";var L=[R];return x&&i.hasOwnProperty(x.value)&&L.push(i[x.value]),F()&&L.push("mw-table-select-headers"),y&&L.push("mw-table-select-row-headers"),o.createElement("div",{className:"mw-table-component mw-table-scoped"},o.createElement("div",{ref:function(j){g.myOuterWrapper=j},tabIndex:"0","data-test-id":M,className:L.join(" "),onKeyDown:this._handleKeyDown,onFocusCapture:this._handleFocus,onBlur:this._handleBlur,onMouseDownCapture:this._handleMouseDown,onMouseUp:this._handleMouseUp},E,w,o.createElement(I.tooltip,this.props),o.createElement(I.floatingContent,this.props)),o.createElement(r,{disabled:O}))}}]),v}(o.Component);return c},_,P),_.exports=S},72716:(_,P,l)=>{var b,S;b=[l(36377),l(61577),l(2541),l(57006),l(22928),l(14152)],S=l.dj.d(b,function(C,A,p,d,n,e){var t=function(s,a,o,u){if(s){var c=s.getDomNode(o,u);return c&&c.nodeType===3&&n.warn("The DOM node provided to the cell renderer should not be a text node. Certain features such as styling and expand/collapse may not function as expected. Please verify your custom renderers are returning DOM element nodes."),c&&a&&(c.className=a),c}return null},r=function(s){var a=e.useRef(),o=s.renderer,u=s.eventCallback,c=s.metaData,h=s.treeNodeRendererClassName,v=h===void 0?"":h,f=s.noToolTip,g=f===void 0?!1:f,m=s.treeCellContentClassName,E=m===void 0?"":m,w=s.useEditorRendererDataFields,I=s.value,M=C(u),R=M.handleMouseOverWithRenderer,T=d().getDisplayValue(I,p.RENDERER,w),N=g?function(){}:function(y){return R(y.target,"customRender",T,o)};e.useLayoutEffect(function(){var y=t(o,E,T,c);y&&a.current&&!a.current.firstChild?a.current.appendChild(y):y&&a.current&&a.current.firstChild&&A.replaceFirstNode(a.current,y,a.current.firstChild)},[T,o,c]);var F=[v,"mw-table-cell-span"];return e.createElement("span",{className:F.join(" "),ref:a,onMouseOver:N})};return r},_,P),_.exports=S},32424:(_,P,l)=>{var b,S;b=[l(72716),l(6699),l(14152)],S=l.dj.d(b,function(C,A,p){var d=function(e,t){var r=A.isDeepEqual(e.value,t.value),i=A.isDeepEqual(e.metaData,t.metaData),s=e.useEditorRendererDataFields===t.useEditorRendererDataFields,a=e.renderer===t.renderer;return r&&i&&s&&a};return p.memo(C,d)},_,P),_.exports=S},39499:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(54282),l(16885),l(1103),l(14152)],S=l.dj.d(b,function(n,e,t,r){var i=function(s){d(a,s);function a(){A(this,a);var o=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return o._handleMouseDown=o._handleMouseDown.bind(o),o._handleMouseUp=o._handleMouseUp.bind(o),o._borderResize=!1,o}return C(a,[{key:"_handleMouseDown",value:function(u){document.addEventListener("mouseup",this._handleMouseUp),window.addEventListener("blur",this._handleMouseUp);var c={resize:!0,location:this.props.cellResizeLocation,x:u.x,y:u.y};this.props.eventCallback(e.protected.RESIZE_SELECTION_BEGIN,c),this._borderResize=!0}},{key:"_handleMouseUp",value:function(u){document.removeEventListener("mouseup",this._handleMouseUp),window.removeEventListener("blur",this._handleMouseUp),this._borderResize=!1,this.props.eventCallback(e.protected.RESIZE_SELECTION_END,{resize:!1})}},{key:"_getClassFromLocation",value:function(u){var c="mw-table-resize-selection-affordance-top";return u===t.BOTTOM&&(c="mw-table-resize-selection-affordance-bottom"),u===t.LEFT&&(c="mw-table-resize-selection-affordance-left"),u===t.RIGHT&&(c="mw-table-resize-selection-affordance-right"),c}},{key:"componentDidMount",value:function(){this.reactRef&&this.reactRef.tagName&&this.reactRef.addEventListener("mousedown",this._handleMouseDown)}},{key:"componentWillUnmount",value:function(){this.reactRef&&this.reactRef.tagName&&this.reactRef.removeEventListener("mousedown",this._handleMouseDown)}},{key:"render",value:function(){var u=this,c=this.props,h=c.cellResizeLocation,v=c.colIndex,f=c.rowIndex,g=this._getClassFromLocation(h);return r.createElement("div",{ref:function(E){u.reactRef=E},"data-test-id":n.RESIZE_SELECTION_AFFORDANCE,"data-resize-column":v,"data-resize-row":f,"data-resize-location":h,className:g})}}],[{key:"createComponent",value:function(u,c){var h=u.eventCallback,v=u.colIndex,f=u.colStartIndex,g=u.rowIndex;return f=f||v,r.createElement(a,{key:"resize.col"+v+"row"+g+c,cellResizeLocation:c,colIndex:f,rowIndex:g,eventCallback:h})}}]),a}(r.Component);return i},_,P),_.exports=S},69650:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(16885),l(79301),l(62806),l(44105),l(92361),l(9070),l(14152)],S=l.dj.d(b,function(n,e,t,r,i,s,a){var o=r.getRowHeaderMaxWidth(),u=new t,c=function(g,m,E,w,I){var M=[],R=E-m+1;if(R>0){var T=g.rowMetaData,N=r.getLabels(T,m,E);I=I||u,N.forEach(function(F){F.label=F.label||" ",M.push({key:F.rowIndex,rowIndex:F.rowIndex,headerRenderer:I,isMaxWidth:w,label:F.label})})}return M},h=function(g,m,E,w,I,M){for(var R=[],T=w.rowMetaData&&w.rowMetaData[0],N=function(W){if(W&&W.value&&(W.value.id!==void 0||W.value.id!==null))return W.value.id},F=function(W,j){if(W&&W.value&&W.value.rowHeight){var H=M&&M[j]&&M[j].height?M[j].height:w.rowHeight;return W.value.rowHeight==="auto"?H:W.value.rowHeight}return w.rowHeight},y=g;y<=m;y++){var x=E[y-g],O=a.createElement(i,{headers:x,rowIndex:y,lastRowIndex:m,enableEdit:w.enableEdit,displayRowHeaderIndices:w.displayRowHeaderIndices,key:y,eventCallback:w.eventCallback,scrollNodeIntoView:w.scrollNodeIntoView,rowHeight:F(T(y),y),rowEditState:w.rowEditState,rowSelectionMap:I,widgetId:w.widgetId,canDragToSelect:w.canDragToSelect,selectionById:w.metadata&&w.metadata.selectionById,rowId:N(T(y))});R.push(O)}return R},v=function(f){d(g,f);function g(m){A(this,g);var E=p(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,m));return E.state={topLeftWidth:0,isMaxWidth:!1},E.heightOfRows=[],E.translateY=0,E.makeRowHeader=E.makeRowHeader.bind(E),E}return C(g,[{key:"setWidth",value:function(E){this.props.eventCallback(n.internal.NODE_PUBLISH,{publisherFn:function(){return E},publisherId:e.publisher.ROW_HEADER,noRender:!0}),this.rowHeader.style.width=E+"px"}},{key:"makeRowHeader",value:function(E){var w=this.props,I=w.rowMetaData,M=w.viewBuffer,R=M.rows.start,T=M.rows.end,N=[];return I&&I.length>0&&N.push(c(this.props,R,T,E)),s.transpose(N)}},{key:"componentDidUpdate",value:function(){var E=Math.min(this.rowHeader.scrollWidth,o);E>=o&&!this.state.isMaxWidth?this.setState({isMaxWidth:!0}):E<o&&this.state.isMaxWidth&&this.setState({isMaxWidth:!1}),this.setWidth(E)}},{key:"componentDidMount",value:function(){var E=this;this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(I){I>o&&(I=o),E.setState({topLeftWidth:I})},subscriberId:e.subscriber.ROW_HEADER,subscribeTo:e.publisher.TOP_LEFT_ROW_HEADER,noRender:!0}),this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(I){E.heightOfRows=I},subscriberId:e.subscriber.ROW_HEADER_HEIGHTS,subscribeTo:e.publisher.ROW_HEIGHTS,noRender:!0}),this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(I){E.translateY=I.translateY||0},subscriberId:e.subscriber.ROW_HEADER_TRANSFORM_Y,subscribeTo:e.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0})}},{key:"render",value:function(){var E=this,w=this.props,I=w.scrollPos,M=w.rowHeaderHeight,R=w.viewBuffer,T={},N={},F=this.makeRowHeader(this.state.isMaxWidth),y=r.getSelectionMap(this.props),x=this.state.topLeftWidth;return typeof I=="number"&&(T={height:M},I=this.translateY,N={minWidth:x+"px",transform:"translateY("+I+"px)",WebkitTransform:"translateY("+I+"px)"}),a.createElement("div",{className:"mw-table-row-header","data-test-id":"mw-table-row-header",style:T},a.createElement("div",{ref:function(L){E.rowHeader=L},className:"mw-table-tbody-row-header",style:N},h(R.rows.start,R.rows.end,F,this.props,y,this.heightOfRows)))}}]),g}(a.Component);return v},_,P),_.exports=S},5933:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function A(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(54282),l(72716),l(53212),l(14152)],S=l.dj.d(b,function(e,t,r,i){var s=function(c,h){return c===h?"mw-table-flex-cell-edit":""},a=function(){},o=function(u){n(c,u);function c(){return p(this,c),d(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}return C(c,[{key:"render",value:function(){var v=this,f=this.props,g=f.rowIndex,m=f.rowHeight,E=f.editState,w=f.isMaxWidth,I=f.scrollNodeIntoView,M=f.additionalClass,R=M===void 0?[]:M,T=f.onMouseDown,N=T===void 0?a:T,F=f.onMouseUp,y=F===void 0?a:F,x=f.onContextMenu,O=f.label,L=O===void 0?"":O,W=f.eventCallback,j=f.enterEditMode,H=f.headerRenderer,K=f.handleEditComplete,$=f.handleEditCanceled,V={},z=["mw-table-row-header-cell","mw-table-flex-cell-full-width","mw-cell-border-right"].concat(A(R));m&&(V={minHeight:m+"px",maxHeight:m+"px"}),z.push(s(E,g));var X=["mw-table-force-flex-padding-right"];(E===g||w)&&(X=[]);var Z=function(){j&&I.scrollIntoVerticalView(v.headerRef).then(function(){return j()})},Y=function(){return E===g?i.createElement(r,{value:L,key:"edit-"+g,eventCallback:W,handleEditCanceled:$,handleEditComplete:K,editType:"rowLabel"}):i.createElement(t,{value:L,key:"render-"+g,eventCallback:W,renderer:H})};return i.createElement("div",{style:V,ref:function(q){v.headerRef=q},key:"row-header-"+g,"data-edit-state":E,"data-label-index":g,"data-test-id":e.ROW_HEADER_LABEL,onMouseDown:N,onMouseUp:y,onContextMenu:x,onDoubleClick:Z,className:z.join(" ")},i.createElement("div",{key:g,className:X.join(" ")},Y()))}}]),c}(i.PureComponent);return o},_,P),_.exports=S},94373:(_,P,l)=>{var b,S;b=[l(5933),l(81039),l(84960),l(7190)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n=d(A(C,p.ROW_HEADER));return n},_,P),_.exports=S},92361:(_,P,l)=>{var b,S;b=[l(35900),l(94373),l(84891),l(6699),l(14152)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e=function(r){var i=r.headers,s=r.rowIndex,a=r.lastRowIndex,o=r.displayRowHeaderIndices,u=r.enableEdit,c=r.eventCallback,h=r.scrollNodeIntoView,v=r.rowHeight,f=r.rowEditState,g=r.rowSelectionMap,m=r.widgetId,E=r.selectionById,w=r.rowId,I=r.canDragToSelect,M="rowLabel",R=["mw-table-flex-row"],T=i&&i.length>0||!1,N=u?C:A,F=d.getHeaderId(m,"_ROW_",s),y=T?["mw-table-header-index-font"]:["mw-table-flex-cell-full-width","mw-table-header-index-font"],x=function(L){return n.createElement(p,{indexDisplay:L+1,lastRowIndex:a,key:L,additionalClass:y,rowIndex:L,rowId:w,hasLabels:T,eventCallback:c,rowHeight:v,rowSelectionMap:g,selectionById:E,canDragToSelect:I})};return n.createElement("div",{className:R.join(" "),"data-row-index":s,id:F},o?x(s):null,T?i.map(function(O){return n.createElement(N,{key:O.rowIndex,rowIndex:O.rowIndex,colIndex:O.colIndex||0,headerRenderer:O.headerRenderer,value:O.label,isMaxWidth:O.isMaxWidth,scrollNodeIntoView:h,editType:M,row:s,label:O.label,rowHeight:v,eventCallback:c,rowSelectionMap:g,selectionById:E,rowId:w,editState:f,canDragToSelect:I})}):null)};return e},_,P),_.exports=S},85831:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(16885),l(79301),l(76298),l(84960),l(16214),l(34125),l(9070),l(15555),l(6699),l(14152)],S=l.dj.d(b,function(e,t,r,i,s,a,o,u,c,h){"use strict";var v=function(f){n(g,f);function g(m){p(this,g);var E=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,m));return E.handleScroll=E.handleScroll.bind(E),E.handleWheel=E.handleWheel.bind(E),E._handleMouseDown=E._handleMouseDown.bind(E),E._getDnDSourceData=E._getDnDSourceData.bind(E),E._handleMouseDownCapture=E._handleMouseDownCapture.bind(E),E._handleRowHeaderMouseDown=E._handleRowHeaderMouseDown.bind(E),E._handleContextMenu=E._handleContextMenu.bind(E),E._handleRowHeaderContextMenu=E._handleRowHeaderContextMenu.bind(E),E.setTabIndex=E.setTabIndex.bind(E),E._scrollDims={},E._isSafari=c.isSafari(),E}return C(g,[{key:"_setRowHeaderScroll",value:function(){this.props.rowHeader&&(this.rowHeader.childNodes[0].scrollTop=this.scrollNode.scrollTop)}},{key:"_getDnDSourceData",value:function(){return{dndSourceDataToDropOutside:this.props.dndSourceData,internalRowDndSourceData:this.props.internalRowDndSourceData}}},{key:"handleWheel",value:function(E){}},{key:"_isPointInHorizontalScroll",value:function(E,w,I){var M=!1,R=I-w;return w&&E>R&&(M=!0),M}},{key:"_handleRowHeaderContextMenu",value:function(E){var w="mw-table-row-header-scrolling-div";if(u._isClassInClassList(w,E.target.classList)){E.preventDefault();var I=this.props.eventCallback,M={type:i.EMPTY_ROW_HEADER,isWhiteSpace:!0};return u.eventCallbackForContextMenu(E,I,M)}}},{key:"_handleContextMenu",value:function(E){var w="mw-scrolling-div";if(u._isClassInClassList(w,E.target.classList)){E.preventDefault();var I=this._getScrollAffordanceHeight(),M=this.scrollNode.getBoundingClientRect();if(this._isPointInHorizontalScroll(E.clientY,I,M.bottom))return;var R=this.props.eventCallback,T={type:i.EMPTY_ROW,isWhiteSpace:!0};return u.eventCallbackForContextMenu(E,R,T)}}},{key:"_handleMouseDownCapture",value:function(){this.scrollNode.removeAttribute("tabIndex")}},{key:"_handleMouseDown",value:function(E){E.button===r.MOUSE_LEFT_BUTTON&&E.target!==this.scrollNode?a.addTrackingTo(this.scrollNode.getBoundingClientRect(),this.props.eventCallback):a.addTrackingTo(this.scrollNode.getBoundingClientRect(),function(){return 0});var w=this.props.dragRows||this.props.reorderRows||this.props.reparentRows,I=this.props.reparentRows||this.props.reorderRows,M=u.targetIsEditIndicator(E);if(w&&!this.props.allowDragToSelect&&!M){var R=this.props.createDnDSource(this._getDnDSourceData);I&&this.props.createDnDTarget(R,this.scrollNode)}}},{key:"_handleRowHeaderMouseDown",value:function(E){var w=this;E.button===r.MOUSE_LEFT_BUTTON&&a.addTrackingTo(this.rowHeaderColumn.getBoundingClientRect(),this.props.eventCallback,{rowsOnly:!0}),this.props.dragRows&&o.toPromise().then(function(){return w.props.createDnDSource(w._getDnDSourceData)})}},{key:"setTabIndex",value:function(E){this.scrollNode.setAttribute("tabIndex","-1")}},{key:"handleScroll",value:function(E){if(this.scrollNode===E.target){var w={noRender:!0,target:{scrollTop:E.target.scrollTop,scrollLeft:E.target.scrollLeft}};this.props.eventCallback&&(this._setRowHeaderScroll(),this.props.eventCallback(e.internal.TABLE_SCROLL,w))}}},{key:"_getScrollAffordanceWidth",value:function(E){var w=this.scrollNode.offsetWidth-this.scrollNode.clientWidth,I=this.scrollNode.scrollWidth>this.scrollNode.clientWidth;return this.props.eventCallback(e.internal.SCROLL_COMPONENT_UPDATED,A({},t.CAN_SCROLL_HORIZONTAL,I)),w>0?(this._scrollDims.scrollbarWidth&&w!==this._scrollDims.scrollbarWidth?this._scrollDims.scrollbarWidth=w:this._scrollDims.scrollbarWidth=this._scrollDims.scrollbarWidth||w,this.myScrollComponent.classList.remove("mw-table-has-hidden-vertical-scrollbar"),this._scrollDims.scrollbarWidth):this.scrollNode.scrollHeight>this.scrollNode.offsetHeight?(this.myScrollComponent.classList.add("mw-table-has-hidden-vertical-scrollbar"),0):(this.myScrollComponent.classList.remove("mw-table-has-hidden-vertical-scrollbar"),0)}},{key:"_getScrollAffordanceHeight",value:function(){var E=this.scrollNode.offsetHeight-this.scrollNode.clientHeight;return E>0?(this.myScrollComponent.classList.add("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.remove("mw-table-has-hidden-horizontal-scrollbar"),this._scrollDims.scrollbarHeight!==E&&(this._scrollDims.scrollbarHeight=E),this._scrollDims.scrollbarHeight):this.scrollNode.scrollWidth>this.scrollNode.offsetWidth?(this.myScrollComponent.classList.remove("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.add("mw-table-has-hidden-horizontal-scrollbar"),0):(this.myScrollComponent.classList.remove("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.remove("mw-table-has-hidden-horizontal-scrollbar"),0)}},{key:"_setScrollAffordanceHeight",value:function(E){var w=this.rowHeader.childNodes[1];E>0?w.classList.add("mw-table-bottom-left-affordance"):w.classList.remove("mw-table-bottom-left-affordance"),w.style.height=E+"px"}},{key:"_getScrollLeft",value:function(){return this.scrollNode.scrollLeft}},{key:"_getScrollTop",value:function(){return this.scrollNode.scrollTop}},{key:"componentWillUnmount",value:function(){this.destroy&&this.destroy()}},{key:"componentDidMount",value:function(){var E=this,w=this.props.scrollNodeIntoView,I=w===void 0?{}:w;I.scrollNode=this.scrollNode,this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getScrollAffordanceHeight.bind(this),publisherId:t.publisher.SCROLL_BAR_HEIGHT,noRender:!0}),this.props.setDnDNode&&this.props.setDnDNode(this.myScrollComponent.parentElement),this.props.setupDropFromOutside&&(this.context=this.props.setupDropFromOutside(this.myScrollComponent.parentElement,this.scrollNode),this.destroy=this.context.destroy.bind(this.context)),this.rowHeader&&(this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:function(R){E.rowHeader.style.maxWidth=R+"px",E.rowHeader.style.minWidth=R+"px"},subscribeTo:t.publisher.ROW_HEADER,subscriberId:t.subscriber.ROW_HEADER_PARENT,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollAffordanceHeight.bind(this),subscribeTo:t.publisher.SCROLL_BAR_HEIGHT,subscriberId:t.subscriber.TABLE_BOTTOM_LEFT_AFFORDANCE,noRender:!0})),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getScrollLeft.bind(this),publisherId:t.publisher.SCROLL_COMPONENT_LEFT,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getScrollAffordanceWidth.bind(this),publisherId:t.publisher.SCROLL_BAR_WIDTH,noRender:!0}),this.props.eventCallback(e.internal.TABLE_MOUNT,{table:this.scrollNode})}},{key:"render",value:function(){var E=this,w=this.props,I=w.table,M=w.rowHeader,R=w.rowHeaderWidth,T="mw-table-row-header-container",N={};R&&(N={width:R+"px"});var F=void 0;M&&(F=h.createElement(s,null,h.createElement("div",{className:T,onMouseDown:this._handleRowHeaderMouseDown,onContextMenu:this._handleRowHeaderContextMenu,style:N,ref:function(O){E.rowHeader=O}},h.createElement("div",{ref:function(O){E.rowHeaderColumn=O},className:"mw-table-row-header-scrolling-div"},M),h.createElement("div",null))));var y=["mw-table-flex-container","mw-table-scroll-container"];return h.createElement("div",{ref:function(O){E.myScrollComponent=O},className:y.join(" ")},F,h.createElement("div",{className:this._isSafari?"mw-table-inner-wrapper mw-scrolling-div mw-scrolling-promote-layer":"mw-table-inner-wrapper mw-scrolling-div","data-test-id":"scrollNode",tabIndex:"-1",onMouseDownCapture:this._handleMouseDownCapture,onMouseDown:this._handleMouseDown,onMouseUp:this.setTabIndex,onMouseLeave:this.setTabIndex,onScroll:this.handleScroll,onWheel:this.handleWheel,onContextMenu:this._handleContextMenu,ref:function(O){E.scrollNode=O}},I))}}]),g}(h.Component);return v},_,P),_.exports=S},90570:(_,P,l)=>{var b,S;b=[l(85831),l(96203)],S=l.dj.d(b,function(C,A){"use strict";var p=A(C);return p},_,P),_.exports=S},70017:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(74374),l(16885),l(79301),l(14152)],S=l.dj.d(b,function(n,e,t,r){var i="hiddenAfterClearSort",s="sortDescFirst",a=function(o){d(u,o);function u(){A(this,u);var c=p(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c._handleClick=c._handleClick.bind(c),c._handleMouseLeave=c._handleMouseLeave.bind(c),c._state={didClearSort:!1},c}return C(u,[{key:"shouldComponentUpdate",value:function(h){return h.sortClass!==this.props.sortClass||h.sortFirst!==this.props.sortFirst||h.sorted!==this.props.sorted}},{key:"_handleClick",value:function(h){var v=this.props,f=v.sorted,g=v.clearSort,m=v.sortType,E=v.sortFirst,w=v.colIndex,I=v.eventCallback,M=E===void 0?"ASC":E,R=n.getNext(f,g,M),T={order:R,type:m,column:w};g&&f&&R===""?this._state.didClearSort=!0:this._state.didClearSort=!1,setTimeout(function(){return I(e.protected.SORT_AFFORDANCE_CLICKED,T)},0)}},{key:"_handleMouseLeave",value:function(h){h.currentTarget.classList.remove("hiddenAfterClearSort"),this._state.didClearSort=!1}},{key:"render",value:function(){var h=this.props,v=h.colIndex,f=h.sorted,g=h.sortClass,m=h.clearSort,E=h.sortFirst;return m&&this._state.didClearSort&&(g+=" "+i),E&&E==="DESC"&&(g+=" "+s),r.createElement("div",{"data-affordance-index":v,"data-sorted":f,onClick:this._handleClick,onMouseLeave:m&&this._state.didClearSort?this._handleMouseLeave:null,className:g},r.createElement("svg",{width:"8px",height:"10px",viewBox:"0 0 8 10",version:"1.1"},r.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},r.createElement("g",{transform:"translate(-246.000000, -19.000000)",fill:"var(--mw-backgroundColor-iconFill)"},r.createElement("g",{transform:"translate(250.000000, 24.000000) rotate(180.000000) translate(-250.000000, -24.000000) translate(244.000000, 18.000000)"},r.createElement("polygon",{points:"5.9999 1 9.9999 6 1.9999 6"}),r.createElement("polygon",{points:"5 9 7 9 7 6 5 6"}),r.createElement("polygon",{points:"5 11 7 11 7 10 5 10"}))))))}}]),u}(r.Component);return a},_,P),_.exports=S},33082:(_,P,l)=>{var b,S,C=function(){function t(r,i){for(var s=0;s<i.length;s++){var a=i[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,a.key,a)}}return function(r,i,s){return i&&t(r.prototype,i),s&&t(r,s),r}}(),A=function t(r,i,s){r===null&&(r=Function.prototype);var a=Object.getOwnPropertyDescriptor(r,i);if(a===void 0){var o=Object.getPrototypeOf(r);return o===null?void 0:t(o,i,s)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(s)}};function p(t){if(Array.isArray(t)){for(var r=0,i=Array(t.length);r<t.length;r++)i[r]=t[r];return i}else return Array.from(t)}function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function n(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function e(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}b=[l(54282),l(56813),l(84960),l(81039),l(6699),l(16885),l(15555),l(25219),l(14152)],S=l.dj.d(b,function(t,r,i,s,a,o,u,c,h){var v=function(f){e(g,f);function g(m){d(this,g);var E=n(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,m));return E._handleMouseEnter=E._handleMouseEnter.bind(E),E}return C(g,[{key:"_handleMouseEnter",value:function(E){A(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"_handleMouseEnter",this).call(this,E,i.SPANNING_COLUMN_HEADER)}},{key:"_handleMouseDown",value:function(E){if(!u.isSyntheticRightClick(E)){var w=this.props,I=w.columnId,M=w.spanningHeaderAllChildren,R=I&&M&&M[I]&&M[I].indexes||[];R.length!==0&&this.props.eventCallback(o.protected.COL_HEADER_CLICK,{column:Math.min.apply(Math,p(R)),columnEnd:Math.max.apply(Math,p(R)),groupedSelection:!0,meta:E.metaKey,ctrlKey:E.ctrlKey,shiftKey:E.shiftKey,altKey:E.altKey})}}},{key:"_handleSpanningSelection",value:function(E){var w=this.props,I=w.columnId,M=w.metadata,R=w.spanningHeaderAllChildren,T=w.viewBuffer,N=I&&R&&R[I]&&R[I].indexes||[];if(M&&M.selections&&M.selections.length===1&&M.selections[0]){var F=!1,y=M.selections[0].columns.start,x=M.selections[0].columns.end;F=this._isSpanningHeaderSelected(N,y,x,F),F&&E.push("mw-table-header-col-selected")}else if(M&&M.selections&&M.selections.length>1){var O=new Set,L=!0,W=!1,j=void 0;try{for(var H=M.selections[Symbol.iterator](),K;!(L=(K=H.next()).done);L=!0)for(var $=K.value,V=$.columns.start,z=$.columns.count,X=V;X<V+z;X++)V<=T.columns.end&&V+z>=T.columns.start&&O.add(X)}catch(Z){W=!0,j=Z}finally{try{!L&&H.return&&H.return()}finally{if(W)throw j}}N&&O&&this._isSpanningHeaderSelectedForMultiRange(O,N)&&E.push("mw-table-header-col-selected"),O=null}}},{key:"_isSpanningHeaderSelected",value:function(E,w,I,M){if(E){var R=Math.min.apply(Math,p(E)),T=Math.max.apply(Math,p(E));w<=R&&T<=I?M=!0:M=!1}return M}},{key:"_isSpanningHeaderSelectedForMultiRange",value:function(E,w){return w.every(function(I){return E.has(I)})}},{key:"render",value:function(){var E=this,w=this.props,I=w.headerPosition,M=w.colEditState,R=w.columnId,T=w.onContextMenu,N=w.widgetId,F=w.complexHeaderStyle,y=w.width,x=["mw-table-header-column","mw-table-spanning-column-header","mw-table-flex-container"];this._handleSpanningSelection(x),I>0&&x.push("mw-table-header-border-left");var O={};y&&(O.maxWidth=y),F&&c.metaDataStyling(F,O,i.COLUMN_HEADER);var L={};c.colorStyling(F,L);var W=a.getHeaderId(N,"_",R);return h.createElement("th",{className:x.join(" "),onDoubleClick:this._handleDoubleClick,"data-edit-state":M,"data-column-id":R,onContextMenu:T,style:O,id:W,onMouseDown:this._handleMouseDown},h.createElement("div",{className:"mw-table-header-label-container"},h.createElement("div",{ref:function(H){E.renderNode=H},"data-test-id":t.HEADER_LABEL,onMouseEnter:this._handleMouseEnter,style:L,className:"mw-table-header-label"})))}}]),g}(r);return s(v,i.COLUMN_HEADER)},_,P),_.exports=S},62065:(_,P,l)=>{var b,S,C=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t},A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p=function(){function t(r,i){for(var s=0;s<i.length;s++){var a=i[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,a.key,a)}}return function(r,i,s){return i&&t(r.prototype,i),s&&t(r,s),r}}();function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function n(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function e(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}b=[l(16885),l(63804),l(58692),l(15555),l(21321),l(6699),l(9070),l(25219),l(80531),l(84960),l(1103),l(39499),l(32424),l(22697),l(62806),l(53212),l(90294),l(14152)],S=l.dj.d(b,function(t,r,i,s,a,o,u,c,h,v,f,g,m,E,w,I,M,R){"use strict";var T=function(){},N={0:"",1:"mw-table-active-selection-right-border",2:"mw-table-cell-selected",3:"",4:"",6:"mw-table-cell-selected mw-table-cell-active-range",7:"mw-table-cell-selected mw-table-cell-active-range mw-table-active-selection-right-border"},F={cells:function(){return function(){return 0}}},y=function(W){return W&i.selection.SELECTED},x=function(W){return W&i.selection.ACTIVE_SELECTED},O=function(L){e(W,L);function W(){d(this,W);var j=n(this,(W.__proto__||Object.getPrototypeOf(W)).call(this));return j.cell=R.createRef(),j._handleDoubleClick=j._handleDoubleClick.bind(j),j}return p(W,[{key:"_handleDoubleClick",value:function(H){var K=this.props,$=K.eventCallback,V=K.rowIndex,z=K.colIndex,X=K.onDoubleClick;if($&&$(t.protected.TABLE_DBL_CLICK,H),X)return X();var Z=Number(V),Y=Number(z),Q={row:Z,column:Y};return s.emitDoubleClickEvent($,Q)}},{key:"_handleMouseOverFunction",value:function(H,K){if(!K){var $=this.props,V=$.handleMouseOver,z=$.cellData,X=$.renderer,Z=z&&z.metaData&&z.metaData.floatingContent;if(!Z){var Y=H.target,Q="tableCell";V(Y,Q,z.value,X,this.cell.current)}}}},{key:"_handleMouseEnterFunction",value:function(H,K){if(!K){var $=this.props,V=$.handleSetFloatingContent,z=$.cellData,X=$.renderer,Z=$.row,Y=$.column,Q="tableCell",q=z&&z.metaData&&z.metaData.floatingContent;if(q){var ee={row:Z,col:Y,value:z.value,metadata:z.metaData};V(Q,this.cell.current,X,ee,h.TRIGGER.MOUSE_ENTER)}}}},{key:"componentDidUpdate",value:function(H){var K=this.props,$=K.rowIndex,V=K.colIndex,z=K.focusClass,X=K.focusCached,Z=K.editState,Y=K.cellData,Q=K.handleRemoveFloatingContent,q=K.handleSetFloatingContent,ee=K.renderer,oe=K.preventTrueFocus,se=z&&(!H.focusClass||X),he=Y&&Y.metaData&&Y.metaData.floatingContent,fe=Z&&Z.rowIndex===$&&Z.colIndex===V,le=!fe&&H.editState&&H.editState.rowIndex===$&&H.editState.colIndex===V;se&&oe.prevent===!1&&this.cell.current&&this.cell.current.focus({preventScroll:!0}),se&&oe.prevent===!0&&oe.delete();var ie=H.cellData&&H.cellData.metaData&&H.cellData.metaData.floatingContent;if((he&&fe||ie&&!he)&&Q(this.cell.current),he&&le){var re="tableCell",ce={row:$,col:V,value:Y.value,metadata:Y.metaData};q(re,this.cell.current,ee,ce,h.TRIGGER.MOUSE_ENTER)}}},{key:"componentWillUnmount",value:function(){this.props.focusClass&&this.cell.current.contains(document.activeElement)&&s.setFocusCache(this.props.eventCallback)}},{key:"shouldComponentUpdate",value:function(H){var K=this.props,$=K.selectionMap,V=$===void 0?F:$,z=K.colIndex,X=K.rowIndex,Z=K.additionalClass,Y=K.focused,Q=Y===void 0?{}:Y,q=H.focused||Q,ee=H.selectionMap||F,oe=[X+1,z].join(","),se=V.cells(X)(z),he=V.cells(X+1)(z),fe=ee.cells(X)(z),le=ee.cells(X+1)(z),ie=ee.cells(X-1)(z),re=V.cells(X-1)(z),ce=q[oe],ve=Q[oe];if(ce!==ve||ie!==re||se!==fe||he!==le||JSON.stringify(this.props.editState)!==JSON.stringify(H.editState)||JSON.stringify(this.props.editValidation)!==JSON.stringify(H.editValidation)||this.props.editProcessing!==H.editProcessing||this.props.focusCached!==H.focusCached||!u.classNameArrayEqual(Z,H.additionalClass)||this.props.focusClass!==H.focusClass||this.props.renderer!==H.renderer||this.props.editor!==H.editor)return!0;var ge=this.props.styleData||{},Te=H.styleData||{},Pe=ge!==Te;ge instanceof Object&&Te instanceof Object&&(Pe=!o.isDeepEqual(ge,Te));var Le=this.props.cellData.isEqual(H.cellData);return!Le||Pe}},{key:"_getRenderComponent",value:function(H){return!H||H.constructor===w?E:m}},{key:"_getResizeSelectionAffordance",value:function(H,K,$,V,z,X){var Z=H.resizeSelection,Y=null,Q=null,q=null,ee=null;return Z&&(K&&X&&(Y=g.createComponent(H,f.TOP)),$&&X&&(Q=g.createComponent(H,f.BOTTOM)),V&&X&&(q=g.createComponent(H,f.LEFT)),z&&X&&(ee=g.createComponent(H,f.RIGHT))),{resizeSelectionAffordanceTop:Y,resizeSelectionAffordanceBottom:Q,resizeSelectionAffordanceLeft:q,resizeSelectionAffordanceRight:ee}}},{key:"render",value:function(){var H=this,K=this.props,$=K.rowIndex,V=K.colIndex,z=K.cellData,X=K.styleData,Z=K.focusClass,Y=K.selectionMap,Q=Y===void 0?F:Y,q=K.focused,ee=q===void 0?{}:q,oe=K.renderMetaData,se=K.groupAttr,he=K.additionalClass,fe=K.handleEditComplete,le=K.handleEditCanceled,ie=K.handleEditValidation,re=K.handleProcessEdit,ce=K.editTrigger,ve=K.editState,ge=K.renderer,Te=K.editIndicator,Pe=Te===void 0?{}:Te,Le=K.editor,ct=K.editProcessing,st=K.onClick,ot=st===void 0?T:st,nt=K.eventCallback,Rt=K.useEditorRendererDataFields,Yt=K.editorMetaData,kt=K.customProps,Ft=K.columnAndRowHeaderIds,Bt=K.freezeColumnConfig;(typeof X>"u"?"undefined":A(X))!=="object"&&(X={});var me=void 0;if(kt&&kt.cellMetaData&&kt.cellMetaData.value&&kt.cellMetaData.value.id&&typeof kt.cellMetaData.value.id=="string"&&(me=kt.cellMetaData.value.id),(typeof z>"u"?"undefined":A(z))!=="object"||!z.hasOwnProperty("isEqual"))throw new Error("cellData property requires an isEqual function.");var Ne=Q.cells($)(V),Ve=this._getRenderComponent(ge),et=N[Ne],ze=["mw-table-cell-clean-focus",a.getBaseStyle(this.props),Z,et,he],pt=a.getCellType(this.props),Et=Q.cells($-1)(V),It=Q.cells($+1)(V),Nt=Q.cells($)(V-1),Vt=Q.cells($)(V+1),cr=[$+1,V].join(","),wn=x(Ne),On=y(Ne),Ln=x(Et),yn=y(It),or=x(It),cn=x(Nt),wr=x(Vt),Kn=y(Vt),sn=wn&&!Ln,Xn=On^yn||wn^or||wn&&!yn,er=wn&&!cn,Un=On^Kn||wn^wr||wn&&!Kn;sn&&ze.push("mw-table-selection-top-edge"),Xn&&ze.push("mw-table-selection-bottom-edge"),ee[cr]&&ze.push("mw-table-focus-edge"),o.isStrikeThrough(z)&&ze.push("mw-table-cell-strike-through"),c.isInteractive(oe)&&c.isReadOnly(oe)&&ze.push("mw-table-cell-interactive-readonly");var ye=X&&X.minWidth?X.minWidth:r.dimensions.COL_WIDTH;ye<r.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN&&ze.push("mw-table-cell-collapsecolumn");var Ce=!1;ve&&ve.rowIndex===$&&ve.colIndex===V&&(Ce=!0);var Ie=Z?"-1":null,Ke=ge&&ge.getAriaLabel?ge.getAriaLabel(z.value):null,Je=this._getResizeSelectionAffordance(this.props,sn,Xn,er,Un,wn),Qe=Je.resizeSelectionAffordanceTop,Ge=Je.resizeSelectionAffordanceBottom,dt=Je.resizeSelectionAffordanceLeft,mt=Je.resizeSelectionAffordanceRight,Dt=o.reverseArray(Ft),bt=o.joinArray(Dt," "),qt=a.getFrozenColumnCellClass(Bt,V);return qt&&ze.push(qt),R.createElement("td",C({ref:this.cell,style:X,role:"gridcell"},bt?{"aria-describedby":bt}:null,{"data-row":$,"data-row-id":me,"aria-colindex":V,"data-edit":!!ve,"data-col":V,"data-cell-type":pt},c.isReadOnly(oe)?{"aria-readonly":oe.readonly}:null,{tabIndex:Ie,"aria-label":Ke,"group-attr":se,onClick:ot,onDoubleClick:this._handleDoubleClick,onContextMenu:function(Ht){return s.handleContextmenu(Ht,H.props,v.TABLE_CELL)},onMouseOver:function(Ht){return H._handleMouseOverFunction(Ht,Ce)},onMouseEnter:function(Ht){return H._handleMouseEnterFunction(Ht,Ce)},className:ze.join(" ")}),Ce?R.createElement(I,{value:z.value,cellRef:this.cell.current,CustomEditor:Le,isCustomHeight:this.props.customProps&&this.props.customProps.customHeight,eventCallback:nt,handleEditCanceled:le,handleEditComplete:fe,handleEditValidation:ie,handleProcessEdit:re,editProcessing:ct,editTrigger:ce,useEditorRendererDataFields:Rt,metaData:Yt}):R.createElement(Ve,{value:z.value,eventCallback:nt,metaData:oe,noToolTip:!0,renderer:ge,useEditorRendererDataFields:Rt,typeOfCell:"mw-table",showEditIndicator:Pe.showEditIndicator}),Pe.showEditIndicator?R.createElement(M,{editIndicator:Pe.editIndicatorType}):null,!Ce&&Qe!==null&&Qe,!Ce&&Ge!==null&&Ge,!Ce&&dt!==null&&dt,!Ce&&mt!==null&&mt)}}]),W}(R.Component);return O},_,P),_.exports=S},43548:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(14152),l(67026),l(16885),l(79301),l(6063)],S=l.dj.d(b,function(n,e,t,r,i){"use strict";var s=function(a){d(o,a);function o(){return A(this,o),p(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return C(o,[{key:"_setTableWidth",value:function(c){c==="100%"?(this.myTable.style.width=c,this.myTable.style.maxWidth=c):c>0&&(this.myTable.style.width=c+"px",this.myTable.style.maxWidth=c+"px")}},{key:"_setTableHeight",value:function(c){var h=c.height;parseInt(h)>parseInt(this.props.height)?(this.myTable.style.height=h+"px",this.myTable.style.maxHeight=h+"px"):(this.myTable.style.maxHeight="none",this.myTable.style.height=this.props.height)}},{key:"_getGeomObject",value:function(c){var h={flexWidth:this.props.flexWidth,headerList:this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),headerThead:this.theadRef,noRender:!0};this.props.eventCallback(c,h),this._geomObject=h.result||this._geomObject}},{key:"componentDidMount",value:function(){this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableWidth.bind(this),subscriberId:r.subscriber.TABLE_WIDTH,subscribeTo:r.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableHeight.bind(this),subscriberId:r.subscriber.TABLE_HEIGHT,subscribeTo:r.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0})}},{key:"render",value:function(){var c=this,h=this.props,v=h.height,f=h.width,g=h.tableClass,m=h.dataSize,E=h.widgetType,w=h.scrollNodeIntoView,I=h.component,M={height:v,width:f,maxHeight:v,maxWidth:f},R=m.rows,T=R===void 0?{}:R,N=m.columns,F=N===void 0?{}:N,y=e.getRoleByWidgetType(E),x="mw-table "+g,O=T.count||0,L=F.count||0,W=Object.assign({tableHasFocus:w.tableContainerHasFocus()},this.props);this.myTable&&this.myTable.contains(document.activeElement)&&this.props.preventTrueFocus.prevent===!0&&(this.props.preventTrueFocus.delete(),this.props.preventTrueFocus.prevent=!1);var j=n.createElement("table",{ref:function(K){c.myTable=K},role:y,"aria-rowcount":O,"aria-colcount":L,"data-test-id":"mwtable",style:M,className:x},n.createElement(I.tbody,W),n.createElement(i,{subscriberId:r.subscriber.INSERTION_TABLE_BODY,eventCallback:this.props.eventCallback}));return j}}]),o}(n.Component);return s},_,P),_.exports=S},58714:(_,P,l)=>{var b,S;b=[l(43322),l(78352),l(38738),l(6699),l(14152)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";var e={0:"",1:"mw-table-row-selected"},t="mw-table-row",r=function(h){var v=n.useContext(A),f=v.dndEnabled,g=h.selectionMap,m=g===void 0?{rows:function(){return 0}}:g,E=h.rowIndex,w=h.className,I=h.customProps,M=h.tableSelectionById,R=h.rowMetaData,T={value:{}};if(M){var N=I||{},F=N.rowMetaData,y=N.viewDataRowRange;F&&E<=y.end&&E>=y.start&&(T=F(E)),I.cellMetaData=T}var x=[];f&&m.rows(E)&&x.push(C.SOURCE_SELECTOR);var O=R&&R[0](E),L=O&&O.value&&O.value.rowHeight,W=i(m,E,w);if(L&&h.customProps){var j=L==="auto";j&&W.push("mw-table-fit-content-row"),h.customProps.customHeight=L==="auto"?L:L+"px"}var H=u(h,x);return n.createElement("tr",{role:"row","aria-rowindex":E,"data-test-id":E,"data-row-index":E,"data-row-id":T.value.id,customProps:I,className:W.join(" ")},H)};return r;function i(c,h,v){var f=[t];return f.push(e[c.rows(h)]),v&&f.push(v),f}function s(c,h,v,f){if(c){var g=d.getHeaderId(h,"_ROW_",v);g&&f.push(g)}}function a(c,h,v){var f=d.getHeaderId(c,"_",v);f&&h.push(f)}function o(c,h,v){var f=c.rowIndex,g=c.data,m=c.focused,E=m===void 0?{}:m,w=c.preventTrueFocus,I=c.getEditor,M=c.getRenderer,R=c.getInteractiveRenderer,T=c.setInteractiveRenderer,N=c.customProps,F=c.eventCallback,y=c.headers,x=c.freezeColumnHeaders,O=c.startCol,L=c.endCol,W=c.logicalRowHeight,j=c.focusCached,H=c.component,K=c.editTrigger,$=c.editState,V=c.selectionMap,z=c.resizeSelection,X=c.editValidation,Z=c.editProcessing,Y=c.readOnlyVisualDesign,Q=c.registration,q=c.displaySearch,ee=c.numberOfGutters,oe=c.checkboxTreetable,se=c.useEditorRendererDataFields,he=c.tableSelectionById,fe=c.widgetId,le=c.spanningColumnHeaders,ie=c.displayRowHeader,re=c.groupedColumnHeaders,ce=c.frozenColumnData,ve=c.freezeColumnConfig,ge=void 0;he&&(ge=N.cellMetaData.value);var Te=v-O,Pe=y[Te]?y[Te]:{};x&&v<=ve.range.columns.end&&(Te=v,Pe=x[Te]?x[Te]:{});var Le=Pe?Pe.styleData:{},ct=void 0,st=[];if(s(ie,fe,f,st),a(fe,st,Pe.columnId),Pe.parentId){var ot={parentId:Pe.parentId,colIndex:v,startCol:O,endCol:L,headerIndex:Te};re&&st.pop(),ct=p.getGroupCellAttribute(ot,y);for(var nt=Pe.parentId,Rt=!0;Rt===!0;){var Yt=le[nt]&&le[nt].columnId;a(fe,st,Yt),le[nt]&&le[nt].parentId===void 0&&(Rt=!1),nt=le[nt]&&le[nt].parentId}}var kt={minWidth:Le.minWidth,maxWidth:Le.maxWidth,width:Le.width,height:N.customHeight?N.customHeight:W+"px",minHeight:W+"px"},Ft=Pe?Pe.readonly:!1;return n.createElement(H.cell,{key:v,styleData:kt,rowIndex:f,colIndex:v,rowId:ge&&ge.id,additionalClass:h,data:g,focused:E,focusCached:j,preventTrueFocus:w,getEditor:I,getRenderer:M,displaySearch:q,getInteractiveRenderer:R,setInteractiveRenderer:T,editValidation:X,editProcessing:Z,customProps:N,eventCallback:F,editTrigger:K,editState:$,groupAttr:ct,selectionMap:V,registration:Q,numberOfGutters:ee,checkboxTreetable:oe,tableSelectionById:he,useEditorRendererDataFields:se,resizeSelection:z,readOnlyVisualDesign:Y,readonly:Ft,columnAndRowHeaderIds:st||[],frozenColumnData:ce,freezeColumnConfig:ve})}function u(c,h){var v=[];if(c.freezeColumnConfig)if(c.startCol>c.freezeColumnConfig.range.columns.end)for(var f=c.freezeColumnConfig.range.columns.start;f<=c.freezeColumnConfig.range.columns.end;f++)v.push(f);else for(var g=0;g<c.startCol;g++)v.push(g);for(var m=c.startCol;m<=c.endCol;m++)v.push(m);var E=[];return v.forEach(function(w){E.push(o(c,h,w))}),E}},_,P),_.exports=S},25219:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(63804),l(79301),l(84960),l(11487),l(2102)],S=l.dj.d(b,function(p,d,n,e,t){"use strict";var r=function(a,o,u){return u>=a.columns.start&&u<=a.columns.end&&o>=a.rows.start&&o<=a.rows.end},i=function(){function s(){A(this,s)}return C(s,null,[{key:"getFocusedCell",value:function(o){var u={},c=void 0;if(o&&o.rangeList&&o.rangeList[0]&&(c=o.rangeList[0]),c&&c.rows&&c.columns){var h=c.rows.start,v=c.columns.start,f=[h,v].join(",");u[f]="mw-table-cell-focused"}return u}},{key:"getContentFor",value:function(o,u,c){for(var h=o.rangeList||[],v=0;v<h.length;v++)if(r(h[v],u,c)&&o.value[v])return o.value[v];return null}},{key:"getInteractiveRendererFor",value:function(o,u,c){for(var h=o.rangeList||[],v=0;v<h.length;v++)if(r(h[v],u,c))return o.value[v]?{renderer:o.value[v],range:h[v]}:null;return null}},{key:"getTableHeaderStyle",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments[1],c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.dimensions.COL_WIDTH,h=arguments[3],v={},f=o.width,g=o.unit,m=o.fillContainerWidth;switch(isNaN(f)&&(f=c,g="px"),g===""&&(g="px"),g){case"percent":case"%":u?v={maxWidth:"none",minWidth:c,width:Math.min(100,Math.abs(f))+"%"}:v={minWidth:c,maxWidth:c};break;case"px":h&&(c=p.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN),Number.isInteger(f)||(f=c),f=Math.max(c,f),m?v={maxWidth:"none",minWidth:f,width:m}:v={maxWidth:f,minWidth:f};break;default:break}return v}},{key:"computeTableHeight",value:function(o,u){var c=Math.max(o*u,1)||1;return c+"px"}},{key:"renderUpdate",value:function(o,u){u=u||o.viewPortList[0].getBufferedViewPort();var c=[u];if(t.isFreezeColumnEnabled(o)){var h=o.getStateByKey(d.protected.FREEZE_COLUMN_CONFIG).value;c=s.getViewRangeListWithFreezeColumns(h,u)}o.viewBuffer={size:null,rangeList:c}}},{key:"getViewRangeListWithFreezeColumns",value:function(o,u){var c=void 0;if(u.columns.start===o.range.columns.start)c=[u];else if(u.columns.start>o.range.columns.end+1){var h=e.range().setRows(u.rows.start,u.rows.end).setColumns(o.range.columns.start,o.range.columns.end);c=[u,h]}else{var v=e.range().setRows(u.rows.start,u.rows.end).setColumns(0,u.columns.end);c=[v]}return c}},{key:"getState",value:function(o,u){return u.getStateByKey(o)}},{key:"getViewAndDataRange",value:function(o,u,c){var h=e.range().setRows(o,o).setColumns(u,u),v=s.viewRangeToDataRange(h,c);return{viewRange:h,dataRange:v}}},{key:"viewRangeToDataRange",value:function(o,u){var c=u.viewRangeListToDataRangeList([o]);if(c.length>1)throw new Error("Single viewRange cell mapped to multiple ranges");return c[0]}},{key:"isFocusedRange",value:function(o,u){var c=s.getState(d.protected.FOCUSED,u)||!1,h=c.rangeList,v=h===void 0?[{}]:h;return e.isRangeEqual(v[0],o)}},{key:"getValidationInfo",value:function(o){return{isValid:o.success,validationMessage:o.message,type:"ERROR"}}},{key:"setOriginalValuePromise",value:function(o,u){var c=u.getData([o]).then(function(h){return h[0][o.rows.start][o.columns.start]});return c}},{key:"getViewIndex",value:function(o){var u=o&&o.rangeList[0],c=u&&u.columns.start,h=u&&u.rows.start;return{viewRange:u,viewColIndex:c,viewRowIndex:h}}},{key:"getColumnConfig",value:function(o,u){var c=o.getColumnHeaders()[Number(u)]||{dataIndex:u};return c}},{key:"getColumnId",value:function(o,u){var c=o&&o.find(function(h){return h._index===u});return c?c.columnId:""}},{key:"isReadOnly",value:function(o){return o&&o.readonly===!0||!1}},{key:"isInteractive",value:function(o){return o&&o.interactiveRenderer===!0||!1}},{key:"isColumnHeaderHidden",value:function(o){var u=o.getStateByKey(d.HIDE_COLUMN_HEADER);return u?u.value:!1}},{key:"isTableFocused",value:function(o){for(var u=!1,c=o;c&&/mw-table.*/.test(c.className)!==!1;)u=c.contains(document.activeElement),c=c.parentElement;return u}},{key:"setAllRangeOuterBorderColor",value:function(o,u,c,h,v){for(var f=[-1,0,1,0],g=[0,1,0,-1],m=0;m<4;m++){var E=v+f[m],w=u+g[m],I=void 0,M=void 0;try{I=c(E)(w),M=I.metaData.style.rangeOuterBorderColor}catch(R){s.setRangeOuterBorderColor(m,h,o)}finally{o.metaData.style.rangeOuterBorderColor!==M?s.setRangeOuterBorderColor(m,h,o):o.metaData.style.rangeOuterBorderColor===M&&s.setRangeOuterBorderColor(m,h,"")}}}},{key:"setRangeOuterBorderColor",value:function(o,u,c){var h=void 0,v=void 0;c===""?(h="",v=""):(h="2px solid "+c.metaData.style.rangeOuterBorderColor,v="1px"),o===0?(u.borderTop=h,u.paddingTop=v):o===1?(u.borderRight=h,u.paddingRight=v):o===2?(u.borderBottom=h,u.paddingBottom=v):o===3&&(u.borderLeft=h,u.paddingLeft=v)}},{key:"metaDataStyling",value:function(o,u,c){c!==n.COLUMN_HEADER&&(u.color=o.color||u.color,u.fontWeight=o.fontWeight||u.fontWeight,u.fontSize=o.fontSize||u.fontSize,u.fontFamily=o.fontFamily||u.fontFamily,u.fontStyle=o.fontStyle||u.fontStyle),u.backgroundColor=o.backgroundColor||u.backgroundColor,u.textAlign=o.textAlign||u.textAlign}},{key:"colorStyling",value:function(o,u){o&&o.color&&(u.color=o.color||u.color)}}]),s}();return i},_,P),_.exports=S},80896:(_,P,l)=>{var b,S,C=function(){function d(n,e){var t=[],r=!0,i=!1,s=void 0;try{for(var a=n[Symbol.iterator](),o;!(r=(o=a.next()).done)&&(t.push(o.value),!(e&&t.length===e));r=!0);}catch(u){i=!0,s=u}finally{try{!r&&a.return&&a.return()}finally{if(i)throw s}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(9070),l(79301),l(72989),l(11649),l(82099),l(40748),l(94)],S=l.dj.d(b,function(d,n,e,t,r,i,s){"use strict";var a=function(){function o(u){var c=this;p(this,o),this.initializeTable=this.initializeTable.bind(this),this.renderTable=this.renderTable.bind(this);var h=u.viewModel,v=u.viewPortList,f=u.options,g=u.controllers,m=u.dataStore,E=u.pluginEnum;this._viewModel=h,this._dataStore=m,h.setState(n.tableBottomLeftAffordanceHeight,0),h.setState(n.colResize,!1),h.setState("scrollPositionChanged",!1),h.setState(n.displaySearch,!1),h.setState(n.TABLE_AFFORDANCE_WIDTH,{run:function(){return 0}}),h.setState("ScrollChangeOnKeyPress",!1),f=f||{};var w=f,I=w.features;this.viewPortList=v,I=I||[],this.registry=[],this._adaptorList=new r,this.registry=g.map(function(F){return c._adaptorList.register(F.eventList()),[F]});var M=t.separateControllers(d.dedupe(d.flatten(I)),E),R=C(M,2),T=R[0],N=R[1];f.initializedControllers=this.registry,T.forEach(function(F){var y=new F({viewModel:h,dataStore:m,viewPortList:v,tableView:c,options:f});c._adaptorList.register(y.eventList()),c.registry.push([y])}),N=t.prunePlugins(N,E,f),this._setupPlugins(N,f)}return A(o,[{key:"_setupPlugins",value:function(c,h){var v=this,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];c.forEach(function(g){var m=void 0;typeof g.adaptor=="string"&&(m=i.EXPERIMENTAL_ADAPTORS[g.adaptor]);try{var E=void 0,w=m||g.adaptor,I=f.indexOf(w);I<0?(E=new w({viewModel:v._viewModel,dataStore:v._dataStore,viewPortList:v.viewPortList,tableView:v,options:h}),f.push(E),v.registry.push([new g({adaptor:E}),E])):(E=f[I],v.registry.push([new g({adaptor:E}),E])),v._adaptorList.register(E.eventList())}catch(M){}})}},{key:"initializeTable",value:function(){this._lifecycle=new s(this._viewModel,this._adaptorList,this.viewPortList)}},{key:"renderTable",value:function(){this._table=this._lifecycle.mount(),this.throttledResize=e(this._table._handleResize,16.666666666666668)}},{key:"removeTable",value:function(){this.throttledResize&&this.throttledResize.cancel(),this._lifecycle.unmount(),this._viewModel.destroy(),this._table=null,this._adaptorList=null,this.viewPortList=null,this.registry=null,this._lifecycle=null,this._dataStore=null,this._viewModel=null}},{key:"focus",value:function(){this._table.focus()}},{key:"domNode",get:function(){return this._lifecycle.domNode}}]),o}();return a},_,P),_.exports=S},89631:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(14152),l(11487),l(16885),l(79301),l(76298),l(58692),l(15555),l(93361),l(88414),l(25219)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o,u,c){"use strict";var h=function(M,R,T){for(var N=Math.max(M.rows.start,R.rows.start),F=Math.min(M.rows.end,R.rows.end),y=N;y<=F;y+=1)T[y]=1},v=function(M,R){var T=Object.keys(M);if(T.length!==0){var N=R.metadata,F=R.customProps,y=F.rowMetaData;return function(x){var O=y(x).value.id;return N&&N.selections&&N.selections[O]?1:0}}},f=function(M,R,T){for(var N=Math.max(M.rows.start,R.rows.start),F=Math.min(M.rows.end,R.rows.end),y=Math.min(M.columns.end,R.columns.end),x=T[y]||[],O=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return j+s.selection.ACTIVE_RIGHT_BORDER},L=N;L<=F;L+=1)x[L]=O(x[L]);T[y]=x},g=function(M,R,T){for(var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:s.selection.SELECTED,F=Math.max(M.rows.start,R.rows.start),y=Math.min(M.rows.end,R.rows.end),x=Math.max(M.columns.start,R.columns.start),O=Math.min(M.columns.end,R.columns.end),L=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return $+N},W=O;W>=x;W-=1){for(var j=T[W]||[],H=F;H<=y;H+=1)j[H]=L(j[H]);T[W]=j}},m=function(M){var R=M.metadata,T=R===void 0?{selections:[],activeRange:null}:R,N=M.viewBuffer,F=M.tableSelectionById,y=T.selections,x=T.selectionType,O=T.activeRange||e.range(),L=[],W=[],j=void 0;if(F)x===r.SELECT_CELLS?g(y,N,L):j=v(y,M);else for(var H=0;H<Object.keys(y).length;H+=1)e.doesRangeIntersect(N,y[H])&&(x===r.SELECT_CELLS?g(y[H],N,L):h(y[H],N,W));return g(O,N,L,s.selection.ACTIVE_SELECTED),f(O,N,L),{cellMap:L,cells:function($){return function(V){var z=L[V]||[];return z[$]||0}},rows:j||function(K){return W[K]||0}}},E=function(I){d(M,I);function M(){A(this,M);var R=p(this,(M.__proto__||Object.getPrototypeOf(M)).call(this));return R.state={triggerEditState:!1,waitForMouseUp:!1},R._geomObjectY={translateY:0,physicalHeight:0},R._handleMouseDown=R._handleMouseDown.bind(R),R._handleMouseEvent=R._handleMouseEvent.bind(R),R._handleFocusOnly=R._handleFocusOnly.bind(R),R._handleClick=R._handleClick.bind(R),R}return C(M,[{key:"getKeyOnRowComponentByIdFn",value:function(T,N){var F=T.rowMetaData,y=N;return F&&(y=F(N).value.id),y}},{key:"_makeRowElements",value:function(){for(var T=this.props,N=T.data,F=T.focused,y=F===void 0?{}:F,x=T.preventTrueFocus,O=T.getEditor,L=T.getRenderer,W=T.getInteractiveRenderer,j=T.resizeSelection,H=T.readOnlyVisualDesign,K=T.setInteractiveRenderer,$=T.customProps,V=T.eventCallback,z=T.headers,X=T.freezeColumnHeaders,Z=T.startCol,Y=T.endCol,Q=T.logicalRowHeight,q=T.component,ee=T.startRow,oe=T.endRow,se=T.selectionMapFn,he=T.editTrigger,fe=T.editState,le=T.editValidation,ie=T.tableHasFocus,re=T.editProcessing,ce=T.getKeyOnRowComponentFn,ve=T.metadata,ge=T.registration,Te=T.displaySearch,Pe=T.numberOfGutters,Le=T.checkboxTreetable,ct=T.useEditorRendererDataFields,st=T.tableSelectionById,ot=T.rowMetaData,nt=T.widgetId,Rt=T.spanningColumnHeaders,Yt=T.displayRowHeader,kt=T.groupedColumnHeaders,Ft=T.frozenColumnData,Bt=Ft===void 0?null:Ft,me=T.freezeColumnConfig,Ne=se||m,Ve=[],et=Ne(this.props),ze=ee;ze<=oe;ze+=1){var pt=void 0;st?pt=this.getKeyOnRowComponentByIdFn($,ze):pt=ce?ce($,ze):ze,Ve.push(n.createElement(q.row,{key:pt,rowIndex:ze,selectionMap:et,data:N,rowMetaData:ot,editTrigger:he,editState:fe,editValidation:le,editProcessing:re,focusCached:ie,focused:y,preventTrueFocus:x,getEditor:O,getRenderer:L,displaySearch:Te,getInteractiveRenderer:W,setInteractiveRenderer:K,customProps:$,eventCallback:V,component:q,startCol:Z,endCol:Y,headers:z,freezeColumnHeaders:X,activeRange:ve.activeRange,logicalRowHeight:Q,registration:ge,numberOfGutters:Pe,checkboxTreetable:Le,tableSelectionById:st,useEditorRendererDataFields:ct,resizeSelection:j,readOnlyVisualDesign:H,widgetId:nt,spanningColumnHeaders:Rt,displayRowHeader:Yt,groupedColumnHeaders:kt,frozenColumnData:Bt,freezeColumnConfig:me}))}return Ve}},{key:"_setTranslateX",value:function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=T+"px",F="translateX("+N+")";this.tbodyRef.style.transform=F,this.tbodyRef.style.webkitTransform=F,this.tbodyRef.style.width="calc(100% + "+-T+"px)";var y=this.props,x=y.startRow,O=y.endRow,L=y.freezeColumnConfig;L&&this._setFrozenCellLeftPosition(T,x,O,L)}},{key:"_setFrozenCellLeftPosition",value:function(T,N,F,y){for(var x={},O=N;O<=F;O++){var L=0;x[O]={};for(var W=y.range.columns.start;W<=y.range.columns.end;W++){var j=this.tbodyRef.querySelector('td[data-row="'+O+'"][data-col="'+W+'"]');j&&(x[O][W]={previousColumnsWidth:L,node:j},L+=parseInt(window.getComputedStyle(j).width.split("px")[0]))}}Object.keys(x).forEach(function(H){Object.keys(x[H]).forEach(function(K){x[H][K].node.style.left=-T+x[H][K].previousColumnsWidth+"px"})})}},{key:"_setTranslateY",value:function(T){var N=T.translateY||0,F=N+"px";this.tbodyRef.style.top=F,this.tbodyRef.style.height="calc(100% + "+-N+"px)"}},{key:"_getTranslateYAndHeight",value:function(){return this._getGeomObject(t.internal.COMPUTE_TRANSLATEY_AND_HEIGHT),{height:this._geomObjectY.physicalHeight,translateY:this._geomObjectY.translateY}}},{key:"_getRowRects",value:function(){for(var T=this.tbodyRef.childNodes,N={},F=0;F<T.length;F+=1)N[T[F].getAttribute("data-row-index")]=T[F].getBoundingClientRect();return N}},{key:"_getRowCellRects",value:function(T){var N=T.row,F=T.col,y="data-row",x="data-col",O="["+y+"]",L="["+x+"]",W="";if(N!==void 0&&F!==void 0)O="["+y+'="'+N+'"]',L="["+x+'="'+F+'"]',W="";else if(N!==void 0)O="["+y+'="'+N+'"]',W=x;else if(F!==void 0)L="["+x+'="'+F+'"]',W=y;else throw new Error("You must specify either a row, column, or both");var j=this.tbodyRef.querySelectorAll("tr "+O+L);if(j.length&&j[0].parentElement.classList.contains("mw-treetable-group-row"))return T.row=T.row+1,this._getRowCellRects(T);for(var H={},K=0;K<j.length;K+=1){var $=j[K];W!==""?H[$.getAttribute(W)]=$.getBoundingClientRect():H=$.getBoundingClientRect()}return H}},{key:"_handleMouseDown",value:function(T,N){var F=N.rowIndex,y=N.colIndex,x=N.id,O=w(N),L=a.targetIsEditIndicator(T);if(this._setTriggerEditState(O,T,L),o.isCellInRanges(this.props.metadata.selections,this.props.tableSelectionById?x:F,y)){this.setState({waitForMouseUp:O});var W=a.shouldAllowDragToSelect(!0,this.props.dragAndDrop,T,this.props.canDragToSelect,L);this.props.eventCallback(t.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:W}),this._handleFocusOnly(N);return}var j=a.shouldAllowDragToSelect(!1,this.props.dragAndDrop,T,this.props.canDragToSelect,L);switch(this.props.eventCallback(t.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:j}),N.cellType){case"TableCell":case"EditableTableCell":this._handleMouseEvent(T,N);break;case"InteractiveTableCell":T.target.hasAttribute("data-clickable")||this._handleMouseEvent(T,N);break;default:break}}},{key:"_setTriggerEditState",value:function(T,N,F){var y=this.props,x=y.focused,O=x===void 0?{}:x,L=y.editState,W=y.editProcessing,j=O[T],H=L[T],K=!1,$={cellInFocus:j,cellInEdit:H,editProcessing:W,hasShiftKey:N.shiftKey,targetIsEditIndicator:F};this._shouldCellEnterEdit($)&&(K=T),this.setState({triggerEditState:K})}},{key:"_shouldCellEnterEdit",value:function(T){var N=T.cellInFocus,F=T.cellInEdit,y=T.editProcessing,x=T.hasShiftKey,O=T.targetIsEditIndicator;return O?!0:this.tbodyRef&&!c.isTableFocused(this.tbodyRef)?!1:!!(N&&!F&&!x&&!y)}},{key:"_handleFocusOnly",value:function(T){var N={row:T.rowIndex,column:T.colIndex};this.props.eventCallback(t.protected.TABLE_CELL_FOCUS,N)}},{key:"_handleMouseEvent",value:function(T,N){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t.protected.TABLE_CELL_CLICK,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,x=Number(N.rowIndex),O=Number(N.colIndex);T.button===i.MOUSE_LEFT_BUTTON&&this.props.eventCallback&&this.props.eventCallback(F,{row:x,column:O,rowId:N.id,meta:T.metaKey,ctrlKey:T.ctrlKey,shiftKey:T.shiftKey,altKey:T.altKey,emitCellFocused:y,columnId:c.getColumnId(this.props.headers,O)})}},{key:"_handleClick",value:function(T,N){if(N){var F=w(N);switch(N.cellType){case"TableCell":case"InteractiveTableCell":break;case"EditableTableCell":this.state.triggerEditState===F&&this._handleMouseEvent(T,N,"enterEditMode");break}}}},{key:"_handleMouseUp",value:function(T,N){if(this.state.waitForMouseUp){var F=w(N);this.state.waitForMouseUp===F&&(this.setState({waitForMouseUp:!1}),this._handleMouseEvent(T,N,t.protected.TABLE_CELL_CLICK,!1))}}},{key:"_getGeomObject",value:function(T){var N={};this.props.eventCallback(T,N),this._geomObjectY=N.result||this._geomObjectY}},{key:"componentDidMount",value:function(){this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateX.bind(this),subscriberId:r.subscriber.TBODY_TRANSFORM,subscribeTo:r.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(t.internal.NODE_PUBLISH,{publisherFn:this._getTranslateYAndHeight.bind(this),publisherId:r.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateY.bind(this),subscriberId:r.subscriber.TBODY_TRANSFORM_Y,subscribeTo:r.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(t.internal.NODE_PUBLISH,{publisherFn:this._getRowRects.bind(this),publisherId:r.publisher.ROW_HEIGHTS,noRender:!0}),this.props.eventCallback(t.protected.ROW_RECTS,{children:this._getRowRects.bind(this),noRender:!0}),this.props.eventCallback(t.protected.ROW_CELL_RECTS,{children:this._getRowCellRects.bind(this),noRender:!0}),(!this.props.getKeyOnRowComponentFn||this.props.eventsToHandle)&&(this._eventDelegator=new u(this.tbodyRef),this._eventDelegator.delegateEvents(this.props.eventsToHandle||{click:this._handleClick,doubleClick:function(){},mousedown:this._handleMouseDown,mouseup:this._handleMouseUp.bind(this)}))}},{key:"componentWillUnmount",value:function(){this._eventDelegator&&this._eventDelegator.destroyEvents()}},{key:"render",value:function(){var T=this,N=this.props,F=N.translateY,y=N.translateX,x=N.columnClass,O=N.editValidation,L="translateX("+y+"px)",W={transform:L,WebkitTransform:L,top:F+"px"},j="mw-table-tbody "+x;O&&O.error?j=j.concat(" errorState"):j=j.replace(/ errorState/g,"");var H=this._makeRowElements();return n.createElement("tbody",{ref:function($){T.tbodyRef=$},className:j,style:W},H)}}]),M}(n.Component);return E;function w(I){var M=I.rowIndex,R=I.colIndex;return[M,R].join(",")}},_,P),_.exports=S},57996:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(16885),l(79301),l(63804),l(14152)],S=l.dj.d(b,function(n,e,t,r){"use strict";var i=function(s){d(a,s);function a(){return A(this,a),p(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return C(a,[{key:"_dismissTooltip",value:function(u){var c=u.node,h=u.id;this.props.eventCallback(n.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:e.publisher.TOOLTIP_DISMISS+h,noRender:!0})}},{key:"_addListeners",value:function(u){var c=u.node,h=u.id,v=this;function f(){c.removeEventListener("mouseleave",f),c.removeEventListener("wheel",f),c.removeEventListener("click",f),c.removeEventListener("mousedown",f),v._dismissTooltip({node:c,id:h})}return c.addEventListener("wheel",f),c.addEventListener("click",f),c.addEventListener("mouseleave",f),c.addEventListener("mousedown",f),f}},{key:"_getTipData",value:function(u){var c=u.node,h=u.content,v=u.id,f=c.getBoundingClientRect(),g=window.getComputedStyle(c),m={id:v,node:c,top:f.top,left:f.left+1,right:f.right,width:f.width,textDecoration:g.textDecorationLine||"none",backgroundColor:g.backgroundColor||"rgb(255, 255, 255)",content:h};return m}},{key:"_unsetPosition",value:function(){this.myTooltip.removeAttribute("style"),this.props.eventCallback(n.internal.NODE_UNSUBSCRIBE,{subscriberId:e.subscriber.TOOLTIP_LEAVE,noRender:!0})}},{key:"_subscribeToDismissal",value:function(u){var c=u.id,h=c===void 0?"":c,v=u.node,f=this._addListeners({id:h,node:v});this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:this._unsetPosition.bind(this),subscriberId:e.subscriber.TOOLTIP_LEAVE,subscribeTo:e.publisher.TOOLTIP_DISMISS+h,noRender:!0}),this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:f,subscriberId:e.subscriber.TOOLTIP_GLOBAL_LEAVE,subscribeTo:e.publisher.TOOLTIP_DISMISS,noRender:!0})}},{key:"_setPosition",value:function(u){this.myTooltip.style.top=u.top+"px",this.myTooltip.style.visibility="visible",this.myTooltip.style.textDecoration=u.textDecoration;var c=u.node&&u.node.querySelector("div[edit-indicator=true]")!==null,h=Math.max(t.dimensions.TOOLTIP_MIN_WIDTH,u.width);c&&(h=u.width-18),this.myTooltip.firstChild.style.maxWidth=h+"px",this.myTooltip.firstChild.style.backgroundColor=u.backgroundColor,this.myTooltip.firstChild.textContent=u.content;var v=this.props.adjustLeftFn||a._setAdjustLeft,f=v(u,this.myTooltip,c);this.myTooltip.style.left=Math.max(0,f)+"px"}},{key:"componentDidMount",value:function(){var u=this;this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(h){var v=u._getTipData(h);v.content.length>0&&(u._setPosition(v),u._subscribeToDismissal(v))},subscriberId:e.subscriber.TOOLTIP_ENTER,subscribeTo:e.protected.publisher.CELL_HOVER,noRender:!0})}},{key:"render",value:function(){var u=this;return r.createElement("div",{className:"mw-table-tooltip-wrapper",ref:function(h){u.myTooltip=h}},r.createElement("div",{"data-test-id":"mw-table-tooltip",className:"mw-table-tooltip"}))}}],[{key:"_setAdjustLeft",value:function(u,c){var h=u.node.querySelectorAll("[checkbox-label=true]")[0];if(h){var v=h.getBoundingClientRect().left,f=u.node.getBoundingClientRect().right;return f<v&&(v=f),v}var g=u.node.querySelectorAll(".mw-icon-label-renderer")[0],m=g&&g.querySelector('span [data-region="true"]');return m?m.getBoundingClientRect().left:u.left+Math.min(0,document.documentElement.clientWidth-(u.left+c.clientWidth))}}]),a}(r.Component);return i},_,P),_.exports=S},78352:(_,P,l)=>{var b,S;b=[l(14152)],S=l.dj.d(b,function(C){var A=C.createContext({});return A},_,P),_.exports=S},98717:(_,P,l)=>{var b,S,C=function(){function A(p,d){var n=[],e=!0,t=!1,r=void 0;try{for(var i=p[Symbol.iterator](),s;!(e=(s=i.next()).done)&&(n.push(s.value),!(d&&n.length===d));e=!0);}catch(a){t=!0,r=a}finally{try{!e&&i.return&&i.return()}finally{if(t)throw r}}return n}return function(p,d){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return A(p,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(78352),l(14152)],S=l.dj.d(b,function(A,p){var d=function(e){var t=e.children,r=p.useState(!1),i=C(r,2),s=i[0],a=i[1],o=p.useState(""),u=C(o,2),c=u[0],h=u[1],v=p.useState(!1),f=C(v,2),g=f[0],m=f[1],E=p.useState(null),w=C(E,2),I=w[0],M=w[1],R=p.useState(null),T=C(R,2),N=T[0],F=T[1],y=p.useState({}),x=C(y,2),O=x[0],L=x[1],W={dndEnabled:s,setDnDEnabled:a,dndSourceData:c,setDnDSourceData:h,dndTarget:g,setDnDTarget:m,dndNode:I,setDndNode:M,scrollNode:N,setScrollNode:F,dragPositionState:O,setDragPositionStateState:L};return p.createElement(A.Provider,{value:W},t)};return d},_,P),_.exports=S},69649:(_,P,l)=>{var b,S;b=[l(14152)],S=l.dj.d(b,function(C){var A=C.createContext({});return A.displayName="HeaderContext",A},_,P),_.exports=S},16214:(_,P,l)=>{var b,S,C=function(){function A(p,d){var n=[],e=!0,t=!1,r=void 0;try{for(var i=p[Symbol.iterator](),s;!(e=(s=i.next()).done)&&(n.push(s.value),!(d&&n.length===d));e=!0);}catch(a){t=!0,r=a}finally{try{!e&&i.return&&i.return()}finally{if(t)throw r}}return n}return function(p,d){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return A(p,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(69649),l(63804),l(14152)],S=l.dj.d(b,function(A,p,d){var n=function(t){var r=t.children,i=d.useState(p.dimensions.ABSOLUTE_MIN),s=C(i,2),a=s[0],o=s[1],u=d.useState(!1),c=C(u,2),h=c[0],v=c[1],f={indexWidth:a,setIndexWidth:o,isMaxWidth:h,setIsMaxWidth:v};return d.createElement(A.Provider,{value:f},r)};return n},_,P),_.exports=S},65934:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(46949),l(33082),l(56813),l(68376),l(14152)],S=l.dj.d(b,function(p,d,n,e,t){var r=function(g){var m={};function E(w){var I=g[w];return m[w]||!I?null:(m[w]=!0,I.parentId&&g[I.parentId]?(g[I.parentId].headerList.push(I),E(I.parentId)):I)}return E},i=function(g,m,E){var w=g.label,I=g.id,M=g.headerRenderer,R=g.width,T=g.columnId,N=g.headerEditor,F=g.sortType,y=g.clearSort,x=g.headerMenu,O=g.groupLength,L=g.colStartIndex,W=g.colEndIndex,j=g.reorder,H=g.complexHeaderStyle,K=E.colEditState?E.colEditState===T:!1;return t.createElement(d,{headerPosition:m,name:w,id:I,headerRenderer:M,headerEditor:N,width:R,columnId:T,eventCallback:E.eventCallback,colEditState:K,scrollNodeIntoView:E.scrollNodeIntoView,sortType:F,clearSort:y,headerMenu:x,groupLength:O,colStartIndex:L,colEndIndex:W,reorder:j,widgetId:E.widgetId,metadata:E.metadata,spanningHeaderAllChildren:E.spanningHeaderAllChildren,viewBuffer:E.viewBuffer,complexHeaderStyle:H})},s=function(g,m,E,w,I){var M=g.label,R=g.styleData,T=g.headerRenderer,N=g.headerEditor,F=g.columnId,y=g.colIndexEnd,x=g.colStartIndex,O=g.colEndIndex,L=E.eventCallback,W=E.logicalColWidth,j=E.colResize,H=E.colMenuAffordance,K=E.dragColumns,$=E.sorted,V=$===void 0?[]:$,z=E.sortable,X=E.clearSort,Z=E.scrollNodeIntoView,Y=E.displayColumnIndex,Q=E.displayColumnIndexOnly,q=E.groupedColumnHeaders,ee=E.widgetType,oe=E.canDrop,se=E.widgetId,he=g.id,fe=g.sortType,le=g.headerMenu,ie=g.groupLength,re=g.reorder,ce=E.colEditState?E.colEditState===F:!1;R=R||{};var ve=V[g._index]||{},ge=ve.order,Te=Q?I.toString():M,Pe=void 0;q?Pe=p:Pe=N&&!Q?n:e;var Le={headerEditor:N,headerRenderer:T,colEditState:ce},ct=t.createElement(Pe,{id:he,colIndexEnd:y,groupLength:ie,colStartIndex:x,colEndIndex:O,sortType:fe,headerMeta:g,range:w,headerMenu:le,key:g._index,logicalColWidth:W,colIndex:g._index,styleData:R,eventCallback:L,colSelectionMap:m,sorted:ge,colResize:j,colMenuAffordance:H,sortable:z,clearSort:X,name:Te,columnId:F,dragColumns:K,scrollNodeIntoView:Z,displayColumnIndex:Y,columnHeaderIndex:I,displayColumnIndexOnly:Q,reorder:re,widgetType:ee,canDrop:oe,widgetId:se,groupedColumnHeaders:q});return Q||(ct=a(ct,Le)),ct},a=function(g,m){return t.cloneElement(g,m)},o=function f(g,m,E){if(!g)return null;var w=g.headerList;if(!w)return g;for(var I=i(g,m,E),M=[],R=0;R<w.length;R++){var T=f(w[R],m+R,E);T&&M.push(T)}return M.length?t.createElement("th",{className:"mw-table-hierarchical-column-header"},t.createElement("table",{className:"mw-table-spanning-header-outer"},t.createElement("thead",{className:"mw-table-spanning-header-inner"},t.createElement("tr",null,I),t.createElement("tr",{className:"mw-table-spanning-header-row"},M)))):null},u=function f(g,m,E,w){if(!g)return null;var I=g.headerList;if(!I)return g;var M=!0,R=!0,T=!1,N=void 0;try{for(var F=I[Symbol.iterator](),y;!(R=(y=F.next()).done);R=!0){var x=y.value;x.headerList&&(M=!1)}}catch(K){T=!0,N=K}finally{try{!R&&F.return&&F.return()}finally{if(T)throw N}}if(!M)for(var O=0;O<I.length;O++)return f(I[O],m+O,E);var L=I[0].props.colIndex,W=I[I.length-1].props.colIndex,j=I[0].props.colSelectionMap,H=I[0].props.headerMeta.columnHeaderIndex;return E.logicalColWidth=g.width,g.styleData=g.styleData||{},g.styleData.minWidth=g.width+"px",g.styleData.maxWidth=g.width+"px",g._index=L,g.colIndexEnd=W,s(g,j,E,w,H)},c=function(g,m,E){var w=[],I={},M=Object.keys(g),R=r(I);if(M.length===0)return E;var T=!0,N=!1,F=void 0;try{for(var y=M[Symbol.iterator](),x;!(T=(x=y.next()).done);T=!0){var O=x.value,L=O;I[L]=Object.create(g[L]),I[L].headerList=[],I[L].width=0}}catch(W){N=!0,F=W}finally{try{!T&&y.return&&y.return()}finally{if(N)throw F}}return m.forEach(function(W,j){if(W.parentId&&I[W.parentId]){var H=W.styleData.minWidth;I[W.parentId].width+=H,I[W.parentId].headerList.push(E[j]);var K=R(W.parentId,I);K&&w.push(K)}else w.push(E[j])}),w},h=function f(g){var m=0;if(g.headerList){var E=!0,w=!1,I=void 0;try{for(var M=g.headerList[Symbol.iterator](),R;!(E=(R=M.next()).done);E=!0){var T=R.value;m+=f(T)}}catch(N){w=!0,I=N}finally{try{!E&&M.return&&M.return()}finally{if(w)throw I}}}return m+=g.width?g.width:0,g.width!==void 0&&(g.width=m),m},v=function(){function f(){A(this,f)}return C(f,null,[{key:"makeColumnHeaderGroup",value:function(m,E,w){var I=w.startCol,M=w.endCol,R=w.headers,T={start:I,end:M};if(T.start<0||T.start>T.end)return E;for(var N=[0],F=0;F<R.length;F++){var y=R[F],x=y.width?y.width.value:y.styleData.maxWidth;N[F+1]=x+N[F]}var O=c(m,w.headers,E);O.forEach(h);var L=o;return w.groupedColumnHeaders&&(L=u),O.map(function(W,j){return L(W,j,w,T)})}}]),f}();return v},_,P),_.exports=S},57191:(_,P,l)=>{var b,S,C=function(){function A(p,d){var n=[],e=!0,t=!1,r=void 0;try{for(var i=p[Symbol.iterator](),s;!(e=(s=i.next()).done)&&(n.push(s.value),!(d&&n.length===d));e=!0);}catch(a){t=!0,r=a}finally{try{!e&&i.return&&i.return()}finally{if(t)throw r}}return n}return function(p,d){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return A(p,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(16885),l(79301),l(84960),l(36377),l(44105),l(6699),l(14152)],S=l.dj.d(b,function(A,p,d,n,e,t,r){var i=function(o){var u=r.useRef(),c=r.useRef(),h=r.useState(0),v=C(h,2),f=v[0],g=v[1],m=o.topLeftRowHeaderValue,E=o.topLeftRowHeaderRenderer,w=o.eventCallback,I=n(w),M=I.handleMouseOverWithRenderer,R=["mw-table-top-left-affordance","mw-table-no-left-border"],T=["mw-flex-child"],N=function(O){c.current.style.minWidth=O+"px"},F=function(O){o.eventCallback(A.internal.NODE_PUBLISH,{publisherFn:function(){return O},publisherId:p.publisher.TOP_LEFT_ROW_HEADER,noRender:!0})},y=function(){return E?E.getDomNode(m):m&&document.createTextNode(m)};return r.useLayoutEffect(function(){var x=y();x&&u.current&&u.current.appendChild(x),w(A.internal.NODE_SUBSCRIBE,{subscriberFn:function(W){return N(W)},subscriberId:p.subscriber.TOP_LEFT,subscribeTo:p.publisher.ROW_HEADER,noRender:!0});var O=c.current.scrollWidth+e.getHeaderPaddingSize();g(O),F(O)},[]),f>=e.getRowHeaderMaxWidth()&&T.push("mw-label-truncation"),r.createElement("div",{ref:c,className:R.join(" ")},r.createElement("div",{className:T.join(" "),onMouseEnter:function(O){M(O.target,d.TOPLEFT_HEADER,m,E,u.current)},ref:u}))};function s(a,o){return t.isDeepEqual(a.topLeftRowHeaderValue,o.topLeftRowHeaderValue)}return r.memo(i,s)},_,P),_.exports=S},81039:(_,P,l)=>{var b,S,C=Object.assign||function(A){for(var p=1;p<arguments.length;p++){var d=arguments[p];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(A[n]=d[n])}return A};b=[l(15555),l(14152)],S=l.dj.d(b,function(A,p){"use strict";var d=function(e,t){return function(r){var i=r.eventCallback,s=r.rowIndex,a=r.colIndex,o=r.colEnd,u=r.handleEditComplete,c=!!u,h=function(f){var g={type:t,colEnd:o,rowIndex:s,colIndex:a,isEditable:c};return A.eventCallbackForContextMenu(f,i,g)};return p.createElement(e,C({},r,{onContextMenu:h}))}};return d},_,P),_.exports=S},96203:(_,P,l)=>{var b,S,C=Object.assign||function(p){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(p[e]=n[e])}return p},A=function(){function p(d,n){var e=[],t=!0,r=!1,i=void 0;try{for(var s=d[Symbol.iterator](),a;!(t=(a=s.next()).done)&&(e.push(a.value),!(n&&e.length===n));t=!0);}catch(o){r=!0,i=o}finally{try{!t&&s.return&&s.return()}finally{if(r)throw i}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return p(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(78352),l(14561),l(77958),l(48814),l(67401),l(14152)],S=l.dj.d(b,function(p,d,n,e,t,r){"use strict";var i={Table:n,TreeTable:e},s=function(h){return function(v){var f=r.useContext(p),g=f.setDnDEnabled,m=f.dndNode,E=f.setDndNode,w=r.useState([]),I=A(w,2),M=I[0],R=I[1],T=r.useState(null),N=A(T,2),F=N[0],y=N[1],x=r.useState(null),O=A(x,2),L=O[0],W=O[1],j=v.canDrag,H=v.canDrop,K=v.dragAndDrop,$=v.metadata,V=v.setDragData,z=v.setAvatar,X=v.receiveDrop,Z=v.eventCallback,Y=v.reorderRows,Q=v.reparentRows,q=v.widgetType,ee=d(Z),oe=ee.startDragSource,se=ee.setDropTarget,he=a(X,se,Z,q),fe={reorderRows:Y,reparentRows:Q,setDragData:V,setAvatar:z,selections:M,setSelections:R,setDndSourceData:y,setinternalRowDndSourceData:W,canDrag:j};return r.useLayoutEffect(function(){g(K)},[K]),r.useLayoutEffect(function(){K&&o($,fe,q)},[$]),r.createElement(h,C({},v,{createDnDSource:ie,createDnDTarget:re,setupDropFromOutside:he,dndSourceData:F,internalRowDndSourceData:L,setDnDNode:le}));function le(ce){m||E(ce)}function ie(ce){var ve=!!V,ge=Object.assign({getData:ce,eventCallback:Z},fe),Te=u(q,ge);return oe(Te,ve)}function re(ce,ve){var ge=void 0;Y?ge="reorderRows":Q&&(ge="reparentRows");var Te={dndType:ge,canDrop:H,eventCallback:Z,context:ce},Pe=i[q],Le=Pe().createDropTarget(Te);return se(ce,{targetList:Le},ve)}}};return s;function a(c,h,v,f){if(!c)return null;var g={Table:n(),TreeTable:t},m=g[f];return m.createTargetForOutsideSource(c,h,v)}function o(c,h,v){var f=i[v];f&&f().changeDragData(c,h)}function u(c,h){var v=i[c],f=v&&v();if(f&&typeof f.getSourceLifecycle=="function")return f.getSourceLifecycle(h)}},_,P),_.exports=S},91433:(_,P,l)=>{var b,S,C=Object.assign||function(A){for(var p=1;p<arguments.length;p++){var d=arguments[p];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(A[n]=d[n])}return A};b=[l(62638),l(15555),l(82020),l(14152)],S=l.dj.d(b,function(A,p,d,n){"use strict";var e=function(r,i){return function(s){var a=s.row,o=s.column,u=s.editState,c=s.eventCallback,h=s.editProcessing,v=s.editType,f=s.cellMetaData,g=f===void 0?!1:f,m=s.columnId,E=m===void 0?"":m,w=function(){var y=A.getEditEventByType(v,"enterEditEvent");c&&c(y,{row:a,column:o})},I=function(y){var x=y.newValue,O=x===void 0?"":x,L=y.oldValue,W={newValue:O,row:a,column:o,oldValue:L};if(g){var j=g.value;W={newValue:O,row:a,column:o,oldValue:L,node:j,columnId:E}}var H=A.getEditEventByType(v,"editCompleteEvent");c&&c(H,W)},M=function(y){y&&(y.row=a,y.column=o);var x=y,O="",L="";if(g){var W=g.value;y&&(O=y.newValue,L=y.oldValue);var j=y&&y.validationResult;x={newValue:O,row:a,column:o,oldValue:L,node:W,columnId:E,validationResult:j}}var H=A.getEditEventByType(v,"editCanceledEvent");c&&(u||u>=0)&&c(H,x)},R=function(y){var x=y.newValue,O=x===void 0?"":x,L=y.oldValue,W=void 0;if(g){var j=g.value;W={newValue:O,row:a,column:o,oldValue:L,node:j,columnId:E}}else W={newValue:O,row:a,column:o,oldValue:L};var H=A.getEditEventByType(v,"processEditEvent");c&&u&&c(H,W)},T=function(y){var x=void 0,O={row:a,column:o};if(y){var L=d.getCellInfo(y);x=L.isDisclosureTarget,O=L.cellInfo}if(!x){var W=void 0;return(!u||u.rowIndex!==a&&u.colIndex!==o)&&!h&&(W=w),p.emitDoubleClickEvent(c,O,W)}},N=function(y){var x=A.getEditEventByType(v,"editValidationEvent");c&&c(x,y)};return n.createElement(r,C({},s,{onDoubleClick:T,enterEditMode:w,handleEditComplete:I,handleEditCanceled:M,handleEditValidation:N,handleProcessEdit:R,type:i}))}};return e},_,P),_.exports=S},3394:(_,P,l)=>{var b,S,C=Object.assign||function(A){for(var p=1;p<arguments.length;p++){var d=arguments[p];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(A[n]=d[n])}return A};b=[l(16885),l(6699),l(25219),l(14152)],S=l.dj.d(b,function(A,p,d,n){"use strict";var e=function(s,a){return function(o){var u=o.eventCallback,c=o.renderer,h=o.cellData,v=o.colIndex,f=o.rowIndex,g=o.cellMetaData,m=g===void 0?!1:g,E=o.renderMetaData;return a&&a.baseStyle&&(a.baseStyle=d.isReadOnly(E)?"mw-table-cell mw-table-cell-background":"mw-table-cell"),n.createElement(s,C({},o,{onMouseDown:function(I){return r(I)},onClick:function(I){return t(I,h,u,c,f,v,m,E)},onDoubleClick:function(){},type:a}))}};return e;function t(i,s,a,o,u,c,h,v){var f=arguments.length>8&&arguments[8]!==void 0?arguments[8]:A.internal.INTERACTIVE_CELL_CLICK,g={},m=o.handleAction({value:s.value,target:i.target});if(d.isReadOnly(v))return!1;if(h){var E=p.hasModifierKey(i);if(E)return;var w=h.value;m=o.handleAction(s.value,{actionName:"click",target:i.target}),g={node:w,row:u||0,column:c||0,oldValue:m.oldValue,newValue:m.newValue,metaData:s.metaData},m.hasChanged&&a(f,g)}else m&&(g={row:u,column:c,oldValue:m.oldValue,newValue:m.newValue},a(f,g))}function r(i){i.target.hasAttribute("data-clickable")&&i.stopPropagation()}},_,P),_.exports=S},7190:(_,P,l)=>{var b,S,C=Object.assign||function(p){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(p[e]=n[e])}return p},A=function(){function p(d,n){var e=[],t=!0,r=!1,i=void 0;try{for(var s=d[Symbol.iterator](),a;!(t=(a=s.next()).done)&&(e.push(a.value),!(n&&e.length===n));t=!0);}catch(o){r=!0,i=o}finally{try{!t&&s.return&&s.return()}finally{if(r)throw i}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return p(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(16885),l(43322),l(78352),l(15555),l(14152)],S=l.dj.d(b,function(p,d,n,e,t){"use strict";var r={2:"mw-table-header-row-selected "},i=function(u){return function(c){var h=c.eventCallback,v=c.rowIndex,f=c.rowSelectionMap,g=c.additionalClass,m=g===void 0?[]:g,E=c.canDragToSelect,w=c.rowId,I=c.selectionById,M=t.useContext(n),R=M.dndEnabled,T=t.useState(!1),N=A(T,2),F=N[0],y=N[1];m.push(a(v,f,R,F,w,I));var x=function(W){if(!e.isSyntheticRightClick(W)){if(f(v)){var j=e.shouldAllowDragToSelect(!0,R,W,E);h(p.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:j}),y(!j);return}var H=e.shouldAllowDragToSelect(!1,R,W,E);return h(p.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:H}),y(!H),s(W,h,v)}},O=function(W){if(F)return y(!1),s(W,h,v)};return t.createElement(u,C({},c,{onMouseDown:x,onMouseUp:O,additionalClass:m}))}};return i;function s(o,u,c){var h=o.metaKey,v=o.ctrlKey,f=o.shiftKey,g=o.altKey,m={row:c,meta:h,ctrlKey:v,shiftKey:f,altKey:g};return u(p.protected.ROW_SELECTION_CLICK,m)}function a(o,u,c,h,v,f){var g=void 0;f?g=u(v):g=u(o);var m=r[g];return m&&c&&h&&(m+=" "+d.SOURCE_SELECTOR),m||""}},_,P),_.exports=S},6983:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(72904)],S=l.dj.d(b,function(p){var d=10,n=162,e=200,t=22;return function(){function r(){A(this,r)}return C(r,[{key:"getScrollNode",value:function(){return this._scrollNode}},{key:"tableContainerHasFocus",value:function(){return this._scrollNode.parentNode===document.activeElement}},{key:"scrollIntoView",value:function(s){var a=this,o=this._outOfLeftBoundary(s);return o.then(function(u){return u.needsRightBoundaryCheck?a._outOfRightBoundary(s).then(function(){return{isEditable:!0}}):{isEditable:u.isEditable}})}},{key:"scrollIntoVerticalView",value:function(s){var a=s.getBoundingClientRect(),o=this._container.getBoundingClientRect(),u=a.bottom-this._scrollNode.clientHeight-o.bottom,c=a.bottom-o.bottom-t,h=new p;return u>0?this._scrollNode.scrollTop+=u:c<0&&(this._scrollNode.scrollTop+=c),h.resolve(),h}},{key:"_outOfLeftBoundary",value:function(s){var a=this,o=s.left,u={left:o},c=this._container.getBoundingClientRect(),h=new p;return c.left-u.left>n?h.resolve({needsRightBoundaryCheck:!1,isEditable:!1}):u.left<c.left?(this._scrollNode.scrollLeft-=d,u.left+=d,setTimeout(function(){var v=a._outOfLeftBoundary(u);v.then(function(){return h.resolve({needsRightBoundaryCheck:!1,isEditable:!0})})})):h.resolve({needsRightBoundaryCheck:!0,isEditable:!0}),h}},{key:"_outOfRightBoundary",value:function(s){var a=this,o=s.left,u=s.right,c={left:o,right:u},h=this._container.getBoundingClientRect(),v=new p;return c.right>h.right&&h.right-c.left<e?(this._scrollNode.scrollLeft+=d,c.right-=d,c.left-=d,setTimeout(function(){var f=a._outOfRightBoundary(c);f.then(function(){return v.resolve()})})):v.resolve(),v}},{key:"container",set:function(s){this._container=s}},{key:"scrollNode",set:function(s){this._scrollNode=s}}]),r}()},_,P),_.exports=S},14561:(_,P,l)=>{var b,S;b=[l(65353),l(78352),l(14152)],S=l.dj.d(b,function(C,A,p){"use strict";var d=function(e){var t=p.useContext(A),r=t.dndNode,i=function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c={lifecycle:o,allowGlobal:u};return C.startDnD(r,c,e)},s=function(o,u,c){var h=u.targetList;if(h)return h.map(function(v){C.addDnDContextTarget(o,v,c)}),o};return{startDragSource:i,setDropTarget:s}};return d},_,P),_.exports=S},18294:(_,P,l)=>{var b,S;b=[l(16885),l(79301),l(28752),l(14152)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n=function(t){var r=function(o,u,c,h,v){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},g=s(o,u,c,h,f);g&&(g.trigger=v,t(C.protected.NODE_NOTIFY,{publisherFn:function(){return g},publisherId:A.protected.publisher.CELL_ENTER,noRender:!0}))},i=function(o){t(C.protected.NODE_NOTIFY,{publisherFn:function(){return{refNode:o}},publisherId:A.publisher.FLOATING_CONTENT_DISMISS,noRender:!0})},s=function(o,u,c,h){var v=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},f=h.metadata.floatingContent,g=f.component,m=f.config,E=f.displayCriteria;if(m){var w=o==="treeCell"?v:u,I=p.getNodeForTruncationCheck(o,w,c),M=p.isTruncated(I),R=m(h,M);if(!(!R||Object.keys(R).length===0))return{refNode:u,component:g,configObj:R,displayCriteria:E,isTruncated:M}}};return d.useLayoutEffect(function(){return function(){return i(null)}},[]),{setFloatingContent:r,removeFloatingContent:i}};return n},_,P),_.exports=S},36377:(_,P,l)=>{var b,S;b=[l(16885),l(79301),l(28752),l(14152)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n=function(t){var r=function(u,c,h){t(C.protected.NODE_NOTIFY,{publisherFn:function(){return{node:u,id:c,content:h}},publisherId:A.protected.publisher.CELL_HOVER,noRender:!0})},i=function(u,c,h){if(p.isTruncated(u))return r(u,c,h)},s=function(u,c){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments[4];u=p.getTargetNode(c,u,f,v);var g=v.showTooltip||p.isTruncated(u);if(f=f||u,g){if(v.getTooltip){var m=v.getTooltip(h);m&&m.text&&(h=m.text)}return r(f,c,h)}};return d.useLayoutEffect(function(){return function(){return a()}},[]),{setTooltip:r,setTooltipWhenOverflow:i,handleMouseOverWithRenderer:s};function a(){t(C.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:A.publisher.TOOLTIP_DISMISS,noRender:!0})}};return n},_,P),_.exports=S},6063:(_,P,l)=>{var b,S,C=function(){function A(p,d){var n=[],e=!0,t=!1,r=void 0;try{for(var i=p[Symbol.iterator](),s;!(e=(s=i.next()).done)&&(n.push(s.value),!(d&&n.length===d));e=!0);}catch(a){t=!0,r=a}finally{try{!e&&i.return&&i.return()}finally{if(t)throw r}}return n}return function(p,d){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return A(p,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(16885),l(79301),l(14152)],S=l.dj.d(b,function(A,p,d){var n=2,e=function(a){var o=a.eventCallback,u=a.subscriberId,c=d.useRef(null),h=d.useState({}),v=C(h,2),f=v[0],g=v[1],m=d.useState({}),E=C(m,2),w=E[0],I=E[1],M=d.useState(""),R=C(M,2),T=R[0],N=R[1];return d.useEffect(function(){I(i(f,c.current.parentNode,N))},[f.left]),d.useEffect(function(){f&&!f.hasOwnProperty("left")&&I(r(f,c.current,N))},[f.top,f.maxMarginLeftForLevel,f.topOffset,f.lineClass]),d.useEffect(function(){o(A.internal.NODE_SUBSCRIBE,{subscriberFn:function(y){return g(y)},subscriberId:u,subscribeTo:p.protected.publisher.DND_IN_ACTION,noRender:!0})},[]),d.createElement("div",{ref:c,style:w,className:"mw-table-insertion-line "+T})},t=function(){return!0};return d.memo(e,t);function r(s,a,o){var u=a.parentNode,c=a.left,h=s.lineClass,v=s.maxMarginLeftForLevel,f=v===void 0?0:v,g=0;if(o(h),s.top){var m=u.getBoundingClientRect(),E=m.top,w=m.bottom,I=m.width,M=m.height,R=u.parentNode.getBoundingClientRect(),T=R.height,N=R.width,F=T<M+n,y=N<I,x=w<=s.top+n,O=Math.ceil(s.top-E);c=f||c;var L=I-c;return x&&(F||y)&&(g=n),O=O-g,a.left=c,{top:O,left:c,width:L,borderTopWidth:n}}return{display:"none"}}function i(s,a,o){var u=3;if(o(s.lineClass),s.left){var c=s.left-a.getBoundingClientRect().left,h=a.getBoundingClientRect().width;return c=Math.ceil(c)===Math.ceil(h)?c-u:c-1,{left:c}}return{display:"none"}}},_,P),_.exports=S},58416:(_,P,l)=>{var b,S;b=[l(31362),l(14152)],S=l.dj.d(b,function(C,A){var p=function(n){var e=n.loading,t=n.style;return e?A.createElement("div",{className:"mw-table-progress-indicator",style:t},A.createElement("mw-progress-indicator",{className:"progressIndicator",size:"xsmall",type:"spinner"})):null};return p},_,P),_.exports=S},67026:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d)}return C(d,null,[{key:"getRoleByWidgetType",value:function(e){var t={Table:"grid",TreeTable:"grid"};return t[e]}},{key:"getTreeNode",value:function(e){var t=e.check,r=e.isExpandable,i=e.isExpanded,s={};return r&&(s.isExpanded=i),s.check=t,s}}]),d}();return p},_,P),_.exports=S},56779:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({V_TRIGGER_AUTOSCROLL:32,H_TRIGGER_AUTOSCROLL:32,V_AUTOSCROLL_VALUE:16,H_AUTOSCROLL_VALUE:16}),A=[10,32],p=[0,32];function d(t){var r=p[1]-t,i=A[1]-A[0],s=p[1]-p[0];return r*(i/s)+A[0]}function n(t,r){var i=t.getBoundingClientRect(),s=i.left,a=i.top,o=r.xOffset,u=r.yOffset,c=s+o,h=a+u;return{mouseLeftPosition:c,mouseTopPosition:h}}function e(t,r,i){var s=i.getBoundingClientRect(),a=s.left,o=s.top,u=s.bottom,c=s.right,h=u-t,v=t-o,f=c-r,g=r-a;return{distanceFromContainerBottom:h,distanceFromContainerTop:v,distanceFromContainerRight:f,distanceFromContainerLeft:g}}return{scroll:function(r,i,s){var a=i.scrollWidth>i.clientWidth,o=i.scrollHeight>i.clientHeight;if(!(!a&&!o)){var u=n(r,s),c=u.mouseLeftPosition,h=u.mouseTopPosition,v=e(h,c,i),f=v.distanceFromContainerBottom,g=v.distanceFromContainerTop,m=v.distanceFromContainerRight,E=v.distanceFromContainerLeft;o&&(f<C.V_TRIGGER_AUTOSCROLL?i.scrollTop=i.scrollTop+d(f):g<C.V_TRIGGER_AUTOSCROLL&&(i.scrollTop=i.scrollTop-d(g))),a&&(m<C.H_TRIGGER_AUTOSCROLL?i.scrollLeft=i.scrollLeft+d(m):E<C.H_TRIGGER_AUTOSCROLL&&(i.scrollLeft=i.scrollLeft-d(E)))}}}},_,P),_.exports=S},83216:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(10383),l(38738),l(65353),l(43322),l(79301)],S=l.dj.d(b,function(p,d,n,e,t){"use strict";var r=function(){function s(){A(this,s)}return C(s,null,[{key:"getColumnHeaderTarget",value:function(o){var u=e.TARGET_SELECTOR_TABLE_HEADER,c=e.COLUMN_REGIONS;return{dropTarget:u,columnRegions:c,lifecycle:o}}},{key:"getColumnHeaderLifeCycle",value:function(o){var u=o.getData,c=o.setAvatar,h=o.eventCallback,v=function(m,E){var w=u();return s.setDataByType(m,w),n.setAvatar(E,w,m,c),n.startAction({dragItem:m},h),!0},f=function(){n.endAction(h)};return{start:v,end:f}}},{key:"getTableCellTarget",value:function(o){var u=e.TARGET_SELECTOR_TABLE_BODY,c=e.COLUMN_REGIONS;return{dropTarget:u,columnRegions:c,lifecycle:o}}},{key:"getInsertionLineTarget",value:function(o){var u=".mw-table-insertion-line";return{dropTarget:u,lifecycle:o}}},{key:"getTargetValidation",value:function(o,u,c,h,v,f,g){var m=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;return function(I,M,R){var T=E(I,M,R,v,f,g),N=n.getHorizontalPosition(I,M,R),F=T?"mw-table-vertical-line":"mw-table-vertical-line-invalid";return Object.assign(N,{lineClass:F}),n.setDropPosition(N,c),T};function E(w,I,M,R,T,N){var F=s.getColIndexFromTargetNode(w,I,M),y=F.rightTargetIndex||F.targetIndex;y>o&&(y=y-1);var x=d.cellInsideGroup(I.getAttribute("group-attr")),O=d.headerInsideGroup(I,M),L=x||O,W=d.columnDropValidation(o,F,u,L,w,R,T,N,m);return h({index:y,valid:W}),W}}},{key:"getColIndexFromTargetNode",value:function(o,u,c){var h=Number(u.getAttribute("data-col-index")),v=Number(u.getAttribute("data-col-index-end")),f=Number(u.getAttribute("data-col")),g=n.onTargetRight(c),m=f||h,E=f||v,w=g?i(E):void 0;return{targetIndex:m,rightTargetIndex:w}}},{key:"setDataByType",value:function(o,u){var c=p.NativeType.TEXT,h=u.columnDnDSourceData;h.data.dragSourceType&&(c=h.data.dragSourceType),o.setDataByType(c,h.data.value)}},{key:"isColumnDraggable",value:function(o){return o!==!1}},{key:"getDragDefaultType",value:function(o){return o===t.protected.TYPE.TREETABLE?e.TREETABLE_DEFAULT_TYPE:e.TABLE_DEFAULT_TYPE}}]),s}();return r;function i(s){return s+1}},_,P),_.exports=S},65353:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(10383),l(6699),l(56779),l(16885),l(79301),l(43322)],S=l.dj.d(b,function(p,d,n,e,t,r){"use strict";var i="."+r.SOURCE_SELECTOR,s=300,a=function(){function c(){A(this,c)}return C(c,null,[{key:"createDnDContext",value:function(v){var f=p.createContext({context:v});return f}},{key:"startDnD",value:function(v,f,g){var m=c.createDnDContext(v);return o(m,i,f,g),m._mouseupFn=function(){return c.clearDnDContext(m,g)},document.addEventListener("mouseup",m._mouseupFn,{capture:!0}),m}},{key:"addDnDContextTarget",value:function(v,f,g){var m=f.dropTarget,E=f.columnRegions,w=f.lifecycle,I=f.allowGlobal,M=f.rowRegions;return m&&(w=c.targetLifecycleDecorator(w,g),v.createDropTarget({allowGlobal:I,dropTarget:m,columnRegions:E,lifecycle:w,rowRegions:M})),v}},{key:"getVerticalPosition",value:function(v,f,g,m){var E=f.getBoundingClientRect(),w=E.top,I=E.bottom,M=c.onTargetPosition(g,m);return M.bottom&&(w=I),{top:w,targetPosition:M}}},{key:"getHorizontalPosition",value:function(v,f,g){var m=f.getBoundingClientRect(),E=m.left,w=m.right,I=E;return c.onTargetRight(g)&&(I=w),{left:I}}},{key:"setDropPosition",value:function(v,f){f(e.protected.NODE_NOTIFY,{publisherFn:function(){return v},publisherId:t.protected.publisher.DND_IN_ACTION,noRender:!0})}},{key:"getContextCacheInfo",value:function(v,f,g,m){return v.cachedData||(v.cachedData={}),m||(v.cachedData[f]=g),v.cachedData[f]}},{key:"removeInsertionLine",value:function(v){return c.setDropPosition({},v)}},{key:"getDragScroll",value:function(v){if(d.isSafari()){var f=function(m,E){window.requestAnimationFrame(function(){n.scroll(E,v,m.getXYCoordinates())})};return f}}},{key:"lifecycleAddOn",value:function(v){for(var f=arguments.length,g=Array(f>1?f-1:0),m=1;m<f;m++)g[m-1]=arguments[m];return function(){var E=this,w=arguments;g.forEach(function(M){M&&M.apply(E,w)});var I=v?v.apply(this,arguments):void 0;return I}}},{key:"targetLifecycleDecorator",value:function(v,f){var g=c.getDragScroll(f);return v.hover=c.lifecycleAddOn(v.hover,g),v}},{key:"sourceLifecycleDecorator",value:function(v,f,g){var m=function(){return c.clearDnDContext(f,g)};return v.end=c.lifecycleAddOn(v.end,m),v}},{key:"onTargetRight",value:function(v){var f=v&&v.column===1;return f}},{key:"onTargetPosition",value:function(v,f){var g=v&&v.row===f?!0:void 0,m=v&&v.row===0?!0:void 0,E=!g&&!m?!0:void 0;return{bottom:g,top:m,middle:E}}},{key:"isWhitespace",value:function(v){return v.classList.contains(r.CONTAINER)}},{key:"isInsertionLine",value:function(v){return v.classList.contains(r.INSERTION_LINE_CLASS)}},{key:"getHorizontalLineClassByValidation",value:function(v){return v?"mw-table-horizontal-line":"mw-table-horizontal-line-invalid"}},{key:"removeRowTargetStyle",value:function(v,f,g,m){m===r.targetLifeCycle.LEAVE&&g&&g.row!==1||(f.classList.contains(r.ROW_VALID_HOVER)&&f.classList.remove(r.ROW_VALID_HOVER),f.classList.contains(r.ROW_INVALID_HOVER)&&f.classList.remove(r.ROW_INVALID_HOVER))}},{key:"getRowOnDrop",value:function(v,f){return function(g,m,E){var w={dataTransferItem:g,target:f.cachedData.targetInfo};return c.removeRowTargetStyle(g,m,E),v(w)}}},{key:"getRowTargetList",value:function(v,f){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,m=["."+r.INSERTION_LINE_CLASS,"."+r.CONTAINER],E={allowGlobal:g,dropTarget:r.TARGET_SELECTOR_TABLE_ROW,rowRegions:f,lifecycle:v},w=m.map(function(I){return{allowGlobal:g,dropTarget:I,lifecycle:v}});return w.concat(E)}},{key:"debounceCheckForDragOut",value:function(v,f,g){return function(){v.currentDndLifeCycle=f,v.checktimer&&clearTimeout(v.checktimer),v.checktimer=setTimeout(function(){return c.removeInsertionLineOnLastTarget(v,g)},s)}}},{key:"removeInsertionLineOnLastTarget",value:function(v,f){v.currentDndLifeCycle===r.targetLifeCycle.LEAVE&&c.removeInsertionLine(f)}},{key:"clearDnDContext",value:function(v,f){return document.removeEventListener("mouseup",v._mouseupFn,{capture:!0}),v._mouseupFn=null,f(e.internal.DRAG_END),v.destroy()}},{key:"setAvatar",value:function(v,f,g,m){var E=c.getAvatarNode(v,f,g,m),w=E.avatarNode,I=E.count;g.setAvatar(w,I)}},{key:"getAvatarNode",value:function(v,f,g,m){var E=void 0,w=u(f);if(m){var I=m({dataTransferItem:g});I&&I.node&&(E=I.node)}return E=E||document.createTextNode(v.textContent),{avatarNode:E,count:w}}},{key:"startAction",value:function(v,f){f(e.internal.DRAG_STARTED,v)}},{key:"endAction",value:function(v){c.removeInsertionLine(v),v(e.internal.DRAG_END)}}]),c}();return a;function o(c,h,v,f){var g=v.allowGlobal,m=g===void 0?!1:g,E=v.lifecycle;return a.sourceLifecycleDecorator(E,c,f),c.createDragSource({dragSource:h,allowGlobal:m,lifecycle:E}),c}function u(c){var h=c.dndSourceDataToDropOutside,v=c.internalRowDndSourceData,f=c.columnDnDSourceData,g=1;return f?g=f.count:(h&&(g=h.count),v&&(g=v.count)),g}},_,P),_.exports=S},34125:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(16885),l(79301),l(6887),l(72989)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=16.666666666666668,r=1e3/30,i=30,s=200,a=5,o=10,u=function(f){f.preventDefault()},c=function(f,g){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:4,E=Math.max(0,Math.ceil((g.position-f.maxBorder)/a)<<1)||Math.min(0,Math.ceil((g.position-f.minBorder)/a)<<1);return E<0?(E=Math.min(m*-1,E),E<i*-1?s*-1:E):E>0?(E=Math.max(m,E),E>i?s:E):0},h=function(){function v(f){A(this,v),this._containerRect=f.containerRect,this._callback=f.callback,this._rowsOnly=f.options.rowsOnly,this._colsOnly=f.options.colsOnly,this._destroyed=!1,document.addEventListener("selectstart",u,{capture:!0}),this._throttledMoveHandler=e(this._handleMouseMove.bind(this),r),this._throttledTracking=e(this._trackingUpdate.bind(this),r),this._destroy=this._destroy.bind(this),this._scrollX=n.map(this._containerRect,[["left","minBorder"],["right","maxBorder"]]),this._scrollY=n.map(this._containerRect,[["top","minBorder"],["bottom","maxBorder"]]),document.addEventListener("mousemove",this._throttledMoveHandler),document.addEventListener("mouseup",this._destroy),window.addEventListener("blur",this._destroy),this._removeByOtherDnD()}return C(v,[{key:"_removeByOtherDnD",value:function(){this._callback(p.internal.NODE_SUBSCRIBE,{subscriberFn:this._destroy,subscriberId:d.subscriber.DND_START,subscribeTo:d.protected.publisher.DND_IN_ACTION,noRender:!0})}},{key:"_handleMouseMove",value:function(g){if(!this._destroyed){var m=n.map(g,[["clientY","position"]]),E=n.map(g,[["clientX","position"]]);this._pointer={x:g.clientX,y:g.clientY},this._yDelta=c(this._scrollY,m),this._xDelta=c(this._scrollX,E,o),this._colsOnly&&(this._yDelta=0),this._rowsOnly&&(this._xDelta=0),window.clearInterval(this._prevInterval),this._xDelta!==0||this._yDelta!==0?this._prevInterval=window.setInterval(this._requestScroll(g),t):this._throttledTracking(g)}}},{key:"_requestScroll",value:function(g){var m=this,E=g.ctrlKey,w=g.shiftKey,I=g.metaKey;return function(){return m._callback(p.protected.DOCUMENT_MOUSE_MOVE_INTERVAL,{yDelta:m._yDelta,xDelta:m._xDelta,pointer:m._pointer,rowsOnly:m._rowsOnly,colsOnly:m._colsOnly,containerRect:m._containerRect,ctrlKey:E,shiftKey:w,metaKey:I})}}},{key:"_destroy",value:function(){document.removeEventListener("selectstart",u,{capture:!0}),window.clearInterval(this._prevInterval),this._prevInterval=null,document.removeEventListener("mousemove",this._throttledMoveHandler),document.removeEventListener("mouseup",this._destroy),window.removeEventListener("blur",this._destroy),this._destroyed=!0,(this._xDelta!==0||this._yDelta!==0)&&this._callback(p.protected.DOCUMENT_MOUSE_UP,{yDelta:this._yDelta,xDelta:this._xDelta,containerRect:this._containerRect,callback:this._callback})}},{key:"_trackingUpdate",value:function(g){var m=g.ctrlKey,E=g.shiftKey,w=g.metaKey;this._callback(p.protected.DATA_AREA_MOUSE_MOVE,{rowsOnly:this._rowsOnly,colsOnly:this._colsOnly,pointer:this._pointer,shiftKey:E,ctrlKey:m,metaKey:w})}}],[{key:"addTrackingTo",value:function(g,m){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return new v({containerRect:g,callback:m,options:E})}}]),v}();return h},_,P),_.exports=S},88414:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(76298),l(97715),l(48299),l(15555)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=function(){function r(i,s){A(this,r),this._refNode=i,this._type=s}return C(r,[{key:"delegateEvents",value:function(s){var a=this._detector=new n(this._refNode),o={};s.doubleClick&&(o.doubleClick=d.doubleTap({options:{maxRadius:3},callbacks:{recognized:function(c,h){var v=e.getCellInfo(c.srcEvent);s.doubleClick(c.srcEvent,v)}}})),s.click&&(o.click=d.leftClick({callbacks:{recognized:function(c,h){var v=e.getCellInfo(c.srcEvent);s.click(c.srcEvent,v)}}})),s.doubleClick&&s.click&&o.click.getCoordinator().waitForFailure(o.doubleClick),a.add(Object.keys(o).map(function(u){return o[u]})),this._mouseDownCallback=function(u){var c=e.getCellInfo(u);u.button===p.MOUSE_LEFT_BUTTON&&s.mousedown(u,c)},this._mouseupCallback=function(u){var c=e.getCellInfo(u);s.mouseup&&u.button===p.MOUSE_LEFT_BUTTON&&s.mouseup(u,c)},this._refNode.addEventListener("mousedown",this._mouseDownCallback),this._refNode.addEventListener("mouseup",this._mouseupCallback)}},{key:"destroyEvents",value:function(){this._detector.destroy(),this._refNode.removeEventListener("mousedown",this._mouseDownCallback),this._refNode.removeEventListener("mouseup",this._mouseupCallback)}}],[{key:"TYPE",get:function(){return Object.freeze({CELL:"Cell"})}}]),r}();return t},_,P),_.exports=S},15555:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(76298),l(16885),l(84960),l(64991),l(31363),l(86024),l(21321)],S=l.dj.d(b,function(p,d,n,e,t,r,i){"use strict";var s=function(){function u(){A(this,u)}return C(u,null,[{key:"isSyntheticRightClick",value:function(h){return h&&h.button&&h.button===p.MOUSE_RIGHT_BUTTON||!1}},{key:"emitDoubleClickEvent",value:function(h,v,f){h&&(v.defaultFn=f,h(d.protected.CELL_DBL_CLICK,v))}},{key:"validateContextMenuEventInfo",value:function(h){h.isEditing&&h.target&&h.target.hasOwnProperty("isWhiteSpace")&&delete h.target.isWhiteSpace}},{key:"eventCallbackForContextMenu",value:function(h,v,f){h.preventDefault();var g=h.pageX,m=h.pageY,E=f.type,w=f.rowIndex,I=f.colIndex,M=f.colEnd,R=f.isEditable,T=w>=0?w:-1,N=I>=0?I:-1,F=f.isWhiteSpace;F===void 0&&(F=u.isWhiteSpace(h.target,h.clientX,h.clientY));var y={type:E,isWhiteSpace:F,isEditable:R},x={left:g,top:m,row:T,col:N,target:y,colEnd:M};return v(d.internal.TABLE_RIGHT_CLICK,x)}},{key:"getCellInfo",value:function(h){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"mw-table-cell",f=void 0,g=h.path||h.composedPath&&h.composedPath();if(g&&g.length>0){var m=!0,E=!1,w=void 0;try{for(var I=g[Symbol.iterator](),M;!(m=(M=I.next()).done);m=!0){var R=M.value;if(o(R)&&R.classList.contains(v)){f=a(R);break}else if(o(R)&&R.classList.contains("mw-table-component"))break}}catch(y){E=!0,w=y}finally{try{!m&&I.return&&I.return()}finally{if(E)throw w}}}else if(document.elementsFromPoint){var T=document.elementsFromPoint(h.clientX,h.clientY),N=T.find(function(y){return o(y)&&y.classList.contains(v)});N&&(f=a(N))}else for(var F=document.elementFromPoint(h.clientX,h.clientY);o(F)&&!F.classList.contains("mw-table-component")&&F!==document.body;){if(F.classList.contains(v)){f=a(F);break}F=F.parentNode}return f}},{key:"_isPointInsideRect",value:function(h,v,f){return h>=f.left&&v>=f.top&&h<=f.right&&v<=f.bottom}},{key:"setFocusCache",value:function(h){h(d.protected.CELL_DOM_FOCUS_CACHE)}},{key:"_isNodeTypeText",value:function(h){if(h){if(h.nodeType===3)return!0;if(h.nodeType===1&&h.innerText)return!0}else return!1;return!1}},{key:"_isPointInTextNode",value:function(h,v,f){if(!this._isNodeTypeText(f))return!1;var g=document.createRange();g.selectNodeContents(f);var m=g.getBoundingClientRect();return!!this._isPointInsideRect(h,v,m)}},{key:"_isClassInClassList",value:function(h,v){if(h&&typeof h=="string"){for(var f=0;f<v.length;f++)if(h.includes(v[f]))return!0}return!1}},{key:"_isNonWhiteSpaceClass",value:function(h){var v=["mwCheckBoxRadioIconNode"];return u._isClassInClassList(h,v)}},{key:"isWhiteSpace",value:function(h,v,f){if(!h)return!0;if(this._isNonWhiteSpaceClass(h.className))return!1;var g=h.childNodes;if(g.length===0)return!1;for(var m=!0,E=0;E<g.length;E++){var w=g[E];this._isPointInTextNode(v,f,w)&&(m=!1)}return m}},{key:"handleContextmenu",value:function(h,v,f){var g=v.eventCallback,m=v.rowIndex,E=v.colIndex,w=v.colEnd,I=v.handleEditComplete,M=!!I,R={type:f,colEnd:w,rowIndex:m,colIndex:E,isEditable:M};return u.eventCallbackForContextMenu(h,g,R)}},{key:"shouldAllowDragToSelect",value:function(h,v,f,g,m){if(m||h&&v)return!1;var E=!1;return g&&g(f)?E=!0:E=!1,E}},{key:"targetIsEditIndicator",value:function(h){var v=!1;return!h||!h.target||h.target.getAttribute("edit-indicator")==="true"&&(v=!0),v}}]),u}();return s;function a(u){var c=Number(u.getAttribute("data-row")),h=Number(u.getAttribute("data-col")),v=u.getAttribute("data-row-id");return{rowIndex:c,colIndex:h,id:v,cellNode:u,cellType:u.getAttribute("data-cell-type")}}function o(u){return u&&u.classList}},_,P),_.exports=S},83847:(_,P,l)=>{var b,S;b=[l(14152)],S=l.dj.d(b,function(C){"use strict";return{getHighlightedTextDOM:function(p,d){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"mw-table-highlight";return this._getHighlightedDomNodes(p,d,n,this._createHighlightedTextContentForDisplay,this._createNonHighlightedTextContentForDisplay)},getHighlightedReact:function(p,d){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"mw-table-highlight";return this._getHighlightedDomNodes(p,d,n,this._createReactHighlightedTextContentForDisplay,this._createReactNonHighlightedTextContentForDisplay)},getFieldSpecificHighlightData:function(p,d){return p.field===d&&Array.isArray(p.matches)?p.matches:!1},_getHighlightedDomNodes:function(p,d,n,e,t){var r=[];if(!(Array.isArray(d)&&d.length>0))return r.push(t(p)),r;for(var i=void 0,s=void 0,a=this._createClassNameLookUp(p,d,n),o=0;o<a.length;){var u=void 0,c=void 0;if(a[o]===0){for(u=o;a[o]===0&&o<a.length;)o++;c=o,i=t(p.substring(u,c)),r.push(i)}if(o<a.length){u=o;for(var h=a[o];a[o]!==0&&o<a.length&&h===a[o];)o++;c=o,s=e(p.substring(u,c),h),r.push(s)}}return r},_createClassNameLookUp:function(p,d,n){var e=new Array(p.length).fill(0),t=!0,r=!1,i=void 0;try{for(var s=d[Symbol.iterator](),a;!(t=(a=s.next()).done);t=!0)for(var o=a.value,u=o.className||d.className||n,c=o.start+o.count,h=o.start;h<c;h++)e[h]=u}catch(v){r=!0,i=v}finally{try{!t&&s.return&&s.return()}finally{if(r)throw i}}return e},_createHighlightedTextContentForDisplay:function(p,d){var n=document.createElement("mark");return n.textContent=p,n.classList.add(d),n},_createNonHighlightedTextContentForDisplay:function(p){var d=document.createTextNode(p);return d},_createReactHighlightedTextContentForDisplay:function(p,d){var n=p?p.toString():"";return C.createElement("mark",{className:d,"data-region":!0},n)},_createReactNonHighlightedTextContentForDisplay:function(p){var d=p?p.toString():"";return C.createElement(C.Fragment,{"data-region":!0},d)}}},_,P),_.exports=S},95365:(_,P,l)=>{var b,S;b=[l(43369),l(43322),l(84960),l(82020)],S=l.dj.d(b,function(C,A,p,d){"use strict";var n={onTargetBelow:function(t){var r=t&&t===2;return r},getClosestRow:function(t){var r=t.closest("tr");return r},getLinePosition:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.insertBeforeChild,s=1,a=!1,o=!1,u=!1,c=t.level,h=t.hoverRowNode,v=t.nextSibling,f=t.domNode,g=t.isDropValid,m=t.insertionPosition,E=C.getTreeColumnWidth();i&&(c=v.level);var w=(c+1)*A.MARGIN_LEFT_FOR_ROOT;E?w=w>E?E:w:w=0;var I=f.getBoundingClientRect().top;if(n.onTargetBelow(m)&&(I=f.getBoundingClientRect().bottom),!h.nextSibling&&m===A.REORDER.INSERT_BELOW){a=!0;var M=h.closest(".mw-scrolling-div"),R=M&&M.getBoundingClientRect().height,T=M&&M.firstChild.getBoundingClientRect().height;o=R===T,u=C.hasHorizontalScroll()}!h.previousSibling&&m===A.REORDER.INSERT_ABOVE&&(s=0);var N=g?A.REORDER.VALID_LINE:A.REORDER.INVALID_LINE;return{top:I,lastRow:a,maxMarginLeftForLevel:w,topOffset:s,lineClass:N,hasHorizontalScroll:u,isTableHeightSameAsContainer:o}},getReorderTargetParent:function(t){var r=t.row,i=t.targetNodeInfo,s=t.insertionPosition,a={},o={},u=C.getCurrentRowMetaData(r).path,c=u&&u.length,h=c<=1;return h?(o.id=null,o.path=[]):(o.id=u[c-2],o.path=u.slice(0,c-1)),o.id===null?o.type=p.TREETABLE:o.type=p.TREETABLE_ROW,s===A.REORDER.INSERT_BELOW&&i.isExpandable&&i.isExpanded&&(o.id=i.id),a={proxyNode:{id:o.id},type:o.type},a},getNextSiblingInfo:function(t){var r=t.hoverRowNode,i=r.nextElementSibling,s=i&&i.firstChild,a=i?p.TREETABLE_ROW:p.TREETABLE,o=C.getNodeInfo(s,a);return o.rowNode=i,o},getPreviousSiblingInfo:function(t){var r=t.hoverRowNode,i=r.previousElementSibling,s=i&&i.firstChild,a=i?p.TREETABLE_ROW:p.TREETABLE,o=C.getNodeInfo(s,a);return o.rowNode=i,o},isItNoOperationForBelowNode:function(t){var r=t.sourceIds,i=t.level,s=t.hoverRowNode,a=t.domNode,o=t.nextSibling,u=o.level,c=o.rowNode,h=s.classList.contains("mw-table-row-selected"),v=!!(c&&c.classList.contains("mw-table-row-selected")),f=r.length>1,g=h||u>=i&&v;return!!(a.classList.contains("mw-scrolling-div")||g&&!f)},getLinePositionBelowNode:function(t){var r={},i=!0;return n.isItNoOperationForBelowNode(t)||(d.isNextSiblingItsChild(t)?r=n.getLinePosition(t,{insertBeforeChild:i}):r=n.getLinePosition(t)),r},isItNoOperationForAboveNode:function(t){var r=t.sourceIds,i=t.level,s=t.hoverRowNode,a=t.domNode,o=t.previousSibling,u=o.level,c=o.rowNode,h=s.classList.contains("mw-table-row-selected"),v=!!(c&&c.classList.contains("mw-table-row-selected")),f=r.length>1,g=h||u<=i&&v;return!!(a.classList.contains("mw-scrolling-div")||g&&!f)},getLinePositionAboveNode:function(t){var r={};return n.isItNoOperationForAboveNode(t)||(r=n.getLinePosition(t)),r}};return n},_,P),_.exports=S},18255:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d)}return C(d,null,[{key:"isMovingLeft",value:function(e){return e<0}}]),d}();return p},_,P),_.exports=S},77958:(_,P,l)=>{var b,S;b=[l(93361),l(43322),l(11487),l(10383),l(65353),l(9070),l(2860),l(84960)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r){"use strict";var i=1,s=function(){return{changeDragData:m,setDragItemDataByType:h,isDragValid:g,removeDnDStyle:f,createTargetForOutsideSource:w,getSourceLifecycle:a,isDataTransfer:u,setMultipleDragItemDataByType:c,setDragItemSourceType:o,setSelectionDataForDrag:v}};return s;function a(N){var F=function(O,L){var W=N.canDrag,j=N.getData,H=N.setAvatar,K=N.eventCallback;if(!g(L,O))return!1;var $=j();if(Object.keys($).length<=0)return!1;if(u($))c(O,$);else{var V=d.NativeType.TEXT;h(O,V,$)}return W&&!W({dataTransferItem:O})?!1:(n.setAvatar(L,$,O,H),n.startAction({dragItem:O},K),!0)},y=function(O,L){var W=N.eventCallback;f(L,{dropCompleted:!0}),n.endAction(W)};return{start:F,end:y}}function o(N){var F=A.TABLE_SOURCE_ROW,y={source:{type:F}};N.setDataByType(A.TABLE_DEFAULT_TYPE,y)}function u(N){var F=N.dndSourceDataToDropOutside;return F&&F.data&&F.data.dataTransfer}function c(N,F){if(u(F)){o(N);for(var y=F.dndSourceDataToDropOutside,x=y.data.dataTransfer,O=x.types,L=0;L<O.length;L++){var W=O[L],j=x.getData(W);N.setDataByType(W,j)}}}function h(N,F,y){var x=F,O=y.dndSourceDataToDropOutside,L=y.internalRowDndSourceData;O&&(o(N),F=O.data.dragSourceType||x,N.setDataByType(F,O.data.value)),L&&(F=L.data.dragSourceType||x,N.setDataByType(F,L.data.value))}function v(N,F){if(N&&F){var y=new t;return N(F,y)}return e.toPromise()}function f(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!0}function g(N,F){return!0}function m(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(N.selectionById)return E(N,F);var y=F.setDragData,x=F.selections,O=F.setSelections,L=F.setDndSourceData;if(N.selections&&C.areSelectionRangesDifferent(x,N.selections)&&(O(N.selections),!!y)){var W=C.getSelectionCountByRanges(N.selections),j=W.count,H=W.type;L(null),v(y,N.selections).then(function(K){L({data:K,count:j,dragType:H})})}}function E(N,F){var y=F.setDragData,x=F.selections,O=F.setSelections,L=F.setDndSourceData,W=F.setinternalRowDndSourceData;if(N.selections&&C.areSelectionIdsDifferent(x,N.selections)){O(N.selections);var j=Object.keys(N.selections),H=j.length,K="rows",$=j.map(function(z){return{id:z}}),V={dragSourceType:A.TABLE_DEFAULT_TYPE,value:{source:{proxyNodes:$,type:r.TABLE_ROW}}};y&&(L(null),v(y,$).then(function(z){L({data:z,count:H,dragType:K})})),W({data:V,count:H,dragType:K})}}function w(N,F,y){return function(O,L){var W=n.createDnDContext(O),j=I(N.canDrop,y,W),H=n.getRowOnDrop(N.onDrop,W),K=T(W,j,H,y),$=n.getRowTargetList(K,A.ROW_REGIONS.INSERT_AS_ROW,!0);return F(W,{targetList:$},L)}}function I(N,F,y){return function(O,L,W){var j=M(L,W),H=j.place==="insertion",K=n.getContextCacheInfo(y,"targetInfo",j,H),$=N({dataTransferItem:O,target:K});if($===null)return $;$=n.getContextCacheInfo(y,"validation",$,H);var V=R(O,L,W),z=n.getHorizontalLineClassByValidation($);return Object.assign(V,{lineClass:z}),n.setDropPosition(V,F),$}}function M(N,F){var y="TABLE";if(n.isWhitespace(N))return{type:y};if(n.isInsertionLine(N))return{place:"insertion"};var x=Number(N.getAttribute("data-row-index")),O=N.getAttribute("data-row-id");if(typeof O=="string")return{type:y,rowId:O};var L=F.row===i?x+1:x,W=p.range().setRows(L,L).setColumns(0,1/0);return{type:y,range:W}}function R(N,F,y){if(n.isWhitespace(F)){var x=F.firstChild.getBoundingClientRect(),O=x.bottom;return{top:O}}return n.getVerticalPosition(N,F,y,i)}function T(N,F,y,x){var O=n.lifecycleAddOn(F,n.debounceCheckForDragOut(N,A.targetLifeCycle.ENTER,x)),L=n.debounceCheckForDragOut(N,A.targetLifeCycle.LEAVE,x),W=n.debounceCheckForDragOut(N,A.targetLifeCycle.HOVER,x),j=n.lifecycleAddOn(y,function(){return n.removeInsertionLine(x)});return{enter:O,hover:W,leave:L,drop:j}}},_,P),_.exports=S},28752:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(84960),l(62806),l(64991),l(31363),l(19510),l(40601),l(86024)],S=l.dj.d(b,function(p,d,n,e,t,r,i){"use strict";var s=".mw-data-label-renderer",a=".mw-string-renderer",o=function(){function u(){A(this,u)}return C(u,null,[{key:"isTruncated",value:function(h){return!!(h&&h.scrollWidth>h.offsetWidth)}},{key:"getTreeCellTargetNode",value:function(h){return h.firstElementChild.firstChild}},{key:"getTreetableIconLabelTargetNode",value:function(h,v){return h&&h.querySelector(s)?h.querySelector(s):v}},{key:"getTableRendererTargetNode",value:function(h){return h.firstElementChild}},{key:"isHeaderCell",value:function(h){return h===p.COLUMN_HEADER||h===p.TOPLEFT_HEADER}},{key:"isIconLabelOrCheckboxRenderer",value:function(h){return h instanceof e||h instanceof n}},{key:"getTargetNode",value:function(h,v,f,g){return h==="treeCell"&&(v=this.getTreeCellTargetNode(v)),this.isHeaderCell(h)&&Object.keys(g).length!==0&&(v=f.firstChild),this.isIconLabelOrCheckboxRenderer(g)&&(v=this.getTableRendererTargetNode(f)),this.isHeaderCell(h)&&this.isIconLabelOrCheckboxRenderer(g)&&(v=f),g instanceof i&&(v=this.getTreetableIconLabelTargetNode(f,v)),v}},{key:"getNodeForTruncationCheck",value:function(h,v,f){var g=v;if(h==="treeCell"&&(g=v.firstElementChild),f instanceof i){var m=g.querySelector(s);m&&(g=m)}else f instanceof d?g=g.querySelector(a):f instanceof n||f instanceof e?g=g.firstElementChild:f instanceof t||f instanceof r?g=g.firstElementChild.firstElementChild:g=g.firstElementChild;return g}}]),u}();return o},_,P),_.exports=S},67401:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(43322),l(84960),l(65353),l(43369)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=null,r=0,i=1,s=2,a="first",o="child",u=function(){function g(){A(this,g)}return C(g,null,[{key:"createTargetForOutsideSource",value:function(E,w,I){return function(R,T){var N=E.dropType,F=N===void 0?{}:N,y=F.reparentRows?void 0:p.ROW_REGIONS.ROWS,x=n.createDnDContext(R),O=g.getTargetRowValidation(E.canDrop,I,x,F),L=n.getRowOnDrop(E.onDrop,x),W=n.lifecycleAddOn(O,n.debounceCheckForDragOut(x,p.targetLifeCycle.ENTER,I)),j=n.lifecycleAddOn(function(X,Z,Y){return n.removeRowTargetStyle(X,Z,Y,p.targetLifeCycle.LEAVE)},n.debounceCheckForDragOut(x,p.targetLifeCycle.LEAVE,I)),H=n.debounceCheckForDragOut(x,p.targetLifeCycle.HOVER,I),K=n.lifecycleAddOn(L,function(){return n.removeInsertionLine(I)}),$={enter:W,hover:H,leave:j,drop:K},V=n.getRowTargetList($,y,!0),z={targetList:V};return w(x,z,T)}}},{key:"getTargetRowValidation",value:function(E,w,I,M){return function(T,N,F){var y=g.getTreeRowTargetInfo(N,F);g.expandTreenode(I,y);var x=y.place==="insertion",O=n.getContextCacheInfo(I,"targetInfo",y,x),L=O.proxyNode,W=O.type,j={proxyNode:L,type:W},H=E({dataTransferItem:T,target:j});return H===null||(H=n.getContextCacheInfo(I,"validation",H,x),M.reorderRows&&!x&&g.setInsertionPosition(T,N,w,F,H)),H}}},{key:"setInsertionPosition",value:function(E,w,I,M,R){var T=c({dragItem:E,domNode:w,position:M,validation:R}),N=n.getHorizontalLineClassByValidation(R);return Object.assign(T,{lineClass:N,validation:R}),n.setDropPosition(T,I)}},{key:"expandTreenode",value:function(E,w){E.autoExpandTimer&&clearTimeout(E.autoExpandTimer),w&&w.place===o&&(E.autoExpandTimer=window.setTimeout(function(){e.expandNode(w.proxyNode)},p.AUTO_EXPAND_TIME))}},{key:"getTreeRowTargetInfo",value:function(E,w){if(n.isWhitespace(E))return{type:d.TREETABLE,proxyNode:{id:t},place:"last"};if(n.isInsertionLine(E))return{place:"insertion"};var I=E.firstChild.getAttribute("data-row");if(I==="0"&&w&&w.row===r)return{type:d.TREETABLE,proxyNode:{id:t},place:a};var M=v(E),R=M.expanded,T=R==="true",N=E.firstChild.getAttribute("data-row-id");if(w&&w.row===s&&T)return{proxyNode:{id:N},type:d.TREETABLE_ROW,place:a};if(w&&w.row===i)return{proxyNode:{id:N},type:d.TREETABLE_ROW,place:o};var F=h(e.getCurrentRowMetaData(I).path,N),y=F===t?d.TREETABLE:d.TREETABLE_ROW,x={id:N},O=w.row===r?"before":"after",L={id:F};return{proxyNode:L,type:y,place:O,node:x}}}]),g}();return u;function c(g){var m=g.dragItem,E=g.domNode,w=g.position,I=g.validation;if(n.isWhitespace(E))return{};var M=n.getVerticalPosition(m,E,w,s),R=M.top,T=M.targetPosition;if(T.middle)return I&&E.classList.add(p.ROW_VALID_HOVER),!I&&E.classList.add(p.ROW_INVALID_HOVER),{};n.removeRowTargetStyle(m,E,w);var N=f(E,w);return{top:R,maxMarginLeftForLevel:N}}function h(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],m=arguments[1];if(g.length<=1)return t;if(g[g.length-1]===m)return g[g.length-2]}function v(g){var m=g&&g.firstChild&&g.firstChild.getAttribute("aria-expanded")?g.firstChild.getAttribute("aria-expanded"):void 0;return{expanded:m}}function f(g,m){var E=Number(g.firstChild.getAttribute("data-level-index"))||0,w=v(g),I=w.expanded;I==="true"&&m&&m.row===s&&E++;var M=(E+1)*p.MARGIN_LEFT_FOR_ROOT;return Math.min(g.firstChild.firstChild.clientWidth,M)}},_,P),_.exports=S},48814:(_,P,l)=>{var b,S;b=[l(93361),l(10383),l(43369),l(43322),l(16885),l(79301),l(84960),l(82020),l(95365),l(65353),l(9070),l(77958)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o){"use strict";var u=null,c=d.AUTO_EXPAND_TIME,h={},v=o(),f=function(m){var E=function(Y,Q){var q=Q.reorderRows,ee=Q.reparentRows,oe=Q.setDragData,se=Q.selections,he=Q.setSelections,fe=Q.setDndSourceData,le=Q.setinternalRowDndSourceData;if(Y.selections&&C.areSelectionIdsDifferent(se,Y.selections)){he(Y.selections);var ie=Object.keys(Y.selections),re=ie.length,ce="rows",ve=r.createProxyNodesWithIds(ie),ge={dragSourceType:d.TREETABLE_DEFAULT_TYPE,value:{source:{proxyNodes:ve,type:t.TREETABLE_ROW}}};oe&&(fe(null),v.setSelectionDataForDrag(oe,ve).then(function(Te){fe({data:Te,count:re,dragType:ce})})),(q||ee)&&le({data:ge,count:re,dragType:ce})}},w=function(Y){var Q=function(oe,se){var he=Y.canDrag,fe=Y.getData,le=Y.setAvatar,ie=Y.eventCallback,re=fe();if(!y(se,oe)||Object.keys(re).length<=0)return!1;if(v.isDataTransfer(re))v.setMultipleDragItemDataByType(oe,re);else{var ce=A.NativeType.TEXT;R(oe,ce,re)}return p.dropInProgress||he&&!he({dataTransferItem:oe})?!1:(s.setAvatar(se,re,oe,le),s.startAction({dragItem:oe},ie),!0)},q=function(oe,se){var he=Y.eventCallback;L(se,{dropCompleted:!0}),s.endAction(he)};return{start:Q,end:q}},I=function(Y){var Q=Y.dndType;if(Q===e.protected.REPARENT_ROWS){var q={allowGlobal:!0,dropTarget:M("tableCell"),lifecycle:N(t.TREETABLE_ROW,Y)},ee={allowGlobal:!0,dropTarget:M("scrollComponent"),lifecycle:N(t.TREETABLE,Y)};return[q,ee]}else{var oe={allowGlobal:!0,dropTarget:M(d.DROP_TARGET.TABLE_CELL),lifecycle:N(t.TREETABLE_ROW,Y),rowRegions:d.ROW_REGIONS.ROWS},se={allowGlobal:!0,dropTarget:M(d.DROP_TARGET.CONTAINER),lifecycle:N(t.TREETABLE,Y),rowRegions:d.ROW_REGIONS.CONTAINER},he={allowGlobal:!0,dropTarget:M(d.DROP_TARGET.CONTAINER.INSERTION_LINE),lifecycle:T(Y)};return[oe,se,he]}},M=function(Y){var Q="";return Y===d.DROP_TARGET.TABLE_CELL?Q=".mw-table-cell":Y===d.DROP_TARGET.CONTAINER?Q=".mw-scrolling-div":Y===d.DROP_TARGET.CONTAINER.INSERTION_LINE&&(Q=".mw-table-insertion-line"),Q},R=function(Y,Q,q){var ee=Q,oe=q.dndSourceDataToDropOutside,se=q.internalRowDndSourceData;oe&&(v.setDragItemSourceType(Y),Q=oe.data.dragSourceType||ee,Y.setDataByType(Q,oe.data.value)),se&&(Q=se.data.dragSourceType,Y.setDataByType(Q,se.data.value))},T=function(Y){var Q=Y.eventCallback,q=Y.context,ee={};return ee={enter:function(se,he,fe){var le=Y.eventCallback,ie=h,re=ie.dropPosition;return s.setDropPosition(re,le),h.isDropValid},drop:function(se,he,fe){z({dragItem:se,domNode:he,position:fe,eventCallback:Q})}},ee.enter=s.lifecycleAddOn(ee.enter,s.debounceCheckForDragOut(q,d.targetLifeCycle.ENTER,Q)),ee.leave=s.debounceCheckForDragOut(q,d.targetLifeCycle.LEAVE,Q),ee.hover=s.debounceCheckForDragOut(q,d.targetLifeCycle.HOVER,Q),ee},N=function(Y,Q){var q=Q.dndType,ee=Q.eventCallback,oe=Q.context,se=Q.canDrop,he={};return he={enter:function(le,ie,re){return V({dragItem:le,domNode:ie,dropNodeType:Y,position:re,dndType:q,eventCallback:ee,canDrop:se})},hover:function(le,ie,re){X({dragItem:le,domNode:ie,position:re,dndType:q})},leave:function(le,ie,re){K({dragItem:le,domNode:ie,position:re})},drop:function(le,ie,re){z({dragItem:le,domNode:ie,position:re,eventCallback:ee})}},he.enter=s.lifecycleAddOn(he.enter,s.debounceCheckForDragOut(oe,d.targetLifeCycle.ENTER,ee)),he.leave=s.lifecycleAddOn(he.leave,s.debounceCheckForDragOut(oe,d.targetLifeCycle.LEAVE,ee)),he.hover=s.lifecycleAddOn(he.hover,s.debounceCheckForDragOut(oe,d.targetLifeCycle.HOVER,ee)),he},F=function(Y){var Q=Y.dragItem,q=Y.domNode,ee=Y.dropNodeType,oe=Y.position;h={sourceStylesSet:!1,hoverStylesSet:!1,type:ee,hoverRowNode:i.getClosestRow(q),dropPosition:{}};var se=oe?oe.row:1;h.insertionPosition=se,h.domNode=q;var he=Q.getDataByType(d.TREETABLE_DEFAULT_TYPE),fe=r.getIdsFromProxyNodes(he.source.proxyNodes);h.sourceIds=fe,h.targetId=q.getAttribute("data-row-id");var le=p.getNodeInfo(q,ee);h.targetNodeInfo=le,h.level=parseInt(le.level),h.row=q.getAttribute("data-row");var ie=p.getCurrentRowMetaData(h.row).path||[];h.path=ie;var re=void 0;if(!h.sourceStylesSet){for(var ce in fe)if(re=q.closest(".mw-table-inner-wrapper").querySelectorAll('[data-row-id="'+fe[ce]+'"]'),re.length>0)for(var ve=0;ve<re.length;ve++)re[ve].classList.add("mw-table-row-drag-source");h.sourceStylesSet=!0}},y=function(Y,Q){var q=Q.getXYCoordinates();return!(r.isDragTargetDisclosureIcon(Y,q)||r.isDragTargetCheckboxTree(Y,q))},x=async function(Y){var Q=Y.dragItem,q=Y.dndType,ee=Y.canDrop,oe=h,se=oe.targetId,he=oe.sourceIds,fe=oe.domNode,le=H(q,Y),ie=p.isInternalDrag(),re=r.isDraggedItemInTheNodePath(h,le.path),ce=r.isTargetOnScrollBar(fe,Q.getXYCoordinates()),ve=await a.asyncWrapper(ee,{dataTransferItem:Q,target:le});return h.isDropValid=!0,(he.includes(se)||ce||re||!ve)&&ie?(h.isDropValid=!1,!1):!0},O=function(Y,Q){Q(n.internal.ROW_DROPPED,Y)},L=function(Y){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},q=Q.dropCompleted,ee=Q.clearStyles;if(h.hoverStylesSet||ee){var oe=Y.closest("tr");if(oe){var se=oe.querySelectorAll("td");if(se.length>0){for(var he=0;he<se.length;he++)se[he].classList.remove("mw-table-dnd-valid-hover"),se[he].classList.remove("mw-table-dnd-invalid-hover");h.hoverStylesSet=!1}}}if(q)for(var fe=Y.closest(".mw-table-inner-wrapper"),le=fe&&fe.querySelectorAll(".mw-table-row-drag-source")||[],ie=0;ie<le.length;ie++)le[ie].classList.remove("mw-table-row-drag-source")},W=function(Y){j(),u=window.setTimeout(function(){p.expandNode(Y)},c)},j=function(){window.clearTimeout(u)},H=function(Y){var Q=h,q=Q.targetId,ee=Q.type,oe=Q.insertionPosition,se={};return se={proxyNode:{id:q},type:ee},h.target=se,Y==="reorderRows"&&(oe===d.REORDER.INSERT_ABOVE||oe===d.REORDER.INSERT_BELOW)&&(se=i.getReorderTargetParent(h)),se},K=function(Y){var Q=Y.domNode,q=Y.position,ee=h,oe=ee.insertionPosition,se=!1;if(L(Q,{clearStyles:!0}),!q)se=h.domNode===Q;else{var he=oe===d.REORDER.INSERT_BELOW,fe=oe===d.REORDER.INSERT_ABOVE,le=q.row===d.REORDER.INSERT_AS_CHILD;se=(he||fe)&&le}se&&j()},$=function(Y){var Q=Y.domNode,q=Y.dropNodeType;if(Q.getAttribute("data-row-id")===null&&q==="TREETABLE_ROW")return h.isDropValid=!1,!1;if(q==="TREETABLE_ROW"){var ee=p.getCurrentRowMetaData(Q.getAttribute("data-row"));if(!ee.path||ee.path.length===0)return h.isDropValid=!1,!1}return!0},V=function(Y){var Q=Y.domNode,q=Y.eventCallback;if(L(Q),!Q||!$(Y))return!1;F(Y);var ee=h,oe=ee.insertionPosition;return oe===d.REORDER.INSERT_BELOW?(h.nextSibling=i.getNextSiblingInfo(h),h.dropPosition=i.getLinePositionBelowNode(h)):oe===d.REORDER.INSERT_ABOVE?(h.previousSibling=i.getPreviousSiblingInfo(h),h.dropPosition=i.getLinePositionAboveNode(h)):h.dropPosition={},s.setDropPosition(h.dropPosition,q),{isValidDropAsync:async function(){var he=h,fe=he.insertionPosition;fe===d.REORDER.INSERT_AS_CHILD&&W({id:h.targetId});var le=await x(Y);return fe!==d.REORDER.INSERT_AS_CHILD&&le&&(h.dropPosition.lineClass=d.REORDER.VALID_LINE),s.setDropPosition(h.dropPosition,q),le}}},z=function(Y){var Q=Y.dragItem,q=Y.domNode,ee=Y.eventCallback;j();var oe=Q.getDataByType(d.TREETABLE_DEFAULT_TYPE).source.proxyNodes;O({dragItem:Q,proxyNodes:oe,domNode:q,currentNodeInfo:h},ee),L(q,{dropCompleted:!0}),s.removeInsertionLine(ee)},X=function(Y){var Q=Y.domNode,q=Y.dndType,ee=Y.position;if(L(Q),!(q!==e.protected.REPARENT_ROWS&&ee.row!==d.REORDER.INSERT_AS_CHILD)&&!h.hoverStylesSet){var oe=Q.closest("tr");if(oe){var se=oe.querySelectorAll("td");if(se.length>0){for(var he=0;he<se.length;he++)h.isDropValid?se[he].classList.add("mw-table-dnd-valid-hover"):se[he].classList.add("mw-table-dnd-invalid-hover");h.hoverStylesSet=!0}}}};return{changeDragData:E,createDropTarget:I,setDragItemDataByType:R,isDragValid:y,removeDnDStyle:L,getSourceLifecycle:w}};return f},_,P),_.exports=S},47741:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(29024),l(90829),l(75622),l(79301),l(11487),l(16885)],S=l.dj.d(b,function(p,d,n,e,t,r){"use strict";var i="",s=function(){function a(o){A(this,a),this._stateCategoryIndex={},this._stateRangeIndex=new p,this._events={},this._columnDataMapper=new d,this._rowDataMapper=new d,this._dataModel=o,this._viewColumnRange=o,this._sortState=null,this._previousSortState={},this._rowMetaData=new n({rankType:"row",dataViewMapper:this._rowDataMapper}),this._columnMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._columnSpanningMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._ownedListeners=[],this.setColumnHeaders([]),this.setColumnHeaderConfig({}),this._manageDataModelPaging=this._dataModel.managePaging.bind(this._dataModel),this._addOwnListeners(this._dataModel.on("pagedDataChanged",this._handlePagedDataChanged.bind(this))),this._addOwnListeners(this._dataModel.on("dataSizeChanged",this._emitDataSizeChanged.bind(this)))}return C(a,[{key:"viewRangeListToDataRangeList",value:function(u){var c=u.slice(0);return this._columnDataMapper.viewToModelRangeMapping(c)}},{key:"setRowMetaData",value:function(u,c,h){this._rowMetaData.setViewMetaData(u,c,h),this._emitViewDataChanged()}},{key:"deleteRowMetaData",value:function(u,c){this._rowMetaData.deleteViewMetaData(u,c),this._emitViewDataChanged()}},{key:"setColumnMetaData",value:function(u,c,h){this._columnMetaData.setViewMetaData(u,c,h),this._emitViewDataChanged()}},{key:"getColumnMetaDataUnified",value:function(){return this._columnMetaData.getUnifiedMetaData()}},{key:"deleteColumnMetaData",value:function(u,c){this._columnMetaData.deleteViewMetaData(u,c),this._emitViewDataChanged()}},{key:"setRenderType",value:function(u){var c={type:u};this._emit("renderTypeChanged",c)}},{key:"getStateForCustomEvent",value:function(){var u=!!this.getStateByKey(e.protected.EDIT_STATE);return{isEditing:u}}},{key:"_emitDataSizeChanged",value:function(){this._emit("dataSizeChanged",{dataSize:this.dataSize})}},{key:"_handlePagedDataChanged",value:function(u){var c=this.getStateByKey("viewBuffer");if(c){this._viewData=this._columnDataMapper.modelToViewDataMapping(u.pagedData,u.cellMetaData,c.rangeList),this._rowMetaData.setRangeList(c.rangeList),this._columnMetaData.setRangeList(c.rangeList),this._columnMetaData.setDataMetaData(u.columnMetaData),this._rowMetaData.setDataMetaData(u.rowMetaData),this._columnSpanningMetaData=u.columnSpanningMetaData;var h={},v=this._parseColumnMetaDataForSortState(u.columnMetaData[0][0]),f=this._translateSortStateToViewIndices(v),g=this._filterSortStateAgainstSortConfig(f),m=this._determineOneColumnForEachSortCriteria(g);if(m!==void 0&&(h.sorted=m),this._isSelectionManagedByDataStore()){var E=this._getSelectedIdsFromRowMetaData(u.rowMetaData[0]);h.selection=E}this._emitViewDataChanged(h)}}},{key:"_isSelectionManagedByDataStore",value:function(){return!!(this.getStateByKey(e.protected.DATASTORE_MANAGE_SELECTION)&&this.getStateByKey(e.protected.DATASTORE_MANAGE_SELECTION).value)}},{key:"_getSelectedIdsFromRowMetaData",value:function(u){var c=[];return u.forEach(function(h){Array.isArray(h)&&h[0].selected&&c.push(h[0].id)}),c}},{key:"_parseColumnMetaDataForSortState",value:function(u){var c=void 0;return u.forEach(function(h){h&&h.hasOwnProperty("sorted")&&Array.isArray(h.sorted)&&c===void 0&&(c=h.sorted)}),c}},{key:"_translateSortStateToViewIndices",value:function(u){var c=this,h=[];return Array.isArray(u)&&u.forEach(function(v){var f=c._convertDSCriteriaToViewCriteria(v);f.columnIndex.length>0?h=h.concat(f):h=h.concat([{}])}),h}},{key:"_convertDSCriteriaToViewCriteria",value:function(u){var c=this._columnDataMapper.getMappedViewIndicesForDataIndex(u.columnIndex);return Object.assign({},u,{columnIndex:c})}},{key:"_filterSortStateAgainstSortConfig",value:function(u){var c=this,h=[];return u.forEach(function(v){if(!Array.isArray(v.columnIndex)){h.push({});return}var f=[];v.columnIndex.forEach(function(g){c._doesSortTypeMatchWithConfiguration(Object.assign({},v,{columnIndex:g}))&&f.push(g)}),h.push(Object.assign({},v,{columnIndex:f}))}),h}},{key:"_determineOneColumnForEachSortCriteria",value:function(u){var c=[],h=this._getViewSortArrowColumn();return u.forEach(function(v){if(!Array.isArray(v.columnIndex)){c.push({});return}var f=v.columnIndex[0];v.columnIndex.indexOf(h)>=0&&(f=h),c.push(Object.assign({},v,{columnIndex:f}))}),c}},{key:"_getViewSortArrowColumn",value:function(){var u=this._getPreviousSortState();return u&&u.value?u.rangeList[0].columns.start:-1}},{key:"_doesSortTypeMatchWithConfiguration",value:function(u){return u.compare===this._getSortOrderConfiguredForColumnIndex(u.columnIndex)}},{key:"_getSortOrderConfiguredForColumnIndex",value:function(u){if(!Number.isInteger(u))return i;var c=this._columnMetaData.getHeaderMetaData()[u],h=c.parentId,v=this.getStateByKey(e.protected.GROUPED_COLUMN_HEADERS);return h===void 0||v&&v.value===!1?c.sortType:this._getSortTypeForParentId(h)}},{key:"_getSortTypeForParentId",value:function(u){var c=i;return this._columnSpanningMetaData.forEach(function(h){h.forEach(function(v){v.forEach(function(f){f&&f.value&&f.value[u]&&(c=f.value[u].sortType)})})}),c}},{key:"clearSortState",value:function(u){this._sortState=null,this.deleteState(e.protected.SORTED),this.deleteColumnMetaData(e.protected.SORTED,u.columns.start)}},{key:"clearCurrentSortState",value:function(){var u=this.getStateByKey(e.protected.SORTED);u&&this.clearSortState(u.rangeList[0])}},{key:"_didSortStateChange",value:function(u){if(!Array.isArray(this._sortState)||this._sortState.length!==u.length)return!0;var c=!1;return this._sortState.forEach(function(h,v){c||(h.columnIndex!==u[v].columnIndex||h.order!==u[v].order||h.compare!==u[v].compare)&&(c=!0)}),c}},{key:"_emitViewDataChanged",value:function(){var u=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=this.getStateByKey("viewBuffer");if(h){var v=this._columnMetaData.getUnifiedMetaData(),f=this._rowMetaData.getUnifiedMetaData(),g=this._columnMetaData.getMetaDataRangeList(),m=this._rowMetaData.getMetaDataRangeList();if(this._viewData&&this._viewData.length===g.length&&this._viewData.length===m.length){for(var E=0;E<this._viewData.length;E+=1){var w=this._viewData[E].range,I=g[E],M=m[E];if(w.columns.start!==I.columns.start||w.columns.end!==I.columns.end||w.rows.start!==M.rows.start||w.rows.end!==M.rows.end)return}this.setState(e.protected.VIEW_DATA,this._viewData),this.setState(e.protected.ROW_METADATA,f),this._emit("viewDataChanged",{viewData:this._viewData,columnMetaData:v,rowMetaData:f,rangeList:h.rangeList,columnSpanningMetaData:this._columnSpanningMetaData}),Object.keys(c).forEach(function(R){switch(R){case"sorted":u._didSortStateChange(c.sorted)&&(u._sortState=c.sorted,u._emit(r.internal.DATA_SORTED,{sorted:c.sorted}));break;case"selection":var T=u.getStateByKey("selected")||[];Array.isArray(T)||(T=T.value||[]),T.join()!==c.selection.join()&&u._emit(r.internal.DATASTORE_SELECTION,{selectedIds:c.selection});break}})}}}},{key:"_columnMetaDataToString",value:function(u,c){var h=c?c[0]:0,v=h&&h.columns?h.columns.end:0;if(!u||!u[0]||!v)return"";for(var f=h&&h.columns?h.columns.start:0,g="",m="",E=0,w=" columnWidths = ",I=0,M=f;M<=v;M+=1){var R=null;try{u[0]&&u[0](M)&&(R=u[0](M).value)}catch(x){R=null}if(R){E++,R[e.protected.SORTED]&&(g+=" sortCol = "+M+" sort = "+JSON.stringify(R[e.protected.SORTED]));var T=Object.keys(R);T.length>I&&(I=T.length,m=" col="+M+" label= "+R.label+" prop count = "+T.length+" props="+T);var N="x",F=R&&R.styleData&&R.styleData.hasOwnProperty("maxWidth");F&&(N="s"+R.styleData.maxWidth);var y=R&&R.width&&R.width.hasOwnProperty("value");y&&(N="w"+R.width.value),w+=",["+M+"]"+N}}return"Col Count = "+E+g+m+w}},{key:"sort",value:function(u){for(var c=[],h=0;h<u.length;h+=1){var v=u[h];if(v.columnIndex<this.dataSize.columns.start||v.columnIndex>this.dataSize.columns.end)throw new Error("columnIndex is out of bounds");var f={columnIndex:this._columnDataMapper.viewToDataIndex(v.columnIndex),order:v.order,compare:v.compare};c.push(f)}this._dataModel.sort(c,this._getSortOptions())}},{key:"_getSortOptions",value:function(){var u=!1,c=this.getStateByKey(e.protected.SORT_BEHAVIOUR);return c&&c.value===!0&&(u=!0),{keepSorted:u}}},{key:"setColumnHeaders",value:function(u){if(!u||u.length===0){if(this._columnDataMapper.viewColumnIndexToDataIndex=[],this._viewColumnRange=this._dataModel,this._dataModel.setHeaders)this._dataModel.setHeaders(u);else{var c=[t.range().setColumns(0,-1).setRows(0,1/0)];this.setState("columnHeaders",[],c)}this._columnMetaData.setViewHeaders([]),this._emitDataSizeChanged();return}var h=[t.range().setColumns(0,u.length-1).setRows(0,1/0)];this._viewColumnRange={dataSize:h[0]},this._columnDataMapper.viewColumnIndexToDataIndex=u.map(function(v){return v.dataIndex}),this._columnMetaData.setViewHeaders(u),this._dataModel.setHeaders?this._dataModel.setHeaders(u):this.setState("columnHeaders",u,h)}},{key:"setColumnHeaderConfig",value:function(u){this._columnHeaderConfig=Object.assign({},u);var c=!!(u&&u.displayIndices);this.setState(e.DISPLAY_COLUMN_INDEX,c);var h=!!(u&&u.displayColumnLabel);this.setState(e.DISPLAY_COLUMN_LABEL,h);var v=!!(u&&u.hideColumnHeader);this.setState(e.HIDE_COLUMN_HEADER,v)}},{key:"getColumnHeaderConfig",value:function(){return this._columnHeaderConfig}},{key:"setRowHeaderConfig",value:function(u){this._rowHeaderConfig=u;var c=!!(u&&u.displayIndices),h=!!(u&&u.displayRowLabel);this.setState(e.DISPLAY_ROW_HEADER_INDICES,c),this.setState(e.displayRowHeader,h);var v=u&&u.rowHeaderWidth||0;this.setState(e.rowHeaderWidth,v)}},{key:"getRowHeaderConfig",value:function(){return this._rowHeaderConfig}},{key:"setSpanningHeaders",value:function(u){this._dataModel.setSpanningHeaders&&this._dataModel.setSpanningHeaders(u)}},{key:"getSpanningHeaders",value:function(){return this._dataModel.getSpanningHeaders?this._dataModel.getSpanningHeaders():{}}},{key:"updateHeader",value:function(u){return this._dataModel.updateHeader(u)}},{key:"updateRowHeader",value:function(u,c){return this._dataModel.updateRowHeader(u,c)}},{key:"getColumnHeaders",value:function(){return this._dataModel.getHeaders?this._dataModel.getHeaders()||[]:this.getStateByKey("columnHeaders").value}},{key:"getColumnCount",value:function(){var u=this.getColumnHeaders();return u.length||this.dataSize.columns.count}},{key:"getRowCount",value:function(){return this.dataSize.rows.count}},{key:"setState",value:function(u,c){var h=this,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(["all","keys"].indexOf(u)>=0)throw new Error("The key '"+u+"' is reserved, and cannot be used to setState");var f=v.slice(),g={value:c,rangeList:f,pointerList:[]};this._deleteState(u),this._stateCategoryIndex[u]=g,u===e.protected.SORTED&&this._setPreviousSortState(c,v),f.forEach(function(m){var E=h._stateRangeIndex.insert(m,u);g.pointerList.push(E)}),this._emit(u,this.getStateByKey(u))}},{key:"_setPreviousSortState",value:function(u,c){this._previousSortState=Object.create({value:u,rangeList:c})}},{key:"_getPreviousSortState",value:function(){return this._previousSortState}},{key:"deleteState",value:function(u){this._deleteState(u),this._emit(u)}},{key:"_deleteState",value:function(u){var c=this;if(this._stateCategoryIndex[u]){var h=this._stateCategoryIndex[u];delete this._stateCategoryIndex[u],h.pointerList.forEach(function(v){c._stateRangeIndex.remove(v)})}}},{key:"getStateByKey",value:function(u){var c=this._stateCategoryIndex[u];return c?{value:c.value,rangeList:c.rangeList.slice()}:null}},{key:"getStateByRangeList",value:function(u){var c=this,h={};return h.keys=[],u.forEach(function(v){c._stateRangeIndex.forEach(function(f){var g=f.key,m=f.value;h[m]||t.doesRangeIntersect(v,g)&&(h[m]=c.getStateByKey(m),h[m].firstMatch=g,h.keys.push(m))})}),h}},{key:"on",value:function(u,c){var h=this;this._events[u]||(this._events[u]=[]),this._events[u].push(c);var v={};return v.remove=function(){var f=h._events[u].indexOf(c);h._events[u].splice(f,1),v.remove=function(){return null}},v}},{key:"_addOwnListeners",value:function(u){this._ownedListeners.push(u)}},{key:"_removeOwnListeners",value:function(){this._ownedListeners.forEach(function(u){return u.remove()})}},{key:"destroy",value:function(){this._removeOwnListeners(),this._dataModel=null,this._events={},this._sortState=null,this._previousSortState={},this._stateCategoryIndex={}}},{key:"_emit",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=this._events.all,v=this._events[u],f=Object.getOwnPropertyNames(c),g={};f.forEach(function(E){g[E]=c[E]}),g.eventName=u;var m=function(w){w&&w.forEach(function(I){I(g)})};m(v),m(h)}},{key:"_viewColumnRange",set:function(u){this._viewColumnObject=u},get:function(){return this._viewColumnObject.dataSize.columns}},{key:"viewBuffer",set:function(u){var c=u.size,h=u.rangeList,v=h.slice(),f=this._columnDataMapper.viewToModelRangeMapping(v);this.setState("viewBuffer",c,v),this._manageDataModelPaging(f)},get:function(){var u=this.getStateByKey("viewBuffer");return{size:u.value,rangeList:u.rangeList}}},{key:"viewPort",set:function(u){var c=u.size,h=u.rangeList;this.setState("viewPort",c,h)},get:function(){var u=this.getStateByKey("viewPort");return{size:u.value,rangeList:u.rangeList}}},{key:"dataSize",get:function(){var u=t.range();return u=u.setColumns(this._viewColumnRange.start,this._viewColumnRange.end),u=u.setRows(this._dataModel.dataSize.rows.start,this._dataModel.dataSize.rows.end),u}}]),a}();return s},_,P),_.exports=S},90829:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(63424),l(11487)],S=l.dj.d(b,function(p,d){"use strict";var n=function(s,a){var o=[],u=[];if(a.length===0)u=s.slice(0);else{if(s.forEach(function(f){if(f.start>=a.length||f.end>=a.length)throw new Error("RangeIndex exceeds dataIndexMap size");var g=a.slice(f.start,f.end+1);o=o.concat(g)}),o.length===0)return[];o.sort(function(f,g){return f-g});var c={start:o[0],end:o[0]};u.push(c);for(var h=1;h<o.length;h+=1){var v=o[h];c.end+1===v||c.end===v?c.end=v:(c={start:v,end:v},u.push(c))}}return u},e=function(s,a){var o=[],u=s.map(function(h){return h.columns}),c=n(u,a);return o=o.concat(c.map(function(h){return d.range().setColumns(h.start,h.end).setRows(s[0].rows.start,s[0].rows.end)})),o},t=function(s,a,o){var u=e([s],o),c=[];return u.forEach(function(h){for(var v=!1,f=0;f<a.length;f+=1)if(d.isRangeInside(h,a[f])){v=!0,c.push(f);break}if(!v)throw new Error("Data Range to view range mapping not found")}),c},r=function(){function i(){A(this,i),this._viewColumnIndexToDataIndex=[]}return C(i,[{key:"viewToModelRangeMapping",value:function(a){var o=this,u=[],c=d.groupRangeListByRow(a);return c.forEach(function(h){var v=e(h,o.viewColumnIndexToDataIndex);u=u.concat(v)}),u}},{key:"modelToViewDataMapping",value:function(a,o,u){var c=this,h=[],v=a.map(function(f){return f.range});return u.forEach(function(f,g){var m=void 0;m=t(f,v,c.viewColumnIndexToDataIndex),m.sort(function(M,R){return a[M].range.columns.start-a[R].range.columns.start});var E=[];h[g]=function(M){if(M<E.length)return E[M];throw new Error("No Data Found for rowIndex: "+M)},h[g].range=f;for(var w=f.rows.start;w<=f.rows.end;w+=1){var I=i._createRow(w,m,a,o,c.viewColumnIndexToDataIndex);E[w]=I}}),h}},{key:"viewToDataIndex",value:function(a){var o=this.viewColumnIndexToDataIndex;return o.length>0?o[a]:a}},{key:"getMappedViewIndicesForDataIndex",value:function(a){var o=this.viewColumnIndexToDataIndex;return o.length>0?o.map(function(u,c){return u===a?c:-1}).filter(function(u){return u!==-1}):[]}},{key:"viewColumnIndexToDataIndex",set:function(a){this._viewColumnIndexToDataIndex=a},get:function(){return this._viewColumnIndexToDataIndex}}],[{key:"_createRow",value:function(a,o,u,c,h){var v=o.map(function(f){var g=u[f],m=[];return c&&(m=c[f]),{start:g.range.columns.start,end:g.range.columns.end,cells:g[a],metaData:m[a]||[]}});return p(v,h)}}]),i}();return r},_,P),_.exports=S},29024:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function n(e,t){A(this,n),this._next=null,this._prev=null,this._value=t,this._key=e}return C(n,[{key:"next",get:function(){return this._next},set:function(t){this._next=t}},{key:"prev",get:function(){return this._prev},set:function(t){this._prev=t}},{key:"isLast",get:function(){return this._next===null}},{key:"isFirst",get:function(){return this._prev===null}},{key:"key",get:function(){return this._key}},{key:"value",get:function(){return this._value}}]),n}(),d=function(){function n(){A(this,n),this._root=null}return C(n,[{key:"insert",value:function(t,r){var i=new p(t,r);return this._root!==null&&(this._root.prev=i,i.next=this._root),this._root=i,i}},{key:"find",value:function(t){if(this._root===null)return null;for(var r=this._root;r;){if(r.key===t)return r;r=r.next}return null}},{key:"forEach",value:function(t){if(this._root!==null)for(var r=this._root;r;)t(r),r=r.next}},{key:"removeWithKey",value:function(t){var r=this.find(t);this.remove(r)}},{key:"remove",value:function(t){t&&(t.isFirst?(this._root=t.next,this.root&&!this.root.isLast&&(t.next.prev=null)):t.isLast?t.prev.next=null:(t.prev.next=t.next,t.next.prev=t.prev))}},{key:"root",get:function(){return this._root}}]),n}();return d},_,P),_.exports=S},75622:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";return function(){function p(d){A(this,p),this._flatRangeList=[],this._headerMetaData=[],this._dataMetaData=[],this._viewMetaData=[],this._rankType=d.rankType||"row",this._rankType==="row"?(this._flattenRangeDimension=function(n){return n.setColumns(0,0)},this._flattenData=function(n,e,t){return n[e](t)(0)}):this._rankType==="column"&&(this._flattenRangeDimension=function(n){return n.setRows(0,0)},this._flattenData=function(n,e,t){return n[e](0)(t)}),this._dataViewMapper=d.dataViewMapper}return C(p,[{key:"setViewHeaders",value:function(n){var e=n.slice(0);this._headerMetaData=e}},{key:"getHeaderMetaData",value:function(){return Object.assign({},this._headerMetaData)}},{key:"setRangeList",value:function(n){this._flatRangeList=n.map(this._flattenRangeDimension)}},{key:"setViewMetaData",value:function(n,e,t){this._viewMetaData[t]||(this._viewMetaData[t]={version:0,value:{}}),this._viewMetaData[t].value[n]=e,this._viewMetaData[t].version+=1}},{key:"deleteViewMetaData",value:function(n,e){this._viewMetaData[e]&&(delete this._viewMetaData[e].value[n],this._viewMetaData[e].version+=1)}},{key:"setDataMetaData",value:function(n){var e=this._transform(n,this._dataViewMapper,this._flattenData);this._dataMetaData=e}},{key:"getMetaDataRangeList",value:function(){return this._flatRangeList}},{key:"getUnifiedMetaData",value:function(){for(var n=this,e=this._dataMetaData,t=this._headerMetaData,r=[],i=function(u,c){return Object.keys(u).forEach(function(h){c[h]=u[h]}),c},s=function(u){var c=u;r.push(function(h){var v=e[c](h).value;v=Object(v);var f={};f=i(v,f);var g={_dataMetaData:e[c](h),isEqual:function(M){return this._headerMetaData===M._headerMetaData&&this._viewMetaDataVersion===M._viewMetaDataVersion&&this._dataMetaData.isEqual(M._dataMetaData)}};if(t[h]){var m=t[h];f=i(m,f),g._headerMetaData=t}if(n._viewMetaData[h]){var E=n._viewMetaData[h].value,w=n._viewMetaData[h].version;Object.keys(E).forEach(function(I){f[I]=E[I]}),g._viewMetaDataVersion=w}return g.value=f,g})},a=0;a<e.length;a+=1)s(a);return r}},{key:"_transform",value:function(n,e,t){for(var r=e.modelToViewDataMapping(n,n,this._flatRangeList),i=[],s=t.bind(this,r),a=0;a<r.length;a+=1){var o=s.bind(this,a);i.push(o)}return i}}]),p}()},_,P),_.exports=S},63424:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return function(A,p){if(!Array.isArray(A))throw new Error("No rowData Present");var d=function n(e){var t=void 0;p.length===0?t=e:t=p[e];var r=n._lastAccessRowDataIndex;do{if(t>=A[r].start&&t<=A[r].end)return{value:A[r].cells[t],metaData:A[r].metaData[t]||C,isEqual:function(s){return s.value===this.value&&s.metaData===this.metaData}};r+=1,r=r%A.length}while(r!==n._lastAccessRowDataIndex);throw new Error("No Data Found for cellIndex: "+e)};return d._lastAccessRowDataIndex=0,d._rowData=A,d._dataIndexMap=p,d.isEqual=function(n){if(n._rowData.length!==A.length||p!==n._dataIndexMap)return!1;for(var e=0;e<=A.length;e+=1)if(d._rowData[e].data!==A[e].data)return!1;return!0},d}},_,P),_.exports=S},6287:(_,P,l)=>{var b,S;b=[l(44037),l(88363),l(59138),l(15992),l(1730),l(61300),l(19455),l(22753),l(70739),l(25427),l(35848)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a){"use strict";var o={};const u=[t.ERROR,t.WARNING],c={name:"hideOnEsc",defaultValue:!0,fn({hide:v}){function f(g){g.key==="Escape"&&v()}return{onShow(){document.addEventListener("keydown",f)},onHide(){document.removeEventListener("keydown",f)}}}};class h extends C{static get styles(){return a`
[mw-tooltip] {
visibility: hidden;
opacity: 0;
transition: opacity 0.2s linear;
}
[mw-tooltip = 'show'] {
visibility: visible;
position: absolute;
overflow: hidden;
max-height: 400px;
max-width: min(calc(100vw - 20px), 400px);
z-index: 951;
opacity: 1;
transition: opacity 0.2s linear;
background-color: var(--mw-backgroundColor-tertiary, $mw-backgroundColor-tertiary);
border: 1px solid var(--mw-borderColor-primary, $mw-borderColor-primary);
border-radius: 2px;
padding: 5px;
box-shadow: 0 1px 4px 0 var(--mw-boxShadowColor, $mw-boxShadowColor);
display: flex;
align-items: center;
}
[mw-tooltip = 'show'] .mw-tooltip-text {
color: var(--mw-color-primary);
font: 12px Arial;
letter-spacing: 0.23px;
line-height: 14px;
white-space: wrap;
max-height: 400px;
word-wrap:break-word;
font-kerning: normal;
min-width: 0;
}
[mw-tooltip = 'show'] .mw-tooltip-icon-error {
height: 12px;
width: 12px;
display: inline-block;
margin-right: 5px;
}
[mw-tooltip = 'show'] .mw-tooltip-icon-warning {
height: 12px;
width: 12px;
display: inline-block;
margin-right: 5px;
}
[mw-tooltip = 'show'][mw-tooltip-type = 'error'] {
border: 1px solid var(--mw-borderColor-error, $mw-borderColor-error);
background-color: var(--mw-backgroundColor-secondary-error, $mw-backgroundColor-secondary-error);
}
[mw-tooltip = 'show'][mw-tooltip-type = 'warning'] {
border: 1px solid var(--mw-borderColor-warning, $mw-borderColor-warning);
background-color: var(--mw-backgroundColor-secondary-warning, $mw-backgroundColor-secondary-warning);
}
`}static get properties(){return{referenceNode:{type:Object,reflect:!1,attribute:!1},referenceSelector:{type:String,reflect:!0,attribute:!0},content:{type:String,reflect:!0,attribute:!0},type:{type:String,reflect:!0,attribute:!0},isHTML:{type:String,reflect:!0,attribute:!0},dataTestId:{type:String,reflect:!0,attribute:"data-test-id"}}}constructor(){super(),this._referenceSelector=null,this._referenceNode=null,this._content=null,this._type="",this._isHTML=!1,this._experimentalUseShadowDom=!0,this.tID="mw-tooltip-"+n.generateUuid()}connectedCallback(){if(super.connectedCallback(),n.hasMultipleReferenceNode(this.referenceNode))for(const f of this.referenceNode)this._destroyTooltipFromDOM(f);else n.isElement(this.referenceNode)&&this._destroyTooltipFromDOM(this.referenceNode)}set type(f){const g=this._type;f=typeof f=="string"?f.toLowerCase():f,this._type=u.includes(f)?f:"",this.requestUpdate("type",g)}get type(){return this._type}set content(f){const g=this._content;this._content=f||null,this.requestUpdate("content",g)}get content(){return this._content}set isHTML(f){const g=this._isHTML;this._isHTML=f==="true"||f===!0,this.requestUpdate("isHTML",g)}get isHTML(){return this._isHTML}set referenceNode(f){const g=this._referenceNode;if(!n.isValidReferenceNode(f))throw new Error("You must pass a valid dom node");if(g===null){if(n.hasMultipleReferenceNode(f))for(const m of f)this._errorIfTooltipExist(m),r.set(m,this);else this._errorIfTooltipExist(f),r.set(f,this);i.set(f,this),this._referenceNode=f}}get referenceNode(){return this._referenceNode}set referenceSelector(f){const g=this._referenceSelector;if(!n.isSelectorValid(f))throw new Error("Only class and id selector is supported at this moment.");if(g!==null)return;const m=document.querySelectorAll(f);this.referenceNode=m,this._referenceSelector=f,this.requestUpdate("referenceSelector",g)}get referenceSelector(){return this._referenceSelector}_errorIfTooltipExist(f){if(r.has(f))throw new Error("A tooltip already exists for this reference node. Pass a new reference node")}_destroyTooltipFromDOM(f){const{promise:g,observer:m}=n.observeElementInDom(f);this._referenceObserver=m,g.then(E=>{this.destroy()})}_getReferenceNodeTheme(f){let g=p.getTheme(f);return g=g===""?e.light:e[g],g}_createTippy(){if(!this._tippyInstance&&this.content){const f=this;this._tippyInstance=s(f.referenceSelector||f.referenceNode,{arrow:!1,allowHTML:f.isHTML,content:f.content,delay:[500,0],followCursor:"initial",placement:"bottom-end",appendTo:()=>f.renderRoot,interactive:!0,interactiveBorder:0,offset:[5,15],aria:{content:"describedby",expandable:!1},moveTransition:"opacity 0.2s linear",trigger:"mouseenter focusin",zIndex:951,onMount(g){g.reference.setAttribute("aria-describedby",`${f.tID}`);const m=f._getReferenceNodeTheme(g.reference);p.setTheme(m,f),f.setAttribute("isOpen",!0)},onHide(g){g.reference.removeAttribute("aria-describedby"),f.removeAttribute("isOpen")},onShow(g){s.hideAll({exclude:g})},animation:!1,plugins:[c],render(g){g.type=f.type,f.setAttribute("id",f.tID),f.setAttribute("role","tooltip");const m=n.calculateTooltipZindex(g.reference,f);f.setAttribute("zIndex",m!=="auto"?m:951);const E=document.createElement("span");E.setAttribute("mw-tooltip","show"),d.createContent({content:{text:g.props.content,isHTML:g.props.allowHTML,type:f.type},container:E});function w(I,M){E&&(I.content!==M.content||I.allowHTML!==M.allowHTML||E.type!==f.type)&&(E.innerHTML="",d.createContent({content:{text:M.content,isHTML:M.allowHTML,type:f.type},container:E}))}return{popper:E,onUpdate:w}}})}else this._tippyInstance&&Array.isArray(this._tippyInstance)?this._tippyInstance.forEach(f=>{f.setProps({content:this.content,allowHTML:this.isHTML})}):this._tippyInstance&&this._tippyInstance.setProps({content:this.content,allowHTML:this.isHTML})}disconnectedCallback(){this.content=null,this.type="",this.isHTML=!1,this._referenceNode=null,this._referenceSelector=null,this.tID=null,this._tippyInstance=null,super.disconnectedCallback()}updated(f){(f.has("type")||f.has("content")||f.has("isHTML"))&&this._createTippy()}_destroyTippyInstance(f){f&&f.destroy()}_removeAriaAttribute(f){f&&f.reference.hasAttribute("aria-describedby")&&f.reference.removeAttribute("aria-describedby")}destroy(){if(i.has(this.referenceNode)){let f=i.get(this.referenceNode),g=f&&f._tippyInstance;if(g&&Array.isArray(g)?g.forEach(m=>{this._removeAriaAttribute(m),this._destroyTippyInstance(m)}):(this._removeAriaAttribute(g),this._destroyTippyInstance(g)),n.hasMultipleReferenceNode(this.referenceNode))for(const m of this.referenceNode)r.has(m)&&r.delete(m);else r.delete(this.referenceNode);i.delete(this.referenceNode),n.stopObservingElement(this._referenceObserver),this._referenceObserver=null,g=null,f&&document.body.removeChild(f),f=null}}}return o.default=A({name:"mw-tooltip",widgetClass:h}),o.default},_,P),_.exports=S},15992:(_,P,l)=>{"use strict";var b,S;b=[l(19455),l(23597)],S=l.dj.d(b,function(C,A){"use strict";var p={};const d=`
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0.5L15.5 14.5H0.5L8 0.5Z" fill="var(--mw-icon-alert-red, #B7313C)" stroke="var(--mw-icon-alert-red, #B7313C)" stroke-linecap="square" stroke-linejoin="round"/>
<circle cx="8" cy="12" r="1" fill="var(--mw-icon-background-default-white, white)"/>
<path d="M8 9V5" stroke="var(--mw-icon-background-default-white, white)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<use href="#error" />
</svg>`,n=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0.5L15.5 14.5H0.5L8 0.5Z" fill="var(--mw-icon-background-medium-yellow, #FFEF91)" stroke="var(--mw-icon-border-default-yellow, #674C06)" stroke-linecap="square" stroke-linejoin="round"/>
<circle cx="8" cy="12" r="1" fill="var(--mw-icon-glyph-content-yellow, #674C07)"/>
<path d="M8 9V5" stroke="var(--mw-icon-glyph-content-yellow, #674C07)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<use href="#warning" />
</svg>`;class e{static createContent(r){const{container:i,content:s}=r;if(s.type){let o=document.createElement("div");const u=s.type;let c;if(s.type===C.ERROR?(c="mw-tooltip-icon-error",o.innerHTML=d):s.type===C.WARNING&&(o.innerHTML=n,c="mw-tooltip-icon-warning"),c){const h=o.children[0].cloneNode(!0);o=null,i.setAttribute("mw-tooltip-type",u),h.setAttribute("class",c),i.appendChild(h)}}else i.hasAttribute("mw-tooltip-type")&&i.removeAttribute("mw-tooltip-type");i.type=s.type,(s.text===void 0||s.text===null)&&(s.text=""),typeof s.text!="string"&&(s.text=s.text.toString());const a=document.createElement("span");if(a.className="mw-tooltip-text",i.appendChild(a),s.isHTML===!0){const o=A.sanitizeHtmlForTooltip(s.text);a.appendChild(o)}else s.text.split(`
`).forEach(u=>{const c=document.createElement("span");c.textContent=u,a.appendChild(c),a.appendChild(document.createElement("br"))})}}return p.default=e,p.default},_,P),_.exports=S},22753:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};class A{constructor(){this._tooltipDepot=new WeakMap}clear(){this._tooltipDepot=new WeakMap}delete(d){return this._tooltipDepot.delete(d)}get(d){return this._tooltipDepot.get(d)}has(d){return this._tooltipDepot.has(d)}set(d,n){return this._tooltipDepot.set(d,n),this}}return C.default=new A,C.default},_,P),_.exports=S},70739:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};class A{constructor(){this._tooltipStore=new WeakMap}clear(){this._tooltipStore=new WeakMap}delete(d){return this._tooltipStore.delete(d)}get(d){return this._tooltipStore.get(d)}has(d){return this._tooltipStore.has(d)}set(d,n){return this._tooltipStore.set(d,n),this}}return C.default=new A,C.default},_,P),_.exports=S},61300:(_,P,l)=>{var b,S;b=[l(1797)],S=l.dj.d(b,function(C){"use strict";var A={};const p=Object.freeze({light:C.LIGHT,dark:C.DARK});return A.default=p,A.default},_,P),_.exports=S},19455:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A=Object.freeze({WARNING:"warning",ERROR:"error"});return C.default=A,C.default},_,P),_.exports=S},23597:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};const A={B:[],BR:[],CODE:[],EM:[],I:[],S:[],SUB:[],SUP:[],STRONG:[],U:[]},p=function(d){return function(n){const e=function(o,u){const c=[];for(const h of o){const v=h;if(u.hasAttribute(v)){const f=u.getAttribute(v);c.push({key:v,value:f})}}return c},t=function(o){let u;if(o.nodeType===window.Node.ELEMENT_NODE)if(d[o.tagName]){u=document.createElement(o.tagName);const h=d[o.tagName];e(h,o).forEach(f=>{u.setAttribute(f.key,f.value)})}else u=document.createDocumentFragment();else o.nodeType===window.Node.TEXT_NODE?u=document.createTextNode(o.textContent):u=document.createDocumentFragment();return u},r=function(o,u=0){const c=document.createDocumentFragment();if(u>150||!o)return c;for(let h=o.firstChild;h;h=h.nextSibling){const v=t(h);h.nodeType===window.Node.ELEMENT_NODE&&v.appendChild(r(h,u+1)),c.appendChild(v)}return c},s=new DOMParser().parseFromString(n,"text/html");let a;return s.body?a=r(s.body):a=document.createDocumentFragment(),a}};return C.default={sanitizeHtmlForTooltip:p(A)},C.default},_,P),_.exports=S},1730:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};class A{static getCoordsWrtPage(d){const n=d.getBoundingClientRect();return{top:n.top+window.pageYOffset,left:n.left+window.pageXOffset}}static isElement(d){return d instanceof window.Element||d instanceof window.HTMLElement}static isValidReferenceNode(d){return d&&Array.isArray(d)&&d.length>0?d.every(n=>n instanceof window.Element||n instanceof window.HTMLElement):d instanceof window.Element||d instanceof window.HTMLElement||d instanceof window.NodeList&&d.length>0}static removeChildNodes(d){for(;d.lastChild;)d.removeChild(d.lastChild)}static getBrowserVerticalScrollbarWidth(){return window.innerWidth-document.documentElement.clientWidth}static getBrowserHorizontalScrollbarHeight(){return window.innerHeight-document.documentElement.clientHeight}static getScrollbarWidth(d){return d.offsetWidth-d.clientWidth}static getScrollbarHeight(d){return d.offsetHeight-d.clientHeight}static setTooltipPrivateEventProp(d,n,e){(!d[n]||!d[n][e])&&(d[n]={},d[n][e]="true")}static getTooltipPrivateEventProp(d,n,e){return!!(d[n]&&d[n][e])}static generateUuid(){return"xxxxxxxx".replace(/[xy]/g,function(d){const n=Math.random()*16|0;return(d==="x"?n:n&3|8).toString(16)}).toUpperCase()}static getElementZindex(d){return window.getComputedStyle(d).getPropertyValue("z-index")}static getEffectiveZindex(d){let n=0,e,t=!0;for(;d&&A.isElement(d);)e=A.getElementZindex(d),e!=="auto"&&(e=parseInt(e,10),e>n&&(t=!1,n=e)),d=d.parentNode;return t?"auto":n}static isSelectorValid(d){return d.substring(0,1)==="."||d.substring(0,1)==="#"}static calculateTooltipZindex(d,n){const e=A.getEffectiveZindex(d),t=A.getElementZindex(n);return e==="auto"||t==="auto"||e<t?"auto":e+1}static observeElementInDom(d){let n,e=document.body.contains(d);const t=new Promise(function(i,s){n=i}),r=new window.MutationObserver(function(i){document.body.contains(d)?e=!0:e&&(e=!1,n(d))});return r.observe(document.body,{childList:!0,subtree:!0}),{promise:t,observer:r}}static stopObservingElement(d){d.disconnect()}static hasMultipleReferenceNode(d){return d&&(Array.isArray(d)||d instanceof window.NodeList)&&d.length>0}}return C.default=A,C.default},_,P),_.exports=S},28894:(_,P,l)=>{var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(86560),l(20980),l(16341),l(26407),l(67186),l(96858),l(367),l(59400),l(61434),l(52018),l(42429),l(64338),l(76068),l(11487),l(83291),l(24932),l(68592),l(83816),l(67490),l(66874),l(26204),l(51337),l(48784),l(42229)],S=l.dj.d(b,function(d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,E,w,I,M,R,T,N,F){"use strict";var y=function(){function x(O){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};p(this,x),this._eventListeners=[],this._controllers=[],this._plugins=[],this._eventsMap={},this._createModels(O);var W=m.getPluginsBasedOnDSConfiguration(this._dataStore)||[],j=L.plugins||[],H=[].concat(A(j),A(W));H=H.length>0?H:void 0;var K=this._getConfiguredPlugins(H,L);this._setViewModel(this._myViewModel,L),this._domNode=document.createElement("div"),this._domNode.className="mw-tree treeContainer",this._domNode.setAttribute("data-test-id",L.dataTestId),this._configureFeatureSpecificViewAndController(L,K),this._createAndConfigureControllers(L),this._createAndConfigurePlugins(K,L),this._configureExposedVariableApis()}return C(x,[{key:"_configureFeatureSpecificViewAndController",value:function(L,W){if(L.editor&&L.editor.type){this._treeView=new t(this._myViewModel,this._domNode,L,W);var j=new r(this._treeView,this._myViewModel,this._dataStore);this._proxyControllerEvents(j,j.emits),this._controllers.push(j)}else this._treeView=new e(this._myViewModel,this._domNode,L,W);var H=new i(this._treeView,this._myViewModel,this._dataStore),K=new s(this._treeView,this._myViewModel,this._dataStore);this._controllers.push(K);var $=H.emits;this._proxyControllerEvents(H,$),this._controllers.push(H),this._facadeListeners(this._controllers),this._mixinFacade(this._controllers)}},{key:"_warnUsersAboutIncompatiblePlugins",value:function(L){var W=m.COMPATIBLE,j="",H="[";L.forEach(function(K){j+=K.name+" "}),H+=j.trim()+"] are incompatible/not supported, however [",W.forEach(function(K){var $="",V=!1;K.forEach(function(z){L.indexOf(z)&&(V=!0),$+=z.name+" "}),V&&(H+=$.trim()+"] ")}),H+="are supported.",console.warn(H)}},{key:"_discardIncompatiblePlugins",value:function(L){var W=this,j=m.INCOMPATIBLE,H=[];return j.forEach(function(K){var $=0;K.forEach(function(V){var z=L.indexOf(V);z>-1&&($>0&&H.push(z),$++)}),H.length>0&&W._warnUsersAboutIncompatiblePlugins(K)}),H.forEach(function(K){return L.splice(K,1)}),L}},{key:"_getConfiguredPlugins",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[m.AVAILABLE.SingleNodeSelection],W=arguments[1],j=[];L.forEach(function(K){Array.isArray(K)?Array.prototype.push.apply(j,K):j.push(K)});var H=[];return H=j.reduce(function(K,$){return K.indexOf($)===-1&&K.push($),K},[]),this._discardIncompatiblePlugins(H)}},{key:"_setViewModel",value:function(L,W){var j=W.lookAheadNodeBuffer,H=W.nodeHeightInPx;L.setState("lookAheadNodeBuffer",j||M.lookAheadNodeBuffer),L.setState("nodeHeightInPx",H||M.nodeHeight),this._viewStateOptions={lookAheadNodeBuffer:j,nodeHeightInPx:H}}},{key:"_createModels",value:function(L){Array.isArray(L)?this._dataStore=c.create(L,Object.assign({},{type:R.TREE})):this._dataStore=L;var W=new h(this._dataStore);this._myViewModel=new v(W)}},{key:"_createAndConfigureControllers",value:function(L){var W=new a(this._treeView,this._myViewModel,this._dataStore),j=new F(this._treeView,this._myViewModel,this._dataStore);if(L.actions){var H=new o(this._treeView,this._myViewModel,this._dataStore,L);this.executeAction=H.executeAction;var K=H.emits;this._proxyControllerEvents(H,K),this._controllers.push(H)}if(!this._dataStore.isCheckboxTree&&!L.editor){var $=new u(this._treeView,this._myViewModel,this._dataStore),V=$.emits;this._proxyControllerEvents($,V),this._controllers.push($)}var z=j.emits;this._proxyControllerEvents(j,z),this._controllers.push(W),this._controllers.push(j)}},{key:"_proxyControllerEvents",value:function(L,W){var j=this;W.forEach(function(H){j._eventsMap[H]=L})}},{key:"_makeMap",value:function(){var L={_map:{},get:function(j){return this._map[j]},set:function(j,H){this._map[j]=H}};return typeof Map>"u"?L:new Map}},{key:"_createAndConfigurePlugins",value:function(){var L=this,W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[m.AVAILABLE.SingleNodeSelection],j=arguments[1],H=this._makeMap(),K=void 0;W.forEach(function($){var V=$.adaptor;H.get(V.toString())||(K=new V(L._myViewModel,L._treeView,L._dataStore,j),H.set(V.toString(),K));var z=new $(H.get(V.toString()));L._plugins.push(z)}),this._facadeListeners(this._plugins),this._mixinFacade(this._plugins)}},{key:"_mixinFacade",value:function(L){var W=this;L.forEach(function(j){var H=j.exposedAPI();Object.keys(H).forEach(function(K){if(K==="exposedVariables"){var $=H.exposedVariables;Object.keys($).forEach(function(V){Object.defineProperty(W,V,{set:$[V].setter,get:$[V].getter})})}W[K]=H[K]})})}},{key:"_configureExposedVariableApis",value:function(){var L=this,W=this._exposedVariables();Object.keys(W).forEach(function(j){Object.defineProperty(L,j,{set:W[j].setter,get:W[j].getter})})}},{key:"_facadeListeners",value:function(L){var W=this;L.forEach(function(j){j.emits.forEach(function(H){return W._eventsMap[H]=j})})}},{key:"_constructTreeView",value:function(){this._treeView.initialize()}},{key:"resize",value:function(L,W){if(this._treeView){var j=this._viewStateOptions.nodeHeightInPx;this._myViewModel.setState("nodeHeightInPx",j||M.nodeHeight),this._treeView.resize(L,W)}}},{key:"_setDisabled",value:function(L){this._isDisabled!==L&&typeof L=="boolean"&&this._treeView.setDisableState(L)}},{key:"_isDisabled",value:function(){return this._treeView.getDisableState()}},{key:"_exposedVariables",value:function(){var L=this;return{disable:{setter:function(j){L._setDisabled(j)},getter:function(){return L._isDisabled()}}}}},{key:"startup",value:function(){var L=this._domNode.clientHeight;L===0&&console.warn("Please set Tree's container height to 100% or value greater than 0. If the container height is unset, Tree will display 10 TreeNodes only."),this._constructTreeView()}},{key:"on",value:function(L,W){if(this._eventsMap[L]){var j=d(this._eventsMap[L],L,W);return this._eventListeners.push(j),j}else throw new Error("Tree Configuration does not seem to support the event that you want to configure. Please check configuration.")}},{key:"expand",value:function(L,W){if(Array.isArray(L)&&L.length)this._dataStore.expand(L);else throw new Error("Expected: non empty treeNodearray. Usage: tree.expand([{id: 'node1'}])")}},{key:"expandAll",value:function(){this._dataStore.expandAll()}},{key:"collapse",value:function(L,W){if(Array.isArray(L)&&L.length)this._dataStore.collapse(L);else throw new Error("Expected: non empty treeNodearray. Usage: tree.collapse([{id: 'node1'}])")}},{key:"collapseAll",value:function(){this._dataStore.collapseAll()}},{key:"scrollTo",value:function(L){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0};if(L===I.FIRST_NODE)this._treeView.scrollToIndex(this._myViewModel.dataSize.rows.start);else if(L===I.LAST_NODE)this._treeView.scrollToIndex(this._myViewModel.dataSize.rows.end);else if(L&&L.id){var j={treeNode:L,options:W};this._treeView.scrollTo(j)}else throw new Error("Expected: Tree.FIRST_NODE, Tree.LAST_NODE or treeNode object with id property. Usage: scrollTo({id: 'node1'})")}},{key:"destroy",value:function(){this._eventListeners.forEach(function(W){return W.remove()}),this._controllers.forEach(function(W){W.destroy&&W.destroy()}),this._plugins.forEach(function(W){return W.destroy()});var L=this._domNode.parentNode;this._treeView.destroy(),L&&L.removeChild(this._domNode)}},{key:"domNode",get:function(){return this._domNode}}],[{key:"PLUGINS",get:function(){return m.AVAILABLE}},{key:"EDITORS",get:function(){return g}},{key:"ACTIONS",get:function(){return w.ACTIONS}},{key:"FIRST_NODE",get:function(){return I.FIRST_NODE}},{key:"LAST_NODE",get:function(){return I.LAST_NODE}},{key:"DND_ENUM",get:function(){return E.MODE}},{key:"KEYS",get:function(){return T}},{key:"PLATFORMS",get:function(){return N.exposed}}]),x}();return y},_,P),_.exports=S},18126:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(51337)],S=l.dj.d(b,function(n,e){var t="CheckboxTreeAdaptor",r=function(i){d(s,i);function s(a,o,u){A(this,s);var c=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));c._view=o,c._viewModel=a,c._dataStore=u;var h={};return h.checkBoxClicked=function(v){return c._checkboxClicked(v)},h.keyUpToggleCheckedState=function(v){return c._handleKeyChange(v)},c._view.registerEventCallback(h,!0),c}return C(s,[{key:"_emitCheckboxStateChanged",value:function(o){this.emit("checkboxStatusChangeRequested",{node:o.node,newValue:o.newValue,isSpaceKeyPressed:o.isSpaceKeyPressed})}},{key:"updateCheckboxState",value:function(o,u){return this._dataStore.updateChecked({id:o.id},u)}},{key:"_checkboxClicked",value:function(o){var u=this._viewModel.getStateByKey("treeContainerNode");u=u?u.value:null,u&&u.focus(),this._emitCheckboxStateChanged({node:o.node.value,newValue:o.detail.newValue})}},{key:"_isNodeEditable",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,c=u>=-1;if(!c)return!1;var h=this._dataStore.getLocalRowMetaData?this._dataStore.getLocalRowMetaData(u):{};return h.readonly&&(c=!1),c}},{key:"_handleKeyChange",value:function(o){var u=this,c=o.ctrlKey||o.metaKey;if(!(o.keyCode!==e.SPACE||c)){var h=this._viewModel.getStateByKey("keyboardActive");if(h=h?h.value:null,!!h)return this._dataStore.getNode(h).then(function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u._isNodeEditable(v.node,v.index)&&u._emitCheckboxStateChanged({node:v.node,isSpaceKeyPressed:!0})})}}},{key:"destroy",value:function(){}}],[{key:"toString",value:function(){return t}}]),s}(n);return r},_,P),_.exports=S},64771:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(71788),l(65275),l(26061),l(51337),l(7275),l(32264)],S=l.dj.d(b,function(n,e,t,r,i,s,a){var o="clipboardAdaptor",u=function(v){return v.ctrlKey||v.metaKey||v.meta},c=function(h){d(v,h);function v(f,g,m,E){A(this,v);var w=p(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));w._viewModel=f,w._view=g;var I=E||null;w._registerClipboardConfig(I),w._onFailure=w._onFailure.bind(w),w._onSuccess=w._onSuccess.bind(w);var M={};return M[t.CCP_KEY_PRESSED]=function(R){return w._handleKeyPress(R)},M[t.CLIPBOARD_COPY]=function(R){return w._handleCopyEvent(R)},M[t.CLIPBOARD_CUT]=function(R){return w._handleCutEvent(R)},M[t.CLIPBOARD_PASTE]=function(R){return w._handlePasteEvent(R)},g&&g.registerEventCallback(M),w}return C(v,[{key:"_registerClipboardConfig",value:function(g){var m=g?g.clipboardConfig:null;this._onCutCallback=e.toPromise,this._onCopyCallback=e.toPromise,m&&(m.onCut&&(this._onCutCallback=m.onCut),m.onCopy&&(this._onCopyCallback=m.onCopy),this._onPasteCallback=m.onPaste,this._onFailureCallback=m.onFailure,this._onSuccessCallback=m.onSuccess)}},{key:"_handleKeyPress",value:function(g){if(u(g))switch(g.keyCode){case i.C:g.preventDefault(),this._handleCopyEvent();break;case i.X:g.preventDefault(),this._handleCutEvent();break;case i.V:break}}},{key:"cut",value:function(){this._handleCutEvent()}},{key:"copy",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(s.isDataTransferValid(g)){this._serviceWrite(g);return}this._handleCopyEvent()}},{key:"paste",value:function(){this._handlePasteEvent()}},{key:"_handleCutEvent",value:function(){var g=this;this._isEditing()||this._getCutData().then(function(m){return g._serviceWrite(m)})}},{key:"_handleCopyEvent",value:function(){var g=this;this._isEditing()||this._getCopyData().then(function(m){g._serviceWrite(m)})}},{key:"_isEditing",value:function(){var g=this._viewModel.getStateByKey(r.IS_TREE_IN_EDIT);return g&&g.value}},{key:"_handlePasteEvent",value:function(g){this._serviceRead(g)}},{key:"_getCutData",value:function(){return this._onCutCallback()}},{key:"_getCopyData",value:function(){return this._onCopyCallback()}},{key:"_onSuccess",value:function(g){var m=this._onSuccessCallback;m&&m(g)}},{key:"_onFailure",value:function(g){var m=this._onFailureCallback;m&&m(g)}},{key:"_getServiceConfig",value:function(){var g={};return g}},{key:"_serviceRead",value:function(g){var m=this;if(this._onPasteCallback){var E=a.getInstance(this._getServiceConfig());E.read({event:g}).then(function(w){var I=w.dataTransfer,M=w.status,R=w.message;m._onPasteCallback(I),m._onSuccess({status:M,message:R})}).catch(function(w){return m._onFailure(w)})}}},{key:"_serviceWrite",value:function(g){var m=this;if(s.isDataTransferValid(g)){var E=a.getInstance(this._getServiceConfig());E.write({dataTransfer:g}).then(this._onSuccess).catch(function(w){return m._onFailure(w)})}}}],[{key:"toString",value:function(){return o}}]),v}(n);return c},_,P),_.exports=S},30647:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(82713),l(20980),l(91737)],S=l.dj.d(b,function(n,e,t){var r="ContextMenuAdaptor",i=function(s){d(a,s);function a(o,u,c){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};A(this,a);var v=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));v._view=u,v._viewState=o,v._treeOptions=h;var f={};return f[t.TREE_EVENTS.contextMenuClick]=function(g){return v._processAndEmitContextMenuClickEvt(g)},f[t.TREE_EVENTS.keyboardContextMenu]=function(g){return v._scrollToFocusedNode(g)},v._view.registerEventCallback(f,!0),v}return C(a,[{key:"_scrollToFocusedNode",value:function(u){var c=this,h={},v=this._viewState.getStateByKey("focused"),f=u.focusedDomNodePosition,g=u.treeContainerPosition,m=!1,E=function(){var M=c._view._rootDom.querySelector(".treeNode.focused");h.top=M.getBoundingClientRect().height/2+M.getBoundingClientRect().top,h.left=c._view._rootDom.querySelector(".treeNode.focused .treeNodeText").getBoundingClientRect().left,c._emitShiftF10Evt(v,h,g)};if(f&&(m=g.top<f.top&&g.bottom>f.bottom),v)if(m)E();else{var w={treeNode:{id:v.value.id},options:{maintainPositionIfInView:!0}};this._view.scrollTo(w,E)}else h.top=g.top,h.left=g.left,this._emitShiftF10Evt(null,h,g)}},{key:"_emitShiftF10Evt",value:function(u,c,h){(c.left<h.left||c.left>h.right)&&(c.left=h.left);var v={};u?(v={type:"TREENODE",nodeId:u.value.id},c.node=u.value):v={type:"TREE"},c.emitTarget=v,this._processAndEmitContextMenuClickEvt(c)}},{key:"_processAndEmitContextMenuClickEvt",value:function(u){var c=!1,h={};if(this._treeOptions.editor&&this._treeOptions.editor.type&&(c=!0),h.type="TREE",u.node){var v=n.isNodeAlreadySelected(this._viewState,u.node);u.isNodeAlreadySelected=v,u.isNodeAlreadySelected&&(u.selectedNodes=n.getSelectedNodes(this._viewState)),h.nodeId=u.node.id,h.type="TREENODE";var f=u.metadata||{};c=c&&!f.readonly}u.emitTarget||(u.emitTarget=h),u.emitTarget.isEditable=c,this.emit("treeContextMenu",u)}},{key:"setContextMenuFocus",value:function(u){n.setContextMenuFocus(this._viewState,u)}}],[{key:"toString",value:function(){return r}}]),a}(e);return i},_,P),_.exports=S},54653:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(68592)],S=l.dj.d(b,function(n,e){var t="DnDAdaptor",r={TREENODE:"TREENODE",TREE:"TREE"},i=function(s){d(a,s);function a(o,u,c,h){A(this,a);var v=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));v.viewState=o,v.dataStore=c,v.dragAndDropConfig=h.dragAndDropConfig,v.view=u,v.viewState.setState("dnd",!0),v._options=h;var f={};return f.containerMount=function(g){return v.emit(e.Events.registerDnDSource,g)},f.containerUpdate=function(){return v.emit(e.Events.syncDnDSource)},u&&u.registerEventCallback(f),v.viewState.on("selected",function(g){var m=g.value&&g.rangeList[0],E=[];Array.isArray(m)?E=m.map(function(w){return w.id}):E.push(m.id),v.emit(e.Events.onDragSelection,{ids:E})}),v.setDnDEndsState({}),v}return C(a,[{key:"updateView",value:function(){this.viewState.setState("updateView",!0)}},{key:"getCurrentViewPortData",value:function(){return this.viewState.getStateByKey("currentViewPortData").value}},{key:"getDragAndDropConfig",value:function(){return this.dragAndDropConfig||{}}},{key:"isGlobalDragAllowed",value:function(){return!!this.getDragAndDropConfig().setDragDataBySelection}},{key:"isGlobalDropAllowed",value:function(){var u=this.getDragAndDropConfig().onDrop;return!!(u&&typeof u=="function")}},{key:"getSelectionData",value:function(){var u=this,c=this.getCurrentViewPortData(),h=this.getCurrentSelection();h=h?h.slice(0):[];var v=[],f=c.range.rows.start,g=c.range.rows.end,m=new Promise(function(E,w){for(var I=function(N){if(c(N)(0)&&c(N)(0).value){var F=h.findIndex(function(y){return y.id===c(N)(0).value.id});F>-1&&(v.push(c(N)(0).value.data),h.splice(F,1))}},M=f;M<=g&&h.length>0;M++)I(M);if(h.length===0)E(v);else{var R=[];h.forEach(function(T){R.push(u.dataStore.getNode(T).then(function(N){N&&N.node&&v.push(N.node.data)}))}),Promise.all(R).then(function(){E(v)})}});return m}},{key:"isReorderingEnabled",value:function(){return this.dragAndDropConfig&&this.dragAndDropConfig.mode===e.MODE.REORDER}},{key:"isReparentingOnlyEnabled",value:function(){return this.dragAndDropConfig&&this.dragAndDropConfig.mode===e.MODE.REPARENT}},{key:"isNodeLabelTruncated",value:function(){return this._options&&this._options.textTruncation&&this._options.textTruncation!=="none"}},{key:"getCurrentSelection",value:function(){var u=[],c=this.viewState.getStateByKey("selected");return c&&(u=c.rangeList[0]),u}},{key:"_isNodeInDragList",value:function(u,c){var h=u.some(function(v){return v.id===c.id});return h}},{key:"_emitMoveEvents",value:function(u,c,h){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f={};h.id===null?f.type=r.TREE:f={nodeId:h.id,type:r.TREENODE},v.source=c,v.target=f,this.emit(u,v)}},{key:"_moveSuccessful",value:function(u,c){var h=this,v={nodeIds:u,type:r.TREENODE};return this._emitMoveEvents(e.Events.moveCompleted,v,c),this.dataStore.getNode({id:c.id}).then(function(f){f&&f.node&&!f.node.isExpanded&&h.viewState.setState("potentialNextKeyboardActiveNode",f.node)})}},{key:"moveTreeNodes",value:function(u,c){var h=this,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"first"},f=[],g=[],m=[],E=[],w=function(M,R,T){if(R)m.push(M);else{var N=E.find(function(F){return F.error.reason===T.reason});N||(N={nodeIds:[],error:{reason:T.reason,message:T.message}},E.push(N)),N.nodeIds.push(M)}};return new Promise(function(I,M){u.forEach(function(R){var T=h.dataStore.getParentNode({id:R.id}).then(function(N){var F=N?N.node:{id:null},y=F!==null&&h._isNodeInDragList(u,F);if(!y){var x=h.dataStore.move({id:F.id},{id:R.id},{id:c.id},v).then(w.bind(h,R.id,!0),w.bind(h,R.id,!1));g.push(x)}});f.push(T)}),Promise.all(f).then(function(){Promise.all(g).then(function(){E.forEach(function(R){var T={nodeIds:R.nodeIds,type:r.TREENODE};h._emitMoveEvents(e.Events.moveFailed,T,c,{error:R.error})}),m.length!==0?h._moveSuccessful(m,c).then(function(){I({movedNodes:m,failedReasons:E})}):I({movedNodes:m,failedReasons:E})})})})}},{key:"expandNode",value:function(u){this.dataStore.expand([{id:u.id}])}},{key:"setDragState",value:function(u,c){this.viewState.setState("mouseEnterNode",null),this.viewState.setState("isInDragging",u,c)}},{key:"setLocalDragState",value:function(u){this.viewState.setState("isDraggingLocal",u)}},{key:"getLocalDragState",value:function(){return this.viewState.getStateByKey("isDraggingLocal")&&this.viewState.getStateByKey("isDraggingLocal").value}},{key:"setDragHoverState",value:function(u){this.viewState.setState("dragHovered",u)}},{key:"getDragHoverState",value:function(){return this.viewState.getStateByKey("dragHovered")&&this.viewState.getStateByKey("dragHovered").value}},{key:"getDragState",value:function(){return this.viewState.getStateByKey("isInDragging")&&this.viewState.getStateByKey("isInDragging").value}},{key:"setDnDEndsState",value:function(u){this.viewState.setState("dndEnds",u)}},{key:"getEditState",value:function(){return this.viewState.getStateByKey("isInEditing")&&this.viewState.getStateByKey("isInEditing").value}}],[{key:"toString",value:function(){return t}}]),a}(n);return i},_,P),_.exports=S},93807:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980)],S=l.dj.d(b,function(n){var e="FilterAdaptor",t=function(r){d(i,r);function i(s,a,o){A(this,i);var u=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return u._dataStore=o,u}return C(i,[{key:"filter",value:function(a,o){this._dataStore.filter(a,o),this._dataStore.expandAll(),this._dataStore.search(a)}},{key:"clearFilter",value:function(a){this._dataStore.clearFilter(),this._dataStore.clearSearch()}}],[{key:"toString",value:function(){return e}}]),i}(n);return t},_,P),_.exports=S},74602:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(82713),l(20980)],S=l.dj.d(b,function(n,e){var t="FocusAdaptor",r=function(i){d(s,i);function s(a,o){A(this,s);var u=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));u.viewState=a,u.view=o;var c={};return c.treeNodeMouseDown=function(h){return u._processAndEmitClickEvt(h)},c.treeContextMenuSelection=function(h){h.node&&u._processAndEmitClickEvt(h)},c.treeNavigation=function(h){return u._processAndEmitKeyPress(h)},c.containerMount=function(){return u.emit("containerMount")},c.containerUpdate=function(){return u.emit("containerUpdate")},o&&o.registerEventCallback(c),u}return C(s,[{key:"_processAndEmitClickEvt",value:function(o){var u=o;this.emit("nodeFocusClick",u)}},{key:"_processAndEmitKeyPress",value:function(o){var u=o;this.viewState.getStateByKey("keyboardActive")&&(u.currentKeyboardActiveNode=this.viewState.getStateByKey("keyboardActive").value,this.emit("nodeFocusKeyPress",u))}},{key:"setContainerFocus",value:function(){n.removeContextMenuFocus(this.viewState),this.getTreeContainerNode().focus(),this.viewState.setState("updateView",!0)}},{key:"setFocusedState",value:function(o,u){n.removeContextMenuFocus(this.viewState),this.viewState.setState("focused",o),u&&this.viewState.setState("updateView",!0)}},{key:"getFocusedState",value:function(){var o=this.viewState.getStateByKey("focused");return o&&o.value?{id:o.value.id}:null}},{key:"setKeyboardActiveState",value:function(o){var u=this.viewState.getStateByKey("ActiveEditNode"),c=this.viewState.getStateByKey("isInEditing");if(c&&c.value){var h=o&&u.value&&o.id===u.value.node.id;h||(this.viewState.deleteState("isInEditing"),this.viewState.deleteState("ActiveEditNode"))}this.viewState.setState("keyboardActive",o)}},{key:"getTreeContainerNode",value:function(){var o=this.viewState.getStateByKey("treeContainerNode");return o&&o.value?o.value:null}},{key:"getViewPortInfo",value:function(){var o=this.viewState.getStateByKey("viewPort"),u=this.viewState.getStateByKey("currentViewPortData").value;return{currentViewPort:o,currentViewPortData:u}}}],[{key:"toString",value:function(){return t}}]),s}(e);return r},_,P),_.exports=S},90403:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(51337)],S=l.dj.d(b,function(p){var d=function(){function n(e,t,r){var i=this;A(this,n),this._viewState=e,this._dataStore=r,this._view=t,t.registerEventCallback({treeDisclosureMouseDown:function(a){return i._setPotentialBoundaryNodeOnDisclosureCollapse(a)}})}return C(n,[{key:"_setPotentialBoundaryNodeOnDisclosureCollapse",value:function(t){var r=this,i=this._viewState.getStateByKey("BoundaryNode");if(i&&i.value)return i=i.value,this._dataStore.getNode(i.node).then(function(s){s||r._setPotentialBoundaryNode({node:t.node,nodeIndex:t.nodeIndex})})}},{key:"_getBoundaryNodeInView",value:function(t){var r=this,i=t;return this._dataStore.getNode(i.node).then(function(s){if(s)i.nodeIndex=s.index;else{var a=r._viewState.getStateByKey("PotentialBoundaryNode");i=a?a.value:null}return i})}},{key:"_setBoundaryNode",value:function(t){this._viewState.setState("BoundaryNode",t),this._viewState.deleteState("PotentialBoundaryNode")}},{key:"_setPotentialBoundaryNode",value:function(t){this._viewState.setState("PotentialBoundaryNode",t)}},{key:"processAndEmitEvt",value:function(t,r){if(t.shiftKey)return this._processAndEmitShiftEvt(t,r);r(t)}},{key:"_processAndEmitShiftEvt",value:function(t,r){var i=this,s=this._viewState.getStateByKey("BoundaryNode");if(s&&s.value)return this._getBoundaryNodeInView(s.value).then(function(a){i._setBoundaryNode(a),r(t)});r(t)}},{key:"updateBoundaryNode",value:function(t){this._setBoundaryNode(t)}},{key:"getContiguousSelectionRange",value:function(t){var r=this._viewState.getStateByKey("BoundaryNode"),i=r&&r.value?r.value.nodeIndex:0,s=Math.min(i,t),a=Math.max(i,t);return{start:s,end:a}}}]),n}();return d},_,P),_.exports=S},45854:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(72726),l(73277)],S=l.dj.d(b,function(n,e,t){var r="ScrollSyncAdaptor",i=function(s){d(a,s);function a(o,u){A(this,a);var c=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));c.viewState=o,c.view=u;var h={};return h.treeProgrammaticScroll=function(v){return c._handleScrollSyncProgrammaticScroll(v)},h.treeScroll=function(v){return c._handleScrollChanged(v)},h.treeScrollOnKeyPressed=function(v){return c._handleScrollChangedOnKeyPressed(v)},c.view.registerEventCallback(h),c}return C(a,[{key:"_handleScrollSyncProgrammaticScroll",value:function(u){var c=this;if(u.position){var h=this.getScrollComponentDimensions(),v=h.scrollHeight,f=h.clientHeight,g=h.scrollWidth,m=h.clientWidth,E=v-f,w=g-m;isNaN(u.position.scrollTop)||(this.viewState.viewPort.size.top=Math.max(0,Math.min(u.position.scrollTop,E)),t.calculateAndUpdateLogicalViewPort(this.viewState,this.viewState.viewPort.size),this.viewState.setState("scrollTopCalc",function(){return c.viewState.viewPort.size.top})),isNaN(u.position.scrollLeft)||(this.viewState.viewPort.size.left=Math.max(0,Math.min(u.position.scrollLeft,w)))}}},{key:"_handleScrollChanged",value:function(u){this.emit("scrollChanged",u)}},{key:"_handleScrollChangedOnKeyPressed",value:function(u){this.viewState.deleteState("shouldScrollOnKeyPressed"),this.emit("scrollChanged",u)}},{key:"scrollToPosition",value:function(u){this.view.scrollToPosition(u)}},{key:"getScrollComponentDimensions",value:function(){return this.view.getScrollComponentDimensions()}},{key:"hideScrollBars",value:function(){this.viewState.setState("hideScrollBars",!0),this.view.render()}},{key:"displayScrollBars",value:function(){var u=this.viewState.getStateByKey("hideScrollBars");u&&u.value&&(this.viewState.deleteState("hideScrollBars"),this.view.render())}}],[{key:"toString",value:function(){return r}}]),a}(n);return i},_,P),_.exports=S},99035:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(21666),l(22928)],S=l.dj.d(b,function(n,e,t){var r="SearchAdaptor",i=function(s){d(a,s);function a(o,u,c){A(this,a);var h=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return h._dataStore=c,h.viewState=o,h.navigator=new e(h._dataStore,h.viewState,u),h}return C(a,[{key:"search",value:function(u){this._dataStore.search(u)}},{key:"clearSearch",value:function(u){var c=this.navigator.initialSearchIndex,h=this.navigator.nodeToNavigate;this.navigator.isFirstNavigation=!0,this.navigator.setNodeToNavigate(c),this.navigator.setNavigationDataAndUpdateView(h,c),this._dataStore.clearSearch()}},{key:"nextSearchOccurrence",value:async function(){var u=this._dataStore,c={nodeId:""};return typeof u.getRangeForQuery=="function"?c=await this.navigator.nextSearchOccurrence():t.warn("Datastore instance should have getRangeForQuery function for search navigation to work."),c}},{key:"prevSearchOccurrence",value:async function(){var u=this._dataStore,c={nodeId:""};return typeof u.getRangeForQuery=="function"?c=await this.navigator.prevSearchOccurrence():t.warn("Datastore instance should have getRangeForQuery function for search navigation to work."),c}}],[{key:"toString",value:function(){return r}}]),a}(n);return i},_,P),_.exports=S},21666:(_,P,l)=>{var b,S,C=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function A(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(16369),l(86804)],S=l.dj.d(b,function(d,n,e){"use strict";var t=function(){function r(i,s,a){var o=this;p(this,r),this._datastore=i,this.viewState=s,this.searchIndexToBeginNavigation=0,this.setNodeToNavigate(this.searchIndexToBeginNavigation,n.NEXT),this.isFirstNavigation=!0;var u={};u.treeDisclosureMouseDown=function(c){o._handleTreeExpandCollapse(c)},a.registerEventCallback(u,!0)}return C(r,[{key:"_handleTreeExpandCollapse",value:function(s){var a=s.node,o=s.nodeIndex;a.isExpanded&&(this.setNodeToNavigate(o,n.NEXT),this.nodeToNavigate.currentMatchIndex=this.nodeToNavigate.matchCount)}},{key:"_isSearchEmpty",value:async function(){var s=d.range().setRows(0,0).setColumns(0,1/0),a=await this._datastore.getRangeForQuery({metaData:{type:"row",key:"highlight"}},{range:s,position:"next"});return!a.range}},{key:"getMatchCount",value:function(s){for(var a=1,o=[],u=0;u<s.length;u++)o=[].concat(A(o),A(s[u].matches));o.sort(function(v,f){return v.start-f.start});for(var c=o[0].start,h=1;h<o.length;h++)if(o[h].start-1===c){c=o[h].start;continue}else a++;return a}},{key:"getNavigableNodeData",value:function(s,a){var o=this._datastore.getLocalCellData(s),u=o&&o.highlight?this.getMatchCount(o.highlight):0;return o?{id:o.id,matchCount:u,currentMatchIndex:a===n.NEXT?0:u-1,label:o.data.label,direction:""}:{}}},{key:"areAllMatchesInNodeNavigated",value:function(s,a){var o=a===n.NEXT?s.currentMatchIndex>s.matchCount-1:s.currentMatchIndex<=0;return o}},{key:"setNodeToNavigate",value:function(s,a){this.nodeToNavigate=this.getNavigableNodeData(s,a)}},{key:"setNextNavigableEntryData",value:async function(s,a){var o=await this._datastore.dataSize.rows.end;s===n.PREV&&a<this.searchIndexToBeginNavigation?a=o:a>o&&(a=this.searchIndexToBeginNavigation);var u=await this.getHighlightMetaData(s,a),c=u.range?u.range.rows.start:this.searchIndexToBeginNavigation;this.setNodeToNavigate(c,s)}},{key:"getHighlightMetaData",value:async function(s,a){var o=this._datastore,u=d.range().setRows(a,a).setColumns(0,1/0),c=await o.getRangeForQuery({metaData:{type:"row",key:"highlight"}},{range:u,position:s});return c}},{key:"nextSearchOccurrence",value:async function(){var s=this._datastore,a=await this._isSearchEmpty();if(a)return{};if(this.isFirstNavigation){await this.setNextNavigableEntryData(n.NEXT,0);var o=await s.getNode({id:this.nodeToNavigate.id});this.searchIndexToBeginNavigation=o.index,this.isFirstNavigation=!1}this.nodeToNavigate.currentMatchIndex=this.nodeToNavigate.direction===n.PREV?this.nodeToNavigate.currentMatchIndex+1:this.nodeToNavigate.currentMatchIndex;var u=await s.getNode({id:this.nodeToNavigate.id});return this.nodeToNavigate.matchCount=u.node.highlight?this.getMatchCount(u.node.highlight):0,this.areAllMatchesInNodeNavigated(this.nodeToNavigate,n.NEXT)?(await this.setNextNavigableEntryData(n.NEXT,u.index+1),this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex),this.nodeToNavigate.currentMatchIndex++):(this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex),this.nodeToNavigate.currentMatchIndex++),this.nodeToNavigate.direction=n.NEXT,{nodeId:this.nodeToNavigate.id}}},{key:"prevSearchOccurrence",value:async function(){var s=this._datastore,a=await this._isSearchEmpty();if(a)return{};this.nodeToNavigate.currentMatchIndex=this.nodeToNavigate.direction===n.NEXT?this.nodeToNavigate.currentMatchIndex-1:this.nodeToNavigate.currentMatchIndex;var o=await s.getNode({id:this.nodeToNavigate.id});return this.areAllMatchesInNodeNavigated(this.nodeToNavigate,n.PREV)?(await this.setNextNavigableEntryData(n.PREV,o.index-1),this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex)):(this.nodeToNavigate.currentMatchIndex--,this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex)),this.nodeToNavigate.direction=n.PREV,{nodeId:this.nodeToNavigate.id}}},{key:"setNavigationDataAndUpdateView",value:function(s,a){this.viewState.setState(e.SEARCH_NAVIGATION_DATA,{id:s,indexInRow:a}),this.viewState.setState("updateView",!0)}}]),r}();return t},_,P),_.exports=S},81893:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function p(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}b=[l(20980),l(72726),l(51337),l(90403)],S=l.dj.d(b,function(n,e,t,r){var i="SelectionAdaptor",s=function(){function o(){d(this,o)}return C(o,[{key:"processAndEmitEvt",value:function(c,h){h(c)}},{key:"updateBoundaryNode",value:function(c){}},{key:"getContiguousSelectionRange",value:function(c){}}]),o}(),a=function(o){p(u,o);function u(c,h,v,f){d(this,u);var g=A(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));g.viewState=c,g._view=h,g._dataStore=v,g.selectionModelDelegate=new s;var m=v.isCheckboxTree,E=f&&f.checkboxTree&&f.checkboxTree.checkbox&&f.checkboxTree.checkbox.selection===!1,w=E&&m,I={};return I.treeNodeMouseDown=function(M){M.isTargetCheckBox&&w||g._processAndEmitEvt(M,"nodeSelectionMouseDown")},I.treeNodeMouseClick=function(M){M.node&&!(M.isTargetCheckBox&&w)&&g._processAndEmitEvt(M,"nodeSelectionClick")},I.treeNodeDoubleClick=function(M){M.node&&!(M.isTargetCheckBox&&w)&&g._processAndEmitEvt(M,"nodeSelectionDoubleClick")},I.treeNavigation=function(M){var R=function(N){return N.ctrlKey||N.altKey||N.metaKey||N.shiftKey};if(!(M.keyCode===t.SPACE&&!R(M)&&w))return g._processAndEmitKeyPress(M)},I.treeContextMenuSelection=function(M){M.node&&g._processAndEmitEvt(M,"nodeSelectionContextMenu")},h&&h.registerEventCallback(I),g}return C(u,[{key:"setRangeSelectionModel",value:function(){this.selectionModelDelegate=new r(this.viewState,this._view,this._dataStore)}},{key:"_isNodeAlreadySelected",value:function(h,v){return h.some(function(f){return f.id===v.id})}},{key:"_processAndEmitEvt",value:function(h,v){var f=this,g=h;return g.currentSelection=this.getSelectionState(),g.isNodeAlreadySelected=this._isNodeAlreadySelected(g.currentSelection,g.node),this.selectionModelDelegate.processAndEmitEvt(g,function(m){f.emit(v,m)})}},{key:"_processAndEmitKeyPress",value:function(h){var v=this,f=h;f.currentSelection=this.getSelectionState();var g=this.viewState.getStateByKey("keyboardActive"),m=this.viewState.getStateByKey("keyboardActiveIndex");return g=g?g.value:null,m=m?m.value:null,f.currentKeyboardActiveNode=g,f.nodeIndex=m,this.selectionModelDelegate.processAndEmitEvt(f,function(E){v.emit("nodeSelectionKeyPress",E)})}},{key:"_getNodeIndexInCurrentSelection",value:function(h,v){for(var f=0;f<h.length;f++)if(h[f].id===v.id)return f;return-1}},{key:"_addToSelectionIfNotSelected",value:function(h,v){var f=h.some(function(m){return m.id===v.id});if(!f){var g=h.slice(0,h.length);g.push(v),this.setSelectionState(g)}}},{key:"_toggleSelection",value:function(h,v){h=h||[];var f=this._getNodeIndexInCurrentSelection(h,v),g=[];Array.isArray(h)&&(g=h.slice(0,h.length)),f>-1?g.splice(f,1):g.push({id:v.id}),this.setSelectionState(g)}},{key:"setIndividualSelection",value:function(h,v){this.selectionModelDelegate.updateBoundaryNode(h),this.setSelectionState([h.node]),v(this.getSelectionState())}},{key:"updateBoundaryNodeProgrammatically",value:function(h){var v=this;this._dataStore.getNode(h).then(function(f){f&&v.selectionModelDelegate.updateBoundaryNode(f)})}},{key:"setDiscontiguousSelection",value:function(h,v){this.selectionModelDelegate.updateBoundaryNode(h),h.isMetaKeyPressed?this._toggleSelection(this.getSelectionState(),h.node):this._addToSelectionIfNotSelected(this.getSelectionState(),h.node),v(this.getSelectionState())}},{key:"setContiguousSelection",value:function(h,v){var f=this.selectionModelDelegate.getContiguousSelectionRange(h.nodeIndex);f?this._setRangeSelection(f.start,f.end,v):v(this.getSelectionState())}},{key:"_getSelectionForNodesInViewBuffer",value:function(h,v,f){for(var g=[],m=v;m<=f;m++)g.push({id:h(m)(0).value.id});return g}},{key:"_setRangeSelection",value:function(h,v,f){var g=this,m=this.viewState.viewBuffer.rangeList[0].rows,E=m.start,w=m.end,I=h>=E&&v<=w,M=this.viewState.getStateByKey("currentViewPortData").value,R=void 0;if(I)R=this._getSelectionForNodesInViewBuffer(M,h,v),this.setSelectionState(R),f(R);else{var T=h>=E?h:E,N=v<=w?v:w;R=this._getSelectionForNodesInViewBuffer(M,T,N),this.setSelectionState(R);var F=e.getRangeListForRange(this.viewState,h,v);this._dataStore.getData(F).then(function(y){R=[],y[0].forEach(function(x){return R.push({id:x[0].id})}),g.setSelectionState(R),f(R)})}}},{key:"setSelectionState",value:function(h,v,f){var g=this.viewState;Array.isArray(h)&&h.length?g.setState("selected",!0,[h]):g.setState("selected",!1,[]),f&&g.setState("updateView",!0)}},{key:"getSelectionState",value:function(){var h=void 0,v=this.viewState.getStateByKey("selected");if(v&&(h=v.rangeList[0]),h&&h.length){var f=h.map(function(g){return{id:g.id}});if(f.length>0)return f}return[]}}],[{key:"toString",value:function(){return i}}]),u}(n);return a},_,P),_.exports=S},7275:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d)}return C(d,null,[{key:"isDataTransferValid",value:function(e){if(!e)return!1;var t=e.types;if(!Array.isArray(t)||t.length===0)return!1;var r=t[0];if(!r)return!1;var i=e.getData(r);return!!i}},{key:"getDataTransferString",value:function(e){if(!e)return"dataTransfer is null";var t=e.types;if(!t||t.length===0||!t[0])return"dataTransfer has no mime types";for(var r="",i=0;i<t.length;i++){var s=t[i],a=e.getData(s);r+=" type = "+s+" value = "+a}return r}}]),d}();return p},_,P),_.exports=S},82713:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function d(){A(this,d)}return C(d,null,[{key:"getSelectedNodes",value:function(e){var t=void 0,r=e.getStateByKey("selected");if(r&&(t=r.rangeList[0]),t&&t.length){var i=t.map(function(s){return{id:s.id}});if(i.length>0)return i}return[]}},{key:"isNodeAlreadySelected",value:function(e,t){var r=d.getSelectedNodes(e);return r.some(function(i){return t.id===i.id})}},{key:"setContextMenuFocus",value:function(e,t){e.setState("contextMenuFocus",t)}},{key:"removeContextMenuFocus",value:function(e){e.deleteState("contextMenuFocus")}}]),d}();return p},_,P),_.exports=S},16369:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({NEXT:"next",PREV:"previous"});return C},_,P),_.exports=S},367:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(20980),l(51337),l(17807),l(45993),l(33236),l(48784),l(72726)],S=l.dj.d(b,function(e,t,r,i,s,a,o){var u=function(c){n(h,c);function h(v,f,g){p(this,h);var m=d(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));m._view=v,m._viewModel=f,m._dataStore=g,m._keyHandlerList=[];var E={};return E.treeKeyPressed=function(w,I,M,R){return m._keyPressHandler(w,I,M,R)},m._view.registerEventCallback(E,!0),m}return A(h,[{key:"_keyPressHandler",value:function(f,g,m,E){var w=this;this._defaultPrevented=!1;var I=Object.assign([],this._getKeyHandlerList());if(I){var M={};M.preventDefault=this._preventDefault.bind(this),M.selectedNodes=this._getSelection(),M.focusedNode=this._getFocused();var R=I.filter(function(L){return w._isKeyHandlerObjInTheList(f,L)}),T=!0,N=!1,F=void 0;try{for(var y=R[Symbol.iterator](),x;!(T=(x=y.next()).done);T=!0){var O=x.value;if(O[s.KEY_HANDLER](M),this._defaultPrevented)return new Promise(function(L){L({prevented:!0})})}}catch(L){N=!0,F=L}finally{try{!T&&y.return&&y.return()}finally{if(N)throw F}}}if(!this._defaultPrevented)return new Promise(function(L){L(w._handleNextEvent(f,g,m,E))})}},{key:"_handleNextEvent",value:function(f,g,m,E){var w={eventToEmit:g,eventProperties:f,eventCallback:E};m(w)}},{key:"addCustomKeyHandler",value:function(f,g,m){if(!f||typeof f!="string")throw new Error("Invalid KeyHandlerName, "+f+" should be a String.");var E=this._getKeyHandlerList();if(o.isPropertyInTheObject(E,s.KEY_HANDLER_NAME,f))throw new Error("Invalid KeyHandlerName, "+f+" should be Unique, "+f+" is already bound to addCustomKeyHandler API.");if(typeof m!="function")throw new Error("Invalid KeyHandler callback, "+m+" should be a function.");this._generateKeyHandlerList(f,g,m,E)}},{key:"_generateKeyHandlerList",value:function(f,g,m,E){var w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:a.internal.ALL;if(g&&Array.isArray(g)){if(i.validatingKeyBindingLength(g),o.hasDuplicates(g))throw new Error("Invalid KeyBinding, Duplicate keycode found.");var I=!0,M=!1,R=void 0;try{for(var T=g[Symbol.iterator](),N;!(I=(N=T.next()).done);I=!0){var F=N.value;this._validatingIndividualKeyCombination(F,w,E);var y=r.isKeyBindingInHandlerList(F,f,E);if(y){var x=r.findPropertyInTheObject(F,f,E);x&&x[s.PLATFORMS]&&this._updateKeyHandlerObjectWithPlatform(x[s.PLATFORMS],w)}if(F&&!y){var O=r.getModifierLookupList();Array.isArray(F)&&(O=r.getModifierKeyCodeList(F));var L={};L[s.KEY_CODE]=F,L[s.KEY_HANDLER_NAME]=f,L[s.KEY_HANDLER]=m,L[s.PLATFORMS]=[w],L[s.MODIFIER_KEY_LIST]=O,E.push(L)}}}catch(j){M=!0,R=j}finally{try{!I&&T.return&&T.return()}finally{if(M)throw R}}}else if(g&&(typeof g>"u"?"undefined":C(g))==="object"){i.validatingKeyBindingLength(Object.keys(g)),i.validatingPlatformInKeyBinding(g);for(var W in g)g.hasOwnProperty(W)&&this._generateKeyHandlerList(f,g[W],m,E,W)}else throw new Error("Invalid KeyBinding, it should be an Array or Object")}},{key:"_validatingIndividualKeyCombination",value:function(f,g,m){if(!f)throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc.");if(Array.isArray(f)){if(f.length<=1)throw new Error("Invalid KeyBinding, Key Combination should have one regular key and multiple modifier keys");i.validateSequenceOfKeyCombination(f),i.validateKeyCombinations(f,g,m)}else{if(!r.keyCodeLookUpArray().includes(f))throw new Error("Invalid KeyBinding, Please refer to valid keycode in jsDoc");var E=r.findKeyCodeInTheList(f,g,m);if(E&&E[s.KEY_HANDLER_NAME])throw new Error("Invalid KeyBinding, "+o.getKeyByValue(t,f)+" is already bound to "+E[s.KEY_HANDLER_NAME]+" KeyHandler")}}},{key:"_updateKeyHandlerObjectWithPlatform",value:function(f,g){var m=r.isPlatformInTheList(f,g);!m&&Array.isArray(f)&&f.push(g)}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_getSelectionState",value:function(){var f=this._viewModel.getStateByKey("selected");return f&&f.value?f.rangeList:[]}},{key:"_getSelection",value:function(){var f=this._getSelectionState(),g=f[0]?f[0]:[];return g=g.map(function(m){return{id:m.id}}),g}},{key:"_getFocusedState",value:function(){return this._viewModel.getStateByKey("focused")||null}},{key:"_getFocused",value:function(){var f={},g=this._getFocusedState();return g&&g.value&&(f.id=g.value.id),f}},{key:"_getKeyHandlerList",value:function(){return this._keyHandlerList}},{key:"_setKeyHandlerList",value:function(f){this._keyHandlerList=f}},{key:"_isKeyHandlerObjInTheList",value:function(f,g){var m=o.getUsersPlaform(),E=g[s.KEY_CODE],w=g.modifierKeyList;Array.isArray(E)&&(E=r.getKeyCodeArray(E)[0]);var I=r.isPlatformInTheList(g[s.PLATFORMS],m),M=I;return!I&&g[s.PLATFORMS][0]===a.internal.ALL&&(M=!0),f[s.KEY_CODE]===E&&f[s.ALT_KEY]===w[s.ALT_KEY]&&f[s.CTRL_KEY]===w[s.CTRL_KEY]&&f[s.META]===w[s.META]&&f[s.SHIFT_KEY]===w[s.SHIFT_KEY]&&M}},{key:"removeCustomKeyHandler",value:function(f){if(!f||typeof f!="string")throw new Error("Invalid KeyHandlerName, "+f+" should be a String.");var g=this._getKeyHandlerList();if(!o.isPropertyInTheObject(g,s.KEY_HANDLER_NAME,f))throw new Error("Invalid KeyHandlerName, "+f+" has not been added by addCustomKeyHandler API.");g&&Array.isArray(g)&&g.length>0&&(g=g.filter(function(m){return m[s.KEY_HANDLER_NAME]!==f}),this._setKeyHandlerList(g))}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}},{key:"emits",get:function(){return[]}}]),h}(e);return u},_,P),_.exports=S},96858:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(3019)],S=l.dj.d(b,function(n,e){var t=["expanded","collapsed"],r=function(i){d(s,i);function s(a,o,u){A(this,s);var c=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));c._view=a,c._viewModel=o,c._dataStore=u,c._treeNavHandler=new e(c._viewModel,c._dataStore);var h=c._treeNavHandler.emits;h.forEach(function(f){c._treeNavHandler.on(f,function(g){return c.emit(f,g)})});var v={};return v.treeDisclosureMouseDown=function(f){return c._disclosureClickHandler(f)},v.treeNodeMouseDown=function(f){return c._nodeClickHandler(f)},v.treeContextMenuSelection=function(f){f.node&&c._nodeClickHandler(f)},v.treeNodeDoubleClick=function(f){return c._disclosureClickHandler(f)},v.treeNavigation=function(f){return c._nodeKeyPressHandler(f)},c._view.registerEventCallback(v,!0),c}return C(s,[{key:"_expandNode",value:function(o){var u=this;!o.isExpanded&&o.isExpandable&&this._dataStore.expand([o]).then(function(){u.emit("expanded",{nodeId:o.id})})}},{key:"_collapseNode",value:function(o){var u=this;o.isExpanded&&o.isExpandable&&this._dataStore.collapse([o]).then(function(){u.emit("collapsed",{nodeId:o.id})})}},{key:"_nodeClickHandler",value:function(o){var u=o.altKey,c=o.ctrlKey||o.metaKey;u||c&&o.shiftKey||(this._viewModel.deleteState("potentialNextKeyboardActiveNode"),this._viewModel.setState("keyboardActive",o.node),this._viewModel.setState("keyboardActiveIndex",o.nodeIndex))}},{key:"_updatePotentialKeyboardActiveNode",value:function(o){var u=this,c=this._viewModel.getStateByKey("potentialNextKeyboardActiveNode");c?(c=c.value,this._dataStore.getNode(c).then(function(h){h||u._viewModel.setState("potentialNextKeyboardActiveNode",o)})):this._viewModel.setState("potentialNextKeyboardActiveNode",o)}},{key:"_disclosureClickHandler",value:function(o){var u=this;o.node.isExpanded?this._collapseNode(o.node):this._expandNode(o.node);var c=this._viewModel.getStateByKey("keyboardActive");c&&c.value&&(c=c.value,this._dataStore.getNode(c).then(function(h){h||u._updatePotentialKeyboardActiveNode(o.node)}))}},{key:"_nodeKeyPressHandler",value:function(o){return this._treeNavHandler.handleKeyEvent(o)}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return t}}]),s}(n);return r},_,P),_.exports=S},61434:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(34433),l(83816)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(a,o,u,c){A(this,s);var h=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));h._view=a,h._viewModel=o,h._dataStore=u,h.executeAction=h.executeAction.bind(h);var v={},f={},g=c.actions[t.ACTIONS.DELETE];return g&&(f.deleteActionCompleted=function(m){return h._handleDeleteActionCompleted(m)},f.deleteActionsCompleted=function(m){return h._handleDeleteActionsCompleted(m)},h._deleteActionImpl=new e(o,u,f,g),v.deleteActionEvent=function(){return h._deleteActionImpl.performAction()}),h._view.registerEventCallback(v,!0),h}return C(s,[{key:"executeAction",value:function(o){switch(o){case t.ACTIONS.DELETE:this._view.executeAction(o);break;default:break}}},{key:"_handleDeleteActionCompleted",value:function(o){this.emit("deleteActionCompleted",o)}},{key:"_handleDeleteActionsCompleted",value:function(o){this.emit("deleteActionsCompleted",o)}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return["deleteActionCompleted","deleteActionsCompleted"]}}]),s}(n);return r},_,P),_.exports=S},83816:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({ACTIONS:{DELETE:"DELETE"}});return C},_,P),_.exports=S},34433:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(72726)],S=l.dj.d(b,function(d){"use strict";var n=function(){function e(t,r,i,s){p(this,e),this._viewModel=t,this._dataStore=r,this._handlers=i,this._parseConfig(s)}return A(e,[{key:"_parseConfig",value:function(r){var i=this._isObject(r)&&r.beforeAction;i&&(this._beforeAction=r.beforeAction)}},{key:"_isObject",value:function(r){return r&&(typeof r>"u"?"undefined":C(r))==="object"&&!Array.isArray(r)}},{key:"performAction",value:function(){var r=this,i=d.getSelectedNodes(this._viewModel),s=i.map(function(a){var o=this;return new Promise(function(u){var c=a||{id:null};o._beforeAction?o._handleBeforeAction(a,u):o._deleteNode(c,u)})},this);Promise.all(s).then(function(a){a=a.filter(function(u){return u&&u.id}),a=a.map(function(u){return u.id});var o={nodeIds:a};r._handlers.deleteActionsCompleted(o)})}},{key:"_handleBeforeAction",value:function(r,i){var s=this,a=this._beforeAction(r);if(a.then)a.then(function(){s._deleteNode(r,i)},function(){s._handlers.deleteActionCompleted({}),i()});else throw new Error("Expected: beforeAction should return a Promise")}},{key:"_deleteNode",value:function(r,i){var s=this;this._dataStore.remove(null,{id:r.id}).then(function(){d.removeNodeSelectionState(s._viewModel,r),d.removeNodeFocusState(s._viewModel,r),s._handlers.deleteActionCompleted({id:r.id}),i(r)})}}]),e}();return n},_,P),_.exports=S},67186:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(72904),l(20980),l(13049),l(77210)],S=l.dj.d(b,function(e,t,r,i){var s=function(a){n(o,a);function o(u,c,h){p(this,o);var v=d(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));v._view=u,v._viewModel=c,v._dataStore=h;var f={};return f.treeNodeEditMouseEvent=function(g){return v._handleFocusedNodeClick(g)},f.treeNodeEditKeyPress=function(g){return v._handleEnterKeyPress(g)},f.treeNodeEditComplete=function(g){return v._handleEditorEditComplete(g)},f.treeNodeProcessEdit=function(g){return v._handleEditorProcessEdit(g)},f.treeNodeEditCanceled=function(g){return v._handleEditorEditCanceled(g)},v._view.registerEventCallback(f,!0),v}return A(o,[{key:"_enterEditMode",value:function(c){var h=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._viewModel.setState("ContainerFocused",!0),this._dataStore.getParentNode(c).then(function(f){var g=f?f.node:{id:null};h._updateStateMachineForTreeNode({node:c,parentNode:g,config:{firstChar:v.firstChar}},"EDIT_STARTED")})}},{key:"editNode",value:function(){var c=this,h=this._viewModel.getStateByKey("keyboardActive");if(h){var v=this._handleEnterKeyPress();v&&this._view.isFocusedNodeInTheView()&&v.then&&v.then(function(){c._viewModel.setState("updateView",!0)})}else throw new Error("Expected: treeNode object with id property. setNodeFocus({id: 'node1'}) to set node focus,before editNode")}},{key:"_isEditPermitted",value:function(c){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!(h.readonly||h.noMouseInteraction||h.displayBlank)}},{key:"_handleEnterKeyPress",value:function(){var c=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._isEditInProgress()){var v=this._viewModel.getStateByKey("keyboardActive");if(v=v?v.value:null,!!v){var f=new e;return this._dataStore.getNode(v).then(function(g){if(!g){f.resolve();return}var m=c._dataStore.getLocalRowMetaData?c._dataStore.getLocalRowMetaData(g.index):{};if(!c._isEditPermitted(g.node,m)){f.resolve();return}c._enterEditMode(v,{firstChar:h.firstChar}).then(function(){f.resolve()})}),f.promise}}}},{key:"_handleFocusedNodeClick",value:function(c){if(!(this._isEditInProgress()||!this._isEditPermitted(c.node,c.metadata)))return this._enterEditMode(c.node)}},{key:"_handleEditorEditComplete",value:function(c){if(!c.hasValueChanged)this._updateStateMachineForTreeNode({node:c.node.value,parentNode:c.parentNode},"NO_EDIT_CHANGE");else return this._updateDataStoreIfNeeded(c,"EDITOR_EDIT_COMPLETE")}},{key:"_handleEditorEditCanceled",value:function(c){this._updateStateMachineForTreeNode({node:c.node.value,parentNode:c.parentNode,oldValue:c.oldValue,newValue:c.newValue,config:{validationResult:c.validationResult}},"EDITOR_EDIT_CANCELED")}},{key:"_handleEditorProcessEdit",value:function(c){return this._updateDataStoreIfNeeded(c,"EDITOR_PROCESS_EDIT")}},{key:"_updateDataStore",value:function(c){var h=this,v={node:c.node.value,oldValue:c.oldValue,newValue:c.newValue,parentNode:c.parentNode},f=new e,g=this._dataStore.update(c.parentNode,c.node.value,c.newValue);return g&&g.then?g.then(function(){h._updateStateMachineForTreeNode(v,"DATA_UPDATE_SUCCESS"),f.resolve({type:i.DATA_UPDATE_SUCCESS})},function(m){var E={};E.isValid=m.success,E.validationMessage=m.message,E.type="ERROR",v.config={validationResult:E},h._updateStateMachineForTreeNode(v,"DATA_UPDATE_FAILURE"),f.resolve({type:i.DATA_UPDATE_FAILURE})}):(this._updateStateMachineForTreeNode(v,"DATA_UPDATE_SUCCESS"),f.resolve({type:i.DATA_UPDATE_SUCCESS})),f.promise}},{key:"_handleEditInProgress",value:function(c,h){var v=this._deepCloneTreeNode(c.node);v.value.data=c.newValue,this._updateStateMachineForTreeNode({node:c.node.value,parentNode:c.parentNode,oldValue:c.oldValue,newValue:c.newValue,tempNode:v},h),this._viewModel.setState("updateView",!0)}},{key:"_updateDataStoreIfNeeded",value:function(c,h){return this._ds_update_promise&&!this._ds_update_promise.isFulfilled()?(this._handleEditInProgress(c,h),this._ds_update_promise):(this._ds_update_promise=this._updateDataStore({node:c.node,parentNode:c.parentNode,oldValue:c.oldValue,newValue:c.newValue}),this._ds_update_promise.isFulfilled()||this._handleEditInProgress(c,h),this._ds_update_promise)}},{key:"_updateStateMachineForTreeNode",value:function(c,h){var v=this._viewModel.getStateByKey("ActiveEditNode");v=v?v.value:null;var f={node:c.node,parentNode:c.parentNode,config:c.config||{}},g=v?v.state:null;switch(h){case"EDITOR_EDIT_COMPLETE":{g=r.INACTIVE_EDIT_IN_PROGRESS,f.tempNode=c.tempNode;break}case"DATA_UPDATE_SUCCESS":{g=null,this._emitEditCompletedEvt(c);break}case"DATA_UPDATE_FAILURE":{g===r.ACTIVE_EDIT_IN_PROGRESS?(g=r.ACTIVE_EDIT,c.config.validationResult.validatedData=c.newValue):(g=null,this._emitEditCanceledEvt(c));break}case"EDITOR_EDIT_CANCELED":{g=null,this._emitEditCanceledEvt(c);break}case"EDITOR_PROCESS_EDIT":{g=r.ACTIVE_EDIT_IN_PROGRESS,f.config.isReadOnly=!0;break}case"EDIT_STARTED":{this._viewModel.setState("isInEditing",!0),g=r.ACTIVE_EDIT;break}case"NO_EDIT_CHANGE":{g=null;break}}g!==null?(f.state=g,this._viewModel.setState("ActiveEditNode",f)):(this._viewModel.deleteState("isInEditing"),this._viewModel.deleteState("ActiveEditNode"))}},{key:"_emitEditCompletedEvt",value:function(c){this.emit("editCompleted",{nodeId:c.node.id,oldValue:c.oldValue,newValue:c.newValue,config:c.config})}},{key:"_emitEditCanceledEvt",value:function(c){this.emit("editCanceled",{nodeId:c.node.id,oldValue:c.oldValue,newValue:c.newValue,validationResults:[c.config.validationResult]})}},{key:"_isEditInProgress",value:function(){var c=this._viewModel.getStateByKey("ActiveEditNode");return c&&c.value}},{key:"_deepCloneTreeNode",value:function(c){var h=this,v={};return Object.keys(c).forEach(function(f){c[f]&&C(c[f])==="object"?v[f]=h._deepCloneTreeNode(c[f]):v[f]=c[f]}),v}},{key:"exposedAPI",value:function(){return{editNode:this.editNode.bind(this)}}},{key:"emits",get:function(){return["editCompleted","editCanceled"]}}]),o}(t);return s},_,P),_.exports=S},42229:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(65275)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s,a,o){A(this,i);var u=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));u._view=s,u._viewModel=a,u._dataStore=o,u._eventEnum=e;var c={};return c[u._eventEnum.TREE_NODE_DOUBLE_CLICKED]=function(h){return u._handleDoubleclick(h)},u._view.registerEventCallback(c,!0),u._preventDefault=u._preventDefault.bind(u),u}return C(i,[{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_handleDoubleclick",value:function(a){this._defaultPrevented=!1;var o=a.node,u={node:o,preventDefault:this._preventDefault};this.emit(this._eventEnum.DOUBLE_CLICKED,u),!this._defaultPrevented&&a.defaultFn&&a.defaultFn()}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[this._eventEnum.DOUBLE_CLICKED]}}]),i}(n);return t},_,P),_.exports=S},52018:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(65275),l(56091),l(20980),l(51337)],S=l.dj.d(b,function(e,t,r,i){var s=function(a){n(o,a);function o(u,c,h){p(this,o);var v=d(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));v._view=u,v._viewModel=c,v._dataStore=h;var f={};return f[e.INTERACTIVE_RENDERER_CLICK]=function(g){return v._handleInteractiveClick(g)},f[e.KEYUP_TOGGLE_CHECKED_STATE]=function(g){return v._handleKeyPressEvent(g)},v._view.registerEventCallback(f,!0),v._preventDefault=v._preventDefault.bind(v),v}return C(o,[{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"eventList",value:function(){var c={};return c[e.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),c}},{key:"_handleInteractiveClick",value:function(c){var h=c.renderer,v=c.node,f=c.evt,g=f.ctrlKey,m=f.meta,E=f.shiftKey,w=f.altKey,I=g||w||m||E;if(!I&&"handleAction"in h){var M=h.handleAction(v.value.data,{actionName:t.CLICK,target:f.target});if(M.hasChanged){var R={oldValue:M.oldValue,newValue:M.newValue};this._updateDataStore(R)}}}},{key:"_updateDataStore",value:function(c){var h=Object.assign({},c.oldValue),v=Object.assign({},c.newValue),f=Object.keys(v).reduce(function(g,m){return h[m]===v[m]?g:Object.assign(g,A({},m,v[m]))},{});this._dataStore.update(null,{id:c.oldValue.id},f),this._emitEditCompletedEvt(h,v)}},{key:"_emitEditCompletedEvt",value:function(c,h){this.emit(e.EDIT_COMPLETED,{nodeId:c.id,oldValue:c,newValue:h})}},{key:"_isSpacePressed",value:function(c){var h=c.ctrlKey||c.metaKey||c.altKey||c.shiftKey;return!(c.keyCode!==i.SPACE||h)}},{key:"_handleKeyPressEvent",value:function(c){var h=this;if(this._isSpacePressed(c))return new Promise(function(v,f){var g=h._viewModel.getStateByKey("keyboardActive");h._dataStore.getNode(g.value).then(function(m){if(!m){v();return}var E=h._dataStore.getLocalRowMetaData?h._dataStore.getLocalRowMetaData(m.index):{};if(E.readonly){v();return}if(E.interactiveRenderer){var w=E.interactiveRenderer,I=g.value.data?g.value.data:g.value,M=w.handleAction(I,{actionName:t.KEY_PRESS});M.hasChanged&&(h._updateDataStore(M),v())}})})}},{key:"emits",get:function(){return[e.EDIT_COMPLETED]}}]),o}(r);return s},_,P),_.exports=S},67425:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(72904),l(27754),l(86804),l(73277)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=function(){function r(i){A(this,r),this._viewModel=i.viewModel,this._getViewIndexOfNode=i.treeNodeHandler}return C(r,[{key:"getActiveNodeInfo",value:function(s){var a=this,o=new p;return this._getInitialActiveNodeIndex(s,n.ACTIVE_NODE).then(function(u){return u?(o.resolve(u),!0):!1}).then(function(u){u||a._getInitialActiveNodeIndex(s,n.POTENTIAL_ACTIVE_NODE).then(function(c){c.isPotentialActiveNode=!c.isDefaultInitialIndex,o.resolve(c)})}),o}},{key:"_getInitialActiveNodeIndex",value:function(s,a){var o=this._viewModel.getStateByKey(a),u=void 0;return o&&o.value?(o=o.value,u=this._getViewIndexOfNode(o)):u={isDefaultInitialIndex:!0,index:s.currentDataSize.start},d(u)}},{key:"_getViewportEnd",value:function(s,a,o){return Math.max(0,Math.min(s+a-1,o))}},{key:"_boundedScrollTo",value:function(s){var a=s,o=this._viewModel.dataSize,u=void 0;return u=Math.max(Math.min(a,o.rows.end),0),u}},{key:"_isActiveIndexInViewPort",value:function(s){var a=this._viewModel.viewPort,o=a.size.top,u=e.getViewPortCount(this._viewModel),c=e.getFirstVisibleRow(o,this._viewModel).index,h=c+u-1;return s>c&&s<h}},{key:"_getNodeInfoFromViewPort",value:function(s){var a=this._viewModel.getStateByKey("currentViewPortData").value,o=a(s)(0).value;return o}},{key:"_updateViewPort",value:function(s,a){var o=this,u=this._boundedScrollTo(a);if(e.updateLogicalViewPort(this._viewModel,u),e.isViewPortRangeInDataBuffer(this._viewModel))this._updateActiveNodeInViewModel(s,!0);else{var c=new p,h=this._viewModel.on("currentViewPortData",function(){h.remove(),o._updateActiveNodeInViewModel(s,!0),c.resolve()});return e.updateDataBuffer(this._viewModel),c.promise}}},{key:"_updateActiveNodeInViewModel",value:function(s,a){var o=this._getNodeInfoFromViewPort(s);this._viewModel.setState("keyboardActive",o),this._viewModel.setState("keyboardActiveIndex",s),a&&this._viewModel.setState("shouldScroll",!0),this._viewModel.deleteState("potentialNextKeyboardActiveNode")}},{key:"setActiveNode",value:function(s,a,o){this._isActiveIndexInViewPort(s.index)?this._updateActiveNodeInViewModel(s.index,!1):(o?this._viewModel.setState("scrollTopCalc",e.dynamicScrollTopForBottomNodeCalculator(o,this._viewModel)):this._viewModel.setState("scrollTopCalc",e.dynamicScrollTopCalculator(a,this._viewModel)),this._updateViewPort(s.index,a),this._viewModel.setState("shouldScrollOnKeyPressed",!0))}}]),r}();return t},_,P),_.exports=S},3019:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(72904),l(27754),l(72726),l(73277),l(51337),l(20980),l(16951),l(67425),l(86804)],S=l.dj.d(b,function(n,e,t,r,i,s,a,o,u){"use strict";var c=function(h){d(v,h);function v(f,g){A(this,v);var m=p(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));return m._viewModel=f,m._dataStore=g,m._initializeKeyNavigationAndActiveNode(),m}return C(v,[{key:"_initializeKeyNavigationAndActiveNode",value:function(){var g=this;this._keyNavigation=new a({expandHandler:function(E){return g._expandNode(E)},collapseHandler:function(E){return g._collapseNode(E)},getCurrentViewPortCount:function(){return g._getCurrentViewPortCount()},getPreviousViewPortCount:function(E){return g._getPreviousViewPortCount(E)},getNextViewPortCount:function(E){return g._getNextViewPortCount(E)},getFirstVisible:function(E){return g._getFirstVisible(E)},viewModel:this._viewModel}),this._activeNodeHandler=new o({viewModel:this._viewModel,treeNodeHandler:function(E){return g._getViewIndexOfNode(E)}})}},{key:"_getCurrentViewPortCount",value:function(){return r.getViewPortCount(this._viewModel)}},{key:"_getPreviousViewPortCount",value:function(g){return r.getPreviousViewPortCount(this._viewModel,g)}},{key:"_getNextViewPortCount",value:function(g){return r.getNextViewPortCount(this._viewModel,g)}},{key:"_getFirstVisible",value:function(g){return r.getFirstVisibleRow(g,this._viewModel).index}},{key:"_expandNode",value:function(g){var m=this,E=!g.isExpanded&&g.isExpandable;E&&this._dataStore.expand([g]).then(function(){m.emit("expanded",{nodeId:g.id})})}},{key:"_collapseNode",value:function(g){var m=this,E=g.isExpanded&&g.isExpandable;E&&this._dataStore.collapse([g]).then(function(){m.emit("collapsed",{nodeId:g.id})})}},{key:"_getParentNode",value:function(g){return this._dataStore.getParentNode(g)}},{key:"_getViewIndexOfNode",value:function(g){return this._dataStore.getNode(g)}},{key:"_getKeyboardEvent",value:function(g){var m={keyCode:g.keyCode};return m.currentDataSize=this._viewModel.dataSize.rows,m.currentViewPort=this._viewModel.viewPort.rangeList[0].rows,m.currentViewPortSize=this._viewModel.viewPort.size,m}},{key:"_isKeyCodeValid",value:function(g){var m=g.ctrlKey||g.metaKey,E=g.shiftKey,w=g.altKey,I=!(w||m&&E)&&this._keyNavigation.getKeyCommand(g.keyCode);return m?I:E?g.keyCode!==i.ARROW_LEFT&&g.keyCode!==i.ARROW_RIGHT:I}},{key:"handleKeyEvent",value:function(g){var m=this,E=this._viewModel.dataSize.rows.count;if(!(!this._isKeyCodeValid(g)||E===0)){var w=new n,I=this._getKeyboardEvent(g);return this._activeNodeHandler.getActiveNodeInfo(I).then(function(M){e(m._processKeyEvt(I,M)).then(function(R){if(!R)w.resolve();else{var T={index:R.index>=0?R.index:R.keyboardActiveIndex,activeNode:R.keyboardActiveNode||R.node},N=R.firstVisibleIndex>=0?R.firstVisibleIndex:R.index,F=R.lastVisibleIndex?R.lastVisibleIndex:null;e(m._activeNodeHandler.setActiveNode(T,N,F),function(){return w.resolve()})}})}),w}}},{key:"_processKeyEvt",value:function(g,m){var E=m.isPotentialActiveNode||m.isDefaultInitialIndex;return g.currentKeyboardActiveNode=m.node,g.currentKeyboardActiveIndex=m.index,E?this._processNoActiveNodeInView(g):e(this._processExistingActiveIndex(g))}},{key:"_processNoActiveNodeInView",value:function(g){var m=void 0;switch(g.keyCode){case i.PAGE_UP:case i.PAGE_DOWN:case i.HOME:case i.END:{m=this._keyNavigation.getKeyCommand(g.keyCode)(g);break}default:{m={firstVisibleIndex:g.currentKeyboardActiveIndex,keyboardActiveIndex:g.currentKeyboardActiveIndex};break}}return m}},{key:"_processExistingActiveIndex",value:function(g){var m=this._keyNavigation.getKeyCommand(g.keyCode)(g);return m.parentIsNewKeyboardActiveNode?this._getParentNode(m.keyboardActiveNode):m}},{key:"emits",get:function(){return["expanded","collapsed"]}}]),v}(s);return c},_,P),_.exports=S},16951:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(51337),l(66874)],S=l.dj.d(b,function(p,d){"use strict";var n=function(){function e(t){A(this,e),this._constructCommands(),this._expandNode=t.expandHandler,this._collapseNode=t.collapseHandler,this._getCurrentViewPortCount=t.getCurrentViewPortCount,this._getPreviousViewPortCount=t.getPreviousViewPortCount,this._getNextViewPortCount=t.getNextViewPortCount,this._currentFirstVisible=t.getFirstVisible}return C(e,[{key:"_constructCommands",value:function(){var r=this;this.keyCommands={},this.keyCommands[p.HOME]=function(i){return r._handleHome(i)},this.keyCommands[p.END]=function(i){return r._handleEnd(i)},this.keyCommands[p.PAGE_UP]=function(i){return r._handlePageUp(i)},this.keyCommands[p.PAGE_DOWN]=function(i){return r._handlePageDown(i)},this.keyCommands[p.ARROW_UP]=function(i){return r._handleArrowUp(i)},this.keyCommands[p.ARROW_DOWN]=function(i){return r._handleArrowDown(i)},this.keyCommands[p.ARROW_LEFT]=function(i){return r._handleArrowLeft(i)},this.keyCommands[p.ARROW_RIGHT]=function(i){return r._handleArrowRight(i)},this.keyCommands[p.SPACE]=function(i){return r._handleSpace(i)}}},{key:"getKeyCommand",value:function(r){return this.keyCommands[r]}},{key:"_handleSpace",value:function(r){var i=r.currentKeyboardActiveIndex,s=this._currentFirstVisible(r.currentViewPortSize.top),a=this._getCurrentViewPortCount(),o=s+a;return s<=r.currentKeyboardActiveIndex&&o>=r.currentKeyboardActiveIndex&&(i=r.currentViewPort.start),{firstVisibleIndex:i,keyboardActiveIndex:r.currentKeyboardActiveIndex}}},{key:"_handleHome",value:function(r){return{firstVisibleIndex:r.currentDataSize.start,keyboardActiveIndex:r.currentDataSize.start}}},{key:"_handleEnd",value:function(r){var i=r.currentDataSize.end,s=this._getCurrentViewPortCount(),a=Math.max(i-s+1,r.currentDataSize.start);return{keyboardActiveIndex:i,firstVisibleIndex:a,lastVisibleIndex:Math.max(r.currentDataSize.start,i)}}},{key:"_getFirstVisibleIndexForPageUp",value:function(r,i,s,a){var o=void 0,u=void 0,c=this._currentFirstVisible(s.top),h=this._getPreviousViewPortCount(c),v=this._getCurrentViewPortCount(),f=c<=i&&i<=c+v;return f?(o=Math.max(c-h,r),u=Math.max(c-1,r)):o=a,{firstVisibleIndex:o,lastVisibleIndex:u}}},{key:"_handlePageUp",value:function(r){var i=r.currentKeyboardActiveIndex,s=this._getPreviousViewPortCount(i),a=Math.max(r.currentKeyboardActiveIndex-s,r.currentDataSize.start),o=this._getFirstVisibleIndexForPageUp(r.currentDataSize.start,r.currentKeyboardActiveIndex,r.currentViewPortSize,a),u=o.firstVisibleIndex,c=o.lastVisibleIndex;return{keyboardActiveIndex:a,firstVisibleIndex:u,lastVisibleIndex:c}}},{key:"_handlePageDown",value:function(r){var i=r.currentKeyboardActiveIndex,s=this._getNextViewPortCount(i),a=Math.max(r.currentKeyboardActiveIndex+s,r.currentDataSize.start);a=Math.min(a,r.currentDataSize.end);var o=this._currentFirstVisible(r.currentViewPortSize.top),u=this._getFirstVisibleIndexForPgDown(r.currentDataSize.start,r.currentKeyboardActiveIndex,a,o),c=u.firstVisibleIndex;return c=c>r.currentDataSize.end?o:c,{keyboardActiveIndex:a,firstVisibleIndex:c}}},{key:"_getFirstVisibleIndexForPgDown",value:function(r,i,s,a){var o=void 0,u=this._getCurrentViewPortCount(),c=a<=i&&i<=a+u-1;return c?o=Math.max(a+u,r):o=s,{firstVisibleIndex:o}}},{key:"_handleArrowDown",value:function(r){var i=Math.min(r.currentKeyboardActiveIndex+1,r.currentDataSize.end),s=this._currentFirstVisible(r.currentViewPortSize.top),a=this._getCurrentViewPortCount(),o=void 0,u=s<=i&&i<=s+a-1;u?o=s:o=Math.max(s+1,r.currentDataSize.start);var c=s+a;return c=c<=i?i:null,{keyboardActiveIndex:i,firstVisibleIndex:o,lastVisibleIndex:c}}},{key:"_handleArrowUp",value:function(r){var i=Math.max(r.currentKeyboardActiveIndex-1,r.currentDataSize.start),s=this._currentFirstVisible(r.currentViewPortSize.top),a=this._getCurrentViewPortCount(),o=s+a,u=i;return s<=i&&o>=i&&(u=s),{keyboardActiveIndex:i,firstVisibleIndex:u}}},{key:"_handleArrowRight",value:function(r){var i=r.currentKeyboardActiveNode.isExpanded&&r.currentKeyboardActiveNode.isExpandable;if(i)return this._handleArrowDown(r);this._expandNode(r.currentKeyboardActiveNode);var s=this._getCurrentViewPortCount(),a=this._currentFirstVisible(r.currentViewPortSize.top),o=a<=r.currentKeyboardActiveIndex&&r.currentKeyboardActiveIndex<=a+s-1;if(o){var u=a;return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:u}}return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:r.currentKeyboardActiveIndex}}},{key:"_handleArrowLeft",value:function(r){var i=r.currentKeyboardActiveNode.isExpandable&&!r.currentKeyboardActiveNode.isExpanded,s=!r.currentKeyboardActiveNode.isExpandable;if(i||s)return{keyboardActiveNode:r.currentKeyboardActiveNode,parentIsNewKeyboardActiveNode:!0};this._collapseNode(r.currentKeyboardActiveNode);var a=this._getCurrentViewPortCount(),o=this._currentFirstVisible(r.currentViewPortSize.top),u=o<=r.currentKeyboardActiveIndex&&r.currentKeyboardActiveIndex<=o+a-1;if(u){var c=o;return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:c}}return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:r.currentKeyboardActiveIndex}}}]),e}();return n},_,P),_.exports=S},59400:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(73277)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s,a,o){A(this,i);var u=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));u._view=s,u._viewModel=a,u._dataStore=o;var c={};return c.treeScroll=function(h){return u._handleScroll(h)},c.treeProgrammaticScroll=function(h){return u._handleProgrammaticScroll(h)},u._view.registerEventCallback(c,!0),u}return C(i,[{key:"_scrollToIndex",value:function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0};if(o.maintainPositionIfInView){var u=e.isTreeNodeCompletelyInsideViewPort(a,this._viewModel);if(u)return}var c=this._viewModel.getStateByKey("nodeHeightInPx").value;this._viewModel.viewPort.size.top=a*c,this._viewModel.setState("scrollTopCalc",e.dynamicScrollTopCalculator(a,this._viewModel)),e.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size)}},{key:"_scrollToNode",value:function(a,o){var u=this;return this._dataStore.expandTo(a).then(function(c){if(c){var h=c.index;u._scrollToIndex(h,o)}})}},{key:"_handleProgrammaticScroll",value:function(a){if(!(!a.treeNodeScroll&&!(a.nodeIndex>=0)))return a.treeNodeScroll?this._scrollToNode(a.treeNodeScroll.treeNode,a.treeNodeScroll.options):this._scrollToIndex(a.nodeIndex)}},{key:"_handleScroll",value:function(a){this._handleUpdateViewPort(a)}},{key:"_handleUpdateViewPort",value:function(a){var o={left:a.scrollLeft,top:a.scrollTop,width:a.clientWidth,height:a.clientHeight};e.calculateAndUpdateLogicalViewPort(this._viewModel,o)}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{}}}]),i}(n);return t},_,P),_.exports=S},444:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(51337),l(10009)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i);function s(){return A(this,s),p(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return C(s,[{key:"setFocus",value:function(){this._textField.focus(),this._config.firstChar?(this._textField.value=this._config.firstChar,this._textField.setSelectionRange(this._textField.value.length,this._textField.value.length)):this._textField.select()}}]),s}(t);return r},_,P),_.exports=S},59936:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(51337)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(){A(this,n)}return C(n,null,[{key:"config",value:function(t,r){return function(i,s){return Object.keys(t).forEach(function(a){s[a]=t[a]}),r(i,s)}}},{key:"_shallowCloneObject",value:function(t){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r}},{key:"decorateEditor",value:function(t){var r=this._handleContextMenu(t),i=this._handleKeyDown(t),s=this._handleKeyUp(t),a=this._handleBlur(t),o=this._handleInput(t),u=this._handleMouseDown(t);t._configureListeners([{event:"contextmenu",handler:r},{event:"blur",handler:a},{event:"input",handler:o},{event:"keydown",handler:i},{event:"keyup",handler:s},{event:"mousedown",handler:u}])}},{key:"_handleContextMenu",value:function(t){return function(r){r.stopPropagation()}}},{key:"_handleMouseDown",value:function(t){return function(r){r.stopPropagation()}}},{key:"_handleKeyUp",value:function(t){return function(r){r.stopPropagation()}}},{key:"_handleKeyDown",value:function(t){return function(r){switch(r.stopPropagation(),r.keyCode){case p.ENTER:{t._validateAndCompleteEdit(!0);break}case p.ESCAPE:{t._getTextField().value=t._oldValue.label,t._emitEditCompleteEvent(t._oldValue,t._oldValue);break}case p.END:{if(!r.shiftKey){var i=t._getInputNode().value.length;t._getInputNode().setSelectionRange(i,i),r.preventDefault()}break}case p.HOME:{r.shiftKey||(t._getInputNode().setSelectionRange(0,0),r.preventDefault());break}case p.PAGE_UP:case p.PAGE_DOWN:{r.preventDefault();break}case p.ARROW_UP:case p.ARROW_RIGHT:case p.ARROW_DOWN:case p.ARROW_LEFT:{t.arrowKeyPressed&&t.arrowKeyPressed(r);break}}}}},{key:"_handleInput",value:function(t){return function(r){r.currentTarget.size=r.target.value.length||1,t._handleTextChange(r.target.value)}}},{key:"_handleBlur",value:function(t){return function(r){t._validateAndCompleteEdit(!1)}}}]),n}();return d},_,P),_.exports=S},83291:(_,P,l)=>{var b,S;b=[l(10009),l(444)],S=l.dj.d(b,function(C,A){"use strict";var p=Object.freeze({DefaultEditor:C,DesignTimeEditor:A});return p},_,P),_.exports=S},10009:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(59936),l(80868)],S=l.dj.d(b,function(n,e,t){"use strict";var r=function(i){d(s,i),C(s,[{key:"_getTextField",value:function(){return this._textField}},{key:"_getInputNode",value:function(){return this._textField}}],[{key:"config",value:function(o){return e.config(o,this._createInstance)}},{key:"_createInstance",value:function(o,u){return new s(o,u)}}]);function s(a,o){A(this,s);var u=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return a=a||{},u._config=o,u._oldValue=e._shallowCloneObject(a),u._newValue=e._shallowCloneObject(a),u._constructDom(u._newValue),u}return C(s,[{key:"_constructDom",value:function(o){var u="icon1",c=document.createElement("div");c.className="treeNodeIconEditor";var h=void 0,v=void 0,f=o.iconUri,g=o.iconId;if(g||f){if(h=document.createElement("span"),h.setAttribute("data-test-id",u),h.className="treeNodeIcon",g){var m=t.getIconByIdDom(g);h.appendChild(m)}else h.style.backgroundImage="url('"+encodeURI(f)+"')";c.appendChild(h)}v=this._textField=document.createElement("input"),v.input="text",v.setAttribute("data-editor",!0),v.spellcheck=!1,v.value=o.label,v.size=o.label.length||1,v.tabIndex=0,v.className="mwTreeTextEditor",c.appendChild(v),this._domNode=c,e.decorateEditor(this)}},{key:"_configureListeners",value:function(o){var u=this;o.forEach(function(c){u._getInputNode().addEventListener(c.event,c.handler)}),this._eventsHandlers=o}},{key:"_emitEditCompleteEvent",value:function(o,u){this.emit("editComplete",{newValue:o,oldValue:u,hasValueChanged:u.label!==o.label})}},{key:"_emitEditCanceledEvent",value:function(o,u){this.emit("editCanceled",{newValue:o,oldValue:u})}},{key:"_handleTextChange",value:function(o){}},{key:"_validateAndCompleteEdit",value:function(){this._newValue.label=this._textField.value.trim(),this._newValue.label||this._config&&this._config.acceptEmptyLabel?this._emitEditCompleteEvent(this._newValue,this._oldValue):this._emitEditCanceledEvent(this._newValue,this._oldValue)}},{key:"setFocus",value:function(){this._textField.focus(),this._textField.setSelectionRange(this._textField.value.length,this._textField.value.length)}},{key:"getDomNode",value:function(o){return this._domNode}},{key:"commitValue",value:function(){this._validateAndCompleteEdit()}},{key:"destroy",value:function(){var o=this;this._textField&&(this._eventsHandlers.forEach(function(u){o._getInputNode().removeEventListener(u.event,u.handler)}),delete this._textField),delete this._domNode}},{key:"value",get:function(){return this._newValue.label=this._textField.value,this._newValue},set:function(o){this._textField.value=o.label}}]),s}(n);return r},_,P),_.exports=S},33236:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({KEY_HANDLER_NAME:"keyHandlerName",KEY_CODE:"keyCode",KEY_HANDLER:"keyHandler",PLATFORMS:"platforms",MODIFIER_KEY_LIST:"modifierKeyList",ALT_KEY:"altKey",CTRL_KEY:"ctrlKey",META:"metaKey",SHIFT_KEY:"shiftKey"});return C},_,P),_.exports=S},65275:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({INTERACTIVE_RENDERER_CLICK:"interactiveClick",KEYUP_TOGGLE_CHECKED_STATE:"keyUpToggleCheckedState",KEY_PRESS:"keyDown",DOUBLE_CLICKED:"doubleClicked",EDIT_COMPLETED:"editCompleted",TREE_NODE_DOUBLE_CLICKED:"treeNodeDoubleClicked",CCP_KEY_PRESSED:"clipboardKeyPresses",CLIPBOARD_CUT:"clipboardCut",CLIPBOARD_COPY:"clipboardCopy",CLIPBOARD_PASTE:"clipboardPaste"});return C},_,P),_.exports=S},48784:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({internal:{ALL:"all"},exposed:{WINDOWS:"windows",MAC:"mac",LINUX:"linux"}})},_,P),_.exports=S},56091:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({CLICK:"click",KEY_PRESS:"keypress"});return C},_,P),_.exports=S},26061:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({TREE_DISABLED:"treeDisabled",IS_TREE_IN_EDIT:"isInEditing"})},_,P),_.exports=S},71788:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(){A(this,d)}return C(d,null,[{key:"compose",value:function(){var e=[].concat(Array.prototype.slice.call(arguments)).reverse();return function(){for(var t=e[0].apply(this,arguments),r=1;r<e.length;r+=1)t=e[r].call(this,t);return t}}},{key:"toPromise",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t,r){return setTimeout(t,e)})}}]),d}();return p},_,P),_.exports=S},24932:(_,P,l)=>{var b,S;b=[l(30471),l(54362),l(81874),l(63508),l(22958),l(46121),l(24482),l(26156),l(27673),l(17944),l(93393)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a){"use strict";var o=Object.freeze({AVAILABLE:{Focus:e,Filter:[d,t],Search:t,DragAndDrop:p,ContextMenu:A,ScrollSync:s,SingleNodeSelection:[e,r],MultipleNodeSelection:[e,i],DesignTimeMultipleNodeSelection:[n,i],Clipboard:a},INTERNAL:{CheckboxTree:C},COMPATIBLE:[[C,r]],INCOMPATIBLE:[[r,i],[C,i]],getPluginsBasedOnDSConfiguration:function(c){var h=[];return c&&c.isCheckboxTree&&h.push(C),h}});return o},_,P),_.exports=S},30471:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(18126)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a._listeners=[],a._listeners.push(a.adaptor.on("checkboxStatusChangeRequested",function(o){return a._handleCheckboxState(o)})),a}return C(i,[{key:"_handleCheckboxState",value:function(a){var o=this,u=a.newValue;!u&&a.isSpaceKeyPressed&&(u=a.node.check==="mixed"?!0:a.node.check!==!0),this.adaptor.updateCheckboxState(a.node,u).then(function(){o.emit("checkChanged",{nodeId:a.node.id,oldValue:a.node.check,newValue:u})})}},{key:"exposedAPI",value:function(){return{}}},{key:"destroy",value:function(){this._listeners.forEach(function(a){return a.remove()})}},{key:"emits",get:function(){return["checkChanged"]}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},93393:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(64771)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a}return C(i,[{key:"cut",value:function(){return this.adaptor.cut()}},{key:"copy",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.adaptor.copy(a)}},{key:"paste",value:function(){return this.adaptor.paste()}},{key:"exposedAPI",value:function(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},54362:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(30647)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a._listeners=[],a._listeners.push(a.adaptor.on("treeContextMenu",function(o){return a._handleRightClick(o)})),a}return C(i,[{key:"exposedAPI",value:function(){return{}}},{key:"_handleRightClick",value:function(a){if(a.node){var o=a.isNodeAlreadySelected?a.selectedNodes:[a.node];this.adaptor.setContextMenuFocus(o)}this.emit("contextMenu",{top:a.top,left:a.left,target:a.emitTarget})}},{key:"destroy",value:function(){this._listeners.forEach(function(a){return a.remove()})}},{key:"emits",get:function(){return["contextMenu"]}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},81874:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function A(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(18522),l(20980),l(54653),l(65811),l(24880),l(67498),l(68592),l(2860)],S=l.dj.d(b,function(e,t,r,i,s,a,o,u){var c=function(h){n(v,h);function v(f){p(this,v);var g=d(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));return g.adaptor=f,g.isReorderingEnabled=g.adaptor.isReorderingEnabled(),g.previousTargetDom=null,g.autoExpandTimer=null,g.dragEnterRow=null,g.isValidDrop=!0,g._customSourceDrag=[],g.adaptor.on(o.Events.registerDnDSource,function(m){return g._registerDnDSource(m)}),g.adaptor.on(o.Events.moveFailed,function(m){return g._emitDropFailed(m)}),g.adaptor.on(o.Events.moveCompleted,function(m){return g._emitDropCompleted(m)}),g.adaptor.on(o.Events.onDragSelection,function(m){return g.setSelectionDataForDrag(m)}),g.autoExpandTime=1e3,g}return C(v,[{key:"_registerDnDSource",value:function(g){this.dndService=new e(g.treeContainerNode,this._getDnDHandlers(),this.adaptor.isNodeLabelTruncated())}},{key:"setSelectionDataForDrag",value:function(g){var m=this,E=g.ids,w=this.adaptor.getDragAndDropConfig().setDragDataBySelection;if(w){var I=new u;w(E,I).then(function(M){if(!M.dataTransfer){m._customSourceDrag=[];return}for(var R=M.dataTransfer,T=[],N=0;N<R.types.length;N++){var F=R.types[N],y=R.getData(F);T.push({type:F,data:y})}m._customSourceDrag=T});return}this._customSourceDrag=[]}},{key:"_getDnDHandlers",value:function(){var g={dragSources:{type:o.TYPE_TREENODE,handleDragStart:this._handleDragStart.bind(this),handleDragEnd:this._handleDragEnd.bind(this),allowGlobal:this.adaptor.isGlobalDragAllowed()},dropTargets:{handleDrop:this._handleDrop.bind(this),handleDragEnter:this._handleDragEnter.bind(this),handleDragHover:this._handleDragHover.bind(this),handleDragLeave:this._handleDragLeave.bind(this),allowGlobal:this.adaptor.isGlobalDropAllowed()}};return this.isReorderingEnabled&&(g.dropTargets={handleDrop:this._handleDropOnReordering.bind(this),handleDragEnter:this._handleDragEnterReordering.bind(this),handleDragHover:this._handleDragHoverOnReordering.bind(this),handleDragLeave:this._handleDragLeaveOnReordering.bind(this),allowGlobal:this.adaptor.isGlobalDropAllowed()},g.rowDivision={TYPE_TREE_NODE_DIVISION:a.ROW_DIVISION.TYPE_TREE_NODE_DIVISION,TYPE_TREE_DIVISION:a.ROW_DIVISION.TYPE_TREE_DIVISION}),g}},{key:"_handleDragStart",value:function(g){this.adaptor.setLocalDragState(!0);var m=g.dragItem,E=g.domNode,w=E.classList.contains("selected"),I=this._getDragSourceInfo([E]);if(!this.canSourceDrag(I,{dataTransferItem:m})||this.adaptor.getEditState()||!w)return!1;m.setDataByType(o.TYPE_TREENODE,I);for(var M=this._customSourceDrag,R=0;R<M.length;R++){var T=M[R].data,N=M[R].type;m.setDataByType(N,T)}m.setDragOperations&&m.setDragOperations(this.dndService.MOVE);var F=document.createElement("div");F.classList.add("mw-tree-dnd-avatar");var y=I[0].data.label,x=document.createElement("div");return x.classList.add("mw-tree-avatar-label"),x.appendChild(document.createTextNode(y)),F.appendChild(x),m.setAvatar(F,I.length),this.adaptor.setDragState(!0,I),this.adaptor.updateView(),!0}},{key:"autoExpandOnHover",value:function(g){var m=this;this.previousTargetDom!==g&&(this.previousTargetDom=g,this.clearTimeoutForAutoExpand(),this.autoExpandTimer=window.setTimeout(function(){m.adaptor.expandNode(g)},this.autoExpandTime))}},{key:"clearTimeoutForAutoExpand",value:function(){window.clearTimeout(this.autoExpandTimer)}},{key:"_handleDragEnter",value:function(g){var m=this._isLocalDrag();return m||(this.adaptor.setDragState(!0),this.adaptor.updateView()),this._handleDragAndDropValidation(g)}},{key:"_handleDragEnterReordering",value:function(g){var m=g.position.row;this.dragEnterRow=m;var E=this._isLocalDrag();return E||(this.adaptor.setDragState(!0),this.adaptor.updateView()),m===a.REPARENT?this.isValidDrop=this._handleDragAndDropValidation(g):(this.previousTargetDom=null,this.isValidDrop=this._handleReorderingValidation(g),g.isValidReorder=this.isValidDrop,s.handleReorderingLine(g)),this.isValidDrop}},{key:"_handleDragAndDropValidation",value:function(g){var m=g.domNode,E=g.dragItem,w=g.type,I=this._isValidDragItem(E);if(!I)return!1;var M=this._getTargetInfo(m,w);return!!(this.canTargetAcceptSource({dropTarget:M,dataTransferItem:E,dropType:w})&&!this.isDraggedItemInTheNodePath({dropTarget:M,dataTransferItem:E,dropType:w}))}},{key:"_handleReorderingValidation",value:function(g){var m=g.domNode,E=g.dragItem,w=g.type,I=g.position,M={},R=this._isValidDragItem(E);if(!R)return!1;var T=this._getTargetInfo(m,w),N=T.path&&T.path.length;return N>1?(M.id=T.path[N-2],M.path=T.path.slice(0,N-1)):(M.id=null,M.path=[]),I.row===a.INSERT_BELOW&&T.isExpandable&&T.isExpanded&&(M.id=T.id),!!(this.canTargetAcceptSource({dropTarget:M,dataTransferItem:E,dropType:w})&&!this.isDraggedItemInTheNodePath({dropTarget:M,dataTransferItem:E,dropType:w}))}},{key:"_handleDragHover",value:function(g){var m=g.domNode,E=g.type,w=this._getTargetInfo(m,E);this.autoExpandOnHover(w),this._handleReparentingOnHover(g)}},{key:"_handleDragHoverOnReordering",value:function(g){var m=g.domNode,E=g.type,w=g.position,I=this._getTargetInfo(m,E),M=w.row;M===a.REPARENT&&(this.autoExpandOnHover(I),this._handleReparentingOnHover(g))}},{key:"_handleReparentingOnHover",value:function(g){var m=g.domNode,E=g.type,w=this._getTargetInfo(m,E),I=this.adaptor.getDragHoverState();E===o.TYPE_TREENODE&&(!I||I.id!==w.id)&&(this.adaptor.setDragHoverState(w),m.classList.add(i.TREENODE_DRAG_HOVER[0]))}},{key:"_handleDragEnd",value:function(g){var m=g.domNode;m.classList.remove(i.DRAGGED_NODE_CLASS),this.adaptor.setDragState(!1),this.adaptor.updateView(),s.removeInsertionLine(this.dndService._treeContainer),this.adaptor.setLocalDragState(!1)}},{key:"_handleDragLeave",value:function(g){var m=g.domNode,E=g.type;this.clearTimeoutForAutoExpand(),this.previousTargetDom=null;var w=this.adaptor.getDragHoverState();w&&w.id&&E===o.TYPE_TREENODE&&(this.adaptor.setDragHoverState({}),m.classList.remove(i.TREENODE_DRAG_HOVER[0]))}},{key:"_handleDragLeaveOnReordering",value:function(g){var m=g.domNode,E=g.type,w=this.adaptor.getDragHoverState(),I=this.dragEnterRow===a.INSERT_BELOW,M=this.dragEnterRow===a.INSERT_ABOVE,R=g.position.row===a.REPARENT,T=!((I||M)&&R);R&&(this.clearTimeoutForAutoExpand(),this.previousTargetDom=null),T&&s.removeInsertionLine(m),w&&w.id&&E===o.TYPE_TREENODE&&(this.adaptor.setDragHoverState({}),m.classList.remove(i.TREENODE_DRAG_HOVER[0]))}},{key:"_getTargetInfo",value:function(g,m){if(g&&m===o.TYPE_TREENODE){var E=this.adaptor.getCurrentViewPortData(),w=parseInt(g.getAttribute("data-row-index"));return E(w)(0).value}return{id:null}}},{key:"_handleDrop",value:function(g){if(this._isOutsideDrop()){var m=this.adaptor.getDragAndDropConfig().onDrop;this._handleDropOnReparentingFromOutside(g,m);return}this._handleDropOnReparenting(g)}},{key:"_isValidDragItem",value:function(g){return g.getDataTypes().includes(o.TYPE_TREENODE)||this.adaptor.isGlobalDropAllowed()}},{key:"_isOutsideDrop",value:function(){var g=this._isLocalDrag();return!g&&this.adaptor.isGlobalDropAllowed()}},{key:"_isLocalDrag",value:function(){return this.adaptor.getLocalDragState()}},{key:"_handleDropOnReordering",value:function(g){if(this._isOutsideDrop()){var m=this.adaptor.getDragAndDropConfig().onDrop;this._handleDropOnReorderingFromOutside(g,m);return}var E=g.domNode,w=g.position,I=w.row;if(I===a.REPARENT){this._handleDropOnReparenting(g);return}s.handleReorderNode(g,this.adaptor),this.adaptor.updateView(),s.removeInsertionLine(E)}},{key:"_handleDropOnReorderingFromOutside",value:function(g,m){var E=g.domNode,w=g.position,I=w.row;if(I===a.REPARENT){this._handleDropOnReparentingFromOutside(g,m);return}s.handleReorderNodeFromOutside(g,this.adaptor,m),this.adaptor.updateView(),s.removeInsertionLine(E)}},{key:"_handleDropOnReparentingFromOutside",value:function(g,m){this.clearTimeoutForAutoExpand();var E=g.domNode,w=g.dragItem,I=g.type,M=w,R=this._getTargetInfo(E,I);if(this.adaptor.setDragHoverState({}),E.classList.remove(i.TREENODE_DRAG_HOVER[0]),I===o.TYPE_TREE){var T={proxyNode:{id:null},node:{id:R.id},place:"last",type:I};m({dataTransferItem:M,target:T}),this.adaptor.updateView();return}var N=R.path&&R.path[R.path.length-1],F={proxyNode:{id:N},node:{id:R.id},place:"first",type:I};m({dataTransferItem:M,target:F}),this.adaptor.updateView()}},{key:"_handleDropOnReparenting",value:function(g){this.clearTimeoutForAutoExpand();var m=g.domNode,E=g.dragItem,w=g.type,I=this._getTargetInfo(m,w),M=E.getDataByType(o.TYPE_TREENODE);if(this.adaptor.setDragHoverState({}),m.classList.remove(i.TREENODE_DRAG_HOVER[0]),w===o.TYPE_TREE){var R={place:"last"};this.adaptor.moveTreeNodes(M,I,R),this.adaptor.updateView();return}this.adaptor.moveTreeNodes(M,I),this.adaptor.updateView()}},{key:"_getDragSourceInfo",value:function(g){var m=this.adaptor.getCurrentViewPortData(),E=this.adaptor.getCurrentSelection(),w=[],I=void 0;return g.forEach(function(M){I=parseInt(M.getAttribute("data-row-index")),w.push(m(I)(0).value)}),w.push.apply(w,A(E)),w.filter(function(M,R){return M.id!==w[0].id||R===0})}},{key:"_emitDropCompleted",value:function(g){this.emit("dropCompleted",g)}},{key:"_emitDropFailed",value:function(g){this.emit("dropFailed",g)}},{key:"exposedAPI",value:function(){return{}}},{key:"canSourceDrag",value:function(g,m){var E=g.map(function(I){return I.id}),w={nodeIds:E,type:o.TYPE_TREENODE};return this.adaptor.getDragAndDropConfig().canDrag?this.adaptor.getDragAndDropConfig().canDrag(w,m):!0}},{key:"canTargetAcceptSource",value:function(g){var m=g.dataTransferItem.getDataByType(o.TYPE_TREENODE),E=void 0,w={};Array.isArray(m)&&(E=m.map(function(R){return R.id}),w={nodeIds:E,type:o.TYPE_TREENODE});var I=g.dropTarget.id,M=void 0;return g.dropType===o.TYPE_TREE?M={type:o.TYPE_TREE}:g.dropType===o.TYPE_TREENODE&&(M={nodeId:I,type:o.TYPE_TREENODE}),this.adaptor.getDragAndDropConfig().canDrop?this.adaptor.getDragAndDropConfig().canDrop(w,M,g.dataTransferItem):!0}},{key:"isDraggedItemInTheNodePath",value:function(g){var m=g.dataTransferItem.getDataByType(o.TYPE_TREENODE);return g.dropType===o.TYPE_TREE||!Array.isArray(m)?!1:m.some(function(E){return g.dropTarget.path.includes(E.id)})}},{key:"destroy",value:function(){this.dndService&&this.dndService.destroy()}},{key:"emits",get:function(){var g=["dropFailed","dropCompleted"];return g}}],[{key:"adaptor",get:function(){return r}}]),v}(t);return c},_,P),_.exports=S},68592:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({TYPE_TREENODE:"TREENODE",TYPE_TREE:"TREE",MODE:{REORDER:"REORDER",REPARENT:"REPARENT",REORDER_WITHOUT_REPARENT:"REORDER_WITHOUT_REPARENT"},Events:{registerDnDSource:"registerDnDSource",syncDnDSource:"syncDnDSource",moveCompleted:"moveCompleted",moveFailed:"moveFailed",onDragSelection:"onDragSelection"}});return C},_,P),_.exports=S},67498:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({INSERT_ABOVE:0,INSERT_BELOW:2,REPARENT:1,ROW_DIVISION:{TYPE_TREE_NODE_DIVISION:"5 auto 5",TYPE_TREE_DIVISION:"0 auto 0"}});return C},_,P),_.exports=S},24880:(_,P,l)=>{var b,S;b=[l(65811),l(67498),l(68592)],S=l.dj.d(b,function(C,A,p){var d=18,n=13,e=1,t=2,r=document.createElement("span");r.classList.add(C.REORDERING);var i={insertionLine:r};function s(R){var T=document.createElement("div");T.classList.add("dummyDiv"),R.append(T);var N=parseFloat(window.getComputedStyle(R).width);T.style.width=N+"px",T.style.height=e+"px",T.style.position="absolute"}function a(R,T){var N=R.domNode,F=R.isValidReorder,y=N.nextElementSibling;N.nextSibling||s(N),f(R)||(N.append(T.insertionLine),u(N)?c(y,T):c(N,T),F?v(T):h(T))}function o(R,T){var N=R.domNode,F=R.isValidReorder;g(R)||(N.prepend(T.insertionLine),c(N,T),F?v(T):h(T))}function u(R){var T=R.nextElementSibling,N=parseInt(w(T)),F=parseInt(w(R));return N===F+1}function c(R,T){var N=parseInt(R.getAttribute("data-level-index")),F=(N+1)*d,y=parseFloat(window.getComputedStyle(R).width);T.insertionLine.style.width=y-(F+n-t)+"px",T.insertionLine.style.marginLeft=F+"px"}function h(R){R.insertionLine.classList.remove(C.VALID_REORDERING),R.insertionLine.classList.add(C.INVALID_REORDERING)}function v(R){R.insertionLine.classList.remove(C.INVALID_REORDERING),R.insertionLine.classList.add(C.VALID_REORDERING)}function f(R){var T=R.domNode,N=R.dragItem,F=N.getDataByType(p.TYPE_TREENODE),y=w(T),x=T.nextElementSibling,O=w(x),L=T.classList.contains("selected"),W=x&&x.classList.contains("selected"),j=F.length>1,H=L||O>=y&&W;if(T.classList.contains("mw-tree-scroll-component")||H&&!j)return!0}function g(R){var T=R.domNode,N=R.dragItem,F=w(T),y=N.getDataByType(p.TYPE_TREENODE),x=T.previousElementSibling,O=w(x),L=T.classList.contains("selected"),W=y.length>1,j=x&&x.classList.contains("selected"),H=L||O<=F&&j;if(T.classList.contains("mw-tree-scroll-component")||H&&!W)return!0}function m(R,T,N){if(R&&T===p.TYPE_TREENODE){var F=N.getCurrentViewPortData(),y=parseInt(R.getAttribute("data-row-index"));return F(y)(0).value}return{id:null}}function E(R,T,N){var F={};F.place="after",F.node={id:T.id};var y=T.path,x=void 0;if(y&&y.length>1){x=y[y.length-2];var O={id:x};N.moveTreeNodes(R,O,F)}else{var L={id:null};N.moveTreeNodes(R,L,F)}}function w(R){if(R)return parseInt(R.getAttribute("data-level-index"))}function I(R){var T=R.path,N=void 0;return T&&T.length>1?(N=T[T.length-2],N):null}function M(R,T,N){var F={};F.place="before",F.node={id:T.id};var y=T.path,x=void 0;if(y&&y.length>1){x=y[y.length-2];var O={id:x};N.moveTreeNodes(R,O,F)}else{var L={id:null};N.moveTreeNodes(R,L,F)}}return{handleReorderingLine:function(T){var N=T.position,F=N.row;F===A.INSERT_BELOW?a(T,i):F===A.INSERT_ABOVE&&o(T,i)},handleReorderNode:function(T,N){var F=T.domNode,y=T.dragItem,x=T.type,O=T.position,L=m(F,x,N),W=y.getDataByType(p.TYPE_TREENODE);if(O.row===A.INSERT_BELOW){if(u(F)){var j=F.nextElementSibling;L=m(j,x,N),M(W,L,N);return}E(W,L,N)}else O.row===A.INSERT_ABOVE&&M(W,L,N)},handleReorderNodeFromOutside:function(T,N,F){var y=T.domNode,x=T.dragItem,O=T.type,L=T.position,W=m(y,O,N),j=x,H=I(W);if(L.row===A.INSERT_BELOW){if(u(y)){var K=y.nextElementSibling;W=m(K,O,N);var $=I(W),V={proxyNode:{id:$},node:{id:W.id},place:"before",type:O};F({dataTransferItem:j,target:V});return}var z={proxyNode:{id:H},node:{id:W.id},place:"after",type:O};F({dataTransferItem:j,target:z})}else if(L.row===A.INSERT_ABOVE){var X={proxyNode:{id:H},node:{id:W.id},place:"before",type:O};F({dataTransferItem:j,target:X})}},removeInsertionLine:function(T){var N=T.querySelector("."+C.REORDERING),F=T.querySelector(".dummyDiv");N&&N.remove(),F&&F.remove()}}},_,P),_.exports=S},41040:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(54653),l(18522),l(10383),l(68592)],S=l.dj.d(b,function(p,d,n,e){var t=function(){function r(i){var s=this;A(this,r),this.adaptor=i,this.selectionData=[],this.adaptor.on(e.Events.registerDnDSource,function(a){return s._registerDnDSource(a)}),this.adaptor.on(e.Events.syncDnDSource,function(a){return s._updateSelectionData(a)})}return C(r,[{key:"_isGlobalDragAllowed",value:function(){return!!this.adaptor.getDragAndDropConfig().setDragDataBySelection}},{key:"_updateSelectionData",value:function(s){var a=this;this.adaptor.getSelectionData().then(function(o){a.selectionData=o})}},{key:"_getTextDataFromSelection",value:function(){return this.selectionData.map(function(s){return s.label}).join(", ")}},{key:"_registerDnDSource",value:function(s){this.dndService=new d(s.treeContainerNode,{dragSources:{type:e.TYPE_TREENODE,allowGlobal:this._isGlobalDragAllowed(),handleDragStart:this._handleDragStart.bind(this),handleDragEnd:this._handleDragEnd.bind(this)}},this.adaptor.isNodeLabelTruncated())}},{key:"_handleDragStart",value:function(s){var a=s.dragItem;return a.setDataByType(n.NativeType.TEXT,this._getTextDataFromSelection()),this.adaptor.updateView(),!0}},{key:"_handleDragEnd",value:function(){this.adaptor.updateView()}},{key:"exposedAPI",value:function(){return{}}},{key:"destroy",value:function(){this.dndService&&this.dndService.destroy()}},{key:"emits",get:function(){var s=[];return s}}],[{key:"adaptor",get:function(){return p}}]),r}();return t},_,P),_.exports=S},50684:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({V_TRIGGER_AUTOSCROLL:32,H_TRIGGER_AUTOSCROLL:32,V_AUTOSCROLL_VALUE:16,H_AUTOSCROLL_VALUE:16}),A=[10,32],p=[0,32];function d(t){var r=p[1]-t,i=A[1]-A[0],s=p[1]-p[0];return r*(i/s)+A[0]}function n(t,r){var i=t.getBoundingClientRect(),s=i.left,a=i.top,o=r.xOffset,u=r.yOffset,c=s+o,h=a+u;return{mouseLeftPosition:c,mouseTopPosition:h}}function e(t,r,i){var s=i.getBoundingClientRect(),a=s.left,o=s.top,u=s.bottom,c=s.right,h=u-t,v=t-o,f=c-r,g=r-a;return{distanceFromContainerBottom:h,distanceFromContainerTop:v,distanceFromContainerRight:f,distanceFromContainerLeft:g}}return{scroll:function(r,i,s,a){var o=!a&&i.scrollWidth>i.clientWidth,u=i.scrollHeight>i.clientHeight;if(!(!o&&!u)){var c=n(r,s),h=c.mouseLeftPosition,v=c.mouseTopPosition,f=e(v,h,i),g=f.distanceFromContainerBottom,m=f.distanceFromContainerTop,E=f.distanceFromContainerRight,w=f.distanceFromContainerLeft;u&&(g<C.V_TRIGGER_AUTOSCROLL?i.scrollTop=i.scrollTop+d(g):m<C.V_TRIGGER_AUTOSCROLL&&(i.scrollTop=i.scrollTop-d(m))),o&&(E<C.H_TRIGGER_AUTOSCROLL?i.scrollLeft=i.scrollLeft+d(E):w<C.H_TRIGGER_AUTOSCROLL&&(i.scrollLeft=i.scrollLeft-d(w)))}}}},_,P),_.exports=S},18522:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(10383),l(50684),l(6460),l(65811),l(68592)],S=l.dj.d(b,function(p,d,n,e,t){var r=function(){function i(s,a,o){A(this,i),this._context=p.createContext({context:s}),this._dragSources=[],this._dropTargets=[],this._handlers=a,this._isTruncated=o,this._treeContainer=s,a&&a.dragSources&&this._createDragSource("."+e[a.dragSources.type][0],a.dragSources),a&&a.dropTargets&&(this._createDropTarget("."+e[t.TYPE_TREENODE][0],t.TYPE_TREENODE,a),this._createDropTarget(s,t.TYPE_TREE,a))}return C(i,[{key:"destroy",value:function(){this._context.destroy()}},{key:"_createDragSource",value:function(a,o){var u=this._createDragLifecycle(o),c=this._context.createDragSource({dragSource:a,allowGlobal:o.allowGlobal,lifecycle:u});this._dragSources.push(c)}},{key:"_createDragLifecycle",value:function(a){var o=this,u={};if(a.handleDragStart)u.start=function(c,h){return o._draggedOnDisclosureIcon(h,c.getXYCoordinates())?!1:a.handleDragStart({dragItem:c,domNode:h})};else throw new Error("Exception : handleDragStart handler is required");return a.handleDragEnd&&(u.end=function(c,h){return a.handleDragEnd({dragItem:c,domNode:h})}),u}},{key:"_createDropTarget",value:function(a,o,u){var c=this._createDropLifeycle(u.dropTargets,o),h={dropTarget:a,allowGlobal:u.dropTargets.allowGlobal,lifecycle:c};o===t.TYPE_TREENODE&&u.rowDivision&&(h.rowRegions=u.rowDivision.TYPE_TREE_NODE_DIVISION),o===t.TYPE_TREE&&u.rowDivision&&(h.rowRegions=u.rowDivision.TYPE_TREE_DIVISION);var v=this._context.createDropTarget(h);this._dropTargets.push(v)}},{key:"_createDropLifeycle",value:function(a,o){var u=this,c={};if(a.handleDragEnter)c.enter=function(h,v,f){return v===u._treeContainer&&u._isInScrollBarRegion(v,h.getXYCoordinates())?!1:a.handleDragEnter({dragItem:h,domNode:v,type:o,position:f})};else throw new Error("Exception : handleDragEnter handler is required");if(a.handleDrop)c.drop=function(h,v,f){a.handleDrop({dragItem:h,domNode:v,type:o,position:f})};else throw new Error("Exception : handleDrop handler is required");return c.hover=function(h,v,f){if(n.noAutoScrollSupport&&window.requestAnimationFrame(function(){d.scroll(v,u._treeContainer,h.getXYCoordinates(),u._isTruncated)}),a.handleDragHover)return a.handleDragHover({dragItem:h,domNode:v,type:o,position:f})},a.handleDragLeave&&(c.leave=function(h,v,f){a.handleDragLeave({dragItem:h,domNode:v,type:o,position:f})}),c}},{key:"_draggedOnDisclosureIcon",value:function(a,o){var u=a.querySelector(".disclosureIcon");if(!u)return!1;var c=u.getBoundingClientRect(),h=c.left,v=c.right,f=c.bottom,g=c.top,m=a.getBoundingClientRect(),E=m.left,w=m.top,I=E+o.xOffset,M=w+o.yOffset;return I>=h&&I<=v&&M>=g&&M<=f}},{key:"_isInScrollBarRegion",value:function(a,o){return a.clientWidth<=o.xOffset||a.clientHeight<=o.yOffset}},{key:"MOVE",get:function(){return this._context.MOVE}}]),i}();return r},_,P),_.exports=S},63508:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(93807)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a}return C(i,[{key:"filter",value:function(a,o){this.adaptor.filter(a,o)}},{key:"clearFilter",value:function(){this.adaptor.clearFilter()}},{key:"exposedAPI",value:function(){var a=this;return{filter:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayChildren:!1};return a.filter(u,c)},clearFilter:function(){return a.clearFilter()}}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},22958:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(65724),l(46121)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,s));return a.adaptor=s,a.adaptor.on("containerMount",function(){return a._containerAddDesignTimeClass()}),a.adaptor.on("containerUpdate",function(){return a._containerAddDesignTimeClass()}),a}return C(i,[{key:"exposedAPI",value:function(){return{setFocus:this.setFocus.bind(this),getFocus:this.getFocus.bind(this),isNodeInViewPort:this.isNodeInViewPort.bind(this)}}},{key:"setFocus",value:function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.adaptor.setFocusedState(a,!0),this.adaptor.setKeyboardActiveState(a),o&&this.adaptor.getTreeContainerNode().focus()}},{key:"getFocus",value:function(){return this.adaptor.getFocusedState()}},{key:"isNodeInViewPort",value:function(a){for(var o=this.adaptor.getViewPortInfo(),u=o.currentViewPort,c=u.rangeList[0].rows,h=c.start,v=c.end,f=o.currentViewPortData,g=h;g<=v;g++)if(f(g)(0).value&&f(g)(0).value.id===a)return!0;return!1}},{key:"_containerAddDesignTimeClass",value:function(){var a=this.adaptor.getTreeContainerNode();n.add(a,"mw-tree-design-time")}}]),i}(e);return t},_,P),_.exports=S},46121:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(74602)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a.adaptor.on("nodeFocusClick",function(o){return a._nodeClicked(o)}),a.adaptor.on("nodeFocusKeyPress",function(o){return a._keyPressed(o)}),a}return C(i,[{key:"focus",value:function(){this.adaptor.setContainerFocus()}},{key:"setNodeFocus",value:function(a){if(a&&!a.id)throw new Error("Expected: treeNode object with id property. Usage: setNodeFocus({id: 'node1'}) to set node focus,setNodeFocus() to empty focus");this.adaptor.setKeyboardActiveState(a),this.adaptor.setFocusedState(a,!0)}},{key:"_nodeClicked",value:function(a){var o=a.ctrlKey||a.metaKey;a.altKey||a.shiftKey&&o||this.adaptor.setFocusedState(a.node)}},{key:"_keyPressed",value:function(a){this.adaptor.setFocusedState(a.currentKeyboardActiveNode)}},{key:"exposedAPI",value:function(){return{focus:this.focus.bind(this),setNodeFocus:this.setNodeFocus.bind(this)}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){var a=[];return a}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},17944:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(45854)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a._listeners=[],a._listeners.push(a.adaptor.on("scrollChanged",function(o){return a._emitScrollView(o)})),a._isScrollBarShown=!0,a}return C(i,[{key:"scrollToPosition",value:function(a){var o=void 0;if(typeof a.scrollTop=="number"&&typeof a.scrollLeft=="number"||typeof a.scrollTop=="number"&&a.scrollLeft===void 0||typeof a.scrollLeft=="number"&&a.scrollTop===void 0)return this.adaptor.scrollToPosition(a),o=new Promise(function(u){u(null)}),o;throw new Error(`scrollToPosition needs scrollTop, scrollLeft, or both set as properties as positive integers.
Examples:
scrollToPosition({ scrollTop: 30 })
scrollToPosition({ scrollTop: 30, scrollLeft: 50 })`)}},{key:"getScrollComponentDimensions",value:function(){return this.adaptor.getScrollComponentDimensions()}},{key:"_emitScrollView",value:function(a){this.emit("scrollViewChanged",a)}},{key:"_displayScrollBars",value:function(a){this._isScrollBarShown=a,a===!1&&this.adaptor.hideScrollBars(),a===!0&&this.adaptor.displayScrollBars()}},{key:"exposedAPI",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this),exposedVariables:{displayScrollBars:{setter:function(a){this._displayScrollBars(a)}.bind(this),getter:function(a){return this._isScrollBarShown}.bind(this)}}}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){var a=["scrollViewChanged"];return a}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},24482:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(99035)],S=l.dj.d(b,function(n,e){var t=function(r){d(i,r);function i(s){A(this,i);var a=p(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.adaptor=s,a}return C(i,[{key:"search",value:function(a){this.adaptor.search(a)}},{key:"clearSearch",value:function(){this.adaptor.clearSearch()}},{key:"nextSearchOccurrence",value:async function(){var a=await this.adaptor.nextSearchOccurrence();return a}},{key:"prevSearchOccurrence",value:async function(){var a=await this.adaptor.prevSearchOccurrence();return a}},{key:"exposedAPI",value:function(){var a=this;return{search:function(u){return a.search(u)},clearSearch:function(){return a.clearSearch()},nextSearchOccurrence:async function(){var u=await a.nextSearchOccurrence();return u},prevSearchOccurrence:async function(){var u=await a.prevSearchOccurrence();return u}}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return e}}]),i}(n);return t},_,P),_.exports=S},27673:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(51337),l(81893)],S=l.dj.d(b,function(n,e,t){var r=function(i){d(s,i);function s(a){A(this,s);var o=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return o.adaptor=a,o._listeners=[],o._listeners.push(o.adaptor.on("nodeSelectionMouseDown",function(u){return o._handleMouseDown(u)})),o._listeners.push(o.adaptor.on("nodeSelectionClick",function(u){return o._handleClickAndDoubleClick(u)})),o._listeners.push(o.adaptor.on("nodeSelectionDoubleClick",function(u){return o._handleClickAndDoubleClick(u)})),o._listeners.push(o.adaptor.on("nodeSelectionContextMenu",function(u){return o._handleContextMenu(u)})),o._listeners.push(o.adaptor.on("nodeSelectionKeyPress",function(u){return o._handleKeyboard(u,{node:u.currentKeyboardActiveNode,nodeIndex:u.nodeIndex})})),o.adaptor.setRangeSelectionModel(),o._selectionChanged={},o}return C(s,[{key:"_hasSelectionChanged",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return o.length!==u.length?!0:u[u.length-1].id!==o[o.length-1].id}},{key:"_emitSelectionEvt",value:function(o,u){if(o=o||[],u=u||[],this._hasSelectionChanged(o,u)){var c=u.map(function(h){return h.id});this.emit("selectionChanged",{nodeIds:c})}}},{key:"_handleClickAndDoubleClick",value:function(o){var u=o.node.id;o.isNodeAlreadySelected&&!this._selectionChanged[u]&&this._handleSelection(o,{node:o.node,nodeIndex:o.nodeIndex}),delete this._selectionChanged.nodeId}},{key:"_handleMouseDown",value:function(o){var u=o.node.id;o.isNodeAlreadySelected?this._selectionChanged[u]=!1:(this._selectionChanged[u]=!0,this._handleSelection(o,{node:o.node,nodeIndex:o.nodeIndex}))}},{key:"_handleContextMenu",value:function(o){var u=this;o.isNodeAlreadySelected||this.adaptor.setIndividualSelection({node:o.node,nodeIndex:o.nodeIndex},function(c){return u._emitSelectionEvt(o.currentSelection,c)})}},{key:"_isValidExtendedSelectionkey",value:function(o){switch(o.keyCode){case e.ARROW_DOWN:case e.ARROW_UP:case e.PAGE_DOWN:case e.PAGE_UP:case e.HOME:case e.END:case e.SPACE:return!0;default:return!1}}},{key:"_handleSelection",value:function(o,u){var c=this,h=o.ctrlKey||o.metaKey,v=o.shiftKey,f=o.keyCode===e.SPACE,g=function(w){return c._emitSelectionEvt(o.currentSelection,w)},m={node:u.node,nodeIndex:u.nodeIndex,isMetaKeyPressed:h};o.altKey||h&&v||(h?this.adaptor.setDiscontiguousSelection(m,g):v?this.adaptor.setContiguousSelection(m,g):f?this.adaptor.setDiscontiguousSelection(m,g):this.adaptor.setIndividualSelection(m,g))}},{key:"_handleKeyboard",value:function(o,u){var c=o.ctrlKey||o.metaKey,h=!c&&!o.shiftKey||c&&o.keyCode===e.SPACE||o.shiftKey&&this._isValidExtendedSelectionkey(o);h&&u.node&&this._handleSelection(o,u)}},{key:"setSelection",value:function(o){if(o===null&&(o=[]),Array.isArray(o)){if(this.adaptor.setSelectionState(o,null,!0),o.length===1){var u=o[0];this.adaptor.updateBoundaryNodeProgrammatically(u)}}else throw new Error("Expected: TreeNodes array or null to signify no selection.Usage: setSelection([{id: 'node5'}]), setSelection([]), setSelection(null)")}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){var o=this;return{setSelection:function(c){return o.setSelection(c)},getSelection:function(){return o.getSelection()}}}},{key:"destroy",value:function(){this._listeners.forEach(function(o){return o.remove()})}},{key:"emits",get:function(){var o=["selectionChanged"];return o}}],[{key:"adaptor",get:function(){return t}}]),s}(n);return r},_,P),_.exports=S},26156:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(20980),l(51337),l(81893)],S=l.dj.d(b,function(n,e,t){var r=function(i){d(s,i);function s(a){A(this,s);var o=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return o.adaptor=a,o._listeners=[],o._listeners.push(o.adaptor.on("nodeSelectionMouseDown",function(u){return o._nodeMouseHandler(u)})),o._listeners.push(o.adaptor.on("nodeSelectionContextMenu",function(u){return o._contextMenuHandler(u)})),o._listeners.push(o.adaptor.on("nodeSelectionKeyPress",function(u){return o._setKeyboardSelection(u,u.currentKeyboardActiveNode)})),o}return C(s,[{key:"_toggleSelection",value:function(o,u){var c=o.currentSelection&&o.currentSelection[0]?o.currentSelection[0]:null;c&&u.id===c.id?(this.adaptor.setSelectionState([]),this.emit("selectionChanged",{nodeIds:[]})):this._setSelection(o,u)}},{key:"_setSelection",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,c=o.currentSelection&&o.currentSelection[0]?o.currentSelection[0]:null,h=c===null&&u!==null||c&&u.id!==c.id;if(h){var v=[u];this.adaptor.setSelectionState(v);var f=v.map(function(g){return g.id});this.emit("selectionChanged",{nodeIds:f})}}},{key:"_contextMenuHandler",value:function(o){this._setSelection(o,o.node)}},{key:"_nodeMouseHandler",value:function(o){o.altKey||(o.ctrlKey||o.metaKey?this._toggleSelection(o,o.node):this._setSelection(o,o.node))}},{key:"_setKeyboardSelection",value:function(o,u){var c=o.ctrlKey||o.metaKey;c?o.keyCode===e.SPACE&&this._toggleSelection(o,u):this._setSelection(o,u)}},{key:"setSelection",value:function(o){if(o===null&&(o=[]),Array.isArray(o))o.length=o.length>1?1:o.length,this.adaptor.setSelectionState(o,null,!0);else throw new Error("Expected: TreeNodes array or null to signify no selection.Usage: setSelection([{id: 'node5'}]), setSelection([]), setSelection(null)")}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){var o=this;return{setSelection:function(c){return o.setSelection(c)},getSelection:function(){return o.getSelection()}}}},{key:"destroy",value:function(){this._listeners.forEach(function(o){return o.remove()})}},{key:"emits",get:function(){var o=["selectionChanged"];return o}}],[{key:"adaptor",get:function(){return t}}]),s}(n);return r},_,P),_.exports=S},76171:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(80868),l(25164),l(56091),l(18976)],S=l.dj.d(b,function(d,n,e,t){"use strict";var r=21,i=25,s=4,a=function(){function o(u){p(this,o),u=u||{};var c=u,h=c.isChecked,v=c.getValueForAction,f=c.getA11yProperties;this._checkboxDefaultClasses=["mwDefaultVisualFamily","mwEnabled","mwWidget","mwCheckBox","mw-data-checkbox-renderer"],this._checkboxCheckedClasses=["mwCheckBoxChecked"],h&&(this._isChecked=h),v&&(this.getValueForAction=v),f&&(this._getA11yProperties=f)}return A(o,[{key:"_isChecked",value:function(c){return!!(c&&c.checked===!0)}},{key:"getDomNode",value:function(c,h){var v=document.createElement("div"),f=document.createElement("span"),g=document.createElement("div"),m=document.createElement("div"),E=this._isChecked(c);if(f.className=this._checkboxDefaultClasses.join(" "),E&&f.classList.add(this._checkboxCheckedClasses),c&&c.a11y&&c.a11y.checkboxDescription)g.setAttribute("aria-label",c.a11y.checkboxDescription);else if(this._getA11yProperties){var w=this._getA11yProperties(c);w&&w.checkboxDescription&&g.setAttribute("aria-label",w.checkboxDescription)}g.setAttribute("role","checkbox"),h&&(h.readonly||h.noMouseInteraction)?(g.setAttribute("disabled",""),g.setAttribute("aria-disabled",!0),g.removeAttribute("tabindex"),g.setAttribute("aria-checked",E),g.setAttribute("data-clickable",!1),m.setAttribute("data-clickable",!1)):(g.setAttribute("aria-checked",E),g.setAttribute("data-clickable",!0),m.setAttribute("data-clickable",!0)),g.className="mwCheckBoxRadioIconNode",m.className="mwCheckBoxRadioIconInner",g.appendChild(m),f.appendChild(g),h.isExpandable!==void 0&&!h.isExpandable&&v.appendChild(f);var I=c.iconUri,M=c.iconId,R=void 0;if(I||M){if(R=document.createElement("span"),R.setAttribute("data-test-id","icon1"),R.className="treeNodeIcon",M){var T=d.getIconByIdDom(M);R.appendChild(T)}else R.style.backgroundImage="url('"+encodeURI(I)+"')";v.appendChild(R)}var N=this._getLabelDOMNode(c,h);return v.appendChild(N),v.className="mw-tree-renderer",v}},{key:"_getLabelDOMNode",value:function(c,h){var v,f=document.createElement("span"),g=document.createElement("span"),m="label",E=c.label,w=["treeNodeText"];if(t.isTruncated()){var I,M=["mw-tree-node-truncation"];t.isLeft()&&(M.push("mw-tree-node-left-truncation"),E="\u200E"+c.label+"\u200E");var R=h.isExpandable!==void 0&&!h.isExpandable,T=!!c.iconUri,N=R&&T?r+i:R&&!T?r:!R&&T?i:s,F="calc(100% - "+N+"px)";(I=g.classList).add.apply(I,M),g.style.width=F,g.appendChild(f)}if((v=f.classList).add.apply(v,w),f.setAttribute("data-test-id","label"),f.setAttribute("data-region",!0),h&&Array.isArray(h.highlight)){var y=n.getHighlightedTextDOM(c.label,m,h.highlight);y.forEach(function(x){x.setAttribute&&x.setAttribute("data-region",!0),f.appendChild(x)})}else f.textContent=E;return t.isTruncated()?g:f}},{key:"getValueForAction",value:function(c){var h=d.shallowCopy(c);return d.isTypeObject(h)&&(h.checked=!h.checked),{oldValue:c,newValue:h}}},{key:"handleAction",value:function(c,h){var v={};switch((!h||(typeof h>"u"?"undefined":C(h))!=="object")&&(h={}),h.actionName){case e.CLICK:var f=h.target;f&&f.getAttribute("data-clickable")==="true"&&(v=this.getValueForAction(c));break;case e.KEY_PRESS:v=this.getValueForAction(c);break;default:v={}}return v.hasOwnProperty("newValue")&&this._isChecked(c)!==this._isChecked(v.newValue)?v.hasChanged=!0:v={hasChanged:!1},v}}]),o}();return a},_,P),_.exports=S},9210:(_,P,l)=>{var b,S;b=[l(25164),l(18976),l(80868)],S=l.dj.d(b,function(C,A,p){"use strict";var d="5px",n="25px",e="icon1",t="treeNodeIcon";return{getDomNode:function(i,s){var a=void 0,o=document.createElement("span");o.className="mw-tree-renderer";var u=void 0,c=i.iconUri,h=i.iconId;if(h||c){if(u=document.createElement("span"),h){var v=p.getIconByIdDom(h);u.appendChild(v)}else c&&(u.style.backgroundImage="url('"+encodeURI(c)+"')");u.setAttribute("data-test-id",e),u.className=t,o.appendChild(u)}return a=this._getLabelDOMNode(i,s),o.appendChild(a),o},_getLabelDOMNode:function(i,s){var a,o=document.createElement("span"),u=document.createElement("span"),c="label",h=i.label,v=[];if(v.push("treeNodeText"),A.isTruncated()){var f,g=["mw-tree-node-truncation"];A.isLeft()&&(g.push("mw-tree-node-left-truncation"),h="\u200E"+i.label+"\u200E");var m=i.iconUri?n:d,E="calc(100% - "+m+")";(f=u.classList).add.apply(f,g),u.style.width=E,u.appendChild(o)}if((a=o.classList).add.apply(a,v),o.setAttribute("data-test-id","label"),o.setAttribute("data-region",!0),s&&Array.isArray(s.highlight)){var w=s.searchNavigationData&&i.id===s.searchNavigationData.id,I=C.getHighlightedTextDOM(h,c,s.highlight,w,s.searchNavigationData);I.forEach(function(M){M.setAttribute&&M.setAttribute("data-region",!0),o.appendChild(M)})}else o.textContent=h;return A.isTruncated()?u:o}}},_,P),_.exports=S},80868:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(12803)],S=l.dj.d(b,function(d){"use strict";var n=16,e=function(){function t(){p(this,t)}return A(t,null,[{key:"shallowCopy",value:function(i){var s={};if(i!==null&&(typeof i>"u"?"undefined":C(i))==="object"&&!Array.isArray(i)){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(s[a]=i[a]);return s}else return i}},{key:"isTypeObject",value:function(i){return(typeof i>"u"?"undefined":C(i))==="object"}},{key:"getIconByIdDom",value:function(i){var s=document.createElement("mw-icon");return s.setAttribute("icon-id",i),s.setAttribute("icon-width",n),s.setAttribute("icon-height",n),s}}]),t}();return e},_,P),_.exports=S},20980:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){var p=function(){function d(n){A(this,d),this._events=[]}return C(d,[{key:"on",value:function(e,t){var r=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var i={};return i.remove=function(){var s=r._events[e].indexOf(t);r._events[e].splice(s,1),i.remove=function(){return null}},i}},{key:"emit",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this._events[e],i=Object.getOwnPropertyNames(t),s={};i.forEach(function(o){s[o]=t[o]});var a=function(u){u&&u.forEach(function(c){c(s)})};a(r)}}]),d}();return p},_,P),_.exports=S},25164:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return{getHighlightedTextDOM:function(A,p,d){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,e=arguments[4],t=[],r=[];r=d.filter(function(s){return s.field===p}),r.length>0?t=this._getMatchedDOM(A,r):t.push(this._createNonHighlightedTextContentForDisplay(A));var i=t.filter(function(s){return s.tagName&&s.tagName==="MARK"});return n&&i&&e.indexInRow>=0&&i.length>e.indexInRow&&i[e.indexInRow].classList.add("treeSearchNavigationHighlight"),t},_getMatchedDOM:function(A,p){for(var d=[],n=void 0,e=void 0,t=this._createClassNameLookUp(A,p),r=0;r<t.length;){var i=void 0,s=void 0;if(t[r]===0){for(i=r;t[r]===0&&r<t.length;)r++;s=r,n=this._createNonHighlightedTextContentForDisplay(A.substring(i,s)),d.push(n)}if(r<t.length){i=r;for(var a=t[r];t[r]!==0&&r<t.length&&a===t[r];)r++;s=r,e=this._createHighlightedTextContentForDisplay(A.substring(i,s)),e.className=a,d.push(e)}}return d},_createClassNameLookUp:function(A,p){for(var d="treeHighlight",n=new Array(A.length).fill(0),e=function(i){var s=p[i];s.matches.forEach(function(a){for(var o=a.className||s.className||d,u=a.start+a.count,c=a.start;c<u;c++){var h=n[c];(h===void 0||h!=="treeNodeHighlightPrimary")&&(n[c]=o)}})},t=0;t<p.length;t++)e(t);return n},_createHighlightedTextContentForDisplay:function(A){var p=document.createElement("mark");return p.textContent=A,p},_createNonHighlightedTextContentForDisplay:function(A){var p=document.createTextNode(A);return p}}},_,P),_.exports=S},51337:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({BACKSPACE:8,NUM_START:48,NUM_END:57,F2:113,SPACE:32,ENTER:13,ESCAPE:27,X:88,C:67,V:86,ALPHA_START:65,ALPHA_END:90,NUMPAD_START:95,NUMPAD_END:112,SYM1_START:185,SYM1_END:193,SYM2_START:219,SYM2_END:222,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,CTRL:17,SHIFT:16,META:91,ALT:18});return C},_,P),_.exports=S},45993:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(17807),l(72726),l(48784),l(33236)],S=l.dj.d(b,function(p,d,n,e){var t=function(){function r(){A(this,r)}return C(r,null,[{key:"validatingKeyBindingLength",value:function(s){if(d.isArrayEmpty(s))throw new Error("Invalid KeyBinding, one or more values are empty")}},{key:"validatingPlatformInKeyBinding",value:function(s){var a=n.exposed.WINDOWS in s,o=n.exposed.LINUX in s,u=n.exposed.MAC in s;if(!(a&&o&&u))throw new Error("Invalid KeyBinding, it should have Tree.PLATFORMS.WINDOWS, Tree.PLATFORMS.LINUX and Tree.PLATFORMS.MAC as a key")}},{key:"validateSequenceOfKeyCombination",value:function(s){if(s){if(d.hasDuplicates(s))throw new Error("Invalid KeyBinding, Duplicate Key Combination found");var a=p.getKeyCodeArray(s);if(a.length!==1)throw new Error("Invalid KeyBinding, Excluding modifiers, there can only be one key for the binding");return!0}return!1}},{key:"validateKeyCombinations",value:function(s,a,o){if(s&&a&&o){var u=o.filter(function(E){return Array.isArray(E.keyCode)}),c=!0,h=!1,v=void 0;try{for(var f=u[Symbol.iterator](),g;!(c=(g=f.next()).done);c=!0){var m=g.value;if(d.isArrayMatching(m[e.KEY_CODE],s)&&p.isThePlatformInObject(m[e.PLATFORMS],a))throw new Error("Invalid KeyBinding, Key Combination is already bound to addCustomKeyHandler API")}}catch(E){h=!0,v=E}finally{try{!c&&f.return&&f.return()}finally{if(h)throw v}}}}}]),r}();return t},_,P),_.exports=S},17807:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(48784),l(33236),l(51337),l(72726)],S=l.dj.d(b,function(p,d,n,e){var t=function(){function r(){A(this,r)}return C(r,null,[{key:"isKeyBindingInHandlerList",value:function(s,a,o){return o&&a&&s?o.some(function(u){if(u&&u[d.KEY_CODE]&&u[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(s,u)&&u[d.KEY_HANDLER_NAME]===a}):!1}},{key:"isKeyCodeEqual",value:function(s,a){var o=!1;return Array.isArray(s)&&Array.isArray(a[d.KEY_CODE])?o=e.isArrayMatching(s,a[d.KEY_CODE]):o=a[d.KEY_CODE]===s,o}},{key:"isPlatformInTheList",value:function(s,a){return s&&a?s.some(function(o){if(o)return o===a}):!1}},{key:"isThePlatformInObject",value:function(s,a){return s&&Array.isArray(s)&&a?s.includes(a)||s.includes(p.internal.ALL)||a===p.internal.ALL:!1}},{key:"findPropertyInTheObject",value:function(s,a,o){return o&&a&&s?o.find(function(u){if(u&&u[d.KEY_CODE]&&u[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(s,u)&&u[d.KEY_HANDLER_NAME]===a}):!1}},{key:"findKeyCodeInTheList",value:function(s,a,o){return o.find(function(u){return u[d.KEY_CODE]===s&&r.isThePlatformInObject(u[d.PLATFORMS],a)})}},{key:"getModifierLookupList",value:function(){return{altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1}}},{key:"getModifierKeyCodeState",value:function(s){var a=e.containsKeyCode(n.CTRL,s),o=e.containsKeyCode(n.SHIFT,s),u=e.containsKeyCode(n.ALT,s),c=e.containsKeyCode(n.META,s);return{ctrlKey:a,shiftKey:o,altKey:u,meta:c}}},{key:"getKeyCodeArray",value:function(s){var a=[];if(s){var o=!0,u=!1,c=void 0;try{for(var h=s[Symbol.iterator](),v;!(o=(v=h.next()).done);o=!0){var f=v.value,g=f;if(!r.keyCodeLookUpArray().includes(g)&&!r.getValidModifierList().includes(g))throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc");r.getValidModifierList().includes(g)||a.push(g)}}catch(m){u=!0,c=m}finally{try{!o&&h.return&&h.return()}finally{if(u)throw c}}}return a}},{key:"getModifierKeyCodeList",value:function(s){var a=r.getModifierKeyCodeState(s),o=a.ctrlKey,u=a.shiftKey,c=a.altKey,h=a.meta,v=r.getModifierLookupList();for(var f in v)f===d.CTRL_KEY?v[f]=o:f===d.SHIFT_KEY?v[f]=u:f===d.ALT_KEY?v[f]=c:f===d.META&&(v[f]=h);return v}},{key:"keyCodeLookUpArray",value:function(){return[n.PAGE_UP,n.PAGE_DOWN,n.END,n.HOME,n.ARROW_DOWN,n.ARROW_UP,n.ARROW_RIGHT,n.ARROW_LEFT,n.ENTER]}},{key:"getValidModifierList",value:function(){return[n.ALT,n.META,n.SHIFT,n.CTRL]}}]),r}();return t},_,P),_.exports=S},69683:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({MOUSE_LEFT_BUTTON:0,MOUSE_MIDDLE_BUTTON:1,MOUSE_RIGHT_BUTTON:2});return C},_,P),_.exports=S},77210:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({DATA_UPDATE_SUCCESS:"DATA_UPDATE_SUCCESS",DATA_UPDATE_FAILURE:"DATA_UPDATE_FAILURE"});return C},_,P),_.exports=S},13049:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({ACTIVE_EDIT:"ACTIVE_EDIT",ACTIVE_EDIT_IN_PROGRESS:"ACTIVE_EDIT_IN_PROGRESS",INACTIVE_EDIT_IN_PROGRESS:"EDIT_IN_PROGRESS"});return C},_,P),_.exports=S},72726:(_,P,l)=>{var b,S,C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(11487),l(23702),l(48784),l(92510)],S=l.dj.d(b,function(d,n,e,t){"use strict";var r=function(){function i(){p(this,i)}return A(i,null,[{key:"generateUuid",value:function(){return t.generateUuid()}},{key:"getRangeListForRange",value:function(a,o,u){var c=Math.max(o,a.dataSize.rows.start),h=Math.min(u,a.dataSize.rows.end);return[d.range().setRows(c,h).setColumns(0,0)]}},{key:"getSelectedNodes",value:function(a){var o=void 0,u=a.getStateByKey("selected");if(u&&(o=u.rangeList[0]),o&&o.length){var c=o.map(function(h){return{id:h.id}});if(c.length>0)return c}return[]}},{key:"removeNodeSelectionState",value:function(a,o){var u=void 0,c=a.getStateByKey("selected");if(c&&(u=c.rangeList[0]),u&&u.length){var h=u.filter(function(v){return v.id!==o.id});a.setState("selected",!0,[h])}}},{key:"removeNodeFocusState",value:function(a,o){var u=a.getStateByKey("focused");u&&u.value&&(u=u.value,o.id===u.id&&a.deleteState("focused"))}},{key:"isArrayMatching",value:function(a,o){if(Array.isArray(a)&&Array.isArray(o)){var u=Object.assign([],a),c=Object.assign([],o);if(u.sort(function(v,f){return v-f}),c.sort(function(v,f){return v-f}),u.length!==c.length)return!1;for(var h=0;h<a.length;h++)if(u[h]!==c[h])return!1;return!0}return!1}},{key:"containsKeyCode",value:function(a,o){return o&&Array.isArray(o)&&a?o.includes(a):!1}},{key:"isPropertyInTheObject",value:function(a,o,u){return a&&o&&u?a.some(function(c){if(c&&c[o])return c[o]===u}):!1}},{key:"hasDuplicates",value:function(a){return a&&Array.isArray(a)&&a.length>0?new Set(a).size!==a.length:!1}},{key:"isArrayEmpty",value:function(a){return!!(a&&Array.isArray(a)&&a.length<=0)}},{key:"getUsersPlaform",value:function(){var a=navigator.userAgent.toLowerCase();if(n(e.exposed.MAC))return e.exposed.MAC;if(a.includes(e.exposed.WINDOWS))return e.exposed.WINDOWS;if(a.includes(e.exposed.LINUX))return e.exposed.LINUX}},{key:"getKeyByValue",value:function(a,o){if(a&&o){for(var u in a)if(a.hasOwnProperty(u)&&a[u]===o)return u}return!1}},{key:"shallowEqual",value:function(a,o){var u=Object.keys(a),c=Object.keys(o);if(u.length!==c.length)return!1;var h=!0,v=!1,f=void 0;try{for(var g=u[Symbol.iterator](),m;!(h=(m=g.next()).done);h=!0){var E=m.value,w=this.isObject(a[E])&&this.isObject(o[E]);if(!w&&a[E]!==o[E])return!1}}catch(I){v=!0,f=I}finally{try{!h&&g.return&&g.return()}finally{if(v)throw f}}return!0}},{key:"isObject",value:function(a){return a!=null&&(typeof a>"u"?"undefined":C(a))==="object"}},{key:"throttle",value:function(a,o){var u=void 0,c=void 0,h=void 0;return function(){var v=this,f=arguments;u?(clearTimeout(c),c=setTimeout(function(){Date.now()-h>=o&&(a.apply(v,f),h=Date.now())},Math.max(o-(Date.now()-h),0))):(a.apply(v,f),h=Date.now(),u=!0)}}}]),i}();return r},_,P),_.exports=S},18976:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=Object.freeze({LEFT:"left",RIGHT:"right",NONE:"none"}),d=function(){function n(){A(this,n),this._truncation=p.NONE}return C(n,[{key:"getMode",value:function(){return this._truncation}},{key:"setMode",value:function(t){this._truncation=t===p.LEFT?p.LEFT:t===p.RIGHT?p.RIGHT:p.NONE}},{key:"isTruncated",value:function(){return this._truncation!==p.NONE}},{key:"isLeft",value:function(){return this._truncation===p.LEFT}},{key:"isRight",value:function(){return this._truncation===p.RIGHT}}]),n}();return new d},_,P),_.exports=S},94809:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(89780)],S=l.dj.d(b,function(p){"use strict";var d=function(){function n(){A(this,n),this._controllers={},this._adaptors={}}return C(n,[{key:"registerEventListeners",value:function(t,r){var i=this,s=Object.keys(t);r?s.forEach(function(a){var o=i._controllers[a]||[];o.push(t[a]),i._controllers[a]=o}):s.forEach(function(a){var o=i._adaptors[a]||[];o.push(t[a]),i._adaptors[a]=o})}},{key:"_handleAdaptorEvents",value:function(t,r){var i=this._adaptors[t],s=[];return Array.isArray(i)&&i.forEach(function(a){var o=a(r);o&&o.then&&s.push(o)}),p(s)}},{key:"handleEvent",value:function(t){var r=this,i=t.eventToEmit,s=t.eventProperties,a=t.eventCallback,o=t.nextActionEvent,u=t.handleEvent;u=u&&u.bind(this);var c=this._controllers[i],h=[];Array.isArray(c)&&c.forEach(function(v){var f=v(s,o,u,a);f&&h.push(f)}),h.length>0?p(h).then(function(v){var f=v.some(function(g){return g&&g.prevented});f?a(v):u||r._handleAdaptorEvents(i,s).then(function(g){var m=v.concat(g);a(m)})}):this._handleAdaptorEvents(i,s).then(function(v){return a(v)})}}]),n}();return d},_,P),_.exports=S},73277:(_,P,l)=>{var b,S,C=function(){function d(n,e){var t=[],r=!0,i=!1,s=void 0;try{for(var a=n[Symbol.iterator](),o;!(r=(o=a.next()).done)&&(t.push(o.value),!(e&&t.length===e));r=!0);}catch(u){i=!0,s=u}finally{try{!r&&a.return&&a.return()}finally{if(i)throw s}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function p(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}b=[l(11487)],S=l.dj.d(b,function(d){"use strict";var n=function(){function e(){p(this,e)}return A(e,null,[{key:"isViewPortRangeInDataBuffer",value:function(r){var i=r.viewPort.rangeList[0],s=r.viewBuffer.rangeList[0],a=Math.max(0,i.rows.start-4),o=i.rows.end+4;return a>=s.rows.start&&o<=s.rows.end}},{key:"getRangeListForRange",value:function(r,i,s){var a=Math.max(i,r.dataSize.rows.start),o=Math.min(s,r.dataSize.rows.end);return[d.range().setRows(a,o).setColumns(0,0)]}},{key:"dynamicScrollTopCalculator",value:function(r,i){var s=this,a=function(u){u.top=i.viewPort.size.top,u.left=i.viewPort.size.left;var c=e.getFixedHeightOfTreeNode(i);s.calculateAndUpdateLogicalViewPort(i,u);var h=i.viewPort.size.height,v=i.getStateByKey("maxScrollHeight");v=v?v.value:i.dataSize.rows.count*c;var f=h<v?v-h:0,g=s.getFirstVisibleRow(f,i),m=g.index;if(r>=m)return f;if(s.allRowInView(i.dataSize,i.viewBuffer)){for(var E=i.getStateByKey("bufferDataRendererd").value,w=r,I=0,M=0;E[M].index!==w&&w<i.dataSize.rows.count;)I=E[M].height+I,M++;var R=i.getStateByKey("maxScrollHeight");R=R&&R.value;var T=h<R?R-h:0;return I=T>I?I:T,I}var N=f<r*c?f:r*c;return N};return a}},{key:"dynamicScrollTopForBottomNodeCalculator",value:function(r,i){var s=this,a=function(u){u.top=i.viewPort.size.top,u.left=i.viewPort.size.left;var c=e.getFixedHeightOfTreeNode(i);s.calculateAndUpdateLogicalViewPort(i,u);var h=i.getStateByKey("bufferDataRendererd").value,v=i.viewPort.size.height;if(s.allRowInView(i.dataSize,i.viewBuffer)){for(var f=0,g=0,m=h[g].index,E=g+(r-m);E>=0;)f=h[E].height+f,E--;return f=f>v?f-v:0,f}for(var w=i.viewPort.size.top,I=0,M=h[I].index,R=I+(r-M),T=0,N=0,F=void 0;v>N&&R>=0;)T=h[R].height,N=T+N,F=h[R].index,R--;var y=N-v;y=y>0?y:0;var x=y>-1?F:0,O=T,L=c/O*y;return w=x*c+L,w};return a}},{key:"ArrayOfBufferNodeHeight",value:function(r){var i=[],s=r.getStateByKey("bufferDataRendererd");if(!s){for(var a=r.viewBuffer.rangeList[0],o=r.viewBuffer.rangeList[0].rows.end,u=r.dataSize.rows.end,c=u<o?u:o,h=e.getFixedHeightOfTreeNode(r),v=a.rows.start;v<=c;v++){var f={index:v,height:h};i.push(f)}return i}return s.value}},{key:"getMaxHeight",value:function(r){var i=r.viewBuffer.rangeList,s=i[0].rows.count,a=r.viewPort.size.height,o=0,u=this.ArrayOfBufferNodeHeight(r);if(u.length===0)return 0;var c=e.getFixedHeightOfTreeNode(r);if(this.allRowInView(r.dataSize,r.viewBuffer)){var h=0;if(s>0)for(var v=0;v<u.length;v=v+1)h=u[v].height+h;o=h}else if(o=r.dataSize.rows.count*c,this.lastPageInView(r.dataSize,r.viewBuffer)){var f=this._calcMaxHeight(u,a,c),g=C(f,2),m=g[0],E=g[1];this.maxScroll=E,o=Math.floor(m)}return r.setState("maxScrollHeight",o),o}},{key:"allRowInView",value:function(r,i){var s=r.rows.end,a=r.rows.start,o=i.rangeList[0],u=o.rows.end,c=o.rows.start;return c===a&&s<=u}},{key:"lastPageInView",value:function(r,i){var s=i.rangeList[0],a=s.rows.end,o=r.rows.count-1;return a>=o}},{key:"_calcMaxHeight",value:function(r,i,s){for(var a=0,o=void 0,u=void 0,c=r.length-1;c>=0&&(o=r[c].index,u=r[c].height,a+=u,!(a>i));c-=1);o=Math.max(o,0);var h=(a-i)/u,v=o,f=Math.floor(s*(h+v));return[f+i,f]}},{key:"computeTranslateY",value:function(r){var i=r.viewBuffer.rangeList,s=Math.max(i[0].rows.start,0),a=r.viewPort.size.top,o=e.getFixedHeightOfTreeNode(r),u=Math.floor(a/o),c=u-s,h=this.ArrayOfBufferNodeHeight(r);if(h.length===0||this.allRowInView(r.dataSize,r.viewBuffer))return 0;if(this.lastPageInView(r.dataSize,r.viewBuffer)){var v=r.viewPort.size.height,f=this._calcMaxHeight(h,v,o),g=C(f,2),m=g[0],E=g[1];if(a>=E){for(var w=0,I=0;I<h.length;I+=1)h[I]&&(w=h[I].height+w);var M=m-w;return M}}for(var R=h.find(function(L){return L.index===u}),T=R?R.height:o,N=0,F=0;F<c;F+=1)h[F]&&(N+=h[F].height-o);var y=T/o-1,x=a%o,O=Math.floor(s*o-N-y*x);return O}},{key:"getExpectedTranslateTopValue",value:function(r){var i=e.getFixedHeightOfTreeNode(r),s=r.viewBuffer.rangeList[0].rows.start*i;return s}},{key:"getFixedHeightOfTreeNode",value:function(r){var i=r.getStateByKey("nodeHeightInPx");return i&&i.value}},{key:"calculateAndUpdateLogicalViewPort",value:function(r,i){var s=0,a=0,o=e.getFixedHeightOfTreeNode(r);o&&(s=Math.round(i.height/o),a=Math.round(i.top/o));var u=r.dataSize.rows.end-(s-1);a=a>u?u:a,e.updateLogicalViewPort(r,a,s,i)}},{key:"updateLogicalViewPort",value:function(r,i,s,a){var o=r.viewPort,u=0,c=0;if(a&&(o.size=a),typeof i=="number"&&i>=0){var h=r.dataSize.rows.end-(o.rangeList[0].rows.count-1),v=i>h?h:i;u=Math.max(v,r.dataSize.rows.start)}typeof s=="number"&&s>0?c=Math.max(0,u+s-1):c=Math.max(0,u+o.rangeList[0].rows.count-1);var f=o.rangeList;f[0]=f[0].setRows(u,c).setColumns(0,0),o.rangeList=f,r.viewPort=o}},{key:"getViewPortCount",value:function(r){for(var i=r.getStateByKey("bufferDataRendererd").value,s=r.viewPort.size.height,a=r.viewPort.size.top,o=this.getFirstVisibleRow(a,r),u=o.index,c=0,h=0,v=void 0,f=0;f<i.length&&(c=i[f].index,v=i[f].height,c>=u&&(h+=v),!(h>s));f++);var g=h-s;if(g>0){var m=c-(u-1)-Math.round(g/v);return m}return c+1}},{key:"getPreviousViewPortCount",value:function(r,i){var s=r.getStateByKey("bufferDataRendererd");s=s&&s.value;var a=r.viewPort.size.height,o=0,u=0,c=!1,h=void 0,v=0;for(v=s.length-1;v>=0;v--)if(o=s[v].index,h=s[v].height,o<=i&&(u+=h),u>=a){c=!0;break}if(c){var f=i-(o-1),g=u-a;return f=f-Math.round(g/h),f}var m=a-u,E=Math.round(m/h),w=i+1-(o-E);return w}},{key:"getNextViewPortCount",value:function(r,i){var s=r.getStateByKey("bufferDataRendererd");s=s&&s.value;var a=r.viewPort.size.height,o=0,u=0,c=!1,h=void 0,v=0;for(v=0;v<s.length;v++)if(o=s[v].index,h=s[v].height,o>=i&&(u+=h),u>=a){c=!0;break}if(c){var f=o-i+1,g=u-a;return f=f-Math.round(g/h),f}var m=a-u,E=Math.round(m/h),w=o+E+1-i;return w}},{key:"getIndexForScrollTop",value:function(r,i){for(var s=0,a=0,o=0;o<i.length&&(s=i[o].index,a=i[o].height,a<=r);o++)r=r-a;var u=r;return{rowIndex:s,rowHeight:a,diff:u}}},{key:"getPhysicalHeightTillLastRow",value:function(r,i,s,a){for(var o=Math.floor(r/a),u=0,c=0,h=0,v=0;v<i.length;v++){if(u=i[v].index,c=i[v].height,u===o){var f=a-r%a;h+=c*(f/a)}else u>o&&(h+=c);if(h>=s)break}return{physicalTotal:h,rowIndex:u,rowHeight:c}}},{key:"getFirstVisibleRow",value:function(r,i){var s=void 0,a=e.getFixedHeightOfTreeNode(i);if(this.allRowInView(i.dataSize,i.viewBuffer)){var o=i.getStateByKey("bufferDataRendererd").value,u=e.getIndexForScrollTop(r,o),c=u.rowIndex,h=u.rowHeight,v=u.diff;return s=v%h!==0,{index:c+Math.round(v/h),isPartialVisible:s}}var f=Math.round(r/a);return s=r%a!==0,{index:f,isPartialVisible:s}}},{key:"getLastVisibleRow",value:function(r,i){var s=i.getStateByKey("bufferDataRendererd").value,a=i.viewPort.size.height,o=void 0;if(e.allRowInView(i.dataSize,i.viewBuffer)){var u=r+a,c=e.getIndexForScrollTop(u,s),h=c.rowIndex,v=c.rowHeight,f=c.diff,g=1-Math.round(f/v);return o=f%v!==0,{index:h-g,isPartialVisible:o}}else{var m=e.getFixedHeightOfTreeNode(i),E=e.getPhysicalHeightTillLastRow(r,s,a,m),w=E.physicalTotal,I=E.rowIndex,M=E.rowHeight,R=Math.max(w-a,0);return o=R%M!==0,{index:I-Math.round(R/M),isPartialVisible:o}}}},{key:"updateDataBuffer",value:function(r,i){if(!(!i&&e.isViewPortRangeInDataBuffer(r))){var s=r.getStateByKey("lookAheadNodeBuffer").value,a=Math.max(r.dataSize.rows.start,r.viewPort.rangeList[0].rows.start-s),o=r.viewPort.rangeList[0].rows.end+s;r.viewBuffer={size:null,rangeList:[d.range().setRows(a,o).setColumns(0,0)]}}}},{key:"isTreeNodeCompletelyInsideViewPort",value:function(r,i){var s=e.getFirstVisibleRow(i.viewPort.size.top,i),a=s.index,o=s.isPartialVisible,u=e.getLastVisibleRow(i.viewPort.size.top,i),c=u.index,h=u.isPartialVisible;return r===a?!o:r===c?!h:r>a&&r<c}}]),e}();return n},_,P),_.exports=S},86804:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({ACTIVE_NODE:"keyboardActive",POTENTIAL_ACTIVE_NODE:"potentialNextKeyboardActiveNode",SEARCH_NAVIGATION_DATA:"searchNavigationData"});return C},_,P),_.exports=S},6460:(_,P,l)=>{var b,S;b=[l(80675)],S=l.dj.d(b,function(C){var A=602,p=!C("chrome")&&C("webkit")<A,d=C("trident"),n=C("trident"),e=!!C("safari");return{shouldHoverBeDisabled:p,isSeparateUserSelectRequired:d,containsActiveNodeLostIssue:n,noAutoScrollSupport:e}},_,P),_.exports=S},65811:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=["tree-list-item","treeNode"],A=["mw-treeNode-renderer-container"],p=["mw-tree-drag-hover"],d=["mw-tree-node-hover"],n="mw-tree-node-strike-through",e="mw-tree-node-gutter",t="mw-tree-node-gutter-wrapper",r="mw-tree-node-gutter-item",i="invalid",s="reordering",a="valid",o="dragged-node",u={invalid:"mw-tree-dnd-invalid"},c="blank",h="readonly",v="non-interactive",f=Object.freeze({get TREENODE(){return[].concat(C)},get TREENODE_CONTENT(){return[].concat(A)},get TREENODE_DRAG_HOVER(){return[].concat(p)},get TREENODE_HOVER(){return[].concat(d)},get TREENODE_STRIKETHROUGH(){return n},get TREENODE_GUTTER(){return e},get TREENODE_GUTTER_WRAPPER(){return t},get TREENODE_GUTTER_ITEM(){return r},get VALID_REORDERING(){return a},get REORDERING(){return s},get INVALID_REORDERING(){return i},get DRAGGED_NODE_CLASS(){return o},get DnD_AVATAR_ICON_CLASSES(){return u},get BLANK_NODE_CLASS(){return c},get READ_ONLY_NODE_CLASS(){return h},get NON_INTERACTIVE_NODE_CLASS(){return v}});return f},_,P),_.exports=S},73743:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(14152),l(18976)],S=l.dj.d(b,function(n,e){"use strict";var t=Object.freeze({INLINE:"inline",NONE:"none"}),r=2,i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,o));return u.state={display:t.NONE,top:0,left:0,label:"",_showDataTip:o.showDataTip},u}return C(a,[{key:"removeTip",value:function(){this.props.showDataTip=!1,this.setState({_showDataTip:!1})}},{key:"handleClick",value:function(u){this.removeTip(),u.currentTarget=this.props.treeNodeInfo.nodeRef.current,this.props.treeNodeInfo.clickHandler(u)}},{key:"handleMouseDown",value:function(u){this.removeTip(),u.currentTarget=this.props.treeNodeInfo.nodeRef.current,this.props.treeNodeInfo.mouseDownHandler(u)}},{key:"render",value:function(){return n.createElement("span",{class:"mw-data-tip-container",ref:this.props.tipRef,style:{top:this.state.top+"px",left:this.state.left+"px",display:""+this.state.display},onMouseLeave:this.removeTip.bind(this),onWheel:this.removeTip.bind(this),onClick:this.handleClick.bind(this),onMouseDown:this.handleMouseDown.bind(this)},n.createElement("label",null,this.state.label))}}],[{key:"_isContentVisible",value:function(u){return!!(u&&u.clientWidth>0&&!e.isLeft()||u&&u.clientWidth>r&&e.isLeft())}},{key:"_calculatePosition",value:function(u,c){if(c.current){var h=c.current,v=h.querySelector(".treeNodeText"),f=v&&v.scrollWidth>v.clientWidth,g=a._isContentVisible(v);if(f&&g){var m=u.getBoundingClientRect(),E=v.getBoundingClientRect();return{top:E.top-m.top,left:E.left-m.left}}}}},{key:"getDerivedStateFromProps",value:function(u,c){var h=u.showDataTip;if(h){var v=u.treeNodeInfo,f=u.containerElm,g=v.nodeData.label,m=a._calculatePosition(f,v.nodeRef);return m?{display:t.INLINE,top:m.top,left:m.left,label:g}:{display:t.NONE}}else return{display:t.NONE}}}]),a}(n.Component);return i},_,P),_.exports=S},66874:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({nodeHeight:22,lookAheadNodeBuffer:10});return C},_,P),_.exports=S},65844:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({rightClick:"treeContextMenuSelection",contextMenuClick:"",keyboardContextMenu:"keyboardContextMenu",dblClick:"treeNodeDoubleClick",keyDownNavigation:"treeNavigation",keyDownMetaNavigation:"",keyDownRangeNavigation:"treeNavigation",keyDown:"treeKeyPress",nodeMouseDown:"treeNodeMouseDown",nodeDoubleClicked:"treeNodeDoubleClicked",treeMouseDown:"treeMouseDown",deleteAction:"deleteActionEvent",treeKeyPressed:"treeKeyPressed"}),A=Object.freeze({dblClick:"treeNodeEditMouseEvent",keyDownF2:"treeNodeEditKeyPress",keyDownEnter:"",nodeMouseDownFocused:"",keyDownAlphaNum:"treeNodeEditKeyPress"});return{TREE_EVENTS:C,EDIT_TREE_EVENTS:A}},_,P),_.exports=S},18767:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(14152)],S=l.dj.d(b,function(n){var e=function(t){d(r,t);function r(){return A(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return C(r,[{key:"render",value:function(){return n.createElement("div",{className:"mw-tree-disable-layer",onContextMenu:function(a){return a.preventDefault()}})}}]),r}(n.Component);return e},_,P),_.exports=S},47995:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(44534),l(55087),l(13049),l(14152)],S=l.dj.d(b,function(e,t,r,i){var s="30",a=function(o){n(u,o);function u(c,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments[3];p(this,u);var g=d(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,h,v,f));return g._editor={type:v.editor.type,config:v.editor.config},g}return C(u,[{key:"_getUpdatedTreeProps",value:function(){var h=A(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_getUpdatedTreeProps",this).call(this),v=this._viewModel.getStateByKey("ActiveEditNode");return h.activeEditNode=v?v.value:null,h}},{key:"_getStylingAndClasses",value:function(h,v){var f=A(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_getStylingAndClasses",this).call(this,h,v),g=this._viewModel.getStateByKey("ActiveEditNode");g=g?g.value:null;var m=g&&g.node.id===h.id&&(g.state===r.ACTIVE_EDIT_IN_PROGRESS||g.state===r.INACTIVE_EDIT_IN_PROGRESS);m&&f.classes.push(" updateInProgress");var E=g&&g.node.id===h.id&&g.state!==r.INACTIVE_EDIT_IN_PROGRESS;return E&&(f.style.treeNodeData.marginLeft=f.style.treeNodeData.marginLeft+1),f}},{key:"buildContentNode",value:function(h,v,f){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},m=g.displayBlank;if(m)return{content:null,additionalDataAttributes:{}};var E={content:null,additionalDataAttributes:{}},w=v.activeEditNode&&v.activeEditNode.node.id===h.value.id?v.activeEditNode.state:null,I=w&&w!==r.INACTIVE_EDIT_IN_PROGRESS,M=w&&w===r.INACTIVE_EDIT_IN_PROGRESS;if(this._editor.type&&I){var R=this._viewModel.viewPort.size.width+this._viewModel.viewPort.size.left-f;E.content=this.buildEditor(h,v.activeEditNode.parentNode,R,v.activeEditNode.state,v.activeEditNode.config),E.additionalDataAttributes={"data-edit-mode":!0}}else{var T=h;M&&(T=v.activeEditNode.tempNode,g.maxWidth=this._viewModel.viewPort.size.width+this._viewModel.viewPort.size.left-f-s),E.content=this.buildRenderer(T,g)}return E}},{key:"buildEditor",value:function(h,v,f,g){var m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},E=this._editor;return i.createElement(t,{editor:E,maxWidth:f,editorState:g,saveUnsavedValueHandler:this.handlers.editor._saveUnSavedValueHandler,editCompleteHandler:this.handlers.editor._editCompleteHandler,editCancelledHandler:this.handlers.editor._editCanceledHandler,processEditHandler:this.handlers.editor._processEditHandler,parentNode:v,config:m,node:h})}}]),u}(e);return a},_,P),_.exports=S},26407:(_,P,l)=>{var b,S,C=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),A=function e(t,r,i){t===null&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,r);if(s===void 0){var a=Object.getPrototypeOf(t);return a===null?void 0:e(a,r,i)}else{if("value"in s)return s.value;var o=s.get;return o===void 0?void 0:o.call(i)}};function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(51337),l(16341),l(47995),l(77210)],S=l.dj.d(b,function(e,t,r,i){var s=function(a){n(o,a);function o(u,c){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments[3];p(this,o);var f=d(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,u,c,h,v));return f._editorSaveRetrieveUnCommitedValues={saveValue:function(m){f._viewModel.setState("unsavedEditorValue",m)},getValue:function(){var m=f._viewModel.getStateByKey("unsavedEditorValue");return m=m?m.value:null,m},destroy:function(){f._viewModel.deleteState("unsavedEditorValue")}},f.handlers.editor={},f.handlers.editor._editCompleteHandler=function(g){return f._handleEditComplete(g)},f.handlers.editor._editCanceledHandler=function(g){return f._handleEditCanceled(g)},f.handlers.treeNode._nodeClickHandler=function(g){return f._handleNodeClick(g)},f.handlers.treeNode._nodeDblClickHandler=function(g){return f._handleNodeDoubleClick(g)},f.handlers.editor._processEditHandler=function(g){return f._handleProcessEdit(g)},f.handlers.editor._saveUnSavedValueHandler=f._editorSaveRetrieveUnCommitedValues,f}return C(o,[{key:"createTreeBuilder",value:function(c,h){return new r(this._viewModel,this.handlers,c,h)}},{key:"_handleEditComplete",value:function(c){var h={eventToEmit:"treeNodeEditComplete",eventProperties:c,eventCallback:function(){this._viewModel.deleteState("treeWidth"),this._deleteTreeFocus(),this.render(),this._editorSaveRetrieveUnCommitedValues.destroy(),this._setEditState(!1)}.bind(this)};this._viewEventHandler.handleEvent(h)}},{key:"_handleProcessEdit",value:function(c){var h={eventToEmit:"treeNodeProcessEdit",eventProperties:c,eventCallback:function(v){this.render();var f=this._checkFailures(v);f||this._editorSaveRetrieveUnCommitedValues.destroy()}.bind(this)};this._viewEventHandler.handleEvent(h)}},{key:"_deleteTreeFocus",value:function(){this._rootDom.contains(document.activeElement)||this._viewModel.deleteState("ContainerFocused")}},{key:"_checkFailures",value:function(c){for(var h=!1,v=0;v<c.length;v++){var f=c[v];if(f.type&&f.type===i.DATA_UPDATE_FAILURE){h=!0;break}}return h}},{key:"_handleEditCanceled",value:function(c){var h={eventToEmit:"treeNodeEditCanceled",eventProperties:c,eventCallback:function(){this._editorSaveRetrieveUnCommitedValues.destroy(),this._deleteTreeFocus(),this.render()}.bind(this)};this._viewEventHandler.handleEvent(h),this._setEditState(!1)}},{key:"_setEditState",value:function(c){this._viewModel.setState("isInEditing",c)}},{key:"_handleKeyDown",value:function(c){var h=void 0,v=void 0;if(c.keyCode===e.ENTER?h=this._EDIT_EVENTS_CONFIG.keyDownEnter:c.keyCode===e.F2?h=this._EDIT_EVENTS_CONFIG.keyDownF2:(c.keyCode>=e.ALPHA_START&&c.keyCode<=e.ALPHA_END||c.keyCode>=e.NUM_START&&c.keyCode<=e.NUM_END||c.keyCode>=e.NUMPAD_START&&c.keyCode<=e.NUMPAD_END)&&!(c.metaKey||c.ctrlKey||c.altKey)?(v=c.key,h=this._EDIT_EVENTS_CONFIG.keyDownAlphaNum):h="",h){var f={firstChar:v,keyCode:c.keyCode,metaKey:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,altKey:c.altKey};c.preventDefault();var g=this._EVENTS_CONFIG.treeKeyPressed,m=this._viewEventHandler.handleEvent,E={eventToEmit:g,eventProperties:f,nextActionEvent:h,handleEvent:m,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(E)}else A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleKeyDown",this).call(this,c)}},{key:"_areMultipleNodesSelected",value:function(){var c=this._viewModel.getStateByKey("selected");if(!c||c.rangeList.length===0)return!1;var h=c.rangeList[0];return h.length>1}},{key:"_handleNodeMouseDown",value:function(c,h){var v=c.currentTarget.classList.contains("focused"),f=c.currentTarget.classList.contains("selected"),g=c.target.attributes["data-region"],m=this._isTargetCheckBox(c),E=this._EDIT_EVENTS_CONFIG.nodeMouseDownFocused,w=E&&v&&g,I=c.currentTarget.attributes["data-row-index"].nodeValue,M=this._data(parseInt(I))(0).value,R=this._metadata?this._metadata:function(y){return{value:{}}},T=this._areMultipleNodesSelected();R=R(I).value,w=!T&&w&&!R.readonly;var N={node:M,isTargetCheckBox:m,metadata:R,metaKey:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,nodeIndex:parseInt(I)};if(!w||!f){var F={eventToEmit:h,eventProperties:N,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(F)}else c.currentTarget.setAttribute("data-can-edit","true")}},{key:"_handleNodeDoubleClick",value:function(c){if(!this._isDisclosureTarget(c)){var h=c.currentTarget.classList.contains("focused"),v=this._isTargetEditable(c);this._areMultipleNodesSelected()&&h||!v?A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleNodeDoubleClick",this).call(this,c):this._handleNodeEditableDoubleClick(c)}}},{key:"_handleNodeEditableDoubleClick",value:function(c){var h=this._EDIT_EVENTS_CONFIG.dblClick,v=this._EVENTS_CONFIG.nodeDoubleClicked,f=this._isTargetCheckBox(c);c.currentTarget.removeAttribute("data-can-edit");var g=this._buildDoubleClickHandlerObject(h,c),m={eventToEmit:v,isTargetCheckbox:f,eventProperties:g,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(m)}},{key:"_handleNodeEditableClick",value:function(c){var h=this._EDIT_EVENTS_CONFIG.nodeMouseDownFocused,v=Number(c.currentTarget.getAttribute("data-row-index")),f=this._data(parseInt(v))(0).value,g=this._metadata?this._metadata:function(w){return{value:{}}};g=g(v).value,c.preventDefault();var m={node:f,metadata:g,altKey:c.altKey,metaKey:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,nodeIndex:parseInt(v)};if(!this._isInDragMode()){var E={eventToEmit:h,eventProperties:m,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(E),this._setEditState(!0),c.currentTarget.removeAttribute("data-can-edit")}}},{key:"_isNodeEditable",value:function(c){var h=c.currentTarget.classList.contains("focused"),v=c.target.attributes["data-region"],f=Number(c.currentTarget.getAttribute("data-row-index")),g=this._metadata?this._metadata:function(w){return{value:{}}};g=g(f).value;var m=!g.readonly&&v&&h&&!this._isNodeReadOnly(c),E=c.currentTarget.hasAttribute("data-can-edit");return m&&E&&!this._areMultipleNodesSelected()&&this._isDnDNotInProgress(c)}},{key:"_handleNodeClick",value:function(c){this._isDisclosureTarget(c)||(this._isNodeEditable(c)?this._handleNodeEditableClick(c):A(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"_handleNodeClick",this).call(this,c),this._endingDnD())}}]),o}(t);return s},_,P),_.exports=S},91737:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({rightClick:"",contextMenuClick:"treeContextMenu",keyboardContextMenu:"keyboardContextMenu",dblClick:"treeNodeDoubleClick",keyDownNavigation:"treeNavigation",keyUp:"keyUpToggleCheckedState",keyDownMetaNavigation:"treeNavigation",keyDownRangeNavigation:"treeNavigation",keyDown:"treeKeyPress",nodeMouseDown:"treeNodeMouseDown",treeMouseDown:"treeMouseDown",deleteAction:"deleteActionEvent",nodeDoubleClicked:"treeNodeDoubleClicked",interactiveClick:"interactiveClick",treeKeyPressed:"treeKeyPressed"}),A=Object.freeze({dblClick:"treeNodeEditMouseEvent",keyDownAlphaNum:"",keyDownF2:"treeNodeEditKeyPress",keyDownEnter:"treeNodeEditKeyPress",nodeMouseDownFocused:"treeNodeEditMouseEvent"});return{TREE_EVENTS:C,EDIT_TREE_EVENTS:A}},_,P),_.exports=S},90393:(_,P,l)=>{var b,S;b=[l(14152),l(65811),l(72726)],S=l.dj.d(b,function(C,A,p){var d=C.memo(n,t);return d;function n(r){var i=r.gutterColors,s=r.numberOfGutters,a=[];if(i&&Array.isArray(i))for(var o=0;o<i.length&&o<s;o++){var u=i[o];a.push(e(u))}return C.createElement("div",{class:A.TREENODE_GUTTER_WRAPPER,"data-test-id":"gutterHandle"},a)}function e(r){return C.createElement("span",{key:p.generateUuid(),class:A.TREENODE_GUTTER_ITEM,style:{backgroundColor:r}})}function t(r,i){var s=r.gutterColors||[],a=i.gutterColors||[];if(r.gutterColors&&i.gutterColors)return r.numberOfGutters===i.numberOfGutters&&s.join("")===a.join("")}},_,P),_.exports=S},44534:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(86216),l(50944),l(73743),l(20990),l(18767),l(84917),l(42168),l(9210),l(76171),l(71788),l(65811),l(72726),l(73277),l(18976),l(26061),l(14152),l(86804)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m){var E=18,w=18,I={data:null,domId:null};function M(T){var N=function(F){return!(F!==void 0&&(typeof F!="number"||!Number.isInteger(F)||F<=0))}(T);if(!N)throw new Error("Error: Invalid numberOfGutters option, numberOfGutters should be a natural number");return N}var R=function(){function T(N,F,y,x){A(this,T),this._viewModel=N,this.dataTestId=y.dataTestId,this.handlers=F,this.renderer=y.renderer?y.renderer:s,this._numberOfGutters=M(y.numberOfGutters)?y.numberOfGutters:0,v.setMode(y&&y.textTruncation),this._configuredPlugins=x,this.CheckboxTreeFlag=!1;for(var O=this._configuredPlugins?this._configuredPlugins.length:0,L=0;L<O;L++){var W=this._configuredPlugins[L].name?this._configuredPlugins[L].name:void 0;if(W==="CheckboxTree"){this.CheckboxTreeFlag=!0;break}}this.handleHoverAction=this._handleHoverAction.bind(this),this._dataTipRef=g.createRef()}return C(T,[{key:"_getScrollTopValue",value:function(F){var y=this._viewModel.getStateByKey("scrollTopCalc");if(y&&F){var x=y.value(F);return this._viewModel.viewPort.size.top=x,this._viewModel.deleteState("scrollTopCalc"),x}}},{key:"_getConsumedNodeWidth",value:function(F,y){var x=F;return y.forEach(function(O){O&&(x+=O.width?O.width:0)}),x}},{key:"_getTranslateTopValue",value:function(){var F=h.computeTranslateY(this._viewModel);return F}},{key:"_getExpectedTranslateTopValue",value:function(){var F=h.getExpectedTranslateTopValue(this._viewModel);return F}},{key:"_getHeight",value:function(){var F=h.getMaxHeight(this._viewModel);return F}},{key:"_getUpdatedTreeProps",value:function(){var F=this,y={},x=this._viewModel.getStateByKey("nodeHeightInPx");y.treeNodeHeight=x?x.value:0,y.treeHeight=function(){return F._getHeight()},y.treeWidth=this._viewModel.getStateByKey("treeWidth"),y.treeWidth=y.treeWidth?y.treeWidth.value:null,y.forceContainerFocus=this._viewModel.getStateByKey("forceContainerFocus"),y.forceContainerFocus=y.forceContainerFocus?y.forceContainerFocus.value:null,this._viewModel.deleteState("forceContainerFocus"),y.viewHeight=this._viewModel.viewPort.size.height,y.scrollTopFunc=function(j){return F._getScrollTopValue(j)},y.translateY=this._getExpectedTranslateTopValue(),y.translateTopFunc=function(){return F._getTranslateTopValue()};var O=this._viewModel.getStateByKey("ContainerFocused");O=O&&O.value;var L="mw-tree-scroll-component";O?L=L+" focused":L="mw-tree-scroll-component";var W=this._viewModel.getStateByKey("hideScrollBars");return W=W&&W.value,W&&(L=L+" hideScrollBars"),y.containerClass=""+L,y.scrollLeft=this._viewModel.viewPort.size.left,this._updateFocusedNodeID(),y}},{key:"_updateFocusedNodeID",value:function(){var F=this._viewModel.getStateByKey("focused")?this._viewModel.getStateByKey("focused").value:null;F!==I.data&&(I.data=F,I.domId="treeNode_"+c.generateUuid())}},{key:"buildTree",value:function(F,y){var x=this,O=this._getUpdatedTreeProps(),L=[],W="tree",j=this._viewModel.getStateByKey("isInDragging"),H=this._viewModel.getStateByKey(f.TREE_DISABLED);H=H&&H.value;var K=H?"-1":"0";j&&j.value&&(W=W+" mw-tree-drag-in-progress",O.isDraggingStarted=!0);var $=void 0,V=this._viewModel.getStateByKey("NodeHover");if(v.isTruncated()&&V&&($=V.value),F)for(var z=F.range.rows.start,X=F.range.rows.end,Z=z;Z<=X&&F(Z)(0).value;Z++){var Y=y(Z).value;L.push(this.buildTreeNode(F(Z)(0),Z,O,Y))}var Q=void 0;if(v.isTruncated()){var q=this._isPointerOnNode($);Q=this.buildDataTip($,q)}return g.createElement(g.Fragment,null,g.createElement(e,{classes:W,disabled:H,tabIndex:K,dataTestId:this.dataTestId,translateY:O.translateY,viewHeight:O.viewHeight,bodyHeight:O.treeHeight,treeNodeHeight:O.treeNodeHeight,nodeHoverInfo:$,scrollHandler:this.handlers.tree._scrollHandler,scrollTopFunc:O.scrollTopFunc,translateTopFunc:O.translateTopFunc,scrollLeft:O.scrollLeft,setTreeBufferHeight:this.handlers.tree._setTreebufferDataHandler,deleteTreeWidth:this.handlers.tree._deleteTreeWidth,width:O.treeWidth,containerClass:O.containerClass,focusedNodeID:I.domId,forceContainerFocus:O.forceContainerFocus,focusHandler:this.handlers.tree._focusHandler,clipboardCutHandler:this.handlers.tree._clipboardCutHandler,clipboardCopyHandler:this.handlers.tree._clipboardCopyHandler,clipboardPasteHandler:this.handlers.tree._clipboardPasteHandler,containerMountHandler:this.handlers.tree._containerMountHandler,containerUpdateHandler:this.handlers.tree._containerUpdateHandler,blurHandler:this.handlers.tree._blurHandler,contextMenuHandler:this.handlers.tree._contextMenuHandler,keyHandler:this.handlers.tree._keyDownHandler,keyUpHandler:this.handlers.tree._keyUpHandler,ref:function(oe){return x.containerNodeRef=oe},dataTip:Q},L),H?g.createElement(t,null):null)}},{key:"buildContentNode",value:function(F,y,x,O){var L={content:null,additionalDataAttributes:{}};return L.content=this.buildRenderer(F,O),L}},{key:"buildPluginComponents",value:function(F,y,x,O){var L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=[],j=[];if(L.displayBlank)return{components:W,properties:j};var H=i.getPluginBuilderAndProperties(this._configuredPlugins,O);return H.forEach(function(K){W.push(K.builder(F,x,y,L)),j.push(K.properties)}),{components:W,properties:j}}},{key:"_handleHoverAction",value:function(F){if(v.isTruncated()){var y={nodeData:F.nodeData,nodeRef:F.nodeRef,hoverMode:F.hoverMode,relatedTargetNode:F.relatedTargetNode,mouseUpHandler:this.handlers.treeNode._nodeMouseUpHandler,mouseDownHandler:this.handlers.treeNode._nodeMouseDownHandler,dblClickHandler:this.handlers.treeNode._nodeDblClickHandler,clickHandler:this.handlers.treeNode._nodeClickHandler};this.handlers.treeNode._nodeHoverHandler(y)}}},{key:"_isPointerOnNode",value:function(F){var y=!1,x=this._dataTipRef.current;if(x&&F){var O=F.hoverMode;if(O)y=!0;else{var L=F.relatedTarget;y=L&&L.nodeName&&x.contains(L)||!1}}return y}},{key:"buildDataTip",value:function(F,y){if(this.containerNodeRef){var x=this.containerNodeRef.myContainerDiv;return g.createElement(n,{containerElm:x,tipRef:this._dataTipRef,showDataTip:y,treeNodeInfo:F})}}},{key:"buildTreeNode",value:function(F,y,x,O){var L=F.value,W=this._getStylingAndClasses(L,O);O.nodeReadOnly=W.classes.includes("readonly");var j=this.buildDisclosureNode(L,y,O);x.nodeIndentation=W.nodeDataIndentation;var H=this.buildPluginComponents(F,x,this.handlers,i.VIEW_COMPONENTS.TREENODE_BEFORE_CONTENT,O),K=i.getComponentAttributes(this._configuredPlugins,i.VIEW_COMPONENTS.TREENODE,F,x),$=this._getConsumedNodeWidth(x.nodeIndentation,H.properties),V=this.buildContentNode(F,x,$,O),z=V.content,X=I.data&&I.data.id===L.id?I.domId:null;return g.createElement(d,{key:L.data.id,classes:W.classes,rowIndex:y,node:L,additionalDataAttributes:V.additionalDataAttributes,componentsBeforeContent:H.components,content:V.content,renderer:z,nodeDomID:X,disclosureNode:j,hoverAction:this.handleHoverAction,nodeMouseUp:this.handlers.treeNode._nodeMouseUpHandler,nodeMouseDown:this.handlers.treeNode._nodeMouseDownHandler,nodeDblClick:this.handlers.treeNode._nodeDblClickHandler,nodeClick:this.handlers.treeNode._nodeClickHandler,additionalAttributes:K,treeNodeStyle:W.style,numberOfGutters:this._numberOfGutters,noMouseInteraction:O.noMouseInteraction,isDraggingStarted:x.isDraggingStarted})}},{key:"buildRenderer",value:function(F){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=y&&y.interactiveRenderer?y.interactiveRenderer:this.renderer;if(y.interactiveRenderer instanceof a&&this.CheckboxTreeFlag)throw new Error("Checkbox Tree and Tree with Checkbox Renderer are not allowed together!");var O=F.value,L=y.displayBlank;if(!L){var W=this.handlers.interactive_renderer,j=i.getComponentAttributes(this._configuredPlugins,i.VIEW_COMPONENTS.TREENODE_CONTENT,O),H=i.getDOMListeners(this._configuredPlugins,i.VIEW_COMPONENTS.TREENODE_CONTENT,this.handlers),K=this._viewModel.getStateByKey(m.SEARCH_NAVIGATION_DATA),$=K?K.value:{};return g.createElement(r,{renderer:x,additionalAttributes:j,additionalListeners:H,interactiveCallback:W,config:y,shallowEqual:function(z,X){return c.shallowEqual(z,X)},node:F,searchNavigationData:$})}}},{key:"buildDisclosureNode",value:function(F,y){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},O=void 0,L=x.displayBlank;if(!L){if(F.isExpandable){var W=["disclosureIcon"];F.isExpanded?W.push("collapse"):W.push("expand"),W=W.join(" "),O=g.createElement(p,{classes:W,node:F,noMouseInteraction:x.noMouseInteraction,disclosureMouseDown:this.handlers.disclosureNode._disclosureMouseDownHandler,rowIndex:y})}return O}}},{key:"_getStylingAndClasses",value:function(F){var y=this,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=function(){var q=y._viewModel.getStateByKey("selected");return function(ee){var oe=ee.classes,se=ee.nodeStyle,he=ee.nodeDataIndentation;if(q&&q.rangeList&&q.rangeList.length>0){q=q.rangeList[0];var fe=q.some(function(le){return F.id===le.id});fe&&oe.push("selected")}return{classes:oe,nodeStyle:se,node:F,nodeDataIndentation:he}}},L=function(){var q=y._viewModel.getStateByKey("contextMenuFocus");return function(ee){var oe=ee.node,se=ee.classes,he=ee.nodeStyle,fe=ee.nodeDataIndentation;if(q&&q.value){var le=q.value,ie=le.some(function(re){return re.id===oe.id});ie&&(he.treeNodeData.marginLeft=he.treeNodeData.marginLeft-1,se.push("contextFocus"))}return{classes:se,node:oe,nodeStyle:he,nodeDataIndentation:fe}}},W=function(q){var ee=y._viewModel.getStateByKey(q);return ee?ee.value:null},j=function(){var q=y._viewModel.getStateByKey("contextMenuFocus")?null:y._viewModel.getStateByKey("focused"),ee=W("ContainerFocused");return function(oe){var se=oe.classes,he=oe.node,fe=oe.nodeStyle,le=oe.nodeDataIndentation;if(q&&q.value){q=q.value;var ie=he.id===q.id;ie&&ee&&(fe.treeNodeData.marginLeft=fe.treeNodeData.marginLeft-1),ie&&se.push("focused")}return{classes:se,nodeStyle:fe,node:he,nodeDataIndentation:le}}},H=function(){return function(q){var ee=q.classes,oe=q.node,se=q.nodeStyle,he=q.nodeDataIndentation,fe=x.displayBlank;return fe&&oe.isExpandable?(se.treeNodeData.marginLeft+=w,ee.push("parentNode")):oe.isExpandable?(he=he+w,ee.push("parentNode")):(ee.push("leafNode"),se.treeNodeData.marginLeft+=E,he=he+E),{classes:ee,node:oe,nodeStyle:se,nodeDataIndentation:he}}},K=function(){function q(ee,oe,se){se&&(ee[oe]=se)}return function(ee){var oe=ee.classes,se=ee.nodeStyle,he=ee.nodeDataIndentation,fe=x&&x.readonly,le=x.displayBlank,ie=x&&x.noMouseInteraction;if(fe&&oe.push(u.READ_ONLY_NODE_CLASS),le&&oe.push(u.BLANK_NODE_CLASS),ie&&oe.push(u.NON_INTERACTIVE_NODE_CLASS),x.style){var re=x.style,ce=re.backgroundColor,ve=re.color,ge=re.fontWeight,Te=re.fontStyle,Pe=re.fontFamily,Le=re.fontSize;se.treeNode={},q(se.treeNode,"backgroundColor",ce),q(se.treeNode,"color",ve),q(se.treeNode,"fontWeight",ge),q(se.treeNode,"fontStyle",Te),q(se.treeNode,"fontFamily",Pe),q(se.treeNode,"fontSize",Le)}var ct=x.gutterColors,st=x.strikeThrough;return st===!0&&oe.push(u.TREENODE_STRIKETHROUGH),q(se,"gutterColors",ct),{classes:oe,nodeStyle:se,nodeDataIndentation:he}}},$=function(q){var ee=q.classes,oe=q.nodeStyle,se=q.nodeDataIndentation;return{classes:ee,style:oe,nodeDataIndentation:se}},V=function(){var q=y._viewModel.getStateByKey("isInDragging");return function(ee){var oe=ee.classes,se=ee.nodeStyle,he=ee.nodeDataIndentation;if(q&&q.rangeList&&q.rangeList.length>0){q=q.rangeList;var fe=q.some(function(ie){return F.id===ie.id}),le=q[0];fe&&oe.push("dragged-node"),le.id===F.id&&(se.treeNodeData.marginLeft=se.treeNodeData.marginLeft+1)}return{classes:oe,nodeStyle:se,node:F,nodeDataIndentation:he}}},z=o.compose($,H(),V(),j(),L(),O(),K()),X=u.TREENODE;this._numberOfGutters>0&&X.push(u.TREENODE_GUTTER);var Z={treeNodeData:{marginLeft:F.level*E}},Y=Z.treeNodeData.marginLeft;return z({classes:X,nodeStyle:Z,nodeDataIndentation:Y})}},{key:"_updateScrollLeftIfNeccessary",value:function(F){var y=this._viewModel.viewPort.size.width,x=this._viewModel.viewPort.size.left,O=void 0;F>.5*(x+y)?O=F-.5*(x+y):F<x&&F>y?O=F:O=0,this._viewModel.viewPort.size.left=O}}]),T}();return R},_,P),_.exports=S},20990:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(6460),l(14152),l(3571),l(18976)],S=l.dj.d(b,function(n,e,t,r){var i=function(s){d(a,s);function a(o){A(this,a);var u=p(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,o));return u._scrollHandler=function(c){return u.props.scrollHandler(c)},u._disableUserSelectHandler=function(c){return u._handleDisableUserSelect(c)},u._getContainerRef=function(c){u.myContainerDiv=c},u._contextMenuHandler=function(c){return u._handleContextMenu(c)},u}return C(a,[{key:"_handleDisableUserSelect",value:function(u){var c=u.target&&u.target.tagName;c!=="INPUT"&&c!=="TEXTAREA"&&u.preventDefault()}},{key:"_calculateBufferTreeNodeHeight",value:function(){this.props.setTreeBufferHeight(this.myContainerDiv)}},{key:"_deleteTreeWidth",value:function(u){this.props.deleteTreeWidth(u)}},{key:"_adjustScrollTop",value:function(){var u=void 0,c={height:this.myContainerDiv&&this.myContainerDiv.clientHeight,width:this.myContainerDiv&&this.myContainerDiv.clientWidth};u=this.props.scrollTopFunc(c),u>=0&&this.myContainerDiv&&this.myContainerDiv.scrollTop!==u&&(this.myContainerDiv.scrollTop=u)}},{key:"_adjustHeight",value:function(){var u=this.props.bodyHeight(),c=this.myContainerDiv&&this.myContainerDiv.childNodes[0];c&&(c.style.height=""+u+"px",c.style.maxHeight=""+u+"px")}},{key:"_adjustScrollLeft",value:function(){var u=this.props.scrollLeft;this.myContainerDiv&&this.myContainerDiv.scrollLeft!==u&&(this.myContainerDiv.scrollLeft=u)}},{key:"_adjustTranslate",value:function(){var u=this.props.translateTopFunc(),c=u+"px",h=this.myContainerDiv&&this.myContainerDiv.childNodes[0].childNodes[0];h&&(h.style.transform="translateY("+(""+c)+")")}},{key:"_handleContextMenu",value:function(u){u.preventDefault(),this.props.contextMenuHandler(u)}},{key:"componentDidMount",value:function(){this._calculateBufferTreeNodeHeight(),this.props.containerMountHandler({treeContainerNode:this.myContainerDiv,mwTreeNode:this.mwTreeNode}),document.addEventListener("cut",this.props.clipboardCutHandler,!1),document.addEventListener("copy",this.props.clipboardCopyHandler,!1),document.addEventListener("paste",this.props.clipboardPasteHandler,!1)}},{key:"componentDidUpdate",value:function(){this._calculateBufferTreeNodeHeight(),this._adjustHeight(),this._adjustScrollTop(),this._adjustTranslate(),this._adjustScrollLeft(),this.props.disabled&&this.myContainerDiv.blur(),this.props.containerUpdateHandler(),this._deleteTreeWidth(this.myContainerDiv)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("cut",this.props.clipboardCutHandler,!1),document.removeEventListener("copy",this.props.clipboardCopyHandler,!1),document.removeEventListener("paste",this.props.clipboardPasteHandler,!1)}},{key:"render",value:function(){var u=this,c={height:this.props.bodyHeight()},h=this.props.containerClass,v=this.props.classes;n.shouldHoverBeDisabled||(h+=" hoverable"),r.isTruncated()&&(h+=" mw-truncation-enabled",v+=" mw-truncation-mode"),this.props.width&&(c.minWidth=this.props.width);var f={transform:"translateY("+this.props.translateY+"px)"};return f.WebkitTransform="translateY("+this.props.translateY+"px)",e.createElement("div",{className:h,onScroll:this._scrollHandler,onFocus:this.props.focusHandler,onBlur:this.props.blurHandler,onKeyDown:this.props.keyHandler,onKeyUp:this.props.keyUpHandler,tabIndex:this.props.tabIndex,ref:this._getContainerRef,"aria-disabled":this.props.disabled,role:t.treeContainer,"aria-activedescendant":this.props.focusedNodeID,onContextMenu:this._contextMenuHandler},e.createElement("div",{className:"mw-tree-body-component",style:c},e.createElement("div",{className:v,style:f,ref:function(m){return u.mwTreeNode=m}},this.props.children)),r.isTruncated()&&this.props.dataTip)}}]),a}(e.Component);return i},_,P),_.exports=S},86216:(_,P,l)=>{var b,S;b=[l(14152)],S=l.dj.d(b,function(C){var A=function(e){var t=e.noMouseInteraction;return t?C.createElement(d,e):C.createElement(p,e)},p=function(e){return C.createElement("span",{className:e.classes,"data-row-index":e.rowIndex,"data-test-id":"disclosureHandle","data-disclosure-id":e.node.data.id,onMouseDown:e.disclosureMouseDown},C.createElement("svg",{className:"disclosureIcon","data-disclosure-id":e.node.data.id,viewBox:"0 0 8 8","data-row-index":e.rowIndex},C.createElement("g",null,C.createElement("polygon",{points:"4 7 0 3 8 3 4 7"}))))},d=function(e){return C.createElement("span",{className:e.classes,"data-row-index":e.rowIndex,"data-test-id":"disclosureHandle","data-disclosure-id":e.node.data.id},C.createElement("span",{className:"disclosureImage","data-disclosure-id":e.node.data.id,"data-row-index":e.rowIndex}))};return A},_,P),_.exports=S},55087:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(13049),l(14152)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r);function i(){return A(this,i),p(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"componentDidMount",value:function(){var a=this,o=this.props,u=o.editor,c=o.node,h={firstChar:this.props.config.firstChar,height:this._editorContainer.clientHeight};for(var v in u.config)u.config.hasOwnProperty(v)&&(h[v]=u.config[v]);var f=this.props.saveUnsavedValueHandler.getValue(),g=u.type;this._editorInstance=new g(c.value.data,h),f&&(this._editorInstance.value=f),this._editorInstanceListeners=[],this._editorInstanceListeners.push(this._editorInstance.on("editComplete",function(m){a._editCompleted(m)})),this._editorInstanceListeners.push(this._editorInstance.on("editCanceled",function(m){a._editCanceled(m)})),this._editorInstanceListeners.push(this._editorInstance.on("processEdit",function(m){a._processEdit(m)})),this._mountEditor()}},{key:"componentDidUpdate",value:function(){this._editorInstance&&this._editorInstance.update&&this._editorInstance.update(this.props.node.value.data,this.props.config)}},{key:"_processEdit",value:function(a){this.props.processEditHandler({node:this.props.node,parentNode:this.props.parentNode,oldValue:a.oldValue,newValue:a.newValue})}},{key:"_editCanceled",value:function(a){this._unMountEditor(),this.props.editCancelledHandler({node:this.props.node,oldValue:a.oldValue,newValue:a.newValue,validationResult:a.validationResult}),this._refocusToPreviousNode()}},{key:"_editCompleted",value:function(a){var o=this.props.editorState===n.ACTIVE_EDIT_IN_PROGRESS&&!a.hasValueChanged;o||(this._isEditorFocused=this._editorContainer.contains(document.activeElement),this._unMountEditor(),this.props.editCompleteHandler({node:this.props.node,parentNode:this.props.parentNode,oldValue:a.oldValue,newValue:a.newValue,hasValueChanged:a.hasValueChanged}),this._refocusToPreviousNode())}},{key:"_mountEditor",value:function(){this._editorContainer.appendChild(this._editorInstance.getDomNode()),this._previousActiveNode=document.activeElement,this._editorInstance.setFocus()}},{key:"_refocusToPreviousNode",value:function(){this._previousActiveNode&&this._isEditorFocused&&this._previousActiveNode.focus()}},{key:"_unMountEditor",value:function(){this._editorInstanceListeners.forEach(function(a){a.remove()}),this._editorContainer.removeChild(this._editorContainer.firstChild),this._editorInstance.destroy(),this._editorInstance=null}},{key:"componentWillUnmount",value:function(){this._editorInstance&&(this.props.saveUnsavedValueHandler.saveValue(this._editorInstance.value),this.props.editorState===n.ACTIVE_EDIT_IN_PROGRESS?(this._unMountEditor(),this._refocusToPreviousNode()):this._editorInstance.commitValue?this._editorInstance.commitValue():this._editCompleted({oldValue:this.props.node.value.data,newValue:this.props.node.value.data,hasValueChanged:!1}))}},{key:"render",value:function(){var a=this,o={maxWidth:this.props.maxWidth+"px"},u="mw-treeNode-editor-container";return e.createElement("div",{ref:function(h){return a._editorContainer=h},className:u,style:o})}}]),i}(e.Component);return t},_,P),_.exports=S},50944:(_,P,l)=>{var b,S,C=Object.assign||function(p){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(p[e]=n[e])}return p},A=function(){function p(d,n){var e=[],t=!0,r=!1,i=void 0;try{for(var s=d[Symbol.iterator](),a;!(t=(a=s.next()).done)&&(e.push(a.value),!(n&&e.length===n));t=!0);}catch(o){r=!0,i=o}finally{try{!t&&s.return&&s.return()}finally{if(r)throw i}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return p(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();b=[l(14152),l(3571),l(65811),l(90393),l(27458)],S=l.dj.d(b,function(p,d,n,e,t){var r=3,i=function(u){var c=u.noMouseInteraction;return c?p.createElement(a,u):p.createElement(s,u)},s=function(u){var c=p.useState(!1),h=A(c,2),v=h[0],f=h[1],g=p.useRef(null),m=u.numberOfGutters,E=u.classes,w=u.isDraggingStarted;E=E.slice(0),!w&&v&&E.push(n.TREENODE_HOVER[0]);var I=u.treeNodeStyle.treeNode||{};m&&(I.gridTemplateColumns=m*r+"px auto");var M={handleClick:u.nodeClick,handleDoubleClick:u.nodeDblClick},R=function(H){!w&&f(!0);var K={nodeData:u.node.data,nodeRef:g,hoverMode:!0,container:u.container,relatedTarget:H.relatedTarget};u.hoverAction(K)},T=function(H){!w&&f(!1);var K={nodeData:u.node.data,nodeRef:g,hoverMode:!1,container:u.container,relatedTarget:H.relatedTarget};u.hoverAction(K)},N=function(){var H={nodeData:u.node.data,nodeRef:g,container:u.container,hoverMode:!1};u.hoverAction(H)},F=t(M),y=A(F,2),x=y[0],O=y[1],L=u.node.nodePosition&&u.node.nodePosition.nodeIndex,W=u.node.nodePosition&&u.node.nodePosition.nodeIndex;return p.createElement("div",C({className:E.join(" "),"data-row-index":u.rowIndex,style:I,"data-level-index":u.node.level,"data-test-id":u.node.data.id},u.additionalDataAttributes,u.additionalAttributes,{id:u.nodeDomID,ref:g,role:d.treeNodeItem,"aria-level":u.node.level+1,"aria-posinset":L?u.node.nodePosition.nodeIndex:null,"aria-setsize":W?u.node.nodePosition.noOfNodes:null,"aria-expanded":u.node.isExpandable?u.node.isExpanded:null,"aria-checked":u.node.check!==void 0?u.node.check:null,"aria-selected":u.classes&&u.classes.indexOf("selected")!==-1,onMouseDown:u.nodeMouseDown,onMouseUp:u.nodeMouseUp,onMouseEnter:R,onMouseLeave:T,onWheel:N,onDoubleClick:O,onClick:x}),m>0?p.createElement(e,{gutterColors:u.treeNodeStyle.gutterColors,numberOfGutters:m}):"",p.createElement("div",{className:"treeNodeData","data-test-id":"nodeContentHandle",style:u.treeNodeStyle.treeNodeData},u.disclosureNode,u.componentsBeforeContent,u.content))},a=function(u){var c=u.numberOfGutters,h=u.classes;h=h.slice(0);var v=u.treeNodeStyle.treeNode||{};c&&(v.gridTemplateColumns=c*r+"px auto");var f=u.node.nodePosition&&u.node.nodePosition.nodeIndex,g=u.node.nodePosition&&u.node.nodePosition.nodeIndex;return p.createElement("div",C({className:h.join(" "),"data-row-index":u.rowIndex,style:v,"data-level-index":u.node.level,"data-test-id":u.node.data.id},u.additionalDataAttributes,u.additionalAttributes,{id:u.nodeDomID,role:d.treeNodeItem,"aria-level":u.node.level+1,"aria-posinset":f?u.node.nodePosition.nodeIndex:null,"aria-setsize":g?u.node.nodePosition.noOfNodes:null,"aria-expanded":u.node.isExpandable?u.node.isExpanded:null,"aria-checked":u.node.check!==void 0?u.node.check:null,"aria-selected":u.classes&&u.classes.indexOf("selected")!==-1}),c>0?p.createElement(e,{gutterColors:u.treeNodeStyle.gutterColors}):"",p.createElement("div",{className:"treeNodeData","data-test-id":"nodeContentHandle",style:u.treeNodeStyle.treeNodeData},u.disclosureNode,u.componentsBeforeContent,u.content))};return i},_,P),_.exports=S},3571:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=Object.freeze({treeContainer:"tree",treeNodeItem:"treeitem"});return C},_,P),_.exports=S},42168:(_,P,l)=>{var b,S;function C(A){if(Array.isArray(A)){for(var p=0,d=Array(A.length);p<A.length;p++)d[p]=A[p];return d}else return Array.from(A)}b=[l(79836),l(24932),l(41040),l(81874),l(14152)],S=l.dj.d(b,function(A,p,d,n,e){var t=Object.freeze({TREE:"TREE",TREENODE:"TREENODE",TREENODE_CONTENT:"TREENODE_CONTENT",TREENODE_EDITOR:"TREENODE_EDITOR",TREENODE_RENDERER:"TREENODE_RENDERER",TREENODE_BEFORE_CONTENT:"TREENODE_BEFORE_CONTENT",TREENODE_AFTER_CONTENT:"TREENODE_AFTER_CONTENT"}),r=Object.freeze({CheckboxTree:p.INTERNAL.CheckboxTree,HTMLDnD:d,DnD:n}),i=function(o,u){return u.activeEditNode&&u.activeEditNode.node.id===o.value.id?{}:{draggable:!0}},s=Object.freeze({CheckboxTree:[{viewComponentPlacement:t.TREENODE_BEFORE_CONTENT,viewComponentBuilder:function(o,u,c,h){return e.createElement(A,{key:o.value.id+"_checkbox",node:o,metadata:h,checkedHandler:u.checkboxTree.checkBoxHandler,config:c})},viewComponentEventListener:[{nameSpace:"checkboxTree",handlerName:"checkBoxHandler",eventName:"checkBoxClicked",shouldRender:!0,eventHandler:function(o){}}],viewComponentProperties:{width:19}}],HTMLDnD:[{viewComponentPlacement:t.TREENODE,viewComponentAttributes:i,viewComponentEventListener:[]}],DnD:[{viewComponentPlacement:t.TREENODE,viewComponentAttributes:i,viewComponentEventListener:[]}]});return{_getNameForPlugin:function(o){var u=Object.keys(r),c=u.filter(function(h){return r[h]===o});return c[0]},_getViewComponentForPlugin:function(o){var u=this._getNameForPlugin(o);return u?s[u]:[]},getEventListenersForPlugins:function(){var o=this,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(!Array.isArray(u))return[];var c=[];return u.forEach(function(h){var v=o._getViewComponentForPlugin(h);v.forEach(function(f){c.push.apply(c,C(f.viewComponentEventListener))})}),c},getPluginBuilderAndProperties:function(){var o=this,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments[1],h=[];return Array.isArray(u)?(u.forEach(function(v){var f=o._getViewComponentForPlugin(v);f.forEach(function(g){g.viewComponentPlacement===c&&h.push({builder:g.viewComponentBuilder,properties:g.viewComponentProperties})})}),h):[]},getComponentAttributes:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments[1],c=this,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!Array.isArray(o))return{};var f={};return o.forEach(function(g){var m=c._getViewComponentForPlugin(g);m.forEach(function(E){E.viewComponentPlacement===u&&(f=E.viewComponentAttributes(h,v))})}),f},getDOMListeners:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=this,c=arguments[1],h=arguments[2],v=[],f={};return Array.isArray(o)?(o.forEach(function(g){var m=u._getViewComponentForPlugin(g);m.forEach(function(E){E.viewComponentPlacement===c&&(v=E.viewComponentEventListener)})}),v.forEach(function(g){f[g.DOMEventToListen]=h[g.nameSpace][g.handlerName]}),f):{}},VIEW_COMPONENTS:t}},_,P),_.exports=S},84917:(_,P,l)=>{var b,S,C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},A=function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}b=[l(14152),l(65275),l(18976)],S=l.dj.d(b,function(e,t,r){"use strict";var i=function(s){n(a,s);function a(){return p(this,a),d(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return A(a,[{key:"shouldComponentUpdate",value:function(u){var c=!this.props.node.isEqual(u.node)||!this.props.shallowEqual(this.props.config,u.config)||this.props.config.rendererConfig&&!this.props.shallowEqual(this.props.config.rendererConfig,u.config.rendererConfig)||this.props.config.style&&!this.props.shallowEqual(this.props.config.style,u.config.style)||this.props.searchNavigationData.id!==u.searchNavigationData.id||this.props.searchNavigationData.indexInRow!==u.searchNavigationData.indexInRow;return c=c||!1,c}},{key:"componentDidUpdate",value:function(u,c){var h=this.rendererContainer,v=this.props,f=v.renderer,g=v.node,m=this._getRendererDom(f,g),E=h.firstChild.isEqualNode(m);!E&&this.rendererContainer.replaceChild(m,h.firstChild)}},{key:"_getRendererDom",value:function(u,c){var h=this.props.node.value.highlight,v=this.props.config.readonly,f=this.props.config.noMouseInteraction,g=c.value.isExpandable,m=this.props.config.rendererConfig,E=this.props.searchNavigationData;return u.getDomNode(c.value.data,{highlight:h,readonly:v,isExpandable:g,noMouseInteraction:f,rendererConfig:m,searchNavigationData:E})}},{key:"componentDidMount",value:function(){var u=this.props,c=u.renderer,h=u.node;this.rendererContainer.appendChild(this._getRendererDom(c,h))}},{key:"_handleClick",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.INTERACTIVE_RENDERER_CLICK,h=this.props,v=h.renderer,f=h.node;this.props.interactiveCallback&&this.props.interactiveCallback(c,{node:f,renderer:v,evt:u})}},{key:"render",value:function(){var u=this,c=this.props.config&&this.props.config.maxWidth?{maxWidth:this.props.config.maxWidth}:{},h=r.isTruncated()?"mw-treeNode-renderer-container mw-treeNode-renderer-container-truncate":"mw-treeNode-renderer-container",v=function(g){return u._handleClick(g)};return e.createElement("span",C({style:c},this.props.additionalAttributes,this.props.additionalListeners,{ref:function(g){return u.rendererContainer=g},onClick:v,className:h}))}}]),a}(e.Component);return i},_,P),_.exports=S},16341:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(14152),l(85084),l(94809),l(51337),l(69683),l(11487),l(73277),l(72726),l(91737),l(65844),l(42168),l(44534),l(20980),l(27458),l(18976),l(65811),l(26061),l(65275),l(66874)],S=l.dj.d(b,function(p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m,E,w){var I=function(){return{value:{}}},M=16,R=2,T=function(){function N(F,y){var x=this,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},L=arguments[3];A(this,N),this._viewModel=F,this._viewEventHandler=new n,this._rootDom=y,this._listeners=[],O.designTimeEventsConfig?(this._EVENTS_CONFIG=o.TREE_EVENTS,this._EDIT_EVENTS_CONFIG=o.EDIT_TREE_EVENTS,this._isTargetEditable=this._isDesignTimeEventsTargetEditable,this._designTimeReadOnly=this._isNodeReadOnly):(this._EVENTS_CONFIG=a.TREE_EVENTS,this._EDIT_EVENTS_CONFIG=a.EDIT_TREE_EVENTS,this._isTargetEditable=this._isDefaultEventsTargetEditable);var W={disclosureNode:{},treeNode:{},tree:{},interactive_renderer:{}};W.disclosureNode._disclosureMouseDownHandler=function(j){return x._handleDisclosureNodeLeftMouseDownEvent(j,function(H){return x._handleDisclosureMouseDown(H)})},W.treeNode._nodeMouseDownHandler=function(j){return x._handleMouseDownEvents(j,function(H,K){return x._handleNodeMouseDown(H,K)})},W.treeNode._nodeClickHandler=function(j){return x._handleNodeClick(j)},W.treeNode._nodeDblClickHandler=function(j){return x._handleNodeDoubleClick(j)},W.treeNode._nodeHoverHandler=function(j){return x._handleHoverToggle(j)},W.tree._keyDownHandler=function(j){return x._handleKeyDown(j)},W.tree._keyUpHandler=function(j){return x._handleKeyUp(j)},W.tree._scrollHandler=function(j){return x._handleScroll(j)},W.tree._clipboardCutHandler=function(j){return x._handleCut(j)},W.tree._clipboardCopyHandler=function(j){return x._handleCopy(j)},W.tree._clipboardPasteHandler=function(j){return x._handlePaste(j)},W.tree._focusHandler=function(j){return x._handleFocus(j)},W.tree._containerMountHandler=function(j){return x._handleContainerMount(j)},W.tree._containerUpdateHandler=function(){return x._handleContainerUpdate()},W.tree._blurHandler=function(j){return x._handleBlur(j)},W.tree._contextMenuHandler=function(j){return x._handleContextMenu(j)},W.tree._setTreebufferDataHandler=function(j){return x.setTreeBufferData(j)},W.tree._deleteTreeWidth=function(j){x.deleteTreeWidth(j)},W.interactive_renderer=function(j,H){return x._handleInteractiveRendererEvent(j,H)},this.handlers=W,this._handlePluginEvents(L),this.treeBuilder=this.createTreeBuilder(O,L),this._throttledHandleKeyNavigation=s.throttle(this._handleKeyNavigation,M)}return C(N,[{key:"_isDesignTimeEventsTargetEditable",value:function(y){return!(y.target.attributes["data-editor"]||this._isNodeReadOnly(y))}},{key:"_isDefaultEventsTargetEditable",value:function(y){return y.target.attributes["data-region"]&&!this._isNodeReadOnly(y)}},{key:"deleteTreeWidth",value:function(y){var x=y&&!this._hasHorizontalScrollBar(y);x&&this._viewModel.deleteState("treeWidth")}},{key:"_handlePluginEvents",value:function(){var y=this,x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],O=u.getEventListenersForPlugins(x);O.forEach(function(L){y.handlers[L.nameSpace]=y.handlers[L.nameSpace]?y.handlers[L.nameSpace]:{},y.handlers[L.nameSpace][L.handlerName]=function(W){var j={eventToEmit:L.eventName,eventProperties:W,eventCallback:function(){L.eventHandler(this._viewModel,W),L.shouldRender&&this.render()}.bind(y)};y._viewEventHandler.handleEvent(j)}})}},{key:"_handleContextMenu",value:function(y){var x=y.button===R;x?this._handleRightClick(y):this._handleKeyboardContextMenu()}},{key:"createTreeBuilder",value:function(y,x){return new c(this._viewModel,this.handlers,y,x)}},{key:"_handleCopy",value:function(y){if(this._isContainerActive()){var x=this._viewEventHandler.handleEvent,O={eventToEmit:E.CLIPBOARD_COPY,eventProperties:y,handleEvent:x,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}}},{key:"_handleCut",value:function(y){if(this._isContainerActive()){var x=this._viewEventHandler.handleEvent,O={eventToEmit:E.CLIPBOARD_CUT,eventProperties:y,handleEvent:x,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}}},{key:"_handlePaste",value:function(y){if(this._isContainerActive()){var x=this._viewEventHandler.handleEvent,O={eventToEmit:E.CLIPBOARD_PASTE,eventProperties:y,handleEvent:x,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}}},{key:"_isContainerActive",value:function(){var y=this._rootDom.contains(document.activeElement);return y}},{key:"_handleFocus",value:function(y){this._viewModel.setState("ContainerFocused",!0),this._viewModel.deleteState("NodeHover"),this.render()}},{key:"_handleContainerMount",value:function(y){this._viewModel.setState("treeContainerNode",y.treeContainerNode);var x={treeContainerNode:y.treeContainerNode,mwTreeNode:y.mwTreeNode},O={eventToEmit:"containerMount",eventProperties:x,eventCallback:function(){}};this._viewEventHandler.handleEvent(O)}},{key:"_handleContainerUpdate",value:function(y){var x=this._viewModel.getStateByKey("treeContainerNode");x=x?x.value:null,x&&(this._viewModel.viewPort.size.width=x.clientWidth);var O={eventToEmit:"containerUpdate",eventProperties:null,eventCallback:function(){}};this._viewEventHandler.handleEvent(O)}},{key:"_handleBlur",value:function(y){this._viewModel.deleteState("ContainerFocused"),this.render()}},{key:"_handleHoverToggle",value:function(y){this._viewModel.setState("NodeHover",y),this.render()}},{key:"_hasVerticalScrollBar",value:function(y){var x=y.scrollHeight,O=y.clientHeight;return x>O}},{key:"_hasHorizontalScrollBar",value:function(y){var x=y.scrollWidth,O=y.clientWidth;return x>O}},{key:"_handleScroll",value:function(y){var x={clientHeight:y.currentTarget.clientHeight,scrollTop:y.currentTarget.scrollTop,scrollLeft:y.currentTarget.scrollLeft,clientWidth:y.currentTarget.clientWidth,scrollWidth:y.currentTarget.scrollWidth,scrollHeight:y.currentTarget.scrollHeight};this._hasVerticalScrollBar(y.currentTarget)&&!f.isTruncated()&&this.setTreeWidthProperty(x.scrollWidth),this._hasHorizontalScrollBar(y.currentTarget)&&!f.isTruncated()&&(this._viewModel.viewPort.size.height=x.clientHeight);var O=this._viewModel.getStateByKey("shouldScrollOnKeyPressed");if(O&&O.value){var L={eventToEmit:"treeScrollOnKeyPressed",eventProperties:x,eventCallback:function(){}};this._viewEventHandler.handleEvent(L)}var W=this._viewModel.viewPort.size.height!==x.clientHeight||Math.round(this._viewModel.viewPort.size.top)!==Math.round(x.scrollTop),j=this._viewModel.viewPort.size.width!==x.clientWidth||Math.round(this._viewModel.viewPort.size.left)!==Math.round(x.scrollLeft);if(W||j){var H={eventToEmit:"treeScroll",eventProperties:x,eventCallback:function(){i.updateDataBuffer(this._viewModel),this.render()}.bind(this)};this._viewEventHandler.handleEvent(H)}}},{key:"_handleRightClick",value:function(y){for(var x=y.target,O=x.tagName,L=x;!x.classList.contains("treeNode");)if(x=x.parentNode,O=x.tagName,O==="BODY"){L=null;break}var W={},j=void 0,H={};if(L){var K=x.attributes["data-row-index"].nodeValue;j=this._data(parseInt(K))(0).value,H=this._metadata(K).value,W={type:"TREENODE",nodeId:j.id}}else W={type:"TREE"};var $={top:y.pageY,left:y.pageX,node:j,metadata:H,emitTarget:W},V=!H.noMouseInteraction&&this._EVENTS_CONFIG.contextMenuClick;if(V){var z={eventToEmit:V,eventProperties:$,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(z)}}},{key:"isFocusedNodeInTheView",value:function(){var y=this._rootDom.querySelector(".treeNode.focused"),x=this._rootDom.querySelector(".focused").getBoundingClientRect();if(y){var O=y.getBoundingClientRect();return!(O.top>x.bottom||O.bottom<x.top)}else return!1}},{key:"_handleKeyboardContextMenu",value:function(){var y=this._EVENTS_CONFIG.keyboardContextMenu,x=this._rootDom.querySelector(".treeNode.focused"),O={};if(x){var L=x.attributes["data-row-index"].nodeValue;O=this._metadata(L).value}var W=this._rootDom.querySelector(".focused").getBoundingClientRect(),j={focusedDomNodePosition:x&&x.getBoundingClientRect(),treeContainerPosition:W,metadata:O};if(y){var H={eventToEmit:y,eventProperties:j,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(H)}}},{key:"registerEventCallback",value:function(y,x){this._viewEventHandler.registerEventListeners(y,x)}},{key:"setTreeBufferData",value:function(y){for(var x=y.querySelectorAll("."+(""+g.TREENODE)),O=[],L=0;L<x.length;L++){var W=x[L].offsetHeight;W=W||w.nodeHeight;var j=Number(x[L].getAttribute("data-row-index")),H={index:j,height:W};O.push(H)}this._viewModel.setState("bufferDataRendererd",O)}},{key:"setDisableState",value:function(y){this._viewModel.setState(m.TREE_DISABLED,y),this.render()}},{key:"getDisableState",value:function(){var y=this._viewModel.getStateByKey(m.TREE_DISABLED);return!!(y&&y.value)}},{key:"setTreeWidthProperty",value:function(y){var x=this._viewModel.getStateByKey("treeWidth");x=x?x.value:null,x<y&&this._viewModel.setState("treeWidth",y)}},{key:"_handleKeyDown",value:function(y){var x={keyCode:y.keyCode,metaKey:y.metaKey,ctrlKey:y.ctrlKey,shiftKey:y.shiftKey,altKey:y.altKey};switch(x.keyCode){case e.ARROW_UP:case e.ARROW_DOWN:case e.PAGE_UP:case e.PAGE_DOWN:case e.ARROW_RIGHT:case e.ARROW_LEFT:case e.SPACE:case e.HOME:case e.END:{y.preventDefault();var O=y.ctrlKey||y.metaKey?this._EVENTS_CONFIG.keyDownMetaNavigation:y.shiftKey?this._EVENTS_CONFIG.keyDownRangeNavigation:this._EVENTS_CONFIG.keyDownNavigation;if(!O)return;this._throttledHandleKeyNavigation(O,x);break}case e.DELETE:case e.BACKSPACE:{if(y.preventDefault(),y.ctrlKey||y.metaKey||y.shiftKey)return;this._handleDelete(x);break}case e.X:case e.C:case e.V:{this._handleCCPEvent(y);break}}}},{key:"_handleCCPEvent",value:function(y){var x=this._viewEventHandler.handleEvent,O={eventToEmit:E.CCP_KEY_PRESSED,eventProperties:y,nextActionEvent:"",handleEvent:x,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}},{key:"_handleKeyNavigation",value:function(y,x){this.viewModelUpdateInProgress=!0;var O=this._EVENTS_CONFIG.treeKeyPressed,L=this._viewEventHandler.handleEvent,W={eventToEmit:O,eventProperties:x,nextActionEvent:y,handleEvent:L,eventCallback:function(){this.viewModelUpdateInProgress=!1;var j=this._viewModel.getStateByKey("nodeHeightInPx").value,H=this._viewModel.getStateByKey("shouldScroll");H&&H.value&&(this._viewModel.viewPort.size.top=this._viewModel.viewPort.rangeList[0].rows.start*j,this._viewModel.deleteState("shouldScroll")),this._viewModel.setState("forceContainerFocus",!0),this.render()}.bind(this)};this._viewEventHandler.handleEvent(W)}},{key:"_handleKeyUp",value:function(y){var x={keyCode:y.keyCode,metaKey:y.metaKey,ctrlKey:y.ctrlKey,shiftKey:y.shiftKey,altKey:y.altKey};switch(x.keyCode){case e.SPACE:{y.preventDefault();var O=x.ctrlKey||x.metaKey||x.shiftKey||x.altKey?null:this._EVENTS_CONFIG.keyUp;if(!O)return;var L={eventToEmit:O,eventProperties:x,eventCallback:function(){}};this._viewEventHandler.handleEvent(L);break}}}},{key:"_handleDelete",value:function(y){var x=this._EVENTS_CONFIG.deleteAction,O=this._EVENTS_CONFIG.treeKeyPressed,L=this._viewEventHandler.handleEvent,W={eventToEmit:O,eventProperties:y,nextActionEvent:x,handleEvent:L,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(W)}},{key:"_isInDragMode",value:function(){return this._viewModel.getStateByKey("isInDragging")&&this._viewModel.getStateByKey("isInDragging").value}},{key:"_endingDnD",value:function(){this._viewModel.getStateByKey("dndEnds")&&this._viewModel.setState("dndEnds",{})}},{key:"_isDisclosureTarget",value:function(y){var x=y.target,O=x?x.parentElement:null,L=O?O.parentElement:null;return x&&x.hasAttribute("data-disclosure-id")||O&&O.hasAttribute("data-disclosure-id")||L&&L.hasAttribute("data-disclosure-id")}},{key:"_isDnDNotInProgress",value:function(y){return!this._viewModel.getStateByKey("dndEnds")||this._viewModel.getStateByKey("dndEnds")&&!this._viewModel.getStateByKey("dndEnds").value[y.target]}},{key:"_isNodeReadOnly",value:function(y){return y.currentTarget.classList.contains("readonly")}},{key:"_handleNodeDoubleClick",value:function(y){if(!this._isDisclosureTarget(y)){var x=this._EVENTS_CONFIG.dblClick,O=this._EVENTS_CONFIG.nodeDoubleClicked;y.currentTarget.removeAttribute("data-can-edit");var L=this._isTargetCheckBox(y);if(!(this._designTimeReadOnly&&this._designTimeReadOnly(y))){var W=this._buildDoubleClickHandlerObject(x,y),j={eventToEmit:O,isTargetCheckbox:L,eventProperties:W,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(j)}}}},{key:"_buildDoubleClickHandlerObject",value:function(y,x){var O=this,L=Number(x.currentTarget.getAttribute("data-row-index")),W=this._data(parseInt(L))(0).value,j=this._metadata?this._metadata:function(H){return{value:{}}};return j=j(L).value,{node:W,defaultFn:function(){var K={node:W,metadata:j,altKey:x.altKey,metaKey:x.metaKey,ctrlKey:x.ctrlKey,shiftKey:x.shiftKey,nodeIndex:parseInt(L)},$={eventToEmit:y,eventProperties:K,eventCallback:function(){this.render()}.bind(O)};O._viewEventHandler.handleEvent($)}}}},{key:"_handleDisclosureNodeLeftMouseDownEvent",value:function(y,x){y.button===t.MOUSE_LEFT_BUTTON&&x(y)}},{key:"_handleMouseDownEvents",value:function(y,x){var O=this._EVENTS_CONFIG.nodeMouseDown,L=this._EVENTS_CONFIG.rightClick;y.button===t.MOUSE_LEFT_BUTTON?x(y,O):L&&y.button===t.MOUSE_RIGHT_BUTTON&&x(y,L)}},{key:"_handleDisclosureMouseDown",value:function(y){y.stopPropagation();var x=y.currentTarget.attributes["data-row-index"].nodeValue,O=this._data(parseInt(x))(0).value,L={node:O,nodeIndex:parseInt(x)},W={eventToEmit:"treeDisclosureMouseDown",eventProperties:L,eventCallback:function(){}};this._viewEventHandler.handleEvent(W)}},{key:"_isTargetCheckBox",value:function(y){var x=y.currentTarget.querySelector(".mw-checkbox-tree"),O=x&&x.contains(y.target);return O}},{key:"_handleNodeMouseDown",value:function(y,x){var O=y.currentTarget.attributes["data-row-index"].nodeValue,L=this._isTargetCheckBox(y),W=this._data(parseInt(O))(0).value,j={node:W,isTargetCheckBox:L,altKey:y.altKey,metaKey:y.metaKey,ctrlKey:y.ctrlKey,shiftKey:y.shiftKey,nodeIndex:parseInt(O)},H={eventToEmit:x,eventProperties:j,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(H)}},{key:"_handleNodeClick",value:function(y){if(!this._isDisclosureTarget(y)){var x=y.currentTarget.attributes["data-row-index"].nodeValue,O=this._data(parseInt(x)),L=this._isTargetCheckBox(y);if(O){var W=O(0).value,j={node:W,isTargetCheckBox:L,altKey:y.altKey,metaKey:y.metaKey,ctrlKey:y.ctrlKey,shiftKey:y.shiftKey,nodeIndex:parseInt(x)},H={eventToEmit:"treeNodeMouseClick",eventProperties:j,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(H)}}}},{key:"_handleInteractiveRendererEvent",value:function(y,x){var O={eventToEmit:y,eventProperties:x,eventCallback:function(){}};this._viewEventHandler.handleEvent(O)}},{key:"initialize",value:function(){var y=this,x=this._viewModel.getStateByKey("nodeHeightInPx").value,O=Math.floor(this._rootDom.clientHeight/x);this._viewModel.viewPort={size:{left:0,top:0,width:this._rootDom.clientWidth,height:this._rootDom.clientHeight},rangeList:[r.range().setRows(0,O-1).setColumns(0,0)]};var L=this._viewModel.on("updateView",function(){y.render()}),W=this._viewModel.on("viewDataChanged",function(H){var K=H.viewData,$=H.rowMetaData||[I];y._viewModel.setState("currentViewPortData",K[0]),y._viewModel.setState("currentViewPortMetaData",$[0]),y.render(K[0],$[0])}),j=this._viewModel.on("dataSizeChanged",function(H){y._viewModel.deleteState("treeWidth"),y.render()});this._listeners.push(L),this._listeners.push(W),this._listeners.push(j),i.updateDataBuffer(this._viewModel,!0)}},{key:"resize",value:function(y,x){var O=void 0,L=void 0;O=y||this._rootDom.clientHeight,L=x||this._rootDom.clientWidth,this._viewModel.viewPort.size.width=L,this._viewModel.viewPort.size.height=O,i.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size),i.updateDataBuffer(this._viewModel),this.render()}},{key:"scrollTo",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},O={treeNodeScroll:y};this._emitProgrammaticScrollEvt(O,x)}},{key:"scrollToPosition",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},O={position:y};this._emitProgrammaticScrollEvt(O,x)}},{key:"getScrollComponentDimensions",value:function(){var y=this._rootDom.childNodes[0].scrollHeight,x=this._rootDom.childNodes[0].scrollWidth,O=this._rootDom.childNodes[0].scrollTop,L=this._rootDom.childNodes[0].scrollLeft,W=this._rootDom.childNodes[0].clientWidth,j=this._rootDom.childNodes[0].clientHeight;return{scrollHeight:y,scrollWidth:x,scrollTop:O,scrollLeft:L,clientWidth:W,clientHeight:j}}},{key:"executeAction",value:function(y){switch(y){case"DELETE":this._handleDelete();break;default:break}}},{key:"_emitProgrammaticScrollEvt",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};this.viewModelUpdateInProgress=!0;var O={eventToEmit:"treeProgrammaticScroll",eventProperties:y,eventCallback:function(){this.viewModelUpdateInProgress=!1,i.isViewPortRangeInDataBuffer(this._viewModel)?this.render():i.updateDataBuffer(this._viewModel),x()}.bind(this)};this._viewEventHandler.handleEvent(O)}},{key:"scrollToIndex",value:function(y){var x={nodeIndex:y};this._emitProgrammaticScrollEvt(x)}},{key:"render",value:function(y){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I;if(y&&(this._data=y,this._metadata=x),!this.viewModelUpdateInProgress){var O=this.treeBuilder.buildTree(this._data,this._metadata);d.render(O,this._rootDom)}}},{key:"destroy",value:function(){v.handleRemoveTimers(),this._listeners.forEach(function(y){y.remove()}),d.unmountComponentAtNode(this._rootDom)}}]),N}();return T},_,P),_.exports=S},79836:(_,P,l)=>{var b,S,C=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function A(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function p(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}b=[l(88738),l(14152)],S=l.dj.d(b,function(n,e){"use strict";var t=function(r){d(i,r);function i(){return A(this,i),p(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return C(i,[{key:"componentDidUpdate",value:function(){this.props.node.value.check?this.tristateCB.checked=this.props.node.value.check:this.tristateCB.checked=!1,this._updateStateOnTriState(this.props.metadata),this.tristateCB.tabIndex=-1}},{key:"componentDidMount",value:function(){var a=this;this.tristateCB=n({checked:this.props.node.value.check||!1}),this._updateStateOnTriState(this.props.metadata),this.tristateCB["aria-label"]=this.props.node.value.label,this.changeListener=this.tristateCB.on("change",function(o){o.node=a.props.node,a.props.checkedHandler(o)}),this.checkboxContainer.appendChild(this.tristateCB),this.tristateCB.tabIndex=-1}},{key:"componentWillUnmount",value:function(){this.changeListener.remove()}},{key:"_updateStateOnTriState",value:function(a){if(a){var o=!!(a.readonly||a.disabled||a.noMouseInteraction);this.tristateCB.disabled=o}}},{key:"_mouseDownHandler",value:function(a){a.preventDefault()}},{key:"_doubleClickHandler",value:function(a){this.tristateCB.disabled||(a.preventDefault(),a.stopPropagation())}},{key:"render",value:function(){var a=this;return e.createElement("span",{className:"mw-checkbox-tree",onMouseDown:this._mouseDownHandler,onDoubleClick:this._doubleClickHandler.bind(this),ref:function(u){return a.checkboxContainer=u}})}}]),i}(e.Component);return t},_,P),_.exports=S},27458:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){var C=250,A=[],p=function d(n){var e=function(i){var s=i.currentTarget;i.persist(),A.push(setTimeout(function(){i.currentTarget=s,n.handleClick(i)},C))},t=function(i){d.handleRemoveTimers(),n.handleDoubleClick(i)};return[e,t]};return p.handleRemoveTimers=function(){for(;A.length>0;)clearTimeout(A.pop())},p},_,P),_.exports=S},67490:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C=Object.freeze({FIRST_NODE:{},LAST_NODE:{}});return C},_,P),_.exports=S},11254:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(37717),l(11487)],S=l.dj.d(b,function(p,d){"use strict";var n=function(s,a){var o=[],u=[];if(a.length===0)u=s.slice(0);else{if(s.forEach(function(f){if(f.start>=a.length||f.end>=a.length)throw new Error("RangeIndex exceeds dataIndexMap size");var g=a.slice(f.start,f.end+1);o=o.concat(g)}),o.length===0)return[];o.sort(function(f,g){return f-g});var c={start:o[0],end:o[0]};u.push(c);for(var h=1;h<o.length;h+=1){var v=o[h];c.end+1===v||c.end===v?c.end=v:(c={start:v,end:v},u.push(c))}}return u},e=function(s,a){var o=[],u=s.map(function(h){return h.columns}),c=n(u,a);return o=o.concat(c.map(function(h){return d.range().setColumns(h.start,h.end).setRows(s[0].rows.start,s[0].rows.end)})),o},t=function(s,a,o){var u=e([s],o),c=[];return u.forEach(function(h){for(var v=!1,f=0;f<a.length;f+=1)if(d.isRangeInside(h,a[f])){v=!0,c.push(f);break}if(!v)throw new Error("Data Range to view range mapping not found")}),c},r=function(){function i(){A(this,i),this._viewColumnIndexToDataIndex=[]}return C(i,[{key:"viewToModelRangeMapping",value:function(a){var o=this,u=[],c=d.groupRangeListByRow(a);return c.forEach(function(h){var v=e(h,o.viewColumnIndexToDataIndex);u=u.concat(v)}),u}},{key:"modelToViewDataMapping",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a,c=arguments[2],h=[],v=a.map(function(f){return f.range});return c.forEach(function(f,g){var m=void 0;m=t(f,v,o.viewColumnIndexToDataIndex),m.sort(function(M,R){return a[M].range.columns.start-a[R].range.columns.start});var E=[];h[g]=function(M){if(M<E.length)return E[M];throw new Error("No Data Found for rowIndex: "+M)},h[g].range=f;for(var w=f.rows.start;w<=f.rows.end;w+=1){var I=i._createRow(w,m,a,u,o.viewColumnIndexToDataIndex);E[w]=I}}),h}},{key:"viewToDataIndex",value:function(a){var o=this.viewColumnIndexToDataIndex;return o.length>0?o[a]:a}},{key:"viewColumnIndexToDataIndex",set:function(a){this._viewColumnIndexToDataIndex=a},get:function(){return this._viewColumnIndexToDataIndex}}],[{key:"_createRow",value:function(a,o,u,c,h){var v=o.map(function(f){var g=u[f],m=[];return c&&(m=c[f]),{start:g.range.columns.start,end:g.range.columns.end,cells:g[a],metaData:m[a]||[]}});return p(v,h)}}]),i}();return r},_,P),_.exports=S},20936:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";var p=function(){function n(e,t){A(this,n),this._next=null,this._prev=null,this._value=t,this._key=e}return C(n,[{key:"next",get:function(){return this._next},set:function(t){this._next=t}},{key:"prev",get:function(){return this._prev},set:function(t){this._prev=t}},{key:"isLast",get:function(){return this._next===null}},{key:"isFirst",get:function(){return this._prev===null}},{key:"key",get:function(){return this._key}},{key:"value",get:function(){return this._value}}]),n}(),d=function(){function n(){A(this,n),this._root=null}return C(n,[{key:"insert",value:function(t,r){var i=new p(t,r);return this._root!==null&&(this._root.prev=i,i.next=this._root),this._root=i,i}},{key:"find",value:function(t){if(this._root===null)return null;for(var r=this._root;r;){if(r.key===t)return r;r=r.next}return null}},{key:"forEach",value:function(t){if(this._root!==null)for(var r=this._root;r;)t(r),r=r.next}},{key:"removeWithKey",value:function(t){var r=this.find(t);this.remove(r)}},{key:"remove",value:function(t){t&&(t.isFirst?(this._root=t.next,this.root&&!this.root.isLast&&(t.next.prev=null)):t.isLast?t.prev.next=null:(t.prev.next=t.next,t.next.prev=t.prev))}},{key:"root",get:function(){return this._root}}]),n}();return d},_,P),_.exports=S},37717:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";var C={};return function(A,p){if(A.length<0)throw new Error("No rowData Present");var d=function n(e){var t=void 0;p.length===0?t=e:t=p[e];var r=n._lastAccessRowDataIndex;do{if(t>=A[r].start&&t<=A[r].end)return{value:A[r].cells[t],metaData:A[r].metaData[t]||C,isEqual:function(s){return s.value===this.value&&s.metaData===this.metaData}};r+=1,r=r%A.length}while(r!==n._lastAccessRowDataIndex);throw new Error("No Data Found for cellIndex: "+e)};return d._lastAccessRowDataIndex=0,d._rowData=A,d._dataIndexMap=p,d.isEqual=function(n){if(n._rowData.length!==A.length||p!==n._dataIndexMap)return!1;for(var e=0;e<=A.length;e+=1)if(d._rowData[e].data!==A[e].data)return!1;return!0},d}},_,P),_.exports=S},76068:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[l(20936),l(11254),l(71133),l(11487)],S=l.dj.d(b,function(p,d,n,e){"use strict";var t=function(){function r(i){A(this,r),this._stateCategoryIndex={},this._stateRangeIndex=new p,this._events={},this._columnDataMapper=new d,this._rowDataMapper=new d,this._dataModel=i,this._viewColumnRange=i,this._rowMetaData=new n({rankType:"row",dataViewMapper:this._rowDataMapper}),this._columnMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._columnSpanningMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._dataMapper=new d,this._dataModel=i,this._viewColumnRange=i.dataSize.columns,this._ownedListeners=[],this.setColumnHeaders([]),this._manageDataModelPaging=this._dataModel.managePaging.bind(this._dataModel),this._addOwnListeners(this._dataModel.on("pagedDataChanged",this._handlePagedDataChanged.bind(this))),this._addOwnListeners(this._dataModel.on("dataSizeChanged",this._emitDataSizeChanged.bind(this)))}return C(r,[{key:"setRowMetaData",value:function(s,a,o){this._rowMetaData.setViewMetaData(s,a,o),this._emitViewDataChanged()}},{key:"deleteRowMetaData",value:function(s,a){this._rowMetaData.deleteViewMetaData(s,a),this._emitViewDataChanged()}},{key:"setColumnMetaData",value:function(s,a,o){this._columnMetaData.setViewMetaData(s,a,o),this._emitViewDataChanged()}},{key:"deleteColumnMetaData",value:function(s,a){this._columnMetaData.deleteViewMetaData(s,a),this._emitViewDataChanged()}},{key:"_emitDataSizeChanged",value:function(){this._emit("dataSizeChanged",{dataSize:this.dataSize})}},{key:"_handlePagedDataChanged",value:function(s){var a=this.getStateByKey("viewBuffer");a&&(this._viewData=this._columnDataMapper.modelToViewDataMapping(s.pagedData,s.cellMetaData,a.rangeList),this._rowMetaData.setRangeList(a.rangeList),this._columnMetaData.setRangeList(a.rangeList),this._columnMetaData.setDataMetaData(s.columnMetaData),this._rowMetaData.setDataMetaData(s.rowMetaData),this._columnSpanningMetaData=s.columnSpanningMetaData,this._emitViewDataChanged())}},{key:"_emitViewDataChanged",value:function(){var s=this.getStateByKey("viewBuffer");if(s){var a=this._columnMetaData.getUnifiedMetaData(),o=this._rowMetaData.getUnifiedMetaData(),u=this._columnMetaData.getMetaDataRangeList(),c=this._rowMetaData.getMetaDataRangeList();if(this._viewData&&this._viewData.length===u.length&&this._viewData.length===c.length){for(var h=0;h<this._viewData.length;h+=1){var v=this._viewData[h].range,f=u[h],g=c[h];if(v.columns.start!==f.columns.start||v.columns.end!==f.columns.end||v.rows.start!==g.rows.start||v.rows.end!==g.rows.end)return}this._emit("viewDataChanged",{viewData:this._viewData,columnMetaData:a,rowMetaData:o,rangeList:s.rangeList,columnSpanningMetaData:this._columnSpanningMetaData})}}}},{key:"sort",value:function(s){for(var a=[],o=0;o<s.length;o+=1){var u=s[o];if(u.columnIndex<this.dataSize.columns.start||u.columnIndex>this.dataSize.columns.end)throw new Error("columnIndex is out of bounds");var c={columnIndex:this._columnDataMapper.viewToDataIndex(u.columnIndex),order:u.order,compare:u.compare};a.push(c)}this._dataModel.sort(a)}},{key:"setColumnHeaders",value:function(s){if(!s||s.length===0){if(this._columnDataMapper.viewColumnIndexToDataIndex=[],this._viewColumnRange=this._dataModel,this._dataModel.setHeaders)this._dataModel.setHeaders(s);else{var a=[e.range().setColumns(0,-1).setRows(0,1/0)];this.setState("columnHeaders",[],a)}this._columnMetaData.setViewHeaders([]),this._emitDataSizeChanged();return}var o=[e.range().setColumns(0,s.length-1).setRows(0,1/0)];this._viewColumnRange={dataSize:o[0]},this._columnDataMapper.viewColumnIndexToDataIndex=s.map(function(u){return u.dataIndex}),this._columnMetaData.setViewHeaders(s),this._dataModel.setHeaders?this._dataModel.setHeaders(s):this.setState("columnHeaders",s,o)}},{key:"setSpanningHeaders",value:function(s){this._dataModel.setSpanningHeaders&&this._dataModel.setSpanningHeaders(s)}},{key:"getSpanningHeaders",value:function(){return this._dataModel.getSpanningHeaders?this._dataModel.getSpanningHeaders():{}}},{key:"updateHeader",value:function(s){return this._dataModel.updateHeader(s)}},{key:"getColumnHeaders",value:function(){return this._dataModel.getHeaders?this._dataModel.getHeaders()||[]:this.getStateByKey("columnHeaders").value}},{key:"setState",value:function(s,a){var o=this,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(["all","keys"].indexOf(s)>=0)throw new Error("The key '"+s+"' is reserved, and cannot be used to setState");var c=u.slice(),h={value:a,rangeList:c,pointerList:[]};this._deleteState(s),this._stateCategoryIndex[s]=h,c.forEach(function(v){var f=o._stateRangeIndex.insert(v,s);h.pointerList.push(f)}),this._emit(s,this.getStateByKey(s))}},{key:"deleteState",value:function(s){this._deleteState(s),this._emit(s)}},{key:"_deleteState",value:function(s){var a=this;if(this._stateCategoryIndex[s]){var o=this._stateCategoryIndex[s];delete this._stateCategoryIndex[s],o.pointerList.forEach(function(u){a._stateRangeIndex.remove(u)})}}},{key:"getStateByKey",value:function(s){var a=this._stateCategoryIndex[s];return a?{value:a.value,rangeList:a.rangeList.slice()}:null}},{key:"getStateByRangeList",value:function(s){var a=this,o={};return o.keys=[],s.forEach(function(u){a._stateRangeIndex.forEach(function(c){var h=c.key,v=c.value;o[v]||e.doesRangeIntersect(u,h)&&(o[v]=a.getStateByKey(v),o[v].firstMatch=h,o.keys.push(v))})}),o}},{key:"on",value:function(s,a){var o=this;this._events[s]||(this._events[s]=[]),this._events[s].push(a);var u={};return u.remove=function(){var c=o._events[s].indexOf(a);o._events[s].splice(c,1),u.remove=function(){return null}},u}},{key:"_addOwnListeners",value:function(s){this._ownedListeners.push(s)}},{key:"_removeOwnListeners",value:function(){this._ownedListeners.forEach(function(s){return s.remove()})}},{key:"destroy",value:function(){this._removeOwnListeners(),this._dataModel=null}},{key:"_emit",value:function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this._events.all,u=this._events[s],c=Object.getOwnPropertyNames(a),h={};c.forEach(function(f){h[f]=a[f]}),h.eventName=s;var v=function(g){g&&g.forEach(function(m){m(h)})};v(u),v(o)}},{key:"_viewColumnRange",set:function(s){this._viewColumnObject=s},get:function(){return this._viewColumnObject.dataSize.columns}},{key:"viewBuffer",set:function(s){var a=s.size,o=s.rangeList,u=o.slice(),c=this._columnDataMapper.viewToModelRangeMapping(u);this.setState("viewBuffer",a,u),this._manageDataModelPaging(c)},get:function(){var s=this.getStateByKey("viewBuffer");return{size:s.value,rangeList:s.rangeList}}},{key:"viewPort",set:function(s){var a=s.size,o=s.rangeList;this.setState("viewPort",a,o)},get:function(){var s=this.getStateByKey("viewPort");return{size:s.value,rangeList:s.rangeList}}},{key:"dataSize",get:function(){var s=e.range();return s=s.setColumns(this._viewColumnRange.start,this._viewColumnRange.end),s=s.setRows(this._dataModel.dataSize.rows.start,this._dataModel.dataSize.rows.end),s}}]),r}();return t},_,P),_.exports=S},71133:(_,P,l)=>{var b,S,C=function(){function p(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&p(d.prototype,n),e&&p(d,e),d}}();function A(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}b=[],S=l.dj.d(b,function(){"use strict";return function(){function p(d){A(this,p),this._flatRangeList=[],this._headerMetaData=[],this._dataMetaData=[],this._viewMetaData=[],this._rankType=d.rankType||"row",this._rankType==="row"?(this._flattenRangeDimension=function(n){return n.setColumns(0,0)},this._flattenData=function(n,e,t){return n[e](t)(0)}):this._rankType==="column"&&(this._flattenRangeDimension=function(n){return n.setRows(0,0)},this._flattenData=function(n,e,t){return n[e](0)(t)}),this._dataViewMapper=d.dataViewMapper}return C(p,[{key:"setViewHeaders",value:function(n){var e=n.slice(0);this._headerMetaData=e}},{key:"setRangeList",value:function(n){this._flatRangeList=n.map(this._flattenRangeDimension)}},{key:"setViewMetaData",value:function(n,e,t){this._viewMetaData[t]||(this._viewMetaData[t]={version:0,value:{}}),this._viewMetaData[t].value[n]=e,this._viewMetaData[t].version+=1}},{key:"deleteViewMetaData",value:function(n,e){this._viewMetaData[e]&&(delete this._viewMetaData[e].value[n],this._viewMetaData[e].version+=1)}},{key:"setDataMetaData",value:function(n){var e=[];n&&(e=this._transform(n,this._dataViewMapper,this._flattenData)),this._dataMetaData=e}},{key:"getMetaDataRangeList",value:function(){return this._flatRangeList}},{key:"getUnifiedMetaData",value:function(){for(var n=this,e=this._dataMetaData,t=this._headerMetaData,r=[],i=function(u,c){return Object.keys(u).forEach(function(h){c[h]=u[h]}),c},s=function(u){var c=u;r.push(function(h){var v=e[c](h).value;v=Object(v);var f={};f=i(v,f);var g={_dataMetaData:e[c](h),isEqual:function(M){return this._headerMetaData===M._headerMetaData&&this._viewMetaDataVersion===M._viewMetaDataVersion&&this._dataMetaData.isEqual(M._dataMetaData)}};if(t[h]){var m=t[h];f=i(m,f),g._headerMetaData=t}if(n._viewMetaData[h]){var E=n._viewMetaData[h].value,w=n._viewMetaData[h].version;Object.keys(E).forEach(function(I){f[I]=E[I]}),g._viewMetaDataVersion=w}return g.value=f,g})},a=0;a<e.length;a+=1)s(a);return r}},{key:"_transform",value:function(n,e,t){for(var r=e.modelToViewDataMapping(n,n,this._flatRangeList),i=[],s=t.bind(this,r),a=0;a<r.length;a+=1){var o=s.bind(this,a);i.push(o)}return i}}]),p}()},_,P),_.exports=S},88738:(_,P,l)=>{var b,S;b=[l(88363),l(44037),l(8495),l(78629),l(50966)],S=l.dj.d(b,function(C,A,p,d,n){"use strict";class e extends A{constructor(){super(),this.checked=d.FALSE,this.disabled=!1,this.tabIndex=0}static get properties(){return{checked:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0},tabIndex:{type:Number,reflect:!0,attribute:"tab-index"},dataTestId:{type:String,reflect:!0,attribute:"data-test-id"}}}set checked(r){const i=this.checked;r=this._setProperType(r),this._validate(r,"checked"),this._checked=r,this.requestUpdate("checked",i)}get checked(){return typeof this._checked=="boolean"?this._checked:this._checked===d.MIXED?this._checked:this._checked===d.TRUE}set disabled(r){const i=this.disabled;this._validate(r,"disabled"),this._disabled=r,this.requestUpdate("disabled",i)}get disabled(){return this._disabled}set dataTestId(r){this._validate(r,"dataTestId"),r?this.setAttribute("data-test-id",r):this.removeAttribute("data-test-id")}get dataTestId(){return this.getAttribute("data-test-id")}_validate(r,i){switch(i){case"disabled":if(typeof r!="boolean")throw new Error("Value of "+i+" property should be boolean");break;case"checked":if(r!==d.MIXED&&r!==!0&&r!==!1)throw new Error("Value of "+i+" property should be either a boolean or 'mixed'");break;case"dataTestId":if(typeof r!="string"&&r!==null)throw new Error("Value of "+i+" property should be a string or null");break}}_toggleToNewState(r){return r===d.MIXED||r===d.FALSE||r===!1?this._checked=!0:r===d.TRUE||r===!0?this._checked=!1:this._checked=!0,this._checked}_setProperType(r){return r===!1||r===d.FALSE?!1:r===!0||r===d.TRUE?!0:r===d.MIXED?d.MIXED:r}_toggleCheck(r){const i=this.checked,s=this._toggleToNewState(i),a={propertyName:"checked",oldValue:this._setProperType(i),newValue:s};this.emit("change",a,{bubbles:!0}),this.requestUpdate("checked",i)}_handleClick(r){this.disabled||this._toggleCheck(r)}_handleKeyDown(r){switch(r.keyCode){case p.SPACE:case p.ENTER:r.preventDefault(),this._toggleCheck(r);break}}willUpdate(r){r.has("disabled")&&(this.disabled?(this.tabIndex=-1,this._removeEventHandlers(),this.setAttribute("aria-disabled",this.disabled)):(this.tabIndex=0,this._attachEventHandlers(),this.removeAttribute("aria-disabled"))),r.has("checked")&&this.setAttribute("aria-checked",this.checked)}_attachEventHandlers(){this.on("click",this._handleClick),this.on("keydown",this._handleKeyDown)}_removeEventHandlers(){this.removeEventListener("click",this._handleClick),this.removeEventListener("keydown",this._handleKeyDown)}connectedCallback(){super.connectedCallback(),this.checked=this._checked,this.disabled=this._disabled,this.tabIndex=0,this._attachEventHandlers()}firstUpdated(){this.setAttribute("role","checkbox"),this.setAttribute("aria-checked",this.checked)}render(){return n()}disconnectedCallback(){super.disconnectedCallback(),this._removeEventHandlers()}emits(){}}return C({name:"mw-tristate-checkbox",widgetClass:e})},_,P),_.exports=S},8495:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({SPACE:32,ENTER:13})},_,P),_.exports=S},78629:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){"use strict";return Object.freeze({TRUE:"true",FALSE:"false",MIXED:"mixed"})},_,P),_.exports=S},50966:(_,P,l)=>{var b,S;b=[l(23213)],S=l.dj.d(b,function(C){"use strict";return()=>C`
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 14 14" xml:space="preserve">
<g class="mw-tristate-checkbox-background"><rect width="14" height="14"/></g>
<g class="mw-tristate-checkbox-default"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
<g class="mw-tristate-checkbox-hover"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
<g class="mw-tristate-checkbox-focus"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
<g class="mw-tristate-checkbox-indeterminate"><rect x="3" y="3" width="8" height="8"/></g>
<g class="mw-tristate-checkbox-checked"><polygon points="12,4 11,3 5,9 3,7 2,8 5,11"/></g>
</svg>`},_,P),_.exports=S},1797:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return Object.freeze({LIGHT:"light",DARK:"dark"})},_,P),_.exports=S},59138:(_,P,l)=>{var b,S;b=[l(1797)],S=l.dj.d(b,function(C){let A;class p{constructor(){this.themeClass={light:"mw-theme-light",dark:"mw-theme-dark"},this.themeName={"mw-theme-light":C.LIGHT,"mw-theme-dark":C.DARK},window.matchMedia&&(this.windowMediaQuery=window.matchMedia("(prefers-color-scheme: dark)")),this._mediaQueryEventHandler=this._mediaQueryEventHandler.bind(this)}set useSystemMode(e){e?this._setThemeBySystemMode():this._removeSystemMode()}set useSettings(e){e&&(A=e,A.getSetting(["matlab","appearance"],"MATLABTheme").then(t=>{this._settingsValueHandler(t.value)}),A.listenTo(["matlab","appearance"],"MATLABTheme",t=>{this._settingsValueHandler(t.newValue)}))}_settingsValueHandler(e){let t;switch(e){case"System":this.useSystemMode=!0;break;case"Light":this.useSystemMode=!1,t=this.getTheme(),this.setTheme(C.LIGHT),this._emitEvent(t,C.LIGHT);break;case"Dark":this.useSystemMode=!1,t=this.getTheme(),this.setTheme(C.DARK),this._emitEvent(t,C.DARK);break}}_setThemeBySystemMode(){let e=this.getTheme();this.windowMediaQuery.matches?(this.setTheme(C.DARK),this._emitEvent(e,C.DARK)):(this.setTheme(C.LIGHT),this._emitEvent(e,C.LIGHT)),this.windowMediaQuery&&this.windowMediaQuery.addEventListener("change",this._mediaQueryEventHandler)}_removeSystemMode(){this.windowMediaQuery.removeEventListener("change",this._mediaQueryEventHandler)}_mediaQueryEventHandler(e){let t=this.getTheme();e.matches?(this.setTheme(C.DARK),this._emitEvent(t,C.DARK)):(this.setTheme(C.LIGHT),this._emitEvent(t,C.LIGHT))}_emitEvent(e,t){let r={oldTheme:e,newTheme:t},i=new CustomEvent("themechanged",{detail:r});if(document.body.dispatchEvent(i),A){const s=t.charAt(0).toUpperCase()+t.slice(1);A.setSetting(["matlab","appearance"],"CurrentTheme",s)}}setTheme(e,t){if(Object.keys(this.themeClass).includes(e)){let r=t||document.getElementsByTagName("body")[0];if(this._isHTMLElement(r)){for(let i in this.themeClass)r.classList.contains(this.themeClass[i])&&r.classList.remove(this.themeClass[i]);r.style.colorScheme=e,r.classList.add(this.themeClass[e])}}else throw new Error("The requested theme is not supported")}_isHTMLElement(e){return!!(e&&(e instanceof HTMLElement||e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.Element&&e instanceof e.ownerDocument.defaultView.Element))}getTheme(e){let t=e||document.getElementsByTagName("body")[0];return window.getComputedStyle(t).getPropertyValue("--mw-themeName").trim()}}var d=new p;return Object.freeze(d),d},_,P),_.exports=S},92510:(_,P,l)=>{"use strict";var b,S;b=[l(69961),l(69174),l(9511)],S=l.dj.d(b,function(C,A,p){return{generateUuid:function(){const n="xxxxxxxx";return this._uuidFromTemplate(n).toUpperCase()},generateUUIDv4:function(){const n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";return this._uuidFromTemplate(n)},_uuidFromTemplate:function(n){return n.replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})},isImageData:function(n){return!!n&&(A.global.ImageData&&n instanceof A.global.ImageData||Object.prototype.hasOwnProperty.call(n,"width")&&Object.prototype.hasOwnProperty.call(n,"height")&&Object.prototype.hasOwnProperty.call(n,"data"))},isArray:function(n){return p.deprecated({deprecated:{module:"mw-utils/Utils",method:"isArray"},geckNumber:1444368}),Array.isArray(n)},getArrayLength:function(n){let e=0;return C.isArray(n)?(n.forEach(function(t){t&&(e+=1)}),e):!1},isWhitespace:function(n){return/^\s+$/.test(n)},removeSurroundingNewLines:function(n){for(;n.charAt(0)===`
`;)n=n.substring(1);for(;n.charAt(n.length-1)===`
`;)n=n.substring(0,n.length-1);return n},getFirstUniqueElement:function(n,e){let t=null;return e.some(function(r){return n.indexOf(r)===-1?(t=r,!0):!1}),t},unionOfWordSets:function(n,e,t){n=this._stringToArray(n),e=this._stringToArray(e);const r=this.unionOfArrays(n,e);return t?r.join(" "):r},intersectionOfWordSets:function(n,e,t){n=this._stringToArray(n),e=this._stringToArray(e);const r=this.intersectionOfArrays(n,e);return t?r.join(" "):r},differenceOfWordSets:function(n,e,t){n=this._stringToArray(n),e=this._stringToArray(e);const r=this.unique(this.differenceOfArrays(n,e));return t?r.join(" "):r},unionOfArrays:function(n,e){return this.unique(n.concat(e))},intersectionOfArrays:function(n,e){return this.nonunique(n.concat(e))},differenceOfArrays:function(n,e){if(window.Map===void 0)return this._legacyDifferenceOfArrays(n,e);let t,r,i;const s=new Map,a=[];for(i=0;i<e.length;i++)s.set(e[i],null);for(i=0;i<n.length;i++)r=n[i],t=s.has(r),t||a.push(r);return a},_legacyDifferenceOfArrays:function(n,e){return this.unique(n.filter(function(t){return e.indexOf(t)===-1}))},unique:function(n){return n.filter(function(e,t){return n.indexOf(e)===t})},nonunique:function(n){return this.unique(n.filter(function(e,t){return n.indexOf(e)!==t}))},arrayEquals:function(n,e,t){if(n===e)return!0;if(n.length!==e.length)return!1;t||(t=function(i,s){return i===s});for(let r=0,i=n.length;r<i;r++)if(!t(n[r],e[r]))return!1;return!0},removeEmptyElements:function(n){return n.filter(function(e){return!(e===""||e===null||e===void 0)})},_stringToArray:function(n){return this._isString(n)?this.removeEmptyElements(n.split(" ")):n},_isString:function(n){return typeof n=="string"||n instanceof String}}},_,P),_.exports=S},44037:(_,P,l)=>{"use strict";var b,S;b=[l(22144)],S=l.dj.d(b,function(C){"use strict";const A=function(){};class p extends C{createRenderRoot(){return window.ShadowRoot&&this._experimentalUseShadowDom?super.createRenderRoot():this}emit(n,e,t={}){let r=t.bubbles||!1,i=t.cancelable||!1,s=new CustomEvent(n,{detail:e||{},bubbles:r,cancelable:i});this.dispatchEvent(s)}on(n,e,t={}){this.addEventListener(n,e,t);let r=this.removeEventListener.bind(this,n,e,t);return{remove:function(){r(),r=A}}}}return p},_,P),_.exports=S},88363:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){"use strict";return function(A){if(!A.widgetClass)throw new Error("The widgetClass object must have a widget widgetClass property");if(!A.name)throw new Error("The widgetDefinition object must have a name property");if(A.name.length<3||A.name.substring(0,3)!=="mw-")throw new Error("The widgetDefinition object must have a nameproperty starting with 'mw-'");let p=A.widgetClass;if(p._observedAttributes){let d=p._observedAttributes.slice(0);Object.defineProperty(p,"observedAttributes",{enumerable:!1,get:function(){return d}})}return customElements.define(A.name,p),function d(n){if(this instanceof d)throw new Error("Do not use 'w = new Widget()' to create a widget instance. Just use 'w = Widget()'");let e=new p;for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}}},_,P),_.exports=S},22144:(_,P,l)=>{"use strict";var b,S;b=[l(22405)],S=l.dj.d(b,function(C){"use strict";class A extends C.LitElement{}return A},_,P),_.exports=S},35848:(_,P,l)=>{"use strict";var b,S;b=[l(22405)],S=l.dj.d(b,function(C){"use strict";return C.css},_,P),_.exports=S},49786:(_,P,l)=>{"use strict";var b,S;b=[l(22405)],S=l.dj.d(b,function(C){"use strict";return C.html},_,P),_.exports=S},23006:(_,P,l)=>{"use strict";var b,S;b=[l(22405)],S=l.dj.d(b,function(C){"use strict";return(A,p,d={})=>{if(d.scopeName)throw new Error("scopeName should not be set in render options, use WidgetBase for scoped rendering");return C.render(A,p,d)}},_,P),_.exports=S},23213:(_,P,l)=>{"use strict";var b,S;b=[l(22405)],S=l.dj.d(b,function(C){"use strict";return C.svg},_,P),_.exports=S},49822:(_,P,l)=>{"use strict";var b,S;b=[l(33659),l(92087),l(65724),l(37672),l(86560),l(45118),l(70147),l(59690),l(57742),l(57282),l(18841),l(95301),l(152),l(11344)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u){const c=new a({id:"AnnotationDialog",position:["left"]}),h={data:{},setup:f,init:m,render:E,refresh:I,highlighted:null};let v=null;return t.subscribe("updateAnnotation",H),t.subscribe("highlightAnnotation",K),h;function f(z,X){z.annotator=h,v=z,n(X.domNode,n.selector(".anno-cell","mouseover"),x),n(X.domNode,n.selector(".anno-cell","click"),O),X.on("dgrid-refresh-complete",V),X.on("dgrid-select",g)}function g(z){const X=z.grid;R(X.selection),setTimeout(function(){T(X)},1)}function m(z){const X=z.annotation;h.data=F(X,z)}function E(z,X){const Z=v.data.currentFile,Y=h.data[Z];Y&&Y.filter(function(ee,oe){const[se,he]=ee.lines;return se<=z&&z<=he}).map(function(ee){return M(ee,z)}).forEach(function(ee){X.appendChild(ee)})}function w(){const X=v.code.grid.domNode.querySelectorAll(".anno-cell");C.forEach(X,function(Z){Z.remove()})}function I(){w();const X=v.code.grid.domNode.querySelectorAll(".code-row");C.forEach(X,function(Z){const Y=Z.querySelector(".tail"),Q=parseInt(Y.getAttribute("line"));E(Q,Y)})}function M(z,X){const Z=z.col,Y=A.create("div",{class:"anno-cell"});Y.setAttribute("index",z.id);const Q=Z*10+2;return d.set(Y,"right",Q+"px"),z.lines[0]===X&&p.add(Y,"st"),z.lines[1]===X&&p.add(Y,"ed"),z.pending&&p.add(Y,"new"),Y.setAttribute("flag",z.flag),Y.anno=z,Y}function R(z){const X=v.data.currentFile;let Y=Object.keys(z).map(function(q){return parseInt(q)}).reduce(function(q,ee){const oe=q[q.length-1];if(!oe)q.push({file:X,lines:[ee,ee],flag:"normal",pending:!0});else{const se=oe.lines[1];ee-se>1?q.push({file:X,lines:[ee,ee],flag:"normal",pending:!0}):oe.lines[1]=ee}return q},[]);const Q=h.data[X];Y=Y.filter(q=>{const[ee,oe]=q.lines;return Q.every(se=>se.lines[0]!==ee||se.lines[1]!==oe)}),Y.forEach(q=>{const[ee,oe]=q.lines,se=[];for(let fe=ee;fe<=oe;fe++)Q.forEach(le=>{le.lines[0]<=fe&&le.lines[1]>=fe&&(se[le.col]=!0)});let he=0;for(const fe=se.length;he<fe&&se[he];he++);q.id=`${q.lines[0]}-${q.lines[1]}`,q.col=he}),h.pending=Y}function T(z){N(z),h.pending.forEach(function(Z){const Y=Z.lines[0],Q=Z.lines[1];for(let q=Y;q<=Q;q++){const ee=z.row(q).element;if(ee){const oe=ee.querySelector(".tail"),se=M(Z,q);oe.appendChild(se)}}})}function N(z){const X=z.domNode.querySelectorAll(".anno-cell.new");C.forEach(X,function(Z){Z.remove()})}function F(z,X){const Z="init annotation";console.time(Z);let Y;Array.isArray(z)?Y=z:z?Y=[z]:Y=[];const Q=X.files.data,q={};return Q.forEach(function(ee){const oe=ee.name,se=Y.filter(function(he){return he.flag||(he.flag="normal"),he.file===oe});q[oe]=y(se)}),console.timeEnd(Z),q}function y(z){const X=[];return z.map(function(Z){const Y=Z.lines,Q=Y[0],q=Y[1];Z.id=`${Q}-${q}`;const ee=[];for(let se=Q;se<=q;se++){let he=X[se];he||(he=[]),he.forEach(function(fe){ee[fe]=!0}),X[se]=he}let oe=0;for(const se=ee.length;oe<se&&ee[oe];oe++);for(let se=Q;se<=q;se++)X[se].push(oe);return Z.col=oe,Z})}function x(z){const X=z.target;n.once(X,"mouseleave",function(q){const ee=document.querySelectorAll(".anno-cell");C.forEach(ee,function(se){p.remove(se,"hover")});const oe=document.querySelectorAll(".code-row");C.forEach(oe,function(se){p.remove(se,"hover")})});const Z=X.getAttribute("index"),Y=document.querySelectorAll('.anno-cell[index="'+Z+'"]');C.forEach(Y,function(q){p.add(q,"hover")});const Q=X.anno;for(let q=Q.lines[0];q<=Q.lines[1];q++){const ee=document.querySelector('.code-row[line="'+q+'"]');ee&&p.add(ee,"hover")}}function O(z){z.stopPropagation(),z.preventDefault();const Z=z.target.anno,Y=Z.lines,Q=v.code.grid;Q.clearSelection(),Q.select(Y[0],Y[1]),Z.pending?setTimeout(()=>W(Z.id),1):t.publish({action:"Annotation",userData:{anno:Z,action:"select"}})}function L(z){const X=A.create("div",{class:"annotation-editor"}),Z=v.data.currentFile,Y="AddReview";let Q=e.byId(Y);if(Q)Q.placeAt(X),Q.anno={file:Z,lines:z};else{const q=new u({id:"AddReview",text:i.getString("SimulinkCoderApp:report:AddToReview"),icon:"add_24",anno:{file:Z,lines:z}});q.placeAt(X),q.startup(),q.on("click",function(){const{file:ee,lines:oe}=q.anno,se=h.pending.find(le=>le.file===ee&&le.id===oe);se.pending=!1,se.flag="normal",h.data[se.file].push(se);const fe=[].concat.apply([],Object.values(h.data));t.publish({action:"Annotation",userData:{action:"add",last:se,all:fe}}),j(),v.code.indicator.refresh()})}return X}function W(z){const X=document.querySelector('.anno-cell[index="'+z+'"]');p.add(X,"open"),c.set("content",L(z)),o.open({popup:c,around:X,orient:["before-centered"]})}function j(){o.close(c),h.refresh()}function H(z){v.data.annotation=z.map($),h.data=F(v.data.annotation,v.data),v.refresh()}function K(z){const X=$(z);v.data.files.get(X.file)&&(h.highlighted=X.lines,v.show(X.file,X.lines[0]))}function $(z){const X=z.split(":"),Z=X[0],Y=X[1].split("-"),Q=parseInt(Y[0]),q=Y.length>1?parseInt(Y[1]):Q,ee=[Q,q],oe=`${Q}-${q}`;return{file:Z,lines:ee,id:oe,flag:"normal",pending:!1}}function V(z){const X=h.highlighted;X&&setTimeout(()=>{const Z=z.grid;Z.clearSelection(),Z.select(X[0],X[1]),h.highlighted=null},10)}},_,P),_.exports=S},60614:(_,P,l)=>{"use strict";var b,S,C=Object.defineProperty,A=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,t=(s,a,o)=>a in s?C(s,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[a]=o,r=(s,a)=>{for(var o in a||(a={}))n.call(a,o)&&t(s,o,a[o]);if(d)for(var o of d(a))e.call(a,o)&&t(s,o,a[o]);return s},i=(s,a)=>A(s,p(a));b=[l(92087),l(65724),l(37672),l(64211),l(26149),l(42429),l(26204),l(20259),l(34100)],S=l.dj.d(b,function(s,a,o,u,c,h,v,f,g){return{init:y,render:x,refresh:O};function m(L){const W=window.cr,j=s.create("div",{class:"cov-content"});let H=document.getElementById("justificationTable"),K=document.getElementById("justificationTitle");return K&&K.remove(),H&&H.remove(),W.data.features.showJustificationLinks&&L.justifyLink&&L.justifyLink.length>0?(H=document.createElement("TABLE"),H.setAttribute("id","justificationTable"),L.justifyLink.map(($,V)=>{const z=document.createElement("TR");z.setAttribute("id",V),z.setAttribute("class","justification-row"),H.appendChild(z);const X=document.createElement("TD");X.setAttribute("class","justification-cell");const Z=document.createTextNode($[0]);X.appendChild(Z),z.appendChild(X);const Y=document.createElement("TD");Y.setAttribute("class","justification-cell status");let Q="",q="";$[2]?(Q=document.createElement("a"),q=document.createTextNode($[1]),Q.appendChild(q),Q.href=`matlab: ${$[2]}`):Q=document.createTextNode($[1]),Y.appendChild(Q),z.appendChild(Y)}),K=document.createElement("div"),K.appendChild(document.createTextNode(L.tooltip)),K.setAttribute("id","justificationTitle"),j.appendChild(K),j.appendChild(H)):(K=document.createElement("div"),K.appendChild(document.createTextNode(L.tooltip)),K.setAttribute("id","justificationTitle"),j.appendChild(K)),j}function E(L){this.getDomNode=function(W){const j=document.createElement("div");return j.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),j.textContent=W,j},this.getTooltip=function(){return{text:L}},this.showTooltip=function(){return!0}}function w(){this.getDomNode=function(L){const W=document.createElement("div");return W.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),W.textContent=L.data,W},this.getTooltip=function(L){return{text:L.tooltip}},this.showTooltip=function(){return!0}}function I(L,W,j,H){const K=Object.keys(L),$=K.map((Y,Q)=>i(r({label:j[Y],dataIndex:Q,columnId:j[Y],renderer:new w},H[Y]&&{headerRenderer:new E(H[Y])}),{width:{value:100/K.length,unit:"%"}})),V={features:[c.FEATURE.ColumnResize],columnModel:{columnConfig:$}},z=[K.map(Y=>({data:L[Y],tooltip:W[Y]}))],X=h.create(z,Object.assign({},{type:v.TABLE}));return new c(X,V)}function M(L){this.getDomNode=function(W){const j=document.createElement("div");return j.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),j.textContent=W,j},this.getTooltip=function(){return{text:L}},this.showTooltip=function(){return!0}}function R(){this.getDomNode=function(L){const W=document.createElement("div");if(W.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),L.cmd){const j=document.createElement("a");j.href=`matlab:${L.cmd}`,j.text=L.data,W.appendChild(j)}else W.textContent=L.data;return W},this.getTooltip=function(L){return null},this.showTooltip=function(){return!0}}function T(){this.getDomNode=function(L){const W=document.createElement("div");if(L[0].data){const j=document.createElement("a");j.href=`matlab:${L[0].data}`,j.style="margin-right: 10px;";const H=document.createElement("img");H.src="/toolbox/coder/profile/resources/membrane_16.png",j.append(H),W.appendChild(j)}if(L[1].data){const j=document.createElement("a");j.href=`matlab:${L[1].data}`,j.style="margin-right: 10px;";const H=document.createElement("img");H.src="/toolbox/coder/profile/resources/SimulationDataInspector_16.png",j.append(H),W.appendChild(j)}if(L[2].data){const j=document.createElement("a");j.href=`matlab:${L[2].data}`,j.style="margin-right: 10px;";const H=document.createElement("img");H.src="/toolbox/coder/profile/resources/histogram_16.png",j.append(H),W.appendChild(j)}return W}}function N(L){const W=document.createElement("div");W.id="cpalink";const j=document.createElement("a");return j.href=`matlab:${L}`,j.text="View results in Code Profile Analyzer",W.appendChild(j),W}function F(L,W,j,H){const K={features:[c.FEATURE.ColumnResize],columnModel:{columnConfig:[{label:j.Name,dataIndex:0,columnId:"Name",renderer:new R,width:{value:30,unit:"%"}},i(r({label:j.MaxExecution,dataIndex:1,columnId:"MaxExecution",renderer:new R},H.MaxExecution&&{headerRenderer:new M(j.MaxExecution+" : "+H.MaxExecution)}),{width:{value:10,unit:"%"}}),i(r({label:j.AverageExecution,dataIndex:2,columnId:"AverageExecution"},H.AverageExecution&&{headerRenderer:new M(j.AverageExecution+" : "+H.AverageExecution)}),{width:{value:10,unit:"%"}}),i(r({label:j.MaxSelf,dataIndex:3,columnId:"MaxSelf",renderer:new R},H.MaxSelf&&{headerRenderer:new M(j.MaxSelf+" : "+H.MaxSelf)}),{width:{value:10,unit:"%"}}),i(r({label:j.AverageSelf,dataIndex:4,columnId:"AverageSelf"},H.AverageSelf&&{headerRenderer:new M(j.AverageSelf+" : "+H.AverageSelf)}),{width:{value:10,unit:"%"}}),{label:j.Calls,dataIndex:5,columnId:"Calls",width:{value:10,unit:"%"}},{label:"Statistics",dataIndex:6,columnId:"Statistics",renderer:new T,width:{value:20,unit:"%"}}]}},$=L.map((X,Z)=>[{data:X.Name,tooltip:W[Z].Name,cmd:X.NameCmd},{data:X.MaxExecution,tooltip:W[Z].MaxExecution},X.AverageExecution,{data:X.MaxSelf,tooltip:W[Z].MaxSelf},X.AverageSelf,X.Calls,[{data:X.MembCmd,tooltip:W[Z].MembCmd},{data:X.SDICmd,tooltip:W[Z].SDICmd},{data:X.HistCmd,tooltip:W[Z].HistCmd}]]),V=h.create($,Object.assign({},{type:v.TABLE}));return new c(V,K)}function y(L){L.coverage&&L.coverage.forEach(function(W){const j=W.id;W.files.forEach(function(K){const $=K.file;let V=K.probes;Array.isArray(V)||(V=[V],K.probes=V);const z=L.files.get($);if(z){z.cov||(z.cov={}),z.cov[j]=K;const X=z.codeList;V.forEach(function(Z){Z.status1==="T"?Z.level=1:Z.status1==="E"?Z.level=2:Z.status1==="J"?Z.level=3:Z.status2?Z.status2==="J"?Z.level=3:Z.level=4:Z.level=5;const Y=parseInt(Z.line),Q=X[Y-1];Q.cov||(Q.cov={},Q.cov[j]=[],Q.cov[j].level=0);const q=Q.cov[j];Array.isArray(q)?(q.push(Z),q.level<Z.level&&(q.level=Z.level)):(Q.cov[j]=[Z],Q.cov[j].level=Z.level)})}})})}function x(L,W){const j=window.cr;if(!j.config.covOn)return;const H=L.querySelector(".head"),K=s.create("cov");s.place(K,H,"first");const $=W.cov&&W.cov[j.config.covType];!$||$.length===0||(a.add(L,"cov"),K.setAttribute("covLevel",$.level),$.forEach(function(V){const z=V.col;let X="",Z;z>0?(a.add(L,"condition"),Z=L.querySelectorAll("c")[z-1],X=V.str1+V.str2,X=X.replace(/=&gt;/g,""),X=X.replace(/&nbsp;/g,"")):(Z=K,X=V.str1+" "+V.str2),a.add(Z,"cov-loc");const Y=Z.querySelectorAll(".cov-text").length,Q=s.create("div",r({class:"cov-text",innerHTML:X},!j.data.features.coverageTooltip&&{title:V.tooltip}),Z),q=100+Y*60;o.set(Q,"top",q+"%"),Q.setAttribute("covLevel",V.level),j.data.features.coverageTooltip&&(Q.onmouseover=function(ee){if(ee.preventDefault(),ee.stopPropagation(),!document.getElementById("ToolTip")){const he=g({id:"ToolTip",placement:"top"});he.referenceNode=document.createElement("div"),window.popout=he,document.body.appendChild(he)}const oe=document.getElementById("ToolTip"),se=m(V);if(se){if(oe.referenceNode!==Q){const{observer:he}=f.observeElementInDom(oe.referenceNode);oe._referenceObserver=he,oe.referenceNode=Q,oe.open||setTimeout(()=>{oe.show()},500)}oe.content=se}})}))}function O(){const L=window.cr;if(L.config.covOn?a.add(L.domNode,"show-coverage"):a.remove(L.domNode,"show-coverage"),!L.data.coverage)return;const W=L.data.currentFile,j=L.data.files.get(W),H=L.footer.querySelector("#Information");if(H){const K=j.cov&&j.cov[L.config.covType],$=L.data.profiling,V=K&&K.summary,z=K&&K.summaryData;if(K&&(z||V)){let X=document.getElementById("CoverageSummary");if(X)for(;X.firstChild;)X.removeChild(X.firstChild);else X=document.createElement("div"),X.setAttribute("id","CoverageSummary"),H.appendChild(X);if(L.data.features.useMWTable&&z&&Object.keys(z).length>0){const Y=document.createElement("h4");Y.textContent=z.title;const Q=I(z.percentage,z.percentageTooltip,z.columnHeader,z.columnHeaderTooltip);X.appendChild(Y),X.appendChild(Q.domNode),Q.startup()}else X.innerHTML+=V;K.probes.some(function(Y){return!(Y.col>0)})&&a.add(L.domNode,"has-line-coverage")}if($&&$.TaskSummaryData&&$.TaskSummaryTooltips&&$.TaskSummaryColHeaders&&$.TaskSummaryColTooltips&&L.data.features.showTaskSummary){let X=document.getElementById("TaskSummary");if(X)for(;X.firstChild;)X.removeChild(X.firstChild);else X=document.createElement("div"),X.setAttribute("id","TaskSummary"),H.appendChild(X);const Z=document.createElement("h6");Z.textContent="Task Profiling Summary";const Y=JSON.parse($.TaskSummaryData),Q=JSON.parse($.TaskSummaryTooltips),q=JSON.parse($.TaskSummaryColHeaders)[0],ee=JSON.parse($.TaskSummaryColTooltips)[0],oe=JSON.parse($.LinkCodeAnalyser),se=F(Y,Q,q,ee),he=N(oe);X.appendChild(Z),X.appendChild(he),X.appendChild(se.domNode),se.startup()}H.innerHTML&&(o.set(H,"display","block"),a.add(L.domNode,"has-coverage"))}else H.innerHTML="",a.remove(L.domNode,"has-coverage"),o.set(H,"display","none")}},_,P),_.exports=S},11146:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(37672)],S=l.dj.d(b,function(C,A,p){return{init:d,render:n,refresh:e};function d(t){t.profiling&&t.profiling.proInfo.forEach(function(r){r.FileNames.forEach(function(s,a){const o=t.files.get(s);if(o){o.profiling||(o.profiling=[]);const u=r.LineNumbers[a];let c;u[1]-u[0]===2?c=u[0]+1:c=u[0],o.profiling.push(c);const v=o.codeList[c-1];v&&(v.profiling=r,v.TimerTicksPerSecond=t.profiling.TimerTicksPerSecond)}})})}function n(t,r){if(!window.cr.config.cpOn)return;const s=t.querySelector(".head"),a=C.create("cp");C.place(a,s,"first");const o=r.profiling;if(!o)return;const u=r.TimerTicksPerSecond,c=C.create("cp_num",{class:"cp-entry",title:"Average execution time"},a),h=C.create("cp_calls",{class:"cp-entry",title:"Number of calls"},a);A.add(t,"cp");const v=o.TotalExecutionTimeInTicks/o.NumCalls/u,f=v<1||v>99999?v.toExponential(2):v.toFixed(0);c.setAttribute("num",f);const g=o.NumCalls.toString();h.setAttribute("calls",g)}function e(){const t=window.cr;t.config.cpOn?A.add(t.domNode,"show-profiling"):A.remove(t.domNode,"show-profiling");const r=t.data.currentFile;t.data.files.get(r).profiling?A.add(t.domNode,"has-profiling"):A.remove(t.domNode,"has-profiling")}},_,P),_.exports=S},57742:(_,P,l)=>{"use strict";var b,S;b=[l(29907),l(32239),l(73021)],S=l.dj.d(b,function(C,A,p){const d={};return d["RTW:traceInfo"]=C,d["SimulinkCoderApp:report"]=A,d["coderdictionary:mapping"]=p,d.getString=function(n){if(n){const e=n.lastIndexOf(":");if(~e){const t=n.substring(0,e),r=n.substring(e+1),i=this[t];if(i)return i[r]}}},d},_,P),_.exports=S},18059:(_,P,l)=>{"use strict";var b,S;b=[l(33659),l(65724),l(86560),l(72875),l(11278),l(57282),l(41693),l(20165),l(14619),l(70147),l(49822),l(57742),l(64211),l(11344)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u){return function(c,h){const v=h.domNode;u.readonly||(p(v,p.selector(".blk","mouseover"),T),p(v,p.selector(".tk",d.enter),N),p(v,p.selector(".trace-line","click"),w),p(v,p.selector(".trace-line","mouseover"),E),p(v,p.selector(".tk.traceable","click"),I),p(v,p.selector(".blk, .libblk","click"),M),p(v,p.selector(".req","click"),R)),p(v,p.selector(".has-icon, .dots","click"),W),p(v,p.selector(".br","mouseover"),x),p(v,p.selector(".br","click"),L),p(v,p.selector(".line-num, .annotation, cov","mouseover"),f),p(v,p.selector(".code-folding.has-icon","mouseover"),g),p(v,p.selector("c","mouseover"),j),a.setup(c,h),e({connectId:["root"],selector:".annotation",getContent:function(H){return H.getAttribute("annotation-text")}});function f(H){const K=H.target;let $=K;for(;$&&!$.classList.contains("code-row");)$=$.parentElement;$&&(A.add($,"hover"),p.once(K,"mouseleave",function(V){const z=document.querySelectorAll(".code .code-row");C.forEach(z,function(X){A.remove(X,"hover")})}))}function g(H){const K=this,$=K.getAttribute("line"),V=document.querySelectorAll('.indent-space[line="'+$+'"]');C.forEach(V,function(z){A.add(z,"hover")}),p.once(K,"mouseleave",m)}function m(){const H=document.querySelectorAll(".indent-space");C.forEach(H,function(K){A.remove(K,"hover")})}function E(H){const K=H.target,$=parseInt(K.getAttribute("line"));let V=[];u.component==="HDL"?V=i.getHDLLineData(c.data,$):V=i.getLineData(c.data,$),p.once(K,"mouseleave",function(z){F(K,V)}),V.action="hover",s.publish(V)}function w(H){const $=parseInt(this.getAttribute("line"));if(u.component==="HDL"){const V=i.getHDLLineData(c.data,$);V.action="hdl_line2mdl",s.publish(V)}else{const V=i.getLineData(c.data,$);V.action="line2mdl",s.publish(V)}}function I(H){const K=this,$=i.getUnitData(c.data,K);$.action="token2mdl",s.publish($)}function M(H){const K=this,$=i.getUnitData(c.data,K);$.action="blk2mdl",s.publish($)}function R(H){const K=this,$=K.getAttribute("blockpath"),V=c.data.blocks.get($);let z;V?z=V.sid:z=$;const X=K.getAttribute("req_id"),Z={action:"code2req",userData:{sid:z,reqId:X}};s.publish(Z)}function T(H){const K=this,$=K.id,V=i.getUnitData(c.data,K);if(V){p.once(K,"mouseleave",function(X){F(K,V)}),V.action="hover",V.sids.length>0&&s.publish(V);const z=c.data.records.get($);if(z){const X=z.define;X&&document.querySelectorAll('[defid="'+X.id+'"]').forEach(function(Y){A.add(Y,"hover")})}}}function N(H){const K=this,$=K.id;r(c,K);const V=i.getUnitData(c.data,K);if(V){p.once(K,"mouseleave",function(X){X.stopPropagation(),F(K,V)}),V.action="hover",V.sids.length>0&&s.publish(V);const z=c.data.records.get($);if(z){const X=z.define;X&&document.querySelectorAll('[defid="'+X.id+'"]').forEach(function(Y){A.add(Y,"hover")})}}}function F(H,K){K.action="clear",s.publish(K);const $=v.querySelectorAll(".hover");C.forEach($,function(V){A.remove(V,"hover")})}function y(H){const K=H.getAttribute("line"),V=h.store.get(K);let z,X;H.innerText==="{"?(z="}",X=V.to):(z="{",X=V.from);const Z=h.id+"-row-"+X,Y=document.getElementById(Z);if(Y){const Q=Y.querySelectorAll(".br"),q=C.filter(Q,function(ee){return ee.innerText===z})[0];return{line:X,ele:q}}else return{line:X}}function x(H){const K=this;p.once(K,"mouseleave",O);const $=y(K).ele;$&&A.add($,"hover")}function O(H){const $=y(this).ele;$&&A.remove($,"hover")}function L(H){const V=y(this).line;V&&c.show(null,V,!0)}function W(H){const $=parseInt(this.getAttribute("line")),V=h.store,z=V.get($);z.expand=!z.expand,i.updateData(V.data),h.refresh()}function j(H){const K=this,$=K.getAttribute("col"),V=K.getAttribute("ln"),z=document.getElementById("LnCol"),X=o.getString("SimulinkCoderApp:report:Ln"),Z=o.getString("SimulinkCoderApp:report:Col");z.innerHTML='<span class="label">'+X+'</span><span class="number">'+V+'</span><span class="label">'+Z+'</span><span class="number">'+$+"</span>"}}},_,P),_.exports=S},94745:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(33659),l(92087),l(65724),l(37672),l(86560),l(11278),l(76873),l(48309),l(14678),l(83097),l(44739),l(14134),l(18059),l(14619),l(49822),l(60614),l(11146),l(64211)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g,m){return function(E){let w=0,I=0,M=null;const R=E.config,T=p.create("div",{class:"code",onclick:function(){i.publish("expandConfig",!1)}}),N=C([s,a]),F=new N({id:"CodeGrid",class:"code-grid",store:new o,query:Z,keepScrollPosition:!0,renderRow:W,allowTextSelection:!0,deselectOnRefresh:!0});p.place(F.domNode,T),c(E,F),F.startup();const y={domNode:T,grid:F,scrollToLine:X,refresh:O},x=u(E);return y.indicator=x,p.place(x.domNode,T),y;function O(){const Y=E.data;y.file!==Y.currentFile?L(Y.currentFile):F.refresh(),x.refresh()}function L(Y){if(!Y)return;const q=E.data.files.get(Y);I=q.codeList.length.toString().length+1,w=q.maxCols+1,M=q.lang,F.store.setData(q.codeList),F.refresh(),F.resize(),F.domNode.setAttribute("filetype",q.ext),y.file=q.name}function W(Y){const Q=p.create("div",{class:"code-row"});Q.setAttribute("line",Y.id);const q=j(Y),ee=H(Y),oe=K(Y);return Q.appendChild(q),Q.appendChild(ee),Q.appendChild(oe),E.highlightor.addStyle(ee),f.render(Q,Y),g.render(Q,Y),Q}function j(Y){const Q=p.create("div",{class:"head"});Q.setAttribute("line",Y.id);const q=$(Y),ee=V(Y);return Q.appendChild(q),Q.appendChild(ee),Q}function H(Y){const Q=p.create("div",{class:"main"});return Q.setAttribute("line",Y.id),z(Y,Q),Q}function K(Y){const Q=p.create("div",{class:"tail"}),q=Y.id;return Q.setAttribute("line",q),v.render(q,Q),Q}function $(Y){const Q=p.create("div",{class:"line-num"});return Q.setAttribute("line",Y.id),Y.isTraceable&&d.add(Q,"trace-line"),Y.hasDataCopyInfo&&d.add(Q,"data-copy"),n.set(Q,"width",I+"ch"),Q}function V(Y){const Q=p.create("div",{class:"code-folding"});if(Q.setAttribute("line",Y.id),Y.to&&Y.to-Y.id>1){d.add(Q,"has-icon");const q=p.create("div",{class:"icon"},Q);Y.expand?(d.remove(q,"plus"),d.add(q,"minus")):(d.remove(q,"minus"),d.add(q,"plus"))}return Q}function z(Y,Q){const q=Y.id;Q.setAttribute("line",q),R.showComments===!1&&d.add(Q,"hide-comments"),n.set(Q,"min-width",w+"ch");const ee=p.create("div",{class:"indent"});p.place(ee,Q,"first"),Y.up&&Y.up.forEach(function(ie,re){const ce=p.create("div",{class:"indent-space",line:ie},ee),ve=Y.spaces[re];n.set(ce,"left",ve+"ch")});const oe=M.createNodes(Y.tokens),se=p.create("div",{class:"code-text"},Q);oe.forEach(ie=>se.appendChild(ie));const he=se.querySelectorAll("c");for(let ie=0,re=he.length;ie<re;ie++){const ce=he[ie];ce.setAttribute("col",ie+1),ce.setAttribute("ln",q)}const fe=E.data;A.forEach(oe,function(ie){const re=ie.innerText;if(ie.setAttribute("token",re),!m.readonly){const ce=ie.id,ve=fe.records.get(ce);ve&&ve.traceable&&d.add(ie,"traceable")}});const le=Q.querySelectorAll(".br");A.forEach(le,function(ie){ie.setAttribute("line",q)}),Y.to&&Y.to!==Y.id&&!Y.expand&&p.create("div",{class:"dots",innerHTML:"..."},Q).setAttribute("line",Y.id)}function X(Y){const Q=F.rowHeight,q=F.store.data;let ee=Math.max(1,Y);ee=Math.min(ee,q.length)-1;let oe=0;for(let ce=0;ce<ee;ce++){const ve=q[ce];Z(ve)&&oe++}const se=oe*Q,he=F.getScrollPosition().y,fe=se-he,le=F.domNode,ie=5*Q,re=le.getBoundingClientRect().height-ie;if(fe<ie||fe>re){const ce=Math.min(ie,re/2);F.scrollTo({y:se-ce})}}function Z(Y){return Y.show&&(Y.isCodeLine||R.showComments)}}},_,P),_.exports=S},26417:(_,P,l)=>{"use strict";var b,S;b=[l(93158),l(92087),l(65724),l(72904),l(48309),l(94745),l(75017),l(96140),l(59690),l(14619),l(70147),l(88611),l(64211),l(60614),l(11146),l(91740),l(61986),l(34100)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h,v,f,g){return function(m){u.model=m.model;const E=g({id:"ToolTip",placement:"top"});window.popout=E,E.referenceNode=document.createElement("div"),E.trigger="hover",document.getElementById("ToolTip")||document.body.appendChild(E);let w=!0,I=!0,M=!0;m.hasOwnProperty("tokenLevelTrace")&&(w=m.tokenLevelTrace),m.hasOwnProperty("lineLevelTrace")&&(I=m.lineLevelTrace),m.hasOwnProperty("loadFromMATLAB")&&(M=m.loadFromMATLAB);const R={placeAt:L,show:x,showLocation:O,refresh:W,jumpToDef:y,history:v,back:j,forward:H,gotoState:K,parser:f,traceConfig:{tokenLevelTrace:w,lineLevelTrace:I}},T=A.create("div",{class:"code-report"});u.model||p.add(T,"standalone"),R.domNode=T,R.config=i(R),R.nav=t(R),R.code=e(R),R.highlightor=r(R),R.footer=A.create("div",{id:"footer"}),A.create("div",{id:"Information"},R.footer);const N=A.create("div",{id:"FileBanner"},R.footer);A.create("div",{id:"FilePath",onclick:function(){const $=this.innerText;$&&a.publish({action:"openFile",fileName:$})}},N),A.create("div",{id:"LnCol"},N),R._config=u,T.appendChild(R.nav.domNode),T.appendChild(R.code.domNode),T.appendChild(R.footer),A.create("div",{id:"ErrorPage"},T);const F=new C;return F.set("target",document.body),F.show(),R.busy=F,o(R),M&&s.start(),R.utils=s,R.config.showAnnotation&&p.add(R.domNode,"show-annotation"),u.readonly&&p.add(R.domNode,"readonly"),window.cr=R,R;function y($){const z=R.data.define.get($);if(z!==void 0){const X=z.file,Z=z.line;R.show(X,Z,!0)}}function x($,V,z){const X=R.history,Z=X.getState(),Y=R.data,Q=Y.currentFile,q=Y.files;let ee;typeof $=="number"?ee=q.data[$]:$&&(ee=q.get($));let oe;if(ee?(oe=ee.name,Y.currentFile=oe):(oe=Y.currentFile,ee=q.get(oe)),!ee){R.nav.refresh();return}if(V===void 0){const he=R.highlightor;if(he.inHighlight){const fe=he.getCurrent();fe&&fe.file===oe&&(V=fe.line)}}V=V||0;const se=oe+"["+V+"]";if(console.time(se),V&&s.expandToLine(ee.codeList,V),R.refresh(),R.code.scrollToLine(V),z&&R.code.grid.select(V),Z){const he=X.getState();Z.file===he.file&&Z.scroll.y===he.scroll.y||(X.pushState(Z),R.nav.refresh())}n.publish(u.channel,{file:ee.name,line:V}),Y.currentFile!==Q&&a.publish({action:"FileChange",file:ee.name}),console.timeEnd(se)}function O($,V){const z=R.data,X=z.files;let Z;typeof $=="number"?Z=X.data[$]:$&&(Z=X.get($));let Y;Z?(Y=Z.name,z.currentFile=Y):(Y=z.currentFile,Z=X.get(Y)),R.refresh(),V&&R.code.grid.scrollTo(V),a.publish({action:"FileChange",file:Z.name})}function L($){A.place(T,$,"only")}function W(){if(E&&E.open&&E.close(),R.config.refresh(),c.refresh(),h.refresh(),R.nav.refresh(),R.code.refresh(),u.snc){const $=R.footer.querySelector("#FilePath"),V=R.data.currentFile,z=R.data.files.get(V);if(z){const X=R.data.arch.ispc?"\\":"/",Z=z.path+X+z.name;$.innerText=Z,R.data.arch.isunix?p.add($,"unix"):p.remove($,"unix")}}}function j(){const V=this.history.back();V&&this.gotoState(V)}function H(){const V=this.history.forward();V&&this.gotoState(V)}function K($){const V=$.file,z=$.scroll,X=$.selection;this.data.currentFile=V,this.refresh();const Z=this.code.grid;Z.scrollTo(z),X.forEach(function(Y){Z.select(Y)})}}},_,P),_.exports=S},96140:(_,P,l)=>{"use strict";var b,S;b=[l(44739),l(86560),l(92087),l(65724),l(37672),l(33659),l(14619),l(57742),l(64211)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){return function(s){const a=new C,o=new C;let u=null;const c={bySids:T,byModel:R,byToken:F,byString:y,byDiff:x,byExternalInput:O,byRecord:N,byMLFB:L,clear:h,updateCurrent:g,getCurrent:v,setCurrent:f,getResults:E,getIndex:w,next:I,pre:M,addStyle:H,reg:null,input:null,inHighlight:!1,mode:""};return c;function h(){a.setData([]),u=null,c.inHighlight=!1,c.mode="",c.input=null,c.reg=null;const K=s.data;K&&K.files.data.forEach(function($){$.codeList.forEach(function(z){z.hlcache=[]});let V=$.codeList.firstTk;for(;V;)V.hl_hint=0,V=V.next})}function v(){return c.inHighlight?u:null}function f(K){u=K}function g(){if(c.inHighlight){if(s.config.showComments)u||(u=a.data[0]);else if(o.data.length>0){let V=a.index[u.id];const z=a.data,X=z.length;for(;!u.isCode;)V++,V>=X&&(V=0),u=z[V]}}}function m(){return s.config.showComments?a:o}function E(){return m().data}function w(){return u?m().index[u.id]:-1}function I(){const K=m(),$=K.data,V=$.length;let z=K.index[u.id];z++,z>=V&&(z=0),u=$[z]}function M(){const K=m(),$=K.data,V=$.length;let z=K.index[u.id];z--,z<0&&(z=V-1),u=$[z]}function R(K){const V="search model: "+K.text;console.time(V),h();const z=K.sid,X=s.data;let Z=[];i.component&&i.component==="HDL"&&s.data.traceStyle==="Line Level"?Z=X.queryLinesBySid(z):Z=X.queryBySid(z);const Y={},Q=Z.filter(function(q){const ee=q.file+":"+q.line;if(!Y.hasOwnProperty(ee))return Y[ee]=!0,!0}).map(function(q){const ee=q.file,oe=q.line;return{id:ee+":"+oe,file:ee,line:oe}});Z.forEach(function(q){q.hl_hint=1}),W(Q),c.inHighlight=!0,c.input=K,c.mode="model",console.timeEnd(V)}function T(K){const $="model to code";console.time($),h();const V=s.data,z=V.types,X=K.map(function(q){return z.queryBySid(q)}).filter(function(q){return q});if(X.length===0){console.timeEnd($);return}const Z=V.queryBySid(K),Y={},Q=Z.filter(function(q){const ee=q.file+":"+q.line;if(!Y.hasOwnProperty(ee))return Y[ee]=!0,!0}).map(function(q){const ee=q.file,oe=q.line;return{id:ee+":"+oe,file:ee,line:oe}});Z.forEach(function(q){K.some(oe=>q.sid.has(oe))?q.hl_hint=1:q.hl_hint=2}),W(Q),c.inHighlight=!0,c.input=X.length>1?X:X[0],c.mode="model",console.timeEnd($)}function N(K){const $="record to code";console.time($),h();const z=K.tokens.map(Y=>{const Q=s.data.files.get(Y.file);if(Q){const q=Q.codeList[Y.line-1];if(q)return q.tokens.find(oe=>oe.col===Y.col)}}).filter(Y=>Y),X={},Z=z.filter(function(Y){const Q=Y.file+":"+Y.line;if(!X.hasOwnProperty(Q))return X[Q]=!0,!0}).map(function(Y){const Q=Y.file,q=Y.line;return{id:Q+":"+q,file:Q,line:q}});z.forEach(function(Y){Y.hl_hint=1}),W(Z),c.inHighlight=!0,c.input=K.sid,c.mode="model",console.timeEnd($)}function F(K){const $=K.token,z="search token: "+$.token;console.time(z),h();const X=$.usage;W(X),u=$,c.inHighlight=!0,c.mode="token",c.input=K,console.timeEnd(z)}function y(K){const $="search string: "+K;console.time($),h();const V=K.trim(),z=new RegExp(V,"gi");c.reg=z;const X=[];s.data.files.data.forEach(function(Y){const Q=Y.name;Y.codeList.forEach(function(q){const ee=q.id,oe=q.rawCode,se=q.cutoff;let he;do if(he=z.exec(oe),he){const fe=he.index,le=z.lastIndex;if(fe>=le)return;const ie=Q+":"+ee+"c"+fe;X.push({id:ie,file:Q,line:ee,loc:[fe,le],isCode:fe<se})}while(he)})}),W(X,"string"),c.inHighlight=!0,c.mode="string",c.input=V,console.timeEnd($)}function x(K){console.time("diff"),h();const $=s.data,V=[];$.files.data.forEach(function(z){const X=z.name,Z=K.files.get(X);if(Z){const Y=z.codeList,Q=Z.codeList;Y.forEach(function(q){const ee=q.rawCode.trim();if(ee&&!Q.some(function(se){return ee===se.rawCode.trim()})){const se=q.id;V.push({id:X+":"+se,file:X,line:se})}})}}),W(V),c.inHighlight=!0,c.mode="diff",c.input="Code update",console.timeEnd("diff")}function O(K){h();const $=K.title;let V=K.data;V=Array.isArray(V)?V:[V],V.forEach(function(z){z.id=z.file+":"+z.line,z.loc&&(z.id=z.id+"c"+z.loc[0])}),W(V,"external"),c.inHighlight=!0,c.mode="external",c.input=$}function L(K){const $=K.sid,V=K.data.index,X=[...s.data.records.values()].filter(q=>{const ee=q.sid;if(!ee||ee.size===0)return!1;for(const oe of ee){const se=oe.lastIndexOf(":");if(oe.slice(0,se)===$){const fe=oe.slice(se+1),[le,ie]=fe.split("-").map(re=>parseInt(re));if(le<=V&&V<=ie)return!0}}return!1});let Z=K.blockPath;K.type!=="EMChart"&&(Z+="/"+K.blockName);const Y=K.data.pos;Z+=` Ln:${Y.line}, Col:${Y.column}`;const Q={sid:Z,tokens:X};this.byRecord(Q)}function W(K,$){$==="external"&&(K=K.filter(function(se){const fe=s.data.files.get(se.file),le=fe.codeList[se.line-1];return fe.codeList.length>se.line&&!!le&&!!le.rawCode})),$!=="string"&&K.forEach(function(se){se.isCode=j(se.file,se.line)});const V=K.filter(function(se){return se.isCode});a.setData(K),o.setData(V);const X=s.config.showComments?K:V;u=X[0];const Z=s.data.currentFile,Y=X.filter(function(se){return se.file===Z}),Q=s.code.grid,q=Q.getScrollPosition().y,ee=Math.ceil(q/Q.rowHeight);Y.some(function(se){if(u=se,u.line>ee)return!0});const oe=s.data.files;K.forEach(function(se){const he=se.file,fe=se.line,le=oe.get(he);if(le){const ie=le.codeList[fe-1];ie&&(ie.hlcache?ie.hlcache.push(se):ie.hlcache=[se])}}),oe.data.forEach(function(se){const he=se.name,fe=K.filter(function(ie){return ie.file===he}),le=V.filter(function(ie){return ie.file===he});se.hlcount={full:fe.length,filter:le.length}})}function j(K,$){return s.data.files.get(K).codeList[$-1].isCodeLine}function H(K){const $=c;if(!$.inHighlight)return;const V=s.data.files,z=$.mode,X=s.data.currentFile,Z=parseInt(K.getAttribute("line")),Q=V.get(X).codeList[Z-1].hlcache;if(z==="model"||z==="diff")Q.length>0&&(d.add(K,"hl"),$.getCurrent()===Q[0]&&d.add(K,"current"),K.querySelectorAll(".tk").forEach(function(ee){const oe=ee.id,se=s.data.records.get(oe);se&&se.hl_hint&&(d.add(ee,"hl-hint"),ee.setAttribute("hl-level",se.hl_hint))}));else if(z==="token"){const q=K.querySelectorAll(".tk");e.forEach(q,function(ee){const oe=ee.id,se=a.get(oe);se&&(d.add(ee,"hl"),$.getCurrent()===se&&d.add(ee,"current"))})}else if(z==="string"||z==="external"){const q=Q;if(q.length===0)return;const ee=$.getCurrent(),se=K.querySelector(".code-text").querySelectorAll("c");q.forEach(function(he){if(he.loc){const fe=he.loc[0],le=he.loc[1];for(let ie=fe;ie<le;ie++){const re=se[ie];d.add(re,"hl"),he===ee&&d.add(re,"current")}}else d.add(K,"hl"),he===ee&&d.add(K,"current")})}}}},_,P),_.exports=S},91740:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){return{get:p,forward:i,back:r,init:A,getState:n,pushState:e,push:t,save:s,load:a,print:d};function A(){const o=window.cr;let u=this.get();if(u){const c=u.stack,h=u.id,v=c[h],f=o.data.files;u.stack=c.filter(function(m){return f.get(m.file)});const g=u.stack.indexOf(v);g===-1?u.id=u.stack.length:u.id=g}else{u={id:0,stack:[]};const c=o._config.model;this[c]=u}}function p(){const u=window.cr._config.model;return this[u]}function d(){const o=this.get(),c=o.stack.map(function(h,v){let f=h.file+":"+h.scroll.y;return v===o.id&&(f="*"+f),f});console.log(c.join(", "))}function n(){const u=window.cr.code,c=u.file;if(c){const h=u.grid;return{file:c,scroll:h.getScrollPosition(),selection:Object.keys(h.selection)}}}function e(o){const u=this.get();let c=u.id;const h=u.stack;h[c]=o;const v=h[c-1];v&&v.file===o.file&&v.scroll.y===o.scroll.y?(v.scroll=o.scroll,v.selection=o.selection):++c,u.id=c,h.length=c+1}function t(){const o=this.getState();o&&this.pushState(o)}function r(){const o=this.get(),u=o.id;if(u<=0)return;const c=o.stack;return c[u]=n(),o.id=u-1,c[o.id]}function i(){const o=this.get(),u=o.id,c=o.stack;if(!(u>=c.length-1))return c[u]=n(),o.id=u+1,c[o.id]}function s(){const o=this.get();if(o){const u=this.getState();u&&(o.stack[o.id]=u)}}function a(){const o=this.get();return o.stack[o.id]}},_,P),_.exports=S},14134:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(37672),l(1723),l(86560),l(11278),l(57742)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return function(r){const s=C.create("div",{class:"indicator"});return n(s,n.selector(".bar","click"),m),{domNode:s,refresh:o,clear:v};function o(){const E=r.data,w=E.currentFile;if(!w)return;const I=E.files.get(w),M=I.codeList.length,R=r.highlightor;v(),R.inHighlight&&f(I.codeList),u(M,I),c(M,I),h(M,r.annotator.data[w])}function u(E,w){if(!r.config.covOn)return;const I=r.config.covType,M=w.cov,R=M&&M[I];if(!R)return;const T={};R.probes.forEach(function(N){const F=N.line;T[F]=!0}),Object.keys(T).forEach(function(N){const F=parseInt(N),x=w.codeList[F-1].cov[I].level,O=C.create("div",{class:"cov"},s);O.setAttribute("covLevel",x);const L=(F-.9)*100/E+"%",W=(E-F+.1)*100/E+"%";p.set(O,"top",L),p.set(O,"bottom",W)})}function c(E,w){if(!r.config.cpOn)return;const I=w.profiling;I&&I.forEach(function(M){const R=C.create("div",{class:"cp"},s),T=(M-.9)*100/E+"%",N=(E-M+.1)*100/E+"%";p.set(R,"top",T),p.set(R,"bottom",N)})}function h(E,w){w.forEach(function(I){const M=C.create("div",{class:"anno"},s);M.setAttribute("flag",I.flag);const R=I.lines,T=R[0],N=R[1],F=(T-.9)*100/E+"%",y=(E-N+.1)*100/E+"%";p.set(M,"top",F),p.set(M,"bottom",y)})}function v(){s.innerHTML=""}function f(E){const w=E.length,I=E.filter(function(x){return x.hlcache.length>0}).map(function(x){return x.id});if(I.length===0)return;const M={},R=I.map(function(x){return g(x,w)}).filter(function(x){const O=x.scaled;return M.hasOwnProperty(O)?!1:(M[O]=!0,!0)}),T=r.highlightor.getCurrent(),N=T.file===r.data.currentFile?g(T.line,w):null,F=R.map(function(x){const O=C.create("div",{class:"bar"}),L=x.orig;O.setAttribute("line",L);const W=d.substitute(t.getString("SimulinkCoderApp:report:GoToLine"),[L]);O.setAttribute("title",W);const j=x.scaled*100/1e3;return j<50?p.set(O,"top",j+"%"):p.set(O,"bottom",100-j+"%"),N&&x.scaled===N.scaled&&A.add(O,"current"),O}),y=C.create("div");F.forEach(function(x){y.appendChild(x)}),s.innerHTML=y.innerHTML}function g(E,w){return{orig:E,scaled:Math.floor((E-1)*1e3/w)}}function m(E){const w=E.target,I=parseInt(w.getAttribute("line")),M=r.highlightor,R=M.getResults(),T=r.data.currentFile;R.some(function(N,F){if(N.file===T&&N.line===I)return M.setCurrent(N),!0}),r.show()}}},_,P),_.exports=S},41693:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(37672),l(1723),l(14619),l(57742),l(70147)],S=l.dj.d(b,function(C,A,p,d,n,e,t){const r={fcn:e.getString("SimulinkCoderApp:report:Type_Function"),var:e.getString("SimulinkCoderApp:report:Type_Variable"),type:e.getString("SimulinkCoderApp:report:Type_Type"),cls:e.getString("SimulinkCoderApp:report:Type_Class")};return function(h,v){let f=v.querySelector(".info"),g;if(f)g=f.querySelector(".content");else{f=C.create("div",{class:"info",onclick:function(T){T.stopPropagation()}},v);const R=C.create("div",{class:"smart"},f);g=C.create("div",{class:"content"},R),i(f,g,v,h.data)}const m=v.getBoundingClientRect();let E=m.left,w=m.width;m.width<10&&(E-=5,w+=10);const I=window.innerHeight-m.top,M=m.bottom;M<100?(p.set(f,"top",M+"px"),p.set(f,"bottom","")):(p.set(f,"top",""),p.set(f,"bottom",I+"px")),p.set(f,"left",E+"px"),p.set(f,"width",w+"px"),p.set(g,"max-width",window.innerWidth-E+"px"),h.config.cmOn?A.add(f,"show-code-metrics"):A.remove(f,"show-code-metrics"),h.config.cpOn?A.add(f,"show-code-profiling"):A.remove(f,"show-code-profiling")};function i(h,v,f,g){const m=s(f,g);let E=null,w=null;window.cr.traceConfig.tokenLevelTrace&&(E=a(f,g),w=o(f,g));const I=u(f,g),M=c(f,g),R=[m,E,w,I,M].filter(function(T){return T});R.length===0?A.add(h,"empty"):R.forEach(function(T){C.place(T,v)})}function s(h,v){const f=h.id,g=v.records.get(f);if(!g)return;const m=g.define;if(!m)return;const E=C.create("div",{class:"section definition"});C.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:Definition")},E);const w=C.create("div",{class:"title"},E),I=window.cr,M=r[m.def],R=m.file,T=m.line,N=I.data.files.get(R),F=N.codeList[T-1];if(w.innerHTML='<span class="type">'+M+"</span> "+e.getString("SimulinkCoderApp:report:DefinedIn")+' <span class="file">'+R+"</span>",m!==g){const y=C.create("div",{class:"body code-ref"},E);C.create("span",{class:"line",innerHTML:T},y),N.lang.createNodes(F.tokens).forEach(O=>y.appendChild(O)),C.create("div",{class:"overlay",onclick:function(O){O.stopPropagation(),I.show(R,T,!0)}},y)}return E}function a(h,v){const f=v.records.get(h.id);if(!f)return;const g=f.sid;if(!g||g.size===0)return;const m=[...g].map(function(I){return v.blocks.queryBySid(I)}).filter(function(I){return I});if(m.length===0)return;const E=C.create("div",{class:"section model-elements"});C.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:ModelElements")},E);const w=C.create("div",{class:"body"},E);return m.forEach(function(I){const M=n.createUnit({type:"blk",text:I.blk});M.setAttribute("sid",I.sid),M.onclick=function(R){R.stopPropagation();const N=R.target.getAttribute("sid");t.publish({action:"blk2mdl",sids:[N]})},C.place(M,w)}),E}function o(h,v){const f=h.id,g=v.records.get(f);if(!g)return;const m=g.customTrace;if(!m||m.size===0)return;const E=m.get("StorageClass"),w=m.get("ModelElemCategory");if(!E||!w)return;const I=C.create("div",{class:"section customization"});C.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:Customization")},I);const M=m.get("StorageClassSource")||"ModelDefault",R=e.getString("SimulinkCoderApp:report:"+M);let T;M==="Individual"?T=m.get("ModelDataSource"):T=e.getString("coderdictionary:mapping:"+w)||w,C.create("div",{class:"title",textContent:R},I);const N=C.create("div",{class:"body storage-class",category:w},I);return C.create("span",{class:"category-name",textContent:T+": "},N),C.create("span",{class:"storage-class-name",textContent:E},N),N.onclick=function(F){F.stopPropagation(),t.publish({action:"code2mapping",id:f,userData:m})},I}function u(h,v){const f=v.cm;if(!f)return;const g=h.getAttribute("token"),m=v.define.get(g);if(!m||m.type!=="fcn"&&m.type!=="var")return;const E=C.create("div",{class:"section code-metrics"});C.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:CodeMetrics")},E);const w=C.create("div",{class:"body"},E);if(m.type==="fcn"){const M=v.currentFile+":"+g,R=f.fcn;let T=R.get(M);if(T||(T=R.get(g)),T){const N='<span class="cm-num">'+T.Stack+"</span>",F=e.getString("SimulinkCoderApp:report:CodeMetrics_Stack"),y=d.substitute(F,[N]);let x;if(T.StackTotal===-1)x=e.getString("SimulinkCoderApp:report:CodeMetrics_TotalStackRecursion");else{const O='<span class="cm-num">'+T.StackTotal+"</span>",L=e.getString("SimulinkCoderApp:report:CodeMetrics_TotalStack");x=d.substitute(L,[O])}return w.innerHTML=y+", "+x,E}}else if(m.type==="var"){const M=f.var.get(g);if(M){const R='<span class="cm-num">'+M.Size+"</span>",T=e.getString("SimulinkCoderApp:report:CodeMetrics_Size");return w.innerHTML=d.substitute(T,[R]),E}}}function c(h,v){if(!v.profiling)return;const g=v.profiling.proInfo,m=h.getAttribute("token"),E=g.find(function(re){return re.CodeSectionName===m});if(!E||E.FileNames[0]!==v.currentFile)return;const w=v.profiling.UnitOfTime,I=v.profiling.TimerTicksPerSecond,M=h.getElementsByTagName("c"),R=parseInt(M[0].getAttribute("ln")),T=E.LineNumbers[0],N=T.length,F=T[0],y=T[N-1];if(!(R>=F&&R<=y))return;const O=C.create("div",{class:"section code-profiling"});C.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:CodeProfiling")},O);const L=C.create("div",{class:"body"},O),W=E.MaximumExecutionTimeInTicks/I,j=W<1||W>99999?W.toExponential(2):W,H='<table class="cp-table"><tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:MaximumExecutionTime")+"</td>",K='<td class="cp-td"><span class="cp-num">'+j+"</span></td></tr>",$=E.TotalExecutionTimeInTicks/E.NumCalls/I,V=$<1||$>99999?$.toExponential(2):$.toFixed(0),z='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:AverageExecutionTime")+"</td>",X='<td class="cp-td"><span class="cp-num">'+V+"</span></td></tr>",Z=E.MaximumSelfTimeInTicks/I,Y=Z<1||Z>99999?Z.toExponential(2):Z,Q='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:MaximumSelfTime")+"</td>",q=' <td class="cp-td"><span class="cp-num">'+Y+"</span></td></tr>",ee=E.TotalSelfTimeInTicks/E.NumCalls/I,oe=ee<1||ee>99999?ee.toExponential(2):ee.toFixed(0),se='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:AverageSelfTime")+"</td>",he='<td class="cp-td"><span class="cp-num">'+oe+"</span></td></tr>",fe='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:NumberOfCalls")+"</td>",le='<td class="cp-td"><span class="cp-num">'+E.NumCalls+"</span></td></tr></table>",ie=e.getString("SimulinkCoderApp:report:UnitOfTime");return L.innerHTML=H+K+z+X+Q+q+se+he+fe+le+ie+" "+w,O}},_,P),_.exports=S},62684:(_,P,l)=>{"use strict";var b,S;b=[l(44739),l(49822),l(60614),l(11146),l(84113),l(61986),l(26778),l(14619),l(64211)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){const s=r.mvm.getFeatures();let a;return s.getFeature("EnhancedDatacopyReporter").then(o=>{a=o}),function(o){console.time("init");const u=window.cr&&!window.cr.traceConfig.lineLevelTrace||i.readonly?null:o.trace?JSON.parse(o.trace):null;let c=i.readonly?[]:o.blocks||[];c=Array.isArray(c)?c:[c],i.component&&i.component==="HDL"||(c=c.map(V=>({blk:V.RTWName,sid:V.SIDString}))),c.forEach(function(V){if(V.blk.length){let z=V.blk.replace(/\n/gm," ");const X=V.sid.search(/#.+:[0-9]+$/);X>0&&(z+="@"+V.sid.substr(X+1)+"^"),V.blk=z}});const h=new C({data:c,idProperty:"blk"}),v=new Map(c.map(V=>[V.sid,V]));h.queryBySid=function(V){const z=this.query({sid:V})[0];if(z)return z;const X=V.split("#"),Z=X[0];if(Z!==V){const Y=this.query({sid:Z})[0];if(Y){const Q=Object.create(Y);return Q.blk=Y.blk+"@"+X[1]+"^",Q.sid=V,Q}}};const f=o.files.map(x).filter(V=>V),g=e.analyze(f),m=new C({data:f,idProperty:"name"});u&&O(m,u);const E=new C({data:j(g,h)});E.queryBySid=function(V){const z=this.query({sid:V,type:"blk"})[0];if(z)return z;const X=V.split("#"),Z=X[0];if(Z!==V){const Y=this.query({sid:Z,type:"blk"})[0];if(Y){const Q=Object.create(Y);return Q.text=Y.text+"@"+X[1]+"^",Q.sid=V,Q}}};const w=W(m.data);i.readonly||(i.component&&i.component==="HDL"?K(m,h):H(m));const I=$(o.cm);let M;Array.isArray(o.anno)?M=o.anno:o.anno?M=[o.anno]:M=[];const R=o.coverage,T=o.pInfo,N=f.filter(V=>V.group==="model");let F=null;f.length>0&&(F=N.length>0?N[0].name:f[0].name);const y={files:m,records:w,types:E,currentFile:F,define:g,blocks:h,sid2rtwname:v,trace:u,traceStyle:o.traceStyle,cm:I,annotation:M,coverage:R,profiling:T,build:o.build,ref:o.ref,arch:o.arch||{},review:o.review,features:o.features};return y.queryBySid=function(V){const z=Array.isArray(V)?V:[V],X=[];for(const Z of this.records.values())(Z.sid?[...Z.sid]:[]).some(Q=>z.some(q=>q===Q||q.startsWith(Q+"#")||Q.startsWith(q+"#")))&&X.push(Z);return X},y.queryLinesBySid=function(V){let z=[];const X=h.queryBySid(V);return X&&(z=X.loc.map(Y=>{const Q=[];return Q.file=Y.file.split("/").pop().split("\\").pop(),Q.line=Y.line,Q})),z},A.init(y),p.init(y),d.init(y),console.timeEnd("init"),y;function x(V){if(V.code===void 0)return null;const z=V.name,X=" init "+z;console.time(X);const Z=V.code,Y=Z.length>1e7?"":z.slice(z.lastIndexOf(".")+1),Q=n.parseCode(Z,Y),q=Q.lang,ee=Q.codeList;let oe=0;for(let fe=0;fe<ee.length;fe++){const le=ee[fe],ie=le.tokens.lenghth;oe<ie&&(oe=ie),le.show=!0,le.expand=!0,le.hlcache=[]}let se=ee.firstTk;for(;se;)se.file=z,se.id=z+":"+se.line+"c"+se.col,se=se.next;const he={name:z,codeList:ee,maxCols:oe,lang:q,ext:Y,group:V.group,groupDisplay:V.groupDisplay,path:V.path,type:V.type};return console.timeEnd(X),he}function O(V,z){console.time("unRollTrace");const X=z.fileRecords;for(const Z in X){const Y=X[Z].records;if(!Y)continue;const Q=V.get(z.sources[Z]);if(Q)for(const q of Y)L(q,Q,z)}console.timeEnd("unRollTrace")}function L(V,z,X){const{tk:Z,els:Y,ct:Q}=V;if(Array.isArray(Y)){for(let ie=0;ie<Y.length;ie++){const ce=Y[ie].split(":"),ve=parseInt(ce[0]),ge=X.sidPrefixes[ve];ce[0]=ge,Y[ie]=ce.join(":")}Y.forEach(ie=>{const re=v.get(ie);re&&(re.traceable=!0)})}const[q,ee,oe,se]=Z,fe=z.codeList[q-1].tokens;let le=null;for(const ie of fe)if(ie.col===ee){le=ie;break}for(;le&&!(le.line>oe);){if(le.line===oe&&le.col>=se)break;if(le.sid)for(const ie of Y)le.sid.add(ie);else le.sid=new Set(Y);if(Q){le.customTrace=new Map;for(const ie in Q){const re=X.categoricalProps[ie],ce=X.categoricalValues[Q[ie]];le.customTrace.set(re,ce)}}le=le.next}}function W(V){const z=new Map;return V.forEach(function(X){if(X.type==="source"||X.type==="header"||X.lang===t){let Z,Y=X.codeList.firstTk;for(;Y;){let Q=!0;const q=Y.type;if(q==="blk"){const ee=Y.token,oe=h.get(ee);if(oe)Y.sid||(Y.sid=new Set),Y.sid.add(oe.sid);else{const se=ee.lastIndexOf(":");if(se!==-1){const he=ee.slice(0,se),fe=ee.slice(se),le=h.get(he);le&&(Y.sid||(Y.sid=new Set),Y.sid.add(le.sid+fe))}}Z=ee}else if(q==="req")Z?(Y.blockpath=Z,Y.req_id=Y.token.match(/\d+/)[0]):Y.type=null;else if(Y.style!=="comment"&&Y.token.trim()){const ee=Y.define;ee&&(Y.type=ee.def)}else Q=!1;Q&&(window.cr&&!window.cr.traceConfig.tokenLevelTrace?Y.traceable=!1:Y.traceable=Y.sid&&Y.sid.size>0,z.set(Y.id,Y)),Y=Y.next}}}),z}function j(V,z){if(i.component&&i.component==="HDL"){const fe=z.data.map(function(le){return{text:le.blk,type:"blk",sid:le.sid,traceable:!0}});return fe.forEach(function(le,ie){le.id=ie}),fe}const X=Array.from(V.values()).map(function(he){return{text:he.fullname,type:he.def,file:he.file,line:he.line,token:he}}),Z=X.filter(function(he){return he.type==="cls"}).sort(oe),Y=X.filter(function(he){return he.type==="fcn"}).sort(oe),Q=X.filter(function(he){return he.type==="var"}).sort(oe),q=X.filter(function(he){return he.type==="type"}).sort(oe),ee=z.data.map(function(he){return{text:he.blk,type:"blk",sid:he.sid,traceable:he.traceable}});function oe(he,fe){return he.text>fe.text?1:he.text<fe.text?-1:0}const se=Z.concat(Y).concat(Q).concat(q).concat(ee);return se.forEach(function(he,fe){he.id=fe}),se}function H(V){for(const z of V.data)for(const X of z.codeList){const Z=new Set;let Y=!1;for(const Q of X.tokens)Q.type!=="blk"&&Q.sid&&Q.sid.size>0&&Q.sid.forEach(q=>Z.add(q)),a===1&&Q.customTrace!==void 0&&Q.customTrace!==null&&Q.customTrace.has("TypeofCopy")&&(Y=!0);X.sid=Z,X.isTraceable=Z.size>0,X.hasDataCopyInfo=Y}}function K(V,z){z.data.forEach(function(X){X.loc=Array.isArray(X.loc)?X.loc:[X.loc],X.loc.forEach(function(Z){const Q=Z.file.split("/").pop().split("\\").pop(),q=Z.line,ee=V.get(Q);if(ee&&ee.codeList){const oe=ee.codeList[q-1];oe&&oe.isCodeLine&&(oe.isTraceable=!0,oe.sid===void 0&&(oe.sid=new Set),oe.sid.add(X.sid))}})})}function $(V){if(i.readonly||!V)return null;const z=Array.isArray(V.FcnInfo)?V.FcnInfo:[V.FcnInfo],X=new C({idProperty:"Name",data:z}),Z=Array.isArray(V.GlobalVarInfo)?V.GlobalVarInfo:[V.GlobalVarInfo],Y=new C({idProperty:"Name",data:Z});return{fcn:X,var:Y}}}},_,P),_.exports=S},70147:(_,P,l)=>{"use strict";var b,S;b=[l(59940),l(64211),l(48309)],S=l.dj.d(b,function(C,A,p){const d={};let n;return C.start(),C.subscribe(A.channel,function(i){const s=i.data;if(s.uid&&s.uid!==A.uid||s.cid&&s.cid!==A.cid||s.cid===void 0&&s.mdl!==A.model)return;s.mdl!==A.model&&(window.cr.history.save(),A.model=s.mdl,A.build=s.mdl);const a=d[s.action];a&&a(s.data)}),{publish:t,subscribe:r};function e(){if(n===void 0||n===!1)p.subscribe("/webviewStatus",function(i){return i===!0&&(n=!0),i});else return!0}function t(i){e()===!0?p.publish("/codeviewToWebview",i):(i.top=A.top,i.model=A.model,i.build=A.build,i.uid=A.uid,i.cid=A.cid,C.publish(A.channel,i))}function r(i,s){d[i]=s}},_,P),_.exports=S},75017:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(63782),l(39299),l(70147)],S=l.dj.d(b,function(C,A,p,d,n){return function(e){const t=C.create("div",{class:"navigator"}),r=C.create("div",{class:"nav-row"},t);h(r);const i=v(e);C.place(i,r);const s=p(e);C.place(s.domNode,r);const a=d(e);C.place(a.domNode,r);const o=e.config;C.place(o.domNode,r);const u=a.resultGroup;return C.place(u,t),{domNode:t,refresh:c};function c(){s.refresh(),a.refresh(),e.highlightor.inHighlight?A.add(t,"inHighlight"):A.remove(t,"inHighlight");const f=document.getElementById("Back"),g=document.getElementById("Forward"),m=e.history.get(),E=m.id,w=m.stack;w[E-1]?A.add(f,"enabled"):f&&A.remove(f,"enabled"),E<w.length-1?A.add(g,"enabled"):g&&A.remove(g,"enabled")}function h(f){C.create("button",{id:"OpenFile",class:"open-button",title:"Open files",onclick:function(){n.publish({action:"openFiles"})}},f),C.create("button",{id:"OpenFolder",class:"open-button",title:"Open folder",onclick:function(){n.publish({action:"openFolder"})}},f)}function v(f){const g=C.create("div",{id:"NavGroup"});return C.create("div",{id:"Back",class:"nav-button",onclick:function(){f.back()}},g),C.create("div",{id:"Forward",class:"nav-button",onclick:function(){f.forward()}},g),g}}},_,P),_.exports=S},88611:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(1723),l(43810),l(45118),l(40498),l(70147),l(62684),l(57742),l(64211),l(14619)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a){return function(u){t.subscribe("highlight",function(f){const g=u.highlightor;if(f){g.byExternalInput(f);const m=g.getCurrent();m?u.show(m.file):u.refresh()}else g.clear(),u.refresh()}),t.subscribe("showFile",function({file:f,line:g,select:m}){u.show(f,g,m)}),s.readonly||(t.subscribe("m2c",function(f){const g=Array.isArray(f)?f:[f],m=u.highlightor;if(g.length>0){m.bySids(g);const E=m.getCurrent();E?u.show(E.file):u.refresh()}else m.clear(),u.refresh()}),t.subscribe("record2code",function(f){const g=u.highlightor;g.byRecord(f);const m=g.getCurrent();m?u.show(m.file):u.refresh()}),t.subscribe("mlfb2code",function(f){const g=u.highlightor;g.byMLFB(f);const m=g.getCurrent();m?u.show(m.file):u.refresh()}));const c=f=>{const g=f.message;if(g){const m=o(f);C.place(m,"ErrorPage","only"),u.data=null,s.build=s.model,A.add(u.domNode,"error")}else{A.remove(u.domNode,"error");const m=u.highlightor;m.clear(),u.code.file="";const E=u.data;u.data=r(f),s.build=u.data.build;const w=u.history;w.init();let I=!1;if(E){const R=E.currentFile;u.data.files.get(R)&&(u.data.currentFile=R,I=!0),E.build===u.data.build&&E.ref===u.data.ref&&m.byDiff(E)}const M=m.getCurrent();if(M)u.show(M.file);else if(m.clear(),I)u.refresh();else{const R=w.load();R?(u.gotoState(R),w.get().id--):u.show(null,1,!1)}}u.busy.hide(),v(h),t.publish({action:"CodeReady",file:u.data?u.data.currentFile:void 0,err:g})};t.subscribe("init",c);let h=null;function v(f){f&&f.closeProgressDialog&&f.closeProgressDialog()}t.subscribe("lock",function(f){v(h);const g=C.create("div",{textContent:f});let m="Loading ...";s.model&&(m=i.getString("SimulinkCoderApp:report:ProgressBarGenCode"),A.add(g,"typedef"),g.setAttribute("type","blk")),h=e.displayProgressDialog(m,g,{indeterminate:!0})}),t.subscribe("unlock",function(){v(h)}),t.subscribe("refresh",function(f){s.build=f.build,a.start()}),t.subscribe("switchModel",function(){a.start()}),u.loadData=c,t.publish({action:"ready"})};function o(u){const c=u.message,h=u.errorType,v=C.create("div",{class:"error-page"}),f=C.create("div",{class:"error-text"},v);f.innerText=c;const g=u.xil;if(g&&g.length!==0){C.create("div",{class:"error-suggest",textContent:"Generated code:"},v);const m=C.create("div",{id:"XIL",style:"padding: 8px"},v),E=C.create("table",{id:"XILTable"},m),w=C.create("tr",{},E);return C.create("th",{},w),C.create("th",{textContent:"Model Block"},w),g.forEach(I=>{const M=C.create("tr",{},E);C.create("td",{class:"xil-icon"},M);const R=C.create("td",{},M);C.create("a",{class:"xil-blk",innerHTML:I,href:`matlab:Simulink.BlockPath('${I}').open('Force', 'on')`},R)}),v}if(C.create("div",{class:"error-suggest",textContent:i.getString("SimulinkCoderApp:report:Suggest")},v),h==="STFMismatch"){const m=C.create("div",{class:"action"},v);C.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:GenerateCodeGroupName_STFMismatch")},m),C.create("div",{class:"text",textContent:i.getString("SimulinkCoderApp:report:GenerateCodeText_STFMismatch")},m)}else if(h==="HDLSubsystemUnpinned"){const m=C.create("div",{class:"action"},v);C.create("div",{class:"name",textContent:"Pin a subsystem"},m),C.create("div",{class:"text",textContent:'Select and pin a subsystem. Then click "View code" in the Review Results section on the HDL Code tab.'},m)}else{const m=C.create("div",{class:"action"},v);C.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:GenerateCodeGroupName")},m),C.create("div",{class:"text",textContent:i.getString("SimulinkCoderApp:report:GenerateCodeText")},m);const E=C.create("div",{class:"action"},v);C.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:ReloadCodeGroupName")},E);const w=i.getString("SimulinkCoderApp:report:ReloadBtnName");C.create("div",{class:"text",textContent:p.substitute(i.getString("SimulinkCoderApp:report:ReloadCodeText"),[w])},E);const I="ReloadBtn",M=C.create("div",{class:"btn-row"},E);let R=n.byId(I);R||(R=new d({id:I,label:w,class:"btn",onClick:function(){window.cr.busy.show(),t.publish({action:"start"})}}),R.startup()),C.place(R.domNode,M)}return v}},_,P),_.exports=S},39299:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(92087),l(65724),l(37672),l(48309),l(1723),l(14678),l(14619),l(57742),l(70147),l(64211)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a){return function(o){let u=null;const c=A.create("div",{class:"search-group"}),h=A.create("div",{class:"input-group"},c),v=A.create("div",{class:"result-group"}),f=A.create("div",{class:"search-list"},c),g=C([t]),m=new g({id:"SearchList",renderRow:F,keepScrollPosition:!0,query:function(j){return!window.cr.traceConfig.tokenLevelTrace&&j.type==="blk"?!1:j.show}});o.searchList=m,A.place(m.domNode,f),m.startup(),A.create("label",{class:"search-icon search-item square",for:"SearchInput"},h);const E=A.create("input",{id:"SearchInput",class:"search-input search-item",type:"search",placeholder:i.getString("SimulinkCoderApp:report:Search"),oninput:function(j){const H=j.target.value;x(H)},onkeypress:function(j){const H=j.target,K=H.value;j.key==="Enter"?K?O(K):L():j.key==="Escape"&&(j.stopPropagation(),K||H.blur())},onblur:function(){p.remove(f,"show")},onfocus:function(j){n.publish("expandConfig",!1),y()}},h);n.subscribe("closeSearchList",function(){p.remove(f,"show")});const w=A.create("div",{class:"hl-text search-item"},v),I=A.create("div",{class:"search-text search-item"},v),M=A.create("div",{class:"search-result search-item",onclick:function(){n.publish("expandConfig",!1);const j=o.highlightor;if(j.inHighlight){const H=j.getCurrent();H&&o.show(H.file,H.line,!0)}}},v),R=A.create("div",{class:"search-nav-previous search-item square button",onclick:function(){if(n.publish("expandConfig",!1),!this.classList.contains("disabled")){const H=o.highlightor;H.pre();const K=H.getCurrent();K&&o.show(K.file)}}},v),T=A.create("div",{class:"search-nav-next search-item square button",onclick:function(j){if(n.publish("expandConfig",!1),!this.classList.contains("disabled")){const K=o.highlightor;K.next();const $=K.getCurrent();$&&o.show($.file)}}},v);return A.create("div",{class:"search-overview search-item square button",onclick:function(){n.publish("expandConfig",!1),console.log("overview")}},v),A.create("div",{class:"search-clear search-item square button",onclick:function(){n.publish("expandConfig",!1),L()}},v),document.addEventListener("keydown",function(j){j.isComposing||j.keyCode===229||(j.ctrlKey||j.metaKey?j.key==="f"?E.focus():j.key==="n"?o.highlightor.inHighlight&&T.click():j.key==="p"&&o.highlightor.inHighlight&&R.click():j.key==="Escape"&&o.highlightor.inHighlight&&L())}),{domNode:c,resultGroup:v,refresh:W};function F(j){const H=A.create("div",{class:"row"}),K=A.create("div",{class:"typedef"},H),$=A.create("div",{class:"text"},H);return $.innerHTML=r.highlightText(j.text,u),K.setAttribute("type",j.type),j.type==="blk"&&!j.traceable&&p.add(H,"eb"),H.onmousedown=function(){O(j)},H}function y(){if(E.value){const H=m.store.data.filter(function(K){return K.show}).length;if(H>0){const K=H*30+1;d.set(f,"height",K+"px"),p.add(f,"show")}else p.remove(f,"show")}else d.set(f,"height","50vh"),p.add(f,"show");m.refresh()}function x(j){const H=j.trim(),K=m.store.data;if(H)try{u=new RegExp(j.trim(),"gi"),K.forEach(function($){$.show=$.text.search(u)!==-1})}catch($){}else u=null,K.forEach(function($){$.show=!0});y(),m.refresh()}function O(j){const H=o.highlightor;typeof j=="string"?H.byString(j):j.type==="blk"?H.byModel(j):H.byToken(j);const K=H.getCurrent();K?o.show(K.file):o.refresh(),E.blur()}function L(){o.highlightor.clear(),o.refresh(),E.blur()}function W(){m.store!==o.data.types&&(m.store=o.data.types,m.store.data.forEach(function(H){H.show=!0}));const j=o.highlightor;if(j.inHighlight){p.remove(v,"eb"),p.remove(v,"plain");const H=j.input,K=j.mode,$=j.getResults().length;if(K==="diff")p.add(v,"plain"),I.textContent=i.getString("SimulinkCoderApp:report:HL_LineUpdate");else if(K==="external")p.add(v,"plain"),I.textContent=j.input;else if(Array.isArray(H)){p.add(v,"plain");const V=i.getString("SimulinkCoderApp:report:HL_SelectedBlk");I.innerHTML=e.substitute(V,['<span class="num">'+H.length+"</span>"])}else{const V=r.createUnit(H);if(A.place(V,I,"only"),w.textContent=i.getString("SimulinkCoderApp:report:Highlighting")+": ",H.type==="blk"&&$===0){const z="simulinkcoder.internal.util.getReason",X=a.build,Z=H.sid,Y=H.text;r.mvm.feval(z,1,[X,Z,Y]).then(([Q])=>{if(!Q)return;const q=i.getString(Q);if(!q)return;const ee=/'\$\{0\}'/;I.innerHTML=q.replace(ee,'<span class="typedef" type="blk"></span>');const oe=I.querySelector("span");oe.textContent=H.text;const se=H.sid;se&&(oe.onclick=function(he){he.stopPropagation(),s.publish({action:"blk2mdl",sids:[se]})}),w.innerHTML="",p.add(v,"eb")})}}$===0?M.innerText=0:M.innerText=j.getIndex()+1+" / "+$,$<=1?(p.add(R,"disabled"),p.add(T,"disabled")):(p.remove(R,"disabled"),p.remove(T,"disabled"))}}}},_,P),_.exports=S},63782:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(48309)],S=l.dj.d(b,function(C,A,p){return function(d){const n=C.create("div",{id:"FileSelector",class:"file-selector",tabIndex:0,onblur:h}),e=C.create("div",{class:"top",onmousedown:c},n),t=C.create("div",{class:"list"},n);let r=!1;return document.addEventListener("keydown",function(f){f.isComposing||f.keyCode===229||(f.ctrlKey||f.metaKey)&&f.key==="l"&&c()}),n.addEventListener("keydown",function(f){if(f.isComposing||f.keyCode===229||!r)return;let g;switch(f.key){case"Escape":h();break;case"Enter":const m=n.querySelector(".list .item.file.preselect");if(m){const E=m.getAttribute("filename");o(E),h()}break;case"ArrowUp":g=n.querySelectorAll(".list .item.file"),v(g,-1);break;case"ArrowDown":g=n.querySelectorAll(".list .item.file"),v(g,1);break;default:console.log("other key: ",f.key)}}),{domNode:n,refresh:s};function s(){const f=d.data,g=f.files.data;if(g.length===0)return;const m=[],E={};g.forEach(function(T){const N=T.group;E[N]||(E[N]=!0,m.push({name:N,disp:T.groupDisplay,type:"group"})),m.push({name:T.name,hlcount:T.hlcount,type:"file"})}),d.highlightor.inHighlight?(A.add(n,"inHighlight"),m.filter(function(T){return T.type==="file"}).forEach(function(T){d.config.showComments?T.hits=T.hlcount.full:T.hits=T.hlcount.filter})):A.remove(n,"inHighlight");const I=m.map(a),M=f.currentFile,R=m.filter(function(T){return T.type==="file"&&T.name===M})[0];u(R),t.innerHTML="",I.forEach(function(T){t.appendChild(T)})}function a(f,g){const m=f.type,E=C.create("div",{class:"item "+m});E.setAttribute("filename",f.name),d.data.currentFile===f.name&&(A.add(E,"current"),A.add(E,"preselect")),g&&m==="file"&&(E.onmousedown=function(R){const T=f.name;o(T)});const I=C.create("div",{class:"text"},E);m==="group"?I.textContent=f.disp:I.textContent=f.name;const M=C.create("div",{class:"hits",textContent:"("+f.hits+")"},E);return f.hits===0&&A.add(M,"zero"),E}function o(f){const g=d.highlightor;if(g.inHighlight){const m=g.getResults();let E=null;m.some(function(w){if(w.file===f)return E=w,!0}),E&&g.setCurrent(E)}d.show(f)}function u(f){const g=a(f,!1),m=C.create("div",{class:"selector-button"});e.innerHTML="",e.appendChild(g),e.appendChild(m)}function c(){if(p.publish("expandConfig",!1),n.focus(),r=!r,r){A.add(n,"expand"),t.querySelectorAll(".preselect").forEach(function(m){A.remove(m,"preselect")});const g=t.querySelector(".current");g&&(g.scrollIntoViewIfNeeded(),A.add(g,"preselect"))}else A.remove(n,"expand")}function h(){A.remove(n,"expand"),r=!1}function v(f,g){let m=-1;const E=f.length;for(let I=0;I<E;I++)if(f[I].classList.contains("preselect")){m=I;break}m===-1&&console.error("no preselect");let w=m+g;w<0&&(w=0),w>=E&&(w=E-1),f[m].classList.remove("preselect"),f[w].classList.add("preselect"),f[w].scrollIntoViewIfNeeded(!1)}}},_,P),_.exports=S},59690:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(48309),l(57742),l(70147),l(14619),l(64211)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return function(r){let i=!1;const s=C.create("div",{id:"Config",class:"config"});p.subscribe("expandConfig",function(f){i=f,i?A.add(s,"expand"):A.remove(s,"expand")});const a={showComments:!0,showAnnotation:null,showCodeMetrics:null,showCodeProfiling:null,cmOn:null,showCoverage:null,covType:null,covOn:null,cpOn:null,domNode:s,refresh:u};n.subscribe("toggleAnnotation",f=>{const g=f.flag;r.data.review=g,a.showAnnotation=g,r.refresh()}),C.create("div",{class:"v-dots",onclick:function(){i=!i,i?A.add(s,"expand"):A.remove(s,"expand")}},s);const o=C.create("div",{id:"ConfigPane",class:"contents"},s);return a;function u(){this.showAnnotation===null&&(this.showAnnotation=r.data.review),this.showAnnotation?A.add(r.domNode,"show-annotation"):A.remove(r.domNode,"show-annotation"),o.innerHTML="";const f=c();if(o.appendChild(f),!t.readonly){if(t.component!=="HDL"){const g=h();o.appendChild(g)}if(r.data.review){const g=v();o.appendChild(g)}}t.component!=="HDL"&&(C.create("hr",{},o),C.create("div",{class:"standalone-report",textContent:d.getString("SimulinkCoderApp:report:LaunchStandaloneReport"),onclick:function(){n.publish({action:"LaunchStandaloneReport"})}},o))}function c(){const f=C.create("div",{id:"ConfigDispGroup",class:"group"});C.create("div",{class:"title",textContent:d.getString("SimulinkCoderApp:report:ConfigGroup_Display")},f);const g=C.create("div",{id:"ConfigCommentsGroup",class:"item"},f);C.create("input",{id:"ConfigComments",class:"checkbox",type:"checkbox",checked:a.showComments,onchange:function(){a.showComments=this.checked,r.highlightor.updateCurrent(),r.show()}},g),C.create("label",{for:"ConfigComments",textContent:d.getString("SimulinkCoderApp:report:ShowComments")},g),C.create("div",{class:"item",textContent:d.getString("SimulinkCoderApp:report:ConfigCodeFolding")+":"},f);const m=C.create("div",{id:"ConfigCodeFolding",class:"item"},f);return C.create("button",{id:"ConfigFoldAll",class:"button",textContent:d.getString("SimulinkCoderApp:report:ConfigCodeFolding_FoldAll"),onclick:function(){e.expandAll(!1)}},m),C.create("button",{id:"ConfigExpandAll",class:"button",textContent:d.getString("SimulinkCoderApp:report:ConfigCodeFolding_ExpandAll"),onclick:function(){e.expandAll(!0)}},m),f}function h(){const f=C.create("div",{id:"ConfigAnalysisGroup",class:"group"});C.create("div",{class:"title",textContent:d.getString("SimulinkCoderApp:report:ConfigGroup_Analysis")},f);const g=r.data.cm;let m;g?(m=!0,a.showCodeMetrics===null?a.cmOn=!0:a.cmOn=a.showCodeMetrics):(a.cmOn=!1,m=!1);const E=C.create("div",{id:"ConfigCodeMetrics",class:"item"},f),w=C.create("input",{id:"ConfigShowCodeMetrics",class:"checkbox",type:"checkbox",checked:a.cmOn,onchange:function(){a.showCodeMetrics=this.checked,a.cmOn=this.checked}},E),I=C.create("label",{for:"ConfigShowCodeMetrics",textContent:d.getString("SimulinkCoderApp:report:ConfigShowCodeMetrics")},E);if(m||(w.setAttribute("disabled",""),A.add(I,"disabled")),C.create("div",{class:"link",onclick:function(){n.publish({action:"configset",param:"GenerateCodeMetricsReport"})}},E),r.data.coverage){const y=r.data.coverage;if(Array.isArray(y)){const x=y.map(function(K){const $=K.files;return!!($&&$.length)}),O=x.some(function(K){return K});O?a.showCoverage===null?a.covOn=!0:a.covOn=a.showCoverage:a.covOn=!1,y.forEach(function(K,$){x[$]||K.id===a.covType&&(a.covType=null)}),a.covType===null&&y.some(function(K,$){if(x[$])return a.covType=K.id,!0});const L=C.create("div",{id:"ConfigCoverage",class:"item"},f),W=C.create("input",{id:"ConfigShowCoverage",class:"checkbox",type:"checkbox",checked:a.covOn,onchange:function(){a.showCoverage=this.checked,a.covOn=this.checked,a.showCoverage?A.add(r.domNode,"show-coverage"):A.remove(r.domNode,"show-coverage"),r.refresh()}},L),j=C.create("label",{for:"ConfigShowCoverage",textContent:d.getString("SimulinkCoderApp:report:ConfigShowCoverage")},L);O||(W.setAttribute("disabled",""),A.add(j,"disabled")),C.create("div",{class:"link",onclick:function(){n.publish({action:"configset",param:"CodeCoverageSettings"})}},L);const H=C.create("div",{id:"ConfigCoverageSelect",class:"options"},f);y.forEach(function(K,$){const V=K.id,z=x[$],X=C.create("div",{class:"option"},H),Z=C.create("input",{type:"radio",id:V,value:V,name:"covType",checked:V===a.covType,onchange:function(Q){a.covType=Q.target.value,r.refresh()}},X),Y=C.create("label",{for:V,textContent:K.name},X);(!a.covOn||!z)&&(Z.setAttribute("disabled",""),A.add(Y,"disabled"))})}}const M=r.data.profiling;let R;M?(R=!0,a.showCodeProfiling===null?a.cpOn=!0:a.cpOn=a.showCodeProfiling):(a.cpOn=!1,R=!1);const T=C.create("div",{id:"ConfigCodeProfiling",class:"item"},f),N=C.create("input",{id:"ConfigShowCodeProfiling",class:"checkbox",type:"checkbox",checked:a.cpOn,onchange:function(){a.showCodeProfiling=this.checked,a.cpOn=this.checked,r.refresh()}},T),F=C.create("label",{for:"ConfigShowCodeProfiling",textContent:d.getString("SimulinkCoderApp:report:ConfigShowCodeProfiling")},T);return R||(N.setAttribute("disabled",""),A.add(F,"disabled")),C.create("div",{class:"link",onclick:function(){n.publish({action:"configset",param:"CodeExecutionProfiling"})}},T),f}function v(){const f=C.create("div",{id:"ConfigReviewGroup",class:"group"});C.create("div",{class:"title",textContent:d.getString("SimulinkCoderApp:report:ConfigGroup_Review")},f);const g=C.create("div",{id:"ConfigAnnotationGroup",class:"item"},f);return C.create("input",{id:"ConfigAnnotation",class:"checkbox",type:"checkbox",checked:a.showAnnotation,onchange:function(){a.showAnnotation=this.checked,a.showAnnotation?A.add(r.domNode,"show-annotation"):A.remove(r.domNode,"show-annotation")}},g),C.create("label",{for:"ConfigAnnotation",textContent:d.getString("SimulinkCoderApp:report:ShowAnnotation")},g),f}}},_,P),_.exports=S},20165:(_,P,l)=>{"use strict";var b,S;b=[l(92087),l(65724),l(37672),l(86560),l(72875),l(11278),l(1723),l(34100),l(20259),l(14619),l(57742),l(70147),l(64211)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u){const c={fcn:a.getString("SimulinkCoderApp:report:Type_Function"),var:a.getString("SimulinkCoderApp:report:Type_Variable"),type:a.getString("SimulinkCoderApp:report:Type_Type"),cls:a.getString("SimulinkCoderApp:report:Type_Class")},h=s.mvm.getFeatures();let v;return h.getFeature("EnhancedDatacopyReporter").then(T=>{v=T}),function(T,N){if(!document.getElementById("ToolTip")){const O=r({id:"ToolTip",placement:"top"});O.referenceNode=document.createElement("div"),window.popout=O,document.body.appendChild(O)}const F=document.getElementById("ToolTip"),y=f(N,T.data);if(!y)return;if(F.referenceNode!==N){const{observer:O}=i.observeElementInDom(F.referenceNode);F._referenceObserver=O,F.referenceNode=N,F.open||setTimeout(()=>{N.matches(":hover")&&F.show()},500)}setTimeout(()=>{!N.matches(":hover")&&!F.matches(":hover")&&F.referenceNode===N&&F.close()},1e3),F.content=y,T.config.cmOn?A.add(y,"show-code-metrics"):A.remove(y,"show-code-metrics"),T.config.cpOn?A.add(y,"show-code-profiling"):A.remove(y,"show-code-profiling")};function f(T,N){let F=null;const y=g(T,N);let x=null,O=null;window.cr.traceConfig.tokenLevelTrace&&(x=m(T,N),O=E(T,N));const L=w(T,N),W=I(T,N),j=M(T,N),H=[y,x,O,L,W,j].filter(function(K){return K});return H.length>0&&(F=C.create("div",{class:"content"}),H.forEach(function(K){C.place(K,F)})),F}function g(T,N){const F=T.id,y=N.records.get(F);if(!y)return;const x=y.define;if(!x)return;const O=C.create("div",{class:"section definition"});C.create("div",{class:"name",textContent:a.getString("SimulinkCoderApp:report:Definition")},O);const L=C.create("div",{class:"title"},O),W=window.cr,j=c[x.def],H=x.file,K=x.line,$=W.data.files.get(H),V=$.codeList[K-1];if(L.innerHTML='<span class="type">'+j+"</span> "+a.getString("SimulinkCoderApp:report:DefinedIn")+' <span class="file">'+H+"</span>",x!==y){const z=C.create("div",{class:"body code-ref"},O);C.create("span",{class:"line",innerHTML:K},z),$.lang.createNodes(V.tokens).forEach(Z=>z.appendChild(Z)),C.create("div",{class:"overlay",onclick:function(Z){Z.stopPropagation(),W.show(H,K,!0)}},z)}return O}function m(T,N){const F=N.records.get(T.id);if(!F)return;const y=F.sid;if(!y||y.size===0)return;const x=[...y].map(function(W){return N.blocks.queryBySid(W)}).filter(function(W){return W});if(x.length===0)return;const O=C.create("div",{class:"section model-elements"});C.create("div",{class:"name",textContent:a.getString("SimulinkCoderApp:report:ModelElements")},O);const L=C.create("div",{class:"body"},O);return x.forEach(function(W){const j=s.createUnit({type:"blk",text:W.blk});j.setAttribute("sid",W.sid),j.onclick=function(H){H.stopPropagation();const $=H.target.getAttribute("sid");o.publish({action:"blk2mdl",sids:[$]})},C.place(j,L)}),O}function E(T,N){const F=T.id,y=N.records.get(F);if(!y)return;const x=y.customTrace;if(!x||x.size===0)return;const O=x.get("StorageClass"),L=x.get("ModelElemCategory");if(!O||!L)return;const W=C.create("div",{class:"section customization"});C.create("div",{class:"name",textContent:a.getString("SimulinkCoderApp:report:Customization")},W);const j=x.get("StorageClassSource")||"ModelDefault",H=a.getString("SimulinkCoderApp:report:"+j);let K;j==="Individual"?K=x.get("ModelDataSource"):K=a.getString("coderdictionary:mapping:"+L)||L,C.create("div",{class:"title",textContent:H},W);const $=C.create("div",{class:"body storage-class",category:L},W);return C.create("span",{class:"category-name",textContent:K+": "},$),C.create("span",{class:"storage-class-name",textContent:O},$),$.onclick=function(V){V.stopPropagation(),o.publish({action:"code2mapping",id:F,userData:x})},W}function w(T,N){const F=N.cm;if(!F)return;const y=T.getAttribute("token"),x=C.create("div",{class:"section code-metrics"});C.create("div",{class:"name",textContent:a.getString("SimulinkCoderApp:report:CodeMetrics")},x);const O=C.create("div",{class:"body"},x),L=N.define.get(y);if(!(!L||L.type!=="fcn"&&L.type!=="var")){if(L.type==="fcn"){const j=N.currentFile+":"+y,H=F.fcn;let K=H.get(j);if(K||(K=H.get(y)),K){const $='<span class="cm-num">'+K.Stack+"</span>",V=a.getString("SimulinkCoderApp:report:CodeMetrics_Stack"),z=t.substitute(V,[$]);let X;if(K.StackTotal===-1)X=a.getString("SimulinkCoderApp:report:CodeMetrics_TotalStackRecursion");else{const Z='<span class="cm-num">'+K.StackTotal+"</span>",Y=a.getString("SimulinkCoderApp:report:CodeMetrics_TotalStack");X=t.substitute(Y,[Z])}return O.innerHTML=z+", "+X,x}}else if(L.type==="var"){const j=F.var.get(y);if(j){const H='<span class="cm-num">'+j.Size+"</span>",K=a.getString("SimulinkCoderApp:report:CodeMetrics_Size"),$=t.substitute(K,[H]);return O.innerHTML=$,x}}}}function I(T,N){const F=N.records.get(T.id),y=-1;if(v===1&&F){const x=F.customTrace,O=R(x);if(O!==y){const L=C.create("div",{class:"section"});C.create("div",{class:"name",textContent:a.getString("SimulinkCoderApp:report:Datacopy")},L);const W=C.create("div",{class:"body"},L);return W.innerHTML=O,L}}}function M(T,N){if(!N.profiling)return;const y=N.profiling.proInfo,x=T.getAttribute("token"),O=y.find(function(nt){if(nt.FileNames[0]===N.currentFile){if(nt.CodeSectionName===x)return nt;if(nt.CodeSectionName!==x&&nt.LineNumbers[0].includes(parseInt(T.id.split(":")[1].split("c")[0])))return nt}});if(!O||O.FileNames[0]!==N.currentFile)return;const L=N.profiling.UnitOfTime,W=N.profiling.TimerTicksPerSecond,j=T.getElementsByTagName("c"),H=parseInt(j[0].getAttribute("ln")),K=O.LineNumbers[0],$=K.length,V=K[0],z=K[$-1];if(!(H>=V&&H<=z))return;const Z=C.create("div",{class:"section code-profiling"});C.create("div",{class:"name",textContent:a.getString("SimulinkCoderApp:report:CodeProfiling")},Z);const Y=C.create("div",{class:"body"},Z),Q=O.MaximumExecutionTimeInTicks/W,q=Q<1||Q>99999?Q.toExponential(2):Q,ee='<table class="cp-table"><tr class="cp-tr"><td class="cp-td">'+a.getString("SimulinkCoderApp:report:MaximumExecutionTime")+"</td>",oe='<td class="cp-td"><span class="cp-num">'+q+"</span></td></tr>",se=O.TotalExecutionTimeInTicks/O.NumCalls/W,he=se<1||se>99999?se.toExponential(2):se.toFixed(0),fe='<tr class="cp-tr"><td class="cp-td">'+a.getString("SimulinkCoderApp:report:AverageExecutionTime")+"</td>",le='<td class="cp-td"><span class="cp-num">'+he+"</span></td></tr>",ie=O.MaximumSelfTimeInTicks/W,re=ie<1||ie>99999?ie.toExponential(2):ie,ce='<tr class="cp-tr"><td class="cp-td">'+a.getString("SimulinkCoderApp:report:MaximumSelfTime")+"</td>",ve=' <td class="cp-td"><span class="cp-num">'+re+"</span></td></tr>",ge=O.TotalSelfTimeInTicks/O.NumCalls/W,Te=ge<1||ge>99999?ge.toExponential(2):ge.toFixed(0),Pe='<tr class="cp-tr"><td class="cp-td">'+a.getString("SimulinkCoderApp:report:AverageSelfTime")+"</td>",Le='<td class="cp-td"><span class="cp-num">'+Te+"</span></td></tr>",ct='<tr class="cp-tr"><td class="cp-td">'+a.getString("SimulinkCoderApp:report:NumberOfCalls")+"</td>",st='<td class="cp-td"><span class="cp-num">'+O.NumCalls+"</span></td></tr>",ot=a.getString("SimulinkCoderApp:report:UnitOfTime");if(u.features.showProfilingInfo){const nt='<tr class="cp-tr"><td class="cp-td">Statistics</td>';let Rt='<td class="cp-td icons">';O.Statistics.Data[0]&&O.Statistics.Data[1]&&(Rt+=`<span class="cp-num">
<a href="matlab:${O.Statistics.Data[0]}" title="${O.Statistics.Data[1].trim()}">
<img src="/toolbox/coder/profile/resources/membrane_16.png" class="icon" role="button" />
</a>
</span>`),O.Statistics.Histogram[0]&&O.Statistics.Histogram[1]&&(Rt+=`<span class="cp-num">
<a href="matlab:${O.Statistics.Histogram[0]}" title="${O.Statistics.Histogram[1].trim()}">
<img src="/toolbox/coder/profile/resources/histogram_16.png" class="icon" role="button" />
</a>
</span>`),O.Statistics.SDIPlot[0]&&O.Statistics.SDIPlot[1]&&(Rt+=`<span class="cp-num">
<a href="matlab:${O.Statistics.SDIPlot[0]}" title="${O.Statistics.SDIPlot[1].trim()}">
<img src="/toolbox/coder/profile/resources/SimulationDataInspector_16.png" class="icon" role="button" />
</a>
</span>`),O.Statistics.PieChart[0]&&O.Statistics.PieChart[1]&&(Rt+=`<span class="cp-num">
<a href="matlab:${O.Statistics.PieChart[0]}" title="${O.Statistics.PieChart[1].trim()}">
<img src="/toolbox/coder/profile/resources/pie_16.png" class="icon" role="button" />
</a>
</span>`),Rt+=`</td>
</tr>
</table>`,Y.innerHTML=ee+oe+fe+le+ce+ve+Pe+Le+ct+st+nt+Rt+ot+" "+L}else Y.innerHTML=ee+oe+fe+le+ce+ve+Pe+Le+ct+st+ot+" "+L;return Z}function R(T){if(!T||T.size===0)return-1;const F=T.get("TypeofCopy");if(!F)return-1;let y;F==="Necessary"?y=a.getString("SimulinkCoderApp:report:NecessaryDatacopy"):F==="Unnecessary"&&(y=a.getString("SimulinkCoderApp:report:UnnecessaryDatacopy"));const x=`<a href="matlab:web('https://confluence.mathworks.com/pages/viewpage.action?pageId=1063605138')"
>Learn More</a>`;return y+" "+x}},_,P),_.exports=S},14619:(_,P,l)=>{"use strict";var b,S;b=[l(26648),l(70147)],S=l.dj.d(b,function(C,A){const p=document.createElement("span"),d=document.createElement("span");return d.classList.add("hl"),{text2html:e,html2text:t,highlightText:r,updateData:s,expandToLine:i,expandAll:a,getUnitData:o,getLineData:u,getHDLLineData:c,createUnit:h,markChar:v,mvm:C.getMVM(),start:f};function e(g){return p.innerText=g,p.innerHTML}function t(g){return p.innerHTML=g,p.innerText}function r(g,m){if(!m)return e(g);const E=g.match(m);if(!E)return e(g);const w=g.split(m),I=e(w[0]);return E.reduce(function(R,T,N){d.innerText=T;const F=d.outerHTML,y=e(w[N+1]);return R+F+y},I)}function i(g,m){const E=g[m-1];E&&E.up&&(E.up.forEach(function(w){g[w-1].expand=!0}),s(g))}function s(g){g.forEach(function(m){m.up?m.show=m.up.every(function(E){return g[E-1].expand}):m.show=!0})}function a(g){const m=window.cr;m.data.files.data.forEach(function(E){const w=E.codeList;w.forEach(function(I){I.expand=g}),s(w)}),m.refresh()}function o(g,m){const E=m.id,w=g.records.get(E);if(w)return{file:w.file,line:w.line,col:w.col,code:w.token,sids:w.sid?[...w.sid]:[]}}function u(g,m){const E=g.currentFile,w=g.files.get(E).codeList[m-1],I=w.rawCode,M=[...w.sid];return{file:E,line:m,code:I,sids:M}}function c(g,m){const E=g.currentFile,I=g.files.get(E).codeList[m-1],M=I.rawCode;let R=[];return I.id===m&&I.isTraceable&&I.sid&&(R=[...I.sid]),{file:E,line:m,code:M,sids:R}}function h(g){const m=document.createElement("span");return m.classList.add("typedef"),typeof g=="string"?(m.setAttribute("type","string"),m.textContent=g):(m.setAttribute("type",g.type),m.textContent=g.text,m.onclick=function(E){if(E.stopPropagation(),g.sid)A.publish({action:"blk2mdl",sids:[g.sid]});else{const w=g.file,I=g.line;window.cr.show(w,I,!0)}}),m}function v(g){const m=g.childNodes;for(let E=0,w=m.length;E<w;E++){const I=m[E];if(I.nodeType===1)v(I);else if(I.nodeType===3){const M=document.createElement("text"),R=I.textContent;let T="";for(let N=0,F=R.length;N<F;N++)T+="<c>"+R[N]+"</c>";M.innerHTML=T,g.replaceChild(M,I)}}}function f(){A.publish({action:"start"})}},_,P),_.exports=S},64211:(_,P,l)=>{"use strict";var b,S;b=[l(42372)],S=l.dj.d(b,function(C){const A=window.location.search.substr(1),p=C.queryToObject(A);return p.channel="/report",p.uid=Date.now()+"-"+Math.random(),p.hasOwnProperty("features")?p.features=JSON.parse(p.features):p.features={},p.model||(p.model=p.top),p.hasOwnProperty("readonly")?p.readonly=JSON.parse(p.readonly):p.readonly=!1,window.config=p,p},_,P),_.exports=S},26418:(_,P,l)=>{var b,S;b=[],S=l.dj.d(b,function(){return class{constructor(A,p){this.token=A,this.style=p}}},_,P),_.exports=S},7998:(_,P,l)=>{"use strict";var b,S;b=[l(23494),l(14025)],S=l.dj.d(b,function(C,A){return{__proto__:A,name:"ASAP2",blockBegin:{style:"keyword",token:"begin"},blockEnd:{style:"keyword",token:"end"},comment:{style:"comment"},setup:function(p){C(p);const n={name:"clike",keywords:{begin:!0,end:!0}};return p.defineMIME(this.name,n),p.getMode({},{name:this.name})}}},_,P),_.exports=S},26778:(_,P,l)=>{"use strict";var b,S;b=[l(14963),l(23494),l(14025),l(14619)],S=l.dj.d(b,function(C,A,p,d){return{__proto__:p,name:"C/C++",blockBegin:{style:null,token:"{"},blockEnd:{style:null,token:"}"},comment:{style:"comment"},setup:function(e){A(e);const t={name:"text/x-c++src"};return e.getMode({},t)},createNodes:function(e){return e.map(t=>{const r=document.createElement("span"),i=t.token,s=t.style;r.setAttribute("scope",t.scope),t.def&&r.setAttribute("def",t.def),t.type&&r.setAttribute("type",t.type),t.define&&r.setAttribute("defid",t.define.id),r.classList.add("cpp"),s===null?(i==="{"||i==="}")&&r.classList.add("br"):r.classList.add(s);const a=t.id;r.setAttribute("id",a),r.setAttribute("name",a),s==="variable"||s==="def"||s==="operator"||s==="number"?r.classList.add("tk"):s==="variable-3"||s==="keyword"||s==="atom"?(r.classList.add("tk"),r.classList.add("kw")):s==="comment"&&(r.classList.add("ct"),t.type==="blk"?r.classList.add("blk"):t.type==="req"?(r.classList.add("req"),r.setAttribute("req_id",t.req_id),r.setAttribute("blockpath",t.blockpath)):t.type==="libblk"&&r.classList.add("libblk")),r.setAttribute("cstyle",s);for(let o=0;o<i.length;o++){const u=document.createElement("c");u.innerText=i[o],r.appendChild(u)}return r})},slHook:function(e,t,r){if(p=this,e.style==="meta")return n(e,t,r);if(e.style==="comment"){p.replaceNonAscii(e);let i=p.detectBlockPath(e);if(i.length>1||(i=p.detectLibBlockPath(e),i.length>1)||(i=p.detectRequirementID(e),i.length>1))return i}return e},createTokenScope:function(e){const t=o=>{const u=o.token,c=u.length;for(let h=0;h<c;h++)if(u[h]!==">")return;return c},r=(o,u,c)=>{let h;for(let v=0;v<c;v++)if(h=o.pop(),!h)return;for(let v=h;v!==u.next;v=v.next)v.template=!0};let i=0,s=[],a=e.firstTk;for(;a;){if(a.scope=i,!a.meta&&a.style===null)a.token==="{"||a.token==="("||a.token==="["?(i++,s=[]):a.token==="}"||a.token===")"||a.token==="]"?(i--,a.scope=i,s=[]):a.token===";"&&(s=[]);else if(a.style==="operator")a.token==="<"?s.push(a):a.token===">"?r(s,a,1):a.token===">>"&&r(s,a,2);else if(a.style==="invalid_operator"){const o=t(a);o&&r(s,a,o)}a=a.next}},detectRequirementID:function(e){const t=/\d+\.\s+\w+.+/;return this.detectPattern(e,t,"req",0)},detectBlockPath:function(e){const t=/'<.+>.*?'/;return this.detectPattern(e,t,"blk",1)},detectLibBlockPath:function(e){const t=/\('.+:\d+'\)/;return this.detectPattern(e,t,"libblk",2)}};function n(e,t,r){const i=/#\s*\w+\s/,s=e.token;if(s.slice(0,8)==="#include")return[e];const a=s.match(i);if(a===null)return[e];const o=a[0],c=a.index+o.length,h={style:"meta",token:o},v=s.slice(c),f=new C(v),g=[h];for(;!f.eol();){const m=t.token(f,r),E={token:f.current(),style:m,meta:!0};g.push(E),f.start=f.pos}return g}},_,P),_.exports=S},10986:(_,P,l)=>{"use strict";var b,S;b=[l(23494),l(26778)],S=l.dj.d(b,function(C,A){return{__proto__:A,name:"CUDA",setup:function(p){C(p);const d=p.mimeModes["text/x-c++src"],e={__proto__:d.keywords,__global__:!0,__device__:!0,__shared__:!0,__host__:!0,__constant__:!0,__launch_bounds__:!0,gridDim:!0,blockIdx:!0,blockDim:!0,threadIdx:!0,wrapSize:!0,dim3:!0,cudaMalloc:!0,cudaMemcpy:!0,cudaMemcpyHostToDevice:!0,cudaMemcpyDeviceToHost:!0,cudaFree:!0},t={__proto__:d,keywords:e};return p.defineMIME(this.name,t),p.getMode({},{name:this.name})}}},_,P),_.exports=S},73726:(_,P,l)=>{"use strict";var b,S;b=[l(14025)],S=l.dj.d(b,function(C){return{__proto__:C,createNodes:function(A){return A.map(p=>{const d=document.createElement("span"),n=p.token,e=p.style,t=p.id;d.setAttribute("id",t),e&&e.trim().split(" ").forEach(i=>d.classList.add(i)),e==="comment"&&(d.classList.add("ct"),p.type==="blk"?d.classList.add("blk"):p.type==="req"?(d.classList.add("req"),d.setAttribute("req_id",p.req_id),d.setAttribute("blockpath",p.blockpath)):p.type==="libblk"&&d.classList.add("libblk"));for(let r=0;r<n.length;r++){const i=document.createElement("c");i.innerText=n[r],d.appendChild(i)}return d})},assignLineScope:function(A,p,d,n,e){for(let t=0;t<p;t++){const r=A[t];if(this.isBlockBegin(r))e.push(d.id);else if(this.isBlockEnd(r)){const i=e.pop();if(i!==void 0){const s=n[i-1];if(s.to=d.id,d.from=s.id,r.token==="END")break}}}},slHook:function(A,p,d){if(C=this,A.style==="comment"){C.replaceNonAscii(A);let n=C.detectBlockPath(A);if(n.length>1||(n=C.detectLibBlockPath(A),n.length>1)||(n=C.detectRequirementID(A),n.length>1))return n}return A},detectRequirementID:function(A){const p=/\d+\.\s+\w+.+/;return this.detectPattern(A,p,"req",0)},detectLibBlockPath:function(A){const p=/\('.+:\d+'\)/;return this.detectPattern(A,p,"libblk",2)}}},_,P),_.exports=S},14025:(_,P,l)=>{"use strict";var b,S;b=[l(79016),l(14963),l(14619),l(26418)],S=l.dj.d(b,function(C,A,p,d){return{comment:{style:"comment"},blockBegin:[],blockEnd:[],parse:function(n){const e=this,t=new C,r=e.setup(t),i=t.splitLines(n),s=t.startState(r);return i.map(function(o,u){const c=e.parseLineForTokens(o,r,s),h=c.map(function(g){return g.token}).join(""),v=c.filter(function(g){return g.style!==e.comment.style}).map(function(g){return g.token}).join(""),f=!!v.trim();return{id:u+1,rawCode:h,tokens:c,cutoff:v.length,isCodeLine:f}})},parseLineForTokens:function(n,e,t){const r=this,i=new A(n);!i.streing&&e.blankLine&&e.blankLine(t);let s=[];for(;!i.eol();){const a=e.token(i,t),o=new d(i.current(),a),u=r.slHook(o,e,t);s=s.concat(u),i.start=i.pos}return s},createNodes:function(n){return n.map(e=>{const t=document.createElement("span"),r=e.token,i=e.style;i&&i.trim().split(" ").forEach(a=>t.classList.add(a));for(let s=0;s<r.length;s++){const a=document.createElement("c");a.innerText=r[s],t.appendChild(a)}return t})},createNoComment:function(n){let e="";const t=this;return n.forEach(function(r){r.style!==t.comment.style&&(e+=r.token)}),e},createTokenScope:function(n){},createScope:function(n){this.createTokenScope(n);const e=n.length,t=[];for(let r=0;r<e;++r){const i=n[r],s=i.tokens,a=s.length;for(let u=0;u<a;u++){const c=s[u];if(c.token.trim())if(this.isBlockEnd(c)){i.indent=t.length-1;break}else{i.indent=t.length;break}else continue}const o=s[0];o&&!o.token.trim()?i.indentSpace=o.token.length:i.indentSpace=0,this.assignLineScope(s,a,i,n,t),i.up=t.filter(u=>u!==i.id),i.spaces=i.up.map(u=>{const c=n[u-1],h=c.tokens;let v=h[0];for(;v&&!v.token.trim();)v=v.next;let f=h[h.length-1];for(;f&&!f.token.trim();)f=f.prev;if(v.scope===f.scope)return c.indentSpace;{let g=v.prev;for(;g&&g.scope>f.scope;)g=g.prev;return g?n[g.line-1].indentSpace:c.indentSpace}})}},assignLineScope:function(n,e,t,r,i){for(let s=0;s<e;s++){const a=n[s];if(this.isBlockBegin(a))i.push(t.id);else if(this.isBlockEnd(a)){const o=i.pop();if(o!==void 0){const u=r[o-1];u.to=t.id,t.from=u.id}}}},slHook:function(n){return n},isBlockBegin(n){return this.isEq(n,this.blockBegin)},isBlockEnd(n){return this.isEq(n,this.blockEnd)},isEq(n,e){Array.isArray(e)||(e=[e]);const t=n.style,r=n.token;for(let i=0;i<e.length;i++){const s=e[i],a=s.style,o=s.token;let u=!1;if(t!==void 0&&a!==void 0&&(u=t===a),r!==void 0&&o!==void 0&&(u=u&&r===o),u)return!0}return!1},replaceNonAscii:n=>{const e=n.token,t=/&#\w+;/g;n.token=e.replace(t,p.html2text)},detectPattern:(n,e,t,r)=>{const i=n.token,s=i.match(e);if(s===null)return[n];const a=s[0];let o=s.index,u=o+a.length;o+=r,u-=r;const c=i.slice(0,o),h=i.slice(o,u),v=i.slice(u),f={token:c,style:n.style},g={token:h,style:n.style,type:t},m={token:v,style:n.style};return[f,g,m].filter(function(w){return w.token})}}},_,P),_.exports=S},61986:(_,P,l)=>{"use strict";var b,S;b=[l(26778)],S=l.dj.d(b,function(R){return{analyze:function(T){let N="parser";console.time(N),Array.isArray(T)||(T=[T]);const F=T.filter(function(x){return x.lang===R});C(F);const y=A(F);return this.defineMap=y,console.timeEnd(N),N="build defs",console.time(N),this.buildDefs(F),console.timeEnd(N),y},locateDef:function(T){return f(T,this.defineMap)},buildDefs:M}},_,P),_.exports=S;function C(R){R.forEach(function(T){let N=T.codeList[0].tokens[0];for(;N;)(N.style==="comment"||N.style==="blk"||N.style==="req"||N.style==="libblk"||N.style==="meta"||N.meta||!N.token.trim()||N.template===!0)&&(N.skip=!0),N=N.next})}function A(R){const T=new Map;return R.forEach(function(N){const F=N.codeList.firstTk;if(!F)return;const y={style:"global",scope:-1,defs:[]};try{d(F,y)}catch(x){console.error(x)}try{p(y,T)}catch(x){console.error(x)}}),T}function p(R,T){const N=R.fullname;R.defs.forEach(function(F){N?F.fullname=N+"::"+F.token:F.fullname=F.token,T.set(F.fullname,F),(F.def==="type"||F.def==="cls"||F.def==="ns")&&F.defs&&p(F,T)})}function d(R,T){T.defs||(T.defs=[]);const N=R.scope;for(;R&&R.scope>T.scope&&(R.parent=T,!R.skip&&R.scope===N&&(R.style==="keyword"?R.token==="extern"||R.token==="return"?R=c(R,";",T):R.token==="using"?R=e(R,T):R.token==="template"?R=t(R,T):R.token==="typedef"?R=i(R,T):R.token==="struct"?R=s(R,T,"type",!1).it:R.token==="class"?R=s(R,T,"cls",!1).it:R.token==="auto"||R.token==="decltype"?R=a(R,T,R):R.token==="namespace"&&(R=n(R,T)):R.style==="variable"||R.style==="variable-3"?R=a(R,T,R):R.style===null&&R.token==="{"&&(R=d(R.next,R))),R);)R=R.next;return R}function n(R,T){T.defs||(T.defs=[]);const N=R.scope,F=v(R,function(y){return y.scope===N&&y.style===null&&y.token==="{"},function(y){return y.scope>N||y.scope===N&&y.style===null&&y.token===";"},!1,T);if(F.success){const y=F.it,x=v(y,function(L){return L.scope===N&&(L.style==="def"||L.style==="variable")},function(L){return L===R},!0,T);let O;return x.success?(O=x.it,O.def="ns",T.defs.push(O)):O=y,d(y.next,O)}else return F.it}function e(R,T){T.defs||(T.defs=[]);let N=v(R,function(y){return y.scope===R.scope&&(y.style==="variable"||y.style==="variable-3")},function(y){return y.scope<R.scope||y.style===null&&y.token===";"},!1,T);const F=N.it;return N.success?(N=v(N.it,function(y){return y.scope===R.scope&&y.style==="operator"&&y.token==="="},function(y){return y.scope<R.scope||y.style===null&&y.token===";"},!1,T),N.success&&(F.def="type",T.defs.push(F),N=v(N.it,function(y){return y.scope===R.scope&&y.style===null&&y.token===";"},null,!1,T)),N.it):F}function t(R,T){let N=r(R);const F=R.scope;for(;N&&N.scope>=F;){if(N.parent=T,!N.skip&&N.scope===F){if(N.style==="keyword"){if(N.token==="class"){N=s(N,T,"cls").it;break}else if(N.token==="struct"){N=s(N,T,"type").it;break}}else if(N.style==="variable-3"||N.style==="variable"){N=a(N,T);break}}N=N.next}return N}function r(R){let T=0,N=!1;const F=R;let y=R.next;for(;y;){if(y.parent=F,y.style==="operator"&&(y.token==="<"?(T++,N=!0):y.token===">"&&T--,T===0&&N))return y;y=y.next}return y}function i(R,T){let N=R.next;const F=R.scope;let y=v(N,function(L){return L.scope===F&&L.style===null&&L.token===";"},function(L){return L.scope<F},!1,T);const x=y.it;if(!y.success)return x;let O;for(;N&&N.scope>=F;){if(!N.skip&&N.scope===F&&(N.style==="keyword"?N.token==="struct"?(y=s(N,T,"type",!0),N=y.it,O=y.tk):N.token==="class"&&(y=s(N,T,"cls",!0),N=y.it,O=y.tk):N.style==="variable"?O?(N.def="type",N.typename=O,T.defs.push(N)):O=N:N.style==="def"?O&&(N.def="type",N.typename=O,T.defs.push(N)):N.style==="variable-3"&&(O=N)),N===x)return x;N=N.next}return x}function s(R,T,N,F){let y=R;const x=R.scope;let O=null,L=v(R,function(W){return W.scope===x&&W.style===null&&W.token==="{"},function(W){return W.scope<x||W.scope===x&&W.style===null&&W.token===";"},!1,T);if(L.success){const W=L.it;L=v(R,function(H){return H.scope===x&&H.style===null&&H.token===":"},function(H){return H===W},!1,T);const j=L.success?L.it:W;return L=v(j,function(H){return H.scope===x&&(H.style==="def"||H.style==="variable")},function(H){return H===R},!0,T),L.success?(O=L.it,O.def=N,T.defs.push(O)):O=W,y=d(W.next,O),F||(y=a(y,T,O,F)),{tk:O,it:y}}else{const W=L.it;if(L=v(R,function(j){return j.scope===x&&(j.style==="def"||j.style==="variable")},function(j){return j===W},!1,T),L.success)return O=L.it,y=a(O,T,O,F),{tk:O,it:y}}}function a(R,T,N,F){R.parent=T;let y=R.next,x=null;const O=R.scope,L=F?"type":"var";let W=0;for(;y&&y.scope>=O;){if(y.parent=T,!y.skip&&y.scope===O){if(W===0)if(y.style==="variable"||y.style==="def"||y.style==="keyword"&&y.token==="operator")x=y,W=1;else{if(y.style==="keyword"&&(y.token==="class"||y.token==="namespace"||y.token==="template"))return y.prev;(y.style===null&&(y.token===";"||y.token==="."||y.token==="{"||y.token==="}"||y.token==="("||y.token===")")||y.style==="operator"&&y.token!=="*"&&y.token!=="**"&&y.token!=="&"&&y.token!=="&&"||y.style==="invalid_operator")&&(W=-1)}else if(W===1)y.style==="variable"||y.style==="variable-3"?W=-1:y.style===null&&y.token==="("?(y=o(x,y,R,T),W=-1):y.style===null&&y.token==="{"||y.style==="operator"&&y.token==="="?W=3:y.style===null&&y.token===";"?(x.def=L,x.typename=N,T.defs.push(x),W=-1):y.style==="operator"&&(W=-1);else if(W===3&&y.style===null&&y.token===";")return x.def=L,x.typename=N,T.defs.push(x),y;if(W===-1)return h(y,R.scope,T)}if(y)y=y.next;else break}return y}function o(R,T,N,F){const y=R.scope;let x=v(T.next,function(L){return L.scope===y&&L.token===")"},function(L){return L.scope===y&&L.token!==")"},!1,R),O=x.it;return x.success&&(x=v(O,function(L){return L.scope===y&&L.style===null&&L.token==="{"},function(L){return L.scope===y&&L.style===null&&L.token===";"},!1,F),x.success?(u(T,x.it,R),R.def="fcn",R.typename=N,F.defs.push(R),O=d(x.it.next,R)):O=x.it),O}function u(R,T,N){N.defs||(N.defs=[]);const F=N.scope;let y=v(R,function(j){return j.scope===F&&j.style===null&&(j.token===":"||j.token==="{")},function(j){return j===T},!1,N);y=v(y.it,function(j){return j.scope===F&&j.style===null&&j.token==="("},function(j){return j===R},!0,N);let x=y.it.next,O=0,L=null;const W=F+1;for(;x&&x.scope>=W;)x.parent=N,!x.skip&&x.scope===W&&(O===0?(x.style==="variable"||x.style==="variable-3")&&(L=x,O=1):O===1&&(x.style==="variable"||x.style==="def"?(x.def="var",x.typename=L,N.defs.push(x),L=null,O=0):x.style===null&&x.token===","&&(L=null,O=0))),x=x.next;return x}function c(R,T,N){let F=R;const y=R.scope;for(;F&&F.scope>=y;){if(F.parent=N,F.scope===y&&!F.skip&&F.style===null&&F.token===T)return F;F=F.next}return F}function h(R,T,N){for(;R;){if(R.parent=N,!R.skip&&R.scope===T&&R.style===null&&(R.token===";"||R.token==="}"))return R;R=R.next}return R}function v(R,T,N,F,y){for(;R;){if(R.parent=y,N&&N(R))return{it:R,success:!1};if(T(R))return{it:R,success:!0};F?R=R.prev:R=R.next}return{it:null,success:!1}}function f(R,T){if(R.def)return R.define=R,R;if(R.define!==void 0)return R.define;if(R.style!=="variable"&&R.style!=="def")return R.define=null,null;let N=null;const F=g(R);return F?F.style==="keyword"?N=w(R,T):N=E(R,F,T):N=m(R,T),R.define=N,N}function g(R){let T=R.prev;const N=R.scope;let F=0;for(;T;){if(T.scope===N&&T.token.trim())if(F===0)if(T.style===null&&T.token==="."||T.style==="operator"&&T.token==="->")F=1;else return null;else{if(T.style==="variable"||T.style==="def"||T.style==="keyword"&&T.token==="this")return T;if(!(T.style===null&&(T.token==="("||T.token===")")))return null}T=T.prev}return null}function m(R,T){if(R.define!==void 0)return R.define;let N=null,F=R.parent;for(;F;){if(F.defs)for(let y=0,x=F.defs.length;y<x;y++){const O=F.defs[y];if(O.token===R.token)return R.define=O,O}if(F.def==="cls"||F.def==="type"||F.def==="ns"){const y=F.fullname+"::"+R.token;if(N=T.get(y),N)return R.define=N,N}else if(F.def==="fcn"){const x=F.token.split("::"),O=x.length;if(O>1){x[O-1]=R.token;const L=x.join("::");if(N=T.get(L),N)return R.define=N,N}}F=F.parent}return N=T.get(R.token),N||(N=null),R.define=N,N}function E(R,T,N){if(R.define!==void 0)return R.define;const F=f(T,N);if(!F)return R.define=null,null;const y=F.typename;if(!y)return R.define=null,null;const x=I(R,y,N);return R.define=x,x}function w(R,T){if(R.define!==void 0)return R.define;let N=null,F=R.parent;for(;F;){if(F.def==="fcn"){const y=F.parent;if(y.def==="cls")if(y.token==="{"){if(y.defs){for(let x=0,O=y.defs.length;x<O;x++)if(N=y.defs[x],N.token===R.token)return R.define=N,N}}else{const O=y.fullname+"::"+R.token;if(N=T.get(O),N)return R.define=N,N}else{const O=F.token.split("::"),L=O.length;if(L>1){O[L-1]=R.token;const W=O.join("::");if(N=T.get(W),N)return R.define=N,N}}return R.defTk=null,null}F=F.parent}}function I(R,T,N){let F=null;if(T.defs){for(let O=0,L=T.defs.length;O<L;O++)if(F=T.defs[O],F.token===R.token)return F}const y=f(T,N);if(!y)return null;const x=y.fullname+"::"+R.token;return F=N.get(x),F||(y.typename&&(F=I(R,y.typename,N)),F)}function M(R){const T=this.defineMap;R.forEach(function(N){for(let F=N.codeList.firstTk;F;F=F.next)try{const y=f(F,T);y&&(y.usage||(y.usage=[]),y.usage.push(F))}catch(y){console.error(y)}})}},10802:(_,P,l)=>{"use strict";var b,S;b=[l(37106),l(76394)],S=l.dj.d(b,function(C,A){return{__proto__:A,name:"SystemVerilog",setup:function(p){C(p);const d=p.mimeModes["text/x-systemverilog"],e={__proto__:d.keywords,alias:!0,endinterfac:!0,longint:!0,shortreal:!0,always_co:!0,endpackag:!0,mb:!0,matches:!0,always_ff:!0,always_lat:!0,modport:!0,solve:!0,ch:!0,endprogra:!0,assert:!0,endpropert:!0,new:!0,static:!0,assume:!0,string:!0,before:!0,endsequen:!0,ce:!0,struct:!0,bind:!0,super:!0,bins:!0,binsof:!0,enum:!0,bit:!0,break:!0,expect:!0,tagged:!0,export:!0,extends:!0,package:!0,this:!0,extern:!0,packed:!0,throughout:!0,byte:!0,final:!0,first_matc:!0,timeprecisi:!0,on:!0,timeunit:!0,priority:!0,chandle:!0,foreach:!0,program:!0,property:!0,clocking:!0,protected:!0,forkjoin:!0,const:!0,constraint:!0,context:!0,continue:!0,cover:!0,covergroup:!0,coverpoint:!0,cross:!0,type:!0,typedef:!0,union:!0,unique:!0,pure:!0,rand:!0,randc:!0,randcase:!0,randsequence:!0,ignore_bin:!0,illegal_bin:!0,import:!0,dist:!0,do:!0,virtual:!0,void:!0,wait_order:!0,ref:!0,interface:!0,intersect:!0,endclass:!0,endclockin:!0,join_any:!0,join_none:!0,sequence:!0,shortint:!0,with:!0,within:!0,wildcard:!0,endgroup:!0,local:!0,logic:!0},t={__proto__:d,keywords:e};return p.defineMIME(this.name,t),p.getMode({},{name:this.name})}}},_,P),_.exports=S},48192:(_,P,l)=>{"use strict";var b,S;b=[l(14025)],S=l.dj.d(b,function(C){return{__proto__:C,name:"Plain Text",parse:function(A){return A.split(`
`).map(function(n,e){return{id:e+1,rawCode:n,tokens:[{token:n,style:null}],cutoff:n.length,isCodeLine:!0}})},createScope:function(A){}}},_,P),_.exports=S},84113:(_,P,l)=>{"use strict";var b,S;b=[l(26418),l(26778),l(10986),l(47418),l(7998),l(85571),l(76394),l(10802),l(48192)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i){const s=new Map;s.set("c",A),s.set("cpp",A),s.set("h",A),s.set("hpp",A),s.set("cu",p),s.set("xml",d),s.set("arxml",d),s.set("a2l",n),s.set("vhd",e),s.set("v",t),s.set("sv",r);const a={parseCode:o};return window.tokenizer=a,a;function o(u,c){let h=s.get(c.toLowerCase());h||(h=i);const v=h.parse(u),f=v.length-1;for(let E=0;E<f;E++)v[E].tokens.push(new C(`
`,null));let g=null,m=null;return v.forEach(function(E){let w=1;E.tokens.forEach(function(I){I.line=E.id,I.col=w,w+=I.token.length,g?(g.next=I,I.prev=g):m=I,g=I})}),v.firstTk=m,h.createScope(v),{lang:h,codeList:v}}},_,P),_.exports=S},76394:(_,P,l)=>{"use strict";var b,S;b=[l(37106),l(73726)],S=l.dj.d(b,function(C,A){return{__proto__:A,setup:function(p){C(p);const d={name:"verilog"};return p.getMode({},d)},detectBlockPath:function(p){const d=/<.+>\/*[a-z|A-Z|0-9|_]*/;return this.detectPattern(p,d,"blk",0)},blockBegin:[{style:"keyword",token:"module"},{style:"keyword",token:"begin"}],blockEnd:[{style:"keyword",token:"end"},{style:"keyword",token:"endmodule"}],comment:{style:"comment"}}},_,P),_.exports=S},85571:(_,P,l)=>{"use strict";var b,S;b=[l(21332),l(73726)],S=l.dj.d(b,function(C,A){return{__proto__:A,setup:function(p){C(p);const d={name:"vhdl"};return p.getMode({},d)},detectBlockPath:function(p){const d=/<.+>\/*[a-z|A-Z|0-9|_]*/;return this.detectPattern(p,d,"blk",0)},blockBegin:[{style:"keyword",token:"IS"},{style:"keyword",token:"COMPONENT"},{style:"keyword",token:"THEN"},{style:"keyword",token:"PROCESS"}],blockEnd:[{style:"keyword",token:"END"},{style:"keyword",token:"ELSIF"}],comment:{style:"comment"}}},_,P),_.exports=S},47418:(_,P,l)=>{"use strict";var b,S;b=[l(50822),l(14025)],S=l.dj.d(b,function(C,A){return{__proto__:A,setup:function(p){C(p);const d={name:"text/xml"};return p.getMode({},d)},blockBegin:{style:"xml tag bracket",token:"<"},blockEnd:[{style:"xml tag bracket",token:"</"},{style:"xml tag bracket",token:"/>"}],comment:{style:"xml comment"}}},_,P),_.exports=S},54855:(_,P,l)=>{_.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7",FunRate:"\u30BF\u30A4\u30DE\u30FC",HeaderNotFound:"Trace Matrix \u306F\u30D8\u30C3\u30C0\u30FC\u884C\u3092\u542B\u3093\u3067\u3044\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30C4\u30FC\u30EB\u306F\u3001\u524D\u306E\u30B3\u30E1\u30F3\u30C8 (\u5B58\u5728\u3059\u308B\u5834\u5408) \u3068\u4E00\u81F4\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3002",IECLicenseNotAvailable:"IEC Certification Kit \u3082 DO Qualification kit \u306E\u30E9\u30A4\u30BB\u30F3\u30B9\u3082\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",InitFun:"\u95A2\u6570",LicenseNotAvailable:"${0} \u306E\u30E9\u30A4\u30BB\u30F3\u30B9\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",NoBuildDir:"\u30D3\u30EB\u30C9\u60C5\u5831\u3092\u5FA9\u65E7\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u3092\u518D\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",NoTraceForSelectedBlocks:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u3067\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",NotAPC:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u95A2\u6570\u306F Windows \u30D9\u30FC\u30B9\u306E\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u30FC\u4E0A\u3067\u5B9F\u884C\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",OneShot:"1 \u56DE\u547C\u3073\u51FA\u3057",RTWReportInformationSource:"\u30C7\u30FC\u30BF \u30BD\u30FC\u30B9\u306E\u30EC\u30DD\u30FC\u30C8",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Excel \u30B5\u30FC\u30D0\u30FC\u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093\u3002\u5236\u9650\u306B\u3064\u3044\u3066\u306F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C6\u30FC\u30B7\u30E7\u30F3\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"\u95A2\u6570",TermFun:"\u95A2\u6570",TraceFailure:"ExportTraceReport \u306B\u5931\u6557\u3057\u305F\u3089\u3001\u30E2\u30C7\u30EB\u304C\u958B\u3044\u3066\u3044\u308B\u3053\u3068\u3001\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3001\u30B3\u30FC\u30C9\u306E\u30B3\u30E1\u30F3\u30C8\u304C\u6709\u52B9\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u307E\u3059\u3002",TraceUsagedo178b:"ExportTraceReport \u306F\u3001\u5C11\u306A\u304F\u3068\u3082\u30E2\u30C7\u30EB\u540D do178c.ExportTraceReport(<model>) \u3067\u547C\u3073\u51FA\u3055\u308C\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",TraceUsageiec:"ExportTraceReport \u304C\u5C11\u306A\u304F\u3068\u3082\u30E2\u30C7\u30EB\u540D iec.ExportTraceReport(<model>) \u3067\u547C\u3073\u51FA\u3055\u308C\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",UnableToOpenExcelFile:"Microsoft Office Excel \u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093",UpdateFun:"\u95A2\u6570",blockNotInModel:"'${0}' \u306F\u3001\u540C\u3058\u30E2\u30C7\u30EB\u306B\u5C5E\u3057\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",blockOutsideSystem:"'${0}' \u306F\u3001\u30BD\u30FC\u30B9\u306E\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u306E\u5916\u5074\u306B\u3042\u308B\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",blockToCodeHighlighting:"\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3",browseButton:"\u5F37\u8ABF\u8868\u793A\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u53C2\u7167\u3057\u307E\u3059\u3002",buildDirBrowseButton:"\u53C2\u7167...",buildDirBrowseToolTip:"\u5F37\u8ABF\u8868\u793A\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u53C2\u7167\u3057\u307E\u3059\u3002",buildDirNotFound:"\u30E2\u30C7\u30EB ${1} \u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC ${0} \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buildDirNotFoundOrTraceInfoNotAvailable:"\u30E2\u30C7\u30EB '${0}' \u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u307E\u305F\u306F\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9\u751F\u6210] > [\u30EC\u30DD\u30FC\u30C8] > [\u8A73\u7D30\u8A2D\u5B9A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC] > [\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u306B] \u3092\u9078\u629E\u3057\u3066\u3001\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buildDirectory:"\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC",buildDirectoryToolTip:"\u8FFD\u8DE1\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",codeInfoNotAvailable:"\u3053\u306E\u30E2\u30C7\u30EB\u3067\u306F\u30B3\u30FC\u30C9\u60C5\u5831\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",commentOptionOff:"'${0}' \u3067\u306F\u6B21\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3001[\u30B3\u30FC\u30C9\u751F\u6210]\u3001[\u30B3\u30E1\u30F3\u30C8]\u3001[\u30B3\u30E1\u30F3\u30C8\u3092\u542B\u3081\u308B] \u304A\u3088\u3073 [\u30B3\u30FC\u30C9\u751F\u6210]\u3001[\u30B3\u30E1\u30F3\u30C8]\u3001[Simulink \u30D6\u30ED\u30C3\u30AF / Stateflow \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30B3\u30E1\u30F3\u30C8] \u3092\u9078\u629E\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u9078\u629E\u3057\u3066\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",dlgDescription:`\u65E2\u5B58\u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304B\u3089\u751F\u6210\u30B3\u30FC\u30C9\u3092\u53D6\u308A\u51FA\u3057\u307E\u3059\u3002\u3053\u306E\u30B9\u30C6\u30C3\u30D7\u306F\u3001\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u73FE\u5728\u306E\u4F5C\u696D\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u306A\u304F\u3001\u30E2\u30C7\u30EB\u304C\u9589\u3058\u3089\u308C\u3066\u304A\u308A\u3001\u30B3\u30FC\u30C9\u751F\u6210\u5F8C\u306B\u518D\u5EA6\u958B\u304B\u308C\u305F\u5834\u5408\u306B\u306E\u307F\u5FC5\u8981\u3067\u3059\u3002
\u30E1\u30E2: \u30EA\u30D3\u30EB\u30C9\u3001\u307E\u305F\u306F\u30E2\u30C7\u30EB\u3092\u9589\u3058\u305F\u5834\u5408\u3001\u8A2D\u5B9A\u306F\u5931\u308F\u308C\u307E\u3059\u3002`,dlgDescriptionTitle:"\u8AAC\u660E",emptySubsystem:"Empty SubSystem",generatedCode:"\u751F\u6210\u30B3\u30FC\u30C9\u306E\u53D6\u5F97",htmlNotFound:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",htmlTimeStampNotMatch:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u3068\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",illegalCharacter:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u5316\u3059\u308B\u4E0D\u6B63\u306A\u6587\u5B57 (\u4E00\u91CD\u5F15\u7528\u7B26) \u3092\u542B\u3093\u3067\u3044\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u540D\u304B\u3089\u4E00\u91CD\u5F15\u7528\u7B26\u3092\u524A\u9664\u3057\u3001\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' \u306F\u3001\u30DE\u30B9\u30AF \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u3001Subsystem \u30D6\u30ED\u30C3\u30AF\u306E\u30EC\u30D9\u30EB\u3067\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u3001\u30DE\u30B9\u30AF\u5185\u306E\u500B\u3005\u306E\u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u5229\u7528\u3067\u304D\u307E\u3059\u3002",maskedSubsystem:"Masked SubSystem",modelChanged:"\u30E2\u30C7\u30EB\u306F\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u73FE\u5728\u306E\u3082\u306E\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",modelDirNotMatch:`\u30E2\u30C7\u30EB\u306E\u73FE\u5728\u306E\u30D1\u30B9\u306F\u3001\u30B3\u30FC\u30C9\u751F\u6210\u6642\u306E\u3082\u306E\u3068\u540C\u3058\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002
\u73FE\u5728\u306E\u30D1\u30B9:
'\${0}'
\u4EE5\u524D\u306E\u30D1\u30B9:
'\${1}'`,modelUnsaved:"\u30E2\u30C7\u30EB\u3078\u306E\u5909\u66F4\u306F\u4FDD\u5B58\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u73FE\u5728\u306E\u3082\u306E\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",notGenerated:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u751F\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",notReady:"\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",notTraceable:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u305F\u3081\u3001'${0}' \u306B\u95A2\u3059\u308B\u30B3\u30FC\u30C9\u306F\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB '${1}' \u306B\u5BFE\u3059\u308B\u6709\u52B9\u306A\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093\u3002",reducedBlock:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u4E2D\u306B\u524A\u6E1B\u3055\u308C\u307E\u3059\u3002\u30B3\u30FC\u30C9\u306F\u524A\u6E1B\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3002",reusableFunction:"'${0}' \u306B\u5BFE\u3059\u308B\u30B3\u30FC\u30C9\u306F\u3001\u518D\u5229\u7528\u53EF\u80FD\u306A\u95A2\u6570\u304B\u3089\u306E\u3082\u306E\u3067\u3042\u308B\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",srcNotFound:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u304C\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u5185\u3067\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",srcTimeStampNotFound:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u304C\u73FE\u5728\u306E\u3082\u306E\u3067\u3042\u308B\u304B\u3069\u3046\u304B\u3092\u691C\u8A3C\u3059\u308B\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",srcTimeStampNotMatch:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3068\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",tInfoExcelCheckSumFailed:"\u95A2\u6570\u306F\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0\u3092\u8A08\u7B97\u3067\u304D\u307E\u305B\u3093",tInfoExcelCodeInfoTab:"\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9",tInfoExcelError_BadHeader:"\u5165\u529B\u306E\u30D8\u30C3\u30C0\u30FC \u30D5\u30A1\u30A4\u30EB\u306F\u30BB\u30EB\u914D\u5217\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",tInfoExcelError_ExcelFileFiledToOpen:"Excel \u30D5\u30A1\u30A4\u30EB '${0}' \u3092\u958B\u304F\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093",tInfoExcelError_InvalidHeaderEntry:"\u30D8\u30C3\u30C0\u30FC\u306E\u30A8\u30F3\u30C8\u30EA '${0}' \u306F\u3001\u6709\u52B9\u306A\u30A8\u30F3\u30C8\u30EA\u3067\u306F\u3042\u308A\u307E\u305B\u3093",tInfoExcelError_NoWritePer:"MATLAB \u306F\u9078\u629E\u3057\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA '${0}' \u306B\u66F8\u304D\u8FBC\u307F\u3067\u304D\u307E\u305B\u3093; \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u66F8\u304D\u8FBC\u307F\u6A29\u9650\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",tInfoExcelFileList:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB",tInfoExcelFileLocation:"\u30D5\u30A1\u30A4\u30EB\u306E\u30D5\u30A9\u30EB\u30C0\u30FC",tInfoExcelFileName:"\u30D5\u30A1\u30A4\u30EB\u540D",tInfoExcelGUI_BadDirectory:"\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA '${0}' \u306F\u6709\u52B9\u306A\u9078\u629E\u3067\u306F\u3042\u308A\u307E\u305B\u3093",tInfoExcelGlobal:"\u30B0\u30ED\u30FC\u30D0\u30EB",tInfoExcelInfoTab:"\u30E2\u30C7\u30EB\u60C5\u5831",tInfoExcelLastUpdate:"\u6B21\u306E\u6700\u7D42\u66F4\u65B0\u65E5\u306B\u66F4\u65B0\u3055\u308C\u305F\u30E2\u30C7\u30EB",tInfoExcelLastUpdateBy:"\u6B21\u306E\u6700\u7D42\u7DE8\u96C6\u8005\u304C\u7DE8\u96C6\u3057\u305F\u30E2\u30C7\u30EB",tInfoExcelModelAuthor:"\u30E2\u30C7\u30EB\u306E\u4F5C\u6210\u8005",tInfoExcelModelCheckSum:"\u30E2\u30C7\u30EB\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelModelCol_1:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u540D",tInfoExcelModelCol_10:"\u8981\u4EF6\u30BD\u30FC\u30B9",tInfoExcelModelCol_11:"\u8981\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_12:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u56FA\u6709 ID",tInfoExcelModelCol_13:"\u30E2\u30C7\u30EB\u6700\u9069\u5316\u7406\u7531",tInfoExcelModelCol_14:"\u30E6\u30FC\u30C6\u30A3\u30EA\u30C6\u30A3\u95A2\u6570",tInfoExcelModelCol_15:"\u6700\u9069\u5316\u3055\u308C\u305F\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",tInfoExcelModelCol_16:"\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB",tInfoExcelModelCol_17:"\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240",tInfoExcelModelCol_18:"\u30B3\u30FC\u30C9 \u30B3\u30E1\u30F3\u30C8\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelModelCol_19:"\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u4F7F\u7528\u65B9\u6CD5\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059",tInfoExcelModelCol_2:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30D1\u30B9",tInfoExcelModelCol_3:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0",tInfoExcelModelCol_4:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240",tInfoExcelModelCol_5:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB\u540D",tInfoExcelModelCol_6:"\u30B3\u30FC\u30C9\u95A2\u6570",tInfoExcelModelCol_7:"\u30B3\u30FC\u30C9\u884C\u756A\u53F7",tInfoExcelModelCol_8:"\u76F8\u5BFE\u4F4D\u7F6E",tInfoExcelModelCol_9:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30BF\u30A4\u30D7",tInfoExcelModelCreationDate:"\u6B21\u306E\u4F5C\u6210\u65E5\u306B\u4F5C\u6210\u3055\u308C\u305F\u30E2\u30C7\u30EB",tInfoExcelModelName:"\u30E2\u30C7\u30EB / \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u540D",tInfoExcelModelVersion:"\u30E2\u30C7\u30EB \u30D0\u30FC\u30B8\u30E7\u30F3",tInfoExcelNone:"\u306A\u3057",tInfoExcelNotUnique:"\u884C\u306F\u56FA\u6709\u3067\u306F\u3042\u308A\u307E\u305B\u3093:",tInfoExcelReport:"\u30EC\u30DD\u30FC\u30C8",tInfoExcelSubsystemCheckSum:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelSubsystemCheckSumUsed:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0\u5024\u304C\u30EC\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F",tInfoExcelSubsystemUsed:"\u30E1\u30E2: \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304C\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F\u3002",tInfoGUIAvailCol:"\u4F7F\u7528\u53EF\u80FD\u306A\u5217",tInfoGUIBrowse:"\u53C2\u7167...",tInfoGUIBrowseToolTip:"\u66F4\u65B0\u3059\u308B\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3059\u308B\u304B\u3001\u65B0\u3057\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044",tInfoGUIDescription:"\u8AAC\u660E",tInfoGUIDescriptionText:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306F\u3001\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3001\u751F\u6210\u30B3\u30FC\u30C9\u3001\u304A\u3088\u3073\u30E2\u30C7\u30EB\u8981\u4EF6\u9593\u306E\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u3092 Excel \u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u3067\u63D0\u4F9B\u3057\u307E\u3059\u3002<br /><br /><b>[\u53C2\u7167]</b> \u30DC\u30BF\u30F3\u3092\u4F7F\u7528\u3057\u3066\u65E2\u5B58\u306E\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9 \u30EC\u30DD\u30FC\u30C8\u3092\u9078\u629E\u3057\u3066\u66F4\u65B0\u3059\u308B\u304B\u3001\u65B0\u3057\u3044\u30EC\u30DD\u30FC\u30C8\u306E\u540D\u524D\u3068\u5834\u6240\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30EA\u30B9\u30C8 \u30DA\u30A4\u30F3\u3092\u4F7F\u7528\u3057\u3066\u30EC\u30DD\u30FC\u30C8\u306E\u5217\u898B\u51FA\u3057\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002<br><br><b>[\u751F\u6210]</b> \u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9 \u30EC\u30DD\u30FC\u30C8\u3092\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044",tInfoGUIDiagTitle:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u751F\u6210",tInfoGUIExcelFile:"Excel \u30D5\u30A1\u30A4\u30EB",tInfoGUIGenerate:"\u751F\u6210",tInfoGUIGenerateToolTip:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u3092\u751F\u6210\u3057\u307E\u3059",tInfoGUISelectedCol:"\u9078\u629E\u5217",tInfoGUIStarText:"<b>*</b> \u8981\u6C42\u3055\u308C\u305F\u9805\u76EE\u306E\u9078\u629E\u3092\u89E3\u9664\u3067\u304D\u307E\u305B\u3093",tooManyLines:"\u30D6\u30ED\u30C3\u30AF\u306E\u30B3\u30FC\u30C9\u306F\u3001\u5F37\u8ABF\u8868\u793A\u3059\u308B\u884C\u304C\u591A\u3059\u304E\u307E\u3059\u3002\u3044\u304F\u3064\u304B\u306E\u884C\u306F\u3001\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u5185\u3092\u5F37\u8ABF\u8868\u793A\u3055\u308C\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC
'\${0}'
\u306B\u683C\u7D0D\u3055\u308C\u3066\u3044\u308B\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u3092\u518D\u751F\u6210\u3059\u308B\u305F\u3081\u306B\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,traceInfoNotAvailable:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u3001\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002[\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC] \u30C0\u30A4\u30A2\u30ED\u30B0 \u30DC\u30C3\u30AF\u30B9\u3067 <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">[\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u306B]</a> \u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",virtualBlock:"'${0}' \u306F\u30D0\u30FC\u30C1\u30E3\u30EB \u30D6\u30ED\u30C3\u30AF\u3067\u3059\u3002\u30B3\u30FC\u30C9\u306F\u30D0\u30FC\u30C1\u30E3\u30EB \u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3002",virtualSubsystem:"Virtual SubSystem"}},51154:(_,P,l)=>{_.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"Prototype",FunRate:"Timing",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"Function",LicenseNotAvailable:"A ${0} license is not available.",NoBuildDir:"Cannot recover build information. Please regenerate code.",NoTraceForSelectedBlocks:"Traceability information is not available for the selected blocks.",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"Called once",RTWReportInformationSource:"Report data source",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"Function",TermFun:"Function",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"Function",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"Model-to-code navigation",browseButton:"Browse to build folder to highlight.",buildDirBrowseButton:"Browse ...",buildDirBrowseToolTip:"Browse to build folder to highlight.",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirNotFoundOrTraceInfoNotAvailable:"Cannot find build folder or traceability information of model '${0}'. Verify that code was generated with configuration set parameter Code Generation > Report > Advanced Parameters > Model-to-code selected.",buildDirectory:"Build folder",buildDirectoryToolTip:"Set build folder to be traced.",codeInfoNotAvailable:"Code information is not available for this model.",commentOptionOff:"'${0}' requires the following parameters be selected: 'Code Generation > Comments > Include comments' and 'Code Generation> Comments > Simulink block / Stateflow object comments'. Select the parameters and rebuild model.",dlgDescription:`Retrieve generated code from existing build folder. This step is necessary only when the build folder is not located in the current working folder and the model was closed and reopened after code generation.
Note: The setting is lost when you rebuild or close the model.`,dlgDescriptionTitle:"Description",emptySubsystem:"Empty SubSystem",generatedCode:"Retrieve generated code",htmlNotFound:"Code generation report cannot be found.",htmlTimeStampNotMatch:"Timestamps of code generation report and generated code do not match.",illegalCharacter:"'${0}' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.",maskedSubsystem:"Masked SubSystem",modelChanged:"Model has been modified. Traceability information might not be current.",modelDirNotMatch:`The current path to the model is not the same as it was at the time of code generation.
Current path:
'\${0}'
Previous path:
'\${1}'`,modelUnsaved:"Changes to model have not been saved. Traceability information might not be current.",notGenerated:"Traceability information has not been generated.",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"Model-to-code navigation is not enabled.",reducedBlock:"'${0}' is reduced during model compilation. Code is not generated for reduced blocks.",reusableFunction:"Code for '${0}' is from reusable function and cannot be traced.",srcNotFound:"Generated code is not found in build folder.",srcTimeStampNotFound:"Cannot find timestamp to verify if generated code is current.",srcTimeStampNotMatch:"Timestamps of generated code and traceability information do not match.",tInfoExcelCheckSumFailed:"The function was unable to calculate a checksum",tInfoExcelCodeInfoTab:"Code Interface",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"The header entry '${0}' is not a valid entry",tInfoExcelError_NoWritePer:"MATLAB is not able to write to the selected directory '${0}'; check the write permission for the directory",tInfoExcelFileList:"Code Files",tInfoExcelFileLocation:"File Folder",tInfoExcelFileName:"File Name",tInfoExcelGUI_BadDirectory:"The directory '${0}' is not a valid selection'",tInfoExcelGlobal:"Global",tInfoExcelInfoTab:"Model Information",tInfoExcelLastUpdate:"The model was last updated on",tInfoExcelLastUpdateBy:"The model was last saved by",tInfoExcelModelAuthor:"Model Author",tInfoExcelModelCheckSum:"Model Checksum",tInfoExcelModelCol_1:"Model Object Name",tInfoExcelModelCol_10:"Requirements Source",tInfoExcelModelCol_11:"Requirements Location",tInfoExcelModelCol_12:"Model Object Unique ID",tInfoExcelModelCol_13:"Model Optimization Rationale",tInfoExcelModelCol_14:"Utility Function",tInfoExcelModelCol_15:"Model Object Optimized",tInfoExcelModelCol_16:"Model File",tInfoExcelModelCol_17:"Model File Location",tInfoExcelModelCol_18:"Code Comment Checksum",tInfoExcelModelCol_19:"Object usage has changed",tInfoExcelModelCol_2:"Model Object Path",tInfoExcelModelCol_3:"Model Object Subsystem",tInfoExcelModelCol_4:"Code File Location",tInfoExcelModelCol_5:"Code File Name",tInfoExcelModelCol_6:"Code Function",tInfoExcelModelCol_7:"Code Line Number",tInfoExcelModelCol_8:"Relative Position",tInfoExcelModelCol_9:"Model Object Type",tInfoExcelModelCreationDate:"The model was created on",tInfoExcelModelName:"Model / Subsystem Name",tInfoExcelModelVersion:"Model Version",tInfoExcelNone:"None",tInfoExcelNotUnique:"Row is not unique:",tInfoExcelReport:"Report",tInfoExcelSubsystemCheckSum:"Subsystem Checksum",tInfoExcelSubsystemCheckSumUsed:"The Subsystem checksum value was reported",tInfoExcelSubsystemUsed:"NOTE: The traceability matrix export was performed on a sub-system.",tInfoGUIAvailCol:"Available columns",tInfoGUIBrowse:"Browse...",tInfoGUIBrowseToolTip:"Select an existing file to update or create a new file",tInfoGUIDescription:"Description",tInfoGUIDescriptionText:"The traceability matrix provides traceability among model objects, generated code, and model requirements in an excel file format.<br /><br />Use the <b>Browse</b> button to select an existing Traceability Matrix Report to update or to select the name and location of a new report. Use the list panes to define the column headings in the report.<br><br>Click <b>Generate</b> to generate the Traceability Matrix Report",tInfoGUIDiagTitle:"Generate Traceability Matrix",tInfoGUIExcelFile:"Excel file",tInfoGUIGenerate:"Generate",tInfoGUIGenerateToolTip:"Generate traceability matrix",tInfoGUISelectedCol:"Selected columns",tInfoGUIStarText:"<b>*</b> Required items cannot be deselected",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
'\${0}'
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' is a virtual block. Code is not generated for virtual blocks.",virtualSubsystem:"Virtual SubSystem"}},3052:(_,P,l)=>{_.exports={root:{CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"Prototype",FunRate:"Timing",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"Function",LicenseNotAvailable:"A ${0} license is not available.",NoBuildDir:"Cannot recover build information. Please regenerate code.",NoTraceForSelectedBlocks:"Traceability information is not available for the selected blocks.",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"Called once",RTWReportInformationSource:"Report data source",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"Function",TermFun:"Function",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"Function",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"Model-to-code navigation",browseButton:"Browse to build folder to highlight.",buildDirBrowseButton:"Browse ...",buildDirBrowseToolTip:"Browse to build folder to highlight.",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirNotFoundOrTraceInfoNotAvailable:"Cannot find build folder or traceability information of model '${0}'. Verify that code was generated with configuration set parameter Code Generation > Report > Advanced Parameters > Model-to-code selected.",buildDirectory:"Build folder",buildDirectoryToolTip:"Set build folder to be traced.",codeInfoNotAvailable:"Code information is not available for this model.",commentOptionOff:"'${0}' requires the following parameters be selected: 'Code Generation > Comments > Include comments' and 'Code Generation> Comments > Simulink block / Stateflow object comments'. Select the parameters and rebuild model.",dlgDescription:`Retrieve generated code from existing build folder. This step is necessary only when the build folder is not located in the current working folder and the model was closed and reopened after code generation.
Note: The setting is lost when you rebuild or close the model.`,dlgDescriptionTitle:"Description",emptySubsystem:"Empty SubSystem",generatedCode:"Retrieve generated code",htmlNotFound:"Code generation report cannot be found.",htmlTimeStampNotMatch:"Timestamps of code generation report and generated code do not match.",illegalCharacter:"'${0}' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.",maskedSubsystem:"Masked SubSystem",modelChanged:"Model has been modified. Traceability information might not be current.",modelDirNotMatch:`The current path to the model is not the same as it was at the time of code generation.
Current path:
'\${0}'
Previous path:
'\${1}'`,modelUnsaved:"Changes to model have not been saved. Traceability information might not be current.",notGenerated:"Traceability information has not been generated.",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"Model-to-code navigation is not enabled.",reducedBlock:"'${0}' is reduced during model compilation. Code is not generated for reduced blocks.",reusableFunction:"Code for '${0}' is from reusable function and cannot be traced.",srcNotFound:"Generated code is not found in build folder.",srcTimeStampNotFound:"Cannot find timestamp to verify if generated code is current.",srcTimeStampNotMatch:"Timestamps of generated code and traceability information do not match.",tInfoExcelCheckSumFailed:"The function was unable to calculate a checksum",tInfoExcelCodeInfoTab:"Code Interface",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"The header entry '${0}' is not a valid entry",tInfoExcelError_NoWritePer:"MATLAB is not able to write to the selected directory '${0}'; check the write permission for the directory",tInfoExcelFileList:"Code Files",tInfoExcelFileLocation:"File Folder",tInfoExcelFileName:"File Name",tInfoExcelGUI_BadDirectory:"The directory '${0}' is not a valid selection'",tInfoExcelGlobal:"Global",tInfoExcelInfoTab:"Model Information",tInfoExcelLastUpdate:"The model was last updated on",tInfoExcelLastUpdateBy:"The model was last saved by",tInfoExcelModelAuthor:"Model Author",tInfoExcelModelCheckSum:"Model Checksum",tInfoExcelModelCol_1:"Model Object Name",tInfoExcelModelCol_10:"Requirements Source",tInfoExcelModelCol_11:"Requirements Location",tInfoExcelModelCol_12:"Model Object Unique ID",tInfoExcelModelCol_13:"Model Optimization Rationale",tInfoExcelModelCol_14:"Utility Function",tInfoExcelModelCol_15:"Model Object Optimized",tInfoExcelModelCol_16:"Model File",tInfoExcelModelCol_17:"Model File Location",tInfoExcelModelCol_18:"Code Comment Checksum",tInfoExcelModelCol_19:"Object usage has changed",tInfoExcelModelCol_2:"Model Object Path",tInfoExcelModelCol_3:"Model Object Subsystem",tInfoExcelModelCol_4:"Code File Location",tInfoExcelModelCol_5:"Code File Name",tInfoExcelModelCol_6:"Code Function",tInfoExcelModelCol_7:"Code Line Number",tInfoExcelModelCol_8:"Relative Position",tInfoExcelModelCol_9:"Model Object Type",tInfoExcelModelCreationDate:"The model was created on",tInfoExcelModelName:"Model / Subsystem Name",tInfoExcelModelVersion:"Model Version",tInfoExcelNone:"None",tInfoExcelNotUnique:"Row is not unique:",tInfoExcelReport:"Report",tInfoExcelSubsystemCheckSum:"Subsystem Checksum",tInfoExcelSubsystemCheckSumUsed:"The Subsystem checksum value was reported",tInfoExcelSubsystemUsed:"NOTE: The traceability matrix export was performed on a sub-system.",tInfoGUIAvailCol:"Available columns",tInfoGUIBrowse:"Browse...",tInfoGUIBrowseToolTip:"Select an existing file to update or create a new file",tInfoGUIDescription:"Description",tInfoGUIDescriptionText:"The traceability matrix provides traceability among model objects, generated code, and model requirements in an excel file format.<br /><br />Use the <b>Browse</b> button to select an existing Traceability Matrix Report to update or to select the name and location of a new report. Use the list panes to define the column headings in the report.<br><br>Click <b>Generate</b> to generate the Traceability Matrix Report",tInfoGUIDiagTitle:"Generate Traceability Matrix",tInfoGUIExcelFile:"Excel file",tInfoGUIGenerate:"Generate",tInfoGUIGenerateToolTip:"Generate traceability matrix",tInfoGUISelectedCol:"Selected columns",tInfoGUIStarText:"<b>*</b> Required items cannot be deselected",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
'\${0}'
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' is a virtual block. Code is not generated for virtual blocks.",virtualSubsystem:"Virtual SubSystem"},"ja-jp":!0,"ko-kr":!0,"zh-cn":!0}},66596:(_,P,l)=>{_.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"\u539F\u578B",FunRate:"\u5B9A\u65F6",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"\u51FD\u6570",LicenseNotAvailable:"${0} \u8BB8\u53EF\u8BC1\u4E0D\u53EF\u7528\u3002",NoBuildDir:"\u65E0\u6CD5\u6062\u590D\u7F16\u8BD1\u4FE1\u606F\u3002\u8BF7\u91CD\u65B0\u751F\u6210\u4EE3\u7801\u3002",NoTraceForSelectedBlocks:"\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u5BF9\u6240\u9009\u6A21\u5757\u4E0D\u53EF\u7528\u3002",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"\u8C03\u7528\u4E00\u6B21",RTWReportInformationSource:"\u62A5\u544A\u6570\u636E\u6E90",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"\u51FD\u6570",TermFun:"\u51FD\u6570",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"\u51FD\u6570",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A",browseButton:"\u6D4F\u89C8\u5230\u8981\u7A81\u51FA\u663E\u793A\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",buildDirBrowseButton:"\u6D4F\u89C8...",buildDirBrowseToolTip:"\u6D4F\u89C8\u5230\u8981\u7A81\u51FA\u663E\u793A\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirNotFoundOrTraceInfoNotAvailable:`\u627E\u4E0D\u5230\u6A21\u578B '\${0}' \u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u6216\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u3002\u8BF7\u786E\u4FDD\u4EE3\u7801\u662F\u5728\u914D\u7F6E\u96C6\u53C2\u6570 "\u4EE3\u7801\u751F\u6210 > \u62A5\u544A > \u9AD8\u7EA7\u53C2\u6570 > \u6A21\u578B\u5230\u4EE3\u7801" \u5904\u4E8E\u9009\u4E2D\u72B6\u6001\u7684\u60C5\u51B5\u4E0B\u751F\u6210\u7684\u3002`,buildDirectory:"\u7F16\u8BD1\u6587\u4EF6\u5939",buildDirectoryToolTip:"\u8BBE\u7F6E\u8981\u8FFD\u6EAF\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",codeInfoNotAvailable:"\u6CA1\u6709\u5BF9\u6B64\u6A21\u578B\u53EF\u7528\u7684\u4EE3\u7801\u4FE1\u606F\u3002",commentOptionOff:"'${0}' \u8981\u6C42\u9009\u62E9\u4EE5\u4E0B\u53C2\u6570: '\u4EE3\u7801\u751F\u6210 > \u6CE8\u91CA > \u5305\u62EC\u6CE8\u91CA' \u548C '\u4EE3\u7801\u751F\u6210 > \u6CE8\u91CA > Simulink \u6A21\u5757/Stateflow \u5BF9\u8C61\u6CE8\u91CA'\u3002\u9009\u62E9\u53C2\u6570\u5E76\u91CD\u65B0\u7F16\u8BD1\u6A21\u578B\u3002",dlgDescription:`\u4ECE\u73B0\u6709\u7F16\u8BD1\u6587\u4EF6\u5939\u4E2D\u68C0\u7D22\u751F\u6210\u7684\u4EE3\u7801\u3002\u4EC5\u5F53\u7F16\u8BD1\u6587\u4EF6\u5939\u4E0D\u5728\u5F53\u524D\u5DE5\u4F5C\u6587\u4EF6\u5939\u4E2D\u5E76\u4E14\u6A21\u578B\u5728\u4EE3\u7801\u751F\u6210\u540E\u5173\u95ED\u5E76\u91CD\u65B0\u6253\u5F00\u65F6\uFF0C\u6B64\u6B65\u9AA4\u624D\u662F\u5FC5\u9700\u7684\u3002
\u6CE8\u610F: \u91CD\u65B0\u7F16\u8BD1\u6216\u5173\u95ED\u6A21\u578B\u65F6\uFF0C\u8BBE\u7F6E\u4F1A\u4E22\u5931\u3002`,dlgDescriptionTitle:"\u63CF\u8FF0",emptySubsystem:"Empty SubSystem",generatedCode:"\u68C0\u7D22\u751F\u6210\u7684\u4EE3\u7801",htmlNotFound:"\u627E\u4E0D\u5230\u4EE3\u7801\u751F\u6210\u62A5\u544A\u3002",htmlTimeStampNotMatch:"\u4EE3\u7801\u751F\u6210\u62A5\u544A\u548C\u751F\u6210\u4EE3\u7801\u7684\u65F6\u95F4\u6233\u4E0D\u5339\u914D\u3002",illegalCharacter:"'${0}' \u5305\u542B\u7528\u4E8E\u7981\u7528\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A\u7684\u975E\u6CD5\u5B57\u7B26(\u5355\u5F15\u53F7)\u3002\u8BF7\u4ECE\u6A21\u5757\u540D\u79F0\u4E2D\u5220\u9664\u5355\u5F15\u53F7\u5E76\u91CD\u65B0\u7F16\u8BD1\u6A21\u578B\u3002",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' \u662F\u5C01\u88C5\u5B50\u7CFB\u7EDF\uFF0C\u65E0\u6CD5\u5728\u5B50\u7CFB\u7EDF\u6A21\u5757\u7EA7\u522B\u8FDB\u884C\u8FFD\u6EAF\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u5BF9\u5C01\u88C5\u5185\u90E8\u7684\u5355\u4E2A\u6A21\u5757\u53EF\u7528\u3002",maskedSubsystem:"Masked SubSystem",modelChanged:"\u6A21\u578B\u5DF2\u4FEE\u6539\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u53EF\u80FD\u4E0D\u662F\u6700\u65B0\u7684\u3002",modelDirNotMatch:`\u6A21\u578B\u7684\u5F53\u524D\u8DEF\u5F84\u4E0E\u4EE3\u7801\u751F\u6210\u65F6\u7684\u8DEF\u5F84\u4E0D\u540C\u3002
\u5F53\u524D\u8DEF\u5F84:
'\${0}'
\u4EE5\u524D\u7684\u8DEF\u5F84:
'\${1}'`,modelUnsaved:"\u5BF9\u6A21\u578B\u7684\u66F4\u6539\u5C1A\u672A\u4FDD\u5B58\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u53EF\u80FD\u4E0D\u662F\u6700\u65B0\u7684\u3002",notGenerated:"\u5C1A\u672A\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u3002",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A\u672A\u542F\u7528\u3002",reducedBlock:"\u6A21\u578B\u7F16\u8BD1\u671F\u95F4\u7B80\u5316\u4E86 '${0}'\u3002\u4E0D\u4F1A\u4E3A\u7B80\u5316\u6A21\u5757\u751F\u6210\u4EE3\u7801\u3002",reusableFunction:"'${0}' \u7684\u4EE3\u7801\u6765\u81EA\u53EF\u91CD\u7528\u51FD\u6570\uFF0C\u65E0\u6CD5\u8FFD\u6EAF\u3002",srcNotFound:"\u5728\u7F16\u8BD1\u6587\u4EF6\u5939\u4E2D\u627E\u4E0D\u5230\u751F\u6210\u7684\u4EE3\u7801\u3002",srcTimeStampNotFound:"\u627E\u4E0D\u5230\u65F6\u95F4\u6233\u6765\u9A8C\u8BC1\u751F\u6210\u7684\u4EE3\u7801\u662F\u5426\u4E3A\u6700\u65B0\u3002",srcTimeStampNotMatch:"\u751F\u6210\u4EE3\u7801\u7684\u65F6\u95F4\u6233\u548C\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u4E0D\u5339\u914D\u3002",tInfoExcelCheckSumFailed:"\u51FD\u6570\u65E0\u6CD5\u8BA1\u7B97\u6821\u9A8C\u548C",tInfoExcelCodeInfoTab:"\u4EE3\u7801\u63A5\u53E3",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"\u5934\u6587\u4EF6\u6761\u76EE '${0}' \u4E0D\u662F\u6709\u6548\u6761\u76EE",tInfoExcelError_NoWritePer:"MATLAB \u65E0\u6CD5\u5199\u5165\u6240\u9009\u76EE\u5F55 '${0}'\uFF1B\u8BF7\u68C0\u67E5\u8BE5\u76EE\u5F55\u7684\u5199\u5165\u6743\u9650",tInfoExcelFileList:"\u4EE3\u7801\u6587\u4EF6",tInfoExcelFileLocation:"\u6587\u4EF6\u5939",tInfoExcelFileName:"\u6587\u4EF6\u540D",tInfoExcelGUI_BadDirectory:"\u76EE\u5F55 '${0}' \u4E0D\u662F\u6709\u6548\u7684\u9009\u62E9",tInfoExcelGlobal:"\u5168\u5C40",tInfoExcelInfoTab:"\u6A21\u578B\u4FE1\u606F",tInfoExcelLastUpdate:"\u6A21\u578B\u4E0A\u6B21\u66F4\u65B0\u65F6\u95F4",tInfoExcelLastUpdateBy:"\u6A21\u578B\u4E0A\u6B21\u4FDD\u5B58\u8005",tInfoExcelModelAuthor:"\u6A21\u578B\u4F5C\u8005",tInfoExcelModelCheckSum:"\u6A21\u578B\u6821\u9A8C\u548C",tInfoExcelModelCol_1:"\u6A21\u578B\u5BF9\u8C61\u540D\u79F0",tInfoExcelModelCol_10:"\u9700\u6C42\u6E90",tInfoExcelModelCol_11:"\u9700\u6C42\u4F4D\u7F6E",tInfoExcelModelCol_12:"\u6A21\u578B\u5BF9\u8C61\u552F\u4E00 ID",tInfoExcelModelCol_13:"\u6A21\u578B\u4F18\u5316\u539F\u7406",tInfoExcelModelCol_14:"\u5DE5\u5177\u51FD\u6570",tInfoExcelModelCol_15:"\u6A21\u578B\u5BF9\u8C61\u5DF2\u4F18\u5316",tInfoExcelModelCol_16:"\u6A21\u578B\u6587\u4EF6",tInfoExcelModelCol_17:"\u6A21\u578B\u6587\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_18:"\u4EE3\u7801\u6CE8\u91CA\u6821\u9A8C\u548C",tInfoExcelModelCol_19:"\u5BF9\u8C61\u7528\u9014\u5DF2\u66F4\u6539",tInfoExcelModelCol_2:"\u6A21\u578B\u5BF9\u8C61\u8DEF\u5F84",tInfoExcelModelCol_3:"\u6A21\u578B\u5BF9\u8C61\u5B50\u7CFB\u7EDF",tInfoExcelModelCol_4:"\u4EE3\u7801\u6587\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_5:"\u4EE3\u7801\u6587\u4EF6\u540D",tInfoExcelModelCol_6:"\u4EE3\u7801\u51FD\u6570",tInfoExcelModelCol_7:"\u4EE3\u7801\u884C\u53F7",tInfoExcelModelCol_8:"\u76F8\u5BF9\u4F4D\u7F6E",tInfoExcelModelCol_9:"\u6A21\u578B\u5BF9\u8C61\u7C7B\u578B",tInfoExcelModelCreationDate:"\u6A21\u578B\u521B\u5EFA\u65F6\u95F4",tInfoExcelModelName:"\u6A21\u578B/\u5B50\u7CFB\u7EDF\u540D\u79F0",tInfoExcelModelVersion:"\u6A21\u578B\u7248\u672C",tInfoExcelNone:"\u65E0",tInfoExcelNotUnique:"\u884C\u4E0D\u552F\u4E00:",tInfoExcelReport:"\u62A5\u544A",tInfoExcelSubsystemCheckSum:"\u5B50\u7CFB\u7EDF\u6821\u9A8C\u548C",tInfoExcelSubsystemCheckSumUsed:"\u5DF2\u62A5\u544A\u5B50\u7CFB\u7EDF\u6821\u9A8C\u548C\u503C",tInfoExcelSubsystemUsed:"\u6CE8\u610F: \u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u5BFC\u51FA\u662F\u5BF9\u5B50\u7CFB\u7EDF\u6267\u884C\u7684\u3002",tInfoGUIAvailCol:"\u53EF\u7528\u5217",tInfoGUIBrowse:"\u6D4F\u89C8...",tInfoGUIBrowseToolTip:"\u9009\u62E9\u73B0\u6709\u6587\u4EF6\u4EE5\u66F4\u65B0\u6216\u521B\u5EFA\u65B0\u6587\u4EF6",tInfoGUIDescription:"\u63CF\u8FF0",tInfoGUIDescriptionText:"\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u4EE5 excel \u6587\u4EF6\u683C\u5F0F\u63D0\u4F9B\u6A21\u578B\u5BF9\u8C61\u3001\u751F\u6210\u7684\u4EE3\u7801\u548C\u6A21\u578B\u9700\u6C42\u4E4B\u95F4\u7684\u53EF\u53EF\u8FFD\u6EAF\u6027\u6027\u3002<br /><br />\u4F7F\u7528<b>\u6D4F\u89C8</b>\u6309\u94AE\u9009\u62E9\u8981\u66F4\u65B0\u7684\u73B0\u6709\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u62A5\u544A\uFF0C\u6216\u9009\u62E9\u65B0\u62A5\u544A\u7684\u540D\u79F0\u548C\u4F4D\u7F6E\u3002\u4F7F\u7528\u5217\u8868\u7A97\u683C\u5B9A\u4E49\u62A5\u544A\u4E2D\u7684\u5217\u6807\u9898\u3002<br><br>\u70B9\u51FB<b>\u751F\u6210</b>\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u62A5\u544A",tInfoGUIDiagTitle:"\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635",tInfoGUIExcelFile:"Excel \u6587\u4EF6",tInfoGUIGenerate:"\u751F\u6210",tInfoGUIGenerateToolTip:"\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635",tInfoGUISelectedCol:"\u6240\u9009\u5217",tInfoGUIStarText:"<b>*</b>\u5FC5\u9700\u9879\u65E0\u6CD5\u53D6\u6D88\u9009\u4E2D",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
'\${0}'
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' \u662F\u4E00\u4E2A\u865A\u62DF\u6A21\u5757\u3002\u4E0D\u4F1A\u4E3A\u865A\u62DF\u6A21\u5757\u751F\u6210\u4EE3\u7801\u3002",virtualSubsystem:"Virtual SubSystem"}},59727:(_,P,l)=>{_.exports={AddToReview:"\u30EC\u30D3\u30E5\u30FC\u5BFE\u8C61\u306B\u8FFD\u52A0",AverageExecutionTime:"\u5E73\u5747\u5B9F\u884C\u6642\u9593",AverageSelfTime:"\u5E73\u5747\u81EA\u5DF1\u6642\u9593",Calls:"\u547C\u3073\u51FA\u3057",CodeMetrics:"\u30B3\u30FC\u30C9 \u30E1\u30C8\u30EA\u30AF\u30B9",CodeMetrics_Size:"\u30B5\u30A4\u30BA: ${0} \u30D0\u30A4\u30C8",CodeMetrics_Stack:"\u30B9\u30BF\u30C3\u30AF: ${0} \u30D0\u30A4\u30C8",CodeMetrics_TotalStack:"\u5408\u8A08\u30B9\u30BF\u30C3\u30AF: ${0} \u30D0\u30A4\u30C8",CodeMetrics_TotalStackRecursion:"\u5408\u8A08\u30B9\u30BF\u30C3\u30AF: \u518D\u5E30",CodePanelName:"\u30B3\u30FC\u30C9",CodeProfiling:"\u30B3\u30FC\u30C9\u306E\u30D7\u30ED\u30D5\u30A1\u30A4\u30EA\u30F3\u30B0",CodeTabName:"\u30BD\u30FC\u30B9",CodeView_C_Title:"\u30B3\u30FC\u30C9",CodeView_HDL_Title:"HDL \u30B3\u30FC\u30C9",CodeView_PLC_Title:"PLC \u30B3\u30FC\u30C9",Col:"\u5217",ConfigCodeFolding:"\u30B3\u30FC\u30C9\u306E\u6298\u308A\u305F\u305F\u307F",ConfigCodeFolding_ExpandAll:"\u3059\u3079\u3066\u5C55\u958B\u3059\u308B",ConfigCodeFolding_FoldAll:"\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u3080",ConfigGroup_Analysis:"\u89E3\u6790",ConfigGroup_Display:"\u8868\u793A",ConfigGroup_Review:"\u78BA\u8A8D",ConfigShowCodeMetrics:"\u30B3\u30FC\u30C9 \u30E1\u30C8\u30EA\u30AF\u30B9\u3092\u8868\u793A",ConfigShowCodeProfiling:"\u30B3\u30FC\u30C9 \u30D7\u30ED\u30D5\u30A1\u30A4\u30EA\u30F3\u30B0\u306E\u8868\u793A",ConfigShowCoverage:"\u30B3\u30FC\u30C9 \u30AB\u30D0\u30EC\u30C3\u30B8\u3092\u8868\u793A",Customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",Datacopy:"\u30C7\u30FC\u30BF \u30B3\u30D4\u30FC\u306E\u8A73\u7D30",DefinedIn:"\u6B21\u3067\u5B9A\u7FA9",Definition:"\u5B9A\u7FA9",DictionaryDefault:"\u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306E\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",GenerateCodeGroupName:"\u30B3\u30FC\u30C9\u751F\u6210",GenerateCodeGroupName_STFMismatch:"\u53C2\u7167\u30E2\u30C7\u30EB\u3067 [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u4E0D\u4E00\u81F4\u3092\u4FEE\u6B63\u3057\u307E\u3059\u3002",GenerateCodeText:"\u30E2\u30C7\u30EB\u3092\u30D3\u30EB\u30C9\u3057\u3001\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u307E\u3059\u3002",GenerateCodeText_STFMismatch:"\u30A2\u30AF\u30C6\u30A3\u30D6 \u30E2\u30C7\u30EB\u306E [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u3092\u5909\u66F4\u3057\u3001\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u3068\u4E00\u81F4\u3055\u305B\u3066\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u307E\u3059\u3002",GoToLine:"\u6B21\u306E\u884C\u306B\u79FB\u52D5: ${0}",HL_LineUpdate:"\u5F37\u8ABF\u8868\u793A: \u6700\u5F8C\u306E\u30D3\u30EB\u30C9\u3067\u5909\u66F4\u3055\u308C\u305F\u884C",HL_SelectedBlk:"\u5F37\u8ABF\u8868\u793A: \u9078\u629E\u3057\u305F ${0} \u500B\u306E\u30D6\u30ED\u30C3\u30AF",HighlightCode:"\u30B3\u30FC\u30C9\u306E\u5F37\u8ABF\u8868\u793A",Highlight_DataType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u30C7\u30FC\u30BF\u306F\u3001'file' \u30D5\u30A3\u30FC\u30EB\u30C9\u3068 'line' \u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u3082\u3064 struct \u306E cell \u914D\u5217\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_FileType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u30D5\u30A1\u30A4\u30EB\u306F\u3001\u7A7A\u3067\u306A\u3044 string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_InputType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u306F\u3001'title' \u30D5\u30A3\u30FC\u30EB\u30C9\u3068 'data' \u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u3082\u3064 struct \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_LineType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u884C\u306F\u3001\u6B63\u306E\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u306E\u30BF\u30A4\u30C8\u30EB\u306F\u3001\u7A7A\u3067\u306A\u3044 string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlighting:"\u5F37\u8ABF\u8868\u793A",Individual:"\u500B\u3005\u306E\u8981\u7D20\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",Info_DefaultMapping:"\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",Info_IndividualMapping:"\u500B\u3005\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",LaunchStandaloneReport:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u3092\u958B\u304F",Ln:"\u884C",MaximumExecutionTime:"\u6700\u5927\u5B9F\u884C\u6642\u9593",MaximumSelfTime:"\u6700\u5927\u81EA\u5DF1\u6642\u9593",ModelDefault:"\u30E2\u30C7\u30EB\u306E\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",ModelElements:"\u30E2\u30C7\u30EB\u8981\u7D20",ModelRefSTFNotMatch:'"${0}" \u306E [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u8A2D\u5B9A\u306F "${1}"\u3001\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB "${2}" \u306E\u8A2D\u5B9A\u306F "${3}" \u3067\u3059\u3002\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u8A2D\u5B9A\u306F\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u306E\u8A2D\u5B9A\u3068\u540C\u3058\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002',NecessaryDatacopy:"\u3053\u306E\u30C7\u30FC\u30BF \u30B3\u30D4\u30FC\u306F\u5FC5\u8981\u3067\u3059\u3002",NoCode:'"${0}" \u306E\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002',NoCodeGenReport:"\u30B3\u30FC\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",NumberOfCalls:"\u547C\u3073\u51FA\u3057\u6570",ProgressBarGenCode:"\u30B3\u30FC\u30C9\u751F\u6210",ReloadBtnName:"\u518D\u8AAD\u307F\u8FBC\u307F",ReloadCodeGroupName:"\u30B3\u30FC\u30C9\u306E\u518D\u8AAD\u307F\u8FBC\u307F",ReloadCodeText:'MATLAB \u306E\u73FE\u5728\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u5909\u66F4\u3057\u3066\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u4F5C\u6210\u3057\u3001"${0}" \u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u307E\u3059\u3002',ReportTabName:"\u30EC\u30DD\u30FC\u30C8",Search:"\u691C\u7D22",ShowAnnotation:"\u30B3\u30FC\u30C9\u6CE8\u91C8\u306E\u8868\u793A",ShowComments:"\u30B3\u30E1\u30F3\u30C8\u3068\u7A7A\u306E\u884C\u3092\u8868\u793A",Statistics:"\u7D71\u8A08",Suggest:"\u63A8\u5968\u30A2\u30AF\u30B7\u30E7\u30F3:",Task:"\u30BF\u30B9\u30AF",Type_Class:"\u30AF\u30E9\u30B9",Type_Function:"\u95A2\u6570",Type_Type:"\u578B",Type_Variable:"\u5909\u6570",UnitOfTime:"\u6642\u9593\u5358\u4F4D:",UnnecessaryDatacopy:"\u3053\u306E\u30C7\u30FC\u30BF \u30B3\u30D4\u30FC\u64CD\u4F5C\u306F\u6700\u9069\u5316\u304C\u53EF\u80FD\u3067\u3059\u3002"}},17265:(_,P,l)=>{_.exports={root:{AddToReview:"Add to review",AverageExecutionTime:"Average Execution Time",AverageSelfTime:"Average Self Time",Calls:"Calls",CodeMetrics:"Code metrics",CodeMetrics_Size:"size: ${0} byte",CodeMetrics_Stack:"stack: ${0} byte",CodeMetrics_TotalStack:"total stack: ${0} byte",CodeMetrics_TotalStackRecursion:"total stack: recursion",CodePanelName:"Code",CodeProfiling:"Code profiling",CodeTabName:"Source",CodeView_C_Title:"Code",CodeView_HDL_Title:"HDL Code",CodeView_PLC_Title:"PLC Code",Col:"Col",ConfigCodeFolding:"Code folding",ConfigCodeFolding_ExpandAll:"Expand all",ConfigCodeFolding_FoldAll:"Fold all",ConfigGroup_Analysis:"Analysis",ConfigGroup_Display:"Display",ConfigGroup_Review:"Review",ConfigShowCodeMetrics:"Show code metrics",ConfigShowCodeProfiling:"Show code profiling",ConfigShowCoverage:"Show code coverage",Customization:"Customization",Datacopy:"Datacopy details",DefinedIn:"defined in",Definition:"Definition",DictionaryDefault:"Dictionary default mapping",GenerateCodeGroupName:"Generate code",GenerateCodeGroupName_STFMismatch:'Fix "System target file" parameter mismatch for referenced model.',GenerateCodeText:"Build model and generate code.",GenerateCodeText_STFMismatch:'Change "System target file" for active model to match root model and generate code.',GoToLine:"go to line: ${0}",HL_LineUpdate:"Highlighting: lines modified in last build",HL_SelectedBlk:"Highlighting: selected ${0} blocks",HighlightCode:"Highlight Code",Highlight_DataType:"Code View highlight input data must be a cell array of struct with field 'file' and 'line'.",Highlight_FileType:"Code View highlight file must be a non-empty string.",Highlight_InputType:"Code View highlight input must be a struct with field 'title' and 'data'.",Highlight_LineType:"Code View highlight line must be a positive integer.",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"Code View highlight input title must be a non-empty string.",Highlighting:"Highlighting",Individual:"Individual element mapping",Info_DefaultMapping:"Default mapping",Info_IndividualMapping:"Individual mapping",LaunchStandaloneReport:"Open code generation report",Ln:"Ln",MaximumExecutionTime:"Maximum Execution Time",MaximumSelfTime:"Maximum Self Time",ModelDefault:"Model default mapping",ModelElements:"Model elements",ModelRefSTFNotMatch:'"System target file" setting for "${0}" is "${1}" and root model "${2}" is "${3}". Setting for this parameter must be same as setting for root model.',NecessaryDatacopy:"This data copy is necessary.",NoCode:'No code for "${0}".',NoCodeGenReport:"Code is not found.",NumberOfCalls:"Number of Calls",ProgressBarGenCode:"Generating Code",ReloadBtnName:"Reload",ReloadCodeGroupName:"Reload code",ReloadCodeText:'Change MATLAB current folder to build folder and click "${0}" button.',ReportTabName:"Report",Search:"Search",ShowAnnotation:"Show code annotation",ShowComments:"Show comments and empty lines",Statistics:"Statistics",Suggest:"Suggested actions:",Task:"Task",Type_Class:"Class",Type_Function:"Function",Type_Type:"Type",Type_Variable:"Variable",UnitOfTime:"Unit of time :",UnnecessaryDatacopy:"It is possible to optimize out this data copy operation."},"ja-jp":!0,"zh-cn":!0}},16857:(_,P,l)=>{_.exports={AddToReview:"\u6DFB\u52A0\u81F3\u5BA1\u6838",AverageExecutionTime:"\u5E73\u5747\u6267\u884C\u65F6\u95F4",AverageSelfTime:"\u5E73\u5747\u81EA\u7528\u65F6\u95F4",Calls:"\u8C03\u7528\u6B21\u6570",CodeMetrics:"\u4EE3\u7801\u5EA6\u91CF",CodeMetrics_Size:"\u5927\u5C0F: ${0} \u5B57\u8282",CodeMetrics_Stack:"\u5806\u6808: ${0} \u5B57\u8282",CodeMetrics_TotalStack:"\u603B\u5806\u6808: ${0} \u5B57\u8282",CodeMetrics_TotalStackRecursion:"\u603B\u5806\u6808: \u9012\u5F52",CodePanelName:"\u4EE3\u7801",CodeProfiling:"\u4EE3\u7801\u5206\u6790",CodeTabName:"\u6E90",CodeView_C_Title:"\u4EE3\u7801",CodeView_HDL_Title:"HDL \u4EE3\u7801",CodeView_PLC_Title:"PLC \u4EE3\u7801",Col:"\u5217",ConfigCodeFolding:"\u4EE3\u7801\u6298\u53E0",ConfigCodeFolding_ExpandAll:"\u5168\u90E8\u5C55\u5F00",ConfigCodeFolding_FoldAll:"\u5168\u90E8\u6298\u53E0",ConfigGroup_Analysis:"\u5206\u6790",ConfigGroup_Display:"\u663E\u793A",ConfigGroup_Review:"\u5BA1\u6838",ConfigShowCodeMetrics:"\u663E\u793A\u4EE3\u7801\u5EA6\u91CF",ConfigShowCodeProfiling:"\u663E\u793A\u4EE3\u7801\u63A2\u67E5",ConfigShowCoverage:"\u663E\u793A\u4EE3\u7801\u8986\u76D6\u7387",Customization:"\u81EA\u5B9A\u4E49",Datacopy:"\u6570\u636E\u526F\u672C\u8BE6\u7EC6\u4FE1\u606F",DefinedIn:"\u5B9A\u4E49\u4F4D\u7F6E",Definition:"\u5B9A\u4E49",DictionaryDefault:"\u5B57\u5178\u9ED8\u8BA4\u6620\u5C04",GenerateCodeGroupName:"\u751F\u6210\u4EE3\u7801",GenerateCodeGroupName_STFMismatch:'\u4FEE\u590D\u5F15\u7528\u6A21\u578B\u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u53C2\u6570\u4E0D\u5339\u914D\u3002',GenerateCodeText:"\u7F16\u8BD1\u6A21\u578B\u5E76\u751F\u6210\u4EE3\u7801\u3002",GenerateCodeText_STFMismatch:'\u66F4\u6539\u6D3B\u52A8\u6A21\u578B\u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u4EE5\u5339\u914D\u6839\u6A21\u578B\u5E76\u751F\u6210\u4EE3\u7801\u3002',GoToLine:"\u8F6C\u81F3\u884C: ${0}",HL_LineUpdate:"\u7A81\u51FA\u663E\u793A: \u5728\u4E0A\u6B21\u7F16\u8BD1\u4E2D\u4FEE\u6539\u7684\u884C",HL_SelectedBlk:"\u7A81\u51FA\u663E\u793A: \u9009\u5B9A\u7684 ${0} \u4E2A\u6A21\u5757",HighlightCode:"\u7A81\u51FA\u663E\u793A\u4EE3\u7801",Highlight_DataType:"Code View highlight input data must be a cell array of struct with field 'file' and 'line'.",Highlight_FileType:"Code View highlight file must be a non-empty string.",Highlight_InputType:"Code View highlight input must be a struct with field 'title' and 'data'.",Highlight_LineType:"Code View highlight line must be a positive integer.",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"Code View highlight input title must be a non-empty string.",Highlighting:"\u7A81\u51FA\u663E\u793A",Individual:"\u5355\u4E2A\u5143\u7D20\u6620\u5C04",Info_DefaultMapping:"\u9ED8\u8BA4\u6620\u5C04",Info_IndividualMapping:"\u5355\u4E2A\u6620\u5C04",LaunchStandaloneReport:"\u6253\u5F00\u4EE3\u7801\u751F\u6210\u62A5\u544A",Ln:"\u884C",MaximumExecutionTime:"\u6700\u5927\u6267\u884C\u65F6\u95F4",MaximumSelfTime:"\u6700\u5927\u81EA\u7528\u65F6\u95F4",ModelDefault:"\u6A21\u578B\u9ED8\u8BA4\u6620\u5C04",ModelElements:"\u6A21\u578B\u5143\u7D20",ModelRefSTFNotMatch:'"${0}" \u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u8BBE\u7F6E\u4E3A "${1}"\uFF0C\u6839\u6A21\u578B "${2}" \u4E3A "${3}"\u3002\u6B64\u53C2\u6570\u7684\u8BBE\u7F6E\u5FC5\u987B\u4E0E\u6839\u6A21\u578B\u7684\u8BBE\u7F6E\u76F8\u540C\u3002',NecessaryDatacopy:"\u6B64\u6570\u636E\u526F\u672C\u662F\u5FC5\u9700\u7684\u3002",NoCode:'\u6CA1\u6709 "${0}" \u7684\u4EE3\u7801\u3002',NoCodeGenReport:"\u627E\u4E0D\u5230\u4EE3\u7801\u3002",NumberOfCalls:"\u8C03\u7528\u6B21\u6570",ProgressBarGenCode:"\u751F\u6210\u4EE3\u7801",ReloadBtnName:"\u91CD\u65B0\u52A0\u8F7D",ReloadCodeGroupName:"\u91CD\u65B0\u52A0\u8F7D\u4EE3\u7801",ReloadCodeText:'\u5C06 MATLAB \u5F53\u524D\u6587\u4EF6\u5939\u66F4\u6539\u4E3A\u7F16\u8BD1\u6587\u4EF6\u5939\uFF0C\u7136\u540E\u70B9\u51FB "${0}" \u6309\u94AE\u3002',ReportTabName:"\u62A5\u544A",Search:"\u641C\u7D22",ShowAnnotation:"\u663E\u793A\u4EE3\u7801\u6CE8\u91CA",ShowComments:"\u663E\u793A\u6CE8\u91CA\u548C\u7A7A\u884C",Statistics:"\u7EDF\u8BA1\u4FE1\u606F",Suggest:"\u5EFA\u8BAE\u7684\u64CD\u4F5C:",Task:"\u4EFB\u52A1",Type_Class:"\u7C7B",Type_Function:"\u51FD\u6570",Type_Type:"\u7C7B\u578B",Type_Variable:"\u53D8\u91CF",UnitOfTime:"\u65F6\u95F4\u5355\u4F4D:",UnnecessaryDatacopy:"\u53EF\u4EE5\u8FDB\u884C\u4F18\u5316\u4EE5\u9664\u53BB\u6570\u636E\u590D\u5236\u64CD\u4F5C\u3002"}},91242:(_,P,l)=>{_.exports={ASAPAttributesTitle:"ASAP2 \u5C5E\u6027",AUTOSARAttributes:"\u8FFD\u52A0\u5C5E\u6027",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport \u30D6\u30ED\u30C3\u30AF\u304C\u95A2\u6570\u547C\u3073\u51FA\u3057\u306E\u30C8\u30EA\u30AC\u30FC\u4FE1\u53F7\u3092\u51FA\u529B\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u3053\u308C\u306F\u5165\u529B\u7AEF\u5B50\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092 "${0}" \u304B\u3089 "${1}" \u306B\u5207\u308A\u66FF\u3048\u305F\u3053\u3068\u306B\u3088\u308A\u3001\u65B0\u3057\u3044\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u8A2D\u5B9A\u3092\u30E2\u30C7\u30EB\u306B\u53CD\u6620\u3057\u307E\u3057\u305F\u3002\u524D\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u4FDD\u6301\u3055\u308C\u3001\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002',CodeMappingPreviewTitle:"Code Mapping Preview",CodeMapping_AddBlockParameter_Tooltip:"\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u306E\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMapping_AddSignal_Tooltip:"\u9078\u629E\u3057\u305F\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMapping_RemoveBlockParameter_Tooltip:"\u30E2\u30C7\u30EB\u306E\u30D6\u30ED\u30C3\u30AF\u7DDA\u56F3\u3067\u9078\u629E\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3001\u307E\u305F\u306F\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u9078\u629E\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u524A\u9664\u3057\u307E\u3059\u3002",CodeMapping_RemoveSignal_Tooltip:"\u9078\u629E\u3057\u305F\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304B\u3089\u524A\u9664\u3057\u307E\u3059\u3002",CodeMapping_SyncNamedSignals_Tooltip:"\u540D\u524D\u4ED8\u304D\u306E\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMappings:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsAdaptiveAutosar:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsAutosar:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsAutosarSubComponent:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B5\u30D6\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9",CodeMappingsC:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsComponent:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsCpp:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsDDS:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsDefaults:"\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsEditorInconsistentApp:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D\u307E\u3059</a>\u3002",CodeMappingsEditorInconsistentCIP:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D</a>\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316] \u306E\u8A2D\u5B9A\u3092 '${1}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorInconsistentMapping:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304F</a>\u304B\u3001\u30E2\u30C7\u30EB '${0}' \u306B\u3064\u3044\u3066\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u306E\u8A2D\u5B9A\u3092 '${1}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorInconsistentSTFandCIP:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D</a>\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u3092 '${1}' \u306B\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316] \u3092 '${2}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorMappingCreation:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002<a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u3044\u3066\u304F\u3060\u3055\u3044\u3002</a>",CodeMappingsEditorNoMappings:"\u30E2\u30C7\u30EB '${0}' \u3067\u306F\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002",CodeMappingsNCDefault:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsSubAssembly:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B5\u30D6\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeProperties_CCodeSyncStage:"C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u540C\u671F",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u66F4\u65B0\u3057\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u7DDA\u56F3\u306E\u66F4\u65B0\u304C\u958B\u59CB\u3055\u308C\u307E\u3059\u3002",CoderDataTypeNotFound:"No CoderDataType matches the condition.",CoderDictBtnToolTip:"Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3092\u4F7F\u7528\u3057\u3066\u3001\u30C7\u30FC\u30BF\u3068\u95A2\u6570\u306E\u30B3\u30FC\u30C9\u5B9A\u7FA9\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u8A2D\u5B9A",ConflictingModelRefInportStorageClass:"\u4FE1\u53F7\u306E\u69CB\u6210\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306E\u5165\u529B\u7AEF\u5B50 ${0} \u3068\u3001\u5165\u529B\u7AEF\u5B50\u306B\u63A5\u7D9A\u3055\u308C\u3066\u3044\u308B\u30D6\u30ED\u30C3\u30AF '${3}' \u306E\u51FA\u529B\u7AEF\u5B50 ${2} \u306B\u306F\u3001Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5404\u7AEF\u5B50\u306F\u540C\u3058\u4FE1\u53F7\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3044\u305A\u308C\u304B\u306E\u7AEF\u5B50\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",ConflictingModelRefOutportStorageClass:"\u4FE1\u53F7\u306E\u69CB\u6210\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306E\u51FA\u529B\u7AEF\u5B50 ${0} \u306B\u306F\u3001Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u30E2\u30C7\u30EB\u3067\u306F\u3001\u540C\u3058\u7AEF\u5B50\u306B Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u7AEF\u5B50\u306F\u540C\u3058\u4FE1\u53F7\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u308B\u305F\u3081\u3001\u4E00\u65B9\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Constants:"Constants",ConstantsToolTip:"Constant \u30D6\u30ED\u30C3\u30AF I/O \u304A\u3088\u3073\u5B9A\u6570\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",CorruptMappingsNotLoaded:"\u4FDD\u5B58\u3057\u305F\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB\u304C\u7834\u640D\u3057\u3066\u3044\u308B\u53EF\u80FD\u6027\u304C\u3042\u308B\u305F\u3081\u3001\u30B3\u30FC\u30C9 \u30B8\u30A7\u30CD\u30EC\u30FC\u30BF\u30FC\u306F\u30E2\u30C7\u30EB '${0}' \u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u8AAD\u307F\u8FBC\u307F\u307E\u305B\u3093\u3067\u3057\u305F\u3002",CppAccessColumnName:"\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9",CppClassSettingDialogToolstripDescription:"\u30AF\u30E9\u30B9\u540D\u3068\u540D\u524D\u7A7A\u9593\u3092\u69CB\u6210\u3057\u307E\u3059",CppClassSettingDialogToolstripLabel:"\u30AF\u30E9\u30B9\u540D\u3068\u540D\u524D\u7A7A\u9593",CppCodeMappingToolstripDescription:"\u30C7\u30FC\u30BF\u3068\u30E1\u30BD\u30C3\u30C9\u306E\u30AF\u30E9\u30B9 \u30E1\u30F3\u30D0\u30FC\u3092\u69CB\u6210\u3057\u307E\u3059",CppCodeMappingToolstripLabel:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0",CppCommunicationToolstripLabel:"\u901A\u4FE1\u306E\u69CB\u6210",CppDataPropertyKind:"\u30C7\u30FC\u30BF \u30A2\u30AF\u30BB\u30B9",CppDataSettings:"\u30C7\u30FC\u30BF",CppExplicitPartitioningThreadsSeparateOutputUpdateNotSupported:`\u30E2\u30C7\u30EB "\${0}" \u306E\u5404\u30BF\u30B9\u30AF\u306F\u660E\u793A\u7684\u306A\u5206\u5272\u3092\u4F7F\u7528\u3057\u3066\u5206\u5272\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u304A\u308A\u3001[1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u3092 [\u30AA\u30D5] \u306B\u8A2D\u5B9A\u3057\u3066\u30E2\u30C7\u30EB\u304C\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="CppNativeThreadsSeparateOutputUpdateNotSupported" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>[1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B</txt> </action> </actions>`,CppIOAccessNotNoneWithFPCConfigured:"[I/O \u5F15\u6570 step \u30E1\u30BD\u30C3\u30C9] \u30B9\u30BF\u30A4\u30EB\u306E step \u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3059\u308B\u306B\u306F\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u306E [\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027] \u3092 [public] \u306B\u3001[\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9] \u3092 [\u306A\u3057] \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",CppMethodNameColumnName:"\u30E1\u30BD\u30C3\u30C9\u540D",CppMethodPreviewColumnName:"\u30E1\u30BD\u30C3\u30C9\u306E\u30D7\u30EC\u30D3\u30E5\u30FC",CppMethodVisibilityColumnName:"\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027",CppNativeThreadsSeparateOutputUpdateNotSupported:`\u30E2\u30C7\u30EB "\${0}" \u3067\u3001[NativeThreadsExample] \u304A\u3088\u3073 [1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u306E [\u30BF\u30FC\u30B2\u30C3\u30C8 \u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0] \u3092 [\u30AA\u30D5] \u306B\u8A2D\u5B9A\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u30E2\u30C7\u30EB\u3067\u306F\u3001\u30B5\u30F3\u30D7\u30EB\u306E ERT \u30E1\u30A4\u30F3\u306E\u751F\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NativeThreadsSeparateOuptutUpdate" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>[1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B</txt> </action> <action type="fixit" id="NativeThreadsExampleMain" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'off')</cmd> <txt>[\u30E1\u30A4\u30F3 \u30D7\u30ED\u30B0\u30E9\u30E0\u4F8B\u306E\u751F\u6210] \u3092 [\u30AA\u30D5] \u306B\u8A2D\u5B9A\u3059\u308B</txt> </action> </actions>`,CppStaticMainPointerDataAccess:`\u30E2\u30C7\u30EB "\${0}" \u306B\u3064\u3044\u3066\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067 "\${1}" \u306E\u30C7\u30FC\u30BF \u30A2\u30AF\u30BB\u30B9 \u30D7\u30ED\u30D1\u30C6\u30A3\u304C [\u30DD\u30A4\u30F3\u30BF\u30FC] \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u69CB\u6210\u3067\u306F\u3001\u30E2\u30C7\u30EB\u304C\u3001\u30B5\u30F3\u30D7\u30EB\u306E ERT \u30E1\u30A4\u30F3\u306E\u751F\u6210\u3001SIL \u307E\u305F\u306F PIL \u30E2\u30C7\u30EB \u30D6\u30ED\u30C3\u30AF\u306E\u4F5C\u6210\u3001\u307E\u305F\u306F\u30B3\u30FC\u30C9\u306E\u307F\u306E\u751F\u6210\u306E\u3044\u305A\u308C\u304B\u3092\u884C\u3046\u3088\u3046\u306B\u69CB\u6210\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>[\u30E1\u30A4\u30F3 \u30D7\u30ED\u30B0\u30E9\u30E0\u4F8B\u306E\u751F\u6210] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B\u3002</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u5185\u3067\u3001'${0}' \u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u69CB\u6210\u3067\u304D\u307E\u305B\u3093\u3002'${0}' \u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u5B9A\u7FA9\u3057\u3066\u3001\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u305D\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u9069\u7528\u3057\u307E\u3059\u3002const \u307E\u305F\u306F volatile \u306E\u4FEE\u98FE\u5B50\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u69CB\u6210\u3057\u307E\u3059\u3002",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`\u30C7\u30FC\u30BF\u8EE2\u9001\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u30C7\u30FC\u30BF\u8EE2\u9001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u547C\u3073\u51FA\u3057\u53EF\u80FD\u306A\u95A2\u6570\u3092\u63A5\u7D9A\u3059\u308B\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u4FE1\u53F7\u306B\u5BFE\u3057\u30C7\u30FC\u30BF\u8EE2\u9001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"\u30BF\u30B9\u30AF\u9593\u306E\u30C7\u30FC\u30BF\u8EE2\u9001",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"\u524A\u9664",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"\u8FFD\u52A0\u30D7\u30ED\u30D1\u30C6\u30A3\u306A\u3057\u3002",DocBtnToolTip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3057\u3066\u3001\u30E2\u30C7\u30EB\u306E\u30C7\u30FC\u30BF\u8981\u7D20\u3068\u95A2\u6570\u3092\u30B3\u30FC\u30C9\u751F\u6210\u306E\u69CB\u6210\u306B\u95A2\u9023\u4ED8\u3051\u307E\u3059\u3002",DplTypeDlgCancelButtonLabel:"\u30AD\u30E3\u30F3\u30BB\u30EB",DplTypeDlgCppClassLabel:"C++ \u30AF\u30E9\u30B9\u540D:",DplTypeDlgCppClassLabelToolTip:"C++ \u30AF\u30E9\u30B9\u540D\u3002",DplTypeDlgCppClassNamespaceLabel:"C++ \u30AF\u30E9\u30B9\u540D\u7A7A\u9593:",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ \u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3002",DplTypeDlgCppClassNamespaceTextboxToolTip:"\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u3066\u65E2\u5B9A\u306E\u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3092\u4F7F\u3046\u304B\u3001\u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3068\u3057\u3066\u6709\u52B9\u306A C++ \u8B58\u5225\u5B50\u3092\u5165\u529B\u3057\u307E\u3059\u3002",DplTypeDlgCppClassTextboxToolTip:"\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u3066\u65E2\u5B9A\u306E\u30AF\u30E9\u30B9\u540D\u3092\u4F7F\u3046\u304B\u3001\u30AF\u30E9\u30B9\u540D\u3068\u3057\u3066\u6709\u52B9\u306A C++ \u8B58\u5225\u5B50\u3092\u5165\u529B\u3057\u307E\u3059\u3002",DplTypeDlgDescription:"C++ \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059",DplTypeDlgHelpButtonLabel:"\u30D8\u30EB\u30D7",DplTypeDlgInvalidIdentifier:"\u7121\u52B9\u306A C++ \u8B58\u5225\u5B50",DplTypeDlgOKButtonLabel:"OK",DplTypeDlgTitle:"'${0}' \u306E C++ \u30AF\u30E9\u30B9\u8A2D\u5B9A\u306E\u69CB\u6210",DuplicateIDMWarn:`\${1} '\${2}' \u306B\u3064\u3044\u3066\u3001\u91CD\u8907\u3059\u308B\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u30E2\u30C7\u30EB '\${0}' \u306B\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="DuplicateIDMWarnFix" retvalue="false"> <cmd>coder.mapping.internal.removeInvalidCodeMappings('\${0}')</cmd> <txt>\u30E2\u30C7\u30EB '\${0}' \u304B\u3089\u91CD\u8907\u3059\u308B\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u524A\u9664\u3059\u308B\u3002</txt> </action> </actions>`,ERTFunctionGroupMappingLabel:"\u30E2\u30C7\u30EB\u6A5F\u80FD\u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"\u30A8\u30E9\u30FC",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"\u30B9\u30C6\u30C3\u30D7\u95A2\u6570\u3084\u30EA\u30BB\u30C3\u30C8\u95A2\u6570\u306A\u3069\u306E\u95A2\u6570",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`\u95A2\u6570\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u95A2\u6570\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u500B\u3005\u306E\u30E2\u30C7\u30EB\u95A2\u6570\u306B\u5BFE\u3057\u95A2\u6570\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"\u30D9\u30FC\u30B9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u307E\u305F\u306F\u30C7\u30FC\u30BF \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u30C7\u30FC\u30BF \u30B9\u30C8\u30A2",GlobalParameters:"External parameters",GlobalParametersToolTip:"\u30D9\u30FC\u30B9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u307E\u305F\u306F\u30C7\u30FC\u30BF \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",HelpBtnLabel:"\u30C7\u30FC\u30BF\u3068\u95A2\u6570\u3092\u30B3\u30FC\u30C9\u751F\u6210\u7528\u306B\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D8\u30EB\u30D7\u3002",InaccessibleCppPrivateIO:"C++ \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u306F\u3001\u5165\u529B\u7AEF\u5B50\u307E\u305F\u306F\u51FA\u529B\u7AEF\u5B50\u304C [\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027] \u3092 [\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8] \u306B\u8A2D\u5B9A\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001[\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9] \u3092 [\u306A\u3057] \u4EE5\u5916\u306E\u5024\u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"\u30E2\u30C7\u30EB\u5185\u3067 Initialize Function \u30D6\u30ED\u30C3\u30AF\u3001Reset Function \u30D6\u30ED\u30C3\u30AF\u3001\u304A\u3088\u3073 Terminate Function \u30D6\u30ED\u30C3\u30AF\u3068\u3057\u3066\u8868\u3055\u308C\u308B\u95A2\u6570\u3002",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"\u30E2\u30C7\u30EB \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u5165\u529B\u7AEF\u5B50\u306E\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C '${0}' \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306F\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u6A5F\u80FD\u306B\u5BFE\u5FDC\u3057\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 [\u65E2\u5B9A] \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Inports:"Inports",InportsNotConfigurableMessage:`\u5165\u529B\u7AEF\u5B50\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u5165\u529B\u7AEF\u5B50\u306B\u5BFE\u3057\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,InportsToolTip:"\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"\u30D6\u30ED\u30C3\u30AF\u306E\u96E2\u6563\u72B6\u614B\u3001\u30D6\u30ED\u30C3\u30AF\u306E\u51FA\u529B\u4FE1\u53F7\u3001\u304A\u3088\u3073\u30BC\u30ED\u30AF\u30ED\u30C3\u30B7\u30F3\u30B0\u4FE1\u53F7\u3068\u4EE5\u524D\u306E\u30BC\u30ED\u30AF\u30ED\u30C3\u30B7\u30F3\u30B0\u4FE1\u53F7",InvalidBlockForInportMappings:"\u5165\u529B\u7AEF\u5B50\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u306B\u306E\u307F\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u3059\u3002",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"\u30E2\u30C7\u30EB\u306F\u30D0\u30FC\u30C1\u30E3\u30EB\u306E In Bus Element \u30D6\u30ED\u30C3\u30AF\u307E\u305F\u306F Out Bus Element \u30D6\u30ED\u30C3\u30AF\u3092\u542B\u307F\u3001\u30B5\u30FC\u30D3\u30B9 \u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u3092\u5B9A\u7FA9\u3059\u308B\u5171\u6709 Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30FC\u30D3\u30B9 \u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u3092\u5B9A\u7FA9\u3059\u308B\u30B3\u30FC\u30C0\u30FC \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306B\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30E2\u30C7\u30EB\u306E\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3059\u308B\u306B\u306F\u3001In Bus Element \u30D6\u30ED\u30C3\u30AF\u3068 Out Bus Element \u30D6\u30ED\u30C3\u30AF\u306F\u975E\u30D0\u30FC\u30C1\u30E3\u30EB\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u5165\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidInputError:'"${0}" \u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u6307\u5B9A\u3055\u308C\u305F\u5024\u304C\u7121\u52B9\u3067\u3059\u3002',InvalidInternalDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3001\u307E\u305F\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidMaxMsgNumValue:"\u30C7\u30FC\u30BF\u578B\u304C\u7121\u52B9\u3067\u3059\u3002\u6700\u5927\u5024\u306F\u7B26\u53F7\u306A\u3057\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",InvalidOutportDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidPriorityValue:"\u30C7\u30FC\u30BF\u578B\u304C\u7121\u52B9\u3067\u3059\u3002\u512A\u5148\u9806\u4F4D\u306E\u5024\u306F\u7B26\u53F7\u306A\u3057\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",InvalidPrototype:"\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7 '${0}' \u306F\u6709\u52B9\u306A\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092\u6709\u52B9\u306A '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidStorageClassTooltipIndividualBusElementPort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30D0\u30FC\u30C1\u30E3\u30EB \u30D0\u30B9 \u30C7\u30FC\u30BF\u578B\u306E\u30D0\u30B9\u8981\u7D20\u7AEF\u5B50\u3067\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u3067\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"\u3053\u306E\u30E2\u30C7\u30EB\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC (\u5024\u306F\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappedUnsupportedBlock:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F\u672A\u30B5\u30DD\u30FC\u30C8\u306E\u30D6\u30ED\u30C3\u30AF\u3067\u306E '${1}' \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u3059\u3002",MappingFunctionDefault:"Default",MappingInspectorError:"1 \u3064\u4EE5\u4E0A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u6307\u5B9A\u3055\u308C\u305F\u5024\u304C\u7121\u8996\u3055\u308C\u307E\u3057\u305F\u3002",MappingInspectorTooltip:"\u8FFD\u52A0\u306E\u30DE\u30C3\u30D4\u30F3\u30B0 \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u69CB\u6210\u3057\u307E\u3059\u3002",MappingNone:"None",MappingNotFound_AUTOSAR:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F AUTOSAR \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",MappingNotFound_C:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F C \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"\u53C2\u7167\u5148\u306E\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 '${0}' \u304B\u3089\u306E\u60C5\u5831\u304C C++ \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F\u3002",MigrateFromCSRef:"\u53C2\u7167\u5148\u306E\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 '${0}' \u304B\u3089\u306E\u60C5\u5831\u304C Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3068 C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F\u3002",MigrateMemorySectionError:"\u8A8D\u8B58\u3055\u308C\u306A\u3044\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3 '${0}' \u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u79FB\u884C\u3067\u304D\u307E\u305B\u3093\u3002",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"\u89E3\u6C7A\u6E08\u307F\u306E\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"\u81EA\u5DF1\u30C7\u30FC\u30BF\u69CB\u9020\u4F53",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"\u540C\u3058\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u3064\u3044\u3066 '${0}' \u3068\u3044\u3046\u540D\u524D\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u4EE5\u524D\u306B\u4F5C\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",ModelParameters:"Model parameters",ModelParametersToolTip:"\u3053\u306E\u30E2\u30C7\u30EB\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC (\u5024\u306F\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709)",NewStorageClassModelReference:"\u53C2\u7167\u30E2\u30C7\u30EB '${0}' \u3067\u3001${1} '${2}' \u304C Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u3001\u304A\u3088\u3073\u30EB\u30FC\u30C8\u5165\u529B\u7AEF\u5B50\u3092\u30BD\u30FC\u30B9\u3068\u3059\u308B\u4FE1\u53F7\u3092 Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3059\u308B\u3053\u3068\u306F\u3001\u53C2\u7167\u30E2\u30C7\u30EB\u306E\u30B3\u30FC\u30C9\u751F\u6210\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002${1} \u3092\u30B3\u30FC\u30C9\u751F\u6210\u88FD\u54C1\u3067\u6307\u5B9A\u3055\u308C\u305F\u3001\u307E\u305F\u306F\u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",NoCoderDictionaryWarn:`\u30E2\u30C7\u30EB '\${0}' \u306B C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3042\u308A\u307E\u3059\u304C\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306F\u3042\u308A\u307E\u305B\u3093\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>\u30E2\u30C7\u30EB '\${0}' \u306B Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3092\u4F5C\u6210\u3059\u308B\u3002 </txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"\u30E2\u30C7\u30EB \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u51FA\u529B\u7AEF\u5B50\u306E\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C '${0}' \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306F\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u6A5F\u80FD\u306B\u5BFE\u5FDC\u3057\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 [\u65E2\u5B9A] \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Outports:"Outports",OutportsNotConfigurableMessage:`\u51FA\u529B\u7AEF\u5B50\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u51FA\u529B\u7AEF\u5B50\u306B\u5BFE\u3057\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,OutportsToolTip:"\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50",OutputArgReturnByVal:"\u7AEF\u5B50 '${0}' \u306F\u975E\u30B9\u30AB\u30E9\u30FC\u5024\u3092\u4FDD\u6301\u3059\u308B\u305F\u3081\u3001\u623B\u308A\u5F15\u6570\u3068\u3057\u3066\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093",PackageSelectionToolTip:`sldataclassdesigner \u3068 cscdesigner \u3092\u4F7F\u7528\u3057\u3066\u4F5C\u6210\u3055\u308C\u3001
\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3068\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u542B\u3080\u30D1\u30C3\u30B1\u30FC\u30B8\u3092\u9078\u629E\u3057\u307E\u3059\u3002`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3067\u6307\u5B9A\u3055\u308C\u305F\u7AEF\u5B50\u540D '${0}' \u304C\u30E2\u30C7\u30EB\u5185\u306B\u3042\u308A\u307E\u305B\u3093\u3002\u95A2\u6570\u306E\u5F15\u6570\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",PreviewColumnName:"Preview",PreviewLinkText:"Click to update",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"\u30D7\u30ED\u30D1\u30C6\u30A3 \u30A4\u30F3\u30B9\u30DA\u30AF\u30BF\u30FC\u3067\u958B\u304F",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[\u8AAD\u307F\u53D6\u308A\u5C02\u7528]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9 '${1}' \u3078\u306E ${0} \u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u305D\u306E ${0} \u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u5916\u90E8\u30C7\u30FC\u30BF \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3068\u7AF6\u5408\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3092\u5909\u66F4\u3059\u308B\u304B\u3001\u5916\u90E8\u30C7\u30FC\u30BF \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092 Auto \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",ResovledSignalContextMenu_Create:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u4F5C\u6210...",ResovledSignalContextMenu_Explore:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u63A2\u7D22",ResovledSignalContextMenu_Open:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u958B\u304F",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"'${0}' \u3068\u3044\u3046\u540D\u524D\u306E MessageCustomization \u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059\u3002",SameStorageClassForLocalAndParameterArgument:"\u30E2\u30C7\u30EB '${0}' \u306E \"${1}\" '${2}' \u304A\u3088\u3073 \"${3}\" '${4}' \u306F\u540C\u3058\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9 '${5}' \u3092\u4F7F\u7528\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u7570\u306A\u308B\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3057\u3066 \"${6}\" \u3068 \"${7}\" \u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"\u81EA\u5DF1\u30C7\u30FC\u30BF\u69CB\u9020\u4F53",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"\u30E2\u30C7\u30EB\u304C\u518D\u547C\u3073\u51FA\u3057\u53EF\u80FD\u306A\u5834\u5408\u306B\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709\u3055\u308C\u308B\u30C7\u30FC\u30BF \u30B9\u30C8\u30A2",SharedUtility:"Shared utility",SharedUtilityToolTip:"\u30E2\u30C7\u30EB\u5185\u306E\u56FA\u5B9A\u5C0F\u6570\u70B9\u95A2\u6570\u3001\u30EB\u30C3\u30AF\u30A2\u30C3\u30D7 \u30C6\u30FC\u30D6\u30EB\u95A2\u6570\u3001\u30D0\u30A4\u30CA\u30EA\u691C\u7D22\u95A2\u6570\u306A\u3069\u306E\u95A2\u6570",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"\u65E2\u5B9A\u306E\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4F5C\u6210",State:"State",StepFPCombinedIOOrdering:"\u540C\u3058\u540D\u524D\u3092\u3082\u3064\u7AEF\u5B50\u306E\u30DA\u30A2\u306F\u3001\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u5185\u3067\u96A3\u308A\u5408\u308F\u305B\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C \u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u69CB\u6210\u306F\u5C06\u6765\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u524A\u9664\u3055\u308C\u308B\u4E88\u5B9A\u3067\u3059\u3002\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemBuildFPCForCPP:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C++ \u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemConversionForFunctionPlatformError:"\u30E2\u30C7\u30EB '${0}' \u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u53C2\u7167\u30E2\u30C7\u30EB\u3078\u306E\u5909\u63DB\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3002\u5909\u63DB\u3092\u7D9A\u884C\u3059\u308B\u306B\u306F\u3001\u30E2\u30C7\u30EB\u53C2\u7167\u5909\u63DB\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3067\u3001[\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u30B3\u30D4\u30FC] \u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u30AA\u30D5\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemConversionForFunctionPlatformWarn:"\u30E2\u30C7\u30EB '${0}' \u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u53C2\u7167\u30E2\u30C7\u30EB\u3078\u306E\u5909\u63DB\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3002",SubsystemConversionForServiceInterfaceNotification:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u306B\u63A5\u7D9A\u3055\u308C\u305F\u30E2\u30C7\u30EB\u8981\u7D20\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001\u4F5C\u6210\u3055\u308C\u305F\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306B\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002",SubsystemFpcNewConfigurationForC:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C \u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u69CB\u6210\u306F\u5C06\u6765\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u524A\u9664\u3055\u308C\u308B\u4E88\u5B9A\u3067\u3059\u3002\u65B0\u898F\u306E\u69CB\u6210\u3067\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemFpcNewConfigurationForCPP:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C++ \u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemMemSecPkgMisMatch:"\u30E2\u30C7\u30EB '${0}' \u5185\u306E '${1}' \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u30AB\u30C6\u30B4\u30EA\u304C\u3001'${2}' \u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u306F\u3001'${3}' \u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u540C\u3058\u30D1\u30C3\u30B1\u30FC\u30B8\u304B\u3089\u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemMemorySectionInMultiplePackages:"\u30E2\u30C7\u30EB '${0}' \u5185\u306E '${1}' \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u304C\u3001\u5C11\u306A\u304F\u3068\u3082 2 \u3064\u306E\u30D1\u30C3\u30B1\u30FC\u30B8 (${2} \u304A\u3088\u3073 ${3}) \u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30C7\u30FC\u30BF\u304A\u3088\u3073\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u306B\u5BFE\u3057\u8A2D\u5B9A\u3055\u308C\u308B\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306F\u3001\u540C\u3058\u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u3067\u5B9A\u7FA9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SwAddrMethodForInternalDataTooltip:"SectionType \u304C 'Var' \u306E SwAddrMethod \u3092\u9078\u629E\u3057\u307E\u3059\u3002",SwAddrMethodForRunnableTooltip:"SectionType \u304C 'Code' \u306E SwAddrMethod \u3092\u9078\u629E\u3057\u307E\u3059\u3002",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50 '${1}' \u306F\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9\u901A\u4FE1\u3092\u4F7F\u7528\u3059\u308B\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u3067\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3055\u308C\u3066\u304A\u308A\u3001\u8B58\u5225\u5B50\u306F\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5165\u529B\u7AEF\u5B50\u306E\u8B58\u5225\u5B50\u3092\u6307\u5B9A\u3059\u308B\u304B\u3001\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30FC\u30BF\u901A\u4FE1\u65B9\u6CD5\u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001\u51FA\u529B\u7AEF\u5B50 '${1}' \u306F\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9\u901A\u4FE1\u3092\u4F7F\u7528\u3059\u308B\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u3067\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3055\u308C\u3066\u304A\u308A\u3001\u8B58\u5225\u5B50\u306F\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u51FA\u529B\u7AEF\u5B50\u306E\u8B58\u5225\u5B50\u3092\u6307\u5B9A\u3059\u308B\u304B\u3001\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30FC\u30BF\u901A\u4FE1\u65B9\u6CD5\u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"\u95A2\u9023\u4ED8\u3051\u306A\u3057",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u691C\u8A3C\u3057\u307E\u3059",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570 '${0}' \u3068 '${1}' \u304C\u540C\u3058\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3067\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4E00\u65B9\u306E\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570\u306E\u95A2\u6570\u540D\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",duplicateMappedFcnCallInport:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30D6\u30ED\u30C3\u30AF '${0}' \u3068 '${1}' \u304C\u540C\u3058\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3067\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4E00\u65B9\u306E\u30D6\u30ED\u30C3\u30AF\u306E\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",duplicateMappingFound:"\u91CD\u8907\u3059\u308B '${0}' \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002mappingObj.removeInvalidInternalDataMappings \u3092\u4F7F\u7528\u3057\u3066\u91CD\u8907\u3059\u308B\u8981\u7D20\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002",inactiveMappingsLost:"\u30E2\u30C7\u30EB '${0}' \u306B\u3001${1} \u7528\u306B\u69CB\u6210\u3055\u308C\u305F\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u3089\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u30E2\u30C7\u30EB\u3092\u4EE5\u524D\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3059\u308B\u3068\u5931\u308F\u308C\u307E\u3059\u3002",invalidBlockParameterName:"\u30D6\u30ED\u30C3\u30AF ${1} \u306B\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC '${0}' \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",invalidSelectionForAddingBlockParameters:"\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u306B\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"Argument Inport \u30D6\u30ED\u30C3\u30AF ${0} \u306E\u51FA\u529B\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9\u751F\u6210\u7528\u306B\u69CB\u6210\u3067\u304D\u307E\u305B\u3093\u3002",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unauthorizedAccessToLegacyClass:"Unauthorized access to a deprecated class in the following file: ${0}. Update the callsite to use the CodeAttributeBundle instead.",unexpectedCSCAttribute:"Coder dictionary cannot identify the data-type for CSC attribute '${0}'.",unmappedEntryPointFunction:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570 '${0}' \u306E\u95A2\u6570\u540D\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u95A2\u6570\u540D\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unmappedFcnCallInport:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u306F\u3001\u30D6\u30ED\u30C3\u30AF '${0}' \u306E\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u306F\u8A2D\u5B9A\u3055\u308C\u307E\u305B\u3093\u3002",unmappedIOBlock:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30D6\u30ED\u30C3\u30AF '${0}' \u306E\u69CB\u6210\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},32764:(_,P,l)=>{_.exports={root:{ASAPAttributesTitle:"ASAP2 attributes",AUTOSARAttributes:"Additional attributes",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport block outputs function-call trigger signal, which is not supported by inport code mappings.",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'Code Mappings editor switched code interface from "${0}" to "${1}" to reflect new code interface setting for model. Previous code mappings retained and not overwritten.',CodeMappingPreviewTitle:"Code Mapping Preview",CodeMapping_AddBlockParameter_Tooltip:"Add block parameters for selected blocks to code mappings.",CodeMapping_AddSignal_Tooltip:"Add selected signals to code mappings.",CodeMapping_RemoveBlockParameter_Tooltip:"Remove parameters for blocks selected in model diagram or a block parameter selected in code mappings.",CodeMapping_RemoveSignal_Tooltip:"Remove selected signals from code mappings.",CodeMapping_SyncNamedSignals_Tooltip:"Add named signals to code mappings.",CodeMappings:"Code Mappings ${0}",CodeMappingsAdaptiveAutosar:"Code Mappings - Component Interface ${0}",CodeMappingsAutosar:"Code Mappings - Component Interface ${0}",CodeMappingsAutosarSubComponent:"Code Mappings - Subcomponent Interface",CodeMappingsC:"Code Mappings - Component Interface ${0}",CodeMappingsComponent:"Code Mappings - Component Interface ${0}",CodeMappingsCpp:"Code Mappings - Component Interface ${0}",CodeMappingsDDS:"Code Mappings - Component Interface ${0}",CodeMappingsDefaults:"Default Code Mappings ${0}",CodeMappingsEditorInconsistentApp:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open the model as a top model</a>.",CodeMappingsEditorInconsistentCIP:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a top model</a> and change setting of model configuration parameter Code interface packaging to '${1}'.",CodeMappingsEditorInconsistentMapping:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a root model</a> or, for model '${0}', change setting of model configuration parameter System target file to '${1}'.",CodeMappingsEditorInconsistentSTFandCIP:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a top model</a> and change model configuration parameter System target file to '${1}' and parameter Code interface packaging to '${2}'.",CodeMappingsEditorMappingCreation:"Code Mappings are not available for model '${0}'. <a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">Configure default code interfaces and open Code Mappings editor.</a>",CodeMappingsEditorNoMappings:"Model '${0}' does not support code mappings.",CodeMappingsNCDefault:"Code Mappings ${0}",CodeMappingsSubAssembly:"Code Mappings - Subcomponent Interface ${0}",CodeProperties_CCodeSyncStage:"C code mapping synchronization",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"Update code mappings. Initiates an update diagram.",CoderDataTypeNotFound:"No CoderDataType matches the condition.",CoderDictBtnToolTip:"Create code definitions for data and functions by using Embedded Coder Dictionary.",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"Configure Prototype",ConflictingModelRefInportStorageClass:"Conflicting signal configuration. Inport port ${0} for referenced model '${1}' and output port ${2} from block '${3}', which feeds the inport port, are configured with storage classes other than Auto. Because the ports map to the same signal, you must set the storage class for one of the ports to Auto.",ConflictingModelRefOutportStorageClass:"Conflicting signal configuration. Outport port ${0} for referenced model '${1}' is configured with a storage class other than Auto. The same port is configured with a storage class other than Auto in this model. Because the port maps to the same signal, you must set the storage class for one instance to Auto.",Constants:"Constants",ConstantsToolTip:"Constant block I/O and constant parameters",CorruptMappingsNotLoaded:"Code generator did not load code mappings for model '${0}' due to possible corruption in saved model file.",CppAccessColumnName:"Member Access Method",CppClassSettingDialogToolstripDescription:"Configure class name and namespace",CppClassSettingDialogToolstripLabel:"Class Name & Namespace",CppCodeMappingToolstripDescription:"Configure data and method class members",CppCodeMappingToolstripLabel:"Code Mappings",CppCommunicationToolstripLabel:"Configure Communication",CppDataPropertyKind:"Data Access",CppDataSettings:"Data",CppExplicitPartitioningThreadsSeparateOutputUpdateNotSupported:`Model "\${0}" has individual tasks mapped to partitions using explicit partitioning and is configured with 'Single output/update function' set to 'off'. This configuration is not supported. <actions exclusiveFixIts="yes"> <action type="fixit" id="CppNativeThreadsSeparateOutputUpdateNotSupported" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>Set 'Single output/update function' to 'on'</txt> </action> </actions>`,CppIOAccessNotNoneWithFPCConfigured:"To generate 'I/O arguments step method' style step methods, in code mappings, inports and outports must be configured with 'Data Visibility' set to 'public' and 'Member Access Method' set to 'None'.",CppMethodNameColumnName:"Method Name",CppMethodPreviewColumnName:"Method Preview",CppMethodVisibilityColumnName:"Data Visibility",CppNativeThreadsSeparateOutputUpdateNotSupported:`In model "\${0}" generating a sample ERT main is not supported for a model configured with 'Target Operating System' of 'NativeThreadsExample' and 'Single Output/Update Function' set to 'off'. <actions exclusiveFixIts="yes"> <action type="fixit" id="NativeThreadsSeparateOuptutUpdate" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>Set 'Single output/update function' to 'on'</txt> </action> <action type="fixit" id="NativeThreadsExampleMain" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'off')</cmd> <txt>Set 'Generate an example main program' to 'off'</txt> </action> </actions>`,CppStaticMainPointerDataAccess:`For model "\${0}", the data access property for "\${1}" is set to "Pointer" in the code mappings. In this configuration, the model must be configured to either generate a sample ERT main, create a SIL or PIL model block, or generate code only. <actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>Set 'Generate an example main program' to 'on'.</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"Cannot configure memory sections for '${0}' in the code mapping. To configure memory sections for '${0}', define a storage class and apply the memory section to the storage class. To use const or volatile qualifiers, configure the properties of the storage class.",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`Data Transfers are mapped to the default data transfer service defined in Embedded Coder Dictionary.
To configure data transfer service interface for individual signals of a top model that connect callable functions, set deployment type to Component.`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"Transfer of data between tasks",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"Delete",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"No additional properties.",DocBtnToolTip:"Use Code Mappings editor to associate model data elements and functions with code generation configurations.",DplTypeDlgCancelButtonLabel:"Cancel",DplTypeDlgCppClassLabel:"C++ Class Name :",DplTypeDlgCppClassLabelToolTip:"C++ Class Name.",DplTypeDlgCppClassNamespaceLabel:"C++ Class Namespace :",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ Class Namespace.",DplTypeDlgCppClassNamespaceTextboxToolTip:"Leave blank for default class name space or enter a valid C++ identifier for class name space.",DplTypeDlgCppClassTextboxToolTip:"Leave blank for default class name or enter a valid C++ identifier for class name.",DplTypeDlgDescription:"Configure C++ Class Settings",DplTypeDlgHelpButtonLabel:"Help",DplTypeDlgInvalidIdentifier:"Invalid C++ Identifier",DplTypeDlgOKButtonLabel:"OK",DplTypeDlgTitle:"Configure C++ Class Settings for '${0}'",DuplicateIDMWarn:`Duplicate code mappings found in model '\${0}' for \${1} '\${2}'. <actions exclusiveFixIts="yes"> <action type="fixit" id="DuplicateIDMWarnFix" retvalue="false"> <cmd>coder.mapping.internal.removeInvalidCodeMappings('\${0}')</cmd> <txt>Remove duplicate code mappings from model '\${0}'.</txt> </action> </actions>`,ERTFunctionGroupMappingLabel:"Memory sections for model functions",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"Error",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"Functions such as step and reset functions",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`Functions are mapped to the default function customization templates defined in Embedded Coder Dictionary.
To configure function customization templates for individual model functions, set deployment type to Component.`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"Data stores in base workspace or data dictionary",GlobalParameters:"External parameters",GlobalParametersToolTip:"Parameters defined in base workspace or data dictionary",HelpBtnLabel:"Help for configuring data and functions for code generation.",InaccessibleCppPrivateIO:"In C++ code mapping, if inports or outports are configured with 'Data Visibility' set to 'private', you must set 'Member Access Method' to a value other than 'None'.",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"Functions represented in model as Initialize Function, Reset Function, and Terminate Function blocks.",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"In model code mappings, default storage class for inports is set to '${0}', making generated code noncompliant with function prototype control feature. Set default storage class to 'Default'.",Inports:"Inports",InportsNotConfigurableMessage:`Inports are mapped to the default receiver service interface defined in Embedded Coder Dictionary.
To configure receiver service interface for individual inports of a top model, set deployment type to Component.`,InportsToolTip:"Root-level inports",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"Discrete block states, block output signals, and zero-crossing and previous zero-crossing signals",InvalidBlockForInportMappings:"Inport code mappings are for root-level inports only.",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"Model includes virtual In Bus Element or Out Bus Element blocks and is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration. To generate code for a model linked to a coder dictionary that defines a service code interface configuration, In Bus Element and Out Bus Element blocks must be nonvirtual.",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because model contains a root-level inport that sends a message. In code mappings, set '${6}' to '${5}'.",InvalidInputError:'Value specified for "${0}" property is invalid.',InvalidInternalDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because model contains a root-level inport that sends or root-level outport that receives a message. In code mappings, set '${6}' to '${5}'.",InvalidMaxMsgNumValue:"Invalid data type. Capacity must be an unsigned integer.",InvalidOutportDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because the model contains a root-level outport that receives a message. In code mappings, set '${6}' to '${5}'.",InvalidPriorityValue:"Invalid data type. Priority value must be an unsigned integer",InvalidPrototype:"Function prototype '${0}' is not a valid prototype. Enter a valid prototype.",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set ${6} '${7}' to a valid '${5}'.",InvalidStorageClassTooltipIndividualBusElementPort:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For bus element ports with a virtual bus data type, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level outports that receive messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"Tunable parameters defined in this model (value shared across model instances)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappedUnsupportedBlock:"Model '${0}' has a '${1}' mapping with an unsupported block.",MappingFunctionDefault:"Default",MappingInspectorError:"Values specified for one or more code mapping properties ignored.",MappingInspectorTooltip:"Configure additional mapping properties.",MappingNone:"None",MappingNotFound_AUTOSAR:"Model '${0}' does not have AUTOSAR mapping.",MappingNotFound_C:"Model '${0}' does not have C mapping.",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"Information from referenced configuration set '${0}' imported into C++ code mappings.",MigrateFromCSRef:"Information from referenced configuration set '${0}' imported into Embedded Coder Dictionary and C code mappings.",MigrateMemorySectionError:"Unable to migrate unrecognized memory section '${0}' to code mappings.",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"Resolved signal object cannot be found",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"Self data structure",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"A mapping with name '${0}' for the same target was previously created.",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",ModelParameters:"Model parameters",ModelParametersToolTip:"Tunable parameters defined in this model (value shared across model instances)",NewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}'is mapped to storage class defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root inport source, mappings to storage classes that are defined in Embedded Coder Dictionary are not supported for reference model code generation. Map ${1} to a storage class provided by the coder product or that is defined in a package.",NoCoderDictionaryWarn:`Model '\${0}' has a C code mapping but has no Embedded Coder Dictionary. <actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>Create an Embedded Coder Dictionary in model '\${0}'.</txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"In model code mappings, default storage class for outports is set to '${0}', making generated code noncompliant with function prototype control feature. Set default storage class to 'Default'.",Outports:"Outports",OutportsNotConfigurableMessage:`Outports are mapped to the default sender service interface defined in Embedded Coder Dictionary.
To configure sender service interface for individual outports of a top model, set deployment type to Component.`,OutportsToolTip:"Root-level outports",OutputArgReturnByVal:"Port '${0}' cannot be set as return argument since it holds non-scalar value",PackageSelectionToolTip:`Select a package that was created by using sldataclassdesigner
and cscdesigner and that contains memory sections and storage classes.`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"Port name '${0}', specified in function prototype, is not in model. Reconfigure function arguments.",PreviewColumnName:"Preview",PreviewLinkText:"Click to update",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"Open in Property Inspector",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[Read-only]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"Code mapping of ${0} to storage class '${1}' conflicts with storage class setting for external data object associated with that ${0}. Change storage class setting for code mapping or external data object to Auto.",ResovledSignalContextMenu_Create:"Create signal object...",ResovledSignalContextMenu_Explore:"Explore signal object",ResovledSignalContextMenu_Open:"Open signal object",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"MessageCustomization named '${0}' already exists.",SameStorageClassForLocalAndParameterArgument:"For model '${0}', \"${1}\" '${2}' and \"${3}\" '${4}' are configured with the same storage class '${5}'. Configure \"${6}\" and \"${7}\" with different storage classes.",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"Self data structure",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"Data stores shared between model instances when model is reentrant",SharedUtility:"Shared utility",SharedUtilityToolTip:"Functions such as fixed-point functions, lookup table functions, and binary search functions in model",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"Create Default Component",State:"State",StepFPCombinedIOOrdering:"Pair of ports with same name must be next to each other in function prototype.",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"C function prototype configuration for subsystem build will be removed in a future release. To configure the function prototype, convert subsystem '${0}' to a referenced model.",SubsystemBuildFPCForCPP:"C++ class interface configuration for subsystem build is not supported. To configure class interface, convert subsystem '${0}' to a referenced model and configure class interface for model by using code mappings.",SubsystemConversionForFunctionPlatformError:"Model '${0}' is configured with service interface code mappings. Conversion of subsystem to referenced model does not copy service interface code mappings. To proceed with conversion, in Model Reference Conversion Advisor, clear 'Copy code mappings' option.",SubsystemConversionForFunctionPlatformWarn:"Model '${0}' is configured with service interface code mappings. Conversion of subsystem to referenced model does not copy service interface code mappings.",SubsystemConversionForServiceInterfaceNotification:"Code mappings for model elements that feed subsystem '${0}' were not copied to created reference model '${1}'.",SubsystemFpcNewConfigurationForC:"C function prototype configuration for subsystem build will be removed in a future release. For new configurations, convert subsystem '${0}' to a referenced model and configure function prototypes for model by using code mappings.",SubsystemFpcNewConfigurationForCPP:"C++ class interface configuration for subsystem build is not supported. To configure class interface, convert subsystem '${0}' to a referenced model and configure class interface for model by using code mappings.",SubsystemMemSecPkgMisMatch:"For '${1}' subsystem within model '${0}', data or function categories are configured with memory sections that are defined in '${2}' package and data or function default categories are configured with memory sections that are defined in '${3}' package. Select memory sections from the same package.",SubsystemMemorySectionInMultiplePackages:"For '${1}' subsystem within model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages - ${2} and ${3}. Define memory sections configured for data and function default categories in the same package.",SwAddrMethodForInternalDataTooltip:"Select SwAddrMethod with SectionType 'Var'.",SwAddrMethodForRunnableTooltip:"Select SwAddrMethod with SectionType 'Code'.",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"In model '${0}', root-level inport '${1}' is configured for use with a receiver service that uses direct-access communication and no identifier is specified. Specify an identifier for the inport or change receiver service data communication method setting.",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"In model '${0}', outport '${1}' is configured for use with a sender service that uses direct-access communication and no identifier is specified. Specify an identifier for the outport or change sender service data communication method setting.",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"Unresolved",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"Validate Code Mappings",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"Code mappings configures entry-point functions '${0}' and '${1}' with same code function name. Reconfigure function name for one of the entry-point functions.",duplicateMappedFcnCallInport:"Code mapping configures blocks '${0}' and '${1}' with same code function name. Reconfigure code function name for one of the blocks.",duplicateMappingFound:"Duplicate '${0}' mapping found. Use mappingObj.removeInvalidInternalDataMappings to delete duplicate elements.",inactiveMappingsLost:"Model '${0}' contains inactive code mappings configured for ${1}. These mappings will be lost when exporting the model to a previous version.",invalidBlockParameterName:"Tunable parameter '${0}' for block ${1} not found.",invalidSelectionForAddingBlockParameters:"Tunable parameters for selected blocks not found.",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"Unable to configure output signal of Argument Inport block ${0} for code generation.",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unauthorizedAccessToLegacyClass:"Unauthorized access to a deprecated class in the following file: ${0}. Update the callsite to use the CodeAttributeBundle instead.",unexpectedCSCAttribute:"Coder dictionary cannot identify the data-type for CSC attribute '${0}'.",unmappedEntryPointFunction:"Code mappings does not configure function name for entry-point function '${0}'. Configure function name.",unmappedFcnCallInport:"Code mappings does not configure code function name for block '${0}'.",unmappedIOBlock:"Code mappings does not include configuration for block '${0}'. Configure root-level inports and outports."},"ja-jp":!0,"zh-cn":!0}},94008:(_,P,l)=>{_.exports={ASAPAttributesTitle:"ASAP2 \u5C5E\u6027",AUTOSARAttributes:"\u5176\u4ED6\u5C5E\u6027",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport \u6A21\u5757\u8F93\u51FA\u51FD\u6570\u8C03\u7528\u89E6\u53D1\u4FE1\u53F7\uFF0C\u8F93\u5165\u7AEF\u53E3\u4EE3\u7801\u6620\u5C04\u4E0D\u652F\u6301\u8BE5\u4FE1\u53F7\u3002",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u5DF2\u5C06\u4EE3\u7801\u63A5\u53E3\u4ECE "${0}" \u5207\u6362\u5230 "${1}" \u4EE5\u53CD\u6620\u6A21\u578B\u7684\u65B0\u4EE3\u7801\u63A5\u53E3\u8BBE\u7F6E\u3002\u4FDD\u7559\u4EE5\u524D\u7684\u4EE3\u7801\u6620\u5C04\u800C\u4E0D\u8986\u76D6\u3002',CodeMappingPreviewTitle:"Code Mapping Preview",CodeMapping_AddBlockParameter_Tooltip:"\u5C06\u6240\u9009\u6A21\u5757\u7684\u6A21\u5757\u53C2\u6570\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMapping_AddSignal_Tooltip:"\u5C06\u6240\u9009\u4FE1\u53F7\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMapping_RemoveBlockParameter_Tooltip:"\u5220\u9664\u5728\u6A21\u578B\u56FE\u4E2D\u9009\u62E9\u7684\u6A21\u5757\u7684\u53C2\u6570\u6216\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u9009\u62E9\u7684\u6A21\u5757\u53C2\u6570\u3002",CodeMapping_RemoveSignal_Tooltip:"\u4ECE\u4EE3\u7801\u6620\u5C04\u4E2D\u5220\u9664\u6240\u9009\u4FE1\u53F7\u3002",CodeMapping_SyncNamedSignals_Tooltip:"\u5C06\u547D\u540D\u4FE1\u53F7\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMappings:"\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsAdaptiveAutosar:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsAutosar:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsAutosarSubComponent:"\u4EE3\u7801\u6620\u5C04 - \u5B50\u7EC4\u4EF6\u63A5\u53E3",CodeMappingsC:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsComponent:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsCpp:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsDDS:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsDefaults:"\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsEditorInconsistentApp:"\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href=\"matlab:open_system('${0}');\">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\u3002",CodeMappingsEditorInconsistentCIP:`\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '\${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href="matlab:open_system('\${0}');">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\uFF0C\u5E76\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 "\u4EE3\u7801\u63A5\u53E3\u6253\u5305" \u7684\u8BBE\u7F6E\u66F4\u6539\u4E3A '\${1}'\u3002`,CodeMappingsEditorInconsistentMapping:"\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href=\"matlab:open_system('${0}');\">\u5C06\u6A21\u578B\u4F5C\u4E3A\u6839\u6A21\u578B\u6253\u5F00</a>\uFF1B\u6216\u8005\uFF0C\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 \"\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6\" \u7684\u8BBE\u7F6E\u66F4\u6539\u4E3A '${1}'\u3002",CodeMappingsEditorInconsistentSTFandCIP:`\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '\${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href="matlab:open_system('\${0}');">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\uFF0C\u5E76\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u66F4\u6539\u4E3A '\${1}'\uFF0C\u5C06\u53C2\u6570 "\u4EE3\u7801\u63A5\u53E3\u6253\u5305" \u66F4\u6539\u4E3A '\${2}'\u3002`,CodeMappingsEditorMappingCreation:"\u4EE3\u7801\u6620\u5C04\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002<a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">\u914D\u7F6E\u9ED8\u8BA4\u4EE3\u7801\u63A5\u53E3\u5E76\u6253\u5F00\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u3002</a>",CodeMappingsEditorNoMappings:"\u6A21\u578B '${0}' \u4E0D\u652F\u6301\u4EE3\u7801\u6620\u5C04\u3002",CodeMappingsNCDefault:"\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsSubAssembly:"\u4EE3\u7801\u6620\u5C04 - \u5B50\u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeProperties_CCodeSyncStage:"C \u4EE3\u7801\u6620\u5C04\u540C\u6B65",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"\u66F4\u65B0\u4EE3\u7801\u6620\u5C04\u3002\u542F\u52A8\u66F4\u65B0\u56FE\u3002",CoderDataTypeNotFound:"No CoderDataType matches the condition.",CoderDictBtnToolTip:"\u4F7F\u7528 Embedded Coder \u5B57\u5178\u4E3A\u6570\u636E\u548C\u51FD\u6570\u521B\u5EFA\u4EE3\u7801\u5B9A\u4E49\u3002",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"\u914D\u7F6E\u539F\u578B",ConflictingModelRefInportStorageClass:"Conflicting signal configuration. Inport port ${0} for referenced model '${1}' and output port ${2} from block '${3}', which feeds the inport port, are configured with storage classes other than Auto. Because the ports map to the same signal, you must set the storage class for one of the ports to Auto.",ConflictingModelRefOutportStorageClass:"Conflicting signal configuration. Outport port ${0} for referenced model '${1}' is configured with a storage class other than Auto. The same port is configured with a storage class other than Auto in this model. Because the port maps to the same signal, you must set the storage class for one instance to Auto.",Constants:"Constants",ConstantsToolTip:"\u5E38\u91CF\u6A21\u5757 I/O \u548C\u5E38\u91CF\u53C2\u6570",CorruptMappingsNotLoaded:"\u7531\u4E8E\u4FDD\u5B58\u7684\u6A21\u578B\u6587\u4EF6\u53EF\u80FD\u5DF2\u635F\u574F\uFF0C\u4EE3\u7801\u751F\u6210\u5668\u672A\u52A0\u8F7D\u6A21\u578B '${0}' \u7684\u4EE3\u7801\u6620\u5C04\u3002",CppAccessColumnName:"\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5",CppClassSettingDialogToolstripDescription:"\u914D\u7F6E\u7C7B\u540D\u79F0\u548C\u547D\u540D\u7A7A\u95F4",CppClassSettingDialogToolstripLabel:"\u7C7B\u540D\u79F0\u548C\u547D\u540D\u7A7A\u95F4",CppCodeMappingToolstripDescription:"\u914D\u7F6E\u6570\u636E\u548C\u65B9\u6CD5\u7C7B\u6210\u5458",CppCodeMappingToolstripLabel:"\u4EE3\u7801\u6620\u5C04",CppCommunicationToolstripLabel:"\u914D\u7F6E\u901A\u4FE1",CppDataPropertyKind:"\u6570\u636E\u8BBF\u95EE",CppDataSettings:"\u6570\u636E",CppExplicitPartitioningThreadsSeparateOutputUpdateNotSupported:`\u6A21\u578B "\${0}" \u4F7F\u7528\u663E\u5F0F\u5206\u533A\u5C06\u5355\u4E2A\u4EFB\u52A1\u6620\u5C04\u5230\u5206\u533A\uFF0C\u5E76\u4E14\u914D\u7F6E\u4E3A\u5C06 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'off'\u3002\u4E0D\u652F\u6301\u6B64\u914D\u7F6E\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="CppNativeThreadsSeparateOutputUpdateNotSupported" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>\u5C06 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'on'</txt> </action> </actions>`,CppIOAccessNotNoneWithFPCConfigured:"\u8981\u751F\u6210 'I/O \u53C2\u6570\u5355\u6B65\u65B9\u6CD5' \u6837\u5F0F\u5355\u6B65\u65B9\u6CD5\uFF0C\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u914D\u7F6E\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u65F6\uFF0C\u5FC5\u987B\u5C06 '\u6570\u636E\u53EF\u89C1\u6027' \u8BBE\u7F6E\u4E3A '\u516C\u5171'\uFF0C\u5E76\u5C06 '\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5' \u8BBE\u7F6E\u4E3A '\u65E0'\u3002",CppMethodNameColumnName:"\u65B9\u6CD5\u540D\u79F0",CppMethodPreviewColumnName:"\u65B9\u6CD5\u9884\u89C8",CppMethodVisibilityColumnName:"\u6570\u636E\u53EF\u89C1\u6027",CppNativeThreadsSeparateOutputUpdateNotSupported:`\u5728\u6A21\u578B "\${0}" \u4E2D\uFF0C\u5982\u679C\u6A21\u578B\u7684 '\u76EE\u6807\u64CD\u4F5C\u7CFB\u7EDF' \u914D\u7F6E\u4E3A 'NativeThreadsExample' \u4E14 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'off'\uFF0C\u5219\u4E0D\u652F\u6301\u751F\u6210\u793A\u4F8B ERT \u4E3B\u7A0B\u5E8F\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NativeThreadsSeparateOuptutUpdate" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>\u5C06 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'on'</txt> </action> <action type="fixit" id="NativeThreadsExampleMain" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'off')</cmd> <txt>\u5C06 '\u751F\u6210\u793A\u4F8B\u4E3B\u7A0B\u5E8F' \u8BBE\u7F6E\u4E3A 'off'</txt> </action> </actions>`,CppStaticMainPointerDataAccess:`\u5BF9\u4E8E\u6A21\u578B "\${0}"\uFF0C"\${1}" \u7684\u6570\u636E\u8BBF\u95EE\u5C5E\u6027\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u8BBE\u7F6E\u4E3A "\u6307\u9488"\u3002\u5728\u6B64\u914D\u7F6E\u4E2D\uFF0C\u6A21\u578B\u5FC5\u987B\u914D\u7F6E\u4E3A\u751F\u6210\u793A\u4F8B ERT \u4E3B\u7A0B\u5E8F\uFF0C\u521B\u5EFA\u4E00\u4E2A SIL \u6216 PIL \u6A21\u578B\u6A21\u5757\uFF0C\u6216\u4EC5\u751F\u6210\u4EE3\u7801\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>\u5C06 '\u751F\u6210\u793A\u4F8B\u4E3B\u7A0B\u5E8F' \u8BBE\u7F6E\u4E3A 'on'\u3002</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"\u65E0\u6CD5\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u4E3A '${0}' \u914D\u7F6E\u5185\u5B58\u6BB5\u3002\u8981\u4E3A '${0}' \u914D\u7F6E\u5185\u5B58\u6BB5\uFF0C\u8BF7\u5B9A\u4E49\u5B58\u50A8\u7C7B\u5E76\u5C06\u5185\u5B58\u6BB5\u5E94\u7528\u4E8E\u8BE5\u5B58\u50A8\u7C7B\u3002\u8981\u4F7F\u7528 const \u6216 volatile \u9650\u5B9A\u7B26\uFF0C\u8BF7\u914D\u7F6E\u8BE5\u5B58\u50A8\u7C7B\u7684\u5C5E\u6027\u3002",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`\u6570\u636E\u4F20\u8F93\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u6570\u636E\u4F20\u8F93\u670D\u52A1\u3002
\u8981\u4E3A\u8FDE\u63A5\u53EF\u8C03\u7528\u51FD\u6570\u7684\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u4FE1\u53F7\u914D\u7F6E\u6570\u636E\u4F20\u8F93\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"\u4EFB\u52A1\u95F4\u7684\u6570\u636E\u4F20\u8F93",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"\u5220\u9664",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"\u6CA1\u6709\u5176\u4ED6\u5C5E\u6027\u3002",DocBtnToolTip:"\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u5C06\u6A21\u578B\u6570\u636E\u5143\u7D20\u548C\u51FD\u6570\u4E0E\u4EE3\u7801\u751F\u6210\u914D\u7F6E\u76F8\u5173\u8054\u3002",DplTypeDlgCancelButtonLabel:"\u53D6\u6D88",DplTypeDlgCppClassLabel:"C++ \u7C7B\u540D\u79F0:",DplTypeDlgCppClassLabelToolTip:"C++ \u7C7B\u540D\u79F0\u3002",DplTypeDlgCppClassNamespaceLabel:"C++ \u7C7B\u547D\u540D\u7A7A\u95F4:",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ \u7C7B\u547D\u540D\u7A7A\u95F4\u3002",DplTypeDlgCppClassNamespaceTextboxToolTip:"\u5C06\u9ED8\u8BA4\u7C7B\u540D\u79F0\u7A7A\u95F4\u7559\u7A7A\uFF0C\u6216\u4E3A\u7C7B\u540D\u79F0\u7A7A\u95F4\u8F93\u5165\u6709\u6548\u7684 C++ \u6807\u8BC6\u7B26\u3002",DplTypeDlgCppClassTextboxToolTip:"\u5C06\u9ED8\u8BA4\u7C7B\u540D\u79F0\u7559\u7A7A\uFF0C\u6216\u4E3A\u7C7B\u540D\u79F0\u8F93\u5165\u6709\u6548\u7684 C++ \u6807\u8BC6\u7B26\u3002",DplTypeDlgDescription:"\u914D\u7F6E C++ \u7C7B\u8BBE\u7F6E",DplTypeDlgHelpButtonLabel:"\u5E2E\u52A9",DplTypeDlgInvalidIdentifier:"\u65E0\u6548\u7684 C++ \u6807\u8BC6\u7B26",DplTypeDlgOKButtonLabel:"\u786E\u5B9A",DplTypeDlgTitle:"\u4E3A '${0}' \u914D\u7F6E C++ \u7C7B\u8BBE\u7F6E",DuplicateIDMWarn:`\u5728\u6A21\u578B '\${0}' \u4E2D\u53D1\u73B0 \${1} '\${2}' \u7684\u91CD\u590D\u4EE3\u7801\u6620\u5C04\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="DuplicateIDMWarnFix" retvalue="false"> <cmd>coder.mapping.internal.removeInvalidCodeMappings('\${0}')</cmd> <txt>\u4ECE\u6A21\u578B '\${0}' \u4E2D\u5220\u9664\u91CD\u590D\u4EE3\u7801\u6620\u5C04\u3002</txt> </action> </actions>`,ERTFunctionGroupMappingLabel:"\u6A21\u578B\u51FD\u6570\u7684\u5185\u5B58\u6BB5",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"\u9519\u8BEF",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"\u51FD\u6570\uFF0C\u4F8B\u5982 step \u548C reset \u51FD\u6570",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`\u51FD\u6570\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u51FD\u6570\u81EA\u5B9A\u4E49\u6A21\u677F\u3002
\u8981\u4E3A\u5404\u4E2A\u6A21\u578B\u51FD\u6570\u914D\u7F6E\u51FD\u6570\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"\u57FA\u7840\u5DE5\u4F5C\u533A\u6216\u6570\u636E\u5B57\u5178\u4E2D\u7684\u6570\u636E\u5B58\u50A8",GlobalParameters:"External parameters",GlobalParametersToolTip:"\u57FA\u7840\u5DE5\u4F5C\u533A\u6216\u6570\u636E\u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u53C2\u6570",HelpBtnLabel:"\u4E3A\u4EE3\u7801\u751F\u6210\u914D\u7F6E\u6570\u636E\u548C\u51FD\u6570\u7684\u5E2E\u52A9\u3002",InaccessibleCppPrivateIO:"\u5728 C++ \u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u5982\u679C\u5728\u914D\u7F6E\u8F93\u5165\u7AEF\u53E3\u6216\u8F93\u51FA\u7AEF\u53E3\u65F6\u5C06 '\u6570\u636E\u53EF\u89C1\u6027' \u8BBE\u7F6E\u4E3A '\u79C1\u6709'\uFF0C\u5219\u5FC5\u987B\u5C06 '\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5' \u8BBE\u7F6E\u4E3A '\u65E0' \u4EE5\u5916\u7684\u503C\u3002",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"\u6A21\u578B\u4E2D\u8868\u793A\u4E3A Initialize Function\u3001Reset Function \u548C Terminate Function \u6A21\u5757\u7684\u51FD\u6570\u3002",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"\u5728\u6A21\u578B\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8F93\u5165\u7AEF\u53E3\u7684\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '${0}'\uFF0C\u4F7F\u5F97\u751F\u6210\u7684\u4EE3\u7801\u4E0D\u7B26\u5408\u51FD\u6570\u539F\u578B\u63A7\u5236\u529F\u80FD\u7684\u8981\u6C42\u3002\u8BF7\u5C06\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '\u9ED8\u8BA4'\u3002",Inports:"Inports",InportsNotConfigurableMessage:`\u8F93\u5165\u7AEF\u53E3\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u63A5\u6536\u65B9\u670D\u52A1\u63A5\u53E3\u3002
\u8981\u4E3A\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u8F93\u5165\u7AEF\u53E3\u914D\u7F6E\u63A5\u6536\u65B9\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,InportsToolTip:"\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"\u79BB\u6563\u6A21\u5757\u72B6\u6001\u3001\u6A21\u5757\u8F93\u51FA\u4FE1\u53F7\u3001\u8FC7\u96F6\u548C\u5148\u524D\u7684\u8FC7\u96F6\u4FE1\u53F7",InvalidBlockForInportMappings:"\u8F93\u5165\u7AEF\u53E3\u4EE3\u7801\u6620\u5C04\u4EC5\u7528\u4E8E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u3002",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"\u6A21\u578B\u5305\u62EC\u865A\u62DF In Bus Element \u6216 Out Bus Element \u6A21\u5757\uFF0C\u5E76\u94FE\u63A5\u5230\u5B9A\u4E49\u670D\u52A1\u4EE3\u7801\u63A5\u53E3\u914D\u7F6E\u7684\u5171\u4EAB Embedded Coder \u5B57\u5178\u3002\u8981\u4E3A\u94FE\u63A5\u5230\u5B9A\u4E49\u670D\u52A1\u4EE3\u7801\u63A5\u53E3\u914D\u7F6E\u7684\u4EE3\u7801\u751F\u6210\u5668\u5B57\u5178\u7684\u6A21\u578B\u751F\u6210\u4EE3\u7801\uFF0CIn Bus Element \u548C Out Bus Element \u6A21\u5757\u5FC5\u987B\u4E3A\u975E\u865A\u62DF\u6A21\u5757\u3002",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u53D1\u9001\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidInputError:'\u4E3A "${0}" \u5C5E\u6027\u6307\u5B9A\u7684\u503C\u65E0\u6548\u3002',InvalidInternalDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u53D1\u9001\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u6216\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidMaxMsgNumValue:"\u6570\u636E\u7C7B\u578B\u65E0\u6548\u3002\u5BB9\u91CF\u5FC5\u987B\u4E3A\u65E0\u7B26\u53F7\u6574\u6570\u3002",InvalidOutportDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidPriorityValue:"\u6570\u636E\u7C7B\u578B\u65E0\u6548\u3002\u4F18\u5148\u7EA7\u503C\u5FC5\u987B\u4E3A\u65E0\u7B26\u53F7\u6574\u6570",InvalidPrototype:"\u51FD\u6570\u539F\u578B '${0}' \u4E0D\u662F\u6709\u6548\u7684\u539F\u578B\u3002\u8BF7\u8F93\u5165\u6709\u6548\u7684\u539F\u578B\u3002",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A\u6709\u6548\u7684 '${5}'\u3002",InvalidStorageClassTooltipIndividualBusElementPort:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u5BF9\u4E8E\u5177\u6709\u865A\u62DF\u603B\u7EBF\u6570\u636E\u7C7B\u578B\u7684\u603B\u7EBF\u5143\u7D20\u7AEF\u53E3\uFF0C\u8BF7\u5C06\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A \"\u81EA\u52A8\"\u3002\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8BF7\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u5BF9\u4E8E\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\uFF0C\u8BF7\u5C06\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A \"\u81EA\u52A8\"\u3002\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8BF7\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u53EF\u8C03\u53C2\u6570(\u8DE8\u6A21\u578B\u5B9E\u4F8B\u5171\u4EAB\u503C)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappedUnsupportedBlock:"\u6A21\u578B '${0}' \u5177\u6709\u4E0D\u652F\u6301\u7684\u6A21\u5757\u7684 '${1}' \u6620\u5C04\u3002",MappingFunctionDefault:"Default",MappingInspectorError:"\u5DF2\u5FFD\u7565\u4E3A\u4E00\u4E2A\u6216\u591A\u4E2A\u4EE3\u7801\u6620\u5C04\u5C5E\u6027\u6307\u5B9A\u7684\u503C\u3002",MappingInspectorTooltip:"\u914D\u7F6E\u5176\u4ED6\u6620\u5C04\u5C5E\u6027\u3002",MappingNone:"None",MappingNotFound_AUTOSAR:"\u6A21\u578B '${0}' \u6CA1\u6709 AUTOSAR \u6620\u5C04\u3002",MappingNotFound_C:"\u6A21\u578B '${0}' \u6CA1\u6709 C \u6620\u5C04\u3002",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"\u5F15\u7528\u914D\u7F6E\u96C6 '${0}' \u4E2D\u7684\u4FE1\u606F\u5BFC\u5165 C++ \u4EE3\u7801\u6620\u5C04\u4E2D\u3002",MigrateFromCSRef:"\u5F15\u7528\u914D\u7F6E\u96C6 '${0}' \u4E2D\u7684\u4FE1\u606F\u5BFC\u5165 Embedded Coder \u5B57\u5178\u548C C \u4EE3\u7801\u6620\u5C04\u4E2D\u3002",MigrateMemorySectionError:"\u65E0\u6CD5\u5C06\u65E0\u6CD5\u8BC6\u522B\u7684\u5185\u5B58\u6BB5 '${0}' \u8FC1\u79FB\u5230\u4EE3\u7801\u6620\u5C04\u3002",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"\u627E\u4E0D\u5230\u89E3\u6790\u7684\u4FE1\u53F7\u5BF9\u8C61",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"\u81EA\u6570\u636E\u7ED3\u6784\u4F53",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"\u5148\u524D\u5DF2\u4E3A\u540C\u4E00\u76EE\u6807\u521B\u5EFA\u540D\u4E3A '${0}' \u7684\u6620\u5C04\u3002",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",ModelParameters:"Model parameters",ModelParametersToolTip:"\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u53EF\u8C03\u53C2\u6570(\u8DE8\u6A21\u578B\u5B9E\u4F8B\u5171\u4EAB\u503C)",NewStorageClassModelReference:"\u5BF9\u4E8E\u5F15\u7528\u6A21\u578B '${0}'\uFF0C${1} '${2}' \u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002\u5BF9\u4E8E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u4EE5\u53CA\u5177\u6709\u6839\u8F93\u5165\u7AEF\u53E3\u6E90\u7684\u4FE1\u53F7\uFF0C\u5F15\u7528\u6A21\u578B\u4EE3\u7801\u751F\u6210\u4E0D\u652F\u6301\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002\u8BF7\u5C06 ${1} \u6620\u5C04\u5230\u7531\u4EE3\u7801\u751F\u6210\u5668\u4EA7\u54C1\u63D0\u4F9B\u7684\u5B58\u50A8\u7C7B\u6216\u5728\u5305\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002",NoCoderDictionaryWarn:`\u6A21\u578B '\${0}' \u5177\u6709 C \u4EE3\u7801\u6620\u5C04\uFF0C\u4F46\u6CA1\u6709 Embedded Coder \u5B57\u5178\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>\u5728\u6A21\u578B '\${0}' \u4E2D\u521B\u5EFA\u4E00\u4E2A Embedded Coder \u5B57\u5178\u3002</txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"\u5728\u6A21\u578B\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8F93\u51FA\u7AEF\u53E3\u7684\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '${0}'\uFF0C\u4F7F\u5F97\u751F\u6210\u7684\u4EE3\u7801\u4E0D\u7B26\u5408\u51FD\u6570\u539F\u578B\u63A7\u5236\u529F\u80FD\u7684\u8981\u6C42\u3002\u8BF7\u5C06\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '\u9ED8\u8BA4'\u3002",Outports:"Outports",OutportsNotConfigurableMessage:`\u8F93\u51FA\u7AEF\u53E3\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u53D1\u9001\u65B9\u670D\u52A1\u63A5\u53E3\u3002
\u8981\u4E3A\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u8F93\u51FA\u7AEF\u53E3\u914D\u7F6E\u53D1\u9001\u65B9\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,OutportsToolTip:"\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3",OutputArgReturnByVal:"\u7AEF\u53E3 '${0}' \u65E0\u6CD5\u8BBE\u7F6E\u4E3A\u8FD4\u56DE\u53C2\u6570\uFF0C\u56E0\u4E3A\u5B83\u5305\u542B\u975E\u6807\u91CF\u503C",PackageSelectionToolTip:`\u9009\u62E9\u4E00\u4E2A\u901A\u8FC7\u4F7F\u7528 sldataclassdesigner \u548C
cscdesigner \u521B\u5EFA\u7684\u5305\u542B\u5185\u5B58\u6BB5\u548C\u5B58\u50A8\u7C7B\u7684\u5305\u3002`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"\u51FD\u6570\u539F\u578B\u4E2D\u6307\u5B9A\u7684\u7AEF\u53E3\u540D\u79F0 '${0}' \u4E0D\u5728\u6A21\u578B\u4E2D\u3002\u8BF7\u91CD\u65B0\u914D\u7F6E\u51FD\u6570\u53C2\u6570\u3002",PreviewColumnName:"Preview",PreviewLinkText:"Click to update",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"\u5728\u5C5E\u6027\u68C0\u67E5\u5668\u4E2D\u6253\u5F00",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[\u53EA\u8BFB]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"${0} \u5230\u5B58\u50A8\u7C7B '${1}' \u7684\u4EE3\u7801\u6620\u5C04\u4E0E\u5173\u8054\u5230\u8BE5 ${0} \u7684\u5916\u90E8\u6570\u636E\u5BF9\u8C61\u7684\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u51B2\u7A81\u3002\u8BF7\u5C06\u4EE3\u7801\u6620\u5C04\u6216\u5916\u90E8\u6570\u636E\u5BF9\u8C61\u7684\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u66F4\u6539\u4E3A \"\u81EA\u52A8\"\u3002",ResovledSignalContextMenu_Create:"\u521B\u5EFA\u4FE1\u53F7\u5BF9\u8C61...",ResovledSignalContextMenu_Explore:"\u6D4F\u89C8\u4FE1\u53F7\u5BF9\u8C61",ResovledSignalContextMenu_Open:"\u6253\u5F00\u4FE1\u53F7\u5BF9\u8C61",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"\u540D\u4E3A '${0}' \u7684 MessageCustomization \u5DF2\u5B58\u5728\u3002",SameStorageClassForLocalAndParameterArgument:"For model '${0}', \"${1}\" '${2}' and \"${3}\" '${4}' are configured with the same storage class '${5}'. Configure \"${6}\" and \"${7}\" with different storage classes.",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"\u81EA\u6570\u636E\u7ED3\u6784\u4F53",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"\u5F53\u6A21\u578B\u53EF\u91CD\u5165\u65F6\u5728\u6A21\u578B\u5B9E\u4F8B\u4E4B\u95F4\u5171\u4EAB\u7684\u6570\u636E\u5B58\u50A8",SharedUtility:"Shared utility",SharedUtilityToolTip:"\u51FD\u6570\uFF0C\u4F8B\u5982\u6A21\u578B\u4E2D\u7684\u5B9A\u70B9\u51FD\u6570\u3001\u67E5\u627E\u8868\u51FD\u6570\u548C\u4E8C\u5206\u641C\u7D22\u51FD\u6570",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"\u521B\u5EFA\u9ED8\u8BA4\u7EC4\u4EF6",State:"State",StepFPCombinedIOOrdering:"\u5728\u51FD\u6570\u539F\u578B\u4E2D\uFF0C\u540C\u540D\u7684\u7AEF\u53E3\u5BF9\u7EC4\u5FC5\u987B\u76F8\u90BB\u3002",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"\u5728\u4EE5\u540E\u7684\u7248\u672C\u4E2D\u5C06\u5220\u9664\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C \u51FD\u6570\u539F\u578B\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u51FD\u6570\u539F\u578B\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\u3002",SubsystemBuildFPCForCPP:"\u4E0D\u652F\u6301\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C++ \u7C7B\u63A5\u53E3\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u7C7B\u63A5\u53E3\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u7C7B\u63A5\u53E3\u3002",SubsystemConversionForFunctionPlatformError:"\u6A21\u578B '${0}' \u662F\u4F7F\u7528\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u8FDB\u884C\u914D\u7F6E\u7684\u3002\u5B50\u7CFB\u7EDF\u5230\u5F15\u7528\u6A21\u578B\u7684\u8F6C\u6362\u4E0D\u4F1A\u590D\u5236\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u3002\u8981\u7EE7\u7EED\u8F6C\u6362\uFF0C\u8BF7\u5728\u6A21\u578B\u5F15\u7528\u8F6C\u6362\u987E\u95EE\u4E2D\u6E05\u9664 '\u590D\u5236\u4EE3\u7801\u6620\u5C04' \u9009\u9879\u3002",SubsystemConversionForFunctionPlatformWarn:"\u6A21\u578B '${0}' \u662F\u4F7F\u7528\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u8FDB\u884C\u914D\u7F6E\u7684\u3002\u5B50\u7CFB\u7EDF\u5230\u5F15\u7528\u6A21\u578B\u7684\u8F6C\u6362\u4E0D\u4F1A\u590D\u5236\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u3002",SubsystemConversionForServiceInterfaceNotification:"\u5411\u5B50\u7CFB\u7EDF '${0}' \u9988\u9001\u6570\u636E\u7684\u6A21\u578B\u5143\u7D20\u7684\u4EE3\u7801\u6620\u5C04\u672A\u590D\u5236\u5230\u521B\u5EFA\u7684\u5F15\u7528\u6A21\u578B '${1}'\u3002",SubsystemFpcNewConfigurationForC:"\u5728\u4EE5\u540E\u7684\u7248\u672C\u4E2D\u5C06\u5220\u9664\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C \u51FD\u6570\u539F\u578B\u914D\u7F6E\u3002\u5BF9\u4E8E\u65B0\u914D\u7F6E\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u51FD\u6570\u539F\u578B\u3002",SubsystemFpcNewConfigurationForCPP:"\u4E0D\u652F\u6301\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C++ \u7C7B\u63A5\u53E3\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u7C7B\u63A5\u53E3\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u7C7B\u63A5\u53E3\u3002",SubsystemMemSecPkgMisMatch:"\u5BF9\u4E8E\u6A21\u578B '${0}' \u4E2D\u7684 '${1}' \u5B50\u7CFB\u7EDF\uFF0C\u4E3A\u6570\u636E\u6216\u51FD\u6570\u7C7B\u522B\u914D\u7F6E\u4E86\u5728 '${2}' \u5305\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\uFF0C\u540C\u65F6\u4E5F\u4E3A\u6570\u636E\u6216\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u4E86\u5728 '${3}' \u5305\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\u3002\u8BF7\u4ECE\u540C\u4E00\u5305\u4E2D\u9009\u62E9\u5185\u5B58\u6BB5\u3002",SubsystemMemorySectionInMultiplePackages:"\u5BF9\u4E8E\u6A21\u578B '${0}' \u4E2D\u7684 '${1}' \u5B50\u7CFB\u7EDF\uFF0C\u4E3A\u6570\u636E\u6216\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u4E86\u81F3\u5C11\u5728\u4E24\u4E2A\u5305(${2} \u548C ${3})\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\u3002\u8BF7\u5728\u540C\u4E00\u4E2A\u5305\u4E2D\u5B9A\u4E49\u4E3A\u6570\u636E\u548C\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u7684\u5185\u5B58\u6BB5\u3002",SwAddrMethodForInternalDataTooltip:"\u9009\u62E9 SectionType \u4E3A 'Var' \u7684 SwAddrMethod\u3002",SwAddrMethodForRunnableTooltip:"\u9009\u62E9 SectionType \u4E3A 'Code' \u7684 SwAddrMethod\u3002",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"\u5728\u6A21\u578B '${0}' \u4E2D\uFF0C\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3 '${1}' \u914D\u7F6E\u4E3A\u7528\u4E8E\u4F7F\u7528\u76F4\u63A5\u8BBF\u95EE\u901A\u4FE1\u7684\u63A5\u6536\u65B9\u670D\u52A1\uFF0C\u4F46\u672A\u6307\u5B9A\u6807\u8BC6\u7B26\u3002\u8BF7\u4E3A\u8F93\u5165\u7AEF\u53E3\u6307\u5B9A\u6807\u8BC6\u7B26\u6216\u66F4\u6539\u63A5\u6536\u65B9\u670D\u52A1\u6570\u636E\u901A\u4FE1\u65B9\u6CD5\u8BBE\u7F6E\u3002",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"\u5728\u6A21\u578B '${0}' \u4E2D\uFF0C\u8F93\u51FA\u7AEF\u53E3 '${1}' \u914D\u7F6E\u4E3A\u7528\u4E8E\u4F7F\u7528\u76F4\u63A5\u8BBF\u95EE\u901A\u4FE1\u7684\u53D1\u9001\u65B9\u670D\u52A1\uFF0C\u4F46\u672A\u6307\u5B9A\u6807\u8BC6\u7B26\u3002\u8BF7\u4E3A\u8F93\u51FA\u7AEF\u53E3\u6307\u5B9A\u6807\u8BC6\u7B26\u6216\u66F4\u6539\u53D1\u9001\u65B9\u670D\u52A1\u6570\u636E\u901A\u4FE1\u65B9\u6CD5\u8BBE\u7F6E\u3002",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"\u672A\u89E3\u51B3",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"\u9A8C\u8BC1\u4EE3\u7801\u6620\u5C04",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"\u4EE3\u7801\u6620\u5C04\u4F7F\u7528\u76F8\u540C\u7684\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u914D\u7F6E\u5165\u53E3\u51FD\u6570 '${0}' \u548C '${1}'\u3002\u8BF7\u4E3A\u5176\u4E2D\u4E00\u4E2A\u5165\u53E3\u51FD\u6570\u91CD\u65B0\u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002",duplicateMappedFcnCallInport:"\u4EE3\u7801\u6620\u5C04\u4F7F\u7528\u76F8\u540C\u7684\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u914D\u7F6E\u6A21\u5757 '${0}' \u548C '${1}'\u3002\u8BF7\u4E3A\u5176\u4E2D\u4E00\u4E2A\u6A21\u5757\u91CD\u65B0\u914D\u7F6E\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u3002",duplicateMappingFound:"\u53D1\u73B0\u91CD\u590D\u7684 '${0}' \u6620\u5C04\u3002\u8BF7\u4F7F\u7528 mappingObj.removeInvalidInternalDataMappings \u5220\u9664\u91CD\u590D\u7684\u5143\u7D20\u3002",inactiveMappingsLost:"\u6A21\u578B '${0}' \u5305\u542B\u4E3A ${1} \u914D\u7F6E\u7684\u975E\u6D3B\u52A8\u4EE3\u7801\u6620\u5C04\u3002\u5C06\u6A21\u578B\u5BFC\u51FA\u4E3A\u4EE5\u524D\u7684\u7248\u672C\u65F6\uFF0C\u8FD9\u4E9B\u6620\u5C04\u5C06\u4E22\u5931\u3002",invalidBlockParameterName:"\u627E\u4E0D\u5230\u6A21\u5757 ${1} \u7684\u53EF\u8C03\u53C2\u6570 '${0}'\u3002",invalidSelectionForAddingBlockParameters:"\u627E\u4E0D\u5230\u6240\u9009\u6A21\u5757\u7684\u53EF\u8C03\u53C2\u6570\u3002",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"\u65E0\u6CD5\u4E3A\u4EE3\u7801\u751F\u6210\u914D\u7F6E Argument Inport \u6A21\u5757 ${0} \u7684\u8F93\u51FA\u4FE1\u53F7\u3002",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unauthorizedAccessToLegacyClass:"Unauthorized access to a deprecated class in the following file: ${0}. Update the callsite to use the CodeAttributeBundle instead.",unexpectedCSCAttribute:"Coder dictionary cannot identify the data-type for CSC attribute '${0}'.",unmappedEntryPointFunction:"\u4EE3\u7801\u6620\u5C04\u6CA1\u6709\u4E3A\u5165\u53E3\u51FD\u6570 '${0}' \u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002\u8BF7\u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002",unmappedFcnCallInport:"\u4EE3\u7801\u6620\u5C04\u6CA1\u6709\u4E3A\u6A21\u5757 '${0}' \u914D\u7F6E\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u3002",unmappedIOBlock:"\u4EE3\u7801\u6620\u5C04\u4E0D\u5305\u62EC\u6A21\u5757 '${0}' \u7684\u914D\u7F6E\u3002\u8BF7\u914D\u7F6E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u3002"}},90303:(_,P,l)=>{Promise.resolve().then(function(){var b=[l(34912),l(72086),l(10727)];(function(){}).apply(null,b)}).catch(l.oe)},1005:(_,P,l)=>{var b,S;/**
* @preserve Copyright 2018-2022 The MathWorks, Inc.
*/b=[l(48309),l(9863),l(72571),l(7835),l(81976),l(40809)],S=l.dj.d(b,function(C,A,p,d,n){return{start:function(){const e=p(d.byId("contentArea"));A(d.byId("leftPanel"),e,window.reportPages),window.globalMessageDispatcher=n()}}},_,P),_.exports=S},9863:(_,P,l)=>{var b,S;b=[l(7835),l(92087),l(86560),l(72571),l(28894),l(48309),l(76873),l(42372),l(59940),l(59681)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s){let a=null,o=null,u=null,c=null,h=null;const v=[];let f=null;const g="pages/webview/webview.html",m="gainsboro";return i.start(),function(L,W,j){a=L,o=j,u=W,c=window.dataJson.files,f=u.crObj,window.cr=f,A.create("div",{innerHTML:"<p>Content</p>",class:"title"},a);const H=R();if(A.place(H,a),window.AddCode){A.create("div",{innerHTML:"<p>Code</p>",class:"title"},a);const K=A.create("div",{id:"treeContainer",height:"100%"},a);h=M(),A.place(h.domNode,K),h.startup(),h.expandAll()}return w(),I(),x(),E(),F(),{postHistory:y}};function E(){const L=window.parent.location.search.substring(1),W=r.queryToObject(L);W.sid===void 0&&v[0].click(),window.parent.postMessage({message:"currentModelChanged",model:window.modelInfo.model},"*");try{if(W.sid){f.highlightor.bySids([W.sid]);let j=f.highlightor.getCurrent();if(j){const H=j.file,K=j.line;u.showCode("line",H,K)}else if(W.inputLocs){const K=JSON.parse(W.inputLocs).data,$={};$.title="Highlighting",$.data=[];for(let V=0;V<K.length;V++){const z=K[V],X=z.file,Z=z.line;for(let Y=0;Y<Z.length;Y++){const Q=Z[Y],q={};q.file=X,q.line=parseInt(Q),$.data.push(q)}}if(f.highlightor.byExternalInput($),j=f.highlightor.getCurrent(),j){const V=j.file,z=j.line;u.showCode("line",V,z)}else{const V=f.data.currentFile;u.showCode("file",V)}}else{const H=f.data.currentFile;u.showCode("file",H)}}}catch(j){}}function w(){t.after(f,"show",function(){u.isShowingCode()&&W()}),t.after(f,"show",W),t.after(u,"showCode",L);function L(){const j=u.getCodeFileName();h.setSelection([{id:j}]),N()}function W(){const j=f.data.currentFile,H=f.code.grid.getScrollPosition();y(j,H,u.lineNum,u.funcName),L()}}function I(){e.subscribe("/jumpToCode",function(W){const j=W.location;if(/.+\.\w+$/.test(j))u.showCode("file",j);else if(/.+\.\w+:\d+/.test(j)){const H=j.match(/(.+\.\w+):(\d+)/),K=H[1],$=parseInt(H[2]);u.showCode("line",K,$)}else u.showCode("func",j)});function L(W,j){for(let H=W.length-1;H>=0;H--)if(W[H].file===j)return H}e.subscribe("/jumpToDeclaration",function(W){W.location.substring(0,4)==="Root"&&(W.location="<"+W.location.slice(0,4)+">/"+W.location.slice(4));const j=W.location.split(","),H=j[0],K=j[1];if(K.length===0)return;const $=f.data.types.data;for(let V=0;V<$.length;V++)if($[V].text===H){let z=$[V];if(z.type==="blk"){const Y=$[V].sid,Q=f.data.queryBySid(Y),q=L(Q,K);z=Q[q]}let X=z.file,Z=z.line;if(X.charAt(X.length-1)==="c"){const Y=z.token.usage,Q=Y.length,q=L(Y,K),ee=Y[q];X=ee.file,Z=ee.line}u.showCode("line",X,Z);break}}),e.subscribe("/showCodeView",function(){u.revealCodeView()}),e.subscribe("/legacyMCall",function(W){const j=W.expr;i.publish("/report",{action:"reportV2CallLegacyMFunc",mExpression:j,model:window.modelInfo.model})}),e.subscribe("/report",function(W){const j=W.line;u.revealCodeView(),f.code.scrollToLine(j),f.code.grid.select(j)}),e.subscribe("/traceToWebview",function(W){const j=W.modelName,H=W.sid;u.traceToWebviewReport(j,H)}),e.subscribe("/codeviewToWebview",function(W){const j=W.sids,H=W.action;H==="hover"||H==="clear"||j!=null&&(j.length<=1?u.traceToWebviewCodeviewSingle(j[0]):u.traceToWebviewCodeviewMultiple(j,H))}),e.subscribe("/jumpToReport",function(W){const j=W.url,H=W.modelName;window.parent.modelNavigator.updateReport(j,H),window.parent.modelNavigator.updateModelHierarchy()}),e.subscribe("/gotoReportPage",function(W){const j=W.pageName;document.getElementById(j).click()}),e.subscribe("/reportPageLoaded",function(W){const H=new URL(W.url).pathname.split("/").pop().split(".")[0],K=document.getElementById(H);T(K)})}function M(){let L=null;return j(),W();function W(){const H=new n(L);return H.on("selectionChanged",function(K){const $=K.nodeIds[0];$.match(/.+\..+/)&&u.showCode("file",$)}),H.setSelection([]),H}function j(){const H={};for(let K=0;K<c.length;++K)H[c[K].group]=c[K].groupDisplay;L=[];for(const K in H)Object.prototype.hasOwnProperty.call(H,K)&&L.push({id:K,label:H[K],parent:null});for(let K=0;K<c.length;++K){const $=c[K];L.push({id:$.name,label:$.name,parent:$.group})}}}function R(){const L=A.create("div",{id:"contentLinks"});for(let j=0;j<o.length;++j){const H=o[j][0],K=o[j][1],$="pages/"+K,z=K.split(".")[0],X=A.create("div"),Z=A.create("a",{href:"javascript: void(0)",innerHTML:H,id:z},X);W(Z,$,j),A.place(X,L),v.push(Z)}return L;function W(j,H,K){p(j,"click",function(){u.loadLocalPage(H,K)})}}function T(L){N(),L.parentNode.style.backgroundColor=m,h.setSelection([])}function N(){for(let L=0;L<v.length;++L)v[L].parentNode.style.backgroundColor=""}function F(){window.hasWebview?window.fetch(g).then(function(L){L.status===404?(u.hideWebviewFrame(),e.publish("/webviewStatus",!1)):(u.loadWebview(g),e.publish("/webviewStatus",!0))}).catch(L=>{e.publish("/webviewStatus",!0),u.loadWebview(g),console.log(L)}):(u.hideWebviewFrame(),e.publish("/webviewStatus",!1))}function y(L,W,j,H){const K={message:"postHistory",model:window.modelInfo.model,pageLinkIndex:u.getLocalPageLinkIndex(),codeFileName:L,coord:W,ln:j,fname:H};L!==void 0&&(K.pageLinkIndex=void 0),window.parent.postMessage(K,"*")}function x(){e.subscribe("/loadHistoryState",function(L){O(L)})}function O(L){window.globalMessageDispatcher.pause(),L.pageLinkIndex!==void 0?u.revealContentView():L.ln!==null?u.showCode("line",L.codeFileName,L.ln):L.fname!==null?u.showCode("func",L.fname):u.showCode("coord",L.codeFileName,L.coord),window.globalMessageDispatcher.resume()}},_,P),_.exports=S},43789:(_,P,l)=>{var b,S;/**
* @preserve Copyright 2018-2022 The MathWorks, Inc.
*/b=[l(48309),l(7835),l(92087),l(42372),l(88679),l(81976),l(59681),l(93600)],S=l.dj.d(b,function(C,A,p,d,n,e,t){return{start:function(){const r=p.create("iframe",{id:"reportIFrame",height:"100%",width:"100%"},A.byId("reportPageArea")),i=window.location.search.substr(1),s=d.queryToObject(i);let a="";if(s.snc&&(a="&snc="+s.snc),window.dojoConfig&&window.dojoConfig.isDebug?r.src="_internal-debug.html?currentDate="+Date.now()+a:r.src="_internal.html?currentDate="+Date.now()+a,window.globalMessageDispatcher=e(),A.byId("topBar")){n(A.byId("topBar"),r),window.modelNavigator=t(A.byId("rootContainer"),A.byId("topBar"),r);const o=window.modelNavigator.getProtectedTreeNodes();window.modelNavigator.addProtMdlClass(o)}}}},_,P),_.exports=S},10727:(_,P,l)=>{var b,S;b=[l(43789),l(1005),l(67834)],S=l.dj.d(b,function(C,A,p){p.parse(),document.getElementById("rootContainer")&&C.start(),document.getElementById("internalHTML")&&A.start()},_,P),_.exports=S},81976:(_,P,l)=>{var b,S;b=[l(48309),l(86560)],S=l.dj.d(b,function(C,A){return function(){return A.pausable(window,"message",function(d){d.data.message&&(d.data.message==="postHistory"?C.publish("/postHistory",d.data):d.data.message==="jumpToCode"?C.publish("/jumpToCode",d.data):d.data.message==="jumpToDeclaration"?C.publish("/jumpToDeclaration",d.data):d.data.message==="legacyMCall"?C.publish("/legacyMCall",d.data):d.data.message==="loadHistoryState"?C.publish("/loadHistoryState",d.data):d.data.message==="traceToWebview"?C.publish("/traceToWebview",d.data):d.data.message==="showCodeView"?C.publish("/showCodeView",d.data):d.data.message==="jumpToReport"?C.publish("/jumpToReport",d.data):d.data.message==="gotoReportPage"?C.publish("/gotoReportPage",d.data):(d.data.message==="currentModelChanged"||d.data.message==="reportPageLoaded")&&C.publish("/"+d.data.message,d.data))})}},_,P),_.exports=S},72571:(_,P,l)=>{var b,S;b=[l(92087),l(7835),l(26417)],S=l.dj.d(b,function(C,A,p,d){let n=null,e=null,t=null,r=null,i=null;const s=null,a=null;return function(F){return n=F,e=window.dataJson,t=p({model:window.modelInfo.model,loadFromMATLAB:!1,tokenLevelTrace:!1,lineLevelTrace:!window.hasWebview}),t.loadData(e),r=C.create("iframe",{id:"contentFrame",style:"visibility: visible"},n),r.addEventListener("load",function(y){m(),E()}),i=C.create("div",{id:"codeView",style:"visibility: hidden"},n),t.placeAt(i),{crObj:t,loadLocalPage:o,showCode:f,getLocalPageLinkIndex:h,getCodeFileName:v,isShowingCode:I,loadWebview:u,hideWebviewFrame:c,traceToWebviewReport:M,traceToWebviewCodeviewSingle:R,traceToWebviewCodeviewMultiple:T,revealCodeView:g,revealContentView:m,lineNum:s,funcName:a,updateCodeLocLinks:w}};function o(F,y){r.src=F+"?currentDate="+Date.now(),r["data-index"]=y,i.style.visibility="hidden",r.style.visibility="visible"}function u(F){const y=document.getElementById("rtw_webview");y.src=F+"?currentDate="+Date.now(),y.style.display="initial"}function c(){const F=document.getElementById("webviewArea"),y=document.getElementById("contentArea"),x=document.getElementById("contentArea_splitter");x.style.display="none",F.style.height="0%",F.style.display="none",y.style.height="100%",y.setAttribute("data-dojo-props","region: 'top', splitter: 'false'")}function h(){if(r.style.visibility==="visible")return r["data-index"]}function v(){if(i.style.visibility==="visible")return t.data.currentFile}function f(F,y,x){if(t.data===null&&t.loadData(e),g(),F==="file")t.show(y,1,!1);else if(F==="line")this.lineNum=x,t.show(y,x,!0);else if(F==="func"){this.funcName=y;const L=t.data.define.get(y);if(L!==void 0){const W=L.file;}t.jumpToDef(y)}else F==="coord"&&t.showLocation(y,x)}function g(){r.style.visibility="hidden",i.style.visibility="visible"}function m(){i.style.visibility="hidden",r.style.visibility="visible",E()}function E(){window.frameElement.contentWindow.postMessage({message:"reportPageLoaded",url:r.contentWindow.location.href},"*")}function w(F){}function I(){return r.style.visibility==="hidden"}function M(F,y){const x=F+":"+y;N(x)}function R(F){N(F)}function T(F,y){window.rtwHiliteMultiple(F,y)}function N(F){window.rtwHilite(F)}},_,P),_.exports=S},88679:(_,P,l)=>{var b,S;b=[l(7835),l(92087),l(42372),l(86560),l(48309),l(69961)],S=l.dj.d(b,function(C,A,p,d,n,e){window.hn={modelHierarchy:null};let t=null;return function(i,s,a){return window.hn.modelHierarchy=a,t=s,r(),{}};function r(){let i=null;return function(){n.subscribe("/postHistory",function(c){o(c)}),window.addEventListener("popstate",function(c){s(c.state)})}();function s(c){if(c===null)a({message:"loadHistoryState",pageLinkIndex:-1});else{const h=e.clone(c);h.message="loadHistoryState",a(h)}}function a(c){t.contentWindow.postMessage(c,"*")}function o(c){i&&u(c,i)||(i=c,window.history.pushState(c,""),window.lastIndex=null)}function u(c,h){return c.message!==h.message||c.model!==h.model||c.pageLinkIndex!==h.pageLinkIndex||c.codeFileName!==h.codeFileName?!1:c.coord===void 0&&h.coord===void 0?!0:c.coord===void 0||h.coord===void 0?!1:c.coord.x===h.coord.x&&c.coord.y===h.coord.y?!0:c.ln===h.ln||c.fname===h.fname}}},_,P),_.exports=S},59681:(_,P,l)=>{var b,S;b=[l(7835),l(92087),l(42372),l(86560),l(48309),l(28894)],S=l.dj.d(b,function(C,A,p,d,n,e){let t=null,r=null,i=null,s=null,a=null,o=null,u=null,c=null;const h="protectedMdl";return function(x,O,L){return u=x,a=window.modelInfo.model,o=L,t=O,I(),s.startup(),s.expandAll(),n.subscribe("/currentModelChanged",function(W){m(W.model)}),{getReportPathFromModel:f,getProtectedTreeNodes:M,addProtMdlClass:R,updateModelHierarchy:F,updateReport:y}};function v(x){s.setSelection([{id:x}])}function f(x){for(let O=0;O<window.modelHierarchy.length;++O)if(window.modelHierarchy[O].model===x)return window.modelHierarchy[O].relativePath;return null}function g(x){const O=document.getElementById("dropDownDiv").getElementsByTagName("div");for(let L=0;L<O.length;L++){const W=O[L];if(W.innerText===x)return W}return null}function m(x){w(x),v(x)}function E(x){return"<span>Current model: <b>"+x+"</b> &#9660</span>"}function w(x){c.innerHTML=E(x)}function I(){let x=null;r=A.create("div",{id:"modelSelector",class:"dropDown"}),c=L();const O=W();A.place(c,r),u&&A.place(O,u),t&&A.place(r,t);function L(){const K=A.create("span",{id:"modelSelectorButton",innerHTML:E(a)});return d(K,"click",function(){const $=M();R($),i.classList.toggle("show");const V=K.innerHTML;V.includes("\u25BC")?K.innerHTML=V.replace("\u25BC","\u25B2"):K.innerHTML=V.replace("\u25B2","\u25BC");for(let z=0;z<x.length;z++){const X=x[z],Z=f(X.label);Z!==null&&window.fetch(Z).then(function(Y){if(Y.status===404){const Q=g(X.label);T(Q)}})}}),K}function W(){return i=A.create("div",{id:"dropDownDiv",class:"dropDownContent"}),j(),A.place(s.domNode,i),d(i,"click",function(){F();const K=c.innerHTML;c.innerHTML=K.replace("\u25B2","\u25BC"),i.classList.toggle("show")}),i}function j(){H(),s=new e(x),s.on("selectionChanged",function(K){const $=f(K.nodeIds[0]);$!==null&&window.fetch($).then(function(V){if(V.status!==404){const z=K.nodeIds[0];y($,z)}},function(){const V=K.nodeIds[0];y($,V)}),F()})}function H(){if(x=[],!window.modelHierarchy){const K={};K.id=window.modelInfo.model,K.label=window.modelInfo.model,x.push(K),window.treeData=x;return}for(let K=0;K<window.modelHierarchy.length;++K){const $=window.modelHierarchy[K],V={};$.relativePath===""?(V.id=$.model+"_protected",V.label=$.model+" (Protected)"):(V.id=$.model,V.label=$.model),V.parent=$.parent==="null"?null:$.parent,x.push(V)}window.treeData=x}}function M(){const x=[],O=document.getElementById("dropDownDiv").getElementsByTagName("div"),L="_protected";for(let W=0;W<O.length;W++){const j=O[W].getAttribute("data-test-id");if(j===null||j==="undefined")continue;O[W]=N(O[W]);const H=O[W].getAttribute("class"),K=j.length-L.length,$=j.lastIndexOf(L);$>=0&&$===K&&!H.includes(h)&&x.push(O[W])}return x}function R(x){for(let O=0;O<x.length;O++){const W=x[O].getAttribute("class")+" "+h;x[O].setAttribute("class",W)}return x}function T(x){x&&(x.style.color="gray",x.style.opacity=.6)}function N(x){const O=new RegExp(h,"g"),W=x.getAttribute("class").replace(O,"");return x.setAttribute("class",W),x}function F(){const x=M();R(x)}function y(x,O){w(O);const L=window.location.search.substr(1),W=p.queryToObject(L);let j="";W.snc&&(j="&snc="+W.snc),o.src=x+"?currentDate="+Date.now()+j}},_,P),_.exports=S},10539:(_,P,l)=>{"use strict";var b,S;b=[l(86884)],S=l.dj.d(b,function(C){return{capabilityFullList:[C.InteractiveCommandLine,C.Swing,C.ComplexSwing,C.LocalClient,C.WebWindow,C.ModalDialogs,C.Debugging],getFullCapabilitiesList:function(){return this.capabilityFullList.slice()},getCapabilitiesListDiff:function(p,d){var n=p.filter(function(e){return d.indexOf(e)<0});return n}}},_,P),_.exports=S},86884:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){var C={};return C.InteractiveCommandLine="InteractiveCommandLine",C.Swing="Swing",C.ComplexSwing="ComplexSwing",C.LocalClient="LocalClient",C.WebWindow="WebWindow",C.ModalDialogs="ModalDialogs",C.Debugging="Debugging",C},_,P),_.exports=S},33873:(_,P,l)=>{"use strict";var b,S;/*!
* The outcome of executing some M-code.
*/b=[],S=l.dj.d(b,function(){var C={};C.inEXECUTION_SUCCESS="inEXECUTION_SUCCESS";/*! < it worked */C.inCOMPILE_ERROR="inCOMPILE_ERROR";/*! < couldn't parse it */C.inRUNTIME_ERROR="inRUNTIME_ERROR";/*! < parsed it, but it bombed when I ran it */C.inEXECUTION_DBQUIT="inEXECUTION_DBQUIT";/*! < dbquit from code */C.inEXECUTION_CTRLC="inEXECUTION_CTRLC";/*! < user interrupted execution */C.inCOMM_ERROR="inCOMM_ERROR";/*! communication error (e.g., connection closed) -- can happen only when
* using MATLAB as a compute server through an IPC protocol like MIPC */return C.inEXECUTION_STATUS_MAX="inEXECUTION_STATUS_MAX",C},_,P),_.exports=S},755:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(10539),l(66139)],S=l.dj.d(b,function(C,A,p){return C(null,{constructor:function(n){typeof n!="object"?this._timeout=n:(this._timeout=n.timeout,this.dequeueMode=n.dequeueMode,this.queueName=n.queueName,this.disableBreakPoints=n.disableBreakpoints,n.capabilitiesList!==void 0&&(this.capabilitiesList=n.capabilitiesList.slice()),n.groupNames!==void 0&&(this.groupNames=n.groupNames.slice()),n.outTextCallback!==void 0&&this.setOutTextCallback(n.outTextCallback),n.errTextCallback!==void 0&&this.setErrTextCallback(n.errTextCallback),n.suppressDebugControlOutput!==void 0&&(this.suppressDebugControlOutput=n.suppressDebugControlOutput),n.outSinkTraits&&(this.outSinkTraits=n.outSinkTraits),n.errSinkTraits&&(this.errSinkTraits=n.errSinkTraits),n.commandWindowColSize&&(this.commandWindowColSize=n.commandWindowColSize),n.commandWindowRowSize&&(this.commandWindowRowSize=n.commandWindowRowSize)),this.eventNames=[],this._eventCallbackMap={}},getTimeOut:function(){return this._timeout},setTimeOut:function(n){this.timeout=n},setDequeueMode:function(n){this.dequeueMode=n},getDequeueMode:function(){return this.dequeueMode},setQueueName:function(n){this.queueName=n},getQueueName:function(){return this.queueName},disableBreakpoints:function(n){this.disableBreakPoints=n},areBreakPointsDisabled:function(){return this.disableBreakPoints},setCallback:function(n,e){this.eventNames.push(n),this._eventCallbackMap[n]=e},getEventCallbacks:function(){return this._eventCallbackMap},getCapabilitiesList:function(){if(this.capabilitiesList!==void 0)return this.capabilitiesList.slice()},setCapabilities:function(n){n?this.capabilitiesList=n.slice():this.capabilitiesList=[]},getGroupNames:function(){if(this.groupNames!==void 0)return this.groupNames.slice()},setGroupNames:function(n){n?this.groupNames=n.slice():this.groupNames=void 0},getCommandWindowColSize:function(){return this.commandWindowColSize},setCommandWindowColSize:function(n){this.commandWindowColSize=n},getCommandWindowRowSize:function(){return this.commandWindowRowSize},setCommandWindowRowSize:function(n){this.commandWindowRowSize=n},setOutTextCallback:function(n,e){this.outSink=n,this.outSinkTraits=e,this.outSink===null?this.useNullOutSink=!0:this.useNullOutSink=!1},setErrTextCallback:function(n,e){this.errSink=n,this.errSinkTraits=e,this.errSink===null?this.useNullErrSink=!0:this.useNullErrSink=!1},getOutTextCallback:function(){if(this.outSink!==void 0)return this.outSink},getErrTextCallback:function(){if(this.errSink!==void 0)return this.errSink},setSuppressDebugControlOutput:function(n){this.suppressDebugControlOutput=n},getSuppressDebugControlOutput:function(){return this.suppressDebugControlOutput},getOutSinkTraits:function(){return this.outSinkTraits},getErrSinkTraits:function(){return this.errSinkTraits},_serializeAndVerifyRunOptions:function(){var n={},e={};if(this.dequeueMode){var t=Object.keys(p).some(function(o){return p[o]===this.dequeueMode}.bind(this));if(!t)return n.error="Unknown Dequeue Mode "+this.dequeueMode,n;e.dequeueMode=this.dequeueMode}if(this.queueName)if(typeof this.queueName=="string"||this.queueName instanceof String)e.queueName=this.queueName;else return n.error="Invalid QueueName",n;if(this.capabilitiesList!==void 0){if(Array.isArray(this.capabilitiesList)){var r=A.getFullCapabilitiesList(),i=this.capabilitiesList.some(function(o){return r.indexOf(o)===-1});if(i)return n.error="Undefined Capability",n}else return n.error="Invalid Capability",n;e.capabilitiesList=this.capabilitiesList.slice()}if(this.outSink!==void 0&&(this.outSink===null?e.useNullOutSink=!0:typeof this.outSink=="function"||this.outSink instanceof Function?e.useNullOutSink=!1:n.error="Invalid outTextCallback"),this.errSink!==void 0&&(this.errSink===null?e.useNullErrSink=!0:typeof this.errSink=="function"||this.errSink instanceof Function?e.useNullErrSink=!1:n.error="Invalid errTextCallback"),this.groupNames!==void 0)if(Array.isArray(this.groupNames)){var s=this.groupNames.every(function(o){return typeof o=="string"||o instanceof String});if(s===!1)return n.error="Invalid groupNames",n;e.groupNames=this.groupNames.slice()}else return n.error="Invalid groupNames",n;if(this._eventCallbackMap!==void 0){var a=Object.keys(this._eventCallbackMap).every(function(o){return typeof this._eventCallbackMap[o]=="function"||this._eventCallbackMap[o]instanceof Function}.bind(this));if(a===!1)return n.error="Invalid setCallback",n}if(this.suppressDebugControlOutput)if(typeof this.suppressDebugControlOutput=="boolean"||this.suppressDebugControlOutput instanceof Boolean)e.suppressDebugControlOutput=this.suppressDebugControlOutput;else return n.error="Invalid suppressDebugControlOutput",n;if(this.errSinkTraits!==void 0&&(e.errSinkTraits=this.errSinkTraits),this.outSinkTraits!==void 0&&(e.outSinkTraits=this.outSinkTraits),this.commandWindowColSize!==void 0)if((typeof this.commandWindowColSize=="number"||this.commandWindowColSize instanceof Number)&&this.commandWindowColSize>=0&&Number.isInteger(this.commandWindowColSize))e.commandWindowColSize=this.commandWindowColSize;else return n.error="Invalid commandWindowColSize",n;if(this.commandWindowRowSize!==void 0)if((typeof this.commandWindowRowSize=="number"||this.commandWindowRowSize instanceof Number)&&this.commandWindowRowSize>=0&&Number.isInteger(this.commandWindowRowSize))e.commandWindowRowSize=this.commandWindowRowSize;else return n.error="Invalid commandWindowRowSize",n;return n.runOptions=e,n}})},_,P),_.exports=S},26648:(_,P,l)=>{"use strict";var b,S;b=[l(57400)],S=l.dj.d(b,function(C){return{getMVM:function(){return C.get("user-mvm")}}},_,P),_.exports=S},66139:(_,P,l)=>{"use strict";var b,S;b=[],S=l.dj.d(b,function(){let C={};return C.DEQUEUE_AT_PPE="DEQUEUE_AT_PPE",C.DEQUEUE_AT_PAUSE="DEQUEUE_AT_PAUSE",C.DEQUEUE_AT_PROMPT="DEQUEUE_AT_PROMPT",C.DEQUEUE_AT_NON_DEBUG_PROMPT="DEQUEUE_AT_NON_DEBUG_PROMPT",C.DEQUEUE_AT_DEBUG_PROMPT="DEQUEUE_AT_DEBUG_PROMPT",C.DEQUEUE_AT_IDLE="DEQUEUE_AT_IDLE",C.DEQUEUE_AT_BOOTSTRAP="DEQUEUE_AT_BOOTSTRAP",C},_,P),_.exports=S},46590:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(63644),l(30363)],S=l.dj.d(b,function(C,A,p){return C(null,{constructor:function(d,n){const e={mvmID:n,supportedApiVersions:["r24a0"]},t=new A(d,Promise.resolve("/mvm"));this._attachConnection=new p(t,"attach"),this._detachConnection=new p(t,"detach"),this._attachPromise=this._attachConnection.makeRequest(e).then(function(i){this._apiVersion=i.apiVersion,this._channelPrefix=i.channelPrefix}.bind(this)),this._attachRequestID=e.requestID;const r=new A(d,this.getChannelPrefix());this._stillAliveConnection=new p(r,"connection"),this._stillAliveConnection.subscribe("stillAlive","_stillAlive",this).catch(function(i){this.getChannelPrefix().then(function(){throw i},function(s){if(s!==i)throw i})}.bind(this))},destroy:function(){const d={requestIDtoDetach:this._attachRequestID};this._detachConnection.makeRequest(d).finally(function(){this._attachConnection.destroy(),this._detachConnection.destroy(),this._stillAliveConnection.destroy()}.bind(this))},getAPIVersion:function(){return this._attachPromise.then(function(){return this._apiVersion}.bind(this))},getChannelPrefix:function(){return this._attachPromise.then(function(){return this._channelPrefix}.bind(this))},_stillAlive:function(){}})},_,P),_.exports=S},73501:(_,P,l)=>{"use strict";var b,S;b=[l(755)],S=l.dj.d(b,function(C){return class{constructor(p){this._mvm=p}process(p){return this._mvm.feval("matlab.internal.singlekeypress.bang.process",0,[p],new C({queueName:"SingleKeyPress"}))}}},_,P),_.exports=S},99346:(_,P,l)=>{"use strict";var b,S;b=[l(74786)],S=l.dj.d(b,function(C){return C(null,{constructor:function(A,p,d){this._subscriptionPromise=A,this._subscriptionPromise.catch(function(){}),this._uId=p,this._eventMgr=d},destroy:function(){this.disconnect()},isValid:function(){return this._eventMgr._isConnected(this._uId)?this._subscriptionPromise:Promise.reject("Disconnected")},disconnect:function(){return this._eventMgr._disconnect(this._uId)}})},_,P),_.exports=S},63644:(_,P,l)=>{"use strict";var b,S;b=[l(22928)],S=l.dj.d(b,function(C){return class{constructor(p,d){C.assert(p!==void 0,"messageService must be defined"),C.assert(d!==void 0,"channelPrefixPromise must be defined"),C.assert(d.then!==void 0,"channelPrefixPromise must be a promise"),this._messageService=p,this._channelPrefixPromise=d,this._requestPromise=this._channelPrefixPromise}onChannelPrefix(){return this._channelPrefixPromise}queueRequest(p,d,n){let e=[this._requestPromise,this._channelPrefixPromise];p&&Symbol.iterator in p&&e.push(...p),this._requestPromise=Promise.all(e).then(d,function(t){n&&n(t)})}getMessageService(){return this._messageService}}},_,P),_.exports=S},91683:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(30363)],S=l.dj.d(b,function(C,A){return C(null,{constructor:function(p){this._setGlobalBreakpointConnection=new A(p,"setGlobalBreakpoint"),this._clearGlobalBreakpointConnection=new A(p,"clearGlobalBreakpoint"),this._setLineBreakpointConnection=new A(p,"setLineBreakpoint"),this._clearLineBreakpointConnection=new A(p,"clearLineBreakpoint"),this._clearAllBreakpointsConnection=new A(p,"clearAllBreakpoints"),this._breakInDebuggerConnection=new A(p,"breakInDebugger")},setLineBreakpoint:function(p){const d={breakpoint:p};return this._setLineBreakpointConnection.makeRequest(d)},setGlobalBreakpoint:function(p){const d={breakpoint:p};return this._setGlobalBreakpointConnection.makeRequest(d)},clearLineBreakpoint:function(p){const d={breakpoint:p};return this._clearLineBreakpointConnection.makeRequest(d)},clearGlobalBreakpoint:function(p){const d={breakpoint:p};return this._clearGlobalBreakpointConnection.makeRequest(d)},clearAllBreakpoints:function(){const p={};return this._clearAllBreakpointsConnection.makeRequest(p)},breakInDebugger:function(){const p={};this._breakInDebuggerConnection.makeRequest(p)},destroy:function(){this._setGlobalBreakpointConnection.destroy(),this._clearGlobalBreakpointConnection.destroy(),this._setLineBreakpointConnection.destroy(),this._clearLineBreakpointConnection.destroy(),this._clearAllBreakpointsConnection.destroy(),this._breakInDebuggerConnection.destroy()}})},_,P),_.exports=S},90812:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(30363),l(84525),l(36018)],S=l.dj.d(b,function(C,A,p,d){return C(null,{constructor:function(n,e){this._fevalConnection=new A(n,"feval"),this._evalConnection=new A(n,"eval"),this._cancelConnection=new A(n,"cancel"),this._cancelGroupConnection=new A(n,"cancelGroup"),this._interruptConnection=new A(n,"interrupt"),this._textConnection=new A(n,"text"),this._textConnection.subscribe("output","_handleOutput",this).catch(function(t){}),this._textConnection.subscribe("error","_handleError",this).catch(function(t){}),this._eventMgr=e,this._outSinkMap={},this._errSinkMap={}},feval:function(n,e,t,r,i){if(!this._isStringValid(n))return this._makeRejectedPromise("Invalid function name.");if(e==null||!(typeof e=="number"||e instanceof Number)||e<0)return this._makeRejectedPromise("Invalid numberOfOutput.");let s=[];if(t!==void 0){if(!Array.isArray(t))return this._makeRejectedPromise("Invalid inputArgs");s=t.map(function(o){return JSON.stringify(o)})}if(i!==void 0&&(!this._isStringValid(i)||!(i==="preferMDAShort"||i==="alwaysMDALong")))return this._makeRejectedPromise("Invalid MDA Output Format.");const a={function:n,rhsArgs:s,numOutputsExpected:e};return i!==void 0&&(a.mdaOutputFormat=i),this._commonEvalFevalImpl(r,a,this._fevalConnection)},eval:function(n,e,t){if(!this._isStringValid(n))return this._makeRejectedPromise("Invalid string");const r={command:n,isUserEval:t};return this._commonEvalFevalImpl(e,r,this._evalConnection)},cancelGroup:function(n,e){const t={requestGroupNametoCancel:n};return e!==void 0&&(t.interrupt=e),this._cancelGroupConnection.makeRequest(t)},interrupt:function(){const n={};return this._interruptConnection.makeRequest(n)},_getOutSink:function(n){if(n in this._outSinkMap)return this._outSinkMap[n]},_getErrSink:function(n){if(n in this._errSinkMap)return this._errSinkMap[n]},_makeRejectedPromise:function(n){const e=p.makeControlObject(),t=new p(e);return e.reject(new d("inCOMPILE_ERROR",n,1)),t},destroy:function(){this._fevalConnection.destroy(),this._evalConnection.destroy(),this._textConnection.destroy();const n=!1;this._cancelConnection.destroy(n),this._cancelGroupConnection.destroy(n);const e=!1;this._interruptConnection.destroy(e)},_commonEvalFevalImpl:function(n,e,t){const r=p.makeControlObject();let i;const s=new p(r,function(c){return i?this._makeCancelRequest(i,c):Promise.reject(new d("inCOMM_ERROR","missing requestID"))}.bind(this));let a,o;if(n){if(o=n._serializeAndVerifyRunOptions(),o.error)return r.reject(new d("inCOMPILE_ERROR",o.error,1)),s;o.runOptions.eventConnections=this._prepareRunOptionEvents(n,s),a=n.getTimeOut()}e.runOptions=o?o.runOptions:void 0;const u=t.makeRequest(e,a,this._makeCancelRequest.bind(this));return i=e.requestID,n&&(this._outSinkMap[i]=n.getOutTextCallback(),this._errSinkMap[i]=n.getErrTextCallback()),u.then(function(c){c&&c.result?r.resolve(c.result):r.resolve()},function(c){r.reject(c)}).finally(function(){i in this._outSinkMap&&delete this._outSinkMap[i],i in this._errSinkMap&&delete this._errSinkMap[i]}.bind(this)),s},_handleOutput:function(n){const e=n.data,t=this._getOutSink(e.requestID);t&&t(e.text)},_handleError:function(n){const e=n.data,t=this._getErrSink(e.requestID);t&&t(e.text)},_makeCancelRequest:function(n,e){if(n===void 0)return this._makeRejectedPromise("Empty requestIDtoCancel");const t={requestIDtoCancel:n};return e!==void 0&&(t.interrupt=e),this._cancelConnection.makeRequest(t)},_prepareRunOptionEvents:function(n,e){const t=n.getEventCallbacks(),r={};return t!==void 0&&Object.keys(t).forEach(function(i){const s=t[i],a=function(u){Promise.resolve().then(function(){}).then(function(){s(u)})},o=this._eventMgr._runOptionsSubscribe(i,a);r[o._uId]=i,e.catch(function(){}).finally(function(){o.destroy()})}.bind(this)),r},_isStringValid:function(n){return n!=null&&(typeof n=="string"||n instanceof String)}})},_,P),_.exports=S},48755:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(99346),l(30363),l(22928),l(92510)],S=l.dj.d(b,function(C,A,p,d,n){return C(null,{constructor:function(e){this._subscribeConnection=new p(e,"subscribeEvent"),this._disconnectConnection=new p(e,"disconnectEvent"),this._eventConnection=new p(e,"event"),this._eventConnection.subscribe("fireEvent","_handleEvent",this).catch(function(t){e.onChannelPrefix().then(function(){throw t},function(r){if(r!==t)throw t})}),this._callbackMap={}},subscribe:function(e,t){if(e===void 0)return new A(Promise.reject(new Error("eventName is not defined")),"invalid",this);const r={eventName:e},i=this._subscribeConnection.makeRequest(r);return this._subscribeHelper(r.requestID,t,i)},destroy:function(){for(const t in this._callbackMap)this._disconnect(t);this._eventConnection.destroy(),this._subscribeConnection.destroy();const e=!1;this._disconnectConnection.destroy(e)},_disconnect:function(e){if(!this._isConnected(e))return Promise.resolve();this._callbackMap[e]=function(){};const t={requestIDtoDisconnect:e};return this._disconnectConnection.makeRequest(t).then(function(){delete this._callbackMap[e]}.bind(this),function(i){throw delete this._callbackMap[e],i}.bind(this))},_runOptionsSubscribe:function(e,t){const r=n.generateUuid();return this._subscribeHelper(r,t,Promise.resolve())},_subscribeHelper:function(e,t,r){return this._callbackMap[e]=t,new A(r,e,this)},_handleEvent:function(e){const t=e.data;if(!this._isConnected(t.requestID))return;const r=this._callbackMap[t.requestID];r(t.eventData)},_isConnected:function(e){return e in this._callbackMap}})},_,P),_.exports=S},57400:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(22928),l(59940),l(92510),l(46590),l(63644),l(91683),l(90812),l(48755),l(88419),l(36018),l(43993),l(62650),l(21706),l(73501)],S=l.dj.d(b,function(C,A,p,d,n,e,t,r,i,s,a,o,u,c,h){const v=C(null,{constructor:function(g,m){A.assert(g==="user-mvm","Only user-mvm is supported at this time"),p.isStarted()||p.start(),this._MVMid=g,this._destroyCallback=m,this._refCount=0,this._attach=new n(p,this._MVMid);const E=new e(p,this._attach.getChannelPrefix());this._mvmSink=new s(E),this._eventManager=new i(E),this._evalFevalCancel=new r(E,this._eventManager),this._outputCallback={},this._errorCallback={},this._debugger=new t(E),this._errSinkTraits={},this._outSinkTraits={},this._features=new o(this._MVMid)},feval:function(f,g,m,E,w){return this._evalFevalCancel.feval(f,g,m,E,w)},eval:function(f,g,m){return this._evalFevalCancel.eval(f,g,m)},cancelGroup:function(f,g){return this._evalFevalCancel.cancelGroup(f,g)},interrupt:function(){return this._evalFevalCancel.interrupt()},destroy:function(){--this._refCount,!(this._refCount>0)&&(this._features&&this._features.destroy(),this._evalFevalCancel&&this._evalFevalCancel.destroy(),this._eventManager&&this._eventManager.destroy(),this._debugger&&this._debugger.destroy(),this._mvmSink&&this._mvmSink.destroy(),this._attach&&this._attach.destroy(),this._destroyCallback())},getFeatures:function(){return this._features},whenMVMReady:function(){return this._attach.getChannelPrefix().then(function(){},function(f){throw new Error("MVM rejected connection")})},setTextCallbacks:function(f){return this._mvmSink.setSinks(f.outputCallback,f.errorCallback,f.outSinkTraits,f.errSinkTraits)},getEventManager:function(){return this._eventManager},getDebugger:function(){return this._debugger},getMore:function(){return this._more===void 0&&(this._more=new u(this)),this._more},getPause:function(){return this._pause===void 0&&(this._pause=new c(this)),this._pause},getBang:function(){return this._bang===void 0&&(this._bang=new h(this)),this._bang}});return{get:function(f){let g=this._mvmMap[f];return g===void 0&&(g=new v(f,function(){delete this._mvmMap[f]}.bind(this)),this._mvmMap[f]=g),++g._refCount,g},_mvmMap:{}}},_,P),_.exports=S},30363:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(36018),l(22928),l(33873),l(92510)],S=l.dj.d(b,function(C,A,p,d,n){const e=function(){let t,r;return{promise:new Promise(function(s,a){t=s,r=a}),resolve:t,reject:r}};return C(null,{constructor:function(t,r){p.assert(t!==void 0,"connectionData must be defined"),p.assert(r!==void 0,"channelPostfix must be defined"),this._subscriptionPromises=[],this._subscribeArgs=[],this._requestPromiseMap={},this._connectionData=t,this._connectionData.onChannelPrefix().then(function(i){this._channelPrefix=i+"/"+r,this._requestChannel=this._channelPrefix+"/request"}.bind(this),function(i){}),this._subscribeImpl("response","_handleResponse",this).catch(function(i){}),this._cancelPendingSubscriptions=!1},subscribe:function(t,r,i){const s=function(a){Promise.resolve(a).then(function(o){i?i[r](o):r(o)})};return this._subscribeImpl(t,s)},makeRequest:function(t,r,i){const s=n.generateUuid(),a=function(){s in this._requestPromiseMap&&delete this._requestPromiseMap[s]}.bind(this),o=e();let u=o.promise.then(function(c){return a(),c},function(c){throw a(),c});if(this._requestPromiseMap[s]={resolve:o.resolve,reject:o.reject},t.requestID=s,this._connectionData.queueRequest(this._subscriptionPromises,function(){this._connectionData.getMessageService().publish(this._requestChannel,t).catch(function(c){o.reject(new A(d.inCOMM_ERROR,c))})}.bind(this),function(c){o.reject(new A(d.inCOMM_ERROR,c))}),r!==void 0){const c=setTimeout(this._handleTimeout.bind(this,s,i),r);u=u.finally(function(){clearTimeout(c)})}return u},destroy:function(t){if(t===void 0&&(t=!0),t)for(const r in this._requestPromiseMap)this._requestPromiseMap[r].reject(new A(d.inCOMM_ERROR,"mvm is being destroyed"));for(this._cancelPendingSubscriptions=!0;this._subscribeArgs.length>0;){const r=this._subscribeArgs.shift();this._connectionData.getMessageService().unsubscribe(...r).then(function(){},function(s){})}},_subscribeImpl:function(t,r,i){const s=e();return this._subscriptionPromises.push(s.promise),this._connectionData.onChannelPrefix().then(async function(){if(this._cancelPendingSubscriptions){s.resolve();return}let a;i?a=[this._channelPrefix+"/"+t,r,i]:a=[this._channelPrefix+"/"+t,r],this._subscribeArgs.push(a);try{await this._connectionData.getMessageService().subscribe(...a),s.resolve()}catch(o){s.reject(new A(d.inCOMM_ERROR,o))}}.bind(this),function(a){s.reject(a)}),s.promise},_handleTimeout:function(t,r){if(t in this._requestPromiseMap){const i=this._requestPromiseMap[t];delete this._requestPromiseMap[t],i.reject(new A(d.inCOMM_ERROR,"Canceled because of timeout"))}r!==void 0&&r(t,!0)},_handleResponse:function(t){const r=t.data;if(r.requestID in this._requestPromiseMap)if(r.error===void 0)this._requestPromiseMap[r.requestID].resolve(r);else{const i=new A(r.error.status,r.error.msg,r.error.id,r.error.functionName,r.error.frames,r.error.causes);this._requestPromiseMap[r.requestID].reject(i)}}})},_,P),_.exports=S},84525:(_,P,l)=>{"use strict";var b,S;b=[l(36018),l(33873)],S=l.dj.d(b,function(C,A){return class extends Promise{static makeControlObject(){return{resolve:void 0,reject:void 0}}constructor(d,n){super(function(e,t){d.resolve=e,d.reject=function(r){if(!r.isRuntimeException||!r.isRuntimeException())throw console.error(`Reject should be called with RuntimeException object. Stack Trace:
`),console.trace(),new C(A.inCOMM_ERROR,"Attemptted to reject non-RuntimeException error with message:"+r.msg,r.id,r.functionName,r.frames,r.causes);t(r)}}),this._cancel=n,this._cancel===void 0&&(this.cancel=void 0)}cancel(d){return d===void 0&&(d=!1),this._cancel(d)}static get[Symbol.species](){return Promise}}},_,P),_.exports=S},88419:(_,P,l)=>{"use strict";var b,S;b=[l(30363)],S=l.dj.d(b,function(C){return class{constructor(p){this._mvmSinkConnection=new C(p,"mvmSinks"),this._mvmSinkConnection.subscribe("output","_handleOutput",this).catch(function(d){p.onChannelPrefix().then(function(){throw d},function(n){if(n!==d)throw d})})}setSinks(p,d,n,e){this._outCallback=p,this._errCallback=d,p===null&&!(p instanceof Function)&&(n=null),d===null&&!(d instanceof Function)&&(e=null);const t={outSinkTraits:n,errSinkTraits:e};return this._mvmSinkConnection.makeRequest(t)}destroy(){this._mvmSinkConnection.destroy()}_handleOutput(p){const d=p.data;switch(d.stream){case 0:typeof this._outCallback=="function"&&this._outCallback(d.text);break;case 1:typeof this._errCallback=="function"&&this._errCallback(d.text);break;default:}}}},_,P),_.exports=S},62650:(_,P,l)=>{"use strict";var b,S;b=[l(755)],S=l.dj.d(b,function(C){return class{constructor(p){this._mvm=p}_fevalHelper(p,d){const n=new C({queueName:"SingleKeyPress"});return d&&n.setGroupNames(d),this._mvm.feval(p,0,[],n)}nextPage(p){return this._fevalHelper("matlab.internal.singlekeypress.more.nextpage",p)}nextLine(p){return this._fevalHelper("matlab.internal.singlekeypress.more.nextline",p)}quit(p){return this._fevalHelper("matlab.internal.singlekeypress.more.quit",p)}}},_,P),_.exports=S},21706:(_,P,l)=>{"use strict";var b,S;b=[l(755)],S=l.dj.d(b,function(C){return class{constructor(p){this._mvm=p}resume(){return this._mvm.feval("matlab.internal.singlekeypress.pause.resume",0,[],new C({queueName:"SingleKeyPress"}))}}},_,P),_.exports=S},36018:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(68328)],S=l.dj.d(b,function(C,A){const p=C(null,{constructor:function(n,e,t,r,i,s){this._status=n,this._msg=e,this._id=t,this._functionName=r,this._frames=[],this._causes=[],i&&i.forEach(function(a){this._frames.push(new A(a.file,a.func,a.line))},this),s&&s.forEach(function(a){this._causes.push(new p(a.status,a.msg,a.id,a.functionName,a.frames,a.causes))},this)},getID:function(){return this._id},getMsg:function(){return this._msg},getExecutionStatus:function(){return this._status},getFunctionName:function(){return this._functionName},getStackFrames:function(){return this._frames},getCauses:function(){return this._causes},isRuntimeException:function(){return!0}});return p},_,P),_.exports=S},68328:(_,P,l)=>{"use strict";var b,S;b=[l(74786)],S=l.dj.d(b,function(C){return C(null,{constructor:function(p,d,n){this._file=p,this._func=d,this._line=n},getFileName:function(){return this._file},getFunctionName:function(){return this._func},getLineNumber:function(){return this._line}})},_,P),_.exports=S},43993:(_,P,l)=>{"use strict";var b,S;b=[l(74786),l(72904),l(22928),l(59940),l(92510)],S=l.dj.d(b,function(C,A,p,d,n){return C(null,{_channels:{ADDCB:"/fctrl/addcb",ADDCB_RESPONSE:"/fctrl/response/addcb",RMCB:"/fctrl/rmcb",RMCB_RESPONSE:"/fctrl/response/rmcb",SET:"/fctrl/set",SET_RESPONSE:"/fctrl/response/set"},constructor:function(e=""){d.isStarted()||d.start(),this._mvmID=e,this._uuid=n.generateUuid(),this._counter=0,this._cache={},this._responses={},d.subscribe(this._channels.ADDCB_RESPONSE,"_fctrlCbResponse",this),d.subscribe(this._channels.SET_RESPONSE,"_fctrlSetResponse",this)},destroy:function(){Object.values(this._cache).forEach(e=>{e.destroy()})},getFeature:function(e){const t=new A,r=this._getCache(e),i=this;return r.deferred.then(function(s){t.resolve(i._clone(r.current.value))},function(s){t.reject(i._clone(s.error))}),t},setFeature:function(e,t){const r=new A,i=this._getCache(e),s=this._nextid(),a={id:s,mvm:this._mvmID,name:e,value:t},o=this;return i.deferred.then(function(u){o._responses[s]=function(c){Object.prototype.hasOwnProperty.call(c.data,"error")?r.reject(c.data):r.resolve(c.data)},p.info("assigning feature: "+e+" = "+t),d.publish(o._channels.SET,a)},function(u){r.reject(o._clone(u.error))}),r},addCallback:function(e,t){const r=this._nextid(),i=new A,s=this,a=this._getCache(e);a.deferred.then(function(u){const c=function(){const h={name:s._clone(e),value:s._clone(a.current.value)};t(h)};a.callbacks[r]=c,c()},function(u){i.reject(s._clone(u.error))});const o=C(null,{constructor:function(u){this._func=u},destroy:function(){this._func()},disconnect:function(){const u=this._func;this._func=function(){},u()}});return new o(function(){delete a.callbacks[r]})},_nextid:function(){return++this._counter,JSON.stringify({uuid:this._uuid,counter:this._counter})},_getCache:function(e){if(!Object.prototype.hasOwnProperty.call(this._cache,e)){p.info("accessing feature: "+e);const t=this._nextid(),r=new A,i=this,s={id:t,name:e,mvm:this._mvmID},a={deferred:r,current:void 0,callbacks:{},destroy:function(){d.publish(i._channels.RMCB,s)}};this._cache[e]=a,this._responses[t]=function(o){a.current=o.data,p.info(o.data),p.assert(Object.prototype.hasOwnProperty.call(o.data,"value")||Object.prototype.hasOwnProperty.call(o.data,"error"),"msg.data: "+JSON.stringify(o.data)),r.isFulfilled()||(Object.prototype.hasOwnProperty.call(o.data,"error")?r.reject(o.data):r.resolve(a)),Object.prototype.hasOwnProperty.call(a.current,"value")&&Object.values(a.callbacks).forEach(c=>{c()})},d.publish(this._channels.ADDCB,s)}return this._cache[e]},_fctrlCbResponse:function(e){const t=e.data.id;if(Object.prototype.hasOwnProperty.call(this._responses,t)){const r=this._responses[t];r(e)}},_fctrlSetResponse:function(e){const t=e.data.id;if(Object.prototype.hasOwnProperty.call(this._responses,t)){const r=this._responses[t];delete this._responses[t],r(e)}},_clone:function(e){if(e==null||typeof e!="object")return e;{const t={};return Object.entries(e).forEach(r=>{const[i,s]=r;t[i]=this._clone(s)}),t}}})},_,P),_.exports=S},90973:(_,P,l)=>{_.exports=l.p+"images/ui-icons_222222_256x240-ebe6b6902a408fbf9cac6379a1477525.png"},48286:(_,P,l)=>{var b=l(96972),S=l(27203);S=S.__esModule?S.default:S,typeof S=="string"&&(S=[[_.id,S,""]]);var C={};C.insert="head",C.singleton=!1;var A=b(S,C);_.exports=S.locals||{}},78602:(_,P,l)=>{var b=l(96972),S=l(10912);S=S.__esModule?S.default:S,typeof S=="string"&&(S=[[_.id,S,""]]);var C={};C.insert="head",C.singleton=!1;var A=b(S,C);_.exports=S.locals||{}},96972:(_,P,l)=>{"use strict";var b=function(){var u;return function(){return typeof u>"u"&&(u=!!(window&&document&&document.all&&!window.atob)),u}}(),S=function(){var u={};return function(h){if(typeof u[h]>"u"){var v=document.querySelector(h);if(window.HTMLIFrameElement&&v instanceof window.HTMLIFrameElement)try{v=v.contentDocument.head}catch(f){v=null}u[h]=v}return u[h]}}(),C=[];function A(o){for(var u=-1,c=0;c<C.length;c++)if(C[c].identifier===o){u=c;break}return u}function p(o,u){for(var c={},h=[],v=0;v<o.length;v++){var f=o[v],g=u.base?f[0]+u.base:f[0],m=c[g]||0,E="".concat(g," ").concat(m);c[g]=m+1;var w=A(E),I={css:f[1],media:f[2],sourceMap:f[3]};w!==-1?(C[w].references++,C[w].updater(I)):C.push({identifier:E,updater:a(I,u),references:1}),h.push(E)}return h}function d(o){var u=document.createElement("style"),c=o.attributes||{};if(typeof c.nonce>"u"){var h=l.nc;h&&(c.nonce=h)}if(Object.keys(c).forEach(function(f){u.setAttribute(f,c[f])}),typeof o.insert=="function")o.insert(u);else{var v=S(o.insert||"head");if(!v)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");v.appendChild(u)}return u}function n(o){if(o.parentNode===null)return!1;o.parentNode.removeChild(o)}var e=function(){var u=[];return function(h,v){return u[h]=v,u.filter(Boolean).join(`
`)}}();function t(o,u,c,h){var v=c?"":h.media?"@media ".concat(h.media," {").concat(h.css,"}"):h.css;if(o.styleSheet)o.styleSheet.cssText=e(u,v);else{var f=document.createTextNode(v),g=o.childNodes;g[u]&&o.removeChild(g[u]),g.length?o.insertBefore(f,g[u]):o.appendChild(f)}}function r(o,u,c){var h=c.css,v=c.media,f=c.sourceMap;if(v?o.setAttribute("media",v):o.removeAttribute("media"),f&&typeof btoa<"u"&&(h+=`
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(f))))," */")),o.styleSheet)o.styleSheet.cssText=h;else{for(;o.firstChild;)o.removeChild(o.firstChild);o.appendChild(document.createTextNode(h))}}var i=null,s=0;function a(o,u){var c,h,v;if(u.singleton){var f=s++;c=i||(i=d(u)),h=t.bind(null,c,f,!1),v=t.bind(null,c,f,!0)}else c=d(u),h=r.bind(null,c,u),v=function(){n(c)};return h(o),function(m){if(m){if(m.css===o.css&&m.media===o.media&&m.sourceMap===o.sourceMap)return;h(o=m)}else v()}}_.exports=function(o,u){u=u||{},!u.singleton&&typeof u.singleton!="boolean"&&(u.singleton=b()),o=o||[];var c=p(o,u);return function(v){if(v=v||[],Object.prototype.toString.call(v)==="[object Array]"){for(var f=0;f<c.length;f++){var g=c[f],m=A(g);C[m].references--}for(var E=p(v,u),w=0;w<c.length;w++){var I=c[w],M=A(I);C[M].references===0&&(C[M].updater(),C.splice(M,1))}c=E}}}}},__webpack_module_cache__={};function __webpack_require__(_){var P=__webpack_module_cache__[_];if(P!==void 0)return P.exports;var l=__webpack_module_cache__[_]={id:_,loaded:!1,exports:{}};return __webpack_modules__[_].call(l.exports,l,l.exports,__webpack_require__),l.loaded=!0,l.exports}__webpack_require__.m=__webpack_modules__,function(){function _(v,f){for(var g in f)v[g]=f[g];return v}function P(v,f,g){return p(v,f,g,0,P)}function l(v){if(!v)return P;var f=v.absMid;if(!f&&P.absMidsById[v.id]&&(f=P.absMidsById[v.id]),!f)return P;var g=function(E,w,I){return p(E,w,I,f,P)};for(var m in P)P.hasOwnProperty(m)&&(g[m]=P[m]);return g.toUrl=function(E){return c(E,f?{mid:f}:null)},g.toAbsMid=function(E){return u(E,f?{mid:f}:null)},P.undef&&(g.undef=function(E){P.undef(E,f)}),g}function b(v){for(var f in v)P.absMids[f]=v[f],P.absMidsById[v[f]]||(P.absMidsById[v[f]]=f)}function S(v){var f=C("dojo/has",null,!1),g=f.normalize(v,function(m){return m});return g&&__webpack_require__(g)||void 0}function C(v,f,g,m){v=v.split("!").map(function(I){var M=I.charAt(0)===".";return M&&!f?I:u(I,f?{mid:f}:null)}).join("!");var E;if(v in P.absMids&&__webpack_require__.m[P.absMids[v]])if(g){var w=__webpack_module_cache__[P.absMids[v]];E=w&&(m?w:w.exports)}else E=__webpack_require__(P.absMids[v]);if(!E)throw new Error("Module not found: "+v);return E}function A(v){if(v.absMid)return v;var f={i:v.id},g=P.absMidsById[v.id];return g&&(f.id=f.absMid=g),Object.defineProperty(f,"exports",{get:function(){return v.exports},set:function(m){v.exports=m},enumerable:!0,configurable:!0}),f}function p(v,f,g,m,E){var w={}.toString.call(v);if(w==="[object String]"){var I=g!==!1,M=C(v,m,I);if(typeof M=="object"&&M.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error("Module not found: "+v);return M}else if(w==="[object Object]")throw new Error("Require config is not supported by WebPack");if(w==="[object Array]"){var R=[],T=f,N=[];if(v.forEach(function(y){try{R.push(C(y,m))}catch(x){N.push({mid:y,error:x})}}),N.length===0)T&&(e(R)?Promise.all(d(R)).then(function(y){T.apply(this,n(y))}.bind(this)).catch(function(y){console.error(y)}):T.apply(this,R));else{var F=new Error("findModules");F.src="dojo-webpack-plugin",F.info=N,E.signal("error",F)}return E}else throw new Error("Unsupported require call")}P.toUrl=c,P.toAbsMid=u,P.absMids={},P.absMidsById=[],P.async=1;function d(v){var f=(Array.isArray(v)?v:[v]).map(function(g){return g&&typeof g.then=="function"&&!g.__DOJO_WEBPACK_DEFINE_PROMISE__?{__DOJO_WEBPACK_PROMISE_VALUE__:g}:g});return Array.isArray(v)?f:f[0]}function n(v){var f=(Array.isArray(v)?v:[v]).map(function(g){return g&&g.__DOJO_WEBPACK_PROMISE_VALUE__||g});return Array.isArray(v)?f:f[0]}function e(v){return(Array.isArray(v)?v:[v]).some(function(f){return typeof f=="object"&&f.__DOJO_WEBPACK_DEFINE_PROMISE__})}function t(v,f,g,m){function E(I){return I.__DOJO_WEBPACK_DEFINE_PROMISE__=!0,I}function w(I){g&&(g.exports=m);var M=f.apply(null,I);return typeof g=="function"?g(M):M!==void 0?g.exports=M:M=g.exports,M}return e(v)?E(Promise.all(v).then(function(I){return d(w(n(I)))})):w(v)}var r=this||window;if(b({"dijit/layout/BorderContainer":34912,"dojo/_base/array":33659,"dojo/_base/kernel":57987,"dojo/global":79359,"dojo/has":80675,"dojo/_base/config":69196,"dojo/_base/lang":69961,"dojo/sniff":23702,"dojo/cookie":8564,"dojo/regexp":89923,"dojo/_base/declare":74786,"dojo/dom-class":65724,"dojo/dom":7835,"dojo/_base/window":69174,"dojo/dom-construct":92087,"dojo/dom-attr":81070,"dojo/dom-style":37672,"dojo/dom-prop":38339,"dojo/_base/connect":18314,"dojo/on":86560,"dojo/aspect":76873,"dojo/topic":48309,"dojo/Evented":57574,"dojo/_base/event":67711,"dojo/dom-geometry":20849,"dojo/mouse":72875,"dojo/_base/sniff":18203,"dojo/keys":75145,"dojo/touch":71805,"dojo/domReady":2799,"dijit/_WidgetBase":75058,"dojo/ready":63807,"dojo/Stateful":51937,"dojo/when":27754,"dojo/Deferred":72904,"dojo/errors/CancelError":30673,"dojo/errors/create":68086,"dojo/promise/Promise":27420,"dijit/Destroyable":20728,"dijit/registry":45118,"dijit/main":7240,"dijit/_BidiMixin":93166,"dijit/_Widget":44491,"dojo/query":11278,"dojo/selector/_loader":86608,"dojo/selector/lite":31125,"dojo/selector/_loader!default":31125,"dijit/_OnDijitClickMixin":35847,"dijit/a11yclick":50502,"dijit/_FocusMixin":18248,"dijit/focus":16109,"dojo/window":317,"dijit/a11y":96656,"dojo/uacss":12390,"dijit/hccss":9719,"dojo/hccss":74818,"dijit/_TemplatedMixin":83830,"dojo/cache":78059,"dojo/text":37581,"dojo/request":62215,"dojo/request/default!":13879,"dojo/request/xhr":13879,"dojo/errors/RequestError":41972,"dojo/request/watch":3513,"dojo/request/util":61061,"dojo/io-query":42372,"dojo/errors/RequestTimeoutError":7982,"dojo/request/handlers":53408,"dojo/json":685,"dojo/string":1723,"dijit/_AttachMixin":36891,"dijit/layout/LayoutContainer":65431,"dijit/layout/_LayoutWidget":57266,"dijit/_Container":90180,"dijit/_Contained":17819,"dijit/Viewport":92266,"dijit/layout/utils":75688,"dijit/layout/ContentPane":72086,"dijit/layout/_ContentPaneResizeMixin":21263,"dojo/html":45760,"dojo/parser":67834,"dojo/_base/url":84035,"dojo/promise/all":89780,"dojo/date/stamp":58875,"dojo/json5":94168,"dojo/json5/parse":72549,"dojo/json5/util":64653,"dojo/json5/unicode":51818,"dojo/_base/Deferred":67324,"dojo/_base/xhr":7755,"dojo/dom-form":12509,"dojo/_base/json":84664,"dojo/i18n":86623,"dojo/i18n!dijit/nls/loading":34526,"dijit/nls/bs/loading":3705,"dijit/nls/mk/loading":19947,"dijit/nls/sr/loading":12618,"dijit/nls/zh/loading":13228,"dijit/nls/zh-tw/loading":21976,"dijit/nls/uk/loading":84236,"dijit/nls/tr/loading":60197,"dijit/nls/th/loading":76670,"dijit/nls/sv/loading":31773,"dijit/nls/sl/loading":93153,"dijit/nls/sk/loading":62152,"dijit/nls/ru/loading":85572,"dijit/nls/ro/loading":39400,"dijit/nls/pt/loading":10930,"dijit/nls/pt-pt/loading":86663,"dijit/nls/pl/loading":89931,"dijit/nls/nl/loading":76130,"dijit/nls/nb/loading":1330,"dijit/nls/ko/loading":62044,"dijit/nls/kk/loading":51848,"dijit/nls/ja/loading":95835,"dijit/nls/it/loading":75536,"dijit/nls/id/loading":56747,"dijit/nls/hu/loading":53427,"dijit/nls/hr/loading":99256,"dijit/nls/he/loading":90882,"dijit/nls/fr/loading":96352,"dijit/nls/fi/loading":86098,"dijit/nls/eu/loading":88477,"dijit/nls/es/loading":16231,"dijit/nls/el/loading":38624,"dijit/nls/de/loading":70516,"dijit/nls/da/loading":34312,"dijit/nls/cs/loading":43545,"dijit/nls/ca/loading":82742,"dijit/nls/bg/loading":90743,"dijit/nls/az/loading":93463,"dijit/nls/ar/loading":62768,"dijit/nls/al/loading":9632,"dijit/nls/loading":95675,"slcoderRpt/main_application":10727,"slcoderRpt/main":43789,"slcoderRpt/top_bar/history_navigator":88679,"slcoderRpt/message_dispatcher":81976,"slcoderRpt/top_bar/model_navigator":59681,"mw-tree/Tree":28894,"mw-tree/utils/EventEmitter":20980,"mw-tree/view/TreeView":16341,"mw-tree/utils/ViewEventHandlers":94809,"mw-tree/utils/KeyCodeEnum":51337,"mw-tree/utils/MouseCodeEnum":69683,"mw-data-model/rangeUtil":11487,"mw-tree/utils/ViewPortGeo":73277,"mw-tree/utils/TreeUtils":72726,"mw-tree/enums/PlatformEnum":48784,"mw-utils/Utils":92510,"mw-deprecation-utils/deprecation":9511,"mw-log/Log":22928,"mw-log/impl/Modes":68678,"mw-log/impl/Levels":73484,"mw-log/impl/Type":86111,"mw-log/impl/Backlog":44706,"mw-log/util/LogUtils":87227,"mw-tree/view/EventsConfig":91737,"mw-tree/view/DesignTimeEventsConfig":65844,"mw-tree/view/TreePluginViewComponents":42168,"mw-tree/view/TriStateCheckBox":79836,"mw-tristate-checkbox/TristateCheckbox":88738,"mw-widget-api/defineWidget":88363,"mw-widget-api/WidgetBase":44037,"mw-widget-api/facade/LitElement":22144,"lit/lit-element/lit-element.bundled":22405,"lit/reactive-element/reactive-element":95712,"lit/reactive-element/css-tag":85149,"lit/reactive-element/custom-elements-es5-adapter":46475,"lit/lit-html/lit-html":84999,"mw-tristate-checkbox/enums/KeyCodeEnum":8495,"mw-tristate-checkbox/enums/TriStateEnum":78629,"mw-tristate-checkbox/template/TristateCheckboxTemplate":50966,"mw-widget-api/facade/svg":23213,"mw-tree/plugins/PluginEnum":24932,"mw-tree/plugins/checkboxTree/CheckboxTree":30471,"mw-tree/adaptors/CheckboxTreeAdaptor":18126,"mw-tree/plugins/contextMenu/ContextMenu":54362,"mw-tree/adaptors/ContextMenuAdaptor":30647,"mw-tree/adaptors/utils/ContextMenuUtility":82713,"mw-tree/plugins/dnd/DnD":81874,"mw-tree/plugins/dnd/impl/DnDArchService":18522,"mw-draganddrop/DragAndDrop":10383,"mw-draganddrop/Context":48819,"mw-draganddrop/DragSource":75072,"mw-draganddrop/DropTarget":46201,"mw-draganddrop/impl/RegionsAdaptor":4501,"mw-draganddrop/utils/On":37089,"mw-draganddrop/impl/HTML5DnDListener":43823,"mw-draganddrop/impl/HTML5DnDNativeTypes":11788,"mw-draganddrop/functional/FunctionalUtils":36204,"mw-draganddrop/utils/HTML5DnDListenerUtils":27618,"mw-draganddrop/impl/Avatar":21861,"mw-draganddrop/utils/BrowserFeatureSupport":27962,"mw-browser-utils/BrowserUtils":81896,"mw-draganddrop/enum/EnumsConfig":21684,"mw-draganddrop/impl/ProcessHandleDragOver":9808,"mw-draganddrop/enum/DragEvents":84089,"mw-draganddrop/utils/AvatarUtils":27427,"mw-draganddrop/utils/PositionDetectorUtils":47954,"mw-draganddrop/DragItem":45216,"mw-draganddrop/utils/CanDropTracker":20060,"mw-draganddrop/FileContext":44830,"mw-draganddrop/impl/FileDnDListener":91994,"mw-tree/plugins/dnd/impl/AutoScroll":50684,"mw-tree/view/BrowserFeatureSupport":6460,"mw-tree/view/CSSClassesEnum":65811,"mw-tree/plugins/dnd/DnDEnum":68592,"mw-tree/adaptors/DnDAdaptor":54653,"mw-tree/plugins/dnd/ReorderUtility":24880,"mw-tree/plugins/dnd/ReorderEnum":67498,"mw-clipboard/DataTransfer":2860,"mw-clipboard/utils/DataTransferUtils":57539,"mw-clipboard/utils/NavigatorServiceUtils":23558,"mw-clipboard/utils/Base64StrToBlob":11451,"mw-clipboard/utils/MimeTypeToFileName":38938,"mw-clipboard/utils/EventUtils":86683,"mw-clipboard/enum/index":46666,"mw-clipboard/enum/StatusEnum":19372,"mw-clipboard/enum/TypeMetaDataEnum":61610,"mw-clipboard/enum/MimeTypes":32948,"mw-clipboard/enum/Actions":94680,"mw-clipboard/enum/EventsEnum":64997,"mw-clipboard/MWDataTransfer":98907,"mw-clipboard/utils/ValidationUtils":9321,"mw-clipboard/utils/ContentMapUtils":36745,"mw-tree/plugins/filter/Filter":63508,"mw-tree/adaptors/FilterAdaptor":93807,"mw-tree/plugins/focus/DesignTimeFocus":22958,"mw-tree/plugins/focus/Focus":46121,"mw-tree/adaptors/FocusAdaptor":74602,"mw-tree/plugins/search/Search":24482,"mw-tree/adaptors/SearchAdaptor":99035,"mw-tree/adaptors/SearchNavigationAdaptor":21666,"mw-tree/adaptors/utils/NavigationUtilEnum":16369,"mw-tree/utils/ViewStateEnums":86804,"mw-tree/plugins/selection/SingleNodeSelection":26156,"mw-tree/adaptors/SelectionAdaptor":81893,"mw-tree/adaptors/RangeSelection":90403,"mw-tree/plugins/selection/MultipleNodeSelection":27673,"mw-tree/plugins/scrollsync/ScrollSync":17944,"mw-tree/adaptors/ScrollSyncAdaptor":45854,"mw-tree/plugins/clipboard/Clipboard":93393,"mw-tree/adaptors/ClipboardAdaptor":64771,"mw-tree/functional/FunctionalUtils":71788,"mw-tree/enums/EventEnum":65275,"mw-tree/enums/StateEnum":26061,"mw-tree/adaptors/utils/ClipboardUtils":7275,"mw-clipboard/ClipboardService":32264,"mw-clipboard/server/ServerClipboardImpl":69794,"mw-clipboard/server/ServerClipboardService":4737,"mw-clipboard/server/ConnectorService":32009,"mw-messageservice/MessageService":59940,"mw-messageservice/messageserviceimpl/createMessageServiceDefaultInstance":64458,"mw-messageservice/messageserviceimpl/MessageServiceBase":12350,"mw-messageservice/messageserviceimpl/MessageServiceState":38337,"mw-statemachine/StateMachine":62407,"mw-statemachine/statemachineimpl/State":28906,"mw-statemachine/statemachineimpl/EventTrigger":76597,"mw-statemachine/statemachineimpl/Trigger":8483,"mw-statemachine/statemachineimpl/MessageTrigger":44570,"mw-statemachine/statemachineimpl/RemoteTrigger":979,"mw-remote/Remote":93600,"mw-remote/iframeproxy/IframeProxyClient":65763,"mw-remote/iframeproxy/CheckUrlService":24547,"dojo/request/script":43793,"mw-remote/impl/FaultManager":38153,"mw-remote/impl/RequestManager":73539,"mw-remote/RemoteEndPointsManager":3747,"mw-remote/EndPointsManager":59411,"mw-remote/utils/SecurityUtils":65536,"mw-remote/defaultMessageMapping":8810,"mw-remote/impl/Transaction":96397,"mw-remote/impl/ResponseManager":64323,"mw-remote/impl/AutoDetectedTransaction":15779,"mw-remote/impl/JsonTransaction":49825,"mw-remote/utils/SendMessageUtil":89669,"mw-remote/UploadToWorker":60711,"mw-html-utils/HtmlUtils":13901,"mw-html-utils/_parseHtml/sanitize":21366,"mw-remote/ReplaceUploadIframe":64690,"mw-remote/utils/RemoteUrlUtils":23241,"mw-remote/serviceRegistryLookup!":19388,"mw-remote/serviceRegistryLookup":95278,"mw-statemachine/statemachineimpl/TimeoutTrigger":50856,"mw-statemachine/statemachineimpl/Transition":40316,"mw-messageservice/messageserviceimpl/transportEnums":83766,"mw-messageservice/messageserviceimpl/MessageServiceAsync":10520,"cometd/cometd":78470,"cometd/AckExtension":85646,"mw-messageservice/messageserviceimpl/instanceEnums":75971,"mw-messageservice/messageserviceimpl/messageServiceFactory":79415,"mw-clipboard/server/ServerClipboardChannels":28663,"mw-clipboard/utils/EventEmitter":60685,"mw-clipboard/ClipboardCache":62479,"mw-clipboard/client/ClientClipboardImpl":12716,"mw-clipboard/client/ClientClipboardService":7307,"mw-clipboard/client/WriteUsingTextBox":9735,"mw-clipboard/utils/Trigger":17197,"mw-clipboard/client/ReadClipboardDataFromEvent":25278,"mw-clipboard/client/NavigatorService":55886,"mw-clipboard/client/NavigatorReadService":45734,"mw-clipboard/client/NavigatorWriteService":69301,"mw-tree/plugins/dnd/_HTMLDnD":41040,"mw-tree/view/TreeBuilder":44534,"mw-tree/view/TreeDisclosureNode":86216,"mw-tree/view/TreeNode":50944,"mw-tree/view/TreeNodeRolesEnum":3571,"mw-tree/view/Gutters":90393,"mw-tree/view/useClickHandler":27458,"mw-tree/view/DataTip":73743,"mw-tree/utils/Truncation":18976,"mw-tree/view/TreeContainer":20990,"mw-tree/view/DisabledOverlay":18767,"mw-tree/view/TreeRenderer":84917,"mw-tree/renderers/IconLabelRenderer":9210,"mw-tree/utils/Highlight":25164,"mw-tree/renderers/utils/RendererUtils":80868,"mw-icons/Icon":12803,"mw-widget-api/facade/html":49786,"mw-widget-api/facade/forPrototyping/css":35848,"mw-icons/IconsFactory":12395,"mw-icons/Icons":85695,"mw-icons/IconUtils":87290,"mw-icons/IconsFactoryEnum":63091,"mw-icons/defaultConfig":55644,"mw-tree/renderers/CheckboxRenderer":76171,"mw-tree/enums/RendererActionsEnum":56091,"mw-tree/view/DefaultsEnum":66874,"mw-tree/view/EditableTreeView":26407,"mw-tree/view/EditableTreeBuilder":47995,"mw-tree/view/TreeEditor":55087,"mw-tree/utils/TREE_NODE_STATES_ENUM":13049,"mw-tree/utils/ResponseEnums":77210,"mw-tree/controller/edit/EditController":67186,"mw-tree/controller/TreeNodeController":96858,"mw-tree/controller/navigation/KeyController":3019,"mw-tree/controller/navigation/TreeNodeKeyNavigation":16951,"mw-tree/controller/navigation/ActiveNodeHandler":67425,"mw-tree/controller/CustomKeyController":367,"mw-tree/utils/KeyboardUtils":17807,"mw-tree/enums/DefaultsEnum":33236,"mw-tree/utils/KeyValidationUtils":45993,"mw-tree/controller/scrolling/ScrollController":59400,"mw-tree/controller/actions/ActionController":61434,"mw-tree/controller/actions/DeleteActionImpl":34433,"mw-tree/controller/actions/ActionEnum":83816,"mw-tree/controller/interactive/InteractiveController":52018,"mw-data-model/DataStore":42429,"mw-data-model/tree/_TreeDataStore":69453,"mw-data-model/On":61657,"mw-data-model/tree/impl/_expandCollapseToggle":40667,"mw-data-model/tree/impl/_proxyNode":68073,"mw-data-model/tree/impl/_treeParentNodeStore":80249,"mw-data-model/tree/impl/_parentNodeStore":82666,"mw-data-model/tree/utils/Cache":79688,"mw-data-model/tree/utils/cacheImpl/StringCache":47828,"mw-data-model/tree/utils/cacheImpl/MapCache":99957,"mw-data-model/utils/_arrayUtils":8578,"mw-data-model/enums/saveEnum":7698,"mw-data-model/tree/impl/_treeSearch":39418,"mw-data-model/tree/impl/_search":64070,"mw-data-model/table/impl/_criteriaUtils":35363,"mw-data-model/enums/compareEnum":68846,"mw-data-model/tree/impl/_sortTree":98656,"mw-data-model/impl/_sort":29782,"mw-data-model/enums/sortEnum":71716,"mw-data-model/treeTable/impl/_sortTreeTable":5108,"mw-data-model/utils/rangeListFrom":56251,"mw-data-model/tree/utils/IndexCache":16349,"mw-data-model/enums/dataStoreTypes":26204,"mw-data-model/tree/impl/_treeFilter":78807,"mw-data-model/tree/impl/_filter":81462,"mw-data-model/impl/_metaData/_MetaDataRules":29350,"mw-data-model/impl/_metaData/_MetaDataRule":6554,"mw-data-model/impl/_metaData/_OrderedRules":5652,"mw-data-model/impl/_metaData/_HierarchicalOrderedRules":56054,"mw-data-model/utils/_criteriaUtils":68018,"mw-data-model/enums/positionEnum":41906,"mw-data-model/table/_TableDataStore":80919,"mw-data-model/table/impl/_sortTable":3641,"mw-data-model/table/impl/_filter":71455,"mw-data-model/table/impl/_tableSearch":33044,"mw-data-model/table/impl/_Headers":95126,"mw-data-model/treeTable/_TreeTableDataStore":13653,"mw-data-model/treeTable/impl/_ArrayOfArraysStore":32258,"mw-data-model/treeTable/impl/_treeTableParentNodeStore":71562,"mw-data-model/treeTable/impl/_treeTableFilter":89041,"mw-data-model/treeTable/impl/_ArrayOfObjectsStore":79930,"mw-data-model/treeTable/impl/_Group":60722,"mw-data-model/rds/TreeRemoteDataStore":42681,"mw-data-model/rds/TreeTableRemoteDataStore":65034,"mw-data-model/rds/RemoteDataStore":32845,"mw-data-model/rds/impl/InfoHandler":37573,"mw-data-model/rds/impl/Cache":52340,"mw-data-model/rds/impl/ColumnMetaDataCache":25644,"mw-data-model/rds/impl/RowIdTwoWayMap":11071,"mw-data-model/rds/TableRemoteDataStore":96667,"mw-data-model/DataModel":64338,"mw-data-model/impl/_PagedDataModel":10896,"mw-tree/viewModel/ViewModel":76068,"mw-tree/viewModel/LinkedList":20936,"mw-tree/viewModel/DataMapper":11254,"mw-tree/viewModel/Row":37717,"mw-tree/viewModel/_RankMetaData":71133,"mw-tree/editors/EditorEnum":83291,"mw-tree/editors/IconLabelEditor":10009,"mw-tree/editors/EditorDecorator":59936,"mw-tree/editors/DesignTimeEditor":444,"mw-tree/viewModel/DataEnum":67490,"mw-tree/controller/events/DoubleClickController":42229,"slcoderRpt/internal_main":1005,"slcoderRpt/left_panel":9863,"slcoderRpt/right_panel":72571,"report/code_report/code_report":26417,"mw-overlay-utils/BusyOverlay":93158,"mw-progress-indicator/ProgressIndicator":31362,"mw-progress-indicator/view/ViewFactory":30856,"mw-progress-indicator/view/ViewStore":85802,"mw-progress-indicator/view/ViewInterface":77146,"mw-progress-indicator/view/SpinnerView":49218,"mw-progress-indicator/enums/SizeEnum":7329,"mw-progress-indicator/enums/TypeEnum":81686,"mw-progress-indicator/util/ProgressIndicatorUtils":71546,"dojo/text!mw-overlay-utils/templates/busyOverlayTemplate.html":37314,"report/code_report/code":94745,"dgrid/OnDemandList":14678,"dgrid/List":6457,"dgrid/util/misc":95702,"put-selector/put":60493,"dgrid/TouchScroll":78013,"dgrid/util/touch":86023,"dgrid/util/has-css3":70659,"xstyle/has-class":65874,"dgrid/_StoreMixin":10571,"dgrid/Selection":83097,"dgrid/util/has-pointer":42241,"dojo/store/Memory":44739,"dojo/store/util/QueryResults":58599,"dojo/store/util/SimpleQueryEngine":21033,"report/code_report/indicator":14134,"report/code_report/Resources":57742,"dojo/i18n!report/resources/RTW/nls/traceInfo":29907,"report/resources/RTW/nls/ja-jp/traceInfo":54855,"report/resources/RTW/nls/ko-kr/traceInfo":51154,"report/resources/RTW/nls/zh-cn/traceInfo":66596,"report/resources/RTW/nls/traceInfo":3052,"dojo/i18n!report/resources/SimulinkCoderApp/nls/report":32239,"report/resources/SimulinkCoderApp/nls/ja-jp/report":59727,"report/resources/SimulinkCoderApp/nls/zh-cn/report":16857,"report/resources/SimulinkCoderApp/nls/report":17265,"dojo/i18n!report/resources/coderdictionary/nls/mapping":73021,"report/resources/coderdictionary/nls/ja-jp/mapping":91242,"report/resources/coderdictionary/nls/zh-cn/mapping":94008,"report/resources/coderdictionary/nls/mapping":32764,"report/code_report/actions":18059,"dijit/Tooltip":57282,"dojo/_base/fx":90554,"dojo/_base/Color":36586,"dijit/_base/manager":49276,"dijit/place":21569,"dijit/BackgroundIframe":64220,"dojo/text!dijit/templates/Tooltip.html":19346,"report/code_report/info":41693,"report/code_report/utils":14619,"mw-mvm/UserMvm":26648,"mw-mvm/impl/MVM":57400,"mw-mvm/impl/AttachDetach":46590,"mw-mvm/impl/ConnectionData":63644,"mw-mvm/impl/MVMConnection":30363,"mw-mvm/impl/RuntimeException":36018,"mw-mvm/impl/StackFrame":68328,"mw-mvm/ExecutionStatus":33873,"mw-mvm/impl/Debugger":91683,"mw-mvm/impl/EvalFevalCancel":90812,"mw-mvm/impl/MVMPromise":84525,"mw-mvm/impl/EventManager":48755,"mw-mvm/impl/Connection":99346,"mw-mvm/impl/MVMSink":88419,"mw-fctrl/Features":43993,"mw-mvm/impl/More":62650,"mw-mvm/RunOptions":755,"mw-mvm/CapabilitiesList":10539,"mw-mvm/Capability":86884,"mw-mvm/WhenToDequeue":66139,"mw-mvm/impl/Pause":21706,"mw-mvm/impl/Bang":73501,"report/code_report/message":70147,"report/config/config":64211,"report/code_report/tooltip":20165,"mw-popout/Popout":34100,"mw-popout/impl/manager/PopoutsManager":8790,"mw-popout/impl/manager/EntityManager":98980,"mw-popout/utils/PopoutUtils":20259,"popper/popper":66501,"mw-popout/enum/TriggerEnum":22840,"mw-popout/enum/ScreenReaderEnum":54964,"mw-popout/enum/TypeEnum":87022,"mw-popout/enum/KeyCodeEnum":45044,"mw-popout/enum/ScrollEnum":18181,"mw-ui-themes/ThemeEnum":1797,"mw-ui-themes/UIThemeManager":59138,"mw-popout/impl/manager/FocusManager":90364,"mw-popout/utils/FocusUtils":70966,"mw-popout/enum/CustomAttributeEnum":74628,"mw-popout/Content":17571,"mw-widget-api/facade/render":23006,"report/code_report/Annotator":49822,"report/code_report/settings":59690,"dijit/TooltipDialog":18841,"dijit/_DialogMixin":28193,"dijit/form/_FormMixin":58774,"dojo/text!dijit/templates/TooltipDialog.html":42204,"dijit/popup":95301,"mw-form/PushButton":152,"dijit/_CssStateMixin":91824,"mw-form/mixins/property/TagMixin":91457,"mw-form/mixins/property/DescriptionMixin":36158,"mw-event-utils/platformize":53141,"mw-form/mixins/property/DisabledMixin":27551,"mw-form/mixins/property/HorizontalAlignmentMixin":56827,"mw-form/mixins/property/IconAlignmentMixin":14275,"mw-form/mixins/property/TextMixin":52398,"mw-form/mixins/property/IconMixin":20916,"mw-form/mixins/property/SizeMixin":47231,"mw-form/mixins/property/VisualFamilyMixin":31398,"mw-form/mixins/property/VerticalAlignmentMixin":84925,"mw-form/mixins/IconAndTextSizingMixin":78869,"mw-form/mixins/PreventSelectionMixin":96257,"mw-form/mixins/mixinDependencyValidator":53641,"mw-form/mixins/AriaLabelledByMixin":90082,"dojo/text!mw-form/templates/PushButton.html":64801,"dojo/query!css2":11344,"report/code_report/Coverage":60614,"mw-table/Table":26149,"mw-table/controllers/data/IdController":62907,"mw-table/controllers/geometry/GeometryController":66379,"mw-table/enums/EventEnum":16885,"mw-table/enums/StateEnum":79301,"mw-table/controllers/scrolling/Scroll":61383,"mw-table/view/TableUtils":25219,"mw-table/enums/DefaultsEnum":63804,"mw-table/enums/TableSectionEnum":84960,"mw-table/utils/PropUtils":2102,"mw-table/utils/TableUtils":6699,"mw-table/treetable/utils/TreeTableUtils":82020,"mw-table/treetable/enums/StateEnum":90228,"mw-table/treetable/enums/EnumUtils":21558,"mw-table/treetable/enums/PlatformEnum":11605,"mw-table/calc/BufferMath":35981,"mw-table/enums/LogicalSizeEnum":63622,"mw-table/controllers/resize/tableResize":95504,"mw-table/controllers/events/EventsController":99549,"mw-table/utils/Emitter":80460,"mw-table/view/utils/EventUtils":15555,"mw-table/enums/MouseCodeEnum":76298,"mw-table/renderers/CheckboxRenderer":64991,"mw-table/utils/RendererAndEditorUtils":57006,"mw-table/enums/FieldEnum":2541,"mw-table/renderers/enums/EditIndicatorEnum":69933,"mw-table/renderers/enums/RendererAlignmentEnum":64109,"mw-table/utils/HighlightUtils":34602,"mw-table/view/utils/Highlight":83847,"mw-table/renderers/IconLabelRenderer":31363,"mw-table/renderers/utils/RendererUtils":84472,"mw-table/treetable/renderers/IconLabelRenderer":86024,"mw-table/utils/CellUtils":21321,"mw-table/controllers/events/DoubleClickController":95723,"mw-table/utils/rangeInterface":54505,"mw-table/controllers/columns/ColConfigController":51138,"mw-table/functional/FunctionalUtils":9070,"mw-table/parsing/table/TableConfigUtils":26118,"mw-table/functional/Maybe":81291,"mw-table/enums/GridStyleEnum":87779,"mw-table/controllers/columns/ColConfigUtil":85153,"mw-table/controllers/edit/EditControllerProxy":96723,"mw-table/controllers/edit/EditController":40410,"mw-table/enums/KeyCodeEnum":83757,"mw-table/controllers/edit/TableEditController":19370,"mw-table/controllers/edit/TreetableEditController":29780,"mw-table/controllers/interactive/InteractiveController":51052,"mw-table/treetable/controllers/interactive/InteractiveController":1538,"mw-table/treetable/enums/EventEnum":48350,"mw-table/treetable/enums/RadiobuttonRendererEnum":26150,"mw-table/treetable/enums/RendererActionsEnum":55742,"mw-table/controllers/edit/EditControllerInterface":47087,"mw-table/controllers/edit/HeaderEditController":13159,"mw-table/controllers/attributes/AttributesController":4051,"mw-table/controllers/keyboard/CustomKeyController":70654,"mw-table/treetable/utils/KeyboardUtils":50723,"mw-table/treetable/enums/DefaultsEnum":62082,"mw-table/treetable/utils/KeyValidationUtils":42333,"mw-table/controllers/disable/DisableController":45120,"mw-table/enums/PluginEnum":40748,"mw-table/plugins/focus/CellFocus":27166,"mw-table/adaptors/FocusAdaptor":45100,"mw-table/adaptors/AdaptorUtils":93361,"mw-table/plugins/selection/table/IDSingleRowSelection":74283,"mw-table/plugins/selection/IDSingleRowSelection":99005,"mw-table/adaptors/selection/IDSelectionAdaptor":8885,"mw-table/adaptors/selection/RowSelectionAdaptor":64466,"mw-table/adaptors/selection/SelectionAdaptorUtils":2488,"mw-table/enums/DragToSelectEnum":7540,"mw-table/plugins/selection/SingleRowSelection":5612,"mw-table/adaptors/selection/table/IDSelectionAdaptor":23787,"mw-table/plugins/selection/table/IDMultiRowSelection":80144,"mw-table/plugins/selection/IDMultiRowSelection":9641,"mw-table/plugins/selection/MultiRowSelection":35694,"mw-table/plugins/selection/RangeSingleRowSelection":68317,"mw-table/adaptors/selection/RangeSelectionAdaptor":36415,"mw-table/plugins/selection/RangeMultiRowSelection":23922,"mw-table/plugins/selection/CellSelection":51961,"mw-table/adaptors/selection/SelectionAdaptor":13568,"mw-table/controllers/navigation/CellNavigation":60801,"mw-table/controllers/navigation/UnbufferedCellNavigation":54863,"mw-table/controllers/navigation/BufferedCellNavigation":92340,"mw-table/functional/Monad":3287,"mw-table/functional/Lens":6887,"mw-table/enums/ScrollEnum":58815,"mw-table/utils/ResizeSelection":1339,"mw-table/enums/ResizeSelectionEnum":1103,"mw-table/plugins/colresize/ColResize":24715,"mw-table/adaptors/ResizeAdaptor":68238,"mw-table/plugins/sort/SingleColumnSort":28628,"mw-table/adaptors/SortAdaptor":74731,"mw-table/plugins/headers/RowHeaders":79708,"mw-table/adaptors/RowHeaderAdaptor":486,"mw-table/plugins/dragAndDrop/DragAndDrop":29784,"mw-table/adaptors/DragAndDropAdaptor":74270,"mw-table/utils/ColumnUtils":38738,"mw-table/utils/ProxyUtils":92582,"mw-table/adaptors/TableRowDnDService":29,"mw-table/adaptors/TreetableRowDnDService":43369,"mw-table/enums/DnDEnum":43322,"mw-table/plugins/menus/HeaderMenu":83683,"mw-table/adaptors/MenuAdaptor":45394,"mw-table/plugins/search/Search":61699,"mw-table/adaptors/SearchAdaptor":62683,"mw-table/plugins/clipboard/Clipboard":23903,"mw-table/adaptors/ClipboardAdaptor":78858,"mw-table/controllers/navigation/KeyController":70518,"mw-table/controllers/navigation/ActiveCell":60742,"mw-table/controllers/navigation/SimplifiedKeyController":17104,"mw-table/adaptors/CellSizingAdaptor":91877,"mw-table/plugins/scrollsync/ScrollSync":21953,"mw-table/adaptors/ScrollSyncAdaptor":62534,"mw-table/enums/RenderTypeEnum":49333,"mw-table/enums/ReorderEnum":26807,"mw-table/enums/TooltipEnum":80531,"mw-table/viewmodel/ViewModel":47741,"mw-table/viewmodel/_LinkedList":29024,"mw-table/viewmodel/_DataMapper":90829,"mw-table/viewmodel/_Row":63424,"mw-table/viewmodel/_RankMetaData":75622,"mw-table/parsing/table/HeaderConfigUtils":44105,"mw-table/enums/Flags":58692,"mw-table/utils/FacadeUtils":82229,"mw-table/view/DataCell":70480,"mw-table/view/TableCell":62065,"mw-table/view/ResizeSelectionAffordance":39499,"mw-table/enums/DataTestEnum":54282,"mw-table/view/RendererComponentWithMemo":32424,"mw-table/view/RendererComponent":72716,"mw-table/view/hooks/useTooltip":36377,"mw-table/view/utils/TooltipUtils":28752,"mw-table/renderers/DefaultRenderer":62806,"mw-table/renderers/MultiLineRenderer":19510,"mw-table/renderers/NumberRenderer":40601,"mw-table/renderers/enums/NumberRendererEnum":19081,"mw-table/treetable/utils/CellUtils":61577,"mw-table/renderers/DefaultRendererComponent":22697,"mw-table/view/EditorComponent":53212,"mw-table/editors/DefaultEditor":91747,"mw-table/view/utilcomponent/LoadingComponent":58416,"mw-table/view/EditIndicator":90294,"mw-table/view/InteractiveTableCell":55485,"mw-table/view/hoc/withInteractiveCell":3394,"mw-table/view/EditableTableCell":56629,"mw-table/view/hoc/withEditor":91433,"mw-table/enums/EditEnum":62638,"mw-table/view/hooks/useFloatingContent":18294,"mw-table/view/TableRow":58714,"mw-table/view/context/DnDContext":78352,"mw-table/view/TbodyComponent":89631,"mw-table/view/utils/EventDelegator":88414,"mw-gesture/GestureRegistry":97715,"mw-gesture/recognizers/GestureRecognizer":75282,"mw-event-emitter/Evented":17614,"mw-gesture/events/RemovableGroup":48311,"mw-gesture/coordination/RecognizerCoordinator":56864,"mw-gesture/recognizers/RecognizerStates":27736,"mw-gesture/recognizers/RecognizerStateUtil":56228,"mw-gesture/util/PointerTypes":91423,"mw-gesture/util/InputDataUtil":1512,"mw-gesture/util/InputTypes":1736,"mw-gesture/util/PointerUtil":64038,"mw-gesture/util/PointerProperties":52485,"mw-gesture/util/GeomUtil":31886,"mw-gesture/util/Directions":62388,"mw-gesture/util/TimeUtils":3138,"mw-gesture/input/PointerInputUtil":35659,"mw-gesture/util/DomUtils":949,"mw-gesture/input/impl/pointer":54141,"mw-gesture/input/impl/touch":55073,"mw-gesture/input/impl/mouse":18670,"mw-gesture/util/ButtonValues":75948,"mw-gesture/gestures/tapmove":96113,"mw-gesture/functional/FunctionalUtils":68146,"mw-gesture/util/ActionDataUtil":16800,"mw-gesture/util/RecognizerDataUtil":5798,"mw-gesture/gestures/_state/TapCount":13724,"mw-gesture/timer/Timer":36553,"mw-gesture/events/Observable":47375,"mw-gesture/gestures/_state/PositionTracker":96027,"mw-gesture/gestures/tap":31491,"mw-gesture/gestures/click":8482,"mw-gesture/gestures/flick":97806,"mw-gesture/gestures/pan":41085,"mw-gesture/gestures/rotate":66706,"mw-gesture/gestures/pinch":4197,"mw-gesture/gestures/wheel":14313,"mw-gesture/gestures/wheelmove":43423,"mw-gesture/gestures/hover":21181,"mw-gesture/GestureDetector":48299,"mw-gesture/input/PointerInput":81862,"mw-gesture/input/WheelInput":24504,"mw-table/view/Tooltip":57996,"mw-table/view/FloatingContent":83563,"mw-tooltip/Tooltip":6287,"mw-tooltip/impl/Content":15992,"mw-tooltip/impl/enum/TypeEnum":19455,"mw-tooltip/utils/ContentUtils":23597,"mw-tooltip/utils/TooltipUtils":1730,"mw-tooltip/impl/enum/ThemeEnum":61300,"mw-tooltip/impl/TooltipDepot":22753,"mw-tooltip/impl/TooltipStore":70739,"mw-table/view/TableView":80896,"mw-table/utils/Throttle":72989,"mw-table/utils/initialization":11649,"mw-table/enums/ErrorEnum":21141,"mw-table/utils/Registration":82099,"mw-table/lifecycle/LifeCycle":94,"mw-table/lifecycle/BuildComponents":18730,"mw-table/utils/PropManager":43883,"mw-table/utils/TableHelper":10381,"mw-table/utils/TreeTableHelper":95655,"mw-table/view/ComponentFactory":55918,"mw-table/view/HeaderRow":30218,"mw-table/view/utils/DragTracking":34125,"mw-table/view/ColumnHeader":68376,"mw-table/view/ColResizeAffordance":45261,"mw-table/view/utils/ResizeUtils":18255,"mw-table/view/SortAffordance":70017,"mw-table/utils/Sort":74374,"mw-table/view/HeaderMenuAffordance":59514,"mw-table/view/ColumnHeaderIndex":55346,"mw-table/view/DragAffordance":8398,"mw-table/view/utils/DnDColumnUtils":83216,"mw-table/view/utils/DndUtils":65353,"mw-table/view/utils/AutoScroll":56779,"mw-table/view/hooks/useDrag":14561,"mw-table/view/headers/HierarchicalColumnHeaders":65934,"mw-table/view/GroupedColumnHeader":46949,"mw-table/view/EditableColumnHeader":56813,"mw-table/view/SpanningColumnHeader":33082,"mw-table/view/hoc/withContextMenu":81039,"mw-table/view/headers/TopLeftAffordance":57191,"mw-table/view/TableComponent":43548,"mw-table/view/utils/AriaUtils":67026,"mw-table/view/utilcomponent/InsertionLineComponent":6063,"mw-table/view/ScrollComponent":85831,"mw-table/view/context/HeaderContextProvider":16214,"mw-table/view/context/HeaderContext":69649,"mw-table/view/OuterWrapperComponent":11430,"mw-table/view/DisableWrapperComponent":81965,"mw-table/view/RowHeader":69650,"mw-table/view/RowHeaders":92361,"mw-table/view/EditableRowHeader":35900,"mw-table/view/RowHeaderCellWithInteraction":94373,"mw-table/view/RowHeaderCell":5933,"mw-table/view/hoc/withRowSelection":7190,"mw-table/view/IndexCellWithInteraction":84891,"mw-table/view/IndexCell":92744,"mw-table/view/hooks/ScrollNodeIntoView":6983,"mw-table/view/ScrollComponentWithDnDEnabled":90570,"mw-table/view/hoc/withDnDEnabled":96203,"mw-table/view/utils/TableRowDndUtils":77958,"mw-table/view/utils/TreetableRowDndUtils":48814,"mw-table/view/utils/ReorderUtils":95365,"mw-table/view/utils/TreetableOutsideDndUtils":67401,"mw-table/view/HeaderRowWithDnDEnabled":32249,"mw-table/view/context/DnDContextProvider":98717,"mw-table/lifecycle/IncomingDataUpdates":3649,"mw-table/lifecycle/Render":10505,"mw-table/lifecycle/InteractionEvents":58375,"mw-table/io/DataSize":64920,"mw-table/functional/IOMonad":18158,"mw-table/io/ViewPortGeom":71098,"report/code_report/Profiling":11146,"report/code_report/navigator":75017,"report/code_report/selector":63782,"report/code_report/search":39299,"report/code_report/highlightor":96140,"report/code_report/reactions":88611,"dijit/form/Button":43810,"dijit/form/_FormWidget":26205,"dijit/form/_FormWidgetMixin":4664,"dijit/form/_ButtonMixin":18786,"dojo/text!dijit/form/templates/Button.html":80256,"dijit/_mw/utils/deprecation":8666,"mw-notifications/Notifications":40498,"mw-notifications/IconAndMessageWidget":16517,"dojo/i18n!mw-notifications/l10n/nls/NotificationsResources":49140,"mw-notifications/l10n/nls/NotificationsResources":13430,"mw-notifications/SVGIconAndMessageWidget":64743,"mw-notifications/BannerWidget":31915,"dojo/fx":3782,"mw-notifications/ProgressBar":74068,"mw-notifications/_ProgressMixin":47431,"dojo/text!mw-notifications/templates/ProgressBar.html":9606,"mw-dialogs/Dialogs":95962,"mw-dialogs/view/Dialog":7845,"dojo/i18n!mw-dialogs/l10n/nls/dialog":12154,"mw-dialogs/l10n/nls/ja-jp/dialog":85628,"mw-dialogs/l10n/nls/ko-kr/dialog":96453,"mw-dialogs/l10n/nls/zh-cn/dialog":14480,"mw-dialogs/l10n/nls/de/dialog":88038,"mw-dialogs/l10n/nls/es/dialog":32670,"mw-dialogs/l10n/nls/fr/dialog":26657,"mw-dialogs/l10n/nls/it/dialog":39124,"mw-dialogs/l10n/nls/dialog":97240,"mw-dialogs/enums/RoleEnum":16141,"mw-dialogs/enums/DialogTypeEnum":72040,"mw-dialogs/controller/DialogController":40755,"mw-dialogs/controller/stopEvent":96737,"mw-dialogs/controller/Draggable":35379,"mw-dialogs/controller/Resizable":75317,"mw-dialogs/view/ButtonBar":63018,"mw-dialogs/ButtonEnum":18262,"mw-dialogs/view/ContentWidget":77593,"mw-dialogs/utils/mixinDijitLifecycleMethods":4817,"mw-dialogs/utils/preventShortCutKeys":41466,"mw-dialogs/utils/SVGIcons":91960,"mw-dialogs/controller/BrowserResizeHandler":65983,"mw-dialogs/controller/Focus":42250,"report/code_report/init":62684,"report/language/tokenizer":84113,"report/language/TK":26418,"report/language/cpp":26778,"CodeMirror/MW/StringStream":14963,"CodeMirror/MW/clike":23494,"report/language/lang":14025,"CodeMirror/MW/CodeMirror":79016,"report/language/cuda":10986,"report/language/xml":47418,"CodeMirror/MW/xml":50822,"report/language/a2l":7998,"report/language/vhdl":85571,"CodeMirror/MW/vhdl":21332,"report/language/hdl":73726,"report/language/verilog":76394,"CodeMirror/MW/verilog":37106,"report/language/systemverilog":10802,"report/language/text":48192,"report/language/parser":61986,"report/code_report/history":91740,"dojo/domReady!":40809}),r.require=P,(self.webpackChunk=self.webpackChunk||[]).registerAbsMids=b,__webpack_require__.dj&&__webpack_require__.dj.name!=="dojo-webpack-plugin")throw new Error("__webpack_require__.dj name collision.");__webpack_require__.dj={name:"dojo-webpack-plugin",r:P,c:l,m:A,h:S,d:t,w:d,u:n};var i=Object.create(r,{document:{value:r.document}});Object.defineProperties(i,{window:{value:i},global:{value:i}}),i.define=i.require=void 0,r.dojoConfig=r.dojoConfig||{};var s=_(r.dojoConfig,{baseUrl:".",packages:[{name:"dojo",location:"release/derived/3p/ui/dojo",lib:"."},{name:"mldo-embedded-client",location:"release/derived/ui/mldo-embedded-client",lib:"."},{name:"dijit",location:"release/derived/3p/ui/dijit",lib:"."},{name:"dojox",location:"release/derived/3p/ui/dojox",lib:"."},{name:"mw-log",location:"release/derived/ui/mw-log",lib:"."},{name:"mw-utils",location:"release/derived/ui/mw-utils",lib:"."},{name:"mw-deprecation-utils",location:"release/derived/ui/mw-deprecation-utils",lib:"."},{name:"mw-html-utils",location:"release/derived/ui/mw-html-utils",lib:"."},{name:"mw-remote",location:"release/derived/ui/mw-remote",lib:"."},{name:"mw-ui-themes",location:"release/derived/ui/mw-ui-themes",lib:"."},{name:"mw-dialogs",location:"release/derived/ui/mw-dialogs",lib:"."},{name:"mw-notifications",location:"release/derived/ui/mw-notifications",lib:"."},{name:"lit",location:"release/derived/3p/ui/lit",lib:"."},{name:"custom-elements",location:"release/derived/ui/custom-elements",lib:"."},{name:"mw-widget-api",location:"release/derived/ui/mw-widget-api",lib:"."},{name:"mw-progress-indicator",location:"release/derived/ui/mw-progress-indicator",lib:"."},{name:"mw-dom-utils",location:"release/derived/ui/mw-dom-utils",lib:"."},{name:"cometd",location:"release/derived/3p/ui/cometd",lib:"."},{name:"mw-statemachine",location:"release/derived/ui/mw-statemachine",lib:"."},{name:"mw-messageservice",location:"release/derived/ui/mw-messageservice",lib:"."},{name:"mw-ddux",location:"release/derived/ui/mw-ddux",lib:"."},{name:"mw-event-utils",location:"release/derived/ui/mw-event-utils",lib:"."},{name:"mw-icons",location:"release/derived/ui/mw-icons",lib:"."},{name:"mw-form",location:"release/derived/ui/mw-form",lib:"."},{name:"mw-browser-utils",location:"release/derived/ui/mw-browser-utils",lib:"."},{name:"mw-login",location:"release/derived/ui/mw-login",lib:"."},{name:"mw-postmessagechannel",location:"release/derived/ui/mw-postmessagechannel",lib:"."},{name:"STIXfonts",location:"release/derived/3p/ui/STIXfonts",lib:"."},{name:"kineticjs",location:"release/derived/3p/ui/kineticjs",lib:"."},{name:"mw-module-loader",location:"release/derived/ui/mw-module-loader",lib:"."},{name:"put-selector",location:"release/derived/3p/ui/put-selector",lib:"."},{name:"xstyle",location:"release/derived/3p/ui/xstyle",lib:"."},{name:"popper",location:"release/derived/3p/ui/popper",lib:"."},{name:"Tippy",location:"release/derived/3p/ui/Tippy",lib:"."},{name:"mw-tooltip",location:"release/derived/ui/mw-tooltip",lib:"."},{name:"mw-lock",location:"release/derived/ui/mw-lock",lib:"."},{name:"filesystem-js-utils",location:"release/toolbox/matlab/filesystem/js_utils/js",lib:"."},{name:"filesystem-events",location:"release/toolbox/matlab/filesystem/events/js",lib:"."},{name:"mw-gesture",location:"release/derived/ui/mw-gesture",lib:"."},{name:"react",location:"release/derived/3p/ui/react",lib:"."},{name:"spinner",location:"release/derived/3p/ui/spinner",lib:"."},{name:"mw-overlay-utils",location:"release/derived/ui/mw-overlay-utils",lib:"."},{name:"mw-binarystream",location:"release/derived/ui/mw-binarystream",lib:"."},{name:"performance",location:"release/derived/toolbox/performance/web",lib:"."},{name:"mw-promise",location:"release/derived/ui/mw-promise",lib:"."},{name:"uuid",location:"release/derived/3p/ui/uuid",lib:"."},{name:"lodash",location:"release/derived/3p/ui/lodash",lib:"."},{name:"object-hash",location:"release/derived/3p/ui/object-hash",lib:"."},{name:"mf0",location:"release/derived/toolbox/modeling/mf0/web",lib:"."},{name:"regenerator-runtime",location:"release/derived/3p/ui/regenerator-runtime",lib:"."},{name:"mf0_sync",location:"release/derived/toolbox/modeling/mf0_sync/web",lib:"."},{name:"viewmodel_zml",location:"release/toolbox/shared/viewmodel/zml/json",lib:"."},{name:"mw-webwindow-dialogs",location:"release/derived/ui/mw-webwindow-dialogs",lib:"."},{name:"filesystem-datamodel-base",location:"release/derived/toolbox/matlab/filesystem/datamodel/base",lib:"."},{name:"filesystem-datamodel-sourcecontrol",location:"release/derived/toolbox/matlab/filesystem/datamodel/sourcecontrol",lib:"."},{name:"reflectionserviceAPI",location:"release/toolbox/matlab/reflectionserviceAPI",lib:"."},{name:"commandwindowservices",location:"release/toolbox/matlab/commandwindowservices",lib:"."},{name:"registration_framework_js",location:"release/toolbox/matlab/registration_framework/reg_fw_js",lib:"."},{name:"dgrid",location:"release/derived/3p/ui/dgrid",lib:"."},{name:"mw-store-utils",location:"release/derived/ui/mw-store-utils",lib:"."},{name:"mw-dnd",location:"release/derived/ui/mw-dnd",lib:"."},{name:"mw-dialog-utils",location:"release/derived/ui/mw-dialog-utils",lib:"."},{name:"mw-deferred-utils",location:"release/derived/ui/mw-deferred-utils",lib:"."},{name:"mw-peermodel",location:"release/derived/ui/mw-peermodel",lib:"."},{name:"mw-actiondataservice",location:"release/derived/ui/mw-actiondataservice",lib:"."},{name:"mw-keybindings",location:"release/derived/ui/mw-keybindings",lib:"."},{name:"mw-filename-utils",location:"release/derived/ui/mw-filename-utils",lib:"."},{name:"mw-filebrowser",location:"release/derived/ui/mw-filebrowser",lib:"."},{name:"mw-app-module-plugins",location:"release/ui/app-module-plugins/mw-app-module-plugins",lib:"."},{name:"filesystem_services",location:"release/toolbox/matlab/filesystem/services/client",lib:"."},{name:"element_core",location:"release/ui/core/element_core/js",lib:"."},{name:"editor_application_interface",location:"release/toolbox/matlab/editor/application_interface/js",lib:"."},{name:"mw-datepicker",location:"release/derived/ui/mw-datepicker",lib:"."},{name:"mw-dom-snapshot-utils",location:"release/derived/ui/mw-dom-snapshot-utils",lib:"."},{name:"cajsservice",location:"release/toolbox/matlab/codeanalysis/jsapi/cajsservice",lib:"."},{name:"sidebar",location:"release/ui/layout/sidebar/js",lib:"."},{name:"mw-popout",location:"release/derived/ui/mw-popout",lib:"."},{name:"mw-slider",location:"release/derived/ui/mw-slider",lib:"."},{name:"mw-scrollbar-slider",location:"release/derived/ui/mw-scrollbar-slider",lib:"."},{name:"mw-perf",location:"release/derived/ui/mw-perf",lib:"."},{name:"maven_component_ui",location:"release/derived/ui/maven_component_ui",lib:"."},{name:"mw-icons-store",location:"release/ui/icons",lib:"."},{name:"mw-string-utils",location:"release/derived/ui/mw-string-utils",lib:"."},{name:"mw-mda",location:"release/derived/toolbox/mw_mda",lib:"."},{name:"settings",location:"release/toolbox/matlab/settings_service/src/js/settings",lib:"."},{name:"mw-clipboard",location:"release/derived/ui/mw-clipboard",lib:"."},{name:"mw-navigationbar",location:"release/derived/ui/mw-navigationbar",lib:"."},{name:"mw-colorpicker",location:"release/derived/ui/mw-colorpicker",lib:"."},{name:"mw-event-emitter",location:"release/derived/ui/mw-event-emitter",lib:"."},{name:"viewmodel",location:"release/toolbox/shared/viewmodel/web/viewmodel",lib:"."},{name:"prefdir",location:"release/toolbox/matlab/prefdir_service/src/js/prefdir",lib:"."},{name:"mw-fctrl",location:"release/ui/fctrl/fctrl_js-lib",lib:"."},{name:"mw-mvm",location:"release/toolbox/mvm_javascript/mw-mvm/mw-mvm-lib",lib:"."},{name:"webwidgets_css",location:"release/ui/webwidgets/src/css",lib:"."},{name:"images",location:"release/ui/webwidgets/src/images",lib:"."},{name:"MW",location:"release/ui/webwidgets/src/js/MW",lib:"."},{name:"l10n",location:"release/ui/webwidgets/src/l10n",lib:"."},{name:"InstallServiceHandler",location:"release/install/installservicehandler/web/installservicehandler",lib:"."},{name:"matlab_login",location:"release/toolbox/matlab/matlab_login/web/matlab_login",lib:"."},{name:"mw-help-staticcontent",location:"release/toolbox/matlab/helptools_js/help_static_content/mw-help-staticcontent",lib:"."},{name:"htmltext",location:"release/ui/lightweightbrowser/htmltext/htmltext",lib:"."},{name:"svg-intersections",location:"release/derived/3p/ui/svg-intersections",lib:"."},{name:"webfontloaderjs",location:"release/derived/3p/ui/webfontloaderjs",lib:"."},{name:"hmishared",location:"release/toolbox/shared/appdes/web/js/MW/hmishared",lib:"."},{name:"mw-tabular-data-model",location:"release/derived/ui/mw-tabular-data-model",lib:"."},{name:"graphics_webservices",location:"release/toolbox/matlab/graphics/webservices/webservices",lib:"."},{name:"componentframework",location:"release/toolbox/matlab/uitools/componentframeworkjs",lib:"."},{name:"gbtshared",location:"release/toolbox/matlab/uitools/sharedjs",lib:"."},{name:"webimage-lib",location:"release/toolbox/shared/webimage/webimage-lib",lib:"."},{name:"fileanalysis_service",location:"release/toolbox/matlab/file_analysis_service/js",lib:"."},{name:"keyboard_shortcuts",location:"release/toolbox/matlab/keyboard_shortcuts/client",lib:"."},{name:"matlab_shortcuts",location:"release/toolbox/matlab/matlab_shortcuts/js",lib:"."},{name:"userexecutionservice",location:"release/toolbox/matlab/userexecutionservice",lib:"."},{name:"mw-alignment",location:"release/derived/ui/mw-alignment",lib:"."},{name:"mw-form-utils",location:"release/derived/ui/mw-form-utils",lib:"."},{name:"mw-label",location:"release/derived/ui/mw-label",lib:"."},{name:"mw-checkbox",location:"release/derived/ui/mw-checkbox",lib:"."},{name:"configmanager",location:"release/toolbox/matlab/configmanager/js",lib:"."},{name:"fonts-lib",location:"release/ui/fonts/fonts-lib",lib:"."},{name:"code_analyzer_ui_utils",location:"release/toolbox/matlab/editor/code_analyzer_ui_utils",lib:"."},{name:"equationrenderercore",location:"release/toolbox/matlab/equation_renderer_core/js",lib:"."},{name:"findandreplace-ui",location:"release/ui/find_and_replace/findandreplace-ui",lib:"."},{name:"mw-button",location:"release/derived/ui/mw-button",lib:"."},{name:"executionstateservice",location:"release/toolbox/matlab/executionstateservice",lib:"."},{name:"systeminfoservice",location:"release/toolbox/matlab/systeminfoservice",lib:"."},{name:"busyidleservice",location:"release/toolbox/matlab/busyidleservice",lib:"."},{name:"mw-help-csh-base",location:"release/toolbox/matlab/helptools_js/csh_base/mw-help-csh-base",lib:"."},{name:"mw-help-csh",location:"release/toolbox/matlab/helptools_js/csh/mw-help-csh",lib:"."},{name:"mw-draganddrop",location:"release/derived/ui/mw-draganddrop",lib:"."},{name:"equations",location:"release/toolbox/matlab/rich_text_component/src/js/equations",lib:"."},{name:"rtc",location:"release/toolbox/matlab/rich_text_component/src/js/rtc",lib:"."},{name:"graphics_textutilities",location:"release/toolbox/matlab/graphics/textutilities/textutilities",lib:"."},{name:"graphics",location:"release/toolbox/matlab/graphics/web/web/scene/js/MW/graphics",lib:"."},{name:"mw-data-model",location:"release/derived/ui/mw-data-model",lib:"."},{name:"datatoolsservices",location:"release/toolbox/matlab/datatools/datatoolsservices/js/datatoolsservices/src",lib:"."},{name:"prop-types",location:"release/derived/ui/prop-types",lib:"."},{name:"mw-tristate-checkbox",location:"release/derived/ui/mw-tristate-checkbox",lib:"."},{name:"mw-tree-data-model",location:"release/derived/ui/mw-tree-data-model",lib:"."},{name:"mw-treetable-data-model",location:"release/derived/ui/mw-treetable-data-model",lib:"."},{name:"mw-table",location:"release/derived/ui/mw-table",lib:"."},{name:"mw-facade",location:"release/derived/ui/mw-facade",lib:"."},{name:"rendererseditors",location:"release/toolbox/matlab/datatools/rendererseditors/js/rendererseditors",lib:"."},{name:"variableeditor_client",location:"release/toolbox/matlab/datatools/variableeditor/js/client/variableeditor_client",lib:"."},{name:"gbtcomponents",location:"release/toolbox/matlab/uitools/componentsjs",lib:"."},{name:"variableeditor_peer",location:"release/toolbox/matlab/datatools/variableeditor/js/peer/variableeditor_peer",lib:"."},{name:"desktop_variableeditor",location:"release/toolbox/matlab/datatools/desktop_variableeditor/js",lib:"."},{name:"matlab_toolbox_indentcode",location:"release/toolbox/matlab/indentcode/web/matlab_toolbox_indentcode",lib:"."},{name:"mw-diff",location:"release/toolbox/shared/comparisons/web/mw-diff/mw-diff",lib:"."},{name:"addons_desktop_registration-ui",location:"release/toolbox/matlab/addons_desktop_registration/web/addons_desktop_registration/addons_desktop_registration-ui",lib:"."},{name:"mw-staticcontent",location:"release/toolbox/matlab/connector2/staticcontent/web/mw-staticcontent",lib:"."},{name:"mw-serviceframework",location:"release/derived/ui/mw-serviceframework",lib:"."},{name:"mw-value-engine",location:"release/derived/ui/mw-value-engine",lib:"."},{name:"mw-storage-service",location:"release/derived/ui/mw-storage-service",lib:"."},{name:"pathdataservice-js",location:"release/toolbox/matlab/pathdataservice/pathdataservice-js",lib:"."},{name:"findfiles-ui",location:"release/toolbox/matlab/findfiles/js/findfiles-ui",lib:"."},{name:"htmlviewer-ui",location:"release/toolbox/matlab/htmlviewer/web/htmlviewer/htmlviewer-ui",lib:"."},{name:"Vuejs",location:"release/derived/ui/Vuejs",lib:"."},{name:"helpwin-ui",location:"release/ui/help/helpwin/helpwin-ui",lib:"."},{name:"examplemanager",location:"release/toolbox/matlab/helptools/examplemanager/examplemanager",lib:"."},{name:"THREE",location:"release/derived/3p/ui/threejs",lib:"."},{name:"webscopes",location:"release/toolbox/shared/spcuilib/jswebscopes/js",lib:"."},{name:"desktop_workspacebrowser",location:"release/toolbox/matlab/datatools/desktop_workspacebrowser/js",lib:"."},{name:"importtool_client",location:"release/toolbox/matlab/datatools/importtool/js/client/importtool_client",lib:"."},{name:"importtool_peer",location:"release/toolbox/matlab/datatools/importtool/js/peer/importtool_peer",lib:"."},{name:"desktop_importtool",location:"release/toolbox/matlab/datatools/desktop_importtool/desktop_importtool",lib:"."},{name:"D3js",location:"release/derived/ui/D3js",lib:"."},{name:"uifigure_interface",location:"release/toolbox/matlab/uitools/uifigureinterfacejs",lib:"."},{name:"uitest",location:"release/toolbox/matlab/testframework/uiautomation_web/uitest",lib:"."},{name:"mw-tree",location:"release/derived/ui/mw-tree",lib:"."},{name:"visualcomponents",location:"release/toolbox/matlab/uicomponents/web/components",lib:"."},{name:"uicomponents_plugin_uifigure",location:"release/toolbox/matlab/uicomponents/web/plugin/uifigure",lib:"."},{name:"gbtcomponents_plugin_uifigure",location:"release/toolbox/matlab/uitools/componentspluginjs",lib:"."},{name:"rtc_plugin_uifigure",location:"release/toolbox/matlab/rich_text_component/rtc_figure_integration/web/plugin/uifigure",lib:"."},{name:"dspwebscopes",location:"release/toolbox/shared/dsp/webscopes/dspwebscopesutils/js",lib:"."},{name:"timescope",location:"release/toolbox/shared/dsp/webscopes/mltimescope/web/timescope/timescope",lib:"."},{name:"uitimescope",location:"release/toolbox/matlab/uiscopes/uitimescope/web/uitimescope/js",lib:"."},{name:"uiscopes_plugin_uifigure",location:"release/toolbox/matlab/uiscopes/plugin/web/uifigure",lib:"."},{name:"rtcintegration",location:"release/toolbox/matlab/rtc_integration/js",lib:"."},{name:"inspector_server",location:"release/toolbox/matlab/datatools/inspector/matlab",lib:"."},{name:"inspector_client",location:"release/toolbox/matlab/datatools/inspector/js/client/inspector_client",lib:"."},{name:"inspector_peer",location:"release/toolbox/matlab/datatools/inspector/js/peer/inspector_peer",lib:"."},{name:"datatools_plugin_uifigure",location:"release/toolbox/matlab/datatools/uicomponents/js",lib:"."},{name:"mw-style-utils",location:"release/derived/ui/mw-style-utils",lib:"."},{name:"variableeditor",location:"release/toolbox/matlab/codetools/uicomponents/web/datatools/variableeditor/js",lib:"."},{name:"aerocomponents",location:"release/toolbox/aero/aeroshared/web/aerocomponents",lib:"."},{name:"aerocomponents_plugin_uifigure",location:"release/toolbox/aero/aeroshared/web/plugin/uifigure",lib:"."},{name:"gbtclient",location:"release/toolbox/matlab/uitools/uifigureappjs/js",lib:"."},{name:"gbtdivfigure",location:"release/toolbox/matlab/uitools/divfigurejs/js",lib:"."},{name:"datatools_cfbactions-ui",location:"release/toolbox/matlab/datatools/matlab_integration/cfbactions/datatools_cfbactions-ui",lib:"."},{name:"datatools-cfb-preview",location:"release/toolbox/matlab/datatools/matlab_integration/cfb/js/datatools_cfb_preview/datatools_cfb_preview",lib:"."},{name:"analyzerrpt-ui",location:"release/toolbox/matlab/codeanalysis/analyzerrpt/web/analyzerrpt/analyzerrpt-ui",lib:"."},{name:"mw-webwindow",location:"release/toolbox/matlab/connector2/webwindow/web/mw-webwindow",lib:"."},{name:"fsui-config",location:"release/toolbox/matlab/filesystem/fsui_config/js",lib:"."},{name:"filechooser-ui",location:"release/toolbox/matlab/filechooser/filechooser-ui",lib:"."},{name:"mldriveecjsservices",location:"release/toolbox/matlab/storage/mldriveecservices/client",lib:"."},{name:"mldosharing-js",location:"release/toolbox/matlab/mldosharing/js/mldosharing-js",lib:"."},{name:"matlabdrive_js",location:"release/toolbox/matlab/storage/mldrivejsplugins/matlabdrive_js/matlabdrive_js",lib:"."},{name:"share_folder_preview",location:"release/toolbox/matlab/storage/mldrivejsplugins/share_folder_preview/js",lib:"."},{name:"sharing_actions",location:"release/toolbox/matlab/storage/mldrivejsplugins/sharing_actions/sharing_actions",lib:"."},{name:"tripwire_button",location:"release/toolbox/matlab/storage/mldrivejsplugins/tripwire_button/tripwire_button",lib:"."},{name:"packagedataservice-lib",location:"release/toolbox/matlab/packagedataservice/web/packagedataservice-lib",lib:"."},{name:"folder_icon_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_icon_plugin/impl",lib:"."},{name:"folder_label_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_label_plugin/impl",lib:"."},{name:"folder_preview_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_preview_plugin/impl",lib:"."},{name:"filetype_plugin_utils",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/utils",lib:"."},{name:"richcontent_preview_plugin",location:"release/toolbox/matlab/richcontent_preview/js/richcontent_preview_plugin",lib:"."},{name:"computils-ui",location:"release/toolbox/shared/computils/view_web/computils-ui",lib:"."},{name:"cmlink-credentials-lib",location:"release/toolbox/shared/cmlink/view/credentials_web/cmlink-credentials-lib",lib:"."},{name:"filebrowser_utils-ui",location:"release/toolbox/matlab/filebrowser_utils/filebrowser_utils-ui",lib:"."},{name:"computils-shared",location:"release/toolbox/shared/computils/shared_web",lib:"."},{name:"cmlink-util-ui",location:"release/toolbox/shared/cmlink/view/util_web/cmlink-util-ui",lib:"."},{name:"clone",location:"release/toolbox/shared/cmlink/view/clone_web/clone-lib",lib:"."},{name:"mw-text-field",location:"release/derived/ui/mw-text-field",lib:"."},{name:"cmlink-git-lib",location:"release/toolbox/shared/cmlink/view/git_web/cmlink-git-lib",lib:"."},{name:"git_blame_addon",location:"release/toolbox/shared/cmlink/view/editor/addons/git_blame_addon/js",lib:"."},{name:"cmlink-jni-lib",location:"release/toolbox/shared/cmlink/view/jni_web/cmlink-jni-lib",lib:"."},{name:"cmlink-action-ui",location:"release/toolbox/shared/cmlink/view/action_web/cmlink-action-ui/cmlink-action-ui",lib:"."},{name:"mw-radio",location:"release/derived/ui/mw-radio",lib:"."},{name:"cmlink-core-ui",location:"release/toolbox/shared/cmlink/view/core_web/cmlink-core-ui",lib:"."},{name:"matlab_sourcecontrol_javascript-ui",location:"release/toolbox/matlab/matlab_sourcecontrol_javascript/matlab_sourcecontrol_javascript-ui",lib:"."},{name:"currentfolderbrowser-ui",location:"release/toolbox/matlab/currentfolderbrowser/currentfolderbrowser-ui",lib:"."},{name:"file_chooser_service_js",location:"release/toolbox/matlab/file_chooser/service/file_chooser_service_js",lib:"."},{name:"mlc",location:"release/toolbox/coder/coder/web/mlc",lib:"."},{name:"mlc-lib",location:"release/toolbox/coder/coder/web/mlc-lib",lib:"."},{name:"mlc-resources",location:"release/toolbox/coder/coder/web/mlc-resources",lib:"."},{name:"reportviewer",location:"release/toolbox/coder/coder/web/reportviewer/reportviewer",lib:"."},{name:"CodeMirror",location:"release/derived/ui/CodeMirror",lib:"."},{name:"rtcaddon_legacylanguagesupport",location:"release/toolbox/matlab/rtc_addons/shared/legacylanguagesupport/js",lib:"."},{name:"rtcaddon_modernlanguagesupport",location:"release/toolbox/matlab/rtc_addons/shared/modernlanguagesupport/js",lib:"."},{name:"rtc_clike_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_clike_language_support/js/src",lib:"."},{name:"coderapp-form",location:"release/toolbox/coder/coderapp/form/web/coderapp-form",lib:"."},{name:"coderapp_jsbuild",location:"release/toolbox/coder/coderapp/buildtools/jsbuild",lib:"."},{name:"coderapp-common",location:"release/toolbox/coder/coderapp/common/web/coderapp-common",lib:"."},{name:"coderapp-resources",location:"release/toolbox/coder/coderapp/common/web/coderapp-resources",lib:"."},{name:"coderapp_screener_ui",location:"release/toolbox/coder/coderapp/screener/web/coderapp_screener_ui",lib:"."},{name:"mldatx_file_label_filter_plugin",location:"release/toolbox/shared/mldatx/file_label_filter_plugin/js/mldatx_file_label_filter_plugin",lib:"."},{name:"mldatx_file_preview_plugin",location:"release/toolbox/shared/mldatx/file_preview_plugin/js/mldatx_file_preview_plugin",lib:"."},{name:"ActionHandlers",location:"release/derived/ui/mw-diagnostic-widgets/ActionHandlers",lib:"."},{name:"DV",location:"release/derived/ui/mw-diagnostic-widgets/DV",lib:"."},{name:"DiagnosticObj",location:"release/derived/ui/mw-diagnostic-widgets/DiagnosticObj",lib:"."},{name:"compositeDVWidget",location:"release/derived/ui/mw-diagnostic-widgets/compositeDVWidget",lib:"."},{name:"mdom",location:"release/toolbox/mdom/web/mdom",lib:"."},{name:"mdomMetamodel",location:"release/derived/toolbox/mdom/metamodels",lib:"."},{name:"matlabeditor",location:"release/toolbox/shared/dastudio/web/matlabeditor/js",lib:"."},{name:"viewmarks",location:"release/toolbox/shared/dastudio/web/viewmarks/viewmarks",lib:"."},{name:"viewmarksmanager",location:"release/toolbox/shared/dastudio/web/viewmarksmanager/viewmarksmanager",lib:"."},{name:"sourcecontrol-ui",location:"release/toolbox/matlab/sourcecontrol/sourcecontrol-ui",lib:"."},{name:"matlab_login_framework",location:"release/toolbox/matlab/matlab_login_framework/web/matlab_login_framework",lib:"."},{name:"addonssidepanel-ui",location:"release/toolbox/matlab/addons_sidepanel/addonssidepanel-ui",lib:"."},{name:"installer_login",location:"release/install/components/installer_login/web/installer_login",lib:"."},{name:"installjscommon",location:"release/install/components/installjscommon/web/installjscommon",lib:"."},{name:"supportsoftwareinstaller",location:"release/install/components/supportsoftwareinstaller/web",lib:"."},{name:"supportsoftwareclient",location:"release/install/components/supportsoftwareclient/web/supportsoftwareclient",lib:"."},{name:"sidepanel-ui",location:"release/toolbox/matlab/plottools/sidepanel/sidepanel-ui",lib:"."},{name:"codegenwidget-ui",location:"release/toolbox/matlab/plottools/codegenwidget/codegenwidget-ui",lib:"."},{name:"gbtfigure_uicontainer",location:"release/toolbox/matlab/uitools/figureuicontainerjs/js",lib:"."},{name:"toolstrip",location:"release/toolbox/matlab/toolstrip/web",lib:"."},{name:"appcontainer_dojo",location:"release/toolbox/matlab/appcontainer_dojo/appcontainer",lib:"."},{name:"appcontainer",location:"release/toolbox/matlab/appcontainer/web/appcontainer_ui",lib:"."},{name:"addons-ui",location:"release/toolbox/matlab/addons/addons-ui",lib:"."},{name:"appdesigner_build",location:"release/toolbox/matlab/appdesigner/appdesigner/build",lib:"."},{name:"rtcaddon_simulink_requirements",location:"release/toolbox/matlab/rtc_addons/vnv/req/js",lib:"."},{name:"navigation_services",location:"release/toolbox/matlab/editor/navigation/services/client",lib:"."},{name:"common_features",location:"release/toolbox/matlab/editor/common/features/js",lib:"."},{name:"codingui",location:"release/toolbox/matlab/rtc_addons/shared/codingui/js",lib:"."},{name:"livetask",location:"release/toolbox/matlab/rtc_addons/livetask/js",lib:"."},{name:"plaincode_saveload",location:"release/toolbox/matlab/rtc_addons/rtcsaveload/plaincode",lib:"."},{name:"plaincode_features",location:"release/toolbox/matlab/editor/plaincode/features/js",lib:"."},{name:"computils_mockfilechooser",location:"release/toolbox/shared/computils/mockfilechooser/js/computils_mockfilechooser",lib:"."},{name:"widgets",location:"release/toolbox/matlab/datatools/widgets/js/widgets",lib:"."},{name:"livecontrol",location:"release/toolbox/matlab/rtc_addons/livecontrol/js",lib:"."},{name:"livecode_saveload",location:"release/toolbox/matlab/livecode/saveload",lib:"."},{name:"livecode_features",location:"release/toolbox/matlab/editor/livecode/features/js",lib:"."},{name:"livecodewidget",location:"release/toolbox/matlab/editor/livecode/widget/js",lib:"."},{name:"equation_renderer-ui",location:"release/toolbox/shared/mlreportgen/widgets/equation/js/equation_renderer-ui",lib:"."},{name:"mw-diff3",location:"release/toolbox/comparisons/view/web3/mw-diff3/mw-diff3",lib:"."},{name:"mlapp_actions",location:"release/toolbox/matlab/appdesigner/matlab_integration/cfb/mlapp_actions/mlapp_actions",lib:"."},{name:"mlapp_preview",location:"release/toolbox/matlab/appdesigner/matlab_integration/cfb/mlapp_preview/mlapp_preview",lib:"."},{name:"dependency-refactoring",location:"release/toolbox/matlab/dependency/refactoring/web/dependency-refactoring",lib:"."},{name:"maplibre-gl-js",location:"release/derived/3p/ui/maplibre-gl-js",lib:"."},{name:"matlab_maps_vectortileviewer",location:"release/toolbox/matlab/maps/vectortileviewer/vectortileviewer",lib:"."},{name:"project-util-ui",location:"release/toolbox/matlab/project/views/util_web/project-util-ui",lib:"."},{name:"addressbar-ui",location:"release/toolbox/matlab/addressbar/addressbar-ui",lib:"."},{name:"project-fromfile-ui",location:"release/toolbox/matlab/project/views/fromfile_web/project-fromfile-ui",lib:"."},{name:"dependency-widget-progress",location:"release/toolbox/matlab/dependency/widget/progress_web/dependency-widget-progress",lib:"."},{name:"inspector_editors-lib",location:"release/toolbox/matlab/datatools/inspector/editors/js/inspector_editors/inspector_editors-lib",lib:"."},{name:"preprocessing",location:"release/toolbox/matlab/datatools/preprocessing/js",lib:"."},{name:"codefileviewer_shared",location:"release/toolbox/matlab/codefileviewer/shared/shared",lib:"."},{name:"livecodefileviewer",location:"release/toolbox/matlab/codefileviewer/livecode/widget",lib:"."},{name:"plaincodefileviewer",location:"release/toolbox/matlab/codefileviewer/plaincode/widget",lib:"."},{name:"web",location:"release/toolbox/matlab/codefileviewer/standalone/web/js",lib:"."},{name:"rtc_mlike_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_mlike_language_support/js/src",lib:"."},{name:"rtc_vhdl_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_vhdl_language_support/js/src",lib:"."},{name:"physmod_simscape_language_editor",location:"release/toolbox/physmod/simscape/language_editor/js/src",lib:"."},{name:"rtc_javascript_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_js_language_support/js/src",lib:"."},{name:"rtc_xml_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_xml_language_support/js/src",lib:"."},{name:"rtc_java_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_java_language_support/js/src",lib:"."},{name:"rtc_vrml_language_support",location:"release/toolbox/sl3d/rtc_plugins/rtc_vrml_language_support/js/src",lib:"."},{name:"analyzer",location:"release/toolbox/matlab/system/editor/analyzer/analyzer",lib:"."},{name:"rtc_python_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_python_language_support/js/src",lib:"."},{name:"rtc_tlc_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_tlc_language_support/js/src",lib:"."},{name:"rtc_yaml_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_yaml_language_support/js/src",lib:"."},{name:"rtc_verilog_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_verilog_language_support/js/src",lib:"."},{name:"liveeditor",location:"release/toolbox/matlab/editor/application/js",lib:"."},{name:"diagnostic-viewer",location:"release/derived/ui/diagnostic-viewer",lib:"."},{name:"vor",location:"release/derived/toolbox/modeling/vor/web",lib:"."},{name:"dagre",location:"release/derived/3p/ui/dagre",lib:"."},{name:"wigl",location:"release/derived/toolbox/diagram/editor/web/transpiled",lib:"."},{name:"export-ui",location:"release/toolbox/diagram/editor/web/export/export-ui",lib:"."},{name:"classbrowser-ui",location:"release/toolbox/classdiagram/classbrowser/classbrowser-ui",lib:"."},{name:"editor-ui",location:"release/toolbox/classdiagram/editor/editor-ui",lib:"."},{name:"project-cfbaction-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-action/project-cfbaction-ui",lib:"."},{name:"project-cfbextension-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-extension/project-cfbextension-ui",lib:"."},{name:"project-cfbicon-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-icon/project-cfbicon-ui",lib:"."},{name:"project-cfbpreview-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-preview/project-cfbpreview-ui",lib:"."},{name:"dependency-app",location:"release/toolbox/matlab/dependency/app/web/dependency-app",lib:"."},{name:"project-sharing-validation",location:"release/toolbox/matlab/project/sharing/validationview_web",lib:"."},{name:"project-open-ui",location:"release/toolbox/matlab/project/views/open_web/project-open-ui",lib:"."},{name:"project-store-lib",location:"release/toolbox/matlab/project/views/store_web/project-store-lib",lib:"."},{name:"project-creation",location:"release/toolbox/matlab/project/views/creation_web/project-creation",lib:"."},{name:"project-action-ui",location:"release/toolbox/matlab/project/views/action_web/project-action-ui/project-action-ui",lib:"."},{name:"project-file-ui",location:"release/toolbox/matlab/project/views/file_web/project-file-ui",lib:"."},{name:"project-issues-ui",location:"release/toolbox/matlab/project/views/issues_web/project-issues-ui",lib:"."},{name:"project-core-ui",location:"release/toolbox/matlab/project/views/core_web/project-core-ui",lib:"."},{name:"project-sharing-widgets",location:"release/toolbox/matlab/project/sharing/widgets_web",lib:"."},{name:"project-sharing-profiles",location:"release/toolbox/matlab/project/sharing/profilesview_web/project-sharing-profiles",lib:"."},{name:"project-sharing-toarchive",location:"release/toolbox/matlab/project/sharing/toarchive_web",lib:"."},{name:"project-sharing-togithub",location:"release/toolbox/matlab/project/sharing/github_web",lib:"."},{name:"project-customtasks-ui",location:"release/toolbox/matlab/project/views/customtasks_web/project-customtasks-ui",lib:"."},{name:"project-references-ui",location:"release/toolbox/matlab/project/views/references_web/project-references-ui",lib:"."},{name:"project-checks-ui",location:"release/toolbox/matlab/project/views/checks_web/project-checks-ui",lib:"."},{name:"mw-server-to-client",location:"release/ui/mw-server-to-client/mw-server-to-client",lib:"."},{name:"graderui-adapter",location:"release/derived/toolbox/grader/views/graderui-adapter",lib:"."},{name:"graderpanel-lib",location:"release/toolbox/grader/views/panel/graderpanel-lib",lib:"."},{name:"sf_file_preview_plugin",location:"release/toolbox/stateflow/sf_file_preview_plugin/js-preview/sf_file_preview_plugin",lib:"."},{name:"AxesView",location:"release/toolbox/shared/sdi/web/AxesView/js",lib:"."},{name:"SDI2",location:"release/toolbox/shared/sdi/web/MainView/SDI2",lib:"."},{name:"TableView",location:"release/toolbox/shared/sdi/web/TableView/js",lib:"."},{name:"mm_tree_node_ui",location:"release/src/mm_tree_node/web/mm_tree_node_ui",lib:"."},{name:"equationrenderer",location:"release/ui/equationrenderer/equationrenderer-ui",lib:"."},{name:"slexec_mm_display-derived",location:"release/derived/toolbox/simulink/timinglegend",lib:"."},{name:"report",location:"release/toolbox/coder/simulinkcoder_app/report/web/report",lib:"."},{name:"slcoderRpt",location:"release/toolbox/coder/simulinkcoder_app/slcoderRpt/src/slcoderRpt_js/slcoderRpt",lib:"."}],deps:["bootstrap"],async:!1,has:{"config-deferredInstrumentation":!1},supportedLocales:["ja-jp","ko-kr","zh-cn","en-us"]}),a={hasCache:{webpack:1,"host-browser":1,dom:1,"dojo-loader":1,"dojo-has-api":1,"dojo-dom-ready-api":1,"dojo-sniff":1,"dojo-test-sniff":1,"config-deferredInstrumentation":1,"config-tlmSiblingOfDojo":1}},o=__webpack_require__(15574);o.call(i,s,a,i,i),Object.keys(i.require.packs).forEach(function(v){var f=i.require.packs[v];(/(^\/)|(\:)/.test(f.main)||f.main.split("/").reduce(function(g,m){return g<0||m==="."?g:m===".."?--g:++g},0)<=0)&&typeof f.realMain>"u"&&(f.realMain=f.main,f.main="")});function u(v,f){var g=i.require.originalToAbsMid(v,f);if(g.indexOf("/")===g.length-1){var m=g.substring(0,g.length-1),E=i.require.packs[m];E&&E.realMain&&(g=m)}return g}function c(v,f){var g=i.require.originalToUrl(v,f),m=i.require.packs[v];if(m&&m.realMain){var E=g.split("?");/(^\/)|(\:)/.test(m.realMain)?E[0]=m.realMain:E[0]=E[0]+"/"+m.realMain,g=E.join("?")}return g}i.require.originalToAbsMid=i.require.toAbsMid,i.require.originalToUrl=i.require.toUrl,i.require.toAbsMid=u,i.require.toUrl=c,["baseUrl","has","rawConfig","on","signal"].forEach(function(v){P[v]=i.require[v]});var h=r.webpackChunk.absMidsWaiting;h&&(h.forEach(b),delete r.webpackChunk.absMidsWaiting)}(),__webpack_require__.p="release/",__webpack_require__.nc=void 0;var __webpack_exports__=__webpack_require__(90303)})();