UNPKG

luckysheet

Version:

<div align="center">

1 lines 3.05 MB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).luckysheet=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,t,a){return e(a={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&a.path)}},a.exports),a.exports}var n=function(e){return e&&e.Math==Math&&e},l=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),o=function(e){try{return!!e()}catch(e){return!0}},s=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,h={f:d&&!u.call({1:2},1)?function(e){var t=d(this,e);return!!t&&t.enumerable}:u},m=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},p={}.toString,f=function(e){return p.call(e).slice(8,-1)},g="".split,v=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==f(e)?g.call(e,""):Object(e)}:Object,y=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},b=function(e){return v(y(e))},k=function(e){return"object"==typeof e?null!==e:"function"==typeof e},x=function(e,t){if(!k(e))return e;var a,r;if(t&&"function"==typeof(a=e.toString)&&!k(r=a.call(e)))return r;if("function"==typeof(a=e.valueOf)&&!k(r=a.call(e)))return r;if(!t&&"function"==typeof(a=e.toString)&&!k(r=a.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=function(e,t){return w.call(e,t)},C=l.document,T=k(C)&&k(C.createElement),A=function(e){return T?C.createElement(e):{}},S=!s&&!o((function(){return 7!=Object.defineProperty(A("div"),"a",{get:function(){return 7}}).a})),I=Object.getOwnPropertyDescriptor,R={f:s?I:function(e,t){if(e=b(e),t=x(t,!0),S)try{return I(e,t)}catch(e){}if(_(e,t))return m(!h.f.call(e,t),e[t])}},q=function(e){if(!k(e))throw TypeError(String(e)+" is not an object");return e},D=Object.defineProperty,F={f:s?D:function(e,t,a){if(q(e),t=x(t,!0),q(a),S)try{return D(e,t,a)}catch(e){}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(e[t]=a.value),e}},E=s?function(e,t,a){return F.f(e,t,m(1,a))}:function(e,t,a){return e[t]=a,e},M=function(e,t){try{E(l,e,t)}catch(a){l[e]=t}return t},N=l["__core-js_shared__"]||M("__core-js_shared__",{}),P=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(e){return P.call(e)});var z,L,O,B=N.inspectSource,V=l.WeakMap,H="function"==typeof V&&/native code/.test(B(V)),U=a((function(e){(e.exports=function(e,t){return N[e]||(N[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),j=0,G=Math.random(),W=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++j+G).toString(36)},Y=U("keys"),X=function(e){return Y[e]||(Y[e]=W(e))},K={},Z=l.WeakMap;if(H){var Q=new Z,J=Q.get,ee=Q.has,te=Q.set;z=function(e,t){return te.call(Q,e,t),t},L=function(e){return J.call(Q,e)||{}},O=function(e){return ee.call(Q,e)}}else{var ae=X("state");K[ae]=!0,z=function(e,t){return E(e,ae,t),t},L=function(e){return _(e,ae)?e[ae]:{}},O=function(e){return _(e,ae)}}var re={set:z,get:L,has:O,enforce:function(e){return O(e)?L(e):z(e,{})},getterFor:function(e){return function(t){var a;if(!k(t)||(a=L(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return a}}},ne=a((function(e){var t=re.get,a=re.enforce,r=String(String).split("String");(e.exports=function(e,t,n,i){var o=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||_(n,"name")||E(n,"name",t),a(n).source=r.join("string"==typeof t?t:"")),e!==l?(o?!c&&e[t]&&(s=!0):delete e[t],s?e[t]=n:E(e,t,n)):s?e[t]=n:M(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||B(this)}))})),le=l,ie=function(e){return"function"==typeof e?e:void 0},oe=function(e,t){return arguments.length<2?ie(le[e])||ie(l[e]):le[e]&&le[e][t]||l[e]&&l[e][t]},se=Math.ceil,ce=Math.floor,ue=function(e){return isNaN(e=+e)?0:(e>0?ce:se)(e)},de=Math.min,he=function(e){return e>0?de(ue(e),9007199254740991):0},me=Math.max,pe=Math.min,fe=function(e,t){var a=ue(e);return a<0?me(a+t,0):pe(a,t)},ge=function(e){return function(t,a,r){var n,l=b(t),i=he(l.length),o=fe(r,i);if(e&&a!=a){for(;i>o;)if((n=l[o++])!=n)return!0}else for(;i>o;o++)if((e||o in l)&&l[o]===a)return e||o||0;return!e&&-1}},ve={includes:ge(!0),indexOf:ge(!1)},ye=ve.indexOf,be=function(e,t){var a,r=b(e),n=0,l=[];for(a in r)!_(K,a)&&_(r,a)&&l.push(a);for(;t.length>n;)_(r,a=t[n++])&&(~ye(l,a)||l.push(a));return l},ke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xe=ke.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return be(e,xe)}},_e={f:Object.getOwnPropertySymbols},Ce=oe("Reflect","ownKeys")||function(e){var t=we.f(q(e)),a=_e.f;return a?t.concat(a(e)):t},Te=function(e,t){for(var a=Ce(t),r=F.f,n=R.f,l=0;l<a.length;l++){var i=a[l];_(e,i)||r(e,i,n(t,i))}},Ae=/#|\.prototype\./,Se=function(e,t){var a=Re[Ie(e)];return a==qe||a!=$e&&("function"==typeof t?o(t):!!t)},Ie=Se.normalize=function(e){return String(e).replace(Ae,".").toLowerCase()},Re=Se.data={},$e=Se.NATIVE="N",qe=Se.POLYFILL="P",De=Se,Fe=R.f,Ee=function(e,t){var a,r,n,i,o,s=e.target,c=e.global,u=e.stat;if(a=c?l:u?l[s]||M(s,{}):(l[s]||{}).prototype)for(r in t){if(i=t[r],n=e.noTargetGet?(o=Fe(a,r))&&o.value:a[r],!De(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==n){if(typeof i==typeof n)continue;Te(i,n)}(e.sham||n&&n.sham)&&E(i,"sham",!0),ne(a,r,i,e)}},Me=function(e,t){var a=[][e];return!!a&&o((function(){a.call(null,t||function(){throw 1},1)}))},Ne=Object.defineProperty,Pe={},ze=function(e){throw e},Le=function(e,t){if(_(Pe,e))return Pe[e];t||(t={});var a=[][e],r=!!_(t,"ACCESSORS")&&t.ACCESSORS,n=_(t,0)?t[0]:ze,l=_(t,1)?t[1]:void 0;return Pe[e]=!!a&&!o((function(){if(r&&!s)return!0;var e={length:-1};r?Ne(e,1,{enumerable:!0,get:ze}):e[1]=1,a.call(e,n,l)}))},Oe=ve.indexOf,Be=[].indexOf,Ve=!!Be&&1/[1].indexOf(1,-0)<0,He=Me("indexOf"),Ue=Le("indexOf",{ACCESSORS:!0,1:0});Ee({target:"Array",proto:!0,forced:Ve||!He||!Ue},{indexOf:function(e){return Ve?Be.apply(this,arguments)||0:Oe(this,e,arguments.length>1?arguments[1]:void 0)}});var je,Ge=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,a={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),t=a instanceof Array}catch(e){}return function(a,r){return q(a),function(e){if(!k(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(a,r):a.__proto__=r,a}}():void 0),We=function(e,t,a){var r,n;return Ge&&"function"==typeof(r=t.constructor)&&r!==a&&k(n=r.prototype)&&n!==a.prototype&&Ge(e,n),e},Ye=Object.keys||function(e){return be(e,ke)},Xe=s?Object.defineProperties:function(e,t){q(e);for(var a,r=Ye(t),n=r.length,l=0;n>l;)F.f(e,a=r[l++],t[a]);return e},Ke=oe("document","documentElement"),Ze=X("IE_PROTO"),Qe=function(){},Je=function(e){return"<script>"+e+"<\/script>"},et=function(){try{je=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;et=je?function(e){e.write(Je("")),e.close();var t=e.parentWindow.Object;return e=null,t}(je):((t=A("iframe")).style.display="none",Ke.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Je("document.F=Object")),e.close(),e.F);for(var a=ke.length;a--;)delete et.prototype[ke[a]];return et()};K[Ze]=!0;var tt=Object.create||function(e,t){var a;return null!==e?(Qe.prototype=q(e),a=new Qe,Qe.prototype=null,a[Ze]=e):a=et(),void 0===t?a:Xe(a,t)},at="\t\n\v\f\r                 \u2028\u2029\ufeff",rt="["+at+"]",nt=RegExp("^"+rt+rt+"*"),lt=RegExp(rt+rt+"*$"),it=function(e){return function(t){var a=String(y(t));return 1&e&&(a=a.replace(nt,"")),2&e&&(a=a.replace(lt,"")),a}},ot={start:it(1),end:it(2),trim:it(3)},st=we.f,ct=R.f,ut=F.f,dt=ot.trim,ht=l.Number,mt=ht.prototype,pt="Number"==f(tt(mt)),ft=function(e){var t,a,r,n,l,i,o,s,c=x(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=dt(c)).charCodeAt(0))||45===t){if(88===(a=c.charCodeAt(2))||120===a)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+c}for(i=(l=c.slice(2)).length,o=0;o<i;o++)if((s=l.charCodeAt(o))<48||s>n)return NaN;return parseInt(l,r)}return+c};if(De("Number",!ht(" 0o1")||!ht("0b1")||ht("+0x1"))){for(var gt,vt=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof vt&&(pt?o((function(){mt.valueOf.call(a)})):"Number"!=f(a))?We(new ht(ft(t)),a,vt):ft(t)},yt=s?st(ht):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),bt=0;yt.length>bt;bt++)_(ht,gt=yt[bt])&&!_(vt,gt)&&ut(vt,gt,ct(ht,gt));vt.prototype=mt,mt.constructor=vt,ne(l,"Number",vt)}Ee({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var kt="".repeat||function(e){var t=String(y(this)),a="",r=ue(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(a+=t);return a},xt=1..toFixed,wt=Math.floor,_t=function(e,t,a){return 0===t?a:t%2==1?_t(e,t-1,a*e):_t(e*e,t/2,a)},Ct=xt&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){xt.call({})}));Ee({target:"Number",proto:!0,forced:Ct},{toFixed:function(e){var t,a,r,n,l=function(e){if("number"!=typeof e&&"Number"!=f(e))throw TypeError("Incorrect invocation");return+e}(this),i=ue(e),o=[0,0,0,0,0,0],s="",c="0",u=function(e,t){for(var a=-1,r=t;++a<6;)r+=e*o[a],o[a]=r%1e7,r=wt(r/1e7)},d=function(e){for(var t=6,a=0;--t>=0;)a+=o[t],o[t]=wt(a/e),a=a%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==o[e]){var a=String(o[e]);t=""===t?a:t+kt.call("0",7-a.length)+a}return t};if(i<0||i>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(s="-",l=-l),l>1e-21)if(a=(t=function(e){for(var t=0,a=e;a>=4096;)t+=12,a/=4096;for(;a>=2;)t+=1,a/=2;return t}(l*_t(2,69,1))-69)<0?l*_t(2,-t,1):l/_t(2,t,1),a*=4503599627370496,(t=52-t)>0){for(u(0,a),r=i;r>=7;)u(1e7,0),r-=7;for(u(_t(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),u(1,1),d(2),c=h()}else u(0,a),u(1<<-t,0),c=h()+kt.call("0",i);return c=i>0?s+((n=c.length)<=i?"0."+kt.call("0",i-n)+c:c.slice(0,n-i)+"."+c.slice(n-i)):s+c}});var Tt=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),At=Tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=U("wks"),It=l.Symbol,Rt=At?It:It&&It.withoutSetter||W,$t=function(e){return _(St,e)||(Tt&&_(It,e)?St[e]=It[e]:St[e]=Rt("Symbol."+e)),St[e]},qt={};qt[$t("toStringTag")]="z";var Dt="[object z]"===String(qt),Ft=$t("toStringTag"),Et="Arguments"==f(function(){return arguments}()),Mt=Dt?f:function(e){var t,a,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Ft))?a:Et?f(t):"Object"==(r=f(t))&&"function"==typeof t.callee?"Arguments":r},Nt=Dt?{}.toString:function(){return"[object "+Mt(this)+"]"};Dt||ne(Object.prototype,"toString",Nt,{unsafe:!0});var Pt=function(){var e=q(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function zt(e,t){return RegExp(e,t)}var Lt={UNSUPPORTED_Y:o((function(){var e=zt("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:o((function(){var e=zt("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Ot=RegExp.prototype.exec,Bt=String.prototype.replace,Vt=Ot,Ht=function(){var e=/a/,t=/b*/g;return Ot.call(e,"a"),Ot.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Ut=Lt.UNSUPPORTED_Y||Lt.BROKEN_CARET,jt=void 0!==/()??/.exec("")[1];(Ht||jt||Ut)&&(Vt=function(e){var t,a,r,n,l=this,i=Ut&&l.sticky,o=Pt.call(l),s=l.source,c=0,u=e;return i&&(-1===(o=o.replace("y","")).indexOf("g")&&(o+="g"),u=String(e).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==e[l.lastIndex-1])&&(s="(?: "+s+")",u=" "+u,c++),a=new RegExp("^(?:"+s+")",o)),jt&&(a=new RegExp("^"+s+"$(?!\\s)",o)),Ht&&(t=l.lastIndex),r=Ot.call(i?a:l,u),i?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:Ht&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),jt&&r&&r.length>1&&Bt.call(r[0],a,(function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(r[n]=void 0)})),r});var Gt=Vt;Ee({target:"RegExp",proto:!0,forced:/./.exec!==Gt},{exec:Gt});var Wt=RegExp.prototype,Yt=Wt.toString,Xt=o((function(){return"/a/b"!=Yt.call({source:"a",flags:"b"})})),Kt="toString"!=Yt.name;(Xt||Kt)&&ne(RegExp.prototype,"toString",(function(){var e=q(this),t=String(e.source),a=e.flags;return"/"+t+"/"+String(void 0===a&&e instanceof RegExp&&!("flags"in Wt)?Pt.call(e):a)}),{unsafe:!0});var Zt=$t("species"),Qt=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Jt="$0"==="a".replace(/./,"$0"),ea=$t("replace"),ta=!!/./[ea]&&""===/./[ea]("a","$0"),aa=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var a="ab".split(e);return 2!==a.length||"a"!==a[0]||"b"!==a[1]})),ra=function(e,t,a,r){var n=$t(e),l=!o((function(){var t={};return t[n]=function(){return 7},7!=""[e](t)})),i=l&&!o((function(){var t=!1,a=/a/;return"split"===e&&((a={}).constructor={},a.constructor[Zt]=function(){return a},a.flags="",a[n]=/./[n]),a.exec=function(){return t=!0,null},a[n](""),!t}));if(!l||!i||"replace"===e&&(!Qt||!Jt||ta)||"split"===e&&!aa){var s=/./[n],c=a(n,""[e],(function(e,t,a,r,n){return t.exec===Gt?l&&!n?{done:!0,value:s.call(t,a,r)}:{done:!0,value:e.call(a,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Jt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ta}),u=c[0],d=c[1];ne(String.prototype,e,u),ne(RegExp.prototype,n,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}r&&E(RegExp.prototype[n],"sham",!0)},na=function(e){return Object(y(e))},la=function(e){return function(t,a){var r,n,l=String(y(t)),i=ue(a),o=l.length;return i<0||i>=o?e?"":void 0:(r=l.charCodeAt(i))<55296||r>56319||i+1===o||(n=l.charCodeAt(i+1))<56320||n>57343?e?l.charAt(i):r:e?l.slice(i,i+2):n-56320+(r-55296<<10)+65536}},ia={codeAt:la(!1),charAt:la(!0)},oa=ia.charAt,sa=function(e,t,a){return t+(a?oa(e,t).length:1)},ca=function(e,t){var a=e.exec;if("function"==typeof a){var r=a.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==f(e))throw TypeError("RegExp#exec called on incompatible receiver");return Gt.call(e,t)},ua=Math.max,da=Math.min,ha=Math.floor,ma=/\$([$&'`]|\d\d?|<[^>]*>)/g,pa=/\$([$&'`]|\d\d?)/g;ra("replace",2,(function(e,t,a,r){var n=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,l=r.REPLACE_KEEPS_$0,i=n?"$":"$0";return[function(a,r){var n=y(this),l=null==a?void 0:a[e];return void 0!==l?l.call(a,n,r):t.call(String(n),a,r)},function(e,r){if(!n&&l||"string"==typeof r&&-1===r.indexOf(i)){var s=a(t,e,this,r);if(s.done)return s.value}var c=q(e),u=String(this),d="function"==typeof r;d||(r=String(r));var h=c.global;if(h){var m=c.unicode;c.lastIndex=0}for(var p=[];;){var f=ca(c,u);if(null===f)break;if(p.push(f),!h)break;""===String(f[0])&&(c.lastIndex=sa(u,he(c.lastIndex),m))}for(var g,v="",y=0,b=0;b<p.length;b++){f=p[b];for(var k=String(f[0]),x=ua(da(ue(f.index),u.length),0),w=[],_=1;_<f.length;_++)w.push(void 0===(g=f[_])?g:String(g));var C=f.groups;if(d){var T=[k].concat(w,x,u);void 0!==C&&T.push(C);var A=String(r.apply(void 0,T))}else A=o(k,u,x,w,C,r);x>=y&&(v+=u.slice(y,x)+A,y=x+k.length)}return v+u.slice(y)}];function o(e,a,r,n,l,i){var o=r+e.length,s=n.length,c=pa;return void 0!==l&&(l=na(l),c=ma),t.call(i,c,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return a.slice(0,r);case"'":return a.slice(o);case"<":c=l[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>s){var d=ha(u/10);return 0===d?t:d<=s?void 0===n[d-1]?i.charAt(1):n[d-1]+i.charAt(1):t}c=n[u-1]}return void 0===c?"":c}))}}));var fa={autoFormatw:!1,accuracy:void 0,total:0,allowCopy:!0,showtoolbar:!0,showinfobar:!0,showsheetbar:!0,showstatisticBar:!0,pointEdit:!1,pointEditUpdate:null,pointEditZoom:1,userInfo:!1,userMenuItem:[],myFolderUrl:null,functionButton:null,showConfigWindowResize:!0,enableAddRow:!0,enableAddBackTop:!0,enablePage:!0,pageInfo:null,editMode:!1,beforeCreateDom:null,workbookCreateBefore:null,workbookCreateAfter:null,fireMousedown:null,plugins:[],forceCalculation:!1,defaultColWidth:73,defaultRowHeight:19,defaultTextColor:"#000",defaultCellColor:"#fff"},ga={container:null,luckysheetfile:null,defaultcolumnNum:60,defaultrowNum:84,fullscreenmode:!0,devicePixelRatio:1,currentSheetIndex:0,calculateSheetIndex:0,flowdata:[],config:{},visibledatarow:[],visibledatacolumn:[],ch_width:0,rh_height:0,cellmainWidth:0,cellmainHeight:0,toolbarHeight:0,infobarHeight:0,calculatebarHeight:0,rowHeaderWidth:46,columnHeaderHeight:20,cellMainSrollBarSize:12,sheetBarHeight:31,statisticBarHeight:23,luckysheetTableContentHW:[0,0],defaultcollen:73,defaultrowlen:19,jfcountfuncTimeout:null,jfautoscrollTimeout:null,luckysheet_select_status:!1,luckysheet_select_save:[{row:[0,0],column:[0,0]}],luckysheet_selection_range:[],luckysheet_copy_save:{},luckysheet_paste_iscut:!1,filterchage:!0,luckysheet_filter_save:{row:[],column:[]},luckysheet_sheet_move_status:!1,luckysheet_sheet_move_data:[],luckysheet_scroll_status:!1,luckysheetisrefreshdetail:!0,luckysheetisrefreshtheme:!0,luckysheetcurrentisPivotTable:!1,luckysheet_rows_selected_status:!1,luckysheet_cols_selected_status:!1,luckysheet_rows_change_size:!1,luckysheet_rows_change_size_start:[],luckysheet_cols_change_size:!1,luckysheet_cols_change_size_start:[],luckysheet_cols_dbclick_timeout:null,luckysheet_cols_dbclick_times:0,luckysheetCellUpdate:[],luckysheet_shiftpositon:null,iscopyself:!0,orderbyindex:0,luckysheet_model_move_state:!1,luckysheet_model_xy:[0,0],luckysheet_model_move_obj:null,luckysheet_cell_selected_move:!1,luckysheet_cell_selected_move_index:[],luckysheet_cell_selected_extend:!1,luckysheet_cell_selected_extend_index:[],luckysheet_cell_selected_extend_time:null,clearjfundo:!0,jfundo:[],jfredo:[],lang:"en",createChart:"",highlightChart:"",zIndex:15,chartparam:{luckysheetCurrentChart:null,luckysheetCurrentChartActive:!1,luckysheetCurrentChartMove:null,luckysheetCurrentChartMoveTimeout:null,luckysheetCurrentChartMoveObj:null,luckysheetCurrentChartMoveXy:null,luckysheetCurrentChartMoveWinH:null,luckysheetCurrentChartMoveWinW:null,luckysheetCurrentChartResize:null,luckysheetCurrentChartResizeObj:null,luckysheetCurrentChartResizeXy:null,luckysheetCurrentChartResizeWinH:null,luckysheetCurrentChartResizeWinW:null,luckysheetInsertChartTosheetChange:!0,luckysheetCurrentChartZIndexRank:100,luckysheet_chart_redo_click:!1,luckysheetCurrentChartMaxState:!1,jfrefreshchartall:"",changeChartCellData:"",renderChart:"",getChartJson:""},functionList:null,luckysheet_function:null,chart_selection:{},currentChart:"",scrollRefreshSwitch:!0,measureTextCache:{},measureTextCellInfoCache:{},measureTextCacheTimeOut:null,cellOverflowMapCache:{},zoomRatio:1,visibledatacolumn_unique:null,visibledatarow_unique:null,showGridLines:!0,toobarObject:{},inlineStringEditCache:null,inlineStringEditRange:null,fontList:[],defaultFontSize:10,currentSheetView:"viewNormal",cooperativeEdit:{usernameTimeout:{},changeCollaborationSize:[],allDataColumnlen:[],merge_range:{},checkoutData:[]},asyncLoad:["core"]},va={v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"};function ya(e){return null==e||""==e.toString().replace(/\s/g,"")}function ba(e){return null!=e&&""!==e.toString().replace(/\s/g,"")&&("boolean"!=typeof e&&!isNaN(e))}function ka(e){var t=!1;for(var a in va)if(e==va[a]){t=!0;break}return t}function xa(e){return!!/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi.exec(e)}function wa(){return!!fa.editMode}function _a(e,t,a,r,n){var l=!1;for(var i in ga.config.merge){var o=e.merge[i];if(t<o.r){if(a>=o.r&&a<o.r+o.rs-1){if(r>=o.c&&r<=o.c+o.cs-1){l=!0;break}if(n>=o.c&&n<=o.c+o.cs-1){l=!0;break}if(r<o.c&&n>o.c+o.cs-1){l=!0;break}}else if(a>=o.r&&a==o.r+o.rs-1){if(r>o.c&&r<o.c+o.cs-1){l=!0;break}if(n>o.c&&n<o.c+o.cs-1){l=!0;break}if(r==o.c&&n<o.c+o.cs-1){l=!0;break}if(r>o.c&&n==o.c+o.cs-1){l=!0;break}}else if(a>o.r+o.rs-1){if(r>o.c&&r<=o.c+o.cs-1){l=!0;break}if(n>=o.c&&n<o.c+o.cs-1){l=!0;break}if(r==o.c&&n<o.c+o.cs-1){l=!0;break}if(r>o.c&&n==o.c+o.cs-1){l=!0;break}}}else if(t==o.r){if(a<o.r+o.rs-1){if(r>=o.c&&r<=o.c+o.cs-1){l=!0;break}if(n>=o.c&&n<=o.c+o.cs-1){l=!0;break}if(r<o.c&&n>o.c+o.cs-1){l=!0;break}}else if(a>=o.r+o.rs-1){if(r>o.c&&r<=o.c+o.cs-1){l=!0;break}if(n>=o.c&&n<o.c+o.cs-1){l=!0;break}if(r==o.c&&n<o.c+o.cs-1){l=!0;break}if(r>o.c&&n==o.c+o.cs-1){l=!0;break}}}else if(t<=o.r+o.rs-1){if(r>=o.c&&r<=o.c+o.cs-1){l=!0;break}if(n>=o.c&&n<=o.c+o.cs-1){l=!0;break}if(r<o.c&&n>o.c+o.cs-1){l=!0;break}}}return l}function Ca(e){return Math.ceil(e.charCodeAt().toString(2).length/8)}function Ta(e){var t,a={times:1,num:0};if(t=e,Math.floor(t)===t)return a.num=e,a;var r=e+"",n=r.indexOf("."),l=r.substr(n+1).length,i=Math.pow(10,l),o=parseInt(e*i+.5,10);return a.times=i,a.num=o,a}function Aa(e,t,a){var r=Ta(e),n=Ta(t),l=r.num,i=n.num,o=r.times,s=n.times,c=o>s?o:s;switch(a){case"add":return(o===s?l+i:o>s?l+i*(o/s):l*(s/o)+i)/c;case"subtract":return(o===s?l-i:o>s?l-i*(o/s):l*(s/o)-i)/c;case"multiply":return l*i/(o*s);case"divide":return Aa(l/i,s/o,"multiply")}}function Sa(e){return(Sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ia(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ra(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function $a(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(a),!0).forEach((function(t){Ia(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ra(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function qa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],r=!0,n=!1,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(r=(i=o.next()).done)&&(a.push(i.value),!t||a.length!==t);r=!0);}catch(e){n=!0,l=e}finally{try{r||null==o.return||o.return()}finally{if(n)throw l}}return a}(e,t)||Fa(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Da(e){return function(e){if(Array.isArray(e))return Ea(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Fa(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fa(e,t){if(e){if("string"==typeof e)return Ea(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Ea(e,t):void 0}}function Ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function Ma(e,t){var a;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(a=Fa(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,o=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return i=e.done,e},e:function(e){o=!0,l=e},f:function(){try{i||null==a.return||a.return()}finally{if(o)throw l}}}}Number.prototype.add=function(e){var t=parseFloat(e);if("number"!=typeof t||Number.isNaN(t))throw new Error("请输入数字或者数字字符串~");return Aa(this,t,"add")},Number.prototype.subtract=function(e){var t=parseFloat(e);if("number"!=typeof t||Number.isNaN(t))throw new Error("请输入数字或者数字字符串~");return Aa(this,t,"subtract")},Number.prototype.multiply=function(e){var t=parseFloat(e);if("number"!=typeof t||Number.isNaN(t))throw new Error("请输入数字或者数字字符串~");return Aa(this,t,"multiply")},Number.prototype.divide=function(e){var t=parseFloat(e);if("number"!=typeof t||Number.isNaN(t))throw new Error("请输入数字或者数字字符串~");return Aa(this,t,"divide")},Number.prototype.tofixed=function(e){var t=parseFloat(e);if("number"!=typeof t||Number.isNaN(t))throw new Error("请输入数字或者数字字符串~");return function(e,t){if(t||(t=2),!ba(e))return e;var a=e.toFixed(t),r=a.indexOf("."),n=a.substring(0,r),l=a.substring(r+1,a.length);if(l)for(var i=l.length-1;0!=i&&("0"==l.charAt(i)||i!=l.length-1);i--)l=l.substring(0,i);return Number(n+"."+l)}(this,t)};var Na,Pa,za={container:"luckysheet",column:60,row:84,allowCopy:!0,showtoolbar:!0,showinfobar:!0,showsheetbar:!0,showstatisticBar:!0,pointEdit:!1,pointEditUpdate:null,pointEditZoom:1,data:[{name:"Sheet1",color:"",status:"1",order:"0",data:[],config:{},index:0},{name:"Sheet2",color:"",status:"0",order:"1",data:[],config:{},index:1},{name:"Sheet3",color:"",status:"0",order:"2",data:[],config:{},index:2}],title:"Luckysheet Demo",userInfo:!1,userMenuItem:[{url:"www.baidu.com",icon:'<i class="fa fa-folder" aria-hidden="true"></i>',name:"我的表格"},{url:"www.baidu.com",icon:'<i class="fa fa-sign-out" aria-hidden="true"></i>',name:"退出登陆"}],myFolderUrl:"www.baidu.com",config:{},fullscreenmode:!0,devicePixelRatio:window.devicePixelRatio,allowEdit:!0,loadUrl:"",loadSheetUrl:"",gridKey:"",updateUrl:"",updateImageUrl:"",allowUpdate:!1,functionButton:"",showConfigWindowResize:!0,enableAddRow:!0,enableAddBackTop:!0,autoFormatw:!1,accuracy:void 0,pageInfo:{queryExps:"",reportId:"",fields:"",mobile:"",frezon:"",currentPage:"",totalPage:10,pageUrl:""},editMode:!1,beforeCreateDom:null,fireMousedown:null,lang:"en",plugins:[],forceCalculation:!1,rowHeaderWidth:46,columnHeaderHeight:20,defaultColWidth:73,defaultRowHeight:19,defaultFontSize:10,limitSheetNameLength:!0,defaultSheetNameMaxLength:31,sheetFormulaBar:!0,showtoolbarConfig:{},showsheetbarConfig:{},showstatisticBarConfig:{},cellRightClickConfig:{},sheetRightClickConfig:{}},La=Array.isArray||function(e){return"Array"==f(e)},Oa=function(e,t,a){var r=x(t);r in e?F.f(e,r,m(0,a)):e[r]=a},Ba=$t("species"),Va=function(e,t){var a;return La(e)&&("function"!=typeof(a=e.constructor)||a!==Array&&!La(a.prototype)?k(a)&&null===(a=a[Ba])&&(a=void 0):a=void 0),new(void 0===a?Array:a)(0===t?0:t)},Ha=oe("navigator","userAgent")||"",Ua=l.process,ja=Ua&&Ua.versions,Ga=ja&&ja.v8;Ga?Pa=(Na=Ga.split("."))[0]+Na[1]:Ha&&(!(Na=Ha.match(/Edge\/(\d+)/))||Na[1]>=74)&&(Na=Ha.match(/Chrome\/(\d+)/))&&(Pa=Na[1]);var Wa=Pa&&+Pa,Ya=$t("species"),Xa=function(e){return Wa>=51||!o((function(){var t=[];return(t.constructor={})[Ya]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ka=$t("isConcatSpreadable"),Za=Wa>=51||!o((function(){var e=[];return e[Ka]=!1,e.concat()[0]!==e})),Qa=Xa("concat"),Ja=function(e){if(!k(e))return!1;var t=e[Ka];return void 0!==t?!!t:La(e)};Ee({target:"Array",proto:!0,forced:!Za||!Qa},{concat:function(e){var t,a,r,n,l,i=na(this),o=Va(i,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Ja(l=-1===t?i:arguments[t])){if(s+(n=he(l.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(a=0;a<n;a++,s++)a in l&&Oa(o,s,l[a])}else{if(s>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Oa(o,s++,l)}return o.length=s,o}});var er=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},tr=function(e,t,a){if(er(e),void 0===t)return e;switch(a){case 0:return function(){return e.call(t)};case 1:return function(a){return e.call(t,a)};case 2:return function(a,r){return e.call(t,a,r)};case 3:return function(a,r,n){return e.call(t,a,r,n)}}return function(){return e.apply(t,arguments)}},ar=[].push,rr=function(e){var t=1==e,a=2==e,r=3==e,n=4==e,l=6==e,i=5==e||l;return function(o,s,c,u){for(var d,h,m=na(o),p=v(m),f=tr(s,c,3),g=he(p.length),y=0,b=u||Va,k=t?b(o,g):a?b(o,0):void 0;g>y;y++)if((i||y in p)&&(h=f(d=p[y],y,m),e))if(t)k[y]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:ar.call(k,d)}else if(n)return!1;return l?-1:r||n?n:k}},nr={forEach:rr(0),map:rr(1),filter:rr(2),some:rr(3),every:rr(4),find:rr(5),findIndex:rr(6)},lr=$t("unscopables"),ir=Array.prototype;null==ir[lr]&&F.f(ir,lr,{configurable:!0,value:tt(null)});var or=function(e){ir[lr][e]=!0},sr=nr.find,cr=!0,ur=Le("find");"find"in[]&&Array(1).find((function(){cr=!1})),Ee({target:"Array",proto:!0,forced:cr||!ur},{find:function(e){return sr(this,e,arguments.length>1?arguments[1]:void 0)}}),or("find");var dr=nr.forEach,hr=Me("forEach"),mr=Le("forEach"),pr=hr&&mr?[].forEach:function(e){return dr(this,e,arguments.length>1?arguments[1]:void 0)};Ee({target:"Array",proto:!0,forced:[].forEach!=pr},{forEach:pr});var fr=[].join,gr=v!=Object,vr=Me("join",",");Ee({target:"Array",proto:!0,forced:gr||!vr},{join:function(e){return fr.call(b(this),void 0===e?",":e)}});var yr=Xa("slice"),br=Le("slice",{ACCESSORS:!0,0:0,1:2}),kr=$t("species"),xr=[].slice,wr=Math.max;Ee({target:"Array",proto:!0,forced:!yr||!br},{slice:function(e,t){var a,r,n,l=b(this),i=he(l.length),o=fe(e,i),s=fe(void 0===t?i:t,i);if(La(l)&&("function"!=typeof(a=l.constructor)||a!==Array&&!La(a.prototype)?k(a)&&null===(a=a[kr])&&(a=void 0):a=void 0,a===Array||void 0===a))return xr.call(l,o,s);for(r=new(void 0===a?Array:a)(wr(s-o,0)),n=0;o<s;o++,n++)o in l&&Oa(r,n,l[o]);return r.length=n,r}});var _r=nr.some,Cr=Me("some"),Tr=Le("some");Ee({target:"Array",proto:!0,forced:!Cr||!Tr},{some:function(e){return _r(this,e,arguments.length>1?arguments[1]:void 0)}});var Ar=Xa("splice"),Sr=Le("splice",{ACCESSORS:!0,0:0,1:2}),Ir=Math.max,Rr=Math.min;Ee({target:"Array",proto:!0,forced:!Ar||!Sr},{splice:function(e,t){var a,r,n,l,i,o,s=na(this),c=he(s.length),u=fe(e,c),d=arguments.length;if(0===d?a=r=0:1===d?(a=0,r=c-u):(a=d-2,r=Rr(Ir(ue(t),0),c-u)),c+a-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(n=Va(s,r),l=0;l<r;l++)(i=u+l)in s&&Oa(n,l,s[i]);if(n.length=r,a<r){for(l=u;l<c-r;l++)o=l+a,(i=l+r)in s?s[o]=s[i]:delete s[o];for(l=c;l>c-r+a;l--)delete s[l-1]}else if(a>r)for(l=c-r;l>u;l--)o=l+a-1,(i=l+r-1)in s?s[o]=s[i]:delete s[o];for(l=0;l<a;l++)s[l+u]=arguments[l+2];return s.length=c-r+a,n}});var $r=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),qr=X("IE_PROTO"),Dr=Object.prototype,Fr=$r?Object.getPrototypeOf:function(e){return e=na(e),_(e,qr)?e[qr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Dr:null};var Er=o((function(){var e=F.f({},"a",{configurable:!0});return!1!==Reflect.set(Fr(e),"a",1,e)}));Ee({target:"Reflect",stat:!0,forced:Er},{set:function e(t,a,r){var n,l,i=arguments.length<4?t:arguments[3],o=R.f(q(t),a);if(!o){if(k(l=Fr(t)))return e(l,a,r,i);o=m(0)}if(_(o,"value")){if(!1===o.writable||!k(i))return!1;if(n=R.f(i,a)){if(n.get||n.set||!1===n.writable)return!1;n.value=r,F.f(i,a,n)}else F.f(i,a,m(0,r));return!0}return void 0!==o.set&&(o.set.call(i,r),!0)}}),ra("match",1,(function(e,t,a){return[function(t){var a=y(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,a):new RegExp(t)[e](String(a))},function(e){var r=a(t,e,this);if(r.done)return r.value;var n=q(e),l=String(this);if(!n.global)return ca(n,l);var i=n.unicode;n.lastIndex=0;for(var o,s=[],c=0;null!==(o=ca(n,l));){var u=String(o[0]);s[c]=u,""===u&&(n.lastIndex=sa(l,he(n.lastIndex),i)),c++}return 0===c?null:s}]}));var Mr=$t("match"),Nr=function(e){var t;return k(e)&&(void 0!==(t=e[Mr])?!!t:"RegExp"==f(e))},Pr=$t("species"),zr=function(e,t){var a,r=q(e).constructor;return void 0===r||null==(a=q(r)[Pr])?t:er(a)},Lr=[].push,Or=Math.min,Br=!o((function(){return!RegExp(4294967295,"y")}));ra("split",2,(function(e,t,a){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,a){var r=String(y(this)),n=void 0===a?4294967295:a>>>0;if(0===n)return[];if(void 0===e)return[r];if(!Nr(e))return t.call(r,e,n);for(var l,i,o,s=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(l=Gt.call(d,r))&&!((i=d.lastIndex)>u&&(s.push(r.slice(u,l.index)),l.length>1&&l.index<r.length&&Lr.apply(s,l.slice(1)),o=l[0].length,u=i,s.length>=n));)d.lastIndex===l.index&&d.lastIndex++;return u===r.length?!o&&d.test("")||s.push(""):s.push(r.slice(u)),s.length>n?s.slice(0,n):s}:"0".split(void 0,0).length?function(e,a){return void 0===e&&0===a?[]:t.call(this,e,a)}:t,[function(t,a){var n=y(this),l=null==t?void 0:t[e];return void 0!==l?l.call(t,n,a):r.call(String(n),t,a)},function(e,n){var l=a(r,e,this,n,r!==t);if(l.done)return l.value;var i=q(e),o=String(this),s=zr(i,RegExp),c=i.unicode,u=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Br?"y":"g"),d=new s(Br?i:"^(?:"+i.source+")",u),h=void 0===n?4294967295:n>>>0;if(0===h)return[];if(0===o.length)return null===ca(d,o)?[o]:[];for(var m=0,p=0,f=[];p<o.length;){d.lastIndex=Br?p:0;var g,v=ca(d,Br?o:o.slice(p));if(null===v||(g=Or(he(d.lastIndex+(Br?0:p)),o.length))===m)p=sa(o,p,c);else{if(f.push(o.slice(m,p)),f.length===h)return f;for(var y=1;y<=v.length-1;y++)if(f.push(v[y]),f.length===h)return f;p=m=g}}return f.push(o.slice(m)),f}]}),!Br);var Vr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Hr in Vr){var Ur=l[Hr],jr=Ur&&Ur.prototype;if(jr&&jr.forEach!==pr)try{E(jr,"forEach",pr)}catch(va){jr.forEach=pr}}var Gr=nr.every,Wr=Me("every"),Yr=Le("every");Ee({target:"Array",proto:!0,forced:!Wr||!Yr},{every:function(e){return Gr(this,e,arguments.length>1?arguments[1]:void 0)}});var Xr=nr.filter,Kr=Xa("filter"),Zr=Le("filter");Ee({target:"Array",proto:!0,forced:!Kr||!Zr},{filter:function(e){return Xr(this,e,arguments.length>1?arguments[1]:void 0)}});var Qr=[],Jr=Qr.sort,en=o((function(){Qr.sort(void 0)})),tn=o((function(){Qr.sort(null)})),an=Me("sort");Ee({target:"Array",proto:!0,forced:en||!tn||!an},{sort:function(e){return void 0===e?Jr.call(na(this)):Jr.call(na(this),er(e))}});var rn=Object.assign,nn=Object.defineProperty,ln=!rn||o((function(){if(s&&1!==rn({b:1},rn(nn({},"a",{enumerable:!0,get:function(){nn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},a=Symbol();return e[a]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=rn({},e)[a]||"abcdefghijklmnopqrst"!=Ye(rn({},t)).join("")}))?function(e,t){for(var a=na(e),r=arguments.length,n=1,l=_e.f,i=h.f;r>n;)for(var o,c=v(arguments[n++]),u=l?Ye(c).concat(l(c)):Ye(c),d=u.length,m=0;d>m;)o=u[m++],s&&!i.call(c,o)||(a[o]=c[o]);return a}:rn;Ee({target:"Object",stat:!0,forced:Object.assign!==ln},{assign:ln});var on=h.f,sn=function(e){return function(t){for(var a,r=b(t),n=Ye(r),l=n.length,i=0,o=[];l>i;)a=n[i++],s&&!on.call(r,a)||o.push(e?[a,r[a]]:r[a]);return o}},cn={entries:sn(!0),values:sn(!1)}.values;Ee({target:"Object",stat:!0},{values:function(e){return cn(e)}});var un=/"/g,dn=function(e,t,a,r){var n=String(y(e)),l="<"+t;return""!==a&&(l+=" "+a+'="'+String(r).replace(un,"&quot;")+'"'),l+">"+n+"</"+t+">"},hn=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};Ee({target:"String",proto:!0,forced:hn("bold")},{bold:function(){return dn(this,"b","","")}}),Ee({target:"String",proto:!0,forced:hn("link")},{link:function(e){return dn(this,"a","href",e)}});var mn,pn,fn={en:{functionlist:[{n:"SUMIF",t:0,d:"Returns a conditional sum across a range.",a:"A conditional sum across a range.",m:[2,3],p:[{name:"range",detail:"The range which is tested against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion",detail:"The pattern or test to apply to `range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"sum_range",detail:"The range to be summed, if different from `range`.",example:"B1:B10",require:"o",repeat:"n",type:"range"}]},{n:"TAN",t:0,d:"Returns the tangent of an angle provided in radians.",a:"Tangent of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the tangent of, in radians.",example:"45*PI()/180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TANH",t:0,d:"Returns the hyperbolic tangent of any real number.",a:"Hyperbolic tangent of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic tangent of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CEILING",t:0,d:"Rounds a number up to the nearest integer multiple of specified significance `factor`.",a:"Rounds number up to nearest multiple of a factor.",m:[2,2],p:[{name:"value",detail:"The value to round up to the nearest integer multiple of `factor`.",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN",t:0,d:"Returns the inverse tangent of a value, in radians.",a:"Inverse tangent of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse tangent.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASINH",t:0,d:"Returns the inverse hyperbolic sine of a number.",a:"Inverse hyperbolic sine of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic sine.",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ABS",t:0,d:"Returns the absolute value of a number.",a:"Absolute value of a number.",m:[1,1],p:[{name:"value",detail:"The number of which to return the absolute value.",example:"-2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOS",t:0,d:"Returns the inverse cosine of a value, in radians.",a:"Inverse cosine of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse cosine. Must be between `-1` and `1`, inclusive.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOSH",t:0,d:"Returns the inverse hyperbolic cosine of a number.",a:"Inverse hyperbolic cosine of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic cosine. Must be greater than or equal to `1`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTINOMIAL",t:0,d:"Returns the factorial of the sum of values divided by the product of the values' factorials.",a:"Multinomial distribution function.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"ATANH",t:0,d:"Returns the inverse hyperbolic tangent of a number.",a:"Inverse hyperbolic tangent of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic tangent. Must be between -1 and 1, exclusive.",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN2",t:0,d:"Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (`x`,`y`), in radians.",a:"Arctangent of a value.",m:[2,2],p:[{name:"x",detail:"The x coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"y",detail:"The y coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTBLANK",t:1,d:"Returns the number of empty values in a list of values and ranges.",a:"Number of empty values.",m:[1,1],p:[{name:"value1",detail:"The first value or range in which to count the number of blanks.",example:"A2:C100",require:"m",repeat:"n",type:"range"}]},{n:"COSH",t:0,d:"Returns the hyperbolic cosine of any real number.",a:"Hyperbolic cosine of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic cosine of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"INT",t:0,d:"Rounds a number down to the nearest integer that is less than or equal to it.",a:"Rounds number down to nearest integer.",m:[1,1],p:[{name:"value",detail:"The value to round down to the nearest integer.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISEVEN",t:0,d:"Checks whether the provided value is even.",a:"Whether the provided value is even.",m:[1,1],p:[{name:"value",detail:"The value to be verified as even.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISODD",t:0,d:"Checks whether the provided value is odd.",a:"Whether the provided value is odd.",m:[1,1],p:[{name:"value",detail:"The value to be verified as odd.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LCM",t:0,d:"Returns the least common multiple of one or more integers.",a:"Least common multiple of one or more integers.",m:[1,255],p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the least common multiple.",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the least common multiple.",example:"3",require:"o",repeat:"y",type:"rangeall"}]},{n:"LN",t:0,d:"Returns the logarithm of a number, base e (Euler's number).",a:"The logarithm of a number, base e (euler's number).",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the logarithm, base e.",example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOG",t:0,d:"Returns the logarithm of a number with respect to a base.",a:"The logarithm of a number with respect to a base.",m:[1,2],p:[{name:"value",detail:"The value for which to calculate the logarithm.",example:"128",require:"m",repeat:"n",type:"rangenumber"},{name:"base",detail:"The base to use for calculation of the logarithm.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"LOG10",t:0,d:"Returns the logarithm of a number, base 10.",a:"The logarithm of a number, base 10.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the logarithm, base 10.",example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MOD",t:0,d:"Returns the result of the modulo operator, the remainder after a division operation.",a:"Modulo (remainder) operator.",m:[2,2],p:[{name:"dividend",detail:"The number to be divided to find the remainder.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MROUND",t:0,d:"Rounds one number to the nearest integer multiple of another.",a:"Rounds a number to the nearest integer multiple.",m:[2,2],p:[{name:"value",detail:"The number to round to the nearest integer multiple of another.",example:"21",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ODD",t:0,d:"Rounds a number up to the nearest odd integer.",a:"Rounds a number up to the nearest odd integer.",m:[1,1],p:[{name:"value",detail:"The value to round to the next greatest odd number.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMSQ",t:0,d:"Returns the sum of the squares of a series of numbers and/or cells.",a:"Sum of squares.",m:[1,255],p:[{name:"value1",detail:"The first number or range whose squares to add together.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional numbers or ranges whose squares to add to the square(s) of `value1`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMBIN",t:0,d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects.",a:"Number of combinations from a set of objects.",m:[2,2],p:[{name:"n",detail:"The size of the pool of objects to choose from.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"The number of objects to choose.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUM",t:0,d:"Returns the sum of a series of numbers and/or cells.",a:"Sum of a series of numbers and/or cells.",m:[1,255],p:[{name:"value1",detail:"The first number or range to add together.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional numbers or ranges to add to `value1`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SUBTOTAL",t:0,d:"Returns a subtotal for a vertical range of cells using a specified aggregation function.",a:"Subtotal for a range using a specific function.",m:[2,256],p:[{name:"function_code",detail:"The function to use in subtotal aggregation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"range1",detail:"The first range over which to calculate a subtotal.",example:"A2:A5",require:"m",repeat:"n",type:"range"},{name:"range2",detail:"Additional ranges over which to calculate subtotals.",example:"B2:B8",require:"o",repeat:"y",type:"range"}]},{n:"ASIN",t:0,d:"Returns the inverse sine of a value, in radians.",a:"Inverse sine of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse sine. Must be between `-1` and `1`, inclusive.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTIF",t:1,d:"Returns a conditional count across a range.",a:"A conditional count across a range.",m:[2,2],p:[{name:"range",detail:"The range that is tested against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion",detail:"The pattern or test to apply to `range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"RADIANS",t:0,d:"Converts an angle value in degrees to radians.",a:"Converts an angle value in degrees to radians.",m:[1,1],p:[{name:"angle",detail:"The angle to convert from degrees to radians.",example:"180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RAND",t:0,d:"Returns a random number between 0 inclusive and 1 exclusive.",a:"A random number between 0 inclusive and 1 exclusive.",m:[0,0],p:[]},{n:"COUNTUNIQUE",t:0,d:"Counts the number of unique values in a list of specified values and ranges.",a:"Counts number of unique values in a range.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider for uniqueness.",example:"A1:C100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider for uniqueness.",example:"1",require:"o",repeat:"n",type:"rangeall"}]},{n:"DEGREES",t:0,d:"Converts an angle value in radians to degrees.",a:"Converts an angle value in radians to degrees.",m:[1,1],p:[{name:"angle",detail:"The angle to convert from radians to degrees.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ERFC",t:9,d:"Returns the complementary Gauss error function of a value.",a:"Complementary gauss error function of a value.",m:[1,1],p:[{name:"z",detail:"The number for which to calculate the complementary Gauss error function.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EVEN",t:0,d:"Rounds a number up to the nearest even integer.",a:"Rounds a number up to the nearest even integer.",m:[1,1],p:[{name:"value",detail:"The value to round to the next greatest even number.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EXP",t:0,d:"Returns Euler's number, e (~2.718) raised to a power.",a:"Euler's number, e (~2.718) raised to a power.",m:[1,1],p:[{name:"exponent",detail:"The exponent to raise e to.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACT",t:0,d:"Returns the factorial of a number.",a:"Factorial of a number.",m:[1,1],p:[{name:"value",detail:"The number or reference to a number whose factorial will be calculated and returned.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACTDOUBLE",t:0,d:'Returns the "double factorial" of a number.',a:'"double factorial" of a number.',m:[1,1],p:[{name:"value",detail:"The number or reference to a number whose double factorial will be calcula