jspreadsheet
Version:
Jspreadsheet is a lightweight, vanilla javascript data grid plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
116 lines (112 loc) • 297 kB
JavaScript
/**
* Jspreadsheet v11.23.7
*
* Website: https://jspreadsheet.com
* Description: Create amazing web based spreadsheets.
*
* This software requires a license. Visit: https://jspreadsheet.com/docs
*/
'use strict';
if (! formula && typeof(require) === 'function') {
var formula = require('@jspreadsheet/formula');
}
if (! jSuites && typeof(require) === 'function') {
var jSuites = require('jsuites');
}
(function(a,wa){const ka=a0_0x458e;for(a=a();;)try{if(-parseInt(ka(1074))*(parseInt(ka(1497))/2)+-parseInt(ka(1690))/3*(parseInt(ka(1108))/4)+-parseInt(ka(1555))/5*(parseInt(ka(759))/6)+parseInt(ka(1055))/7+-parseInt(ka(1358))/8*(-parseInt(ka(1309))/9)+-parseInt(ka(1349))/10+parseInt(ka(1588))/11===wa)break;else a.push(a.shift())}catch(Ua){a.push(a.shift())}})(a0_0x4a7f,920556);
(function(a,wa){const ka=a0_0x458e;"object"===typeof exports&&typeof module!==ka(676)?module[ka(1618)]=wa():typeof define===ka(972)&&define[ka(1513)]?define(wa):a[ka(1664)]=wa()})(this,function(){const a=a0_0x458e,wa=function(){const t=a0_0x458e,p={version:t(704),edition:t(1070),host:t(503),license:"Unlicensed",print:function(){return[t(783)+this[t(949)]+" edition "+this.version+"\r\n"+this.host+"\r\n"+this[t(515)]]}};return function(){return p}}(),ka=function(t){var p=a0_0x458e;if(t){if(typeof t.autoCasting!==
p(676))return t.autoCasting;if("@"===t[p(444)])return!1}t=this.options.autoCasting;if(typeof t!==p(676))return t;p=this[p(1467)][p(787)][p(925)];if("undefined"!==typeof p)return p},Ua=function(){const t=a0_0x458e;return 0<=navigator[t(1549)][t(784)]().indexOf(t(1135))},xb=function(t){const p=a0_0x458e;return t&&"function"===typeof t[p(1015)]},sa=function(t){const p=a0_0x458e;return Ua()?t[p(461)]:t[p(1171)]},Kb=function(t,p){const f=a0_0x458e;return t<this[f(1113)].length&&p<this[f(1259)].length},
ob=function(t){return/^[0-9]|\W/[a0_0x458e(1006)](t)&&(t="'"+t+"'"),t},yb=function(){const t=a0_0x458e,p=function(f){const d=a0_0x458e;!document[d(498)]&&(document[d(498)]={});let c=Object[d(1490)](f);for(let b=0;b<c[d(607)];b++)document[d(498)][c[b]]=f[c[b]]};return p[t(1774)]=function(f,d){document[t(498)]&&(f=document[t(498)][f]||f);if(d&&d[t(607)])for(let c=0;c<d.length;c++)f=f[t(1706)]("{"+c+"}",d[c]);return f},p}(),M=yb[a(1774)],W=function(t,p){t=document[a(1217)](t);return p&&p(t),t},na=function(t){let p=
this[a(829)].zoom;return p?t*p:t},zb=function(t,p){return W(a(1192),f=>{f[a(1734)]={close:function(){p&&p(f);jSuites[a(583)](this,!1)},open:function(){t&&t(f);jSuites[a(583)](this,!0)}};f[a(1751)](a(506),0);f.classList[a(911)]("jss_dialog");f.classList.add("jclose");f[a(571)](a(1155),function(d){50>d[a(723)][a(1653)]-d[a(1597)]&&50>d.offsetY&&(d[a(723)][a(622)][a(1493)]="",d.preventDefault(),d[a(1052)](),d[a(1788)](),this[a(1734)][a(1458)]())})})},Va=function(t){return O()?t instanceof Element||t instanceof
HTMLDocument||t instanceof DocumentFragment:!1},O=function(){return typeof window!==a(676)&&typeof window.document!==a(676)},pb=function(){let t=document[a(1784)];for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t[a(854)][a(1784)];return t},ta=function(t){return JSON.parse(JSON.stringify(t))},Lb=function(t){t=Object.assign({},this[a(1113)][t]);return delete t.x,delete t[a(1411)],delete t[a(659)],t},hb=function(t){if(Array[a(601)](t))!t[a(607)]&&(t=null);else if(jSuites[a(1432)](t)){let p=[];for(let f=
0;f<t;f++)p.push(f);return p[a(607)]?p:null}return t},Oa=function(t,p,f){if(t){let d=t[a(607)],c=t[0],b=t[d-1];for(let e=0;e<p[a(607)];e++){let g=p[e];g>=c&&g<=b&&(f?(d++,b++):d--)}if(d!==t[a(607)]){t=[];for(p=0;p<d;p++)t[a(1117)](c+p);return t}}return!1},Wa=function(t){if(1===this[a(949)])return!0;console[a(804)](t+a(1240));return!1},ab=function(t){if(t.format||t[a(444)]||t[a(840)]){let p={};t[a(444)]?p[a(444)]=t.mask:t.format?p[a(444)]=t.format:p.locale=t.locale;return t.options&&(p.options=t[a(829)]),
t.decimal&&(!p.options&&(p.options={}),p.options={decimal:t[a(640)]}),p}return null},za=function(t){let p=0,f=t[a(607)];for(let d=0;d<f;d++)null!==t[d]&&(d!==p&&(typeof t[d]===a(676)?typeof t[p]!==a(676)&&delete t[p]:t[p]=t[d]),p++);t[a(607)]=p},Ab=function(t){let p=t[a(607)];for(let f=0;f<p;f++)typeof t[f]===a(676)&&delete t[f]},Ga=function(t,p,f){t=this[a(1680)](t,p);t[a(607)]<p&&(t[a(607)]=p);this[a(607)]<f&&(this.length=f);this[a(1680)](f,0,...t)},bb=function(t,p){p=[a(1383),this.name.substr(0,
8),p?p:a(622)];return typeof t!==a(676)&&p[a(1117)](t),p[a(974)]("_")},ib=function(t){if(O()){var p=this.config[t];if(p&&p[a(607)]){t=bb[a(1551)](this,void 0,t);let f=[];for(let d=0;d<p[a(607)];d++){let c="";typeof p[d]===a(578)?c=p[d]:p[d]&&p[d][a(754)]&&(c=Object.entries(p[d][a(754)])[a(570)](function([b,e]){return"\t"+b+": "+e+a(1364)}),c=c[a(974)](""));c&&f[a(1117)](".jss > tbody > tr > td."+t+"_"+d+a(940)+c+"\n}")}p=this[a(1300)][a(1109)]("#"+t);!p&&(p=document[a(1217)](a(622)),p.id=t,this[a(787)][a(1567)]&&
(p.nonce=this.config[a(1567)]),this[a(1300)][a(1626)](p));p[a(1326)]=f.join("\n")}}},Xa=function(t){return typeof this[a(1467)][a(787)][t]===a(972)},Bb=function(t){return"="===t||"!"===t||">"===t||"<"===t},ha=function(t,p){return t&&typeof t===a(578)&&"="===t[0]&&(t[1]||p)},xa=function(t){return typeof t===a(676)||null===t||""===t},La=function(t,p){let f="",d=!1;-1!==t[a(1803)]("&")&&(t=t[a(1706)](RegExp("<","g"),"<"),t=t.replace(new RegExp(a(1148),"g"),">"));for(let c=0;c<t[a(607)];c++){if('"'===
t[c]||"'"===t[c])d?d===t[c]&&(d=!1):d=t[c];d?f+=t[c]:!/\s/g[a(1006)](t[c])&&(f+=t[c][a(784)](),!0===p&&0<c&&"="===t[c]&&Bb(t[c-1])&&Bb(t[c+1])&&(f+="="))}return f},Pa=function(t){let p=this.cols;return p[t]&&p[t][a(1422)]?p[t][a(1422)]:t},Ea=function(t,p){let f=p;return this[a(1445)]&&0<=p&&(f=Pa[a(1551)](this,p)),typeof f===a(1605)?t[f]:jSuites[a(733)][a(1551)](t,f)},ba=function(t,p,f,d){var c=this.options[a(1203)];let b=c[p];!b&&typeof f!==a(676)&&(b=c[p]=this[a(1445)]?{}:[]);b&&(c=t,this[a(1445)]&&
0<=t&&(c=Pa[a(1551)](this,t)),"undefined"===typeof f?"number"===typeof c?f=b[t]:f=jSuites.path[a(1551)](b,c):(typeof c===a(1605)?b[t]=f:jSuites[a(733)][a(1551)](b,c,f,d),typeof this[a(1646)][p][t]!==a(676)&&(this[a(1646)][p][t].v=f)));return f},aa=function(t){return!1===this[a(787)][a(1431)]||t&&!1===t[a(829)][a(1431)]?!1:this[a(1622)]?7<=this[a(1622)]:!0},Ya=function(){const t=function(p){const f=a0_0x458e;p[f(1352)]=t[f(1187)];p[f(1347)]=t.is};return t[a(1187)]=function(p,f){let d,c,b,e=a(681),
g=null;if("string"===typeof p){let [l,n]=I[a(948)](p);(d=N[a(1785)][a(1551)](this,l,n))&&d[a(1411)]&&(g=d[a(1411)])}else Va(p)&&(g=p,c=g[a(724)](a(961)),b=g[a(724)](a(1298)),p=I[a(1272)](c,b),d=this.records[b][c]);g&&(f?g[a(1650)][a(911)](e):g[a(1650)].remove(e));!d[a(829)]&&(d[a(829)]=Lb[a(1551)](this,d.x));d[a(829)][a(681)]=!!f;T[a(1551)](this,a(1352),[p,f])},t.is=function(p,f,d){if(typeof p===a(578)&&typeof f===a(676)){var c=I.getCoordsFromCellName(p);p=c[0];f=c[1]}var b=this.rows[f];let e=this[a(1113)][p];
if(b&&e){c=null;b=[b[a(1709)],b.readonly,e[a(1709)],e[a(681)]];if((f=this[a(1646)][f])&&f[p]&&((p=f[p].options)&&(b[a(1117)](p[a(1709)]),b[a(1117)](p[a(681)])),!(d||!0!==this[a(829)][a(627)]||p&&!1===p[a(627)])))return!0;for(d=0;6>d;d++)typeof b[d]===a(1797)&&(c=b[d]);return c}},t}(),Fa=function(){let t=a(1114);const p=function(d){this[a(734)]&&(this[a(734)][a(1650)][d](t),S[a(1172)].call(this),R[a(1172)].call(this))},f=function(d){d[a(1029)]=f[a(1319)];d[a(597)]=f[a(742)]};return f[a(1501)]=function(){let d=
!0;return this[a(734)]&&(d=!this[a(734)][a(1650)].contains(t)),d},f[a(1213)]=function(){return f[a(1501)][a(1551)](this)?H.indexColumnWidth:0},f.show=function(){p[a(1551)](this,"remove")},f[a(742)]=function(){p[a(1551)](this,a(911))},f}(),Mb=function(t){var p;typeof window===a(1581)&&typeof window.atob===a(972)?p=window[a(677)]:p=function(g){return Buffer[a(1305)](g,a(926))[a(803)]()};if(typeof t===a(676))return this[a(1622)];let f=1,d=[];var c=[74,50,48,50,48,33][a(974)]("");const b=function(g,l){let n=
jSuites[a(1280)],h="",m="";128<g[a(607)]&&(g=n(g));for(let k=0;128>k;k++){let q=g[k]?g[k][a(672)](0):0;h+=String[a(646)](54^q);m+=String.fromCharCode(92^q)}return n(m+n(h+l))};try{if(t){var e=p(t);e=e[a(685)](",");if(e[1])if(e[1]=p(e[1]),e[0]!==b(c,e[1]))f=3;else if(e[1]=JSON.parse(e[1]),e[1].date){t="localhost";p=!1;if("undefined"!==typeof window&&window[a(505)].hostname)for(t=window[a(505)][a(1727)],c=0;c<e[1].domain.length;c++)-1===e[1][a(1611)][c][a(1803)](".")?t===e[1][a(1611)][c]&&(p=!0):(t===
e[1][a(1611)][c]||t[a(1258)]("."+e[1].domain[c]))&&(p=!0);else H[a(905)]&&e[1][a(905)]===H.clientId&&(p=!0);if(!1===p)f=4;else if(e[1][a(486)]&&0<=e[1][a(486)][a(1803)](a(1329))){t=new Date;p=parseInt(t[a(651)]()/1E3);let g=wa();if(e[1][a(528)]<p)e[1][a(1711)]||!e[1][a(1277)]||e[1][a(528)]+2592E3<p?f=6:f=7,g[a(515)]=e[1][a(1422)]+a(1552);else{f=8;let l=parseInt(e[1][a(1277)]);g[a(515)]=a(1260)+e[1][a(1422)];31===l||33===l||34===l||35===l||22===l||23===l?g[a(949)]=a(1613):g[a(949)]="Base";d=e[1].scope}}else f=
5}else f=4;else f=2}}catch(g){}t="";1===f?t=a(1465):2===f||3===f||4===f?t=a(751):5===f?t=a(837):6!==f&&7!==f||(t=a(508));Object.defineProperty(this,a(1622),{value:f,writable:!1,configurable:!1,enumerable:!1,extensible:!1});Object.defineProperty(this,a(949),{value:"Premium"===wa()[a(949)]?1:0,writable:!1,configurable:!1,enumerable:!1,extensible:!1});Object[a(1143)](this,a(486),{get:function(){return d},configurable:!1,enumerable:!1,extensible:!1});if(O()){e=document[a(1217)]("div");e.style[a(1389)]=
a(1773);e[a(622)][a(1635)]=a(856);e[a(622)][a(679)]="pointer";e[a(1043)]=function(){window[a(505)][a(1764)]=wa()[a(1160)]+a(758)};e[a(1626)](document[a(1058)](t));if(8>f)try{if(typeof sessionStorage!==a(676)&&!sessionStorage[a(932)]("jspreadsheet")){sessionStorage[a(857)](a(1664),!0);let g=document[a(1217)]("img");g.src=wa()[a(1160)]+a(963)+a(1162);g[a(622)][a(1493)]=a(671);e[a(1626)](g)}}catch(g){}return e}},S=function(){const t=function(m){const k=a0_0x458e;typeof m!==k(1605)&&(m=parseInt(m));let q,
r=m;for(this[k(850)]&&(m=this[k(850)][k(1803)](m));0<m;)if(m--,q=this[k(850)]?this.results[m]:m,da.isVisible[k(1551)](this,q)){r=q;break}return r},p=function(m){const k=a0_0x458e;"number"!==typeof m&&(m=parseInt(m));let q=m;for(;0<m;)if(m--,Y[k(1627)].call(this,m)){q=m;break}return q},f=function(){const m=a0_0x458e;let k,q=this.content[m(674)]-this[m(1686)].offsetHeight-ya[m(1575)][m(1551)](this,!0),r=0;for(let u=0;u<this[m(1169)][m(1679)][m(607)];u++)k=this[m(1169)][m(1679)][u][m(674)],q>k&&(r+=
k,q-=k);return r},d=function(){const m=a0_0x458e;let k,q=this[m(886)][m(895)]-ua[m(554)].call(this,!0),r=0;for(let u=0;u<this.headerContainer.children[m(607)];u++)k=this[m(1221)][m(1679)][u].offsetWidth,q>k&&(r+=k,q-=k);return r},c=function(m){-1===this.indexOf(m)&&this.push(m)},b=function(m){const k=a0_0x458e;let q;var r;var u=this[k(1221)][k(674)];m<u&&(this[k(1221)][k(622)].height=u+"px",r=!0);for(m=0;m<this[k(924)][k(607)];m++)q=this[k(1259)][this[k(924)][m]],q.element?(u=q[k(1411)][k(674)],u&&
(u>q.height||!q[k(1311)])&&(q[k(1411)].style[k(1311)]=u+"px",q[k(1311)]=u,r=!0)):r=!0;r&&(u=this.parent.config[k(1556)]||1,r=ya[k(1575)].call(this),this[k(1311)]=h[k(1311)][k(1551)](this)+r+3,this[k(774)].style.height=this.height+u+"px")},e=function(m,k){const q=a0_0x458e;let r=null,u;var w,A,z=0;var x=this[q(1113)][q(607)];var v=this[q(1259)][q(607)];for(u=0;u<x;u++)if((!0===k||-1===m[q(1803)](u))&&Y[q(1754)][q(1551)](this,u))for(Y[q(859)][q(1551)](this,u),w=0;w<v;w++)(A=this[q(1646)][w])&&(A=A[u],
A&&A[q(1411)]&&A[q(1411)].remove());if(this[q(829)][q(553)])for(w=0;w<this[q(1686)][q(1679)][q(607)]-1;w++)z+=this[q(1686)][q(1679)][w][q(674)];for(u=0;u<m[q(607)];u++){x=m[u];v=Qa[q(1456)][q(1551)](this,x);w=this.cols[x];if(r){if(!v[q(527)]){this[q(1221)][q(1598)](v,this[q(1221)].children[r][q(1506)]);this[q(552)][q(1598)](w[q(659)],this[q(552)].children[r][q(1506)]);if(this[q(829)][q(777)])for(w=0;w<this[q(829)][q(777)].length;w++)this[q(928)][q(1679)][w][q(1598)](va[q(1456)][q(1551)](this,x,w),
this[q(928)][q(1679)][w].children[r].nextSibling);z&&(v.style[q(1223)]+=z)}for(w=0;w<this[q(924)][q(607)];w++)A=this.visibleRows[w],A=N[q(1456)][q(1551)](this,x,A),!A[q(527)]&&this[q(1169)][q(1679)][w][q(1598)](A,this[q(1169)][q(1679)][w].children[r].nextSibling)}else{if(!v[q(527)]){this[q(1221)][q(1598)](v,this[q(1221)][q(1679)][1]);this[q(552)].insertBefore(w.colElement,this[q(552)][q(1679)][1]);if(this[q(829)][q(777)])for(w=0;w<this[q(829)].footers[q(607)];w++)this[q(928)][q(1679)][w][q(1598)](va.create[q(1551)](this,
x,w),this[q(928)][q(1679)][w][q(1679)][1]);z&&(v[q(622)][q(1223)]+=z)}for(w=0;w<this.visibleRows[q(607)];w++)A=this.visibleRows[w],A=N[q(1456)][q(1551)](this,x,A),!A.parentNode&&this[q(1169)][q(1679)][w].insertBefore(A,this[q(1169)][q(1679)][w][q(1679)][1])}r=Array[q(1012)][q(1803)][q(1551)](this[q(1221)][q(1679)],v)}if(this[q(829)][q(553)])for(w=0;w<this.options[q(553)].length;w++){r=null;z=[];A=Ba[q(701)].call(this,w);for(u=0;u<m.length;u++)typeof A[m[u]]!==q(676)&&-1===z[q(1803)](A[m[u]])&&z[q(1117)](A[m[u]]);
for(u=0;u<this[q(829)][q(553)][w].length;u++)(!0===k||-1===z[q(1803)](u))&&this[q(1649)][q(886)][w][u]&&this[q(1649)].content[w][u][q(1411)]&&this[q(1649)].content[w][u][q(1411)][q(848)]();for(u=A=0;u<z.length;u++)x=Ba[q(1456)].call(this,z[u],w),!x[q(527)]&&(r?this[q(1686)][q(1679)][w][q(1679)][r]?this[q(1686)].children[w][q(1598)](x,this[q(1686)].children[w][q(1679)][r][q(1506)]):this[q(1686)][q(1679)][w][q(1626)](x):this[q(1686)][q(1679)][w][q(1598)](x,this[q(1686)].children[w][q(1679)][1]),x.style[q(1223)]=
this[q(1649)][q(1311)][w]+"px",this[q(829)][q(1248)]&&this[q(829)][q(553)][w][z[u]][q(1498)]&&(x[q(622)].left=A+(Fa[q(1501)][q(1551)](this)?H[q(675)]:0)+"px",x[q(1650)][q(911)](q(1372)),A+=x.offsetWidth)),r=Array[q(1012)].indexOf[q(1551)](this[q(1686)][q(1679)][w][q(1679)],x)}this[q(1795)]=m},g=function(m,k){const q=a0_0x458e;let r=[],u=null,w,A;for(w=0;w<this[q(1169)][q(1679)][q(607)];w++)r[q(1117)](this.tbody[q(1679)][w]);for(w=0;w<r[q(607)];w++)A=parseInt(r[w].getAttribute("data-y")),-1!==m[q(1803)](A)&&
!0!==k||r[w][q(848)]();for(w=0;w<m.length;w++)k=da.create.call(this,m[w]),!k[q(527)]&&(u?this[q(1169)].insertBefore(k,u[q(1506)]):this.tbody.insertBefore(k,this[q(1169)][q(874)])),u=k;this.visibleRows=m},l=function(m){const k=a0_0x458e;var q=[],r=0;let u=this[k(886)][k(726)];k(886);k(1064);var w=this[k(886)][k(895)];var A=this[k(829)][k(1248)];let z=S[k(1079)][k(1551)](this)&&!1!==this[k(829)][k(490)];var x=this[k(1113)].length;var v=null,y=null;if(z){r=u;let D=r+w,B=0;var C=0;if(A){for(w=0;w<A[k(607)];w++)C=
A[w],Y[k(1627)][k(1551)](this,C)&&(v=Y[k(1213)].call(this,C),q[k(1117)](C),B+=v,v=C),C++;r+=B}for(w=C;w<x;w++)Y[k(1627)].call(this,w)&&(C=Y[k(1213)][k(1551)](this,w),B+C>r&&B<=D&&q.push(w),B+=C);(w=Aa.expand.call(this,q,0))&&(q=w);if(this[k(829)][k(553)])for(y=v,w=0;w<q.length;w++)if(r=Ba[k(1436)][k(1551)](this,q[w])){for(x=0;x<r[k(607)];x++)this[k(1113)][r[x]]&&c[k(1551)](q,r[x]);x=Math[k(1004)](...r);q[w]<=v&&x>y&&(y=x)}q.sort(function(F,E){return F-E})}else{if(A)for(w=0;w<A.length;w++)r=A[w],Y[k(1627)][k(1551)](this,
r)&&(v=r);for(w=0;w<x;w++)q[k(1117)](w)}w=this[k(1221)].offsetHeight;!m&&I[k(619)](q,this[k(1795)])||(e[k(1551)](this,q,m),Za.update[k(1551)](this),ua.refresh[k(1551)](this),ya[k(1172)][k(1551)](this));w&&b[k(1551)](this,w);this[k(566)]=null===v?0:q.indexOf(v)+1;z&&!0!==this.parent[k(787)].snapToGrid&&(m=null,null!==v&&y&&(m=h[k(1213)].call(this,y),y=Y[k(1213)][k(1551)](this,y),A=Y[k(1237)][k(1551)](this,A[0]),m=-1*(m+y+A)),q=h[k(1213)].call(this,q[this.firstCol])-u,0<q&&(q=0),null!==m&&m>q&&(q=m),
this[k(734)].style[k(1237)]=q+"px",this[k(1686)].lastChild[k(874)][k(622)].marginLeft=k(653),setTimeout(()=>{this[k(1686)].lastChild[k(874)][k(622)][k(1293)]=""},0))},n=function(m){const k=a0_0x458e;let q=[];var r;let u=null;var w=0;let A=this[k(886)][k(1321)];k(886);k(1404);var z=this[k(886)][k(674)];var x=this[k(829)][k(1146)];let v=S[k(1079)][k(1551)](this)&&!this[k(829)][k(1695)]&&!1!==this[k(829)].virtualizationY;var y=null;if(v){var C=A;w=C+z;var D=0;let B=0;this.results?r=this[k(850)]:r=this.rows;
let F=r[k(607)];if(x){for(z=0;z<x.length;z++)B=x[z],da[k(1627)].call(this,B)&&(y=da[k(1311)][k(1551)](this,B),q[k(1117)](B),D+=y,y=B),B++;C+=D}for(z=B;z<F;z++)this.results?u=r[z]:u=z,da[k(1627)][k(1551)](this,u)&&(x=da[k(1311)][k(1551)](this,u),D+x>C&&D<w&&c[k(1551)](q,u),D+=x)}else{if(x)for(z=0;z<x[k(607)];z++)D=x[z],da.isVisible[k(1551)](this,D)&&(y=D);this[k(850)]?r=this.results:r=this[k(1259)];(z=this[k(829)].pagination)?(C=z*this[k(894)],w=C+z,w>r[k(607)]&&(w=r[k(607)])):(C=0,w=r[k(607)]);for(z=
C;z<w;z++)this[k(850)]?u=r[z]:u=z,q[k(1117)](u)}this.merged&&this[k(1451)].rows[k(607)]&&((r=Aa[k(1701)][k(1551)](this,q,1))&&(q=r),q[k(1530)](function(B,F){return B-F}));(m||!I.compareArray(q,this[k(924)]))&&(g[k(1551)](this,q,m),this[k(1795)]=null);this[k(1643)]=null===y?0:q.indexOf(y)+1;v&&!0!==this.parent[k(787)][k(1297)]&&(k(1220),m=h[k(1311)].call(this,q[this[k(1643)]])-A,0<m&&(m=0),this.table[k(622)][k(1223)]=m+"px",this[k(1686)][k(1397)].firstChild[k(622)][k(781)]=k(653),setTimeout(()=>{this[k(1686)][k(1397)][k(874)][k(622)][k(781)]=
""},0))},h={};return h[a(587)]=function(){let m=this;this[a(774)]=W(a(1192),k=>{k[a(921)]="jss_scroll";m.content.insertBefore(k,m[a(886)].firstChild)});this[a(886)].addEventListener(a(774),function(){!h[a(1400)]&&(h[a(1096)][a(1551)](m),R[a(1172)][a(1551)](m))},{passive:!0});this[a(886)][a(571)](a(860),function(k){var q=!1;"undefined"!==typeof k[a(836)]?q=0===k[a(836)]%120:typeof k[a(1382)]!==a(676)&&(q=0===k.detail%3);if(q&&S[a(1079)][a(1551)](m)&&!m.options[a(1695)]){q=Math.abs(k[a(1632)]);let r=
Math[a(912)](k[a(1621)]);k[a(556)]||q>r?0>k[a(1632)]||0>k[a(1621)]?h[a(1237)][a(1551)](m):h[a(1773)][a(1551)](m):0>k[a(1621)]?h.up[a(1551)](m):h[a(1133)].call(m)}},{passive:!0})},h[a(1634)]=function(){let m=this[a(774)][a(622)];if(S[a(1079)][a(1551)](this)){let k=this[a(1467)][a(787)][a(1556)]||1,q=ua[a(554)][a(1551)](this),r=ya[a(1575)][a(1551)](this);this.width=h[a(1213)].call(this)+q+3;this[a(1311)]=h.height.call(this)+r+3;m[a(1213)]=this[a(1213)]+k+"px";m.height=this[a(1311)]+k+"px"}else m[a(1213)]=
"",m.height=""},h[a(1096)]=function(m){n[a(1551)](this,m);l.call(this,m)},h[a(1172)]=function(){O()&&(h.calculate[a(1551)](this),h[a(1096)][a(1551)](this,!0))},h["goto"]=function(m,k){if(null!=m){var q=this[a(829)][a(1146)];let r=0;q&&m<=q[q[a(607)]-1]||(r=h[a(1311)][a(1551)](this,m));this[a(886)][a(1321)]=r}"undefined"!==typeof k&&null!=k&&(m=this[a(829)][a(1248)],q=0,m&&k<=m[m[a(607)]-1]||(q=h.width.call(this,k)),this[a(886)][a(726)]=q)},h.up=function(m,k){if(this[a(1643)]){let q=this[a(829)].freezeRows[0];
if(k<=q)return}m?this[a(886)].scrollTop=0:this[a(1169)][a(1679)][this.firstRow+1]&&(m=this[a(1169)][a(1679)][this[a(1643)]+1][a(724)](a(1298)),m=t[a(1551)](this,m),k=da.height[a(1551)](this,m),m=this[a(1169)][a(1679)][this[a(1643)]][a(724)](a(1298)),!da[a(1754)][a(1551)](this,m)&&(k+=this[a(886)][a(1321)]-this[a(734)][a(770)]),this[a(886)][a(1321)]-=k)},h[a(1133)]=function(m,k){if(this[a(1643)]){let q=this[a(829)].freezeRows[0];if(k<=q)return}m?this[a(886)][a(1321)]=this[a(886)][a(1404)]:(m=this[a(1169)].children[0+
this.firstRow])&&(this[a(886)][a(1321)]+=m[a(674)])},h.left=function(m,k){if(this[a(566)]){let q=this[a(829)].freezeColumns[0];if(k<=q)return}if(m)this.content[a(726)]=0;else if(m=this[a(1221)].children[1+this[a(566)]])m=m[a(724)](a(961)),m=p[a(1551)](this,m),k=Y[a(1213)].call(this,m),!Y[a(1754)].call(this,m)&&(k+=this.content[a(726)]-this[a(734)][a(1452)]),this[a(886)][a(726)]-=k},h[a(1773)]=function(m,k){if(this[a(566)]){let q=this[a(829)][a(1248)][0];if(k<=q)return}m?this[a(886)][a(726)]=this[a(886)].scrollWidth:
(m=this[a(1221)].children[1+this.firstCol])&&(this[a(886)][a(726)]+=m[a(895)])},h.pageUp=function(){this.content[a(1321)]-=f[a(1551)](this)},h[a(1396)]=function(){this[a(886)][a(1321)]+=f.call(this)},h[a(761)]=function(){this[a(886)][a(726)]-=d[a(1551)](this)},h[a(1003)]=function(){this[a(886)][a(726)]+=d[a(1551)](this)},h[a(1213)]=function(m,k,q){var r=0;!q&&(r=ua.firstColumn[a(1551)](this));q=0;let u=this[a(1113)][a(607)];for(;r<u;r++){if(m===r)return q;Y[a(1627)].call(this,r)&&(q+=Y[a(1213)][a(1551)](this,
r));if(q>=k)return r}return k?r:q},h[a(1311)]=function(m,k,q){var r=0;!q&&(r=ya.firstRow[a(1551)](this));q=0;let u=this[a(1259)];this[a(850)]&&(u=this[a(850)]);let w,A=u[a(607)];for(;r<A;r++){w=r;this[a(850)]&&(w=u[r]);if(m===w)return q;da[a(1627)][a(1551)](this,w)&&(q+=da[a(1311)].call(this,w));if(q>=k)return w}return k?w:q},h.adjust=function(m,k,q){var r=this[a(1646)][k][m];if(r&&r.element){var u=r[a(1411)];if(!r[a(1451)])if(r=0,0===q||2===q){k=this[a(886)][a(726)];var w=Fa[a(1501)][a(1551)](this)?
H.indexColumnWidth:0,A=this.options[a(1248)],z;A?(r=ua.getWidth[a(1551)](this,!0),z=A[A[a(607)]-1]):z=0;r=k+r;A=k+this[a(886)].offsetWidth-w;w=this[a(734)].offsetLeft+u.offsetLeft-w;var x=u.offsetWidth;if(0===q){if(w+x<A&&m>z&&w<r)if(u.offsetHeight)u=k+(w-r),h[a(1761)].call(this,u);else h[a(1628)][a(1551)](this,null,m)}else if(m>z)if(w>r)w+x>A&&(q=k+(w+x-A+16),u[a(527)]?h[a(1761)][a(1551)](this,q):h["goto"][a(1551)](this,null,m));else h[a(1628)][a(1551)](this,null,m)}else if(m=this[a(886)].scrollTop,
(z=this[a(829)][a(1146)])?(r=ya.getHeight[a(1551)](this,!0),w=z[z[a(607)]-1]):w=0,z=m+r,r=m+this[a(886)][a(674)]-this[a(1686)][a(674)]-16,A=this.table[a(770)]+u[a(770)]-this[a(1686)].offsetHeight,x=u[a(674)],1===q){if(A+x<r&&k>w&&A<z)if(u[a(674)])u=m+(A-z),h.setY[a(1551)](this,u);else h[a(1628)][a(1551)](this,k)}else if(k>w)if(A>z){if(A+x>r)if(u[a(527)])u=m+(A+x-r),h[a(1232)].call(this,u);else h[a(1628)][a(1551)](this,k)}else h[a(1628)][a(1551)](this,k,null)}else 0===q||2===q?h[a(1628)].call(this,
null,m):h["goto"][a(1551)](this,k)},h[a(1761)]=function(m){h.ignore=!0;this[a(886)].scrollLeft=m;h[a(1400)]=!1},h[a(1232)]=function(m){h[a(1400)]=!0;this[a(886)][a(1321)]=m;h.ignore=!1},h.limited=function(){return!0===this.options[a(1516)]||!0===this[a(1467)][a(787)][a(1379)]},h}(),qb=function(){const t=function(p){const f=a0_0x458e;p[f(1035)]=t[f(1187)]};return t[a(1187)]=function(p,f){this.options[a(1516)]=!0;p=parseInt(p);f=parseInt(f);150<p&&(this[a(829)].tableWidth=p);150<f&&(this.options[a(1199)]=
f);this.content&&(t[a(1087)][a(1551)](this,this.content),S.refresh[a(1551)](this),Ca[a(1096)].call(this[a(1467)],this));K[a(1551)](this.parent,"onresize",p,f)},t[a(1652)]=function(p){if(!aa[a(1551)](this[a(1467)],this))return!1;t.e=p;p[a(1734)]=t},t.end=function(){t.e=null},t[a(1096)]=function(){let p=this[a(886)][a(895)],f=this.content.offsetHeight;t.e.width===p&&t.e.height===f||t[a(1187)][a(1551)](this,p,f)},t.updateDOM=function(p){p.classList[a(911)](a(1119));let f=this.options[a(710)];f&&(p[a(622)][a(1213)]=
parseInt(f)+"px");this[a(829)][a(1695)]?p[a(1650)][a(911)](a(1509)):(f=this[a(829)].tableHeight,f&&(p[a(622)][a(1311)]=parseInt(f)+"px"))},t}(),cb=function(){const t=function(c,b,e,g){const l=a0_0x458e;1===c||3===c?!da[l(1754)][l(1551)](this,e)&&(0<this.options[l(1695)]?this[l(830)](this.whichPage(e)):1===c?S.up[l(1551)](this,g,e):S[l(1133)][l(1551)](this,g,e)):!N[l(1754)][l(1551)](this,b,e)&&(0===c?S[l(1237)][l(1551)](this,g,b):S[l(1773)][l(1551)](this,g,b))},p=[a(466),"Up",a(1448),a(1331)],f=function(c,
b,e,g){let l=this.selectedCell;ia[a(1116)]()&&(l=ia.getRangeFromNode(c));if(l){var n,h;b?(n=parseInt(l[2]),h=parseInt(l[3])):(n=parseInt(l[0]),h=parseInt(l[1]));g=d[p[c]][a(1551)](this,n,h,e,g);if(g!==(1===c||3===c?h:n)){1===c||3===c?h=g:n=g;let m,k,q,r;b?(m=l[0],k=l[1],q=n,r=h):(m=n,k=h,q=m,r=k);t[a(1551)](this,c,q,r,e);S[a(546)][a(1551)](this,q,r,c);X[a(1187)].call(this,m,k,q,r)}}},d=function(c){c[a(1237)]=f[a(819)](c,0);c.up=f.bind(c,1);c[a(1773)]=f[a(819)](c,2);c[a(1133)]=f.bind(c,3);c[a(507)]=
d[a(507)];c[a(790)]=d.first};return d[a(790)]=function(c,b){Array[a(601)](this[a(771)])&&(b?f[a(1551)](this,1,c,!0,!0):f[a(1551)](this,0,c,!0,!0))},d.last=function(c,b){Array.isArray(this[a(771)])&&(b?f[a(1551)](this,3,c,!0,!0):f[a(1551)](this,2,c,!0,!0))},d[a(1501)]=function(c,b){return!xa(ba[a(1551)](this,c,b))},d.Up=function(c,b,e,g){let l,n=b,h,m=null;if(this[a(850)]&&(b=this[a(850)].indexOf(b),-1===b))return n;for(;0<b;)if(b--,l=this[a(850)]?this[a(850)][b]:b,da[a(1627)][a(1551)](this,l)){let k=
this[a(1646)][l][c];h=d[a(1501)][a(1551)](this,c,l);null===m&&(m=h);if(k&&k[a(1411)]&&k.element[a(1650)].contains(a(722))){if(k[a(1451)]){n=k[a(1451)][0].y;if(!e)break;h=!0}}else if(e&&h!==m&&!g)break;else if(e)n=l;else return l;m=h}return n},d[a(1331)]=function(c,b,e,g){let l,n=b,h,m=null,k=this.rows.length-1;if(this.results){b=this[a(850)].indexOf(b);if(-1===b)return n;k=this[a(850)][a(607)]-1}for(;b<k;)if(b++,l=this[a(850)]?this[a(850)][b]:b,da[a(1627)][a(1551)](this,l)){let q=this[a(1646)][l][c];
h=d[a(1501)][a(1551)](this,c,l);null===m&&(m=h);if(q&&q[a(1411)]&&q[a(1411)].classList.contains(a(722))){if(q[a(1451)]){if(q.y===q[a(1451)][0].y&&(n=l,!e))break;h=!0}}else if(e&&h!==m&&!g)break;else if(e)n=l;else return l;m=h}return n},d[a(1448)]=function(c,b,e,g){let l=this[a(1113)][a(607)]-1,n=c,h,m=null;for(;c<l;)if(c++,Y[a(1627)][a(1551)](this,c)){let k=this[a(1646)][b][c];h=d.state.call(this,c,b);null===m&&(m=h);if(k&&k.element&&k[a(1411)][a(1650)][a(1698)]("jss_hidden")){if(k[a(1451)]){if(k.x===
k[a(1451)][0].x&&(n=c,!e))break;h=!0}}else if(e&&h!==m&&!g)break;else if(e)n=c;else return c;m=h}return n},d.Left=function(c,b,e,g){let l=c,n,h=null;for(;0<c;)if(c--,Y[a(1627)][a(1551)](this,c)){let m=this.records[b][c];n=d[a(1501)][a(1551)](this,c,b);null===h&&(h=n);if(m&&m.element&&m.element.classList[a(1698)](a(722))){if(m.merged){l=m[a(1451)][0].x;if(!e)break;n=!0}}else if(e&&n!==h&&!g)break;else if(e)l=c;else return c;h=n}return l},d}(),Nb=function(){const t=function(p){const f=a0_0x458e;p[f(450)]=
function(d){Ma[f(1551)](this[f(1467)],d)};p[f(962)]=function(){return aa[f(1551)](p[f(1467)],p)};p.persistence=T;p[f(481)]=T[f(481)];p[f(669)]=I;p[f(1777)]=H[f(1758)][f(1777)];p.redo=H[f(1758)][f(1267)];p[f(1628)]=S[f(1628)];p[f(903)]=function(){H[f(903)]&&H.print(p)};p.pageUp=function(){0<this[f(829)][f(1695)]?Za.pageUp[f(1551)](this):S[f(1594)][f(1551)](this)};p[f(1396)]=function(){0<this[f(829)][f(1695)]?Za[f(1396)][f(1551)](this):S[f(1396)].call(this)};p[f(530)]=t.rotate};return t[a(530)]=function(p,
f){let d,c,b=null,e=[];if(typeof p===a(578))c=I.getCoordsFromCellName(p),e[a(1117)]({x:c[0],y:c[1],value:{rotate:f}});else if(Array[a(601)](p))for(d=0;d<p.length;d++)c=I.getCoordsFromCellName(p[d]),e.push({x:c[0],y:c[1],value:{rotate:f}});for(d=0;d<e[a(607)];d++)(c=N[a(1785)].call(this,e[d].x,e[d].y))&&c[a(1411)]&&(b=c.element.firstChild,f?(!(b&&b.classList&&b.classList.contains(a(1491)))&&(b=document[a(1217)](a(514)),b[a(1650)][a(911)](a(1491)),b[a(814)]=c[a(1411)][a(814)],c.element[a(814)]="",c[a(1411)][a(1626)](b)),
b.style[a(983)]=a(1640)+parseInt(f)-270+"deg)"):b&&b[a(1650)]&&b[a(1650)].contains(a(1491))&&(b[a(1650)][a(848)](a(1491)),b.style.transform=""));this[a(1093)](e);R[a(1172)].call(this)},t}(),rb=function(){const t=function(p){const f=a0_0x458e;p[f(1423)]=t[f(499)];p[f(1233)]=t[f(1187)]};return t.remote=function(p,f){const d=a0_0x458e;let c=[];p[d(1544)]&&typeof H[d(1271)]==d(972)&&c[d(1117)](new Promise(function(e,g){H[d(1271)][d(1614)](p,function(l){l[d(636)]?g(l):(Object[d(719)](p,l),e())})}));let b=
p.worksheets;if(b&&b[d(607)]){let e={headers:{"Content-Type":d(1801)}};for(let g=0;g<b.length;g++)if(b[g]){if(b[g][d(934)])c[d(1117)](fetch(b[g].csv)[d(1015)](l=>l[d(649)]()).then(l=>{var n=b[g];const h=a0_0x458e;var m=n[h(1733)]||",";l=I[h(658)](l,m);if(l[h(607)]){if(!0===n.csvHeaders){!n[h(1296)]&&(n[h(1296)]=[]);m=l.shift();for(let k=0;k<m.length;k++)!n[h(1296)][k]&&(n[h(1296)][k]={}),typeof n[h(1296)][k][h(628)]===h(676)&&(n.columns[k].title=m[k])}n[h(1203)]=l}}));else b[g][d(1620)]&&c[d(1117)](fetch(b[g][d(1620)],
e).then(l=>l[d(1612)]()).then(l=>b[g].data=l));if(b[g].columns)for(let l=0;l<b[g][d(1296)][d(607)];l++)b[g][d(1296)][l]&&b[g][d(1296)][l].url&&c[d(1117)](fetch(b[g][d(1296)][l][d(1620)],e)[d(1015)](n=>n[d(1612)]()).then(n=>b[g].columns[l][d(1537)]=n))}}c[d(607)]?Promise[d(1700)](c)[d(1015)](f)[d(1426)](e=>{typeof p[d(520)]===d(972)?p[d(520)](null,e):console[d(636)](e)}):f()},t.get=function(p){const f=a0_0x458e;let d=null,c;"object"===typeof this[f(787)]?(d=this[f(787)],c=this):!0===p?(d=this[f(1467)][f(787)],
c=this.parent):d=this[f(829)];if(c)for(d.worksheets=[],p=0;p<c.worksheets[f(607)];p++)d[f(1324)][f(1117)](c[f(1324)][p][f(829)]);return d},t[a(1187)]=function(p,f){typeof p==a(578)&&(p=JSON[a(866)](p));let d;this[a(1467)]?d=this:(d=this[a(1324)][0],f=!0);if(f){var c=d[a(1467)],b=Object[a(1490)](p);for(let e=0;e<b[a(607)];e++)d[a(1467)][a(787)][b[e]]=p[b[e]];!0===p.toolbar?Ca[a(1319)].call(c):!1===p[a(1750)]&&Ca[a(742)][a(1551)](c)}else{typeof p[a(998)]!==a(676)&&oa[a(742)][a(1551)](this);c=Object.keys(p);
for(b=0;b<c[a(607)];b++)this[a(829)][c[b]]=p[c[b]];if(O()){typeof p.resize!==a(676)&&(this.content[a(622)][a(1228)]=p[a(1228)]);p[a(998)]&&oa[a(1319)].call(this,p[a(998)]);if(!0===p[a(1572)])Ha.show[a(1551)](this);else!1===p[a(1572)]&&Ha[a(742)].call(this);p[a(1245)]&&p[a(1245)][0]&&(c=parseInt(p[a(1245)][0])-this.cols[a(607)],0<c&&this[a(504)](c),c=parseInt(p[a(1245)][1])-this[a(1259)][a(607)],0<c&&this[a(1554)](c))}}p=JSON[a(1776)](p);K[a(1551)](d[a(1467)],a(1527),p,f);T[a(1551)](d,a(1233),[p,f])},
t}(),Q=function(){const t=function(d){const c=a0_0x458e;let b=d[c(568)],e;if(d[c(589)]===c(1554))b[c(1429)](d[c(1170)]);else if("deleteRow"===d[c(589)])b[c(1554)](d[c(1170)]),N.setAttributes.call(b,d.attributes);else if(d[c(589)]===c(504))b[c(661)](d[c(1170)]);else if("deleteColumn"===d[c(589)])b[c(504)](d[c(1170)]),N[c(512)].call(b,d[c(1697)]);else if("moveRow"===d[c(589)])b[c(451)](d.newValue,d[c(470)],d[c(1468)]);else if("moveColumn"===d[c(589)])b[c(1327)](d[c(744)],d[c(470)],d.numOfItems),N.setAttributes.call(b,
d[c(1697)]);else if("hideRow"===d[c(589)])b[c(1156)](d[c(1646)]);else if("showRow"===d[c(589)])b[c(1085)](d[c(1646)]);else if("hideColumn"===d[c(589)])b[c(1517)](d[c(1646)]);else if(d[c(589)]===c(1517))b[c(1713)](d[c(1646)]);else if("setMerge"===d[c(589)])b.removeMerge(d[c(744)],!0),b[c(1685)](d[c(470)]);else if(d[c(589)]===c(1050))b.setMerge(d[c(470)]);else if("setStyle"===d[c(589)])b[c(1194)](d[c(470)],null,null,1);else if(d[c(589)]===c(1167))b[c(1194)](d[c(470)]);else if(d.action===c(870))b.setWidth(d[c(747)],
d[c(470)]);else if("setHeight"===d[c(589)])b[c(1081)](d[c(702)],d.oldValue);else if(d[c(589)]===c(879))b[c(879)](d[c(747)],d[c(470)]);else if(d[c(589)]===c(1624)||d[c(589)]===c(818)||d[c(589)]===c(1557))b[d[c(589)]](d[c(470)]);else if("orderBy"===d[c(589)])b[c(1222)](d[c(747)],d[c(1617)]?0:1,d[c(470)],d[c(1253)]);else if(d[c(589)]===c(1485)||"setProperty"===d[c(589)]||"updateProperty"===d[c(589)]){e=[];for(var g=0;g<d[c(1646)][c(607)];g++){let l={x:d.records[g].x,value:d[c(1646)][g][c(470)],force:!0};
"undefined"!==typeof d[c(1646)][g].y&&(l.y=d[c(1646)][g].y);typeof d.records[g][c(687)]!==c(676)&&(l.style=d.records[g].oldStyle);e[c(1117)](l)}d[c(589)]===c(1485)?b.setValue(e):b[c(1097)](e)}else if(d[c(589)]===c(889))b[c(1424)](d[c(1110)]);else if(d.action===c(1424))b[c(889)](d.options,d.index);else if(d[c(589)]===c(1355))b[c(1355)](d[c(1110)],d[c(470)]);else if(d[c(589)]===c(1009))b.moveWorksheet(d.t,d.f);else if(d[c(589)]===c(1031)||d.action===c(1288)){e=[];for(g=0;g<d.records.length;g++)e[c(1117)]({index:d[c(1646)][g][c(1110)],
value:d.records[g][c(470)]});b[d.action](e)}else if(d[c(589)]===c(1189))b.setRowGroup(d[c(702)],d[c(470)],d.oldState);else if(d[c(589)]===c(1083))b[c(1299)](d[c(702)]);else if(d[c(589)]===c(1299))b.openRowGroup(d.row);else if(d[c(589)]===c(1791))b[c(1367)](d[c(747)],d[c(470)],d.oldState);else if(d[c(589)]===c(1214))b[c(980)](d.column);else if(d[c(589)]===c(980))b[c(1214)](d[c(747)]);else if("setNestedCell"===d[c(589)])b.setNestedCell(d[c(470)]);else if(d[c(589)]===c(1741))b[c(1741)](d[c(470)]);else d[c(589)]===
c(1314)&&b[c(1314)](d[c(1110)],!d.state);K[c(1551)](b[c(1467)],c(715),b,d)},p=function(d){const c=a0_0x458e;let b=d.worksheet;if("insertRow"===d[c(589)])b[c(1554)](d[c(1259)]);else if(d.action===c(1429))b[c(1429)](d[c(1259)]);else if(d[c(589)]===c(504))b[c(504)](d[c(1296)]);else if(d[c(589)]===c(661))b[c(661)](d[c(1296)]);else if("moveRow"===d[c(589)])b[c(451)](d[c(470)],d[c(744)],d.numOfItems);else if(d.action===c(1327))b.moveColumn(d[c(470)],d.newValue,d[c(1468)]);else if("setMerge"===d[c(589)])b[c(1685)](d.newValue);
else if(d.action===c(1050))b.removeMerge(d[c(744)]);else if(d[c(589)]===c(1194))b[c(1194)](d.newValue);else if(d.action===c(1167))b[c(1167)](d[c(1163)]);else if(d[c(589)]===c(870))b[c(870)](d[c(747)],d[c(744)]);else if("setHeight"===d[c(589)])b.setHeight(d[c(702)],d[c(744)]);else if(d.action===c(879))b[c(879)](d.column,d[c(744)]);else if("setComments"===d[c(589)]||d[c(589)]===c(818)||d[c(589)]===c(1557))b[d[c(589)]](d[c(744)]);else if(d.action===c(1222))b[c(1222)](d[c(747)],d[c(1617)],d[c(744)]);
else if(d.action===c(1485)||"setProperty"===d[c(589)]||d[c(589)]===c(1093)||"hideRow"===d.action||"showRow"===d[c(589)]||"hideColumn"===d[c(589)]||d[c(589)]===c(1517)||d[c(589)]===c(1031)||d[c(589)]===c(1288))b[d.action](d[c(1646)]);else if(d[c(589)]===c(889))b.createWorksheet(d[c(829)],d.index);else if("deleteWorksheet"===d[c(589)])b.deleteWorksheet(d[c(1110)]);else if(d[c(589)]===c(1355))b.renameWorksheet(d[c(1110)],d.newValue);else if(d[c(589)]===c(1009))b[c(1009)](d.f,d.t);else if(d.action===
c(1189))b[c(1189)](d[c(702)],d[c(1468)]);else if(d.action===c(947))b.resetRowGroup(d[c(702)]);else if(d[c(589)]===c(1083))b[c(1083)](d[c(702)]);else if("closeRowGroup"===d[c(589)])b[c(1299)](d[c(702)]);else if(d[c(589)]===c(1791))b[c(1791)](d[c(747)],d[c(1468)]);else if(d[c(589)]===c(1367))b[c(1367)](d[c(747)]);else if(d[c(589)]===c(1214))b[c(1214)](d.column);else if(d[c(589)]===c(980))b.closeColumnGroup(d.column);else if("setNestedCell"===d[c(589)])b[c(1186)](d[c(1672)]);else if(d[c(589)]===c(1741))b[c(1741)](d[c(1672)]);
else d[c(589)]===c(1314)&&b[c(1314)](d[c(1110)],d.state);K[c(1551)](b.parent,"onredo",b,d)},f=function(d){const c=a0_0x458e;if(!0!==f.ignore)if(f[c(1637)])!f.actions[f[c(1110)]][c(1637)]&&(f[c(690)][f[c(1110)]].cascade=[]),f.actions[f.index][c(1637)][c(1117)](d);else{let b=++f[c(1110)];f[c(690)]=f.actions=f[c(690)][c(1755)](0,b+1);f[c(690)][b]=d}};return f[a(1110)]=-1,f[a(690)]=[],f.cascade=!1,f[a(1400)]=!1,f[a(1571)]=null,f[a(1777)]=function(){if(0<=f[a(1110)]){let d=f[a(690)][f[a(1110)]--];if(d){f[a(1400)]=
!0;f[a(1571)]=a(1777);let c=d[a(568)];c!==H[a(1523)]&&c[a(1630)]();t(d);if(d[a(1637)]&&d[a(1637)][a(607)])for(let b=0;b<d[a(1637)].length;b++)t(d[a(1637)][b]);d[a(791)]?X[a(1187)][a(1551)](c,...d[a(791)]):Ca[a(1096)].call(c.parent,c);f.ignore=!1;f.progress=null}}},f[a(1267)]=function(){if(f.index<f[a(690)][a(607)]-1){let d=f.actions[++f[a(1110)]];if(d){f[a(1400)]=!0;f[a(1571)]=a(1267);let c=d.worksheet;c!==H[a(1523)]&&c[a(1630)]();p(d);if(d.cascade&&d[a(1637)][a(607)])for(let b=0;b<d[a(1637)][a(607)];b++)p(d[a(1637)][b]);
d[a(791)]?X[a(1187)].call(c,...d[a(791)]):Ca[a(1096)].call(c[a(1467)],c);f[a(1400)]=!1;f[a(1571)]=null}}},f[a(1775)]=function(){f.index=-1;f[a(690)]=[]},f}(),Ma=function(){const t=function(p){const f=a0_0x458e;let d,c,b,e,g=null;if(Array.isArray(p))g=p;else if(typeof p==f(1581)){g=[];e=Object[f(1490)](p);for(let l=0;l<e[f(607)];l++)g[f(1117)]({name:e[l],plugin:p[e[l]],options:{}})}if(g&&g.length)for(p=0;p<g[f(607)];p++)g[p][f(1422)]&&g[p][f(1289)]&&(d=g[p][f(1422)],c=g[p][f(1289)],b=g[p][f(829)]),
typeof c===f(972)&&(!this[f(769)]&&(this[f(769)]={}),this[f(769)][d]=c.call(H,this,b,this[f(787)]),"function"==typeof c.license&&H[f(515)]&&c[f(515)](H[f(515)]))};t[a(1263)]=function(p,f){if(this.plugins){let d=Object.keys(this.plugins);if(d[a(607)])for(let c=0;c<d[a(607)];c++)if(typeof this[a(769)][d[c]][p]===a(972)){let b=this[a(769)][d[c]][p][a(1281)](this[a(769)][d[c]],f);b&&("contextMenu"===p?f[4]=b:p===a(1750)&&(f[0]=b))}}return f};t.build=function(){this.setPlugins=t;this[a(787)][a(769)]&&
t[a(1551)](this,this[a(787)][a(769)])};return t[a(1780)]=function(p){return function(){const f=a0_0x458e;let d,c,b,e,g=this[f(769)];if(g&&(b=Object[f(1490)](g),b[f(607)]))for(e=0;e<b.length;e++)typeof g[b[e]][p]==f(972)&&(c=g[b[e]][p].apply(g[b[e]],arguments),"undefined"!==typeof c&&(d=c));return d}}("onevent"),t}(),pa=function(){const t=function(){const f=a0_0x458e;if(!this.edition)return!1;let d=this[f(1113)],c=this.parent.input;if(this[f(1467)].input[f(1740)]!==f(1030)){let e=c.x,g=c.y,l=0;do{var b=
this[f(1646)][g][e];if(b&&b.merged){b=b[f(1451)][0][f(1696)][0];for(let n=0;n<b;n++)l+=jb[f(499)][f(1551)](this,e),e++}else l+=jb[f(499)][f(1551)](this,e),e++;c.style.minWidth=l-1+"px"}while(d[e]&&c[f(895)]>=l)}},p=function(f){const d=a0_0x458e;f[d(479)]=p[d(499)];f[d(1547)]=p[d(540)];f[d(969)]=p[d(1458)]};return p.get=function(f,d){const c=a0_0x458e;let b;f=db[c(499)].call(this,f,d);return f&&(f[c(1014)]&&"object"==typeof f.type?b=f.type:b=H.editors[f[c(1014)]]),typeof b===c(676)&&(b=H[c(1363)][c(649)]),
[b,f]},p[a(540)]=function(f,d,c){if(!aa.call(this[a(1467)],this)||!f)return!1;let b=parseInt(f[a(724)](a(961))),e=parseInt(f[a(724)](a(1298)));if(Ya.is[a(1551)](this,b,e))c&&(c[a(605)](),c[a(1052)](),c[a(1788)]());else{let n=N[a(1785)].call(this,b,e);n[a(1451)]&&(f=n[a(1451)][0][a(1411)]);if(N.attached[a(1551)](this,b,e))S[a(546)][a(1551)](this,b,e,3),S.adjust[a(1551)](this,b,e,2),S.adjust[a(1551)](this,b,e,1),S.adjust[a(1551)](this,b,e,0);else{if(this[a(850)]&&0<this.results[a(607)])return U[a(1118)][a(1551)](this[a(1467)],
"Cursor not in the viewport"),!1;var g,l;!Y[a(1754)].call(this,b)&&(g=b);!da[a(1754)].call(this,e)&&(l=e);S[a(1628)][a(1551)](this,l,g)}R[a(1775)][a(1551)](this,a(855),!0);p[a(1028)][a(1551)](this,b,e);g=this[a(1467)].input;c&&(113===c.keyCode||"keydown"!==c[a(1014)])&&(g[a(1145)]=!0);g[a(1326)]="";g.x=b;g.y=e;g.worksheet=this;if(!1===K[a(1551)](this[a(1467)],a(1129),this,f,b,e))return!1;d=!0===d?"":ba[a(1551)](this,b,e);l=p.get[a(1551)](this,b,e);let h=!0;typeof l[0][a(1547)]==a(972)&&(!1===l[0][a(1547)](f,
d,b,e,this,l[1],c)?h=!1:K[a(1551)](this.parent,a(929),this,f,b,e,g,l[1]));h&&(!1!==this.options.textOverflow&&(n.element[a(622)][a(1505)]="hidden",c=this[a(1646)][e][b-1],0<b&&c&&c[a(1411)]&&(c[a(1411)][a(622)].overflow="hidden")),this[a(949)]=f,g[a(1650)][a(911)](a(892)),!1!==this[a(1467)][a(787)][a(1285)]&&ha(d,!0)&&ia.start.call(this,g),t[a(1551)](this))}},p[a(1458)]=function(f,d){null===f&&(f=this.edition);let c=parseInt(f.getAttribute("data-x")),b=parseInt(f[a(724)](a(1298)));var e=N[a(1785)][a(1551)](this,
c,b);!1!==this.options.textOverflow&&e&&e[a(1411)]&&(e[a(1411)][a(622)][a(1505)]="",0<c&&(e=N[a(1785)].call(this,c-1,b),e[a(1411)]&&(e[a(1411)][a(622)][a(1505)]="")));var g=p[a(499)][a(1551)](this,c,b);e=null;this[a(949)]=null;!0===d?(typeof g[0][a(969)]==a(972)&&(g=g[0][a(969)](f,!0,c,b,this,g[1]),"undefined"!==typeof g&&(e=g)),null!==e&&ba[a(1551)](this,c,b)!=e?ma[a(1187)][a(1551)](this,f,e):R.refresh[a(1551)](this)):(g[0][a(969)](f,!1,c,b,this,g[1]),R.refresh[a(1551)](this));pa[a(1775)][a(1551)](this,
this[a(1467)][a(580)]);K[a(1551)](this[a(1467)],"oneditionend",this,f,c,b,e,d)},p[a(1028)]=function(f,d){var c=this[a(1646)][d][f];if(c&&c.element){var b=c[a(1411)];c=this[a(1467)].element[a(964)]();b=b[a(964)]();let e=this[a(1467)][a(580)];e.x=f;e.y=d;0===b[a(1213)]||0===b[a(1311)]?e[a(622)][a(1236)]="0":(f=b.y-c.y+1,d=b.x-c.x+1,d-b.width>c[a(1213)]&&(d=c[a(1213)]-b[a(1213)]),f-b.height>c[a(1311)]&&(f-=b[a(1311)]),e[a(622)][a(781)]="",e[a(622)][a(1236)]="",e[a(622)][a(1223)]=f+"px",e[a(622)][a(1237)]=
d+"px",e[a(622)][a(1350)]=b.width-1+"px",e[a(622)].minHeight=b[a(1311)]-1+"px",!ia[a(613)](!0)&&setTimeout(()=>{e[a(1037)]({preventScroll:!0})},0))}},p[a(1775)]=function(f){f[a(1650)][a(1698)](a(1410))&&ia[a(1481)]();f[a(921)]=a(1380);f[a(1751)]("contentEditable",!0);f[a(1326)]="";f[a(1145)]=!1;f[a(568)]=!1;f[a(1290)]&&(f[a(1290)]=null);f[a(1679)][0]&&f[a(1679)][0].onblur&&(f[a(1679)][0].onblur=null);f.update&&(f.update=null);f[a(1243)](a(1719));f[a(1243)]("data-value");f[a(1243)]("inputmode");f.mask=
null},p[a(587)]=function(f){return f[a(580)]=W(a(1192),function(d){p[a(1775)](d);d[a(571)](a(580),function(c){H.current&&(ia[a(580)][a(1551)](H[a(1523)],c[a(723)]),t[a(1551)](H[a(1523)]),K.call(H.current[a(1467)],a(1291),H.current,c,c.target[a(1326)]))});d.addEventListener(a(1080),function(c){if(!1!==K[a(1551)](H.current[a(1467)],"onkeydown",H[a(1523)],c)&&H.current){var b=H.current[a(949)];if(b)if(ia[a(1080)](c),c[a(1181)]===a(760)){let e=b[a(724)](a(961)),g=b[a(724)](a(1298)),l=H[a(1523)].getOptions(e,
g);"dropdown"!==l.type&&l[a(1014)]!==a(833)&&"notes"!==l[a(1014)]&&(c.altKey?!this[a(1650)].contains("jss_nowrap")&&I.insertLineBreak():(H[a(1523)][a(969)](b,!0),sa(c)&&(b=H[a(1523)][a(1089)](e,g),H.current[a(1485)](H.current[a(1242)](),b)),(sa(c)||!1===H[a(1523)].parent.config[a(1126)])&&(c[a(605)](),c[a(1052)]())))}else if("Tab"===c.key)H[a(1523)][a(969)](b,!0);else 39!==c.which&&37!==c.which&&38!==c[a(1084)]&&40!==c[a(1084)]||this.selected||ia[a(1116)]()||H.current[a(969)](b,!0)}});d.onupdate=
function(c,b){K[a(1551)](H[a(1523)].parent,a(1291),H[a(1523)],b,c)};d.onclick=function(c){this[a(1145)]=!0;ia[a(1155)](c)}}),f[a(580)]},p}(),K=function(t){let p=this;typeof p[a(1467)]!==a(676)&&(p=p[a(1467)]);let f,d;return!p.ignoreEvents&&("function"==typeof p[a(787)][a(1780)]&&(f=p[a(787)][a(1780)][a(1281)](p,arguments),typeof f!==a(676)&&(d=f)),"function"==typeof p[a(787)][t]&&(f=p[a(787)][t].apply(p,Array[a(1012)].slice[a(1551)](arguments,1)),"undefined"!==typeof f&&(d=f)),f=Ma[a(1780)].apply(p,
arguments),typeof f!==a(676)&&(d=f)),d},Ia=function(){const t=function(p){const f=a0_0x458e;p[f(1180)]=0;p[f(623)]=t.next;p[f(1470)]=t[f(657)];p[f(1101)]=t.setId;p[f(1508)]=t[f(1508)]};return t[a(499)]=function(){return this.sequence},t[a(1187)]=function(p,f){(p>this[a(1180)]||f)&&(this[a(1180)]=p)},t.next=function(){return!0===this[a(829)][a(1180)]?++this[a(1180)]:null},t[a(1775)]=function(){this.sequence=0},t[a(657)]=function(p,f){if(this[a(1259)][p]&&this.rows[p].id)return this.rows[p].id;if(!1!==
f&&(f=this[a(1251)](),!1!==f))return ba[a(1551)](this,f,p)},t.setId=function(p,f){if(!aa.call(this[a(1467)],this))return!1;let d;"undefined"!==typeof f&&0<=parseInt(p)?(d={},d[p]=f):d=p;p=Object[a(1490)](d);if(p[a(607)]){for(f=0;f<p[a(607)];f++){let c=p[f];if(this[a(1259)][c]){let b=d[c];this[a(1259)][c].id=b;t.set[a(1551)](this,b)}}T[a(1551)](this,a(1101),[d]);K[a(1551)](this.parent,"onchangerowid",this,d)}},t[a(1508)]=function(p,f){for(let d=0;d<this[a(1259)].length;d++)if(t[a(657)][a(1551)](this,
d)==p)return!0===f?this[a(1259)][d]:this[a(829)].data[d];return!1},t.id=function(p){let f=parseInt(p.y),d;p.id?d=p.id:p[a(1672)]&&(d=p[a(1672)]);this[a(1259)][f].id=d;t[a(1187)][a(1551)](this,d)},t}(),T=function(){let t=!1,p=[],f=function(){const e=a0_0x458e;if(p[e(607)]&&!1===t){t=!0;let [g,l,n,h]=p.shift();fetch(g,l)[e(1015)](m=>m[e(1612)]()).then(function(m){n(m);t=!1;f()})[e(1426)](function(m){h(m);t=!1;f()})}};const d=function(e){const g=a0_0x458e;let l=[],n={};for(let m=0;m<e[g(607)];m++){var h=
e[m].x;let k=e[m].y,q=Ia.getId[g(1551)](this,k);!q&&(n[k]?q=n[k]:(q=Ia[g(1659)][g(1551)](this),q&&(n[k]=q)));!l[k]&&(l[k]={id:q,row:k,data:{}});h=Pa[g(1551)](this,h);l[k][g(1203)][h]=e[m][g(1672)]}return Ia[g(1479)][g(1551)](this,n),l[g(1046)](function(m){return null!=m})},c=function(e){const g=a0_0x458e;let l=e[0],n={};if(0<=[g(845),g(764),g(1101),g(951)][g(1803)](l))return!1;"setValue"===l||"setFormula"===l?(l="updateData",n[l]=d[g(1551)](this,e[1][g(1203)])):Array[g(601)](e[1])&&1===e[1].length?
n[l]=e[1][0]:n[l]=e[1];return n},b=function(){const e=a0_0x458e;Ma[e(1263)][e(1551)](this.parent,e(1164),[this,arguments[0],arguments[1]]);"function"===typeof this.parent[e(787)][e(1164)]&&this[e(1467)][e(787)][e(1164)](this,arguments[0],arguments[1]);let g=null;if(this[e(1467)][e(787)].server){let l=this.parent[e(1324)][e(1803)](this);g=this[e(1467)][e(787)].server;-1===g[e(1803)]("?")?g+=e(1047)+l:g+=e(923)+l}else this[e(829)][e(1164)]&&(g=typeof this[e(829)][e(1164)]==e(578)?this[e(829)].persistence:
this[e(829)].url);g&&b.save[e(1551)](this,g,arguments)};return b[a(481)]=function(e,g,l,n){let h=this[a(1467)],m=this;var k=c.call(this,g);if(k)g=k;else if(!1===k)return!1;if(k=K[a(1551)](h,a(1183),h,m,g))g=k;else if(!1===k)return!1;U[a(1571)].call(h,!0);let q=h[a(1411)];k=new FormData;k[a(756)]("data",JSON.stringify(g));k={method:a(1303),headers:{"X-Requested-With":a(996)},body:k};l&&(k[a(946)][a(1514)]=a(1477)+l);K.call(h,a(1636),m,k);p[a(1117)]([e,k,function(r){q[a(1650)].contains(a(945))&&q[a(1650)][a(848)]("disconnected");
r&&(r[a(745)]&&U.notification[a(1551)](h,r),r[a(1247)]?typeof n===a(972)?n(r):r[a(1203)]&&Array[a(601)](r[a(1203)])&&N[a(484)][a(1551)](m,r[a(1203)]):r[a(636)]&&(U[a(1118)][a(1551)](h,a(1412)),window[a(540)](window[a(505)].href,a(1091))));U[a(1571)][a(1551)](h,!1);K[a(1551)](h,"onsave",h,m,g,r)},function(r){q[a(1650)][a(911)](a(945));U.progress[a(1551)](h,!1);console[a(636)](r)}]);f()},b}(),X=function(){let t=[];const p=function(b,e,g,l){const n=a0_0x458e;let h;const m=[],k=[];g=t[n(1046)](q=>q[0]===
b?(q[1]===e?h=q:m[n(1117)](q),!1):q[1]===e?(k[n(1117)](q),!1):!0);if(!h||!m.every(q=>q[2]===h[2])||!k[n(1294)](q=>q[3]===h[3]))return!1;if((0===m.length||0===k[n(607)])&&0===g.length)return!0;for(l=0;l<m[n(607)];l++){const q=m[l];for(let r=0;r<k[n(607)];r++){const u=k[r],w=g[n(1732)](A=>A[0]===u[0]&&A[2]===u[2]&&A[1]===q[1]&&A[3]===q[3]);if(-1===w)return!1;g[n(1680)](w,1)}}return 0===g[n(607)]};let f=function(b,e){const g=a0_0x458e;b=(b=N[g(1785)].call(this,b,e))&&b[g(829)]&&!1===b[g(829)][g(627)]?
!1:!0;return!1===this[g(829)][g(1284)]&&!0===b||!1===this[g(829)].selectUnLockedCells&&!1===b?!0:!1};const d=function(b){const e=a0_0x458e;b[e(952)]=d[e(1775)];b[e(955)]=d[e(1187)];b[e(1586)]=d[e(1700)];b[e(897)]=d[e(897)];b[e(992)]=d[e(992)];b.getRange=d[e(728)];b[e(1402)]=I[e(1402)];b[e(1051)]=d[e(499)];b[e(1699)]=d.getSelectedColumns;b.getSelectedRows=d[e(1729)];b[e(1242)]=d.selected};d.get=function(b){let e=this[a0_0x458e(771)];if(e)return b?e:d.order(e)};d[a(992)]=function(){return t};d[a(1145)]=
function(b){let e=[],g=d[a(992)].call(this);if(g){let l=!!this[a(850)];return g[a(1532)](n=>{let [h,m,k,q]=n;for(n=m;n<=q;n++)if(!l||this[a(1259)][n][a(850)])for(let r=h;r<=k;r++)b?e[a(1117)](I[a(738)](r,n)):e.push({x:r,y:n})}),e}};d.isSelected=function(b,e,g){if(!g&&(g=d.get[a(1551)](this),!g||null===g[0]))return!1;let l=g[0],n=g[1],h=g[2];g=g[3];null===n&&null===g&&(e=null);!h&&(h=l);!g&&(g=n);return null==b?e>=n&&e<=g:null==e?b>=l&&b<=h:b>=l&&b<=h&&e>=n&&e<=g};d[a(1699)]=function(b){let e=[],g=
d[a(992)][a(1551)](this);return g&&g.forEach(l=>{for(let n=l[0];n<=l[2];n++)b&&!Y[a(1627)][a(1551)](this,n)||e[a(1117)](n)}),e};d[a(1729)]=function(b){let e=[],g=d[a(992)].call(this);if(g){let l=!!this[a(850)];g[a(1532)](n=>{for(let h=n[1];h<=n[3];h++)l&&!this.rows[h][a(850)]||b&&!da.isVisible[a(1551)](this,h)||e.push(h)})}return e};d[a(1775)]=function(){return this[a(771)]?(ia.hasEvent(!1)&&ia.end(),this[a(949)]&&pa[a(1458)][a(1551)](this,this[a(949)],!0),R.reset[a(1551)](this,a(1231),!0),R[a(1775)].call(this,
a(788),!0),R[a(1775)][a(1551)](this,"copying",!0),X[a(622)][a(1551)](this,!1),this[a(771)]=null,t=[],d.e=null,!0):!1};d[a(472)]=function(b,e,g,l){if(!this)return!1;Array[a(601)](b)&&(l=b[3],g=b[2],e=b[1],b=b[0]);let n=this[a(1113)][a(607)],h=this.rows[a(607)];return!(b>=n||e>=h||g>=n||l>=h)};d[a(1273)]=function(){let b=Math[a(1002)](...t[a(570)](n=>n[0])),e=Math.min(...t.map(n=>n[1])),g=Math.max(...t[a(570)](n=>n[2])),l=Math.max(...t[a(570)](n=>n[3]));return p(b,e,g,l)?[b,e,g,l]:!1};d[a(1187)]=function(b,
e,g,l,n,h,m){!h&&(h=a(1231));if(!0===this[a(829)][a(627)]){var k=f.call(this,b,e),q=f[a(1551)](this,g,l);if(k||q)return}k=this[a(1113)][a(607)];q=this.rows.length;null===e&&null===l&&(l=e=0,k&&(l=k-1));null===b&&null===g&&(g=b=0,q&&(g=q-1));null==g&&(g=b);null==l&&(l=e);"string"===typeof b&&(b=parseInt(b));"string"===typeof e&&(e=parseInt(e));"string"===typeof g&&(g=parseInt(g));typeof l===a(578)&&(l=parseInt(l));if(!d[a(472)][a(1551)](this,b,e,g,l))return!1;let [r,u,w,A]=d[a(990)]([b,e,g,l]);if(this[a(1451)]&&
(this[a(1451)][a(1113)]&&this.merged[a(1113)][a(607)]||this[a(1451)][a(1259)]&&this[a(1451)][a(1259)][a(607)]))for(let x=u;x<=A;x++)for(let v=r;v<=w;v++){var z=this[a(1646)][x];if(z&&z.length&&(z=z[v])&&(z=z[a(1451)])){z=z[0];let y=z[a(1696)][0],C=z.mergeCells[1];z.x<r&&(r=z.x);z.x+y-1>w&&(w=z.x+y-1);z.y<u&&(u=z.y);z.y+C-1>A&&(A=z.y+C-1)}}w>k&&(w=k-1);A>q&&(A=q-1);!d.e&&(d.e={});d.e[a(679)]=[b,e];ia[a(613)](!1)&&!ia.selection[a(1551)](this,b,e,g,l,n)&&(k=H[a(1523)],k[a(949)]&&pa.close[a(1551)](k,
k.edition,!0));if(!ia[a(613)](!1))if(h!==a(1231))R[a(1187)][a(1551)](this,r,u,w,A,h,m);else{H.current!==this&&this.openWorksheet();if(!1===K[a(1551)](this[a(1467)],a(534),this,r,u,w,A,n))return!1;X[a(622)][a(1551)](this,!1);this[a(771)]=[b,e,g,l];O()&&(l=a(1231),g=0,d.e[a(1110)]&&(g=d.e.index),0===g?1<t[a(607)]&&R[a(1775)][a(1551)](this,a(788),!0):(this.borders[a(1231)][a(1681)]&&(R[a(1775)][a(1551)](this,l,!0),l=t[0],R[a(1187)][a(1551)](this,l[0],l[1],l[2],l[3],"ctrl",0)),l=a(788)),t[a(607)]=g,t[g]=
[r,u,w,A],X[a(622)][a(1551)](this,!0),R.set[a(1551)](this,r,u,w,A,l,g),!1!==n&&(this[a(949)]&&pa[a(1458)][a(1551)](this,this[a(949)],!0),pa.position[a(1551)](this,b,e)),Ca[a(1096)].call(this.parent,this),setTimeout(()=>{Z[a(994)][a(1551)](this)},0));this.currentSelection=this[a(771)];K[a(1551)](this[a(1467)],a(1759),this,r,u,w,A,n)}};d[a(1700)]=function(){let b=this[a(1113)][a(607)]-1,e=this.rows[a(607)]-1;d[a(1187)][a(1551)](this,0,0,b,e)};d[a(728)]=functio