@mescius/spread-sheets-tablesheet 19.0.1 → 19.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * SpreadJS Library 19.0.1
3
+ * SpreadJS Library 19.0.3
4
4
  *
5
5
  * Copyright(c) MESCIUS inc. All rights reserved.
6
6
  *
@@ -9,4 +9,4 @@
9
9
  * https://developer.mescius.com/spreadjs
10
10
  *
11
11
  */
12
- !function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("@mescius/spread-sheets")):"function"==typeof define&&define.amd?define(["@mescius/spread-sheets"],t):"object"==typeof exports?exports.Spread=t(require("@mescius/spread-sheets")):t(GC)}((function(t){!function(){"use strict";var n,i={117:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h=this&&this.mJr||function(){return h=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},h.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.YQe=n.AcceptExtensionsValueType=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(6018),a=i(591),s=e.mt,l=s.En,function(t){t.txt=".txt",t.all="",t.pdf=".pdf",t.image=".jpg, .png, .gif",t.excel=".xls, .xlsx, .ppt, .pptx, .doc, .docx"}(f=n.AcceptExtensionsValueType||(n.AcceptExtensionsValueType={})),d=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.WQe=(0,e.GC$)(l("div"));return n.addClass("gc-defined-column-attachment-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.WQe,i=t.LEt;return t.cb=new u.Kze({inputId:"attachment-file-type",items:[{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.all,value:f.all},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.txt,value:f.txt},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.image,value:f.image},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.pdf,value:f.pdf},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.excel,value:f.excel}],label:{text:(0,o.getSR)().columnTypeAttachmentAccept},onChange:function(){t.JQe()}}),t.cb.create().appendTo(n),t.cb.setValue(i.fileType||""),t.XQe=new c.AZe({inputId:"attachment-size-limit",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentMaxSize},onChange:function(){t.JQe()}}),t.XQe.create().appendTo(n),t.XQe.setValue(i.maxSize||2048),t.KQe=new r.Rze({label:{text:(0,o.getSR)().columnTypeAttachmentIsPreviewEnabled},onChange:function(){t.JQe()}}),t.KQe.create().appendTo(n),t.KQe.setValue(!!i.preview||(0,a.isNullOrUndefined)(i.preview)),t.$Qe=new r.Rze({label:{text:(0,o.getSR)().columnTypeAttachmentIsDownloadEnabled},onChange:function(){t.JQe()}}),t.$Qe.create().appendTo(n),t.$Qe.setValue(!!i.download||(0,a.isNullOrUndefined)(i.download)),t.d5=new r.Rze({label:{text:(0,o.getSR)().columnTypeAttachmentIsClearEnabled},onChange:function(){t.JQe()}}),t.d5.create().appendTo(n),t.d5.setValue(!!i.clear||(0,a.isNullOrUndefined)(i.clear)),n},t.prototype.JQe=function(){var t,n,i,e,o,r=this;this.LEt.onChange({fileType:null===(t=r.cb)||void 0===t?void 0:t.value,maxSize:null===(n=r.XQe)||void 0===n?void 0:n.value,preview:null===(i=r.KQe)||void 0===i?void 0:i.value,download:null===(e=r.$Qe)||void 0===e?void 0:e.value,clear:null===(o=r.d5)||void 0===o?void 0:o.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=h(h({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.WQe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.WQe=a.keyword_null},t.prototype.L0=function(){var t=this;t.cb&&t.cb.dispose(),t.cb=a.keyword_null,t.XQe&&t.XQe.dispose(),t.XQe=a.keyword_null,t.KQe&&t.KQe.dispose(),t.KQe=a.keyword_null,t.$Qe&&t.$Qe.dispose(),t.$Qe=a.keyword_null,t.d5&&t.d5.dispose(),t.d5=a.keyword_null},t}(),n.YQe=d},419:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m=this&&this.vJr||(C=function(t,n){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},C(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}C(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),C;function w(t){return{field:t.rYt,ascending:t.ascending,compare:t.compareFunction}}function y(t){var n,i,e,o=I(b);for(n=0,i=o;n<i.length;n++)e=i[n],b[e].call(t)}function x(t){var n=t.Mf;n.hA=o.ClipboardPasteOptions.values,n.lF=o.CopyToOptions.value,n.JT=!1,n.UB=!1}function A(t,n,i,e,r,u){var c,a,s,l,f,d,h,v,M,I,N,D=t.NMi;return D.isAlternatingRowStyleColumn(i)?(c=D.FDi(i),D&&(g(e)||e===o.SheetArea.viewport)&&!t.oNi&&!c&&n>=0&&i>=0&&(a=D.options.alternatingRowOptions)&&(s=a.step||[1,1],l=g(s[0])?1:s[0],f=g(s[1])?1:s[1],d=a.style,!g(d)&&l>=0&&f>=0&&l+f!==0&&(h=void 0,v=void 0,Array.isArray(d)?(h=d[0],v=d[1]):h=d,u=!0,M=l+f,N=void 0,(N=(I=Math.floor(n%M))<l?h:v)&&(r.h5(N,!1,45),(0,o.composeParentStyle)(N,r,t,!1,45,!0)))),u):u}Object.defineProperty(n,"__esModule",{value:!0}),n.overrideProperties=n.overrideMethods=n.ColumnHeaderStateRule=n.SR=void 0,e=i(7234),o=i(1376),r=i(8333),u=i(447),c=i(8301),a=i(1434),s=i(7929),l=i(7669),f=i(2221),n.SR={en:c},d=new e.Common.ResourceManager(n.SR,"TableSheet"),h=d.getResource.bind(d),v=e.Common.lt,g=v.ht,M=v.q8,I=Object.keys,N=null,D=function(t){function n(n,i,e){var r=t.call(this,n,i,e,[new o.Range(-1,-1,-1,-1)])||this;return r.nT=o.SheetArea.colHeader,Object.defineProperty(r,"sheetArea",{get:function(){return r.nT}}),r}return m(n,t),n}(r.StateRule),n.ColumnHeaderStateRule=D,b={aL:function(){var t=this,n=t.Mf,i=new s.GroupHideRowFilter(new o.Range(-1,-1,-1,-1),this);i.filterDialogVisibleInfo({sortByValue:!0,sortByColor:!1,filterByColor:!1,filterByValue:!0,listFilterArea:!0}),n.rowFilter(i)},OTi:function(){var t=this,n=t.Mf;n.sortRangeOriginal=n.sortRange,n.sortRange=function(i,e,o,r,u,c,a,s,l){var d,h,v,g=this,M=g.getDataSource();return!!M&&(h=(d=n.rowFilter()).Dze(),v=c.map((function(n){return d.setSortInfo(n),n.rYt=t.dDi(n.index),w(n)})),d.jFt()&&(v=d.xno().map((function(t){return w(t)}))),M.sort(v),this.qni.addUndoChanges({type:f.TableSheetUndoType.SortMapChanged,oldData:h}),!0)}},ETi:function(){var t,n=this,i=this,e=i.Mf;e.onItemRemoved=function(t){this.zw()},e.onItemGotten=function(t,n,e){var o;return t&&t.isGroup&&!g(t.OFt)?i.keo()===u.GroupLayoutMode.tabular&&i.DMi(t.OFt,n)?e:N:i.VDi(n)?e:void 0},e.TF=function(){return n},e.hP=function(){var t=this.parent;return!t||t.getActiveSheetTab()===this.NMi},e.FT=function(){return h().Exp_InvalidOperationInProtectForTableSheet},g(e.UTi)&&(e.UTi=e.jT,e.jT=function(){var t,n,i=[];for(t=0;t<arguments.length;t++)i[t]=arguments[t];this.sw?(n=this.C6(this.sw.rowViewportIndex,this.sw.colViewportIndex))!==o.SheetArea.rowHeader&&n!==o.SheetArea.corner&&e.UTi.apply(e,i):e.UTi.apply(e,i)}),e.Ci=function(t,n,r){var u;return r===o.SheetArea.rowHeader&&i.CDi(t,n)?u=i.ODi(t):(u=e.CP(t,n,r),g(u)&&!g(t)&&r===o.SheetArea.rowHeader&&(u=e.CP(-1,n,r))),u},t=e.AO.bind(e),e.AO=function(){var n=i.getDataView(),e;return(n&&n.length()||0)>0?t():[]}},GTi:function(){var t=this,n=this.Mf;n.getCompositeStyle=function(i,e,r,u,c,a,s){var f,d,h,v,I,D,b,m;if(void 0===s&&(s={}),g(r)&&(r=3),d=this,h=new o.Style,v=!1,I=t.nIe(i,e,r),0!==r){if(v=d.IL(i,e,r,h,v,u),s.hasTableStyle)return h;v=d.xL(i,e,r,h,v,s.table,s.isForFilter),v=(f=d.NL(i,e,r,h,v,s.pivotTable,s.isForFilter,s.pivotTableStyle)).changed,h=f.destInfo,v=d.kL(i,r,h,v,c),(D=1===r&&i<n.Ut.getFreeAreaRowCount(r))||I||(v=d.DL(e,r,h,v,a)),b=M(s.rowSpacingIndex),I||b||(v=A(d,i,e,r,h,v))}return d._L(r,h,v,s.ignoreSheet),(0,l.setInsertedRowCrossStyle)(t,i,e,h,r),I&&(h.cellButtons=[],h.locked=!0),3===r&&t.iDi(i,e)&&(h.locked=!0),3!==r||!t.zDi(i)||g(a)||g(a.formatter)||(m=void 0,(m="string"==typeof a.formatter?a.formatter:a.formatter.formatCached)&&m.indexOf("=")>-1&&(h.formatter=N)),h}},l0t:function(){var t,n=this,i=n.Mf,e=i._1,r=e.getStateMethods;r[4]=function(t,i,e,r,u){if(e)return!1;if(u===o.SheetArea.colHeader){if(!(0,a.nMi)(this,t,i))return!1;var c=(0,l.getColumnInfo)(n,i);if(c)return c.readonly}return n.pNi(i)},r[1024]=function(t,n,e,r,u){return!e&&u===o.SheetArea.colHeader&&(!!(0,a.nMi)(this,t,n)&&n<i.frozenColumnCount())},r[2048]=function(t,i,e,r,u){if(e||u!==o.SheetArea.colHeader)return!1;if(!(0,a.nMi)(this,t,i))return!1;var c=(0,l.getColumnInfo)(n,i);return!!c&&c.isPrimaryKey},r[4096]=function(t,i,e,r,u){var c,s;return!e&&u===o.SheetArea.colHeader&&(!!(0,a.nMi)(this,t,i)&&(!!(c=(0,l.getColumnInfo)(n,i))&&((s=!(c.isPrimaryKey||c.readonly))&&c.required)))},r[o.RowColumnStates.dirty]=function(t,i,e){var o=n.getDataView();return!(!e||!o)&&(o.isUpdated(t)||o.isInserted(t))},r[o.RowColumnStates.inserted]=function(t){var i=n.getDataView();return i&&i.isInserted(t)},r[256]=function(t){var i=n.getDataView();return i&&i.isUpdated(t)},t=r[o.RowColumnStates.selected],r[o.RowColumnStates.selected]=function(i,o,r,u){if("function"==typeof t)return t.call(e.context,i,o,r,u)||n.aDi(i)}}},n.overrideMethods=y,n.overrideProperties=x},447:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.CustomSheetTab=n.GroupLayoutMode=n.GroupOutlinePosition=n.TriggerWhenType=n.ColumnTypes=void 0,e=i(1376),o=e.util.Z0,r=e.util.V0,function(t){t.Number="Number",t.Text="Text",t.Formula="Formula",t.Checkbox="Checkbox",t.Date="Date",t.Currency="Currency",t.Percent="Percent",t.Phone="Phone",t.Email="Email",t.URL="URL",t.Lookup="Lookup",t.CreatedTime="CreatedTime",t.ModifiedTime="ModifiedTime",t.Attachment="Attachment",t.Select="Select",t.Barcode="Barcode"}(u=n.ColumnTypes||(n.ColumnTypes={})),function(t){t.onNew="onNew",t.onNewAndUpdate="onNewAndUpdate"}(c=n.TriggerWhenType||(n.TriggerWhenType={})),function(t){t[t.none=0]="none",t[t.groupCell=1]="groupCell",t[t.rowHeader=2]="rowHeader",t[t.groupCellAll=3]="groupCellAll"}(a=n.GroupOutlinePosition||(n.GroupOutlinePosition={})),function(t){t[t.tabular=0]="tabular",t[t.outline=1]="outline",t[t.condensed=2]="condensed"}(s=n.GroupLayoutMode||(n.GroupLayoutMode={})),l=function(){function t(t){this.Hc(t)}return t.prototype.Hc=function(t){this.Zc=t,this.jft=e.SheetTabVisible.visible,this._gi=e.SheetType.customSheetTab},t.prototype.hg=function(t){this.onSetHost(t)},t.prototype.onSetHost=function(t){},t.prototype.L0=function(t,n){this.onDispose(t,n)},t.prototype.onDispose=function(t,n){},t.prototype.Zg=function(t){},t.prototype.pM=function(t){this.parent=t},t.prototype.getParent=function(){return this.parent},t.prototype.name=function(t){if(0===arguments.length)return this.Zc;this.Zc=t},t.prototype.visible=function(t){if(0===arguments.length)return this.jft;this.jft=!0===t?e.SheetTabVisible.visible:!1===t?e.SheetTabVisible.hidden:t},t.prototype.b2=function(t,n){if(0===arguments.length)return this.ni;this.ni=t},t.prototype.ow=function(){},t.prototype.tw=function(){},t.prototype.aw=function(){},t.prototype.$C=function(t){},t.prototype.Wb=function(t,n){},t.prototype.Kb=function(t){},t.prototype.Fb=function(t,n){},t.prototype.onHorizontalDockScroll=function(t,n){},t.prototype.Gb=function(t){},t.prototype.WC=function(t,n,i){this.parent._hScrollbar.w4()},t.prototype.QC=function(t,n,i){this.parent._vScrollbar.w4()},t.prototype.Cg=function(){this.onDoResize()},t.prototype.onDoResize=function(){},t.prototype.suspendPaint=function(){},t.prototype.resumePaint=function(){},t.prototype.isPaintSuspended=function(){return!1},t.prototype.bind=function(t,n,i){},t.prototype.unbind=function(t,n){},t.prototype.unbindAll=function(){},t.prototype.D3=function(t,n,i){},t.prototype._3=function(t,n){},t.prototype.E3=function(){},t.prototype.suspendEvent=function(){},t.prototype.resumeEvent=function(){},t.prototype.isEventSuspended=function(){return!1},t.prototype.bC=function(){},t.prototype.ki=function(t,n,i){},t.prototype.isEditing=function(){return!1},t.prototype.ol=function(t,n,i,e){return!0},t.prototype.currentTheme=function(t){},t.prototype.FM=function(){},t.prototype.toJSON=function(t){},t.prototype.fromJSON=function(t,n,i,e,o){},t.prototype.uw=function(){return{top:0,left:0}},t.prototype.ot=function(){return new e.Rect(0,0,0,0)},t.prototype.hitTest=function(t,n,i,e){return null},t.prototype.e1e=function(){},t.prototype.parameter=function(t){var n,i,e,u;if(0===arguments.length){for(e in i={},n=this.o1e)n.hasOwnProperty(e)&&(i[e]=r(n[e]));return i}if(t){for(e in u={},t)t.hasOwnProperty(e)&&(u[e]=o(t[e]));this.o1e=u}},t}(),n.CustomSheetTab=l},591:function(t,n,i){var e,o,r,u;function c(t){return"boolean"==typeof t}function a(t){return"string"==typeof t}function s(t){return t&&"="===t[0]}function l(t){return t&&t.indexOf(".")>-1}function f(t){return"number"==typeof t}function d(t){return e.Common.ct.W0(t)}function h(t){return"function"==typeof t}function v(t,n){var i=t.get(0);M(i)?i.aer():i.dispatchEvent(new Event(n))}function g(t){return t&&t.indexOf("sjs-")>-1}function M(t){return g(t.nodeName.toLowerCase())}function I(t){var n=t.get(0);return M(n)?n.shadowRoot&&n.shadowRoot.querySelector("input"):n}function N(t,i){var e,r,u=(0,o.GC$)(t,i);return M(t)&&(u.bur=function(t){u.get(0).bur(t)},u.focus=function(){u.get(0).ZS()},u.setItems=function(t){t&&t.length>0&&u.attr("items",JSON.stringify(t));try{u.get(0).Cor(t)}catch(t){}},u.val=function(t){var i=u.get(0);if(!arguments.length)return i.Sl();try{!(0,n.isNullOrUndefined)(i.getAttribute("value"))||i.shadowRoot&&!(0,n.isNullOrUndefined)(i.shadowRoot.innerHTML)&&""!==i.shadowRoot.innerHTML?i.Kbt(t):i.y4=t}catch(t){}(0,n.isNullOrUndefined)(t)||i.setAttribute("value","string"==typeof t?t:""+t)},e=u.bind.bind(u),u.bind=function(t,i,o){void 0===o&&(o=i,i=n.keyword_undefined),"input"!==t?e(t,i,o):e(t="sjs-value-change",i,(function(t){var i=!1,e,r=!1;(0,n.isNullOrUndefined)(t.target)?(i=!0,t.target={value:t.detail}):t.target.value!==t.detail&&(r=!0,e=t.target.value,t.target.value=t.detail),o(t),r&&(t.target.value=e),i&&delete t.target}))},r=u.unbind.bind(u),u.unbind=function(t){"input"===t&&(t="sjs-value-change"),r(t)}),u}function D(t){return N(u(t))}function b(t){return C(t,!0)}function m(t){return C(t,!1)}function C(t,n){var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e=new RegExp("(?:&|<|>|\"|'|`)","g"),o={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},r=new RegExp("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)","g"),u=n?e:r,c=n?i:o;return u.test(t)?t.replace(u,(function(t){return c[t]})):t}Object.defineProperty(n,"__esModule",{value:!0}),n.dI=n.j0=n.createDCElement=n.DC$=n.getSJSInput=n.isSJSElem=n.isSJSComponent=n.triggerEvent=n.isFunction=n.isDate=n.isNumber=n.isRelation=n.isFormula=n.isString=n.isBoolean=n.keyword_undefined=n.keyword_null=n.cloneObject=n.isNullOrUndefined=n.DOCUMENT=void 0,e=i(7234),o=i(1376),n.DOCUMENT=document,r=e.Common.lt,u=o.mt.En,n.isNullOrUndefined=r.ht,n.cloneObject=r.tv,n.keyword_null=null,n.keyword_undefined=void 0,n.isBoolean=c,n.isString=a,n.isFormula=s,n.isRelation=l,n.isNumber=f,n.isDate=d,n.isFunction=h,n.triggerEvent=v,n.isSJSComponent=g,n.isSJSElem=M,n.getSJSInput=I,n.DC$=N,n.createDCElement=D,n.j0=b,n.dI=m},605:function(n){n.exports=t.Spread.Sheets.StatusBar},806:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M=this&&this.vJr||(N=function(t,n){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},N(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),I=this&&this.mJr||function(){return I=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},I.apply(this,arguments)},N;function D(t){return"number"==typeof t}function b(t){return"string"==typeof t}function m(t){return t instanceof Function}function C(t){return"object"==typeof t&&!a(t)}function w(t){return t instanceof Array}function y(t){return"boolean"==typeof t}function x(t){return b(t)?"ROWACTION_".concat(t):t}function A(t,n){C(n)?(t.imageType=n.imageType,t.imageSrc=n.imageSrc,t.imageSize=n.imageSize):(t.imageType=l,t.imageSrc=l,t.imageSize=l)}function j(t,n,i,e,r,u,c){var s=S(t,n,i,e,c);if(!a(s))return r[u]=new o.Rect(s.x,s.y,s.width,s.height),r[u].offsetX=s.x-c.x,r[u].offsetY=s.y-c.y,r[u]}function T(t,n,i,e,o,r){z(t,n.x,n.y,n.width,n.height,i,e,o,r)}function z(t,n,i,e,o,u,c,a,s){var l,f;t.save(),t.rect(n,i,e,o),t.clip(),t.beginPath(),(f=Q(u,(l=a.dataRange?a.dataRange.convertContext(a):a).row))&&p(t,u,n,i,e,o,f,a,s,r.middleCenter),t.restore()}function p(t,n,i,e,r,u,c,a,s,l){var f,d,h,g,M,I,N,D,b,m,C,w,y;t.save(),t.rect(i,e,r,u),t.clip(),t.beginPath(),(d=(f=a.sheet).BO()).getState(c)?d.qh(c)&&(h=f.zoom(),g=new o.Rect(i,e,r,u),M=Z(n),I=U(n),D=L(l,g,N=new o.Rect(0,0,M*h,I*h)),m=(b=d.getImage(c)).width,C=b.height,o.mt.Tt.msie&&n.imageType&&(n.imageType===o.ButtonImageType.custom?(v[c]||(b.style.position="absolute",b.style.left="-10000px",b.style.top="-100000px",document.body.appendChild(b),v[c]={width:b.width,height:b.height},document.body.removeChild(b)),m=v[c].width,C=v[c].height):(m=12,C=12)),s&&o.mt.Tt.msie&&D.x+D.width>s.x+s.width?(w=s.x+s.width-D.x)>0&&(y=m/(M*h),t.drawImage(b,0,0,w*y,C,D.x,D.y,w,I*h)):t.drawImage(b,0,0,m,C,D.x,D.y,M*h,I*h)):d.addImage(c,"anonymous"),t.restore()}function L(t,n,i){var e=Math.max(0,(n.width-i.width)/2),u=Math.max(0,(n.height-i.height)/2);return t===r.leftCenter&&(e=0),new o.Rect(n.x+e,n.y+u,Math.min(i.width,n.width),Math.min(i.height,n.height))}function S(t,n,i,e,r){if(!(t+i<r.x||t>r.x+r.width||n+e<r.y||n>r.y+r.height))return t+i>r.x+r.width&&(i=r.x+r.width-t),n+e>r.y+r.height&&(e=r.y+r.height-n),t<r.x&&(t=r.x),n<r.y&&(n=r.y),new o.Rect(t,n,i,e)}function O(t,n){return D(t)?{imageType:t}:b(t)?{imageType:o.ButtonImageType.custom,imageSrc:t,imageSize:k(n)}:l}function k(t){return D(t)?{width:t,height:t}:t}function E(t,n,i,e){var o,r;return void 0===e&&(e=!0),o=i.sheet.zoom(),a(t.width)?(r=Z(t),e?r*o:r):(r=f(1,t.width),isNaN(r)&&(r=1),e?r*o:r)}function Z(t){var n;return t.imageSize&&("string"==typeof t.imageSize.width&&(n=d(t.imageSize.width)),"number"==typeof t.imageSize.width&&(n=t.imageSize.width)),(n===s||isNaN(n)||n<0)&&(n=12),n}function U(t){var n;return t.imageSize&&("string"==typeof t.imageSize.height&&(n=d(t.imageSize.height)),"number"==typeof t.imageSize.height&&(n=t.imageSize.height)),(n===s||isNaN(n)||n<0)&&(n=12),n}function G(t,n,i,e,o){var r=t.Ut.getValueForKey(n,i,h,e);return a(r)&&B(t,n,i,e,r={layout:{}}),r}function B(t,n,i,e,o){t.Ut.setValueForKey(n,i,h,o,e)}function R(t,n,i,e,o){var r;delete G(n,i,e,o).layout[t]}function P(t,n,i){var e,o,r=n.BO();for(e=0;e<t.length;e++)b(o=Q(t[e].option,i))&&r.addImage(o,"anonymous")}function Q(t,n){var i,e,r=null,u=t.imageType;if(a(t.imageType))return null;switch(e=(i=Y(t.enabled,n))||a(i),u){case o.ButtonImageType.dropdown:r=e?"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZ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MjAwMC9zdmciIGlkPSJleHBhbmQiIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjEycHgiPgogICAgICAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjEycHgiIHJ4PSI0cHgiIHJ5PSI0cHgiIHN0eWxlPSJzdHJva2U6ICNjYWNhY2E7IHN0cm9rZS13aWR0aDoxcHg7IGZpbGw6IG5vbmU7Ii8+CiAgICAgICAgPGxpbmUgeDE9IjJweCIgeTE9IjZweCIgeDI9IjEwcHgiIHkyPSI2cHgiIHN0eWxlPSJzdHJva2U6ICNjYWNhY2E7IHN0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgPGxpbmUgeDE9IjZweCIgeTE9IjJweCIgeDI9IjZweCIgeTI9IjEwcHgiIHN0eWxlPSJzdHJva2U6ICNjYWNhY2E7IHN0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICA8L3N2Zz4=";break;case o.ButtonImageType.custom:r=t.imageSrc}return r}function Y(t,n){return"function"==typeof t?t(n):t}Object.defineProperty(n,"__esModule",{value:!0}),n.paintImage=n.RowAction=n.ImagePosition=void 0,e=i(7234),o=i(1376),function(t){t[t.leftTop=0]="leftTop",t[t.leftCenter=1]="leftCenter",t[t.leftBottom=2]="leftBottom",t[t.middleTop=3]="middleTop",t[t.middleCenter=4]="middleCenter",t[t.middleBottom=5]="middleBottom",t[t.rightTop=6]="rightTop",t[t.rightCenter=7]="rightCenter",t[t.rightBottom=8]="rightBottom"}(r=n.ImagePosition||(n.ImagePosition={})),u=e.Common.lt,c=o.CellTypes.RowHeader,a=u.ht,s=null,l=void 0,f=Math.max,d=parseInt,h="rowActionParam",v={},g=function(t){function n(n,i){var e=t.call(this)||this;return e.Wgi=[],e.MU=n,e.DJ=i,e}return M(n,t),n.prototype.toJSON=function(){var n=t.prototype.toJSON.call(this);return delete n.MU,delete n.Wgi,delete n.DJ,n},n.prototype.build=function(t){this.Wgi=this.Hgi(t)},n.prototype.iIe=function(t,n){return t.NMi.tIe(n)?this.Wgi:[]},n.prototype.Hgi=function(t){var n=this,i=n.MU,e=n.MU.subActionOptions;return t=w(t.subActionOptions)?t.subActionOptions:[t],(w(e)?e:[i]).map((function(n,i){return I({rowActionOption:n,command:x(n.command),visible:!0},t[i])}))},n.prototype.Vgi=function(t,n){var i=-1;return y(t)?1===n.length?i=t?0:-1:n.length>1&&(i=t?1:0):D(t)&&(i=t),i},n.prototype.Fgi=function(t,n){var i=t.icons,e=void 0===i?[]:i,o=t.iconSelector,r=t.iLi,u=t.iconSize,c=this,a=c.DJ,s=c.Vgi(o?o(a.getDataItem(n),n,a):!r||r(l,n,a),e),f=e[s];return O(f,u)},n.prototype.Jgi=function(t){var n,i,e,o,r=this,u=t.dataRange?t.dataRange.convertContext(t):t,c=r.iIe(u.sheet,u.row),s=[];for(n=0;n<c.length;n++)e=(i=c[n]).visible,a(e)||m(e)&&e(u.row)||y(e)&&e?(o=r.Fgi(i.rowActionOption,u.row),a(o)?R(n,u.sheet,u.row,u.col,u.sheetArea):(s.push({index:n,width:0,option:i}),A(i,o))):R(n,u.sheet,u.row,u.col,u.sheetArea);return s},n.prototype.Xgi=function(t,n,i,e){var o,r,u=0;for(o=0;o<t.length;o++)r=E(t[o].option,i,e),t[o].width=r,u+=r;return n/2-u/2},n.prototype.Kgi=function(t,n,i,e,r,u,c,s){var l,f,d,h,v,g,M=this,I=s.sheet,N=s.row,D=s.col,b=s.sheetArea,m=new o.Rect(i,e,r,u),C=s.dataRange?s.dataRange.convertContext(s):s,w=M.Jgi(s);if(w.length>0){for(P(w,I,C.row),t.save(),t.rect(m.x,m.y,m.width,m.height),t.clip(),t.beginPath(),l=m.x+M.Xgi(w,m.width,c,s),d=(f=G(I,N,D,b)).layout,h=0;h<w.length;h++)v=w[h],g=j(l,m.y,v.width,m.height,d,v.index,m),a(g)||(T(t,g,v.option,c,s,f),l+=g.width);t.restore()}},n.prototype.paint=function(n,i,e,o,r,u,c,a){n&&(t.prototype.paint.call(this,n,i,e,o,r,u,c,a),this.Kgi(n,i,e,o,r,u,c,a))},n.prototype.getHitInfo=function(t,n,i,e,r){var u,c,a,s,l,f,d,h={x:t,y:n,row:r.row,col:r.col,cellRect:e,cellStyle:i,sheetArea:r.sheetArea,sheet:r.sheet,context:r,isRowAction:!0},v=r.dataRange?r.dataRange.convertContext(r):r,g=G(h.sheet,h.row,h.col,h.sheetArea,!0),M=this.iIe(v.sheet,v.row);if(!g||0===M.length)return null;for(l in u=g.layout,c=-1,a=h.x,s=h.y,u)if(u.hasOwnProperty(l)&&(f=void 0,d=u[l],(f=new o.Rect(e.x+d.offsetX,e.y+d.offsetY,d.width,d.height))&&f.contains(a,s))){c=+l;break}return-1!==c&&(h.actionHitInfo={index:c,option:M[c]}),h},n.prototype.processMouseUp=function(t){var n,i,e,r,u,c,l,f,d,h,v,g,M,I,N,D,C;return!!t&&(n=t.sheet,i=t.row,e=t.col,r=t.cellRect,u=t.sheetArea,c=t.actionHitInfo,f=(l=n.getSelections()).length>1||1===l.length&&l[0].rowCount>1,d=t.isShift,h=t.isCtrl,!(d||h||f||!(i===n.ui&&e===n.ci||u!==o.SheetArea.rowHeader||n.endEdit()))&&(g=(v=t.context.dataRange)?t.context.dataRange.convertContext(t.context):t.context,D=(M=this).MU,a(c)?(I=x(D.command),N=!0):(I=(C=c.option).command,N=Y(C.enabled,g.row)),!(!n||a(I)||!N&&!a(N))&&(n.getActiveRowIndex()===i&&n.getActiveColumnIndex()===e||n.eR(i,-1,1,-1,2),b(I)?n.getParent().commandManager().execute({cmd:I,row:g.row,col:g.col,sheetName:g.sheet.name(),sheetArea:g.sheetArea,isDataRange:v}):m(I)&&I.call(s,g.sheet,g.row,g.col,g.sheetArea),t.isReservedLocation=!0,n.repaint(r),!0)))},n.prototype.processMouseMove=function(t){var n,i,e,o,r,u,c,s;return!!t&&(n=this,i=t.actionHitInfo,o=n.MU,u=(r=t.context.dataRange?t.context.dataRange.convertContext(t.context):t.context).sheet.Ut.Ci(r.row,r.col,r.sheetArea),c=r.sheet.Ut.Ci(-1,r.col,r.sheetArea),!b(u)&&(e=a(i)?o.tooltip:(s=i.option).rowActionOption.tooltip,!(!r.sheet||e===c)&&(r.sheet.Ut.$n(-1,r.col,e,r.sheetArea),!0)))},n}(c),n.RowAction=g,n.paintImage=p},808:function(t,n,i){var e=this&&this.hJr||(Object.create?function(t,n,i,e){void 0===e&&(e=i);var o=Object.getOwnPropertyDescriptor(n,i);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[i]}}),Object.defineProperty(t,e,o)}:function(t,n,i,e){void 0===e&&(e=i),t[e]=n[i]}),o=this&&this.dJr||function(t,n){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(n,i)||e(n,t,i)};Object.defineProperty(n,"__esModule",{value:!0}),o(i(447),n),i(8680),i(4488),o(i(6277),n),i(6602),o(i(6114),n),i(3889),i(1850),o(i(419),n),o(i(7621),n)},1090:function(t,n,i){var e,o,r,u,c,a,s=this&&this.vJr||(l=function(t,n){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},l(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}l(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),l;Object.defineProperty(n,"__esModule",{value:!0}),n.leo=void 0,e=i(1376),o=i(8057),r=i(9846),u=e.mt,c=u.En,a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.ZX=function(){var t,n,i=this,o=(0,e.GC$)(c("div"));return o.addClass("gc-defined-column-barcode-options-container"),t=[],i.ato(o,"eccMode",[{text:"ECC000",value:"ECC000"},{text:"ECC050",value:"ECC050"},{text:"ECC080",value:"ECC080"},{text:"ECC100",value:"ECC100"},{text:"ECC140",value:"ECC140"},{text:"ECC200",value:"ECC200"}],void 0,(function(i){var e=i.value;"ECC140"===e?(n.isDisable()&&n.resetDisable(),t.forEach((function(t){t.isDisable()||t.resetDisable()}))):"ECC200"===e?(t.forEach((function(t){t.isDisable()&&t.resetDisable()})),n.isDisable()||n.resetDisable()):(t.forEach((function(t){t.isDisable()||t.resetDisable()})),n.isDisable()||n.resetDisable())})),t.push(i.cto(o,"structureAppend",!1)),t.push(i.ato(o,"ecc200SymbolSize",[{text:"squareAuto",value:"squareAuto"},{text:"rectangularAuto",value:"rectangularAuto"},{text:"square10",value:"square10"},{text:"square12",value:"square12"},{text:"square14",value:"square14"},{text:"square16",value:"square16"},{text:"square18square20",value:"square18square20"},{text:"square22",value:"square22"},{text:"square24",value:"square24"},{text:"square26",value:"square26"},{text:"square32",value:"square32"},{text:"square36",value:"square36"},{text:"square40",value:"square40"},{text:"square44",value:"square44"},{text:"square48",value:"square48"},{text:"square52",value:"square52"},{text:"square64",value:"square64"},{text:"square72",value:"square72"},{text:"square80",value:"square80"},{text:"square88",value:"square88"},{text:"square96",value:"square96"},{text:"square104",value:"square104"},{text:"square120",value:"square120"},{text:"square132",value:"square132"},{text:"square144",value:"square144"},{text:"rectangular8x18",value:"rectangular8x18"},{text:"rectangular8x32",value:"rectangular8x32"},{text:"rectangular12x26",value:"rectangular12x26"},{text:"rectangular12x36",value:"rectangular12x36"},{text:"rectangular16x36",value:"rectangular16x36"},{text:"rectangular16x48",value:"rectangular16x48"}],!1)),t.push(i.ato(o,"structureNumber",(0,r.getItems)(15,!1,!0),!1)),t.push(i.ato(o,"ecc200EncodingMode",[{text:"auto",value:"auto"},{text:"ASCII",value:"ASCII"},{text:"C40",value:"C40"},{text:"Text",value:"Text"},{text:"X12",value:"X12"},{text:"EDIFACT",value:"EDIFACT"},{text:"Base256",value:"Base256"}],!1)),t.push(i.teo(o,"fileIdentifier",0,254,!1)),n=i.ato(o,"ecc00_140Symbol",[{text:"auto",value:"auto"},{text:"square9",value:"square9"},{text:"square11",value:"square11"},{text:"square13",value:"square13"},{text:"square15",value:"square15"},{text:"square17",value:"square17"},{text:"square19",value:"square19"},{text:"square21",value:"square21"},{text:"square23",value:"square23"},{text:"square25",value:"square25"},{text:"square27",value:"square27"},{text:"square29",value:"square29"},{text:"square31",value:"square31"},{text:"square33",value:"square33"},{text:"square35",value:"square35"},{text:"square37",value:"square37"},{text:"square39",value:"square39"},{text:"square41",value:"square41"},{text:"square43",value:"square43"},{text:"square45",value:"square45"},{text:"square47",value:"square47"},{text:"square49",value:"square49"}],!1),o},n}(o.Meo),n.leo=a},1163:function(t,n,i){var e,o,r,u,c,a,s,l,f,d;function h(t){var n,i=t.match(c);if(i&&i[0])return n=i[0],-1!==f.indexOf(n)?-1:parseInt(n.split("-")[1],16)}function v(t){return t.replace(c,(function(t,n){var i="[$";return n.length>0&&"-"!==n[0]&&(i+="$"),i+="-409]"}))}function g(t,n){if(!t)return t;var i=t.split(";");return(i=i.map((function(t,e){return 4===i.length&&2===e?t.replace(new RegExp("\\?{"+n+"}"),""):t.replace(u,"")}))).join(";")}function M(t){var n=e.Common.CultureManager.getCultureInfoDict(),i=(0,o.getSR)().columnTypeNumberFormatting.japanEmperorReignDateFormat,u=(0,o.getSR)().columnTypeNumberFormatting.japanEmperorReignFirstYearDateFormat,c={category:4,index:-1};if(t=t.replace(l,""),u.indexOf(t)>-1?(c.index=u.indexOf(t),c.locale="ja-jp",c.calendarType="JER",1===c.index&&(c.numberSystem=1)):i.indexOf(t)>-1?(c.index=i.indexOf(t),c.locale="ja-jp",c.calendarType="JER"):Object.keys(n).forEach((function(i){var e,o,u,s,l;if(!(c.index>-1)&&"invariant"!==i){if(e=i,o=t,!n[i].predefinedFormats||!n[i].predefinedFormats.Date){if(u=h(t),!(0,r.isNullOrUndefined)(u)&&u!==n[i].id)return;e=a,o=v(t)}(l=(s=n[e].predefinedFormats.Date).indexOf(o))>-1&&(c.index=l,c.locale=i,c.calendarType="western")}})),c.index>-1)return c}function I(t){var n=e.Common.CultureManager.getCultureInfoDict(),i={category:5,index:-1};if(Object.keys(n).forEach((function(e){var o,u,c,s,l;if(!(i.index>-1)&&"invariant"!==e){if(o=e,u=t,!n[e].predefinedFormats||!n[e].predefinedFormats.Time){if(c=h(t),!(0,r.isNullOrUndefined)(c)&&c!==n[e].id)return;o=a,u=v(t)}(l=(s=n[o].predefinedFormats.Time).indexOf(u))>-1&&(i.index=l,i.locale=e)}})),i.index>=0)return i}function N(t,n){var i,u=e.Common.CultureManager.getCultureInfoDict(),c={category:3,index:-1};if(t&&(i=g(t,n).replace(l,""),Object.keys(u).forEach((function(t,e){var s,l;if(!(c.index>-1)&&"invariant"!==t){if(s=t,!u[t].predefinedFormats||!u[t].predefinedFormats.Accounting&&!u[s].predefinedFormats.Comma){if(l=h(i),!(0,r.isNullOrUndefined)(l)&&l!==u[t].id)return;s=a,i=v(i)}g(u[s].predefinedFormats.Accounting,2)===i?(c.decimalPlaces=n,c.locale=t,c.index=e):g(u[s].predefinedFormats.Comma,2)===i&&(c.decimalPlaces=n,c.locale=(0,o.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0],c.index=e)}}))),c.index>-1)return c}function D(t,n){var i,e,r;if(t&&(i=(0,o.getSR)().columnTypeNumberFormatting.percentageFormats,e=null,e=t,0!==n&&(r="\\"+t.substring(t.indexOf("."),t.indexOf(".")+n+1),e=t.replace(new RegExp(r,"g"),"")),e===i[0]))return{decimalPlaces:n,category:6,index:0}}function b(t,n){var i,e,r,u,c={category:1,index:-1};if(t)for(i=(0,o.getSR)().columnTypeNumberFormatting.numberCategoryFormats,e=t,0!==n&&(r="\\"+t.substring(t.indexOf("."),t.indexOf(".")+n+1),e=t.replace(new RegExp(r,"g"),"")),e=e.replace(l,""),u=0;u<i.length;u++)if(e===i[u])return c.decimalPlaces=n,-1!==t.indexOf("#,")&&(c.useThousand=!0),c.index=u%(i.length/2),c}function m(t,n){var i=e.Common.CultureManager.getCultureInfoDict(),c={category:2,index:-1},s=t;if(t&&(s=t.replace(u,"").replace(l,""),(0,o.getSR)().columnTypeNumberFormatting.currencyFormatWithoutSymbol.indexOf(s)>-1?(c.decimalPlaces=n,c.locale=(0,o.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0],c.index=(0,o.getSR)().columnTypeNumberFormatting.currencyFormatWithoutSymbol.indexOf(s)):Object.keys(i).forEach((function(t){var e,o,l;if(!(c.index>-1)&&"invariant"!==t){if(e=i[t].predefinedFormats.Currency,!i[t].predefinedFormats||!i[t].predefinedFormats.Currency){if(o=h(s),!(0,r.isNullOrUndefined)(o)&&o!==i[t].id)return;s=v(s),e=i[a].predefinedFormats.Currency}if(e&&e.length>0){if(c.index>-1)return;(l=(e=e.map((function(t){return t.replace(u,"")}))).indexOf(s))>=0&&(c.decimalPlaces=n,c.locale=t,c.index=l)}}})),c.index>-1))return c}function C(t,n){var i="\u200e",e=n.id,o=d.hasOwnProperty(e);return t.replace(c,(function(t,e,r,u,c,a){var s="[$";return u.length>0&&"$"===u[0]&&(s+=n.NumberFormat.currencySymbol?n.NumberFormat.currencySymbol:"$"),s+=(o?i:"")+"-"+n.id.toString(16)+"]",o?e+r+c+s+a:e+r+s+c+a}))}function w(t,n){var i,r,u,c,a,s=e.Common.CultureManager.getCultureInfo(t);if(s)return!(r=(i=s.predefinedFormats&&s.predefinedFormats[n])instanceof Array)&&i||r&&i.length>0?i:(u=e.Common.CultureManager.culture(),(i=(a=(c=e.Common.CultureManager.getCultureInfo(u)).predefinedFormats)[n]||(0,o.getSR)().columnTypeNumberFormatting.commonFormats[n]&&(0,o.getSR)().columnTypeNumberFormatting.commonFormats[n].format)instanceof Array?i=i.map((function(t){var n=t.split(";");return(n=n.map((function(t){return C(t,s)}))).join(";")})):"object"==typeof i?{}:i.split(";").map((function(t){return C(t,s)})).join(";"))}function y(t){var n,i,e="";if(t)for(n=0;n<t.length;n++)t[n]&&(i=t[n].match(c))&&i[0]&&(e=i[0],t[n]=t[n].replace(c,"[$]"));return e}function x(t,n){var i,e;if(n)for(i=0;i<t.length;i++)t[i]&&(e=t[i].indexOf("[$]"))>-1&&(t[i]=t[i].slice(0,e)+n+t[i].slice(e+3))}function A(t,n){var i,o=e.Common.CultureManager.getCultureInfoDict(),r=[];return n&&(r=r.concat(n)),i=e.Common.CultureManager.culture(),Object.keys(o).sort((function(t,n){return t===i?-1:1})).forEach((function(n){if("invariant"!==n){var i=o[n];2===t||3===t?r.push({text:i.NumberFormat.currencySymbol+" "+i.displayName,value:n}):r.push({text:i.displayName,value:n})}})),r}function j(t){var n,i,e,o;if(!t||"General"===t)return{category:0,index:0};if("@"===t)return{category:9,index:0};if(n=M(t)||I(t))return n;if(i=0,t&&-1!==t.indexOf("."))for(o=(e=t.indexOf("."))+1;o<t.length&&"0"===t.substring(o,o+1);o++)i++;return(n=N(t,i)||D(t,i)||b(t,i)||m(t,i))||{category:11,index:0}}Object.defineProperty(n,"__esModule",{value:!0}),n.parseFormat=n.getListItems=n.afterAdjustFormatString=n.beforeAdjustFormatString=n.getPredefinedFormats=n.formatCategories=n.decimalPlacesWithZeroDotReg=void 0,e=i(7234),o=i(6114),r=i(591),u=/\.0*/g,n.decimalPlacesWithZeroDotReg=/(0)(\.?(0*)?)/g,c=/\[\$(.?-.*?)\]/g,a="en-us",l=new RegExp(s="\\\\","g"),f=["[$\u20ac-1]","[$\u20ac-2]"],n.formatCategories=["General","Number","Currency","Accounting","Date","Time","Percentage","Fraction","Scientific","Text","Special","Custom"],d={4097:!0,14337:!0,15361:!0,5121:!0,3073:!0,2049:!0,11265:!0,13313:!0,12289:!0,6145:!0,8193:!0,17409:!0,16385:!0,1025:!0,10241:!0,7169:!0,9217:!0,1170:!0},n.getPredefinedFormats=w,n.beforeAdjustFormatString=y,n.afterAdjustFormatString=x,n.getListItems=A,n.parseFormat=j},1376:function(n){n.exports=t.Spread.Sheets},1434:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z=this&&this.vJr||(G=function(t,n){return G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},G(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}G(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),U=this&&this.mJr||function(){return U=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},U.apply(this,arguments)},G;function B(t){return void 0===t}function R(t,n){return d(t)&&(t=Number.MIN_VALUE),d(n)&&(n=Number.MIN_VALUE),l(t,n)}function P(t){return Q(t)||Y(t)}function Q(t){return t===o.GroupLayoutMode.outline}function Y(t){return t===o.GroupLayoutMode.condensed}function W(t,n){var i,e;return t?(e=t.headerStyle&&!!t.headerStyle.formatter,i=q(t.headerStyle,n),e||(i.formatter=a)):(i=n.clone()).formatter=a,i}function H(t,n){return t?q(t.style,n):n}function V(t){var n=new e.Style;return B(t.backColor)||(n.backColor=t.backColor),B(t.foreColor)||(n.foreColor=t.foreColor),B(t.font)||(n.font=t.font),B(t.themeFont)||(n.themeFont=t.themeFont),B(t.cellPadding)||(n.cellPadding=t.cellPadding),n}function F(t){return _(t.value,t.caption)}function _(t,n){return d(t)?a:n?"".concat(n).concat((0,c.getSR)().TextColon," ").concat(t):""+t}function J(t){return X(t.value,t.field)}function X(t,n){return d(t)?""+n:"".concat(n).concat((0,c.getSR)().TextColon," ").concat(t)}function K(t,n,i){var o;return B((o=t instanceof e.Style?t.clone():new e.Style(t)).foreColor)&&i&&!B(i.foreColor)&&(o.foreColor=i.foreColor),n&&o.v5(n),o}function q(t,n){if(t){var i=K(t);n&&i.compose(n),n=i}return n&&(delete n.cellButtons,delete n.dropDowns),n}function $(t,n){return t.hAlign===e.HorizontalAlign.general||d(t.hAlign)?n:t.hAlign}function tt(t,n,i){var e,o;for(o in t||(t={}),e=n[i])e.hasOwnProperty(o)&&d(t[o])&&(t[o]=U(U({},e[o]),{value:n.value}));return t}function nt(t,n,i){var e,o,r;for(o in t)t.hasOwnProperty(o)&&((r=t[o])[n]&&(e=tt(e,r,n)),i&&(e=tt(e,r)));return e}function it(t,n){var i,e,o,r,u,c;for(i in t)"parent"!==i&&"children"!==i&&(n[i]=t[i]);for(n.children=[],o=0,r=e=t.children;o<r.length;o++)u=r[o],c={},n.children.push(c),it(u,c)}function et(t){var n,i,e,o=t.children;for(n=0,i=o;n<i.length;n++)(e=i[n]).parent=t,et(e)}function ot(t,n){var i,e,o,r,u=!0,c=t.start===n.start&&t.end===n.end,a=t.children.length===n.children.length;if(c&&a)for(i=t.children.length,e=0;e<i&&!1!==(u=ot(o=t.children[e],r=n.children[e]));e++);else u=!1;return u}function rt(t){return t&&t.row&&"number"==typeof t.row&&t.row>0?t.row:a}function ut(t){var n,i,e,o=0,r=null===(e=null===(i=null===(n=null==t?void 0:t.cellNode)||void 0===n?void 0:n.field)||void 0===i?void 0:i.extra)||void 0===e?void 0:e.spacing;return r&&(o=rt(r)),o}function ct(t){if(t.dataRange)return t.dataRange.convertContext({sheet:t.sheet,row:t.row,col:t.col,sheetArea:t.sheetArea})}function at(t){return!d(t)&&""!==t}function st(t,n,i,e){return at(n)&&at(e)?"".concat(t," ").concat(n," | ").concat(i," ").concat(e):at(n)?"".concat(t," ").concat(n):at(e)?"".concat(i," ").concat(e):void 0}function lt(t,n,i){var o,r,u,c,a=t.getRowCount(e.SheetArea.colHeader);for(u=a-1;u>=0;u--)if(c=t.getValue(u,i,e.SheetArea.colHeader),d(o))o=c,r=u;else{if(o!==c)break;r=u}return n===r}Object.defineProperty(n,"__esModule",{value:!0}),n.Grouping=n.nMi=n.getHorizontalAlign=n.getGroupHeaderValueFromCondensed=n.getValueFromCondensed=n.composeValueStyle=n.composeHeaderStyle=n.isGroupCondensedLayout=n.isGroupOutlineLayout=n.isGroupOutlineCondensedLayout=void 0,e=i(1376),o=i(447),r=i(7234),u=i(8966),c=i(6114),a=void 0,s=Math.round,l=Math.max,f=Math.ceil,d=r.Common.lt.ht,h=e.I.fl,g=(v="gc-group")+"-box",M={position:"header"},n.isGroupOutlineCondensedLayout=P,n.isGroupOutlineLayout=Q,n.isGroupCondensedLayout=Y,n.composeHeaderStyle=W,n.composeValueStyle=H,n.getValueFromCondensed=F,n.getGroupHeaderValueFromCondensed=J,n.getHorizontalAlign=$,I=function(){function t(){}return t.prototype.Hc=function(t,n){var i={level:-1,collapsed:!1,children:[],parent:a,start:0,end:n},e=0,o=0;this.eMi(t,e,o,i),this.oMi&&this.wno(this.oMi,i),this.oMi=i},t.prototype.eMi=function(t,n,i,e){var o,r,u,c,a,s,l=e.children,f=t.childrenArray&&t.childrenArray[0]||[],d=0;for(o=0,r=f;o<r.length;o++)c=(u=r[o]).recordRowNumbers,u.childrenArray&&u.childrenArray[0]&&0!==u.childrenArray[0].length?u.childrenArray&&u.childrenArray[0]&&u.childrenArray[0].length&&(a={level:i,value:u.value,collapsed:!1,children:[],parent:e,start:n,end:0,spacingIndex:u.spacingIndex},s=this.eMi(u,n,i+1,a),a.end=n+s-1,l.push(a),n+=s,d+=s):(l.push({start:n,end:n+c.length-1,level:i,collapsed:!1,children:[],parent:e,spacingIndex:u.spacingIndex,value:u.value}),n+=c.length,d+=c.length);return d},t.prototype.wno=function(t,n){var i,e,o,r,u,c,a=t.children,s=n.children;for(i=0,e=s;i<e.length;i++)for(o=e[i],r=0,u=a;r<u.length;r++)if(c=u[r],o.value===c.value){o.collapsed=c.collapsed,this.wno(c,o);break}},t.prototype.uMi=function(t,n,i,e){for(var o=0;o<t.length;o++)if(t[o].field===n){this.cMi(this.oMi,o,i,e);break}},t.prototype.cMi=function(t,n,i,e){var o,r,u,c=t.children;for(o=0,r=c;o<r.length;o++)u=r[o],this.rMi(u,n,i,e)},t.prototype.rMi=function(t,n,i,e){var o,r,u,c,a;if(t.level===n)o=!i,t.collapsed!==o&&(t.collapsed=o,e&&e(t.level,t.start));else for(u=0,c=r=t.children;u<c.length;u++)a=c[u],this.rMi(a,n,i,e)},t.prototype.aMi=function(t,n,i,e){var o,r,u,c,a,s=this.oMi,l=!i;if(s&&s.start<=n&&n<=s.end)for(o=s.children;o.length>0;){for(r=!0,u=0,c=o;u<c.length;u++)if((a=c[u]).start<=n&&n<=a.end){if(a.level===t)return a.collapsed!==l&&e(!a.collapsed),void(a.collapsed=l);o=a.children,r=!1;break}if(r)break}},t.prototype.Xto=function(t){for(t=t.parent;t;){if(t.collapsed)return!0;t=t.parent}return!1},t.prototype.sMi=function(t,n,i,e,o){var r,u,c,a,s,l,f,d=-1,h=this.oMi,v="number"==typeof e;if(h&&h.start+i<=t&&t<=h.end){if(r=h.collapsed,v&&!o&&(r=h.spacingIndex===e&&h.parent&&this.Xto(h)),d<n&&r)return!1;for(u=h.children,d++;u.length>0;){for(c=!0,a=0,s=u;a<s.length;a++)if((l=s[a]).start+i<=t&&t<=l.end){if(f=l.collapsed,v&&!o&&(f=l.spacingIndex===e&&l.parent&&this.Xto(l)),d<n&&f)return!1;u=l.children,d++,c=!1;break}if(c)break}}return!0},t.prototype.MMi=function(t){var n,i,e,o,r,u=[],c=this.oMi;if(c&&c.start<=t&&t<=c.end)for(n=c.children;n.length>0;){for(i=!0,e=0,o=n;e<o.length;e++)if((r=o[e]).start<=t&&t<=r.end){u.push(r),n=r.children,i=!1;break}if(i)break}return u},t.prototype.IMi=function(t,n){var i,e,o,r,u,c=this.oMi;if(c&&c.start<=t&&t<=c.end)for(i=c.children;i.length>0;){for(e=!0,o=0,r=i;o<r.length;o++)if((u=r[o]).start<=t&&t<=u.end){if(u.level===n)return u;i=u.children,e=!1;break}if(e)break}},t.prototype.gMi=function(t){var n,i,e,o,r,u,c,a,s,l,f,d=this.oMi;if(!d)return!1;for(n=d.children.slice(0),i=0;i<t;){for(e=[],o=0,r=n;o<r.length;o++)for(c=0,a=(u=r[o]).children;c<a.length;c++)s=a[c],e.push(s);n=e,i++}for(l=0,f=n;l<f.length;l++)if(!(u=f[l]).collapsed)return!1;return!0},t.prototype.L0=function(){this.oMi=a},t.prototype.toJSON=function(){if(this.oMi){var t={};return it(this.oMi,t),t}return this.oMi},t.prototype.fromJSON=function(t,n){var i=this.oMi;(n||i&&t&&ot(this.oMi,t))&&(et(t),this.oMi=t)},t}(),N=40,b=(D=16)/4,m=2.5,C=2.5,w=5,y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Z(n,t),n.prototype.paint=function(n,i,e,o,r,u,c,l){var f,d,v,M,I,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,Q=l.sheet,Y=l.row;if(l.dataRange&&(f=ct(l))&&(Q=f.sheet,Y=f.row),d=l.sheet.zoom(),v=D*d,M=b*d,I=m*d,C=Q.NMi)for(w=l.visualState,l.visualState=a,this.wm(n,e,o,r,u,c,l),l.visualState=w,A=!(x=P(y=C.keo())),T=(j=C.MMi(Y)).length,z=(N*T-D*T)/(T+1)*d,t.prototype.paintValue.call(this,n,i,e,o,r,u,c,l),p=0;p<T;p++)L=j[p],(p!==C.lMi.length-1||C.detailColumnsVisible())&&C.DMi(p,Y)&&(n.save(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,O=(S=e+z)+v/2,k=o+u,E=o+u/2,(Z=L.start===Y)&&A?(U=s(S)-.5,G=s(S+v)-.5,B=s(E-v/2)-.5,R=s(E-v/2+v)-.5,n.moveTo(U,B),n.lineTo(G,B),n.lineTo(G,R),n.lineTo(U,R),n.lineTo(U,B),n.moveTo(s(O-M)-.5,s(E)-.5),n.lineTo(s(O+M)-.5,s(E)-.5),L.collapsed?(n.moveTo(s(O)-.5,s(E-M)-.5),n.lineTo(s(O)-.5,s(E+M)-.5)):(n.moveTo(s(O)-.5,s(E+v/2)-.5),n.lineTo(s(O)-.5,s(k)-.5))):L.start<Y&&Y<L.end||Z&&x||L.end===Y&&this.Eeo(Q,Y,p)?(n.moveTo(s(O)-.5,s(o)-.5),n.lineTo(s(O)-.5,s(k)-.5)):L.end===Y&&(n.moveTo(s(O)-.5,s(o)-.5),n.lineTo(s(O)-.5,s(k-I)-.5),n.lineTo(s(O+M)-.5,s(k-I)-.5)),n.stroke(),n.restore(),e+=z+v)},n.prototype.fMi=function(t,n,i,e,o,r){var u,c,l,f,d,h,v,g,M,I,b,m,C,w=t.x,y=r.sheet.zoom(),x=D*y,A=e.NMi;if(A){if(c=P(u=A.keo()))return a;for(f=(l=A.MMi(o)).length,d=(N*f-D*f)/(f+1)*y,h=0;h<f;h++)if(v=l[h],(h!==A.lMi.length-1||A.detailColumnsVisible())&&A.DMi(h,o)){if(g=w+d,M=t.y+t.height/2,v.start===o&&(I=s(g)-.5,b=s(g+x)-.5,m=s(M-x/2)-.5,C=s(M-x/2+x)-.5,I<=n&&n<=b&&m<=i&&i<=C))return{level:h,index:o,collapsed:v.collapsed};w+=d+x}}},n.prototype.getHitInfo=function(t,n,i,e,o){var r,u,c,a,s,l;if(o&&(r=o.sheet,u=o.row,c=o.col,a=o.sheetArea,o.dataRange&&(s=ct(o))&&(r=s.sheet,u=s.row,c=s.col,a=s.sheetArea),2===a&&(l=this.fMi(e,t,n,r,u,o))))return{x:t,y:n,row:u,col:c,cellRect:e,sheetArea:2,isReservedLocation:!0,sheet:r,level:l.level,index:l.index,collapsed:l.collapsed}},n.prototype.processMouseDown=function(t){var n,i,e,o;return!(!t||!(n=t.sheet.NMi))&&(i=t.level,e=t.index,o=t.collapsed,n.zA({cmd:u.EXPAND_GROUP_ITEM,level:i,index:e,expand:o}),!0)},n.prototype.Eeo=function(t,n,i,e){void 0===e&&(e=0);var o=t.ncr&&t.ncr(n,e,-1,!0);return!(!o||o.isSpacing)&&i<=o.level},n.prototype.Zeo=function(t,n,i,e,o){var r,u=this;return!!o&&((r=function(e){return u.Eeo(t,n,i,e)})(e)&&r(e+1))},n}(e.CellTypes.RowHeader),x=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Z(n,t),n.prototype.paint=function(n,i,e,o,r,u,c,l){var f,d,v,M,I,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P=l.row,Q=l.sheet,Y=l.rowSpacingIndex,W=l.isAfterRowSpacing;if(l.dataRange&&(f=ct(l))&&(Q=f.sheet,P=f.row,Y=f.rowSpacingIndex,W=f.isAfterRowSpacing),d=l.sheet.zoom(),v=D*d,M=b*d,I=m*d,C=Q.NMi){if(w=l.visualState,l.visualState=a,this.wm(n,e,o,r,u,c,l),l.visualState=w,y=!W,!(x=Q.ncr&&Q.ncr(P,Y,-1,W)))return;for(A=x.level,j=x.isSpacing,z=(T=C.MMi(P)).length,p=(N*z-D*z)/(z+1)*d,t.prototype.paintValue.call(this,n,i,e,o,r,u,c,l),L=0;L<z;L++)L>A||(S=T[L],(L!==C.lMi.length-1||C.detailColumnsVisible())&&C.DMi(L,P)&&(n.save(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,k=(O=e+p)+v/2,E=o+u,Z=o+u/2,S.start===P&&L===A&&y?(U=s(O)-.5,G=s(O+v)-.5,B=s(Z-v/2)-.5,R=s(Z-v/2+v)-.5,n.moveTo(U,B),n.lineTo(G,B),n.lineTo(G,R),n.lineTo(U,R),n.lineTo(U,B),n.moveTo(s(k-M)-.5,s(Z)-.5),n.lineTo(s(k+M)-.5,s(Z)-.5),S.collapsed?(n.moveTo(s(k)-.5,s(Z-M)-.5),n.lineTo(s(k)-.5,s(Z+M)-.5)):(n.moveTo(s(k)-.5,s(Z+v/2)-.5),n.lineTo(s(k)-.5,s(E)-.5))):S.start<P&&P<S.end||L<A&&(y||this.Zeo(Q,P,L,Y,W))?(n.moveTo(s(k)-.5,s(o)-.5),n.lineTo(s(k)-.5,s(E)-.5)):S.end!==P||j||(n.moveTo(s(k)-.5,s(o)-.5),n.lineTo(s(k)-.5,s(E-I)-.5),n.lineTo(s(k+M)-.5,s(E-I)-.5)),n.stroke(),n.restore(),e+=p+v))}},n.prototype.fMi=function(t,n,i,e,o,r){var u,c,a,l,f,d,h,v,g,M,I,b,m,C,w,y,x,A=t.x,j=r.sheet.zoom(),T=D*j,z=e.NMi;if(z){if(u=r.rowSpacingIndex,c=r.isAfterRowSpacing,r.dataRange&&(a=ct(r))&&(u=a.rowSpacingIndex,c=a.isAfterRowSpacing),l=!c,!(f=e.ncr&&e.ncr(o,u,-1)))return;for(d=f.level,v=(h=z.MMi(o)).length,g=(N*v-D*v)/(v+1)*j,M=0;M<v;M++)if(!(M>d&&l)&&(I=h[M],(M!==z.lMi.length-1||z.detailColumnsVisible())&&z.DMi(M,o))){if(b=A+g,m=t.y+t.height/2,I.start===o&&M===d&&l&&(C=s(b)-.5,w=s(b+T)-.5,y=s(m-T/2)-.5,x=s(m-T/2+T)-.5,C<=n&&n<=w&&y<=i&&i<=x))return{level:M,index:o,collapsed:I.collapsed};A+=g+T}}},n}(y),A=2.5,n.nMi=lt,j=function(t){function n(n){var i=t.call(this)||this;return i.Tno=n,i.typeName="98",i}return Z(n,t),n.prototype.dMi=function(t,n){for(var i=0;i<n;i++)if(t.gMi(i))return!1;return!0},n.prototype.Sno=function(t,n,i,e,o,r){var u,c,a,s,l,f,d=o.sheet;return o.dataRange&&(u=ct(o))&&(d=u.sheet),c=o.sheet.zoom(),a=(D+2*C)*c,s=parseFloat(d.getDefaultStyle().cellPadding)*c,{x:l=r?t-a+s:t+a,y:n,w:f=i-a,h:e}},n.prototype.paint=function(n,i,e,o,r,u,c,a){if(t.prototype.paint.call(this,n,i,e,o,r,u,c,a),this.Tno){var s=this.Sno(e,o,r,u,a);this.Tno.paint(n,i,s.x,s.y,s.w,s.h,c,a)}},n.prototype.paintContent=function(n,i,e,r,u,c,a,l){var f,d,v,M,I,N,m,C,w,y,x,j,T,z,p,L,S,O,k,E=l.sheet,Z=l.row,U=l.col;l.dataRange&&(f=ct(l))&&(E=f.sheet,Z=f.row,U=f.col),d=l.sheet.zoom(),v=this.Sno(e,r,u,c,l),this.Tno||t.prototype.paintContent.call(this,n,i,v.x,v.y,v.w,v.h,a,l),M=D*d,I=b*d,N=E.NMi,m=E.getDataSource(),N&&N.lMi&&N.lMi.length>0&&m&&lt(E,Z,U)&&((C=N.groupOutlinePosition())!==o.GroupOutlinePosition.groupCell&&C!==o.GroupOutlinePosition.groupCellAll||!(y=(w=m.kve(U).OFt)===N.lMi.length-1&&!N.detailColumnsVisible())&&this.dMi(N,w)&&(x=N.gMi(w),j=A*d,n.save(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,z=(T=e+j)+M/2,p=r+c/2,L=s(T)-.5,S=s(T+M)-.5,O=s(p-M/2)-.5,k=s(p-M/2+M)-.5,n.moveTo(L,O),n.lineTo(S,O),n.lineTo(S,k),n.lineTo(L,k),n.lineTo(L,O),n.moveTo(s(z-I)-.5,s(p)-.5),n.lineTo(s(z+I)-.5,s(p)-.5),x&&(n.moveTo(s(z)-.5,s(p-I)-.5),n.lineTo(s(z)-.5,s(p+I)-.5)),n.stroke(),n.restore()))},n.prototype.fMi=function(t,n,i,e,r,u,c){var a,l,f,d,h,v,g,M,I,N,b,m,C=t.x,w=c.sheet.zoom(),y=D*w,x=e.NMi,j=e.getDataSource();if(x&&j&&lt(e,r,u)&&((a=x.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||a===o.GroupOutlinePosition.groupCellAll)&&!(f=(l=j.kve(u).OFt)===x.lMi.length-1&&!x.detailColumnsVisible())&&this.dMi(x,l)&&(d=x.lMi[l].field,h=x.gMi(l),g=C+(v=A*w),M=t.y+t.height/2,I=s(g)-.5,N=s(g+y)-.5,b=s(M-y/2)-.5,m=s(M-y/2+y)-.5,I<=n&&n<=N&&b<=i&&i<=m))return{field:d,level:l,collapsed:h}},n.prototype.getHitInfo=function(t,n,i,e,o){var r,u,c,s,l,f,d,h;if(o&&(r=o.sheet,u=o.row,c=o.col,s=o.sheetArea,o.dataRange&&(l=ct(o))&&(r=l.sheet,u=l.row,c=l.col,s=l.sheetArea),1===s)){if(e=this.An(e,i,o.sheet.zoom()),f=this.fMi(e,t,n,r,u,c,o))return{x:t,y:n,row:u,col:c,cellRect:e,sheetArea:1,isReservedLocation:!0,sheet:r,field:f.field,level:f.level,collapsed:f.collapsed};if(this.Tno&&(d=this.Sno(t,n,a,a,o,!0),h=this.Tno.getHitInfo&&this.Tno.getHitInfo(d.x,n,i,e,o)))return h.Drt=!0,h}},n.prototype.processMouseDown=function(t){var n,i,e;if(t&&(n=t.sheet.NMi)){if(!t.Drt)return i=t.field,e=t.collapsed,n.zA({cmd:u.EXPAND_GROUP,field:i,expand:e}),!0;if(this.Tno)return this.Tno.processMouseDown&&this.Tno.processMouseDown(t)}return!1},n.prototype.processMouseUp=function(t){return!!this.Tno&&(this.Tno.processMouseUp&&this.Tno.processMouseUp(t))},n.prototype.processMouseMove=function(t){return!!this.Tno&&(this.Tno.processMouseMove&&this.Tno.processMouseMove(t))},n.prototype.processMouseEnter=function(t){return!!this.Tno&&(this.Tno.processMouseEnter&&this.Tno.processMouseEnter(t))},n.prototype.processMouseLeave=function(t){return!!this.Tno&&(this.Tno.processMouseLeave&&this.Tno.processMouseLeave(t))},n.prototype.isReservedKey=function(t,n){return!!this.Tno&&(this.Tno.isReservedKey&&this.Tno.isReservedKey(t,n))},n.prototype.processKeyDown=function(t,n){return!!this.Tno&&(this.Tno.processKeyDown&&this.Tno.processKeyDown(t,n))},n.prototype.processKeyUp=function(t,n){return!!this.Tno&&(this.Tno.processKeyUp&&this.Tno.processKeyUp(t,n))},n.prototype.getAutoFitWidth=function(n,i,e,o,r){var u;return u=this.Tno&&this.Tno.getAutoFitWidth?this.Tno.getAutoFitWidth(n,i,e,o,r):t.prototype.getAutoFitHeight.call(this,n,i,e,o,r)},n.prototype.format=function(n,i,e,o){return this.Tno&&this.Tno.format?this.Tno.format(n,i,e,o):t.prototype.format.call(this,n,i,e,o)},n}(e.CellTypes.ColumnHeader),e.CellTypes.ti[98]=j,z=function(t){function n(n){var i=t.call(this)||this;return i.Tno=n,i}return Z(n,t),n.prototype.Sno=function(t,n,i,e,o,r){var u,c,a,s,l,f,d,h,v,g,M=o.sheet,I=o.row,N=o.col,b=o.rowSpacingIndex;return o.dataRange&&(u=ct(o))&&(M=u.sheet,I=u.row,N=u.col,b=u.rowSpacingIndex),c=o.sheet.zoom(),a=(D+2*C)*c,s=parseFloat(M.getDefaultStyle().cellPadding)*c,v=r?t-a+s:t+a,(d=P(f=(l=M.NMi).keo()))&&l.Mf.ncr&&(h=l.Mf.ncr(I,b,N),v=r?t-a*(h+1)+s:t+a*(h+1)),{x:v,y:n,w:g=i-a,h:e}},n.prototype.getHitInfo=function(t,n,i,e,o){var r,u,c,s,l,f,h,v,g,M;if(o&&(r=o.sheet,u=o.row,c=o.col,s=o.sheetArea,l=o.rowSpacingIndex,f=o.isAfterRowSpacing,o.dataRange&&(h=ct(o))&&(r=h.sheet,u=h.row,c=h.col,l=h.rowSpacingIndex,f=h.isAfterRowSpacing),3===s||d(s))){if(e=this.An(e,i,o.sheet.zoom()),v=this.fMi(e,t,n,r,u,c,l,o))return{x:t,y:n,row:u,col:c,cellRect:e,sheetArea:3,isReservedLocation:!0,sheet:r,level:v.level,index:v.index,collapsed:v.collapsed,rowSpacingIndex:l,isAfterRowSpacing:f};if(this.Tno&&(g=this.Sno(t,n,a,a,o,!0),M=this.Tno.getHitInfo&&this.Tno.getHitInfo(g.x,n,i,e,o)))return M.Drt=!0,M}},n.prototype.processMouseDown=function(t){var n,i,e,o;if(t&&(n=t.sheet.NMi)){if(!t.Drt)return i=t.level,e=t.index,o=t.collapsed,n.zA({cmd:u.EXPAND_GROUP_ITEM,level:i,index:e,expand:o}),!0;if(this.Tno)return this.Tno.processMouseDown&&this.Tno.processMouseDown(t)}return!1},n}(T=function(t){function n(n){var i=t.call(this)||this;return i.Tno=n,i}return Z(n,t),n.prototype.Sno=function(t,n,i,e,o,r){return{x:t,y:n,w:i,h:e}},n.prototype.paint=function(n,i,o,r,u,c,a,s){var l,f;t.prototype.paint.call(this,n,i,o,r,u,c,a,s),this.Tno&&(this.Tn&&this.An&&(l=new e.Rect(o,r,u,c),o=(l=this.An(l,a,(0,e.isPrintZoomFactorExist)(s)?s.printZoomFactor:s.sheet.zoom())).x,r=l.y,u=l.width,c=l.height),f=this.Sno(o,r,u,c,s),this.Tno.paint(n,i,f.x,f.y,f.w,f.h,a,s))},n.prototype.processMouseDown=function(t){return!!this.Tno&&(this.Tno.processMouseDown&&this.Tno.processMouseDown(t))},n.prototype.processMouseUp=function(t){return!!this.Tno&&(this.Tno.processMouseUp&&this.Tno.processMouseUp(t))},n.prototype.processMouseMove=function(t){return!!this.Tno&&(this.Tno.processMouseMove&&this.Tno.processMouseMove(t))},n.prototype.processMouseEnter=function(t){return!!this.Tno&&(this.Tno.processMouseEnter&&this.Tno.processMouseEnter(t))},n.prototype.processMouseLeave=function(t){return!!this.Tno&&(this.Tno.processMouseLeave&&this.Tno.processMouseLeave(t))},n.prototype.isReservedKey=function(t,n){return!!this.Tno&&(this.Tno.isReservedKey&&this.Tno.isReservedKey(t,n))},n.prototype.processKeyDown=function(t,n){return!!this.Tno&&(this.Tno.processKeyDown&&this.Tno.processKeyDown(t,n))},n.prototype.processKeyUp=function(t,n){return!!this.Tno&&(this.Tno.processKeyUp&&this.Tno.processKeyUp(t,n))},n.prototype.getAutoFitWidth=function(n,i,e,o,r){var u;return u=this.Tno&&this.Tno.getAutoFitWidth?this.Tno.getAutoFitWidth(n,i,e,o,r):t.prototype.getAutoFitHeight.call(this,n,i,e,o,r)},n.prototype.format=function(n,i,e,o){return this.Tno&&this.Tno.format?this.Tno.format(n,i,e,o):t.prototype.format.call(this,n,i,e,o)},n}(e.CellTypes.Text)),p=function(t){function n(n){var i=t.call(this,n)||this;return i.typeName="99",i}return Z(n,t),n.prototype.Ueo=function(t,n,i,e,r){return!!n&&(t.keo()===o.GroupLayoutMode.tabular?n.start===i:!("number"!=typeof r||!t.Mf.ncr)&&"number"==typeof t.Mf.ncr(i,r,e));var u},n.prototype.paintValue=function(n,i,e,r,u,c,a,l){var f,v,M,I,N,m,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,Q,Y,W,H,V=l.sheet,F=l.row,_=l.col;l.dataRange&&(f=ct(l))&&(V=f.sheet,F=f.row,_=f.col),v=l.sheet.zoom(),M=(D+2*C)*v,I=V.NMi,N=V.getDataSource(),m=D*v,y=b*v,x=l.rowSpacingIndex,j=P(A=I.keo()),!d(T=i)&&j&&"number"==typeof x&&(T="".concat(i)),j&&I.Mf.ncr&&(z=I.Mf.ncr(F,l.rowSpacingIndex,_)),p=this.Sno(e,r,u,c,l),this.Tno||t.prototype.paintValue.call(this,n,T,p.x,p.y,p.w,p.h,a,l),I&&N&&I.lMi&&I.lMi.length>0&&((L=I.groupOutlinePosition())!==o.GroupOutlinePosition.groupCell&&L!==o.GroupOutlinePosition.groupCellAll||(j||(z=N.kve(_).OFt),!(S=z===I.lMi.length-1&&!I.detailColumnsVisible())&&I.DMi(z,l.row)&&(O=C*v,k=w*v,E=I.IMi(F,z),(Z=this.Ueo(I,E,F,_,x))&&(n.save(),n.beginPath(),n.rect(e,r,u,c),n.clip(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,U=e+O,P(A)&&(U+=M*z),G=U+m/2,R=(B=r+k)+m/2,Q=s(U)-.5,Y=s(U+m)-.5,W=s(B)-.5,H=s(B+m)-.5,n.moveTo(Q,W),n.lineTo(Y,W),n.lineTo(Y,H),n.lineTo(Q,H),n.lineTo(Q,W),n.moveTo(s(G-y)-.5,s(R)-.5),n.lineTo(s(G+y)-.5,s(R)-.5),E.collapsed&&(n.moveTo(s(G)-.5,s(R-y)-.5),n.lineTo(s(G)-.5,s(R+y)-.5)),n.stroke(),n.restore()))))},n.prototype.fMi=function(t,n,i,e,r,u,c,a){var l,f,d,h,v,g,M,I,N,b,m,y,x,A,j,T=a?a.sheet.zoom():e.zoom(),z=D*T,p=e.NMi,L=e.getDataSource();if(p&&L&&((l=p.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||l===o.GroupOutlinePosition.groupCellAll)&&(d=P(f=p.keo())&&p.Mf.ncr?p.Mf.ncr(r,c,u):L.kve(u).OFt,h=(D+2*C)*T,!(v=d===p.lMi.length-1&&!p.detailColumnsVisible())&&p.DMi(d,r)&&(g=C*T,M=w*T,I=p.IMi(r,d),(N=this.Ueo(p,I,r,u,c))&&(b=t.x+g,P(f)&&(b+=h*d),m=t.y+M,y=s(b)-.5,x=s(b+z)-.5,A=s(m)-.5,j=s(m+z)-.5,y<=n&&n<=x&&A<=i&&i<=j))))return{level:I.level,index:r,collapsed:I.collapsed}},n.prototype.Ln=function(n,i,e,o,r){var u,c,a,s=r.sheet,l=r.col;return r.dataRange&&(u=ct(r))&&(s=u.sheet,l=u.col),c=s.NMi,a=t.prototype.Ln.call(this,n,i,e,o,r),c&&c.hMi(l)&&(a+=(D+2*C)*o),a},n}(z),e.CellTypes.ti[99]=p,L=function(t){function n(n){var i=t.call(this,n)||this;return i.typeName="108",i}return Z(n,t),n.prototype.getHitInfo=function(n,i,e,o,r){return this.Tno&&this.Tno.getHitInfo?this.Tno.getHitInfo(n,i,e,o,r):t.prototype.getHitInfo.call(this,n,i,e,o,r)},n.prototype.paintValue=function(n,i,e,o,r,u,c,a){var s,l,f,d,h,v,g,M,I,N;this.Tno||(s=a.sheet,l=a.isAfterRowSpacing,a.dataRange&&(f=ct(a))&&(s=f.sheet,l=f.isAfterRowSpacing),d=a.sheet.zoom(),h=(D+2*C)*d,v=s.NMi,g=-1,!l&&v.lMi&&(g=v.lMi.length-1),I=e+(M=h*(g+2)),N=r-M,t.prototype.paintValue.call(this,n,i,I,o,N,u,c,a))},n}(T),e.CellTypes.ti[108]=L,S=function(t){function n(){var n=t.call(this)||this;return n.zeo=o.GroupLayoutMode.outline,n.Leo=!1,n.typeName="109",n}return Z(n,t),n.prototype.getValueInOneCell=function(t){var n,i,o,r=t.sheet,u=t.row,a=t.col,s=t.rowSpacingIndex,l=t.isAfterRowSpacing;if(P(this.zeo))return n=r.getValue(u,a,e.SheetArea.viewport,void 0,{rowSpacingIndex:s,isAfterRowSpacing:l}),o=(i=r.ncr&&r.ncr(u,s,a,l))&&i.caption,st("","",o="".concat(o).concat((0,c.getSR)().TextColon),n)},n.prototype.paint=function(n,i,o,r,u,s,l,f){var h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k=this,E=f.row,Z=f.col,U=f.sheet,G=f.rowSpacingIndex,B=f.isAfterRowSpacing;f.dataRange&&(h=ct(f))&&(U=h.sheet,E=h.row,Z=h.col,G=h.rowSpacingIndex,B=h.isAfterRowSpacing),v=f.sheet.zoom(),M=(g=U.NMi).currentTheme(),I=l.backColor,f.parentBackColor!==I&&(0,e.cellTypeContext_paintBackground)(n,o,r,u,s,f.imageLoader,l,i,f),l.backColor=void 0,l.backgroundImage=void 0,N=new e.Rect(o,r,u,s),b=(D=U.ncr&&U.ncr(E,G,Z,B))&&D.caption,m=V(l),C=U.getDefaultStyle(),(y=(w=D&&D.headerStyle)?K(w,M,C):m.clone()).hAlign=$(y,e.HorizontalAlign.right),(x=Y(this.zeo))?(A=2*v,j=U.getDefaultStyle().cellPadding+" 0 0 0",(z=(T=D&&D.style)?K(T,M,C):m.clone()).cellPadding=j,z.hAlign=$(z,e.HorizontalAlign.right),f.fontInfo=e.W.x2e(z,T?v:1),z.font=f.fontInfo.font,f.cellStyle=z,t.prototype.paint.call(this,n,i,o,r,u,s,z,f),p=f.ysr,b&&(b="".concat(b).concat((0,c.getSR)().TextColon),L=u-p-A,y.cellPadding=j,y.hAlign=$(y,e.HorizontalAlign.right),f.fontInfo=e.W.x2e(y,w?v:1),y.font=f.fontInfo.font,f.cellStyle=y,t.prototype.paint.call(this,n,b,o,r,L,s,y,f))):(S=k.An(N,l,(0,e.isPrintZoomFactorExist)(f)?f.printZoomFactor:f.sheet.zoom()),O=new e.Rect(o,r,u,s-S.height),b&&((!w||w&&d(w.cellPadding))&&(y.cellPadding=a),f.cellStyle=y,f.fontInfo=e.W.x2e(y,w?v:1),y.font=f.fontInfo.font,f.lineHeight=e.mt.vt(f.fontInfo.font,!1,e.mt.pt(b)),t.prototype.paint.call(this,n,b,o,O.y,u,O.height,y,f)),(z=(T=D&&D.style)?K(T,M,C):m.clone()).cellPadding=a,z.hAlign=$(z,e.HorizontalAlign.right),f.cellStyle=z,f.fontInfo=e.W.x2e(z,T?v:1),z.font=f.fontInfo.font,f.lineHeight=e.mt.vt(f.fontInfo.font,!1,e.mt.pt(i)),t.prototype.paint.call(this,n,i,o,S.y,u,S.height,z,f))},n.prototype.Ln=function(n,i,o,r,u){var s,l,f,h,v,g,M,I,N,D,b,m,C,w,y=0,x=u.row,A=u.col,j=u.sheet,T=u.rowSpacingIndex,z=u.isAfterRowSpacing;return u.dataRange&&(s=ct(u))&&(j=s.sheet,x=s.row,A=s.col,T=s.rowSpacingIndex,z=s.isAfterRowSpacing),f=(l=j.NMi).currentTheme(),(v=(h=j.ncr&&j.ncr(x,T,A,z))&&h.caption)&&(v="".concat(v).concat((0,c.getSR)().TextColon)),g=V(o),M=j.getDefaultStyle(),Y(this.zeo)?(I=2,N=j.getDefaultStyle().cellPadding+" 0 0 0",d(n)||((b=(D=h&&h.style)?K(D,f,M):g.clone()).cellPadding=N,b.hAlign=$(b,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(b,D?r:1),b.font=u.fontInfo.font,u.cellStyle=b,y+=t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,b,j),b,r,u)+I),d(v)||((C=(m=h&&h.headerStyle)?K(m,f,M):g.clone()).cellPadding=N,C.hAlign=$(C,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(C,m?r:1),C.font=u.fontInfo.font,u.cellStyle=C,y+=t.prototype.Ln.call(this,v,v,C,r,u)+I)):(d(n)||((b=(D=h&&h.style)?K(D,f,M):g.clone()).cellPadding=a,b.hAlign=$(b,e.HorizontalAlign.right),u.cellStyle=b,u.fontInfo=e.W.x2e(b,D?r:1),b.font=u.fontInfo.font,y=t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,b,j),b,r,u)),d(v)||(C=(m=h&&h.headerStyle)?K(m,f,M):g.clone(),(!m||m&&d(m.cellPadding))&&(C.cellPadding=a),u.cellStyle=C,u.fontInfo=e.W.x2e(C,m?r:1),C.font=u.fontInfo.font,(w=t.prototype.Ln.call(this,v,v,C,r,u))>y&&(y=w))),y},n}(e.CellTypes.Text),e.CellTypes.ti[109]=S,O=function(t){function n(){var n=t.call(this)||this;return n.zeo=o.GroupLayoutMode.outline,n.typeName="110",n}return Z(n,t),n.prototype.getValueInOneCell=function(t){var n,i,o,r,u,a,s,l,f,d,h,v,g,M,I,N,D=t.sheet,b=t.row,m=t.col,C=t.rowSpacingIndex,w=t.isAfterRowSpacing;if(P(this.zeo))return n=D.getActualStyle(b,m,e.SheetArea.viewport,void 0,{rowSpacingIndex:C,isAfterRowSpacing:w}),i=D.getValue(b,m,e.SheetArea.viewport,void 0,{rowSpacingIndex:C,isAfterRowSpacing:w}),o=D.NMi,u=(r=D.ncr&&D.ncr(b,C,-1)).field,a=r.value,s=r.groupLevelOptions,l="".concat(u).concat((0,c.getSR)().TextColon),a=e.mt.V0(a),d=(f=D.getDefaultStyle()).cellPadding+" 0 0 0",h=o.currentTheme(),v=V(n),(g=s.style?K(s.style,h,f):v.clone()).cellPadding=d,g.hAlign=$(g,e.HorizontalAlign.left),M=(0,e.C0r)(this,a,g,D),N=(I=D.ncr&&D.ncr(b,C,m,w))&&I.caption,st(l,M,N="".concat(N).concat((0,c.getSR)().TextColon),i)},n.prototype.paint=function(n,i,r,u,l,d,v,M){var I,N,m,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,Q,W,H,F,_,J,X,q,tt,nt,it,et,ot,rt,ut,at,st,lt,ft,dt,ht,vt,gt,Mt,It,Nt,Dt,bt,mt,Ct,wt,yt,xt,At,jt,Tt,zt,pt,Lt,St,Ot,kt,Et=this,Zt=M.row,Ut=M.sheet,Gt=M.col,Bt=M.rowSpacingIndex,Rt=M.isAfterRowSpacing;if(M.dataRange&&(I=ct(M))&&(Ut=I.sheet,Zt=I.row,Gt=I.col,Bt=I.rowSpacingIndex,Rt=I.isAfterRowSpacing),N=Ut.NMi,m=Ut.getDataSource(),w=M.sheet.zoom(),y=N.currentTheme(),x=v.backColor,M.parentBackColor!==x&&(0,e.cellTypeContext_paintBackground)(n,r,u,l,d,M.imageLoader,v,i,M),v.backColor=void 0,v.backgroundImage=void 0,A=new e.Rect(r,u,l,d),j=Ut.ncr&&Ut.ncr(Zt,Bt,-1)){if(T=(D+2*C)*w,z=D*w,p=b*w,L=N.keo(),S=j.level,O=j.field,k=j.value,E=j.groupLevelOptions,k=e.mt.V0(k),N&&m&&N.lMi&&N.lMi.length>0&&((Z=N.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||Z===o.GroupOutlinePosition.groupCellAll)&&!(U=S===N.lMi.length-1&&!N.detailColumnsVisible())&&N.DMi(S,Zt)){if(G=C*w,!(Q=N.IMi(Zt,S)))return;n.save(),n.beginPath(),n.rect(r,u,l,d),n.clip(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,W=r+G,P(L)&&(W+=T*S),H=W+z/2,_=(F=u+(d-z)/2)+z/2,J=s(W)-.5,X=s(W+z)-.5,q=s(F)-.5,tt=s(F+z)-.5,n.moveTo(J,q),n.lineTo(X,q),n.lineTo(X,tt),n.lineTo(J,tt),n.lineTo(J,q),n.moveTo(s(H-p)-.5,s(_)-.5),n.lineTo(s(H+p)-.5,s(_)-.5),Q.collapsed&&(n.moveTo(s(H)-.5,s(_-p)-.5),n.lineTo(s(H)-.5,s(_+p)-.5)),n.stroke(),n.restore()}nt=0,et=r+(it=T*(S+1)),ot=l-it,rt=4*w,ut=V(v),at=Ut.getDefaultStyle(),st=Ut.defaults.rowHeight,ft=(lt=Ut.ncr&&Ut.ncr(Zt,Bt,Gt,Rt))&&lt.caption,(ht=(dt=lt&&lt.headerStyle)?K(dt,y,at):ut.clone()).hAlign=e.HorizontalAlign.right,(vt=Y(this.zeo))?(gt=2*w,Mt=Ut.getDefaultStyle().cellPadding+" 0 0 0",(It=E.headerStyle?K(E.headerStyle,y,at):ut.clone()).cellPadding=Mt,It.hAlign=$(It,e.HorizontalAlign.left),M.fontInfo=e.W.x2e(It,E.headerStyle?w:1),It.font=M.fontInfo.font,M.cellStyle=It,Nt="".concat(O).concat((0,c.getSR)().TextColon),Dt=f(e.mt.Mt(n,It.font,(0,e.y0r)(this,n,Nt,ot,d,It,M))+gt),t.prototype.paint.call(this,n,Nt,et,u,Dt,d,It,M),et+=Dt,(bt=E.style?K(E.style,y,at):ut.clone()).cellPadding=Mt,bt.hAlign=$(bt,e.HorizontalAlign.left),M.fontInfo=e.W.x2e(bt,E.style?w:1),bt.font=M.fontInfo.font,M.cellStyle=bt,mt=(0,e.C0r)(this,k,bt,Ut),Ct=f(e.mt.Mt(n,bt.font,(0,e.y0r)(this,n,mt,ot,d,bt,M))+gt),bt.formatter=a,t.prototype.paint.call(this,n,mt,et,u,Ct,d,bt,M),et+=Ct,et+=rt,wt=ot-Dt-Ct-rt,(xt=(yt=lt&&lt.style)?K(yt,y,at):ut.clone()).cellPadding=Mt,xt.hAlign=$(xt,e.HorizontalAlign.right),M.fontInfo=e.W.x2e(xt,yt?w:1),xt.font=M.fontInfo.font,M.cellStyle=xt,t.prototype.paint.call(this,n,i,et,u,wt,d,xt,M),At=M.ysr,ft&&(ft="".concat(ft).concat((0,c.getSR)().TextColon),jt=wt-At-gt,ht.cellPadding=Mt,ht.hAlign=$(ht,e.HorizontalAlign.right),M.fontInfo=e.W.x2e(ht,dt?w:1),ht.font=M.fontInfo.font,M.cellStyle=ht,t.prototype.paint.call(this,n,ft,et,u,jt,d,ht,M))):(Tt=Et.An(A,v,(0,e.isPrintZoomFactorExist)(M)?M.printZoomFactor:M.sheet.zoom()),zt=new e.Rect(r,u,l,d-Tt.height),(bt=E.style?K(E.style,y,at):ut.clone()).hAlign=$(bt,e.HorizontalAlign.left),pt=E.headerStyle?K(E.headerStyle,y,at):ut.clone(),(!E.headerStyle||E.headerStyle&&B(E.headerStyle.cellPadding))&&(pt.cellPadding=a),pt.hAlign=$(pt,e.HorizontalAlign.left),M.cellStyle=pt,M.fontInfo=e.W.x2e(pt,E.headerStyle?w:1),pt.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(O)),t.prototype.paint.call(this,n,O,et,zt.y,ot,zt.height,pt,M),nt=R(nt,M.ysr),bt.cellPadding=a,M.cellStyle=bt,M.fontInfo=e.W.x2e(bt,E.style?w:1),bt.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(k)),t.prototype.paint.call(this,n,k,et,Tt.y,ot,Tt.height,bt,M),Lt=et+(nt=R(nt,M.ysr))+rt,St=ot-nt-rt,xt=(yt=lt&&lt.style)?K(yt,y,at):ut.clone(),(!yt||yt&&B(yt.cellPadding))&&(xt.cellPadding=st+" 0 0 0"),Ot=Et.An(A,xt,(0,e.isPrintZoomFactorExist)(M)?M.printZoomFactor:M.sheet.zoom()),ft&&(kt=new e.Rect(r,u,l,d-Ot.height),(!dt||dt&&B(dt.cellPadding))&&(ht.cellPadding=a),M.cellStyle=ht,M.fontInfo=e.W.x2e(ht,lt&&lt.headerStyle?w:1),ht.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(ft)),t.prototype.paint.call(this,n,ft,Lt,kt.y,St,kt.height,ht,M)),xt.cellPadding=a,xt.hAlign=e.HorizontalAlign.right,M.cellStyle=xt,M.fontInfo=e.W.x2e(xt,yt?w:1),xt.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(i)),t.prototype.paint.call(this,n,i,Lt,Ot.y,St,Ot.height,xt,M))}},n.prototype.Ln=function(n,i,o,r,u){var s,f,h,v,g,M,I,N,b,m,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,R,P,Q=0,W=u.row,H=u.sheet,F=u.col,_=u.rowSpacingIndex,J=u.isAfterRowSpacing;return u.dataRange&&(s=ct(u))&&(H=s.sheet,W=s.row,F=s.col,_=s.rowSpacingIndex,J=s.isAfterRowSpacing),h=(f=H.NMi).currentTheme(),v=D+2*C,g=H.ncr&&H.ncr(W,_,-1),M=Y(this.zeo),g&&(I=V(o),N=H.getDefaultStyle(),b=g.level,m=g.field,w=g.value,y=g.groupLevelOptions,Q=x=v*(b+1),j=(A=H.ncr&&H.ncr(W,_,F,J))&&A.caption,T=4,M?(j&&(j="".concat(j).concat((0,c.getSR)().TextColon)),m&&(m="".concat(m).concat((0,c.getSR)().TextColon)),z=2,p=H.getDefaultStyle().cellPadding+" 0 0 0",d(m)||((L=y.headerStyle?K(y.headerStyle,h,N):I.clone()).cellPadding=p,L.hAlign=$(L,e.HorizontalAlign.left),u.fontInfo=e.W.x2e(L,y.headerStyle?r:1),L.font=u.fontInfo.font,u.cellStyle=L,Q+=t.prototype.Ln.call(this,m,m,L,r,u)+z),d(w)||((S=y.style?K(y.style,h,N):I.clone()).cellPadding=p,S.hAlign=$(S,e.HorizontalAlign.left),u.fontInfo=e.W.x2e(S,y.style?r:1),S.font=u.fontInfo.font,u.cellStyle=S,O=(0,e.C0r)(this,w,S,H),Q+=t.prototype.Ln.call(this,O,O,S,r,u)+z),A&&(Q+=T,d(n)||((E=(k=A.style)?K(k,h,N):I.clone()).cellPadding=p,E.hAlign=$(E,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(E,k?r:1),E.font=u.fontInfo.font,u.cellStyle=E,Q+=t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,E,H),E,r,u)+z),d(j)||((U=(Z=A.headerStyle)?K(Z,h,N):I.clone()).cellPadding=p,U.hAlign=$(U,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(U,Z?r:1),U.font=u.fontInfo.font,u.cellStyle=U,Q+=t.prototype.Ln.call(this,j,j,U,r,u)+z))):(G=0,d(m)||(R=y.headerStyle?K(y.headerStyle,h,N):I.clone(),(!y.headerStyle||y.headerStyle&&B(y.headerStyle.cellPadding))&&(R.cellPadding=a),R.hAlign=$(R,e.HorizontalAlign.left),u.cellStyle=R,u.fontInfo=e.W.x2e(R,y.headerStyle?r:1),R.font=u.fontInfo.font,G=l(t.prototype.Ln.call(this,m,m,R,r,u),G)),d(w)||((S=y.style?K(y.style,h,N):I.clone()).hAlign=$(S,e.HorizontalAlign.left),S.cellPadding=a,u.cellStyle=S,u.fontInfo=e.W.x2e(S,y.style?r:1),S.font=u.fontInfo.font,G=l(t.prototype.Ln.call(this,w,(0,e.C0r)(this,w,S,H),S,r,u),G)),Q+=G,P=0,d(j)||(U=(Z=A&&A.headerStyle)?K(Z,h,N):I.clone(),(!Z||Z&&B(Z.cellPadding))&&(U.cellPadding=a),u.cellStyle=U,u.fontInfo=e.W.x2e(U,A&&A.headerStyle?r:1),U.font=u.fontInfo.font,P=l(t.prototype.Ln.call(this,j,j,U,r,u),P)),d(n)||((E=(k=A.style)?K(k,h,N):I.clone()).cellPadding=a,E.hAlign=e.HorizontalAlign.right,u.cellStyle=E,u.fontInfo=e.W.x2e(E,k?r:1),E.font=u.fontInfo.font,P=l(t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,E,H),E,r,u),P)),Q+=P,P>0&&(Q+=T))),Q},n.prototype.getCellAndPaddingHitInfo=function(n,i,e,o,r){var u,c=e.cellPadding;return e.cellPadding=void 0,u=t.prototype.getCellAndPaddingHitInfo.call(this,n,i,e,o,r),e.cellPadding=c,u},n.prototype.fMi=function(t,n,i,e,r,u,c,a){var l,f,d,h,v,g,M,I,N,b,m,w,y,x=a?a.sheet.zoom():e.zoom(),A=D*x,j=e.NMi,T=e.getDataSource();if(j&&T&&((l=j.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||l===o.GroupOutlinePosition.groupCellAll)&&(f=e.ncr&&e.ncr(r,c,-1))&&(d=f.level,h=(D+2*C)*x,!(v=d===j.lMi.length-1&&!j.detailColumnsVisible())&&j.DMi(d,r))){if(g=C*x,!(M=j.IMi(r,d)))return;if(I=t.x+g+h*d,N=t.y+(t.height-A)/2,b=s(I)-.5,m=s(I+A)-.5,w=s(N)-.5,y=s(N+A)-.5,b<=n&&n<=m&&w<=i&&i<=y)return{level:M.level,index:r,collapsed:M.collapsed}}},n}(z),e.CellTypes.ti[110]=O,k=function(){function t(){this.tMi=o.GroupOutlinePosition.groupCell,this.GY=o.GroupLayoutMode.tabular,this.Oeo=M}return t.prototype.Hc=function(t,n,i){var r,u=new e.Style;u.cellType=new y,t.setStyle(-1,0,u,e.SheetArea.rowHeader),t.setColumnWidth(0,n*N,e.SheetArea.rowHeader),(r=this.tMi)!==o.GroupOutlinePosition.rowHeader&&r!==o.GroupOutlinePosition.groupCellAll||t.setColumnVisible(0,!0,e.SheetArea.rowHeader),this.Beo(t,i)},t.prototype.Beo=function(t,n){var i;P(this.GY)?(this.Geo(t),this.Reo(t),this.Peo(t,n)):this.Qeo(t,n)},t.prototype.Qeo=function(t,n){var i,o,r,u,c,s,l;for(i=0;i<n.length;i++)n[i].DFt&&((o=n[i].headerStyle&&n[i].headerStyle.cellType)&&(o="98"===o.typeName?a:(0,e.createCellType)(o)),r=new j(o),t.setCellType(-1,i,r,e.SheetArea.colHeader),(u=n[i].headerStyle)||(u=n[i].headerStyle={}),u.cellType=r,(c=n[i].style&&n[i].style.cellType)&&(c="99"===c.typeName?a:(0,e.createCellType)(c)),s=new p(c),t.setCellType(-1,i,s),(l=n[i].style)||(l=n[i].style={}),l.cellType=s)},t.prototype.Peo=function(t,n){var i,o,r,u,c,s,l,f,h,v,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,k,E,Z,U=t.NMi,G=t.getRowCount(),R=n.length,P=t.k9(e.SheetArea.viewport),Y=t.NMi.currentTheme();if(!d(P)){if(o=t.defaults.rowHeight,r=t.Csr)for(u=0;u<G;u++){for(c=t.Rsr(u),s=0;s<c;s++){for(f=null==(l=t.ncr(u,s,-1))?void 0:l.field,h=0;h<R;h++)(M=new(g=(v=h===P)?O:S)).zeo=this.GY,(N=H(I=v&&l&&l.groupLevelOptions?l.groupLevelOptions:t.ncr(u,s,h)))||(N=new e.Style),N.cellType=M,t.tcr(u,s,h,N);l&&(b=B((D=K(l.groupLevelOptions&&l.groupLevelOptions.style||{},Y)).cellPadding),Q(this.GY)&&b&&(D.cellPadding=o+" 0 0 0"),t.tcr(u,s,-1,D)),(m=new e.Style).cellType=new x,t.tcr(u,s,0,m,!1,e.SheetArea.rowHeader),Q(this.GY)&&(C=U.getGroupingHeaderHeight(f,o),t.qsr(u,s,C))}for(w=t.Rsr(u,!0),s=0;s<w;s++)if(f=null===(i=null==(l=t.ncr(u,s,-1,!0))?void 0:l.groupLevelOptions)||void 0===i?void 0:i.field,l&&l.isSpacing)(y=new e.Style).cellType=new x,t.tcr(u,s,0,y,!0,e.SheetArea.rowHeader),t.qsr(u,s,l.spacingRow,!0);else{for(h=0;h<R;h++)(A=new S).zeo=this.GY,A.Leo=!0,(j=H(I=t.ncr(u,s,h,!0)))||(j=new e.Style),j.cellType=A,t.tcr(u,s,h,j,!0);l&&(b=B((D=K(l.groupLevelOptions&&l.groupLevelOptions.style||{},Y)).cellPadding),Q(this.GY)&&b&&(D.cellPadding=o+" 0 0 0"),t.tcr(u,s,-1,D,!0)),(T=new e.Style).cellType=new x,t.tcr(u,s,0,T,!0,e.SheetArea.rowHeader),Q(this.GY)&&(z=U.getGroupingFooterHeight(f,o),t.qsr(u,s,z,!0))}}for(u=0,p=R;u<p;u++)t.$go(-1,u)instanceof L&&t.setCellType(-1,u,a);(E=(k=n[P].style)&&k.cellType)&&(E="108"===E.typeName?a:(0,e.createCellType)(E)),Z=new L(E),t.setCellType(-1,P,Z),n[P].zno=Z}},t.prototype.Geo=function(t,n,i,o,r,u){var a,s,l,f,h,v,g,M,I,N,D,b,m,C,w,y,x,A;if(t.Csr&&(s=(a=t.NMi).getDataView(),l=this.Yeo(),f=a.groupBy(),h=P(l),d(n)&&(n=s.FFt.childrenArray[0]),d(i)&&(i=a.INi.Weo()),n.length===i.length&&(d(o)&&(o=0),d(r)&&(r=0),d(u)&&(u=0),n&&n.length>0)))for(v=0;v<n.length;v++)g=n[v],M=i[v],I=g.recordRowNumbers,N=g.value,b=(D=g.cellNode).field.extra&&!d(D.field.extra.caption)?D.field.extra.caption:D.field.fieldValue,Array.isArray(b)&&(b=(0,c.tIi)(b)),m=I.length,C=t.Rsr(o),t.Ksr(o,C,1),t.ecr(o,r,-1,{groupLevelOptions:f[M.level],level:M.level,field:b,value:e.mt.Z0(N)}),M.spacingIndex=r,h&&(w=g.summaryResults)&&(y=nt(w,"header",a.Heo()))&&this.Veo(t,o,r,y),x=g.childrenArray[0],A=M.children,x&&x.length>0&&this.Geo(t,x,A,o,r+1,u),o+=m,r=0},t.prototype.Reo=function(t,n,i,e,o){var r,u,c,a,s,l,f,h,v,g,M,I,N,D;if(t.Csr&&(u=(r=t.NMi).getDataView(),d(n)&&(n=u.FFt.childrenArray[0]),d(i)&&(i=r.INi.Weo()),n.length===i.length&&(d(e)&&(e=0),d(o)&&(o=0),n&&n.length>0)))for(c=r.groupBy(),a=0;a<n.length;a++)s=n[a],l=i[a],f=s.recordRowNumbers,h=s.summaryResults,g=e+(v=f.length)-1,(M=ut(s))>0&&a<n.length-1&&(t.Ksr(g,0,1,!0),t.ecr(g,0,-1,{level:l.level,spacingRow:M,isSpacing:!0},!0)),h&&(I=nt(h,"footer"))&&(t.Ksr(g,0,1,!0),t.ecr(g,0,-1,{groupLevelOptions:c[l.level],level:l.level},!0),this._eo(t,g,0,I)),N=s.childrenArray[0],D=l.children,N&&N.length>0&&this.Reo(t,N,D,e,o),e+=v},t.prototype.Veo=function(t,n,i,e){var o,r,u,c,a,s;if(t.Csr)for(r=(o=t.NMi.getDataView()).getColumnInfos(),u=0;u<r.length;u++)(s=e[a=(c=r[u]).value])&&(t.$sr(n,i,u,s.value),t.ecr(n,i,u,s))},t.prototype._eo=function(t,n,i,e){var o,r,u,c,a,s;if(t.Csr)for(r=(o=t.NMi.getDataView()).getColumnInfos(),u=0;u<r.length;u++)(s=e[a=(c=r[u]).value])&&(t.$sr(n,i,u,s.value,!0),t.ecr(n,i,u,s,!0))},t.prototype.TMi=function(t,n){var i,r;if(0===arguments.length)return this.tMi;this.tMi=n,(i=t.NMi)&&i.lMi&&(r=n===o.GroupOutlinePosition.rowHeader||n===o.GroupOutlinePosition.groupCellAll,t.setColumnVisible(0,r,e.SheetArea.rowHeader))},t.prototype.Yeo=function(t){if(d(t))return this.GY;this.GY=t},t.prototype.Jeo=function(t){if(d(t))return this.Oeo;this.Oeo=U(U({},this.Oeo),t)},t.prototype.L0=function(t){t.setColumnVisible(0,!1,e.SheetArea.rowHeader);for(var n=0,i=t.getColumnCount();n<i;n++)t.$go(-1,n,e.SheetArea.colHeader)instanceof j&&t.setCellType(-1,n,a,e.SheetArea.colHeader),t.$go(-1,n)instanceof p&&t.setCellType(-1,n,a),t.$go(-1,n)instanceof L&&t.setCellType(-1,n,a)},t.prototype.toJSON=function(){return this.tMi},t.prototype.fromJSON=function(t,n){this.TMi(t,n)},t}(),E=function(){function t(){this._data=new I,this._ui=new k}return t.prototype.Weo=function(){return this._data.oMi.children},t.prototype.Hc=function(t,n,i,e,o){o||this._data.Hc(t,n);var r=i.getDataSource();this._ui.Hc(i,e.length,r&&r.getColumnInfos())},t.prototype.TMi=function(t,n){if(0===arguments.length)return this._ui.TMi();this._ui.TMi(t,n)},t.prototype.uMi=function(t,n,i,e){this._data.uMi(t,n,i,e)},t.prototype.aMi=function(t,n,i,e){this._data.aMi(t,n,i,e)},t.prototype.sMi=function(t,n,i,e,o){return this._data.sMi(t,n,i,e,o)},t.prototype.MMi=function(t){return this._data.MMi(t)},t.prototype.IMi=function(t,n){return this._data.IMi(t,n)},t.prototype.gMi=function(t){return this._data.gMi(t)},t.prototype.Yeo=function(t){return this._ui.Yeo(t)},t.prototype.Jeo=function(t){return this._ui.Jeo(t)},t.prototype.L0=function(t){this._data.L0(),this._ui.L0(t)},t.prototype.Beo=function(t,n){this._ui.Beo(t,n)},t.prototype.toJSON=function(){return{outlinePosition:this._ui.toJSON(),tree:this._data.toJSON()}},t.prototype.fromJSON=function(t,n,i){this._ui.fromJSON(t,n.outlinePosition),this._data.fromJSON(n.tree,i)},t}(),n.Grouping=E},1633:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.reo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"grouping"),t.rto(n,"groupNo"),t.oeo(n),n},n}(o.Meo),n.reo=c},1649:function(t,n,i){var e,o,r,u,c,a,s=this&&this.vJr||(l=function(t,n){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},l(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}l(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),l;Object.defineProperty(n,"__esModule",{value:!0}),n.geo=void 0,e=i(1376),o=i(8057),r=i(9846),u=e.mt,c=u.En,a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(c("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ato(n,"errorCorrectionLevel",(0,r.getItems)(8,!0,!0)),t.ato(n,"columns",(0,r.getItems)(30,!0)),t.ato(n,"rows",(0,r.getItems)(90,!0)),t.cto(n,"compact"),n},n}(o.Meo),n.geo=a},1850:function(t,n,i){var e,o,r,u,c,a=this&&this.mJr||function(){return a=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},a.apply(this,arguments)};function s(t){return"string"==typeof t}function l(t){return t.reduce((function(t,n){return t.push(n),c(n.subActionOptions)?t.concat(n.subActionOptions):t}),[])}function f(t){return s(t)?t.toUpperCase().charCodeAt(0):t}function d(t){return"ROWACTION_".concat(t)}function h(t){var n=d(t);return o.Commands[n]={canUndo:!1,execute:function(n,i){var e=n.commandManager(),o=n.Ofe(i.sheetName),r=o.Mf,u=i.isDataRange?i.row:r.getActiveRowIndex(),c=r.getDataItem(u);return e.execute(a(a({},i),{cmd:t,index:u,item:c,tableSheet:o})),!0}},n}Object.defineProperty(n,"__esModule",{value:!0}),e=i(7234),o=i(1376),r=i(8966),u=e.Common.lt,c=u.Nh,o.Commands.uri=function(t){var n=o.mt.Qf(),i=!n,e=n;t.register(r.SAVE_ALL,o.Commands[r.SAVE_ALL],"S".charCodeAt(0),i,!0,!1,e),t.register(r.EXPAND_GROUP_ITEM,o.Commands[r.EXPAND_GROUP_ITEM]),t.register(r.EXPAND_GROUP,o.Commands[r.EXPAND_GROUP]),t.register(r.REMOVE_COLUMN_TO_TABLE,o.Commands[r.REMOVE_COLUMN_TO_TABLE]),t.register(r.MODIFY_COLUMN_TO_TABLE,o.Commands[r.MODIFY_COLUMN_TO_TABLE]),t.register(r.DEFINE_COLUMN_TO_TABLE,o.Commands[r.DEFINE_COLUMN_TO_TABLE]),t.register(r.VIEW_REMOVE_COLUMN_INFO,o.Commands[r.VIEW_REMOVE_COLUMN_INFO]),t.register(r.VIEW_UPDATE_COLUMN_INFO,o.Commands[r.VIEW_UPDATE_COLUMN_INFO]),t.register(r.VIEW_Add_COLUMN_INFO,o.Commands[r.VIEW_Add_COLUMN_INFO]),t.register(r.VIEW_MOVE_COLUMN,o.Commands[r.VIEW_MOVE_COLUMN]),t.register(r.GROUP_OPTIONS,o.Commands[r.GROUP_OPTIONS]),t.register(r.RESET_NEW_VIEW,o.Commands[r.RESET_NEW_VIEW]),t.register(r.REMOVE_CROSS_COLUMN,o.Commands[r.REMOVE_CROSS_COLUMN])},o.Commands.iMi=function(t,n){var i=t;l(n).forEach((function(t){var n,e,r,u,c=t.command,a=t.shortcutKey,l=void 0===a?{}:a,d=l.key,v=l.ctrl,g=l.shift,M=l.alt,I=l.meta;s(c)&&(n=h(c),e=i.getCommand(n),r=i.getCommand(c),u=f(d),r?s(r.shortcutKey)&&i.setShortcutKey(c,null,!1,!1,!1,!1):i.register(c,o.Commands[c]),e?e.shortcutKey!==i.getShortcutKey(u,v,g,M,I)&&i.setShortcutKey(n,u,v,g,M,I):i.register(n,o.Commands[n],u,v,g,M,I))}))}},1859:function(t,n,i){var e,o,r,u,c;Object.defineProperty(n,"__esModule",{value:!0}),n.dZe=void 0,e=i(1376),o=i(591),r=e.mt,u=r.En,c=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.gZe()},t.prototype.gZe=function(){var t,n=this,i=(0,e.GC$)(u("div"));return i.addClass("gc-defined-column-divider-container"),i.attr("role","separator"),(t=n._text=(0,e.GC$)(u("div"))).appendTo(i),t.addClass("gc-defined-column-divider-inner-text"),n.LEt.text?t.text(n.LEt.text):t.hide(),i},t.prototype.setText=function(t){var n;this._text.text(t)},t.prototype.dispose=function(){var t;this._text=o.keyword_null},t}(),n.dZe=c},2121:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p=this&&this.vJr||(L=function(t,n){return L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},L(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}L(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),L;function S(t){return t&&t._gi===o.SheetType.tableSheet}function O(t){return t&&t._gi===o.SheetType.ganttSheet}function k(t){var n=t.getActiveSheetTab();if(S(n)||O(n))return n}function E(t){return t.b3t}function Z(t,n){return(-1===t.row||-1===n.row||n.row<t.row+t.rowCount&&t.row<n.row+n.rowCount)&&(-1===t.col||-1===n.col||n.col<t.col+t.colCount&&t.col<n.col+n.colCount)}function U(t,n,i,e){return{row:t,col:n,rowCount:i,colCount:e}}function G(t,n){var i=s(t.row,n.row),e=s(t.col,n.col),o=l(t.row+t.rowCount-1,n.row+n.rowCount-1),r=l(t.col+t.colCount-1,n.col+n.colCount-1);return i>=0&&e>=0?U(i,e,o-i+1,r-e+1):i>=0?U(i,-1,o-i+1,-1):e>=0?U(-1,e,-1,r-e+1):U(-1,-1,-1,-1)}function B(t){var n,i,e,o=[];for(i=0;i<t.length;i++){for(n=t[i],e=0;e<t.length;e++)n!==t[e]&&Z(n,t[e])&&(n=G(n,t[e]),i=e);o.push(n)}return o}function R(t){var n,i,e=0;for(t.sort((function(t,n){return t.row-n.row})),n=B(t),i=0;i<n.length;i++)e+=n[i].rowCount;return e}function P(t){var n,i=E(t),e=k(t);a(i)||(a(e)?i.qgi&&(i.qgi=!1,H(i)):(n=e.qgi,i.qgi!==e.qgi&&(n?W(i):H(i),i.qgi=n)))}function Q(t,n){var i=n.hitTestType,e=0===i,o=1===i,r=2===i,u=3===i;a(t)||(a(t.$gi)&&Y(t),!e&&!r||t.qgi?(u||o)&&t.qgi&&(t.qgi=!1,H(t)):(t.qgi=!0,W(t)),t.DJ.getActiveSheetTab().qgi=t.qgi)}function Y(t){var n,i,e,o,r,u=t.all(),c=[];for(n=0;n<u.length;n++)for(i=u[n],e=0;e<D.length;e++)i.name===D[e]&&c.push({pos:n,item:i});for(t.$gi=c,o=[],n=0;n<T.length;n++)r=V(T[n]),o.push(r);t.iNi=o}function W(t){var n,i,e,o;for(n=0;n<D.length;n++)t.remove(D[n]);if(i=t.$gi&&t.$gi.length>0?t.$gi[0].pos:0,e=t.iNi)for(n=0;n<e.length;n++)o=e[n],t.add(o,n+i)}function H(t){var n,i,e;for(n=0;n<T.length;n++)t.remove(T[n]);if(i=t.$gi)for(n=0;n<i.length;n++)e=i[n],t.add(e.item,e.pos)}function V(t){if(t===y)return new z}Object.defineProperty(n,"__esModule",{value:!0}),n.processStatusBarOnMouseDown=n.updateStatusBarOnActiveSheetChanged=void 0,e=i(7234),o=i(1376),r=i(605),u=i(419),c=e.Common.lt,a=c.ht,s=Math.min,l=Math.max,f=null,d=".statusbar",D=[h="average",v="count",g="numericalCount",M="min",I="max",N="sum"],b="none",m="inline-block",C=new e.Common.ResourceManager(u.SR,"TableSheet"),w=C.getResource.bind(C),x="menuRowCount",A="tooltipRowCount",j="right",T=[y="rowCount"],z=function(t){function n(){var n,i=t.call(this,y)||this;return i.c3t=": ",i.s3t=d+i.name,n=w().StatusBarRowCount,i.menuContent=n,i.vit=n,i.align=j,i.tipText=w().StatusBarToolTipRowCount,i.visible=!0,i.e4t=x,i.i4t=A,i}return p(n,t),n.prototype.rLi=function(){return k(this.DJ)},n.prototype.nNi=function(){return E(this.DJ)},n.prototype.onBind=function(t){var n=this;n.DJ=t,t.bind(o.Events.SelectionChanging+n.s3t,(function(t,i){n.x3t(i)})),t.bind(o.Events.SelectionChanged+n.s3t,(function(t,i){n.x3t(i)})),t.bind(o.Events.ActiveSheetChanged+n.s3t,(function(){n.onUpdate()}))},n.prototype.x3t=function(t){var n=this,i=t.newSelections;n.eNi(i)},n.prototype.eNi=function(t){var n,i,e,o,r,u,c,s,l=this,d=l.rLi();if(d&&(n=d.getDataView(),i=0,e=f,o=!1,r=[],!a(n))){for(i=n.getColumnInfos().length,u=0;u<t.length;u++){if(-1===(c=t[u]).col&&-1===c.row){o=!0;break}-1===c.row||-1!==c.colCount&&c.colCount!==i||r.push(c)}o?e=n.visibleLength():(s=R(r))>0&&(e=s),l.A3t(e)}},n.prototype.E3t=function(t){this.u3t&&(this.u3t.style.display=t?m:b)},n.prototype.A3t=function(t){var n=this.c3t,i=this.I3t,e=this.vit,o=this.visible,r=!1;this.value=t,i.innerText=e+n+t,!a(t)&&o&&(r=!0),this.E3t(r)},n.prototype.onUpdate=function(){t.prototype.onUpdate.call(this);var n=this,i=n.rLi();a(i)||n.eNi(i.Mf.getSelections())},n.prototype.FM=function(t){if(t){var n=t.menuContent,i=t.tipText;this.menuContent=n,this.vit=n,this.tipText=i,this.u3t.title=i}},n.prototype.onUnbind=function(){var t=this.DJ,n=this.s3t;t&&(t.unbind(o.Events.SelectionChanging+n),t.unbind(o.Events.SelectionChanged+n),t.unbind(o.Events.ActiveSheetChanged+n),this.DJ=f)},n}(r.StatusItem),n.updateStatusBarOnActiveSheetChanged=P,n.processStatusBarOnMouseDown=Q},2221:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.pJr||function(t,n,i,e){function o(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,r){function u(t){try{a(e.next(t))}catch(t){r(t)}}function c(t){try{a(e.throw(t))}catch(t){r(t)}}function a(t){t.done?i(t.value):o(t.value).then(u,c)}a((e=e.apply(t,n||[])).next())}))},d=this&&this.gJr||function(t,n){var i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},e,o,r,u;return u={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(t){return function(n){return a([t,n])}}function a(c){if(e)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(e=1,o&&(r=2&c[0]?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(6===c[0]&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=n.call(t,i)}catch(t){c=[6,t],o=0}finally{e=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},h=this&&this.yJr||function(t,n,i){if(i||2===arguments.length)for(var e=0,o=n.length,r;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))};function v(t){return(null==t?void 0:t.sourceType)===s.Combo}function g(t,n,i,e){return{sheet:t,sheetName:t.name(),col:n,filterValues:i,conditionInfo:i&&0===i.length&&e?e.toJSON():void 0}}Object.defineProperty(n,"__esModule",{value:!0}),n.UndoHelper=n.TableSheetUndoSourceType=n.TableSheetUndoType=void 0,e=i(7234),o=i(1376),r=void 0,u=e.Common.lt,c=u.ht,function(t){t.RowAction="rowAction",t.GroupOptions="groupOptions",t.GroupOutlinePosition="groupOutlinePosition",t.ExpandGroupByLevel="expandGroupBylevel",t.ExpandGroupItem="expandGroupItem",t.OptionChanged="optionChanged",t.ThemeChanged="themeChanged",t.PinnedRowsChanged="pinnedRowsChanged",t.PinnedColumnsChanged="pinnedColumnsChanged",t.DefaultRowHeightChanged="defaultRowHeightChanged",t.ApplyFreeHeaderChanged="applyFreeHeaderChanged",t.ResetViewChanged="resetViewChanged",t.UpdateFilterOnMoved="updateFilterOnMoved",t.FilterColumn="filterColumn",t.SetFilterItemMap="setFilterItemMap",t.RemoveCrosRowFilterInfo="removeCrosRowFilterInfo",t.RemoveRow="removeRow",t.SetDataView="setDataView",t.RemoveColumns="removeColumns",t.AddColumns="addColumns",t.ResetGroupOutline="resetGroupOutline",t.SortMapChanged="sortMapChanged",t.StoreTreeData="storeTreeData",t.ApplyTreeData="applyTreeData",t.ChangeCollapse="changeCollapse"}(a=n.TableSheetUndoType||(n.TableSheetUndoType={})),function(t){t[t.TableSheet=1]="TableSheet",t[t.DataManager=2]="DataManager",t[t.Combo=3]="Combo"}(s=n.TableSheetUndoSourceType||(n.TableSheetUndoSourceType={})),l=function(){function t(t){this.host=t,this.G8=[],this.P8=0,this.Jpi=0,this.DKi=[]}return t.prototype.startTransaction=function(){var t;this.P8++,null===(t=this.view)||void 0===t||t.vCn()},t.prototype.endTransaction=function(){var t,n;return this.P8=Math.max(this.P8-1,0),null===(t=this.view)||void 0===t||t.FCn(),0===this.P8?(n=this.getUndoChanges(),this.TKi(),n):[]},t.prototype.startAddComboChanges=function(){var t={sourceType:s.Combo,changes:[]};this.xKi(t),this.DKi.push(t),this.Jpi++},t.prototype.endAddComboChanges=function(){this.Jpi=Math.max(this.Jpi-1,0),this.DKi.pop()},t.prototype.addUndoChanges=function(t){this.lM()&&(this.PKi(),this.xKi({sourceType:s.TableSheet,changeData:t}))},t.prototype.getUndoChanges=function(){return this.PKi(),this.G8},t.prototype.undo=function(t,n){var i;return void 0===n&&(n=!0),f(this,void 0,void 0,(function(){var e,o,r,u,c,c;return d(this,(function(a){switch(a.label){case 0:this.host.suspendPaint(),e=n?h([],t,!0).reverse():h([],t,!0),o=!0,r=0,a.label=1;case 1:return r<e.length?(u=e[r]).sourceType!==s.DataManager?[3,4]:(c=null===(i=this.view)||void 0===i?void 0:i.Mtt(u.changeData),o=!1,c?[4,c]:[3,3]):[3,6];case 2:a.sent(),a.label=3;case 3:return[3,5];case 4:u.sourceType===s.TableSheet?(c=this.Yqi(u.changeData),o&&!1===c&&(o=c)):u.sourceType===s.Combo&&this.undo(u.changes,!1),a.label=5;case 5:return r++,[3,1];case 6:return this.$qi(o),[2]}}))}))},t.prototype.$qi=function(t){this.host.refreshBindColumns(),this.host.WDi(r,r,t),this.host.tze(),this.host.resumePaint()},t.prototype.xKi=function(t){var n=this.DKi[this.DKi.length-1];n&&this.Jpi>0&&v(n)?n.changes.push(t):this.G8.push(t)},Object.defineProperty(t.prototype,"view",{get:function(){return this.host.getDataView()},enumerable:!1,configurable:!0}),t.prototype.TKi=function(){var t;null===(t=this.view)||void 0===t||t.PEe(),this.G8=[],this.DKi=[],this.P8=0},t.prototype.lM=function(){return this.P8>0},t.prototype.Yqi=function(t){var n,i,e,o,r,u,c,s,l,f,d,h,v,g,M=this,I=!0;return t.type===a.RemoveCrosRowFilterInfo||t.type===a.UpdateFilterOnMoved||t.type===a.FilterColumn||t.type===a.SetFilterItemMap?this.ize(t):t.type===a.RowAction?this.host.rowActionOptions(t.oldData):t.type===a.GroupOptions?((n=t.oldData)?this.host.groupBy(n):this.host.removeGroupBy(),I=!1):t.type===a.GroupOutlinePosition?this.host.groupOutlinePosition(t.oldData):t.type===a.ExpandGroupByLevel?(i=t.oldData,e=i.level,o=i.indexs,r=i.expand,o.forEach((function(t){M.host.expandGroupItem(e,t,r)}))):t.type===a.ExpandGroupItem?(c=(u=t.oldData).level,s=u.index,l=u.expand,this.host.expandGroupItem(c,s,l)):t.type===a.OptionChanged?(f=t.key,n=t.oldData,this.host.options[f]=n):t.type===a.ThemeChanged?this.host.applyTableTheme(t.oldData):t.type===a.PinnedRowsChanged?this.host.tze():t.type===a.PinnedColumnsChanged?this.host.nze(t.oldData.oldFilterColumnsMap,t.oldData.oldFilterColumnsMap):t.type===a.DefaultRowHeightChanged?this.host.setDefaultRowHeight(t.oldData.size,t.oldData.sheetArea):t.type===a.ApplyFreeHeaderChanged?this.host.applyFreeHeaderArea(t.oldData):t.type===a.ResetViewChanged?(h=(d=t.oldData).columnInfoOptions,v=d.includeDefaultColumns,g=d.options,this.host.resetNewView(h,v,g)):t.type===a.RemoveRow?(this.host.eze(),I=!1):t.type===a.RemoveColumns?this.host.Cze(t.oldCol,t.oldCount):t.type===a.AddColumns?this.host.beo(t.oldCol,t.oldCount):t.type===a.ResetGroupOutline?(this.host.refreshBindColumns(),this.host.WDi()):t.type===a.SortMapChanged?(this.lze(t),I=!1):t.type===a.StoreTreeData||t.type===a.ApplyTreeData?(this.dze(t),I=!1):t.type===a.ChangeCollapse?this.host.vze(t.oldData):t.type===a.SetDataView&&this.host.kTi(this.view),I},t.prototype.dze=function(t){var n=t.type;n===a.ApplyTreeData?this.host.nDi():n===a.StoreTreeData&&this.host.uDi()},t.prototype.lze=function(t){var n=t.oldData,i=this.host.Mf.rowFilter();i.Nze(n)},t.prototype.ize=function(t){var n,i,e,r,u,s,l,f;t.type===a.RemoveCrosRowFilterInfo?this.host.Mf.rowFilter().oze(t.changedData):t.type===a.UpdateFilterOnMoved?(e=t.changedData.map((function(t){return{oldIndex:t.newIndex,newIndex:t.oldIndex}})),this.host.Mf.rowFilter().nTi(e)):t.type===a.FilterColumn?(r=this.host.bze(t.changedData.columnName),c(r)||(this.host.Mf.vCn(),this.host.zA({cmd:"clearFilter",cmdOption:{colIndex:r}}),this.host.Mf.FCn())):t.type===a.SetFilterItemMap&&(s=(u=t.changedData).columnName,l=u.checkedValues,null!==(f=this.host.bze(s))&&(this.host.Mf.ki(o.Events.RangeFiltering,g(this.host.Mf,f,l,null)),this.host.Mf.IB.removeFilterItems(f),(null===(i=null===(n=this.host.Mf)||void 0===n?void 0:n.IB)||void 0===i?void 0:i.setFilterItemMap)&&this.host.Mf.IB.setFilterItemMap(f,l),this.host.Mf.IB.filter(f),this.host.Mf.ki(o.Events.RangeFiltered,g(this.host.Mf,f,l,null))))},t.prototype.PKi=function(){var t,n,i,e=this,o=null!==(n=null===(t=this.view)||void 0===t?void 0:t.LEe())&&void 0!==n?n:[];o.forEach((function(t){e.xKi({sourceType:s.DataManager,changeData:t})})),null===(i=this.view)||void 0===i||i.PEe()},t}(),n.UndoHelper=l},2227:function(n){n.exports=t.Spread.Sheets.CellTypes},2364:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k=this&&this.vJr||(Z=function(t,n){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},Z(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}Z(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),E=this&&this.mJr||function(){return E=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},E.apply(this,arguments)},Z;Object.defineProperty(n,"__esModule",{value:!0}),n.Uze=void 0,e=i(1376),o=i(6114),r=i(447),u=i(3180),c=i(6406),a=i(9756),s=i(5981),l=i(5530),f=i(7879),d=i(7973),h=i(117),v=i(3632),g=i(2611),M=i(9571),I=i(8026),N=i(6656),D=i(8565),b=i(7373),m=i(591),C=i(5168),w=i(7446),y=i(9846),x=i(5203),A=i(2227),j=i(9807),T=i(6423),z=i(7127),p="keydown.definedColumn.gcSheet",L=e.mt,S=L.En,O=function(t){function n(n,i,e){var o,r=t.call(this,n,i)||this;return r.xT=[],(o=r).LEt=e,o.mUe=e.column,o.jUe={},o.Wc=o.Xc(),o._hidden(),r}return k(n,t),n.prototype.LF=function(){var t=this,n=t.Wc;n.css(["box-shadow","width","box-sizing","overflow-y"],["rgba(0, 0, 0, 0.15) 2px 4px 5px","400px","content-box","auto"]),n.addClass("gc-defined-column-container"),n.appendTo(t.qc()),t.CUe(),(0,e.GC$)(m.DOCUMENT).bind(p,(function(n){27===n.keyCode&&t.close()}))},n.prototype.lf=function(n){var i,o=this;return o.jUe.type===r.ColumnTypes.Formula&&(null===(i=(0,e.GC$)(n).attr("class"))||void 0===i?void 0:i.indexOf("gcsj-func-ac"))>-1||t.prototype.lf.call(this,n)},n.prototype.wUe=function(t,n){var i=new c.mZe(t),e=i.create();return(0,m.isNullOrUndefined)(n)||i.setValue(n),{input:i,elem:e}},n.prototype.TUe=function(t,n){var i=this.wUe(t,n),e=i.input,o=i.elem;return this.xT.push(e),o},n.prototype.CUe=function(){var t,n=this,i=n.Wc,u=(0,e.GC$)(S("div"));u.addClass("gc-defined-column-content-container"),u.appendTo(i),n.TUe({inputId:"value",placeholder:(0,o.getSR)().defineColumnValue,validate:{validating:function(t){var i,e,u=n.jUe.type,c=u===r.ColumnTypes.Formula;return!!c||((0,b.isNullOrEmpty)(t)?{success:!1,errorMessage:(0,o.getSR)().defineColumnRequired}:(i=n.LEt.getColumnBy(t),(e=0!==Object.keys(n.mUe).length&&t===n.mUe.value||(!i||!1===i.visible))?!(!c&&(0,m.isFormula)(t)&&u!==r.ColumnTypes.Lookup&&((0,m.isRelation)(t)||n.LEt.isRelationship(t))):{success:!1,errorMessage:(0,o.getSR)().defineColumnExisted}))}},onBlur:function(){n.jUe.type===r.ColumnTypes.Barcode&&n.Sto(n.t())},onChange:function(t){n.jUe.value=t}},n.mUe.value).appendTo(u),n.TUe({inputId:"caption",placeholder:(0,o.getSR)().defineColumnCaption,onChange:function(t){n.jUe.caption=t}},n.mUe.caption).appendTo(u),t=n.AUe(),n.yUe().appendTo(u),t.appendTo(u),n.zUe().appendTo(i)},n.prototype.yUe=function(){var t,n=this,i=new u.pUe({items:n.LEt.columnTypeItems,onChange:function(t){var i,e=n.xT[0],o=e.isDisable();o?(e.resetDisable(),(i=e.value)&&n.LEt.isRelationship(i)&&(e.setValue(m.keyword_null),n.jUe.value=m.keyword_null)):t.name===r.ColumnTypes.Lookup&&n.mUe.value&&n.LEt.isRelationship(n.mUe.value)&&(e.setValue(n.mUe.value),n.jUe.value=n.mUe.value),n.jUe={value:n.jUe.value,caption:n.jUe.caption,type:t.name},n.xUe(t)}}),e=i.create();return(0,m.isNullOrUndefined)(n.mUe.type)?Object.keys(n.mUe).length>0&&("number"===n.mUe.dataType?i.setValue(r.ColumnTypes.Number):"date"===n.mUe.dataType?i.setValue(r.ColumnTypes.Date):"boolean"===n.mUe.dataType?i.setValue(r.ColumnTypes.Checkbox):(0,m.isFormula)(n.mUe.formula)?i.setValue(r.ColumnTypes.Formula):n.LEt.isRelationship(n.mUe.value)?i.setValue(r.ColumnTypes.Lookup):(t=n.LEt.getSampleValue(n.mUe),(0,m.isNumber)(t)?i.setValue(r.ColumnTypes.Number):(0,m.isDate)(t)?i.setValue(r.ColumnTypes.Date):(0,m.isString)(t)?i.setValue(r.ColumnTypes.Text):(0,m.isBoolean)(t)&&i.setValue(r.ColumnTypes.Checkbox))):i.setValue(n.mUe.type),n.xT.push(i),e},n.prototype.Ue=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.formatter?t.jUe.style.formatter:t.mUe&&t.mUe.style&&t.mUe.style.formatter?t.mUe.style.formatter:m.keyword_null},n.prototype.Lto=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.cellType?t.jUe.style.cellType:t.mUe&&t.mUe.style&&t.mUe.style.cellType?t.mUe.style.cellType:m.keyword_null},n.prototype.SUe=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.dropDowns?t.jUe.style.dropDowns[0].option:t.mUe&&t.mUe.style&&t.mUe.style.dropDowns?t.mUe.style.dropDowns[0].option:m.keyword_null},n.prototype.Neo=function(){var t=this;return t.jUe&&t.jUe.trigger&&t.jUe.trigger.fields?t.jUe.trigger.fields:t.mUe&&t.mUe.trigger&&t.mUe.trigger.fields?t.mUe.trigger.fields:m.keyword_null},n.prototype.ono=function(){var t=this,n=t.jUe,i=t.mUe;return Object.keys(i).length>0&&!(0,b.isNullOrEmpty)(i.type)&&i.type!==n.type},n.prototype.uno=function(t){var n,i,e=this;if(e.ono())e.jUe.style=t;else{for(i in(0,m.isNullOrUndefined)(e.jUe.style)&&(e.jUe.style={}),n=e.mUe.style)n.hasOwnProperty(i)&&(e.jUe.style[i]=(0,m.cloneObject)(n[i]));for(i in t)t.hasOwnProperty(i)&&(e.jUe.style[i]=t[i])}},n.prototype.xUe=function(t){var n=this;switch(n.LUe.xT=n.YZe(n.LUe.xT),n.LUe.empty(),t.name){case r.ColumnTypes.Text:n.jUe.dataType="string",n.OUe().appendTo(n.LUe);break;case r.ColumnTypes.Number:n.IZe(1);break;case r.ColumnTypes.Percent:n.IZe(6,r.ColumnTypes.Percent.toLowerCase());break;case r.ColumnTypes.Currency:n.IZe(2,r.ColumnTypes.Currency.toLowerCase());break;case r.ColumnTypes.Lookup:n.ZUe();break;case r.ColumnTypes.Formula:n.kUe();break;case r.ColumnTypes.Phone:n.EUe();break;case r.ColumnTypes.Email:n.UUe();break;case r.ColumnTypes.URL:n.Oto();break;case r.ColumnTypes.Date:n.NZe(4,r.ColumnTypes.Date.toLowerCase());break;case r.ColumnTypes.CreatedTime:n.NZe(4,r.ColumnTypes.CreatedTime.toLowerCase());break;case r.ColumnTypes.ModifiedTime:n.NZe(4,r.ColumnTypes.ModifiedTime.toLowerCase());break;case r.ColumnTypes.Barcode:n.kto();break;case r.ColumnTypes.Attachment:n.Zto();break;case r.ColumnTypes.Checkbox:n.Eto();break;case r.ColumnTypes.Select:n.Uto()}},n.prototype.IZe=function(t,n){var i=this;n=n?"-"+n:"",i.jUe.dataType="number",i.GUe([{typeId:"number-formatting"+n,title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(n){var e=new s.bZe({type:t,formatter:i.Ue(),onChange:function(t){i.uno({mask:{pattern:"[-]{0,1}0{0,}[.]{0,1}0{0,}"},formatter:t})}});e.create().appendTo(n),i.LUe.xT.push(e)}},{typeId:"number-default"+n,title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(t){i.OUe().appendTo(t)}}]).appendTo(i.LUe)},n.prototype.ZUe=function(){var t,n,i=this,e=i.xT[0];e.resetDisable(),t={formattingSelect:m.keyword_null},n=i.BUe(t,"value"),i.GUe([{typeId:"lookup",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(o){var r=new I.RZe({getLookup:function(t){return i.LEt.getLookup(t)},onChange:function(o){t.formattingSelect&&(e.setValue(o),i.jUe.value=o,n())}});r.create(i.jUe.value||i.mUe.value).appendTo(o),i.LUe.xT.push(r)}},{typeId:"lookup-formatting",title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(e){t.formattingSelect=new N.MZe({formatter:i.Ue(),onChange:function(t){i.uno({formatter:t})}}),t.formattingSelect.create().appendTo(e),n(),i.LUe.xT.push(t.formattingSelect)}}]).appendTo(i.LUe)},n.prototype.BUe=function(t,n){var i=this,e=i.LUe.xT,o=e.length,r=function(t){t===e[o].isDisable(1)&&e[o].resetDisable(1)},u=function(){var e=E(E({},i.mUe),i.jUe),o=e[n]&&i.LEt.getSampleValue(e),u=t.formattingSelect&&t.formattingSelect.createFormatting(o);r(u)};return u},n.prototype.kUe=function(){var t,n,i=this;i.jUe.dataType="formula",t={formattingSelect:m.keyword_null},n=i.BUe(t,"formula"),i.GUe([{typeId:"formula",title:(0,o.getSR)().defineColumnFormula,onInitPanel:function(e){var r=new D.vZe({validate:{validating:function(t){return!(0,b.isNullOrEmpty)(t)&&"="!==t||{success:!1,errorMessage:(0,o.getSR)().defineColumnRequired}}},getColumnFields:function(){return i.LEt.getColumnFields()},onChange:function(e){t.formattingSelect&&(i.jUe.formula=e,n())}});r.create().appendTo(e),r.setValue(i.jUe.formula||i.mUe.formula),i.LUe.xT.push(r)}},{typeId:"formula-formatting",title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(e){t.formattingSelect=new N.MZe({formatter:i.Ue(),onChange:function(t){i.uno({formatter:t})}}),t.formattingSelect.create().appendTo(e),n(),i.LUe.xT.push(t.formattingSelect)}}]).appendTo(i.LUe)},n.prototype.Oto=function(){var t,n,i,e=this;e.jUe.dataType="string",(t=e.Lto())&&"hyperlink"===t.type&&(n=t.linkColor,i=t.visitedLinkColor),e.GUe([{typeId:"url",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(o){var r=new z.Gto({linkColor:n,visitedLinkColor:i,onChange:function(n){e.uno({cellType:{type:"hyperlink",linkColor:n.linkColor,visitedLinkColor:n.visitedLinkColor,target:null==t?void 0:t.target}})}});r.create().appendTo(o),e.LUe.xT.push(r)}},{typeId:"url-default",title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(t){e.OUe().appendTo(t)}}]).appendTo(e.LUe)},n.prototype.EUe=function(){this.RUe("phone","1 \\(0{3}\\) 0{3}-0{4}")},n.prototype.UUe=function(){this.RUe("email","[a0._\\-]{1,}@[a0._\\-]{1,}.(com|cn|gov|edu)")},n.prototype.RUe=function(t,n){var i,e=this;e.jUe.dataType="string",i=e.QUe(),e.GUe([{typeId:t,title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(t){var o,r=new C.JZe({pattern:null!==(o=i.pattern)&&void 0!==o?o:n,placeholder:i.placeholder,excludeLiteral:i.excludeLiteral,excludePlaceholder:i.excludePlaceholder,onChange:function(t){e.uno({mask:t})}});r.create().appendTo(t),e.LUe.xT.push(r)}},{typeId:t+"-default",title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(t){e.OUe().appendTo(t)}}]).appendTo(e.LUe)},n.prototype.QUe=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.mask?t.jUe.style.mask:t.mUe&&t.mUe.style&&t.mUe.style.mask?t.mUe.style.mask:{}},n.prototype.NZe=function(t,n){var i=this;i.GUe(i.PUe(t,n)).appendTo(i.LUe)},n.prototype.PUe=function(t,n){var i,u,c=this,a=n?"-"+n:"";return c.jUe.dataType="date",n!==r.ColumnTypes.CreatedTime.toLowerCase()&&n!==r.ColumnTypes.ModifiedTime.toLowerCase()||(c.jUe.readonly=!0,c.jUe.trigger={formula:"=NOW()",when:n===r.ColumnTypes.CreatedTime.toLowerCase()?"onNew":"onNewAndUpdate"}),n===r.ColumnTypes.CreatedTime.toLowerCase()&&(c.jUe.defaultValue="=NOW()"),i=[],n===r.ColumnTypes.Date.toLowerCase()?(u=c.SUe(),i.push({typeId:"date-time-piker"+a,title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(n){var i=new f.cZe({type:t,calendarPage:null==u?void 0:u.calendarPage,showTime:null==u?void 0:u.showTime,showDateRange:null==u?void 0:u.showDateRange,startDay:null==u?void 0:u.startDay,showBuiltInDateRange:null==u?void 0:u.showBuiltInDateRange,onChange:function(t){c.uno({cellButtons:[{imageType:e.ButtonImageType[e.ButtonImageType.dropdown],command:"openDateTimePicker",useButtonStyle:!1,visibility:e.ButtonVisibility[e.ButtonVisibility.always],buttonBackColor:"transparent"}],dropDowns:[{type:e.DropDownType[e.DropDownType.dateTimePicker],option:{startDay:t.startDay,calendarPage:t.calendarPage,showTime:t.showTime,showDateRange:null==u?void 0:u.showDateRange,showBuiltInDateRange:null==u?void 0:u.showBuiltInDateRange}}]})}});i.create().appendTo(n),c.LUe.xT.push(i)}})):n===r.ColumnTypes.ModifiedTime.toLowerCase()&&i.push({typeId:"modified-fields"+a,title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(t){var n=new d.KZe({fields:c.Neo(),getTriggerFields:function(){return c.LEt.getTriggerFields()},onChange:function(t){c.jUe.trigger.fields=t.fields}});n.create().appendTo(t),c.LUe.xT.push(n)}}),i.push({typeId:"date-formatting"+a,title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(t){var n=new l.Wze({formatter:c.Ue(),onChange:function(t){c.uno({formatter:t.formatter})}});n.create().appendTo(t),c.LUe.xT.push(n)}}),i},n.prototype.t=function(){var t=this,n=t.Ue(),i,e=t.jUe.value||t.mUe.value;return i=n?(0,y.parseBarCodeOptions)(t.LEt.getSheet(),n):(0,y.getDefaultBarcodeOptions)(e)},n.prototype.Sto=function(t){var n=this;t.value=(0,y.getFieldRef)(n.jUe.value||n.mUe.value),n.uno({formatter:(0,y.createBarcodeFormula)(n.LEt.getSheet(),t)})},n.prototype.kto=function(){var t=this,n=t.t(),i={container:m.keyword_null};t.Ue()||t.Sto(n),t.GUe([{typeId:"barcode-base",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(e){var o=new w.Ieo({option:n,onChange:function(n,e){t.Sto(n),e&&i.container.reset()}});o.create().appendTo(e),t.LUe.xT.push(o)}},{typeId:"barcode-options",title:(0,o.getSR)().defineColumnOthers,onInitPanel:function(e){var o=i.container=new x.nto({panel:e,option:n,onChange:function(n){t.Sto(n)}});o.create(),t.LUe.xT.push(o)}},{typeId:"barcode-default",title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(n){t.OUe().appendTo(n)}}]).appendTo(t.LUe)},n.prototype.Zto=function(){var t=this,n={type:"fileUpload"},i=t.Lto();t.GUe([{typeId:"attachment",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(o){var r=new h.YQe({fileType:null==i?void 0:i.accept,maxSize:null==i?void 0:i.maxSize,preview:null==i?void 0:i.isPreviewEnabled,download:null==i?void 0:i.isDownloadEnabled,clear:null==i?void 0:i.isClearEnabled,onChange:function(i){n.accept=i.fileType,n.maxSize=i.maxSize,n.isPreviewEnabled=!!i.preview,n.isDownloadEnabled=!!i.download,n.isClearEnabled=!!i.clear,t.uno({hAlign:e.HorizontalAlign[e.HorizontalAlign.center],vAlign:e.VerticalAlign[e.VerticalAlign.center],cellType:n})}});r.create().appendTo(o),t.LUe.xT.push(r)}},{typeId:"attachment-margin",title:(0,o.getSR)().columnTypeAttachmentMarginGroup,onInitPanel:function(e){var o=new v.zQe({marginLeft:null==i?void 0:i.marginLeft,marginRight:null==i?void 0:i.marginRight,marginTop:null==i?void 0:i.marginTop,marginBottom:null==i?void 0:i.marginBottom,onChange:function(t){n.marginLeft=t.marginLeft,n.marginRight=t.marginRight,n.marginTop=t.marginTop,n.marginBottom=t.marginBottom}});o.create().appendTo(e),t.LUe.xT.push(o)}}]).appendTo(t.LUe)},n.prototype.Eto=function(){var t,n=this,i={type:"checkbox"};n.jUe.dataType="boolean",t=n.Lto(),n.GUe([{typeId:"checkbox",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(e){var o=new g.Mto({caption:null==t?void 0:t.caption,boxSize:null==t?void 0:t.boxSize,autoBoxSize:"auto"===(null==t?void 0:t.boxSize),onChange:function(t){i.caption=t.caption,i.boxSize=t.boxSize,t.autoBoxSize&&(i.boxSize="auto"),n.uno({cellType:i})}});o.create().appendTo(e),n.LUe.xT.push(o)}},{typeId:"checkbox-text",title:(0,o.getSR)().columnTypeCheckboxTextGroup,onInitPanel:function(e){var o=new M.sto({isThreeState:null==t?void 0:t.isThreeState,checkboxTrue:null==t?void 0:t.textTrue,checkboxFalse:null==t?void 0:t.textFalse,checkboxIndeterminate:null==t?void 0:t.textIndeterminate,checkboxAlign:t?M.CheckBoxTextAlign[t.textAlign]:m.keyword_null,onChange:function(t){i.isThreeState=t.isThreeState,i.textTrue=t.checkboxTrue,i.textFalse=t.checkboxFalse,i.textIndeterminate=t.checkboxIndeterminate,i.textAlign=M.CheckBoxTextAlign[t.checkboxAlign]}});o.create().appendTo(e),n.LUe.xT.push(o)}}]).appendTo(n.LUe)},n.prototype.Uto=function(){var t=this,n={type:"combobox"},i=t.Lto();t.GUe([{typeId:"combobox",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(e){var o=new j.wto({items:null==i?void 0:i.items,onChange:function(i){n.items=i.items,t.uno({cellType:n})}});o.create().appendTo(e),t.LUe.xT.push(o)}},{typeId:"combobox-text",title:(0,o.getSR)().columnTypeCheckboxTextGroup,onInitPanel:function(e){var o=new T.vto({editorValueType:i?A.EditorValueType[i.editorValueType]:m.keyword_null,itemHeight:null==i?void 0:i.itemHeight,editable:null==i?void 0:i.editable,onChange:function(t){n.editorValueType=A.EditorValueType[t.editorValueType],n.itemHeight=t.itemHeight,n.editable=t.editable}});o.create().appendTo(e),t.LUe.xT.push(o)}}]).appendTo(t.LUe)},n.prototype.GUe=function(t){var n=new a.YUe({items:t});return this.LUe.xT.push(n),n.create()},n.prototype.OUe=function(){var t=this,n=t.wUe({inputId:"defaultValue",placeholder:(0,o.getSR)().defineColumnDefaultValue,onChange:function(n){if("string"!==t.jUe.dataType&&!(0,m.isFormula)(n)&&!(0,b.isNullOrEmpty)(n)){var i=Number(n);Number.isNaN(i)||(n=i)}t.jUe.defaultValue=n}},t.mUe.defaultValue),i=n.input,e=n.elem;return t.LUe.xT.push(i),e},n.prototype.AUe=function(){var t=this,n=t.LUe=(0,e.GC$)(S("div"));return n.xT=[],n.addClass("gc-defined-column-type-config-container"),n},n.prototype.Aoe=function(){var t=this,n=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)if((e=i[n]).validate&&!e.validate())return e.setFocus&&e.setFocus(),!1;return!0};return!!n(t.xT)&&!!n(t.LUe.xT)},n.prototype.zUe=function(){var t,n,i,u,c,a=this,s=(0,e.GC$)(S("div"));return s.addClass("gc-defined-column-footer-container"),(t=(0,e.GC$)(S("div"))).addClass("gc-defined-column-footer-container-buttons"),t.appendTo(s),(n=(0,e.GC$)(S("button"))).addClass("gc-defined-column-footer-container-button ui-button ui-state-default ui-corner-all btn btn-default"),(i=(0,e.GC$)(S("span"))).appendTo(n),i.text((0,o.getSR)().cancel),n.bind("click",(function(){a.close()})),a.xT.push(n),(u=(0,e.GC$)(S("button"))).addClass("gc-defined-column-footer-container-button gc-defined-column-footer-container-button-primary ui-button ui-state-default ui-corner-all btn btn-default"),u.appendTo(t),n.appendTo(t),(c=(0,e.GC$)(S("span"))).appendTo(u),c.text((0,o.getSR)().submit),u.bind("click",(function(){var t,n,i,e,u,c=E({},a.jUe);if(a.Aoe()){if(t=c.type===r.ColumnTypes.Formula){if(!(0,b.isNullOrEmpty)(c.value)&&(c.name=c.value,(0,m.isFormula)(c.value)))return;c.value=c.formula,(0,b.isNullOrEmpty)(c.name)&&delete c.dataType,delete c.formula}if((i=(n=Object.keys(a.mUe)).length>0)&&(a.mUe.value===c.value||(0,b.isNullOrEmpty)(c.value))||(e=a.LEt.getColumnBy(c.value))&&!1===e.visible&&(a.mUe=E({},e),a.mUe.visible=!0,i=(n=Object.keys(a.mUe)).length>0),i){if(t&&(0,b.isNullOrEmpty)(c.value)&&(c.value=a.mUe.formula),c.value=c.value||a.mUe.value,c.type=c.type||a.mUe.type,c.caption=c.caption||a.mUe.caption,u=E({},a.mUe),(0,b.isNullOrEmpty)(u.formula)||(u.value=u.formula,delete u.formula),t&&(0,b.isNullOrEmpty)(c.name)&&"formula"===c.dataType&&!(0,b.isNullOrEmpty)(u.name)&&"formula"===u.dataType)return;(0,o.copyOriginalColumnPropertiesToCurrentColumn)(c,u,n),a.LEt.onSaving({cmd:"ModifyColumn",originalColumn:u,column:c})}else c.value&&a.LEt.onSaving({cmd:"DefineColumn",column:c})}})),a.xT.push(u),n.bind("mouseover",(function(){u.addClass("ui-state-hover")})).bind("mouseout",(function(){u.removeClass("ui-state-hover")})),u.bind("mouseover",(function(){u.addClass("ui-state-hover")})).bind("mouseout",(function(){u.removeClass("ui-state-hover")})),s},n.prototype._hidden=function(){var t,n;this.Wc.css(["visibility","display"],["hidden","block"])},n.prototype.$c=function(n){var i,e;this.Wc.css(["visibility"],["visible"]),t.prototype.$c.call(this,n)},n.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&(e.unbind("click"),e.unbind("mouseover"),e.unbind("mouseout"));return[]},n.prototype.L0=function(){var t=this;t.xT=t.YZe(t.xT),t.LUe.xT=t.YZe(t.LUe.xT),t.LUe.empty(),t.LUe=m.keyword_null,(0,e.GC$)(m.DOCUMENT).unbind(p)},n.prototype.close=function(){var n=this;n._hidden(),n.L0(),t.prototype.close.call(this),n.LEt.onClosed()},n.prototype.rQ=function(t,n){var i=this,e=i.Wc;i.LF(),e.css(["left","top"],[t,n]),e.css("max-height",Math.min(window.innerHeight,window.innerHeight-n)+"px"),i.LEt.onOpening(),i.$c(),i.if(),setTimeout((function(){i.Wc.focus(),i.xT[0].setFocus()})),i.LEt.onOpened()},n}(e.zc),n.Uze=O},2611:function(t,n,i){var e,o,r,u,c,a,s,l,f,d=this&&this.mJr||function(){return d=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},d.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.Mto=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(6018),c=i(6406),a=i(591),s=e.mt,l=s.En,f=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Qze=(0,e.GC$)(l("div"));return n.addClass("gc-defined-column-column-type-checkbox-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.Qze,i=t.LEt;return t._caption=new c.mZe({inputId:"placeholder",label:{text:(0,o.getSR)().columnTypeCheckboxCaption},placeholder:"",onChange:function(n){t.Ito()}}),t._caption.create().appendTo(n),t._caption.setValue(i.caption),t._boxSize=new u.AZe({inputId:"checkbox-size-limit",minValue:0,label:{text:(0,o.getSR)().columnTypeCheckboxBoxSize},onChange:function(){t.Ito()}}),t._boxSize.create().appendTo(n),t._boxSize.setValue(i.boxSize||12),t.bto=new r.Rze({label:{text:(0,o.getSR)().columnTypeCheckboxAuto},onChange:function(n){n?t._boxSize.isDisable()||t._boxSize.resetDisable():t._boxSize.isDisable()&&t._boxSize.resetDisable(),t.Ito()}}),t.bto.create().appendTo(n),t.bto.setValue(i.autoBoxSize),n},t.prototype.Ito=function(){var t,n,i,e=this;this.LEt.onChange({caption:null===(t=e._caption)||void 0===t?void 0:t.value,boxSize:null===(n=e._boxSize)||void 0===n?void 0:n.value,autoBoxSize:null===(i=e.bto)||void 0===i?void 0:i.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=d(d({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Qze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Qze=a.keyword_null},t.prototype.L0=function(){var t=this;t._caption&&t._caption.dispose(),t._caption=a.keyword_null,t._boxSize&&t._boxSize.dispose(),t._boxSize=a.keyword_null,t.bto&&t.bto.dispose(),t.bto=a.keyword_null},t}(),n.Mto=f},2648:function(n){n.exports=t.Spread.Sheets.FormulaTextBox},2778:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.ceo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"labelWithStartAndStopCharacter"),t.cto(n,"checkDigit"),t.ato(n,"nwRatio",[{text:"3",value:"3"},{text:"2",value:"2"}]),t.cto(n,"fullASCII"),t.oeo(n),n},n}(o.Meo),n.ceo=c},3180:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.pUe=void 0,e=i(1376),o=i(6406),r=i(6114),u=i(7373),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){this.itemContainers=[];var n=this;n.LEt=t,n.jrt=n.ano=c.keyword_null}return t.prototype.WUe=function(t){var n=this;return{inputId:"type-select",type:"text",placeholder:(0,r.getSR)().defineColumnType,isReadOnly:!!t,label:t?{iconClass:t,suffixIconClass:"gc-defined-column-type-icon-chevrondown"}:{iconClass:"gc-defined-column-type-icon-magnifyingglass",suffixIconClass:"gc-defined-column-type-icon-x",onSuffixClick:function(t){(n.jrt||n.ano)&&(0,u.isNullOrEmpty)(n.XKt)?(n.jrt=n.jrt||n.ano,n.VUe(n.jrt,t)):n.FUe.setValue()}},onChange:t?c.keyword_null:function(t){n.JUe(t)},onClick:t?function(t){n.FUe.setOptions(n.WUe()),n.FUe.setValue(),n.ano=n.jrt,n.jrt=c.keyword_null,n.LEt.onChange({name:c.keyword_null},t)}:c.keyword_null}},t.prototype.create=function(){var t,n=this,i=n.LEt.items,r=(0,e.GC$)(s("div"));return r.addClass("gc-defined-column-type-select-container"),r.attr("role","combobox"),r.attr("aria-expanded","true"),r.attr("aria-autocomplete","list"),r.attr("aria-controls","gc-defined-column-types-container"),n.FUe=new o.mZe(n.WUe()),n.FUe.create().appendTo(r),(0,c.isNullOrUndefined)(n.jrt)&&i&&i.length>0&&n.XUe().appendTo(r),(t=(0,e.GC$)(s("div"))).addClass("gc-defined-column-field-label-validation-container"),t.appendTo(r),r},t.prototype.XUe=function(){var t=this,n=t.LEt.items,i=t._Ue=(0,e.GC$)(s("div"));return i.addClass("gc-defined-column-types-container"),i.attr("id","gc-defined-column-types-container"),i.attr("role","listbox"),t.tyn(n),i},t.prototype.tyn=function(t){var n,i,o,r,u=this,a=u._Ue;for(null==a||a.parent().attr("aria-expanded",t.length>0?"true":"false"),n=function(t){var n,i,o=(0,e.GC$)(s("div"));u.itemContainers.push(o),o.addClass("gc-defined-column-field-type-container"),o.attr("role","option"),(0,c.isFunction)(u.LEt.onChange)&&o.bind("click",(function(n){u.jrt=t,u.VUe(t,n)})),(n=(0,e.GC$)(s("div"))).addClass("gc-defined-column-field-type-icon "+t.iconClass),n.appendTo(o),(i=(0,e.GC$)(s("div"))).addClass("gc-defined-column-field-type-text"),i.text(t.text||t.name),i.appendTo(o),o.appendTo(a)},i=0,o=t;i<o.length;i++)n(r=o[i])},t.prototype.setValue=function(t){var n,i=this;if(!(0,c.isNullOrUndefined)(t)&&(n=i.LEt.items.find((function(n){return n.name===t}))))return i.jrt=n,void i.VUe(n);i.FUe.setValue()},t.prototype.VUe=function(t,n){var i=this;i.isValid()||i.resetValid(i.validate()),i.FUe.setOptions(i.WUe(t.iconClass)),i.FUe.setValue(t.text||t.name),i.d5(),i.LEt.onChange(t,n)},t.prototype.d5=function(){var t,n,i,e=this;if(e._Ue.empty(),(0,c.isFunction)(e.LEt.onChange))for(t=0,n=e.itemContainers;t<n.length;t++)(i=n[t]).unbind("click")},t.prototype.JUe=function(t){var n,i=this,e=i.LEt.items;i.XKt=t,i.d5(),(0,c.isNullOrUndefined)(t)||""===t?i.tyn(e):(t=t.toLowerCase(),n=e.filter((function(n){return(n.text||n.name).toLowerCase().indexOf(t)>-1})),i.tyn(n))},t.prototype.validate=function(){var t=this;return(0,c.isNullOrUndefined)(t.jrt)?(t.resetValid(!1,{required:!1}),!1):(t.resetValid(!0),!0)},t.prototype.resetValid=function(t,n){var i,o,u,c=this,a=null===(i=c._Ue)||void 0===i?void 0:i.parent();a&&(o=a.find(".gc-defined-column-field-label-validation-container"),u=(0,e.GC$)(o[o.length-1]),t?(a.removeClass("gc-define-column-invalid"),a.attr("aria-invalid","false"),u.hide(),u.empty()):a.hasClass("gc-define-column-invalid")||(a.addClass("gc-define-column-invalid"),a.attr("aria-invalid","true"),!1===n.required&&u.html((0,r.getSR)().defineColumnRequired),u.show()))},t.prototype.isValid=function(){var t,n=this,i=null===(t=n._Ue)||void 0===t?void 0:t.parent();return i&&!i.hasClass("gc-define-column-invalid")},t.prototype.setFocus=function(){this.FUe.setFocus()},t.prototype.dispose=function(){var t=this;t.FUe.dispose(),t.FUe=c.keyword_null,t.d5(),t._Ue=c.keyword_null},t}(),n.pUe=l},3182:function(t,n,i){var e,o,r=this&&this.vJr||(u=function(t,n){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},u(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}u(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),u;function c(t){return void 0===t}Object.defineProperty(n,"__esModule",{value:!0}),n.OverWriteWorkSheet=void 0,o=function(t){function n(n,i,e){var o=t.call(this,n)||this;return o.NMi=i,o.qni=e,o}return r(n,t),n.prototype.Mtt=function(n){this.Ldi(n)?this.qni.undo(n):t.prototype.Mtt.call(this,n)},n.prototype.vCn=function(){t.prototype.vCn.call(this),this.qni.startTransaction()},n.prototype.FCn=function(){var n=t.prototype.FCn.call(this),i=this.qni.endTransaction();return(null==i?void 0:i.length)>0?i:n},n.prototype.Mno=function(){return!c(this.Ino)},n.prototype.mno=function(){this.Ino={}},n.prototype.Nno=function(){this.Dno(),this.Ino=void 0},n.prototype.jno=function(t){c(this.Ino[t])&&(this.Ino[t]=!0)},n.prototype.Dno=function(){if(this.Ino)for(var t in this.Ino)this.Ino[t]&&this.NMi.iM(void 0,t)},n.prototype.resumePaint=function(){t.prototype.resumePaint.call(this),this.My<=0&&this.NMi.refreshDataProvider()},n.prototype.repaint=function(){t.prototype.repaint.call(this),this.My<=0&&this.NMi.refreshDataProvider()},n.prototype.Ldi=function(t){var n=null==t?void 0:t[0];return!!(null==n?void 0:n.sourceType)},n}((e=i(1376)).Worksheet),n.OverWriteWorkSheet=o},3382:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.seo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"checkDigit"),t.cto(n,"fullASCII"),t.oeo(n),n},n}(o.Meo),n.seo=c},3632:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.zQe=void 0,e=i(1376),o=i(6114),r=i(591),u=i(6018),c=e.mt,a=c.En,s=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.ZQe=(0,e.GC$)(a("div"));return n.addClass("gc-defined-column-attachment-margins-container"),t.ZX()},t.prototype.ZX=function(){var t,n,i,e,r=this,c=r.ZQe,a=r.LEt;return r._marginLeft=new u.AZe({inputId:"attachment-margin-left",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentLeft},onChange:function(){r.QQe()}}),r._marginLeft.create().appendTo(c),r._marginLeft.setValue(null!==(t=a.marginLeft)&&void 0!==t?t:2),r._marginRight=new u.AZe({inputId:"attachment-margin-right",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentRight},onChange:function(){r.QQe()}}),r._marginRight.create().appendTo(c),r._marginRight.setValue(null!==(n=a.marginRight)&&void 0!==n?n:2),r._marginTop=new u.AZe({inputId:"attachment-margin-top",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentTop},onChange:function(){r.QQe()}}),r._marginTop.create().appendTo(c),r._marginTop.setValue(null!==(i=a.marginTop)&&void 0!==i?i:2),r._marginBottom=new u.AZe({inputId:"attachment-margin-bottom",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentBottom},onChange:function(){r.QQe()}}),r._marginBottom.create().appendTo(c),r._marginBottom.setValue(null!==(e=a.marginBottom)&&void 0!==e?e:2),c},t.prototype.QQe=function(){var t,n,i,e,o=this;this.LEt.onChange({marginLeft:null===(t=o._marginLeft)||void 0===t?void 0:t.value,marginRight:null===(n=o._marginRight)||void 0===n?void 0:n.value,marginTop:null===(i=o._marginTop)||void 0===i?void 0:i.value,marginBottom:null===(e=o._marginBottom)||void 0===e?void 0:e.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=l(l({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.ZQe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.ZQe=r.keyword_null},t.prototype.L0=function(){var t=this;t._marginLeft&&t._marginLeft.dispose(),t._marginLeft=r.keyword_null,t._marginRight&&t._marginRight.dispose(),t._marginRight=r.keyword_null,t._marginTop&&t._marginTop.dispose(),t._marginTop=r.keyword_null,t._marginBottom&&t._marginBottom.dispose(),t._marginBottom=r.keyword_null},t}(),n.zQe=s},3789:function(n){n.exports=t.Spread.Sheets.CalcEngine},3827:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.feo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.rto(n,"addOn"),t.ato(n,"addOnLabelPosition",[{text:"top",value:"top"},{text:"bottom",value:"bottom"}]),t.oeo(n),n},n}(o.Meo),n.feo=c},3889:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y=this&&this.vJr||(x=function(t,n){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},x(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}x(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),x;function A(t,n){var i,e,o=n.getDataView();o&&(i=n.Mf.rowFilter(),(e=n.TLt(o,t,t))&&(n.EPt(),i.UIi()),n.Mf.rowFilter().VIi(t),o.hRe(t),e&&(i.QIi(),n.jPt()),n.restoreView(n.getDataView()))}Object.defineProperty(n,"__esModule",{value:!0}),n.TableSheetRemoveColumnInfoAction=n.TableSheetResertViewAction=n.ViewGroupOptionsAction=n.ViewMoveColumnAction=n.ViewAddColumnInfoAction=n.ViewRemoveColumnInfoAction=n.ViewUpdateColumnInfoAction=n.DefineColumnToTableAction=n.RemoveColumnToTableAction=n.ModifyColumnToTableAction=n.ExpandGroupItemAction=n.ExpandGroupAction=n.RemoveRowAction=n.PinRowAction=n.ResetRowAction=n.TableSheetActionBase=void 0,e=i(1376),o=i(7234),r=o.Common.lt.ht,u=e.Commands.ActionBase,c=function(){},a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),Object.defineProperty(n.prototype,"sheet",{get:function(){return this.Mf},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sheetTab",{get:function(){return this.sheet.NMi},enumerable:!1,configurable:!0}),n.prototype.execute=function(){var t,n,i=this,o=!1;if(i.canExecute()){n=(t=i.sheet).parent.i4(),e.Commands.II(n),i.X5(t,!0);try{"boolean"!=typeof(o=this.kdi())&&(o=!0)}finally{i.q5(t,!0),e.Commands.xI(n,i.tT)}}return o},n.prototype.undo=function(){var t,n=this,i=n.sheet,o=!1;if(n.canUndo()){n.X5(i,!0);try{t=i.parent.i4(),n.mze(),e.Commands.NI(t,n.tT),this.rbi(),o=!0}finally{n.q5(i,!0)}}return o},n.prototype.mze=function(){},n.prototype.rbi=function(){},n}(u),n.TableSheetActionBase=a,s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this.tT,n=t.tableSheet,i=t.index;n.Mf.ki(e.Events.RowOperation,{sheet:n,sheetName:n.name(),actionType:2,row:i}),n.resetRow(i)},n}(a),n.ResetRowAction=s,l=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this.tT,n=t.tableSheet,i=t.index;n.togglePinnedRows([i])},n}(a),n.PinRowAction=l,f=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this.tT,n=t.tableSheet,i=t.index;n.Mf.ki(e.Events.RowOperation,{sheet:n,sheetName:n.name(),actionType:0,row:i}),n.removeRow(i).catch(c)},n}(a),n.RemoveRowAction=f,d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.field,o=n.expand;i.expandGroup(e,o)},n}(a),n.ExpandGroupAction=d,h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.level,o=n.index,r=n.expand;i.expandGroupItem(e,o,r)},n}(a),n.ExpandGroupItemAction=h,v=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.column,o=n.originalColumn,r=n.col;return i.JEe(r,e,o)},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ModifyColumnToTableAction=v,g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.column,o=n.col;return i.iGe(o,e)},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.RemoveColumnToTableAction=g,M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.column,o=n.col;return i.qFe(o,e)},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.DefineColumnToTableAction=M,I=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.columnInfos,o=i.getDataView(),r=o.getColumnInfos(),u=i.Teo(!0)&&e.some((function(t){var n,i=!1!==t.visible,e=r.find((function(n){return n.value===t.value}));return!(!e||i===(n=!1!==e.visible))}));u&&i.qni.startAddComboChanges(),e.forEach((function(t){o.updateColumn(t)})),i.refreshBindColumns(),u&&(i.Seo(),i.qni.endAddComboChanges())},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ViewUpdateColumnInfoAction=I,N=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.value,o=i.getDataView();i.qni.startAddComboChanges(),o.removeColumn(e),i.refreshBindColumns(),i.Seo(),i.qni.endAddComboChanges()},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ViewRemoveColumnInfoAction=N,D=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.columnInfo,o=i.getDataView();o.addColumn(e),i.refreshBindColumns()},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ViewAddColumnInfoAction=D,b=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.fromColumnOptionIndex,o=n.toColumnOptionIndex,u=n.fromColumnIndex,c=n.toColumnIndex,a=n.count,s=!0;r(e)||r(o)||(s=!i.DPt(e,o)),!s||r(u)||r(c)||r(a)||i.OPt(u,c,a)},n}(a),n.ViewMoveColumnAction=b,m=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.groupOptions;(null==e?void 0:e.length)>0?i.groupBy(e):i.removeGroupBy()},n}(a),n.ViewGroupOptionsAction=m,C=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.newConfig,o=e.columnInfoOptions,r=e.includeDefaultColumns,u=e.options;i.resetNewView(o,r,u)},n}(a),n.TableSheetResertViewAction=C,w=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.index;A(e,i)},n.prototype.rbi=function(){var t=this.sheetTab;t.restoreView(t.getDataView())},n}(a),n.TableSheetRemoveColumnInfoAction=w},4036:function(n){n.exports=t.Spread.Sheets.Filter},4133:function(n){n.exports=t.Spread.Sheets.DataValidation},4475:function(n){n.exports=t.Spread.Sheets.AutoMerge},4488:function(t,n,i){var e,o,r;Object.defineProperty(n,"__esModule",{value:!0}),o="CONVERTARRAY",(e=i(5035)).Functions.findGlobalFunction(o)||((r=new e.Functions.Function(o,1,255)).evaluate=function(){var t=[].slice.apply(arguments);return new e.CalcArray([t])},e.Functions.defineGlobalCustomFunction(o,r))},4900:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};function f(){var t=Date.now().toString(),n=Math.floor(1e3*Math.random()).toString().padStart(3,"0");return t+n}Object.defineProperty(n,"__esModule",{value:!0}),n.Kze=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(591),c=e.mt,a=c.En,s=function(){function t(t){var n=this;n.LEt=t,n.KUe=u.keyword_null,n.$Ue="select-input-"+t.inputId||0}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.KUe)||void 0===t?void 0:t.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var t=this;return this.EE().findIndex((function(n){return n.value===t.value}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.KUe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.EE=function(){var t,n=this.LEt,i=n.stickItem,e=n.items;return i?[i].concat(e):e},t.prototype.create=function(){var t,n,i,o,c,s,l,f=this,d=f.LEt,h=f.yZe=(0,e.GC$)(a("div"));return h.addClass("gc-defined-column-field-item-container gc-defined-column-select-box-container"),d.label&&d.label.text&&((n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-field-label-container"),n.appendTo(h),(i=(0,e.GC$)(a("label"))).addClass("gc-defined-column-field-label-container-label-text"),i.attr("for","gc-defined-column-input-"+f.$Ue),i.appendTo(n),i.text(d.label.text)),(o=(0,e.GC$)(a("div"))).addClass("gc-defined-column-select-container"),f.isDisable()&&o.addClass("gc-defined-column-disabled"),f.isVisible()||h.addClass("gc-defined-column-hide"),o.appendTo(h),(c=f.peo=(0,u.createDCElement)("sjs-select")).attr("disabled",f.isDisable()),c.attr("id","gc-defined-column-input-"+d.inputId),c.attr("ariaLabel",null===(t=d.label)||void 0===t?void 0:t.text),(0,u.isNullOrUndefined)(d.defaultValue)||c.attr("value",d.defaultValue),f.LEt.enableSearch&&c.attr("editable",!0),c.attr("no-result-tip",(0,r.getSR)().defineColumnNoResults),(s=f.EE())&&s.length>0&&c.attr("items",JSON.stringify(f.EE().map((function(t){return{value:t.value,label:t.text||t.value}})))),c.bind("input",(function(t){var n,i=t.target.value;(0,u.isNullOrUndefined)(t.target.value)&&(i=u.keyword_null),n=f.EE().find((function(t){return((0,u.isNullOrUndefined)(t.value)?u.keyword_null:t.value)===i})),f.KUe=n,f.LEt.onChange(f.KUe),f.isValid()||f.resetValid(f.validate())})),c.appendTo(o),(l=(0,e.GC$)(a("div"))).addClass("gc-defined-column-field-label-validation-container"),l.appendTo(h),l.hide(),h},t.prototype.setValue=function(t,n){var i=this;i.setIndex(i.EE().findIndex((function(n){return n.value===t})),n)},t.prototype.setIndex=function(t,n){var i,e=this;if(!(0,u.isNullOrUndefined)(t)&&t>-1&&(i=e.EE()[t]))return e.KUe=i,void e.qUe(i,null==n||n);e.qUe(u.keyword_null)},t.prototype.setOptions=function(t){var n=this,i=n.LEt.items!==t.items;n.LEt=l(l({},n.LEt),t),i&&n.peo.setItems(n.EE().map((function(t){return{value:t.value,label:t.text||t.value}}))),n.setValue()},t.prototype.qUe=function(t,n){var i=this;t?i.peo.val(t.value):(i.KUe=u.keyword_null,i.peo.val(u.keyword_null)),n&&i.LEt.onChange(t)},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.peo.parent();t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),t.peo.bur(!n)},t.prototype.isVisible=function(){return!0!==this.LEt.hide},t.prototype.resetVisible=function(){var t=this,n=t.isVisible(),i=t.yZe;t.LEt.hide=n,n?i.addClass("gc-defined-column-hide"):i.removeClass("gc-defined-column-hide"),i.attr("aria-hidden",n?"true":"false")},t.prototype.validate=function(){var t,n=this,i=n.LEt.validate,e=!n.isDisable();if(i&&e){if(i.required&&(0,o.isNullOrEmpty)(n.value))return n.resetValid(!1,{required:!1}),!1;if(i.validating)if("boolean"==typeof(t=i.validating(n.value))){if(!t)return n.resetValid(!1),!1}else if(!t.success)return n.resetValid(!1,t),!1}return n.resetValid(!0),!0},t.prototype.resetValid=function(t,n){var i=this,o=i.peo,u=o.parent(),c=(0,e.GC$)(i.yZe.find(".gc-defined-column-field-label-validation-container")[0]);t?(u.removeClass("gc-define-column-invalid"),o.removeClass("gc-define-column-invalid"),o.attr("aria-invalid","false"),c.hide(),c.empty()):u.hasClass("gc-define-column-invalid")||(u.addClass("gc-define-column-invalid"),o.addClass("gc-define-column-invalid"),o.attr("aria-invalid","true"),!1===n.required?c.html((0,r.getSR)().defineColumnRequired):n.errorMessage&&c.html(n.errorMessage),n&&c.show())},t.prototype.isValid=function(){var t,n;return!this.peo.parent().hasClass("gc-define-column-invalid")},t.prototype.dispose=function(t){var n=this;n.peo.unbind("input"),n.peo=u.keyword_null,t&&n.yZe.remove(),n.yZe=u.keyword_null},t}(),n.Kze=s},5035:function(n){n.exports=t.Spread.CalcEngine},5065:function(n){n.exports=t.Spread.Sheets.Print},5168:function(t,n,i){var e,o,r,u,c,a,s,l,f,d=this&&this.mJr||function(){return d=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},d.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.JZe=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(7553),c=i(6406),a=null,s=e.mt,l=s.En,f=function(){function t(t){var n=this;n.LEt=t,n.y4={pattern:t.pattern,placeholder:t.placeholder,excludeLiteral:t.excludeLiteral,excludePlaceholder:t.excludePlaceholder}}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i,s,f,h=this,v=h.LEt,g=v.onChange,M=(0,e.GC$)(l("div"));return M.addClass("gc-defined-column-mask-container"),(t=h.XZe=new c.mZe({inputId:"pattern",label:{text:(0,r.getSR)().columnTypeMask.pattern},onChange:function(t){h.y4.pattern=(0,o.isNullOrEmpty)(t)?v.pattern:t,g&&g(d({},h.y4))}})).create().appendTo(M),v.pattern&&t.setValue(v.pattern),(n=h._Ze=new c.mZe({inputId:"placeholder",maxLength:1,label:{text:(0,r.getSR)().columnTypeMask.placeholder},onChange:function(t){h.y4.placeholder=(0,o.isNullOrEmpty)(t)?a:t,g&&g(d({},h.y4))}})).create().appendTo(M),v.placeholder&&n.setValue(v.placeholder),(i=(0,e.GC$)(l("div"))).addClass("gc-defined-column-mask-exclude-container"),i.appendTo(M),(s=h.Lse=new u.Rze({label:{text:(0,r.getSR)().columnTypeMask.excludeLiteral},onChange:function(t){h.y4.excludeLiteral=t,g&&g(d({},h.y4))}})).create().appendTo(i),v.excludeLiteral&&s.setValue(v.excludeLiteral),(f=h.Fse=new u.Rze({label:{text:(0,r.getSR)().columnTypeMask.excludePlaceholder},onChange:function(t){h.y4.excludePlaceholder=t,g&&g(d({},h.y4))}})).create().appendTo(i),v.excludePlaceholder&&f.setValue(v.excludePlaceholder),M},t.prototype.dispose=function(){var t=this;t.XZe.dispose(),t.XZe=a,t._Ze.dispose(),t._Ze=a,t.Lse.dispose(),t.Lse=a,t.Fse.dispose(),t.Fse=a},t}(),n.JZe=f},5203:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v;Object.defineProperty(n,"__esModule",{value:!0}),n.nto=void 0,e=i(8033),o=i(3827),r=i(5947),u=i(6153),c=i(2778),a=i(1633),s=i(3382),l=i(1090),f=i(6944),d=i(1649),h=i(6045),v=function(){function t(t){var n=this;n.LEt=t,n.xT=[]}return t.prototype.create=function(){var t;this.ZX()},t.prototype.ZX=function(){var t;this.ito()},t.prototype.oto=function(t){var n=this,i=n.LEt.option,e=n.LEt.panel,o=new t({option:i,onChange:function(t){n.Z_i(t)}});o.create().appendTo(e),n.xT.push(o)},t.prototype.ito=function(){var t=this,n,i;switch(t.LEt.option.barcodeType){case"QRCODE":t.oto(h.uto);break;case"EAN13":t.oto(o.feo);break;case"EAN8":t.oto(r.deo);break;case"CODABAR":t.oto(e.ueo);break;case"CODE39":t.oto(c.ceo);break;case"CODE93":t.oto(s.seo);break;case"CODE128":t.oto(u.aeo);break;case"GS1_128":t.oto(f.heo);break;case"CODE49":t.oto(a.reo);break;case"PDF417":t.oto(d.geo);break;case"DATAMATRIX":t.oto(l.leo)}},t.prototype.Z_i=function(t){var n,i=this.LEt.onChange;i&&i(t)},t.prototype.reset=function(){var t=this;t.d5(),t.ZX()},t.prototype.d5=function(){var t=this;t.LEt.panel.empty(),t.xT=t.YZe(t.xT)},t.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&e.unbind("click");return[]},t.prototype.dispose=function(){var t=this;t.xT=t.YZe(t.xT)},t}(),n.nto=v},5530:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I=this&&this.mJr||function(){return I=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},I.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.Wze=void 0,e=i(7234),o=i(1376),r=i(6114),u=i(7553),c=i(7324),a=i(1163),s=i(9266),l=i(4900),f=i(591),d=o.mt,h=d.En,v="3/14/2001 13:30:00",g=e.Common.CultureManager,M=function(){function t(t){var n;this.Hze=g.getCultureInfo(1041),this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Vze=(0,o.GC$)(h("div"));return n.addClass("gc-defined-column-date-formatting-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.LEt,i=t.Vze,e=(0,a.parseFormat)(n.formatter);return t.Fze=new c.Jze({label:{text:(0,r.getSR)().columnTypeDateType},items:[],onChange:function(){t.Xze()}}),t.Fze.create().appendTo(i),t.Fze.setIndex(e.index||0),t._ze=new l.Kze({inputId:"date-locale",items:(0,a.getListItems)(4),label:{text:(0,r.getSR)().columnTypeDateLocale},onChange:function(){t.$ze(),t.qze(),t.tZe()}}),t._ze.create().appendTo(i),e.locale?t._ze.setValue(e.locale):t._ze.setIndex(0),t.nZe=new l.Kze({inputId:"date-locale",hide:"ja-jp"!==e.locale,items:[{text:(0,r.getSR)().columnTypeCalendarType.western,value:"western"},{text:(0,r.getSR)().columnTypeCalendarType.JER,value:"JER"}],label:{text:(0,r.getSR)().columnTypeCalendar},onChange:function(){t.qze(),t.tZe()}}),t.nZe.create().appendTo(i),t.nZe.setValue(e.calendarType||"western"),t.iZe=new u.Rze({hide:"JER"!==e.calendarType,label:{text:(0,r.getSR)().columnTypeShowEraFirstYear},onChange:function(){t.tZe()}}),t.iZe.create().appendTo(i),t.iZe.setValue(1===e.numberSystem),t.eZe().appendTo(i),t.tZe(),i},t.prototype.tZe=function(){var t,n,i,e,o,u,c,s,l=null===(t=this._ze)||void 0===t?void 0:t.value,f=null===(n=this.nZe)||void 0===n?void 0:n.value,d=new Date(v),h=[],g=[],M=[];if(l&&f&&(M=(0,a.getPredefinedFormats)(l,a.formatCategories[4])),l===this.Hze.name().toLowerCase()&&"JER"===f)for(i=(0,r.getSR)().columnTypeNumberFormatting.japanEmperorReignDateFormat,e=0;e<i.length;e++)o=this.iZe&&this.iZe.value,1===e&&o?(h.push(this.Re(d,(0,r.getSR)().columnTypeNumberFormatting.japanEmperorReignFirstYearDateFormat[e])),g.push((0,r.getSR)().columnTypeNumberFormatting.japanEmperorReignFirstYearDateFormat[e])):(h.push(this.Re(d,i[e])),g.push(i[e]));else for(e=0;e<M.length;e++)u=this.Re(d,M[e]),h.push(u),g.push(M[e]);for(c=[],e=0;e<h.length;e++)c.push({text:h[e],value:g[e]});s=this.Fze.index,this.Fze.setOptions({items:c}),this.Fze.setIndex(Math.max(s,0))},t.prototype.Xze=function(){var t=this,n=t.oZe();t.LEt.onChange({formatter:n})},t.prototype.$ze=function(){var t,n,i,e,o,r=this,u=(null===(t=this._ze)||void 0===t?void 0:t.value)===this.Hze.name().toLowerCase();u?(null===(n=r.nZe)||void 0===n?void 0:n.isVisible())||null===(i=r.nZe)||void 0===i||i.resetVisible():(null===(e=r.nZe)||void 0===e?void 0:e.isVisible())&&(null===(o=r.nZe)||void 0===o||o.resetVisible())},t.prototype.qze=function(){var t,n,i,e,o,r,u,c,a=this,s=(null===(t=this._ze)||void 0===t?void 0:t.value)===this.Hze.name().toLowerCase(),l="JER"===(null===(n=this.nZe)||void 0===n?void 0:n.value);s?l?(null===(i=a.iZe)||void 0===i?void 0:i.isVisible())||null===(e=a.iZe)||void 0===e||e.resetVisible():(null===(o=a.iZe)||void 0===o?void 0:o.isVisible())&&(null===(r=a.iZe)||void 0===r||r.resetVisible()):(null===(u=a.iZe)||void 0===u?void 0:u.isVisible())&&(null===(c=a.iZe)||void 0===c||c.resetVisible())},t.prototype.oZe=function(){var t,n=this,i=this.Fze.value,e=new Date(v);return null===(t=n.uZe)||void 0===t||t.setText(n.Re(e,i)),i},t.prototype.eZe=function(){var t=this,n=t.uZe=new s.rZe;return n.create()},t.prototype.Re=function(t,n){var i;return new e.Formatter.GeneralFormatter(n).format(t)},t.prototype.setOptions=function(t){var n=this;n.LEt=I(I({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Vze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Vze=f.keyword_null},t.prototype.L0=function(){var t=this;t.Fze&&t.Fze.dispose(),t.Fze=f.keyword_null,t._ze&&t._ze.dispose(),t._ze=f.keyword_null,t.nZe&&t.nZe.dispose(),t.nZe=f.keyword_null,t.iZe&&t.iZe.dispose(),t.iZe=f.keyword_null,t.uZe.dispose(),t.uZe=f.keyword_null},t}(),n.Wze=M},5947:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.deo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.oeo(n),n},n}(o.Meo),n.deo=c},5981:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N=this&&this.mJr||function(){return N=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},N.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.bZe=void 0,e=i(7234),o=i(1376),r=i(6114),u=i(6018),c=i(7553),a=i(7324),s=i(1163),l=i(9266),f=i(4900),d=i(591),h=e.Formatter&&e.Formatter.GeneralFormatter,v=o.mt,g=v.En,M=v.St,I=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.fUe=(0,o.GC$)(g("div"));return n.addClass("gc-defined-column-number-formatting-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.LEt,i=t.fUe,e=(0,s.parseFormat)(n.formatter),o=n.type||e.category;return t.dUe=new u.AZe({inputId:"number-formatting-decimal-places",maxValue:16,label:{text:(0,r.getSR)().columnTypeNumberFormattingDecimalPlaces},onChange:function(){6!==o&&t.gUe.setOptions({items:t.MUe()}),t.Xze()}}),t.dUe.create().appendTo(i),6===o?(t.eZe().appendTo(i),t.dUe.setValue((0,d.isNullOrUndefined)(e.decimalPlaces)?2:e.decimalPlaces),i):(2===o?((0,d.isNullOrUndefined)(e.locale)&&n.formatter&&1===e.category&&(e.locale=(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0]),t.oUt=new f.Kze({inputId:"number-formatting-symbol",items:(0,s.getListItems)(2,[{text:(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0],value:(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0]}]),label:{text:(0,r.getSR)().columnTypeNumberFormattingSymbol},onChange:function(){t.gUe.setOptions({items:t.MUe()}),t.Xze()}}),t.oUt.create().appendTo(i)):(t.hUe=new c.Rze({label:{text:(0,r.getSR)().columnTypeNumberFormattingThousandSeparator},onChange:function(){t.gUe.setOptions({items:t.MUe()}),t.Xze()}}),t.hUe.create().appendTo(i)),t.gUe=new a.Jze({label:{text:(0,r.getSR)().columnTypeNumberFormattingNegativeNumbers},items:t.MUe(),onChange:function(){t.Xze()}}),t.gUe.create().appendTo(i),t.eZe().appendTo(i),t.gUe.setIndex(0),t.dUe.setValue((0,d.isNullOrUndefined)(e.decimalPlaces)?2:e.decimalPlaces),2===o?e.locale?t.oUt.setValue(e.locale):t.oUt.setIndex(1):t.hUe.setValue(e.useThousand||!1),t.gUe.setIndex((0,d.isNullOrUndefined)(e.index)?0:e.index),i)},t.prototype.Xze=function(){var t=this,n=t.oZe();t.LEt.onChange(n)},t.prototype.oZe=function(){var t,n,i=this;return t=6===i.LEt.type?i.IUe(i.dUe.value):2===i.LEt.type?i.bUe(i.gUe.value):i.NUe(i.gUe.index,i.dUe.value,i.hUe.value),n=i.Re("12345",t),i.uZe.setText(n),t},t.prototype.IUe=function(t){var n,i,e="";if(t>0){for(i=0;i<t;i++)e+="0";n="0."+e+"%"}else n="0%";return n},t.prototype.bUe=function(t){return t},t.prototype.NUe=function(t,n,i){var e,o,u=(0,r.getSR)().columnTypeNumberFormatting.numberCategoryFormats,c=u.length/2,a=u[t];if(i&&(a=u[t+c]),n>0){for(e="",o=0;o<n;o++)e+="0";a=a.replace(/0/g,"0."+e)}return a},t.prototype.MUe=function(){var t=this,n;return 2===t.LEt.type?t.vUe():t.DUe()},t.prototype.DUe=function(){var t,n,i,e,o,u,c,a,s,l,f,h="1234.10",v=this.dUe.value,g=this.hUe&&this.hUe.value;if(v>0){for(t="",n=0;n<v;n++)t=(n%10).toString()+t.substring(0);h=h.substring(0,h.indexOf(".")+1)+t}else h=h.substring(0,h.indexOf("."));for(g&&(i=h.indexOf("1"),h=h.substring(0,i+1)+","+h.substring(i+1)),e=[],o=(0,r.getSR)().columnTypeNumberFormatting.negativeNumbers,u=0,c=Object.keys(o);u<c.length;u++)s=h,-1!==(l=o[a=c[u]]).indexOf("-")&&(s="-"+s),-1!==l.indexOf(")")&&(s="("+s+")"),-1!==l.indexOf("\u25b3")&&(s="\u25b3"+s),-1!==l.indexOf("\u25b2")&&(s="\u25b2"+s),f={text:s,value:a,class:d.keyword_null},-1!==a.indexOf("red")&&(f.class="gc-defined-column-number-formatting-negative-item"),e.push(f);return e},t.prototype.vUe=function(){var t,n,i,o,u,c,a,l,f,h,v,g,M,I,N,D=this.dUe.value,b=this.oUt.value,m=[],C="-1234",w="",y="";if(D>0){for(y="."+Array(D).fill(0).join(""),t=Array(D),n=0;n<D;)t[n]=n%10,n++;t.reverse(),w=t.join("")}for(o=parseFloat(i=C+"."+w),u=(0,d.isNullOrUndefined)(b)||b===(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0]?(0,r.getSR)().columnTypeNumberFormatting.currencyFormatWithoutSymbol:(0,s.getPredefinedFormats)(b,s.formatCategories[2]),c=/(\[[^\$^\]]+\])?(\[\$[^\]]+\])?(.*)(0)([^\[]*)(\[\$[^\]]+\])?/,a=0,l=u.length;a<l;a++)h=(f=u[a]).split(";"),v=(0,s.beforeAdjustFormatString)(h),h=h.map((function(t){return t.replace(c,(function(){var t,n,i=[];for(t=1;t<7;t++)n=arguments[t],(0,d.isNullOrUndefined)(n)||(2!==t&&6!==t&&(n=n.replace(s.decimalPlacesWithZeroDotReg,"0"+y)),i.push(n));return i.join("")}))})),(0,s.afterAdjustFormatString)(h,v),f=h.join(";"),g={},N={text:I=(M=new e.Formatter.GeneralFormatter(f)).format(o,g),value:f},(g.conditionalForeColor&&"red"===g.conditionalForeColor.toLowerCase()||"#FF0000"===g.conditionalForeColor)&&(N.class="gc-defined-column-number-formatting-negative-item"),m.push(N);return m},t.prototype.eZe=function(){var t=this,n=t.uZe=new l.rZe;return n.create()},t.prototype.Re=function(t,n){var i,e;return M(n)?(i=(0,d.isNullOrUndefined)(t)?0:t,n.replace(/@/g,i)):(e=new h(n)).format(t)},t.prototype.setOptions=function(t){var n=this;n.LEt=N(N({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.fUe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.fUe=d.keyword_null},t.prototype.L0=function(){var t=this;t.dUe.dispose(),t.dUe=d.keyword_null,t.hUe&&t.hUe.dispose(),t.hUe=d.keyword_null,t.gUe&&t.gUe.dispose(),t.gUe=d.keyword_null,t.oUt&&t.oUt.dispose(),t.oUt=d.keyword_null,t.uZe.dispose(),t.uZe=d.keyword_null},t}(),n.bZe=I},6018:function(t,n,i){var e,o,r,u,c=this&&this.mJr||function(){return c=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},c.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.AZe=void 0,e=i(1376),o=i(591),r=e.mt.En,u=function(){function t(t){var n;this.LEt=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.DZe)||void 0===t?void 0:t.val()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i,u,c=this,a=c.LEt,s=c.yZe=(0,e.GC$)(r("div"));return s.addClass("gc-defined-column-field-item-container gc-defined-column-input-number"),a.label&&a.label.text&&((t=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-label-container"),t.appendTo(s),(n=(0,e.GC$)(r("label"))).addClass("gc-defined-column-field-label-container-label-text"),n.attr("for","gc-defined-column-input-"+a.inputId),n.appendTo(t),i=a.label.useRawContent?a.label.text:(0,o.j0)(a.label.text),n.html(i)),(u=c.zZe=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-container"),u.appendTo(s),c.ZX(),s},t.prototype.ZX=function(){var t,n,i,u=this,c=u.LEt;!1===c.visible?u.yZe.hide():u.yZe.show(),t=u.zZe,u.isDisable()&&t.addClass("gc-defined-column-disabled"),(n=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-input-container"),n.appendTo(t),(i=u.DZe=(0,o.createDCElement)("sjs-number-editor")).attr("id","gc-defined-column-input-"+c.inputId),i.attr("type","text"),i.attr("aria-disabled",u.isDisable()?"true":"false"),u.isDisable()?i.attr("disabled","true"):i.removeAttr("disabled"),c.placeholder&&i.attr("placeholder",c.placeholder),(c.label&&c.label.text||c.placeholder)&&i.attr("aria-label",c.label&&c.label.text||c.placeholder),(0,o.isNullOrUndefined)(c.defaultValue)||i.val(c.defaultValue),i.attr("min",u.yeo()),(0,o.isNumber)(c.maxValue)&&i.attr("max",c.maxValue),c.allowMinNull&&(i.attr("allow-empty",!0),i.attr("empty-value",u.yeo())),i.bind("input",(function(t){var n=t.target.value;u.isDisable()||c.onChange&&c.onChange(n,t)})),i.appendTo(n)},t.prototype.setFocus=function(){var t;this.DZe.focus()},t.prototype.setOptions=function(t){var n=this;n.L0(),n.LEt=c(c({},n.LEt),t),n.ZX()},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.zZe;t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),t.DZe.attr("aria-disabled",n?"false":"true"),n?t.DZe.removeAttr("disabled"):t.DZe.attr("disabled","true")},t.prototype.yeo=function(){var t=this;return(0,o.isNumber)(t.LEt.minValue)?t.LEt.minValue:0},t.prototype.setValue=function(t){var n=this;n.DZe.val((0,o.isNumber)(t)?t:n.yeo()),(0,o.triggerEvent)(n.DZe,"input")},t.prototype.dispose=function(){var t=this;t.L0(),t.zZe=o.keyword_null,t.yZe=o.keyword_null},t.prototype.L0=function(){var t=this;t.DZe.unbind("input"),t.DZe=o.keyword_null,t.zZe.empty()},t}(),n.AZe=u},6045:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.uto=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ato(n,"errorCorrectionLevel",[{text:"L",value:"L"},{text:"M",value:"M"},{text:"Q",value:"Q"},{text:"H",value:"H"}]),t.cto(n,"connection"),t.ato(n,"model",[{text:"2",value:2},{text:"1",value:1}]),t.ato(n,"connectionNo",[{text:"0",value:0},{text:"1",value:1},{text:"2",value:2},{text:"3",value:3},{text:"4",value:4},{text:"5",value:5},{text:"6",value:6},{text:"7",value:7},{text:"8",value:8},{text:"9",value:9},{text:"10",value:10},{text:"11",value:11},{text:"12",value:12},{text:"13",value:13},{text:"14",value:14},{text:"15",value:15}]),t.ato(n,"version",[{text:"auto",value:"auto"},{text:"1",value:"1"},{text:"2",value:"2"},{text:"3",value:"3"},{text:"4",value:"4"},{text:"5",value:"5"},{text:"6",value:"6"},{text:"7",value:"7"},{text:"8",value:"8"},{text:"9",value:"9"},{text:"10",value:"10"},{text:"11",value:"11"},{text:"12",value:"12"},{text:"13",value:"13"},{text:"14",value:"14"}]),t.rto(n,"charCode"),t.ato(n,"mask",[{text:"auto",value:"auto"},{text:"1",value:"1"},{text:"2",value:"2"},{text:"3",value:"3"},{text:"4",value:"4"},{text:"5",value:"5"},{text:"6",value:"6"},{text:"7",value:"7"}]),t.ato(n,"charset",[{text:"UTF-8",value:"UTF-8"},{text:"Shift_JIS",value:"Shift_JIS"}]),n},n}(o.Meo),n.uto=c},6114:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P,Q,Y,W,H,V,F,_,J,X,K,q,$,tt,nt,it,et,ot,rt,ut,ct,at,st=this&&this.mJr||function(){return st=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},st.apply(this,arguments)},lt=this&&this.yJr||function(t,n,i){if(i||2===arguments.length)for(var e=0,o=n.length,r;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))};function ft(t,n){return Array.isArray(t)?n?t.toString():ht(t):t}function dt(t,n){return t?vt(n?"["+t+"]":t):t}function ht(t){var n=t;return Array.isArray(t)&&(n="["+t.toString()+"]"),n}function vt(t){var n=t;return t&&"["===t[0]&&"]"===t[t.length-1]&&(n=t.substring(1,t.length-1).split(",")),n}function gt(t,n,i){var e,o,r;t.value=t.value||n.value,t.type=t.type||n.type,t.caption=t.caption||n.caption,e=t.type!==n.type,o=n.type===u.ColumnTypes.CreatedTime||n.type===u.ColumnTypes.ModifiedTime,r=t.type===u.ColumnTypes.Formula,(i=i||Object.keys(n)).forEach((function(i){if(!t.hasOwnProperty(i)){if(e){if("defaultValue"===i||"dataType"===i||"style"===i||"_"===i[0])return;if(o&&("trigger"===i||"readonly"===i))return;if(!r&&"name"===i)return}t[i]=n[i]}}))}function Mt(t){return x(t)||t!==u.GroupLayoutMode.outline&&t!==u.GroupLayoutMode.condensed?u.GroupLayoutMode.tabular:t}function It(t){return"header"===t||"footer"===t?t:_}function Nt(t,n,i){Object.defineProperty(t,n,{get:function(){return this["_"+n]},set:function(t){var e,o,r,u=this["_"+n];if(u!==t){if(i)return o=(e=i(n,t,u))[0],r=e[1],this["_"+n]=o,void(r&&r());this["_"+n]=t}},configurable:!0})}function Dt(t){return"gc-defined-column-type-icon-".concat(t.toLowerCase())}function bt(t){return t&&"="===t[0]}function mt(t){return t&&t.indexOf(".")>-1}function Ct(t){return"number"==typeof t}function wt(t){return"string"==typeof t}function yt(t){return"boolean"==typeof t}function xt(t,n){return Ct(t[n])}function At(t){return t instanceof Function}function jt(t,n){var i,e,o,r,u;if(t.collapsed)for(i=t.start+1;i<=t.end;i++)(e=n[i])?e.visible=!1:n[i]={visible:!1};else if(t.children)for(o=0,r=t.children;o<r.length;o++)jt(u=r[o],n)}function Tt(t,n){var i,e,o,r,u,c=n&&n.grouping&&n.grouping.tree;if(c)for((i=t.rows)||(i=t.rows=[]),o=0,r=e=c.children;o<r.length;o++)jt(u=r[o],i)}function zt(t){var n,i,e,o,r,u;if(t)return n=t.step||[1,1],i=t.style,e=x(n[0])?1:n[0],o=x(n[1])?1:n[1],i?(r=void 0,u=void 0,Array.isArray(i)?(r=i[0],u=i[1]):r=i,{fillRowStep:e,fillRowStyle:r,blankRowStep:o,blankRowStyle:u}):void 0}function pt(t,n,i,e){var o,r;t[n]||(t[n]={}),(o=t[n])[i]||(o[i]={}),(r=o[i]).style=e}function Lt(t,n,i,e){var o,r,u,c,a,s=t.JS(n,e),l=s.row,f=s.col;for(o=0,r=s.rowCount;o<r;o++)for(u=0,c=s.colCount;u<c;u++)a=t.getActualStyle(l+o,f+u,e).toJSON(),A(a)||pt(i,l+o,f+u,a)}function St(t,n,i){n&&(t.oNi=!0,n.rules.forEach((function(n){n.ranges.forEach((function(n){Lt(t,n,i)}))})),t.oNi=!1)}function Ot(t){return t.NMi}function kt(t,n,i){return function(n){t.repaint(),i&&i()}}function Et(t){var n,i,e,o,r,u,c=t.type,a=t.comparisonOperator;switch(xt(l.ComparisonOperators,a)&&(a=l.ComparisonOperators[a]),c){case"number":i=t.value1,e=t.value2,o=t.isIntegerValue,n=(0,s.createNumberValidator)(a,i,e,o);break;case"date":i=t.value1,e=t.value2,n=(0,s.createDateValidator)(a,i,e);break;case"time":i=t.value1,e=t.value2,n=(0,s.createTimeValidator)(a,i,e);break;case"textLength":i=t.value1,e=t.value2,n=(0,s.createTextLengthValidator)(a,i,e);break;case"formula":r=t.formula,n=(0,s.createFormulaValidator)(r);break;case"formulaList":r=t.formula,n=(0,s.createFormulaListValidator)(r);break;case"list":u=t.source,n=(0,s.createListValidator)(u)}return n}function Zt(t,n){var i,e=n.errorMessage,o=n.errorStyle,r=n.errorTitle,u=n.highlightStyle,c=n.ignoreBlank,a=n.inCellDropdown,l=n.inputMessage,f=n.inputTitle,d=n.showErrorMessage,h=n.showInputMessage;x(e)||t.errorMessage(e),xt(s.ErrorStyle,o)&&t.errorStyle(s.ErrorStyle[o]),x(r)||t.errorTitle(r),x(u)||(i={},xt(s.HighlightType,u.type)&&(i.type=s.HighlightType[u.type]),x(u.color)||(i.color=u.color),xt(s.HighlightPosition,u.position)&&(i.position=s.HighlightPosition[u.position]),x(u.image)||(i.image=u.image),t.highlightStyle(i)),x(c)||t.ignoreBlank(c),x(a)||t.inCellDropdown(a),x(l)||t.inputMessage(l),x(f)||t.inputTitle(f),x(d)||t.showErrorMessage(d),x(h)||t.showInputMessage(h)}function Ut(t){var n=Et(t);return Zt(n,t),n}function Gt(t,n,i){var e,r,u,c,a,s,f,d,h,v,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P,Q,Y,W,H,V,F,_,J,X,K,q,$,tt=n.ruleType,nt=n.style,it=nt;switch(nt&&(nt instanceof o.Style||(it=new o.Style(nt))),tt){case"cellValueRule":r=n.comparisonOperator,u=n.value1,c=n.value2,a=n.comparisionOperator,x(r)&&(r=a),xt(l.ComparisonOperators,r)&&(r=l.ComparisonOperators[r]),e=t.addCellValueRule(r,u,c,it,i);break;case"specificTextRule":r=n.comparisonOperator,s=n.text,a=n.comparisionOperator,x(r)&&(r=a),xt(l.TextComparisonOperators,r)&&(r=l.TextComparisonOperators[r]),e=t.addSpecificTextRule(r,s,it,i);break;case"formulaRule":f=n.formula,e=t.addFormulaRule(f,it,i);break;case"dateOccurringRule":d=n.type,xt(l.DateOccurringType,d)&&(d=l.DateOccurringType[d]),e=t.addDateOccurringRule(d,it,i);break;case"top10Rule":d=n.type,h=n.rank,xt(l.Top10ConditionType,d)&&(d=l.Top10ConditionType[d]),e=t.addTop10Rule(d,h,it,i);break;case"uniqueRule":e=t.addUniqueRule(it,i);break;case"duplicateRule":e=t.addDuplicateRule(it,i);break;case"averageRule":d=n.type,xt(l.AverageConditionType,d)&&(d=l.AverageConditionType[d]),e=t.addAverageRule(d,it,i);break;case"twoScaleRule":v=n.minType,g=n.minValue,M=n.minColor,I=n.maxType,N=n.maxValue,D=n.maxColor,xt(l.ScaleValueType,v)&&(v=l.ScaleValueType[v]),xt(l.ScaleValueType,I)&&(I=l.ScaleValueType[I]),e=t.add2ScaleRule(v,g,M,I,N,D,i);break;case"threeScaleRule":v=n.minType,g=n.minValue,M=n.minColor,b=n.midType,m=n.midValue,C=n.midColor,I=n.maxType,N=n.maxValue,D=n.maxColor,xt(l.ScaleValueType,v)&&(v=l.ScaleValueType[v]),xt(l.ScaleValueType,b)&&(b=l.ScaleValueType[b]),xt(l.ScaleValueType,I)&&(I=l.ScaleValueType[I]),e=t.add3ScaleRule(v,g,M,b,m,C,I,N,D,i);break;case"dataBarRule":v=n.minType,g=n.minValue,I=n.maxType,N=n.maxValue,w=n.color,y=n.gradient,A=n.showBarOnly,j=n.showBorder,T=n.borderColor,z=n.barDirection,p=n.negativeData,xt(l.ScaleValueType,v)&&(v=l.ScaleValueType[v]),xt(l.ScaleValueType,I)&&(I=l.ScaleValueType[I]),e=t.addDataBarRule(v,g,I,N,w,i),yt(y)&&e.gradient(y),yt(A)&&e.showBarOnly(A),yt(j)&&e.showBorder(j),wt(T)&&e.borderColor(T),xt(l.BarDirection,z)&&e.dataBarDirection(l.BarDirection[z]),p&&(L=p.negativeFillColor,S=p.useNegativeFillColor,O=p.negativeBorderColor,k=p.useNegativeBorderColor,E=p.axisColor,Z=p.axisPosition,wt(L)&&e.negativeFillColor(L),yt(S)&&e.useNegativeFillColor(S),wt(O)&&e.negativeBorderColor(O),yt(k)&&e.useNegativeBorderColor(k),wt(E)&&e.axisColor(E),xt(l.DataBarAxisPosition,Z)&&e.axisPosition(l.DataBarAxisPosition[Z]));break;case"iconSetRule":if(U=n.iconSetType,G=n.reverseIconOrder,B=n.showIconOnly,R=n.icons,P=n.iconCriteria,xt(l.IconSetType,U)&&(U=l.IconSetType[U]),e=t.addIconSetRule(U,i),yt(G)&&e.reverseIconOrder(G),yt(B)&&e.showIconOnly(B),R)for(Q=e.icons(),Y=0;Y<R.length;Y++)H=(W=R[Y]).iconSetType,V=W.iconIndex,xt(l.IconSetType,H)&&(H=l.IconSetType[H]),Q[Y]={iconSetType:H,iconIndex:V};if(P)for(F=e.iconCriteria(),Y=0;Y<P.length;Y++)J=(_=P[Y]).isGreaterThanOrEqualTo,X=_.iconValueType,K=_.iconValue,xt(l.IconValueType,X)&&(X=l.IconValueType[X]),F[Y]=new l.IconCriterion(J,X,K)}e&&(q=n.priority,$=n.stopIfTrue,Ct(q)&&e.priority(q),yt($)&&e.stopIfTrue($))}function Bt(t,n){return t.filter((function(t){return t.name===n}))[0]}function Rt(t){return!x(t)&&!x(t.icons)&&t.icons.length>0}function Pt(t){for(var n=[];t>0;)n[t-=1]=t;return n}function Qt(t,n){var i,e,o,r;if(x(t))return!1;for(p(t)||(t=[t]),i=0;i<t.length;i++)for(e=t[i],o=0;o<n.length;o++)if(r=n[o],e.field===r.value&&r.isGroup)return!0;return!1}function Yt(t){["columnStart","columnEnd","rowStart","rowEnd","repeatColumnStart","repeatColumnEnd","repeatRowStart","repeatRowEnd"].forEach((function(n){t[n]=function(){return-1}}))}function Wt(t,n){!1===n?n=o.SheetTabVisible.hidden:!0===n&&(n=o.SheetTabVisible.visible),void 0!==n&&t.visible(n)}function Ht(t){return t instanceof at}function Vt(t){return t.ctrlKey}function Ft(t){return t.shiftKey}function _t(t){return t.metaKey}function Jt(t){var n,i=o.mt.Qf()?_t(t):Vt(t),e=Ft(t);return{isCtrl:i&&!e,isShift:e&&!i}}function Xt(t,n,i){return i.isPinnedRow(n)}function Kt(t,n,i){return i.isNewRow(n)?0:i.isInsertedRow(n)?1:i.isUpdatedRow(n)?2:-1}function qt(t,n,i){return i.hasWarning(n)}function $t(){var t="TableSheet"+at._ID;return at._ID++,t}function tn(t){for(var n=$t(),i=0;i<t.length;)t[i].name()!==n?i++:(n=$t(),i=0);return n}Object.defineProperty(n,"__esModule",{value:!0}),n.BuiltInRowActions=n.TableSheet=n.ActionType=n.copyOriginalColumnPropertiesToCurrentColumn=n.hze=n.tIi=n.getSR=void 0,e=i(7234),o=i(1376),r=i(9131),u=i(447),c=i(6277),a=i(419),s=i(4133),l=i(8333),f=i(7373),d=i(806),h=i(4475),v=i(1434),g=i(7621),M=i(2121),I=i(3789),N=i(3182),D=i(2221),b=i(2364),m=new e.Common.ResourceManager(a.SR,"TableSheet"),n.getSR=m.getResource.bind(m),C=e.Common.lt.tv,w=e.Common.lt,y=o.mt.j,x=w.ht,A=w._h,j=w.Dh,T=w.y0,z=w.tv,p=w.Nh,L=Number.MAX_VALUE,S="composedPinDirtyNewWarningRow",O="pinRow",k="dirtyStatus",E="warningInfo",Z="removeRow",U="saveRow",G="resetRow",R="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhla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iTTIwIDhoLTNWNi4yMWMwLTIuNjEtMS45MS00Ljk0LTQuNTEtNS4xOUM5LjUxLjc0IDcgMy4wOCA3IDZ2Mkg0djE0aDE2Vjh6bS04IDljLTEuMSAwLTItLjktMi0ycy45LTIgMi0yIDIgLjkgMiAyLS45IDItMiAyek05IDhWNmMwLTEuNjYgMS4zNC0zIDMtM3MzIDEuMzQgMyAzdjJIOXoiLz48L3N2Zz4=",F="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHdpZHRoPSI0OCI+PHBhdGggZD0ibTExLjY1IDQ0IDMuMjUtMTQuMDVMNCAyMC41bDE0LjQtMS4yNUwyNCA2bDUuNiAxMy4yNUw0NCAyMC41bC0xMC45IDkuNDVMMzYuMzUgNDQgMjQgMzYuNTVaIi8+PC9zdmc+",_=void 0,J=null,q=(K=".gcSheetInternal")+(X=".tableSheet"),$="gc.spread.contextMenu.defineColumn",tt="gc.spread.contextMenu.insertColumns",nt="gc.spread.defineColumn.submit",it=o.util.Z0,et=o.util.V0,n.tIi=ft,n.hze=dt,n.copyOriginalColumnPropertiesToCurrentColumn=gt,ot=function(){},rt={},n.BuiltInRowActions=rt,ut={name:S,icons:[B,P,Q,Y,R]},o.Events.RowOperation="RowOperation",function(t){t[t.remove=0]="remove",t[t.save=1]="save",t[t.reset=2]="reset",t[t.addNewEmptyRow=3]="addNewEmptyRow"}(ct=n.ActionType||(n.ActionType={})),at=function(){function t(t,n,i){this.X$={},this._gi=o.SheetType.tableSheet,this.uNi=0,this.jIi=0,this.cNi=[[]],this.x0r=this.getColumnIndexInTable;var e=this;this.qni=new D.UndoHelper(this),e.Mf=new N.OverWriteWorkSheet(t||$t(),this,this.qni),e.Hc(n,i)}return t.prototype.Iwt=function(t,n,i){var e,o,r,u,c=n.abt.getDataView(),a=c&&c.gLt,s=this.getColumnIndexInTable(n.ubt),l=s,f=c.getColumnInfos();for(n.sbt&&(l=this.getColumnIndexInTable(n.sbt)),e=s;e<=l;e++)o=-1===e?"*":f[e].value,a._Et(t,o,i);if(r=this.rNi,i)this.rNi.push(n);else for(u=0;u<r.length;u++)r[u]===n&&(r.splice(u,1),u--)},t.prototype.startRow=function(){return 0},t.prototype.startColumn=function(){return 0},t.prototype.endRow=function(){return this.Mf.getRowCount()-(this.options.allowAddNew?2:1)},t.prototype.endColumn=function(){return this.Mf.getColumnCount()-1},t.prototype.hasTotalsRow=function(){return!1},t.prototype.hasHeadersRow=function(){return!1},t.prototype.tableName=function(){return this.name()},t.prototype.source=function(){return this.Mf.Uw()},t.prototype.getColumnName=function(t,n){var i=this.Mf,e=i.getDataSource(),o=e.kve(t);return o?ft(o.caption,n)||o.value:null},t.prototype.getColumnIndexInTable=function(t){var n,i=this.Mf,e=i.getDataSource(),o=e.getColumnInfos();for(n=o.length-1;n>=0;n--)if(t===this.getColumnName(n)||t===this.getColumnName(n,!0))return n;return-1},t.prototype.showFooter=function(t){return!1},t.prototype.dataRange=function(){var t=this,n=this.Mf.getRowCount();return t.options.allowAddNew&&n--,(0,o.Ec)(0,0,n,t.endColumn()+1)},t.prototype.headerIndex=function(){return 0},t.prototype.cSt=function(t,n){var i,e;for(null!==t&&(t=y(t)),i=0;i<this.Tx;i++)if(i!==n&&t===(e=this.getColumnName(i)))return!0;return!1},t.prototype.Hc=function(t,n){var i=this,e=i.Mf;e.$L.push({tF:function(t,n){var o,r,u,c,a,s;return void 0===n&&(n={}),o=1,r=i.keo(),u=n.spacingIndex,c=n.isAfter,(0,v.isGroupOutlineCondensedLayout)(r)&&(o=0),a=L,c&&(s=e.ncr&&e.ncr(t,u,-1,c))&&"number"==typeof s.level&&(a=s.level+1),i.sMi(t,a,o,u,c)}}),i.rNi=[],this.suspendPaint(),i.aNi(),i.setDefaultRowHeight(30),i.setDefaultRowHeight(30,o.SheetArea.colHeader),e.setRowCount(0),e.setColumnCount(0),e.zwt("@","=A1",0,0,!0),e.zwt("AutoId","=MAX(OFFSET($A$1,0,COLUMN()-1,ROW()-1,1))+1",0,0,!0),(0,a.overrideProperties)(i),(0,a.overrideMethods)(i),i.v7(),t&&e.setDataSource(t),i.Zp(n),i.sNi(),i.MNi(),i.INi=new v.Grouping,i.rowActionOptions(i.gNi),i.applyTableTheme(r.TableThemes.light2),i.leV(),this.resumePaint()},t.prototype.leV=function(){},t.prototype.reset=function(){var t,n=this,i=n.Mf,e=n.UMi,o=n.getDataView();o&&(null===(t=o.PEe)||void 0===t||t.call(o),n.rze()),i&&i.reset(),e&&e.detach(),n.E3(),n.Hc(),n.lMi=_,n.jFt=_,n.jIi=0,n.uNi=0},t.prototype.hg=function(t){this.Mf.hg(t)},t.prototype.L0=function(t,n){var i,e,o=this.Mf;if(t&&this.z2i(!0),this.wze&&this.wze.close(),o.L0(t,n),t)for(i in this.E3(),this.UMi&&this.UMi.detach(),this.X$)this.X$[i]&&(e=this.X$[i]).onDestroy(!0)},t.prototype.Zg=function(t){this.Mf.Zg(t)},t.prototype.setAccessibilityPrefixSuffixContent=function(t,n){this.Mf.setAccessibilityPrefixSuffixContent(t,n)},t.prototype.pM=function(t){this.Mf.pM(t),this.NNi()},t.prototype.getParent=function(){return this.Mf.getParent()},t.prototype.name=function(t){var n=this.Mf;return n.name.apply(n,arguments)},t.prototype.visible=function(t){var n=this.Mf;return n.visible.apply(n,arguments)},t.prototype.b2=function(t,n){return this.Mf.b2(t,n)},t.prototype.ow=function(){this.Mf.ow()},t.prototype.aw=function(){this.Mf.aw()},t.prototype.tw=function(){this.Mf.tw()},t.prototype.Wb=function(t,n){this.Mf.Wb(t,n)},t.prototype.Kb=function(t){this.Mf.Kb(t)},t.prototype.Fb=function(t,n){this.Mf.Fb(t,n)},t.prototype.onHorizontalDockScroll=function(t,n){this.Mf.onHorizontalDockScroll(t,n)},t.prototype.Gb=function(t){this.Mf.Gb(t)},t.prototype.WC=function(t,n,i){this.Mf.WC(t,n,i)},t.prototype.$C=function(t){this.Mf.$C(t)},t.prototype.QC=function(t,n,i){this.Mf.QC(t,n,i)},t.prototype.Cg=function(){this.Mf.Cg()},t.prototype.suspendPaint=function(){this.Mf.suspendPaint()},t.prototype.resumePaint=function(){var t=this.Mf.getDataSource();t&&this.lNi(t.visibleLength()),this.Mf.resumePaint()},t.prototype.isPaintSuspended=function(){return this.Mf.isPaintSuspended()},t.prototype.bind=function(t,n,i){this.Mf.bind(t,n,i)},t.prototype.unbind=function(t,n){this.Mf.unbind(t,n)},t.prototype.unbindAll=function(){this.Mf.unbindAll()},t.prototype.D3=function(t,n,i){this.Mf.D3(t+q,n,i)},t.prototype._3=function(t,n){this.Mf._3(t+q,n)},t.prototype.E3=function(){this.Mf.E3(),this.Mf.unbind(q)},t.prototype.suspendEvent=function(){this.Mf.suspendEvent()},t.prototype.resumeEvent=function(){this.Mf.resumeEvent()},t.prototype.isEventSuspended=function(){return this.Mf.isEventSuspended()},t.prototype.bC=function(){this.Mf.bC()},t.prototype.ki=function(t,n,i){this.Mf.ki(t,n,i)},t.prototype.isEditing=function(){return this.Mf.isEditing()},t.prototype.ol=function(t,n,i,e){return this.Mf.ol(t,n,i,e)},t.prototype.currentTheme=function(t){var n=this.Mf;return n.currentTheme.apply(n,arguments)},t.prototype.FM=function(){(0,n.getSR)(),this.Mf.FM()},t.prototype.DNi=function(t){var n,i=t||this.gNi;return z(i).map((function(t){return delete t.subActionOptions,t}))},t.prototype.fNi=function(t,n){var i,e,o,r,u,c,a,s=[S,O,k,E,Z,U,G],l=[B,R,P,Q,Y],f=["ROW_ACTION_PIN_ROW","ROW_ACTION_WARNING_INFO","ROW_ACTION_NEW_ROW","ROW_ACTION_INSERTED_ROW","ROW_ACTION_UPDATED_ROW"],d=n?f:l,h=n?l:f;if(p(t))for(i=0;i<t.length;i++)if(o=(e=t[i]).name,r=e.icons,s.indexOf(o)>-1&&r)for(u=0;u<r.length;u++)"string"==typeof(c=r[u])&&(a=d.indexOf(c))>-1&&(r[u]=h[a]);return t},t.prototype.dNi=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,v,g,M,I,N=this,D=N.Mf;return t&&t.saveAsView?(n.colHeaderData.dataTable||(n.colHeaderData.dataTable={}),Lt(D,(0,o.Ec)(0,0,D.getRowCount(1),D.getColumnCount(1)),n.colHeaderData.dataTable,1),N.iAi(n),n.data.dataTable||(n.data.dataTable={}),St(D,n.conditionalFormats,n.data.dataTable),delete n.conditionalFormats,delete n.validations):x(n)||N.iAi(n),i={},e=N.getDataView(),r=t&&t.gp,e&&(i.dataView={name:e.name,tableName:e.gLt.name},i.grouping=N.INi.toJSON(),r&&(i.grouping.groupInfos=C(N.lMi))),u=D.rowFilter(),i.rowFilter=u.toJSON(),r&&Tt(n,i),c=N.options,(a={}).allowAddNew=c.allowAddNew,c.hasOwnProperty("defaultStackRowHeight")&&(a.defaultStackRowHeight=c.defaultStackRowHeight),c.hasOwnProperty("menuItemVisibility")&&(a.menuItemVisibility=c.menuItemVisibility),a.sheetTabColor=c.sheetTabColor,(s=c.alternatingRowOptions)?(l=s.style,f=void 0,Array.isArray(l)?f=[d=l[0]&&l[0].toJSON(),h=l[1]&&l[1].toJSON()]:l&&(f=l.toJSON()),a.alternatingRowOptions={step:s.step,style:f}):null===s&&(a.alternatingRowOptions=null),c.hasOwnProperty("isDesignMode")&&(a.isDesignMode=c.isDesignMode),c.hasOwnProperty("showRowNumber")&&(a.showRowNumber=c.showRowNumber),c.hasOwnProperty("enableDefineColumn")&&(a.enableDefineColumn=c.enableDefineColumn),c.hasOwnProperty("defineColumnCommand")&&(a.defineColumnCommand=c.defineColumnCommand),c.hasOwnProperty("submitDefineColumnCommand")&&(a.submitDefineColumnCommand=c.submitDefineColumnCommand),c.hasOwnProperty("columnTypeItems")&&(a.columnTypeItems=c.columnTypeItems),c.hasOwnProperty("groupLayout")&&(v=c.groupLayout)&&["mode","position"].forEach((function(t){var n=v[t];v.hasOwnProperty(t)&&(a.groupLayout||(a.groupLayout={}),a.groupLayout[t]=n)})),i.options=a,i.rowActionOptions=N.fNi(N.DNi()),N.hl&&(i.currentTheme=N.hl.toJSON()),t&&t.cb===o.OpenSaveFileType.excel&&n&&(g=zt(i.options.alternatingRowOptions),(M=i.currentTheme)&&(M.tKr=!0,(!g||g.fillRowStep<=0&&g.blankRowStep<=0)&&(g.fillRowStep=J,g.fillRowStyle=J,g.blankRowStep=J,g.blankRowStyle=J),M.firstRowStripSize=g.fillRowStep,M.firstRowStripStyle=g.fillRowStyle,M.secondRowStripSize=g.blankRowStep,M.secondRowStripStyle=g.blankRowStyle)),I=D.defaults,i.defaults={rowHeight:I.rowHeight,colHeaderRowHeight:I.colHeaderRowHeight},i.printInfo=D.printInfo&&D.printInfo().toJSON(),i.freeHeaderArea=N.hNi,n&&(n.sheetType=N._gi),i.parameter=N.o1e,i},t.prototype.toJSON=function(t){var n,i=this,e=i.Mf;return e.options.sheetTabColor=this.options.sheetTabColor,t&&t.cb===o.OpenSaveFileType.excel&&(i.lno=!0),(n=e.toJSON(t)).addition=i.dNi(t,n),(n=i.Keo(n,t)).sheetType=this._gi,t&&t.cb===o.OpenSaveFileType.excel&&(i.lno=_),n},t.prototype.Keo=function(t,n){var i,e,u,c=this,a=c.Mf;return n&&n.cb===o.OpenSaveFileType.excel&&c.Teo(!0)?(i=new o.Worksheet(c.Mf.name()),(e=t.addition)&&!x(e.currentTheme)&&((u=new r.TableTheme).fromJSON(e.currentTheme),i.suspendPaint(),c.qeo(i,C(c.options.alternatingRowOptions),u),i.resumeEvent()),delete t.spacing,i.fromJSON(t,!1,_,_,!0),c.$eo()?c.Qto(i,a):c.Yto(i,a),c.Wto(i),(t=i.toJSON(n)).addition=e,t):t},t.prototype.Wto=function(t){var n,i,e,o=this,r=o.getDataView().getColumnInfos();for(n=0;n<r.length;n++)if(!1!==(i=r[n]).visible){(e=t.getStyle(-1,n)).textIndent=o.lMi.length,t.setStyle(-1,n,e);break}},t.prototype.Hto=function(t){var n,i,e,r=this,u=r.getDataView(),c=u.getColumnInfos(),a=new o.Style;return a.backColor="white",i=(n=t.Ut.Vsr).Ysr,{columnInfos:c,spacingStyle:a,rows:e=Object.keys(i).reverse()}},t.prototype.Yto=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,L,S,O,k,E,Z,U;if(t.Csr)for(r=(e=(i=this).Hto(n)).columnInfos,u=e.spacingStyle,a=0,s=c=e.rows;a<s.length;a++){if(l=s[a],f=Number(l),(d=2*n.Rsr(f,!0))>0)for(t.addRows(f+1,d),h=0;h<d;h+=2)if(g=Math.floor(h/2),I=(M=f+h+1)+1,N=n.Xsr(f,h,!0)/2,t.setRowHeight(M,N),t.setRowHeight(I,N),D=n.ncr(f,g,-1,!0),!x(D))if(b={rowSpacingIndex:g,isAfterRowSpacing:!0},D.isSpacing){for(m=n.getActualStyle(f,-1,_,_,b),u.borderTop=m.borderTop,C=0;C<r.length;C++)t.setStyle(M,C,u);t.setRowHeight(M,2*N),t.deleteRows(I,1)}else for(m=n.getActualStyle(f,-1,_,_,b),C=0;C<r.length;C++)(w=m.clone()).borderBottom=J,t.setStyle(M,C,w),(y=m.clone()).borderTop=J,t.setStyle(I,C,y),A=n.ncr(f,g,C,!0),x(A)||(j=n.Jt.qt(f,C,_,_,b),(T=(0,v.composeHeaderStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(T,o.HorizontalAlign.right),z=A.caption,x(z)||(T.borderBottom=J,t.setStyle(M,C,T),t.setValue(M,C,A.caption)),(p=(0,v.composeValueStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(p,o.HorizontalAlign.right),L=A.value,x(L)||(p.borderTop=J,t.setStyle(I,C,p),t.setValue(I,C,A.value)));if((d=2*n.Rsr(f))>0)for(t.addRows(f,d),h=0;h<d;h+=2)if(g=Math.floor(h/2),I=(M=f+h)+1,N=n.Xsr(f,g)/2,t.setRowHeight(M,N),t.setRowHeight(I,N),D=n.ncr(f,g,-1))for(b={rowSpacingIndex:g,isAfterRowSpacing:!1},m=n.getActualStyle(f,-1,_,_,b),S=!1,C=0;C<r.length;C++)(w=m.clone()).borderBottom=J,t.setStyle(M,C,w),(y=m.clone()).borderTop=J,t.setStyle(I,C,y),O=!S&&!1!==r[C].visible,j=n.Jt.qt(f,C,_,_,b),p=void 0,O&&(S=!0,T=(0,v.composeHeaderStyle)(D.groupLevelOptions,j),k=D.field,x(k)||(T.textIndent=D.level,T.borderBottom=J,t.setStyle(M,C,T),t.setValue(M,C,D.field)),p=(0,v.composeValueStyle)(D.groupLevelOptions,j),E=D.value,x(E)||(p.textIndent=D.level,p.borderTop=J,t.setStyle(I,C,p),t.setValue(I,C,D.value))),A=n.ncr(f,g,C),x(A)||O||((Z=(0,v.composeHeaderStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(Z,o.HorizontalAlign.right),z=A.caption,x(z)||(Z.borderBottom=J,t.setStyle(M,C,Z),t.setValue(M,C,A.caption)),(U=(0,v.composeValueStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(U,o.HorizontalAlign.right),L=A.value,x(L)||(U.borderTop=J,t.setStyle(I,C,U),t.setValue(I,C,A.value)))}},t.prototype.Qto=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,g,M,I,N,D,b,m,C,w,y,A,j,T,z;if(t.Csr)for(r=(e=(i=this).Hto(n)).columnInfos,u=e.spacingStyle,a=0,s=c=e.rows;a<s.length;a++){if(l=s[a],f=Number(l),(d=n.Rsr(f,!0))>0)for(t.addRows(f+1,d),h=0;h<d;h++)if(g=f+h+1,M=n.Xsr(f,h,!0),t.setRowHeight(g,M),I=n.ncr(f,h,-1,!0),!x(I))if(N={rowSpacingIndex:h,isAfterRowSpacing:!0},I.isSpacing)for(D=n.getActualStyle(f,-1,_,_,N),u.borderTop=D.borderTop,b=0;b<r.length;b++)t.setStyle(g,b,u);else for(D=n.getActualStyle(f,-1,_,_,N),b=0;b<r.length;b++)t.setStyle(g,b,D),m=n.ncr(f,h,b,!0),x(m)||(C=n.Jt.qt(f,b,_,_,N),(w=(0,v.composeValueStyle)(m,C)).hAlign=(0,v.getHorizontalAlign)(w,o.HorizontalAlign.right),y=(0,v.getValueFromCondensed)(m),x(y)||(t.setStyle(g,b,w),t.setValue(g,b,y)));if((d=n.Rsr(f))>0)for(t.addRows(f,d),h=0;h<d;h++)if(g=f+h,M=n.Xsr(f,h),t.setRowHeight(g,M),I=n.ncr(f,h,-1))for(N={rowSpacingIndex:h,isAfterRowSpacing:!1},D=n.getActualStyle(f,-1,_,_,N),A=!1,b=0;b<r.length;b++)t.setStyle(g,b,D),j=!A&&!1!==r[b].visible,C=n.Jt.qt(f,b,_,_,N),w=void 0,j&&(A=!0,w=(0,v.composeValueStyle)(I.groupLevelOptions,C),T=(0,v.getGroupHeaderValueFromCondensed)(I),x(T)||(w&&(w.textIndent=I.level,t.setStyle(g,b,w)),t.setValue(g,b,T))),m=n.ncr(f,h,b),x(m)||j||((z=(0,v.composeValueStyle)(m,C)).hAlign=(0,v.getHorizontalAlign)(z,o.HorizontalAlign.right),y=(0,v.getValueFromCondensed)(m),x(y)||(t.setStyle(g,b,z),t.setValue(g,b,y)))}},t.prototype.TNi=function(t){var n,e,o,u,c,a,s,l,f,d,h,v,g,M;if(t){if(e=(n=this).Mf,o=t.options,x(t.currentTheme)||((u=new r.TableTheme).fromJSON(t.currentTheme),n.applyTableTheme(u)),c=n.getDefaultOptions(),n.options.allowAddNew=o.allowAddNew,n.options.defaultStackRowHeight=o.defaultStackRowHeight,n.options.menuItemVisibility=o.menuItemVisibility,n.options.isDesignMode=o.isDesignMode,n.options.sheetTabColor=o.sheetTabColor,n.options.showRowNumber=o.showRowNumber,n.options.enableDefineColumn=o.enableDefineColumn,n.options.defineColumnCommand=x(o.defineColumnCommand)?c.defineColumnCommand:o.defineColumnCommand,n.options.submitDefineColumnCommand=x(o.submitDefineColumnCommand)?c.submitDefineColumnCommand:o.submitDefineColumnCommand,n.options.columnTypeItems=x(o.columnTypeItems)?c.columnTypeItems:o.columnTypeItems,n.options.groupLayout=x(o.groupLayout)?c.groupLayout:o.groupLayout,n.bNi(o.alternatingRowOptions,o.alternatingRowStyles),x(t.actionColumn)||n.actionColumn.fromJSON(t.actionColumn),n.rowActionOptions(n.fNi(t.rowActionOptions,!0)),a=e.defaults,(s=t.defaults)&&(a.rowHeight=s.rowHeight,a.colHeaderRowHeight=s.colHeaderRowHeight),e.printInfo&&t.printInfo&&((f=new((l=i(5065)).PrintInfo)).fromJSON(t.printInfo),e.printInfo(f)),d=t.stateRules)for(h=0,v=d;h<v.length;h++)(g=v[h]).isRow?n.addRowStateRule(g.state,g.style):n.addColumnStateRule(g.state,g.style);(M=t.freeHeaderArea)&&n.applyFreeHeaderArea(M),n.o1e=t.parameter}},t.prototype.fromJSON=function(t,n,i,e,u){var c,a,s,l,f,d,h,v=this,g=v.Mf,M=e&&e.gp,I=e&&e.sb,N=e&&e.cb,D=t.addition,b=D.options;M||I&&N===o.OpenSaveFileType.excel?(I&&N===o.OpenSaveFileType.excel&&(x(D.currentTheme)||((c=new r.TableTheme).fromJSON(D.currentTheme),v.applyTableTheme(c)),b&&(v.options.sheetTabColor=b.sheetTabColor)),M&&(v.options||(v.options={}),v.bNi(b.alternatingRowOptions,b.alternatingRowStyles),D.grouping&&(D.grouping.tree&&v.INi.fromJSON(g,D.grouping,!0),D.grouping.groupInfos&&v.Vto(D.grouping.groupInfos)),b.groupLayout&&v.Fto(b.groupLayout),v.options.allowAddNew=!1),t.rowFilter=_,g.fromJSON(t,n,i,e,u),M&&(D.options.showRowNumber?(a=1,g.setColumnCount(a,o.SheetArea.rowHeader),g.setColumnVisible(0,!0,o.SheetArea.rowHeader),g.setColumnWidth(0,g.defaults.rowHeaderColWidth,o.SheetArea.rowHeader)):(g.setColumnCount(0,o.SheetArea.rowHeader),1!==(s=g.printInfo()).showRowHeader()&&s.showRowHeader(1)))):I&&N===o.OpenSaveFileType.sjs?(g.ub(t.name+"",!0),g.b2(t.isSelected),g.g8(t.zoomFactor||1),v.TNi(D),v.ANi(D)):(g.ub(t.name+"",!0),g.b2(t.isSelected),g.g8(t.zoomFactor||1),Wt(g,t.visible),v.TNi(D),l=D&&D.dataView,f=g.parent&&g.parent.dataManager(),(h=(d=l&&f.tables[l.tableName])&&d.views[l.name])&&v.kTi(h,!1))},t.prototype.ANi=function(t,n){var i=this,e=i.Mf,o=t.dataView,r=e.parent,u=r.dataManager(),c=o&&u.tables[o.tableName],a=c&&c.views[o.name];i.fromJSONAfterViewFetchedImp(t,a,n)},t.prototype.fromJSONAfterViewFetchedImp=function(t,n,i){var e,o,r;n&&(o=(e=this).Mf,e.suspendPaint(),e.restoreView(n,i),e.INi.fromJSON(e.Mf,t.grouping),r=o.rowFilter(),t.rowFilter&&r.fromJSON(t.rowFilter),e.vNi(e.options.isDesignMode),e.resumePaint())},t.prototype.resetNewView=function(t,n,i){var e,o=this.getDataView(),r=o.gLt,u=o.name,c=o.ILt,a=o.includeDefaultColumns,s=o.LEt,l=o.SRe(),f=o.toJSON(),d={columnInfoOptions:c,includeDefaultColumns:a,options:s};r.removeView(u),(e=r.addView(u,t,n,i)).fromJSON(f),e.ARe(l),this.qni.addUndoChanges({type:D.TableSheetUndoType.ResetViewChanged,oldData:d}),this.restoreView(e)},t.prototype.restoreView=function(t,n){var i,e,o,r,u,c,a,s,l=this,f=l.Mf;for(i=0;i<t.lFt.length;i++)t.lFt[i]>=t.length()&&(t.lFt.splice(i,1),i--);l.suspendPaint(),t.visibleLength()!==t.length()&&(t.gFt(),t.hde()),(e=t.getColumnInfos()).some((function(t){return t.isGroup}))&&(e=e.filter((function(t){return!t.isGroup})),t.setColumnInfos(e)),n?l.refreshBindColumns(_,t):l.kTi(t),o=t.DLt&&t.DLt.length>0,r=t._Lt&&t._Lt.length>0,o&&(t.isHierarchy()?t.KFt(t.DLt):t.JFt(t.DLt)),c=Qt(u=t.NLt,e),u&&!c&&t.filter(u),(a=t.lFt.length)>0&&(f.frozenRowCount(a),l.uNi=a),(s=t.CLt.length)>0&&(f.frozenColumnCount(s),l.jIi=s),t.MFt&&(l.groupBy(t.MFt),u&&c&&t.filter(u),r&&t.HFt(t._Lt)),l.resumePaint()},t.prototype.bNi=function(t,n){t?this.options.alternatingRowOptions={step:t.step,style:this.jNi(t.style)}:n?this.options.alternatingRowOptions={step:[1,1],style:this.jNi(n)}:null!==t&&null!==n||(this.options.alternatingRowOptions=null)},t.prototype.Vto=function(t){this.lMi=t},t.prototype.Fto=function(t){this.options.groupLayout=t},t.prototype.jNi=function(t){var n,i,e;return Array.isArray(t)?(i=new o.Style,e=new o.Style,t[0]&&i.fromJSON(t[0],!1,null),t[1]&&e.fromJSON(t[1],!1,null),n=[i,e]):((i=new o.Style).fromJSON(t,!1,null),n=i),n},t.prototype.wh=function(t,n,i){var e,r=this,u=r.Mf;return i&&i.fileType===o.OpenSaveFileType.excel?(u.options.sheetTabColor=r.options.sheetTabColor,u.wh(t,n,i)):((e=u.wh(t,n,i)).lossless.addition=r.dNi(),e)},t.prototype.yh=function(t,n,i,e){var r,u,c,a,s,l,f,d,h=this,v=h.Mf,g=t.lossless.addition;e||((r=o.util.o1(t,"sheetViews&sheetView"))&&(r.zoomScale&&v.zoom(r.zoomScale/100),"1"===r.tabSelected&&v.b2(!0,!1)),h.TNi(g)),u=g&&g.dataView,c=v.parent&&v.parent.dataManager(),(s=(a=u&&c.tables[u.tableName])&&a.views[u.name])&&h.kTi(s,e),e||(d=(f=(l=v.parent)&&l.v2)&&f.sheetsState)&&(d[v.name()]=2)},t.prototype.uw=function(){return this.Mf.uw()},t.prototype.ot=function(){return this.Mf.ot()},t.prototype.hitTest=function(t,n,i,e){return this.Mf.hitTest(t,n,i,e)},t.prototype.getSheet=function(){return this.Mf},t.prototype.getSelections=function(t){return t===o.SheetArea.colHeader?this.Mf.Ut.getSelections(1):this.Mf.getSelections()},t.prototype.zoom=function(t){return 0===arguments.length?this.Mf.zoom():this.Mf.zoom(t)},t.prototype.autoFitRow=function(t){this.Mf.autoFitRow(t)},t.prototype.getColumnWidth=function(t,n,i){return this.Mf.getColumnWidth(t,n,i)},t.prototype.getRowHeight=function(t,n,i){return this.Mf.getRowHeight(t,n,i)},t.prototype.getColumnCount=function(t){return this.Mf.getColumnCount(t)},t.prototype.getRowCount=function(t){return this.Mf.getRowCount(t)},t.prototype.setDataView=function(t){this.kTi(t)},t.prototype.uLi=function(t){var n=this.Mf,i=t||this.getDataView();i&&n.setRowCount(t.visibleLength()+(this.options.allowAddNew?1:0))},t.prototype.Ski=function(t){var n=this.Mf;t&&(n.setColumnCount(t.getColumnInfos().length),this.uLi(t))},t.prototype.rze=function(){this.Mf.parent.Wp.clear()},t.prototype.kTi=function(t,n){var i,e,o,r,u=this.Mf;u.xT||(this.suspendPaint(),u.suspendCalcService(),o=(null==(e=this.getDataView())?void 0:e.name)===(null==t?void 0:t.name),t&&this.z2i(!o),!o&&e&&(null===(i=e.PEe)||void 0===i||i.call(e),this.rze()),this.beforeSetDataView(t),u.autoGenerateColumns=!1,u.setDataSource(t),this.Ski(t),t&&(this.refreshBindColumns(),n||(this.actionColumn.options().visible&&this.zNi(),r=t.iRt&&t.iRt.length,this.options.allowAddNew&&r===u.getRowCount()&&this.CNi(),this.wNi(),this.yNi())),this.afterSetDataView(t),u.resumeCalcService(!1),this.resumePaint())},t.prototype.beforeSetDataView=function(t){},t.prototype.afterSetDataView=function(t){},t.prototype.yNi=function(){var t=this,n=t.getDataView();t.G2i=function(n,i){t.mNi(i.row)},t.U2i=function(n,i){t.LNi(i.row,i.changingFields)},t.B2i=function(n,i){t.xNi(i.row)},t.Q2i=function(n,i){t.SNi(i.row)},t.R2i=function(n,i){var e=t.getDataView(),o=e.tableName;i.tableName===o&&t.ZNi(i.row)},t.Y2i=function(n,i){t.ONi(i.row,i.reason,i.type)},t.H2i=function(n,i){t.ENi()},t.W2i=function(i,e){t.GNi(n,e.isDataLengthChanged,e.isDataRowOrderChanged,e.isColumnCountChanged)},n.bind(f.Events.ItemInserted,t.G2i),n.bind(f.Events.ItemUpdated,t.U2i),n.bind(f.Events.ItemReset,t.B2i),n.bind(f.Events.ItemSaved,t.Q2i),n.bind(f.Events.ItemRemoved,t.R2i),n.bind(f.Events.ChangesSubmittedRowFailed,t.Y2i),n.bind(f.Events.ChangesSubmitted,t.H2i),n.bind(f.Events.ChangesCancelled,t.W2i)},t.prototype.z2i=function(t){var n=this,i=n.getDataView();i&&i.gLt&&(n.G2i&&i.unbind(f.Events.ItemInserted,n.G2i),n.U2i&&i.unbind(f.Events.ItemUpdated,n.U2i),n.B2i&&i.unbind(f.Events.ItemReset,n.B2i),n.Q2i&&i.unbind(f.Events.ItemSaved,n.Q2i),n.R2i&&i.unbind(f.Events.ItemRemoved,n.R2i),n.Y2i&&i.unbind(f.Events.ChangesSubmittedRowFailed,n.Y2i),n.H2i&&i.unbind(f.Events.ChangesSubmitted,n.H2i),n.W2i&&i.unbind(f.Events.ChangesCancelled,n.W2i),t&&i.wpt())},t.prototype.pNi=function(t){var n=this.Mf,i=n.getDataSource(),e=i.kve(t)||{},o="string"==typeof e.value&&!i.GPt(e.value)&&!e.isCross;return!!(e.readonly||e.isGroup||e.isPrimaryKey||o)},t.prototype.jOt=function(t){var n=this.Mf,i=n.getDataSource(),e=i.kve(t)||{};return e.isPrimaryKey},t.prototype.kNi=function(t){var n,i,e,o=1;for(n=0;n<t.length;n++)(i=t[n].caption)&&o<(e="string"==typeof i?1:i.length)&&(o=e);return o},t.prototype.UNi=function(){var t=0,n=this.hNi;return n&&(t=n.rowCount),t},t.prototype.QNi=function(t,n,i){var e=this.Mf,r=e.getRowCount(o.SheetArea.colHeader),u=t+i;r!==u&&(e.setRowCount(t+i,o.SheetArea.colHeader),e.ki(o.Events.TableSheetColHeaderRowCountChanged,null,!0)),e.setColumnCount(n,o.SheetArea.colHeader)},t.prototype.RNi=function(t){var n,i,e=this.Mf,r=e.getRowCount(o.SheetArea.colHeader),u=e.getColumnCount(o.SheetArea.colHeader);for(e.clear(0,0,r,u,o.SheetArea.colHeader,o.StorageType.data|o.StorageType.style),e.Cb.clear(o.SheetArea.colHeader),n=0;n<r;n++)if(e.setCellType(n,-1,void 0,o.SheetArea.colHeader),t)for(i=0;i<u;i++)this.wDi(n,i,null,_,o.SheetArea.colHeader)},t.prototype.PNi=function(){var t,n,i,e,r,u,c,a,s,l,f,d,h,v,g=this.hNi,M=this.Mf;if(g){for(t=M.Ut,n=o.SheetArea.colHeader,i=M.Z_(-1,-1,n),t.W_(n).fromJSON(g.data,!0,{}),M.setStyle(-1,-1,i,n),t.Q_(!0,n).fromJSON(g.rows),r=(e=t.K_(n)).spans,g.spans&&g.spans.length?e.fromJSON(g.spans):r&&r.length&&e.removeSpan(0,r.length),(u=g.data.dataTable)&&(M.Xbt=g.sharedFormulas,(0,I.dMt)(M,u,M.getRowCount(n),M.getColumnCount(n),n)),(c=new o.CellTypes.Text).isImeAware=function(){return!1},a=0;a<g.rowCount;a++)M.getCell(a,-1,n).cellType(c).locked(!1);for(s=this.UNi(),l=t.getColumnCount(),t.setFreeAreaRowCount(s,n),t.setFreeAreaColumnCount(l,n),g.columnCount=l,f=0;f<l;f++)if(d=M.Z_(-1,f,n))for(a=0;a<s;a++)(h=M.Z_(a,f,n))?((v=new o.Style).h5(d),v.h5(h),t.setStyle(a,f,v,n)):t.setStyle(a,f,d,n)}else t=M.Ut,n=o.SheetArea.colHeader,t.setFreeAreaRowCount(0,n)},t.prototype.YNi=function(t,n,i,e){var o,r,u,c,a=this.hNi;a&&((o=a.data)||(o=a.data={}),(r=o.dataTable)||(r=o.dataTable={}),(u=r[t])||(u=r[t]={}),(c=u[n])||(c=u[n]={}),c[i]=e)},t.prototype.WNi=function(t,n){var i,e=this.rNi;for(p(t)&&(t=t.join(",")),p(n)&&(n=n.join(",")),i=0;i<e.length;i++)e[i].ubt===t&&(e[i].ubt=n),e[i].sbt===t&&(e[i].sbt=n)},t.prototype.HNi=function(t){var n,i,e,o,r,u,c=this.Mf,a=c.getDataSource();if(a&&(n=a.kve(t))){for(i=[],e=1,o=c.Ut.getFreeAreaRowCount(e),r=c.getRowCount(e);o<r;o++)i.push(c.getText(o,t,e));this.WNi(n.caption,i),u=i.every((function(t,n,i){return 0===n||t===i[0]})),n.caption=u?i[0]:i}},t.prototype.VNi=function(t,n,i){var e,r,u,c,a,s,l,f,d=this;if(t>1){for(r=(e=this.Mf).getRowCount(o.SheetArea.colHeader),u=function(t){return"string"==typeof t&&bt(t)?d.Nuo(t):t},c=0;c<i.length;c++)if(a=i[c].caption||u(i[c].value)){for(s="string"==typeof a?[a]:a,l=0;l<s.length;l++)e.setValue(n+l,c,s[l],o.SheetArea.colHeader);for(f=s[l-1];l<r;l++)e.setValue(n+l,c,f,o.SheetArea.colHeader)}e.autoMerge(new o.Range(n,-1,t,-1),h.AutoMergeDirection.rowColumn,h.AutoMergeMode.restricted,o.SheetArea.colHeader)}},t.prototype.getFilterButtonVisibleFromColumnInfo=function(t,n,i){var o,r=n[t],u=!1!==r.allowSort||!1!==r.allowFilterByValue||!1!==r.allowFilterByList;return x(r.allowSort)&&x(r.allowFilterByValue)&&x(r.allowFilterByList)&&(o=i.getValue(0,t))&&"object"==typeof o&&!e.Common.ct.W0(o)&&x(o._error||o._code)&&(u=!1),u},t.prototype.yze=function(t){var n,i,e=this.Mf.rowFilter();return e&&e.Dit(t)},t.prototype.zze=function(t){var n=this,i=n.Mf,e={tableName:_,colIndex:t};i.Qy().execute({cmd:"clearFilter",sheetName:i.name(),cmdOption:e})},t.prototype.pze=function(t){var n,i,e=this.Mf.rowFilter();return e&&e.getSortState(t)!==o.SortState.none},t.prototype.xze=function(t){var n,i=this,e=i.Mf,o=e.rowFilter();return o.Sze(t),(n=i.getDataView()).UGe(),n.PGe(n.kve(t))},t.prototype.Lze=function(t){var n=this,i=n.fDi(t),e=n.getDataView();return i&&(i.GFt||e.$Lt(e.ife(i),!0))},t.prototype.Oze=function(t){var n,i=this.getDataView();return i.uii(i.kve(t))},t.prototype.iGe=function(t,n){var i=this,e=i.getDataView();return!e.UFe(t)&&(n=n||e.kve(t),i.suspendPaint(),e.iUe(n,(function(){var o,r,u,c,a,s,l=e.Dit();i.yze(t)&&i.zze(t),o=!l||!e.Dit(),r=!1,u=!1,i.pze(t)&&(u=!0,r=i.xze(t),o||!r||l||(o=!0)),c=!1,i.Lze(t)&&(c=i.Oze(t)),u&&e.Dit()&&(e.dFt(),e.vFt(!0)),o&&u&&e.gFt(),c?(a=e.autoSort,e.autoSort=!0,i.removeGroupBy(),e.autoSort=a):(e.VGe(!0),i.groupBy(e.groupBy()),e.zGe(!0)),i.Zze(t)?(i.togglePinnedColumns([t]),s=i.bze(i.tDi(n)),i.fno(s)):i.fno(t)}),(function(){i.refreshBindColumns(),i.Seo(),i.kze(t)})),i.resumePaint(),!0)},t.prototype.fno=function(t,n,i){void 0===n&&(n=1);var e=this;e.Mf.KBe(t,n,_,i),!1!==i&&e.qni.addUndoChanges({type:D.TableSheetUndoType.RemoveColumns,oldCol:t,oldCount:n})},t.prototype.JEe=function(t,n,i){var e=this,o=e.getDataView();return(i=i||o.getColumn(t))&&n&&gt(n,i),!(o.UFe(t)||!e.Ceo(n,i))&&(e.suspendPaint(),o.aUe(i,n,(function(n){n.isFilterUpdated?(e.zze(t),o.VGe(!0),e.groupBy(o.groupBy()),o.zGe(!0)):n.isSortUpdated?(o.VGe(!0),e.groupBy(o.groupBy()),o.zGe(!0)):n.isGroupUpdated&&(o.VGe(!0),o.zGe(!0))}),(function(){e.refreshBindColumns()})),e.resumePaint(),!0)},t.prototype.qFe=function(t,n){var i,e,o,r=this;return!!r.Ceo(n)&&(i=r.getDataView(),r.suspendPaint(),e=i.hur(t),o=r.Mf.getColumnCount()>e,i.JGe(t,n,(function(){o&&r.dno(e)}),(function(){r.refreshBindColumns(),o&&r.Seo()})),r.resumePaint(),!0)},t.prototype.dno=function(t,n,i){void 0===n&&(n=1);var e=this;e.Mf.WBe(t,n,_,{clearUndoNotInCommand:i}),!1!==i&&e.qni.addUndoChanges({type:D.TableSheetUndoType.AddColumns,oldCol:t,oldCount:n})},t.prototype.FPt=function(t){var n;return null===(n=this.getDataView())||void 0===n?void 0:n.FPt(t,!0)},t.prototype.Ceo=function(t,n){var i,e,o,r,u=this,c=(0,f.isNullOrEmpty)(t.type);return!!(!c||n&&(0,f.isNullOrEmpty)(n.type))&&(i="Formula"===t.type&&!bt(t.value),e="Formula"!==t.type&&bt(t.value),o="Lookup"===t.type&&!u.FPt(t.value),r="Lookup"!==t.type&&!bt(t.value)&&(mt(t.value)||u.FPt(t.value)),!(i||e||o||r)&&(!n||u.getDataView().Zcr(n,t)))},t.prototype.isDisableDefineColumn=function(t){return this.UFe(t)},t.prototype.UFe=function(t){var n=this,i=n.getDataView();return i.UFe(t)},t.prototype.Iuo=function(t,n){return t&&bt(t)?this.getDataView().getTable().getFormulaWithoutCulture(t,n):t},t.prototype.getFormulaWithCulture=function(t,n){return this.Nuo(t,n)},t.prototype.Nuo=function(t,n){return t&&bt(t)?this.getDataView().getTable().getFormulaWithCulture(t,n):t},t.prototype.refreshBindColumns=function(t,n){var i,e,r,u,c,a,f,d,h,v,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,L,S,O=this.Mf,k=n||O.getDataSource();if(k){for(O.suspendPaint(),O.suspendEvent(),(i=O.conditionalFormats)&&i.clearRule(),O.b8&&O.b8.d5(),e=k.getColumnInfos(),r=this.kNi(e),u=this.UNi(),this.QNi(r,e.length,u),this.RNi(t),this.PNi(),this.VNi(r,u,e),c=O.rowFilter(),this.cno(O,c,e),a=[[]],f=O.k9(o.SheetArea.viewport),d=e.some((function(t,n){return!x(t.headerFit)&&"normal"===t.headerFit&&O.Lt(n)!==o.ColumnHeaderFitMode.normal})),h=0;h<e.length;h++){if(M=void 0,I=void 0,N=void 0,"string"==typeof(g=(v=e[h]).value)?bt(g)?I=g:M=g:"function"==typeof g&&(N=g.name),D={name:M||I||N},b=v.caption,1===r&&b?D.displayName=ft(b):I&&!b&&(D.displayName=this.Nuo(I)),x(v.width)||(D.width=v.width),x(v.visible)||(D.visible=v.visible),O.bindColumn(h,D),this.JNi(-1,h,v.headerStyle,o.SheetArea.colHeader),m=v.style,this.Teo(!0)&&h===f&&(C=v.zno)&&((m=this.Lno(m)).cellType=C),this.JNi(-1,h,m),O.qgt.nM=k.gLt,O.qgt.getField=k.gLt.POt.getField,v.validator&&(w=v.validator instanceof s.DefaultDataValidator?v.validator:Ut(v.validator),O.setDataValidator(-1,h,w)),(y=v.conditionalFormats)&&i)for(A=[new o.Range(-1,h,-1,1)],j=0,T=y;j<T.length;j++)(z=T[j])instanceof l.ConditionRuleBase?(z.ranges([new o.Range(-1,h,-1,1)]),O.conditionalFormats.addRule(z)):Gt(i,z,A);p=this.pNi(h),O.getRange(-1,h,-1,1).locked(p),O.getRange(-1,h,-1,1,o.SheetArea.colHeader).locked(!1),L=this.getFilterButtonVisibleFromColumnInfo(h,e,O),c.filterButtonVisible(h,L),v.isCross?a[0].push(h):a[0].length>0&&a.unshift([])}for(h=0;h<e.length;h++)v=e[h],x(v.headerFit)||this.FNi(h,v.headerFit);d&&(S=this.zuo())&&(O.defaults.colHeaderRowHeight=S),this.XNi(),this.tLi(),O.resumeEvent(),O.resumePaint(),this.KNi(a),this.UMi&&this.UMi.updatePanelLayout(),this.applyStyleRules()}},t.prototype.zuo=function(){var t,n,i,e,r,u,c,a,s,l=this.Mf,f=l.Ut.Q_(!1,o.SheetArea.colHeader);if(f&&(t=f.infos)&&t.length){for(n=t.map((function(t){var n;return null!==(n=t.columnHeaderFitMode)&&void 0!==n?n:o.ColumnHeaderFitMode.normal})),i=!1,e=1,r=0,u=0;u<n.length;u++)(c=n[u])===o.ColumnHeaderFitMode.normal?r>0&&(e=Math.max(e,r+1),r=0):c===o.ColumnHeaderFitMode.vertical?i=!0:c===o.ColumnHeaderFitMode.stack&&r++;return r>0&&(e=Math.max(e,r+1)),a=30,s=i?2*a:a,Math.max(s,e*a,this.Tts())}},t.prototype.pno=function(){var t,n,i,e,r=this.Mf,u=r.getDataSource();if(u&&u.tdr){for(r.suspendPaint(),t=0;t<u.tdr.length;t++)(n=u.tdr[t]).K1r&&r.KBe(t,1,o.SheetArea.viewport,!1);for(u.tdr=_,i=u.getColumnInfos(),t=0;t<i.length;t++)(e=i[t]).ume&&r.WBe(t,1,o.SheetArea.viewport,{clearUndoNotInCommand:!1});r.resumePaint()}},t.prototype.cno=function(t,n,i){n.Fct((0,o.Ec)(-1,0,-1,i.length)),t.lct=J},t.prototype._Ni=function(t){var n,i,e,o,r=this;return r.qNi()&&(n=r.getDataView(),Ct(e=(i=r.Mf.rowFilter()).tAi[t])&&(o=n.getHierarchyNode(e,!0),!x(o)))?o.level:0},t.prototype.$Ni=function(){return this.getDataView().getHierarchyColumnIndex(!0)},t.prototype.isShowHierarchyOutlineColumn=function(t){return this.qNi(t)},t.prototype.qNi=function(t){var n,i=this.getDataView();return!x(i)&&i.hasHierarchyColumn(t)},t.prototype.isHierarchyParent=function(){var t,n=this.getDataView();return n&&n.isHierarchy()&&"Parent"===n.gLt.getHierarchyType()},t.prototype.iDi=function(t,n){var i,e,o=this,r=o.getDataView();if(!x(r)&&!x(n)&&(i=r.kve(n),!x(i)))return e=o.tDi(i),!x(r.h7t(e,t))},t.prototype.wNi=function(){var t,n,i=this,e=i.Mf;i.qNi()&&(n=(t=i.getDataView().SPt(!0)).options,i.suspendPaint(),e.outlineColumn.options(st(st({columnIndex:t.index,showIndicator:!0},n),{collapseIndicator:n&&n.collapseIndicator?n.collapseIndicator:g.ARROW_RIGHT,expandIndicator:n&&n.expandIndicator?n.expandIndicator:g.ARROW_DOWN})),e.showRowOutline(!1),e.rowOutlines.KMi=!0,i.resumePaint())},t.prototype.Rno=function(t){var n,i=this,e=i.Mf,o=i.getDataView(),r=o.visibleLength();for(i.suspendPaint(),i.options.allowAddNew&&e.getCell(r,t).textIndent(_),n=0;n<r;n++)e.getCell(n,t).textIndent(_);i.resumePaint()},t.prototype.nDi=function(){var t,n,i,e,o,r=this,u=r.Mf;if(r.qNi()){for(n=(t=r.getDataView()).visibleLength(),i=!1,e=0;e<n;e++)u.outlineColumn.getCollapsed(e)&&((o=t.getHierarchyNode(e)).eDi=!0,i=!0);return i}},t.prototype.jze=function(){var t,n,i,e,o=this,r=o.Mf;if(!o.qNi())return{};for(t={},i=(n=o.getDataView()).visibleLength(),e=0;e<i;e++)t[e]=r.rowOutlines.getCollapsed(e);return t},t.prototype.vze=function(t){var n,i,e,o=this,r=o.Mf;if(o.qNi())for(i=(n=o.getDataView()).visibleLength(),o.expandAllHierarchyLevels(),o.XNi(),e=0;e<i;e++)r.outlineColumn.setCollapsed(e,t[e])},t.prototype.oDi=function(){var t,n,i,e,o=this,r=o.Mf;if(o.qNi())for(n=(t=o.getDataView()).visibleLength(),i=0;i<n;i++)(e=t.getHierarchyNode(i)).eDi&&(e.eDi=!1,r.outlineColumn.setCollapsed(i,!0))},t.prototype.uDi=function(t){var n=this;n.qNi()&&(n.suspendPaint(),!1!==t&&n.expandAllHierarchyLevels(),n.XNi(),!1!==t&&n.oDi(),n.resumePaint())},t.prototype.XNi=function(){var t,n,i,e,o,r,u,c,a,s=this,l=s.Mf;if(s.qNi()){for(t=s.getDataView(),n=s.$Ni(),s.suspendPaint(),i=t.visibleLength(),(e=l.outlineColumn.options())&&!x(e.columnIndex)&&s.Rno(e.columnIndex),s.options.allowAddNew&&l.getCell(i,n).textIndent(_),o=0;o<i;o++)r=t.getHierarchyNode(o),u=x(r)?_:r.level,l.getCell(o,n).textIndent(u);if(l.outlineColumn.refresh(),(c=t.SPt())&&c.options&&c.options.showCheckbox){for(o=0;o<i;o++)r=t.getHierarchyNode(o),a=!x(r)&&r.cDi,l.outlineColumn.ect(o,a);l.outlineColumn.refresh()}s.resumePaint()}},t.prototype.rDi=function(t){var n=this;n.suspendPaint(),n.uDi(!!t),n.resumePaint()},t.prototype.aDi=function(t){var n=this;return!(!n.qNi()||!Ct(t))&&n.Mf.outlineColumn.getCheckStatus(t)},t.prototype.sDi=function(){var t,n,i,e,o=this;if(o.qNi())for(t=o.Mf,i=0,e=(n=o.getDataView()).visibleLength();i<e;i++)n.getHierarchyNode(i).cDi=t.outlineColumn.getCheckStatus(i)},t.prototype.getHierarchyMaxLevel=function(){return this.MDi()},t.prototype.MDi=function(){var t,n,i=this,e=i.getDataView(),o=e.visibleLength(),r=-1;for(t=0;t<o;t++)(n=e.getHierarchyNode(t).level)>r&&(r=n);return r},t.prototype.showHierarchyItems=function(t){this.IDi(t,!1)},t.prototype.hideHierarchyItems=function(t){this.IDi(t,!0)},t.prototype.IDi=function(t,n){var i=this,e=i.Mf;i.qNi()&&(e.suspendPaint(),t.forEach((function(t){i.gDi(t)&&e.outlineColumn.setCollapsed(t,n)})),e.outlineColumn.refresh(),e.resumePaint())},t.prototype.NDi=function(t){var n,i,e,o=this;if(o.qNi()){for(n=o.Mf,i=o.lDi(),n.suspendPaint(),e=0;e<i;e++)n.outlineColumn.setCollapsed(e,t);n.outlineColumn.refresh(),n.resumePaint()}},t.prototype.expandAllHierarchyLevels=function(){this.NDi(!1)},t.prototype.collapseAllHierarchyLevels=function(){this.NDi(!0)},t.prototype.lDi=function(){var t,n,i;return this.getDataView().visibleLength()},t.prototype.gDi=function(t){return t<this.lDi()},t.prototype.expandHierarchyLevel=function(t){var n,i,e,o,r,u=this;if(u.qNi()){for(n=u.Mf,i=u.getDataView(),e=u.lDi(),u.suspendPaint(),o=0;o<e;o++)(r=i.getHierarchyNode(o).level)<t?n.outlineColumn.setCollapsed(o,!1):n.outlineColumn.setCollapsed(o,!0);n.outlineColumn.refresh(),u.resumePaint()}},t.prototype.promoteHierarchyLevel=function(t){var n=this;n.qNi()&&(n.getDataView().promoteHierarchyLevel(t),n.rDi())},t.prototype.demoteHierarchyLevel=function(t,n){var i=this;i.qNi()&&(i.getDataView().demoteHierarchyLevel(t,n),i.rDi())},t.prototype.moveUp=function(t){var n,i=this,e=i.getDataView();e.hasHierarchyRowOrder()&&(i.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),n=i.nDi(),e.moveUp(t),i.rDi(n),i.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.moveDown=function(t){var n,i=this,e=i.getDataView();e.hasHierarchyRowOrder()&&(i.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),n=i.nDi(),e.moveDown(t),i.rDi(n),i.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.hasHierarchyRowOrder=function(){return this.qX()},t.prototype.qX=function(){var t,n;return this.getDataView().hasHierarchyRowOrder()},t.prototype.addHierarchyItemBefore=function(t,n){var i,e=this,o=e.Mf,r=e.getDataView();r.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=e.nDi(),o.ffe(t,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),r.addHierarchyItemBefore(t,n||{}),e.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.addHierarchyItemAfter=function(t,n){var i,e,o=this,r=o.Mf,u=o.getDataView();u.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=o.nDi(),e=u.addHierarchyItemAfter(t,n||{}),r.ffe(t+e,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),o.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.addHierarchyItemAbove=function(t,n){var i,e=this,o=e.Mf,r=e.getDataView();r.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=e.nDi(),o.ffe(t,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),r.addHierarchyItemAbove(t,n||{}),e.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.addHierarchyItemBelow=function(t,n){var i,e,o=this,r=o.Mf,u=o.getDataView();u.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=o.nDi(),e=u.addHierarchyItemBelow(t,n||{}),r.ffe(t+e,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),o.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.KNi=function(t){var n,i,e,r=this.Mf,u=this.cNi||[[]];for(r.suspendPaint(),n=0;n<u.length;n++)(i=u[n]).length>0&&r.cellStates.getCollection(o.CellStatesType.readonly)&&(e=new o.Range(-1,i[0],-1,i.length),r.cellStates.remove(e,o.CellStatesType.readonly));for(this.cNi=t,n=0;n<t.length;n++)(i=t[n]).length>0&&r.cellStates.add(new o.Range(-1,i[0],-1,i.length),o.CellStatesType.readonly,new o.Style({backColor:"#e6e6e6"}));r.resumePaint()},t.prototype.applyStyleRules=function(){var t,n,i,e,r,u,c,a,s,l,f,d,h=this.Mf,v=h.getDataSource(),g=v.getStyleRules();if(g)for(n in t=h.conditionalFormats,this.clearStyleRuleConditionalFormats(),g)if(g[n]&&(e=(i=g[n]).style,r=i.rule,e&&r))if(u=void 0,u=e instanceof o.Style?e:new o.Style(e),c=r.formula,a=r.state,s=r.direction,l=r.area,f=[new o.Range(-1,-1,-1,-1)],d={},c)Gt(t,d={ruleType:"formulaRule",formula:c,style:u},f);else if(Ct(a)&&Ct(s)){if(1!==s&&3!==s||this.addRowStateRule(a,u),2===s&&l===o.SheetArea.colHeader){this.addColumnHeaderStateRule(a,u);continue}2!==s&&3!==s||this.addColumnStateRule(a,u)}},t.prototype.DDi=function(t){var n,i,e,o,r,u,c,a,s,f;if(t&&(i=(n=this.Mf).conditionalFormats))for(o=(e=i.getRules()).length-1;o>=0;o--)u=(r=e[o]).ruleType(),a=(c=r.ranges())[0],s=u===l.RuleType.rowStateRule||u===l.RuleType.columnStateRule,f=u===l.RuleType.formulaRule&&-1===a.col&&-1===a.colCount,(s||f)&&t(r,i)},t.prototype.clearStyleRuleConditionalFormats=function(){this.DDi((function(t,n){n.removeRule(t)}))},t.prototype.refreshStyleRuleCache=function(){this.DDi((function(t,n){n.RX(t),n.fE(t)}))},t.prototype.fDi=function(t,n){var i,e=this.Mf,o=e.getDataSource();return o&&(i=o.kve(t,!0,n))||null},t.prototype.bze=function(t){var n,i,e=this,o=e.endColumn();for(i=0;i<o+1;i++)if((null===(n=e.fDi(i))||void 0===n?void 0:n.name)===t)return i;return null},t.prototype.dDi=function(t){return this.tDi(this.fDi(t))},t.prototype.tDi=function(t){if(t){var n=t.value;if("string"==typeof n)return n;if("function"==typeof n)return n.name}},t.prototype.Lno=function(t){var n,i=new o.Style;return t&&(this.hDi(t.dropDowns),n=t instanceof o.Style?t:new o.Style(t),i.h5(n,!0),this.Deo(i)&&this.jeo(i)),i},t.prototype.JNi=function(t,n,i,e){var r,u=this.Mf;x(e)||e===o.SheetArea.viewport?e=3:i&&(i.cellType&&"98"!==i.cellType.typeName&&"107"!==i.cellType.typeName&&delete i.cellType,delete i.tabStop,delete i.imeMode,delete i.cellButtons,delete i.dropDowns,delete i.mask),r=this.Lno(i),u.setStyle(t,n,r,e)},t.prototype.Ywt=function(t,n,i){var e,o=this.getDataView();return o&&o.Ywt(t,n,i)},t.prototype.nMt=function(t,n){var i,e=this.getDataView();return e&&e.nMt(t,n)},t.prototype.hDi=function(t){var n=this,i=n.Mf,e=i.parent,o=e.dataManager();t&&t.forEach((function(t){var n,i,e,r=t.option;r&&r.dataSource&&(n=r.dataSource,r.dataSource instanceof f.View&&(n=r.dataSource={datamanagerTable:n.tableName,columns:n.deleteColumnsProperties(n.yLt)}),n.datamanagerTable&&(i=o.tables[n.datamanagerTable],n.viewName=n.datamanagerTable+Math.random().toString(16).substring(1,8),e=i.GRt(n.viewName,n.columns),n.columns=e.deleteColumnsProperties(n.columns),e.fetch()))}))},t.prototype.enablePinRow=function(){var t,n,i,e,o,r=this,u=r.Mf,c=10,a=r.groupBy(),s=a&&Array.isArray(a)&&a.length>0,l=r.qNi(),f=r.getDataView(),d=f.lFt,h=u.getSelections(),v=d&&d.length,g=0,M=0;for(t=0,n=h;t<n.length;t++)(i=n[t])&&(e=i.row,M+=o=i.rowCount,(e=-1===e?0:e)<v&&(g+=Math.min(o+e,v)-e));return!(s||l||v-g+(M-g)>c)},t.prototype.enablePinColumn=function(){var t,n,i,e,o,r=this,u=r.Mf,c=10,a=r.groupBy(),s=a&&Array.isArray(a)&&a.length>0,l=u.getActiveColumnIndex(),f=r.getDataView(),d=f&&f.kve(l),h=f.CLt,v=u.getSelections(),g=h&&h.length,M=0,I=0;for(t=0,n=v;t<n.length;t++)(i=n[t])&&(e=i.col,I+=o=i.colCount,(e=-1===e?0:e)<g&&(M+=Math.min(o+e,g)-e));return!(s||d&&d.isCross||g-M+(I-M)>c)},t.prototype.FNi=function(t,n){var i,e,r=this.Mf;switch(n){case"vertical":i=o.ColumnHeaderFitMode.vertical;break;case"stack":i=o.ColumnHeaderFitMode.stack;break;default:i=o.ColumnHeaderFitMode.normal}e=r.defaults.colHeaderRowHeight,r.GB(t,i),e!==r.defaults.colHeaderRowHeight&&this.qni.addUndoChanges({type:D.TableSheetUndoType.DefaultRowHeightChanged,oldData:{size:e,sheetArea:o.SheetArea.colHeader},newData:{size:r.defaults.colHeaderRowHeight,sheetArea:o.SheetArea.colHeader}})},t.prototype.getDataView=function(){return this.Mf.getDataSource()},t.prototype.setDefaultRowHeight=function(t,n){var i=this.Mf.defaults,e=i.rowHeight;n===o.SheetArea.colHeader?(e=i.colHeaderRowHeight,i.colHeaderRowHeight=t):i.rowHeight=t,e!==t&&this.qni.addUndoChanges({type:D.TableSheetUndoType.DefaultRowHeightChanged,oldData:{size:e,sheetArea:n},newData:{size:t,sheetArea:n}})},t.prototype.getDefaultRowHeight=function(t){var n=this.Mf.defaults;return x(t)&&(t=3),t===o.SheetArea.corner||t===o.SheetArea.colHeader?n.colHeaderRowHeight:n.rowHeight},t.prototype.Tts=function(){return 30},t.prototype.MNi=function(){var t;this.gNi=[ut]},t.prototype.rowActionOptions=function(t){var n,i=this;return p(t)&&(n=lt([],this.gNi,!0),i.clearRowActions(),i.gNi=i.DNi(t),i.rebuildRowActionOptions(),i.NNi(),i.bDi(),this.qni.addUndoChanges({type:D.TableSheetUndoType.RowAction,oldData:n,newData:this.gNi})),i.DNi()},t.prototype.rebuildRowActionOptions=function(){var t,n,i,e=this,o=e.gNi,r=Bt(o,S);Rt(r)&&(t=rt[O],n=rt[k],i=rt[E],t.icons=r.icons.slice(0,1),(t=z(t)).command=r.command,n.icons=r.icons.slice(1,4),i.icons=r.icons.slice(4,5),r.subActionOptions=[e.nLi(t),e.nLi(n),e.nLi(i)])},t.prototype.NNi=function(){var t=this,n=t.gNi;x(t.getParent())||o.Commands.iMi(t.getParent().commandManager(),n)},t.prototype.tLi=function(){var t,n,i,e=this,o=e.getDataView();if(o)for(e.eLi={},t=o.getColumn(),n=function(n){var i=t[n],r=i.value;if("string"!=typeof r||e.eLi.hasOwnProperty(r))return"continue";Object.defineProperty(e.eLi,r,{get:function(){return o.Nve(e.eLi.oLi,i)}})},i=0;i<t.length;i++)n(i)},t.prototype.nLi=function(t){return t.name===O?t.iLi=Xt:t.name===k?t.iLi=Kt:t.name===E&&(t.iLi=qt),t},t.prototype.bDi=function(){var t,n,i,e,r,c,a=this,s=a.Mf,l=a.gNi,f=l.length,h=a.options.showRowNumber?1:0,v=1;for(s.suspendPaint(),s.setColumnCount(v+f+h,o.SheetArea.rowHeader),t=a.groupOutlinePosition(),s.setColumnVisible(0,t===u.GroupOutlinePosition.rowHeader||t===u.GroupOutlinePosition.groupCellAll,o.SheetArea.rowHeader),a.tLi(),n={isPinnedRow:function(t){return a.ADi(t)},isInsertedRow:function(t){return a.vDi(t)},isUpdatedRow:function(t){return a.jDi(t)},isNewRow:function(t){return a.zDi(t)},hasWarning:function(t){return a.CDi(t)},getDataItem:function(t){return a.eLi.oLi=t,a.eLi}},i=0;i<f;i++)r=v+i,wt((e=l[i]).tooltip)&&a.wDi(-1,r,e.tooltip),a.nLi(e),(c=new d.RowAction(e,n)).build(a.yDi(e)),s.setCellType(-1,r,c,o.SheetArea.rowHeader);s.resumePaint()},t.prototype.clearRowActions=function(){var t,n,i,e=this,r=e.Mf,u=e.gNi,c=u.length,a=1;for(r.suspendPaint(),t=0;t<c;t++)i=a+t,(n=u[t]).tooltip&&e.wDi(-1,i,null),r.setStyle(-1,i,null,o.SheetArea.rowHeader);r.resumePaint()},t.prototype.yDi=function(t){var n=this,i=t.name===k||t.name===S,e=t.name===U||t.name===G,o=n.mDi.bind(n),r=n.LDi.bind(n);return i?{enabled:o}:e?{enabled:r,visible:o}:{enabled:o,visible:o}},t.prototype.tIe=function(t){var n;return!this.jFt||this.VDi(t)},t.prototype.Zze=function(t){var n,i;return t<this.Mf.frozenColumnCount()},t.prototype.ADi=function(t){var n,i;return t<this.Mf.frozenRowCount()},t.prototype.xDi=function(t){for(var n=this,i=n.gNi,e=1,o=0;o<i.length&&i[o].name!==t;o++);return o===i.length?-1:e+o},t.prototype.SDi=function(){var t=this,n=t.xDi(E);return-1===n&&(n=t.xDi(S)),n},t.prototype.zA=function(t){return t.sheetName=this.name(),this.getParent().commandManager().execute(t)},t.prototype.CDi=function(t,n){var i,e=this;if(Ct(t))return(i=e.SDi())===(n=Ct(n)?n:i)&&!x(e.ZDi(t))},t.prototype.ZDi=function(t){var n,i=this.getDataView();return i&&i.getErrorInfo(t)},t.prototype.ODi=function(t){var n,i=this.ZDi(t);if(!x(i))return i.reason},t.prototype.wDi=function(t,n,i,e,r){void 0===r&&(r=o.SheetArea.rowHeader);var u,c=this.Mf;e&&c.getCell(t,n,r).tag(i),c.Ut.$n(t,n,i,r)},t.prototype.Deo=function(t){return t&&t.cellType&&"8"===t.cellType.typeName},t.prototype.jeo=function(t){var n=t.cellType;n.Bto=!0,n.AQe=!0,n._Qe=function(t,n,i){var e=this,o=t.NMi.getDataView(),r=o&&o.BQe(n,i);return r?{id:e._id,visited:r.visited}:J},n.DQe=function(t,n,i){var e=t.NMi.getDataView();e&&e.GQe(n,i,{visited:!0})}},t.prototype.Aeo=function(t){var n,i=this,e=i.getDataView();if(e){if(wt(t)&&(t=i.bze(t),x(t)))return;if(n=e.kve(t,!0,!0),x(n))return;return(n=st({},n)).caption=ft(n.caption),bt(n.value)&&(n.formula=n.value,"formula"!==n.dataType||(0,f.isNullOrEmpty)(n.name)||bt(n.name)?n.value=J:n.value=n.name),n}},t.prototype.Eze=function(t,n,i){var e,r,u=this,c=u.getParent();c.iy(),u.wze&&u.wze.close(),e=Ct(i)&&u.getDataView()?u.Aeo(i):{},t-=(r=c.uC()).left,n-=r.top,u.wze=new b.Uze(c.j2(),o.util.gi(c&&c.Ti),{columnTypeItems:u.options.columnTypeItems,column:e,getSheet:function(){return u.Mf},getLookup:function(t){var n;return(null===(n=u.getDataView())||void 0===n?void 0:n.jGe(t))||[]},getSampleValue:function(t){var n,i,e,o,r,c=u.getDataView();if(c){if(bt(i=t.formula||t.value))return u.aji(i);if(o=function(){for(var i=0,e=c.visibleLength();i<e&&(n=c.ufe(t,i),x(n));i++);},(e=mt(t.value))&&(o(),!x(n)))return n;if("number"===(r=t.dataType||c.OGe(t)))return 0;if("date"===r)return new Date;!e&&o()}return n},getColumnBy:function(t){return u.Aeo(t)},getColumnFields:function(){var t,n,i,e,o,r=u.getDataView(),c=[];if(r)for(n=0,i=t=r.getColumnInfos(!0,!0);n<i.length;n++)(o=(e=i[n]).value)&&"string"==typeof o&&-1===o.indexOf("=")&&!e.cross&&c.push(o);return c},getTriggerFields:function(){var t,n,i,e,o,r=u.getDataView(),c=[];if(r)for(n=0,i=t=r.getColumnInfos(!0,!0);n<i.length;n++)!(o=(e=i[n]).value)||"string"!=typeof o||-1!==o.indexOf("=")||-1!==o.indexOf(".")||e.cross||e.isRelationship||c.push(o);return c},isRelationship:function(t){var n=u.getDataView();return n&&n.FPt(t,!0)},onOpening:function(){c.focus(!1)},onOpened:function(){u.getSheet().rt.u2()},onSaving:function(t){var n,e;t.column&&(t.column.caption=dt(t.column.caption)),t.originalColumn&&(t.originalColumn.caption=dt(t.originalColumn.caption)),t.col=i,u.options.submitDefineColumnCommand===nt?!1!==(n=u.zA(t))&&u.wze.close():(t.command=t.cmd,t.cmd=u.options.submitDefineColumnCommand,n=u.zA(t),"function"==typeof t.onCompleted?(e=t.onCompleted,delete t.onCompleted,e((function(n){n&&n.success&&(t.cmd=t.command,u.zA(t)),u.wze&&u.wze.close()}))):!1!==n&&u.wze.close())},onClosed:function(){u.wze=J,c.focus()}}),u.wze.rQ(t,n)},t.prototype.getChanges=function(){var t=this.Mf,n=t.getDataSource();if(n)return n.getChanges()},t.prototype.submitChanges=function(){var t=this,n=this.Mf,i=n.getDataSource();return i?(t.beforeSubmitChanges(),new Promise((function(n){i.submitChanges((function(n,i,e){t.ONi(n,i,e)})).then((function(i){t.ENi(i),n()}))}))):Promise.resolve()},t.prototype.beforeSubmitChanges=function(){},t.prototype.ONi=function(t,n,i){var e=this,o=e.Mf;"delete"===i&&o.ffe(t,1,3,{rowExpand:!1,clearUndoNotInCommand:!1})},t.prototype.ENi=function(t){var n=this,i=n.Mf,e=i.getDataSource(),o=e.visibleLength()+(n.options.allowAddNew?1:0);i.setRowCount(o),i.repaint()},t.prototype.cancelChanges=function(){var t,n,i,e=this.Mf,o=e.getDataSource();o&&(n=(t=o.isDataLengthChanged())||o.isDataRowOrderChanged(),i=(this.getChanges()||[]).some((function(t){return"addColumn"===t.type||"removeColumn"===t.type})),this.beforeCancelChanges(),o.cancelChanges(),this.GNi(o,t,n,i))},t.prototype.beforeCancelChanges=function(){},t.prototype.GNi=function(t,n,i,e){var r,u,c,a=this.Mf;this.suspendPaint(),u=(r=a.getRowCount())-1,c=a.getColumnCount(),a.Ut.clear(0,0,u,c,o.StorageType.data,[]),a.clearPendingChanges({row:0,col:0,rowCount:u,colCount:c,clearType:o.ClearPendingChangeType.dirty|o.ClearPendingChangeType.insert|o.ClearPendingChangeType.delete}),n?(this.uLi(t),this.EDi()):i&&this.EDi(),e?this.refreshBindColumns():this.qNi()&&this.rDi(),this.Teo()&&this.WDi(),this.resumePaint()},t.prototype.EDi=function(){var t,n,i,e,o=this.getDataView(),r=o.autoFilter;if(!r){for(n=(t=this.Mf).rowFilter().Mct.slice(),t.suspendPaint(),i=0;i<n.length;i++)e=n[i],t.Qy().execute({cmd:"clearFilter",sheetName:t.name(),cmdOption:{colIndex:e}});t.resumePaint()}},t.prototype.yy=function(t,n){var i,e=this.Mf;e.getParent().ib.yy(e,t||0,n||0),e.tw()},t.prototype.GDi=function(t){var n=this,i=n.Mf,e=n.uNi;t<e&&e===i.getViewportTopRow(1)&&n.yy(t)},t.prototype.wy=function(t,n){var i,e=this.Mf;e.getParent().ib.wy(e,t||0,n||0),e.ow()},t.prototype.pDi=function(t){var n=this,i=n.Mf,e=n.jIi;t<e&&e===i.getViewportLeftColumn(1)&&n.wy(t)},t.prototype.togglePinnedRows=function(t){var n,i=this.Mf,e=i.getDataSource();if(e&&!this.jFt&&!this.qNi())return this.qni.startAddComboChanges(),n=e.togglePinnedRows(t),this.qni.addUndoChanges({type:D.TableSheetUndoType.PinnedRowsChanged}),this.tze(),this.qni.endAddComboChanges(),n},t.prototype.tze=function(){var t=this.Mf,i=this.Mf.getDataSource().togglePinnedRows();if(-1===i)throw(0,n.getSR)().EXP_TooManyPinRecords;i!==this.uNi&&(this.suspendPaint(),t.frozenRowCount(i),this.GDi(i),this.resumePaint(),this.uNi=i)},t.prototype.togglePinnedColumns=function(t){var n,i,e,o,r,u,c,a=this.Mf,s=a.getDataSource();if(s&&!this.jFt)return n=this.kDi(),(i=t.indexOf(n))>=0&&t.splice(i,1),e=this.UDi(),o=a.rowFilter().BDi(),this.qni.startAddComboChanges(),r=s.togglePinnedColumns(t),this.nze(e,o,r),u=this.UDi(),c=a.rowFilter().BDi(),this.qni.addUndoChanges({type:D.TableSheetUndoType.PinnedColumnsChanged,oldData:{oldFilterColumnsMap:C(u),oldSortColumnsMap:C(c)}}),this.qni.endAddComboChanges(),r},t.prototype.nze=function(t,i,e){var o=null!=e?e:this.Mf.getDataSource().togglePinnedColumns(),r=this.Mf;if(-1===o)throw(0,n.getSR)().EXP_TooManyPinRecords;this.QDi(t),r.rowFilter().RDi(i),this.suspendPaint(),this.refreshBindColumns(),r.frozenColumnCount(o),this.kze(),this.pDi(o),this.resumePaint(),this.jIi=o},t.prototype.UDi=function(){var t,n,i,e,o=this.Mf,r=o.getDataSource(),u=r.oPt,c=o.rowFilter(),a=c&&c.Mct,s={};if(a&&a.length)for(t=-1,n=0,i=a;n<i.length;n++)e=i[n],s[t=u&&u.length?u[e]:e]=e;return s},t.prototype.QDi=function(t){var n,i,e,o,r,u,c=this.Mf,a=c.getDataSource(),s=a.oPt,l=c.rowFilter(),f=l&&l.Mct,d=l&&l.rrt,h={};for(n in t)t.hasOwnProperty(n)&&(e=t[i=+n],(o=s&&s.length>0?s.indexOf(i):i)!==e&&(f[f.indexOf(e)]=o,r=d[e],delete d[e],h[o]=r));for(u in h)h.hasOwnProperty(u)&&(d[u]=h[u])},t.prototype.PDi=function(){var t=this.uNi,n=this.jIi;this.suspendPaint(),t>0&&this.togglePinnedRows(Pt(t)),n>0&&this.togglePinnedColumns(Pt(n)),this.resumePaint()},t.prototype.nPt=function(){var t,n,i;this.Mf.getDataSource().nPt()},t.prototype.nDe=function(){var t,n,i=this,e=i.Mf,o=i.getDataView(),r=e.H3,u=[];if(u=r.J$?Object.keys(r.J$).reduce((function(t,n){var i,e=null!==(i=r.J$[n])&&void 0!==i?i:{},o=e.name||e.dataField;return o&&t.push(o),t}),[]):Object.keys(r.Pq).map((function(t){return r.Pq[t]})),t=o.getColumnInfos().map((function(t){return o.ife(t)})),u.length!==t.length)i.eDe();else for(n=0;n<u.length;n++)if(u[n]!==t[n])return void i.eDe()},t.prototype.WDi=function(t,n,i){var e=this.Mf,o=this.jFt,r=this.lMi,u=e.getDataSource();o&&u.lde(t)&&(this.suspendPaint(),!1!==n&&this.nDe(),this.Mf.icr&&this.Mf.icr(),this.INi.Yeo(this.options.groupLayout.mode),this.INi.Jeo(this.options.groupLayout),this.INi.Hc(u.FFt,e.getRowCount()-1-(this.options.allowAddNew?1:0),e,r,i),this.resumePaint())},t.prototype.groupBy=function(t){var n,i,e=this.Mf,o=e.getDataSource();if(!o||0===arguments.length||!p(t)||this.qNi())return o&&o.groupBy();this.suspendPaint(),e.suspendCalcService(),this.PDi(),this.jFt=!0,n=C(this.lMi),this.lMi=C(t),o.Agr(!this.Teo()),o.groupBy(this.lMi),this.WDi(_,!1),this.eDe(),(i=e.rowFilter())&&i.Gze(),e.resumeCalcService(!1),this.resumePaint(),this.UMi&&this.UMi.updatePanelLayout(),this.qni.addUndoChanges({type:D.TableSheetUndoType.GroupOptions,oldData:n,newData:this.lMi})},t.prototype.eDe=function(t,n){var i,e,r,c,a;void 0===t&&(t=u.GroupLayoutMode.tabular),c=(r=(e=(i=this.Mf).getDataSource()).getColumnInfos()).length,a=r.filter((function(t){return t.isGroup})).length,this.pno(),i.setColumnCount(c),this.refreshBindColumns(n),a>0?(i.Cb.clear(o.SheetArea.viewport),t===u.GroupLayoutMode.tabular&&i.autoMerge((0,o.Ec)(-1,0,-1,a),h.AutoMergeDirection.column,h.AutoMergeMode.restricted)):this.Teo()&&i.Cb.clear(o.SheetArea.viewport)},t.prototype.removeGroupBy=function(){var t,n,i,e=this.Mf,r=e.getDataSource();r&&!this.qNi()&&(t=C(this.lMi),this.jFt=!1,this.lMi=_,this.suspendPaint(),e.suspendCalcService(),this.detailColumnsVisible(!0),r.removeGroupBy(),n=r.getColumnInfos().length,e.setColumnCount(n),this.refreshBindColumns(),e.Cb.clear(o.SheetArea.viewport),this.Mf.icr(),this.INi.L0(e),(i=e.rowFilter())&&i.Gze(),e.resumeCalcService(!1),this.resumePaint(),this.UMi&&this.UMi.updatePanelLayout(),this.qni.addUndoChanges({type:D.TableSheetUndoType.GroupOptions,oldData:t}))},t.prototype.detailColumnsVisible=function(t){var n,i,e,o,r=this.Mf,u=r.getDataSource();if(u){if(n=u.detailColumnsVisible(),0===arguments.length)return n;if((t===n||t||!this.Teo(!0))&&(u.detailColumnsVisible(t),u.BFt)){for(this.suspendPaint(),i=u.getColumnInfos(),e=0;e<i.length;e++)(o=i[e]).isGroup||r.setColumnVisible(e,o.visible);this.HDi(),this.resumePaint()}}},t.prototype.HDi=function(){var t=this.lMi,n=this.detailColumnsVisible();t&&!n&&this.expandGroup(t[t.length-1].field,!1)},t.prototype.groupOutlinePosition=function(t){var n,i;if(0===arguments.length)return this.INi.TMi();n=this.INi.TMi(),i=this.Mf,this.suspendPaint(),this.INi.TMi(i,t),this.resumePaint(),this.qni.addUndoChanges({type:D.TableSheetUndoType.GroupOutlinePosition,oldData:n,newData:t})},t.prototype.Beo=function(t,n){var i,e,o;this.jFt&&(e=(i=this.options.groupLayout).mode,(o=this.getDataView())&&(this.suspendPaint(),t&&(e===u.GroupLayoutMode.tabular?(o.Agr(!0),this.hno()):(0,v.isGroupOutlineCondensedLayout)(e)&&(this.gno(),o.Agr(!1),this.detailColumnsVisible()||this.detailColumnsVisible(!0))),this.WDi(_,!1,n),this.eDe(e,t),this.resumePaint()))},t.prototype.bno=function(){var t,n,i=this.getDataView(),e=0;if(i)for(t=i.getColumn();e<t.length&&(n=t[e]).isGroup;e++);return e},t.prototype.gno=function(){var t=this;t.fno(0,t.bno(),!1)},t.prototype.hno=function(){var t=this;t.dno(0,t.bno(),!1)},t.prototype.Seo=function(){this.Teo(!0)&&(this.WDi(),this.qni.addUndoChanges({type:D.TableSheetUndoType.ResetGroupOutline}))},t.prototype._to=function(){return this.options.groupLayout},t.prototype.Teo=function(t){return(!t||this.jFt)&&(0,v.isGroupOutlineCondensedLayout)(this.keo())},t.prototype.$eo=function(){return(0,v.isGroupCondensedLayout)(this.keo())},t.prototype.keo=function(){var t=this._to();return t&&Mt(t.mode)},t.prototype.Jto=function(){var t=this._to();return t&&It(t.position)},t.prototype.Heo=function(){return"footer"!==this.Jto()},t.prototype.expandGroup=function(t,n){var i,e,o=this.lMi;o&&((i=n&&t===o[o.length-1].field&&!this.detailColumnsVisible())||(this.suspendPaint(),e={expand:!n,indexs:[]},this.INi.uMi(o,t,n,(function(t,n){e.level=t,e.indexs.push(n)})),this.qni.addUndoChanges({type:D.TableSheetUndoType.ExpandGroupByLevel,oldData:e,newData:{field:t,expand:n}}),this.resumePaint()))},t.prototype.expandGroupItem=function(t,n,i){var e,o,r=this,u=this.lMi;u&&((e=i&&t===u.length-1&&!this.detailColumnsVisible())||(this.suspendPaint(),o={index:n,level:t},this.INi.aMi(t,n,i,(function(e){o.expand=e,r.qni.addUndoChanges({type:D.TableSheetUndoType.ExpandGroupItem,oldData:o,newData:{index:n,level:t,expand:i}})})),this.resumePaint()))},t.prototype.VDi=function(t){return this.sMi(t,L,0)},t.prototype.DMi=function(t,n){return!(t>-1)||this.sMi(n,t,0)},t.prototype.sMi=function(t,n,i,e,o){return this.lno||this.INi.sMi(t,n,i,e,o)},t.prototype.nIe=function(t,n,i){var e,r,u=this;return!(!u.jFt||i!==o.SheetArea.viewport||!(e=u.Mf.getDataSource()))&&((r=e.kve(n))&&r.isGroup?!u.DMi(r.OFt,t):!u.VDi(t))},t.prototype.MMi=function(t){return this.INi.MMi(t)},t.prototype.IMi=function(t,n){return this.INi.IMi(t,n)},t.prototype.gMi=function(t){return this.INi.gMi(t)},t.prototype.FDi=function(t){var n,i=this.Mf.getDataSource();return!!i&&((n=i.kve(t))&&n.isGroup)},t.prototype.hMi=function(t){var n,i=this.Mf.getDataSource();return!!i&&((n=i.kve(t))&&n.DFt)},t.prototype.JDi=function(t){var n,i=this.Mf.getDataSource();return!!i&&((n=i.kve(t))&&n.GFt)},t.prototype.applyTableTheme=function(t){var n,i=this.Mf,e=this.hl;this.hl=t,n=C(this.options.alternatingRowOptions),this.suspendPaint(),this.qeo(i,n,t),this.options.alternatingRowOptions=n,this.resumePaint(),this.qni.addUndoChanges({type:D.TableSheetUndoType.ThemeChanged,oldData:e,newData:this.hl})},t.prototype.qeo=function(t,n,i){var e,r,u,c,a,s=new o.Style,l=new o.Style,f=i&&i.headerRowStyle();f&&l.h5(f),(e=i&&i.wholeTableStyle())&&(s.h5(e),l.h5(e)),s.cellPadding===_&&(s.cellPadding="5"),t.setDefaultStyle(s),l.showEllipsis===_&&(l.showEllipsis=!0),l.cellPadding===_&&(l.cellPadding="5"),t.setDefaultStyle(l,o.SheetArea.colHeader),(n=n||C(this.options.alternatingRowOptions))&&(r=i&&i.firstRowStripStyle(),Array.isArray(n.style)||(n.style=[]),n.style[0]=r?this.XDi(r):_,u=i&&i.firstRowStripSize(),Array.isArray(n.step)||(n.step=[]),n.step[0]=x(u)?1:u,(c=i&&i.secondRowStripStyle())&&(Array.isArray(n.style)||(n.style=[]),n.style[1]=this.XDi(c)),a=i&&i.secondRowStripSize(),x(a)||(Array.isArray(n.step)||(n.step=[]),n.step[1]=a))},t.prototype.XDi=function(t){var n=new o.Style;return n.backColor=t.backColor,n.foreColor=t.foreColor,n.font=t.font,n.borderLeft=t.borderLeft,n.borderTop=t.borderTop,n.borderRight=t.borderRight,n.borderBottom=t.borderBottom,n.textDecoration=t.textDecoration,n},t.prototype.applyFreeHeaderArea=function(t){if(0===arguments.length)return this.hNi;this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyFreeHeaderChanged,oldData:this.hNi,newData:t}),this.hNi=t,this.refreshBindColumns()},t.prototype.printInfo=function(t){var n,i=this.Mf;return t&&(t.columnStart(-1),t.columnEnd(-1),t.rowStart(-1),t.rowEnd(-1),t.repeatColumnStart(-1),t.repeatColumnEnd(-1),t.repeatRowStart(-1),t.repeatRowEnd(-1)),(n=i.printInfo&&i.printInfo.apply(i,arguments))&&Yt(n),n},t.prototype.addRow=function(t){var n,i=this,e=this.Mf,o=e.getRowCount();return i.options.allowAddNew&&(o-=1),n=this.getDataView(),new Promise((function(r,u){n.insertItem(o,t,(function(){n.saveItem(o,(function(){i.mNi(o),r()}),kt(e,o,u))}),kt(e,o,u))}))},t.prototype.iM=function(t,n){var i=this;i.suspendPaint(),i.WDi(n),i.XNi(),i.resumePaint()},t.prototype.iDe=function(t){var n,i;this.Mf.gL(t,-1)},t.prototype.removeRow=function(t){var n,i=this,e=this.Mf;return i.zDi(t)?Promise.resolve():(n=this.jze(),this.qni.addUndoChanges({type:D.TableSheetUndoType.ChangeCollapse,oldData:n}),this.qni.addUndoChanges({type:D.TableSheetUndoType.RemoveRow}),new Promise((function(n,o){i.getDataView().removeRowData(t,1,(function(e){i.ZNi(t,e.removedCount),i.qni.addUndoChanges({type:D.TableSheetUndoType.PinnedRowsChanged}),n()}),kt(e,t,o))})))},t.prototype.eze=function(){var t=this,n=t.Mf.getRowCount(),i=t.getDataView().length(),e=this.options.allowAddNew;t.suspendPaint(),t.Mf.ffe(n,i-n+(e?1:0),3,{rowExpand:!1,clearUndoNotInCommand:!1}),t.WDi(),t.uDi(),t.resumePaint()},t.prototype.Cze=function(t,n){var i=this;i.Mf.WBe(t,n||1,o.SheetArea.viewport,{clearUndoNotInCommand:!1}),i.kze(t)},t.prototype.beo=function(t,n){var i=this;i.Mf.KBe(t,n||1,o.SheetArea.viewport,!1),i.kze(t)},t.prototype.kze=function(t){var n,i=this;i.isShowHierarchyOutlineColumn()&&(n=i.Mf.outlineColumn.options().columnIndex,(x(t)?i.$Ni()!==n:t<n)&&i.wNi())},t.prototype.KDi=function(t,n){var i,e=this.Mf;e.QBe(t,n||1,3,!1),t<(i=e.frozenRowCount())&&e.frozenRowCount(i-1)},t.prototype.ZNi=function(t,n){var i=this;i.suspendPaint(),i.KDi(t,n),i.WDi(),i.XNi(),i.resumePaint()},t.prototype.saveRow=function(t){var n=this;return n.zDi(t)?Promise.resolve():new Promise((function(i,e){var o=n.Mf;n.getDataView().saveItem(t,(function(){n.SNi(t),i()}),kt(o,t,e))}))},t.prototype.SNi=function(t){var n=this;n.suspendPaint(),n.resumePaint()},t.prototype.resetRow=function(t){var n=this;n.zDi(t)||n.getDataView().resetItem(t,(function(){n.xNi(t)}))},t.prototype.xNi=function(t){var n=this;n.iDe(t),n.iM(t)},t.prototype.addRowStateRule=function(t,n){var i,e,r,u;t!==o.RowColumnStates.invalid&&4!==t&&t!==o.RowColumnStates.edit&&(r=(e=(i=this).Mf).conditionalFormats)&&(u=[new o.Range(-1,-1,-1,-1)],r.addRowStateRule(t,n,u))},t.prototype.addColumnStateRule=function(t,n){var i,e,r,u;t!==o.RowColumnStates.invalid&&t!==o.RowColumnStates.dirty&&t!==o.RowColumnStates.edit&&(r=(e=(i=this).Mf).conditionalFormats)&&(u=[new o.Range(-1,-1,-1,-1)],r.addColumnStateRule(t,n,u))},t.prototype.addColumnHeaderStateRule=function(t,n){var i,e,o,r,u;if((4===t||1024===t||2048===t||4096===t)&&(o=(e=(i=this).Mf).conditionalFormats)){switch(r=function(t){n.decoration&&n.decoration.icons&&1===n.decoration.icons.length&&""===n.decoration.icons[0].src&&(n.decoration.icons[0].src=t)},t){case 4:r(V);break;case 1024:r(W);break;case 2048:r(H);break;case 4096:r(F)}return u=new a.ColumnHeaderStateRule(l.RuleType.columnStateRule,t,n),o.addRule(u)}},t.prototype.iAi=function(t){var n=t.conditionalFormats;n&&n.rules&&(n.rules=n.rules.filter((function(t){var n=[4,1024,2048,4096];return!(15===t.ruleType&&n.indexOf(t.state)>-1)})))},t.prototype.removeRowStateRule=function(t){t!==o.RowColumnStates.invalid&&4!==t&&t!==o.RowColumnStates.edit&&this._Di(t,!0)},t.prototype.removeColumnStateRule=function(t){t!==o.RowColumnStates.invalid&&t!==o.RowColumnStates.dirty&&t!==o.RowColumnStates.edit&&this._Di(t,!1)},t.prototype._Di=function(t,n){var i,e,o,r,u=this,c=u.Mf,a=c.conditionalFormats;if(a)for(e=0,o=i=a.getRules();e<o.length;e++)!(r=o[e]).isStateRule()||r.isRow()!==n||t&&t!==r.state()||a.removeRule(r)},t.prototype.getStateRules=function(){var t,n=this.Mf.conditionalFormats;return n?(t=n.getRules()).filter((function(t){var n=t.ruleType();return n===l.RuleType.rowStateRule||n===l.RuleType.columnStateRule})):[]},t.prototype.clearStateRules=function(){var t,n,i,e,o=this.Mf.conditionalFormats;if(o)for(n=(t=o.getRules()).length-1;n>=0;n--)(e=(i=t[n]).ruleType())!==l.RuleType.rowStateRule&&e!==l.RuleType.columnStateRule||o.removeRule(i)},t.prototype.qDi=function(){return this.Mf._1},t.prototype.hasRowState=function(t,n){var i=this.qDi().getState(n,0,t,!0,[{row:-1,rowCount:-1,col:-1,colCount:-1}]);return Ct(i)&&i===t},t.prototype.$Di=function(t,n,i,e){var o=this,r=this.getDataView(),u=this.Mf,c={};c[n]=i,r.updateItem(t,c,(function(i){e&&e.hasAddNewRowData&&!o.jFt||o.LNi(t,n)}),kt(u,t),e)},t.prototype.LNi=function(t,n){var i=this,e=i.Mf;e.Mno()?e.jno(n):i.iM(t,n)},t.prototype.iTi=function(t,n,i){var e,o,r=this.getDataView();r&&(e=this.Mf,(o=r.getColumnInfos()).forEach((function(o,u){var c,a,s=o.defaultValue,l=i&&i[r.ife(o)];x(l)&&!x(s)&&(l=At(s)?s():s,s&&"="===s[0]&&((c=e.Uw()).DJ=r.length(),a=e.Lp.parse(c,s,0,0),l=e.Lp.evaluateExpression(c,a,{row:t,col:u}))),n(l,u,o)})))},t.prototype.aji=function(t){var n,i=this,e=i.getDataView();return e&&(n=e.nMt(e.Ywt(t),0)),n},t.prototype.TLt=function(t,n,i){return t.TLt(n,i)},t.prototype.EPt=function(){var t=this,n=t.jIi,i=t.getDataView();n>0&&(t.tTi=i.EPt(),t.togglePinnedColumns(Pt(n)))},t.prototype.jPt=function(){var t=this,n=t.tTi,i=t.getDataView(),e=i.jPt(n);e.length>0&&t.togglePinnedColumns(e),delete t.tTi},t.prototype.DPt=function(t,n){var i=this.getDataView();if(i)return i.DPt(t,n)},t.prototype.OPt=function(t,n,i){var e,o=this.getDataView();o&&(this.qni.startAddComboChanges(),e=o.OPt(t,n,i),this.Mf.rowFilter().nTi(e),this.kTi(o),this.qni.addUndoChanges({type:D.TableSheetUndoType.SetDataView}),this.Teo(!0)&&this.qni.addUndoChanges({type:D.TableSheetUndoType.ResetGroupOutline}),this.qni.endAddComboChanges())},t.prototype.eTi=function(t,n){var i,e={},o;return this.iTi(t,(function(t,n,i){At(o=i.value instanceof Function?i.value.name:i.value)||bt(o)||mt(o)||(e[o]=t)}),n),e},t.prototype.oTi=function(t,n,i){var e=this,o=this.getDataView(),r=this.Mf,u=e.eTi(t,n);o.insertItem(t,u,(function(){}),kt(r,t,i))},t.prototype.mNi=function(t){var n=this,i=n.Mf.getRowCount();n.Mf.ffe(i<1?t:t-1,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),n.refreshStyleRuleCache(),n.iM(t)},t.prototype.vDi=function(t){var n;return this.qDi().getState(t,-1,o.RowColumnStates.inserted)>0},t.prototype.jDi=function(t){var n;return this.qDi().getState(t,-1,256)>0},t.prototype.zNi=function(){var t,n=this,i=n.Mf;i.suspendPaint(),t=i.getColumnCount(),i.WBe(t,1,3,{clearUndoNotInCommand:!1}),n.uTi(!0,""),i.rowFilter().filterButtonVisible(t,!1),i.resumePaint()},t.prototype.cTi=function(){var t,n=this,i=n.Mf;i.suspendPaint(),t=n.kDi(),i.getValue(0,t,o.SheetArea.colHeader)===n.actionColumn.options().title&&i.KBe(t,1,3,!1),i.resumePaint()},t.prototype.uTi=function(t,n){var i,e,r,u,c,a,s,l,f,d,h=this,v=h.Mf;v.suspendPaint(),i=h.kDi(),(t||v.getValue(0,i,o.SheetArea.colHeader)===n)&&(e=new o.Style,r=[],(a=(c=(u=h.actionColumn.options()).actionButtons.remove)&&c.visible)&&r.push({useButtonStyle:!0,caption:c.title,imageType:c.icon,enabled:h.mDi.bind(h),visible:"auto"!==a||h.mDi.bind(h),position:o.ButtonPosition.left,command:function(t,n,i,e){h.Mf.ki(o.Events.RowOperation,{sheet:h,sheetName:h.name(),actionType:ct.remove,row:n}),h.removeRow(n).catch(ot)}}),(l=(s=u.actionButtons.save)&&s.visible)&&r.push({useButtonStyle:!0,caption:s.title,imageType:s.icon,enabled:h.LDi.bind(h),visible:"auto"!==l||h.LDi.bind(h),position:o.ButtonPosition.left,command:function(t,n,i,e){h.Mf.ki(o.Events.RowOperation,{sheet:h,sheetName:h.name(),actionType:ct.save,row:n}),h.saveRow(n).catch(ot)}}),(d=(f=u.actionButtons.reset)&&f.visible)&&r.push({useButtonStyle:!0,caption:f.title,imageType:f.icon,enabled:h.LDi.bind(h),visible:"auto"!==d||h.LDi.bind(h),position:o.ButtonPosition.left,command:function(t,n,i,e){h.Mf.ki(o.Events.RowOperation,{sheet:h,sheetName:h.name(),actionType:ct.reset,row:n}),h.resetRow(n)}}),r.length>0&&(e.cellButtons=r),e.locked=!1,v.setStyle(-1,i,e),h.JNi(-1,i,u.headerStyle,o.SheetArea.colHeader),v.setValue(0,i,u.title,o.SheetArea.colHeader),v.setColumnWidth(i,u.width)),v.resumePaint()},t.prototype.mDi=function(t){return!this.zDi(t)},t.prototype.LDi=function(t){var n=this,i=n.jDi(t),e=n.vDi(t),o=n.zDi(t);return i||e&&!o},t.prototype.CNi=function(){var t=this.Mf,n=t.getRowCount();n=n<2?n:n-2,t.ffe(n,1,3,{rowExpand:!1,clearUndoNotInCommand:!1})},t.prototype.rTi=function(){var t=this.Mf;t.QBe(t.getRowCount()-1,1,3,!1)},t.prototype.aNi=function(){var t,n=this.Mf;n.suspendDirty(),n.options.allowCellOverflow=!1,n.options.rowHeaderAutoText=o.HeaderAutoText.blank,n.options.clipBoardOptions=o.ClipboardPasteOptions.values,n.options.isProtected=!0,(t=n.options.protectionOptions).allowSort=!0,t.allowFilter=!0,t.allowResizeColumns=!0,t.allowDragInsertColumns=!0,t.allowOutlineRows=!0},t.prototype.lNi=function(t){var n,i,e=this,o=e.Mf;if(e.options.allowAddNew&&t++,t!==o.getRowCount())for(n in o.Ut.cj(t),o.Ww=!0,this.X$)this.X$[n]&&(i=this.X$[n]).xts()},t.prototype.aTi=function(t,n){var i=this,e=i.getDataView(),r=e&&e.iRt&&e.iRt.length,u=i.Mf.getRowCount();i.zDi(t)&&u!==r+1&&(i.Mf.ki(o.Events.RowOperation,{sheet:i,sheetName:i.name(),actionType:ct.addNewEmptyRow,row:t+1}),i.CNi(),i.WDi(),i.XNi())},t.prototype.pTi=function(t,n){var i=this,e=t.value;return!("string"==typeof e&&e.indexOf(".")>-1)||(e=e.split(".")[0],!x(i.getDataView().ufe({value:e},n)))},t.prototype.Gno=function(){var t,n,i,e=this,o=e.Mf,r=e.getDataView(),u=r.visibleLength(),c=e.Bno;for(t in c)c.hasOwnProperty(t)&&(n=c[t],i=Number(t),e.zDi(i)||i>=u?e.oTi(i,n):r.updateItem(i,n,(function(){}),kt(o,i)));e.Bno=_},t.prototype.tDe=function(){var t=this,n=t.Mf,i=n.getRowCount()-(t.options.allowAddNew?1:0),e=t.getDataView().visibleLength();i<=e?(n.setRowCount(e-(t.options.allowAddNew?0:1)),n.ffe(i-1,1,3,{rowExpand:!1,clearUndoNotInCommand:!1})):(n.setRowCount(e),t.options.allowAddNew&&n.ffe(e,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}))},t.prototype.v7=function(){var t=this,n=t.Mf;function i(i,e){if(t.nPt(),t.WDi(),t.HDi(),t.XNi(),t.getParent().options.calcOnDemand){var o=t.getDataView().gLt;o&&o.o_t(_,!0)}else setTimeout((function(){var i,e=null===(i=t.getDataView())||void 0===i?void 0:i.gLt;e&&(n.suspendCalcService(),e.o_t(_,!0),n.resumeCalcService(!1))}),10)}n.D3(o.Events.EditStarting+q,(function(n,i){i.col===t.kDi()&&(i.cancel=!0)})),n.D3(o.Events.EditEnded+q,(function(n,i){var e,o=i.row,r=i.ignoreValueChange;if(!r){if((0,f.isNullOrEmpty)(i.editingText)&&t.zDi(o)){if(e=t.fDi(i.col),x(e.defaultValue)||!t.pTi(e,o))return;t.oTi(o)}t.aTi(o,!0)}})),n.D3(o.Events.ClipboardPasting+q,(function(n,i){var e=i.cellRange,o=e.col,r=e.col+e.colCount-1,u=t.kDi(),c;o<=u&&u<=r&&(i.cancel=!0),i.cancel||(t.Bno={},t.getDataView().mme())})),n.D3(o.Events.ClipboardPasted+q,(function(n,i){t.Gno();var e=i.cellRange,o=e.row+e.rowCount-1;t.aTi(o),t.getDataView().gme(),t.iM(o)})),n.D3(o.Events.DragFillBlock+q,(function(n,i){var e,o,r=i.fillRange,u=i.fillDirection,c=r.col+r.colCount-1;0===u&&(-1!==r.row&&-1!==r.rowCount&&(c+=1),o=(e=i.sheet.getSelections()[0]).col+e.colCount-1,c=Math.max(c,o)),c===t.kDi()&&(i.cancel=!0),i.cancel||(t.Bno={},t.getDataView().mme())})),n.D3(o.Events.DragFillBlockCompleted+q,(function(n,i){t.Gno();var e=i.fillRange,o=e.row+e.rowCount-1;t.aTi(o),t.getDataView().gme(),t.iM(o)})),n.D3(o.Events.DragDropBlock+q,(function(i,e){var o,r,u=e.fromCol,c=e.toCol,a=e.colCount,s=e.insert,l=e.fromRow,f=e.toRow,d=u+a-1,h=c+a-1,v=t.kDi();d===v||h===v?e.cancel=!0:s&&-1===l&&-1===f&&(o=u<c?c-1:c,t.OPt(u,o,a),t.UMi&&t.UMi.updatePanelLayout(),r=u<c?c-a:c,n.setSelection(-1,r,-1,a),e.cancel=!0),e.cancel||(t.Bno={},t.getDataView().mme())})),n.D3(o.Events.DragDropBlockCompleted+q,(function(n,i){t.Gno();var e=i.toRow+i.rowCount-1;t.aTi(e),t.getDataView().gme(),t.iM(e)})),n.D3(o.Events.ValueChanged+q,(function(n,i){t.aTi(i.row)})),n.D3(o.Events.CellChanged+q,(function(i,e){var r,u=e.row,c=e.col,a=e.sheetArea,s=e.newValue;a===o.SheetArea.colHeader&&(r=u<n.Ut.getFreeAreaRowCount(a),"value"===e.propertyName?r?t.YNi(u,c,"value",s):t.HNi(c):"formula"===e.propertyName&&r&&t.YNi(u,c,"formula",s))})),n.D3(o.Events.RangeChanged+q,(function(i,e){var r,u,c,a,s,l,f,d;if(6===e.action)for(u=0,c=r=e.changedCells;u<c.length;u++)s=(a=c[u]).row,l=a.col,(f=a.sheetArea)===o.SheetArea.colHeader&&((d=s<n.Ut.getFreeAreaRowCount(f))?t.YNi(s,l,"value",n.getValue(s,l,f)):t.HNi(l))})),n.D3(o.Events.ColumnWidthChanged+q,(function(t,i){var e=n.getDataSource(),o=e.getColumnInfos();!i.header&&!x(o)&&o.length>0&&i.colList.forEach((function(t){var i=o[t]&&st({},o[t]);x(i)||(i.width=n.Do(t,1),e.JEe(i))}))})),n.D3(o.Events.ColumnChanged+q,(function(i,e){var r,u,c,a;"isVisible"!==e.propertyName||1!==e.sheetArea&&3!==e.sheetArea||(r=n.getDataSource())&&(u=r.kve(e.col))&&(t.qni.startAddComboChanges(),c=!1!==u.visible,r.JEe(st(st({},u),{visible:e.newValue})),c!==e.newValue&&t.Teo(!0)&&(a=n.k9(o.SheetArea.viewport),(e.newValue?e.col===a:e.col<a)&&t.Seo()),t.qni.endAddComboChanges())})),n.D3(o.Events.RangeFiltering+q,(function(){t.yno=!0})),n.D3(o.Events.RangeFiltered+q,(function(n,e){t.yno=!1,i(n,e)})),n.D3(o.Events.RangeFilterClearing+q,(function(){t.nAi=!0})),n.D3(o.Events.RangeFilterCleared+q,(function(n,e){t.nAi=!1,i(n,e)})),n.D3(o.Events.RangeSorting+q,(function(){t.nDi()})),n.D3(o.Events.RangeSorted+q,(function(n,i){(t.FDi(i.col)||t.JDi(i.col))&&(t.WDi(_,!1),t.HDi()),t.uDi()})),n.D3(o.Events.OutlineColumnCheckStatusChanged+q,(function(n,i){t.sDi()}))},t.prototype.Ob=function(t,i,e,r){var c,a,s,l,f,d,h=this;"allowAddNew"===t?!0===i&&!1===e?h.CNi():!1===i&&!0===e&&h.rTi():"alternatingRowOptions"===t?h.Mf.repaint():"defaultStackRowHeight"===t?h.Mf.zw():"isDesignMode"===t?h.vNi(i):"sheetTabColor"===t?(c=h.getParent(),x(c.getHost())||c.AC(!1)):"enableDefineColumn"===t?(h.Mf.suspendPaint(),h.Mf.options.addColumnButtonOption=i?{visible:!0,width:J,command:h.options.defineColumnCommand,style:J,tooltip:(0,n.getSR)().defineColumn}:{visible:!1,width:J,command:tt,style:J,tooltip:J},h.Mf.resumePaint()):"defineColumnCommand"===t?(h.Mf.suspendPaint(),h.Mf.options.addColumnButtonOption?h.Mf.options.addColumnButtonOption.command=i:h.Mf.options.addColumnButtonOption={visible:!0,width:J,command:h.options.defineColumnCommand,style:J,tooltip:(0,n.getSR)().defineColumn},h.Mf.resumePaint()):"showRowNumber"===t?(h.Mf.suspendPaint(),i?(h.Mf.setColumnCount(h.Mf.getColumnCount(o.SheetArea.rowHeader)+1,o.SheetArea.rowHeader),h.Mf.options.rowHeaderAutoText=o.HeaderAutoText.numbers):(h.Mf.setColumnCount(h.Mf.getColumnCount(o.SheetArea.rowHeader)-1,o.SheetArea.rowHeader),h.Mf.options.rowHeaderAutoText=o.HeaderAutoText.blank),h.Mf.resumePaint()):"groupLayout"===t&&(h.Mf.suspendPaint(),i?(a=Mt(i.mode),s=i.position,l={mode:a},s&&It(s)&&(l.position=s),f=function(t,n,i){var e,o;return"mode"===t?(e=Mt(n))!==i&&(o=!0):"position"===t&&(e=It(n)?n:_),[e,function(){h.Beo(o,!0)}]},d=h.options.groupLayout,["mode","position"].forEach((function(t){var n=l[t];Nt(d,t,f),d["_"+t]=n})),h.Beo(i.mode!==(e&&e.mode),!0)):h.options.groupLayout=r&&r.groupLayout?st({},r.groupLayout):{mode:u.GroupLayoutMode.tabular},h.Mf.resumePaint()),this.qni.addUndoChanges({type:D.TableSheetUndoType.OptionChanged,oldData:e,newData:i,key:t})},t.prototype.vNi=function(t){var n,i=this.Mf;i.suspendPaint(),i.suspendEvent(),t&&((n=new o.CellTypes.Text).isImeAware=function(){return!1}),i.setCellType(-1,-1,n,o.SheetArea.colHeader),i.resumeEvent(),i.resumePaint()},t.prototype.getDefaultOptions=function(){return{allowAddNew:!0,alternatingRowOptions:{step:[1,1],style:new o.Style("lightgrey")},defaultStackRowHeight:null,isDesignMode:!1,menuItemVisibility:{promoteMenuItemVisible:!1,demoteMenuItemVisible:!1,moveUpMenuItemVisible:!1,moveDownMenuItemVisible:!1,addBeforeMenuItemVisible:!1,addAfterMenuItemVisible:!1,addAboveMenuItemVisible:!1,addBelowMenuItemVisible:!1,expandAllLevelMenuItemVisible:!1,collapseAllLevelMenuItemVisible:!1,expandToLevelMenuItemVisible:!1},sheetTabColor:void 0,showRowNumber:!1,defineColumnCommand:$,submitDefineColumnCommand:nt,enableDefineColumn:!1,groupLayout:{mode:u.GroupLayoutMode.tabular},columnTypeItems:[{name:u.ColumnTypes.Number,text:(0,n.getSR)().columnTypeNumber,iconClass:Dt(u.ColumnTypes.Number)},{name:u.ColumnTypes.Text,text:(0,n.getSR)().columnTypeText,iconClass:Dt(u.ColumnTypes.Text)},{name:u.ColumnTypes.Formula,text:(0,n.getSR)().columnTypeFormula,iconClass:Dt(u.ColumnTypes.Formula)},{name:u.ColumnTypes.Lookup,text:(0,n.getSR)().columnTypeLookup,iconClass:Dt(u.ColumnTypes.Lookup)},{name:u.ColumnTypes.Date,text:(0,n.getSR)().columnTypeDate,iconClass:Dt(u.ColumnTypes.Date)},{name:u.ColumnTypes.Checkbox,text:(0,n.getSR)().columnTypeCheckbox,iconClass:Dt(u.ColumnTypes.Checkbox)},{name:u.ColumnTypes.Select,text:(0,n.getSR)().columnTypeSelect,iconClass:Dt(u.ColumnTypes.Select)},{name:u.ColumnTypes.Currency,text:(0,n.getSR)().columnTypeCurrency,iconClass:Dt(u.ColumnTypes.Currency)},{name:u.ColumnTypes.Percent,text:(0,n.getSR)().columnTypePercent,iconClass:Dt(u.ColumnTypes.Percent)},{name:u.ColumnTypes.Phone,text:(0,n.getSR)().columnTypePhone,iconClass:Dt(u.ColumnTypes.Phone)},{name:u.ColumnTypes.Email,text:(0,n.getSR)().columnTypeEmail,iconClass:Dt(u.ColumnTypes.Email)},{name:u.ColumnTypes.URL,text:(0,n.getSR)().columnTypeURL,iconClass:Dt(u.ColumnTypes.URL)},{name:u.ColumnTypes.CreatedTime,text:(0,n.getSR)().columnTypeCreatedTime,iconClass:Dt(u.ColumnTypes.CreatedTime)},{name:u.ColumnTypes.ModifiedTime,text:(0,n.getSR)().columnTypeModifiedTime,iconClass:Dt(u.ColumnTypes.ModifiedTime)},{name:u.ColumnTypes.Attachment,text:(0,n.getSR)().columnTypeAttachment,iconClass:Dt(u.ColumnTypes.Attachment)},{name:u.ColumnTypes.Barcode,text:(0,n.getSR)().columnTypeBarcode,iconClass:Dt(u.ColumnTypes.Barcode)}]}},t.prototype.Zp=function(t){var n,i,e=this,r=e.getDefaultOptions();e.options=o.mt.b0(r,(function(t,n,i){e.Ob(t,n,i,r)})),n=e.options,i=j(!0,{},r,i=t||{}),T(i,(function(t,i){n.hasOwnProperty(t)&&(n[t]=i)}))},t.prototype.sNi=function(){var t=this;t.actionColumn=new c.ActionColumn((function(n,i){var e;t.getDataView()&&(n.visible&&!i.visible?t.cTi():!n.visible&&i.visible?t.zNi():n.visible&&i.visible&&t.uTi(!1,n.title))}))},t.prototype.zDi=function(t){var n=this;return n.options.allowAddNew&&t===n.Mf.getRowCount()-1},t.prototype.kDi=function(){var t=this,n=t.Mf;return t.actionColumn.options().visible?n.getColumnCount()-1:-1},t.prototype.id=function(){return this.getDataView().getDirtyIndexes()},t.prototype.e1e=function(){return this.options.sheetTabColor},t.prototype.parameter=function(t){var n,i,e,o;if(0===arguments.length){for(e in i={},n=this.o1e)n.hasOwnProperty(e)&&(i[e]=et(n[e]));return i}if(t){for(e in o={},t)t.hasOwnProperty(e)&&(o[e]=it(t[e]));this.o1e=o}},t.prototype.isAlternatingRowStyleColumn=function(t){return!0},t.prototype.getGroupingHeaderHeight=function(t,n){var i=this.options.groupLayout.mode;return i===u.GroupLayoutMode.outline?2*this.Mf.defaults.rowHeight:i===u.GroupLayoutMode.condensed?this.Mf.defaults.rowHeight:0},t.prototype.getGroupingFooterHeight=function(t,n){return this.getGroupingHeaderHeight(t,n)},t.prototype.refreshDataProvider=function(){var t,n;for(t in this.X$)this.X$[t]&&(n=this.X$[t],this.Mf.Cb.IP(),n.clearCache(),n.updateSticky(),n.updateRange(),n.repaintHost())},t.prototype.getValueInOneCell=function(t){var n=t.row,i=t.col,e=t.rowSpacingIndex,r=t.isAfterRowSpacing,u=this.Mf.$go(n,i,o.SheetArea.viewport,{rowSpacingIndex:e,isAfterRowSpacing:r});if(u&&u.getValueInOneCell)return u.getValueInOneCell(Object.assign({sheet:this.Mf},t))},t.prototype.isNewRow=function(t){return this.zDi(t)},t.prototype.onNewRowChanged=function(t,n){this.aTi(t,n)},t.prototype.isGroup=function(){return this.jFt},t.prototype.isGroupOutlineCondensedLayout=function(t){return this.Teo(t)},t.prototype.registerDataProvider=function(t,n){this.X$||(this.X$={}),this.X$[t]=n},t.prototype.unregisterDataProvider=function(t){this.X$[t]&&delete this.X$[t]},t.prototype.notChangeActiveSheetWhenUndo=function(){return Object.keys(this.X$).length>0},t._ID=1,t}(),n.TableSheet=at,o.Workbook.ch("tableSheet",{init:function(){var t=this;o.Commands.uri(t.commandManager()),t.bind(o.Events.ActiveSheetChanged+X,(function(){(0,M.updateStatusBarOnActiveSheetChanged)(t)}))},onCultureChanged:function(){(0,n.getSR)()},createSheetTab:function(t){t.type===o.SheetType.tableSheet?(t.name||(t.name=tn(this.qv())),t.sheetTab=new at(t.name)):t.type===o.SheetType.customSheetTab&&(t.sheetTab=new u.CustomSheetTab(t.name))},preFromJson:function(t,n,i){at._ID=1},preFromSJSFormat:function(t,n,i){at._ID=1},dispose:function(){this.unbind(o.Events.ActiveSheetChanged+X)}}),o.Worksheet.ch("tableSheet",{processKeyDown:function(t){var n=this.rt,i=this.NMi;i&&i.options.isDesignMode&&n.q9&&(t.r=!0)},processMouseDown:function(t){var n,i=t.hitInfo.cellTypeHitInfo;i&&i.isRowAction&&(n=Jt(t.e),i.isShift=n.isShift,i.isCtrl=n.isCtrl),x(Ot(this))||(0,M.processStatusBarOnMouseDown)(Ot(this).getParent().b3t,t.hitInfo)}}),o.Y8.ch("tablesheet",{priority:7e3,setValue:function(t){var n,i,e,r,u,c,a,s,l=t.row,d=t.col,h=t.value,v=t.sheetArea,g=this.Mf,M=g.H3,I=Ot(g);if(v===o.SheetArea.viewport&&M&&M.getSource()&&Ht(I)){if(n=!1,i=void 0,r=!1,u=I.fDi(d,!0),I.options.allowAddNew&&M.getRowCount()===l&&(!I.Bno||x(I.Bno[l]))){if((0,f.isNullOrEmpty)(h)&&x(u.defaultValue)||!I.pTi(u,l))return void(t.isValueSet=!0);if((e=I.getDataView()).mme(),(r=e.K3e()&&!I.Bno)&&(I.Bno={}),I.Bno)I.Bno[l]={};else if(c=!1,I.oTi(l,_,(function(){c=!0,t.isValueSet=!0,e.gme()})),c)return;n=!0,i=e.length()-1}(a=g.Ut.q_(!1,o.SheetArea.colHeader,d)).name&&(h=o.util.V0(h),I.Bno?((s=I.Bno[l])||(I.Bno[l]=s={}),s[a.name]=h):I.$Di(l,a.name,h,{hasAddNewRowData:n,currentModelIndex:i}),t.isValueSet=!0),n&&(r&&(I.oTi(l,I.Bno[l]),I.Bno=_),e.gme())}}}),rt[O]={name:O,icons:[B],command:"PinRow"},rt[k]={name:k,icons:[P,Q,Y]},rt[E]={name:E,icons:[R]},rt[Z]={name:Z,icons:[o.ButtonImageType.minus],command:"RemoveRow"},rt[U]={name:U,icons:[o.ButtonImageType.ok],command:"SaveRow"},rt[G]={name:G,icons:[o.ButtonImageType.clear],command:"ResetRow"}},6153:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.aeo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.ato(n,"codeSet",[{text:"auto",value:"auto"},{text:"A",value:"A"},{text:"B",value:"B"},{text:"C",value:"C"}]),t.neo(n),t.oeo(n),n},n}(o.Meo),n.aeo=c},6277:function(t,n,i){var e,o;Object.defineProperty(n,"__esModule",{value:!0}),n.ActionColumn=void 0,e=i(1376),o=function(){function t(t){this.LEt={visible:!1,title:"Actions",width:210,actionButtons:{remove:{visible:!0,title:"Remove",icon:e.ButtonImageType.minus},save:{visible:!0,title:"Save",icon:e.ButtonImageType.ok},reset:{visible:!0,title:"Reset",icon:e.ButtonImageType.clear}},headerStyle:null},this.hce=t}return t.prototype.options=function(t){if(t){var n=this.LEt;return this.LEt=t,void this.hce(n,t)}return this.LEt},t.prototype.toJSON=function(){return this.LEt},t.prototype.fromJSON=function(t){this.LEt=t},t}(),n.ActionColumn=o},6406:function(t,n,i){var e,o,r,u,c,a;Object.defineProperty(n,"__esModule",{value:!0}),n.mZe=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(591),c=e.mt.En,a=function(){function t(t){var n;this.LEt=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.DZe)||void 0===t?void 0:t.val()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i,o,r=this,u=r.LEt,a=r.yZe=(0,e.GC$)(c("div"));return a.addClass("gc-defined-column-field-item-container gc-defined-column-input"+(u.className?" "+u.className:"")),u.label&&u.label.text&&((t=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-container"),t.appendTo(a),(n=(0,e.GC$)(c("label"))).addClass("gc-defined-column-field-label-container-label-text"),n.attr("for","gc-defined-column-input-"+u.inputId),n.appendTo(t),n.text(u.label.text)),(i=r.zZe=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-container"),i.appendTo(a),r.isVisible()||a.addClass("gc-defined-column-hide"),a.attr("aria-hidden",r.isVisible()?"false":"true"),r.ZX(),(o=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-validation-container"),o.appendTo(a),a},t.prototype.ZX=function(){var t,n,i,r,a=this,s=a.LEt,l=a.zZe;a.isDisable()&&l.addClass("gc-defined-column-disabled"),a.SZe()&&(l.addClass("gc-defined-column-click"),l.bind("click",(function(t){if(!a.isDisable())return s.onClick(t),!1}))),s.label&&((t=a.LZe=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-container"),(0,u.isFunction)(s.label.onClick)&&t.bind("click",(function(t){if(!a.isDisable())return s.label.onClick(t),!1})),t.appendTo(l),(n=(0,e.GC$)(c("label"))).addClass("gc-defined-column-field-label-container-label "+s.label.iconClass),n.attr("for","gc-defined-column-input-"+s.inputId),n.appendTo(t),(0,o.isNullOrEmpty)(s.label.iconClass)&&n.hide()),(i=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-input-container"),i.appendTo(l),"color"===s.type?s.tag="sjs-color-picker":(0,u.isNullOrUndefined)(s.type)&&(s.tag="sjs-text-editor"),r=a.DZe=s.tag?(0,u.createDCElement)(s.tag):(0,e.GC$)(c("input")),!s.tag&&r.addClass("gc-defined-column-field-input-container-input"),r.attr("id","gc-defined-column-input-"+s.inputId),!s.tag&&r.attr("type",s.type||"text"),r.attr("aria-disabled",a.isDisable()?"true":"false"),a.isDisable()?r.attr("disabled","true"):r.removeAttr("disabled"),s.placeholder&&r.attr("placeholder",s.placeholder),(s.label&&s.label.text||s.placeholder)&&r.attr(s.tag?"ariaLabel":"aria-label",s.label&&s.label.text||s.placeholder),(0,u.isNullOrUndefined)(s.defaultValue)||(r.attr("value",s.defaultValue),r.val(s.defaultValue)),s.isReadOnly&&r.attr("readonly","true"),s.maxLength&&r.attr("maxlength",s.maxLength),a.v7(),r.appendTo(i),s.label&&s.label.suffixIconClass&&((t=a.kZe=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-container"),(0,u.isFunction)(s.label.onSuffixClick)&&(t.addClass("gc-defined-column-click-quieter"),t.bind("click",(function(t){if(!a.isDisable())return s.label.onSuffixClick(t),!1}))),t.appendTo(l),(n=(0,e.GC$)(c("label"))).addClass("gc-defined-column-field-label-container-label "+s.label.suffixIconClass),n.appendTo(t))},t.prototype.v7=function(){var t=this,n=t.LEt,i=t.DZe,e=function(i){return function(e){t.isValid()||t.resetValid(t.validate()),t.isDisable()||(n.maxLength&&e.target.value&&n.maxLength<e.target.value.length?t.setValue(e.target.value.slice(0,n.maxLength)):i&&i(e))}};t.OZe()&&i.bind("blur",e((function(t){n.onBlur&&n.onBlur(t.target.value,t)}))),t.ZZe()&&i.bind("input",e((function(t){n.onChange(t.target.value,t)})))},t.prototype.setFocus=function(){var t;this.DZe.focus()},t.prototype.setOptions=function(t){var n=this;n.L0(),n.LEt=t,n.ZX()},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.zZe;t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),t.DZe.attr("aria-disabled",n?"false":"true"),n?t.DZe.removeAttr("disabled"):t.DZe.attr("disabled","true")},t.prototype.validate=function(){var t,n=this,i=n.LEt.validate,e=!n.isDisable();if(i&&e){if(i.required&&(0,o.isNullOrEmpty)(n.value))return n.resetValid(!1,{required:!1}),!1;if(i.validating)if("boolean"==typeof(t=i.validating(n.value))){if(!t)return n.resetValid(!1),!1}else if(!t.success)return n.resetValid(!1,t),!1}return n.resetValid(!0),!0},t.prototype.resetValid=function(t,n){var i=this,o=i.DZe,u=i.zZe,c=(0,e.GC$)(i.yZe.find(".gc-defined-column-field-label-validation-container")[0]);t?(u.removeClass("gc-define-column-invalid"),o.removeClass("gc-define-column-invalid"),o.attr("aria-invalid","false"),c.hide(),c.empty()):u.hasClass("gc-define-column-invalid")||(u.addClass("gc-define-column-invalid"),o.addClass("gc-define-column-invalid"),o.attr("aria-invalid","true"),!1===n.required?c.html((0,r.getSR)().defineColumnRequired):n.errorMessage&&c.html(n.errorMessage),n&&c.show())},t.prototype.isValid=function(){var t,n;return!this.zZe.hasClass("gc-define-column-invalid")},t.prototype.OZe=function(){var t=this,n=t.LEt;return!n.isReadOnly&&!t.isDisable()&&n.validate&&(n.validate.required||(0,u.isFunction)(n.validate.validating))},t.prototype.isVisible=function(){return!0!==this.LEt.hide},t.prototype.resetVisible=function(){var t=this,n=t.isVisible(),i=t.yZe;t.LEt.hide=n,n?i.addClass("gc-defined-column-hide"):i.removeClass("gc-defined-column-hide"),t.DZe.attr("aria-hidden",n?"true":"false")},t.prototype.ZZe=function(){var t,n=this.LEt;return!n.isReadOnly&&(0,u.isFunction)(n.onChange)},t.prototype.SZe=function(){var t,n=this.LEt;return n.isReadOnly&&(0,u.isFunction)(n.onClick)},t.prototype.setValue=function(t,n){var i=this;i.DZe.val(t),!1!==n&&(0,u.triggerEvent)(i.DZe,"input")},t.prototype.getInputElement=function(){return(0,u.getSJSInput)(this.DZe)},t.prototype.bind=function(t,n){return this.DZe.bind(t,n),this},t.prototype.unbind=function(t){return this.DZe.unbind(t),this},t.prototype.dispose=function(){var t=this;t.L0(),t.zZe=u.keyword_null},t.prototype.L0=function(){var t=this;t.ZZe()&&t.DZe.unbind("input"),t.OZe()&&t.DZe.unbind("blur"),"sjs-text-editor"===t.LEt.tag&&t.DZe.unbind("sjs-mounted"),t.SZe()&&(t.zZe.removeClass("gc-defined-column-click"),t.zZe.unbind("click")),t.LZe&&(0,u.isFunction)(t.LEt.label.onClick)&&t.LZe.unbind("click"),t.kZe&&(0,u.isFunction)(t.LEt.label.onSuffixClick)&&t.kZe.unbind("click"),t.LZe=u.keyword_null,t.kZe=u.keyword_null,t.DZe=u.keyword_null,t.zZe.empty()},t}(),n.mZe=a},6423:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h=this&&this.mJr||function(){return h=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},h.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.vto=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(6018),a=i(591),s=i(2227),l=e.mt,f=l.En,d=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.mto=(0,e.GC$)(f("div"));return n.addClass("gc-defined-column-combo-box-style-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.mto,i=t.LEt;return t._editorValueType=new u.Kze({inputId:"combo-box-editor-value-type",items:[{text:(0,o.getSR)().columnTypeComboBoxEditorValueType.text,value:s.EditorValueType.text},{text:(0,o.getSR)().columnTypeComboBoxEditorValueType.index,value:s.EditorValueType.index},{text:(0,o.getSR)().columnTypeComboBoxEditorValueType.value,value:s.EditorValueType.value}],label:{text:(0,o.getSR)().columnTypeComboBoxEditorValueTypes},onChange:function(){t.Nto()}}),t._editorValueType.create().appendTo(n),t._editorValueType.setValue((0,a.isNullOrUndefined)(i.editorValueType)?s.EditorValueType.value:i.editorValueType),t.Dto=new c.AZe({inputId:"combo-box-item-height",minValue:0,label:{text:(0,o.getSR)().columnTypeComboBoxItemHeight},onChange:function(){t.Nto()}}),t.Dto.create().appendTo(n),t.Dto.setValue(i.itemHeight||22),t.jto=new r.Rze({label:{text:(0,o.getSR)().columnTypeComboBoxEditable},onChange:function(){t.Nto()}}),t.jto.create().appendTo(n),t.jto.setValue(i.editable),n},t.prototype.Nto=function(){var t,n,i,e=this;this.LEt.onChange({editorValueType:null===(t=e._editorValueType)||void 0===t?void 0:t.value,itemHeight:null===(n=e.Dto)||void 0===n?void 0:n.value,editable:null===(i=e.jto)||void 0===i?void 0:i.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=h(h({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.mto.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.mto=a.keyword_null},t.prototype.L0=function(){var t=this;t._editorValueType&&t._editorValueType.dispose(),t._editorValueType=a.keyword_null,t.Dto&&t.Dto.dispose(),t.Dto=a.keyword_null,t.jto&&t.jto.dispose(),t.jto=a.keyword_null},t}(),n.vto=d},6602:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M;function I(t,n){return void 0===n&&(n=e.LineStyle.thin),new e.LineBorder(t,n)}function N(t,n,i,e){var u=new o.TableTheme;return u.name(t),u.headerRowStyle(new o.TableStyle(n.backColor,n.foreColor,n.font,r,r,n.borderRight,n.borderBottom)),u.wholeTableStyle(new o.TableStyle(i.backColor,i.foreColor,r,r,r,i.borderRight,i.borderBottom)),e&&e.backColor&&u.firstRowStripStyle(new o.TableStyle(e.backColor)),u}Object.defineProperty(n,"__esModule",{value:!0}),e=i(1376),o=i(9131),r=void 0,c="#808080",a="transparent",s="#E6E4F6",l="#92A5A8",f="#66D1C7",d="black",h="#EBEBEB",v="#FFFFFF",g="bold 11pt Calibri",(M=[N("professional1",{backColor:"#6A76D4",foreColor:u="#F2F2F2",borderRight:I("#6A76D4"),font:g},{foreColor:c,borderRight:I(a),borderBottom:I(s)},r),N("professional2",{backColor:l,foreColor:u,font:g},{foreColor:c,borderRight:I(l),borderBottom:I(a)},r),N("professional3",{backColor:f,foreColor:u,borderRight:I(f),font:g},{foreColor:c,borderRight:I(a),borderBottom:I(f)},r),N("professional4",{backColor:"#36495E",foreColor:u,borderRight:I("#36495E"),font:g},{foreColor:c},{backColor:"#F1F1F1"}),N("professional5",{backColor:"#2F7A84",foreColor:u,borderRight:I("#2F7A84"),font:g},{foreColor:c},{backColor:"#DAF1F3"}),N("professional6",{backColor:"#FFED88",foreColor:d,font:"bold 11pt Arial",borderRight:I("#FFED88")},{foreColor:d,borderRight:I(a),borderBottom:I(a)},r),N("professional7",{backColor:"#9EB09F",foreColor:u,borderRight:I("#9EB09F"),font:g},{foreColor:c,borderRight:I(a),borderBottom:I(s)},r),N("professional8",{backColor:"#362F4A",foreColor:u,borderRight:I("#362F4A"),font:g},{foreColor:c,borderRight:I(a)},{backColor:"#F6F6F6"}),N("professional9",{backColor:"#EB6051",foreColor:u,borderRight:I("#EB6051"),font:g},{foreColor:c,borderRight:I(a)},{backColor:h}),N("professional10",{backColor:"#26AE60",foreColor:u,borderRight:I("#26AE60"),font:g},{foreColor:c,borderRight:I(a)},{backColor:h}),N("professional11",{backColor:"#2882BA",foreColor:u,borderRight:I("#2882BA"),font:g},{foreColor:c,borderRight:I(a)},{backColor:h}),N("professional12",{backColor:"#555F8D",foreColor:u,borderRight:I("#555F8D"),font:g},{foreColor:c},{backColor:"#9EB6C4"}),N("professional13",{backColor:"#54618F",foreColor:u,borderRight:I("#54618F"),font:g},{backColor:"#7591AB",foreColor:v},r),N("professional14",{backColor:v,foreColor:"#5660B9",borderBottom:I("#A1A5CA",e.LineStyle.thick),borderRight:I(v),font:g},{backColor:v,foreColor:"#595959"},{backColor:" #F8F8FD"}),N("professional15",{backColor:"#E6ECF2",foreColor:"#404040",borderRight:I("#E6ECF2"),font:g},{foreColor:c,borderRight:I(a),borderBottom:I("#E6ECF2")},r),N("professional16",{backColor:"#475E86",foreColor:"#67C3F7",borderRight:I("#475E86"),font:g},{backColor:"#2A395A",foreColor:"#D0CECE"},r),N("professional17",{backColor:"#5165F8",foreColor:u,borderRight:I("#5165F8"),font:g},{backColor:v,foreColor:"#595959"},{backColor:"#F3F4FC"}),N("professional18",{backColor:"#F6F8FA",foreColor:"#404040",borderRight:I("#F6F8FA"),font:g},{backColor:v,foreColor:"#757171"},r),N("professional19",{backColor:v,foreColor:c,borderBottom:I("#83ACF6",e.LineStyle.thick),borderRight:I(v),font:g},{backColor:v,foreColor:c,borderBottom:I("#D9E1F2")},r),N("professional20",{backColor:v,foreColor:"#3565F6",borderBottom:I("#3565F6",e.LineStyle.thick),borderRight:I(v),font:g},{backColor:"#FCFDFF",foreColor:"#757171",borderRight:I(v,e.LineStyle.thick),borderBottom:I(v,e.LineStyle.thick)},{backColor:"#F6F8FA"}),N("professional21",{backColor:"#FCFDFF",foreColor:"#404040",borderBottom:I("#ACB9CA",e.LineStyle.thick),borderRight:I("#D6DCE4",e.LineStyle.dashed),font:g},{backColor:"#FCFDFF",foreColor:"#595959",borderBottom:I("#E5E9F0"),borderRight:I("#E5E9F0",e.LineStyle.dashed)},r),N("professional22",{backColor:"#222B35",foreColor:v,borderBottom:I("#08D4FF",e.LineStyle.thick),borderRight:I("#222B35"),font:g},{backColor:"#213551",foreColor:v},{backColor:"#3C5679"}),N("professional23",{backColor:"#213551",foreColor:v,borderBottom:I("#13E86C",e.LineStyle.thick),borderRight:I("#D6DCE4"),font:g},{backColor:"#F4F7F9",foreColor:"#213551",borderRight:I("#D6DCE4")},{backColor:v}),N("professional24",{backColor:"#1D1E1F",foreColor:"#E7E6E6",borderBottom:I("#13E86C",e.LineStyle.thick),borderRight:I("#606060"),font:g},{backColor:"#404142",foreColor:v,borderRight:I("#606060")},{backColor:"#4F4F50"})]).forEach((function(t){o.TableThemes[t.name()]=t}))},6656:function(t,n,i){var e,o,r,u,c,a,s,l,f,d;Object.defineProperty(n,"__esModule",{value:!0}),n.MZe=void 0,e=i(1376),o=i(6114),r=i(5530),u=i(1163),c=i(5981),a=i(4900),s=i(591),l=e.mt,f=l.En,d=function(){function t(t){var n;this.xT=[],this.LEt=t}return t.prototype.create=function(){var t=this,n=t.hZe=(0,e.GC$)(f("div"));return n.addClass("gc-defined-column-formatting-select-container"),n},t.prototype.IZe=function(){var t,n,i,r=this,l=r.LEt.formatter,d=(0,u.parseFormat)(l),h=(0,e.GC$)(f("div"));return h.addClass("gc-defined-column-formatting-select-number-container"),t=new c.bZe({onChange:function(t){r.LEt.onChange(t)}}),(n=new a.Kze({inputId:"lookup-number-formatting",items:[{text:(0,o.getSR)().columnTypeNumber,value:1},{text:(0,o.getSR)().columnTypeCurrency,value:2},{text:(0,o.getSR)().columnTypePercent,value:6}],label:{text:(0,o.getSR)().columnTypeFormattingCategory},onChange:function(n){t.setOptions({type:n.value,formatter:s.keyword_null})}})).create().appendTo(h),r.xT.push(n),t.create().appendTo(h),r.xT.push(t),i=d.category,-1===[1,2,6].indexOf(i)&&(i=1),n.setValue(i),t.setOptions({type:i,formatter:l}),h},t.prototype.NZe=function(){var t,n=this,i=n.LEt.formatter,o=(0,e.GC$)(f("div"));return o.addClass("gc-defined-column-formatting-select-date-container"),(t=new r.Wze({formatter:i,onChange:function(t){n.LEt.onChange(t.formatter)}})).create().appendTo(o),n.xT.push(t),o},t.prototype.createFormatting=function(t){var n=this,i=n.hZe;if(n.L0(),(0,s.isNumber)(t))n.IZe().appendTo(i);else{if(!(0,s.isDate)(t))return!1;n.NZe().appendTo(i)}return!0},t.prototype.dispose=function(){var t=this;t.L0(),t.hZe=s.keyword_null},t.prototype.L0=function(){var t,n,i,e=this;for(t=0,n=e.xT;t<n.length;t++)(i=n[t]).dispose?i.dispose():i.unbind&&i.unbind("click");e.xT=[],e.hZe.empty()},t}(),n.MZe=d},6944:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.heo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.oeo(n),n},n}(o.Meo),n.heo=c},7127:function(t,n,i){var e,o,r,u,c,a,s,l,f;Object.defineProperty(n,"__esModule",{value:!0}),n.Gto=void 0,e=i(1376),o=i(6114),r=i(6406),u=null,c="#0066cc",a="#3399ff",s=e.mt,l=s.En,f=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i=this,u=i.LEt,s=u.onChange,f=(0,e.GC$)(l("div"));return f.addClass("gc-defined-column-url-container"),(t=i.Rto=new r.mZe({inputId:"linkColor",type:"color",defaultValue:u.linkColor||c,label:{text:(0,o.getSR)().columnTypeUrlLabel.linkColor},onChange:function(t){s&&s({linkColor:t||c,visitedLinkColor:i.Pto.value||a})}})).create().appendTo(f),(n=i.Pto=new r.mZe({inputId:"visitedLinkColor",type:"color",defaultValue:u.visitedLinkColor||a,label:{text:(0,o.getSR)().columnTypeUrlLabel.visitedLinkColor},onChange:function(t){s&&s({linkColor:i.Rto.value||c,visitedLinkColor:t||a})}})).create().appendTo(f),s&&s({linkColor:i.Rto.value||c,visitedLinkColor:i.Pto.value||a}),f},t.prototype.dispose=function(){var t=this;t.Rto.dispose(),t.Rto=u,t.Pto.dispose(),t.Pto=u},t}(),n.Gto=f},7234:function(n){n.exports=t.Spread},7324:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.Jze=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(591),c=e.mt,a=c.En,s=function(){function t(t){this.itemContainers=[];var n=this;n.LEt=t,n.$G=u.keyword_null,n.EZe=[]}return Object.defineProperty(t.prototype,"value",{get:function(){var t,n=this;return n.LEt.enableMultiSelected?n.EZe.map((function(t){var i;return null===(i=n.LEt.items[t])||void 0===i?void 0:i.value})):null===(t=n.LEt.items[n.$G])||void 0===t?void 0:t.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var t=this;return t.LEt.enableMultiSelected?t.EZe.slice():t.$G},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i=this,o=i.LEt.label,r=i.LEt.addAndRemoveButton,u=(0,e.GC$)(a("div"));return u.addClass("gc-defined-column-list-container"),(t=(0,e.GC$)(a("div"))).addClass("gc-defined-column-list-label-container"),t.appendTo(u),o&&o.text&&((n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-label-container"),n.appendTo(t),n.text(o.text)),r&&i.zto(t),i.zqt().appendTo(u),u},t.prototype.zqt=function(){var t,n=this,i=n.UZe=(0,e.GC$)(a("div"));return i.addClass("gc-defined-column-list-items-container"),n.isDisable()&&i.addClass("gc-defined-column-disabled"),i.attr("role",n.LEt.editable?"grid":"listbox"),i.attr("tabindex","-1"),i.attr("aria-disabled",n.isDisable()?"true":"false"),i.attr("aria-label",null===(t=n.LEt.label)||void 0===t?void 0:t.text),n.tyn(),i},t.prototype.tyn=function(){var t,n,i=this,o=i.LEt.items,r=i.LEt.enableMultiSelected,u=i.EZe,c=i.$G,s=i.LEt.showValue,l=function(t){return r?u.indexOf(t)>-1:c===t};for(s&&i.meo(),t=function(t){var n=o[t],r=(0,e.GC$)(a("span"));i.itemContainers.push(r),r.addClass("gc-defined-column-list-item-container"),l(t)&&r.addClass("gc-defined-column-list-item-selected"),r.attr("role",i.LEt.editable?"row":"option"),!i.LEt.editable&&r.attr("tabindex","0"),r.attr("aria-selected",l(t)?"true":"false"),r.bind("click",(function(n){i.isDisable()||i.GZe(t,n)})),i.ryn(n,r),s&&i.ryn(n,r,!0),r.appendTo(i.UZe)},n=0;n<o.length;n++)t(n)},t.prototype.meo=function(){var t,n,i=this,o=(0,e.GC$)(a("div"));o.addClass("gc-defined-column-list-header"),(t=(0,e.GC$)(a("div"))).addClass("gc-defined-column-list-header-text"),t.text((0,r.getSR)().columnTypeText),t.appendTo(o),(n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-list-header-value"),n.text((0,r.getSR)().defineColumnValue),n.appendTo(o),o.appendTo(i.UZe)},t.prototype.ryn=function(t,n,i){var o,c,s=this,l=s.LEt.editable,f=l?(0,e.GC$)(a("input")):(0,e.GC$)(a("div"));l&&(f.attr("role","gridcell"),f.attr("aria-label",i?(0,r.getSR)().defineColumnValue:(0,r.getSR)().columnTypeText)),o="gc-defined-column-list-item-"+(i?"value":"text"),f.addClass(o),t.class&&f.addClass(t.class),c=i||(0,u.isNullOrUndefined)(t.text)?t.value:t.text,l?f.val(c):f.text(c),f.appendTo(n),s.LEt.editable&&f.bind("blur",(function(){i?t.value=this.value:t.text=this.value,s.LEt.onChange&&s.LEt.onChange()}))},t.prototype.GZe=function(t,n){var i,e,r,u=this,c=u.LEt.enableMultiSelected,a=u.EZe,s=function(t){return c?a.indexOf(t)>-1:u.$G===t};for(c?(i=function(t){var n=a.indexOf(t);n>-1?a.splice(n,1):a.push(t)},(0,o.isArray)(t)?t.forEach((function(t){i(t)})):i(t)):u.$G=t,e=0;e<u.itemContainers.length;e++)r=u.itemContainers[e],s(e)?(r.attr("aria-selected","true"),r.addClass("gc-defined-column-list-item-selected")):(r.attr("aria-selected","false"),r.removeClass("gc-defined-column-list-item-selected"));u.LEt.onChange&&u.LEt.onChange(u.value,u.index,n)},t.prototype.zto=function(t){var n,i,o,u,c,s,l,f=this,d=f.LEt.items,h=(0,e.GC$)(a("div"));h.addClass("gc-defined-column-add-remove-container"),(n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-add-remove-container-buttons"),n.appendTo(h),(i=(0,e.GC$)(a("button"))).addClass("gc-defined-column-add-remove-container-button"),i.appendTo(n),(o=(0,e.GC$)(a("span"))).addClass("gc-defined-column-add-remove-container-button-icon gc-defined-column-add-remove-container-button-icon-add ui-icon ui-icon-check"),o.appendTo(i),(u=(0,e.GC$)(a("span"))).appendTo(i),u.text((0,r.getSR)().columnTypeComboBoxAdd),i.bind("click",(function(){d||(d=[]),d.push({text:"",value:""}),f.setOptions({items:d}),f.LEt.onChange&&f.LEt.onChange()})),(c=(0,e.GC$)(a("button"))).addClass("gc-defined-column-add-remove-container-button"),c.appendTo(n),(s=(0,e.GC$)(a("span"))).addClass("gc-defined-column-add-remove-container-button-icon gc-defined-column-add-remove-container-button-icon-remove ui-icon ui-icon-check"),s.appendTo(c),(l=(0,e.GC$)(a("span"))).appendTo(c),l.text((0,r.getSR)().columnTypeComboBoxRemove),c.bind("click",(function(){var t=f.$G;d.splice(t,1),f.setOptions({items:d}),f.LEt.onChange&&f.LEt.onChange()})),h.appendTo(t)},t.prototype.setValue=function(t){var n,i,e=this;if(!(0,u.isNullOrUndefined)(t)){if(e.LEt.enableMultiSelected&&(0,o.isArray)(t))return void((n=t.reduce((function(t,n){var i=e.LEt.items.findIndex((function(t){return t.value===n}));return i>-1&&t.push(i),t}),[])).length>0&&e.GZe(n));(i=e.LEt.items.findIndex((function(n){return n.value===t})))>-1&&e.GZe(i)}},t.prototype.setIndex=function(t){var n=this;if(!(0,u.isNullOrUndefined)(t)){if(n.LEt.enableMultiSelected&&(0,o.isArray)(t))return void(t.length>0&&n.GZe(t));t>-1&&n.GZe(t)}},t.prototype.setOptions=function(t){var n=this;n.LEt=l(l({},n.LEt),t),n.clear(),n.tyn()},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.UZe;t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),i.attr("aria-disabled",n?"false":"true")},t.prototype.clear=function(){var t,n,i,e=this;for(t=0,n=e.itemContainers;t<n.length;t++)(i=n[t]).unbind("click");e.itemContainers=[],e.UZe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.UZe=u.keyword_null},t}(),n.Jze=s},7373:function(n){n.exports=t.Data},7446:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.Ieo=void 0,e=i(1376),o=i(6114),r=i(6406),u=i(6018),c=i(4900),a=e.mt,s=a.En,l=function(){function t(t){var n=this;n.LEt=t,n.xT=[]}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i=this,r=(0,e.GC$)(s("div"));return r.addClass("gc-defined-column-barcode-base-container"),(t=new c.Kze({inputId:"barcode-type",defaultValue:i.LEt.option.barcodeType,enableSearch:!0,items:[{text:"QRCODE",value:"QRCODE"},{text:"EAN13",value:"EAN13"},{text:"EAN8",value:"EAN8"},{text:"CODABAR",value:"CODABAR"},{text:"CODE39",value:"CODE39"},{text:"CODE93",value:"CODE93"},{text:"CODE128",value:"CODE128"},{text:"GS1_128",value:"GS1_128"},{text:"CODE49",value:"CODE49"},{text:"PDF417",value:"PDF417"},{text:"DATAMATRIX",value:"DATAMATRIX"}],label:{text:(0,o.getSR)().columnTypeBarcodeLabel.barcodeType},onChange:function(t){i.LEt.option.barcodeType=t.value,i.onChange(!0)}})).create().appendTo(r),i.xT.push(t),(n=(0,e.GC$)(s("div"))).addClass("gc-defined-column-barcode-base-style-container"),n.appendTo(r),i.tto(n,"color",(0,o.getSR)().columnTypeBarcodeLabel.color),i.tto(n,"backgroundColor",(0,o.getSR)().columnTypeBarcodeLabel.backgroundColor),i.eto(n,"quietZoneLeft",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneLeft,!0),i.eto(n,"quietZoneRight",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneRight,!0),i.eto(n,"quietZoneTop",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneTop,!0),i.eto(n,"quietZoneBottom",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneBottom,!0),r},t.prototype.tto=function(t,n,i){var e=this,o=new r.mZe({inputId:"barcode-"+n,type:"color",defaultValue:e.LEt.option[n],label:{text:i},onChange:function(t){e.LEt.option[n]=t,e.onChange()}});o.create().appendTo(t),e.xT.push(o)},t.prototype.eto=function(t,n,i,e){var o=this,r=new u.AZe({inputId:"barcode-"+n,defaultValue:o.LEt.option[n],label:{text:i,useRawContent:e},allowMinNull:!0,maxValue:1e3,onChange:function(t){o.LEt.option[n]=t,o.onChange()}});r.create().appendTo(t),o.xT.push(r)},t.prototype.onChange=function(t){var n=this,i=n.LEt.onChange;i&&i(n.LEt.option,t)},t.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&e.unbind("click");return[]},t.prototype.dispose=function(){var t=this;t.xT=t.YZe(t.xT)},t}(),n.Ieo=l},7553:function(t,n,i){var e,o,r,u;Object.defineProperty(n,"__esModule",{value:!0}),n.Rze=void 0,e=i(1376),o=i(591),r=e.mt.En,u=function(){function t(t){var n;this.LEt=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.weo)||void 0===t?void 0:t.val()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i,o=this,u=o.LEt,c=o.yZe=(0,e.GC$)(r("div"));return c.addClass("gc-defined-column-field-item-container gc-defined-column-checkbox-field-item-container"),u.label&&u.label.text&&u.textDisplay&&((t=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-label-container"),t.appendTo(c),(n=(0,e.GC$)(r("label"))).addClass("gc-defined-column-field-label-container-label-text"),n.appendTo(t),u.inputId&&n.attr("for","gc-defined-column-checkbox-"+u.inputId),n.text(u.label.text)),(i=o.Qze=(0,e.GC$)(r("div"))).appendTo(c),i.addClass("gc-defined-column-checkbox-container"),o.ZX(),c},t.prototype.ZX=function(){var t,n,i,u=this,c=u.LEt,a=u.Qze,s=u.Pze=(0,e.GC$)(r("div"));s.addClass("gc-defined-column-checkbox-item-container"),u.isDisable()&&s.addClass("gc-defined-column-disabled"),u.isVisible()||a.addClass("gc-defined-column-hide"),s.appendTo(a),s.attr("role","checkbox"),s.attr("tabindex","0"),s.attr("aria-label",c.label.text),s.attr("aria-checked","false"),s.attr("aria-disabled",u.isDisable()?"true":"false"),s.attr("aria-hidden",u.isVisible()?"false":"true"),(t=(0,e.GC$)(r("div"))).addClass("gc-defined-column-check-container"),t.appendTo(s),(n=u.weo=(0,o.createDCElement)("sjs-checkbox")).attr("name",""),n.attr("ariaLabel",c.label.text),c.inputId&&n.attr("id","gc-defined-column-checkbox-"+c.inputId),c.isThreeState&&n.attr("indeterminate",!0),(0,o.isNullOrUndefined)(c.defaultValue)||u.setValue(c.defaultValue,!1),n.bind("input",(function(t){u.isDisable()||(u.Yze(t.target.value),c.onChange&&c.onChange(t.target.value,t))})),n.appendTo(t),c.label&&c.label.text&&1!==c.textDisplay&&((i=u.LZe=(0,e.GC$)(r("div"))).addClass("gc-defined-column-label-container"),i.appendTo(s),i.text(c.label.text),c.inputId&&i.attr("for","gc-defined-column-checkbox-"+c.inputId),i.bind("click",(function(t){u.isDisable()||u.setValue(u.kV(u.weo.val()))})))},t.prototype.Yze=function(t){var n=this,i=t;(0,o.isNullOrUndefined)(t)&&(i=!!n.LEt.isThreeState&&"mixed"),n.Pze.attr("aria-checked",i)},t.prototype.kV=function(t){var n;if(this.LEt.isThreeState){if(t)return o.keyword_null;if((0,o.isNullOrUndefined)(t))return!1}return!t},t.prototype.setValue=function(t,n){var i=this;i.weo.val(t),i.Yze(t),!1!==n&&(0,o.triggerEvent)(i.weo)},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.Pze;t.LEt.enable=n,n?(i.removeClass("gc-defined-column-disabled"),i.attr("aria-disabled","false")):(i.addClass("gc-defined-column-disabled"),i.attr("aria-disabled","true"))},t.prototype.isVisible=function(){return!0!==this.LEt.hide},t.prototype.resetVisible=function(){var t=this,n=t.isVisible(),i=t.Qze;t.LEt.hide=n,n?(i.addClass("gc-defined-column-hide"),i.attr("aria-hidden","true")):(i.removeClass("gc-defined-column-hide"),i.attr("aria-hidden","false"))},t.prototype.dispose=function(){var t=this;t.weo.unbind("input"),t.weo=o.keyword_null,t.LZe&&t.LZe.unbind("click"),t.LZe=o.keyword_null,t.Pze=o.keyword_null,t.Qze=o.keyword_null},t}(),n.Rze=u},7621:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P,Q,Y,W,H,V,F,_,J,X,K,q,$,tt,nt,it,et,ot,rt,ut,ct,at,st,lt,ft,dt,ht,vt,gt,Mt=this&&this.mJr||function(){return Mt=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},Mt.apply(this,arguments)};function It(t,n){var i,e;for(i=0;i<t.length;i++)if(n(e=t[i]))return i;return-1}function Nt(t){return t.value||t}function Dt(t){return mt(t)&&t.bMi}function bt(t){return t.yBt}function mt(t){return 1===t.textIndent||t.isViewColumnOption}function Ct(t){return t.textIndent>=2}function wt(t){return N(t)||""===t}function yt(t){return t&&t.richText&&t.richText[0]&&t.richText[0].text||t&&t.text||t}function xt(t){return JSON.parse(JSON.stringify(t))}Object.defineProperty(n,"__esModule",{value:!0}),n.TableSheetPanel=n.ShowSourceOptions=n.ARROW_RIGHT=n.ARROW_DOWN=void 0,e=i(6114),o=i(1376),r=i(447),u=i(7234),c=i(2648),a=i(2227),s=i(8966),l=i(1434),f=o.CellTypes.Base,d=u.Common.zf.j0,h=u.Common.lt.tv,g="."+(v="table-sheet-panel"),M=null,I=void 0,N=u.Common.lt.ht,D=window,b="gc-table-sheet-panel",m="gc-table-sheet-field-panel",C="gc-table-sheet-cross-panel",w="gc-table-sheet-group-panel",y="gc-table-sheet-group-list",x="gc-table-sheet-group-input",j=(A="gc-table-sheet-group-item")+"-remove",T="group-index",z="group-name",p="group-field",L="summary-index",S="gc-table-sheet-summary-item",O="summary-name",k="summary-formula",E=A+"-label",Z="gc-table-sheet-summary-container",U="gc-table-sheet-field-container",G="gc-table-sheet-summary-item-label",B="gc-table-sheet-summary-item-input-formula",R="gc-table-sheet-summary-item-input-slice",P="gc-table-sheet-summary-function",Q="gc-table-sheet-summary-item-input-caption",Y="gc-table-sheet-summary-list-container",W="gc-table-sheet-group-item-reorder-top",H="gc-table-sheet-group-item-reorder-bottom",V="gc-table-sheet-add-calculate-column",F="fake-ftb-workbook",_="gc-table-sheet-summary-item-caption",J="gc-table-sheet-cross-column",X="gc-table-sheet-cross-column-detail",K="gc-table-sheet-cross-column-detail-value",q="gc-table-sheet-cross-column-attributes-list",$="gc-table-sheet-cross-column-item",tt="gc-table-sheet-cross-column-item-checkbox",nt="gc-table-sheet-cross-column-item-edit",it="gc-table-sheet-cross-column-item-input-filter",et="gc-table-sheet-cross-column-item-editing",ot="gc-table-sheet-cross-detail-input",rt="gc-table-sheet-hidden",ut="gc-table-sheet-summary-item-input-relateTo",ct="gc-table-sheet-summary-item-input-position",at="gc-table-sheet-group-item-setting",st="attribute-index",n.ARROW_DOWN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHJJREFUOE+10i0OwkAQBtC394ED4PE4EA0HBIeurEX2QE2TDYKwOyTTrt3Myzc/RfKVZL1dgQPmKGErwRFP3PHuIb0WTnhgwNRCohmca5Ibxl9IBKw1l4pc8fpGdgdSLaSGuMkaU4cUHeDn/58tdLE0sABwBBIR30jsewAAAABJRU5ErkJggg==",n.ARROW_RIGHT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAI1JREFUOE/t0rEJwlAQBuAv09hJagewsBQMFuIqDuEA9tpa2qbMAA7gAG4gB08IjySvSCe+9riPe/9dZearZvb7UWCB50g2O9z6tTyDE7bY4JUh0XxF00eGQgxknZB3QqL5gj3uUxN8a4GsEhITnXHAI//a1BoDWaLGEe1QLqU7CCRG7sYOrgQUD/UP8AFFTRERJMaNUQAAAABJRU5ErkJggg==",lt=function(t,n){return t?n:""},ft=function(t){var n=t.formula,i=t.caption,o=void 0===i?"":i,r=t.sliceField,u=t.columnList,c=t.relateTo,a=t.position,s=t.showSlice;return'\n <div class="gc-table-sheet-summary-item-formula">\n <span class="'.concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelFormula,"</span>\n <input aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelFormula,"' class=\"").concat(B,'" input-type="formula" spellcheck="false" tabIndex="-1" current-data=\'').concat(d(n),"' value='").concat(d(n),'\'></input>\n <span class="gc-table-sheet-summary-item-remove-icon" title="').concat((0,e.getSR)().GroupPanelItemRemove,'"></span>\n </div>\n <div class="').concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelCaption,"</span>\n <input aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelCaption,"' class=\"").concat(Q,'" input-type="caption" spellcheck="false" tabIndex="-1" current-data=\'').concat(d(o),"' value='").concat(d(o),"'></input>\n </div>")+lt(s,'\n <div class="gc-table-sheet-summary-item-slice">\n <span class="'.concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelSlice,"</span>\n <input aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelSlice,"' class=\"").concat(R,'" input-type="slice" spellcheck="false" tabIndex="-1" current-data=\'').concat(r,"' value='").concat(r,"'></input>\n </div>"))+lt(!s,'\n <div class="gc-table-sheet-summary-item-relateTo">\n <span class="'.concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelRelateTo,"</span>\n <select aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelRelateTo,"' class=\"").concat(ut,' gc-table-sheet-summary-item-select" name="relateTo">').concat('<option value="" style="display: none"></option>'+u.map((function(t){return'<option value="'.concat(t.value,'" ').concat(t.value===c?"selected":"",">").concat(t.text,"</option>")})),'</select>\n </div>\n <div class="gc-table-sheet-summary-item-position">\n <span class="').concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelPosition,"</span>\n <select aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelPosition,"' class=\"").concat(ct,' gc-table-sheet-summary-item-select" name="position">\n <option value="header" ').concat("header"===a?"selected":"",">").concat((0,e.getSR)().GroupPanelSummaryLabelPositionHeader,'</option>\n <option value="footer" ').concat("footer"===a?"selected":"",">").concat((0,e.getSR)().GroupPanelSummaryLabelPositionFooter,"</option>\n </select>\n </div>"))},dt=function(t){var n=t.find(".".concat(B)).val(),i=t.find(".".concat(Q)).val(),e=t.find(".".concat(R)).val(),o=t.find(".".concat(ut)).val(),r=t.find(".".concat(ct)).val();return{formulaInputValue:n,captionInputValue:i,sliceInputValue:e,relateToValue:o,positionValue:r}},function(t){t[t.none=0]="none",t[t.field=1]="field",t[t.formula=2]="formula",t[t.all=3]="all"}(ht=n.ShowSourceOptions||(n.ShowSourceOptions={})),vt={showSource:ht.none,fieldAreaVisible:!0,crossAreaVisible:!1,groupAreaVisible:!0,showEditButton:!1,showViewName:!0,showGroupSetting:void 0},gt=function(){function t(t,n,i,e){this.AMi=!0,this.Zc=t,this.vMi=n,this.jMi=0,this.Ti=i,this.options=o.util.b0(vt,this.zMi.bind(this)),this.Zp(e||{}),this.CMi=[],this.wMi=-1,i&&(0,o.GC$)(i).data(v,this),this.Ti.innerHTML=this.yMi(),this.mMi=i.querySelector(".".concat(m)),this.LMi=i.querySelector(".".concat(b)),this.xMi=i.querySelector(".".concat(y)),this.SMi=i.querySelector(".".concat(w)),this.ZMi=i.querySelector(".".concat(X)),this.OMi=this.ZMi.querySelector(".".concat(q)),this.EMi=i.querySelector(".".concat(w,".").concat(C,".").concat(J)),this.GMi=i.querySelector(".".concat(Z)),this.pMi=i.querySelector(".".concat(F)),this.attach(n),this.kMi(),this.vMi.UMi=this,this.AMi=!1}return t.prototype.ZS=function(){var t=this;setTimeout((function(){var n,i,e;null===(e=null===(i=null===(n=t.vMi)||void 0===n?void 0:n.getParent)||void 0===i?void 0:i.call(n))||void 0===e||e.focus(!0)}),0)},t.prototype.Hc=function(t,n){var i,e,r,u,c,a=new o.Workbook(n,{allowUndo:!1,enableAccessibility:null===(e=null===(i=this.vMi)||void 0===i?void 0:i.getParent())||void 0===e?void 0:e.options.enableAccessibility});a.xU=!0,a.suspendPaint(),a.suspendEvent(),this.fb(a),r=a.getSheet(0),this.BMi=r,this.QMi(r),this.RMi(),this.PMi(),this.YMi=this.WMi(),u=this.HMi(t.getDataView()),this.CMi=u,this.VMi(a,r.getViewportBottomRow(1)<u.length-1),this.FMi(r,u),a.resumeEvent(),a.resumePaint(),(c=this).mMi&&(c.JMi=D.setTimeout((function(){var t=(0,o.GC$)(c.mMi),n=t.data("workbook");n&&Math.abs(t.height()-(0,o.GC$)(n._vp).height())>n.Xm()&&n.refresh(),c.JMi&&(D.clearTimeout(c.JMi),c.JMi=0)}),100))},t.prototype.fb=function(t){t.options.allowContextMenu=!1,t.options.allowUserZoom=!1,t.options.allowUserDragDrop=!1,t.options.allowDragHeaderToMove=o.AllowDragHeaderToMove.none,t.options.allowUserDragFill=!1,t.options.showHorizontalScrollbar=!1,t.options.scrollbarMaxAlign=!0,t.options.tabStripVisible=!1,t.options.tabNavigationVisible=!1,t.options.grayAreaBackColor="white",t.options.scrollByPixel=!0,this.XMi(t)},t.prototype.QMi=function(t){var i=this.options;t.selectionPolicy(o.SelectionPolicy.single),t.selectionUnit(o.SelectionUnit.row),t.options.showFormulas=!0,t.options.rowHeaderVisible=!1,t.options.colHeaderVisible=!1,!1===i.showViewName?t.setRowVisible(0,i.showViewName):t.frozenRowCount(1),t.options.gridline.showHorizontalGridline=!1,t.options.gridline.showVerticalGridline=!1,t.setColumnCount(2),t.setRowCount(30),t.setColumnWidth(0,20),t.setColumnWidth(1,"*"),t.outlineColumn.options({columnIndex:1,showIndicator:!0,collapseIndicator:n.ARROW_RIGHT,expandIndicator:n.ARROW_DOWN}),t.outlineColumn.refresh(),t.showRowOutline(!1),t.rowOutlines.KMi=!0,t.t4(0,1)},t.prototype.zMi=function(t,n,i){var e,o=this;if(!o.AMi)switch(t){case"showSource":o._Mi();break;case"fieldAreaVisible":case"crossAreaVisible":case"groupAreaVisible":e=o.vMi,o.detach(),o.vMi=e,o.Ti.innerHTML=o.yMi(),o.mMi=o.Ti.querySelector(".".concat(m)),o.LMi=o.Ti.querySelector(".".concat(b)),o.ZMi=o.Ti.querySelector(".".concat(X)),this.OMi=this.ZMi.querySelector(".".concat(q)),o.xMi=o.Ti.querySelector(".".concat(y)),o.SMi=o.Ti.querySelector(".".concat(w)),o.EMi=o.Ti.querySelector(".".concat(w,".").concat(C,".").concat(J)),this.GMi=o.Ti.querySelector(".".concat(Z)),this.pMi=o.Ti.querySelector(".".concat(F)),o.attach(e),o.kMi(),e.UMi=o}},t.prototype.Zp=function(t){var n=this.options||{};t=o.GC$.extend(!0,{},vt,t),o.GC$.each(t,(function(t,i){n.hasOwnProperty(t)&&(n[t]=i)}))},t.prototype.RMi=function(){var t,n,i,r,u,c,a,l=this,f=l.Tp(),d=l.vMi,h=l.LMi.getBoundingClientRect();f.bind(o.Events.EditStarting+g,(function(t,n){var i=n.row,e=l.CMi;e[i]&&e[i].isCalculateColumn||(n.cancel=!0)})),f.bind(o.Events.EditStarted+g,(function(t,n){var i,e;n.row!==f.getRowCount()-1||f.il.text()||f.il.text("="),f.il&&(f.il.qMi=!0),l.$Mi=!0})),f.bind(o.Events.EditEnded+g,(function(t,n){var i,e,o,r,u,c,a,h,v=n.row,g=l.CMi,M=d.getDataView(),I=n.editingText,N=!1;if(l.$Mi=!1,o=f.getText(v,1),r=null===(i=null==I?void 0:I.replace)||void 0===i?void 0:i.call(I,/\s/g,""),u=null===(e=null==o?void 0:o.replace)||void 0===e?void 0:e.call(o,/\s/g,""),!r){if(o)return;N=!0}if(String(u).toUpperCase()===String(r).toUpperCase()||N){if(g[v]&&g[v].isCalculateColumn){if(c=l.HMi(M,v-1),I){if(0===I.indexOf("=")&&I!==(c&&c.value)){a=I;try{a=d.Iuo(a,!0)}catch(t){return void l._Mi()}c?((h=Mt({},c)).value===h.caption&&(h.caption=a),h.value=a,d.zA({cmd:s.VIEW_UPDATE_COLUMN_INFO,columnInfos:[h]})):d.zA({cmd:s.VIEW_Add_COLUMN_INFO,columnInfo:{value:a,readonly:!0}})}}else c&&d.zA({cmd:s.VIEW_REMOVE_COLUMN_INFO,value:c.value});l._Mi(),f.il&&(f.il.qMi=!1),l.ZS()}}else l._Mi()})),f.bind(o.Events.ValueChanged+g,(function(t,n){var i,r,u,c,a,f,h,v,g,M,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S=n.newValue,O=n.row,k=n.col,E=n.sheet,Z=d.getDataView();if(0===k&&Z){if(i=[],r=void 0,u=void 0,c=Z.getColumnInfos(!0,!0),(a=l.CMi[n.row])&&a.isCalculateColumn)r=a.value;else if(a.bMi){for(f=0;f<c.length;f++)if((h=c[f])&&h.cross&&h.cross===a.bMi){u=f;break}}else r=yt(v=E.getValue(O,1,o.SheetArea.viewport,o.ValueType.richText));if(g=Z.getColumnInfos(!0),0===n.row&&r===Z.name){for(M=0,N=g;M<N.length;M++)h=N[M],i.push(Mt(Mt({},h),{visible:S}));for(D=0,b=c;D<b.length;D++)m=b[D],i.push(Mt(Mt({},m),{visible:S}))}else if(u!==I){for(C=0,w=g;C<w.length;C++)(h=w[C]).isCross&&h.RBt===u&&i.push(Mt(Mt({},h),{visible:S}));i.push(Mt(Mt({},c[u]),{visible:S}))}else if(1===(y=E.getCell(O,1).textIndent())){for(x=0,A=g;x<A.length;x++)if(h=A[x],((0,e.tIi)(h.caption)===r||h.value===r)&&!h.isGroup){i.push(Mt(Mt({},h),{visible:S}));break}}else for(j=function(t){return"string"==typeof t?t.substring(0,t.indexOf(".")):""},T=j(g[O-1].value),z=0,p=g;z<p.length;z++)if("string"==typeof(L=(h=p[z]).value)&&-1!==L.indexOf(T)&&-1!==L.indexOf("."+r)&&!h.isGroup){i.push(Mt(Mt({},h),{visible:S}));break}d.zA({cmd:s.VIEW_UPDATE_COLUMN_INFO,columnInfos:i}),l.CMi=l.HMi(Z),l.ZS()}})),t=function(t){var n=l.CMi[t].nIi;return!N(n)&&n.indexOf(".")>0},n=function(t){var n=l.CMi[t].nIi;return!N(n)&&n.indexOf(".")>0&&l.eIi().isLookupField(n)},i=function(t){return!N(t)&&!N(l.oIi)&&t.indexOf(".")>0},r=function(t){var n=l.CMi[t].nIi;return i(n)&&!l.mLt(n)},u=function(t){var n=l.CMi[t].nIi;return i(n)&&l.mLt(n)},c=function(t){var n,i=l.CMi[t],e=i.yBt,o=i.nIi;l.uIi=o,e?(l.oIi=o,l.cIi=[],l.rIi&&l.rIi.indexOf(".")>-1&&(l.rIi=void 0,l.aIi=-1,l.wMi=-1),l.AMi=!0,l.sIi(!0),l.MIi(!1),l.IIi(),l.AMi=!1):Dt(i)&&(n=l.gIi(i.bMi),l.NIi=l.CMi.filter((function(t){return Dt(t)})).indexOf(i),l.cIi=l.lIi(),l.options.groupAreaVisible?(l.oIi=n.over,l.rIi&&l.rIi.indexOf(".")>-1&&(l.rIi=void 0,l.aIi=-1,l.wMi=-1),l.AMi=!0,l.sIi(!0),l.MIi(!1),l.IIi(),l.AMi=!1):l.options.crossAreaVisible&&l.IIi())},a={},l.DIi=function(t){var i,e,u,s,d,v;if(t.target===f.Dg()&&(i=l.fIi(f,t))&&!l.$Mi&&(a={x:t.x,y:t.y},e=i.row,u=i.col,!N(e)&&e>0&&!N(u))){if(n(e))return void c(e);if(r(e))return;if(i.cellTypeHitInfo&&i.cellTypeHitInfo.outlineColumnHitInfo&&(l.dIi=!0),s=f.getValue(e,1),d=void 0,l.Ano=!1,"string"!=typeof s?(d=s=f.getFormula(e,1),l.Ano=!0):l.CMi[e].isRelationship?(d=l.hIi(f,e)+"."+s,l.TIi=!1):(d=yt(v=f.getValue(e,1,o.SheetArea.viewport,o.ValueType.richText)),l.TIi=!0),!l.CMi[e].isRelationship&&Ct(l.CMi[e])&&!l.options.crossAreaVisible)return;l.rIi=d,h=l.LMi.getBoundingClientRect(),l.aIi=e,l.wMi=e,c(e)}},l.bIi=function(n){var i,e,o,r,u=l.rIi,c=n.x!==a.x||n.y!==a.y;if(u&&c){if(l.AIi(n,u,h,l.LMi),(i=l.fIi(f,n))&&(e=i.row,o=i.col,!N(o)&&e&&e!==l.wMi)){if(t(e))return;f.t4(e,1)}(r=f.Dg())&&(r.style.cursor="move"),l.xMi&&(l.xMi.style.cursor="move"),l.dIi=!1}},l.vIi=function(n){var i,e,o,r,c,a,s,h,v,g,M=l.rIi;M&&((i=l.fIi(f,n))&&!l.dIi&&(e=i.row,o=i.col,r=d.jIi,c=l.aIi,N(e)||N(o)||!(e!==c&&e>r&&c>r||e===c)?(f.t4(l.aIi,0),l.zIi(n.target,l.xMi)&&l.kMi(),l.CIi(n)):(a=d.getDataView())&&!u(c)&&(l.CMi[c].isRelationship&&2===l.CMi[c].textIndent?l.wIi(c,e):l.yIi(c,e),h=!((s=l.CMi[e]).yBt||Dt(s)||t(e)),l.options.crossAreaVisible&&h&&(l.rIi=void 0,l.TIi=void 0,l.aIi=-1,l.wMi=-1,l.cIi=I,l.oIi=I,l.NIi=void 0,l.mIi=void 0,l.AMi=!0,l.sIi(!1),l.MIi(!0),l.LIi(),l.xIi(),l.AMi=!1))),l.dIi=!1,l.rIi=void 0,l.TIi=void 0,l.aIi=-1,l.wMi=-1,(v=f.Dg())&&(v.style.cursor="default"),l.xMi&&(l.xMi.style.cursor="default"),(g=l.SIi)&&(g.style.display="none"))},(0,o.GC$)(".".concat(V)).bind("click",(function(){var t,n,i=f.getRowCount();l.$Mi||0===i||(t=i+1,f.suspendPaint(),f.ffe(i,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),l.CMi[i]={isCalculateColumn:!0,checkStatus:!0,value:"",textIndent:1},f.getCell(t,1).locked(!1).textIndent(1),f.outlineColumn.getCollapsed(0)&&f.outlineColumn.setCollapsed(0,!1),f.outlineColumn.refresh(),f.setActiveCell(t,1),f.showCell(i,0,o.VerticalPosition.center,o.HorizontalPosition.center),n=setTimeout((function(){f.startEdit(),clearTimeout(n)}),0),f.resumePaint())})),l.mMi&&l.mMi.addEventListener("mousedown",l.DIi,!0),document.addEventListener("mousemove",l.bIi,!0),document.addEventListener("mouseup",l.vIi,!0)},t.prototype.hIi=function(t,n){for(;n>=0;){var i;if(1===t.getCell(n,1).textIndent())return t.getValue(n,1);n--}return""},t.prototype.ZIi=function(t,n){var i,e,o,r,u,c,a,s,l,f,d,h=this,v=h.eIi();if(h.CMi=h.HMi(v),i=v.getColumnInfos(),e=h.CMi.filter((function(t){return mt(t)})),o=h.CMi.filter((function(n,i){return i<t&&Dt(n)&&!n.isRelationship})),r=o.reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),u=t<n?n+1:n,c=h.CMi.filter((function(t,n){return n<u&&Dt(t)&&!t.isRelationship})),a=c.reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),s=h.CMi.filter((function(n,i){return i<t&&Ct(n)&&!n.isRelationship})).length,l=h.CMi.filter((function(t,i){return i<n&&Ct(t)&&!t.isRelationship})).length,!h.CMi[t].isRelationship&&h.CMi[n].isRelationship)if(s=0,t>n){for(f=n;f>=0;f--)if(!h.CMi[f].isRelationship||2!==h.CMi[f].textIndent){l=n-f;break}}else{for(d=!1,f=n;f<h.CMi.length;f++)if(!h.CMi[f].isRelationship||2!==h.CMi[f].textIndent){l=n-f,d=!0;break}d||(l=n-h.CMi.length)}return{columnInfos:i,columnFieldInfos:e,crossColumnCountBeforeFromRow:r,crossColumnCountBeforeToRow:a,crossRelationFieldCountBeforeFromRow:s,crossRelationFieldCountBeforeToRow:l}},t.prototype.OIi=function(t,n){var i,e,o,r,u,c,a,s,l,f=this,d=f.eIi();return f.CMi=f.HMi(d),i=d.getColumnInfos(),e=f.CMi.filter((function(t){return mt(t)})),r=(o=f.CMi.filter((function(n,i){return i<t&&Dt(n)}))).reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),u=t<n?n+1:n,a=(c=f.CMi.filter((function(t,n){return n<u&&Dt(t)}))).reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),s=0,l=f.EIi(t,n),f.CMi[t].textIndent===f.CMi[n].textIndent&&f.CMi[t].isRelationship&&f.CMi[n].isRelationship&&f.GIi(t,n)&&(l=0),{columnInfos:i,columnFieldInfos:e,crossColumnCountBeforeFromRow:r,crossColumnCountBeforeToRow:a,crossRelationFieldCountBeforeFromRow:s,crossRelationFieldCountBeforeToRow:l}},t.prototype.GIi=function(t,n){var i,e,o=this,r=o.eIi(),u=o.HMi(r),c="";for(i=t;i>=0;i--)if(!u[i].isRelationship||2!==u[i].textIndent){c=u[i].value;break}for(e="",i=n;i>=0;i--)if(!u[i].isRelationship||2!==u[i].textIndent){e=u[i].value;break}return c===e},t.prototype.EIi=function(t,n){var i,e,o=this,r=o.eIi(),u=o.HMi(r),c=n-t;for(e=t;e>=0;e--)if(!u[e].isRelationship||2!==u[e].textIndent){i=t-e-1;break}return c+i},t.prototype.yIi=function(t,n){var i,e,o,r,u,c,a,l,f,d,h,v,g,M,I=this,N=I.vMi,D=N.getDataView();if(!(I.CMi[t].isRelationship&&1===I.CMi[t].textIndent&&I.CMi[n].isRelationship&&2===I.CMi[n].textIndent||(e=(i=I.ZIi(t,n)).columnInfos,o=i.crossColumnCountBeforeFromRow,r=i.crossColumnCountBeforeToRow,l=t-1-(u=i.crossRelationFieldCountBeforeFromRow),f=n-1-(c=i.crossRelationFieldCountBeforeToRow),(d=t-1+(a=I.pIi(D).length||0)-u+o)===(h=n-1+a-c+r)))){if(v=1,Dt(I.CMi[t])&&(g=I.kIi(D,d),v=e.filter((function(t){return t.RBt===g})).length),I.CMi[t].isRelationship)for(v=1,M=t+1;M<I.CMi.length&&2===I.CMi[M].textIndent;M++)v++;N.zA({cmd:s.VIEW_MOVE_COLUMN,fromColumnOptionIndex:l,toColumnOptionIndex:f,fromColumnIndex:d,toColumnIndex:h,count:v}),I.xxi(),I.ZS()}},t.prototype.xxi=function(){var t=this.vMi,n=t.getDataView(),i=t.Mf.rowFilter();t.suspendPaint(),t.EPt(),i.UIi(),t.resetNewView(n.ILt,n.aPt,n.LEt),i.QIi(),t.jPt(),t.resumePaint()},t.prototype.wIi=function(t,n){var i,e,o,r,u,c,a,l,f,d,h,v,g,M,I,N;t!==n&&(o=(e=(i=this).vMi).getDataView(),u=(r=i.OIi(t,n)).columnInfos,c=r.crossColumnCountBeforeFromRow,a=r.crossColumnCountBeforeToRow,h=t-1-(l=r.crossRelationFieldCountBeforeFromRow),v=n-1-(f=r.crossRelationFieldCountBeforeToRow),(g=t-1+(d=i.pIi(o).length||0)-l+c)!==(M=n-1+d-f+a)&&(I=1,i.CMi[t].isRelationship&&1===i.CMi[t].textIndent&&(N=i.kIi(o,g),I=u.filter((function(t){return t.RBt===N})).length),e.zA({cmd:s.VIEW_MOVE_COLUMN,fromColumnOptionIndex:h,toColumnOptionIndex:v,fromColumnIndex:g,toColumnIndex:M,count:I}),i.xxi(),i.ZS()))},t.prototype.sIi=function(t){var n=this,i=n.EMi;n.options.crossAreaVisible=t,t?i.classList.remove(rt):i.classList.add(rt)},t.prototype.setGroupAreaVisible=function(t){this.MIi(t)},t.prototype.MIi=function(t){var n=this,i=n.SMi,e=n.GMi;n.options.groupAreaVisible=t,t?(i.classList.remove(rt),e.classList.remove(rt)):(i.classList.add(rt),e.classList.add(rt))},t.prototype.AIi=function(t,n,i,e){var o=this,r=o.SIi,u=document.documentElement,c=u&&u.scrollTop||0,a=u&&u.scrollLeft||0;r&&r.parentElement&&r.parentElement!==e&&(r.parentElement.removeChild(r),r=this.SIi=void 0),r||((r=o.SIi=document.createElement("span")).className="gc-table-sheet-move-span",e.appendChild(r)),r.textContent=n,r.style.top=t.pageY+5-c-i.top+"px",r.style.left=t.pageX-50-a-i.left+"px",r.style.display="block"},t.prototype.fIi=function(t,n){var i=t.uw();return t.hitTest(n.pageX-i.left,n.pageY-i.top,!1)},t.prototype.PMi=function(){var t=this,n=t.Tp(),i=t.vMi;i.bind(o.Events.ColumnChanged+g,(function(e,r){var u,c,a,s=r.sheetArea,l=i.getDataView();1!==s&&3!==s||("isVisible"===r.propertyName?(u=r.sheet.getValue(0,r.col,o.SheetArea.colHeader),(c=t.nv(l,u))>=0&&(n.suspendPaint(),n.suspendEvent(),n.setValue(c,0,r.newValue),n.resumeEvent(),n.resumePaint())):"addColumns"!==r.propertyName&&"deleteColumns"!==r.propertyName||(n.suspendPaint(),n.suspendEvent(),a=t.RIi(i),t.FMi(n,a),n.resumeEvent(),n.resumePaint()),t.CMi=t.HMi(l))}))},t.prototype.Tp=function(){if(this.mMi){var t=(0,o.GC$)(this.mMi).data("workbook");if(t)return t.getSheet(0)}return null},t.prototype.RIi=function(t){var n,i,e,r,u,c,a,s=t.getDataView();if(s){for(i=[(n=this.HMi(s))[0]],r=0,u=(e=t.Mf).getColumnCount();r<u;r++)c=e.getValue(0,r,o.SheetArea.colHeader),(a=this.nv(s,c))>=0&&i.push(n[a]);return i}return[]},t.prototype.nv=function(t,n){var i,e;if(t)for(i=t.getColumnInfos(!0),e=0;e<i.length;e++)if(i[e].caption===n||i[e].value===n)return e+1;return-1},t.prototype.kIi=function(t,n){var i=t.BPt(n),e=t.yLt[i];return e&&e.RBt},t.prototype.HMi=function(t,n){var i,e,o,r,u,c,a,s,l,f,d,h,v,g,M,D,b=this;if(t){for(i=[],e=!1,o=t.getColumnInfos(!0,!0),r=!N(n),u=function(){return r&&i.length-1>=n},c=0;c<o.length;c++){if("string"==typeof(a=o[c]).value&&0===a.value.trim().indexOf("="))i.push({value:a.value,textIndent:1,checkStatus:!1!==a.visible,isCalculateColumn:!0});else if(N(a.cross))if("string"==typeof a.value&&t.FPt(a.value)&&1===a.value.split(".").length)if(o[c].isRelationship){for(s=a.value,l=!this.PIi(o,s)||!1,i.push({value:b.$t(a),textIndent:1,checkStatus:!1!==a.visible,setCollapsed:l,isRelationship:!0}),f=b.WIi(a.value,b.YMi,t),d=0,h=[],v=c+1,g=function(){var t,n=o[v].value;"string"==typeof n&&(t={value:n.substring(n.indexOf(".")+1),textIndent:2,checkStatus:!1!==o[v].visible,needCheckBox:!0,isRelationship:!0,isViewColumnOption:!0},(d=f.findIndex((function(t){return t.nIi===n})))>-1?f[d]=Mt(Mt(Mt({},t),f[d]),{checkStatus:t.checkStatus}):h.push(t)),v++};this.YIi(o,v,s);)g();f.forEach((function(t){return i.push(t)})),h.forEach((function(t){return i.push(t)})),c=v-1}else i.push({value:b.$t(a),textIndent:1,checkStatus:!1!==a.visible}),b.WIi(a.value,b.YMi,t).forEach((function(t){return i.push(t)}));else{if("string"==typeof a.value&&"_ganttColumn"===a.value){if(u())return a;continue}M=void 0,D=void 0,"string"==typeof a.value&&-1===a.value.indexOf(".")&&(M=t.isLookupField(a.value),a.yBt=M,D=a.value),i.push({value:b.$t(a),textIndent:1,checkStatus:!1!==a.visible,yBt:M,nIi:D})}else i.push({value:b.$t(a),bMi:a.cross,RBt:a.RBt,textIndent:1,checkStatus:!1!==a.visible});if((N(a.visible)||a.visible)&&(e=!0),u())return a}return r?I:(i.unshift({value:t.name,textIndent:0,checkStatus:e}),i)}return[]},t.prototype.PIi=function(t,n){var i,e;for(i=0;i<t.length;i++)if("string"==typeof(e=t[i]).value&&-1!==e.value.indexOf(n)&&!1!==e.visible)return!0;return!1},t.prototype.YIi=function(t,n,i){if(n>=t.length)return!1;var e=t[n];return!e.cross&&!e.isCross&&(-1!==e.value.indexOf(i)&&-1===e.value.indexOf("="))},t.prototype.$t=function(t){var n,i,o,r=[],u=t.value instanceof Function?t.value.name:t.value,c=(0,e.tIi)(t.caption)||u;return r.push({text:c}),(n=this.options.showSource)===ht.field?"="!==u[0]&&(i=u):n===ht.formula?"="===u[0]&&(i=u):n===ht.all&&(i=u),i&&(o="("+i+")",r.push({style:{foreColor:"lightgrey"},text:o})),{richText:r}},t.prototype.VMi=function(t,n){t.options.showVerticalScrollbar=n},t.prototype.FMi=function(t,i){var r,u,c,l,f,d,h,v=this,g=i.length,M=t.outlineColumn,D=this.options,b=D.showEditButton,m=this.vMi,C=m.Mf,w={};for(t.suspendEvent(),t.suspendPaint(),r=0;r<t.getRowCount();r++)M.getCollapsed(r)&&(M.setCollapsed(r,!1),w[(u=t.getCell(r,1)).value()]=u.textIndent()),i[r]&&!N(i[r].setCollapsed)&&i[r].setCollapsed&&(u=t.getCell(r,1)).textIndent()<=1&&(w[u.value()]=u.textIndent());for(M.reset(),t.setRowCount(g),t.clear(0,0,g,2,3,o.StorageType.data|o.StorageType.style),c=0;c<g;c++)l=i[c],u=t.getCell(c,1).textIndent(l.textIndent),l.isCalculateColumn?t.setFormula(c,1,l.value):u.value(l.value),(l.textIndent<=1||l.needCheckBox)&&t.getCell(c,0).value(l.checkStatus).cellType(new a.CheckBox),f=[],bt(l)&&f.push({useButtonStyle:!1,hoverBackColor:"white",imageType:o.ButtonImageType.custom,imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+bG9vayB1cCBjb2x1bW4xPC90aXRsZT4KICAgIDxnIGlkPSJsb29rLXVwLWNvbHVtbjEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0zLDMgTDUsMyBMNSw0IEwzLDQgTDMsMyBaIE0zLDYgTDUsNiBMNSw3IEwzLDcgTDMsNiBaIE0zLDkgTDUsOSBMNSwxMCBMMywxMCBMMyw5IFogTTMsMTIgTDUsMTIgTDUsMTMgTDMsMTMgTDMsMTIgWiBNNiwzIEwxNCwzIEwxNCw0IEw2LDQgTDYsMyBaIE02LDYgTDE0LDYgTDE0LDcgTDYsNyBMNiw2IFogTTYsOSBMMTQsOSBMMTQsMTAgTDYsMTAgTDYsOSBaIE02LDEyIEwxNCwxMiBMMTQsMTMgTDYsMTMgTDYsMTIgWiIgaWQ9IuW9oueKtue7k+WQiCIgZmlsbD0iIzY2NjY2NiI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=",visibility:o.ButtonVisibility.always,iMe:!0,imageSize:{height:20,width:20}}),Dt(l)&&(f.push({useButtonStyle:!1,hoverBackColor:"white",imageType:o.ButtonImageType.custom,imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+Y3Jvc3MgY29sdW1uMTwvdGl0bGU+CiAgICA8ZyBpZD0iY3Jvc3MtY29sdW1uMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Iue8lue7hCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDIuMDAwMDAwKSIgZmlsbD0iIzY2NjY2NiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMywwIEwxMywzLjUzMSBMMTIsMi42OTcgTDEyLDEgTDksMSBMOSw1IEw4LDUgTDgsMSBMNSwxIEw1LDEwIEw0LDEwIEw0LDEgTDEsMSBMMSwxMSBMMy42OTcsMTEgTDQuNTMxLDEyIEwwLDEyIEwwLDAgTDEzLDAgWiBNMTMsOS40NjggTDEzLDEyIEwxMC40NjksMTIgTDExLjMwMywxMSBMMTIsMTEgTDEyLDEwLjMwMiBMMTMsOS40NjggWiIgaWQ9IuW9oueKtue7k+WQiCIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgIDxwb2x5Z29uIGlkPSLlvaLnirbnu5PlkIgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgOS4wMDAwMDApIHNjYWxlKC0xLCAtMSkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC05LjAwMDAwMCkgIiBwb2ludHM9IjggMTQgNSAxMS41IDggOSA4IDExIDEyIDExIDEyIDcgMTAgNyAxMi41IDQgMTUgNyAxMyA3IDEzIDEyIDggMTIiPjwvcG9seWdvbj4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==",visibility:o.ButtonVisibility.always,iMe:!0,imageSize:{height:16,width:16}}),f.push({imageType:o.ButtonImageType.clear,visibility:o.ButtonVisibility.always,iMe:!0,imageSize:{height:18,width:18},command:function(t,n,e,o){var r,u,c=m.getDataView();if(c){for(r=c.uPt(i.filter((function(t){return mt(t)})).indexOf(i[n])),m.zA({cmd:s.REMOVE_CROSS_COLUMN,index:r}),v.cIi=I,v.oIi=I,v.NIi=void 0,v.mIi=void 0,u=0;u<i.length;u++)if(i[u]&&mt(i[u])){t.t4(u,1);break}v.AMi=!0,v.MIi(!0),v.sIi(!1),v.AMi=!1,v.ZS()}}})),b&&f.push({imageType:o.ButtonImageType.custom,imageSrc:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE5XzE1MTEpIj4KP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IDE1Ljk4MTYgMi45NzEyMSAxNS45Mzc0IDMuMDc3ODJDMTUuODkzMiAzLjE4NDQzIDE1LjgyODUgMy4yODEyOCAxNS43NDY4IDMuMzYyODRMMTMuODg1IDUuMjI0NkwxMy44ODQyIDUuMjI1NDhWNS4yMjU0OFoiIGZpbGw9IiM2NjY2NjYiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xOV8xNTExIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJ0cmFuc3BhcmVudCIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",visibility:o.ButtonVisibility.onSelected,iMe:!0,command:function(n,i,r,u){var c,a,s,l,f,d,h,v,g,M,I=m.getDataView();if(I&&(c=t.getText(i,r)))for(0!==c.indexOf("=")?(s=c.indexOf("("))>=0&&(c=c.substring(0,s)):a=!0,l=I.getColumnInfos(),f=0;f<l.length;f++)if(d=l[f],h=a?d.value:(0,e.tIi)(d.caption||d.value),!d.isGroup&&h===c){v=f,g=C.getSelections(),M=[(0,o.Ec)(-1,v,-1,1)],C.EA(g,M),C.setSelection(-1,v,-1,1),C.showCell(C.Tb||0,v,o.VerticalPosition.nearest,o.HorizontalPosition.nearest),C.jA(g);break}}}),f.length>0&&u.cellButtons(f);for(d in t.outlineColumn.options({columnIndex:1,showIndicator:!0}),t.outlineColumn.options().collapseIndicator=n.ARROW_RIGHT,t.outlineColumn.options().expandIndicator=n.ARROW_DOWN,t.outlineColumn.refresh(),t.showRowOutline(!1),M=t.outlineColumn,w)if(w.hasOwnProperty(d))for(h=w[d],r=0;r<t.getRowCount();r++)if((u=t.getCell(r,1)).value()===d&&u.textIndent()===h){M.setCollapsed(r,!0);break}t.resumePaint(),t.resumeEvent()},t.prototype.kMi=function(){var t,n,i,r,u,c,a=this,l=a.vMi,f=a.rIi,d=l.getDataView();d&&a.options.groupAreaVisible&&(t=d.oPt,n=(0,o.RF)(l.lMi)||[],f?(i=void 0,i=a.TIi?this.CMi.filter((function(t){return mt(t)})).indexOf(this.CMi[a.aIi]):this.CMi.indexOf(this.CMi[a.aIi-1]),t&&t.length&&(i=d.ALt()[i]),r=d.ILt[i],u=r&&r.value,0===(c=n.filter((function(t){return t.field===u}))).length&&(n.push({caption:a.Ano?f:(0,e.hze)(f),field:u}),l.zA({cmd:s.GROUP_OPTIONS,groupOptions:n}),a.ZS())):a.updatePanelLayout())},t.prototype.pIi=function(t){var n,i,e,o,r;if(t||(t=this.eIi()),n=[],(i=t&&t.getColumnInfos())&&i.length)for(e=0,o=i;e<o.length;e++)(r=o[e]).isGroup&&n.push(r);return n},t.prototype.yMi=function(){var t=this.options.fieldAreaVisible,n=this.options.crossAreaVisible,i=this.options.groupAreaVisible,o="",r="",u="",c="";return o='<div class="'.concat(U,'">\n <span class="gc-table-sheet-field-header">').concat((0,e.getSR)().GroupPanelFieldsHeader,"\n <span role='button' aria-label='").concat((0,e.getSR)().GroupPanelAddCalculateColumn,"' class=\"").concat(V,"\" title='").concat((0,e.getSR)().GroupPanelAddCalculateColumn,"'></span>\n </span>\n <div class=\"").concat(m,'"></div>\n </div>'),r=this.FIi(n),u='<div class="'.concat(w,'">\n <span class="gc-table-sheet-group-header">').concat((0,e.getSR)().GroupPanelGroupsHeader,'</span>\n <ul class="').concat(y,"\" role='listbox' aria-label='").concat((0,e.getSR)().GroupPanelGroupsHeader,"' >\n <span role='option' aria-label='").concat((0,e.getSR)().GroupPanelTip,'\' class="gc-table-sheet-group-tip">').concat((0,e.getSR)().GroupPanelTip,"</span>\n </ul>\n </div>"),c='<div class="'.concat(Z,'"></div>'),!1===t&&(o=o.replace(U,U+" "+rt),u=u.replace(w,"".concat(w," half-height")),c=c.replace(Z,"".concat(Z," half-height"))),!1===i&&(u=u.replace(w,w+" "+rt),c=c.replace(Z,Z+" "+rt)),!1===n&&!1===i&&(o=o.replace(U,"".concat(U," total-height"))),'<div class="'.concat(b,'">\n ').concat(o,"\n ").concat(u,"\n ").concat(r,"\n ").concat(c,'\n </div>\n <div class="').concat(F,'" style="display:none;"></div>')},t.prototype.updatePanelLayout=function(){this.IIi(),this.LIi(),this.xIi(),this._Mi()},t.prototype.getBindingTable=function(){return this.vMi},t.prototype.LIi=function(){this.SWt(),this.JIi(),this.Fz()},t.prototype.xIi=function(){var t,n,i,e=this;this.GMi&&(this.XIi(),n=function(){var t;return null===(t=e.GMi)||void 0===t?void 0:t.querySelector(".".concat(Y))},i=null===(t=n())||void 0===t?void 0:t.scrollTop,this.GMi.innerHTML=this.KIi(),n()&&(n().scrollTop=i),this._Ii(),this.qIi=!1)},t.prototype.JIi=function(){var t,n,i,e,o=this.vMi,r=o.lMi,u=this.xMi;if(r&&u){for(t="",n=void 0,i=r.length,this.jMi=this.jMi>=i?i-1:this.jMi,e=0;e<r.length;e++)n=r[e],t+=this.$Ii(n,e);u.innerHTML=t,u.style.border="solid 1px lightgrey",this.igi=u.querySelector(".".concat(x))}else this.tgi()},t.prototype._Mi=function(){var t,n;this.mMi&&(t=this.vMi,n=this.HMi(t.getDataView()),this.CMi=n,this.FMi(this.Tp(),n))},t.prototype.tgi=function(){var t,n=this.xMi;n&&(n.innerHTML="<span role='option' aria-label='".concat((0,e.getSR)().GroupPanelTip,'\' class="gc-table-sheet-group-tip">').concat((0,e.getSR)().GroupPanelTip,"</span>"),n.style.border="",this.jMi=0),(t=this.GMi)&&(t.innerHTML="")},t.prototype.Fz=function(){var t,n,i=this,e=i.vMi,r=i.BMi,u=r&&r.Dg(),c=(0,o.RF)(e.lMi),a=i.xMi;a&&(t=i.igi,n=i.LMi.getBoundingClientRect(),(0,o.GC$)(".".concat(A),a).bind("click",(function(t){var n,e,r=t.target.className;r===j?(e=(n=(0,o.GC$)(t.target).parent()).attr(T),i.ngi(e)):r===at&&(e=(n=(0,o.GC$)(t.target).parent()).attr(T),i.rno(e))})).bind("mousedown",(function(t){var e,r=t.target,u=t.target.className,c=!1;u.indexOf(j)>-1||(u.indexOf(E)>-1?(r=r.parentElement,c=!0):u.indexOf(A)>-1&&(c=!0),c&&(e=(0,o.GC$)(r).attr(T),i.egi=e,n=i.LMi.getBoundingClientRect(),i.jMi!==+e&&(i.jMi=+e,i.XIi(),i.ogi(r),i._Ii()),i.ugi=r))})),i.cgi=function(t){var r,s,l,f,d,h,v,g,N,D=i.egi;D!==I&&D!==M&&(r=(c=(0,o.RF)(e.lMi))[D].caption||c[D].field,i.AIi(t,r,n,i.LMi),u&&(u.style.cursor="move"),i.Ti.style.cursor="move",f=!1,(l=(s=t.target).parentElement)&&l.className.indexOf(A)>-1?(s=l,f=!0):s.className.indexOf(A)>-1&&(f=!0),d=i.ugi,f&&d!==s&&((h=s.getAttribute(T))<D?(d.className=d.className.replace(W,"").replace(H,"").trim(),s.className=s.className+" ".concat(W)):h>D?(d.className=d.className.replace(W,"").replace(H,"").trim(),s.className=s.className+" ".concat(H)):d.className=d.className.replace(W,"").replace(H,"").trim(),i.ugi=s),g=(v=a.getBoundingClientRect()).top+document.documentElement.scrollLeft,N=v.bottom+document.documentElement.scrollTop,t.pageY<g?a.scrollTop=a.scrollTop-10:t.pageY>N&&(a.scrollTop=a.scrollTop+10))},i.rgi=function(t){var n,r,a,l,f=i.egi,d=t.target;c=(0,o.RF)(e.lMi),f!==I&&(i.ugi.className=i.ugi.className.replace(W,"").replace(H,"").trim(),i.zIi(d,i.xMi)?(n=i.ugi)&&(r=(0,o.GC$)(n).attr(T))!==f&&(a=c.splice(f,1)[0],c.splice(r,0,a),i.jMi=+r,e.zA({cmd:s.GROUP_OPTIONS,groupOptions:c}),i.ZS()):i.ngi(f)),i.egi=I,i.ugi=I,u&&(u.style.cursor="default"),i.Ti.style.cursor="default",(l=i.SIi)&&(l.style.display="none")},document.addEventListener("mouseup",i.rgi,!0),document.addEventListener("mousemove",i.cgi,!0),(0,o.GC$)(".".concat(x)).bind("blur",(function(n){"none"!==t.style.display&&(i.agi(n.target),t.style.display="none")})).bind("keydown",(function(n){13===n.keyCode?(i.agi(n.target),t.style.display="none"):27===n.keyCode&&(t.style.display="none")})),(0,o.GC$)(".".concat(y)).bind("dblclick",(function(t){var n;t.target.className===E&&i.sgi(t)})))},t.prototype.Xeo=function(t){return t?t.getColumnInfos(!0,!0).filter((function(t){return N(t.cross)})).map((function(t){var n=t.value instanceof Function?t.value.name:t.value;return{text:(0,e.tIi)(t.caption)||n,value:n}})):[];var n},t.prototype.Mgi=function(){var t,n,i,e=document.createElement("li");return e.className=S,t=this.Xeo(this.vMi.getDataView()),n=this.vMi.options.groupLayout.mode===r.GroupLayoutMode.tabular,i=this.vMi.options.groupLayout.position,e.innerHTML=ft({sliceField:"",caption:"",formula:"",columnList:t,showSlice:n,position:i}),e},t.prototype.ogi=function(t){var n,i,e=this,o=e.xMi,r=o.querySelectorAll(".".concat(A));for(n in r)r.hasOwnProperty(n)&&((i=r[n]).className=i.className.replace("selected","").trim(),i===t&&(i.className=i.className+" selected"));this.GMi&&(this.GMi.innerHTML=this.KIi(),this.qIi=!1)},t.prototype.Nuo=function(t){return this.vMi.Nuo(t)},t.prototype.Iuo=function(t){return this.vMi.Iuo(t)},t.prototype.KIi=function(){var t,n,i,o,u,c,a,s,f,d=this,h=d.jMi,v="",g=d.vMi,M=g.lMi,I=M&&M[h],N=I&&I.field,D="",b=I&&I.summaryFields,m=this.Xeo(this.vMi.getDataView()),C=g.options.groupLayout&&(0,l.isGroupOutlineCondensedLayout)(g.options.groupLayout.mode);if(b)for(n=0;n<b.length;n++)u="",(o=(i=b[n]).slice)&&(u="string"==typeof o?o:o.field),c=C?i.caption:i.caption||i.formula,a=i.relateTo,s=i.position||(null===(t=this.vMi.options.groupLayout)||void 0===t?void 0:t.position)||"header",a||(a=this.vMi.getDataView().ucr(i.formula,!0)[0]),f=this.vMi.options.groupLayout.mode===r.GroupLayoutMode.tabular,D+='<li class="'.concat(S,'" ').concat(T,"=").concat(h," ").concat(L,"=").concat(n,">\n ").concat(ft({formula:d.Nuo(i.formula),caption:c,sliceField:d.Nuo(u),columnList:m,relateTo:a,position:s,showSlice:f}),"\n </li>");return N&&(v='<div class="gc-table-sheet-summary-header">\n <span class="gc-table-sheet-summary-label">'.concat(N,'</span>\n <span class="').concat(P,'" title="').concat((0,e.getSR)().GroupPanelItemAddCalculation,'"></span>\n <span class="gc-table-sheet-summary-remove" title="').concat((0,e.getSR)().GroupPanelItemRemoveAll,'"></span>\n </div>\n <ul class="').concat(Y,'">\n ').concat(D,"\n </ul>")),v},t.prototype._Ii=function(){var t,n,i=this,e=i.pMi;(0,o.GC$)(".".concat(Y)).bind("change",(function(e){var r,u,c,a,l,f,d,h,v,g,M,N,D,b,m,C=(0,o.GC$)(e.target),w=C.attr("current-data"),y=C.val(),x=C.parent();if(w!==y&&x&&x[0]&&"="!==y){if(r=i.vMi,u=(0,o.RF)(r.lMi),c=i.jMi,a=u&&u[c],l=JSON.parse(JSON.stringify(u)),d=(f=x.parent()).attr(L),v=(h=dt(f)).formulaInputValue,g=h.captionInputValue,M=h.sliceInputValue,N=h.relateToValue,D=h.positionValue,a.summaryFields||(a.summaryFields=[]),M&&""!==M){if(-1===M.indexOf("(")&&(b=M.replace("=",""),M=b,!i.Igi(b)))return}else M=I;(m=a.summaryFields[d])?(m.formula=i.Iuo(v),m.caption=g||v,m.slice=i.Iuo(""===M?I:M),m.position=D,m.relateTo=N):a.summaryFields.push({formula:i.Iuo(v),caption:g||v,slice:i.Iuo(""===M?I:M),position:D,relateTo:N});try{r.zA({cmd:s.GROUP_OPTIONS,groupOptions:u})}catch(t){r.groupBy(l)}i.ZS()}i.ggi(t,n)})),(0,o.GC$)(".".concat(B)).bind("focus",(function(r){var u=r.target,a=(0,o.GC$)(u).val()||"=";(t=new c.FormulaTextBox(u,M,M)).Ngi=!0,n=new o.Workbook(e,{allowDynamicArray:!0,allowUndo:!1}),i.XMi(n),i.lgi(n),t.workbook(n),t.text(a)})).bind("blur",(function(e){var r=(0,o.GC$)(e.target),u;"="===r.val()&&r.val(""),i.ggi(t,n)})).bind("keydown",(function(e){13===e.keyCode&&(i.ggi(t,n),e.target.blur())})),(0,o.GC$)(".".concat(R)).bind("focus",(function(r){var u=r.target,a=(0,o.GC$)(u).val()||"=";(t=new c.FormulaTextBox(u,M,M)).Ngi=!0,n=new o.Workbook(e,{allowDynamicArray:!0,allowUndo:!1}),i.XMi(n),i.lgi(n),t.workbook(n),t.text(a)})).bind("blur",(function(e){var r=(0,o.GC$)(e.target),u;"="===r.val()&&r.val(""),i.ggi(t,n)})).bind("keydown",(function(e){13===e.keyCode&&(i.ggi(t,n),e.target.blur())})),(0,o.GC$)(".".concat(Z)).bind("mouseup",(function(e){var r,u,c,a,l,f,d,h,v,g,M,I=e.target,N=I.className;"gc-table-sheet-summary-remove"===N?(r=i.vMi,u=(0,o.RF)(r.lMi),c=i.jMi,(a=u&&u[c]).summaryFields=[],r.zA({cmd:s.GROUP_OPTIONS,groupOptions:u}),i.ZS()):N===P?(f=(l=i.GMi).querySelector(".".concat(Y)))&&!i.qIi&&(i.qIi=!0,i.XIi(),d=i.Mgi(),f.appendChild(d),i._Ii()):"gc-table-sheet-summary-item-remove-icon"===N&&(v=(h=(0,o.GC$)(e.target)).parent())&&v[0]&&(r=i.vMi,u=(0,o.RF)(r.lMi),c=i.jMi,a=u&&u[c],(M=(g=v.parent()).attr(L))&&a.summaryFields?(a.summaryFields.splice(parseInt(M,10),1),r.zA({cmd:s.GROUP_OPTIONS,groupOptions:u}),i.ZS()):M||(g.remove(),i.ggi(t,n),i.qIi=!1))}))},t.prototype.lgi=function(t){var n=t.getActiveSheet();delete n.Qy().PUt.enter,n.setRowCount(1),n.setColumnCount(1)},t.prototype.ggi=function(t,n){t&&t.destroy&&t.destroy(),n&&n.destroy&&n.destroy()},t.prototype.Igi=function(t){var n,i=this.vMi.getDataView(),e=i&&i.getColumnInfos(!0).map((function(t){return t.value}));return!!(e&&e.indexOf(t)>-1)},t.prototype.XMi=function(t){var n,i,o,r,u,c=this.vMi,a=c.getDataView(),s=a&&a.getColumnInfos(!0,!0);if(s)for(this.Dgi&&(n=this.Dgi.map((function(t){return{value:t.attribute}})),s=s.concat(n)),i=0,o=s;i<o.length;i++)(u=(r=o[i]).value)&&"string"==typeof u&&-1===u.indexOf("=")&&r.cross===I&&t.zwt(t.hyt,u,"=A1",0,0,!0,(0,e.getSR)().GroupPanelDropDownCalcField+" "+u)},t.prototype.XIi=function(){(0,o.GC$)(".".concat(Y)).unbind("change"),(0,o.GC$)(".".concat(B)).unbind("focus"),(0,o.GC$)(".".concat(B)).unbind("blur"),(0,o.GC$)(".".concat(B)).unbind("keydown"),(0,o.GC$)(".".concat(R)).unbind("focus"),(0,o.GC$)(".".concat(R)).unbind("blur"),(0,o.GC$)(".".concat(R)).unbind("keydown"),(0,o.GC$)(".".concat(Z)).unbind("mouseup")},t.prototype.sgi=function(t){var n=this,i=n.igi,e=(0,o.GC$)(t.target).parent(),r=e.attr(z);i.style.display="inline",i.value=r,i.style.left="",i.style.width="",e.append(i),i.focus()},t.prototype.ngi=function(t){var n=this,i=n.vMi,e=(0,o.RF)(i.lMi),r=e[t],u=r&&r.field;(e=e.filter((function(t){return t.field!==u}))).length?i.zA({cmd:s.GROUP_OPTIONS,groupOptions:e}):i.zA({cmd:s.GROUP_OPTIONS,groupOptions:[]}),n.ZS()},t.prototype.rno=function(t){var n=this.vMi,i=n.lMi[t];n.ki(o.Events.TableSheetGroupFieldSetting,{groupOption:i})},t.prototype.SWt=function(){var t=this,n=t.xMi;(0,o.GC$)(".".concat(A),n).unbind("click"),(0,o.GC$)(".".concat(A),n).unbind("mousedown"),(0,o.GC$)(".".concat(y)).unbind("dblclick"),(0,o.GC$)(".".concat(x)).unbind("blur"),(0,o.GC$)(".".concat(x)).unbind("keydown"),(0,o.GC$)(".".concat(P)).unbind("click"),document.removeEventListener("mouseup",t.rgi,!0),document.removeEventListener("mousemove",t.cgi,!0)},t.prototype.agi=function(t){var n,i,r,u,c,a,l,f,d,h=this,v=t.value;v&&(i=(n=(0,o.GC$)(t).parent()).attr(p),r=n.attr(z),u=n.attr(O),c=n.attr(k),a=n.attr(T),l=n.attr(L),f=h.vMi,d=(0,o.RF)(f.lMi),i||r?v!==r&&d&&(d[a].caption=(0,e.hze)(v),f.zA({cmd:s.GROUP_OPTIONS,groupOptions:d})):(u||c)&&v!==u&&d&&(d[a].summaryFields[l].caption=v,f.zA({cmd:s.GROUP_OPTIONS,groupOptions:d})),h.ZS())},t.prototype.$Ii=function(t,n){var i=t.field,o=(0,e.tIi)(t.caption)||i,r=n===this.jMi?" selected":"";return'<li class="'.concat(A).concat(r,"\" role='option' aria-label='").concat(o,"' ").concat(""===r?"":'aria-selected="true"'," ").concat(z,'="').concat(d(o),'" ').concat(p,'="').concat(i,'" ').concat(T,"=").concat(n,'>\n <span class="').concat(E,'">').concat(d(o),'</span>\n <span role="button" aria-label="').concat((0,e.getSR)().GroupPanelItemRemove,'" class="').concat(j,'" title="').concat((0,e.getSR)().GroupPanelItemRemove,'"></span>\n ').concat(lt(this.options.showGroupSetting,'<span role="button" aria-label="'.concat((0,e.getSR)().GroupPanelSetting,'" class="').concat(at,'"></span>')),'\n </li>\n <input class="').concat(x,'" display="none" aria-label=\'').concat((0,e.getSR)().GroupPanelGroupName,"'></input>")},t.prototype.zIi=function(t,n){for(;t;){if(t===n)return!0;t=t.parentElement}return!1},t.prototype.BIi=function(t,n){var i=this,e=i.vMi,o=e.getDataView(),r=t||o.ILt,u=o.aPt,c=null!=n?n:o.LEt;e.zA({cmd:s.RESET_NEW_VIEW,newConfig:{columnInfoOptions:r,includeDefaultColumns:u,options:c}}),i.ZS()},t.prototype.Cno=function(t){var n,i,e,r,u,c,a,s,l,d={};for(n=0;n<t.ILt.length;n++)!((i=t.ILt[n]).style instanceof o.Style)&&i.style&&i.style.cellType&&i.style.cellType instanceof f&&(d[n]||(d[n]={}),d[n].style=i.style,i.style=new o.Style(i.style)),!(i.headerStyle instanceof o.Style)&&i.headerStyle&&i.headerStyle.cellType&&i.headerStyle.cellType instanceof f&&(d[n]||(d[n]={}),d[n].headerStyle=i.headerStyle,i.headerStyle=new o.Style(i.headerStyle));for(n in e=h(t.ILt),d)if(d.hasOwnProperty(n)){if((r=d[n]).style){if((u=e[n])&&u.style){for(a in c={},r.style)r.style.hasOwnProperty(a)&&(c[a]=u.style[a]);u.style=c}t.ILt[n]&&(t.ILt[n].style=r.style)}if(r.headerStyle){if((s=e[n])&&s.headerStyle){for(a in l={},r.headerStyle)r.headerStyle.hasOwnProperty(a)&&(l[a]=s.headerStyle[a]);s.headerStyle=l}t.ILt[n]&&(t.ILt[n].headerStyle=r.headerStyle)}}return e},t.prototype.dgi=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,v=this,g=v.vMi,M=g.getDataView(),D=v.Cno(M),b=null!=n?n:(0,o.RF)(M.LEt),m=v.cIi,C=b&&b.cross||{};for(t&&D.push(m[m.length-1]),i=0,e=0;i<D.length;i++)r=void 0,N(D[i].cross)||(r=m[e],e++),r&&((u=r.cross.attributes)&&(r.cross.attributes=u.filter((function(t){return t}))),c=r.cross.hgi,a=r.cross.Zc,s=r.cross.Tgi,l=r.cross.bgi,f=xt(r),s?(delete f.cross.Tgi,delete r.cross.Tgi,a?(C[a]||(v.Agi(c),f.cross.vgi=f.vgi,C[a]=f.cross),f.cross=a,r.cross=a):c&&C[c]&&(r.cross=f.cross=C[c])):l&&(v.Agi(c),(d=C[a])?(r.vgi=d.vgi,r.cross=a,f.cross=a):(delete r.cross.jgi,delete f.cross.jgi,delete r.cross.Zc,delete f.cross.Zc)),r.cross.jgi!==I&&(h=r.cross.jgi,delete r.cross.jgi,delete f.cross.jgi,C[h]=r.cross,f.cross=h,r.cross=h),delete f.cross.hgi,delete f.cross.Tgi,delete f.cross.bgi,delete f.cross.jgi,delete r.cross.hgi,delete r.cross.Tgi,delete r.cross.bgi,delete r.cross.jgi,delete f.vgi,D[i]=f);Object.keys(C).length>0&&(b.cross=C),v.BIi(D,b),v.options.crossAreaVisible||(v.cIi=I,v.oIi=I,v.NIi=void 0,v.mIi=void 0)},t.prototype.Agi=function(t){var n,i,e,o=this,r=o.vMi.getDataView().LEt,u=r&&r.cross||{},c=o.cIi;if(t&&u[t]){for(n=0,i=0;i<c.length&&((e=c[i]).cross.hgi!==t&&e.cross!==t||!(++n>=2));i++);n<2&&delete u[t]}},t.prototype.CIi=function(t){var n,i,e,o,r,u,c=this,a=c.uIi;if(a&&c.zIi(t.target,c.zgi())){if(!c.oIi)return;if(!c.mLt(a))return;(n=c.cIi&&0===c.cIi.length)&&(c.cIi=c.lIi()),i=c.cIi,e={value:a,cross:{over:c.oIi}},i&&i.length?i.push(e):c.cIi=[e],c.NIi=c.cIi.length-1,c.IIi(),r=(o=c.cIi[c.NIi])&&o.cross,c.Cgi(r,o.value)&&(c.dgi(!0),(u=c.Tp()).t4(c.CMi.length-1,0))}},t.prototype.wgi=function(t){var n,i,e,o=this,r=o.YMi,u="";if(r&&r[t])for(i=(n=r[t].level)-1,u=r[t].name,t--;i>=0&&t>=0;)(e=r[t])&&e.level===i&&(i--,u=e.name+"."+u),t--;return u},t.prototype.FIi=function(t){var n=t?"":" "+rt;return'<div class="'.concat(w," ").concat(C," ").concat(J).concat(n,'">\n ').concat(this.ygi(),"\n </div>")},t.prototype.ygi=function(){return'<span class="gc-table-sheet-group-header">'.concat((0,e.getSR)().CrossColumnCrossHeader,'</span>\n <div class="').concat(X,'">').concat(this.mgi(),"</div>")},t.prototype.IIi=function(){if(this.ZMi){this.Lgi();var t=this.mgi();t&&(this.ZMi.innerHTML=t),this.OMi=this.ZMi.querySelector(".".concat(q)),this.xgi()}},t.prototype.mgi=function(){var t,n,i,o,r,u,c,a,s,l,f,d,h,v,g,M,N,D,b,m,C,w,y=this,x="",A=y.oIi,j=y.vMi.getDataView(),T=j&&j.LEt||{};if((void 0!==y.NIi&&y.cIi&&y.cIi.length||A)&&(i=y.cIi&&y.cIi[y.NIi]||{value:"",cross:{over:A}})){if(o=y.gIi(i.cross),c=(u=!wt(r=i.value))?"":"disabled aria-disabled='true'",n=j.isLookupRelationField(o.over))if(t=i.vgi,o.attributes){if(!t)for(t=i.vgi=y.Sgi(o.over).map((function(t){var n=It(o.attributes,(function(n){return Nt(n)===Nt(t)})),i=n>-1;return{attribute:i?o.attributes[n]:t,checked:i}})),a=function(n){var i,e=o.attributes[n],r=It(t,(function(t){return Nt(t.attribute)===Nt(e)})),u=function(n){var i,e=o.attributes[n],u=It(t,(function(t){return Nt(t.attribute)===Nt(e)}));r<u&&(i=t[u],t.splice(u,1),t.splice(r,0,i),r+=1)};for(i=n-1;i>=0;i--)u(i)},s=o.attributes.length-1;s>=0;s--)a(s)}else o.attributes=y.Sgi(o.over),t=i.vgi=o.attributes.map((function(t){return{attribute:t,checked:!0}}));else t=j.getLookup(o.over).map((function(t){return t instanceof Date&&(t=t.toString()),{attribute:t}}));for(l="",f=n?"":" "+rt,d=n?"":" "+rt,y.Dgi=t||[],y.mIi===I&&(y.mIi=0),s=0;s<t.length&&r;s++)v=(h=t[s]).checked,M=g=h.attribute,N="",g!==I&&("object"==typeof g&&(M=g.value,N=g.formatter),D=n&&s===this.mIi?" selected":"",l+='<li class="'.concat(n?$+D:"gc-table-sheet-cross-column-static-list-item",'" attribute-value="').concat(M,'" attribute-index=').concat(s," >\n <input aria-label='").concat(M,"' name=\"").concat(M,'" class="').concat(tt," ").concat(f,'" input-type="attributes" type="checkbox" value="" ').concat(v?"checked":"",' />\n <span class="gc-table-sheet-cross-column-item-label">').concat(M,"</span>\n <span role='button' class=\"").concat(nt," ").concat(f,'" title="').concat((0,e.getSR)().CrossColumnDetailFormatter,'"></span>\n <span class="').concat(_,' gc-table-sheet-cross-column-attributes-formatter gc-table-sheet-hidden">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailFormatter,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailFormatter,"' class=\"").concat(Q,'" input-type="attributes.formatter" spellcheck="false" value="').concat(N,'"></input>\n </span>\n </li>'));if(b="<option></option>",m=j.LEt&&j.LEt.cross)for(C in m)m.hasOwnProperty(C)&&m[C].over===o.over&&(w=C===o.Zc?'selected="selected"':"",b+="<option value=".concat(C," ").concat(w,">").concat(C,"</option>"));x='<div class="gc-table-sheet-cross-column-detail-content">\n <div class="'.concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailName,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailName,'\' class="gc-table-sheet-cross-item-input-name" input-type="name" spellcheck="false" tabIndex="-1" value=\'').concat(o.Zc||"","' ").concat(c,"></input>\n <select aria-label='").concat((0,e.getSR)().CrossColumnDetailName,'\' class="gc-table-sheet-cross-item-select-name" input-type="name-select" ').concat(c,">\n ").concat(b,'\n </select>\n </div>\n <div class="').concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailValue,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailValue,"' class=\"").concat(K," ").concat(ot,'" input-type="value" spellcheck="false" tabIndex="-1" readonly="readonly" maxlength="0" placeholder="').concat((0,e.getSR)().CrossColumnDetailValuePlaceHolder,"\" value='").concat(r,'\'></input>\n </div>\n <div class="gc-table-sheet-summary-item-formula">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailOver,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailOver,"' class=\"").concat(K," ").concat(ot,'" input-type="over" spellcheck="false" tabIndex="-1" readonly="readonly" maxlength="0" value=\'').concat(o.over,"'></input>\n \x3c!--input class=\"").concat(B,'" input-type="over" spellcheck="false" tabIndex="-1" value=\'').concat(o.over||"","'></input--\x3e\n </div>\n <div class=\"").concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailCaption,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailCaption,"' class=\"").concat(ot,'" input-type="header" spellcheck="false" tabIndex="-1" value=\'').concat(o.caption||"","' ").concat(c,'></input>\n </div>\n <div class="').concat(_,' gc-table-sheet-cross-column-value-caption">\n <span class="').concat(G,"\"></span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailValueHeader,'\' name="showCrossValueHeader" class="').concat(tt,' gc-table-sheet-cross-column-show-value-header" input-type="showCrossValueHeader" type="checkbox" value="" ').concat(T.showCrossValueHeader?"checked":""," ").concat(c,' />\n <span class="').concat(G,' gc-table-sheet-cross-column-value-caption-label">').concat((0,e.getSR)().CrossColumnDetailValueHeader,'</span>\n </div>\n <div class="').concat(_).concat(d,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailFilter,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailFilter,"' class=\"").concat(ot,'" input-type="filter" spellcheck="false" tabIndex="-1" value=\'').concat(n?y.Nuo(o.filter||""):"","' ").concat(c,'></input>\n </div>\n <div class="gc-table-sheet-cross-column-attributes-list-container">\n <span class="').concat(G,'">').concat(n?(0,e.getSR)().CrossColumnDetailAttributes:(0,e.getSR)().CrossColumnDetailList,'</span>\n <ul class="').concat(q,'">\n ').concat(l,"\n </ul>\n </div>\n </div>")}return x},t.prototype.zgi=function(){return this.ZMi&&this.ZMi.querySelector(".".concat(K))},t.prototype.WIi=function(t,n,i){var e,o,r,u,c=this;for(r=0;r<n.length;r++)0===(u=n[r]).level&&(u.name===t?e=r+1:N(e)||(o=r));return n.slice(e,o).map((function(t){var n=N(t.cross)&&(i.isLookupField(t.name)||i.isLookupField(t.fieldString));return{value:c.$t({value:t.name}),nIi:t.fieldString,textIndent:t.level+1,checkStatus:!1,yBt:n}}))},t.prototype.WMi=function(){var t=this,n=t.vMi,i=n.getDataView(),e=i&&i.gLt,o=function(t,n,i,e,r){var u,c,a,s,l,f;if(t&&t.Pq){for(u=[],c=0,a=t.Pq;c<a.length;c++)(s=a[c]).targetTable?u.push(s):i.push({level:n,name:s.name,isLeafNode:!0,field:s,hostTable:t,index:i.length,fieldString:r.concat(s.name).join(".")});for(e.push(t.name),l=0,f=u;l<f.length;l++)(s=f[l]).targetTable&&-1===e.indexOf(s.targetTable.name)&&(i.push({level:n,name:s.name,fieldString:r.concat(s.name).join(".")}),r.push(s.name),o(s.targetTable,n+1,i,e,r),r.pop())}return i};return o(e,0,[],[],[])},t.prototype.xgi=function(){var t,n,i,e=this,r=e.pMi,u=function(t){var n,i,r,u,c,a,s,l,f,d,h,v,g,M=(0,o.GC$)(t.target),D=e.NIi,b=e.cIi,m=b[D],C=m&&m.cross,w=M.attr("input-type"),y=M.val().trim(),x=!1;if(C){switch(i=e.vMi.getDataView(),r=null!==(n=(0,o.RF)(i.LEt))&&void 0!==n?n:{},"string"==typeof C&&(u=C,(C=xt(e.gIi(C))).jgi=u,m.cross=C,m.vgi=C.vgi),w){case"name":""===y||(c=i.LEt.cross)&&c.hasOwnProperty(y)?C.bgi=!0:C.Tgi=!0,C.hgi=C.Zc,C.Zc=e.kgi(C,y),x=!0;break;case"name-select":C.hgi=C.Zc,C.Zc=y,C.bgi=!0,x=!0;break;case"over":C.over=y,e.Ugi(y);break;case"header":C.caption=wt(y)?I:y;break;case"filter":C.filter=e.Iuo(y);break;case"showCrossValueHeader":r.showCrossValueHeader=!r.showCrossValueHeader;break;case"attributes":if(a=[],s=m.vgi,M.parent().parent()[0].querySelectorAll("li").forEach((function(t,n){var i,e,r=t.querySelector(".".concat(tt));s[n].checked=r.checked,r.checked&&(i=(0,o.GC$)(r).attr("name"),e=(0,o.GC$)(t.querySelector('[input-type="attributes.formatter"]')).val(),N(e)||""===e?a.push(i):a.push({value:i,formatter:e}))})),0===a.length)return void M.prop("checked",!0);C.attributes=a;break;case"attributes.formatter":for(l=m.vgi,f=M.parent().parent().attr("attribute-value"),d=function(t){return It(l,(function(n){var i=n.attribute;return t===("string"==typeof i?i:i.value)}))},h=0;h<C.attributes.length;h++)(v=C.attributes[h])!==f&&v.value!==f||("string"==typeof v?(g=d(v),l[g].attribute=C.attributes[h]={value:v,formatter:y}):(g=d(v.value),C.attributes[h].formatter=y,l[g].attribute=C.attributes[h]))}e.Cgi(C,m.value)&&e.dgi(!1,r),x&&e.IIi()}},a=function(t){var n=t.target,i=t.target.classList;i.contains($)||(n=n.parentElement),i.contains(nt)&&e.Zgi(n)},s=function(t){var n=t.target,r=(0,o.GC$)(t.target),u=r.attr(st),c=t.target.classList;c.contains($)||(n=n.parentElement,u=r.parent().attr(st)),!N(u)&&n.classList.contains($)&&(i=e.LMi.getBoundingClientRect(),e.Ogi=n,e.Egi=n,e.mIi!==+u&&(e.mIi=+u,e.Ggi(n)))},l=function(t){var n,o,r,u,c,a,s=e.mIi,l=e.Ogi;!N(s)&&l&&(n=l.getAttribute("attribute-value"),e.AIi(t,n,i,e.LMi),e.Ti.style.cursor="move",u=!1,(r=(o=t.target).parentElement)&&r.className.indexOf($)>-1?(o=r,u=!0):o.className.indexOf($)>-1&&(u=!0),c=e.Egi,u&&c!==o&&((a=o.getAttribute(st))<s?(c.className=c.className.replace(W,"").replace(H,"").trim(),o.className=o.className+" ".concat(W)):a>s?(c.className=c.className.replace(W,"").replace(H,"").trim(),o.className=o.className+" ".concat(H)):c.className=c.className.replace(W,"").replace(H,"").trim(),e.Egi=o))},f=function(t){var n,i,r,u,c=e.cIi,a=c&&c[e.NIi],s=a&&a.cross,l=e.mIi,f=t.target,d=e.Egi,h=d&&+(0,o.GC$)(d).attr(st);l!==I&&e.Ogi&&h!==I&&h!==l&&(e.Egi.className=e.Egi.className.replace(W,"").replace(H,"").trim(),e.zIi(f,e.OMi)&&("string"==typeof s&&(n=s,(s=xt(e.gIi(s))).jgi=n,a.cross=s),i=a.vgi.splice(l,1)[0],a.vgi.splice(h,0,i),e.mIi=+h,r=[],r=a.vgi.filter((function(t){return t.checked})).map((function(t){return t&&t.formatter?{formatter:t.formatter,value:t.attribute}:t.attribute})),s.attributes=r,s.vgi=a.vgi),e.Cgi(s,a.value)&&(e.dgi(),e.IIi())),e.Egi=I,e.Ogi=I,e.Ti.style.cursor="default",(u=e.SIi)&&(u.style.display="none")};e.pgi=u,e.Bgi=a,e.Qgi=s,e.Rgi=l,e.Pgi=f,(0,o.GC$)(".".concat(X)).bind("change",e.pgi),(0,o.GC$)(".".concat(q)).bind("click",e.Bgi),(0,o.GC$)(".".concat(q)).bind("mousedown",e.Qgi).bind("mousemove",e.Rgi),document.addEventListener("mouseup",e.Pgi),(0,o.GC$)(".".concat(it)).bind("focus",(function(i){var u=i.target,a=(0,o.GC$)(u).val()||"=";(t=new c.FormulaTextBox(u,M,M)).Ngi=!0,n=new o.Workbook(r,{allowDynamicArray:!0,allowUndo:!1}),e.XMi(n),e.lgi(n),t.workbook(n),t.text(a)})).bind("blur",(function(i){var r=(0,o.GC$)(i.target),u;"="===r.val()&&r.val(""),e.ggi(t,n)})).bind("keydown",(function(i){13===i.keyCode&&(e.ggi(t,n),i.target.blur())}))},t.prototype.Lgi=function(){var t=this;t.ZMi&&(t.pgi&&(0,o.GC$)(".".concat(X)).unbind("change"),t.Bgi&&(0,o.GC$)(".".concat(q)).unbind("click"),t.Qgi&&(0,o.GC$)(".".concat(q)).unbind("mousedown").unbind("mousemove"),t.Pgi&&document.removeEventListener("mouseup",t.Pgi),(0,o.GC$)(".".concat(it)).unbind("focus").unbind("blur").unbind("keydown"))},t.prototype.eIi=function(){return this.vMi.getDataView()},t.prototype.mLt=function(t){var n=this;return n.eIi().mLt(n.oIi,t)},t.prototype.Cgi=function(t,n){var i,e=this.eIi();return t&&t.over&&n&&(e.isLookupListField(t.over)||t.attributes&&t.attributes.length>0)},t.prototype.lIi=function(){return(0,o.RF)(this.eIi().ILt.filter((function(t){return!N(t.cross)})))},t.prototype.gIi=function(t){var n,i,e,o=this;return"string"==typeof t&&(n=t,(i=o.eIi()).LEt.cross&&((e=i.LEt.cross[n]||{}).Zc=n,t=e)),t},t.prototype.kgi=function(t,n){var i,e=this,o=e.eIi(),r=n;return o.LEt.cross&&(i=o.LEt.cross[r])&&i.over!==e.gIi(t).over?r+"1":r},t.prototype.Zgi=function(t){var n,i=t.className,e=t.querySelector(".gc-table-sheet-cross-column-attributes-formatter"),o=t.querySelector(".gc-table-sheet-cross-column-item-edit");i.indexOf(et)>-1?(t.className=t.className.replace(et,""),e.className+=" "+rt,o.setAttribute("aria-expanded","false"),o.removeAttribute("aria-controls")):(o.setAttribute("aria-expanded","true"),n=""+Date.now(),o.setAttribute("aria-controls",n),t.className+=" ".concat(et),e.setAttribute("id",n),e.className=e.className.replace(rt,""),setTimeout((function(){e.querySelector("input").focus()})))},t.prototype.Ggi=function(t){var n,i,e=this,o=e.ZMi,r=o.querySelectorAll(".".concat($));for(n in r)r.hasOwnProperty(n)&&((i=r[n]).className=i.className.replace("selected","").trim(),i===t&&(i.className=i.className+" selected"))},t.prototype.Ugi=function(t){var n=this,i=n.Sgi(t);n.cIi[n.NIi].cross.attributes=i,n.mIi=0,n.IIi()},t.prototype.Sgi=function(t){var n,i,e,o,r,u,c,a,s,l,f,d,h=this,v=h.Ygi(t),g=[];if(v&&v.hostTable&&v.field&&(e="",(i=(n=v.hostTable).tBt(v.field.name))&&i.Pq)){for(o=i.Pq,r=h.YMi,u=0;u<r.length;u++)a="",(c=r[u]).hostTable===i&&(a=c.fieldString!==I?c.fieldString:c.fieldString=h.wgi(u)),(s=a&&a.split("."))&&s.length>1&&(e=(s=s.slice(0,s.length-1)).join(".")+".");for(l=0,f=o;l<f.length;l++)(d=f[l]).targetTable||g.push(e+d.name)}return g},t.prototype.Ygi=function(t){if(t){var n,i=this.YMi,e=t.split("."),o=e.length-1,r=e[o];return i.filter((function(t){return t.name===r&&t.level===o}))[0]}},t.prototype.attach=function(t){this.Ti&&t&&(this.vMi=t,t.UMi=this,this.mMi&&this.Hc(t,this.mMi),this.updatePanelLayout())},t.prototype.detach=function(){var t,n=this;n.vMi&&(n.vMi.UMi=M,n.vMi.unbind(g),n.vMi=M,document.removeEventListener("mousemove",n.bIi,!0),document.removeEventListener("mouseup",n.vIi,!0),(0,o.GC$)(".".concat(V)).unbind("click"),n.SWt(),n.XIi(),n.Lgi(),n.tgi(),n.mMi&&(n.mMi.removeEventListener("mousedown",n.DIi,!0),(t=(0,o.GC$)(n.mMi).data("workbook"))&&(this.BMi=null,t.getSheet(0).unbind(g),t.destroy())),n.JMi&&(D.clearTimeout(n.JMi),n.JMi=0),n.cIi=I,n.oIi=I,n.YMi=I,n.Dgi=I,n.uIi=I,n.NIi=I,n.AMi=!0,n.sIi(!1),n.MIi(!0))},t.prototype.destroy=function(){var t,n;this.detach(),t=this.Ti,(0,o.GC$)(t).data(v,M),(n=this.SIi)&&n.parentElement&&(n.parentElement.removeChild(n),this.SIi=void 0),t&&(t.innerHTML=""),this.Ti=M},t.findControl=function(t){var n=t;return"string"==typeof t&&(n=document.getElementById(t)),(0,o.GC$)(n).data(v)},t}(),n.TableSheetPanel=gt},7669:function(t,n,i){var e,o,r,u,c,a=this&&this.mJr||function(){return a=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},a.apply(this,arguments)};function s(t){return t instanceof e.Condition}function l(t,n){return s(t)&&!t.art&&!n.jut().isShowSelectCheck}function f(t){return"="===t.charAt(0)}function d(t){var n,i;return{left:t.indexOf("["),right:t.indexOf("]")}}function h(t){var n=d(t),i=n.left,e=n.right;return i>=0&&i<e}function v(t){return f(t)&&h(t)}function g(t){var n,i;if(v(t=t.trim()))return!0;if(t.indexOf("{{")>=0&&t.indexOf("}}")>=0)for(n=t.split(/{{|}}/),i=0;i<n.length;i++)if(v(n[i].trim()))return!0;return!1}function M(t){var n,i,e,o;if(!f(t))return!1;for(n=!0,i=0;i<t.length;i++)if(e=t.charAt(i),n&&"@"===e){if("."===(o=t.charAt(i+1))||!o.match(/[\[\s\]]/))return!0}else"["===e?n=!1:"]"===e&&(n=!0);return!1}function I(t,n,i,e,o){var r=t;3===o&&(r.zDi(n)||r.vDi(n))&&(e.locked||N(r,i,e,!0))}function N(t,n,i,e){var o,r,u,c,a=t,s=a.cNi;for(o=0;o<s.length;o++)if((r=s[o]).length>0)for(u=0;u<r.length;u++)if((c=r[u])===n){i.locked=e;break}}function D(t,n){var i=t.getDataView();return i&&i.kve(n)}function b(t,n){var i,e=t.getDataView();if(e)return(i=e.kve(n)).isGroup&&c(i._Ft)?e.ife(i._Ft):e.ife(i)}function m(t,n){for(var i=0,e=t.length;i<e;i++)if(n(t[i],i,t))return i;return-1}function C(t,n,i){var o,r,c,a,s,l,f,d,h,v,g,M,I=t.expected(),N=t.conType(),D=i&&i.isDateFieldListFilter;if("string"==typeof I&&(I=I.split(String.fromCharCode(160)).join(" ")),t.art&&N===e.ConditionType.textCondition&&(I=t.urt,u(t.urt)||(N=e.ConditionType.dateCondition,D=!0)),N===e.ConditionType.numberCondition)return[{field:n,operator:(o={0:"eq",1:"neq",2:"gt",3:"gte",4:"lt",5:"lte"})[t.compareType()],value:I,ort:D}];if(N===e.ConditionType.cellValueCondition)return[{field:n,operator:(o={0:"eq",1:"neq",2:"gt",3:"gte",4:"lt",5:"lte"})[t.compareType()],value:I,ort:D}];if(N===e.ConditionType.relationCondition)return r=C(t.item1(),n),o={0:"or",1:"and"},(c=C(t.item2(),n))[0].relation=o[t.compareType()],r.concat(c);if(N===e.ConditionType.textCondition)return[{field:n,operator:(o={0:"eq",1:"neq",2:"startswith",3:"doesnotstartwith",4:"endswith",5:"doesnotendwith",6:"contains",7:"doesnotcontain"})[t.compareType()],value:I,ort:D}];if(N===e.ConditionType.dateCondition)switch(a=t.compareType(),s=void 0,l=void 0,r=void 0,c=void 0,f=I.setHours(0,0,0,0),d=I.setHours(23,59,59,999),a){case 0:return s=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.greaterThanOrEqualsTo,expected:f}),l=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.lessThanOrEqualsTo,expected:d}),r=C(s,n,{isDateFieldListFilter:D}),(c=C(l,n,{isDateFieldListFilter:D}))[0].relation="and",r.concat(c);case 1:return s=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.greaterThan,expected:d}),l=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.lessThan,expected:f}),r=C(s,n,{isDateFieldListFilter:D}),(c=C(l,n,{isDateFieldListFilter:D}))[0].relation="or",r.concat(c);case 2:return[{field:n,operator:"lt",value:f,ort:D}];case 3:return[{field:n,operator:"lte",value:d,ort:D}];case 4:return[{field:n,operator:"gt",value:d,ort:D}];case 5:return[{field:n,operator:"gte",value:f,ort:D}];default:return[]}else{if(N===e.ConditionType.top10Condition)return[{field:n,operator:(o={0:"top",1:"bottom"})[t.type()],value:I,ort:D}];if(N===e.ConditionType.averageCondition)return[{field:n,operator:(o={0:"above",1:"below"})[t.type()],value:I,ort:D}];if(N===e.ConditionType.dateExCondition)return(h=t.expectTypeId())===e.DateExConditionExpectType.dateOccurring||h===e.DateExConditionExpectType.yearToDate?(f=void 0,d=void 0,h===e.DateExConditionExpectType.dateOccurring?(f=(v=t.getExConditionDateScope(I)).from,d=v.to):(f=new Date,d=new Date,f.setMonth(0,1),f.setHours(0,0,0,0),d.setHours(23,59,59,999)),g=new e.Condition(e.ConditionType.dateCondition,{compareType:e.DateCompareType.afterEqualsTo,expected:f}),M=new e.Condition(e.ConditionType.dateCondition,{compareType:e.DateCompareType.beforeEqualsTo,expected:d}),r=C(g,n),(c=C(M,n))[0].relation="and",r.concat(c)):[{field:n,operator:(o={0:"date",1:"year",2:"quarter",3:"month",4:"week",5:"day",6:"yearToDate"})[h],value:I,ort:D}]}return[]}function w(t){var n=t.col,i=t.rowFilter;return!i.Dit(n)&&i.Dit(i.NTi(n))?a(a({},t),{col:i.NTi(n)}):t}Object.defineProperty(n,"__esModule",{value:!0}),n.reuseFilterButtonInfo=n.convertCondition=n.findIndex=n.getColumnName=n.getColumnInfo=n.setInsertedRowCrossStyle=n.hasATWithoutBrackets=n.isFormulaFormatter=n.isSpecificCondition=n.isCondition=void 0,e=i(8333),r=(o=i(7234)).Common.lt,u=r.ht,c=r.q8,n.isCondition=s,n.isSpecificCondition=l,n.isFormulaFormatter=g,n.hasATWithoutBrackets=M,n.setInsertedRowCrossStyle=I,n.getColumnInfo=D,n.getColumnName=b,n.findIndex=m,n.convertCondition=C,n.reuseFilterButtonInfo=w},7848:function(n){n.exports=t.Spread.Sheets.Bindings},7879:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.mJr||function(){return f=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},f.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.cZe=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.aZe=(0,e.GC$)(s("div"));return n.addClass("gc-defined-column-date-time-picker-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.LEt,i=t.aZe;return t.dH=new u.Kze({inputId:"start-day",items:[{value:e.CalendarStartDay[e.CalendarStartDay.monday],text:(0,o.getSR)().columnTypeDateMonday},{value:e.CalendarStartDay[e.CalendarStartDay.tuesday],text:(0,o.getSR)().columnTypeDateTuesday},{value:e.CalendarStartDay[e.CalendarStartDay.wednesday],text:(0,o.getSR)().columnTypeDateWednesday},{value:e.CalendarStartDay[e.CalendarStartDay.thursday],text:(0,o.getSR)().columnTypeDateThursday},{value:e.CalendarStartDay[e.CalendarStartDay.friday],text:(0,o.getSR)().columnTypeDateFriday},{value:e.CalendarStartDay[e.CalendarStartDay.saturday],text:(0,o.getSR)().columnTypeDateSaturday},{value:e.CalendarStartDay[e.CalendarStartDay.sunday],text:(0,o.getSR)().columnTypeDateSunday}],label:{text:(0,o.getSR)().columnTypeDateStartDay},onChange:function(){t.sZe()}}),t.dH.create().appendTo(i),t.dH.setValue(n.startDay||e.CalendarStartDay[e.CalendarStartDay.sunday]),t.lZe=new u.Kze({inputId:"calendar-page",items:[{value:e.CalendarPage[e.CalendarPage.day],text:(0,o.getSR)().columnTypeDateDay},{value:e.CalendarPage[e.CalendarPage.year],text:(0,o.getSR)().columnTypeDateYear},{value:e.CalendarPage[e.CalendarPage.month],text:(0,o.getSR)().columnTypeDateMonth}],label:{text:(0,o.getSR)().columnTypeDateCalendarPage},onChange:function(){t.sZe()}}),t.lZe.create().appendTo(i),t.lZe.setValue(n.calendarPage||e.CalendarPage[e.CalendarPage.day]),t.HG=new r.Rze({label:{text:(0,o.getSR)().columnTypeDateShowTime},onChange:function(){t.sZe()}}),t.HG.create().appendTo(i),t.HG.setValue(!!n.showTime||(0,c.isNullOrUndefined)(n.showTime)),i},t.prototype.veo=function(t){var n,i,e,o,r,u,c,a,s=this;t?((null===(n=s.lZe)||void 0===n?void 0:n.isDisable())||null===(i=s.lZe)||void 0===i||i.resetDisable(),(null===(e=s.HG)||void 0===e?void 0:e.isDisable())||null===(o=s.HG)||void 0===o||o.resetDisable()):((null===(r=s.lZe)||void 0===r?void 0:r.isDisable())&&(null===(u=s.lZe)||void 0===u||u.resetDisable()),(null===(c=s.HG)||void 0===c?void 0:c.isDisable())&&(null===(a=s.HG)||void 0===a||a.resetDisable()))},t.prototype.sZe=function(){var t,n,i;this.LEt.onChange({startDay:null===(t=this.dH)||void 0===t?void 0:t.value,calendarPage:null===(n=this.lZe)||void 0===n?void 0:n.value,showTime:!!(null===(i=this.HG)||void 0===i?void 0:i.value)})},t.prototype.setOptions=function(t){var n=this;n.LEt=f(f({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.aZe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.aZe=c.keyword_null},t.prototype.L0=function(){var t=this;t.dH&&t.dH.dispose(),t.dH=c.keyword_null,t.lZe&&t.lZe.dispose(),t.lZe=c.keyword_null,t.HG&&t.HG.dispose(),t.HG=c.keyword_null},t}(),n.cZe=l},7929:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N=this&&this.vJr||(b=function(t,n){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},b(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}b(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),D=this&&this.mJr||function(){return D=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},D.apply(this,arguments)},b;Object.defineProperty(n,"__esModule",{value:!0}),n.GroupHideRowFilter=void 0,e=i(7234),o=i(4036),r=i(1376),u=i(8333),c=i(2221),a=i(7669),s=i(9134),l=e.Common.lt,f=l.ht,d=l.q8,h=null,v=void 0,g=-1,M=-2,I=function(t){function n(n,i){var e=t.call(this,n)||this;return e.sTi={},e.MTi={},e.ITi=!1,e.gTi=0,e.act=!1,e.sze=i,e}return N(n,t),n.prototype.toJSON=function(){var n,i,e,o,r,u,c,a,s,l=this,d=t.prototype.toJSON.call(this);if(d.sortMap=l.sTi,d.relatedColFilters=l.MTi,d.lastGroup=l.ITi,d.lastGroupCount=l.gTi,f(l.lTi)||(d.rowFilterStore=l.lTi),d.filterItemMap)for(n=0,i=d.filterItemMap.length;n<i;n++)for(o=0,r=(e=d.filterItemMap[n].conditions).length;o<r;o++)delete(u=e[o]).eAi;if(d.sortMap)for(c in d.sortMap)if(d.sortMap.hasOwnProperty(c))for(s in a=d.sortMap[c])a.hasOwnProperty(s)&&delete a[s].rYt;return d},n.prototype.fromJSON=function(n,i){var e,o;f(n)||((e=this).sTi=n.sortMap,e.MTi=n.relatedColFilters,e.ITi=n.lastGroup,e.gTi=n.lastGroupCount,(o=n.rowFilterStore||n.lTi||n.lTi)&&(e.lTi=o),t.prototype.fromJSON.call(this,n,i))},n.prototype.isFiltered=function(n){var i=this;return arguments.length?t.prototype.isFiltered.call(this,n)||t.prototype.isFiltered.call(this,i.NTi(n)):t.prototype.isFiltered.call(this)},n.prototype.Dit=function(n){return t.prototype.isFiltered.call(this,n)},n.prototype.aze=function(t){var n,i,e,o,r,c,s,l,h=this,v=this.sze,g=h.rrt[t],M=v.getDataView(),I=M.kve(t),N=I.isGroup&&d(I._Ft)?M.ife(I._Ft):M.ife(I);if(g&&g.length>0){if(n=[],(0,a.isCondition)(g[0]))if(g[0].art&&g[0].conType()===u.ConditionType.textCondition)for(r=0;r<g.length;r++)c=g[r].urt,n.push({field:N,value:f(c)?c:c.toISOString()});else for(r=0;r<g.length;r++)s=g[r],l=(0,a.convertCondition)(s,N),0===r?n=l:(l[0].relation="or",n=n.concat(l));else for(i=[],e=[],o=function(t){var o,r,u,c,a,s,l;if(d(g[t].eAi)){if(o=g[t].eAi,i.push(g[t].value),e.push(o),r=g[t+1],o>=(u=f(r)?-1:r.eAi))for(c=!0,a=i.slice().reverse(),(s=n[n.length-1])&&(c=!((l=s.Vce).length===a.length&&l.every((function(t,n){return t===a[n]})))),c&&n.push({field:N,value:g[t].value,Vce:a});e.length>0&&e[e.length-1]>=u;)i.pop(),e.pop()}else n.push({field:N,value:g[t].value})},r=0;r<g.length;r++)o(r);return n}},n.prototype.Mze=function(){var t=this,n=this.sze,i=n.Mf,e=this.rrt,o=i.getDataSource(),r=Object.keys(e).filter((function(t){return!f(e[t])})).reduce((function(n,i){return n.concat(t.aze(Number(i)))}),[]);o.filter(r)},n.prototype.Ize=function(t,n){var i=this.sze,e=i.Mf;e.suspendPaint(),this.Nct(t,n),i.tDe(),e.resumePaint()},n.prototype.filter=function(t,n){var i,e,o,r,u,a,s,l,h=this.sze;if(h&&(e=h.getDataView())){if(o=this.rrt,r=!f(o[t]),h.qNi()&&(u=function(t){var n=o[t];return n&&n.some((function(t){return d(t.eAi)}))})(t))for(a=this.Mct,s=0;s<a.length;s++)if(t!==(l=a[s])&&u(l)){this.yct(l),this.Nct(l,!1);break}h.qni.addUndoChanges({type:c.TableSheetUndoType.FilterColumn,changedData:{col:t,columnName:null===(i=h.fDi(t))||void 0===i?void 0:i.name}}),this.Mze(),this.Ize(t,r)}},n.prototype.unfilter=function(t){var n,i=this.sze;i&&(n=i.getDataView())&&(n.filter(),this.setFilterItemMap(t),this.Mze(),this.Ize(t,!1))},n.prototype.reFilter=function(t){},n.prototype.openFilterDialog=function(t){var n,i,e,o,r,u,c,l=this.sze,f=this,d=f.Mf,h=t.col,v=l.getDataView().kve(h);this.irt=!1,this.ort=!1,i=((n=l.getDataView())&&n.length()||0)>0,f.Hct(d)&&i&&(e={sortByValue:!1!==v.allowSort,filterByValue:!1!==v.allowFilterByValue,listFilterArea:!1!==v.allowFilterByList,sortByColor:!1,filterByColor:!1},f.filterDialogVisibleInfo(e),o=new s.TableSheetFilterDialog(d.parent.j2(),d,(0,a.reuseFilterButtonInfo)(t),e,f.dialogOptions,l),d.Cut=o,(r=l.qNi())&&(u=d.outlineColumn.Un,d.outlineColumn.Un=function(){return!0},c=o.close,o.close=function(){d.outlineColumn.Un=u,o.close=c,o.close()},o.STi=function(){var t,n=this,i=n.dataSource,e=n.Eat;for(t=0;t<i.length;t++)e[t].checkedStatus=i[t].status}),o.rQ(),r&&o.STi(),o.cze&&o.yut())},n.prototype.Nct=function(n,i){var e=this;i&&e.DFt(n)?e.MTi[n]=e.NTi(n):f(e.MTi[n])||delete e.MTi[n],t.prototype.Nct.call(this,n,i)},n.prototype.setFilterItemMap=function(t,n){var i=this;i.rrt[t]=n||v},n.prototype.removeFilterItems=function(n,i){var e,o,r=this.sze;r&&(o=(e=r.Mf).getDataSource(),r.nAi&&o?t.prototype.removeFilterItems.call(this,n,i):(this.setFilterItemMap(n),this.Cct(n),r.yno&&o&&o.filter()))},n.prototype.DTi=function(t){var n,i,e,o,r,u,c,a=this,s=a.Mct,l=a.rrt,d=a.hst;for(e=0;e<s.length;e++)n=s[e],(i=(f(a.MTi[n])?n:a.MTi[n])+t)>=0?(s[e]=i,o=l[n],f(o)||(l[n]=h,l[i]=o),d&&(r=d[n],f(r)||(delete d[n],d[i]=r))):(s[e]=-1,l[n]=h,d&&delete d[n]);a.Mct=s.filter((function(t){return-1!==t})),s.some((function(t){return-1===t}))&&((c=(u=a.Mf).NMi).suspendPaint(),c.resumePaint())},n.prototype.getSortState=function(n){var i=this;return i.GFt(n)&&(n=i.NTi(n)),i.nrt=i.wot(n),t.prototype.getSortState.call(this,n)},n.prototype.Gze=function(){var t=this,n=t.jFt(),i=t.gTi;n?(t.gTi=t.dTi(),i=t.gTi-i,t.DTi(i),t.hTi(g,i)):(t.gTi=0,t.DTi(-i),t.hTi(M,-i),t.TTi())},n.prototype.hTi=function(t,n){var i,e,o=this,r=o.sTi[t];for(e in r)r[e]&&((i=r[e]).index+=n,o.setSortInfo(i))},n.prototype.TTi=function(){var t,n=this;n.sTi[M]?n.sTi=((t={})[g]=n.sTi[g],t):n.sTi={}},n.prototype.eIi=function(){return this.Mf.getDataSource()},n.prototype.HMi=function(){return this.Mf.getDataSource().getColumnInfos()},n.prototype.fDi=function(t){return this.Mf.NMi.fDi(t)},n.prototype.Teo=function(){return this.Mf.NMi.Teo()},n.prototype.dTi=function(){return this.HMi().filter((function(t){return t.isGroup})).length},n.prototype.jFt=function(){return this.Mf.NMi.jFt},n.prototype.bTi=function(t){var n=this.fDi(t);return n&&n.OFt},n.prototype.GFt=function(t){var n=this.fDi(t);return n&&n.GFt},n.prototype.DFt=function(t){var n=this.fDi(t);return n&&n.DFt},n.prototype.tNi=function(){return this.Mf.NMi},n.prototype.NTi=function(t,n){var i=this.fDi(t);return i&&(this.Teo()&&!n?t:i._Ft)},n.prototype.Sze=function(t){var n,i=this,e=i.ATi(t),o=i.sTi[e],r=i.sTi[M],u=o&&o[t],a=r&&r[t];(u||a)&&(n=i.tNi()).qni.addUndoChanges({type:c.TableSheetUndoType.SortMapChanged,oldData:i.Dze()}),o&&o[t]&&delete o[t],r&&r[t]&&delete r[t]},n.prototype.wot=function(t){var n=this,i=n.ATi(t),e=n.sTi[i];return e&&e[t]?e[t]:h},n.prototype.ATi=function(t){var n=this,i;return n.jFt()&&(i=n.bTi(t),!f(i))?i:g},n.prototype.xno=function(){var t,n,i,e,o=this,r=o.sTi,u=[];for(t in r)if(+t!==M)for(i in n=r[t])n.hasOwnProperty(i)&&(e=n[i],u.push(e));return u},n.prototype.Gct=function(n){return arguments&&arguments.length>0?this:t.prototype.Gct.call(this)},n.prototype.Dze=function(){var t;return null!==(t=(0,r.RF)(this.sTi))&&void 0!==t?t:{}},n.prototype.Nze=function(t){this.sTi=t},n.prototype.qO=function(n,i,e){var o,r,u,c;for(c in t.prototype.qO.call(this,n,i,e),o=this.sTi,r=function(t){var e,r,c,a,s;if(o.hasOwnProperty(t)){for(c in r=[],e=o[t])e.hasOwnProperty(c)&&(a=e[c]).index>=n&&(s=+c+i,u.GFt(s)?a.index=u.NTi(s,!0):a.index+=i,r.push({col:c,sortInfo:a}));r.forEach((function(t){var n=t.col;delete e[n]})),r.forEach((function(t){var n=t.sortInfo;e[n.index]=n})),0===Object.keys(e).length&&delete o[t]}},u=this,o)r(c)},n.prototype.NP=function(n,i){var e,o,r,u;for(u in t.prototype.NP.call(this,n,i),e=this.sTi,o=function(t){var o,u,c,a,s,l;if(e.hasOwnProperty(t)){for(c in u=[],o=e[t])o.hasOwnProperty(c)&&(s=(a=o[c]).index,l=n+i,s>=n&&s<l?r.DFt(c)?(a.index=r.NTi(c,!0),a.index-=i,u.push({col:c,sortInfo:a})):u.push({col:c}):s>=l&&(a.index-=i,u.push({col:c,sortInfo:a})));u.forEach((function(t){var n=t.col;delete o[n]})),u.forEach((function(t){var n=t.sortInfo;n&&(o[n.index]=n)})),0===Object.keys(o).length&&delete e[t]}},r=this,e)o(u)},n.prototype.vno=function(t){this.setFilterItemMap(t)},n.prototype.setSortInfo=function(t){var n,i,e=this,o=t.index;e.GFt(o)&&(o=e.NTi(o),t.index=o),i=e.ATi(o),e.sTi[i]=((n={})[o]=t,n),e.vTi(t,i)},n.prototype.vTi=function(t,n){var i,e=this,o=t.index;n===g||e.DFt(o)||e.GFt(o)?(e.DFt(o)&&(o=e.NTi(o)),e.sTi[M]=((i={})[o]=D(D({},t),{index:o}),i)):delete e.sTi[M]},n.prototype.BDi=function(){var t,n,i=this.Mf,e=i.getDataSource(),o=i.rowFilter(),r=o&&o.sTi,u={};return r&&(t=-1,(n=function(n){var i,o=r[n];if(!f(o))for(i in u[n]={},o)o.hasOwnProperty(i)&&(t=e.uPt(i),u[n][t]=i)})(g),n(M)),u},n.prototype.RDi=function(t){var n=this.Mf,i=n.getDataSource(),e=n.rowFilter(),o=e.sTi,r=function(n){var e,r,u,c,a,s,l=t[n];for(e in l)l.hasOwnProperty(e)&&(u=+l[r=+e],(c=i.BPt(r))!==u&&(a=o[n],f(a)||(s=a[u],f(s)||(delete a[u],s.index=c,a[c]=s))))};r(g),r(M)},n.prototype.nTi=function(t){var n,i,e,o,r,u,a,s,l,d,h,I,N,b,m;if(t&&t.length>0){for(n=this,i=[],e=[],o=t.map((function(t){return{oldIndex:t.oldIndex,newIndex:t.newIndex}})),r=function(t){var o,r,u,c,a,s,l,d=t.oldIndex,h=D({},t);for(c in e.push(h),(o=n.Mct.indexOf(d))>-1&&i.push([o,t.newIndex]),r=n.rrt[d],f(r)||(h.filterItemMapValue=r,n.rrt[d]=v),u=n.hst&&n.hst[d],!f(u)&&u.length>0&&(h.filteredColumnCacheValue=u,delete n.hst[d]),n.MTi)n.MTi.hasOwnProperty(c)&&(a=n.MTi[c])===d&&(h.relatedColFiltersValue=c,delete n.MTi[c]);f(n.sTi)||(s=n.sTi,(l=function(t){var n=s[t];f(n)||f(n[d])||(h.sortMapValue=n[d],delete n[d])})(g),l(M))},u=0,a=t;u<a.length;u++)r(s=a[u]);for(l=function(t){var i,e,o=t.newIndex,r=t.filterItemMapValue,u=t.filteredColumnCacheValue,c=t.relatedColFiltersValue,a=t.sortMapValue;f(r)||(n.rrt[o]=r),f(u)||(n.hst[o]=u),f(c)||(n.MTi[c]=o),f(n.sTi)||f(a)||(i=n.sTi,(e=function(n){var e=i[n];f(e)||(t.sortMapValue.index=o,e[o]=t.sortMapValue)})(g),e(M))},d=0,h=e;d<h.length;d++)l(s=h[d]);for(I=0;I<i.length;I++)b=(N=i[I])[0],m=N[1],n.Mct[b]=m;this.tNi().qni.addUndoChanges({type:c.TableSheetUndoType.UpdateFilterOnMoved,changedData:o})}},n.prototype.VIi=function(t){var n,i,e=this,o=e.eIi(),r=[],u=e.HMi(),c=[];u.forEach((function(n,i){n.RBt===t&&r.push(o.BPt(i))})),r.forEach((function(t){e.gze(t)})),n=r.length,i=r[r.length-1],n>0&&u.forEach((function(t,e){var r=o.BPt(e);r>i&&c.push({oldIndex:r,newIndex:r-n})})),e.nTi(c)},n.prototype.gze=function(t){var n,i,e,o,r,u,a,s=this,l={index:t,filterItemMap:{oldValue:null===(n=s.rrt)||void 0===n?void 0:n[t]},filteredColumns:{},filteredColumnCache:{oldValue:null===(i=s.hst)||void 0===i?void 0:i[t]},relatedColFilters:[],sortMap:[]};for(o in s.rrt[t]&&(s.rrt[t]=v,e=s.Mct.indexOf(t),l.filteredColumns={index:e,oldValue:s.Mct[e]},s.Mct.splice(e,1)),s.hst&&s.hst[t]&&delete s.hst[t],s.MTi)s.MTi.hasOwnProperty(o)&&(r=s.MTi[o])===t&&(l.relatedColFilters.push({col:o,value:s.MTi[o]}),delete s.MTi[o]);f(s.sTi)||(u=s.sTi,(a=function(n){var i=u[n];f(i)||f(i[t])||(l[n].push({level:n,index:t,value:i[t]}),delete i[t])})(g),a(M)),this.tNi().qni.addUndoChanges({type:c.TableSheetUndoType.RemoveCrosRowFilterInfo,changedData:l})},n.prototype.oze=function(t){var n=t.index,i=t.filterItemMap,e=t.filteredColumnCache,o=t.filteredColumns,r=t.relatedColFilters,u=void 0===r?[]:r,c=t.sortMap,a=void 0===c?[]:c,s=this;s.rrt&&(s.rrt[n]=i.oldValue),f(null==o?void 0:o.index)||(s.Mct[o.index]=o.oldValue),s.hst&&(s.hst[n]=e.oldValue),u.forEach((function(t){var n=t.col,i=t.value;s.MTi[n]=i})),a.forEach((function(t){var n=t.level,i=t.index,e=t.value;a&&a[n]&&(a[n][i]=e)}))},n.prototype.UIi=function(){var t,n,i=this,e=this,o=e.eIi(),r=e.HMi();this.lTi={},Object.keys(this.rrt).forEach((function(t){var n,e;f(i.rrt[t])||(n=o.uPt(t),e=r[n].value,f(i.lTi[e])&&(i.lTi[e]={}),i.lTi[e].filterItemMap=i.rrt[t])})),f(this.hst)||Object.keys(this.hst).forEach((function(t){var n=o.uPt(t),e=r[n].value;f(i.lTi[e])&&(i.lTi[e]={}),i.lTi[e].filteredColumnCache=i.hst[t]})),Object.keys(this.MTi).forEach((function(t){var n=o.uPt(t),e=r[n].value;f(i.lTi[e])&&(i.lTi[e]={}),n=o.uPt(i.MTi[t]),i.lTi[e].relatedColFilter=r[n].value})),f(this.sTi)||(t=this.sTi,(n=function(n){var e=t[n];f(e)||Object.keys(e).forEach((function(t){var n=o.uPt(t),u=r[n].value;f(i.lTi[u])&&(i.lTi[u]={}),f(i.lTi[u].sortMap)&&(i.lTi[u].sortMap={}),i.lTi[u].sortMap=e[t]}))})(g),n(M)),0===Object.keys(this.lTi).length&&delete this.lTi},n.prototype.QIi=function(){var t=this,n=this,i=n.Mf,e=n.eIi(),o=this.lTi,r=n.HMi();f(o)||(delete n.lTi,this.rrt=[],this.Mct=[],this.hst={},this.MTi={},f(this.sTi)||(f(this.sTi[g])||(this.sTi[g]={}),f(this.sTi[M])||(this.sTi[M]={})),Object.keys(o).forEach((function(n){var i,u,c=o[n],s=(0,a.findIndex)(r,(function(t){return t.value===n}));f(s)||(s=e.BPt(s),f(c.filterItemMap)||(t.rrt[s]=c.filterItemMap,t.Mct.push(s),t.hst[s]=c.filteredColumnCache),f(c.relatedColFilter)||(t.MTi[s]=e.BPt((0,a.findIndex)(r,(function(t){return t.value===c.relatedColFilter})))),f(t.sTi)||f(c.sortMap)||(i=t.sTi,(u=function(t){var n=i[t];c.sortMap.index=s,n[s]=c.sortMap})(g),u(M)))})),i.repaint())},n}(o.HideRowFilter),n.GroupHideRowFilter=I},7973:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.mJr||function(){return f=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},f.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.KZe=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(7324),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.$Ze=(0,e.GC$)(s("div"));return n.addClass("gc-defined-column-modified-fields-container"),t.ZX()},t.prototype.ZX=function(){var t,n,i=this,e=i.LEt,a=i.$Ze,s=(null===(t=e.fields)||void 0===t?void 0:t.split(","))||[];return i.qZe=new r.Rze({label:{text:(0,o.getSR)().columnTypeAllEditableFields},onChange:function(t){var n,e,o,r;t?(i.fields="*",i.Xze(),(null===(n=i.cUe)||void 0===n?void 0:n.isDisable())||null===(e=i.cUe)||void 0===e||e.resetDisable()):(null===(o=i.cUe)||void 0===o?void 0:o.isDisable())&&(null===(r=i.cUe)||void 0===r||r.resetDisable())}}),i.qZe.create().appendTo(a),n=(0,c.isNullOrUndefined)(e.fields)||s.length===i.lUe().length||"*"===e.fields,i.qZe.setValue(n),i.cUe=new u.Jze({label:{text:(0,o.getSR)().GroupPanelFieldsHeader},enableMultiSelected:!0,items:i.lUe(),enable:!i.qZe.value,onChange:function(t){i.fields=t.join(","),t.length===i.lUe().length&&i.qZe.setValue(!0),i.Xze()}}),i.cUe.create().appendTo(a),i.cUe.setValue(s),a},t.prototype.lUe=function(){var t,n,i,e=this,o=e.LEt.getTriggerFields(),r=[];for(t=0,n=o;t<n.length;t++)i=n[t],r.push({value:i});return r},t.prototype.Xze=function(){var t=this;t.LEt.onChange({fields:t.fields})},t.prototype.setOptions=function(t){var n=this;n.LEt=f(f({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.$Ze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.$Ze=c.keyword_null},t.prototype.L0=function(){var t=this;t.qZe&&t.qZe.dispose(),t.qZe=c.keyword_null,t.cUe&&t.cUe.dispose(),t.cUe=c.keyword_null},t}(),n.KZe=l},8026:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.mJr||function(){return f=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},f.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.RZe=void 0,e=i(1376),o=i(6114),r=i(6018),u=i(4900),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.Pq=[],this.BZe=[],this.LEt=t}return t.prototype.create=function(t){var n=this,i=n.QZe=(0,e.GC$)(s("div"));return i.addClass("gc-defined-column-look-up-container"),n.ZX(n.PZe(t)),i},t.prototype.ZX=function(t){var n,i,e,r,a=this,s=a.QZe,l=a.LEt.getLookup()||[],f=new u.Kze({inputId:"lookup-tables",validate:{required:!0},enableSearch:!0,stickItem:{value:c.keyword_undefined,text:(0,o.getSR)().defineColumnNone,iconClass:""},items:l.map((function(t){return{lookup:t,value:t.table,text:t.table,iconClass:""}})),label:{text:(0,o.getSR)().columnTypeLookupTables},onChange:function(t){var n=null==t?void 0:t.value,i=function(){a.YZe(a.Pq.slice(2)),a.Pq=a.Pq.slice(0,2),a.ltt().setValue()};if(!n)return a.BZe=[],i(),a.ltt().isDisable()||a.ltt().resetDisable(),void a.WZe();0===a.BZe.length?a.BZe.push(t.lookup):(a.BZe=[t.lookup],i()),l=a.LEt.getLookup(a.HZe()),a.ltt().setOptions({items:l.map((function(t){return{lookup:t,value:t.table,text:t.table,iconClass:""}}))}),a.ltt().isDisable()&&a.ltt().resetDisable(),a.WZe()}});if(f.create().appendTo(s),a.Pq.push({fieldSelect:f}),a.VZe(),t&&(f.setValue(null===(n=t[0])||void 0===n?void 0:n.table),t.length>1&&a.ltt().setValue(t[1],t[0])),t&&t.length>2)for(i=2;i<t.length;i++)e=t[i],(r=a.Pq[i]).fieldSelect.setValue(e.table),r.fieldNumber&&a.FZe(r.fieldNumber,t[i-1].isMany,e.index)},t.prototype.VZe=function(t,n){var i,a,l,d=this,h=!!t,v=d.QZe,g=(0,e.GC$)(s("div"));g.appendTo(v),g.addClass("gc-defined-column-look-up-field-container"),(l=new r.AZe({inputId:"lookup-fields-number"+(t?"-"+t:"")+"-"+(d.Pq.length-1),minValue:0,maxValue:Number.MAX_SAFE_INTEGER,allowMinNull:!0,enable:h,visible:!!(null===(i=d.BZe[d.Pq.length-1])||void 0===i?void 0:i.isMany),label:{text:(0,o.getSR)().columnTypeLookupIndexes},onChange:function(t){var n=d.Pq.findIndex((function(t){return t.fieldSelect===a})),i=a.item.lookup,e=t||c.keyword_undefined;i?(i.index=t||c.keyword_undefined,d.BZe[n]?d.BZe[n]=i:d.BZe.push(i)):d.BZe[n]?d.BZe[n].index=e:d.BZe.push({table:c.keyword_null,index:e}),d.WZe()}})).create().appendTo(g),a=new u.Kze({inputId:"lookup-fields"+(t?"-"+t:"")+"-"+d.Pq.length,enable:h,enableSearch:!0,stickItem:{value:c.keyword_undefined,text:(0,o.getSR)().defineColumnNone,iconClass:""},items:h?n.map((function(t){return{lookup:t,value:t.table,text:t.table,iconClass:""}})):[],label:{text:(0,o.getSR)().columnTypeLookupFields},onChange:function(t){var n,i,e=null==t?void 0:t.value,o=d.Pq.findIndex((function(t){return t.fieldSelect===a})),r=function(){var t=o+1;d.BZe=d.BZe.slice(0,t),d.YZe(d.Pq.slice(t)),d.Pq=d.Pq.slice(0,t)},u=null===(n=d.Pq[o].fieldNumber)||void 0===n?void 0:n.value;if(!e)return r(),d.BZe[o]&&(d.BZe[o]=f(f({},d.BZe[o]),{table:c.keyword_null}),u||(d.BZe[o].index=c.keyword_null)),void d.WZe();d.BZe[o]?(d.BZe[o]=t.lookup,d.BZe[o].index=u,r()):d.BZe.push(t.lookup),t.lookup.isTable&&(i=d.LEt.getLookup(d.HZe()))&&i.length>0&&d.VZe(e,i),d.WZe()}}),a.create().appendTo(g),d.Pq.push({fieldSelect:a,fieldNumber:l,lookupFieldContainer:g}),a.setValue()},t.prototype.ltt=function(){var t=this,n=t.Pq[1],i=n.fieldSelect,e=n.fieldNumber;return{setValue:function(n,o){i.setValue(null==n?void 0:n.table),t.FZe(e,null==o?void 0:o.isMany,null==n?void 0:n.index)},resetDisable:function(){i.resetDisable(),e.resetDisable()},isDisable:function(){return i.isDisable()},setOptions:function(n){var o;i.setOptions(n),t.FZe(e,t.BZe[0].isMany,null===(o=t.BZe[1])||void 0===o?void 0:o.index)}}},t.prototype.FZe=function(t,n,i){n?(t.setOptions({visible:!0}),t.setValue(i)):(t.setOptions({visible:!1}),t.setValue())},t.prototype.PZe=function(t){var n,i,e,o=this,r=[],u=t?t.split("."):[],c=function(t,i){var e,c=u[t];Number.isInteger(Number(c))?r[i]=f(f({},r[i]),{index:Number(c)}):(e=o.LEt.getLookup(u.slice(0,t).join(".")),r[i]=f(f(f({},r[i]),{table:c}),e.find((function(t){return t.table===c}))),i++),n=i};for(i=0,e=0;i<u.length;i++)c(i,e),e=n;return r},t.prototype.HZe=function(t){var n,i,e=this,o="";if(t){for(n=0;n<e.BZe.length;n++)(i=e.BZe[n]).index?(o+=".".concat(i.index),i.table&&(o+=".".concat(i.table))):i.table&&(o+=".".concat(i.table));o=o.slice(1)}else o=e.BZe.map((function(t){return t.table})).join(".");return o},t.prototype.WZe=function(){var t=this,n=t.HZe(!0);t.LEt.onChange(n)},t.prototype.validate=function(){var t,n;return null===(n=null===(t=this.Pq[0])||void 0===t?void 0:t.fieldSelect)||void 0===n?void 0:n.validate()},t.prototype.YZe=function(t){var n,i,e,o,r,u,c=function(t){t&&(t.dispose?t.dispose(!0):t.unbind&&t.unbind("click"))};for(n=0,i=t;n<i.length;n++)o=(e=i[n]).fieldSelect,r=e.fieldNumber,u=e.lookupFieldContainer,o&&c(o),r&&c(r),u&&u.remove();return[]},t.prototype.dispose=function(){var t=this;t.YZe(t.Pq),t.Pq=[],t.QZe=c.keyword_null},t}(),n.RZe=l},8033:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.ueo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"checkDigit"),t.ato(n,"nwRatio",[{text:"3",value:"3"},{text:"2",value:"2"}]),t.oeo(n),n},n}(o.Meo),n.ueo=c},8057:function(t,n,i){var e,o,r,u,c,a,s,l,f;Object.defineProperty(n,"__esModule",{value:!0}),n.Meo=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(6406),c=i(6018),a=i(4900),s=e.mt,l=s.En,f=function(){function t(t){var n=this;n.LEt=t,n.xT=[],n.selectBarcode="data_"+t.option.barcodeType,n.fontOptions=[]}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){},t.prototype.ato=function(t,n,i,e,r){var u=this,c=new a.Kze({inputId:"barcode-"+n,defaultValue:u.LEt.option[u.selectBarcode][n],items:i,enable:e,label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},onChange:function(t){u.LEt.option[u.selectBarcode][n]=t.value,r&&r(t),u.onChange()}});return c.create().appendTo(t),u.xT.push(c),c},t.prototype.rto=function(t,n,i,e){var r=this,c=new u.mZe({inputId:"barcode-"+n,enable:i,defaultValue:r.LEt.option[r.selectBarcode][n],className:"gc-defined-column-barcode-options-input",label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},onBlur:function(t){r.LEt.option[r.selectBarcode][n]=t,e&&e(t),r.onChange()}});return c.create().appendTo(t),r.xT.push(c),c},t.prototype.cto=function(t,n,i,e){var u=this,c=new r.Rze({defaultValue:u.LEt.option[u.selectBarcode][n],label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},enable:i,textDisplay:1,inputId:n,onChange:function(t){u.LEt.option[u.selectBarcode][n]=t,e&&e(t),u.onChange()}});return c.create().appendTo(t),u.xT.push(c),c},t.prototype.teo=function(t,n,i,e,r,u){var a=this,s=new c.AZe({defaultValue:a.LEt.option[a.selectBarcode][n],minValue:i,maxValue:e,enable:r,label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},inputId:n,onChange:function(t){a.LEt.option[a.selectBarcode][n]=t,u&&u(t),a.onChange()}});return s.create().appendTo(t),a.xT.push(s),s},t.prototype.neo=function(t){var n=this,i=(0,e.GC$)(l("div"));return i.addClass("gc-defined-column-empty-div"),i.appendTo(t),n.xT.push(i),i},t.prototype.ieo=function(t){var n=this,i=n.fontOptions,e=n.labelPosition;n.cto(t,"showLabel",void 0,(function(t){t?(i.forEach((function(t){t.isDisable()&&t.resetDisable()})),e.isDisable()&&e.resetDisable()):(i.forEach((function(t){t.isDisable()||t.resetDisable()})),e.isDisable()||e.resetDisable())})),e=n.ato(t,"labelPosition",[{text:"top",value:"top"},{text:"bottom",value:"bottom"}],!1)},t.prototype.oeo=function(t){var n=this,i=n.fontOptions;i.push(n.ato(t,"fontFamily",[{text:"sans-serif",value:"sans-serif"},{text:"serif",value:"serif"},{text:"monospace",value:"monospace"},{text:"Arial",value:"Arial"},{text:"Verdana",value:"Verdana"},{text:"Times",value:"Times"}],!1)),i.push(n.ato(t,"fontStyle",[{text:"normal",value:"normal"},{text:"italic",value:"italic"}],!1)),i.push(n.ato(t,"fontWeight",[{text:"normal",value:"normal"},{text:"bold",value:"bold"}],!1)),i.push(n.ato(t,"fontTextDecoration",[{text:"none",value:"none"},{text:"underline",value:"underline"},{text:"overline",value:"overline"},{text:"line-through",value:"line-through"}],!1)),i.push(n.ato(t,"fontTextAlign",[{text:"center",value:"center"},{text:"left",value:"left"},{text:"right",value:"right"},{text:"group",value:"group"}],!1)),i.push(n.ato(t,"fontSize",[{text:"12",value:12},{text:"13",value:13},{text:"14",value:14},{text:"15",value:15},{text:"16",value:16},{text:"17",value:17},{text:"18",value:18},{text:"19",value:19},{text:"20",value:20},{text:"21",value:21},{text:"22",value:22}],!1)),i.forEach((function(t){t.container.addClass("gc-defined-column-field-item-small-container")}))},t.prototype.onChange=function(){var t=this,n=t.LEt.onChange;n&&n(t.LEt.option)},t.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&e.unbind("click");return[]},t.prototype.dispose=function(){var t=this;t.xT=t.YZe(t.xT)},t}(),n.Meo=f},8301:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.columnTypeNumber=n.defineColumnExisted=n.defineColumnRequired=n.defineColumnNoResults=n.defineColumnAll=n.defineColumnNone=n.defineColumnFormula=n.defineColumnOthers=n.defineColumnDefaultValue=n.defineColumnConfiguration=n.defineColumnFormatting=n.defineColumnType=n.defineColumnCaption=n.defineColumnValue=n.submit=n.cancel=n.defineColumn=n.Exp_InvalidOperationInProtectForTableSheet=n.CrossColumnDetailList=n.CrossColumnDetailAttributes=n.CrossColumnDetailFilter=n.CrossColumnDetailValueHeader=n.CrossColumnDetailCaption=n.CrossColumnDetailOver=n.CrossColumnDetailValuePlaceHolder=n.CrossColumnDetailValue=n.CrossColumnDetailName=n.CrossColumnDetailFormatter=n.CrossColumnCrossHeader=n.StatusBarToolTipRowCount=n.StatusBarRowCount=n.TextColon=n.GroupPanelAddCalculateColumn=n.GroupPanelItemRemoveAll=n.GroupPanelSummaryLabelPositionFooter=n.GroupPanelSummaryLabelPositionHeader=n.GroupPanelSummaryLabelPosition=n.GroupPanelSummaryLabelRelateTo=n.GroupPanelSummaryLabelSlice=n.GroupPanelSummaryLabelCaption=n.GroupPanelSummaryLabelFormula=n.GroupPanelDropDownCalcField=n.GroupPanelItemAddCalculation=n.GroupPanelItemRemove=n.GroupPanelGroupsHeader=n.GroupPanelFieldsHeader=n.GroupPanelTip=n.GroupPanelGroupName=n.GroupPanelSetting=n.EXP_TooManyPinRecords=void 0,n.columnTypeAttachmentLeft=n.columnTypeAttachmentMarginGroup=n.columnTypeCalendarType=n.columnTypeShowEraFirstYear=n.columnTypeCalendar=n.columnTypeDateLocale=n.columnTypeDateType=n.columnTypeDateShowBuiltInDateRange=n.columnTypeDateShowDateRange=n.columnTypeDateShowTime=n.columnTypeDateMonth=n.columnTypeDateYear=n.columnTypeDateDay=n.columnTypeDateCalendarPage=n.columnTypeDateSunday=n.columnTypeDateSaturday=n.columnTypeDateFriday=n.columnTypeDateThursday=n.columnTypeDateWednesday=n.columnTypeDateTuesday=n.columnTypeDateMonday=n.columnTypeDateStartDay=n.columnTypeDateTimePicker=n.columnTypeAllEditableFields=n.columnTypeMask=n.columnTypeFormattingCategory=n.columnTypeLookupIndexes=n.columnTypeLookupFields=n.columnTypeLookupTables=n.columnTypeNumberFormatting=n.columnTypeNumberFormattingSymbol=n.columnTypeNumberFormattingNegativeNumbers=n.columnTypeNumberFormattingThousandSeparator=n.columnTypeNumberFormattingDecimalPlaces=n.columnTypeNumberFormattingSample=n.columnTypeBarcode=n.columnTypeSelect=n.columnTypeAttachment=n.columnTypeModifiedTime=n.columnTypeCreatedTime=n.columnTypeLookup=n.columnTypeURL=n.columnTypeEmail=n.columnTypePhone=n.columnTypePercent=n.columnTypeCurrency=n.columnTypeDate=n.columnTypeCheckbox=n.columnTypeFormula=n.columnTypeText=void 0,n.columnTypeUrlLabel=n.columnTypeComboBoxItemHeight=n.columnTypeComboBoxEditable=n.columnTypeComboBoxEditorValueType=n.columnTypeComboBoxRemove=n.columnTypeComboBoxAdd=n.columnTypeComboBoxValue=n.columnTypeComboBoxText=n.columnTypeComboBoxItemProperties=n.columnTypeComboBoxItems=n.columnTypeComboBoxEditorValueTypes=n.columnTypeBarcodeLabel=n.columnTypeCheckboxTextAlign=n.columnTypeCheckboxAuto=n.columnTypeCheckboxBoxSize=n.columnTypeCheckboxIsThreeState=n.columnTypeCheckboxCaption=n.columnTypeCheckboxOther=n.columnTypeCheckboxAlign=n.columnTypeCheckboxFalse=n.columnTypeCheckboxIndeterminate=n.columnTypeCheckboxTrue=n.columnTypeCheckboxTextGroup=n.columnTypeCheckboxTitle=n.columnTypeAttachmentSizeUnit=n.columnTypeAttachmentIsDownloadEnabled=n.columnTypeAttachmentIsClearEnabled=n.columnTypeAttachmentIsPreviewEnabled=n.columnTypeAttachmentAcceptValueTypes=n.columnTypeAttachmentAccept=n.columnTypeAttachmentMaxSize=n.columnTypeAttachmentBottom=n.columnTypeAttachmentRight=n.columnTypeAttachmentTop=void 0,n.EXP_TooManyPinRecords="Only support less than 10 pin records.",n.GroupPanelSetting="Setting",n.GroupPanelGroupName="Group Name",n.GroupPanelTip="Drag here to set row groups",n.GroupPanelFieldsHeader="Fields",n.GroupPanelGroupsHeader="Groups",n.GroupPanelItemRemove="Remove",n.GroupPanelItemAddCalculation="Add Summary Field",n.GroupPanelDropDownCalcField="Field",n.GroupPanelSummaryLabelFormula="Formula",n.GroupPanelSummaryLabelCaption="Caption",n.GroupPanelSummaryLabelSlice="Slice",n.GroupPanelSummaryLabelRelateTo="Relate to",n.GroupPanelSummaryLabelPosition="Position",n.GroupPanelSummaryLabelPositionHeader="Header",n.GroupPanelSummaryLabelPositionFooter="Footer",n.GroupPanelItemRemoveAll="Remove All",n.GroupPanelAddCalculateColumn="Add Calculated Column",n.TextColon=":",n.StatusBarRowCount="Row Count",n.StatusBarToolTipRowCount="Count of selected rows",n.CrossColumnCrossHeader="Cross",n.CrossColumnDetailFormatter="Formatter",n.CrossColumnDetailName="Name",n.CrossColumnDetailValue="Value",n.CrossColumnDetailValuePlaceHolder="Drag item here to set value",n.CrossColumnDetailOver="Over",n.CrossColumnDetailCaption="Caption",n.CrossColumnDetailValueHeader="Show Cross Value Header",n.CrossColumnDetailFilter="Filter",n.CrossColumnDetailAttributes="Attributes",n.CrossColumnDetailList="List",n.Exp_InvalidOperationInProtectForTableSheet="The range you're trying to change is locked.",n.defineColumn="Define Column",n.cancel="Cancel",n.submit="Submit",n.defineColumnValue="Value",n.defineColumnCaption="Caption",n.defineColumnType="Type",n.defineColumnFormatting="Formatting",n.defineColumnConfiguration="Configuration",n.defineColumnDefaultValue="Default",n.defineColumnOthers="Others",n.defineColumnFormula="Formula",n.defineColumnNone="None",n.defineColumnAll="All",n.defineColumnNoResults="No Results",n.defineColumnRequired="It's required",n.defineColumnExisted="It's existed",n.columnTypeNumber="Number",n.columnTypeText="Text",n.columnTypeFormula="Formula",n.columnTypeCheckbox="Checkbox",n.columnTypeDate="Date",n.columnTypeCurrency="Currency",n.columnTypePercent="Percent",n.columnTypePhone="Phone",n.columnTypeEmail="Email",n.columnTypeURL="URL",n.columnTypeLookup="Lookup",n.columnTypeCreatedTime="CreatedTime",n.columnTypeModifiedTime="ModifiedTime",n.columnTypeAttachment="Attachment",n.columnTypeSelect="Select",n.columnTypeBarcode="Barcode",n.columnTypeNumberFormattingSample="Sample",n.columnTypeNumberFormattingDecimalPlaces="Decimal places",n.columnTypeNumberFormattingThousandSeparator="Use 1000 Separator(,)",n.columnTypeNumberFormattingNegativeNumbers="Negative numbers",n.columnTypeNumberFormattingSymbol="Symbol",n.columnTypeNumberFormatting={negativeNumbers:{"-1234.10":"-1234.10","red:1234.10":"1234.10","(1234.10)":"(1234.10)","red:(1234.10)":"(1234.10)"},numberCategoryFormats:["0","0;[Red]0","0_);(0)","0_);[Red](0)","#,##0","#,##0;[Red]#,##0","#,##0_);(#,##0)","#,##0_);[Red](#,##0)"],japanEmperorReignDateFormat:["[$-411]ge.m.d;@",'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5";@'],japanEmperorReignFirstYearDateFormat:["[$-411]ge.m.d;@",'[$-ja-JP-x-gannen]ggge"\u5e74"m"\u6708"d"\u65e5";@'],accountingSymbol:[["None","",""],["$","$","en-US"],["\xa5(Chinese)","\xa5","zh-cn"],["\xa5(Japanese)","\xa5","ja-jp"],["\u20a9(Korean)","\u20a9","ko-kr"]],percentageFormats:["0%"],currencyFormatWithoutSymbol:["#,##0","#,##0;[Red]#,##0","#,##0_);(#,##0)","#,##0_);[Red](#,##0)"],commonFormats:{Number:{format:"0.00",label:"Number"},Currency:{format:"[$$-409]#,##0.00",label:"Currency"},Accounting:{format:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',label:"Accounting"},ShortDate:{format:"m/d/yyyy",label:"Short Date"},LongDate:{format:"[$-409]dddd, mmmm dd, yyyy",label:"Long Date"},Time:{format:"[$-409]h:mm:ss AM/PM",label:"Time"},Percentage:{format:"0.00%",label:"Percentage"},Fraction:{format:"# ?/?",label:"Fraction"},Scientific:{format:"0.00E+00",label:"Scientific"},Text:{format:"@",label:"Text"},Comma:{format:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',label:"Comma"}}},n.columnTypeLookupTables="Select lookup table",n.columnTypeLookupFields="The field to look up",n.columnTypeLookupIndexes="The record number",n.columnTypeFormattingCategory="Category",n.columnTypeMask={pattern:"Pattern",placeholder:"Placeholder",excludeLiteral:"Exclude Literal",excludePlaceholder:"Exclude Placeholder"},n.columnTypeAllEditableFields="All Editable Fields",n.columnTypeDateTimePicker="DateTime Picker",n.columnTypeDateStartDay="StartDay",n.columnTypeDateMonday="Monday",n.columnTypeDateTuesday="Tuesday",n.columnTypeDateWednesday="Wednesday",n.columnTypeDateThursday="Thursday",n.columnTypeDateFriday="Friday",n.columnTypeDateSaturday="Saturday",n.columnTypeDateSunday="Sunday",n.columnTypeDateCalendarPage="CalendarPage",n.columnTypeDateDay="Day",n.columnTypeDateYear="Year",n.columnTypeDateMonth="Month",n.columnTypeDateShowTime="ShowTime",n.columnTypeDateShowDateRange="ShowDateRange",n.columnTypeDateShowBuiltInDateRange="ShowBuiltInDateRange",n.columnTypeDateType="Type",n.columnTypeDateLocale="locale (location)",n.columnTypeCalendar="Calendar type",n.columnTypeShowEraFirstYear="Use Gannen to display 1st year",n.columnTypeCalendarType={western:"Western",JER:"Japanese Emperor Reign"},n.columnTypeAttachmentMarginGroup="Margin",n.columnTypeAttachmentLeft="Left",n.columnTypeAttachmentTop="Top",n.columnTypeAttachmentRight="Right",n.columnTypeAttachmentBottom="Bottom",n.columnTypeAttachmentMaxSize="Size Limit",n.columnTypeAttachmentAccept="File Type",n.columnTypeAttachmentAcceptValueTypes={txt:"txt",all:"all",pdf:"pdf",image:"jpg,png,gif",excel:"docx,xlsx,pptx"},n.columnTypeAttachmentIsPreviewEnabled="Preview",n.columnTypeAttachmentIsClearEnabled="Clear",n.columnTypeAttachmentIsDownloadEnabled="Download",n.columnTypeAttachmentSizeUnit="KB",n.columnTypeCheckboxTitle="CheckBox CellType",n.columnTypeCheckboxTextGroup="Text",n.columnTypeCheckboxTrue="True",n.columnTypeCheckboxIndeterminate="Indeterminate",n.columnTypeCheckboxFalse="False",n.columnTypeCheckboxAlign="Align",n.columnTypeCheckboxOther="Other",n.columnTypeCheckboxCaption="Caption",n.columnTypeCheckboxIsThreeState="IsThreeState",n.columnTypeCheckboxBoxSize="Box Size",n.columnTypeCheckboxAuto="Auto",n.columnTypeCheckboxTextAlign={top:"Top",bottom:"Bottom",left:"Left",right:"Right"},n.columnTypeBarcodeLabel={showLabel:"Show Label",barcodeType:"Barcode Type",color:"Color",errorCorrectionLevel:"Error Correction Level",backgroundColor:"Background Color",version:"Version",model:"Model",mask:"Mask",connection:"Connection",charCode:"CharCode",connectionNo:"Connection No",charset:"Charset",quietZoneLeft:"Quiet Zone Left",quietZoneRight:"Quiet Zone Right",quietZoneTop:"Quiet Zone Top",quietZoneBottom:"Quiet Zone Bottom",labelPosition:"Label Position",addOn:"AddOn",addOnLabelPosition:"AddOn Label Position",fontFamily:"Font Family",fontStyle:"Font Style",fontWeight:"Font Weight",fontTextDecoration:"Font TextDecoration",fontTextAlign:"Font TextAlign",fontSize:"Font Size",fileIdentifier:"File Identifier",structureNumber:"Structure Number",structureAppend:"Structure Append",ecc00_140Symbol:"Ecc000_140 Symbol Size",ecc200EncodingMode:"Ecc200 Endcoding Mode",ecc200SymbolSize:"Ecc200 Symbol Size",eccMode:"Ecc Mode",compact:"Compact",columns:"Columns",rows:"Rows",groupNo:"GroupNo",grouping:"Grouping",codeSet:"Code Set",fullASCII:"Full ASCII",checkDigit:"Check Digit",nwRatio:"Wide And Narrow Bar Ratio",labelWithStartAndStopCharacter:"Label With Start And Stop Character"},n.columnTypeComboBoxEditorValueTypes="EditorValueType",n.columnTypeComboBoxItems="Items",n.columnTypeComboBoxItemProperties="ItemProperties",n.columnTypeComboBoxText="Text",n.columnTypeComboBoxValue="Value",n.columnTypeComboBoxAdd="Add",n.columnTypeComboBoxRemove="Remove",n.columnTypeComboBoxEditorValueType={text:"Text",index:"Index",value:"Value"},n.columnTypeComboBoxEditable="Editable",n.columnTypeComboBoxItemHeight="Items Height",n.columnTypeUrlLabel={linkColor:"Link Color",visitedLinkColor:"Visited Link Color"}},8333:function(n){n.exports=t.Spread.Sheets.ConditionalFormatting},8565:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.vZe=void 0,e=i(1376),o=i(2648),r=i(6114),u=i(6406),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i=this,o=(0,e.GC$)(s("div"));return o.addClass("gc-defined-column-input-formula-container"),(t=i.DZe=new u.mZe({inputId:"formula",type:"text",validate:i.LEt.validate,placeholder:(0,r.getSR)().defineColumnFormula})).create().appendTo(o),i.jZe(),(n=i.CZe=(0,e.GC$)(s("div"))).addClass("gc-defined-column-fake-ftb-workbook"),n.hide(),n.appendTo(o),o},t.prototype.jZe=function(){var t=this,n={formulaInputTextBox:null,fakeFormulaTextBoxWorkbook:null};t.DZe.bind("focus",(function(){t.ggi(n.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook);var i=t.wZe();n.formulaInputTextBox=i.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook=i.fakeFormulaTextBoxWorkbook})).bind("blur",(function(){var i=t.DZe.value;"="===i&&(i="",t.DZe.setValue("",!1)),t.LEt.onChange(i),t.ggi(n.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook)})).bind("keydown",(function(i){13===i.keyCode&&(t.ggi(n.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook),i.target.blur())}))},t.prototype.TZe=function(){var t;this.DZe.unbind("focus").unbind("blur").unbind("keydown")},t.prototype.wZe=function(){var t,n=this,i=n.DZe,r=i.value||"=",u=new o.FormulaTextBox(i.getInputElement(),c.keyword_null,c.keyword_null);return u.Ngi=!0,t=new e.Workbook(n.CZe.get(0),{allowDynamicArray:!0,allowUndo:!1}),n.XMi(t),n.lgi(t),u.workbook(t),u.text(r),{formulaInputTextBox:u,fakeFormulaTextBoxWorkbook:t}},t.prototype.XMi=function(t){var n,i,e,o=this,u=o.LEt.getColumnFields();for(n=0,i=u;n<i.length;n++)e=i[n],t.zwt(t.hyt,e,"=A1",0,0,!0,(0,r.getSR)().GroupPanelDropDownCalcField+" "+e)},t.prototype.lgi=function(t){var n=t.getActiveSheet();delete n.Qy().PUt.enter,n.setRowCount(1),n.setColumnCount(1)},t.prototype.ggi=function(t,n){t&&t.destroy&&t.destroy(),n&&n.destroy&&n.destroy()},t.prototype.validate=function(){return this.DZe.validate()},t.prototype.setValue=function(t){var n;this.DZe.setValue(t)},t.prototype.dispose=function(){var t=this;t.TZe(),t.DZe.dispose(),t.DZe=c.keyword_null},t}(),n.vZe=l},8680:function(t,n,i){var e,o,r,u,c,a,s;function l(t){return t instanceof Function}Object.defineProperty(n,"__esModule",{value:!0}),e=i(7848),o=i(7234),r=i(7373),u=o.Common.lt.ht,c=null,a=void 0,s=function(){function t(){}return t.prototype.isDataSource=function(t){return r&&r.isView&&r.isView(t)},t.prototype.getDataLength=function(t){return t.visibleLength()},t.prototype.getDataItem=function(t,n,i){if(n<0)return c;var e=a;return i&&((e={})[i]=1),t.getRowData(n,a,e)},t.prototype.addItems=function(t,n,i,e,o){},t.prototype.removeItems=function(t,n,i,e){var o=this.getDataLength(t);e()},t.prototype.undoRemoveItems=function(t,n,i){},t.prototype.getProperties=function(t){var n=this.getDataItem(t,0);return n?Object.keys(n):[]},t.prototype.getValue=function(t,n,i,e,o,r){var a,s,f,d,h=t.kve(o);return h?(s=c,f=t.Nve(e,h),d=!1,u(f)||(d=!0,n&&l(n)&&(f=n(((a={})[i]=f,a))),s=r?r(h,e,f):f),{value:s,hasBinding:d}):{value:c,hasBinding:!0}},t.prototype.setValue=function(t,n,i,e,o,r,u){},t.prototype.allowSetCount=function(){return!0},t.prototype.canAdd=function(){return!0},t.prototype.canInsert=function(){return!1},t.prototype.fromJSON=function(t){return t},t.prototype.toJSON=function(t){return t},t}(),e.X$.dataManagerBindingSource=new s},8966:function(t,n,i){var e,o,r,u,c,a;Object.defineProperty(n,"__esModule",{value:!0}),n.REMOVE_CROSS_COLUMN=n.RESET_NEW_VIEW=n.DEFINE_COLUMN_TO_TABLE=n.MODIFY_COLUMN_TO_TABLE=n.REMOVE_COLUMN_TO_TABLE=n.VIEW_MOVE_COLUMN=n.VIEW_Add_COLUMN_INFO=n.VIEW_UPDATE_COLUMN_INFO=n.VIEW_REMOVE_COLUMN_INFO=n.GROUP_OPTIONS=n.EXPAND_GROUP=n.EXPAND_GROUP_ITEM=n.RESET_ROW=n.SAVE_ROW=n.REMOVE_ROW=n.PIN_ROW=n.SAVE_ALL=void 0,e=i(1376),o=i(3889),r="TableSheet",u=function(t){return r+t},n.SAVE_ALL="SaveAll",n.PIN_ROW="PinRow",n.REMOVE_ROW="RemoveRow",n.SAVE_ROW="SaveRow",n.RESET_ROW="ResetRow",n.EXPAND_GROUP_ITEM=u("ExpandGroupItemCommand"),n.EXPAND_GROUP=u("ExpandGroupCommand"),n.GROUP_OPTIONS=u("SetGroupOptions"),n.VIEW_REMOVE_COLUMN_INFO=u("ViewRemoveColumnInfo"),n.VIEW_UPDATE_COLUMN_INFO=u("ViewUpdateColumnInfo"),n.VIEW_Add_COLUMN_INFO=u("ViewAddColumnInfo"),n.VIEW_MOVE_COLUMN=u("ViewMoveColumn"),n.REMOVE_COLUMN_TO_TABLE="RemoveColumn",n.MODIFY_COLUMN_TO_TABLE="ModifyColumn",n.DEFINE_COLUMN_TO_TABLE="DefineColumn",n.RESET_NEW_VIEW=u("ResetNewView"),n.REMOVE_CROSS_COLUMN=u("CrossColumnOptions"),c=e.Commands.zA,a=function(){},e.Commands[n.SAVE_ALL]={canUndo:!1,execute:function(t,n,i){var e,o,r,u=t.Ofe(n.sheetName),c=u.id();for(u.suspendPaint(),e=0,o=c;e<o.length;e++)r=o[e],u.saveRow(r).catch(a);return u.resumePaint(),!0}},e.Commands[n.SAVE_ROW]={canUndo:!1,execute:function(t,n){var i=n.tableSheet,o=n.index;return i.Mf.ki(e.Events.RowOperation,{sheet:i,sheetName:i.name(),actionType:1,row:o}),i.saveRow(o).catch(a),!0}},e.Commands[n.RESET_ROW]={canUndo:!0,execute:function(t,n,i){return n.sheetName=n.tableSheet.name(),c(t,o.ResetRowAction,n,i)}},e.Commands[n.EXPAND_GROUP_ITEM]={canUndo:!0,execute:function(t,n,i){return c(t,o.ExpandGroupItemAction,n,i)}},e.Commands[n.EXPAND_GROUP]={canUndo:!0,execute:function(t,n,i){return c(t,o.ExpandGroupAction,n,i)}},e.Commands[n.PIN_ROW]={canUndo:!0,execute:function(t,n,i){return n.sheetName=n.tableSheet.name(),c(t,o.PinRowAction,n,i)}},e.Commands[n.REMOVE_ROW]={canUndo:!0,execute:function(t,n,i){return c(t,o.RemoveRowAction,n,i)}},e.Commands[n.MODIFY_COLUMN_TO_TABLE]={canUndo:!0,execute:function(t,n,i){return c(t,o.ModifyColumnToTableAction,n,i)}},e.Commands[n.REMOVE_COLUMN_TO_TABLE]={canUndo:!0,execute:function(t,n,i){return c(t,o.RemoveColumnToTableAction,n,i)}},e.Commands[n.DEFINE_COLUMN_TO_TABLE]={canUndo:!0,execute:function(t,n,i){return c(t,o.DefineColumnToTableAction,n,i)}},e.Commands[n.VIEW_UPDATE_COLUMN_INFO]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewUpdateColumnInfoAction,n,i)}},e.Commands[n.VIEW_REMOVE_COLUMN_INFO]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewRemoveColumnInfoAction,n,i)}},e.Commands[n.VIEW_Add_COLUMN_INFO]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewAddColumnInfoAction,n,i)}},e.Commands[n.VIEW_MOVE_COLUMN]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewMoveColumnAction,n,i)}},e.Commands[n.GROUP_OPTIONS]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewGroupOptionsAction,n,i)}},e.Commands[n.RESET_NEW_VIEW]={canUndo:!0,execute:function(t,n,i){return c(t,o.TableSheetResertViewAction,n,i)}},e.Commands[n.REMOVE_CROSS_COLUMN]={canUndo:!0,execute:function(t,n,i){return c(t,o.TableSheetRemoveColumnInfoAction,n,i)}}},9131:function(n){n.exports=t.Spread.Sheets.Tables},9134:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I=this&&this.vJr||(N=function(t,n){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},N(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),N;Object.defineProperty(n,"__esModule",{value:!0}),n.TableSheetFilterDialog=void 0,e=i(4036),o=i(7234),r=i(7669),u=o.Common.lt,c=u.ht,a=u.q8,s=Object.keys,l="null",f="undefined",d=null,h=void 0,v=1e5,g=/((\d{4}|\d{2}|\d{1})[\/\-])(\d{4}|\d{2}|\d{1})[\/\-](\d{4}|\d{2}|\d{1})|((\d{4}|\d{2}|\d{1})[\/\-\s](\d{4}|\d{2}|\d{1}) [0-9]{2}:[0-9]{2}:[0-9]{2})/,M=function(t){function n(n,i,e,o,r,u){var c=t.call(this,n,i,e,o,r)||this;return c.cze=!1,c.vMi=u,c}return I(n,t),n.prototype.Bst=function(t,n,i,e,o,r,u){var a,l,f,d,g,M,I,N,D,b,m,C,w,y,x,A=this,j=this.vMi,T=j.Mf,z=this.filterButtonInfo.col,p=j.getDataView(),L=p&&p.gLt,S=function(t){return p.uFt(t)},O=this,k=O.filterButtonInfo.rowFilter;if(k){if(l=0,d=[],g=j.qNi(),(I=(M=p.kve(t)).value||M.name)&&!g){if((f=S(I))?L&&L.rBt(I)&&f.K$!==L.rBt(I)&&p.eRt([I],!0):p.eRt([I]),f=S(I),c(f))return;a=f.K$,(D=null==(N=L.jRt(I))?void 0:N.dataMap)&&"object"==typeof D&&(b=typeof Object.values(D)[0],-1!==["string","number","boolean"].indexOf(b)&&(a=b)),delete f.K$,d=s(f),l=d.length,f.K$=a,O.wTi=O.yTi(p.lFt&&p.lFt.length>0?p.iRt.slice(p.lFt.length):p.iRt)}if(O.Jut=!1,m=T.$go(-1,t),C=T.l0(-1,t===z?t:z,"formatter"),g)return O.Jut=h,void O.mTi(I,t,n,i,e,o,r,u,m,C);if(l>v){for(w=Math.ceil(l/v),O.CTi=[],y=1;y<w;y++)x=void 0,x=y===w-1?{startIndex:v*y,endIndex:l-1}:{startIndex:v*y,endIndex:v*(y+1)-1},O.CTi.push(x);O.Yut(!0),O.zTi(f,d,0,v-1,t,n,i,e,o,r,u,m,C,a),O.Vut(v/l),setTimeout((function(){A.asyncCreateFilterData(f,d,O.CTi,t,n,i,e,o,r,u,m,C,a,l)}),0)}else O.zTi(f,d,0,l-1,t,n,i,e,o,r,u,m,C,a)}},n.prototype.mTi=function(t,n,i,e,o,u,a,l,f,d){var h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S=this.vMi,O=this,k={},E=S.getDataView(),Z=E.gLt._dataSource.options.schema,U=O.filterButtonInfo.rowFilter,G=U.Mct,B=U.isFiltered(n)&&(0,r.isSpecificCondition)(U.rrt[n][0],O),R=0===G.length||U.isFiltered(n)&&1===G.length;if(Z&&Z.columns&&Z.columns[t]&&(h=Z.columns[t].dataType),M=E.iRt,N=(I=E.bFt()).length,R)U.tAi=I;else{for(v=E.Jce||{},D=E.ife(n),g=s(v).filter((function(t){if(t!==D){var n=v[t].options[0],i=n&&void 0!==n.Vce;return i&&(b=t),!i}return!1})),m=0,C=0,w=b,y=0;y<g.length;y++)(m>(x=v[g[y]].count)||0===y)&&(m=x,C=y,w=g[y]);for(z in g.splice(C,1),A=function(t){for(var n=0;n<g.length&&v[g[n]][t];n++);return n===g.length},j=[],T=v[w])A(z)&&(p=+z,Number.isNaN(p)||j.push(p));E.iRt=j,E.yFt(),j=E.iRt,E.iRt=M,I=j,N=j.length,U.tAi=j}for(L=function(i){var e,o,r,s,v,g,N,D=I[i],b=E.getRowData(D,!0,(e={},e[t]=!0,e))[t];c(h)&&!c(b)&&(h=typeof b),r=(o=O.LTi(b,k,n,(function(){return{row:i,isCheckedInCheckList:!B&&M.indexOf(D)>-1,index:D}}),f,d,h)).row,s=o.filterData,v=o.filterText,g=o.type,N=o.isCheckedInCheckList,O.Pst({},u,a,r,n,l,!0,s,v,g,N)},y=0;y<N;y++)L(y)},n.prototype.zTi=function(t,n,i,e,o,u,l,f,d,h,v,g,M,I){var N,D,b,m,C,w,y,x,A,j,T,z,p=this.vMi,L=this,S={},O=L.filterButtonInfo.rowFilter,k=O.Mct,E=O.isFiltered(o)&&(0,r.isSpecificCondition)(O.rrt[o][0],L),Z=0===k.length||O.isFiltered(o)&&1===k.length;for(Z?(y=(m=p.getDataView()).lFt)&&y.length>0&&(b=y.reduce((function(t,n){return t[n]=!0,t}),{})):(m=p.getDataView(),N=m.Jce||{},C=m.kve(o),w=C.isGroup&&a(C._Ft)?m.ife(C._Ft):m.ife(C),D=s(N).filter((function(t){return t!==w}))),x=function(n){var i,e;if(c(b))return!0;for(i=t[n],e=0;e<i.length;e++)if(!b[i[e]])return!0;return!1},A=function(n){var i,e,o=t[n];for(i=0;i<o.length;i++){for(e=0;e<D.length&&N[D[e]][o[i]];e++);if(e===D.length)return!0}return!1},j=function(t,n){return!!t||(Z?x(n):A(n))},T=function(i){var e=n[i],r=e,u=L.LTi(r,S,o,(function(){return L.xTi(t[e],L.wTi)}),g,M,I),c=u.row,a=u.filterData,s=u.filterText,l=u.type,N=u.isCheckedInCheckList;L.Pst(f,d,h,c,o,v,!0,a,s,l,!E&&N,j(N,e))},z=i;z<=e;z++)T(z)},n.prototype.LTi=function(t,n,i,e,o,u,a){var s,h,v,M,I,N,D,b,m,C,w,y,x=this.vMi,A=this,j=x.Mf,T="string";return t!==l&&t!==f||(t=d,T="blank"),t&&"string"!==a&&("number"!==a&&"boolean"!==a||(isNaN(parseFloat(t))||(t=parseFloat(t)),T="number"),"object"!==a&&"date"!==a||t.match(g)&&!isNaN(Date.parse(t))&&(t=new Date(t),A.Jut=!0,T="date"),"string"===T&&(this.cze=!0)),s=t,v=(h=e()).row,M=h.isCheckedInCheckList,I=h.index,N=!1,("string"!=typeof t||u)&&c(v)&&"string"==typeof u&&x.Mf.parent&&(D=void 0,m=!(b=(0,r.isFormulaFormatter)(u))&&(0,r.hasATWithoutBrackets)(u),(b||m)&&(C=x.Mf.parent.xO(u))&&(N=!0,D=C.getExpression()),N&&(b?s=x.getDataView().sPt(D,I):m&&(s=x.getDataView().jfe(D,I,(0,r.getColumnName)(x,i))),c(s)||"object"!=typeof s||(s=c(s._error)?s.toString():s._error))),N||void 0!==(w=o.format(t,u,n,{sheet:j,row:v,col:i,sheetArea:3,quotePrefix:null}))&&s!==w&&(s=w),"boolean"===a&&("TRUE"===(y=String(t).toUpperCase())&&(t=!0,s="TRUE"),"FALSE"===y&&(t=!1,s="FALSE")),s&&"string"==typeof s&&(s=s.replace(/\r\n?/g,"\n")),{row:v,filterData:t,filterText:s,type:T,isCheckedInCheckList:M}},n.prototype.yTi=function(t){var n,i=[];for(n=0;n<t.length;n++)i[t[n]]=n;return i},n.prototype.xTi=function(t,n){var i,e,o;for(o=0;o<t.length;o++)if((e=n[i=t[o]])!==h)return{row:e,isCheckedInCheckList:!0};return{row:n[i=t[0]],isCheckedInCheckList:!1,index:i}},n.prototype.qut=function(){var t,n,i,e,o,r,u,c,a,s,l=this.vMi,f=this,d=f.ast.outlineColumn.getCheckStatus(),v=0,g=f._at||f.Dat,M=f.Eat,I=0;if(f.Bat=1===d[0],"add_current"===f.dataSource[0].key&&(v=1),f.Dat=[],n=l.qNi(),i="add_current"===f.dataSource[0].key,n&&i&&f.Bat)for(f.Bat=!1,e=0;e<M.length;e++)1===(o=M[e]).status&&f.Dat.push({text:o.key,value:o.value,type:o.type});for(e=0;e<M.length&&(t=M[e],i||(t.checkedStatus=d[e]),!(I>=g.length));e++)if(t.key===g[I].text){for(I++,r=t.children,u=h,c=0;c<r.length;c++)a=r[c],s=d[v],!1!==a.show&&(v+=1),u=s||u,3!==s&&(a.status=s);2!==u?(f.Dat.push({text:t.key,value:t.value,type:t.type}),n&&(i?1!==u&&f.Dat.pop():f.Dat[f.Dat.length-1].eAi=r[0].level)):f.lst(e,t)}},n.prototype.asyncCreateFilterData=function(t,n,i,e,o,r,u,c,a,s,l,f,d,h){var v,g,M,I=this,N=this,D=this.vMi,b=D.Mf;if(b.Cut){for(v=new Date,g=new Date;i.length>0&&g-v<=500;)M=i.shift(),N.zTi(t,n,M.startIndex,M.endIndex,e,o,r,u,c,a,s,l,f,d),N.Vut(M.endIndex/h),g=new Date;i.length>0?setTimeout((function(){I.asyncCreateFilterData(t,n,N.CTi,e,o,r,u,c,a,s,l,f,d,h)}),0):(N.Lst(o,r,!1,a,s,c,e),N.sut(),N.Yut(!1))}},n}(e.iut),n.TableSheetFilterDialog=M},9266:function(t,n,i){var e,o,r,u,c,a,s;Object.defineProperty(n,"__esModule",{value:!0}),n.rZe=void 0,e=i(1376),o=i(6114),r=i(1859),u=null,c=e.mt,a=c.En,s=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.eZe()},t.prototype.eZe=function(){var t,n,i=this,u=(0,e.GC$)(a("div"));return u.addClass("gc-defined-column-number-formatting-preview-container"),(t=i.HUe=new r.dZe({text:(0,o.getSR)().columnTypeNumberFormattingSample})).create().appendTo(u),(n=i.uZe=(0,e.GC$)(a("div"))).appendTo(u),n.addClass("gc-defined-column-number-formatting-preview-text"),u},t.prototype.setText=function(t){var n;this.uZe.text(t)},t.prototype.dispose=function(){var t=this;t.uZe=u,t.HUe.dispose(),t.HUe=u},t}(),n.rZe=s},9571:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h=this&&this.mJr||function(){return h=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},h.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.sto=n.CheckBoxTextAlign=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(6406),a=i(591),s=e.mt,l=s.En,function(t){t[t.top=0]="top",t[t.bottom=1]="bottom",t[t.left=2]="left",t[t.right=3]="right"}(f=n.CheckBoxTextAlign||(n.CheckBoxTextAlign={})),d=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Qze=(0,e.GC$)(l("div"));return n.addClass("gc-defined-column-checkbox-text-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.Qze,i=t.LEt;return t._isThreeState=new r.Rze({label:{text:(0,o.getSR)().columnTypeCheckboxIsThreeState},onChange:function(n){var i,e,o,r;n?(null===(i=t.lto)||void 0===i?void 0:i.isVisible())||null===(e=t.lto)||void 0===e||e.resetVisible():(null===(o=t.lto)||void 0===o?void 0:o.isVisible())&&(null===(r=t.lto)||void 0===r||r.resetVisible()),t.fto()}}),t._isThreeState.create().appendTo(n),t._isThreeState.setValue(i.isThreeState),t.dto=new c.mZe({inputId:"checkboxTrue",label:{text:(0,o.getSR)().columnTypeCheckboxTrue},placeholder:"",onChange:function(n){t.fto()}}),t.dto.create().appendTo(n),t.dto.setValue(i.checkboxTrue),t.lto=new c.mZe({inputId:"checkboxIndeterminate",label:{text:(0,o.getSR)().columnTypeCheckboxIndeterminate},placeholder:"",hide:!i.isThreeState,onChange:function(n){t.fto()}}),t.lto.create().appendTo(n),t.lto.setValue(i.checkboxIndeterminate),t.hto=new c.mZe({inputId:"checkboxFalse",label:{text:(0,o.getSR)().columnTypeCheckboxFalse},placeholder:"",onChange:function(n){t.fto()}}),t.hto.create().appendTo(n),t.hto.setValue(i.checkboxFalse),t.gto=new u.Kze({inputId:"checkboxAlign",items:[{text:(0,o.getSR)().columnTypeCheckboxTextAlign.top,value:f.top},{text:(0,o.getSR)().columnTypeCheckboxTextAlign.bottom,value:f.bottom},{text:(0,o.getSR)().columnTypeCheckboxTextAlign.left,value:f.left},{text:(0,o.getSR)().columnTypeCheckboxTextAlign.right,value:f.right}],label:{text:(0,o.getSR)().columnTypeCheckboxAlign},onChange:function(){t.fto()}}),t.gto.create().appendTo(n),t.gto.setValue(i.checkboxAlign||f.right),n},t.prototype.fto=function(){var t,n,i,e,o,r=this;this.LEt.onChange({isThreeState:null===(t=r._isThreeState)||void 0===t?void 0:t.value,checkboxTrue:null===(n=r.dto)||void 0===n?void 0:n.value,checkboxIndeterminate:null===(i=r.lto)||void 0===i?void 0:i.value,checkboxFalse:null===(e=r.hto)||void 0===e?void 0:e.value,checkboxAlign:null===(o=r.gto)||void 0===o?void 0:o.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=h(h({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Qze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Qze=a.keyword_null},t.prototype.L0=function(){var t=this;t._isThreeState&&t._isThreeState.dispose(),t._isThreeState=a.keyword_null,t.dto&&t.dto.dispose(),t.dto=a.keyword_null,t.lto&&t.lto.dispose(),t.lto=a.keyword_null,t.hto&&t.hto.dispose(),t.hto=a.keyword_null,t.gto&&t.gto.dispose(),t.gto=a.keyword_null},t}(),n.sto=d},9756:function(t,n,i){var e,o,r,u;Object.defineProperty(n,"__esModule",{value:!0}),n.YUe=void 0,o=(e=i(1376)).mt,r=o.En,u=function(){function t(t){var n;this.itemContainers=[],this.LEt=t}return t.prototype.create=function(){var t=this,n=(0,e.GC$)(r("div"));return n.addClass("gc-defined-column-tab-list-container"),t.GUe().appendTo(n),t.eQe().appendTo(n),t.oQe().appendTo(n),n},t.prototype.GUe=function(){var t,n,i=this,o=i.LEt.items,u=(0,e.GC$)(r("div"));for(u.addClass("gc-defined-column-tab-list-items-container"),u.attr("role","tablist"),t=function(t){var n=o[t],c=(0,e.GC$)(r("div"));i.itemContainers.push([c]),c.addClass("gc-defined-column-tab-item-container"),c.attr("role","tab"),c.attr("tabindex",0),c.attr("id","gc-defined-column-tab-"+n.typeId),c.attr("aria-selected","false"),c.attr("aria-controls","gc-defined-column-tab-panel-"+n.typeId),c.text(n.title),0===t&&(c.attr("aria-selected","true"),c.addClass("gc-defined-column-tab-item-container-selected")),c.bind("click",(function(e){var o,r,u,a,s,l;if(!1!==i.itemContainers[t][2]){for(o=0,r=i.itemContainers;o<r.length;o++)a=(u=r[o])[0],s=u[1],a.attr("aria-selected","false"),a.removeClass("gc-defined-column-tab-item-container-selected"),s.removeClass("gc-defined-column-tab-panel-container-selected");c.attr("aria-selected","true"),c.addClass("gc-defined-column-tab-item-container-selected"),(l=i.itemContainers[t][1]).addClass("gc-defined-column-tab-panel-container-selected"),n.onSelect&&n.onSelect(n,e)}})),c.appendTo(u)},n=0;n<o.length;n++)t(n);return u},t.prototype.oQe=function(){var t,n,i,o=this,u=o.LEt.items,c=(0,e.GC$)(r("div"));for(c.addClass("gc-defined-column-tab-panels-container"),t=0;t<u.length;t++)n=u[t],i=(0,e.GC$)(r("div")),o.itemContainers[t][1]=i,i.addClass("gc-defined-column-tab-panel-container"),i.attr("role","tabpanel"),i.attr("id","gc-defined-column-tab-panel-"+n.typeId),i.attr("aria-labelledby","gc-defined-column-tab-"+n.typeId),0===t&&i.addClass("gc-defined-column-tab-panel-container-selected"),n.onInitPanel&&n.onInitPanel(i),i.appendTo(c);return c},t.prototype.eQe=function(){var t=(0,e.GC$)(r("div"));return t.addClass("gc-defined-column-tab-list-break-line"),t},t.prototype.isDisable=function(t){return!1===this.itemContainers[t][2]},t.prototype.resetDisable=function(t){var n=this,i=n.isDisable(t),e=n.itemContainers[t][0];n.itemContainers[t][2]=i,i?e.removeClass("gc-defined-column-disabled"):e.addClass("gc-defined-column-disabled"),e.attr("aria-disabled",i?"false":"true")},t.prototype.d5=function(){var t,n=this;for(t=0;t<n.LEt.items.length;t++)n.itemContainers[t]&&n.itemContainers[t][0].unbind("click");n.itemContainers=[]},t.prototype.dispose=function(){var t;this.d5()},t}(),n.YUe=u},9807:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.wto=void 0,e=i(1376),o=i(6114),r=i(7324),u=i(591),c=e.mt,a=c.En,s=function(){function t(t){var n;this.Cto=[],this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Tto=(0,e.GC$)(a("div"));return n.addClass("gc-defined-column-combo-box-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.Tto,i=t.LEt;return this.Cto=i.items||[],t.Ato=new r.Jze({label:{text:(0,o.getSR)().columnTypeComboBoxItems},showValue:!0,editable:!0,addAndRemoveButton:!0,items:this.Cto,onChange:function(){t.yto()}}),t.Ato.create().appendTo(n),t.yto(),n},t.prototype.yto=function(){var t=this;this.LEt.onChange({items:t.Cto})},t.prototype.setOptions=function(t){var n=this;n.LEt=l(l({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Tto.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Tto=u.keyword_null},t.prototype.L0=function(){var t=this;t.Ato&&t.Ato.dispose(),t.Ato=u.keyword_null},t}(),n.wto=s},9846:function(t,n,i){var e,o,r,u=this&&this.yJr||function(t,n,i){if(i||2===arguments.length)for(var e=0,o=n.length,r;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))};function c(t){return{barcodeType:r.QRCODE,value:a(t),backgroundColor:"#FFFFFF",color:"#000000",data_CODABAR:n.BarCode_DefaultValue_CODABAR,data_CODE39:n.BarCode_DefaultValue_CODE39,data_CODE49:n.BarCode_DefaultValue_CODE49,data_CODE93:n.BarCode_DefaultValue_CODE93,data_CODE128:n.BarCode_DefaultValue_CODE128,data_DATAMATRIX:n.BarCode_DefaultValue_DATAMATRIX,data_EAN8:n.BarCode_DefaultValue_EAN8,data_EAN13:n.BarCode_DefaultValue_EAN13,data_GS1_128:n.BarCode_DefaultValue_GS1_128,data_QRCODE:n.BarCode_DefaultValue_QRCODE,data_PDF417:n.BarCode_DefaultValue_PDF417}}function a(t){return t?t.indexOf(" ")>-1?"[@["+t+"]]":"[@"+t+"]":o.keyword_null}function s(t,n){var i,e,o=null===(i=t.NMi)||void 0===i?void 0:i.getDataView();if(o)try{return o.Ywt(n)}catch(t){}try{return(e=t.getCalcService()).parse(null,n,0,0)}catch(t){}}function l(t,n){var i,o,r=t.parent;try{if((i=s(t,n))&&i.type===e.ExpressionType.function&&(o=i.functionName)&&r.getSparklineEx(o))return i}catch(t){}return null}function f(t,i){var o,u,c,a,s,f,d,h,v,g,M,I,N,D,b,m,C=l(t,i);if(C&&C.arguments&&(o={barcodeType:r.QRCODE,value:"",backgroundColor:"#FFFFFF",color:"#000000",data_CODABAR:n.BarCode_DefaultValue_CODABAR,data_CODE39:n.BarCode_DefaultValue_CODE39,data_CODE49:n.BarCode_DefaultValue_CODE49,data_CODE93:n.BarCode_DefaultValue_CODE93,data_CODE128:n.BarCode_DefaultValue_CODE128,data_DATAMATRIX:n.BarCode_DefaultValue_DATAMATRIX,data_EAN8:n.BarCode_DefaultValue_EAN8,data_EAN13:n.BarCode_DefaultValue_EAN13,data_GS1_128:n.BarCode_DefaultValue_GS1_128,data_QRCODE:n.BarCode_DefaultValue_QRCODE,data_PDF417:n.BarCode_DefaultValue_PDF417},!((c=(u=C.arguments).length)<=0))){for(a=0;a<c;a++)u[a].type===e.ExpressionType.reference&&(s="",u[a]={value:"="+s,type:"referenceValue"});for(f=C.functionName.substr(3),o.barcodeType=r[f],o.value=u[0]&&u[0].value?u[0].value:"",o.color=u[1]&&u[1].value?u[1].value:o.color,o.backgroundColor=u[2]&&u[2].value?u[2].value:o.backgroundColor,o.quietZoneLeft=u[c-4]&&u[c-4].value?u[c-4].value:"",o.quietZoneRight=u[c-4]&&u[c-3].value?u[c-3].value:"",o.quietZoneTop=u[c-4]&&u[c-2].value?u[c-2].value:"",o.quietZoneBottom=u[c-4]&&u[c-1].value?u[c-1].value:"",d={},h=3,v=n.DefaultBarCodeTypeData[o.barcodeType],g=0,M=Object.keys(v);g<M.length;g++)I=M[g],D=void 0,D=(N=u[h])&&N.type!==e.ExpressionType.missingArgument?N.value:v[I],d[I]=D,h++;switch(o.barcodeType){case r.QRCODE:(b=d).version=""+b.version,b.mask=""+b.mask,o.data_QRCODE=b;break;case r.EAN13:o.data_EAN13=d;break;case r.EAN8:o.data_EAN8=d;break;case r.CODE39:o.data_CODE39=d;break;case r.CODE49:o.data_CODE49=d;break;case r.CODE93:o.data_CODE93=d;break;case r.CODE128:o.data_CODE128=d;break;case r.PDF417:(m=d).errorCorrectionLevel=""+m.errorCorrectionLevel,m.rows=""+m.rows,m.columns=""+m.columns,o.data_PDF417=m;break;case r.DATAMATRIX:o.data_DATAMATRIX=d;break;case r.GS1_128:o.data_GS1_128=d}return o}}function d(t,n){var i,e,o,u,c,a,s,l,f="",d=[],h=n.value||"";try{v(h)?(i=[]).length>0&&d.push(h.substr(1)):d.push(h)}catch(t){d.push('"'+h+'"')}switch(d.push('"'+n.color+'"'),d.push('"'+n.backgroundColor+'"'),e={},n.barcodeType){case r.QRCODE:e=n.data_QRCODE;break;case r.EAN13:e=n.data_EAN13;break;case r.EAN8:e=n.data_EAN8;break;case r.CODE39:e=n.data_CODE39;break;case r.CODE49:e=n.data_CODE49;break;case r.CODE93:e=n.data_CODE93;break;case r.CODE128:e=n.data_CODE128;break;case r.PDF417:e=n.data_PDF417;break;case r.DATAMATRIX:e=n.data_DATAMATRIX;break;case r.GS1_128:e=n.data_GS1_128;break;case r.CODABAR:e=n.data_CODABAR}for(o=!1===e.showLabel,u=0,c=Object.keys(e);u<c.length;u++)a=c[u],!o||"labelPosition"!==a&&"font"!==a.substr(0,4)?(s=String(e[a]),void 0===e[a]&&(s=""),/^[0-9]+.?[0-9]*$/.test(s)||null===s||""===s||"true"===s||"false"===s||-1!==s.indexOf("{")||(s='"'+s+'"'),d.push(s)):d.push("");return d.push(n.quietZoneLeft),d.push(n.quietZoneRight),d.push(n.quietZoneTop),d.push(n.quietZoneBottom),l=d.join(","),f+="=BC_"+n.barcodeType.toUpperCase(),f+="(",f+=l,f+=")"}function h(t,n,i){var e={text:"auto",value:"auto"},o={text:"0",value:"0"},r=Array.from({length:t},(function(t,n){return{text:(n+1).toString(),value:(n+1).toString()}})),c=u([],r,!0);return i&&c.unshift(o),n&&c.unshift(e),c}function v(t){return!(!t||"string"!=typeof t)&&"="===t.toString().charAt(0)}Object.defineProperty(n,"__esModule",{value:!0}),n.getItems=n.createBarcodeFormula=n.parseBarCodeOptions=n.getFieldRef=n.getDefaultBarcodeOptions=n.DefaultBarCodeTypeData=n.BarCode_DefaultValue_CODE128=n.BarCode_DefaultValue_CODE93=n.BarCode_DefaultValue_CODE39=n.BarCode_DefaultValue_CODABAR=n.BarCode_DefaultValue_CODE49=n.BarCode_DefaultValue_QRCODE=n.BarCode_DefaultValue_PDF417=n.BarCode_DefaultValue_GS1_128=n.BarCode_DefaultValue_EAN13=n.BarCode_DefaultValue_EAN8=n.BarCode_DefaultValue_DATAMATRIX=n.SANS_SERIF_FONT=n.BarCodeType=void 0,e=i(5035),o=i(591),function(t){t.QRCODE="QRCODE",t.EAN13="EAN13",t.EAN8="EAN8",t.CODABAR="CODABAR",t.CODE39="CODE39",t.CODE93="CODE93",t.CODE128="CODE128",t.GS1_128="GS1_128",t.CODE49="CODE49",t.PDF417="PDF417",t.DATAMATRIX="DATAMATRIX"}(r=n.BarCodeType||(n.BarCodeType={})),n.SANS_SERIF_FONT="sans-serif",n.BarCode_DefaultValue_DATAMATRIX={eccMode:"ECC000",ecc200SymbolSize:"",ecc200EncodingMode:"",ecc00_140Symbol:"",structureAppend:!1,structureNumber:0,fileIdentifier:0},n.BarCode_DefaultValue_EAN8={showLabel:!1,labelPosition:"top",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_EAN13={showLabel:!1,labelPosition:"top",addOn:"",addOnLabelPosition:"top",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_GS1_128={showLabel:!1,labelPosition:"top",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_PDF417={errorCorrectionLevel:"auto",rows:"auto",columns:"auto",compact:!1},n.BarCode_DefaultValue_QRCODE={errorCorrectionLevel:"L",model:2,version:"auto",mask:"auto",connection:!1,connectionNo:0,charCode:"",charset:"UTF-8"},n.BarCode_DefaultValue_CODE49={showLabel:!1,labelPosition:"top",grouping:!1,groupNo:"",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODABAR={showLabel:!1,labelPosition:"bottom",checkDigit:!1,nwRatio:3,fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODE39={showLabel:!1,labelPosition:"top",labelWithStartAndStopCharacter:!1,checkDigit:!1,nwRatio:3,fullASCII:!1,fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODE93={showLabel:!1,labelPosition:"top",checkDigit:!1,fullASCII:!1,fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODE128={showLabel:!1,labelPosition:"top",codeSet:"auto",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.DefaultBarCodeTypeData={QRCODE:n.BarCode_DefaultValue_QRCODE,EAN13:n.BarCode_DefaultValue_EAN13,EAN8:n.BarCode_DefaultValue_EAN8,CODABAR:n.BarCode_DefaultValue_CODABAR,CODE39:n.BarCode_DefaultValue_CODE39,CODE93:n.BarCode_DefaultValue_CODE93,CODE128:n.BarCode_DefaultValue_CODE128,GS1_128:n.BarCode_DefaultValue_GS1_128,CODE49:n.BarCode_DefaultValue_CODE49,PDF417:n.BarCode_DefaultValue_PDF417,DATAMATRIX:n.BarCode_DefaultValue_DATAMATRIX},n.getDefaultBarcodeOptions=c,n.getFieldRef=a,n.parseBarCodeOptions=f,n.createBarcodeFormula=d,n.getItems=h}},e={};function o(t){var n,r=e[t];return void 0!==r?r.exports:(n=e[t]={exports:{}},i[t].call(n.exports,n,n.exports,o),n.exports)}n=o(808),(((t=void 0===t?{}:t).Spread=t.Spread||{}).Sheets=t.Spread.Sheets||{}).TableSheet=n}(),t.Spread.Common.CultureManager.reloadResources&&t.Spread.Common.CultureManager.reloadResources("TableSheet")}));
12
+ !function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("@mescius/spread-sheets")):"function"==typeof define&&define.amd?define(["@mescius/spread-sheets"],t):"object"==typeof exports?exports.Spread=t(require("@mescius/spread-sheets")):t(GC)}((function(t){!function(){"use strict";var n,i={117:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h=this&&this.mJr||function(){return h=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},h.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.YQe=n.AcceptExtensionsValueType=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(6018),a=i(591),s=e.mt,l=s.En,function(t){t.txt=".txt",t.all="",t.pdf=".pdf",t.image=".jpg, .png, .gif",t.excel=".xls, .xlsx, .ppt, .pptx, .doc, .docx"}(f=n.AcceptExtensionsValueType||(n.AcceptExtensionsValueType={})),d=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.WQe=(0,e.GC$)(l("div"));return n.addClass("gc-defined-column-attachment-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.WQe,i=t.LEt;return t.cb=new u.Kze({inputId:"attachment-file-type",items:[{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.all,value:f.all},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.txt,value:f.txt},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.image,value:f.image},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.pdf,value:f.pdf},{text:(0,o.getSR)().columnTypeAttachmentAcceptValueTypes.excel,value:f.excel}],label:{text:(0,o.getSR)().columnTypeAttachmentAccept},onChange:function(){t.JQe()}}),t.cb.create().appendTo(n),t.cb.setValue(i.fileType||""),t.XQe=new c.AZe({inputId:"attachment-size-limit",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentMaxSize},onChange:function(){t.JQe()}}),t.XQe.create().appendTo(n),t.XQe.setValue(i.maxSize||2048),t.KQe=new r.Rze({label:{text:(0,o.getSR)().columnTypeAttachmentIsPreviewEnabled},onChange:function(){t.JQe()}}),t.KQe.create().appendTo(n),t.KQe.setValue(!!i.preview||(0,a.isNullOrUndefined)(i.preview)),t.$Qe=new r.Rze({label:{text:(0,o.getSR)().columnTypeAttachmentIsDownloadEnabled},onChange:function(){t.JQe()}}),t.$Qe.create().appendTo(n),t.$Qe.setValue(!!i.download||(0,a.isNullOrUndefined)(i.download)),t.d5=new r.Rze({label:{text:(0,o.getSR)().columnTypeAttachmentIsClearEnabled},onChange:function(){t.JQe()}}),t.d5.create().appendTo(n),t.d5.setValue(!!i.clear||(0,a.isNullOrUndefined)(i.clear)),n},t.prototype.JQe=function(){var t,n,i,e,o,r=this;this.LEt.onChange({fileType:null===(t=r.cb)||void 0===t?void 0:t.value,maxSize:null===(n=r.XQe)||void 0===n?void 0:n.value,preview:null===(i=r.KQe)||void 0===i?void 0:i.value,download:null===(e=r.$Qe)||void 0===e?void 0:e.value,clear:null===(o=r.d5)||void 0===o?void 0:o.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=h(h({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.WQe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.WQe=a.keyword_null},t.prototype.L0=function(){var t=this;t.cb&&t.cb.dispose(),t.cb=a.keyword_null,t.XQe&&t.XQe.dispose(),t.XQe=a.keyword_null,t.KQe&&t.KQe.dispose(),t.KQe=a.keyword_null,t.$Qe&&t.$Qe.dispose(),t.$Qe=a.keyword_null,t.d5&&t.d5.dispose(),t.d5=a.keyword_null},t}(),n.YQe=d},419:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m=this&&this.vJr||(C=function(t,n){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},C(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}C(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),C;function w(t){return{field:t.rYt,ascending:t.ascending,compare:t.compareFunction}}function y(t){var n,i,e,o=I(b);for(n=0,i=o;n<i.length;n++)e=i[n],b[e].call(t)}function x(t){var n=t.Mf;n.hA=o.ClipboardPasteOptions.values,n.lF=o.CopyToOptions.value,n.JT=!1,n.UB=!1}function A(t,n,i,e,r,u){var c,a,s,l,f,d,h,v,M,I,N,D=t.NMi;return D.isAlternatingRowStyleColumn(i)?(c=D.FDi(i),D&&(g(e)||e===o.SheetArea.viewport)&&!t.oNi&&!c&&n>=0&&i>=0&&(a=D.options.alternatingRowOptions)&&(s=a.step||[1,1],l=g(s[0])?1:s[0],f=g(s[1])?1:s[1],d=a.style,!g(d)&&l>=0&&f>=0&&l+f!==0&&(h=void 0,v=void 0,Array.isArray(d)?(h=d[0],v=d[1]):h=d,u=!0,M=l+f,N=void 0,(N=(I=Math.floor(n%M))<l?h:v)&&(r.h5(N,!1,45),(0,o.composeParentStyle)(N,r,t,!1,45,!0)))),u):u}Object.defineProperty(n,"__esModule",{value:!0}),n.overrideProperties=n.overrideMethods=n.ColumnHeaderStateRule=n.SR=void 0,e=i(7234),o=i(1376),r=i(8333),u=i(447),c=i(8301),a=i(1434),s=i(7929),l=i(7669),f=i(2221),n.SR={en:c},d=new e.Common.ResourceManager(n.SR,"TableSheet"),h=d.getResource.bind(d),v=e.Common.lt,g=v.ht,M=v.q8,I=Object.keys,N=null,D=function(t){function n(n,i,e){var r=t.call(this,n,i,e,[new o.Range(-1,-1,-1,-1)])||this;return r.nT=o.SheetArea.colHeader,Object.defineProperty(r,"sheetArea",{get:function(){return r.nT}}),r}return m(n,t),n}(r.StateRule),n.ColumnHeaderStateRule=D,b={aL:function(){var t=this,n=t.Mf,i=new s.GroupHideRowFilter(new o.Range(-1,-1,-1,-1),this);i.filterDialogVisibleInfo({sortByValue:!0,sortByColor:!1,filterByColor:!1,filterByValue:!0,listFilterArea:!0}),n.rowFilter(i)},OTi:function(){var t=this,n=t.Mf;n.sortRangeOriginal=n.sortRange,n.sortRange=function(i,e,o,r,u,c,a,s,l){var d,h,v,g=this,M=g.getDataSource();return!!M&&(h=(d=n.rowFilter()).Dze(),v=c.map((function(n){return d.setSortInfo(n),n.rYt=t.dDi(n.index),w(n)})),d.jFt()&&(v=d.xno().map((function(t){return w(t)}))),M.sort(v),this.qni.addUndoChanges({type:f.TableSheetUndoType.SortMapChanged,oldData:h}),!0)}},ETi:function(){var t,n=this,i=this,e=i.Mf;e.onItemRemoved=function(t){this.zw()},e.onItemGotten=function(t,n,e){var o;return t&&t.isGroup&&!g(t.OFt)?i.keo()===u.GroupLayoutMode.tabular&&i.DMi(t.OFt,n)?e:N:i.VDi(n)?e:void 0},e.TF=function(){return n},e.hP=function(){var t=this.parent;return!t||t.getActiveSheetTab()===this.NMi},e.FT=function(){return h().Exp_InvalidOperationInProtectForTableSheet},g(e.UTi)&&(e.UTi=e.jT,e.jT=function(){var t,n,i=[];for(t=0;t<arguments.length;t++)i[t]=arguments[t];this.sw?(n=this.C6(this.sw.rowViewportIndex,this.sw.colViewportIndex))!==o.SheetArea.rowHeader&&n!==o.SheetArea.corner&&e.UTi.apply(e,i):e.UTi.apply(e,i)}),e.Ci=function(t,n,r){var u;return r===o.SheetArea.rowHeader&&i.CDi(t,n)?u=i.ODi(t):(u=e.CP(t,n,r),g(u)&&!g(t)&&r===o.SheetArea.rowHeader&&(u=e.CP(-1,n,r))),u},t=e.AO.bind(e),e.AO=function(){var n=i.getDataView(),e;return(n&&n.length()||0)>0?t():[]}},GTi:function(){var t=this,n=this.Mf;n.getCompositeStyle=function(i,e,r,u,c,a,s){var f,d,h,v,I,D,b,m;if(void 0===s&&(s={}),g(r)&&(r=3),d=this,h=new o.Style,v=!1,I=t.nIe(i,e,r),0!==r){if(v=d.IL(i,e,r,h,v,u),s.hasTableStyle)return h;v=d.xL(i,e,r,h,v,s.table,s.isForFilter),v=(f=d.NL(i,e,r,h,v,s.pivotTable,s.isForFilter,s.pivotTableStyle)).changed,h=f.destInfo,v=d.kL(i,r,h,v,c),(D=1===r&&i<n.Ut.getFreeAreaRowCount(r))||I||(v=d.DL(e,r,h,v,a)),b=M(s.rowSpacingIndex),I||b||(v=A(d,i,e,r,h,v))}return d._L(r,h,v,s.ignoreSheet),(0,l.setInsertedRowCrossStyle)(t,i,e,h,r),I&&(h.cellButtons=[],h.locked=!0),3===r&&t.iDi(i,e)&&(h.locked=!0),3!==r||!t.zDi(i)||g(a)||g(a.formatter)||(m=void 0,(m="string"==typeof a.formatter?a.formatter:a.formatter.formatCached)&&m.indexOf("=")>-1&&(h.formatter=N)),h}},l0t:function(){var t,n=this,i=n.Mf,e=i._1,r=e.getStateMethods;r[4]=function(t,i,e,r,u){if(e)return!1;if(u===o.SheetArea.colHeader){if(!(0,a.nMi)(this,t,i))return!1;var c=(0,l.getColumnInfo)(n,i);if(c)return c.readonly}return n.pNi(i)},r[1024]=function(t,n,e,r,u){return!e&&u===o.SheetArea.colHeader&&(!!(0,a.nMi)(this,t,n)&&n<i.frozenColumnCount())},r[2048]=function(t,i,e,r,u){if(e||u!==o.SheetArea.colHeader)return!1;if(!(0,a.nMi)(this,t,i))return!1;var c=(0,l.getColumnInfo)(n,i);return!!c&&c.isPrimaryKey},r[4096]=function(t,i,e,r,u){var c,s;return!e&&u===o.SheetArea.colHeader&&(!!(0,a.nMi)(this,t,i)&&(!!(c=(0,l.getColumnInfo)(n,i))&&((s=!(c.isPrimaryKey||c.readonly))&&c.required)))},r[o.RowColumnStates.dirty]=function(t,i,e){var o=n.getDataView();return!(!e||!o)&&(o.isUpdated(t)||o.isInserted(t))},r[o.RowColumnStates.inserted]=function(t){var i=n.getDataView();return i&&i.isInserted(t)},r[256]=function(t){var i=n.getDataView();return i&&i.isUpdated(t)},t=r[o.RowColumnStates.selected],r[o.RowColumnStates.selected]=function(i,o,r,u){if("function"==typeof t)return t.call(e.context,i,o,r,u)||n.aDi(i)}}},n.overrideMethods=y,n.overrideProperties=x},447:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.CustomSheetTab=n.GroupLayoutMode=n.GroupOutlinePosition=n.TriggerWhenType=n.ColumnTypes=void 0,e=i(1376),o=e.util.Z0,r=e.util.V0,function(t){t.Number="Number",t.Text="Text",t.Formula="Formula",t.Checkbox="Checkbox",t.Date="Date",t.Currency="Currency",t.Percent="Percent",t.Phone="Phone",t.Email="Email",t.URL="URL",t.Lookup="Lookup",t.CreatedTime="CreatedTime",t.ModifiedTime="ModifiedTime",t.Attachment="Attachment",t.Select="Select",t.Barcode="Barcode"}(u=n.ColumnTypes||(n.ColumnTypes={})),function(t){t.onNew="onNew",t.onNewAndUpdate="onNewAndUpdate"}(c=n.TriggerWhenType||(n.TriggerWhenType={})),function(t){t[t.none=0]="none",t[t.groupCell=1]="groupCell",t[t.rowHeader=2]="rowHeader",t[t.groupCellAll=3]="groupCellAll"}(a=n.GroupOutlinePosition||(n.GroupOutlinePosition={})),function(t){t[t.tabular=0]="tabular",t[t.outline=1]="outline",t[t.condensed=2]="condensed"}(s=n.GroupLayoutMode||(n.GroupLayoutMode={})),l=function(){function t(t){this.Hc(t)}return t.prototype.Hc=function(t){this.Zc=t,this.jft=e.SheetTabVisible.visible,this._gi=e.SheetType.customSheetTab},t.prototype.hg=function(t){this.onSetHost(t)},t.prototype.onSetHost=function(t){},t.prototype.L0=function(t,n){this.onDispose(t,n)},t.prototype.onDispose=function(t,n){},t.prototype.Zg=function(t){},t.prototype.pM=function(t){this.parent=t},t.prototype.getParent=function(){return this.parent},t.prototype.name=function(t){if(0===arguments.length)return this.Zc;this.Zc=t},t.prototype.visible=function(t){if(0===arguments.length)return this.jft;this.jft=!0===t?e.SheetTabVisible.visible:!1===t?e.SheetTabVisible.hidden:t},t.prototype.b2=function(t,n){if(0===arguments.length)return this.ni;this.ni=t},t.prototype.ow=function(){},t.prototype.tw=function(){},t.prototype.aw=function(){},t.prototype.$C=function(t){},t.prototype.Wb=function(t,n){},t.prototype.Kb=function(t){},t.prototype.Fb=function(t,n){},t.prototype.onHorizontalDockScroll=function(t,n){},t.prototype.Gb=function(t){},t.prototype.WC=function(t,n,i){this.parent._hScrollbar.w4()},t.prototype.QC=function(t,n,i){this.parent._vScrollbar.w4()},t.prototype.Cg=function(){this.onDoResize()},t.prototype.onDoResize=function(){},t.prototype.suspendPaint=function(){},t.prototype.resumePaint=function(){},t.prototype.isPaintSuspended=function(){return!1},t.prototype.bind=function(t,n,i){},t.prototype.unbind=function(t,n){},t.prototype.unbindAll=function(){},t.prototype.D3=function(t,n,i){},t.prototype._3=function(t,n){},t.prototype.E3=function(){},t.prototype.suspendEvent=function(){},t.prototype.resumeEvent=function(){},t.prototype.isEventSuspended=function(){return!1},t.prototype.bC=function(){},t.prototype.ki=function(t,n,i){},t.prototype.isEditing=function(){return!1},t.prototype.ol=function(t,n,i,e){return!0},t.prototype.currentTheme=function(t){},t.prototype.FM=function(){},t.prototype.toJSON=function(t){},t.prototype.fromJSON=function(t,n,i,e,o){},t.prototype.uw=function(){return{top:0,left:0}},t.prototype.ot=function(){return new e.Rect(0,0,0,0)},t.prototype.hitTest=function(t,n,i,e){return null},t.prototype.e1e=function(){},t.prototype.parameter=function(t){var n,i,e,u;if(0===arguments.length){for(e in i={},n=this.o1e)n.hasOwnProperty(e)&&(i[e]=r(n[e]));return i}if(t){for(e in u={},t)t.hasOwnProperty(e)&&(u[e]=o(t[e]));this.o1e=u}},t}(),n.CustomSheetTab=l},591:function(t,n,i){var e,o,r,u;function c(t){return"boolean"==typeof t}function a(t){return"string"==typeof t}function s(t){return t&&"="===t[0]}function l(t){return t&&t.indexOf(".")>-1}function f(t){return"number"==typeof t}function d(t){return e.Common.ct.W0(t)}function h(t){return"function"==typeof t}function v(t,n){var i=t.get(0);M(i)?i.aer():i.dispatchEvent(new Event(n))}function g(t){return t&&t.indexOf("sjs-")>-1}function M(t){return g(t.nodeName.toLowerCase())}function I(t){var n=t.get(0);return M(n)?n.shadowRoot&&n.shadowRoot.querySelector("input"):n}function N(t,i){var e,r,u=(0,o.GC$)(t,i);return M(t)&&(u.bur=function(t){u.get(0).bur(t)},u.focus=function(){u.get(0).ZS()},u.setItems=function(t){t&&t.length>0&&u.attr("items",JSON.stringify(t));try{u.get(0).Cor(t)}catch(t){}},u.val=function(t){var i=u.get(0);if(!arguments.length)return i.Sl();try{!(0,n.isNullOrUndefined)(i.getAttribute("value"))||i.shadowRoot&&!(0,n.isNullOrUndefined)(i.shadowRoot.innerHTML)&&""!==i.shadowRoot.innerHTML?i.Kbt(t):i.y4=t}catch(t){}(0,n.isNullOrUndefined)(t)||i.setAttribute("value","string"==typeof t?t:""+t)},e=u.bind.bind(u),u.bind=function(t,i,o){void 0===o&&(o=i,i=n.keyword_undefined),"input"!==t?e(t,i,o):e(t="sjs-value-change",i,(function(t){var i=!1,e,r=!1;(0,n.isNullOrUndefined)(t.target)?(i=!0,t.target={value:t.detail}):t.target.value!==t.detail&&(r=!0,e=t.target.value,t.target.value=t.detail),o(t),r&&(t.target.value=e),i&&delete t.target}))},r=u.unbind.bind(u),u.unbind=function(t){"input"===t&&(t="sjs-value-change"),r(t)}),u}function D(t){return N(u(t))}function b(t){return C(t,!0)}function m(t){return C(t,!1)}function C(t,n){var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e=new RegExp("(?:&|<|>|\"|'|`)","g"),o={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"},r=new RegExp("(?:&amp;|&lt;|&gt;|&quot;|&#x27;|&#x60;)","g"),u=n?e:r,c=n?i:o;return u.test(t)?t.replace(u,(function(t){return c[t]})):t}Object.defineProperty(n,"__esModule",{value:!0}),n.dI=n.j0=n.createDCElement=n.DC$=n.getSJSInput=n.isSJSElem=n.isSJSComponent=n.triggerEvent=n.isFunction=n.isDate=n.isNumber=n.isRelation=n.isFormula=n.isString=n.isBoolean=n.keyword_undefined=n.keyword_null=n.cloneObject=n.isNullOrUndefined=n.DOCUMENT=void 0,e=i(7234),o=i(1376),n.DOCUMENT=document,r=e.Common.lt,u=o.mt.En,n.isNullOrUndefined=r.ht,n.cloneObject=r.tv,n.keyword_null=null,n.keyword_undefined=void 0,n.isBoolean=c,n.isString=a,n.isFormula=s,n.isRelation=l,n.isNumber=f,n.isDate=d,n.isFunction=h,n.triggerEvent=v,n.isSJSComponent=g,n.isSJSElem=M,n.getSJSInput=I,n.DC$=N,n.createDCElement=D,n.j0=b,n.dI=m},605:function(n){n.exports=t.Spread.Sheets.StatusBar},806:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M=this&&this.vJr||(N=function(t,n){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},N(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),I=this&&this.mJr||function(){return I=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},I.apply(this,arguments)},N;function D(t){return"number"==typeof t}function b(t){return"string"==typeof t}function m(t){return t instanceof Function}function C(t){return"object"==typeof t&&!a(t)}function w(t){return t instanceof Array}function y(t){return"boolean"==typeof t}function x(t){return b(t)?"ROWACTION_".concat(t):t}function A(t,n){C(n)?(t.imageType=n.imageType,t.imageSrc=n.imageSrc,t.imageSize=n.imageSize):(t.imageType=l,t.imageSrc=l,t.imageSize=l)}function j(t,n,i,e,r,u,c){var s=S(t,n,i,e,c);if(!a(s))return r[u]=new o.Rect(s.x,s.y,s.width,s.height),r[u].offsetX=s.x-c.x,r[u].offsetY=s.y-c.y,r[u]}function T(t,n,i,e,o,r){z(t,n.x,n.y,n.width,n.height,i,e,o,r)}function z(t,n,i,e,o,u,c,a,s){var l,f;t.save(),t.rect(n,i,e,o),t.clip(),t.beginPath(),(f=Q(u,(l=a.dataRange?a.dataRange.convertContext(a):a).row))&&p(t,u,n,i,e,o,f,a,s,r.middleCenter),t.restore()}function p(t,n,i,e,r,u,c,a,s,l){var f,d,h,g,M,I,N,D,b,m,C,w,y;t.save(),t.rect(i,e,r,u),t.clip(),t.beginPath(),(d=(f=a.sheet).BO()).getState(c)?d.qh(c)&&(h=f.zoom(),g=new o.Rect(i,e,r,u),M=Z(n),I=U(n),D=L(l,g,N=new o.Rect(0,0,M*h,I*h)),m=(b=d.getImage(c)).width,C=b.height,o.mt.Tt.msie&&n.imageType&&(n.imageType===o.ButtonImageType.custom?(v[c]||(b.style.position="absolute",b.style.left="-10000px",b.style.top="-100000px",document.body.appendChild(b),v[c]={width:b.width,height:b.height},document.body.removeChild(b)),m=v[c].width,C=v[c].height):(m=12,C=12)),s&&o.mt.Tt.msie&&D.x+D.width>s.x+s.width?(w=s.x+s.width-D.x)>0&&(y=m/(M*h),t.drawImage(b,0,0,w*y,C,D.x,D.y,w,I*h)):t.drawImage(b,0,0,m,C,D.x,D.y,M*h,I*h)):d.addImage(c,"anonymous"),t.restore()}function L(t,n,i){var e=Math.max(0,(n.width-i.width)/2),u=Math.max(0,(n.height-i.height)/2);return t===r.leftCenter&&(e=0),new o.Rect(n.x+e,n.y+u,Math.min(i.width,n.width),Math.min(i.height,n.height))}function S(t,n,i,e,r){if(!(t+i<r.x||t>r.x+r.width||n+e<r.y||n>r.y+r.height))return t+i>r.x+r.width&&(i=r.x+r.width-t),n+e>r.y+r.height&&(e=r.y+r.height-n),t<r.x&&(t=r.x),n<r.y&&(n=r.y),new o.Rect(t,n,i,e)}function O(t,n){return D(t)?{imageType:t}:b(t)?{imageType:o.ButtonImageType.custom,imageSrc:t,imageSize:k(n)}:l}function k(t){return D(t)?{width:t,height:t}:t}function E(t,n,i,e){var o,r;return void 0===e&&(e=!0),o=i.sheet.zoom(),a(t.width)?(r=Z(t),e?r*o:r):(r=f(1,t.width),isNaN(r)&&(r=1),e?r*o:r)}function Z(t){var n;return t.imageSize&&("string"==typeof t.imageSize.width&&(n=d(t.imageSize.width)),"number"==typeof t.imageSize.width&&(n=t.imageSize.width)),(n===s||isNaN(n)||n<0)&&(n=12),n}function U(t){var n;return t.imageSize&&("string"==typeof t.imageSize.height&&(n=d(t.imageSize.height)),"number"==typeof t.imageSize.height&&(n=t.imageSize.height)),(n===s||isNaN(n)||n<0)&&(n=12),n}function G(t,n,i,e,o){var r=t.Ut.getValueForKey(n,i,h,e);return a(r)&&B(t,n,i,e,r={layout:{}}),r}function B(t,n,i,e,o){t.Ut.setValueForKey(n,i,h,o,e)}function R(t,n,i,e,o){var r;delete G(n,i,e,o).layout[t]}function P(t,n,i){var e,o,r=n.BO();for(e=0;e<t.length;e++)b(o=Q(t[e].option,i))&&r.addImage(o,"anonymous")}function Q(t,n){var i,e,r=null,u=t.imageType;if(a(t.imageType))return null;switch(e=(i=Y(t.enabled,n))||a(i),u){case o.ButtonImageType.dropdown:r=e?"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU1ICg3ODA3NikgLSBodHRwczovL3NrZXRjaGFwcC5jb20gLS0+CiAgICA8dGl0bGU+ZHJvcGRvd248L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZyBpZD0iZHJvcGRvd24iIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwb2x5Z29uIGZpbGw9IiM2RTZFNkUiIHBvaW50cz0iMyA0IDEwIDQgNi41IDkiPjwvcG9seWdvbj4KICAgIDwvZz4KPC9zdmc+":"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcj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mUgeDE9IjZweCIgeTE9IjJweCIgeDI9IjZweCIgeTI9IjEwcHgiIHN0eWxlPSJzdHJva2U6ICM2ZTZlNmU7IHN0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICA8L3N2Zz4=":"data:image/svg+xml;PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJleHBhbmQiIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjEycHgiPgogICAgICAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMnB4IiBoZWlnaHQ9IjEycHgiIHJ4PSI0cHgiIHJ5PSI0cHgiIHN0eWxlPSJzdHJva2U6ICNjYWNhY2E7IHN0cm9rZS13aWR0aDoxcHg7IGZpbGw6IG5vbmU7Ii8+CiAgICAgICAgPGxpbmUgeDE9IjJweCIgeTE9IjZweCIgeDI9IjEwcHgiIHkyPSI2cHgiIHN0eWxlPSJzdHJva2U6ICNjYWNhY2E7IHN0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgPGxpbmUgeDE9IjZweCIgeTE9IjJweCIgeDI9IjZweCIgeTI9IjEwcHgiIHN0eWxlPSJzdHJva2U6ICNjYWNhY2E7IHN0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICA8L3N2Zz4=";break;case o.ButtonImageType.custom:r=t.imageSrc}return r}function Y(t,n){return"function"==typeof t?t(n):t}Object.defineProperty(n,"__esModule",{value:!0}),n.paintImage=n.RowAction=n.ImagePosition=void 0,e=i(7234),o=i(1376),function(t){t[t.leftTop=0]="leftTop",t[t.leftCenter=1]="leftCenter",t[t.leftBottom=2]="leftBottom",t[t.middleTop=3]="middleTop",t[t.middleCenter=4]="middleCenter",t[t.middleBottom=5]="middleBottom",t[t.rightTop=6]="rightTop",t[t.rightCenter=7]="rightCenter",t[t.rightBottom=8]="rightBottom"}(r=n.ImagePosition||(n.ImagePosition={})),u=e.Common.lt,c=o.CellTypes.RowHeader,a=u.ht,s=null,l=void 0,f=Math.max,d=parseInt,h="rowActionParam",v={},g=function(t){function n(n,i){var e=t.call(this)||this;return e.Wgi=[],e.MU=n,e.DJ=i,e}return M(n,t),n.prototype.toJSON=function(){var n=t.prototype.toJSON.call(this);return delete n.MU,delete n.Wgi,delete n.DJ,n},n.prototype.build=function(t){this.Wgi=this.Hgi(t)},n.prototype.iIe=function(t,n){return t.NMi.tIe(n)?this.Wgi:[]},n.prototype.Hgi=function(t){var n=this,i=n.MU,e=n.MU.subActionOptions;return t=w(t.subActionOptions)?t.subActionOptions:[t],(w(e)?e:[i]).map((function(n,i){return I({rowActionOption:n,command:x(n.command),visible:!0},t[i])}))},n.prototype.Vgi=function(t,n){var i=-1;return y(t)?1===n.length?i=t?0:-1:n.length>1&&(i=t?1:0):D(t)&&(i=t),i},n.prototype.Fgi=function(t,n){var i=t.icons,e=void 0===i?[]:i,o=t.iconSelector,r=t.iLi,u=t.iconSize,c=this,a=c.DJ,s=c.Vgi(o?o(a.getDataItem(n),n,a):!r||r(l,n,a),e),f=e[s];return O(f,u)},n.prototype.Jgi=function(t){var n,i,e,o,r=this,u=t.dataRange?t.dataRange.convertContext(t):t,c=r.iIe(u.sheet,u.row),s=[];for(n=0;n<c.length;n++)e=(i=c[n]).visible,a(e)||m(e)&&e(u.row)||y(e)&&e?(o=r.Fgi(i.rowActionOption,u.row),a(o)?R(n,u.sheet,u.row,u.col,u.sheetArea):(s.push({index:n,width:0,option:i}),A(i,o))):R(n,u.sheet,u.row,u.col,u.sheetArea);return s},n.prototype.Xgi=function(t,n,i,e){var o,r,u=0;for(o=0;o<t.length;o++)r=E(t[o].option,i,e),t[o].width=r,u+=r;return n/2-u/2},n.prototype.Kgi=function(t,n,i,e,r,u,c,s){var l,f,d,h,v,g,M=this,I=s.sheet,N=s.row,D=s.col,b=s.sheetArea,m=new o.Rect(i,e,r,u),C=s.dataRange?s.dataRange.convertContext(s):s,w=M.Jgi(s);if(w.length>0){for(P(w,I,C.row),t.save(),t.rect(m.x,m.y,m.width,m.height),t.clip(),t.beginPath(),l=m.x+M.Xgi(w,m.width,c,s),d=(f=G(I,N,D,b)).layout,h=0;h<w.length;h++)v=w[h],g=j(l,m.y,v.width,m.height,d,v.index,m),a(g)||(T(t,g,v.option,c,s,f),l+=g.width);t.restore()}},n.prototype.paint=function(n,i,e,o,r,u,c,a){n&&(t.prototype.paint.call(this,n,i,e,o,r,u,c,a),this.Kgi(n,i,e,o,r,u,c,a))},n.prototype.getHitInfo=function(t,n,i,e,r){var u,c,a,s,l,f,d,h={x:t,y:n,row:r.row,col:r.col,cellRect:e,cellStyle:i,sheetArea:r.sheetArea,sheet:r.sheet,context:r,isRowAction:!0},v=r.dataRange?r.dataRange.convertContext(r):r,g=G(h.sheet,h.row,h.col,h.sheetArea,!0),M=this.iIe(v.sheet,v.row);if(!g||0===M.length)return null;for(l in u=g.layout,c=-1,a=h.x,s=h.y,u)if(u.hasOwnProperty(l)&&(f=void 0,d=u[l],(f=new o.Rect(e.x+d.offsetX,e.y+d.offsetY,d.width,d.height))&&f.contains(a,s))){c=+l;break}return-1!==c&&(h.actionHitInfo={index:c,option:M[c]}),h},n.prototype.processMouseUp=function(t){var n,i,e,r,u,c,l,f,d,h,v,g,M,I,N,D,C;return!!t&&(n=t.sheet,i=t.row,e=t.col,r=t.cellRect,u=t.sheetArea,c=t.actionHitInfo,f=(l=n.getSelections()).length>1||1===l.length&&l[0].rowCount>1,d=t.isShift,h=t.isCtrl,!(d||h||f||!(i===n.ui&&e===n.ci||u!==o.SheetArea.rowHeader||n.endEdit()))&&(g=(v=t.context.dataRange)?t.context.dataRange.convertContext(t.context):t.context,D=(M=this).MU,a(c)?(I=x(D.command),N=!0):(I=(C=c.option).command,N=Y(C.enabled,g.row)),!(!n||a(I)||!N&&!a(N))&&(n.getActiveRowIndex()===i&&n.getActiveColumnIndex()===e||n.eR(i,-1,1,-1,2),b(I)?n.getParent().commandManager().execute({cmd:I,row:g.row,col:g.col,sheetName:g.sheet.name(),sheetArea:g.sheetArea,isDataRange:v}):m(I)&&I.call(s,g.sheet,g.row,g.col,g.sheetArea),t.isReservedLocation=!0,n.repaint(r),!0)))},n.prototype.processMouseMove=function(t){var n,i,e,o,r,u,c,s;return!!t&&(n=this,i=t.actionHitInfo,o=n.MU,u=(r=t.context.dataRange?t.context.dataRange.convertContext(t.context):t.context).sheet.Ut.Ci(r.row,r.col,r.sheetArea),c=r.sheet.Ut.Ci(-1,r.col,r.sheetArea),!b(u)&&(e=a(i)?o.tooltip:(s=i.option).rowActionOption.tooltip,!(!r.sheet||e===c)&&(r.sheet.Ut.$n(-1,r.col,e,r.sheetArea),!0)))},n}(c),n.RowAction=g,n.paintImage=p},808:function(t,n,i){var e=this&&this.hJr||(Object.create?function(t,n,i,e){void 0===e&&(e=i);var o=Object.getOwnPropertyDescriptor(n,i);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[i]}}),Object.defineProperty(t,e,o)}:function(t,n,i,e){void 0===e&&(e=i),t[e]=n[i]}),o=this&&this.dJr||function(t,n){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(n,i)||e(n,t,i)};Object.defineProperty(n,"__esModule",{value:!0}),o(i(447),n),i(8680),i(4488),o(i(6277),n),i(6602),o(i(6114),n),i(3889),i(1850),o(i(419),n),o(i(7621),n)},1090:function(t,n,i){var e,o,r,u,c,a,s=this&&this.vJr||(l=function(t,n){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},l(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}l(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),l;Object.defineProperty(n,"__esModule",{value:!0}),n.leo=void 0,e=i(1376),o=i(8057),r=i(9846),u=e.mt,c=u.En,a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.ZX=function(){var t,n,i=this,o=(0,e.GC$)(c("div"));return o.addClass("gc-defined-column-barcode-options-container"),t=[],i.ato(o,"eccMode",[{text:"ECC000",value:"ECC000"},{text:"ECC050",value:"ECC050"},{text:"ECC080",value:"ECC080"},{text:"ECC100",value:"ECC100"},{text:"ECC140",value:"ECC140"},{text:"ECC200",value:"ECC200"}],void 0,(function(i){var e=i.value;"ECC140"===e?(n.isDisable()&&n.resetDisable(),t.forEach((function(t){t.isDisable()||t.resetDisable()}))):"ECC200"===e?(t.forEach((function(t){t.isDisable()&&t.resetDisable()})),n.isDisable()||n.resetDisable()):(t.forEach((function(t){t.isDisable()||t.resetDisable()})),n.isDisable()||n.resetDisable())})),t.push(i.cto(o,"structureAppend",!1)),t.push(i.ato(o,"ecc200SymbolSize",[{text:"squareAuto",value:"squareAuto"},{text:"rectangularAuto",value:"rectangularAuto"},{text:"square10",value:"square10"},{text:"square12",value:"square12"},{text:"square14",value:"square14"},{text:"square16",value:"square16"},{text:"square18square20",value:"square18square20"},{text:"square22",value:"square22"},{text:"square24",value:"square24"},{text:"square26",value:"square26"},{text:"square32",value:"square32"},{text:"square36",value:"square36"},{text:"square40",value:"square40"},{text:"square44",value:"square44"},{text:"square48",value:"square48"},{text:"square52",value:"square52"},{text:"square64",value:"square64"},{text:"square72",value:"square72"},{text:"square80",value:"square80"},{text:"square88",value:"square88"},{text:"square96",value:"square96"},{text:"square104",value:"square104"},{text:"square120",value:"square120"},{text:"square132",value:"square132"},{text:"square144",value:"square144"},{text:"rectangular8x18",value:"rectangular8x18"},{text:"rectangular8x32",value:"rectangular8x32"},{text:"rectangular12x26",value:"rectangular12x26"},{text:"rectangular12x36",value:"rectangular12x36"},{text:"rectangular16x36",value:"rectangular16x36"},{text:"rectangular16x48",value:"rectangular16x48"}],!1)),t.push(i.ato(o,"structureNumber",(0,r.getItems)(15,!1,!0),!1)),t.push(i.ato(o,"ecc200EncodingMode",[{text:"auto",value:"auto"},{text:"ASCII",value:"ASCII"},{text:"C40",value:"C40"},{text:"Text",value:"Text"},{text:"X12",value:"X12"},{text:"EDIFACT",value:"EDIFACT"},{text:"Base256",value:"Base256"}],!1)),t.push(i.teo(o,"fileIdentifier",0,254,!1)),n=i.ato(o,"ecc00_140Symbol",[{text:"auto",value:"auto"},{text:"square9",value:"square9"},{text:"square11",value:"square11"},{text:"square13",value:"square13"},{text:"square15",value:"square15"},{text:"square17",value:"square17"},{text:"square19",value:"square19"},{text:"square21",value:"square21"},{text:"square23",value:"square23"},{text:"square25",value:"square25"},{text:"square27",value:"square27"},{text:"square29",value:"square29"},{text:"square31",value:"square31"},{text:"square33",value:"square33"},{text:"square35",value:"square35"},{text:"square37",value:"square37"},{text:"square39",value:"square39"},{text:"square41",value:"square41"},{text:"square43",value:"square43"},{text:"square45",value:"square45"},{text:"square47",value:"square47"},{text:"square49",value:"square49"}],!1),o},n}(o.Meo),n.leo=a},1163:function(t,n,i){var e,o,r,u,c,a,s,l,f,d;function h(t){var n,i=t.match(c);if(i&&i[0])return n=i[0],-1!==f.indexOf(n)?-1:parseInt(n.split("-")[1],16)}function v(t){return t.replace(c,(function(t,n){var i="[$";return n.length>0&&"-"!==n[0]&&(i+="$"),i+="-409]"}))}function g(t,n){if(!t)return t;var i=t.split(";");return(i=i.map((function(t,e){return 4===i.length&&2===e?t.replace(new RegExp("\\?{"+n+"}"),""):t.replace(u,"")}))).join(";")}function M(t){var n=e.Common.CultureManager.getCultureInfoDict(),i=(0,o.getSR)().columnTypeNumberFormatting.japanEmperorReignDateFormat,u=(0,o.getSR)().columnTypeNumberFormatting.japanEmperorReignFirstYearDateFormat,c={category:4,index:-1};if(t=t.replace(l,""),u.indexOf(t)>-1?(c.index=u.indexOf(t),c.locale="ja-jp",c.calendarType="JER",1===c.index&&(c.numberSystem=1)):i.indexOf(t)>-1?(c.index=i.indexOf(t),c.locale="ja-jp",c.calendarType="JER"):Object.keys(n).forEach((function(i){var e,o,u,s,l;if(!(c.index>-1)&&"invariant"!==i){if(e=i,o=t,!n[i].predefinedFormats||!n[i].predefinedFormats.Date){if(u=h(t),!(0,r.isNullOrUndefined)(u)&&u!==n[i].id)return;e=a,o=v(t)}(l=(s=n[e].predefinedFormats.Date).indexOf(o))>-1&&(c.index=l,c.locale=i,c.calendarType="western")}})),c.index>-1)return c}function I(t){var n=e.Common.CultureManager.getCultureInfoDict(),i={category:5,index:-1};if(Object.keys(n).forEach((function(e){var o,u,c,s,l;if(!(i.index>-1)&&"invariant"!==e){if(o=e,u=t,!n[e].predefinedFormats||!n[e].predefinedFormats.Time){if(c=h(t),!(0,r.isNullOrUndefined)(c)&&c!==n[e].id)return;o=a,u=v(t)}(l=(s=n[o].predefinedFormats.Time).indexOf(u))>-1&&(i.index=l,i.locale=e)}})),i.index>=0)return i}function N(t,n){var i,u=e.Common.CultureManager.getCultureInfoDict(),c={category:3,index:-1};if(t&&(i=g(t,n).replace(l,""),Object.keys(u).forEach((function(t,e){var s,l;if(!(c.index>-1)&&"invariant"!==t){if(s=t,!u[t].predefinedFormats||!u[t].predefinedFormats.Accounting&&!u[s].predefinedFormats.Comma){if(l=h(i),!(0,r.isNullOrUndefined)(l)&&l!==u[t].id)return;s=a,i=v(i)}g(u[s].predefinedFormats.Accounting,2)===i?(c.decimalPlaces=n,c.locale=t,c.index=e):g(u[s].predefinedFormats.Comma,2)===i&&(c.decimalPlaces=n,c.locale=(0,o.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0],c.index=e)}}))),c.index>-1)return c}function D(t,n){var i,e,r;if(t&&(i=(0,o.getSR)().columnTypeNumberFormatting.percentageFormats,e=null,e=t,0!==n&&(r="\\"+t.substring(t.indexOf("."),t.indexOf(".")+n+1),e=t.replace(new RegExp(r,"g"),"")),e===i[0]))return{decimalPlaces:n,category:6,index:0}}function b(t,n){var i,e,r,u,c={category:1,index:-1};if(t)for(i=(0,o.getSR)().columnTypeNumberFormatting.numberCategoryFormats,e=t,0!==n&&(r="\\"+t.substring(t.indexOf("."),t.indexOf(".")+n+1),e=t.replace(new RegExp(r,"g"),"")),e=e.replace(l,""),u=0;u<i.length;u++)if(e===i[u])return c.decimalPlaces=n,-1!==t.indexOf("#,")&&(c.useThousand=!0),c.index=u%(i.length/2),c}function m(t,n){var i=e.Common.CultureManager.getCultureInfoDict(),c={category:2,index:-1},s=t;if(t&&(s=t.replace(u,"").replace(l,""),(0,o.getSR)().columnTypeNumberFormatting.currencyFormatWithoutSymbol.indexOf(s)>-1?(c.decimalPlaces=n,c.locale=(0,o.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0],c.index=(0,o.getSR)().columnTypeNumberFormatting.currencyFormatWithoutSymbol.indexOf(s)):Object.keys(i).forEach((function(t){var e,o,l;if(!(c.index>-1)&&"invariant"!==t){if(e=i[t].predefinedFormats.Currency,!i[t].predefinedFormats||!i[t].predefinedFormats.Currency){if(o=h(s),!(0,r.isNullOrUndefined)(o)&&o!==i[t].id)return;s=v(s),e=i[a].predefinedFormats.Currency}if(e&&e.length>0){if(c.index>-1)return;(l=(e=e.map((function(t){return t.replace(u,"")}))).indexOf(s))>=0&&(c.decimalPlaces=n,c.locale=t,c.index=l)}}})),c.index>-1))return c}function C(t,n){var i="\u200e",e=n.id,o=d.hasOwnProperty(e);return t.replace(c,(function(t,e,r,u,c,a){var s="[$";return u.length>0&&"$"===u[0]&&(s+=n.NumberFormat.currencySymbol?n.NumberFormat.currencySymbol:"$"),s+=(o?i:"")+"-"+n.id.toString(16)+"]",o?e+r+c+s+a:e+r+s+c+a}))}function w(t,n){var i,r,u,c,a,s=e.Common.CultureManager.getCultureInfo(t);if(s)return!(r=(i=s.predefinedFormats&&s.predefinedFormats[n])instanceof Array)&&i||r&&i.length>0?i:(u=e.Common.CultureManager.culture(),(i=(a=(c=e.Common.CultureManager.getCultureInfo(u)).predefinedFormats)[n]||(0,o.getSR)().columnTypeNumberFormatting.commonFormats[n]&&(0,o.getSR)().columnTypeNumberFormatting.commonFormats[n].format)instanceof Array?i=i.map((function(t){var n=t.split(";");return(n=n.map((function(t){return C(t,s)}))).join(";")})):"object"==typeof i?{}:i.split(";").map((function(t){return C(t,s)})).join(";"))}function y(t){var n,i,e="";if(t)for(n=0;n<t.length;n++)t[n]&&(i=t[n].match(c))&&i[0]&&(e=i[0],t[n]=t[n].replace(c,"[$]"));return e}function x(t,n){var i,e;if(n)for(i=0;i<t.length;i++)t[i]&&(e=t[i].indexOf("[$]"))>-1&&(t[i]=t[i].slice(0,e)+n+t[i].slice(e+3))}function A(t,n){var i,o=e.Common.CultureManager.getCultureInfoDict(),r=[];return n&&(r=r.concat(n)),i=e.Common.CultureManager.culture(),Object.keys(o).sort((function(t,n){return t===i?-1:1})).forEach((function(n){if("invariant"!==n){var i=o[n];2===t||3===t?r.push({text:i.NumberFormat.currencySymbol+" "+i.displayName,value:n}):r.push({text:i.displayName,value:n})}})),r}function j(t){var n,i,e,o;if(!t||"General"===t)return{category:0,index:0};if("@"===t)return{category:9,index:0};if(n=M(t)||I(t))return n;if(i=0,t&&-1!==t.indexOf("."))for(o=(e=t.indexOf("."))+1;o<t.length&&"0"===t.substring(o,o+1);o++)i++;return(n=N(t,i)||D(t,i)||b(t,i)||m(t,i))||{category:11,index:0}}Object.defineProperty(n,"__esModule",{value:!0}),n.parseFormat=n.getListItems=n.afterAdjustFormatString=n.beforeAdjustFormatString=n.getPredefinedFormats=n.formatCategories=n.decimalPlacesWithZeroDotReg=void 0,e=i(7234),o=i(6114),r=i(591),u=/\.0*/g,n.decimalPlacesWithZeroDotReg=/(0)(\.?(0*)?)/g,c=/\[\$(.?-.*?)\]/g,a="en-us",l=new RegExp(s="\\\\","g"),f=["[$\u20ac-1]","[$\u20ac-2]"],n.formatCategories=["General","Number","Currency","Accounting","Date","Time","Percentage","Fraction","Scientific","Text","Special","Custom"],d={4097:!0,14337:!0,15361:!0,5121:!0,3073:!0,2049:!0,11265:!0,13313:!0,12289:!0,6145:!0,8193:!0,17409:!0,16385:!0,1025:!0,10241:!0,7169:!0,9217:!0,1170:!0},n.getPredefinedFormats=w,n.beforeAdjustFormatString=y,n.afterAdjustFormatString=x,n.getListItems=A,n.parseFormat=j},1376:function(n){n.exports=t.Spread.Sheets},1434:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z=this&&this.vJr||(G=function(t,n){return G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},G(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}G(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),U=this&&this.mJr||function(){return U=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},U.apply(this,arguments)},G;function B(t){return void 0===t}function R(t,n){return d(t)&&(t=Number.MIN_VALUE),d(n)&&(n=Number.MIN_VALUE),l(t,n)}function P(t){return Q(t)||Y(t)}function Q(t){return t===o.GroupLayoutMode.outline}function Y(t){return t===o.GroupLayoutMode.condensed}function W(t,n){var i,e;return t?(e=t.headerStyle&&!!t.headerStyle.formatter,i=q(t.headerStyle,n),e||(i.formatter=a)):(i=n.clone()).formatter=a,i}function H(t,n){return t?q(t.style,n):n}function V(t){var n=new e.Style;return B(t.backColor)||(n.backColor=t.backColor),B(t.foreColor)||(n.foreColor=t.foreColor),B(t.font)||(n.font=t.font),B(t.themeFont)||(n.themeFont=t.themeFont),B(t.cellPadding)||(n.cellPadding=t.cellPadding),n}function F(t){return _(t.value,t.caption)}function _(t,n){return d(t)?a:n?"".concat(n).concat((0,c.getSR)().TextColon," ").concat(t):""+t}function J(t){return X(t.value,t.field)}function X(t,n){return d(t)?""+n:"".concat(n).concat((0,c.getSR)().TextColon," ").concat(t)}function K(t,n,i){var o;return B((o=t instanceof e.Style?t.clone():new e.Style(t)).foreColor)&&i&&!B(i.foreColor)&&(o.foreColor=i.foreColor),n&&o.v5(n),o}function q(t,n){if(t){var i=K(t);n&&i.compose(n),n=i}return n&&(delete n.cellButtons,delete n.dropDowns),n}function $(t,n){return t.hAlign===e.HorizontalAlign.general||d(t.hAlign)?n:t.hAlign}function tt(t,n,i){var e,o;for(o in t||(t={}),e=n[i])e.hasOwnProperty(o)&&d(t[o])&&(t[o]=U(U({},e[o]),{value:n.value}));return t}function nt(t,n,i){var e,o,r;for(o in t)t.hasOwnProperty(o)&&((r=t[o])[n]&&(e=tt(e,r,n)),i&&(e=tt(e,r)));return e}function it(t,n){var i,e,o,r,u,c;for(i in t)"parent"!==i&&"children"!==i&&(n[i]=t[i]);for(n.children=[],o=0,r=e=t.children;o<r.length;o++)u=r[o],c={},n.children.push(c),it(u,c)}function et(t){var n,i,e,o=t.children;for(n=0,i=o;n<i.length;n++)(e=i[n]).parent=t,et(e)}function ot(t,n){var i,e,o,r,u=!0,c=t.start===n.start&&t.end===n.end,a=t.children.length===n.children.length;if(c&&a)for(i=t.children.length,e=0;e<i&&!1!==(u=ot(o=t.children[e],r=n.children[e]));e++);else u=!1;return u}function rt(t){return t&&t.row&&"number"==typeof t.row&&t.row>0?t.row:a}function ut(t){var n,i,e,o=0,r=null===(e=null===(i=null===(n=null==t?void 0:t.cellNode)||void 0===n?void 0:n.field)||void 0===i?void 0:i.extra)||void 0===e?void 0:e.spacing;return r&&(o=rt(r)),o}function ct(t){if(t.dataRange)return t.dataRange.convertContext({sheet:t.sheet,row:t.row,col:t.col,sheetArea:t.sheetArea})}function at(t){return!d(t)&&""!==t}function st(t,n,i,e){return at(n)&&at(e)?"".concat(t," ").concat(n," | ").concat(i," ").concat(e):at(n)?"".concat(t," ").concat(n):at(e)?"".concat(i," ").concat(e):void 0}function lt(t,n,i){var o,r,u,c,a=t.getRowCount(e.SheetArea.colHeader);for(u=a-1;u>=0;u--)if(c=t.getValue(u,i,e.SheetArea.colHeader),d(o))o=c,r=u;else{if(o!==c)break;r=u}return n===r}Object.defineProperty(n,"__esModule",{value:!0}),n.Grouping=n.nMi=n.getHorizontalAlign=n.getGroupHeaderValueFromCondensed=n.getValueFromCondensed=n.composeValueStyle=n.composeHeaderStyle=n.isGroupCondensedLayout=n.isGroupOutlineLayout=n.isGroupOutlineCondensedLayout=void 0,e=i(1376),o=i(447),r=i(7234),u=i(8966),c=i(6114),a=void 0,s=Math.round,l=Math.max,f=Math.ceil,d=r.Common.lt.ht,h=e.I.fl,g=(v="gc-group")+"-box",M={position:"header"},n.isGroupOutlineCondensedLayout=P,n.isGroupOutlineLayout=Q,n.isGroupCondensedLayout=Y,n.composeHeaderStyle=W,n.composeValueStyle=H,n.getValueFromCondensed=F,n.getGroupHeaderValueFromCondensed=J,n.getHorizontalAlign=$,I=function(){function t(){}return t.prototype.Hc=function(t,n){var i={level:-1,collapsed:!1,children:[],parent:a,start:0,end:n},e=0,o=0;this.eMi(t,e,o,i),this.oMi&&this.wno(this.oMi,i),this.oMi=i},t.prototype.eMi=function(t,n,i,e){var o,r,u,c,a,s,l=e.children,f=t.childrenArray&&t.childrenArray[0]||[],d=0;for(o=0,r=f;o<r.length;o++)c=(u=r[o]).recordRowNumbers,u.childrenArray&&u.childrenArray[0]&&0!==u.childrenArray[0].length?u.childrenArray&&u.childrenArray[0]&&u.childrenArray[0].length&&(a={level:i,value:u.value,collapsed:!1,children:[],parent:e,start:n,end:0,spacingIndex:u.spacingIndex},s=this.eMi(u,n,i+1,a),a.end=n+s-1,l.push(a),n+=s,d+=s):(l.push({start:n,end:n+c.length-1,level:i,collapsed:!1,children:[],parent:e,spacingIndex:u.spacingIndex,value:u.value}),n+=c.length,d+=c.length);return d},t.prototype.wno=function(t,n){var i,e,o,r,u,c,a=t.children,s=n.children;for(i=0,e=s;i<e.length;i++)for(o=e[i],r=0,u=a;r<u.length;r++)if(c=u[r],o.value===c.value){o.collapsed=c.collapsed,this.wno(c,o);break}},t.prototype.uMi=function(t,n,i,e){for(var o=0;o<t.length;o++)if(t[o].field===n){this.cMi(this.oMi,o,i,e);break}},t.prototype.cMi=function(t,n,i,e){var o,r,u,c=t.children;for(o=0,r=c;o<r.length;o++)u=r[o],this.rMi(u,n,i,e)},t.prototype.rMi=function(t,n,i,e){var o,r,u,c,a;if(t.level===n)o=!i,t.collapsed!==o&&(t.collapsed=o,e&&e(t.level,t.start));else for(u=0,c=r=t.children;u<c.length;u++)a=c[u],this.rMi(a,n,i,e)},t.prototype.aMi=function(t,n,i,e){var o,r,u,c,a,s=this.oMi,l=!i;if(s&&s.start<=n&&n<=s.end)for(o=s.children;o.length>0;){for(r=!0,u=0,c=o;u<c.length;u++)if((a=c[u]).start<=n&&n<=a.end){if(a.level===t)return a.collapsed!==l&&e(!a.collapsed),void(a.collapsed=l);o=a.children,r=!1;break}if(r)break}},t.prototype.Xto=function(t){for(t=t.parent;t;){if(t.collapsed)return!0;t=t.parent}return!1},t.prototype.sMi=function(t,n,i,e,o){var r,u,c,a,s,l,f,d=-1,h=this.oMi,v="number"==typeof e;if(h&&h.start+i<=t&&t<=h.end){if(r=h.collapsed,v&&!o&&(r=h.spacingIndex===e&&h.parent&&this.Xto(h)),d<n&&r)return!1;for(u=h.children,d++;u.length>0;){for(c=!0,a=0,s=u;a<s.length;a++)if((l=s[a]).start+i<=t&&t<=l.end){if(f=l.collapsed,v&&!o&&(f=l.spacingIndex===e&&l.parent&&this.Xto(l)),d<n&&f)return!1;u=l.children,d++,c=!1;break}if(c)break}}return!0},t.prototype.MMi=function(t){var n,i,e,o,r,u=[],c=this.oMi;if(c&&c.start<=t&&t<=c.end)for(n=c.children;n.length>0;){for(i=!0,e=0,o=n;e<o.length;e++)if((r=o[e]).start<=t&&t<=r.end){u.push(r),n=r.children,i=!1;break}if(i)break}return u},t.prototype.IMi=function(t,n){var i,e,o,r,u,c=this.oMi;if(c&&c.start<=t&&t<=c.end)for(i=c.children;i.length>0;){for(e=!0,o=0,r=i;o<r.length;o++)if((u=r[o]).start<=t&&t<=u.end){if(u.level===n)return u;i=u.children,e=!1;break}if(e)break}},t.prototype.gMi=function(t){var n,i,e,o,r,u,c,a,s,l,f,d=this.oMi;if(!d)return!1;for(n=d.children.slice(0),i=0;i<t;){for(e=[],o=0,r=n;o<r.length;o++)for(c=0,a=(u=r[o]).children;c<a.length;c++)s=a[c],e.push(s);n=e,i++}for(l=0,f=n;l<f.length;l++)if(!(u=f[l]).collapsed)return!1;return!0},t.prototype.L0=function(){this.oMi=a},t.prototype.toJSON=function(){if(this.oMi){var t={};return it(this.oMi,t),t}return this.oMi},t.prototype.fromJSON=function(t,n){var i=this.oMi;(n||i&&t&&ot(this.oMi,t))&&(et(t),this.oMi=t)},t}(),N=40,b=(D=16)/4,m=2.5,C=2.5,w=5,y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Z(n,t),n.prototype.paint=function(n,i,e,o,r,u,c,l){var f,d,v,M,I,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,Q=l.sheet,Y=l.row;if(l.dataRange&&(f=ct(l))&&(Q=f.sheet,Y=f.row),d=l.sheet.zoom(),v=D*d,M=b*d,I=m*d,C=Q.NMi)for(w=l.visualState,l.visualState=a,this.wm(n,e,o,r,u,c,l),l.visualState=w,A=!(x=P(y=C.keo())),T=(j=C.MMi(Y)).length,z=(N*T-D*T)/(T+1)*d,t.prototype.paintValue.call(this,n,i,e,o,r,u,c,l),p=0;p<T;p++)L=j[p],(p!==C.lMi.length-1||C.detailColumnsVisible())&&C.DMi(p,Y)&&(n.save(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,O=(S=e+z)+v/2,k=o+u,E=o+u/2,(Z=L.start===Y)&&A?(U=s(S)-.5,G=s(S+v)-.5,B=s(E-v/2)-.5,R=s(E-v/2+v)-.5,n.moveTo(U,B),n.lineTo(G,B),n.lineTo(G,R),n.lineTo(U,R),n.lineTo(U,B),n.moveTo(s(O-M)-.5,s(E)-.5),n.lineTo(s(O+M)-.5,s(E)-.5),L.collapsed?(n.moveTo(s(O)-.5,s(E-M)-.5),n.lineTo(s(O)-.5,s(E+M)-.5)):(n.moveTo(s(O)-.5,s(E+v/2)-.5),n.lineTo(s(O)-.5,s(k)-.5))):L.start<Y&&Y<L.end||Z&&x||L.end===Y&&this.Eeo(Q,Y,p)?(n.moveTo(s(O)-.5,s(o)-.5),n.lineTo(s(O)-.5,s(k)-.5)):L.end===Y&&(n.moveTo(s(O)-.5,s(o)-.5),n.lineTo(s(O)-.5,s(k-I)-.5),n.lineTo(s(O+M)-.5,s(k-I)-.5)),n.stroke(),n.restore(),e+=z+v)},n.prototype.fMi=function(t,n,i,e,o,r){var u,c,l,f,d,h,v,g,M,I,b,m,C,w=t.x,y=r.sheet.zoom(),x=D*y,A=e.NMi;if(A){if(c=P(u=A.keo()))return a;for(f=(l=A.MMi(o)).length,d=(N*f-D*f)/(f+1)*y,h=0;h<f;h++)if(v=l[h],(h!==A.lMi.length-1||A.detailColumnsVisible())&&A.DMi(h,o)){if(g=w+d,M=t.y+t.height/2,v.start===o&&(I=s(g)-.5,b=s(g+x)-.5,m=s(M-x/2)-.5,C=s(M-x/2+x)-.5,I<=n&&n<=b&&m<=i&&i<=C))return{level:h,index:o,collapsed:v.collapsed};w+=d+x}}},n.prototype.getHitInfo=function(t,n,i,e,o){var r,u,c,a,s,l;if(o&&(r=o.sheet,u=o.row,c=o.col,a=o.sheetArea,o.dataRange&&(s=ct(o))&&(r=s.sheet,u=s.row,c=s.col,a=s.sheetArea),2===a&&(l=this.fMi(e,t,n,r,u,o))))return{x:t,y:n,row:u,col:c,cellRect:e,sheetArea:2,isReservedLocation:!0,sheet:r,level:l.level,index:l.index,collapsed:l.collapsed}},n.prototype.processMouseDown=function(t){var n,i,e,o;return!(!t||!(n=t.sheet.NMi))&&(i=t.level,e=t.index,o=t.collapsed,n.zA({cmd:u.EXPAND_GROUP_ITEM,level:i,index:e,expand:o}),!0)},n.prototype.Eeo=function(t,n,i,e){void 0===e&&(e=0);var o=t.ncr&&t.ncr(n,e,-1,!0);return!(!o||o.isSpacing)&&i<=o.level},n.prototype.Zeo=function(t,n,i,e,o){var r,u=this;return!!o&&((r=function(e){return u.Eeo(t,n,i,e)})(e)&&r(e+1))},n}(e.CellTypes.RowHeader),x=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Z(n,t),n.prototype.paint=function(n,i,e,o,r,u,c,l){var f,d,v,M,I,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P=l.row,Q=l.sheet,Y=l.rowSpacingIndex,W=l.isAfterRowSpacing;if(l.dataRange&&(f=ct(l))&&(Q=f.sheet,P=f.row,Y=f.rowSpacingIndex,W=f.isAfterRowSpacing),d=l.sheet.zoom(),v=D*d,M=b*d,I=m*d,C=Q.NMi){if(w=l.visualState,l.visualState=a,this.wm(n,e,o,r,u,c,l),l.visualState=w,y=!W,!(x=Q.ncr&&Q.ncr(P,Y,-1,W)))return;for(A=x.level,j=x.isSpacing,z=(T=C.MMi(P)).length,p=(N*z-D*z)/(z+1)*d,t.prototype.paintValue.call(this,n,i,e,o,r,u,c,l),L=0;L<z;L++)L>A||(S=T[L],(L!==C.lMi.length-1||C.detailColumnsVisible())&&C.DMi(L,P)&&(n.save(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,k=(O=e+p)+v/2,E=o+u,Z=o+u/2,S.start===P&&L===A&&y?(U=s(O)-.5,G=s(O+v)-.5,B=s(Z-v/2)-.5,R=s(Z-v/2+v)-.5,n.moveTo(U,B),n.lineTo(G,B),n.lineTo(G,R),n.lineTo(U,R),n.lineTo(U,B),n.moveTo(s(k-M)-.5,s(Z)-.5),n.lineTo(s(k+M)-.5,s(Z)-.5),S.collapsed?(n.moveTo(s(k)-.5,s(Z-M)-.5),n.lineTo(s(k)-.5,s(Z+M)-.5)):(n.moveTo(s(k)-.5,s(Z+v/2)-.5),n.lineTo(s(k)-.5,s(E)-.5))):S.start<P&&P<S.end||L<A&&(y||this.Zeo(Q,P,L,Y,W))?(n.moveTo(s(k)-.5,s(o)-.5),n.lineTo(s(k)-.5,s(E)-.5)):S.end!==P||j||(n.moveTo(s(k)-.5,s(o)-.5),n.lineTo(s(k)-.5,s(E-I)-.5),n.lineTo(s(k+M)-.5,s(E-I)-.5)),n.stroke(),n.restore(),e+=p+v))}},n.prototype.fMi=function(t,n,i,e,o,r){var u,c,a,l,f,d,h,v,g,M,I,b,m,C,w,y,x,A=t.x,j=r.sheet.zoom(),T=D*j,z=e.NMi;if(z){if(u=r.rowSpacingIndex,c=r.isAfterRowSpacing,r.dataRange&&(a=ct(r))&&(u=a.rowSpacingIndex,c=a.isAfterRowSpacing),l=!c,!(f=e.ncr&&e.ncr(o,u,-1)))return;for(d=f.level,v=(h=z.MMi(o)).length,g=(N*v-D*v)/(v+1)*j,M=0;M<v;M++)if(!(M>d&&l)&&(I=h[M],(M!==z.lMi.length-1||z.detailColumnsVisible())&&z.DMi(M,o))){if(b=A+g,m=t.y+t.height/2,I.start===o&&M===d&&l&&(C=s(b)-.5,w=s(b+T)-.5,y=s(m-T/2)-.5,x=s(m-T/2+T)-.5,C<=n&&n<=w&&y<=i&&i<=x))return{level:M,index:o,collapsed:I.collapsed};A+=g+T}}},n}(y),A=2.5,n.nMi=lt,j=function(t){function n(n){var i=t.call(this)||this;return i.Tno=n,i.typeName="98",i}return Z(n,t),n.prototype.dMi=function(t,n){for(var i=0;i<n;i++)if(t.gMi(i))return!1;return!0},n.prototype.Sno=function(t,n,i,e,o,r){var u,c,a,s,l,f,d=o.sheet;return o.dataRange&&(u=ct(o))&&(d=u.sheet),c=o.sheet.zoom(),a=(D+2*C)*c,s=parseFloat(d.getDefaultStyle().cellPadding)*c,{x:l=r?t-a+s:t+a,y:n,w:f=i-a,h:e}},n.prototype.paint=function(n,i,e,o,r,u,c,a){if(t.prototype.paint.call(this,n,i,e,o,r,u,c,a),this.Tno){var s=this.Sno(e,o,r,u,a);this.Tno.paint(n,i,s.x,s.y,s.w,s.h,c,a)}},n.prototype.paintContent=function(n,i,e,r,u,c,a,l){var f,d,v,M,I,N,m,C,w,y,x,j,T,z,p,L,S,O,k,E=l.sheet,Z=l.row,U=l.col;l.dataRange&&(f=ct(l))&&(E=f.sheet,Z=f.row,U=f.col),d=l.sheet.zoom(),v=this.Sno(e,r,u,c,l),this.Tno||t.prototype.paintContent.call(this,n,i,v.x,v.y,v.w,v.h,a,l),M=D*d,I=b*d,N=E.NMi,m=E.getDataSource(),N&&N.lMi&&N.lMi.length>0&&m&&lt(E,Z,U)&&((C=N.groupOutlinePosition())!==o.GroupOutlinePosition.groupCell&&C!==o.GroupOutlinePosition.groupCellAll||!(y=(w=m.kve(U).OFt)===N.lMi.length-1&&!N.detailColumnsVisible())&&this.dMi(N,w)&&(x=N.gMi(w),j=A*d,n.save(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,z=(T=e+j)+M/2,p=r+c/2,L=s(T)-.5,S=s(T+M)-.5,O=s(p-M/2)-.5,k=s(p-M/2+M)-.5,n.moveTo(L,O),n.lineTo(S,O),n.lineTo(S,k),n.lineTo(L,k),n.lineTo(L,O),n.moveTo(s(z-I)-.5,s(p)-.5),n.lineTo(s(z+I)-.5,s(p)-.5),x&&(n.moveTo(s(z)-.5,s(p-I)-.5),n.lineTo(s(z)-.5,s(p+I)-.5)),n.stroke(),n.restore()))},n.prototype.fMi=function(t,n,i,e,r,u,c){var a,l,f,d,h,v,g,M,I,N,b,m,C=t.x,w=c.sheet.zoom(),y=D*w,x=e.NMi,j=e.getDataSource();if(x&&j&&lt(e,r,u)&&((a=x.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||a===o.GroupOutlinePosition.groupCellAll)&&!(f=(l=j.kve(u).OFt)===x.lMi.length-1&&!x.detailColumnsVisible())&&this.dMi(x,l)&&(d=x.lMi[l].field,h=x.gMi(l),g=C+(v=A*w),M=t.y+t.height/2,I=s(g)-.5,N=s(g+y)-.5,b=s(M-y/2)-.5,m=s(M-y/2+y)-.5,I<=n&&n<=N&&b<=i&&i<=m))return{field:d,level:l,collapsed:h}},n.prototype.getHitInfo=function(t,n,i,e,o){var r,u,c,s,l,f,d,h;if(o&&(r=o.sheet,u=o.row,c=o.col,s=o.sheetArea,o.dataRange&&(l=ct(o))&&(r=l.sheet,u=l.row,c=l.col,s=l.sheetArea),1===s)){if(e=this.An(e,i,o.sheet.zoom()),f=this.fMi(e,t,n,r,u,c,o))return{x:t,y:n,row:u,col:c,cellRect:e,sheetArea:1,isReservedLocation:!0,sheet:r,field:f.field,level:f.level,collapsed:f.collapsed};if(this.Tno&&(d=this.Sno(t,n,a,a,o,!0),h=this.Tno.getHitInfo&&this.Tno.getHitInfo(d.x,n,i,e,o)))return h.Drt=!0,h}},n.prototype.processMouseDown=function(t){var n,i,e;if(t&&(n=t.sheet.NMi)){if(!t.Drt)return i=t.field,e=t.collapsed,n.zA({cmd:u.EXPAND_GROUP,field:i,expand:e}),!0;if(this.Tno)return this.Tno.processMouseDown&&this.Tno.processMouseDown(t)}return!1},n.prototype.processMouseUp=function(t){return!!this.Tno&&(this.Tno.processMouseUp&&this.Tno.processMouseUp(t))},n.prototype.processMouseMove=function(t){return!!this.Tno&&(this.Tno.processMouseMove&&this.Tno.processMouseMove(t))},n.prototype.processMouseEnter=function(t){return!!this.Tno&&(this.Tno.processMouseEnter&&this.Tno.processMouseEnter(t))},n.prototype.processMouseLeave=function(t){return!!this.Tno&&(this.Tno.processMouseLeave&&this.Tno.processMouseLeave(t))},n.prototype.isReservedKey=function(t,n){return!!this.Tno&&(this.Tno.isReservedKey&&this.Tno.isReservedKey(t,n))},n.prototype.processKeyDown=function(t,n){return!!this.Tno&&(this.Tno.processKeyDown&&this.Tno.processKeyDown(t,n))},n.prototype.processKeyUp=function(t,n){return!!this.Tno&&(this.Tno.processKeyUp&&this.Tno.processKeyUp(t,n))},n.prototype.getAutoFitWidth=function(n,i,e,o,r){var u;return u=this.Tno&&this.Tno.getAutoFitWidth?this.Tno.getAutoFitWidth(n,i,e,o,r):t.prototype.getAutoFitHeight.call(this,n,i,e,o,r)},n.prototype.format=function(n,i,e,o){return this.Tno&&this.Tno.format?this.Tno.format(n,i,e,o):t.prototype.format.call(this,n,i,e,o)},n}(e.CellTypes.ColumnHeader),e.CellTypes.ti[98]=j,z=function(t){function n(n){var i=t.call(this)||this;return i.Tno=n,i}return Z(n,t),n.prototype.Sno=function(t,n,i,e,o,r){var u,c,a,s,l,f,d,h,v,g,M=o.sheet,I=o.row,N=o.col,b=o.rowSpacingIndex;return o.dataRange&&(u=ct(o))&&(M=u.sheet,I=u.row,N=u.col,b=u.rowSpacingIndex),c=o.sheet.zoom(),a=(D+2*C)*c,s=parseFloat(M.getDefaultStyle().cellPadding)*c,v=r?t-a+s:t+a,(d=P(f=(l=M.NMi).keo()))&&l.Mf.ncr&&(h=l.Mf.ncr(I,b,N),v=r?t-a*(h+1)+s:t+a*(h+1)),{x:v,y:n,w:g=i-a,h:e}},n.prototype.getHitInfo=function(t,n,i,e,o){var r,u,c,s,l,f,h,v,g,M;if(o&&(r=o.sheet,u=o.row,c=o.col,s=o.sheetArea,l=o.rowSpacingIndex,f=o.isAfterRowSpacing,o.dataRange&&(h=ct(o))&&(r=h.sheet,u=h.row,c=h.col,l=h.rowSpacingIndex,f=h.isAfterRowSpacing),3===s||d(s))){if(e=this.An(e,i,o.sheet.zoom()),v=this.fMi(e,t,n,r,u,c,l,o))return{x:t,y:n,row:u,col:c,cellRect:e,sheetArea:3,isReservedLocation:!0,sheet:r,level:v.level,index:v.index,collapsed:v.collapsed,rowSpacingIndex:l,isAfterRowSpacing:f};if(this.Tno&&(g=this.Sno(t,n,a,a,o,!0),M=this.Tno.getHitInfo&&this.Tno.getHitInfo(g.x,n,i,e,o)))return M.Drt=!0,M}},n.prototype.processMouseDown=function(t){var n,i,e,o;if(t&&(n=t.sheet.NMi)){if(!t.Drt)return i=t.level,e=t.index,o=t.collapsed,n.zA({cmd:u.EXPAND_GROUP_ITEM,level:i,index:e,expand:o}),!0;if(this.Tno)return this.Tno.processMouseDown&&this.Tno.processMouseDown(t)}return!1},n}(T=function(t){function n(n){var i=t.call(this)||this;return i.Tno=n,i}return Z(n,t),n.prototype.Sno=function(t,n,i,e,o,r){return{x:t,y:n,w:i,h:e}},n.prototype.paint=function(n,i,o,r,u,c,a,s){var l,f;t.prototype.paint.call(this,n,i,o,r,u,c,a,s),this.Tno&&(this.Tn&&this.An&&(l=new e.Rect(o,r,u,c),o=(l=this.An(l,a,(0,e.isPrintZoomFactorExist)(s)?s.printZoomFactor:s.sheet.zoom())).x,r=l.y,u=l.width,c=l.height),f=this.Sno(o,r,u,c,s),this.Tno.paint(n,i,f.x,f.y,f.w,f.h,a,s))},n.prototype.processMouseDown=function(t){return!!this.Tno&&(this.Tno.processMouseDown&&this.Tno.processMouseDown(t))},n.prototype.processMouseUp=function(t){return!!this.Tno&&(this.Tno.processMouseUp&&this.Tno.processMouseUp(t))},n.prototype.processMouseMove=function(t){return!!this.Tno&&(this.Tno.processMouseMove&&this.Tno.processMouseMove(t))},n.prototype.processMouseEnter=function(t){return!!this.Tno&&(this.Tno.processMouseEnter&&this.Tno.processMouseEnter(t))},n.prototype.processMouseLeave=function(t){return!!this.Tno&&(this.Tno.processMouseLeave&&this.Tno.processMouseLeave(t))},n.prototype.isReservedKey=function(t,n){return!!this.Tno&&(this.Tno.isReservedKey&&this.Tno.isReservedKey(t,n))},n.prototype.processKeyDown=function(t,n){return!!this.Tno&&(this.Tno.processKeyDown&&this.Tno.processKeyDown(t,n))},n.prototype.processKeyUp=function(t,n){return!!this.Tno&&(this.Tno.processKeyUp&&this.Tno.processKeyUp(t,n))},n.prototype.getAutoFitWidth=function(n,i,e,o,r){var u;return u=this.Tno&&this.Tno.getAutoFitWidth?this.Tno.getAutoFitWidth(n,i,e,o,r):t.prototype.getAutoFitHeight.call(this,n,i,e,o,r)},n.prototype.format=function(n,i,e,o){return this.Tno&&this.Tno.format?this.Tno.format(n,i,e,o):t.prototype.format.call(this,n,i,e,o)},n}(e.CellTypes.Text)),p=function(t){function n(n){var i=t.call(this,n)||this;return i.typeName="99",i}return Z(n,t),n.prototype.Ueo=function(t,n,i,e,r){return!!n&&(t.keo()===o.GroupLayoutMode.tabular?n.start===i:!("number"!=typeof r||!t.Mf.ncr)&&"number"==typeof t.Mf.ncr(i,r,e));var u},n.prototype.paintValue=function(n,i,e,r,u,c,a,l){var f,v,M,I,N,m,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,Q,Y,W,H,V=l.sheet,F=l.row,_=l.col;l.dataRange&&(f=ct(l))&&(V=f.sheet,F=f.row,_=f.col),v=l.sheet.zoom(),M=(D+2*C)*v,I=V.NMi,N=V.getDataSource(),m=D*v,y=b*v,x=l.rowSpacingIndex,j=P(A=I.keo()),!d(T=i)&&j&&"number"==typeof x&&(T="".concat(i)),j&&I.Mf.ncr&&(z=I.Mf.ncr(F,l.rowSpacingIndex,_)),p=this.Sno(e,r,u,c,l),this.Tno||t.prototype.paintValue.call(this,n,T,p.x,p.y,p.w,p.h,a,l),I&&N&&I.lMi&&I.lMi.length>0&&((L=I.groupOutlinePosition())!==o.GroupOutlinePosition.groupCell&&L!==o.GroupOutlinePosition.groupCellAll||(j||(z=N.kve(_).OFt),!(S=z===I.lMi.length-1&&!I.detailColumnsVisible())&&I.DMi(z,l.row)&&(O=C*v,k=w*v,E=I.IMi(F,z),(Z=this.Ueo(I,E,F,_,x))&&(n.save(),n.beginPath(),n.rect(e,r,u,c),n.clip(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,U=e+O,P(A)&&(U+=M*z),G=U+m/2,R=(B=r+k)+m/2,Q=s(U)-.5,Y=s(U+m)-.5,W=s(B)-.5,H=s(B+m)-.5,n.moveTo(Q,W),n.lineTo(Y,W),n.lineTo(Y,H),n.lineTo(Q,H),n.lineTo(Q,W),n.moveTo(s(G-y)-.5,s(R)-.5),n.lineTo(s(G+y)-.5,s(R)-.5),E.collapsed&&(n.moveTo(s(G)-.5,s(R-y)-.5),n.lineTo(s(G)-.5,s(R+y)-.5)),n.stroke(),n.restore()))))},n.prototype.fMi=function(t,n,i,e,r,u,c,a){var l,f,d,h,v,g,M,I,N,b,m,y,x,A,j,T=a?a.sheet.zoom():e.zoom(),z=D*T,p=e.NMi,L=e.getDataSource();if(p&&L&&((l=p.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||l===o.GroupOutlinePosition.groupCellAll)&&(d=P(f=p.keo())&&p.Mf.ncr?p.Mf.ncr(r,c,u):L.kve(u).OFt,h=(D+2*C)*T,!(v=d===p.lMi.length-1&&!p.detailColumnsVisible())&&p.DMi(d,r)&&(g=C*T,M=w*T,I=p.IMi(r,d),(N=this.Ueo(p,I,r,u,c))&&(b=t.x+g,P(f)&&(b+=h*d),m=t.y+M,y=s(b)-.5,x=s(b+z)-.5,A=s(m)-.5,j=s(m+z)-.5,y<=n&&n<=x&&A<=i&&i<=j))))return{level:I.level,index:r,collapsed:I.collapsed}},n.prototype.Ln=function(n,i,e,o,r){var u,c,a,s=r.sheet,l=r.col;return r.dataRange&&(u=ct(r))&&(s=u.sheet,l=u.col),c=s.NMi,a=t.prototype.Ln.call(this,n,i,e,o,r),c&&c.hMi(l)&&(a+=(D+2*C)*o),a},n}(z),e.CellTypes.ti[99]=p,L=function(t){function n(n){var i=t.call(this,n)||this;return i.typeName="108",i}return Z(n,t),n.prototype.getHitInfo=function(n,i,e,o,r){return this.Tno&&this.Tno.getHitInfo?this.Tno.getHitInfo(n,i,e,o,r):t.prototype.getHitInfo.call(this,n,i,e,o,r)},n.prototype.paintValue=function(n,i,e,o,r,u,c,a){var s,l,f,d,h,v,g,M,I,N;this.Tno||(s=a.sheet,l=a.isAfterRowSpacing,a.dataRange&&(f=ct(a))&&(s=f.sheet,l=f.isAfterRowSpacing),d=a.sheet.zoom(),h=(D+2*C)*d,v=s.NMi,g=-1,!l&&v.lMi&&(g=v.lMi.length-1),I=e+(M=h*(g+2)),N=r-M,t.prototype.paintValue.call(this,n,i,I,o,N,u,c,a))},n}(T),e.CellTypes.ti[108]=L,S=function(t){function n(){var n=t.call(this)||this;return n.zeo=o.GroupLayoutMode.outline,n.Leo=!1,n.typeName="109",n}return Z(n,t),n.prototype.getValueInOneCell=function(t){var n,i,o,r=t.sheet,u=t.row,a=t.col,s=t.rowSpacingIndex,l=t.isAfterRowSpacing;if(P(this.zeo))return n=r.getValue(u,a,e.SheetArea.viewport,void 0,{rowSpacingIndex:s,isAfterRowSpacing:l}),o=(i=r.ncr&&r.ncr(u,s,a,l))&&i.caption,st("","",o="".concat(o).concat((0,c.getSR)().TextColon),n)},n.prototype.paint=function(n,i,o,r,u,s,l,f){var h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k=this,E=f.row,Z=f.col,U=f.sheet,G=f.rowSpacingIndex,B=f.isAfterRowSpacing;f.dataRange&&(h=ct(f))&&(U=h.sheet,E=h.row,Z=h.col,G=h.rowSpacingIndex,B=h.isAfterRowSpacing),v=f.sheet.zoom(),M=(g=U.NMi).currentTheme(),I=l.backColor,f.parentBackColor!==I&&(0,e.cellTypeContext_paintBackground)(n,o,r,u,s,f.imageLoader,l,i,f),l.backColor=void 0,l.backgroundImage=void 0,N=new e.Rect(o,r,u,s),b=(D=U.ncr&&U.ncr(E,G,Z,B))&&D.caption,m=V(l),C=U.getDefaultStyle(),(y=(w=D&&D.headerStyle)?K(w,M,C):m.clone()).hAlign=$(y,e.HorizontalAlign.right),(x=Y(this.zeo))?(A=2*v,j=U.getDefaultStyle().cellPadding+" 0 0 0",(z=(T=D&&D.style)?K(T,M,C):m.clone()).cellPadding=j,z.hAlign=$(z,e.HorizontalAlign.right),f.fontInfo=e.W.x2e(z,T?v:1),z.font=f.fontInfo.font,f.cellStyle=z,t.prototype.paint.call(this,n,i,o,r,u,s,z,f),p=f.ysr,b&&(b="".concat(b).concat((0,c.getSR)().TextColon),L=u-p-A,y.cellPadding=j,y.hAlign=$(y,e.HorizontalAlign.right),f.fontInfo=e.W.x2e(y,w?v:1),y.font=f.fontInfo.font,f.cellStyle=y,t.prototype.paint.call(this,n,b,o,r,L,s,y,f))):(S=k.An(N,l,(0,e.isPrintZoomFactorExist)(f)?f.printZoomFactor:f.sheet.zoom()),O=new e.Rect(o,r,u,s-S.height),b&&((!w||w&&d(w.cellPadding))&&(y.cellPadding=a),f.cellStyle=y,f.fontInfo=e.W.x2e(y,w?v:1),y.font=f.fontInfo.font,f.lineHeight=e.mt.vt(f.fontInfo.font,!1,e.mt.pt(b)),t.prototype.paint.call(this,n,b,o,O.y,u,O.height,y,f)),(z=(T=D&&D.style)?K(T,M,C):m.clone()).cellPadding=a,z.hAlign=$(z,e.HorizontalAlign.right),f.cellStyle=z,f.fontInfo=e.W.x2e(z,T?v:1),z.font=f.fontInfo.font,f.lineHeight=e.mt.vt(f.fontInfo.font,!1,e.mt.pt(i)),t.prototype.paint.call(this,n,i,o,S.y,u,S.height,z,f))},n.prototype.Ln=function(n,i,o,r,u){var s,l,f,h,v,g,M,I,N,D,b,m,C,w,y=0,x=u.row,A=u.col,j=u.sheet,T=u.rowSpacingIndex,z=u.isAfterRowSpacing;return u.dataRange&&(s=ct(u))&&(j=s.sheet,x=s.row,A=s.col,T=s.rowSpacingIndex,z=s.isAfterRowSpacing),f=(l=j.NMi).currentTheme(),(v=(h=j.ncr&&j.ncr(x,T,A,z))&&h.caption)&&(v="".concat(v).concat((0,c.getSR)().TextColon)),g=V(o),M=j.getDefaultStyle(),Y(this.zeo)?(I=2,N=j.getDefaultStyle().cellPadding+" 0 0 0",d(n)||((b=(D=h&&h.style)?K(D,f,M):g.clone()).cellPadding=N,b.hAlign=$(b,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(b,D?r:1),b.font=u.fontInfo.font,u.cellStyle=b,y+=t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,b,j),b,r,u)+I),d(v)||((C=(m=h&&h.headerStyle)?K(m,f,M):g.clone()).cellPadding=N,C.hAlign=$(C,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(C,m?r:1),C.font=u.fontInfo.font,u.cellStyle=C,y+=t.prototype.Ln.call(this,v,v,C,r,u)+I)):(d(n)||((b=(D=h&&h.style)?K(D,f,M):g.clone()).cellPadding=a,b.hAlign=$(b,e.HorizontalAlign.right),u.cellStyle=b,u.fontInfo=e.W.x2e(b,D?r:1),b.font=u.fontInfo.font,y=t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,b,j),b,r,u)),d(v)||(C=(m=h&&h.headerStyle)?K(m,f,M):g.clone(),(!m||m&&d(m.cellPadding))&&(C.cellPadding=a),u.cellStyle=C,u.fontInfo=e.W.x2e(C,m?r:1),C.font=u.fontInfo.font,(w=t.prototype.Ln.call(this,v,v,C,r,u))>y&&(y=w))),y},n}(e.CellTypes.Text),e.CellTypes.ti[109]=S,O=function(t){function n(){var n=t.call(this)||this;return n.zeo=o.GroupLayoutMode.outline,n.typeName="110",n}return Z(n,t),n.prototype.getValueInOneCell=function(t){var n,i,o,r,u,a,s,l,f,d,h,v,g,M,I,N,D=t.sheet,b=t.row,m=t.col,C=t.rowSpacingIndex,w=t.isAfterRowSpacing;if(P(this.zeo))return n=D.getActualStyle(b,m,e.SheetArea.viewport,void 0,{rowSpacingIndex:C,isAfterRowSpacing:w}),i=D.getValue(b,m,e.SheetArea.viewport,void 0,{rowSpacingIndex:C,isAfterRowSpacing:w}),o=D.NMi,u=(r=D.ncr&&D.ncr(b,C,-1)).field,a=r.value,s=r.groupLevelOptions,l="".concat(u).concat((0,c.getSR)().TextColon),a=e.mt.V0(a),d=(f=D.getDefaultStyle()).cellPadding+" 0 0 0",h=o.currentTheme(),v=V(n),(g=s.style?K(s.style,h,f):v.clone()).cellPadding=d,g.hAlign=$(g,e.HorizontalAlign.left),M=(0,e.C0r)(this,a,g,D),N=(I=D.ncr&&D.ncr(b,C,m,w))&&I.caption,st(l,M,N="".concat(N).concat((0,c.getSR)().TextColon),i)},n.prototype.paint=function(n,i,r,u,l,d,v,M){var I,N,m,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,Q,W,H,F,_,J,X,q,tt,nt,it,et,ot,rt,ut,at,st,lt,ft,dt,ht,vt,gt,Mt,It,Nt,Dt,bt,mt,Ct,wt,yt,xt,At,jt,Tt,zt,pt,Lt,St,Ot,kt,Et=this,Zt=M.row,Ut=M.sheet,Gt=M.col,Bt=M.rowSpacingIndex,Rt=M.isAfterRowSpacing;if(M.dataRange&&(I=ct(M))&&(Ut=I.sheet,Zt=I.row,Gt=I.col,Bt=I.rowSpacingIndex,Rt=I.isAfterRowSpacing),N=Ut.NMi,m=Ut.getDataSource(),w=M.sheet.zoom(),y=N.currentTheme(),x=v.backColor,M.parentBackColor!==x&&(0,e.cellTypeContext_paintBackground)(n,r,u,l,d,M.imageLoader,v,i,M),v.backColor=void 0,v.backgroundImage=void 0,A=new e.Rect(r,u,l,d),j=Ut.ncr&&Ut.ncr(Zt,Bt,-1)){if(T=(D+2*C)*w,z=D*w,p=b*w,L=N.keo(),S=j.level,O=j.field,k=j.value,E=j.groupLevelOptions,k=e.mt.V0(k),N&&m&&N.lMi&&N.lMi.length>0&&((Z=N.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||Z===o.GroupOutlinePosition.groupCellAll)&&!(U=S===N.lMi.length-1&&!N.detailColumnsVisible())&&N.DMi(S,Zt)){if(G=C*w,!(Q=N.IMi(Zt,S)))return;n.save(),n.beginPath(),n.rect(r,u,l,d),n.clip(),n.beginPath(),n.strokeStyle=h(g).borderColor,n.lineWidth=1,W=r+G,P(L)&&(W+=T*S),H=W+z/2,_=(F=u+(d-z)/2)+z/2,J=s(W)-.5,X=s(W+z)-.5,q=s(F)-.5,tt=s(F+z)-.5,n.moveTo(J,q),n.lineTo(X,q),n.lineTo(X,tt),n.lineTo(J,tt),n.lineTo(J,q),n.moveTo(s(H-p)-.5,s(_)-.5),n.lineTo(s(H+p)-.5,s(_)-.5),Q.collapsed&&(n.moveTo(s(H)-.5,s(_-p)-.5),n.lineTo(s(H)-.5,s(_+p)-.5)),n.stroke(),n.restore()}nt=0,et=r+(it=T*(S+1)),ot=l-it,rt=4*w,ut=V(v),at=Ut.getDefaultStyle(),st=Ut.defaults.rowHeight,ft=(lt=Ut.ncr&&Ut.ncr(Zt,Bt,Gt,Rt))&&lt.caption,(ht=(dt=lt&&lt.headerStyle)?K(dt,y,at):ut.clone()).hAlign=e.HorizontalAlign.right,(vt=Y(this.zeo))?(gt=2*w,Mt=Ut.getDefaultStyle().cellPadding+" 0 0 0",(It=E.headerStyle?K(E.headerStyle,y,at):ut.clone()).cellPadding=Mt,It.hAlign=$(It,e.HorizontalAlign.left),M.fontInfo=e.W.x2e(It,E.headerStyle?w:1),It.font=M.fontInfo.font,M.cellStyle=It,Nt="".concat(O).concat((0,c.getSR)().TextColon),Dt=f(e.mt.Mt(n,It.font,(0,e.y0r)(this,n,Nt,ot,d,It,M))+gt),t.prototype.paint.call(this,n,Nt,et,u,Dt,d,It,M),et+=Dt,(bt=E.style?K(E.style,y,at):ut.clone()).cellPadding=Mt,bt.hAlign=$(bt,e.HorizontalAlign.left),M.fontInfo=e.W.x2e(bt,E.style?w:1),bt.font=M.fontInfo.font,M.cellStyle=bt,mt=(0,e.C0r)(this,k,bt,Ut),Ct=f(e.mt.Mt(n,bt.font,(0,e.y0r)(this,n,mt,ot,d,bt,M))+gt),bt.formatter=a,t.prototype.paint.call(this,n,mt,et,u,Ct,d,bt,M),et+=Ct,et+=rt,wt=ot-Dt-Ct-rt,(xt=(yt=lt&&lt.style)?K(yt,y,at):ut.clone()).cellPadding=Mt,xt.hAlign=$(xt,e.HorizontalAlign.right),M.fontInfo=e.W.x2e(xt,yt?w:1),xt.font=M.fontInfo.font,M.cellStyle=xt,t.prototype.paint.call(this,n,i,et,u,wt,d,xt,M),At=M.ysr,ft&&(ft="".concat(ft).concat((0,c.getSR)().TextColon),jt=wt-At-gt,ht.cellPadding=Mt,ht.hAlign=$(ht,e.HorizontalAlign.right),M.fontInfo=e.W.x2e(ht,dt?w:1),ht.font=M.fontInfo.font,M.cellStyle=ht,t.prototype.paint.call(this,n,ft,et,u,jt,d,ht,M))):(Tt=Et.An(A,v,(0,e.isPrintZoomFactorExist)(M)?M.printZoomFactor:M.sheet.zoom()),zt=new e.Rect(r,u,l,d-Tt.height),(bt=E.style?K(E.style,y,at):ut.clone()).hAlign=$(bt,e.HorizontalAlign.left),pt=E.headerStyle?K(E.headerStyle,y,at):ut.clone(),(!E.headerStyle||E.headerStyle&&B(E.headerStyle.cellPadding))&&(pt.cellPadding=a),pt.hAlign=$(pt,e.HorizontalAlign.left),M.cellStyle=pt,M.fontInfo=e.W.x2e(pt,E.headerStyle?w:1),pt.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(O)),t.prototype.paint.call(this,n,O,et,zt.y,ot,zt.height,pt,M),nt=R(nt,M.ysr),bt.cellPadding=a,M.cellStyle=bt,M.fontInfo=e.W.x2e(bt,E.style?w:1),bt.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(k)),t.prototype.paint.call(this,n,k,et,Tt.y,ot,Tt.height,bt,M),Lt=et+(nt=R(nt,M.ysr))+rt,St=ot-nt-rt,xt=(yt=lt&&lt.style)?K(yt,y,at):ut.clone(),(!yt||yt&&B(yt.cellPadding))&&(xt.cellPadding=st+" 0 0 0"),Ot=Et.An(A,xt,(0,e.isPrintZoomFactorExist)(M)?M.printZoomFactor:M.sheet.zoom()),ft&&(kt=new e.Rect(r,u,l,d-Ot.height),(!dt||dt&&B(dt.cellPadding))&&(ht.cellPadding=a),M.cellStyle=ht,M.fontInfo=e.W.x2e(ht,lt&&lt.headerStyle?w:1),ht.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(ft)),t.prototype.paint.call(this,n,ft,Lt,kt.y,St,kt.height,ht,M)),xt.cellPadding=a,xt.hAlign=e.HorizontalAlign.right,M.cellStyle=xt,M.fontInfo=e.W.x2e(xt,yt?w:1),xt.font=M.fontInfo.font,M.lineHeight=e.mt.vt(M.fontInfo.font,!1,e.mt.pt(i)),t.prototype.paint.call(this,n,i,Lt,Ot.y,St,Ot.height,xt,M))}},n.prototype.Ln=function(n,i,o,r,u){var s,f,h,v,g,M,I,N,b,m,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,R,P,Q=0,W=u.row,H=u.sheet,F=u.col,_=u.rowSpacingIndex,J=u.isAfterRowSpacing;return u.dataRange&&(s=ct(u))&&(H=s.sheet,W=s.row,F=s.col,_=s.rowSpacingIndex,J=s.isAfterRowSpacing),h=(f=H.NMi).currentTheme(),v=D+2*C,g=H.ncr&&H.ncr(W,_,-1),M=Y(this.zeo),g&&(I=V(o),N=H.getDefaultStyle(),b=g.level,m=g.field,w=g.value,y=g.groupLevelOptions,Q=x=v*(b+1),j=(A=H.ncr&&H.ncr(W,_,F,J))&&A.caption,T=4,M?(j&&(j="".concat(j).concat((0,c.getSR)().TextColon)),m&&(m="".concat(m).concat((0,c.getSR)().TextColon)),z=2,p=H.getDefaultStyle().cellPadding+" 0 0 0",d(m)||((L=y.headerStyle?K(y.headerStyle,h,N):I.clone()).cellPadding=p,L.hAlign=$(L,e.HorizontalAlign.left),u.fontInfo=e.W.x2e(L,y.headerStyle?r:1),L.font=u.fontInfo.font,u.cellStyle=L,Q+=t.prototype.Ln.call(this,m,m,L,r,u)+z),d(w)||((S=y.style?K(y.style,h,N):I.clone()).cellPadding=p,S.hAlign=$(S,e.HorizontalAlign.left),u.fontInfo=e.W.x2e(S,y.style?r:1),S.font=u.fontInfo.font,u.cellStyle=S,O=(0,e.C0r)(this,w,S,H),Q+=t.prototype.Ln.call(this,O,O,S,r,u)+z),A&&(Q+=T,d(n)||((E=(k=A.style)?K(k,h,N):I.clone()).cellPadding=p,E.hAlign=$(E,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(E,k?r:1),E.font=u.fontInfo.font,u.cellStyle=E,Q+=t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,E,H),E,r,u)+z),d(j)||((U=(Z=A.headerStyle)?K(Z,h,N):I.clone()).cellPadding=p,U.hAlign=$(U,e.HorizontalAlign.right),u.fontInfo=e.W.x2e(U,Z?r:1),U.font=u.fontInfo.font,u.cellStyle=U,Q+=t.prototype.Ln.call(this,j,j,U,r,u)+z))):(G=0,d(m)||(R=y.headerStyle?K(y.headerStyle,h,N):I.clone(),(!y.headerStyle||y.headerStyle&&B(y.headerStyle.cellPadding))&&(R.cellPadding=a),R.hAlign=$(R,e.HorizontalAlign.left),u.cellStyle=R,u.fontInfo=e.W.x2e(R,y.headerStyle?r:1),R.font=u.fontInfo.font,G=l(t.prototype.Ln.call(this,m,m,R,r,u),G)),d(w)||((S=y.style?K(y.style,h,N):I.clone()).hAlign=$(S,e.HorizontalAlign.left),S.cellPadding=a,u.cellStyle=S,u.fontInfo=e.W.x2e(S,y.style?r:1),S.font=u.fontInfo.font,G=l(t.prototype.Ln.call(this,w,(0,e.C0r)(this,w,S,H),S,r,u),G)),Q+=G,P=0,d(j)||(U=(Z=A&&A.headerStyle)?K(Z,h,N):I.clone(),(!Z||Z&&B(Z.cellPadding))&&(U.cellPadding=a),u.cellStyle=U,u.fontInfo=e.W.x2e(U,A&&A.headerStyle?r:1),U.font=u.fontInfo.font,P=l(t.prototype.Ln.call(this,j,j,U,r,u),P)),d(n)||((E=(k=A.style)?K(k,h,N):I.clone()).cellPadding=a,E.hAlign=e.HorizontalAlign.right,u.cellStyle=E,u.fontInfo=e.W.x2e(E,k?r:1),E.font=u.fontInfo.font,P=l(t.prototype.Ln.call(this,n,(0,e.C0r)(this,n,E,H),E,r,u),P)),Q+=P,P>0&&(Q+=T))),Q},n.prototype.getCellAndPaddingHitInfo=function(n,i,e,o,r){var u,c=e.cellPadding;return e.cellPadding=void 0,u=t.prototype.getCellAndPaddingHitInfo.call(this,n,i,e,o,r),e.cellPadding=c,u},n.prototype.fMi=function(t,n,i,e,r,u,c,a){var l,f,d,h,v,g,M,I,N,b,m,w,y,x=a?a.sheet.zoom():e.zoom(),A=D*x,j=e.NMi,T=e.getDataSource();if(j&&T&&((l=j.groupOutlinePosition())===o.GroupOutlinePosition.groupCell||l===o.GroupOutlinePosition.groupCellAll)&&(f=e.ncr&&e.ncr(r,c,-1))&&(d=f.level,h=(D+2*C)*x,!(v=d===j.lMi.length-1&&!j.detailColumnsVisible())&&j.DMi(d,r))){if(g=C*x,!(M=j.IMi(r,d)))return;if(I=t.x+g+h*d,N=t.y+(t.height-A)/2,b=s(I)-.5,m=s(I+A)-.5,w=s(N)-.5,y=s(N+A)-.5,b<=n&&n<=m&&w<=i&&i<=y)return{level:M.level,index:r,collapsed:M.collapsed}}},n}(z),e.CellTypes.ti[110]=O,k=function(){function t(){this.tMi=o.GroupOutlinePosition.groupCell,this.GY=o.GroupLayoutMode.tabular,this.Oeo=M}return t.prototype.Hc=function(t,n,i){var r,u=new e.Style;u.cellType=new y,t.setStyle(-1,0,u,e.SheetArea.rowHeader),t.setColumnWidth(0,n*N,e.SheetArea.rowHeader),(r=this.tMi)!==o.GroupOutlinePosition.rowHeader&&r!==o.GroupOutlinePosition.groupCellAll||t.setColumnVisible(0,!0,e.SheetArea.rowHeader),this.Beo(t,i)},t.prototype.Beo=function(t,n){var i;P(this.GY)?(this.Geo(t),this.Reo(t),this.Peo(t,n)):this.Qeo(t,n)},t.prototype.Qeo=function(t,n){var i,o,r,u,c,s,l;for(i=0;i<n.length;i++)n[i].DFt&&((o=n[i].headerStyle&&n[i].headerStyle.cellType)&&(o="98"===o.typeName?a:(0,e.createCellType)(o)),r=new j(o),t.setCellType(-1,i,r,e.SheetArea.colHeader),(u=n[i].headerStyle)||(u=n[i].headerStyle={}),u.cellType=r,(c=n[i].style&&n[i].style.cellType)&&(c="99"===c.typeName?a:(0,e.createCellType)(c)),s=new p(c),t.setCellType(-1,i,s),(l=n[i].style)||(l=n[i].style={}),l.cellType=s)},t.prototype.Peo=function(t,n){var i,o,r,u,c,s,l,f,h,v,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,k,E,Z,U=t.NMi,G=t.getRowCount(),R=n.length,P=t.k9(e.SheetArea.viewport),Y=t.NMi.currentTheme();if(!d(P)){if(o=t.defaults.rowHeight,r=t.Csr)for(u=0;u<G;u++){for(c=t.Rsr(u),s=0;s<c;s++){for(f=null==(l=t.ncr(u,s,-1))?void 0:l.field,h=0;h<R;h++)(M=new(g=(v=h===P)?O:S)).zeo=this.GY,(N=H(I=v&&l&&l.groupLevelOptions?l.groupLevelOptions:t.ncr(u,s,h)))||(N=new e.Style),N.cellType=M,t.tcr(u,s,h,N);l&&(b=B((D=K(l.groupLevelOptions&&l.groupLevelOptions.style||{},Y)).cellPadding),Q(this.GY)&&b&&(D.cellPadding=o+" 0 0 0"),t.tcr(u,s,-1,D)),(m=new e.Style).cellType=new x,t.tcr(u,s,0,m,!1,e.SheetArea.rowHeader),Q(this.GY)&&(C=U.getGroupingHeaderHeight(f,o),t.qsr(u,s,C))}for(w=t.Rsr(u,!0),s=0;s<w;s++)if(f=null===(i=null==(l=t.ncr(u,s,-1,!0))?void 0:l.groupLevelOptions)||void 0===i?void 0:i.field,l&&l.isSpacing)(y=new e.Style).cellType=new x,t.tcr(u,s,0,y,!0,e.SheetArea.rowHeader),t.qsr(u,s,l.spacingRow,!0);else{for(h=0;h<R;h++)(A=new S).zeo=this.GY,A.Leo=!0,(j=H(I=t.ncr(u,s,h,!0)))||(j=new e.Style),j.cellType=A,t.tcr(u,s,h,j,!0);l&&(b=B((D=K(l.groupLevelOptions&&l.groupLevelOptions.style||{},Y)).cellPadding),Q(this.GY)&&b&&(D.cellPadding=o+" 0 0 0"),t.tcr(u,s,-1,D,!0)),(T=new e.Style).cellType=new x,t.tcr(u,s,0,T,!0,e.SheetArea.rowHeader),Q(this.GY)&&(z=U.getGroupingFooterHeight(f,o),t.qsr(u,s,z,!0))}}for(u=0,p=R;u<p;u++)t.$go(-1,u)instanceof L&&t.setCellType(-1,u,a);(E=(k=n[P].style)&&k.cellType)&&(E="108"===E.typeName?a:(0,e.createCellType)(E)),Z=new L(E),t.setCellType(-1,P,Z),n[P].zno=Z}},t.prototype.Geo=function(t,n,i,o,r,u){var a,s,l,f,h,v,g,M,I,N,D,b,m,C,w,y,x,A;if(t.Csr&&(s=(a=t.NMi).getDataView(),l=this.Yeo(),f=a.groupBy(),h=P(l),d(n)&&(n=s.FFt.childrenArray[0]),d(i)&&(i=a.INi.Weo()),n.length===i.length&&(d(o)&&(o=0),d(r)&&(r=0),d(u)&&(u=0),n&&n.length>0)))for(v=0;v<n.length;v++)g=n[v],M=i[v],I=g.recordRowNumbers,N=g.value,b=(D=g.cellNode).field.extra&&!d(D.field.extra.caption)?D.field.extra.caption:D.field.fieldValue,Array.isArray(b)&&(b=(0,c.tIi)(b)),m=I.length,C=t.Rsr(o),t.Ksr(o,C,1),t.ecr(o,r,-1,{groupLevelOptions:f[M.level],level:M.level,field:b,value:e.mt.Z0(N)}),M.spacingIndex=r,h&&(w=g.summaryResults)&&(y=nt(w,"header",a.Heo()))&&this.Veo(t,o,r,y),x=g.childrenArray[0],A=M.children,x&&x.length>0&&this.Geo(t,x,A,o,r+1,u),o+=m,r=0},t.prototype.Reo=function(t,n,i,e,o){var r,u,c,a,s,l,f,h,v,g,M,I,N,D;if(t.Csr&&(u=(r=t.NMi).getDataView(),d(n)&&(n=u.FFt.childrenArray[0]),d(i)&&(i=r.INi.Weo()),n.length===i.length&&(d(e)&&(e=0),d(o)&&(o=0),n&&n.length>0)))for(c=r.groupBy(),a=0;a<n.length;a++)s=n[a],l=i[a],f=s.recordRowNumbers,h=s.summaryResults,g=e+(v=f.length)-1,(M=ut(s))>0&&a<n.length-1&&(t.Ksr(g,0,1,!0),t.ecr(g,0,-1,{level:l.level,spacingRow:M,isSpacing:!0},!0)),h&&(I=nt(h,"footer"))&&(t.Ksr(g,0,1,!0),t.ecr(g,0,-1,{groupLevelOptions:c[l.level],level:l.level},!0),this._eo(t,g,0,I)),N=s.childrenArray[0],D=l.children,N&&N.length>0&&this.Reo(t,N,D,e,o),e+=v},t.prototype.Veo=function(t,n,i,e){var o,r,u,c,a,s;if(t.Csr)for(r=(o=t.NMi.getDataView()).getColumnInfos(),u=0;u<r.length;u++)(s=e[a=(c=r[u]).value])&&(t.$sr(n,i,u,s.value),t.ecr(n,i,u,s))},t.prototype._eo=function(t,n,i,e){var o,r,u,c,a,s;if(t.Csr)for(r=(o=t.NMi.getDataView()).getColumnInfos(),u=0;u<r.length;u++)(s=e[a=(c=r[u]).value])&&(t.$sr(n,i,u,s.value,!0),t.ecr(n,i,u,s,!0))},t.prototype.TMi=function(t,n){var i,r;if(0===arguments.length)return this.tMi;this.tMi=n,(i=t.NMi)&&i.lMi&&(r=n===o.GroupOutlinePosition.rowHeader||n===o.GroupOutlinePosition.groupCellAll,t.setColumnVisible(0,r,e.SheetArea.rowHeader))},t.prototype.Yeo=function(t){if(d(t))return this.GY;this.GY=t},t.prototype.Jeo=function(t){if(d(t))return this.Oeo;this.Oeo=U(U({},this.Oeo),t)},t.prototype.L0=function(t){t.setColumnVisible(0,!1,e.SheetArea.rowHeader);for(var n=0,i=t.getColumnCount();n<i;n++)t.$go(-1,n,e.SheetArea.colHeader)instanceof j&&t.setCellType(-1,n,a,e.SheetArea.colHeader),t.$go(-1,n)instanceof p&&t.setCellType(-1,n,a),t.$go(-1,n)instanceof L&&t.setCellType(-1,n,a)},t.prototype.toJSON=function(){return this.tMi},t.prototype.fromJSON=function(t,n){this.TMi(t,n)},t}(),E=function(){function t(){this._data=new I,this._ui=new k}return t.prototype.Weo=function(){return this._data.oMi.children},t.prototype.Hc=function(t,n,i,e,o){o||this._data.Hc(t,n);var r=i.getDataSource();this._ui.Hc(i,e.length,r&&r.getColumnInfos())},t.prototype.TMi=function(t,n){if(0===arguments.length)return this._ui.TMi();this._ui.TMi(t,n)},t.prototype.uMi=function(t,n,i,e){this._data.uMi(t,n,i,e)},t.prototype.aMi=function(t,n,i,e){this._data.aMi(t,n,i,e)},t.prototype.sMi=function(t,n,i,e,o){return this._data.sMi(t,n,i,e,o)},t.prototype.MMi=function(t){return this._data.MMi(t)},t.prototype.IMi=function(t,n){return this._data.IMi(t,n)},t.prototype.gMi=function(t){return this._data.gMi(t)},t.prototype.Yeo=function(t){return this._ui.Yeo(t)},t.prototype.Jeo=function(t){return this._ui.Jeo(t)},t.prototype.L0=function(t){this._data.L0(),this._ui.L0(t)},t.prototype.Beo=function(t,n){this._ui.Beo(t,n)},t.prototype.toJSON=function(){return{outlinePosition:this._ui.toJSON(),tree:this._data.toJSON()}},t.prototype.fromJSON=function(t,n,i){this._ui.fromJSON(t,n.outlinePosition),this._data.fromJSON(n.tree,i)},t}(),n.Grouping=E},1633:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.reo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"grouping"),t.rto(n,"groupNo"),t.oeo(n),n},n}(o.Meo),n.reo=c},1649:function(t,n,i){var e,o,r,u,c,a,s=this&&this.vJr||(l=function(t,n){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},l(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}l(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),l;Object.defineProperty(n,"__esModule",{value:!0}),n.geo=void 0,e=i(1376),o=i(8057),r=i(9846),u=e.mt,c=u.En,a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(c("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ato(n,"errorCorrectionLevel",(0,r.getItems)(8,!0,!0)),t.ato(n,"columns",(0,r.getItems)(30,!0)),t.ato(n,"rows",(0,r.getItems)(90,!0)),t.cto(n,"compact"),n},n}(o.Meo),n.geo=a},1850:function(t,n,i){var e,o,r,u,c,a=this&&this.mJr||function(){return a=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},a.apply(this,arguments)};function s(t){return"string"==typeof t}function l(t){return t.reduce((function(t,n){return t.push(n),c(n.subActionOptions)?t.concat(n.subActionOptions):t}),[])}function f(t){return s(t)?t.toUpperCase().charCodeAt(0):t}function d(t){return"ROWACTION_".concat(t)}function h(t){var n=d(t);return o.Commands[n]={canUndo:!1,execute:function(n,i){var e=n.commandManager(),o=n.Ofe(i.sheetName),r=o.Mf,u=i.isDataRange?i.row:r.getActiveRowIndex(),c=r.getDataItem(u);return e.execute(a(a({},i),{cmd:t,index:u,item:c,tableSheet:o})),!0}},n}Object.defineProperty(n,"__esModule",{value:!0}),e=i(7234),o=i(1376),r=i(8966),u=e.Common.lt,c=u.Nh,o.Commands.uri=function(t){var n=o.mt.Qf(),i=!n,e=n;t.register(r.SAVE_ALL,o.Commands[r.SAVE_ALL],"S".charCodeAt(0),i,!0,!1,e),t.register(r.EXPAND_GROUP_ITEM,o.Commands[r.EXPAND_GROUP_ITEM]),t.register(r.EXPAND_GROUP,o.Commands[r.EXPAND_GROUP]),t.register(r.REMOVE_COLUMN_TO_TABLE,o.Commands[r.REMOVE_COLUMN_TO_TABLE]),t.register(r.MODIFY_COLUMN_TO_TABLE,o.Commands[r.MODIFY_COLUMN_TO_TABLE]),t.register(r.DEFINE_COLUMN_TO_TABLE,o.Commands[r.DEFINE_COLUMN_TO_TABLE]),t.register(r.VIEW_REMOVE_COLUMN_INFO,o.Commands[r.VIEW_REMOVE_COLUMN_INFO]),t.register(r.VIEW_UPDATE_COLUMN_INFO,o.Commands[r.VIEW_UPDATE_COLUMN_INFO]),t.register(r.VIEW_Add_COLUMN_INFO,o.Commands[r.VIEW_Add_COLUMN_INFO]),t.register(r.VIEW_MOVE_COLUMN,o.Commands[r.VIEW_MOVE_COLUMN]),t.register(r.GROUP_OPTIONS,o.Commands[r.GROUP_OPTIONS]),t.register(r.RESET_NEW_VIEW,o.Commands[r.RESET_NEW_VIEW]),t.register(r.REMOVE_CROSS_COLUMN,o.Commands[r.REMOVE_CROSS_COLUMN])},o.Commands.iMi=function(t,n){var i=t;l(n).forEach((function(t){var n,e,r,u,c=t.command,a=t.shortcutKey,l=void 0===a?{}:a,d=l.key,v=l.ctrl,g=l.shift,M=l.alt,I=l.meta;s(c)&&(n=h(c),e=i.getCommand(n),r=i.getCommand(c),u=f(d),r?s(r.shortcutKey)&&i.setShortcutKey(c,null,!1,!1,!1,!1):i.register(c,o.Commands[c]),e?e.shortcutKey!==i.getShortcutKey(u,v,g,M,I)&&i.setShortcutKey(n,u,v,g,M,I):i.register(n,o.Commands[n],u,v,g,M,I))}))}},1859:function(t,n,i){var e,o,r,u,c;Object.defineProperty(n,"__esModule",{value:!0}),n.dZe=void 0,e=i(1376),o=i(591),r=e.mt,u=r.En,c=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.gZe()},t.prototype.gZe=function(){var t,n=this,i=(0,e.GC$)(u("div"));return i.addClass("gc-defined-column-divider-container"),i.attr("role","separator"),(t=n._text=(0,e.GC$)(u("div"))).appendTo(i),t.addClass("gc-defined-column-divider-inner-text"),n.LEt.text?t.text(n.LEt.text):t.hide(),i},t.prototype.setText=function(t){var n;this._text.text(t)},t.prototype.dispose=function(){var t;this._text=o.keyword_null},t}(),n.dZe=c},2121:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p=this&&this.vJr||(L=function(t,n){return L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},L(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}L(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),L;function S(t){return t&&t._gi===o.SheetType.tableSheet}function O(t){return t&&t._gi===o.SheetType.ganttSheet}function k(t){var n=t.getActiveSheetTab();if(S(n)||O(n))return n}function E(t){return t.b3t}function Z(t,n){return(-1===t.row||-1===n.row||n.row<t.row+t.rowCount&&t.row<n.row+n.rowCount)&&(-1===t.col||-1===n.col||n.col<t.col+t.colCount&&t.col<n.col+n.colCount)}function U(t,n,i,e){return{row:t,col:n,rowCount:i,colCount:e}}function G(t,n){var i=s(t.row,n.row),e=s(t.col,n.col),o=l(t.row+t.rowCount-1,n.row+n.rowCount-1),r=l(t.col+t.colCount-1,n.col+n.colCount-1);return i>=0&&e>=0?U(i,e,o-i+1,r-e+1):i>=0?U(i,-1,o-i+1,-1):e>=0?U(-1,e,-1,r-e+1):U(-1,-1,-1,-1)}function B(t){var n,i,e,o=[];for(i=0;i<t.length;i++){for(n=t[i],e=0;e<t.length;e++)n!==t[e]&&Z(n,t[e])&&(n=G(n,t[e]),i=e);o.push(n)}return o}function R(t){var n,i,e=0;for(t.sort((function(t,n){return t.row-n.row})),n=B(t),i=0;i<n.length;i++)e+=n[i].rowCount;return e}function P(t){var n,i=E(t),e=k(t);a(i)||(a(e)?i.qgi&&(i.qgi=!1,H(i)):(n=e.qgi,i.qgi!==e.qgi&&(n?W(i):H(i),i.qgi=n)))}function Q(t,n){var i=n.hitTestType,e=0===i,o=1===i,r=2===i,u=3===i;a(t)||(a(t.$gi)&&Y(t),!e&&!r||t.qgi?(u||o)&&t.qgi&&(t.qgi=!1,H(t)):(t.qgi=!0,W(t)),t.DJ.getActiveSheetTab().qgi=t.qgi)}function Y(t){var n,i,e,o,r,u=t.all(),c=[];for(n=0;n<u.length;n++)for(i=u[n],e=0;e<D.length;e++)i.name===D[e]&&c.push({pos:n,item:i});for(t.$gi=c,o=[],n=0;n<T.length;n++)r=V(T[n]),o.push(r);t.iNi=o}function W(t){var n,i,e,o;for(n=0;n<D.length;n++)t.remove(D[n]);if(i=t.$gi&&t.$gi.length>0?t.$gi[0].pos:0,e=t.iNi)for(n=0;n<e.length;n++)o=e[n],t.add(o,n+i)}function H(t){var n,i,e;for(n=0;n<T.length;n++)t.remove(T[n]);if(i=t.$gi)for(n=0;n<i.length;n++)e=i[n],t.add(e.item,e.pos)}function V(t){if(t===y)return new z}Object.defineProperty(n,"__esModule",{value:!0}),n.processStatusBarOnMouseDown=n.updateStatusBarOnActiveSheetChanged=void 0,e=i(7234),o=i(1376),r=i(605),u=i(419),c=e.Common.lt,a=c.ht,s=Math.min,l=Math.max,f=null,d=".statusbar",D=[h="average",v="count",g="numericalCount",M="min",I="max",N="sum"],b="none",m="inline-block",C=new e.Common.ResourceManager(u.SR,"TableSheet"),w=C.getResource.bind(C),x="menuRowCount",A="tooltipRowCount",j="right",T=[y="rowCount"],z=function(t){function n(){var n,i=t.call(this,y)||this;return i.c3t=": ",i.s3t=d+i.name,n=w().StatusBarRowCount,i.menuContent=n,i.vit=n,i.align=j,i.tipText=w().StatusBarToolTipRowCount,i.visible=!0,i.e4t=x,i.i4t=A,i}return p(n,t),n.prototype.rLi=function(){return k(this.DJ)},n.prototype.nNi=function(){return E(this.DJ)},n.prototype.onBind=function(t){var n=this;n.DJ=t,t.bind(o.Events.SelectionChanging+n.s3t,(function(t,i){n.x3t(i)})),t.bind(o.Events.SelectionChanged+n.s3t,(function(t,i){n.x3t(i)})),t.bind(o.Events.ActiveSheetChanged+n.s3t,(function(){n.onUpdate()}))},n.prototype.x3t=function(t){var n=this,i=t.newSelections;n.eNi(i)},n.prototype.eNi=function(t){var n,i,e,o,r,u,c,s,l=this,d=l.rLi();if(d&&(n=d.getDataView(),i=0,e=f,o=!1,r=[],!a(n))){for(i=n.getColumnInfos().length,u=0;u<t.length;u++){if(-1===(c=t[u]).col&&-1===c.row){o=!0;break}-1===c.row||-1!==c.colCount&&c.colCount!==i||r.push(c)}o?e=n.visibleLength():(s=R(r))>0&&(e=s),l.A3t(e)}},n.prototype.E3t=function(t){this.u3t&&(this.u3t.style.display=t?m:b)},n.prototype.A3t=function(t){var n=this.c3t,i=this.I3t,e=this.vit,o=this.visible,r=!1;this.value=t,i.innerText=e+n+t,!a(t)&&o&&(r=!0),this.E3t(r)},n.prototype.onUpdate=function(){t.prototype.onUpdate.call(this);var n=this,i=n.rLi();a(i)||n.eNi(i.Mf.getSelections())},n.prototype.FM=function(t){if(t){var n=t.menuContent,i=t.tipText;this.menuContent=n,this.vit=n,this.tipText=i,this.u3t.title=i}},n.prototype.onUnbind=function(){var t=this.DJ,n=this.s3t;t&&(t.unbind(o.Events.SelectionChanging+n),t.unbind(o.Events.SelectionChanged+n),t.unbind(o.Events.ActiveSheetChanged+n),this.DJ=f)},n}(r.StatusItem),n.updateStatusBarOnActiveSheetChanged=P,n.processStatusBarOnMouseDown=Q},2221:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.pJr||function(t,n,i,e){function o(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,r){function u(t){try{a(e.next(t))}catch(t){r(t)}}function c(t){try{a(e.throw(t))}catch(t){r(t)}}function a(t){t.done?i(t.value):o(t.value).then(u,c)}a((e=e.apply(t,n||[])).next())}))},d=this&&this.gJr||function(t,n){var i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},e,o,r,u;return u={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(t){return function(n){return a([t,n])}}function a(c){if(e)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(e=1,o&&(r=2&c[0]?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(6===c[0]&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=n.call(t,i)}catch(t){c=[6,t],o=0}finally{e=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},h=this&&this.yJr||function(t,n,i){if(i||2===arguments.length)for(var e=0,o=n.length,r;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))};function v(t){return(null==t?void 0:t.sourceType)===s.Combo}function g(t,n,i,e){return{sheet:t,sheetName:t.name(),col:n,filterValues:i,conditionInfo:i&&0===i.length&&e?e.toJSON():void 0}}Object.defineProperty(n,"__esModule",{value:!0}),n.UndoHelper=n.TableSheetUndoSourceType=n.TableSheetUndoType=void 0,e=i(7234),o=i(1376),r=void 0,u=e.Common.lt,c=u.ht,function(t){t.RowAction="rowAction",t.GroupOptions="groupOptions",t.GroupOutlinePosition="groupOutlinePosition",t.ExpandGroupByLevel="expandGroupBylevel",t.ExpandGroupItem="expandGroupItem",t.OptionChanged="optionChanged",t.ThemeChanged="themeChanged",t.PinnedRowsChanged="pinnedRowsChanged",t.PinnedColumnsChanged="pinnedColumnsChanged",t.DefaultRowHeightChanged="defaultRowHeightChanged",t.ApplyFreeHeaderChanged="applyFreeHeaderChanged",t.ResetViewChanged="resetViewChanged",t.UpdateFilterOnMoved="updateFilterOnMoved",t.FilterColumn="filterColumn",t.SetFilterItemMap="setFilterItemMap",t.RemoveCrosRowFilterInfo="removeCrosRowFilterInfo",t.RemoveRow="removeRow",t.SetDataView="setDataView",t.RemoveColumns="removeColumns",t.AddColumns="addColumns",t.ResetGroupOutline="resetGroupOutline",t.SortMapChanged="sortMapChanged",t.StoreTreeData="storeTreeData",t.ApplyTreeData="applyTreeData",t.ChangeCollapse="changeCollapse"}(a=n.TableSheetUndoType||(n.TableSheetUndoType={})),function(t){t[t.TableSheet=1]="TableSheet",t[t.DataManager=2]="DataManager",t[t.Combo=3]="Combo"}(s=n.TableSheetUndoSourceType||(n.TableSheetUndoSourceType={})),l=function(){function t(t){this.host=t,this.G8=[],this.P8=0,this.Jpi=0,this.DKi=[]}return t.prototype.startTransaction=function(){var t;this.P8++,null===(t=this.view)||void 0===t||t.vCn()},t.prototype.endTransaction=function(){var t,n;return this.P8=Math.max(this.P8-1,0),null===(t=this.view)||void 0===t||t.FCn(),0===this.P8?(n=this.getUndoChanges(),this.TKi(),n):[]},t.prototype.startAddComboChanges=function(){var t={sourceType:s.Combo,changes:[]};this.xKi(t),this.DKi.push(t),this.Jpi++},t.prototype.endAddComboChanges=function(){this.Jpi=Math.max(this.Jpi-1,0),this.DKi.pop()},t.prototype.addUndoChanges=function(t){this.lM()&&(this.PKi(),this.xKi({sourceType:s.TableSheet,changeData:t}))},t.prototype.getUndoChanges=function(){return this.PKi(),this.G8},t.prototype.undo=function(t,n){var i;return void 0===n&&(n=!0),f(this,void 0,void 0,(function(){var e,o,r,u,c,c;return d(this,(function(a){switch(a.label){case 0:this.host.suspendPaint(),e=n?h([],t,!0).reverse():h([],t,!0),o=!0,r=0,a.label=1;case 1:return r<e.length?(u=e[r]).sourceType!==s.DataManager?[3,4]:(c=null===(i=this.view)||void 0===i?void 0:i.Mtt(u.changeData),o=!1,c?[4,c]:[3,3]):[3,6];case 2:a.sent(),a.label=3;case 3:return[3,5];case 4:u.sourceType===s.TableSheet?(c=this.Yqi(u.changeData),o&&!1===c&&(o=c)):u.sourceType===s.Combo&&this.undo(u.changes,!1),a.label=5;case 5:return r++,[3,1];case 6:return this.$qi(o),[2]}}))}))},t.prototype.$qi=function(t){this.host.refreshBindColumns(),this.host.WDi(r,r,t),this.host.tze(),this.host.resumePaint()},t.prototype.xKi=function(t){var n=this.DKi[this.DKi.length-1];n&&this.Jpi>0&&v(n)?n.changes.push(t):this.G8.push(t)},Object.defineProperty(t.prototype,"view",{get:function(){return this.host.getDataView()},enumerable:!1,configurable:!0}),t.prototype.TKi=function(){var t;null===(t=this.view)||void 0===t||t.PEe(),this.G8=[],this.DKi=[],this.P8=0},t.prototype.lM=function(){return this.P8>0},t.prototype.Yqi=function(t){var n,i,e,o,r,u,c,s,l,f,d,h,v,g,M=this,I=!0;return t.type===a.RemoveCrosRowFilterInfo||t.type===a.UpdateFilterOnMoved||t.type===a.FilterColumn||t.type===a.SetFilterItemMap?this.ize(t):t.type===a.RowAction?this.host.rowActionOptions(t.oldData):t.type===a.GroupOptions?((n=t.oldData)?this.host.groupBy(n):this.host.removeGroupBy(),I=!1):t.type===a.GroupOutlinePosition?this.host.groupOutlinePosition(t.oldData):t.type===a.ExpandGroupByLevel?(i=t.oldData,e=i.level,o=i.indexs,r=i.expand,o.forEach((function(t){M.host.expandGroupItem(e,t,r)}))):t.type===a.ExpandGroupItem?(c=(u=t.oldData).level,s=u.index,l=u.expand,this.host.expandGroupItem(c,s,l)):t.type===a.OptionChanged?(f=t.key,n=t.oldData,this.host.options[f]=n):t.type===a.ThemeChanged?this.host.applyTableTheme(t.oldData):t.type===a.PinnedRowsChanged?this.host.tze():t.type===a.PinnedColumnsChanged?this.host.nze(t.oldData.oldFilterColumnsMap,t.oldData.oldFilterColumnsMap):t.type===a.DefaultRowHeightChanged?this.host.setDefaultRowHeight(t.oldData.size,t.oldData.sheetArea):t.type===a.ApplyFreeHeaderChanged?this.host.applyFreeHeaderArea(t.oldData):t.type===a.ResetViewChanged?(h=(d=t.oldData).columnInfoOptions,v=d.includeDefaultColumns,g=d.options,this.host.resetNewView(h,v,g)):t.type===a.RemoveRow?(this.host.eze(),I=!1):t.type===a.RemoveColumns?this.host.Cze(t.oldCol,t.oldCount):t.type===a.AddColumns?this.host.beo(t.oldCol,t.oldCount):t.type===a.ResetGroupOutline?(this.host.refreshBindColumns(),this.host.WDi()):t.type===a.SortMapChanged?(this.lze(t),I=!1):t.type===a.StoreTreeData||t.type===a.ApplyTreeData?(this.dze(t),I=!1):t.type===a.ChangeCollapse?this.host.vze(t.oldData):t.type===a.SetDataView&&this.host.kTi(this.view),I},t.prototype.dze=function(t){var n=t.type;n===a.ApplyTreeData?this.host.nDi():n===a.StoreTreeData&&this.host.uDi()},t.prototype.lze=function(t){var n=t.oldData,i=this.host.Mf.rowFilter();i.Nze(n)},t.prototype.ize=function(t){var n,i,e,r,u,s,l,f;t.type===a.RemoveCrosRowFilterInfo?this.host.Mf.rowFilter().oze(t.changedData):t.type===a.UpdateFilterOnMoved?(e=t.changedData.map((function(t){return{oldIndex:t.newIndex,newIndex:t.oldIndex}})),this.host.Mf.rowFilter().nTi(e)):t.type===a.FilterColumn?(r=this.host.bze(t.changedData.columnName),c(r)||(this.host.Mf.vCn(),this.host.zA({cmd:"clearFilter",cmdOption:{colIndex:r}}),this.host.Mf.FCn())):t.type===a.SetFilterItemMap&&(s=(u=t.changedData).columnName,l=u.checkedValues,null!==(f=this.host.bze(s))&&(this.host.Mf.ki(o.Events.RangeFiltering,g(this.host.Mf,f,l,null)),this.host.Mf.IB.removeFilterItems(f),(null===(i=null===(n=this.host.Mf)||void 0===n?void 0:n.IB)||void 0===i?void 0:i.setFilterItemMap)&&this.host.Mf.IB.setFilterItemMap(f,l),this.host.Mf.IB.filter(f),this.host.Mf.ki(o.Events.RangeFiltered,g(this.host.Mf,f,l,null))))},t.prototype.PKi=function(){var t,n,i,e=this,o=null!==(n=null===(t=this.view)||void 0===t?void 0:t.LEe())&&void 0!==n?n:[];o.forEach((function(t){e.xKi({sourceType:s.DataManager,changeData:t})})),null===(i=this.view)||void 0===i||i.PEe()},t}(),n.UndoHelper=l},2227:function(n){n.exports=t.Spread.Sheets.CellTypes},2364:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k=this&&this.vJr||(Z=function(t,n){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},Z(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}Z(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),E=this&&this.mJr||function(){return E=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},E.apply(this,arguments)},Z;Object.defineProperty(n,"__esModule",{value:!0}),n.Uze=void 0,e=i(1376),o=i(6114),r=i(447),u=i(3180),c=i(6406),a=i(9756),s=i(5981),l=i(5530),f=i(7879),d=i(7973),h=i(117),v=i(3632),g=i(2611),M=i(9571),I=i(8026),N=i(6656),D=i(8565),b=i(7373),m=i(591),C=i(5168),w=i(7446),y=i(9846),x=i(5203),A=i(2227),j=i(9807),T=i(6423),z=i(7127),p="keydown.definedColumn.gcSheet",L=e.mt,S=L.En,O=function(t){function n(n,i,e){var o,r=t.call(this,n,i)||this;return r.xT=[],(o=r).LEt=e,o.mUe=e.column,o.jUe={},o.Wc=o.Xc(),o._hidden(),r}return k(n,t),n.prototype.LF=function(){var t=this,n=t.Wc;n.css(["box-shadow","width","box-sizing","overflow-y"],["rgba(0, 0, 0, 0.15) 2px 4px 5px","400px","content-box","auto"]),n.addClass("gc-defined-column-container"),n.appendTo(t.qc()),t.CUe(),(0,e.GC$)(m.DOCUMENT).bind(p,(function(n){27===n.keyCode&&t.close()}))},n.prototype.lf=function(n){var i,o=this;return o.jUe.type===r.ColumnTypes.Formula&&(null===(i=(0,e.GC$)(n).attr("class"))||void 0===i?void 0:i.indexOf("gcsj-func-ac"))>-1||t.prototype.lf.call(this,n)},n.prototype.wUe=function(t,n){var i=new c.mZe(t),e=i.create();return(0,m.isNullOrUndefined)(n)||i.setValue(n),{input:i,elem:e}},n.prototype.TUe=function(t,n){var i=this.wUe(t,n),e=i.input,o=i.elem;return this.xT.push(e),o},n.prototype.CUe=function(){var t,n=this,i=n.Wc,u=(0,e.GC$)(S("div"));u.addClass("gc-defined-column-content-container"),u.appendTo(i),n.TUe({inputId:"value",placeholder:(0,o.getSR)().defineColumnValue,validate:{validating:function(t){var i,e,u=n.jUe.type,c=u===r.ColumnTypes.Formula;return!!c||((0,b.isNullOrEmpty)(t)?{success:!1,errorMessage:(0,o.getSR)().defineColumnRequired}:(i=n.LEt.getColumnBy(t),(e=0!==Object.keys(n.mUe).length&&t===n.mUe.value||(!i||!1===i.visible))?!(!c&&(0,m.isFormula)(t)&&u!==r.ColumnTypes.Lookup&&((0,m.isRelation)(t)||n.LEt.isRelationship(t))):{success:!1,errorMessage:(0,o.getSR)().defineColumnExisted}))}},onBlur:function(){n.jUe.type===r.ColumnTypes.Barcode&&n.Sto(n.t())},onChange:function(t){n.jUe.value=t}},n.mUe.value).appendTo(u),n.TUe({inputId:"caption",placeholder:(0,o.getSR)().defineColumnCaption,onChange:function(t){n.jUe.caption=t}},n.mUe.caption).appendTo(u),t=n.AUe(),n.yUe().appendTo(u),t.appendTo(u),n.zUe().appendTo(i)},n.prototype.yUe=function(){var t,n=this,i=new u.pUe({items:n.LEt.columnTypeItems,onChange:function(t){var i,e=n.xT[0],o=e.isDisable();o?(e.resetDisable(),(i=e.value)&&n.LEt.isRelationship(i)&&(e.setValue(m.keyword_null),n.jUe.value=m.keyword_null)):t.name===r.ColumnTypes.Lookup&&n.mUe.value&&n.LEt.isRelationship(n.mUe.value)&&(e.setValue(n.mUe.value),n.jUe.value=n.mUe.value),n.jUe={value:n.jUe.value,caption:n.jUe.caption,type:t.name},n.xUe(t)}}),e=i.create();return(0,m.isNullOrUndefined)(n.mUe.type)?Object.keys(n.mUe).length>0&&("number"===n.mUe.dataType?i.setValue(r.ColumnTypes.Number):"date"===n.mUe.dataType?i.setValue(r.ColumnTypes.Date):"boolean"===n.mUe.dataType?i.setValue(r.ColumnTypes.Checkbox):(0,m.isFormula)(n.mUe.formula)?i.setValue(r.ColumnTypes.Formula):n.LEt.isRelationship(n.mUe.value)?i.setValue(r.ColumnTypes.Lookup):(t=n.LEt.getSampleValue(n.mUe),(0,m.isNumber)(t)?i.setValue(r.ColumnTypes.Number):(0,m.isDate)(t)?i.setValue(r.ColumnTypes.Date):(0,m.isString)(t)?i.setValue(r.ColumnTypes.Text):(0,m.isBoolean)(t)&&i.setValue(r.ColumnTypes.Checkbox))):i.setValue(n.mUe.type),n.xT.push(i),e},n.prototype.Ue=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.formatter?t.jUe.style.formatter:t.mUe&&t.mUe.style&&t.mUe.style.formatter?t.mUe.style.formatter:m.keyword_null},n.prototype.Lto=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.cellType?t.jUe.style.cellType:t.mUe&&t.mUe.style&&t.mUe.style.cellType?t.mUe.style.cellType:m.keyword_null},n.prototype.SUe=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.dropDowns?t.jUe.style.dropDowns[0].option:t.mUe&&t.mUe.style&&t.mUe.style.dropDowns?t.mUe.style.dropDowns[0].option:m.keyword_null},n.prototype.Neo=function(){var t=this;return t.jUe&&t.jUe.trigger&&t.jUe.trigger.fields?t.jUe.trigger.fields:t.mUe&&t.mUe.trigger&&t.mUe.trigger.fields?t.mUe.trigger.fields:m.keyword_null},n.prototype.ono=function(){var t=this,n=t.jUe,i=t.mUe;return Object.keys(i).length>0&&!(0,b.isNullOrEmpty)(i.type)&&i.type!==n.type},n.prototype.uno=function(t){var n,i,e=this;if(e.ono())e.jUe.style=t;else{for(i in(0,m.isNullOrUndefined)(e.jUe.style)&&(e.jUe.style={}),n=e.mUe.style)n.hasOwnProperty(i)&&(e.jUe.style[i]=(0,m.cloneObject)(n[i]));for(i in t)t.hasOwnProperty(i)&&(e.jUe.style[i]=t[i])}},n.prototype.xUe=function(t){var n=this;switch(n.LUe.xT=n.YZe(n.LUe.xT),n.LUe.empty(),t.name){case r.ColumnTypes.Text:n.jUe.dataType="string",n.OUe().appendTo(n.LUe);break;case r.ColumnTypes.Number:n.IZe(1);break;case r.ColumnTypes.Percent:n.IZe(6,r.ColumnTypes.Percent.toLowerCase());break;case r.ColumnTypes.Currency:n.IZe(2,r.ColumnTypes.Currency.toLowerCase());break;case r.ColumnTypes.Lookup:n.ZUe();break;case r.ColumnTypes.Formula:n.kUe();break;case r.ColumnTypes.Phone:n.EUe();break;case r.ColumnTypes.Email:n.UUe();break;case r.ColumnTypes.URL:n.Oto();break;case r.ColumnTypes.Date:n.NZe(4,r.ColumnTypes.Date.toLowerCase());break;case r.ColumnTypes.CreatedTime:n.NZe(4,r.ColumnTypes.CreatedTime.toLowerCase());break;case r.ColumnTypes.ModifiedTime:n.NZe(4,r.ColumnTypes.ModifiedTime.toLowerCase());break;case r.ColumnTypes.Barcode:n.kto();break;case r.ColumnTypes.Attachment:n.Zto();break;case r.ColumnTypes.Checkbox:n.Eto();break;case r.ColumnTypes.Select:n.Uto()}},n.prototype.IZe=function(t,n){var i=this;n=n?"-"+n:"",i.jUe.dataType="number",i.GUe([{typeId:"number-formatting"+n,title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(n){var e=new s.bZe({type:t,formatter:i.Ue(),onChange:function(t){i.uno({mask:{pattern:"[-]{0,1}0{0,}[.]{0,1}0{0,}"},formatter:t})}});e.create().appendTo(n),i.LUe.xT.push(e)}},{typeId:"number-default"+n,title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(t){i.OUe().appendTo(t)}}]).appendTo(i.LUe)},n.prototype.ZUe=function(){var t,n,i=this,e=i.xT[0];e.resetDisable(),t={formattingSelect:m.keyword_null},n=i.BUe(t,"value"),i.GUe([{typeId:"lookup",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(o){var r=new I.RZe({getLookup:function(t){return i.LEt.getLookup(t)},onChange:function(o){t.formattingSelect&&(e.setValue(o),i.jUe.value=o,n())}});r.create(i.jUe.value||i.mUe.value).appendTo(o),i.LUe.xT.push(r)}},{typeId:"lookup-formatting",title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(e){t.formattingSelect=new N.MZe({formatter:i.Ue(),onChange:function(t){i.uno({formatter:t})}}),t.formattingSelect.create().appendTo(e),n(),i.LUe.xT.push(t.formattingSelect)}}]).appendTo(i.LUe)},n.prototype.BUe=function(t,n){var i=this,e=i.LUe.xT,o=e.length,r=function(t){t===e[o].isDisable(1)&&e[o].resetDisable(1)},u=function(){var e=E(E({},i.mUe),i.jUe),o=e[n]&&i.LEt.getSampleValue(e),u=t.formattingSelect&&t.formattingSelect.createFormatting(o);r(u)};return u},n.prototype.kUe=function(){var t,n,i=this;i.jUe.dataType="formula",t={formattingSelect:m.keyword_null},n=i.BUe(t,"formula"),i.GUe([{typeId:"formula",title:(0,o.getSR)().defineColumnFormula,onInitPanel:function(e){var r=new D.vZe({validate:{validating:function(t){return!(0,b.isNullOrEmpty)(t)&&"="!==t||{success:!1,errorMessage:(0,o.getSR)().defineColumnRequired}}},getColumnFields:function(){return i.LEt.getColumnFields()},onChange:function(e){t.formattingSelect&&(i.jUe.formula=e,n())}});r.create().appendTo(e),r.setValue(i.jUe.formula||i.mUe.formula),i.LUe.xT.push(r)}},{typeId:"formula-formatting",title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(e){t.formattingSelect=new N.MZe({formatter:i.Ue(),onChange:function(t){i.uno({formatter:t})}}),t.formattingSelect.create().appendTo(e),n(),i.LUe.xT.push(t.formattingSelect)}}]).appendTo(i.LUe)},n.prototype.Oto=function(){var t,n,i,e=this;e.jUe.dataType="string",(t=e.Lto())&&"hyperlink"===t.type&&(n=t.linkColor,i=t.visitedLinkColor),e.GUe([{typeId:"url",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(o){var r=new z.Gto({linkColor:n,visitedLinkColor:i,onChange:function(n){e.uno({cellType:{type:"hyperlink",linkColor:n.linkColor,visitedLinkColor:n.visitedLinkColor,target:null==t?void 0:t.target}})}});r.create().appendTo(o),e.LUe.xT.push(r)}},{typeId:"url-default",title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(t){e.OUe().appendTo(t)}}]).appendTo(e.LUe)},n.prototype.EUe=function(){this.RUe("phone","1 \\(0{3}\\) 0{3}-0{4}")},n.prototype.UUe=function(){this.RUe("email","[a0._\\-]{1,}@[a0._\\-]{1,}.(com|cn|gov|edu)")},n.prototype.RUe=function(t,n){var i,e=this;e.jUe.dataType="string",i=e.QUe(),e.GUe([{typeId:t,title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(t){var o,r=new C.JZe({pattern:null!==(o=i.pattern)&&void 0!==o?o:n,placeholder:i.placeholder,excludeLiteral:i.excludeLiteral,excludePlaceholder:i.excludePlaceholder,onChange:function(t){e.uno({mask:t})}});r.create().appendTo(t),e.LUe.xT.push(r)}},{typeId:t+"-default",title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(t){e.OUe().appendTo(t)}}]).appendTo(e.LUe)},n.prototype.QUe=function(){var t=this;return t.jUe&&t.jUe.style&&t.jUe.style.mask?t.jUe.style.mask:t.mUe&&t.mUe.style&&t.mUe.style.mask?t.mUe.style.mask:{}},n.prototype.NZe=function(t,n){var i=this;i.GUe(i.PUe(t,n)).appendTo(i.LUe)},n.prototype.PUe=function(t,n){var i,u,c=this,a=n?"-"+n:"";return c.jUe.dataType="date",n!==r.ColumnTypes.CreatedTime.toLowerCase()&&n!==r.ColumnTypes.ModifiedTime.toLowerCase()||(c.jUe.readonly=!0,c.jUe.trigger={formula:"=NOW()",when:n===r.ColumnTypes.CreatedTime.toLowerCase()?"onNew":"onNewAndUpdate"}),n===r.ColumnTypes.CreatedTime.toLowerCase()&&(c.jUe.defaultValue="=NOW()"),i=[],n===r.ColumnTypes.Date.toLowerCase()?(u=c.SUe(),i.push({typeId:"date-time-piker"+a,title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(n){var i=new f.cZe({type:t,calendarPage:null==u?void 0:u.calendarPage,showTime:null==u?void 0:u.showTime,showDateRange:null==u?void 0:u.showDateRange,startDay:null==u?void 0:u.startDay,showBuiltInDateRange:null==u?void 0:u.showBuiltInDateRange,onChange:function(t){c.uno({cellButtons:[{imageType:e.ButtonImageType[e.ButtonImageType.dropdown],command:"openDateTimePicker",useButtonStyle:!1,visibility:e.ButtonVisibility[e.ButtonVisibility.always],buttonBackColor:"transparent"}],dropDowns:[{type:e.DropDownType[e.DropDownType.dateTimePicker],option:{startDay:t.startDay,calendarPage:t.calendarPage,showTime:t.showTime,showDateRange:null==u?void 0:u.showDateRange,showBuiltInDateRange:null==u?void 0:u.showBuiltInDateRange}}]})}});i.create().appendTo(n),c.LUe.xT.push(i)}})):n===r.ColumnTypes.ModifiedTime.toLowerCase()&&i.push({typeId:"modified-fields"+a,title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(t){var n=new d.KZe({fields:c.Neo(),getTriggerFields:function(){return c.LEt.getTriggerFields()},onChange:function(t){c.jUe.trigger.fields=t.fields}});n.create().appendTo(t),c.LUe.xT.push(n)}}),i.push({typeId:"date-formatting"+a,title:(0,o.getSR)().defineColumnFormatting,onInitPanel:function(t){var n=new l.Wze({formatter:c.Ue(),onChange:function(t){c.uno({formatter:t.formatter})}});n.create().appendTo(t),c.LUe.xT.push(n)}}),i},n.prototype.t=function(){var t=this,n=t.Ue(),i,e=t.jUe.value||t.mUe.value;return i=n?(0,y.parseBarCodeOptions)(t.LEt.getSheet(),n):(0,y.getDefaultBarcodeOptions)(e)},n.prototype.Sto=function(t){var n=this;t.value=(0,y.getFieldRef)(n.jUe.value||n.mUe.value),n.uno({formatter:(0,y.createBarcodeFormula)(n.LEt.getSheet(),t)})},n.prototype.kto=function(){var t=this,n=t.t(),i={container:m.keyword_null};t.Ue()||t.Sto(n),t.GUe([{typeId:"barcode-base",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(e){var o=new w.Ieo({option:n,onChange:function(n,e){t.Sto(n),e&&i.container.reset()}});o.create().appendTo(e),t.LUe.xT.push(o)}},{typeId:"barcode-options",title:(0,o.getSR)().defineColumnOthers,onInitPanel:function(e){var o=i.container=new x.nto({panel:e,option:n,onChange:function(n){t.Sto(n)}});o.create(),t.LUe.xT.push(o)}},{typeId:"barcode-default",title:(0,o.getSR)().defineColumnDefaultValue,onInitPanel:function(n){t.OUe().appendTo(n)}}]).appendTo(t.LUe)},n.prototype.Zto=function(){var t=this,n={type:"fileUpload"},i=t.Lto();t.GUe([{typeId:"attachment",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(o){var r=new h.YQe({fileType:null==i?void 0:i.accept,maxSize:null==i?void 0:i.maxSize,preview:null==i?void 0:i.isPreviewEnabled,download:null==i?void 0:i.isDownloadEnabled,clear:null==i?void 0:i.isClearEnabled,onChange:function(i){n.accept=i.fileType,n.maxSize=i.maxSize,n.isPreviewEnabled=!!i.preview,n.isDownloadEnabled=!!i.download,n.isClearEnabled=!!i.clear,t.uno({hAlign:e.HorizontalAlign[e.HorizontalAlign.center],vAlign:e.VerticalAlign[e.VerticalAlign.center],cellType:n})}});r.create().appendTo(o),t.LUe.xT.push(r)}},{typeId:"attachment-margin",title:(0,o.getSR)().columnTypeAttachmentMarginGroup,onInitPanel:function(e){var o=new v.zQe({marginLeft:null==i?void 0:i.marginLeft,marginRight:null==i?void 0:i.marginRight,marginTop:null==i?void 0:i.marginTop,marginBottom:null==i?void 0:i.marginBottom,onChange:function(t){n.marginLeft=t.marginLeft,n.marginRight=t.marginRight,n.marginTop=t.marginTop,n.marginBottom=t.marginBottom}});o.create().appendTo(e),t.LUe.xT.push(o)}}]).appendTo(t.LUe)},n.prototype.Eto=function(){var t,n=this,i={type:"checkbox"};n.jUe.dataType="boolean",t=n.Lto(),n.GUe([{typeId:"checkbox",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(e){var o=new g.Mto({caption:null==t?void 0:t.caption,boxSize:null==t?void 0:t.boxSize,autoBoxSize:"auto"===(null==t?void 0:t.boxSize),onChange:function(t){i.caption=t.caption,i.boxSize=t.boxSize,t.autoBoxSize&&(i.boxSize="auto"),n.uno({cellType:i})}});o.create().appendTo(e),n.LUe.xT.push(o)}},{typeId:"checkbox-text",title:(0,o.getSR)().columnTypeCheckboxTextGroup,onInitPanel:function(e){var o=new M.sto({isThreeState:null==t?void 0:t.isThreeState,checkboxTrue:null==t?void 0:t.textTrue,checkboxFalse:null==t?void 0:t.textFalse,checkboxIndeterminate:null==t?void 0:t.textIndeterminate,checkboxAlign:t?M.CheckBoxTextAlign[t.textAlign]:m.keyword_null,onChange:function(t){i.isThreeState=t.isThreeState,i.textTrue=t.checkboxTrue,i.textFalse=t.checkboxFalse,i.textIndeterminate=t.checkboxIndeterminate,i.textAlign=M.CheckBoxTextAlign[t.checkboxAlign]}});o.create().appendTo(e),n.LUe.xT.push(o)}}]).appendTo(n.LUe)},n.prototype.Uto=function(){var t=this,n={type:"combobox"},i=t.Lto();t.GUe([{typeId:"combobox",title:(0,o.getSR)().defineColumnConfiguration,onInitPanel:function(e){var o=new j.wto({items:null==i?void 0:i.items,onChange:function(i){n.items=i.items,t.uno({cellType:n})}});o.create().appendTo(e),t.LUe.xT.push(o)}},{typeId:"combobox-text",title:(0,o.getSR)().columnTypeCheckboxTextGroup,onInitPanel:function(e){var o=new T.vto({editorValueType:i?A.EditorValueType[i.editorValueType]:m.keyword_null,itemHeight:null==i?void 0:i.itemHeight,editable:null==i?void 0:i.editable,onChange:function(t){n.editorValueType=A.EditorValueType[t.editorValueType],n.itemHeight=t.itemHeight,n.editable=t.editable}});o.create().appendTo(e),t.LUe.xT.push(o)}}]).appendTo(t.LUe)},n.prototype.GUe=function(t){var n=new a.YUe({items:t});return this.LUe.xT.push(n),n.create()},n.prototype.OUe=function(){var t=this,n=t.wUe({inputId:"defaultValue",placeholder:(0,o.getSR)().defineColumnDefaultValue,onChange:function(n){if("string"!==t.jUe.dataType&&!(0,m.isFormula)(n)&&!(0,b.isNullOrEmpty)(n)){var i=Number(n);Number.isNaN(i)||(n=i)}t.jUe.defaultValue=n}},t.mUe.defaultValue),i=n.input,e=n.elem;return t.LUe.xT.push(i),e},n.prototype.AUe=function(){var t=this,n=t.LUe=(0,e.GC$)(S("div"));return n.xT=[],n.addClass("gc-defined-column-type-config-container"),n},n.prototype.Aoe=function(){var t=this,n=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)if((e=i[n]).validate&&!e.validate())return e.setFocus&&e.setFocus(),!1;return!0};return!!n(t.xT)&&!!n(t.LUe.xT)},n.prototype.zUe=function(){var t,n,i,u,c,a=this,s=(0,e.GC$)(S("div"));return s.addClass("gc-defined-column-footer-container"),(t=(0,e.GC$)(S("div"))).addClass("gc-defined-column-footer-container-buttons"),t.appendTo(s),(n=(0,e.GC$)(S("button"))).addClass("gc-defined-column-footer-container-button ui-button ui-state-default ui-corner-all btn btn-default"),(i=(0,e.GC$)(S("span"))).appendTo(n),i.text((0,o.getSR)().cancel),n.bind("click",(function(){a.close()})),a.xT.push(n),(u=(0,e.GC$)(S("button"))).addClass("gc-defined-column-footer-container-button gc-defined-column-footer-container-button-primary ui-button ui-state-default ui-corner-all btn btn-default"),u.appendTo(t),n.appendTo(t),(c=(0,e.GC$)(S("span"))).appendTo(u),c.text((0,o.getSR)().submit),u.bind("click",(function(){var t,n,i,e,u,c=E({},a.jUe);if(a.Aoe()){if(t=c.type===r.ColumnTypes.Formula){if(!(0,b.isNullOrEmpty)(c.value)&&(c.name=c.value,(0,m.isFormula)(c.value)))return;c.value=c.formula,(0,b.isNullOrEmpty)(c.name)&&delete c.dataType,delete c.formula}if((i=(n=Object.keys(a.mUe)).length>0)&&(a.mUe.value===c.value||(0,b.isNullOrEmpty)(c.value))||(e=a.LEt.getColumnBy(c.value))&&!1===e.visible&&(a.mUe=E({},e),a.mUe.visible=!0,i=(n=Object.keys(a.mUe)).length>0),i){if(t&&(0,b.isNullOrEmpty)(c.value)&&(c.value=a.mUe.formula),c.value=c.value||a.mUe.value,c.type=c.type||a.mUe.type,c.caption=c.caption||a.mUe.caption,u=E({},a.mUe),(0,b.isNullOrEmpty)(u.formula)||(u.value=u.formula,delete u.formula),t&&(0,b.isNullOrEmpty)(c.name)&&"formula"===c.dataType&&!(0,b.isNullOrEmpty)(u.name)&&"formula"===u.dataType)return;(0,o.copyOriginalColumnPropertiesToCurrentColumn)(c,u,n),a.LEt.onSaving({cmd:"ModifyColumn",originalColumn:u,column:c})}else c.value&&a.LEt.onSaving({cmd:"DefineColumn",column:c})}})),a.xT.push(u),n.bind("mouseover",(function(){u.addClass("ui-state-hover")})).bind("mouseout",(function(){u.removeClass("ui-state-hover")})),u.bind("mouseover",(function(){u.addClass("ui-state-hover")})).bind("mouseout",(function(){u.removeClass("ui-state-hover")})),s},n.prototype._hidden=function(){var t,n;this.Wc.css(["visibility","display"],["hidden","block"])},n.prototype.$c=function(n){var i,e;this.Wc.css(["visibility"],["visible"]),t.prototype.$c.call(this,n)},n.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&(e.unbind("click"),e.unbind("mouseover"),e.unbind("mouseout"));return[]},n.prototype.L0=function(){var t=this;t.xT=t.YZe(t.xT),t.LUe.xT=t.YZe(t.LUe.xT),t.LUe.empty(),t.LUe=m.keyword_null,(0,e.GC$)(m.DOCUMENT).unbind(p)},n.prototype.close=function(){var n=this;n._hidden(),n.L0(),t.prototype.close.call(this),n.LEt.onClosed()},n.prototype.rQ=function(t,n){var i=this,e=i.Wc;i.LF(),e.css(["left","top"],[t,n]),e.css("max-height",Math.min(window.innerHeight,window.innerHeight-n)+"px"),i.LEt.onOpening(),i.$c(),i.if(),setTimeout((function(){i.Wc.focus(),i.xT[0].setFocus()})),i.LEt.onOpened()},n}(e.zc),n.Uze=O},2611:function(t,n,i){var e,o,r,u,c,a,s,l,f,d=this&&this.mJr||function(){return d=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},d.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.Mto=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(6018),c=i(6406),a=i(591),s=e.mt,l=s.En,f=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Qze=(0,e.GC$)(l("div"));return n.addClass("gc-defined-column-column-type-checkbox-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.Qze,i=t.LEt;return t._caption=new c.mZe({inputId:"placeholder",label:{text:(0,o.getSR)().columnTypeCheckboxCaption},placeholder:"",onChange:function(n){t.Ito()}}),t._caption.create().appendTo(n),t._caption.setValue(i.caption),t._boxSize=new u.AZe({inputId:"checkbox-size-limit",minValue:0,label:{text:(0,o.getSR)().columnTypeCheckboxBoxSize},onChange:function(){t.Ito()}}),t._boxSize.create().appendTo(n),t._boxSize.setValue(i.boxSize||12),t.bto=new r.Rze({label:{text:(0,o.getSR)().columnTypeCheckboxAuto},onChange:function(n){n?t._boxSize.isDisable()||t._boxSize.resetDisable():t._boxSize.isDisable()&&t._boxSize.resetDisable(),t.Ito()}}),t.bto.create().appendTo(n),t.bto.setValue(i.autoBoxSize),n},t.prototype.Ito=function(){var t,n,i,e=this;this.LEt.onChange({caption:null===(t=e._caption)||void 0===t?void 0:t.value,boxSize:null===(n=e._boxSize)||void 0===n?void 0:n.value,autoBoxSize:null===(i=e.bto)||void 0===i?void 0:i.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=d(d({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Qze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Qze=a.keyword_null},t.prototype.L0=function(){var t=this;t._caption&&t._caption.dispose(),t._caption=a.keyword_null,t._boxSize&&t._boxSize.dispose(),t._boxSize=a.keyword_null,t.bto&&t.bto.dispose(),t.bto=a.keyword_null},t}(),n.Mto=f},2648:function(n){n.exports=t.Spread.Sheets.FormulaTextBox},2778:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.ceo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"labelWithStartAndStopCharacter"),t.cto(n,"checkDigit"),t.ato(n,"nwRatio",[{text:"3",value:"3"},{text:"2",value:"2"}]),t.cto(n,"fullASCII"),t.oeo(n),n},n}(o.Meo),n.ceo=c},3180:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.pUe=void 0,e=i(1376),o=i(6406),r=i(6114),u=i(7373),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){this.itemContainers=[];var n=this;n.LEt=t,n.jrt=n.ano=c.keyword_null}return t.prototype.WUe=function(t){var n=this;return{inputId:"type-select",type:"text",placeholder:(0,r.getSR)().defineColumnType,isReadOnly:!!t,label:t?{iconClass:t,suffixIconClass:"gc-defined-column-type-icon-chevrondown"}:{iconClass:"gc-defined-column-type-icon-magnifyingglass",suffixIconClass:"gc-defined-column-type-icon-x",onSuffixClick:function(t){(n.jrt||n.ano)&&(0,u.isNullOrEmpty)(n.XKt)?(n.jrt=n.jrt||n.ano,n.VUe(n.jrt,t)):n.FUe.setValue()}},onChange:t?c.keyword_null:function(t){n.JUe(t)},onClick:t?function(t){n.FUe.setOptions(n.WUe()),n.FUe.setValue(),n.ano=n.jrt,n.jrt=c.keyword_null,n.LEt.onChange({name:c.keyword_null},t)}:c.keyword_null}},t.prototype.create=function(){var t,n=this,i=n.LEt.items,r=(0,e.GC$)(s("div"));return r.addClass("gc-defined-column-type-select-container"),r.attr("role","combobox"),r.attr("aria-expanded","true"),r.attr("aria-autocomplete","list"),r.attr("aria-controls","gc-defined-column-types-container"),n.FUe=new o.mZe(n.WUe()),n.FUe.create().appendTo(r),(0,c.isNullOrUndefined)(n.jrt)&&i&&i.length>0&&n.XUe().appendTo(r),(t=(0,e.GC$)(s("div"))).addClass("gc-defined-column-field-label-validation-container"),t.appendTo(r),r},t.prototype.XUe=function(){var t=this,n=t.LEt.items,i=t._Ue=(0,e.GC$)(s("div"));return i.addClass("gc-defined-column-types-container"),i.attr("id","gc-defined-column-types-container"),i.attr("role","listbox"),t.tyn(n),i},t.prototype.tyn=function(t){var n,i,o,r,u=this,a=u._Ue;for(null==a||a.parent().attr("aria-expanded",t.length>0?"true":"false"),n=function(t){var n,i,o=(0,e.GC$)(s("div"));u.itemContainers.push(o),o.addClass("gc-defined-column-field-type-container"),o.attr("role","option"),(0,c.isFunction)(u.LEt.onChange)&&o.bind("click",(function(n){u.jrt=t,u.VUe(t,n)})),(n=(0,e.GC$)(s("div"))).addClass("gc-defined-column-field-type-icon "+t.iconClass),n.appendTo(o),(i=(0,e.GC$)(s("div"))).addClass("gc-defined-column-field-type-text"),i.text(t.text||t.name),i.appendTo(o),o.appendTo(a)},i=0,o=t;i<o.length;i++)n(r=o[i])},t.prototype.setValue=function(t){var n,i=this;if(!(0,c.isNullOrUndefined)(t)&&(n=i.LEt.items.find((function(n){return n.name===t}))))return i.jrt=n,void i.VUe(n);i.FUe.setValue()},t.prototype.VUe=function(t,n){var i=this;i.isValid()||i.resetValid(i.validate()),i.FUe.setOptions(i.WUe(t.iconClass)),i.FUe.setValue(t.text||t.name),i.d5(),i.LEt.onChange(t,n)},t.prototype.d5=function(){var t,n,i,e=this;if(e._Ue.empty(),(0,c.isFunction)(e.LEt.onChange))for(t=0,n=e.itemContainers;t<n.length;t++)(i=n[t]).unbind("click")},t.prototype.JUe=function(t){var n,i=this,e=i.LEt.items;i.XKt=t,i.d5(),(0,c.isNullOrUndefined)(t)||""===t?i.tyn(e):(t=t.toLowerCase(),n=e.filter((function(n){return(n.text||n.name).toLowerCase().indexOf(t)>-1})),i.tyn(n))},t.prototype.validate=function(){var t=this;return(0,c.isNullOrUndefined)(t.jrt)?(t.resetValid(!1,{required:!1}),!1):(t.resetValid(!0),!0)},t.prototype.resetValid=function(t,n){var i,o,u,c=this,a=null===(i=c._Ue)||void 0===i?void 0:i.parent();a&&(o=a.find(".gc-defined-column-field-label-validation-container"),u=(0,e.GC$)(o[o.length-1]),t?(a.removeClass("gc-define-column-invalid"),a.attr("aria-invalid","false"),u.hide(),u.empty()):a.hasClass("gc-define-column-invalid")||(a.addClass("gc-define-column-invalid"),a.attr("aria-invalid","true"),!1===n.required&&u.html((0,r.getSR)().defineColumnRequired),u.show()))},t.prototype.isValid=function(){var t,n=this,i=null===(t=n._Ue)||void 0===t?void 0:t.parent();return i&&!i.hasClass("gc-define-column-invalid")},t.prototype.setFocus=function(){this.FUe.setFocus()},t.prototype.dispose=function(){var t=this;t.FUe.dispose(),t.FUe=c.keyword_null,t.d5(),t._Ue=c.keyword_null},t}(),n.pUe=l},3182:function(t,n,i){var e,o,r=this&&this.vJr||(u=function(t,n){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},u(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}u(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),u;function c(t){return void 0===t}Object.defineProperty(n,"__esModule",{value:!0}),n.OverWriteWorkSheet=void 0,o=function(t){function n(n,i,e){var o=t.call(this,n)||this;return o.NMi=i,o.qni=e,o}return r(n,t),n.prototype.Mtt=function(n){this.Ldi(n)?this.qni.undo(n):t.prototype.Mtt.call(this,n)},n.prototype.vCn=function(){t.prototype.vCn.call(this),this.qni.startTransaction()},n.prototype.FCn=function(){var n=t.prototype.FCn.call(this),i=this.qni.endTransaction();return(null==i?void 0:i.length)>0?i:n},n.prototype.Mno=function(){return!c(this.Ino)},n.prototype.mno=function(){this.Ino={}},n.prototype.Nno=function(){this.Dno(),this.Ino=void 0},n.prototype.jno=function(t){c(this.Ino[t])&&(this.Ino[t]=!0)},n.prototype.Dno=function(){if(this.Ino)for(var t in this.Ino)this.Ino[t]&&this.NMi.iM(void 0,t)},n.prototype.resumePaint=function(){t.prototype.resumePaint.call(this),this.My<=0&&this.NMi.refreshDataProvider()},n.prototype.repaint=function(){t.prototype.repaint.call(this),this.My<=0&&this.NMi.refreshDataProvider()},n.prototype.Ldi=function(t){var n=null==t?void 0:t[0];return!!(null==n?void 0:n.sourceType)},n}((e=i(1376)).Worksheet),n.OverWriteWorkSheet=o},3382:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.seo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"checkDigit"),t.cto(n,"fullASCII"),t.oeo(n),n},n}(o.Meo),n.seo=c},3632:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.zQe=void 0,e=i(1376),o=i(6114),r=i(591),u=i(6018),c=e.mt,a=c.En,s=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.ZQe=(0,e.GC$)(a("div"));return n.addClass("gc-defined-column-attachment-margins-container"),t.ZX()},t.prototype.ZX=function(){var t,n,i,e,r=this,c=r.ZQe,a=r.LEt;return r._marginLeft=new u.AZe({inputId:"attachment-margin-left",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentLeft},onChange:function(){r.QQe()}}),r._marginLeft.create().appendTo(c),r._marginLeft.setValue(null!==(t=a.marginLeft)&&void 0!==t?t:2),r._marginRight=new u.AZe({inputId:"attachment-margin-right",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentRight},onChange:function(){r.QQe()}}),r._marginRight.create().appendTo(c),r._marginRight.setValue(null!==(n=a.marginRight)&&void 0!==n?n:2),r._marginTop=new u.AZe({inputId:"attachment-margin-top",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentTop},onChange:function(){r.QQe()}}),r._marginTop.create().appendTo(c),r._marginTop.setValue(null!==(i=a.marginTop)&&void 0!==i?i:2),r._marginBottom=new u.AZe({inputId:"attachment-margin-bottom",minValue:0,label:{text:(0,o.getSR)().columnTypeAttachmentBottom},onChange:function(){r.QQe()}}),r._marginBottom.create().appendTo(c),r._marginBottom.setValue(null!==(e=a.marginBottom)&&void 0!==e?e:2),c},t.prototype.QQe=function(){var t,n,i,e,o=this;this.LEt.onChange({marginLeft:null===(t=o._marginLeft)||void 0===t?void 0:t.value,marginRight:null===(n=o._marginRight)||void 0===n?void 0:n.value,marginTop:null===(i=o._marginTop)||void 0===i?void 0:i.value,marginBottom:null===(e=o._marginBottom)||void 0===e?void 0:e.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=l(l({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.ZQe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.ZQe=r.keyword_null},t.prototype.L0=function(){var t=this;t._marginLeft&&t._marginLeft.dispose(),t._marginLeft=r.keyword_null,t._marginRight&&t._marginRight.dispose(),t._marginRight=r.keyword_null,t._marginTop&&t._marginTop.dispose(),t._marginTop=r.keyword_null,t._marginBottom&&t._marginBottom.dispose(),t._marginBottom=r.keyword_null},t}(),n.zQe=s},3789:function(n){n.exports=t.Spread.Sheets.CalcEngine},3827:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.feo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.rto(n,"addOn"),t.ato(n,"addOnLabelPosition",[{text:"top",value:"top"},{text:"bottom",value:"bottom"}]),t.oeo(n),n},n}(o.Meo),n.feo=c},3889:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y=this&&this.vJr||(x=function(t,n){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},x(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}x(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),x;function A(t,n){var i,e,o=n.getDataView();o&&(i=n.Mf.rowFilter(),(e=n.TLt(o,t,t))&&(n.EPt(),i.UIi()),n.Mf.rowFilter().VIi(t),o.hRe(t),e&&(i.QIi(),n.jPt()),n.restoreView(n.getDataView()))}Object.defineProperty(n,"__esModule",{value:!0}),n.TableSheetRemoveColumnInfoAction=n.TableSheetResertViewAction=n.ViewGroupOptionsAction=n.ViewMoveColumnAction=n.ViewAddColumnInfoAction=n.ViewRemoveColumnInfoAction=n.ViewUpdateColumnInfoAction=n.DefineColumnToTableAction=n.RemoveColumnToTableAction=n.ModifyColumnToTableAction=n.ExpandGroupItemAction=n.ExpandGroupAction=n.RemoveRowAction=n.PinRowAction=n.ResetRowAction=n.TableSheetActionBase=void 0,e=i(1376),o=i(7234),r=o.Common.lt.ht,u=e.Commands.ActionBase,c=function(){},a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),Object.defineProperty(n.prototype,"sheet",{get:function(){return this.Mf},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sheetTab",{get:function(){return this.sheet.NMi},enumerable:!1,configurable:!0}),n.prototype.execute=function(){var t,n,i=this,o=!1;if(i.canExecute()){n=(t=i.sheet).parent.i4(),e.Commands.II(n),i.X5(t,!0);try{"boolean"!=typeof(o=this.kdi())&&(o=!0)}finally{i.q5(t,!0),e.Commands.xI(n,i.tT)}}return o},n.prototype.undo=function(){var t,n=this,i=n.sheet,o=!1;if(n.canUndo()){n.X5(i,!0);try{t=i.parent.i4(),n.mze(),e.Commands.NI(t,n.tT),this.rbi(),o=!0}finally{n.q5(i,!0)}}return o},n.prototype.mze=function(){},n.prototype.rbi=function(){},n}(u),n.TableSheetActionBase=a,s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this.tT,n=t.tableSheet,i=t.index;n.Mf.ki(e.Events.RowOperation,{sheet:n,sheetName:n.name(),actionType:2,row:i}),n.resetRow(i)},n}(a),n.ResetRowAction=s,l=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this.tT,n=t.tableSheet,i=t.index;n.togglePinnedRows([i])},n}(a),n.PinRowAction=l,f=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this.tT,n=t.tableSheet,i=t.index;n.Mf.ki(e.Events.RowOperation,{sheet:n,sheetName:n.name(),actionType:0,row:i}),n.removeRow(i).catch(c)},n}(a),n.RemoveRowAction=f,d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.field,o=n.expand;i.expandGroup(e,o)},n}(a),n.ExpandGroupAction=d,h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.level,o=n.index,r=n.expand;i.expandGroupItem(e,o,r)},n}(a),n.ExpandGroupItemAction=h,v=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.column,o=n.originalColumn,r=n.col;return i.JEe(r,e,o)},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ModifyColumnToTableAction=v,g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.column,o=n.col;return i.iGe(o,e)},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.RemoveColumnToTableAction=g,M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.column,o=n.col;return i.qFe(o,e)},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.DefineColumnToTableAction=M,I=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.columnInfos,o=i.getDataView(),r=o.getColumnInfos(),u=i.Teo(!0)&&e.some((function(t){var n,i=!1!==t.visible,e=r.find((function(n){return n.value===t.value}));return!(!e||i===(n=!1!==e.visible))}));u&&i.qni.startAddComboChanges(),e.forEach((function(t){o.updateColumn(t)})),i.refreshBindColumns(),u&&(i.Seo(),i.qni.endAddComboChanges())},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ViewUpdateColumnInfoAction=I,N=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.value,o=i.getDataView();i.qni.startAddComboChanges(),o.removeColumn(e),i.refreshBindColumns(),i.Seo(),i.qni.endAddComboChanges()},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ViewRemoveColumnInfoAction=N,D=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.columnInfo,o=i.getDataView();o.addColumn(e),i.refreshBindColumns()},n.prototype.rbi=function(){var t;this.sheetTab.refreshBindColumns()},n}(a),n.ViewAddColumnInfoAction=D,b=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.fromColumnOptionIndex,o=n.toColumnOptionIndex,u=n.fromColumnIndex,c=n.toColumnIndex,a=n.count,s=!0;r(e)||r(o)||(s=!i.DPt(e,o)),!s||r(u)||r(c)||r(a)||i.OPt(u,c,a)},n}(a),n.ViewMoveColumnAction=b,m=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.groupOptions;(null==e?void 0:e.length)>0?i.groupBy(e):i.removeGroupBy()},n}(a),n.ViewGroupOptionsAction=m,C=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.newConfig,o=e.columnInfoOptions,r=e.includeDefaultColumns,u=e.options;i.resetNewView(o,r,u)},n}(a),n.TableSheetResertViewAction=C,w=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.kdi=function(){var t=this,n=t.tT,i=t.sheetTab,e=n.index;A(e,i)},n.prototype.rbi=function(){var t=this.sheetTab;t.restoreView(t.getDataView())},n}(a),n.TableSheetRemoveColumnInfoAction=w},4036:function(n){n.exports=t.Spread.Sheets.Filter},4133:function(n){n.exports=t.Spread.Sheets.DataValidation},4475:function(n){n.exports=t.Spread.Sheets.AutoMerge},4488:function(t,n,i){var e,o,r;Object.defineProperty(n,"__esModule",{value:!0}),o="CONVERTARRAY",(e=i(5035)).Functions.findGlobalFunction(o)||((r=new e.Functions.Function(o,1,255)).evaluate=function(){var t=[].slice.apply(arguments);return new e.CalcArray([t])},e.Functions.defineGlobalCustomFunction(o,r))},4900:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};function f(){var t=Date.now().toString(),n=Math.floor(1e3*Math.random()).toString().padStart(3,"0");return t+n}Object.defineProperty(n,"__esModule",{value:!0}),n.Kze=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(591),c=e.mt,a=c.En,s=function(){function t(t){var n=this;n.LEt=t,n.KUe=u.keyword_null,n.$Ue="select-input-"+t.inputId||0}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.KUe)||void 0===t?void 0:t.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var t=this;return this.EE().findIndex((function(n){return n.value===t.value}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.KUe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.EE=function(){var t,n=this.LEt,i=n.stickItem,e=n.items;return i?[i].concat(e):e},t.prototype.create=function(){var t,n,i,o,c,s,l,f=this,d=f.LEt,h=f.yZe=(0,e.GC$)(a("div"));return h.addClass("gc-defined-column-field-item-container gc-defined-column-select-box-container"),d.label&&d.label.text&&((n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-field-label-container"),n.appendTo(h),(i=(0,e.GC$)(a("label"))).addClass("gc-defined-column-field-label-container-label-text"),i.attr("for","gc-defined-column-input-"+f.$Ue),i.appendTo(n),i.text(d.label.text)),(o=(0,e.GC$)(a("div"))).addClass("gc-defined-column-select-container"),f.isDisable()&&o.addClass("gc-defined-column-disabled"),f.isVisible()||h.addClass("gc-defined-column-hide"),o.appendTo(h),(c=f.peo=(0,u.createDCElement)("sjs-select")).attr("disabled",f.isDisable()),c.attr("id","gc-defined-column-input-"+d.inputId),c.attr("ariaLabel",null===(t=d.label)||void 0===t?void 0:t.text),(0,u.isNullOrUndefined)(d.defaultValue)||c.attr("value",d.defaultValue),f.LEt.enableSearch&&c.attr("editable",!0),c.attr("no-result-tip",(0,r.getSR)().defineColumnNoResults),(s=f.EE())&&s.length>0&&c.attr("items",JSON.stringify(f.EE().map((function(t){return{value:t.value,label:t.text||t.value}})))),c.bind("input",(function(t){var n,i=t.target.value;(0,u.isNullOrUndefined)(t.target.value)&&(i=u.keyword_null),n=f.EE().find((function(t){return((0,u.isNullOrUndefined)(t.value)?u.keyword_null:t.value)===i})),f.KUe=n,f.LEt.onChange(f.KUe),f.isValid()||f.resetValid(f.validate())})),c.appendTo(o),(l=(0,e.GC$)(a("div"))).addClass("gc-defined-column-field-label-validation-container"),l.appendTo(h),l.hide(),h},t.prototype.setValue=function(t,n){var i=this;i.setIndex(i.EE().findIndex((function(n){return n.value===t})),n)},t.prototype.setIndex=function(t,n){var i,e=this;if(!(0,u.isNullOrUndefined)(t)&&t>-1&&(i=e.EE()[t]))return e.KUe=i,void e.qUe(i,null==n||n);e.qUe(u.keyword_null)},t.prototype.setOptions=function(t){var n=this,i=n.LEt.items!==t.items;n.LEt=l(l({},n.LEt),t),i&&n.peo.setItems(n.EE().map((function(t){return{value:t.value,label:t.text||t.value}}))),n.setValue()},t.prototype.qUe=function(t,n){var i=this;t?i.peo.val(t.value):(i.KUe=u.keyword_null,i.peo.val(u.keyword_null)),n&&i.LEt.onChange(t)},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.peo.parent();t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),t.peo.bur(!n)},t.prototype.isVisible=function(){return!0!==this.LEt.hide},t.prototype.resetVisible=function(){var t=this,n=t.isVisible(),i=t.yZe;t.LEt.hide=n,n?i.addClass("gc-defined-column-hide"):i.removeClass("gc-defined-column-hide"),i.attr("aria-hidden",n?"true":"false")},t.prototype.validate=function(){var t,n=this,i=n.LEt.validate,e=!n.isDisable();if(i&&e){if(i.required&&(0,o.isNullOrEmpty)(n.value))return n.resetValid(!1,{required:!1}),!1;if(i.validating)if("boolean"==typeof(t=i.validating(n.value))){if(!t)return n.resetValid(!1),!1}else if(!t.success)return n.resetValid(!1,t),!1}return n.resetValid(!0),!0},t.prototype.resetValid=function(t,n){var i=this,o=i.peo,u=o.parent(),c=(0,e.GC$)(i.yZe.find(".gc-defined-column-field-label-validation-container")[0]);t?(u.removeClass("gc-define-column-invalid"),o.removeClass("gc-define-column-invalid"),o.attr("aria-invalid","false"),c.hide(),c.empty()):u.hasClass("gc-define-column-invalid")||(u.addClass("gc-define-column-invalid"),o.addClass("gc-define-column-invalid"),o.attr("aria-invalid","true"),!1===n.required?c.html((0,r.getSR)().defineColumnRequired):n.errorMessage&&c.html(n.errorMessage),n&&c.show())},t.prototype.isValid=function(){var t,n;return!this.peo.parent().hasClass("gc-define-column-invalid")},t.prototype.dispose=function(t){var n=this;n.peo.unbind("input"),n.peo=u.keyword_null,t&&n.yZe.remove(),n.yZe=u.keyword_null},t}(),n.Kze=s},5035:function(n){n.exports=t.Spread.CalcEngine},5065:function(n){n.exports=t.Spread.Sheets.Print},5168:function(t,n,i){var e,o,r,u,c,a,s,l,f,d=this&&this.mJr||function(){return d=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},d.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.JZe=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(7553),c=i(6406),a=null,s=e.mt,l=s.En,f=function(){function t(t){var n=this;n.LEt=t,n.y4={pattern:t.pattern,placeholder:t.placeholder,excludeLiteral:t.excludeLiteral,excludePlaceholder:t.excludePlaceholder}}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i,s,f,h=this,v=h.LEt,g=v.onChange,M=(0,e.GC$)(l("div"));return M.addClass("gc-defined-column-mask-container"),(t=h.XZe=new c.mZe({inputId:"pattern",label:{text:(0,r.getSR)().columnTypeMask.pattern},onChange:function(t){h.y4.pattern=(0,o.isNullOrEmpty)(t)?v.pattern:t,g&&g(d({},h.y4))}})).create().appendTo(M),v.pattern&&t.setValue(v.pattern),(n=h._Ze=new c.mZe({inputId:"placeholder",maxLength:1,label:{text:(0,r.getSR)().columnTypeMask.placeholder},onChange:function(t){h.y4.placeholder=(0,o.isNullOrEmpty)(t)?a:t,g&&g(d({},h.y4))}})).create().appendTo(M),v.placeholder&&n.setValue(v.placeholder),(i=(0,e.GC$)(l("div"))).addClass("gc-defined-column-mask-exclude-container"),i.appendTo(M),(s=h.Lse=new u.Rze({label:{text:(0,r.getSR)().columnTypeMask.excludeLiteral},onChange:function(t){h.y4.excludeLiteral=t,g&&g(d({},h.y4))}})).create().appendTo(i),v.excludeLiteral&&s.setValue(v.excludeLiteral),(f=h.Fse=new u.Rze({label:{text:(0,r.getSR)().columnTypeMask.excludePlaceholder},onChange:function(t){h.y4.excludePlaceholder=t,g&&g(d({},h.y4))}})).create().appendTo(i),v.excludePlaceholder&&f.setValue(v.excludePlaceholder),M},t.prototype.dispose=function(){var t=this;t.XZe.dispose(),t.XZe=a,t._Ze.dispose(),t._Ze=a,t.Lse.dispose(),t.Lse=a,t.Fse.dispose(),t.Fse=a},t}(),n.JZe=f},5203:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v;Object.defineProperty(n,"__esModule",{value:!0}),n.nto=void 0,e=i(8033),o=i(3827),r=i(5947),u=i(6153),c=i(2778),a=i(1633),s=i(3382),l=i(1090),f=i(6944),d=i(1649),h=i(6045),v=function(){function t(t){var n=this;n.LEt=t,n.xT=[]}return t.prototype.create=function(){var t;this.ZX()},t.prototype.ZX=function(){var t;this.ito()},t.prototype.oto=function(t){var n=this,i=n.LEt.option,e=n.LEt.panel,o=new t({option:i,onChange:function(t){n.Z_i(t)}});o.create().appendTo(e),n.xT.push(o)},t.prototype.ito=function(){var t=this,n,i;switch(t.LEt.option.barcodeType){case"QRCODE":t.oto(h.uto);break;case"EAN13":t.oto(o.feo);break;case"EAN8":t.oto(r.deo);break;case"CODABAR":t.oto(e.ueo);break;case"CODE39":t.oto(c.ceo);break;case"CODE93":t.oto(s.seo);break;case"CODE128":t.oto(u.aeo);break;case"GS1_128":t.oto(f.heo);break;case"CODE49":t.oto(a.reo);break;case"PDF417":t.oto(d.geo);break;case"DATAMATRIX":t.oto(l.leo)}},t.prototype.Z_i=function(t){var n,i=this.LEt.onChange;i&&i(t)},t.prototype.reset=function(){var t=this;t.d5(),t.ZX()},t.prototype.d5=function(){var t=this;t.LEt.panel.empty(),t.xT=t.YZe(t.xT)},t.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&e.unbind("click");return[]},t.prototype.dispose=function(){var t=this;t.xT=t.YZe(t.xT)},t}(),n.nto=v},5530:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I=this&&this.mJr||function(){return I=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},I.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.Wze=void 0,e=i(7234),o=i(1376),r=i(6114),u=i(7553),c=i(7324),a=i(1163),s=i(9266),l=i(4900),f=i(591),d=o.mt,h=d.En,v="3/14/2001 13:30:00",g=e.Common.CultureManager,M=function(){function t(t){var n;this.Hze=g.getCultureInfo(1041),this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Vze=(0,o.GC$)(h("div"));return n.addClass("gc-defined-column-date-formatting-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.LEt,i=t.Vze,e=(0,a.parseFormat)(n.formatter);return t.Fze=new c.Jze({label:{text:(0,r.getSR)().columnTypeDateType},items:[],onChange:function(){t.Xze()}}),t.Fze.create().appendTo(i),t.Fze.setIndex(e.index||0),t._ze=new l.Kze({inputId:"date-locale",items:(0,a.getListItems)(4),label:{text:(0,r.getSR)().columnTypeDateLocale},onChange:function(){t.$ze(),t.qze(),t.tZe()}}),t._ze.create().appendTo(i),e.locale?t._ze.setValue(e.locale):t._ze.setIndex(0),t.nZe=new l.Kze({inputId:"date-locale",hide:"ja-jp"!==e.locale,items:[{text:(0,r.getSR)().columnTypeCalendarType.western,value:"western"},{text:(0,r.getSR)().columnTypeCalendarType.JER,value:"JER"}],label:{text:(0,r.getSR)().columnTypeCalendar},onChange:function(){t.qze(),t.tZe()}}),t.nZe.create().appendTo(i),t.nZe.setValue(e.calendarType||"western"),t.iZe=new u.Rze({hide:"JER"!==e.calendarType,label:{text:(0,r.getSR)().columnTypeShowEraFirstYear},onChange:function(){t.tZe()}}),t.iZe.create().appendTo(i),t.iZe.setValue(1===e.numberSystem),t.eZe().appendTo(i),t.tZe(),i},t.prototype.tZe=function(){var t,n,i,e,o,u,c,s,l=null===(t=this._ze)||void 0===t?void 0:t.value,f=null===(n=this.nZe)||void 0===n?void 0:n.value,d=new Date(v),h=[],g=[],M=[];if(l&&f&&(M=(0,a.getPredefinedFormats)(l,a.formatCategories[4])),l===this.Hze.name().toLowerCase()&&"JER"===f)for(i=(0,r.getSR)().columnTypeNumberFormatting.japanEmperorReignDateFormat,e=0;e<i.length;e++)o=this.iZe&&this.iZe.value,1===e&&o?(h.push(this.Re(d,(0,r.getSR)().columnTypeNumberFormatting.japanEmperorReignFirstYearDateFormat[e])),g.push((0,r.getSR)().columnTypeNumberFormatting.japanEmperorReignFirstYearDateFormat[e])):(h.push(this.Re(d,i[e])),g.push(i[e]));else for(e=0;e<M.length;e++)u=this.Re(d,M[e]),h.push(u),g.push(M[e]);for(c=[],e=0;e<h.length;e++)c.push({text:h[e],value:g[e]});s=this.Fze.index,this.Fze.setOptions({items:c}),this.Fze.setIndex(Math.max(s,0))},t.prototype.Xze=function(){var t=this,n=t.oZe();t.LEt.onChange({formatter:n})},t.prototype.$ze=function(){var t,n,i,e,o,r=this,u=(null===(t=this._ze)||void 0===t?void 0:t.value)===this.Hze.name().toLowerCase();u?(null===(n=r.nZe)||void 0===n?void 0:n.isVisible())||null===(i=r.nZe)||void 0===i||i.resetVisible():(null===(e=r.nZe)||void 0===e?void 0:e.isVisible())&&(null===(o=r.nZe)||void 0===o||o.resetVisible())},t.prototype.qze=function(){var t,n,i,e,o,r,u,c,a=this,s=(null===(t=this._ze)||void 0===t?void 0:t.value)===this.Hze.name().toLowerCase(),l="JER"===(null===(n=this.nZe)||void 0===n?void 0:n.value);s?l?(null===(i=a.iZe)||void 0===i?void 0:i.isVisible())||null===(e=a.iZe)||void 0===e||e.resetVisible():(null===(o=a.iZe)||void 0===o?void 0:o.isVisible())&&(null===(r=a.iZe)||void 0===r||r.resetVisible()):(null===(u=a.iZe)||void 0===u?void 0:u.isVisible())&&(null===(c=a.iZe)||void 0===c||c.resetVisible())},t.prototype.oZe=function(){var t,n=this,i=this.Fze.value,e=new Date(v);return null===(t=n.uZe)||void 0===t||t.setText(n.Re(e,i)),i},t.prototype.eZe=function(){var t=this,n=t.uZe=new s.rZe;return n.create()},t.prototype.Re=function(t,n){var i;return new e.Formatter.GeneralFormatter(n).format(t)},t.prototype.setOptions=function(t){var n=this;n.LEt=I(I({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Vze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Vze=f.keyword_null},t.prototype.L0=function(){var t=this;t.Fze&&t.Fze.dispose(),t.Fze=f.keyword_null,t._ze&&t._ze.dispose(),t._ze=f.keyword_null,t.nZe&&t.nZe.dispose(),t.nZe=f.keyword_null,t.iZe&&t.iZe.dispose(),t.iZe=f.keyword_null,t.uZe.dispose(),t.uZe=f.keyword_null},t}(),n.Wze=M},5947:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.deo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.oeo(n),n},n}(o.Meo),n.deo=c},5981:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N=this&&this.mJr||function(){return N=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},N.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.bZe=void 0,e=i(7234),o=i(1376),r=i(6114),u=i(6018),c=i(7553),a=i(7324),s=i(1163),l=i(9266),f=i(4900),d=i(591),h=e.Formatter&&e.Formatter.GeneralFormatter,v=o.mt,g=v.En,M=v.St,I=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.fUe=(0,o.GC$)(g("div"));return n.addClass("gc-defined-column-number-formatting-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.LEt,i=t.fUe,e=(0,s.parseFormat)(n.formatter),o=n.type||e.category;return t.dUe=new u.AZe({inputId:"number-formatting-decimal-places",maxValue:16,label:{text:(0,r.getSR)().columnTypeNumberFormattingDecimalPlaces},onChange:function(){6!==o&&t.gUe.setOptions({items:t.MUe()}),t.Xze()}}),t.dUe.create().appendTo(i),6===o?(t.eZe().appendTo(i),t.dUe.setValue((0,d.isNullOrUndefined)(e.decimalPlaces)?2:e.decimalPlaces),i):(2===o?((0,d.isNullOrUndefined)(e.locale)&&n.formatter&&1===e.category&&(e.locale=(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0]),t.oUt=new f.Kze({inputId:"number-formatting-symbol",items:(0,s.getListItems)(2,[{text:(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0],value:(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0]}]),label:{text:(0,r.getSR)().columnTypeNumberFormattingSymbol},onChange:function(){t.gUe.setOptions({items:t.MUe()}),t.Xze()}}),t.oUt.create().appendTo(i)):(t.hUe=new c.Rze({label:{text:(0,r.getSR)().columnTypeNumberFormattingThousandSeparator},onChange:function(){t.gUe.setOptions({items:t.MUe()}),t.Xze()}}),t.hUe.create().appendTo(i)),t.gUe=new a.Jze({label:{text:(0,r.getSR)().columnTypeNumberFormattingNegativeNumbers},items:t.MUe(),onChange:function(){t.Xze()}}),t.gUe.create().appendTo(i),t.eZe().appendTo(i),t.gUe.setIndex(0),t.dUe.setValue((0,d.isNullOrUndefined)(e.decimalPlaces)?2:e.decimalPlaces),2===o?e.locale?t.oUt.setValue(e.locale):t.oUt.setIndex(1):t.hUe.setValue(e.useThousand||!1),t.gUe.setIndex((0,d.isNullOrUndefined)(e.index)?0:e.index),i)},t.prototype.Xze=function(){var t=this,n=t.oZe();t.LEt.onChange(n)},t.prototype.oZe=function(){var t,n,i=this;return t=6===i.LEt.type?i.IUe(i.dUe.value):2===i.LEt.type?i.bUe(i.gUe.value):i.NUe(i.gUe.index,i.dUe.value,i.hUe.value),n=i.Re("12345",t),i.uZe.setText(n),t},t.prototype.IUe=function(t){var n,i,e="";if(t>0){for(i=0;i<t;i++)e+="0";n="0."+e+"%"}else n="0%";return n},t.prototype.bUe=function(t){return t},t.prototype.NUe=function(t,n,i){var e,o,u=(0,r.getSR)().columnTypeNumberFormatting.numberCategoryFormats,c=u.length/2,a=u[t];if(i&&(a=u[t+c]),n>0){for(e="",o=0;o<n;o++)e+="0";a=a.replace(/0/g,"0."+e)}return a},t.prototype.MUe=function(){var t=this,n;return 2===t.LEt.type?t.vUe():t.DUe()},t.prototype.DUe=function(){var t,n,i,e,o,u,c,a,s,l,f,h="1234.10",v=this.dUe.value,g=this.hUe&&this.hUe.value;if(v>0){for(t="",n=0;n<v;n++)t=(n%10).toString()+t.substring(0);h=h.substring(0,h.indexOf(".")+1)+t}else h=h.substring(0,h.indexOf("."));for(g&&(i=h.indexOf("1"),h=h.substring(0,i+1)+","+h.substring(i+1)),e=[],o=(0,r.getSR)().columnTypeNumberFormatting.negativeNumbers,u=0,c=Object.keys(o);u<c.length;u++)s=h,-1!==(l=o[a=c[u]]).indexOf("-")&&(s="-"+s),-1!==l.indexOf(")")&&(s="("+s+")"),-1!==l.indexOf("\u25b3")&&(s="\u25b3"+s),-1!==l.indexOf("\u25b2")&&(s="\u25b2"+s),f={text:s,value:a,class:d.keyword_null},-1!==a.indexOf("red")&&(f.class="gc-defined-column-number-formatting-negative-item"),e.push(f);return e},t.prototype.vUe=function(){var t,n,i,o,u,c,a,l,f,h,v,g,M,I,N,D=this.dUe.value,b=this.oUt.value,m=[],C="-1234",w="",y="";if(D>0){for(y="."+Array(D).fill(0).join(""),t=Array(D),n=0;n<D;)t[n]=n%10,n++;t.reverse(),w=t.join("")}for(o=parseFloat(i=C+"."+w),u=(0,d.isNullOrUndefined)(b)||b===(0,r.getSR)().columnTypeNumberFormatting.accountingSymbol[0][0]?(0,r.getSR)().columnTypeNumberFormatting.currencyFormatWithoutSymbol:(0,s.getPredefinedFormats)(b,s.formatCategories[2]),c=/(\[[^\$^\]]+\])?(\[\$[^\]]+\])?(.*)(0)([^\[]*)(\[\$[^\]]+\])?/,a=0,l=u.length;a<l;a++)h=(f=u[a]).split(";"),v=(0,s.beforeAdjustFormatString)(h),h=h.map((function(t){return t.replace(c,(function(){var t,n,i=[];for(t=1;t<7;t++)n=arguments[t],(0,d.isNullOrUndefined)(n)||(2!==t&&6!==t&&(n=n.replace(s.decimalPlacesWithZeroDotReg,"0"+y)),i.push(n));return i.join("")}))})),(0,s.afterAdjustFormatString)(h,v),f=h.join(";"),g={},N={text:I=(M=new e.Formatter.GeneralFormatter(f)).format(o,g),value:f},(g.conditionalForeColor&&"red"===g.conditionalForeColor.toLowerCase()||"#FF0000"===g.conditionalForeColor)&&(N.class="gc-defined-column-number-formatting-negative-item"),m.push(N);return m},t.prototype.eZe=function(){var t=this,n=t.uZe=new l.rZe;return n.create()},t.prototype.Re=function(t,n){var i,e;return M(n)?(i=(0,d.isNullOrUndefined)(t)?0:t,n.replace(/@/g,i)):(e=new h(n)).format(t)},t.prototype.setOptions=function(t){var n=this;n.LEt=N(N({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.fUe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.fUe=d.keyword_null},t.prototype.L0=function(){var t=this;t.dUe.dispose(),t.dUe=d.keyword_null,t.hUe&&t.hUe.dispose(),t.hUe=d.keyword_null,t.gUe&&t.gUe.dispose(),t.gUe=d.keyword_null,t.oUt&&t.oUt.dispose(),t.oUt=d.keyword_null,t.uZe.dispose(),t.uZe=d.keyword_null},t}(),n.bZe=I},6018:function(t,n,i){var e,o,r,u,c=this&&this.mJr||function(){return c=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},c.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.AZe=void 0,e=i(1376),o=i(591),r=e.mt.En,u=function(){function t(t){var n;this.LEt=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.DZe)||void 0===t?void 0:t.val()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i,u,c=this,a=c.LEt,s=c.yZe=(0,e.GC$)(r("div"));return s.addClass("gc-defined-column-field-item-container gc-defined-column-input-number"),a.label&&a.label.text&&((t=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-label-container"),t.appendTo(s),(n=(0,e.GC$)(r("label"))).addClass("gc-defined-column-field-label-container-label-text"),n.attr("for","gc-defined-column-input-"+a.inputId),n.appendTo(t),i=a.label.useRawContent?a.label.text:(0,o.j0)(a.label.text),n.html(i)),(u=c.zZe=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-container"),u.appendTo(s),c.ZX(),s},t.prototype.ZX=function(){var t,n,i,u=this,c=u.LEt;!1===c.visible?u.yZe.hide():u.yZe.show(),t=u.zZe,u.isDisable()&&t.addClass("gc-defined-column-disabled"),(n=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-input-container"),n.appendTo(t),(i=u.DZe=(0,o.createDCElement)("sjs-number-editor")).attr("id","gc-defined-column-input-"+c.inputId),i.attr("type","text"),i.attr("aria-disabled",u.isDisable()?"true":"false"),u.isDisable()?i.attr("disabled","true"):i.removeAttr("disabled"),c.placeholder&&i.attr("placeholder",c.placeholder),(c.label&&c.label.text||c.placeholder)&&i.attr("aria-label",c.label&&c.label.text||c.placeholder),(0,o.isNullOrUndefined)(c.defaultValue)||i.val(c.defaultValue),i.attr("min",u.yeo()),(0,o.isNumber)(c.maxValue)&&i.attr("max",c.maxValue),c.allowMinNull&&(i.attr("allow-empty",!0),i.attr("empty-value",u.yeo())),i.bind("input",(function(t){var n=t.target.value;u.isDisable()||c.onChange&&c.onChange(n,t)})),i.appendTo(n)},t.prototype.setFocus=function(){var t;this.DZe.focus()},t.prototype.setOptions=function(t){var n=this;n.L0(),n.LEt=c(c({},n.LEt),t),n.ZX()},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.zZe;t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),t.DZe.attr("aria-disabled",n?"false":"true"),n?t.DZe.removeAttr("disabled"):t.DZe.attr("disabled","true")},t.prototype.yeo=function(){var t=this;return(0,o.isNumber)(t.LEt.minValue)?t.LEt.minValue:0},t.prototype.setValue=function(t){var n=this;n.DZe.val((0,o.isNumber)(t)?t:n.yeo()),(0,o.triggerEvent)(n.DZe,"input")},t.prototype.dispose=function(){var t=this;t.L0(),t.zZe=o.keyword_null,t.yZe=o.keyword_null},t.prototype.L0=function(){var t=this;t.DZe.unbind("input"),t.DZe=o.keyword_null,t.zZe.empty()},t}(),n.AZe=u},6045:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.uto=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ato(n,"errorCorrectionLevel",[{text:"L",value:"L"},{text:"M",value:"M"},{text:"Q",value:"Q"},{text:"H",value:"H"}]),t.cto(n,"connection"),t.ato(n,"model",[{text:"2",value:2},{text:"1",value:1}]),t.ato(n,"connectionNo",[{text:"0",value:0},{text:"1",value:1},{text:"2",value:2},{text:"3",value:3},{text:"4",value:4},{text:"5",value:5},{text:"6",value:6},{text:"7",value:7},{text:"8",value:8},{text:"9",value:9},{text:"10",value:10},{text:"11",value:11},{text:"12",value:12},{text:"13",value:13},{text:"14",value:14},{text:"15",value:15}]),t.ato(n,"version",[{text:"auto",value:"auto"},{text:"1",value:"1"},{text:"2",value:"2"},{text:"3",value:"3"},{text:"4",value:"4"},{text:"5",value:"5"},{text:"6",value:"6"},{text:"7",value:"7"},{text:"8",value:"8"},{text:"9",value:"9"},{text:"10",value:"10"},{text:"11",value:"11"},{text:"12",value:"12"},{text:"13",value:"13"},{text:"14",value:"14"}]),t.rto(n,"charCode"),t.ato(n,"mask",[{text:"auto",value:"auto"},{text:"1",value:"1"},{text:"2",value:"2"},{text:"3",value:"3"},{text:"4",value:"4"},{text:"5",value:"5"},{text:"6",value:"6"},{text:"7",value:"7"}]),t.ato(n,"charset",[{text:"UTF-8",value:"UTF-8"},{text:"Shift_JIS",value:"Shift_JIS"}]),n},n}(o.Meo),n.uto=c},6114:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P,Q,Y,W,H,V,F,_,J,X,K,q,$,tt,nt,it,et,ot,rt,ut,ct,at,st=this&&this.mJr||function(){return st=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},st.apply(this,arguments)},lt=this&&this.yJr||function(t,n,i){if(i||2===arguments.length)for(var e=0,o=n.length,r;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))};function ft(t,n){return Array.isArray(t)?n?t.toString():ht(t):t}function dt(t,n){return t?vt(n?"["+t+"]":t):t}function ht(t){var n=t;return Array.isArray(t)&&(n="["+t.toString()+"]"),n}function vt(t){var n=t;return t&&"["===t[0]&&"]"===t[t.length-1]&&(n=t.substring(1,t.length-1).split(",")),n}function gt(t,n,i){var e,o,r;t.value=t.value||n.value,t.type=t.type||n.type,t.caption=t.caption||n.caption,e=t.type!==n.type,o=n.type===u.ColumnTypes.CreatedTime||n.type===u.ColumnTypes.ModifiedTime,r=t.type===u.ColumnTypes.Formula,(i=i||Object.keys(n)).forEach((function(i){if(!t.hasOwnProperty(i)){if(e){if("defaultValue"===i||"dataType"===i||"style"===i||"_"===i[0])return;if(o&&("trigger"===i||"readonly"===i))return;if(!r&&"name"===i)return}t[i]=n[i]}}))}function Mt(t){return x(t)||t!==u.GroupLayoutMode.outline&&t!==u.GroupLayoutMode.condensed?u.GroupLayoutMode.tabular:t}function It(t){return"header"===t||"footer"===t?t:_}function Nt(t,n,i){Object.defineProperty(t,n,{get:function(){return this["_"+n]},set:function(t){var e,o,r,u=this["_"+n];if(u!==t){if(i)return o=(e=i(n,t,u))[0],r=e[1],this["_"+n]=o,void(r&&r());this["_"+n]=t}},configurable:!0})}function Dt(t){return"gc-defined-column-type-icon-".concat(t.toLowerCase())}function bt(t){return t&&"="===t[0]}function mt(t){return t&&t.indexOf(".")>-1}function Ct(t){return"number"==typeof t}function wt(t){return"string"==typeof t}function yt(t){return"boolean"==typeof t}function xt(t,n){return Ct(t[n])}function At(t){return t instanceof Function}function jt(t,n){var i,e,o,r,u;if(t.collapsed)for(i=t.start+1;i<=t.end;i++)(e=n[i])?e.visible=!1:n[i]={visible:!1};else if(t.children)for(o=0,r=t.children;o<r.length;o++)jt(u=r[o],n)}function Tt(t,n){var i,e,o,r,u,c=n&&n.grouping&&n.grouping.tree;if(c)for((i=t.rows)||(i=t.rows=[]),o=0,r=e=c.children;o<r.length;o++)jt(u=r[o],i)}function zt(t){var n,i,e,o,r,u;if(t)return n=t.step||[1,1],i=t.style,e=x(n[0])?1:n[0],o=x(n[1])?1:n[1],i?(r=void 0,u=void 0,Array.isArray(i)?(r=i[0],u=i[1]):r=i,{fillRowStep:e,fillRowStyle:r,blankRowStep:o,blankRowStyle:u}):void 0}function pt(t,n,i,e){var o,r;t[n]||(t[n]={}),(o=t[n])[i]||(o[i]={}),(r=o[i]).style=e}function Lt(t,n,i,e){var o,r,u,c,a,s=t.JS(n,e),l=s.row,f=s.col;for(o=0,r=s.rowCount;o<r;o++)for(u=0,c=s.colCount;u<c;u++)a=t.getActualStyle(l+o,f+u,e).toJSON(),A(a)||pt(i,l+o,f+u,a)}function St(t,n,i){n&&(t.oNi=!0,n.rules.forEach((function(n){n.ranges.forEach((function(n){Lt(t,n,i)}))})),t.oNi=!1)}function Ot(t){return t.NMi}function kt(t,n,i){return function(n){t.repaint(),i&&i()}}function Et(t){var n,i,e,o,r,u,c=t.type,a=t.comparisonOperator;switch(xt(l.ComparisonOperators,a)&&(a=l.ComparisonOperators[a]),c){case"number":i=t.value1,e=t.value2,o=t.isIntegerValue,n=(0,s.createNumberValidator)(a,i,e,o);break;case"date":i=t.value1,e=t.value2,n=(0,s.createDateValidator)(a,i,e);break;case"time":i=t.value1,e=t.value2,n=(0,s.createTimeValidator)(a,i,e);break;case"textLength":i=t.value1,e=t.value2,n=(0,s.createTextLengthValidator)(a,i,e);break;case"formula":r=t.formula,n=(0,s.createFormulaValidator)(r);break;case"formulaList":r=t.formula,n=(0,s.createFormulaListValidator)(r);break;case"list":u=t.source,n=(0,s.createListValidator)(u)}return n}function Zt(t,n){var i,e=n.errorMessage,o=n.errorStyle,r=n.errorTitle,u=n.highlightStyle,c=n.ignoreBlank,a=n.inCellDropdown,l=n.inputMessage,f=n.inputTitle,d=n.showErrorMessage,h=n.showInputMessage;x(e)||t.errorMessage(e),xt(s.ErrorStyle,o)&&t.errorStyle(s.ErrorStyle[o]),x(r)||t.errorTitle(r),x(u)||(i={},xt(s.HighlightType,u.type)&&(i.type=s.HighlightType[u.type]),x(u.color)||(i.color=u.color),xt(s.HighlightPosition,u.position)&&(i.position=s.HighlightPosition[u.position]),x(u.image)||(i.image=u.image),t.highlightStyle(i)),x(c)||t.ignoreBlank(c),x(a)||t.inCellDropdown(a),x(l)||t.inputMessage(l),x(f)||t.inputTitle(f),x(d)||t.showErrorMessage(d),x(h)||t.showInputMessage(h)}function Ut(t){var n=Et(t);return Zt(n,t),n}function Gt(t,n,i){var e,r,u,c,a,s,f,d,h,v,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P,Q,Y,W,H,V,F,_,J,X,K,q,$,tt=n.ruleType,nt=n.style,it=nt;switch(nt&&(nt instanceof o.Style||(it=new o.Style(nt))),tt){case"cellValueRule":r=n.comparisonOperator,u=n.value1,c=n.value2,a=n.comparisionOperator,x(r)&&(r=a),xt(l.ComparisonOperators,r)&&(r=l.ComparisonOperators[r]),e=t.addCellValueRule(r,u,c,it,i);break;case"specificTextRule":r=n.comparisonOperator,s=n.text,a=n.comparisionOperator,x(r)&&(r=a),xt(l.TextComparisonOperators,r)&&(r=l.TextComparisonOperators[r]),e=t.addSpecificTextRule(r,s,it,i);break;case"formulaRule":f=n.formula,e=t.addFormulaRule(f,it,i);break;case"dateOccurringRule":d=n.type,xt(l.DateOccurringType,d)&&(d=l.DateOccurringType[d]),e=t.addDateOccurringRule(d,it,i);break;case"top10Rule":d=n.type,h=n.rank,xt(l.Top10ConditionType,d)&&(d=l.Top10ConditionType[d]),e=t.addTop10Rule(d,h,it,i);break;case"uniqueRule":e=t.addUniqueRule(it,i);break;case"duplicateRule":e=t.addDuplicateRule(it,i);break;case"averageRule":d=n.type,xt(l.AverageConditionType,d)&&(d=l.AverageConditionType[d]),e=t.addAverageRule(d,it,i);break;case"twoScaleRule":v=n.minType,g=n.minValue,M=n.minColor,I=n.maxType,N=n.maxValue,D=n.maxColor,xt(l.ScaleValueType,v)&&(v=l.ScaleValueType[v]),xt(l.ScaleValueType,I)&&(I=l.ScaleValueType[I]),e=t.add2ScaleRule(v,g,M,I,N,D,i);break;case"threeScaleRule":v=n.minType,g=n.minValue,M=n.minColor,b=n.midType,m=n.midValue,C=n.midColor,I=n.maxType,N=n.maxValue,D=n.maxColor,xt(l.ScaleValueType,v)&&(v=l.ScaleValueType[v]),xt(l.ScaleValueType,b)&&(b=l.ScaleValueType[b]),xt(l.ScaleValueType,I)&&(I=l.ScaleValueType[I]),e=t.add3ScaleRule(v,g,M,b,m,C,I,N,D,i);break;case"dataBarRule":v=n.minType,g=n.minValue,I=n.maxType,N=n.maxValue,w=n.color,y=n.gradient,A=n.showBarOnly,j=n.showBorder,T=n.borderColor,z=n.barDirection,p=n.negativeData,xt(l.ScaleValueType,v)&&(v=l.ScaleValueType[v]),xt(l.ScaleValueType,I)&&(I=l.ScaleValueType[I]),e=t.addDataBarRule(v,g,I,N,w,i),yt(y)&&e.gradient(y),yt(A)&&e.showBarOnly(A),yt(j)&&e.showBorder(j),wt(T)&&e.borderColor(T),xt(l.BarDirection,z)&&e.dataBarDirection(l.BarDirection[z]),p&&(L=p.negativeFillColor,S=p.useNegativeFillColor,O=p.negativeBorderColor,k=p.useNegativeBorderColor,E=p.axisColor,Z=p.axisPosition,wt(L)&&e.negativeFillColor(L),yt(S)&&e.useNegativeFillColor(S),wt(O)&&e.negativeBorderColor(O),yt(k)&&e.useNegativeBorderColor(k),wt(E)&&e.axisColor(E),xt(l.DataBarAxisPosition,Z)&&e.axisPosition(l.DataBarAxisPosition[Z]));break;case"iconSetRule":if(U=n.iconSetType,G=n.reverseIconOrder,B=n.showIconOnly,R=n.icons,P=n.iconCriteria,xt(l.IconSetType,U)&&(U=l.IconSetType[U]),e=t.addIconSetRule(U,i),yt(G)&&e.reverseIconOrder(G),yt(B)&&e.showIconOnly(B),R){for(Q=e.icons(),Y=0;Y<R.length;Y++)H=(W=R[Y]).iconSetType,V=W.iconIndex,xt(l.IconSetType,H)&&(H=l.IconSetType[H]),Q[Y]={iconSetType:H,iconIndex:V};e.icons(Q)}if(P){for(F=e.iconCriteria(),Y=0;Y<P.length;Y++)J=(_=P[Y]).isGreaterThanOrEqualTo,X=_.iconValueType,K=_.iconValue,xt(l.IconValueType,X)&&(X=l.IconValueType[X]),F[Y]=new l.IconCriterion(J,X,K);e.iconCriteria(F)}}e&&(q=n.priority,$=n.stopIfTrue,Ct(q)&&e.priority(q),yt($)&&e.stopIfTrue($))}function Bt(t,n){return t.filter((function(t){return t.name===n}))[0]}function Rt(t){return!x(t)&&!x(t.icons)&&t.icons.length>0}function Pt(t){for(var n=[];t>0;)n[t-=1]=t;return n}function Qt(t,n){var i,e,o,r;if(x(t))return!1;for(p(t)||(t=[t]),i=0;i<t.length;i++)for(e=t[i],o=0;o<n.length;o++)if(r=n[o],e.field===r.value&&r.isGroup)return!0;return!1}function Yt(t){["columnStart","columnEnd","rowStart","rowEnd","repeatColumnStart","repeatColumnEnd","repeatRowStart","repeatRowEnd"].forEach((function(n){t[n]=function(){return-1}}))}function Wt(t,n){!1===n?n=o.SheetTabVisible.hidden:!0===n&&(n=o.SheetTabVisible.visible),void 0!==n&&t.visible(n)}function Ht(t){return t instanceof at}function Vt(t){return t.ctrlKey}function Ft(t){return t.shiftKey}function _t(t){return t.metaKey}function Jt(t){var n,i=o.mt.Qf()?_t(t):Vt(t),e=Ft(t);return{isCtrl:i&&!e,isShift:e&&!i}}function Xt(t,n,i){return i.isPinnedRow(n)}function Kt(t,n,i){return i.isNewRow(n)?0:i.isInsertedRow(n)?1:i.isUpdatedRow(n)?2:-1}function qt(t,n,i){return i.hasWarning(n)}function $t(){var t="TableSheet"+at._ID;return at._ID++,t}function tn(t){for(var n=$t(),i=0;i<t.length;)t[i].name()!==n?i++:(n=$t(),i=0);return n}Object.defineProperty(n,"__esModule",{value:!0}),n.BuiltInRowActions=n.TableSheet=n.ActionType=n.copyOriginalColumnPropertiesToCurrentColumn=n.hze=n.tIi=n.getSR=void 0,e=i(7234),o=i(1376),r=i(9131),u=i(447),c=i(6277),a=i(419),s=i(4133),l=i(8333),f=i(7373),d=i(806),h=i(4475),v=i(1434),g=i(7621),M=i(2121),I=i(3789),N=i(3182),D=i(2221),b=i(2364),m=new e.Common.ResourceManager(a.SR,"TableSheet"),n.getSR=m.getResource.bind(m),C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odD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PGcgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6Ii8+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBvcGFjaXR5PSIuODciLz48L2c+PHBhdGggZD0iTTIwIDhoLTNWNi4yMWMwLTIuNjEtMS45MS00Ljk0LTQuNTEtNS4xOUM5LjUxLjc0IDcgMy4wOCA3IDZ2Mkg0djE0aDE2Vjh6bS04IDljLTEuMSAwLTItLjktMi0ycy45LTIgMi0yIDIgLjkgMiAyLS45IDItMiAyek05IDhWNmMwLTEuNjYgMS4zNC0zIDMtM3MzIDEuMzQgMyAzdjJIOXoiLz48L3N2Zz4=",F="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHdpZHRoPSI0OCI+PHBhdGggZD0ibTExLjY1IDQ0IDMuMjUtMTQuMDVMNCAyMC41bDE0LjQtMS4yNUwyNCA2bDUuNiAxMy4yNUw0NCAyMC41bC0xMC45IDkuNDVMMzYuMzUgNDQgMjQgMzYuNTVaIi8+PC9zdmc+",_=void 0,J=null,q=(K=".gcSheetInternal")+(X=".tableSheet"),$="gc.spread.contextMenu.defineColumn",tt="gc.spread.contextMenu.insertColumns",nt="gc.spread.defineColumn.submit",it=o.util.Z0,et=o.util.V0,n.tIi=ft,n.hze=dt,n.copyOriginalColumnPropertiesToCurrentColumn=gt,ot=function(){},rt={},n.BuiltInRowActions=rt,ut={name:S,icons:[B,P,Q,Y,R]},o.Events.RowOperation="RowOperation",function(t){t[t.remove=0]="remove",t[t.save=1]="save",t[t.reset=2]="reset",t[t.addNewEmptyRow=3]="addNewEmptyRow"}(ct=n.ActionType||(n.ActionType={})),at=function(){function t(t,n,i){this.X$={},this._gi=o.SheetType.tableSheet,this.uNi=0,this.jIi=0,this.cNi=[[]],this.x0r=this.getColumnIndexInTable;var e=this;this.qni=new D.UndoHelper(this),e.Mf=new N.OverWriteWorkSheet(t||$t(),this,this.qni),e.Hc(n,i)}return t.prototype.Iwt=function(t,n,i){var e,o,r,u,c=n.abt.getDataView(),a=c&&c.gLt,s=this.getColumnIndexInTable(n.ubt),l=s,f=c.getColumnInfos();for(n.sbt&&(l=this.getColumnIndexInTable(n.sbt)),e=s;e<=l;e++)o=-1===e?"*":f[e].value,a._Et(t,o,i);if(r=this.rNi,i)this.rNi.push(n);else for(u=0;u<r.length;u++)r[u]===n&&(r.splice(u,1),u--)},t.prototype.startRow=function(){return 0},t.prototype.startColumn=function(){return 0},t.prototype.endRow=function(){return this.Mf.getRowCount()-(this.options.allowAddNew?2:1)},t.prototype.endColumn=function(){return this.Mf.getColumnCount()-1},t.prototype.hasTotalsRow=function(){return!1},t.prototype.hasHeadersRow=function(){return!1},t.prototype.tableName=function(){return this.name()},t.prototype.source=function(){return this.Mf.Uw()},t.prototype.getColumnName=function(t,n){var i=this.Mf,e=i.getDataSource(),o=e.kve(t);return o?ft(o.caption,n)||o.value:null},t.prototype.getColumnIndexInTable=function(t){var n,i=this.Mf,e=i.getDataSource(),o=e.getColumnInfos();for(n=o.length-1;n>=0;n--)if(t===this.getColumnName(n)||t===this.getColumnName(n,!0))return n;return-1},t.prototype.showFooter=function(t){return!1},t.prototype.dataRange=function(){var t=this,n=this.Mf.getRowCount();return t.options.allowAddNew&&n--,(0,o.Ec)(0,0,n,t.endColumn()+1)},t.prototype.headerIndex=function(){return 0},t.prototype.cSt=function(t,n){var i,e;for(null!==t&&(t=y(t)),i=0;i<this.Tx;i++)if(i!==n&&t===(e=this.getColumnName(i)))return!0;return!1},t.prototype.Hc=function(t,n){var i=this,e=i.Mf;e.$L.push({tF:function(t,n){var o,r,u,c,a,s;return void 0===n&&(n={}),o=1,r=i.keo(),u=n.spacingIndex,c=n.isAfter,(0,v.isGroupOutlineCondensedLayout)(r)&&(o=0),a=L,c&&(s=e.ncr&&e.ncr(t,u,-1,c))&&"number"==typeof s.level&&(a=s.level+1),i.sMi(t,a,o,u,c)}}),i.rNi=[],this.suspendPaint(),i.aNi(),i.setDefaultRowHeight(30),i.setDefaultRowHeight(30,o.SheetArea.colHeader),e.setRowCount(0),e.setColumnCount(0),e.zwt("@","=A1",0,0,!0),e.zwt("AutoId","=MAX(OFFSET($A$1,0,COLUMN()-1,ROW()-1,1))+1",0,0,!0),(0,a.overrideProperties)(i),(0,a.overrideMethods)(i),i.v7(),t&&e.setDataSource(t),i.Zp(n),i.sNi(),i.MNi(),i.INi=new v.Grouping,i.rowActionOptions(i.gNi),i.applyTableTheme(r.TableThemes.light2),i.leV(),this.resumePaint()},t.prototype.leV=function(){},t.prototype.reset=function(){var t,n=this,i=n.Mf,e=n.UMi,o=n.getDataView();o&&(null===(t=o.PEe)||void 0===t||t.call(o),n.rze()),i&&i.reset(),e&&e.detach(),n.E3(),n.Hc(),n.lMi=_,n.jFt=_,n.jIi=0,n.uNi=0},t.prototype.hg=function(t){this.Mf.hg(t)},t.prototype.L0=function(t,n){var i,e,o=this.Mf;if(t&&this.z2i(!0),this.wze&&this.wze.close(),o.L0(t,n),t)for(i in this.E3(),this.UMi&&this.UMi.detach(),this.X$)this.X$[i]&&(e=this.X$[i]).onDestroy(!0)},t.prototype.Zg=function(t){this.Mf.Zg(t)},t.prototype.setAccessibilityPrefixSuffixContent=function(t,n){this.Mf.setAccessibilityPrefixSuffixContent(t,n)},t.prototype.pM=function(t){this.Mf.pM(t),this.NNi()},t.prototype.getParent=function(){return this.Mf.getParent()},t.prototype.name=function(t){var n=this.Mf;return n.name.apply(n,arguments)},t.prototype.visible=function(t){var n=this.Mf;return n.visible.apply(n,arguments)},t.prototype.b2=function(t,n){return this.Mf.b2(t,n)},t.prototype.ow=function(){this.Mf.ow()},t.prototype.aw=function(){this.Mf.aw()},t.prototype.tw=function(){this.Mf.tw()},t.prototype.Wb=function(t,n){this.Mf.Wb(t,n)},t.prototype.Kb=function(t){this.Mf.Kb(t)},t.prototype.Fb=function(t,n){this.Mf.Fb(t,n)},t.prototype.onHorizontalDockScroll=function(t,n){this.Mf.onHorizontalDockScroll(t,n)},t.prototype.Gb=function(t){this.Mf.Gb(t)},t.prototype.WC=function(t,n,i){this.Mf.WC(t,n,i)},t.prototype.$C=function(t){this.Mf.$C(t)},t.prototype.QC=function(t,n,i){this.Mf.QC(t,n,i)},t.prototype.Cg=function(){this.Mf.Cg()},t.prototype.suspendPaint=function(){this.Mf.suspendPaint()},t.prototype.resumePaint=function(){var t=this.Mf.getDataSource();t&&this.lNi(t.visibleLength()),this.Mf.resumePaint()},t.prototype.isPaintSuspended=function(){return this.Mf.isPaintSuspended()},t.prototype.bind=function(t,n,i){this.Mf.bind(t,n,i)},t.prototype.unbind=function(t,n){this.Mf.unbind(t,n)},t.prototype.unbindAll=function(){this.Mf.unbindAll()},t.prototype.D3=function(t,n,i){this.Mf.D3(t+q,n,i)},t.prototype._3=function(t,n){this.Mf._3(t+q,n)},t.prototype.E3=function(){this.Mf.E3(),this.Mf.unbind(q)},t.prototype.suspendEvent=function(){this.Mf.suspendEvent()},t.prototype.resumeEvent=function(){this.Mf.resumeEvent()},t.prototype.isEventSuspended=function(){return this.Mf.isEventSuspended()},t.prototype.bC=function(){this.Mf.bC()},t.prototype.ki=function(t,n,i){this.Mf.ki(t,n,i)},t.prototype.isEditing=function(){return this.Mf.isEditing()},t.prototype.ol=function(t,n,i,e){return this.Mf.ol(t,n,i,e)},t.prototype.currentTheme=function(t){var n=this.Mf;return n.currentTheme.apply(n,arguments)},t.prototype.FM=function(){(0,n.getSR)(),this.Mf.FM()},t.prototype.DNi=function(t){var n,i=t||this.gNi;return z(i).map((function(t){return delete t.subActionOptions,t}))},t.prototype.fNi=function(t,n){var i,e,o,r,u,c,a,s=[S,O,k,E,Z,U,G],l=[B,R,P,Q,Y],f=["ROW_ACTION_PIN_ROW","ROW_ACTION_WARNING_INFO","ROW_ACTION_NEW_ROW","ROW_ACTION_INSERTED_ROW","ROW_ACTION_UPDATED_ROW"],d=n?f:l,h=n?l:f;if(p(t))for(i=0;i<t.length;i++)if(o=(e=t[i]).name,r=e.icons,s.indexOf(o)>-1&&r)for(u=0;u<r.length;u++)"string"==typeof(c=r[u])&&(a=d.indexOf(c))>-1&&(r[u]=h[a]);return t},t.prototype.dNi=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,v,g,M,I,N=this,D=N.Mf;return t&&t.saveAsView?(n.colHeaderData.dataTable||(n.colHeaderData.dataTable={}),Lt(D,(0,o.Ec)(0,0,D.getRowCount(1),D.getColumnCount(1)),n.colHeaderData.dataTable,1),N.iAi(n),n.data.dataTable||(n.data.dataTable={}),St(D,n.conditionalFormats,n.data.dataTable),delete n.conditionalFormats,delete n.validations):x(n)||N.iAi(n),i={},e=N.getDataView(),r=t&&t.gp,e&&(i.dataView={name:e.name,tableName:e.gLt.name},i.grouping=N.INi.toJSON(),r&&(i.grouping.groupInfos=C(N.lMi))),u=D.rowFilter(),i.rowFilter=u.toJSON(),r&&Tt(n,i),c=N.options,(a={}).allowAddNew=c.allowAddNew,c.hasOwnProperty("defaultStackRowHeight")&&(a.defaultStackRowHeight=c.defaultStackRowHeight),c.hasOwnProperty("menuItemVisibility")&&(a.menuItemVisibility=c.menuItemVisibility),a.sheetTabColor=c.sheetTabColor,(s=c.alternatingRowOptions)?(l=s.style,f=void 0,Array.isArray(l)?f=[d=l[0]&&l[0].toJSON(),h=l[1]&&l[1].toJSON()]:l&&(f=l.toJSON()),a.alternatingRowOptions={step:s.step,style:f}):null===s&&(a.alternatingRowOptions=null),c.hasOwnProperty("isDesignMode")&&(a.isDesignMode=c.isDesignMode),c.hasOwnProperty("showRowNumber")&&(a.showRowNumber=c.showRowNumber),c.hasOwnProperty("enableDefineColumn")&&(a.enableDefineColumn=c.enableDefineColumn),c.hasOwnProperty("defineColumnCommand")&&(a.defineColumnCommand=c.defineColumnCommand),c.hasOwnProperty("submitDefineColumnCommand")&&(a.submitDefineColumnCommand=c.submitDefineColumnCommand),c.hasOwnProperty("columnTypeItems")&&(a.columnTypeItems=c.columnTypeItems),c.hasOwnProperty("groupLayout")&&(v=c.groupLayout)&&["mode","position"].forEach((function(t){var n=v[t];v.hasOwnProperty(t)&&(a.groupLayout||(a.groupLayout={}),a.groupLayout[t]=n)})),i.options=a,i.rowActionOptions=N.fNi(N.DNi()),N.hl&&(i.currentTheme=N.hl.toJSON()),t&&t.cb===o.OpenSaveFileType.excel&&n&&(g=zt(i.options.alternatingRowOptions),(M=i.currentTheme)&&(M.tKr=!0,(!g||g.fillRowStep<=0&&g.blankRowStep<=0)&&(g.fillRowStep=J,g.fillRowStyle=J,g.blankRowStep=J,g.blankRowStyle=J),M.firstRowStripSize=g.fillRowStep,M.firstRowStripStyle=g.fillRowStyle,M.secondRowStripSize=g.blankRowStep,M.secondRowStripStyle=g.blankRowStyle)),I=D.defaults,i.defaults={rowHeight:I.rowHeight,colHeaderRowHeight:I.colHeaderRowHeight},i.printInfo=D.printInfo&&D.printInfo().toJSON(),i.freeHeaderArea=N.hNi,n&&(n.sheetType=N._gi),i.parameter=N.o1e,i},t.prototype.toJSON=function(t){var n,i=this,e=i.Mf;return e.options.sheetTabColor=this.options.sheetTabColor,t&&t.cb===o.OpenSaveFileType.excel&&(i.lno=!0),(n=e.toJSON(t)).addition=i.dNi(t,n),(n=i.Keo(n,t)).sheetType=this._gi,t&&t.cb===o.OpenSaveFileType.excel&&(i.lno=_),n},t.prototype.Keo=function(t,n){var i,e,u,c=this,a=c.Mf;return n&&n.cb===o.OpenSaveFileType.excel&&c.Teo(!0)?(i=new o.Worksheet(c.Mf.name()),(e=t.addition)&&!x(e.currentTheme)&&((u=new r.TableTheme).fromJSON(e.currentTheme),i.suspendPaint(),c.qeo(i,C(c.options.alternatingRowOptions),u),i.resumeEvent()),delete t.spacing,i.fromJSON(t,!1,_,_,!0),c.$eo()?c.Qto(i,a):c.Yto(i,a),c.Wto(i),(t=i.toJSON(n)).addition=e,t):t},t.prototype.Wto=function(t){var n,i,e,o=this,r=o.getDataView().getColumnInfos();for(n=0;n<r.length;n++)if(!1!==(i=r[n]).visible){(e=t.getStyle(-1,n)).textIndent=o.lMi.length,t.setStyle(-1,n,e);break}},t.prototype.Hto=function(t){var n,i,e,r=this,u=r.getDataView(),c=u.getColumnInfos(),a=new o.Style;return a.backColor="white",i=(n=t.Ut.Vsr).Ysr,{columnInfos:c,spacingStyle:a,rows:e=Object.keys(i).reverse()}},t.prototype.Yto=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,L,S,O,k,E,Z,U;if(t.Csr)for(r=(e=(i=this).Hto(n)).columnInfos,u=e.spacingStyle,a=0,s=c=e.rows;a<s.length;a++){if(l=s[a],f=Number(l),(d=2*n.Rsr(f,!0))>0)for(t.addRows(f+1,d),h=0;h<d;h+=2)if(g=Math.floor(h/2),I=(M=f+h+1)+1,N=n.Xsr(f,h,!0)/2,t.setRowHeight(M,N),t.setRowHeight(I,N),D=n.ncr(f,g,-1,!0),!x(D))if(b={rowSpacingIndex:g,isAfterRowSpacing:!0},D.isSpacing){for(m=n.getActualStyle(f,-1,_,_,b),u.borderTop=m.borderTop,C=0;C<r.length;C++)t.setStyle(M,C,u);t.setRowHeight(M,2*N),t.deleteRows(I,1)}else for(m=n.getActualStyle(f,-1,_,_,b),C=0;C<r.length;C++)(w=m.clone()).borderBottom=J,t.setStyle(M,C,w),(y=m.clone()).borderTop=J,t.setStyle(I,C,y),A=n.ncr(f,g,C,!0),x(A)||(j=n.Jt.qt(f,C,_,_,b),(T=(0,v.composeHeaderStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(T,o.HorizontalAlign.right),z=A.caption,x(z)||(T.borderBottom=J,t.setStyle(M,C,T),t.setValue(M,C,A.caption)),(p=(0,v.composeValueStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(p,o.HorizontalAlign.right),L=A.value,x(L)||(p.borderTop=J,t.setStyle(I,C,p),t.setValue(I,C,A.value)));if((d=2*n.Rsr(f))>0)for(t.addRows(f,d),h=0;h<d;h+=2)if(g=Math.floor(h/2),I=(M=f+h)+1,N=n.Xsr(f,g)/2,t.setRowHeight(M,N),t.setRowHeight(I,N),D=n.ncr(f,g,-1))for(b={rowSpacingIndex:g,isAfterRowSpacing:!1},m=n.getActualStyle(f,-1,_,_,b),S=!1,C=0;C<r.length;C++)(w=m.clone()).borderBottom=J,t.setStyle(M,C,w),(y=m.clone()).borderTop=J,t.setStyle(I,C,y),O=!S&&!1!==r[C].visible,j=n.Jt.qt(f,C,_,_,b),p=void 0,O&&(S=!0,T=(0,v.composeHeaderStyle)(D.groupLevelOptions,j),k=D.field,x(k)||(T.textIndent=D.level,T.borderBottom=J,t.setStyle(M,C,T),t.setValue(M,C,D.field)),p=(0,v.composeValueStyle)(D.groupLevelOptions,j),E=D.value,x(E)||(p.textIndent=D.level,p.borderTop=J,t.setStyle(I,C,p),t.setValue(I,C,D.value))),A=n.ncr(f,g,C),x(A)||O||((Z=(0,v.composeHeaderStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(Z,o.HorizontalAlign.right),z=A.caption,x(z)||(Z.borderBottom=J,t.setStyle(M,C,Z),t.setValue(M,C,A.caption)),(U=(0,v.composeValueStyle)(A,j)).hAlign=(0,v.getHorizontalAlign)(U,o.HorizontalAlign.right),L=A.value,x(L)||(U.borderTop=J,t.setStyle(I,C,U),t.setValue(I,C,A.value)))}},t.prototype.Qto=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,g,M,I,N,D,b,m,C,w,y,A,j,T,z;if(t.Csr)for(r=(e=(i=this).Hto(n)).columnInfos,u=e.spacingStyle,a=0,s=c=e.rows;a<s.length;a++){if(l=s[a],f=Number(l),(d=n.Rsr(f,!0))>0)for(t.addRows(f+1,d),h=0;h<d;h++)if(g=f+h+1,M=n.Xsr(f,h,!0),t.setRowHeight(g,M),I=n.ncr(f,h,-1,!0),!x(I))if(N={rowSpacingIndex:h,isAfterRowSpacing:!0},I.isSpacing)for(D=n.getActualStyle(f,-1,_,_,N),u.borderTop=D.borderTop,b=0;b<r.length;b++)t.setStyle(g,b,u);else for(D=n.getActualStyle(f,-1,_,_,N),b=0;b<r.length;b++)t.setStyle(g,b,D),m=n.ncr(f,h,b,!0),x(m)||(C=n.Jt.qt(f,b,_,_,N),(w=(0,v.composeValueStyle)(m,C)).hAlign=(0,v.getHorizontalAlign)(w,o.HorizontalAlign.right),y=(0,v.getValueFromCondensed)(m),x(y)||(t.setStyle(g,b,w),t.setValue(g,b,y)));if((d=n.Rsr(f))>0)for(t.addRows(f,d),h=0;h<d;h++)if(g=f+h,M=n.Xsr(f,h),t.setRowHeight(g,M),I=n.ncr(f,h,-1))for(N={rowSpacingIndex:h,isAfterRowSpacing:!1},D=n.getActualStyle(f,-1,_,_,N),A=!1,b=0;b<r.length;b++)t.setStyle(g,b,D),j=!A&&!1!==r[b].visible,C=n.Jt.qt(f,b,_,_,N),w=void 0,j&&(A=!0,w=(0,v.composeValueStyle)(I.groupLevelOptions,C),T=(0,v.getGroupHeaderValueFromCondensed)(I),x(T)||(w&&(w.textIndent=I.level,t.setStyle(g,b,w)),t.setValue(g,b,T))),m=n.ncr(f,h,b),x(m)||j||((z=(0,v.composeValueStyle)(m,C)).hAlign=(0,v.getHorizontalAlign)(z,o.HorizontalAlign.right),y=(0,v.getValueFromCondensed)(m),x(y)||(t.setStyle(g,b,z),t.setValue(g,b,y)))}},t.prototype.TNi=function(t){var n,e,o,u,c,a,s,l,f,d,h,v,g,M;if(t){if(e=(n=this).Mf,o=t.options,x(t.currentTheme)||((u=new r.TableTheme).fromJSON(t.currentTheme),n.applyTableTheme(u)),c=n.getDefaultOptions(),n.options.allowAddNew=o.allowAddNew,n.options.defaultStackRowHeight=o.defaultStackRowHeight,n.options.menuItemVisibility=o.menuItemVisibility,n.options.isDesignMode=o.isDesignMode,n.options.sheetTabColor=o.sheetTabColor,n.options.showRowNumber=o.showRowNumber,n.options.enableDefineColumn=o.enableDefineColumn,n.options.defineColumnCommand=x(o.defineColumnCommand)?c.defineColumnCommand:o.defineColumnCommand,n.options.submitDefineColumnCommand=x(o.submitDefineColumnCommand)?c.submitDefineColumnCommand:o.submitDefineColumnCommand,n.options.columnTypeItems=x(o.columnTypeItems)?c.columnTypeItems:o.columnTypeItems,n.options.groupLayout=x(o.groupLayout)?c.groupLayout:o.groupLayout,n.bNi(o.alternatingRowOptions,o.alternatingRowStyles),x(t.actionColumn)||n.actionColumn.fromJSON(t.actionColumn),n.rowActionOptions(n.fNi(t.rowActionOptions,!0)),a=e.defaults,(s=t.defaults)&&(a.rowHeight=s.rowHeight,a.colHeaderRowHeight=s.colHeaderRowHeight),e.printInfo&&t.printInfo&&((f=new((l=i(5065)).PrintInfo)).fromJSON(t.printInfo),e.printInfo(f)),d=t.stateRules)for(h=0,v=d;h<v.length;h++)(g=v[h]).isRow?n.addRowStateRule(g.state,g.style):n.addColumnStateRule(g.state,g.style);(M=t.freeHeaderArea)&&n.applyFreeHeaderArea(M),n.o1e=t.parameter}},t.prototype.fromJSON=function(t,n,i,e,u){var c,a,s,l,f,d,h,v=this,g=v.Mf,M=e&&e.gp,I=e&&e.sb,N=e&&e.cb,D=t.addition,b=D.options;M||I&&N===o.OpenSaveFileType.excel?(I&&N===o.OpenSaveFileType.excel&&(x(D.currentTheme)||((c=new r.TableTheme).fromJSON(D.currentTheme),v.applyTableTheme(c)),b&&(v.options.sheetTabColor=b.sheetTabColor)),M&&(v.options||(v.options={}),v.bNi(b.alternatingRowOptions,b.alternatingRowStyles),D.grouping&&(D.grouping.tree&&v.INi.fromJSON(g,D.grouping,!0),D.grouping.groupInfos&&v.Vto(D.grouping.groupInfos)),b.groupLayout&&v.Fto(b.groupLayout),v.options.allowAddNew=!1),t.rowFilter=_,g.fromJSON(t,n,i,e,u),M&&(D.options.showRowNumber?(a=1,g.setColumnCount(a,o.SheetArea.rowHeader),g.setColumnVisible(0,!0,o.SheetArea.rowHeader),g.setColumnWidth(0,g.defaults.rowHeaderColWidth,o.SheetArea.rowHeader)):(g.setColumnCount(0,o.SheetArea.rowHeader),1!==(s=g.printInfo()).showRowHeader()&&s.showRowHeader(1)))):I&&N===o.OpenSaveFileType.sjs?(g.ub(t.name+"",!0),g.b2(t.isSelected),g.g8(t.zoomFactor||1),v.TNi(D),v.ANi(D)):(g.ub(t.name+"",!0),g.b2(t.isSelected),g.g8(t.zoomFactor||1),Wt(g,t.visible),v.TNi(D),l=D&&D.dataView,f=g.parent&&g.parent.dataManager(),(h=(d=l&&f.tables[l.tableName])&&d.views[l.name])&&v.kTi(h,!1))},t.prototype.ANi=function(t,n){var i=this,e=i.Mf,o=t.dataView,r=e.parent,u=r.dataManager(),c=o&&u.tables[o.tableName],a=c&&c.views[o.name];i.fromJSONAfterViewFetchedImp(t,a,n)},t.prototype.fromJSONAfterViewFetchedImp=function(t,n,i){var e,o,r;n&&(o=(e=this).Mf,e.suspendPaint(),e.restoreView(n,i),e.INi.fromJSON(e.Mf,t.grouping),r=o.rowFilter(),t.rowFilter&&r.fromJSON(t.rowFilter),e.vNi(e.options.isDesignMode),e.resumePaint())},t.prototype.resetNewView=function(t,n,i){var e,o=this.getDataView(),r=o.gLt,u=o.name,c=o.ILt,a=o.includeDefaultColumns,s=o.LEt,l=o.SRe(),f=o.toJSON(),d={columnInfoOptions:c,includeDefaultColumns:a,options:s};r.removeView(u),(e=r.addView(u,t,n,i)).fromJSON(f),e.ARe(l),this.qni.addUndoChanges({type:D.TableSheetUndoType.ResetViewChanged,oldData:d}),this.restoreView(e)},t.prototype.restoreView=function(t,n){var i,e,o,r,u,c,a,s,l=this,f=l.Mf;for(i=0;i<t.lFt.length;i++)t.lFt[i]>=t.length()&&(t.lFt.splice(i,1),i--);l.suspendPaint(),t.visibleLength()!==t.length()&&(t.gFt(),t.hde()),(e=t.getColumnInfos()).some((function(t){return t.isGroup}))&&(e=e.filter((function(t){return!t.isGroup})),t.setColumnInfos(e)),n?l.refreshBindColumns(_,t):l.kTi(t),o=t.DLt&&t.DLt.length>0,r=t._Lt&&t._Lt.length>0,o&&(t.isHierarchy()?t.KFt(t.DLt):t.JFt(t.DLt)),c=Qt(u=t.NLt,e),u&&!c&&t.filter(u),(a=t.lFt.length)>0&&(f.frozenRowCount(a),l.uNi=a),(s=t.CLt.length)>0&&(f.frozenColumnCount(s),l.jIi=s),t.MFt&&(l.groupBy(t.MFt),u&&c&&t.filter(u),r&&t.HFt(t._Lt)),l.resumePaint()},t.prototype.bNi=function(t,n){t?this.options.alternatingRowOptions={step:t.step,style:this.jNi(t.style)}:n?this.options.alternatingRowOptions={step:[1,1],style:this.jNi(n)}:null!==t&&null!==n||(this.options.alternatingRowOptions=null)},t.prototype.Vto=function(t){this.lMi=t},t.prototype.Fto=function(t){this.options.groupLayout=t},t.prototype.jNi=function(t){var n,i,e;return Array.isArray(t)?(i=new o.Style,e=new o.Style,t[0]&&i.fromJSON(t[0],!1,null),t[1]&&e.fromJSON(t[1],!1,null),n=[i,e]):((i=new o.Style).fromJSON(t,!1,null),n=i),n},t.prototype.wh=function(t,n,i){var e,r=this,u=r.Mf;return i&&i.fileType===o.OpenSaveFileType.excel?(u.options.sheetTabColor=r.options.sheetTabColor,u.wh(t,n,i)):((e=u.wh(t,n,i)).lossless.addition=r.dNi(),e)},t.prototype.yh=function(t,n,i,e){var r,u,c,a,s,l,f,d,h=this,v=h.Mf,g=t.lossless.addition;e||((r=o.util.o1(t,"sheetViews&sheetView"))&&(r.zoomScale&&v.zoom(r.zoomScale/100),"1"===r.tabSelected&&v.b2(!0,!1)),h.TNi(g)),u=g&&g.dataView,c=v.parent&&v.parent.dataManager(),(s=(a=u&&c.tables[u.tableName])&&a.views[u.name])&&h.kTi(s,e),e||(d=(f=(l=v.parent)&&l.v2)&&f.sheetsState)&&(d[v.name()]=2)},t.prototype.uw=function(){return this.Mf.uw()},t.prototype.ot=function(){return this.Mf.ot()},t.prototype.hitTest=function(t,n,i,e){return this.Mf.hitTest(t,n,i,e)},t.prototype.getSheet=function(){return this.Mf},t.prototype.getSelections=function(t){return t===o.SheetArea.colHeader?this.Mf.Ut.getSelections(1):this.Mf.getSelections()},t.prototype.zoom=function(t){return 0===arguments.length?this.Mf.zoom():this.Mf.zoom(t)},t.prototype.autoFitRow=function(t){this.Mf.autoFitRow(t)},t.prototype.getColumnWidth=function(t,n,i){return this.Mf.getColumnWidth(t,n,i)},t.prototype.getRowHeight=function(t,n,i){return this.Mf.getRowHeight(t,n,i)},t.prototype.getColumnCount=function(t){return this.Mf.getColumnCount(t)},t.prototype.getRowCount=function(t){return this.Mf.getRowCount(t)},t.prototype.setDataView=function(t){this.kTi(t)},t.prototype.uLi=function(t){var n=this.Mf,i=t||this.getDataView();i&&n.setRowCount(t.visibleLength()+(this.options.allowAddNew?1:0))},t.prototype.Ski=function(t){var n=this.Mf;t&&(n.setColumnCount(t.getColumnInfos().length),this.uLi(t))},t.prototype.rze=function(){this.Mf.parent.Wp.clear()},t.prototype.kTi=function(t,n){var i,e,o,r,u=this.Mf;u.xT||(this.suspendPaint(),u.suspendCalcService(),o=(null==(e=this.getDataView())?void 0:e.name)===(null==t?void 0:t.name),t&&this.z2i(!o),!o&&e&&(null===(i=e.PEe)||void 0===i||i.call(e),this.rze()),this.beforeSetDataView(t),u.autoGenerateColumns=!1,u.setDataSource(t),this.Ski(t),t&&(this.refreshBindColumns(),n||(this.actionColumn.options().visible&&this.zNi(),r=t.iRt&&t.iRt.length,this.options.allowAddNew&&r===u.getRowCount()&&this.CNi(),this.wNi(),this.yNi())),this.afterSetDataView(t),u.resumeCalcService(!1),this.resumePaint())},t.prototype.beforeSetDataView=function(t){},t.prototype.afterSetDataView=function(t){},t.prototype.yNi=function(){var t=this,n=t.getDataView();t.G2i=function(n,i){t.mNi(i.row)},t.U2i=function(n,i){t.LNi(i.row,i.changingFields)},t.B2i=function(n,i){t.xNi(i.row)},t.Q2i=function(n,i){t.SNi(i.row)},t.R2i=function(n,i){var e=t.getDataView(),o=e.tableName;i.tableName===o&&t.ZNi(i.row)},t.Y2i=function(n,i){t.ONi(i.row,i.reason,i.type)},t.H2i=function(n,i){t.ENi()},t.W2i=function(i,e){t.GNi(n,e.isDataLengthChanged,e.isDataRowOrderChanged,e.isColumnCountChanged)},n.bind(f.Events.ItemInserted,t.G2i),n.bind(f.Events.ItemUpdated,t.U2i),n.bind(f.Events.ItemReset,t.B2i),n.bind(f.Events.ItemSaved,t.Q2i),n.bind(f.Events.ItemRemoved,t.R2i),n.bind(f.Events.ChangesSubmittedRowFailed,t.Y2i),n.bind(f.Events.ChangesSubmitted,t.H2i),n.bind(f.Events.ChangesCancelled,t.W2i)},t.prototype.z2i=function(t){var n=this,i=n.getDataView();i&&i.gLt&&(n.G2i&&i.unbind(f.Events.ItemInserted,n.G2i),n.U2i&&i.unbind(f.Events.ItemUpdated,n.U2i),n.B2i&&i.unbind(f.Events.ItemReset,n.B2i),n.Q2i&&i.unbind(f.Events.ItemSaved,n.Q2i),n.R2i&&i.unbind(f.Events.ItemRemoved,n.R2i),n.Y2i&&i.unbind(f.Events.ChangesSubmittedRowFailed,n.Y2i),n.H2i&&i.unbind(f.Events.ChangesSubmitted,n.H2i),n.W2i&&i.unbind(f.Events.ChangesCancelled,n.W2i),t&&i.wpt())},t.prototype.pNi=function(t){var n=this.Mf,i=n.getDataSource(),e=i.kve(t)||{},o="string"==typeof e.value&&!i.GPt(e.value)&&!e.isCross;return!!(e.readonly||e.isGroup||e.isPrimaryKey||o)},t.prototype.jOt=function(t){var n=this.Mf,i=n.getDataSource(),e=i.kve(t)||{};return e.isPrimaryKey},t.prototype.kNi=function(t){var n,i,e,o=1;for(n=0;n<t.length;n++)(i=t[n].caption)&&o<(e="string"==typeof i?1:i.length)&&(o=e);return o},t.prototype.UNi=function(){var t=0,n=this.hNi;return n&&(t=n.rowCount),t},t.prototype.QNi=function(t,n,i){var e=this.Mf,r=e.getRowCount(o.SheetArea.colHeader),u=t+i;r!==u&&(e.setRowCount(t+i,o.SheetArea.colHeader),e.ki(o.Events.TableSheetColHeaderRowCountChanged,null,!0)),e.setColumnCount(n,o.SheetArea.colHeader)},t.prototype.RNi=function(t){var n,i,e=this.Mf,r=e.getRowCount(o.SheetArea.colHeader),u=e.getColumnCount(o.SheetArea.colHeader);for(e.clear(0,0,r,u,o.SheetArea.colHeader,o.StorageType.data|o.StorageType.style),e.Cb.clear(o.SheetArea.colHeader),n=0;n<r;n++)if(e.setCellType(n,-1,void 0,o.SheetArea.colHeader),t)for(i=0;i<u;i++)this.wDi(n,i,null,_,o.SheetArea.colHeader)},t.prototype.PNi=function(){var t,n,i,e,r,u,c,a,s,l,f,d,h,v,g=this.hNi,M=this.Mf;if(g){for(t=M.Ut,n=o.SheetArea.colHeader,i=M.Z_(-1,-1,n),t.W_(n).fromJSON(g.data,!0,{}),M.setStyle(-1,-1,i,n),t.Q_(!0,n).fromJSON(g.rows),r=(e=t.K_(n)).spans,g.spans&&g.spans.length?e.fromJSON(g.spans):r&&r.length&&e.removeSpan(0,r.length),(u=g.data.dataTable)&&(M.Xbt=g.sharedFormulas,(0,I.dMt)(M,u,M.getRowCount(n),M.getColumnCount(n),n)),(c=new o.CellTypes.Text).isImeAware=function(){return!1},a=0;a<g.rowCount;a++)M.getCell(a,-1,n).cellType(c).locked(!1);for(s=this.UNi(),l=t.getColumnCount(),t.setFreeAreaRowCount(s,n),t.setFreeAreaColumnCount(l,n),g.columnCount=l,f=0;f<l;f++)if(d=M.Z_(-1,f,n))for(a=0;a<s;a++)(h=M.Z_(a,f,n))?((v=new o.Style).h5(d),v.h5(h),t.setStyle(a,f,v,n)):t.setStyle(a,f,d,n)}else t=M.Ut,n=o.SheetArea.colHeader,t.setFreeAreaRowCount(0,n)},t.prototype.YNi=function(t,n,i,e){var o,r,u,c,a=this.hNi;a&&((o=a.data)||(o=a.data={}),(r=o.dataTable)||(r=o.dataTable={}),(u=r[t])||(u=r[t]={}),(c=u[n])||(c=u[n]={}),c[i]=e)},t.prototype.WNi=function(t,n){var i,e=this.rNi;for(p(t)&&(t=t.join(",")),p(n)&&(n=n.join(",")),i=0;i<e.length;i++)e[i].ubt===t&&(e[i].ubt=n),e[i].sbt===t&&(e[i].sbt=n)},t.prototype.HNi=function(t){var n,i,e,o,r,u,c=this.Mf,a=c.getDataSource();if(a&&(n=a.kve(t))){for(i=[],e=1,o=c.Ut.getFreeAreaRowCount(e),r=c.getRowCount(e);o<r;o++)i.push(c.getText(o,t,e));this.WNi(n.caption,i),u=i.every((function(t,n,i){return 0===n||t===i[0]})),n.caption=u?i[0]:i}},t.prototype.VNi=function(t,n,i){var e,r,u,c,a,s,l,f,d=this;if(t>1){for(r=(e=this.Mf).getRowCount(o.SheetArea.colHeader),u=function(t){return"string"==typeof t&&bt(t)?d.Nuo(t):t},c=0;c<i.length;c++)if(a=i[c].caption||u(i[c].value)){for(s="string"==typeof a?[a]:a,l=0;l<s.length;l++)e.setValue(n+l,c,s[l],o.SheetArea.colHeader);for(f=s[l-1];l<r;l++)e.setValue(n+l,c,f,o.SheetArea.colHeader)}e.autoMerge(new o.Range(n,-1,t,-1),h.AutoMergeDirection.rowColumn,h.AutoMergeMode.restricted,o.SheetArea.colHeader)}},t.prototype.getFilterButtonVisibleFromColumnInfo=function(t,n,i){var o,r=n[t],u=!1!==r.allowSort||!1!==r.allowFilterByValue||!1!==r.allowFilterByList;return x(r.allowSort)&&x(r.allowFilterByValue)&&x(r.allowFilterByList)&&(o=i.getValue(0,t))&&"object"==typeof o&&!e.Common.ct.W0(o)&&x(o._error||o._code)&&(u=!1),u},t.prototype.yze=function(t){var n,i,e=this.Mf.rowFilter();return e&&e.Dit(t)},t.prototype.zze=function(t){var n=this,i=n.Mf,e={tableName:_,colIndex:t};i.Qy().execute({cmd:"clearFilter",sheetName:i.name(),cmdOption:e})},t.prototype.pze=function(t){var n,i,e=this.Mf.rowFilter();return e&&e.getSortState(t)!==o.SortState.none},t.prototype.xze=function(t){var n,i=this,e=i.Mf,o=e.rowFilter();return o.Sze(t),(n=i.getDataView()).UGe(),n.PGe(n.kve(t))},t.prototype.Lze=function(t){var n=this,i=n.fDi(t),e=n.getDataView();return i&&(i.GFt||e.$Lt(e.ife(i),!0))},t.prototype.Oze=function(t){var n,i=this.getDataView();return i.uii(i.kve(t))},t.prototype.iGe=function(t,n){var i=this,e=i.getDataView();return!e.UFe(t)&&(n=n||e.kve(t),i.suspendPaint(),e.iUe(n,(function(){var o,r,u,c,a,s,l=e.Dit();i.yze(t)&&i.zze(t),o=!l||!e.Dit(),r=!1,u=!1,i.pze(t)&&(u=!0,r=i.xze(t),o||!r||l||(o=!0)),c=!1,i.Lze(t)&&(c=i.Oze(t)),u&&e.Dit()&&(e.dFt(),e.vFt(!0)),o&&u&&e.gFt(),c?(a=e.autoSort,e.autoSort=!0,i.removeGroupBy(),e.autoSort=a):(e.VGe(!0),i.groupBy(e.groupBy()),e.zGe(!0)),i.Zze(t)?(i.togglePinnedColumns([t]),s=i.bze(i.tDi(n)),i.fno(s)):i.fno(t)}),(function(){i.refreshBindColumns(),i.Seo(),i.kze(t)})),i.resumePaint(),!0)},t.prototype.fno=function(t,n,i){void 0===n&&(n=1);var e=this;e.Mf.KBe(t,n,_,i),!1!==i&&e.qni.addUndoChanges({type:D.TableSheetUndoType.RemoveColumns,oldCol:t,oldCount:n})},t.prototype.JEe=function(t,n,i){var e=this,o=e.getDataView();return(i=i||o.getColumn(t))&&n&&gt(n,i),!(o.UFe(t)||!e.Ceo(n,i))&&(e.suspendPaint(),o.aUe(i,n,(function(n){n.isFilterUpdated?(e.zze(t),o.VGe(!0),e.groupBy(o.groupBy()),o.zGe(!0)):n.isSortUpdated?(o.VGe(!0),e.groupBy(o.groupBy()),o.zGe(!0)):n.isGroupUpdated&&(o.VGe(!0),o.zGe(!0))}),(function(){e.refreshBindColumns()})),e.resumePaint(),!0)},t.prototype.qFe=function(t,n){var i,e,o,r=this;return!!r.Ceo(n)&&(i=r.getDataView(),r.suspendPaint(),e=i.hur(t),o=r.Mf.getColumnCount()>e,i.JGe(t,n,(function(){o&&r.dno(e)}),(function(){r.refreshBindColumns(),o&&r.Seo()})),r.resumePaint(),!0)},t.prototype.dno=function(t,n,i){void 0===n&&(n=1);var e=this;e.Mf.WBe(t,n,_,{clearUndoNotInCommand:i}),!1!==i&&e.qni.addUndoChanges({type:D.TableSheetUndoType.AddColumns,oldCol:t,oldCount:n})},t.prototype.FPt=function(t){var n;return null===(n=this.getDataView())||void 0===n?void 0:n.FPt(t,!0)},t.prototype.Ceo=function(t,n){var i,e,o,r,u=this,c=(0,f.isNullOrEmpty)(t.type);return!!(!c||n&&(0,f.isNullOrEmpty)(n.type))&&(i="Formula"===t.type&&!bt(t.value),e="Formula"!==t.type&&bt(t.value),o="Lookup"===t.type&&!u.FPt(t.value),r="Lookup"!==t.type&&!bt(t.value)&&(mt(t.value)||u.FPt(t.value)),!(i||e||o||r)&&(!n||u.getDataView().Zcr(n,t)))},t.prototype.isDisableDefineColumn=function(t){return this.UFe(t)},t.prototype.UFe=function(t){var n=this,i=n.getDataView();return i.UFe(t)},t.prototype.Iuo=function(t,n){return t&&bt(t)?this.getDataView().getTable().getFormulaWithoutCulture(t,n):t},t.prototype.getFormulaWithCulture=function(t,n){return this.Nuo(t,n)},t.prototype.Nuo=function(t,n){return t&&bt(t)?this.getDataView().getTable().getFormulaWithCulture(t,n):t},t.prototype.refreshBindColumns=function(t,n){var i,e,r,u,c,a,f,d,h,v,g,M,I,N,D,b,m,C,w,y,A,j,T,z,p,L,S,O=this.Mf,k=n||O.getDataSource();if(k){for(O.suspendPaint(),O.suspendEvent(),(i=O.conditionalFormats)&&i.clearRule(),O.b8&&O.b8.d5(),e=k.getColumnInfos(),r=this.kNi(e),u=this.UNi(),this.QNi(r,e.length,u),this.RNi(t),this.PNi(),this.VNi(r,u,e),c=O.rowFilter(),this.cno(O,c,e),a=[[]],f=O.k9(o.SheetArea.viewport),d=e.some((function(t,n){return!x(t.headerFit)&&"normal"===t.headerFit&&O.Lt(n)!==o.ColumnHeaderFitMode.normal})),h=0;h<e.length;h++){if(M=void 0,I=void 0,N=void 0,"string"==typeof(g=(v=e[h]).value)?bt(g)?I=g:M=g:"function"==typeof g&&(N=g.name),D={name:M||I||N},b=v.caption,1===r&&b?D.displayName=ft(b):I&&!b&&(D.displayName=this.Nuo(I)),x(v.width)||(D.width=v.width),x(v.visible)||(D.visible=v.visible),O.bindColumn(h,D),this.JNi(-1,h,v.headerStyle,o.SheetArea.colHeader),m=v.style,this.Teo(!0)&&h===f&&(C=v.zno)&&((m=this.Lno(m)).cellType=C),this.JNi(-1,h,m),O.qgt.nM=k.gLt,O.qgt.getField=k.gLt.POt.getField,v.validator&&(w=v.validator instanceof s.DefaultDataValidator?v.validator:Ut(v.validator),O.setDataValidator(-1,h,w)),(y=v.conditionalFormats)&&i)for(A=[new o.Range(-1,h,-1,1)],j=0,T=y;j<T.length;j++)(z=T[j])instanceof l.ConditionRuleBase?(z.ranges([new o.Range(-1,h,-1,1)]),O.conditionalFormats.addRule(z)):Gt(i,z,A);p=this.pNi(h),O.getRange(-1,h,-1,1).locked(p),O.getRange(-1,h,-1,1,o.SheetArea.colHeader).locked(!1),L=this.getFilterButtonVisibleFromColumnInfo(h,e,O),c.filterButtonVisible(h,L),v.isCross?a[0].push(h):a[0].length>0&&a.unshift([])}for(h=0;h<e.length;h++)v=e[h],x(v.headerFit)||this.FNi(h,v.headerFit);d&&(S=this.zuo())&&(O.defaults.colHeaderRowHeight=S),this.XNi(),this.tLi(),O.resumeEvent(),O.resumePaint(),this.KNi(a),this.UMi&&this.UMi.updatePanelLayout(),this.applyStyleRules()}},t.prototype.zuo=function(){var t,n,i,e,r,u,c,a,s,l=this.Mf,f=l.Ut.Q_(!1,o.SheetArea.colHeader);if(f&&(t=f.infos)&&t.length){for(n=t.map((function(t){var n;return null!==(n=t.columnHeaderFitMode)&&void 0!==n?n:o.ColumnHeaderFitMode.normal})),i=!1,e=1,r=0,u=0;u<n.length;u++)(c=n[u])===o.ColumnHeaderFitMode.normal?r>0&&(e=Math.max(e,r+1),r=0):c===o.ColumnHeaderFitMode.vertical?i=!0:c===o.ColumnHeaderFitMode.stack&&r++;return r>0&&(e=Math.max(e,r+1)),a=30,s=i?2*a:a,Math.max(s,e*a,this.Tts())}},t.prototype.pno=function(){var t,n,i,e,r=this.Mf,u=r.getDataSource();if(u&&u.tdr){for(r.suspendPaint(),t=0;t<u.tdr.length;t++)(n=u.tdr[t]).K1r&&r.KBe(t,1,o.SheetArea.viewport,!1);for(u.tdr=_,i=u.getColumnInfos(),t=0;t<i.length;t++)(e=i[t]).ume&&r.WBe(t,1,o.SheetArea.viewport,{clearUndoNotInCommand:!1});r.resumePaint()}},t.prototype.cno=function(t,n,i){n.Fct((0,o.Ec)(-1,0,-1,i.length)),t.lct=J},t.prototype._Ni=function(t){var n,i,e,o,r=this;return r.qNi()&&(n=r.getDataView(),Ct(e=(i=r.Mf.rowFilter()).tAi[t])&&(o=n.getHierarchyNode(e,!0),!x(o)))?o.level:0},t.prototype.$Ni=function(){return this.getDataView().getHierarchyColumnIndex(!0)},t.prototype.isShowHierarchyOutlineColumn=function(t){return this.qNi(t)},t.prototype.qNi=function(t){var n,i=this.getDataView();return!x(i)&&i.hasHierarchyColumn(t)},t.prototype.isHierarchyParent=function(){var t,n=this.getDataView();return n&&n.isHierarchy()&&"Parent"===n.gLt.getHierarchyType()},t.prototype.iDi=function(t,n){var i,e,o=this,r=o.getDataView();if(!x(r)&&!x(n)&&(i=r.kve(n),!x(i)))return e=o.tDi(i),!x(r.h7t(e,t))},t.prototype.wNi=function(){var t,n,i=this,e=i.Mf;i.qNi()&&(n=(t=i.getDataView().SPt(!0)).options,i.suspendPaint(),e.outlineColumn.options(st(st({columnIndex:t.index,showIndicator:!0},n),{collapseIndicator:n&&n.collapseIndicator?n.collapseIndicator:g.ARROW_RIGHT,expandIndicator:n&&n.expandIndicator?n.expandIndicator:g.ARROW_DOWN})),e.showRowOutline(!1),e.rowOutlines.KMi=!0,i.resumePaint())},t.prototype.Rno=function(t){var n,i=this,e=i.Mf,o=i.getDataView(),r=o.visibleLength();for(i.suspendPaint(),i.options.allowAddNew&&e.getCell(r,t).textIndent(_),n=0;n<r;n++)e.getCell(n,t).textIndent(_);i.resumePaint()},t.prototype.nDi=function(){var t,n,i,e,o,r=this,u=r.Mf;if(r.qNi()){for(n=(t=r.getDataView()).visibleLength(),i=!1,e=0;e<n;e++)u.outlineColumn.getCollapsed(e)&&((o=t.getHierarchyNode(e)).eDi=!0,i=!0);return i}},t.prototype.jze=function(){var t,n,i,e,o=this,r=o.Mf;if(!o.qNi())return{};for(t={},i=(n=o.getDataView()).visibleLength(),e=0;e<i;e++)t[e]=r.rowOutlines.getCollapsed(e);return t},t.prototype.vze=function(t){var n,i,e,o=this,r=o.Mf;if(o.qNi())for(i=(n=o.getDataView()).visibleLength(),o.expandAllHierarchyLevels(),o.XNi(),e=0;e<i;e++)r.outlineColumn.setCollapsed(e,t[e])},t.prototype.oDi=function(){var t,n,i,e,o=this,r=o.Mf;if(o.qNi())for(n=(t=o.getDataView()).visibleLength(),i=0;i<n;i++)(e=t.getHierarchyNode(i)).eDi&&(e.eDi=!1,r.outlineColumn.setCollapsed(i,!0))},t.prototype.uDi=function(t){var n=this;n.qNi()&&(n.suspendPaint(),!1!==t&&n.expandAllHierarchyLevels(),n.XNi(),!1!==t&&n.oDi(),n.resumePaint())},t.prototype.XNi=function(){var t,n,i,e,o,r,u,c,a,s=this,l=s.Mf;if(s.qNi()){for(t=s.getDataView(),n=s.$Ni(),s.suspendPaint(),i=t.visibleLength(),(e=l.outlineColumn.options())&&!x(e.columnIndex)&&s.Rno(e.columnIndex),s.options.allowAddNew&&l.getCell(i,n).textIndent(_),o=0;o<i;o++)r=t.getHierarchyNode(o),u=x(r)?_:r.level,l.getCell(o,n).textIndent(u);if(l.outlineColumn.refresh(),(c=t.SPt())&&c.options&&c.options.showCheckbox){for(o=0;o<i;o++)r=t.getHierarchyNode(o),a=!x(r)&&r.cDi,l.outlineColumn.ect(o,a);l.outlineColumn.refresh()}s.resumePaint()}},t.prototype.rDi=function(t){var n=this;n.suspendPaint(),n.uDi(!!t),n.resumePaint()},t.prototype.aDi=function(t){var n=this;return!(!n.qNi()||!Ct(t))&&n.Mf.outlineColumn.getCheckStatus(t)},t.prototype.sDi=function(){var t,n,i,e,o=this;if(o.qNi())for(t=o.Mf,i=0,e=(n=o.getDataView()).visibleLength();i<e;i++)n.getHierarchyNode(i).cDi=t.outlineColumn.getCheckStatus(i)},t.prototype.getHierarchyMaxLevel=function(){return this.MDi()},t.prototype.MDi=function(){var t,n,i=this,e=i.getDataView(),o=e.visibleLength(),r=-1;for(t=0;t<o;t++)(n=e.getHierarchyNode(t).level)>r&&(r=n);return r},t.prototype.showHierarchyItems=function(t){this.IDi(t,!1)},t.prototype.hideHierarchyItems=function(t){this.IDi(t,!0)},t.prototype.IDi=function(t,n){var i=this,e=i.Mf;i.qNi()&&(e.suspendPaint(),t.forEach((function(t){i.gDi(t)&&e.outlineColumn.setCollapsed(t,n)})),e.outlineColumn.refresh(),e.resumePaint())},t.prototype.NDi=function(t){var n,i,e,o=this;if(o.qNi()){for(n=o.Mf,i=o.lDi(),n.suspendPaint(),e=0;e<i;e++)n.outlineColumn.setCollapsed(e,t);n.outlineColumn.refresh(),n.resumePaint()}},t.prototype.expandAllHierarchyLevels=function(){this.NDi(!1)},t.prototype.collapseAllHierarchyLevels=function(){this.NDi(!0)},t.prototype.lDi=function(){var t,n,i;return this.getDataView().visibleLength()},t.prototype.gDi=function(t){return t<this.lDi()},t.prototype.expandHierarchyLevel=function(t){var n,i,e,o,r,u=this;if(u.qNi()){for(n=u.Mf,i=u.getDataView(),e=u.lDi(),u.suspendPaint(),o=0;o<e;o++)(r=i.getHierarchyNode(o).level)<t?n.outlineColumn.setCollapsed(o,!1):n.outlineColumn.setCollapsed(o,!0);n.outlineColumn.refresh(),u.resumePaint()}},t.prototype.promoteHierarchyLevel=function(t){var n=this;n.qNi()&&(n.getDataView().promoteHierarchyLevel(t),n.rDi())},t.prototype.demoteHierarchyLevel=function(t,n){var i=this;i.qNi()&&(i.getDataView().demoteHierarchyLevel(t,n),i.rDi())},t.prototype.moveUp=function(t){var n,i=this,e=i.getDataView();e.hasHierarchyRowOrder()&&(i.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),n=i.nDi(),e.moveUp(t),i.rDi(n),i.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.moveDown=function(t){var n,i=this,e=i.getDataView();e.hasHierarchyRowOrder()&&(i.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),n=i.nDi(),e.moveDown(t),i.rDi(n),i.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.hasHierarchyRowOrder=function(){return this.qX()},t.prototype.qX=function(){var t,n;return this.getDataView().hasHierarchyRowOrder()},t.prototype.addHierarchyItemBefore=function(t,n){var i,e=this,o=e.Mf,r=e.getDataView();r.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=e.nDi(),o.ffe(t,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),r.addHierarchyItemBefore(t,n||{}),e.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.addHierarchyItemAfter=function(t,n){var i,e,o=this,r=o.Mf,u=o.getDataView();u.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=o.nDi(),e=u.addHierarchyItemAfter(t,n||{}),r.ffe(t+e,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),o.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.addHierarchyItemAbove=function(t,n){var i,e=this,o=e.Mf,r=e.getDataView();r.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=e.nDi(),o.ffe(t,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),r.addHierarchyItemAbove(t,n||{}),e.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.addHierarchyItemBelow=function(t,n){var i,e,o=this,r=o.Mf,u=o.getDataView();u.hasHierarchyRowOrder()&&(this.qni.addUndoChanges({type:D.TableSheetUndoType.StoreTreeData}),i=o.nDi(),e=u.addHierarchyItemBelow(t,n||{}),r.ffe(t+e,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),o.uDi(i),this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyTreeData}))},t.prototype.KNi=function(t){var n,i,e,r=this.Mf,u=this.cNi||[[]];for(r.suspendPaint(),n=0;n<u.length;n++)(i=u[n]).length>0&&r.cellStates.getCollection(o.CellStatesType.readonly)&&(e=new o.Range(-1,i[0],-1,i.length),r.cellStates.remove(e,o.CellStatesType.readonly));for(this.cNi=t,n=0;n<t.length;n++)(i=t[n]).length>0&&r.cellStates.add(new o.Range(-1,i[0],-1,i.length),o.CellStatesType.readonly,new o.Style({backColor:"#e6e6e6"}));r.resumePaint()},t.prototype.applyStyleRules=function(){var t,n,i,e,r,u,c,a,s,l,f,d,h=this.Mf,v=h.getDataSource(),g=v.getStyleRules();if(g)for(n in t=h.conditionalFormats,this.clearStyleRuleConditionalFormats(),g)if(g[n]&&(e=(i=g[n]).style,r=i.rule,e&&r))if(u=void 0,u=e instanceof o.Style?e:new o.Style(e),c=r.formula,a=r.state,s=r.direction,l=r.area,f=[new o.Range(-1,-1,-1,-1)],d={},c)Gt(t,d={ruleType:"formulaRule",formula:c,style:u},f);else if(Ct(a)&&Ct(s)){if(1!==s&&3!==s||this.addRowStateRule(a,u),2===s&&l===o.SheetArea.colHeader){this.addColumnHeaderStateRule(a,u);continue}2!==s&&3!==s||this.addColumnStateRule(a,u)}},t.prototype.DDi=function(t){var n,i,e,o,r,u,c,a,s,f;if(t&&(i=(n=this.Mf).conditionalFormats))for(o=(e=i.getRules()).length-1;o>=0;o--)u=(r=e[o]).ruleType(),a=(c=r.ranges())[0],s=u===l.RuleType.rowStateRule||u===l.RuleType.columnStateRule,f=u===l.RuleType.formulaRule&&-1===a.col&&-1===a.colCount,(s||f)&&t(r,i)},t.prototype.clearStyleRuleConditionalFormats=function(){this.DDi((function(t,n){n.removeRule(t)}))},t.prototype.refreshStyleRuleCache=function(){this.DDi((function(t,n){n.RX(t),n.fE(t)}))},t.prototype.fDi=function(t,n){var i,e=this.Mf,o=e.getDataSource();return o&&(i=o.kve(t,!0,n))||null},t.prototype.bze=function(t){var n,i,e=this,o=e.endColumn();for(i=0;i<o+1;i++)if((null===(n=e.fDi(i))||void 0===n?void 0:n.name)===t)return i;return null},t.prototype.dDi=function(t){return this.tDi(this.fDi(t))},t.prototype.tDi=function(t){if(t){var n=t.value;if("string"==typeof n)return n;if("function"==typeof n)return n.name}},t.prototype.Lno=function(t){var n,i=new o.Style;return t&&(this.hDi(t.dropDowns),n=t instanceof o.Style?t:new o.Style(t),i.h5(n,!0),this.Deo(i)&&this.jeo(i)),i},t.prototype.JNi=function(t,n,i,e){var r,u,c,a,s,l,f,d,h=this.Mf;if(x(e)||e===o.SheetArea.viewport?e=3:i&&(i.cellType&&"98"!==i.cellType.typeName&&"107"!==i.cellType.typeName&&delete i.cellType,delete i.tabStop,delete i.imeMode,delete i.cellButtons,delete i.dropDowns,delete i.mask),(r=this.Lno(i)).dropDowns&&r.dropDowns.length>0)for(c=0,a=(u=r.dropDowns).length;c<a;c++)(s=u[c].option)&&s.dataSource&&"string"==typeof s.dataSource&&(l=this.getParent(),f=s.dataSource,(d=l&&l.yC)&&d.addUsedCustomName&&d.getCustomName(f)&&d.addUsedCustomName(f));h.setStyle(t,n,r,e)},t.prototype.Ywt=function(t,n,i){var e,o=this.getDataView();return o&&o.Ywt(t,n,i)},t.prototype.nMt=function(t,n){var i,e=this.getDataView();return e&&e.nMt(t,n)},t.prototype.hDi=function(t){var n=this,i=n.Mf,e=i.parent,o=e.dataManager();t&&t.forEach((function(t){var n,i,e,r=t.option;r&&r.dataSource&&(n=r.dataSource,r.dataSource instanceof f.View&&(n=r.dataSource={datamanagerTable:n.tableName,columns:n.deleteColumnsProperties(n.yLt)}),n.datamanagerTable&&(i=o.tables[n.datamanagerTable],n.viewName=n.datamanagerTable+Math.random().toString(16).substring(1,8),e=i.GRt(n.viewName,n.columns),n.columns=e.deleteColumnsProperties(n.columns),e.fetch()))}))},t.prototype.enablePinRow=function(){var t,n,i,e,o,r=this,u=r.Mf,c=10,a=r.groupBy(),s=a&&Array.isArray(a)&&a.length>0,l=r.qNi(),f=r.getDataView(),d=f.lFt,h=u.getSelections(),v=d&&d.length,g=0,M=0;for(t=0,n=h;t<n.length;t++)(i=n[t])&&(e=i.row,M+=o=i.rowCount,(e=-1===e?0:e)<v&&(g+=Math.min(o+e,v)-e));return!(s||l||v-g+(M-g)>c)},t.prototype.enablePinColumn=function(){var t,n,i,e,o,r=this,u=r.Mf,c=10,a=r.groupBy(),s=a&&Array.isArray(a)&&a.length>0,l=u.getActiveColumnIndex(),f=r.getDataView(),d=f&&f.kve(l),h=f.CLt,v=u.getSelections(),g=h&&h.length,M=0,I=0;for(t=0,n=v;t<n.length;t++)(i=n[t])&&(e=i.col,I+=o=i.colCount,(e=-1===e?0:e)<g&&(M+=Math.min(o+e,g)-e));return!(s||d&&d.isCross||g-M+(I-M)>c)},t.prototype.FNi=function(t,n){var i,e,r=this.Mf;switch(n){case"vertical":i=o.ColumnHeaderFitMode.vertical;break;case"stack":i=o.ColumnHeaderFitMode.stack;break;default:i=o.ColumnHeaderFitMode.normal}e=r.defaults.colHeaderRowHeight,r.GB(t,i),e!==r.defaults.colHeaderRowHeight&&this.qni.addUndoChanges({type:D.TableSheetUndoType.DefaultRowHeightChanged,oldData:{size:e,sheetArea:o.SheetArea.colHeader},newData:{size:r.defaults.colHeaderRowHeight,sheetArea:o.SheetArea.colHeader}})},t.prototype.getDataView=function(){return this.Mf.getDataSource()},t.prototype.setDefaultRowHeight=function(t,n){var i=this.Mf.defaults,e=i.rowHeight;n===o.SheetArea.colHeader?(e=i.colHeaderRowHeight,i.colHeaderRowHeight=t):i.rowHeight=t,e!==t&&this.qni.addUndoChanges({type:D.TableSheetUndoType.DefaultRowHeightChanged,oldData:{size:e,sheetArea:n},newData:{size:t,sheetArea:n}})},t.prototype.getDefaultRowHeight=function(t){var n=this.Mf.defaults;return x(t)&&(t=3),t===o.SheetArea.corner||t===o.SheetArea.colHeader?n.colHeaderRowHeight:n.rowHeight},t.prototype.Tts=function(){return 30},t.prototype.MNi=function(){var t;this.gNi=[ut]},t.prototype.rowActionOptions=function(t){var n,i=this;return p(t)&&(n=lt([],this.gNi,!0),i.clearRowActions(),i.gNi=i.DNi(t),i.rebuildRowActionOptions(),i.NNi(),i.bDi(),this.qni.addUndoChanges({type:D.TableSheetUndoType.RowAction,oldData:n,newData:this.gNi})),i.DNi()},t.prototype.rebuildRowActionOptions=function(){var t,n,i,e=this,o=e.gNi,r=Bt(o,S);Rt(r)&&(t=rt[O],n=rt[k],i=rt[E],t.icons=r.icons.slice(0,1),(t=z(t)).command=r.command,n.icons=r.icons.slice(1,4),i.icons=r.icons.slice(4,5),r.subActionOptions=[e.nLi(t),e.nLi(n),e.nLi(i)])},t.prototype.NNi=function(){var t=this,n=t.gNi;x(t.getParent())||o.Commands.iMi(t.getParent().commandManager(),n)},t.prototype.tLi=function(){var t,n,i,e=this,o=e.getDataView();if(o)for(e.eLi={},t=o.getColumn(),n=function(n){var i=t[n],r=i.value;if("string"!=typeof r||e.eLi.hasOwnProperty(r))return"continue";Object.defineProperty(e.eLi,r,{get:function(){return o.Nve(e.eLi.oLi,i)}})},i=0;i<t.length;i++)n(i)},t.prototype.nLi=function(t){return t.name===O?t.iLi=Xt:t.name===k?t.iLi=Kt:t.name===E&&(t.iLi=qt),t},t.prototype.bDi=function(){var t,n,i,e,r,c,a=this,s=a.Mf,l=a.gNi,f=l.length,h=a.options.showRowNumber?1:0,v=1;for(s.suspendPaint(),s.setColumnCount(v+f+h,o.SheetArea.rowHeader),t=a.groupOutlinePosition(),s.setColumnVisible(0,t===u.GroupOutlinePosition.rowHeader||t===u.GroupOutlinePosition.groupCellAll,o.SheetArea.rowHeader),a.tLi(),n={isPinnedRow:function(t){return a.ADi(t)},isInsertedRow:function(t){return a.vDi(t)},isUpdatedRow:function(t){return a.jDi(t)},isNewRow:function(t){return a.zDi(t)},hasWarning:function(t){return a.CDi(t)},getDataItem:function(t){return a.eLi.oLi=t,a.eLi}},i=0;i<f;i++)r=v+i,wt((e=l[i]).tooltip)&&a.wDi(-1,r,e.tooltip),a.nLi(e),(c=new d.RowAction(e,n)).build(a.yDi(e)),s.setCellType(-1,r,c,o.SheetArea.rowHeader);s.resumePaint()},t.prototype.clearRowActions=function(){var t,n,i,e=this,r=e.Mf,u=e.gNi,c=u.length,a=1;for(r.suspendPaint(),t=0;t<c;t++)i=a+t,(n=u[t]).tooltip&&e.wDi(-1,i,null),r.setStyle(-1,i,null,o.SheetArea.rowHeader);r.resumePaint()},t.prototype.yDi=function(t){var n=this,i=t.name===k||t.name===S,e=t.name===U||t.name===G,o=n.mDi.bind(n),r=n.LDi.bind(n);return i?{enabled:o}:e?{enabled:r,visible:o}:{enabled:o,visible:o}},t.prototype.tIe=function(t){var n;return!this.jFt||this.VDi(t)},t.prototype.Zze=function(t){var n,i;return t<this.Mf.frozenColumnCount()},t.prototype.ADi=function(t){var n,i;return t<this.Mf.frozenRowCount()},t.prototype.xDi=function(t){for(var n=this,i=n.gNi,e=1,o=0;o<i.length&&i[o].name!==t;o++);return o===i.length?-1:e+o},t.prototype.SDi=function(){var t=this,n=t.xDi(E);return-1===n&&(n=t.xDi(S)),n},t.prototype.zA=function(t){return t.sheetName=this.name(),this.getParent().commandManager().execute(t)},t.prototype.CDi=function(t,n){var i,e=this;if(Ct(t))return(i=e.SDi())===(n=Ct(n)?n:i)&&!x(e.ZDi(t))},t.prototype.ZDi=function(t){var n,i=this.getDataView();return i&&i.getErrorInfo(t)},t.prototype.ODi=function(t){var n,i=this.ZDi(t);if(!x(i))return i.reason},t.prototype.wDi=function(t,n,i,e,r){void 0===r&&(r=o.SheetArea.rowHeader);var u,c=this.Mf;e&&c.getCell(t,n,r).tag(i),c.Ut.$n(t,n,i,r)},t.prototype.Deo=function(t){return t&&t.cellType&&"8"===t.cellType.typeName},t.prototype.jeo=function(t){var n=t.cellType;n.Bto=!0,n.AQe=!0,n._Qe=function(t,n,i){var e=this,o=t.NMi.getDataView(),r=o&&o.BQe(n,i);return r?{id:e._id,visited:r.visited}:J},n.DQe=function(t,n,i){var e=t.NMi.getDataView();e&&e.GQe(n,i,{visited:!0})}},t.prototype.Aeo=function(t){var n,i=this,e=i.getDataView();if(e){if(wt(t)&&(t=i.bze(t),x(t)))return;if(n=e.kve(t,!0,!0),x(n))return;return(n=st({},n)).caption=ft(n.caption),bt(n.value)&&(n.formula=n.value,"formula"!==n.dataType||(0,f.isNullOrEmpty)(n.name)||bt(n.name)?n.value=J:n.value=n.name),n}},t.prototype.Eze=function(t,n,i){var e,r,u=this,c=u.getParent();c.iy(),u.wze&&u.wze.close(),e=Ct(i)&&u.getDataView()?u.Aeo(i):{},t-=(r=c.uC()).left,n-=r.top,u.wze=new b.Uze(c.j2(),o.util.gi(c&&c.Ti),{columnTypeItems:u.options.columnTypeItems,column:e,getSheet:function(){return u.Mf},getLookup:function(t){var n;return(null===(n=u.getDataView())||void 0===n?void 0:n.jGe(t))||[]},getSampleValue:function(t){var n,i,e,o,r,c=u.getDataView();if(c){if(bt(i=t.formula||t.value))return u.aji(i);if(o=function(){for(var i=0,e=c.visibleLength();i<e&&(n=c.ufe(t,i),x(n));i++);},(e=mt(t.value))&&(o(),!x(n)))return n;if("number"===(r=t.dataType||c.OGe(t)))return 0;if("date"===r)return new Date;!e&&o()}return n},getColumnBy:function(t){return u.Aeo(t)},getColumnFields:function(){var t,n,i,e,o,r=u.getDataView(),c=[];if(r)for(n=0,i=t=r.getColumnInfos(!0,!0);n<i.length;n++)(o=(e=i[n]).value)&&"string"==typeof o&&-1===o.indexOf("=")&&!e.cross&&c.push(o);return c},getTriggerFields:function(){var t,n,i,e,o,r=u.getDataView(),c=[];if(r)for(n=0,i=t=r.getColumnInfos(!0,!0);n<i.length;n++)!(o=(e=i[n]).value)||"string"!=typeof o||-1!==o.indexOf("=")||-1!==o.indexOf(".")||e.cross||e.isRelationship||c.push(o);return c},isRelationship:function(t){var n=u.getDataView();return n&&n.FPt(t,!0)},onOpening:function(){c.focus(!1)},onOpened:function(){u.getSheet().rt.u2()},onSaving:function(t){var n,e;t.column&&(t.column.caption=dt(t.column.caption)),t.originalColumn&&(t.originalColumn.caption=dt(t.originalColumn.caption)),t.col=i,u.options.submitDefineColumnCommand===nt?!1!==(n=u.zA(t))&&u.wze.close():(t.command=t.cmd,t.cmd=u.options.submitDefineColumnCommand,n=u.zA(t),"function"==typeof t.onCompleted?(e=t.onCompleted,delete t.onCompleted,e((function(n){n&&n.success&&(t.cmd=t.command,u.zA(t)),u.wze&&u.wze.close()}))):!1!==n&&u.wze.close())},onClosed:function(){u.wze=J,c.focus()}}),u.wze.rQ(t,n)},t.prototype.getChanges=function(){var t=this.Mf,n=t.getDataSource();if(n)return n.getChanges()},t.prototype.submitChanges=function(){var t=this,n=this.Mf,i=n.getDataSource();return i?(t.beforeSubmitChanges(),new Promise((function(n){i.submitChanges((function(n,i,e){t.ONi(n,i,e)})).then((function(i){t.ENi(i),n()}))}))):Promise.resolve()},t.prototype.beforeSubmitChanges=function(){},t.prototype.ONi=function(t,n,i){var e=this,o=e.Mf;"delete"===i&&o.ffe(t,1,3,{rowExpand:!1,clearUndoNotInCommand:!1})},t.prototype.ENi=function(t){var n=this,i=n.Mf,e=i.getDataSource(),o=e.visibleLength()+(n.options.allowAddNew?1:0);i.setRowCount(o),i.repaint()},t.prototype.cancelChanges=function(){var t,n,i,e=this.Mf,o=e.getDataSource();o&&(n=(t=o.isDataLengthChanged())||o.isDataRowOrderChanged(),i=(this.getChanges()||[]).some((function(t){return"addColumn"===t.type||"removeColumn"===t.type})),this.beforeCancelChanges(),o.cancelChanges(),this.GNi(o,t,n,i))},t.prototype.beforeCancelChanges=function(){},t.prototype.GNi=function(t,n,i,e){var r,u,c,a=this.Mf;this.suspendPaint(),u=(r=a.getRowCount())-1,c=a.getColumnCount(),a.Ut.clear(0,0,u,c,o.StorageType.data,[]),a.clearPendingChanges({row:0,col:0,rowCount:u,colCount:c,clearType:o.ClearPendingChangeType.dirty|o.ClearPendingChangeType.insert|o.ClearPendingChangeType.delete}),n?(this.uLi(t),this.EDi()):i&&this.EDi(),e?this.refreshBindColumns():this.qNi()&&this.rDi(),this.Teo()&&this.WDi(),this.resumePaint()},t.prototype.EDi=function(){var t,n,i,e,o=this.getDataView(),r=o.autoFilter;if(!r){for(n=(t=this.Mf).rowFilter().Mct.slice(),t.suspendPaint(),i=0;i<n.length;i++)e=n[i],t.Qy().execute({cmd:"clearFilter",sheetName:t.name(),cmdOption:{colIndex:e}});t.resumePaint()}},t.prototype.yy=function(t,n){var i,e=this.Mf;e.getParent().ib.yy(e,t||0,n||0),e.tw()},t.prototype.GDi=function(t){var n=this,i=n.Mf,e=n.uNi;t<e&&e===i.getViewportTopRow(1)&&n.yy(t)},t.prototype.wy=function(t,n){var i,e=this.Mf;e.getParent().ib.wy(e,t||0,n||0),e.ow()},t.prototype.pDi=function(t){var n=this,i=n.Mf,e=n.jIi;t<e&&e===i.getViewportLeftColumn(1)&&n.wy(t)},t.prototype.togglePinnedRows=function(t){var n,i=this.Mf,e=i.getDataSource();if(e&&!this.jFt&&!this.qNi())return this.qni.startAddComboChanges(),n=e.togglePinnedRows(t),this.qni.addUndoChanges({type:D.TableSheetUndoType.PinnedRowsChanged}),this.tze(),this.qni.endAddComboChanges(),n},t.prototype.tze=function(){var t=this.Mf,i=this.Mf.getDataSource().togglePinnedRows();if(-1===i)throw(0,n.getSR)().EXP_TooManyPinRecords;i!==this.uNi&&(this.suspendPaint(),t.frozenRowCount(i),this.GDi(i),this.resumePaint(),this.uNi=i)},t.prototype.togglePinnedColumns=function(t){var n,i,e,o,r,u,c,a=this.Mf,s=a.getDataSource();if(s&&!this.jFt)return n=this.kDi(),(i=t.indexOf(n))>=0&&t.splice(i,1),e=this.UDi(),o=a.rowFilter().BDi(),this.qni.startAddComboChanges(),r=s.togglePinnedColumns(t),this.nze(e,o,r),u=this.UDi(),c=a.rowFilter().BDi(),this.qni.addUndoChanges({type:D.TableSheetUndoType.PinnedColumnsChanged,oldData:{oldFilterColumnsMap:C(u),oldSortColumnsMap:C(c)}}),this.qni.endAddComboChanges(),r},t.prototype.nze=function(t,i,e){var o=null!=e?e:this.Mf.getDataSource().togglePinnedColumns(),r=this.Mf;if(-1===o)throw(0,n.getSR)().EXP_TooManyPinRecords;this.QDi(t),r.rowFilter().RDi(i),this.suspendPaint(),this.refreshBindColumns(),r.frozenColumnCount(o),this.kze(),this.pDi(o),this.resumePaint(),this.jIi=o},t.prototype.UDi=function(){var t,n,i,e,o=this.Mf,r=o.getDataSource(),u=r.oPt,c=o.rowFilter(),a=c&&c.Mct,s={};if(a&&a.length)for(t=-1,n=0,i=a;n<i.length;n++)e=i[n],s[t=u&&u.length?u[e]:e]=e;return s},t.prototype.QDi=function(t){var n,i,e,o,r,u,c=this.Mf,a=c.getDataSource(),s=a.oPt,l=c.rowFilter(),f=l&&l.Mct,d=l&&l.rrt,h={};for(n in t)t.hasOwnProperty(n)&&(e=t[i=+n],(o=s&&s.length>0?s.indexOf(i):i)!==e&&(f[f.indexOf(e)]=o,r=d[e],delete d[e],h[o]=r));for(u in h)h.hasOwnProperty(u)&&(d[u]=h[u])},t.prototype.PDi=function(){var t=this.uNi,n=this.jIi;this.suspendPaint(),t>0&&this.togglePinnedRows(Pt(t)),n>0&&this.togglePinnedColumns(Pt(n)),this.resumePaint()},t.prototype.nPt=function(){var t,n,i;this.Mf.getDataSource().nPt()},t.prototype.nDe=function(){var t,n,i=this,e=i.Mf,o=i.getDataView(),r=e.H3,u=[];if(u=r.J$?Object.keys(r.J$).reduce((function(t,n){var i,e=null!==(i=r.J$[n])&&void 0!==i?i:{},o=e.name||e.dataField;return o&&t.push(o),t}),[]):Object.keys(r.Pq).map((function(t){return r.Pq[t]})),t=o.getColumnInfos().map((function(t){return o.ife(t)})),u.length!==t.length)i.eDe();else for(n=0;n<u.length;n++)if(u[n]!==t[n])return void i.eDe()},t.prototype.WDi=function(t,n,i){var e=this.Mf,o=this.jFt,r=this.lMi,u=e.getDataSource();o&&u.lde(t)&&(this.suspendPaint(),!1!==n&&this.nDe(),this.Mf.icr&&this.Mf.icr(),this.INi.Yeo(this.options.groupLayout.mode),this.INi.Jeo(this.options.groupLayout),this.INi.Hc(u.FFt,e.getRowCount()-1-(this.options.allowAddNew?1:0),e,r,i),this.resumePaint())},t.prototype.groupBy=function(t){var n,i,e=this.Mf,o=e.getDataSource();if(!o||0===arguments.length||!p(t)||this.qNi())return o&&o.groupBy();this.suspendPaint(),e.suspendCalcService(),this.PDi(),this.jFt=!0,n=C(this.lMi),this.lMi=C(t),o.Agr(!this.Teo()),o.groupBy(this.lMi),this.WDi(_,!1),this.eDe(),(i=e.rowFilter())&&i.Gze(),e.resumeCalcService(!1),this.resumePaint(),this.UMi&&this.UMi.updatePanelLayout(),this.qni.addUndoChanges({type:D.TableSheetUndoType.GroupOptions,oldData:n,newData:this.lMi})},t.prototype.eDe=function(t,n){var i,e,r,c,a;void 0===t&&(t=u.GroupLayoutMode.tabular),c=(r=(e=(i=this.Mf).getDataSource()).getColumnInfos()).length,a=r.filter((function(t){return t.isGroup})).length,this.pno(),i.setColumnCount(c),this.refreshBindColumns(n),a>0?(i.Cb.clear(o.SheetArea.viewport),t===u.GroupLayoutMode.tabular&&i.autoMerge((0,o.Ec)(-1,0,-1,a),h.AutoMergeDirection.column,h.AutoMergeMode.restricted)):this.Teo()&&i.Cb.clear(o.SheetArea.viewport)},t.prototype.removeGroupBy=function(){var t,n,i,e=this.Mf,r=e.getDataSource();r&&!this.qNi()&&(t=C(this.lMi),this.jFt=!1,this.lMi=_,this.suspendPaint(),e.suspendCalcService(),this.detailColumnsVisible(!0),r.removeGroupBy(),n=r.getColumnInfos().length,e.setColumnCount(n),this.refreshBindColumns(),e.Cb.clear(o.SheetArea.viewport),this.Mf.icr(),this.INi.L0(e),(i=e.rowFilter())&&i.Gze(),e.resumeCalcService(!1),this.resumePaint(),this.UMi&&this.UMi.updatePanelLayout(),this.qni.addUndoChanges({type:D.TableSheetUndoType.GroupOptions,oldData:t}))},t.prototype.detailColumnsVisible=function(t){var n,i,e,o,r=this.Mf,u=r.getDataSource();if(u){if(n=u.detailColumnsVisible(),0===arguments.length)return n;if((t===n||t||!this.Teo(!0))&&(u.detailColumnsVisible(t),u.BFt)){for(this.suspendPaint(),i=u.getColumnInfos(),e=0;e<i.length;e++)(o=i[e]).isGroup||r.setColumnVisible(e,o.visible);this.HDi(),this.resumePaint()}}},t.prototype.HDi=function(){var t=this.lMi,n=this.detailColumnsVisible();t&&!n&&this.expandGroup(t[t.length-1].field,!1)},t.prototype.groupOutlinePosition=function(t){var n,i;if(0===arguments.length)return this.INi.TMi();n=this.INi.TMi(),i=this.Mf,this.suspendPaint(),this.INi.TMi(i,t),this.resumePaint(),this.qni.addUndoChanges({type:D.TableSheetUndoType.GroupOutlinePosition,oldData:n,newData:t})},t.prototype.Beo=function(t,n){var i,e,o;this.jFt&&(e=(i=this.options.groupLayout).mode,(o=this.getDataView())&&(this.suspendPaint(),t&&(e===u.GroupLayoutMode.tabular?(o.Agr(!0),this.hno()):(0,v.isGroupOutlineCondensedLayout)(e)&&(this.gno(),o.Agr(!1),this.detailColumnsVisible()||this.detailColumnsVisible(!0))),this.WDi(_,!1,n),this.eDe(e,t),this.resumePaint()))},t.prototype.bno=function(){var t,n,i=this.getDataView(),e=0;if(i)for(t=i.getColumn();e<t.length&&(n=t[e]).isGroup;e++);return e},t.prototype.gno=function(){var t=this;t.fno(0,t.bno(),!1)},t.prototype.hno=function(){var t=this;t.dno(0,t.bno(),!1)},t.prototype.Seo=function(){this.Teo(!0)&&(this.WDi(),this.qni.addUndoChanges({type:D.TableSheetUndoType.ResetGroupOutline}))},t.prototype._to=function(){return this.options.groupLayout},t.prototype.Teo=function(t){return(!t||this.jFt)&&(0,v.isGroupOutlineCondensedLayout)(this.keo())},t.prototype.$eo=function(){return(0,v.isGroupCondensedLayout)(this.keo())},t.prototype.keo=function(){var t=this._to();return t&&Mt(t.mode)},t.prototype.Jto=function(){var t=this._to();return t&&It(t.position)},t.prototype.Heo=function(){return"footer"!==this.Jto()},t.prototype.expandGroup=function(t,n){var i,e,o=this.lMi;o&&((i=n&&t===o[o.length-1].field&&!this.detailColumnsVisible())||(this.suspendPaint(),e={expand:!n,indexs:[]},this.INi.uMi(o,t,n,(function(t,n){e.level=t,e.indexs.push(n)})),this.qni.addUndoChanges({type:D.TableSheetUndoType.ExpandGroupByLevel,oldData:e,newData:{field:t,expand:n}}),this.resumePaint()))},t.prototype.expandGroupItem=function(t,n,i){var e,o,r=this,u=this.lMi;u&&((e=i&&t===u.length-1&&!this.detailColumnsVisible())||(this.suspendPaint(),o={index:n,level:t},this.INi.aMi(t,n,i,(function(e){o.expand=e,r.qni.addUndoChanges({type:D.TableSheetUndoType.ExpandGroupItem,oldData:o,newData:{index:n,level:t,expand:i}})})),this.resumePaint()))},t.prototype.VDi=function(t){return this.sMi(t,L,0)},t.prototype.DMi=function(t,n){return!(t>-1)||this.sMi(n,t,0)},t.prototype.sMi=function(t,n,i,e,o){return this.lno||this.INi.sMi(t,n,i,e,o)},t.prototype.nIe=function(t,n,i){var e,r,u=this;return!(!u.jFt||i!==o.SheetArea.viewport||!(e=u.Mf.getDataSource()))&&((r=e.kve(n))&&r.isGroup?!u.DMi(r.OFt,t):!u.VDi(t))},t.prototype.MMi=function(t){return this.INi.MMi(t)},t.prototype.IMi=function(t,n){return this.INi.IMi(t,n)},t.prototype.gMi=function(t){return this.INi.gMi(t)},t.prototype.FDi=function(t){var n,i=this.Mf.getDataSource();return!!i&&((n=i.kve(t))&&n.isGroup)},t.prototype.hMi=function(t){var n,i=this.Mf.getDataSource();return!!i&&((n=i.kve(t))&&n.DFt)},t.prototype.JDi=function(t){var n,i=this.Mf.getDataSource();return!!i&&((n=i.kve(t))&&n.GFt)},t.prototype.applyTableTheme=function(t){var n,i=this.Mf,e=this.hl;this.hl=t,n=C(this.options.alternatingRowOptions),this.suspendPaint(),this.qeo(i,n,t),this.options.alternatingRowOptions=n,this.resumePaint(),this.qni.addUndoChanges({type:D.TableSheetUndoType.ThemeChanged,oldData:e,newData:this.hl})},t.prototype.qeo=function(t,n,i){var e,r,u,c,a,s=new o.Style,l=new o.Style,f=i&&i.headerRowStyle();f&&l.h5(f),(e=i&&i.wholeTableStyle())&&(s.h5(e),l.h5(e)),s.cellPadding===_&&(s.cellPadding="5"),t.setDefaultStyle(s),l.showEllipsis===_&&(l.showEllipsis=!0),l.cellPadding===_&&(l.cellPadding="5"),t.setDefaultStyle(l,o.SheetArea.colHeader),(n=n||C(this.options.alternatingRowOptions))&&(r=i&&i.firstRowStripStyle(),Array.isArray(n.style)||(n.style=[]),n.style[0]=r?this.XDi(r):_,u=i&&i.firstRowStripSize(),Array.isArray(n.step)||(n.step=[]),n.step[0]=x(u)?1:u,(c=i&&i.secondRowStripStyle())&&(Array.isArray(n.style)||(n.style=[]),n.style[1]=this.XDi(c)),a=i&&i.secondRowStripSize(),x(a)||(Array.isArray(n.step)||(n.step=[]),n.step[1]=a))},t.prototype.XDi=function(t){var n=new o.Style;return n.backColor=t.backColor,n.foreColor=t.foreColor,n.font=t.font,n.borderLeft=t.borderLeft,n.borderTop=t.borderTop,n.borderRight=t.borderRight,n.borderBottom=t.borderBottom,n.textDecoration=t.textDecoration,n},t.prototype.applyFreeHeaderArea=function(t){if(0===arguments.length)return this.hNi;this.qni.addUndoChanges({type:D.TableSheetUndoType.ApplyFreeHeaderChanged,oldData:this.hNi,newData:t}),this.hNi=t,this.refreshBindColumns()},t.prototype.printInfo=function(t){var n,i=this.Mf;return t&&(t.columnStart(-1),t.columnEnd(-1),t.rowStart(-1),t.rowEnd(-1),t.repeatColumnStart(-1),t.repeatColumnEnd(-1),t.repeatRowStart(-1),t.repeatRowEnd(-1)),(n=i.printInfo&&i.printInfo.apply(i,arguments))&&Yt(n),n},t.prototype.addRow=function(t){var n,i=this,e=this.Mf,o=e.getRowCount();return i.options.allowAddNew&&(o-=1),n=this.getDataView(),new Promise((function(r,u){n.insertItem(o,t,(function(){n.saveItem(o,(function(){i.mNi(o),r()}),kt(e,o,u))}),kt(e,o,u))}))},t.prototype.iM=function(t,n){var i=this;i.suspendPaint(),i.WDi(n),i.XNi(),i.resumePaint()},t.prototype.iDe=function(t){var n,i;this.Mf.gL(t,-1)},t.prototype.removeRow=function(t){var n,i=this,e=this.Mf;return i.zDi(t)?Promise.resolve():(n=this.jze(),this.qni.addUndoChanges({type:D.TableSheetUndoType.ChangeCollapse,oldData:n}),this.qni.addUndoChanges({type:D.TableSheetUndoType.RemoveRow}),new Promise((function(n,o){i.getDataView().removeRowData(t,1,(function(e){i.ZNi(t,e.removedCount),i.qni.addUndoChanges({type:D.TableSheetUndoType.PinnedRowsChanged}),n()}),kt(e,t,o))})))},t.prototype.eze=function(){var t=this,n=t.Mf.getRowCount(),i=t.getDataView().length(),e=this.options.allowAddNew;t.suspendPaint(),t.Mf.ffe(n,i-n+(e?1:0),3,{rowExpand:!1,clearUndoNotInCommand:!1}),t.WDi(),t.uDi(),t.resumePaint()},t.prototype.Cze=function(t,n){var i=this;i.Mf.WBe(t,n||1,o.SheetArea.viewport,{clearUndoNotInCommand:!1}),i.kze(t)},t.prototype.beo=function(t,n){var i=this;i.Mf.KBe(t,n||1,o.SheetArea.viewport,!1),i.kze(t)},t.prototype.kze=function(t){var n,i=this;i.isShowHierarchyOutlineColumn()&&(n=i.Mf.outlineColumn.options().columnIndex,(x(t)?i.$Ni()!==n:t<n)&&i.wNi())},t.prototype.KDi=function(t,n){var i,e=this.Mf;e.QBe(t,n||1,3,!1),t<(i=e.frozenRowCount())&&e.frozenRowCount(i-1)},t.prototype.ZNi=function(t,n){var i=this;i.suspendPaint(),i.KDi(t,n),i.WDi(),i.XNi(),i.resumePaint()},t.prototype.saveRow=function(t){var n=this;return n.zDi(t)?Promise.resolve():new Promise((function(i,e){var o=n.Mf;n.getDataView().saveItem(t,(function(){n.SNi(t),i()}),kt(o,t,e))}))},t.prototype.SNi=function(t){var n=this;n.suspendPaint(),n.resumePaint()},t.prototype.resetRow=function(t){var n=this;n.zDi(t)||n.getDataView().resetItem(t,(function(){n.xNi(t)}))},t.prototype.xNi=function(t){var n=this;n.iDe(t),n.iM(t)},t.prototype.addRowStateRule=function(t,n){var i,e,r,u;t!==o.RowColumnStates.invalid&&4!==t&&t!==o.RowColumnStates.edit&&(r=(e=(i=this).Mf).conditionalFormats)&&(u=[new o.Range(-1,-1,-1,-1)],r.addRowStateRule(t,n,u))},t.prototype.addColumnStateRule=function(t,n){var i,e,r,u;t!==o.RowColumnStates.invalid&&t!==o.RowColumnStates.dirty&&t!==o.RowColumnStates.edit&&(r=(e=(i=this).Mf).conditionalFormats)&&(u=[new o.Range(-1,-1,-1,-1)],r.addColumnStateRule(t,n,u))},t.prototype.addColumnHeaderStateRule=function(t,n){var i,e,o,r,u;if((4===t||1024===t||2048===t||4096===t)&&(o=(e=(i=this).Mf).conditionalFormats)){switch(r=function(t){n.decoration&&n.decoration.icons&&1===n.decoration.icons.length&&""===n.decoration.icons[0].src&&(n.decoration.icons[0].src=t)},t){case 4:r(V);break;case 1024:r(W);break;case 2048:r(H);break;case 4096:r(F)}return u=new a.ColumnHeaderStateRule(l.RuleType.columnStateRule,t,n),o.addRule(u)}},t.prototype.iAi=function(t){var n=t.conditionalFormats;n&&n.rules&&(n.rules=n.rules.filter((function(t){var n=[4,1024,2048,4096];return!(15===t.ruleType&&n.indexOf(t.state)>-1)})))},t.prototype.removeRowStateRule=function(t){t!==o.RowColumnStates.invalid&&4!==t&&t!==o.RowColumnStates.edit&&this._Di(t,!0)},t.prototype.removeColumnStateRule=function(t){t!==o.RowColumnStates.invalid&&t!==o.RowColumnStates.dirty&&t!==o.RowColumnStates.edit&&this._Di(t,!1)},t.prototype._Di=function(t,n){var i,e,o,r,u=this,c=u.Mf,a=c.conditionalFormats;if(a)for(e=0,o=i=a.getRules();e<o.length;e++)!(r=o[e]).isStateRule()||r.isRow()!==n||t&&t!==r.state()||a.removeRule(r)},t.prototype.getStateRules=function(){var t,n=this.Mf.conditionalFormats;return n?(t=n.getRules()).filter((function(t){var n=t.ruleType();return n===l.RuleType.rowStateRule||n===l.RuleType.columnStateRule})):[]},t.prototype.clearStateRules=function(){var t,n,i,e,o=this.Mf.conditionalFormats;if(o)for(n=(t=o.getRules()).length-1;n>=0;n--)(e=(i=t[n]).ruleType())!==l.RuleType.rowStateRule&&e!==l.RuleType.columnStateRule||o.removeRule(i)},t.prototype.qDi=function(){return this.Mf._1},t.prototype.hasRowState=function(t,n){var i=this.qDi().getState(n,0,t,!0,[{row:-1,rowCount:-1,col:-1,colCount:-1}]);return Ct(i)&&i===t},t.prototype.$Di=function(t,n,i,e){var o=this,r=this.getDataView(),u=this.Mf,c={};c[n]=i,r.updateItem(t,c,(function(i){e&&e.hasAddNewRowData&&!o.jFt||o.LNi(t,n)}),kt(u,t),e)},t.prototype.LNi=function(t,n){var i=this,e=i.Mf;e.Mno()?e.jno(n):i.iM(t,n)},t.prototype.iTi=function(t,n,i){var e,o,r=this.getDataView();r&&(e=this.Mf,(o=r.getColumnInfos()).forEach((function(o,u){var c,a,s=o.defaultValue,l=i&&i[r.ife(o)];x(l)&&!x(s)&&(l=At(s)?s():s,s&&"="===s[0]&&((c=e.Uw()).DJ=r.length(),a=e.Lp.parse(c,s,0,0),l=e.Lp.evaluateExpression(c,a,{row:t,col:u}))),n(l,u,o)})))},t.prototype.aji=function(t){var n,i=this,e=i.getDataView();return e&&(n=e.nMt(e.Ywt(t),0)),n},t.prototype.TLt=function(t,n,i){return t.TLt(n,i)},t.prototype.EPt=function(){var t=this,n=t.jIi,i=t.getDataView();n>0&&(t.tTi=i.EPt(),t.togglePinnedColumns(Pt(n)))},t.prototype.jPt=function(){var t=this,n=t.tTi,i=t.getDataView(),e=i.jPt(n);e.length>0&&t.togglePinnedColumns(e),delete t.tTi},t.prototype.DPt=function(t,n){var i=this.getDataView();if(i)return i.DPt(t,n)},t.prototype.OPt=function(t,n,i){var e,o=this.getDataView();o&&(this.qni.startAddComboChanges(),e=o.OPt(t,n,i),this.Mf.rowFilter().nTi(e),this.kTi(o),this.qni.addUndoChanges({type:D.TableSheetUndoType.SetDataView}),this.Teo(!0)&&this.qni.addUndoChanges({type:D.TableSheetUndoType.ResetGroupOutline}),this.qni.endAddComboChanges())},t.prototype.eTi=function(t,n){var i,e={},o;return this.iTi(t,(function(t,n,i){At(o=i.value instanceof Function?i.value.name:i.value)||bt(o)||mt(o)||(e[o]=t)}),n),e},t.prototype.oTi=function(t,n,i){var e=this,o=this.getDataView(),r=this.Mf,u=e.eTi(t,n);o.insertItem(t,u,(function(){}),kt(r,t,i))},t.prototype.mNi=function(t){var n=this,i=n.Mf.getRowCount();n.Mf.ffe(i<1?t:t-1,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),n.refreshStyleRuleCache(),n.iM(t)},t.prototype.vDi=function(t){var n;return this.qDi().getState(t,-1,o.RowColumnStates.inserted)>0},t.prototype.jDi=function(t){var n;return this.qDi().getState(t,-1,256)>0},t.prototype.zNi=function(){var t,n=this,i=n.Mf;i.suspendPaint(),t=i.getColumnCount(),i.WBe(t,1,3,{clearUndoNotInCommand:!1}),n.uTi(!0,""),i.rowFilter().filterButtonVisible(t,!1),i.resumePaint()},t.prototype.cTi=function(){var t,n=this,i=n.Mf;i.suspendPaint(),t=n.kDi(),i.getValue(0,t,o.SheetArea.colHeader)===n.actionColumn.options().title&&i.KBe(t,1,3,!1),i.resumePaint()},t.prototype.uTi=function(t,n){var i,e,r,u,c,a,s,l,f,d,h=this,v=h.Mf;v.suspendPaint(),i=h.kDi(),(t||v.getValue(0,i,o.SheetArea.colHeader)===n)&&(e=new o.Style,r=[],(a=(c=(u=h.actionColumn.options()).actionButtons.remove)&&c.visible)&&r.push({useButtonStyle:!0,caption:c.title,imageType:c.icon,enabled:h.mDi.bind(h),visible:"auto"!==a||h.mDi.bind(h),position:o.ButtonPosition.left,command:function(t,n,i,e){h.Mf.ki(o.Events.RowOperation,{sheet:h,sheetName:h.name(),actionType:ct.remove,row:n}),h.removeRow(n).catch(ot)}}),(l=(s=u.actionButtons.save)&&s.visible)&&r.push({useButtonStyle:!0,caption:s.title,imageType:s.icon,enabled:h.LDi.bind(h),visible:"auto"!==l||h.LDi.bind(h),position:o.ButtonPosition.left,command:function(t,n,i,e){h.Mf.ki(o.Events.RowOperation,{sheet:h,sheetName:h.name(),actionType:ct.save,row:n}),h.saveRow(n).catch(ot)}}),(d=(f=u.actionButtons.reset)&&f.visible)&&r.push({useButtonStyle:!0,caption:f.title,imageType:f.icon,enabled:h.LDi.bind(h),visible:"auto"!==d||h.LDi.bind(h),position:o.ButtonPosition.left,command:function(t,n,i,e){h.Mf.ki(o.Events.RowOperation,{sheet:h,sheetName:h.name(),actionType:ct.reset,row:n}),h.resetRow(n)}}),r.length>0&&(e.cellButtons=r),e.locked=!1,v.setStyle(-1,i,e),h.JNi(-1,i,u.headerStyle,o.SheetArea.colHeader),v.setValue(0,i,u.title,o.SheetArea.colHeader),v.setColumnWidth(i,u.width)),v.resumePaint()},t.prototype.mDi=function(t){return!this.zDi(t)},t.prototype.LDi=function(t){var n=this,i=n.jDi(t),e=n.vDi(t),o=n.zDi(t);return i||e&&!o},t.prototype.CNi=function(){var t=this.Mf,n=t.getRowCount();n=n<2?n:n-2,t.ffe(n,1,3,{rowExpand:!1,clearUndoNotInCommand:!1})},t.prototype.rTi=function(){var t=this.Mf;t.QBe(t.getRowCount()-1,1,3,!1)},t.prototype.aNi=function(){var t,n=this.Mf;n.suspendDirty(),n.options.allowCellOverflow=!1,n.options.rowHeaderAutoText=o.HeaderAutoText.blank,n.options.clipBoardOptions=o.ClipboardPasteOptions.values,n.options.isProtected=!0,(t=n.options.protectionOptions).allowSort=!0,t.allowFilter=!0,t.allowResizeColumns=!0,t.allowDragInsertColumns=!0,t.allowOutlineRows=!0},t.prototype.lNi=function(t){var n,i,e=this,o=e.Mf;if(e.options.allowAddNew&&t++,t!==o.getRowCount())for(n in o.Ut.cj(t),o.Ww=!0,this.X$)this.X$[n]&&(i=this.X$[n]).xts()},t.prototype.aTi=function(t,n){var i=this,e=i.getDataView(),r=e&&e.iRt&&e.iRt.length,u=i.Mf.getRowCount();i.zDi(t)&&u!==r+1&&(i.Mf.ki(o.Events.RowOperation,{sheet:i,sheetName:i.name(),actionType:ct.addNewEmptyRow,row:t+1}),i.CNi(),i.WDi(),i.XNi())},t.prototype.pTi=function(t,n){var i=this,e=t.value;return!("string"==typeof e&&e.indexOf(".")>-1)||(e=e.split(".")[0],!x(i.getDataView().ufe({value:e},n)))},t.prototype.Gno=function(){var t,n,i,e=this,o=e.Mf,r=e.getDataView(),u=r.visibleLength(),c=e.Bno;for(t in c)c.hasOwnProperty(t)&&(n=c[t],i=Number(t),e.zDi(i)||i>=u?e.oTi(i,n):r.updateItem(i,n,(function(){}),kt(o,i)));e.Bno=_},t.prototype.tDe=function(){var t=this,n=t.Mf,i=n.getRowCount()-(t.options.allowAddNew?1:0),e=t.getDataView().visibleLength();i<=e?(n.setRowCount(e-(t.options.allowAddNew?0:1)),n.ffe(i-1,1,3,{rowExpand:!1,clearUndoNotInCommand:!1})):(n.setRowCount(e),t.options.allowAddNew&&n.ffe(e,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}))},t.prototype.v7=function(){var t=this,n=t.Mf;function i(i,e){if(t.nPt(),t.WDi(),t.HDi(),t.XNi(),t.getParent().options.calcOnDemand){var o=t.getDataView().gLt;o&&o.o_t(_,!0)}else setTimeout((function(){var i,e=null===(i=t.getDataView())||void 0===i?void 0:i.gLt;e&&(n.suspendCalcService(),e.o_t(_,!0),n.resumeCalcService(!1))}),10)}n.D3(o.Events.EditStarting+q,(function(n,i){i.col===t.kDi()&&(i.cancel=!0)})),n.D3(o.Events.EditEnded+q,(function(n,i){var e,o=i.row,r=i.ignoreValueChange;if(!r){if((0,f.isNullOrEmpty)(i.editingText)&&t.zDi(o)){if(e=t.fDi(i.col),x(e.defaultValue)||!t.pTi(e,o))return;t.oTi(o)}t.aTi(o,!0)}})),n.D3(o.Events.ClipboardPasting+q,(function(n,i){var e=i.cellRange,o=e.col,r=e.col+e.colCount-1,u=t.kDi(),c;o<=u&&u<=r&&(i.cancel=!0),i.cancel||(t.Bno={},t.getDataView().mme())})),n.D3(o.Events.ClipboardPasted+q,(function(n,i){t.Gno();var e=i.cellRange,o=e.row+e.rowCount-1;t.aTi(o),t.getDataView().gme(),t.iM(o)})),n.D3(o.Events.DragFillBlock+q,(function(n,i){var e,o,r=i.fillRange,u=i.fillDirection,c=r.col+r.colCount-1;0===u&&(-1!==r.row&&-1!==r.rowCount&&(c+=1),o=(e=i.sheet.getSelections()[0]).col+e.colCount-1,c=Math.max(c,o)),c===t.kDi()&&(i.cancel=!0),i.cancel||(t.Bno={},t.getDataView().mme())})),n.D3(o.Events.DragFillBlockCompleted+q,(function(n,i){t.Gno();var e=i.fillRange,o=e.row+e.rowCount-1;t.aTi(o),t.getDataView().gme(),t.iM(o)})),n.D3(o.Events.DragDropBlock+q,(function(i,e){var o,r,u=e.fromCol,c=e.toCol,a=e.colCount,s=e.insert,l=e.fromRow,f=e.toRow,d=u+a-1,h=c+a-1,v=t.kDi();d===v||h===v?e.cancel=!0:s&&-1===l&&-1===f&&(o=u<c?c-1:c,t.OPt(u,o,a),t.UMi&&t.UMi.updatePanelLayout(),r=u<c?c-a:c,n.setSelection(-1,r,-1,a),e.cancel=!0),e.cancel||(t.Bno={},t.getDataView().mme())})),n.D3(o.Events.DragDropBlockCompleted+q,(function(n,i){t.Gno();var e=i.toRow+i.rowCount-1;t.aTi(e),t.getDataView().gme(),t.iM(e)})),n.D3(o.Events.ValueChanged+q,(function(n,i){t.aTi(i.row)})),n.D3(o.Events.CellChanged+q,(function(i,e){var r,u=e.row,c=e.col,a=e.sheetArea,s=e.newValue;a===o.SheetArea.colHeader&&(r=u<n.Ut.getFreeAreaRowCount(a),"value"===e.propertyName?r?t.YNi(u,c,"value",s):t.HNi(c):"formula"===e.propertyName&&r&&t.YNi(u,c,"formula",s))})),n.D3(o.Events.RangeChanged+q,(function(i,e){var r,u,c,a,s,l,f,d;if(6===e.action)for(u=0,c=r=e.changedCells;u<c.length;u++)s=(a=c[u]).row,l=a.col,(f=a.sheetArea)===o.SheetArea.colHeader&&((d=s<n.Ut.getFreeAreaRowCount(f))?t.YNi(s,l,"value",n.getValue(s,l,f)):t.HNi(l))})),n.D3(o.Events.ColumnWidthChanged+q,(function(t,i){var e=n.getDataSource(),o=e.getColumnInfos();!i.header&&!x(o)&&o.length>0&&i.colList.forEach((function(t){var i=o[t]&&st({},o[t]);x(i)||(i.width=n.Do(t,1),e.JEe(i))}))})),n.D3(o.Events.ColumnChanged+q,(function(i,e){var r,u,c,a;"isVisible"!==e.propertyName||1!==e.sheetArea&&3!==e.sheetArea||(r=n.getDataSource())&&(u=r.kve(e.col))&&(t.qni.startAddComboChanges(),c=!1!==u.visible,r.JEe(st(st({},u),{visible:e.newValue})),c!==e.newValue&&t.Teo(!0)&&(a=n.k9(o.SheetArea.viewport),(e.newValue?e.col===a:e.col<a)&&t.Seo()),t.qni.endAddComboChanges())})),n.D3(o.Events.RangeFiltering+q,(function(){t.yno=!0})),n.D3(o.Events.RangeFiltered+q,(function(n,e){t.yno=!1,i(n,e)})),n.D3(o.Events.RangeFilterClearing+q,(function(){t.nAi=!0})),n.D3(o.Events.RangeFilterCleared+q,(function(n,e){t.nAi=!1,i(n,e)})),n.D3(o.Events.RangeSorting+q,(function(){t.nDi()})),n.D3(o.Events.RangeSorted+q,(function(n,i){(t.FDi(i.col)||t.JDi(i.col))&&(t.WDi(_,!1),t.HDi()),t.uDi()})),n.D3(o.Events.OutlineColumnCheckStatusChanged+q,(function(n,i){t.sDi()}))},t.prototype.Ob=function(t,i,e,r){var c,a,s,l,f,d,h=this;"allowAddNew"===t?!0===i&&!1===e?h.CNi():!1===i&&!0===e&&h.rTi():"alternatingRowOptions"===t?h.Mf.repaint():"defaultStackRowHeight"===t?h.Mf.zw():"isDesignMode"===t?h.vNi(i):"sheetTabColor"===t?(c=h.getParent(),x(c.getHost())||c.AC(!1)):"enableDefineColumn"===t?(h.Mf.suspendPaint(),h.Mf.options.addColumnButtonOption=i?{visible:!0,width:J,command:h.options.defineColumnCommand,style:J,tooltip:(0,n.getSR)().defineColumn}:{visible:!1,width:J,command:tt,style:J,tooltip:J},h.Mf.resumePaint()):"defineColumnCommand"===t?(h.Mf.suspendPaint(),h.Mf.options.addColumnButtonOption?h.Mf.options.addColumnButtonOption.command=i:h.Mf.options.addColumnButtonOption={visible:!0,width:J,command:h.options.defineColumnCommand,style:J,tooltip:(0,n.getSR)().defineColumn},h.Mf.resumePaint()):"showRowNumber"===t?(h.Mf.suspendPaint(),i?(h.Mf.setColumnCount(h.Mf.getColumnCount(o.SheetArea.rowHeader)+1,o.SheetArea.rowHeader),h.Mf.options.rowHeaderAutoText=o.HeaderAutoText.numbers):(h.Mf.setColumnCount(h.Mf.getColumnCount(o.SheetArea.rowHeader)-1,o.SheetArea.rowHeader),h.Mf.options.rowHeaderAutoText=o.HeaderAutoText.blank),h.Mf.resumePaint()):"groupLayout"===t&&(h.Mf.suspendPaint(),i?(a=Mt(i.mode),s=i.position,l={mode:a},s&&It(s)&&(l.position=s),f=function(t,n,i){var e,o;return"mode"===t?(e=Mt(n))!==i&&(o=!0):"position"===t&&(e=It(n)?n:_),[e,function(){h.Beo(o,!0)}]},d=h.options.groupLayout,["mode","position"].forEach((function(t){var n=l[t];Nt(d,t,f),d["_"+t]=n})),h.Beo(i.mode!==(e&&e.mode),!0)):h.options.groupLayout=r&&r.groupLayout?st({},r.groupLayout):{mode:u.GroupLayoutMode.tabular},h.Mf.resumePaint()),this.qni.addUndoChanges({type:D.TableSheetUndoType.OptionChanged,oldData:e,newData:i,key:t})},t.prototype.vNi=function(t){var n,i=this.Mf;i.suspendPaint(),i.suspendEvent(),t&&((n=new o.CellTypes.Text).isImeAware=function(){return!1}),i.setCellType(-1,-1,n,o.SheetArea.colHeader),i.resumeEvent(),i.resumePaint()},t.prototype.getDefaultOptions=function(){return{allowAddNew:!0,alternatingRowOptions:{step:[1,1],style:new o.Style("lightgrey")},defaultStackRowHeight:null,isDesignMode:!1,menuItemVisibility:{promoteMenuItemVisible:!1,demoteMenuItemVisible:!1,moveUpMenuItemVisible:!1,moveDownMenuItemVisible:!1,addBeforeMenuItemVisible:!1,addAfterMenuItemVisible:!1,addAboveMenuItemVisible:!1,addBelowMenuItemVisible:!1,expandAllLevelMenuItemVisible:!1,collapseAllLevelMenuItemVisible:!1,expandToLevelMenuItemVisible:!1},sheetTabColor:void 0,showRowNumber:!1,defineColumnCommand:$,submitDefineColumnCommand:nt,enableDefineColumn:!1,groupLayout:{mode:u.GroupLayoutMode.tabular},columnTypeItems:[{name:u.ColumnTypes.Number,text:(0,n.getSR)().columnTypeNumber,iconClass:Dt(u.ColumnTypes.Number)},{name:u.ColumnTypes.Text,text:(0,n.getSR)().columnTypeText,iconClass:Dt(u.ColumnTypes.Text)},{name:u.ColumnTypes.Formula,text:(0,n.getSR)().columnTypeFormula,iconClass:Dt(u.ColumnTypes.Formula)},{name:u.ColumnTypes.Lookup,text:(0,n.getSR)().columnTypeLookup,iconClass:Dt(u.ColumnTypes.Lookup)},{name:u.ColumnTypes.Date,text:(0,n.getSR)().columnTypeDate,iconClass:Dt(u.ColumnTypes.Date)},{name:u.ColumnTypes.Checkbox,text:(0,n.getSR)().columnTypeCheckbox,iconClass:Dt(u.ColumnTypes.Checkbox)},{name:u.ColumnTypes.Select,text:(0,n.getSR)().columnTypeSelect,iconClass:Dt(u.ColumnTypes.Select)},{name:u.ColumnTypes.Currency,text:(0,n.getSR)().columnTypeCurrency,iconClass:Dt(u.ColumnTypes.Currency)},{name:u.ColumnTypes.Percent,text:(0,n.getSR)().columnTypePercent,iconClass:Dt(u.ColumnTypes.Percent)},{name:u.ColumnTypes.Phone,text:(0,n.getSR)().columnTypePhone,iconClass:Dt(u.ColumnTypes.Phone)},{name:u.ColumnTypes.Email,text:(0,n.getSR)().columnTypeEmail,iconClass:Dt(u.ColumnTypes.Email)},{name:u.ColumnTypes.URL,text:(0,n.getSR)().columnTypeURL,iconClass:Dt(u.ColumnTypes.URL)},{name:u.ColumnTypes.CreatedTime,text:(0,n.getSR)().columnTypeCreatedTime,iconClass:Dt(u.ColumnTypes.CreatedTime)},{name:u.ColumnTypes.ModifiedTime,text:(0,n.getSR)().columnTypeModifiedTime,iconClass:Dt(u.ColumnTypes.ModifiedTime)},{name:u.ColumnTypes.Attachment,text:(0,n.getSR)().columnTypeAttachment,iconClass:Dt(u.ColumnTypes.Attachment)},{name:u.ColumnTypes.Barcode,text:(0,n.getSR)().columnTypeBarcode,iconClass:Dt(u.ColumnTypes.Barcode)}]}},t.prototype.Zp=function(t){var n,i,e=this,r=e.getDefaultOptions();e.options=o.mt.b0(r,(function(t,n,i){e.Ob(t,n,i,r)})),n=e.options,i=j(!0,{},r,i=t||{}),T(i,(function(t,i){n.hasOwnProperty(t)&&(n[t]=i)}))},t.prototype.sNi=function(){var t=this;t.actionColumn=new c.ActionColumn((function(n,i){var e;t.getDataView()&&(n.visible&&!i.visible?t.cTi():!n.visible&&i.visible?t.zNi():n.visible&&i.visible&&t.uTi(!1,n.title))}))},t.prototype.zDi=function(t){var n=this;return n.options.allowAddNew&&t===n.Mf.getRowCount()-1},t.prototype.kDi=function(){var t=this,n=t.Mf;return t.actionColumn.options().visible?n.getColumnCount()-1:-1},t.prototype.id=function(){return this.getDataView().getDirtyIndexes()},t.prototype.e1e=function(){return this.options.sheetTabColor},t.prototype.parameter=function(t){var n,i,e,o;if(0===arguments.length){for(e in i={},n=this.o1e)n.hasOwnProperty(e)&&(i[e]=et(n[e]));return i}if(t){for(e in o={},t)t.hasOwnProperty(e)&&(o[e]=it(t[e]));this.o1e=o}},t.prototype.isAlternatingRowStyleColumn=function(t){return!0},t.prototype.getGroupingHeaderHeight=function(t,n){var i=this.options.groupLayout.mode;return i===u.GroupLayoutMode.outline?2*this.Mf.defaults.rowHeight:i===u.GroupLayoutMode.condensed?this.Mf.defaults.rowHeight:0},t.prototype.getGroupingFooterHeight=function(t,n){return this.getGroupingHeaderHeight(t,n)},t.prototype.refreshDataProvider=function(){var t,n;for(t in this.X$)this.X$[t]&&(n=this.X$[t],this.Mf.Cb.IP(),n.clearCache(),n.updateSticky(),n.updateRange(),n.repaintHost())},t.prototype.getValueInOneCell=function(t){var n=t.row,i=t.col,e=t.rowSpacingIndex,r=t.isAfterRowSpacing,u=this.Mf.$go(n,i,o.SheetArea.viewport,{rowSpacingIndex:e,isAfterRowSpacing:r});if(u&&u.getValueInOneCell)return u.getValueInOneCell(Object.assign({sheet:this.Mf},t))},t.prototype.isNewRow=function(t){return this.zDi(t)},t.prototype.onNewRowChanged=function(t,n){this.aTi(t,n)},t.prototype.isGroup=function(){return this.jFt},t.prototype.isGroupOutlineCondensedLayout=function(t){return this.Teo(t)},t.prototype.registerDataProvider=function(t,n){this.X$||(this.X$={}),this.X$[t]=n},t.prototype.unregisterDataProvider=function(t){this.X$[t]&&delete this.X$[t]},t.prototype.notChangeActiveSheetWhenUndo=function(){return Object.keys(this.X$).length>0},t._ID=1,t}(),n.TableSheet=at,o.Workbook.ch("tableSheet",{init:function(){var t=this;o.Commands.uri(t.commandManager()),t.bind(o.Events.ActiveSheetChanged+X,(function(){(0,M.updateStatusBarOnActiveSheetChanged)(t)}))},onCultureChanged:function(){(0,n.getSR)()},createSheetTab:function(t){t.type===o.SheetType.tableSheet?(t.name||(t.name=tn(this.qv())),t.sheetTab=new at(t.name)):t.type===o.SheetType.customSheetTab&&(t.sheetTab=new u.CustomSheetTab(t.name))},preFromJson:function(t,n,i){at._ID=1},preFromSJSFormat:function(t,n,i){at._ID=1},dispose:function(){this.unbind(o.Events.ActiveSheetChanged+X)}}),o.Worksheet.ch("tableSheet",{processKeyDown:function(t){var n=this.rt,i=this.NMi;i&&i.options.isDesignMode&&n.q9&&(t.r=!0)},processMouseDown:function(t){var n,i=t.hitInfo.cellTypeHitInfo;i&&i.isRowAction&&(n=Jt(t.e),i.isShift=n.isShift,i.isCtrl=n.isCtrl),x(Ot(this))||(0,M.processStatusBarOnMouseDown)(Ot(this).getParent().b3t,t.hitInfo)}}),o.Y8.ch("tablesheet",{priority:7e3,setValue:function(t){var n,i,e,r,u,c,a,s,l=t.row,d=t.col,h=t.value,v=t.sheetArea,g=this.Mf,M=g.H3,I=Ot(g);if(v===o.SheetArea.viewport&&M&&M.getSource()&&Ht(I)){if(n=!1,i=void 0,r=!1,u=I.fDi(d,!0),I.options.allowAddNew&&M.getRowCount()===l&&(!I.Bno||x(I.Bno[l]))){if((0,f.isNullOrEmpty)(h)&&x(u.defaultValue)||!I.pTi(u,l))return void(t.isValueSet=!0);if((e=I.getDataView()).mme(),(r=e.K3e()&&!I.Bno)&&(I.Bno={}),I.Bno)I.Bno[l]={};else if(c=!1,I.oTi(l,_,(function(){c=!0,t.isValueSet=!0,e.gme()})),c)return;n=!0,i=e.length()-1}(a=g.Ut.q_(!1,o.SheetArea.colHeader,d)).name&&(h=o.util.V0(h),I.Bno?((s=I.Bno[l])||(I.Bno[l]=s={}),s[a.name]=h):I.$Di(l,a.name,h,{hasAddNewRowData:n,currentModelIndex:i}),t.isValueSet=!0),n&&(r&&(I.oTi(l,I.Bno[l]),I.Bno=_),e.gme())}}}),rt[O]={name:O,icons:[B],command:"PinRow"},rt[k]={name:k,icons:[P,Q,Y]},rt[E]={name:E,icons:[R]},rt[Z]={name:Z,icons:[o.ButtonImageType.minus],command:"RemoveRow"},rt[U]={name:U,icons:[o.ButtonImageType.ok],command:"SaveRow"},rt[G]={name:G,icons:[o.ButtonImageType.clear],command:"ResetRow"}},6153:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.aeo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.ato(n,"codeSet",[{text:"auto",value:"auto"},{text:"A",value:"A"},{text:"B",value:"B"},{text:"C",value:"C"}]),t.neo(n),t.oeo(n),n},n}(o.Meo),n.aeo=c},6277:function(t,n,i){var e,o;Object.defineProperty(n,"__esModule",{value:!0}),n.ActionColumn=void 0,e=i(1376),o=function(){function t(t){this.LEt={visible:!1,title:"Actions",width:210,actionButtons:{remove:{visible:!0,title:"Remove",icon:e.ButtonImageType.minus},save:{visible:!0,title:"Save",icon:e.ButtonImageType.ok},reset:{visible:!0,title:"Reset",icon:e.ButtonImageType.clear}},headerStyle:null},this.hce=t}return t.prototype.options=function(t){if(t){var n=this.LEt;return this.LEt=t,void this.hce(n,t)}return this.LEt},t.prototype.toJSON=function(){return this.LEt},t.prototype.fromJSON=function(t){this.LEt=t},t}(),n.ActionColumn=o},6406:function(t,n,i){var e,o,r,u,c,a;Object.defineProperty(n,"__esModule",{value:!0}),n.mZe=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(591),c=e.mt.En,a=function(){function t(t){var n;this.LEt=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.DZe)||void 0===t?void 0:t.val()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i,o,r=this,u=r.LEt,a=r.yZe=(0,e.GC$)(c("div"));return a.addClass("gc-defined-column-field-item-container gc-defined-column-input"+(u.className?" "+u.className:"")),u.label&&u.label.text&&((t=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-container"),t.appendTo(a),(n=(0,e.GC$)(c("label"))).addClass("gc-defined-column-field-label-container-label-text"),n.attr("for","gc-defined-column-input-"+u.inputId),n.appendTo(t),n.text(u.label.text)),(i=r.zZe=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-container"),i.appendTo(a),r.isVisible()||a.addClass("gc-defined-column-hide"),a.attr("aria-hidden",r.isVisible()?"false":"true"),r.ZX(),(o=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-validation-container"),o.appendTo(a),a},t.prototype.ZX=function(){var t,n,i,r,a=this,s=a.LEt,l=a.zZe;a.isDisable()&&l.addClass("gc-defined-column-disabled"),a.SZe()&&(l.addClass("gc-defined-column-click"),l.bind("click",(function(t){if(!a.isDisable())return s.onClick(t),!1}))),s.label&&((t=a.LZe=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-container"),(0,u.isFunction)(s.label.onClick)&&t.bind("click",(function(t){if(!a.isDisable())return s.label.onClick(t),!1})),t.appendTo(l),(n=(0,e.GC$)(c("label"))).addClass("gc-defined-column-field-label-container-label "+s.label.iconClass),n.attr("for","gc-defined-column-input-"+s.inputId),n.appendTo(t),(0,o.isNullOrEmpty)(s.label.iconClass)&&n.hide()),(i=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-input-container"),i.appendTo(l),"color"===s.type?s.tag="sjs-color-picker":(0,u.isNullOrUndefined)(s.type)&&(s.tag="sjs-text-editor"),r=a.DZe=s.tag?(0,u.createDCElement)(s.tag):(0,e.GC$)(c("input")),!s.tag&&r.addClass("gc-defined-column-field-input-container-input"),r.attr("id","gc-defined-column-input-"+s.inputId),!s.tag&&r.attr("type",s.type||"text"),r.attr("aria-disabled",a.isDisable()?"true":"false"),a.isDisable()?r.attr("disabled","true"):r.removeAttr("disabled"),s.placeholder&&r.attr("placeholder",s.placeholder),(s.label&&s.label.text||s.placeholder)&&r.attr(s.tag?"ariaLabel":"aria-label",s.label&&s.label.text||s.placeholder),(0,u.isNullOrUndefined)(s.defaultValue)||(r.attr("value",s.defaultValue),r.val(s.defaultValue)),s.isReadOnly&&r.attr("readonly","true"),s.maxLength&&r.attr("maxlength",s.maxLength),a.v7(),r.appendTo(i),s.label&&s.label.suffixIconClass&&((t=a.kZe=(0,e.GC$)(c("div"))).addClass("gc-defined-column-field-label-container"),(0,u.isFunction)(s.label.onSuffixClick)&&(t.addClass("gc-defined-column-click-quieter"),t.bind("click",(function(t){if(!a.isDisable())return s.label.onSuffixClick(t),!1}))),t.appendTo(l),(n=(0,e.GC$)(c("label"))).addClass("gc-defined-column-field-label-container-label "+s.label.suffixIconClass),n.appendTo(t))},t.prototype.v7=function(){var t=this,n=t.LEt,i=t.DZe,e=function(i){return function(e){t.isValid()||t.resetValid(t.validate()),t.isDisable()||(n.maxLength&&e.target.value&&n.maxLength<e.target.value.length?t.setValue(e.target.value.slice(0,n.maxLength)):i&&i(e))}};t.OZe()&&i.bind("blur",e((function(t){n.onBlur&&n.onBlur(t.target.value,t)}))),t.ZZe()&&i.bind("input",e((function(t){n.onChange(t.target.value,t)})))},t.prototype.setFocus=function(){var t;this.DZe.focus()},t.prototype.setOptions=function(t){var n=this;n.L0(),n.LEt=t,n.ZX()},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.zZe;t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),t.DZe.attr("aria-disabled",n?"false":"true"),n?t.DZe.removeAttr("disabled"):t.DZe.attr("disabled","true")},t.prototype.validate=function(){var t,n=this,i=n.LEt.validate,e=!n.isDisable();if(i&&e){if(i.required&&(0,o.isNullOrEmpty)(n.value))return n.resetValid(!1,{required:!1}),!1;if(i.validating)if("boolean"==typeof(t=i.validating(n.value))){if(!t)return n.resetValid(!1),!1}else if(!t.success)return n.resetValid(!1,t),!1}return n.resetValid(!0),!0},t.prototype.resetValid=function(t,n){var i=this,o=i.DZe,u=i.zZe,c=(0,e.GC$)(i.yZe.find(".gc-defined-column-field-label-validation-container")[0]);t?(u.removeClass("gc-define-column-invalid"),o.removeClass("gc-define-column-invalid"),o.attr("aria-invalid","false"),c.hide(),c.empty()):u.hasClass("gc-define-column-invalid")||(u.addClass("gc-define-column-invalid"),o.addClass("gc-define-column-invalid"),o.attr("aria-invalid","true"),!1===n.required?c.html((0,r.getSR)().defineColumnRequired):n.errorMessage&&c.html(n.errorMessage),n&&c.show())},t.prototype.isValid=function(){var t,n;return!this.zZe.hasClass("gc-define-column-invalid")},t.prototype.OZe=function(){var t=this,n=t.LEt;return!n.isReadOnly&&!t.isDisable()&&n.validate&&(n.validate.required||(0,u.isFunction)(n.validate.validating))},t.prototype.isVisible=function(){return!0!==this.LEt.hide},t.prototype.resetVisible=function(){var t=this,n=t.isVisible(),i=t.yZe;t.LEt.hide=n,n?i.addClass("gc-defined-column-hide"):i.removeClass("gc-defined-column-hide"),t.DZe.attr("aria-hidden",n?"true":"false")},t.prototype.ZZe=function(){var t,n=this.LEt;return!n.isReadOnly&&(0,u.isFunction)(n.onChange)},t.prototype.SZe=function(){var t,n=this.LEt;return n.isReadOnly&&(0,u.isFunction)(n.onClick)},t.prototype.setValue=function(t,n){var i=this;i.DZe.val(t),!1!==n&&(0,u.triggerEvent)(i.DZe,"input")},t.prototype.getInputElement=function(){return(0,u.getSJSInput)(this.DZe)},t.prototype.bind=function(t,n){return this.DZe.bind(t,n),this},t.prototype.unbind=function(t){return this.DZe.unbind(t),this},t.prototype.dispose=function(){var t=this;t.L0(),t.zZe=u.keyword_null},t.prototype.L0=function(){var t=this;t.ZZe()&&t.DZe.unbind("input"),t.OZe()&&t.DZe.unbind("blur"),"sjs-text-editor"===t.LEt.tag&&t.DZe.unbind("sjs-mounted"),t.SZe()&&(t.zZe.removeClass("gc-defined-column-click"),t.zZe.unbind("click")),t.LZe&&(0,u.isFunction)(t.LEt.label.onClick)&&t.LZe.unbind("click"),t.kZe&&(0,u.isFunction)(t.LEt.label.onSuffixClick)&&t.kZe.unbind("click"),t.LZe=u.keyword_null,t.kZe=u.keyword_null,t.DZe=u.keyword_null,t.zZe.empty()},t}(),n.mZe=a},6423:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h=this&&this.mJr||function(){return h=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},h.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.vto=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(6018),a=i(591),s=i(2227),l=e.mt,f=l.En,d=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.mto=(0,e.GC$)(f("div"));return n.addClass("gc-defined-column-combo-box-style-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.mto,i=t.LEt;return t._editorValueType=new u.Kze({inputId:"combo-box-editor-value-type",items:[{text:(0,o.getSR)().columnTypeComboBoxEditorValueType.text,value:s.EditorValueType.text},{text:(0,o.getSR)().columnTypeComboBoxEditorValueType.index,value:s.EditorValueType.index},{text:(0,o.getSR)().columnTypeComboBoxEditorValueType.value,value:s.EditorValueType.value}],label:{text:(0,o.getSR)().columnTypeComboBoxEditorValueTypes},onChange:function(){t.Nto()}}),t._editorValueType.create().appendTo(n),t._editorValueType.setValue((0,a.isNullOrUndefined)(i.editorValueType)?s.EditorValueType.value:i.editorValueType),t.Dto=new c.AZe({inputId:"combo-box-item-height",minValue:0,label:{text:(0,o.getSR)().columnTypeComboBoxItemHeight},onChange:function(){t.Nto()}}),t.Dto.create().appendTo(n),t.Dto.setValue(i.itemHeight||22),t.jto=new r.Rze({label:{text:(0,o.getSR)().columnTypeComboBoxEditable},onChange:function(){t.Nto()}}),t.jto.create().appendTo(n),t.jto.setValue(i.editable),n},t.prototype.Nto=function(){var t,n,i,e=this;this.LEt.onChange({editorValueType:null===(t=e._editorValueType)||void 0===t?void 0:t.value,itemHeight:null===(n=e.Dto)||void 0===n?void 0:n.value,editable:null===(i=e.jto)||void 0===i?void 0:i.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=h(h({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.mto.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.mto=a.keyword_null},t.prototype.L0=function(){var t=this;t._editorValueType&&t._editorValueType.dispose(),t._editorValueType=a.keyword_null,t.Dto&&t.Dto.dispose(),t.Dto=a.keyword_null,t.jto&&t.jto.dispose(),t.jto=a.keyword_null},t}(),n.vto=d},6602:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M;function I(t,n){return void 0===n&&(n=e.LineStyle.thin),new e.LineBorder(t,n)}function N(t,n,i,e){var u=new o.TableTheme;return u.name(t),u.headerRowStyle(new o.TableStyle(n.backColor,n.foreColor,n.font,r,r,n.borderRight,n.borderBottom)),u.wholeTableStyle(new o.TableStyle(i.backColor,i.foreColor,r,r,r,i.borderRight,i.borderBottom)),e&&e.backColor&&u.firstRowStripStyle(new o.TableStyle(e.backColor)),u}Object.defineProperty(n,"__esModule",{value:!0}),e=i(1376),o=i(9131),r=void 0,c="#808080",a="transparent",s="#E6E4F6",l="#92A5A8",f="#66D1C7",d="black",h="#EBEBEB",v="#FFFFFF",g="bold 11pt Calibri",(M=[N("professional1",{backColor:"#6A76D4",foreColor:u="#F2F2F2",borderRight:I("#6A76D4"),font:g},{foreColor:c,borderRight:I(a),borderBottom:I(s)},r),N("professional2",{backColor:l,foreColor:u,font:g},{foreColor:c,borderRight:I(l),borderBottom:I(a)},r),N("professional3",{backColor:f,foreColor:u,borderRight:I(f),font:g},{foreColor:c,borderRight:I(a),borderBottom:I(f)},r),N("professional4",{backColor:"#36495E",foreColor:u,borderRight:I("#36495E"),font:g},{foreColor:c},{backColor:"#F1F1F1"}),N("professional5",{backColor:"#2F7A84",foreColor:u,borderRight:I("#2F7A84"),font:g},{foreColor:c},{backColor:"#DAF1F3"}),N("professional6",{backColor:"#FFED88",foreColor:d,font:"bold 11pt Arial",borderRight:I("#FFED88")},{foreColor:d,borderRight:I(a),borderBottom:I(a)},r),N("professional7",{backColor:"#9EB09F",foreColor:u,borderRight:I("#9EB09F"),font:g},{foreColor:c,borderRight:I(a),borderBottom:I(s)},r),N("professional8",{backColor:"#362F4A",foreColor:u,borderRight:I("#362F4A"),font:g},{foreColor:c,borderRight:I(a)},{backColor:"#F6F6F6"}),N("professional9",{backColor:"#EB6051",foreColor:u,borderRight:I("#EB6051"),font:g},{foreColor:c,borderRight:I(a)},{backColor:h}),N("professional10",{backColor:"#26AE60",foreColor:u,borderRight:I("#26AE60"),font:g},{foreColor:c,borderRight:I(a)},{backColor:h}),N("professional11",{backColor:"#2882BA",foreColor:u,borderRight:I("#2882BA"),font:g},{foreColor:c,borderRight:I(a)},{backColor:h}),N("professional12",{backColor:"#555F8D",foreColor:u,borderRight:I("#555F8D"),font:g},{foreColor:c},{backColor:"#9EB6C4"}),N("professional13",{backColor:"#54618F",foreColor:u,borderRight:I("#54618F"),font:g},{backColor:"#7591AB",foreColor:v},r),N("professional14",{backColor:v,foreColor:"#5660B9",borderBottom:I("#A1A5CA",e.LineStyle.thick),borderRight:I(v),font:g},{backColor:v,foreColor:"#595959"},{backColor:" #F8F8FD"}),N("professional15",{backColor:"#E6ECF2",foreColor:"#404040",borderRight:I("#E6ECF2"),font:g},{foreColor:c,borderRight:I(a),borderBottom:I("#E6ECF2")},r),N("professional16",{backColor:"#475E86",foreColor:"#67C3F7",borderRight:I("#475E86"),font:g},{backColor:"#2A395A",foreColor:"#D0CECE"},r),N("professional17",{backColor:"#5165F8",foreColor:u,borderRight:I("#5165F8"),font:g},{backColor:v,foreColor:"#595959"},{backColor:"#F3F4FC"}),N("professional18",{backColor:"#F6F8FA",foreColor:"#404040",borderRight:I("#F6F8FA"),font:g},{backColor:v,foreColor:"#757171"},r),N("professional19",{backColor:v,foreColor:c,borderBottom:I("#83ACF6",e.LineStyle.thick),borderRight:I(v),font:g},{backColor:v,foreColor:c,borderBottom:I("#D9E1F2")},r),N("professional20",{backColor:v,foreColor:"#3565F6",borderBottom:I("#3565F6",e.LineStyle.thick),borderRight:I(v),font:g},{backColor:"#FCFDFF",foreColor:"#757171",borderRight:I(v,e.LineStyle.thick),borderBottom:I(v,e.LineStyle.thick)},{backColor:"#F6F8FA"}),N("professional21",{backColor:"#FCFDFF",foreColor:"#404040",borderBottom:I("#ACB9CA",e.LineStyle.thick),borderRight:I("#D6DCE4",e.LineStyle.dashed),font:g},{backColor:"#FCFDFF",foreColor:"#595959",borderBottom:I("#E5E9F0"),borderRight:I("#E5E9F0",e.LineStyle.dashed)},r),N("professional22",{backColor:"#222B35",foreColor:v,borderBottom:I("#08D4FF",e.LineStyle.thick),borderRight:I("#222B35"),font:g},{backColor:"#213551",foreColor:v},{backColor:"#3C5679"}),N("professional23",{backColor:"#213551",foreColor:v,borderBottom:I("#13E86C",e.LineStyle.thick),borderRight:I("#D6DCE4"),font:g},{backColor:"#F4F7F9",foreColor:"#213551",borderRight:I("#D6DCE4")},{backColor:v}),N("professional24",{backColor:"#1D1E1F",foreColor:"#E7E6E6",borderBottom:I("#13E86C",e.LineStyle.thick),borderRight:I("#606060"),font:g},{backColor:"#404142",foreColor:v,borderRight:I("#606060")},{backColor:"#4F4F50"})]).forEach((function(t){o.TableThemes[t.name()]=t}))},6656:function(t,n,i){var e,o,r,u,c,a,s,l,f,d;Object.defineProperty(n,"__esModule",{value:!0}),n.MZe=void 0,e=i(1376),o=i(6114),r=i(5530),u=i(1163),c=i(5981),a=i(4900),s=i(591),l=e.mt,f=l.En,d=function(){function t(t){var n;this.xT=[],this.LEt=t}return t.prototype.create=function(){var t=this,n=t.hZe=(0,e.GC$)(f("div"));return n.addClass("gc-defined-column-formatting-select-container"),n},t.prototype.IZe=function(){var t,n,i,r=this,l=r.LEt.formatter,d=(0,u.parseFormat)(l),h=(0,e.GC$)(f("div"));return h.addClass("gc-defined-column-formatting-select-number-container"),t=new c.bZe({onChange:function(t){r.LEt.onChange(t)}}),(n=new a.Kze({inputId:"lookup-number-formatting",items:[{text:(0,o.getSR)().columnTypeNumber,value:1},{text:(0,o.getSR)().columnTypeCurrency,value:2},{text:(0,o.getSR)().columnTypePercent,value:6}],label:{text:(0,o.getSR)().columnTypeFormattingCategory},onChange:function(n){t.setOptions({type:n.value,formatter:s.keyword_null})}})).create().appendTo(h),r.xT.push(n),t.create().appendTo(h),r.xT.push(t),i=d.category,-1===[1,2,6].indexOf(i)&&(i=1),n.setValue(i),t.setOptions({type:i,formatter:l}),h},t.prototype.NZe=function(){var t,n=this,i=n.LEt.formatter,o=(0,e.GC$)(f("div"));return o.addClass("gc-defined-column-formatting-select-date-container"),(t=new r.Wze({formatter:i,onChange:function(t){n.LEt.onChange(t.formatter)}})).create().appendTo(o),n.xT.push(t),o},t.prototype.createFormatting=function(t){var n=this,i=n.hZe;if(n.L0(),(0,s.isNumber)(t))n.IZe().appendTo(i);else{if(!(0,s.isDate)(t))return!1;n.NZe().appendTo(i)}return!0},t.prototype.dispose=function(){var t=this;t.L0(),t.hZe=s.keyword_null},t.prototype.L0=function(){var t,n,i,e=this;for(t=0,n=e.xT;t<n.length;t++)(i=n[t]).dispose?i.dispose():i.unbind&&i.unbind("click");e.xT=[],e.hZe.empty()},t}(),n.MZe=d},6944:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.heo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.oeo(n),n},n}(o.Meo),n.heo=c},7127:function(t,n,i){var e,o,r,u,c,a,s,l,f;Object.defineProperty(n,"__esModule",{value:!0}),n.Gto=void 0,e=i(1376),o=i(6114),r=i(6406),u=null,c="#0066cc",a="#3399ff",s=e.mt,l=s.En,f=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i=this,u=i.LEt,s=u.onChange,f=(0,e.GC$)(l("div"));return f.addClass("gc-defined-column-url-container"),(t=i.Rto=new r.mZe({inputId:"linkColor",type:"color",defaultValue:u.linkColor||c,label:{text:(0,o.getSR)().columnTypeUrlLabel.linkColor},onChange:function(t){s&&s({linkColor:t||c,visitedLinkColor:i.Pto.value||a})}})).create().appendTo(f),(n=i.Pto=new r.mZe({inputId:"visitedLinkColor",type:"color",defaultValue:u.visitedLinkColor||a,label:{text:(0,o.getSR)().columnTypeUrlLabel.visitedLinkColor},onChange:function(t){s&&s({linkColor:i.Rto.value||c,visitedLinkColor:t||a})}})).create().appendTo(f),s&&s({linkColor:i.Rto.value||c,visitedLinkColor:i.Pto.value||a}),f},t.prototype.dispose=function(){var t=this;t.Rto.dispose(),t.Rto=u,t.Pto.dispose(),t.Pto=u},t}(),n.Gto=f},7234:function(n){n.exports=t.Spread},7324:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.Jze=void 0,e=i(1376),o=i(7373),r=i(6114),u=i(591),c=e.mt,a=c.En,s=function(){function t(t){this.itemContainers=[];var n=this;n.LEt=t,n.$G=u.keyword_null,n.EZe=[]}return Object.defineProperty(t.prototype,"value",{get:function(){var t,n=this;return n.LEt.enableMultiSelected?n.EZe.map((function(t){var i;return null===(i=n.LEt.items[t])||void 0===i?void 0:i.value})):null===(t=n.LEt.items[n.$G])||void 0===t?void 0:t.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var t=this;return t.LEt.enableMultiSelected?t.EZe.slice():t.$G},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i=this,o=i.LEt.label,r=i.LEt.addAndRemoveButton,u=(0,e.GC$)(a("div"));return u.addClass("gc-defined-column-list-container"),(t=(0,e.GC$)(a("div"))).addClass("gc-defined-column-list-label-container"),t.appendTo(u),o&&o.text&&((n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-label-container"),n.appendTo(t),n.text(o.text)),r&&i.zto(t),i.zqt().appendTo(u),u},t.prototype.zqt=function(){var t,n=this,i=n.UZe=(0,e.GC$)(a("div"));return i.addClass("gc-defined-column-list-items-container"),n.isDisable()&&i.addClass("gc-defined-column-disabled"),i.attr("role",n.LEt.editable?"grid":"listbox"),i.attr("tabindex","-1"),i.attr("aria-disabled",n.isDisable()?"true":"false"),i.attr("aria-label",null===(t=n.LEt.label)||void 0===t?void 0:t.text),n.tyn(),i},t.prototype.tyn=function(){var t,n,i=this,o=i.LEt.items,r=i.LEt.enableMultiSelected,u=i.EZe,c=i.$G,s=i.LEt.showValue,l=function(t){return r?u.indexOf(t)>-1:c===t};for(s&&i.meo(),t=function(t){var n=o[t],r=(0,e.GC$)(a("span"));i.itemContainers.push(r),r.addClass("gc-defined-column-list-item-container"),l(t)&&r.addClass("gc-defined-column-list-item-selected"),r.attr("role",i.LEt.editable?"row":"option"),!i.LEt.editable&&r.attr("tabindex","0"),r.attr("aria-selected",l(t)?"true":"false"),r.bind("click",(function(n){i.isDisable()||i.GZe(t,n)})),i.ryn(n,r),s&&i.ryn(n,r,!0),r.appendTo(i.UZe)},n=0;n<o.length;n++)t(n)},t.prototype.meo=function(){var t,n,i=this,o=(0,e.GC$)(a("div"));o.addClass("gc-defined-column-list-header"),(t=(0,e.GC$)(a("div"))).addClass("gc-defined-column-list-header-text"),t.text((0,r.getSR)().columnTypeText),t.appendTo(o),(n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-list-header-value"),n.text((0,r.getSR)().defineColumnValue),n.appendTo(o),o.appendTo(i.UZe)},t.prototype.ryn=function(t,n,i){var o,c,s=this,l=s.LEt.editable,f=l?(0,e.GC$)(a("input")):(0,e.GC$)(a("div"));l&&(f.attr("role","gridcell"),f.attr("aria-label",i?(0,r.getSR)().defineColumnValue:(0,r.getSR)().columnTypeText)),o="gc-defined-column-list-item-"+(i?"value":"text"),f.addClass(o),t.class&&f.addClass(t.class),c=i||(0,u.isNullOrUndefined)(t.text)?t.value:t.text,l?f.val(c):f.text(c),f.appendTo(n),s.LEt.editable&&f.bind("blur",(function(){i?t.value=this.value:t.text=this.value,s.LEt.onChange&&s.LEt.onChange()}))},t.prototype.GZe=function(t,n){var i,e,r,u=this,c=u.LEt.enableMultiSelected,a=u.EZe,s=function(t){return c?a.indexOf(t)>-1:u.$G===t};for(c?(i=function(t){var n=a.indexOf(t);n>-1?a.splice(n,1):a.push(t)},(0,o.isArray)(t)?t.forEach((function(t){i(t)})):i(t)):u.$G=t,e=0;e<u.itemContainers.length;e++)r=u.itemContainers[e],s(e)?(r.attr("aria-selected","true"),r.addClass("gc-defined-column-list-item-selected")):(r.attr("aria-selected","false"),r.removeClass("gc-defined-column-list-item-selected"));u.LEt.onChange&&u.LEt.onChange(u.value,u.index,n)},t.prototype.zto=function(t){var n,i,o,u,c,s,l,f=this,d=f.LEt.items,h=(0,e.GC$)(a("div"));h.addClass("gc-defined-column-add-remove-container"),(n=(0,e.GC$)(a("div"))).addClass("gc-defined-column-add-remove-container-buttons"),n.appendTo(h),(i=(0,e.GC$)(a("button"))).addClass("gc-defined-column-add-remove-container-button"),i.appendTo(n),(o=(0,e.GC$)(a("span"))).addClass("gc-defined-column-add-remove-container-button-icon gc-defined-column-add-remove-container-button-icon-add ui-icon ui-icon-check"),o.appendTo(i),(u=(0,e.GC$)(a("span"))).appendTo(i),u.text((0,r.getSR)().columnTypeComboBoxAdd),i.bind("click",(function(){d||(d=[]),d.push({text:"",value:""}),f.setOptions({items:d}),f.LEt.onChange&&f.LEt.onChange()})),(c=(0,e.GC$)(a("button"))).addClass("gc-defined-column-add-remove-container-button"),c.appendTo(n),(s=(0,e.GC$)(a("span"))).addClass("gc-defined-column-add-remove-container-button-icon gc-defined-column-add-remove-container-button-icon-remove ui-icon ui-icon-check"),s.appendTo(c),(l=(0,e.GC$)(a("span"))).appendTo(c),l.text((0,r.getSR)().columnTypeComboBoxRemove),c.bind("click",(function(){var t=f.$G;d.splice(t,1),f.setOptions({items:d}),f.LEt.onChange&&f.LEt.onChange()})),h.appendTo(t)},t.prototype.setValue=function(t){var n,i,e=this;if(!(0,u.isNullOrUndefined)(t)){if(e.LEt.enableMultiSelected&&(0,o.isArray)(t))return void((n=t.reduce((function(t,n){var i=e.LEt.items.findIndex((function(t){return t.value===n}));return i>-1&&t.push(i),t}),[])).length>0&&e.GZe(n));(i=e.LEt.items.findIndex((function(n){return n.value===t})))>-1&&e.GZe(i)}},t.prototype.setIndex=function(t){var n=this;if(!(0,u.isNullOrUndefined)(t)){if(n.LEt.enableMultiSelected&&(0,o.isArray)(t))return void(t.length>0&&n.GZe(t));t>-1&&n.GZe(t)}},t.prototype.setOptions=function(t){var n=this;n.LEt=l(l({},n.LEt),t),n.clear(),n.tyn()},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.UZe;t.LEt.enable=n,n?i.removeClass("gc-defined-column-disabled"):i.addClass("gc-defined-column-disabled"),i.attr("aria-disabled",n?"false":"true")},t.prototype.clear=function(){var t,n,i,e=this;for(t=0,n=e.itemContainers;t<n.length;t++)(i=n[t]).unbind("click");e.itemContainers=[],e.UZe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.UZe=u.keyword_null},t}(),n.Jze=s},7373:function(n){n.exports=t.Data},7446:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.Ieo=void 0,e=i(1376),o=i(6114),r=i(6406),u=i(6018),c=i(4900),a=e.mt,s=a.En,l=function(){function t(t){var n=this;n.LEt=t,n.xT=[]}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i=this,r=(0,e.GC$)(s("div"));return r.addClass("gc-defined-column-barcode-base-container"),(t=new c.Kze({inputId:"barcode-type",defaultValue:i.LEt.option.barcodeType,enableSearch:!0,items:[{text:"QRCODE",value:"QRCODE"},{text:"EAN13",value:"EAN13"},{text:"EAN8",value:"EAN8"},{text:"CODABAR",value:"CODABAR"},{text:"CODE39",value:"CODE39"},{text:"CODE93",value:"CODE93"},{text:"CODE128",value:"CODE128"},{text:"GS1_128",value:"GS1_128"},{text:"CODE49",value:"CODE49"},{text:"PDF417",value:"PDF417"},{text:"DATAMATRIX",value:"DATAMATRIX"}],label:{text:(0,o.getSR)().columnTypeBarcodeLabel.barcodeType},onChange:function(t){i.LEt.option.barcodeType=t.value,i.onChange(!0)}})).create().appendTo(r),i.xT.push(t),(n=(0,e.GC$)(s("div"))).addClass("gc-defined-column-barcode-base-style-container"),n.appendTo(r),i.tto(n,"color",(0,o.getSR)().columnTypeBarcodeLabel.color),i.tto(n,"backgroundColor",(0,o.getSR)().columnTypeBarcodeLabel.backgroundColor),i.eto(n,"quietZoneLeft",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneLeft,!0),i.eto(n,"quietZoneRight",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneRight,!0),i.eto(n,"quietZoneTop",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneTop,!0),i.eto(n,"quietZoneBottom",(0,o.getSR)().columnTypeBarcodeLabel.quietZoneBottom,!0),r},t.prototype.tto=function(t,n,i){var e=this,o=new r.mZe({inputId:"barcode-"+n,type:"color",defaultValue:e.LEt.option[n],label:{text:i},onChange:function(t){e.LEt.option[n]=t,e.onChange()}});o.create().appendTo(t),e.xT.push(o)},t.prototype.eto=function(t,n,i,e){var o=this,r=new u.AZe({inputId:"barcode-"+n,defaultValue:o.LEt.option[n],label:{text:i,useRawContent:e},allowMinNull:!0,maxValue:1e3,onChange:function(t){o.LEt.option[n]=t,o.onChange()}});r.create().appendTo(t),o.xT.push(r)},t.prototype.onChange=function(t){var n=this,i=n.LEt.onChange;i&&i(n.LEt.option,t)},t.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&e.unbind("click");return[]},t.prototype.dispose=function(){var t=this;t.xT=t.YZe(t.xT)},t}(),n.Ieo=l},7553:function(t,n,i){var e,o,r,u;Object.defineProperty(n,"__esModule",{value:!0}),n.Rze=void 0,e=i(1376),o=i(591),r=e.mt.En,u=function(){function t(t){var n;this.LEt=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t;return null===(t=this.weo)||void 0===t?void 0:t.val()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.yZe},enumerable:!1,configurable:!0}),t.prototype.create=function(){var t,n,i,o=this,u=o.LEt,c=o.yZe=(0,e.GC$)(r("div"));return c.addClass("gc-defined-column-field-item-container gc-defined-column-checkbox-field-item-container"),u.label&&u.label.text&&u.textDisplay&&((t=(0,e.GC$)(r("div"))).addClass("gc-defined-column-field-label-container"),t.appendTo(c),(n=(0,e.GC$)(r("label"))).addClass("gc-defined-column-field-label-container-label-text"),n.appendTo(t),u.inputId&&n.attr("for","gc-defined-column-checkbox-"+u.inputId),n.text(u.label.text)),(i=o.Qze=(0,e.GC$)(r("div"))).appendTo(c),i.addClass("gc-defined-column-checkbox-container"),o.ZX(),c},t.prototype.ZX=function(){var t,n,i,u=this,c=u.LEt,a=u.Qze,s=u.Pze=(0,e.GC$)(r("div"));s.addClass("gc-defined-column-checkbox-item-container"),u.isDisable()&&s.addClass("gc-defined-column-disabled"),u.isVisible()||a.addClass("gc-defined-column-hide"),s.appendTo(a),s.attr("role","checkbox"),s.attr("tabindex","0"),s.attr("aria-label",c.label.text),s.attr("aria-checked","false"),s.attr("aria-disabled",u.isDisable()?"true":"false"),s.attr("aria-hidden",u.isVisible()?"false":"true"),(t=(0,e.GC$)(r("div"))).addClass("gc-defined-column-check-container"),t.appendTo(s),(n=u.weo=(0,o.createDCElement)("sjs-checkbox")).attr("name",""),n.attr("ariaLabel",c.label.text),c.inputId&&n.attr("id","gc-defined-column-checkbox-"+c.inputId),c.isThreeState&&n.attr("indeterminate",!0),(0,o.isNullOrUndefined)(c.defaultValue)||u.setValue(c.defaultValue,!1),n.bind("input",(function(t){u.isDisable()||(u.Yze(t.target.value),c.onChange&&c.onChange(t.target.value,t))})),n.appendTo(t),c.label&&c.label.text&&1!==c.textDisplay&&((i=u.LZe=(0,e.GC$)(r("div"))).addClass("gc-defined-column-label-container"),i.appendTo(s),i.text(c.label.text),c.inputId&&i.attr("for","gc-defined-column-checkbox-"+c.inputId),i.bind("click",(function(t){u.isDisable()||u.setValue(u.kV(u.weo.val()))})))},t.prototype.Yze=function(t){var n=this,i=t;(0,o.isNullOrUndefined)(t)&&(i=!!n.LEt.isThreeState&&"mixed"),n.Pze.attr("aria-checked",i)},t.prototype.kV=function(t){var n;if(this.LEt.isThreeState){if(t)return o.keyword_null;if((0,o.isNullOrUndefined)(t))return!1}return!t},t.prototype.setValue=function(t,n){var i=this;i.weo.val(t),i.Yze(t),!1!==n&&(0,o.triggerEvent)(i.weo)},t.prototype.isDisable=function(){return!1===this.LEt.enable},t.prototype.resetDisable=function(){var t=this,n=t.isDisable(),i=t.Pze;t.LEt.enable=n,n?(i.removeClass("gc-defined-column-disabled"),i.attr("aria-disabled","false")):(i.addClass("gc-defined-column-disabled"),i.attr("aria-disabled","true"))},t.prototype.isVisible=function(){return!0!==this.LEt.hide},t.prototype.resetVisible=function(){var t=this,n=t.isVisible(),i=t.Qze;t.LEt.hide=n,n?(i.addClass("gc-defined-column-hide"),i.attr("aria-hidden","true")):(i.removeClass("gc-defined-column-hide"),i.attr("aria-hidden","false"))},t.prototype.dispose=function(){var t=this;t.weo.unbind("input"),t.weo=o.keyword_null,t.LZe&&t.LZe.unbind("click"),t.LZe=o.keyword_null,t.Pze=o.keyword_null,t.Qze=o.keyword_null},t}(),n.Rze=u},7621:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S,O,k,E,Z,U,G,B,R,P,Q,Y,W,H,V,F,_,J,X,K,q,$,tt,nt,it,et,ot,rt,ut,ct,at,st,lt,ft,dt,ht,vt,gt,Mt=this&&this.mJr||function(){return Mt=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},Mt.apply(this,arguments)};function It(t,n){var i,e;for(i=0;i<t.length;i++)if(n(e=t[i]))return i;return-1}function Nt(t){return t.value||t}function Dt(t){return mt(t)&&t.bMi}function bt(t){return t.yBt}function mt(t){return 1===t.textIndent||t.isViewColumnOption}function Ct(t){return t.textIndent>=2}function wt(t){return N(t)||""===t}function yt(t){return t&&t.richText&&t.richText[0]&&t.richText[0].text||t&&t.text||t}function xt(t){return JSON.parse(JSON.stringify(t))}Object.defineProperty(n,"__esModule",{value:!0}),n.TableSheetPanel=n.ShowSourceOptions=n.ARROW_RIGHT=n.ARROW_DOWN=void 0,e=i(6114),o=i(1376),r=i(447),u=i(7234),c=i(2648),a=i(2227),s=i(8966),l=i(1434),f=o.CellTypes.Base,d=u.Common.zf.j0,h=u.Common.lt.tv,g="."+(v="table-sheet-panel"),M=null,I=void 0,N=u.Common.lt.ht,D=window,b="gc-table-sheet-panel",m="gc-table-sheet-field-panel",C="gc-table-sheet-cross-panel",w="gc-table-sheet-group-panel",y="gc-table-sheet-group-list",x="gc-table-sheet-group-input",j=(A="gc-table-sheet-group-item")+"-remove",T="group-index",z="group-name",p="group-field",L="summary-index",S="gc-table-sheet-summary-item",O="summary-name",k="summary-formula",E=A+"-label",Z="gc-table-sheet-summary-container",U="gc-table-sheet-field-container",G="gc-table-sheet-summary-item-label",B="gc-table-sheet-summary-item-input-formula",R="gc-table-sheet-summary-item-input-slice",P="gc-table-sheet-summary-function",Q="gc-table-sheet-summary-item-input-caption",Y="gc-table-sheet-summary-list-container",W="gc-table-sheet-group-item-reorder-top",H="gc-table-sheet-group-item-reorder-bottom",V="gc-table-sheet-add-calculate-column",F="fake-ftb-workbook",_="gc-table-sheet-summary-item-caption",J="gc-table-sheet-cross-column",X="gc-table-sheet-cross-column-detail",K="gc-table-sheet-cross-column-detail-value",q="gc-table-sheet-cross-column-attributes-list",$="gc-table-sheet-cross-column-item",tt="gc-table-sheet-cross-column-item-checkbox",nt="gc-table-sheet-cross-column-item-edit",it="gc-table-sheet-cross-column-item-input-filter",et="gc-table-sheet-cross-column-item-editing",ot="gc-table-sheet-cross-detail-input",rt="gc-table-sheet-hidden",ut="gc-table-sheet-summary-item-input-relateTo",ct="gc-table-sheet-summary-item-input-position",at="gc-table-sheet-group-item-setting",st="attribute-index",n.ARROW_DOWN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHJJREFUOE+10i0OwkAQBtC394ED4PE4EA0HBIeurEX2QE2TDYKwOyTTrt3Myzc/RfKVZL1dgQPmKGErwRFP3PHuIb0WTnhgwNRCohmca5Ibxl9IBKw1l4pc8fpGdgdSLaSGuMkaU4cUHeDn/58tdLE0sABwBBIR30jsewAAAABJRU5ErkJggg==",n.ARROW_RIGHT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAI1JREFUOE/t0rEJwlAQBuAv09hJagewsBQMFuIqDuEA9tpa2qbMAA7gAG4gB08IjySvSCe+9riPe/9dZearZvb7UWCB50g2O9z6tTyDE7bY4JUh0XxF00eGQgxknZB3QqL5gj3uUxN8a4GsEhITnXHAI//a1BoDWaLGEe1QLqU7CCRG7sYOrgQUD/UP8AFFTRERJMaNUQAAAABJRU5ErkJggg==",lt=function(t,n){return t?n:""},ft=function(t){var n=t.formula,i=t.caption,o=void 0===i?"":i,r=t.sliceField,u=t.columnList,c=t.relateTo,a=t.position,s=t.showSlice;return'\n <div class="gc-table-sheet-summary-item-formula">\n <span class="'.concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelFormula,"</span>\n <input aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelFormula,"' class=\"").concat(B,'" input-type="formula" spellcheck="false" tabIndex="-1" current-data=\'').concat(d(n),"' value='").concat(d(n),'\'></input>\n <span class="gc-table-sheet-summary-item-remove-icon" title="').concat((0,e.getSR)().GroupPanelItemRemove,'"></span>\n </div>\n <div class="').concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelCaption,"</span>\n <input aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelCaption,"' class=\"").concat(Q,'" input-type="caption" spellcheck="false" tabIndex="-1" current-data=\'').concat(d(o),"' value='").concat(d(o),"'></input>\n </div>")+lt(s,'\n <div class="gc-table-sheet-summary-item-slice">\n <span class="'.concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelSlice,"</span>\n <input aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelSlice,"' class=\"").concat(R,'" input-type="slice" spellcheck="false" tabIndex="-1" current-data=\'').concat(r,"' value='").concat(r,"'></input>\n </div>"))+lt(!s,'\n <div class="gc-table-sheet-summary-item-relateTo">\n <span class="'.concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelRelateTo,"</span>\n <select aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelRelateTo,"' class=\"").concat(ut,' gc-table-sheet-summary-item-select" name="relateTo">').concat('<option value="" style="display: none"></option>'+u.map((function(t){return'<option value="'.concat(t.value,'" ').concat(t.value===c?"selected":"",">").concat(t.text,"</option>")})),'</select>\n </div>\n <div class="gc-table-sheet-summary-item-position">\n <span class="').concat(G,'">').concat((0,e.getSR)().GroupPanelSummaryLabelPosition,"</span>\n <select aria-label='").concat((0,e.getSR)().GroupPanelSummaryLabelPosition,"' class=\"").concat(ct,' gc-table-sheet-summary-item-select" name="position">\n <option value="header" ').concat("header"===a?"selected":"",">").concat((0,e.getSR)().GroupPanelSummaryLabelPositionHeader,'</option>\n <option value="footer" ').concat("footer"===a?"selected":"",">").concat((0,e.getSR)().GroupPanelSummaryLabelPositionFooter,"</option>\n </select>\n </div>"))},dt=function(t){var n=t.find(".".concat(B)).val(),i=t.find(".".concat(Q)).val(),e=t.find(".".concat(R)).val(),o=t.find(".".concat(ut)).val(),r=t.find(".".concat(ct)).val();return{formulaInputValue:n,captionInputValue:i,sliceInputValue:e,relateToValue:o,positionValue:r}},function(t){t[t.none=0]="none",t[t.field=1]="field",t[t.formula=2]="formula",t[t.all=3]="all"}(ht=n.ShowSourceOptions||(n.ShowSourceOptions={})),vt={showSource:ht.none,fieldAreaVisible:!0,crossAreaVisible:!1,groupAreaVisible:!0,showEditButton:!1,showViewName:!0,showGroupSetting:void 0},gt=function(){function t(t,n,i,e){this.AMi=!0,this.Zc=t,this.vMi=n,this.jMi=0,this.Ti=i,this.options=o.util.b0(vt,this.zMi.bind(this)),this.Zp(e||{}),this.CMi=[],this.wMi=-1,i&&(0,o.GC$)(i).data(v,this),this.Ti.innerHTML=this.yMi(),this.mMi=i.querySelector(".".concat(m)),this.LMi=i.querySelector(".".concat(b)),this.xMi=i.querySelector(".".concat(y)),this.SMi=i.querySelector(".".concat(w)),this.ZMi=i.querySelector(".".concat(X)),this.OMi=this.ZMi.querySelector(".".concat(q)),this.EMi=i.querySelector(".".concat(w,".").concat(C,".").concat(J)),this.GMi=i.querySelector(".".concat(Z)),this.pMi=i.querySelector(".".concat(F)),this.attach(n),this.kMi(),this.vMi.UMi=this,this.AMi=!1}return t.prototype.ZS=function(){var t=this;setTimeout((function(){var n,i,e;null===(e=null===(i=null===(n=t.vMi)||void 0===n?void 0:n.getParent)||void 0===i?void 0:i.call(n))||void 0===e||e.focus(!0)}),0)},t.prototype.Hc=function(t,n){var i,e,r,u,c,a=new o.Workbook(n,{allowUndo:!1,enableAccessibility:null===(e=null===(i=this.vMi)||void 0===i?void 0:i.getParent())||void 0===e?void 0:e.options.enableAccessibility});a.xU=!0,a.suspendPaint(),a.suspendEvent(),this.fb(a),r=a.getSheet(0),this.BMi=r,this.QMi(r),this.RMi(),this.PMi(),this.YMi=this.WMi(),u=this.HMi(t.getDataView()),this.CMi=u,this.VMi(a,r.getViewportBottomRow(1)<u.length-1),this.FMi(r,u),a.resumeEvent(),a.resumePaint(),(c=this).mMi&&(c.JMi=D.setTimeout((function(){var t=(0,o.GC$)(c.mMi),n=t.data("workbook");n&&Math.abs(t.height()-(0,o.GC$)(n._vp).height())>n.Xm()&&n.refresh(),c.JMi&&(D.clearTimeout(c.JMi),c.JMi=0)}),100))},t.prototype.fb=function(t){t.options.allowContextMenu=!1,t.options.allowUserZoom=!1,t.options.allowUserDragDrop=!1,t.options.allowDragHeaderToMove=o.AllowDragHeaderToMove.none,t.options.allowUserDragFill=!1,t.options.showHorizontalScrollbar=!1,t.options.scrollbarMaxAlign=!0,t.options.tabStripVisible=!1,t.options.tabNavigationVisible=!1,t.options.grayAreaBackColor="white",t.options.scrollByPixel=!0,this.XMi(t)},t.prototype.QMi=function(t){var i=this.options;t.selectionPolicy(o.SelectionPolicy.single),t.selectionUnit(o.SelectionUnit.row),t.options.showFormulas=!0,t.options.rowHeaderVisible=!1,t.options.colHeaderVisible=!1,!1===i.showViewName?t.setRowVisible(0,i.showViewName):t.frozenRowCount(1),t.options.gridline.showHorizontalGridline=!1,t.options.gridline.showVerticalGridline=!1,t.setColumnCount(2),t.setRowCount(30),t.setColumnWidth(0,20),t.setColumnWidth(1,"*"),t.outlineColumn.options({columnIndex:1,showIndicator:!0,collapseIndicator:n.ARROW_RIGHT,expandIndicator:n.ARROW_DOWN}),t.outlineColumn.refresh(),t.showRowOutline(!1),t.rowOutlines.KMi=!0,t.t4(0,1)},t.prototype.zMi=function(t,n,i){var e,o=this;if(!o.AMi)switch(t){case"showSource":o._Mi();break;case"fieldAreaVisible":case"crossAreaVisible":case"groupAreaVisible":e=o.vMi,o.detach(),o.vMi=e,o.Ti.innerHTML=o.yMi(),o.mMi=o.Ti.querySelector(".".concat(m)),o.LMi=o.Ti.querySelector(".".concat(b)),o.ZMi=o.Ti.querySelector(".".concat(X)),this.OMi=this.ZMi.querySelector(".".concat(q)),o.xMi=o.Ti.querySelector(".".concat(y)),o.SMi=o.Ti.querySelector(".".concat(w)),o.EMi=o.Ti.querySelector(".".concat(w,".").concat(C,".").concat(J)),this.GMi=o.Ti.querySelector(".".concat(Z)),this.pMi=o.Ti.querySelector(".".concat(F)),o.attach(e),o.kMi(),e.UMi=o}},t.prototype.Zp=function(t){var n=this.options||{};t=o.GC$.extend(!0,{},vt,t),o.GC$.each(t,(function(t,i){n.hasOwnProperty(t)&&(n[t]=i)}))},t.prototype.RMi=function(){var t,n,i,r,u,c,a,l=this,f=l.Tp(),d=l.vMi,h=l.LMi.getBoundingClientRect();f.bind(o.Events.EditStarting+g,(function(t,n){var i=n.row,e=l.CMi;e[i]&&e[i].isCalculateColumn||(n.cancel=!0)})),f.bind(o.Events.EditStarted+g,(function(t,n){var i,e;n.row!==f.getRowCount()-1||f.il.text()||f.il.text("="),f.il&&(f.il.qMi=!0),l.$Mi=!0})),f.bind(o.Events.EditEnded+g,(function(t,n){var i,e,o,r,u,c,a,h,v=n.row,g=l.CMi,M=d.getDataView(),I=n.editingText,N=!1;if(l.$Mi=!1,o=f.getText(v,1),r=null===(i=null==I?void 0:I.replace)||void 0===i?void 0:i.call(I,/\s/g,""),u=null===(e=null==o?void 0:o.replace)||void 0===e?void 0:e.call(o,/\s/g,""),!r){if(o)return;N=!0}if(String(u).toUpperCase()===String(r).toUpperCase()||N){if(g[v]&&g[v].isCalculateColumn){if(c=l.HMi(M,v-1),I){if(0===I.indexOf("=")&&I!==(c&&c.value)){a=I;try{a=d.Iuo(a,!0)}catch(t){return void l._Mi()}c?((h=Mt({},c)).value===h.caption&&(h.caption=a),h.value=a,d.zA({cmd:s.VIEW_UPDATE_COLUMN_INFO,columnInfos:[h]})):d.zA({cmd:s.VIEW_Add_COLUMN_INFO,columnInfo:{value:a,readonly:!0}})}}else c&&d.zA({cmd:s.VIEW_REMOVE_COLUMN_INFO,value:c.value});l._Mi(),f.il&&(f.il.qMi=!1),l.ZS()}}else l._Mi()})),f.bind(o.Events.ValueChanged+g,(function(t,n){var i,r,u,c,a,f,h,v,g,M,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S=n.newValue,O=n.row,k=n.col,E=n.sheet,Z=d.getDataView();if(0===k&&Z){if(i=[],r=void 0,u=void 0,c=Z.getColumnInfos(!0,!0),(a=l.CMi[n.row])&&a.isCalculateColumn)r=a.value;else if(a.bMi){for(f=0;f<c.length;f++)if((h=c[f])&&h.cross&&h.cross===a.bMi){u=f;break}}else r=yt(v=E.getValue(O,1,o.SheetArea.viewport,o.ValueType.richText));if(g=Z.getColumnInfos(!0),0===n.row&&r===Z.name){for(M=0,N=g;M<N.length;M++)h=N[M],i.push(Mt(Mt({},h),{visible:S}));for(D=0,b=c;D<b.length;D++)m=b[D],i.push(Mt(Mt({},m),{visible:S}))}else if(u!==I){for(C=0,w=g;C<w.length;C++)(h=w[C]).isCross&&h.RBt===u&&i.push(Mt(Mt({},h),{visible:S}));i.push(Mt(Mt({},c[u]),{visible:S}))}else if(1===(y=E.getCell(O,1).textIndent())){for(x=0,A=g;x<A.length;x++)if(h=A[x],((0,e.tIi)(h.caption)===r||h.value===r)&&!h.isGroup){i.push(Mt(Mt({},h),{visible:S}));break}}else for(j=function(t){return"string"==typeof t?t.substring(0,t.indexOf(".")):""},T=j(g[O-1].value),z=0,p=g;z<p.length;z++)if("string"==typeof(L=(h=p[z]).value)&&-1!==L.indexOf(T)&&-1!==L.indexOf("."+r)&&!h.isGroup){i.push(Mt(Mt({},h),{visible:S}));break}d.zA({cmd:s.VIEW_UPDATE_COLUMN_INFO,columnInfos:i}),l.CMi=l.HMi(Z),l.ZS()}})),t=function(t){var n=l.CMi[t].nIi;return!N(n)&&n.indexOf(".")>0},n=function(t){var n=l.CMi[t].nIi;return!N(n)&&n.indexOf(".")>0&&l.eIi().isLookupField(n)},i=function(t){return!N(t)&&!N(l.oIi)&&t.indexOf(".")>0},r=function(t){var n=l.CMi[t].nIi;return i(n)&&!l.mLt(n)},u=function(t){var n=l.CMi[t].nIi;return i(n)&&l.mLt(n)},c=function(t){var n,i=l.CMi[t],e=i.yBt,o=i.nIi;l.uIi=o,e?(l.oIi=o,l.cIi=[],l.rIi&&l.rIi.indexOf(".")>-1&&(l.rIi=void 0,l.aIi=-1,l.wMi=-1),l.AMi=!0,l.sIi(!0),l.MIi(!1),l.IIi(),l.AMi=!1):Dt(i)&&(n=l.gIi(i.bMi),l.NIi=l.CMi.filter((function(t){return Dt(t)})).indexOf(i),l.cIi=l.lIi(),l.options.groupAreaVisible?(l.oIi=n.over,l.rIi&&l.rIi.indexOf(".")>-1&&(l.rIi=void 0,l.aIi=-1,l.wMi=-1),l.AMi=!0,l.sIi(!0),l.MIi(!1),l.IIi(),l.AMi=!1):l.options.crossAreaVisible&&l.IIi())},a={},l.DIi=function(t){var i,e,u,s,d,v;if(t.target===f.Dg()&&(i=l.fIi(f,t))&&!l.$Mi&&(a={x:t.x,y:t.y},e=i.row,u=i.col,!N(e)&&e>0&&!N(u))){if(n(e))return void c(e);if(r(e))return;if(i.cellTypeHitInfo&&i.cellTypeHitInfo.outlineColumnHitInfo&&(l.dIi=!0),s=f.getValue(e,1),d=void 0,l.Ano=!1,"string"!=typeof s?(d=s=f.getFormula(e,1),l.Ano=!0):l.CMi[e].isRelationship?(d=l.hIi(f,e)+"."+s,l.TIi=!1):(d=yt(v=f.getValue(e,1,o.SheetArea.viewport,o.ValueType.richText)),l.TIi=!0),!l.CMi[e].isRelationship&&Ct(l.CMi[e])&&!l.options.crossAreaVisible)return;l.rIi=d,h=l.LMi.getBoundingClientRect(),l.aIi=e,l.wMi=e,c(e)}},l.bIi=function(n){var i,e,o,r,u=l.rIi,c=n.x!==a.x||n.y!==a.y;if(u&&c){if(l.AIi(n,u,h,l.LMi),(i=l.fIi(f,n))&&(e=i.row,o=i.col,!N(o)&&e&&e!==l.wMi)){if(t(e))return;f.t4(e,1)}(r=f.Dg())&&(r.style.cursor="move"),l.xMi&&(l.xMi.style.cursor="move"),l.dIi=!1}},l.vIi=function(n){var i,e,o,r,c,a,s,h,v,g,M=l.rIi;M&&((i=l.fIi(f,n))&&!l.dIi&&(e=i.row,o=i.col,r=d.jIi,c=l.aIi,N(e)||N(o)||!(e!==c&&e>r&&c>r||e===c)?(f.t4(l.aIi,0),l.zIi(n.target,l.xMi)&&l.kMi(),l.CIi(n)):(a=d.getDataView())&&!u(c)&&(l.CMi[c].isRelationship&&2===l.CMi[c].textIndent?l.wIi(c,e):l.yIi(c,e),h=!((s=l.CMi[e]).yBt||Dt(s)||t(e)),l.options.crossAreaVisible&&h&&(l.rIi=void 0,l.TIi=void 0,l.aIi=-1,l.wMi=-1,l.cIi=I,l.oIi=I,l.NIi=void 0,l.mIi=void 0,l.AMi=!0,l.sIi(!1),l.MIi(!0),l.LIi(),l.xIi(),l.AMi=!1))),l.dIi=!1,l.rIi=void 0,l.TIi=void 0,l.aIi=-1,l.wMi=-1,(v=f.Dg())&&(v.style.cursor="default"),l.xMi&&(l.xMi.style.cursor="default"),(g=l.SIi)&&(g.style.display="none"))},(0,o.GC$)(".".concat(V)).bind("click",(function(){var t,n,i,e,r,u,c=f.getRowCount();if(!l.$Mi&&0!==c){if(f.suspendPaint(),n=(t=f.rowOutlines.items.map((function(t){return t.collapsed}))).some((function(t){return t})))for(i=0,e=t.length;i<e;i++)(r=t[i])&&f.outlineColumn.setCollapsed(i,!1);if(f.ffe(c,1,3,{rowExpand:!1,clearUndoNotInCommand:!1}),l.CMi[c]={isCalculateColumn:!0,checkStatus:!0,value:"",textIndent:1},f.getCell(c,1).locked(!1).textIndent(1),f.outlineColumn.refresh(),f.setActiveCell(c,1),f.showCell(c,0,o.VerticalPosition.center,o.HorizontalPosition.center),n){for(i=t.length-1;i>-1;i--)(r=t[i])&&f.outlineColumn.setCollapsed(i,!0);f.outlineColumn.refresh()}u=setTimeout((function(){f.startEdit(),clearTimeout(u)}),0),f.resumePaint()}})),l.mMi&&l.mMi.addEventListener("mousedown",l.DIi,!0),document.addEventListener("mousemove",l.bIi,!0),document.addEventListener("mouseup",l.vIi,!0)},t.prototype.hIi=function(t,n){for(;n>=0;){var i;if(1===t.getCell(n,1).textIndent())return t.getValue(n,1);n--}return""},t.prototype.ZIi=function(t,n){var i,e,o,r,u,c,a,s,l,f,d,h=this,v=h.eIi();if(h.CMi=h.HMi(v),i=v.getColumnInfos(),e=h.CMi.filter((function(t){return mt(t)})),o=h.CMi.filter((function(n,i){return i<t&&Dt(n)&&!n.isRelationship})),r=o.reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),u=t<n?n+1:n,c=h.CMi.filter((function(t,n){return n<u&&Dt(t)&&!t.isRelationship})),a=c.reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),s=h.CMi.filter((function(n,i){return i<t&&Ct(n)&&!n.isRelationship})).length,l=h.CMi.filter((function(t,i){return i<n&&Ct(t)&&!t.isRelationship})).length,!h.CMi[t].isRelationship&&h.CMi[n].isRelationship)if(s=0,t>n){for(f=n;f>=0;f--)if(!h.CMi[f].isRelationship||2!==h.CMi[f].textIndent){l=n-f;break}}else{for(d=!1,f=n;f<h.CMi.length;f++)if(!h.CMi[f].isRelationship||2!==h.CMi[f].textIndent){l=n-f,d=!0;break}d||(l=n-h.CMi.length)}return{columnInfos:i,columnFieldInfos:e,crossColumnCountBeforeFromRow:r,crossColumnCountBeforeToRow:a,crossRelationFieldCountBeforeFromRow:s,crossRelationFieldCountBeforeToRow:l}},t.prototype.OIi=function(t,n){var i,e,o,r,u,c,a,s,l,f=this,d=f.eIi();return f.CMi=f.HMi(d),i=d.getColumnInfos(),e=f.CMi.filter((function(t){return mt(t)})),r=(o=f.CMi.filter((function(n,i){return i<t&&Dt(n)}))).reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),u=t<n?n+1:n,a=(c=f.CMi.filter((function(t,n){return n<u&&Dt(t)}))).reduce((function(t,n){return t+i.filter((function(t){return t.RBt===n.RBt})).length-1}),0),s=0,l=f.EIi(t,n),f.CMi[t].textIndent===f.CMi[n].textIndent&&f.CMi[t].isRelationship&&f.CMi[n].isRelationship&&f.GIi(t,n)&&(l=0),{columnInfos:i,columnFieldInfos:e,crossColumnCountBeforeFromRow:r,crossColumnCountBeforeToRow:a,crossRelationFieldCountBeforeFromRow:s,crossRelationFieldCountBeforeToRow:l}},t.prototype.GIi=function(t,n){var i,e,o=this,r=o.eIi(),u=o.HMi(r),c="";for(i=t;i>=0;i--)if(!u[i].isRelationship||2!==u[i].textIndent){c=u[i].value;break}for(e="",i=n;i>=0;i--)if(!u[i].isRelationship||2!==u[i].textIndent){e=u[i].value;break}return c===e},t.prototype.EIi=function(t,n){var i,e,o=this,r=o.eIi(),u=o.HMi(r),c=n-t;for(e=t;e>=0;e--)if(!u[e].isRelationship||2!==u[e].textIndent){i=t-e-1;break}return c+i},t.prototype.yIi=function(t,n){var i,e,o,r,u,c,a,l,f,d,h,v,g,M,I=this,N=I.vMi,D=N.getDataView();if(!(I.CMi[t].isRelationship&&1===I.CMi[t].textIndent&&I.CMi[n].isRelationship&&2===I.CMi[n].textIndent||(e=(i=I.ZIi(t,n)).columnInfos,o=i.crossColumnCountBeforeFromRow,r=i.crossColumnCountBeforeToRow,l=t-1-(u=i.crossRelationFieldCountBeforeFromRow),f=n-1-(c=i.crossRelationFieldCountBeforeToRow),(d=t-1+(a=I.pIi(D).length||0)-u+o)===(h=n-1+a-c+r)))){if(v=1,Dt(I.CMi[t])&&(g=I.kIi(D,d),v=e.filter((function(t){return t.RBt===g})).length),I.CMi[t].isRelationship)for(v=1,M=t+1;M<I.CMi.length&&2===I.CMi[M].textIndent;M++)v++;N.zA({cmd:s.VIEW_MOVE_COLUMN,fromColumnOptionIndex:l,toColumnOptionIndex:f,fromColumnIndex:d,toColumnIndex:h,count:v}),I.xxi(),I.ZS()}},t.prototype.xxi=function(){var t=this.vMi,n=t.getDataView(),i=t.Mf.rowFilter();t.suspendPaint(),t.EPt(),i.UIi(),t.resetNewView(n.ILt,n.aPt,n.LEt),i.QIi(),t.jPt(),t.resumePaint()},t.prototype.wIi=function(t,n){var i,e,o,r,u,c,a,l,f,d,h,v,g,M,I,N;t!==n&&(o=(e=(i=this).vMi).getDataView(),u=(r=i.OIi(t,n)).columnInfos,c=r.crossColumnCountBeforeFromRow,a=r.crossColumnCountBeforeToRow,h=t-1-(l=r.crossRelationFieldCountBeforeFromRow),v=n-1-(f=r.crossRelationFieldCountBeforeToRow),(g=t-1+(d=i.pIi(o).length||0)-l+c)!==(M=n-1+d-f+a)&&(I=1,i.CMi[t].isRelationship&&1===i.CMi[t].textIndent&&(N=i.kIi(o,g),I=u.filter((function(t){return t.RBt===N})).length),e.zA({cmd:s.VIEW_MOVE_COLUMN,fromColumnOptionIndex:h,toColumnOptionIndex:v,fromColumnIndex:g,toColumnIndex:M,count:I}),i.xxi(),i.ZS()))},t.prototype.sIi=function(t){var n=this,i=n.EMi;n.options.crossAreaVisible=t,t?i.classList.remove(rt):i.classList.add(rt)},t.prototype.setGroupAreaVisible=function(t){this.MIi(t)},t.prototype.MIi=function(t){var n=this,i=n.SMi,e=n.GMi;n.options.groupAreaVisible=t,t?(i.classList.remove(rt),e.classList.remove(rt)):(i.classList.add(rt),e.classList.add(rt))},t.prototype.AIi=function(t,n,i,e){var o=this,r=o.SIi,u=document.documentElement,c=u&&u.scrollTop||0,a=u&&u.scrollLeft||0;r&&r.parentElement&&r.parentElement!==e&&(r.parentElement.removeChild(r),r=this.SIi=void 0),r||((r=o.SIi=document.createElement("span")).className="gc-table-sheet-move-span",e.appendChild(r)),r.textContent=n,r.style.top=t.pageY+5-c-i.top+"px",r.style.left=t.pageX-50-a-i.left+"px",r.style.display="block"},t.prototype.fIi=function(t,n){var i=t.uw();return t.hitTest(n.pageX-i.left,n.pageY-i.top,!1)},t.prototype.PMi=function(){var t=this,n=t.Tp(),i=t.vMi;i.bind(o.Events.ColumnChanged+g,(function(e,r){var u,c,a,s=r.sheetArea,l=i.getDataView();1!==s&&3!==s||("isVisible"===r.propertyName?(u=r.sheet.getValue(0,r.col,o.SheetArea.colHeader),(c=t.nv(l,u))>=0&&(n.suspendPaint(),n.suspendEvent(),n.setValue(c,0,r.newValue),n.resumeEvent(),n.resumePaint())):"addColumns"!==r.propertyName&&"deleteColumns"!==r.propertyName||(n.suspendPaint(),n.suspendEvent(),a=t.RIi(i),t.FMi(n,a),n.resumeEvent(),n.resumePaint()),t.CMi=t.HMi(l))}))},t.prototype.Tp=function(){if(this.mMi){var t=(0,o.GC$)(this.mMi).data("workbook");if(t)return t.getSheet(0)}return null},t.prototype.RIi=function(t){var n,i,e,r,u,c,a,s=t.getDataView();if(s){for(i=[(n=this.HMi(s))[0]],r=0,u=(e=t.Mf).getColumnCount();r<u;r++)c=e.getValue(0,r,o.SheetArea.colHeader),(a=this.nv(s,c))>=0&&i.push(n[a]);return i}return[]},t.prototype.nv=function(t,n){var i,e;if(t)for(i=t.getColumnInfos(!0),e=0;e<i.length;e++)if(i[e].caption===n||i[e].value===n)return e+1;return-1},t.prototype.kIi=function(t,n){var i=t.BPt(n),e=t.yLt[i];return e&&e.RBt},t.prototype.HMi=function(t,n){var i,e,o,r,u,c,a,s,l,f,d,h,v,g,M,D,b=this;if(t){for(i=[],e=!1,o=t.getColumnInfos(!0,!0),r=!N(n),u=function(){return r&&i.length-1>=n},c=0;c<o.length;c++){if("string"==typeof(a=o[c]).value&&0===a.value.trim().indexOf("="))i.push({value:a.value,textIndent:1,checkStatus:!1!==a.visible,isCalculateColumn:!0});else if(N(a.cross))if("string"==typeof a.value&&t.FPt(a.value)&&1===a.value.split(".").length)if(o[c].isRelationship){for(s=a.value,l=!this.PIi(o,s)||!1,i.push({value:b.$t(a),textIndent:1,checkStatus:!1!==a.visible,setCollapsed:l,isRelationship:!0}),f=b.WIi(a.value,b.YMi,t),d=0,h=[],v=c+1,g=function(){var t,n=o[v].value;"string"==typeof n&&(t={value:n.substring(n.indexOf(".")+1),textIndent:2,checkStatus:!1!==o[v].visible,needCheckBox:!0,isRelationship:!0,isViewColumnOption:!0},(d=f.findIndex((function(t){return t.nIi===n})))>-1?f[d]=Mt(Mt(Mt({},t),f[d]),{checkStatus:t.checkStatus}):h.push(t)),v++};this.YIi(o,v,s);)g();f.forEach((function(t){return i.push(t)})),h.forEach((function(t){return i.push(t)})),c=v-1}else i.push({value:b.$t(a),textIndent:1,checkStatus:!1!==a.visible}),b.WIi(a.value,b.YMi,t).forEach((function(t){return i.push(t)}));else{if("string"==typeof a.value&&"_ganttColumn"===a.value){if(u())return a;continue}M=void 0,D=void 0,"string"==typeof a.value&&-1===a.value.indexOf(".")&&(M=t.isLookupField(a.value),a.yBt=M,D=a.value),i.push({value:b.$t(a),textIndent:1,checkStatus:!1!==a.visible,yBt:M,nIi:D})}else i.push({value:b.$t(a),bMi:a.cross,RBt:a.RBt,textIndent:1,checkStatus:!1!==a.visible});if((N(a.visible)||a.visible)&&(e=!0),u())return a}return r?I:(i.unshift({value:t.name,textIndent:0,checkStatus:e}),i)}return[]},t.prototype.PIi=function(t,n){var i,e;for(i=0;i<t.length;i++)if("string"==typeof(e=t[i]).value&&-1!==e.value.indexOf(n)&&!1!==e.visible)return!0;return!1},t.prototype.YIi=function(t,n,i){if(n>=t.length)return!1;var e=t[n];return!e.cross&&!e.isCross&&(-1!==e.value.indexOf(i)&&-1===e.value.indexOf("="))},t.prototype.$t=function(t){var n,i,o,r=[],u=t.value instanceof Function?t.value.name:t.value,c=(0,e.tIi)(t.caption)||u;return r.push({text:c}),(n=this.options.showSource)===ht.field?"="!==u[0]&&(i=u):n===ht.formula?"="===u[0]&&(i=u):n===ht.all&&(i=u),i&&(o="("+i+")",r.push({style:{foreColor:"lightgrey"},text:o})),{richText:r}},t.prototype.VMi=function(t,n){t.options.showVerticalScrollbar=n},t.prototype.FMi=function(t,i){var r,u,c,l,f,d,h,v=this,g=i.length,M=t.outlineColumn,D=this.options,b=D.showEditButton,m=this.vMi,C=m.Mf,w={};for(t.suspendEvent(),t.suspendPaint(),r=0;r<t.getRowCount();r++)M.getCollapsed(r)&&(M.setCollapsed(r,!1),w[(u=t.getCell(r,1)).value()]=u.textIndent()),i[r]&&!N(i[r].setCollapsed)&&i[r].setCollapsed&&(u=t.getCell(r,1)).textIndent()<=1&&(w[u.value()]=u.textIndent());for(M.reset(),t.setRowCount(g),t.clear(0,0,g,2,3,o.StorageType.data|o.StorageType.style),c=0;c<g;c++)l=i[c],u=t.getCell(c,1).textIndent(l.textIndent),l.isCalculateColumn?t.setFormula(c,1,l.value):u.value(l.value),(l.textIndent<=1||l.needCheckBox)&&t.getCell(c,0).value(l.checkStatus).cellType(new a.CheckBox),f=[],bt(l)&&f.push({useButtonStyle:!1,hoverBackColor:"white",imageType:o.ButtonImageType.custom,imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+bG9vayB1cCBjb2x1bW4xPC90aXRsZT4KICAgIDxnIGlkPSJsb29rLXVwLWNvbHVtbjEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0zLDMgTDUsMyBMNSw0IEwzLDQgTDMsMyBaIE0zLDYgTDUsNiBMNSw3IEwzLDcgTDMsNiBaIE0zLDkgTDUsOSBMNSwxMCBMMywxMCBMMyw5IFogTTMsMTIgTDUsMTIgTDUsMTMgTDMsMTMgTDMsMTIgWiBNNiwzIEwxNCwzIEwxNCw0IEw2LDQgTDYsMyBaIE02LDYgTDE0LDYgTDE0LDcgTDYsNyBMNiw2IFogTTYsOSBMMTQsOSBMMTQsMTAgTDYsMTAgTDYsOSBaIE02LDEyIEwxNCwxMiBMMTQsMTMgTDYsMTMgTDYsMTIgWiIgaWQ9IuW9oueKtue7k+WQiCIgZmlsbD0iIzY2NjY2NiI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=",visibility:o.ButtonVisibility.always,iMe:!0,imageSize:{height:20,width:20}}),Dt(l)&&(f.push({useButtonStyle:!1,hoverBackColor:"white",imageType:o.ButtonImageType.custom,imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwM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ageType.clear,visibility:o.ButtonVisibility.always,iMe:!0,imageSize:{height:18,width:18},command:function(t,n,e,o){var r,u,c=m.getDataView();if(c){for(r=c.uPt(i.filter((function(t){return mt(t)})).indexOf(i[n])),m.zA({cmd:s.REMOVE_CROSS_COLUMN,index:r}),v.cIi=I,v.oIi=I,v.NIi=void 0,v.mIi=void 0,u=0;u<i.length;u++)if(i[u]&&mt(i[u])){t.t4(u,1);break}v.AMi=!0,v.MIi(!0),v.sIi(!1),v.AMi=!1,v.ZS()}}})),b&&f.push({imageType:o.ButtonImageType.custom,imageSrc:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE5XzE1MTEpIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJ0cmFuc3BhcmVudCIvPgo8cGF0aCBkPSJNMC44ODE2OCAxNkMwLjc1OTg0IDE1Ljk5OTggMC42MzkzNzcgMTUuOTc0MiAwLjUyNzk1MSAxNS45MjQ5QzAuNDE2NTI1IDE1Ljg3NTYgMC4zMTY1NzQgMTUuODAzNyAwLjIzNDQ1NCAxNS43MTM3QzAuMTUwODQ5IDE1LjYyNDUgMC4wODcwNTI3IDE1LjUxODYgMC4wNDcyNDg5IDE1LjQwMjlDMC4wMDc0NDUxNSAxNS4yODczIC0wLjAwNzQ2NzAxIDE1LjE2NDYgMC4wMDM0OTAwMiAxNS4wNDI4TDAuMjE4NjQ2IDEyLjY3NjlMMTAuMTU4IDIuNzQxMDhMMTMuMjY0MiA1Ljg0NjM2TDMuMzI3NDQgMTUuNzgxM0wwLjk2MTU5NSAxNS45OTY1QzAuOTM1MDI4IDE1Ljk5ODkgMC45MDgzNTkgMTYuMDAwMSAwLjg4MTY4IDE2VjE2Wk0xMy44ODQyIDUuMjI1NDhMMTAuNzc4OSAyLjEyMDJMMTIuNjQxNSAwLjI1NzU2MUMxMi43MjMxIDAuMTc1OTExIDEyLjgxOTkgMC4xMTExMzYgMTIuOTI2NSAwLjA2Njk0MTdDMTMuMDMzMiAwLjAyMjc0NzUgMTMuMTQ3NCAwIDEzLjI2MjggMEMxMy4zNzgyIDAgMTMuNDkyNSAwLjAyMjc0NzUgMTMuNTk5MSAwLjA2Njk0MTdDMTMuNzA1NyAwLjExMTEzNiAxMy44MDI2IDAuMTc1OTExIDEzLjg4NDIgMC4yNTc1NjFMMTUuNzQ2OCAyLjEyMDJDMTUuODI4NSAyLjIwMTc2IDE1Ljg5MzIgMi4yOTg2MiAxNS45Mzc0IDIuNDA1MjNDMTUuOTgxNiAyLjUxMTg0IDE2LjAwNDQgMi42MjYxMSAxNi4wMDQ0IDIuNzQxNTJDMTYuMDA0NCAyLjg1NjkzIDE1Ljk4MTYgMi45NzEyMSAxNS45Mzc0IDMuMDc3ODJDMTUuODkzMiAzLjE4NDQzIDE1LjgyODUgMy4yODEyOCAxNS43NDY4IDMuMzYyODRMMTMuODg1IDUuMjI0NkwxMy44ODQyIDUuMjI1NDhWNS4yMjU0OFoiIGZpbGw9IiM2NjY2NjYiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xOV8xNTExIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJ0cmFuc3BhcmVudCIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",visibility:o.ButtonVisibility.onSelected,iMe:!0,command:function(n,i,r,u){var c,a,s,l,f,d,h,v,g,M,I=m.getDataView();if(I&&(c=t.getText(i,r)))for(0!==c.indexOf("=")?(s=c.indexOf("("))>=0&&(c=c.substring(0,s)):a=!0,l=I.getColumnInfos(),f=0;f<l.length;f++)if(d=l[f],h=a?d.value:(0,e.tIi)(d.caption||d.value),!d.isGroup&&h===c){v=f,g=C.getSelections(),M=[(0,o.Ec)(-1,v,-1,1)],C.EA(g,M),C.setSelection(-1,v,-1,1),C.showCell(C.Tb||0,v,o.VerticalPosition.nearest,o.HorizontalPosition.nearest),C.jA(g);break}}}),f.length>0&&u.cellButtons(f);for(d in t.outlineColumn.options({columnIndex:1,showIndicator:!0}),t.outlineColumn.options().collapseIndicator=n.ARROW_RIGHT,t.outlineColumn.options().expandIndicator=n.ARROW_DOWN,t.outlineColumn.refresh(),t.showRowOutline(!1),M=t.outlineColumn,w)if(w.hasOwnProperty(d))for(h=w[d],r=0;r<t.getRowCount();r++)if((u=t.getCell(r,1)).value()===d&&u.textIndent()===h){M.setCollapsed(r,!0);break}t.resumePaint(),t.resumeEvent()},t.prototype.kMi=function(){var t,n,i,r,u,c,a=this,l=a.vMi,f=a.rIi,d=l.getDataView();d&&a.options.groupAreaVisible&&(t=d.oPt,n=(0,o.RF)(l.lMi)||[],f?(i=void 0,i=a.TIi?this.CMi.filter((function(t){return mt(t)})).indexOf(this.CMi[a.aIi]):this.CMi.indexOf(this.CMi[a.aIi-1]),t&&t.length&&(i=d.ALt()[i]),r=d.ILt[i],u=r&&r.value,0===(c=n.filter((function(t){return t.field===u}))).length&&(n.push({caption:a.Ano?f:(0,e.hze)(f),field:u}),l.zA({cmd:s.GROUP_OPTIONS,groupOptions:n}),a.ZS())):a.updatePanelLayout())},t.prototype.pIi=function(t){var n,i,e,o,r;if(t||(t=this.eIi()),n=[],(i=t&&t.getColumnInfos())&&i.length)for(e=0,o=i;e<o.length;e++)(r=o[e]).isGroup&&n.push(r);return n},t.prototype.yMi=function(){var t=this.options.fieldAreaVisible,n=this.options.crossAreaVisible,i=this.options.groupAreaVisible,o="",r="",u="",c="";return o='<div class="'.concat(U,'">\n <span class="gc-table-sheet-field-header">').concat((0,e.getSR)().GroupPanelFieldsHeader,"\n <span role='button' aria-label='").concat((0,e.getSR)().GroupPanelAddCalculateColumn,"' class=\"").concat(V,"\" title='").concat((0,e.getSR)().GroupPanelAddCalculateColumn,"'></span>\n </span>\n <div class=\"").concat(m,'"></div>\n </div>'),r=this.FIi(n),u='<div class="'.concat(w,'">\n <span class="gc-table-sheet-group-header">').concat((0,e.getSR)().GroupPanelGroupsHeader,'</span>\n <ul class="').concat(y,"\" role='listbox' aria-label='").concat((0,e.getSR)().GroupPanelGroupsHeader,"' >\n <span role='option' aria-label='").concat((0,e.getSR)().GroupPanelTip,'\' class="gc-table-sheet-group-tip">').concat((0,e.getSR)().GroupPanelTip,"</span>\n </ul>\n </div>"),c='<div class="'.concat(Z,'"></div>'),!1===t&&(o=o.replace(U,U+" "+rt),u=u.replace(w,"".concat(w," half-height")),c=c.replace(Z,"".concat(Z," half-height"))),!1===i&&(u=u.replace(w,w+" "+rt),c=c.replace(Z,Z+" "+rt)),!1===n&&!1===i&&(o=o.replace(U,"".concat(U," total-height"))),'<div class="'.concat(b,'">\n ').concat(o,"\n ").concat(u,"\n ").concat(r,"\n ").concat(c,'\n </div>\n <div class="').concat(F,'" style="display:none;"></div>')},t.prototype.updatePanelLayout=function(){this.IIi(),this.LIi(),this.xIi(),this._Mi()},t.prototype.getBindingTable=function(){return this.vMi},t.prototype.LIi=function(){this.SWt(),this.JIi(),this.Fz()},t.prototype.xIi=function(){var t,n,i,e=this;this.GMi&&(this.XIi(),n=function(){var t;return null===(t=e.GMi)||void 0===t?void 0:t.querySelector(".".concat(Y))},i=null===(t=n())||void 0===t?void 0:t.scrollTop,this.GMi.innerHTML=this.KIi(),n()&&(n().scrollTop=i),this._Ii(),this.qIi=!1)},t.prototype.JIi=function(){var t,n,i,e,o=this.vMi,r=o.lMi,u=this.xMi;if(r&&u){for(t="",n=void 0,i=r.length,this.jMi=this.jMi>=i?i-1:this.jMi,e=0;e<r.length;e++)n=r[e],t+=this.$Ii(n,e);u.innerHTML=t,u.style.border="solid 1px lightgrey",this.igi=u.querySelector(".".concat(x))}else this.tgi()},t.prototype._Mi=function(){var t,n;this.mMi&&(t=this.vMi,n=this.HMi(t.getDataView()),this.CMi=n,this.FMi(this.Tp(),n))},t.prototype.tgi=function(){var t,n=this.xMi;n&&(n.innerHTML="<span role='option' aria-label='".concat((0,e.getSR)().GroupPanelTip,'\' class="gc-table-sheet-group-tip">').concat((0,e.getSR)().GroupPanelTip,"</span>"),n.style.border="",this.jMi=0),(t=this.GMi)&&(t.innerHTML="")},t.prototype.Fz=function(){var t,n,i=this,e=i.vMi,r=i.BMi,u=r&&r.Dg(),c=(0,o.RF)(e.lMi),a=i.xMi;a&&(t=i.igi,n=i.LMi.getBoundingClientRect(),(0,o.GC$)(".".concat(A),a).bind("click",(function(t){var n,e,r=t.target.className;r===j?(e=(n=(0,o.GC$)(t.target).parent()).attr(T),i.ngi(e)):r===at&&(e=(n=(0,o.GC$)(t.target).parent()).attr(T),i.rno(e))})).bind("mousedown",(function(t){var e,r=t.target,u=t.target.className,c=!1;u.indexOf(j)>-1||(u.indexOf(E)>-1?(r=r.parentElement,c=!0):u.indexOf(A)>-1&&(c=!0),c&&(e=(0,o.GC$)(r).attr(T),i.egi=e,n=i.LMi.getBoundingClientRect(),i.jMi!==+e&&(i.jMi=+e,i.XIi(),i.ogi(r),i._Ii()),i.ugi=r))})),i.cgi=function(t){var r,s,l,f,d,h,v,g,N,D=i.egi;D!==I&&D!==M&&(r=(c=(0,o.RF)(e.lMi))[D].caption||c[D].field,i.AIi(t,r,n,i.LMi),u&&(u.style.cursor="move"),i.Ti.style.cursor="move",f=!1,(l=(s=t.target).parentElement)&&l.className.indexOf(A)>-1?(s=l,f=!0):s.className.indexOf(A)>-1&&(f=!0),d=i.ugi,f&&d!==s&&((h=s.getAttribute(T))<D?(d.className=d.className.replace(W,"").replace(H,"").trim(),s.className=s.className+" ".concat(W)):h>D?(d.className=d.className.replace(W,"").replace(H,"").trim(),s.className=s.className+" ".concat(H)):d.className=d.className.replace(W,"").replace(H,"").trim(),i.ugi=s),g=(v=a.getBoundingClientRect()).top+document.documentElement.scrollLeft,N=v.bottom+document.documentElement.scrollTop,t.pageY<g?a.scrollTop=a.scrollTop-10:t.pageY>N&&(a.scrollTop=a.scrollTop+10))},i.rgi=function(t){var n,r,a,l,f=i.egi,d=t.target;c=(0,o.RF)(e.lMi),f!==I&&(i.ugi.className=i.ugi.className.replace(W,"").replace(H,"").trim(),i.zIi(d,i.xMi)?(n=i.ugi)&&(r=(0,o.GC$)(n).attr(T))!==f&&(a=c.splice(f,1)[0],c.splice(r,0,a),i.jMi=+r,e.zA({cmd:s.GROUP_OPTIONS,groupOptions:c}),i.ZS()):i.ngi(f)),i.egi=I,i.ugi=I,u&&(u.style.cursor="default"),i.Ti.style.cursor="default",(l=i.SIi)&&(l.style.display="none")},document.addEventListener("mouseup",i.rgi,!0),document.addEventListener("mousemove",i.cgi,!0),(0,o.GC$)(".".concat(x)).bind("blur",(function(n){"none"!==t.style.display&&(i.agi(n.target),t.style.display="none")})).bind("keydown",(function(n){13===n.keyCode?(i.agi(n.target),t.style.display="none"):27===n.keyCode&&(t.style.display="none")})),(0,o.GC$)(".".concat(y)).bind("dblclick",(function(t){var n;t.target.className===E&&i.sgi(t)})))},t.prototype.Xeo=function(t){return t?t.getColumnInfos(!0,!0).filter((function(t){return N(t.cross)})).map((function(t){var n=t.value instanceof Function?t.value.name:t.value;return{text:(0,e.tIi)(t.caption)||n,value:n}})):[];var n},t.prototype.Mgi=function(){var t,n,i,e=document.createElement("li");return e.className=S,t=this.Xeo(this.vMi.getDataView()),n=this.vMi.options.groupLayout.mode===r.GroupLayoutMode.tabular,i=this.vMi.options.groupLayout.position,e.innerHTML=ft({sliceField:"",caption:"",formula:"",columnList:t,showSlice:n,position:i}),e},t.prototype.ogi=function(t){var n,i,e=this,o=e.xMi,r=o.querySelectorAll(".".concat(A));for(n in r)r.hasOwnProperty(n)&&((i=r[n]).className=i.className.replace("selected","").trim(),i===t&&(i.className=i.className+" selected"));this.GMi&&(this.GMi.innerHTML=this.KIi(),this.qIi=!1)},t.prototype.Nuo=function(t){return this.vMi.Nuo(t)},t.prototype.Iuo=function(t){return this.vMi.Iuo(t)},t.prototype.KIi=function(){var t,n,i,o,u,c,a,s,f,d=this,h=d.jMi,v="",g=d.vMi,M=g.lMi,I=M&&M[h],N=I&&I.field,D="",b=I&&I.summaryFields,m=this.Xeo(this.vMi.getDataView()),C=g.options.groupLayout&&(0,l.isGroupOutlineCondensedLayout)(g.options.groupLayout.mode);if(b)for(n=0;n<b.length;n++)u="",(o=(i=b[n]).slice)&&(u="string"==typeof o?o:o.field),c=C?i.caption:i.caption||i.formula,a=i.relateTo,s=i.position||(null===(t=this.vMi.options.groupLayout)||void 0===t?void 0:t.position)||"header",a||(a=this.vMi.getDataView().ucr(i.formula,!0)[0]),f=this.vMi.options.groupLayout.mode===r.GroupLayoutMode.tabular,D+='<li class="'.concat(S,'" ').concat(T,"=").concat(h," ").concat(L,"=").concat(n,">\n ").concat(ft({formula:d.Nuo(i.formula),caption:c,sliceField:d.Nuo(u),columnList:m,relateTo:a,position:s,showSlice:f}),"\n </li>");return N&&(v='<div class="gc-table-sheet-summary-header">\n <span class="gc-table-sheet-summary-label">'.concat(N,'</span>\n <span class="').concat(P,'" title="').concat((0,e.getSR)().GroupPanelItemAddCalculation,'"></span>\n <span class="gc-table-sheet-summary-remove" title="').concat((0,e.getSR)().GroupPanelItemRemoveAll,'"></span>\n </div>\n <ul class="').concat(Y,'">\n ').concat(D,"\n </ul>")),v},t.prototype._Ii=function(){var t,n,i=this,e=i.pMi;(0,o.GC$)(".".concat(Y)).bind("change",(function(e){var r,u,c,a,l,f,d,h,v,g,M,N,D,b,m,C=(0,o.GC$)(e.target),w=C.attr("current-data"),y=C.val(),x=C.parent();if(w!==y&&x&&x[0]&&"="!==y){if(r=i.vMi,u=(0,o.RF)(r.lMi),c=i.jMi,a=u&&u[c],l=JSON.parse(JSON.stringify(u)),d=(f=x.parent()).attr(L),v=(h=dt(f)).formulaInputValue,g=h.captionInputValue,M=h.sliceInputValue,N=h.relateToValue,D=h.positionValue,a.summaryFields||(a.summaryFields=[]),M&&""!==M){if(-1===M.indexOf("(")&&(b=M.replace("=",""),M=b,!i.Igi(b)))return}else M=I;(m=a.summaryFields[d])?(m.formula=i.Iuo(v),m.caption=g||v,m.slice=i.Iuo(""===M?I:M),m.position=D,m.relateTo=N):a.summaryFields.push({formula:i.Iuo(v),caption:g||v,slice:i.Iuo(""===M?I:M),position:D,relateTo:N});try{r.zA({cmd:s.GROUP_OPTIONS,groupOptions:u})}catch(t){r.groupBy(l)}i.ZS()}i.ggi(t,n)})),(0,o.GC$)(".".concat(B)).bind("focus",(function(r){var u=r.target,a=(0,o.GC$)(u).val()||"=";(t=new c.FormulaTextBox(u,M,M)).Ngi=!0,n=new o.Workbook(e,{allowDynamicArray:!0,allowUndo:!1}),i.XMi(n),i.lgi(n),t.workbook(n),t.text(a)})).bind("blur",(function(e){var r=(0,o.GC$)(e.target),u;"="===r.val()&&r.val(""),i.ggi(t,n)})).bind("keydown",(function(e){13===e.keyCode&&(i.ggi(t,n),e.target.blur())})),(0,o.GC$)(".".concat(R)).bind("focus",(function(r){var u=r.target,a=(0,o.GC$)(u).val()||"=";(t=new c.FormulaTextBox(u,M,M)).Ngi=!0,n=new o.Workbook(e,{allowDynamicArray:!0,allowUndo:!1}),i.XMi(n),i.lgi(n),t.workbook(n),t.text(a)})).bind("blur",(function(e){var r=(0,o.GC$)(e.target),u;"="===r.val()&&r.val(""),i.ggi(t,n)})).bind("keydown",(function(e){13===e.keyCode&&(i.ggi(t,n),e.target.blur())})),(0,o.GC$)(".".concat(Z)).bind("mouseup",(function(e){var r,u,c,a,l,f,d,h,v,g,M,I=e.target,N=I.className;"gc-table-sheet-summary-remove"===N?(r=i.vMi,u=(0,o.RF)(r.lMi),c=i.jMi,(a=u&&u[c]).summaryFields=[],r.zA({cmd:s.GROUP_OPTIONS,groupOptions:u}),i.ZS()):N===P?(f=(l=i.GMi).querySelector(".".concat(Y)))&&!i.qIi&&(i.qIi=!0,i.XIi(),d=i.Mgi(),f.appendChild(d),i._Ii()):"gc-table-sheet-summary-item-remove-icon"===N&&(v=(h=(0,o.GC$)(e.target)).parent())&&v[0]&&(r=i.vMi,u=(0,o.RF)(r.lMi),c=i.jMi,a=u&&u[c],(M=(g=v.parent()).attr(L))&&a.summaryFields?(a.summaryFields.splice(parseInt(M,10),1),r.zA({cmd:s.GROUP_OPTIONS,groupOptions:u}),i.ZS()):M||(g.remove(),i.ggi(t,n),i.qIi=!1))}))},t.prototype.lgi=function(t){var n=t.getActiveSheet();delete n.Qy().PUt.enter,n.setRowCount(1),n.setColumnCount(1)},t.prototype.ggi=function(t,n){t&&t.destroy&&t.destroy(),n&&n.destroy&&n.destroy()},t.prototype.Igi=function(t){var n,i=this.vMi.getDataView(),e=i&&i.getColumnInfos(!0).map((function(t){return t.value}));return!!(e&&e.indexOf(t)>-1)},t.prototype.XMi=function(t){var n,i,o,r,u,c=this.vMi,a=c.getDataView(),s=a&&a.getColumnInfos(!0,!0);if(s)for(this.Dgi&&(n=this.Dgi.map((function(t){return{value:t.attribute}})),s=s.concat(n)),i=0,o=s;i<o.length;i++)(u=(r=o[i]).value)&&"string"==typeof u&&-1===u.indexOf("=")&&r.cross===I&&t.zwt(t.hyt,u,"=A1",0,0,!0,(0,e.getSR)().GroupPanelDropDownCalcField+" "+u)},t.prototype.XIi=function(){(0,o.GC$)(".".concat(Y)).unbind("change"),(0,o.GC$)(".".concat(B)).unbind("focus"),(0,o.GC$)(".".concat(B)).unbind("blur"),(0,o.GC$)(".".concat(B)).unbind("keydown"),(0,o.GC$)(".".concat(R)).unbind("focus"),(0,o.GC$)(".".concat(R)).unbind("blur"),(0,o.GC$)(".".concat(R)).unbind("keydown"),(0,o.GC$)(".".concat(Z)).unbind("mouseup")},t.prototype.sgi=function(t){var n=this,i=n.igi,e=(0,o.GC$)(t.target).parent(),r=e.attr(z);i.style.display="inline",i.value=r,i.style.left="",i.style.width="",e.append(i),i.focus()},t.prototype.ngi=function(t){var n=this,i=n.vMi,e=(0,o.RF)(i.lMi),r=e[t],u=r&&r.field;(e=e.filter((function(t){return t.field!==u}))).length?i.zA({cmd:s.GROUP_OPTIONS,groupOptions:e}):i.zA({cmd:s.GROUP_OPTIONS,groupOptions:[]}),n.ZS()},t.prototype.rno=function(t){var n=this.vMi,i=n.lMi[t];n.ki(o.Events.TableSheetGroupFieldSetting,{groupOption:i})},t.prototype.SWt=function(){var t=this,n=t.xMi;(0,o.GC$)(".".concat(A),n).unbind("click"),(0,o.GC$)(".".concat(A),n).unbind("mousedown"),(0,o.GC$)(".".concat(y)).unbind("dblclick"),(0,o.GC$)(".".concat(x)).unbind("blur"),(0,o.GC$)(".".concat(x)).unbind("keydown"),(0,o.GC$)(".".concat(P)).unbind("click"),document.removeEventListener("mouseup",t.rgi,!0),document.removeEventListener("mousemove",t.cgi,!0)},t.prototype.agi=function(t){var n,i,r,u,c,a,l,f,d,h=this,v=t.value;v&&(i=(n=(0,o.GC$)(t).parent()).attr(p),r=n.attr(z),u=n.attr(O),c=n.attr(k),a=n.attr(T),l=n.attr(L),f=h.vMi,d=(0,o.RF)(f.lMi),i||r?v!==r&&d&&(d[a].caption=(0,e.hze)(v),f.zA({cmd:s.GROUP_OPTIONS,groupOptions:d})):(u||c)&&v!==u&&d&&(d[a].summaryFields[l].caption=v,f.zA({cmd:s.GROUP_OPTIONS,groupOptions:d})),h.ZS())},t.prototype.$Ii=function(t,n){var i=t.field,o=(0,e.tIi)(t.caption)||i,r=n===this.jMi?" selected":"";return'<li class="'.concat(A).concat(r,"\" role='option' aria-label='").concat(o,"' ").concat(""===r?"":'aria-selected="true"'," ").concat(z,'="').concat(d(o),'" ').concat(p,'="').concat(i,'" ').concat(T,"=").concat(n,'>\n <span class="').concat(E,'">').concat(d(o),'</span>\n <span role="button" aria-label="').concat((0,e.getSR)().GroupPanelItemRemove,'" class="').concat(j,'" title="').concat((0,e.getSR)().GroupPanelItemRemove,'"></span>\n ').concat(lt(this.options.showGroupSetting,'<span role="button" aria-label="'.concat((0,e.getSR)().GroupPanelSetting,'" class="').concat(at,'"></span>')),'\n </li>\n <input class="').concat(x,'" display="none" aria-label=\'').concat((0,e.getSR)().GroupPanelGroupName,"'></input>")},t.prototype.zIi=function(t,n){for(;t;){if(t===n)return!0;t=t.parentElement}return!1},t.prototype.BIi=function(t,n){var i=this,e=i.vMi,o=e.getDataView(),r=t||o.ILt,u=o.aPt,c=null!=n?n:o.LEt;e.zA({cmd:s.RESET_NEW_VIEW,newConfig:{columnInfoOptions:r,includeDefaultColumns:u,options:c}}),i.ZS()},t.prototype.Cno=function(t){var n,i,e,r,u,c,a,s,l,d={};for(n=0;n<t.ILt.length;n++)!((i=t.ILt[n]).style instanceof o.Style)&&i.style&&i.style.cellType&&i.style.cellType instanceof f&&(d[n]||(d[n]={}),d[n].style=i.style,i.style=new o.Style(i.style)),!(i.headerStyle instanceof o.Style)&&i.headerStyle&&i.headerStyle.cellType&&i.headerStyle.cellType instanceof f&&(d[n]||(d[n]={}),d[n].headerStyle=i.headerStyle,i.headerStyle=new o.Style(i.headerStyle));for(n in e=h(t.ILt),d)if(d.hasOwnProperty(n)){if((r=d[n]).style){if((u=e[n])&&u.style){for(a in c={},r.style)r.style.hasOwnProperty(a)&&(c[a]=u.style[a]);u.style=c}t.ILt[n]&&(t.ILt[n].style=r.style)}if(r.headerStyle){if((s=e[n])&&s.headerStyle){for(a in l={},r.headerStyle)r.headerStyle.hasOwnProperty(a)&&(l[a]=s.headerStyle[a]);s.headerStyle=l}t.ILt[n]&&(t.ILt[n].headerStyle=r.headerStyle)}}return e},t.prototype.dgi=function(t,n){var i,e,r,u,c,a,s,l,f,d,h,v=this,g=v.vMi,M=g.getDataView(),D=v.Cno(M),b=null!=n?n:(0,o.RF)(M.LEt),m=v.cIi,C=b&&b.cross||{};for(t&&D.push(m[m.length-1]),i=0,e=0;i<D.length;i++)r=void 0,N(D[i].cross)||(r=m[e],e++),r&&((u=r.cross.attributes)&&(r.cross.attributes=u.filter((function(t){return t}))),c=r.cross.hgi,a=r.cross.Zc,s=r.cross.Tgi,l=r.cross.bgi,f=xt(r),s?(delete f.cross.Tgi,delete r.cross.Tgi,a?(C[a]||(v.Agi(c),f.cross.vgi=f.vgi,C[a]=f.cross),f.cross=a,r.cross=a):c&&C[c]&&(r.cross=f.cross=C[c])):l&&(v.Agi(c),(d=C[a])?(r.vgi=d.vgi,r.cross=a,f.cross=a):(delete r.cross.jgi,delete f.cross.jgi,delete r.cross.Zc,delete f.cross.Zc)),r.cross.jgi!==I&&(h=r.cross.jgi,delete r.cross.jgi,delete f.cross.jgi,C[h]=r.cross,f.cross=h,r.cross=h),delete f.cross.hgi,delete f.cross.Tgi,delete f.cross.bgi,delete f.cross.jgi,delete r.cross.hgi,delete r.cross.Tgi,delete r.cross.bgi,delete r.cross.jgi,delete f.vgi,D[i]=f);Object.keys(C).length>0&&(b.cross=C),v.BIi(D,b),v.options.crossAreaVisible||(v.cIi=I,v.oIi=I,v.NIi=void 0,v.mIi=void 0)},t.prototype.Agi=function(t){var n,i,e,o=this,r=o.vMi.getDataView().LEt,u=r&&r.cross||{},c=o.cIi;if(t&&u[t]){for(n=0,i=0;i<c.length&&((e=c[i]).cross.hgi!==t&&e.cross!==t||!(++n>=2));i++);n<2&&delete u[t]}},t.prototype.CIi=function(t){var n,i,e,o,r,u,c=this,a=c.uIi;if(a&&c.zIi(t.target,c.zgi())){if(!c.oIi)return;if(!c.mLt(a))return;(n=c.cIi&&0===c.cIi.length)&&(c.cIi=c.lIi()),i=c.cIi,e={value:a,cross:{over:c.oIi}},i&&i.length?i.push(e):c.cIi=[e],c.NIi=c.cIi.length-1,c.IIi(),r=(o=c.cIi[c.NIi])&&o.cross,c.Cgi(r,o.value)&&(c.dgi(!0),(u=c.Tp()).t4(c.CMi.length-1,0))}},t.prototype.wgi=function(t){var n,i,e,o=this,r=o.YMi,u="";if(r&&r[t])for(i=(n=r[t].level)-1,u=r[t].name,t--;i>=0&&t>=0;)(e=r[t])&&e.level===i&&(i--,u=e.name+"."+u),t--;return u},t.prototype.FIi=function(t){var n=t?"":" "+rt;return'<div class="'.concat(w," ").concat(C," ").concat(J).concat(n,'">\n ').concat(this.ygi(),"\n </div>")},t.prototype.ygi=function(){return'<span class="gc-table-sheet-group-header">'.concat((0,e.getSR)().CrossColumnCrossHeader,'</span>\n <div class="').concat(X,'">').concat(this.mgi(),"</div>")},t.prototype.IIi=function(){if(this.ZMi){this.Lgi();var t=this.mgi();t&&(this.ZMi.innerHTML=t),this.OMi=this.ZMi.querySelector(".".concat(q)),this.xgi()}},t.prototype.mgi=function(){var t,n,i,o,r,u,c,a,s,l,f,d,h,v,g,M,N,D,b,m,C,w,y=this,x="",A=y.oIi,j=y.vMi.getDataView(),T=j&&j.LEt||{};if((void 0!==y.NIi&&y.cIi&&y.cIi.length||A)&&(i=y.cIi&&y.cIi[y.NIi]||{value:"",cross:{over:A}})){if(o=y.gIi(i.cross),c=(u=!wt(r=i.value))?"":"disabled aria-disabled='true'",n=j.isLookupRelationField(o.over))if(t=i.vgi,o.attributes){if(!t)for(t=i.vgi=y.Sgi(o.over).map((function(t){var n=It(o.attributes,(function(n){return Nt(n)===Nt(t)})),i=n>-1;return{attribute:i?o.attributes[n]:t,checked:i}})),a=function(n){var i,e=o.attributes[n],r=It(t,(function(t){return Nt(t.attribute)===Nt(e)})),u=function(n){var i,e=o.attributes[n],u=It(t,(function(t){return Nt(t.attribute)===Nt(e)}));r<u&&(i=t[u],t.splice(u,1),t.splice(r,0,i),r+=1)};for(i=n-1;i>=0;i--)u(i)},s=o.attributes.length-1;s>=0;s--)a(s)}else o.attributes=y.Sgi(o.over),t=i.vgi=o.attributes.map((function(t){return{attribute:t,checked:!0}}));else t=j.getLookup(o.over).map((function(t){return t instanceof Date&&(t=t.toString()),{attribute:t}}));for(l="",f=n?"":" "+rt,d=n?"":" "+rt,y.Dgi=t||[],y.mIi===I&&(y.mIi=0),s=0;s<t.length&&r;s++)v=(h=t[s]).checked,M=g=h.attribute,N="",g!==I&&("object"==typeof g&&(M=g.value,N=g.formatter),D=n&&s===this.mIi?" selected":"",l+='<li class="'.concat(n?$+D:"gc-table-sheet-cross-column-static-list-item",'" attribute-value="').concat(M,'" attribute-index=').concat(s," >\n <input aria-label='").concat(M,"' name=\"").concat(M,'" class="').concat(tt," ").concat(f,'" input-type="attributes" type="checkbox" value="" ').concat(v?"checked":"",' />\n <span class="gc-table-sheet-cross-column-item-label">').concat(M,"</span>\n <span role='button' class=\"").concat(nt," ").concat(f,'" title="').concat((0,e.getSR)().CrossColumnDetailFormatter,'"></span>\n <span class="').concat(_,' gc-table-sheet-cross-column-attributes-formatter gc-table-sheet-hidden">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailFormatter,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailFormatter,"' class=\"").concat(Q,'" input-type="attributes.formatter" spellcheck="false" value="').concat(N,'"></input>\n </span>\n </li>'));if(b="<option></option>",m=j.LEt&&j.LEt.cross)for(C in m)m.hasOwnProperty(C)&&m[C].over===o.over&&(w=C===o.Zc?'selected="selected"':"",b+="<option value=".concat(C," ").concat(w,">").concat(C,"</option>"));x='<div class="gc-table-sheet-cross-column-detail-content">\n <div class="'.concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailName,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailName,'\' class="gc-table-sheet-cross-item-input-name" input-type="name" spellcheck="false" tabIndex="-1" value=\'').concat(o.Zc||"","' ").concat(c,"></input>\n <select aria-label='").concat((0,e.getSR)().CrossColumnDetailName,'\' class="gc-table-sheet-cross-item-select-name" input-type="name-select" ').concat(c,">\n ").concat(b,'\n </select>\n </div>\n <div class="').concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailValue,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailValue,"' class=\"").concat(K," ").concat(ot,'" input-type="value" spellcheck="false" tabIndex="-1" readonly="readonly" maxlength="0" placeholder="').concat((0,e.getSR)().CrossColumnDetailValuePlaceHolder,"\" value='").concat(r,'\'></input>\n </div>\n <div class="gc-table-sheet-summary-item-formula">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailOver,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailOver,"' class=\"").concat(K," ").concat(ot,'" input-type="over" spellcheck="false" tabIndex="-1" readonly="readonly" maxlength="0" value=\'').concat(o.over,"'></input>\n \x3c!--input class=\"").concat(B,'" input-type="over" spellcheck="false" tabIndex="-1" value=\'').concat(o.over||"","'></input--\x3e\n </div>\n <div class=\"").concat(_,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailCaption,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailCaption,"' class=\"").concat(ot,'" input-type="header" spellcheck="false" tabIndex="-1" value=\'').concat(o.caption||"","' ").concat(c,'></input>\n </div>\n <div class="').concat(_,' gc-table-sheet-cross-column-value-caption">\n <span class="').concat(G,"\"></span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailValueHeader,'\' name="showCrossValueHeader" class="').concat(tt,' gc-table-sheet-cross-column-show-value-header" input-type="showCrossValueHeader" type="checkbox" value="" ').concat(T.showCrossValueHeader?"checked":""," ").concat(c,' />\n <span class="').concat(G,' gc-table-sheet-cross-column-value-caption-label">').concat((0,e.getSR)().CrossColumnDetailValueHeader,'</span>\n </div>\n <div class="').concat(_).concat(d,'">\n <span class="').concat(G,'">').concat((0,e.getSR)().CrossColumnDetailFilter,"</span>\n <input aria-label='").concat((0,e.getSR)().CrossColumnDetailFilter,"' class=\"").concat(ot,'" input-type="filter" spellcheck="false" tabIndex="-1" value=\'').concat(n?y.Nuo(o.filter||""):"","' ").concat(c,'></input>\n </div>\n <div class="gc-table-sheet-cross-column-attributes-list-container">\n <span class="').concat(G,'">').concat(n?(0,e.getSR)().CrossColumnDetailAttributes:(0,e.getSR)().CrossColumnDetailList,'</span>\n <ul class="').concat(q,'">\n ').concat(l,"\n </ul>\n </div>\n </div>")}return x},t.prototype.zgi=function(){return this.ZMi&&this.ZMi.querySelector(".".concat(K))},t.prototype.WIi=function(t,n,i){var e,o,r,u,c=this;for(r=0;r<n.length;r++)0===(u=n[r]).level&&(u.name===t?e=r+1:N(e)||(o=r));return n.slice(e,o).map((function(t){var n=N(t.cross)&&(i.isLookupField(t.name)||i.isLookupField(t.fieldString));return{value:c.$t({value:t.name}),nIi:t.fieldString,textIndent:t.level+1,checkStatus:!1,yBt:n}}))},t.prototype.WMi=function(){var t=this,n=t.vMi,i=n.getDataView(),e=i&&i.gLt,o=function(t,n,i,e,r){var u,c,a,s,l,f;if(t&&t.Pq){for(u=[],c=0,a=t.Pq;c<a.length;c++)(s=a[c]).targetTable?u.push(s):i.push({level:n,name:s.name,isLeafNode:!0,field:s,hostTable:t,index:i.length,fieldString:r.concat(s.name).join(".")});for(e.push(t.name),l=0,f=u;l<f.length;l++)(s=f[l]).targetTable&&-1===e.indexOf(s.targetTable.name)&&(i.push({level:n,name:s.name,fieldString:r.concat(s.name).join(".")}),r.push(s.name),o(s.targetTable,n+1,i,e,r),r.pop())}return i};return o(e,0,[],[],[])},t.prototype.xgi=function(){var t,n,i,e=this,r=e.pMi,u=function(t){var n,i,r,u,c,a,s,l,f,d,h,v,g,M=(0,o.GC$)(t.target),D=e.NIi,b=e.cIi,m=b[D],C=m&&m.cross,w=M.attr("input-type"),y=M.val().trim(),x=!1;if(C){switch(i=e.vMi.getDataView(),r=null!==(n=(0,o.RF)(i.LEt))&&void 0!==n?n:{},"string"==typeof C&&(u=C,(C=xt(e.gIi(C))).jgi=u,m.cross=C,m.vgi=C.vgi),w){case"name":""===y||(c=i.LEt.cross)&&c.hasOwnProperty(y)?C.bgi=!0:C.Tgi=!0,C.hgi=C.Zc,C.Zc=e.kgi(C,y),x=!0;break;case"name-select":C.hgi=C.Zc,C.Zc=y,C.bgi=!0,x=!0;break;case"over":C.over=y,e.Ugi(y);break;case"header":C.caption=wt(y)?I:y;break;case"filter":C.filter=e.Iuo(y);break;case"showCrossValueHeader":r.showCrossValueHeader=!r.showCrossValueHeader;break;case"attributes":if(a=[],s=m.vgi,M.parent().parent()[0].querySelectorAll("li").forEach((function(t,n){var i,e,r=t.querySelector(".".concat(tt));s[n].checked=r.checked,r.checked&&(i=(0,o.GC$)(r).attr("name"),e=(0,o.GC$)(t.querySelector('[input-type="attributes.formatter"]')).val(),N(e)||""===e?a.push(i):a.push({value:i,formatter:e}))})),0===a.length)return void M.prop("checked",!0);C.attributes=a;break;case"attributes.formatter":for(l=m.vgi,f=M.parent().parent().attr("attribute-value"),d=function(t){return It(l,(function(n){var i=n.attribute;return t===("string"==typeof i?i:i.value)}))},h=0;h<C.attributes.length;h++)(v=C.attributes[h])!==f&&v.value!==f||("string"==typeof v?(g=d(v),l[g].attribute=C.attributes[h]={value:v,formatter:y}):(g=d(v.value),C.attributes[h].formatter=y,l[g].attribute=C.attributes[h]))}e.Cgi(C,m.value)&&e.dgi(!1,r),x&&e.IIi()}},a=function(t){var n=t.target,i=t.target.classList;i.contains($)||(n=n.parentElement),i.contains(nt)&&e.Zgi(n)},s=function(t){var n=t.target,r=(0,o.GC$)(t.target),u=r.attr(st),c=t.target.classList;c.contains($)||(n=n.parentElement,u=r.parent().attr(st)),!N(u)&&n.classList.contains($)&&(i=e.LMi.getBoundingClientRect(),e.Ogi=n,e.Egi=n,e.mIi!==+u&&(e.mIi=+u,e.Ggi(n)))},l=function(t){var n,o,r,u,c,a,s=e.mIi,l=e.Ogi;!N(s)&&l&&(n=l.getAttribute("attribute-value"),e.AIi(t,n,i,e.LMi),e.Ti.style.cursor="move",u=!1,(r=(o=t.target).parentElement)&&r.className.indexOf($)>-1?(o=r,u=!0):o.className.indexOf($)>-1&&(u=!0),c=e.Egi,u&&c!==o&&((a=o.getAttribute(st))<s?(c.className=c.className.replace(W,"").replace(H,"").trim(),o.className=o.className+" ".concat(W)):a>s?(c.className=c.className.replace(W,"").replace(H,"").trim(),o.className=o.className+" ".concat(H)):c.className=c.className.replace(W,"").replace(H,"").trim(),e.Egi=o))},f=function(t){var n,i,r,u,c=e.cIi,a=c&&c[e.NIi],s=a&&a.cross,l=e.mIi,f=t.target,d=e.Egi,h=d&&+(0,o.GC$)(d).attr(st);l!==I&&e.Ogi&&h!==I&&h!==l&&(e.Egi.className=e.Egi.className.replace(W,"").replace(H,"").trim(),e.zIi(f,e.OMi)&&("string"==typeof s&&(n=s,(s=xt(e.gIi(s))).jgi=n,a.cross=s),i=a.vgi.splice(l,1)[0],a.vgi.splice(h,0,i),e.mIi=+h,r=[],r=a.vgi.filter((function(t){return t.checked})).map((function(t){return t&&t.formatter?{formatter:t.formatter,value:t.attribute}:t.attribute})),s.attributes=r,s.vgi=a.vgi),e.Cgi(s,a.value)&&(e.dgi(),e.IIi())),e.Egi=I,e.Ogi=I,e.Ti.style.cursor="default",(u=e.SIi)&&(u.style.display="none")};e.pgi=u,e.Bgi=a,e.Qgi=s,e.Rgi=l,e.Pgi=f,(0,o.GC$)(".".concat(X)).bind("change",e.pgi),(0,o.GC$)(".".concat(q)).bind("click",e.Bgi),(0,o.GC$)(".".concat(q)).bind("mousedown",e.Qgi).bind("mousemove",e.Rgi),document.addEventListener("mouseup",e.Pgi),(0,o.GC$)(".".concat(it)).bind("focus",(function(i){var u=i.target,a=(0,o.GC$)(u).val()||"=";(t=new c.FormulaTextBox(u,M,M)).Ngi=!0,n=new o.Workbook(r,{allowDynamicArray:!0,allowUndo:!1}),e.XMi(n),e.lgi(n),t.workbook(n),t.text(a)})).bind("blur",(function(i){var r=(0,o.GC$)(i.target),u;"="===r.val()&&r.val(""),e.ggi(t,n)})).bind("keydown",(function(i){13===i.keyCode&&(e.ggi(t,n),i.target.blur())}))},t.prototype.Lgi=function(){var t=this;t.ZMi&&(t.pgi&&(0,o.GC$)(".".concat(X)).unbind("change"),t.Bgi&&(0,o.GC$)(".".concat(q)).unbind("click"),t.Qgi&&(0,o.GC$)(".".concat(q)).unbind("mousedown").unbind("mousemove"),t.Pgi&&document.removeEventListener("mouseup",t.Pgi),(0,o.GC$)(".".concat(it)).unbind("focus").unbind("blur").unbind("keydown"))},t.prototype.eIi=function(){return this.vMi.getDataView()},t.prototype.mLt=function(t){var n=this;return n.eIi().mLt(n.oIi,t)},t.prototype.Cgi=function(t,n){var i,e=this.eIi();return t&&t.over&&n&&(e.isLookupListField(t.over)||t.attributes&&t.attributes.length>0)},t.prototype.lIi=function(){return(0,o.RF)(this.eIi().ILt.filter((function(t){return!N(t.cross)})))},t.prototype.gIi=function(t){var n,i,e,o=this;return"string"==typeof t&&(n=t,(i=o.eIi()).LEt.cross&&((e=i.LEt.cross[n]||{}).Zc=n,t=e)),t},t.prototype.kgi=function(t,n){var i,e=this,o=e.eIi(),r=n;return o.LEt.cross&&(i=o.LEt.cross[r])&&i.over!==e.gIi(t).over?r+"1":r},t.prototype.Zgi=function(t){var n,i=t.className,e=t.querySelector(".gc-table-sheet-cross-column-attributes-formatter"),o=t.querySelector(".gc-table-sheet-cross-column-item-edit");i.indexOf(et)>-1?(t.className=t.className.replace(et,""),e.className+=" "+rt,o.setAttribute("aria-expanded","false"),o.removeAttribute("aria-controls")):(o.setAttribute("aria-expanded","true"),n=""+Date.now(),o.setAttribute("aria-controls",n),t.className+=" ".concat(et),e.setAttribute("id",n),e.className=e.className.replace(rt,""),setTimeout((function(){e.querySelector("input").focus()})))},t.prototype.Ggi=function(t){var n,i,e=this,o=e.ZMi,r=o.querySelectorAll(".".concat($));for(n in r)r.hasOwnProperty(n)&&((i=r[n]).className=i.className.replace("selected","").trim(),i===t&&(i.className=i.className+" selected"))},t.prototype.Ugi=function(t){var n=this,i=n.Sgi(t);n.cIi[n.NIi].cross.attributes=i,n.mIi=0,n.IIi()},t.prototype.Sgi=function(t){var n,i,e,o,r,u,c,a,s,l,f,d,h=this,v=h.Ygi(t),g=[];if(v&&v.hostTable&&v.field&&(e="",(i=(n=v.hostTable).tBt(v.field.name))&&i.Pq)){for(o=i.Pq,r=h.YMi,u=0;u<r.length;u++)a="",(c=r[u]).hostTable===i&&(a=c.fieldString!==I?c.fieldString:c.fieldString=h.wgi(u)),(s=a&&a.split("."))&&s.length>1&&(e=(s=s.slice(0,s.length-1)).join(".")+".");for(l=0,f=o;l<f.length;l++)(d=f[l]).targetTable||g.push(e+d.name)}return g},t.prototype.Ygi=function(t){if(t){var n,i=this.YMi,e=t.split("."),o=e.length-1,r=e[o];return i.filter((function(t){return t.name===r&&t.level===o}))[0]}},t.prototype.attach=function(t){this.Ti&&t&&(this.vMi=t,t.UMi=this,this.mMi&&this.Hc(t,this.mMi),this.updatePanelLayout())},t.prototype.detach=function(){var t,n=this;n.vMi&&(n.vMi.UMi=M,n.vMi.unbind(g),n.vMi=M,document.removeEventListener("mousemove",n.bIi,!0),document.removeEventListener("mouseup",n.vIi,!0),(0,o.GC$)(".".concat(V)).unbind("click"),n.SWt(),n.XIi(),n.Lgi(),n.tgi(),n.mMi&&(n.mMi.removeEventListener("mousedown",n.DIi,!0),(t=(0,o.GC$)(n.mMi).data("workbook"))&&(this.BMi=null,t.getSheet(0).unbind(g),t.destroy())),n.JMi&&(D.clearTimeout(n.JMi),n.JMi=0),n.cIi=I,n.oIi=I,n.YMi=I,n.Dgi=I,n.uIi=I,n.NIi=I,n.AMi=!0,n.sIi(!1),n.MIi(!0))},t.prototype.destroy=function(){var t,n;this.detach(),t=this.Ti,(0,o.GC$)(t).data(v,M),(n=this.SIi)&&n.parentElement&&(n.parentElement.removeChild(n),this.SIi=void 0),t&&(t.innerHTML=""),this.Ti=M},t.findControl=function(t){var n=t;return"string"==typeof t&&(n=document.getElementById(t)),(0,o.GC$)(n).data(v)},t}(),n.TableSheetPanel=gt},7669:function(t,n,i){var e,o,r,u,c,a=this&&this.mJr||function(){return a=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},a.apply(this,arguments)};function s(t){return t instanceof e.Condition}function l(t,n){return s(t)&&!t.art&&!n.jut().isShowSelectCheck}function f(t){return"="===t.charAt(0)}function d(t){var n,i;return{left:t.indexOf("["),right:t.indexOf("]")}}function h(t){var n=d(t),i=n.left,e=n.right;return i>=0&&i<e}function v(t){return f(t)&&h(t)}function g(t){var n,i;if(v(t=t.trim()))return!0;if(t.indexOf("{{")>=0&&t.indexOf("}}")>=0)for(n=t.split(/{{|}}/),i=0;i<n.length;i++)if(v(n[i].trim()))return!0;return!1}function M(t){var n,i,e,o;if(!f(t))return!1;for(n=!0,i=0;i<t.length;i++)if(e=t.charAt(i),n&&"@"===e){if("."===(o=t.charAt(i+1))||!o.match(/[\[\s\]]/))return!0}else"["===e?n=!1:"]"===e&&(n=!0);return!1}function I(t,n,i,e,o){var r=t;3===o&&(r.zDi(n)||r.vDi(n))&&(e.locked||N(r,i,e,!0))}function N(t,n,i,e){var o,r,u,c,a=t,s=a.cNi;for(o=0;o<s.length;o++)if((r=s[o]).length>0)for(u=0;u<r.length;u++)if((c=r[u])===n){i.locked=e;break}}function D(t,n){var i=t.getDataView();return i&&i.kve(n)}function b(t,n){var i,e=t.getDataView();if(e)return(i=e.kve(n)).isGroup&&c(i._Ft)?e.ife(i._Ft):e.ife(i)}function m(t,n){for(var i=0,e=t.length;i<e;i++)if(n(t[i],i,t))return i;return-1}function C(t,n,i){var o,r,c,a,s,l,f,d,h,v,g,M,I=t.expected(),N=t.conType(),D=i&&i.isDateFieldListFilter;if("string"==typeof I&&(I=I.split(String.fromCharCode(160)).join(" ")),t.art&&N===e.ConditionType.textCondition&&(I=t.urt,u(t.urt)||(N=e.ConditionType.dateCondition,D=!0)),N===e.ConditionType.numberCondition)return[{field:n,operator:(o={0:"eq",1:"neq",2:"gt",3:"gte",4:"lt",5:"lte"})[t.compareType()],value:I,ort:D}];if(N===e.ConditionType.cellValueCondition)return[{field:n,operator:(o={0:"eq",1:"neq",2:"gt",3:"gte",4:"lt",5:"lte"})[t.compareType()],value:I,ort:D}];if(N===e.ConditionType.relationCondition)return r=C(t.item1(),n),o={0:"or",1:"and"},(c=C(t.item2(),n))[0].relation=o[t.compareType()],r.concat(c);if(N===e.ConditionType.textCondition)return[{field:n,operator:(o={0:"eq",1:"neq",2:"startswith",3:"doesnotstartwith",4:"endswith",5:"doesnotendwith",6:"contains",7:"doesnotcontain"})[t.compareType()],value:I,ort:D}];if(N===e.ConditionType.dateCondition)switch(a=t.compareType(),s=void 0,l=void 0,r=void 0,c=void 0,f=I.setHours(0,0,0,0),d=I.setHours(23,59,59,999),a){case 0:return s=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.greaterThanOrEqualsTo,expected:f}),l=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.lessThanOrEqualsTo,expected:d}),r=C(s,n,{isDateFieldListFilter:D}),(c=C(l,n,{isDateFieldListFilter:D}))[0].relation="and",r.concat(c);case 1:return s=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.greaterThan,expected:d}),l=new e.Condition(e.ConditionType.numberCondition,{compareType:e.GeneralComparisonOperators.lessThan,expected:f}),r=C(s,n,{isDateFieldListFilter:D}),(c=C(l,n,{isDateFieldListFilter:D}))[0].relation="or",r.concat(c);case 2:return[{field:n,operator:"lt",value:f,ort:D}];case 3:return[{field:n,operator:"lte",value:d,ort:D}];case 4:return[{field:n,operator:"gt",value:d,ort:D}];case 5:return[{field:n,operator:"gte",value:f,ort:D}];default:return[]}else{if(N===e.ConditionType.top10Condition)return[{field:n,operator:(o={0:"top",1:"bottom"})[t.type()],value:I,ort:D}];if(N===e.ConditionType.averageCondition)return[{field:n,operator:(o={0:"above",1:"below"})[t.type()],value:I,ort:D}];if(N===e.ConditionType.dateExCondition)return(h=t.expectTypeId())===e.DateExConditionExpectType.dateOccurring||h===e.DateExConditionExpectType.yearToDate?(f=void 0,d=void 0,h===e.DateExConditionExpectType.dateOccurring?(f=(v=t.getExConditionDateScope(I)).from,d=v.to):(f=new Date,d=new Date,f.setMonth(0,1),f.setHours(0,0,0,0),d.setHours(23,59,59,999)),g=new e.Condition(e.ConditionType.dateCondition,{compareType:e.DateCompareType.afterEqualsTo,expected:f}),M=new e.Condition(e.ConditionType.dateCondition,{compareType:e.DateCompareType.beforeEqualsTo,expected:d}),r=C(g,n),(c=C(M,n))[0].relation="and",r.concat(c)):[{field:n,operator:(o={0:"date",1:"year",2:"quarter",3:"month",4:"week",5:"day",6:"yearToDate"})[h],value:I,ort:D}]}return[]}function w(t){var n=t.col,i=t.rowFilter;return!i.Dit(n)&&i.Dit(i.NTi(n))?a(a({},t),{col:i.NTi(n)}):t}Object.defineProperty(n,"__esModule",{value:!0}),n.reuseFilterButtonInfo=n.convertCondition=n.findIndex=n.getColumnName=n.getColumnInfo=n.setInsertedRowCrossStyle=n.hasATWithoutBrackets=n.isFormulaFormatter=n.isSpecificCondition=n.isCondition=void 0,e=i(8333),r=(o=i(7234)).Common.lt,u=r.ht,c=r.q8,n.isCondition=s,n.isSpecificCondition=l,n.isFormulaFormatter=g,n.hasATWithoutBrackets=M,n.setInsertedRowCrossStyle=I,n.getColumnInfo=D,n.getColumnName=b,n.findIndex=m,n.convertCondition=C,n.reuseFilterButtonInfo=w},7848:function(n){n.exports=t.Spread.Sheets.Bindings},7879:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.mJr||function(){return f=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},f.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.cZe=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.aZe=(0,e.GC$)(s("div"));return n.addClass("gc-defined-column-date-time-picker-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.LEt,i=t.aZe;return t.dH=new u.Kze({inputId:"start-day",items:[{value:e.CalendarStartDay[e.CalendarStartDay.monday],text:(0,o.getSR)().columnTypeDateMonday},{value:e.CalendarStartDay[e.CalendarStartDay.tuesday],text:(0,o.getSR)().columnTypeDateTuesday},{value:e.CalendarStartDay[e.CalendarStartDay.wednesday],text:(0,o.getSR)().columnTypeDateWednesday},{value:e.CalendarStartDay[e.CalendarStartDay.thursday],text:(0,o.getSR)().columnTypeDateThursday},{value:e.CalendarStartDay[e.CalendarStartDay.friday],text:(0,o.getSR)().columnTypeDateFriday},{value:e.CalendarStartDay[e.CalendarStartDay.saturday],text:(0,o.getSR)().columnTypeDateSaturday},{value:e.CalendarStartDay[e.CalendarStartDay.sunday],text:(0,o.getSR)().columnTypeDateSunday}],label:{text:(0,o.getSR)().columnTypeDateStartDay},onChange:function(){t.sZe()}}),t.dH.create().appendTo(i),t.dH.setValue(n.startDay||e.CalendarStartDay[e.CalendarStartDay.sunday]),t.lZe=new u.Kze({inputId:"calendar-page",items:[{value:e.CalendarPage[e.CalendarPage.day],text:(0,o.getSR)().columnTypeDateDay},{value:e.CalendarPage[e.CalendarPage.year],text:(0,o.getSR)().columnTypeDateYear},{value:e.CalendarPage[e.CalendarPage.month],text:(0,o.getSR)().columnTypeDateMonth}],label:{text:(0,o.getSR)().columnTypeDateCalendarPage},onChange:function(){t.sZe()}}),t.lZe.create().appendTo(i),t.lZe.setValue(n.calendarPage||e.CalendarPage[e.CalendarPage.day]),t.HG=new r.Rze({label:{text:(0,o.getSR)().columnTypeDateShowTime},onChange:function(){t.sZe()}}),t.HG.create().appendTo(i),t.HG.setValue(!!n.showTime||(0,c.isNullOrUndefined)(n.showTime)),i},t.prototype.veo=function(t){var n,i,e,o,r,u,c,a,s=this;t?((null===(n=s.lZe)||void 0===n?void 0:n.isDisable())||null===(i=s.lZe)||void 0===i||i.resetDisable(),(null===(e=s.HG)||void 0===e?void 0:e.isDisable())||null===(o=s.HG)||void 0===o||o.resetDisable()):((null===(r=s.lZe)||void 0===r?void 0:r.isDisable())&&(null===(u=s.lZe)||void 0===u||u.resetDisable()),(null===(c=s.HG)||void 0===c?void 0:c.isDisable())&&(null===(a=s.HG)||void 0===a||a.resetDisable()))},t.prototype.sZe=function(){var t,n,i;this.LEt.onChange({startDay:null===(t=this.dH)||void 0===t?void 0:t.value,calendarPage:null===(n=this.lZe)||void 0===n?void 0:n.value,showTime:!!(null===(i=this.HG)||void 0===i?void 0:i.value)})},t.prototype.setOptions=function(t){var n=this;n.LEt=f(f({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.aZe.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.aZe=c.keyword_null},t.prototype.L0=function(){var t=this;t.dH&&t.dH.dispose(),t.dH=c.keyword_null,t.lZe&&t.lZe.dispose(),t.lZe=c.keyword_null,t.HG&&t.HG.dispose(),t.HG=c.keyword_null},t}(),n.cZe=l},7929:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I,N=this&&this.vJr||(b=function(t,n){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},b(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}b(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),D=this&&this.mJr||function(){return D=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},D.apply(this,arguments)},b;Object.defineProperty(n,"__esModule",{value:!0}),n.GroupHideRowFilter=void 0,e=i(7234),o=i(4036),r=i(1376),u=i(8333),c=i(2221),a=i(7669),s=i(9134),l=e.Common.lt,f=l.ht,d=l.q8,h=null,v=void 0,g=-1,M=-2,I=function(t){function n(n,i){var e=t.call(this,n)||this;return e.sTi={},e.MTi={},e.ITi=!1,e.gTi=0,e.act=!1,e.sze=i,e}return N(n,t),n.prototype.toJSON=function(){var n,i,e,o,r,u,c,a,s,l=this,d=t.prototype.toJSON.call(this);if(d.sortMap=l.sTi,d.relatedColFilters=l.MTi,d.lastGroup=l.ITi,d.lastGroupCount=l.gTi,f(l.lTi)||(d.rowFilterStore=l.lTi),d.filterItemMap)for(n=0,i=d.filterItemMap.length;n<i;n++)for(o=0,r=(e=d.filterItemMap[n].conditions).length;o<r;o++)delete(u=e[o]).eAi;if(d.sortMap)for(c in d.sortMap)if(d.sortMap.hasOwnProperty(c))for(s in a=d.sortMap[c])a.hasOwnProperty(s)&&delete a[s].rYt;return d},n.prototype.fromJSON=function(n,i){var e,o;f(n)||((e=this).sTi=n.sortMap,e.MTi=n.relatedColFilters,e.ITi=n.lastGroup,e.gTi=n.lastGroupCount,(o=n.rowFilterStore||n.lTi||n.lTi)&&(e.lTi=o),t.prototype.fromJSON.call(this,n,i))},n.prototype.isFiltered=function(n){var i=this;return arguments.length?t.prototype.isFiltered.call(this,n)||t.prototype.isFiltered.call(this,i.NTi(n)):t.prototype.isFiltered.call(this)},n.prototype.Dit=function(n){return t.prototype.isFiltered.call(this,n)},n.prototype.aze=function(t){var n,i,e,o,r,c,s,l,h=this,v=this.sze,g=h.rrt[t],M=v.getDataView(),I=M.kve(t),N=I.isGroup&&d(I._Ft)?M.ife(I._Ft):M.ife(I);if(g&&g.length>0){if(n=[],(0,a.isCondition)(g[0]))if(g[0].art&&g[0].conType()===u.ConditionType.textCondition)for(r=0;r<g.length;r++)c=g[r].urt,n.push({field:N,value:f(c)?c:c.toISOString()});else for(r=0;r<g.length;r++)s=g[r],l=(0,a.convertCondition)(s,N),0===r?n=l:(l[0].relation="or",n=n.concat(l));else for(i=[],e=[],o=function(t){var o,r,u,c,a,s,l;if(d(g[t].eAi)){if(o=g[t].eAi,i.push(g[t].value),e.push(o),r=g[t+1],o>=(u=f(r)?-1:r.eAi))for(c=!0,a=i.slice().reverse(),(s=n[n.length-1])&&(c=!((l=s.Vce).length===a.length&&l.every((function(t,n){return t===a[n]})))),c&&n.push({field:N,value:g[t].value,Vce:a});e.length>0&&e[e.length-1]>=u;)i.pop(),e.pop()}else n.push({field:N,value:g[t].value})},r=0;r<g.length;r++)o(r);return n}},n.prototype.Mze=function(){var t=this,n=this.sze,i=n.Mf,e=this.rrt,o=i.getDataSource(),r=Object.keys(e).filter((function(t){return!f(e[t])})).reduce((function(n,i){return n.concat(t.aze(Number(i)))}),[]);o.filter(r)},n.prototype.Ize=function(t,n){var i=this.sze,e=i.Mf;e.suspendPaint(),this.Nct(t,n),i.tDe(),e.resumePaint()},n.prototype.filter=function(t,n){var i,e,o,r,u,a,s,l,h=this.sze;if(h&&(e=h.getDataView())){if(o=this.rrt,r=!f(o[t]),h.qNi()&&(u=function(t){var n=o[t];return n&&n.some((function(t){return d(t.eAi)}))})(t))for(a=this.Mct,s=0;s<a.length;s++)if(t!==(l=a[s])&&u(l)){this.yct(l),this.Nct(l,!1);break}h.qni.addUndoChanges({type:c.TableSheetUndoType.FilterColumn,changedData:{col:t,columnName:null===(i=h.fDi(t))||void 0===i?void 0:i.name}}),this.Mze(),this.Ize(t,r)}},n.prototype.unfilter=function(t){var n,i=this.sze;i&&(n=i.getDataView())&&(n.filter(),this.setFilterItemMap(t),this.Mze(),this.Ize(t,!1))},n.prototype.reFilter=function(t){},n.prototype.openFilterDialog=function(t){var n,i,e,o,r,u,c,l=this.sze,f=this,d=f.Mf,h=t.col,v=l.getDataView().kve(h);this.irt=!1,this.ort=!1,i=((n=l.getDataView())&&n.length()||0)>0,f.Hct(d)&&i&&(e={sortByValue:!1!==v.allowSort,filterByValue:!1!==v.allowFilterByValue,listFilterArea:!1!==v.allowFilterByList,sortByColor:!1,filterByColor:!1},f.filterDialogVisibleInfo(e),o=new s.TableSheetFilterDialog(d.parent.j2(),d,(0,a.reuseFilterButtonInfo)(t),e,f.dialogOptions,l),d.Cut=o,(r=l.qNi())&&(u=d.outlineColumn.Un,d.outlineColumn.Un=function(){return!0},c=o.close,o.close=function(){d.outlineColumn.Un=u,o.close=c,o.close()},o.STi=function(){var t,n=this,i=n.dataSource,e=n.Eat;for(t=0;t<i.length;t++)e[t].checkedStatus=i[t].status}),o.rQ(),r&&o.STi(),o.cze&&o.yut())},n.prototype.Nct=function(n,i){var e=this;i&&e.DFt(n)?e.MTi[n]=e.NTi(n):f(e.MTi[n])||delete e.MTi[n],t.prototype.Nct.call(this,n,i)},n.prototype.setFilterItemMap=function(t,n){var i=this;i.rrt[t]=n||v},n.prototype.removeFilterItems=function(n,i){var e,o,r=this.sze;r&&(o=(e=r.Mf).getDataSource(),r.nAi&&o?t.prototype.removeFilterItems.call(this,n,i):(this.setFilterItemMap(n),this.Cct(n),r.yno&&o&&o.filter()))},n.prototype.DTi=function(t){var n,i,e,o,r,u,c,a=this,s=a.Mct,l=a.rrt,d=a.hst;for(e=0;e<s.length;e++)n=s[e],(i=(f(a.MTi[n])?n:a.MTi[n])+t)>=0?(s[e]=i,o=l[n],f(o)||(l[n]=h,l[i]=o),d&&(r=d[n],f(r)||(delete d[n],d[i]=r))):(s[e]=-1,l[n]=h,d&&delete d[n]);a.Mct=s.filter((function(t){return-1!==t})),s.some((function(t){return-1===t}))&&((c=(u=a.Mf).NMi).suspendPaint(),c.resumePaint())},n.prototype.getSortState=function(n){var i=this;return i.GFt(n)&&(n=i.NTi(n)),i.nrt=i.wot(n),t.prototype.getSortState.call(this,n)},n.prototype.Gze=function(){var t=this,n=t.jFt(),i=t.gTi;n?(t.gTi=t.dTi(),i=t.gTi-i,t.DTi(i),t.hTi(g,i)):(t.gTi=0,t.DTi(-i),t.hTi(M,-i),t.TTi())},n.prototype.hTi=function(t,n){var i,e,o=this,r=o.sTi[t];for(e in r)r[e]&&((i=r[e]).index+=n,o.setSortInfo(i))},n.prototype.TTi=function(){var t,n=this;n.sTi[M]?n.sTi=((t={})[g]=n.sTi[g],t):n.sTi={}},n.prototype.eIi=function(){return this.Mf.getDataSource()},n.prototype.HMi=function(){return this.Mf.getDataSource().getColumnInfos()},n.prototype.fDi=function(t){return this.Mf.NMi.fDi(t)},n.prototype.Teo=function(){return this.Mf.NMi.Teo()},n.prototype.dTi=function(){return this.HMi().filter((function(t){return t.isGroup})).length},n.prototype.jFt=function(){return this.Mf.NMi.jFt},n.prototype.bTi=function(t){var n=this.fDi(t);return n&&n.OFt},n.prototype.GFt=function(t){var n=this.fDi(t);return n&&n.GFt},n.prototype.DFt=function(t){var n=this.fDi(t);return n&&n.DFt},n.prototype.tNi=function(){return this.Mf.NMi},n.prototype.NTi=function(t,n){var i=this.fDi(t);return i&&(this.Teo()&&!n?t:i._Ft)},n.prototype.Sze=function(t){var n,i=this,e=i.ATi(t),o=i.sTi[e],r=i.sTi[M],u=o&&o[t],a=r&&r[t];(u||a)&&(n=i.tNi()).qni.addUndoChanges({type:c.TableSheetUndoType.SortMapChanged,oldData:i.Dze()}),o&&o[t]&&delete o[t],r&&r[t]&&delete r[t]},n.prototype.wot=function(t){var n=this,i=n.ATi(t),e=n.sTi[i];return e&&e[t]?e[t]:h},n.prototype.ATi=function(t){var n=this,i;return n.jFt()&&(i=n.bTi(t),!f(i))?i:g},n.prototype.xno=function(){var t,n,i,e,o=this,r=o.sTi,u=[];for(t in r)if(+t!==M)for(i in n=r[t])n.hasOwnProperty(i)&&(e=n[i],u.push(e));return u},n.prototype.Gct=function(n){return arguments&&arguments.length>0?this:t.prototype.Gct.call(this)},n.prototype.Dze=function(){var t;return null!==(t=(0,r.RF)(this.sTi))&&void 0!==t?t:{}},n.prototype.Nze=function(t){this.sTi=t},n.prototype.qO=function(n,i,e){var o,r,u,c;for(c in t.prototype.qO.call(this,n,i,e),o=this.sTi,r=function(t){var e,r,c,a,s;if(o.hasOwnProperty(t)){for(c in r=[],e=o[t])e.hasOwnProperty(c)&&(a=e[c]).index>=n&&(s=+c+i,u.GFt(s)?a.index=u.NTi(s,!0):a.index+=i,r.push({col:c,sortInfo:a}));r.forEach((function(t){var n=t.col;delete e[n]})),r.forEach((function(t){var n=t.sortInfo;e[n.index]=n})),0===Object.keys(e).length&&delete o[t]}},u=this,o)r(c)},n.prototype.NP=function(n,i){var e,o,r,u;for(u in t.prototype.NP.call(this,n,i),e=this.sTi,o=function(t){var o,u,c,a,s,l;if(e.hasOwnProperty(t)){for(c in u=[],o=e[t])o.hasOwnProperty(c)&&(s=(a=o[c]).index,l=n+i,s>=n&&s<l?r.DFt(c)?(a.index=r.NTi(c,!0),a.index-=i,u.push({col:c,sortInfo:a})):u.push({col:c}):s>=l&&(a.index-=i,u.push({col:c,sortInfo:a})));u.forEach((function(t){var n=t.col;delete o[n]})),u.forEach((function(t){var n=t.sortInfo;n&&(o[n.index]=n)})),0===Object.keys(o).length&&delete e[t]}},r=this,e)o(u)},n.prototype.vno=function(t){this.setFilterItemMap(t)},n.prototype.setSortInfo=function(t){var n,i,e=this,o=t.index;e.GFt(o)&&(o=e.NTi(o),t.index=o),i=e.ATi(o),e.sTi[i]=((n={})[o]=t,n),e.vTi(t,i)},n.prototype.vTi=function(t,n){var i,e=this,o=t.index;n===g||e.DFt(o)||e.GFt(o)?(e.DFt(o)&&(o=e.NTi(o)),e.sTi[M]=((i={})[o]=D(D({},t),{index:o}),i)):delete e.sTi[M]},n.prototype.BDi=function(){var t,n,i=this.Mf,e=i.getDataSource(),o=i.rowFilter(),r=o&&o.sTi,u={};return r&&(t=-1,(n=function(n){var i,o=r[n];if(!f(o))for(i in u[n]={},o)o.hasOwnProperty(i)&&(t=e.uPt(i),u[n][t]=i)})(g),n(M)),u},n.prototype.RDi=function(t){var n=this.Mf,i=n.getDataSource(),e=n.rowFilter(),o=e.sTi,r=function(n){var e,r,u,c,a,s,l=t[n];for(e in l)l.hasOwnProperty(e)&&(u=+l[r=+e],(c=i.BPt(r))!==u&&(a=o[n],f(a)||(s=a[u],f(s)||(delete a[u],s.index=c,a[c]=s))))};r(g),r(M)},n.prototype.nTi=function(t){var n,i,e,o,r,u,a,s,l,d,h,I,N,b,m;if(t&&t.length>0){for(n=this,i=[],e=[],o=t.map((function(t){return{oldIndex:t.oldIndex,newIndex:t.newIndex}})),r=function(t){var o,r,u,c,a,s,l,d=t.oldIndex,h=D({},t);for(c in e.push(h),(o=n.Mct.indexOf(d))>-1&&i.push([o,t.newIndex]),r=n.rrt[d],f(r)||(h.filterItemMapValue=r,n.rrt[d]=v),u=n.hst&&n.hst[d],!f(u)&&u.length>0&&(h.filteredColumnCacheValue=u,delete n.hst[d]),n.MTi)n.MTi.hasOwnProperty(c)&&(a=n.MTi[c])===d&&(h.relatedColFiltersValue=c,delete n.MTi[c]);f(n.sTi)||(s=n.sTi,(l=function(t){var n=s[t];f(n)||f(n[d])||(h.sortMapValue=n[d],delete n[d])})(g),l(M))},u=0,a=t;u<a.length;u++)r(s=a[u]);for(l=function(t){var i,e,o=t.newIndex,r=t.filterItemMapValue,u=t.filteredColumnCacheValue,c=t.relatedColFiltersValue,a=t.sortMapValue;f(r)||(n.rrt[o]=r),f(u)||(n.hst[o]=u),f(c)||(n.MTi[c]=o),f(n.sTi)||f(a)||(i=n.sTi,(e=function(n){var e=i[n];f(e)||(t.sortMapValue.index=o,e[o]=t.sortMapValue)})(g),e(M))},d=0,h=e;d<h.length;d++)l(s=h[d]);for(I=0;I<i.length;I++)b=(N=i[I])[0],m=N[1],n.Mct[b]=m;this.tNi().qni.addUndoChanges({type:c.TableSheetUndoType.UpdateFilterOnMoved,changedData:o})}},n.prototype.VIi=function(t){var n,i,e=this,o=e.eIi(),r=[],u=e.HMi(),c=[];u.forEach((function(n,i){n.RBt===t&&r.push(o.BPt(i))})),r.forEach((function(t){e.gze(t)})),n=r.length,i=r[r.length-1],n>0&&u.forEach((function(t,e){var r=o.BPt(e);r>i&&c.push({oldIndex:r,newIndex:r-n})})),e.nTi(c)},n.prototype.gze=function(t){var n,i,e,o,r,u,a,s=this,l={index:t,filterItemMap:{oldValue:null===(n=s.rrt)||void 0===n?void 0:n[t]},filteredColumns:{},filteredColumnCache:{oldValue:null===(i=s.hst)||void 0===i?void 0:i[t]},relatedColFilters:[],sortMap:[]};for(o in s.rrt[t]&&(s.rrt[t]=v,e=s.Mct.indexOf(t),l.filteredColumns={index:e,oldValue:s.Mct[e]},s.Mct.splice(e,1)),s.hst&&s.hst[t]&&delete s.hst[t],s.MTi)s.MTi.hasOwnProperty(o)&&(r=s.MTi[o])===t&&(l.relatedColFilters.push({col:o,value:s.MTi[o]}),delete s.MTi[o]);f(s.sTi)||(u=s.sTi,(a=function(n){var i=u[n];f(i)||f(i[t])||(l[n].push({level:n,index:t,value:i[t]}),delete i[t])})(g),a(M)),this.tNi().qni.addUndoChanges({type:c.TableSheetUndoType.RemoveCrosRowFilterInfo,changedData:l})},n.prototype.oze=function(t){var n=t.index,i=t.filterItemMap,e=t.filteredColumnCache,o=t.filteredColumns,r=t.relatedColFilters,u=void 0===r?[]:r,c=t.sortMap,a=void 0===c?[]:c,s=this;s.rrt&&(s.rrt[n]=i.oldValue),f(null==o?void 0:o.index)||(s.Mct[o.index]=o.oldValue),s.hst&&(s.hst[n]=e.oldValue),u.forEach((function(t){var n=t.col,i=t.value;s.MTi[n]=i})),a.forEach((function(t){var n=t.level,i=t.index,e=t.value;a&&a[n]&&(a[n][i]=e)}))},n.prototype.UIi=function(){var t,n,i=this,e=this,o=e.eIi(),r=e.HMi();this.lTi={},Object.keys(this.rrt).forEach((function(t){var n,e;f(i.rrt[t])||(n=o.uPt(t),e=r[n].value,f(i.lTi[e])&&(i.lTi[e]={}),i.lTi[e].filterItemMap=i.rrt[t])})),f(this.hst)||Object.keys(this.hst).forEach((function(t){var n=o.uPt(t),e=r[n].value;f(i.lTi[e])&&(i.lTi[e]={}),i.lTi[e].filteredColumnCache=i.hst[t]})),Object.keys(this.MTi).forEach((function(t){var n=o.uPt(t),e=r[n].value;f(i.lTi[e])&&(i.lTi[e]={}),n=o.uPt(i.MTi[t]),i.lTi[e].relatedColFilter=r[n].value})),f(this.sTi)||(t=this.sTi,(n=function(n){var e=t[n];f(e)||Object.keys(e).forEach((function(t){var n=o.uPt(t),u=r[n].value;f(i.lTi[u])&&(i.lTi[u]={}),f(i.lTi[u].sortMap)&&(i.lTi[u].sortMap={}),i.lTi[u].sortMap=e[t]}))})(g),n(M)),0===Object.keys(this.lTi).length&&delete this.lTi},n.prototype.QIi=function(){var t=this,n=this,i=n.Mf,e=n.eIi(),o=this.lTi,r=n.HMi();f(o)||(delete n.lTi,this.rrt=[],this.Mct=[],this.hst={},this.MTi={},f(this.sTi)||(f(this.sTi[g])||(this.sTi[g]={}),f(this.sTi[M])||(this.sTi[M]={})),Object.keys(o).forEach((function(n){var i,u,c=o[n],s=(0,a.findIndex)(r,(function(t){return t.value===n}));f(s)||(s=e.BPt(s),f(c.filterItemMap)||(t.rrt[s]=c.filterItemMap,t.Mct.push(s),t.hst[s]=c.filteredColumnCache),f(c.relatedColFilter)||(t.MTi[s]=e.BPt((0,a.findIndex)(r,(function(t){return t.value===c.relatedColFilter})))),f(t.sTi)||f(c.sortMap)||(i=t.sTi,(u=function(t){var n=i[t];c.sortMap.index=s,n[s]=c.sortMap})(g),u(M)))})),i.repaint())},n}(o.HideRowFilter),n.GroupHideRowFilter=I},7973:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.mJr||function(){return f=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},f.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.KZe=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(7324),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.$Ze=(0,e.GC$)(s("div"));return n.addClass("gc-defined-column-modified-fields-container"),t.ZX()},t.prototype.ZX=function(){var t,n,i=this,e=i.LEt,a=i.$Ze,s=(null===(t=e.fields)||void 0===t?void 0:t.split(","))||[];return i.qZe=new r.Rze({label:{text:(0,o.getSR)().columnTypeAllEditableFields},onChange:function(t){var n,e,o,r;t?(i.fields="*",i.Xze(),(null===(n=i.cUe)||void 0===n?void 0:n.isDisable())||null===(e=i.cUe)||void 0===e||e.resetDisable()):(null===(o=i.cUe)||void 0===o?void 0:o.isDisable())&&(null===(r=i.cUe)||void 0===r||r.resetDisable())}}),i.qZe.create().appendTo(a),n=(0,c.isNullOrUndefined)(e.fields)||s.length===i.lUe().length||"*"===e.fields,i.qZe.setValue(n),i.cUe=new u.Jze({label:{text:(0,o.getSR)().GroupPanelFieldsHeader},enableMultiSelected:!0,items:i.lUe(),enable:!i.qZe.value,onChange:function(t){i.fields=t.join(","),t.length===i.lUe().length&&i.qZe.setValue(!0),i.Xze()}}),i.cUe.create().appendTo(a),i.cUe.setValue(s),a},t.prototype.lUe=function(){var t,n,i,e=this,o=e.LEt.getTriggerFields(),r=[];for(t=0,n=o;t<n.length;t++)i=n[t],r.push({value:i});return r},t.prototype.Xze=function(){var t=this;t.LEt.onChange({fields:t.fields})},t.prototype.setOptions=function(t){var n=this;n.LEt=f(f({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.$Ze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.$Ze=c.keyword_null},t.prototype.L0=function(){var t=this;t.qZe&&t.qZe.dispose(),t.qZe=c.keyword_null,t.cUe&&t.cUe.dispose(),t.cUe=c.keyword_null},t}(),n.KZe=l},8026:function(t,n,i){var e,o,r,u,c,a,s,l,f=this&&this.mJr||function(){return f=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},f.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.RZe=void 0,e=i(1376),o=i(6114),r=i(6018),u=i(4900),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.Pq=[],this.BZe=[],this.LEt=t}return t.prototype.create=function(t){var n=this,i=n.QZe=(0,e.GC$)(s("div"));return i.addClass("gc-defined-column-look-up-container"),n.ZX(n.PZe(t)),i},t.prototype.ZX=function(t){var n,i,e,r,a=this,s=a.QZe,l=a.LEt.getLookup()||[],f=new u.Kze({inputId:"lookup-tables",validate:{required:!0},enableSearch:!0,stickItem:{value:c.keyword_undefined,text:(0,o.getSR)().defineColumnNone,iconClass:""},items:l.map((function(t){return{lookup:t,value:t.table,text:t.table,iconClass:""}})),label:{text:(0,o.getSR)().columnTypeLookupTables},onChange:function(t){var n=null==t?void 0:t.value,i=function(){a.YZe(a.Pq.slice(2)),a.Pq=a.Pq.slice(0,2),a.ltt().setValue()};if(!n)return a.BZe=[],i(),a.ltt().isDisable()||a.ltt().resetDisable(),void a.WZe();0===a.BZe.length?a.BZe.push(t.lookup):(a.BZe=[t.lookup],i()),l=a.LEt.getLookup(a.HZe()),a.ltt().setOptions({items:l.map((function(t){return{lookup:t,value:t.table,text:t.table,iconClass:""}}))}),a.ltt().isDisable()&&a.ltt().resetDisable(),a.WZe()}});if(f.create().appendTo(s),a.Pq.push({fieldSelect:f}),a.VZe(),t&&(f.setValue(null===(n=t[0])||void 0===n?void 0:n.table),t.length>1&&a.ltt().setValue(t[1],t[0])),t&&t.length>2)for(i=2;i<t.length;i++)e=t[i],(r=a.Pq[i]).fieldSelect.setValue(e.table),r.fieldNumber&&a.FZe(r.fieldNumber,t[i-1].isMany,e.index)},t.prototype.VZe=function(t,n){var i,a,l,d=this,h=!!t,v=d.QZe,g=(0,e.GC$)(s("div"));g.appendTo(v),g.addClass("gc-defined-column-look-up-field-container"),(l=new r.AZe({inputId:"lookup-fields-number"+(t?"-"+t:"")+"-"+(d.Pq.length-1),minValue:0,maxValue:Number.MAX_SAFE_INTEGER,allowMinNull:!0,enable:h,visible:!!(null===(i=d.BZe[d.Pq.length-1])||void 0===i?void 0:i.isMany),label:{text:(0,o.getSR)().columnTypeLookupIndexes},onChange:function(t){var n=d.Pq.findIndex((function(t){return t.fieldSelect===a})),i=a.item.lookup,e=t||c.keyword_undefined;i?(i.index=t||c.keyword_undefined,d.BZe[n]?d.BZe[n]=i:d.BZe.push(i)):d.BZe[n]?d.BZe[n].index=e:d.BZe.push({table:c.keyword_null,index:e}),d.WZe()}})).create().appendTo(g),a=new u.Kze({inputId:"lookup-fields"+(t?"-"+t:"")+"-"+d.Pq.length,enable:h,enableSearch:!0,stickItem:{value:c.keyword_undefined,text:(0,o.getSR)().defineColumnNone,iconClass:""},items:h?n.map((function(t){return{lookup:t,value:t.table,text:t.table,iconClass:""}})):[],label:{text:(0,o.getSR)().columnTypeLookupFields},onChange:function(t){var n,i,e=null==t?void 0:t.value,o=d.Pq.findIndex((function(t){return t.fieldSelect===a})),r=function(){var t=o+1;d.BZe=d.BZe.slice(0,t),d.YZe(d.Pq.slice(t)),d.Pq=d.Pq.slice(0,t)},u=null===(n=d.Pq[o].fieldNumber)||void 0===n?void 0:n.value;if(!e)return r(),d.BZe[o]&&(d.BZe[o]=f(f({},d.BZe[o]),{table:c.keyword_null}),u||(d.BZe[o].index=c.keyword_null)),void d.WZe();d.BZe[o]?(d.BZe[o]=t.lookup,d.BZe[o].index=u,r()):d.BZe.push(t.lookup),t.lookup.isTable&&(i=d.LEt.getLookup(d.HZe()))&&i.length>0&&d.VZe(e,i),d.WZe()}}),a.create().appendTo(g),d.Pq.push({fieldSelect:a,fieldNumber:l,lookupFieldContainer:g}),a.setValue()},t.prototype.ltt=function(){var t=this,n=t.Pq[1],i=n.fieldSelect,e=n.fieldNumber;return{setValue:function(n,o){i.setValue(null==n?void 0:n.table),t.FZe(e,null==o?void 0:o.isMany,null==n?void 0:n.index)},resetDisable:function(){i.resetDisable(),e.resetDisable()},isDisable:function(){return i.isDisable()},setOptions:function(n){var o;i.setOptions(n),t.FZe(e,t.BZe[0].isMany,null===(o=t.BZe[1])||void 0===o?void 0:o.index)}}},t.prototype.FZe=function(t,n,i){n?(t.setOptions({visible:!0}),t.setValue(i)):(t.setOptions({visible:!1}),t.setValue())},t.prototype.PZe=function(t){var n,i,e,o=this,r=[],u=t?t.split("."):[],c=function(t,i){var e,c=u[t];Number.isInteger(Number(c))?r[i]=f(f({},r[i]),{index:Number(c)}):(e=o.LEt.getLookup(u.slice(0,t).join(".")),r[i]=f(f(f({},r[i]),{table:c}),e.find((function(t){return t.table===c}))),i++),n=i};for(i=0,e=0;i<u.length;i++)c(i,e),e=n;return r},t.prototype.HZe=function(t){var n,i,e=this,o="";if(t){for(n=0;n<e.BZe.length;n++)(i=e.BZe[n]).index?(o+=".".concat(i.index),i.table&&(o+=".".concat(i.table))):i.table&&(o+=".".concat(i.table));o=o.slice(1)}else o=e.BZe.map((function(t){return t.table})).join(".");return o},t.prototype.WZe=function(){var t=this,n=t.HZe(!0);t.LEt.onChange(n)},t.prototype.validate=function(){var t,n;return null===(n=null===(t=this.Pq[0])||void 0===t?void 0:t.fieldSelect)||void 0===n?void 0:n.validate()},t.prototype.YZe=function(t){var n,i,e,o,r,u,c=function(t){t&&(t.dispose?t.dispose(!0):t.unbind&&t.unbind("click"))};for(n=0,i=t;n<i.length;n++)o=(e=i[n]).fieldSelect,r=e.fieldNumber,u=e.lookupFieldContainer,o&&c(o),r&&c(r),u&&u.remove();return[]},t.prototype.dispose=function(){var t=this;t.YZe(t.Pq),t.Pq=[],t.QZe=c.keyword_null},t}(),n.RZe=l},8033:function(t,n,i){var e,o,r,u,c,a=this&&this.vJr||(s=function(t,n){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},s(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),s;Object.defineProperty(n,"__esModule",{value:!0}),n.ueo=void 0,e=i(1376),o=i(8057),r=e.mt,u=r.En,c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.prototype.ZX=function(){var t=this,n=(0,e.GC$)(u("div"));return n.addClass("gc-defined-column-barcode-options-container"),t.ieo(n),t.cto(n,"checkDigit"),t.ato(n,"nwRatio",[{text:"3",value:"3"},{text:"2",value:"2"}]),t.oeo(n),n},n}(o.Meo),n.ueo=c},8057:function(t,n,i){var e,o,r,u,c,a,s,l,f;Object.defineProperty(n,"__esModule",{value:!0}),n.Meo=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(6406),c=i(6018),a=i(4900),s=e.mt,l=s.En,f=function(){function t(t){var n=this;n.LEt=t,n.xT=[],n.selectBarcode="data_"+t.option.barcodeType,n.fontOptions=[]}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){},t.prototype.ato=function(t,n,i,e,r){var u=this,c=new a.Kze({inputId:"barcode-"+n,defaultValue:u.LEt.option[u.selectBarcode][n],items:i,enable:e,label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},onChange:function(t){u.LEt.option[u.selectBarcode][n]=t.value,r&&r(t),u.onChange()}});return c.create().appendTo(t),u.xT.push(c),c},t.prototype.rto=function(t,n,i,e){var r=this,c=new u.mZe({inputId:"barcode-"+n,enable:i,defaultValue:r.LEt.option[r.selectBarcode][n],className:"gc-defined-column-barcode-options-input",label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},onBlur:function(t){r.LEt.option[r.selectBarcode][n]=t,e&&e(t),r.onChange()}});return c.create().appendTo(t),r.xT.push(c),c},t.prototype.cto=function(t,n,i,e){var u=this,c=new r.Rze({defaultValue:u.LEt.option[u.selectBarcode][n],label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},enable:i,textDisplay:1,inputId:n,onChange:function(t){u.LEt.option[u.selectBarcode][n]=t,e&&e(t),u.onChange()}});return c.create().appendTo(t),u.xT.push(c),c},t.prototype.teo=function(t,n,i,e,r,u){var a=this,s=new c.AZe({defaultValue:a.LEt.option[a.selectBarcode][n],minValue:i,maxValue:e,enable:r,label:{text:(0,o.getSR)().columnTypeBarcodeLabel[n]},inputId:n,onChange:function(t){a.LEt.option[a.selectBarcode][n]=t,u&&u(t),a.onChange()}});return s.create().appendTo(t),a.xT.push(s),s},t.prototype.neo=function(t){var n=this,i=(0,e.GC$)(l("div"));return i.addClass("gc-defined-column-empty-div"),i.appendTo(t),n.xT.push(i),i},t.prototype.ieo=function(t){var n=this,i=n.fontOptions,e=n.labelPosition;n.cto(t,"showLabel",void 0,(function(t){t?(i.forEach((function(t){t.isDisable()&&t.resetDisable()})),e.isDisable()&&e.resetDisable()):(i.forEach((function(t){t.isDisable()||t.resetDisable()})),e.isDisable()||e.resetDisable())})),e=n.ato(t,"labelPosition",[{text:"top",value:"top"},{text:"bottom",value:"bottom"}],!1)},t.prototype.oeo=function(t){var n=this,i=n.fontOptions;i.push(n.ato(t,"fontFamily",[{text:"sans-serif",value:"sans-serif"},{text:"serif",value:"serif"},{text:"monospace",value:"monospace"},{text:"Arial",value:"Arial"},{text:"Verdana",value:"Verdana"},{text:"Times",value:"Times"}],!1)),i.push(n.ato(t,"fontStyle",[{text:"normal",value:"normal"},{text:"italic",value:"italic"}],!1)),i.push(n.ato(t,"fontWeight",[{text:"normal",value:"normal"},{text:"bold",value:"bold"}],!1)),i.push(n.ato(t,"fontTextDecoration",[{text:"none",value:"none"},{text:"underline",value:"underline"},{text:"overline",value:"overline"},{text:"line-through",value:"line-through"}],!1)),i.push(n.ato(t,"fontTextAlign",[{text:"center",value:"center"},{text:"left",value:"left"},{text:"right",value:"right"},{text:"group",value:"group"}],!1)),i.push(n.ato(t,"fontSize",[{text:"12",value:12},{text:"13",value:13},{text:"14",value:14},{text:"15",value:15},{text:"16",value:16},{text:"17",value:17},{text:"18",value:18},{text:"19",value:19},{text:"20",value:20},{text:"21",value:21},{text:"22",value:22}],!1)),i.forEach((function(t){t.container.addClass("gc-defined-column-field-item-small-container")}))},t.prototype.onChange=function(){var t=this,n=t.LEt.onChange;n&&n(t.LEt.option)},t.prototype.YZe=function(t){var n,i,e;for(n=0,i=t;n<i.length;n++)(e=i[n]).dispose?e.dispose():e.unbind&&e.unbind("click");return[]},t.prototype.dispose=function(){var t=this;t.xT=t.YZe(t.xT)},t}(),n.Meo=f},8301:function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.columnTypeNumber=n.defineColumnExisted=n.defineColumnRequired=n.defineColumnNoResults=n.defineColumnAll=n.defineColumnNone=n.defineColumnFormula=n.defineColumnOthers=n.defineColumnDefaultValue=n.defineColumnConfiguration=n.defineColumnFormatting=n.defineColumnType=n.defineColumnCaption=n.defineColumnValue=n.submit=n.cancel=n.defineColumn=n.Exp_InvalidOperationInProtectForTableSheet=n.CrossColumnDetailList=n.CrossColumnDetailAttributes=n.CrossColumnDetailFilter=n.CrossColumnDetailValueHeader=n.CrossColumnDetailCaption=n.CrossColumnDetailOver=n.CrossColumnDetailValuePlaceHolder=n.CrossColumnDetailValue=n.CrossColumnDetailName=n.CrossColumnDetailFormatter=n.CrossColumnCrossHeader=n.StatusBarToolTipRowCount=n.StatusBarRowCount=n.TextColon=n.GroupPanelAddCalculateColumn=n.GroupPanelItemRemoveAll=n.GroupPanelSummaryLabelPositionFooter=n.GroupPanelSummaryLabelPositionHeader=n.GroupPanelSummaryLabelPosition=n.GroupPanelSummaryLabelRelateTo=n.GroupPanelSummaryLabelSlice=n.GroupPanelSummaryLabelCaption=n.GroupPanelSummaryLabelFormula=n.GroupPanelDropDownCalcField=n.GroupPanelItemAddCalculation=n.GroupPanelItemRemove=n.GroupPanelGroupsHeader=n.GroupPanelFieldsHeader=n.GroupPanelTip=n.GroupPanelGroupName=n.GroupPanelSetting=n.EXP_TooManyPinRecords=void 0,n.columnTypeAttachmentLeft=n.columnTypeAttachmentMarginGroup=n.columnTypeCalendarType=n.columnTypeShowEraFirstYear=n.columnTypeCalendar=n.columnTypeDateLocale=n.columnTypeDateType=n.columnTypeDateShowBuiltInDateRange=n.columnTypeDateShowDateRange=n.columnTypeDateShowTime=n.columnTypeDateMonth=n.columnTypeDateYear=n.columnTypeDateDay=n.columnTypeDateCalendarPage=n.columnTypeDateSunday=n.columnTypeDateSaturday=n.columnTypeDateFriday=n.columnTypeDateThursday=n.columnTypeDateWednesday=n.columnTypeDateTuesday=n.columnTypeDateMonday=n.columnTypeDateStartDay=n.columnTypeDateTimePicker=n.columnTypeAllEditableFields=n.columnTypeMask=n.columnTypeFormattingCategory=n.columnTypeLookupIndexes=n.columnTypeLookupFields=n.columnTypeLookupTables=n.columnTypeNumberFormatting=n.columnTypeNumberFormattingSymbol=n.columnTypeNumberFormattingNegativeNumbers=n.columnTypeNumberFormattingThousandSeparator=n.columnTypeNumberFormattingDecimalPlaces=n.columnTypeNumberFormattingSample=n.columnTypeBarcode=n.columnTypeSelect=n.columnTypeAttachment=n.columnTypeModifiedTime=n.columnTypeCreatedTime=n.columnTypeLookup=n.columnTypeURL=n.columnTypeEmail=n.columnTypePhone=n.columnTypePercent=n.columnTypeCurrency=n.columnTypeDate=n.columnTypeCheckbox=n.columnTypeFormula=n.columnTypeText=void 0,n.columnTypeUrlLabel=n.columnTypeComboBoxItemHeight=n.columnTypeComboBoxEditable=n.columnTypeComboBoxEditorValueType=n.columnTypeComboBoxRemove=n.columnTypeComboBoxAdd=n.columnTypeComboBoxValue=n.columnTypeComboBoxText=n.columnTypeComboBoxItemProperties=n.columnTypeComboBoxItems=n.columnTypeComboBoxEditorValueTypes=n.columnTypeBarcodeLabel=n.columnTypeCheckboxTextAlign=n.columnTypeCheckboxAuto=n.columnTypeCheckboxBoxSize=n.columnTypeCheckboxIsThreeState=n.columnTypeCheckboxCaption=n.columnTypeCheckboxOther=n.columnTypeCheckboxAlign=n.columnTypeCheckboxFalse=n.columnTypeCheckboxIndeterminate=n.columnTypeCheckboxTrue=n.columnTypeCheckboxTextGroup=n.columnTypeCheckboxTitle=n.columnTypeAttachmentSizeUnit=n.columnTypeAttachmentIsDownloadEnabled=n.columnTypeAttachmentIsClearEnabled=n.columnTypeAttachmentIsPreviewEnabled=n.columnTypeAttachmentAcceptValueTypes=n.columnTypeAttachmentAccept=n.columnTypeAttachmentMaxSize=n.columnTypeAttachmentBottom=n.columnTypeAttachmentRight=n.columnTypeAttachmentTop=void 0,n.EXP_TooManyPinRecords="Only support less than 10 pin records.",n.GroupPanelSetting="Setting",n.GroupPanelGroupName="Group Name",n.GroupPanelTip="Drag here to set row groups",n.GroupPanelFieldsHeader="Fields",n.GroupPanelGroupsHeader="Groups",n.GroupPanelItemRemove="Remove",n.GroupPanelItemAddCalculation="Add Summary Field",n.GroupPanelDropDownCalcField="Field",n.GroupPanelSummaryLabelFormula="Formula",n.GroupPanelSummaryLabelCaption="Caption",n.GroupPanelSummaryLabelSlice="Slice",n.GroupPanelSummaryLabelRelateTo="Relate to",n.GroupPanelSummaryLabelPosition="Position",n.GroupPanelSummaryLabelPositionHeader="Header",n.GroupPanelSummaryLabelPositionFooter="Footer",n.GroupPanelItemRemoveAll="Remove All",n.GroupPanelAddCalculateColumn="Add Calculated Column",n.TextColon=":",n.StatusBarRowCount="Row Count",n.StatusBarToolTipRowCount="Count of selected rows",n.CrossColumnCrossHeader="Cross",n.CrossColumnDetailFormatter="Formatter",n.CrossColumnDetailName="Name",n.CrossColumnDetailValue="Value",n.CrossColumnDetailValuePlaceHolder="Drag item here to set value",n.CrossColumnDetailOver="Over",n.CrossColumnDetailCaption="Caption",n.CrossColumnDetailValueHeader="Show Cross Value Header",n.CrossColumnDetailFilter="Filter",n.CrossColumnDetailAttributes="Attributes",n.CrossColumnDetailList="List",n.Exp_InvalidOperationInProtectForTableSheet="The range you're trying to change is locked.",n.defineColumn="Define Column",n.cancel="Cancel",n.submit="Submit",n.defineColumnValue="Value",n.defineColumnCaption="Caption",n.defineColumnType="Type",n.defineColumnFormatting="Formatting",n.defineColumnConfiguration="Configuration",n.defineColumnDefaultValue="Default",n.defineColumnOthers="Others",n.defineColumnFormula="Formula",n.defineColumnNone="None",n.defineColumnAll="All",n.defineColumnNoResults="No Results",n.defineColumnRequired="It's required",n.defineColumnExisted="It's existed",n.columnTypeNumber="Number",n.columnTypeText="Text",n.columnTypeFormula="Formula",n.columnTypeCheckbox="Checkbox",n.columnTypeDate="Date",n.columnTypeCurrency="Currency",n.columnTypePercent="Percent",n.columnTypePhone="Phone",n.columnTypeEmail="Email",n.columnTypeURL="URL",n.columnTypeLookup="Lookup",n.columnTypeCreatedTime="CreatedTime",n.columnTypeModifiedTime="ModifiedTime",n.columnTypeAttachment="Attachment",n.columnTypeSelect="Select",n.columnTypeBarcode="Barcode",n.columnTypeNumberFormattingSample="Sample",n.columnTypeNumberFormattingDecimalPlaces="Decimal places",n.columnTypeNumberFormattingThousandSeparator="Use 1000 Separator(,)",n.columnTypeNumberFormattingNegativeNumbers="Negative numbers",n.columnTypeNumberFormattingSymbol="Symbol",n.columnTypeNumberFormatting={negativeNumbers:{"-1234.10":"-1234.10","red:1234.10":"1234.10","(1234.10)":"(1234.10)","red:(1234.10)":"(1234.10)"},numberCategoryFormats:["0","0;[Red]0","0_);(0)","0_);[Red](0)","#,##0","#,##0;[Red]#,##0","#,##0_);(#,##0)","#,##0_);[Red](#,##0)"],japanEmperorReignDateFormat:["[$-411]ge.m.d;@",'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5";@'],japanEmperorReignFirstYearDateFormat:["[$-411]ge.m.d;@",'[$-ja-JP-x-gannen]ggge"\u5e74"m"\u6708"d"\u65e5";@'],accountingSymbol:[["None","",""],["$","$","en-US"],["\xa5(Chinese)","\xa5","zh-cn"],["\xa5(Japanese)","\xa5","ja-jp"],["\u20a9(Korean)","\u20a9","ko-kr"]],percentageFormats:["0%"],currencyFormatWithoutSymbol:["#,##0","#,##0;[Red]#,##0","#,##0_);(#,##0)","#,##0_);[Red](#,##0)"],commonFormats:{Number:{format:"0.00",label:"Number"},Currency:{format:"[$$-409]#,##0.00",label:"Currency"},Accounting:{format:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',label:"Accounting"},ShortDate:{format:"m/d/yyyy",label:"Short Date"},LongDate:{format:"[$-409]dddd, mmmm dd, yyyy",label:"Long Date"},Time:{format:"[$-409]h:mm:ss AM/PM",label:"Time"},Percentage:{format:"0.00%",label:"Percentage"},Fraction:{format:"# ?/?",label:"Fraction"},Scientific:{format:"0.00E+00",label:"Scientific"},Text:{format:"@",label:"Text"},Comma:{format:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',label:"Comma"}}},n.columnTypeLookupTables="Select lookup table",n.columnTypeLookupFields="The field to look up",n.columnTypeLookupIndexes="The record number",n.columnTypeFormattingCategory="Category",n.columnTypeMask={pattern:"Pattern",placeholder:"Placeholder",excludeLiteral:"Exclude Literal",excludePlaceholder:"Exclude Placeholder"},n.columnTypeAllEditableFields="All Editable Fields",n.columnTypeDateTimePicker="DateTime Picker",n.columnTypeDateStartDay="StartDay",n.columnTypeDateMonday="Monday",n.columnTypeDateTuesday="Tuesday",n.columnTypeDateWednesday="Wednesday",n.columnTypeDateThursday="Thursday",n.columnTypeDateFriday="Friday",n.columnTypeDateSaturday="Saturday",n.columnTypeDateSunday="Sunday",n.columnTypeDateCalendarPage="CalendarPage",n.columnTypeDateDay="Day",n.columnTypeDateYear="Year",n.columnTypeDateMonth="Month",n.columnTypeDateShowTime="ShowTime",n.columnTypeDateShowDateRange="ShowDateRange",n.columnTypeDateShowBuiltInDateRange="ShowBuiltInDateRange",n.columnTypeDateType="Type",n.columnTypeDateLocale="locale (location)",n.columnTypeCalendar="Calendar type",n.columnTypeShowEraFirstYear="Use Gannen to display 1st year",n.columnTypeCalendarType={western:"Western",JER:"Japanese Emperor Reign"},n.columnTypeAttachmentMarginGroup="Margin",n.columnTypeAttachmentLeft="Left",n.columnTypeAttachmentTop="Top",n.columnTypeAttachmentRight="Right",n.columnTypeAttachmentBottom="Bottom",n.columnTypeAttachmentMaxSize="Size Limit",n.columnTypeAttachmentAccept="File Type",n.columnTypeAttachmentAcceptValueTypes={txt:"txt",all:"all",pdf:"pdf",image:"jpg,png,gif",excel:"docx,xlsx,pptx"},n.columnTypeAttachmentIsPreviewEnabled="Preview",n.columnTypeAttachmentIsClearEnabled="Clear",n.columnTypeAttachmentIsDownloadEnabled="Download",n.columnTypeAttachmentSizeUnit="KB",n.columnTypeCheckboxTitle="CheckBox CellType",n.columnTypeCheckboxTextGroup="Text",n.columnTypeCheckboxTrue="True",n.columnTypeCheckboxIndeterminate="Indeterminate",n.columnTypeCheckboxFalse="False",n.columnTypeCheckboxAlign="Align",n.columnTypeCheckboxOther="Other",n.columnTypeCheckboxCaption="Caption",n.columnTypeCheckboxIsThreeState="IsThreeState",n.columnTypeCheckboxBoxSize="Box Size",n.columnTypeCheckboxAuto="Auto",n.columnTypeCheckboxTextAlign={top:"Top",bottom:"Bottom",left:"Left",right:"Right"},n.columnTypeBarcodeLabel={showLabel:"Show Label",barcodeType:"Barcode Type",color:"Color",errorCorrectionLevel:"Error Correction Level",backgroundColor:"Background Color",version:"Version",model:"Model",mask:"Mask",connection:"Connection",charCode:"CharCode",connectionNo:"Connection No",charset:"Charset",quietZoneLeft:"Quiet Zone Left",quietZoneRight:"Quiet Zone Right",quietZoneTop:"Quiet Zone Top",quietZoneBottom:"Quiet Zone Bottom",labelPosition:"Label Position",addOn:"AddOn",addOnLabelPosition:"AddOn Label Position",fontFamily:"Font Family",fontStyle:"Font Style",fontWeight:"Font Weight",fontTextDecoration:"Font TextDecoration",fontTextAlign:"Font TextAlign",fontSize:"Font Size",fileIdentifier:"File Identifier",structureNumber:"Structure Number",structureAppend:"Structure Append",ecc00_140Symbol:"Ecc000_140 Symbol Size",ecc200EncodingMode:"Ecc200 Endcoding Mode",ecc200SymbolSize:"Ecc200 Symbol Size",eccMode:"Ecc Mode",compact:"Compact",columns:"Columns",rows:"Rows",groupNo:"GroupNo",grouping:"Grouping",codeSet:"Code Set",fullASCII:"Full ASCII",checkDigit:"Check Digit",nwRatio:"Wide And Narrow Bar Ratio",labelWithStartAndStopCharacter:"Label With Start And Stop Character"},n.columnTypeComboBoxEditorValueTypes="EditorValueType",n.columnTypeComboBoxItems="Items",n.columnTypeComboBoxItemProperties="ItemProperties",n.columnTypeComboBoxText="Text",n.columnTypeComboBoxValue="Value",n.columnTypeComboBoxAdd="Add",n.columnTypeComboBoxRemove="Remove",n.columnTypeComboBoxEditorValueType={text:"Text",index:"Index",value:"Value"},n.columnTypeComboBoxEditable="Editable",n.columnTypeComboBoxItemHeight="Items Height",n.columnTypeUrlLabel={linkColor:"Link Color",visitedLinkColor:"Visited Link Color"}},8333:function(n){n.exports=t.Spread.Sheets.ConditionalFormatting},8565:function(t,n,i){var e,o,r,u,c,a,s,l;Object.defineProperty(n,"__esModule",{value:!0}),n.vZe=void 0,e=i(1376),o=i(2648),r=i(6114),u=i(6406),c=i(591),a=e.mt,s=a.En,l=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.ZX()},t.prototype.ZX=function(){var t,n,i=this,o=(0,e.GC$)(s("div"));return o.addClass("gc-defined-column-input-formula-container"),(t=i.DZe=new u.mZe({inputId:"formula",type:"text",validate:i.LEt.validate,placeholder:(0,r.getSR)().defineColumnFormula})).create().appendTo(o),i.jZe(),(n=i.CZe=(0,e.GC$)(s("div"))).addClass("gc-defined-column-fake-ftb-workbook"),n.hide(),n.appendTo(o),o},t.prototype.jZe=function(){var t=this,n={formulaInputTextBox:null,fakeFormulaTextBoxWorkbook:null};t.DZe.bind("focus",(function(){t.ggi(n.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook);var i=t.wZe();n.formulaInputTextBox=i.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook=i.fakeFormulaTextBoxWorkbook})).bind("blur",(function(){var i=t.DZe.value;"="===i&&(i="",t.DZe.setValue("",!1)),t.LEt.onChange(i),t.ggi(n.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook)})).bind("keydown",(function(i){13===i.keyCode&&(t.ggi(n.formulaInputTextBox,n.fakeFormulaTextBoxWorkbook),i.target.blur())}))},t.prototype.TZe=function(){var t;this.DZe.unbind("focus").unbind("blur").unbind("keydown")},t.prototype.wZe=function(){var t,n=this,i=n.DZe,r=i.value||"=",u=new o.FormulaTextBox(i.getInputElement(),c.keyword_null,c.keyword_null);return u.Ngi=!0,t=new e.Workbook(n.CZe.get(0),{allowDynamicArray:!0,allowUndo:!1}),n.XMi(t),n.lgi(t),u.workbook(t),u.text(r),{formulaInputTextBox:u,fakeFormulaTextBoxWorkbook:t}},t.prototype.XMi=function(t){var n,i,e,o=this,u=o.LEt.getColumnFields();for(n=0,i=u;n<i.length;n++)e=i[n],t.zwt(t.hyt,e,"=A1",0,0,!0,(0,r.getSR)().GroupPanelDropDownCalcField+" "+e)},t.prototype.lgi=function(t){var n=t.getActiveSheet();delete n.Qy().PUt.enter,n.setRowCount(1),n.setColumnCount(1)},t.prototype.ggi=function(t,n){t&&t.destroy&&t.destroy(),n&&n.destroy&&n.destroy()},t.prototype.validate=function(){return this.DZe.validate()},t.prototype.setValue=function(t){var n;this.DZe.setValue(t)},t.prototype.dispose=function(){var t=this;t.TZe(),t.DZe.dispose(),t.DZe=c.keyword_null},t}(),n.vZe=l},8680:function(t,n,i){var e,o,r,u,c,a,s;function l(t){return t instanceof Function}Object.defineProperty(n,"__esModule",{value:!0}),e=i(7848),o=i(7234),r=i(7373),u=o.Common.lt.ht,c=null,a=void 0,s=function(){function t(){}return t.prototype.isDataSource=function(t){return r&&r.isView&&r.isView(t)},t.prototype.getDataLength=function(t){return t.visibleLength()},t.prototype.getDataItem=function(t,n,i){if(n<0)return c;var e=a;return i&&((e={})[i]=1),t.getRowData(n,a,e)},t.prototype.addItems=function(t,n,i,e,o){},t.prototype.removeItems=function(t,n,i,e){var o=this.getDataLength(t);e()},t.prototype.undoRemoveItems=function(t,n,i){},t.prototype.getProperties=function(t){var n=this.getDataItem(t,0);return n?Object.keys(n):[]},t.prototype.getValue=function(t,n,i,e,o,r){var a,s,f,d,h=t.kve(o);return h?(s=c,f=t.Nve(e,h),d=!1,u(f)||(d=!0,n&&l(n)&&(f=n(((a={})[i]=f,a))),s=r?r(h,e,f):f),{value:s,hasBinding:d}):{value:c,hasBinding:!0}},t.prototype.setValue=function(t,n,i,e,o,r,u){},t.prototype.allowSetCount=function(){return!0},t.prototype.canAdd=function(){return!0},t.prototype.canInsert=function(){return!1},t.prototype.fromJSON=function(t){return t},t.prototype.toJSON=function(t){return t},t}(),e.X$.dataManagerBindingSource=new s},8966:function(t,n,i){var e,o,r,u,c,a;Object.defineProperty(n,"__esModule",{value:!0}),n.REMOVE_CROSS_COLUMN=n.RESET_NEW_VIEW=n.DEFINE_COLUMN_TO_TABLE=n.MODIFY_COLUMN_TO_TABLE=n.REMOVE_COLUMN_TO_TABLE=n.VIEW_MOVE_COLUMN=n.VIEW_Add_COLUMN_INFO=n.VIEW_UPDATE_COLUMN_INFO=n.VIEW_REMOVE_COLUMN_INFO=n.GROUP_OPTIONS=n.EXPAND_GROUP=n.EXPAND_GROUP_ITEM=n.RESET_ROW=n.SAVE_ROW=n.REMOVE_ROW=n.PIN_ROW=n.SAVE_ALL=void 0,e=i(1376),o=i(3889),r="TableSheet",u=function(t){return r+t},n.SAVE_ALL="SaveAll",n.PIN_ROW="PinRow",n.REMOVE_ROW="RemoveRow",n.SAVE_ROW="SaveRow",n.RESET_ROW="ResetRow",n.EXPAND_GROUP_ITEM=u("ExpandGroupItemCommand"),n.EXPAND_GROUP=u("ExpandGroupCommand"),n.GROUP_OPTIONS=u("SetGroupOptions"),n.VIEW_REMOVE_COLUMN_INFO=u("ViewRemoveColumnInfo"),n.VIEW_UPDATE_COLUMN_INFO=u("ViewUpdateColumnInfo"),n.VIEW_Add_COLUMN_INFO=u("ViewAddColumnInfo"),n.VIEW_MOVE_COLUMN=u("ViewMoveColumn"),n.REMOVE_COLUMN_TO_TABLE="RemoveColumn",n.MODIFY_COLUMN_TO_TABLE="ModifyColumn",n.DEFINE_COLUMN_TO_TABLE="DefineColumn",n.RESET_NEW_VIEW=u("ResetNewView"),n.REMOVE_CROSS_COLUMN=u("CrossColumnOptions"),c=e.Commands.zA,a=function(){},e.Commands[n.SAVE_ALL]={canUndo:!1,execute:function(t,n,i){var e,o,r,u=t.Ofe(n.sheetName),c=u.id();for(u.suspendPaint(),e=0,o=c;e<o.length;e++)r=o[e],u.saveRow(r).catch(a);return u.resumePaint(),!0}},e.Commands[n.SAVE_ROW]={canUndo:!1,execute:function(t,n){var i=n.tableSheet,o=n.index;return i.Mf.ki(e.Events.RowOperation,{sheet:i,sheetName:i.name(),actionType:1,row:o}),i.saveRow(o).catch(a),!0}},e.Commands[n.RESET_ROW]={canUndo:!0,execute:function(t,n,i){return n.sheetName=n.tableSheet.name(),c(t,o.ResetRowAction,n,i)}},e.Commands[n.EXPAND_GROUP_ITEM]={canUndo:!0,execute:function(t,n,i){return c(t,o.ExpandGroupItemAction,n,i)}},e.Commands[n.EXPAND_GROUP]={canUndo:!0,execute:function(t,n,i){return c(t,o.ExpandGroupAction,n,i)}},e.Commands[n.PIN_ROW]={canUndo:!0,execute:function(t,n,i){return n.sheetName=n.tableSheet.name(),c(t,o.PinRowAction,n,i)}},e.Commands[n.REMOVE_ROW]={canUndo:!0,execute:function(t,n,i){return c(t,o.RemoveRowAction,n,i)}},e.Commands[n.MODIFY_COLUMN_TO_TABLE]={canUndo:!0,execute:function(t,n,i){return c(t,o.ModifyColumnToTableAction,n,i)}},e.Commands[n.REMOVE_COLUMN_TO_TABLE]={canUndo:!0,execute:function(t,n,i){return c(t,o.RemoveColumnToTableAction,n,i)}},e.Commands[n.DEFINE_COLUMN_TO_TABLE]={canUndo:!0,execute:function(t,n,i){return c(t,o.DefineColumnToTableAction,n,i)}},e.Commands[n.VIEW_UPDATE_COLUMN_INFO]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewUpdateColumnInfoAction,n,i)}},e.Commands[n.VIEW_REMOVE_COLUMN_INFO]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewRemoveColumnInfoAction,n,i)}},e.Commands[n.VIEW_Add_COLUMN_INFO]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewAddColumnInfoAction,n,i)}},e.Commands[n.VIEW_MOVE_COLUMN]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewMoveColumnAction,n,i)}},e.Commands[n.GROUP_OPTIONS]={canUndo:!0,execute:function(t,n,i){return c(t,o.ViewGroupOptionsAction,n,i)}},e.Commands[n.RESET_NEW_VIEW]={canUndo:!0,execute:function(t,n,i){return c(t,o.TableSheetResertViewAction,n,i)}},e.Commands[n.REMOVE_CROSS_COLUMN]={canUndo:!0,execute:function(t,n,i){return c(t,o.TableSheetRemoveColumnInfoAction,n,i)}}},9131:function(n){n.exports=t.Spread.Sheets.Tables},9134:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h,v,g,M,I=this&&this.vJr||(N=function(t,n){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},N(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}),N;Object.defineProperty(n,"__esModule",{value:!0}),n.TableSheetFilterDialog=void 0,e=i(4036),o=i(7234),r=i(7669),u=o.Common.lt,c=u.ht,a=u.q8,s=Object.keys,l="null",f="undefined",d=null,h=void 0,v=1e5,g=/((\d{4}|\d{2}|\d{1})[\/\-])(\d{4}|\d{2}|\d{1})[\/\-](\d{4}|\d{2}|\d{1})|((\d{4}|\d{2}|\d{1})[\/\-\s](\d{4}|\d{2}|\d{1}) [0-9]{2}:[0-9]{2}:[0-9]{2})/,M=function(t){function n(n,i,e,o,r,u){var c=t.call(this,n,i,e,o,r)||this;return c.cze=!1,c.vMi=u,c}return I(n,t),n.prototype.Bst=function(t,n,i,e,o,r,u){var a,l,f,d,g,M,I,N,D,b,m,C,w,y,x,A=this,j=this.vMi,T=j.Mf,z=this.filterButtonInfo.col,p=j.getDataView(),L=p&&p.gLt,S=function(t){return p.uFt(t)},O=this,k=O.filterButtonInfo.rowFilter;if(k){if(l=0,d=[],g=j.qNi(),(I=(M=p.kve(t)).value||M.name)&&!g){if((f=S(I))?L&&L.rBt(I)&&f.K$!==L.rBt(I)&&p.eRt([I],!0):p.eRt([I]),f=S(I),c(f))return;a=f.K$,(D=null==(N=L.jRt(I))?void 0:N.dataMap)&&"object"==typeof D&&(b=typeof Object.values(D)[0],-1!==["string","number","boolean"].indexOf(b)&&(a=b)),delete f.K$,d=s(f),l=d.length,f.K$=a,O.wTi=O.yTi(p.lFt&&p.lFt.length>0?p.iRt.slice(p.lFt.length):p.iRt)}if(O.Jut=!1,m=T.$go(-1,t),C=T.l0(-1,t===z?t:z,"formatter"),g)return O.Jut=h,void O.mTi(I,t,n,i,e,o,r,u,m,C);if(l>v){for(w=Math.ceil(l/v),O.CTi=[],y=1;y<w;y++)x=void 0,x=y===w-1?{startIndex:v*y,endIndex:l-1}:{startIndex:v*y,endIndex:v*(y+1)-1},O.CTi.push(x);O.Yut(!0),O.zTi(f,d,0,v-1,t,n,i,e,o,r,u,m,C,a),O.Vut(v/l),setTimeout((function(){A.asyncCreateFilterData(f,d,O.CTi,t,n,i,e,o,r,u,m,C,a,l)}),0)}else O.zTi(f,d,0,l-1,t,n,i,e,o,r,u,m,C,a)}},n.prototype.mTi=function(t,n,i,e,o,u,a,l,f,d){var h,v,g,M,I,N,D,b,m,C,w,y,x,A,j,T,z,p,L,S=this.vMi,O=this,k={},E=S.getDataView(),Z=E.gLt._dataSource.options.schema,U=O.filterButtonInfo.rowFilter,G=U.Mct,B=U.isFiltered(n)&&(0,r.isSpecificCondition)(U.rrt[n][0],O),R=0===G.length||U.isFiltered(n)&&1===G.length;if(Z&&Z.columns&&Z.columns[t]&&(h=Z.columns[t].dataType),M=E.iRt,N=(I=E.bFt()).length,R)U.tAi=I;else{for(v=E.Jce||{},D=E.ife(n),g=s(v).filter((function(t){if(t!==D){var n=v[t].options[0],i=n&&void 0!==n.Vce;return i&&(b=t),!i}return!1})),m=0,C=0,w=b,y=0;y<g.length;y++)(m>(x=v[g[y]].count)||0===y)&&(m=x,C=y,w=g[y]);for(z in g.splice(C,1),A=function(t){for(var n=0;n<g.length&&v[g[n]][t];n++);return n===g.length},j=[],T=v[w])A(z)&&(p=+z,Number.isNaN(p)||j.push(p));E.iRt=j,E.yFt(),j=E.iRt,E.iRt=M,I=j,N=j.length,U.tAi=j}for(L=function(i){var e,o,r,s,v,g,N,D=I[i],b=E.getRowData(D,!0,(e={},e[t]=!0,e))[t];c(h)&&!c(b)&&(h=typeof b),r=(o=O.LTi(b,k,n,(function(){return{row:i,isCheckedInCheckList:!B&&M.indexOf(D)>-1,index:D}}),f,d,h)).row,s=o.filterData,v=o.filterText,g=o.type,N=o.isCheckedInCheckList,O.Pst({},u,a,r,n,l,!0,s,v,g,N)},y=0;y<N;y++)L(y)},n.prototype.zTi=function(t,n,i,e,o,u,l,f,d,h,v,g,M,I){var N,D,b,m,C,w,y,x,A,j,T,z,p=this.vMi,L=this,S={},O=L.filterButtonInfo.rowFilter,k=O.Mct,E=O.isFiltered(o)&&(0,r.isSpecificCondition)(O.rrt[o][0],L),Z=0===k.length||O.isFiltered(o)&&1===k.length;for(Z?(y=(m=p.getDataView()).lFt)&&y.length>0&&(b=y.reduce((function(t,n){return t[n]=!0,t}),{})):(m=p.getDataView(),N=m.Jce||{},C=m.kve(o),w=C.isGroup&&a(C._Ft)?m.ife(C._Ft):m.ife(C),D=s(N).filter((function(t){return t!==w}))),x=function(n){var i,e;if(c(b))return!0;for(i=t[n],e=0;e<i.length;e++)if(!b[i[e]])return!0;return!1},A=function(n){var i,e,o=t[n];for(i=0;i<o.length;i++){for(e=0;e<D.length&&N[D[e]][o[i]];e++);if(e===D.length)return!0}return!1},j=function(t,n){return!!t||(Z?x(n):A(n))},T=function(i){var e=n[i],r=e,u=L.LTi(r,S,o,(function(){return L.xTi(t[e],L.wTi)}),g,M,I),c=u.row,a=u.filterData,s=u.filterText,l=u.type,N=u.isCheckedInCheckList;L.Pst(f,d,h,c,o,v,!0,a,s,l,!E&&N,j(N,e))},z=i;z<=e;z++)T(z)},n.prototype.LTi=function(t,n,i,e,o,u,a){var s,h,v,M,I,N,D,b,m,C,w,y,x=this.vMi,A=this,j=x.Mf,T="string";return t!==l&&t!==f||(t=d,T="blank"),t&&"string"!==a&&("number"!==a&&"boolean"!==a||(isNaN(parseFloat(t))||(t=parseFloat(t)),T="number"),"object"!==a&&"date"!==a||t.match(g)&&!isNaN(Date.parse(t))&&(t=new Date(t),A.Jut=!0,T="date"),"string"===T&&(this.cze=!0)),s=t,v=(h=e()).row,M=h.isCheckedInCheckList,I=h.index,N=!1,("string"!=typeof t||u)&&c(v)&&"string"==typeof u&&x.Mf.parent&&(D=void 0,m=!(b=(0,r.isFormulaFormatter)(u))&&(0,r.hasATWithoutBrackets)(u),(b||m)&&(C=x.Mf.parent.xO(u))&&(N=!0,D=C.getExpression()),N&&(b?s=x.getDataView().sPt(D,I):m&&(s=x.getDataView().jfe(D,I,(0,r.getColumnName)(x,i))),c(s)||"object"!=typeof s||(s=c(s._error)?s.toString():s._error))),N||void 0!==(w=o.format(t,u,n,{sheet:j,row:v,col:i,sheetArea:3,quotePrefix:null}))&&s!==w&&(s=w),"boolean"===a&&("TRUE"===(y=String(t).toUpperCase())&&(t=!0,s="TRUE"),"FALSE"===y&&(t=!1,s="FALSE")),s&&"string"==typeof s&&(s=s.replace(/\r\n?/g,"\n")),{row:v,filterData:t,filterText:s,type:T,isCheckedInCheckList:M}},n.prototype.yTi=function(t){var n,i=[];for(n=0;n<t.length;n++)i[t[n]]=n;return i},n.prototype.xTi=function(t,n){var i,e,o;for(o=0;o<t.length;o++)if((e=n[i=t[o]])!==h)return{row:e,isCheckedInCheckList:!0};return{row:n[i=t[0]],isCheckedInCheckList:!1,index:i}},n.prototype.qut=function(){var t,n,i,e,o,r,u,c,a,s,l=this.vMi,f=this,d=f.ast.outlineColumn.getCheckStatus(),v=0,g=f._at||f.Dat,M=f.Eat,I=0;if(f.Bat=1===d[0],"add_current"===f.dataSource[0].key&&(v=1),f.Dat=[],n=l.qNi(),i="add_current"===f.dataSource[0].key,n&&i&&f.Bat)for(f.Bat=!1,e=0;e<M.length;e++)1===(o=M[e]).status&&f.Dat.push({text:o.key,value:o.value,type:o.type});for(e=0;e<M.length&&(t=M[e],i||(t.checkedStatus=d[e]),!(I>=g.length));e++)if(t.key===g[I].text){for(I++,r=t.children,u=h,c=0;c<r.length;c++)a=r[c],s=d[v],!1!==a.show&&(v+=1),u=s||u,3!==s&&(a.status=s);2!==u?(f.Dat.push({text:t.key,value:t.value,type:t.type}),n&&(i?1!==u&&f.Dat.pop():f.Dat[f.Dat.length-1].eAi=r[0].level)):f.lst(e,t)}},n.prototype.asyncCreateFilterData=function(t,n,i,e,o,r,u,c,a,s,l,f,d,h){var v,g,M,I=this,N=this,D=this.vMi,b=D.Mf;if(b.Cut){for(v=new Date,g=new Date;i.length>0&&g-v<=500;)M=i.shift(),N.zTi(t,n,M.startIndex,M.endIndex,e,o,r,u,c,a,s,l,f,d),N.Vut(M.endIndex/h),g=new Date;i.length>0?setTimeout((function(){I.asyncCreateFilterData(t,n,N.CTi,e,o,r,u,c,a,s,l,f,d,h)}),0):(N.Lst(o,r,!1,a,s,c,e),N.sut(),N.Yut(!1))}},n}(e.iut),n.TableSheetFilterDialog=M},9266:function(t,n,i){var e,o,r,u,c,a,s;Object.defineProperty(n,"__esModule",{value:!0}),n.rZe=void 0,e=i(1376),o=i(6114),r=i(1859),u=null,c=e.mt,a=c.En,s=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t;return this.eZe()},t.prototype.eZe=function(){var t,n,i=this,u=(0,e.GC$)(a("div"));return u.addClass("gc-defined-column-number-formatting-preview-container"),(t=i.HUe=new r.dZe({text:(0,o.getSR)().columnTypeNumberFormattingSample})).create().appendTo(u),(n=i.uZe=(0,e.GC$)(a("div"))).appendTo(u),n.addClass("gc-defined-column-number-formatting-preview-text"),u},t.prototype.setText=function(t){var n;this.uZe.text(t)},t.prototype.dispose=function(){var t=this;t.uZe=u,t.HUe.dispose(),t.HUe=u},t}(),n.rZe=s},9571:function(t,n,i){var e,o,r,u,c,a,s,l,f,d,h=this&&this.mJr||function(){return h=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},h.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.sto=n.CheckBoxTextAlign=void 0,e=i(1376),o=i(6114),r=i(7553),u=i(4900),c=i(6406),a=i(591),s=e.mt,l=s.En,function(t){t[t.top=0]="top",t[t.bottom=1]="bottom",t[t.left=2]="left",t[t.right=3]="right"}(f=n.CheckBoxTextAlign||(n.CheckBoxTextAlign={})),d=function(){function t(t){var n;this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Qze=(0,e.GC$)(l("div"));return n.addClass("gc-defined-column-checkbox-text-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.Qze,i=t.LEt;return t._isThreeState=new r.Rze({label:{text:(0,o.getSR)().columnTypeCheckboxIsThreeState},onChange:function(n){var i,e,o,r;n?(null===(i=t.lto)||void 0===i?void 0:i.isVisible())||null===(e=t.lto)||void 0===e||e.resetVisible():(null===(o=t.lto)||void 0===o?void 0:o.isVisible())&&(null===(r=t.lto)||void 0===r||r.resetVisible()),t.fto()}}),t._isThreeState.create().appendTo(n),t._isThreeState.setValue(i.isThreeState),t.dto=new c.mZe({inputId:"checkboxTrue",label:{text:(0,o.getSR)().columnTypeCheckboxTrue},placeholder:"",onChange:function(n){t.fto()}}),t.dto.create().appendTo(n),t.dto.setValue(i.checkboxTrue),t.lto=new c.mZe({inputId:"checkboxIndeterminate",label:{text:(0,o.getSR)().columnTypeCheckboxIndeterminate},placeholder:"",hide:!i.isThreeState,onChange:function(n){t.fto()}}),t.lto.create().appendTo(n),t.lto.setValue(i.checkboxIndeterminate),t.hto=new c.mZe({inputId:"checkboxFalse",label:{text:(0,o.getSR)().columnTypeCheckboxFalse},placeholder:"",onChange:function(n){t.fto()}}),t.hto.create().appendTo(n),t.hto.setValue(i.checkboxFalse),t.gto=new u.Kze({inputId:"checkboxAlign",items:[{text:(0,o.getSR)().columnTypeCheckboxTextAlign.top,value:f.top},{text:(0,o.getSR)().columnTypeCheckboxTextAlign.bottom,value:f.bottom},{text:(0,o.getSR)().columnTypeCheckboxTextAlign.left,value:f.left},{text:(0,o.getSR)().columnTypeCheckboxTextAlign.right,value:f.right}],label:{text:(0,o.getSR)().columnTypeCheckboxAlign},onChange:function(){t.fto()}}),t.gto.create().appendTo(n),t.gto.setValue(i.checkboxAlign||f.right),n},t.prototype.fto=function(){var t,n,i,e,o,r=this;this.LEt.onChange({isThreeState:null===(t=r._isThreeState)||void 0===t?void 0:t.value,checkboxTrue:null===(n=r.dto)||void 0===n?void 0:n.value,checkboxIndeterminate:null===(i=r.lto)||void 0===i?void 0:i.value,checkboxFalse:null===(e=r.hto)||void 0===e?void 0:e.value,checkboxAlign:null===(o=r.gto)||void 0===o?void 0:o.value})},t.prototype.setOptions=function(t){var n=this;n.LEt=h(h({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Qze.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Qze=a.keyword_null},t.prototype.L0=function(){var t=this;t._isThreeState&&t._isThreeState.dispose(),t._isThreeState=a.keyword_null,t.dto&&t.dto.dispose(),t.dto=a.keyword_null,t.lto&&t.lto.dispose(),t.lto=a.keyword_null,t.hto&&t.hto.dispose(),t.hto=a.keyword_null,t.gto&&t.gto.dispose(),t.gto=a.keyword_null},t}(),n.sto=d},9756:function(t,n,i){var e,o,r,u;Object.defineProperty(n,"__esModule",{value:!0}),n.YUe=void 0,o=(e=i(1376)).mt,r=o.En,u=function(){function t(t){var n;this.itemContainers=[],this.LEt=t}return t.prototype.create=function(){var t=this,n=(0,e.GC$)(r("div"));return n.addClass("gc-defined-column-tab-list-container"),t.GUe().appendTo(n),t.eQe().appendTo(n),t.oQe().appendTo(n),n},t.prototype.GUe=function(){var t,n,i=this,o=i.LEt.items,u=(0,e.GC$)(r("div"));for(u.addClass("gc-defined-column-tab-list-items-container"),u.attr("role","tablist"),t=function(t){var n=o[t],c=(0,e.GC$)(r("div"));i.itemContainers.push([c]),c.addClass("gc-defined-column-tab-item-container"),c.attr("role","tab"),c.attr("tabindex",0),c.attr("id","gc-defined-column-tab-"+n.typeId),c.attr("aria-selected","false"),c.attr("aria-controls","gc-defined-column-tab-panel-"+n.typeId),c.text(n.title),0===t&&(c.attr("aria-selected","true"),c.addClass("gc-defined-column-tab-item-container-selected")),c.bind("click",(function(e){var o,r,u,a,s,l;if(!1!==i.itemContainers[t][2]){for(o=0,r=i.itemContainers;o<r.length;o++)a=(u=r[o])[0],s=u[1],a.attr("aria-selected","false"),a.removeClass("gc-defined-column-tab-item-container-selected"),s.removeClass("gc-defined-column-tab-panel-container-selected");c.attr("aria-selected","true"),c.addClass("gc-defined-column-tab-item-container-selected"),(l=i.itemContainers[t][1]).addClass("gc-defined-column-tab-panel-container-selected"),n.onSelect&&n.onSelect(n,e)}})),c.appendTo(u)},n=0;n<o.length;n++)t(n);return u},t.prototype.oQe=function(){var t,n,i,o=this,u=o.LEt.items,c=(0,e.GC$)(r("div"));for(c.addClass("gc-defined-column-tab-panels-container"),t=0;t<u.length;t++)n=u[t],i=(0,e.GC$)(r("div")),o.itemContainers[t][1]=i,i.addClass("gc-defined-column-tab-panel-container"),i.attr("role","tabpanel"),i.attr("id","gc-defined-column-tab-panel-"+n.typeId),i.attr("aria-labelledby","gc-defined-column-tab-"+n.typeId),0===t&&i.addClass("gc-defined-column-tab-panel-container-selected"),n.onInitPanel&&n.onInitPanel(i),i.appendTo(c);return c},t.prototype.eQe=function(){var t=(0,e.GC$)(r("div"));return t.addClass("gc-defined-column-tab-list-break-line"),t},t.prototype.isDisable=function(t){return!1===this.itemContainers[t][2]},t.prototype.resetDisable=function(t){var n=this,i=n.isDisable(t),e=n.itemContainers[t][0];n.itemContainers[t][2]=i,i?e.removeClass("gc-defined-column-disabled"):e.addClass("gc-defined-column-disabled"),e.attr("aria-disabled",i?"false":"true")},t.prototype.d5=function(){var t,n=this;for(t=0;t<n.LEt.items.length;t++)n.itemContainers[t]&&n.itemContainers[t][0].unbind("click");n.itemContainers=[]},t.prototype.dispose=function(){var t;this.d5()},t}(),n.YUe=u},9807:function(t,n,i){var e,o,r,u,c,a,s,l=this&&this.mJr||function(){return l=Object.assign||function(t){var n,i,e,o;for(i=1,e=arguments.length;i<e;i++)for(o in n=arguments[i])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},l.apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0}),n.wto=void 0,e=i(1376),o=i(6114),r=i(7324),u=i(591),c=e.mt,a=c.En,s=function(){function t(t){var n;this.Cto=[],this.LEt=t}return t.prototype.create=function(){var t=this,n=t.Tto=(0,e.GC$)(a("div"));return n.addClass("gc-defined-column-combo-box-container"),t.ZX()},t.prototype.ZX=function(){var t=this,n=t.Tto,i=t.LEt;return this.Cto=i.items||[],t.Ato=new r.Jze({label:{text:(0,o.getSR)().columnTypeComboBoxItems},showValue:!0,editable:!0,addAndRemoveButton:!0,items:this.Cto,onChange:function(){t.yto()}}),t.Ato.create().appendTo(n),t.yto(),n},t.prototype.yto=function(){var t=this;this.LEt.onChange({items:t.Cto})},t.prototype.setOptions=function(t){var n=this;n.LEt=l(l({},n.LEt),t),n.clear(),n.ZX()},t.prototype.clear=function(){var t=this;t.L0(),t.Tto.empty()},t.prototype.dispose=function(){var t=this;t.clear(),t.Tto=u.keyword_null},t.prototype.L0=function(){var t=this;t.Ato&&t.Ato.dispose(),t.Ato=u.keyword_null},t}(),n.wto=s},9846:function(t,n,i){var e,o,r,u=this&&this.yJr||function(t,n,i){if(i||2===arguments.length)for(var e=0,o=n.length,r;e<o;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))};function c(t){return{barcodeType:r.QRCODE,value:a(t),backgroundColor:"#FFFFFF",color:"#000000",data_CODABAR:n.BarCode_DefaultValue_CODABAR,data_CODE39:n.BarCode_DefaultValue_CODE39,data_CODE49:n.BarCode_DefaultValue_CODE49,data_CODE93:n.BarCode_DefaultValue_CODE93,data_CODE128:n.BarCode_DefaultValue_CODE128,data_DATAMATRIX:n.BarCode_DefaultValue_DATAMATRIX,data_EAN8:n.BarCode_DefaultValue_EAN8,data_EAN13:n.BarCode_DefaultValue_EAN13,data_GS1_128:n.BarCode_DefaultValue_GS1_128,data_QRCODE:n.BarCode_DefaultValue_QRCODE,data_PDF417:n.BarCode_DefaultValue_PDF417}}function a(t){return t?t.indexOf(" ")>-1?"[@["+t+"]]":"[@"+t+"]":o.keyword_null}function s(t,n){var i,e,o=null===(i=t.NMi)||void 0===i?void 0:i.getDataView();if(o)try{return o.Ywt(n)}catch(t){}try{return(e=t.getCalcService()).parse(null,n,0,0)}catch(t){}}function l(t,n){var i,o,r=t.parent;try{if((i=s(t,n))&&i.type===e.ExpressionType.function&&(o=i.functionName)&&r.getSparklineEx(o))return i}catch(t){}return null}function f(t,i){var o,u,c,a,s,f,d,h,v,g,M,I,N,D,b,m,C=l(t,i);if(C&&C.arguments&&(o={barcodeType:r.QRCODE,value:"",backgroundColor:"#FFFFFF",color:"#000000",data_CODABAR:n.BarCode_DefaultValue_CODABAR,data_CODE39:n.BarCode_DefaultValue_CODE39,data_CODE49:n.BarCode_DefaultValue_CODE49,data_CODE93:n.BarCode_DefaultValue_CODE93,data_CODE128:n.BarCode_DefaultValue_CODE128,data_DATAMATRIX:n.BarCode_DefaultValue_DATAMATRIX,data_EAN8:n.BarCode_DefaultValue_EAN8,data_EAN13:n.BarCode_DefaultValue_EAN13,data_GS1_128:n.BarCode_DefaultValue_GS1_128,data_QRCODE:n.BarCode_DefaultValue_QRCODE,data_PDF417:n.BarCode_DefaultValue_PDF417},!((c=(u=C.arguments).length)<=0))){for(a=0;a<c;a++)u[a].type===e.ExpressionType.reference&&(s="",u[a]={value:"="+s,type:"referenceValue"});for(f=C.functionName.substr(3),o.barcodeType=r[f],o.value=u[0]&&u[0].value?u[0].value:"",o.color=u[1]&&u[1].value?u[1].value:o.color,o.backgroundColor=u[2]&&u[2].value?u[2].value:o.backgroundColor,o.quietZoneLeft=u[c-4]&&u[c-4].value?u[c-4].value:"",o.quietZoneRight=u[c-4]&&u[c-3].value?u[c-3].value:"",o.quietZoneTop=u[c-4]&&u[c-2].value?u[c-2].value:"",o.quietZoneBottom=u[c-4]&&u[c-1].value?u[c-1].value:"",d={},h=3,v=n.DefaultBarCodeTypeData[o.barcodeType],g=0,M=Object.keys(v);g<M.length;g++)I=M[g],D=void 0,D=(N=u[h])&&N.type!==e.ExpressionType.missingArgument?N.value:v[I],d[I]=D,h++;switch(o.barcodeType){case r.QRCODE:(b=d).version=""+b.version,b.mask=""+b.mask,o.data_QRCODE=b;break;case r.EAN13:o.data_EAN13=d;break;case r.EAN8:o.data_EAN8=d;break;case r.CODE39:o.data_CODE39=d;break;case r.CODE49:o.data_CODE49=d;break;case r.CODE93:o.data_CODE93=d;break;case r.CODE128:o.data_CODE128=d;break;case r.PDF417:(m=d).errorCorrectionLevel=""+m.errorCorrectionLevel,m.rows=""+m.rows,m.columns=""+m.columns,o.data_PDF417=m;break;case r.DATAMATRIX:o.data_DATAMATRIX=d;break;case r.GS1_128:o.data_GS1_128=d}return o}}function d(t,n){var i,e,o,u,c,a,s,l,f="",d=[],h=n.value||"";try{v(h)?(i=[]).length>0&&d.push(h.substr(1)):d.push(h)}catch(t){d.push('"'+h+'"')}switch(d.push('"'+n.color+'"'),d.push('"'+n.backgroundColor+'"'),e={},n.barcodeType){case r.QRCODE:e=n.data_QRCODE;break;case r.EAN13:e=n.data_EAN13;break;case r.EAN8:e=n.data_EAN8;break;case r.CODE39:e=n.data_CODE39;break;case r.CODE49:e=n.data_CODE49;break;case r.CODE93:e=n.data_CODE93;break;case r.CODE128:e=n.data_CODE128;break;case r.PDF417:e=n.data_PDF417;break;case r.DATAMATRIX:e=n.data_DATAMATRIX;break;case r.GS1_128:e=n.data_GS1_128;break;case r.CODABAR:e=n.data_CODABAR}for(o=!1===e.showLabel,u=0,c=Object.keys(e);u<c.length;u++)a=c[u],!o||"labelPosition"!==a&&"font"!==a.substr(0,4)?(s=String(e[a]),void 0===e[a]&&(s=""),/^[0-9]+.?[0-9]*$/.test(s)||null===s||""===s||"true"===s||"false"===s||-1!==s.indexOf("{")||(s='"'+s+'"'),d.push(s)):d.push("");return d.push(n.quietZoneLeft),d.push(n.quietZoneRight),d.push(n.quietZoneTop),d.push(n.quietZoneBottom),l=d.join(","),f+="=BC_"+n.barcodeType.toUpperCase(),f+="(",f+=l,f+=")"}function h(t,n,i){var e={text:"auto",value:"auto"},o={text:"0",value:"0"},r=Array.from({length:t},(function(t,n){return{text:(n+1).toString(),value:(n+1).toString()}})),c=u([],r,!0);return i&&c.unshift(o),n&&c.unshift(e),c}function v(t){return!(!t||"string"!=typeof t)&&"="===t.toString().charAt(0)}Object.defineProperty(n,"__esModule",{value:!0}),n.getItems=n.createBarcodeFormula=n.parseBarCodeOptions=n.getFieldRef=n.getDefaultBarcodeOptions=n.DefaultBarCodeTypeData=n.BarCode_DefaultValue_CODE128=n.BarCode_DefaultValue_CODE93=n.BarCode_DefaultValue_CODE39=n.BarCode_DefaultValue_CODABAR=n.BarCode_DefaultValue_CODE49=n.BarCode_DefaultValue_QRCODE=n.BarCode_DefaultValue_PDF417=n.BarCode_DefaultValue_GS1_128=n.BarCode_DefaultValue_EAN13=n.BarCode_DefaultValue_EAN8=n.BarCode_DefaultValue_DATAMATRIX=n.SANS_SERIF_FONT=n.BarCodeType=void 0,e=i(5035),o=i(591),function(t){t.QRCODE="QRCODE",t.EAN13="EAN13",t.EAN8="EAN8",t.CODABAR="CODABAR",t.CODE39="CODE39",t.CODE93="CODE93",t.CODE128="CODE128",t.GS1_128="GS1_128",t.CODE49="CODE49",t.PDF417="PDF417",t.DATAMATRIX="DATAMATRIX"}(r=n.BarCodeType||(n.BarCodeType={})),n.SANS_SERIF_FONT="sans-serif",n.BarCode_DefaultValue_DATAMATRIX={eccMode:"ECC000",ecc200SymbolSize:"",ecc200EncodingMode:"",ecc00_140Symbol:"",structureAppend:!1,structureNumber:0,fileIdentifier:0},n.BarCode_DefaultValue_EAN8={showLabel:!1,labelPosition:"top",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_EAN13={showLabel:!1,labelPosition:"top",addOn:"",addOnLabelPosition:"top",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_GS1_128={showLabel:!1,labelPosition:"top",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_PDF417={errorCorrectionLevel:"auto",rows:"auto",columns:"auto",compact:!1},n.BarCode_DefaultValue_QRCODE={errorCorrectionLevel:"L",model:2,version:"auto",mask:"auto",connection:!1,connectionNo:0,charCode:"",charset:"UTF-8"},n.BarCode_DefaultValue_CODE49={showLabel:!1,labelPosition:"top",grouping:!1,groupNo:"",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODABAR={showLabel:!1,labelPosition:"bottom",checkDigit:!1,nwRatio:3,fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODE39={showLabel:!1,labelPosition:"top",labelWithStartAndStopCharacter:!1,checkDigit:!1,nwRatio:3,fullASCII:!1,fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODE93={showLabel:!1,labelPosition:"top",checkDigit:!1,fullASCII:!1,fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.BarCode_DefaultValue_CODE128={showLabel:!1,labelPosition:"top",codeSet:"auto",fontFamily:n.SANS_SERIF_FONT,fontStyle:"normal",fontWeight:"normal",fontTextDecoration:"none",fontTextAlign:"center",fontSize:12},n.DefaultBarCodeTypeData={QRCODE:n.BarCode_DefaultValue_QRCODE,EAN13:n.BarCode_DefaultValue_EAN13,EAN8:n.BarCode_DefaultValue_EAN8,CODABAR:n.BarCode_DefaultValue_CODABAR,CODE39:n.BarCode_DefaultValue_CODE39,CODE93:n.BarCode_DefaultValue_CODE93,CODE128:n.BarCode_DefaultValue_CODE128,GS1_128:n.BarCode_DefaultValue_GS1_128,CODE49:n.BarCode_DefaultValue_CODE49,PDF417:n.BarCode_DefaultValue_PDF417,DATAMATRIX:n.BarCode_DefaultValue_DATAMATRIX},n.getDefaultBarcodeOptions=c,n.getFieldRef=a,n.parseBarCodeOptions=f,n.createBarcodeFormula=d,n.getItems=h}},e={};function o(t){var n,r=e[t];return void 0!==r?r.exports:(n=e[t]={exports:{}},i[t].call(n.exports,n,n.exports,o),n.exports)}n=o(808),(((t=void 0===t?{}:t).Spread=t.Spread||{}).Sheets=t.Spread.Sheets||{}).TableSheet=n}(),t.Spread.Common.CultureManager.reloadResources&&t.Spread.Common.CultureManager.reloadResources("TableSheet")}));