You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tanghe-report/report-ui/static/luckysheet/luckysheet.umd.js

4125 lines
3.1 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*! @preserve
* luckysheet
* version: 2.1.13
* https://github.com/mengshukeji/Luckysheet
*/
var luckysheet=(()=>{var Wm=Object.create,ei=Object.defineProperty,Ym=Object.defineProperties,Xm=Object.getOwnPropertyDescriptor,Km=Object.getOwnPropertyDescriptors,Zm=Object.getOwnPropertyNames,Yc=Object.getOwnPropertySymbols,Jm=Object.getPrototypeOf,Xc=Object.prototype.hasOwnProperty,Qm=Object.prototype.propertyIsEnumerable;var Kc=(e,a,t)=>a in e?ei(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,Ve=(e,a)=>{for(var t in a||(a={}))Xc.call(a,t)&&Kc(e,t,a[t]);if(Yc)for(var t of Yc(a))Qm.call(a,t)&&Kc(e,t,a[t]);return e},ti=(e,a)=>Ym(e,Km(a)),ep=e=>ei(e,"__esModule",{value:!0});var Ae=(e,a)=>()=>(e&&(a=e(e=0)),a),kr=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports),tp=(e,a)=>{for(var t in a)ei(e,t,{get:a[t],enumerable:!0})},rp=(e,a,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of Zm(a))!Xc.call(e,l)&&l!=="default"&&ei(e,l,{get:()=>a[l],enumerable:!(t=Xm(a,l))||t.enumerable});return e},Er=e=>rp(ep(ei(e!=null?Wm(Jm(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var lp,fe,xr=Ae(()=>{lp={autoFormatw:!1,accuracy:void 0,total:0,allowCopy:!0,showtoolbar:!0,showinfobar:!0,showsheetbar:!0,showstatisticBar:!0,pointEdit:!1,pointEditUpdate:null,pointEditZoom:1,userInfo:!1,userMenuItem:[],myFolderUrl:null,functionButton:null,showConfigWindowResize:!0,enableAddRow:!0,enableAddBackTop:!0,enablePage:!0,pageInfo:null,editMode:!1,beforeCreateDom:null,workbookCreateBefore:null,workbookCreateAfter:null,remoteFunction:null,fireMousedown:null,plugins:[],forceCalculation:!1,defaultColWidth:73,defaultRowHeight:19,defaultTextColor:"#000",defaultCellColor:"#fff"},fe=lp});var ap,h,Ke=Ae(()=>{ap={container:null,loadingObj:{},luckysheetfile:null,defaultcolumnNum:60,defaultrowNum:84,fullscreenmode:!0,devicePixelRatio:1,currentSheetIndex:0,calculateSheetIndex:0,flowdata:[],config:{},visibledatarow:[],visibledatacolumn:[],ch_width:0,rh_height:0,cellmainWidth:0,cellmainHeight:0,toolbarHeight:0,infobarHeight:0,calculatebarHeight:0,rowHeaderWidth:46,columnHeaderHeight:20,cellMainSrollBarSize:12,sheetBarHeight:31,statisticBarHeight:23,luckysheetTableContentHW:[0,0],defaultcollen:73,defaultrowlen:19,jfcountfuncTimeout:null,jfautoscrollTimeout:null,luckysheet_select_status:!1,luckysheet_select_save:[{row:[0,0],column:[0,0]}],luckysheet_selection_range:[],luckysheet_copy_save:{},luckysheet_paste_iscut:!1,filterchage:!0,luckysheet_filter_save:{row:[],column:[]},luckysheet_sheet_move_status:!1,luckysheet_sheet_move_data:[],luckysheet_scroll_status:!1,luckysheetisrefreshdetail:!0,luckysheetisrefreshtheme:!0,luckysheetcurrentisPivotTable:!1,luckysheet_rows_selected_status:!1,luckysheet_cols_selected_status:!1,luckysheet_rows_change_size:!1,luckysheet_rows_change_size_start:[],luckysheet_cols_change_size:!1,luckysheet_cols_change_size_start:[],luckysheet_cols_dbclick_timeout:null,luckysheet_cols_dbclick_times:0,luckysheetCellUpdate:[],luckysheet_shiftpositon:null,iscopyself:!0,orderbyindex:0,luckysheet_model_move_state:!1,luckysheet_model_xy:[0,0],luckysheet_model_move_obj:null,luckysheet_cell_selected_move:!1,luckysheet_cell_selected_move_index:[],luckysheet_cell_selected_extend:!1,luckysheet_cell_selected_extend_index:[],luckysheet_cell_selected_extend_time:null,clearjfundo:!0,jfundo:[],jfredo:[],lang:"en",createChart:"",highlightChart:"",zIndex:15,chartparam:{luckysheetCurrentChart:null,luckysheetCurrentChartActive:!1,luckysheetCurrentChartMove:null,luckysheetCurrentChartMoveTimeout:null,luckysheetCurrentChartMoveObj:null,luckysheetCurrentChartMoveXy:null,luckysheetCurrentChartMoveWinH:null,luckysheetCurrentChartMoveWinW:null,luckysheetCurrentChartResize:null,luckysheetCurrentChartResizeObj:null,luckysheetCurrentChartResizeXy:null,luckysheetCurrentChartResizeWinH:null,luckysheetCurrentChartResizeWinW:null,luckysheetInsertChartTosheetChange:!0,luckysheetCurrentChartZIndexRank:100,luckysheet_chart_redo_click:!1,luckysheetCurrentChartMaxState:!1,jfrefreshchartall:"",changeChartCellData:"",renderChart:"",getChartJson:""},functionList:null,luckysheet_function:null,chart_selection:{},currentChart:"",scrollRefreshSwitch:!0,measureTextCache:{},measureTextCellInfoCache:{},measureTextCacheTimeOut:null,cellOverflowMapCache:{},zoomRatio:1,visibledatacolumn_unique:null,visibledatarow_unique:null,showGridLines:!0,toobarObject:{},inlineStringEditCache:null,inlineStringEditRange:null,fontList:[],defaultFontSize:10,currentSheetView:"viewNormal",cooperativeEdit:{usernameTimeout:{},changeCollaborationSize:[],allDataColumnlen:[],merge_range:{},checkoutData:[]},asyncLoad:["core"],defaultCell:{bg:null,bl:0,ct:{fa:"General",t:"n"},fc:"rgb(51, 51, 51)",ff:0,fs:11,ht:1,it:0,vt:1,m:"",v:""}},h=ap});function de(e){return e==null||e.toString().replace(/\s/g,"")==""}function L(e){return!(e==null||e.toString().replace(/\s/g,"")===""||typeof e=="boolean"||isNaN(e))}function B(e){let a=!1;for(let t in qe)if(e==qe[t]){a=!0;break}return a}function xa(e){return!!/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi.exec(e)}function he(){return!!fe.editMode}function Nt(e,a,t,l,n){let o=!1;for(let s in h.config.merge){let u=e.merge[s];if(a<u.r){if(t>=u.r&&t<u.r+u.rs-1){if(l>=u.c&&l<=u.c+u.cs-1){o=!0;break}else if(n>=u.c&&n<=u.c+u.cs-1){o=!0;break}else if(l<u.c&&n>u.c+u.cs-1){o=!0;break}}else if(t>=u.r&&t==u.r+u.rs-1){if(l>u.c&&l<u.c+u.cs-1){o=!0;break}else if(n>u.c&&n<u.c+u.cs-1){o=!0;break}else if(l==u.c&&n<u.c+u.cs-1){o=!0;break}else if(l>u.c&&n==u.c+u.cs-1){o=!0;break}}else if(t>u.r+u.rs-1){if(l>u.c&&l<=u.c+u.cs-1){o=!0;break}else if(n>=u.c&&n<u.c+u.cs-1){o=!0;break}else if(l==u.c&&n<u.c+u.cs-1){o=!0;break}else if(l>u.c&&n==u.c+u.cs-1){o=!0;break}}}else if(a==u.r){if(t<u.r+u.rs-1){if(l>=u.c&&l<=u.c+u.cs-1){o=!0;break}else if(n>=u.c&&n<=u.c+u.cs-1){o=!0;break}else if(l<u.c&&n>u.c+u.cs-1){o=!0;break}}else if(t>=u.r+u.rs-1){if(l>u.c&&l<=u.c+u.cs-1){o=!0;break}else if(n>=u.c&&n<u.c+u.cs-1){o=!0;break}else if(l==u.c&&n<u.c+u.cs-1){o=!0;break}else if(l>u.c&&n==u.c+u.cs-1){o=!0;break}}}else if(a<=u.r+u.rs-1){if(l>=u.c&&l<=u.c+u.cs-1){o=!0;break}else if(n>=u.c&&n<=u.c+u.cs-1){o=!0;break}else if(l<u.c&&n>u.c+u.cs-1){o=!0;break}}}return o}function Go(e){return Math.ceil(e.charCodeAt().toString(2).length/8)}var qe,At=Ae(()=>{xr();Ke();qe={v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"}});function np(e){return Math.floor(e)===e}function Zc(e){var a={times:1,num:0};if(np(e))return a.num=e,a;var t=e+"",l=t.indexOf("."),n=t.substr(l+1).length,o=Math.pow(10,n),s=parseInt(e*o+.5,10);return a.times=o,a.num=s,a}function ri(e,a,t){var l=Zc(e),n=Zc(a),o=l.num,s=n.num,u=l.times,d=n.times,f=u>d?u:d,m=null;switch(t){case"add":return u===d?m=o+s:u>d?m=o+s*(u/d):m=o*(d/u)+s,m/f;case"subtract":return u===d?m=o-s:u>d?m=o-s*(u/d):m=o*(d/u)-s,m/f;case"multiply":return m=o*s/(u*d),m;case"divide":return m=function(){var g=o/s,y=d/u;return ri(g,y,"multiply")}()}}function ip(e,a){if(a||(a=2),!L(e))return e;let t=e.toFixed(a),l=t.indexOf("."),n=t.substring(0,l),o=t.substring(l+1,t.length);if(o)for(let s=o.length-1;s!=0&&!(o.charAt(s)!="0"&&s==o.length-1);s--)o=o.substring(0,s);return Number(n+"."+o)}var Jc=Ae(()=>{At();Number.prototype.add=function(e){let a=parseFloat(e);if(typeof a!="number"||Number.isNaN(a))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ri(this,a,"add")};Number.prototype.subtract=function(e){let a=parseFloat(e);if(typeof a!="number"||Number.isNaN(a))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ri(this,a,"subtract")};Number.prototype.multiply=function(e){let a=parseFloat(e);if(typeof a!="number"||Number.isNaN(a))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ri(this,a,"multiply")};Number.prototype.divide=function(e){let a=parseFloat(e);if(typeof a!="number"||Number.isNaN(a))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ri(this,a,"divide")};Number.prototype.tofixed=function(e){let a=parseFloat(e);if(typeof a!="number"||Number.isNaN(a))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ip(this,a)}});var Qc,eu=Ae(()=>{Qc={container:"luckysheet",loading:{},column:60,row:84,allowCopy:!0,showtoolbar:!0,showinfobar:!0,showsheetbar:!0,showstatisticBar:!0,pointEdit:!1,pointEditUpdate:null,pointEditZoom:1,data:[{name:"Sheet1",color:"",status:"1",order:"0",data:[],config:{},index:0},{name:"Sheet2",color:"",status:"0",order:"1",data:[],config:{},index:1},{name:"Sheet3",color:"",status:"0",order:"2",data:[],config:{},index:2}],title:"Luckysheet Demo",userInfo:!1,userMenuItem:[{url:"www.baidu.com",icon:'<i class="fa fa-folder" aria-hidden="true"></i>',name:"\u6211\u7684\u8868\u683C"},{url:"www.baidu.com",icon:'<i class="fa fa-sign-out" aria-hidden="true"></i>',name:"\u9000\u51FA\u767B\u9646"}],myFolderUrl:"www.baidu.com",config:{},fullscreenmode:!0,devicePixelRatio:window.devicePixelRatio,allowEdit:!0,loadUrl:"",loadSheetUrl:"",gridKey:"",updateUrl:"",updateImageUrl:"",allowUpdate:!1,functionButton:"",showConfigWindowResize:!0,enableAddRow:!0,enableAddBackTop:!0,autoFormatw:!1,accuracy:void 0,pageInfo:{queryExps:"",reportId:"",fields:"",mobile:"",frezon:"",currentPage:"",totalPage:10,pageUrl:""},editMode:!1,beforeCreateDom:null,fireMousedown:null,lang:"en",plugins:["chart"],forceCalculation:!1,rowHeaderWidth:46,columnHeaderHeight:20,defaultColWidth:73,defaultRowHeight:19,defaultFontSize:10,limitSheetNameLength:!0,defaultSheetNameMaxLength:31,sheetFormulaBar:!0,showtoolbarConfig:{},showsheetbarConfig:{},showstatisticBarConfig:{},cellRightClickConfig:{},sheetRightClickConfig:{},imageUpdateMethodConfig:{}}});var tu,ru=Ae(()=>{tu={functionlist:[{n:"SUMIF",t:0,d:"Returns a conditional sum across a range.",a:"A conditional sum across a range.",m:[2,3],p:[{name:"range",detail:"The range which is tested against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion",detail:"The pattern or test to apply to `range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"sum_range",detail:"The range to be summed, if different from `range`.",example:"B1:B10",require:"o",repeat:"n",type:"range"}]},{n:"TAN",t:0,d:"Returns the tangent of an angle provided in radians.",a:"Tangent of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the tangent of, in radians.",example:"45*PI()/180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TANH",t:0,d:"Returns the hyperbolic tangent of any real number.",a:"Hyperbolic tangent of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic tangent of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CEILING",t:0,d:"Rounds a number up to the nearest integer multiple of specified significance `factor`.",a:"Rounds number up to nearest multiple of a factor.",m:[2,2],p:[{name:"value",detail:"The value to round up to the nearest integer multiple of `factor`.",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN",t:0,d:"Returns the inverse tangent of a value, in radians.",a:"Inverse tangent of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse tangent.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASINH",t:0,d:"Returns the inverse hyperbolic sine of a number.",a:"Inverse hyperbolic sine of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic sine.",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ABS",t:0,d:"Returns the absolute value of a number.",a:"Absolute value of a number.",m:[1,1],p:[{name:"value",detail:"The number of which to return the absolute value.",example:"-2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOS",t:0,d:"Returns the inverse cosine of a value, in radians.",a:"Inverse cosine of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse cosine. Must be between `-1` and `1`, inclusive.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOSH",t:0,d:"Returns the inverse hyperbolic cosine of a number.",a:"Inverse hyperbolic cosine of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic cosine. Must be greater than or equal to `1`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTINOMIAL",t:0,d:"Returns the factorial of the sum of values divided by the product of the values' factorials.",a:"Multinomial distribution function.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"ATANH",t:0,d:"Returns the inverse hyperbolic tangent of a number.",a:"Inverse hyperbolic tangent of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic tangent. Must be between -1 and 1, exclusive.",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN2",t:0,d:"Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (`x`,`y`), in radians.",a:"Arctangent of a value.",m:[2,2],p:[{name:"x",detail:"The x coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"y",detail:"The y coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTBLANK",t:1,d:"Returns the number of empty values in a list of values and ranges.",a:"Number of empty values.",m:[1,1],p:[{name:"value1",detail:"The first value or range in which to count the number of blanks.",example:"A2:C100",require:"m",repeat:"n",type:"range"}]},{n:"COSH",t:0,d:"Returns the hyperbolic cosine of any real number.",a:"Hyperbolic cosine of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic cosine of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"INT",t:0,d:"Rounds a number down to the nearest integer that is less than or equal to it.",a:"Rounds number down to nearest integer.",m:[1,1],p:[{name:"value",detail:"The value to round down to the nearest integer.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISEVEN",t:0,d:"Checks whether the provided value is even.",a:"Whether the provided value is even.",m:[1,1],p:[{name:"value",detail:"The value to be verified as even.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISODD",t:0,d:"Checks whether the provided value is odd.",a:"Whether the provided value is odd.",m:[1,1],p:[{name:"value",detail:"The value to be verified as odd.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LCM",t:0,d:"Returns the least common multiple of one or more integers.",a:"Least common multiple of one or more integers.",m:[1,255],p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the least common multiple.",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the least common multiple.",example:"3",require:"o",repeat:"y",type:"rangeall"}]},{n:"LN",t:0,d:"Returns the logarithm of a number, base e (Euler's number).",a:"The logarithm of a number, base e (euler's number).",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the logarithm, base e.",example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOG",t:0,d:"Returns the logarithm of a number with respect to a base.",a:"The logarithm of a number with respect to a base.",m:[1,2],p:[{name:"value",detail:"The value for which to calculate the logarithm.",example:"128",require:"m",repeat:"n",type:"rangenumber"},{name:"base",detail:"The base to use for calculation of the logarithm.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"LOG10",t:0,d:"Returns the logarithm of a number, base 10.",a:"The logarithm of a number, base 10.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the logarithm, base 10.",example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MOD",t:0,d:"Returns the result of the modulo operator, the remainder after a division operation.",a:"Modulo (remainder) operator.",m:[2,2],p:[{name:"dividend",detail:"The number to be divided to find the remainder.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MROUND",t:0,d:"Rounds one number to the nearest integer multiple of another.",a:"Rounds a number to the nearest integer multiple.",m:[2,2],p:[{name:"value",detail:"The number to round to the nearest integer multiple of another.",example:"21",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ODD",t:0,d:"Rounds a number up to the nearest odd integer.",a:"Rounds a number up to the nearest odd integer.",m:[1,1],p:[{name:"value",detail:"The value to round to the next greatest odd number.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMSQ",t:0,d:"Returns the sum of the squares of a series of numbers and/or cells.",a:"Sum of squares.",m:[1,255],p:[{name:"value1",detail:"The first number or range whose squares to add together.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional numbers or ranges whose squares to add to the square(s) of `value1`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMBIN",t:0,d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects.",a:"Number of combinations from a set of objects.",m:[2,2],p:[{name:"n",detail:"The size of the pool of objects to choose from.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"The number of objects to choose.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUM",t:0,d:"Returns the sum of a series of numbers and/or cells.",a:"Sum of a series of numbers and/or cells.",m:[1,255],p:[{name:"value1",detail:"The first number or range to add together.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional numbers or ranges to add to `value1`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SUBTOTAL",t:0,d:"Returns a subtotal for a vertical range of cells using a specified aggregation function.",a:"Subtotal for a range using a specific function.",m:[2,256],p:[{name:"function_code",detail:"The function to use in subtotal aggregation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"range1",detail:"The first range over which to calculate a subtotal.",example:"A2:A5",require:"m",repeat:"n",type:"range"},{name:"range2",detail:"Additional ranges over which to calculate subtotals.",example:"B2:B8",require:"o",repeat:"y",type:"range"}]},{n:"ASIN",t:0,d:"Returns the inverse sine of a value, in radians.",a:"Inverse sine of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse sine. Must be between `-1` and `1`, inclusive.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTIF",t:1,d:"Returns a conditional count across a range.",a:"A conditional count across a range.",m:[2,2],p:[{name:"range",detail:"The range that is tested against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion",detail:"The pattern or test to apply to `range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"RADIANS",t:0,d:"Converts an angle value in degrees to radians.",a:"Converts an angle value in degrees to radians.",m:[1,1],p:[{name:"angle",detail:"The angle to convert from degrees to radians.",example:"180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RAND",t:0,d:"Returns a random number between 0 inclusive and 1 exclusive.",a:"A random number between 0 inclusive and 1 exclusive.",m:[0,0],p:[]},{n:"COUNTUNIQUE",t:0,d:"Counts the number of unique values in a list of specified values and ranges.",a:"Counts number of unique values in a range.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider for uniqueness.",example:"A1:C100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider for uniqueness.",example:"1",require:"o",repeat:"n",type:"rangeall"}]},{n:"DEGREES",t:0,d:"Converts an angle value in radians to degrees.",a:"Converts an angle value in radians to degrees.",m:[1,1],p:[{name:"angle",detail:"The angle to convert from radians to degrees.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ERFC",t:9,d:"Returns the complementary Gauss error function of a value.",a:"Complementary gauss error function of a value.",m:[1,1],p:[{name:"z",detail:"The number for which to calculate the complementary Gauss error function.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EVEN",t:0,d:"Rounds a number up to the nearest even integer.",a:"Rounds a number up to the nearest even integer.",m:[1,1],p:[{name:"value",detail:"The value to round to the next greatest even number.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EXP",t:0,d:"Returns Euler's number, e (~2.718) raised to a power.",a:"Euler's number, e (~2.718) raised to a power.",m:[1,1],p:[{name:"exponent",detail:"The exponent to raise e to.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACT",t:0,d:"Returns the factorial of a number.",a:"Factorial of a number.",m:[1,1],p:[{name:"value",detail:"The number or reference to a number whose factorial will be calculated and returned.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACTDOUBLE",t:0,d:'Returns the "double factorial" of a number.',a:'"double factorial" of a number.',m:[1,1],p:[{name:"value",detail:"The number or reference to a number whose double factorial will be calculated and returned.",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PI",t:0,d:"Returns the value of Pi to 14 decimal places.",a:"The number pi.",m:[0,0],p:[]},{n:"FLOOR",t:0,d:"Rounds a number down to the nearest integer multiple of specified significance `factor`.",a:"Rounds number down to nearest multiple of a factor.",m:[2,2],p:[{name:"value",detail:"The value to round down to the nearest integer multiple of `factor`.",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GCD",t:0,d:"Returns the greatest common divisor of one or more integers.",a:"Greatest common divisor of one or more integers.",m:[1,255],p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the greatest common divisor.",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the greatest common divisor.",example:"96",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANDBETWEEN",t:0,d:"Returns a uniformly random integer between two values, inclusive.",a:"Random integer between two values, inclusive.",m:[2,2],p:[{name:"low",detail:"The low end of the random range.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"high",detail:"The high end of the random range.",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUND",t:0,d:"Rounds a number to a certain number of decimal places according to standard rules.",a:"Rounds a number according to standard rules.",m:[2,2],p:[{name:"value",detail:"The value to round to `places` number of places.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of decimal places to which to round.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDDOWN",t:0,d:"Rounds a number to a certain number of decimal places, always rounding down to the next valid increment.",a:"Rounds down a number.",m:[2,2],p:[{name:"value",detail:"The value to round to `places` number of places, always rounding down.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of decimal places to which to round.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDUP",t:0,d:"Rounds a number to a certain number of decimal places, always rounding up to the next valid increment.",a:"Rounds up a number.",m:[2,2],p:[{name:"value",detail:"The value to round to `places` number of places, always rounding up.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of decimal places to which to round.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SERIESSUM",t:0,d:"Given parameters `x`, `n`, `m`, and `a`, returns the power series sum a",a:"Sum of a power series.",m:[4,4],p:[{name:"x",detail:"The input to the power series. Varies depending on the type of approximation, may be angle, exponent, or some other value.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:"The initial power to which to raise `x` in the power series.",example:"0",require:"m",repeat:"n",type:"rangenumber"},{name:"m",detail:"The additive increment by which to increase `x`.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"a",detail:"The array or range containing the coefficients of the power series.",example:"{FACT(0)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIGN",t:0,d:"Given an input number, returns `-1` if it is negative, `1` if positive, and `0` if it is zero.",a:"Sign of a provided number (+/-/0).",m:[1,1],p:[{name:"value",detail:"The value whose sign will be evaluated.",example:"-42",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIN",t:0,d:"Returns the sine of an angle provided in radians.",a:"Sine of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the sine of, in radians.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SINH",t:0,d:"Returns the hyperbolic sine of any real number.",a:"Hyperbolic sine of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic sine of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRT",t:0,d:"Returns the positive square root of a positive number.",a:"Positive square root of a positive number.",m:[1,1],p:[{name:"value",detail:"The number for which to calculate the positive square root.",example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRTPI",t:0,d:"Returns the positive square root of the product of Pi and the given positive number.",a:"Square root of the product of pi and number.",m:[1,1],p:[{name:"value",detail:"The number which will be multiplied by Pi and have the product's square root returned",example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GAMMALN",t:1,d:"Returns the logarithm of a specified Gamma function, base e (Euler's number).",a:"Logarithm of gamma function.",m:[1,1],p:[{name:"value",detail:"The input to the Gamma function. The natural logarithm of Gamma(`value`) will be returned.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COS",t:0,d:"Returns the cosine of an angle provided in radians.",a:"Cosine of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the cosine of, in radians.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRUNC",t:0,d:"Truncates a number to a certain number of significant digits by omitting less significant digits.",a:"Truncates a number.",m:[1,2],p:[{name:"value",detail:"The value to be truncated.",example:"3.141592654",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of significant digits to the right of the decimal point to retain.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUOTIENT",t:0,d:"Returns one number divided by another.",a:"One number divided by another.",m:[2,2],p:[{name:"dividend",detail:"The number to be divided.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POWER",t:0,d:"Returns a number raised to a power.",a:"A number raised to a power.",m:[2,2],p:[{name:"base",detail:"The number to raise to the `exponent` power.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"exponent",detail:"The exponent to raise `base` to.",example:"0.5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMIFS",t:0,d:"Returns the sum of a range depending on multiple criteria.",a:"Sums a range depending on multiple criteria.",m:[3,257],p:[{name:"sum_range",detail:"The range to sum.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criteria_range1",detail:"The range to check against criterion1.",example:" B1:B10",require:"m",repeat:"n",type:"range"},{name:"criterion1",detail:"The pattern or test to apply to criteria_range1.",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2",detail:"Additional ranges to check.",example:" C1:C10",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTIFS",t:1,d:"Returns the count of a range depending on multiple criteria.",a:"Count values depending on multiple criteria.",m:[2,256],p:[{name:"criteria_range1",detail:"The range to check against `criterion1`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`.",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2",detail:"Additional ranges to check.",example:" B1:B10",require:"o",repeat:"y",type:"rangeall"}]},{n:"PRODUCT",t:0,d:"Returns the result of multiplying a series of numbers together.",a:"Result of multiplying a series of numbers together.",m:[1,255],p:[{name:"factor1",detail:"The first number or range to calculate for the product.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"factor2",detail:"More numbers or ranges to calculate for the product.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HARMEAN",t:1,d:"Calculates the harmonic mean of a dataset.",a:"The harmonic mean of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HYPGEOMDIST",t:1,d:"Calculates the probability of drawing a certain number of successes in a certain number of tries given a population of a certain size containing a certain number of successes, without replacement of draws.",a:"Hypergeometric distribution probability.",m:[5,5],p:[{name:"num_successes",detail:"The desired number of successes.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"num_draws",detail:"The number of permitted draws.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"successes_in_pop",detail:"The total number of successes in the population.",example:"20",require:"m",repeat:"n",type:"rangenumber"},{name:"pop_size",detail:"The total size of the population",example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If cumulative is TRUE(), HYPGEOM.DIST returns the cumulative distribution function;
if FALSE(), it returns the probability density function.`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"INTERCEPT",t:1,d:"Calculates the y-value at which the line resulting from linear regression of a dataset will intersect the y-axis (x=0).",a:"Y-intercept of line derived via linear regression.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"KURT",t:1,d:'Calculates the kurtosis of a dataset, which describes the shape, and in particular the "peakedness" of that dataset.',a:"Kurtosis of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the dataset.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the dataset.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LARGE",t:1,d:"Returns the nth largest element from a data set, where n is user-defined.",a:"Nth largest element from a data set.",m:[2,2],p:[{name:"data",detail:"Array or range containing the dataset to consider.",example:"A2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:"The rank from largest to smallest of the element to return.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STDEVA",t:1,d:"Calculates the standard deviation based on a sample, setting text to the value `0`.",a:"Standard deviation of sample (text as 0).",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STDEVP",t:1,d:"Calculates the standard deviation based on an entire population.",a:"Standard deviation of an entire population.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"GEOMEAN",t:1,d:"Calculates the geometric mean of a dataset.",a:"The geometric mean of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANK_EQ",t:1,d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the top rank of the entries will be returned.",a:"Top rank of a specified value in a dataset.",m:[2,3],p:[{name:"value",detail:"The value whose rank will be determined.",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE).",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANK_AVG",t:1,d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the average rank of the entries will be returned.",a:"Average rank of a specified value in a dataset.",m:[2,3],p:[{name:"value",detail:"The value whose rank will be determined.",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE).",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"PERCENTRANK_EXC",t:1,d:"Returns the percentage rank (percentile) from 0 to 1 exclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 exclusive.",m:[2,3],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value",detail:"The value whose percentage rank will be determined.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3.",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PERCENTRANK_INC",t:1,d:"Returns the percentage rank (percentile) from 0 to 1 inclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 inclusive.",m:[2,3],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value",detail:"The value whose percentage rank will be determined.",example:" A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3.",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FORECAST",t:1,d:"Calculates the expected y-value for a specified x based on a linear regression of a dataset.",a:"Expected y-value based of linear regression.",m:[3,3],p:[{name:"x",detail:"The value on the x-axis to forecast.",example:"A1",require:"m",repeat:"n",type:"rangenumber"},{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHERINV",t:1,d:"Returns the inverse Fisher transformation of a specified value.",a:"Inverse fisher transformation of a specified value.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse Fisher transformation.",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHER",t:1,d:"Returns the Fisher transformation of a specified value.",a:"Fisher transformation of a specified value.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the Fisher transformation.",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MODE_SNGL",t:1,d:"Returns the most commonly occurring value in a dataset.",a:"Most commonly occurring value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating mode.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating mode.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"WEIBULL_DIST",t:1,d:"Returns the value of the Weibull distribution function (or Weibull cumulative distribution function) for a specified shape and scale.",a:"Weibull distribution function.",m:[4,4],p:[{name:"x",detail:"The input to the Weibull distribution function.",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"shape",detail:"The shape parameter of the Weibull distribution function.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"scale",detail:"The scale parameter of the Weibull distribution function.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the cumulative distribution function.",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"COUNT",t:1,d:"Returns the number of numeric values in a dataset.",a:"The number of numeric values in dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when counting.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when counting.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTA",t:1,d:"Returns the number of values in a dataset.",a:"The number of values in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when counting.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when counting.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVEDEV",t:1,d:"Calculates the average of the magnitudes of deviations of data from a dataset's mean.",a:"Average magnitude of deviations from mean.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"AVERAGE",t:1,d:"Returns the numerical average value in a dataset, ignoring text.",a:"Numerical average value in a dataset, ignoring text.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the average value.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVERAGEA",t:1,d:"Returns the numerical average value in a dataset.",a:"Numerical average value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the average value.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"BINOM_DIST",t:1,d:"Calculates the probability of drawing a certain number of successes (or a maximum number of successes) in a certain number of tries given a population of a certain size containing a certain number of successes, with replacement of draws.",a:"Binomial distribution probability.",m:[4,4],p:[{name:"num_successes",detail:"The number of successes for which to calculate the probability in `num_trials` trials.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"num_trials",detail:"The number of independent trials.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"prob_success",detail:"The probability of success in any given trial.",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the binomial cumulative distribution.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"BINOM_INV",t:1,d:"Calculates the smallest value for which the cumulative binomial distribution is greater than or equal to a specified criteria.",a:"Inverse cumulative binomial distribution function.",m:[3,3],p:[{name:"num_trials",detail:"The number of independent trials.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"prob_success",detail:"The probability of success in any given trial.",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"target_prob",detail:"The desired threshold probability.",example:"0.8",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONFIDENCE_NORM",t:1,d:"Calculates the width of half the confidence interval for a normal distribution.",a:"Confidence interval for a normal distribution.",m:[3,3],p:[{name:"alpha",detail:"One minus the desired confidence level. E.g. `0.1` for `0.9`, or 90%, confidence.",example:"0.05",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation of the population.",example:"1.6",require:"m",repeat:"n",type:"rangenumber"},{name:"pop_size",detail:"The size of the population.",example:"250",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CORREL",t:1,d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_P",t:1,d:"Calculates the covariance of a dataset.",a:"The covariance of a dataset.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_S",t:1,d:"Calculates the sample covariance of a dataset.",a:"The sample covariance of a dataset.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DEVSQ",t:1,d:"Calculates the sum of squares of deviations based on a sample.",a:"The sum of squares of deviations based on a sample.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"EXPON_DIST",t:1,d:"Returns the value of the exponential distribution function with a specified lambda at a specified value.",a:"Exponential distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the exponential distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"lambda",detail:"The lambda to specify the exponential distribution function.",example:"0.5",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the exponential cumulative distribution.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIF",t:1,d:"Returns the average of a range depending on criteria.",a:"Average of values depending on criteria.",m:[2,3],p:[{name:"criteria_range",detail:"The range to check against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion",detail:"The pattern or test to apply to `criteria_range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"average_range",detail:"The range to average. If not included, `criteria_range` is used for the average instead.",example:"B1:B10",require:"o",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIFS",t:1,d:"Returns the average of a range depending on multiple criteria.",a:"Average of values depending on multiple criteria.",m:[2,255],p:[{name:"average_range",detail:"The range to average.",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range1",detail:"The range to check against `criterion1`.",example:" B1:B10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`.",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2",detail:"Additional ranges to check.",example:" C1:C10",require:"m",repeat:"n",type:"rangeall"}]},{n:"PERMUT",t:1,d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects, considering order.",a:"Number of permutations from a number of objects.",m:[2,2],p:[{name:"n",detail:"The size of the pool of objects to choose from.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"The number of objects to choose.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRIMMEAN",t:1,d:"Calculates the mean of a dataset excluding some proportion of data from the high and low ends of the dataset.",a:"Mean of a dataset excluding high/low ends.",m:[2,2],p:[{name:"data",detail:"Array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"exclude_proportion",detail:"The proportion of the dataset to exclude, from the extremities of the set.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_EXC",t:1,d:"Returns the value at a given percentile of a dataset exclusive of 0 and 1.",a:"Value at a given percentile of a dataset exclusive of 0 and 1.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"percentile",detail:"The percentile, exclusive of 0 and 1, whose value within 'data' will be calculated and returned.",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_INC",t:1,d:"Returns the value at a given percentile of a dataset.",a:"Value at a given percentile of a dataset.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"percentile",detail:"The percentile whose value within `data` will be calculated and returned.`",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PEARSON",t:1,d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_INV",t:1,d:"Returns the value of the inverse standard normal distribution function for a specified value.",a:"Inverse standard normal distribution function.",m:[1,1],p:[{name:"x",detail:"The input to the inverse standard normal distribution function.",example:"0.75",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_DIST",t:1,d:"Returns the value of the standard normal cumulative distribution function for a specified value.",a:"Standard normal cumulative distribution function.",m:[2,2],p:[{name:"x",detail:"The input to the standard normal cumulative distribution function.",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If TRUE(), it returns the cumulative distribution function;
If it is FALSE(), it returns the probability density function.`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NORM_INV",t:1,d:"Returns the value of the inverse normal distribution function for a specified value, mean, and standard deviation.",a:"Inverse normal distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the inverse normal distribution function.",example:"0.75",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the normal distribution function.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_DIST",t:1,d:"Returns the value of the normal distribution function (or normal cumulative distribution function) for a specified value, mean, and standard deviation.",a:"Normal distribution function.",m:[4,4],p:[{name:"x",detail:"The input to the normal distribution function.",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the normal distribution function.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the normal cumulative distribution function rather than the distribution function.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NEGBINOM_DIST",t:1,d:"Calculates the probability of drawing a certain number of failures before a certain number of successes given a probability of success in independent trials.",a:"Negative binomial distribution probability.",m:[4,4],p:[{name:"num_failures",detail:"The number of failures to model.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"num_successes",detail:"The number of successes to model.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"prob_success",detail:"The probability of success in any given trial.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If TRUE(), it returns the cumulative distribution function;
If it is FALSE(), it returns the probability density function.`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINA",t:1,d:"Returns the minimum numeric value in a dataset.",a:"Minimum numeric value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MIN",t:1,d:"Returns the minimum value in a numeric dataset.",a:"Minimum value in a numeric dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MEDIAN",t:1,d:"Returns the median value in a numeric dataset.",a:"Median value in a numeric dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the median value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the median value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAXA",t:1,d:"Returns the maximum numeric value in a dataset.",a:"Maximum numeric value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAX",t:1,d:"Returns the maximum value in a numeric dataset.",a:"Maximum value in a numeric dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LOGNORM_INV",t:1,d:"Returns the value of the inverse log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Inverse log-normal cumulative distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the inverse log-normal cumulative distribution function.",example:"0.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the inverse log-normal cumulative distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the inverse log-normal cumulative distribution function.",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOGNORM_DIST",t:1,d:"Returns the value of the log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Log-normal cumulative distribution probability.",m:[4,4],p:[{name:"x",detail:"The input to the log-normal cumulative distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the log-normal cumulative distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the log-normal cumulative distribution function.",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If TRUE(), it returns the cumulative distribution function;
If it is FALSE(), it returns the probability density function.`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"Z_TEST",t:1,d:"Returns the one-tailed p-value of a Z-test with standard distribution.",a:"One-tailed p-value of a z-test.",m:[2,3],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"value",detail:"The test statistic to use in the Z-test.",example:"B2",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation to assume for the Z-test. If this is not provided, the standard deviation of the data will be used.",example:"3",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PROB",t:1,d:"Given a set of values and corresponding probabilities, calculates the probability that a value chosen at random falls between two limits.",a:"Probability values lie in a range.",m:[3,4],p:[{name:"data",detail:"Array or range containing the dataset to consider.",example:"A3:A6",require:"m",repeat:"n",type:"range"},{name:"probabilities",detail:"Array or range containing probabilities corresponding to `data`.",example:"2",require:"m",repeat:"n",type:"range"},{name:"low_limit",detail:"The lower bound on the value range for which to calculate the probability.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"high_limit",detail:"The upper bound on the value range for which to calculate the probability.",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_EXC",t:1,d:"Returns a value nearest to a specified quartile of a dataset exclusive of 0 and 4.",a:"Value nearest to a specific quartile of a dataset exclusive of 0 and 4.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quartile_number",detail:"Which quartile to return.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_INC",t:1,d:"Returns a value nearest to a specified quartile of a dataset.",a:"Value nearest to a specific quartile of a dataset.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quartile_number",detail:"Which quartile value to return.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POISSON_DIST",t:1,d:"Returns the value of the Poisson distribution function (or Poisson cumulative distribution function) for a specified value and mean.",a:"Poisson distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the Poisson distribution function.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the Poisson distribution function.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the Poisson cumulative distribution function rather than the distribution function.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"RSQ",t:1,d:"Calculates the square of r, the Pearson product-moment correlation coefficient of a dataset.",a:"Square of the correlation coefficient.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST",t:1,d:"Calculates the left tail probability for a Student's t-distribution with a given input (x).",a:"The left-tailed Student's t-distribution",m:[3,3],p:[{name:"x",detail:"The input to the t-distribution function.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"30",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"T_DIST_2T",t:1,d:"Calculates the probability for two tailed Student's t-distribution with a given input (x).",a:"The two tailed Student's t-distribution",m:[2,2],p:[{name:"x",detail:"The input to the t-distribution function.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST_RT",t:1,d:"Calculates the right tail probability for a Student's t-distribution with a given input (x).",a:"The right-tailed Student's t-distribution",m:[2,2],p:[{name:"x",detail:"The input to the t-distribution function.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV",t:1,d:"Calculates the negative inverse of the one-tailed TDIST function.",a:"T.INV",m:[2,2],p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution.",example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV_2T",t:1,d:"Calculates the inverse of the two-tailed TDIST function.",a:"T.INV.2T",m:[2,2],p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution.",example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_TEST",t:1,d:"t-test. Returns the probability associated with Student's t-test. Determines whether two samples are likely to have come from the same two underlying populations that have the same mean.",a:"Returns the probability associated with t-test.",m:[4,4],p:[{name:"range1",detail:"The first sample of data or group of cells to consider for the t-test.",example:"A1:A4",require:"m",repeat:"n",type:"rangenumber"},{name:"range2",detail:"The second sample of data or group of cells to consider for the t-test.",example:"B1:B4",require:"m",repeat:"n",type:"rangenumber"},{name:"tails",detail:"Specifies the number of distribution tails.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:"Specifies the type of t-test.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"F_DIST",t:1,d:"Calculates the left-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution (left-tailed).",m:[4,4],p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function.",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom.",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Logical value that determines the form of the function.",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"F_DIST_RT",t:1,d:"Calculates the right-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution.",m:[3,3],p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function.",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom.",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"VAR_P",t:1,d:"Calculates the variance based on an entire population.",a:"Variance of entire population.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VAR_S",t:1,d:"Calculates the variance based on a sample.",a:"Variance.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARA",t:1,d:"Calculates the variance based on a sample, setting text to the value `0`.",a:"Variance of sample (text as 0).",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARPA",t:1,d:"Calculates the variance based on an entire population, setting text to the value `0`.",a:"Variance of entire population (text as 0).",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STEYX",t:1,d:"Calculates the standard error of the predicted y-value for each x in the regression of a dataset.",a:"Standard error of predicted y-values in regression.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STANDARDIZE",t:1,d:"Calculates the normalized equivalent of a random variable given mean and standard deviation of the distribution.",a:"Normalized equivalent of a random variable.",m:[3,3],p:[{name:"value",detail:"The value of the random variable to normalize.",example:"96",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean of the distribution.",example:"80",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation of the distribution.",example:"6.7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SMALL",t:1,d:"Returns the nth smallest element from a data set, where n is user-defined.",a:"Nth smallest element in a data set.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:B100",require:"m",repeat:"n",type:"range"},{name:"n",detail:"The rank from smallest to largest of the element to return.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SLOPE",t:1,d:"Calculates the slope of the line resulting from linear regression of a dataset.",a:"Slope of line from linear regression of data.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SKEW",t:1,d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean.",a:"Skewness of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the dataset.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to include in the dataset.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SKEW_P",t:1,d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean. This assumes the dataset is for the population.",a:"Skewness of a population's dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the dataset.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to include in the dataset.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"VLOOKUP",t:2,d:"Vertical lookup. Searches down the first column of a range for a key and returns the value of a specified cell in the row found.",a:"Vertical lookup.",m:[3,4],p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"range",detail:"The range to consider for the search. The first column in the range is searched for the key specified in `search_key`.",example:"A2:B26",require:"m",repeat:"n",type:"rangeall"},{name:"index",detail:"The column index of the value to be returned, where the first column in `range` is numbered 1.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"is_sorted",detail:"Indicates whether the column to be searched (the first column of the specified range) is sorted, in which case the closest match for `search_key` will be returned.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"HLOOKUP",t:2,d:"Horizontal lookup. Searches across the first row of a range for a key and returns the value of a specified cell in the column found.",a:"Horizontal lookup",m:[3,4],p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"range",detail:"The range to consider for the search. The first row in the range is searched for the key specified in `search_key`.",example:"A2:Z6",require:"m",repeat:"n",type:"rangeall"},{name:"index",detail:"The row index of the value to be returned, where the first row in `range` is numbered 1.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"is_sorted",detail:"Indicates whether the row to be searched (the first row of the specified range) is sorted.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOOKUP",t:2,d:"Looks through a sorted row or column for a key and returns the value of the cell in a result range located in the same position as the search row or column.",a:"Look up a value.",m:[2,3],p:[{name:"search_key",detail:'The value to search for in the row or column. For example, `42`, `"Cats"`, or `I24`.',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"search_range|search_result_array",detail:"One method of using this function is to provide a single sorted row or column `search_range` to look through for the `search_key` with a second argument `result_range`. The other way is to combine these two arguments into one `search_result_array` where the first row or column is searched and a value is returned from the last row or column in the array. If `search_key` is not found, a non-exact match may be returned.",example:"A1:A100",require:"m",repeat:"n",type:"rangeall"},{name:"result_range",detail:"The range from which to return a result. The value returned corresponds to the location where `search_key` is found in `search_range`. This range must be only a single row or column and should not be used if using the `search_result_array` method.",example:"B1:B100",require:"o",repeat:"n",type:"rangeall"}]},{n:"ADDRESS",t:2,d:"Returns a cell reference as a string.",a:"Cell reference as a string.",m:[2,5],p:[{name:"row",detail:"The row number of the cell reference",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"column",detail:"The column number (not name) of the cell reference. `A` is column number `1`.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"absolute_relative_mode",detail:"An indicator of whether the reference is row/column absolute. `1` is row and column absolute (e.g. $A$1), `2` is row absolute and column relative (e.g. A$1), `3` is row relative and column absolute (e.g. $A1), and `4` is row and column relative (e.g. A1).",example:"4",require:"o",repeat:"n",type:"rangenumber"},{name:"use_a1_notation",detail:"A boolean indicating whether to use `A1` style notation (TRUE) or `R1C1` style notation (FALSE).",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"},{name:"sheet",detail:"Text indicating the name of the sheet into which the address points.",example:'"Sheet2"',require:"o",repeat:"n",type:"rangeall"}]},{n:"INDIRECT",t:2,d:"Returns a cell reference specified by a string.",a:"A cell reference specified by a string.",m:[1,2],p:[{name:"cell_reference_as_string",detail:"A cell reference, written as a string with surrounding quotation marks.",example:'"Sheet2!"&B10',require:"m",repeat:"n",type:"rangeall"},{name:"is_A1_notation",detail:"Indicates if the cell reference is in A1 notation (TRUE) or R1C1 notation (FALSE).",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROW",t:2,d:"Returns the row number of a specified cell.",a:"Row number of a specified cell.",m:[0,1],p:[{name:"cell_reference",detail:"The cell whose row number will be returned.",example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROWS",t:2,d:"Returns the number of rows in a specified array or range.",a:"Number of rows in a specified array or range.",m:[1,1],p:[{name:"range",detail:"The range whose row count will be returned.",example:"A9:A62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COLUMN",t:2,d:"Returns the column number of a specified cell, with `A=1`.",a:"Column number of a specified cell.",m:[0,1],p:[{name:"cell_reference",detail:"The cell whose column number will be returned. Column `A` corresponds to `1`.",example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNS",t:2,d:"Returns the number of columns in a specified array or range.",a:"Number of columns in a specified array or range.",m:[1,1],p:[{name:"range",detail:"The range whose column count will be returned.",example:"A9:W62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"OFFSET",t:2,d:"Returns a range reference shifted a specified number of rows and columns from a starting cell reference.",a:"A range reference offset relative to a cell.",m:[3,5],p:[{name:"cell_reference",detail:"The starting point from which to count the offset rows and columns.",example:"A2",require:"m",repeat:"n",type:"range"},{name:"offset_rows",detail:"The number of rows to offset by.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"offset_columns",detail:"The number of columns to offset by.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"height",detail:"The height of the range to return starting at the offset target.",example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"width",detail:"The width of the range to return starting at the offset target.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MATCH",t:2,d:"Returns the relative position of an item in a range that matches a specified value.",a:"Position of item in range that matches value.",m:[2,3],p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.',example:'"Sunday"',require:"m",repeat:"n",type:"rangeall"},{name:"range",detail:"The one-dimensional array to be searched.",example:"A2:A9",require:"m",repeat:"n",type:"range"},{name:"search_type",detail:"The search method. `1` (default) finds the largest value less than or equal to `search_key` when `range` is sorted in ascending order. `0` finds the exact value when `range` is unsorted. `-1` finds the smallest value greater than or equal to `search_key` when `range` is sorted in descending order.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INDEX",t:2,d:"Returns the content of a cell, specified by row and column offset.",a:"Content of cell specified by row and column offset.",m:[2,3],p:[{name:"reference",detail:"The array of cells to be offset into.",example:"A1:C20",require:"m",repeat:"n",type:"range"},{name:"row",detail:"The number of offset rows.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"column",detail:"The number of offset columns.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GETPIVOTDATA",t:2,d:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",a:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",m:[2,254],p:[{name:"value_name",detail:"The name of the value in the pivot table for which you want to get data.",example:'"SUM of number of units"',require:"m",repeat:"n",type:"rangeall"},{name:"any_pivot_table_cell",detail:"Any reference to a cell in the desired pivot table (top corner recommended).",example:"'Pivot table'!A1",require:"m",repeat:"n",type:"rangeall"},{name:"original_column",detail:"The name of the column in the original data set (not the pivot table).",example:'"division"',require:"o",repeat:"y",type:"rangeall"},{name:"pivot_item",detail:"The name of the row or column shown in the pivot table corresponding to *original_column* that you want to retrieve.",example:'"east"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CHOOSE",t:2,d:"Returns an element from a list of choices based on index.",a:"An element from a list of choices based on index.",m:[2,255],p:[{name:"index",detail:"Which choice (of the up to 30 provided) to return.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"choice1",detail:"A potential value to return. Required. May be a reference to a cell or an individual value.",example:'"A"',require:"m",repeat:"n",type:"rangeall"},{name:"choice2",detail:"Additional values among which to choose.",example:'"B"',require:"o",repeat:"y",type:"rangeall"}]},{n:"HYPERLINK",t:2,d:"Creates a hyperlink inside a cell.",a:"Creates a hyperlink inside a cell.",p:[{name:"url",detail:"The full URL of the link location enclosed in quotation marks, or a reference to a cell containing such a URL.",example:'"http://www.luckysheet.com/"',require:"m",repeat:"n",type:"rangeall"},{name:"link_label",detail:"The text to display in the cell as the link, enclosed in quotation marks, or a reference to a cell containing such a label.",example:'"luckysheet"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TIME",t:6,d:"Converts a provided hour, minute, and second into a time.",a:"Converts hour/minute/second into a time.",m:[3,3],p:[{name:"hour",detail:"The hour component of the time.",example:"11",require:"m",repeat:"n",type:"rangenumber"},{name:"minute",detail:"The minute component of the time.",example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"second",detail:"The second component of the time.",example:"59",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TIMEVALUE",t:6,d:"Returns the fraction of a 24-hour day the time represents.",a:"Converts a time string into its serial number representation.",m:[1,1],p:[{name:"time_string",detail:"The string that holds the time representation.",example:'"2:15 PM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EOMONTH",t:6,d:"Returns a date on the last day of a month that falls a specified number of months before or after another date.",a:"Last day of a month before or after a date.",m:[2,2],p:[{name:"start_date",detail:"The date from which to calculate the result.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to consider.",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EDATE",t:6,d:"Returns a date a specified number of months before or after another date.",a:"Date a number of months before/after another date.",m:[2,2],p:[{name:"start_date",detail:"The date from which to calculate the result.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to calculate.",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SECOND",t:6,d:"Returns the second component of a specific time, in numeric format.",a:"Second component of a specific time.",m:[1,1],p:[{name:"time",detail:"The time from which to calculate the second component",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINUTE",t:6,d:"Returns the minute component of a specific time, in numeric format.",a:"Minute component of a specific time.",m:[1,1],p:[{name:"time",detail:"The time from which to calculate the minute component.",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"HOUR",t:6,d:"Returns the hour component of a specific time, in numeric format.",a:"Hour component of a specific time.",m:[1,1],p:[{name:"time",detail:"The time from which to calculate the hour component.",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"NOW",t:6,d:"Returns the current date and time as a date value.",a:"Current date and time as a date value.",m:[0,0],p:[]},{n:"NETWORKDAYS",t:6,d:"Returns the number of net working days between two provided days.",a:"Net working days between two provided days.",m:[2,3],p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"holidays",detail:"A range or array constant containing the date serial numbers to consider holidays.",example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"NETWORKDAYS_INTL",t:6,d:"Returns the number of net working days between two provided days excluding specified weekend days and holidays.",a:"Net working days between two dates (specifying weekends).",m:[2,4],p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends.",example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:"A range or array constant containing the dates to consider as holidays.",example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"ISOWEEKNUM",t:6,d:"Returns a number representing the ISO week of the year where the provided date falls.",a:"ISO week number of the year.",m:[1,1],p:[{name:"date",detail:"The date for which to determine the ISO week number. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"WEEKNUM",t:6,d:"Returns a number representing the week of the year where the provided date falls.",a:"Week number of the year.",m:[1,2],p:[{name:"date",detail:"The date for which to determine the week number. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"type",detail:"A number representing the day that a week starts on. Sunday = 1.",example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"WEEKDAY",t:6,d:"Returns a number representing the day of the week of the date provided.",a:"Day of the week of the date provided (as number).",m:[1,2],p:[{name:"date",detail:"The date for which to determine the day of the week. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"type",detail:"A number indicating which numbering system to use to represent weekdays. By default, counts starting with Sunday = 1.",example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DAY",t:6,d:"Returns the day of the month that a specific date falls on, in numeric format.",a:"Day of the month that a specific date falls on.",m:[1,1],p:[{name:"date",detail:"The date from which to extract the day.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS",t:6,d:"Returns the number of days between two dates.",a:"Number of days between two dates.",m:[2,2],p:[{name:"end_date",detail:"The end of the date range.",example:"2011-3-15",require:"m",repeat:"n",type:"rangeall"},{name:"start_date",detail:"The start of the date range.",example:"2011-2-1",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS360",t:6,d:"Returns the difference between two days based on the 360 day year used in some financial interest calculations.",a:"Days between two dates on a 360-day year.",m:[2,3],p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"method",detail:"An indicator of what day count method to use.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"DATE",t:6,d:"Converts a provided year, month, and day into a date.",a:"Converts year/month/day into a date.",m:[3,3],p:[{name:"year",detail:"The year component of the date.",example:"1969",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:"The month component of the date.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"day",detail:"The day component of the date.",example:"20",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DATEVALUE",t:6,d:"Converts a provided date string in a known format to a date value.",a:"Converts a date string to a date value.",m:[1,1],p:[{name:"date_string",detail:"The string representing the date.",example:'"1969-7-20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DATEDIF",t:6,d:"Calculates the number of days, months, or years between two dates.",a:"Date Difference.",m:[3,3],p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"unit",detail:'A string abbreviation for unit of time. For example, "M" for month. Accepted values are "Y","M","D","MD","YM","YD".',example:"16)",require:"m",repeat:"n",type:"rangeall"}]},{n:"WORKDAY",t:6,d:"Calculates the date after a number of working days from a specified start date.",a:"Number of working days from start date.",m:[2,3],p:[{name:"start_date",detail:"The date from which to begin counting.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays.",example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"WORKDAY_INTL",t:6,d:"Calculates the date after a specified number of workdays excluding specified weekend days and holidays.",a:"Date after a number of workdays (specifying weekends).",m:[2,4],p:[{name:"start_date",detail:"The date from which to begin counting.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends.",example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays.",example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"YEAR",t:6,d:"Returns the year specified by a given date.",a:"Year specified by a given date.",m:[1,1],p:[{name:"date",detail:"The date from which to extract the year.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"YEARFRAC",t:6,d:"Returns the number of years, including fractional years, between two dates using a specified day count convention.",a:"Exact number of years between two dates.",m:[2,3],p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"16)",require:"o",repeat:"n",type:"rangenumber"}]},{n:"TODAY",t:6,d:"Returns the current date as a date value.",a:"Current date as a date value.",m:[0,0],p:[]},{n:"MONTH",t:6,d:"Returns the month of the year a specific date falls in, in numeric format.",a:"Month of the year a specific date falls in.",m:[1,1],p:[{name:"date",detail:"The date from which to extract the month.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"EFFECT",t:8,d:"Calculates the annual effective interest rate given the nominal rate and number of compounding periods per year.",a:"Annual effective interest rate.",m:[2,2],p:[{name:"nominal_rate",detail:"The nominal interest rate per year.",example:"0.99",require:"m",repeat:"n",type:"rangenumber"},{name:"periods_per_year",detail:"The number of compounding periods per year.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLAR",t:12,d:"Formats a number into the currency specific to your spreadsheet locale.",a:"Formats a number as currency specific to your spreadsheet locale.",m:[1,2],p:[{name:"number",detail:"The value to be formatted.",example:"1.2351",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_places",detail:"The number of decimal places to display.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARDE",t:8,d:"Converts a price quotation given as a decimal fraction into a decimal value.",a:"Converts a decimal fraction to decimal value.",m:[2,2],p:[{name:"fractional_price",detail:"The price quotation given using fractional decimal conventions.",example:"100.10",require:"m",repeat:"n",type:"rangenumber"},{name:"unit",detail:"The units of the fraction, e.g. `8` for 1/8ths or `32` for 1/32nds.",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARFR",t:8,d:"Converts a price quotation given as a decimal value into a decimal fraction.",a:"Converts a decimal value to decimal fraction.",m:[2,2],p:[{name:"decimal_price",detail:"The price quotation given as a decimal value.",example:"100.125",require:"m",repeat:"n",type:"rangenumber"},{name:"unit",detail:"The units of the desired fraction, e.g. `8` for 1/8ths or `32` for 1/32nds.",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DB",t:8,d:"Calculates the depreciation of an asset for a specified period using the arithmetic declining balance method.",a:"Depreciation via declining balance method.",m:[4,5],p:[{name:"cost",detail:"The initial cost of the asset.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The single period within `life` for which to calculate depreciation.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:"The number of months in the first year of depreciation.",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DDB",t:8,d:"Calculates the depreciation of an asset for a specified period using the double-declining balance method.",a:"Depreciation via double-declining balance method.",m:[4,5],p:[{name:"cost",detail:"The initial cost of the asset.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The single period within `life` for which to calculate depreciation.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The factor by which depreciation decreases.",example:"2.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RATE",t:8,d:"Calculates the interest rate of an annuity investment based on constant-amount periodic payments and the assumption of a constant interest rate.",a:"Interest rate of an annuity investment.",m:[3,6],p:[{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_per_period",detail:"The amount per period to be paid.",example:"-100",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"rate_guess",detail:"An estimate for what the interest rate will be.",example:"0.1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"CUMPRINC",t:8,d:"Calculates the cumulative principal paid over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative principal paid over a set of periods.",m:[6,6],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPNUM",t:8,d:"Calculates the number of coupons, or interest payments, between the settlement date and the maturity date of the investment.",a:"Number of coupons between settlement and maturity.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"02",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SYD",t:8,d:"Calculates the depreciation of an asset for a specified period using the sum of years digits method.",a:"Depreciation via sum of years digits method.",m:[4,4],p:[{name:"cost",detail:"The initial cost of the asset.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The single period within `life` for which to calculate depreciation.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLEQ",t:8,d:"Calculates the equivalent annualized rate of return of a US Treasury Bill based on discount rate.",a:"Equivalent rate of return for a Treasury bill.",m:[3,3],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"The discount rate of the bill at time of purchase.",example:"2)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLYIELD",t:8,d:"Calculates the yield of a US Treasury Bill based on price.",a:"The yield of a us treasury bill based on price.",m:[3,3],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"95",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLPRICE",t:8,d:"Calculates the price of a US Treasury Bill based on discount rate.",a:"Price of US treasury bill.",m:[3,3],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"The discount rate of the bill at time of purchase.",example:"0.09",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PV",t:8,d:"Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Present value of an annuity investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_amount",detail:"The amount per period to be paid.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"D2",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ACCRINT",t:8,d:"Calculates the accrued interest of a security that has periodic payments.",a:"Accrued interest of security with periodic payments.",m:[6,8],p:[{name:"issue",detail:"The date the security was initially issued.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"first_payment",detail:"The first date interest will be paid.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"calc_method",detail:`[Optional-defaults to TRUE()] - A logical value that specifies the method used to calculate the total accrued interest when the settlement date is later than the first interest accrual date.
If the value is TRUE, the total accrued interest from the issue date to the settlement date is returned.
If the value is FALSE, return the accrued interest from the first interest accrual date to the settlement date.`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ACCRINTM",t:8,d:"Calculates the accrued interest of a security that pays interest at maturity.",a:"Accrued interest of security paying at maturity.",m:[4,5],p:[{name:"issue",detail:"The date the security was initially issued.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity date of the security.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"1000",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYBS",t:8,d:"Calculates the number of days from the first coupon, or interest payment, until settlement.",a:"Number of days from first coupon to settlement.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYS",t:8,d:"Calculates the number of days in the coupon, or interest payment, period that contains the specified settlement date.",a:"Days in coupon period containing settlement date.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYSNC",t:8,d:"Calculates the number of days from the settlement date until the next coupon, or interest payment.",a:"Days from settlement until next coupon.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPNCD",t:8,d:"Calculates next coupon, or interest payment, date after the settlement date.",a:"Next coupon date after the settlement date.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPPCD",t:8,d:"Calculates last coupon, or interest payment, date before the settlement date.",a:"Last coupon date before settlement date.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FV",t:8,d:"Calculates the future value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Future value of an annuity investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_amount",detail:"The amount per period to be paid.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FVSCHEDULE",t:8,d:"Calculates the future value of some principal based on a specified series of potentially varying interest rates.",a:"Future value of principal from series of rates.",m:[2,2],p:[{name:"principal",detail:"The amount of initial capital or value to compound against.",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"rate_schedule",detail:"A series of interest rates to compound against the `principal`.",example:"A2:A100",require:"m",repeat:"n",type:"range"}]},{n:"YIELD",t:8,d:"Calculates the annual yield of a security paying periodic interest, such as a US Treasury Bond, based on price.",a:"Annual yield of a security paying periodic interest.",m:[6,7],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"YIELDDISC",t:8,d:"Calculates the annual yield of a discount (non-interest-bearing) security, based on price.",a:"Annual yield of a discount security.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NOMINAL",t:8,d:"Calculates the annual nominal interest rate given the effective rate and number of compounding periods per year.",a:"Annual nominal interest rate.",m:[2,2],p:[{name:"effective_rate",detail:"The effective interest rate per year.",example:"0.85",require:"m",repeat:"n",type:"rangenumber"},{name:"periods_per_year",detail:"The number of compounding periods per year.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"XIRR",t:8,d:"Calculates the internal rate of return of an investment based on a specified series of potentially irregularly spaced cash flows.",a:"Internal rate of return given non-periodic cashflows.",m:[2,3],p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment.",example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"cashflow_dates",detail:"An array or range with dates corresponding to the cash flows in `cashflow_amounts`.",example:"C2:C25",require:"m",repeat:"n",type:"range"},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be.",example:"250",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MIRR",t:8,d:"Calculates the modified internal rate of return on an investment based on a series of periodic cash flows and the difference between the interest rate paid on financing versus the return received on reinvested income.",a:"Modified internal rate of return.",m:[3,3],p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment.",example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"financing_rate",detail:"The interest rate paid on funds invested.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"reinvestment_return_rate",detail:"The return (as a percentage) earned on reinvestment of income received from the investment.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IRR",t:8,d:"Calculates the internal rate of return on an investment based on a series of periodic cash flows.",a:"Internal rate of return given periodic cashflows.",m:[1,2],p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment.",example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be.",example:"200",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPV",t:8,d:"Calculates the net present value of an investment based on a series of periodic cash flows and a discount rate.",a:"The net present value of an investment based on a series of periodic cash flows and a discount rate.",m:[2,255],p:[{name:"discount",detail:"The discount rate of the investment over one period.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"cashflow1",detail:"The first future cash flow.",example:"200",require:"m",repeat:"n",type:"rangeall"},{name:"cashflow2",detail:"Additional future cash flows.",example:"250",require:"o",repeat:"y",type:"rangeall"}]},{n:"XNPV",t:8,d:"Calculates the net present value of an investment based on a specified series of potentially irregularly spaced cash flows and a discount rate.",a:"Net present value given non-periodic cashflows.",m:[3,3],p:[{name:"discount",detail:"The discount rate of the investment over one period.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"cashflow_amounts",detail:"A range of cells containing the income or payments associated with the investment.",example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"cashflow_dates",detail:"A range of cells with dates corresponding to the cash flows in `cashflow_amounts`.",example:"C2:C25",require:"m",repeat:"n",type:"range"}]},{n:"CUMIPMT",t:8,d:"Calculates the cumulative interest over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative interest paid over a set of periods.",m:[6,6],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PMT",t:8,d:"Calculates the periodic payment for an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Periodic payment for an annuity investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:" 100000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"D2",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IPMT",t:8,d:"Calculates the payment on interest for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on interest for an investment.",m:[4,6],p:[{name:"rate",detail:"The interest rate.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The amortization period, in terms of number of periods.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"80000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"E2",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PPMT",t:8,d:"Calculates the payment on the principal of an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on the principal of an investment.",m:[4,6],p:[{name:"rate",detail:"The interest rate.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The amortization period, in terms of number of periods.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"3*12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INTRATE",t:8,d:"Calculates the effective interest rate generated when an investment is purchased at one price and sold at another with no interest or dividends generated by the investment itself.",a:"Calculates effective interest rate.",m:[4,5],p:[{name:"buy_date",detail:"The date of purchase of the investment.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"sell_date",detail:"The date of sale of the investment.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"buy_price",detail:"The price at which the investment was purchased.",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"sell_price",detail:"The price at which the investment was sold.",example:"101200",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PRICE",t:8,d:"Calculates the price of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Price of a security paying periodic interest.",m:[6,7],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.065",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEDISC",t:8,d:"Calculates the price of a discount (non-interest-bearing) security, based on expected yield.",a:"Price of a discount security.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"The discount rate of the security at time of purchase.",example:"0.0525",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEMAT",t:8,d:"Calculates the price of a security paying interest at maturity, based on expected yield.",a:"Price of security paying interest at maturity.",m:[5,6],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"issue",detail:"The date the security was initially issued.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"RECEIVED",t:8,d:"Calculates the amount received at maturity for an investment in fixed-income securities purchased on a given date.",a:"Amount received at maturity for a security.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"investment",detail:"The amount invested (irrespective of face value of each security).",example:"10000000",require:"m",repeat:"n",type:"rangenumber"},{name:"discount",detail:"The discount rate of the security invested in.",example:"0.0575",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DISC",t:8,d:"Calculates the discount rate of a security based on price.",a:"The discount rate of a security based on price.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"97.975",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPER",t:8,d:"Calculates the number of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Number of payment periods for an investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_amount",detail:"The amount of each payment made.",example:"500",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"40000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SLN",t:8,d:"Calculates the depreciation of an asset for one period using the straight-line method.",a:"Depreciation of asset using the straight-line method.",m:[3,3],p:[{name:"cost",detail:"The initial cost of the asset.",example:"300000",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"75000",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DURATION",t:8,d:"Calculates the number of compounding periods required for an investment of a specified present value appreciating at a given rate to reach a target value.",a:"Number of periods for an investment to reach a value.",m:[5,6],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MDURATION",t:8,d:"Calculates the modified Macaulay duration of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Modified Macaulay duration.",m:[5,6],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2DEC",t:9,d:"Converts a signed binary number to decimal format.",a:"Converts a signed binary number to decimal format.",m:[1,1],p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to decimal, provided as a string.",example:"101",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIN2HEX",t:9,d:"Converts a signed binary number to signed hexadecimal format.",a:"Converts a binary number to hexadecimal.",m:[1,2],p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed hexademical, provided as a string.",example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2OCT",t:9,d:"Converts a signed binary number to signed octal format.",a:"Converts a binary number to octal.",m:[1,2],p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed octal, provided as a string.",example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2BIN",t:9,d:"Converts a decimal number to signed binary format.",a:"Converts a decimal number to signed binary format.",m:[1,2],p:[{name:"decimal_number",detail:"The decimal value to be converted to signed binary, provided as a string.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2HEX",t:9,d:"Converts a decimal number to signed hexadecimal format.",a:"Converts a decimal number to hexadecimal.",m:[1,2],p:[{name:"decimal_number",detail:"The decimal value to be converted to signed hexadecimal, provided as a string.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2OCT",t:9,d:"Converts a decimal number to signed octal format.",a:"Converts a decimal number to signed octal format.",m:[1,2],p:[{name:"decimal_number",detail:"The decimal value to be converted to signed octal, provided as a string.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2BIN",t:9,d:"Converts a signed hexadecimal number to signed binary format.",a:"Converts a hexadecimal number to binary.",m:[1,2],p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed binary, provided as a string.",example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2DEC",t:9,d:"Converts a signed hexadecimal number to decimal format.",a:"Converts a hexadecimal number to decimal.",m:[1,1],p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to decimal, provided as a string.",example:'"f3"',require:"m",repeat:"n",type:"rangeall"}]},{n:"HEX2OCT",t:9,d:"Converts a signed hexadecimal number to signed octal format.",a:"Converts a hexadecimal number to octal.",m:[1,2],p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed octal, provided as a string.",example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2BIN",t:9,d:"Converts a signed octal number to signed binary format.",a:"Converts an octal number to binary.",m:[1,2],p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed binary, provided as a string.",example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2DEC",t:9,d:"Converts a signed octal number to decimal format.",a:"Converts a signed octal number to decimal format.",m:[1,1],p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to decimal, provided as a string.",example:"37",require:"m",repeat:"n",type:"rangeall"}]},{n:"OCT2HEX",t:9,d:"Converts a signed octal number to signed hexadecimal format.",a:"Converts an octal number to hexadecimal.",m:[1,2],p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed hexadecimal, provided as a string.",example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COMPLEX",t:9,d:"Creates a complex number given real and imaginary coefficients.",a:"Creates a complex number.",m:[2,3],p:[{name:"real_part",detail:"The real coefficient.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"imaginary_part",detail:"The imaginary coefficient.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"suffix",detail:"The suffix for the imaginary coefficient, can only be 'i' or 'j'. If omitted, 'i' will be used.",example:'"j"',require:"o",repeat:"n",type:"rangestring"}]},{n:"IMREAL",t:9,d:"Returns the real coefficient of a complex number.",a:"The real coefficient of a complex number.",m:[1,1],p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format.",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMAGINARY",t:9,d:"Returns the imaginary coefficient of a complex number.",a:"The imaginary coefficient of a complex number.",m:[1,1],p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format.",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMCONJUGATE",t:9,d:"Returns the complex conjugate of a number.",a:"The complex conjugate of a number.",m:[1,1],p:[{name:"number",detail:"The complex number to calculate the conjugate for.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMABS",t:9,d:"Returns absolute value (or modulus) of a complex number.",a:"The absolute value of a complex number.",m:[1,1],p:[{name:"number",detail:"The complex number to calculate the absolute value of.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DELTA",t:9,d:"Compare two numeric values, returning 1 if they're equal.",a:"Compare two numeric values.",m:[1,2],p:[{name:"number1",detail:"The first number to compare.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"number2",detail:"The second number to compare.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"IMSUM",t:9,d:"Returns the sum of a series of complex numbers.",a:"Sum of a series of complex numbers.",m:[1,255],p:[{name:"value1",detail:"The first complex number or range to add together.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional complex numbers or ranges to add to `value1`.",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMSUB",t:9,d:"Returns the difference between two complex numbers.",a:"The difference between two complex numbers.",m:[2,2],p:[{name:"first_number",detail:"The complex number to subtract second_number from.",example:'"6+5i"',require:"m",repeat:"n",type:"rangeall"},{name:"second_number",detail:"The complex number to subtract from first_number.",example:'"2+3i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMPRODUCT",t:9,d:"Returns the result of multiplying a series of complex numbers together.",a:"Result of multiplying a series of complex numbers together.",m:[1,255],p:[{name:"factor1",detail:"The first number or range to calculate for the product.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"factor2",detail:"Additional complex numbers or ranges to calculate for the product.",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMDIV",t:9,d:"Returns one complex number divided by another.",a:"One complex number divided by another.",m:[2,2],p:[{name:"dividend",detail:"The complex number to be divided.",example:'"11+16i"',require:"m",repeat:"n",type:"rangeall"},{name:"divisor",detail:"The complex number to divide by.",example:'"3+2i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NOT",t:10,d:"Returns the opposite of a logical value - `NOT(TRUE)` returns `FALSE`; `NOT(FALSE)` returns `TRUE`.",a:"Returns opposite of provided logical value.",m:[1,1],p:[{name:"logical_expression",detail:"An expression or reference to a cell holding an expression that represents some logical value.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TRUE",t:10,d:"Returns the logical value `TRUE`.",a:"Logical value `true`.",m:[0,0],p:[]},{n:"FALSE",t:10,d:"Returns the logical value `FALSE`.",a:"Logical value `false`.",m:[0,0],p:[]},{n:"AND",t:10,d:"Returns true if all of the provided arguments are logically true, and false if any of the provided arguments are logically false.",a:"Logical `and` operator.",m:[1,255],p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value.",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"logical_expression2",detail:"More expressions that represent logical values.",example:'A3 = "bar"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IFERROR",t:10,d:"Returns the first argument if it is not an error value, otherwise returns the second argument if present, or a blank if the second argument is absent.",a:"Value if it is not an error, otherwise 2nd argument.",m:[2,2],p:[{name:"value",detail:"The value to return if `value` itself is not an error.",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"value_if_error",detail:"The value the function returns if `value` is an error.",example:'"Error in cell A1"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IF",t:10,d:"Returns one value if a logical expression is `TRUE` and another if it is `FALSE`.",a:"Returns value depending on logical expression.",m:[2,3],p:[{name:"logical_expression",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`.",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_true",detail:"The value the function returns if `logical_expression` is `TRUE`.",example:'"A2 is foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_false",detail:"The value the function returns if `logical_expression` is `FALSE`.",example:'"A2 was false"',require:"o",repeat:"n",type:"rangeall"}]},{n:"OR",t:10,d:"Returns true if any of the provided arguments are logically true, and false if all of the provided arguments are logically false.",a:"Logical `or` operator.",m:[1,255],p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value.",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"logical_expression2",detail:"More expressions that evaluate to logical values.",example:' A3 = "bar"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NE",t:11,d:"Returns `TRUE` if two specified values are not equal and `FALSE` otherwise. Equivalent to the `!=` operator.",a:"Not equal.",m:[2,2],p:[{name:"value1",detail:"The first value.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The value to test against `value1` for inequality.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"EQ",t:11,d:"Returns `TRUE` if two specified values are equal and `FALSE` otherwise. Equivalent to the `==` operator.",a:"Equal.",m:[2,2],p:[{name:"value1",detail:"The first value.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The value to test against `value1` for equality.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GT",t:11,d:"Returns `TRUE` if the first argument is strictly greater than the second, and `FALSE` otherwise. Equivalent to the `>` operator.",a:"Strictly greater than.",m:[2,2],p:[{name:"value1",detail:"The value to test as being greater than `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GTE",t:11,d:"Returns `TRUE` if the first argument is greater than or equal to the second, and `FALSE` otherwise. Equivalent to the `>=` operator.",a:"Greater than or equal to.",m:[2,2],p:[{name:"value1",detail:"The value to test as being greater than or equal to `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LT",t:11,d:"Returns `TRUE` if the first argument is strictly less than the second, and `FALSE` otherwise. Equivalent to the `<` operator.",a:"Less than.",m:[2,2],p:[{name:"value1",detail:"The value to test as being less than `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LTE",t:11,d:"Returns `TRUE` if the first argument is less than or equal to the second, and `FALSE` otherwise. Equivalent to the `<=` operator.",a:"Less than or equal to.",m:[2,2],p:[{name:"value1",detail:"The value to test as being less than or equal to `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ADD",t:11,d:"Returns the sum of two numbers. Equivalent to the `+` operator.",a:"Sum of two numbers",m:[2,2],p:[{name:"value1",detail:"The first addend.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"The second addend.",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINUS",t:11,d:"Returns the difference of two numbers. Equivalent to the `-` operator.",a:"Difference of two numbers",m:[2,2],p:[{name:"value1",detail:"The minuend, or number to be subtracted from.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"The subtrahend, or number to subtract from `value1`.",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTIPLY",t:11,d:"Returns the product of two numbers. Equivalent to the `*` operator.",a:"Product of two numbers",m:[2,2],p:[{name:"factor1",detail:"The first multiplicand.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"factor2",detail:"The second multiplicand.",example:"B2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DIVIDE",t:11,d:"Returns one number divided by another. Equivalent to the `/` operator.",a:"One number divided by another",m:[2,2],p:[{name:"dividend",detail:"The number to be divided.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCAT",t:11,d:"Returns the concatenation of two values. Equivalent to the `&` operator.",a:"Concatenation of two values",m:[2,2],p:[{name:"value1",detail:"The value to which `value2` will be appended.",example:'"de"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The value to append to `value1`.",example:'"mystify"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UNARY_PERCENT",t:11,d:"Returns a value interpreted as a percentage; that is, `UNARY_PERCENT(100)` equals `1`.",a:"Value interpreted as a percentage.",m:[1,1],p:[{name:"percentage",detail:"The value to interpret as a percentage.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCATENATE",t:12,d:"Appends strings to one another.",a:"Appends strings to one another.",m:[1,255],p:[{name:"string1",detail:"The initial string.",example:'"Super"',require:"m",repeat:"n",type:"rangeall"},{name:"string2",detail:"More strings to append in sequence.",example:'"calla"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CODE",t:12,d:"Returns the numeric Unicode map value of the first character in the string provided.",a:"Numeric unicode map value of character.",m:[1,1],p:[{name:"string",detail:"The string whose first character's Unicode map value will be returned.",example:'"a"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CHAR",t:12,d:"Convert a number into a character according to the current Unicode table.",a:"Gets character associated with number.",m:[1,1],p:[{name:"table_number",detail:"The number of the character to look up from the current Unicode table in decimal format.",example:"97",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ARABIC",t:12,d:"Computes the value of a Roman numeral.",a:"Computes the value of a roman numeral.",m:[1,1],p:[{name:"roman_numeral",detail:"The Roman numeral to format, whose value must be between 1 and 3999, inclusive.",example:'"XIV"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ROMAN",t:12,d:"Formats a number in Roman numerals.",a:"Formats a number in Roman numerals.",m:[1,1],p:[{name:"number",detail:"The number to format, between 1 and 3999, inclusive.",example:"499",require:"m",repeat:"n",type:"rangenumber"}]},{n:"REGEXEXTRACT",t:12,d:"Extracts matching substrings according to a regular expression.",a:"Extracts matching substrings with regular expression.",m:[2,2],p:[{name:"text",detail:"The input text.",example:'"Needle in a haystack"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"The first part of `text` that matches this expression will be returned.",example:'".e{2}dle"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXMATCH",t:12,d:"Whether a piece of text matches a regular expression.",a:"Whether a piece of text matches regular expression.",m:[2,2],p:[{name:"text",detail:"The text to be tested against the regular expression.",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"The regular expression to test the text against.",example:'"S.r"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXREPLACE",t:12,d:"Replaces part of a text string with a different text string using regular expressions.",a:"Replaces text with regular expressions.",m:[3,3],p:[{name:"text",detail:"The text, a part of which will be replaced.",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"The regular expression. All matching instances in `text` will be replaced.",example:'"S.*d"',require:"m",repeat:"n",type:"rangeall"},{name:"replacement",detail:"The text which will be inserted into the original text.",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"T",t:12,d:"Returns string arguments as text, or the empty string if the value is not text.",a:"String arguments as text.",m:[1,1],p:[{name:"value",detail:"The argument to be converted to text.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"FIXED",t:12,d:"Formats a number with a fixed number of decimal places.",a:"Formats number with fixed number of decimal places.",m:[1,3],p:[{name:"number",detail:"The number to format.",example:"3.141592653",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_places",detail:"The number of decimal places to display in the result.",example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"suppress_separator",detail:"Whether or not to suppress the thousands separator used in some locales (e.g. `1,000` becomes `1000`). Separators will be present if this value is 0 or omitted, and absent otherwise.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FIND",t:12,d:"Returns the position at which a string is first found within text where the capitalization of letters matters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, case-sensitive.",m:[2,3],p:[{name:"search_for",detail:"The string to look for within `text_to_search`.",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search.",example:"14",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FINDB",t:12,d:"Returns the position at which a string is first found within text counting each double-character as 2.",a:"Position at which a string is first found within text (binary).",m:[2,3],p:[{name:"search_for",detail:"The string to look for within `text_to_search`.",example:'"new"',require:"m",repeat:"n",type:"rangeall"},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`.",example:'"new year"',require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"JOIN",t:12,d:"Concatenates the elements of one or more one-dimensional arrays using a specified delimiter.",a:"Concatenates elements of arrays with delimiter.",m:[2,255],p:[{name:"delimiter",detail:"The character or string to place between each concatenated value.",example:'" and-a "',require:"m",repeat:"n",type:"rangeall"},{name:"value_or_array1",detail:"The value or values to be appended using `delimiter`.",example:"{1",require:"m",repeat:"n",type:"rangeall"},{name:"value_or_array2",detail:"More values to be appended using `delimiter`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"LEFT",t:12,d:"Returns a substring from the beginning of a specified string.",a:"Substring from beginning of specified string.",m:[1,2],p:[{name:"string",detail:"The string from which the left portion will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"number_of_characters",detail:"The number of characters to return from the left side of `string`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RIGHT",t:12,d:"Returns a substring from the end of a specified string.",a:"A substring from the end of a specified string.",m:[1,2],p:[{name:"string",detail:"The string from which the right portion will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"number_of_characters",detail:"The number of characters to return from the right side of `string`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MID",t:12,d:"Returns a segment of a string.",a:"A segment of a string.",m:[3,3],p:[{name:"string",detail:"The string to extract a segment from.",example:'"get this"',require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The index from the left of `string` from which to begin extracting. The first character in `string` has the index 1.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"extract_length",detail:"The length of the segment to extract.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LEN",t:12,d:"Returns the length of a string.",a:"Length of a string.",m:[1,1],p:[{name:"text",detail:"The string whose length will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LENB",t:12,d:"Returns the length of a string in bytes.",a:"Length of a string in bytes.",m:[1,1],p:[{name:"text",detail:"The string whose length will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LOWER",t:12,d:"Converts a specified string to lowercase.",a:"Converts a specified string to lowercase.",m:[1,1],p:[{name:"text",detail:"The string to convert to lowercase.",example:'"LOREM IPSUM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UPPER",t:12,d:"Converts a specified string to uppercase.",a:"Converts a specified string to uppercase.",m:[1,1],p:[{name:"text",detail:"The string to convert to uppercase.",example:'"lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EXACT",t:12,d:"Tests whether two strings are identical.",a:"Tests whether two strings are identical.",m:[2,2],p:[{name:"string1",detail:"The first string to compare",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"string2",detail:"The second string to compare",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"REPLACE",t:12,d:"Replaces part of a text string with a different text string.",a:"Replaces part of a text string with different text.",m:[4,4],p:[{name:"text",detail:"The text, a part of which will be replaced.",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"position",detail:"The position where the replacement will begin (starting from 1).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"length",detail:"The number of characters in the text to be replaced.",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"new_text",detail:"The text which will be inserted into the original text.",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REPT",t:12,d:"Returns specified text repeated a number of times.",a:"Specified text repeated a number of times.",m:[2,2],p:[{name:"text_to_repeat",detail:"The character or string to repeat.",example:'"ha"',require:"m",repeat:"n",type:"rangeall"},{name:"number_of_repetitions",detail:"The number of times `text_to_repeat` should appear in the value returned.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SEARCH",t:12,d:"Returns the position at which a string is first found within text and ignores capitalization of letters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, ignoring case.",m:[2,3],p:[{name:"search_for",detail:"The string to look for within `text_to_search`.",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search.",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUBSTITUTE",t:12,d:"Replaces existing text with new text in a string.",a:"Replaces existing text with new text in a string.",m:[3,4],p:[{name:"text_to_search",detail:"The text within which to search and replace.",example:'"search for it"',require:"m",repeat:"n",type:"rangeall"},{name:"search_for",detail:"The string to search for within `text_to_search`.",example:'"search for"',require:"m",repeat:"n",type:"rangeall"},{name:"replace_with",detail:"The string that will replace `search_for`.",example:'"Google"',require:"m",repeat:"n",type:"rangeall"},{name:"occurrence_number",detail:"The instance of `search_for` within `text_to_search` to replace with `replace_with`. By default, all occurrences of `search_for` are replaced; however, if `occurrence_number` is specified, only the indicated instance of `search_for` is replaced.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CLEAN",t:12,d:"Returns the text with the non-printable ASCII characters removed.",a:"Removes non-printable characters from a piece of text.",m:[1,1],p:[{name:"text",detail:"The text whose non-printable characters are to be removed.",example:'"AF"&CHAR(31)',require:"m",repeat:"n",type:"rangeall"}]},{n:"TEXT",t:12,d:"Converts a number into text according to a specified format.",a:"Formats a number into text.",m:[2,2],p:[{name:"number",detail:"The number, date, or time to format.",example:"1.23",require:"m",repeat:"n",type:"rangenumber"},{name:"format",detail:"The pattern by which to format the number, enclosed in quotation marks.",example:'"$0.00"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TRIM",t:12,d:"Removes leading, trailing, and repeated spaces in text.",a:"Removes space characters.",m:[1,1],p:[{name:"text",detail:"The text or reference to a cell containing text to be trimmed.",example:'" lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"VALUE",t:12,d:"Converts a string in any of the date, time or number formats that Google Sheets understands into a number.",a:"Converts a date/time/number string into a number.",m:[1,1],p:[{name:"text",detail:"The string containing the value to be converted.",example:'"123"',require:"m",repeat:"n",type:"rangeall"}]},{n:"PROPER",t:12,d:"Capitalizes each word in a specified string.",a:"Capitalizes each word in a specified string.",m:[1,1],p:[{name:"text_to_capitalize",detail:"The text which will be returned with the first letter of each word in uppercase and all other letters in lowercase.",example:'"united states"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CONVERT",t:13,d:"Converts a numeric value to a different unit of measure.",a:"Unit conversion for numbers.",m:[3,3],p:[{name:"value",detail:"The numeric value in `start_unit` to convert to `end_unit`.",example:"5.1",require:"m",repeat:"n",type:"rangenumber"},{name:"start_unit",detail:"The starting unit, the unit currently assigned to `value`.",example:'"g"',require:"m",repeat:"n",type:"rangeall"},{name:"end_unit",detail:"The unit of measure into which to convert the argument, `value`.",example:'"kg"',require:"m",repeat:"n",type:"rangeall"}]},{n:"SUMX2MY2",t:14,d:"Calculates the sum of the differences of the squares of values in two arrays.",a:"Sum of the differences of squares.",m:[2,2],p:[{name:"array_x",detail:"The array or range of values whose squares will be reduced by the squares of corresponding entries in `array_y` and added together.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"The array or range of values whose squares will be subtracted from the squares of corresponding entries in `array_x` and added together.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMX2PY2",t:14,d:"Calculates the sum of the sums of the squares of values in two arrays.",a:"Sum of the sums of squares.",m:[2,2],p:[{name:"array_x",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_y` and added together.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_x` and added together.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMXMY2",t:14,d:"Calculates the sum of the squares of differences of values in two arrays.",a:"Sum of the squares of differences.",m:[2,2],p:[{name:"array_x",detail:"The array or range of values that will be reduced by corresponding entries in `array_y`, squared, and added together.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"The array or range of values that will be subtracted from corresponding entries in `array_x`, the result squared, and all such results added together.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRANSPOSE",t:14,d:"Transposes the rows and columns of an array or range of cells.",a:"Transposes the rows and columns of an array.",m:[1,1],p:[{name:"array_or_range",detail:"The array or range whose rows and columns will be swapped.",example:"{1,2}",require:"m",repeat:"n",type:"range"}]},{n:"TREND",t:14,d:"Given partial data about a linear trend, fits an ideal linear trend using the least squares method and/or predicts further values.",a:"Fits points to linear trend derived via least-squares.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit.",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"b",detail:"Given a general linear form of `y = m*x+b` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FREQUENCY",t:14,d:"Calculates the frequency distribution of a one-column array into specified classes.",a:"The frequency distribution of array.",m:[2,2],p:[{name:"data",detail:"The array or range containing the values to be counted.",example:"A2:A40",require:"m",repeat:"n",type:"rangenumber"},{name:"classes",detail:"The array or range containing the set of classes.",example:"B2:B5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GROWTH",t:14,d:"Given partial data about an exponential growth trend, fits an ideal exponential growth trend and/or predicts further values.",a:"Fits points to exponential growth trend.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit.",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LINEST",t:14,d:"Given partial data about a linear trend, calculates various parameters about the ideal linear trend using the least-squares method.",a:"Best-fit linear trend via least-squares.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"calculate_b",detail:"Given a linear form of `y = m*x+b`, calculates the y-intercept (`b`) if `TRUE`. Otherwise, forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the linear coefficients and the y-intercept (default).",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOGEST",t:14,d:"Given partial data about an exponential growth curve, calculates various parameters about the best fit ideal exponential growth curve.",a:"Best-fit exponential growth curve.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the calculated coefficient and exponents.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"MDETERM",t:14,d:"Returns the matrix determinant of a square matrix specified as an array or range.",a:"Matrix determinant of a square matrix.",m:[1,1],p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose determinant will be calculated.",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINVERSE",t:14,d:"Returns the multiplicative inverse of a square matrix specified as an array or range.",a:"Multiplicative inverse of square matrix.",m:[1,1],p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose multiplicative inverse will be calculated.",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MMULT",t:14,d:"Calculates the matrix product of two matrices specified as arrays or ranges.",a:"The matrix product of two matrices.",m:[2,2],p:[{name:"matrix1",detail:"The first matrix in the matrix multiplication operation, represented as an array or range.",example:"A1:B3",require:"m",repeat:"n",type:"rangenumber"},{name:"matrix2",detail:"The second matrix in the matrix multiplication operation, represented as an array or range.",example:"C1:F2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMPRODUCT",t:14,d:"Calculates the sum of the products of corresponding entries in two equal-sized arrays or ranges.",a:"Sum of products of elements in two arrays.",m:[1,255],p:[{name:"array1",detail:"The first array or range whose entries will be multiplied with corresponding entries in the second such array or range.",example:"A2:C5",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:"The second array or range whose entries will be multiplied with corresponding entries in the first such array or range.",example:"D2:F5",require:"o",repeat:"y",type:"rangenumber"}]},{n:"ISFORMULA",t:15,d:"Checks whether a value is a formula.",a:"Whether a value is a formula.",m:[1,1],p:[{name:"cell",detail:"The cell to be verified as containing a formula.",example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"CELL",t:15,d:"Returns the requested information about the specified cell.",a:"Gets information about a cell.",m:[2,2],p:[{name:"info_type",detail:"The type of information requested (see article for available types)",example:'"type"',require:"m",repeat:"n",type:"rangeall"},{name:"reference",detail:"The reference to the cell.",example:"C2",require:"m",repeat:"n",type:"range"}]},{n:"NA",t:15,d:'Returns the "value not available" error, `#N/A`.',a:"The `#N/A` error.",m:[0,0],p:[]},{n:"ERROR_TYPE",t:15,d:"Returns a number corresponding to the error value in a different cell.",a:"Error value of cell (as number).",m:[1,1],p:[{name:"reference",detail:"The cell to find the error number for although you can also provide the error value directly.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISBLANK",t:15,d:"Checks whether the referenced cell is empty.",a:"Whether the referenced cell is empty.",m:[1,1],p:[{name:"value",detail:"Reference to the cell that will be checked for emptiness.",example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISERR",t:15,d:"Checks whether a value is an error other than `#N/A`.",a:"Whether a value is an error other than `#n/a`.",m:[1,1],p:[{name:"value",detail:"The value to be verified as an error type other than `#N/A`.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISERROR",t:15,d:"Checks whether a value is an error.",a:"Whether a value is an error.",m:[1,1],p:[{name:"value",detail:"The value to be verified as an error type.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISLOGICAL",t:15,d:"Checks whether a value is `TRUE` or `FALSE`.",a:"Whether a value is `true` or `false`.",m:[1,1],p:[{name:"value",detail:"The value to be verified as a logical `TRUE` or `FALSE`.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNA",t:15,d:"Checks whether a value is the error `#N/A`.",a:"Whether a value is the error `#n/a`.",m:[1,1],p:[{name:"value",detail:"The value to be compared with the error value `#N/A`.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNONTEXT",t:15,d:"Checks whether a value is non-textual.",a:"Whether a value is non-textual.",m:[1,1],p:[{name:"value",detail:"The value to be checked.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNUMBER",t:15,d:"Checks whether a value is a number.",a:"Whether a value is a number.",m:[1,1],p:[{name:"value",detail:"The value to be verified as a number.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISREF",t:15,d:"Checks whether a value is a valid cell reference.",a:"Whether a value is a valid cell reference.",m:[1,1],p:[{name:"value",detail:"The value to be verified as a cell reference.",example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISTEXT",t:15,d:"Checks whether a value is text.",a:"Whether a value is text.",m:[1,1],p:[{name:"value",detail:"The value to be verified as text.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TYPE",t:15,d:"Returns a number associated with the type of data passed into the function.",a:"Get the type of a value.",m:[1,1],p:[{name:"value",detail:"The value whose type is to be determined.",example:"C4",require:"m",repeat:"n",type:"rangeall"}]},{n:"N",t:15,d:"Returns the argument provided as a number. Text is converted to 0 and errors are returned as-is.",a:"Argument provided as a number.",m:[1,1],p:[{name:"value",detail:"The argument to be converted to a number.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DATE",t:16,d:"Converts a provided number to a date.",a:"Converts a provided number to a date.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a date.",example:"25405",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PURE_NUMBER",t:16,d:"Converts a provided date/time, percentage, currency or other formatted numeric value to a pure number without formatting.",a:"Converts any numeric value to a pure number.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a pure number.",example:"50%",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_TEXT",t:16,d:"Converts a provided numeric value to a text value.",a:"Converts a provided numeric value to a text value.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to text.",example:"24",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DOLLARS",t:16,d:"Converts a provided number to a dollar value.",a:"Converts a provided number to a dollar value.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a dollar value.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PERCENT",t:16,d:"Converts a provided number to a percentage.",a:"Converts a provided number to a percentage.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a percentage.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DGET",t:17,d:"Returns a single value from a database table-like array or range using a SQL-like query.",a:"Single value from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMAX",t:17,d:"Returns the maximum value selected from a database table-like array or range using a SQL-like query.",a:"Maximum of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMIN",t:17,d:"Returns the minimum value selected from a database table-like array or range using a SQL-like query.",a:"Minimum of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DAVERAGE",t:17,d:"Returns the average of a set of values selected from a database table-like array or range using a SQL-like query.",a:"Average of a set of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNT",t:17,d:"Counts numeric values selected from a database table-like array or range using a SQL-like query.",a:"Counts values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNTA",t:17,d:"Counts values, including text, selected from a database table-like array or range using a SQL-like query.",a:"Counts values and text from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DPRODUCT",t:17,d:"Returns the product of values selected from a database table-like array or range using a SQL-like query.",a:"Product of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEV",t:17,d:"Returns the standard deviation of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of population sample from table.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEVP",t:17,d:"Returns the standard deviation of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of entire population from table.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSUM",t:17,d:"Returns the sum of values selected from a database table-like array or range using a SQL-like query.",a:"Sum of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVAR",t:17,d:"Returns the variance of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Variance of population sample from table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVARP",t:17,d:"Returns the variance of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Variance of a population from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"AGE_BY_IDCARD",t:"3",d:"Calculate the age based on the Chinese ID number. Support 15 or 18",a:"Get age based on ID number.",m:[1,2],p:[{name:"ID number",example:"A1",detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"},{name:"Deadline",example:'"2017-10-01"',detail:"The deadline or range of age calculation. The default is the current day.",require:"o",repeat:"n",type:"rangedatetime"}]},{n:"SEX_BY_IDCARD",t:"3",d:"Calculate gender based on Chinese ID number. Support 15 or 18",a:"Get gender based on ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIRTHDAY_BY_IDCARD",t:"3",d:"Calculate the birthday based on the Chinese ID number. Support 15 or 18",a:"Get the birthday based on the ID number.",m:[1,2],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"},{name:"Birthday format",example:"0",detail:"Date type, default:0:[1900/01/01], 1:[1900-01-01], 2:[1900\u5E741\u67081\u65E5]",require:"o",repeat:"n",type:"rangeall"}]},{n:"PROVINCE_BY_IDCARD",t:"3",d:"Calculate the province of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the province of birthplace based on the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"CITY_BY_IDCARD",t:"3",d:"Calculate the city of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the city of birthplace based on the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"STAR_BY_IDCARD",t:"3",d:"Calculate the constellation based on the Chinese ID number. Support 15 or 18",a:"Get the constellation based on the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"ANIMAL_BY_IDCARD",t:"3",d:"Calculate the zodiac (rat, ox, tiger, rabbit...) based on the Chinese ID number. Support 15 or 18",a:"Get the zodiac according to the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISIDCARD",t:"3",d:"Verify that the format of the ID card is correct. Support 15 or 18",a:"Verify the correctness of the ID card format.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"DM_TEXT_CUTWORD",t:"4",d:"Text segmentation. Split a series of words into a series of individual words",a:"Chinese text segmentation.",m:[1,2],p:[{name:"Text",example:'"I came to Beijing Tsinghua University"',detail:"Any text that needs word segmentation.",require:"m",repeat:"n",type:"rangeall"},{name:"Word segmentation mode",example:"0",detail:"The default is 0[precision mode], 1[full mode], 2[search engine mode].",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TFIDF",t:"4",d:"Use tf-idf algorithm for keyword extraction. Identify keywords from a series of text",a:"tf-idf keyword recognition.",m:[1,3],p:[{name:"Text",example:'"I came to Beijing Tsinghua University"',detail:"Any text that needs word segmentation.",require:"m",repeat:"n",type:"rangeall"},{name:"Number of keywords",example:"20",detail:"The number of keywords returned by the algorithm, the default is 20",require:"o",repeat:"n",type:"rangenumber"},{name:"Corpus",example:"1",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TEXTRANK",t:"4",d:"Use TextRank algorithm to extract keywords. Identify keywords from a series of text",a:"TextRank keyword recognition.",m:[1,3],p:[{name:"Text",example:'"I came to Beijing Tsinghua University"',detail:"Any text that needs word segmentation.",require:"m",repeat:"n",type:"rangeall"},{name:"Number of keywords",example:"20",detail:"The number of keywords returned by the algorithm, the default is 20",require:"o",repeat:"n",type:"rangenumber"},{name:"Corpus",example:"1",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_CLOSE",t:"5",d:"According to the stock code and date, return the corresponding stock closing price of A shares.",a:"Returns the closing price of stock.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_OPEN",t:"5",d:"According to the stock code and date, return the opening price of stock.",a:"Return the opening price of a shares.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MAX",t:"5",d:"According to the stock code and date, return the highest price of stock.",a:"Return the highest price of stock.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MIN",t:"5",d:"According to the stock code and date, return the lowest price of stock.",a:"Returns the lowest price of stock.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_VOLUMN",t:"5",d:"According to the stock code and date, return the corresponding stock trading volume of A shares.",a:"Returns the corresponding stock trading volume of A shares.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_AMOUNT",t:"5",d:"According to the stock code and date, return the corresponding stock turnover of A shares.",a:"Returns the corresponding stock turnover of A shares.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ISDATE",t:"6",d:"Returns whether a value is a date.",a:"Whether a value is a date.",m:[1,1],p:[{name:"value",example:'"1990-01-01"',detail:"The value to be verified as a date.",require:"m",repeat:"n",type:"rangeall"}]},{n:"LINESPLINES",t:"3",d:"Generate sparklines embedded in the cell to describe the continuous trend of data",a:"Generate sparklines line chart",m:[1,8],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Line color",example:"#2ec7c9",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"Line thickness",example:"1",detail:"Line thickness of the line graph, the default is 1px",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line",example:"avg",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line color",example:"#000",detail:"Color setting of auxiliary line, same as line color configuration, default #000",require:"o",repeat:"n",type:"rangeall"},{name:"Maximum mark",example:"#fc5c5c",detail:"Identifies the maximum value of the line graph, the same line color configuration, default 0 does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Minimum mark",example:"#fc5c5c",detail:"Identify the minimum value of the line graph, the same line color configuration, default 0 does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Mark size",example:"1.5",detail:"The maximum and minimum mark size settings, the default is 1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"AREASPLINES",t:"3",d:"Generate sparklines embedded in the cell area chart, generally used to describe the continuous cumulative value trend of the data",a:"Generate sparklines area chart",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Line color",example:"#2ec7c9",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"Fill color",example:"#CCF3F4",detail:"Form an area chart, the same line color configuration, default 0 does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Line thickness",example:"1",detail:"Line thickness of the line graph, the default is 1px",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line",example:"avg",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line color",example:"#000",detail:"Color setting of auxiliary line, same as line color configuration, default #000",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNSPLINES",t:"3",d:"Generate sparklines embedded in the vertical histogram of cells, generally used to describe the size of discrete data",a:"Generate sparklines vertical histogram",m:[1,6],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar color",example:"#fc5c5c",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"Negative bar color",example:"#97b552",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKCOLUMNSPLINES",t:"3",d:"Generate sparklines, a cumulative vertical histogram embedded in a cell, generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative vertical histogram",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Stack by column",example:"1",detail:"If you need to stack by row, set this item to false or 0, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BARSPLINES",t:"3",d:"Generate sparklines embedded in the cell, generally used to describe the size of discrete data",a:"Generate sparklines horizontal bar graph",m:[1,6],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar color",example:"#fc5c5c",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"Negative bar color",example:"#97b552",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKBARSPLINES",t:"3",d:"Generate sparklines, a cumulative horizontal bar graph embedded in a cell, which is generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative horizontal bar graph",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Stack by column",example:"1",detail:"If you need to stack by row, set this item to false or 0, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"DISCRETESPLINES",t:"3",d:"Generate sparklines embedded in the cell, generally used to describe the trend of discrete data",a:"Generate sparklines discrete graph",m:[1,4],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Segmentation threshold",example:"1",detail:"Discrete graph column color distinction, for example: if the value is 0, blue is greater than 0, red is less than 0, and the default is 0",require:"o",repeat:"n",type:"rangeall"},{name:"Above threshold color",example:"#2ec7c9",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"Below threshold color",example:"#fc5c5c",detail:"The color setting of the bar below the threshold, the same as the color above the threshold, default #fc5c5c",require:"o",repeat:"n",type:"rangeall"}]},{n:"TRISTATESPLINES",t:"3",d:"Generate sparklines, a three-state graph embedded in the cell, which is generally used to describe the trend of three situations, such as winning, losing, or drawing.",a:"Generate sparklines three-state graph",m:[1,6],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar color",example:"#fc5c5c",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"Negative bar color",example:"#97b552",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552",require:"o",repeat:"n",type:"rangeall"},{name:"Zero value bar color",example:"#999",detail:"Zero value bar color setting, representing 0 value color, the same color configuration of the bar, default #999",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty",require:"o",repeat:"y",type:"rangeall"}]},{n:"PIESPLINES",t:"3",d:"Generate sparklines pie chart embedded in the cell, generally used to describe the proportion of data",a:"Generate sparklines pie chart",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Rotation angle",example:"0",detail:"The rotation angle of the pie chart, the default is 0",require:"o",repeat:"n",type:"rangeall"},{name:"border",example:"0",detail:"Pie chart border size, default is none 0",require:"o",repeat:"n",type:"rangeall"},{name:"Border color",example:"#000",detail:"The border color of the pie chart, the default is #000",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color of the slice can be set in the palette, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BOXSPLINES",t:"3",d:"Generate sparklines embedded in the cell box plot, generally used to describe the statistical distribution of the data set",a:"Generate sparklines box plot",m:[1,4],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Outlier ratio",example:"1.5",detail:"The threshold range of outliers, if it is 0 or false, it will not be displayed, the default is 1.5 times",require:"o",repeat:"n",type:"rangeall"},{name:"Target value",example:"10",detail:"The target value setting on the box plot, the default is false and does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Point size",example:"1.5",detail:"The radius of the target point and outlier is set, the default is 1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"BULLETSPLINES",t:"3",d:"Generate sparklines embedded in the cell, generally used to describe the task achievement rate",a:"Generating sparklines bullets",m:[2,3],p:[{name:"Target",example:"10",detail:"The numerical value can be calculated effectively for the achieved target value, such as A1, 100, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"achieved",example:"8",detail:"Only when the value is completed can the value be calculated effectively, such as A1, 100, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Contrast",example:"12",detail:"Comparative values, such as excess, minimum, and bottom line for awards, can be effectively calculated, such as A1, 100, etc. You can set up to 9 comparison values",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMPOSESPLINES",t:"3",d:"Support multiple types of pictures in the same cell, each parameter represents a sparklines diagram",a:"Combine sparklines graphs into one cell",m:[1,1],p:[{name:"config",example:"PIESPLINES(A1:A20)",detail:"Sparklines chart settings, such as A1:A20, a completed pie chart, line chart settings, etc.",require:"m",repeat:"y",type:"rangeall"}]},{n:"SORT",t:"14",d:"Sorts the rows of a given array or range by the values in one or more columns.",a:"Sorts rows of range by specified column.",m:[1,4],p:[{name:"range",detail:"The data to be sorted.",example:"A2:A17",require:"m",repeat:"n",type:"rangenumber"},{name:"sort_column",detail:"The index of the column in `range` or a range outside of `range` containing the values by which to sort.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"is_ascending",detail:"`TRUE` or `FALSE` indicating whether to sort `sort_column` in ascending order. `FALSE` sorts in descending order.",example:"-1",require:"o",repeat:"n",type:"rangenumber"},{name:"sort_column2",detail:"Additional columns.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FILTER",t:"14",d:"Returns a filtered version of the source range, returning only rows or columns which meet the specified conditions.",a:"Filters a range based off provided conditions.",m:[2,3],p:[{name:"range",detail:"The data to be filtered.",example:"A5:D20",require:"m",repeat:"n",type:"range"},{name:"condition1",detail:"A column or row containing true or false values corresponding to the first column or row of `range`, or an array formula evaluating to true or false.",example:"1",require:"m",repeat:"n",type:"range"},{name:"condition2",detail:"Additional rows or columns containing boolean values `TRUE` or `FALSE` indicating whether the corresponding row or column in `range` should pass through `FILTER`. Can also contain array formula expressions which evaluate to such rows or columns. All conditions must be of the same type (row or column). Mixing row conditions and column conditions is not permitted.",example:'""',require:"o",repeat:"n",type:"rangeall"}]},{n:"UNIQUE",t:"14",d:"Returns unique rows in the provided source range, discarding duplicates. Rows are returned in the order in which they first appear in the source range.",a:"Unique rows in the provided source range.",m:[1,3],p:[{name:"range",detail:"The data to filter by unique entries.",example:"A2:B26",require:"m",repeat:"n",type:"rangenumber"},{name:"by_col",detail:"[Option] - Logical value, indicating how to compare; by row = FALSE() or omitted; by column = TRUE().",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"occurs_once",detail:"[Option] - Logical value, only one occurrence in the unique value is returned = TRUE(); including all unique values = FALSE() or omitted.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANDARRAY",t:"14",d:"Returns a grid of random numbers between 0 inclusive and 1 exclusive. The grid size will match the provided rows and columns arguments. If neither rows nor columns are provided, then the grid will be size 1 x 1.",a:"Returns a grid of random numbers.",m:[0,2],p:[{name:"rows",detail:"The number of rows to populate with a random number.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"columns",detail:"The number of columns to populate with a random number.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SEQUENCE",t:"14",d:"Returns a grid of sequential numbers starting at a specified start value and increasing by a specified step size. By default, the sequence starts at and increases by 1.",a:"Returns a grid of sequential numbers.",m:[1,4],p:[{name:"rows",detail:"The number of rows in the function's resulting grid.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"columns",detail:"The number of columns in the function's resulting grid. If omitted, the result grid will have 1 column.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"start",detail:"The number, at which to start the sequence. If omitted, the sequence will start at 1.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"step",detail:"The amount each value in the sequence will differ by. If omitted, each value will differ by 1.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"EVALUATE",t:"3",d:"Evaluate a formula or expression expressed in words and return the result",a:"Evaluate according to literal formula or expression.",m:[1,1],p:[{name:"expression",example:'"A1+5*2^2"',detail:"Formula or expression",require:"m",repeat:"n",type:"rangeall"}]},{n:"REMOTE",t:"5",d:"Calls a function on a remote server",a:"Calls a function on a remote back end server/API.",m:[1,1],p:[{name:"remote_expression",example:"SUM(A1:A10000000)",detail:"Formula",require:"m",repeat:"n",type:"string"}]}],toolbar:{undo:"Undo",redo:"Redo",paintFormat:"Paint format",currencyFormat:"Format as currency",percentageFormat:"Format as percent",numberDecrease:"Decrease decimal places",numberIncrease:"Increase decimal places",moreFormats:"More formats",font:"Font",fontSize:"Font size",bold:"Bold (Ctrl+B)",italic:"Italic (Ctrl+I)",strikethrough:"Strikethrough (Alt+Shift+5)",underline:"Underline",textColor:"Text color",chooseColor:"choose color",resetColor:"Reset",customColor:"CUSTOM",alternatingColors:"Alternating colors",confirmColor:"OK",cancelColor:"Cancel",collapse:"Collapse",fillColor:"Fill color",border:"Border",borderStyle:"Border style",mergeCell:"Merge cells",chooseMergeType:"Choose merge type",horizontalAlign:"Horizontal align",verticalAlign:"Vertical align",alignment:"Alignment",textWrap:"Text wrap",textWrapMode:"Text wrap mode",textRotate:"Text rotate",textRotateMode:"Text rotate mode",freezeTopRow:"Freeze top row",sortAndFilter:"Sort and filter",findAndReplace:"Find and replace",sum:"SUM",autoSum:"Auto SUM",moreFunction:"More functions",conditionalFormat:"Conditional format",postil:"Comment",pivotTable:"Pivot Table",chart:"Chart",screenshot:"Screenshot",splitColumn:"Split text",insertImage:"Insert image",insertLink:"Insert link",dataVerification:"Data verification",protection:"Protect the sheet",clearText:"Clear color",noColorSelectedText:"No color is selected",toolMore:"More",toolLess:"Less",toolClose:"Close",toolMoreTip:"More features",moreOptions:"More options",cellFormat:"Cell format config",print:"Print"},alternatingColors:{applyRange:"Apply to range",selectRange:"Select a data range",header:"Header",footer:"Footer",errorInfo:"Cannot perform this operation on multiple selection areas, please select a single area and try again",textTitle:"Format style",custom:"CUSTOM",close:"close",selectionTextColor:"Click to select text color",selectionCellColor:"Click to select cell color",removeColor:"Remove alternating colors",colorShow:"color",currentColor:"Current",tipSelectRange:"Please select the range of alternating colors",errorNoRange:"No range is selected",errorExistColors:"Alternating colors already exist and cannot be edited"},button:{confirm:"OK",cancel:"Cancel",close:"Close",update:"Update",delete:"Delete",insert:"Insert",prevPage:"Previous",nextPage:"Next",total:"total:"},paint:{start:"Paint format start",end:"ESC",tipSelectRange:"Please select the range to be copied",tipNotMulti:"Cannot perform this operation on multiple selection ranges"},format:{moreCurrency:"More currency formats",moreDateTime:"More date and time formats",moreNumber:"More number formats",titleCurrency:"Currency formats",decimalPlaces:"Decimal places",titleDateTime:"Date and time formats",titleNumber:"Number formats"},info:{detailUpdate:"New opened",detailSave:"Local cache restored",row:"",column:"",loading:"Loading...",copy:"Copy",return:"Exit",rename:"Rename",tips:"WorkBook rename",noName:"Untitled spreadsheet",wait:"waiting for update",add:"Add",addLast:"more rows at bottom",backTop:"Back to the top",pageInfo:"Total ${total}\uFF0C${totalPage} page\uFF0Ccurrent ${currentPage}",nextPage:"Next",tipInputNumber:"Please enter the number",tipInputNumberLimit:"The increase range is limited to 1-100",tipRowHeightLimit:"Row height must be between 0 ~ 545",tipColumnWidthLimit:"The column width must be between 0 ~ 2038",pageInfoFull:"Total ${total}\uFF0C${totalPage} page\uFF0CAll data displayed"},currencyDetail:{RMB:"RMB",USdollar:"US dollar",EUR:"EUR",GBP:"GBP",HK:"HK",JPY:"JPY",AlbanianLek:"Albanian Lek",AlgerianDinar:"Algerian Dinar",Afghani:"Afghani",ArgentinePeso:"Argentine Peso",UnitedArabEmiratesDirham:"United Arab Emirates Dirham",ArubanFlorin:"Aruban Florin",OmaniRial:"Omani Rial",Azerbaijanimanat:"Azerbaijani manat",EgyptianPound:"Egyptian Pound",EthiopianBirr:"Ethiopian Birr",AngolaKwanza:"Angola Kwanza",AustralianDollar:"Australian Dollar",Patacas:"Patacas",BarbadosDollar:"Barbados Dollar",PapuaNewGuineaKina:"Papua New Guinea Kina",BahamianDollar:"Bahamian Dollar",PakistanRupee:"Pakistan Rupee",ParaguayanGuarani:"Paraguayan Guarani",BahrainiDinar:"Bahraini Dinar",PanamanianBalboa:"Panamanian Balboa",Brazilianreal:"Brazilian real",Belarusianruble:"Belarusian ruble",BermudianDollar:"Bermudian Dollar",BulgarianLev:"Bulgarian Lev",IcelandKrona:"Iceland Krona",BosniaHerzegovinaConvertibleMark:"Bosnia-Herzegovina Convertible Mark",PolishZloty:"Polish Zloty",Boliviano:"Boliviano",BelizeDollar:"Belize Dollar",BotswanaPula:"Botswana Pula",NotDannuzhamu:"Not Dannuzhamu",BurundiFranc:"Burundi Franc",NorthKoreanWon:"North Korean Won",DanishKrone:"Danish Krone",EastCaribbeanDollar:"East Caribbean Dollar",DominicaPeso:"Dominica Peso",RussianRuble:"Russian Ruble",EritreanNakfa:"Eritrean Nakfa",CFAfranc:"CFA franc",PhilippinePeso:"Philippine Peso",FijiDollar:"Fiji Dollar",CapeVerdeEscudo:"Cape Verde Escudo",FalklandIslandsPound:"Falkland Islands Pound",GambianDalasi:"Gambian Dalasi",Congolesefranc:"Congolese franc",ColombianPeso:"Colombian Peso",CostaRicanColon:"Costa Rican Colon",CubanPeso:"Cuban Peso",Cubanconvertiblepeso:"Cuban convertible peso",GuyanaDollar:"Guyana Dollar",KazakhstanTenge:"Kazakhstan Tenge",Haitiangourde:"Haitian gourde",won:"won",NetherlandsAntillesGuilder:"Netherlands Antilles Guilder",Honduraslempiras:"Honduras lempiras",DjiboutiFranc:"Djibouti Franc",KyrgyzstanSom:"Kyrgyzstan Som",GuineaFranc:"Guinea Franc",CanadianDollar:"Canadian Dollar",GhanaianCedi:"Ghanaian Cedi",Cambodianriel:"Cambodian riel",CzechKoruna:"Czech Koruna",ZimbabweDollar:"Zimbabwe Dollar",QatariRiyal:"Qatari Riyal",CaymanIslandsDollar:"Cayman Islands Dollar",Comorianfranc:"Comorian franc",KuwaitiDinar:"Kuwaiti Dinar",CroatianKuna:"Croatian Kuna",KenyanShilling:"Kenyan Shilling",LesothoLoti:"Lesotho Loti",LaoKip:"Lao Kip",LebanesePound:"Lebanese Pound",Lithuanianlitas:"Lithuanian litas",LibyanDinar:"Libyan Dinar",LiberianDollar:"Liberian Dollar",RwandaFranc:"Rwanda Franc",RomanianLeu:"Romanian Leu",MalagasyAriary:"Malagasy Ariary",MaldivianRufiyaa:"Maldivian Rufiyaa",MalawiKwacha:"Malawi Kwacha",MalaysianRinggit:"Malaysian Ringgit",MacedoniawearingDinar:"Macedonia wearing Dinar",MauritiusRupee:"Mauritius Rupee",MauritanianOuguiya:"Mauritanian Ouguiya",MongolianTugrik:"Mongolian Tugrik",BangladeshiTaka:"Bangladeshi Taka",PeruvianNuevoSol:"Peruvian Nuevo Sol",MyanmarKyat:"Myanmar Kyat",MoldovanLeu:"Moldovan Leu",MoroccanDirham:"Moroccan Dirham",MozambiqueMetical:"Mozambique Metical",MexicanPeso:"Mexican Peso",NamibianDollar:"Namibian Dollar",SouthAfricanRand:"South African Rand",SouthSudanesePound:"South Sudanese Pound",NicaraguaCordoba:"Nicaragua Cordoba",NepaleseRupee:"Nepalese Rupee",NigerianNaira:"Nigerian Naira",NorwegianKrone:"Norwegian Krone",GeorgianLari:"Georgian Lari",RMBOffshore:"RMB (Offshore)",SwedishKrona:"Swedish Krona",SwissFranc:"Swiss Franc",SerbianDinar:"Serbian Dinar",SierraLeone:"Sierra Leone",SeychellesRupee:"Seychelles Rupee",SaudiRiyal:"Saudi Riyal",SaoTomeDobra:"Sao Tome Dobra",SaintHelenapound:"Saint Helena pound",SriLankaRupee:"Sri Lanka Rupee",SwazilandLilangeni:"Swaziland Lilangeni",SudanesePound:"Sudanese Pound",Surinamesedollar:"Surinamese dollar",SolomonIslandsDollar:"Solomon Islands Dollar",SomaliShilling:"Somali Shilling",TajikistanSomoni:"Tajikistan Somoni",PacificFranc:"Pacific Franc",ThaiBaht:"Thai Baht",TanzanianShilling:"Tanzanian Shilling",TonganPaanga:"Tongan Pa'anga",TrinidadandTobagoDollar:"Trinidad and Tobago Dollar",TunisianDinar:"Tunisian Dinar",TurkishLira:"Turkish Lira",VanuatuVatu:"Vanuatu Vatu",GuatemalanQuetzal:"Guatemalan Quetzal",CommissionBolivar:"Commission Bolivar",BruneiDollar:"Brunei Dollar",UgandanShilling:"Ugandan Shilling",UkrainianHryvnia:"Ukrainian Hryvnia",UruguayanPeso:"Uruguayan Peso",Uzbekistansom:"Uzbekistan som",WesternSamoaTala:"Western Samoa Tala",SingaporeDollar:"Singapore Dollar",NT:"NT",NewZealandDollar:"New Zealand Dollar",HungarianForint:"Hungarian Forint",SyrianPound:"Syrian Pound",JamaicanDollar:"Jamaican Dollar",ArmenianDram:"Armenian Dram",YemeniRial:"Yemeni Rial",IraqiDinar:"Iraqi Dinar",IranianRial:"Iranian Rial",NewIsraeliShekel:"New Israeli Shekel",IndianRupee:"Indian Rupee",IndonesianRupiah:"Indonesian Rupiah",JordanianDinar:"Jordanian Dinar",VND:"VND",ZambianKwacha:"Zambian Kwacha",GibraltarPound:"Gibraltar Pound",ChileanPeso:"Chilean Peso",CFAFrancBEAC:"CFA Franc BEAC"},defaultFmt:[{text:"Automatic",value:"General",example:""},{text:"Plain text",value:"@",example:""},{text:"",value:"split",example:""},{text:"Number",value:"##0.00",example:"1000.12"},{text:"Percent",value:"#0.00%",example:"12.21%"},{text:"Scientific",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"Accounting",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"Currency",value:"\xA50.00",example:"\xA51200.09"},{text:"",value:"split",example:""},{text:"Date",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"Time",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"Time 24H",value:"hh:mm",example:"15:00"},{text:"Date time",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"Date time 24 H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"split",example:""},{text:"Custom formats",value:"fmtOtherSelf",example:"more"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"PM 01:30",value:"AM/PM hh:mm"},{name:"PM 1:30",value:"AM/PM h:mm"},{name:"PM 1:30:30",value:"AM/PM h:mm:ss"},{name:"08-05 PM 01:30",value:"MM-dd AM/PM hh:mm"}],fontFamily:{MicrosoftYaHei:"YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3},border:{borderTop:"borderTop",borderBottom:"borderBottom",borderLeft:"borderLeft",borderRight:"borderRight",borderNone:"borderNone",borderAll:"borderAll",borderOutside:"borderOutside",borderInside:"borderInside",borderHorizontal:"borderHorizontal",borderVertical:"borderVertical",borderColor:"borderColor",borderSize:"borderSize"},merge:{mergeAll:"Merge all",mergeV:"Vertically",mergeH:"Horizontally",mergeCancel:"Unmerge",overlappingError:"Cannot merge overlapping areas",partiallyError:"Cannot perform this operation on partially merged cells"},align:{left:"left",center:"center",right:"right",top:"Top",middle:"Middle",bottom:"Bottom"},textWrap:{overflow:"Overflow",wrap:"Wrap",clip:"Clip"},rotation:{none:"None",angleup:"Tilt Up",angledown:"Tilt Down",vertical:"Stack Vertically",rotationUp:"Rotate Up",rotationDown:"Rotate Down"},freezen:{default:"Freeze",freezenRow:"First Row",freezenColumn:"First Column",freezenRC:"Both",freezenRowRange:"Freezen row range",freezenColumnRange:"Freezen column range",freezenRCRange:"Freezen both range",freezenCancel:"Cancel",noSeletionError:"No Range to be selected"},sort:{asc:"Ascending ",desc:"Descending ",custom:"Custom sort",hasTitle:"Data has a header row",sortBy:"Sort by",addOthers:"Add another sort column",close:"close",confirm:"sort",columnOperation:"Column",secondaryTitle:"then by",sortTitle:"Sort range",sortRangeTitle:"Sort range from",sortRangeTitleTo:"to",noRangeError:"Cannot perform this operation on multiple selection areas, please select a single range and try again",mergeError:"There are merged cells in the selection, this operation cannot be performed!"},filter:{filter:"create filter",sortByAsc:"Sort A-Z",sortByDesc:"Sort Z-A",filterByColor:"Filter by color",filterByCondition:"Filter by condition",filterByValues:"Filter by values",filiterInputNone:"None",filiterInputTip:"Enter filter value",filiterRangeStartTip:"Value for formula",filiterRangeEndTip:"Value for formula",filterValueByAllBtn:"Check all",filterValueByClearBtn:"Clear",filterValueByInverseBtn:"Inverse",filterValueByTip:"filter By Values",filterConform:"Confirm",filterCancel:"Cancel",clearFilter:"Clear filter",conditionNone:"None",conditionCellIsNull:"Is empty",conditionCellNotNull:"Is not empty",conditionCellTextContain:"Text contains",conditionCellTextNotContain:"Text does not contain",conditionCellTextStart:"Text starts with",conditionCellTextEnd:"Text ends with",conditionCellTextEqual:"Text is exactly",conditionCellDateEqual:"Date is",conditionCellDateBefore:"Date is before",conditionCellDateAfter:"Date is after",conditionCellGreater:"Greater than",conditionCellGreaterEqual:"Greater than or equal to",conditionCellLess:"Less than",conditionCellLessEqual:"Less than or equal to",conditionCellEqual:"Is equal to",conditionCellNotEqual:"Is not equal to",conditionCellBetween:"Is between",conditionCellNotBetween:"Is not between",filiterMoreDataTip:"Big amount of data! please wait",filiterMonthText:"Month",filiterYearText:"Year",filiterByColorTip:"Filter by cell color",filiterByTextColorTip:"Filter by font color",filterContainerOneColorTip:"This column contains only one color",filterDateFormatTip:"Date format",valueBlank:"(Null)",mergeError:"There are merged cells in the filter selection, this operation cannot be performed!"},rightclick:{copy:"Copy",copyAs:"Copy as",paste:"Paste",insert:"Insert",delete:"Delete",deleteCell:"Delete cell",deleteSelected:"Delete selected ",hide:"Hide",hideSelected:"Hide selected ",showHide:"Show hidden ",to:"Towards",left:"Left",right:"Right",top:"Top",bottom:"Bottom",moveLeft:"Move left",moveUp:"Move up",add:"Add",row:"Row",column:"Column",width:"Width",height:"Height",number:"Number",confirm:"Confirm",orderAZ:"A-Z order",orderZA:"Z-A order",clearContent:"Clear content",matrix:"Matrix operation",sortSelection:"Sort",filterSelection:"Filter",chartGeneration:"Create chart",firstLineTitle:"first line title",untitled:"untitled",array1:"One-dimensional array",array2:"Two-dimensional array",array3:"Multidimensional Arrays",diagonal:"Diagonal",antiDiagonal:"Anti-diagonal",diagonalOffset:"Diagonal offset",offset:"Offset",boolean:"Boolean",flip:"Flip",upAndDown:"Up and down",leftAndRight:"Left and right",clockwise:"Clockwise",counterclockwise:"Counterclockwise",transpose:"Transpose",matrixCalculation:"Matrix calculation",plus:"Plus",minus:"Minus",multiply:"Multiply",divided:"Divided",power:"Power",root:"Root",log:"Log",delete0:"Delete 0 values at both ends",removeDuplicate:"Remove duplicate values",byRow:"By row",byCol:"By column",generateNewMatrix:"Generate new matrix"},comment:{insert:"Insert",edit:"Edit",delete:"Delete",showOne:"Show/Hide",showAll:"Show/Hide All"},screenshot:{screenshotTipNoSelection:"Please select the scope of the screenshot",screenshotTipTitle:"Warning\uFF01",screenshotTipHasMerge:"This operation cannot be performed on merged cells",screenshotTipHasMulti:"This operation cannot be performed on multiple selection regions",screenshotTipSuccess:"Successful",screenshotImageName:"Screenshot",downLoadClose:"Close",downLoadCopy:"Copy to clipboard",downLoadBtn:"Download",browserNotTip:"not supported by IE browser!",rightclickTip:'Please right-click "copy" on the picture',successTip:'Successfully (if pasting fails, please right-click on the image to "copy image")'},splitText:{splitDelimiters:"Delimiters",splitOther:"Other",splitContinueSymbol:"Consecutive separators are treated as a single",splitDataPreview:"Preview",splitTextTitle:"Split text",splitConfirmToExe:"There is already data here, do you want to replace it?",tipNoMulti:"Cannot perform this operation on multiple selection areas, please select a single area and try again",tipNoMultiColumn:"Only one column of data can be converted at a time. The selected area can have multiple rows but not multiple columns. Please try again after selecting a single column range"},imageText:{imageSetting:"Image setting",close:"Close",conventional:"Conventional",moveCell1:"Move and resize cells",moveCell2:"Move and do not resize the cell",moveCell3:"Do not move and resize the cell",fixedPos:"Fixed position",border:"Border",width:"Width",radius:"Radius",style:"Style",solid:"Solid",dashed:"Dashed",dotted:"Dotted",double:"Double",color:"Color"},punctuation:{tab:"Tab",semicolon:"semicolon",comma:"comma",space:"space"},findAndReplace:{find:"Find",replace:"Replace",goto:"Go to",location:"Location",formula:"Formula",date:"Date",number:"Number",string:"String",error:"Error",condition:"Condition",rowSpan:"Row span",columnSpan:"Column span",locationExample:"Location",lessTwoRowTip:"Please select at least two rows",lessTwoColumnTip:"Please select at least two columns",findTextbox:"Find Content",replaceTextbox:"Replace Content",regexTextbox:"Regular Expression",wholeTextbox:"Whole word",distinguishTextbox:"Case sensitive",allReplaceBtn:"Replace All",replaceBtn:"Replace",allFindBtn:"Find All",findBtn:"Find next",noFindTip:"The content was not found",modeTip:"This operation is not available in this mode",searchTargetSheet:"Sheet",searchTargetCell:"Cell",searchTargetValue:"Value",searchInputTip:"Please enter the search content",noReplceTip:"There is nothing to replace",noMatchTip:"No match found",successTip:"${xlength} items found",locationConstant:"Constant",locationFormula:"Formula",locationDate:"Date",locationDigital:"Number",locationString:"String",locationBool:"Logical",locationError:"Error",locationNull:"Null",locationCondition:"Conditional format",locationRowSpan:"Row span",locationColumnSpan:"Column span",locationTiplessTwoRow:"Please select at least two rows",locationTiplessTwoColumn:"Please select at least two columns",locationTipNotFindCell:"Cell not found"},sheetconfig:{delete:"Delete",copy:"Copy",rename:"Rename",changeColor:"Change color",hide:"Hide",unhide:"Unhide",moveLeft:"Move left",moveRight:"Move right",resetColor:"Reset color",cancelText:"Cancel",chooseText:"Confirm color",tipNameRepeat:"The name of the tab page cannot be repeated! Please revise",noMoreSheet:"The workbook contains at least one visual worksheet. To delete the selected worksheet, please insert a new worksheet or show a hidden worksheet.",confirmDelete:"Are you sure to delete",redoDelete:"Can be undo by Ctrl+Z",noHide:"Can't hide, at least keep one sheet tag",chartEditNoOpt:"This operation is not allowed in chart editing mode!",sheetNameSpecCharError:`The name cannot contain:[ ] : ? * / ' "`,sheetNamecannotIsEmptyError:"Sheet name cannot be empty"},conditionformat:{conditionformat_greaterThan:"Conditionformat-GreaterThan",conditionformat_greaterThan_title:"Format cells greater than",conditionformat_lessThan:"Conditionformat-LessThan",conditionformat_lessThan_title:"Format cells smaller than",conditionformat_betweenness:"Conditionformat-Betweenness",conditionformat_betweenness_title:"Format cells with values between",conditionformat_equal:"Conditionformat-Equal",conditionformat_equal_title:"Format cells equal to",conditionformat_textContains:"Conditionformat-TextContains",conditionformat_textContains_title:"Format cells containing the following text",conditionformat_occurrenceDate:"Conditionformat-OccurrenceDate",conditionformat_occurrenceDate_title:"Format cells containing the following dates",conditionformat_duplicateValue:"Conditionformat-DuplicateValue",conditionformat_duplicateValue_title:"Format cells containing the following types of values",conditionformat_top10:"Conditionformat-Top10",conditionformat_top10_percent:"Conditionformat-Top10%",conditionformat_top10_title:"Format the cells with the highest value",conditionformat_last10:"Conditionformat-Last10",conditionformat_last10_percent:"Conditionformat-Last10%",conditionformat_last10_title:"Format the cells with the smallest value",conditionformat_AboveAverage:"Conditionformat-AboveAverage",conditionformat_AboveAverage_title:"Format cells above average",conditionformat_SubAverage:"Conditionformat-SubAverage",conditionformat_SubAverage_title:"Format cells below average",rule:"Rule",newRule:"New rule",editRule:"Edit rule",deleteRule:"Delete rule",deleteCellRule:"Delete cell rule",deleteSheetRule:"Delete sheet rule",manageRules:"Management rules",showRules:"Show its formatting rules",highlightCellRules:"Highlight cell rules",itemSelectionRules:"Item selection rules",conditionformatManageRules:"Conditional Formatting Rule Manager",format:"Format",setFormat:"Set format",setAs:"Set as",setAsByArea:"For the selected area, set to",applyRange:"Apply range",selectRange:"Select application range",selectRange_percent:"Percentage of selected range",selectRange_average:"Average value of selected range",selectRange_value:"Value in the selected range",pleaseSelectRange:"Please select application range",selectDataRange:"Select data range",selectCell:"select cell",pleaseSelectCell:"Please select cell",pleaseSelectADate:"Please select a date",pleaseEnterInteger:"Please enter an integer between 1 and 1000",onlySingleCell:"Only a single cell can be referenced",conditionValueCanOnly:"The condition value can only be a number or a single cell",ruleTypeItem1:"Format all cells based on their respective values",ruleTypeItem2:"Only format cells that contain",ruleTypeItem2_title:"Only for cells that meet the following conditions",ruleTypeItem3:"Format only the top or bottom numbers",ruleTypeItem3_title:"Is the value in the following ranking",ruleTypeItem4:"Format only values above or below the average",ruleTypeItem4_title:"Is a value that satisfies the following conditions",ruleTypeItem5:"Format only unique or repeated values",ruleTypeItem6:"Use formulas to determine which cells to format",formula:"Formula",textColor:"Text color",cellColor:"Cell color",confirm:"Confirm",confirmColor:"Confirm color",cancel:"Cancel",close:"Close",clearColorSelect:"Clear color select",sheet:"Sheet",currentSheet:"Current Sheet",dataBar:"data bar",dataBarColor:"data bar color",gradientDataBar_1:"Blue-white gradient data bar",gradientDataBar_2:"Green-white gradient data bar",gradientDataBar_3:"Red-white gradient data bar",gradientDataBar_4:"Orange-white gradient stripes",gradientDataBar_5:"Light blue-white gradient stripes",gradientDataBar_6:"Purple-white gradient data bar",solidColorDataBar_1:"Blue data bar",solidColorDataBar_2:"Green data bar",solidColorDataBar_3:"Red data bar",solidColorDataBar_4:"Orange data bar",solidColorDataBar_5:"Light blue data bar",solidColorDataBar_6:"Purple data bar",colorGradation:"color gradation",colorGradation_1:"Green-yellow-red color gradation",colorGradation_2:"Red-yellow-green color gradation",colorGradation_3:"Green-white-red color gradation",colorGradation_4:"Red-white-green color gradation",colorGradation_5:"Blue-white-red color gradation",colorGradation_6:"Red-white-blue color gradation",colorGradation_7:"White-red color gradation",colorGradation_8:"Red-white color gradation",colorGradation_9:"Green-white color gradation",colorGradation_10:"White-green color gradation",colorGradation_11:"Green-yellow color gradation",colorGradation_12:"Yellow-green color gradation",icons:"icons",pleaseSelectIcon:"Please click to select a group of icons:",cellValue:"Cell value",specificText:"Specific text",occurrence:"Date",greaterThan:"Greater than",lessThan:"Less than",between:"Between",equal:"Equal",in:"In",between2:"",contain:"Contain",textContains:"Text contains",duplicateValue:"Duplicate value",uniqueValue:"Unique value",top:"Top",top10:"Top 10",top10_percent:"Top 10%",last:"Last",last10:"Last 10",last10_percent:"Last 10%",oneself:"",above:"Above",aboveAverage:"Above average",below:"Below",belowAverage:"Below average",all:"All",yesterday:"YTD",today:"Today",tomorrow:"Tomorrow",lastWeek:"Last week",thisWeek:"This week",lastMonth:"Last month",thisMonth:"This month",lastYear:"Last year",thisYear:"This year",last7days:"Last 7 days",last30days:"Last 30 days",next7days:"Next 7 days",next30days:"Next 30 days",next60days:"Next 60 days",chooseRuleType:"Choose rule type",editRuleDescription:"Edit rule description",newFormatRule:"New format rule",editFormatRule:"Edit format rule",formatStyle:"Style",fillType:"Fill",color:"Color",twocolor:"Two-color",tricolor:"Tricolor",multicolor:"Multi color",grayColor:"Gray color",gradient:"Gradient",solid:"Solid",maxValue:"Max value",medianValue:"Median value",minValue:"Min value",direction:"Direction",threeWayArrow:"Three-way arrow",fourWayArrow:"Four-way arrow",fiveWayArrow:"Five-way arrow",threeTriangles:"Three triangles",shape:"Shape",threeColorTrafficLight:"Three-color traffic light",fourColorTrafficLight:"Four-color traffic light",threeSigns:"Three signs",greenRedBlackGradient:"Green-red-black gradient",rimless:"Rimless",bordered:"Bordered",mark:"Mark",threeSymbols:"Three symbols",tricolorFlag:"Tricolor flag",circled:"Circled",noCircle:"No circle",grade:"Grade",grade4:"4 Grade",grade5:"5 Grade",threeStars:"3 Stars",fiveQuadrantDiagram:"Five-quadrant diagram",fiveBoxes:"5 Boxes"},insertLink:{linkText:"Text",linkType:"Link type",external:"External link",internal:"Internal link",linkAddress:"Link address",linkSheet:"Worksheet",linkCell:"Cell reference",linkTooltip:"Tooltip",placeholder1:"Please enter the web link address",placeholder2:"Please enter the cell to be quoted, example A1",placeholder3:"Please enter the prompt content",tooltipInfo1:"Please enter a valid link",tooltipInfo2:"Please enter the correct cell reference"},dataVerification:{cellRange:"Cell range",selectCellRange:"Click to select a cell range",selectCellRange2:"Please select a range of cells",verificationCondition:"Verification condition",allowMultiSelect:"Allow multiple selection",dropdown:"drop-down list",checkbox:"Checkbox",number:"Number",number_integer:"Number-integer",number_decimal:"Number-decimal",text_content:"Text-content",text_length:"Text-length",date:"Date",validity:"Effectiveness",placeholder1:"Please enter the options, separated by commas, such as 1,2,3,4,5",placeholder2:"Please enter content",placeholder3:"Numeric value, such as 10",placeholder4:"Please enter the specified text",placeholder5:"Please enter the prompt displayed when the cell is selected",selected:"Selected",notSelected:"Not selected",between:"Between",notBetween:"Not between",equal:"Equal",notEqualTo:"Not equal to",moreThanThe:"More than the",lessThan:"Less than",greaterOrEqualTo:"Greater or equal to",lessThanOrEqualTo:"Less than or equal to",include:"Include",exclude:"Exclude",earlierThan:"Earlier than",noEarlierThan:"No earlier than",laterThan:"Later than",noLaterThan:"No later than",identificationNumber:"Identification number",phoneNumber:"Phone number",remote:"Automatic remote acquisition option",prohibitInput:"Prohibit input when input data is invalid",hintShow:"Show prompt when the cell is selected",deleteVerification:"Delete verification",tooltipInfo1:"The drop-down list option cannot be empty",tooltipInfo2:"Checkbox content cannot be empty",tooltipInfo3:"The value entered is not a numeric type",tooltipInfo4:"The value 2 cannot be less than the value 1",tooltipInfo5:"The text content cannot be empty",tooltipInfo6:"The value entered is not a date type",tooltipInfo7:"Date 2 cannot be less than date 1"},formula:{sum:"Sum",average:"Average",count:"Count",max:"Max",min:"Min",ifGenerate:"If formula generator",find:"Learn more",tipNotBelongToIf:"This cell function does not belong to the if formula!",tipSelectCell:"Please select the cell to insert the function",ifGenCompareValueTitle:"Comparison value",ifGenSelectCellTitle:"Click to select cell",ifGenRangeTitle:"Range",ifGenRangeTo:"to",ifGenRangeEvaluate:"Range evaluate",ifGenSelectRangeTitle:"Click to select range",ifGenCutWay:"Partition way",ifGenCutSame:"Same Partition value",ifGenCutNpiece:"Partition by N",ifGenCutCustom:"Custom",ifGenCutConfirm:"Confirm",ifGenTipSelectCell:"Select cells",ifGenTipSelectCellPlace:"Please select cells",ifGenTipSelectRange:"Select range",ifGenTipSelectRangePlace:"Please select range",ifGenTipNotNullValue:"The comparison value cannot be empty!",ifGenTipLableTitile:"Label",ifGenTipRangeNotforNull:"The range cannot be empty!",ifGenTipCutValueNotforNull:"The partition value cannot be empty!",ifGenTipNotGenCondition:"No conditions are available for generation!"},formulaMore:{valueTitle:"Value",tipSelectDataRange:"Select data range",tipDataRangeTile:"Data range",findFunctionTitle:"Search function",tipInputFunctionName:"Function name or brief description of function",Array:"Array",Database:"Database",Date:"Date",Engineering:"Engineering",Filter:"Filter",Financial:"Financial",luckysheet:"Luckysheet",other:"Other",Logical:"Logical",Lookup:"Lookup",Math:"Math",Operator:"Operator",Parser:"Parser",Statistical:"Statistical",Text:"Text",dataMining:"Data Mining",selectFunctionTitle:"Select a function",calculationResult:"Result",tipSuccessText:"Success",tipParamErrorText:"Parameter type error",helpClose:"Close",helpCollapse:"Collapse",helpExample:"Example",helpAbstract:"Abstract",execfunctionError:"Error in the formula",execfunctionSelfError:"The formula cannot refer to its own cell",execfunctionSelfErrorResult:"The formula cannot refer to its own cell, which will lead to inaccurate calculation results",allowRepeatText:"Repeat",allowOptionText:"Option",selectCategory:"Or select a category"},drag:{noMerge:"Cannot perform this operation on merged cells",affectPivot:"This change cannot be made to the selected cell because it will affect the pivot table!",noMulti:"Cannot perform this operation on multiple selection areas, please select a single area",noPaste:"Unable to paste this content here, please select a cell in the paste area and try to paste again",noPartMerge:"Cannot perform this operation on partially merged cells",inputCorrect:"Please enter the correct value",notLessOne:"The number of rows and columns cannot be less than 1",offsetColumnLessZero:"The offset column cannot be negative!",pasteMustKeybordAlert:"\u5728\u8868\u683C\u4E2D\u8FDB\u884C\u590D\u5236\u7C98\u8D34: Ctrl + C \u8FDB\u884C\u590D\u5236, Ctrl + V \u8FDB\u884C\u7C98\u8D34, Ctrl + X \u8FDB\u884C\u526A\u5207",pasteMustKeybordAlertHTMLTitle:"\u5728\u8868\u683C\u4E2D\u8FDB\u884C\u590D\u5236\u7C98\u8D34",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;\u8FDB\u884C\u590D\u5236<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;\u8FDB\u884C\u7C98\u8D34<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;\u8FDB\u884C\u526A\u5207"},pivotTable:{title:"Pivot Table",closePannel:"Close",editRange:"Range",tipPivotFieldSelected:"Select the fields",tipClearSelectedField:"Clear all fields",btnClearSelectedField:"Clear",btnFilter:"Filter",titleRow:"Row",titleColumn:"Column",titleValue:"Value",tipShowColumn:"Statistics fields are displayed as columns",tipShowRow:"Statistics fields are displayed as rows",titleSelectionDataRange:"Select range",titleDataRange:"Data range",valueSum:"SUM",valueStatisticsSUM:"Sum",valueStatisticsCOUNT:"Count",valueStatisticsCOUNTA:"Count A",valueStatisticsCOUNTUNIQUE:"Count Unique",valueStatisticsAVERAGE:"Average",valueStatisticsMAX:"Max",valueStatisticsMIN:"Min",valueStatisticsMEDIAN:"Median",valueStatisticsPRODUCT:"Product",valueStatisticsSTDEV:"Stdev",valueStatisticsSTDEVP:"Stdevp",valueStatisticslet:"Var",valueStatisticsVARP:"VarP",errorNotAllowEdit:"This operation is prohibited in non-editing mode!",errorNotAllowMulti:"Cannot perform this operation on multiple selection areas, please select a single range and try again",errorSelectRange:"Please select the range of the new pivot table",errorIsDamage:"The source data of this pivot table is corrupted!",errorNotAllowPivotData:"Cannot select pivot table as source data!",errorSelectionRange:"Selection failed, wrong input range!",errorIncreaseRange:"Please expand the selected range!",titleAddColumn:"Add column to pivot table",titleMoveColumn:"Move the column to the white box below",titleClearColumnFilter:"Clear the filter for this column",titleFilterColumn:"Filter",titleSort:"Sort",titleNoSort:"No sort",titleSortAsc:"ASC",titleSortDesc:"DESC",titleSortBy:"Sort by",titleShowSum:"Show total",titleStasticTrue:"Yes",titleStasticFalse:"No"},dropCell:{copyCell:"Copy",sequence:"Sequence",onlyFormat:"Only format",noFormat:"Not format",day:"Day",workDay:"Work Day",month:"Month",year:"Year",chineseNumber:"Chinese numbers"},imageCtrl:{borderTile:"Image border color",borderCur:"Color"},protection:{protectiontTitle:"Protection",enterPassword:"Enter a password (optional)",enterHintTitle:"Prompt when editing is prohibited (optional)",enterHint:"The cell or chart you are trying to change is in a protected worksheet. If you want to change it, please unprotect the worksheet. You may need to enter a password",swichProtectionTip:"Protect the sheet and contents of locked cells",authorityTitle:"Allow users of this sheet to:",selectLockedCells:"Select locked cells",selectunLockedCells:"Select unlocked cells",formatCells:"Format cells",formatColumns:"Format columns",formatRows:"Format rows",insertColumns:"Insert columns",insertRows:"Insert rows",insertHyperlinks:"Insert hyperlinks",deleteColumns:"Delete columns",deleteRows:"Delete rows",sort:"Sort",filter:"Filter",usePivotTablereports:"Use Pivot Table reports",editObjects:"Edit objects",editScenarios:"Edit scenarios",allowRangeTitle:"Allow users of range to:",allowRangeAdd:"New...",allowRangeAddTitle:"Title",allowRangeAddSqrf:"Reference",selectCellRange:"Click to select a cell range",selectCellRangeHolder:"Cell range",allowRangeAddTitlePassword:"Password",allowRangeAddTitleHint:"Prompt",allowRangeAddTitleHintTitle:"Prompt when a password is set (optional)",allowRangeAddtitleDefault:"Input range name",rangeItemDblclick:"Double click to edit",rangeItemHasPassword:"Has password",rangeItemErrorTitleNull:"Title is null",rangeItemErrorRangeNull:"Reference is null",rangeItemErrorRange:"Reference is error",validationTitle:"Password validation",validationTips:"Need to enter a password to unlock the protection of the worksheet",validationInputHint:"Enter a password",checkPasswordNullalert:"Password is required!",checkPasswordWrongalert:"Incorrect password, please try again!",checkPasswordSucceedalert:"Unlock Succeed!",defaultRangeHintText:"The cell is being password protected.",defaultSheetHintText:"The cell or chart is in a protected worksheet. To make changes, please unprotect the worksheet. You may need to enter a password"},cellFormat:{cellFormatTitle:"Format cells",protection:"Protection",locked:"Locked",hidden:"Hidden",protectionTips:"To lock cells or hide formulas, protect the worksheet. On the toolbar, Click Protect Sheet Button",tipsPart:"Partial checked",tipsAll:"All checked",selectionIsNullAlert:"Selection is required!",sheetDataIsNullAlert:"error, Data is none!"},print:{normalBtn:"Normal",layoutBtn:"Page Layout",pageBtn:"Page\u2002break\u2002preview",menuItemPrint:"Print (Ctrl+P)",menuItemAreas:"Print areas",menuItemRows:"Print title rows",menuItemColumns:"Print title columns"},edit:{typing:"typing"},websocket:{success:"WebSocket connection success",refresh:"An error occurred in the WebSocket connection, please refresh the page!",wait:"An error occurred in the WebSocket connection, please be patient!",close:"WebSocket connection closed",contact:"Server communication error occurred, please refresh the page and try again, if not, please contact the administrator!",support:"The current browser does not support WebSocket"}}});var lu,au=Ae(()=>{lu={functionlist:[{n:"SUMIF",t:0,d:"\u5BF9\u8303\u56F4\u4E2D\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u503C\u6C42\u548C\u3002",a:"\u5BF9\u8303\u56F4\u4E2D\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u503C\u6C42\u548C\u3002",m:[2,3],p:[{name:"\u8303\u56F4",detail:"\u8981\u6839\u636E\u6761\u4EF6\u8FDB\u884C\u68C0\u6D4B\u7684\u8303\u56F4\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u6761\u4EF6",detail:`\u8981\u5E94\u7528\u4E8E\u8303\u56F4\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002
\u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6587\u672C\uFF0C\u5219\u6761\u4EF6\u5FC5\u987B\u4E3A\u5B57\u7B26\u4E32\u3002\u6761\u4EF6\u53EF\u4EE5\u5305\u542B\u901A\u914D\u7B26\uFF0C\u5305\u62EC\u7528\u4E8E\u5339\u914D\u5355\u4E2A\u5B57\u7B26\u7684?\u6216\u7528\u4E8E\u5339\u914D\u96F6\u4E2A\u6216\u8FDE\u7EED\u591A\u4E2A\u5B57\u7B26\u7684*\u3002\u8981\u5339\u914D\u95EE\u53F7\u661F\u53F7\u672C\u8EAB\uFF0C\u8BF7\u5728\u8BE5\u5B57\u7B26\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u53F7(~)\u524D\u7F00\uFF08\u5373~?\u548C~*\uFF09\u3002\u5B57\u7B26\u4E32\u6761\u4EF6\u5FC5\u987B\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u3002\u51FD\u6570\u4F1A\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u4E0E\u6761\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u901A\u914D\u7B26\uFF09\u3002
\u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6570\u5B57\uFF0C\u5219\u6761\u4EF6\u53EF\u4EE5\u662F\u5B57\u7B26\u4E32\u4E5F\u53EF\u4EE5\u662F\u6570\u5B57\u3002\u5982\u679C\u7ED9\u5B9A\u7684\u6761\u4EF6\u662F\u4E00\u4E2A\u6570\u5B57\uFF0C\u5219\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u662F\u5426\u7B49\u4E8E\u6761\u4EF6\u3002\u53E6\u5916\uFF0C\u6761\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6570\u5B57\u7684\u5B57\u7B26\u4E32\uFF08\u4E5F\u5C06\u5BF9\u5176\u8FDB\u884C\u76F8\u7B49\u68C0\u6D4B\uFF09\uFF0C\u6216\u8005\u5E26\u6709\u4EE5\u4E0B\u524D\u7F00\u7684\u6570\u5B57\uFF1A=\uFF08\u68C0\u67E5\u662F\u5426\u76F8\u7B49\uFF09\u3001>\uFF08\u68C0\u67E5\u8303\u56F4\u5355\u5143\u683C\u7684\u503C\u662F\u5426\u5927\u4E8E\u6761\u4EF6\u503C\uFF09\u6216<\uFF08\u68C0\u67E5\u8303\u56F4\u5355\u5143\u683C\u7684\u503C\u662F\u5426\u5C0F\u4E8E\u6761\u4EF6\u503C\uFF09`,example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"\u6C42\u548C\u8303\u56F4",detail:"\u8981\u6C42\u548C\u7684\u8303\u56F4\uFF08\u5982\u679C\u4E0E\u8303\u56F4\u4E0D\u540C\uFF09\u3002",example:"B1:B10",require:"o",repeat:"n",type:"range"}]},{n:"TAN",t:0,d:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u6C42\u5176\u6B63\u5207\u503C\u7684\u89D2\u5EA6\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",example:"45*PI()/180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TANH",t:0,d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5207\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CC\u66F2\u6B63\u5207\u503C\u7684\u5B9E\u6570\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CEILING",t:0,d:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6570\u7684\u500D\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6570\u7684\u500D\u6570\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u5411\u4E0A\u820D\u5165\u7684\u6570\u503C\u3002",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"\u56E0\u6570",detail:"\u8981\u5C06\u503C\u820D\u5165\u5230\u6B64\u6570\u7684\u6574\u6570\u500D\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5207\u503C\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5207\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u6B63\u5207\u503C\u7684\u6570\u503C\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASINH",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u53CC\u66F2\u6B63\u5F26\u503C\u7684\u6570\u503C\u3002",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ABS",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u7EDD\u5BF9\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u7EDD\u5BF9\u503C\u3002",m:[1,1],p:[{name:"value",detail:"\u8981\u8FD4\u56DE\u5176\u7EDD\u5BF9\u503C\u7684\u6570\u3002",example:"-2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOS",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u4F59\u5F26\u503C\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u4F59\u5F26\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u4F59\u5F26\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u4ECB\u4E8E-1\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOSH",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u4F59\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u53CC\u66F2\u4F59\u5F26\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E1\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTINOMIAL",t:0,d:"\u8FD4\u56DE\u53C2\u6570\u548C\u7684\u9636\u4E58\u9664\u4EE5\u5404\u53C2\u6570\u9636\u4E58\u7684\u4E58\u79EF\u540E\u5F97\u5230\u7684\u503C\u3002",a:"\u8FD4\u56DE\u53C2\u6570\u548C\u7684\u9636\u4E58\u9664\u4EE5\u5404\u53C2\u6570\u9636\u4E58\u7684\u4E58\u79EF\u540E\u5F97\u5230\u7684\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u7B2C\u4E00\u9879\u6570\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"ATANH",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5207\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u53CC\u66F2\u6B63\u5207\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u4ECB\u4E8E-1\u548C1\u4E4B\u95F4\uFF08\u4E0D\u5305\u62EC-1\u548C1\uFF09\u3002",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN2",t:0,d:"\u4EE5\u5F27\u5EA6\u4E3A\u5355\u4F4D\u8FD4\u56DE x \u8F74\u4E0E\u4ECE\u539F\u70B9 (0,0) \u5230\u6307\u5B9A\u5750\u6807\u70B9 (`x`,`y`) \u4E4B\u95F4\u8FDE\u7EBF\u7684\u5939\u89D2\u3002",a:"\u4EE5\u5F27\u5EA6\u4E3A\u5355\u4F4D\u8FD4\u56DE x \u8F74\u4E0E\u4ECE\u539F\u70B9 (0,0) \u5230\u6307\u5B9A\u5750\u6807\u70B9 (`x`,`y`) \u4E4B\u95F4\u8FDE\u7EBF\u7684\u5939\u89D2\u3002",m:[2,2],p:[{name:"x",detail:"\u8981\u8BA1\u7B97\u5176\u4E0Ex\u8F74\u5939\u89D2\u5927\u5C0F\u7684\u7EBF\u6BB5\u7684\u7EC8\u70B9x\u5750\u6807\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"y",detail:"\u8981\u8BA1\u7B97\u5176\u4E0Ex\u8F74\u5939\u89D2\u5927\u5C0F\u7684\u7EBF\u6BB5\u7684\u7EC8\u70B9y\u5750\u6807\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTBLANK",t:1,d:"\u8FD4\u56DE\u7ED9\u5B9A\u8303\u56F4\u5185\u7684\u7A7A\u5355\u5143\u683C\u6570\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u8303\u56F4\u5185\u7684\u7A7A\u5355\u5143\u683C\u6570\u3002",m:[1,1],p:[{name:"\u8303\u56F4",detail:"\u8981\u7EDF\u8BA1\u7A7A\u767D\u5355\u5143\u683C\u6570\u91CF\u7684\u8303\u56F4\u3002",example:"A2:C100",require:"m",repeat:"n",type:"range"}]},{n:"COSH",t:0,d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u4F59\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CC\u66F2\u4F59\u5F26\u503C\u7684\u5B9E\u6570\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"INT",t:0,d:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u5C0F\u4E8E\u6216\u7B49\u4E8E\u8BE5\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u5C0F\u4E8E\u6216\u7B49\u4E8E\u8BE5\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u6574\u6570\u7684\u6570\u503C\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISEVEN",t:0,d:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5076\u6570\u3002",a:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5076\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u5076\u6570\u7684\u6570\u503C\u3002
\u5982\u679C\u503C\u4E3A\u5076\u6570\u6216\u6307\u5411\u5305\u542B\u5076\u6570\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISEVEN\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISODD",t:0,d:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5947\u6570\u3002",a:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5947\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u5947\u6570\u7684\u6570\u503C\u3002
\u5982\u679C\u503C\u4E3A\u5947\u6570\u6216\u6307\u5411\u5305\u542B\u5947\u6570\u7684\u5355\u5143\u683C\uFF0CISODD\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LCM",t:0,d:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5C0F\u516C\u500D\u6570\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5C0F\u516C\u500D\u6570\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u5728\u6C42\u6700\u5C0F\u516C\u500D\u6570\u6570\u7684\u8BA1\u7B97\u4E2D\u68C0\u67E5\u5176\u56E0\u6570\u7684\u7B2C\u4E00\u9879\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u6C42\u6700\u5C0F\u516C\u500D\u6570\u65F6\u8981\u8003\u8651\u5176\u56E0\u6570\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"3",require:"o",repeat:"y",type:"rangeall"}]},{n:"LN",t:0,d:"\u8FD4\u56DE\u6570\u503C\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",a:"\u8FD4\u56DE\u6570\u503C\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u4EE5 e \u4E3A\u5E95\u6570\u8BA1\u7B97\u5176\u5BF9\u6570\u7684\u503C\u3002
\u503C\u5FC5\u987B\u4E3A\u6B63\u6570\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOG",t:0,d:"\u6839\u636E\u6307\u5B9A\u5E95\u6570\u8FD4\u56DE\u6570\u5B57\u7684\u5BF9\u6570\u3002",a:"\u6839\u636E\u6307\u5B9A\u5E95\u6570\u8FD4\u56DE\u6570\u5B57\u7684\u5BF9\u6570\u3002",m:[1,2],p:[{name:"\u503C",detail:"\u60F3\u8981\u8BA1\u7B97\u5176\u5BF9\u6570\u7684\u6B63\u5B9E\u6570\u3002",example:"128",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5E95\u6570",detail:"[\u53EF\u9009] - \u5BF9\u6570\u7684\u5E95\u6570\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"LOG10",t:0,d:"\u8FD4\u56DE\u6570\u503C\u4EE510\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",a:"\u8FD4\u56DE\u6570\u503C\u4EE510\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u8BA1\u7B97\u5176\u4EE510\u4E3A\u5E95\u7684\u5BF9\u6570\u7684\u6570\u503C\u3002
\u503C\u5FC5\u987B\u4E3A\u6B63\u503C\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MOD",t:0,d:"\u8FD4\u56DE\u4E24\u6570\u76F8\u9664\u7684\u4F59\u6570, \u7ED3\u679C\u7684\u7B26\u53F7\u4E0E\u9664\u6570\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u76F8\u9664\u7684\u4F59\u6570\u3002",m:[2,2],p:[{name:"\u88AB\u9664\u6570",detail:"\u8981\u5C06\u5176\u76F8\u9664\u4EE5\u5F97\u5230\u4F59\u6570\u7684\u6570\u503C\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"\u9664\u6570",detail:"\u7528\u4E8E\u9664\u5176\u4ED6\u6570\u7684\u6570\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MROUND",t:0,d:"\u5C06\u6570\u503C\u53D6\u6574\u4E3A\u53E6\u4E00\u6574\u6570\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",a:"\u5C06\u6570\u503C\u53D6\u6574\u4E3A\u53E6\u4E00\u6574\u6570\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u53D6\u6574\u4E3A\u53E6\u4E00\u6574\u6570\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u7684\u6570\u503C\u3002",example:"21",require:"m",repeat:"n",type:"rangenumber"},{name:"\u56E0\u6570",detail:"\u503C\u5C06\u53D6\u6B64\u56E0\u6570\u7684\u6574\u6570\u500D\u3002",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ODD",t:0,d:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6570\u503C\uFF0C\u53D6\u6574\u503C\u4E3A\u5927\u4E8E\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5947\u6570\u3002
\u5982\u679C\u503C\u4E3A\u8D1F\u6570\uFF0C\u5219\u5C06\u5176\u53D6\u6574\u4E3A\u7EDD\u5BF9\u503C\u5927\u4E8E\u8BE5\u503C\u7684\u76F8\u90BB\u8D1F\u5947\u6570\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMSQ",t:0,d:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u5E73\u65B9\u603B\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u5E73\u65B9\u603B\u548C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u5C06\u5176\u5E73\u65B9\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u8981\u5C06\u5176\u5E73\u65B9\u4E0E\u503C1\u7684\u5E73\u65B9\u76F8\u52A0\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMBIN",t:0,d:"\u7ED9\u5B9A\u96C6\u5408\u4E2D\u7684\u5BF9\u8C61\u603B\u6570\u548C\u8981\u9009\u62E9\u7684\u5BF9\u8C61\u6570\u91CF\uFF0C\u8FD4\u56DE\u5171\u6709\u591A\u5C11\u79CD\u4E0D\u540C\u9009\u62E9\u65B9\u5F0F\u3002",a:"\u7ED9\u5B9A\u96C6\u5408\u4E2D\u7684\u5BF9\u8C61\u603B\u6570\u548C\u8981\u9009\u62E9\u7684\u5BF9\u8C61\u6570\u91CF",m:[2,2],p:[{name:"n",detail:"\u8981\u4ECE\u4E2D\u8FDB\u884C\u9009\u62E9\u7684\u5BF9\u8C61\u96C6\u5408\u7684\u5927\u5C0F\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"\u8981\u9009\u62E9\u7684\u5BF9\u8C61\u6570\u91CF\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUM",t:0,d:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u603B\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u603B\u548C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u8981\u76F8\u52A0\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SUBTOTAL",t:0,d:"\u4F7F\u7528\u6307\u5B9A\u7684\u6C47\u603B\u51FD\u6570\uFF0C\u8FD4\u56DE\u4E00\u7CFB\u5217\u7EB5\u5411\u5355\u5143\u683C\u7684\u5206\u7C7B\u6C47\u603B\u3002",a:"\u4F7F\u7528\u6307\u5B9A\u7684\u6C47\u603B\u51FD\u6570",m:[2,256],p:[{name:"\u51FD\u6570\u4EE3\u7801",detail:`\u7528\u4E8E\u8BA1\u7B97\u5206\u7C7B\u6C47\u603B\u7684\u51FD\u6570\u3002
1\u4EE3\u8868AVERAGE
2\u4EE3\u8868COUNT
3\u4EE3\u8868COUNTA
4\u4EE3\u8868MAX
5\u4EE3\u8868MIN
6\u4EE3\u8868PRODUCT
7\u4EE3\u8868STDEV
8\u4EE3\u8868STDEVP
9\u4EE3\u8868SUM
10\u4EE3\u8868VAR
11\u4EE3\u8868VARP
\u901A\u8FC7\u5728\u8FD9\u4E9B2\u4F4D\u4EE3\u7801\u524D\u9644\u52A010\uFF08\u5BF9\u4E8E1\u4F4D\u4EE3\u7801\uFF09\u62161\uFF08\u5BF9\u4E8E2\u4F4D\u4EE3\u7801\uFF09\uFF0C\u53EF\u4EE5\u5C06\u9690\u85CF\u503C\u5FFD\u7565\u3002\u4F8B\u5982\uFF0C102\u4EE3\u8868\u5FFD\u7565\u9690\u85CF\u5355\u5143\u683C\u7684COUNT\uFF0C\u800C110\u5219\u4EE3\u8868\u5FFD\u7565\u9690\u85CF\u503C\u7684VAR\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u8303\u56F41",detail:"\u8981\u8BA1\u7B97\u5206\u7C7B\u6C47\u603B\u7684\u7B2C\u4E00\u4E2A\u8303\u56F4\u3002",example:"A2:A5",require:"m",repeat:"n",type:"range"},{name:"\u8303\u56F42",detail:"[\u53EF\u9009] - \u8981\u8BA1\u7B97\u5206\u7C7B\u6C47\u603B\u7684\u5176\u4ED6\u8303\u56F4\u3002",example:"B2:B8",require:"o",repeat:"y",type:"range"}]},{n:"ASIN",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5F26\u503C\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5F26\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u6B63\u5F26\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u4ECB\u4E8E-1\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTIF",t:1,d:"\u8FD4\u56DE\u8303\u56F4\u5185\u6EE1\u8DB3\u67D0\u4E2A\u6761\u4EF6\u7684\u5355\u5143\u683C\u7684\u6570\u91CF\u3002",a:"\u8FD4\u56DE\u8303\u56F4\u5185\u6EE1\u8DB3\u67D0\u4E2A\u6761\u4EF6\u7684\u5355\u5143\u683C\u7684\u6570\u91CF\u3002",m:[2,2],p:[{name:"\u8303\u56F4",detail:"\u8981\u6839\u636E\u6761\u4EF6\u8FDB\u884C\u68C0\u6D4B\u7684\u8303\u56F4\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u6761\u4EF6",detail:`\u8981\u5E94\u7528\u4E8E\u8303\u56F4\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002
\u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6587\u672C\uFF0C\u5219\u6761\u4EF6\u5FC5\u987B\u4E3A\u5B57\u7B26\u4E32\u3002\u6761\u4EF6\u53EF\u4EE5\u5305\u542B\u901A\u914D\u7B26\uFF0C\u5305\u62EC\u7528\u4E8E\u5339\u914D\u5355\u4E2A\u5B57\u7B26\u7684?\u6216\u7528\u4E8E\u5339\u914D\u96F6\u4E2A\u6216\u8FDE\u7EED\u591A\u4E2A\u5B57\u7B26\u7684*\u3002\u8981\u5339\u914D\u95EE\u53F7\u661F\u53F7\u672C\u8EAB\uFF0C\u8BF7\u5728\u8BE5\u5B57\u7B26\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u53F7(~)\u524D\u7F00\uFF08\u5373~?\u548C~*\uFF09\u3002\u5B57\u7B26\u4E32\u6761\u4EF6\u5FC5\u987B\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u3002\u51FD\u6570\u4F1A\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u4E0E\u6761\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u901A\u914D\u7B26\uFF09\u3002
\u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6570\u5B57\uFF0C\u5219\u6761\u4EF6\u53EF\u4EE5\u662F\u5B57\u7B26\u4E32\u4E5F\u53EF\u4EE5\u662F\u6570\u5B57\u3002\u5982\u679C\u7ED9\u5B9A\u7684\u6761\u4EF6\u662F\u4E00\u4E2A\u6570\u5B57\uFF0C\u5219\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u662F\u5426\u7B49\u4E8E\u6761\u4EF6\u3002\u53E6\u5916\uFF0C\u6761\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6570\u5B57\u7684\u5B57\u7B26\u4E32\uFF08\u4E5F\u5C06\u5BF9\u5176\u8FDB\u884C\u76F8\u7B49\u68C0\u6D4B\uFF09\uFF0C\u6216\u8005\u5E26\u6709\u4EE5\u4E0B\u524D\u7F00\u7684\u6570\u5B57\uFF1A=\u3001>\u3001>=\u3001<\u6216<=\uFF0C\u8FD9\u4E9B\u6761\u4EF6\u5C06\u5206\u522B\u7528\u4E8E\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u5355\u5143\u683C\u662F\u5426\u7B49\u4E8E\u3001\u5927\u4E8E\u3001\u5927\u4E8E\u7B49\u4E8E\u3001\u5C0F\u4E8E\u3001\u5C0F\u4E8E\u7B49\u4E8E\u6761\u4EF6\u503C\u3002`,example:'">20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"RADIANS",t:0,d:"\u5C06\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5F27\u5EA6\u3002",a:"\u5C06\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5F27\u5EA6\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u4ECE\u5EA6\u8F6C\u6362\u4E3A\u5F27\u5EA6\u7684\u89D2\u5EA6\u3002",example:"180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RAND",t:0,d:"\u8FD4\u56DE\u4E00\u4E2A\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u968F\u673A\u6570\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u968F\u673A\u6570\u3002",m:[0,0],p:[]},{n:"COUNTUNIQUE",t:0,d:"\u8BA1\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u8303\u56F4\u4E2D\u4E0D\u91CD\u590D\u6570\u503C\u7684\u4E2A\u6570\u3002",a:"\u8BA1\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u8303\u56F4\u4E2D\u4E0D\u91CD\u590D\u6570\u503C\u7684\u4E2A\u6570\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u68C0\u67E5\u5176\u662F\u5426\u552F\u4E00\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A1:C100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u8981\u68C0\u67E5\u662F\u5426\u552F\u4E00\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"o",repeat:"n",type:"rangeall"}]},{n:"DEGREES",t:0,d:"\u5C06\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5EA6\u3002",a:"\u5C06\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5EA6\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u4ECE\u5F27\u5EA6\u8F6C\u6362\u4E3A\u5EA6\u7684\u89D2\u5EA6\u3002",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ERFC",t:9,d:"\u8FD4\u56DE\u6570\u503C\u7684\u4E92\u8865\u9AD8\u65AF\u8BEF\u5DEE\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u4E92\u8865\u9AD8\u65AF\u8BEF\u5DEE\u51FD\u6570\u3002",m:[1,1],p:[{name:"z",detail:"\u8981\u4E3A\u5176\u8BA1\u7B97\u4E92\u8865\u9AD8\u65AF\u8BEF\u5DEE\u51FD\u6570\u7684\u6570\u503C\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EVEN",t:0,d:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6570\u503C\uFF0C\u53D6\u6574\u503C\u4E3A\u5927\u4E8E\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5076\u6570\u3002
\u5982\u679C\u503C\u4E3A\u8D1F\u6570\uFF0C\u5219\u5C06\u5176\u53D6\u6574\u4E3A\u7EDD\u5BF9\u503C\u5927\u4E8E\u8BE5\u503C\u7684\u76F8\u90BB\u8D1F\u5076\u6570\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EXP",t:0,d:"\u8FD4\u56DE\u6B27\u62C9\u6570 e (~2.718) \u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6B27\u62C9\u6570 e (~2.718) \u7684\u6307\u5B9A\u6B21\u5E42\u3002",m:[1,1],p:[{name:"\u6307\u6570",detail:"\u6307\u5B9Ae\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACT",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u9636\u4E58\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u9636\u4E58\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5E76\u8FD4\u56DE\u5176\u9636\u4E58\u7684\u6570\u5B57\u6216\u5BF9\u6570\u5B57\uFF08\u6240\u5728\u5355\u5143\u683C\uFF09\u7684\u5F15\u7528\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACTDOUBLE",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u201C\u53CC\u9636\u4E58\u201D\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u201C\u53CC\u9636\u4E58\u201D\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5E76\u8FD4\u56DE\u5176\u53CC\u9636\u4E58\u7684\u6570\u5B57\u6216\u5BF9\u6570\u5B57\uFF08\u6240\u5728\u5355\u5143\u683C\uFF09\u7684\u5F15\u7528\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PI",t:0,d:"\u8FD4\u56DE\u5E26\u670914\u4F4D\u5C0F\u6570\u7684 PI \u503C\u3002",a:"\u8FD4\u56DE\u5E26\u670914\u4F4D\u5C0F\u6570\u7684 PI \u503C\u3002",m:[0,0],p:[]},{n:"FLOOR",t:0,d:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u6307\u5B9A\u56E0\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u6307\u5B9A\u56E0\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u820D\u5165\u4E3A\u56E0\u6570\u7684\u6700\u63A5\u8FD1\u6574\u6570\u500D\u7684\u6570\u503C\u3002",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"\u56E0\u6570",detail:`\u8981\u5C06\u503C\u820D\u5165\u5230\u6B64\u6570\u7684\u6574\u6570\u500D\u3002
\u56E0\u6570\u4E0D\u5F97\u4E3A0\u3002`,example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GCD",t:0,d:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5927\u516C\u7EA6\u6570\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5927\u516C\u7EA6\u6570\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u5728\u67E5\u627E\u6700\u5927\u516C\u7EA6\u6570\u7684\u8BA1\u7B97\u4E2D\u68C0\u67E5\u5176\u56E0\u6570\u7684\u7B2C\u4E00\u9879\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u6C42\u6700\u5927\u516C\u7EA6\u6570\u65F6\u8981\u8003\u8651\u5176\u56E0\u6570\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"96",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANDBETWEEN",t:0,d:"\u8FD4\u56DE\u4ECB\u4E8E\u4E24\u4E2A\u6574\u6570\u4E4B\u95F4\uFF08\u5305\u62EC\u8FD9\u4E24\u4E2A\u6574\u6570\uFF09\u7684\u968F\u673A\u6570\u3002",a:"\u8FD4\u56DE\u4ECB\u4E8E\u4E24\u4E2A\u6574\u6570\u4E4B\u95F4\uFF08\u5305\u62EC\u8FD9\u4E24\u4E2A\u6574\u6570\uFF09\u7684\u968F\u673A\u6570\u3002",m:[2,2],p:[{name:"\u4E0B\u754C",detail:"\u968F\u673A\u503C\u8303\u56F4\u7684\u4E0B\u754C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4E0A\u754C",detail:"\u968F\u673A\u503C\u8303\u56F4\u7684\u4E0A\u754C\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUND",t:0,d:"\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002",a:"\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u56DB\u820D\u4E94\u5165\u7684\u6570\u5B57\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6570",detail:`\u8981\u8FDB\u884C\u56DB\u820D\u4E94\u5165\u8FD0\u7B97\u7684\u4F4D\u6570\u3002
\u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u503C\u7684\u5C0F\u6570\u70B9\u5DE6\u4FA7\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDDOWN",t:0,d:"\u671D\u7740\u96F6\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0B\u820D\u5165\u3002",a:"\u671D\u7740\u96F6\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0B\u820D\u5165\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u9700\u8981\u5411\u4E0B\u820D\u5165\u7684\u4EFB\u610F\u5B9E\u6570\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6570",detail:`\u8981\u901A\u8FC7\u820D\u5165\u8FBE\u5230\u7684\u5C0F\u6570\u4F4D\u6570\u3002
\u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u503C\u7684\u5C0F\u6570\u70B9\u5DE6\u4FA7\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDUP",t:0,d:"\u671D\u7740\u8FDC\u79BB 0\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0A\u820D\u5165\u3002",a:"\u671D\u7740\u8FDC\u79BB 0\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0A\u820D\u5165\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u5C06\u5176\u820D\u5165\u4E3A\u4F4D\u6570\u4F4D\u6570\u5B57\u7684\u503C\uFF0C\u59CB\u7EC8\u5411\u4E0A\u820D\u5165\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6570",detail:`\u8981\u901A\u8FC7\u820D\u5165\u8FBE\u5230\u7684\u5C0F\u6570\u4F4D\u6570\u3002
\u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u503C\u7684\u5C0F\u6570\u70B9\u5DE6\u4FA7\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SERIESSUM",t:0,d:"\u7ED9\u5B9A\u53C2\u6570 x\u3001n\u3001m \u548C a\uFF0C\u8FD4\u56DE\u5E42\u7EA7\u6570\u7684\u548C a1xn + a2x(n+m) + ... + aix(n+(i-1)m)\uFF0C\u5176\u4E2D i \u4E3A\u8303\u56F4 a \u4E2D\u7684\u9879\u6570\u3002",a:"\u7ED9\u5B9A\u53C2\u6570 x\u3001n\u3001m \u548C a",m:[4,4],p:[{name:"x",detail:"\u5E42\u7EA7\u6570\u7684\u8F93\u5165\u503C\u3002\u968F\u76F8\u5E94\u7684\u8FD1\u4F3C\u7C7B\u578B\u800C\u53D8\uFF0C\u6709\u53EF\u80FD\u4E3A\u89D2\u5EA6\u3001\u6307\u6570\u6216\u5176\u4ED6\u4E00\u4E9B\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:"\u5728\u5E42\u7EA7\u6570\u4E2Dx\u7684\u521D\u59CB\u81EA\u4E58\u5E42\u6B21\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"},{name:"m",detail:"x\u7684\u5E42\u6B21\u4E2D\u7684\u9644\u52A0\u589E\u91CF\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"a",detail:"\u5305\u542B\u5E42\u7EA7\u6570\u7CFB\u6570\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"{FACT(0)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIGN",t:0,d:"\u7ED9\u5B9A\u8F93\u5165\u6570\u503C\uFF0C\u5982\u679C\u4E3A\u8D1F\u8FD4\u56DE-1\uFF1B\u5982\u679C\u4E3A\u6B63\u8FD4\u56DE1\uFF1B\u5982\u679C\u4E3A\u96F6\u5219\u8FD4\u56DE0\u3002",a:"\u7ED9\u5B9A\u8F93\u5165\u6570\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8FD4\u56DE\u5176\u7B26\u53F7\u7684\u6570\u503C\u3002",example:"-42",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIN",t:0,d:"\u7ED9\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\uFF0C\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u3002",a:"\u7ED9\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u7684\u89D2\u5EA6\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SINH",t:0,d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CC\u66F2\u6B63\u5F26\u503C\u7684\u5B9E\u6570\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRT",t:0,d:"\u8FD4\u56DE\u4E00\u4E2A\u6B63\u6570\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6B63\u6570\u7684\u6B63\u5E73\u65B9\u6839\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u8BA1\u7B97\u5176\u6B63\u5E73\u65B9\u6839\u7684\u6570\u503C\u3002
\u503C\u5FC5\u987B\u4E3A\u6B63\u6570\uFF1B\u5982\u679C\u4E3A\u8D1F\uFF0CSQRT \u5C06\u8FD4\u56DE #NUM! \u9519\u8BEF\u3002`,example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRTPI",t:0,d:"\u8FD4\u56DE PI \u4E0E\u7ED9\u5B9A\u6B63\u6570\u4E58\u79EF\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DE PI \u4E0E\u7ED9\u5B9A\u6B63\u6570\u4E58\u79EF\u7684\u6B63\u5E73\u65B9\u6839\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u5C06\u5176\u4E0E PI \u76F8\u4E58\u5E76\u8FD4\u56DE\u8BE5\u4E58\u79EF\u7684\u5E73\u65B9\u6839\u7684\u6570\u503C
\u503C\u5FC5\u987B\u4E3A\u6B63\u6570\uFF1B\u5982\u679C\u4E3A\u8D1F\u6570\uFF0CSQRTPI \u5C06\u8FD4\u56DE #NUM! \u9519\u8BEF\u3002`,example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GAMMALN",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u739B\u51FD\u6570\u7684\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u739B\u51FD\u6570\u7684\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u4F3D\u739B\u51FD\u6570\u7684\u8F93\u5165\u503C\u3002\u8FD4\u56DE\u7684\u5C06\u662F\u4F3D\u739B (\u503C) \u7684\u81EA\u7136\u5BF9\u6570\u3002
\u503C\u5FC5\u987B\u4E3A\u6B63\u6570\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COS",t:0,d:"\u8FD4\u56DE\u7ED9\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u53D6\u5176\u4F59\u5F26\u503C\u7684\u89D2\u5EA6\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRUNC",t:0,d:"\u622A\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206\uFF0C\u53D6\u6570\u636E\u7684\u6307\u5B9A\u6709\u6548\u4F4D\u3002",a:"\u622A\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206",m:[1,2],p:[{name:"\u503C",detail:"\u8981\u622A\u53D6\u7684\u6570\u636E\u3002",example:"3.141592654",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6570",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u5C0F\u6570\u70B9\u53F3\u4FA7\u8981\u4FDD\u7559\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u4F4D\u6570\u5927\u4E8E\u503C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5C06\u201C\u503C\u201D\u539F\u6837\u8FD4\u56DE\u3002
\u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u5C0F\u6570\u70B9\u5DE6\u4FA7\u6307\u5B9A\u4F4D\u6570\u7684\u503C\u66F4\u6539\u4E3A\u96F6\u3002\u5C0F\u6570\u70B9\u53F3\u4FA7\u7684\u6240\u6709\u4F4D\u6570\u90FD\u4F1A\u88AB\u820D\u5F03\u3002\u5982\u679C\u503C\u7684\u6240\u6709\u4F4D\u90FD\u88AB\u66F4\u6539\u4E3A\u96F6\uFF0C\u5219TRUNC\u4F1A\u8FD4\u56DE0\u3002`,example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUOTIENT",t:0,d:"\u8FD4\u56DE\u4EE5\u4E00\u4E2A\u6570\u9664\u4EE5\u53E6\u4E00\u4E2A\u6570\u6240\u5F97\u7684\u7ED3\u679C\uFF0C\u4E0D\u5305\u542B\u4F59\u6570\u3002",a:"\u8FD4\u56DE\u4EE5\u4E00\u4E2A\u6570\u9664\u4EE5\u53E6\u4E00\u4E2A\u6570\u6240\u5F97\u7684\u7ED3\u679C",m:[2,2],p:[{name:"\u88AB\u9664\u6570",detail:"\u8981\u88AB\u9664\u7684\u6570\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"\u9664\u6570",detail:`\u7528\u4E8E\u9664\u5176\u4ED6\u6570\u7684\u6570\u503C\u3002
\u9664\u6570\u4E0D\u5F97\u4E3A0\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POWER",t:0,d:"\u8FD4\u56DE\u6570\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",m:[2,2],p:[{name:"\u5E95\u6570",detail:`\u8981\u8BA1\u7B97\u5176\u6307\u6570\u6B21\u5E42\u7684\u6570\u503C\u3002
\u5982\u679C\u5E95\u6570\u4E3A\u8D1F\uFF0C\u5219\u6307\u6570\u5FC5\u987B\u4E3A\u6574\u6570\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6307\u6570",detail:"\u6307\u5B9A\u5E95\u6570\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002",example:"0.5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMIFS",t:0,d:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E4B\u548C\u3002",a:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E4B\u548C\u3002",m:[3,257],p:[{name:"\u6C42\u548C\u8303\u56F4",detail:"\u8981\u5BF9\u5176\u6C42\u548C\u7684\u8303\u56F4\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u6761\u4EF6\u8303\u56F41",detail:"\u8981\u5728\u54EA\u4E2A\u8303\u56F4\u5185\u68C0\u67E5\u6761\u4EF61\u3002",example:" B1:B10",require:"m",repeat:"n",type:"range"},{name:"\u6761\u4EF61",detail:"\u8981\u5E94\u7528\u4E8E\u6761\u4EF6\u8303\u56F41\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"\u6761\u4EF6\u8303\u56F42, \u6761\u4EF62...",detail:"[ \u53EF\u9009 ] - \u8981\u68C0\u67E5\u7684\u5176\u4ED6\u8303\u56F4\u548C\u6761\u4EF6\u3002",example:" C1:C10",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTIFS",t:1,d:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E2D\u7684\u5355\u5143\u683C\u6570\u91CF\u3002",a:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E2D\u7684\u5355\u5143\u683C\u6570\u91CF\u3002",m:[2,256],p:[{name:"\u6761\u4EF6\u8303\u56F41",detail:"\u8981\u5728\u54EA\u4E2A\u8303\u56F4\u5185\u68C0\u67E5\u6761\u4EF61\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u6761\u4EF61",detail:"\u8981\u5E94\u7528\u4E8E\u6761\u4EF6\u8303\u56F41\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"\u6761\u4EF6\u8303\u56F42, \u6761\u4EF62...",detail:"[ \u53EF\u9009 ] - \u8981\u68C0\u67E5\u7684\u5176\u4ED6\u8303\u56F4\u548C\u6761\u4EF6\uFF0C\u53EF\u91CD\u590D\u3002",example:" B1:B10",require:"o",repeat:"y",type:"rangeall"}]},{n:"PRODUCT",t:0,d:"\u8FD4\u56DE\u5C06\u4E00\u7EC4\u6570\u76F8\u4E58\u6240\u5F97\u7684\u7ED3\u679C\u3002",a:"\u8FD4\u56DE\u5C06\u4E00\u7EC4\u6570\u76F8\u4E58\u6240\u5F97\u7684\u7ED3\u679C\u3002",m:[1,255],p:[{name:"\u4E58\u65701",detail:"\u7528\u4E8E\u8BA1\u7B97\u4E58\u79EF\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4E58\u65702 ... \u4E58\u657030",detail:"[\u53EF\u9009] - \u8981\u76F8\u4E58\u7684\u5176\u4ED6\u6570\u503C\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HARMEAN",t:1,d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u8C03\u548C\u5E73\u5747\u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u8C03\u548C\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HYPGEOMDIST",t:1,d:"\u8FD4\u56DE\u8D85\u51E0\u4F55\u5206\u5E03\u3002 \u5982\u679C\u5DF2\u77E5\u6837\u672C\u91CF\u3001\u603B\u4F53\u6210\u529F\u6B21\u6570\u548C\u603B\u4F53\u5927\u5C0F\uFF0C\u5219 HYPGEOM.DIST \u8FD4\u56DE\u6837\u672C\u53D6\u5F97\u5DF2\u77E5\u6210\u529F\u6B21\u6570\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u8D85\u51E0\u4F55\u5206\u5E03\u3002",m:[5,5],p:[{name:"Sample_s",detail:"\u6837\u672C\u4E2D\u6210\u529F\u7684\u6B21\u6570\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"Number_sample",detail:"\u6837\u672C\u91CF\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"Population_s",detail:"\u603B\u4F53\u4E2D\u6210\u529F\u7684\u6B21\u6570\u3002",example:"20",require:"m",repeat:"n",type:"rangenumber"},{name:"Number_pop",detail:"\u603B\u4F53\u5927\u5C0F\u3002",example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
\u5982\u679C cumulative \u4E3A TRUE()\uFF0C\u5219 HYPGEOM.DIST \u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"INTERCEPT",t:1,d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u65B9\u7A0B\u76F4\u7EBF\u4E0E Y \u8F74\u7684\u76F8\u4EA4\u70B9 (x=0) \u7684 y \u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u65B9\u7A0B\u76F4\u7EBF\u4E0E Y \u8F74\u7684\u76F8\u4EA4\u70B9 (x=0) \u7684 y \u503C\u3002",m:[2,2],p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"KURT",t:1,d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u5CED\u5EA6\uFF0C\u8BE5\u6307\u6807\u6307\u793A\u6570\u636E\u96C6\uFF08\u5206\u5E03\uFF09\u7684\u5F62\u6001\uFF0C\u5C24\u5176\u662F\u8BE5\u5F62\u6001\u7684\u9661\u5CED\u7A0B\u5EA6\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u5CED\u5EA6",m:[1,255],p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LARGE",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7B2C n \u4E2A\u6700\u5927\u5143\u7D20\uFF0Cn \u7531\u7528\u6237\u6307\u5B9A\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7B2C n \u4E2A\u6700\u5927\u5143\u7D20",m:[2,2],p:[{name:"\u6570\u636E",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:`\u8981\u8FD4\u56DE\u7684\u5143\u7D20\u7684\u6392\u884C\u4F4D\u7F6E\uFF08\u4ECE\u5927\u5230\u5C0F\u987A\u5E8F\uFF09\u3002
\u4F8B\u5982\uFF0C\u5C06n\u8BBE\u4E3A4\u5C06\u4F7FLARGE\u8FD4\u56DE\u6570\u636E\u4E2D\u6392\u540D\u7B2C4\u7684\u6700\u5927\u5143\u7D20\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STDEVA",t:1,d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE\uFF0C\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2,\u2026",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STDEVP",t:1,d:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE\u3002",a:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"GEOMEAN",t:1,d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u51E0\u4F55\u5E73\u5747\u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u51E0\u4F55\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANK_EQ",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",m:[2,3],p:[{name:"number",detail:"\u8981\u786E\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"ref",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"order",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u6309\u964D\u5E8F (FALSE()) ] - \u8981\u6309\u5347\u5E8F\u8FD8\u662F\u6309\u964D\u5E8F\u8003\u8651\u201Cdata\u201D\u4E2D\u7684\u503C\u3002",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANK_AVG",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u8FD9\u4E9B\u9879\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u8FD9\u4E9B\u9879\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",m:[2,3],p:[{name:"number",detail:"\u8981\u786E\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"ref",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"order",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u6309\u964D\u5E8F (FALSE()) ] - \u8981\u6309\u5347\u5E8F\u8FD8\u662F\u6309\u964D\u5E8F\u8003\u8651\u201Cdata\u201D\u4E2D\u7684\u503C\u3002",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"PERCENTRANK_EXC",t:1,d:"\u4EE5\u767E\u5206\u6570\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u4E0D\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6570\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u4E0D\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",m:[2,3],p:[{name:"data",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"x",detail:"\u8981\u786E\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significance",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 3] - \u8981\u5728\u8BA1\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6570\u3002",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PERCENTRANK_INC",t:1,d:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",m:[2,3],p:[{name:"data",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"x",detail:"\u8981\u786E\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002",example:" A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significance",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 3] - \u8981\u5728\u8BA1\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6570\u3002",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FORECAST",t:1,d:"\u57FA\u4E8E\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\uFF0C\u8BA1\u7B97\u6307\u5B9A x \u7684\u9884\u671F y \u503C\u3002",a:"\u57FA\u4E8E\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52",m:[3,3],p:[{name:"x",detail:"x\u8F74\u4E0A\u7528\u4E8E\u9884\u6D4B\u7684\u503C\u3002",example:"A1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHERINV",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u9006\u53D8\u6362\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u9006\u53D8\u6362\u3002",m:[1,1],p:[{name:"y",detail:"\u8981\u8BA1\u7B97\u5176Fisher\u9006\u53D8\u6362\u7684\u6570\u503C\u3002",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHER",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u53D8\u6362\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u53D8\u6362\u3002",m:[1,1],p:[{name:"x",detail:"\u8981\u8BA1\u7B97\u5176Fisher\u53D8\u6362\u7684\u6570\u503C\u3002",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MODE_SNGL",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u51FA\u73B0\u6B21\u6570\u6700\u591A\u7684\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u51FA\u73B0\u6B21\u6570\u6700\u591A\u7684\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6A21\u5F0F\u65F6\u8981\u68C0\u67E5\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6A21\u5F0F\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"WEIBULL_DIST",t:1,d:"\u7ED9\u5B9A\u5F62\u72B6\u548C\u5C3A\u5EA6\uFF0C\u8FD4\u56DE\u97E6\u4F2F\u5206\u5E03\u51FD\u6570\uFF08\u6216\u97E6\u4F2F\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF09\u7684\u503C\u3002",a:"\u7ED9\u5B9A\u5F62\u72B6\u548C\u5C3A\u5EA6",m:[4,4],p:[{name:"x",detail:"WEIBULL \u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u503C\u3002",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"alpha",detail:`Weibull \u5206\u5E03\u51FD\u6570\u7684\u5F62\u72B6\u53C2\u6570\u3002
alpha \u503C\u5FC5\u987B\u5927\u4E8E 0\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"beta",detail:`Weibull \u5206\u5E03\u51FD\u6570\u7684\u5C3A\u5EA6\u53C2\u6570\u3002
beta \u503C\u5FC5\u987B\u5927\u4E8E 0\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"TRUE() \u8868\u793A\u4F7F\u7528\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF0CFALSE() \u5219\u8868\u793A\u4F7F\u7528\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"COUNT",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u6570\u503C\u7684\u4E2A\u6570\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u6570\u503C\u7684\u4E2A\u6570\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTA",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u503C\u7684\u6570\u91CF\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u503C\u7684\u6570\u91CF\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVEDEV",t:1,d:"\u8BA1\u7B97\u6570\u636E\u4E0E\u6570\u636E\u96C6\u5747\u503C\u4E4B\u95F4\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u4E0E\u6570\u636E\u96C6\u5747\u503C\u4E4B\u95F4\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"AVERAGE",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C\uFF0C\u5BF9\u6587\u672C\u5FFD\u7565\u4E0D\u8BA1\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u7528\u5230\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVERAGEA",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u7528\u5230\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"BINOM_DIST",t:1,d:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9879\u5F0F\u5206\u5E03\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9879\u5F0F\u5206\u5E03\u7684\u6982\u7387\u3002",m:[4,4],p:[{name:"number_s",detail:"\u8BD5\u9A8C\u7684\u6210\u529F\u6B21\u6570\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"trials",detail:"\u72EC\u7ACB\u68C0\u9A8C\u7684\u6B21\u6570\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"probability_s",detail:"\u4EFB\u4E00\u7ED9\u5B9A\u68C0\u9A8C\u7684\u6210\u529F\u6982\u7387\u3002",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u4E8C\u9879\u5F0F\u7D2F\u79EF\u5206\u5E03\u3002",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"BINOM_INV",t:1,d:"\u8BA1\u7B97\u7D2F\u79EF\u4E8C\u9879\u5F0F\u5206\u5E03\u5927\u4E8E\u6216\u7B49\u4E8E\u6307\u5B9A\u6761\u4EF6\u7684\u6700\u5C0F\u503C\u3002",a:"\u8BA1\u7B97\u7D2F\u79EF\u4E8C\u9879\u5F0F\u5206\u5E03\u5927\u4E8E\u6216\u7B49\u4E8E\u6307\u5B9A\u6761\u4EF6\u7684\u6700\u5C0F\u503C\u3002",m:[3,3],p:[{name:"trials",detail:"\u8D1D\u52AA\u5229\u8BD5\u9A8C\u6B21\u6570\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7ED9\u5B9A\u68C0\u9A8C\u7684\u6210\u529F\u6982\u7387\u3002",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"alpha",detail:"\u671F\u671B\u7684\u4E34\u754C\u6982\u7387\u3002",example:"0.8",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONFIDENCE_NORM",t:1,d:"\u8BA1\u7B97\u6B63\u6001\u5206\u5E03\u7684\u7F6E\u4FE1\u533A\u95F4\u7684\u4E00\u534A\u5BBD\u5EA6\u3002",a:"\u8BA1\u7B97\u6B63\u6001\u5206\u5E03\u7684\u7F6E\u4FE1\u533A\u95F4\u7684\u4E00\u534A\u5BBD\u5EA6\u3002",m:[3,3],p:[{name:"alpha",detail:`\u7528\u6765\u8BA1\u7B97\u7F6E\u4FE1\u6C34\u5E73\u7684\u663E\u8457\u6027\u6C34\u5E73\u3002
\u7F6E\u4FE1\u6C34\u5E73\u7B49\u4E8E 100*(1 - alpha)%\uFF0C\u4EA6\u5373\uFF0C\u5982\u679C alpha \u4E3A 0.05\uFF0C\u5219\u7F6E\u4FE1\u6C34\u5E73\u4E3A 95%\u3002`,example:"0.05",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u6570\u636E\u533A\u57DF\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",example:"1.6",require:"m",repeat:"n",type:"rangenumber"},{name:"size",detail:"\u6837\u672C\u603B\u91CF\u7684\u5927\u5C0F\u3002",example:"250",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CORREL",t:1,d:"\u8BA1\u7B97\u7ED9\u5B9A\u6570\u636E\u96C6\u7684\u76AE\u5C14\u900A\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",a:"\u8BA1\u7B97\u7ED9\u5B9A\u6570\u636E\u96C6\u7684\u76AE\u5C14\u900A\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",m:[2,2],p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_P",t:1,d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u603B\u4F53\u534F\u65B9\u5DEE\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u603B\u4F53\u534F\u65B9\u5DEE\u3002",m:[2,2],p:[{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_S",t:1,d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u6837\u672C\u534F\u65B9\u5DEE\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u6837\u672C\u534F\u65B9\u5DEE\u3002",m:[2,2],p:[{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DEVSQ",t:1,d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"EXPON_DIST",t:1,d:"\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684\u503C\u3002",a:"\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684\u503C\u3002",m:[3,3],p:[{name:"x",detail:"\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"lambda",detail:"\u7528\u4E8E\u6307\u5B9A\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684 lambda \u503C\u3002",example:"0.5",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u6307\u6570\u7D2F\u79EF\u5206\u5E03\u3002",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIF",t:1,d:"\u6839\u636E\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u636E\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",m:[2,3],p:[{name:"criteria_range",detail:"\u8981\u5BF9\u5176\u68C0\u67E5 criterion \u7684\u8303\u56F4\u3002",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion",detail:`\u8981\u5E94\u7528\u4E8E criteria_range \u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002
\u7B49\u4E8E\uFF1A"\u6587\u672C" \u6216 1 \u6216 "=\u6587\u672C" \u6216 "=1"
\u5927\u4E8E\uFF1A">1"
\u5927\u4E8E\u7B49\u4E8E\uFF1A">=1"
\u5C0F\u4E8E\uFF1A"<1"
\u5C0F\u4E8E\u7B49\u4E8E\uFF1A"<=1"
\u4E0D\u7B49\u4E8E\uFF1A"<>1"\u6216"<>\u6587\u672C"`,example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"average_range",detail:"[\u53EF\u9009] - \u8981\u8BA1\u7B97\u5E73\u5747\u503C\u7684\u8303\u56F4\u3002\u5982\u679C\u672A\u63D0\u4F9B\u6B64\u53C2\u6570\uFF0C\u5219\u6539\u7528 criteria_range \u6765\u8BA1\u7B97\u5E73\u5747\u503C\u3002",example:"B1:B10",require:"o",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIFS",t:1,d:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",m:[2,255],p:[{name:"average_range",detail:"\u8981\u8BA1\u7B97\u5E73\u5747\u503C\u7684\u8303\u56F4\u3002",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range1",detail:"\u8981\u5BF9\u5176\u68C0\u67E5 criterion1 \u7684\u8303\u56F4\u3002",example:" B1:B10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion1",detail:"\u8981\u5E94\u7528\u4E8E criteria_range1 \u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2, criterion2, ...",detail:"[\u53EF\u9009] - \u8981\u68C0\u67E5\u7684\u5176\u4ED6\u8303\u56F4\u548C\u6761\u4EF6\u3002",example:" C1:C10",require:"m",repeat:"n",type:"rangeall"}]},{n:"PERMUT",t:1,d:"\u8FD4\u56DE\u53EF\u4ECE\u6570\u5B57\u5BF9\u8C61\u4E2D\u9009\u62E9\u7684\u7ED9\u5B9A\u6570\u76EE\u5BF9\u8C61\u7684\u6392\u5217\u6570\u3002",a:"\u8FD4\u56DE\u53EF\u4ECE\u6570\u5B57\u5BF9\u8C61\u4E2D\u9009\u62E9\u7684\u7ED9\u5B9A\u6570\u76EE\u5BF9\u8C61\u7684\u6392\u5217\u6570\u3002",m:[2,2],p:[{name:"number",detail:"\u8868\u793A\u5BF9\u8C61\u4E2A\u6570\u7684\u6574\u6570\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"number_chosen",detail:"\u8868\u793A\u6BCF\u4E2A\u6392\u5217\u4E2D\u5BF9\u8C61\u4E2A\u6570\u7684\u6574\u6570\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRIMMEAN",t:1,d:"\u5728\u6392\u9664\u6570\u636E\u96C6\u9AD8\u4F4E\u4E24\u7AEF\u7684\u90E8\u5206\u6570\u636E\u4E4B\u540E\u8BA1\u7B97\u6240\u5F97\u7684\u5747\u503C\u3002",a:"\u5728\u6392\u9664\u6570\u636E\u96C6\u9AD8\u4F4E\u4E24\u7AEF\u7684\u90E8\u5206\u6570\u636E\u4E4B\u540E\u8BA1\u7B97\u6240\u5F97\u7684\u5747\u503C\u3002",m:[2,2],p:[{name:"\u6570\u636E",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"\u6392\u9664\u6BD4\u4F8B",detail:`\u8981\u4ECE\u6570\u636E\u96C6\u7684\u6781\u503C\u90E8\u5206\u6392\u9664\u7684\u6570\u636E\u5360\u6570\u636E\u96C6\u7684\u6BD4\u4F8B\u3002
\u6392\u9664\u6BD4\u4F8B\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E0\u4E14\u5C0F\u4E8E1\u3002`,example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_EXC",t:1,d:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u4E0D\u542B 0 \u4E0E 1\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u4E0D\u542B 0 \u4E0E 1\u3002",m:[2,2],p:[{name:"array",detail:"\u5B9A\u4E49\u76F8\u5BF9\u4F4D\u7F6E\u7684\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF0C\u4E0D\u5305\u542B 0 \u548C 1\u3002",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_INC",t:1,d:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u5305\u542B 0 \u4E0E 1\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u5305\u542B 0 \u4E0E 1\u3002",m:[2,2],p:[{name:"array",detail:"\u5B9A\u4E49\u76F8\u5BF9\u4F4D\u7F6E\u7684\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF0C\u5305\u542B 0 \u548C 1\u3002",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PEARSON",t:1,d:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",a:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",m:[2,2],p:[{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_INV",t:1,d:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002 \u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\u3002",a:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002 \u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\u3002",m:[1,1],p:[{name:"probability",detail:"\u5BF9\u5E94\u4E8E\u6B63\u6001\u5206\u5E03\u7684\u6982\u7387\u3002",example:"0.75",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_DIST",t:1,d:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u5206\u5E03\u51FD\u6570\uFF08\u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\uFF09\u3002",a:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u5206\u5E03\u51FD\u6570\uFF08\u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\uFF09\u3002",m:[2,2],p:[{name:"z",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5206\u5E03\u7684\u6570\u503C\u3002",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NORM_INV",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",m:[3,3],p:[{name:"probability",detail:"\u5BF9\u5E94\u4E8E\u6B63\u6001\u5206\u5E03\u7684\u6982\u7387\u3002",example:"0.75",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u5206\u5E03\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u5206\u5E03\u7684\u6807\u51C6\u504F\u5DEE\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_DIST",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u5206\u5E03\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u5206\u5E03\u51FD\u6570\u3002",m:[4,4],p:[{name:"x",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5206\u5E03\u7684\u6570\u503C\u3002",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u5206\u5E03\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u5206\u5E03\u7684\u6807\u51C6\u504F\u5DEE\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NEGBINOM_DIST",t:1,d:"\u8FD4\u56DE\u8D1F\u4E8C\u9879\u5F0F\u5206\u5E03\u3002",a:"\u8FD4\u56DE\u8D1F\u4E8C\u9879\u5F0F\u5206\u5E03\u3002",m:[4,4],p:[{name:"number_f",detail:"\u8981\u6A21\u62DF\u7684\u5931\u8D25\u6B21\u6570\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"number_s",detail:"\u8981\u6A21\u62DF\u7684\u6210\u529F\u6B21\u6570\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7ED9\u5B9A\u68C0\u9A8C\u7684\u6210\u529F\u6982\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINA",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u6570\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u6570\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MIN",t:1,d:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MEDIAN",t:1,d:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u4E2D\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u4E2D\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAXA",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u6570\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u6570\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAX",t:1,d:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LOGNORM_INV",t:1,d:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",a:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",m:[3,3],p:[{name:"probability",detail:"\u4E0E\u5BF9\u6570\u5206\u5E03\u76F8\u5173\u7684\u6982\u7387\uFF0C\u4ECB\u4E8E 0 \u4E0E 1 \u4E4B\u95F4\uFF08\u4E0D\u542B 0 \u4E0E 1\uFF09\u3002",example:"0.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"ln(x) \u7684\u6807\u51C6\u504F\u5DEE\uFF0C\u6B63\u6570\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOGNORM_DIST",t:1,d:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u5206\u5E03\u51FD\u6570\u3002",a:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u5206\u5E03\u51FD\u6570\u3002",m:[4,4],p:[{name:"x",detail:"\u7528\u6765\u8BA1\u7B97\u51FD\u6570\u7684\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"ln(x) \u7684\u6807\u51C6\u504F\u5DEE\uFF0C\u6B63\u6570\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"Z_TEST",t:1,d:"\u8FD4\u56DE z \u68C0\u9A8C\u7684\u5355\u5C3E P \u503C\u3002",a:"\u8FD4\u56DE z \u68C0\u9A8C\u7684\u5355\u5C3E P \u503C\u3002",m:[2,3],p:[{name:"array",detail:"\u7528\u6765\u68C0\u9A8C x \u7684\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"x",detail:"\u8981\u6D4B\u8BD5\u7684\u503C\u3002",example:"B2",require:"m",repeat:"n",type:"rangenumber"},{name:"sigma",detail:"[\u53EF\u9009] - \u603B\u4F53\uFF08\u5DF2\u77E5\uFF09\u6807\u51C6\u504F\u5DEE\u3002 \u5982\u679C\u7701\u7565\uFF0C\u5219\u4F7F\u7528\u6837\u672C\u6807\u51C6\u504F\u5DEE\u3002",example:"3",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PROB",t:1,d:"\u8FD4\u56DE\u533A\u57DF\u4E2D\u7684\u6570\u503C\u843D\u5728\u6307\u5B9A\u533A\u95F4\u5185\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u533A\u57DF\u4E2D\u7684\u6570\u503C\u843D\u5728\u6307\u5B9A\u533A\u95F4\u5185\u7684\u6982\u7387\u3002",m:[3,4],p:[{name:"x_range",detail:"\u5177\u6709\u5404\u81EA\u76F8\u5E94\u6982\u7387\u503C\u7684 x \u6570\u503C\u533A\u57DF\u3002",example:"A3:A6",require:"m",repeat:"n",type:"range"},{name:"prob_range",detail:"\u4E0E x_range \u4E2D\u7684\u503C\u76F8\u5173\u8054\u7684\u4E00\u7EC4\u6982\u7387\u503C\u3002",example:"2",require:"m",repeat:"n",type:"range"},{name:"lower_limit",detail:"\u8981\u8BA1\u7B97\u5176\u6982\u7387\u7684\u6570\u503C\u4E0B\u754C\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"upper_limit",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A\u4E0B\u754C] - \u8981\u8BA1\u7B97\u5176\u6982\u7387\u7684\u53EF\u9009\u6570\u503C\u4E0A\u754C\u3002
\u5982\u679C\u7701\u7565\u4E0A\u754C\uFF0CPROB\u5219\u8BA1\u7B97\u968F\u673A\u9009\u53D6\u76F8\u5E94\u503C\u7684\u6B21\u6570\u6070\u597D\u7B49\u4E8E\u4E0B\u754C\u7684\u6982\u7387\u3002`,example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_EXC",t:1,d:"\u57FA\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u70B9\u503C\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",a:"\u57FA\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u70B9\u503C\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",m:[2,2],p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6570\u503C\u7684\u6570\u7EC4\u6216\u6570\u5B57\u578B\u5355\u5143\u683C\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u51E0\u4E2A\u56DB\u5206\u4F4D\u503C\u3002
1\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6807\u8BB0\uFF09\u3002
2\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6807\u8BB0\uFF09\u3002
3\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6807\u8BB0\uFF09\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_INC",t:1,d:"\u6839\u636E 0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",a:"\u6839\u636E 0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",m:[2,2],p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6570\u503C\u7684\u6570\u7EC4\u6216\u6570\u5B57\u578B\u5355\u5143\u683C\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u51E0\u4E2A\u56DB\u5206\u4F4D\u503C\u3002
0\u8FD4\u56DE\u6570\u636E\u4E2D\u7684\u6700\u5C0F\u503C\uFF080%\u6807\u8BB0\uFF09\u3002
1\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6807\u8BB0\uFF09\u3002
2\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6807\u8BB0\uFF09\u3002
3\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6807\u8BB0\uFF09\u3002
4\u8FD4\u56DE\u6570\u636E\u4E2D\u7684\u6700\u5927\u503C\uFF08100%\u6807\u8BB0\uFF09\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POISSON_DIST",t:1,d:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",a:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",m:[3,3],p:[{name:"x",detail:"\u4E8B\u4EF6\u6570\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u671F\u671B\u503C\u3002\u975E\u8D1F\u6570",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u4E00\u903B\u8F91\u503C\uFF0C\u786E\u5B9A\u6240\u8FD4\u56DE\u7684\u6982\u7387\u5206\u5E03\u7684\u5F62\u5F0F\u3002
\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u53D1\u751F\u7684\u968F\u673A\u4E8B\u4EF6\u6570\u5728\u96F6\uFF08\u542B\u96F6\uFF09\u548C x\uFF08\u542B x\uFF09\u4E4B\u95F4\u7684\u7D2F\u79EF\u6CCA\u677E\u6982\u7387\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u53D1\u751F\u7684\u4E8B\u4EF6\u6570\u6B63\u597D\u662F x \u7684\u6CCA\u677E\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"RSQ",t:1,d:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r \u7684\u5E73\u65B9\u3002",a:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r \u7684\u5E73\u65B9\u3002",m:[2,2],p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST",t:1,d:"\u8FD4\u56DE\u5B66\u751F\u7684\u5DE6\u5C3E t \u5206\u5E03\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684\u5DE6\u5C3E t \u5206\u5E03\u3002",m:[3,3],p:[{name:"x",detail:"T-\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6570\u503C\u3002",example:"30",require:"m",repeat:"n",type:"rangenumber"},{name:"tails",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
\u5982\u679C cumulative \u4E3A TRUE()\uFF0C\u5219 HYPGEOM.DIST \u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
\u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"T_DIST_2T",t:1,d:"\u8FD4\u56DE\u5B66\u751F\u7684\u53CC\u5C3E t \u5206\u5E03\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684\u53CC\u5C3E t \u5206\u5E03\u3002",m:[2,2],p:[{name:"x",detail:"T-\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6570\u503C\u3002",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST_RT",t:1,d:"\u8FD4\u56DE\u5B66\u751F\u7684\u53F3\u5C3E t \u5206\u5E03\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684\u53F3\u5C3E t \u5206\u5E03\u3002",m:[2,2],p:[{name:"x",detail:"T-\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6570\u503C\u3002",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV",t:1,d:"\u8FD4\u56DE\u5B66\u751F\u7684 t \u5206\u5E03\u7684\u5DE6\u5C3E\u53CD\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684 t \u5206\u5E03\u7684\u5DE6\u5C3E\u53CD\u51FD\u6570\u3002",m:[2,2],p:[{name:"probability",detail:`\u4E0E\u5B66\u751F\u7684 t \u5206\u5E03\u76F8\u5173\u7684\u6982\u7387\u3002
\u5FC5\u987B\u5927\u4E8E 0 \u4E14\u5C0F\u4E8E 1\u3002`,example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6570\u503C\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C2\u6570\u4E0D\u662F\u6574\u6570\uFF0C\u5C06\u622A\u53D6\u5176\u6574\u6570\u90E8\u5206\u3002
\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E 1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV_2T",t:1,d:"\u8FD4\u56DE\u5B66\u751F t \u5206\u5E03\u7684\u53CC\u5C3E\u53CD\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u5B66\u751F t \u5206\u5E03\u7684\u53CC\u5C3E\u53CD\u51FD\u6570\u3002",m:[2,2],p:[{name:"probability",detail:`\u4E0E\u5B66\u751F\u7684 t \u5206\u5E03\u76F8\u5173\u7684\u6982\u7387\u3002
\u5FC5\u987B\u5927\u4E8E 0 \u4E14\u5C0F\u4E8E1\u3002`,example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6570\u503C\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C2\u6570\u4E0D\u662F\u6574\u6570\uFF0C\u5C06\u622A\u53D6\u5176\u6574\u6570\u90E8\u5206\u3002
\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E 1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_TEST",t:1,d:"\u8FD4\u56DE\u4E0Et-\u68C0\u9A8C\u76F8\u5173\u7684\u6982\u7387\u3002\u7528\u4E8E\u5224\u65AD\u4E24\u4E2A\u6837\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u4E24\u4E2A\u6837\u672C\u603B\u4F53\u3002",a:"\u8FD4\u56DE\u4E0Et-\u68C0\u9A8C\u76F8\u5173\u7684\u6982\u7387\u3002\u7528\u4E8E\u5224\u65AD\u4E24\u4E2A\u6837\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u4E24\u4E2A\u6837\u672C\u603B\u4F53\u3002",m:[4,4],p:[{name:"array1",detail:"\u5C06\u7528\u4E8E t \u68C0\u9A8C\u7684\u7B2C\u4E00\u4E2A\u6570\u636E\u6837\u672C\u6216\u7B2C\u4E00\u7EC4\u5355\u5143\u683C\u3002",example:"A1:A4",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:"\u5C06\u7528\u4E8E t \u68C0\u9A8C\u7684\u7B2C\u4E8C\u4E2A\u6570\u636E\u6837\u672C\u6216\u7B2C\u4E8C\u7EC4\u5355\u5143\u683C\u3002",example:"B1:B4",require:"m",repeat:"n",type:"rangenumber"},{name:"tails",detail:`\u6307\u5B9A\u5206\u5E03\u7684\u5C3E\u6570\u3002
\u5982\u679C\u4E3A 1\uFF1A\u4F7F\u7528\u5355\u5C3E\u5206\u5E03\u3002
\u5982\u679C\u4E3A 2\uFF1A\u4F7F\u7528\u53CC\u5C3E\u5206\u5E03\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`\u6307\u5B9A t \u68C0\u9A8C\u7684\u7C7B\u578B\u3002
\u5982\u679C\u4E3A 1\uFF1A\u6267\u884C\u914D\u5BF9\u68C0\u9A8C\u3002
\u5982\u679C\u4E3A 2\uFF1A\u6267\u884C\u53CC\u6837\u672C\u7B49\u65B9\u5DEE\uFF08\u540C\u65B9\u5DEE\uFF09\u68C0\u9A8C\u3002
\u5982\u679C\u4E3A3\uFF1A\u6267\u884C\u53CC\u6837\u672C\u4E0D\u7B49\u65B9\u5DEE\uFF08\u5F02\u65B9\u5DEE\uFF09\u68C0\u9A8C\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"F_DIST",t:1,d:"\u7ED9\u5B9A\u8F93\u5165\u503C x\uFF0C\u8BA1\u7B97\u4E24\u4E2A\u6570\u636E\u96C6\u7684\u5DE6\u5C3E F \u6982\u7387\u5206\u5E03\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002\u6B64\u5206\u5E03\u4E5F\u79F0\u4E3A Fisher-Snedecor \u5206\u5E03\u6216 Snedecor F \u5206\u5E03\u3002",a:"\u7ED9\u5B9A\u8F93\u5165\u503C x",m:[4,4],p:[{name:"x",detail:"\u7528\u6765\u8BA1\u7B97\u51FD\u6570\u7684\u503C\u3002",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u7528\u4E8E\u786E\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002\u9ED8\u8BA4\u503C\u4E3A FALSE\u3002
\u5982\u679C\u4E3A TRUE()\uFF1AF.DIST \u5C06\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u503C\u3002
\u5982\u679C\u4E3A FALSE()\uFF1AF.DIST \u5C06\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u503C\u3002`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"F_DIST_RT",t:1,d:"\u7ED9\u5B9A\u8F93\u5165x\uFF0C\u8BA1\u7B97\u4E24\u4E2A\u6570\u636E\u96C6\u7684\u53F3\u5C3EF\u6982\u7387\u5206\u5E03\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002 \u6B64\u5206\u5E03\u4E5F\u79F0\u4E3AFisher-Snedecor\u5206\u5E03\u6216Snedecor F\u5206\u5E03\u3002",a:"\u7ED9\u5B9A\u8F93\u5165x",m:[3,3],p:[{name:"x",detail:"\u7528\u6765\u8BA1\u7B97\u51FD\u6570\u7684\u503C\u3002",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"VAR_P",t:1,d:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VAR_S",t:1,d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARA",t:1,d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE\uFF0C\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE",m:[1,255],p:[{name:"value1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2, ...",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARPA",t:1,d:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE\uFF0C\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE",m:[1,255],p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STEYX",t:1,d:"\u8FD4\u56DE\u901A\u8FC7\u7EBF\u6027\u56DE\u5F52\u6CD5\u9884\u6D4B\u6BCF\u4E2A x \u7684 y \u503C\u65F6\u6240\u4EA7\u751F\u7684\u6807\u51C6\u8BEF\u5DEE\u3002",a:"\u8FD4\u56DE\u901A\u8FC7\u7EBF\u6027\u56DE\u5F52\u6CD5\u9884\u6D4B\u6BCF\u4E2A x \u7684 y \u503C\u65F6\u6240\u4EA7\u751F\u7684\u6807\u51C6\u8BEF\u5DEE\u3002",m:[2,2],p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STANDARDIZE",t:1,d:"\u7ED9\u5B9A\u5206\u5E03\u7684\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\uFF0C\u8BA1\u7B97\u4E00\u4E2A\u968F\u673A\u53D8\u91CF\u6B63\u6001\u5316\u7684\u76F8\u5E94\u503C\u3002",a:"\u7ED9\u5B9A\u5206\u5E03\u7684\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\uFF0C\u8BA1\u7B97\u4E00\u4E2A\u968F\u673A\u53D8\u91CF\u6B63\u6001\u5316\u7684\u76F8\u5E94\u503C\u3002",m:[3,3],p:[{name:"x",detail:"\u8981\u6B63\u6001\u5316\u7684\u968F\u673A\u53D8\u91CF\u503C\u3002",example:"96",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u5206\u5E03\u7684\u5747\u503C\u3002",example:"80",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u5206\u5E03\u7684\u6807\u51C6\u504F\u5DEE\u3002",example:"6.7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SMALL",t:1,d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u7B2C k \u4E2A\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u7B2C k \u4E2A\u6700\u5C0F\u503C\u3002",m:[2,2],p:[{name:"array",detail:"\u9700\u8981\u627E\u5230\u7B2C k \u4E2A\u6700\u5C0F\u503C\u7684\u6570\u7EC4\u6216\u6570\u503C\u6570\u636E\u533A\u57DF\u3002",example:"A2:B100",require:"m",repeat:"n",type:"range"},{name:"k",detail:"\u8981\u8FD4\u56DE\u7684\u6570\u636E\u5728\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u91CC\u7684\u4F4D\u7F6E\uFF08\u4ECE\u5C0F\u5230\u5927\uFF09\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SLOPE",t:1,d:"\u8BA1\u7B97\u901A\u8FC7\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u5F97\u5230\u7684\u76F4\u7EBF\u7684\u659C\u7387\u3002",a:"\u8BA1\u7B97\u901A\u8FC7\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u5F97\u5230\u7684\u76F4\u7EBF\u7684\u659C\u7387\u3002",m:[2,2],p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SKEW",t:1,d:"\u8FD4\u56DE\u5206\u5E03\u7684\u504F\u659C\u5EA6\u3002 \u504F\u659C\u5EA6\u8868\u660E\u5206\u5E03\u76F8\u5BF9\u4E8E\u5E73\u5747\u503C\u7684\u4E0D\u5BF9\u79F0\u7A0B\u5EA6\u3002 \u6B63\u504F\u659C\u5EA6\u8868\u660E\u5206\u5E03\u7684\u4E0D\u5BF9\u79F0\u5C3E\u90E8\u8D8B\u5411\u4E8E\u66F4\u591A\u6B63\u503C\u3002 \u8D1F\u504F\u659C\u5EA6\u8868\u660E\u5206\u5E03\u7684\u4E0D\u5BF9\u79F0\u5C3E\u90E8\u8D8B\u5411\u4E8E\u66F4\u591A\u8D1F\u503C\u3002",a:"\u8FD4\u56DE\u5206\u5E03\u7684\u504F\u659C\u5EA6\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SKEW_P",t:1,d:"\u8FD4\u56DE\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u7684\u5206\u5E03\u4E0D\u5BF9\u79F0\u5EA6\uFF1A\u8868\u660E\u5206\u5E03\u76F8\u5BF9\u4E8E\u5E73\u5747\u503C\u7684\u4E0D\u5BF9\u79F0\u7A0B\u5EA6\u3002",a:"\u8FD4\u56DE\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u7684\u5206\u5E03\u4E0D\u5BF9\u79F0\u5EA6\uFF1A\u8868\u660E\u5206\u5E03\u76F8\u5BF9\u4E8E\u5E73\u5747\u503C\u7684\u4E0D\u5BF9\u79F0\u7A0B\u5EA6\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"VLOOKUP",t:2,d:"\u7EB5\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u641C\u7D22\u67D0\u4E2A\u952E\u503C\uFF0C\u5E76\u8FD4\u56DE\u6240\u627E\u5230\u7684\u884C\u4E2D\u6307\u5B9A\u5355\u5143\u683C\u7684\u503C\u3002",a:"\u7EB5\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u641C\u7D22\u67D0\u4E2A\u952E\u503C",m:[3,4],p:[{name:"\u641C\u7D22\u952E\u503C",detail:'\u8981\u641C\u7D22\u7684\u503C\uFF0C\u5982 42\u3001"Cats" \u6216 I24\u3002',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"\u8303\u56F4",detail:"\u8981\u8FDB\u884C\u641C\u7D22\u7684\u8303\u56F4\u3002VLOOKUP \u5C06\u5728\u8BE5\u8303\u56F4\u7684\u7B2C\u4E00\u5217\u4E2D\u641C\u7D22\u641C\u7D22\u952E\u503C\u4E2D\u6307\u5B9A\u7684\u952E\u503C\u3002",example:"A2:B26",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u5217\u7D22\u5F15\uFF0C\u8303\u56F4\u4E2D\u7684\u7B2C\u4E00\u5217\u7F16\u53F7\u4E3A 1\u3002
\u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u4E8E 1 \u548C\u8303\u56F4\u4E2D\u7684\u5217\u6570\u4E4B\u95F4\uFF0C\u5C06\u8FD4\u56DE #VALUE! \u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5DF2\u6392\u5E8F",detail:`[\u9ED8\u8BA4\u503C\u4E3A TRUE() ] - \u6307\u793A\u8981\u641C\u7D22\u7684\u5217\uFF08\u6307\u5B9A\u8303\u56F4\u7684\u7B2C\u4E00\u5217\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002\u5927\u591A\u6570\u60C5\u51B5\u4E0B\uFF0C\u5EFA\u8BAE\u8BBE\u4E3A FALSE()\u3002
\u5EFA\u8BAE\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3A FALSE\u3002\u5982\u679C\u8BBE\u4E3A FALSE\uFF0C\u5C06\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u9879\u3002\u5982\u679C\u5B58\u5728\u591A\u4E2A\u5339\u914D\u503C\uFF0C\u5C06\u8FD4\u56DE\u627E\u5230\u7684\u7B2C\u4E00\u4E2A\u503C\u5BF9\u5E94\u7684\u5355\u5143\u683C\u7684\u5185\u5BB9\uFF0C\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C\uFF0C\u5219\u8FD4\u56DE #N/A\u3002
\u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3A TRUE \u6216\u7701\u7565\uFF0C\u5C06\u8FD4\u56DE\uFF08\u5C0F\u4E8E\u6216\u7B49\u4E8E\u641C\u7D22\u952E\u503C\u7684\uFF09\u6700\u63A5\u8FD1\u7684\u5339\u914D\u9879\u3002\u5982\u679C\u641C\u7D22\u7684\u5217\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u4E8E\u641C\u7D22\u952E\u503C\uFF0C\u5219\u8FD4\u56DE #N/A\u3002`,example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"HLOOKUP",t:2,d:"\u6A2A\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u884C\u4E2D\u641C\u7D22\u67D0\u4E2A\u952E\u503C\uFF0C\u5E76\u8FD4\u56DE\u6240\u627E\u5230\u7684\u5217\u4E2D\u6307\u5B9A\u5355\u5143\u683C\u7684\u503C\u3002",a:"\u6A2A\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u884C\u4E2D\u641C\u7D22\u67D0\u4E2A\u952E\u503C",m:[3,4],p:[{name:"\u641C\u7D22\u952E\u503C",detail:'\u8981\u641C\u7D22\u7684\u503C\u3002\u4F8B\u5982\uFF0C42\u3001"Cats"\u6216I24\u3002',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"\u8303\u56F4",detail:"\u8981\u8FDB\u884C\u641C\u7D22\u7684\u8303\u56F4\u3002\u5C06\u5728\u8BE5\u8303\u56F4\u7684\u7B2C\u4E00\u884C\u4E2D\u641C\u7D22\u5728\u641C\u7D22\u952E\u503C\u4E2D\u6307\u5B9A\u7684\u952E\u503C\u3002",example:"A2:Z6",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u884C\u7D22\u5F15\uFF0C\u8303\u56F4\u4E2D\u7684\u7B2C\u4E00\u884C\u7F16\u53F7\u4E3A1\u3002
\u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u4E8E1\u548C\u8303\u56F4\u4E2D\u7684\u884C\u6570\u4E4B\u95F4\uFF0C\u5C06\u8FD4\u56DE#VALUE!\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5DF2\u6392\u5E8F",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u6307\u793A\u8981\u641C\u7D22\u7684\u884C\uFF08\u6307\u5B9A\u8303\u56F4\u7684\u7B2C\u4E00\u884C\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002
\u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3ATRUE\u6216\u7701\u7565\uFF0C\u5C06\u8FD4\u56DE\u6700\u63A5\u8FD1\u7684\u5339\u914D\u503C\uFF08\u5C0F\u4E8E\u6216\u7B49\u4E8E\u641C\u7D22\u952E\u503C\uFF09\u3002\u5982\u679C\u5728\u641C\u7D22\u7684\u884C\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u4E8E\u641C\u7D22\u952E\u503C\uFF0C\u5219\u8FD4\u56DE#N/A\u3002
\u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3ATRUE\u6216\u5C06\u5176\u7701\u7565\uFF0C\u800C\u8303\u56F4\u7684\u9996\u884C\u5E76\u975E\u5904\u4E8E\u5DF2\u6392\u5E8F\u72B6\u6001\uFF0C\u5219\u8FD4\u56DE\u503C\u53EF\u80FD\u4F1A\u662F\u9519\u8BEF\u7684\u3002
\u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3AFALSE\uFF0C\u5219\u4EC5\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u3002\u5982\u679C\u5B58\u5728\u591A\u4E2A\u5339\u914D\u503C\uFF0C\u5C06\u8FD4\u56DE\u4E0E\u627E\u5230\u7684\u7B2C\u4E00\u4E2A\u503C\u5BF9\u5E94\u7684\u5355\u5143\u683C\u7684\u5185\u5BB9\uFF0C\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C\u5219\u8FD4\u56DE#N/A\u3002`,example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOOKUP",t:2,d:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u5E94\u952E\uFF0C\u5E76\u5C06\u76F8\u5E94\u5355\u5143\u683C\u7684\u503C\u8FD4\u56DE\u5230\u4E0E\u641C\u7D22\u884C\u6216\u5217\u6240\u5728\u4F4D\u7F6E\u76F8\u540C\u7684\u7ED3\u679C\u8303\u56F4\u4E2D\u3002",a:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u5E94\u952E",m:[2,3],p:[{name:"\u641C\u7D22\u952E\u503C",detail:'\u8981\u5728\u884C\u6216\u5217\u4E2D\u641C\u7D22\u7684\u503C\u3002\u4F8B\u5982\uFF0C42\u3001"Cats" \u6216 I24\u3002',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"\u641C\u7D22\u8303\u56F4 | \u641C\u7D22\u7ED3\u679C\u6570\u7EC4",detail:"\u4F7F\u7528 LOOKUP \u7684\u4E00\u79CD\u65B9\u6CD5\u662F\u7ED9\u5B9A\u5355\u884C\u6216\u5355\u5217\u5F62\u5F0F\u7684\u641C\u7D22\u8303\u56F4\u8FDB\u884C\u641C\u7D22\u67E5\u627E\uFF0C\u8FD9\u79CD\u65B9\u5F0F\u8981\u7528\u5230\u53E6\u4E00\u4E2A\u53C2\u6570\u7ED3\u679C\u8303\u56F4\u3002\u53E6\u4E00\u79CD\u65B9\u5F0F\u662F\u5C06\u8FD9\u4E24\u4E2A\u53C2\u6570\u5408\u5E76\u4E3A\u4E00\u4E2A\u641C\u7D22\u7ED3\u679C\u6570\u7EC4\uFF0C\u5176\u4E2D\u7B2C\u4E00\u884C\u6216\u7B2C\u4E00\u5217\u7528\u4E8E\u641C\u7D22\uFF0C\u5E76\u5C06\u8FD4\u56DE\u503C\u653E\u5728\u8BE5\u6570\u7EC4\u7684\u6700\u540E\u4E00\u884C\u6216\u6700\u540E\u4E00\u5217\u4E2D\u3002",example:"A1:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u7ED3\u679C\u8303\u56F4",detail:"[ \u53EF\u9009 ] - \u7528\u4E8E\u5B58\u653E\u8FD4\u56DE\u7ED3\u679C\u7684\u8303\u56F4\u3002\u8FD4\u56DE\u503C\u5BF9\u5E94\u4E8E\u5728\u641C\u7D22\u8303\u56F4\u4E2D\u627E\u5230\u641C\u7D22\u952E\u503C\u7684\u4F4D\u7F6E\u3002\u6B64\u8303\u56F4\u5FC5\u987B\u4EC5\u4E3A\u5355\u884C\u6216\u5355\u5217\uFF0C\u800C\u5982\u679C\u60A8\u4F7F\u7528\u7684\u662F\u641C\u7D22\u7ED3\u679C\u6570\u7EC4\u65B9\u5F0F\uFF0C\u5219\u4E0D\u5E94\u63D0\u4F9B\u6B64\u53C2\u6570\u3002",example:"B1:B100",require:"o",repeat:"n",type:"rangeall"}]},{n:"ADDRESS",t:2,d:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5F62\u5F0F\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5F62\u5F0F\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",m:[2,5],p:[{name:"row_num",detail:"\u4E00\u4E2A\u6570\u503C\uFF0C\u6307\u5B9A\u8981\u5728\u5355\u5143\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u884C\u53F7\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"column_num",detail:"\u4E00\u4E2A\u6570\u503C\uFF0C\u6307\u5B9A\u8981\u5728\u5355\u5143\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u5217\u53F7\uFF08\u800C\u975E\u540D\u79F0\uFF09\u3002A\u5217\u7684\u7F16\u53F7\u4E3A1\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"abs_num",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u4E00\u4E2A\u6570\u503C\uFF0C\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u5F15\u7528\u7C7B\u578B\u3002
1 \u8868\u793A\u884C\u5217\u5747\u91C7\u7528\u7EDD\u5BF9\u503C\uFF08\u4F8B\u5982$A$1\uFF09\uFF1B
2 \u8868\u793A\u91C7\u7528\u7EDD\u5BF9\u884C\u53F7\uFF0C\u76F8\u5BF9\u5217\u6807\uFF08\u4F8B\u5982A$1\uFF09\uFF1B
3 \u8868\u793A\u91C7\u7528\u76F8\u5BF9\u884C\u53F7\uFF0C\u7EDD\u5BF9\u5217\u6807\uFF08\u4F8B\u5982$A1\uFF09\uFF1B
4 \u8868\u793A\u884C\u5217\u5747\u91C7\u7528\u76F8\u5BF9\u503C\uFF08\u4F8B\u5982A1\uFF09\u3002`,example:"4",require:"o",repeat:"n",type:"rangenumber"},{name:"A1",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u5E03\u5C14\u503C\uFF0C\u6307\u793A\u91C7\u7528A1\u6807\u8BB0\u5F62\u5F0F(TRUE)\u8FD8\u662FR1C1\u6807\u8BB0\u5F62\u5F0F(FALSE)\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"},{name:"sheet_text",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u7F3A\u7701] - \u7528\u4E8E\u6307\u5B9A\u5730\u5740\u6240\u6307\u5411\u7684\u5DE5\u4F5C\u8868\u540D\u79F0\u3002",example:'"Sheet2"',require:"o",repeat:"n",type:"rangeall"}]},{n:"INDIRECT",t:2,d:"\u8FD4\u56DE\u4EE5\u5B57\u7B26\u4E32\u6307\u5B9A\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u4EE5\u5B57\u7B26\u4E32\u6307\u5B9A\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",m:[1,2],p:[{name:"ref_text",detail:"\u4EE5\u5E26\u5F15\u53F7\u7684\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",example:'"Sheet2!"&B10',require:"m",repeat:"n",type:"rangeall"},{name:"A1",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u5E03\u5C14\u503C\uFF0C\u6307\u793A\u91C7\u7528A1\u6807\u8BB0\u5F62\u5F0F(TRUE)\u8FD8\u662FR1C1\u6807\u8BB0\u5F62\u5F0F(FALSE)\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROW",t:2,d:"\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u884C\u53F7",a:"\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u884C\u53F7",m:[0,1],p:[{name:"reference",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u6B64\u516C\u5F0F\u6240\u5728\u7684\u5355\u5143\u683C] - \u8981\u8FD4\u56DE\u5176\u884C\u53F7\u7684\u5355\u5143\u683C\u3002
\u5982\u679C\u5355\u5143\u683C\u5F15\u7528\u6307\u5411\u7684\u8303\u56F4\u5176\u5BBD\u5EA6\u5927\u4E8E\u4E00\u4E2A\u5355\u5143\u683C\uFF0C\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u7528\u4F5C\u6570\u7EC4\u516C\u5F0F\u7684\uFF0C\u8FD9\u65F6\u4F1A\u4EC5\u8FD4\u56DE\u5355\u5143\u683C\u5F15\u7528\u4E2D\u9996\u884C\u7684\u7F16\u53F7\u503C\u3002`,example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROWS",t:2,d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u884C\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u884C\u6570\u3002",m:[1,1],p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u884C\u6570\u7684\u8303\u56F4\u3002",example:"A9:A62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COLUMN",t:2,d:"\u6309\u7167 `A=1` \u7684\u89C4\u5219\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u5217\u53F7\u3002",a:"\u6309\u7167 `A=1` \u7684\u89C4\u5219\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u5217\u53F7\u3002",m:[0,1],p:[{name:"reference",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u5305\u542B\u6B64\u516C\u5F0F\u7684\u5355\u5143\u683C] - \u8981\u8FD4\u56DE\u5176\u5217\u53F7\u7684\u5355\u5143\u683C\u3002A\u5217\u5BF9\u5E94\u7684\u7F16\u53F7\u4E3A1\u3002
\u5982\u679C\u5355\u5143\u683C\u5F15\u7528\u662F\u5BBD\u5EA6\u8D85\u8FC7\u4E00\u4E2A\u5355\u5143\u683C\u7684\u8303\u56F4\uFF0C\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u4F5C\u4E3A\u6570\u7EC4\u516C\u5F0F\u6765\u4F7F\u7528\u7684\uFF0C\u56E0\u6B64\u5C06\u8FD4\u56DE\u5355\u5143\u683C\u5F15\u7528\u4E2D\u7684\u7B2C\u4E00\u5217\u7684\u4F4D\u7F6E\u3002`,example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNS",t:2,d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u5217\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u5217\u6570\u3002",m:[1,1],p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u5217\u6570\u7684\u8303\u56F4\u3002",example:"A9:W62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"OFFSET",t:2,d:"\u7ED9\u5B9A\u67D0\u8303\u56F4\u7684\u8D77\u59CB\u5355\u5143\u683C\u5F15\u7528\u4EE5\u53CA\u8BE5\u8303\u56F4\u6DB5\u76D6\u7684\u884C\u5217\u6570\u91CF\uFF0C\u8FD4\u56DE\u8BE5\u8303\u56F4\u7684\u5F15\u7528\u3002",a:"\u7ED9\u5B9A\u67D0\u8303\u56F4\u7684\u8D77\u59CB\u5355\u5143\u683C\u5F15\u7528\u4EE5\u53CA\u8BE5\u8303\u56F4\u6DB5\u76D6\u7684\u884C\u5217\u6570\u91CF\uFF0C\u8FD4\u56DE\u8BE5\u8303\u56F4\u7684\u5F15\u7528\u3002",m:[3,5],p:[{name:"reference",detail:"\u7528\u4E8E\u8BA1\u7B97\u884C\u5217\u504F\u79FB\u91CF\u7684\u8D77\u70B9\u3002",example:"A2",require:"m",repeat:"n",type:"range"},{name:"rows",detail:`\u8981\u504F\u79FB\u7684\u884C\u6570\u3002
\u884C\u504F\u79FB\u91CF\u5FC5\u987B\u662F\u6574\u6570\uFF0C\u4F46\u4E5F\u53EF\u4EE5\u662F\u8D1F\u6570\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C2\u6570\u5E26\u6709\u5C0F\u6570\uFF0C\u5C0F\u6570\u90E8\u5206\u5C06\u88AB\u622A\u53BB\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"cols",detail:`\u8981\u504F\u79FB\u7684\u5217\u6570\u3002
\u5217\u504F\u79FB\u91CF\u5FC5\u987B\u662F\u6574\u6570\uFF0C\u4F46\u4E5F\u53EF\u4EE5\u662F\u8D1F\u6570\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C2\u6570\u5E26\u6709\u5C0F\u6570\uFF0C\u5C0F\u6570\u90E8\u5206\u5C06\u88AB\u622A\u53BB\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"height",detail:"[\u53EF\u9009] - \u8981\u4ECE\u504F\u79FB\u76EE\u6807\u5F00\u59CB\u8FD4\u56DE\u7684\u8303\u56F4\u7684\u9AD8\u5EA6\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"width",detail:"[\u53EF\u9009] - \u8981\u4ECE\u504F\u79FB\u76EE\u6807\u5F00\u59CB\u8FD4\u56DE\u7684\u8303\u56F4\u7684\u5BBD\u5EA6\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MATCH",t:2,d:"\u5728\u5355\u5143\u683C\u4E2D\u641C\u7D22\u6307\u5B9A\u9879\uFF0C\u7136\u540E\u8FD4\u56DE\u8BE5\u9879\u5728\u5355\u5143\u683C\u533A\u57DF\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002",a:"\u5728\u5355\u5143\u683C\u4E2D\u641C\u7D22\u6307\u5B9A\u9879\uFF0C\u7136\u540E\u8FD4\u56DE\u8BE5\u9879\u5728\u5355\u5143\u683C\u533A\u57DF\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002",m:[2,3],p:[{name:"lookup_value",detail:"\u8981\u5728 lookup_array \u4E2D\u5339\u914D\u7684\u503C\u3002",example:'"Sunday"',require:"m",repeat:"n",type:"rangeall"},{name:"lookup_array",detail:`\u8981\u641C\u7D22\u7684\u5355\u5143\u683C\u533A\u57DF\u3002
\u5982\u679C\u6240\u7528\u7684\u8303\u56F4\u7684\u9AD8\u5EA6\u548C\u5BBD\u5EA6\u5747\u5927\u4E8E1\uFF0CMATCH\u5C06\u8FD4\u56DE#N/A!\u3002`,example:"A2:A9",require:"m",repeat:"n",type:"range"},{name:"match_type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u8981\u91C7\u7528\u7684\u641C\u7D22\u65B9\u5F0F\u3002
1\u4E3A\u9ED8\u8BA4\u7C7B\u578B\uFF0C\u6B64\u65F6MATCH\u4F1A\u5047\u8BBE\u8303\u56F4\u5DF2\u6309\u5347\u5E8F\u6392\u5E8F\uFF0C\u5E76\u8FD4\u56DE\u5C0F\u4E8E\u7B49\u4E8E\u641C\u7D22\u952E\u503C\u7684\u6700\u5927\u503C\u3002
0\u8868\u793A\u5B8C\u5168\u5339\u914D\uFF0C\u5728\u8303\u56F4\u672A\u6392\u5E8F\u7684\u60C5\u51B5\u4E0B\u9700\u8981\u4F7F\u7528\u6B64\u65B9\u5F0F\u3002
-1\u8BA9MATCH\u5047\u8BBE\u8303\u56F4\u662F\u6309\u964D\u5E8F\u6392\u5E8F\u7684\uFF0C\u5E76\u8FD4\u56DE\u5927\u4E8E\u7B49\u4E8E\u641C\u7D22\u952E\u503C\u7684\u6700\u5C0F\u503C\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INDEX",t:2,d:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C\uFF0C\u6B64\u5143\u7D20\u7531\u884C\u53F7\u548C\u5217\u53F7\u7684\u7D22\u5F15\u503C\u7ED9\u5B9A\u3002",a:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C\uFF0C\u6B64\u5143\u7D20\u7531\u884C\u53F7\u548C\u5217\u53F7\u7684\u7D22\u5F15\u503C\u7ED9\u5B9A\u3002",m:[2,3],p:[{name:"array",detail:"\u5355\u5143\u683C\u533A\u57DF\u6216\u6570\u7EC4\u5E38\u91CF\u3002",example:"A1:C20",require:"m",repeat:"n",type:"range"},{name:"row_num",detail:"\u9009\u62E9\u6570\u7EC4\u4E2D\u7684\u67D0\u884C\uFF0C\u51FD\u6570\u4ECE\u8BE5\u884C\u8FD4\u56DE\u6570\u503C\u3002",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"column_num",detail:"\u9009\u62E9\u6570\u7EC4\u4E2D\u7684\u67D0\u5217\uFF0C\u51FD\u6570\u4ECE\u8BE5\u5217\u8FD4\u56DE\u6570\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GETPIVOTDATA",t:2,d:"\u4ECE\u4E0E\u6307\u5B9A\u884C\u548C\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6570\u636E\u900F\u89C6\u8868\u4E2D\u63D0\u53D6\u6C47\u603B\u503C\u3002",a:"\u4ECE\u4E0E\u6307\u5B9A\u884C\u548C\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6570\u636E\u900F\u89C6\u8868\u4E2D\u63D0\u53D6\u6C47\u603B\u503C\u3002",m:[2,254],p:[{name:"data_field",detail:`\u60A8\u60F3\u4ECE\u6570\u636E\u900F\u89C6\u8868\u4E2D\u83B7\u53D6\u5176\u6570\u636E\u7684\u503C\u540D\u79F0\u3002
\u503C\u540D\u79F0\u5FC5\u987B\u62EC\u5728\u5F15\u53F7\u4E2D\u6216\u662F\u6307\u5411\u5305\u542B\u76F8\u5173\u6587\u672C\u7684\u4EFB\u4F55\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
\u5982\u679C\u6709\u591A\u4E2A\u503C\u5B57\u6BB5\uFF0C\u5219\u5FC5\u987B\u4F7F\u7528\u6570\u636E\u900F\u89C6\u8868\u4E2D\u663E\u793A\u7684\u786E\u5207\u540D\u79F0\uFF08\u5982\u201C\u9500\u552E\u603B\u989D\u201D\uFF09\u3002`,example:'"SUM of number of units"',require:"m",repeat:"n",type:"rangeall"},{name:"pivot_table",detail:"\u76EE\u6807\u6570\u636E\u900F\u89C6\u8868\u4E2D\u7684\u4EFB\u4F55\u5355\u5143\u683C\u7684\u5F15\u7528\uFF08\u63A8\u8350\u4F4D\u4E8E\u9876\u89D2\u7684\u5355\u5143\u683C\uFF09\u3002",example:"'Pivot table'!A1",require:"m",repeat:"n",type:"rangeall"},{name:"field1",detail:"[\u53EF\u9009] - \u6E90\u6570\u636E\u96C6\uFF08\u4E0D\u662F\u6570\u636E\u900F\u89C6\u8868\uFF09\u4E2D\u5217\u7684\u540D\u79F0\u3002",example:'"division"',require:"o",repeat:"y",type:"rangeall"},{name:"item1",detail:"[\u53EF\u9009] - \u6570\u636E\u900F\u89C6\u8868\u4E2D\u663E\u793A\u7684\u4E0E\u60A8\u8981\u68C0\u7D22\u7684\u5B57\u6BB5\u540D\u79F0 1 \u76F8\u5BF9\u5E94\u7684\u884C\u6216\u5217\u7684\u540D\u79F0\u3002",example:'"east"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CHOOSE",t:2,d:"\u57FA\u4E8E\u7D22\u5F15\u8FD4\u56DE\u9009\u9879\u5217\u8868\u4E2D\u7684\u5143\u7D20\u3002",a:"\u57FA\u4E8E\u7D22\u5F15\u8FD4\u56DE\u9009\u9879\u5217\u8868\u4E2D\u7684\u5143\u7D20\u3002",m:[2,255],p:[{name:"index_num",detail:`\u6307\u5B9A\u8981\u8FD4\u56DE\u54EA\u4E00\u9879\u3002
\u5982\u679C\u7D22\u5F15\u4E3A\u96F6\u3001\u8D1F\u503C\u6216\u5927\u4E8E\u63D0\u4F9B\u7684\u9009\u62E9\u6570\u91CF\uFF0C\u5C06\u8FD4\u56DE#VALUE!\u9519\u8BEF\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"value1",detail:"\u4E00\u9879\u53EF\u80FD\u7684\u8FD4\u56DE\u503C\u3002\u5FC5\u987B\u63D0\u4F9B\u3002\u53EF\u4EE5\u662F\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u72EC\u7684\u503C\u3002",example:'"A"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"[\u53EF\u9009] - \u5176\u4ED6\u53EF\u4EE5\u9009\u62E9\u7684\u503C\u3002\u9009\u62E9",example:'"B"',require:"o",repeat:"y",type:"rangeall"}]},{n:"HYPERLINK",t:2,d:"\u5728\u5355\u5143\u683C\u5185\u521B\u5EFA\u4E00\u4E2A\u8D85\u94FE\u63A5\u3002",a:"\u5728\u5355\u5143\u683C\u5185\u521B\u5EFA\u4E00\u4E2A\u8D85\u94FE\u63A5\u3002",p:[{name:"\u7F51\u5740",detail:`\u4EE5\u5F15\u53F7\u62EC\u4F4F\u7684\u94FE\u63A5\u4F4D\u7F6E\u7684\u5B8C\u6574\u7F51\u5740\uFF0C\u6216\u5BF9\u5305\u542B\u8FD9\u79CD\u7F51\u5740\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
\u4EC5\u5141\u8BB8\u67D0\u4E9B\u94FE\u63A5\u7C7B\u578B\u3002\u5176\u4E2D\u5305\u62EC\uFF1Ahttp://\u3001https://\u3001mailto:\u3001aim:\u3001ftp://\u3001gopher://\u3001telnet://\u548Cnews://\uFF0C\u660E\u786E\u7981\u7528\u4F7F\u7528\u5176\u4ED6\u534F\u8BAE\u3002\u5982\u679C\u6307\u5B9A\u7684\u662F\u5176\u4ED6\u534F\u8BAE\uFF0C\u5C06\u4F1A\u5728\u5355\u5143\u683C\u4E2D\u663E\u793A\u94FE\u63A5\u6807\u7B7E\uFF0C\u4F46\u8BE5\u6807\u7B7E\u4E0D\u4F1A\u4EE5\u94FE\u63A5\u5F62\u5F0F\u5448\u73B0\u3002
\u5982\u679C\u672A\u6307\u5B9A\u534F\u8BAE\uFF0C\u5219\u5047\u8BBE\u4F7F\u7528http://\uFF0C\u5E76\u5C06\u5176\u4F5C\u4E3A\u7F51\u5740\u7684\u524D\u7F00\u3002`,example:'"http://www.google.com/"',require:"m",repeat:"n",type:"rangeall"},{name:"\u94FE\u63A5\u6807\u7B7E",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u7F51\u5740] - \u8981\u5728\u5355\u5143\u683C\u4E2D\u4F5C\u4E3A\u94FE\u63A5\u663E\u793A\u7684\u6587\u672C\uFF08\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u7684\uFF09\uFF0C\u6216\u8005\u6307\u5411\u5305\u542B\u8FD9\u79CD\u6807\u7B7E\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
\u5982\u679C\u94FE\u63A5\u6807\u7B7E\u662F\u6307\u5411\u67D0\u4E2A\u7A7A\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5982\u679C\u7F51\u5740\u6709\u6548\uFF0C\u5C31\u5C06\u5176\u4F5C\u4E3A\u94FE\u63A5\u663E\u793A\uFF0C\u5426\u5219\u4F5C\u4E3A\u7EAF\u6587\u672C\u663E\u793A\u3002
\u5982\u679C\u94FE\u63A5\u6807\u7B7E\u4E3A\u7A7A\u5B57\u7B26\u4E32\u5E38\u91CF("")\uFF0C\u6240\u5728\u5355\u5143\u683C\u663E\u793A\u7684\u5185\u5BB9\u5C06\u4E3A\u7A7A\u767D\uFF0C\u4F46\u901A\u8FC7\u70B9\u51FB\u8BE5\u5355\u5143\u683C\u6216\u8F6C\u5165\u8BE5\u5355\u5143\u683C\u4ECD\u7136\u53EF\u4EE5\u8BBF\u95EE\u94FE\u63A5\u3002`,example:'"Google"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TIME",t:6,d:"\u5C06\u7ED9\u5B9A\u7684\u5C0F\u65F6\u3001\u5206\u949F\u548C\u79D2\u8F6C\u6362\u4E3A\u65F6\u95F4\u3002",a:"\u5C06\u7ED9\u5B9A\u7684\u5C0F\u65F6\u3001\u5206\u949F\u548C\u79D2\u8F6C\u6362\u4E3A\u65F6\u95F4\u3002",m:[3,3],p:[{name:"\u5C0F\u65F6",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u95F4\u7684\u6570\u5B57\uFF0C\u4EE3\u8868\u5C0F\u65F6\u3002
\u4EFB\u4F55\u5927\u4E8E 23 \u7684\u503C\u90FD\u4F1A\u9664\u4EE5 24\uFF0C\u4F59\u6570\u5C06\u4F5C\u4E3A\u5C0F\u65F6\u503C\u3002`,example:"11",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5206\u949F",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u95F4\u7684\u6570\u5B57\uFF0C\u4EE3\u8868\u5206\u949F\u3002
\u4EFB\u4F55\u5927\u4E8E 59 \u7684\u503C\u5C06\u8F6C\u6362\u4E3A\u5C0F\u65F6\u548C\u5206\u949F\u3002`,example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"\u79D2",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u95F4\u7684\u6570\u5B57\uFF0C\u4EE3\u8868\u79D2\u3002
\u4EFB\u4F55\u5927\u4E8E 59 \u7684\u503C\u5C06\u8F6C\u6362\u4E3A\u5C0F\u65F6\u3001\u5206\u949F\u548C\u79D2\u3002`,example:"59",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TIMEVALUE",t:6,d:"\u6309\u4E00\u592924\u5C0F\u65F6\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u6570\u8868\u793A\u3002",a:"\u6309\u4E00\u592924\u5C0F\u65F6\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u6570\u8868\u793A\u3002",m:[1,1],p:[{name:"time_text",detail:"\u7528\u4E8E\u8868\u793A\u65F6\u95F4\u7684\u5B57\u7B26\u4E32\u3002",example:'"2:15 PM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EOMONTH",t:6,d:"\u8FD4\u56DE\u67D0\u4E2A\u6708\u4EFD\u6700\u540E\u4E00\u5929\u7684\u5E8F\u5217\u53F7\uFF0C\u8BE5\u6708\u4EFD\u5728\u53E6\u4E00\u4E2A\u65E5\u671F\u4E4B\u524D\u6216\u4E4B\u540E\u7684\u6570\u4E2A\u6708\uFF08\u6708\u6570\u7531\u53C2\u6570\u6307\u5B9A\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u4E2A\u6708\u4EFD\u6700\u540E\u4E00\u5929\u7684\u5E8F\u5217\u53F7",m:[2,2],p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u7ED3\u679C\u7684\u53C2\u7167\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8D1F\uFF09\u6216\u4E4B\u540E\uFF08\u6B63\uFF09\u7684\u6708\u6570\u3002\u8FD4\u56DE\u7684\u662F\u8BA1\u7B97\u6240\u5F97\u6708\u4EFD\u7684\u6700\u540E\u90A3\u5929\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EDATE",t:6,d:"\u8FD4\u56DE\u8868\u793A\u67D0\u4E2A\u65E5\u671F\u7684\u5E8F\u5217\u53F7\uFF0C\u8BE5\u65E5\u671F\u5728\u53E6\u4E00\u4E2A\u65E5\u671F\u7684\u6570\u6708\u4E4B\u524D/\u4E4B\u540E\u3002",a:"\u8FD4\u56DE\u8868\u793A\u67D0\u4E2A\u65E5\u671F\u7684\u5E8F\u5217\u53F7",m:[2,2],p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u7ED3\u679C\u7684\u53C2\u7167\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8D1F\uFF09\u6216\u4E4B\u540E\uFF08\u6B63\uFF09\u7684\u6708\u6570\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SECOND",t:6,d:"\u8FD4\u56DE\u65F6\u95F4\u503C\u7684\u79D2\u6570\u3002 \u79D2\u6570\u662F 0\uFF08\u96F6\uFF09\u5230 59 \u8303\u56F4\u5185\u7684\u6574\u6570\u3002",a:"\u8FD4\u56DE\u65F6\u95F4\u503C\u7684\u79D2\u6570\u3002 \u79D2\u6570\u662F 0\uFF08\u96F6\uFF09\u5230 59 \u8303\u56F4\u5185\u7684\u6574\u6570\u3002",m:[1,1],p:[{name:"\u65F6\u95F4",detail:"\u7528\u4E8E\u8BA1\u7B97\u79D2\u949F\u90E8\u5206\u7684\u65F6\u95F4\u3002\u5FC5\u987B\u4E3A\u4EE5\u4E0B\u503C\u4E4B\u4E00\uFF1A\u6307\u5411\u5305\u542B\u65E5\u671F/\u65F6\u95F4\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u65F6\u95F4\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINUTE",t:6,d:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\u3002",a:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\u3002",m:[1,1],p:[{name:"\u65F6\u95F4",detail:"\u7528\u4E8E\u8BA1\u7B97\u5206\u949F\u90E8\u5206\u7684\u65F6\u95F4\u3002\u5FC5\u987B\u4E3A\u4EE5\u4E0B\u503C\u4E4B\u4E00\uFF1A\u6307\u5411\u5305\u542B\u65E5\u671F/\u65F6\u95F4\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u65F6\u95F4\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"HOUR",t:6,d:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\u3002",a:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\u3002",m:[1,1],p:[{name:"\u65F6\u95F4",detail:"\u7528\u4E8E\u8BA1\u7B97\u5C0F\u65F6\u90E8\u5206\u7684\u65F6\u95F4\u3002\u5FC5\u987B\u4E3A\u4EE5\u4E0B\u503C\u4E4B\u4E00\uFF1A\u6307\u5411\u5305\u542B\u65E5\u671F/\u65F6\u95F4\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u65F6\u95F4\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"NOW",t:6,d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u548C\u65F6\u95F4\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u548C\u65F6\u95F4\u3002",m:[0,0],p:[]},{n:"NETWORKDAYS",t:6,d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u3002",m:[2,3],p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u5F00\u59CB\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u7ED3\u675F\u65E5\u671F\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"holidays",detail:`[\u53EF\u9009] - \u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u53F7\u3002
\u5728\u8282\u5047\u65E5\u6570\u7EC4\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u662F\u65E5\u671F\u5E8F\u53F7\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"NETWORKDAYS_INTL",t:6,d:"\u8FD4\u56DE\u7ED9\u5B9A\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\uFF08\u6392\u9664\u6307\u5B9A\u7684\u5468\u672B\u548C\u8282\u5047\u65E5\uFF09\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\uFF08\u6392\u9664\u6307\u5B9A\u7684\u5468\u672B\u548C\u8282\u5047\u65E5\uFF09\u3002",m:[2,4],p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u5F00\u59CB\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u7ED3\u675F\u65E5\u671F\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"weekend",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u7528\u4E8E\u8868\u793A\u54EA\u4E9B\u5929\u4E3A\u5468\u672B\u7684\u6570\u5B57\u6216\u5B57\u7B26\u4E32\u3002
\u5B57\u7B26\u4E32\u65B9\u5F0F\uFF1A\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7EC4\u6210\u7684\u5B57\u7B26\u4E32\u6765\u6307\u5B9A\u5468\u672B\uFF0C\u4E32\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u5B57\u7B26\u4EE3\u8868\u5468\u4E00\uFF0C\u6700\u540E\u4E00\u4E2A\u5219\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u8FD9\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5\uFF0C1\u8868\u793A\u8FD9\u4E00\u5929\u4E3A\u5468\u672B\u3002\u4F8B\u5982\uFF0C\u201C0000011\u201D\u8868\u793A\u5C06\u5468\u516D\u548C\u5468\u65E5\u4F5C\u4E3A\u5468\u672B\u3002
\u6570\u5B57\u65B9\u5F0F\uFF1A\u8FD9\u79CD\u65B9\u5F0F\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u7B26\u4E32\u5F62\u5F0F\uFF0C\u800C\u662F\u4F7F\u7528\u4E00\u4E2A\u6570\u5B57\u30021 =\u5468\u516D/\u5468\u65E5\u4E3A\u5468\u672B\uFF0C2 =\u5468\u65E5/\u5468\u4E00\u4E3A\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u52197 =\u5468\u4E94/\u5468\u516D\u300211 =\u5468\u65E5\u4E3A\u552F\u4E00\u5468\u672B\uFF0C12 =\u5468\u4E00\u4E3A\u552F\u4E00\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u521917 =\u5468\u516D\u4E3A\u552F\u4E00\u5468\u672B\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:`[ \u53EF\u9009 ] - \u8FD9\u662F\u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u3002
\u5728\u8282\u5047\u65E5\u6570\u7EC4\u5185\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u4E3A\u65E5\u671F\u5E8F\u6570\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`,example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"ISOWEEKNUM",t:6,d:"\u8FD4\u56DE\u7ED9\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6570\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6570\u3002",m:[1,1],p:[{name:"date",detail:"\u7528\u4E8E\u65E5\u671F\u548C\u65F6\u95F4\u8BA1\u7B97\u7684\u65E5\u671F-\u65F6\u95F4\u4EE3\u7801\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"WEEKNUM",t:6,d:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6570\u3002",a:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6570\u3002",m:[1,2],p:[{name:"serial_number",detail:"\u8981\u786E\u5B9A\u5176\u4F4D\u4E8E\u7B2C\u51E0\u5468\u7684\u65E5\u671F\uFF0C\u5FC5\u987B\u662F\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"return_type",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 1 ] - \u4EE3\u8868\u4E00\u5468\u8D77\u59CB\u65E5\u7684\u6570\u5B57\uFF0C\u7CFB\u7EDF\u4E5F\u4F7F\u7528\u8BE5\u6570\u5B57\u6765\u786E\u5B9A\u4E00\u5E74\u7684\u7B2C\u4E00\u5468\uFF081=\u5468\u65E5\uFF0C2=\u5468\u4E00\uFF09\u3002",example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"WEEKDAY",t:6,d:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u5B57\uFF0C\u5BF9\u5E94\u4E8E\u7ED9\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u51E0\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u5B57\uFF0C\u5BF9\u5E94\u4E8E\u7ED9\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u51E0\u3002",m:[1,2],p:[{name:"serial_number",detail:"\u8981\u4E3A\u5176\u786E\u5B9A\u661F\u671F\u51E0\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"return_type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 1] - \u4EE5\u6570\u5B57\u6307\u793A\u4F7F\u7528\u54EA\u79CD\u7F16\u53F7\u987A\u5E8F\u6765\u8868\u793A\u661F\u671F\u51E0\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u6309\u661F\u671F\u65E5 (= 1) \u5F00\u59CB\u8BA1\u7B97\u3002
\u5982\u679C\u7C7B\u578B\u4E3A 1\uFF0C\u5219\u661F\u671F\u503C\u5C06\u4ECE\u661F\u671F\u65E5\u5F00\u59CB\u7B97\u8D77\uFF0C\u5E76\u4E14\u661F\u671F\u65E5\u7684\u503C\u4E3A 1\uFF0C\u56E0\u6B64\u661F\u671F\u516D\u7684\u503C\u5C31\u662F 7\u3002
\u5982\u679C\u7C7B\u578B\u4E3A 2\uFF0C\u5219\u661F\u671F\u503C\u5C06\u4ECE\u661F\u671F\u4E00\u5F00\u59CB\u7B97\u8D77\uFF0C\u5E76\u4E14\u661F\u671F\u4E00\u7684\u503C\u4E3A 1\uFF0C\u56E0\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F 7\u3002
\u5982\u679C\u7C7B\u578B\u4E3A 3\uFF0C\u5219\u661F\u671F\u503C\u5C06\u4ECE\u661F\u671F\u4E00\u7B97\u8D77\uFF0C\u5E76\u4E14\u661F\u671F\u4E00\u7684\u503C\u4E3A 0\uFF0C\u56E0\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F 6\u3002`,example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DAY",t:6,d:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u5F53\u6708\u51E0\u53F7\u3002",a:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u5F53\u6708\u51E0\u53F7\u3002",m:[1,1],p:[{name:"serial_number",detail:"\u8981\u4ECE\u4E2D\u63D0\u53D6\u5177\u4F53\u51E0\u53F7\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS",t:6,d:"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3002",m:[2,2],p:[{name:"end_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"2011-3-15",require:"m",repeat:"n",type:"rangeall"},{name:"start_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"2011-2-1",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS360",t:6,d:"\u6309\u7167\u6BCF\u5E74360\u5929\uFF0C\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5DEE\uFF08\u7528\u4E8E\u8BA1\u7B97\u5229\u606F\uFF09\u3002",a:"\u6309\u7167\u6BCF\u5E74360\u5929\uFF0C\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5DEE\uFF08\u7528\u4E8E\u8BA1\u7B97\u5229\u606F\uFF09\u3002",m:[2,3],p:[{name:"start_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"method",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3AFALSE()] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
FALSE - \u91C7\u7528\u7F8E\u56FD (NASD) \u65B9\u6CD5\u65F6\uFF0C\u5982\u679C\u8D77\u59CB\u65E5\u671F\u4E3A\u67D0\u6708\u7684\u6700\u540E\u4E00\u5929\uFF0C\u4E3A\u4FBF\u4E8E\u8BA1\u7B97\uFF0C\u4F1A\u5C06\u8D77\u59CB\u65E5\u671F\u7684\u5F53\u6708\u51E0\u53F7\u66F4\u6539\u4E3A30\u3002\u6B64\u5916\uFF0C\u5982\u679C\u7ED3\u675F\u65E5\u671F\u662F\u6240\u5728\u6708\u4EFD\u7684\u6700\u540E\u4E00\u5929\uFF0C\u800C\u4E14\u8D77\u59CB\u65E5\u671F\u5728\u5176\u6240\u5728\u6708\u768430\u53F7\u4E4B\u524D\uFF0C\u5219\u5C06\u7ED3\u675F\u65E5\u671F\u66F4\u6539\u4E3A\u7ED3\u675F\u65E5\u671F\u4E4B\u540E\u90A3\u4E2A\u6708\u7684\u7B2C\u4E00\u5929\uFF0C\u5426\u5219\u5C06\u7ED3\u675F\u65E5\u671F\u66F4\u6539\u4E3A\u8BE5\u6708\u768430\u53F7\u3002
TRUE - \u91C7\u7528\u6B27\u6D32\u65B9\u6CD5\u65F6\uFF0C\u4F1A\u5C06\u6240\u6709\u65E5\u671F\u572831\u53F7\u7684\u8D77\u59CB\u65E5\u671F\u6216\u7ED3\u675F\u65E5\u671F\u66F4\u6539\u4E3A\u5F53\u6708\u768430\u53F7\u3002`,example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"DATE",t:6,d:"\u5C06\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",a:"\u5C06\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",m:[3,3],p:[{name:"year",detail:`\u65E5\u671F\u7684\u5E74\u4EFD\u90E8\u5206\uFF0C\u5305\u542B\u4E00\u5230\u56DB\u4F4D\u6570\u5B57\u3002
\u4ECB\u4E8E 0\uFF08\u96F6\uFF09\u5230 1899 \u4E4B\u95F4\uFF0C\u4F1A\u5C06\u8BE5\u503C\u4E0E 1900 \u76F8\u52A0\u6765\u8BA1\u7B97\u5E74\u4EFD\uFF1B
\u4ECB\u4E8E 1900 \u5230 9999 \u4E4B\u95F4\uFF0C\u5C06\u4F7F\u7528\u8BE5\u6570\u503C\u4F5C\u4E3A\u5E74\u4EFD\uFF1B
\u5C0F\u4E8E 0 \u6216\u5927\u4E8E\u7B49\u4E8E 10000\uFF0C\u8FD4\u56DE \u9519\u8BEF\u503C #NUM!\u3002`,example:"1969",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:`\u65E5\u671F\u7684\u6708\u4EFD\u90E8\u5206\uFF0C\u4E00\u4E2A\u6B63\u6574\u6570\u6216\u8D1F\u6574\u6570\u3002
\u5982\u679C month \u5927\u4E8E 12\uFF0C\u5219 month \u4F1A\u5C06\u8BE5\u6708\u4EFD\u6570\u4E0E\u6307\u5B9A\u5E74\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6708\u76F8\u52A0\u3002
\u5982\u679C month \u5C0F\u4E8E 1\uFF0Cmonth \u5219\u4ECE\u6307\u5B9A\u5E74\u4EFD\u7684\u4E00\u6708\u4EFD\u5F00\u59CB\u9012\u51CF\u8BE5\u6708\u4EFD\u6570\uFF0C\u7136\u540E\u518D\u52A0\u4E0A 1 \u4E2A\u6708\u3002`,example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"day",detail:`\u65E5\u671F\u7684\u65E5\u90E8\u5206\uFF0C\u4E00\u4E2A\u6B63\u6574\u6570\u6216\u8D1F\u6574\u6570\u3002
\u5982\u679C day \u5927\u4E8E\u6708\u4E2D\u6307\u5B9A\u7684\u5929\u6570\uFF0C\u5219 day \u4F1A\u5C06\u5929\u6570\u4E0E\u8BE5\u6708\u4E2D\u7684\u7B2C\u4E00\u5929\u76F8\u52A0\u3002
\u5982\u679C day \u5C0F\u4E8E 1\uFF0C\u5219 day \u4ECE\u6307\u5B9A\u6708\u4EFD\u7684\u7B2C\u4E00\u5929\u5F00\u59CB\u9012\u51CF\u8BE5\u5929\u6570\uFF0C\u7136\u540E\u518D\u52A0\u4E0A 1 \u5929\u3002`,example:"20",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DATEVALUE",t:6,d:"\u5C06\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u65E5\u671F\u7684\u5E8F\u5217\u53F7\u3002",a:"\u5C06\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u65E5\u671F\u7684\u5E8F\u5217\u53F7\u3002",m:[1,1],p:[{name:"date_text",detail:"\u8868\u793A\u65E5\u671F\u7684\u5B57\u7B26\u4E32\u3002",example:'"1969-7-20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DATEDIF",t:6,d:"\u8BA1\u7B97\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3001\u6708\u6570\u6216\u5E74\u6570\u3002",a:"\u8BA1\u7B97\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3001\u6708\u6570\u6216\u5E74\u6570\u3002",m:[3,3],p:[{name:"\u8D77\u59CB\u65E5\u671F",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u5BF9\u5305\u542BDATE\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u7C7B\u578B\u7684\u51FD\u6570\u6216\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"\u7ED3\u675F\u65E5\u671F",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u5BF9\u5305\u542BDATE\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u7C7B\u578B\u7684\u51FD\u6570\u6216\u6570\u5B57\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"\u5355\u4F4D",detail:`\u65F6\u95F4\u5355\u4F4D\u7684\u7F29\u5199\u6587\u5B57\u3002\u4F8B\u5982 "M" \u4EE3\u8868\u6708\u3002\u6709\u6548\u503C\u5305\u62EC\uFF1A"Y"\u3001"M"\u3001"D"\u3001"MD"\u3001"YM" \u548C "YD"\u3002
"Y"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u6574\u5E74\u6570\u3002
"M"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u6574\u6708\u6570\u3002
"D"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3002
"MD"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\uFF08\u4E0D\u8BA1\u6574\u6708\u6570\uFF09\u3002
"YM"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u6574\u6708\u6570\uFF08\u4E0D\u8BA1\u6574\u5E74\u6570\uFF09\u3002
"YD"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\uFF08\u5047\u8BBE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u7684\u95F4\u9694\u4E0D\u8D85\u8FC7\u4E00\u5E74\uFF09\u3002`,example:"16)",require:"m",repeat:"n",type:"rangeall"}]},{n:"WORKDAY",t:6,d:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6570\uFF0C\u8BA1\u7B97\u7ED3\u675F\u65E5\u671F\u3002",a:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6570\uFF0C\u8BA1\u7B97\u7ED3\u675F\u65E5\u671F\u3002",m:[2,3],p:[{name:"start_date",detail:"\u8BA1\u7B97\u7684\u5F00\u59CB\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"days",detail:`start_date \u4E4B\u524D\u6216\u4E4B\u540E\u4E0D\u542B\u5468\u672B\u53CA\u8282\u5047\u65E5\u7684\u5929\u6570\u3002
\u4E3A\u6B63\u503C\u5C06\u751F\u6210\u672A\u6765\u65E5\u671F\uFF1B
\u4E3A\u8D1F\u503C\u751F\u6210\u8FC7\u53BB\u65E5\u671F\u3002`,example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"holidays",detail:`[\u53EF\u9009] - \u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u53F7\u3002
\u5728\u8282\u5047\u65E5\u6570\u7EC4\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u662F\u65E5\u671F\u5E8F\u53F7\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"WORKDAY_INTL",t:6,d:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u4E2A\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u540E\u7684\u65E5\u671F\u7684\u5E8F\u5217\u53F7\uFF08\u4F7F\u7528\u81EA\u5B9A\u4E49\u5468\u672B\u53C2\u6570\uFF09\u3002 ",a:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u4E2A\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u540E\u7684\u65E5\u671F\u7684\u5E8F\u5217\u53F7\uFF08\u4F7F\u7528\u81EA\u5B9A\u4E49\u5468\u672B\u53C2\u6570\uFF09\u3002 ",m:[2,4],p:[{name:"start_date",detail:"\u5F00\u59CB\u65E5\u671F\uFF08\u5C06\u88AB\u622A\u5C3E\u53D6\u6574\uFF09\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"days",detail:`start_date \u4E4B\u524D\u6216\u4E4B\u540E\u7684\u5DE5\u4F5C\u65E5\u7684\u5929\u6570\u3002
\u6B63\u503C\u8868\u793A\u672A\u6765\u65E5\u671F\uFF1B
\u8D1F\u503C\u8868\u793A\u8FC7\u53BB\u65E5\u671F\uFF1B
\u96F6\u503C\u8868\u793A\u5F00\u59CB\u65E5\u671F\u3002`,example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"weekend",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u7528\u4E8E\u8868\u793A\u54EA\u4E9B\u5929\u4E3A\u5468\u672B\u7684\u6570\u5B57\u6216\u5B57\u7B26\u4E32\u3002
\u5B57\u7B26\u4E32\u65B9\u5F0F\uFF1A\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7EC4\u6210\u7684\u5B57\u7B26\u4E32\u6765\u6307\u5B9A\u5468\u672B\uFF0C\u4E32\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u5B57\u7B26\u4EE3\u8868\u5468\u4E00\uFF0C\u6700\u540E\u4E00\u4E2A\u5219\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u8FD9\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5\uFF0C1\u8868\u793A\u8FD9\u4E00\u5929\u4E3A\u5468\u672B\u3002\u4F8B\u5982\uFF0C\u201C0000011\u201D\u8868\u793A\u5C06\u5468\u516D\u548C\u5468\u65E5\u4F5C\u4E3A\u5468\u672B\u3002
\u6570\u5B57\u65B9\u5F0F\uFF1A\u8FD9\u79CD\u65B9\u5F0F\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u7B26\u4E32\u5F62\u5F0F\uFF0C\u800C\u662F\u4F7F\u7528\u4E00\u4E2A\u6570\u5B57\u30021 =\u5468\u516D/\u5468\u65E5\u4E3A\u5468\u672B\uFF0C2 =\u5468\u65E5/\u5468\u4E00\u4E3A\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u52197 =\u5468\u4E94/\u5468\u516D\u300211 =\u5468\u65E5\u4E3A\u552F\u4E00\u5468\u672B\uFF0C12 =\u5468\u4E00\u4E3A\u552F\u4E00\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u521917 =\u5468\u516D\u4E3A\u552F\u4E00\u5468\u672B\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:`[ \u53EF\u9009 ] - \u8FD9\u662F\u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u3002
\u5728\u8282\u5047\u65E5\u6570\u7EC4\u5185\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u4E3A\u65E5\u671F\u5E8F\u6570\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`,example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"YEAR",t:6,d:"\u8FD4\u56DE\u5BF9\u5E94\u4E8E\u67D0\u4E2A\u65E5\u671F\u7684\u5E74\u4EFD\u3002 Year \u4F5C\u4E3A 1900 - 9999 \u4E4B\u95F4\u7684\u6574\u6570\u8FD4\u56DE\u3002",a:"\u8FD4\u56DE\u5BF9\u5E94\u4E8E\u67D0\u4E2A\u65E5\u671F\u7684\u5E74\u4EFD\u3002 Year \u4F5C\u4E3A 1900 - 9999 \u4E4B\u95F4\u7684\u6574\u6570\u8FD4\u56DE\u3002",m:[1,1],p:[{name:"serial_number",detail:"\u7528\u4E8E\u8BA1\u7B97\u5E74\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"YEARFRAC",t:6,d:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u95F4\u7684\u5929\u6570\u5360\u5168\u5E74\u5929\u6570\u7684\u767E\u5206\u6BD4\u3002",a:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u95F4\u7684\u5929\u6570\u5360\u5168\u5E74\u5929\u6570\u7684\u767E\u5206\u6BD4\u3002",m:[2,3],p:[{name:"start_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u8981\u4F7F\u7528\u7684\u65E5\u8BA1\u6570\u57FA\u51C6\u7C7B\u578B\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"16)",require:"o",repeat:"n",type:"rangenumber"}]},{n:"TODAY",t:6,d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u3002",m:[0,0],p:[]},{n:"MONTH",t:6,d:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6570\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002 \u6708\u4EFD\u662F\u4ECB\u4E8E 1\uFF08\u4E00\u6708\uFF09\u5230 12\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u95F4\u7684\u6574\u6570\u3002",a:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6570\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002 \u6708\u4EFD\u662F\u4ECB\u4E8E 1\uFF08\u4E00\u6708\uFF09\u5230 12\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u95F4\u7684\u6574\u6570\u3002",m:[1,1],p:[{name:"serial_number",detail:"\u8981\u4ECE\u4E2D\u63D0\u53D6\u6708\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"EFFECT",t:8,d:"\u6839\u636E\u540D\u4E49\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u590D\u5229\u8BA1\u606F\u671F\u6570\u6765\u8BA1\u7B97\u5B9E\u9645\u5E74\u5229\u7387\u3002",a:"\u6839\u636E\u540D\u4E49\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u590D\u5229\u8BA1\u606F\u671F\u6570\u6765\u8BA1\u7B97\u5B9E\u9645\u5E74\u5229\u7387\u3002",m:[2,2],p:[{name:"nominal_rate",detail:"\u6BCF\u5E74\u7684\u540D\u4E49\u5229\u7387\u3002",example:"0.99",require:"m",repeat:"n",type:"rangenumber"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u590D\u5229\u8BA1\u7B97\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLAR",t:12,d:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u4E0E\u8BED\u8A00\u533A\u57DF\u76F8\u5BF9\u5E94\u7684\u8D27\u5E01\u683C\u5F0F\u3002",a:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u4E0E\u8BED\u8A00\u533A\u57DF\u76F8\u5BF9\u5E94\u7684\u8D27\u5E01\u683C\u5F0F\u3002",m:[1,2],p:[{name:"number",detail:"\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u503C\u3002",example:"1.2351",require:"m",repeat:"n",type:"rangenumber"},{name:"decimals",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 2] - \u8981\u663E\u793A\u7684\u5C0F\u6570\u4F4D\u6570\u3002
\u5982\u679C\u8FD9\u662F\u8D1F\u6570\uFF0C\u5219\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u5C0F\u6570\u70B9\u5DE6\u4FA7\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARDE",t:8,d:"\u5C06\u4EE5\u6574\u6570\u90E8\u5206\u548C\u5206\u6570\u90E8\u5206\u8F6C\u6362\u4E3A\u4EE5\u5C0F\u6570\u90E8\u5206\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57",a:"\u5C06\u4EE5\u6574\u6570\u90E8\u5206\u548C\u5206\u6570\u90E8\u5206\u8F6C\u6362\u4E3A\u4EE5\u5C0F\u6570\u90E8\u5206\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57",m:[2,2],p:[{name:"fractional_dollar",detail:"\u4EE5\u6574\u6570\u90E8\u4EFD\u548C\u5206\u6570\u90E8\u5206\u8868\u793A\u7684\u6570\u5B57\uFF0C\u7528\u5C0F\u6570\u70B9\u9694\u5F00\u3002",example:"100.10",require:"m",repeat:"n",type:"rangenumber"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6570\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6570\u3002",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARFR",t:8,d:"\u5C06\u5C0F\u6570\u8F6C\u6362\u4E3A\u5206\u6570\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57\u3002",a:"\u5C06\u5C0F\u6570\u8F6C\u6362\u4E3A\u5206\u6570\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57\u3002",m:[2,2],p:[{name:"decimal_dollar",detail:"\u5C0F\u6570\u3002",example:"100.125",require:"m",repeat:"n",type:"rangenumber"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6570\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6570\u3002",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DB",t:8,d:"\u4F7F\u7528\u56FA\u5B9A\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",a:"\u4F7F\u7528\u56FA\u5B9A\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",m:[4,5],p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5185\u8981\u8BA1\u7B97\u6298\u65E7\u7684\u6298\u65E7\u671F\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A12] - \u6298\u65E7\u7B2C\u4E00\u5E74\u4E2D\u7684\u6708\u6570\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DDB",t:8,d:"\u7528\u53CC\u500D\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",a:"\u7528\u53CC\u500D\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",m:[4,5],p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5185\u8981\u8BA1\u7B97\u6298\u65E7\u7684\u6298\u65E7\u671F\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A2] - \u6298\u65E7\u7684\u9012\u51CF\u7CFB\u6570\u3002",example:"2.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RATE",t:8,d:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",m:[3,6],p:[{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u989D\uFF0C\u5728\u5E74\u91D1\u5468\u671F\u5185\u4E0D\u80FD\u66F4\u6539\u3002",example:"-100",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73B0\u503C\u5373\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u5F53\u524D\u503C\u7684\u603B\u548C\u3002",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"guess",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0.1] - \u9884\u671F\u5229\u7387\u3002",example:"0.1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"CUMPRINC",t:8,d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u591A\u4E2A\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u672C\u91D1\u507F\u8FD8\u989D\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u591A\u4E2A\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u672C\u91D1\u507F\u8FD8\u989D\u3002",m:[6,6],p:[{name:"rate",detail:"\u5229\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u603B\u4ED8\u6B3E\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u5E74\u91D1\u7684\u73B0\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"start_period",detail:`\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
\u9996\u671F\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"end_period",detail:`\u7ED3\u675F\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
\u672B\u671F\u5FC5\u987B\u5927\u4E8E\u9996\u671F\u3002`,example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPNUM",t:8,d:"\u8FD4\u56DE\u5728\u7ED3\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u95F4\u7684\u4ED8\u606F\u6B21\u6570\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6570\u3002",a:"\u8FD4\u56DE\u5728\u7ED3\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u95F4\u7684\u4ED8\u606F\u6B21\u6570\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6570\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002\u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"02",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SYD",t:8,d:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u95F4\u5185\u8D44\u4EA7\u6309\u5E74\u9650\u603B\u548C\u6298\u65E7\u6CD5\u8BA1\u7B97\u7684\u6298\u65E7\u3002",a:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u95F4\u5185\u8D44\u4EA7\u6309\u5E74\u9650\u603B\u548C\u6298\u65E7\u6CD5\u8BA1\u7B97\u7684\u6298\u65E7\u3002",m:[4,4],p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5185\u8981\u8BA1\u7B97\u6298\u65E7\u7684\u6298\u65E7\u671F\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLEQ",t:8,d:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",a:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",m:[3,3],p:[{name:"settlement",detail:"\u503A\u5238\u7684\u7ED3\u7B97\u65E5\u671F\uFF0C\u6B64\u65E5\u671F\u4E3A\u503A\u5238\u53D1\u884C\u540E\u4EA4\u4ED8\u7ED9\u4E70\u5BB6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u503A\u5238\u7684\u5230\u671F\u6216\u7ED3\u675F\u65E5\u671F\uFF0C\u5C4A\u65F6\u53EF\u5C06\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u4EF7\u503C\u8D4E\u56DE\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"\u503A\u5238\u8D2D\u4E70\u65F6\u7684\u8D34\u73B0\u7387\u3002",example:"2)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLYIELD",t:8,d:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",m:[3,3],p:[{name:"settlement",detail:"\u503A\u5238\u7684\u7ED3\u7B97\u65E5\u671F\uFF0C\u6B64\u65E5\u671F\u4E3A\u503A\u5238\u53D1\u884C\u540E\u4EA4\u4ED8\u7ED9\u4E70\u5BB6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u503A\u5238\u7684\u5230\u671F\u6216\u7ED3\u675F\u65E5\u671F\uFF0C\u5C4A\u65F6\u53EF\u5C06\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u4EF7\u503C\u8D4E\u56DE\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"pr",detail:"\u503A\u5238\u7684\u8D2D\u4E70\u4EF7\u683C\u3002",example:"95",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLPRICE",t:8,d:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u4EF7\u683C\u3002",a:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u4EF7\u683C\u3002",m:[3,3],p:[{name:"settlement",detail:"\u503A\u5238\u7684\u7ED3\u7B97\u65E5\u671F\uFF0C\u6B64\u65E5\u671F\u4E3A\u503A\u5238\u53D1\u884C\u540E\u4EA4\u4ED8\u7ED9\u4E70\u5BB6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u503A\u5238\u7684\u5230\u671F\u6216\u7ED3\u675F\u65E5\u671F\uFF0C\u5C4A\u65F6\u53EF\u5C06\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u4EF7\u503C\u8D4E\u56DE\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"\u503A\u5238\u8D2D\u4E70\u65F6\u7684\u8D34\u73B0\u7387\u3002",example:"0.09",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PV",t:8,d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u73B0\u503C\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u73B0\u503C\u3002",m:[3,5],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u989D\uFF0C\u5728\u5E74\u91D1\u5468\u671F\u5185\u4E0D\u80FD\u66F4\u6539\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9009] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002",example:"D2",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ACCRINT",t:8,d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",m:[6,8],p:[{name:"issue",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u53D1\u884C\u65E5\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"first_interest",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u9996\u6B21\u8BA1\u606F\u65E5\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"par",detail:"\u8BC1\u5238\u7684\u7968\u9762\u503C\u3002",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5\u201D - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"calc_method",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u6307\u5B9A\u5F53\u7ED3\u7B97\u65E5\u671F\u665A\u4E8E\u9996\u6B21\u8BA1\u606F\u65E5\u671F\u65F6\u7528\u4E8E\u8BA1\u7B97\u603B\u5E94\u8BA1\u5229\u606F\u7684\u65B9\u6CD5\u3002
\u5982\u679C\u503C\u4E3A TRUE\uFF0C\u5219\u8FD4\u56DE\u4ECE\u53D1\u884C\u65E5\u5230\u7ED3\u7B97\u65E5\u7684\u603B\u5E94\u8BA1\u5229\u606F\u3002
\u5982\u679C\u503C\u4E3A FALSE\uFF0C\u5219\u8FD4\u56DE\u4ECE\u9996\u6B21\u8BA1\u606F\u65E5\u5230\u7ED3\u7B97\u65E5\u7684\u5E94\u8BA1\u5229\u606F\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ACCRINTM",t:8,d:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",m:[4,5],p:[{name:"issue",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u53D1\u884C\u65E5\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"par",detail:"\u8BC1\u5238\u7684\u7968\u9762\u503C\u3002",example:"1000",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYBS",t:8,d:"\u8FD4\u56DE\u4ECE\u4ED8\u606F\u671F\u5F00\u59CB\u5230\u7ED3\u7B97\u65E5\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u4ECE\u4ED8\u606F\u671F\u5F00\u59CB\u5230\u7ED3\u7B97\u65E5\u7684\u5929\u6570\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYS",t:8,d:"\u8FD4\u56DE\u7ED3\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u7ED3\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6570\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYSNC",t:8,d:"\u8FD4\u56DE\u4ECE\u7ED3\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u95F4\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u4ECE\u7ED3\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u95F4\u7684\u5929\u6570\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPNCD",t:8,d:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u540E\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u53D1\u65E5\u671F\u3002",a:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u540E\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u53D1\u65E5\u671F\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPPCD",t:8,d:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u540E\u4E00\u4E2A\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",a:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u540E\u4E00\u4E2A\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FV",t:8,d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u672A\u6765\u4EF7\u503C\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u672A\u6765\u4EF7\u503C\u3002",m:[3,5],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u5404\u671F\u6240\u5E94\u652F\u4ED8\u7684\u91D1\u989D\uFF0C\u5728\u6574\u4E2A\u5E74\u91D1\u671F\u95F4\u4FDD\u6301\u4E0D\u53D8\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0 ] - \u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u7684\u5F53\u524D\u503C\u7684\u7D2F\u79EF\u548C\u3002",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0 ] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FVSCHEDULE",t:8,d:"\u8FD4\u56DE\u5E94\u7528\u4E00\u7CFB\u5217\u590D\u5229\u7387\u8BA1\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u6765\u503C\u3002",a:"\u8FD4\u56DE\u5E94\u7528\u4E00\u7CFB\u5217\u590D\u5229\u7387\u8BA1\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u6765\u503C\u3002",m:[2,2],p:[{name:"principal",detail:"\u73B0\u503C\u3002",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"schedule",detail:`\u7528\u4E8E\u8BA1\u7B97\u672C\u91D1\u590D\u5229\u7684\u4E00\u7EC4\u5229\u7387\u3002
\u5229\u7387\u8868\u5FC5\u987B\u662F\u8303\u56F4\u6216\u6570\u7EC4\uFF0C\u5176\u4E2D\u5305\u542B\u8981\u7528\u4E8E\u8BA1\u7B97\u590D\u5229\u7684\u4E00\u7EC4\u5229\u7387\u3002\u8FD9\u4E9B\u5229\u7387\u503C\u5E94\u8BE5\u4EE5\u5341\u8FDB\u5236\u5C0F\u6570\u5F62\u5F0F\u8868\u793A\uFF0C\u6216\u8005\u4F7F\u7528UNARY_PERCENT\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8868\u793A\uFF0C\u5373\u8868\u793A\u4E3A0.09\u6216UNARY_PERCENT(9)\uFF0C\u800C\u4E0D\u8981\u8868\u793A\u4E3A9\u3002`,example:"A2:A100",require:"m",repeat:"n",type:"range"}]},{n:"YIELD",t:8,d:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",m:[6,7],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"pr",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"YIELDDISC",t:8,d:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u6298\u4EF7\u53D1\u884C\u7684\uFF08\u4E0D\u5E26\u606F\uFF09\u503A\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",a:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u6298\u4EF7\u53D1\u884C\u7684\uFF08\u4E0D\u5E26\u606F\uFF09\u503A\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"pr",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NOMINAL",t:8,d:"\u57FA\u4E8E\u7ED9\u5B9A\u7684\u5B9E\u9645\u5229\u7387\u548C\u5E74\u590D\u5229\u671F\u6570\uFF0C\u8FD4\u56DE\u540D\u4E49\u5E74\u5229\u7387\u3002",a:"\u57FA\u4E8E\u7ED9\u5B9A\u7684\u5B9E\u9645\u5229\u7387\u548C\u5E74\u590D\u5229\u671F\u6570\uFF0C\u8FD4\u56DE\u540D\u4E49\u5E74\u5229\u7387\u3002",m:[2,2],p:[{name:"effect_rate",detail:"\u6BCF\u5E74\u7684\u5B9E\u9645\u5229\u7387\u3002",example:"0.85",require:"m",repeat:"n",type:"rangenumber"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u590D\u5229\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"XIRR",t:8,d:"\u8FD4\u56DE\u4E00\u7EC4\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u7684\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u7684\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002",m:[2,3],p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8D44\u76F8\u5173\u6536\u76CA\u6216\u652F\u51FA\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002
\u73B0\u91D1\u6D41\u6570\u989D\u4E2D\u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u9879\u8D1F\u7684\u548C\u4E00\u9879\u6B63\u7684\u73B0\u91D1\u6D41\u91D1\u989D\u624D\u80FD\u8BA1\u7B97\u56DE\u62A5\u7387\u3002`,example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"dates",detail:"\u4E0E\u73B0\u91D1\u6D41\u6570\u989D\u53C2\u6570\u4E2D\u7684\u73B0\u91D1\u6D41\u5BF9\u5E94\u7684\u65E5\u671F\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"C2:C25",require:"m",repeat:"n",type:"range"},{name:"guess",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0.1] - \u5BF9\u5185\u90E8\u56DE\u62A5\u7387\u7684\u4F30\u7B97\u503C\u3002",example:"250",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MIRR",t:8,d:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73B0\u91D1\u6D41\u7684\u4FEE\u6539\u540E\u5185\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73B0\u91D1\u6D41\u7684\u4FEE\u6539\u540E\u5185\u90E8\u6536\u76CA\u7387\u3002",m:[3,3],p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8D44\u76F8\u5173\u6536\u76CA\u6216\u652F\u51FA\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002
\u73B0\u91D1\u6D41\u6570\u989D\u4E2D\u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u9879\u8D1F\u7684\u548C\u4E00\u9879\u6B63\u7684\u73B0\u91D1\u6D41\u91D1\u989D\u624D\u80FD\u8BA1\u7B97\u56DE\u62A5\u7387\u3002`,example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"finance_rate",detail:"\u73B0\u91D1\u6D41\u4E2D\u4F7F\u7528\u7684\u8D44\u91D1\u652F\u4ED8\u7684\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"reinvest_rate",detail:"\u5C06\u73B0\u91D1\u6D41\u518D\u6295\u8D44\u7684\u6536\u76CA\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IRR",t:8,d:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6570\u5B57\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002 ",a:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6570\u5B57\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002 ",m:[1,2],p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8D44\u76F8\u5173\u6536\u76CA\u6216\u652F\u51FA\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002
\u73B0\u91D1\u6D41\u6570\u989D\u4E2D\u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u9879\u8D1F\u7684\u548C\u4E00\u9879\u6B63\u7684\u73B0\u91D1\u6D41\u91D1\u989D\u624D\u80FD\u8BA1\u7B97\u56DE\u62A5\u7387\u3002`,example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"guess",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A 0.1] - \u5185\u90E8\u6536\u76CA\u7387\u7684\u4F30\u503C\u3002",example:"200",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPV",t:8,d:"\u4F7F\u7528\u8D34\u73B0\u7387\u548C\u4E00\u7CFB\u5217\u672A\u6765\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u6765\u8BA1\u7B97\u4E00\u9879\u6295\u8D44\u7684\u51C0\u73B0\u503C\u3002",a:"\u4F7F\u7528\u8D34\u73B0\u7387\u548C\u4E00\u7CFB\u5217\u672A\u6765\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u6765\u8BA1\u7B97\u4E00\u9879\u6295\u8D44\u7684\u51C0\u73B0\u503C\u3002",m:[2,255],p:[{name:"rate",detail:"\u67D0\u4E00\u671F\u95F4\u7684\u8D34\u73B0\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"value1",detail:"\u7B2C\u4E00\u7B14\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002",example:"200",require:"m",repeat:"n",type:"rangeall"},{name:"value2, ...",detail:"[\u53EF\u9009] - \u5176\u4ED6\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002",example:"250",require:"o",repeat:"y",type:"rangeall"}]},{n:"XNPV",t:8,d:"\u8FD4\u56DE\u4E00\u7EC4\u73B0\u91D1\u6D41\u7684\u51C0\u73B0\u503C\uFF0C\u8FD9\u4E9B\u73B0\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u73B0\u91D1\u6D41\u7684\u51C0\u73B0\u503C\uFF0C\u8FD9\u4E9B\u73B0\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u3002",m:[3,3],p:[{name:"rate",detail:"\u5E94\u7528\u4E8E\u73B0\u91D1\u6D41\u7684\u8D34\u73B0\u7387\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"values",detail:"\u4E0E dates \u4E2D\u7684\u652F\u4ED8\u65F6\u95F4\u76F8\u5BF9\u5E94\u7684\u4E00\u7CFB\u5217\u73B0\u91D1\u6D41\u3002",example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"dates",detail:"\u4E0E\u73B0\u91D1\u6D41\u652F\u4ED8\u76F8\u5BF9\u5E94\u7684\u652F\u4ED8\u65E5\u671F\u8868\u3002",example:"C2:C25",require:"m",repeat:"n",type:"range"}]},{n:"CUMIPMT",t:8,d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u5229\u606F\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u5229\u606F\u3002",m:[6,6],p:[{name:"rate",detail:"\u5229\u606F\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u603B\u4ED8\u6B3E\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73B0\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"start_period",detail:`\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
\u9996\u671F\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"end_period",detail:`\u7ED3\u675F\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
\u672B\u671F\u5FC5\u987B\u5927\u4E8E\u9996\u671F\u3002`,example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PMT",t:8,d:"\u7528\u4E8E\u6839\u636E\u56FA\u5B9A\u4ED8\u6B3E\u989D\u548C\u56FA\u5B9A\u5229\u7387\u8BA1\u7B97\u8D37\u6B3E\u7684\u4ED8\u6B3E\u989D\u3002",a:"\u7528\u4E8E\u6839\u636E\u56FA\u5B9A\u4ED8\u6B3E\u989D\u548C\u56FA\u5B9A\u5229\u7387\u8BA1\u7B97\u8D37\u6B3E\u7684\u4ED8\u6B3E\u989D\u3002",m:[3,5],p:[{name:"rate",detail:"\u8D37\u6B3E\u5229\u7387\u3002",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u8BE5\u9879\u8D37\u6B3E\u7684\u4ED8\u6B3E\u603B\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u989D\u73B0\u5728\u6240\u503C\u7684\u603B\u989D\uFF0C\u4E5F\u53EB\u672C\u91D1\u3002",example:" 100000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002",example:"D2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IPMT",t:8,d:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u7ED9\u5B9A\u671F\u6570\u5185\u5BF9\u6295\u8D44\u7684\u5229\u606F\u507F\u8FD8\u989D\u3002",a:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u7ED9\u5B9A\u671F\u6570\u5185\u5BF9\u6295\u8D44\u7684\u5229\u606F\u507F\u8FD8\u989D\u3002",m:[4,6],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"per",detail:"\u7528\u4E8E\u8BA1\u7B97\u5176\u5229\u606F\u6570\u989D\u7684\u671F\u6570\uFF0C\u5FC5\u987B\u5728 1 \u5230 nper \u4E4B\u95F4\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u7684\u5F53\u524D\u503C\u7684\u7D2F\u79EF\u548C\u3002",example:"80000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002",example:"E2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PPMT",t:8,d:"\u8FD4\u56DE\u6839\u636E\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8D44\u5728\u5DF2\u77E5\u671F\u95F4\u5185\u7684\u672C\u91D1\u507F\u4ED8\u989D\u3002",a:"\u8FD4\u56DE\u6839\u636E\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8D44\u5728\u5DF2\u77E5\u671F\u95F4\u5185\u7684\u672C\u91D1\u507F\u4ED8\u989D\u3002",m:[4,6],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"per",detail:"\u6307\u5B9A\u671F\u6570\uFF0C\u8BE5\u503C\u5FC5\u987B\u5728 1 \u5230 nper \u8303\u56F4\u5185\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002",example:"3*12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73B0\u503C\u5373\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u5F53\u524D\u503C\u7684\u603B\u548C\u3002",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INTRATE",t:8,d:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8D44\u578B\u8BC1\u5238\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8D44\u578B\u8BC1\u5238\u7684\u5229\u7387\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"investment",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6295\u8D44\u989D\u3002",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u6709\u4EF7\u8BC1\u5238\u5230\u671F\u65F6\u7684\u5151\u6362\u503C\u3002",example:"101200",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PRICE",t:8,d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",m:[6,7],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.065",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEDISC",t:8,d:"\u8FD4\u56DE\u6298\u4EF7\u53D1\u884C\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",a:"\u8FD4\u56DE\u6298\u4EF7\u53D1\u884C\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",example:"0.0525",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEMAT",t:8,d:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",a:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",m:[5,6],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"issue",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u53D1\u884C\u65E5\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u5728\u53D1\u884C\u65E5\u7684\u5229\u7387\u3002",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"RECEIVED",t:8,d:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u989D\u3002",a:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u989D\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"investment",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6295\u8D44\u989D\u3002",example:"10000000",require:"m",repeat:"n",type:"rangenumber"},{name:"discount",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",example:"0.0575",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DISC",t:8,d:"\u8FD4\u56DE\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",a:"\u8FD4\u56DE\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"pr",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\uFF08\u6309\u9762\u503C\u4E3A \uFFE5100 \u8BA1\u7B97\uFF09\u3002",example:"97.975",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPER",t:8,d:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u67D0\u9879\u6295\u8D44\u7684\u603B\u671F\u6570\u3002",a:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u67D0\u9879\u6295\u8D44\u7684\u603B\u671F\u6570\u3002",m:[3,5],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u5404\u671F\u6240\u5E94\u652F\u4ED8\u7684\u91D1\u989D\uFF0C\u5728\u6574\u4E2A\u5E74\u91D1\u671F\u95F4\u4FDD\u6301\u4E0D\u53D8\u3002",example:"500",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u7684\u5F53\u524D\u503C\u7684\u7D2F\u79EF\u548C\u3002",example:"40000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
0 \u8868\u793A\u671F\u672B\uFF1B
1 \u8868\u793A\u671F\u521D\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SLN",t:8,d:"\u8FD4\u56DE\u4E00\u4E2A\u671F\u95F4\u5185\u7684\u8D44\u4EA7\u7684\u76F4\u7EBF\u6298\u65E7\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u671F\u95F4\u5185\u7684\u8D44\u4EA7\u7684\u76F4\u7EBF\u6298\u65E7\u3002",m:[3,3],p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002",example:"300000",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002",example:"75000",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DURATION",t:8,d:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u5B9A\u671F\u4ED8\u606F\u6709\u4EF7\u8BC1\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u5B9A\u671F\u4ED8\u606F\u6709\u4EF7\u8BC1\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",m:[5,6],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"coupon",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MDURATION",t:8,d:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684 Macauley \u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684 Macauley \u4FEE\u6B63\u671F\u9650\u3002",m:[5,6],p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"coupon",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2DEC",t:9,d:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",a:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",m:[1,1],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768410\u4F4D\u4E8C\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A0111111111\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A1000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u4E8C\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CBIN2DEC(100)\u548CBIN2DEC("100")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A4\u3002`,example:"101",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIN2HEX",t:9,d:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",a:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768410\u4F4D\u4E8C\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A0111111111\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A1000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u4E8C\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CBIN2HEX(11111)\u548CBIN2HEX("11111")\u5F97\u51FA \u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A1F\u3002`,example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002\u4F8B\u5982\uFF0CBIN2HEX("11111",8)\u6240\u5F97\u7684\u7ED3\u679C\u503C\u4E3A0000001F\u3002
\u5982\u679C\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E1000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2OCT",t:9,d:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",a:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768410\u4F4D\u4E8C\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A0111111111\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A1000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u4E8C\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CBIN2OCT(11111)\u548CBIN2OCT("11111")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A37\u3002`,example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002\u4F8B\u5982\uFF0CBIN2OCT("11111")\u5F97\u5230\u7684\u7ED3\u679C\u503C\u4E3A00000037\u3002
\u5982\u679C\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E1000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2BIN",t:9,d:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u5341\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A511\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A-512\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CDEC2BIN(199)\u548CDEC2BIN("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A11000111\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5341\u8FDB\u5236\u6570\u4E3A\u8D1F\u6570\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2HEX",t:9,d:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u5341\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A549755813887\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A-549755814888\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CDEC2HEX(100)\u548CDEC2HEX("100")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A64\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5341\u8FDB\u5236\u6570\u4E3A\u8D1F\u6570\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2OCT",t:9,d:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u5341\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A536870911\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A-53687092\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CDEC2OCT(199)\u548CDEC2OCT("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A307\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5341\u8FDB\u5236\u6570\u4E3A\u8D1F\u6570\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2BIN",t:9,d:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768440\u4F4D\u5341\u516D\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A1FF\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3AFFFFFFFE00\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u516D\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CHEX2BIN(199)\u548CHEX2BIN("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A110011001\u3002`,example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E8000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2DEC",t:9,d:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",m:[1,1],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768440\u4F4D\u5341\u516D\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A7fffffffff\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A8000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u516D\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CHEX2DEC(199)\u548CHEX2DEC("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A409\u3002`,example:'"f3"',require:"m",repeat:"n",type:"rangeall"}]},{n:"HEX2OCT",t:9,d:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768440\u4F4D\u5341\u516D\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A1FFFFFFF\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3AFFE0000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u516D\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CHEX2OCT(199)\u548CHEX2OCT("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A631\u3002`,example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u7ED9\u5B9A\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E8000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2BIN",t:9,d:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",a:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768430\u4F4D\u516B\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A777\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A7777777000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u516B\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0COCT2BIN(177)\u548COCT2BIN("177")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A1111111\u3002`,example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u7ED9\u5B9A\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E4000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2DEC",t:9,d:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",a:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",m:[1,1],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768430\u4F4D\u516B\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684ba\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A3777777777\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A4000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u516B\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0COCT2DEC(177)\u548COCT2DEC("177")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A127\u3002`,example:"37",require:"m",repeat:"n",type:"rangeall"}]},{n:"OCT2HEX",t:9,d:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",a:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768430\u4F4D\u516B\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E26\u7B26\u53F7\u7684ba\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A3777777777\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A4000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u516B\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0COCT2HEX(177)\u548COCT2HEX("177")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A7F\u3002`,example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
\u5982\u679C\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u7ED9\u5B9A\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E4000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COMPLEX",t:9,d:"\u5C06\u5B9E\u7CFB\u6570\u53CA\u865A\u7CFB\u6570\u8F6C\u6362\u4E3A x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u590D\u6570\u3002",a:"\u5C06\u5B9E\u7CFB\u6570\u53CA\u865A\u7CFB\u6570\u8F6C\u6362\u4E3A x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u590D\u6570\u3002",m:[2,3],p:[{name:"real_num",detail:"\u590D\u6570\u7684\u5B9E\u7CFB\u6570\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"i_num",detail:"\u590D\u6570\u7684\u865A\u7CFB\u6570\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"suffix",detail:'[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A "i"] - \u590D\u6570\u4E2D\u865A\u7CFB\u6570\u7684\u540E\u7F00\u3002',example:'"j"',require:"o",repeat:"n",type:"rangestring"}]},{n:"IMREAL",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5B9E\u7CFB\u6570\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5B9E\u7CFB\u6570\u3002",m:[1,1],p:[{name:"inumber",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5B9E\u7CFB\u6570\u7684\u590D\u6570\u3002",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMAGINARY",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u865A\u7CFB\u6570\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u865A\u7CFB\u6570\u3002",m:[1,1],p:[{name:"inumber",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u865A\u7CFB\u6570\u7684\u590D\u6570\u3002",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMCONJUGATE",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5171\u8F6D\u590D\u6570\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5171\u8F6D\u590D\u6570\u3002",m:[1,1],p:[{name:"inumber",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5171\u8F6D\u6570\u7684\u590D\u6570\u3002",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMABS",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u7EDD\u5BF9\u503C\uFF08\u6A21\uFF09\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u7EDD\u5BF9\u503C\uFF08\u6A21\uFF09\u3002",m:[1,1],p:[{name:"inumber",detail:"\u8981\u8BA1\u7B97\u5176\u7EDD\u5BF9\u503C\u7684\u590D\u6570\u3002",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DELTA",t:9,d:"\u68C0\u9A8C\u4E24\u4E2A\u503C\u662F\u5426\u76F8\u7B49\u3002 \u5982\u679C number1=number2\uFF0C\u5219\u8FD4\u56DE 1\uFF1B\u5426\u5219\u8FD4\u56DE 0\u3002",a:"\u68C0\u9A8C\u4E24\u4E2A\u503C\u662F\u5426\u76F8\u7B49\u3002 \u5982\u679C number1=number2\uFF0C\u5219\u8FD4\u56DE 1\uFF1B\u5426\u5219\u8FD4\u56DE 0\u3002",m:[1,2],p:[{name:"number1",detail:"\u7B2C\u4E00\u4E2A\u6570\u5B57\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"number2",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A 0] - \u7B2C\u4E8C\u4E2A\u6570\u5B57\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"IMSUM",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u548C\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u548C\u3002",m:[1,255],p:[{name:"inumber1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u590D\u6570",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2, \u2026",detail:"[\u53EF\u9009] - \u8981\u4E0E\u503C1 \u76F8\u52A0\u7684\u5176\u4ED6\u590D\u6570",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMSUB",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5DEE\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5DEE\u3002",m:[2,2],p:[{name:"inumber1",detail:"\u4ECE\uFF08\u590D\uFF09\u6570\u4E2D\u51CF\u53BB inumber2\u3002",example:'"6+5i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2",detail:"\u4ECE inumber1 \u4E2D\u51CF\uFF08\u590D\uFF09\u6570\u3002",example:'"2+3i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMPRODUCT",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u4E58\u79EF\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u4E58\u79EF\u3002",m:[1,255],p:[{name:"inumber1",detail:"\u7528\u4E8E\u8BA1\u7B97\u4E58\u79EF\u7684\u7B2C\u4E00\u4E2A\u590D\u6570",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2, \u2026",detail:"[\u53EF\u9009] - \u8981\u76F8\u4E58\u7684\u5176\u4ED6\u590D\u6570\u3002",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMDIV",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5546\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5546\u3002",m:[2,2],p:[{name:"inumber1",detail:"\u590D\u6570\u5206\u5B50\u6216\u88AB\u9664\u6570\u3002",example:'"11+16i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2",detail:"\u590D\u6570\u5206\u6BCD\u6216\u9664\u6570\u3002",example:'"3+2i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NOT",t:10,d:"\u8FD4\u56DE\u67D0\u4E2A\u903B\u8F91\u503C\u7684\u76F8\u53CD\u503C - \u201CNOT(TRUE())\u201D\u5C06\u8FD4\u56DE FALSE\uFF1B\u201CNOT(FALSE())\u201D\u5C06\u8FD4\u56DE TRUE\u3002",a:"\u8FD4\u56DE\u67D0\u4E2A\u903B\u8F91\u503C\u7684\u76F8\u53CD\u503C - \u201CNOT(TRUE())\u201D\u5C06\u8FD4\u56DE FALSE\uFF1B\u201CNOT(FALSE())\u201D\u5C06\u8FD4\u56DE TRUE\u3002",m:[1,1],p:[{name:"logical",detail:"\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u6216 FALSE \u7684\u4EFB\u4F55\u503C\u6216\u8868\u8FBE\u5F0F\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TRUE",t:10,d:"\u8FD4\u56DE\u903B\u8F91\u503C TRUE\u3002",a:"\u8FD4\u56DE\u903B\u8F91\u503C TRUE\u3002",m:[0,0],p:[]},{n:"FALSE",t:10,d:"\u8FD4\u56DE\u903B\u8F91\u503C FALSE\u3002",a:"\u8FD4\u56DE\u903B\u8F91\u503C FALSE\u3002",m:[0,0],p:[]},{n:"AND",t:10,d:"\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",a:"\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",m:[1,255],p:[{name:"logical1",detail:"\u8981\u6D4B\u8BD5\u7684\u7B2C\u4E00\u4E2A\u6761\u4EF6\uFF0C\u5176\u8BA1\u7B97\u7ED3\u679C\u53EF\u4EE5\u4E3A TRUE \u6216 FALSE\u3002",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"logical2,...",detail:"[\u53EF\u9009] - \u8981\u6D4B\u8BD5\u7684\u5176\u4ED6\u6761\u4EF6\uFF0C\u5176\u8BA1\u7B97\u7ED3\u679C\u53EF\u4EE5\u4E3A TRUE \u6216 FALSE\uFF0C\u6700\u591A\u53EF\u5305\u542B 255 \u4E2A\u6761\u4EF6\u3002",example:'A3 = "bar"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IFERROR",t:10,d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E0D\u662F\u9519\u8BEF\u503C\uFF0C\u5C31\u8FD4\u56DE\u7B2C\u4E00\u4E2A\u53C2\u6570\uFF1B\u5426\u5219\uFF0C\u8FD4\u56DE\u7B2C\u4E8C\u4E2A\u53C2\u6570\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E0D\u662F\u9519\u8BEF\u503C",m:[2,2],p:[{name:"value",detail:"\u68C0\u67E5\u662F\u5426\u5B58\u5728\u9519\u8BEF\u7684\u53C2\u6570\u3002",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"value_if_error",detail:"\u516C\u5F0F\u7684\u8BA1\u7B97\u7ED3\u679C\u9519\u8BEF\u65F6\u8FD4\u56DE\u7684\u503C\u3002 \u8BA1\u7B97\u4EE5\u4E0B\u9519\u8BEF\u7C7B\u578B\uFF1A#N/A\u3001#VALUE!\u3001#REF!\u3001#DIV/0!\u3001#NUM!\u3001#NAME? \u6216 #NULL!\u3002",example:'"Error in cell A1"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IF",t:10,d:"\u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u7684\u503C\u4E3A TRUE \u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u800C\u5F53\u5176\u4E3A FALSE \u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002",a:"\u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u7684\u503C\u4E3A TRUE \u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u800C\u5F53\u5176\u4E3A FALSE \u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002",m:[2,3],p:[{name:"logical_test",detail:"\u4E00\u4E2A\u8868\u8FBE\u5F0F\u6216\u5BF9\u5305\u542B\u8868\u8FBE\u5F0F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u8BE5\u8868\u8FBE\u5F0F\u4EE3\u8868\u67D0\u79CD\u903B\u8F91\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u3002",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_true",detail:"\u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u4E3ATRUE\u65F6\u7684\u8FD4\u56DE\u503C\u3002",example:'"A2 is foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_false",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u7A7A\u767D] - \u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u7B49\u4E8EFALSE\u65F6\u7684\u51FD\u6570\u8FD4\u56DE\u503C\u3002",example:'"A2 was false"',require:"o",repeat:"n",type:"rangeall"}]},{n:"OR",t:10,d:"\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",a:"\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",m:[1,255],p:[{name:"logical1",detail:"\u8981\u6D4B\u8BD5\u7684\u7B2C\u4E00\u4E2A\u6761\u4EF6\uFF0C\u5176\u8BA1\u7B97\u7ED3\u679C\u53EF\u4EE5\u4E3A TRUE \u6216 FALSE\u3002",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"\u903B\u8F91\u8868\u8FBE\u5F0F2",detail:"[\u53EF\u9009] - \u5176\u4ED6\u8868\u8FBE\u5F0F\u6216\u5BF9\u5305\u542B\u8868\u8FBE\u5F0F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u8FD9\u4E9B\u8868\u8FBE\u5F0F\u4EE3\u8868\u67D0\u79CD\u903B\u8F91\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u6216\u8005\u53EF\u4EE5\u5F3A\u5236\u8F6C\u6362\u4E3A\u903B\u8F91\u503C\u3002",example:' A3 = "bar"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NE",t:11,d:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C<>\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C<>\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u8981\u68C0\u67E5\u662F\u5426\u4E0E value1 \u4E0D\u76F8\u7B49\u7684\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"EQ",t:11,d:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C=\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C=\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u8981\u68C0\u67E5\u662F\u5426\u4E0E value1 \u76F8\u7B49\u7684\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GT",t:11,d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5927\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5927\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5927\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GTE",t:11,d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5927\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>=\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5927\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>=\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5927\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LT",t:11,d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5C0F\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5C0F\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LTE",t:11,d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5C0F\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<=\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5C0F\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<=\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ADD",t:11,d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u548C\u3002\u76F8\u5F53\u4E8E `+` \u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u548C\u3002\u76F8\u5F53\u4E8E `+` \u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u52A0\u6570\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u52A0\u6570\u3002",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINUS",t:11,d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u5DEE\u3002\u76F8\u5F53\u4E8E\u201C-\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u5DEE\u3002\u76F8\u5F53\u4E8E\u201C-\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u88AB\u51CF\u6570\uFF0C\u5373\u8981\u5BF9\u5176\u8BA1\u51CF\u7684\u6570\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"\u51CF\u6570\uFF0C\u5373\u8981\u4ECE value1 \u4E2D\u51CF\u9664\u7684\u6570\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTIPLY",t:11,d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7684\u4E58\u79EF\u3002\u76F8\u5F53\u4E8E\u201C*\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7684\u4E58\u79EF\u3002\u76F8\u5F53\u4E8E\u201C*\u201D\u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u4E58\u6570\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u4E58\u6570\u3002",example:"B2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DIVIDE",t:11,d:"\u8FD4\u56DE\u4E24\u4E2A\u53C2\u6570\u76F8\u9664\u6240\u5F97\u7684\u7ED3\u679C\u3002\u76F8\u5F53\u4E8E `/` \u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u53C2\u6570\u76F8\u9664\u6240\u5F97\u7684\u7ED3\u679C\u3002\u76F8\u5F53\u4E8E `/` \u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u88AB\u9664\u7684\u6570\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:`\u7528\u4E8E\u9664\u5176\u4ED6\u6570\u7684\u6570\u503C\u3002
\u9664\u6570\u4E0D\u5F97\u4E3A0\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCAT",t:11,d:"\u8FD4\u56DE\u4E24\u4E2A\u503C\u7684\u4E32\u8054\u3002\u76F8\u5F53\u4E8E `&` \u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u503C\u7684\u4E32\u8054\u3002\u76F8\u5F53\u4E8E `&` \u8FD0\u7B97\u7B26\u3002",m:[2,2],p:[{name:"value1",detail:"value2 \u5C06\u9644\u4E8E\u5176\u540E\u7684\u503C\u3002",example:'"de"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u8981\u9644\u4E8E value1 \u4E4B\u540E\u7684\u503C\u3002",example:'"mystify"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UNARY_PERCENT",t:11,d:"\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CA\u7684\u6570\u503C\u3002\u4F8B\u5982\uFF0C\u201CUNARY_PERCENT(100)\u201D\u7B49\u4E8E1\u3002",a:"\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CA\u7684\u6570\u503C\u3002\u4F8B\u5982\uFF0C\u201CUNARY_PERCENT(100)\u201D\u7B49\u4E8E1\u3002",m:[1,1],p:[{name:"number",detail:"\u8981\u4F5C\u4E3A\u767E\u5206\u6BD4\u89E3\u91CA\u7684\u6570\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCATENATE",t:12,d:"\u5C06\u4E24\u4E2A\u6216\u591A\u4E2A\u6587\u672C\u5B57\u7B26\u4E32\u8054\u63A5\u4E3A\u4E00\u4E2A\u5B57\u7B26\u4E32\u3002",a:"\u5C06\u4E24\u4E2A\u6216\u591A\u4E2A\u6587\u672C\u5B57\u7B26\u4E32\u8054\u63A5\u4E3A\u4E00\u4E2A\u5B57\u7B26\u4E32\u3002",m:[1,255],p:[{name:"text1",detail:"\u521D\u59CB\u5B57\u7B26\u4E32\u3002",example:'"Super"',require:"m",repeat:"n",type:"rangeall"},{name:"text2 ...",detail:"[\u53EF\u9009] - \u8981\u6309\u987A\u5E8F\u8FDE\u63A5\u5728\u4E00\u8D77\u7684\u5176\u4ED6\u5B57\u7B26\u4E32\u3002",example:'"calla"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CODE",t:12,d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u7B26\u4E32\u4E2D\u9996\u5B57\u7B26\u7684 Unicode \u6620\u5C04\u503C\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u7B26\u4E32\u4E2D\u9996\u5B57\u7B26\u7684 Unicode \u6620\u5C04\u503C\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u9996\u5B57\u7B26\u7684Unicode\u6620\u5C04\u503C\u7684\u5B57\u7B26\u4E32\u3002",example:'"a"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CHAR",t:12,d:"\u6309\u7167\u5F53\u524D Unicode \u7F16\u7801\u8868\uFF0C\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5BF9\u5E94\u7684\u5B57\u7B26\u3002",a:"\u6309\u7167\u5F53\u524D Unicode \u7F16\u7801\u8868\uFF0C\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5BF9\u5E94\u7684\u5B57\u7B26\u3002",m:[1,1],p:[{name:"number",detail:"\u4ECB\u4E8E 1 \u5230 255 \u4E4B\u95F4\u7684\u6570\u5B57\u3002",example:"97",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ARABIC",t:12,d:"\u5C06\u7F57\u9A6C\u6570\u5B57\u8F6C\u6362\u4E3A\u963F\u62C9\u4F2F\u6570\u5B57\u3002",a:"\u5C06\u7F57\u9A6C\u6570\u5B57\u8F6C\u6362\u4E3A\u963F\u62C9\u4F2F\u6570\u5B57\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F6C\u6362\u683C\u5F0F\u7684\u7F57\u9A6C\u6570\u5B57",example:'"XIV"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ROMAN",t:12,d:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u7F57\u9A6C\u6570\u5B57\u5F62\u5F0F\u3002",a:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u7F57\u9A6C\u6570\u5B57\u5F62\u5F0F\u3002",m:[1,1],p:[{name:"number",detail:"\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u6570\u5B57\uFF0C\u4ECB\u4E8E1\u52303999\u4E4B\u95F4\uFF08\u5305\u62EC\u8FD9\u4E24\u4E2A\u6570\u5B57\uFF09\u3002",example:"499",require:"m",repeat:"n",type:"rangenumber"}]},{n:"REGEXEXTRACT",t:12,d:"\u6309\u7167\u6B63\u5219\u8868\u8FBE\u5F0F\u63D0\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",a:"\u6309\u7167\u6B63\u5219\u8868\u8FBE\u5F0F\u63D0\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",m:[2,2],p:[{name:"text",detail:"\u8F93\u5165\u6587\u672C\u3002",example:'"Needle in a haystack"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"\u6B64\u51FD\u6570\u5C06\u8FD4\u56DE\u6587\u672C\u4E2D\u7B26\u5408\u6B64\u8868\u8FBE\u5F0F\u7684\u7B2C\u4E00\u4E2A\u5B50\u4E32\u3002",example:'".e{2}dle"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXMATCH",t:12,d:"\u5224\u65AD\u4E00\u6BB5\u6587\u672C\u662F\u5426\u4E0E\u6B63\u5219\u8868\u8FBE\u5F0F\u76F8\u5339\u914D\u3002",a:"\u5224\u65AD\u4E00\u6BB5\u6587\u672C\u662F\u5426\u4E0E\u6B63\u5219\u8868\u8FBE\u5F0F\u76F8\u5339\u914D\u3002",m:[2,2],p:[{name:"text",detail:"\u8981\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u6D4B\u8BD5\u7684\u6587\u672C\u3002",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"\u7528\u6765\u6D4B\u8BD5\u6587\u672C\u7684\u6B63\u5219\u8868\u8FBE\u5F0F\u3002",example:'"S.r"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXREPLACE",t:12,d:"\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",a:"\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",m:[3,3],p:[{name:"text",detail:"\u8981\u5BF9\u5176\u5C40\u90E8\u8FDB\u884C\u66FF\u6362\u64CD\u4F5C\u7684\u6587\u672C\u3002",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"\u6B63\u5219\u8868\u8FBE\u5F0F\u3002 text \u4E2D\u6240\u6709\u5339\u914D\u7684\u5B9E\u4F8B\u90FD\u5C06\u88AB\u66FF\u6362\u3002",example:'"S.*d"',require:"m",repeat:"n",type:"rangeall"},{name:"replacement",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u672C\u4E2D\u7684\u6587\u672C\u3002",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"T",t:12,d:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u53C2\u6570\u3002",a:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u53C2\u6570\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u6587\u672C\u7684\u53C2\u6570\u3002
\u5982\u679C\u503C\u4E3A\u6587\u672C\uFF0CT\u5C06\u8FD4\u56DE\u503C\u672C\u8EAB\u3002
\u5982\u679C\u503C\u4E3A\u6307\u5411\u5305\u542B\u6587\u672C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CT\u5C06\u8FD4\u56DE\u503C\u4E2D\u7684\u5185\u5BB9\u3002
\u5982\u679C\u503C\u4E3A\u9519\u8BEF\u503C\u6216\u5305\u542B\u9519\u8BEF\u503C\u7684\u5355\u5143\u683C\uFF0CT\u5C06\u8FD4\u56DE\u8BE5\u9519\u8BEF\u503C\u3002
\u5BF9\u4E8E\u6240\u6709\u5176\u4ED6\u60C5\u51B5\uFF0CT\u5C06\u8FD4\u56DE\u7A7A\u4E32\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"FIXED",t:12,d:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u8BBE\u7F6E\u6570\u5B57\u7684\u683C\u5F0F\u3002",a:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u8BBE\u7F6E\u6570\u5B57\u7684\u683C\u5F0F\u3002",m:[1,3],p:[{name:"number",detail:"\u8981\u8FDB\u884C\u820D\u5165\u5E76\u8F6C\u6362\u4E3A\u6587\u672C\u7684\u6570\u5B57\u3002",example:"3.141592653",require:"m",repeat:"n",type:"rangenumber"},{name:"decimals",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A2] - \u7ED3\u679C\u4E2D\u8981\u663E\u793A\u7684\u5C0F\u6570\u4F4D\u6570\u3002
\u5982\u679C\u6570\u503C\u7684\u6709\u6548\u4F4D\u6570\u5C0F\u4E8E\u5C0F\u6570\u4F4D\u6570\uFF0C\u5C06\u4EE5\u96F6\u586B\u5145\u3002\u5982\u679C\u6570\u503C\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u5C0F\u6570\u4F4D\u6570\uFF0C\u5219\u5C06\u5176\u820D\u5165\u5230\u6240\u9700\u7684\u5C0F\u6570\u4F4D\u6570\u800C\u4E0D\u662F\u5C06\u5176\u622A\u65AD\u3002`,example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"no_commas",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3AFALSE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u4F1A\u7981\u6B62 FIXED \u5728\u8FD4\u56DE\u7684\u6587\u672C\u4E2D\u5305\u542B\u9017\u53F7\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FIND",t:12,d:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",m:[2,3],p:[{name:"find_text",detail:"\u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u67E5\u627E\u7684\u5B57\u7B26\u4E32\u3002",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u641C\u7D22\u641C\u7D22\u5B57\u7B26\u4E32\u7684\u9996\u6B21\u51FA\u73B0\u4F4D\u7F6E\u7684\u6587\u672C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u5F00\u59CB\u641C\u7D22\u7684\u5B57\u7B26\u4F4D\u7F6E\u3002",example:"14",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FINDB",t:12,d:"\u8FD4\u56DE\u67D0\u4E2A\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u6BCF\u4E2A\u53CC\u5B57\u8282\u5B57\u7B26\u5360\u4E24\u4E2A\u4F4D\u7F6E\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u4E2A\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u6BCF\u4E2A\u53CC\u5B57\u8282\u5B57\u7B26\u5360\u4E24\u4E2A\u4F4D\u7F6E\uFF09\u3002",m:[2,3],p:[{name:"find_text",detail:"\u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u67E5\u627E\u7684\u5B57\u7B26\u4E32\u3002",example:'"\u65B0"',require:"m",repeat:"n",type:"rangeall"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u641C\u7D22\u641C\u7D22\u5B57\u7B26\u4E32\u7684\u9996\u6B21\u51FA\u73B0\u4F4D\u7F6E\u7684\u6587\u672C\u3002",example:'"\u519C\u5386\u65B0\u5E74"',require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 1] - \u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u5F00\u59CB\u641C\u7D22\u7684\u5B57\u7B26\u4F4D\u7F6E\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"JOIN",t:12,d:"\u5C06\u4E00\u4E2A\u6216\u591A\u4E2A\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7EF4\u6570\u7EC4\u7684\u5143\u7D20\u8FDE\u63A5\u5230\u4E00\u8D77\u3002",a:"\u5C06\u4E00\u4E2A\u6216\u591A\u4E2A\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7EF4\u6570\u7EC4\u7684\u5143\u7D20\u8FDE\u63A5\u5230\u4E00\u8D77\u3002",m:[2,255],p:[{name:"separator",detail:`\u7F6E\u4E8E\u76F8\u4E92\u8FDE\u63A5\u7684\u503C\u4E4B\u95F4\u7684\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u3002
\u5B9A\u754C\u7B26\u53EF\u4EE5\u4E3A\u7A7A\uFF0C\u4F8B\u5982JOIN(,{1,2,3})\u3002`,example:'" and-a "',require:"m",repeat:"n",type:"rangeall"},{name:"array1",detail:"\u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u8FDE\u63A5\u7684\u4E00\u4E2A\u6216\u591A\u4E2A\u503C\u3002",example:"{1",require:"m",repeat:"n",type:"rangeall"},{name:"array2, ...",detail:"[\u53EF\u9009] - \u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u8FDE\u63A5\u7684\u5176\u4ED6\u503C\u6216\u6570\u7EC4\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"LEFT",t:12,d:"\u4ECE\u6587\u672C\u5B57\u7B26\u4E32\u7684\u7B2C\u4E00\u4E2A\u5B57\u7B26\u5F00\u59CB\u8FD4\u56DE\u6307\u5B9A\u4E2A\u6570\u7684\u5B57\u7B26\u3002",a:"\u4ECE\u6587\u672C\u5B57\u7B26\u4E32\u7684\u7B2C\u4E00\u4E2A\u5B57\u7B26\u5F00\u59CB\u8FD4\u56DE\u6307\u5B9A\u4E2A\u6570\u7684\u5B57\u7B26\u3002",m:[1,2],p:[{name:"text",detail:"\u5305\u542B\u8981\u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"num_chars",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u6307\u5B9A\u8981\u7531 LEFT \u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6570\u91CF\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RIGHT",t:12,d:"\u6839\u636E\u6240\u6307\u5B9A\u7684\u5B57\u7B26\u6570\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u6700\u540E\u4E00\u4E2A\u6216\u591A\u4E2A\u5B57\u7B26\u3002",a:"\u6839\u636E\u6240\u6307\u5B9A\u7684\u5B57\u7B26\u6570\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u6700\u540E\u4E00\u4E2A\u6216\u591A\u4E2A\u5B57\u7B26\u3002",m:[1,2],p:[{name:"text",detail:"\u5305\u542B\u8981\u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"num_chars",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u6307\u5B9A\u8981\u7531 RIGHT \u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6570\u91CF\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MID",t:12,d:"\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u4ECE\u6307\u5B9A\u4F4D\u7F6E\u5F00\u59CB\u7684\u7279\u5B9A\u6570\u76EE\u7684\u5B57\u7B26\u3002",a:"\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u4ECE\u6307\u5B9A\u4F4D\u7F6E\u5F00\u59CB\u7684\u7279\u5B9A\u6570\u76EE\u7684\u5B57\u7B26\u3002",m:[3,3],p:[{name:"text",detail:"\u5305\u542B\u8981\u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002",example:'"get this"',require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"\u8981\u4ECE\u5B57\u7B26\u4E32\u4E2D\u5F00\u59CB\u63D0\u53D6\u7684\u4F4D\u7F6E\u3002\u5B57\u7B26\u4E32\u4E2D\u7B2C\u4E00\u4E2A\u5B57\u7B26\u7684\u7D22\u5F15\u4E3A1\u3002",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"num_chars",detail:`\u6307\u5B9A\u8981\u7531 MID \u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6570\u91CF\u3002
\u5982\u679C\u63D0\u53D6\u7684\u5B57\u7B26\u6570\u5C1A\u4E0D\u8DB3\u63D0\u53D6\u957F\u5EA6\u4E2A\u5B57\u7B26\u65F6\u5C31\u5230\u8FBE\u4E86\u5B57\u7B26\u4E32\u5C3E\u90E8\uFF0C\u5219MID\u8FD4\u56DE\u4ECE\u5F00\u59CB\u4F4D\u7F6E\u5230\u5B57\u7B26\u4E32\u5C3E\u90E8\u7684\u5B57\u7B26\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LEN",t:12,d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B57\u7B26\u4E32\u7684\u957F\u5EA6\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B57\u7B26\u4E32\u7684\u957F\u5EA6\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u957F\u5EA6\u7684\u5B57\u7B26\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LENB",t:12,d:"\u8FD4\u56DE\u6587\u672C\u4E2D\u6240\u5305\u542B\u7684\u5B57\u7B26\u6570\u3002\u4E0E\u53CC\u5B57\u8282\u5B57\u7B26\u96C6(DBCS)\u4E00\u8D77\u4F7F\u7528\u3002",a:"\u8FD4\u56DE\u6587\u672C\u4E2D\u6240\u5305\u542B\u7684\u5B57\u7B26\u6570\u3002\u4E0E\u53CC\u5B57\u8282\u5B57\u7B26\u96C6(DBCS)\u4E00\u8D77\u4F7F\u7528\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u5B57\u8282\u6570\u7684\u5B57\u7B26\u4E32\u3002\uFF08\u4E00\u4E2A\u6C49\u5B57\u4E3A\u4E24\u4E2A\u5B57\u8282\u6570\uFF09",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LOWER",t:12,d:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5C0F\u5199\u3002",a:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5C0F\u5199\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F6C\u6362\u4E3A\u5C0F\u5199\u7684\u5B57\u7B26\u4E32\u3002",example:'"LOREM IPSUM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UPPER",t:12,d:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5927\u5199\u3002",a:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5927\u5199\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F6C\u6362\u4E3A\u5927\u5199\u7684\u5B57\u7B26\u4E32\u3002",example:'"lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EXACT",t:12,d:"\u6BD4\u8F83\u4E24\u4E2A\u5B57\u7B26\u4E32\u662F\u5426\u76F8\u540C\u3002",a:"\u6BD4\u8F83\u4E24\u4E2A\u5B57\u7B26\u4E32\u662F\u5426\u76F8\u540C\u3002",m:[2,2],p:[{name:"text1",detail:"\u8981\u6BD4\u8F83\u7684\u7B2C\u4E00\u4E2A\u5B57\u7B26\u4E32\u3002",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"text2",detail:"\u8981\u6BD4\u8F83\u7684\u7B2C\u4E8C\u4E2A\u5B57\u7B26\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"REPLACE",t:12,d:"\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",a:"\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",m:[4,4],p:[{name:"old_text",detail:"\u8981\u5BF9\u5176\u5C40\u90E8\u8FDB\u884C\u66FF\u6362\u64CD\u4F5C\u7684\u6587\u672C\u3002",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"\u5F00\u59CB\u8FDB\u884C\u66FF\u6362\u64CD\u4F5C\u7684\u4F4D\u7F6E\uFF08\u6587\u672C\u5F00\u5934\u4F4D\u7F6E\u4E3A 1\uFF09\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"num_chars",detail:"\u8981\u5728\u6587\u672C\u4E2D\u66FF\u6362\u7684\u5B57\u7B26\u4E2A\u6570\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"new_text",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u672C\u4E2D\u7684\u6587\u672C\u3002",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REPT",t:12,d:"\u8FD4\u56DE\u6307\u5B9A\u6587\u672C\u7684\u591A\u6B21\u91CD\u590D\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6587\u672C\u7684\u591A\u6B21\u91CD\u590D\u3002",m:[2,2],p:[{name:"text",detail:"\u8981\u91CD\u590D\u7684\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u3002",example:'"ha"',require:"m",repeat:"n",type:"rangeall"},{name:"number_times",detail:`\u8981\u91CD\u590D\u7684\u6587\u672C\u8981\u5728\u8FD4\u56DE\u503C\u4E2D\u51FA\u73B0\u7684\u6B21\u6570\u3002
\u6700\u5927\u91CD\u590D\u6B21\u6570\u4E3A100\u3002\u5373\u4F7F\u91CD\u590D\u6B21\u6570\u5927\u4E8E100\uFF0CREPT\u4E5F\u4EC5\u5C06\u76F8\u5E94\u6587\u672C\u91CD\u590D100\u6B21\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SEARCH",t:12,d:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u4E0D\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u4E0D\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",m:[2,3],p:[{name:"find_text",detail:"\u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u67E5\u627E\u7684\u5B57\u7B26\u4E32\u3002",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u641C\u7D22\u641C\u7D22\u5B57\u7B26\u4E32\u7684\u9996\u6B21\u51FA\u73B0\u4F4D\u7F6E\u7684\u6587\u672C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"[ \u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1 ] - \u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u5F00\u59CB\u641C\u7D22\u7684\u5B57\u7B26\u4F4D\u7F6E\u3002",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUBSTITUTE",t:12,d:"\u5728\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7528 new_text \u66FF\u6362 old_text\u3002",a:"\u5728\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7528 new_text \u66FF\u6362 old_text\u3002",m:[3,4],p:[{name:"text",detail:"\u9700\u8981\u66FF\u6362\u5176\u4E2D\u5B57\u7B26\u7684\u6587\u672C\uFF0C\u6216\u5BF9\u542B\u6709\u6587\u672C\uFF08\u9700\u8981\u66FF\u6362\u5176\u4E2D\u5B57\u7B26\uFF09\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002",example:'"search for it"',require:"m",repeat:"n",type:"rangeall"},{name:"old_text",detail:"\u9700\u8981\u66FF\u6362\u7684\u6587\u672C\u3002",example:'"search for"',require:"m",repeat:"n",type:"rangeall"},{name:"new_text",detail:"\u7528\u4E8E\u66FF\u6362 old_text \u7684\u6587\u672C\u3002",example:'"Google"',require:"m",repeat:"n",type:"rangeall"},{name:"instance_num",detail:"[ \u53EF\u9009 ] - \u6307\u5B9A\u8981\u7528 new_text \u66FF\u6362 old_text \u7684\u4E8B\u4EF6\u3002 \u5982\u679C\u6307\u5B9A\u4E86 instance_num\uFF0C\u5219\u53EA\u6709\u6EE1\u8DB3\u8981\u6C42\u7684 old_text \u88AB\u66FF\u6362\u3002 \u5426\u5219\uFF0C\u6587\u672C\u4E2D\u51FA\u73B0\u7684\u6240\u6709 old_text \u90FD\u4F1A\u66F4\u6539\u4E3A new_text\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CLEAN",t:12,d:"\u79FB\u9664\u6587\u672C\u4E2D\u7684\u4E0D\u53EF\u6253\u5370 ASCII \u5B57\u7B26\u540E\u5C06\u5176\u8FD4\u56DE\u3002",a:"\u79FB\u9664\u6587\u672C\u4E2D\u7684\u4E0D\u53EF\u6253\u5370 ASCII \u5B57\u7B26\u540E\u5C06\u5176\u8FD4\u56DE\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u79FB\u9664\u5176\u4E2D\u4E0D\u53EF\u6253\u5370\u5B57\u7B26\u7684\u6587\u672C\u3002",example:'"AF"&CHAR(31)',require:"m",repeat:"n",type:"rangeall"}]},{n:"TEXT",t:12,d:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u6587\u672C\u3002",a:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u6587\u672C\u3002",m:[2,2],p:[{name:"value",detail:"\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u6570\u5B57\u3001\u65E5\u671F\u6216\u65F6\u95F4\u3002",example:"1.23",require:"m",repeat:"n",type:"rangenumber"},{name:"format_text",detail:`\u4EE5\u62EC\u53F7\u62EC\u8D77\u6765\u7684\u6A21\u5F0F\u4E32\uFF0C\u5C06\u6309\u8BE5\u6A21\u5F0F\u8BBE\u7F6E\u6570\u5B57\u7684\u683C\u5F0F\u3002
0\u8868\u793A\u5728\u6570\u503C\u4F4D\u6570\u5C11\u4E8E\u683C\u5F0F\u6307\u5B9A\u7684\u4F4D\u6570\u65F6\u5FC5\u5B9A\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982\uFF0CTEXT(12.3,"000.00")\u5C06\u8FD4\u56DE012.30\u3002\u5F53\u6570\u503C\u7684\u5C0F\u6570\u4F4D\u6570\u8D85\u8FC7\u6A21\u5F0F\u6307\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u65F6\uFF0C\u56DB\u820D\u4E94\u5165\u4E3A\u6307\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u3002\u4F8B\u5982\uFF0CTEXT(12.305,"00.00")\u5C06\u8FD4\u56DE12.31\u3002
#\u7C7B\u4F3C\u4E8E0\uFF0C\u4F46\u5E76\u4E0D\u662F\u5728\u5C0F\u6570\u70B9\u7684\u4E24\u4FA7\u90FD\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982\uFF0CTEXT(12.3,"###.##")\u5C06\u8FD4\u56DE12.3\u3002`,example:'"$0.00"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TRIM",t:12,d:"\u5220\u9664\u6307\u5B9A\u5B57\u7B26\u4E32\u524D\u540E\u7684\u7A7A\u683C\u3002",a:"\u5220\u9664\u6307\u5B9A\u5B57\u7B26\u4E32\u524D\u540E\u7684\u7A7A\u683C\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u4FEE\u526A\u7684\u5B57\u7B26\u4E32\u6216\u6307\u5411\u5305\u542B\u8BE5\u5B57\u7B26\u4E32\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002",example:'" lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"VALUE",t:12,d:"\u5C06\u53EF\u8BC6\u522B\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u65F6\u95F4\u6216\u6570\u5B57\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u6570\u5B57\u3002",a:"\u5C06\u53EF\u8BC6\u522B\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u65F6\u95F4\u6216\u6570\u5B57\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u6570\u5B57\u3002",m:[1,1],p:[{name:"text",detail:"\u5305\u542B\u8981\u8F6C\u6362\u7684\u503C\u7684\u5B57\u7B26\u4E32\u3002",example:'"123"',require:"m",repeat:"n",type:"rangeall"}]},{n:"PROPER",t:12,d:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u6BCF\u4E2A\u5355\u8BCD\u7684\u9996\u5B57\u6BCD\u8F6C\u4E3A\u5927\u5199\u3002",a:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u6BCF\u4E2A\u5355\u8BCD\u7684\u9996\u5B57\u6BCD\u8F6C\u4E3A\u5927\u5199\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F6C\u6362\u7684\u6587\u672C\uFF0C\u5176\u4E2D\u6BCF\u4E2A\u5355\u8BCD\u7684\u9996\u5B57\u6BCD\u90FD\u5C06\u8F6C\u4E3A\u5927\u5199\uFF0C\u6240\u6709\u5176\u4ED6\u5B57\u6BCD\u5219\u8F6C\u4E3A\u5C0F\u5199\u3002",example:'"united states"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CONVERT",t:13,d:"\u5C06\u6570\u5B57\u4ECE\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u8F6C\u6362\u4E3A\u53E6\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u3002",a:"\u5C06\u6570\u5B57\u4ECE\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u8F6C\u6362\u4E3A\u53E6\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u3002",m:[3,3],p:[{name:"number",detail:"\u662F\u4EE5 from_unit \u4E3A\u5355\u4F4D\u7684\u9700\u8981\u8FDB\u884C\u8F6C\u6362\u7684\u6570\u503C\u3002",example:"5.1",require:"m",repeat:"n",type:"rangenumber"},{name:"from_unit",detail:"\u662F\u6570\u503C\u7684\u5355\u4F4D\u3002",example:'"g"',require:"m",repeat:"n",type:"rangeall"},{name:"to_unit",detail:"\u662F\u7ED3\u679C\u7684\u5355\u4F4D\u3002",example:'"kg"',require:"m",repeat:"n",type:"rangeall"}]},{n:"SUMX2MY2",t:14,d:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",m:[2,2],p:[{name:"array_x",detail:"\u7B2C\u4E00\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMX2PY2",t:14,d:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",m:[2,2],p:[{name:"array_x",detail:"\u7B2C\u4E00\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMXMY2",t:14,d:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",m:[2,2],p:[{name:"array_x",detail:"\u7B2C\u4E00\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRANSPOSE",t:14,d:"\u5C06\u6570\u7EC4\u6216\u5355\u5143\u683C\u8303\u56F4\u7684\u884C\u5217\u8F6C\u7F6E\u3002",a:"\u5C06\u6570\u7EC4\u6216\u5355\u5143\u683C\u8303\u56F4\u7684\u884C\u5217\u8F6C\u7F6E\u3002",m:[1,1],p:[{name:"array",detail:"\u8981\u5C06\u5176\u884C\u5217\u4E92\u6362\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"{1,2}",require:"m",repeat:"n",type:"range"}]},{n:"TREND",t:14,d:"\u8FD4\u56DE\u7EBF\u6027\u8D8B\u52BF\u503C\u3002",a:"\u8FD4\u56DE\u7EBF\u6027\u8D8B\u52BF\u503C\u3002",m:[1,4],p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
\u5982\u679C known_y \u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219 known_x \u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
\u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
\u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_x",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E0E known_x \u76F8\u540C] - \u9700\u8981\u51FD\u6570 TREND \u8FD4\u56DE\u5BF9\u5E94 y \u503C\u7684\u65B0 x \u503C\u3002",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 0\u3002
TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 0\uFF08\u96F6\uFF09\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = mx\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FREQUENCY",t:14,d:"\u8BA1\u7B97\u6570\u503C\u5728\u67D0\u4E2A\u533A\u57DF\u5185\u7684\u51FA\u73B0\u9891\u7387\uFF0C\u7136\u540E\u8FD4\u56DE\u4E00\u4E2A\u5782\u76F4\u6570\u7EC4\u3002",a:"\u8BA1\u7B97\u6570\u503C\u5728\u67D0\u4E2A\u533A\u57DF\u5185\u7684\u51FA\u73B0\u9891\u7387\uFF0C\u7136\u540E\u8FD4\u56DE\u4E00\u4E2A\u5782\u76F4\u6570\u7EC4\u3002",m:[2,2],p:[{name:"data_array",detail:"\u8981\u5BF9\u5176\u9891\u7387\u8FDB\u884C\u8BA1\u6570\u7684\u4E00\u7EC4\u6570\u503C\u6216\u5BF9\u8FD9\u7EC4\u6570\u503C\u7684\u5F15\u7528\u3002",example:"A2:A40",require:"m",repeat:"n",type:"rangenumber"},{name:"bins_array",detail:`\u8981\u5C06 data_array \u4E2D\u7684\u503C\u63D2\u5165\u5230\u7684\u95F4\u9694\u6570\u7EC4\u6216\u5BF9\u95F4\u9694\u7684\u5F15\u7528\u3002
\u4E3A\u6E05\u6670\u8D77\u89C1\uFF0C\u5E94\u5C06\u7C7B\u522B\u6392\u5E8F\uFF0C\u4F46\u5982\u679C\u672A\u6392\u5E8F\uFF0CFREQUENCY\u4F1A\u5728\u5185\u90E8\u5BF9\u8FD9\u4E9B\u6307\u5B9A\u7684\u503C\u8FDB\u884C\u6392\u5E8F\u5E76\u8FD4\u56DE\u6B63\u786E\u7ED3\u679C\u3002`,example:"B2:B5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GROWTH",t:14,d:"\u4F7F\u7528\u73B0\u6709\u6570\u636E\u8BA1\u7B97\u9884\u6D4B\u7684\u6307\u6570\u7B49\u6BD4\u3002",a:"\u4F7F\u7528\u73B0\u6709\u6570\u636E\u8BA1\u7B97\u9884\u6D4B\u7684\u6307\u6570\u7B49\u6BD4\u3002",m:[1,4],p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = b*m^x \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219\u5DF2\u77E5\u6570\u636E_x\u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5DF2\u77E5\u6570\u636E_x\u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u884C\uFF0C\u5219\u5C06\u5DF2\u77E5\u6570\u636E_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = b*m^x \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5DF2\u77E5\u6570\u636E_x\u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u884C\uFF0C\u5219\u5C06\u5DF2\u77E5\u6570\u636E_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_x",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E0E known_x \u76F8\u540C] - \u9700\u8981\u51FD\u6570 GROWTH \u8FD4\u56DE\u5BF9\u5E94 y \u503C\u7684\u65B0 x \u503C\u3002",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] -\u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 1\u3002
TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 1\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = m^x\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LINEST",t:14,d:"\u53EF\u901A\u8FC7\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8BA1\u7B97\u4E0E\u73B0\u6709\u6570\u636E\u6700\u4F73\u62DF\u5408\u7684\u76F4\u7EBF\uFF0C\u6765\u8BA1\u7B97\u67D0\u76F4\u7EBF\u7684\u7EDF\u8BA1\u503C\uFF0C\u7136\u540E\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7EBF\u7684\u6570\u7EC4\u3002",a:"\u53EF\u901A\u8FC7\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8BA1\u7B97\u4E0E\u73B0\u6709\u6570\u636E\u6700\u4F73\u62DF\u5408\u7684\u76F4\u7EBF\uFF0C\u6765\u8BA1\u7B97\u67D0\u76F4\u7EBF\u7684\u7EDF\u8BA1\u503C\uFF0C\u7136\u540E\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7EBF\u7684\u6570\u7EC4\u3002",m:[1,4],p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
\u5982\u679C known_y \u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219 known_x \u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
\u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
\u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 0\u3002
TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 0\uFF08\u96F6\uFF09\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = mx\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"stats",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3AFALSE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u5F52\u7EDF\u8BA1\u503C\u3002
\u5982\u679C\u8BE6\u7EC6\u4E3ATRUE\uFF0C\u9664\u4E86\u5BF9\u5E94\u4E8E\u6BCF\u4E2A\u81EA\u53D8\u91CF\u7684\u4E00\u7EC4\u7EBF\u6027\u7CFB\u6570\u548Cy\u622A\u8DDD\u4E4B\u5916\uFF0CLINEST\u8FD8\u8FD4\u56DE\u4EE5\u4E0B\u4FE1\u606F\uFF1A
\u6BCF\u9879\u7CFB\u6570\u548C\u622A\u8DDD\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
\u9650\u5B9A\u7CFB\u6570\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C1\u8868\u793A\u5B8C\u5168\u76F8\u5173\uFF09\u3001
\u56E0\u53D8\u91CF\u503C\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
F\u7EDF\u8BA1\u6216F\u89C2\u6D4B\u503C\uFF0C\u6307\u793A\u6240\u89C2\u6D4B\u5230\u7684\u56E0\u53D8\u91CF\u548C\u81EA\u53D8\u91CF\u53D8\u91CF\u4E4B\u95F4\u7684\u5173\u7CFB\u662F\u968F\u673A\u7684\u8FD8\u662F\u7EBF\u6027\u7684\u3001
\u81EA\u7531\u5EA6\uFF0C\u7528\u4E8E\u5728\u53C2\u7167\u8868\u4E2D\u67E5\u627EF\u7EDF\u8BA1\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
\u56DE\u5F52\u5E73\u65B9\u548C\uFF0C\u4EE5\u53CA
\u6B8B\u5DEE\u5E73\u65B9\u548C\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOGEST",t:14,d:"\u5728\u56DE\u5F52\u5206\u6790\u4E2D\uFF0C\u8BA1\u7B97\u6700\u7B26\u5408\u6570\u636E\u7684\u6307\u6570\u56DE\u5F52\u62DF\u5408\u66F2\u7EBF\uFF0C\u5E76\u8FD4\u56DE\u63CF\u8FF0\u8BE5\u66F2\u7EBF\u7684\u6570\u503C\u6570\u7EC4\u3002",a:"\u5728\u56DE\u5F52\u5206\u6790\u4E2D\uFF0C\u8BA1\u7B97\u6700\u7B26\u5408\u6570\u636E\u7684\u6307\u6570\u56DE\u5F52\u62DF\u5408\u66F2\u7EBF\uFF0C\u5E76\u8FD4\u56DE\u63CF\u8FF0\u8BE5\u66F2\u7EBF\u7684\u6570\u503C\u6570\u7EC4\u3002",m:[1,4],p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
\u5982\u679C known_y \u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219 known_x \u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
\u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
\u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 0\u3002
TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 0\uFF08\u96F6\uFF09\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = mx\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"stats",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3AFALSE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u5F52\u7EDF\u8BA1\u503C\u3002
\u5982\u679C\u8BE6\u7EC6\u4E3ATRUE\uFF0C\u5219\u9664\u4E86\u4E3A\u6BCF\u4E2A\u81EA\u53D8\u91CF\u548C\u7CFB\u6570 b \u8FD4\u56DE\u4E00\u7EC4\u6307\u6570\u503C\u4E4B\u5916\uFF0CLOGEST \u8FD8\u5C06\u8FD4\u56DE\u4EE5\u4E0B\u6570\u636E\uFF1A
\u6BCF\u9879\u6307\u6570\u548C\u7CFB\u6570\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
\u9650\u5B9A\u7CFB\u6570\uFF08\u4ECB\u4E8E 0 \u548C 1 \u4E4B\u95F4\uFF0C1 \u8868\u793A\u5B8C\u5168\u76F8\u5173\uFF09\u3001
\u56E0\u53D8\u91CF\u503C\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
F \u7EDF\u8BA1\u6216 F \u89C2\u6D4B\u503C\uFF0C\u6307\u793A\u6240\u89C2\u6D4B\u5230\u7684\u56E0\u53D8\u91CF\u548C\u81EA\u53D8\u91CF\u4E4B\u95F4\u7684\u5173\u7CFB\u662F\u968F\u673A\u7684\u8FD8\u662F\u6307\u6570\u7684\u3001
\u81EA\u7531\u5EA6 - \u7528\u4E8E\u5728\u53C2\u7167\u8868\u4E2D\u67E5\u627E F \u7EDF\u8BA1\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
\u56DE\u5F52\u5E73\u65B9\u548C\uFF0C\u4EE5\u53CA
\u6B8B\u5DEE\u5E73\u65B9\u548C\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"MDETERM",t:14,d:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u884C\u5217\u5F0F\u7684\u503C\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u884C\u5217\u5F0F\u7684\u503C\u3002",m:[1,1],p:[{name:"array",detail:"\u884C\u6570\u548C\u5217\u6570\u76F8\u7B49\u7684\u6570\u503C\u6570\u7EC4\u3002",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINVERSE",t:14,d:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5B58\u50A8\u7684\u77E9\u9635\u7684\u9006\u77E9\u9635\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5B58\u50A8\u7684\u77E9\u9635\u7684\u9006\u77E9\u9635\u3002",m:[1,1],p:[{name:"array",detail:"\u884C\u6570\u548C\u5217\u6570\u76F8\u7B49\u7684\u6570\u503C\u6570\u7EC4\u3002",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MMULT",t:14,d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u4E58\u79EF\u3002\u7ED3\u679C\u77E9\u9635\u7684\u884C\u6570\u4E0E array1 \u7684\u884C\u6570\u76F8\u540C\uFF0C\u77E9\u9635\u7684\u5217\u6570\u4E0E array2 \u7684\u5217\u6570\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u4E58\u79EF\u3002\u7ED3\u679C\u77E9\u9635\u7684\u884C\u6570\u4E0E array1 \u7684\u884C\u6570\u76F8\u540C\uFF0C\u77E9\u9635\u7684\u5217\u6570\u4E0E array2 \u7684\u5217\u6570\u76F8\u540C\u3002",m:[2,2],p:[{name:"array1",detail:`\u8981\u8FDB\u884C\u77E9\u9635\u4E58\u6CD5\u8FD0\u7B97\u7684\u7B2C\u4E00\u4E2A\u77E9\u9635\u6570\u7EC4\u3002
array1 \u5217\u6570\u5FC5\u987B\u4E0E array2 \u7684\u884C\u6570\u76F8\u540C`,example:"A1:B3",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:`\u8981\u8FDB\u884C\u77E9\u9635\u4E58\u6CD5\u8FD0\u7B97\u7684\u7B2C\u4E8C\u4E2A\u77E9\u9635\u6570\u7EC4\u3002
array2 \u7684\u884C\u6570\u5FC5\u987B\u4E0E array1 \u5217\u6570\u76F8\u540C`,example:"C1:F2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMPRODUCT",t:14,d:"\u5728\u7ED9\u5B9A\u7684\u51E0\u7EC4\u6570\u7EC4\u4E2D\uFF0C\u5C06\u6570\u7EC4\u95F4\u5BF9\u5E94\u7684\u5143\u7D20\u76F8\u4E58\uFF0C\u5E76\u8FD4\u56DE\u4E58\u79EF\u4E4B\u548C\u3002",a:"\u5728\u7ED9\u5B9A\u7684\u51E0\u7EC4\u6570\u7EC4\u4E2D\uFF0C\u5C06\u6570\u7EC4\u95F4\u5BF9\u5E94\u7684\u5143\u7D20\u76F8\u4E58\uFF0C\u5E76\u8FD4\u56DE\u4E58\u79EF\u4E4B\u548C\u3002",m:[1,255],p:[{name:"array1",detail:"\u5176\u76F8\u5E94\u5143\u7D20\u9700\u8981\u8FDB\u884C\u76F8\u4E58\u5E76\u6C42\u548C\u7684\u7B2C\u4E00\u4E2A\u6570\u7EC4\u53C2\u6570\u3002",example:"A2:C5",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:"[\u53EF\u9009] - \u5176\u76F8\u5E94\u5143\u7D20\u9700\u8981\u8FDB\u884C\u76F8\u4E58\u5E76\u6C42\u548C\u7684\u5176\u5B83\u6570\u7EC4\u53C2\u6570\u3002",example:"D2:F5",require:"o",repeat:"y",type:"rangenumber"}]},{n:"ISFORMULA",t:15,d:"\u68C0\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u4E8E\u5F15\u7528\u7684\u5355\u5143\u683C\u4E2D\u3002",a:"\u68C0\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u4E8E\u5F15\u7528\u7684\u5355\u5143\u683C\u4E2D\u3002",m:[1,1],p:[{name:"cell",detail:`\u8981\u68C0\u67E5\u662F\u5426\u5B58\u5728\u516C\u5F0F\u7684\u5355\u5143\u683C\u3002
\u5982\u679C cell \u4E3A\u5305\u542B\u516C\u5F0F\u7684\u5355\u5143\u683C\uFF0C\u5219 ISFORMULA \u5C06\u8FD4\u56DE TRUE\u3002\u5982\u679C cell \u4E3A\u76F8\u5E94\u5355\u5143\u683C\u8303\u56F4\uFF0C\u5219\u5F53\u8BE5\u8303\u56F4\u5185\u7684\u9996\u4E2A\u5355\u5143\u683C\u5305\u542B\u516C\u5F0F\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u8FD4\u56DE TRUE\u3002\u5982\u679C\u662F\u4EFB\u4F55\u5176\u4ED6\u503C\uFF0C\u7CFB\u7EDF\u90FD\u5C06\u8FD4\u56DE FALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"CELL",t:15,d:"\u8FD4\u56DE\u6709\u5173\u5355\u5143\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5185\u5BB9\u7684\u4FE1\u606F\u3002",a:"\u8FD4\u56DE\u6709\u5173\u5355\u5143\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5185\u5BB9\u7684\u4FE1\u606F\u3002",m:[2,2],p:[{name:"info_type",detail:"\u4E00\u4E2A\u6587\u672C\u503C\uFF0C\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u5355\u5143\u683C\u4FE1\u606F\u7684\u7C7B\u578B\u3002",example:'"type"',require:"m",repeat:"n",type:"rangeall"},{name:"reference",detail:"\u9700\u8981\u5176\u76F8\u5173\u4FE1\u606F\u7684\u5355\u5143\u683C\u3002",example:"C2",require:"m",repeat:"n",type:"range"}]},{n:"NA",t:15,d:"\u8FD4\u56DE\u9519\u8BEF\u503C #N/A\u3002",a:"\u8FD4\u56DE\u9519\u8BEF\u503C #N/A\u3002",m:[0,0],p:[]},{n:"ERROR_TYPE",t:15,d:"\u8FD4\u56DE\u4E0E\u5176\u4ED6\u5355\u5143\u683C\u4E2D\u7684\u9519\u8BEF\u503C\u76F8\u5BF9\u5E94\u7684\u6570\u5B57\u3002",a:"\u8FD4\u56DE\u4E0E\u5176\u4ED6\u5355\u5143\u683C\u4E2D\u7684\u9519\u8BEF\u503C\u76F8\u5BF9\u5E94\u7684\u6570\u5B57\u3002",m:[1,1],p:[{name:"error_val",detail:"\u7528\u4E8E\u67E5\u627E\u9519\u8BEF\u53F7\u7684\u5355\u5143\u683C\uFF0C\u867D\u7136\u60A8\u4E5F\u53EF\u4EE5\u76F4\u63A5\u63D0\u4F9B\u9519\u8BEF\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISBLANK",t:15,d:"\u68C0\u67E5\u6240\u5F15\u7528\u7684\u5355\u5143\u683C\u662F\u5426\u4E3A\u7A7A\u3002",a:"\u68C0\u67E5\u6240\u5F15\u7528\u7684\u5355\u5143\u683C\u662F\u5426\u4E3A\u7A7A\u3002",m:[1,1],p:[{name:"value",detail:`\u5BF9\u8981\u68C0\u67E5\u5176\u662F\u5426\u4E3A\u7A7A\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
\u5982\u679C\u662F\u7A7A\u5355\u5143\u683C\uFF0C\u5219 TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISERR",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A #N/A \u4EE5\u5916\u7684\u9519\u8BEF\u503C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A #N/A \u4EE5\u5916\u7684\u9519\u8BEF\u503C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A#N/A\u4EE5\u5916\u7684\u9519\u8BEF\u7C7B\u578B\u7684\u503C\u3002
\u5982\u679C\u503C\u662F\u9664#N/A\u4E4B\u5916\u7684\u4EFB\u4F55\u9519\u8BEF\uFF08\u5305\u62EC#DIV/0!\u3001#NAME?\u3001#NULL!\u3001#NUM!\u3001#VALUE!\u548C#REF!\uFF09\uFF0CISERR\u5C06\u8FD4\u56DETRUE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISERROR",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u9519\u8BEF\u7C7B\u578B\u7684\u503C\u3002
\u53EA\u8981\u503C\u662F\u67D0\u79CD\u9519\u8BEF\u503C\uFF08\u5305\u62EC#DIV/0!\u3001#N/A\u3001#NAME?\u3001#NULL!\u3001#NUM!\u3001#VALUE!\u548C#REF!\uFF09\uFF0CISERROR\u5C31\u4F1A\u8FD4\u56DETRUE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISLOGICAL",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F TRUE \u8FD8\u662F FALSE\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F TRUE \u8FD8\u662F FALSE\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u4E3A\u903B\u8F91TRUE\u8FD8\u662F\u903B\u8F91FALSE\u7684\u503C\u3002
*\u5982\u679C\u503C\u4E3ATRUE\u6216FALSE\uFF0C\u6216\u4E3A\u6307\u5411\u503C\u4E3ATRUE\u6216FALSE\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISLOGICAL\u5C06\u8FD4\u56DETRUE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNA",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C #N/A\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C #N/A\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u4E0E\u9519\u8BEF\u503C#N/A\u8FDB\u884C\u6BD4\u8F83\u7684\u503C\u3002
*\u5982\u679C\u503C\u4E3A#N/A\u6216\u6307\u5411\u5305\u542B#N/A\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219ISNA\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNONTEXT",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u975E\u6587\u672C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u975E\u6587\u672C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u68C0\u67E5\u7684\u6587\u672C\u3002
*\u5982\u679C\u53C2\u6570\u4E3A\u6587\u672C\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u672C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISNONTEXT\u5C06\u8FD4\u56DEFALSE\uFF0C\u5426\u5219\u8FD4\u56DETRUE\u3002
\u5F53\u503C\u4E3A\u6307\u5411\u7A7A\u5355\u5143\u683C\u7684\u5F15\u7528\u65F6\uFF0CISNONTEXT\u4F1A\u8FD4\u56DETRUE\u3002
\u5F53\u503C\u4E3A\u7A7A\u5B57\u7B26\u4E32\u65F6\uFF0CISNONTEXT\u5C06\u8FD4\u56DEFALSE\uFF0C\u56E0\u4E3A\u7A7A\u4E32\u88AB\u89C6\u4F5C\u6587\u672C\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNUMBER",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6570\u5B57\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6570\u5B57\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u6570\u5B57\u7684\u503C\u3002
*\u5982\u679C\u53C2\u6570\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u5B57\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISNUMBER\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISREF",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6709\u6548\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6709\u6548\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u5355\u5143\u683C\u5F15\u7528\u7684\u503C\u3002
*\u5982\u679C\u53C2\u6570\u662F\u6709\u6548\u7684\u5355\u5143\u683C\u5F15\u7528\uFF0CISREF\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISTEXT",t:15,d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6587\u672C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6587\u672C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u6587\u672C\u7684\u503C\u3002
\u5982\u679C\u53C2\u6570\u4E3A\u6587\u672C\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u672C\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISTEXT\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TYPE",t:15,d:"\u8FD4\u56DE\u6570\u503C\u7684\u7C7B\u578B\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u7C7B\u578B\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u786E\u5B9A\u5176\u7C7B\u578B\u7684\u6570\u636E\u3002
\u6570\u5B57 \u8FD4\u56DE 1;
\u6587\u672C \u8FD4\u56DE 2;
\u903B\u8F91\u503C \u8FD4\u56DE 4;
\u9519\u8BEF\u503C \u8FD4\u56DE 16;
\u6570\u7EC4 \u8FD4\u56DE 64;`,example:"C4",require:"m",repeat:"n",type:"rangeall"}]},{n:"N",t:15,d:"\u8FD4\u56DE\u8F6C\u5316\u4E3A\u6570\u503C\u540E\u7684\u503C\u3002",a:"\u8FD4\u56DE\u8F6C\u5316\u4E3A\u6570\u503C\u540E\u7684\u503C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u6570\u5B57\u7684\u53C2\u6570\u3002
\u5982\u679C\u503C\u4E3A\u6570\u5B57\uFF0C\u5219\u8FD4\u56DE\u8BE5\u6570\u5B57\u3002
\u5982\u679C\u503C\u4E3A\u65E5\u671F\uFF0C\u5219\u8FD4\u56DE\u8BE5\u65E5\u671F\u7684\u5E8F\u5217\u53F7\u3002
\u5982\u679C\u503C\u4E3ATRUE\uFF0C\u5219\u8FD4\u56DE1\u3002
\u5982\u679C\u503C\u4E3AFALSE\uFF0C\u5219\u8FD4\u56DE0\u3002
\u5982\u679C\u503C\u4E3A\u9519\u8BEF\u503C\uFF0C\u5219\u8FD4\u56DE\u9519\u8BEF\u503C\u3002
\u5982\u679C\u503C\u4E3A\u5176\u4ED6\u503C\uFF0C\u5219\u8FD4\u56DE0\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DATE",t:16,d:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",a:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u65E5\u671F\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_DATE\u4F1A\u5C06\u503C\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u65E5\u671F\u5E76\u8FD4\u56DE\uFF0C\u503C\u4EE3\u8868\u4ECE\u5341\u4E8C\u670830\u65E5\u5230\u5BF9\u5E94\u7684\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\uFF0C
\u8D1F\u503C\u8868\u793A\u5BF9\u5E94\u7684\u65E5\u671F\u5728\u5341\u4E8C\u670830\u65E5\u4E4B\u524D\uFF0C\u800C\u5C0F\u6570\u503C\u5219\u4EE3\u8868\u4E00\u5929\u4E2D\u4ECE\u5348\u591C\u7B97\u8D77\u7684\u65F6\u95F4\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_DATE\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"25405",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PURE_NUMBER",t:16,d:"\u5C06\u7ED9\u5B9A\u7684\u65E5\u671F/\u65F6\u95F4\u3001\u767E\u5206\u6BD4\u3001\u8D27\u5E01\u91D1\u989D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6570\u503C\u8F6C\u6362\u4E3A\u4E0D\u5E26\u683C\u5F0F\u7684\u7EAF\u6570\u5B57\u3002",a:"\u5C06\u7ED9\u5B9A\u7684\u65E5\u671F/\u65F6\u95F4\u3001\u767E\u5206\u6BD4\u3001\u8D27\u5E01\u91D1\u989D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6570\u503C\u8F6C\u6362\u4E3A\u4E0D\u5E26\u683C\u5F0F\u7684\u7EAF\u6570\u5B57\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u7EAF\u6570\u5B57\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5305\u542B\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_PURE_NUMBER\u5C06\u4EE5\u4E0D\u5E26\u4EFB\u4F55\u683C\u5F0F\u4E0E\u89E3\u91CA\u7684\u5F62\u5F0F\u8FD4\u56DE\u503C\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_PERCENT\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"50%",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_TEXT",t:16,d:"\u5C06\u7ED9\u5B9A\u7684\u6570\u5B57\u503C\u8F6C\u6362\u4E3A\u6587\u672C\u683C\u5F0F\u3002",a:"\u5C06\u7ED9\u5B9A\u7684\u6570\u5B57\u503C\u8F6C\u6362\u4E3A\u6587\u672C\u683C\u5F0F\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u6587\u672C\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5305\u542B\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_TEXT\u5C06\u8FD4\u56DE\u5B57\u7B26\u4E32\u5F62\u5F0F\u7684\u503C\uFF0C\u5E76\u4FDD\u6301\u73B0\u6709\u683C\u5F0F\u3002\u5373\u539F\u4E3A\u8D27\u5E01\u7684\u4ECD\u4E3A\u8D27\u5E01\uFF0C\u539F\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u4ECD\u4E3A\u5341\u8FDB\u5236\u6570\uFF0C\u539F\u4E3A\u767E\u5206\u6BD4\u7684\u4ECD\u4E3A\u767E\u5206\u6BD4\uFF0C\u539F\u4E3A\u65E5\u671F\u7684\u4ECD\u4E3A\u65E5\u671F\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_TEXT\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"24",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DOLLARS",t:16,d:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u7F8E\u5143\u91D1\u989D\u3002",a:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u7F8E\u5143\u91D1\u989D\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u7F8E\u5143\u91D1\u989D\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219 TO_DOLLARS \u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PERCENT",t:16,d:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u3002",a:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5305\u542B\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_PERCENT\u4F1A\u4EE51 = 100%\u4E3A\u6807\u51C6\uFF0C\u5C06\u503C\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_PERCENT\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DGET",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u4ECE\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5217\u4E2D\u63D0\u53D6\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u4E2A\u503C\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u4ECE\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5217\u4E2D\u63D0\u53D6\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u4E2A\u503C\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMAX",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6570\u5B57\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6570\u5B57\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMIN",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6570\u5B57\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6570\u5B57\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DAVERAGE",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u5BF9\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u6C42\u5E73\u5747\u503C\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u5BF9\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u6C42\u5E73\u5747\u503C\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNT",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6570\u5B57\u7684\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6570\u5B57\u7684\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNTA",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DPRODUCT",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u7684\u4E58\u79EF\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u7684\u4E58\u79EF\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEV",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEVP",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSUM",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4E4B\u548C\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4E4B\u548C\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVAR",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u65B9\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u65B9\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVARP",t:17,d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u901A\u8FC7\u4F7F\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u8BA1\u7B97\u6837\u672C\u603B\u4F53\u7684\u6837\u672C\u603B\u4F53\u65B9\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u901A\u8FC7\u4F7F\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u8BA1\u7B97\u6837\u672C\u603B\u4F53\u7684\u6837\u672C\u603B\u4F53\u65B9\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"AGE_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u5E74\u9F84\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u5E74\u9F84\u3002",m:[1,2],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:"A1",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u622A\u6B62\u65E5\u671F",example:'"2017-10-01"',detail:"\u5E74\u9F84\u8BA1\u7B97\u7684\u622A\u6B62\u65E5\u671F\u6216\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A\u5F53\u65E5\u3002",require:"o",repeat:"n",type:"rangedatetime"}]},{n:"SEX_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u6027\u522B\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u6027\u522B\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIRTHDAY_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u751F\u65E5\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u751F\u65E5\u3002",m:[1,2],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u751F\u65E5\u683C\u5F0F",example:"0",detail:"\u65E5\u671F\u7C7B\u578B,\u9ED8\u8BA40:[1900/01/01], 1:[1900-01-01], 2:[1900\u5E741\u67081\u65E5]",require:"o",repeat:"n",type:"rangeall"}]},{n:"PROVINCE_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u7C4D\u8D2F\u7684\u7701\u4EFD\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u7C4D\u8D2F\u7684\u7701\u4EFD\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"CITY_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u7C4D\u8D2F\u7684\u57CE\u5E02\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u7C4D\u8D2F\u7684\u57CE\u5E02\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"STAR_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u661F\u5EA7\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u661F\u5EA7\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"ANIMAL_BY_IDCARD",t:"3",d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u751F\u8096\uFF08\u9F20\u3001\u725B\u3001\u864E\u3001\u5154...\uFF09\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u751F\u8096\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISIDCARD",t:"3",d:"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u7684\u683C\u5F0F\u662F\u5426\u6B63\u786E\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u683C\u5F0F\u6B63\u786E\u6027\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"DM_TEXT_CUTWORD",t:"4",d:"\u6587\u672C\u5206\u8BCD\u3002\u628A\u4E00\u8FDE\u4E32\u6587\u5B57\u62C6\u5206\u4E3A\u4E00\u7CFB\u5217\u5355\u72EC\u8BCD\u8BED",a:"\u4E2D\u6587\u6587\u672C\u5206\u8BCD\u3002",m:[1,2],p:[{name:"\u6587\u672C",example:'"\u6211\u6765\u5230\u5317\u4EAC\u6E05\u534E\u5927\u5B66"',detail:"\u4EFB\u610F\u9700\u8981\u5206\u8BCD\u7684\u6587\u672C\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5206\u8BCD\u6A21\u5F0F",example:"0",detail:"\u9ED8\u8BA4\u4E3A0[\u7CBE\u786E\u6A21\u5F0F], 1[\u5168\u6A21\u5F0F], 2[\u641C\u7D22\u5F15\u64CE\u6A21\u5F0F]\u3002",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TFIDF",t:"4",d:"\u91C7\u7528tf-idf\u7B97\u6CD5\u8FDB\u884C\u5173\u952E\u8BCD\u63D0\u53D6\u3002\u4ECE\u4E00\u8FDE\u4E32\u6587\u5B57\u4E2D\u8BC6\u522B\u5173\u952E\u8BCD",a:"tf-idf\u5173\u952E\u8BCD\u8BC6\u522B\u3002",m:[1,3],p:[{name:"\u6587\u672C",example:'"\u6211\u6765\u5230\u5317\u4EAC\u6E05\u534E\u5927\u5B66"',detail:"\u4EFB\u610F\u9700\u8981\u5206\u8BCD\u7684\u6587\u672C\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5173\u952E\u8BCD\u4E2A\u6570",example:"20",detail:"\u7B97\u6CD5\u8FD4\u56DE\u7684\u5173\u952E\u8BCD\u4E2A\u6570\uFF0C\u9ED8\u8BA420",require:"o",repeat:"n",type:"rangenumber"},{name:"\u8BED\u6599\u5E93",example:"1",detail:"\u9009\u62E9\u7279\u5B9A\u9886\u57DF\u7684\u8BED\u6599\u5E93\uFF0C\u9ED8\u8BA40[\u901A\u7528], 1[\u91D1\u878D], 2[\u533B\u7597]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TEXTRANK",t:"4",d:"\u91C7\u7528TextRank\u7B97\u6CD5\u8FDB\u884C\u5173\u952E\u8BCD\u63D0\u53D6\u3002\u4ECE\u4E00\u8FDE\u4E32\u6587\u5B57\u4E2D\u8BC6\u522B\u5173\u952E\u8BCD",a:"TextRank\u5173\u952E\u8BCD\u8BC6\u522B\u3002",m:[1,3],p:[{name:"\u6587\u672C",example:'"\u6211\u6765\u5230\u5317\u4EAC\u6E05\u534E\u5927\u5B66"',detail:"\u4EFB\u610F\u9700\u8981\u5206\u8BCD\u7684\u6587\u672C\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5173\u952E\u8BCD\u4E2A\u6570",example:"20",detail:"\u7B97\u6CD5\u8FD4\u56DE\u7684\u5173\u952E\u8BCD\u4E2A\u6570\uFF0C\u9ED8\u8BA420",require:"o",repeat:"n",type:"rangenumber"},{name:"\u8BED\u6599\u5E93",example:"1",detail:"\u9009\u62E9\u7279\u5B9A\u9886\u57DF\u7684\u8BED\u6599\u5E93\uFF0C\u9ED8\u8BA40[\u901A\u7528], 1[\u91D1\u878D], 2[\u533B\u7597]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_CLOSE",t:"5",d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6536\u76D8\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6536\u76D8\u4EF7\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u7801",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u590D\u6743\u9664\u6743",example:"0",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_OPEN",t:"5",d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u5F00\u76D8\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u5F00\u76D8\u4EF7\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u7801",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u590D\u6743\u9664\u6743",example:"0",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MAX",t:"5",d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u9AD8\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u9AD8\u4EF7\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u7801",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u590D\u6743\u9664\u6743",example:"0",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MIN",t:"5",d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u4F4E\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u4F4E\u4EF7\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u7801",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u590D\u6743\u9664\u6743",example:"0",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_VOLUMN",t:"5",d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u91CF\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u91CF\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u7801",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u590D\u6743\u9664\u6743",example:"0",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_AMOUNT",t:"5",d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u989D\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u989D\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u7801",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u590D\u6743\u9664\u6743",example:"0",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ISDATE",t:"6",d:"\u9A8C\u8BC1\u65E5\u671F\u7684\u683C\u5F0F\u662F\u5426\u6B63\u786E\u3002\u652F\u6301\u591A\u79CD\u65E5\u671F\u683C\u5F0F",a:"\u9A8C\u8BC1\u65E5\u671F\u683C\u5F0F\u6B63\u786E\u6027\u3002",m:[1,1],p:[{name:"\u65E5\u671F",example:'"1990-01-01"',detail:"\u65E5\u671F\u503C\uFF0C\u4F8B\u59821990/01/01, 1990\u5E741\u67081\u65E5\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"LINESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u6298\u7EBF\u56FEsparklines\uFF0C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u7684\u8FDE\u7EED\u8D70\u52BF",a:"\u751F\u6210\u5355\u5143\u683C\u6298\u7EBF\u56FE",m:[1,8],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u7EBF\u6761\u989C\u8272",example:"#2ec7c9",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"\u7EBF\u6761\u7C97\u7EC6",example:"1",detail:"\u6298\u7EBF\u56FE\u7EBF\u6BB5\u7C97\u7EC6\uFF0C\u9ED8\u8BA4\u4E3A1px",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F85\u52A9\u7EBF",example:"avg",detail:"\u4E00\u6761\u6A2A\u7EBF\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u8303\u56F4\u6216\u81EA\u5B9A\u4E49\u6570\u503C\uFF0C\u9ED8\u8BA40\u65E0",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F85\u52A9\u7EBF\u989C\u8272",example:"#000",detail:"\u8F85\u52A9\u7EBF\u7684\u989C\u8272\u8BBE\u7F6E\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#000",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C\u6807\u8BC6",example:"#fc5c5c",detail:"\u6807\u8BC6\u7EBF\u56FE\u6700\u5927\u503C\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA40\u4E0D\u663E\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5C0F\u503C\u6807\u8BC6",example:"#fc5c5c",detail:"\u6807\u8BC6\u7EBF\u56FE\u6700\u5C0F\u503C\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA40\u4E0D\u663E\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u6807\u8BC6\u5927\u5C0F",example:"1.5",detail:"\u6700\u5927\u503C\u548C\u6700\u5C0F\u503C\u7684\u6807\u8BC6\u5927\u5C0F\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u4E3A1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"AREASPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u9762\u79EF\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u7684\u8FDE\u7EED\u7D2F\u79EF\u503C\u8D70\u52BF",a:"\u751F\u6210\u5355\u5143\u683C\u9762\u79EF\u56FE",m:[1,5],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u7EBF\u6761\u989C\u8272",example:"#2ec7c9",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"\u586B\u5145\u989C\u8272",example:"#CCF3F4",detail:"\u5F62\u6210\u9762\u79EF\u56FE\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA40\u4E0D\u663E\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u7EBF\u6761\u7C97\u7EC6",example:"1",detail:"\u6298\u7EBF\u56FE\u7EBF\u6BB5\u7C97\u7EC6\uFF0C\u9ED8\u8BA4\u4E3A1px",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F85\u52A9\u7EBF",example:"avg",detail:"\u4E00\u6761\u6A2A\u7EBF\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u8303\u56F4\u6216\u81EA\u5B9A\u4E49\u6570\u503C\uFF0C\u9ED8\u8BA40\u65E0",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F85\u52A9\u7EBF\u989C\u8272",example:"#000",detail:"\u8F85\u52A9\u7EBF\u7684\u989C\u8272\u8BBE\u7F6E\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#000",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u5782\u76F4\u67F1\u72B6\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u4E4B\u95F4\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5355\u5143\u683C\u5782\u76F4\u67F1\u72B6\u56FE",m:[1,6],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u95F4\u9694",example:"1",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u989C\u8272",example:"#fc5c5c",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"\u8D1F\u5411\u67F1\u6761\u989C\u8272",example:"#97b552",detail:"\u8D1F\u5411\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u8868\u8D1F\u503C\u7684\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#97b552",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u8272\u677F",example:"#97b552",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u67F1\u6761\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u591A\u4E2A\uFF0C\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A1\u989C\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u4E2A\u67F1\u7684\u989C\u8272\u662F\u9ED1\u8272\uFF1B2\u6570\u503C\u8303\u56F4:\u989C\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6570\u503C\u4E3A-2\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6570\u503C0-5\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C\u9ED8\u8BA4\u4E3A\u7A7A",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKCOLUMNSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u7D2F\u79EF\u5782\u76F4\u67F1\u72B6\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u591A\u4E2A\u7EF4\u5EA6\u7684\u6570\u503C\u5927\u5C0F",a:"\u751F\u6210\u5355\u5143\u683C\u7D2F\u79EF\u5782\u76F4\u67F1\u72B6\u56FE",m:[1,5],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u6309\u5217\u5806\u79EF",example:"1",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u79EF\u5219\u672C\u9879\u8BBE\u4E3Afalse\u62160\uFF0C\u9ED8\u8BA4\u4E3A\u662F1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u95F4\u9694",example:"1",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u7D2F\u79EF\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u7D2F\u79EF\u8272\u677F",example:"#97b552",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u7EF4\u5EA6\u7684\u67F1\u6761\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u4E3AA1:A10\u7B49\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A#2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BARSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u6A2A\u5411\u6761\u5F62\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u4E4B\u95F4\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5355\u5143\u683C\u6A2A\u5411\u6761\u5F62\u56FE",m:[1,6],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u95F4\u9694",example:"1",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u989C\u8272",example:"#fc5c5c",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"\u8D1F\u5411\u67F1\u6761\u989C\u8272",example:"#97b552",detail:"\u8D1F\u5411\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u8868\u8D1F\u503C\u7684\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#97b552",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u8272\u677F",example:"#97b552",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u67F1\u6761\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u591A\u4E2A\uFF0C\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A1\u989C\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u4E2A\u67F1\u7684\u989C\u8272\u662F\u9ED1\u8272\uFF1B2\u6570\u503C\u8303\u56F4:\u989C\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6570\u503C\u4E3A-2\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6570\u503C0-5\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C\u9ED8\u8BA4\u4E3A\u7A7A",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKBARSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u7D2F\u79EF\u6A2A\u5411\u6761\u5F62\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u591A\u4E2A\u7EF4\u5EA6\u7684\u6570\u503C\u5927\u5C0F",a:"\u751F\u6210\u5355\u5143\u683C\u7D2F\u79EF\u6A2A\u5411\u6761\u5F62\u56FE",m:[1,5],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u6309\u5217\u5806\u79EF",example:"1",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u79EF\u5219\u672C\u9879\u8BBE\u4E3Afalse\u62160\uFF0C\u9ED8\u8BA4\u4E3A\u662F1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u95F4\u9694",example:"1",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u7D2F\u79EF\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u7D2F\u79EF\u8272\u677F",example:"#97b552",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u7EF4\u5EA6\u7684\u67F1\u6761\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u4E3AA1:A10\u7B49\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A#2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"DISCRETESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u79BB\u6563\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u8D70\u52BF",a:"\u751F\u6210\u5355\u5143\u683C\u79BB\u6563\u56FE",m:[1,4],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5206\u5272\u9608\u503C",example:"1",detail:"\u79BB\u6563\u56FE\u67F1\u5F62\u989C\u8272\u7684\u533A\u5206\uFF0C\u4F8B\u5982\uFF1A\u8BE5\u503C\u4E3A0\uFF0C\u5219\u5927\u4E8E0\u4E3A\u84DD\u8272\uFF0C\u5C0F\u4E8E0\u4E3A\u7EA2\u8272\uFF0C\u9ED8\u8BA4\u4E3A0",require:"o",repeat:"n",type:"rangeall"},{name:"\u9608\u503C\u4EE5\u4E0A\u989C\u8272",example:"#2ec7c9",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"\u9608\u503C\u4EE5\u4E0B\u989C\u8272",example:"#fc5c5c",detail:"\u9608\u503C\u4EE5\u4E0B\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u540C\u9608\u503C\u4EE5\u4E0A\u989C\u8272\uFF0C\u9ED8\u8BA4#fc5c5c",require:"o",repeat:"n",type:"rangeall"}]},{n:"TRISTATESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u4E09\u6001\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u4E09\u79CD\u6001\u52BF\u7684\u8D70\u52BF\u4F8B\u5982\u80DC\u8D1F\u5E73",a:"\u751F\u6210\u5355\u5143\u683C\u4E09\u6001\u56FE",m:[1,6],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u95F4\u9694",example:"1",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u6761\u989C\u8272",example:"#fc5c5c",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"\u8D1F\u5411\u67F1\u6761\u989C\u8272",example:"#97b552",detail:"\u8D1F\u5411\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u8868\u8D1F\u503C\u7684\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#97b552",require:"o",repeat:"n",type:"rangeall"},{name:"\u96F6\u503C\u67F1\u6761\u989C\u8272",example:"#999",detail:"\u96F6\u503C\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u88680\u503C\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#999",require:"o",repeat:"n",type:"rangeall"},{name:"\u8272\u677F",example:"#97b552",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u67F1\u6761\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u591A\u4E2A\uFF0C\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A1\u989C\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u4E2A\u67F1\u7684\u989C\u8272\u662F\u9ED1\u8272\uFF1B2\u6570\u503C\u8303\u56F4:\u989C\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6570\u503C\u4E3A-2\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C0-5:#000\u8868\u793A\u6570\u503C0-5\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C\u9ED8\u8BA4\u4E3A\u7A7A",require:"o",repeat:"y",type:"rangeall"}]},{n:"PIESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u997C\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u5360\u6BD4",a:"\u751F\u6210\u5355\u5143\u683C\u997C\u56FE",m:[1,5],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65CB\u8F6C\u89D2\u5EA6",example:"0",detail:"\u997C\u56FE\u7684\u65CB\u8F6C\u89D2\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A0",require:"o",repeat:"n",type:"rangeall"},{name:"\u997C\u56FE\u8FB9\u6846",example:"0",detail:"\u997C\u56FE\u8FB9\u6846\u5927\u5C0F\uFF0C\u9ED8\u8BA4\u4E3A\u65E00",require:"o",repeat:"n",type:"rangeall"},{name:"\u8FB9\u6846\u989C\u8272",example:"#000",detail:"\u997C\u56FE\u8FB9\u6846\u989C\u8272\uFF0C\u9ED8\u8BA4\u4E3A#000",require:"o",repeat:"n",type:"rangeall"},{name:"\u997C\u56FE\u8272\u677F",example:"#97b552",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u8BBE\u7F6E\u5207\u7247\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u4E3AA1:A10\u7B49\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A#2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BOXSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u7BB1\u7EBF\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u96C6\u7684\u7EDF\u8BA1\u5206\u5E03",a:"\u751F\u6210\u5355\u5143\u683C\u7BB1\u7EBF\u56FE",m:[1,4],p:[{name:"\u6570\u636E\u8303\u56F4",example:"A1:A20",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u79BB\u7FA4\u70B9\u6BD4\u4F8B",example:"1.5",detail:"\u79BB\u7FA4\u70B9\u7684\u9608\u503C\u8303\u56F4\uFF0C\u5982\u679C\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u9ED8\u8BA4\u4E3A1.5\u500D",require:"o",repeat:"n",type:"rangeall"},{name:"\u76EE\u6807\u70B9\u503C",example:"10",detail:"\u7BB1\u7EBF\u56FE\u4E0A\u7684\u76EE\u6807\u503C\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u4E3Afalse\u4E0D\u663E\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u6570\u636E\u70B9\u5927\u5C0F",example:"1.5",detail:"\u76EE\u6807\u70B9\u548C\u79BB\u7FA4\u70B9\u7684\u534A\u5F84\u5927\u5C0F\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u4E3A1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"BULLETSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u5B50\u5F39\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u4EFB\u52A1\u8FBE\u6210\u7387",a:"\u751F\u6210\u5355\u5143\u683C\u5B50\u5F39\u56FE",m:[2,3],p:[{name:"\u76EE\u6807",example:"10",detail:"\u8FBE\u6210\u7684\u76EE\u6807\u503C\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1\uFF0C 100\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5B9E\u9645\u5B8C\u6210",example:"8",detail:"\u76EE\u524D\u5B8C\u6210\u503C\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1\uFF0C 100\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5BF9\u6BD4\u503C",example:"12",detail:"\u5BF9\u6BD4\u503C\uFF0C\u4F8B\u5982\u8D85\u989D\u3001\u6700\u4F4E\u3001\u83B7\u5956\u5E95\u7EBF\u7B49\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1\uFF0C 100\u7B49\u3002\u53EF\u4EE5\u8BBE\u7F6E\u6700\u591A9\u4E2A\u5BF9\u6BD4\u503C",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMPOSESPLINES",t:"3",d:"\u652F\u6301\u591A\u4E2A\u7C7B\u578B\u7684\u56FE\u753B\u5728\u540C\u4E00\u4E2A\u5355\u5143\u683C,\u6BCF\u4E2A\u53C2\u6570\u4EE3\u8868\u4E00\u4E2Asparklines\u56FE",a:"\u7EC4\u5408sparklines\u56FE\u5230\u4E00\u4E2A\u5355\u5143\u683C",m:[1,1],p:[{name:"\u56FE\u8BBE\u7F6E",example:"PIESPLINES(A1:A20)",detail:"sparklines\u56FE\u8BBE\u7F6E\uFF0C\u4F8B\u5982A1:A20\uFF0C \u4E00\u4E2A\u5B8C\u6210\u7684\u997C\u56FE\u3001\u7EBF\u56FE\u8BBE\u7F6E\u7B49\u3002",require:"m",repeat:"y",type:"rangeall"}]},{n:"SORT",t:"14",d:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6570\u7EC4\u3002\u8FD4\u56DE\u7684\u6570\u7EC4\u4E0E\u63D0\u4F9B\u7684\u6570\u7EC4\u53C2\u6570\u5F62\u72B6\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6570\u7EC4\u3002\u8FD4\u56DE\u7684\u6570\u7EC4\u4E0E\u63D0\u4F9B\u7684\u6570\u7EC4\u53C2\u6570\u5F62\u72B6\u76F8\u540C\u3002",m:[1,4],p:[{name:"array",detail:"\u8981\u6392\u5E8F\u7684\u8303\u56F4\u6216\u6570\u7EC4\u3002",example:"A2:A17",require:"m",repeat:"n",type:"rangenumber"},{name:"sort_index",detail:"[\u53EF\u9009] - \u8868\u793A\u8981\u6392\u5E8F\u7684\u884C\u6216\u5217\u7684\u6570\u5B57\u3002\uFF08\u9ED8\u8BA4row1/col1\uFF09",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"sort_order",detail:"[\u53EF\u9009] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u987A\u5E8F\u7684\u6570\u5B57\uFF1B1\u8868\u793A\u5347\u5E8F\uFF08\u9ED8\u8BA4\uFF09\uFF0C-1\u8868\u793A\u964D\u5E8F\u3002",example:"-1",require:"o",repeat:"n",type:"rangenumber"},{name:"by_col",detail:"[\u53EF\u9009] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u65B9\u5411\u7684\u903B\u8F91\u503C\uFF1B\u6309\u884C\u6392\u5E8F\u4E3AFALSE()\uFF08\u9ED8\u8BA4\uFF09\uFF0C\u6309\u5217\u6392\u5E8F\u4E3ATRUE()\u3002",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FILTER",t:"14",d:"\u57FA\u4E8E\u4E00\u4E2A\u5E03\u5C14\uFF08\u771F/\u5047\uFF09\u6570\u7EC4\u8FC7\u6EE4\u4E00\u4E2A\u6570\u7EC4\u3002",a:"\u57FA\u4E8E\u4E00\u4E2A\u5E03\u5C14\uFF08\u771F/\u5047\uFF09\u6570\u7EC4\u8FC7\u6EE4\u4E00\u4E2A\u6570\u7EC4\u3002",m:[2,3],p:[{name:"array",detail:"\u8981\u7B5B\u9009\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002",example:"A5:D20",require:"m",repeat:"n",type:"range"},{name:"include",detail:"\u5E03\u5C14\u6570\u7EC4\uFF0C\u5176\u9AD8\u5EA6\u6216\u5BBD\u5EA6\u4E0E\u6570\u7EC4\u76F8\u540C",example:"1",require:"m",repeat:"n",type:"range"},{name:"if_empty",detail:"[\u53EF\u9009] - \u5982\u679C\u5305\u542B\u6570\u7EC4\u4E2D\u7684\u6240\u6709\u503C\u90FD\u4E3A\u7A7A(filter\u4E0D\u8FD4\u56DE\u4EFB\u4F55\u503C)\uFF0C\u5219\u8FD4\u56DE\u7684\u503C\u3002",example:'""',require:"o",repeat:"n",type:"rangeall"}]},{n:"UNIQUE",t:"14",d:"\u8FD4\u56DE\u5217\u8868\u6216\u533A\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u5217\u8868\u3002",a:"\u8FD4\u56DE\u5217\u8868\u6216\u533A\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u5217\u8868\u3002",m:[1,3],p:[{name:"array",detail:"\u4ECE\u5176\u8FD4\u56DE\u552F\u4E00\u503C\u7684\u6570\u7EC4\u6216\u533A\u57DF\u3002",example:"A2:B26",require:"m",repeat:"n",type:"rangenumber"},{name:"by_col",detail:"[\u53EF\u9009] - \u903B\u8F91\u503C\uFF0C\u6307\u793A\u5982\u4F55\u6BD4\u8F83\uFF1B\u6309\u884C = FALSE() \u6216\u7701\u7565\uFF1B\u6309\u5217 = TRUE()\u3002",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"occurs_once",detail:"[\u53EF\u9009] - \u903B\u8F91\u503C\uFF0C\u4EC5\u8FD4\u56DE\u552F\u4E00\u503C\u4E2D\u51FA\u73B0\u4E00\u6B21 = TRUE()\uFF1B\u5305\u62EC\u6240\u6709\u552F\u4E00\u503C = FALSE() \u6216\u7701\u7565\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANDARRAY",t:"14",d:"\u8FD4\u56DE 0 \u5230 1 \u4E4B\u95F4\u7684\u968F\u673A\u6570\u5B57\u6570\u7EC4\u3002",a:"\u8FD4\u56DE 0 \u5230 1 \u4E4B\u95F4\u7684\u968F\u673A\u6570\u5B57\u6570\u7EC4\u3002",m:[0,2],p:[{name:"rows",detail:"[\u53EF\u9009] - \u8981\u8FD4\u56DE\u7684\u884C\u6570\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"cols",detail:"[\u53EF\u9009] - \u8981\u8FD4\u56DE\u7684\u5217\u6570\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SEQUENCE",t:"14",d:"\u751F\u6210\u6570\u5B57\u5E8F\u5217\u7684\u5217\u8868\u3002",a:"\u751F\u6210\u6570\u5B57\u5E8F\u5217\u7684\u5217\u8868\u3002",m:[1,4],p:[{name:"rows",detail:"\u8981\u8FD4\u56DE\u7684\u884C\u6570\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"cols",detail:"[\u53EF\u9009] - \u8981\u8FD4\u56DE\u7684\u5217\u6570\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"start",detail:"[\u53EF\u9009] - \u5E8F\u5217\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"step",detail:"[\u53EF\u9009] - \u5E8F\u5217\u4E2D\u6BCF\u4E2A\u5E8F\u5217\u503C\u7684\u589E\u91CF\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"EVALUATE",t:"3",d:"\u5BF9\u4EE5\u6587\u5B57\u8868\u793A\u7684\u516C\u5F0F\u6216\u8005\u8868\u8FBE\u5F0F\u6C42\u503C\uFF0C\u5E76\u8FD4\u56DE\u7ED3\u679C\u3002",a:"\u6839\u636E\u6587\u5B57\u516C\u5F0F\u6216\u8005\u8868\u8FBE\u5F0F\u6C42\u503C\u3002",m:[1,1],p:[{name:"\u516C\u5F0F",example:'"A1+5*2^2"',detail:"\u516C\u5F0F\u6216\u8868\u8FBE\u5F0F",require:"m",repeat:"n",type:"rangeall"}]}],toolbar:{undo:"\u64A4\u9500",redo:"\u91CD\u505A",paintFormat:"\u683C\u5F0F\u5237",currencyFormat:"\u8D27\u5E01\u683C\u5F0F",percentageFormat:"\u767E\u5206\u6BD4\u683C\u5F0F",numberDecrease:"\u51CF\u5C11\u5C0F\u6570\u4F4D\u6570",numberIncrease:"\u589E\u52A0\u5C0F\u6570\u4F4D\u6570",moreFormats:"\u66F4\u591A\u683C\u5F0F",font:"\u5B57\u4F53",fontSize:"\u5B57\u53F7\u5927\u5C0F",bold:"\u7C97\u4F53 (Ctrl+B)",italic:"\u659C\u4F53 (Ctrl+I)",strikethrough:"\u5220\u9664\u7EBF (Alt+Shift+5)",underline:"\u4E0B\u5212\u7EBF",textColor:"\u6587\u672C\u989C\u8272",chooseColor:"\u989C\u8272\u9009\u62E9",resetColor:"\u91CD\u7F6E\u989C\u8272",customColor:"\u81EA\u5B9A\u4E49",alternatingColors:"\u4EA4\u66FF\u989C\u8272",confirmColor:"\u786E\u5B9A\u989C\u8272",cancelColor:"\u53D6\u6D88",collapse:"\u6536\u8D77",fillColor:"\u5355\u5143\u683C\u989C\u8272",border:"\u8FB9\u6846",borderStyle:"\u8FB9\u6846\u7C7B\u578B",mergeCell:"\u5408\u5E76\u5355\u5143\u683C",chooseMergeType:"\u9009\u62E9\u5408\u5E76\u7C7B\u578B",horizontalAlign:"\u6C34\u5E73\u5BF9\u9F50",verticalAlign:"\u5782\u76F4\u5BF9\u9F50",alignment:"\u5BF9\u9F50\u65B9\u5F0F",textWrap:"\u6587\u672C\u6362\u884C",textWrapMode:"\u6362\u884C\u65B9\u5F0F",textRotate:"\u6587\u672C\u65CB\u8F6C",textRotateMode:"\u65CB\u8F6C\u65B9\u5F0F",freezeTopRow:"\u51BB\u7ED3\u9996\u884C",sortAndFilter:"\u6392\u5E8F\u548C\u7B5B\u9009",findAndReplace:"\u67E5\u627E\u66FF\u6362",sum:"\u6C42\u548C",autoSum:"\u81EA\u52A8\u6C42\u548C",moreFunction:"\u66F4\u591A\u51FD\u6570",conditionalFormat:"\u6761\u4EF6\u683C\u5F0F",postil:"\u6279\u6CE8",pivotTable:"\u6570\u636E\u900F\u89C6\u8868",chart:"\u56FE\u8868",screenshot:"\u622A\u56FE",splitColumn:"\u5206\u5217",insertImage:"\u63D2\u5165\u56FE\u7247",insertLink:"\u63D2\u5165\u94FE\u63A5",dataVerification:"\u6570\u636E\u9A8C\u8BC1",protection:"\u4FDD\u62A4\u5DE5\u4F5C\u8868\u5185\u5BB9",clearText:"\u6E05\u9664\u989C\u8272\u9009\u62E9",noColorSelectedText:"\u6CA1\u6709\u989C\u8272\u88AB\u9009\u62E9",toolMore:"\u66F4\u591A",toolLess:"\u5C11\u4E8E",toolClose:"\u6536\u8D77",toolMoreTip:"\u66F4\u591A\u529F\u80FD",moreOptions:"\u66F4\u591A\u9009\u9879",cellFormat:"\u8BBE\u7F6E\u5355\u5143\u683C\u683C\u5F0F",print:"\u6253\u5370"},alternatingColors:{applyRange:"\u5E94\u7528\u8303\u56F4",selectRange:"\u9009\u62E9\u5E94\u7528\u8303\u56F4",header:"\u9875\u7709",footer:"\u9875\u811A",errorInfo:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",textTitle:"\u683C\u5F0F\u6837\u5F0F",custom:"\u81EA\u5B9A\u4E49",close:"\u5173\u95ED",selectionTextColor:"\u9009\u62E9\u6587\u672C\u989C\u8272",selectionCellColor:"\u9009\u62E9\u5355\u5143\u683C\u989C\u8272",removeColor:"\u79FB\u9664\u4EA4\u66FF\u989C\u8272",colorShow:"\u989C\u8272",currentColor:"\u5F53\u524D\u989C\u8272",tipSelectRange:"\u8BF7\u9009\u62E9\u4EA4\u66FF\u989C\u8272\u5E94\u7528\u8303\u56F4",errorNoRange:"\u60A8\u9009\u62E9\u7684\u5E94\u7528\u8303\u56F4\u4E0D\u662F\u9009\u533A\uFF01",errorExistColors:"\u60A8\u9009\u62E9\u7684\u5E94\u7528\u8303\u56F4\u5DF2\u5B58\u5728\u4EA4\u66FF\u989C\u8272\u4E14\u4E0D\u5C5E\u4E8E\u4F60\u8981\u7F16\u8F91\u7684\u5E94\u7528\u8303\u56F4\uFF01"},button:{confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",update:"Update",delete:"Delete",insert:"\u65B0\u5EFA",prevPage:"\u4E0A\u4E00\u9875",nextPage:"\u4E0B\u4E00\u9875",total:"\u603B\u5171\uFF1A"},paint:{start:"\u683C\u5F0F\u5237\u5F00\u542F",end:"ESC\u952E\u9000\u51FA",tipSelectRange:"\u8BF7\u9009\u62E9\u9700\u8981\u590D\u5236\u683C\u5F0F\u7684\u533A\u57DF",tipNotMulti:"\u65E0\u6CD5\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C"},format:{moreCurrency:"\u66F4\u591A\u8D27\u5E01\u683C\u5F0F",moreDateTime:"\u66F4\u591A\u65E5\u671F\u4E0E\u65F6\u95F4\u683C\u5F0F",moreNumber:"\u66F4\u591A\u6570\u5B57\u683C\u5F0F",titleCurrency:"\u8D27\u5E01\u683C\u5F0F",decimalPlaces:"\u5C0F\u6570\u4F4D\u6570",titleDateTime:"\u65E5\u671F\u4E0E\u65F6\u95F4\u683C\u5F0F",titleNumber:"\u6570\u5B57\u683C\u5F0F"},info:{detailUpdate:"\u65B0\u6253\u5F00",detailSave:"\u5DF2\u6062\u590D\u672C\u5730\u7F13\u5B58",row:"\u884C",column:"\u5217",loading:"\u6E32\u67D3\u4E2D\xB7\xB7\xB7",copy:"\u526F\u672C",return:"\u8FD4\u56DE",rename:"\u91CD\u547D\u540D",tips:"\u8868\u683C\u91CD\u547D\u540D",noName:"\u65E0\u6807\u9898\u7684\u7535\u5B50\u8868\u683C",wait:"\u5F85\u66F4\u65B0",add:"\u6DFB\u52A0",addLast:"\u5728\u5E95\u90E8\u6DFB\u52A0",backTop:"\u56DE\u5230\u9876\u90E8",pageInfo:"\u5171${total}\u6761\uFF0C${totalPage}\u9875\uFF0C\u5F53\u524D\u5DF2\u663E\u793A${currentPage}\u9875",nextPage:"\u4E0B\u4E00\u9875",tipInputNumber:"\u8BF7\u8F93\u5165\u6570\u5B57",tipInputNumberLimit:"\u589E\u52A0\u8303\u56F4\u9650\u5236\u57281-100",tipRowHeightLimit:"\u884C\u9AD8\u5FC5\u987B\u57280 ~ 545\u4E4B\u95F4",tipColumnWidthLimit:"\u5217\u5BBD\u5FC5\u987B\u57280 ~ 2038\u4E4B\u95F4",pageInfoFull:"\u5171${total}\u6761\uFF0C${totalPage}\u9875\uFF0C\u5DF2\u663E\u793A\u5168\u90E8\u6570\u636E"},currencyDetail:{RMB:"\u4EBA\u6C11\u5E01",USdollar:"\u7F8E\u5143",EUR:"\u6B27\u5143",GBP:"\u82F1\u9551",HK:"\u6E2F\u5143",JPY:"\u65E5\u5143",AlbanianLek:"\u963F\u5C14\u5DF4\u5C3C\u4E9A\u5217\u514B",AlgerianDinar:"\u963F\u5C14\u53CA\u5229\u4E9A\u7B2C\u7EB3\u5C14",Afghani:"\u963F\u5BCC\u6C57\u5C3C",ArgentinePeso:"\u963F\u6839\u5EF7\u6BD4\u7D22",UnitedArabEmiratesDirham:"\u963F\u62C9\u4F2F\u8054\u5408\u914B\u957F\u56FD\u8FEA\u62C9\u59C6",ArubanFlorin:"\u963F\u9C81\u5DF4\u5F17\u7F57\u6797",OmaniRial:"\u963F\u66FC\u91CC\u4E9A\u5C14",Azerbaijanimanat:"\u963F\u585E\u62DC\u7586\u9A6C\u7EB3\u7279",EgyptianPound:"\u57C3\u53CA\u9551",EthiopianBirr:"\u57C3\u585E\u4FC4\u6BD4\u4E9A\u6BD4\u5C14",AngolaKwanza:"\u5B89\u54E5\u62C9\u5BBD\u624E",AustralianDollar:"\u6FB3\u5927\u5229\u4E9A\u5143",Patacas:"\u6FB3\u95E8\u5143",BarbadosDollar:"\u5DF4\u5DF4\u591A\u65AF\u5143",PapuaNewGuineaKina:"\u5DF4\u5E03\u4E9A\u65B0\u51E0\u5185\u4E9A\u57FA\u90A3",BahamianDollar:"\u5DF4\u54C8\u9A6C\u5143",PakistanRupee:"\u5DF4\u57FA\u65AF\u5766\u5362\u6BD4",ParaguayanGuarani:"\u5DF4\u62C9\u572D\u74DC\u62C9\u5C3C",BahrainiDinar:"\u5DF4\u6797\u7B2C\u7EB3\u5C14",PanamanianBalboa:"\u5DF4\u62FF\u9A6C\u5DF4\u6CE2\u4E9A",Brazilianreal:"\u5DF4\u897F\u91CC\u4E9A\u4F0A",Belarusianruble:"\u767D\u4FC4\u7F57\u65AF\u5362\u5E03",BermudianDollar:"\u767E\u6155\u5927\u5143",BulgarianLev:"\u4FDD\u52A0\u5229\u4E9A\u5217\u5F17",IcelandKrona:"\u51B0\u5C9B\u514B\u6717",BosniaHerzegovinaConvertibleMark:"\u6CE2\u9ED1\u53EF\u5151\u6362\u9A6C\u514B",PolishZloty:"\u6CE2\u5170\u5179\u7F57\u63D0",Boliviano:"\u73BB\u5229\u7EF4\u4E9A\u8BFA",BelizeDollar:"\u4F2F\u5229\u5179\u5143",BotswanaPula:"\u535A\u8328\u74E6\u7EB3\u666E\u62C9",NotDannuzhamu:"\u4E0D\u4E39\u52AA\u624E\u59C6",BurundiFranc:"\u5E03\u9686\u8FEA\u6CD5\u90CE",NorthKoreanWon:"\u671D\u9C9C\u5706",DanishKrone:"\u4E39\u9EA6\u514B\u6717",EastCaribbeanDollar:"\u4E1C\u52A0\u52D2\u6BD4\u5143",DominicaPeso:"\u591A\u7C73\u5C3C\u52A0\u6BD4\u7D22",RussianRuble:"\u4FC4\u56FD\u5362\u5E03",EritreanNakfa:"\u5384\u7ACB\u7279\u91CC\u4E9A\u7EB3\u514B\u6CD5",CFAfranc:"\u975E\u6D32\u91D1\u878D\u5171\u540C\u4F53\u6CD5\u90CE",PhilippinePeso:"\u83F2\u5F8B\u5BBE\u6BD4\u7D22",FijiDollar:"\u6590\u6D4E\u5143",CapeVerdeEscudo:"\u4F5B\u5F97\u89D2\u57C3\u65AF\u5E93\u591A",FalklandIslandsPound:"\u798F\u514B\u5170\u7FA4\u5C9B\u9551",GambianDalasi:"\u5188\u6BD4\u4E9A\u8FBE\u62C9\u897F",Congolesefranc:"\u521A\u679C\u6CD5\u90CE",ColombianPeso:"\u54E5\u4F26\u6BD4\u4E9A\u6BD4\u7D22",CostaRicanColon:"\u54E5\u65AF\u8FBE\u9ECE\u52A0\u79D1\u6717",CubanPeso:"\u53E4\u5DF4\u6BD4\u7D22",Cubanconvertiblepeso:"\u53E4\u5DF4\u53EF\u5151\u6362\u6BD4\u7D22",GuyanaDollar:"\u572D\u4E9A\u90A3\u5143",KazakhstanTenge:"\u54C8\u8428\u514B\u65AF\u5766\u575A\u6208",Haitiangourde:"\u6D77\u5730\u53E4\u5FB7",won:"\u97E9\u5143",NetherlandsAntillesGuilder:"\u8377\u5C5E\u5B89\u7684\u5217\u65AF\u76FE",Honduraslempiras:"\u6D2A\u90FD\u62C9\u65AF\u62C9\u4F26\u76AE\u62C9",DjiboutiFranc:"\u5409\u5E03\u63D0\u6CD5\u90CE",KyrgyzstanSom:"\u5409\u5C14\u5409\u65AF\u65AF\u5766\u7D22\u59C6",GuineaFranc:"\u51E0\u5185\u4E9A\u6CD5\u90CE",CanadianDollar:"\u52A0\u62FF\u5927\u5143",GhanaianCedi:"\u52A0\u7EB3\u585E\u5730",Cambodianriel:"\u67EC\u57D4\u5BE8\u745E\u5C14",CzechKoruna:"\u6377\u514B\u514B\u6717",ZimbabweDollar:"\u6D25\u5DF4\u5E03\u97E6\u5143",QatariRiyal:"\u5361\u5854\u5C14\u91CC\u4E9A\u5C14",CaymanIslandsDollar:"\u5F00\u66FC\u7FA4\u5C9B\u5143",Comorianfranc:"\u79D1\u6469\u7F57\u6CD5\u90CE",KuwaitiDinar:"\u79D1\u5A01\u7279\u7B2C\u7EB3\u5C14",CroatianKuna:"\u514B\u7F57\u5730\u4E9A\u5E93\u7EB3",KenyanShilling:"\u80AF\u5C3C\u4E9A\u5148\u4EE4",LesothoLoti:"\u83B1\u7D22\u6258\u6D1B\u8482",LaoKip:"\u8001\u631D\u57FA\u666E",LebanesePound:"\u9ECE\u5DF4\u5AE9\u9551",Lithuanianlitas:"\u7ACB\u9676\u5B9B\u7ACB\u7279",LibyanDinar:"\u5229\u6BD4\u4E9A\u7B2C\u7EB3\u5C14",LiberianDollar:"\u5229\u6BD4\u4E9A\u5143",RwandaFranc:"\u5362\u65FA\u8FBE\u6CD5\u90CE",RomanianLeu:"\u7F57\u9A6C\u5C3C\u4E9A\u5217\u4F0A",MalagasyAriary:"\u9A6C\u8FBE\u52A0\u65AF\u52A0\u963F\u91CC\u4E9A\u91CC",MaldivianRufiyaa:"\u9A6C\u5C14\u4EE3\u592B\u62C9\u83F2\u4E9A",MalawiKwacha:"\u9A6C\u62C9\u7EF4\u514B\u74E6\u67E5",MalaysianRinggit:"\u9A6C\u6765\u897F\u4E9A\u6797\u5409\u7279",MacedoniawearingDinar:"\u9A6C\u5176\u987F\u6234\u7B2C\u7EB3\u5C14",MauritiusRupee:"\u6BDB\u91CC\u6C42\u65AF\u5362\u6BD4",MauritanianOuguiya:"\u6BDB\u91CC\u5854\u5C3C\u4E9A\u4E4C\u5409\u4E9A",MongolianTugrik:"\u8499\u53E4\u56FE\u683C\u91CC\u514B",BangladeshiTaka:"\u5B5F\u52A0\u62C9\u5854\u5361",PeruvianNuevoSol:"\u79D8\u9C81\u65B0\u7D22\u5C14",MyanmarKyat:"\u7F05\u7538\u5F00\u4E9A\u7279",MoldovanLeu:"\u6469\u5C14\u591A\u74E6\u5217\u4F0A",MoroccanDirham:"\u6469\u6D1B\u54E5\u8FEA\u62C9\u59C6",MozambiqueMetical:"\u83AB\u6851\u6BD4\u514B\u6885\u8482\u5361\u5C14",MexicanPeso:"\u58A8\u897F\u54E5\u6BD4\u7D22",NamibianDollar:"\u7EB3\u7C73\u6BD4\u4E9A\u5143",SouthAfricanRand:"\u5357\u975E\u5170\u7279",SouthSudanesePound:"\u5357\u82CF\u4E39\u9551",NicaraguaCordoba:"\u5C3C\u52A0\u62C9\u74DC\u79D1\u591A\u5DF4",NepaleseRupee:"\u5C3C\u6CCA\u5C14\u5362\u6BD4",NigerianNaira:"\u5C3C\u65E5\u5229\u4E9A\u5948\u62C9",NorwegianKrone:"\u632A\u5A01\u514B\u6717",GeorgianLari:"\u4E54\u6CBB\u4E9A\u62C9\u745E",RMBOffshore:"\u4EBA\u6C11\u5E01\uFF08\u79BB\u5CB8\uFF09",SwedishKrona:"\u745E\u5178\u514B\u6717",SwissFranc:"\u745E\u58EB\u6CD5\u90CE",SerbianDinar:"\u585E\u5C14\u7EF4\u4E9A\u7B2C\u7EB3\u5C14",SierraLeone:"\u585E\u62C9\u5229\u6602\u5229\u6602",SeychellesRupee:"\u585E\u820C\u5C14\u5362\u6BD4",SaudiRiyal:"\u6C99\u7279\u91CC\u4E9A\u5C14",SaoTomeDobra:"\u5723\u591A\u7F8E\u591A\u5E03\u62C9",SaintHelenapound:"\u5723\u8D6B\u52D2\u62FF\u7FA4\u5C9B\u78C5",SriLankaRupee:"\u65AF\u91CC\u5170\u5361\u5362\u6BD4",SwazilandLilangeni:"\u65AF\u5A01\u58EB\u5170\u91CC\u5170\u5409\u5C3C",SudanesePound:"\u82CF\u4E39\u9551",Surinamesedollar:"\u82CF\u91CC\u5357\u5143",SolomonIslandsDollar:"\u6240\u7F57\u95E8\u7FA4\u5C9B\u5143",SomaliShilling:"\u7D22\u9A6C\u91CC\u5148\u4EE4",TajikistanSomoni:"\u5854\u5409\u514B\u65AF\u5766\u7D22\u83AB\u5C3C",PacificFranc:"\u592A\u5E73\u6D0B\u6CD5\u90CE",ThaiBaht:"\u6CF0\u56FD\u94E2",TanzanianShilling:"\u5766\u6851\u5C3C\u4E9A\u5148\u4EE4",TonganPaanga:"\u6C64\u52A0\u6F58\u52A0",TrinidadandTobagoDollar:"\u7279\u7ACB\u5C3C\u8FBE\u548C\u591A\u5DF4\u54E5\u5143",TunisianDinar:"\u7A81\u5C3C\u65AF\u7B2C\u7EB3\u5C14",TurkishLira:"\u571F\u8033\u5176\u91CC\u62C9",VanuatuVatu:"\u74E6\u52AA\u963F\u56FE\u74E6\u56FE",GuatemalanQuetzal:"\u5371\u5730\u9A6C\u62C9\u683C\u67E5\u5C14",CommissionBolivar:"\u59D4\u5185\u745E\u62C9\u535A\u5229\u74E6",BruneiDollar:"\u6587\u83B1\u5143",UgandanShilling:"\u4E4C\u5E72\u8FBE\u5148\u4EE4",UkrainianHryvnia:"\u4E4C\u514B\u5170\u683C\u91CC\u592B\u5C3C\u4E9A",UruguayanPeso:"\u4E4C\u62C9\u572D\u6BD4\u7D22",Uzbekistansom:"\u4E4C\u5179\u522B\u514B\u65AF\u5766\u82CF\u59C6",WesternSamoaTala:"\u897F\u8428\u6469\u4E9A\u5854\u62C9",SingaporeDollar:"\u65B0\u52A0\u5761\u5143",NT:"\u65B0\u53F0\u5E01",NewZealandDollar:"\u65B0\u897F\u5170\u5143",HungarianForint:"\u5308\u7259\u5229\u798F\u6797",SyrianPound:"\u53D9\u5229\u4E9A\u9551",JamaicanDollar:"\u7259\u4E70\u52A0\u5143",ArmenianDram:"\u4E9A\u7F8E\u5C3C\u4E9A\u5FB7\u62C9\u59C6",YemeniRial:"\u4E5F\u95E8\u91CC\u4E9A\u5C14",IraqiDinar:"\u4F0A\u62C9\u514B\u7B2C\u7EB3\u5C14",IranianRial:"\u4F0A\u6717\u91CC\u4E9A\u5C14",NewIsraeliShekel:"\u4EE5\u8272\u5217\u65B0\u8C22\u514B\u5C14",IndianRupee:"\u5370\u5EA6\u5362\u6BD4",IndonesianRupiah:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u5362\u6BD4",JordanianDinar:"\u7EA6\u65E6\u7B2C\u7EB3\u5C14",VND:"\u8D8A\u5357\u76FE",ZambianKwacha:"\u8D5E\u6BD4\u4E9A\u514B\u74E6\u67E5",GibraltarPound:"\u76F4\u5E03\u7F57\u9640\u9551",ChileanPeso:"\u667A\u5229\u6BD4\u7D22",CFAFrancBEAC:"\u4E2D\u975E\u91D1\u878D\u5408\u4F5C\u6CD5\u90CE"},defaultFmt:[{text:"\u81EA\u52A8",value:"General",example:""},{text:"\u7EAF\u6587\u672C",value:"@",example:""},{text:"",value:"split",example:""},{text:"\u6570\u5B57",value:"##0.00",example:"1000.12"},{text:"\u767E\u5206\u6BD4",value:"#0.00%",example:"12.21%"},{text:"\u79D1\u5B66\u8BA1\u6570",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"\u4F1A\u8BA1",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"\u4E07\u5143",value:"w",example:"1\u4EBF2000\u4E072500"},{text:"\u8D27\u5E01",value:"\xA50.00",example:"\xA51200.09"},{text:"\u4E07\u51432\u4F4D\u5C0F\u6570",value:"w0.00",example:"2\u4E072500.55"},{text:"",value:"split",example:""},{text:"\u65E5\u671F",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"\u65F6\u95F4",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"\u65F6\u95F424H",value:"hh:mm",example:"15:00"},{text:"\u65E5\u671F\u65F6\u95F4",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"\u65E5\u671F\u65F6\u95F424H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"split",example:""},{text:"\u81EA\u5B9A\u4E49\u683C\u5F0F",value:"fmtOtherSelf",example:"more"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"1930\u5E748\u67085\u65E5",value:'yyyy"\u5E74"M"\u6708"d"\u65E5"'},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"8\u67085\u65E5",value:'M"\u6708"d"\u65E5"'},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"\u4E0B\u534801:30",value:"\u4E0A\u5348/\u4E0B\u5348 hh:mm"},{name:"\u4E0B\u53481:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm"},{name:"\u4E0B\u53481:30:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm:ss"},{name:"08-05 \u4E0B\u534801:30",value:"MM-dd \u4E0A\u5348/\u4E0B\u5348 hh:mm"}],fontFamily:{MicrosoftYaHei:"Microsoft YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana","\u5FAE\u8F6F\u96C5\u9ED1","\u5B8B\u4F53","\u9ED1\u4F53","\u6977\u4F53","\u4EFF\u5B8B","\u65B0\u5B8B\u4F53","\u534E\u6587\u65B0\u9B4F","\u534E\u6587\u884C\u6977","\u534E\u6587\u96B6\u4E66"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3,\u5FAE\u8F6F\u96C5\u9ED1:4,"microsoft yahei":4,\u5B8B\u4F53:5,simsun:5,\u9ED1\u4F53:6,simhei:6,\u6977\u4F53:7,kaiti:7,\u4EFF\u5B8B:8,fangsong:8,\u65B0\u5B8B\u4F53:9,nsimsun:9,\u534E\u6587\u65B0\u9B4F:10,stxinwei:10,\u534E\u6587\u884C\u6977:11,stxingkai:11,\u534E\u6587\u96B6\u4E66:12,stliti:12},border:{borderTop:"\u4E0A\u6846\u7EBF",borderBottom:"\u4E0B\u6846\u7EBF",borderLeft:"\u5DE6\u6846\u7EBF",borderRight:"\u53F3\u6846\u7EBF",borderNone:"\u65E0",borderAll:"\u6240\u6709",borderOutside:"\u5916\u4FA7",borderInside:"\u5185\u4FA7",borderHorizontal:"\u5185\u4FA7\u6A2A\u7EBF",borderVertical:"\u5185\u4FA7\u7AD6\u7EBF",borderColor:"\u8FB9\u6846\u989C\u8272",borderSize:"\u8FB9\u6846\u7C97\u7EC6"},merge:{mergeAll:"\u5168\u90E8\u5408\u5E76",mergeV:"\u5782\u76F4\u5408\u5E76",mergeH:"\u6C34\u5E73\u5408\u5E76",mergeCancel:"\u53D6\u6D88\u5408\u5E76",overlappingError:"\u4E0D\u80FD\u5408\u5E76\u91CD\u53E0\u533A\u57DF",partiallyError:"\u65E0\u6CD5\u5BF9\u90E8\u5206\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C"},align:{left:"\u5DE6\u5BF9\u9F50",center:"\u4E2D\u95F4\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8\u5BF9\u9F50",middle:"\u5C45\u4E2D\u5BF9\u9F50",bottom:"\u5E95\u90E8\u5BF9\u9F50"},textWrap:{overflow:"\u6EA2\u51FA",wrap:"\u81EA\u52A8\u6362\u884C",clip:"\u622A\u65AD"},rotation:{none:"\u65E0\u65CB\u8F6C",angleup:"\u5411\u4E0A\u503E\u659C",angledown:"\u5411\u4E0B\u503E\u659C",vertical:"\u7AD6\u6392\u6587\u5B57",rotationUp:"\u5411\u4E0A90\xB0",rotationDown:"\u5411\u4E0B90\xB0"},freezen:{default:"\u51BB\u7ED3\u9996\u884C",freezenRow:"\u51BB\u7ED3\u9996\u884C",freezenColumn:"\u51BB\u7ED3\u9996\u5217",freezenRC:"\u51BB\u7ED3\u884C\u5217",freezenRowRange:"\u51BB\u7ED3\u884C\u5230\u9009\u533A",freezenColumnRange:"\u51BB\u7ED3\u5217\u5230\u9009\u533A",freezenRCRange:"\u51BB\u7ED3\u884C\u5217\u5230\u9009\u533A",freezenCancel:"\u53D6\u6D88\u51BB\u7ED3",noSeletionError:"\u6CA1\u6709\u9009\u533A"},sort:{asc:"\u5347\u5E8F",desc:"\u964D\u5E8F",custom:"\u81EA\u5B9A\u4E49\u6392\u5E8F",hasTitle:"\u6570\u636E\u5177\u6709\u6807\u9898\u884C",sortBy:"\u6392\u5E8F\u4F9D\u636E",addOthers:"\u6DFB\u52A0\u5176\u4ED6\u6392\u5E8F\u5217",close:"\u5173\u95ED",confirm:"\u6392\u5E8F",columnOperation:"\u5217",secondaryTitle:"\u6B21\u8981\u6392\u5E8F",sortTitle:"\u6392\u5E8F\u8303\u56F4",sortRangeTitle:"\u6392\u5E8F\u8303\u56F4\u4ECE",sortRangeTitleTo:"\u5230",noRangeError:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",mergeError:"\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF01"},filter:{filter:"\u7B5B\u9009",clearFilter:"\u6E05\u9664\u7B5B\u9009",sortByAsc:"\u4EE5A-Z\u5347\u5E8F\u6392\u5217",sortByDesc:"\u4EE5Z-A\u964D\u5E8F\u6392\u5217",filterByColor:"\u6309\u989C\u8272\u7B5B\u9009",filterByCondition:"\u6309\u6761\u4EF6\u8FC7\u6EE4",filterByValues:"\u6309\u503C\u8FC7\u6EE4",filiterInputNone:"\u65E0",filiterInputTip:"\u8F93\u5165\u7B5B\u9009\u503C",filiterRangeStartTip:"\u8303\u56F4\u5F00\u59CB",filiterRangeEndTip:"\u8303\u56F4\u7ED3\u675F",filterValueByAllBtn:"\u5168\u9009",filterValueByClearBtn:"\u6E05\u9664",filterValueByInverseBtn:"\u53CD\u9009",filterValueByTip:"\u6309\u7167\u503C\u8FDB\u884C\u7B5B\u9009",filterConform:"\u786E \u8BA4",filterCancel:"\u53D6 \u6D88",clearFilter:"\u6E05\u9664\u7B5B\u9009",conditionNone:"\u65E0",conditionCellIsNull:"\u5355\u5143\u683C\u4E3A\u7A7A",conditionCellNotNull:"\u5355\u5143\u683C\u6709\u6570\u636E",conditionCellTextContain:"\u6587\u672C\u5305\u542B",conditionCellTextNotContain:"\u6587\u672C\u4E0D\u5305\u542B",conditionCellTextStart:"\u6587\u672C\u5F00\u5934\u4E3A",conditionCellTextEnd:"\u6587\u672C\u7ED3\u5C3E\u4E3A",conditionCellTextEqual:"\u6587\u672C\u7B49\u4E8E",conditionCellDateEqual:"\u65E5\u671F\u7B49\u4E8E",conditionCellDateBefore:"\u65E5\u671F\u65E9\u4E8E",conditionCellDateAfter:"\u65E5\u671F\u665A\u4E8E",conditionCellGreater:"\u5927\u4E8E",conditionCellGreaterEqual:"\u5927\u4E8E\u7B49\u4E8E",conditionCellLess:"\u5C0F\u4E8E",conditionCellLessEqual:"\u5C0F\u4E8E\u7B49\u4E8E",conditionCellEqual:"\u7B49\u4E8E",conditionCellNotEqual:"\u4E0D\u7B49\u4E8E",conditionCellBetween:"\u4ECB\u4E8E",conditionCellNotBetween:"\u4E0D\u5728\u5176\u4E2D",filiterMoreDataTip:"\u6570\u636E\u91CF\u5927\uFF01\u8BF7\u7A0D\u540E",filiterMonthText:"\u6708",filiterYearText:"\u5E74",filiterByColorTip:"\u6309\u5355\u5143\u683C\u989C\u8272\u7B5B\u9009",filiterByTextColorTip:"\u6309\u5355\u5143\u683C\u5B57\u4F53\u989C\u8272\u7B5B\u9009",filterContainerOneColorTip:"\u672C\u5217\u4EC5\u5305\u542B\u4E00\u79CD\u989C\u8272",filterDateFormatTip:"\u65E5\u671F\u683C\u5F0F",valueBlank:"(\u7A7A\u767D)",mergeError:"\u7B5B\u9009\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF01"},rightclick:{copy:"\u590D\u5236",copyAs:"\u590D\u5236\u4E3A",paste:"\u7C98\u8D34",insert:"\u63D2\u5165",delete:"\u5220\u9664",deleteCell:"\u5220\u9664\u5355\u5143\u683C",deleteSelected:"\u5220\u9664\u9009\u4E2D",hide:"\u9690\u85CF",hideSelected:"\u9690\u85CF\u9009\u4E2D",showHide:"\u663E\u793A\u9690\u85CF",to:"\u5411",left:"\u5DE6",right:"\u53F3",top:"\u4E0A",bottom:"\u4E0B",moveLeft:"\u5DE6\u79FB",moveUp:"\u4E0A\u79FB",add:"\u589E\u52A0",row:"\u884C",column:"\u5217",width:"\u5BBD",height:"\u9AD8",number:"\u6570\u5B57",confirm:"\u786E\u8BA4",orderAZ:"A-Z\u987A\u5E8F\u6392\u5217",orderZA:"Z-A\u964D\u5E8F\u6392\u5217",clearContent:"\u6E05\u9664\u5185\u5BB9",matrix:"\u77E9\u9635\u64CD\u4F5C\u9009\u533A",sortSelection:"\u6392\u5E8F\u9009\u533A",filterSelection:"\u7B5B\u9009\u9009\u533A",chartGeneration:"\u56FE\u8868\u751F\u6210",firstLineTitle:"\u9996\u884C\u4E3A\u6807\u9898",untitled:"\u65E0\u6807\u9898",array1:"\u4E00\u7EF4\u6570\u7EC4",array2:"\u4E8C\u7EF4\u6570\u7EC4",array3:"\u591A\u7EF4\u6570\u7EC4",diagonal:"\u5BF9\u89D2\u7EBF",antiDiagonal:"\u53CD\u5BF9\u89D2\u7EBF",diagonalOffset:"\u5BF9\u89D2\u504F\u79FB",offset:"\u504F\u79FB\u91CF",boolean:"\u5E03\u5C14\u503C",flip:"\u7FFB\u8F6C",upAndDown:"\u4E0A\u4E0B",leftAndRight:"\u5DE6\u53F3",clockwise:"\u987A\u65F6\u9488",counterclockwise:"\u9006\u65F6\u9488",transpose:"\u8F6C\u7F6E",matrixCalculation:"\u77E9\u9635\u8BA1\u7B97",plus:"\u52A0",minus:"\u51CF",multiply:"\u4E58",divided:"\u9664",power:"\u6B21\u65B9",root:"\u6B21\u65B9\u6839",log:"log",delete0:"\u5220\u9664\u4E24\u7AEF0\u503C",removeDuplicate:"\u5220\u9664\u91CD\u590D\u503C",byRow:"\u6309\u884C",byCol:"\u6309\u5217",generateNewMatrix:"\u751F\u6210\u65B0\u77E9\u9635"},comment:{insert:"\u65B0\u5EFA\u6279\u6CE8",edit:"\u7F16\u8F91\u6279\u6CE8",delete:"\u5220\u9664",showOne:"\u663E\u793A/\u9690\u85CF\u6279\u6CE8",showAll:"\u663E\u793A/\u9690\u85CF\u6240\u6709\u6279\u6CE8"},screenshot:{screenshotTipNoSelection:"\u8BF7\u6846\u9009\u9700\u8981\u622A\u56FE\u7684\u8303\u56F4",screenshotTipTitle:"\u63D0\u793A\uFF01",screenshotTipHasMerge:"\u65E0\u6CD5\u5BF9\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C",screenshotTipHasMulti:"\u65E0\u6CD5\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C",screenshotTipSuccess:"\u622A\u53D6\u6210\u529F",screenshotImageName:"\u622A\u56FE",downLoadClose:"\u5173\u95ED",downLoadCopy:"\u590D\u5236\u5230\u526A\u5207\u677F",downLoadBtn:"\u4E0B\u8F7D",browserNotTip:"\u4E0B\u8F7D\u529F\u80FDIE\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\uFF01",rightclickTip:"\u8BF7\u5728\u56FE\u7247\u4E0A\u53F3\u952E\u70B9\u51FB'\u590D\u5236'",successTip:"\u5DF2\u6210\u529F\u590D\u5236\uFF08\u5982\u679C\u7C98\u8D34\u5931\u8D25\uFF0C\u8BF7\u5728\u56FE\u7247\u4E0A\u53F3\u952E\u70B9\u51FB'\u590D\u5236\u56FE\u7247'\uFF09"},splitText:{splitDelimiters:"\u5206\u5272\u7B26\u53F7",splitOther:"\u5176\u5B83",splitContinueSymbol:"\u8FDE\u7EED\u5206\u9694\u7B26\u53F7\u89C6\u4E3A\u5355\u4E2A\u5904\u7406",splitDataPreview:"\u6570\u636E\u9884\u89C8",splitTextTitle:"\u6587\u672C\u5206\u5217",splitConfirmToExe:"\u6B64\u5904\u5DF2\u6709\u6570\u636E\uFF0C\u662F\u5426\u66FF\u6362\u5B83\uFF1F",tipNoMulti:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",tipNoMultiColumn:"\u4E00\u6B21\u53EA\u80FD\u8F6C\u6362\u4E00\u5217\u6570\u636E\uFF0C\u9009\u5B9A\u533A\u57DF\u53EF\u4EE5\u6709\u591A\u884C\uFF0C\u4F46\u4E0D\u80FD\u6709\u591A\u5217\uFF0C\u8BF7\u5728\u9009\u5B9A\u5355\u5217\u533A\u57DF\u4EE5\u540E\u518D\u8BD5"},imageText:{imageSetting:"\u56FE\u7247\u8BBE\u7F6E",close:"\u5173\u95ED",conventional:"\u5E38\u89C4",moveCell1:"\u79FB\u52A8\u5E76\u8C03\u6574\u5355\u5143\u683C\u5927\u5C0F",moveCell2:"\u79FB\u52A8\u5E76\u4E14\u4E0D\u8C03\u6574\u5355\u5143\u683C\u7684\u5927\u5C0F",moveCell3:"\u4E0D\u8981\u79FB\u52A8\u5355\u5143\u683C\u5E76\u8C03\u6574\u5176\u5927\u5C0F",fixedPos:"\u56FA\u5B9A\u4F4D\u7F6E",border:"\u8FB9\u6846",width:"\u5BBD\u5EA6",radius:"\u534A\u5F84",style:"\u6837\u5F0F",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6",double:"\u53CC\u7EBF",color:"\u989C\u8272"},punctuation:{tab:"Tab \u952E",semicolon:"\u5206\u53F7",comma:"\u9017\u53F7",space:"\u7A7A\u683C"},findAndReplace:{find:"\u67E5\u627E",replace:"\u66FF\u6362",goto:"\u8F6C\u5230",location:"\u5B9A\u4F4D\u6761\u4EF6",formula:"\u516C\u5F0F",date:"\u65E5\u671F",number:"\u6570\u5B57",string:"\u5B57\u7B26",error:"\u9519\u8BEF",condition:"\u6761\u4EF6\u683C\u5F0F",rowSpan:"\u95F4\u9694\u884C",columnSpan:"\u95F4\u9694\u5217",locationExample:"\u5B9A\u4F4D",lessTwoRowTip:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u884C",lessTwoColumnTip:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u884C",findTextbox:"\u67E5\u627E\u5185\u5BB9",replaceTextbox:"\u66FF\u6362\u5185\u5BB9",regexTextbox:"\u6B63\u5219\u8868\u8FBE\u5F0F\u5339\u914D",wholeTextbox:"\u6574\u8BCD\u5339\u914D",distinguishTextbox:"\u533A\u5206\u5927\u5C0F\u5199\u5339\u914D",allReplaceBtn:"\u5168\u90E8\u66FF\u6362",replaceBtn:"\u66FF\u6362",allFindBtn:"\u67E5\u627E\u5168\u90E8",findBtn:"\u67E5\u627E\u4E0B\u4E00\u4E2A",noFindTip:"\u6CA1\u6709\u67E5\u627E\u5230\u8BE5\u5185\u5BB9",modeTip:"\u8BE5\u6A21\u5F0F\u4E0B\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C",searchTargetSheet:"\u5DE5\u4F5C\u8868",searchTargetCell:"\u5355\u5143\u683C",searchTargetValue:"\u503C",searchInputTip:"\u8BF7\u8F93\u5165\u67E5\u627E\u5185\u5BB9",noReplceTip:"\u6CA1\u6709\u53EF\u66FF\u6362\u7684\u5185\u5BB9",noMatchTip:"\u627E\u4E0D\u5230\u5339\u914D\u9879",successTip:"\u5DF2\u7ECF\u5E2E\u60A8\u641C\u7D22\u5E76\u8FDB\u884C\u4E86${xlength}\u5904\u66FF\u6362",locationConstant:"\u5E38\u91CF",locationFormula:"\u516C\u5F0F",locationDate:"\u65E5\u671F",locationDigital:"\u6570\u5B57",locationString:"\u5B57\u7B26",locationBool:"\u903B\u8F91\u503C",locationError:"\u9519\u8BEF",locationNull:"\u7A7A\u503C",locationCondition:"\u6761\u4EF6\u683C\u5F0F",locationRowSpan:"\u95F4\u9694\u884C",locationColumnSpan:"\u95F4\u9694\u5217",locationTiplessTwoRow:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u884C",locationTiplessTwoColumn:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u5217",locationTipNotFindCell:"\u672A\u627E\u5230\u5355\u5143\u683C"},sheetconfig:{delete:"\u5220\u9664",copy:"\u590D\u5236",rename:"\u91CD\u547D\u540D",changeColor:"\u66F4\u6539\u989C\u8272",hide:"\u9690\u85CF",unhide:"\u53D6\u6D88\u9690\u85CF",moveLeft:"\u5411\u5DE6\u79FB",moveRight:"\u5411\u53F3\u79FB",resetColor:"\u91CD\u7F6E\u989C\u8272",cancelText:"\u53D6\u6D88",chooseText:"\u786E\u5B9A\u989C\u8272",tipNameRepeat:"\u6807\u7B7E\u9875\u7684\u540D\u79F0\u4E0D\u80FD\u91CD\u590D\uFF01\u8BF7\u91CD\u65B0\u4FEE\u6539",noMoreSheet:"\u5DE5\u4F5C\u8584\u5185\u81F3\u5C11\u542B\u6709\u4E00\u5F20\u53EF\u89C6\u5DE5\u4F5C\u8868\u3002\u82E5\u9700\u5220\u9664\u9009\u5B9A\u7684\u5DE5\u4F5C\u8868\uFF0C\u8BF7\u5148\u63D2\u5165\u4E00\u5F20\u65B0\u5DE5\u4F5C\u8868\u6216\u663E\u793A\u4E00\u5F20\u9690\u85CF\u7684\u5DE5\u4F5C\u8868\u3002",confirmDelete:"\u662F\u5426\u5220\u9664",redoDelete:"\u53EF\u4EE5\u901A\u8FC7Ctrl+Z\u64A4\u9500\u5220\u9664",noHide:"\u4E0D\u80FD\u9690\u85CF, \u81F3\u5C11\u4FDD\u7559\u4E00\u4E2Asheet\u6807\u7B7E",chartEditNoOpt:"\u56FE\u8868\u7F16\u8F91\u6A21\u5F0F\u4E0B\u4E0D\u5141\u8BB8\u8BE5\u64CD\u4F5C\uFF01",sheetNameSpecCharError:`\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC731\u4E2A\u5B57\u7B26\uFF0C\u9996\u5C3E\u4E0D\u80FD\u662F' \u4E14\u540D\u79F0\u4E0D\u80FD\u5305\u542B:\r
[ ] : \\ ? * /`,sheetNamecannotIsEmptyError:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A!"},conditionformat:{conditionformat_greaterThan:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u5927\u4E8E",conditionformat_greaterThan_title:"\u4E3A\u5927\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_lessThan:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u5C0F\u4E8E",conditionformat_lessThan_title:"\u4E3A\u5C0F\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_betweenness:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u4ECB\u4E8E",conditionformat_betweenness_title:"\u4E3A\u4ECB\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_equal:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u7B49\u4E8E",conditionformat_equal_title:"\u4E3A\u7B49\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_textContains:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u6587\u672C\u5305\u542B",conditionformat_textContains_title:"\u4E3A\u5305\u542B\u4EE5\u4E0B\u6587\u672C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_occurrenceDate:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u53D1\u751F\u65E5\u671F",conditionformat_occurrenceDate_title:"\u4E3A\u5305\u542B\u4EE5\u4E0B\u65E5\u671F\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_duplicateValue:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u91CD\u590D\u503C",conditionformat_duplicateValue_title:"\u4E3A\u5305\u542B\u4EE5\u4E0B\u7C7B\u578B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_top10:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u524D 10 \u9879",conditionformat_top10_percent:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u524D 10%",conditionformat_top10_title:"\u4E3A\u503C\u6700\u5927\u7684\u90A3\u4E9B\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_last10:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u540E 10 \u9879",conditionformat_last10_percent:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u540E 10%",conditionformat_last10_title:"\u4E3A\u503C\u6700\u5C0F\u7684\u90A3\u4E9B\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_AboveAverage:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u9AD8\u4E8E\u5E73\u5747\u503C",conditionformat_AboveAverage_title:"\u4E3A\u9AD8\u4E8E\u5E73\u5747\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_SubAverage:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u4F4E\u4E8E\u5E73\u5747\u503C",conditionformat_SubAverage_title:"\u4E3A\u4F4E\u4E8E\u5E73\u5747\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",rule:"\u89C4\u5219",newRule:"\u65B0\u5EFA\u89C4\u5219",editRule:"\u7F16\u8F91\u89C4\u5219",deleteRule:"\u5220\u9664\u89C4\u5219",deleteCellRule:"\u6E05\u9664\u6240\u9009\u5355\u5143\u683C\u7684\u89C4\u5219",deleteSheetRule:"\u6E05\u9664\u6574\u4E2A\u5DE5\u4F5C\u8868\u7684\u89C4\u5219",manageRules:"\u7BA1\u7406\u89C4\u5219",showRules:"\u663E\u793A\u5176\u683C\u5F0F\u89C4\u5219",highlightCellRules:"\u7A81\u51FA\u663E\u793A\u5355\u5143\u683C\u89C4\u5219",itemSelectionRules:"\u9879\u76EE\u9009\u53D6\u89C4\u5219",conditionformatManageRules:"\u6761\u4EF6\u683C\u5F0F\u89C4\u5219\u7BA1\u7406\u5668",format:"\u683C\u5F0F",setFormat:"\u8BBE\u7F6E\u683C\u5F0F",setAs:"\u8BBE\u7F6E\u4E3A",setAsByArea:"\u9488\u5BF9\u9009\u5B9A\u533A\u57DF\uFF0C\u8BBE\u7F6E\u4E3A",applyRange:"\u5E94\u7528\u8303\u56F4",selectRange:"\u70B9\u51FB\u9009\u62E9\u5E94\u7528\u8303\u56F4",selectRange_percent:"\u6240\u9009\u8303\u56F4\u7684\u767E\u5206\u6BD4",selectRange_average:"\u9009\u5B9A\u8303\u56F4\u7684\u5E73\u5747\u503C",selectRange_value:"\u9009\u5B9A\u8303\u56F4\u4E2D\u7684\u6570\u503C",pleaseSelectRange:"\u8BF7\u9009\u62E9\u5E94\u7528\u8303\u56F4",selectDataRange:"\u70B9\u51FB\u9009\u62E9\u6570\u636E\u8303\u56F4",selectCell:"\u9009\u62E9\u5355\u5143\u683C",pleaseSelectCell:"\u8BF7\u9009\u62E9\u5355\u5143\u683C",pleaseSelectADate:"\u8BF7\u9009\u62E9\u65E5\u671F",pleaseEnterInteger:"\u8BF7\u8F93\u5165\u4E00\u4E2A\u4ECB\u4E8E 1 \u548C 1000 \u4E4B\u95F4\u7684\u6574\u6570",onlySingleCell:"\u53EA\u80FD\u5BF9\u5355\u4E2A\u5355\u5143\u683C\u8FDB\u884C\u5F15\u7528",conditionValueCanOnly:"\u6761\u4EF6\u503C\u53EA\u80FD\u662F\u6570\u5B57\u6216\u8005\u5355\u4E2A\u5355\u5143\u683C",ruleTypeItem1:"\u57FA\u4E8E\u5404\u81EA\u503C\u8BBE\u7F6E\u6240\u6709\u5355\u5143\u683C\u7684\u683C\u5F0F",ruleTypeItem2:"\u53EA\u4E3A\u5305\u542B\u4EE5\u4E0B\u5185\u5BB9\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem2_title:"\u53EA\u4E3A\u6EE1\u8DB3\u4EE5\u4E0B\u6761\u4EF6\u7684\u5355\u5143\u683C",ruleTypeItem3:"\u4EC5\u5BF9\u6392\u540D\u9760\u524D\u6216\u9760\u540E\u7684\u6570\u503C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem3_title:"\u4E3A\u4EE5\u4E0B\u6392\u540D\u5185\u7684\u503C",ruleTypeItem4:"\u4EC5\u5BF9\u9AD8\u4E8E\u6216\u4F4E\u4E8E\u5E73\u5747\u503C\u7684\u6570\u503C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem4_title:"\u4E3A\u6EE1\u8DB3\u4EE5\u4E0B\u6761\u4EF6\u7684\u503C",ruleTypeItem5:"\u4EC5\u5BF9\u552F\u4E00\u503C\u6216\u91CD\u590D\u503C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem6:"\u4F7F\u7528\u516C\u5F0F\u786E\u5B9A\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u5355\u5143\u683C",formula:"\u516C\u5F0F",textColor:"\u6587\u672C\u989C\u8272",cellColor:"\u5355\u5143\u683C\u989C\u8272",confirm:"\u786E\u5B9A",confirmColor:"\u786E\u5B9A\u989C\u8272",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",clearColorSelect:"\u6E05\u9664\u989C\u8272\u9009\u62E9",sheet:"\u8868",currentSheet:"\u5F53\u524D\u5DE5\u4F5C\u8868",dataBar:"\u6570\u636E\u6761",dataBarColor:"\u6570\u636E\u6761\u989C\u8272",gradientDataBar_1:"\u84DD-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_2:"\u7EFF-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_3:"\u7EA2-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_4:"\u6A59-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_5:"\u6D45\u84DD-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_6:"\u7D2B-\u767D\u6E10\u53D8\u6570\u636E\u6761",solidColorDataBar_1:"\u84DD\u8272\u6570\u636E\u6761",solidColorDataBar_2:"\u7EFF\u8272\u6570\u636E\u6761",solidColorDataBar_3:"\u7EA2\u8272\u6570\u636E\u6761",solidColorDataBar_4:"\u6A59\u8272\u6570\u636E\u6761",solidColorDataBar_5:"\u6D45\u84DD\u8272\u6570\u636E\u6761",solidColorDataBar_6:"\u7D2B\u8272\u6570\u636E\u6761",colorGradation:"\u8272\u9636",colorGradation_1:"\u7EFF-\u9EC4-\u7EA2\u8272\u9636",colorGradation_2:"\u7EA2-\u9EC4-\u7EFF\u8272\u9636",colorGradation_3:"\u7EFF-\u767D-\u7EA2\u8272\u9636",colorGradation_4:"\u7EA2-\u767D-\u7EFF\u8272\u9636",colorGradation_5:"\u84DD-\u767D-\u7EA2\u8272\u9636",colorGradation_6:"\u7EA2-\u767D-\u84DD\u8272\u9636",colorGradation_7:"\u767D-\u7EA2\u8272\u9636",colorGradation_8:"\u7EA2-\u767D\u8272\u9636",colorGradation_9:"\u7EFF-\u767D\u8272\u9636",colorGradation_10:"\u767D-\u7EFF\u8272\u9636",colorGradation_11:"\u7EFF-\u9EC4\u8272\u9636",colorGradation_12:"\u9EC4-\u7EFF\u8272\u9636",icons:"\u56FE\u6807\u96C6",pleaseSelectIcon:"\u8BF7\u70B9\u51FB\u9009\u62E9\u4E00\u7EC4\u56FE\u6807\uFF1A",cellValue:"\u5355\u5143\u683C\u503C",specificText:"\u7279\u5B9A\u6587\u672C",occurrence:"\u53D1\u751F\u65E5\u671F",greaterThan:"\u5927\u4E8E",lessThan:"\u5C0F\u4E8E",between:"\u4ECB\u4E8E",equal:"\u7B49\u4E8E",in:"\u548C",to:"\u5230",between2:"\u4E4B\u95F4",contain:"\u5305\u542B",textContains:"\u6587\u672C\u5305\u542B",duplicateValue:"\u91CD\u590D\u503C",uniqueValue:"\u552F\u4E00\u503C",top:"\u524D",top10:"\u524D 10 \u9879",top10_percent:"\u524D 10%",last:"\u540E",last10:"\u540E 10 \u9879",last10_percent:"\u540E 10%",oneself:"\u4E2A",above:"\u9AD8\u4E8E",aboveAverage:"\u9AD8\u4E8E\u5E73\u5747\u503C",below:"\u4F4E\u4E8E",belowAverage:"\u4F4E\u4E8E\u5E73\u5747\u503C",all:"\u5168\u90E8",yesterday:"\u6628\u5929",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",lastWeek:"\u4E0A\u5468",thisWeek:"\u672C\u5468",lastMonth:"\u4E0A\u6708",thisMonth:"\u672C\u6708",lastYear:"\u53BB\u5E74",thisYear:"\u672C\u5E74",last7days:"\u6700\u8FD17\u5929",last30days:"\u6700\u8FD130\u5929",next7days:"\u672A\u67657\u5929",next30days:"\u672A\u676530\u5929",next60days:"\u672A\u676560\u5929",chooseRuleType:"\u9009\u62E9\u89C4\u5219\u7C7B\u578B",editRuleDescription:"\u7F16\u8F91\u89C4\u5219\u8BF4\u660E",newFormatRule:"\u65B0\u5EFA\u683C\u5F0F\u89C4\u5219",editFormatRule:"\u7F16\u8F91\u683C\u5F0F\u89C4\u5219",formatStyle:"\u683C\u5F0F\u6837\u5F0F",fillType:"\u586B\u5145\u7C7B\u578B",color:"\u989C\u8272",twocolor:"\u53CC\u8272",tricolor:"\u4E09\u8272",multicolor:"\u5F69\u8272",grayColor:"\u7070\u8272",gradient:"\u6E10\u53D8",solid:"\u5B9E\u5FC3",maxValue:"\u6700\u5927\u503C",medianValue:"\u4E2D\u95F4\u503C",minValue:"\u6700\u5C0F\u503C",direction:"\u65B9\u5411",threeWayArrow:"\u4E09\u5411\u7BAD\u5934",fourWayArrow:"\u56DB\u5411\u7BAD\u5934",fiveWayArrow:"\u4E94\u5411\u7BAD\u5934",threeTriangles:"3\u4E2A\u4E09\u89D2\u5F62",shape:"\u5F62\u72B6",threeColorTrafficLight:"\u4E09\u8272\u4EA4\u901A\u706F",fourColorTrafficLight:"\u56DB\u8272\u4EA4\u901A\u706F",threeSigns:"\u4E09\u6807\u5FD7",greenRedBlackGradient:"\u7EFF-\u7EA2-\u9ED1\u6E10\u53D8",rimless:"\u65E0\u8FB9\u6846",bordered:"\u6709\u8FB9\u6846",mark:"\u6807\u8BB0",threeSymbols:"\u4E09\u4E2A\u7B26\u53F7",tricolorFlag:"\u4E09\u8272\u65D7",circled:"\u6709\u5706\u5708",noCircle:"\u65E0\u5706\u5708",grade:"\u7B49\u7EA7",grade4:"\u56DB\u7B49\u7EA7",grade5:"\u4E94\u7B49\u7EA7",threeStars:"3\u4E2A\u661F\u5F62",fiveQuadrantDiagram:"\u4E94\u8C61\u9650\u56FE",fiveBoxes:"5\u4E2A\u6846"},insertLink:{linkText:"\u6587\u672C",linkType:"\u94FE\u63A5\u7C7B\u578B",external:"\u5916\u90E8\u94FE\u63A5",internal:"\u5185\u90E8\u94FE\u63A5",linkAddress:"\u94FE\u63A5\u5730\u5740",linkSheet:"\u5DE5\u4F5C\u8868",linkCell:"\u5355\u5143\u683C\u5F15\u7528",linkTooltip:"\u63D0\u793A",placeholder1:"\u8BF7\u8F93\u5165\u7F51\u9875\u94FE\u63A5\u5730\u5740",placeholder2:"\u8BF7\u8F93\u5165\u8981\u5F15\u7528\u7684\u5355\u5143\u683C\uFF0C\u4F8BA1",placeholder3:"\u8BF7\u8F93\u5165\u63D0\u793A\u5185\u5BB9",tooltipInfo1:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u94FE\u63A5",tooltipInfo2:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u5355\u5143\u683C\u5F15\u7528"},dataVerification:{cellRange:"\u5355\u5143\u683C\u8303\u56F4",selectCellRange:"\u70B9\u51FB\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4",selectCellRange2:"\u8BF7\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4",verificationCondition:"\u9A8C\u8BC1\u6761\u4EF6",allowMultiSelect:"\u662F\u5426\u5141\u8BB8\u591A\u9009",dropdown:"\u4E0B\u62C9\u5217\u8868",checkbox:"\u590D\u9009\u6846",number:"\u6570\u5B57",number_integer:"\u6570\u5B57-\u6574\u6570",number_decimal:"\u6570\u5B57-\u5C0F\u6570",text_content:"\u6587\u672C-\u5185\u5BB9",text_length:"\u6587\u672C-\u957F\u5EA6",date:"\u65E5\u671F",validity:"\u6709\u6548\u6027",placeholder1:"\u8BF7\u8F93\u5165\u9009\u9879\uFF0C\u4EE5\u82F1\u6587\u9017\u53F7\u5206\u9694\uFF0C\u59821,2,3,4,5",placeholder2:"\u8BF7\u8F93\u5165\u5185\u5BB9",placeholder3:"\u6570\u503C\uFF0C\u598210",placeholder4:"\u8BF7\u8F93\u5165\u6307\u5B9A\u7684\u6587\u672C",placeholder5:"\u8BF7\u8F93\u5165\u9009\u4E2D\u5355\u5143\u683C\u65F6\u663E\u793A\u7684\u63D0\u793A\u8BED",selected:"\u9009\u62E9\u65F6",notSelected:"\u672A\u9009\u62E9",between:"\u4ECB\u4E8E",notBetween:"\u4E0D\u4ECB\u4E8E",equal:"\u7B49\u4E8E",notEqualTo:"\u4E0D\u7B49\u4E8E",moreThanThe:"\u5927\u4E8E",lessThan:"\u5C0F\u4E8E",greaterOrEqualTo:"\u5927\u4E8E\u7B49\u4E8E",lessThanOrEqualTo:"\u5C0F\u4E8E\u7B49\u4E8E",include:"\u5305\u62EC",exclude:"\u4E0D\u5305\u62EC",earlierThan:"\u65E9\u4E8E",noEarlierThan:"\u4E0D\u65E9\u4E8E",laterThan:"\u665A\u4E8E",noLaterThan:"\u4E0D\u665A\u4E8E",identificationNumber:"\u8EAB\u4EFD\u8BC1\u53F7\u7801",phoneNumber:"\u624B\u673A\u53F7",remote:"\u81EA\u52A8\u8FDC\u7A0B\u83B7\u53D6\u9009\u9879",prohibitInput:"\u8F93\u5165\u6570\u636E\u65E0\u6548\u65F6\u7981\u6B62\u8F93\u5165",hintShow:"\u9009\u4E2D\u5355\u5143\u683C\u65F6\u663E\u793A\u63D0\u793A\u8BED",deleteVerification:"\u5220\u9664\u9A8C\u8BC1",tooltipInfo1:"\u4E0B\u62C9\u5217\u8868\u9009\u9879\u4E0D\u53EF\u4E3A\u7A7A",tooltipInfo2:"\u590D\u9009\u6846\u5185\u5BB9\u4E0D\u53EF\u4E3A\u7A7A",tooltipInfo3:"\u8F93\u5165\u7684\u503C\u4E0D\u662F\u6570\u503C\u7C7B\u578B",tooltipInfo4:"\u6570\u503C2\u4E0D\u80FD\u5C0F\u4E8E\u6570\u503C1",tooltipInfo5:"\u6587\u672C\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",tooltipInfo6:"\u8F93\u5165\u7684\u503C\u4E0D\u662F\u65E5\u671F\u7C7B\u578B",tooltipInfo7:"\u65E5\u671F2\u4E0D\u80FD\u5C0F\u4E8E\u65E5\u671F1"},formula:{sum:"\u6C42\u548C",average:"\u5E73\u5747\u503C",count:"\u8BA1\u6570",max:"\u6700\u5927\u503C",min:"\u6700\u5C0F\u503C",ifGenerate:"if\u516C\u5F0F\u751F\u6210\u5668",find:"\u66F4\u591A\u51FD\u6570",tipNotBelongToIf:"\u8BE5\u5355\u5143\u683C\u51FD\u6570\u4E0D\u5C5E\u4E8Eif\u516C\u5F0F\uFF01",tipSelectCell:"\u8BF7\u9009\u62E9\u5355\u5143\u683C\u63D2\u5165\u51FD\u6570",ifGenCompareValueTitle:"\u6BD4\u8F83\u503C",ifGenSelectCellTitle:"\u70B9\u51FB\u9009\u62E9\u5355\u5143\u683C",ifGenRangeTitle:"\u8303\u56F4",ifGenRangeTo:"\u81F3",ifGenRangeEvaluate:"\u8303\u56F4\u8BC4\u4F30",ifGenSelectRangeTitle:"\u70B9\u51FB\u9009\u62E9\u8303\u56F4",ifGenCutWay:"\u5212\u5206\u65B9\u5F0F",ifGenCutSame:"\u5212\u5206\u503C\u76F8\u540C",ifGenCutNpiece:"\u5212\u5206\u4E3AN\u4EFD",ifGenCutCustom:"\u81EA\u5B9A\u4E49\u8F93\u5165",ifGenCutConfirm:"\u751F\u6210",ifGenTipSelectCell:"\u9009\u62E9\u5355\u5143\u683C",ifGenTipSelectCellPlace:"\u8BF7\u9009\u62E9\u5355\u5143\u683C",ifGenTipSelectRange:"\u9009\u62E9\u5355\u8303\u56F4",ifGenTipSelectRangePlace:"\u8BF7\u9009\u62E9\u8303\u56F4",ifGenTipNotNullValue:"\u6BD4\u8F83\u503C\u4E0D\u80FD\u4E3A\u7A7A\uFF01",ifGenTipLableTitile:"\u6807\u7B7E",ifGenTipRangeNotforNull:"\u8303\u56F4\u4E0D\u80FD\u4E3A\u7A7A\uFF01",ifGenTipCutValueNotforNull:"\u5212\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A\uFF01",ifGenTipNotGenCondition:"\u6CA1\u6709\u751F\u6210\u53EF\u7528\u7684\u6761\u4EF6\uFF01"},formulaMore:{valueTitle:"\u503C",tipSelectDataRange:"\u9009\u53D6\u6570\u636E\u8303\u56F4",tipDataRangeTile:"\u6570\u636E\u8303\u56F4",findFunctionTitle:"\u67E5\u627E\u51FD\u6570",tipInputFunctionName:"\u8BF7\u8F93\u5165\u60A8\u8981\u67E5\u627E\u7684\u51FD\u6570\u540D\u79F0\u6216\u51FD\u6570\u529F\u80FD\u7684\u7B80\u8981\u63CF\u8FF0",Array:"\u6570\u7EC4",Database:"\u6570\u636E\u6E90",Date:"\u65E5\u671F",Engineering:"\u5DE5\u7A0B\u8BA1\u7B97",Filter:"\u8FC7\u6EE4\u5668",Financial:"\u8D22\u52A1",luckysheet:"Luckysheet\u5185\u7F6E",other:"\u5176\u5B83",Logical:"\u903B\u8F91",Lookup:"\u67E5\u627E",Math:"\u6570\u5B66",Operator:"\u8FD0\u7B97\u7B26",Parser:"\u8F6C\u6362\u5DE5\u5177",Statistical:"\u7EDF\u8BA1",Text:"\u6587\u672C",dataMining:"\u6570\u636E\u6316\u6398",selectFunctionTitle:"\u9009\u62E9\u51FD\u6570",calculationResult:"\u8BA1\u7B97\u7ED3\u679C",tipSuccessText:"\u6210\u529F",tipParamErrorText:"\u53C2\u6570\u7C7B\u578B\u9519\u8BEF",helpClose:"\u5173\u95ED",helpCollapse:"\u6536\u8D77",helpExample:"\u793A\u4F8B",helpAbstract:"\u6458\u8981",execfunctionError:'\u63D0\u793A", "\u516C\u5F0F\u5B58\u5728\u9519\u8BEF',execfunctionSelfError:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5355\u5143\u683C",execfunctionSelfErrorResult:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5355\u5143\u683C\uFF0C\u4F1A\u5BFC\u81F4\u8BA1\u7B97\u7ED3\u679C\u4E0D\u51C6\u786E",allowRepeatText:"\u53EF\u91CD\u590D",allowOptionText:"\u53EF\u9009",selectCategory:"\u6216\u9009\u62E9\u7C7B\u522B"},drag:{noMerge:"\u65E0\u6CD5\u5BF9\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C",affectPivot:"\u65E0\u6CD5\u5BF9\u6240\u9009\u5355\u5143\u683C\u8FDB\u884C\u6B64\u66F4\u6539\uFF0C\u56E0\u4E3A\u5B83\u4F1A\u5F71\u54CD\u6570\u636E\u900F\u89C6\u8868\uFF01",noMulti:"\u65E0\u6CD5\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C,\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF",noPaste:"\u65E0\u6CD5\u5728\u6B64\u5904\u7C98\u8D34\u6B64\u5185\u5BB9\uFF0C\u8BF7\u9009\u62E9\u7C98\u8D34\u533A\u57DF\u7684\u4E00\u4E2A\u5355\u5143\u683C\uFF0C\u7136\u540E\u518D\u6B21\u5C1D\u8BD5\u7C98\u8D34",noPartMerge:"\u65E0\u6CD5\u5BF9\u90E8\u5206\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C",inputCorrect:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6570\u503C",notLessOne:"\u884C\u5217\u6570\u4E0D\u80FD\u5C0F\u4E8E1",offsetColumnLessZero:"\u504F\u79FB\u5217\u4E0D\u80FD\u4E3A\u8D1F\u6570\uFF01",pasteMustKeybordAlert:"Copy and paste in the Sheet: Ctrl + C to copy, Ctrl + V to paste, Ctrl + X to cut",pasteMustKeybordAlertHTMLTitle:"Copy and paste in the Sheet",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;to copy<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;to paste<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;to cut"},pivotTable:{title:"\u6570\u636E\u900F\u89C6\u8868",closePannel:"\u5173\u95ED",editRange:"\u7F16\u8F91\u8303\u56F4",tipPivotFieldSelected:"\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u5230\u6570\u636E\u900F\u89C6\u8868\u7684\u5B57\u6BB5",tipClearSelectedField:"\u6E05\u9664\u6240\u6709\u5DF2\u9009\u5B57\u6BB5",btnClearSelectedField:"\u6E05\u9664",btnFilter:"\u7B5B\u9009",titleRow:"\u884C",titleColumn:"\u5217",titleValue:"\u6570\u503C",tipShowColumn:"\u7EDF\u8BA1\u5B57\u6BB5\u663E\u793A\u4E3A\u5217",tipShowRow:"\u7EDF\u8BA1\u5B57\u6BB5\u663E\u793A\u4E3A\u884C",titleSelectionDataRange:"\u9009\u53D6\u6570\u636E\u8303\u56F4",titleDataRange:"\u6570\u636E\u8303\u56F4",valueSum:"\u603B\u8BA1",valueStatisticsSUM:"\u6C42\u548C",valueStatisticsCOUNT:"\u6570\u503C\u8BA1\u6570",valueStatisticsCOUNTA:"\u8BA1\u6570",valueStatisticsCOUNTUNIQUE:"\u53BB\u91CD\u8BA1\u6570",valueStatisticsAVERAGE:"\u5E73\u5747\u503C",valueStatisticsMAX:"\u6700\u5927\u503C",valueStatisticsMIN:"\u6700\u5C0F\u503C",valueStatisticsMEDIAN:"\u4E2D\u4F4D\u6570",valueStatisticsPRODUCT:"\u4E58\u79EF",valueStatisticsSTDEV:"\u6807\u51C6\u5DEE",valueStatisticsSTDEVP:"\u6574\u4F53\u6807\u51C6\u5DEE",valueStatisticslet:"\u65B9\u5DEE",valueStatisticsVARP:"\u6574\u4F53\u65B9\u5DEE",errorNotAllowEdit:"\u975E\u7F16\u8F91\u6A21\u5F0F\u4E0B\u7981\u6B62\u8BE5\u64CD\u4F5C\uFF01",errorNotAllowMulti:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",errorSelectRange:"\u8BF7\u9009\u62E9\u65B0\u5EFA\u900F\u89C6\u8868\u7684\u533A\u57DF",errorIsDamage:"\u6B64\u6570\u636E\u900F\u89C6\u8868\u7684\u6E90\u6570\u636E\u5DF2\u635F\u574F\uFF01",errorNotAllowPivotData:"\u4E0D\u53EF\u9009\u62E9\u6570\u636E\u900F\u89C6\u8868\u4E3A\u6E90\u6570\u636E\uFF01",errorSelectionRange:"\u9009\u62E9\u5931\u8D25, \u8F93\u5165\u8303\u56F4\u9519\u8BEF\uFF01",errorIncreaseRange:"\u8BF7\u6269\u5927\u9009\u62E9\u7684\u6570\u636E\u8303\u56F4!",titleAddColumn:"\u6DFB\u52A0\u5217\u5230\u6570\u636E\u900F\u89C6\u8868",titleMoveColumn:"\u79FB\u52A8\u8BE5\u5217\u5230\u4E0B\u65B9\u767D\u6846",titleClearColumnFilter:"\u6E05\u9664\u8BE5\u5217\u7684\u7B5B\u9009\u6761\u4EF6",titleFilterColumn:"\u7B5B\u9009\u8BE5\u5217",titleSort:"\u6392\u5E8F",titleNoSort:"\u65E0\u6392\u5E8F",titleSortAsc:"\u5347\u5E8F",titleSortDesc:"\u964D\u5E8F",titleSortBy:"\u6392\u5E8F\u4F9D\u636E",titleShowSum:"\u663E\u793A\u603B\u8BA1",titleStasticTrue:"\u662F",titleStasticFalse:"\u5426"},dropCell:{copyCell:"\u590D\u5236\u5355\u5143\u683C",sequence:"\u586B\u5145\u5E8F\u5217",onlyFormat:"\u4EC5\u586B\u5145\u683C\u5F0F",noFormat:"\u4E0D\u5E26\u683C\u5F0F\u586B\u5145",day:"\u4EE5\u5929\u6570\u586B\u5145",workDay:"\u4EE5\u5DE5\u4F5C\u65E5\u586B\u5145",month:"\u4EE5\u6708\u586B\u5145",year:"\u4EE5\u5E74\u586B\u5145",chineseNumber:"\u4EE5\u4E2D\u6587\u5C0F\u5199\u6570\u5B57\u586B\u5145"},imageCtrl:{borderTile:"\u56FE\u7247\u8FB9\u6846\u989C\u8272\u9009\u62E9",borderCur:"\u5F53\u524D\u989C\u8272"},protection:{protectiontTitle:"\u4FDD\u62A4\u5DE5\u4F5C\u8868",enterPassword:"\u8BF7\u8F93\u5165\u5BC6\u7801\uFF08\u53EF\u7559\u7A7A\uFF09",enterHint:"\u60A8\u8BD5\u56FE\u66F4\u6539\u7684\u5355\u5143\u683C\u6216\u56FE\u8868\u4F4D\u4E8E\u53D7\u4FDD\u62A4\u7684\u5DE5\u4F5C\u8868\u4E2D\u3002\u82E5\u8981\u66F4\u6539\uFF0C\u8BF7\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u62A4\u3002\u60A8\u53EF\u80FD\u9700\u8981\u8F93\u5165\u5BC6\u7801",swichProtectionTip:"\u4FDD\u62A4\u5DE5\u4F5C\u8868\u53CA\u9501\u5B9A\u7684\u5355\u5143\u683C\u5185\u5BB9",authorityTitle:"\u5141\u8BB8\u6B64\u5DE5\u4F5C\u8868\u7684\u7528\u6237\u8FDB\u884C:",selectLockedCells:"\u9009\u5B9A\u9501\u5B9A\u5355\u5143\u683C",selectunLockedCells:"\u9009\u5B9A\u89E3\u9664\u9501\u5B9A\u7684\u5355\u5143\u683C",formatCells:"\u8BBE\u7F6E\u5355\u5143\u683C\u683C\u5F0F",formatColumns:"\u8BBE\u7F6E\u5217\u683C\u5F0F",formatRows:"\u8BBE\u7F6E\u884C\u683C\u5F0F",insertColumns:"\u63D2\u5165\u5217",insertRows:"\u63D2\u5165\u884C",insertHyperlinks:"\u63D2\u5165\u8D85\u94FE\u63A5",deleteColumns:"\u5220\u9664\u5217",deleteRows:"\u5220\u9664\u884C",sort:"\u6392\u5E8F",filter:"\u4F7F\u7528\u81EA\u52A8\u7B5B\u9009",usePivotTablereports:"\u4F7F\u7528\u6570\u636E\u900F\u89C6\u8868\u548C\u62A5\u8868",editObjects:"\u7F16\u8F91\u5BF9\u8C61",editScenarios:"\u7F16\u8F91\u65B9\u6848",allowRangeTitle:"\u5141\u8BB8\u7528\u6237\u7F16\u8F91\u533A\u57DF",allowRangeAdd:"\u65B0\u5EFA...",allowRangeAddTitle:"\u6807\u9898",allowRangeAddSqrf:"\u5F15\u7528\u5355\u5143\u683C",selectCellRange:"\u70B9\u51FB\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4",selectCellRangeHolder:"\u8BF7\u8F93\u5165\u5355\u5143\u683C\u8303\u56F4",allowRangeAddTitlePassword:"\u5BC6\u7801",allowRangeAddTitleHint:"\u63D0\u793A",allowRangeAddTitleHintTitle:"\u8BBE\u7F6E\u5BC6\u7801\u540E\uFF0C\u63D0\u793A\u7528\u6237\u8F93\u5165\u5BC6\u7801(\u53EF\u7559\u7A7A)",allowRangeAddtitleDefault:"\u8BF7\u8F93\u5165\u533A\u57DF\u540D\u79F0",rangeItemDblclick:"\u53CC\u51FB\u8FDB\u884C\u7F16\u8F91",rangeItemHasPassword:"\u5DF2\u8BBE\u7F6E\u5BC6\u7801",rangeItemErrorTitleNull:"\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A",rangeItemErrorRangeNull:"\u5355\u5143\u683C\u8303\u56F4\u4E0D\u80FD\u4E3A\u7A7A",rangeItemErrorRange:"\u5355\u5143\u683C\u8303\u56F4\u683C\u5F0F\u9519\u8BEF",validationTitle:"\u9A8C\u8BC1\u63D0\u793A",validationTips:"\u9700\u8981\u8F93\u5165\u5BC6\u7801\u6765\u64A4\u9500\u5DE5\u4F5C\u8868\u7684\u4FDD\u62A4",validationInputHint:"\u8BF7\u8F93\u5165\u5BC6\u7801",checkPasswordNullalert:"\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF01",checkPasswordWrongalert:"\u5BC6\u7801\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5\uFF01",checkPasswordSucceedalert:"\u89E3\u9501\u6210\u529F\uFF0C\u53EF\u4EE5\u7F16\u8F91\u8BE5\u533A\u57DF!",defaultRangeHintText:"\u8BE5\u5355\u5143\u683C\u6B63\u5728\u53D7\u5BC6\u7801\u4FDD\u62A4\u3002",defaultSheetHintText:"\u8BE5\u5355\u5143\u683C\u6216\u56FE\u8868\u4F4D\u4E8E\u53D7\u4FDD\u62A4\u7684\u5DE5\u4F5C\u8868\u4E2D\uFF0C\u82E5\u8981\u8FDB\u884C\u66F4\u6539\uFF0C\u8BF7\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u62A4\uFF0C\u60A8\u53EF\u80FD\u9700\u8981\u8F93\u5165\u5BC6\u7801\u3002"},cellFormat:{cellFormatTitle:"\u8BBE\u7F6E\u5355\u5143\u683C\u683C\u5F0F",protection:"\u4FDD\u62A4",locked:"\u9501\u5B9A\u5355\u5143\u683C",hidden:"\u9690\u85CF\u516C\u5F0F",protectionTips:"\u53EA\u6709\u4FDD\u62A4\u5DE5\u4F5C\u8868\u529F\u80FD(\u5728\u83DC\u5355\u680F\u70B9\u51FB\u4FDD\u62A4\u5DE5\u4F5C\u8868\u6309\u94AE\u8FDB\u884C\u8BBE\u7F6E)\u5F00\u542F\u540E\uFF0C\u9501\u5B9A\u5355\u5143\u683C\u6216\u9690\u85CF\u516C\u5F0F\u624D\u80FD\u751F\u6548",tipsPart:"\u90E8\u5206\u9009\u4E2D",tipsAll:"\u5168\u90E8\u9009\u4E2D",selectionIsNullAlert:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u8303\u56F4\uFF01",sheetDataIsNullAlert:"\u6570\u636E\u4E3A\u7A7A\u65E0\u6CD5\u8BBE\u7F6E\uFF01"},print:{normalBtn:"\u5E38\u89C4\u89C6\u56FE",layoutBtn:"\u9875\u9762\u5E03\u5C40",pageBtn:"\u5206\u9875\u9884\u89C8",menuItemPrint:"\u6253\u5370(Ctrl+P)",menuItemAreas:"\u6253\u5370\u533A\u57DF",menuItemRows:"\u6253\u5370\u6807\u9898\u884C",menuItemColumns:"\u6253\u5370\u6807\u9898\u5217"},edit:{typing:"\u6B63\u5728\u8F93\u5165"},websocket:{success:"WebSocket\u8FDE\u63A5\u6210\u529F",refresh:"WebSocket\u8FDE\u63A5\u53D1\u751F\u9519\u8BEF, \u8BF7\u5237\u65B0\u9875\u9762\uFF01",wait:"WebSocket\u8FDE\u63A5\u53D1\u751F\u9519\u8BEF, \u8BF7\u8010\u5FC3\u7B49\u5F85\uFF01",close:"WebSocket\u8FDE\u63A5\u5173\u95ED",contact:"\u670D\u52A1\u5668\u901A\u4FE1\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u5237\u65B0\u9875\u9762\u540E\u518D\u8BD5\uFF0C\u5982\u82E5\u4E0D\u884C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01",support:"\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301WebSocket"}}});var nu,iu=Ae(()=>{nu={functionlist:[{n:"SUMIF",t:0,d:"Returns a conditional sum across a range.",a:"A conditional sum across a range.",m:[2,3],p:[{name:"range",detail:"The range which is tested against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion",detail:"The pattern or test to apply to `range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"sum_range",detail:"The range to be summed, if different from `range`.",example:"B1:B10",require:"o",repeat:"n",type:"range"}]},{n:"TAN",t:0,d:"Returns the tangent of an angle provided in radians.",a:"Tangent of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the tangent of, in radians.",example:"45*PI()/180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TANH",t:0,d:"Returns the hyperbolic tangent of any real number.",a:"Hyperbolic tangent of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic tangent of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CEILING",t:0,d:"Rounds a number up to the nearest integer multiple of specified significance `factor`.",a:"Rounds number up to nearest multiple of a factor.",m:[2,2],p:[{name:"value",detail:"The value to round up to the nearest integer multiple of `factor`.",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN",t:0,d:"Returns the inverse tangent of a value, in radians.",a:"Inverse tangent of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse tangent.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASINH",t:0,d:"Returns the inverse hyperbolic sine of a number.",a:"Inverse hyperbolic sine of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic sine.",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ABS",t:0,d:"Returns the absolute value of a number.",a:"Absolute value of a number.",m:[1,1],p:[{name:"value",detail:"The number of which to return the absolute value.",example:"-2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOS",t:0,d:"Returns the inverse cosine of a value, in radians.",a:"Inverse cosine of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse cosine. Must be between `-1` and `1`, inclusive.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOSH",t:0,d:"Returns the inverse hyperbolic cosine of a number.",a:"Inverse hyperbolic cosine of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic cosine. Must be greater than or equal to `1`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTINOMIAL",t:0,d:"Returns the factorial of the sum of values divided by the product of the values' factorials.",a:"Multinomial distribution function.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"ATANH",t:0,d:"Returns the inverse hyperbolic tangent of a number.",a:"Inverse hyperbolic tangent of a number.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic tangent. Must be between -1 and 1, exclusive.",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN2",t:0,d:"Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (`x`,`y`), in radians.",a:"Arctangent of a value.",m:[2,2],p:[{name:"x",detail:"The x coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"y",detail:"The y coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTBLANK",t:1,d:"Returns the number of empty values in a list of values and ranges.",a:"Number of empty values.",m:[1,1],p:[{name:"value1",detail:"The first value or range in which to count the number of blanks.",example:"A2:C100",require:"m",repeat:"n",type:"range"}]},{n:"COSH",t:0,d:"Returns the hyperbolic cosine of any real number.",a:"Hyperbolic cosine of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic cosine of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"INT",t:0,d:"Rounds a number down to the nearest integer that is less than or equal to it.",a:"Rounds number down to nearest integer.",m:[1,1],p:[{name:"value",detail:"The value to round down to the nearest integer.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISEVEN",t:0,d:"Checks whether the provided value is even.",a:"Whether the provided value is even.",m:[1,1],p:[{name:"value",detail:"The value to be verified as even.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISODD",t:0,d:"Checks whether the provided value is odd.",a:"Whether the provided value is odd.",m:[1,1],p:[{name:"value",detail:"The value to be verified as odd.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LCM",t:0,d:"Returns the least common multiple of one or more integers.",a:"Least common multiple of one or more integers.",m:[1,255],p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the least common multiple.",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the least common multiple.",example:"3",require:"o",repeat:"y",type:"rangeall"}]},{n:"LN",t:0,d:"Returns the logarithm of a number, base e (Euler's number).",a:"The logarithm of a number, base e (euler's number).",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the logarithm, base e.",example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOG",t:0,d:"Returns the logarithm of a number with respect to a base.",a:"The logarithm of a number with respect to a base.",m:[1,2],p:[{name:"value",detail:"The value for which to calculate the logarithm.",example:"128",require:"m",repeat:"n",type:"rangenumber"},{name:"base",detail:"The base to use for calculation of the logarithm.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"LOG10",t:0,d:"Returns the logarithm of a number, base 10.",a:"The logarithm of a number, base 10.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the logarithm, base 10.",example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MOD",t:0,d:"Returns the result of the modulo operator, the remainder after a division operation.",a:"Modulo (remainder) operator.",m:[2,2],p:[{name:"dividend",detail:"The number to be divided to find the remainder.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MROUND",t:0,d:"Rounds one number to the nearest integer multiple of another.",a:"Rounds a number to the nearest integer multiple.",m:[2,2],p:[{name:"value",detail:"The number to round to the nearest integer multiple of another.",example:"21",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ODD",t:0,d:"Rounds a number up to the nearest odd integer.",a:"Rounds a number up to the nearest odd integer.",m:[1,1],p:[{name:"value",detail:"The value to round to the next greatest odd number.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMSQ",t:0,d:"Returns the sum of the squares of a series of numbers and/or cells.",a:"Sum of squares.",m:[1,255],p:[{name:"value1",detail:"The first number or range whose squares to add together.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional numbers or ranges whose squares to add to the square(s) of `value1`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMBIN",t:0,d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects.",a:"Number of combinations from a set of objects.",m:[2,2],p:[{name:"n",detail:"The size of the pool of objects to choose from.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"The number of objects to choose.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUM",t:0,d:"Returns the sum of a series of numbers and/or cells.",a:"Sum of a series of numbers and/or cells.",m:[1,255],p:[{name:"value1",detail:"The first number or range to add together.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional numbers or ranges to add to `value1`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SUBTOTAL",t:0,d:"Returns a subtotal for a vertical range of cells using a specified aggregation function.",a:"Subtotal for a range using a specific function.",m:[2,256],p:[{name:"function_code",detail:"The function to use in subtotal aggregation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"range1",detail:"The first range over which to calculate a subtotal.",example:"A2:A5",require:"m",repeat:"n",type:"range"},{name:"range2",detail:"Additional ranges over which to calculate subtotals.",example:"B2:B8",require:"o",repeat:"y",type:"range"}]},{n:"ASIN",t:0,d:"Returns the inverse sine of a value, in radians.",a:"Inverse sine of a value, in radians.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse sine. Must be between `-1` and `1`, inclusive.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTIF",t:1,d:"Returns a conditional count across a range.",a:"A conditional count across a range.",m:[2,2],p:[{name:"range",detail:"The range that is tested against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion",detail:"The pattern or test to apply to `range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"RADIANS",t:0,d:"Converts an angle value in degrees to radians.",a:"Converts an angle value in degrees to radians.",m:[1,1],p:[{name:"angle",detail:"The angle to convert from degrees to radians.",example:"180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RAND",t:0,d:"Returns a random number between 0 inclusive and 1 exclusive.",a:"A random number between 0 inclusive and 1 exclusive.",m:[0,0],p:[]},{n:"COUNTUNIQUE",t:0,d:"Counts the number of unique values in a list of specified values and ranges.",a:"Counts number of unique values in a range.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider for uniqueness.",example:"A1:C100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider for uniqueness.",example:"1",require:"o",repeat:"n",type:"rangeall"}]},{n:"DEGREES",t:0,d:"Converts an angle value in radians to degrees.",a:"Converts an angle value in radians to degrees.",m:[1,1],p:[{name:"angle",detail:"The angle to convert from radians to degrees.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ERFC",t:9,d:"Returns the complementary Gauss error function of a value.",a:"Complementary gauss error function of a value.",m:[1,1],p:[{name:"z",detail:"The number for which to calculate the complementary Gauss error function.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EVEN",t:0,d:"Rounds a number up to the nearest even integer.",a:"Rounds a number up to the nearest even integer.",m:[1,1],p:[{name:"value",detail:"The value to round to the next greatest even number.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EXP",t:0,d:"Returns Euler's number, e (~2.718) raised to a power.",a:"Euler's number, e (~2.718) raised to a power.",m:[1,1],p:[{name:"exponent",detail:"The exponent to raise e to.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACT",t:0,d:"Returns the factorial of a number.",a:"Factorial of a number.",m:[1,1],p:[{name:"value",detail:"The number or reference to a number whose factorial will be calculated and returned.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACTDOUBLE",t:0,d:'Returns the "double factorial" of a number.',a:'"double factorial" of a number.',m:[1,1],p:[{name:"value",detail:"The number or reference to a number whose double factorial will be calculated and returned.",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PI",t:0,d:"Returns the value of Pi to 14 decimal places.",a:"The number pi.",m:[0,0],p:[]},{n:"FLOOR",t:0,d:"Rounds a number down to the nearest integer multiple of specified significance `factor`.",a:"Rounds number down to nearest multiple of a factor.",m:[2,2],p:[{name:"value",detail:"The value to round down to the nearest integer multiple of `factor`.",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The number to whose multiples `value` will be rounded.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GCD",t:0,d:"Returns the greatest common divisor of one or more integers.",a:"Greatest common divisor of one or more integers.",m:[1,255],p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the greatest common divisor.",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the greatest common divisor.",example:"96",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANDBETWEEN",t:0,d:"Returns a uniformly random integer between two values, inclusive.",a:"Random integer between two values, inclusive.",m:[2,2],p:[{name:"low",detail:"The low end of the random range.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"high",detail:"The high end of the random range.",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUND",t:0,d:"Rounds a number to a certain number of decimal places according to standard rules.",a:"Rounds a number according to standard rules.",m:[2,2],p:[{name:"value",detail:"The value to round to `places` number of places.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of decimal places to which to round.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDDOWN",t:0,d:"Rounds a number to a certain number of decimal places, always rounding down to the next valid increment.",a:"Rounds down a number.",m:[2,2],p:[{name:"value",detail:"The value to round to `places` number of places, always rounding down.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of decimal places to which to round.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDUP",t:0,d:"Rounds a number to a certain number of decimal places, always rounding up to the next valid increment.",a:"Rounds up a number.",m:[2,2],p:[{name:"value",detail:"The value to round to `places` number of places, always rounding up.",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of decimal places to which to round.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SERIESSUM",t:0,d:"Given parameters `x`, `n`, `m`, and `a`, returns the power series sum a",a:"Sum of a power series.",m:[4,4],p:[{name:"x",detail:"The input to the power series. Varies depending on the type of approximation, may be angle, exponent, or some other value.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:"The initial power to which to raise `x` in the power series.",example:"0",require:"m",repeat:"n",type:"rangenumber"},{name:"m",detail:"The additive increment by which to increase `x`.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"a",detail:"The array or range containing the coefficients of the power series.",example:"{FACT(0)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIGN",t:0,d:"Given an input number, returns `-1` if it is negative, `1` if positive, and `0` if it is zero.",a:"Sign of a provided number (+/-/0).",m:[1,1],p:[{name:"value",detail:"The value whose sign will be evaluated.",example:"-42",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIN",t:0,d:"Returns the sine of an angle provided in radians.",a:"Sine of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the sine of, in radians.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SINH",t:0,d:"Returns the hyperbolic sine of any real number.",a:"Hyperbolic sine of any real number.",m:[1,1],p:[{name:"value",detail:"Any real value to calculate the hyperbolic sine of.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRT",t:0,d:"Returns the positive square root of a positive number.",a:"Positive square root of a positive number.",m:[1,1],p:[{name:"value",detail:"The number for which to calculate the positive square root.",example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRTPI",t:0,d:"Returns the positive square root of the product of Pi and the given positive number.",a:"Square root of the product of pi and number.",m:[1,1],p:[{name:"value",detail:"The number which will be multiplied by Pi and have the product's square root returned",example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GAMMALN",t:1,d:"Returns the logarithm of a specified Gamma function, base e (Euler's number).",a:"Logarithm of gamma function.",m:[1,1],p:[{name:"value",detail:"The input to the Gamma function. The natural logarithm of Gamma(`value`) will be returned.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COS",t:0,d:"Returns the cosine of an angle provided in radians.",a:"Cosine of an angle provided in radians.",m:[1,1],p:[{name:"angle",detail:"The angle to find the cosine of, in radians.",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRUNC",t:0,d:"Truncates a number to a certain number of significant digits by omitting less significant digits.",a:"Truncates a number.",m:[1,2],p:[{name:"value",detail:"The value to be truncated.",example:"3.141592654",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:"The number of significant digits to the right of the decimal point to retain.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUOTIENT",t:0,d:"Returns one number divided by another.",a:"One number divided by another.",m:[2,2],p:[{name:"dividend",detail:"The number to be divided.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POWER",t:0,d:"Returns a number raised to a power.",a:"A number raised to a power.",m:[2,2],p:[{name:"base",detail:"The number to raise to the `exponent` power.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"exponent",detail:"The exponent to raise `base` to.",example:"0.5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMIFS",t:0,d:"Returns the sum of a range depending on multiple criteria.",a:"Sums a range depending on multiple criteria.",m:[3,257],p:[{name:"sum_range",detail:"The range to sum.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criteria_range1",detail:"The range to check against criterion1.",example:" B1:B10",require:"m",repeat:"n",type:"range"},{name:"criterion1",detail:"The pattern or test to apply to criteria_range1.",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2",detail:"Additional ranges to check.",example:" C1:C10",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTIFS",t:1,d:"Returns the count of a range depending on multiple criteria.",a:"Count values depending on multiple criteria.",m:[2,256],p:[{name:"criteria_range1",detail:"The range to check against `criterion1`.",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`.",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2",detail:"Additional ranges to check.",example:" B1:B10",require:"o",repeat:"y",type:"rangeall"}]},{n:"PRODUCT",t:0,d:"Returns the result of multiplying a series of numbers together.",a:"Result of multiplying a series of numbers together.",m:[1,255],p:[{name:"factor1",detail:"The first number or range to calculate for the product.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"factor2",detail:"More numbers or ranges to calculate for the product.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HARMEAN",t:1,d:"Calculates the harmonic mean of a dataset.",a:"The harmonic mean of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HYPGEOMDIST",t:1,d:"Calculates the probability of drawing a certain number of successes in a certain number of tries given a population of a certain size containing a certain number of successes, without replacement of draws.",a:"Hypergeometric distribution probability.",m:[5,5],p:[{name:"num_successes",detail:"The desired number of successes.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"num_draws",detail:"The number of permitted draws.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"successes_in_pop",detail:"The total number of successes in the population.",example:"20",require:"m",repeat:"n",type:"rangenumber"},{name:"pop_size",detail:"The total size of the population",example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If cumulative is TRUE(), HYPGEOM.DIST returns the cumulative distribution function;
if FALSE(), it returns the probability density function.`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"INTERCEPT",t:1,d:"Calculates the y-value at which the line resulting from linear regression of a dataset will intersect the y-axis (x=0).",a:"Y-intercept of line derived via linear regression.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"KURT",t:1,d:'Calculates the kurtosis of a dataset, which describes the shape, and in particular the "peakedness" of that dataset.',a:"Kurtosis of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the dataset.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the dataset.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LARGE",t:1,d:"Returns the nth largest element from a data set, where n is user-defined.",a:"Nth largest element from a data set.",m:[2,2],p:[{name:"data",detail:"Array or range containing the dataset to consider.",example:"A2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:"The rank from largest to smallest of the element to return.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STDEVA",t:1,d:"Calculates the standard deviation based on a sample, setting text to the value `0`.",a:"Standard deviation of sample (text as 0).",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STDEVP",t:1,d:"Calculates the standard deviation based on an entire population.",a:"Standard deviation of an entire population.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"GEOMEAN",t:1,d:"Calculates the geometric mean of a dataset.",a:"The geometric mean of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANK_EQ",t:1,d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the top rank of the entries will be returned.",a:"Top rank of a specified value in a dataset.",m:[2,3],p:[{name:"value",detail:"The value whose rank will be determined.",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE).",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANK_AVG",t:1,d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the average rank of the entries will be returned.",a:"Average rank of a specified value in a dataset.",m:[2,3],p:[{name:"value",detail:"The value whose rank will be determined.",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE).",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"PERCENTRANK_EXC",t:1,d:"Returns the percentage rank (percentile) from 0 to 1 exclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 exclusive.",m:[2,3],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value",detail:"The value whose percentage rank will be determined.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3.",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PERCENTRANK_INC",t:1,d:"Returns the percentage rank (percentile) from 0 to 1 inclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 inclusive.",m:[2,3],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value",detail:"The value whose percentage rank will be determined.",example:" A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3.",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FORECAST",t:1,d:"Calculates the expected y-value for a specified x based on a linear regression of a dataset.",a:"Expected y-value based of linear regression.",m:[3,3],p:[{name:"x",detail:"The value on the x-axis to forecast.",example:"A1",require:"m",repeat:"n",type:"rangenumber"},{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHERINV",t:1,d:"Returns the inverse Fisher transformation of a specified value.",a:"Inverse fisher transformation of a specified value.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the inverse Fisher transformation.",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHER",t:1,d:"Returns the Fisher transformation of a specified value.",a:"Fisher transformation of a specified value.",m:[1,1],p:[{name:"value",detail:"The value for which to calculate the Fisher transformation.",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MODE_SNGL",t:1,d:"Returns the most commonly occurring value in a dataset.",a:"Most commonly occurring value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating mode.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating mode.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"WEIBULL_DIST",t:1,d:"Returns the value of the Weibull distribution function (or Weibull cumulative distribution function) for a specified shape and scale.",a:"Weibull distribution function.",m:[4,4],p:[{name:"x",detail:"The input to the Weibull distribution function.",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"shape",detail:"The shape parameter of the Weibull distribution function.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"scale",detail:"The scale parameter of the Weibull distribution function.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the cumulative distribution function.",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"COUNT",t:1,d:"Returns the number of numeric values in a dataset.",a:"The number of numeric values in dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when counting.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when counting.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTA",t:1,d:"Returns the number of values in a dataset.",a:"The number of values in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when counting.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when counting.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVEDEV",t:1,d:"Calculates the average of the magnitudes of deviations of data from a dataset's mean.",a:"Average magnitude of deviations from mean.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"AVERAGE",t:1,d:"Returns the numerical average value in a dataset, ignoring text.",a:"Numerical average value in a dataset, ignoring text.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the average value.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVERAGEA",t:1,d:"Returns the numerical average value in a dataset.",a:"Numerical average value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the average value.",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value.",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"BINOM_DIST",t:1,d:"Calculates the probability of drawing a certain number of successes (or a maximum number of successes) in a certain number of tries given a population of a certain size containing a certain number of successes, with replacement of draws.",a:"Binomial distribution probability.",m:[4,4],p:[{name:"num_successes",detail:"The number of successes for which to calculate the probability in `num_trials` trials.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"num_trials",detail:"The number of independent trials.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"prob_success",detail:"The probability of success in any given trial.",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the binomial cumulative distribution.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"BINOM_INV",t:1,d:"Calculates the smallest value for which the cumulative binomial distribution is greater than or equal to a specified criteria.",a:"Inverse cumulative binomial distribution function.",m:[3,3],p:[{name:"num_trials",detail:"The number of independent trials.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"prob_success",detail:"The probability of success in any given trial.",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"target_prob",detail:"The desired threshold probability.",example:"0.8",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONFIDENCE_NORM",t:1,d:"Calculates the width of half the confidence interval for a normal distribution.",a:"Confidence interval for a normal distribution.",m:[3,3],p:[{name:"alpha",detail:"One minus the desired confidence level. E.g. `0.1` for `0.9`, or 90%, confidence.",example:"0.05",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation of the population.",example:"1.6",require:"m",repeat:"n",type:"rangenumber"},{name:"pop_size",detail:"The size of the population.",example:"250",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CORREL",t:1,d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_P",t:1,d:"Calculates the covariance of a dataset.",a:"The covariance of a dataset.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_S",t:1,d:"Calculates the sample covariance of a dataset.",a:"The sample covariance of a dataset.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DEVSQ",t:1,d:"Calculates the sum of squares of deviations based on a sample.",a:"The sum of squares of deviations based on a sample.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"EXPON_DIST",t:1,d:"Returns the value of the exponential distribution function with a specified lambda at a specified value.",a:"Exponential distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the exponential distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"lambda",detail:"The lambda to specify the exponential distribution function.",example:"0.5",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the exponential cumulative distribution.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIF",t:1,d:"Returns the average of a range depending on criteria.",a:"Average of values depending on criteria.",m:[2,3],p:[{name:"criteria_range",detail:"The range to check against `criterion`.",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion",detail:"The pattern or test to apply to `criteria_range`.",example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"average_range",detail:"The range to average. If not included, `criteria_range` is used for the average instead.",example:"B1:B10",require:"o",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIFS",t:1,d:"Returns the average of a range depending on multiple criteria.",a:"Average of values depending on multiple criteria.",m:[2,255],p:[{name:"average_range",detail:"The range to average.",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range1",detail:"The range to check against `criterion1`.",example:" B1:B10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`.",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2",detail:"Additional ranges to check.",example:" C1:C10",require:"m",repeat:"n",type:"rangeall"}]},{n:"PERMUT",t:1,d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects, considering order.",a:"Number of permutations from a number of objects.",m:[2,2],p:[{name:"n",detail:"The size of the pool of objects to choose from.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"The number of objects to choose.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRIMMEAN",t:1,d:"Calculates the mean of a dataset excluding some proportion of data from the high and low ends of the dataset.",a:"Mean of a dataset excluding high/low ends.",m:[2,2],p:[{name:"data",detail:"Array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"exclude_proportion",detail:"The proportion of the dataset to exclude, from the extremities of the set.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_EXC",t:1,d:"Returns the value at a given percentile of a dataset exclusive of 0 and 1.",a:"Value at a given percentile of a dataset exclusive of 0 and 1.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"percentile",detail:"The percentile, exclusive of 0 and 1, whose value within 'data' will be calculated and returned.",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_INC",t:1,d:"Returns the value at a given percentile of a dataset.",a:"Value at a given percentile of a dataset.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"percentile",detail:"The percentile whose value within `data` will be calculated and returned.`",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PEARSON",t:1,d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_INV",t:1,d:"Returns the value of the inverse standard normal distribution function for a specified value.",a:"Inverse standard normal distribution function.",m:[1,1],p:[{name:"x",detail:"The input to the inverse standard normal distribution function.",example:"0.75",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_DIST",t:1,d:"Returns the value of the standard normal cumulative distribution function for a specified value.",a:"Standard normal cumulative distribution function.",m:[2,2],p:[{name:"x",detail:"The input to the standard normal cumulative distribution function.",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If TRUE(), it returns the cumulative distribution function;
If it is FALSE(), it returns the probability density function.`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NORM_INV",t:1,d:"Returns the value of the inverse normal distribution function for a specified value, mean, and standard deviation.",a:"Inverse normal distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the inverse normal distribution function.",example:"0.75",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the normal distribution function.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_DIST",t:1,d:"Returns the value of the normal distribution function (or normal cumulative distribution function) for a specified value, mean, and standard deviation.",a:"Normal distribution function.",m:[4,4],p:[{name:"x",detail:"The input to the normal distribution function.",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the normal distribution function.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the normal cumulative distribution function rather than the distribution function.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NEGBINOM_DIST",t:1,d:"Calculates the probability of drawing a certain number of failures before a certain number of successes given a probability of success in independent trials.",a:"Negative binomial distribution probability.",m:[4,4],p:[{name:"num_failures",detail:"The number of failures to model.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"num_successes",detail:"The number of successes to model.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"prob_success",detail:"The probability of success in any given trial.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If TRUE(), it returns the cumulative distribution function;
If it is FALSE(), it returns the probability density function.`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINA",t:1,d:"Returns the minimum numeric value in a dataset.",a:"Minimum numeric value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MIN",t:1,d:"Returns the minimum value in a numeric dataset.",a:"Minimum value in a numeric dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MEDIAN",t:1,d:"Returns the median value in a numeric dataset.",a:"Median value in a numeric dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the median value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the median value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAXA",t:1,d:"Returns the maximum numeric value in a dataset.",a:"Maximum numeric value in a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAX",t:1,d:"Returns the maximum value in a numeric dataset.",a:"Maximum value in a numeric dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value.",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LOGNORM_INV",t:1,d:"Returns the value of the inverse log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Inverse log-normal cumulative distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the inverse log-normal cumulative distribution function.",example:"0.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the inverse log-normal cumulative distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the inverse log-normal cumulative distribution function.",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOGNORM_DIST",t:1,d:"Returns the value of the log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Log-normal cumulative distribution probability.",m:[4,4],p:[{name:"x",detail:"The input to the log-normal cumulative distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the log-normal cumulative distribution function.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation (sigma) of the log-normal cumulative distribution function.",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`Determine the logical value of the function form.
If TRUE(), it returns the cumulative distribution function;
If it is FALSE(), it returns the probability density function.`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"Z_TEST",t:1,d:"Returns the one-tailed p-value of a Z-test with standard distribution.",a:"One-tailed p-value of a z-test.",m:[2,3],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"value",detail:"The test statistic to use in the Z-test.",example:"B2",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation to assume for the Z-test. If this is not provided, the standard deviation of the data will be used.",example:"3",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PROB",t:1,d:"Given a set of values and corresponding probabilities, calculates the probability that a value chosen at random falls between two limits.",a:"Probability values lie in a range.",m:[3,4],p:[{name:"data",detail:"Array or range containing the dataset to consider.",example:"A3:A6",require:"m",repeat:"n",type:"range"},{name:"probabilities",detail:"Array or range containing probabilities corresponding to `data`.",example:"2",require:"m",repeat:"n",type:"range"},{name:"low_limit",detail:"The lower bound on the value range for which to calculate the probability.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"high_limit",detail:"The upper bound on the value range for which to calculate the probability.",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_EXC",t:1,d:"Returns a value nearest to a specified quartile of a dataset exclusive of 0 and 4.",a:"Value nearest to a specific quartile of a dataset exclusive of 0 and 4.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quartile_number",detail:"Which quartile to return.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_INC",t:1,d:"Returns a value nearest to a specified quartile of a dataset.",a:"Value nearest to a specific quartile of a dataset.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quartile_number",detail:"Which quartile value to return.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POISSON_DIST",t:1,d:"Returns the value of the Poisson distribution function (or Poisson cumulative distribution function) for a specified value and mean.",a:"Poisson distribution function.",m:[3,3],p:[{name:"x",detail:"The input to the Poisson distribution function.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean (mu) of the Poisson distribution function.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Whether to use the Poisson cumulative distribution function rather than the distribution function.",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"RSQ",t:1,d:"Calculates the square of r, the Pearson product-moment correlation coefficient of a dataset.",a:"Square of the correlation coefficient.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST",t:1,d:"Calculates the left tail probability for a Student's t-distribution with a given input (x).",a:"The left-tailed Student's t-distribution",m:[3,3],p:[{name:"x",detail:"The input to the t-distribution function.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"30",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"T_DIST_2T",t:1,d:"Calculates the probability for two tailed Student's t-distribution with a given input (x).",a:"The two tailed Student's t-distribution",m:[2,2],p:[{name:"x",detail:"The input to the t-distribution function.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST_RT",t:1,d:"Calculates the right tail probability for a Student's t-distribution with a given input (x).",a:"The right-tailed Student's t-distribution",m:[2,2],p:[{name:"x",detail:"The input to the t-distribution function.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV",t:1,d:"Calculates the negative inverse of the one-tailed TDIST function.",a:"T.INV",m:[2,2],p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution.",example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV_2T",t:1,d:"Calculates the inverse of the two-tailed TDIST function.",a:"T.INV.2T",m:[2,2],p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution.",example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"The number of degrees of freedom.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_TEST",t:1,d:"t-test. Returns the probability associated with Student's t-test. Determines whether two samples are likely to have come from the same two underlying populations that have the same mean.",a:"Returns the probability associated with t-test.",m:[4,4],p:[{name:"range1",detail:"The first sample of data or group of cells to consider for the t-test.",example:"A1:A4",require:"m",repeat:"n",type:"rangenumber"},{name:"range2",detail:"The second sample of data or group of cells to consider for the t-test.",example:"B1:B4",require:"m",repeat:"n",type:"rangenumber"},{name:"tails",detail:"Specifies the number of distribution tails.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:"Specifies the type of t-test.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"F_DIST",t:1,d:"Calculates the left-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution (left-tailed).",m:[4,4],p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function.",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom.",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"Logical value that determines the form of the function.",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"F_DIST_RT",t:1,d:"Calculates the right-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution.",m:[3,3],p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function.",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom.",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"VAR_P",t:1,d:"Calculates the variance based on an entire population.",a:"Variance of entire population.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VAR_S",t:1,d:"Calculates the variance based on a sample.",a:"Variance.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARA",t:1,d:"Calculates the variance based on a sample, setting text to the value `0`.",a:"Variance of sample (text as 0).",m:[1,255],p:[{name:"value1",detail:"The first value or range of the sample.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the sample.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARPA",t:1,d:"Calculates the variance based on an entire population, setting text to the value `0`.",a:"Variance of entire population (text as 0).",m:[1,255],p:[{name:"value1",detail:"The first value or range of the population.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"Additional values or ranges to include in the population.",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STEYX",t:1,d:"Calculates the standard error of the predicted y-value for each x in the regression of a dataset.",a:"Standard error of predicted y-values in regression.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STANDARDIZE",t:1,d:"Calculates the normalized equivalent of a random variable given mean and standard deviation of the distribution.",a:"Normalized equivalent of a random variable.",m:[3,3],p:[{name:"value",detail:"The value of the random variable to normalize.",example:"96",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"The mean of the distribution.",example:"80",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_deviation",detail:"The standard deviation of the distribution.",example:"6.7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SMALL",t:1,d:"Returns the nth smallest element from a data set, where n is user-defined.",a:"Nth smallest element in a data set.",m:[2,2],p:[{name:"data",detail:"The array or range containing the dataset to consider.",example:"A2:B100",require:"m",repeat:"n",type:"range"},{name:"n",detail:"The rank from smallest to largest of the element to return.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SLOPE",t:1,d:"Calculates the slope of the line resulting from linear regression of a dataset.",a:"Slope of line from linear regression of data.",m:[2,2],p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"data_x",detail:"The range representing the array or matrix of independent data.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SKEW",t:1,d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean.",a:"Skewness of a dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the dataset.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to include in the dataset.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SKEW_P",t:1,d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean. This assumes the dataset is for the population.",a:"Skewness of a population's dataset.",m:[1,255],p:[{name:"value1",detail:"The first value or range of the dataset.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional values or ranges to include in the dataset.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"VLOOKUP",t:2,d:"Vertical lookup. Searches down the first column of a range for a key and returns the value of a specified cell in the row found.",a:"Vertical lookup.",m:[3,4],p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"range",detail:"The range to consider for the search. The first column in the range is searched for the key specified in `search_key`.",example:"A2:B26",require:"m",repeat:"n",type:"rangeall"},{name:"index",detail:"The column index of the value to be returned, where the first column in `range` is numbered 1.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"is_sorted",detail:"Indicates whether the column to be searched (the first column of the specified range) is sorted, in which case the closest match for `search_key` will be returned.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"HLOOKUP",t:2,d:"Horizontal lookup. Searches across the first row of a range for a key and returns the value of a specified cell in the column found.",a:"Horizontal lookup",m:[3,4],p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"range",detail:"The range to consider for the search. The first row in the range is searched for the key specified in `search_key`.",example:"A2:Z6",require:"m",repeat:"n",type:"rangeall"},{name:"index",detail:"The row index of the value to be returned, where the first row in `range` is numbered 1.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"is_sorted",detail:"Indicates whether the row to be searched (the first row of the specified range) is sorted.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOOKUP",t:2,d:"Looks through a sorted row or column for a key and returns the value of the cell in a result range located in the same position as the search row or column.",a:"Look up a value.",m:[2,3],p:[{name:"search_key",detail:'The value to search for in the row or column. For example, `42`, `"Cats"`, or `I24`.',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"search_range|search_result_array",detail:"One method of using this function is to provide a single sorted row or column `search_range` to look through for the `search_key` with a second argument `result_range`. The other way is to combine these two arguments into one `search_result_array` where the first row or column is searched and a value is returned from the last row or column in the array. If `search_key` is not found, a non-exact match may be returned.",example:"A1:A100",require:"m",repeat:"n",type:"rangeall"},{name:"result_range",detail:"The range from which to return a result. The value returned corresponds to the location where `search_key` is found in `search_range`. This range must be only a single row or column and should not be used if using the `search_result_array` method.",example:"B1:B100",require:"o",repeat:"n",type:"rangeall"}]},{n:"ADDRESS",t:2,d:"Returns a cell reference as a string.",a:"Cell reference as a string.",m:[2,5],p:[{name:"row",detail:"The row number of the cell reference",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"column",detail:"The column number (not name) of the cell reference. `A` is column number `1`.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"absolute_relative_mode",detail:"An indicator of whether the reference is row/column absolute. `1` is row and column absolute (e.g. $A$1), `2` is row absolute and column relative (e.g. A$1), `3` is row relative and column absolute (e.g. $A1), and `4` is row and column relative (e.g. A1).",example:"4",require:"o",repeat:"n",type:"rangenumber"},{name:"use_a1_notation",detail:"A boolean indicating whether to use `A1` style notation (TRUE) or `R1C1` style notation (FALSE).",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"},{name:"sheet",detail:"Text indicating the name of the sheet into which the address points.",example:'"Sheet2"',require:"o",repeat:"n",type:"rangeall"}]},{n:"INDIRECT",t:2,d:"Returns a cell reference specified by a string.",a:"A cell reference specified by a string.",m:[1,2],p:[{name:"cell_reference_as_string",detail:"A cell reference, written as a string with surrounding quotation marks.",example:'"Sheet2!"&B10',require:"m",repeat:"n",type:"rangeall"},{name:"is_A1_notation",detail:"Indicates if the cell reference is in A1 notation (TRUE) or R1C1 notation (FALSE).",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROW",t:2,d:"Returns the row number of a specified cell.",a:"Row number of a specified cell.",m:[0,1],p:[{name:"cell_reference",detail:"The cell whose row number will be returned.",example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROWS",t:2,d:"Returns the number of rows in a specified array or range.",a:"Number of rows in a specified array or range.",m:[1,1],p:[{name:"range",detail:"The range whose row count will be returned.",example:"A9:A62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COLUMN",t:2,d:"Returns the column number of a specified cell, with `A=1`.",a:"Column number of a specified cell.",m:[0,1],p:[{name:"cell_reference",detail:"The cell whose column number will be returned. Column `A` corresponds to `1`.",example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNS",t:2,d:"Returns the number of columns in a specified array or range.",a:"Number of columns in a specified array or range.",m:[1,1],p:[{name:"range",detail:"The range whose column count will be returned.",example:"A9:W62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"OFFSET",t:2,d:"Returns a range reference shifted a specified number of rows and columns from a starting cell reference.",a:"A range reference offset relative to a cell.",m:[3,5],p:[{name:"cell_reference",detail:"The starting point from which to count the offset rows and columns.",example:"A2",require:"m",repeat:"n",type:"range"},{name:"offset_rows",detail:"The number of rows to offset by.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"offset_columns",detail:"The number of columns to offset by.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"height",detail:"The height of the range to return starting at the offset target.",example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"width",detail:"The width of the range to return starting at the offset target.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MATCH",t:2,d:"Returns the relative position of an item in a range that matches a specified value.",a:"Position of item in range that matches value.",m:[2,3],p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.',example:'"Sunday"',require:"m",repeat:"n",type:"rangeall"},{name:"range",detail:"The one-dimensional array to be searched.",example:"A2:A9",require:"m",repeat:"n",type:"range"},{name:"search_type",detail:"The search method. `1` (default) finds the largest value less than or equal to `search_key` when `range` is sorted in ascending order. `0` finds the exact value when `range` is unsorted. `-1` finds the smallest value greater than or equal to `search_key` when `range` is sorted in descending order.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INDEX",t:2,d:"Returns the content of a cell, specified by row and column offset.",a:"Content of cell specified by row and column offset.",m:[2,3],p:[{name:"reference",detail:"The array of cells to be offset into.",example:"A1:C20",require:"m",repeat:"n",type:"range"},{name:"row",detail:"The number of offset rows.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"column",detail:"The number of offset columns.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GETPIVOTDATA",t:2,d:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",a:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",m:[2,254],p:[{name:"value_name",detail:"The name of the value in the pivot table for which you want to get data.",example:'"SUM of number of units"',require:"m",repeat:"n",type:"rangeall"},{name:"any_pivot_table_cell",detail:"Any reference to a cell in the desired pivot table (top corner recommended).",example:"'Pivot table'!A1",require:"m",repeat:"n",type:"rangeall"},{name:"original_column",detail:"The name of the column in the original data set (not the pivot table).",example:'"division"',require:"o",repeat:"y",type:"rangeall"},{name:"pivot_item",detail:"The name of the row or column shown in the pivot table corresponding to *original_column* that you want to retrieve.",example:'"east"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CHOOSE",t:2,d:"Returns an element from a list of choices based on index.",a:"An element from a list of choices based on index.",m:[2,255],p:[{name:"index",detail:"Which choice (of the up to 30 provided) to return.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"choice1",detail:"A potential value to return. Required. May be a reference to a cell or an individual value.",example:'"A"',require:"m",repeat:"n",type:"rangeall"},{name:"choice2",detail:"Additional values among which to choose.",example:'"B"',require:"o",repeat:"y",type:"rangeall"}]},{n:"HYPERLINK",t:2,d:"Creates a hyperlink inside a cell.",a:"Creates a hyperlink inside a cell.",p:[{name:"url",detail:"The full URL of the link location enclosed in quotation marks, or a reference to a cell containing such a URL.",example:'"http://www.luckysheet.com/"',require:"m",repeat:"n",type:"rangeall"},{name:"link_label",detail:"The text to display in the cell as the link, enclosed in quotation marks, or a reference to a cell containing such a label.",example:'"luckysheet"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TIME",t:6,d:"Converts a provided hour, minute, and second into a time.",a:"Converts hour/minute/second into a time.",m:[3,3],p:[{name:"hour",detail:"The hour component of the time.",example:"11",require:"m",repeat:"n",type:"rangenumber"},{name:"minute",detail:"The minute component of the time.",example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"second",detail:"The second component of the time.",example:"59",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TIMEVALUE",t:6,d:"Returns the fraction of a 24-hour day the time represents.",a:"Converts a time string into its serial number representation.",m:[1,1],p:[{name:"time_string",detail:"The string that holds the time representation.",example:'"2:15 PM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EOMONTH",t:6,d:"Returns a date on the last day of a month that falls a specified number of months before or after another date.",a:"Last day of a month before or after a date.",m:[2,2],p:[{name:"start_date",detail:"The date from which to calculate the result.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to consider.",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EDATE",t:6,d:"Returns a date a specified number of months before or after another date.",a:"Date a number of months before/after another date.",m:[2,2],p:[{name:"start_date",detail:"The date from which to calculate the result.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to calculate.",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SECOND",t:6,d:"Returns the second component of a specific time, in numeric format.",a:"Second component of a specific time.",m:[1,1],p:[{name:"time",detail:"The time from which to calculate the second component",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINUTE",t:6,d:"Returns the minute component of a specific time, in numeric format.",a:"Minute component of a specific time.",m:[1,1],p:[{name:"time",detail:"The time from which to calculate the minute component.",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"HOUR",t:6,d:"Returns the hour component of a specific time, in numeric format.",a:"Hour component of a specific time.",m:[1,1],p:[{name:"time",detail:"The time from which to calculate the hour component.",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"NOW",t:6,d:"Returns the current date and time as a date value.",a:"Current date and time as a date value.",m:[0,0],p:[]},{n:"NETWORKDAYS",t:6,d:"Returns the number of net working days between two provided days.",a:"Net working days between two provided days.",m:[2,3],p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"holidays",detail:"A range or array constant containing the date serial numbers to consider holidays.",example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"NETWORKDAYS_INTL",t:6,d:"Returns the number of net working days between two provided days excluding specified weekend days and holidays.",a:"Net working days between two dates (specifying weekends).",m:[2,4],p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends.",example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:"A range or array constant containing the dates to consider as holidays.",example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"ISOWEEKNUM",t:6,d:"Returns a number representing the ISO week of the year where the provided date falls.",a:"ISO week number of the year.",m:[1,1],p:[{name:"date",detail:"The date for which to determine the ISO week number. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"WEEKNUM",t:6,d:"Returns a number representing the week of the year where the provided date falls.",a:"Week number of the year.",m:[1,2],p:[{name:"date",detail:"The date for which to determine the week number. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"type",detail:"A number representing the day that a week starts on. Sunday = 1.",example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"WEEKDAY",t:6,d:"Returns a number representing the day of the week of the date provided.",a:"Day of the week of the date provided (as number).",m:[1,2],p:[{name:"date",detail:"The date for which to determine the day of the week. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"type",detail:"A number indicating which numbering system to use to represent weekdays. By default, counts starting with Sunday = 1.",example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DAY",t:6,d:"Returns the day of the month that a specific date falls on, in numeric format.",a:"Day of the month that a specific date falls on.",m:[1,1],p:[{name:"date",detail:"The date from which to extract the day.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS",t:6,d:"Returns the number of days between two dates.",a:"Number of days between two dates.",m:[2,2],p:[{name:"end_date",detail:"The end of the date range.",example:"2011-3-15",require:"m",repeat:"n",type:"rangeall"},{name:"start_date",detail:"The start of the date range.",example:"2011-2-1",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS360",t:6,d:"Returns the difference between two days based on the 360 day year used in some financial interest calculations.",a:"Days between two dates on a 360-day year.",m:[2,3],p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"method",detail:"An indicator of what day count method to use.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"DATE",t:6,d:"Converts a provided year, month, and day into a date.",a:"Converts year/month/day into a date.",m:[3,3],p:[{name:"year",detail:"The year component of the date.",example:"1969",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:"The month component of the date.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"day",detail:"The day component of the date.",example:"20",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DATEVALUE",t:6,d:"Converts a provided date string in a known format to a date value.",a:"Converts a date string to a date value.",m:[1,1],p:[{name:"date_string",detail:"The string representing the date.",example:'"1969-7-20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DATEDIF",t:6,d:"Calculates the number of days, months, or years between two dates.",a:"Date Difference.",m:[3,3],p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"unit",detail:'A string abbreviation for unit of time. For example, "M" for month. Accepted values are "Y","M","D","MD","YM","YD".',example:"16)",require:"m",repeat:"n",type:"rangeall"}]},{n:"WORKDAY",t:6,d:"Calculates the date after a number of working days from a specified start date.",a:"Number of working days from start date.",m:[2,3],p:[{name:"start_date",detail:"The date from which to begin counting.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays.",example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"WORKDAY_INTL",t:6,d:"Calculates the date after a specified number of workdays excluding specified weekend days and holidays.",a:"Date after a number of workdays (specifying weekends).",m:[2,4],p:[{name:"start_date",detail:"The date from which to begin counting.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards.",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends.",example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays.",example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"YEAR",t:6,d:"Returns the year specified by a given date.",a:"Year specified by a given date.",m:[1,1],p:[{name:"date",detail:"The date from which to extract the year.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"YEARFRAC",t:6,d:"Returns the number of years, including fractional years, between two dates using a specified day count convention.",a:"Exact number of years between two dates.",m:[2,3],p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number.",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"16)",require:"o",repeat:"n",type:"rangenumber"}]},{n:"TODAY",t:6,d:"Returns the current date as a date value.",a:"Current date as a date value.",m:[0,0],p:[]},{n:"MONTH",t:6,d:"Returns the month of the year a specific date falls in, in numeric format.",a:"Month of the year a specific date falls in.",m:[1,1],p:[{name:"date",detail:"The date from which to extract the month.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"EFFECT",t:8,d:"Calculates the annual effective interest rate given the nominal rate and number of compounding periods per year.",a:"Annual effective interest rate.",m:[2,2],p:[{name:"nominal_rate",detail:"The nominal interest rate per year.",example:"0.99",require:"m",repeat:"n",type:"rangenumber"},{name:"periods_per_year",detail:"The number of compounding periods per year.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLAR",t:12,d:"Formats a number into the currency specific to your spreadsheet locale.",a:"Formats a number as currency specific to your spreadsheet locale.",m:[1,2],p:[{name:"number",detail:"The value to be formatted.",example:"1.2351",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_places",detail:"The number of decimal places to display.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARDE",t:8,d:"Converts a price quotation given as a decimal fraction into a decimal value.",a:"Converts a decimal fraction to decimal value.",m:[2,2],p:[{name:"fractional_price",detail:"The price quotation given using fractional decimal conventions.",example:"100.10",require:"m",repeat:"n",type:"rangenumber"},{name:"unit",detail:"The units of the fraction, e.g. `8` for 1/8ths or `32` for 1/32nds.",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARFR",t:8,d:"Converts a price quotation given as a decimal value into a decimal fraction.",a:"Converts a decimal value to decimal fraction.",m:[2,2],p:[{name:"decimal_price",detail:"The price quotation given as a decimal value.",example:"100.125",require:"m",repeat:"n",type:"rangenumber"},{name:"unit",detail:"The units of the desired fraction, e.g. `8` for 1/8ths or `32` for 1/32nds.",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DB",t:8,d:"Calculates the depreciation of an asset for a specified period using the arithmetic declining balance method.",a:"Depreciation via declining balance method.",m:[4,5],p:[{name:"cost",detail:"The initial cost of the asset.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The single period within `life` for which to calculate depreciation.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:"The number of months in the first year of depreciation.",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DDB",t:8,d:"Calculates the depreciation of an asset for a specified period using the double-declining balance method.",a:"Depreciation via double-declining balance method.",m:[4,5],p:[{name:"cost",detail:"The initial cost of the asset.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The single period within `life` for which to calculate depreciation.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"The factor by which depreciation decreases.",example:"2.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RATE",t:8,d:"Calculates the interest rate of an annuity investment based on constant-amount periodic payments and the assumption of a constant interest rate.",a:"Interest rate of an annuity investment.",m:[3,6],p:[{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_per_period",detail:"The amount per period to be paid.",example:"-100",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"rate_guess",detail:"An estimate for what the interest rate will be.",example:"0.1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"CUMPRINC",t:8,d:"Calculates the cumulative principal paid over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative principal paid over a set of periods.",m:[6,6],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPNUM",t:8,d:"Calculates the number of coupons, or interest payments, between the settlement date and the maturity date of the investment.",a:"Number of coupons between settlement and maturity.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"02",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SYD",t:8,d:"Calculates the depreciation of an asset for a specified period using the sum of years digits method.",a:"Depreciation via sum of years digits method.",m:[4,4],p:[{name:"cost",detail:"The initial cost of the asset.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The single period within `life` for which to calculate depreciation.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLEQ",t:8,d:"Calculates the equivalent annualized rate of return of a US Treasury Bill based on discount rate.",a:"Equivalent rate of return for a Treasury bill.",m:[3,3],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"The discount rate of the bill at time of purchase.",example:"2)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLYIELD",t:8,d:"Calculates the yield of a US Treasury Bill based on price.",a:"The yield of a us treasury bill based on price.",m:[3,3],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"95",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLPRICE",t:8,d:"Calculates the price of a US Treasury Bill based on discount rate.",a:"Price of US treasury bill.",m:[3,3],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"The discount rate of the bill at time of purchase.",example:"0.09",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PV",t:8,d:"Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Present value of an annuity investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_amount",detail:"The amount per period to be paid.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"D2",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ACCRINT",t:8,d:"Calculates the accrued interest of a security that has periodic payments.",a:"Accrued interest of security with periodic payments.",m:[6,8],p:[{name:"issue",detail:"The date the security was initially issued.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"first_payment",detail:"The first date interest will be paid.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"calc_method",detail:`[Optional-defaults to TRUE()] - A logical value that specifies the method used to calculate the total accrued interest when the settlement date is later than the first interest accrual date.
If the value is TRUE, the total accrued interest from the issue date to the settlement date is returned.
If the value is FALSE, return the accrued interest from the first interest accrual date to the settlement date.`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ACCRINTM",t:8,d:"Calculates the accrued interest of a security that pays interest at maturity.",a:"Accrued interest of security paying at maturity.",m:[4,5],p:[{name:"issue",detail:"The date the security was initially issued.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity date of the security.",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"1000",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYBS",t:8,d:"Calculates the number of days from the first coupon, or interest payment, until settlement.",a:"Number of days from first coupon to settlement.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYS",t:8,d:"Calculates the number of days in the coupon, or interest payment, period that contains the specified settlement date.",a:"Days in coupon period containing settlement date.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYSNC",t:8,d:"Calculates the number of days from the settlement date until the next coupon, or interest payment.",a:"Days from settlement until next coupon.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPNCD",t:8,d:"Calculates next coupon, or interest payment, date after the settlement date.",a:"Next coupon date after the settlement date.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPPCD",t:8,d:"Calculates last coupon, or interest payment, date before the settlement date.",a:"Last coupon date before settlement date.",m:[3,4],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FV",t:8,d:"Calculates the future value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Future value of an annuity investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_amount",detail:"The amount per period to be paid.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FVSCHEDULE",t:8,d:"Calculates the future value of some principal based on a specified series of potentially varying interest rates.",a:"Future value of principal from series of rates.",m:[2,2],p:[{name:"principal",detail:"The amount of initial capital or value to compound against.",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"rate_schedule",detail:"A series of interest rates to compound against the `principal`.",example:"A2:A100",require:"m",repeat:"n",type:"range"}]},{n:"YIELD",t:8,d:"Calculates the annual yield of a security paying periodic interest, such as a US Treasury Bond, based on price.",a:"Annual yield of a security paying periodic interest.",m:[6,7],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"YIELDDISC",t:8,d:"Calculates the annual yield of a discount (non-interest-bearing) security, based on price.",a:"Annual yield of a discount security.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NOMINAL",t:8,d:"Calculates the annual nominal interest rate given the effective rate and number of compounding periods per year.",a:"Annual nominal interest rate.",m:[2,2],p:[{name:"effective_rate",detail:"The effective interest rate per year.",example:"0.85",require:"m",repeat:"n",type:"rangenumber"},{name:"periods_per_year",detail:"The number of compounding periods per year.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"XIRR",t:8,d:"Calculates the internal rate of return of an investment based on a specified series of potentially irregularly spaced cash flows.",a:"Internal rate of return given non-periodic cashflows.",m:[2,3],p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment.",example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"cashflow_dates",detail:"An array or range with dates corresponding to the cash flows in `cashflow_amounts`.",example:"C2:C25",require:"m",repeat:"n",type:"range"},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be.",example:"250",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MIRR",t:8,d:"Calculates the modified internal rate of return on an investment based on a series of periodic cash flows and the difference between the interest rate paid on financing versus the return received on reinvested income.",a:"Modified internal rate of return.",m:[3,3],p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment.",example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"financing_rate",detail:"The interest rate paid on funds invested.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"reinvestment_return_rate",detail:"The return (as a percentage) earned on reinvestment of income received from the investment.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IRR",t:8,d:"Calculates the internal rate of return on an investment based on a series of periodic cash flows.",a:"Internal rate of return given periodic cashflows.",m:[1,2],p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment.",example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be.",example:"200",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPV",t:8,d:"Calculates the net present value of an investment based on a series of periodic cash flows and a discount rate.",a:"The net present value of an investment based on a series of periodic cash flows and a discount rate.",m:[2,255],p:[{name:"discount",detail:"The discount rate of the investment over one period.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"cashflow1",detail:"The first future cash flow.",example:"200",require:"m",repeat:"n",type:"rangeall"},{name:"cashflow2",detail:"Additional future cash flows.",example:"250",require:"o",repeat:"y",type:"rangeall"}]},{n:"XNPV",t:8,d:"Calculates the net present value of an investment based on a specified series of potentially irregularly spaced cash flows and a discount rate.",a:"Net present value given non-periodic cashflows.",m:[3,3],p:[{name:"discount",detail:"The discount rate of the investment over one period.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"cashflow_amounts",detail:"A range of cells containing the income or payments associated with the investment.",example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"cashflow_dates",detail:"A range of cells with dates corresponding to the cash flows in `cashflow_amounts`.",example:"C2:C25",require:"m",repeat:"n",type:"range"}]},{n:"CUMIPMT",t:8,d:"Calculates the cumulative interest over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative interest paid over a set of periods.",m:[6,6],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PMT",t:8,d:"Calculates the periodic payment for an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Periodic payment for an annuity investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:" 100000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"D2",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IPMT",t:8,d:"Calculates the payment on interest for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on interest for an investment.",m:[4,6],p:[{name:"rate",detail:"The interest rate.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The amortization period, in terms of number of periods.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"80000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"E2",require:"m",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PPMT",t:8,d:"Calculates the payment on the principal of an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on the principal of an investment.",m:[4,6],p:[{name:"rate",detail:"The interest rate.",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"The amortization period, in terms of number of periods.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_periods",detail:"The number of payments to be made.",example:"3*12",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INTRATE",t:8,d:"Calculates the effective interest rate generated when an investment is purchased at one price and sold at another with no interest or dividends generated by the investment itself.",a:"Calculates effective interest rate.",m:[4,5],p:[{name:"buy_date",detail:"The date of purchase of the investment.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"sell_date",detail:"The date of sale of the investment.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"buy_price",detail:"The price at which the investment was purchased.",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"sell_price",detail:"The price at which the investment was sold.",example:"101200",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PRICE",t:8,d:"Calculates the price of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Price of a security paying periodic interest.",m:[6,7],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.065",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEDISC",t:8,d:"Calculates the price of a discount (non-interest-bearing) security, based on expected yield.",a:"Price of a discount security.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"The discount rate of the security at time of purchase.",example:"0.0525",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEMAT",t:8,d:"Calculates the price of a security paying interest at maturity, based on expected yield.",a:"Price of security paying interest at maturity.",m:[5,6],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"issue",detail:"The date the security was initially issued.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"RECEIVED",t:8,d:"Calculates the amount received at maturity for an investment in fixed-income securities purchased on a given date.",a:"Amount received at maturity for a security.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"investment",detail:"The amount invested (irrespective of face value of each security).",example:"10000000",require:"m",repeat:"n",type:"rangenumber"},{name:"discount",detail:"The discount rate of the security invested in.",example:"0.0575",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DISC",t:8,d:"Calculates the discount rate of a security based on price.",a:"The discount rate of a security based on price.",m:[4,5],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"price",detail:"The price at which the security is bought per 100 face value.",example:"97.975",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"The redemption amount per 100 face value, or par.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPER",t:8,d:"Calculates the number of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Number of payment periods for an investment.",m:[3,5],p:[{name:"rate",detail:"The interest rate.",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"payment_amount",detail:"The amount of each payment made.",example:"500",require:"m",repeat:"n",type:"rangenumber"},{name:"present_value",detail:"The current value of the annuity.",example:"40000",require:"m",repeat:"n",type:"rangenumber"},{name:"future_value",detail:"The future value remaining after the final payment has been made.",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SLN",t:8,d:"Calculates the depreciation of an asset for one period using the straight-line method.",a:"Depreciation of asset using the straight-line method.",m:[3,3],p:[{name:"cost",detail:"The initial cost of the asset.",example:"300000",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"The value of the asset at the end of depreciation.",example:"75000",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"The number of periods over which the asset is depreciated.",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DURATION",t:8,d:"Calculates the number of compounding periods required for an investment of a specified present value appreciating at a given rate to reach a target value.",a:"Number of periods for an investment to reach a value.",m:[5,6],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MDURATION",t:8,d:"Calculates the modified Macaulay duration of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Modified Macaulay duration.",m:[5,6],p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value.",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"The annualized rate of interest.",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yield",detail:"The expected annual yield of the security.",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"day_count_convention",detail:"An indicator of what day count method to use.",example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2DEC",t:9,d:"Converts a signed binary number to decimal format.",a:"Converts a signed binary number to decimal format.",m:[1,1],p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to decimal, provided as a string.",example:"101",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIN2HEX",t:9,d:"Converts a signed binary number to signed hexadecimal format.",a:"Converts a binary number to hexadecimal.",m:[1,2],p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed hexademical, provided as a string.",example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2OCT",t:9,d:"Converts a signed binary number to signed octal format.",a:"Converts a binary number to octal.",m:[1,2],p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed octal, provided as a string.",example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2BIN",t:9,d:"Converts a decimal number to signed binary format.",a:"Converts a decimal number to signed binary format.",m:[1,2],p:[{name:"decimal_number",detail:"The decimal value to be converted to signed binary, provided as a string.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2HEX",t:9,d:"Converts a decimal number to signed hexadecimal format.",a:"Converts a decimal number to hexadecimal.",m:[1,2],p:[{name:"decimal_number",detail:"The decimal value to be converted to signed hexadecimal, provided as a string.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2OCT",t:9,d:"Converts a decimal number to signed octal format.",a:"Converts a decimal number to signed octal format.",m:[1,2],p:[{name:"decimal_number",detail:"The decimal value to be converted to signed octal, provided as a string.",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2BIN",t:9,d:"Converts a signed hexadecimal number to signed binary format.",a:"Converts a hexadecimal number to binary.",m:[1,2],p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed binary, provided as a string.",example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2DEC",t:9,d:"Converts a signed hexadecimal number to decimal format.",a:"Converts a hexadecimal number to decimal.",m:[1,1],p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to decimal, provided as a string.",example:'"f3"',require:"m",repeat:"n",type:"rangeall"}]},{n:"HEX2OCT",t:9,d:"Converts a signed hexadecimal number to signed octal format.",a:"Converts a hexadecimal number to octal.",m:[1,2],p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed octal, provided as a string.",example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2BIN",t:9,d:"Converts a signed octal number to signed binary format.",a:"Converts an octal number to binary.",m:[1,2],p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed binary, provided as a string.",example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2DEC",t:9,d:"Converts a signed octal number to decimal format.",a:"Converts a signed octal number to decimal format.",m:[1,1],p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to decimal, provided as a string.",example:"37",require:"m",repeat:"n",type:"rangeall"}]},{n:"OCT2HEX",t:9,d:"Converts a signed octal number to signed hexadecimal format.",a:"Converts an octal number to hexadecimal.",m:[1,2],p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed hexadecimal, provided as a string.",example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"significant_digits",detail:"The number of significant digits to ensure in the result.",example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COMPLEX",t:9,d:"Creates a complex number given real and imaginary coefficients.",a:"Creates a complex number.",m:[2,3],p:[{name:"real_part",detail:"The real coefficient.",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"imaginary_part",detail:"The imaginary coefficient.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"suffix",detail:"The suffix for the imaginary coefficient, can only be 'i' or 'j'. If omitted, 'i' will be used.",example:'"j"',require:"o",repeat:"n",type:"rangestring"}]},{n:"IMREAL",t:9,d:"Returns the real coefficient of a complex number.",a:"The real coefficient of a complex number.",m:[1,1],p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format.",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMAGINARY",t:9,d:"Returns the imaginary coefficient of a complex number.",a:"The imaginary coefficient of a complex number.",m:[1,1],p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format.",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMCONJUGATE",t:9,d:"Returns the complex conjugate of a number.",a:"The complex conjugate of a number.",m:[1,1],p:[{name:"number",detail:"The complex number to calculate the conjugate for.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMABS",t:9,d:"Returns absolute value (or modulus) of a complex number.",a:"The absolute value of a complex number.",m:[1,1],p:[{name:"number",detail:"The complex number to calculate the absolute value of.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DELTA",t:9,d:"Compare two numeric values, returning 1 if they're equal.",a:"Compare two numeric values.",m:[1,2],p:[{name:"number1",detail:"The first number to compare.",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"number2",detail:"The second number to compare.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"IMSUM",t:9,d:"Returns the sum of a series of complex numbers.",a:"Sum of a series of complex numbers.",m:[1,255],p:[{name:"value1",detail:"The first complex number or range to add together.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"Additional complex numbers or ranges to add to `value1`.",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMSUB",t:9,d:"Returns the difference between two complex numbers.",a:"The difference between two complex numbers.",m:[2,2],p:[{name:"first_number",detail:"The complex number to subtract second_number from.",example:'"6+5i"',require:"m",repeat:"n",type:"rangeall"},{name:"second_number",detail:"The complex number to subtract from first_number.",example:'"2+3i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMPRODUCT",t:9,d:"Returns the result of multiplying a series of complex numbers together.",a:"Result of multiplying a series of complex numbers together.",m:[1,255],p:[{name:"factor1",detail:"The first number or range to calculate for the product.",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"factor2",detail:"Additional complex numbers or ranges to calculate for the product.",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMDIV",t:9,d:"Returns one complex number divided by another.",a:"One complex number divided by another.",m:[2,2],p:[{name:"dividend",detail:"The complex number to be divided.",example:'"11+16i"',require:"m",repeat:"n",type:"rangeall"},{name:"divisor",detail:"The complex number to divide by.",example:'"3+2i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NOT",t:10,d:"Returns the opposite of a logical value - `NOT(TRUE)` returns `FALSE`; `NOT(FALSE)` returns `TRUE`.",a:"Returns opposite of provided logical value.",m:[1,1],p:[{name:"logical_expression",detail:"An expression or reference to a cell holding an expression that represents some logical value.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TRUE",t:10,d:"Returns the logical value `TRUE`.",a:"Logical value `true`.",m:[0,0],p:[]},{n:"FALSE",t:10,d:"Returns the logical value `FALSE`.",a:"Logical value `false`.",m:[0,0],p:[]},{n:"AND",t:10,d:"Returns true if all of the provided arguments are logically true, and false if any of the provided arguments are logically false.",a:"Logical `and` operator.",m:[1,255],p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value.",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"logical_expression2",detail:"More expressions that represent logical values.",example:'A3 = "bar"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IFERROR",t:10,d:"Returns the first argument if it is not an error value, otherwise returns the second argument if present, or a blank if the second argument is absent.",a:"Value if it is not an error, otherwise 2nd argument.",m:[2,2],p:[{name:"value",detail:"The value to return if `value` itself is not an error.",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"value_if_error",detail:"The value the function returns if `value` is an error.",example:'"Error in cell A1"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IF",t:10,d:"Returns one value if a logical expression is `TRUE` and another if it is `FALSE`.",a:"Returns value depending on logical expression.",m:[2,3],p:[{name:"logical_expression",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`.",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_true",detail:"The value the function returns if `logical_expression` is `TRUE`.",example:'"A2 is foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_false",detail:"The value the function returns if `logical_expression` is `FALSE`.",example:'"A2 was false"',require:"o",repeat:"n",type:"rangeall"}]},{n:"OR",t:10,d:"Returns true if any of the provided arguments are logically true, and false if all of the provided arguments are logically false.",a:"Logical `or` operator.",m:[1,255],p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value.",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"logical_expression2",detail:"More expressions that evaluate to logical values.",example:' A3 = "bar"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NE",t:11,d:"Returns `TRUE` if two specified values are not equal and `FALSE` otherwise. Equivalent to the `!=` operator.",a:"Not equal.",m:[2,2],p:[{name:"value1",detail:"The first value.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The value to test against `value1` for inequality.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"EQ",t:11,d:"Returns `TRUE` if two specified values are equal and `FALSE` otherwise. Equivalent to the `==` operator.",a:"Equal.",m:[2,2],p:[{name:"value1",detail:"The first value.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The value to test against `value1` for equality.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GT",t:11,d:"Returns `TRUE` if the first argument is strictly greater than the second, and `FALSE` otherwise. Equivalent to the `>` operator.",a:"Strictly greater than.",m:[2,2],p:[{name:"value1",detail:"The value to test as being greater than `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GTE",t:11,d:"Returns `TRUE` if the first argument is greater than or equal to the second, and `FALSE` otherwise. Equivalent to the `>=` operator.",a:"Greater than or equal to.",m:[2,2],p:[{name:"value1",detail:"The value to test as being greater than or equal to `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LT",t:11,d:"Returns `TRUE` if the first argument is strictly less than the second, and `FALSE` otherwise. Equivalent to the `<` operator.",a:"Less than.",m:[2,2],p:[{name:"value1",detail:"The value to test as being less than `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LTE",t:11,d:"Returns `TRUE` if the first argument is less than or equal to the second, and `FALSE` otherwise. Equivalent to the `<=` operator.",a:"Less than or equal to.",m:[2,2],p:[{name:"value1",detail:"The value to test as being less than or equal to `value2`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The second value.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ADD",t:11,d:"Returns the sum of two numbers. Equivalent to the `+` operator.",a:"Sum of two numbers",m:[2,2],p:[{name:"value1",detail:"The first addend.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"The second addend.",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINUS",t:11,d:"Returns the difference of two numbers. Equivalent to the `-` operator.",a:"Difference of two numbers",m:[2,2],p:[{name:"value1",detail:"The minuend, or number to be subtracted from.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"The subtrahend, or number to subtract from `value1`.",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTIPLY",t:11,d:"Returns the product of two numbers. Equivalent to the `*` operator.",a:"Product of two numbers",m:[2,2],p:[{name:"factor1",detail:"The first multiplicand.",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"factor2",detail:"The second multiplicand.",example:"B2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DIVIDE",t:11,d:"Returns one number divided by another. Equivalent to the `/` operator.",a:"One number divided by another",m:[2,2],p:[{name:"dividend",detail:"The number to be divided.",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"divisor",detail:"The number to divide by.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCAT",t:11,d:"Returns the concatenation of two values. Equivalent to the `&` operator.",a:"Concatenation of two values",m:[2,2],p:[{name:"value1",detail:"The value to which `value2` will be appended.",example:'"de"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"The value to append to `value1`.",example:'"mystify"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UNARY_PERCENT",t:11,d:"Returns a value interpreted as a percentage; that is, `UNARY_PERCENT(100)` equals `1`.",a:"Value interpreted as a percentage.",m:[1,1],p:[{name:"percentage",detail:"The value to interpret as a percentage.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCATENATE",t:12,d:"Appends strings to one another.",a:"Appends strings to one another.",m:[1,255],p:[{name:"string1",detail:"The initial string.",example:'"Super"',require:"m",repeat:"n",type:"rangeall"},{name:"string2",detail:"More strings to append in sequence.",example:'"calla"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CODE",t:12,d:"Returns the numeric Unicode map value of the first character in the string provided.",a:"Numeric unicode map value of character.",m:[1,1],p:[{name:"string",detail:"The string whose first character's Unicode map value will be returned.",example:'"a"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CHAR",t:12,d:"Convert a number into a character according to the current Unicode table.",a:"Gets character associated with number.",m:[1,1],p:[{name:"table_number",detail:"The number of the character to look up from the current Unicode table in decimal format.",example:"97",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ARABIC",t:12,d:"Computes the value of a Roman numeral.",a:"Computes the value of a roman numeral.",m:[1,1],p:[{name:"roman_numeral",detail:"The Roman numeral to format, whose value must be between 1 and 3999, inclusive.",example:'"XIV"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ROMAN",t:12,d:"Formats a number in Roman numerals.",a:"Formats a number in Roman numerals.",m:[1,1],p:[{name:"number",detail:"The number to format, between 1 and 3999, inclusive.",example:"499",require:"m",repeat:"n",type:"rangenumber"}]},{n:"REGEXEXTRACT",t:12,d:"Extracts matching substrings according to a regular expression.",a:"Extracts matching substrings with regular expression.",m:[2,2],p:[{name:"text",detail:"The input text.",example:'"Needle in a haystack"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"The first part of `text` that matches this expression will be returned.",example:'".e{2}dle"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXMATCH",t:12,d:"Whether a piece of text matches a regular expression.",a:"Whether a piece of text matches regular expression.",m:[2,2],p:[{name:"text",detail:"The text to be tested against the regular expression.",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"The regular expression to test the text against.",example:'"S.r"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXREPLACE",t:12,d:"Replaces part of a text string with a different text string using regular expressions.",a:"Replaces text with regular expressions.",m:[3,3],p:[{name:"text",detail:"The text, a part of which will be replaced.",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"The regular expression. All matching instances in `text` will be replaced.",example:'"S.*d"',require:"m",repeat:"n",type:"rangeall"},{name:"replacement",detail:"The text which will be inserted into the original text.",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"T",t:12,d:"Returns string arguments as text, or the empty string if the value is not text.",a:"String arguments as text.",m:[1,1],p:[{name:"value",detail:"The argument to be converted to text.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"FIXED",t:12,d:"Formats a number with a fixed number of decimal places.",a:"Formats number with fixed number of decimal places.",m:[1,3],p:[{name:"number",detail:"The number to format.",example:"3.141592653",require:"m",repeat:"n",type:"rangenumber"},{name:"number_of_places",detail:"The number of decimal places to display in the result.",example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"suppress_separator",detail:"Whether or not to suppress the thousands separator used in some locales (e.g. `1,000` becomes `1000`). Separators will be present if this value is 0 or omitted, and absent otherwise.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FIND",t:12,d:"Returns the position at which a string is first found within text where the capitalization of letters matters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, case-sensitive.",m:[2,3],p:[{name:"search_for",detail:"The string to look for within `text_to_search`.",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search.",example:"14",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FINDB",t:12,d:"Returns the position at which a string is first found within text counting each double-character as 2.",a:"Position at which a string is first found within text (binary).",m:[2,3],p:[{name:"search_for",detail:"The string to look for within `text_to_search`.",example:'"new"',require:"m",repeat:"n",type:"rangeall"},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`.",example:'"new year"',require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search.",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"JOIN",t:12,d:"Concatenates the elements of one or more one-dimensional arrays using a specified delimiter.",a:"Concatenates elements of arrays with delimiter.",m:[2,255],p:[{name:"delimiter",detail:"The character or string to place between each concatenated value.",example:'" and-a "',require:"m",repeat:"n",type:"rangeall"},{name:"value_or_array1",detail:"The value or values to be appended using `delimiter`.",example:"{1",require:"m",repeat:"n",type:"rangeall"},{name:"value_or_array2",detail:"More values to be appended using `delimiter`.",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"LEFT",t:12,d:"Returns a substring from the beginning of a specified string.",a:"Substring from beginning of specified string.",m:[1,2],p:[{name:"string",detail:"The string from which the left portion will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"number_of_characters",detail:"The number of characters to return from the left side of `string`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RIGHT",t:12,d:"Returns a substring from the end of a specified string.",a:"A substring from the end of a specified string.",m:[1,2],p:[{name:"string",detail:"The string from which the right portion will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"number_of_characters",detail:"The number of characters to return from the right side of `string`.",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MID",t:12,d:"Returns a segment of a string.",a:"A segment of a string.",m:[3,3],p:[{name:"string",detail:"The string to extract a segment from.",example:'"get this"',require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The index from the left of `string` from which to begin extracting. The first character in `string` has the index 1.",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"extract_length",detail:"The length of the segment to extract.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LEN",t:12,d:"Returns the length of a string.",a:"Length of a string.",m:[1,1],p:[{name:"text",detail:"The string whose length will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LENB",t:12,d:"Returns the length of a string in bytes.",a:"Length of a string in bytes.",m:[1,1],p:[{name:"text",detail:"The string whose length will be returned.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LOWER",t:12,d:"Converts a specified string to lowercase.",a:"Converts a specified string to lowercase.",m:[1,1],p:[{name:"text",detail:"The string to convert to lowercase.",example:'"LOREM IPSUM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UPPER",t:12,d:"Converts a specified string to uppercase.",a:"Converts a specified string to uppercase.",m:[1,1],p:[{name:"text",detail:"The string to convert to uppercase.",example:'"lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EXACT",t:12,d:"Tests whether two strings are identical.",a:"Tests whether two strings are identical.",m:[2,2],p:[{name:"string1",detail:"The first string to compare",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"string2",detail:"The second string to compare",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"REPLACE",t:12,d:"Replaces part of a text string with a different text string.",a:"Replaces part of a text string with different text.",m:[4,4],p:[{name:"text",detail:"The text, a part of which will be replaced.",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"position",detail:"The position where the replacement will begin (starting from 1).",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"length",detail:"The number of characters in the text to be replaced.",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"new_text",detail:"The text which will be inserted into the original text.",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REPT",t:12,d:"Returns specified text repeated a number of times.",a:"Specified text repeated a number of times.",m:[2,2],p:[{name:"text_to_repeat",detail:"The character or string to repeat.",example:'"ha"',require:"m",repeat:"n",type:"rangeall"},{name:"number_of_repetitions",detail:"The number of times `text_to_repeat` should appear in the value returned.",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SEARCH",t:12,d:"Returns the position at which a string is first found within text and ignores capitalization of letters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, ignoring case.",m:[2,3],p:[{name:"search_for",detail:"The string to look for within `text_to_search`.",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`.",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search.",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUBSTITUTE",t:12,d:"Replaces existing text with new text in a string.",a:"Replaces existing text with new text in a string.",m:[3,4],p:[{name:"text_to_search",detail:"The text within which to search and replace.",example:'"search for it"',require:"m",repeat:"n",type:"rangeall"},{name:"search_for",detail:"The string to search for within `text_to_search`.",example:'"search for"',require:"m",repeat:"n",type:"rangeall"},{name:"replace_with",detail:"The string that will replace `search_for`.",example:'"Google"',require:"m",repeat:"n",type:"rangeall"},{name:"occurrence_number",detail:"The instance of `search_for` within `text_to_search` to replace with `replace_with`. By default, all occurrences of `search_for` are replaced; however, if `occurrence_number` is specified, only the indicated instance of `search_for` is replaced.",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CLEAN",t:12,d:"Returns the text with the non-printable ASCII characters removed.",a:"Removes non-printable characters from a piece of text.",m:[1,1],p:[{name:"text",detail:"The text whose non-printable characters are to be removed.",example:'"AF"&CHAR(31)',require:"m",repeat:"n",type:"rangeall"}]},{n:"TEXT",t:12,d:"Converts a number into text according to a specified format.",a:"Formats a number into text.",m:[2,2],p:[{name:"number",detail:"The number, date, or time to format.",example:"1.23",require:"m",repeat:"n",type:"rangenumber"},{name:"format",detail:"The pattern by which to format the number, enclosed in quotation marks.",example:'"$0.00"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TRIM",t:12,d:"Removes leading, trailing, and repeated spaces in text.",a:"Removes space characters.",m:[1,1],p:[{name:"text",detail:"The text or reference to a cell containing text to be trimmed.",example:'" lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"VALUE",t:12,d:"Converts a string in any of the date, time or number formats that Google Sheets understands into a number.",a:"Converts a date/time/number string into a number.",m:[1,1],p:[{name:"text",detail:"The string containing the value to be converted.",example:'"123"',require:"m",repeat:"n",type:"rangeall"}]},{n:"PROPER",t:12,d:"Capitalizes each word in a specified string.",a:"Capitalizes each word in a specified string.",m:[1,1],p:[{name:"text_to_capitalize",detail:"The text which will be returned with the first letter of each word in uppercase and all other letters in lowercase.",example:'"united states"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CONVERT",t:13,d:"Converts a numeric value to a different unit of measure.",a:"Unit conversion for numbers.",m:[3,3],p:[{name:"value",detail:"The numeric value in `start_unit` to convert to `end_unit`.",example:"5.1",require:"m",repeat:"n",type:"rangenumber"},{name:"start_unit",detail:"The starting unit, the unit currently assigned to `value`.",example:'"g"',require:"m",repeat:"n",type:"rangeall"},{name:"end_unit",detail:"The unit of measure into which to convert the argument, `value`.",example:'"kg"',require:"m",repeat:"n",type:"rangeall"}]},{n:"SUMX2MY2",t:14,d:"Calculates the sum of the differences of the squares of values in two arrays.",a:"Sum of the differences of squares.",m:[2,2],p:[{name:"array_x",detail:"The array or range of values whose squares will be reduced by the squares of corresponding entries in `array_y` and added together.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"The array or range of values whose squares will be subtracted from the squares of corresponding entries in `array_x` and added together.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMX2PY2",t:14,d:"Calculates the sum of the sums of the squares of values in two arrays.",a:"Sum of the sums of squares.",m:[2,2],p:[{name:"array_x",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_y` and added together.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_x` and added together.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMXMY2",t:14,d:"Calculates the sum of the squares of differences of values in two arrays.",a:"Sum of the squares of differences.",m:[2,2],p:[{name:"array_x",detail:"The array or range of values that will be reduced by corresponding entries in `array_y`, squared, and added together.",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"The array or range of values that will be subtracted from corresponding entries in `array_x`, the result squared, and all such results added together.",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRANSPOSE",t:14,d:"Transposes the rows and columns of an array or range of cells.",a:"Transposes the rows and columns of an array.",m:[1,1],p:[{name:"array_or_range",detail:"The array or range whose rows and columns will be swapped.",example:"{1,2}",require:"m",repeat:"n",type:"range"}]},{n:"TREND",t:14,d:"Given partial data about a linear trend, fits an ideal linear trend using the least squares method and/or predicts further values.",a:"Fits points to linear trend derived via least-squares.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit.",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"b",detail:"Given a general linear form of `y = m*x+b` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FREQUENCY",t:14,d:"Calculates the frequency distribution of a one-column array into specified classes.",a:"The frequency distribution of array.",m:[2,2],p:[{name:"data",detail:"The array or range containing the values to be counted.",example:"A2:A40",require:"m",repeat:"n",type:"rangenumber"},{name:"classes",detail:"The array or range containing the set of classes.",example:"B2:B5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GROWTH",t:14,d:"Given partial data about an exponential growth trend, fits an ideal exponential growth trend and/or predicts further values.",a:"Fits points to exponential growth trend.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit.",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LINEST",t:14,d:"Given partial data about a linear trend, calculates various parameters about the ideal linear trend using the least-squares method.",a:"Best-fit linear trend via least-squares.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"calculate_b",detail:"Given a linear form of `y = m*x+b`, calculates the y-intercept (`b`) if `TRUE`. Otherwise, forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the linear coefficients and the y-intercept (default).",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOGEST",t:14,d:"Given partial data about an exponential growth curve, calculates various parameters about the best fit ideal exponential growth curve.",a:"Best-fit exponential growth curve.",m:[1,4],p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve.",example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`.",example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the calculated coefficient and exponents.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"MDETERM",t:14,d:"Returns the matrix determinant of a square matrix specified as an array or range.",a:"Matrix determinant of a square matrix.",m:[1,1],p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose determinant will be calculated.",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINVERSE",t:14,d:"Returns the multiplicative inverse of a square matrix specified as an array or range.",a:"Multiplicative inverse of square matrix.",m:[1,1],p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose multiplicative inverse will be calculated.",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MMULT",t:14,d:"Calculates the matrix product of two matrices specified as arrays or ranges.",a:"The matrix product of two matrices.",m:[2,2],p:[{name:"matrix1",detail:"The first matrix in the matrix multiplication operation, represented as an array or range.",example:"A1:B3",require:"m",repeat:"n",type:"rangenumber"},{name:"matrix2",detail:"The second matrix in the matrix multiplication operation, represented as an array or range.",example:"C1:F2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMPRODUCT",t:14,d:"Calculates the sum of the products of corresponding entries in two equal-sized arrays or ranges.",a:"Sum of products of elements in two arrays.",m:[1,255],p:[{name:"array1",detail:"The first array or range whose entries will be multiplied with corresponding entries in the second such array or range.",example:"A2:C5",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:"The second array or range whose entries will be multiplied with corresponding entries in the first such array or range.",example:"D2:F5",require:"o",repeat:"y",type:"rangenumber"}]},{n:"ISFORMULA",t:15,d:"Checks whether a value is a formula.",a:"Whether a value is a formula.",m:[1,1],p:[{name:"cell",detail:"The cell to be verified as containing a formula.",example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"CELL",t:15,d:"Returns the requested information about the specified cell.",a:"Gets information about a cell.",m:[2,2],p:[{name:"info_type",detail:"The type of information requested (see article for available types)",example:'"type"',require:"m",repeat:"n",type:"rangeall"},{name:"reference",detail:"The reference to the cell.",example:"C2",require:"m",repeat:"n",type:"range"}]},{n:"NA",t:15,d:'Returns the "value not available" error, `#N/A`.',a:"The `#N/A` error.",m:[0,0],p:[]},{n:"ERROR_TYPE",t:15,d:"Returns a number corresponding to the error value in a different cell.",a:"Error value of cell (as number).",m:[1,1],p:[{name:"reference",detail:"The cell to find the error number for although you can also provide the error value directly.",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISBLANK",t:15,d:"Checks whether the referenced cell is empty.",a:"Whether the referenced cell is empty.",m:[1,1],p:[{name:"value",detail:"Reference to the cell that will be checked for emptiness.",example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISERR",t:15,d:"Checks whether a value is an error other than `#N/A`.",a:"Whether a value is an error other than `#n/a`.",m:[1,1],p:[{name:"value",detail:"The value to be verified as an error type other than `#N/A`.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISERROR",t:15,d:"Checks whether a value is an error.",a:"Whether a value is an error.",m:[1,1],p:[{name:"value",detail:"The value to be verified as an error type.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISLOGICAL",t:15,d:"Checks whether a value is `TRUE` or `FALSE`.",a:"Whether a value is `true` or `false`.",m:[1,1],p:[{name:"value",detail:"The value to be verified as a logical `TRUE` or `FALSE`.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNA",t:15,d:"Checks whether a value is the error `#N/A`.",a:"Whether a value is the error `#n/a`.",m:[1,1],p:[{name:"value",detail:"The value to be compared with the error value `#N/A`.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNONTEXT",t:15,d:"Checks whether a value is non-textual.",a:"Whether a value is non-textual.",m:[1,1],p:[{name:"value",detail:"The value to be checked.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNUMBER",t:15,d:"Checks whether a value is a number.",a:"Whether a value is a number.",m:[1,1],p:[{name:"value",detail:"The value to be verified as a number.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISREF",t:15,d:"Checks whether a value is a valid cell reference.",a:"Whether a value is a valid cell reference.",m:[1,1],p:[{name:"value",detail:"The value to be verified as a cell reference.",example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISTEXT",t:15,d:"Checks whether a value is text.",a:"Whether a value is text.",m:[1,1],p:[{name:"value",detail:"The value to be verified as text.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TYPE",t:15,d:"Returns a number associated with the type of data passed into the function.",a:"Get the type of a value.",m:[1,1],p:[{name:"value",detail:"The value whose type is to be determined.",example:"C4",require:"m",repeat:"n",type:"rangeall"}]},{n:"N",t:15,d:"Returns the argument provided as a number. Text is converted to 0 and errors are returned as-is.",a:"Argument provided as a number.",m:[1,1],p:[{name:"value",detail:"The argument to be converted to a number.",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DATE",t:16,d:"Converts a provided number to a date.",a:"Converts a provided number to a date.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a date.",example:"25405",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PURE_NUMBER",t:16,d:"Converts a provided date/time, percentage, currency or other formatted numeric value to a pure number without formatting.",a:"Converts any numeric value to a pure number.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a pure number.",example:"50%",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_TEXT",t:16,d:"Converts a provided numeric value to a text value.",a:"Converts a provided numeric value to a text value.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to text.",example:"24",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DOLLARS",t:16,d:"Converts a provided number to a dollar value.",a:"Converts a provided number to a dollar value.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a dollar value.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PERCENT",t:16,d:"Converts a provided number to a percentage.",a:"Converts a provided number to a percentage.",m:[1,1],p:[{name:"value",detail:"The argument or reference to a cell to be converted to a percentage.",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DGET",t:17,d:"Returns a single value from a database table-like array or range using a SQL-like query.",a:"Single value from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMAX",t:17,d:"Returns the maximum value selected from a database table-like array or range using a SQL-like query.",a:"Maximum of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMIN",t:17,d:"Returns the minimum value selected from a database table-like array or range using a SQL-like query.",a:"Minimum of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DAVERAGE",t:17,d:"Returns the average of a set of values selected from a database table-like array or range using a SQL-like query.",a:"Average of a set of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNT",t:17,d:"Counts numeric values selected from a database table-like array or range using a SQL-like query.",a:"Counts values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNTA",t:17,d:"Counts values, including text, selected from a database table-like array or range using a SQL-like query.",a:"Counts values and text from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DPRODUCT",t:17,d:"Returns the product of values selected from a database table-like array or range using a SQL-like query.",a:"Product of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEV",t:17,d:"Returns the standard deviation of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of population sample from table.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEVP",t:17,d:"Returns the standard deviation of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of entire population from table.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSUM",t:17,d:"Returns the sum of values selected from a database table-like array or range using a SQL-like query.",a:"Sum of values from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVAR",t:17,d:"Returns the variance of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Variance of population sample from table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVARP",t:17,d:"Returns the variance of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Variance of a population from a table-like range.",m:[3,3],p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values.",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on.",example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating.",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"AGE_BY_IDCARD",t:"3",d:"Calculate the age based on the Chinese ID number. Support 15 or 18",a:"Get age based on ID number.",m:[1,2],p:[{name:"ID number",example:"A1",detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"},{name:"Deadline",example:'"2017-10-01"',detail:"The deadline or range of age calculation. The default is the current day.",require:"o",repeat:"n",type:"rangedatetime"}]},{n:"SEX_BY_IDCARD",t:"3",d:"Calculate gender based on Chinese ID number. Support 15 or 18",a:"Get gender based on ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIRTHDAY_BY_IDCARD",t:"3",d:"Calculate the birthday based on the Chinese ID number. Support 15 or 18",a:"Get the birthday based on the ID number.",m:[1,2],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"},{name:"Birthday format",example:"0",detail:"Date type, default:0:[1900/01/01], 1:[1900-01-01], 2:[1900\u5E741\u67081\u65E5]",require:"o",repeat:"n",type:"rangeall"}]},{n:"PROVINCE_BY_IDCARD",t:"3",d:"Calculate the province of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the province of birthplace based on the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"CITY_BY_IDCARD",t:"3",d:"Calculate the city of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the city of birthplace based on the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"STAR_BY_IDCARD",t:"3",d:"Calculate the constellation based on the Chinese ID number. Support 15 or 18",a:"Get the constellation based on the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"ANIMAL_BY_IDCARD",t:"3",d:"Calculate the zodiac (rat, ox, tiger, rabbit...) based on the Chinese ID number. Support 15 or 18",a:"Get the zodiac according to the ID number.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISIDCARD",t:"3",d:"Verify that the format of the ID card is correct. Support 15 or 18",a:"Verify the correctness of the ID card format.",m:[1,1],p:[{name:"ID number",example:'"31033519900101XXXX"',detail:"15-digit or 18-digit ID number or range.",require:"m",repeat:"n",type:"rangeall"}]},{n:"DM_TEXT_CUTWORD",t:"4",d:"Text segmentation. Split a series of words into a series of individual words",a:"Chinese text segmentation.",m:[1,2],p:[{name:"Text",example:'"I came to Beijing Tsinghua University"',detail:"Any text that needs word segmentation.",require:"m",repeat:"n",type:"rangeall"},{name:"Word segmentation mode",example:"0",detail:"The default is 0[precision mode], 1[full mode], 2[search engine mode].",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TFIDF",t:"4",d:"Use tf-idf algorithm for keyword extraction. Identify keywords from a series of text",a:"tf-idf keyword recognition.",m:[1,3],p:[{name:"Text",example:'"I came to Beijing Tsinghua University"',detail:"Any text that needs word segmentation.",require:"m",repeat:"n",type:"rangeall"},{name:"Number of keywords",example:"20",detail:"The number of keywords returned by the algorithm, the default is 20",require:"o",repeat:"n",type:"rangenumber"},{name:"Corpus",example:"1",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TEXTRANK",t:"4",d:"Use TextRank algorithm to extract keywords. Identify keywords from a series of text",a:"TextRank keyword recognition.",m:[1,3],p:[{name:"Text",example:'"I came to Beijing Tsinghua University"',detail:"Any text that needs word segmentation.",require:"m",repeat:"n",type:"rangeall"},{name:"Number of keywords",example:"20",detail:"The number of keywords returned by the algorithm, the default is 20",require:"o",repeat:"n",type:"rangenumber"},{name:"Corpus",example:"1",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_CLOSE",t:"5",d:"According to the stock code and date, return the corresponding stock closing price of A shares.",a:"Returns the closing price of stock.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_OPEN",t:"5",d:"According to the stock code and date, return the opening price of stock.",a:"Return the opening price of a shares.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MAX",t:"5",d:"According to the stock code and date, return the highest price of stock.",a:"Return the highest price of stock.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MIN",t:"5",d:"According to the stock code and date, return the lowest price of stock.",a:"Returns the lowest price of stock.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_VOLUMN",t:"5",d:"According to the stock code and date, return the corresponding stock trading volume of A shares.",a:"Returns the corresponding stock trading volume of A shares.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_AMOUNT",t:"5",d:"According to the stock code and date, return the corresponding stock turnover of A shares.",a:"Returns the corresponding stock turnover of A shares.",m:[1,3],p:[{name:"Stock code",example:'"000001"',detail:"6-digit stock code, required.",require:"m",repeat:"n",type:"rangeall"},{name:"Date",example:"2015-01-08",detail:"The trading day of the stock, the default is the latest trading day",require:"o",repeat:"n",type:"rangedate"},{name:"Reversion and exclusion",example:"0",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ISDATE",t:"6",d:"Returns whether a value is a date.",a:"Whether a value is a date.",m:[1,1],p:[{name:"value",example:'"1990-01-01"',detail:"The value to be verified as a date.",require:"m",repeat:"n",type:"rangeall"}]},{n:"LINESPLINES",t:"3",d:"Generate sparklines embedded in the cell to describe the continuous trend of data",a:"Generate sparklines line chart",m:[1,8],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Line color",example:"#2ec7c9",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"Line thickness",example:"1",detail:"Line thickness of the line graph, the default is 1px",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line",example:"avg",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line color",example:"#000",detail:"Color setting of auxiliary line, same as line color configuration, default #000",require:"o",repeat:"n",type:"rangeall"},{name:"Maximum mark",example:"#fc5c5c",detail:"Identifies the maximum value of the line graph, the same line color configuration, default 0 does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Minimum mark",example:"#fc5c5c",detail:"Identify the minimum value of the line graph, the same line color configuration, default 0 does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Mark size",example:"1.5",detail:"The maximum and minimum mark size settings, the default is 1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"AREASPLINES",t:"3",d:"Generate sparklines embedded in the cell area chart, generally used to describe the continuous cumulative value trend of the data",a:"Generate sparklines area chart",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Line color",example:"#2ec7c9",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"Fill color",example:"#CCF3F4",detail:"Form an area chart, the same line color configuration, default 0 does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Line thickness",example:"1",detail:"Line thickness of the line graph, the default is 1px",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line",example:"avg",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none",require:"o",repeat:"n",type:"rangeall"},{name:"Auxiliary line color",example:"#000",detail:"Color setting of auxiliary line, same as line color configuration, default #000",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNSPLINES",t:"3",d:"Generate sparklines embedded in the vertical histogram of cells, generally used to describe the size of discrete data",a:"Generate sparklines vertical histogram",m:[1,6],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar color",example:"#fc5c5c",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"Negative bar color",example:"#97b552",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKCOLUMNSPLINES",t:"3",d:"Generate sparklines, a cumulative vertical histogram embedded in a cell, generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative vertical histogram",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Stack by column",example:"1",detail:"If you need to stack by row, set this item to false or 0, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BARSPLINES",t:"3",d:"Generate sparklines embedded in the cell, generally used to describe the size of discrete data",a:"Generate sparklines horizontal bar graph",m:[1,6],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar color",example:"#fc5c5c",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"Negative bar color",example:"#97b552",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKBARSPLINES",t:"3",d:"Generate sparklines, a cumulative horizontal bar graph embedded in a cell, which is generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative horizontal bar graph",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Stack by column",example:"1",detail:"If you need to stack by row, set this item to false or 0, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Max",example:"100",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"DISCRETESPLINES",t:"3",d:"Generate sparklines embedded in the cell, generally used to describe the trend of discrete data",a:"Generate sparklines discrete graph",m:[1,4],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Segmentation threshold",example:"1",detail:"Discrete graph column color distinction, for example: if the value is 0, blue is greater than 0, red is less than 0, and the default is 0",require:"o",repeat:"n",type:"rangeall"},{name:"Above threshold color",example:"#2ec7c9",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"Below threshold color",example:"#fc5c5c",detail:"The color setting of the bar below the threshold, the same as the color above the threshold, default #fc5c5c",require:"o",repeat:"n",type:"rangeall"}]},{n:"TRISTATESPLINES",t:"3",d:"Generate sparklines, a three-state graph embedded in the cell, which is generally used to describe the trend of three situations, such as winning, losing, or drawing.",a:"Generate sparklines three-state graph",m:[1,6],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Bar interval",example:"1",detail:"The distance between bars, the default is 1",require:"o",repeat:"n",type:"rangeall"},{name:"Bar color",example:"#fc5c5c",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"Negative bar color",example:"#97b552",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552",require:"o",repeat:"n",type:"rangeall"},{name:"Zero value bar color",example:"#999",detail:"Zero value bar color setting, representing 0 value color, the same color configuration of the bar, default #999",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty",require:"o",repeat:"y",type:"rangeall"}]},{n:"PIESPLINES",t:"3",d:"Generate sparklines pie chart embedded in the cell, generally used to describe the proportion of data",a:"Generate sparklines pie chart",m:[1,5],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Rotation angle",example:"0",detail:"The rotation angle of the pie chart, the default is 0",require:"o",repeat:"n",type:"rangeall"},{name:"border",example:"0",detail:"Pie chart border size, default is none 0",require:"o",repeat:"n",type:"rangeall"},{name:"Border color",example:"#000",detail:"The border color of the pie chart, the default is #000",require:"o",repeat:"n",type:"rangeall"},{name:"Color palette",example:"#97b552",detail:"The color of the slice can be set in the palette, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BOXSPLINES",t:"3",d:"Generate sparklines embedded in the cell box plot, generally used to describe the statistical distribution of the data set",a:"Generate sparklines box plot",m:[1,4],p:[{name:"Range",example:"A1:A20",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Outlier ratio",example:"1.5",detail:"The threshold range of outliers, if it is 0 or false, it will not be displayed, the default is 1.5 times",require:"o",repeat:"n",type:"rangeall"},{name:"Target value",example:"10",detail:"The target value setting on the box plot, the default is false and does not display",require:"o",repeat:"n",type:"rangeall"},{name:"Point size",example:"1.5",detail:"The radius of the target point and outlier is set, the default is 1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"BULLETSPLINES",t:"3",d:"Generate sparklines embedded in the cell, generally used to describe the task achievement rate",a:"Generating sparklines bullets",m:[2,3],p:[{name:"Target",example:"10",detail:"The numerical value can be calculated effectively for the achieved target value, such as A1, 100, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"achieved",example:"8",detail:"Only when the value is completed can the value be calculated effectively, such as A1, 100, etc.",require:"m",repeat:"n",type:"rangeall"},{name:"Contrast",example:"12",detail:"Comparative values, such as excess, minimum, and bottom line for awards, can be effectively calculated, such as A1, 100, etc. You can set up to 9 comparison values",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMPOSESPLINES",t:"3",d:"Support multiple types of pictures in the same cell, each parameter represents a sparklines diagram",a:"Combine sparklines graphs into one cell",m:[1,1],p:[{name:"config",example:"PIESPLINES(A1:A20)",detail:"Sparklines chart settings, such as A1:A20, a completed pie chart, line chart settings, etc.",require:"m",repeat:"y",type:"rangeall"}]},{n:"SORT",t:"14",d:"Sorts the rows of a given array or range by the values in one or more columns.",a:"Sorts rows of range by specified column.",m:[1,4],p:[{name:"range",detail:"The data to be sorted.",example:"A2:A17",require:"m",repeat:"n",type:"rangenumber"},{name:"sort_column",detail:"The index of the column in `range` or a range outside of `range` containing the values by which to sort.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"is_ascending",detail:"`TRUE` or `FALSE` indicating whether to sort `sort_column` in ascending order. `FALSE` sorts in descending order.",example:"-1",require:"o",repeat:"n",type:"rangenumber"},{name:"sort_column2",detail:"Additional columns.",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FILTER",t:"14",d:"Returns a filtered version of the source range, returning only rows or columns which meet the specified conditions.",a:"Filters a range based off provided conditions.",m:[2,3],p:[{name:"range",detail:"The data to be filtered.",example:"A5:D20",require:"m",repeat:"n",type:"range"},{name:"condition1",detail:"A column or row containing true or false values corresponding to the first column or row of `range`, or an array formula evaluating to true or false.",example:"1",require:"m",repeat:"n",type:"range"},{name:"condition2",detail:"Additional rows or columns containing boolean values `TRUE` or `FALSE` indicating whether the corresponding row or column in `range` should pass through `FILTER`. Can also contain array formula expressions which evaluate to such rows or columns. All conditions must be of the same type (row or column). Mixing row conditions and column conditions is not permitted.",example:'""',require:"o",repeat:"n",type:"rangeall"}]},{n:"UNIQUE",t:"14",d:"Returns unique rows in the provided source range, discarding duplicates. Rows are returned in the order in which they first appear in the source range.",a:"Unique rows in the provided source range.",m:[1,3],p:[{name:"range",detail:"The data to filter by unique entries.",example:"A2:B26",require:"m",repeat:"n",type:"rangenumber"},{name:"by_col",detail:"[Option] - Logical value, indicating how to compare; by row = FALSE() or omitted; by column = TRUE().",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"occurs_once",detail:"[Option] - Logical value, only one occurrence in the unique value is returned = TRUE(); including all unique values = FALSE() or omitted.",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANDARRAY",t:"14",d:"Returns a grid of random numbers between 0 inclusive and 1 exclusive. The grid size will match the provided rows and columns arguments. If neither rows nor columns are provided, then the grid will be size 1 x 1.",a:"Returns a grid of random numbers.",m:[0,2],p:[{name:"rows",detail:"The number of rows to populate with a random number.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"columns",detail:"The number of columns to populate with a random number.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SEQUENCE",t:"14",d:"Returns a grid of sequential numbers starting at a specified start value and increasing by a specified step size. By default, the sequence starts at and increases by 1.",a:"Returns a grid of sequential numbers.",m:[1,4],p:[{name:"rows",detail:"The number of rows in the function's resulting grid.",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"columns",detail:"The number of columns in the function's resulting grid. If omitted, the result grid will have 1 column.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"start",detail:"The number, at which to start the sequence. If omitted, the sequence will start at 1.",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"step",detail:"The amount each value in the sequence will differ by. If omitted, each value will differ by 1.",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"EVALUATE",t:"3",d:"Evaluate a formula or expression expressed in words and return the result",a:"Evaluate according to literal formula or expression.",m:[1,1],p:[{name:"expression",example:'"A1+5*2^2"',detail:"Formula or expression",require:"m",repeat:"n",type:"rangeall"}]}],toolbar:{undo:"Deshacer",redo:"Rehacer",paintFormat:"Clonar formato",currencyFormat:"Formato de moneda",percentageFormat:"Formato de porcentaje",numberDecrease:"Menos decimales",numberIncrease:"M\xE1s decimales",moreFormats:"M\xE1s formatos",font:"Fuente",fontSize:"Tama\xF1o Fuente",bold:"Negrita (Ctrl+B)",italic:"It\xE1lica (Ctrl+I)",strikethrough:"Tachar (Alt+Shift+5)",underline:"Guion bajo",textColor:"Color texto",chooseColor:"elegir color",resetColor:"Reinicializar",customColor:"PERSONALIZADO",alternatingColors:"Colores alternos",confirmColor:"Vale",cancelColor:"Cancelar",collapse:"Recoger",fillColor:"Color de relleno",border:"Borde",borderStyle:"Estilo Borde",mergeCell:"Juntar celdas",chooseMergeType:"Elegir tipo de uni\xF3n",horizontalAlign:"Alineaci\xF3n Horizontal",verticalAlign:"Alineaci\xF3n Vertical",alignment:"Alineaci\xF3n",textWrap:"Ajuste de texto",textWrapMode:"Modo de ajuste de texto",textRotate:"Rotar texto",textRotateMode:"Modo de rotar texto",freezeTopRow:"Fijar fila superior",sortAndFilter:"Ordenar y filtrar",findAndReplace:"Buscar y reemplazar",sum:"SUMA",autoSum:"SUMA autom\xE1tica",moreFunction:"M\xE1s funciones",conditionalFormat:"Formato condicional",postil:"Comentario",pivotTable:"Tabla Din\xE1mica",chart:"Gr\xE1fica",screenshot:"Captura de pantalla",splitColumn:"Separar texto",insertImage:"Insertar imagen",dataVerification:"Verificaci\xF3n de datos",protection:"Proteger la hoja",clearText:"Limpiar color",noColorSelectedText:"Ning\xFAn color seleccionado",toolMore:"M\xE1s",toolLess:"Menos",toolClose:"Cerrar",toolMoreTip:"M\xE1s funcionalidades",moreOptions:"M\xE1s opciones",cellFormat:"Configuraci\xF3n formato de celda",print:"Imprimir"},alternatingColors:{applyRange:"Aplicar a rango",selectRange:"Seleccionar un rango de datos",header:"Cabecera",footer:"Pie",errorInfo:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona una sola \xE1rea y vuelve a intentarlo",textTitle:"Estilo Formato",custom:"PERSONALIZADO",close:"cerrar",selectionTextColor:"Haz clic para seleccionar el color del texto",selectionCellColor:"Haz clic para seleccionar el color de la celda",removeColor:"Eliminar colores alternos",colorShow:"color",currentColor:"Actual",tipSelectRange:"Selecciona la gama de colores alternos",errorNoRange:"No hay ning\xFAn rango seleccionado",errorExistColors:"Los colores alternos ya existen y no se pueden editar"},button:{confirm:"Vale",cancel:"Cancelar",close:"Cerrar",update:"Actualizar",delete:"Eliminar",insert:"Insertar",prevPage:"Previous",nextPage:"Next",total:"total:"},paint:{start:"Inicio clonar formato",end:"ESC",tipSelectRange:"Selecciona el rango que quieres copiar",tipNotMulti:"No se puede realizar esta operaci\xF3n en un rango de selecci\xF3n m\xFAltiple"},format:{moreCurrency:"M\xE1s formatos de moneda",moreDateTime:"M\xE1s formatos de fecha y hora",moreNumber:"M\xE1s formatos de n\xFAmero",titleCurrency:"Formatos de moneda",decimalPlaces:"Decimales",titleDateTime:"Formatos de fecha y hora",titleNumber:"Formatos de n\xFAmeros"},info:{detailUpdate:"Nuevo abierto",detailSave:"Cache local restaurado",row:"",column:"",loading:"Cargando...",copy:"Copiar",return:"Salir",rename:"Renombrar",tips:"Renombrar Libro",noName:"Hoja sin t\xEDtulo",wait:"esperando actualizaci\xF3n",add:"A\xF1adir",addLast:"m\xE1s filas al final",backTop:"Volver arriba",pageInfo:"Total ${total}\uFF0Cp\xE1gina ${totalPage}\uFF0Cactual ${currentPage}",nextPage:"Siguiente",tipInputNumber:"Introduce el n\xFAmero",tipInputNumberLimit:"El rango de aumento est\xE1 limitado a 1-100",tipRowHeightLimit:"La altura de la fila debe estar entre 0 ~ 545",tipColumnWidthLimit:"El ancho de la columna debe estar entre 0 ~ 2038",pageInfoFull:"Total ${total}\uFF0Cp\xE1gina ${totalPage}\uFF0CSe muestran todos los datos"},currencyDetail:{RMB:"RMB",USdollar:"D\xF3lar US",EUR:"EUR",GBP:"GBP",HK:"HK",JPY:"JPY",AlbanianLek:"Albanian Lek",AlgerianDinar:"Algerian Dinar",Afghani:"Afghani",ArgentinePeso:"Argentine Peso",UnitedArabEmiratesDirham:"United Arab Emirates Dirham",ArubanFlorin:"Aruban Florin",OmaniRial:"Omani Rial",Azerbaijanimanat:"Azerbaijani manat",EgyptianPound:"Egyptian Pound",EthiopianBirr:"Ethiopian Birr",AngolaKwanza:"Angola Kwanza",AustralianDollar:"Australian Dollar",Patacas:"Patacas",BarbadosDollar:"Barbados Dollar",PapuaNewGuineaKina:"Papua New Guinea Kina",BahamianDollar:"Bahamian Dollar",PakistanRupee:"Pakistan Rupee",ParaguayanGuarani:"Paraguayan Guarani",BahrainiDinar:"Bahraini Dinar",PanamanianBalboa:"Panamanian Balboa",Brazilianreal:"Brazilian real",Belarusianruble:"Belarusian ruble",BermudianDollar:"Bermudian Dollar",BulgarianLev:"Bulgarian Lev",IcelandKrona:"Iceland Krona",BosniaHerzegovinaConvertibleMark:"Bosnia-Herzegovina Convertible Mark",PolishZloty:"Polish Zloty",Boliviano:"Boliviano",BelizeDollar:"Belize Dollar",BotswanaPula:"Botswana Pula",NotDannuzhamu:"Not Dannuzhamu",BurundiFranc:"Burundi Franc",NorthKoreanWon:"North Korean Won",DanishKrone:"Danish Krone",EastCaribbeanDollar:"East Caribbean Dollar",DominicaPeso:"Dominica Peso",RussianRuble:"Russian Ruble",EritreanNakfa:"Eritrean Nakfa",CFAfranc:"CFA franc",PhilippinePeso:"Philippine Peso",FijiDollar:"Fiji Dollar",CapeVerdeEscudo:"Cape Verde Escudo",FalklandIslandsPound:"Falkland Islands Pound",GambianDalasi:"Gambian Dalasi",Congolesefranc:"Congolese franc",ColombianPeso:"Colombian Peso",CostaRicanColon:"Costa Rican Colon",CubanPeso:"Cuban Peso",Cubanconvertiblepeso:"Cuban convertible peso",GuyanaDollar:"Guyana Dollar",KazakhstanTenge:"Kazakhstan Tenge",Haitiangourde:"Haitian gourde",won:"won",NetherlandsAntillesGuilder:"Netherlands Antilles Guilder",Honduraslempiras:"Honduras lempiras",DjiboutiFranc:"Djibouti Franc",KyrgyzstanSom:"Kyrgyzstan Som",GuineaFranc:"Guinea Franc",CanadianDollar:"Canadian Dollar",GhanaianCedi:"Ghanaian Cedi",Cambodianriel:"Cambodian riel",CzechKoruna:"Czech Koruna",ZimbabweDollar:"Zimbabwe Dollar",QatariRiyal:"Qatari Riyal",CaymanIslandsDollar:"Cayman Islands Dollar",Comorianfranc:"Comorian franc",KuwaitiDinar:"Kuwaiti Dinar",CroatianKuna:"Croatian Kuna",KenyanShilling:"Kenyan Shilling",LesothoLoti:"Lesotho Loti",LaoKip:"Lao Kip",LebanesePound:"Lebanese Pound",Lithuanianlitas:"Lithuanian litas",LibyanDinar:"Libyan Dinar",LiberianDollar:"Liberian Dollar",RwandaFranc:"Rwanda Franc",RomanianLeu:"Romanian Leu",MalagasyAriary:"Malagasy Ariary",MaldivianRufiyaa:"Maldivian Rufiyaa",MalawiKwacha:"Malawi Kwacha",MalaysianRinggit:"Malaysian Ringgit",MacedoniawearingDinar:"Macedonia wearing Dinar",MauritiusRupee:"Mauritius Rupee",MauritanianOuguiya:"Mauritanian Ouguiya",MongolianTugrik:"Mongolian Tugrik",BangladeshiTaka:"Bangladeshi Taka",PeruvianNuevoSol:"Peruvian Nuevo Sol",MyanmarKyat:"Myanmar Kyat",MoldovanLeu:"Moldovan Leu",MoroccanDirham:"Moroccan Dirham",MozambiqueMetical:"Mozambique Metical",MexicanPeso:"Mexican Peso",NamibianDollar:"Namibian Dollar",SouthAfricanRand:"South African Rand",SouthSudanesePound:"South Sudanese Pound",NicaraguaCordoba:"Nicaragua Cordoba",NepaleseRupee:"Nepalese Rupee",NigerianNaira:"Nigerian Naira",NorwegianKrone:"Norwegian Krone",GeorgianLari:"Georgian Lari",RMBOffshore:"RMB (Offshore)",SwedishKrona:"Swedish Krona",SwissFranc:"Swiss Franc",SerbianDinar:"Serbian Dinar",SierraLeone:"Sierra Leone",SeychellesRupee:"Seychelles Rupee",SaudiRiyal:"Saudi Riyal",SaoTomeDobra:"Sao Tome Dobra",SaintHelenapound:"Saint Helena pound",SriLankaRupee:"Sri Lanka Rupee",SwazilandLilangeni:"Swaziland Lilangeni",SudanesePound:"Sudanese Pound",Surinamesedollar:"Surinamese dollar",SolomonIslandsDollar:"Solomon Islands Dollar",SomaliShilling:"Somali Shilling",TajikistanSomoni:"Tajikistan Somoni",PacificFranc:"Pacific Franc",ThaiBaht:"Thai Baht",TanzanianShilling:"Tanzanian Shilling",TonganPaanga:"Tongan Pa'anga",TrinidadandTobagoDollar:"Trinidad and Tobago Dollar",TunisianDinar:"Tunisian Dinar",TurkishLira:"Turkish Lira",VanuatuVatu:"Vanuatu Vatu",GuatemalanQuetzal:"Guatemalan Quetzal",CommissionBolivar:"Commission Bolivar",BruneiDollar:"Brunei Dollar",UgandanShilling:"Ugandan Shilling",UkrainianHryvnia:"Ukrainian Hryvnia",UruguayanPeso:"Uruguayan Peso",Uzbekistansom:"Uzbekistan som",WesternSamoaTala:"Western Samoa Tala",SingaporeDollar:"Singapore Dollar",NT:"NT",NewZealandDollar:"New Zealand Dollar",HungarianForint:"Hungarian Forint",SyrianPound:"Syrian Pound",JamaicanDollar:"Jamaican Dollar",ArmenianDram:"Armenian Dram",YemeniRial:"Yemeni Rial",IraqiDinar:"Iraqi Dinar",IranianRial:"Iranian Rial",NewIsraeliShekel:"New Israeli Shekel",IndianRupee:"Indian Rupee",IndonesianRupiah:"Indonesian Rupiah",JordanianDinar:"Jordanian Dinar",VND:"VND",ZambianKwacha:"Zambian Kwacha",GibraltarPound:"Gibraltar Pound",ChileanPeso:"Chilean Peso",CFAFrancBEAC:"CFA Franc BEAC"},defaultFmt:[{text:"Autom\xE1tico",value:"General",example:""},{text:"Texto",value:"@",example:""},{text:"",value:"partir",example:""},{text:"N\xFAmero",value:"##0.00",example:"1000.12"},{text:"Porcentaje",value:"#0.00%",example:"12.21%"},{text:"Cient\xEDfico",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"Contabilidad",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"Moneda",value:"\xA50.00",example:"\xA51200.09"},{text:"",value:"partir",example:""},{text:"Fecha",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"Hora",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"Hora 24H",value:"hh:mm",example:"15:00"},{text:"Fecha Hora",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"Fecha Hora 24 H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"partir",example:""},{text:"Formatos personalizados",value:"fmtOtherSelf",example:"m\xE1s"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"PM 01:30",value:"AM/PM hh:mm"},{name:"PM 1:30",value:"AM/PM h:mm"},{name:"PM 1:30:30",value:"AM/PM h:mm:ss"},{name:"08-05 PM 01:30",value:"MM-dd AM/PM hh:mm"}],fontFamily:{MicrosoftYaHei:"YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3},border:{borderTop:"borderTop",borderBottom:"borderBottom",borderLeft:"borderLeft",borderRight:"borderRight",borderNone:"borderNone",borderAll:"borderAll",borderOutside:"borderOutside",borderInside:"borderInside",borderHorizontal:"borderHorizontal",borderVertical:"borderVertical",borderColor:"borderColor",borderSize:"borderSize"},merge:{mergeAll:"Unir todo",mergeV:"Verticalmente",mergeH:"Horizontalmente",mergeCancel:"Separar",overlappingError:"No se pueden fusionar \xE1reas superpuestas",partiallyError:"No se puede realizar esta operaci\xF3n en celdas parcialmente unidas"},align:{left:"izquierda",center:"centro",right:"derecha",top:"Arriba",middle:"Centro",bottom:"Abajo"},textWrap:{overflow:"Desbordar",wrap:"Ajustar",clip:"Cortar"},rotation:{none:"Ninguno",angleup:"Ladear Arriba",angledown:"Ladear Abajo",vertical:"Apilar Verticalmente",rotationUp:"Rotar Arriba",rotationDown:"Rotar Abajo"},freezen:{default:"Fijar",freezenRow:"Primera Fila",freezenColumn:"Primera Columna",freezenRC:"Ambas",freezenRowRange:"Fijar rango filas",freezenColumnRange:"Fijar rango columnas",freezenRCRange:"Fijar ambos rangos",freezenCancel:"Cancelar",noSeletionError:"No hay rango para seleccionar"},sort:{asc:"Ascendente ",desc:"Descendente ",custom:"Ordenaci\xF3n personalizada",hasTitle:"Los datos tienen una fila de encabezado",sortBy:"Ordenar por",addOthers:"A\xF1adir otra columna de ordenaci\xF3n",close:"cerrar",confirm:"ordenar",columnOperation:"Columna",secondaryTitle:"y despu\xE9s por",sortTitle:"Ordenar rango",sortRangeTitle:"Ordenar rango de",sortRangeTitleTo:"a",noRangeError:"No se puede realizar esta operaci\xF3n en m\xFAltiples \xE1reas de selecci\xF3n, selecciona un solo rango e intenta nuevamente",mergeError:"Hay celdas combinadas en la selecci\xF3n, \xA1esta operaci\xF3n no se puede realizar!"},filter:{filter:"crear filtro",sortByAsc:"Ordenar A-Z",sortByDesc:"Ordenar Z-A",filterByColor:"Filtrar por color",filterByCondition:"Filtrar por condici\xF3n",filterByValues:"Filtrar por valores",filiterInputNone:"Ninguno",filiterInputTip:"Introduce valor de filtro",filiterRangeStartTip:"Valor para f\xF3rmula",filiterRangeEndTip:"Valor para f\xF3rmula",filterValueByAllBtn:"Seleccionar todos",filterValueByClearBtn:"Limpiar",filterValueByInverseBtn:"Invertir",filterValueByTip:"filtrar por valores",filterConform:"Confirmar",filterCancel:"Cancelar",clearFilter:"Quitar filtro",conditionNone:"Ninguno",conditionCellIsNull:"Est\xE1 vac\xEDo",conditionCellNotNull:"No est\xE1 vac\xEDo",conditionCellTextContain:"El texto contiene",conditionCellTextNotContain:"El texto no contiene",conditionCellTextStart:"El texto empieza con",conditionCellTextEnd:"El texto termina con",conditionCellTextEqual:"El texto es exactamente",conditionCellDateEqual:"La fecha es",conditionCellDateBefore:"La fecha es anterior",conditionCellDateAfter:"La fecha es posterior",conditionCellGreater:"Mayor que",conditionCellGreaterEqual:"Mayor o igual que",conditionCellLess:"Menor que",conditionCellLessEqual:"Menor o igual que",conditionCellEqual:"Es igual a",conditionCellNotEqual:"No es igual a",conditionCellBetween:"Est\xE1 entre",conditionCellNotBetween:"No est\xE1 entre",filiterMoreDataTip:"\xA1Gran cantidad de datos! por favor espera",filiterMonthText:"Mes",filiterYearText:"A\xF1o",filiterByColorTip:"Filtrar por color de celda",filiterByTextColorTip:"Filtrar por color de fuente",filterContainerOneColorTip:"Esta columna contiene solo un color",filterDateFormatTip:"Format fecha",valueBlank:"(Nulo)",mergeError:"Hay celdas combinadas en la selecci\xF3n del filtro, \xA1esta operaci\xF3n no se puede realizar!"},rightclick:{copy:"Copiar",copyAs:"Copiar como",paste:"Pegar",insert:"Insertar",delete:"Eliminar",deleteCell:"Eliminar celda",deleteSelected:"Eliminar seleccionado ",hide:"Esconder",hideSelected:"Esconder seleccionado ",showHide:"Mostrar ocultos ",to:"Hacia",left:"Izquierda",right:"Derecha",top:"Arriba",bottom:"Abajo",moveLeft:"Mover izquierda",moveUp:"Mover arriba",add:"A\xF1adir",row:"Fila",column:"Columna",width:"Ancho",height:"Alto",number:"N\xFAmero",confirm:"Confirmar",orderAZ:"Ordenar A-Z",orderZA:"Ordenar Z-A",clearContent:"Limpiar contenido",matrix:"Operaci\xF3n de Matriz",sortSelection:"Ordenar",filterSelection:"Filtrar",chartGeneration:"Crear gr\xE1fico",firstLineTitle:"t\xEDtulo primera l\xEDnea",untitled:"sin t\xEDtulo",array1:"Matriz unidimensional",array2:"Matriz bidimensional",array3:"Matrices multidimensionales",diagonal:"Diagonal",antiDiagonal:"Anti-diagonal",diagonalOffset:"Desplazamiento Diagonal",offset:"Desplazamiento",boolean:"Booleana",flip:"Voltear",upAndDown:"Arriba y abajo",leftAndRight:"Izquierda y derecha",clockwise:"Sentido horario",counterclockwise:"Sentido anti-horario",transpose:"Transponer",matrixCalculation:"C\xE1lculo de matrices",plus:"Suma",minus:"Resta",multiply:"Multiplicaci\xF3n",divided:"Divisi\xF3n",power:"Exponenciaci\xF3n",root:"Ra\xEDz Cuadrada",log:"Logaritmo",delete0:"Eliminar valores nulos en ambos extremos",removeDuplicate:"Eliminar valores duplicados",byRow:"Por fila",byCol:"Por columna",generateNewMatrix:"Generar nueva matriz"},comment:{insert:"Insertar",edit:"Editar",delete:"Elimiar",showOne:"Mostrar/Ocular",showAll:"Mostrar/Ocular Todo"},screenshot:{screenshotTipNoSelection:"Selecciona el alcance de la captura de pantalla",screenshotTipTitle:"\xA1Advertencia!",screenshotTipHasMerge:"Esta operaci\xF3n no se puede realizar en celdas combinadas",screenshotTipHasMulti:"Esta operaci\xF3n no se puede realizar en varios rangos de selecci\xF3n",screenshotTipSuccess:"Exitoso",screenshotImageName:"Captura de pantalla",downLoadClose:"Cerrar",downLoadCopy:"Copiar al portapapeles",downLoadBtn:"Descargar",browserNotTip:"no es compatible con el navegador IE.",rightclickTip:'Haz clic con el bot\xF3n derecho en la imagen y selecciona "copiar"',successTip:'Con \xE9xito (si falla el pegado, haz clic con el bot\xF3n derecho en la imagen para "copiar imagen")'},splitText:{splitDelimiters:"Delimitadores",splitOther:"Otros",splitContinueSymbol:"Los separadores consecutivos se tratan como uno solo",splitDataPreview:"Previsualizar",splitTextTitle:"Partir texto",splitConfirmToExe:"Ya hay datos aqu\xED, \xBFquieres reemplazarlos?",tipNoMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona una \xFAnica \xE1rea y vuelve a intentarlo",tipNoMultiColumn:"Solo se puede convertir una columna de datos a la vez. El \xE1rea seleccionado puede tener varias filas, pero no varias columnas. Vuelve a intentarlo despu\xE9s de seleccionar un solo rango de columnas"},imageText:{imageSetting:"Configuraci\xF3n de imagen",close:"Cerrar",conventional:"Convencional",moveCell1:"Mover y cambiar el tama\xF1o de las celdas",moveCell2:"Mover y no cambiar el tama\xF1o de la celda",moveCell3:"No mover ni cambiar el tama\xF1o de la celda",fixedPos:"Posici\xF3n fija",border:"Borde",width:"Ancho",radius:"Radio",style:"Estilo",solid:"S\xF3lido",dashed:"Discontinua",dotted:"Punteado",double:"Doble",color:"Color"},punctuation:{tab:"Tabulaci\xF3n",semicolon:"punto y coma",comma:"coma",space:"espacio"},findAndReplace:{find:"Encontrar",replace:"Reemplazar",goto:"Ir a",location:"Ubicaci\xF3n",formula:"F\xF3rmula",date:"Fecha",number:"N\xFAmero",string:"Texto",error:"Error",condition:"Condici\xF3n",rowSpan:"Intervalo de filas",columnSpan:"Intervalo de columnas",locationExample:"Ubicaci\xF3n",lessTwoRowTip:"Selecciona al menos dos filas",lessTwoColumnTip:"Selecciona al menos dos columnas",findTextbox:"Encontrar Contenido",replaceTextbox:"Reemplazar Contenido",regexTextbox:"Expresi\xF3n Regular",wholeTextbox:"Palabra entera",distinguishTextbox:"Distingue may\xFAsculas y min\xFAsculas",allReplaceBtn:"Reemplazar Todo",replaceBtn:"Reemplazar",allFindBtn:"Encontrar Todo",findBtn:"Encontrar siguiente",noFindTip:"No se encontr\xF3 el contenido",modeTip:"Esta operaci\xF3n no est\xE1 disponible en este modo",searchTargetSheet:"Hoja",searchTargetCell:"Celda",searchTargetValue:"Valor",searchInputTip:"Introduce el contenido de la b\xFAsqueda",noReplceTip:"No hay nada que reemplazar",noMatchTip:"No se encontraron coincidencias",successTip:"${xlength} elementos encontrados",locationConstant:"Constante",locationFormula:"F\xF3rmula",locationDate:"Fecha",locationDigital:"N\xFAmero",locationString:"Texto",locationBool:"L\xF3gicos",locationError:"Error",locationNull:"Nulo",locationCondition:"Formato condicional",locationRowSpan:"Intervalo fila",locationColumnSpan:"Intervalo columna",locationTiplessTwoRow:"Selecciona al menos dos filas",locationTiplessTwoColumn:"Selecciona al menos dos columnas",locationTipNotFindCell:"Celda no encontrada"},sheetconfig:{delete:"Eliminar",copy:"Copiar",rename:"Renombrar",changeColor:"Cambiar color",hide:"Ocultar",unhide:"Mostrar",moveLeft:"Mover izquierda",moveRight:"Mover derecja",resetColor:"Reiniciar color",cancelText:"Cancelar",chooseText:"Confirmar color",tipNameRepeat:"\xA1El nombre de la p\xE1gina de la pesta\xF1a no se puede repetir! Rev\xEDsalo",noMoreSheet:"El libro de trabajo contiene al menos una hoja de trabajo visual. Para eliminar la hoja de trabajo seleccionada, inserta una nueva hoja de trabajo o muestra una hoja de trabajo oculta",confirmDelete:"\xBFEst\xE1s seguro de eliminar",redoDelete:"Se puede deshacer con Ctrl+Z",noHide:"No se puede ocultar, al menos conserva una etiqueta de hoja",chartEditNoOpt:"\xA1Esta operaci\xF3n no est\xE1 permitida en el modo de edici\xF3n de gr\xE1ficos!",sheetNameSpecCharError:`El nombre no puede contener:[ ] : ? * / ' "`,sheetNamecannotIsEmptyError:"El nombre de la hoja no puede estar vac\xEDo"},conditionformat:{conditionformat_greaterThan:"Conditionformat-GreaterThan",conditionformat_greaterThan_title:"Dar formato a celdas mayores que",conditionformat_lessThan:"Conditionformat-LessThan",conditionformat_lessThan_title:"Dar formato a celdas m\xE1s peque\xF1as que",conditionformat_betweenness:"Conditionformat-Betweenness",conditionformat_betweenness_title:"Dar formato a celdas con valores entre",conditionformat_equal:"Conditionformat-Equal",conditionformat_equal_title:"Dar formato a celdas iguales a",conditionformat_textContains:"Conditionformat-TextContains",conditionformat_textContains_title:"Dar formato a las celdas que contienen el siguiente texto",conditionformat_occurrenceDate:"Conditionformat-OccurrenceDate",conditionformat_occurrenceDate_title:"Dar formato a celdas que contienen las siguientes fechas",conditionformat_duplicateValue:"Conditionformat-DuplicateValue",conditionformat_duplicateValue_title:"Dar formato a celdas que contienen los siguientes tipos de valores",conditionformat_top10:"Conditionformat-Top10",conditionformat_top10_percent:"Conditionformat-Top10%",conditionformat_top10_title:"Formatea las celdas con el valor m\xE1s alto",conditionformat_last10:"Conditionformat-Last10",conditionformat_last10_percent:"Conditionformat-Last10%",conditionformat_last10_title:"Formatea las celdas con el valor m\xE1s peque\xF1o",conditionformat_AboveAverage:"Conditionformat-AboveAverage",conditionformat_AboveAverage_title:"Dar formato a celdas por encima del promedio",conditionformat_SubAverage:"Conditionformat-SubAverage",conditionformat_SubAverage_title:"Dar formato a celdas por debajo del promedio",rule:"Regla",newRule:"Nueva regla",editRule:"Editar regla",deleteRule:"Eliminar regla",deleteCellRule:"Eliminar regla de celda",deleteSheetRule:"Eliminar regla de hoja",manageRules:"Reglas administraci\xF3n",showRules:"Muestra sus reglas de formato",highlightCellRules:"Resaltar reglas de celda",itemSelectionRules:"Reglas de selecci\xF3n de elementos",conditionformatManageRules:"Administrador de reglas de formato condicional",format:"Formatear",setFormat:"Establecer formato",setAs:"Establecer como",setAsByArea:"Para el \xE1rea seleccionada, establecer",applyRange:"Aplicar rango",selectRange:"Seleccionar rango de aplicaci\xF3n",selectRange_percent:"Porcentaje del rango seleccionado",selectRange_average:"Valor promedio del rango seleccionado",selectRange_value:"Valor en el rango seleccionado",pleaseSelectRange:"Selecciona el rango de aplicaci\xF3n",selectDataRange:"Seleccionar rango de datos",selectCell:"seleccionar celda",pleaseSelectCell:"Selecciona una celda",pleaseSelectADate:"Selecciona una fecha",pleaseEnterInteger:"Introduzca un n\xFAmero entero entre 1 y 1000",onlySingleCell:"Solo se puede hacer referencia a una sola celda",conditionValueCanOnly:"El valor de la condici\xF3n solo puede ser un n\xFAmero o una sola celda",ruleTypeItem1:"Aplicar formato a todas las celdas seg\xFAn sus valores respectivos",ruleTypeItem2:"Solo formatear celdas que contengan",ruleTypeItem2_title:"Solo para celdas que cumplan las siguientes condiciones",ruleTypeItem3:"Aplicar formato solo a los n\xFAmeros superiores o inferiores",ruleTypeItem3_title:"Es el valor en la siguiente clasificaci\xF3n",ruleTypeItem4:"Aplicar formato solo a los valores superiores o inferiores al promedio",ruleTypeItem4_title:"Es un valor que cumple las siguientes condiciones",ruleTypeItem5:"Aplicar formato solo a valores \xFAnicos o repetidos",ruleTypeItem6:"Use f\xF3rmulas para determinar qu\xE9 celdas formatear",formula:"f\xF3rmula",textColor:"Color Texto",cellColor:"Color Celda",confirm:"Confirma",confirmColor:"Confirma color",cancel:"Cancela",close:"Cierra",clearColorSelect:"Limpiar selecci\xF3n de color",sheet:"Hoja",currentSheet:"Hoja actual",dataBar:"Barra de datos",dataBarColor:"Color barra de datos",gradientDataBar_1:"Barra de datos de degradado azul-blanco",gradientDataBar_2:"Barra de datos de degradado verde-blanco",gradientDataBar_3:"Barra de datos de degradado rojo-blanco",gradientDataBar_4:"Rayas de degradado de color naranja-blanco",gradientDataBar_5:"Rayas de degradado azul claro-blancas",gradientDataBar_6:"Barra de datos de degradado p\xFArpura-blanco",solidColorDataBar_1:"Barra de datos azul",solidColorDataBar_2:"Barra de datos verde",solidColorDataBar_3:"Barra de datos roja",solidColorDataBar_4:"Barra de datos naranja",solidColorDataBar_5:"Barra de datos azul claro",solidColorDataBar_6:"Barra de datos p\xFArpura",colorGradation:"Degradado de color",colorGradation_1:"Gradaci\xF3n de color verde-amarillo-rojo",colorGradation_2:"Gradaci\xF3n de color rojo-amarillo-verde",colorGradation_3:"Gradaci\xF3n de color verde-blanco-rojo",colorGradation_4:"Gradaci\xF3n de color rojo-blanco-verde",colorGradation_5:"Gradaci\xF3n de color azul-blanco-rojo",colorGradation_6:"Gradaci\xF3n de color rojo-blanco-azul",colorGradation_7:"Gradaci\xF3n de color blanco-rojo",colorGradation_8:"Gradaci\xF3n de color rojo-blanco",colorGradation_9:"Gradaci\xF3n de color verde-blanco",colorGradation_10:"Gradaci\xF3n de color blanco-verde",colorGradation_11:"Gradaci\xF3n de color verde-amarillo",colorGradation_12:"Gradaci\xF3n de color amarillo-verde",icons:"iconos",pleaseSelectIcon:"Haz clic para seleccionar un grupo de iconos:",cellValue:"Valor de celda",specificText:"Texto espec\xEDfico",occurrence:"Fecha",greaterThan:"Mayor que",lessThan:"Menor que",between:"Entre",equal:"Igual",in:"En",between2:"",contain:"Contiene",textContains:"Texto contiene",duplicateValue:"Valor duplicado",uniqueValue:"Valor Unico",top:"Mejor",top10:"10 mejores",top10_percent:"10% mejores",last:"Ultimo",last10:"Ultimos 10",last10_percent:"Ultimos 10%",oneself:"",above:"Encima",aboveAverage:"Encima media",below:"Debajo",belowAverage:"Debajo media",all:"Todos",yesterday:"A\xF1o a fecha",today:"Hoy",tomorrow:"Ma\xF1ana",lastWeek:"Ultima semana",thisWeek:"Esta semana",lastMonth:"Ultimo mes",thisMonth:"Este mes",lastYear:"Ultimo a\xF1o",thisYear:"Este a\xF1o",last7days:"Ultimos 7 d\xEDas",last30days:"Ultimos 30 d\xEDas",next7days:"Siguientes 7 d\xEDas",next30days:"Siguientes 30 d\xEDas",next60days:"Siguientes 60 d\xEDas",chooseRuleType:"Elige el tipo de regla",editRuleDescription:"Editar descripci\xF3n de regla",newFormatRule:"Nueva regla de formato",editFormatRule:"Editar regla de formato",formatStyle:"Estilo",fillType:"Rellenar",color:"Color",twocolor:"Dos colores",tricolor:"Tricolor",multicolor:"Multi color",grayColor:"Color gris",gradient:"Gradiente",solid:"S\xF3lido",maxValue:"Valor m\xE1ximo",medianValue:"Valor mediano",minValue:"Valor m\xEDnimo",direction:"Direcci\xF3n",threeWayArrow:"Flecha de tres direcciones",fourWayArrow:"Flecha de cuatro direcciones",fiveWayArrow:"Flecha de cinco direcciones",threeTriangles:"Tres tri\xE1ngulos",shape:"Forma",threeColorTrafficLight:"Sem\xE1foro de tres colores",fourColorTrafficLight:"Sem\xE1foro de cuatro colores",threeSigns:"Tres signos",greenRedBlackGradient:"Gradiente verde-rojo-negro",rimless:"Sin aros",bordered:"Bordeado",mark:"Marcar",threeSymbols:"Tres s\xEDmbolos",tricolorFlag:"Bandera tricolor",circled:"Rodeado",noCircle:"Sin c\xEDrculo",grade:"Grado",grade4:"4 Grado",grade5:"5 Grado",threeStars:"3 Estrellas",fiveQuadrantDiagram:"Diagrama de cinco cuadrantes",fiveBoxes:"5 Cajas"},dataVerification:{cellRange:"Rango celdas",selectCellRange:"Haz clic para seleccionar un rango de celdas",selectCellRange2:"Selecciona un rango de celdas",verificationCondition:"Condici\xF3n de verificaci\xF3n",allowMultiSelect:"Permitir selecci\xF3n m\xFAltiple",dropdown:"lista desplegable",checkbox:"Casilla de verificaci\xF3n",number:"N\xFAmero",number_integer:"N\xFAmero entero",number_decimal:"N\xFAmero decimal",text_content:"Contenido texto",text_length:"Longitud texto",date:"Fecha",validity:"Eficacia",placeholder1:"Introduce las opciones, separadas por comas, como 1,2,3,4,5",placeholder2:"Introduce contenido",placeholder3:"Valor num\xE9rico, como 10",placeholder4:"Introduce el texto especificado",placeholder5:"Introduce el mensaje que se muestra cuando se selecciona la celda",selected:"Seleccionado",notSelected:"No seleccionado",between:"Entre",notBetween:"No entre",equal:"Iqual",notEqualTo:"No iqual a",moreThanThe:"M\xE1s que el",lessThan:"Menos que",greaterOrEqualTo:"Mayor o igual a",lessThanOrEqualTo:"Menor o igual a",include:"Incluir",exclude:"Excluir",earlierThan:"Antes de",noEarlierThan:"No antes de",laterThan:"Despu\xE9s de",noLaterThan:"No despu\xE9s de",identificationNumber:"N\xFAmero de identificaci\xF3n",phoneNumber:"N\xFAmero de tel\xE9fono",remote:"Opci\xF3n de adquisici\xF3n remota autom\xE1tica",prohibitInput:"Prohibir la entrada cuando los datos de entrada no son v\xE1lidos",hintShow:"Mostrar mensaje cuando se selecciona la celda",deleteVerification:"Eliminar verificaci\xF3n",tooltipInfo1:"La opci\xF3n de la lista desplegable no puede estar vac\xEDa",tooltipInfo2:"El contenido de la casilla de verificaci\xF3n no puede estar vac\xEDo",tooltipInfo3:"El valor ingresado no es un tipo num\xE9rico",tooltipInfo4:"El segundo valor no puede ser menor que el primero",tooltipInfo5:"El contenido del texto no puede estar vac\xEDo",tooltipInfo6:"El valor ingresado no es una fecha",tooltipInfo7:"La segunda fecha no puede ser menor que la primera"},formula:{sum:"Suma",average:"Media",count:"Contar",max:"M\xE1x",min:"M\xEDn",ifGenerate:"Generador de f\xF3rmula SI",find:"Aprender m\xE1s",tipNotBelongToIf:"\xA1Esta funci\xF3n de celda no pertenece a la f\xF3rmula SI!",tipSelectCell:"Selecciona la celda para insertar la funci\xF3n",ifGenCompareValueTitle:"Valor de comparaci\xF3n",ifGenSelectCellTitle:"Haz click para seleccionar una celda",ifGenRangeTitle:"Rango",ifGenRangeTo:"a",ifGenRangeEvaluate:"Evaluar rango",ifGenSelectRangeTitle:"Haz click para seleccionar rango",ifGenCutWay:"Forma particionado",ifGenCutSame:"Mismo valor de particionado",ifGenCutNpiece:"Particionar por N",ifGenCutCustom:"Personalizado",ifGenCutConfirm:"Confirma",ifGenTipSelectCell:"Selecciona celdas",ifGenTipSelectCellPlace:"Por favor selecciona celdas",ifGenTipSelectRange:"Selecciona rango",ifGenTipSelectRangePlace:"Por favor selecciona rango",ifGenTipNotNullValue:"El valor de comparaci\xF3n no puede ser vac\xEDo!",ifGenTipLableTitile:"Etiqueta",ifGenTipRangeNotforNull:"El rango no puede quedar vac\xEDo!",ifGenTipCutValueNotforNull:"El valor de partici\xF3n no puede ser vac\xEDo!",ifGenTipNotGenCondition:"No hay condiciones disponibles para la generaci\xF3n!"},formulaMore:{valueTitle:"Valor",tipSelectDataRange:"Selecciona rango de datos",tipDataRangeTile:"Rango de datos",findFunctionTitle:"Funci\xF3n de b\xFAsqueda",tipInputFunctionName:"Nombre o breve descripci\xF3n de la funci\xF3n",Array:"Vector",Database:"Base de datos",Date:"Fecha",Engineering:"Ingenier\xEDa",Filter:"Filtro",Financial:"Financiero",luckysheet:"Luckysheet",other:"Otro",Logical:"L\xF3gica",Lookup:"B\xFAsqueda",Math:"Matem\xE1tico",Operator:"Operadores",Parser:"Compilador",Statistical:"Estad\xEDstico",Text:"Texto",dataMining:"Miner\xEDa de datos",selectFunctionTitle:"Selecciona una funci\xF3n",calculationResult:"Resultado",tipSuccessText:"Exito",tipParamErrorText:"Par\xE1metro err\xF3neo",helpClose:"Cerrar",helpCollapse:"Recoger",helpExample:"Ejemplo",helpAbstract:"Resumen",execfunctionError:"Error en la f\xF3rmula",execfunctionSelfError:"La f\xF3rmula no puede hacer referencia a su propia celda",execfunctionSelfErrorResult:"La f\xF3rmula no puede hacer referencia a su propia celda, lo que dar\xE1 lugar a resultados de c\xE1lculo inexactos",allowRepeatText:"Repetir",allowOptionText:"Opci\xF3n",selectCategory:"O selecciona una categor\xEDa"},drag:{noMerge:"No se puede realizar esta operaci\xF3n en celdas combinadas",afectarPivot:"\xA1Este cambio no se puede realizar en la celda seleccionada porque afectar\xE1 a la tabla din\xE1mica!",noMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona una sola \xE1rea",noPaste:"No se puede pegar este contenido aqu\xED, selecciona una celda en el \xE1rea de pegado e intenta pegar nuevamente",noPartMerge:"No se puede realizar esta operaci\xF3n en celdas parcialmente fusionadas",inputCorrect:"Introduce el valor correcto",notLessOne:"El n\xFAmero de filas y columnas no puede ser inferior a 1",offsetColumnLessZero:"\xA1La columna de desplazamiento no puede ser negativa!",pasteMustKeybordAlert:"\u5728\u8868\u683C\u4E2D\u8FDB\u884C\u590D\u5236\u7C98\u8D34: Ctrl + C \u8FDB\u884C\u590D\u5236, Ctrl + V \u8FDB\u884C\u7C98\u8D34, Ctrl + X \u8FDB\u884C\u526A\u5207",pasteMustKeybordAlertHTMLTitle:"\u5728\u8868\u683C\u4E2D\u8FDB\u884C\u590D\u5236\u7C98\u8D34",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;\u8FDB\u884C\u590D\u5236<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;\u8FDB\u884C\u7C98\u8D34<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;\u8FDB\u884C\u526A\u5207"},pivotTable:{title:"Tabla Din\xE1mica",closePannel:"Cerrar",editRange:"Rango",tipPivotFieldSelected:"Selecciona los campos",tipClearSelectedField:"Limpiar todos los campos",btnClearSelectedField:"Limpiar",btnFilter:"Filtrar",titleRow:"Fila",titleColumn:"Columna",titleValue:"Valor",tipShowColumn:"Los campos de estad\xEDsticas se muestran como columnas",tipShowRow:"Los campos de estad\xEDsticas se muestran como filas",titleSelectionDataRange:"Selecciona rango",titleDataRange:"Rango de datos",valueSum:"SUMA",valueStatisticsSUM:"Suma",valueStatisticsCOUNT:"Contar",valueStatisticsCOUNTA:"Contar A",valueStatisticsCOUNTUNIQUE:"Contar Distintos",valueStatisticsAVERAGE:"Media",valueStatisticsMAX:"M\xE1x",valueStatisticsMIN:"M\xEDn",valueStatisticsMEDIAN:"Mediana",valueStatisticsPRODUCT:"Producto",valueStatisticsSTDEV:"Desviaci\xF3n Est\xE1ndar",valueStatisticsSTDEVP:"Stdevp",valueStatisticslet:"Varianza",valueStatisticsVARP:"VarP",errorNotAllowEdit:"\xA1Esta operaci\xF3n est\xE1 prohibida en el modo sin edici\xF3n!",errorNotAllowMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona un solo rango y vuelve a intentarlo",errorSelectRange:"Seleccione el rango de la nueva tabla din\xE1mica",errorIsDamage:"\xA1Los datos de origen de esta tabla din\xE1mica est\xE1n da\xF1ados!",errorNotAllowPivotData:"\xA1No se puede seleccionar la tabla din\xE1mica como datos de origen!",errorSelectionRange:"\xA1La selecci\xF3n fall\xF3, rango de entrada incorrecto!",errorIncreaseRange:"\xA1Por favor, expande el rango seleccionado!",titleAddColumn:"A\xF1adir columna a la tabla din\xE1mica",titleMoveColumn:"Muever la columna a la celda en blanco de abajo",titleClearColumnFilter:"Quitar el filtro de esta columna",titleFilterColumn:"Filtro",titleSort:"Ordenar",titleNoSort:"No Ordenar",titleSortAsc:"ASC",titleSortDesc:"DESC",titleSortBy:"Ordenar por",titleShowSum:"Mostrar total",titleStasticTrue:"S\xED",titleStasticFalse:"No"},dropCell:{copyCell:"Copiar",sequence:"Secuencia",onlyFormat:"Solo formato",noFormat:"Sin formato",day:"D\xEDa",workDay:"D\xEDa Laborable",month:"Mes",year:"A\xF1o",chineseNumber:"N\xFAmeros Chinos"},imageCtrl:{borderTile:"Color de borde de imagen",borderCur:"Color"},protection:{protectiontTitle:"Protecci\xF3n",enterPassword:"Introduce una contrase\xF1a (opcional)",enterHintTitle:"Preguntar cuando la edici\xF3n est\xE1 prohibida (opcional)",enterHint:"La celda o el gr\xE1fico que est\xE1s intentando cambiar se encuentra en una hoja de trabajo protegida. Si quieres cambiarlo, desprotege la hoja de trabajo. Es posible que tengas que ingresar una contrase\xF1a",swichProtectionTip:"Protege la hoja y el contenido de las celdas bloqueadas",authorityTitle:"Permitir a los usuarios de esta hoja:",selectLockedCells:"Selecciona celdas bloqueadas",selectunLockedCells:"Selecciona celdas desbloqueadas",formatCells:"Formatear celdas",formatColumns:"Formatear columnas",formatRows:"Formatear filas",insertColumns:"Insertar columnas",insertRows:"Insertar filas",insertHyperlinks:"Insertar enlaces",deleteColumns:"Eliminar columnas",deleteRows:"Eliminar filas",sort:"Ordenar",filter:"Filtrar",usePivotTablereports:"Usar informes de tabla din\xE1mica",editObjects:"Editar objetos",editScenarios:"Editar escenarios",allowRangeTitle:"Permitir a los usuarios del rango:",allowRangeAdd:"Nuevo...",allowRangeAddTitle:"T\xEDtulo",allowRangeAddSqrf:"Referencia",selectCellRange:"Haz clic para seleccionar un rango de celdas",selectCellRangeHolder:"Rango de celdas",allowRangeAddTitlePassword:"Contrase\xF1a",allowRangeAddTitleHint:"Pregunta",allowRangeAddTitleHintTitle:"Preguntar cuando hay una contrase\xF1a (opcional)",allowRangeAddtitleDefault:"Nombre del rango de entrada",rangeItemDblclick:"Haz doble clic para editar",rangeItemHasPassword:"Tiene contrase\xF1a",rangeItemErrorTitleNull:"El t\xEDtulo es nulo",rangeItemErrorRangeNull:"La referencia es nula",rangeItemErrorRange:"La reference tiene un error",validationTitle:"Validaci\xF3n de contrase\xF1a",validationTips:"Hay que ingresar una contrase\xF1a para desbloquear la protecci\xF3n de la hoja de trabajo",validationInputHint:"Introduce una contrase\xF1a",checkPasswordNullalert:"Contrase\xF1a requerida!",checkPasswordWrongalert:"\xA1Contrase\xF1a incorrecta. Por favor, prueba de nuevo!",checkPasswordSucceedalert:"Desbloqueo conseguido!",defaultRangeHintText:"La celda est\xE1 protegida con contrase\xF1a.",defaultSheetHintText:"La celda o el gr\xE1fico est\xE1n en una hoja de trabajo protegida. Para realizar cambios, desprotege la hoja de trabajo. Es posible que tengas que ingresar una contrase\xF1a"},cellFormat:{cellFormatTitle:"Formatear celdas",protection:"Protecci\xF3n",locked:"Bloqueado",hidden:"Escondido",protectionTips:"Para bloquear celdas u ocultar f\xF3rmulas, protege la hoja de trabajo. En la barra de herramientas, haz clic en el bot\xF3n Proteger hoja",tipsPart:"Comprobado parcial",tipsAll:"Todo seleccionado",selectionIsNullAlert:"Se requiere una selecci\xF3n!",sheetDataIsNullAlert:"error, no hay datos!"},print:{normalBtn:"Normal",layoutBtn:"Disposici\xF3n de p\xE1gina",pageBtn:"Previsualizaci\xF3n de saltos de p\xE1gina",menuItemPrint:"Imprimir (Ctrl+P)",menuItemAreas:"Imprimir \xE1reas",menuItemRows:"Imprimir t\xEDtulos de filas",menuItemColumns:"Imprimir t\xEDtulos de columnas"},edit:{typing:"mecanograf\xEDa"},websocket:{success:"\xC9xito de la conexi\xF3n de WebSocket",refresh:"Se produjo un error en la conexi\xF3n de WebSocket, \xA1actualice la p\xE1gina!",wait:"Se produjo un error en la conexi\xF3n de WebSocket, \xA1tenga paciencia!",close:"Conexi\xF3n WebSocket cerrada",contact:"Ocurri\xF3 un error de comunicaci\xF3n con el servidor, actualice la p\xE1gina y vuelva a intentarlo; de lo contrario, comun\xEDquese con el administrador.",support:"El navegador actual no es compatible con WebSocket"}}});var ou,su=Ae(()=>{ou={functionlist:[{n:"SUMIF",t:0,d:"\u5C0D\u7BC4\u570D\u4E2D\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u503C\u6C42\u548C\u3002",a:"\u5C0D\u7BC4\u570D\u4E2D\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u503C\u6C42\u548C\u3002",m:[2,3],p:[{name:"\u7BC4\u570D",detail:"\u8981\u6839\u64DA\u689D\u4EF6\u9032\u884C\u6AA2\u6E2C\u7684\u7BC4\u570D\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u689D\u4EF6",detail:`\u8981\u61C9\u7528\u65BC\u7BC4\u570D\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002
\u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6587\u5B57,\u5247\u689D\u4EF6\u5FC5\u9808\u70BA\u5B57\u4E32\u3002\u689D\u4EF6\u53EF\u4EE5\u5305\u542B\u842C\u7528\u5B57\u5143,\u5305\u62EC\u7528\u65BC\u5339\u914D\u55AE\u500B\u5B57\u5143\u7684\uFF1F\u6216\u7528\u65BC\u5339\u914D\u96F6\u500B\u6216\u9023\u7E8C\u591A\u500B\u5B57\u5143\u7684*\u3002\u8981\u5339\u914D\u554F\u865F\u661F\u865F\u672C\u8EAB,\u8ACB\u5728\u8A72\u5B57\u5143\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u865F\uFF08~\uFF09\u9996\u78BC\uFF08\u5373~\uFF1F\u548C~*\uFF09\u3002\u5B57\u4E32\u689D\u4EF6\u5FC5\u9808\u7528\u5F15\u865F\u62EC\u8D77\u4F86\u3002\u51FD\u6578\u6703\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u8207\u689D\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u842C\u7528\u5B57\u5143\uFF09\u3002
\u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6578\u4F4D,\u5247\u689D\u4EF6\u53EF\u4EE5\u662F\u5B57\u4E32\u4E5F\u53EF\u4EE5\u662F\u6578\u4F4D\u3002\u5982\u679C\u7D66\u5B9A\u7684\u689D\u4EF6\u662F\u4E00\u500B\u6578\u4F4D,\u5247\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u662F\u5426\u7B49\u65BC\u689D\u4EF6\u3002\u53E6\u5916,\u689D\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6578\u4F4D\u7684\u5B57\u4E32\uFF08\u4E5F\u5C07\u5C0D\u5176\u9032\u884C\u76F8\u7B49\u6AA2\u6E2C\uFF09,\u6216\u8005\u5E36\u6709\u4EE5\u4E0B\u9996\u78BC\u7684\u6578\u4F4D:=\uFF08\u6AA2\u67E5\u662F\u5426\u76F8\u7B49\uFF09\u3001>\uFF08\u6AA2\u67E5\u7BC4\u570D\u5132\u5B58\u683C\u7684\u503C\u662F\u5426\u5927\u65BC\u689D\u4EF6\u503C\uFF09\u6216<\uFF08\u6AA2\u67E5\u7BC4\u570D\u5132\u5B58\u683C\u7684\u503C\u662F\u5426\u5C0F\u65BC\u689D\u4EF6\u503C\uFF09`,example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"\u6C42\u548C\u7BC4\u570D",detail:"\u8981\u6C42\u548C\u7684\u7BC4\u570D\uFF08\u5982\u679C\u8207\u7BC4\u570D\u4E0D\u540C\uFF09\u3002",example:"B1:B10",require:"o",repeat:"n",type:"range"}]},{n:"TAN",t:0,d:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u6C42\u5176\u6B63\u5207\u503C\u7684\u89D2\u5EA6,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",example:"45*PI()/180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TANH",t:0,d:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5207\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u96D9\u66F2\u6B63\u5207\u503C\u7684\u5BE6\u6578\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CEILING",t:0,d:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6578\u7684\u500D\u6578\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6578\u7684\u500D\u6578\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u5411\u4E0A\u820D\u5165\u7684\u6578\u503C\u3002",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"\u56E0\u6578",detail:"\u8981\u5C07\u503C\u820D\u5165\u5230\u6B64\u6578\u7684\u6574\u6578\u500D\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5207\u503C,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5207\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u6B63\u5207\u503C\u7684\u6578\u503C\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASINH",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u96D9\u66F2\u6B63\u5F26\u503C\u7684\u6578\u503C\u3002",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ABS",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u7D55\u5C0D\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u7D55\u5C0D\u503C\u3002",m:[1,1],p:[{name:"value",detail:"\u8981\u8FD4\u56DE\u5176\u7D55\u5C0D\u503C\u7684\u6578\u3002",example:"-2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOS",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u4F59\u5F26\u503C,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u4F59\u5F26\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u4F59\u5F26\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u4ECB\u65BC-1\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOSH",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u4F59\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u96D9\u66F2\u4F59\u5F26\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTINOMIAL",t:0,d:"\u8FD4\u56DE\u53C3\u6578\u548C\u7684\u968E\u4E58\u9664\u4EE5\u5404\u53C3\u6578\u968E\u4E58\u7684\u4E58\u7A4D\u5F8C\u5F97\u5230\u7684\u503C\u3002",a:"\u8FD4\u56DE\u53C3\u6578\u548C\u7684\u968E\u4E58\u9664\u4EE5\u5404\u53C3\u6578\u968E\u4E58\u7684\u4E58\u7A4D\u5F8C\u5F97\u5230\u7684\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u7B2C\u4E00\u9805\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"ATANH",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5207\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u96D9\u66F2\u6B63\u5207\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u4ECB\u65BC-1\u548C1\u4E4B\u9593\uFF08\u4E0D\u5305\u62EC-1\u548C1\uFF09\u3002",example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN2",t:0,d:"\u4EE5\u5F27\u5EA6\u70BA\u7D44\u7E54\u8FD4\u56DEx\u8EF8\u8207\u5F9E\u539F\u9EDE\uFF080,0\uFF09\u5230\u6307\u5B9A\u5EA7\u6A19\u9EDE\uFF08`x`,`y`\uFF09\u4E4B\u9593\u9023\u7DDA\u7684\u593E\u89D2\u3002",a:"\u4EE5\u5F27\u5EA6\u70BA\u7D44\u7E54\u8FD4\u56DEx\u8EF8\u8207\u5F9E\u539F\u9EDE\uFF080,0\uFF09\u5230\u6307\u5B9A\u5EA7\u6A19\u9EDE\uFF08`x`,`y`\uFF09\u4E4B\u9593\u9023\u7DDA\u7684\u593E\u89D2\u3002",m:[2,2],p:[{name:"x",detail:"\u8981\u8A08\u7B97\u5176\u8207x\u8EF8\u593E\u89D2\u5927\u5C0F\u7684\u7DDA\u6BB5\u7684\u7D42\u9EDEx\u5EA7\u6A19\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"y",detail:"\u8981\u8A08\u7B97\u5176\u8207x\u8EF8\u593E\u89D2\u5927\u5C0F\u7684\u7DDA\u6BB5\u7684\u7D42\u9EDEy\u5EA7\u6A19\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTBLANK",t:1,d:"\u8FD4\u56DE\u7D66\u5B9A\u7BC4\u570D\u5167\u7684\u7A7A\u5132\u5B58\u683C\u6578\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u7BC4\u570D\u5167\u7684\u7A7A\u5132\u5B58\u683C\u6578\u3002",m:[1,1],p:[{name:"\u7BC4\u570D",detail:"\u8981\u7D71\u8A08\u7A7A\u767D\u5132\u5B58\u683C\u6578\u91CF\u7684\u7BC4\u570D\u3002",example:"A2:C100",require:"m",repeat:"n",type:"range"}]},{n:"COSH",t:0,d:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u4F59\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u96D9\u66F2\u4F59\u5F26\u503C\u7684\u5BE6\u6578\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"INT",t:0,d:"\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u5C0F\u65BC\u6216\u7B49\u65BC\u8A72\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u3002",a:"\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u5C0F\u65BC\u6216\u7B49\u65BC\u8A72\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u6574\u6578\u7684\u6578\u503C\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISEVEN",t:0,d:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5076\u6578\u3002",a:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5076\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u5076\u6578\u7684\u6578\u503C\u3002
\u5982\u679C\u503C\u70BA\u5076\u6578\u6216\u6307\u5411\u5305\u542B\u5076\u6578\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISEVEN\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISODD",t:0,d:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5947\u6578\u3002",a:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5947\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u5947\u6578\u7684\u6578\u503C\u3002
\u5982\u679C\u503C\u70BA\u5947\u6578\u6216\u6307\u5411\u5305\u542B\u5947\u6578\u7684\u5132\u5B58\u683C,ISODD\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LCM",t:0,d:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5C0F\u516C\u500D\u6578\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5C0F\u516C\u500D\u6578\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u5728\u6C42\u6700\u5C0F\u516C\u500D\u6578\u6578\u7684\u8A08\u7B97\u4E2D\u6AA2\u67E5\u5176\u56E0\u6578\u7684\u7B2C\u4E00\u9805\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u6C42\u6700\u5C0F\u516C\u500D\u6578\u6642\u8981\u8003\u616E\u5176\u56E0\u6578\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"3",require:"o",repeat:"y",type:"rangeall"}]},{n:"LN",t:0,d:"\u8FD4\u56DE\u6578\u503C\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",a:"\u8FD4\u56DE\u6578\u503C\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u4EE5e\u70BA\u5E95\u6578\u8A08\u7B97\u5176\u5C0D\u6578\u7684\u503C\u3002
\u503C\u5FC5\u9808\u70BA\u6B63\u6578\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOG",t:0,d:"\u6839\u64DA\u6307\u5B9A\u5E95\u6578\u8FD4\u56DE\u6578\u4F4D\u7684\u5C0D\u6578\u3002",a:"\u6839\u64DA\u6307\u5B9A\u5E95\u6578\u8FD4\u56DE\u6578\u4F4D\u7684\u5C0D\u6578\u3002",m:[1,2],p:[{name:"\u503C",detail:"\u60F3\u8981\u8A08\u7B97\u5176\u5C0D\u6578\u7684\u6B63\u5BE6\u6578\u3002",example:"128",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5E95\u6578",detail:"[\u53EF\u9078] - \u5C0D\u6578\u7684\u5E95\u6578\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"LOG10",t:0,d:"\u8FD4\u56DE\u6578\u503C\u4EE510\u70BA\u5E95\u7684\u5C0D\u6578\u3002",a:"\u8FD4\u56DE\u6578\u503C\u4EE510\u70BA\u5E95\u7684\u5C0D\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u8A08\u7B97\u5176\u4EE510\u70BA\u5E95\u7684\u5C0D\u6578\u7684\u6578\u503C\u3002
\u503C\u5FC5\u9808\u70BA\u6B63\u503C\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MOD",t:0,d:"\u8FD4\u56DE\u5169\u6578\u76F8\u9664\u7684\u9918\u6578,\u7D50\u679C\u7684\u7B26\u865F\u8207\u9664\u6578\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u76F8\u9664\u7684\u9918\u6578\u3002",m:[2,2],p:[{name:"\u88AB\u9664\u6578",detail:"\u8981\u5C07\u5176\u76F8\u9664\u4EE5\u5F97\u5230\u9918\u6578\u7684\u6578\u503C\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"\u9664\u6578",detail:"\u7528\u65BC\u9664\u5176\u4ED6\u6578\u7684\u6578\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MROUND",t:0,d:"\u5C07\u6578\u503C\u53D6\u6574\u70BA\u53E6\u4E00\u6574\u6578\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",a:"\u5C07\u6578\u503C\u53D6\u6574\u70BA\u53E6\u4E00\u6574\u6578\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u53D6\u6574\u70BA\u53E6\u4E00\u6574\u6578\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u7684\u6578\u503C\u3002",example:"21",require:"m",repeat:"n",type:"rangenumber"},{name:"\u56E0\u6578",detail:"\u503C\u5C07\u53D6\u6B64\u56E0\u6578\u7684\u6574\u6578\u500D\u3002",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ODD",t:0,d:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6578\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6578\u503C,\u53D6\u6574\u503C\u70BA\u5927\u65BC\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5947\u6578\u3002
\u5982\u679C\u503C\u70BA\u8CA0\u6578,\u5247\u5C07\u5176\u53D6\u6574\u70BA\u7D55\u5C0D\u503C\u5927\u65BC\u8A72\u503C\u7684\u76F8\u9130\u8CA0\u5947\u6578`,example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMSQ",t:0,d:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u5E73\u65B9\u7E3D\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u5E73\u65B9\u7E3D\u548C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u5C07\u5176\u5E73\u65B9\u76F8\u52A0\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u8981\u5C07\u5176\u5E73\u65B9\u8207\u503C1\u7684\u5E73\u65B9\u76F8\u52A0\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMBIN",t:0,d:"\u7D66\u5B9A\u96C6\u5408\u4E2D\u7684\u5C0D\u8C61\u7E3D\u6578\u548C\u8981\u9078\u64C7\u7684\u5C0D\u8C61\u6578\u91CF,\u8FD4\u56DE\u5171\u6709\u591A\u5C11\u7A2E\u4E0D\u540C\u9078\u64C7\u7BA1\u9053\u3002",a:"\u7D66\u5B9A\u96C6\u5408\u4E2D\u7684\u5C0D\u8C61\u7E3D\u6578\u548C\u8981\u9078\u64C7\u7684\u5C0D\u8C61\u6578\u91CF",m:[2,2],p:[{name:"n",detail:"\u8981\u5F9E\u4E2D\u9032\u884C\u9078\u64C7\u7684\u5C0D\u8C61\u96C6\u5408\u7684\u5927\u5C0F\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"\u8981\u9078\u64C7\u7684\u5C0D\u8C61\u6578\u91CF\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUM",t:0,d:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u7E3D\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u7E3D\u548C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u8981\u76F8\u52A0\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SUBTOTAL",t:0,d:"\u4F7F\u7528\u6307\u5B9A\u7684\u532F\u7E3D\u51FD\u6578,\u8FD4\u56DE\u4E00\u7CFB\u5217\u7E31\u5411\u5132\u5B58\u683C\u7684\u5206\u985E\u532F\u7E3D\u3002",a:"\u4F7F\u7528\u6307\u5B9A\u7684\u532F\u7E3D\u51FD\u6578",m:[2,256],p:[{name:"\u51FD\u6578\u7A0B\u5F0F\u78BC",detail:`\u7528\u65BC\u8A08\u7B97\u5206\u985E\u532F\u7E3D\u7684\u51FD\u6578\u3002
1\u4EE3\u8868AVERAGE
2\u4EE3\u8868COUNT
3\u4EE3\u8868COUNTA
4\u4EE3\u8868MAX
5\u4EE3\u8868MIN
6\u4EE3\u8868PRODUCT
7\u4EE3\u8868STDEV
8\u4EE3\u8868STDEVP
9\u4EE3\u8868SUM
10\u4EE3\u8868VAR
11\u4EE3\u8868VARP
\u901A\u904E\u5728\u9019\u4E9B2\u4F4D\u7A0B\u5F0F\u78BC\u524D\u9644\u52A010\uFF08\u5C0D\u65BC1\u4F4D\u7A0B\u5F0F\u78BC\uFF09\u62161\uFF08\u5C0D\u65BC2\u4F4D\u7A0B\u5F0F\u78BC\uFF09,\u53EF\u4EE5\u5C07\u96B1\u85CF\u503C\u5FFD\u7565\u3002\u4F8B\u5982,102\u4EE3\u8868\u5FFD\u7565\u96B1\u85CF\u5132\u5B58\u683C\u7684COUNT,\u800C110\u5247\u4EE3\u8868\u5FFD\u7565\u96B1\u85CF\u503C\u7684VAR\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u7BC4\u570D1",detail:"\u8981\u8A08\u7B97\u5206\u985E\u532F\u7E3D\u7684\u7B2C\u4E00\u500B\u7BC4\u570D\u3002",example:"A2:A5",require:"m",repeat:"n",type:"range"},{name:"\u7BC4\u570D2",detail:"[\u53EF\u9078] - \u8981\u8A08\u7B97\u5206\u985E\u532F\u7E3D\u7684\u5176\u4ED6\u7BC4\u570D\u3002",example:"B2:B8",require:"o",repeat:"y",type:"range"}]},{n:"ASIN",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5F26\u503C,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5F26\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u6B63\u5F26\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u4ECB\u65BC-1\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTIF",t:1,d:"\u8FD4\u56DE\u7BC4\u570D\u5167\u6EFF\u8DB3\u67D0\u500B\u689D\u4EF6\u7684\u5132\u5B58\u683C\u7684\u6578\u91CF\u3002",a:"\u8FD4\u56DE\u7BC4\u570D\u5167\u6EFF\u8DB3\u67D0\u500B\u689D\u4EF6\u7684\u5132\u5B58\u683C\u7684\u6578\u91CF\u3002",m:[2,2],p:[{name:"\u7BC4\u570D",detail:"\u8981\u6839\u64DA\u689D\u4EF6\u9032\u884C\u6AA2\u6E2C\u7684\u7BC4\u570D\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u689D\u4EF6",detail:`\u8981\u61C9\u7528\u65BC\u7BC4\u570D\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002
\u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6587\u5B57,\u5247\u689D\u4EF6\u5FC5\u9808\u70BA\u5B57\u4E32\u3002\u689D\u4EF6\u53EF\u4EE5\u5305\u542B\u842C\u7528\u5B57\u5143,\u5305\u62EC\u7528\u65BC\u5339\u914D\u55AE\u500B\u5B57\u5143\u7684\uFF1F\u6216\u7528\u65BC\u5339\u914D\u96F6\u500B\u6216\u9023\u7E8C\u591A\u500B\u5B57\u5143\u7684*\u3002\u8981\u5339\u914D\u554F\u865F\u661F\u865F\u672C\u8EAB,\u8ACB\u5728\u8A72\u5B57\u5143\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u865F\uFF08~\uFF09\u9996\u78BC\uFF08\u5373~\uFF1F\u548C~*\uFF09\u3002\u5B57\u4E32\u689D\u4EF6\u5FC5\u9808\u7528\u5F15\u865F\u62EC\u8D77\u4F86\u3002\u51FD\u6578\u6703\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u8207\u689D\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u842C\u7528\u5B57\u5143\uFF09\u3002
\u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6578\u4F4D,\u5247\u689D\u4EF6\u53EF\u4EE5\u662F\u5B57\u4E32\u4E5F\u53EF\u4EE5\u662F\u6578\u4F4D\u3002\u5982\u679C\u7D66\u5B9A\u7684\u689D\u4EF6\u662F\u4E00\u500B\u6578\u4F4D,\u5247\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u662F\u5426\u7B49\u65BC\u689D\u4EF6\u3002\u53E6\u5916,\u689D\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6578\u4F4D\u7684\u5B57\u4E32\uFF08\u4E5F\u5C07\u5C0D\u5176\u9032\u884C\u76F8\u7B49\u6AA2\u6E2C\uFF09,\u6216\u8005\u5E36\u6709\u4EE5\u4E0B\u9996\u78BC\u7684\u6578\u4F4D:=\u3001>\u3001>=\u3001<\u6216<=,\u9019\u4E9B\u689D\u4EF6\u5C07\u5206\u5225\u7528\u65BC\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u5132\u5B58\u683C\u662F\u5426\u7B49\u65BC\u3001\u5927\u65BC\u3001\u5927\u65BC\u7B49\u65BC\u3001\u5C0F\u65BC\u3001\u5C0F\u65BC\u7B49\u65BC\u689D\u4EF6\u503C\u3002`,example:'">20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"RADIANS",t:0,d:"\u5C07\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5F27\u5EA6\u3002",a:"\u5C07\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5F27\u5EA6\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u5F9E\u5EA6\u8F49\u63DB\u70BA\u5F27\u5EA6\u7684\u89D2\u5EA6\u3002",example:"180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RAND",t:0,d:"\u8FD4\u56DE\u4E00\u500B\u4ECB\u65BC0\u548C1\u4E4B\u9593\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u4E82\u6578\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u4ECB\u65BC0\u548C1\u4E4B\u9593\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u4E82\u6578\u3002",m:[0,0],p:[]},{n:"COUNTUNIQUE",t:0,d:"\u8A08\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u7BC4\u570D\u4E2D\u4E0D\u91CD\u8907\u6578\u503C\u7684\u500B\u6578\u3002",a:"\u8A08\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u7BC4\u570D\u4E2D\u4E0D\u91CD\u8907\u6578\u503C\u7684\u500B\u6578\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u6AA2\u67E5\u5176\u662F\u5426\u552F\u4E00\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A1:C100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u8981\u6AA2\u67E5\u662F\u5426\u552F\u4E00\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"o",repeat:"n",type:"rangeall"}]},{n:"DEGREES",t:0,d:"\u5C07\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5EA6\u3002",a:"\u5C07\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5EA6\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u5F9E\u5F27\u5EA6\u8F49\u63DB\u70BA\u5EA6\u7684\u89D2\u5EA6\u3002",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ERFC",t:9,d:"\u8FD4\u56DE\u6578\u503C\u7684\u4E92\u88DC\u9AD8\u65AF\u8AA4\u5DEE\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u4E92\u88DC\u9AD8\u65AF\u8AA4\u5DEE\u51FD\u6578\u3002",m:[1,1],p:[{name:"z",detail:"\u8981\u70BA\u5176\u8A08\u7B97\u4E92\u88DC\u9AD8\u65AF\u8AA4\u5DEE\u51FD\u6578\u7684\u6578\u503C\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EVEN",t:0,d:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6578\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6578\u503C,\u53D6\u6574\u503C\u70BA\u5927\u65BC\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5076\u6578\u3002
\u5982\u679C\u503C\u70BA\u8CA0\u6578,\u5247\u5C07\u5176\u53D6\u6574\u70BA\u7D55\u5C0D\u503C\u5927\u65BC\u8A72\u503C\u7684\u76F8\u9130\u8CA0\u5076\u6578\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EXP",t:0,d:"\u8FD4\u56DE\u6B50\u62C9\u6578e\uFF08~2.718\uFF09\u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6B50\u62C9\u6578e\uFF08~2.718\uFF09\u7684\u6307\u5B9A\u6B21\u5E42\u3002",m:[1,1],p:[{name:"\u6307\u6578",detail:"\u6307\u5B9Ae\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACT",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u968E\u4E58\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u968E\u4E58\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u4E26\u8FD4\u56DE\u5176\u968E\u4E58\u7684\u6578\u4F4D\u6216\u5C0D\u6578\u4F4D\uFF08\u6240\u5728\u5132\u5B58\u683C\uFF09\u7684\u5F15\u7528\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACTDOUBLE",t:0,d:'\u8FD4\u56DE\u6578\u503C\u7684"\u96D9\u968E\u4E58"\u3002',a:'\u8FD4\u56DE\u6578\u503C\u7684"\u96D9\u968E\u4E58"\u3002',m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u4E26\u8FD4\u56DE\u5176\u96D9\u968E\u4E58\u7684\u6578\u4F4D\u6216\u5C0D\u6578\u4F4D\uFF08\u6240\u5728\u5132\u5B58\u683C\uFF09\u7684\u5F15\u7528\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PI",t:0,d:"\u8FD4\u56DE\u5E36\u670914\u4F4D\u5C0F\u6578\u7684PI\u503C\u3002",a:"\u8FD4\u56DE\u5E36\u670914\u4F4D\u5C0F\u6578\u7684PI\u503C\u3002",m:[0,0],p:[]},{n:"FLOOR",t:0,d:"\u5C07\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u6307\u5B9A\u56E0\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u6307\u5B9A\u56E0\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u820D\u5165\u70BA\u56E0\u6578\u7684\u6700\u63A5\u8FD1\u6574\u6578\u500D\u7684\u6578\u503C\u3002",example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{name:"\u56E0\u6578",detail:`\u8981\u5C07\u503C\u820D\u5165\u5230\u6B64\u6578\u7684\u6574\u6578\u500D\u3002
\u56E0\u6578\u4E0D\u5F97\u70BA0\u3002`,example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GCD",t:0,d:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5927\u516C\u7D04\u6578\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5927\u516C\u7D04\u6578\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8981\u5728\u67E5\u627E\u6700\u5927\u516C\u7D04\u6578\u7684\u8A08\u7B97\u4E2D\u6AA2\u67E5\u5176\u56E0\u6578\u7684\u7B2C\u4E00\u9805\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u6C42\u6700\u5927\u516C\u7D04\u6578\u6642\u8981\u8003\u616E\u5176\u56E0\u6578\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"96",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANDBETWEEN",t:0,d:"\u8FD4\u56DE\u4ECB\u65BC\u5169\u500B\u6574\u6578\u4E4B\u9593\uFF08\u5305\u62EC\u9019\u5169\u500B\u6574\u6578\uFF09\u7684\u4E82\u6578\u3002",a:"\u8FD4\u56DE\u4ECB\u65BC\u5169\u500B\u6574\u6578\u4E4B\u9593\uFF08\u5305\u62EC\u9019\u5169\u500B\u6574\u6578\uFF09\u7684\u4E82\u6578\u3002",m:[2,2],p:[{name:"\u4E0B\u754C",detail:"\u96A8\u6A5F\u503C\u7BC4\u570D\u7684\u4E0B\u754C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4E0A\u754C",detail:"\u96A8\u6A5F\u503C\u7BC4\u570D\u7684\u4E0A\u754C\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUND",t:0,d:"\u5C07\u6578\u4F4D\u56DB\u6368\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002",a:"\u5C07\u6578\u4F4D\u56DB\u6368\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u56DB\u6368\u4E94\u5165\u7684\u6578\u4F4D\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6578",detail:`\u8981\u9032\u884C\u56DB\u6368\u4E94\u5165\u904B\u7B97\u7684\u4F4D\u6578\u3002
\u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u503C\u7684\u5C0F\u6578\u9EDE\u5DE6\u5074\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDDOWN",t:0,d:"\u671D\u8457\u96F6\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0B\u820D\u5165\u3002",a:"\u671D\u8457\u96F6\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0B\u820D\u5165\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u9700\u8981\u5411\u4E0B\u820D\u5165\u7684\u4EFB\u610F\u5BE6\u6578\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6578",detail:`\u8981\u901A\u904E\u820D\u5165\u9054\u5230\u7684\u5C0F\u6578\u4F4D\u6578\u3002
\u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u503C\u7684\u5C0F\u6578\u9EDE\u5DE6\u5074\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDUP",t:0,d:"\u671D\u8457\u9060\u96E20\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0A\u820D\u5165\u3002",a:"\u671D\u8457\u9060\u96E20\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0A\u820D\u5165\u3002",m:[2,2],p:[{name:"\u503C",detail:"\u8981\u5C07\u5176\u820D\u5165\u70BA\u4F4D\u6578\u4F4D\u6578\u4F4D\u7684\u503C,\u59CB\u7D42\u5411\u4E0A\u820D\u5165\u3002",example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6578",detail:`\u8981\u901A\u904E\u820D\u5165\u9054\u5230\u7684\u5C0F\u6578\u4F4D\u6578\u3002
\u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u503C\u7684\u5C0F\u6578\u9EDE\u5DE6\u5074\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SERIESSUM",t:0,d:"\u7D66\u5B9A\u53C3\u6578x\u3001n\u3001m\u548Ca,\u8FD4\u56DE\u5E42\u7D1A\u6578\u7684\u548Ca1xn + a2x\uFF08n+m\uFF09+\u2026+ aix\uFF08n+\uFF08i-1\uFF09m\uFF09,\u5176\u4E2Di\u70BA\u7BC4\u570Da\u4E2D\u7684\u9805\u6578\u3002",a:"\u7D66\u5B9A\u53C3\u6578x\u3001n\u3001m\u548Ca",m:[4,4],p:[{name:"x",detail:"\u5E42\u7D1A\u6578\u7684\u8F38\u5165\u503C\u3002\u96A8\u76F8\u61C9\u7684\u8FD1\u4F3C\u985E\u578B\u800C\u8B8A,\u6709\u53EF\u80FD\u70BA\u89D2\u5EA6\u3001\u6307\u6578\u6216\u5176\u4ED6\u4E00\u4E9B\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:"\u5728\u5E42\u7D1A\u6578\u4E2Dx\u7684\u521D\u59CB\u81EA\u4E58\u5E42\u6B21\u3002",example:"0",require:"m",repeat:"n",type:"rangenumber"},{name:"m",detail:"x\u7684\u5E42\u6B21\u4E2D\u7684\u9644\u52A0\u589E\u91CF\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"a",detail:"\u5305\u542B\u5E42\u7D1A\u6578\u4FC2\u6578\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"{FACT(0)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIGN",t:0,d:"\u7D66\u5B9A\u8F38\u5165\u6578\u503C,\u5982\u679C\u70BA\u8CA0\u8FD4\u56DE-1\uFF1B\u5982\u679C\u70BA\u6B63\u8FD4\u56DE1\uFF1B\u5982\u679C\u70BA\u96F6\u5247\u8FD4\u56DE0\u3002",a:"\u7D66\u5B9A\u8F38\u5165\u6578\u503C",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8FD4\u56DE\u5176\u7B26\u865F\u7684\u6578\u503C\u3002",example:"-42",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIN",t:0,d:"\u7D66\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09,\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u3002",a:"\u7D66\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u7684\u89D2\u5EA6,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SINH",t:0,d:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5F26\u503C\u3002",m:[1,1],p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u96D9\u66F2\u6B63\u5F26\u503C\u7684\u5BE6\u6578\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRT",t:0,d:"\u8FD4\u56DE\u4E00\u500B\u6B63\u6578\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6B63\u6578\u7684\u6B63\u5E73\u65B9\u6839\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u8A08\u7B97\u5176\u6B63\u5E73\u65B9\u6839\u7684\u6578\u503C\u3002
\u503C\u5FC5\u9808\u70BA\u6B63\u6578\uFF1B\u5982\u679C\u70BA\u8CA0,SQRT\u5C07\u8FD4\u56DE#NUM\uFF01\u932F\u8AA4\u3002`,example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRTPI",t:0,d:"\u8FD4\u56DEPI\u8207\u7D66\u5B9A\u6B63\u6578\u4E58\u7A4D\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DEPI\u8207\u7D66\u5B9A\u6B63\u6578\u4E58\u7A4D\u7684\u6B63\u5E73\u65B9\u6839\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u8981\u5C07\u5176\u8207PI\u76F8\u4E58\u4E26\u8FD4\u56DE\u8A72\u4E58\u7A4D\u7684\u5E73\u65B9\u6839\u7684\u6578\u503C
\u503C\u5FC5\u9808\u70BA\u6B63\u6578\uFF1B\u5982\u679C\u70BA\u8CA0\u6578,SQRTPI\u5C07\u8FD4\u56DE#NUM\uFF01\u932F\u8AA4\u3002`,example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GAMMALN",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u746A\u51FD\u6578\u7684\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u746A\u51FD\u6578\u7684\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",m:[1,1],p:[{name:"\u503C",detail:`\u4F3D\u746A\u51FD\u6578\u7684\u8F38\u5165\u503C\u3002\u8FD4\u56DE\u7684\u5C07\u662F\u4F3D\u746A\uFF08\u503C\uFF09\u7684\u81EA\u7136\u5C0D\u6578\u3002
\u503C\u5FC5\u9808\u70BA\u6B63\u6578\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COS",t:0,d:"\u8FD4\u56DE\u7D66\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",m:[1,1],p:[{name:"\u89D2\u5EA6",detail:"\u8981\u53D6\u5176\u4F59\u5F26\u503C\u7684\u89D2\u5EA6,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRUNC",t:0,d:"\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206,\u53D6\u6578\u64DA\u7684\u6307\u5B9A\u6709\u6548\u4F4D\u3002",a:"\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206",m:[1,2],p:[{name:"\u503C",detail:"\u8981\u622A\u53D6\u7684\u6578\u64DA\u3002",example:"3.141592654",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4F4D\u6578",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u5C0F\u6578\u9EDE\u53F3\u5074\u8981\u4FDD\u7559\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u4F4D\u6578\u5927\u65BC\u503C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5C07"\u503C"\u539F\u6A23\u8FD4\u56DE\u3002
\u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u5C0F\u6578\u9EDE\u5DE6\u5074\u6307\u5B9A\u4F4D\u6578\u7684\u503C\u66F4\u6539\u70BA\u96F6\u3002\u5C0F\u6578\u9EDE\u53F3\u5074\u7684\u6240\u6709\u4F4D\u6578\u90FD\u6703\u88AB\u6368\u68C4\u3002\u5982\u679C\u503C\u7684\u6240\u6709\u4F4D\u90FD\u88AB\u66F4\u6539\u70BA\u96F6,\u5247TRUNC\u6703\u8FD4\u56DE0\u3002`,example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUOTIENT",t:0,d:"\u8FD4\u56DE\u4EE5\u4E00\u500B\u6578\u9664\u4EE5\u53E6\u4E00\u500B\u6578\u6240\u5F97\u7684\u7D50\u679C,\u4E0D\u5305\u542B\u9918\u6578\u3002",a:"\u8FD4\u56DE\u4EE5\u4E00\u500B\u6578\u9664\u4EE5\u53E6\u4E00\u500B\u6578\u6240\u5F97\u7684\u7D50\u679C",m:[2,2],p:[{name:"\u88AB\u9664\u6578",detail:"\u8981\u88AB\u9664\u7684\u6578\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"\u9664\u6578",detail:`\u7528\u65BC\u9664\u5176\u4ED6\u6578\u7684\u6578\u503C\u3002
\u9664\u6578\u4E0D\u5F97\u70BA0`,example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POWER",t:0,d:"\u8FD4\u56DE\u6578\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",m:[2,2],p:[{name:"\u5E95\u6578",detail:`\u8981\u8A08\u7B97\u5176\u6307\u6578\u6B21\u5E42\u7684\u6578\u503C\u3002
\u5982\u679C\u5E95\u6578\u70BA\u8CA0,\u5247\u6307\u6578\u5FC5\u9808\u70BA\u6574\u6578\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6307\u6578",detail:"\u6307\u5B9A\u5E95\u6578\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002",example:"0.5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMIFS",t:0,d:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E4B\u548C\u3002",a:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E4B\u548C\u3002",m:[3,257],p:[{name:"\u6C42\u548C\u7BC4\u570D",detail:"\u8981\u5C0D\u5176\u6C42\u548C\u7684\u7BC4\u570D\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u689D\u4EF6\u7BC4\u570D1",detail:"\u8981\u5728\u54EA\u500B\u7BC4\u570D\u5167\u6AA2\u67E5\u689D\u4EF61\u3002",example:" B1:B10",require:"m",repeat:"n",type:"range"},{name:"\u689D\u4EF61",detail:"\u8981\u61C9\u7528\u65BC\u689D\u4EF6\u7BC4\u570D1\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"\u689D\u4EF6\u7BC4\u570D2,\u689D\u4EF62\u2026",detail:"[ \u53EF\u9078 ] - \u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u7BC4\u570D\u548C\u689D\u4EF6\u3002",example:" C1:C10",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTIFS",t:1,d:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E2D\u7684\u5132\u5B58\u683C\u6578\u91CF\u3002",a:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E2D\u7684\u5132\u5B58\u683C\u6578\u91CF\u3002",m:[2,256],p:[{name:"\u689D\u4EF6\u7BC4\u570D1",detail:"\u8981\u5728\u54EA\u500B\u7BC4\u570D\u5167\u6AA2\u67E5\u689D\u4EF61\u3002",example:"A1:A10",require:"m",repeat:"n",type:"range"},{name:"\u689D\u4EF61",detail:"\u8981\u61C9\u7528\u65BC\u689D\u4EF6\u7BC4\u570D1\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"\u689D\u4EF6\u7BC4\u570D2,\u689D\u4EF62\u2026",detail:"[ \u53EF\u9078 ] - \u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u7BC4\u570D\u548C\u689D\u4EF6,\u53EF\u91CD\u8907\u3002",example:" B1:B10",require:"o",repeat:"y",type:"rangeall"}]},{n:"PRODUCT",t:0,d:"\u8FD4\u56DE\u5C07\u4E00\u7D44\u6578\u76F8\u4E58\u6240\u5F97\u7684\u7D50\u679C\u3002",a:"\u8FD4\u56DE\u5C07\u4E00\u7D44\u6578\u76F8\u4E58\u6240\u5F97\u7684\u7D50\u679C\u3002",m:[1,255],p:[{name:"\u4E58\u65781",detail:"\u7528\u65BC\u8A08\u7B97\u4E58\u7A4D\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u4E58\u65782 ... \u4E58\u657830",detail:"[\u53EF\u9078] - \u8981\u76F8\u4E58\u7684\u5176\u4ED6\u6578\u503C",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HARMEAN",t:1,d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u8ABF\u548C\u5E73\u5747\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u8ABF\u548C\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HYPGEOMDIST",t:1,d:"\u8FD4\u56DE\u8D85\u5E7E\u4F55\u5206\u4F48\u3002\u5982\u679C\u5DF2\u77E5\u6A23\u672C\u91CF\u3001\u7E3D\u9AD4\u6210\u529F\u6B21\u6578\u548C\u7E3D\u9AD4\u5927\u5C0F,\u5247 HYPGEOM.DIST \u8FD4\u56DE\u6A23\u672C\u53D6\u5F97\u5DF2\u77E5\u6210\u529F\u6B21\u6578\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u8D85\u5E7E\u4F55\u5206\u4F48\u3002",m:[5,5],p:[{name:"Sample_s",detail:"\u6A23\u672C\u4E2D\u6210\u529F\u7684\u6B21\u6578\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"Number_sample",detail:"\u6A23\u672C\u91CF\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"Population_s",detail:"\u7E3D\u9AD4\u4E2D\u6210\u529F\u7684\u6B21\u6578\u3002",example:"20",require:"m",repeat:"n",type:"rangenumber"},{name:"Number_pop",detail:"\u7E3D\u9AD4\u5927\u5C0F\u3002",example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
\u5982\u679Ccumulative\u70BATRUE\uFF08\uFF09,\u5247HYPGEOM.DIST\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"INTERCEPT",t:1,d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u65B9\u7A0B\u76F4\u7DDA\u8207 Y \u8EF8\u7684\u76F8\u4EA4\u9EDE\uFF08x=0\uFF09\u7684y\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u65B9\u7A0B\u76F4\u7DDA\u8207 Y \u8EF8\u7684\u76F8\u4EA4\u9EDE\uFF08x=0\uFF09\u7684y\u503C\u3002",m:[2,2],p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"KURT",t:1,d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5CED\u5EA6,\u8A72\u540D\u984D\u8A13\u793A\u6578\u64DA\u96C6\uFF08\u5206\u4F48\uFF09\u7684\u5F62\u614B,\u5C24\u5176\u662F\u8A72\u5F62\u614B\u7684\u9661\u5CED\u7A0B\u5EA6\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5CED\u5EA6",m:[1,255],p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LARGE",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7B2C n \u500B\u6700\u5927\u5143\u7D20,n \u7531\u7528\u6236\u6307\u5B9A\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7B2C n \u500B\u6700\u5927\u5143\u7D20",m:[2,2],p:[{name:"\u6578\u64DA",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"n",detail:`\u8981\u8FD4\u56DE\u7684\u5143\u7D20\u7684\u6392\u884C\u4F4D\u7F6E\uFF08\u5F9E\u5927\u5230\u5C0F\u9806\u5E8F\uFF09\u3002
\u4F8B\u5982,\u5C07n\u8A2D\u70BA4\u5C07\u4F7FLARGE\u8FD4\u56DE\u6578\u64DA\u4E2D\u6392\u540D\u7B2C4\u7684\u6700\u5927\u5143\u7D20\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STDEVA",t:1,d:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u6A19\u6E96\u5DEE,\u5C07\u6587\u5B57\u53D6\u503C\u70BA0\u3002",a:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u6A19\u6E96\u5DEE",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2,\u2026",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STDEVP",t:1,d:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u6A19\u6E96\u5DEE\u3002",a:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u6A19\u6E96\u5DEE\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"GEOMEAN",t:1,d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5E7E\u4F55\u5E73\u5747\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5E7E\u4F55\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANK_EQ",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",m:[2,3],p:[{name:"number",detail:"\u8981\u78BA\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"ref",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"order",detail:'[\u53EF\u9078-\u9ED8\u8A8D\u70BA\u6309\u964D\u5E8F\uFF08FALSE\uFF08\uFF09\uFF09] - \u8981\u6309\u6607\u51AA\u9084\u662F\u6309\u964D\u5E8F\u8003\u616E"data"\u4E2D\u7684\u503C\u3002',example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANK_AVG",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u9019\u4E9B\u9805\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u9019\u4E9B\u9805\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",m:[2,3],p:[{name:"number",detail:"\u8981\u78BA\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002",example:"A10",require:"m",repeat:"n",type:"rangenumber"},{name:"ref",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A1:A100",require:"m",repeat:"n",type:"range"},{name:"order",detail:'[\u53EF\u9078-\u9ED8\u8A8D\u70BA\u6309\u964D\u5E8F\uFF08FALSE\uFF08\uFF09\uFF09] - \u8981\u6309\u6607\u51AA\u9084\u662F\u6309\u964D\u5E8F\u8003\u616E"data"\u4E2D\u7684\u503C\u3002',example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"PERCENTRANK_EXC",t:1,d:"\u4EE5\u767E\u5206\u6578\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u4E0D\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6578\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u4E0D\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",m:[2,3],p:[{name:"data",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"x",detail:"\u8981\u78BA\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significance",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA3] - \u8981\u5728\u8A08\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6578\u3002",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PERCENTRANK_INC",t:1,d:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",m:[2,3],p:[{name:"data",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"x",detail:"\u8981\u78BA\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002",example:" A2",require:"m",repeat:"n",type:"rangenumber"},{name:"significance",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA3] - \u8981\u5728\u8A08\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6578\u3002",example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FORECAST",t:1,d:"\u57FA\u65BC\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78,\u8A08\u7B97\u6307\u5B9A x \u7684\u9810\u671F y \u503C\u3002",a:"\u57FA\u65BC\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78",m:[3,3],p:[{name:"x",detail:"x\u8EF8\u4E0A\u7528\u65BC\u9810\u6E2C\u7684\u503C\u3002",example:"A1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHERINV",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u9006\u8B8A\u63DB\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u9006\u8B8A\u63DB\u3002",m:[1,1],p:[{name:"y",detail:"\u8981\u8A08\u7B97\u5176Fisher\u9006\u8B8A\u63DB\u7684\u6578\u503C\u3002",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHER",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u8B8A\u63DB\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u8B8A\u63DB\u3002",m:[1,1],p:[{name:"x",detail:"\u8981\u8A08\u7B97\u5176Fisher\u8B8A\u63DB\u7684\u6578\u503C\u3002",example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MODE_SNGL",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u51FA\u73FE\u6B21\u6578\u6700\u591A\u7684\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u51FA\u73FE\u6B21\u6578\u6700\u591A\u7684\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6A21\u5F0F\u6642\u8981\u6AA2\u67E5\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6A21\u5F0F\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"WEIBULL_DIST",t:1,d:"\u7D66\u5B9A\u5F62\u72C0\u548C\u5C3A\u5EA6,\u8FD4\u56DE\u97CB\u4F2F\u5206\u4F48\u51FD\u6578\uFF08\u6216\u97CB\u4F2F\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF09\u7684\u503C\u3002",a:"\u7D66\u5B9A\u5F62\u72C0\u548C\u5C3A\u5EA6",m:[4,4],p:[{name:"x",detail:"WEIBULL \u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u503C\u3002",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"alpha",detail:`Weibull \u5206\u4F48\u51FD\u6578\u7684\u5F62\u72C0\u53C3\u6578\u3002
alpha\u503C\u5FC5\u9808\u5927\u65BC0\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"beta",detail:`Weibull \u5206\u4F48\u51FD\u6578\u7684\u5C3A\u5EA6\u53C3\u6578\u3002
beta\u503C\u5FC5\u9808\u5927\u65BC0\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"TRUE\uFF08\uFF09\u8868\u793A\u4F7F\u7528\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578,FALSE\uFF08\uFF09\u5247\u8868\u793A\u4F7F\u7528\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002",example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"COUNT",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u6578\u503C\u7684\u500B\u6578\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u6578\u503C\u7684\u500B\u6578\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTA",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u503C\u7684\u6578\u91CF\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u503C\u7684\u6578\u91CF\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVEDEV",t:1,d:"\u8A08\u7B97\u6578\u64DA\u8207\u6578\u64DA\u96C6\u5E73\u5747\u503C\u4E4B\u9593\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u8207\u6578\u64DA\u96C6\u5E73\u5747\u503C\u4E4B\u9593\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"AVERAGE",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C,\u5C0D\u6587\u5B57\u5FFD\u7565\u4E0D\u8A08\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u5E73\u5747\u503C\u6642\u7528\u5230\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u5E73\u5747\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVERAGEA",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u5E73\u5747\u503C\u6642\u7528\u5230\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u5E73\u5747\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"BINOM_DIST",t:1,d:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9805\u5F0F\u5206\u4F48\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9805\u5F0F\u5206\u4F48\u7684\u6982\u7387\u3002",m:[4,4],p:[{name:"number_s",detail:"\u8A66\u9A57\u7684\u6210\u529F\u6B21\u6578\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"trials",detail:"\u7368\u7ACB\u6AA2\u9A57\u7684\u6B21\u6578\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"probability_s",detail:"\u4EFB\u4E00\u7D66\u5B9A\u6AA2\u9A57\u7684\u6210\u529F\u6982\u7387\u3002",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u4E8C\u9805\u5F0F\u7D2F\u7A4D\u5206\u4F48\u3002",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"BINOM_INV",t:1,d:"\u8A08\u7B97\u7D2F\u7A4D\u4E8C\u9805\u5F0F\u5206\u4F48\u5927\u65BC\u6216\u7B49\u65BC\u6307\u5B9A\u689D\u4EF6\u7684\u6700\u5C0F\u503C\u3002",a:"\u8A08\u7B97\u7D2F\u7A4D\u4E8C\u9805\u5F0F\u5206\u4F48\u5927\u65BC\u6216\u7B49\u65BC\u6307\u5B9A\u689D\u4EF6\u7684\u6700\u5C0F\u503C\u3002",m:[3,3],p:[{name:"trials",detail:"\u8C9D\u52AA\u5229\u8A66\u9A57\u6B21\u6578\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7D66\u5B9A\u6AA2\u9A57\u7684\u6210\u529F\u6982\u7387\u3002",example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{name:"alpha",detail:"\u671F\u671B\u7684\u81E8\u754C\u6982\u7387\u3002",example:"0.8",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONFIDENCE_NORM",t:1,d:"\u8A08\u7B97\u5E38\u6001\u5206\u914D\u7684\u7F6E\u4FE1\u5340\u9593\u7684\u4E00\u534A\u5BEC\u5EA6\u3002",a:"\u8A08\u7B97\u5E38\u6001\u5206\u914D\u7684\u7F6E\u4FE1\u5340\u9593\u7684\u4E00\u534A\u5BEC\u5EA6\u3002",m:[3,3],p:[{name:"alpha",detail:`\u7528\u4F86\u8A08\u7B97\u7F6E\u4FE1\u6C34\u51C6\u7684\u986F\u8457\u6027\u6C34\u51C6\u3002
\u7F6E\u4FE1\u6C34\u51C6\u7B49\u65BC100*\uFF081 - alpha\uFF09%,\u4EA6\u5373,\u5982\u679C alpha \u70BA0.05,\u5247\u7F6E\u4FE1\u6C34\u51C6\u70BA 95%\u3002`,example:"0.05",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u6578\u64DA\u5340\u57DF\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",example:"1.6",require:"m",repeat:"n",type:"rangenumber"},{name:"size",detail:"\u6A23\u672C\u7E3D\u91CF\u7684\u5927\u5C0F\u3002",example:"250",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CORREL",t:1,d:"\u8A08\u7B97\u7D66\u5B9A\u6578\u64DA\u96C6\u7684\u76AE\u723E\u905C\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",a:"\u8A08\u7B97\u7D66\u5B9A\u6578\u64DA\u96C6\u7684\u76AE\u723E\u905C\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",m:[2,2],p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_P",t:1,d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7E3D\u9AD4\u5354\u65B9\u5DEE\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7E3D\u9AD4\u5354\u65B9\u5DEE\u3002",m:[2,2],p:[{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_S",t:1,d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u6A23\u672C\u5354\u65B9\u5DEE\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u6A23\u672C\u5354\u65B9\u5DEE\u3002",m:[2,2],p:[{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DEVSQ",t:1,d:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"EXPON_DIST",t:1,d:"\u8FD4\u56DE\u5E36\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684\u503C\u3002",a:"\u8FD4\u56DE\u5E36\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684\u503C\u3002",m:[3,3],p:[{name:"x",detail:"\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"lambda",detail:"\u7528\u65BC\u6307\u5B9A\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684 lambda \u503C\u3002",example:"0.5",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u6307\u6578\u7D2F\u7A4D\u5206\u4F48\u3002",example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIF",t:1,d:"\u6839\u64DA\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u64DA\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",m:[2,3],p:[{name:"criteria_range",detail:"\u8981\u5C0D\u5176\u6AA2\u67E5 criterion \u7684\u7BC4\u570D\u3002",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion",detail:`\u8981\u61C9\u7528\u65BCcriteria_range\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002
\u7B49\u65BC:"\u6587\u5B57" \u6216 1 \u6216 "=\u6587\u5B57" \u6216 "=1"
\u5927\u65BC:">1"
\u5927\u65BC\u7B49\u65BC:">=1"
\u5C0F\u65BC:"<1"
\u5C0F\u65BC\u7B49\u65BC:"<=1"
\u4E0D\u7B49\u65BC:"<>1"\u6216"<>\u6587\u5B57"`,example:'">20"',require:"m",repeat:"n",type:"rangeall"},{name:"average_range",detail:"[\u53EF\u9078] - \u8981\u8A08\u7B97\u5E73\u5747\u503C\u7684\u7BC4\u570D\u3002\u5982\u679C\u672A\u63D0\u4F9B\u6B64\u53C3\u6578,\u5247\u6539\u7528criteria_range\u4F86\u8A08\u7B97\u5E73\u5747\u503C\u3002",example:"B1:B10",require:"o",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIFS",t:1,d:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",m:[2,255],p:[{name:"average_range",detail:"\u8981\u8A08\u7B97\u5E73\u5747\u503C\u7684\u7BC4\u570D\u3002",example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range1",detail:"\u8981\u5C0D\u5176\u6AA2\u67E5 criterion1 \u7684\u7BC4\u570D\u3002",example:" B1:B10",require:"m",repeat:"n",type:"rangeall"},{name:"criterion1",detail:"\u8981\u61C9\u7528\u65BCcriteria_range1\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002",example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{name:"criteria_range2, criterion2, ...",detail:"[\u53EF\u9078] - \u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u7BC4\u570D\u548C\u689D\u4EF6\u3002",example:" C1:C10",require:"m",repeat:"n",type:"rangeall"}]},{n:"PERMUT",t:1,d:"\u8FD4\u56DE\u53EF\u5F9E\u6578\u4F4D\u5C0D\u8C61\u4E2D\u9078\u64C7\u7684\u7D66\u5B9A\u6578\u76EE\u5C0D\u8C61\u7684\u6392\u5217\u6578\u3002",a:"\u8FD4\u56DE\u53EF\u5F9E\u6578\u4F4D\u5C0D\u8C61\u4E2D\u9078\u64C7\u7684\u7D66\u5B9A\u6578\u76EE\u5C0D\u8C61\u7684\u6392\u5217\u6578\u3002",m:[2,2],p:[{name:"number",detail:"\u8868\u793A\u5C0D\u8C61\u500B\u6578\u7684\u6574\u6578\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"number_chosen",detail:"\u8868\u793A\u6BCF\u500B\u6392\u5217\u4E2D\u5C0D\u8C61\u500B\u6578\u7684\u6574\u6578\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRIMMEAN",t:1,d:"\u5728\u6392\u9664\u6578\u64DA\u96C6\u9AD8\u4F4E\u5169\u7AEF\u7684\u90E8\u5206\u6578\u64DA\u4E4B\u5F8C\u8A08\u7B97\u6240\u5F97\u7684\u5E73\u5747\u503C\u3002",a:"\u5728\u6392\u9664\u6578\u64DA\u96C6\u9AD8\u4F4E\u5169\u7AEF\u7684\u90E8\u5206\u6578\u64DA\u4E4B\u5F8C\u8A08\u7B97\u6240\u5F97\u7684\u5E73\u5747\u503C\u3002",m:[2,2],p:[{name:"\u6578\u64DA",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"\u6392\u9664\u6BD4\u4F8B",detail:`\u8981\u5F9E\u6578\u64DA\u96C6\u7684\u6975\u503C\u90E8\u5206\u6392\u9664\u7684\u6578\u64DA\u5360\u6578\u64DA\u96C6\u7684\u6BD4\u4F8B\u3002
\u6392\u9664\u6BD4\u4F8B\u5FC5\u9808\u5927\u65BC\u7B49\u65BC0\u4E14\u5C0F\u65BC1\u3002`,example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_EXC",t:1,d:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC0\u52301\u4E4B\u9593,\u4E0D\u542B0\u82071\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC0\u52301\u4E4B\u9593,\u4E0D\u542B0\u82071\u3002",m:[2,2],p:[{name:"array",detail:"\u5B9A\u7FA9\u76F8\u5C0D\u4F4D\u7F6E\u7684\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C,\u4E0D\u5305\u542B 0 \u548C 1\u3002",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_INC",t:1,d:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC 0 \u5230 1 \u4E4B\u9593,\u5305\u542B 0 \u8207 1\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC 0 \u5230 1 \u4E4B\u9593,\u5305\u542B 0 \u8207 1\u3002",m:[2,2],p:[{name:"array",detail:"\u5B9A\u7FA9\u76F8\u5C0D\u4F4D\u7F6E\u7684\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"k",detail:"0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C,\u5305\u542B 0 \u548C 1\u3002",example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PEARSON",t:1,d:"\u56DE\u76AE\u723E\u751F\uFF08Pearson\uFF09\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",a:"\u56DE\u76AE\u723E\u751F\uFF08Pearson\uFF09\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",m:[2,2],p:[{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_INV",t:1,d:"\u8FD4\u56DE\u6A19\u6E96\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\u3002",a:"\u8FD4\u56DE\u6A19\u6E96\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\u3002",m:[1,1],p:[{name:"probability",detail:"\u5C0D\u61C9\u65BC\u5E38\u6001\u5206\u914D\u7684\u6982\u7387\u3002",example:"0.75",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_DIST",t:1,d:"\u8FD4\u56DE\u6A19\u6E96\u5E38\u6001\u5206\u914D\u51FD\u6578\uFF08\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\uFF09\u3002",a:"\u8FD4\u56DE\u6A19\u6E96\u5E38\u6001\u5206\u914D\u51FD\u6578\uFF08\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\uFF09\u3002",m:[2,2],p:[{name:"z",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5206\u4F48\u7684\u6578\u503C\u3002",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NORM_INV",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",m:[3,3],p:[{name:"probability",detail:"\u5C0D\u61C9\u65BC\u5E38\u6001\u5206\u914D\u7684\u6982\u7387\u3002",example:"0.75",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u5206\u4F48\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u5206\u4F48\u7684\u6A19\u6E96\u5DEE\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_DIST",t:1,d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u5E38\u6001\u5206\u914D\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u5E38\u6001\u5206\u914D\u51FD\u6578\u3002",m:[4,4],p:[{name:"x",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5206\u4F48\u7684\u6578\u503C\u3002",example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u5206\u4F48\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u5206\u4F48\u7684\u6A19\u6E96\u5DEE\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NEGBINOM_DIST",t:1,d:"\u8FD4\u56DE\u8CA0\u4E8C\u9805\u5F0F\u5206\u4F48\u3002",a:"\u8FD4\u56DE\u8CA0\u4E8C\u9805\u5F0F\u5206\u4F48\u3002",m:[4,4],p:[{name:"number_f",detail:"\u8981\u985E\u6BD4\u7684\u5931\u6557\u6B21\u6578\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"number_s",detail:"\u8981\u985E\u6BD4\u7684\u6210\u529F\u6B21\u6578\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7D66\u5B9A\u6AA2\u9A57\u7684\u6210\u529F\u6982\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINA",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u6578\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u6578\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MIN",t:1,d:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MEDIAN",t:1,d:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u4E2D\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u4E2D\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAXA",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u6578\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u6578\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5927\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5927\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAX",t:1,d:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5927\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5927\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LOGNORM_INV",t:1,d:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",a:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",m:[3,3],p:[{name:"probability",detail:"\u8207\u5C0D\u6578\u5206\u4F48\u76F8\u95DC\u7684\u6982\u7387,\u4ECB\u65BC0\u82071\u4E4B\u9593\uFF08\u4E0D\u542B0\u82071\uFF09\u3002",example:"0.4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"ln(x) \u7684\u6A19\u6E96\u5DEE,\u6B63\u6578\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOGNORM_DIST",t:1,d:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u5206\u4F48\u51FD\u6578\u3002",a:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u5206\u4F48\u51FD\u6578\u3002",m:[4,4],p:[{name:"x",detail:"\u7528\u4F86\u8A08\u7B97\u51FD\u6578\u7684\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"ln(x) \u7684\u6A19\u6E96\u5DEE,\u6B63\u6578\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"Z_TEST",t:1,d:"\u8FD4\u56DE z \u6AA2\u9A57\u7684\u55AE\u5C3E P \u503C\u3002",a:"\u8FD4\u56DE z \u6AA2\u9A57\u7684\u55AE\u5C3E P \u503C\u3002",m:[2,3],p:[{name:"array",detail:"\u7528\u4F86\u6AA2\u9A57 x \u7684\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"range"},{name:"x",detail:"\u8981\u6E2C\u8A66\u7684\u503C\u3002",example:"B2",require:"m",repeat:"n",type:"rangenumber"},{name:"sigma",detail:"[\u53EF\u9078] - \u7E3D\u9AD4\uFF08\u5DF2\u77E5\uFF09\u6A19\u6E96\u5DEE\u3002\u5982\u679C\u7701\u7565,\u5247\u4F7F\u7528\u6A23\u672C\u6A19\u6E96\u5DEE\u3002",example:"3",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PROB",t:1,d:"\u8FD4\u56DE\u5340\u57DF\u4E2D\u7684\u6578\u503C\u843D\u5728\u6307\u5B9A\u5340\u9593\u5167\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u5340\u57DF\u4E2D\u7684\u6578\u503C\u843D\u5728\u6307\u5B9A\u5340\u9593\u5167\u7684\u6982\u7387\u3002",m:[3,4],p:[{name:"x_range",detail:"\u5177\u6709\u5404\u81EA\u76F8\u61C9\u6982\u7387\u503C\u7684 x \u6578\u503C\u5340\u57DF\u3002",example:"A3:A6",require:"m",repeat:"n",type:"range"},{name:"prob_range",detail:"\u8207 x_range \u4E2D\u7684\u503C\u76F8\u95DC\u806F\u7684\u4E00\u7D44\u6982\u7387\u503C\u3002",example:"2",require:"m",repeat:"n",type:"range"},{name:"lower_limit",detail:"\u8981\u8A08\u7B97\u5176\u6982\u7387\u7684\u6578\u503C\u4E0B\u754C\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"upper_limit",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA\u4E0B\u754C] - \u8981\u8A08\u7B97\u5176\u6982\u7387\u7684\u53EF\u9078\u6578\u503C\u4E0A\u754C\u3002
\u5982\u679C\u7701\u7565\u4E0A\u754C,PROB\u5247\u8A08\u7B97\u96A8\u6A5F\u9078\u53D6\u76F8\u61C9\u503C\u7684\u6B21\u6578\u6070\u597D\u7B49\u65BC\u4E0B\u754C\u7684\u6982\u7387\u3002`,example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_EXC",t:1,d:"\u57FA\u65BC 0 \u5230 1 \u4E4B\u9593\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u9EDE\u503C\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",a:"\u57FA\u65BC 0 \u5230 1 \u4E4B\u9593\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u9EDE\u503C\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",m:[2,2],p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6578\u503C\u7684\u6578\u7D44\u6216\u6578\u5B57\u578B\u5132\u5B58\u683C\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u5E7E\u500B\u56DB\u5206\u4F4D\u503C\u3002
1\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6A19\u8A18\uFF09\u3002
2\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6A19\u8A18\uFF09\u3002
3\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6A19\u8A18\uFF09\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_INC",t:1,d:"\u6839\u64DA 0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",a:"\u6839\u64DA 0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",m:[2,2],p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6578\u503C\u7684\u6578\u7D44\u6216\u6578\u5B57\u578B\u5132\u5B58\u683C\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u5E7E\u500B\u56DB\u5206\u4F4D\u503C\u3002
0\u8FD4\u56DE\u6578\u64DA\u4E2D\u7684\u6700\u5C0F\u503C\uFF080%\u6A19\u8A18\uFF09\u3002
1\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6A19\u8A18\uFF09\u3002
2\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6A19\u8A18\uFF09\u3002
3\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6A19\u8A18\uFF09\u3002
4\u8FD4\u56DE\u6578\u64DA\u4E2D\u7684\u6700\u5927\u503C\uFF08100%\u6A19\u8A18\uFF09\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POISSON_DIST",t:1,d:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",a:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",m:[3,3],p:[{name:"x",detail:"\u4E8B\u4EF6\u6578\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u671F\u671B\u503C\u3002\u975E\u8CA0\u6578",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u4E00 \u908F\u8F2F\u503C,\u78BA\u5B9A\u6240\u8FD4\u56DE\u7684\u6982\u7387\u5206\u4F48\u7684\u5F62\u5F0F\u3002
\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u767C\u751F\u7684\u96A8\u6A5F\u4E8B\u4EF6\u6578\u5728\u96F6\uFF08\u542B\u96F6\uFF09\u548Cx\uFF08\u542Bx\uFF09\u4E4B\u9593\u7684\u7D2F\u7A4D\u6CCA\u677E\u6982\u7387\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u767C\u751F\u7684\u4E8B\u4EF6\u6578\u6B63\u597D\u662Fx\u7684\u6CCA\u677E\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"RSQ",t:1,d:"\u8FD4\u56DE\u76AE\u723E\u751F(Pearson)\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578r\u7684\u5E73\u65B9\u3002",a:"\u8FD4\u56DE\u76AE\u723E\u751F(Pearson)\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578r\u7684\u5E73\u65B9\u3002",m:[2,2],p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST",t:1,d:"\u8FD4\u56DE\u5B78\u751F\u7684\u5DE6\u5C3E t \u5206\u4F48\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684\u5DE6\u5C3E t \u5206\u4F48\u3002",m:[3,3],p:[{name:"x",detail:"T-\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6578\u503C\u3002",example:"30",require:"m",repeat:"n",type:"rangenumber"},{name:"tails",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
\u5982\u679Ccumulative\u70BATRUE\uFF08\uFF09,\u5247HYPGEOM.DIST\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
\u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"T_DIST_2T",t:1,d:"\u8FD4\u56DE\u5B78\u751F\u7684\u96D9\u5C3E t \u5206\u4F48\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684\u96D9\u5C3E t \u5206\u4F48\u3002",m:[2,2],p:[{name:"x",detail:"T-\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6578\u503C\u3002",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST_RT",t:1,d:"\u8FD4\u56DE\u5B78\u751F\u7684\u53F3\u5C3E t \u5206\u4F48\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684\u53F3\u5C3E t \u5206\u4F48\u3002",m:[2,2],p:[{name:"x",detail:"T-\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6578\u503C\u3002",example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV",t:1,d:"\u8FD4\u56DE\u5B78\u751F\u7684 t \u5206\u4F48\u7684\u5DE6\u5C3E\u53CD\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684 t \u5206\u4F48\u7684\u5DE6\u5C3E\u53CD\u51FD\u6578\u3002",m:[2,2],p:[{name:"probability",detail:`\u8207\u5B78\u751F\u7684 t \u5206\u4F48\u76F8\u95DC\u7684\u6982\u7387\u3002
\u5FC5\u9808\u5927\u65BC 0 \u4E14\u5C0F\u65BC 1\u3002`,example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6578\u503C\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C3\u6578\u4E0D\u662F\u6574\u6578,\u5C07\u622A\u53D6\u5176\u6574\u6578\u90E8\u5206\u3002
\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV_2T",t:1,d:"\u8FD4\u56DE\u5B78\u751F t \u5206\u4F48\u7684\u96D9\u5C3E\u53CD\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u5B78\u751F t \u5206\u4F48\u7684\u96D9\u5C3E\u53CD\u51FD\u6578\u3002",m:[2,2],p:[{name:"probability",detail:`\u8207\u5B78\u751F\u7684t\u5206\u4F48\u76F8\u95DC\u7684\u6982\u7387\u3002
\u5FC5\u9808\u5927\u65BC 0 \u4E14\u5C0F\u65BC 1\u3002`,example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6578\u503C\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C3\u6578\u4E0D\u662F\u6574\u6578,\u5C07\u622A\u53D6\u5176\u6574\u6578\u90E8\u5206\u3002
\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_TEST",t:1,d:"\u8FD4\u56DE\u8207t-\u6AA2\u9A57\u76F8\u95DC\u7684\u6982\u7387\u3002\u7528\u65BC\u5224\u65B7\u5169\u500B\u6A23\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u5169\u500B\u6A23\u672C\u7E3D\u9AD4\u3002",a:"\u8FD4\u56DE\u8207t-\u6AA2\u9A57\u76F8\u95DC\u7684\u6982\u7387\u3002\u7528\u65BC\u5224\u65B7\u5169\u500B\u6A23\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u5169\u500B\u6A23\u672C\u7E3D\u9AD4\u3002",m:[4,4],p:[{name:"array1",detail:"\u5C07\u7528\u65BCt\u6AA2\u9A57\u7684\u7B2C\u4E00\u500B\u6578\u64DA\u6A23\u672C\u6216\u7B2C\u4E00\u7D44\u5132\u5B58\u683C\u3002",example:"A1:A4",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:"\u5C07\u7528\u65BCt\u6AA2\u9A57\u7684\u7B2C\u4E8C\u500B\u6578\u64DA\u6A23\u672C\u6216\u7B2C\u4E8C\u7D44\u5132\u5B58\u683C\u3002",example:"B1:B4",require:"m",repeat:"n",type:"rangenumber"},{name:"tails",detail:`\u6307\u5B9A\u5206\u4F48\u7684\u5C3E\u6578\u3002
\u5982\u679C\u70BA 1:\u4F7F\u7528\u55AE\u5C3E\u5206\u4F48\u3002
\u5982\u679C\u70BA 2:\u4F7F\u7528\u96D9\u5C3E\u5206\u4F48\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`\u6307\u5B9At\u6AA2\u9A57\u7684\u985E\u578B\u3002
\u5982\u679C\u70BA 1:\u57F7\u884C\u914D\u5C0D\u6AA2\u9A57\u3002
\u5982\u679C\u70BA 2:\u57F7\u884C\u96D9\u6A23\u672C\u7B49\u65B9\u5DEE\uFF08\u540C\u65B9\u5DEE\uFF09\u6AA2\u9A57\u3002
\u5982\u679C\u70BA 3:\u57F7\u884C\u96D9\u6A23\u672C\u4E0D\u7B49\u65B9\u5DEE\uFF08\u5F02\u65B9\u5DEE\uFF09\u6AA2\u9A57\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"F_DIST",t:1,d:"\u7D66\u5B9A\u8F38\u5165\u503C x,\u8A08\u7B97\u5169\u500B\u6578\u64DA\u96C6\u7684\u5DE6\u5C3E F \u6982\u7387\u5206\u4F48\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002\u6B64\u5206\u4F48\u4E5F\u7A31\u70BA Fisher-Snedecor \u5206\u4F48\u6216Snedecor F \u5206\u4F48\u3002",a:"\u7D66\u5B9A\u8F38\u5165\u503C x",m:[4,4],p:[{name:"x",detail:"\u7528\u4F86\u8A08\u7B97\u51FD\u6578\u7684\u503C\u3002",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"cumulative",detail:`\u7528\u65BC\u78BA\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002\u9810\u8A2D\u503C\u70BA FALSE\u3002
\u5982\u679C\u70BA TRUE\uFF08\uFF09:F.DIST\u5C07\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u503C\u3002
\u5982\u679C\u70BAFALSE\uFF08\uFF09:F.DIST\u5C07\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u503C\u3002`,example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"F_DIST_RT",t:1,d:"\u7D66\u5B9A\u8F38\u5165x,\u8A08\u7B97\u5169\u500B\u6578\u64DA\u96C6\u7684\u53F3\u5C3EF\u6982\u7387\u5206\u4F48\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002\u6B64\u5206\u4F48\u4E5F\u7A31\u70BAFisher-Snedecor\u5206\u4F48\u6216Snedecor F\u5206\u4F48\u3002",a:"\u7D66\u5B9A\u8F38\u5165 x",m:[3,3],p:[{name:"x",detail:"\u7528\u4F86\u8A08\u7B97\u51FD\u6578\u7684\u503C\u3002",example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"VAR_P",t:1,d:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VAR_S",t:1,d:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u65B9\u5DEE\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARA",t:1,d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE,\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE",m:[1,255],p:[{name:"value1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"value2, ...",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARPA",t:1,d:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE,\u5C07\u6587\u5B57\u53D6\u503C\u70BA0\u3002",a:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE",m:[1,255],p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STEYX",t:1,d:"\u8FD4\u56DE\u901A\u904E\u7DDA\u6027\u56DE\u6B78\u6CD5\u9810\u6E2C\u6BCF\u500B x \u7684 y \u503C\u6642\u6240\u7522\u751F\u7684\u6A19\u6E96\u8AA4\u5DEE\u3002",a:"\u8FD4\u56DE\u901A\u904E\u7DDA\u6027\u56DE\u6B78\u6CD5\u9810\u6E2C\u6BCF\u500B x \u7684 y \u503C\u6642\u6240\u7522\u751F\u7684\u6A19\u6E96\u8AA4\u5DEE\u3002",m:[2,2],p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STANDARDIZE",t:1,d:"\u7D66\u5B9A\u5206\u4F48\u7684\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE,\u8A08\u7B97\u4E00\u500B\u96A8\u6A5F\u8B8A\u6578\u6B63\u614B\u5316\u7684\u76F8\u61C9\u503C\u3002",a:"\u7D66\u5B9A\u5206\u4F48\u7684\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE,\u8A08\u7B97\u4E00\u500B\u96A8\u6A5F\u8B8A\u6578\u6B63\u614B\u5316\u7684\u76F8\u61C9\u503C\u3002",m:[3,3],p:[{name:"x",detail:"\u8981\u6B63\u614B\u5316\u7684\u96A8\u6A5F\u8B8A\u6578\u503C\u3002",example:"96",require:"m",repeat:"n",type:"rangenumber"},{name:"mean",detail:"\u5206\u4F48\u7684\u5E73\u5747\u503C\u3002",example:"80",require:"m",repeat:"n",type:"rangenumber"},{name:"standard_dev",detail:"\u5206\u4F48\u7684\u6A19\u6E96\u5DEE\u3002",example:"6.7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SMALL",t:1,d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u7B2Ck\u500B\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u7B2Ck\u500B\u6700\u5C0F\u503C\u3002",m:[2,2],p:[{name:"array",detail:"\u9700\u8981\u627E\u5230\u7B2Ck\u500B\u6700\u5C0F\u503C\u7684\u6578\u7D44\u6216\u6578\u503C\u6578\u64DA\u5340\u57DF\u3002",example:"A2:B100",require:"m",repeat:"n",type:"range"},{name:"k",detail:"\u8981\u8FD4\u56DE\u7684\u6578\u64DA\u5728\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u88CF\u7684\u4F4D\u7F6E\uFF08\u5F9E\u5C0F\u5230\u5927\uFF09\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SLOPE",t:1,d:"\u8A08\u7B97\u901A\u904E\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u5F97\u5230\u7684\u76F4\u7DDA\u7684\u659C\u7387\u3002",a:"\u8A08\u7B97\u901A\u904E\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u5F97\u5230\u7684\u76F4\u7DDA\u7684\u659C\u7387\u3002",m:[2,2],p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SKEW",t:1,d:"\u8FD4\u56DE\u5206\u4F48\u7684\u504F\u659C\u5EA6\u3002\u504F\u659C\u5EA6\u8868\u660E\u5206\u4F48\u76F8\u5C0D\u65BC\u5E73\u5747\u503C\u7684\u4E0D\u5C0D\u7A31\u7A0B\u5EA6\u3002\u6B63\u504F\u659C\u5EA6\u8868\u660E\u5206\u4F48\u7684\u4E0D\u5C0D\u7A31\u5C3E\u90E8\u8DA8\u5411\u65BC\u66F4\u591A\u6B63\u503C\u3002\u8CA0\u504F\u659C\u5EA6\u8868\u660E\u5206\u4F48\u7684\u4E0D\u5C0D\u7A31\u5C3E\u90E8\u8DA8\u5411\u65BC\u66F4\u591A\u8CA0\u503C\u3002",a:"\u8FD4\u56DE\u5206\u4F48\u7684\u504F\u659C\u5EA6\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SKEW_P",t:1,d:"\u8FD4\u56DE\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u7684\u5206\u4F48\u4E0D\u5C0D\u7A31\u5EA6:\u8868\u660E\u5206\u4F48\u76F8\u5C0D\u65BC\u5E73\u5747\u503C\u7684\u4E0D\u5C0D\u7A31\u7A0B\u5EA6\u3002",a:"\u8FD4\u56DE\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u7684\u5206\u4F48\u4E0D\u5C0D\u7A31\u5EA6:\u8868\u660E\u5206\u4F48\u76F8\u5C0D\u65BC\u5E73\u5747\u503C\u7684\u4E0D\u5C0D\u7A31\u7A0B\u5EA6\u3002",m:[1,255],p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"VLOOKUP",t:2,d:"\u7E31\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u8490\u7D22\u67D0\u500B\u9375\u503C,\u4E26\u8FD4\u56DE\u6240\u627E\u5230\u7684\u884C\u4E2D\u6307\u5B9A\u5132\u5B58\u683C\u7684\u503C\u3002",a:"\u7E31\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u8490\u7D22\u67D0\u500B\u9375\u503C",m:[3,4],p:[{name:"\u8490\u7D22\u9375\u503C",detail:'\u8981\u8490\u7D22\u7684\u503C,\u5982 42\u3001"Cats" \u6216 I24\u3002',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"\u7BC4\u570D",detail:"\u8981\u9032\u884C\u8490\u7D22\u7684\u7BC4\u570D\u3002VLOOKUP \u5C07\u5728\u8A72\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\u4E2D\u8490\u7D22\u8490\u7D22\u9375\u503C\u4E2D\u6307\u5B9A\u7684\u9375\u503C\u3002",example:"A2:B26",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u5217\u7D22\u5F15,\u7BC4\u570D\u4E2D\u7684\u7B2C\u4E00\u5217\u7DE8\u865F\u70BA1\u3002
\u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u65BC1\u548C\u7BC4\u570D\u4E2D\u7684\u5217\u6578\u4E4B\u9593,\u5C07\u8FD4\u56DE#VALUE\uFF01\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5DF2\u6392\u5E8F",detail:`[\u9810\u8A2D\u503C\u70BATRUE()] -\u8A13\u793A\u8981\u8490\u7D22\u7684\u5217\uFF08\u6307\u5B9A\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002\u5927\u591A\u6578\u60C5\u51B5\u4E0B,\u5EFA\u8B70\u8A2D\u70BAFALSE\uFF08\uFF09\u3002
\u5EFA\u8B70\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BAFALSE\u3002\u5982\u679C\u8A2D\u70BAFALSE,\u5C07\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u9805\u3002\u5982\u679C\u5B58\u5728\u591A\u500B\u5339\u914D\u503C,\u5C07\u8FD4\u56DE\u627E\u5230\u7684\u7B2C\u4E00\u500B\u503C\u5C0D\u61C9\u7684\u5132\u5B58\u683C\u7684\u5167\u5BB9,\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C,\u5247\u8FD4\u56DE#N/A\u3002
\u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BATRUE\u6216\u7701\u7565,\u5C07\u8FD4\u56DE\uFF08\u5C0F\u65BC\u6216\u7B49\u65BC\u8490\u7D22\u9375\u503C\u7684\uFF09\u6700\u63A5\u8FD1\u7684\u5339\u914D\u9805\u3002\u5982\u679C\u8490\u7D22\u7684\u5217\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u65BC\u8490\u7D22\u9375\u503C,\u5247\u8FD4\u56DE#N/A\u3002`,example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"HLOOKUP",t:2,d:"\u6A6B\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\u4E2D\u8490\u7D22\u67D0\u500B\u9375\u503C,\u4E26\u8FD4\u56DE\u6240\u627E\u5230\u7684\u5217\u4E2D\u6307\u5B9A\u5132\u5B58\u683C\u7684\u503C\u3002",a:"\u6A6B\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\u4E2D\u8490\u7D22\u67D0\u500B\u9375\u503C",m:[3,4],p:[{name:"\u8490\u7D22\u9375\u503C",detail:'\u8981\u8490\u7D22\u7684\u503C\u3002\u4F8B\u5982,42\u3001"Cats"\u6216I24\u3002',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"\u7BC4\u570D",detail:"\u8981\u9032\u884C\u8490\u7D22\u7684\u7BC4\u570D\u3002\u5C07\u5728\u8A72\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\u4E2D\u8490\u7D22\u5728\u8490\u7D22\u9375\u503C\u4E2D\u6307\u5B9A\u7684\u9375\u503C\u3002",example:"A2:Z6",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u884C\u7D22\u5F15,\u7BC4\u570D\u4E2D\u7684\u7B2C\u4E00\u884C\u7DE8\u865F\u70BA1\u3002
\u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u65BC1\u548C\u7BC4\u570D\u4E2D\u7684\u884C\u6578\u4E4B\u9593,\u5C07\u8FD4\u56DE#VALUE\uFF01\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5DF2\u6392\u5E8F",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE()] - \u8A13\u793A\u8981\u8490\u7D22\u7684\u884C\uFF08\u6307\u5B9A\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002
\u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BATRUE\u6216\u7701\u7565,\u5C07\u8FD4\u56DE\u6700\u63A5\u8FD1\u7684\u5339\u914D\u503C\uFF08\u5C0F\u65BC\u6216\u7B49\u65BC\u8490\u7D22\u9375\u503C\uFF09\u3002\u5982\u679C\u5728\u8490\u7D22\u7684\u884C\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u65BC\u8490\u7D22\u9375\u503C,\u5247\u8FD4\u56DE#N/A\u3002
\u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BATRUE\u6216\u5C07\u5176\u7701\u7565,\u800C\u7BC4\u570D\u7684\u9996\u884C\u4E26\u975E\u8655\u65BC\u5DF2\u6392\u5E8F\u72C0\u614B,\u5247\u8FD4\u56DE\u503C\u53EF\u80FD\u6703\u662F\u932F\u8AA4\u7684\u3002
\u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BAFALSE,\u5247\u50C5\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u3002\u5982\u679C\u5B58\u5728\u591A\u500B\u5339\u914D\u503C,\u5C07\u8FD4\u56DE\u8207\u627E\u5230\u7684\u7B2C\u4E00\u500B\u503C\u5C0D\u61C9\u7684\u5132\u5B58\u683C\u7684\u5167\u5BB9,\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C\u5247\u8FD4\u56DE#N/A\u3002`,example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOOKUP",t:2,d:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u61C9\u9375,\u4E26\u5C07\u76F8\u61C9\u5132\u5B58\u683C\u7684\u503C\u8FD4\u56DE\u5230\u8207\u8490\u7D22\u884C\u6216\u5217\u6240\u5728\u4F4D\u7F6E\u76F8\u540C\u7684\u7D50\u679C\u7BC4\u570D\u4E2D\u3002",a:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u61C9\u9375",m:[2,3],p:[{name:"\u8490\u7D22\u9375\u503C",detail:'\u8981\u5728\u884C\u6216\u5217\u4E2D\u8490\u7D22\u7684\u503C\u3002\u4F8B\u5982,42\u3001"Cats" \u6216 I24\u3002',example:"10003",require:"m",repeat:"n",type:"rangeall"},{name:"\u641C\u7D22\u7BC4\u570D | \u641C\u7D22\u7D50\u679C\u6578\u7D44",detail:"\u4F7F\u7528LOOKUP\u7684\u4E00\u7A2E\u65B9\u6CD5\u662F\u7D66\u5B9A\u55AE\u884C\u6216\u55AE\u5217\u5F62\u5F0F\u7684\u641C\u7D22\u7BC4\u570D\u9032\u884C\u8490\u7D22\u67E5\u627E,\u9019\u7A2E\u7BA1\u9053\u8981\u7528\u5230\u53E6\u4E00\u500B\u53C3\u6578\u7D50\u679C\u7BC4\u570D\u3002\u53E6\u4E00\u7A2E\u7BA1\u9053\u662F\u5C07\u9019\u5169\u500B\u53C3\u6578\u5408\u4F75\u70BA\u4E00\u500B\u641C\u7D22\u7D50\u679C\u6578\u7D44,\u5176\u4E2D\u7B2C\u4E00\u884C\u6216\u7B2C\u4E00\u5217\u7528\u65BC\u8490\u7D22,\u4E26\u5C07\u8FD4\u56DE\u503C\u653E\u5728\u8A72\u6578\u7D44\u7684\u6700\u5F8C\u4E00\u884C\u6216\u6700\u5F8C\u4E00\u5217\u4E2D\u3002",example:"A1:A100",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D50\u679C\u7BC4\u570D",detail:"[ \u53EF\u9078 ] - \u7528\u65BC\u5B58\u653E\u8FD4\u56DE\u7D50\u679C\u7684\u7BC4\u570D\u3002\u8FD4\u56DE\u503C\u5C0D\u61C9\u65BC\u5728\u641C\u7D22\u7BC4\u570D\u4E2D\u627E\u5230\u8490\u7D22\u9375\u503C\u7684\u4F4D\u7F6E\u3002\u6B64\u7BC4\u570D\u5FC5\u9808\u50C5\u70BA\u55AE\u884C\u6216\u55AE\u5217,\u800C\u5982\u679C\u60A8\u4F7F\u7528\u7684\u662F\u641C\u7D22\u7D50\u679C\u6578\u7D44\u7BA1\u9053,\u5247\u4E0D\u61C9\u63D0\u4F9B\u6B64\u53C3\u6578\u3002",example:"B1:B100",require:"o",repeat:"n",type:"rangeall"}]},{n:"ADDRESS",t:2,d:"\u8FD4\u56DE\u5B57\u4E32\u5F62\u5F0F\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u5B57\u4E32\u5F62\u5F0F\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",m:[2,5],p:[{name:"row_num",detail:"\u4E00\u500B\u6578\u503C,\u6307\u5B9A\u8981\u5728\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u884C\u865F\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"column_num",detail:"\u4E00\u500B\u6578\u503C,\u6307\u5B9A\u8981\u5728\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u5217\u865F\uFF08\u800C\u975E\u540D\u7A31\uFF09\u3002A\u5217\u7684\u7DE8\u865F\u70BA1\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"abs_num",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA1] - \u4E00\u500B\u6578\u503C,\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u53C3\u8003\u985E\u578B\u3002
1\u8868\u793A\u884C\u5217\u5747\u63A1\u7528\u7D55\u5C0D\u503C\uFF08\u4F8B\u5982$A$1\uFF09\uFF1B
2\u8868\u793A\u63A1\u7528\u7D55\u5C0D\u884C\u865F,\u76F8\u5C0D\u5217\u6A19\uFF08\u4F8B\u5982A$1\uFF09\uFF1B
3\u8868\u793A\u63A1\u7528\u76F8\u5C0D\u884C\u865F,\u7D55\u5C0D\u5217\u6A19\uFF08\u4F8B\u5982$A1\uFF09\uFF1B
4\u8868\u793A\u884C\u5217\u5747\u63A1\u7528\u76F8\u5C0D\u503C\uFF08\u4F8B\u5982A1\uFF09\u3002`,example:"4",require:"o",repeat:"n",type:"rangenumber"},{name:"A1",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u5E03\u6797\u503C,\u8A13\u793A\u63A1\u7528A1\u6A19\u8A18\u5F62\u5F0F\uFF08TRUE\uFF09\u9084\u662FR1C1\u6A19\u8A18\u5F62\u5F0F\uFF08FALSE\uFF09\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"},{name:"sheet_text",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u9810\u8A2D] - \u7528\u65BC\u6307\u5B9A\u5730\u5740\u6240\u6307\u5411\u7684\u5DE5\u4F5C\u8868\u540D\u7A31\u3002",example:'"Sheet2"',require:"o",repeat:"n",type:"rangeall"}]},{n:"INDIRECT",t:2,d:"\u8FD4\u56DE\u4EE5\u5B57\u4E32\u6307\u5B9A\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u4EE5\u5B57\u4E32\u6307\u5B9A\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",m:[1,2],p:[{name:"ref_text",detail:"\u4EE5\u5E36\u5F15\u865F\u7684\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",example:'"Sheet2!"&B10',require:"m",repeat:"n",type:"rangeall"},{name:"A1",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u5E03\u6797\u503C,\u8A13\u793A\u63A1\u7528A1\u6A19\u8A18\u5F62\u5F0F\uFF08TRUE\uFF09\u9084\u662FR1C1\u6A19\u8A18\u5F62\u5F0F\uFF08FALSE\uFF09\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROW",t:2,d:"\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u884C\u865F",a:"\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u884C\u865F",m:[0,1],p:[{name:"reference",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA\u6B64\u516C\u5F0F\u6240\u5728\u7684\u5132\u5B58\u683C] - \u8981\u8FD4\u56DE\u5176\u884C\u865F\u7684\u5132\u5B58\u683C\u3002
\u5982\u679C\u5132\u5B58\u683C\u5F15\u7528\u6307\u5411\u7684\u7BC4\u570D\u5176\u5BEC\u5EA6\u5927\u65BC\u4E00\u500B\u5132\u5B58\u683C,\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u7528\u4F5C\u6578\u7D44\u516C\u5F0F\u7684,\u9019\u6642\u6703\u50C5\u8FD4\u56DE\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u9996\u884C\u7684\u7DE8\u865F\u503C\u3002`,example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROWS",t:2,d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u884C\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u884C\u6578\u3002",m:[1,1],p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u884C\u6578\u7684\u7BC4\u570D\u3002",example:"A9:A62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COLUMN",t:2,d:"\u6309\u7167 `A=1` \u7684\u898F\u5247\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u5217\u865F\u3002",a:"\u6309\u7167 `A=1` \u7684\u898F\u5247\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u5217\u865F\u3002",m:[0,1],p:[{name:"reference",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA\u5305\u542B\u6B64\u516C\u5F0F\u7684\u5132\u5B58\u683C] - \u8981\u8FD4\u56DE\u5176\u5217\u865F\u7684\u5132\u5B58\u683C\u3002A\u5217\u5C0D\u61C9\u7684\u7DE8\u865F\u70BA1\u3002
\u5982\u679C\u5132\u5B58\u683C\u5F15\u7528\u662F\u5BEC\u5EA6\u8D85\u904E\u4E00\u500B\u5132\u5B58\u683C\u7684\u7BC4\u570D,\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u4F5C\u70BA\u6578\u7D44\u516C\u5F0F\u4F86\u4F7F\u7528\u7684,\u56D9\u6B64\u5C07\u8FD4\u56DE\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u7684\u7B2C\u4E00\u5217\u7684\u4F4D\u7F6E\u3002`,example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNS",t:2,d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u5217\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u5217\u6578\u3002",m:[1,1],p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u5217\u6578\u7684\u7BC4\u570D\u3002",example:"A9:W62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"OFFSET",t:2,d:"\u7D66\u5B9A\u67D0\u7BC4\u570D\u7684\u8D77\u59CB\u5132\u5B58\u683C\u5F15\u7528\u4EE5\u53CA\u8A72\u7BC4\u570D\u6DB5\u84CB\u7684\u884C\u5217\u6578\u91CF,\u8FD4\u56DE\u8A72\u7BC4\u570D\u7684\u5F15\u7528\u3002",a:"\u7D66\u5B9A\u67D0\u7BC4\u570D\u7684\u8D77\u59CB\u5132\u5B58\u683C\u5F15\u7528\u4EE5\u53CA\u8A72\u7BC4\u570D\u6DB5\u84CB\u7684\u884C\u5217\u6578\u91CF,\u8FD4\u56DE\u8A72\u7BC4\u570D\u7684\u5F15\u7528\u3002",m:[3,5],p:[{name:"reference",detail:"\u7528\u65BC\u8A08\u7B97\u884C\u5217\u504F\u79FB\u91CF\u7684\u8D77\u9EDE\u3002",example:"A2",require:"m",repeat:"n",type:"range"},{name:"rows",detail:`\u8981\u504F\u79FB\u7684\u884C\u6578\u3002
\u884C\u504F\u79FB\u91CF\u5FC5\u9808\u662F\u6574\u6578,\u4F46\u4E5F\u53EF\u4EE5\u662F\u8CA0\u6578\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C3\u6578\u5E36\u6709\u5C0F\u6578,\u5C0F\u6578\u90E8\u5206\u5C07\u88AB\u622A\u53BB\u3002`,example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"cols",detail:`\u8981\u504F\u79FB\u7684\u5217\u6578\u3002
\u5217\u504F\u79FB\u91CF\u5FC5\u9808\u662F\u6574\u6578,\u4F46\u4E5F\u53EF\u4EE5\u662F\u8CA0\u6578\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C3\u6578\u5E36\u6709\u5C0F\u6578,\u5C0F\u6578\u90E8\u5206\u5C07\u88AB\u622A\u53BB\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"height",detail:"[\u53EF\u9078] - \u8981\u5F9E\u504F\u79FB\u76EE\u6A19\u958B\u59CB\u8FD4\u56DE\u7684\u7BC4\u570D\u7684\u9AD8\u5EA6\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"width",detail:"[\u53EF\u9078] - \u8981\u5F9E\u504F\u79FB\u76EE\u6A19\u958B\u59CB\u8FD4\u56DE\u7684\u7BC4\u570D\u7684\u5BEC\u5EA6\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MATCH",t:2,d:"\u5728\u5132\u5B58\u683C\u4E2D\u8490\u7D22\u6307\u5B9A\u9805,\u7136\u5F8C\u8FD4\u56DE\u8A72\u9805\u5728\u5132\u5B58\u683C\u5340\u57DF\u4E2D\u7684\u76F8\u5C0D\u4F4D\u7F6E\u3002",a:"\u5728\u5132\u5B58\u683C\u4E2D\u8490\u7D22\u6307\u5B9A\u9805,\u7136\u5F8C\u8FD4\u56DE\u8A72\u9805\u5728\u5132\u5B58\u683C\u5340\u57DF\u4E2D\u7684\u76F8\u5C0D\u4F4D\u7F6E\u3002",m:[2,3],p:[{name:"lookup_value",detail:"\u8981\u5728 lookup_array \u4E2D\u5339\u914D\u7684\u503C\u3002",example:'"Sunday"',require:"m",repeat:"n",type:"rangeall"},{name:"lookup_array",detail:`\u8981\u8490\u7D22\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002
\u5982\u679C\u6240\u7528\u7684\u7BC4\u570D\u7684\u9AD8\u5EA6\u548C\u5BEC\u5EA6\u5747\u5927\u65BC1,MATCH\u5C07\u8FD4\u56DE#N/A\uFF01\u3002`,example:"A2:A9",require:"m",repeat:"n",type:"range"},{name:"match_type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA1] - \u8981\u63A1\u7528\u7684\u8490\u7D22\u7BA1\u9053\u3002
1\u70BA\u9ED8\u8A8D\u985E\u578B,\u6B64\u6642MATCH\u6703\u5047\u8A2D\u7BC4\u570D\u5DF2\u6309\u6607\u51AA\u6392\u5E8F,\u4E26\u8FD4\u56DE\u5C0F\u65BC\u7B49\u65BC\u8490\u7D22\u9375\u503C\u7684\u6700\u5927\u503C\u3002
0\u8868\u793A\u5B8C\u5168\u5339\u914D,\u5728\u7BC4\u570D\u672A\u6392\u5E8F\u7684\u60C5\u51B5\u4E0B\u9700\u8981\u4F7F\u7528\u6B64\u7BA1\u9053\u3002
-1\u8B93MATCH\u5047\u8A2D\u7BC4\u570D\u662F\u6309\u964D\u5E8F\u6392\u5E8F\u7684,\u4E26\u8FD4\u56DE\u5927\u65BC\u7B49\u65BC\u8490\u7D22\u9375\u503C\u7684\u6700\u5C0F\u503C\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INDEX",t:2,d:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C,\u6B64\u5143\u7D20\u7531\u884C\u865F\u548C\u5217\u865F\u7684\u7D22\u5F15\u503C\u7D66\u5B9A\u3002",a:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C,\u6B64\u5143\u7D20\u7531\u884C\u865F\u548C\u5217\u865F\u7684\u7D22\u5F15\u503C\u7D66\u5B9A\u3002",m:[2,3],p:[{name:"array",detail:"\u5132\u5B58\u683C\u5340\u57DF\u6216\u6578\u7D44\u5E38\u6578\u3002",example:"A1:C20",require:"m",repeat:"n",type:"range"},{name:"row_num",detail:"\u9078\u64C7\u6578\u7D44\u4E2D\u7684\u67D0\u884C,\u51FD\u6578\u5F9E\u8A72\u884C\u8FD4\u56DE\u6578\u503C\u3002",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"column_num",detail:"\u9078\u64C7\u6578\u7D44\u4E2D\u7684\u67D0\u5217,\u51FD\u6578\u5F9E\u8A72\u5217\u8FD4\u56DE\u6578\u503C\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GETPIVOTDATA",t:2,d:"\u5F9E\u8207\u6307\u5B9A\u884C\u548C\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6578\u64DA\u900F\u8996\u9336\u4E2D\u9078\u53D6\u532F\u7E3D\u503C\u3002",a:"\u5F9E\u8207\u6307\u5B9A\u884C\u548C\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6578\u64DA\u900F\u8996\u9336\u4E2D\u9078\u53D6\u532F\u7E3D\u503C\u3002",m:[2,254],p:[{name:"data_field",detail:`\u60A8\u60F3\u5F9E\u6578\u64DA\u900F\u8996\u9336\u4E2D\u7372\u53D6\u5176\u6578\u64DA\u7684\u503C\u540D\u7A31\u3002
\u503C\u540D\u7A31\u5FC5\u9808\u62EC\u5728\u5F15\u865F\u4E2D\u6216\u662F\u6307\u5411\u5305\u542B\u76F8\u95DC\u6587\u5B57\u7684\u4EFB\u4F55\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
\u5982\u679C\u6709\u591A\u500B\u503C\u6B04\u4F4D,\u5247\u5FC5\u9808\u4F7F\u7528\u6578\u64DA\u900F\u8996\u9336\u4E2D\u986F\u793A\u7684\u78BA\u5207\u540D\u7A31\uFF08\u5982"\u92B7\u552E\u7E3D\u984D"\uFF09\u3002`,example:'"SUM of number of units"',require:"m",repeat:"n",type:"rangeall"},{name:"pivot_table",detail:"\u76EE\u6A19\u6578\u64DA\u900F\u8996\u9336\u4E2D\u7684\u4EFB\u4F55\u5132\u5B58\u683C\u7684\u5F15\u7528\uFF08\u63A8\u85A6\u4F4D\u65BC\u9802\u89D2\u7684\u5132\u5B58\u683C\uFF09\u3002",example:"'Pivot table'!A1",require:"m",repeat:"n",type:"rangeall"},{name:"field1",detail:"[\u53EF\u9078] - \u6E90\u6578\u64DA\u96C6\uFF08\u4E0D\u662F\u6578\u64DA\u900F\u8996\u9336\uFF09\u4E2D\u5217\u7684\u540D\u7A31\u3002",example:'"division"',require:"o",repeat:"y",type:"rangeall"},{name:"item1",detail:"[\u53EF\u9078] - \u6578\u64DA\u900F\u8996\u9336\u4E2D\u986F\u793A\u7684\u8207\u60A8\u8981\u6AA2\u7D22\u7684\u6B04\u4F4D\u540D\u7A311\u76F8\u5C0D\u61C9\u7684\u884C\u6216\u5217\u7684\u540D\u7A31\u3002",example:'"east"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CHOOSE",t:2,d:"\u57FA\u65BC\u7D22\u5F15\u8FD4\u56DE\u9078\u9805\u6E05\u55AE\u4E2D\u7684\u5143\u7D20\u3002",a:"\u57FA\u65BC\u7D22\u5F15\u8FD4\u56DE\u9078\u9805\u6E05\u55AE\u4E2D\u7684\u5143\u7D20\u3002",m:[2,255],p:[{name:"index_num",detail:`\u6307\u5B9A\u8981\u8FD4\u56DE\u54EA\u4E00\u9805\u3002
\u5982\u679C\u7D22\u5F15\u70BA\u96F6\u3001\u8CA0\u503C\u6216\u5927\u65BC\u63D0\u4F9B\u7684\u9078\u64C7\u6578\u91CF,\u5C07\u8FD4\u56DE#VALUE\uFF01\u932F\u8AA4\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"value1",detail:"\u4E00\u9805\u53EF\u80FD\u7684\u8FD4\u56DE\u503C\u3002\u5FC5\u9808\u63D0\u4F9B\u3002\u53EF\u4EE5\u662F\u5132\u5B58\u683C\u5F15\u7528\u6216\u55AE\u7368\u7684\u503C\u3002",example:'"A"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"[\u53EF\u9078] - \u5176\u4ED6\u53EF\u4EE5\u9078\u64C7\u7684\u503C\u3002\u9078\u64C7",example:'"B"',require:"o",repeat:"y",type:"rangeall"}]},{n:"HYPERLINK",t:2,d:"\u5728\u5132\u5B58\u683C\u5167\u5275\u5EFA\u4E00\u500B\u8D85\u9023\u7D50\u3002",a:"\u5728\u5132\u5B58\u683C\u5167\u5275\u5EFA\u4E00\u500B\u8D85\u9023\u7D50\u3002",p:[{name:"\u7DB2\u5740",detail:`\u4EE5\u5F15\u865F\u62EC\u4F4F\u7684\u9023\u7D50\u4F4D\u7F6E\u7684\u5B8C\u6574\u7DB2\u5740,\u6216\u5C0D\u5305\u542B\u9019\u7A2E\u7DB2\u5740\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
\u50C5\u5141\u8A31\u67D0\u4E9B\u9023\u7D50\u985E\u578B\u3002\u5176\u4E2D\u5305\u62EC:http://\u3001https://\u3001mailto:\u3001aim:\u3001ftp://\u3001gopher://\u3001telnet://\u548Cnews://,\u660E\u78BA\u7981\u7528\u4F7F\u7528\u5176\u4ED6\u5354\u5B9A\u3002\u5982\u679C\u6307\u5B9A\u7684\u662F\u5176\u4ED6\u5354\u5B9A,\u5C07\u6703\u5728\u5132\u5B58\u683C\u4E2D\u986F\u793A\u9023\u7D50\u6A19\u7C64,\u4F46\u8A72\u6A19\u7C64\u4E0D\u6703\u4EE5\u9023\u7D50\u5F62\u5F0F\u5448\u73FE\u3002
\u5982\u679C\u672A\u6307\u5B9A\u5354\u5B9A,\u5247\u5047\u8A2D\u4F7F\u7528http://,\u4E26\u5C07\u5176\u4F5C\u70BA\u7DB2\u5740\u7684\u9996\u78BC\u3002`,example:'"http://www.google.com/"',require:"m",repeat:"n",type:"rangeall"},{name:"\u9023\u7D50\u6A19\u7C64",detail:`[\u53EF\u9078-\u9ED8\u8A8D\u70BA\u7DB2\u5740] - \u8981\u5728\u5132\u5B58\u683C\u4E2D\u4F5C\u70BA\u9023\u7D50\u986F\u793A\u7684\u6587\u5B57\uFF08\u7528\u5F15\u865F\u62EC\u8D77\u4F86\u7684\uFF09,\u6216\u8005\u6307\u5411\u5305\u542B\u9019\u7A2E\u6A19\u7C64\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
\u5982\u679C\u9023\u7D50\u6A19\u7C64\u662F\u6307\u5411\u67D0\u500B\u7A7A\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5982\u679C\u7DB2\u5740\u6709\u6548,\u5C31\u5C07\u5176\u4F5C\u70BA\u9023\u7D50\u986F\u793A,\u5426\u5247\u4F5C\u70BA\u7D14\u6587\u5B57\u986F\u793A\u3002
\u5982\u679C\u9023\u7D50\u6A19\u7C64\u70BA\u7A7A\u5B57\u4E32\u5E38\u6578\uFF08""\uFF09,\u6240\u5728\u5132\u5B58\u683C\u986F\u793A\u7684\u5167\u5BB9\u5C07\u70BA\u7A7A\u767D,\u4F46\u901A\u904E\u9EDE\u64CA\u8A72\u5132\u5B58\u683C\u6216\u8F49\u5165\u8A72\u5132\u5B58\u683C\u4ECD\u7136\u53EF\u4EE5\u8A2A\u554F\u9023\u7D50\u3002`,example:'"Google"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TIME",t:6,d:"\u5C07\u7D66\u5B9A\u7684\u5C0F\u6642\u3001\u5206\u9418\u548C\u79D2\u8F49\u63DB\u70BA\u6642\u9593\u3002",a:"\u5C07\u7D66\u5B9A\u7684\u5C0F\u6642\u3001\u5206\u9418\u548C\u79D2\u8F49\u63DB\u70BA\u6642\u9593\u3002",m:[3,3],p:[{name:"\u5C0F\u6642",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u9593\u7684\u6578\u4F4D,\u4EE3\u8868\u5C0F\u6642\u3002
\u4EFB\u4F55\u5927\u65BC 23 \u7684\u503C\u90FD\u6703\u9664\u4EE524,\u9918\u6578\u5C07\u4F5C\u70BA\u5C0F\u6642\u503C\u3002`,example:"11",require:"m",repeat:"n",type:"rangenumber"},{name:"\u5206\u9418",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u9593\u7684\u6578\u4F4D,\u4EE3\u8868\u5206\u9418\u3002
\u4EFB\u4F55\u5927\u65BC 59 \u7684\u503C\u5C07\u8F49\u63DB\u70BA\u5C0F\u6642\u548C\u5206\u9418\u3002`,example:"40",require:"m",repeat:"n",type:"rangenumber"},{name:"\u79D2",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u9593\u7684\u6578\u4F4D,\u4EE3\u8868\u79D2\u3002
\u4EFB\u4F55\u5927\u65BC 59 \u7684\u503C\u5C07\u8F49\u63DB\u70BA\u5C0F\u6642\u3001\u5206\u9418\u548C\u79D2\u3002`,example:"59",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TIMEVALUE",t:6,d:"\u6309\u4E00\u592924\u5C0F\u6642\u8FD4\u56DE\u8A72\u6642\u9593\u7684\u5206\u6578\u8868\u793A\u3002",a:"\u6309\u4E00\u592924\u5C0F\u6642\u8FD4\u56DE\u8A72\u6642\u9593\u7684\u5206\u6578\u8868\u793A\u3002",m:[1,1],p:[{name:"time_text",detail:"\u7528\u65BC\u8868\u793A\u6642\u9593\u7684\u5B57\u4E32\u3002",example:'"2:15 PM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EOMONTH",t:6,d:"\u8FD4\u56DE\u67D0\u500B\u6708\u4EFD\u6700\u5F8C\u4E00\u5929\u7684\u5E8F\u865F,\u8A72\u6708\u4EFD\u5728\u53E6\u4E00\u500B\u65E5\u671F\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u6578\u500B\u6708\uFF08\u6708\u6578\u7531\u53C3\u6578\u6307\u5B9A\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u500B\u6708\u4EFD\u6700\u5F8C\u4E00\u5929\u7684\u5E8F\u865F",m:[2,2],p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u7D50\u679C\u7684\u53C3\u7167\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8CA0\uFF09\u6216\u4E4B\u5F8C\uFF08\u6B63\uFF09\u7684\u6708\u6578\u3002\u8FD4\u56DE\u7684\u662F\u8A08\u7B97\u6240\u5F97\u6708\u4EFD\u7684\u6700\u5F8C\u90A3\u5929\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EDATE",t:6,d:"\u8FD4\u56DE\u8868\u793A\u67D0\u500B\u65E5\u671F\u7684\u5E8F\u865F,\u8A72\u65E5\u671F\u5728\u53E6\u4E00\u500B\u65E5\u671F\u7684\u6578\u6708\u4E4B\u524D/\u4E4B\u5F8C\u3002",a:"\u8FD4\u56DE\u8868\u793A\u67D0\u500B\u65E5\u671F\u7684\u5E8F\u865F",m:[2,2],p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u7D50\u679C\u7684\u53C3\u7167\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"months",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8CA0\uFF09\u6216\u4E4B\u5F8C\uFF08\u6B63\uFF09\u7684\u6708\u6578\u3002",example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SECOND",t:6,d:"\u8FD4\u56DE\u6642\u9593\u503C\u7684\u79D2\u6578\u3002\u79D2\u6578\u662F0\uFF08\u96F6\uFF09\u523059\u7BC4\u570D\u5167\u7684\u6574\u6578\u3002",a:"\u8FD4\u56DE\u6642\u9593\u503C\u7684\u79D2\u6578\u3002\u79D2\u6578\u662F0\uFF08\u96F6\uFF09\u523059\u7BC4\u570D\u5167\u7684\u6574\u6578\u3002",m:[1,1],p:[{name:"\u6642\u9593",detail:"\u7528\u65BC\u8A08\u7B97\u79D2\u9418\u90E8\u5206\u7684\u6642\u9593\u3002\u5FC5\u9808\u70BA\u4EE5\u4E0B\u503C\u4E4B\u4E00:\u6307\u5411\u5305\u542B\u65E5\u671F/\u6642\u9593\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u6642\u9593\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINUTE",t:6,d:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5206\u9418\u90E8\u5206\u3002",a:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5206\u9418\u90E8\u5206\u3002",m:[1,1],p:[{name:"\u6642\u9593",detail:"\u7528\u65BC\u8A08\u7B97\u5206\u9418\u90E8\u5206\u7684\u6642\u9593\u3002\u5FC5\u9808\u70BA\u4EE5\u4E0B\u503C\u4E4B\u4E00:\u6307\u5411\u5305\u542B\u65E5\u671F/\u6642\u9593\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u6642\u9593\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"HOUR",t:6,d:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5C0F\u6642\u90E8\u5206\u3002",a:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5C0F\u6642\u90E8\u5206\u3002",m:[1,1],p:[{name:"\u6642\u9593",detail:"\u7528\u65BC\u8A08\u7B97\u5C0F\u6642\u90E8\u5206\u7684\u6642\u9593\u3002\u5FC5\u9808\u70BA\u4EE5\u4E0B\u503C\u4E4B\u4E00:\u6307\u5411\u5305\u542B\u65E5\u671F/\u6642\u9593\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u6642\u9593\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"NOW",t:6,d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u548C\u6642\u9593\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u548C\u6642\u9593\u3002",m:[0,0],p:[]},{n:"NETWORKDAYS",t:6,d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u3002",m:[2,3],p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u958B\u59CB\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u7D50\u675F\u65E5\u671F\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"holidays",detail:`[\u53EF\u9078] - \u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u865F\u3002
\u5728\u7BC0\u5047\u65E5\u6578\u7D44\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u662F\u65E5\u671F\u5E8F\u865F\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"NETWORKDAYS_INTL",t:6,d:"\u8FD4\u56DE\u7D66\u5B9A\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\uFF08\u6392\u9664\u6307\u5B9A\u7684\u9031\u672B\u548C\u7BC0\u5047\u65E5\uFF09\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\uFF08\u6392\u9664\u6307\u5B9A\u7684\u9031\u672B\u548C\u7BC0\u5047\u65E5\uFF09\u3002",m:[2,4],p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u958B\u59CB\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u7D50\u675F\u65E5\u671F\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"weekend",detail:`[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u7528\u65BC\u8868\u793A\u54EA\u4E9B\u5929\u70BA\u9031\u672B\u7684\u6578\u4F4D\u6216\u5B57\u4E32\u3002
\u5B57\u4E32\u7BA1\u9053:\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7D44\u6210\u7684\u5B57\u4E32\u4F86\u6307\u5B9A\u9031\u672B,\u4E32\u4E2D\u7684\u7B2C\u4E00\u500B\u6578\u4F4D\u5B57\u5143\u4EE3\u8868\u9031\u4E00,\u6700\u5F8C\u4E00\u500B\u5247\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u9019\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5,1 \u8868\u793A\u9019\u4E00\u5929\u70BA\u9031\u672B\u3002\u4F8B\u5982,"0000011"\u8868\u793A\u5C07\u9031\u516D\u548C\u5468\u65E5\u4F5C\u70BA\u9031\u672B\u3002
\u6578\u4F4D\u7BA1\u9053:\u9019\u7A2E\u7BA1\u9053\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u4E32\u5F62\u5F0F,\u800C\u662F\u4F7F\u7528\u4E00\u500B\u6578\u4F4D\u30021 =\u9031\u516D/\u5468\u65E5\u70BA\u9031\u672B,2 =\u5468\u65E5/\u9031\u4E00\u70BA\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u52477 =\u9031\u4E94/\u9031\u516D\u300211 =\u5468\u65E5\u70BA\u552F\u4E00\u9031\u672B,12 =\u9031\u4E00\u70BA\u552F\u4E00\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u524717 =\u9031\u516D\u70BA\u552F\u4E00\u9031\u672B\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:`[\u53EF\u9078] - \u9019\u662F\u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u3002
\u5728\u7BC0\u5047\u65E5\u6578\u7D44\u5167\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u70BA\u65E5\u671F\u5E8F\u6578\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`,example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"ISOWEEKNUM",t:6,d:"\u8FD4\u56DE\u7D66\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6578\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6578\u3002",m:[1,1],p:[{name:"date",detail:"\u7528\u65BC\u65E5\u671F\u548C\u6642\u9593\u8A08\u7B97\u7684\u65E5\u671F-\u6642\u9593\u7A0B\u5F0F\u78BC\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"WEEKNUM",t:6,d:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6578\u3002",a:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6578\u3002",m:[1,2],p:[{name:"serial_number",detail:"\u8981\u78BA\u5B9A\u5176\u4F4D\u65BC\u7B2C\u5E7E\u5468\u7684\u65E5\u671F,\u5FC5\u9808\u662F\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"return_type",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1 ] - \u4EE3\u8868\u4E00\u5468\u8D77\u59CB\u65E5\u7684\u6578\u4F4D,\u7CFB\u7D71\u4E5F\u4F7F\u7528\u8A72\u6578\u4F4D\u4F86\u78BA\u5B9A\u4E00\u5E74\u7684\u7B2C\u4E00\u5468\uFF081=\u5468\u65E5,2=\u9031\u4E00\uFF09\u3002",example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"WEEKDAY",t:6,d:"\u8FD4\u56DE\u4E00\u500B\u6578\u4F4D,\u5C0D\u61C9\u65BC\u7D66\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u5E7E\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6578\u4F4D,\u5C0D\u61C9\u65BC\u7D66\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u5E7E\u3002",m:[1,2],p:[{name:"serial_number",detail:"\u8981\u70BA\u5176\u78BA\u5B9A\u661F\u671F\u5E7E\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"return_type",detail:`[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] -\u4EE5\u6578\u4F4D\u8A13\u793A\u4F7F\u7528\u54EA\u7A2E\u7DE8\u865F\u9806\u5E8F\u4F86\u8868\u793A\u661F\u671F\u5E7E\u3002\u9ED8\u8A8D\u60C5\u51B5\u4E0B,\u6309\u661F\u671F\u65E5\uFF08= 1\uFF09\u958B\u59CB\u8A08\u7B97\u3002
\u5982\u679C\u985E\u578B\u70BA1,\u5247\u661F\u671F\u503C\u5C07\u5F9E\u661F\u671F\u65E5\u958B\u59CB\u7B97\u8D77,\u4E26\u4E14\u661F\u671F\u65E5\u7684\u503C\u70BA1,\u56D9\u6B64\u661F\u671F\u516D\u7684\u503C\u5C31\u662F7\u3002
\u5982\u679C\u985E\u578B\u70BA2,\u5247\u661F\u671F\u503C\u5C07\u5F9E\u661F\u671F\u4E00\u958B\u59CB\u7B97\u8D77,\u4E26\u4E14\u661F\u671F\u4E00\u7684\u503C\u70BA1,\u56D9\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F7\u3002
\u5982\u679C\u985E\u578B\u70BA3,\u5247\u661F\u671F\u503C\u5C07\u5F9E\u661F\u671F\u4E00\u7B97\u8D77,\u4E26\u4E14\u661F\u671F\u4E00\u7684\u503C\u70BA0,\u56D9\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F6\u3002`,example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DAY",t:6,d:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u7576\u6708\u5E7E\u865F\u3002",a:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u7576\u6708\u5E7E\u865F\u3002",m:[1,1],p:[{name:"serial_number",detail:"\u8981\u5F9E\u4E2D\u9078\u53D6\u5177\u9AD4\u5E7E\u865F\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS",t:6,d:"\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3002",m:[2,2],p:[{name:"end_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"2011-3-15",require:"m",repeat:"n",type:"rangeall"},{name:"start_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"2011-2-1",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS360",t:6,d:"\u6309\u7167\u6BCF\u5E74360\u5929,\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5DEE\uFF08\u7528\u65BC\u8A08\u7B97\u5229\u606F\uFF09\u3002",a:"\u6309\u7167\u6BCF\u5E74360\u5929,\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5DEE\uFF08\u7528\u65BC\u8A08\u7B97\u5229\u606F\uFF09\u3002",m:[2,3],p:[{name:"start_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"method",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BAFALSE\uFF08\uFF09] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
FALSE -\u63A1\u7528\u7F8E\u570B\uFF08NASD\uFF09\u65B9\u6CD5\u6642,\u5982\u679C\u8D77\u59CB\u65E5\u671F\u70BA\u67D0\u6708\u7684\u6700\u5F8C\u4E00\u5929,\u70BA\u4FBF\u65BC\u8A08\u7B97,\u6703\u5C07\u8D77\u59CB\u65E5\u671F\u7684\u7576\u6708\u5E7E\u865F\u66F4\u6539\u70BA30\u3002\u6B64\u5916,\u5982\u679C\u7D50\u675F\u65E5\u671F\u662F\u6240\u5728\u6708\u4EFD\u7684\u6700\u5F8C\u4E00\u5929,\u800C\u4E14\u8D77\u59CB\u65E5\u671F\u5728\u5176\u6240\u5728\u6708\u768430\u865F\u4E4B\u524D,\u5247\u5C07\u7D50\u675F\u65E5\u671F\u66F4\u6539\u70BA\u7D50\u675F\u65E5\u671F\u4E4B\u5F8C\u90A3\u500B\u6708\u7684\u7B2C\u4E00\u5929,\u5426\u5247\u5C07\u7D50\u675F\u65E5\u671F\u66F4\u6539\u70BA\u8A72\u6708\u768430\u865F\u3002
TRUE -\u63A1\u7528\u6B50\u6D32\u65B9\u6CD5\u6642,\u6703\u5C07\u6240\u6709\u65E5\u671F\u572831\u865F\u7684\u8D77\u59CB\u65E5\u671F\u6216\u7D50\u675F\u65E5\u671F\u66F4\u6539\u70BA\u7576\u6708\u768430\u865F\u3002`,example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"DATE",t:6,d:"\u5C07\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F49\u63DB\u70BA\u65E5\u671F\u3002",a:"\u5C07\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F49\u63DB\u70BA\u65E5\u671F\u3002",m:[3,3],p:[{name:"year",detail:`\u65E5\u671F\u7684\u5E74\u4EFD\u90E8\u5206,\u5305\u542B\u4E00\u5230\u56DB\u4F4D\u6578\u4F4D\u3002
\u4ECB\u65BC0\uFF08\u96F6\uFF09\u5230 1899 \u4E4B\u9593,\u6703\u5C07\u8A72\u503C\u8207 1900 \u76F8\u52A0\u4F86\u8A08\u7B97\u5E74\u4EFD\uFF1B
\u4ECB\u65BC 1900 \u5230 9999 \u4E4B\u9593,\u5C07\u4F7F\u7528\u8A72\u6578\u503C\u4F5C\u70BA\u5E74\u4EFD\uFF1B
\u5C0F\u65BC0\u6216\u5927\u65BC\u7B49\u65BC 10000,\u8FD4\u56DE\u932F\u8AA4\u503C#NUM\uFF01\u3002`,example:"1969",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:`\u65E5\u671F\u7684\u6708\u4EFD\u90E8\u5206,\u4E00\u500B\u6B63\u6574\u6578\u6216\u8CA0\u6574\u6578\u3002
\u5982\u679C month \u5927\u65BC 12,\u5247 month \u6703\u5C07\u8A72\u6708\u4EFD\u6578\u8207\u6307\u5B9A\u5E74\u4E2D\u7684\u7B2C\u4E00\u500B\u6708\u76F8\u52A0\u3002
\u5982\u679C month \u5C0F\u65BC 1,month \u5247\u5F9E\u6307\u5B9A\u5E74\u4EFD\u7684\u4E00\u6708\u4EFD\u958B\u59CB\u905E\u6E1B\u8A72\u6708\u4EFD\u6578,\u7136\u5F8C\u518D\u52A0\u4E0A 1 \u500B\u6708\u3002`,example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"day",detail:`\u65E5\u671F\u7684\u65E5\u90E8\u5206,\u4E00\u500B\u6B63\u6574\u6578\u6216\u8CA0\u6574\u6578\u3002
\u5982\u679C day \u5927\u65BC\u6708\u4E2D\u6307\u5B9A\u7684\u5929\u6578,\u5247 day \u6703\u5C07\u5929\u6578\u8207\u8A72\u6708\u4E2D\u7684\u7B2C\u4E00\u5929\u76F8\u52A0\u3002
\u5982\u679C day \u5C0F\u65BC1,\u5247 day \u5F9E\u6307\u5B9A\u6708\u4EFD\u7684\u7B2C\u4E00\u5929\u958B\u59CB\u905E\u6E1B\u8A72\u5929\u6578,\u7136\u5F8C\u518D\u52A0\u4E0A 1 \u5929\u3002`,example:"20",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DATEVALUE",t:6,d:"\u5C07\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u4E32\u8F49\u63DB\u70BA\u65E5\u671F\u7684\u5E8F\u865F\u3002",a:"\u5C07\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u4E32\u8F49\u63DB\u70BA\u65E5\u671F\u7684\u5E8F\u865F\u3002",m:[1,1],p:[{name:"date_text",detail:"\u8868\u793A\u65E5\u671F\u7684\u5B57\u4E32\u3002",example:'"1969-7-20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DATEDIF",t:6,d:"\u8A08\u7B97\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3001\u6708\u6578\u6216\u5E74\u6578\u3002",a:"\u8A08\u7B97\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3001\u6708\u6578\u6216\u5E74\u6578\u3002",m:[3,3],p:[{name:"\u8D77\u59CB\u65E5\u671F",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u5C0D\u5305\u542BDATE\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u985E\u578B\u7684\u51FD\u6578\u6216\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D50\u675F\u65E5\u671F",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u5C0D\u5305\u542BDATE\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u985E\u578B\u7684\u51FD\u6578\u6216\u6578\u4F4D\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"\u7D44\u7E54",detail:`\u6642\u9593\u7D44\u7E54\u7684\u7E2E\u5BEB\u6587\u5B57\u3002\u4F8B\u5982"M"\u4EE3\u8868\u6708\u3002\u6709\u6548\u503C\u5305\u62EC:"Y"\u3001"M"\u3001"D"\u3001"MD"\u3001"YM"\u548C"YD"\u3002
"Y":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u6574\u5E74\u6578\u3002
"M":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u6574\u6708\u6578\u3002
"D":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3002
"MD":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\uFF08\u4E0D\u8A08\u6574\u6708\u6578\uFF09\u3002
"YM":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u6574\u6708\u6578\uFF08\u4E0D\u8A08\u6574\u5E74\u6578\uFF09\u3002
"YD":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\uFF08\u5047\u8A2D\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u7684\u9593\u9694\u4E0D\u8D85\u904E\u4E00\u5E74\uFF09\u3002`,example:"16)",require:"m",repeat:"n",type:"rangeall"}]},{n:"WORKDAY",t:6,d:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6578,\u8A08\u7B97\u7D50\u675F\u65E5\u671F\u3002",a:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6578,\u8A08\u7B97\u7D50\u675F\u65E5\u671F\u3002",m:[2,3],p:[{name:"start_date",detail:"\u8A08\u7B97\u7684\u958B\u59CB\u65E5\u671F\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"days",detail:`start_date\u4E4B\u524D\u6216\u4E4B\u5F8C\u4E0D\u542B\u9031\u672B\u53CA\u7BC0\u5047\u65E5\u7684\u5929\u6578\u3002
\u70BA\u6B63\u503C\u5C07\u751F\u6210\u672A\u4F86\u65E5\u671F\uFF1B
\u70BA\u8CA0\u503C\u751F\u6210\u904E\u53BB\u65E5\u671F\u3002`,example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"holidays",detail:`[\u53EF\u9078] - \u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u865F\u3002
\u5728\u7BC0\u5047\u65E5\u6578\u7D44\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u662F\u65E5\u671F\u5E8F\u865F\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"WORKDAY_INTL",t:6,d:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u500B\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u7684\u5E8F\u865F\uFF08\u4F7F\u7528\u81EA\u5B9A\u7FA9\u9031\u672B\u53C3\u6578\uFF09\u3002 ",a:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u500B\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u7684\u5E8F\u865F\uFF08\u4F7F\u7528\u81EA\u5B9A\u7FA9\u9031\u672B\u53C3\u6578\uFF09\u3002 ",m:[2,4],p:[{name:"start_date",detail:"\u958B\u59CB\u65E5\u671F\uFF08\u5C07\u88AB\u622A\u5C3E\u53D6\u6574\uFF09\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"days",detail:`start_date\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u5DE5\u4F5C\u65E5\u7684\u5929\u6578\u3002
\u6B63\u503C\u8868\u793A\u672A\u4F86\u65E5\u671F\uFF1B
\u8CA0\u503C\u8868\u793A\u904E\u53BB\u65E5\u671F\uFF1B
\u96F6\u503C\u8868\u793A\u958B\u59CB\u65E5\u671F\u3002`,example:"7",require:"m",repeat:"n",type:"rangenumber"},{name:"weekend",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA1] - \u7528\u65BC\u8868\u793A\u54EA\u4E9B\u5929\u70BA\u9031\u672B\u7684\u6578\u4F4D\u6216\u5B57\u4E32\u3002
\u5B57\u4E32\u7BA1\u9053:\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7D44\u6210\u7684\u5B57\u4E32\u4F86\u6307\u5B9A\u9031\u672B,\u4E32\u4E2D\u7684\u7B2C\u4E00\u500B\u6578\u4F4D\u5B57\u5143\u4EE3\u8868\u9031\u4E00,\u6700\u5F8C\u4E00\u500B\u5247\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u9019\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5,1\u8868\u793A\u9019\u4E00\u5929\u70BA\u9031\u672B\u3002\u4F8B\u5982,"0000011"\u8868\u793A\u5C07\u9031\u516D\u548C\u5468\u65E5\u4F5C\u70BA\u9031\u672B\u3002
\u6578\u4F4D\u7BA1\u9053:\u9019\u7A2E\u7BA1\u9053\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u4E32\u5F62\u5F0F,\u800C\u662F\u4F7F\u7528\u4E00\u500B\u6578\u4F4D\u30021 =\u9031\u516D/\u5468\u65E5\u70BA\u9031\u672B,2 =\u5468\u65E5/\u9031\u4E00\u70BA\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u52477 =\u9031\u4E94/\u9031\u516D\u300211 =\u5468\u65E5\u70BA\u552F\u4E00\u9031\u672B,12 =\u9031\u4E00\u70BA\u552F\u4E00\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u524717 =\u9031\u516D\u70BA\u552F\u4E00\u9031\u672B\u3002`,example:"16)",require:"o",repeat:"n",type:"rangeall"},{name:"holidays",detail:`[\u53EF\u9078] - \u9019\u662F\u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u3002
\u5728\u7BC0\u5047\u65E5\u6578\u7D44\u5167\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u70BA\u65E5\u671F\u5E8F\u6578\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`,example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"YEAR",t:6,d:"\u8FD4\u56DE\u5C0D\u61C9\u65BC\u67D0\u500B\u65E5\u671F\u7684\u5E74\u4EFD\u3002Year\u4F5C\u70BA 1900 - 9999 \u4E4B\u9593\u7684\u6574\u6578\u8FD4\u56DE\u3002",a:"\u8FD4\u56DE\u5C0D\u61C9\u65BC\u67D0\u500B\u65E5\u671F\u7684\u5E74\u4EFD\u3002Year\u4F5C\u70BA 1900 - 9999 \u4E4B\u9593\u7684\u6574\u6578\u8FD4\u56DE\u3002",m:[1,1],p:[{name:"serial_number",detail:"\u7528\u65BC\u8A08\u7B97\u5E74\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"YEARFRAC",t:6,d:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u9593\u7684\u5929\u6578\u5360\u5168\u5E74\u5929\u6578\u7684\u767E\u5206\u6BD4\u3002",a:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u9593\u7684\u5929\u6578\u5360\u5168\u5E74\u5929\u6578\u7684\u767E\u5206\u6BD4\u3002",m:[2,3],p:[{name:"start_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"end_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"7",require:"m",repeat:"n",type:"rangeall"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8981\u4F7F\u7528\u7684\u65E5\u8A08\u6578\u57FA\u6E96\u985E\u578B\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"16)",require:"o",repeat:"n",type:"rangenumber"}]},{n:"TODAY",t:6,d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u3002",m:[0,0],p:[]},{n:"MONTH",t:6,d:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6578\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002\u6708\u4EFD\u662F\u4ECB\u65BC1\uFF08\u4E00\u6708\uFF09\u523012\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u9593\u7684\u6574\u6578\u3002",a:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6578\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002\u6708\u4EFD\u662F\u4ECB\u65BC1\uFF08\u4E00\u6708\uFF09\u523012\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u9593\u7684\u6574\u6578\u3002",m:[1,1],p:[{name:"serial_number",detail:"\u8981\u5F9E\u4E2D\u9078\u53D6\u6708\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"EFFECT",t:8,d:"\u6839\u64DA\u540D\u7FA9\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u8907\u5229\u8A08\u606F\u671F\u6578\u4F86\u8A08\u7B97\u5BE6\u969B\u5E74\u5229\u7387\u3002",a:"\u6839\u64DA\u540D\u7FA9\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u8907\u5229\u8A08\u606F\u671F\u6578\u4F86\u8A08\u7B97\u5BE6\u969B\u5E74\u5229\u7387\u3002",m:[2,2],p:[{name:"nominal_rate",detail:"\u6BCF\u5E74\u7684\u540D\u7FA9\u5229\u7387\u3002",example:"0.99",require:"m",repeat:"n",type:"rangenumber"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u8907\u5229\u8A08\u7B97\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLAR",t:12,d:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u8207\u8A9E\u8A00\u5340\u57DF\u76F8\u5C0D\u61C9\u7684\u8CA8\u5E63\u683C\u5F0F\u3002",a:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u8207\u8A9E\u8A00\u5340\u57DF\u76F8\u5C0D\u61C9\u7684\u8CA8\u5E63\u683C\u5F0F\u3002",m:[1,2],p:[{name:"number",detail:"\u8981\u8A2D\u5B9A\u683C\u5F0F\u7684\u503C\u3002",example:"1.2351",require:"m",repeat:"n",type:"rangenumber"},{name:"decimals",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA2] - \u8981\u986F\u793A\u7684\u5C0F\u6578\u4F4D\u6578\u3002
\u5982\u679C\u9019\u662F\u8CA0\u6578,\u5247\u5C07\u6578\u4F4D\u56DB\u6368\u4E94\u5165\u5230\u5C0F\u6578\u9EDE\u5DE6\u5074\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARDE",t:8,d:"\u5C07\u4EE5\u6574\u6578\u90E8\u5206\u548C\u5206\u6578\u90E8\u5206\u8F49\u63DB\u70BA\u4EE5\u5C0F\u6578\u90E8\u5206\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D",a:"\u5C07\u4EE5\u6574\u6578\u90E8\u5206\u548C\u5206\u6578\u90E8\u5206\u8F49\u63DB\u70BA\u4EE5\u5C0F\u6578\u90E8\u5206\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D",m:[2,2],p:[{name:"fractional_dollar",detail:"\u4EE5\u6574\u6578\u90E8\u4EFD\u548C\u5206\u6578\u90E8\u5206\u8868\u793A\u7684\u6578\u4F4D,\u7528\u5C0F\u6578\u9EDE\u9694\u958B\u3002",example:"100.10",require:"m",repeat:"n",type:"rangenumber"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6578\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6578\u3002",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARFR",t:8,d:"\u5C07\u5C0F\u6578\u8F49\u63DB\u70BA\u5206\u6578\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D\u3002",a:"\u5C07\u5C0F\u6578\u8F49\u63DB\u70BA\u5206\u6578\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D\u3002",m:[2,2],p:[{name:"decimal_dollar",detail:"\u5C0F\u6578\u3002",example:"100.125",require:"m",repeat:"n",type:"rangenumber"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6578\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6578\u3002",example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DB",t:8,d:"\u4F7F\u7528\u56FA\u5B9A\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",a:"\u4F7F\u7528\u56FA\u5B9A\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",m:[4,5],p:[{name:"cost",detail:"\u8CC7\u7522\u539F\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5167\u8981\u8A08\u7B97\u6298\u820A\u7684\u6298\u820A\u671F\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"month",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA12] - \u6298\u820A\u7B2C\u4E00\u5E74\u4E2D\u7684\u6708\u6578\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DDB",t:8,d:"\u7528\u96D9\u500D\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",a:"\u7528\u96D9\u500D\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",m:[4,5],p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5167\u8981\u8A08\u7B97\u6298\u820A\u7684\u6298\u820A\u671F\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"factor",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA2] - \u6298\u820A\u7684\u905E\u6E1B\u4FC2\u6578\u3002",example:"2.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RATE",t:8,d:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",m:[3,6],p:[{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u984D,\u5728\u5E74\u91D1\u9031\u671F\u5167\u4E0D\u80FD\u66F4\u6539\u3002",example:"-100",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73FE\u503C\u5373\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7576\u524D\u503C\u7684\u7E3D\u548C\u3002",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"guess",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0.1] - \u9810\u671F\u5229\u7387\u3002",example:"0.1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"CUMPRINC",t:8,d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u591A\u500B\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u672C\u91D1\u511F\u9084\u984D\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u591A\u500B\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u672C\u91D1\u511F\u9084\u984D\u3002",m:[6,6],p:[{name:"rate",detail:"\u5229\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u7E3D\u4ED8\u6B3E\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u5E74\u91D1\u7684\u73FE\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"start_period",detail:`\u958B\u59CB\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
\u9996\u671F\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"end_period",detail:`\u7D50\u675F\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
\u672B\u671F\u5FC5\u9808\u5927\u65BC\u9996\u671F\u3002`,example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPNUM",t:8,d:"\u8FD4\u56DE\u5728\u7D50\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u9593\u7684\u4ED8\u606F\u6B21\u6578\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6578",a:"\u8FD4\u56DE\u5728\u7D50\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u9593\u7684\u4ED8\u606F\u6B21\u6578\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6578",m:[3,4],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"02",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SYD",t:8,d:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u9593\u5167\u8CC7\u7522\u6309\u5E74\u9650\u7E3D\u548C\u6298\u820A\u6CD5\u8A08\u7B97\u7684\u6298\u820A\u3002",a:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u9593\u5167\u8CC7\u7522\u6309\u5E74\u9650\u7E3D\u548C\u6298\u820A\u6CD5\u8A08\u7B97\u7684\u6298\u820A\u3002",m:[4,4],p:[{name:"cost",detail:"\u8CC7\u7522\u539F\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002",example:"50",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5167\u8981\u8A08\u7B97\u6298\u820A\u7684\u6298\u820A\u671F\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLEQ",t:8,d:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",a:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",m:[3,3],p:[{name:"settlement",detail:"\u50B5\u5238\u7684\u7D50\u7B97\u65E5\u671F,\u6B64\u65E5\u671F\u70BA\u50B5\u5238\u767C\u884C\u5F8C\u4EA4\u4ED8\u7D66\u8CB7\u5BB6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u50B5\u5238\u7684\u5230\u671F\u6216\u7D50\u675F\u65E5\u671F,\u5C4A\u6642\u53EF\u5C07\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u50F9\u503C\u8D16\u56DE\u3002",example:"1",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"\u50B5\u5238\u8CFC\u8CB7\u6642\u7684\u8CBC\u73FE\u7387\u3002",example:"2)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLYIELD",t:8,d:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",m:[3,3],p:[{name:"settlement",detail:"\u50B5\u5238\u7684\u7D50\u7B97\u65E5\u671F,\u6B64\u65E5\u671F\u70BA\u50B5\u5238\u767C\u884C\u5F8C\u4EA4\u4ED8\u7D66\u8CB7\u5BB6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u50B5\u5238\u7684\u5230\u671F\u6216\u7D50\u675F\u65E5\u671F,\u5C4A\u6642\u53EF\u5C07\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u50F9\u503C\u8D16\u56DE\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"pr",detail:"\u50B5\u5238\u7684\u8CFC\u8CB7\u50F9\u683C\u3002",example:"95",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLPRICE",t:8,d:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u50F9\u683C\u3002",a:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u50F9\u683C\u3002",m:[3,3],p:[{name:"settlement",detail:"\u50B5\u5238\u7684\u7D50\u7B97\u65E5\u671F,\u6B64\u65E5\u671F\u70BA\u50B5\u5238\u767C\u884C\u5F8C\u4EA4\u4ED8\u7D66\u8CB7\u5BB6\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u50B5\u5238\u7684\u5230\u671F\u6216\u7D50\u675F\u65E5\u671F,\u5C4A\u6642\u53EF\u5C07\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u50F9\u503C\u8D16\u56DE\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"\u50B5\u5238\u8CFC\u8CB7\u6642\u7684\u8CBC\u73FE\u7387\u3002",example:"0.09",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PV",t:8,d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u73FE\u503C\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u73FE\u503C\u3002",m:[3,5],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u984D,\u5728\u5E74\u91D1\u9031\u671F\u5167\u4E0D\u80FD\u66F4\u6539\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9078] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002",example:"D2",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ACCRINT",t:8,d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",m:[6,8],p:[{name:"issue",detail:"\u6709\u50F9\u8B49\u5238\u7684\u767C\u884C\u65E5\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"first_interest",detail:"\u6709\u50F9\u8B49\u5238\u7684\u9996\u6B21\u8A08\u606F\u65E5\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"par",detail:"\u8B49\u5238\u7684\u7968\u9762\u503C\u3002",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A""\u6B50\u6D3230/360"\u65B9\u6CD5"-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"calc_method",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u6307\u5B9A\u7576\u7D50\u7B97\u65E5\u671F\u665A\u65BC\u9996\u6B21\u8A08\u606F\u65E5\u671F\u6642\u7528\u65BC\u8A08\u7B97\u7E3D\u61C9\u8A08\u5229\u606F\u7684\u65B9\u6CD5\u3002
\u5982\u679C\u503C\u70BATRUE,\u5247\u8FD4\u56DE\u5F9E\u767C\u884C\u65E5\u5230\u7D50\u7B97\u65E5\u7684\u7E3D\u61C9\u8A08\u5229\u606F\u3002
\u5982\u679C\u503C\u70BAFALSE,\u5247\u8FD4\u56DE\u5F9E\u9996\u6B21\u8A08\u606F\u65E5\u5230\u7D50\u7B97\u65E5\u7684\u61C9\u8A08\u5229\u606F\u3002`,example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ACCRINTM",t:8,d:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u50F9\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u50F9\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",m:[4,5],p:[{name:"issue",detail:"\u6709\u50F9\u8B49\u5238\u7684\u767C\u884C\u65E5\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002",example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"par",detail:"\u8B49\u5238\u7684\u7968\u9762\u503C\u3002",example:"1000",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYBS",t:8,d:"\u8FD4\u56DE\u5F9E\u4ED8\u606F\u671F\u958B\u59CB\u5230\u7D50\u7B97\u65E5\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u5F9E\u4ED8\u606F\u671F\u958B\u59CB\u5230\u7D50\u7B97\u65E5\u7684\u5929\u6578\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYS",t:8,d:"\u8FD4\u56DE\u7D50\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u7D50\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6578\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] -\u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYSNC",t:8,d:"\u8FD4\u56DE\u5F9E\u7D50\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u9593\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u5F9E\u7D50\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u9593\u7684\u5929\u6578\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPNCD",t:8,d:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u5F8C\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u767C\u65E5\u671F\u3002",a:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u5F8C\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u767C\u65E5\u671F\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPPCD",t:8,d:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u5F8C\u4E00\u500B\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",a:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u5F8C\u4E00\u500B\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",m:[3,4],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4 \u3002`,example:"01)",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FV",t:8,d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u672A\u4F86\u50F9\u503C\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u672A\u4F86\u50F9\u503C\u3002",m:[3,5],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u5404\u671F\u6240\u61C9\u652F\u4ED8\u7684\u91D1\u984D,\u5728\u6574\u500B\u5E74\u91D1\u671F\u9593\u4FDD\u6301\u4E0D\u8B8A\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0 ] - \u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7684\u7576\u524D\u503C\u7684\u7D2F\u7A4D\u548C\u3002",example:"400",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0 ] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FVSCHEDULE",t:8,d:"\u8FD4\u56DE\u61C9\u7528\u4E00\u7CFB\u5217\u8907\u5229\u7387\u8A08\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u4F86\u503C\u3002",a:"\u8FD4\u56DE\u61C9\u7528\u4E00\u7CFB\u5217\u8907\u5229\u7387\u8A08\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u4F86\u503C\u3002",m:[2,2],p:[{name:"principal",detail:"\u73FE\u503C\u3002",example:"10000",require:"m",repeat:"n",type:"rangenumber"},{name:"schedule",detail:`\u7528\u65BC\u8A08\u7B97\u672C\u91D1\u8907\u5229\u7684\u4E00\u7D44\u5229\u7387\u3002
\u5229\u7387\u9336\u5FC5\u9808\u662F\u7BC4\u570D\u6216\u6578\u7D44,\u5176\u4E2D\u5305\u542B\u8981\u7528\u65BC\u8A08\u7B97\u8907\u5229\u7684\u4E00\u7D44\u5229\u7387\u3002\u9019\u4E9B\u5229\u7387\u503C\u61C9\u8A72\u4EE5\u5341\u9032\u4F4D\u5C0F\u6578\u5F62\u5F0F\u8868\u793A,\u6216\u8005\u4F7F\u7528UNARY_PERCENT\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8868\u793A,\u5373\u8868\u793A\u70BA0.09\u6216UNARY_PERCENT\uFF089\uFF09,\u800C\u4E0D\u8981\u8868\u793A\u70BA9\u3002`,example:"A2:A100",require:"m",repeat:"n",type:"range"}]},{n:"YIELD",t:8,d:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",m:[6,7],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"pr",detail:"\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"YIELDDISC",t:8,d:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u6298\u50F9\u767C\u884C\u7684\uFF08\u4E0D\u5E36\u606F\uFF09\u50B5\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",a:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u6298\u50F9\u767C\u884C\u7684\uFF08\u4E0D\u5E36\u606F\uFF09\u50B5\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"pr",detail:"\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",example:"95",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NOMINAL",t:8,d:"\u57FA\u65BC\u7D66\u5B9A\u7684\u5BE6\u969B\u5229\u7387\u548C\u5E74\u8907\u5229\u671F\u6578,\u8FD4\u56DE\u540D\u7FA9\u5E74\u5229\u7387\u3002",a:"\u57FA\u65BC\u7D66\u5B9A\u7684\u5BE6\u969B\u5229\u7387\u548C\u5E74\u8907\u5229\u671F\u6578,\u8FD4\u56DE\u540D\u7FA9\u5E74\u5229\u7387\u3002",m:[2,2],p:[{name:"effect_rate",detail:"\u6BCF\u5E74\u7684\u5BE6\u969B\u5229\u7387\u3002",example:"0.85",require:"m",repeat:"n",type:"rangenumber"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u8907\u5229\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"XIRR",t:8,d:"\u8FD4\u56DE\u4E00\u7D44\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u7684\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u7684\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002",m:[2,3],p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8CC7\u76F8\u95DC\u6536\u76CA\u6216\u652F\u51FA\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002
\u73FE\u91D1\u6D41\u6578\u984D\u4E2D\u5FC5\u9808\u81F3\u5C11\u5305\u542B\u4E00\u9805\u8CA0\u7684\u548C\u4E00\u9805\u6B63\u7684\u73FE\u91D1\u6D41\u91D1\u984D\u624D\u80FD\u8A08\u7B97\u56DE\u5831\u7387\u3002`,example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"dates",detail:"\u8207\u73FE\u91D1\u6D41\u6578\u984D\u53C3\u6578\u4E2D\u7684\u73FE\u91D1\u6D41\u5C0D\u61C9\u7684\u65E5\u671F\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"C2:C25",require:"m",repeat:"n",type:"range"},{name:"guess",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0.1] - \u5C0D\u5167\u90E8\u56DE\u5831\u7387\u7684\u4F30\u7B97\u503C\u3002",example:"250",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MIRR",t:8,d:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73FE\u91D1\u6D41\u7684\u4FEE\u6539\u5F8C\u5167\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73FE\u91D1\u6D41\u7684\u4FEE\u6539\u5F8C\u5167\u90E8\u6536\u76CA\u7387\u3002",m:[3,3],p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8CC7\u76F8\u95DC\u6536\u76CA\u6216\u652F\u51FA\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002
\u73FE\u91D1\u6D41\u6578\u984D\u4E2D\u5FC5\u9808\u81F3\u5C11\u5305\u542B\u4E00\u9805\u8CA0\u7684\u548C\u4E00\u9805\u6B63\u7684\u73FE\u91D1\u6D41\u91D1\u984D\u624D\u80FD\u8A08\u7B97\u56DE\u5831\u7387\u3002`,example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"finance_rate",detail:"\u73FE\u91D1\u6D41\u4E2D\u4F7F\u7528\u7684\u8CC7\u91D1\u652F\u4ED8\u7684\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"reinvest_rate",detail:"\u5C07\u73FE\u91D1\u6D41\u518D\u6295\u8CC7\u7684\u6536\u76CA\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IRR",t:8,d:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6578\u4F4D\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002 ",a:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6578\u4F4D\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002 ",m:[1,2],p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8CC7\u76F8\u95DC\u6536\u76CA\u6216\u652F\u51FA\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002
\u73FE\u91D1\u6D41\u6578\u984D\u4E2D\u5FC5\u9808\u81F3\u5C11\u5305\u542B\u4E00\u9805\u8CA0\u7684\u548C\u4E00\u9805\u6B63\u7684\u73FE\u91D1\u6D41\u91D1\u984D\u624D\u80FD\u8A08\u7B97\u56DE\u5831\u7387\u3002`,example:"A2:A25",require:"m",repeat:"n",type:"range"},{name:"guess",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0.1] - \u5167\u90E8\u6536\u76CA\u7387\u7684\u4F30\u503C\u3002",example:"200",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPV",t:8,d:"\u4F7F\u7528\u8CBC\u73FE\u7387\u548C\u4E00\u7CFB\u5217\u672A\u4F86\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u4F86\u8A08\u7B97\u4E00\u9805\u6295\u8CC7\u7684\u6DE8\u73FE\u503C\u3002",a:"\u4F7F\u7528\u8CBC\u73FE\u7387\u548C\u4E00\u7CFB\u5217\u672A\u4F86\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u4F86\u8A08\u7B97\u4E00\u9805\u6295\u8CC7\u7684\u6DE8\u73FE\u503C\u3002",m:[2,255],p:[{name:"rate",detail:"\u67D0\u4E00\u671F\u9593\u7684\u8CBC\u73FE\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"value1",detail:"\u7B2C\u4E00\u7B46\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002",example:"200",require:"m",repeat:"n",type:"rangeall"},{name:"value2, ...",detail:"[\u53EF\u9078] - \u5176\u4ED6\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002",example:"250",require:"o",repeat:"y",type:"rangeall"}]},{n:"XNPV",t:8,d:"\u8FD4\u56DE\u4E00\u7D44\u73FE\u91D1\u6D41\u7684\u6DE8\u73FE\u503C,\u9019\u4E9B\u73FE\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u73FE\u91D1\u6D41\u7684\u6DE8\u73FE\u503C,\u9019\u4E9B\u73FE\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u3002",m:[3,3],p:[{name:"rate",detail:"\u61C9\u7528\u65BC\u73FE\u91D1\u6D41\u7684\u8CBC\u73FE\u7387\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"values",detail:"\u8207dates\u4E2D\u7684\u652F\u4ED8\u6642\u9593\u76F8\u5C0D\u61C9\u7684\u4E00\u7CFB\u5217\u73FE\u91D1\u6D41\u3002",example:"B2:B25",require:"m",repeat:"n",type:"range"},{name:"dates",detail:"\u8207\u73FE\u91D1\u6D41\u652F\u4ED8\u76F8\u5C0D\u61C9\u7684\u652F\u4ED8\u65E5\u671F\u9336\u3002",example:"C2:C25",require:"m",repeat:"n",type:"range"}]},{n:"CUMIPMT",t:8,d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u5229\u606F\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u5229\u606F\u3002",m:[6,6],p:[{name:"rate",detail:"\u5229\u606F\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u7E3D\u4ED8\u6B3E\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73FE\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"start_period",detail:`\u958B\u59CB\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
\u9996\u671F\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"end_period",detail:`\u7D50\u675F\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
\u672B\u671F\u5FC5\u9808\u5927\u65BC\u9996\u671F\u3002`,example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PMT",t:8,d:"\u7528\u65BC\u6839\u64DA\u56FA\u5B9A\u4ED8\u6B3E\u984D\u548C\u56FA\u5B9A\u5229\u7387\u8A08\u7B97\u8CB8\u6B3E\u7684\u4ED8\u6B3E\u984D\u3002",a:"\u7528\u65BC\u6839\u64DA\u56FA\u5B9A\u4ED8\u6B3E\u984D\u548C\u56FA\u5B9A\u5229\u7387\u8A08\u7B97\u8CB8\u6B3E\u7684\u4ED8\u6B3E\u984D\u3002",m:[3,5],p:[{name:"rate",detail:"\u8CB8\u6B3E\u5229\u7387\u3002",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u8A72\u9805\u8CB8\u6B3E\u7684\u4ED8\u6B3E\u7E3D\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u984D\u73FE\u5728\u6240\u503C\u7684\u7E3D\u984D,\u4E5F\u53EB\u672C\u91D1\u3002",example:" 100000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002",example:"D2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IPMT",t:8,d:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u7D66\u5B9A\u671F\u6578\u5167\u5C0D\u6295\u8CC7\u7684\u5229\u606F\u511F\u9084\u984D\u3002",a:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u7D66\u5B9A\u671F\u6578\u5167\u5C0D\u6295\u8CC7\u7684\u5229\u606F\u511F\u9084\u984D\u3002",m:[4,6],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"per",detail:"\u7528\u65BC\u8A08\u7B97\u5176\u5229\u606F\u6578\u984D\u7684\u671F\u6578,\u5FC5\u9808\u57281\u5230nper\u4E4B\u9593\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002",example:"12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7684\u7576\u524D\u503C\u7684\u7D2F\u7A4D\u548C\u3002",example:"80000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002",example:"E2",require:"m",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PPMT",t:8,d:"\u8FD4\u56DE\u6839\u64DA\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8CC7\u5728\u5DF2\u77E5\u671F\u9593\u5167\u7684\u672C\u91D1\u511F\u4ED8\u984D\u3002",a:"\u8FD4\u56DE\u6839\u64DA\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8CC7\u5728\u5DF2\u77E5\u671F\u9593\u5167\u7684\u672C\u91D1\u511F\u4ED8\u984D\u3002",m:[4,6],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{name:"per",detail:"\u6307\u5B9A\u671F\u6578,\u8A72\u503C\u5FC5\u9808\u5728 1 \u5230 nper \u7BC4\u570D\u5167\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002",example:"3*12",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73FE\u503C\u5373\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7576\u524D\u503C\u7684\u7E3D\u548C\u3002",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INTRATE",t:8,d:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8CC7\u578B\u8B49\u5238\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8CC7\u578B\u8B49\u5238\u7684\u5229\u7387\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"investment",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6295\u8CC7\u984D\u3002",example:"100000",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u6709\u50F9\u8B49\u5238\u5230\u671F\u6642\u7684\u514C\u63DB\u503C\u3002",example:"101200",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PRICE",t:8,d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",m:[6,7],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.065",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEDISC",t:8,d:"\u8FD4\u56DE\u6298\u50F9\u767C\u884C\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",a:"\u8FD4\u56DE\u6298\u50F9\u767C\u884C\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"discount",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",example:"0.0525",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEMAT",t:8,d:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",a:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",m:[5,6],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"issue",detail:"\u6709\u50F9\u8B49\u5238\u7684\u767C\u884C\u65E5\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u5728\u767C\u884C\u65E5\u7684\u5229\u7387\u3002",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"RECEIVED",t:8,d:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u50F9\u8B49\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u984D\u3002",a:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u50F9\u8B49\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u984D\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"investment",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6295\u8CC7\u984D\u3002",example:"10000000",require:"m",repeat:"n",type:"rangenumber"},{name:"discount",detail:"\u6709\u50F9\u8B49\u5238\u7684\u8CBC\u73FE\u7387\u3002",example:"0.0575",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DISC",t:8,d:"\u8FD4\u56DE\u6709\u50F9\u8B49\u5238\u7684\u8CBC\u73FE\u7387\u3002",a:"\u8FD4\u56DE\u6709\u50F9\u8B49\u5238\u7684\u8CBC\u73FE\u7387\u3002",m:[4,5],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"pr",detail:"\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\uFF08\u6309\u9762\u503C\u70BA\uFFE5100\u8A08\u7B97\uFF09\u3002",example:"97.975",require:"m",repeat:"n",type:"rangenumber"},{name:"redemption",detail:"\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002",example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPER",t:8,d:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u67D0\u9805\u6295\u8CC7\u7684\u7E3D\u671F\u6578\u3002",a:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u67D0\u9805\u6295\u8CC7\u7684\u7E3D\u671F\u6578\u3002",m:[3,5],p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002",example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{name:"pmt",detail:"\u5404\u671F\u6240\u61C9\u652F\u4ED8\u7684\u91D1\u984D,\u5728\u6574\u500B\u5E74\u91D1\u671F\u9593\u4FDD\u6301\u4E0D\u8B8A\u3002",example:"500",require:"m",repeat:"n",type:"rangenumber"},{name:"pv",detail:"\u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7684\u7576\u524D\u503C\u7684\u7D2F\u7A4D\u548C\u3002",example:"40000",require:"m",repeat:"n",type:"rangenumber"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002",example:"0",require:"o",repeat:"n",type:"rangenumber"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
0\u8868\u793A\u671F\u672B\uFF1B
1\u8868\u793A\u671F\u521D\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SLN",t:8,d:"\u8FD4\u56DE\u4E00\u500B\u671F\u9593\u5167\u7684\u8CC7\u7522\u7684\u76F4\u7DDA\u6298\u820A\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u671F\u9593\u5167\u7684\u8CC7\u7522\u7684\u76F4\u7DDA\u6298\u820A\u3002",m:[3,3],p:[{name:"cost",detail:"\u8CC7\u7522\u539F\u503C\u3002",example:"300000",require:"m",repeat:"n",type:"rangenumber"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002",example:"75000",require:"m",repeat:"n",type:"rangenumber"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002",example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DURATION",t:8,d:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u5B9A\u671F\u4ED8\u606F\u6709\u50F9\u8B49\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u5B9A\u671F\u4ED8\u606F\u6709\u50F9\u8B49\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",m:[5,6],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"coupon",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MDURATION",t:8,d:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684Macauley\u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684Macauley\u4FEE\u6B63\u671F\u9650\u3002",m:[5,6],p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002",example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{name:"coupon",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002",example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
\u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
\u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
\u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`,example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`,example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2DEC",t:9,d:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",a:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",m:[1,1],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768410\u4F4D\u4E8C\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA0111111111,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA1000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u4E8C\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,BIN2DEC\uFF08100\uFF09\u548CBIN2DEC\uFF08"100"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA4\u3002`,example:"101",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIN2HEX",t:9,d:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",a:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768410\u4F4D\u4E8C\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA0111111111,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA1000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u4E8C\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,BIN2HEX\uFF0811111\uFF09\u548CBIN2HEX\uFF08"11111"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA1F\u3002`,example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9078 ] -\u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002\u4F8B\u5982,BIN2HEX\uFF08"11111",8\uFF09\u6240\u5F97\u7684\u7D50\u679C\u503C\u70BA0000001F\u3002
\u5982\u679C\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC1000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2OCT",t:9,d:"\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",a:"\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u5E36\u7B26\u865F\u768410\u4F4D\u4E8C\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA0111111111,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA1000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u4E8C\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,BIN2OCT\uFF0811111\uFF09\u548CBIN2OCT\uFF08"11111"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA37\u3002`,example:"101",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002\u4F8B\u5982,BIN2OCT\uFF08"11111"\uFF09\u5F97\u5230\u7684\u7D50\u679C\u503C\u70BA00000037\u3002
\u5982\u679C\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC1000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2BIN",t:9,d:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u5341\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA511,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA-512\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,DEC2BIN\uFF08199\uFF09\u548CDEC2BIN\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA11000111\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5341\u9032\u4F4D\u6578\u70BA\u8CA0\u6578,\u5247\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2HEX",t:9,d:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u5341\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA549755813887,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA-549755814888\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,DEC2HEX\uFF08100\uFF09\u548CDEC2HEX\uFF08"100"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA64\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5341\u9032\u4F4D\u6578\u70BA\u8CA0\u6578,\u5247\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2OCT",t:9,d:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",a:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u5341\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA536870911,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA-53687092\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,DEC2OCT\uFF08199\uFF09\u548CDEC2OCT\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA307\u3002`,example:"100",require:"m",repeat:"n",type:"rangenumber"},{name:"places",detail:`[ \u53EF\u9078 ] -\u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5341\u9032\u4F4D\u6578\u70BA\u8CA0\u6578,\u5247\u5FFD\u7565\u6B64\u503C \u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2BIN",t:9,d:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768440\u4F4D\u5341\u516D\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA1FF,\u6700\u5C0F\u8CA0\u6578\u503C\u70BAFFFFFFFE00\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u516D\u9032\u4F4D\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,HEX2BIN\uFF08199\uFF09\u548CHEX2BIN\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA110011001\u3002`,example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC8000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2DEC",t:9,d:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",m:[1,1],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768440\u4F4D\u5341\u516D\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA7fffffffff,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA8000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u516D\u9032\u4F4D\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,HEX2DEC\uFF08199\uFF09\u548CHEX2DEC\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA409 \u3002`,example:'"f3"',require:"m",repeat:"n",type:"rangeall"}]},{n:"HEX2OCT",t:9,d:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",a:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u5E36\u7B26\u865F\u768440\u4F4D\u5341\u516D\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA1FFFFFFF,\u6700\u5C0F\u8CA0\u6578\u503C\u70BAFFE0000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u516D\u9032\u4F4D\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,HEX2OCT\uFF08199\uFF09\u548CHEX2OCT\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA631\u3002`,example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u7D66\u5B9A\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC8000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2BIN",t:9,d:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",a:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768430\u4F4D\u516B\u9032\u5236\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA777,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA7777777000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u662F\u6709\u6548\u7684\u516B\u9032\u5236\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,OCT2BIN\uFF08177\uFF09\u548COCT2BIN\uFF08"177"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA1111111\u3002`,example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u7D66\u5B9A\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u5927\u65BC\u7B49\u65BC4000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2DEC",t:9,d:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",a:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",m:[1,1],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768430\u4F4D\u516B\u9032\u5236\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684ba\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA3777777777,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA4000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u662F\u6709\u6548\u7684\u516B\u9032\u5236\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,OCT2DEC\uFF08177\uFF09\u548COCT2DEC\uFF08"177"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA127\u3002`,example:"37",require:"m",repeat:"n",type:"rangeall"}]},{n:"OCT2HEX",t:9,d:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",a:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",m:[1,2],p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768430\u4F4D\u516B\u9032\u5236\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
\u5E36\u7B26\u865F\u7684ba\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
\u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA3777777777,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA4000000000\u3002
\u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u662F\u6709\u6548\u7684\u516B\u9032\u5236\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,OCT2HEX\uFF08177\uFF09\u548COCT2HEX\uFF08"177"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA7F\u3002`,example:"37",require:"m",repeat:"n",type:"rangeall"},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
\u5982\u679C\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u7D66\u5B9A\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u5927\u65BC\u7B49\u65BC4000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`,example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COMPLEX",t:9,d:"\u5C07\u5BE6\u4FC2\u6578\u53CA\u865B\u4FC2\u6578\u8F49\u63DB\u70BA x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u8907\u6578\u3002",a:"\u5C07\u5BE6\u4FC2\u6578\u53CA\u865B\u4FC2\u6578\u8F49\u63DB\u70BA x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u8907\u6578\u3002",m:[2,3],p:[{name:"real_num",detail:"\u8907\u6578\u7684\u5BE6\u4FC2\u6578\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"},{name:"i_num",detail:"\u8907\u6578\u7684\u865B\u4FC2\u6578\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"suffix",detail:'[\u53EF\u9078 - \u9ED8\u8A8D\u70BA"i"] - \u8907\u6578\u4E2D\u865B\u4FC2\u6578\u7684\u5C3E\u78BC\u3002',example:'"j"',require:"o",repeat:"n",type:"rangestring"}]},{n:"IMREAL",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5BE6\u4FC2\u6578\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5BE6\u4FC2\u6578\u3002",m:[1,1],p:[{name:"inumber",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5BE6\u4FC2\u6578\u7684\u8907\u6578\u3002",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMAGINARY",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u865B\u4FC2\u6578\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u865B\u4FC2\u6578\u3002",m:[1,1],p:[{name:"inumber",detail:"\u9700\u8981\u8A08\u7B97\u5176\u865B\u4FC2\u6578\u7684\u8907\u6578\u3002",example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMCONJUGATE",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5171\u8EDB\u8907\u6578\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5171\u8EDB\u8907\u6578\u3002",m:[1,1],p:[{name:"inumber",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5171\u8EDB\u6578\u7684\u8907\u6578\u3002",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMABS",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u7D55\u5C0D\u503C\uFF08\u6A21\uFF09\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u7D55\u5C0D\u503C\uFF08\u6A21\uFF09\u3002",m:[1,1],p:[{name:"inumber",detail:"\u8981\u8A08\u7B97\u5176\u7D55\u5C0D\u503C\u7684\u8907\u6578\u3002",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DELTA",t:9,d:"\u6AA2\u9A57\u5169\u500B\u503C\u662F\u5426\u76F8\u7B49\u3002\u5982\u679C number1=number2,\u5247\u8FD4\u56DE1\uFF1B\u5426\u5247\u8FD4\u56DE0\u3002",a:"\u6AA2\u9A57\u5169\u500B\u503C\u662F\u5426\u76F8\u7B49\u3002\u5982\u679C number1=number2,\u5247\u8FD4\u56DE1\uFF1B\u5426\u5247\u8FD4\u56DE0\u3002",m:[1,2],p:[{name:"number1",detail:"\u7B2C\u4E00\u500B\u6578\u4F4D\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"},{name:"number2",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u7B2C\u4E8C\u500B\u6578\u4F4D\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"IMSUM",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u548C\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u548C\u3002",m:[1,255],p:[{name:"inumber1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u500B\u8907\u6578",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2, \u2026",detail:"[\u53EF\u9078] -\u8981\u8207\u503C1\u76F8\u52A0\u7684\u5176\u4ED6\u8907\u6578",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMSUB",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5DEE\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5DEE\u3002",m:[2,2],p:[{name:"inumber1",detail:"\u5F9E\uFF08\u8907\uFF09\u6578\u4E2D\u51CF\u53BB inumber2\u3002",example:'"6+5i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2",detail:"\u5F9E inumber1 \u4E2D\u51CF\uFF08\u8907\uFF09\u6578\u3002",example:'"2+3i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMPRODUCT",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u4E58\u7A4D\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u4E58\u7A4D\u3002",m:[1,255],p:[{name:"inumber1",detail:"\u7528\u65BC\u8A08\u7B97\u4E58\u7A4D\u7684\u7B2C\u4E00\u500B\u8907\u6578",example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2, \u2026",detail:"[\u53EF\u9078] -\u8981\u76F8\u4E58\u7684\u5176\u4ED6\u8907\u6578\u3002",example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMDIV",t:9,d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5546\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5546\u3002",m:[2,2],p:[{name:"inumber1",detail:"\u8907\u6578\u5206\u5B50\u6216\u88AB\u9664\u6578\u3002",example:'"11+16i"',require:"m",repeat:"n",type:"rangeall"},{name:"inumber2",detail:"\u8907\u6578\u5206\u6BCD\u6216\u9664\u6578\u3002",example:'"3+2i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NOT",t:10,d:'\u8FD4\u56DE\u67D0\u500B\u908F\u8F2F\u503C\u7684\u76F8\u53CD\u503C-"NOT\uFF08TRUE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DEFALSE\uFF1B"NOT\uFF08FALSE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DETRUE\u3002',a:'\u8FD4\u56DE\u67D0\u500B\u908F\u8F2F\u503C\u7684\u76F8\u53CD\u503C-"NOT\uFF08TRUE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DEFALSE\uFF1B"NOT\uFF08FALSE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DETRUE\u3002',m:[1,1],p:[{name:"logical",detail:"\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6216FALSE\u7684\u4EFB\u4F55\u503C\u6216\u904B\u7B97\u5F0F\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TRUE",t:10,d:"\u8FD4\u56DE\u908F\u8F2F\u503C TRUE\u3002",a:"\u8FD4\u56DE\u908F\u8F2F\u503C TRUE\u3002",m:[0,0],p:[]},{n:"FALSE",t:10,d:"\u8FD4\u56DE\u908F\u8F2F\u503C FALSE\u3002",a:"\u8FD4\u56DE\u908F\u8F2F\u503C FALSE\u3002",m:[0,0],p:[]},{n:"AND",t:10,d:"\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",a:"\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",m:[1,255],p:[{name:"logical1",detail:"\u8981\u6E2C\u8A66\u7684\u7B2C\u4E00\u500B\u689D\u4EF6,\u5176\u8A08\u7B97\u7D50\u679C\u53EF\u4EE5\u70BATRUE\u6216FALSE\u3002",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"logical2,...",detail:"[\u53EF\u9078] - \u8981\u6E2C\u8A66\u7684\u5176\u4ED6\u689D\u4EF6,\u5176\u8A08\u7B97\u7D50\u679C\u53EF\u4EE5\u70BATRUE\u6216FALSE,\u6700\u591A\u53EF\u5305\u542B255\u500B\u689D\u4EF6\u3002",example:'A3 = "bar"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IFERROR",t:10,d:"\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u4E0D\u662F\u932F\u8AA4\u503C,\u5C31\u8FD4\u56DE\u7B2C\u4E00\u500B\u53C3\u6578\uFF1B\u5426\u5247,\u8FD4\u56DE\u7B2C\u4E8C\u500B\u53C3\u6578\u3002",a:"\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u4E0D\u662F\u932F\u8AA4\u503C",m:[2,2],p:[{name:"value",detail:"\u6AA2\u67E5\u662F\u5426\u5B58\u5728\u932F\u8AA4\u7684\u53C3\u6578\u3002",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"value_if_error",detail:"\u516C\u5F0F\u7684\u8A08\u7B97\u7D50\u679C\u932F\u8AA4\u6642\u8FD4\u56DE\u7684\u503C\u3002\u8A08\u7B97\u4EE5\u4E0B\u932F\u8AA4\u985E\u578B:#N/A\u3001#VALUE\uFF01\u3001#REF\uFF01\u3001#DIV/0\uFF01\u3001#NUM\uFF01\u3001#NAME\uFF1F\u6216#NULL\uFF01\u3002",example:'"Error in cell A1"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IF",t:10,d:"\u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u7684\u503C\u70BATRUE\u6642\u8FD4\u56DE\u4E00\u500B\u503C,\u800C\u7576\u5176\u70BAFALSE\u6642\u8FD4\u56DE\u53E6\u4E00\u500B\u503C\u3002",a:"\u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u7684\u503C\u70BATRUE\u6642\u8FD4\u56DE\u4E00\u500B\u503C,\u800C\u7576\u5176\u70BAFALSE\u6642\u8FD4\u56DE\u53E6\u4E00\u500B\u503C\u3002",m:[2,3],p:[{name:"logical_test",detail:"\u4E00\u500B\u904B\u7B97\u5F0F\u6216\u5C0D\u5305\u542B\u904B\u7B97\u5F0F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u8A72\u904B\u7B97\u5F0F\u4EE3\u8868\u67D0\u7A2E\u908F\u8F2F\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u3002",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_true",detail:"\u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u70BATRUE\u6642\u7684\u8FD4\u56DE\u503C\u3002",example:'"A2 is foo"',require:"m",repeat:"n",type:"rangeall"},{name:"value_if_false",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u70BA\u7A7A\u767D] - \u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u7B49\u65BCFALSE\u6642\u7684\u51FD\u6578\u8FD4\u56DE\u503C\u3002",example:'"A2 was false"',require:"o",repeat:"n",type:"rangeall"}]},{n:"OR",t:10,d:"\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",a:"\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",m:[1,255],p:[{name:"logical1",detail:"\u8981\u6E2C\u8A66\u7684\u7B2C\u4E00\u500B\u689D\u4EF6,\u5176\u8A08\u7B97\u7D50\u679C\u53EF\u4EE5\u70BATRUE\u6216FALSE\u3002",example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{name:"\u908F\u8F2F\u904B\u7B97\u5F0F2",detail:"[\u53EF\u9078] - \u5176\u4ED6\u904B\u7B97\u5F0F\u6216\u5C0D\u5305\u542B\u904B\u7B97\u5F0F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u9019\u4E9B\u904B\u7B97\u5F0F\u4EE3\u8868\u67D0\u7A2E\u908F\u8F2F\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u6216\u8005\u53EF\u4EE5\u5F37\u5236\u8F49\u63DB\u70BA\u908F\u8F2F\u503C\u3002",example:' A3 = "bar"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NE",t:11,d:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"<>"\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"<>"\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u8981\u6AA2\u67E5\u662F\u5426\u8207 value1 \u4E0D\u76F8\u7B49\u7684\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"EQ",t:11,d:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"="\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"="\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u8981\u6AA2\u67E5\u662F\u5426\u8207value1\u76F8\u7B49\u7684\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GT",t:11,d:"\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u56B4\u683C\u5927\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC">"\u904B\u7B97\u5B50\u3002",a:"\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u56B4\u683C\u5927\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC">"\u904B\u7B97\u5B50\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u6E2C\u8A66\u5176\u662F\u5426\u5927\u65BC value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GTE",t:11,d:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5927\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC">="\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5927\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC">="\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5927\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LT",t:11,d:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u56B4\u683C\u5C0F\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<"\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u56B4\u683C\u5C0F\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<"\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LTE",t:11,d:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5C0F\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<="\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5C0F\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<="\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ADD",t:11,d:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u548C\u3002\u76F8\u7576\u65BC"+"\u904B\u7B97\u5B50\u3002',a:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u548C\u3002\u76F8\u7576\u65BC"+"\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u52A0\u6578\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u52A0\u6578\u3002",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINUS",t:11,d:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u5DEE\u3002\u76F8\u7576\u65BC"-"\u904B\u7B97\u5B50\u3002',a:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u5DEE\u3002\u76F8\u7576\u65BC"-"\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u88AB\u6E1B\u6578,\u5373\u8981\u5C0D\u5176\u8A08\u51CF\u7684\u6578\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"\u6E1B\u6578,\u5373\u8981\u5F9Evalue1\u4E2D\u51CF\u9664\u7684\u6578\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTIPLY",t:11,d:'\u8FD4\u56DE\u5169\u500B\u6578\u7684\u4E58\u7A4D\u3002\u76F8\u7576\u65BC"*"\u904B\u7B97\u5B50\u3002',a:'\u8FD4\u56DE\u5169\u500B\u6578\u7684\u4E58\u7A4D\u3002\u76F8\u7576\u65BC"*"\u904B\u7B97\u5B50\u3002',m:[2,2],p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u4E58\u6578\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u4E58\u6578\u3002",example:"B2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DIVIDE",t:11,d:"\u8FD4\u56DE\u5169\u500B\u53C3\u6578\u76F8\u9664\u6240\u5F97\u7684\u7D50\u679C\u3002\u76F8\u7576\u65BC`/`\u904B\u7B97\u5B50\u3002",a:"\u8FD4\u56DE\u5169\u500B\u53C3\u6578\u76F8\u9664\u6240\u5F97\u7684\u7D50\u679C\u3002\u76F8\u7576\u65BC`/`\u904B\u7B97\u5B50\u3002",m:[2,2],p:[{name:"value1",detail:"\u8981\u88AB\u9664\u7684\u6578\u503C\u3002",example:"4",require:"m",repeat:"n",type:"rangenumber"},{name:"value2",detail:`\u7528\u65BC\u9664\u5176\u4ED6\u6578\u7684\u6578\u503C\u3002
\u9664\u6578\u4E0D\u5F97\u70BA0\u3002`,example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCAT",t:11,d:"\u8FD4\u56DE\u5169\u500B\u503C\u7684\u4E32\u806F\u3002\u76F8\u7576\u65BC`&`\u904B\u7B97\u5B50\u3002",a:"\u8FD4\u56DE\u5169\u500B\u503C\u7684\u4E32\u806F\u3002\u76F8\u7576\u65BC`&`\u904B\u7B97\u5B50\u3002",m:[2,2],p:[{name:"value1",detail:"value2 \u5C07\u9644\u65BC\u5176\u5F8C\u7684\u503C\u3002",example:'"de"',require:"m",repeat:"n",type:"rangeall"},{name:"value2",detail:"\u8981\u9644\u65BC value1 \u4E4B\u5F8C\u7684\u503C\u3002",example:'"mystify"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UNARY_PERCENT",t:11,d:'\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CB\u7684\u6578\u503C\u3002\u4F8B\u5982,"UNARY_PERCENT\uFF08100\uFF09"\u7B49\u65BC1\u3002',a:'\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CB\u7684\u6578\u503C\u3002\u4F8B\u5982,"UNARY_PERCENT\uFF08100\uFF09"\u7B49\u65BC1\u3002',m:[1,1],p:[{name:"number",detail:"\u8981\u4F5C\u70BA\u767E\u5206\u6BD4\u89E3\u91CB\u7684\u6578\u503C\u3002",example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCATENATE",t:12,d:"\u5C07\u5169\u500B\u6216\u591A\u500B\u6587\u5B57\u5B57\u4E32\u806F\u63A5\u70BA\u4E00\u500B\u5B57\u4E32\u3002",a:"\u5C07\u5169\u500B\u6216\u591A\u500B\u6587\u5B57\u5B57\u4E32\u806F\u63A5\u70BA\u4E00\u500B\u5B57\u4E32\u3002",m:[1,255],p:[{name:"text1",detail:"\u521D\u59CB\u5B57\u4E32\u3002",example:'"Super"',require:"m",repeat:"n",type:"rangeall"},{name:"text2\u2026",detail:"[\u53EF\u9078] - \u8981\u6309\u9806\u5E8F\u9023\u63A5\u5728\u4E00\u8D77\u7684\u5176\u4ED6\u5B57\u4E32\u3002",example:'"calla"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CODE",t:12,d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u4E32\u4E2D\u9996\u5B57\u5143\u7684Unicode\u6620\u5C04\u503C\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u4E32\u4E2D\u9996\u5B57\u5143\u7684Unicode\u6620\u5C04\u503C\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u9996\u5B57\u5143\u7684Unicode\u6620\u5C04\u503C\u7684\u5B57\u4E32\u3002",example:'"a"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CHAR",t:12,d:"\u6309\u7167\u7576\u524DUnicode\u7DE8\u78BC\u8868,\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u5C0D\u61C9\u7684\u5B57\u5143\u3002",a:"\u6309\u7167\u7576\u524DUnicode\u7DE8\u78BC\u8868,\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u5C0D\u61C9\u7684\u5B57\u5143\u3002",m:[1,1],p:[{name:"number",detail:"\u4ECB\u65BC1\u5230255\u4E4B\u9593\u7684\u6578\u4F4D\u3002",example:"97",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ARABIC",t:12,d:"\u5C07\u7F85\u99AC\u6578\u5B57\u8F49\u63DB\u70BA\u963F\u62C9\u4F2F\u6578\u5B57\u3002",a:"\u5C07\u7F85\u99AC\u6578\u5B57\u8F49\u63DB\u70BA\u963F\u62C9\u4F2F\u6578\u5B57\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F49\u63DB\u683C\u5F0F\u7684\u7F85\u99AC\u6578\u5B57",example:'"XIV"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ROMAN",t:12,d:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u7F85\u99AC\u6578\u5B57\u5F62\u5F0F\u3002",a:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u7F85\u99AC\u6578\u5B57\u5F62\u5F0F\u3002",m:[1,1],p:[{name:"number",detail:"\u8981\u8A2D\u5B9A\u683C\u5F0F\u7684\u6578\u4F4D,\u4ECB\u65BC1\u52303999\u4E4B\u9593\uFF08\u5305\u62EC\u9019\u5169\u500B\u6578\u4F4D\uFF09\u3002",example:"499",require:"m",repeat:"n",type:"rangenumber"}]},{n:"REGEXEXTRACT",t:12,d:"\u6309\u7167\u898F\u5247\u904B\u7B97\u5F0F\u9078\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",a:"\u6309\u7167\u898F\u5247\u904B\u7B97\u5F0F\u9078\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",m:[2,2],p:[{name:"text",detail:"\u8F38\u5165\u6587\u5B57\u3002",example:'"Needle in a haystack"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"\u6B64\u51FD\u6578\u5C07\u8FD4\u56DE\u6587\u5B57\u4E2D\u7B26\u5408\u6B64\u904B\u7B97\u5F0F\u7684\u7B2C\u4E00\u500B\u5B50\u4E32\u3002",example:'".e{2}dle"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXMATCH",t:12,d:"\u5224\u65B7\u4E00\u6BB5\u6587\u5B57\u662F\u5426\u8207\u898F\u5247\u904B\u7B97\u5F0F\u76F8\u5339\u914D\u3002",a:"\u5224\u65B7\u4E00\u6BB5\u6587\u5B57\u662F\u5426\u8207\u898F\u5247\u904B\u7B97\u5F0F\u76F8\u5339\u914D\u3002",m:[2,2],p:[{name:"text",detail:"\u8981\u7528\u898F\u5247\u904B\u7B97\u5F0F\u6E2C\u8A66\u7684\u6587\u5B57\u3002",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"\u7528\u4F86\u6E2C\u8A66\u6587\u5B57\u7684\u898F\u5247\u904B\u7B97\u5F0F\u3002",example:'"S.r"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXREPLACE",t:12,d:"\u4F7F\u7528\u898F\u5247\u904B\u7B97\u5F0F\u5C07\u6587\u5B57\u5B57\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",a:"\u4F7F\u7528\u898F\u5247\u904B\u7B97\u5F0F\u5C07\u6587\u5B57\u5B57\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",m:[3,3],p:[{name:"text",detail:"\u8981\u5C0D\u5176\u5C40\u90E8\u9032\u884C\u66FF\u63DB\u64CD\u4F5C\u7684\u6587\u5B57\u3002",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"regular_expression",detail:"\u898F\u5247\u904B\u7B97\u5F0F\u3002text\u4E2D\u6240\u6709\u5339\u914D\u7684\u5BE6\u4F8B\u90FD\u5C07\u88AB\u66FF\u63DB\u3002",example:'"S.*d"',require:"m",repeat:"n",type:"rangeall"},{name:"replacement",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u5B57\u4E2D\u7684\u6587\u5B57\u3002",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"T",t:12,d:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u4E32\u53C3\u6578\u3002",a:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u4E32\u53C3\u6578\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u6587\u5B57\u7684\u53C3\u6578\u3002
\u5982\u679C\u503C\u70BA\u6587\u5B57,T\u5C07\u8FD4\u56DE\u503C\u672C\u8EAB\u3002
\u5982\u679C\u503C\u70BA\u6307\u5411\u5305\u542B\u6587\u5B57\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,T\u5C07\u8FD4\u56DE\u503C\u4E2D\u7684\u5167\u5BB9\u3002
\u5982\u679C\u503C\u70BA\u932F\u8AA4\u503C\u6216\u5305\u542B\u932F\u8AA4\u503C\u7684\u5132\u5B58\u683C,T\u5C07\u8FD4\u56DE\u8A72\u932F\u8AA4\u503C\u3002
\u5C0D\u65BC\u6240\u6709\u5176\u4ED6\u60C5\u51B5,T\u5C07\u8FD4\u56DE\u7A7A\u4E32\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"FIXED",t:12,d:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u8A2D\u5B9A\u6578\u4F4D\u7684\u683C\u5F0F\u3002",a:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u8A2D\u5B9A\u6578\u4F4D\u7684\u683C\u5F0F\u3002",m:[1,3],p:[{name:"number",detail:"\u8981\u9032\u884C\u820D\u5165\u4E26\u8F49\u63DB\u70BA\u6587\u5B57\u7684\u6578\u4F4D\u3002",example:"3.141592653",require:"m",repeat:"n",type:"rangenumber"},{name:"decimals",detail:`[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA2] - \u7D50\u679C\u4E2D\u8981\u986F\u793A\u7684\u5C0F\u6578\u4F4D\u6578\u3002
\u5982\u679C\u6578\u503C\u7684\u6709\u6548\u4F4D\u6578\u5C0F\u65BC\u5C0F\u6578\u4F4D\u6578,\u5C07\u4EE5\u96F6\u586B\u5145\u3002\u5982\u679C\u6578\u503C\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u5C0F\u6578\u4F4D\u6578,\u5247\u5C07\u5176\u820D\u5165\u5230\u6240\u9700\u7684\u5C0F\u6578\u4F4D\u6578\u800C\u4E0D\u662F\u5C07\u5176\u622A\u65B7\u3002`,example:"2",require:"o",repeat:"n",type:"rangenumber"},{name:"no_commas",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BAFALSE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u6703\u7981\u6B62FIXED\u5728\u8FD4\u56DE\u7684\u6587\u5B57\u4E2D\u5305\u542B\u9017\u865F\u3002",example:"FALSE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"}]},{n:"FIND",t:12,d:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",m:[2,3],p:[{name:"find_text",detail:"\u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u67E5\u627E\u7684\u5B57\u4E32\u3002",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u8490\u7D22\u8490\u7D22\u5B57\u4E32\u7684\u9996\u6B21\u51FA\u73FE\u4F4D\u7F6E\u7684\u6587\u5B57\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u958B\u59CB\u8490\u7D22\u7684\u5B57\u5143\u4F4D\u7F6E\u3002",example:"14",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FINDB",t:12,d:"\u8FD4\u56DE\u67D0\u500B\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u6BCF\u500B\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u5360\u5169\u500B\u4F4D\u7F6E\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u500B\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u6BCF\u500B\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u5360\u5169\u500B\u4F4D\u7F6E\uFF09\u3002",m:[2,3],p:[{name:"find_text",detail:"\u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u67E5\u627E\u7684\u5B57\u4E32\u3002",example:'"\u65B0"',require:"m",repeat:"n",type:"rangeall"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u8490\u7D22\u8490\u7D22\u5B57\u4E32\u7684\u9996\u6B21\u51FA\u73FE\u4F4D\u7F6E\u7684\u6587\u5B57\u3002",example:'"\u8FB2\u66C6\u65B0\u5E74"',require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u958B\u59CB\u8490\u7D22\u7684\u5B57\u5143\u4F4D\u7F6E\u3002",example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"JOIN",t:12,d:"\u5C07\u4E00\u500B\u6216\u591A\u500B\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7DAD\u6578\u7D44\u7684\u5143\u7D20\u9023\u63A5\u5230\u4E00\u8D77\u3002",a:"\u5C07\u4E00\u500B\u6216\u591A\u500B\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7DAD\u6578\u7D44\u7684\u5143\u7D20\u9023\u63A5\u5230\u4E00\u8D77\u3002",m:[2,255],p:[{name:"separator",detail:`\u7F6E\u65BC\u76F8\u4E92\u9023\u63A5\u7684\u503C\u4E4B\u9593\u7684\u5B57\u5143\u6216\u5B57\u4E32\u3002
\u5B9A\u754C\u7B26\u53EF\u4EE5\u70BA\u7A7A,\u4F8B\u5982JOIN\uFF08,{1,2,3}\uFF09\u3002`,example:'"and-a"',require:"m",repeat:"n",type:"rangeall"},{name:"array1",detail:"\u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u9023\u63A5\u7684\u4E00\u500B\u6216\u591A\u500B\u503C\u3002",example:"{1",require:"m",repeat:"n",type:"rangeall"},{name:"array2,\u2026",detail:"[\u53EF\u9078] - \u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u9023\u63A5\u7684\u5176\u4ED6\u503C\u6216\u6578\u7D44\u3002",example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"LEFT",t:12,d:"\u5F9E\u6587\u5B57\u5B57\u4E32\u7684\u7B2C\u4E00\u500B\u5B57\u5143\u958B\u59CB\u8FD4\u56DE\u6307\u5B9A\u500B\u6578\u7684\u5B57\u5143\u3002",a:"\u5F9E\u6587\u5B57\u5B57\u4E32\u7684\u7B2C\u4E00\u500B\u5B57\u5143\u958B\u59CB\u8FD4\u56DE\u6307\u5B9A\u500B\u6578\u7684\u5B57\u5143\u3002",m:[1,2],p:[{name:"text",detail:"\u5305\u542B\u8981\u9078\u53D6\u7684\u5B57\u5143\u7684\u6587\u5B57\u5B57\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"num_chars",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u6307\u5B9A\u8981\u7531LEFT\u9078\u53D6\u7684\u5B57\u5143\u7684\u6578\u91CF\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RIGHT",t:12,d:"\u6839\u64DA\u6240\u6307\u5B9A\u7684\u5B57\u5143\u6578\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u6700\u5F8C\u4E00\u500B\u6216\u591A\u500B\u5B57\u5143\u3002",a:"\u6839\u64DA\u6240\u6307\u5B9A\u7684\u5B57\u5143\u6578\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u6700\u5F8C\u4E00\u500B\u6216\u591A\u500B\u5B57\u5143\u3002",m:[1,2],p:[{name:"text",detail:"\u5305\u542B\u8981\u9078\u53D6\u7684\u5B57\u5143\u7684\u6587\u5B57\u5B57\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"num_chars",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u6307\u5B9A\u8981\u7531RIGHT\u9078\u53D6\u7684\u5B57\u5143\u7684\u6578\u91CF\u3002",example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MID",t:12,d:"\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u5F9E\u6307\u5B9A\u4F4D\u7F6E\u958B\u59CB\u7684\u7279\u5B9A\u6578\u76EE\u7684\u5B57\u5143\u3002",a:"\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u5F9E\u6307\u5B9A\u4F4D\u7F6E\u958B\u59CB\u7684\u7279\u5B9A\u6578\u76EE\u7684\u5B57\u5143\u3002",m:[3,3],p:[{name:"text",detail:"\u5305\u542B\u8981\u9078\u53D6\u7684\u5B57\u5143\u7684\u6587\u5B57\u5B57\u4E32\u3002",example:'"get this"',require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"\u8981\u5F9E\u5B57\u4E32\u4E2D\u958B\u59CB\u9078\u53D6\u7684\u4F4D\u7F6E\u3002\u5B57\u4E32\u4E2D\u7B2C\u4E00\u500B\u5B57\u5143\u7684\u7D22\u5F15\u70BA1\u3002",example:"5",require:"m",repeat:"n",type:"rangenumber"},{name:"num_chars",detail:`\u6307\u5B9A\u8981\u7531MID\u9078\u53D6\u7684\u5B57\u5143\u7684\u6578\u91CF\u3002
\u5982\u679C\u9078\u53D6\u7684\u5B57\u5143\u6578\u5C1A\u4E0D\u8DB3\u9078\u53D6\u9577\u5EA6\u500B\u5B57\u5143\u6642\u5C31\u5230\u9054\u4E86\u5B57\u4E32\u5C3E\u90E8,\u5247MID\u8FD4\u56DE\u5F9E\u958B\u59CB\u4F4D\u7F6E\u5230\u5B57\u4E32\u5C3E\u90E8\u7684\u5B57\u5143\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LEN",t:12,d:"\u8FD4\u56DE\u7D66\u5B9A\u5B57\u4E32\u7684\u9577\u5EA6\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5B57\u4E32\u7684\u9577\u5EA6\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u9577\u5EA6\u7684\u5B57\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LENB",t:12,d:"\u8FD4\u56DE\u6587\u5B57\u4E2D\u6240\u5305\u542B\u7684\u5B57\u5143\u6578\u3002\u8207\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u96C6\uFF08DBCS\uFF09\u4E00\u8D77\u4F7F\u7528\u3002",a:"\u8FD4\u56DE\u6587\u5B57\u4E2D\u6240\u5305\u542B\u7684\u5B57\u5143\u6578\u3002\u8207\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u96C6\uFF08DBCS\uFF09\u4E00\u8D77\u4F7F\u7528\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u4F4D\u5143\u7D44\u6578\u7684\u5B57\u4E32\u3002\uFF08\u4E00\u500B\u6F22\u5B57\u70BA\u5169\u500B\u4F4D\u5143\u7D44\u6578\uFF09",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LOWER",t:12,d:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5C0F\u5BEB\u3002",a:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5C0F\u5BEB\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F49\u63DB\u70BA\u5C0F\u5BEB\u7684\u5B57\u4E32\u3002",example:'"LOREM IPSUM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UPPER",t:12,d:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5927\u5BEB\u3002",a:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5927\u5BEB\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F49\u63DB\u70BA\u5927\u5BEB\u7684\u5B57\u4E32\u3002",example:'"lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EXACT",t:12,d:"\u6BD4\u8F03\u5169\u500B\u5B57\u4E32\u662F\u5426\u76F8\u540C\u3002",a:"\u6BD4\u8F03\u5169\u500B\u5B57\u4E32\u662F\u5426\u76F8\u540C\u3002",m:[2,2],p:[{name:"text1",detail:"\u8981\u6BD4\u8F03\u7684\u7B2C\u4E00\u500B\u5B57\u4E32\u3002",example:"A1",require:"m",repeat:"n",type:"rangeall"},{name:"text2",detail:"\u8981\u6BD4\u8F03\u7684\u7B2C\u4E8C\u500B\u5B57\u4E32\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"REPLACE",t:12,d:"\u5C07\u6587\u5B57\u5B57\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",a:"\u5C07\u6587\u5B57\u5B57\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",m:[4,4],p:[{name:"old_text",detail:"\u8981\u5C0D\u5176\u5C40\u90E8\u9032\u884C\u66FF\u63DB\u64CD\u4F5C\u7684\u6587\u5B57\u3002",example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"\u958B\u59CB\u9032\u884C\u66FF\u63DB\u64CD\u4F5C\u7684\u4F4D\u7F6E\uFF08\u6587\u5B57\u958B\u982D\u4F4D\u7F6E\u70BA1\uFF09\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"num_chars",detail:"\u8981\u5728\u6587\u5B57\u4E2D\u66FF\u63DB\u7684\u5B57\u5143\u500B\u6578\u3002",example:"6",require:"m",repeat:"n",type:"rangenumber"},{name:"new_text",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u5B57\u4E2D\u7684\u6587\u5B57\u3002",example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REPT",t:12,d:"\u8FD4\u56DE\u6307\u5B9A\u6587\u5B57\u7684\u591A\u6B21\u91CD\u8907\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6587\u5B57\u7684\u591A\u6B21\u91CD\u8907\u3002",m:[2,2],p:[{name:"text",detail:"\u8981\u91CD\u8907\u7684\u5B57\u5143\u6216\u5B57\u4E32\u3002",example:'"ha"',require:"m",repeat:"n",type:"rangeall"},{name:"number_times",detail:`\u8981\u91CD\u8907\u7684\u6587\u5B57\u8981\u5728\u8FD4\u56DE\u503C\u4E2D\u51FA\u73FE\u7684\u6B21\u6578\u3002
\u6700\u5927\u91CD\u8907\u6B21\u6578\u70BA100\u3002\u5373\u4F7F\u91CD\u8907\u6B21\u6578\u5927\u65BC100,REPT\u4E5F\u50C5\u5C07\u76F8\u61C9\u6587\u5B57\u91CD\u8907100\u6B21\u3002`,example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SEARCH",t:12,d:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u4E0D\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u4E0D\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",m:[2,3],p:[{name:"find_text",detail:"\u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u67E5\u627E\u7684\u5B57\u4E32\u3002",example:'"n"',require:"m",repeat:"n",type:"rangeall"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u8490\u7D22\u8490\u7D22\u5B57\u4E32\u7684\u9996\u6B21\u51FA\u73FE\u4F4D\u7F6E\u7684\u6587\u5B57\u3002",example:"A2",require:"m",repeat:"n",type:"rangeall"},{name:"start_num",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1 ] - \u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u958B\u59CB\u8490\u7D22\u7684\u5B57\u5143\u4F4D\u7F6E\u3002",example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUBSTITUTE",t:12,d:"\u5728\u6587\u5B57\u5B57\u4E32\u4E2D\u7528new_text\u66FF\u63DBold_text\u3002",a:"\u5728\u6587\u5B57\u5B57\u4E32\u4E2D\u7528new_text\u66FF\u63DBold_text\u3002",m:[3,4],p:[{name:"text",detail:"\u9700\u8981\u66FF\u63DB\u5176\u4E2D\u5B57\u5143\u7684\u6587\u5B57,\u6216\u5C0D\u542B\u6709\u6587\u5B57\uFF08\u9700\u8981\u66FF\u63DB\u5176\u4E2D\u5B57\u5143\uFF09\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002",example:'"search for it"',require:"m",repeat:"n",type:"rangeall"},{name:"old_text",detail:"\u9700\u8981\u66FF\u63DB\u7684\u6587\u5B57\u3002",example:'"search for"',require:"m",repeat:"n",type:"rangeall"},{name:"new_text",detail:"\u7528\u65BC\u66FF\u63DBold_text\u7684\u6587\u5B57\u3002",example:'"Google"',require:"m",repeat:"n",type:"rangeall"},{name:"instance_num",detail:"[\u53EF\u9078] - \u6307\u5B9A\u8981\u7528new_text\u66FF\u63DBold_text\u7684\u4E8B\u4EF6\u3002\u5982\u679C\u6307\u5B9A\u4E86instance_num,\u5247\u53EA\u6709\u6EFF\u8DB3\u8981\u6C42\u7684old_text\u88AB\u66FF\u63DB\u3002\u5426\u5247,\u6587\u5B57\u4E2D\u51FA\u73FE\u7684\u6240\u6709old_text\u90FD\u6703\u66F4\u6539\u70BAnew_text\u3002",example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CLEAN",t:12,d:"\u79FB\u9664\u6587\u5B57\u4E2D\u7684\u4E0D\u53EF\u5217\u5370ASCII\u5B57\u5143\u5F8C\u5C07\u5176\u8FD4\u56DE\u3002",a:"\u79FB\u9664\u6587\u5B57\u4E2D\u7684\u4E0D\u53EF\u5217\u5370ASCII\u5B57\u5143\u5F8C\u5C07\u5176\u8FD4\u56DE\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u79FB\u9664\u5176\u4E2D\u4E0D\u53EF\u5217\u5370\u5B57\u5143\u7684\u6587\u5B57\u3002",example:'"AF"&amp;CHAR\uFF0831\uFF09',require:"m",repeat:"n",type:"rangeall"}]},{n:"TEXT",t:12,d:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u6587\u5B57\u3002",a:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u6587\u5B57\u3002",m:[2,2],p:[{name:"value",detail:"\u8981\u8A2D\u5B9A\u683C\u5F0F\u7684\u6578\u4F4D\u3001\u65E5\u671F\u6216\u6642\u9593\u3002",example:"1.23",require:"m",repeat:"n",type:"rangenumber"},{name:"format_text",detail:`\u4EE5\u62EC\u5F27\u62EC\u8D77\u4F86\u7684\u6A21\u5F0F\u4E32,\u5C07\u6309\u8A72\u6A21\u5F0F\u8A2D\u5B9A\u6578\u4F4D\u7684\u683C\u5F0F\u3002
0\u8868\u793A\u5728\u6578\u503C\u4F4D\u6578\u5C11\u65BC\u683C\u5F0F\u6307\u5B9A\u7684\u4F4D\u6578\u6642\u5FC5\u5B9A\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982,TEXT\uFF0812.3,\u201C000.00"\uFF09\u5C07\u8FD4\u56DE012.30\u3002\u7576\u6578\u503C\u7684\u5C0F\u6578\u4F4D\u6578\u8D85\u904E\u6A21\u5F0F\u6307\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u6642,\u56DB\u6368\u4E94\u5165\u70BA\u6307\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u3002\u4F8B\u5982,TEXT\uFF0812.305,\u201C00.00"\uFF09\u5C07\u8FD4\u56DE12.31\u3002
#\u985E\u4F3C\u65BC0,\u4F46\u4E26\u4E0D\u662F\u5728\u5C0F\u6578\u9EDE\u7684\u5169\u5074\u90FD\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982,TEXT\uFF0812.3,\u201C###.##"\uFF09\u5C07\u8FD4\u56DE12.3\u3002`,example:'"$0.00"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TRIM",t:12,d:"\u5220\u9664\u6307\u5B9A\u5B57\u4E32\u524D\u5F8C\u7684\u7A7A\u683C\u3002",a:"\u5220\u9664\u6307\u5B9A\u5B57\u4E32\u524D\u5F8C\u7684\u7A7A\u683C\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u4FEE\u526A\u7684\u5B57\u4E32\u6216\u6307\u5411\u5305\u542B\u8A72\u5B57\u4E32\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002",example:'"lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"VALUE",t:12,d:"\u5C07\u53EF\u8B58\u5225\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u6642\u9593\u6216\u6578\u4F4D\u683C\u5F0F\u7684\u5B57\u4E32\u8F49\u63DB\u70BA\u6578\u4F4D\u3002",a:"\u5C07\u53EF\u8B58\u5225\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u6642\u9593\u6216\u6578\u4F4D\u683C\u5F0F\u7684\u5B57\u4E32\u8F49\u63DB\u70BA\u6578\u4F4D\u3002",m:[1,1],p:[{name:"text",detail:"\u5305\u542B\u8981\u8F49\u63DB\u7684\u503C\u7684\u5B57\u4E32\u3002",example:'"123"',require:"m",repeat:"n",type:"rangeall"}]},{n:"PROPER",t:12,d:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u6BCF\u500B\u55AE\u8A5E\u7684\u9996\u5B57\u6BCD\u8F49\u70BA\u5927\u5BEB\u3002",a:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u6BCF\u500B\u55AE\u8A5E\u7684\u9996\u5B57\u6BCD\u8F49\u70BA\u5927\u5BEB\u3002",m:[1,1],p:[{name:"text",detail:"\u8981\u8F49\u63DB\u7684\u6587\u5B57,\u5176\u4E2D\u6BCF\u500B\u55AE\u8A5E\u7684\u9996\u5B57\u6BCD\u90FD\u5C07\u8F49\u70BA\u5927\u5BEB,\u6240\u6709\u5176\u4ED6\u5B57\u6BCD\u5247\u8F49\u70BA\u5C0F\u5BEB\u3002",example:'"united states"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CONVERT",t:13,d:"\u5C07\u6578\u4F4D\u5F9E\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u8F49\u63DB\u70BA\u53E6\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u3002",a:"\u5C07\u6578\u4F4D\u5F9E\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u8F49\u63DB\u70BA\u53E6\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u3002",m:[3,3],p:[{name:"number",detail:"\u662F\u4EE5from_unit\u70BA\u7D44\u7E54\u7684\u9700\u8981\u9032\u884C\u8F49\u63DB\u7684\u6578\u503C\u3002",example:"5.1",require:"m",repeat:"n",type:"rangenumber"},{name:"from_unit",detail:"\u662F\u6578\u503C\u7684\u7D44\u7E54\u3002",example:'"g"',require:"m",repeat:"n",type:"rangeall"},{name:"to_unit",detail:"\u662F\u7D50\u679C\u7684\u7D44\u7E54\u3002",example:'"kg"',require:"m",repeat:"n",type:"rangeall"}]},{n:"SUMX2MY2",t:14,d:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",m:[2,2],p:[{name:"array_x",detail:"\u7B2C\u4E00\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"\u7B2C\u4E8C\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMX2PY2",t:14,d:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",m:[2,2],p:[{name:"array_x",detail:"\u7B2C\u4E00\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"\u7B2C\u4E8C\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMXMY2",t:14,d:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",m:[2,2],p:[{name:"array_x",detail:"\u7B2C\u4E00\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002",example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{name:"array_y",detail:"\u7B2C\u4E8C\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002",example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRANSPOSE",t:14,d:"\u5C07\u6578\u7D44\u6216\u5132\u5B58\u683C\u7BC4\u570D\u7684\u884C\u5217\u8F49\u7F6E\u3002",a:"\u5C07\u6578\u7D44\u6216\u5132\u5B58\u683C\u7BC4\u570D\u7684\u884C\u5217\u8F49\u7F6E\u3002",m:[1,1],p:[{name:"array",detail:"\u8981\u5C07\u5176\u884C\u5217\u4E92\u63DB\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"{1,2}",require:"m",repeat:"n",type:"range"}]},{n:"TREND",t:14,d:"\u8FD4\u56DE\u7DDA\u6027\u8DA8\u52E2\u503C\u3002",a:"\u8FD4\u56DE\u7DDA\u6027\u8DA8\u52E2\u503C\u3002",m:[1,4],p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
\u5982\u679Cknown_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247known_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
\u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9078-\u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] -\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
\u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_x",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u8207known_x\u76F8\u540C] - \u9700\u8981\u51FD\u6578TREND\u8FD4\u56DE\u5C0D\u61C9y\u503C\u7684\u65B0x\u503C\u3002",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA0\u3002
TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA0\uFF08\u96F6\uFF09,m \u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = mx\u3002`,example:"TRUE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"}]},{n:"FREQUENCY",t:14,d:"\u8A08\u7B97\u6578\u503C\u5728\u67D0\u500B\u5340\u57DF\u5167\u7684\u51FA\u73FE\u983B\u7387,\u7136\u5F8C\u8FD4\u56DE\u4E00\u500B\u5782\u76F4\u6578\u7D44\u3002",a:"\u8A08\u7B97\u6578\u503C\u5728\u67D0\u500B\u5340\u57DF\u5167\u7684\u51FA\u73FE\u983B\u7387,\u7136\u5F8C\u8FD4\u56DE\u4E00\u500B\u5782\u76F4\u6578\u7D44\u3002",m:[2,2],p:[{name:"data_array",detail:"\u8981\u5C0D\u5176\u983B\u7387\u9032\u884C\u8A08\u6578\u7684\u4E00\u7D44\u6578\u503C\u6216\u5C0D\u9019\u7D44\u6578\u503C\u7684\u5F15\u7528\u3002",example:"A2:A40",require:"m",repeat:"n",type:"rangenumber"},{name:"bins_array",detail:`\u8981\u5C07data_array\u4E2D\u7684\u503C\u63D2\u5165\u5230\u7684\u9593\u9694\u6578\u7D44\u6216\u5C0D\u9593\u9694\u7684\u5F15\u7528\u3002
\u70BA\u6E05\u6670\u8D77\u898B,\u61C9\u5C07\u985E\u5225\u6392\u5E8F,\u4F46\u5982\u679C\u672A\u6392\u5E8F,FREQUENCY\u6703\u5728\u5167\u90E8\u5C0D\u9019\u4E9B\u6307\u5B9A\u7684\u503C\u9032\u884C\u6392\u5E8F\u4E26\u8FD4\u56DE\u6B63\u78BA\u7D50\u679C\u3002`,example:"B2:B5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GROWTH",t:14,d:"\u4F7F\u7528\u73FE\u6709\u6578\u64DA\u8A08\u7B97\u9810\u6E2C\u7684\u6307\u6578\u7B49\u6BD4\u3002",a:"\u4F7F\u7528\u73FE\u6709\u6578\u64DA\u8A08\u7B97\u9810\u6E2C\u7684\u6307\u6578\u7B49\u6BD4\u3002",m:[1,4],p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = b*m^x \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247\u5DF2\u77E5\u6578\u64DA_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,\u5DF2\u77E5\u6578\u64DA_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u884C,\u5247\u5C07\u5DF2\u77E5\u6578\u64DA_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BC\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] - \u95DC\u4FC2\u904B\u7B97\u5F0Fy = b*m^x \u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,\u5DF2\u77E5\u6578\u64DA_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u884C,\u5247\u5C07\u5DF2\u77E5\u6578\u64DA_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BC\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"new_x",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u8207known_x\u76F8\u540C] - \u9700\u8981\u51FD\u6578GROWTH\u8FD4\u56DE\u5C0D\u61C9y\u503C\u7684\u65B0x\u503C\u3002",example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA1\u3002
TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA1,m\u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = m^x\u3002`,example:"TRUE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"}]},{n:"LINEST",t:14,d:"\u53EF\u901A\u904E\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8A08\u7B97\u8207\u73FE\u6709\u6578\u64DA\u6700\u4F73\u64EC\u5408\u7684\u76F4\u7DDA,\u4F86\u8A08\u7B97\u67D0\u76F4\u7DDA\u7684\u7D71\u8A08\u503C,\u7136\u5F8C\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7DDA\u7684\u6578\u7D44\u3002",a:"\u53EF\u901A\u904E\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8A08\u7B97\u8207\u73FE\u6709\u6578\u64DA\u6700\u4F73\u64EC\u5408\u7684\u76F4\u7DDA,\u4F86\u8A08\u7B97\u67D0\u76F4\u7DDA\u7684\u7D71\u8A08\u503C,\u7136\u5F8C\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7DDA\u7684\u6578\u7D44\u3002",m:[1,4],p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
\u5982\u679Cknown_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247known_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
\u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] - \u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b\u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
\u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA0\u3002
TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA0\uFF08\u96F6\uFF09,m\u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = mx\u3002`,example:"TRUE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"},{name:"stats",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BAFALSE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u6B78\u7D71\u8A08\u503C\u3002
\u5982\u679C\u8A73\u7D30\u70BATRUE,\u9664\u4E86\u5C0D\u61C9\u65BC\u6BCF\u500B\u5F15\u6578\u7684\u4E00\u7D44\u7DDA\u6027\u4FC2\u6578\u548Cy\u622A\u8DDD\u4E4B\u5916,LINEST\u9084\u8FD4\u56DE\u4EE5\u4E0B\u8CC7\u8A0A:
\u6BCF\u9805\u4FC2\u6578\u548C\u622A\u8DDD\u7684\u6A19\u6E96\u8AA4\u5DEE\u3001
\u9650\u5B9A\u4FC2\u6578\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,1\u8868\u793A\u5B8C\u5168\u76F8\u95DC\uFF09\u3001
\u56E0\u8B8A\u6578\u503C\u7684\u6A19\u51C6\u8AA4\u5DEE\u3001
F\u7D71\u8A08\u6216F\u89C0\u6E2C\u503C,\u8A13\u793A\u6240\u89C0\u6E2C\u5230\u7684\u56E0\u8B8A\u6578\u548C\u5F15\u6578\u8B8A\u6578\u4E4B\u9593\u7684\u95DC\u4FC2\u662F\u96A8\u6A5F\u7684\u9084\u662F\u7DDA\u6027\u7684\u3001
\u81EA\u7531\u5EA6,\u7528\u65BC\u5728\u53C3\u7167\u9336\u4E2D\u67E5\u627EF\u7D71\u8A08\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
\u56DE\u6B78\u5E73\u65B9\u548C,\u4EE5\u53CA
\u6B98\u5DEE\u5E73\u65B9\u548C\u3002`,example:"TRUE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOGEST",t:14,d:"\u5728\u56DE\u6B78\u5206\u6790\u4E2D,\u8A08\u7B97\u6700\u7B26\u5408\u6578\u64DA\u7684\u6307\u6578\u56DE\u6B78\u64EC\u5408\u66F2\u7DDA,\u4E26\u8FD4\u56DE\u63CF\u8FF0\u8A72\u66F2\u7DDA\u7684\u6578\u503C\u6578\u7D44\u3002",a:"\u5728\u56DE\u6B78\u5206\u6790\u4E2D,\u8A08\u7B97\u6700\u7B26\u5408\u6578\u64DA\u7684\u6307\u6578\u56DE\u6B78\u64EC\u5408\u66F2\u7DDA,\u4E26\u8FD4\u56DE\u63CF\u8FF0\u8A72\u66F2\u7DDA\u7684\u6578\u503C\u6578\u7D44\u3002",m:[1,4],p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
\u5982\u679Cknown_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247known_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
\u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{name:"known_x",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] - \u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b\u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
\u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`,example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA0\u3002
TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA0\uFF08\u96F6\uFF09,m\u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = mx\u3002`,example:"TRUE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"},{name:"stats",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BAFALSE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u6B78\u7D71\u8A08\u503C\u3002
\u5982\u679C\u8A73\u7D30\u70BATRUE,\u5247\u9664\u4E86\u70BA\u6BCF\u500B\u5F15\u6578\u548C\u4FC2\u6578b\u8FD4\u56DE\u4E00\u7D44\u6307\u6578\u503C\u4E4B\u5916,LOGEST\u9084\u5C07\u8FD4\u56DE\u4EE5\u4E0B\u6578\u64DA:
\u6BCF\u9805\u6307\u6578\u548C\u4FC2\u6578\u7684\u6A19\u6E96\u8AA4\u5DEE\u3001
\u9650\u5B9A\u4FC2\u6578\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,1\u8868\u793A\u5B8C\u5168\u76F8\u95DC\uFF09\u3001
\u56E0\u8B8A\u6578\u503C\u7684\u6A19\u51C6\u8AA4\u5DEE\u3001
F\u7D71\u8A08\u6216F\u89C0\u6E2C\u503C,\u8A13\u793A\u6240\u89C0\u6E2C\u5230\u7684\u56E0\u8B8A\u6578\u548C\u5F15\u6578\u4E4B\u9593\u7684\u95DC\u4FC2\u662F\u96A8\u6A5F\u7684\u9084\u662F\u6307\u6578\u7684\u3001
\u81EA\u7531\u5EA6-\u7528\u65BC\u5728\u53C3\u7167\u9336\u4E2D\u67E5\u627EF\u7D71\u8A08\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
\u56DE\u6B78\u5E73\u65B9\u548C,\u4EE5\u53CA
\u6B98\u5DEE\u5E73\u65B9\u548C\u3002`,example:"TRUE\uFF08\uFF09",require:"o",repeat:"n",type:"rangeall"}]},{n:"MDETERM",t:14,d:"\u8FD4\u56DE\u4E00\u500B\u6578\u7D44\u7684\u77E9\u9663\u884C\u5217\u5F0F\u7684\u503C\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6578\u7D44\u7684\u77E9\u9663\u884C\u5217\u5F0F\u7684\u503C\u3002",m:[1,1],p:[{name:"array",detail:"\u884C\u6578\u548C\u5217\u6578\u76F8\u7B49\u7684\u6578\u503C\u6578\u7D44\u3002",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINVERSE",t:14,d:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5B58\u5132\u7684\u77E9\u9663\u7684\u9006\u77E9\u9663\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5B58\u5132\u7684\u77E9\u9663\u7684\u9006\u77E9\u9663\u3002",m:[1,1],p:[{name:"array",detail:"\u884C\u6578\u548C\u5217\u6578\u76F8\u7B49\u7684\u6578\u503C\u6578\u7D44\u3002",example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MMULT",t:14,d:"\u8FD4\u56DE\u5169\u500B\u6578\u7D44\u7684\u77E9\u9663\u4E58\u7A4D\u3002\u7D50\u679C\u77E9\u9663\u7684\u884C\u6578\u8207array1\u7684\u884C\u6578\u76F8\u540C,\u77E9\u9663\u7684\u5217\u6578\u8207array2\u7684\u5217\u6578\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u5169\u500B\u6578\u7D44\u7684\u77E9\u9663\u4E58\u7A4D\u3002\u7D50\u679C\u77E9\u9663\u7684\u884C\u6578\u8207array1\u7684\u884C\u6578\u76F8\u540C,\u77E9\u9663\u7684\u5217\u6578\u8207array2\u7684\u5217\u6578\u76F8\u540C\u3002",m:[2,2],p:[{name:"array1",detail:`\u8981\u9032\u884C\u77E9\u9663\u4E58\u6CD5\u904B\u7B97\u7684\u7B2C\u4E00\u500B\u77E9\u9663\u6578\u7D44\u3002
array1\u5217\u6578\u5FC5\u9808\u8207array2\u7684\u884C\u6578\u76F8\u540C`,example:"A1:B3",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:`\u8981\u9032\u884C\u77E9\u9663\u4E58\u6CD5\u904B\u7B97\u7684\u7B2C\u4E8C\u500B\u77E9\u9663\u6578\u7D44\u3002
array2\u7684\u884C\u6578\u5FC5\u9808\u8207array1\u5217\u6578\u76F8\u540C`,example:"C1:F2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMPRODUCT",t:14,d:"\u5728\u7D66\u5B9A\u7684\u5E7E\u7D44\u6578\u7D44\u4E2D,\u5C07\u6578\u7D44\u9593\u5C0D\u61C9\u7684\u5143\u7D20\u76F8\u4E58,\u4E26\u8FD4\u56DE\u4E58\u7A4D\u4E4B\u548C\u3002",a:"\u5728\u7D66\u5B9A\u7684\u5E7E\u7D44\u6578\u7D44\u4E2D,\u5C07\u6578\u7D44\u9593\u5C0D\u61C9\u7684\u5143\u7D20\u76F8\u4E58,\u4E26\u8FD4\u56DE\u4E58\u7A4D\u4E4B\u548C\u3002",m:[1,255],p:[{name:"array1",detail:"\u5176\u76F8\u61C9\u5143\u7D20\u9700\u8981\u9032\u884C\u76F8\u4E58\u4E26\u6C42\u548C\u7684\u7B2C\u4E00\u500B\u6578\u7D44\u53C3\u6578\u3002",example:"A2:C5",require:"m",repeat:"n",type:"rangenumber"},{name:"array2",detail:"[\u53EF\u9078] - \u5176\u76F8\u61C9\u5143\u7D20\u9700\u8981\u9032\u884C\u76F8\u4E58\u4E26\u6C42\u548C\u7684\u5176\u5B83\u6578\u7D44\u53C3\u6578\u3002",example:"D2:F5",require:"o",repeat:"y",type:"rangenumber"}]},{n:"ISFORMULA",t:15,d:"\u6AA2\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u65BC\u5F15\u7528\u7684\u5132\u5B58\u683C\u4E2D\u3002",a:"\u6AA2\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u65BC\u5F15\u7528\u7684\u5132\u5B58\u683C\u4E2D\u3002",m:[1,1],p:[{name:"cell",detail:`\u8981\u6AA2\u67E5\u662F\u5426\u5B58\u5728\u516C\u5F0F\u7684\u5132\u5B58\u683C\u3002
\u5982\u679C cell \u70BA\u5305\u542B\u516C\u5F0F\u7684\u5132\u5B58\u683C,\u5247 ISFORMULA \u5C07\u8FD4\u56DETRUE\u3002\u5982\u679C cell \u70BA\u76F8\u61C9\u5132\u5B58\u683C\u7BC4\u570D,\u5247\u7576\u8A72\u7BC4\u570D\u5167\u7684\u9996\u500B\u5132\u5B58\u683C\u5305\u542B\u516C\u5F0F\u6642,\u7CFB\u7D71\u6703\u8FD4\u56DETRUE\u3002\u5982\u679C\u662F\u4EFB\u4F55\u5176\u4ED6\u503C,\u7CFB\u7D71\u90FD\u5C07\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"CELL",t:15,d:"\u8FD4\u56DE\u6709\u95DC\u5132\u5B58\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5167\u5BB9\u7684\u8CC7\u8A0A\u3002",a:"\u8FD4\u56DE\u6709\u95DC\u5132\u5B58\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5167\u5BB9\u7684\u8CC7\u8A0A\u3002",m:[2,2],p:[{name:"info_type",detail:"\u4E00\u500B\u6587\u5B57\u503C,\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u5132\u5B58\u683C\u8CC7\u8A0A\u7684\u985E\u578B\u3002",example:'"type"',require:"m",repeat:"n",type:"rangeall"},{name:"reference",detail:"\u9700\u8981\u5176\u76F8\u95DC\u8CC7\u8A0A\u7684\u5132\u5B58\u683C\u3002",example:"C2",require:"m",repeat:"n",type:"range"}]},{n:"NA",t:15,d:"\u8FD4\u56DE\u932F\u8AA4\u503C#N/A\u3002",a:"\u8FD4\u56DE\u932F\u8AA4\u503C#N/A\u3002",m:[0,0],p:[]},{n:"ERROR_TYPE",t:15,d:"\u8FD4\u56DE\u8207\u5176\u4ED6\u5132\u5B58\u683C\u4E2D\u7684\u932F\u8AA4\u503C\u76F8\u5C0D\u61C9\u7684\u6578\u4F4D\u3002",a:"\u8FD4\u56DE\u8207\u5176\u4ED6\u5132\u5B58\u683C\u4E2D\u7684\u932F\u8AA4\u503C\u76F8\u5C0D\u61C9\u7684\u6578\u4F4D\u3002",m:[1,1],p:[{name:"error_val",detail:"\u7528\u65BC\u67E5\u627E\u932F\u8AA4\u865F\u7684\u5132\u5B58\u683C,\u96D6\u7136\u60A8\u4E5F\u53EF\u4EE5\u76F4\u63A5\u63D0\u4F9B\u932F\u8AA4\u503C\u3002",example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISBLANK",t:15,d:"\u6AA2\u67E5\u6240\u5F15\u7528\u7684\u5132\u5B58\u683C\u662F\u5426\u70BA\u7A7A\u3002",a:"\u6AA2\u67E5\u6240\u5F15\u7528\u7684\u5132\u5B58\u683C\u662F\u5426\u70BA\u7A7A\u3002",m:[1,1],p:[{name:"value",detail:`\u5C0D\u8981\u6AA2\u67E5\u5176\u662F\u5426\u70BA\u7A7A\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
\u5982\u679C\u662F\u7A7A\u5132\u5B58\u683C,\u5247TRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISERR",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA#N/A\u4EE5\u5916\u7684\u932F\u8AA4\u503C\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA#N/A\u4EE5\u5916\u7684\u932F\u8AA4\u503C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA#N/A\u4EE5\u5916\u7684\u932F\u8AA4\u985E\u578B\u7684\u503C\u3002
\u5982\u679C\u503C\u662F\u9664#N/A\u4E4B\u5916\u7684\u4EFB\u4F55\u932F\u8AA4\uFF08\u5305\u62EC#DIV/0\uFF01\u3001#NAME\uFF1F\u3001#NULL\uFF01\u3001#NUM\uFF01\u3001#VALUE\uFF01\u548C#REF\uFF01\uFF09,ISERR\u5C07\u8FD4\u56DETRUE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISERROR",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u932F\u8AA4\u985E\u578B\u7684\u503C\u3002
\u53EA\u8981\u503C\u662F\u67D0\u7A2E\u932F\u8AA4\u503C\uFF08\u5305\u62EC#DIV/0\uFF01\u3001#N/A\u3001#NAME\uFF1F\u3001#NULL\uFF01\u3001#NUM\uFF01\u3001#VALUE\uFF01\u548C#REF\uFF01\uFF09,ISERROR\u5C31\u6703\u8FD4\u56DETRUE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISLOGICAL",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662FTRUE\u9084\u662FFALSE\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662FTRUE\u9084\u662FFALSE\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u70BA\u908F\u8F2F TRUE \u9084\u662F\u908F\u8F2F FALSE \u7684\u503C\u3002
*\u5982\u679C\u503C\u70BATRUE\u6216FALSE,\u6216\u70BA\u6307\u5411\u503C\u70BATRUE\u6216FALSE\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISLOGICAL\u5C07\u8FD4\u56DETRUE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNA",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C#N/A\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C#N/A\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8207\u932F\u8AA4\u503C#N/A\u9032\u884C\u6BD4\u8F03\u7684\u503C\u3002
*\u5982\u679C\u503C\u70BA#N/A\u6216\u6307\u5411\u5305\u542B#N/A\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247ISNA\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNONTEXT",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u975E\u6587\u5B57\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u975E\u6587\u5B57\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u6AA2\u67E5\u7684\u6587\u5B57\u3002
*\u5982\u679C\u53C3\u6578\u70BA\u6587\u5B57\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u5B57\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISNONTEXT\u5C07\u8FD4\u56DEFALSE,\u5426\u5247\u8FD4\u56DETRUE\u3002
\u7576\u503C\u70BA\u6307\u5411\u7A7A\u5132\u5B58\u683C\u7684\u5F15\u7528\u6642,ISNONTEXT\u6703\u8FD4\u56DETRUE\u3002
\u7576\u503C\u70BA\u7A7A\u5B57\u4E32\u6642,ISNONTEXT\u5C07\u8FD4\u56DEFALSE,\u56E0\u70BA\u7A7A\u4E32\u88AB\u8996\u4F5C\u6587\u5B57\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNUMBER",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6578\u4F4D\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6578\u4F4D\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u6578\u4F4D\u7684\u503C\u3002
*\u5982\u679C\u53C3\u6578\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u4F4D\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISNUMBER\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISREF",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6709\u6548\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6709\u6548\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u5132\u5B58\u683C\u5F15\u7528\u7684\u503C\u3002
*\u5982\u679C\u53C3\u6578\u662F\u6709\u6548\u7684\u5132\u5B58\u683C\u5F15\u7528,ISREF\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISTEXT",t:15,d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6587\u5B57\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6587\u5B57\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u6587\u5B57\u7684\u503C\u3002
\u5982\u679C\u53C3\u6578\u70BA\u6587\u5B57\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u5B57\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISTEXT\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TYPE",t:15,d:"\u8FD4\u56DE\u6578\u503C\u7684\u985E\u578B\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u985E\u578B\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u78BA\u5B9A\u5176\u985E\u578B\u7684\u6578\u64DA\u3002
\u6578\u4F4D\u8FD4\u56DE1\uFF1B
\u6587\u5B57\u8FD4\u56DE2\uFF1B
\u908F\u8F2F\u503C\u8FD4\u56DE4\uFF1B
\u932F\u8AA4\u503C\u8FD4\u56DE16\uFF1B
\u6578\u7D44\u8FD4\u56DE64\uFF1B`,example:"C4",require:"m",repeat:"n",type:"rangeall"}]},{n:"N",t:15,d:"\u8FD4\u56DE\u8F49\u5316\u70BA\u6578\u503C\u5F8C\u7684\u503C\u3002",a:"\u8FD4\u56DE\u8F49\u5316\u70BA\u6578\u503C\u5F8C\u7684\u503C\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u6578\u4F4D\u7684\u53C3\u6578\u3002
\u5982\u679C\u503C\u70BA\u6578\u4F4D,\u5247\u8FD4\u56DE\u8A72\u6578\u4F4D\u3002
\u5982\u679C\u503C\u70BA\u65E5\u671F,\u5247\u8FD4\u56DE\u8A72\u65E5\u671F\u7684\u5E8F\u865F\u3002
\u5982\u679C\u503C\u70BATRUE,\u5247\u8FD4\u56DE1\u3002
\u5982\u679C\u503C\u70BAFALSE,\u5247\u8FD4\u56DE0\u3002
\u5982\u679C\u503C\u70BA\u932F\u8AA4\u503C,\u5247\u8FD4\u56DE\u932F\u8AA4\u503C\u3002
\u5982\u679C\u503C\u70BA\u5176\u4ED6\u503C,\u5247\u8FD4\u56DE0\u3002`,example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DATE",t:16,d:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u65E5\u671F\u3002",a:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u65E5\u671F\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u65E5\u671F\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_DATE\u6703\u5C07\u503C\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u65E5\u671F\u4E26\u8FD4\u56DE,\u503C\u4EE3\u8868\u5F9E\u5341\u4E8C\u670830\u65E5\u5230\u5C0D\u61C9\u7684\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578,
\u8CA0\u503C\u8868\u793A\u5C0D\u61C9\u7684\u65E5\u671F\u5728\u5341\u4E8C\u670830\u65E5\u4E4B\u524D,\u800C\u5C0F\u6578\u503C\u5247\u4EE3\u8868\u4E00\u5929\u4E2D\u5F9E\u5348\u591C\u7B97\u8D77\u7684\u6642\u9593\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_DATE\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"25405",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PURE_NUMBER",t:16,d:"\u5C07\u7D66\u5B9A\u7684\u65E5\u671F/\u6642\u9593\u3001\u767E\u5206\u6BD4\u3001\u8CA8\u5E63\u91D1\u984D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6578\u503C\u8F49\u63DB\u70BA\u4E0D\u5E36\u683C\u5F0F\u7684\u7D14\u6578\u4F4D\u3002",a:"\u5C07\u7D66\u5B9A\u7684\u65E5\u671F/\u6642\u9593\u3001\u767E\u5206\u6BD4\u3001\u8CA8\u5E63\u91D1\u984D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6578\u503C\u8F49\u63DB\u70BA\u4E0D\u5E36\u683C\u5F0F\u7684\u7D14\u6578\u4F4D\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u7D14\u6578\u4F4D\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5305\u542B\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_PURE_NUMBER\u5C07\u4EE5\u4E0D\u5E36\u4EFB\u4F55\u683C\u5F0F\u8207\u89E3\u91CB\u7684\u5F62\u5F0F\u8FD4\u56DE\u503C\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_PERCENT\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"50%",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_TEXT",t:16,d:"\u5C07\u7D66\u5B9A\u7684\u6578\u4F4D\u503C\u8F49\u63DB\u70BA\u6587\u672C\u683C\u5F0F\u3002",a:"\u5C07\u7D66\u5B9A\u7684\u6578\u4F4D\u503C\u8F49\u63DB\u70BA\u6587\u672C\u683C\u5F0F\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u6587\u5B57\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5305\u542B\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_TEXT\u5C07\u8FD4\u56DE\u5B57\u4E32\u5F62\u5F0F\u7684\u503C,\u4E26\u4FDD\u6301\u73FE\u6709\u683C\u5F0F\u3002\u5373\u539F\u70BA\u8CA8\u5E63\u7684\u4ECD\u70BA\u8CA8\u5E63,\u539F\u70BA\u5341\u9032\u4F4D\u6578\u7684\u4ECD\u70BA\u5341\u9032\u4F4D\u6578,\u539F\u70BA\u767E\u5206\u6BD4\u7684\u4ECD\u70BA\u767E\u5206\u6BD4,\u539F\u70BA\u65E5\u671F\u7684\u4ECD\u70BA\u65E5\u671F\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_TEXT\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"24",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DOLLARS",t:16,d:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u7F8E\u5143\u91D1\u984D\u3002",a:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u7F8E\u5143\u91D1\u984D\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u7F8E\u5143\u91D1\u984D\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_DOLLARS\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PERCENT",t:16,d:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u3002",a:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u3002",m:[1,1],p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
\u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5305\u542B\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_PERCENT\u6703\u4EE51 = 100%\u70BA\u6A19\u6E96,\u5C07\u503C\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u3002
\u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_PERCENT\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`,example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DGET",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5F9E\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5217\u4E2D\u9078\u53D6\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u55AE\u500B\u503C\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5F9E\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5217\u4E2D\u9078\u53D6\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u55AE\u500B\u503C\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMAX",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6578\u4F4D\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6578\u4F4D\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMIN",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6578\u4F4D\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6578\u4F4D\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DAVERAGE",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5C0D\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u6C42\u5E73\u5747\u503C\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5C0D\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u6C42\u5E73\u5747\u503C\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNT",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6578\u4F4D\u7684\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6578\u4F4D\u7684\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNTA",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DPRODUCT",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u7684\u4E58\u7A4D\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u7684\u4E58\u7A4D\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEV",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEVP",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSUM",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4E4B\u548C\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4E4B\u548C\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVAR",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u65B9\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u65B9\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVARP",t:17,d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u901A\u904E\u4F7F\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u8A08\u7B97\u6A23\u672C\u7E3D\u9AD4\u7684\u6A23\u672C\u7E3D\u9AD4\u65B9\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u901A\u904E\u4F7F\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u8A08\u7B97\u6A23\u672C\u7E3D\u9AD4\u7684\u6A23\u672C\u7E3D\u9AD4\u65B9\u5DEE\u3002",m:[3,3],p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002",example:"A2:F20",require:"m",repeat:"n",type:"range"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`,example:"G2",require:"m",repeat:"n",type:"rangeall"},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002",example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"AGE_BY_IDCARD",t:"3",d:"\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u5E74\u9F61\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u5E74\u9F61",m:[1,2],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:"A1",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u622A\u6B62\u65E5\u671F",example:'"2017-10-01"',detail:"\u5E74\u9F61\u8A08\u7B97\u7684\u622A\u6B62\u65E5\u671F\u6216\u7BC4\u570D,\u9ED8\u8A8D\u70BA\u7576\u65E5\u3002",require:"o",repeat:"n",type:"rangedatetime"}]},{n:"SEX_BY_IDCARD",t:"3",d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u6027\u5225\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u6027\u5225\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIRTHDAY_BY_IDCARD",t:"3",d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u751F\u65E5\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u751F\u65E5\u3002",m:[1,2],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u751F\u65E5\u683C\u5F0F",example:"0",detail:"\u65E5\u671F\u985E\u578B,\u9ED8\u8A8D0:[1900/01/01],1:[1900-01-01],2:[1900\u5E741\u67081\u65E5]",require:"o",repeat:"n",type:"rangeall"}]},{n:"PROVINCE_BY_IDCARD",t:"3",d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u7C4D\u8CAB\u7684\u7701\u4EFD\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u7C4D\u8CAB\u7684\u7701\u4EFD\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"CITY_BY_IDCARD",t:"3",d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u7C4D\u8CAB\u7684\u90FD\u5E02\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u7C4D\u8CAB\u7684\u90FD\u5E02\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"STAR_BY_IDCARD",t:"3",d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u661F\u5EA7\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u661F\u5EA7\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"ANIMAL_BY_IDCARD",t:"3",d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u751F\u8096\uFF08\u9F20\u3001\u725B\u3001\u864E\u3001\u5154\u2026\uFF09\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u751F\u8096\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISIDCARD",t:"3",d:"\u9A57\u8B49\u8EAB\u4EFD\u8B49\u7684\u683C\u5F0F\u662F\u5426\u6B63\u78BA\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u9A57\u8B49\u8EAB\u4EFD\u8B49\u683C\u5F0F\u6B63\u78BA\u6027\u3002",m:[1,1],p:[{name:"\u8EAB\u4EFD\u8B49\u865F",example:'"31033519900101XXXX"',detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"DM_TEXT_CUTWORD",t:"4",d:"\u6587\u5B57\u5206\u8A5E\u3002\u628A\u4E00\u9023\u4E32\u6587\u5B57\u6298\u958B\u70BA\u4E00\u7CFB\u5217\u55AE\u7368\u8A5E\u8A9E",a:"\u4E2D\u6587\u6587\u5B57\u5206\u8A5E\u3002",m:[1,2],p:[{name:"\u6587\u5B57",example:'"\u6211\u4F86\u5230\u5317\u4EAC\u6E05\u83EF\u5927\u5B78"',detail:"\u4EFB\u610F\u9700\u8981\u5206\u8A5E\u7684\u6587\u5B57\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5206\u8A5E\u6A21\u5F0F",example:"0",detail:"\u9ED8\u8A8D\u70BA0[\u7CBE\u78BA\u6A21\u5F0F]\uFF0C1[\u5168\u6A21\u5F0F]\uFF0C2[\u641C\u5C0B\u5F15\u64CE\u6A21\u5F0F]\u3002",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TFIDF",t:"4",d:"\u63A1\u7528tf-idf\u7B97\u704B\u9032\u884C\u95DC\u9375\u5B57\u9078\u53D6\u3002\u5F9E\u4E00\u9023\u4E32\u6587\u5B57\u4E2D\u8B58\u5225\u95DC\u9375\u5B57",a:"tf-idf\u95DC\u9375\u5B57\u8B58\u5225\u3002",m:[1,3],p:[{name:"\u6587\u5B57",example:'"\u6211\u4F86\u5230\u5317\u4EAC\u6E05\u83EF\u5927\u5B78"',detail:"\u4EFB\u610F\u9700\u8981\u5206\u8A5E\u7684\u6587\u5B57\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u95DC\u9375\u5B57\u500B\u6578",example:"20",detail:"\u7B97\u704B\u8FD4\u56DE\u7684\u95DC\u9375\u5B57\u500B\u6578\uFF0C\u9ED8\u8A8D20",require:"o",repeat:"n",type:"rangenumber"},{name:"\u8A9E\u6599\u5EAB",example:"1",detail:"\u9078\u64C7\u7279\u5B9A\u9818\u57DF\u7684\u8A9E\u6599\u5EAB\uFF0C\u9ED8\u8A8D0[\u901A\u7528]\uFF0C1[\u91D1\u878D]\uFF0C2[\u91AB\u7642]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TEXTRANK",t:"4",d:"\u63A1\u7528TextRank\u7B97\u704B\u9032\u884C\u95DC\u9375\u5B57\u9078\u53D6\u3002\u5F9E\u4E00\u9023\u4E32\u6587\u5B57\u4E2D\u8B58\u5225\u95DC\u9375\u5B57",a:"TextRank\u95DC\u9375\u5B57\u8B58\u5225\u3002",m:[1,3],p:[{name:"\u6587\u5B57",example:'"\u6211\u4F86\u5230\u5317\u4EAC\u6E05\u83EF\u5927\u5B78"',detail:"\u4EFB\u610F\u9700\u8981\u5206\u8A5E\u7684\u6587\u5B57\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u95DC\u9375\u5B57\u500B\u6578",example:"20",detail:"\u7B97\u704B\u8FD4\u56DE\u7684\u95DC\u9375\u5B57\u500B\u6578\uFF0C\u9ED8\u8A8D20",require:"o",repeat:"n",type:"rangenumber"},{name:"\u8A9E\u6599\u5EAB",example:"1",detail:"\u9078\u64C7\u7279\u5B9A\u9818\u57DF\u7684\u8A9E\u6599\u5EAB\uFF0C\u9ED8\u8A8D0[\u901A\u7528]\uFF0C1[\u91D1\u878D]\uFF0C2[\u91AB\u7642]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_CLOSE",t:"5",d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6536\u76E4\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6536\u76E4\u50F9\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u78BC",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u8907\u6B0A\u9664\u6B0A",example:"0",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_OPEN",t:"5",d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u958B\u76E4\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u958B\u76E4\u50F9\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u78BC",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u8907\u6B0A\u9664\u6B0A",example:"0",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MAX",t:"5",d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u9AD8\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u9AD8\u50F9\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u78BC",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u8907\u6B0A\u9664\u6B0A",example:"0",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MIN",t:"5",d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u4F4E\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u4F4E\u50F9\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u78BC",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5,\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u8907\u6B0A\u9664\u6B0A",example:"0",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_VOLUMN",t:"5",d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u91CF\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u91CF\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u78BC",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u8907\u6B0A\u9664\u6B0A",example:"0",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_AMOUNT",t:"5",d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u984D\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u984D\u3002",m:[1,3],p:[{name:"\u80A1\u7968\u4EE3\u78BC",example:'"000001"',detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65E5\u671F",example:"2015-01-08",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5",require:"o",repeat:"n",type:"rangedate"},{name:"\u8907\u6B0A\u9664\u6B0A",example:"0",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ISDATE",t:"6",d:"\u9A57\u8B49\u65E5\u671F\u7684\u683C\u5F0F\u662F\u5426\u6B63\u78BA\u3002\u652F\u6301\u591A\u7A2E\u65E5\u671F\u683C\u5F0F",a:"\u9A57\u8B49\u65E5\u671F\u683C\u5F0F\u6B63\u78BA\u6027\u3002",m:[1,1],p:[{name:"\u65E5\u671F",example:'"1990-01-01"',detail:"\u65E5\u671F\u503C,\u4F8B\u59821990/01/01, 1990\u5E741\u67081\u65E5\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"}]},{n:"LINESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u6298\u7DDA\u5716sparklines\uFF0C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u7684\u9023\u7E8C\u8D70\u52E2",a:"\u751F\u6210\u5132\u5B58\u683C\u6298\u7DDA\u5716",m:[1,8],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u7DDA\u689D\u984F\u8272",example:"#2ec7c9",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"\u7DDA\u689D\u7C97\u7D30",example:"1",detail:"\u6298\u7DDA\u5716\u7DDA\u6BB5\u7C97\u7D30\uFF0C\u9ED8\u8A8D\u70BA1px",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F14\u52A9\u7DDA",example:"avg",detail:"\u4E00\u689D\u6A6B\u7DDA\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u7BC4\u570D\u6216\u81EA\u5B9A\u7FA9\u6578\u503C\uFF0C\u9ED8\u8A8D0\u7121",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F14\u52A9\u7DDA\u984F\u8272",example:"#000",detail:"\u8F14\u52A9\u7DDA\u7684\u984F\u8272\u8A2D\u5B9A\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#000",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C\u6A19\u8B58",example:"#fc5c5c",detail:"\u6A19\u8B58\u7DDA\u5716\u6700\u5927\u503C\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D0\u4E0D\u986F\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5C0F\u503C\u6A19\u8B58",example:"#fc5c5c",detail:"\u6A19\u8B58\u7DDA\u5716\u6700\u5C0F\u503C\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D0\u4E0D\u986F\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u6A19\u8B58\u5927\u5C0F",example:"1.5",detail:"\u6700\u5927\u503C\u548C\u6700\u5C0F\u503C\u7684\u6A19\u8B58\u5927\u5C0F\u8A2D\u5B9A\uFF0C\u9ED8\u8A8D\u70BA1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"AREASPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u9762\u7A4D\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u7684\u9023\u7E8C\u7D2F\u7A4D\u503C\u8D70\u52E2",a:"\u751F\u6210\u5132\u5B58\u683C\u9762\u7A4D\u5716",m:[1,5],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u7DDA\u689D\u984F\u8272",example:"#2ec7c9",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"\u586B\u5145\u984F\u8272",example:"#CCF3F4",detail:"\u5F62\u6210\u9762\u7A4D\u5716\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D0\u4E0D\u986F\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u7DDA\u689D\u7C97\u7D30",example:"1",detail:"\u6298\u7DDA\u5716\u7DDA\u6BB5\u7C97\u7D30\uFF0C\u9ED8\u8A8D\u70BA1px",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F14\u52A9\u7DDA",example:"avg",detail:"\u4E00\u689D\u6A6B\u7DDA\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u7BC4\u570D\u6216\u81EA\u5B9A\u7FA9\u6578\u503C\uFF0C\u9ED8\u8A8D0\u7121",require:"o",repeat:"n",type:"rangeall"},{name:"\u8F14\u52A9\u7DDA\u984F\u8272",example:"#000",detail:"\u8F14\u52A9\u7DDA\u7684\u984F\u8272\u8A2D\u5B9A\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#000",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u5782\u76F4\u67F1\u72C0\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u4E4B\u9593\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5132\u5B58\u683C\u5782\u76F4\u67F1\u72C0\u5716",m:[1,6],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u9593\u9694",example:"1",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u984F\u8272",example:"#fc5c5c",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"\u8CA0\u5411\u67F1\u689D\u984F\u8272",example:"#97b552",detail:"\u8CA0\u5411\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u8868\u8CA0\u503C\u7684\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#97b552",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u8272\u677F",example:"#97b552",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u67F1\u689D\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u591A\u500B\uFF0C\u652F\u6301\u5169\u7A2E\u683C\u5F0F:1\u984F\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u500B\u67F1\u7684\u984F\u8272\u662F\u9ED1\u8272\uFF1B2\u6578\u503C\u7BC4\u570D:\u984F\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6578\u503C\u70BA-2\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6578\u503C0-5\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C\u9ED8\u8A8D\u70BA\u7A7A",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKCOLUMNSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u7D2F\u7A4D\u5782\u76F4\u67F1\u72C0\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u591A\u500B\u7DAD\u5EA6\u7684\u6578\u503C\u5927\u5C0F",a:"\u751F\u6210\u5132\u5B58\u683C\u7D2F\u7A4D\u5782\u76F4\u67F1\u72C0\u5716",m:[1,5],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u6309\u5217\u5806\u7A4D",example:"1",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u7A4D\u5247\u672C\u9805\u8A2D\u70BAfalse\u62160\uFF0C\u9ED8\u8A8D\u70BA\u662F1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u9593\u9694",example:"1",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u7D2F\u7A4D\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u7D2F\u7A4D\u8272\u677F",example:"#97b552",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u7DAD\u5EA6\u7684\u67F1\u689D\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u70BAA1:A10\u7B49\u7BC4\u570D\uFF0C\u9ED8\u8A8D\u70BA#2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BARSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u6A6B\u5411\u689D\u5F62\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u4E4B\u9593\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5132\u5B58\u683C\u6A6B\u5411\u689D\u5F62\u5716",m:[1,6],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u9593\u9694",example:"1",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u984F\u8272",example:"#fc5c5c",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"\u8CA0\u5411\u67F1\u689D\u984F\u8272",example:"#97b552",detail:"\u8CA0\u5411\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u8868\u8CA0\u503C\u7684\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#97b552",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u8272\u677F",example:"#97b552",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u67F1\u689D\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u591A\u500B\uFF0C\u652F\u6301\u5169\u7A2E\u683C\u5F0F:1\u984F\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u500B\u67F1\u7684\u984F\u8272\u662F\u9ED1\u8272\uFF1B2\u6578\u503C\u7BC4\u570D:\u984F\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6578\u503C\u70BA-2\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6578\u503C0-5\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C\u9ED8\u8A8D\u70BA\u7A7A",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKBARSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u7D2F\u7A4D\u6A6B\u5411\u689D\u5F62\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u591A\u500B\u7DAD\u5EA6\u7684\u6578\u503C\u5927\u5C0F",a:"\u751F\u6210\u5132\u5B58\u683C\u7D2F\u7A4D\u6A6B\u5411\u689D\u5F62\u5716",m:[1,5],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u6309\u5217\u5806\u7A4D",example:"1",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u7A4D\u5247\u672C\u9805\u8A2D\u70BAfalse\u62160\uFF0C\u9ED8\u8A8D\u70BA\u662F1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u9593\u9694",example:"1",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1",require:"o",repeat:"n",type:"rangeall"},{name:"\u6700\u5927\u503C",example:"100",detail:"\u7D2F\u7A4D\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null",require:"o",repeat:"n",type:"rangeall"},{name:"\u7D2F\u7A4D\u8272\u677F",example:"#97b552",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u7DAD\u5EA6\u7684\u67F1\u689D\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u70BAA1:A10\u7B49\u7BC4\u570D\uFF0C\u9ED8\u8A8D\u70BA#2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"DISCRETESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u96E2\u6563\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u8D70\u52E2",a:"\u751F\u6210\u5132\u5B58\u683C\u96E2\u6563\u5716",m:[1,4],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5206\u5272\u95BE\u503C",example:"1",detail:"\u96E2\u6563\u5716\u67F1\u5F62\u984F\u8272\u7684\u5340\u5206\uFF0C\u4F8B\u5982:\u8A72\u503C\u70BA0\uFF0C\u5247\u5927\u65BC0\u70BA\u85CD\u8272\uFF0C\u5C0F\u65BC0\u70BA\u7D05\u8272\uFF0C\u9ED8\u8A8D\u70BA0",require:"o",repeat:"n",type:"rangeall"},{name:"\u95BE\u503C\u4EE5\u4E0A\u984F\u8272",example:"#2ec7c9",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{name:"\u95BE\u503C\u4EE5\u4E0B\u984F\u8272",example:"#fc5c5c",detail:"\u95BE\u503C\u4EE5\u4E0B\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u540C\u95BE\u503C\u4EE5\u4E0A\u984F\u8272\uFF0C\u9ED8\u8A8D#fc5c5c",require:"o",repeat:"n",type:"rangeall"}]},{n:"TRISTATESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u4E09\u614B\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u4E09\u7A2E\u614B\u52E2\u7684\u8D70\u52E2\u4F8B\u5982\u52DD\u8CA0\u5E73",a:"\u751F\u6210\u5132\u5B58\u683C\u4E09\u614B\u5716",m:[1,6],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u9593\u9694",example:"1",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1",require:"o",repeat:"n",type:"rangeall"},{name:"\u67F1\u689D\u984F\u8272",example:"#fc5c5c",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{name:"\u8D1F\u5411\u67F1\u689D\u984F\u8272",example:"#97b552",detail:"\u8CA0\u5411\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u8868\u8CA0\u503C\u7684\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#97b552",require:"o",repeat:"n",type:"rangeall"},{name:"\u96F6\u503C\u67F1\u689D\u984F\u8272",example:"#999",detail:"\u96F6\u503C\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u88680\u503C\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#999",require:"o",repeat:"n",type:"rangeall"},{name:"\u8272\u677F",example:"#97b552",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u67F1\u689D\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u591A\u500B\uFF0C\u652F\u6301\u5169\u7A2E\u683C\u5F0F:1\u984F\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u500B\u67F1\u7684\u984F\u8272\u662F\u9ED1\u8272\uFF1B2\u6578\u503C\u7BC4\u570D:\u984F\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6578\u503C\u70BA-2\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C0-5:#000\u8868\u793A\u6578\u503C0-5\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C\u9ED8\u8A8D\u70BA\u7A7A",require:"o",repeat:"y",type:"rangeall"}]},{n:"PIESPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u9905\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u5360\u6BD4",a:"\u751F\u6210\u5132\u5B58\u683C\u9905\u5716",m:[1,5],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u65CB\u8F49\u89D2\u5EA6",example:"0",detail:"\u9905\u5716\u7684\u65CB\u8F49\u89D2\u5EA6\uFF0C\u9ED8\u8A8D\u70BA0",require:"o",repeat:"n",type:"rangeall"},{name:"\u9905\u5716\u908A\u6846",example:"0",detail:"\u9905\u5716\u908A\u6846\u5927\u5C0F\uFF0C\u9ED8\u8A8D\u70BA\u71210",require:"o",repeat:"n",type:"rangeall"},{name:"\u908A\u6846\u984F\u8272",example:"#000",detail:"\u9905\u5716\u908A\u6846\u984F\u8272\uFF0C\u9ED8\u8A8D\u70BA#000",require:"o",repeat:"n",type:"rangeall"},{name:"\u9905\u5716\u8272\u677F",example:"#97b552",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u8A2D\u5B9A\u5207\u7247\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u70BAA1:A10\u7B49\u7BC4\u570D\uFF0C\u9ED8\u8A8D\u70BA#2ec7c9, #fc5c5c, #5ab1ef, #ffb980...",require:"o",repeat:"y",type:"rangeall"}]},{n:"BOXSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u7BB1\u7DDA\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u96C6\u7684\u7D71\u8A08\u5206\u4F48",a:"\u751F\u6210\u5132\u5B58\u683C\u7BB1\u7DDA\u5716",m:[1,4],p:[{name:"\u6578\u64DA\u7BC4\u570D",example:"A1:A20",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u96E2\u7FA4\u9EDE\u6BD4\u4F8B",example:"1.5",detail:"\u96E2\u7FA4\u9EDE\u7684\u95BE\u503C\u7BC4\u570D\uFF0C\u5982\u679C\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u9ED8\u8A8D\u70BA1.5\u500D",require:"o",repeat:"n",type:"rangeall"},{name:"\u76EE\u6A19\u9EDE\u503C",example:"10",detail:"\u7BB1\u7DDA\u5716\u4E0A\u7684\u76EE\u6A19\u503C\u8A2D\u5B9A\uFF0C\u9ED8\u8A8D\u70BAfalse\u4E0D\u986F\u793A",require:"o",repeat:"n",type:"rangeall"},{name:"\u6578\u64DA\u9EDE\u5927\u5C0F",example:"1.5",detail:"\u76EE\u6A19\u9EDE\u548C\u96E2\u7FA4\u9EDE\u7684\u534A\u5F91\u5927\u5C0F\u8A2D\u5B9A\uFF0C\u9ED8\u8A8D\u70BA1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"BULLETSPLINES",t:"3",d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u5B50\u5F48\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u4EFB\u52D9\u9054\u6210\u7387",a:"\u751F\u6210\u5132\u5B58\u683C\u5B50\u5F48\u5716",m:[2,3],p:[{name:"\u76EE\u6A19",example:"10",detail:"\u9054\u6210\u7684\u76EE\u6A19\u503C\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1\uFF0C100\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5BE6\u969B\u5B8C\u6210",example:"8",detail:"\u73FE\u6642\u5B8C\u6210\u503C\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1\uFF0C100\u7B49\u3002",require:"m",repeat:"n",type:"rangeall"},{name:"\u5C0D\u6BD4\u503C",example:"12",detail:"\u5C0D\u6BD4\u503C\uFF0C\u4F8B\u5982\u8D85\u984D\u3001\u6700\u4F4E\u3001\u7372\u734E\u5E95\u7DDA\u7B49\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1\uFF0C100\u7B49\u3002\u53EF\u4EE5\u8A2D\u5B9A\u6700\u591A9\u500B\u5C0D\u6BD4\u503C",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMPOSESPLINES",t:"3",d:"\u652F\u6301\u591A\u500B\u985E\u578B\u7684\u5716\u756B\u5728\u540C\u4E00\u500B\u5132\u5B58\u683C\uFF0C\u6BCF\u500B\u53C3\u6578\u4EE3\u8868\u4E00\u500Bsparklines\u5716",a:"\u7D44\u5408sparklines\u5716\u5230\u4E00\u500B\u5132\u5B58\u683C",m:[1,1],p:[{name:"\u5716\u8A2D\u5B9A",example:"PIESPLINES(A1:A20)",detail:"sparklines\u5716\u8A2D\u5B9A\uFF0C\u4F8B\u5982A1:A20\uFF0C\u4E00\u500B\u5B8C\u6210\u7684\u9905\u5716\u3001\u7DDA\u5716\u8A2D\u5B9A\u7B49\u3002",require:"m",repeat:"y",type:"rangeall"}]},{n:"SORT",t:"14",d:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6578\u7D44\u3002\u8FD4\u56DE\u7684\u6578\u7D44\u8207\u63D0\u4F9B\u7684\u6578\u7D44\u53C3\u6578\u5F62\u72C0\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6578\u7D44\u3002\u8FD4\u56DE\u7684\u6578\u7D44\u8207\u63D0\u4F9B\u7684\u6578\u7D44\u53C3\u6578\u5F62\u72C0\u76F8\u540C\u3002",m:[1,4],p:[{name:"array",detail:"\u8981\u6392\u5E8F\u7684\u7BC4\u570D\u6216\u6578\u7D44\u3002",example:"A2:A17",require:"m",repeat:"n",type:"rangenumber"},{name:"sort_index",detail:"[\u53EF\u9078] - \u8868\u793A\u8981\u6392\u5E8F\u7684\u884C\u6216\u5217\u7684\u6578\u4F4D\u3002\uFF08\u9ED8\u8A8Drow1/col1\uFF09",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"sort_order",detail:"[\u53EF\u9078] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u9806\u5E8F\u7684\u6578\u4F4D\uFF1B1\u8868\u793A\u6607\u51AA\uFF08\u9ED8\u8A8D\uFF09\uFF0C-1\u8868\u793A\u964D\u5E8F\u3002",example:"-1",require:"o",repeat:"n",type:"rangenumber"},{name:"by_col",detail:"[\u53EF\u9078] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u65B9\u5411\u7684\u908F\u8F2F\u503C\uFF1B\u6309\u884C\u6392\u5E8F\u70BAFALSE\uFF08\uFF09\uFF08\u9ED8\u8A8D\uFF09\uFF0C\u6309\u5217\u6392\u5E8F\u70BATRUE\uFF08\uFF09\u3002",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FILTER",t:"14",d:"\u57FA\u65BC\u4E00\u500B\u5E03\u6797\uFF08\u771F/\u5047\uFF09\u6578\u7D44\u904E\u6FFE\u4E00\u500B\u6578\u7D44\u3002",a:"\u57FA\u65BC\u4E00\u500B\u5E03\u6797\uFF08\u771F/\u5047\uFF09\u6578\u7D44\u904E\u6FFE\u4E00\u500B\u6578\u7D44\u3002",m:[2,3],p:[{name:"array",detail:"\u8981\u7BE9\u9078\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002",example:"A5:D20",require:"m",repeat:"n",type:"range"},{name:"include",detail:"\u5E03\u6797\u6578\u7D44\uFF0C\u5176\u9AD8\u5EA6\u6216\u5BEC\u5EA6\u8207\u6578\u7D44\u76F8\u540C",example:"1",require:"m",repeat:"n",type:"range"},{name:"if_empty",detail:"[\u53EF\u9078] - \u5982\u679C\u5305\u542B\u6578\u7D44\u4E2D\u7684\u6240\u6709\u503C\u90FD\u70BA\u7A7A\uFF08filter\u4E0D\u8FD4\u56DE\u4EFB\u4F55\u503C\uFF09\uFF0C\u5247\u8FD4\u56DE\u7684\u503C\u3002",example:'""',require:"o",repeat:"n",type:"rangeall"}]},{n:"UNIQUE",t:"14",d:"\u8FD4\u56DE\u5217\u8868\u6216\u5340\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u6E05\u55AE\u3002",a:"\u8FD4\u56DE\u5217\u8868\u6216\u5340\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u6E05\u55AE\u3002",m:[1,3],p:[{name:"array",detail:"\u5F9E\u5176\u8FD4\u56DE\u552F\u4E00\u503C\u7684\u6578\u7D44\u6216\u5340\u57DF\u3002",example:"A2:B26",require:"m",repeat:"n",type:"rangenumber"},{name:"by_col",detail:"[\u53EF\u9078] - \u908F\u8F2F\u503C\uFF0C\u8A13\u793A\u5982\u4F55\u6BD4\u8F03\uFF1B\u6309\u884C= FALSE\uFF08\uFF09\u6216\u7701\u7565\uFF1B\u6309\u5217= TRUE\uFF08\uFF09\u3002",example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{name:"occurs_once",detail:"[\u53EF\u9078] - \u908F\u8F2F\u503C\uFF0C\u50C5\u8FD4\u56DE\u552F\u4E00\u503C\u4E2D\u51FA\u73FE\u4E00\u6B21= TRUE\uFF08\uFF09\uFF1B\u5305\u62EC\u6240\u6709\u552F\u4E00\u503C= FALSE\uFF08\uFF09\u6216\u7701\u7565\u3002",example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANDARRAY",t:"14",d:"\u8FD4\u56DE0\u52301\u4E4B\u9593\u7684\u96A8\u6A5F\u6578\u4F4D\u6578\u7D44\u3002",a:"\u8FD4\u56DE0\u52301\u4E4B\u9593\u7684\u96A8\u6A5F\u6578\u4F4D\u6578\u7D44",m:[0,2],p:[{name:"rows",detail:"[\u53EF\u9078] - \u8981\u8FD4\u56DE\u7684\u884C\u6578\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"cols",detail:"[\u53EF\u9078] - \u8981\u8FD4\u56DE\u7684\u5217\u6578\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SEQUENCE",t:"14",d:"\u751F\u6210\u6578\u4F4D\u5E8F\u5217\u7684\u6E05\u55AE\u3002",a:"\u751F\u6210\u6578\u4F4D\u5E8F\u5217\u7684\u6E05\u55AE\u3002",m:[1,4],p:[{name:"rows",detail:"\u8981\u8FD4\u56DE\u7684\u884C\u6578\u3002",example:"1",require:"m",repeat:"n",type:"rangenumber"},{name:"cols",detail:"[\u53EF\u9078] - \u8981\u8FD4\u56DE\u7684\u5217\u6578\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"start",detail:"[\u53EF\u9078] - \u5E8F\u5217\u4E2D\u7684\u7B2C\u4E00\u500B\u6578\u4F4D\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"},{name:"step",detail:"[\u53EF\u9078] -\u5E8F\u5217\u4E2D\u6BCF\u500B\u5E8F\u5217\u503C\u7684\u589E\u91CF\u3002",example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"EVALUATE",t:"3",d:"\u5C0D\u4EE5\u6587\u5B57\u8868\u793A\u7684\u516C\u5F0F\u6216\u8005\u8868\u9054\u5F0F\u6C42\u503C\uFF0C\u4E26\u8FD4\u56DE\u7D50\u679C\u3002",a:"\u6839\u64DA\u6587\u5B57\u516C\u5F0F\u6216\u8005\u8868\u9054\u5F0F\u6C42\u503C\u3002",m:[1,1],p:[{name:"\u516C\u5F0F",example:'"A1+5*2^2"',detail:"\u516C\u5F0F\u6216\u8868\u9054\u5F0F",require:"m",repeat:"n",type:"rangeall"}]}],toolbar:{undo:"\u64A4\u92B7",redo:"\u91CD\u505A",paintFormat:"\u683C\u5F0F\u5237",currencyFormat:"\u8CA8\u5E63\u683C\u5F0F",percentageFormat:"\u767E\u5206\u6BD4\u683C\u5F0F",numberDecrease:"\u51CF\u5C11\u5C0F\u6578\u4F4D\u6578",numberIncrease:"\u65B0\u589E\u5C0F\u6578\u4F4D\u6578",moreFormats:"\u66F4\u591A\u683C\u5F0F",font:"\u5B57\u9AD4",fontSize:"\u5B57\u578B\u5927\u5C0F",bold:"\u7C97\u9AD4\uFF08Ctrl+B\uFF09",italic:"\u659C\u9AD4\uFF08Ctrl+I\uFF09",strikethrough:"\u5220\u9664\u7DDA\uFF08Alt+Shift+5\uFF09",underline:"\u5E95\u7DDA",textColor:"\u6587\u5B57\u984F\u8272",chooseColor:"\u984F\u8272\u9078\u64C7",resetColor:"\u91CD\u7F6E\u984F\u8272",customColor:"\u81EA\u5B9A\u7FA9",alternatingColors:"\u4EA4\u66FF\u984F\u8272",confirmColor:"\u78BA\u5B9A\u984F\u8272",cancelColor:"\u53D6\u6D88",collapse:"\u6536\u8D77",fillColor:"\u5132\u5B58\u683C\u984F\u8272",border:"\u908A\u6846",borderStyle:"\u908A\u6846\u985E\u578B",mergeCell:"\u5408\u4F75\u5132\u5B58\u683C",chooseMergeType:"\u9078\u64C7\u5408\u4F75\u985E\u578B",horizontalAlign:"\u6C34\u51C6\u5C0D\u9F4A",verticalAlign:"\u5782\u76F4\u5C0D\u9F4A",alignment:"\u5C0D\u9F4A\u7BA1\u9053",textWrap:"\u6587\u5B57\u63DB\u884C",textWrapMode:"\u63DB\u884C\u7BA1\u9053",textRotate:"\u6587\u5B57\u65CB\u8F49",textRotateMode:"\u65CB\u8F49\u7BA1\u9053",freezeTopRow:"\u51CD\u7D50\u9996\u884C",sortAndFilter:"\u6392\u5E8F\u548C\u7BE9\u9078",findAndReplace:"\u67E5\u627E\u66FF\u63DB",sum:"\u6C42\u548C",autoSum:"\u81EA\u52D5\u6C42\u548C",moreFunction:"\u66F4\u591A\u51FD\u6578",conditionalFormat:"\u689D\u4EF6\u683C\u5F0F",postil:"\u6279\u8A3B",pivotTable:"\u6578\u64DA\u900F\u8996\u9336",chart:"\u5716\u8868",screenshot:"\u622A\u5716",splitColumn:"\u5206\u5217",insertImage:"\u63D2\u5165\u5716\u7247",insertLink:"\u63D2\u5165\u9023\u7D50",dataVerification:"\u6578\u64DA\u9A57\u8B49",protection:"\u4FDD\u8B77\u5DE5\u4F5C\u8868\u5167\u5BB9",clearText:"\u6E05\u9664\u984F\u8272\u9078\u64C7",noColorSelectedText:"\u6C92\u6709\u984F\u8272\u88AB\u9078\u64C7",toolMore:"\u66F4\u591A",toolLess:"\u5C11\u65BC",toolClose:"\u6536\u8D77",toolMoreTip:"\u66F4\u591A\u529F\u80FD",moreOptions:"\u66F4\u591A\u9078\u9805",cellFormat:"\u8A2D\u5B9A\u5132\u5B58\u683C\u683C\u5F0F",print:"\u5217\u5370"},alternatingColors:{applyRange:"\u61C9\u7528\u7BC4\u570D",selectRange:"\u9078\u64C7\u61C9\u7528\u7BC4\u570D",header:"\u9801\u7709",footer:"\u9801\u8173",errorInfo:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",textTitle:"\u683C\u5F0F\u6A23\u5F0F",custom:"\u81EA\u5B9A\u7FA9",close:"\u95DC\u9589",selectionTextColor:"\u9078\u64C7\u6587\u5B57\u984F\u8272",selectionCellColor:"\u9078\u64C7\u5132\u5B58\u683C\u984F\u8272",removeColor:"\u79FB\u9664\u4EA4\u66FF\u984F\u8272",colorShow:"\u984F\u8272",currentColor:"\u7576\u524D\u984F\u8272",tipSelectRange:"\u8ACB\u9078\u64C7\u4EA4\u66FF\u984F\u8272\u61C9\u7528\u7BC4\u570D",errorNoRange:"\u60A8\u9078\u64C7\u7684\u61C9\u7528\u7BC4\u570D\u4E0D\u662F\u9078\u5340\uFF01",errorExistColors:"\u60A8\u9078\u64C7\u7684\u61C9\u7528\u7BC4\u570D\u5DF2\u5B58\u5728\u4EA4\u66FF\u984F\u8272\u4E14\u4E0D\u5C6C\u65BC\u4F60\u8981\u7DE8\u8F2F\u7684\u61C9\u7528\u7BC4\u570D\uFF01"},button:{confirm:"\u78BA\u5B9A",cancel:"\u53D6\u6D88",close:"\u95DC\u9589",update:"Update",delete:"Delete",insert:"\u65B0\u5EFA",prevPage:"\u4E0A\u4E00\u9801",nextPage:"\u4E0B\u4E00\u9801",total:"\u7E3D\u5171\uFF1A"},paint:{start:"\u683C\u5F0F\u5237\u958B\u555F",end:"ESC\u9375\u9000\u51FA",tipSelectRange:"\u8ACB\u9078\u64C7\u9700\u8981\u8907\u88FD\u683C\u5F0F\u7684\u5340\u57DF",tipNotMulti:"\u7121\u6CD5\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C"},format:{moreCurrency:"\u66F4\u591A\u8CA8\u5E63\u683C\u5F0F",moreDateTime:"\u66F4\u591A\u65E5\u671F\u8207\u6642\u9593\u683C\u5F0F",moreNumber:"\u66F4\u591A\u6578\u4F4D\u683C\u5F0F",titleCurrency:"\u8CA8\u5E63\u683C\u5F0F",decimalPlaces:"\u5C0F\u6578\u4F4D\u6578",titleDateTime:"\u65E5\u671F\u8207\u6642\u9593\u683C\u5F0F",titleNumber:"\u6578\u4F4D\u683C\u5F0F"},info:{detailUpdate:"\u65B0\u6253\u958B",detailSave:"\u5DF2\u6062\u5FA9\u672C\u5730\u7DE9\u5B58",row:"\u884C",column:"\u5217",loading:"\u6E32\u67D3\u4E2D\xB7\xB7\xB7",copy:"\u526F\u672C",return:"\u8FD4\u56DE",rename:"\u91CD\u547D\u540D",tips:"\u8868\u683C\u91CD\u547D\u540D",noName:"\u7121\u6A19\u984C\u7684\u8A66\u7B97\u8868",wait:"\u5F85\u66F4\u65B0",add:"\u6DFB\u52A0",addLast:"\u5728\u5E95\u90E8\u6DFB\u52A0",backTop:"\u56DE\u5230\u9802\u90E8",pageInfo:"\u5171${total}\u689D,${totalPage}\u9801,\u7576\u524D\u5DF2\u986F\u793A${currentPage}\u9801",nextPage:"\u4E0B\u4E00\u9801",tipInputNumber:"\u8ACB\u8F38\u5165\u6578\u4F4D",tipInputNumberLimit:"\u65B0\u589E\u7BC4\u570D\u9650\u5236\u57281-100",tipRowHeightLimit:"\u884C\u9AD8\u5FC5\u9808\u57280 ~ 545\u4E4B\u9593",tipColumnWidthLimit:"\u5217\u5BEC\u5FC5\u9808\u57280 ~ 2038\u4E4B\u9593",pageInfoFull:"\u5171${total}\u689D,${totalPage}\u9801,\u5DF2\u986F\u793A\u5168\u90E8\u6578\u64DA"},currencyDetail:{RMB:"\u4EBA\u6C11\u5E63",USdollar:"\u7F8E\u5143",EUR:"\u6B50\u5143",GBP:"\u82F1\u938A",HK:"\u6E2F\u5143",JPY:"\u65E5\u5143",AlbanianLek:"\u963F\u723E\u5DF4\u5C3C\u4E9E\u5217\u514B",AlgerianDinar:"\u963F\u723E\u53CA\u5229\u4E9E\u7B2C\u7D0D\u723E",Afghani:"\u963F\u5BCC\u6C57\u5C3C",ArgentinePeso:"\u963F\u6839\u5EF7\u6BD4\u7D22",UnitedArabEmiratesDirham:"\u963F\u62C9\u4F2F\u806F\u5408\u5927\u516C\u570B\u8FEA\u62C9\u59C6",ArubanFlorin:"\u963F\u9B6F\u5DF4\u5F17\u7F85\u6797",OmaniRial:"\u963F\u66FC\u88E1\u4E9E\u723E",Azerbaijanimanat:"\u963F\u585E\u62DC\u7586\u99AC\u7D0D\u7279",EgyptianPound:"\u57C3\u53CA\u938A",EthiopianBirr:"\u8863\u7D22\u6BD4\u4E9E\u6BD4\u723E",AngolaKwanza:"\u5B89\u54E5\u62C9\u5BEC\u7D2E",AustralianDollar:"\u6FB3\u5927\u5229\u4E9E\u5143",Patacas:"\u6FB3\u9580\u5143",BarbadosDollar:"\u5DF4\u5DF4\u591A\u65AF\u5143",PapuaNewGuineaKina:"\u5DF4\u5E03\u4E9E\u65B0\u5E7E\u5167\u4E9E\u57FA\u90A3",BahamianDollar:"\u5DF4\u54C8\u99AC\u5143",PakistanRupee:"\u5DF4\u57FA\u65AF\u5766\u76E7\u6BD4",ParaguayanGuarani:"\u5DF4\u62C9\u572D\u74DC\u62C9\u5C3C",BahrainiDinar:"\u5DF4\u6797\u7B2C\u7D0D\u723E",PanamanianBalboa:"\u5DF4\u62FF\u99AC\u5DF4\u6CE2\u4E9E",Brazilianreal:"\u5DF4\u897F\u88CF\u4E9E\u4F0A",Belarusianruble:"\u767D\u4FC4\u7F85\u65AF\u76E7\u5E03",BermudianDollar:"\u767E\u6155\u5927\u5143",BulgarianLev:"\u4FDD\u52A0\u5229\u4E9E\u5217\u5F17",IcelandKrona:"\u51B0\u5CF6\u514B\u6717",BosniaHerzegovinaConvertibleMark:"\u6CE2\u9ED1\u53EF\u514C\u63DB\u99AC\u514B",PolishZloty:"\u6CE2\u862D\u8332\u7F85\u63D0",Boliviano:"\u73BB\u5229\u7DAD\u4E9E\u8AFE",BelizeDollar:"\u8C9D\u88E1\u65AF\u5143",BotswanaPula:"\u6CE2\u5284\u90A3\u666E\u62C9",NotDannuzhamu:"\u4E0D\u4E39\u52AA\u7D2E\u59C6",BurundiFranc:"\u5E03\u9686\u8FEA\u6CD5\u90CE",NorthKoreanWon:"\u671D\u9BAE\u5713",DanishKrone:"\u4E39\u9EA5\u514B\u6717",EastCaribbeanDollar:"\u6771\u52A0\u52D2\u6BD4\u5143",DominicaPeso:"\u591A\u660E\u5C3C\u52A0\u6BD4\u7D22",RussianRuble:"\u4FC4\u570B\u76E7\u5E03",EritreanNakfa:"\u5384\u5229\u5782\u4E9E\u7D0D\u514B\u6CD5",CFAfranc:"\u975E\u6D32\u91D1\u878D\u5171\u540C\u9AD4\u6CD5\u90CE",PhilippinePeso:"\u83F2\u5F8B\u8CD3\u6BD4\u7D22",FijiDollar:"\u6590\u6FDF\u5143",CapeVerdeEscudo:"\u4F5B\u5F97\u89D2\u57C3\u65AF\u5EAB\u591A",FalklandIslandsPound:"\u798F\u514B\u862D\u7FA4\u5CF6\u938A",GambianDalasi:"\u5CA1\u6BD4\u4E9E\u9054\u62C9\u897F",Congolesefranc:"\u525B\u679C\u6CD5\u90CE",ColombianPeso:"\u54E5\u502B\u6BD4\u4E9E\u6BD4\u7D22",CostaRicanColon:"\u54E5\u65AF\u5927\u9ECE\u52A0\u79D1\u6717",CubanPeso:"\u53E4\u5DF4\u6BD4\u7D22",Cubanconvertiblepeso:"\u53E4\u5DF4\u53EF\u514C\u63DB\u6BD4\u7D22",GuyanaDollar:"\u84CB\u4E9E\u90A3\u5143",KazakhstanTenge:"\u54C8\u85A9\u514B\u5171\u548C\u570B\u5805\u6208",Haitiangourde:"\u6D77\u5730\u53E4\u5FB7",won:"\u97D3\u5143",NetherlandsAntillesGuilder:"\u8377\u5C6C\u5B89\u7684\u5217\u65AF\u76FE",Honduraslempiras:"\u6D2A\u90FD\u62C9\u65AF\u62C9\u502B\u76AE\u62C9",DjiboutiFranc:"\u5409\u5E03\u63D0\u6CD5\u90CE",KyrgyzstanSom:"\u5409\u723E\u5409\u65AF\u65AF\u5766\u7D22\u59C6",GuineaFranc:"\u5E7E\u5167\u4E9E\u6CD5\u90CE",CanadianDollar:"\u52A0\u62FF\u5927\u5143",GhanaianCedi:"\u52A0\u7D0D\u585E\u5730",Cambodianriel:"\u9AD8\u68C9\u745E\u723E",CzechKoruna:"\u6377\u514B\u514B\u6717",ZimbabweDollar:"\u8F9B\u5DF4\u5A01\u5143",QatariRiyal:"\u5361\u5854\u723E\u88E1\u4E9E\u723E",CaymanIslandsDollar:"\u958B\u66FC\u7FA4\u5CF6\u5143",Comorianfranc:"\u79D1\u6469\u7F85\u6CD5\u90CE",KuwaitiDinar:"\u79D1\u5A01\u7279\u7B2C\u7D0D\u723E",CroatianKuna:"\u514B\u7F85\u5730\u4E9E\u5EAB\u7D0D",KenyanShilling:"\u80AF\u96C5\u5148\u4EE4",LesothoLoti:"\u840A\u7D22\u6258\u6D1B\u8482",LaoKip:"\u8001\u64BE\u57FA\u666E",LebanesePound:"\u9ECE\u5DF4\u5AE9\u938A",Lithuanianlitas:"\u7ACB\u9676\u5B9B\u7ACB\u7279",LibyanDinar:"\u5229\u6BD4\u4E9E\u7B2C\u7D0D\u723E",LiberianDollar:"\u5229\u6BD4\u4E9E\u5143",RwandaFranc:"\u76E7\u5B89\u9054\u6CD5\u90CE",RomanianLeu:"\u7F85\u99AC\u5C3C\u4E9E\u5217\u4F0A",MalagasyAriary:"\u99AC\u62C9\u52A0\u897F\u963F\u88CF\u4E9E\u88CF",MaldivianRufiyaa:"\u746A\u5F8B\u5730\u592B\u62C9\u83F2\u4E9E",MalawiKwacha:"\u99AC\u62C9\u5A01\u514B\u74E6\u67E5",MalaysianRinggit:"\u99AC\u4F86\u897F\u4E9E\u6797\u5409\u7279",MacedoniawearingDinar:"\u99AC\u5176\u9813\u6234\u7B2C\u7D0D\u723E",MauritiusRupee:"\u6A21\u88E1\u897F\u65AF\u76E7\u6BD4",MauritanianOuguiya:"\u8305\u5229\u5854\u5C3C\u4E9E\u70CF\u5409\u4E9E",MongolianTugrik:"\u8499\u53E4\u5716\u683C\u88E1\u514B",BangladeshiTaka:"\u5B5F\u52A0\u62C9\u5854\u5361",PeruvianNuevoSol:"\u79D8\u9B6F\u65B0\u7D22\u723E",MyanmarKyat:"\u7DEC\u7538\u958B\u4E9E\u7279",MoldovanLeu:"\u83AB\u723E\u9054\u74E6\u5217\u4F0A",MoroccanDirham:"\u6469\u6D1B\u54E5\u8FEA\u62C9\u59C6",MozambiqueMetical:"\u83AB\u4E09\u6BD4\u514B\u6885\u8482\u5361\u723E",MexicanPeso:"\u58A8\u897F\u54E5\u6BD4\u7D22",NamibianDollar:"\u7D0D\u7C73\u6BD4\u4E9E\u5143",SouthAfricanRand:"\u5357\u975E\u862D\u7279",SouthSudanesePound:"\u5357\u8607\u4E39\u938A",NicaraguaCordoba:"\u5C3C\u52A0\u62C9\u74DC\u79D1\u591A\u5DF4",NepaleseRupee:"\u5C3C\u6CCA\u723E\u76E7\u6BD4",NigerianNaira:"\u5948\u53CA\u5229\u4E9E\u5948\u62C9",NorwegianKrone:"\u632A\u5A01\u514B\u6717",GeorgianLari:"\u55AC\u6CBB\u4E9E\u62C9\u745E",RMBOffshore:"\u4EBA\u6C11\u5E63\uFF08\u96E2\u5CB8\uFF09",SwedishKrona:"\u745E\u5178\u514B\u6717",SwissFranc:"\u745E\u58EB\u6CD5\u90CE",SerbianDinar:"\u585E\u723E\u7DAD\u4E9E\u7B2C\u7D0D\u723E",SierraLeone:"\u585E\u62C9\u91CC\u6602\u5229\u6602",SeychellesRupee:"\u585E\u820C\u8033\u76E7\u6BD4",SaudiRiyal:"\u6C99\u7279\u88E1\u4E9E\u723E",SaoTomeDobra:"\u8056\u591A\u7F8E\u591A\u5E03\u62C9",SaintHelenapound:"\u8056\u8D6B\u502B\u90A3\u7FA4\u5CF6\u78C5",SriLankaRupee:"\u65AF\u91CC\u862D\u5361\u76E7\u6BD4",SwazilandLilangeni:"\u53F2\u74E6\u6FDF\u862D\u88CF\u862D\u5409\u5C3C",SudanesePound:"\u8607\u4E39\u938A",Surinamesedollar:"\u8607\u5229\u5357\u5143",SolomonIslandsDollar:"\u6240\u7F85\u9580\u7FA4\u5CF6\u5143",SomaliShilling:"\u7D22\u99AC\u5229\u4E9E\u5148\u4EE4",TajikistanSomoni:"\u5854\u5409\u514B\u5171\u548C\u570B\u7D22\u83AB\u5C3C",PacificFranc:"\u592A\u5E73\u6D0B\u6CD5\u90CE",ThaiBaht:"\u6CF0\u570B\u9296",TanzanianShilling:"\u5766\u5C1A\u5C3C\u4E9E\u5148\u4EE4",TonganPaanga:"\u6771\u52A0\u6F58\u52A0",TrinidadandTobagoDollar:"\u5343\u88E1\u9054\u6258\u8C9D\u54E5\u5143",TunisianDinar:"\u7A81\u5C3C\u65AF\u7B2C\u7D0D\u723E",TurkishLira:"\u571F\u8033\u5176\u91CC\u62C9",VanuatuVatu:"\u74E6\u52AA\u963F\u5716\u74E6\u5716",GuatemalanQuetzal:"\u74DC\u5730\u99AC\u62C9\u683C\u67E5\u723E",CommissionBolivar:"\u59D4\u5167\u745E\u62C9\u535A\u5229\u74E6",BruneiDollar:"\u6C76\u840A\u5143",UgandanShilling:"\u70CF\u5E72\u9054\u5148\u4EE4",UkrainianHryvnia:"\u70CF\u514B\u862D\u683C\u88E1\u592B\u5C3C\u4E9E",UruguayanPeso:"\u70CF\u62C9\u572D\u6BD4\u7D22",Uzbekistansom:"\u70CF\u8332\u5225\u514B\u8607\u59C6",WesternSamoaTala:"\u85A9\u6469\u4E9E\u5854\u62C9",SingaporeDollar:"\u65B0\u52A0\u5761\u5143",NT:"\u65B0\u81FA\u5E63",NewZealandDollar:"\u65B0\u897F\u862D\u5143",HungarianForint:"\u5308\u7259\u5229\u798F\u6797",SyrianPound:"\u6558\u5229\u4E9E\u938A",JamaicanDollar:"\u7259\u8CB7\u52A0\u5143",ArmenianDram:"\u4E9E\u7F8E\u5C3C\u4E9E\u5FB7\u62C9\u59C6",YemeniRial:"\u8449\u9580\u88E1\u4E9E\u723E",IraqiDinar:"\u4F0A\u62C9\u514B\u7B2C\u7D0D\u723E",IranianRial:"\u4F0A\u6717\u88E1\u4E9E\u723E",NewIsraeliShekel:"\u4EE5\u8272\u5217\u65B0\u8B1D\u514B\u723E",IndianRupee:"\u5370\u5EA6\u76E7\u6BD4",IndonesianRupiah:"\u5370\u5C3C\u76E7\u6BD4",JordanianDinar:"\u7D04\u65E6\u7B2C\u7D0D\u723E",VND:"\u8D8A\u5357\u76FE",ZambianKwacha:"\u5C1A\u6BD4\u4E9E\u514B\u74E6\u67E5",GibraltarPound:"\u76F4\u5E03\u7F85\u9640\u938A",ChileanPeso:"\u667A\u5229\u6BD4\u7D22",CFAFrancBEAC:"\u4E2D\u975E\u91D1\u878D\u5408\u4F5C\u6CD5\u90CE"},defaultFmt:[{text:"\u81EA\u52D5",value:"General",example:""},{text:"\u7D14\u6587\u5B57",value:"@",example:""},{text:"",value:"split",example:""},{text:"\u6578\u4F4D",value:"##0.00",example:"1000.12"},{text:"\u767E\u5206\u6BD4",value:"#0.00%",example:"12.21%"},{text:"\u79D1\u5B78\u8A08\u6578",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"\u6703\u8A08",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"\u842C\u5143",value:"w",example:"1\u4EBF2000\u4E072500"},{text:"\u8CA8\u5E63",value:"\xA50.00",example:"\xA51200.09"},{text:"\u842C\u51432\u4F4D\u5C0F\u6578",value:"w0.00",example:"2\u4E072500.55"},{text:"",value:"split",example:""},{text:"\u65E5\u671F",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"\u6642\u9593",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"\u6642\u959324H",value:"hh:mm",example:"15:00"},{text:"\u65E5\u671F\u6642\u9593",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"\u65E5\u671F\u6642\u959324H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"split",example:""},{text:"\u81EA\u5B9A\u7FA9\u683C\u5F0F",value:"fmtOtherSelf",example:"more"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"1930\u5E748\u67085\u65E5",value:'yyyy"\u5E74"M"\u6708"d"\u65E5"'},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"8\u67085\u65E5",value:'M"\u6708"d"\u65E5"'},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"\u4E0B\u534801:30",value:"\u4E0A\u5348/\u4E0B\u5348 hh:mm"},{name:"\u4E0B\u53481:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm"},{name:"\u4E0B\u53481:30:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm:ss"},{name:"08-05 \u4E0B\u534801:30",value:"MM-dd \u4E0A\u5348/\u4E0B\u5348 hh:mm"}],fontFamily:{MicrosoftYaHei:"Microsoft YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana","\u5FAE\u8EDF\u96C5\u9ED1","\u5B8B\u9AD4","\u9ED1\u9AD4","\u6977\u9AD4","\u4EFF\u5B8B","\u65B0\u5B8B\u9AD4","\u83EF\u6587\u65B0\u9B4F","\u83EF\u6587\u884C\u6977","\u83EF\u6587\u96B8\u66F8"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3,\u5FAE\u8EDF\u96C5\u9ED1:4,"microsoft yahei":4,\u5B8B\u9AD4:5,simsun:5,\u9ED1\u9AD4:6,simhei:6,\u6977\u9AD4:7,kaiti:7,\u4EFF\u5B8B:8,fangsong:8,\u65B0\u5B8B\u9AD4:9,nsimsun:9,\u83EF\u6587\u65B0\u9B4F:10,stxinwei:10,\u83EF\u6587\u884C\u6977:11,stxingkai:11,\u83EF\u6587\u96B8\u66F8:12,stliti:12},border:{borderTop:"\u4E0A\u6846\u7DDA",borderBottom:"\u4E0B\u6846\u7DDA",borderLeft:"\u5DE6\u6846\u7DDA",borderRight:"\u53F3\u6846\u7DDA",borderNone:"\u7121",borderAll:"\u6240\u6709",borderOutside:"\u5916\u5074",borderInside:"\u5167\u5074",borderHorizontal:"\u5167\u5074\u6A6B\u7DDA",borderVertical:"\u5167\u5074\u5206\u9694\u865F",borderColor:"\u908A\u6846\u984F\u8272",borderSize:"\u908A\u6846\u7C97\u7D30"},merge:{mergeAll:"\u5168\u90E8\u5408\u4F75",mergeV:"\u5782\u76F4\u5408\u4F75",mergeH:"\u6C34\u5E73\u5408\u4F75",mergeCancel:"\u53D6\u6D88\u5408\u4F75",overlappingError:"\u4E0D\u80FD\u5408\u4F75\u91CD\u758A\u5340\u57DF",partiallyError:"\u7121\u6CD5\u5C0D\u90E8\u5206\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C"},align:{left:"\u5DE6\u5C0D\u9F4A",center:"\u4E2D\u9593\u5C0D\u9F4A",right:"\u53F3\u5C0D\u9F4A",top:"\u9802\u90E8\u5C0D\u9F4A",middle:"\u5C45\u4E2D\u5C0D\u9F4A",bottom:"\u5E95\u90E8\u5C0D\u9F4A"},textWrap:{overflow:"\u6EA2\u51FA",wrap:"\u81EA\u52D5\u63DB\u884C",clip:"\u622A\u65B7"},rotation:{none:"\u7121\u65CB\u8F49",angleup:"\u5411\u4E0A\u50BE\u659C",angledown:"\u5411\u4E0B\u50BE\u659C",vertical:"\u8C4E\u6392\u6587\u5B57",rotationUp:"\u5411\u4E0A90\xB0",rotationDown:"\u5411\u4E0B90\xB0"},freezen:{default:"\u51CD\u7D50\u9996\u884C",freezenRow:"\u51CD\u7D50\u9996\u884C",freezenColumn:"\u51CD\u7D50\u9996\u5217",freezenRC:"\u51CD\u7D50\u884C\u5217",freezenRowRange:"\u51CD\u7D50\u884C\u5230\u9078\u5340",freezenColumnRange:"\u51CD\u7D50\u5217\u5230\u9078\u5340",freezenRCRange:"\u51CD\u7D50\u884C\u5217\u5230\u9078\u5340",freezenCancel:"\u53D6\u6D88\u51CD\u7D50",noSeletionError:"\u6CA1\u6709\u9078\u5340"},sort:{asc:"\u6607\u51AA",desc:"\u964D\u5E8F",custom:"\u81EA\u5B9A\u7FA9\u6392\u5E8F",hasTitle:"\u6578\u64DA\u5177\u6709\u6A19\u984C\u884C",sortBy:"\u6392\u5E8F\u4F9D\u64DA",addOthers:"\u6DFB\u52A0\u5176\u4ED6\u6392\u5E8F\u5217",close:"\u95DC\u9589",confirm:"\u6392\u5E8F",columnOperation:"\u5217",secondaryTitle:"\u6B21\u8981\u6392\u5E8F",sortTitle:"\u6392\u5E8F\u7BC4\u570D",sortRangeTitle:"\u6392\u5E8F\u7BC4\u570D\u5F9E",sortRangeTitleTo:"\u5230",noRangeError:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",mergeError:"\u9078\u5340\u6709\u5408\u4F75\u5132\u5B58\u683C,\u7121\u6CD5\u57F7\u884C\u6B64\u64CD\u4F5C\uFF01"},filter:{filter:"\u7BE9\u9078",clearFilter:"\u6E05\u9664\u7BE9\u9078",sortByAsc:"\u4EE5A-Z\u6607\u51AA\u6392\u5217",sortByDesc:"\u4EE5Z-A\u964D\u5E8F\u6392\u5217",filterByColor:"\u6309\u984F\u8272\u7BE9\u9078",filterByCondition:"\u6309\u689D\u4EF6\u904E\u6FFE",filterByValues:"\u6309\u503C\u904E\u6FFE",filiterInputNone:"\u7121",filiterInputTip:"\u8F38\u5165\u7BE9\u9078\u503C",filiterRangeStartTip:"\u7BC4\u570D\u958B\u59CB",filiterRangeEndTip:"\u7BC4\u570D\u7ED3\u675F",filterValueByAllBtn:"\u5168\u9078",filterValueByClearBtn:"\u6E05\u9664",filterValueByInverseBtn:"\u53CD\u9078",filterValueByTip:"\u6309\u7167\u503C\u9032\u884C\u7BE9\u9078",filterConform:"\u78BA \u8A8D",filterCancel:"\u53D6 \u6D88",clearFilter:"\u6E05\u9664\u7BE9\u9078",conditionNone:"\u7121",conditionCellIsNull:"\u5132\u5B58\u683C\u70BA\u7A7A",conditionCellNotNull:"\u5132\u5B58\u683C\u6709\u6578\u64DA",conditionCellTextContain:"\u6587\u5B57\u5305\u542B",conditionCellTextNotContain:"\u6587\u5B57\u4E0D\u5305\u542B",conditionCellTextStart:"\u6587\u5B57\u958B\u982D\u70BA",conditionCellTextEnd:"\u6587\u5B57\u7D50\u5C3E\u70BA",conditionCellTextEqual:"\u6587\u5B57\u7B49\u65BC",conditionCellDateEqual:"\u65E5\u671F\u7B49\u65BC",conditionCellDateBefore:"\u65E5\u671F\u65E9\u65BC",conditionCellDateAfter:"\u65E5\u671F\u665A\u65BC",conditionCellGreater:"\u5927\u65BC",conditionCellGreaterEqual:"\u5927\u65BC\u7B49\u65BC",conditionCellLess:"\u5C0F\u65BC",conditionCellLessEqual:"\u5C0F\u4E8E\u7B49\u65BC",conditionCellEqual:"\u7B49\u65BC",conditionCellNotEqual:"\u4E0D\u7B49\u65BC",conditionCellBetween:"\u4ECB\u65BC",conditionCellNotBetween:"\u4E0D\u5728\u5176\u4E2D",filiterMoreDataTip:"\u6578\u64DA\u91CF\u5927\uFF01\u8ACB\u7A0D\u5F8C",filiterMonthText:"\u6708",filiterYearText:"\u5E74",filiterByColorTip:"\u6309\u5132\u5B58\u683C\u984F\u8272\u7BE9\u9078",filiterByTextColorTip:"\u6309\u5132\u5B58\u683C\u5B57\u9AD4\u984F\u8272\u7BE9\u9078",filterContainerOneColorTip:"\u672C\u5217\u50C5\u5305\u542B\u4E00\u7A2E\u984F\u8272",filterDateFormatTip:"\u65E5\u671F\u683C\u5F0F",valueBlank:"(\u7A7A\u767D)",mergeError:"\u7BE9\u9078\u9078\u5340\u6709\u5408\u4F75\u5132\u5B58\u683C,\u7121\u6CD5\u57F7\u884C\u6B64\u64CD\u4F5C\uFF01"},rightclick:{copy:"\u8907\u88FD",copyAs:"\u8907\u88FD\u70BA",paste:"\u7C98\u8CBC",insert:"\u63D2\u5165",delete:"\u5220\u9664",deleteCell:"\u5220\u9664\u5132\u5B58\u683C",deleteSelected:"\u5220\u9664\u9078\u4E2D",hide:"\u96B1\u85CF",hideSelected:"\u96B1\u85CF\u9078\u4E2D",showHide:"\u986F\u793A\u96B1\u85CF",to:"\u5411",left:"\u5DE6",right:"\u53F3",top:"\u4E0A",bottom:"\u4E0B",moveLeft:"\u5DE6\u79FB",moveUp:"\u4E0A\u79FB",add:"\u65B0\u589E",row:"\u884C",column:"\u5217",width:"\u5BEC",height:"\u9AD8",number:"\u6578\u4F4D",confirm:"\u78BA\u8A8D",orderAZ:"A-Z\u9806\u5E8F\u6392\u5217",orderZA:"Z-A\u964D\u5E8F\u6392\u5217",clearContent:"\u6E05\u9664\u5167\u5BB9",matrix:"\u77E9\u9663\u64CD\u4F5C\u9078\u5340",sortSelection:"\u6392\u5E8F\u9078\u5340",filterSelection:"\u7BE9\u9078\u9078\u5340",chartGeneration:"\u5716\u8868\u751F\u6210",firstLineTitle:"\u9996\u884C\u70BA\u6A19\u984C",untitled:"\u7121\u6A19\u984C",array1:"\u4E00\u7DAD\u6578\u7D44",array2:"\u4E8C\u7DAD\u9663\u5217",array3:"\u591A\u5143\u6578\u7D44",diagonal:"\u5C0D\u89D2\u7DDA",antiDiagonal:"\u53CD\u5C0D\u89D2\u7DDA",diagonalOffset:"\u5C0D\u89D2\u504F\u79FB",offset:"\u504F\u79FB\u91CF",boolean:"\u5E03\u6797\u503C",flip:"\u7FFB\u8F49",upAndDown:"\u4E0A\u4E0B",leftAndRight:"\u5DE6\u53F3",clockwise:"\u9806\u6642\u91DD",counterclockwise:"\u9006\u6642\u91DD",transpose:"\u8F49\u7F6E",matrixCalculation:"\u77E9\u9663\u8A08\u7B97",plus:"\u52A0",minus:"\u51CF",multiply:"\u4E58",divided:"\u9664",power:"\u6B21\u65B9",root:"\u6B21\u65B9\u6839",log:"log",delete0:"\u5220\u9664\u5169\u7AEF0\u503C",removeDuplicate:"\u5220\u9664\u91CD\u8907\u503C",byRow:"\u6309\u884C",byCol:"\u6309\u5217",generateNewMatrix:"\u751F\u6210\u65B0\u77E9\u9663"},comment:{insert:"\u65B0\u5EFA\u6279\u8A3B",edit:"\u7DE8\u8F2F\u6279\u8A3B",delete:"\u5220\u9664",showOne:"\u986F\u793A/\u96B1\u85CF\u6279\u8A3B",showAll:"\u986F\u793A/\u96B1\u85CF\u6240\u6709\u6279\u8A3B"},screenshot:{screenshotTipNoSelection:"\u8ACB\u6846\u9078\u9700\u8981\u622A\u5716\u7684\u7BC4\u570D",screenshotTipTitle:"\u63D0\u793A\uFF01",screenshotTipHasMerge:"\u7121\u6CD5\u5C0D\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C",screenshotTipHasMulti:"\u7121\u6CD5\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C",screenshotTipSuccess:"\u622A\u53D6\u6210\u529F",screenshotImageName:"\u622A\u5716",downLoadClose:"\u95DC\u9589",downLoadCopy:"\u8907\u88FD\u5230\u526A\u5207\u677F",downLoadBtn:"\u4E0B\u8F09",browserNotTip:"\u4E0B\u8F09\u529F\u80FDIE\u700F\u89BD\u5668\u4E0D\u652F\u6301\uFF01",rightclickTip:"\u8ACB\u5728\u5716\u7247\u4E0A\u53F3\u9375\u9EDE\u64CA'\u8907\u88FD'",successTip:"\u5DF2\u6210\u529F\u8907\u88FD\uFF08\u5982\u679C\u7C98\u8CBC\u5931\u6557,\u8ACB\u5728\u5716\u7247\u4E0A\u53F3\u9375\u9EDE\u64CA'\u8907\u88FD\u5716\u7247'\uFF09"},splitText:{splitDelimiters:"\u5206\u5272\u7B26\u865F",splitOther:"\u5176\u5B83",splitContinueSymbol:"\u9023\u7E8C\u5206\u9694\u7B26\u865F\u8996\u70BA\u55AE\u500B\u8655\u7406",splitDataPreview:"\u6578\u64DA\u9810\u89BD",splitTextTitle:"\u6587\u5B57\u5206\u5217",splitConfirmToExe:"\u6B64\u8655\u5DF2\u6709\u6578\u64DA,\u662F\u5426\u66FF\u63DB\u5B83\uFF1F",tipNoMulti:"\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",tipNoMultiColumn:"\u4E00\u6B21\u53EA\u80FD\u8F49\u63DB\u4E00\u5217\u6578\u64DA,\u9078\u5B9A\u5340\u57DF\u53EF\u4EE5\u6709\u591A\u884C,\u4F46\u4E0D\u80FD\u6709\u591A\u5217,\u8ACB\u5728\u9078\u5B9A\u55AE\u5217\u5340\u57DF\u4EE5\u5F8C\u518D\u8A66"},imageText:{imageSetting:"\u5716\u7247\u8A2D\u5B9A",close:"\u95DC\u9589",conventional:"\u5E38\u898F",moveCell1:"\u79FB\u52D5\u4E26\u8ABF\u6574\u5132\u5B58\u683C\u5927\u5C0F",moveCell2:"\u79FB\u52D5\u4E26\u4E14\u4E0D\u8ABF\u6574\u5132\u5B58\u683C\u7684\u5927\u5C0F",moveCell3:"\u4E0D\u8981\u79FB\u52D5\u5132\u5B58\u683C\u4E26\u8ABF\u6574\u5176\u5927\u5C0F",fixedPos:"\u56FA\u5B9A\u4F4D\u7F6E",border:"\u908A\u6846",width:"\u5BEC\u5EA6",radius:"\u534A\u5F91",style:"\u6A23\u5F0F",solid:"\u5BE6\u7DDA",dashed:"\u865B\u7DDA",dotted:"\u9EDE\u72C0",double:"\u96D9\u7DDA",color:"\u984F\u8272"},punctuation:{tab:"Tab \u9375",semicolon:"\u5206\u865F",comma:"\u9017\u865F",space:"\u7A7A\u683C"},findAndReplace:{find:"\u67E5\u627E",replace:"\u66FF\u63DB",goto:"\u8F49\u5230",location:"\u5B9A\u4F4D\u689D\u4EF6",formula:"\u516C\u5F0F",date:"\u65E5\u671F",number:"\u6578\u4F4D",string:"\u5B57\u5143",error:"\u932F\u8AA4",condition:"\u689D\u4EF6\u683C\u5F0F",rowSpan:"\u9593\u9694\u884C",columnSpan:"\u9593\u9694\u5217",locationExample:"\u5B9A\u4F4D",lessTwoRowTip:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u884C",lessTwoColumnTip:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u884C",findTextbox:"\u67E5\u627E\u5185\u5BB9",replaceTextbox:"\u66FF\u63DB\u5167\u5BB9",regexTextbox:"\u898F\u5247\u904B\u7B97\u5F0F\u5339\u914D",wholeTextbox:"\u6574\u8A5E\u5339\u914D",distinguishTextbox:"\u5340\u5206\u5927\u5C0F\u5BEB\u5339\u914D",allReplaceBtn:"\u5168\u90E8\u66FF\u63DB",replaceBtn:"\u66FF\u63DB",allFindBtn:"\u67E5\u627E\u5168\u90E8",findBtn:"\u67E5\u627E\u4E0B\u4E00\u500B",noFindTip:"\u6C92\u6709\u67E5\u627E\u5230\u8A72\u5167\u5BB9",modeTip:"\u8A72\u6A21\u5F0F\u4E0B\u4E0D\u53EF\u9032\u884C\u6B64\u64CD\u4F5C",searchTargetSheet:"\u5DE5\u4F5C\u8868",searchTargetCell:"\u5132\u5B58\u683C",searchTargetValue:"\u503C",searchInputTip:"\u8ACB\u8F38\u5165\u67E5\u627E\u5167\u5BB9",noReplceTip:"\u6C92\u6709\u53EF\u66FF\u63DB\u7684\u5167\u5BB9",noMatchTip:"\u627E\u4E0D\u5230\u5339\u914D\u9805",successTip:"\u5DF2\u7D93\u5E6B\u60A8\u8490\u7D22\u4E26\u9032\u884C\u4E86${xlength}\u8655\u66FF\u63DB",locationConstant:"\u5E38\u6578",locationFormula:"\u516C\u5F0F",locationDate:"\u65E5\u671F",locationDigital:"\u6578\u4F4D",locationString:"\u5B57\u5143",locationBool:"\u908F\u8F2F\u503C",locationError:"\u932F\u8AA4",locationNull:"\u7A7A\u503C",locationCondition:"\u689D\u4EF6\u683C\u5F0F",locationRowSpan:"\u9593\u9694\u884C",locationColumnSpan:"\u9593\u9694\u5217",locationTiplessTwoRow:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u884C",locationTiplessTwoColumn:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u5217",locationTipNotFindCell:"\u672A\u627E\u5230\u5132\u5B58\u683C"},sheetconfig:{delete:"\u5220\u9664",copy:"\u8907\u88FD",rename:"\u91CD\u547D\u540D",changeColor:"\u66F4\u6539\u984F\u8272",hide:"\u96B1\u85CF",unhide:"\u53D6\u6D88\u96B1\u85CF",moveLeft:"\u5411\u5DE6\u79FB",moveRight:"\u5411\u53F3\u79FB",resetColor:"\u91CD\u7F6E\u984F\u8272",cancelText:"\u53D6\u6D88",chooseText:"\u78BA\u5B9A\u984F\u8272",tipNameRepeat:"\u7C64\u9801\u7684\u540D\u7A31\u4E0D\u80FD\u91CD\u8907\uFF01\u8ACB\u91CD\u65B0\u4FEE\u6539",noMoreSheet:"\u5DE5\u4F5C\u8584\u5167\u81F3\u5C11\u542B\u6709\u4E00\u5F35\u53EF\u8996\u5DE5\u4F5C\u8868\u3002\u82E5\u9700\u5220\u9664\u9078\u5B9A\u7684\u5DE5\u4F5C\u8868,\u8ACB\u5148\u63D2\u5165\u4E00\u5F35\u65B0\u5DE5\u4F5C\u8868\u6216\u986F\u793A\u4E00\u5F35\u96B1\u85CF\u7684\u5DE5\u4F5C\u8868\u3002\u3002",confirmDelete:"\u662F\u5426\u5220\u9664",redoDelete:"\u53EF\u4EE5\u901A\u904ECtrl+Z\u64A4\u92B7\u5220\u9664",noHide:"\u4E0D\u80FD\u96B1\u85CF,\u81F3\u5C11\u4FDD\u7559\u4E00\u500Bsheet\u6A19\u7C64",chartEditNoOpt:"\u5716\u8868\u7DE8\u8F2F\u6A21\u5F0F\u4E0B\u4E0D\u5141\u8A31\u8A72\u64CD\u4F5C\uFF01",sheetNameSpecCharError:`\u540D\u7A31\u4E0D\u80FD\u5305\u542B:[ ] : ? * / ' "`,sheetNamecannotIsEmptyError:"\u540D\u7A31\u4E0D\u80FD\u70BA\u7A7A"},conditionformat:{conditionformat_greaterThan:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u5927\u65BC",conditionformat_greaterThan_title:"\u70BA\u5927\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_lessThan:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u5C0F\u65BC",conditionformat_lessThan_title:"\u70BA\u5C0F\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_betweenness:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u4ECB\u65BC",conditionformat_betweenness_title:"\u70BA\u4ECB\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_equal:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u7B49\u65BC",conditionformat_equal_title:"\u70BA\u7B49\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_textContains:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u6587\u5B57\u5305\u542B",conditionformat_textContains_title:"\u70BA\u5305\u542B\u4EE5\u4E0B\u6587\u5B57\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_occurrenceDate:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u767C\u751F\u65E5\u671F",conditionformat_occurrenceDate_title:"\u70BA\u5305\u542B\u4EE5\u4E0B\u65E5\u671F\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_duplicateValue:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u91CD\u8907\u503C",conditionformat_duplicateValue_title:"\u70BA\u5305\u542B\u4EE5\u4E0B\u985E\u578B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_top10:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u524D10\u9805",conditionformat_top10_percent:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u524D10%",conditionformat_top10_title:"\u70BA\u503C\u6700\u5927\u7684\u90A3\u4E9B\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_last10:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u5F8C10\u9805",conditionformat_last10_percent:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u5F8C10%",conditionformat_last10_title:"\u70BA\u503C\u6700\u5C0F\u7684\u90A3\u4E9B\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_AboveAverage:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u9AD8\u65BC\u5E73\u5747\u503C",conditionformat_AboveAverage_title:"\u70BA\u9AD8\u65BC\u5E73\u5747\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_SubAverage:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u4F4E\u65BC\u5E73\u5747\u503C",conditionformat_SubAverage_title:"\u70BA\u4F4E\u65BC\u5E73\u5747\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",rule:"\u898F\u5247",newRule:"\u65B0\u5EFA\u898F\u5247",editRule:"\u7DE8\u8F2F\u898F\u5247",deleteRule:"\u5220\u9664\u898F\u5247",deleteCellRule:"\u6E05\u9664\u6240\u9078\u5132\u5B58\u683C\u7684\u898F\u5247",deleteSheetRule:"\u6E05\u9664\u6574\u500B\u5DE5\u4F5C\u8868\u7684\u898F\u5247",manageRules:"\u7BA1\u7406\u898F\u5247",showRules:"\u986F\u793A\u5176\u683C\u5F0F\u898F\u5247",highlightCellRules:"\u7A81\u51FA\u986F\u793A\u5132\u5B58\u683C\u898F\u5247",itemSelectionRules:"\u9805\u76EE\u9078\u53D6\u898F\u5247",conditionformatManageRules:"\u689D\u4EF6\u683C\u5F0F\u898F\u5247\u7BA1\u7406\u5668",format:"\u683C\u5F0F",setFormat:"\u8A2D\u5B9A\u683C\u5F0F",setAs:"\u8A2D\u5B9A\u70BA",setAsByArea:"\u91DD\u5C0D\u9078\u5B9A\u5340\u57DF,\u8A2D\u5B9A\u70BA",applyRange:"\u61C9\u7528\u7BC4\u570D",selectRange:"\u9EDE\u64CA\u9078\u64C7\u61C9\u7528\u7BC4\u570D",selectRange_percent:"\u6240\u9078\u7BC4\u570D\u7684\u767E\u5206\u6BD4",selectRange_average:"\u9078\u5B9A\u7BC4\u570D\u7684\u5E73\u5747\u503C",selectRange_value:"\u9078\u5B9A\u7BC4\u570D\u4E2D\u7684\u6578\u503C",pleaseSelectRange:"\u8ACB\u9078\u64C7\u61C9\u7528\u7BC4\u570D",selectDataRange:"\u9EDE\u64CA\u9078\u64C7\u6578\u64DA\u7BC4\u570D",selectCell:"\u9078\u64C7\u5132\u5B58\u683C",pleaseSelectCell:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C",pleaseSelectADate:"\u8ACB\u9078\u64C7\u65E5\u671F",pleaseEnterInteger:"\u8ACB\u8F38\u5165\u4E00\u500B\u4ECB\u65BC1\u548C1000\u4E4B\u9593\u7684\u6574\u6578",onlySingleCell:"\u53EA\u80FD\u5C0D\u55AE\u500B\u5132\u5B58\u683C\u9032\u884C\u5F15\u7528",conditionValueCanOnly:"\u689D\u4EF6\u503C\u53EA\u80FD\u662F\u6578\u4F4D\u6216\u8005\u55AE\u500B\u5132\u5B58\u683C",ruleTypeItem1:"\u57FA\u65BC\u5404\u81EA\u503C\u8A2D\u5B9A\u6240\u6709\u5132\u5B58\u683C\u7684\u683C\u5F0F",ruleTypeItem2:"\u53EA\u70BA\u5305\u542B\u4EE5\u4E0B\u5167\u5BB9\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem2_title:"\u53EA\u70BA\u6EFF\u8DB3\u4EE5\u4E0B\u689D\u4EF6\u7684\u5132\u5B58\u683C",ruleTypeItem3:"\u50C5\u5C0D\u6392\u540D\u9760\u524D\u6216\u9760\u5F8C\u7684\u6578\u503C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem3_title:"\u70BA\u4EE5\u4E0B\u6392\u540D\u5167\u7684\u503C",ruleTypeItem4:"\u50C5\u5C0D\u9AD8\u65BC\u6216\u4F4E\u65BC\u5E73\u5747\u503C\u7684\u6578\u503C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem4_title:"\u70BA\u6EFF\u8DB3\u4EE5\u4E0B\u689D\u4EF6\u7684\u503C",ruleTypeItem5:"\u50C5\u5C0D\u552F\u4E00\u503C\u6216\u91CD\u8907\u503C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem6:"\u4F7F\u7528\u516C\u5F0F\u78BA\u5B9A\u8981\u8A2D\u7F6E\u683C\u5F0F\u7684\u55AE\u5143\u683C",formula:"\u516C\u5F0F",textColor:"\u6587\u5B57\u984F\u8272",cellColor:"\u5132\u5B58\u683C\u984F\u8272",confirm:"\u78BA\u5B9A",confirmColor:"\u78BA\u5B9A\u984F\u8272",cancel:"\u53D6\u6D88",close:"\u95DC\u9589",clearColorSelect:"\u6E05\u9664\u984F\u8272\u9078\u64C7",sheet:"\u9336",currentSheet:"\u7576\u524D\u5DE5\u4F5C\u8868",dataBar:"\u6578\u64DA\u689D",dataBarColor:"\u6578\u64DA\u689D\u984F\u8272",gradientDataBar_1:"\u85CD-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_2:"\u7DA0-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_3:"\u7D05-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_4:"\u67F3\u4E01-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_5:"\u6DFA\u85CD-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_6:"\u7D2B-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",solidColorDataBar_1:"\u85CD\u8272\u6578\u64DA\u689D",solidColorDataBar_2:"\u7DA0\u8272\u6578\u64DA\u689D",solidColorDataBar_3:"\u7D05\u8272\u6578\u64DA\u689D",solidColorDataBar_4:"\u6A59\u8272\u6578\u64DA\u689D",solidColorDataBar_5:"\u6DFA\u85CD\u8272\u6578\u64DA\u689D",solidColorDataBar_6:"\u7D2B\u8272\u6578\u64DA\u689D",colorGradation:"\u8272\u968E",colorGradation_1:"\u7DA0-\u9EC3-\u7D05\u8272\u968E",colorGradation_2:"\u7D05-\u9EC3-\u7DA0\u8272\u968E",colorGradation_3:"\u7DA0-\u767D-\u7D05\u8272\u968E",colorGradation_4:"\u7D05-\u767D-\u7DA0\u8272\u968E",colorGradation_5:"\u85CD-\u767D-\u7D05\u8272\u968E",colorGradation_6:"\u7D05-\u767D-\u85CD\u8272\u968E",colorGradation_7:"\u767D-\u7D05\u8272\u968E",colorGradation_8:"\u7D05-\u767D\u8272\u968E",colorGradation_9:"\u7DA0-\u767D\u8272\u968E",colorGradation_10:"\u767D-\u7DA0\u8272\u968E",colorGradation_11:"\u7DA0-\u9EC3\u8272\u968E",colorGradation_12:"\u9EC3-\u7DA0\u8272\u968E",icons:"\u5716\u6A19\u96C6",pleaseSelectIcon:"\u8ACB\u9EDE\u64CA\u9078\u64C7\u4E00\u7D44\u5716\u6A19:",cellValue:"\u5132\u5B58\u683C\u503C",specificText:"\u7279\u5B9A\u6587\u5B57",occurrence:"\u767C\u751F\u65E5\u671F",greaterThan:"\u5927\u65BC",lessThan:"\u5C0F\u65BC",between:"\u4ECB\u65BC",equal:"\u7B49\u65BC",in:"\u548C",to:"\u5230",between2:"\u4E4B\u9593",contain:"\u5305\u542B",textContains:"\u6587\u5B57\u5305\u542B",duplicateValue:"\u91CD\u8907\u503C",uniqueValue:"\u552F\u4E00\u503C",top:"\u524D",top10:"\u524D10\u9805",top10_percent:"\u524D10%",last:"\u5F8C",last10:"\u5F8C10\u9805",last10_percent:"\u5F8C10%",oneself:"\u500B",above:"\u9AD8\u65BC",aboveAverage:"\u9AD8\u65BC\u5E73\u5747\u503C",below:"\u4F4E\u65BC",belowAverage:"\u4F4E\u65BC\u5E73\u5747\u503C",all:"\u5168\u90E8",yesterday:"\u6628\u5929",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",lastWeek:"\u4E0A\u5468",thisWeek:"\u672C\u5468",lastMonth:"\u4E0A\u6708",thisMonth:"\u672C\u6708",lastYear:"\u53BB\u5E74",thisYear:"\u672C\u5E74",last7days:"\u6700\u8FD17\u5929",last30days:"\u6700\u8FD130\u5929",next7days:"\u672A\u4F867\u5929",next30days:"\u672A\u4F8630\u5929",next60days:"\u672A\u4F8660\u5929",chooseRuleType:"\u9078\u64C7\u898F\u5247\u985E\u578B",editRuleDescription:"\u7DE8\u8F2F\u898F\u5247\u8AAA\u660E",newFormatRule:"\u65B0\u5EFA\u683C\u5F0F\u898F\u5247",editFormatRule:"\u7DE8\u8F2F\u683C\u5F0F\u898F\u5247",formatStyle:"\u683C\u5F0F\u6A23\u5F0F",fillType:"\u586B\u5145\u985E\u578B",color:"\u984F\u8272",twocolor:"\u96D9\u8272",tricolor:"\u4E09\u8272",multicolor:"\u5F69\u8272",grayColor:"\u7070\u8272",gradient:"\u6F38\u8B8A",solid:"\u5BE6\u5FC3",maxValue:"\u6700\u5927\u503C",medianValue:"\u4E2D\u9593\u503C",minValue:"\u6700\u5C0F\u503C",direction:"\u65B9\u5411",threeWayArrow:"\u4E09\u5411\u7BAD\u982D",fourWayArrow:"\u56DB\u5411\u7BAD\u982D",fiveWayArrow:"\u4E94\u5411\u7BAD\u982D",threeTriangles:"3\u500B\u4E09\u89D2\u5F62",shape:"\u5F62\u72C0",threeColorTrafficLight:"\u4E09\u8272\u4EA4\u901A\u71C8",fourColorTrafficLight:"\u56DB\u8272\u4EA4\u901A\u71C8",threeSigns:"\u4E09\u6A19\u8A8C",greenRedBlackGradient:"\u7DA0-\u7D05-\u9ED1\u6F38\u8B8A",rimless:"\u7121\u908A\u6846",bordered:"\u6709\u908A\u6846",mark:"\u6A19\u8A18",threeSymbols:"\u4E09\u500B\u7B26\u865F",tricolorFlag:"\u4E09\u8272\u65D7",circled:"\u6709\u5713\u5708",noCircle:"\u7121\u5713\u5708",grade:"\u7B49\u7D1A",grade4:"\u56DB\u7B49\u7D1A",grade5:"\u4E94\u7B49\u7D1A",threeStars:"3\u500B\u661F\u5F62",fiveQuadrantDiagram:"\u4E94\u8C61\u9650\u5716",fiveBoxes:"5\u500B\u6846"},insertLink:{linkText:"\u6587\u5B57",linkType:"\u9023\u7D50\u985E\u578B",external:"\u5916\u90E8\u9023\u7D50",internal:"\u5185\u90E8\u9023\u7D50",linkAddress:"\u9023\u7D50\u5730\u5740",linkSheet:"\u5DE5\u4F5C\u8868",linkCell:"\u5132\u5B58\u683C\u5F15\u7528",linkTooltip:"\u63D0\u793A",placeholder1:"\u8ACB\u8F38\u5165\u7DB2\u9801\u9023\u7D50\u4F4D\u5740",placeholder2:"\u8ACB\u8F38\u5165\u8981\u5F15\u7528\u7684\u5132\u5B58\u683C,\u4F8BA1",placeholder3:"\u8ACB\u8F38\u5165\u63D0\u793A\u5167\u5BB9",tooltipInfo1:"\u8ACB\u8F38\u5165\u6709\u6548\u7684\u9023\u7D50",tooltipInfo2:"\u8ACB\u8F38\u5165\u6B63\u78BA\u7684\u5132\u5B58\u683C\u5F15\u7528"},dataVerification:{cellRange:"\u5132\u5B58\u683C\u7BC4\u570D",selectCellRange:"\u9EDE\u64CA\u9078\u64C7\u5132\u5B58\u683C\u7BC4\u570D",selectCellRange2:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C\u7BC4\u570D",verificationCondition:"\u9A57\u8B49\u689D\u4EF6",allowMultiSelect:"\u662F\u5426\u5141\u8A31\u591A\u9078",dropdown:"\u4E0B\u62C9\u6E05\u55AE",checkbox:"\u6838\u53D6\u65B9\u584A",number:"\u6578\u4F4D",number_integer:"\u6578\u4F4D-\u6574\u6578",number_decimal:"\u6578\u4F4D-\u5C0F\u6578",text_content:"\u6587\u5B57-\u5167\u5BB9",text_length:"\u6587\u5B57-\u9577\u5EA6",date:"\u65E5\u671F",validity:"\u6709\u6548\u6027",placeholder1:"\u8ACB\u8F38\u5165\u9078\u9805,\u4EE5\u82F1\u6587\u9017\u865F\u5206\u9694,\u59821,2,3,4,5",placeholder2:"\u8ACB\u8F38\u5165\u5167\u5BB9",placeholder3:"\u6578\u503C,\u598210",placeholder4:"\u8ACB\u8F38\u5165\u6307\u5B9A\u7684\u6587\u5B57",placeholder5:"\u8ACB\u8F38\u5165\u9078\u4E2D\u5132\u5B58\u683C\u6642\u986F\u793A\u7684\u63D0\u793A\u8A9E",selected:"\u9078\u64C7\u6642",notSelected:"\u672A\u9078\u64C7",between:"\u4ECB\u65BC",notBetween:"\u4E0D\u4ECB\u65BC",equal:"\u7B49\u65BC",notEqualTo:"\u4E0D\u7B49\u65BC",moreThanThe:"\u5927\u65BC",lessThan:"\u5C0F\u65BC",greaterOrEqualTo:"\u5927\u65BC\u7B49\u65BC",lessThanOrEqualTo:"\u5C0F\u65BC\u7B49\u65BC",include:"\u5305\u62EC",exclude:"\u4E0D\u5305\u62EC",earlierThan:"\u65E9\u65BC",noEarlierThan:"\u4E0D\u65E9\u65BC",laterThan:"\u665A\u65BC",noLaterThan:"\u4E0D\u665A\u65BC",identificationNumber:"\u8EAB\u4EFD\u8B49\u865F\u78BC",phoneNumber:"\u624B\u6A5F\u865F",remote:"\u81EA\u52D5\u9060\u7A0B\u7372\u53D6\u9078\u9805",prohibitInput:"\u8F38\u5165\u6578\u64DA\u7121\u6548\u6642\u7981\u6B62\u8F38\u5165",hintShow:"\u9078\u4E2D\u5132\u5B58\u683C\u6642\u986F\u793A\u63D0\u793A\u8A9E",deleteVerification:"\u5220\u9664\u9A57\u8B49",tooltipInfo1:"\u4E0B\u62C9\u6E05\u55AE\u9078\u9805\u4E0D\u53EF\u70BA\u7A7A",tooltipInfo2:"\u6838\u53D6\u65B9\u584A\u5167\u5BB9\u4E0D\u53EF\u70BA\u7A7A",tooltipInfo3:"\u8F38\u5165\u7684\u503C\u4E0D\u662F\u6578\u503C\u985E\u578B",tooltipInfo4:"\u6578\u503C2\u4E0D\u80FD\u5C0F\u65BC\u6578\u503C1",tooltipInfo5:"\u6587\u5B57\u5167\u5BB9\u4E0D\u80FD\u70BA\u7A7A",tooltipInfo6:"\u8F38\u5165\u7684\u503C\u4E0D\u662F\u65E5\u671F\u985E\u578B",tooltipInfo7:"\u65E5\u671F2\u4E0D\u80FD\u5C0F\u65BC\u65E5\u671F1"},formula:{sum:"\u6C42\u548C",average:"\u5E73\u5747\u503C",count:"\u8A08\u6578",max:"\u6700\u5927\u503C",min:"\u6700\u5C0F\u503C",ifGenerate:"if\u516C\u5F0F\u751F\u6210\u5668",find:"\u66F4\u591A\u51FD\u6578",tipNotBelongToIf:"\u8A72\u5132\u5B58\u683C\u51FD\u6578\u4E0D\u5C6C\u65BCif\u516C\u5F0F!",tipSelectCell:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C\u63D2\u5165\u51FD\u6578",ifGenCompareValueTitle:"\u6BD4\u8F83\u503C",ifGenSelectCellTitle:"\u9EDE\u64CA\u9078\u64C7\u5132\u5B58\u683C",ifGenRangeTitle:"\u7BC4\u570D",ifGenRangeTo:"\u81F3",ifGenRangeEvaluate:"\u7BC4\u570D\u8A55\u4F30",ifGenSelectRangeTitle:"\u9EDE\u64CA\u9078\u64C7\u7BC4\u570D",ifGenCutWay:"\u5283\u5206\u7BA1\u9053",ifGenCutSame:"\u5283\u5206\u503C\u76F8\u540C",ifGenCutNpiece:"\u5283\u5206\u4E3AN\u4EFD",ifGenCutCustom:"\u81EA\u5B9A\u7FA9\u8F38\u5165",ifGenCutConfirm:"\u751F\u6210",ifGenTipSelectCell:"\u9078\u64C7\u5132\u5B58\u683C",ifGenTipSelectCellPlace:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C",ifGenTipSelectRange:"\u9078\u64C7\u55AE\u7BC4\u570D",ifGenTipSelectRangePlace:"\u8ACB\u9078\u64C7\u7BC4\u570D",ifGenTipNotNullValue:"\u6BD4\u8F03\u503C\u4E0D\u80FD\u70BA\u7A7A!",ifGenTipLableTitile:"\u6A19\u7C64",ifGenTipRangeNotforNull:"\u7BC4\u570D\u4E0D\u80FD\u70BA\u7A7A!",ifGenTipCutValueNotforNull:"\u5283\u5206\u503C\u4E0D\u80FD\u70BA\u7A7A\uFF01",ifGenTipNotGenCondition:"\u6C92\u6709\u751F\u6210\u53EF\u7528\u7684\u689D\u4EF6\uFF01"},formulaMore:{valueTitle:"\u503C",tipSelectDataRange:"\u9078\u53D6\u6578\u64DA\u7BC4\u570D",tipDataRangeTile:"\u6578\u64DA\u7BC4\u570D",findFunctionTitle:"\u67E5\u627E\u51FD\u6578",tipInputFunctionName:"\u8ACB\u8F38\u5165\u60A8\u8981\u67E5\u627E\u7684\u51FD\u6578\u540D\u7A31\u6216\u51FD\u6578\u529F\u80FD\u7684\u7C21\u8981\u63CF\u8FF0",Array:"\u6578\u7D44",Database:"\u8CC7\u6599\u4F86\u6E90",Date:"\u65E5\u671F",Engineering:"\u5DE5\u7A0B\u8A08\u7B97",Filter:"\u7BE9\u6AA2\u7A0B\u5F0F",Financial:"\u8CA1\u52D9",luckysheet:"Luckysheet\u5167\u5BD8",other:"\u5176\u5B83",Logical:"\u908F\u8F2F",Lookup:"\u67E5\u627E",Math:"\u6578\u5B78",Operator:"\u904B\u7B97\u5B50",Parser:"\u8F49\u63DB\u5DE5\u5177",Statistical:"\u7D71\u8A08",Text:"\u6587\u5B57",dataMining:"\u8CC7\u6599\u6316\u6398",selectFunctionTitle:"\u9078\u64C7\u51FD\u6578",calculationResult:"\u8A08\u7B97\u7D50\u679C",tipSuccessText:"\u6210\u529F",tipParamErrorText:"\u53C3\u6578\u985E\u578B\u932F\u8AA4",helpClose:"\u95DC\u9589",helpCollapse:"\u6536\u8D77",helpExample:"\u793A\u4F8B",helpAbstract:"\u6458\u8981",execfunctionError:'\u63D0\u793A", "\u516C\u5F0F\u5B58\u5728\u932F\u8AA4',execfunctionSelfError:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5132\u5B58\u683C",execfunctionSelfErrorResult:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5132\u5B58\u683C,\u6703\u5C0E\u81F4\u8A08\u7B97\u7D50\u679C\u4E0D\u6E96\u78BA",allowRepeatText:"\u53EF\u91CD\u8907",allowOptionText:"\u53EF\u9078",selectCategory:"\u6216\u9078\u64C7\u985E\u5225"},drag:{noMerge:"\u7121\u6CD5\u5C0D\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C",affectPivot:"\u7121\u6CD5\u5C0D\u6240\u9078\u5132\u5B58\u683C\u9032\u884C\u6B64\u66F4\u6539,\u56E0\u70BA\u5B83\u6703\u5F71\u97FF\u6578\u64DA\u900F\u8996\u9336\uFF01",noMulti:"\u7121\u6CD5\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF",noPaste:"\u7121\u6CD5\u5728\u6B64\u8655\u7C98\u8CBC\u6B64\u5167\u5BB9,\u8ACB\u9078\u64C7\u7C98\u8CBC\u5340\u57DF\u7684\u4E00\u500B\u5132\u5B58\u683C,\u7136\u5F8C\u518D\u6B21\u5617\u8A66\u7C98\u8CBC",noPartMerge:"\u7121\u6CD5\u5C0D\u90E8\u5206\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C",inputCorrect:"\u8ACB\u8F38\u5165\u6B63\u78BA\u7684\u6578\u503C",notLessOne:"\u884C\u5217\u6578\u4E0D\u80FD\u5C0F\u65BC1",offsetColumnLessZero:"\u504F\u79FB\u5217\u4E0D\u80FD\u70BA\u8CA0\u6578\uFF01",pasteMustKeybordAlert:"Copy and paste in the Sheet: Ctrl + C to copy, Ctrl + V to paste, Ctrl + X to cut",pasteMustKeybordAlertHTMLTitle:"Copy and paste in the Sheet",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;to copy<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;to paste<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;to cut"},pivotTable:{title:"\u6578\u64DA\u900F\u8996\u9336",closePannel:"\u95DC\u9589",editRange:"\u7DE8\u8F2F\u7BC4\u570D",tipPivotFieldSelected:"\u9078\u64C7\u9700\u8981\u6DFB\u52A0\u5230\u6578\u64DA\u900F\u8996\u9336\u7684\u6B04\u4F4D",tipClearSelectedField:"\u6E05\u9664\u6240\u6709\u5DF2\u9078\u6B04\u4F4D",btnClearSelectedField:"\u6E05\u9664",btnFilter:"\u7BE9\u9078",titleRow:"\u884C",titleColumn:"\u5217",titleValue:"\u6578\u503C",tipShowColumn:"\u7D71\u8A08\u6B04\u4F4D\u986F\u793A\u70BA\u5217",tipShowRow:"\u7D71\u8A08\u6B04\u4F4D\u986F\u793A\u70BA\u884C",titleSelectionDataRange:"\u9078\u53D6\u6578\u64DA\u7BC4\u570D",titleDataRange:"\u6578\u64DA\u7BC4\u570D",valueSum:"\u7E3D\u8A08",valueStatisticsSUM:"\u6C42\u548C",valueStatisticsCOUNT:"\u6578\u503C\u8A08\u6578",valueStatisticsCOUNTA:"\u8A08\u6578",valueStatisticsCOUNTUNIQUE:"\u53BB\u91CD\u8A08\u6578",valueStatisticsAVERAGE:"\u5E73\u5747\u503C",valueStatisticsMAX:"\u6700\u5927\u503C",valueStatisticsMIN:"\u6700\u5C0F\u503C",valueStatisticsMEDIAN:"\u4E2D\u4F4D\u6578",valueStatisticsPRODUCT:"\u4E58\u7A4D",valueStatisticsSTDEV:"\u6A19\u6E96\u5DEE",valueStatisticsSTDEVP:"\u6574\u9AD4\u6A19\u6E96\u5DEE",valueStatisticslet:"\u65B9\u5DEE",valueStatisticsVARP:"\u6574\u9AD4\u65B9\u5DEE",errorNotAllowEdit:"\u975E\u7DE8\u8F2F\u6A21\u5F0F\u4E0B\u7981\u6B62\u8A72\u64CD\u4F5C!",errorNotAllowMulti:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",errorSelectRange:"\u8ACB\u9078\u64C7\u65B0\u5EFA\u900F\u8996\u9336\u7684\u5340\u57DF",errorIsDamage:"\u6B64\u6578\u64DA\u900F\u8996\u9336\u7684\u6E90\u6578\u64DA\u5DF2\u640D\u58DE\uFF01",errorNotAllowPivotData:"\u4E0D\u53EF\u9078\u64C7\u6578\u64DA\u900F\u8996\u9336\u70BA\u6E90\u6578\u64DA!",errorSelectionRange:"\u9078\u64C7\u5931\u6557,\u8F38\u5165\u7BC4\u570D\u932F\u8AA4\uFF01",errorIncreaseRange:"\u8ACB\u64F4\u5927\u9078\u64C7\u7684\u6578\u64DA\u7BC4\u570D!",titleAddColumn:"\u6DFB\u52A0\u5217\u5230\u6578\u64DA\u900F\u8996\u9336",titleMoveColumn:"\u79FB\u52D5\u8A72\u5217\u5230\u4E0B\u65B9\u767D\u6846",titleClearColumnFilter:"\u6E05\u9664\u8A72\u5217\u7684\u7BE9\u9078\u689D\u4EF6",titleFilterColumn:"\u7BE9\u9078\u8A72\u5217",titleSort:"\u6392\u5E8F",titleNoSort:"\u7121\u6392\u5E8F",titleSortAsc:"\u6607\u51AA",titleSortDesc:"\u964D\u5E8F",titleSortBy:"\u6392\u5E8F\u4F9D\u64DA",titleShowSum:"\u986F\u793A\u7E3D\u8A08",titleStasticTrue:"\u662F",titleStasticFalse:"\u5426"},dropCell:{copyCell:"\u8907\u88FD\u5132\u5B58\u683C",sequence:"\u586B\u5145\u5E8F\u5217",onlyFormat:"\u50C5\u586B\u5145\u683C\u5F0F",noFormat:"\u4E0D\u5E36\u683C\u5F0F\u586B\u5145",day:"\u4EE5\u5929\u6578\u586B\u5145",workDay:"\u4EE5\u5DE5\u4F5C\u65E5\u586B\u5145",month:"\u4EE5\u6708\u586B\u5145",year:"\u4EE5\u5E74\u586B\u5145",chineseNumber:"\u4EE5\u4E2D\u6587\u5C0F\u5BEB\u6578\u4F4D\u586B\u5145"},imageCtrl:{borderTile:"\u5716\u7247\u908A\u6846\u984F\u8272\u9078\u64C7",borderCur:"\u7576\u524D\u984F\u8272"},protection:{protectiontTitle:"\u4FDD\u8B77\u5DE5\u4F5C\u8868",enterPassword:"\u8ACB\u8F38\u5165\u5BC6\u78BC\uFF08\u53EF\u7559\u7A7A\uFF09",enterHint:"\u60A8\u8A66\u5716\u66F4\u6539\u7684\u5132\u5B58\u683C\u6216\u5716\u8868\u4F4D\u65BC\u53D7\u4FDD\u8B77\u7684\u5DE5\u4F5C\u8868\u4E2D\u3002\u82E5\u8981\u66F4\u6539,\u8ACB\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u8B77\u3002\u60A8\u53EF\u80FD\u9700\u8981\u8F38\u5165\u5BC6\u78BC",swichProtectionTip:"\u4FDD\u8B77\u5DE5\u4F5C\u8868\u53CA\u9396\u5B9A\u7684\u5132\u5B58\u683C\u5167\u5BB9",authorityTitle:"\u5141\u8A31\u6B64\u5DE5\u4F5C\u8868\u7684\u7528\u6236\u9032\u884C:",selectLockedCells:"\u5B9A\u9396\u5B9A\u5132\u5B58\u683C",selectunLockedCells:"\u9078\u5B9A\u89E3\u9664\u9396\u5B9A\u7684\u5132\u5B58\u683C",formatCells:"\u8A2D\u5B9A\u5132\u5B58\u683C\u683C\u5F0F",formatColumns:"\u8A2D\u5B9A\u5217\u683C\u5F0F",formatRows:"\u8A2D\u5B9A\u884C\u683C\u5F0F",insertColumns:"\u63D2\u5165\u5217",insertRows:"\u63D2\u5165\u884C",insertHyperlinks:"\u63D2\u5165\u8D85\u9023\u7D50",deleteColumns:"\u5220\u9664\u5217",deleteRows:"\u5220\u9664\u884C",sort:"\u6392\u5E8F",filter:"\u4F7F\u7528\u81EA\u52D5\u7BE9\u9078",usePivotTablereports:"\u4F7F\u7528\u6578\u64DA\u900F\u8996\u9336\u548C\u5831\u8868",editObjects:"\u7DE8\u8F2F\u5C0D\u8C61",editScenarios:"\u7DE8\u8F2F\u65B9\u6848",allowRangeTitle:"\u5141\u8A31\u7528\u6236\u7DE8\u8F2F\u5340\u57DF",allowRangeAdd:"\u65B0\u5EFA...",allowRangeAddTitle:"\u6A19\u984C",allowRangeAddSqrf:"\u5F15\u7528\u5132\u5B58\u683C",selectCellRange:"\u9EDE\u64CA\u9078\u64C7\u5132\u5B58\u683C\u7BC4\u570D",selectCellRangeHolder:"\u8ACB\u8F38\u5165\u5132\u5B58\u683C\u7BC4\u570D",allowRangeAddTitlePassword:"\u5BC6\u78BC",allowRangeAddTitleHint:"\u63D0\u793A",allowRangeAddTitleHintTitle:"\u8A2D\u7F6E\u5BC6\u78BC\u5F8C,\u63D0\u793A\u7528\u6236\u8F38\u5165\u5BC6\u78BC\uFF08\u53EF\u7559\u7A7A\uFF09",allowRangeAddtitleDefault:"\u8ACB\u8F38\u5165\u5340\u57DF\u540D\u7A31",rangeItemDblclick:"\u6309\u5169\u4E0B\u9032\u884C\u7DE8\u8F2F",rangeItemHasPassword:"\u5DF2\u8A2D\u7F6E\u5BC6\u78BC",rangeItemErrorTitleNull:"\u6A19\u984C\u4E0D\u80FD\u70BA\u7A7A",rangeItemErrorRangeNull:"\u5132\u5B58\u683C\u7BC4\u570D\u4E0D\u80FD\u70BA\u7A7A",rangeItemErrorRange:"\u5132\u5B58\u683C\u7BC4\u570D\u683C\u5F0F\u932F\u8AA4",validationTitle:"\u9A57\u8B49\u63D0\u793A",validationTips:"\u9700\u8981\u8F38\u5165\u5BC6\u78BC\u4F86\u64A4\u92B7\u5DE5\u4F5C\u8868\u7684\u4FDD\u8B77",validationInputHint:"\u8ACB\u8F38\u5165\u5BC6\u78BC",checkPasswordNullalert:"\u5BC6\u78BC\u4E0D\u80FD\u70BA\u7A7A!",checkPasswordWrongalert:"\u5BC6\u78BC\u932F\u8AA4,\u8ACB\u91CD\u8A66\uFF01",checkPasswordSucceedalert:"\u89E3\u9396\u6210\u529F,\u53EF\u4EE5\u7DE8\u8F2F\u8A72\u5340\u57DF!",defaultRangeHintText:"\u8A72\u5132\u5B58\u683C\u6B63\u5728\u53D7\u5BC6\u78BC\u4FDD\u8B77",defaultSheetHintText:"\u8A72\u5132\u5B58\u683C\u6216\u5716\u8868\u4F4D\u65BC\u53D7\u4FDD\u8B77\u7684\u5DE5\u4F5C\u8868\u4E2D,\u82E5\u8981\u9032\u884C\u66F4\u6539,\u8ACB\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u8B77,\u60A8\u53EF\u80FD\u9700\u8981\u8F38\u5165\u5BC6\u78BC\u3002"},cellFormat:{cellFormatTitle:"\u8A2D\u5B9A\u5132\u5B58\u683C\u683C\u5F0F",protection:"\u4FDD\u8B77",locked:"\u9396\u5B9A\u5132\u5B58\u683C",hidden:"\u96B1\u85CF\u516C\u5F0F",protectionTips:"\u53EA\u6709\u4FDD\u8B77\u5DE5\u4F5C\u8868\u529F\u80FD\uFF08\u5728\u529F\u80FD\u8868\u5217\u9EDE\u64CA\u4FDD\u8B77\u5DE5\u4F5C\u8868\u6309\u9215\u9032\u884C\u8A2D\u5B9A\uFF09\u958B\u555F\u5F8C,\u9396\u5B9A\u5132\u5B58\u683C\u6216\u96B1\u85CF\u516C\u5F0F\u624D\u80FD\u751F\u6548",tipsPart:"\u90E8\u5206\u9078\u4E2D",tipsAll:"\u5168\u90E8\u9078\u4E2D",selectionIsNullAlert:"\u8ACB\u9078\u64C7\u4E00\u500B\u7BC4\u570D\uFF01",sheetDataIsNullAlert:"\u6578\u64DA\u70BA\u7A7A\u7121\u6CD5\u8A2D\u5B9A\uFF01"},print:{normalBtn:"\u5E38\u898F\u8996\u5716",layoutBtn:"\u9801\u9762\u4F48\u5C40",pageBtn:"\u5206\u9801\u9810\u89BD",menuItemPrint:"\u5217\u5370(Ctrl+P)",menuItemAreas:"\u5217\u5370\u5340\u57DF",menuItemRows:"\u5217\u5370\u6A19\u984C\u884C",menuItemColumns:"\u5217\u5370\u6A19\u984C\u5217"},edit:{typing:"\u6B63\u5728\u8F38\u5165"},websocket:{success:"WebSocket\u9023\u63A5\u6210\u529F",refresh:"WebSocket\u9023\u63A5\u767C\u751F\u932F\u8AA4,\u8ACB\u5237\u65B0\u9801\u9762\uFF01",wait:"WebSocket\u9023\u63A5\u767C\u751F\u932F\u8AA4,\u8ACB\u8010\u5FC3\u7B49\u5F85\uFF01",close:"WebSocket\u9023\u63A5\u95DC\u9589",contact:"\u670D\u52D9\u5668\u901A\u4FE1\u767C\u751F\u932F\u8AA4,\u8ACB\u5237\u65B0\u9801\u9762\u5F8C\u518D\u8A66,\u5982\u82E5\u4E0D\u884C\u8ACB\u806F\u7CFB\u7BA1\u7406\u54E1\uFF01",support:"\u7576\u524D\u700F\u89BD\u5668\u4E0D\u652F\u6301WebSocket"}}});function sp(){return op[h.lang]}var op,Q,bt=Ae(()=>{ru();au();iu();su();Ke();op={en:tu,zh:lu,es:nu,zh_tw:ou};Q=sp});function cu(){let e=Q().toolbar,a=Q().fontarray,t=Q().defaultFmt,l={undo:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.undo}"
id="luckysheet-icon-undo" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-undo iconfont luckysheet-iconfont-qianjin"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,redo:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.redo}"
id="luckysheet-icon-redo" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-redo iconfont luckysheet-iconfont-houtui"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,paintFormat:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.paintFormat}"
id="luckysheet-icon-paintformat" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img iconfont luckysheet-iconfont-geshishua"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,currencyFormat:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.currencyFormat}"
id="luckysheet-icon-currency" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img iconfont luckysheet-iconfont-jine"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,percentageFormat:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.percentageFormat}"
id="luckysheet-icon-percent" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img iconfont luckysheet-iconfont-baifenhao"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,numberDecrease:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.numberDecrease}"
id="luckysheet-icon-fmt-decimal-decrease" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block toolbar-decimal-icon"
style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-decimal-decrease iconfont luckysheet-iconfont-jianxiaoxiaoshuwei"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,numberIncrease:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.numberIncrease}"
id="luckysheet-icon-fmt-decimal-increase" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block toolbar-decimal-icon"
style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-decimal-increase iconfont luckysheet-iconfont-zengjiaxiaoshuwei"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,moreFormats:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.moreFormats}"
id="luckysheet-icon-fmt-other" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
${t[0].text}
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,font:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.font}" id="luckysheet-icon-font-family" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
${a[0]}
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,fontSize:`<div class="luckysheet-toolbar-select luckysheet-toolbar-zoom-combobox luckysheet-toolbar-combo-button luckysheet-inline-block"
data-tips="${e.fontSize}" id="luckysheet-icon-font-size" style="user-select: none;">
<div class="luckysheet-toolbar-combo-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-combo-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div aria-posinset="4" aria-setsize="7" class="luckysheet-inline-block luckysheet-toolbar-combo-button-caption"
style="user-select: none;">
<input aria-label="${e.fontSize}" class="luckysheet-toolbar-combo-button-input luckysheet-toolbar-textinput"
role="combobox" style="user-select: none;" tabindex="-1" type="text" value="10"
/>
</div>
<div class="luckysheet-toolbar-combo-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,bold:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.bold}"
id="luckysheet-icon-bold" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-bold iconfont luckysheet-iconfont-jiacu"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,italic:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.italic}"
id="luckysheet-icon-italic" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-italic iconfont luckysheet-iconfont-wenbenqingxie1"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,strikethrough:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.strikethrough}"
id="luckysheet-icon-strikethrough" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-strikethrough iconfont luckysheet-iconfont-wenbenshanchuxian"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,underline:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.underline}"
id="luckysheet-icon-underline" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-underline iconfont luckysheet-iconfont-wenbenxiahuaxian"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>`,textColor:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-text-color"
data-tips="${e.textColor}" id="luckysheet-icon-text-color" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-color-menu-button-indicator" style="border-bottom-color: rgb(0, 0, 0); user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div class="text-color-bar" style="background-color:${fe.defaultTextColor}"></div>
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color iconfont luckysheet-iconfont-wenbenyanse"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.chooseColor}..." id="luckysheet-icon-text-color-menu" role="button"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,fillColor:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-cell-color"
data-tips="${e.fillColor}" id="luckysheet-icon-cell-color" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-color-menu-button-indicator" style="border-bottom-color: rgb(255, 255, 255); user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div class="text-color-bar" style="background-color:${fe.defaultCellColor}"></div>
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color iconfont luckysheet-iconfont-tianchong"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.chooseColor}..." id="luckysheet-icon-cell-color-menu" role="button"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,border:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-border-all"
data-tips="${e.border}" id="luckysheet-icon-border-all" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-all iconfont luckysheet-iconfont-quanjiabiankuang"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.borderStyle}..." id="luckysheet-icon-border-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,mergeCell:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-merge-button"
data-tips="${e.mergeCell}" id="luckysheet-icon-merge-button" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-merge iconfont luckysheet-iconfont-hebing"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.chooseMergeType}..." id="luckysheet-icon-merge-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,horizontalAlignMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-align"
data-tips="${e.horizontalAlign}" id="luckysheet-icon-align" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-left iconfont luckysheet-iconfont-wenbenzuoduiqi"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.alignment}..." id="luckysheet-icon-align-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,verticalAlignMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-valign"
data-tips="${e.verticalAlign}" id="luckysheet-icon-valign" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-bottom iconfont luckysheet-iconfont-dibuduiqi"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.alignment}..." id="luckysheet-icon-valign-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,textWrapMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-textwrap"
data-tips="${e.textWrap}" id="luckysheet-icon-textwrap" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-clip iconfont luckysheet-iconfont-jieduan"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.textWrapMode}..." id="luckysheet-icon-textwrap-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,textRotateMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-rotation"
data-tips="${e.textRotate}" id="luckysheet-icon-rotation" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-wuxuanzhuang"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.textRotateMode}..." id="luckysheet-icon-rotation-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,image:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.insertImage}" id="luckysheet-insertImg-btn-title" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-tupian"
style="user-select: none;">
<input id="luckysheet-imgUpload" type="file" accept="image/*" style="display:none;"></input>
</div>
</div>
</div>
</div>
</div>
</div>`,link:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.insertLink}" id="luckysheet-insertLink-btn-title" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-lianjie"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,chart:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.chart}" id="luckysheet-chart-btn-title" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-tubiao"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,postil:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.postil}"
id="luckysheet-icon-postil" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon-img-container luckysheet-toolbar-menu-button-caption luckysheet-inline-block iconfont luckysheet-iconfont-zhushi"
style="user-select: none;">
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,pivotTable:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.pivotTable}" id="luckysheet-pivot-btn-title" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-shujutoushi"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,function:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-function"
data-tips="${e.autoSum}" id="luckysheet-icon-function" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont luckysheet-iconfont-jisuan"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
${e.sum}
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.moreFunction}..." id="luckysheet-icon-function-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,frozenMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-freezen-btn-horizontal"
data-tips="${e.freezeTopRow}" id="luckysheet-freezen-btn-horizontal" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-dongjie1"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
data-tips="${e.moreOptions}..." id="luckysheet-icon-freezen-menu" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,sortAndFilter:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.sortAndFilter}"
id="luckysheet-icon-autofilter" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont luckysheet-iconfont-shaixuan"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;margin-left: 0px;margin-right: 4px;">
</div>
</div>
</div>
</div>`,conditionalFormat:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.conditionalFormat}"
id="luckysheet-icon-conditionformat" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont luckysheet-iconfont-geshitiaojian"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;">
</div>
</div>
</div>
</div>`,dataVerification:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.dataVerification}" id="luckysheet-dataVerification-btn-title" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-shujuyanzheng"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,splitColumn:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.splitColumn}" id="luckysheet-splitColumn-btn-title" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-wenbenfenge"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,screenshot:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.screenshot}" id="luckysheet-chart-btn-screenshot" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-jieping"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,findAndReplace:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.findAndReplace}"
id="luckysheet-icon-seachmore" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont luckysheet-iconfont-sousuo"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;margin-left: 0px;margin-right: 4px;">
</div>
</div>
</div>
</div>`,protection:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
data-tips="${e.protection}" id="luckysheet-icon-protection" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-biaogesuoding"
style="user-select: none;">
</div>
</div>
</div>
</div>
</div>
</div>`,print:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.print}"
id="luckysheet-icon-print" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont luckysheet-iconfont-dayin"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige"
style="user-select: none;margin-left: 0px;margin-right: 4px;">
</div>
</div>
</div>
</div>`},n=fe.showtoolbar,o=fe.showtoolbarConfig,s=['<div class="luckysheet-toolbar-left-theme"></div>'];if(P(o)==="array"){if(!n)return"";let d=0;return o.forEach(function(f,m){if(f==="|"){let g=o[m-1];g!=="|"&&s.push(`<div id="toolbar-separator-${wa(g)}" class="luckysheet-toolbar-separator luckysheet-inline-block" style="user-select: none;"></div>`)}else s.push(l[f])}),s.join("")}let u=Rl.reduce(function(d,f){return f!=="|"&&(d[f]=!0),d},{});if(!n)for(let d in u)u[d]=!1;JSON.stringify(o)!=="{}"&&(o.hasOwnProperty("undoRedo")&&(u.undo=u.redo=o.undoRedo),Object.assign(u,o));for(let d=0;d<Rl.length;d++){let f=Rl[d];if(!u[f]&&f!=="|"){Rl[d+1]==="|"&&d++;continue}if(f==="|"){let m=Rl[d-1];m!=="|"&&s.push(`<div id="toolbar-separator-${wa(m)}" class="luckysheet-toolbar-separator luckysheet-inline-block" style="user-select: none;"></div>`)}else s.push(l[f])}return s.join("")}var Rl,Wo,Yo=Ae(()=>{bt();xr();dt();Rl=["undo","redo","paintFormat","|","currencyFormat","percentageFormat","numberDecrease","numberIncrease","moreFormats","|","font","|","fontSize","|","bold","italic","strikethrough","underline","textColor","|","fillColor","border","mergeCell","|","horizontalAlignMode","verticalAlignMode","textWrapMode","textRotateMode","|","image","link","chart","postil","pivotTable","|","function","frozenMode","sortAndFilter","conditionalFormat","dataVerification","splitColumn","screenshot","findAndReplace","protection","print"],Wo={undo:"#luckysheet-icon-undo",redo:"#luckysheet-icon-redo",paintFormat:["#luckysheet-icon-paintformat"],currencyFormat:"#luckysheet-icon-currency",percentageFormat:"#luckysheet-icon-percent",numberDecrease:"#luckysheet-icon-fmt-decimal-decrease",numberIncrease:"#luckysheet-icon-fmt-decimal-increase",moreFormats:"#luckysheet-icon-fmt-other",font:"#luckysheet-icon-font-family",fontSize:"#luckysheet-icon-font-size",bold:"#luckysheet-icon-bold",italic:"#luckysheet-icon-italic",strikethrough:"#luckysheet-icon-strikethrough",underline:"#luckysheet-icon-underline",textColor:["#luckysheet-icon-text-color","#luckysheet-icon-text-color-menu"],fillColor:["#luckysheet-icon-cell-color","#luckysheet-icon-cell-color-menu"],border:["#luckysheet-icon-border-all","#luckysheet-icon-border-menu"],mergeCell:["#luckysheet-icon-merge-button","#luckysheet-icon-merge-menu"],horizontalAlignMode:["#luckysheet-icon-align","#luckysheet-icon-align-menu"],verticalAlignMode:["#luckysheet-icon-valign","#luckysheet-icon-valign-menu"],textWrapMode:["#luckysheet-icon-textwrap","#luckysheet-icon-textwrap-menu"],textRotateMode:["#luckysheet-icon-rotation","#luckysheet-icon-rotation-menu"],image:"#luckysheet-insertImg-btn-title",link:"#luckysheet-insertLink-btn-title",chart:"#luckysheet-chart-btn-title",postil:"#luckysheet-icon-postil",pivotTable:["#luckysheet-pivot-btn-title"],function:["#luckysheet-icon-function","#luckysheet-icon-function-menu"],frozenMode:["#luckysheet-freezen-btn-horizontal","#luckysheet-icon-freezen-menu"],sortAndFilter:"#luckysheet-icon-autofilter",conditionalFormat:"#luckysheet-icon-conditionformat",dataVerification:"#luckysheet-dataVerification-btn-title",splitColumn:"#luckysheet-splitColumn-btn-title",screenshot:"#luckysheet-chart-btn-screenshot",findAndReplace:"#luckysheet-icon-seachmore",protection:"#luckysheet-icon-protection",print:"#luckysheet-icon-print"}});function fu(){let e=Q(),a=e.rightclick,t=e.toolbar,l=hp(),n=!0;!l.insertRow&&!l.insertColumn&&!l.deleteRow&&!l.deleteColumn&&!l.deleteCell&&(n=!1);let o=!0;!l.clear&&!l.matrix&&!l.sort&&!l.filter&&!l.chart&&!l.image&&!l.link&&!l.data&&!l.cellFormat&&(o=!1);let s=(l.customs||[]).map((d,f)=>`
<div data-index="${f}" class="luckysheetColsRowsHandleAdd_custom luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${d.title}
</div>
</div>`).join("");return`<div id="luckysheet-rightclick-menu" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel">
<div id="luckysheet-copy-btn" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel luckysheet-copy-btn" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" style="display:${l.copy?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.copy}</div>
</div>
<div id="luckysheetcopyfor" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.copyAs?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.copyAs}<span class="luckysheet-submenu-arrow iconfont luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
</div>
</div>
<div id="luckysheet-copy-paste" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.paste?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.paste}</div>
</div>
<div id="luckysheet-cols-rows-handleincell">
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${n?"block":"none"};"></div>
<div id="luckysheetColsRowsHandleAdd_row" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.insertRow?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.insert}${a.row}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
</div>
</div>
<div id="luckysheetColsRowsHandleAdd_column" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.insertColumn?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.insert}${a.column}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
</div>
</div>
<div id="luckysheet-delRows" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.deleteRow?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.deleteSelected}${a.row}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
</div>
</div>
<div id="luckysheet-delCols" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.deleteColumn?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.deleteSelected}${a.column}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
</div>
</div>
<!-- cell right click remove hide button
<div id="luckysheetColsRowsHandleHid" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.hide}<span class="luckysheet-submenu-arrow iconfont luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
</div>
</div>
-->
<div id="luckysheetCellsHandleDel" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.deleteCell?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.deleteCell}<span class="luckysheet-submenu-arrow iconfont luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
</div>
</div>
</div>
<div id="luckysheet-cols-rows-add">
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>
<div id="luckysheet-top-left-add-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.to}
<span class="luckysheet-cols-rows-shift-left">${a.left}</span>
${a.add}
<input type="text" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align:center;margin-left:5px;"/>
<span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
<div id="luckysheet-bottom-right-add-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.to}
<span class="luckysheet-cols-rows-shift-right">${a.right}</span>
${a.add}
<input type="text" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
<span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
<div id="luckysheet-del-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.deleteSelected}
<span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
<div id="luckysheet-hide-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.hideSelected}
<span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
<div id="luckysheet-show-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.showHide}
<span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
<div id="luckysheet-column-row-width-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
<span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${a.column}</span>
<span class="luckysheet-cols-rows-shift-size luckysheet-mousedown-cancel">${a.width}</span>
<input type="number" class="luckysheet-mousedown-cancel rcsize" min="0" max="255" placeholder="${a.number}" value="" style="width:50px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;">
px
</div>
</div>
</div>
<div id="luckysheet-cols-rows-shift">
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${l.sort?"block":"none"};"></div>
<div id="luckysheetorderbyasc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.sort?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.orderAZ}</div>
</div>
<div id="luckysheetorderbydesc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.sort?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.orderZA}</div>
</div>
</div>
<div id="luckysheet-cols-rows-data">
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${o?"block":"none"};"></div>
<div id="luckysheet-delete-text" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.clear?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.clearContent}</div>
</div>
<div id="luckysheetmatrix" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.matrix?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.matrix}<span class="luckysheet-submenu-arrow iconfont luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
</div>
</div>
<div id="luckysheetorderby" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.sort?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.sortSelection}</div>
</div>
<div id="luckysheetfilter" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.filter?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.filterSelection}</div>
</div>
<div id="luckysheetdatavisual" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.chart?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.chartGeneration}</div>
</div>
<div id="luckysheetInsertImage" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.image?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.insertImage}</div>
</div>
<div id="luckysheetInsertLink" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.link?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.insertLink}</div>
</div>
<div id="luckysheetDataVerification" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.data?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.dataVerification}</div>
</div>
<div id="luckysheetCellFormatRightClickMenu" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.cellFormat?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.cellFormat}</div>
</div>
${s}
</div>
</div>
<div id="luckysheetcopyfor_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div id="luckysheet-copy-json-head" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">Json ${a.firstLineTitle}</div>
</div>
<div id="luckysheet-copy-json-nohead" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">Json ${a.untitled}</div>
</div>
<div id="luckysheet-copy-array1" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.array1}</div>
</div>
<div id="luckysheet-copy-array2" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.array2}</div>
</div>
<div id="luckysheet-copy-arraymore-confirm" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
<span class="luckysheet-mousedown-cancel">${a.array3}</span>
<input type="number" id="luckysheet-copy-arraymore-row" min="1" class="luckysheet-mousedown-cancel" placeholder="${a.row}" style="width:40px;height:20px;box-sizing:border-box;text-align: center;"/>
\xD7
<input type="number" id="luckysheet-copy-arraymore-col" min="1" class="luckysheet-mousedown-cancel" placeholder="${a.column}" style="width:40px;height:20px;box-sizing:border-box;text-align: center;"/>
</div>
</div>
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>
<div id="luckysheet-copy-diagonal" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.diagonal}</div>
</div>
<div id="luckysheet-copy-antidiagonal" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.antiDiagonal}</div>
</div>
<div id="luckysheet-copy-diagonaloffset" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.diagonalOffset}
<input type="number" id="luckysheet-copy-diagonaloffset-value" class="luckysheet-mousedown-cancel" placeholder="${a.offset}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
${a.column}
</div>
</div>
<div id="luckysheet-copy-boolvalue" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.boolean}</div>
</div>
</div>
<!-- Revision: modeled on google sheet
<div id="luckysheetColsRowsHandleAdd_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.to}${a.top}${a.add}
<input type="text" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
<span class="luckysheet-mousedown-cancel">${a.row}</span>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.to}${a.bottom}${a.add}
<input type="text" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
<span class="luckysheet-mousedown-cancel">${a.row}</span>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.to}${a.left}${a.add}
<input type="text" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
<span class="luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.to}${a.right}${a.add}
<input type="text" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
<span class="luckysheet-mousedown-cancel">${a.column}</span>
</div>
</div>
</div>
-->
<!-- delete row or column
<div id="luckysheetColsRowsHandleDel_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div id="luckysheet-delRows" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.deleteSelected}${a.row}
</div>
</div>
<div id="luckysheet-delCols" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.deleteSelected}${a.column}
</div>
</div>
</div>
-->
<!--
<div id="luckysheetColsRowsHandleHid_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div id="luckysheet-hidRows" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.hideSelected}${a.row}
</div>
</div>
<div id="luckysheet-showHidRows" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.showHide}${a.row}
</div>
</div>
<div id="luckysheet-hidCols" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.hideSelected}${a.column}
</div>
</div>
<div id="luckysheet-showHidCols" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.showHide}${a.column}
</div>
</div>
</div>
-->
<div id="luckysheetCellsHandleDel_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div id="luckysheet-delCellsMoveLeft" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.moveLeft}
</div>
</div>
<div id="luckysheet-delCellsMoveUp" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.moveUp}
</div>
</div>
</div>
<div id="luckysheetmatrix_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.flip}
<button id="luckysheet-matrix-turn-up" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.upAndDown}</button>
<button id="luckysheet-matrix-turn-left" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.leftAndRight}</button>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.flip}
<button id="luckysheet-matrix-turn-cw" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.clockwise}</button>
<button id="luckysheet-matrix-turn-anticw" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.counterclockwise}</button>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div id="luckysheet-matrix-turn-trans" class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.transpose}</div>
</div>
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>
<div id="luckysheet-matrix-cal-confirm" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
<div class="luckysheet-mousedown-cancel">${a.matrixCalculation}</div>
<div class="luckysheet-mousedown-cancel">
<select id="luckysheet-matrix-cal-type" class="luckysheet-mousedown-cancel" style="height:20px;">
<option value="plus">${a.plus}</option>
<option value="minus">${a.minus}</option>
<option value="multiply">${a.multiply}</option>
<option value="divided">${a.divided}</option>
<option value="power">${a.power}</option>
<option value="root">${a.root}</option>
<option value="log">${a.log}</option>
</select>
<input type="number" id="luckysheet-matrix-cal-value" class="luckysheet-mousedown-cancel" placeholder="${a.number}" value="2" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
</div>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.delete0}
<button id="luckysheet-matrix-delezero-row" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.byRow}</button>
<button id="luckysheet-matrix-delezero-column" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.byCol}</button>
</div>
</div>
<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${a.removeDuplicate}
<button id="luckysheet-matrix-delerpt-row" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.byRow}</button>
<button id="luckysheet-matrix-delerpt-column" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${a.byCol}</button>
</div>
</div>
</div>`}function xu(){let e=Q().sheetconfig,a=dp();if(Object.values(a).every(o=>!o))return $("#luckysheet-sheet-container-c").addClass("luckysheet-sheet-container-menu-hide"),"";let t=!0,l=!0;return!a.delete&&!a.copy&&!a.rename&&!a.color&&(t=!1,a.hide||(l=!1)),a.hide||(t=!1),a.move||(l=!1),`<div id="luckysheet-rightclick-sheet-menu" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel">
<div id="luckysheetsheetconfigdelete" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.delete?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.delete}</div>
</div>
<div id="luckysheetsheetconfigcopy" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.copy?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.copy}</div>
</div>
<div id="luckysheetsheetconfigrename" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.rename?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.rename}</div>
</div>
<div id="luckysheetsheetconfigcolor" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${a.color?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
${e.changeColor} <span class="luckysheet-submenu-arrow iconfont luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
</div>
</div>
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${t?"block":"none"};"></div>
<div id="luckysheetsheetconfighide" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.hide?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.hide}</div>
</div>
<div id="luckysheetsheetconfigshow" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.hide?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.unhide}</div>
</div>
<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${l?"block":"none"};"></div>
<div id="luckysheetsheetconfigmoveleft" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.move?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.moveLeft}</div>
</div>
<div id="luckysheetsheetconfigmoveright" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${a.move?"block":"none"};">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.moveRight}</div>
</div>
</div>
<div id="luckysheetsheetconfigcolor_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
<div id="luckysheetsheetconfigcolorreset" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
<div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.resetColor}</div>
</div>
<div class="luckysheet-mousedown-cancel">
<div class="luckysheet-mousedown-cancel">
<input type="text" id="luckysheetsheetconfigcolorur" />
</div>
</div>
</div>`}function Hi(){let a=Q().filter;return`<div class="luckysheet-cols-menu luckysheet-mousedown-cancel luckysheet-filter-menu" id="luckysheet-\${menuid}-menu"><div id="luckysheet-\${menuid}-orderby-asc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.sortByAsc}</div></div><div id="luckysheet-\${menuid}-orderby-desc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><div style="width:205px;" class="luckysheet-mousedown-cancel">${a.sortByDesc}</div></div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div><div id="luckysheet-\${menuid}-orderby-color" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="position: relative;">${a.filterByColor}<span class="luckysheet-submenu-arrow iconfont luckysheet-iconfont-youjiantou" style="user-select: none;right: 0;"></span></div></div><div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-bycondition" style="padding-top:0px;padding-bottom:0px;"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><i class="fa fa-caret-right" aria-hidden="true"></i> ${a.filterByCondition}</div></div> <div class="luckysheet-\${menuid}-bycondition" style="display:none;"><div class="luckysheet-flat-menu-button luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-selected"><span class="luckysheet-mousedown-cancel" data-value="null" data-type="0">${a.filiterInputNone}</span><div class="luckysheet-mousedown-cancel"><i class="fa fa-sort" aria-hidden="true"></i></div></div><div class="luckysheet-\${menuid}-selected-input"><input type="text" placeholder="${a.filiterInputTip}" class="luckysheet-mousedown-cancel" /></div><div class="luckysheet-\${menuid}-selected-input luckysheet-\${menuid}-selected-input2"><span>\u4ECE</span><input type="text" placeholder="${a.filiterRangeStartTip}" class="luckysheet-mousedown-cancel" /><span>\u5230</span><input type="text" placeholder="${a.filiterRangeEndTip}" class="luckysheet-mousedown-cancel" /></div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-byvalue" style="padding-top:0px;padding-bottom:0px;"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><i class="fa fa-caret-right" aria-hidden="true"></i> ${a.filterByValues}</div></div> <div class="luckysheet-\${menuid}-byvalue"><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel luckysheet-mousedown-\${menuid}-byvalue-btn"><span id="luckysheet-\${menuid}-byvalue-btn-all" class="luckysheet-mousedown-cancel">${a.filterValueByAllBtn}</span> - <span id="luckysheet-\${menuid}-byvalue-btn-clear" class="luckysheet-mousedown-cancel">${a.filterValueByClearBtn}</span> - <span id="luckysheet-\${menuid}-byvalue-btn-contra" class="luckysheet-mousedown-cancel">${a.filterValueByInverseBtn}</span> <div><i class="fa fa-\${menuid} luckysheet-mousedown-cancel" aria-hidden="true"></i></div></div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="padding-left:3px; padding-right:3px;"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><input type="text" placeholder="${a.filterValueByTip}" class="luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-byvalue-input" /><div class="luckysheet-\${menuid}-byvalue-input-icon luckysheet-mousedown-cancel"><i class="fa fa-search luckysheet-mousedown-cancel" aria-hidden="true"></i></div></div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div id="luckysheet-\${menuid}-byvalue-select" class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"></div></div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><div class="btn btn-primary luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-confirm">${a.filterConform}</div> <div class="btn btn-default luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-cancel">${a.filterCancel}</div> <div class="btn btn-danger luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-initial">${a.clearFilter}</div></div></div> </div>`}function Vi(){let a=Q().filter;return`<div style="z-index:1004;overflow-y:auto;" class="luckysheet-filter-submenu luckysheet-cols-menu luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-submenu"><div data-value="null" data-type="0" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionNone}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="cellnull" data-type="0"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellIsNull}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="cellnonull" data-type="0"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellNotNull}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textinclude"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellTextContain}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textnotinclude"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellTextNotContain}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textstart"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellTextStart}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textend"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellTextEnd}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textequal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellTextEqual}</div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="dateequal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellDateEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="datelessthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellDateBefore}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="datemorethan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellDateAfter}</div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="morethan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellGreater}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="moreequalthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellGreaterEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="lessthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellLess}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="lessequalthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellLessEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="equal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="noequal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellNotEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="include" data-type="2"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellBetween}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="noinclude" data-type="2"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${a.conditionCellNotBetween}</div></div> </div>`}function _u(){let e=Q(),a=e.alternatingColors,t=e.toolbar;return'<div id="luckysheet-modal-dialog-slider-alternateformat" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-alternateformat" style="display: block;"><div class="luckysheet-modal-dialog-slider-title"><span>'+t.alternatingColors+'</span><span class="luckysheet-model-close-btn" title="'+a.close+'"><i class="fa fa-times" aria-hidden="true"></i></span></div><div class="luckysheet-modal-dialog-slider-content"><div class="textTitle">'+a.applyRange+'</div><div id="luckysheet-alternateformat-range"><input class="formulaInputFocus" placeholder="'+a.selectRange+'"/><i class="fa fa-table" aria-hidden="true"></i></div><div id="luckysheet-alternateformat-checkbox"><div class="cf"><input type="checkbox" id="luckysheet-alternateformat-rowHeader"/><label for="luckysheet-alternateformat-rowHeader">'+a.header+'</label></div><div class="cf"><input type="checkbox" id="luckysheet-alternateformat-rowFooter"/><label for="luckysheet-alternateformat-rowFooter">'+a.footer+'</label></div></div><div class="textTitle">'+a.textTitle+'</div><div id="luckysheet-alternateformat-modelList" class="cf"></div><div class="textTitle">'+a.custom+'</div><div id="luckysheet-alternateformat-modelCustom" class="cf"></div><div id="luckysheet-alternateformat-modelToning"><div class="toningbox header"><div class="toningShow"> '+a.header+' </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div><div class="toningbox ctOne"><div class="toningShow"> '+a.colorShow+'1 </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div><div class="toningbox ctTwo"><div class="toningShow"> '+a.colorShow+'2 </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div><div class="toningbox footer"><div class="toningShow"> '+a.footer+' </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+a.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div></div><button id="luckysheet-alternateformat-remove" class="btn btn-default" style="margin: 10px;">'+a.removeColor+"</button></div></div>"}function Su(){return cu()}function cp(){let a=Q().info,t={enable:!0,image:"image://static/luckysheet/css/loading.gif",text:a.loading,viewBox:"32 32 64 64",imageClass:"",textClass:"",customClass:""};return JSON.stringify(fe.loading)!=="{}"&&Object.assign(t,fe.loading),t}function hp(){let e={copy:!0,copyAs:!0,paste:!0,insertRow:!0,insertColumn:!0,deleteRow:!0,deleteColumn:!0,deleteCell:!0,hideRow:!0,hideColumn:!0,rowHeight:!0,columnWidth:!0,clear:!0,matrix:!0,sort:!0,filter:!0,chart:!0,image:!0,link:!0,data:!0,cellFormat:!0};return JSON.stringify(fe.cellRightClickConfig)!=="{}"&&Object.assign(e,fe.cellRightClickConfig),fe.cellRightClickConfig=e,e}function dp(){let e={delete:!0,copy:!0,rename:!0,color:!0,hide:!0,move:!0};return JSON.stringify(fe.sheetRightClickConfig)!=="{}"&&Object.assign(e,fe.sheetRightClickConfig),fe.sheetRightClickConfig=e,e}var uu,hu,du,mu,pu,Kr,gu,yu,vu,bu,ft,ku,wu,Cu,Tu,up,Dl,Vr,nt,Cr,Ha,fn,Wl,jt=Ae(()=>{bt();Ke();xr();dt();Yo();uu=function(){let e=Q(),a=e.info,t=e.print,l=fe.userInfo===!0?'<i style="font-size:16px;color:#ff6a00;" class="fa fa-taxi" aria-hidden="true"></i> Lucky':fe.userInfo;return`<div class="luckysheet">
<canvas id="luckysheetTableContentF" style="display:none;" class="luckysheetTableContent"></canvas>
<div class="luckysheet-work-area luckysheet-noselected-text">
<div id ="luckysheet_info_detail" class="luckysheet_info_detail">
<div data-tips="${a.return}" id="luckysheet_info_detail_title" class="luckysheet_info_detail_back">
<i style="color:#444D5A;" class="fa fa-angle-left fa-2x" aria-hidden="true"></i>
</div>
<div class="luckysheet-share-logo" title="\${logotitle}"></div>
<div class="sheet-name">
<input data-tips="${a.tips}" id="luckysheet_info_detail_input" class="luckysheet_info_detail_input luckysheet-mousedown-cancel" value="${a.noName}" tabindex="0" dir="ltr" aria-label="${a.rename}" style="visibility: visible; width: 149px;" data-tooltip="${a.rename}">
</div>
<div id="luckysheet_info_detail_update" class="luckysheet_info_detail_update"> ${a.detailUpdate} </div>
<div id="luckysheet_info_detail_save" class="luckysheet_info_detail_save"> ${a.wait} </div>
\${functionButton}
${P(l)==="string"?`<div class="luckysheet_info_detail_user">
<span id="luckysheet_info_detail_user">${l}</span></div>`:""}
${P(l)==="object"?`<div class="luckysheet_info_detail_user">
<img src="${l.userImage}" id="luckysheet_info_detail_user_img">
<span id="luckysheet_info_detail_user">${l.userName}</span>
</div>`:""}
</div>
<div id="luckysheet-wa-editor" class="luckysheet-wa-editor toolbar"> \${menu} </div>
<div id="luckysheet-wa-calculate" class="luckysheet-wa-calculate">
<div class="luckysheet-wa-calculate-size" id="luckysheet-wa-calculate-size"></div>
<div class="luckysheet-wa-calculate-help">
<div class="luckysheet-wa-calculate-help-box">
<div spellcheck="false" aria-hidden="false" id="luckysheet-helpbox">
<div id="luckysheet-helpbox-cell" class="luckysheet-helpbox-cell-input luckysheet-mousedown-cancel" tabindex="0" contenteditable="true" dir="ltr" aria-autocomplete="list"></div>
</div>
</div>
<div class="luckysheet-wa-calculate-help-tool">
<i class="fa fa-caret-down" aria-hidden="true"></i>
</div>
</div>
<div id="luckysheet-wa-functionbox-cancel" class="luckysheet-wa-functionbox">
<span><i class="iconfont luckysheet-iconfont-qingchu" aria-hidden="true"></i></span>
</div>
<div id="luckysheet-wa-functionbox-confirm" class="luckysheet-wa-functionbox">
<span><i class="iconfont luckysheet-iconfont-yunhang" aria-hidden="true"></i></span>
</div>
<div id="luckysheet-wa-functionbox-fx" class="luckysheet-wa-functionbox">
<span><i class="iconfont luckysheet-iconfont-hanshu" aria-hidden="true" style="color:#333"></i></span>
</div>
<div id="luckysheet-functionbox-container" class="luckysheet-mousedown-cancel">
<div class="luckysheet-mousedown-cancel" dir="ltr">
<div spellcheck="false" aria-hidden="false" id="luckysheet-functionbox">
<div id="luckysheet-functionbox-cell" class="luckysheet-functionbox-cell-input luckysheet-mousedown-cancel" tabindex="0" contenteditable="true" dir="ltr" aria-autocomplete="list" aria-label="D4"></div>
</div>
</div>
</div>
</div>
</div>
<div class="luckysheet-grid-container luckysheet-scrollbars-enabled">
<div class="luckysheet-grid-window">
<div class="luckysheet-help-sub"></div>
<div class="luckysheet-grid-window-1" id="luckysheet-grid-window-1">
<canvas id="luckysheetTableContent" class="luckysheetTableContent"></canvas>
<table class="luckysheet-grid-window-2" cellspacing="0" cellpadding="0" dir="ltr" tabindex="-1" >
<tbody>
<tr>
<td valign="top" class="luckysheet-paneswrapper">
<div class="luckysheet-left-top" id="luckysheet-left-top"> </div>
</td>
<td valign="top" class="luckysheet-paneswrapper">
<div id="luckysheet-cols-h-c" class="luckysheet-cols-h-c">
<div class="luckysheet-cols-change-size" id="luckysheet-cols-change-size"></div>
<div class="luckysheet-cols-menu-btn luckysheet-mousedown-cancel" id="luckysheet-cols-menu-btn"><i class="fa fa-caret-down luckysheet-mousedown-cancel" aria-hidden="true"></i></div>
<div class="luckysheet-cols-h-hover" id="luckysheet-cols-h-hover"></div>
<div id="luckysheet-cols-h-selected"></div>
<div class="luckysheet-grdusedrange"></div>
<div class="luckysheet-grdblkflowpush"></div> \${columnHeader}
</div>
</td>
</tr>
<tr>
<td valign="top" class="luckysheet-paneswrapper">
<div class="luckysheet-rows-h" id="luckysheet-rows-h">
<div class="luckysheet-rows-change-size" id="luckysheet-rows-change-size"></div>
<div class="luckysheet-rows-h-hover" id="luckysheet-rows-h-hover"></div>
<div id="luckysheet-rows-h-selected"></div>
<div class="luckysheet-grdusedrange"></div>
<div class="luckysheet-grdblkflowpush"></div> \${rowHeader}
</div>
</td>
<td valign="top" class="luckysheet-paneswrapper">
<div class="luckysheet-cell-loading" id="luckysheet-cell-loading">
<div class="luckysheet-cell-loading-inner">
<i class="fa fa-circle-o-notch fa-spin"></i>
<span></span>
</div>
</div>
<div class="luckysheet-cell-freezen"></div>
<div class="luckysheet-scrollbars luckysheet-scrollbar-ltr luckysheet-scrollbar-x" id="luckysheet-scrollbar-x"><div></div></div>
<div class="luckysheet-scrollbars luckysheet-scrollbar-ltr luckysheet-scrollbar-y" id="luckysheet-scrollbar-y"><div></div></div>
<div class="luckysheet-cell-main " id="luckysheet-cell-main">
<div id="luckysheet-formula-functionrange"></div>
<div id="luckysheet-formula-functionrange-select" class="luckysheet-selection-copy luckysheet-formula-functionrange-select">
<div class="luckysheet-selection-copy-top luckysheet-copy"></div>
<div class="luckysheet-selection-copy-right luckysheet-copy"></div>
<div class="luckysheet-selection-copy-bottom luckysheet-copy"></div>
<div class="luckysheet-selection-copy-left luckysheet-copy"></div>
<div class="luckysheet-selection-copy-hc"></div>
</div>
<div class="luckysheet-row-count-show luckysheet-count-show" id="luckysheet-row-count-show"></div>
<div class="luckysheet-column-count-show luckysheet-count-show" id="luckysheet-column-count-show"></div>
<div class="luckysheet-change-size-line" id="luckysheet-change-size-line"></div>
<div class="luckysheet-cell-selected-focus" id="luckysheet-cell-selected-focus"></div>
<div id="luckysheet-selection-copy"></div>
<div id="luckysheet-chart-rangeShow"></div>
<div class="luckysheet-cell-selected-extend" id="luckysheet-cell-selected-extend"></div>
<div class="luckysheet-cell-selected-move" id="luckysheet-cell-selected-move"></div>
<div id="luckysheet-cell-selected-boxs">
<div id="luckysheet-cell-selected" class="luckysheet-cell-selected">
<div class="luckysheet-cs-inner-border"></div>
<div class="luckysheet-cs-fillhandle"></div>
<div class="luckysheet-cs-inner-border"></div>
<div class="luckysheet-cs-draghandle-top luckysheet-cs-draghandle"></div>
<div class="luckysheet-cs-draghandle-bottom luckysheet-cs-draghandle"></div>
<div class="luckysheet-cs-draghandle-left luckysheet-cs-draghandle"></div>
<div class="luckysheet-cs-draghandle-right luckysheet-cs-draghandle"></div>
<div class="luckysheet-cs-touchhandle luckysheet-cs-touchhandle-lt"><div class="luckysheet-cs-touchhandle-btn"></div></div>
<div class="luckysheet-cs-touchhandle luckysheet-cs-touchhandle-rb"><div class="luckysheet-cs-touchhandle-btn"></div></div>
</div>
</div>
<div id="luckysheet-postil-showBoxs"></div>
<div id="luckysheet-multipleRange-show"></div>
<div id="luckysheet-dynamicArray-hightShow"></div>
<div id="luckysheet-image-showBoxs">
<div id="luckysheet-modal-dialog-activeImage" class="luckysheet-modal-dialog" style="display:none;padding:0;position:absolute;z-index:300;">
<div class="luckysheet-modal-dialog-border" style="position:absolute;"></div>
<div class="luckysheet-modal-dialog-content"></div>
<div class="luckysheet-modal-dialog-resize">
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lt" data-type="lt"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mt" data-type="mt"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lm" data-type="lm"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rm" data-type="rm"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rt" data-type="rt"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lb" data-type="lb"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mb" data-type="mb"></div>
<div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rb" data-type="rb"></div>
</div>
<div class="luckysheet-modal-dialog-controll">
<span class="luckysheet-modal-controll-btn luckysheet-modal-controll-crop" role="button" tabindex="0" aria-label="\u88C1\u526A" title="\u88C1\u526A">
<i class="fa fa-pencil" aria-hidden="true"></i>
</span>
<span class="luckysheet-modal-controll-btn luckysheet-modal-controll-restore" role="button" tabindex="0" aria-label="\u6062\u590D\u539F\u56FE" title="\u6062\u590D\u539F\u56FE">
<i class="fa fa-window-maximize" aria-hidden="true"></i>
</span>
<span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del" role="button" tabindex="0" aria-label="\u5220\u9664" title="\u5220\u9664">
<i class="fa fa-trash" aria-hidden="true"></i>
</span>
</div>
</div>
<div id="luckysheet-modal-dialog-cropping" class="luckysheet-modal-dialog" style="display:none;padding:0;position:absolute;z-index:300;">
<div class="cropping-mask"></div>
<div class="cropping-content"></div>
<div class="luckysheet-modal-dialog-border" style="position:absolute;"></div>
<div class="luckysheet-modal-dialog-resize">
<div class="resize-item lt" data-type="lt"></div>
<div class="resize-item mt" data-type="mt"></div>
<div class="resize-item lm" data-type="lm"></div>
<div class="resize-item rm" data-type="rm"></div>
<div class="resize-item rt" data-type="rt"></div>
<div class="resize-item lb" data-type="lb"></div>
<div class="resize-item mb" data-type="mb"></div>
<div class="resize-item rb" data-type="rb"></div>
</div>
<div class="luckysheet-modal-dialog-controll">
<span class="luckysheet-modal-controll-btn luckysheet-modal-controll-crop" role="button" tabindex="0" aria-label="\u88C1\u526A" title="\u88C1\u526A">
<i class="fa fa-pencil" aria-hidden="true"></i>
</span>
<span class="luckysheet-modal-controll-btn luckysheet-modal-controll-restore" role="button" tabindex="0" aria-label="\u6062\u590D\u539F\u56FE" title="\u6062\u590D\u539F\u56FE">
<i class="fa fa-window-maximize" aria-hidden="true"></i>
</span>
<span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del" role="button" tabindex="0" aria-label="\u5220\u9664" title="\u5220\u9664">
<i class="fa fa-trash" aria-hidden="true"></i>
</span>
</div>
</div>
<div class="img-list"></div>
<div class="cell-date-picker">
<input id="cellDatePickerBtn" class="formulaInputFocus" readonly="readonly"/>
</div>
</div>
<div id="luckysheet-dataVerification-dropdown-btn"></div>
<div id="luckysheet-dataVerification-dropdown-List" class="luckysheet-mousedown-cancel"></div>
<div id="luckysheet-dataVerification-showHintBox" class="luckysheet-mousedown-cancel"></div>
<div class="luckysheet-cell-copy"></div>
<div class="luckysheet-grdblkflowpush"></div> \${flow}
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="luckysheet-sheet-area luckysheet-noselected-text" id="luckysheet-sheet-area">
<div id="luckysheet-sheet-content">
<div id="luckysheet-sheets-add" class="luckysheet-sheets-add lucky-button-custom"><i class="iconfont luckysheet-iconfont-jia1"></i></div>
<div id="luckysheet-sheets-m" class="luckysheet-sheets-m lucky-button-custom"><i class="iconfont luckysheet-iconfont-caidan2"></i></div>
<div class="luckysheet-sheet-container" id="luckysheet-sheet-container">
<div class="docs-sheet-fade docs-sheet-fade-left" style="display: none;">
<div class="docs-sheet-fade3"></div>
<div class="docs-sheet-fade2"></div>
<div class="docs-sheet-fade1"></div>
</div>
<div class="docs-sheet-fade docs-sheet-fade-right" style="display: none;">
<div class="docs-sheet-fade1"></div>
<div class="docs-sheet-fade2"></div>
<div class="docs-sheet-fade3"></div>
</div>
<div class="luckysheet-sheet-container-c" id="luckysheet-sheet-container-c"></div>
</div>
<div id="luckysheet-sheets-leftscroll" class="luckysheet-sheets-scroll lucky-button-custom"><i class="fa fa-caret-left"></i></div>
<div id="luckysheet-sheets-rightscroll" class="luckysheet-sheets-scroll lucky-button-custom"><i class="fa fa-caret-right"></i></div>
</div>
</div>
</div>
<div class="luckysheet-stat-area">
<div class="luckysheet-sta-c">
<div class="luckysheet-zoom-content" id="luckysheet-zoom-content">
<div class="luckysheet-zoom-minus" id="luckysheet-zoom-minus">
<div class="luckysheet-zoom-minus-icon"></div>
</div>
<div class="luckysheet-zoom-slider" id="luckysheet-zoom-slider">
<div class="luckysheet-zoom-line"></div>
<div class="luckysheet-zoom-cursor" id="luckysheet-zoom-cursor"></div>
<div class="luckysheet-zoom-hundred"></div>
</div>
<div class="luckysheet-zoom-plus" id="luckysheet-zoom-plus">
<div class="luckysheet-zoom-plus-icon"></div>
</div>
<div class="luckysheet-zoom-ratioText" id="luckysheet-zoom-ratioText">100%</div>
</div>
<div class="luckysheet-print-viewList">
<div type="viewNormal" class="luckysheet-print-viewBtn luckysheet-print-viewNormal luckysheet-print-viewBtn-active" title="${t.normalBtn}"><i class="icon iconfont luckysheet-iconfont-putong"></i></div>
<div type="viewLayout" class="luckysheet-print-viewBtn luckysheet-print-viewLayout" title="${t.layoutBtn}"><i class="icon iconfont luckysheet-iconfont-yemianbuju"></i></div>
<div type="viewPage" class="luckysheet-print-viewBtn luckysheet-print-viewPage" title="${t.pageBtn}"><i class="icon iconfont luckysheet-iconfont-fenyeyulan"></i></div>
</div>
<div class="luckysheet-sta-content" id="luckysheet-sta-content"></div>
<!--<div class="luckysheet-bottom-content" id="luckysheet-bottom-content-show"></div> -->
</div>
</div>
</div>
<div id="luckysheet-copy-content" contenteditable="true"></div>
<input id="luckysheet-copy-btn" type="button" data-clipboard-target="luckysheet-copy-content">
<div id="testdpidiv" style="height: 1in; left: -100%; position: absolute; top: -100%; width: 1in;"></div>
</div>`},hu='<div id="luckysheet-cell-flow_${index}" class="luckysheet-cell-flow luckysheetsheetchange" style="width:${width}px;"><div class="luckysheet-cell-flow-clip"><div class="luckysheet-grdblkpush"></div>${flow}</div></div>',du="";mu=function(){let a=Q().pivotTable;return'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel" id="luckysheet-pivotTable-config-option"> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.titleSort+'</span> <select class="luckysheet-mousedown-cancel" style="height:24px;" id="luckysheet-pivotTable-config-option-order"> <option selected="selected" value="default">'+a.titleNoSort+'</option> <option value="asc">'+a.titleSortAsc+'</option> <option value="desc">'+a.titleSortDesc+'</option> </select> </div> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.titleSortBy+'</span> <select class="luckysheet-mousedown-cancel" style="height:24px;" id="luckysheet-pivotTable-config-option-orderby"> </select> </div> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.titleShowSum+'</span> <select class="luckysheet-mousedown-cancel" style="height:24px;" id="luckysheet-pivotTable-config-option-stastic"> <option value="0">'+a.titleStasticFalse+'</option> <option value="1" selected="selected">'+a.titleStasticTrue+"</option> </select> </div> </div> </div> </div>"},pu=function(){let a=Q().pivotTable;return'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel" id="luckysheet-pivotTable-config-option-sumtype"> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="SUM"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsSUM+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="COUNT"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsCOUNT+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="COUNTA"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsCOUNTA+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="COUNTUNIQUE"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsCOUNTUNIQUE+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="AVERAGE"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsAVERAGE+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="MAX"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsMAX+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="MIN"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsMIN+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="MEDIAN"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsMEDIAN+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="PRODUCT"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsPRODUCT+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="STDEV"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsSTDEV+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="STDEVP"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsSTDEVP+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="VAR"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticslet+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="VARP"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+a.valueStatisticsVARP+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> </div>'},Kr='<div style="${style}" id="luckysheet-sheets-item${index}" data-index="${index}" class="luckysheet-sheets-item ${active}"><span class="luckysheet-sheets-item-name" spellcheck ="false" contenteditable="false">${name}</span> <span class="luckysheet-sheets-item-menu luckysheet-mousedown-cancel"><i class="fa fa-sort-desc luckysheet-mousedown-cancel"></i></span>${colorset}</div>',gu='<div class="luckysheet-cols-h-cells luckysheetsheetchange" id="luckysheet-cols-h-cells_${index}" style="width:${width}px;"> <div class="luckysheet-cols-h-cells-c"> <div class="luckysheet-grdblkpush"></div>${column}</div></div>',yu='<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel" id="luckysheet-sheet-list">${item}</div>',vu='<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" id="luckysheet-sheet-btn${index}" data-index="${index}"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="${style}" ><span class="icon luckysheet-mousedown-cancel">${icon}</span>${name}</div></div>',bu='<div dir="ltr"><div class="luckysheet-input-box-index" id="luckysheet-input-box-index"></div><div id="luckysheet-input-box" spellcheck="false" aria-hidden="false" class="luckysheet-input-box"><div class="luckysheet-cell-input editable" tabindex="0" role="combobox" contenteditable="true" id="luckysheet-rich-text-editor" dir="ltr" g_editable="true" aria-autocomplete="list"></div></div></div>',ft='<div id="${id}" style="${style}" class="luckysheet-modal-dialog ${addclass}" tabindex="0" role="dialog" aria-labelledby=":41e" dir="ltr"> <div class="luckysheet-modal-dialog-title luckysheet-modal-dialog-title-draggable"> <span class="luckysheet-modal-dialog-title-text" role="heading">${title}</span> <span class="luckysheet-modal-dialog-title-close" role="button" tabindex="0" aria-label="${close}"><i class="fa fa-times" aria-hidden="true"></i></span> </div> <div class="luckysheet-modal-dialog-content">${content}</div> <div class="luckysheet-modal-dialog-buttons"> ${botton} </div></div>',ku='<div class="luckysheet-modal-dialog-mask" id="luckysheet-modal-dialog-mask"></div>';wu=function(){let a=Q().pivotTable;return`
<div id="luckysheet-modal-dialog-slider-pivot" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-pivot">
<div class="luckysheet-modal-dialog-slider-title"> <span>${a.title}</span> <span id="luckysheet-modal-dialog-slider-close" title="${a.closePannel}"><i class="fa fa-times" aria-hidden="true"></i></span> </div>
<div class="luckysheet-modal-dialog-slider-content">
<div class="luckysheet-modal-dialog-slider-range">
<div id="luckysheet-dialog-pivotTable-range"></div>
<div id="luckysheet-dialog-pivotTable-range-seleted">${a.editRange}</div>
</div>
<div class="luckysheet-modal-dialog-slider-list-title"> ${a.tipPivotFieldSelected} <span title="${a.tipClearSelectedField}" id="luckysheet-dialog-pivotTable-clearitem">${a.btnClearSelectedField}</span></div>
<div id="luckysheet-modal-dialog-pivotTable-list" class="luckysheet-modal-dialog-slider-list luckysheet-scrollbars"> </div>
<div class="luckysheet-modal-dialog-slider-config-c">
<div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-filter">
<div> <span><i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i> ${a.btnFilter}</span> </div>
<div id="luckysheet-modal-dialog-config-filter" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
</div>
<div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-row">
<div> <span><i class="fa fa-list-alt" aria-hidden="true"></i> ${a.titleRow}</span> </div>
<div id="luckysheet-modal-dialog-config-row" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
</div>
<div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-column">
<div> <span><i class="fa fa-indent" aria-hidden="true"></i> ${a.titleColumn}</span> </div>
<div id="luckysheet-modal-dialog-config-column" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
</div>
<div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-value">
<div> <span><i class="fa fa-cube" aria-hidden="true"></i> ${a.titleValue}</span> <span style="float: right;margin-right: 10px;display:none;" id="luckysheetpivottablevaluecolrowshow"><label style="padding:0px 5px;margin:0px;font-size:12px;height:15px;line-height:15px;" title="${a.tipShowColumn}" for="luckysheetpivottablevaluecolrow">${a.titleColumn}</label> <input type="radio" checked="checked" value="1" name="luckysheetpivottablevaluecolrow" id="luckysheetpivottablevaluecolrow" /> <label style="padding:0px 5px;margin:0px;font-size:12px;height:15px;line-height:15px;" title="${a.tipShowRow}" for="luckysheetpivottablevaluecolrow1">${a.titleRow}</label> <input type="radio" value="0" name="luckysheetpivottablevaluecolrow" id="luckysheetpivottablevaluecolrow1" /></span></div>
<div id="luckysheet-modal-dialog-config-value" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
</div>
</div>
</div>
</div>
`};Cu='<div class="luckysheet-chart-point-config"> <div class="luckysheet-chart-point-config-set"> <div class="luckysheet-chart-point-config-left"> <div class="luckysheet-chart-point-config-left-top"> <div class="luckysheet-chart-point-searchcondition"> <div class="luckysheet-datavisual-content-row" style="margin-bottom: 0px;margin-top: 0px;height: 30px;"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u9009\u62E9\u7EF4\u5EA6</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-tips="\u7EF4\u5EA6\u9009\u62E9" name="luckysheetpointconfigsearchdim" id="luckysheetpointconfigsearchdim"> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="margin-bottom: 0px;margin-top: 3px;height: 30px;"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;">\u6392\u5E8F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <label data-tips="\u65E0\u6392\u5E8F" for="luckysheetpointconfigsearchorderno">\u65E0\u6392\u5E8F</label> <input type="radio" checked="checked" value="0" name="luckysheetpointconfigsearchorder" id="luckysheetpointconfigsearchorderno"> <label data-tips="\u5347\u5E8F" for="luckysheetpointconfigsearchorderasc">\u5347\u5E8F</label> <input type="radio" value="1" name="luckysheetpointconfigsearchorder" id="luckysheetpointconfigsearchorderasc"> <label data-tips="\u964D\u5E8F" for="luckysheetpointconfigsearchorderdesc">\u964D\u5E8F</label> <input type="radio" value="2" name="luckysheetpointconfigsearchorder" id="luckysheetpointconfigsearchorderdesc"> </div> </div> <div class="luckysheet-datavisual-content-row" style="margin-bottom: 0px;margin-top: 5px;height: 30px;"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:90%;text-align: left;"> <select data-width="70" data-tips="\u6309\u7167\u4EC0\u4E48\u65B9\u5F0F\u67E5\u8BE2" name="luckysheetpointconfigsearchtype" id="luckysheetpointconfigsearchtype"> <option value="0" selected="selected">\u6309\u7167\u540D\u79F0</option> <option value="1">\u6309\u6392\u5E8F\u524D%</option> </select> <input data-tips="\u67E5\u8BE2\u5173\u4E8E\u70B9\u7684\u5173\u952E\u5B57" id="luckysheetpointconfigsearchcontent" type="text" class="luckysheet-datavisual-config-input-no" style="width:40%;" placeholder="\u67E5\u8BE2\u5185\u5BB9" /> <button id="luckysheetpointconfigsearchcomfirm" class="btn btn-primary luckysheet-model-conform-btn">\u67E5\u8BE2</button> </div> </div> </div> </div> <div class="luckysheet-chart-point-config-left-mid"> <span id="luckysheet-chart-point-btn-all" class="luckysheet-mousedown-cancel">\u5168\u9009</span> - <span id="luckysheet-chart-point-btn-clear" class="luckysheet-mousedown-cancel">\u6E05\u9664</span> - <span id="luckysheet-chart-point-btn-contra" class="luckysheet-mousedown-cancel">\u53CD\u9009</span><span style="text-decoration:none;color:#8D8D8D;float:right;margin-right:40px;cursor:default;" class="luckysheet-mousedown-cancel">\u53EF\u4EE5\u76F4\u63A5\u6846\u9009\u6570\u636E\u70B9</span> </div> <div class="luckysheet-chart-point-config-left-bottom"> <div class="luckysheet-chart-point-searchitem-c luckysheet-noselected-text"> </div> </div> </div> <div class="luckysheet-chart-point-config-right"> <div class="luckysheet-chart-point-itemconfig"> <div class="luckysheet-datavisual-content-row" style="font-size: 16px;font-weight: bold;"> \u6570\u636E\u70B9\u8BBE\u7F6E </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u56FE\u5F62\u989C\u8272</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <input data-tips="\u989C\u8272" class="luckysheet-datavisual-config-colorOpacity" id="scattersingleitemstylecolor" type="text" data-bigclass="scattersingle" data-attr="itemstyle" data-func="color" /> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u56FE\u5F62\u5927\u5C0F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-sliderdiy="scattersingleallsymbolsizeslider" data-tips="\u70B9\u5927\u5C0F\u8BBE\u7F6E" name="scattersingleallsymbolsize" id="scattersingleallsymbolsize" data-width="50" data-bigclass="scattersingle" data-attr="all" data-func="symbolsize"> <option value="4" selected="selected">4px</option> <option value="6">6px</option> <option value="8">8px</option> <option value="10">10px</option> <option value="12">12px</option> <option value="14">14px</option> <option value="16">16px</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="display:none;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u70B9\u5927\u5C0F" id="scattersingleallsymbolsizeslider" data-bigclass="scattersingle" data-attr="all" data-func="symbolsize" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="1" data-max="50" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u70B9\u5927\u5C0F" data-sliderid="scattersingleallsymbolsizeslider" id="scattersingleallsymbolsizesliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="all" data-func="symbolsize" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersingleallsymbolsizesliderdiy">px</label> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u56FE\u5F62\u5F62\u72B6</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-tips="\u70B9\u7C7B\u578B\u8BBE\u7F6E" data-width="70" name="scattersingleallsymboltype" id="scattersingleallsymboltype" data-bigclass="scattersingle" data-attr="all" data-func="symboltype"> <option value="emptyCircle" selected="selected">\u7A7A\u5FC3\u5706</option> <option value="circle">\u5706\u5F62</option> <option value="emptyRectangle">\u7A7A\u5FC3\u77E9\u5F62</option> <option value="rect">\u77E9\u5F62</option> <option value="roundRect">\u5706\u89D2\u77E9\u5F62</option> <option value="emptyTriangle">\u7A7A\u5FC3\u4E09\u89D2</option> <option value="triangle">\u4E09\u89D2\u5F62</option> <option value="emptyDiamond">\u7A7A\u5FC3\u83F1\u5F62</option> <option value="diamond">\u83F1\u5F62</option> <option value="droplet">\u6C34\u6EF4</option> <option value="pin">\u6807\u6CE8</option> <option value="arrow">\u7BAD\u5934</option> <option value="heart">\u5FC3\u5F62</option> <option value="star">\u661F\u661F</option> </select> </div> </div> <div class="luckysheet-datavisual-content-rowsplit-sub"></div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u8FB9\u6846\u7C97\u7EC6</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-sliderdiy="scattersingleitemstyleborderwidthslider" data-tips="\u70B9\u8FB9\u6846\u7C97\u7EC6" name="scattersingleitemstyleborderwidth" id="scattersingleitemstyleborderwidth" data-width="50" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderwidth"><option value="0" selected="selected">\u65E0</option> <option value="1">1px</option> <option value="2">2px</option> <option value="3">3px</option> <option value="4">4px</option> <option value="5">5px</option> <option value="6">6px</option> <option value="7">7px</option> <option value="8">8px</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="display:none;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u8FB9\u6846\u7C97\u7EC6" id="scattersingleitemstyleborderwidthslider" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderwidth" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="12" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u8FB9\u6846\u7C97\u7EC6" data-sliderid="scattersingleitemstyleborderwidthslider" id="scattersingleitemstyleborderwidthsliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderwidth" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersingleitemstyleborderwidthsliderdiy">%</label> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u8FB9\u6846\u6837\u5F0F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-tips="\u70B9\u8FB9\u6846\u7C7B\u578B\u8BBE\u7F6E" data-width="50" name="scattersingleitemstyleborderlinetype" id="scattersingleitemstyleborderlinetype" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderlinetype"> <option value="solid" selected="selected">\u5B9E\u7EBF</option> <option value="dashed">\u865A\u7EBF</option> <option value="dotted">\u70B9\u7EBF</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u8FB9\u6846\u989C\u8272</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <input data-tips="\u70B9\u8FB9\u6846\u989C\u8272" class="luckysheet-datavisual-config-colorOpacity" id="scattersingleitemstyleborderlinecolor" type="text" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderlinecolor" /> </div> </div> <div class="luckysheet-datavisual-content-rowsplit-sub"></div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;"><i class="fa fa-th-large" aria-hidden="true"></i> \u6587\u5B57\u6807\u7B7E</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <label data-tips="\u663E\u793A\u6570\u636E\u70B9\u7684\u6807\u7B7E" data-bigclass="scattersingle" data-attr="label" data-func="labelshow" for="scattersinglelabellabelshow">\u663E\u793A</label> <input type="radio" checked="checked" value="1" name="scattersinglelabellabelshow" id="scattersinglelabellabelshow" data-bigclass="scattersingle" data-attr="label" data-func="labelshow"> <label data-tips="\u9690\u85CF\u6570\u636E\u70B9\u7684\u6807\u7B7E" data-bigclass="scattersingle" data-attr="label" data-func="labelshow" for="scattersinglelabellabelshow1">\u9690\u85CF</label> <input type="radio" value="0" name="scattersinglelabellabelshow" id="scattersinglelabellabelshow1" data-bigclass="scattersingle" data-attr="label" data-func="labelshow"> </div> </div> <div class="luckysheet-datavisual-content-row" style="height:auto;line-height: initial;margin-left:auto;" showfor="scattersinglelabellabelshow1" hidefor="scattersinglelabellabelshow"> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:40%;">\u6570\u503C\u6BD4\u4F8B</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:50%;"> <select data-tips="\u523B\u5EA6\u6570\u503C\u653E\u5927\u6BD4\u4F8B" name="scattersinglelabelformatratio" id="scattersinglelabelformatratio" data-bigclass="scattersingle" data-attr="label" data-func="formatratio"> <option value="0.01">\u4E58\u4EE5100</option> <option value="0.1">\u4E58\u4EE510</option> <option value="1" selected="selected">\u9ED8\u8BA4</option> <option value="10">\u9664\u4EE510</option> <option value="100">\u9664\u4EE5100</option> <option value="1000">\u9664\u4EE51000</option> <option value="10000">\u9664\u4EE51\u4E07</option> <option value="100000">\u9664\u4EE510\u4E07</option> <option value="1000000">\u9664\u4EE5\u4E00\u767E\u4E07</option> <option value="10000000">\u9664\u4EE5\u4E00\u5343\u4E07</option> <option value="100000000">\u9664\u4EE5\u4E00\u4EBF</option> <option value="1000000000">\u9664\u4EE5\u5341\u4EBF</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:40%;white-space: nowrap;">\u5C0F\u6570\u4F4D\u6570</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:50%;"> <select data-tips="\u6570\u503C\u5C0F\u6570\u70B9\u4F4D\u6570" name="scattersinglelabelfloatlen" id="scattersinglelabelfloatlen" data-bigclass="scattersingle" data-attr="label" data-func="floatlen"> <option value="auto" selected="selected">\u81EA\u52A8\u663E\u793A</option> <option value="0">\u6574\u6570</option> <option value="1">1\u4F4D\u5C0F\u6570</option> <option value="2">2\u4F4D\u5C0F\u6570</option> <option value="3">3\u4F4D\u5C0F\u6570</option> <option value="4">4\u4F4D\u5C0F\u6570</option> <option value="5">5\u4F4D\u5C0F\u6570</option> <option value="6">6\u4F4D\u5C0F\u6570</option> <option value="7">7\u4F4D\u5C0F\u6570</option> <option value="8">8\u4F4D\u5C0F\u6570</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:20%;">\u6807\u7B7E\u683C\u5F0F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:70%;"> <select data-sliderdiy="scattersinglelabelcontentformatslider" data-tips="\u6807\u7B7E\u663E\u793A\u683C\u5F0F" name="scattersinglelabelcontentformat" id="scattersinglelabelcontentformat" data-bigclass="scattersingle" data-attr="label" data-func="contentformat"> <option value="default" selected="selected">\u9ED8\u8BA4</option> <option value="1">\u4EC5\u6570\u636E\u540D</option> <option value="2">\u6570\u636E\u540D+2\u7EF4\u6570\u503C</option> <option value="5">\u6570\u636E\u540D+\u5168\u90E8\u6570\u503C</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> </div> </div> <div style="display:none;"> <div class="luckysheet-datavisual-content-row" id="scattersinglelabelcontentformatslider"> <div style="text-align:center; width:60px; display:inline-block;">\u6570\u636E\u540D\u79F0</div> <label data-tips="\u662F\u5426\u663E\u793A\u6570\u636E\u540D" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelshow" for="scattersinglelabeldatalabelshow" style="font-weight:bold;"><i class="fa fa-eye" aria-hidden="true"></i></label> <input type="checkbox" checked="checked" name="scattersinglelabeldatalabelshow" id="scattersinglelabeldatalabelshow" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelshow"> <input data-tips="\u663E\u793A\u5728\u6570\u636E\u540D\u524D\u90E8\u6587\u5B57" placeholder="\u524D\u7F00" id="scattersinglelabeldatalabelprefix" type="text" class="luckysheet-datavisual-config-input" style="width:60px;height:19px;" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelprefix" /> <input data-tips="\u663E\u793A\u5728\u6570\u636E\u540D\u5C3E\u90E8\u6587\u5B57" placeholder="\u540E\u7F00" id="scattersinglelabeldatalabelsuffix" type="text" class="luckysheet-datavisual-config-input" style="width:60px;height:19px;" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelsuffix" /> <label data-tips="\u662F\u5426\u5728\u6570\u636E\u540D\u540E\u6362\u884C" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelline" for="scattersinglelabeldatalabelline" style="font-weight:bold;">\u6362\u884C</label> <input type="checkbox" checked="checked" name="scattersinglelabeldatalabelline" id="scattersinglelabeldatalabelline" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelline"> </div> </div> <div class="luckysheet-datavisual-content-row" > <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u6807\u7B7E\u4F4D\u7F6E</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-sliderdiy="scattersinglelabellabelplaceslider" data-tips="\u6807\u7B7E\u8DDD\u79BB\u56FE\u5F62\u4F4D\u7F6E" data-width="70" name="scattersinglelabellabelplace" id="scattersinglelabellabelplace" data-bigclass="scattersingle" data-attr="label" data-func="labelplace"> <option value="top" selected="selected">\u9876\u7AEF</option> <option value="left">\u5DE6\u4FA7</option> <option value="right">\u53F3\u4FA7</option> <option value="bottom">\u5E95\u90E8</option> <option value="inside">\u5185\u90E8\u5C45\u4E2D</option> <option value="diy">\u81EA\u5B9A\u4E49</option> <option value="insideLeft">\u5185\u90E8\u5DE6\u4FA7</option> <option value="insideRight">\u5185\u90E8\u53F3\u4FA7</option> <option value="insideTop">\u5185\u90E8\u9876\u7AEF</option> <option value="insideBottom">\u5185\u90E8\u5E95\u7AEF</option> <option value="insideTopLeft">\u5185\u90E8\u5DE6\u4E0A</option> <option value="insideBottomLeft">\u5185\u90E8\u5DE6\u4E0B</option> <option value="insideTopRight">\u5185\u90E8\u53F3\u4E0A</option> <option value="insideBottomRight">\u5185\u90E8\u53F3\u4E0B</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="display:none;height:65px;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u70B9\u6587\u672C\u6C34\u5E73\u4F4D\u7F6E" id="scattersinglelabellabelplaceslider" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="-100" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u70B9\u6587\u672C\u6C34\u5E73\u4F4D\u7F6E" data-sliderid="scattersinglelabellabelplaceslider" id="scattersinglelabellabelplacesliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersinglelabellabelplacesliderdiy">px</label> <br /> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u70B9\u6587\u672C\u5782\u76F4\u4F4D\u7F6E" id="scattersinglelabellabelplaceslider1" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="-100" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u70B9\u6587\u672C\u5782\u76F4\u4F4D\u7F6E" data-sliderid="scattersinglelabellabelplaceslider1" id="scattersinglelabellabelplaceslider1diy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersinglelabellabelplaceslider1diy">px</label> </div> <div class="luckysheet-datavisual-content-row"> <label data-tips="\u52A0\u7C97" data-bigclass="scattersingle" data-attr="label" data-func="labelbold" for="scattersinglelabellabelbold" style="font-weight:bold;"><i class="fa fa-bold" aria-hidden="true"></i></label> <input type="checkbox" name="scattersinglelabellabelbold" id="scattersinglelabellabelbold" data-bigclass="scattersingle" data-attr="label" data-func="labelbold"> <label data-tips="\u659C\u4F53" data-bigclass="scattersingle" data-attr="label" data-func="labelitalic" for="scattersinglelabellabelitalic" class="luckysheet-datavisual-content-column-italic"><i class="fa fa-italic" aria-hidden="true"></i></label> <input type="checkbox" name="scattersinglelabellabelitalic" id="scattersinglelabellabelitalic" data-bigclass="scattersingle" data-attr="label" data-func="labelitalic"> <select data-sliderdiy="scattersinglelabellabelfontsizeslider" data-width="50" data-tips="\u5B57\u4F53\u5927\u5C0F" name="scattersinglelabellabelfontsize" id="scattersinglelabellabelfontsize" data-bigclass="scattersingle" data-attr="label" data-func="labelfontsize"> <option value="12">12px</option> <option value="14">14px</option> <option value="16">16px</option> <option value="18">18px</option> <option value="20">20px</option> <option value="22">22px</option> <option value="24">24px</option> <option value="30">30px</option> <option value="36">36px</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> <input data-tips="\u5B57\u4F53\u989C\u8272" class="luckysheet-datavisual-config-color" id="scattersinglelinelabelcolor" type="text" data-bigclass="scattersingle" data-attr="label" data-func="labelcolor" /> </div> <div class="luckysheet-datavisual-content-row" style="display:none;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u5B57\u4F53\u5927\u5C0F" id="scattersinglelabellabelfontsizeslider" data-bigclass="scattersingle" data-attr="label" data-func="labelfontsize" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="12" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u5B57\u4F53\u5927\u5C0F" data-sliderid="scattersinglelabellabelfontsizeslider" id="scattersinglelabellabelfontsizesliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="label" data-func="labelfontsize" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersinglelabellabelfontsizesliderdiy">px</label> </div> </div> </div> </div> </div> <div class="luckysheet-chart-point-config-chart"> <div id="luckysheet-chart-point-config-chart-c" class="luckysheet-chart-point-config-chart-c"> </div> </div> </div>',Tu='<div id="luckysheet-tooltip-up" class="jfk-tooltip" role="tooltip" aria-hidden="true" style="left: 505px; top: 410px;"><div class="jfk-tooltip-contentId">\u7EC4\u5408\u56FE\u8868</div><div class="jfk-tooltip-arrow jfk-tooltip-arrowup" style="left: 35.5px;"><div class="jfk-tooltip-arrowimplbefore"></div><div class="jfk-tooltip-arrowimplafter"></div></div></div>';up=function(e){if(typeof e.image=="function")return e.image();let t=new RegExp("^(image|path)://").exec(e.image),l="";if(t!==null){let n=t[0],o=t[1],s=t.input.substring(n.length);switch(o){case"image":l=`<div class="image-type" style="background-image: url(${s});"></div>`;break;case"path":let u=document.createElementNS("http://www.w3.org/2000/svg","svg");u.setAttribute("class","path-type"),u.setAttribute("viewBox",e.viewBox);let d=document.createElementNS("http://www.w3.org/2000/svg","path");d.setAttribute("d",s),d.setAttribute("fill","currentColor"),u.appendChild(d),l=u.outerHTML;break;default:break}}return l},Dl=function(e,a){if(!e)return;let t=cp();if(a&&JSON.stringify(a)!=="{}"&&Object.assign(t,a),typeof t.enable=="boolean"&&t.enable===!1)return{el:"",show:u,close:d};let l=up(t),n="luckysheet-loading-"+uuid.v4(),o=`
<div class="luckysheet-loading-content">
<div class="${t.imageClass} luckysheet-loading-image">
${l}
</div>
<div class="${t.textClass} luckysheet-loading-text">
<span>${t.text}</span>
</div>
</div>`,s=document.createElement("div");s.id=n,s.className="luckysheet-loading-mask "+t.customClass,$(s).html(o),$(e).append(s);function u(){n&&$("#"+n).show()}function d(){n&&$("#"+n).hide()}return{el:s,show:u,close:d}},Vr=["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463","#9bca63","#fad860","#f3a43b","#60c0dd","#d7504b","#c6e579","#f4e001","#f0805a","#26c0c0","#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8","#cda819","#32a487","#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],nt={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,PAUSE:19,CAPSLOCK:20,ESC:27,SPACE:33,PAGEUP:33,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,WIN:91,WIN_R:92,MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SCROLLLOCK:145},Cr={fillStyle:"#000000",textBaseline:"middle",strokeStyle:"#dfdfdf",rowFillStyle:"#5e5e5e",textAlign:"center"},Ha=function(){return"normal normal normal "+h.defaultFontSize+"pt "+Q().fontarray[0]+', "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif'},fn=new Image;fn.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAGACAYAAACUS6SeAAAACXBIWXMAAC4jAAAuIwF4pT92AAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFyHKkAqlCapFdSCPyLXIUOY1cQPqQ28ggMor8irxHMZSBslED1AJ1QLmoHxqKxqBz0XQ0D12AlqJr0Rq0Hj2AtqKn0UvodXQAfYqOY4DRMQ5mjNlhXIyHRWCJWBomxxZj5Vg1Vo81Yx1YN3YVG8CeYe8IJAKLgBPsCF6EEMJsgpCQR1hMWEOoJewjtBK6CFcJg4Qxwicik6hPtCV6EvnEeGI6sZBYRqwm7iEeIZ4lXicOE1+TSCQOyZLkTgohJZAySQtJa0jbSC2kU6Q+0hBpnEwm65Btyd7kCLKArCCXkbeQD5BPkvvJw+S3FDrFiOJMCaIkUqSUEko1ZT/lBKWfMkKZoKpRzame1AiqiDqfWkltoHZQL1OHqRM0dZolzZsWQ8ukLaPV0JppZ2n3aC/pdLoJ3YMeRZfQl9Jr6Afp5+mD9HcMDYYNg8dIYigZaxl7GacYtxkvmUymBdOXmchUMNcyG5lnmA+Yb1VYKvYqfBWRyhKVOpVWlX6V56pUVXNVP9V5qgtUq1UPq15WfaZGVbNQ46kJ1Bar1akdVbupNq7OUndSj1DPUV+jvl/9gvpjDbKGhUaghkijVGO3xhmNIRbGMmXxWELWclYD6yxrmE1iW7L57Ex2Bfsbdi97TFNDc6pmrGaRZp3mcc0BDsax4PA52ZxKziHODc57LQMtPy2x1mqtZq1+rTfaetq+2mLtcu0W7eva73VwnUCdLJ31Om0693UJuja6UbqFutt1z+o+02PreekJ9cr1Dund0Uf1bfSj9Rfq79bv0R83MDQINpAZbDE4Y/DMkGPoa5hpuNHwhOGoEctoupHEaKPRSaMnuCbuh2fjNXgXPmasbxxirDTeZdxrPGFiaTLbpMSkxeS+Kc2Ua5pmutG003TMzMgs3KzYrMnsjjnVnGueYb7ZvNv8jYWlRZzFSos2i8eW2pZ8ywWWTZb3rJhWPlZ5VvVW16xJ1lzrLOtt1ldsUBtXmwybOpvLtqitm63Edptt3xTiFI8p0in1U27aMez87ArsmuwG7Tn2YfYl9m32zx3MHBId1jt0O3xydHXMdmxwvOuk4TTDqcSpw+lXZxtnoXOd8zUXpkuQyxKXdpcXU22niqdun3rLleUa7rrStdP1o5u7m9yt2W3U3cw9xX2r+00umxvJXcM970H08PdY4nHM452nm6fC85DnL152Xlle+70eT7OcJp7WMG3I28Rb4L3Le2A6Pj1l+s7pAz7GPgKfep+Hvqa+It89viN+1n6Zfgf8nvs7+sv9j/i/4XnyFvFOBWABwQHlAb2BGoGzA2sDHwSZBKUHNQWNBbsGLww+FUIMCQ1ZH3KTb8AX8hv5YzPcZyya0RXKCJ0VWhv6MMwmTB7WEY6GzwjfEH5vpvlM6cy2CIjgR2yIuB9pGZkX+X0UKSoyqi7qUbRTdHF09yzWrORZ+2e9jvGPqYy5O9tqtnJ2Z6xqbFJsY+ybuIC4qriBeIf4RfGXEnQTJAntieTE2MQ9ieNzAudsmjOc5JpUlnRjruXcorkX5unOy553PFk1WZB8OIWYEpeyP+WDIEJQLxhP5aduTR0T8oSbhU9FvqKNolGxt7hKPJLmnVaV9jjdO31D+miGT0Z1xjMJT1IreZEZkrkj801WRNberM/ZcdktOZSclJyjUg1plrQr1zC3KLdPZisrkw3keeZtyhuTh8r35CP5c/PbFWyFTNGjtFKuUA4WTC+oK3hbGFt4uEi9SFrUM99m/ur5IwuCFny9kLBQuLCz2Lh4WfHgIr9FuxYji1MXdy4xXVK6ZHhp8NJ9y2jLspb9UOJYUlXyannc8o5Sg9KlpUMrglc0lamUycturvRauWMVYZVkVe9ql9VbVn8qF5VfrHCsqK74sEa45uJXTl/VfPV5bdra3kq3yu3rSOuk626s91m/r0q9akHV0IbwDa0b8Y3lG19tSt50oXpq9Y7NtM3KzQM1YTXtW8y2rNvyoTaj9nqdf13LVv2tq7e+2Sba1r/dd3vzDoMdFTve75TsvLUreFdrvUV99W7S7oLdjxpiG7q/5n7duEd3T8Wej3ulewf2Re/ranRvbNyvv7+yCW1SNo0eSDpw5ZuAb9qb7Zp3tXBaKg7CQeXBJ9+mfHvjUOihzsPcw83fmX+39QjrSHkr0jq/dawto22gPaG97+iMo50dXh1Hvrf/fu8x42N1xzWPV56gnSg98fnkgpPjp2Snnp1OPz3Umdx590z8mWtdUV29Z0PPnj8XdO5Mt1/3yfPe549d8Lxw9CL3Ytslt0utPa49R35w/eFIr1tv62X3y+1XPK509E3rO9Hv03/6asDVc9f41y5dn3m978bsG7duJt0cuCW69fh29u0XdwruTNxdeo94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/sl0p8zAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAHBbSURBVHja7J13mFxV+cc/M7OzLbvpjZBKQhISUgAhgAlVkADSRcDyky4iYAAhAmpQQtMIiqigYkV6FRHphgBBKSGBkB5IIb1sdrO72dmZ+f3xniGTzZR755a5s/t+nmefTGbuPec7Z8497ynveU9on5m3YJMuwNnAt4B9gA3A48CPgY0UyPxJUzN/MLMShxwDXAMcAmwGbgD+UlBKhzVn/+yqqwrVFwIuBL7tZnkyYwaK98yaNb/QW6uBk4DLgfHAduDfwI+ApYUmOnHiKC+0AowAfgh8EYgAvwF+AMTd1OlQ40nAtcB+QIMpzx8Cy70oT8U6YZvXn2x+tN8A44ByYE/gMmA18B9g7wB9v58AzwNfADoBA4A/m4c5KPwWuCdDef4X6KVVtF1yGPAx8IDpAFUBPYGvAguBucCRAdJ7CvAecA7QA+gKfB94DKgMiMargaeAQ0159gK+BrwNqLUoIUNzFPAw0C3L5+XmAXoZ6B+A7/ZNM3rJxDTgl2Y0UUwmAxdl+WwI8HOtou2OzwFP5+hERIAxwDPAhADoHQvcbxrvTB3PZ4HaImscDmSbmukO/F6rXWkYmgnAP4wxyUd/U/m6FPF7lQO35bnmMuCvQLSIOs/J8/npQIVW03bDPjaejWrgn8boFJPpRks2jgReKfLo+yygLMfnhwCDtPoF29CMMUam2ka6Y8wDVV2k73Uw0NvCdV9F1kOqiqQzX+WvQqfP2gsDkWlcO79nD/McFWuGoAJZk8nHAcBM8x2LwRAL1+ytVTC4hmawqeiFNHaHInPQkSJ8rxob156ILBp2LYLOkAu/kRJ8egEvFWgw+iPT0cXocJTnGSmkMxJ4zfxbDJ1WjKYSQEPTC3jBYW/qJODX+L8WMhuos3H9JDP876NVQnGZLsbIDHOQxt5mVqGTz9rrgTdtjtpmmhGOouQ1NF2MkRnmQh4XATf7/L02GyO3zcY944FZZhSnKG5QDfwLd9ZZJiBOBOU+f4evAAtsjt5eIVhec0oADU21qdDjXMxnKnCJz99tJuIpt97GPcOA14HRWjUUh5QDTyAL0W5xFPAn/J2OXoV4k75j455aZMr9ZK0GSiZDE0XWVQ7zIK+7kI2efvKO+S6f2LinnzFSB2v1UAokAvwNONaDtM82z5KfbDBG7lUb91Qi+2z+T6uDkm5oQsAfkSknrx6+P5kK6ycLkTWYj2zc0x14EYkqoCh2CCGbcL/sYR6XIDve/WQbsu/rKZvP/B+BKVotOjbpHiW/RNx9vZ5OeByZv32vwDQmG51DsOdJYne/TCdk09xXgUcdfN9DkE2urwGbXCjDLsDvEG+5rcCTSASENVqdA8HtwAU+5HOjGWn8psD7RxmDNRZ7TgZ2p+1CyMbjzkZzoR3izyGOSf8DVrrUFv0S2cvWgqyl3Qgs0SrsnaH5IfAdn/LsgrgTH2rzR031FC/ysXzKzSjsBex5sQGci2wa7ZXWIzzZ5vRDW6oR76NJ5v9VprE4wxie/2qVLirXIaFQ/OIu03l52OZ93wTuxd/NytOQdZv/2bzvGMRzNeWY1Aqch2y2djLqvK9Nx/prSKidc8wzprhI2PxoN/qcby/Tg7CzN+BbPhuZ9JHNWTbvmW4qcvr362xGH/sXqCOCrJ9NylKezwB9tUoXjfPM7+4nEdPg2pmOHoXE1itGRIyLbV7/VdNODGvTOXY6xf8rMs/e1AAPoc5Anhia64uU9zDsxSD6VhHL6ds2e2DX5RjNPYd9t/GQeThOymO8r9cqXTSKVfblyNRuZ4vXX4D/LtLpowarcdGGmPYhksXAPkhh671T8zzPVfi/HaNDGJo9LF77EWAlhvetNvK342s/oojlZGe387UWRnN2A4/ebNHQnqpVumhYfY5WIfu18vFzZO3ACt2QfWBW2KeIZVSB9ZhjV5A7MnQVst5rZ3PoNy0akckUL3xWuzU0b1h8OI5FNkLm4zc2jI2dDZUbi1hOG2xce6iFawYg61TdLVx7iemFWaGzVumi8YbFenQcsMLCtS8jrsxWz3tpKIHnCGCLxeusRK7ugkytWYl1dpIZIVmJUhLFXhgrxYKhud3Cw3GUMTZWuQ5ZuM/HEzbSfLqI5fSkjWuten+Nwto5GVNt5P2KVumike8EwTrEYeNDG2k+jkQZz8cyrHtxPlHEMnoLObfKTYPUC2ubYi/Cusfc+9jb6K1YMDTP5xhO1plh5GKb6SYRL7an8/Ss7Cye/gg5LMpvmhCPGatML9JvuQR/3GqVzLyU47dvBE6jMK/A35B9zS/1rH3X/GvV0DxVpDK6zsa1P8H61KHbsxdnaHV239CALGSex65TRNsQd793Ckw7bob+r2X5MU8E1tqsABOQHdfNPpbRbJvTDffZNExuPRyTsTfFp7jPDchO+LVtjMyZyFSYk9HS3VmesSuw546bRDaT3oi/02hbsrQF2XgT2SIQ91FjI/AldC+N66Rv2PwjcpLeoUjI/FkuVMTUD/d7Y1i24GyD4Xrg66bn3gfrIcwxUxDftZnfJxTmUn2jGdJf6sNvmBp16sMRDP6CuKEfjBzP/KbNDlWu+rsNcQqJIGGSbkKmo+wSM52hn5jnyM5xzIcj0+J2PNe2m05nzKbOvyPrML/24XdrQQKIvqVV2FtDkyrsVz1oCN0Ox7EDawuqIIt/PynAyHyALNyudtAwdMXbaAstZkrmHa3KgSJms/dudSRyHfamn6zMOnxq4/pTTaNvx8hsAk5w0ID/BnGaucnD3yuJzOg8o1XXG9r7oVoRJFyL3T0Os5BgnKtdqLxeOTHETfovazVWfOAi4BGbo5+V5jlyOkqYDvzCw+92HTKbo6ihsU3Kz/58m/c9jbhyb3FBQwvZ16mccpk+HIpP/BCJJmAnztl84PNY23tnhSke1fefYW/vn6KG5jO6IN50dsNU/AGZimpyUUtqnWqei2neSuHBFBXFKiHECcFuiKo3kVBJK13UkkQ2XLo5Q3A/cI3+zGpoCuVeYGIBw/ML8cbLpQ44GncW7H+Hu/P0ipKNb2Mv/BLIOscXsLa52y6tZobgPy6k9SIy9ZzUn1kNTaF80ca1CeByxDXVy0q3AZmSW+UgjaeRSAH6cCh+MNnm9X9CHAYaPdTUiERBn+sgjbdMGi36EwfT0Fhp4BIB+F5Wp75akLDgfp1YuBw4nsLOpXkDeyFJFMUp221ce5sZIbT6oKvOjJoKmSFYgkxlN+rPG1xDk8+luIlgbBq0Emaj3jT6D/msbR7i7tlo857j9eFoN6x04VnzAysRBJLIQv1Un0fahcwQrEK2LOjG5oAbmnxeH48he1yKzfQ8lWkdEjn6pSLpewtxVGix+HAcj/2D15Tg8mCekf/7uOs84kTnm3lmBL4G3FkkfXZmCOrMtUu1+vlPmc3r/4UsRl+Y5Ue/MiDfa7UZNfyT3Q9XW4as4RR7J/1LyE7k+5Aw722JmYf8Apyt6yjBYw4Su+8nGT7bioSxCQIJJAzVv9j9wL4G4HTEu7OYzEPWkv6BRDloS9xcc4mbxnvWrPmB+IEmThxVEhW+EGeAi82PNtf0aFYju4UPCtiQ9H/AOGT9ZRUyrfcY4tsflHAtTyIhzi/NUJ79kHAfi1HaIzchMdBmI7H7NpsRxEFmRBMU1iMenFORM6l2GM2HB8DIpD/rQ0x5vmnKcxMyA7M3sJ/RrJTIiAZkHva3WDsGoNisQTzKLg+wxjpjWH6t1bFDUY1sgEyav4TpfScCqLUJWey/LcDl2YRELnikBH77k5EDEsebkeG/KF50en8MzfxJU/WRd4MZM7QMFKschhy/nD6tW4XExTsL2U1/BR3wfKHUVFCxp6Y8nJK6po3BrgK+gawfTQIW6IimKI9kM4rSjvgcsh+qS5bPI8AYZOPjUbgYTXjixFFWGvAIsmbY3fzb9nWuz3Yga7h3k8VrzmEDPhwYbUYBb2L9VNFUg/4dY8hHmbZvCTKd/jNkbcxrRpL97K+eSJifw9XQKIrihH2AZ3MYmXSqEWeWI/HOA60PEl7mc0APYzScHAdebXrs1yBrjlchO/Cd0h/4K3BE2nv1yHTTneR3q+6OBJ8dl6Hhv96MJCfhvdPN2eSOF3cYMJBguLa7a2hGvVb8eHLtYvruqquCo0Wn8YLIQGTxvJeNe3oYw3SIB41gZyRK+TCPvu9Y4DkkUsA/HKTTAwlKO7jN+7XAz5HF/kvzGJvpGYxMOoMR54xvelwHBlu4ZkB7NDRhff4VxXN6Ie7s/Qvszb9s00BZ4bseGpkUEeTQw04O0rg+TwN9CRIMN9dIYYKFfD7nR8fewjWh9vgAhB1WgM3m73qUFF8CPkRCcSR9+ms1eZ6kxR84uhgj46RR39uMCjq5qOsMn75/byQieqGcbuGac5GTTbMZGysLvT20qgbP0HzJDDVTi4A3aSP3GX9GFhsjPuYZMXn+RYs/UFQjrqtjXEhrAuJEUO6StmE+lsP3HdxrdRR4DvBwlvKxEkm6m1bXYBma/mTe8zHDg+F9KfJQB81b2ZVyJObeIS6meRQSIdmNToyf+3VGOrjXztrUaYgXWUUBhqYC8UxTAmBouiCLk/2z9JAecrHHVapcgr1z2N3ieiRqg1J8IsDfkKCPbnM27kQb93OjipN1h6dsXn8iMs1Ynfae1dNydVTjEWU2H57780wDHImc7X2JawpnVgantKzv6TkTWcD1y+g+CNyi1TkQhJCoGV/2uDOzFvixgzQeBg70qUycbIb7MbKTfqCNe44xHeITkb02dgzNp1qFizuiuQsJVJmPb2H/VL72xuv4d3rf28D56GFoQeF2JBCq19zosEP3K5wdHmYHJxHdNxrDYfdY6FQsti42DI1Th4Awspb2JSRWoRuUIxs5601Z/AUY2l4NzVSblfpOZD7ZbWqR8A2fIHPMXnlxJUwet5k8C+F+vD9y+VO8P9FQsc51wNU+5neXGT0XOso4GtnJPx8JTPk8Mv39G2QH+/eQTZfFrl+LjOH42OZ9hyAef1an7pxMnU0GFiLBO59Gotmf5fB7p6ZgLwJqjCH8OhL9e3IpPRhWps5OQjY82SFqKuwhuBcpuRqYiQSi82P6YyCyw/lYJOJzIQ/brchu8G94NB1xGnqEQFA4r4DnxCkRZMf8RmSqtpDRwkU5Pu9sjE91AMp3ObJz/kUkFI1VDjDPoJeG5qtmpBFuMxL5i2k3nnbQkcg0BVuDxMo7gBKJjZZvRDMBeIDCvNN6Il43XVzSer1PRqYt43G2T+jCAhsBK+m+hRIUirWXrNw0Op1dTrcaibc2IUBlvBIJQ/NRAd/FK0OzN7JhNJylw/2AMZB2yTeLVF2Ejo0nhmYvdvfesMu+Zujnhjvm2UUsJyd5t5iRh5vxqm435aoEhz0sXrcKCf2Sj59j7QTWVAPpZiesCvH2mhTAcl6DTKPN8SDtQgzNVezuTt3WIDyNhOSxyiVkD76ZzomzZs0vD8ohbIUYmi7IoVxu7Is50WKh5WPPIpaT07zrkLUUNw6Gewbv134U+7xh4ZoNyJn1VmJZvWw6OHGL+Te49D1SI6QvBLisNyDrS28HwNAcYOGaLsiU3xAL156ETJmFLP5WnUrh4QhnEf847uxmTnENcra4E1YXsZzcyHsp4o3iZGH1Q1OOcZSgkc+9vM50uj60kebjwGUWrlsGvOfCdyhDXOWPd7ls6jwo783GGL7uYprdC7hnq8XremFt8+73sD4D9DbWPeoCZ2juxRuPsd/hbL73gSKWk1t5v2V6qYW4Im9Czm+vQwkiL5F9zrwRmT79bwHp/ibPCDaJBMh06t6e8nA6tYTKvM6MEP9TREPzQ6xPcbo9qju7VH6otoZmKvB/HuVVaXpo/Qu8fzrezMvmYw7uLro9jf2pr1bEjXUJSpC5wTw/a9sYmdQGXiejpbszvB9HTuL8h0PdISTK8lds3vc84tJbTBrMCOzfLqRVyNTZm/i3Zy69Tn2plNqDdEPzVdxZS8lFP2Nsqgss3MOQmGp+nNewAlmQPQz39xHcanqqVvku3niuKe7zF8Q1/jAzihmKHGDmlMuMwdkCbEPW6j6P83A0IVMXv2nzvv+Y0Y9fvfnO5rvOR6ahlwLvINNHM3FnDbdQ9+b7kdM7/aDFzGyUlMdpah/NocB9+HMWwoGIO+A5BfQC6pENcVdT+lyGnLORb+PVPVl6s0pwiSGHdblJ0oyE3XYE+Tn2Y+S9ifP1Rrsd4ieREFde4mTD5q+RdZhpHupLmtHTC6X2QKQMzSP4GwzzLMTdN/8I6rBm2ilxZI71NbI7XrwCXK7ttuIRl5vRsh3eMZ2jeh91nuaDkXFqaEDCAvVCTvz0gmvN6KnkCJthc78i5D0dCT7YkalD5pcz7e5fisyZt6Ao7lNlGkY7zAO+yK4OKVY2czvtLZ7uU5m40au9zCNjcCvw01KtbGG8jTJrZWTT0VlF5iCkV+LOvhtFycQEoKuN6z9C9q5savO+lViAOxxqHe5TmfzZhTRS01vPuKjLj7iJnhua85EFNj/3ZsRNnv+nzzsgXkM3ID75683rp7VYFA+xEyx2CRJBeUOBowCnbUvYpzL5lUvptJjZCDf2+PwT/73aXKcMCTXxlD53RWc6JRS7SCl5rG4c/QTZV5dt0/LLFkYcTj2kluB9nMMluOuq3Ygcq5JrDRYL5XYm7WD6vEyfN5eYMUPLQCklliFhUXKFmlllPs91FsxU05B+PsvnryOL2E54AjjDw7JIIjvy3R411CHR319DTiC2a/j89Ozz1tDMnzRVHzlF8Rcrh3j5sVfsXNMIDs6i8RjybwqsQ/YMnYl4h40w7y9FTvF8GDnfyQkPIftUDvGgDLYi3ndPelTGaxEvvVexvtdnFeJl127WaHVEoyj+86DpQWdbe3gfd6N952rQPocccfBlJGrHKmRT9XRkvdAKCfOdHvRIZxyZhrrNGLVo2mchcjs1VJM5uvJyxJPrYazHKyuUJcbYvEb+Y1NyeaKWrqEZ9dqtgRCiIyufuOqqYOnpmFOOc4AfAT/J0sP200lmE+LheGVQCidL2Pst5D6kzRMNEyeOcivJecg02jNkjorfYurFFW52MoJyhEDpjGhmVhY3//a7cVQpDjchi89XIgvdjUjssB8Ci7V42iX/RaYpT0M2dY4HtgP/An6A/aOqS2dEU8A9XZAd7d9CjkjdYIbaP0aOhu3YtF+DGEJO9fy2/u6uUI1ETE6avwQyRZTQonHEPsZYH2PK91dIWJigHK3RiETJLoWDC7+JbEAdbUa+T5myXG83IbuG5mTgj+waqmFPI+ZiYDZwgY89sj2Rk0ArkXnaKvOXel1ptKa/rmxzTRVyBvd7wJ3I/pXt+rzuxm/bTF2kfvcTkc1/urnUOocjYZ/Sp1CqkMC2ZyF7zK5AQhAp1jkN2dyY3tu7ARiFxFbc4VZGqSm1Yk9NuTi115Y7TR1M0Q85+fN4YCI215DsGJqjkIWzbDHRypGFupcR7xAvF7MipuE7H/cCgR4E/N00mBfizt6iEOLZc4Xpae1AFgSnYf9skqh5YHoCnwKLfOylTSb7/PgQJDDj17Wds8SBpm51yVG3xyBz+UfhfZTersjR4HYX2TtlaQuWIlGmH0GiTPvFOPP8VmQxQM8iUY/9iNE2wjyrDUgAUjunn1aZ9uJMk0YYcSZ4xDxnfpxHdVgbI5POIKPjTDsJWt1xOwHZvW4l8GZ/86N28bAgrjYjJy+iTfcCHjOF7dTI3IdEqh5rHuIa02i/bvRboQb4mTGAc5C9D/ONsbkO66fxOeGcPJ+fTu5z05Wd0zr/tPhsVJtrx3ioJ2Ke1QtN47hX2t8QMwOQ7S9bWzAUOdtmKd7ufWnLLXnq4FHI4XQ9PNTQ34xCFyDTys+b5/S7Fu/vaTqgtwD7me8TZed04DvAHj6UZb4D1U7B5hHSVgzNGGNk7JwhM8ZU4GqPHg6vPWQipnF32jh/M8dI8l5knSsX5UhI8KsyNE69ERfUe32oeIMs9MJ6qR3JW4bP2yynHuY56u+Rpq/gzd6UVKP5EOJp5TVVFvM50MwoeFGePUzaR7R5vxa4A1krytcxvhnYN8fnQ43B8ZoBFmZXbJVhPkMz2FT0QhqRQ5EjkN3uce9jGlk/pjic9B7yGZEQcoZFrgOTTgUOzpPOuRYqhlNCLtSljkxvMxItpIHrj0xHe2HIvT62OYwcVOg1lTbamX2AWbgfqPN6Mm98TXEpcrZUrufkIAv5HBSQOl1utyJko5fpTTux/ieZxtTNKa4ePhbmjx0aRCsN+C/JfubMEItpDEIJKl2MkRnmII29zaxCJ5e1DfXh++9rsR47YQty0qad0eVMZHrKLawcZXAhEiE6m1GMWUijWyk+BOEcD8cLDh+OFBfh7hHRW30sHyfHGFhdAAwBvyDzdGCTxTRqUYJINbJHwo11lgmIR6SbBxT6FRH4Uh/yOANxkLFKHyQszOEu5W+1Q/41xGkhmsVg5qN7ezE01aZCj3Mxn6mIa5wbzMe/0/2cjMRetHn9DHY/otpqQL1qlKBRjgSDdHMN5CjgT7g3Hb3Ip7I414c8PkEceN61cU9n0xH4kgv52/GyPZPMpxpbMTRd8McByFNDE0XWVQ7zIK+7yO/NYIUY8DufysdJ5NRbsO+K+FNjlFNY3c+jhiZYRJD9HF4shJ9tniU3eMyn8vBrF/M6JBjlf2zcU4V4iH3NYd52t0OcbO6psmlooASnz8Jteu9/RNZVvHr4/mR6ZU6ZhvinB9nQLEWm3pps3ncLO0/Ts7oPoUbb9sAQQhZ9vXTtvQR3vI8eR6aPvGaLj+W/DdlC8A8b95QBfyH7WqkVfoz9vYPHsatH76b2amjSN2z+EtmZ7PV0wuOm1/Geg3TqETfCVMTZHcYo1JmGvRHx5jrZhUrrhOcQn/MnbI46ppvfZpbF62td+F0OMRX4NRsVPt8Q/3dI5ICtSBj2nwBr2rmhuR3ZSOw1NyJ7q37jII2EeUamI8c0p/ah1LEzFE4lEoLECZsd3LsvEnVkLPacIexGPUmtldZQ2JryRuTsHrvehUcD/0aiU/s1ooki3qw9gTfMSNApnZGtFieZ+vOPdOOb+jF+SG43WzfpYgr2UPKfdZGLFjM9kYkfuWBkwJ1QNM+bwn/aprG5EXEtt4KTqbNzkfDrvdKM68kOe7rVpqJNSpueuMT08k/EflSEUuE6dl9n85K7TKfgYYedqcty/I5PFtHQnGdGh34G//0JslH2/QLuXcjO6CiDbdw30bQTj/hgaL6C7Ozvl9bGnWmjrcnWUX2CnbNVVYiH3anGgP43bH7MG31+IHshi3Be7A24HplacwO3Trd7yRS43fSO99jQTEeiF/Rq0zN5Eti/wDQjyDrfpCy/+zNA33ZoZM7D/6O4I8BfcWc6ui01pvE5xoW0Cpk6G10EIwOynODEcWk54slmtxM9AevbKQo1NNcgZwb1S3uvkzFwBzuog/dnqYM9U8972DTMxWAYEqrCTaYi4dfdws1jVF9F5o4bPGoU7HIMO9eCMo06n8O+e3sI2QF9Up5ORrHqnJcU6zuVA4+aDoKbsw7P457rbyGG5iKKd4zJN3G2Z2mFKbuPCpgJsEIhLs4HI+u/2fJ9jsLc8O8i93pkL+AHYazvfv8IcS3Oh52T1I50sXJcnaMgnUwruMlMY2zcds8uZI0m3znuvcwUgJ355pvJHxEBvN+RXgysPkersLb29nNkethqD3e8S9+juxmBu+mWXYih2aeIv2UFzjdBf4qsI8/1QF8hI5qryb1Bv5DOpdVtKyeHkcUgKw/HsViba/2NDWPjVkM+BXENdhsvjguYZYyNm1FYC5k6O9TCNQOQ9TQrPahL2NU1OxedaX9YeY42IJ5GKyxc+zLiymw1QrcbI+XeJt8DXC6bQgzNpiL/nm7kvx6ZUnrXZW3dPHre+yFLGr0tPu9WO/a9w4iXTL6H4yjsue5dh4Txz8cTLhT6Fab3ZwerD2+jR5X4ddPguGVsCjE0Vr2/Rpk/K70bq7THc1byPXR1iCPEhzbSfJzsC/XpLMOZF2dqRPYq7m7UdmJonijib/km7nhipQzWUbi7HaMQQ7PW4nXDkDiPVgyNVf4RRuZib87xcEzG/kFmScSL7ekc12zE+eLpZUhkVDvUYX0+vdHDyjzbjBK3upBWIWs004v0EC/B+hEJpcRLOcq0ETkTpRBvu9+QfS0t9ax9F2fhZAYaI2N3usrq81HI6OARZCG5GHzf5fTqgC8iWweKZWhuxr+QQ+ksBS5Pzdldj3jNpJ+SuA3ZA/JOgRnEzdD/tSyjpBNtWNlsFvUX2AsTU4csgltdpHM6tRdBDgSbgUwnXofENLsI2czZz7zvtAIUskZzH+5551llg+m4tNfTOG8A/q9NvW5E3EdfdjhaujvLM3YF9jYntmUIspPebjTj/2F902ghI5qkMc434e802mbTCXSbejOL8aILaRViaB5Fjhvx+3k/Dlid7tXxR8RN7VDkZL1ZOD8LvhGJI/R7Y1i24M7GvQvMg2fXyBxnHpBzLN7jZI0mjIT4ONmHH7RQ9+YbkUV/P4IepkbHS2jf/AVx705tiHvTYYcqffS+DXG2iCCOJTfh7ATO4abhs3vMxCzzPFsdmRY6ao8BPzAdoj7YC2VzpBkNRm3csx3nRz53ZvcNsFvTOpNuhOMp1L35DvO8f9+H5yDV9i+B3d0HW3A/JEUdsoPfLQ4yFciOkalH9qTMtjkCcDJ19nWfjIwTQ5NqwLribVSIFtM7fYeOQczFaZL0Hv515J5Gs0NPJEK7XSPzimlAttto8JyGoIkjXlxWOcN0RO0YmU3IXjcnhjuMxC87wuP65eSolOvM836Jx8/7yellWYqHVV2PPf/6BmNk3iigYXZiaM7zsUycxDpLGq1Pe6QtbtJ/GSVI/ABZm7HDv81IJjXSt7qfw89YZ99GNiXaOVr8E2R3/lsO8z7NByPjZEST3rl80CNtqfbkxbYWuNSws/em0fRSZhU4AnCyRrOfj2VS5UIP5GwPeuGpSn2/tuuB4xSb1z+NbMRN73wFzdDcaEYydsLofwB8HljgQv6n+/Q9dzi8P46sJb7ggbZrMz3vpWhorM5xNpqRzEwHIwAnazRVPpbJHBfSSM2pznNR1604C/qoeEc/G9c+ikx/txTQs64HWj3+LqmI2XYjWs9CYpOtdknHCJ9+u/tcSKPFdDbecvl5z7ifsRQNjZWGsNH0vv7j0Ag4MTQrfSwTt85lr0MWMd1YsP8d7q0nKO5jdc3jfsRDMlOUAiuGxg+PscsRT067I7RjXR5thXz67e52KZ1UZ9yNzuX9uZ73UjQ0v87zeZOx1C/luMbK5rbN2Ntc15YXfSqPjTiLvNqWDeYBXOUgjaeRxcYkSlCxcujZH5AplmwbnK0cK+3HtJndEzL/gKynNLmsww+Pyg+Aj11Mb7MxNssdpPFPZF0m6ZahsdJwJHwYNv4xxzD9FPLPPf6N3HsPms0D5sQZ4Kd4u+ET0wCcj/uBOpebyldIb/QN7IVOUYrD9DwN1m+QUO+5fkcr0y7/8+G71Nn83hd6VD+9jmaQwJu9MKkQY4Xsb3sL2SeWMy6fXUOTL0ZTE95vxkuaxvUbSCiXTUbXn5AF+OctNtCnGGPyH2Og4ubBuxeJYup0V/Ji0+Bu9qgc3jaVwytvsXnYP9pgnjFQjSi5WOnCs+aUTchRDq9m6KxdieytytexvN70sLOxDH+OILHSwCeQKbYbPBxpP4Q3mz1TMxdnWmzfCh2NfcGm0V5iRpN5n3e7YbjvJ/d+i8dw7hFh1dj81fw56R38xfx5xdPIPoXhyL6FSmR9qFva667m39TrSsQrLv11F/N5Ajnk6gfY21dQKG8ha13PWpgmWWWMTB1KPh4Evpejo/c+7jpl5PrNjjT1c7QZGb9pY4S8EdnXdoVpBEchHl9LTFvwM9wJsZSPBxC35mwRp1tMx/QhH2YYjkcOEjyMXffxhMwznY1OWZ6xpUhkiEdwP5p8W+aa5/1f5PfMTdUdSwMLu4bmX8gi74VZpluu7LBNx8ysznCNuOMVZl3HYc1upvgScirffWRe/I2ZxukCnK3r7MpVVwXr950xw83U5iCnwP4kw2dbzUjbTxaZv0JoQryNbi3irxNHNmlmOlOlHjmW4iWftGzBvmNCoFoyxMPw76aDm+l5fxuZVbL8vBdysNDFSNjrS4CRxqI9ZR6cjZ59fXcbT8UeTyI7wr9qfn//fvf2y03I0b9XImfJNJppkR9iP4itIiP8CWZ09Q1gr7R26n0tHls8i5xDdZYZKY5GplqfMbMptiNbF2JoUmeJJNv0KIo1YvAH7w3dMchRq4cg6zo34O20nl3qEI+/Xwf8IQmZEfe3kWjEG5Bw+z8OoEF8BOvnxLvCxImjaMf4Prpqx+XZgMSodOUUZLuG5mTE4yt9CmVPZPf3xchC2AXaI7PNT4xhSdEJ+DMSWdfdxdTUFFD7Ndy/bTN1kaqfJ5oer6vOKu284VZKnKDUTzuG5ihkITrbonA5sgD2sumVr/JB/56mMU5fVK80hjD9db5F+Bpkb82diNtzg4+/wTfbGJl0piEB9K7A2z0pIeBck88+iEPHayZ/u2eoRJFF4Z5mOmMR/rk6Tyb7/PgQ5IC8r2vzo42jEkxDM8E0wFY2aPVH5vgm4Z0HUgj4pZkecWvT6UHIAthGMyp7yofyL0c8VHJxGRJT6lxkIc6LsrzPGLx0YzEZmc67xOLwucYYpgvYdRFxPXJu0G0+GJx8xz+cbvTt0EdfUfzDSiM9xhgZO6HoxxhjU+2R7suREzy9iGzQE3HNPMyH8j8Ya+dzfxVZZ/Aifto5bYxM247IvcgZKPkM5gvIZrK2niq9kU1y9/pQnoPyfF6FnMehKEqADM1gYzAKeTgPRfzbIy5rDgFXe1wuEWQPgNfYCe9/IhKmvavLGr5lobx/bQx7Nk41RjMX52L/7JNC6oYbnStFUXwyNL1ML7W/g/RPMo2Um8HmhjrUZJUDgT08zmM29qYXJyFuxn1c1GDlnPjUVOXlWT4fYjGNQfrIKYoamhRdjJEZ5kIeFwE3u6i5t4/l82OP099sjLGdHb/jkfDmg13SYNXxIYSstWTalGs1OGGtPnKKooYGZF3laWCci/lMxb2jQ/3cC3GWD3nMRDz61tu4ZxgS5220C/nbjTI9g92nLq3GNqvWR05R1NBEkXUVLxbC70KCTDplCf6ccZHqxfvBO6bMP7FxTz9jpA52mPct2PcO/KnpPKSwem6PGhpF6eCGJoRsxjzJo7wiSITloxymk0A25fmBn1GIFyJrMB/ZuKe7GZEc4yDfpWbkZvdsjlvYedCR1am/Gn3kFKXjkb6P5pfkjszsBuWIm+6RWDt8LBs3mxHApAAbmsmmPIcAFTbui9rMpxMSg+iryJG7hfAccmzCEzZHHdNNHZpl8fpaF+rPIcjG29dcGtl2QQLFnogEtHwSidSwRpsHRXHX0PyQ3O6rbtIFcdM9lMJPpGtEjhz+MuIyu8O8V4ccWrYdWRM6zaHWQsJyh9g9DIrXlJvR4gsUvkn2eTOafdqmsbkR6yd8Opk6OxfZ9Nkr7bc5md3PU7FDNbJHLNVhqTL15gxjeP6rTYSiuGNozsOfw4nS6YUcOXAohceeiiE7+TPxfReMDFhfe0jnWxQnTHgnZArsHgdpvIQcdvZPm0bheI8NzXR2P4+8sxl9HIVE6bVLBFmPnJSlfj4DjAXWajOhKM4II6fkFYNhuBQZtA3fwz136kKmzr5VxN/z2y6k8Soy7edFvLdC1miOyWBk0kfHz2HfDT8E/Irc65G9ivhsKEq7MzRWNyV+BMy3cJ2dEN1Huvx9pgC3u5heIYZmRBF/z5EupTPTGJt6l/UVskYz1cLo+GXsbeK92WKH4FRtIhTFHUPzhoXrViHn02+2cO1vbBgbN48mvQKJzusmhegr5pknbobAn2WMjZuBUQuZOjvEwjUDkHW/7hauvcSC8UrRWZsIRXHH0OQbAWxA5sHthP2/DmsuyE+49D2+A9zhQfkUskbzdBF/zyddTu914DgXjU0hhsaq99co8+d0hJTOK9pEKIo7huZ5sq9p1Jlerd2DzJKm8X86T89/ugvf4RLENTtkU58VCpk6+xHwcRF+yyYkTL/bzDaj2a0upFXIGs30Ij0bS5AjBRRFcUjKvfl682C1dR89Bdm1XghxJBLAc+zu2bMB+BLOPXouBO62aWTqTONlZS2nEEOzATm/ZwbiJuvXUZazKXzaLoIcFzAe8ebbhriJN6S9vhXZpOkkWkIhazT3IVNj03x8LjaYDtYGbSIUxT1DAxIV4H7E5bgrMkfvdL2h0RiU3yP7Erbg3oa48xBXXrtGZjLW5vJTxrYQ1iMnOV6ARFq2c5LpZcB3beb3CYW7VIeR83dO9qG+FerefKPpAF3qg8ZUHVmizYOiuG9oAFpwtgEu24P7ZZfT/Bqym9uOkalH9nu8ifWYa9sd6twBrLB4bcgYYLtG5gNkHWV1gRq/7pORcWJoUga4K95Gr2hB9l+9o02DonhnaEqB/YE/YO8Aq+3GyLxhs8HzK9ZZxIzOzrd53yxkL8gWhyNDv3AS6yxptNbiTTy+uEn/ZW0WFMVdSvG0weuQkCtWaTRGZlYBPWs/DE0VEv/NrpF5Glmk3+Iw//18/O2cHkXdYkajr3mg7TJk6lhRFDU0tgJpNiJrQzPbvN/J4v3bPP4uXdgZY8wOf0CmeJpc0FDl4283x4U0Uut+81zUdSuy/0tRFDU0toxEI+I1l2kvhNWNeNs9/i73AhNt3jMd8baLu6RhpY+/3QyX0qlDgqq6sWD/O7KHuFEUpYMamrkWrmk2Pf4XsnxudW3Ka0PzRRvXJoDLgRuwvg/ICi/69LttxHqUZytsQKYOVzlI42lkH1ZSmwJFCY6hsfJAJjzWfFeez1uQGFX/znGNlbNwNgMfevxdrE59tSD7XO7yQMNP8X4tKo6sQbkdqHM5sv5WyLk0byDrPXFtBhQlWIYmn6tuE95vcnsAme7IRIMxMs/lSeNhcoe/aQb+z4cG2EoInpRb9kMeaVhsGtzNHqX/thl5eBWaZx5ytEGjzXuOx98TVBWlw2LXvfl+cu9jeAzZO+I1FyFuqJcAo02D8Qqyc32BxR72Gch+nHMRl+lOyHrF86aX78eGvelGR68sn68zjajX+zqeRnbfDwd6ItEMqpCTLFOvu5p/U68rEe+99NddzOcJY8x/AHzqQzm+hThUPEt+j8RVxsjU6eOvKME0NP8yo4kLs0xjXOm6wplZI7g8aP4KJQH8xfxZ03FYc/bPnypo0/pqTr47ddBYW2OzDPgiT11q3+AdVlB5NOKOV1ixeAn4ChKypluGz2PIZt0LcLauo3jMxRdfHBgt99xzj/4gRTA0ABcjJxpegpx/sgF4CgkmuVGL1CZPXfo/Tr57HHIq6KlAD9Mz/w5PXaqnO9rjSTOy/aqpp57Xz1JpFLXxVkrF0NQg0zhHIsEX+yLOAT2R6Z8DTI/4FdNDbyjSd2qrcwgypQMyXbI8cDqfurStzkmm0fROZ67RWWlTB/za/BWDPZCp3QPwbo9SEzKdei+FxwwsFZ19kaC/JyKH25UhzjG5PEIbzAg2E0l2j0QeQyKuP4Ksm6oXYhEMzTDgWmTBONselt7mb4LpSW5HFu1vw8Jax/xJU934Lp7rdIlS0VlcZswoRdWnIFOxtT7k9SXgKiRW3VPtVOcYxP2+d5v3y8m9FtetAJ0HA2eZTt2ZqKOIq+TyOqtEdkx/iMxrd7KRbidzz4emcfQyVL7qVILAvsiaYa2PedYi3oj7tkOd5WZ00dvn3/EE3NtYrOQxNEORhdNrsRdXLFNlucakNcwD/apTCQo/ACqKkG+Fybu96TzJPDfF4EJkmk7x0NDsjxzhO97FfMYjQS33dzFN1emuTsUZRxUx7yPboc4Di6gzQqG+m0pG2q7RDEM2O/byIK8+Ju1Dcb7OoDrd1ak4p6edi+NlYbb0q6KuTyVNtVGSYQgloKo+Rpd1zXT7tIlIq+UgG7280llR1srofqsZ0WctvWrqiYQTxBNhNjTUsnBdXz78dE92tJZ5odPW1F6nUIgxkQj7lpWxRzhMp1CIeDJJXTLJikSCD1pbmR+P2wlb0kWrtDeGpgp41KNGMb2iPYYsvBUaeVh1uqtT8ZGWqggrxnRl3dBaEpHdz+3bQhWfjuhMOJ6kz9J6Bs7bSnmT/1FyOlc1ccK+7/P5oUuIRjLnf8TwBcTiEV5fOox/fjCObU1VvuvsFApxXHk5R0ajRNt+GArRExgaiXBkNMrmZJJnW1qYFYupW5nPpE+dTQPG+ZDnWJyd/6463dWp+MSGwZ14++T+rBneOaORSScRCbFmeGfePrk/GwZ38lXngYOWc9NJj3PE8IVZjUyKaCTOEcMXctNJj3PgoOW+6hwdiXBjdTXHZjIyGegeCvG1igqmVFXRORTSClkEQzMUmOJjvlMobDFbdbqrU/GJT8Z1Y8HE3sTL7IUXjJeFWTCxN5+M6+aLzi+NncP5E2dSUdZq676KslbOnziTk8bO8ccYlpXxnaoqagswGCMiEa6tqqKbGhvfDc1UsNQpcIuoydMuqtNdnYoPrN6nCyvGdHWUxooxXVm9j7fLBl8YOZ8Tx7xPoc1vCDhhzPt8YeR8N+RkXfjZOxLhm5WVjs446RkOc1lVVS4XUJ1dc9nQ1CKbB/3mLOwt+KlOd3UqPrC9WznL93NnNLJ8v25s71buic7+3TZz6n7uxG49db93GNDNcTDwjPOFFaEQ51VWFhQ7qy17hsOcWpHV03ub1l53Dc3x2Ns86BadTN5WUZ3u6lR8YNkB3UmG3ZmiSYZDLDuguyc6v7z/25SF3TlKqiyc4Iz93/ZE59HRKN1dnPI6IhqldzisFdUHQ3N0EfM/2qNrVadSdBq6l7O1r7ueWFv7VtHQ3d1RzYBumxnZd42raY7su8aNUc1ujdWR0Wjg01Qyl/PYIuY/1qNrVadSdDYMqimJdA8c7I23mNvpDotEPPEW26+sTCurD4ZmaBHzH+rRtapTKTp1fSpLIt29e6/zRKfb6Q6NRDzR2S0Uood6oHluaDoXMf/OHl2rOpWi01xbVhLp9q71Zt3b7XR7e2gMdJ3Ge0OjKIoHxMq96YHHKtxNt1N5iyc6O1U4OtV9t8WtMg8NTYa0m7UGu2toiunGt82ja1WnUnQicW+2YkRa3U23Je6NQWxpdTTy2s3jwctAPK3J3cp0h9Zgdw3N0iLmv9Sja1WnUnQqtreWRLqbt3vjje92uhsTCc9+q01J3Z/ptaGZW8T853p0repUik7N5h0lke6KzT080el2usvj3oxp6pNJNnhoxBQxNC8VMf+XPLpWdSpFp8dKb04D7rHK3XTnrBroic73Vw1wNb2F8TjbPRh5zGlt1XgzPhiaZ5Ez6f2m0eRtFdXprk7Fa0OzqtH1EP/lTXHXDdjcVQPY2lTtappbm6p532UD1grMisVcTTMJvOpymkpmQ1OPnCHuNw+YvC2PcFWnqzoVjwklkgx6f4uraQ56fwuhhLv979ZEmGfmunuixTNzx9GacN+p9d+xGPUujmr+29rKKp0288XQANwK+GnWY8BtBdynOt3VqXhM3yX1dPvUnTPpun3aRN+l3vQlZi0Zzodr+rmS1odr+jFr6d5Ok8kYIHZ7Mslfd+xwZaprUzLJQzuyrnepB6cHhmYJcIeP+d4JLC7gPtXprk7FB0a+tp5OW5ztVem0pYWRr633LHh9Evjda4ezaquzSNOrtnbjd68dTjLpeM9L1uHQ+62tPObQ2NQnk/yqqSnXmo8u23hgaEBOafTDa2kuzk+uVJ3u6VQ8piyWYOwLa+i6rrA9gF3XNTP2hTWUxbyd4mmKlfPzF77IwnV9C7p/4bq+/PyFL9IUK/e8TF+IxfhTczOFmO9PEwlub2riU50yK4qhaQJOBzZ4mN8Gk4eT1UzV6a5OxQ9j05Jg3xfXsNc7mylrSVi+Z693NrPvi2ss3+OU7S0V3PnSsTzyzoE0tlgzGI0t5TzyzoHc+dKxbG+p8K1MZ7e2cmNjI/+z6DXWnEzyj5YWbm5sZL0aGX/rf5v/LwGOQ7yX+ric1zrkvJQlLqSlOt3VqTinGcgZ7TKUhD0/qqPvknrW7VXDpv7V1PesIB7d2d+LxBLUbtxBj1WN9FnWQMTaKKbZTZ2JZIgXF4xi1tK9OXjIUsYPWMGQHhupjO5cdmyORVm+qSdzVg5k9vKhNMeibuu0tEayMZHg983NPB0Os19ZGaMjEXqGQnQxscu2JhKsTCT4MB7n7dZWmqw7EmzXKu2doQF4F5gIPIZ7Yefnmp63m42i6lQjEyTmAAdbuTASS9Bv4Tb6LZS2NFYZIV4WItKaJNocLzRv13U2x6K8umgkry4aCUBtZTMVZTF2tEapb670Wucb2DjIb30iwb9bWvi3O79lE7BQq7R7hHP0xCcAt+PMeypm0pjgUaOoOpWgcG+hN0ab41Q2tBZqZOzmXbDO+uZKNjbUFmpk7OZ9D7C5SL/lfeh0tC+GJjXMvRYYDfzeZsE3AX8w916Lt5FQVWdbrrpKa7b//Am4vwj53m/ybm86NwKnAVt91vkOMFWrs7tYCa+6GLgQmAKcCBwJjAeGAF3NNVuB5WZo/ArwDNDghsBRoWlWL10MXDg/Oc2WzlGhaZZ1znenzItanopnJIFvAP8Fvmt+Ty9ZjrjQ3409V9xg69y1k/QfYIx5Vo5G9tZUA7k8DroChfhWrzYjmVutdAJnzZofmIo3ceKodmFo2lbS9L9ElveLhjEcD1Kc3fl2SNc5wlTwY035zQKuBpZp+11SJIBfmr8eQJe2F8Sj4fDy/bqNbexafmhrNDwyGQ7tmQzJdaEkdaFEcnVZLLGgemvszSHvbX4/EsvoHlUHbPJSZ2U0Fj51/Dtj9+y69dDKaGxkWTixZziU7AKQSIbqWhPh1c2x6II1dV3ffOy9A95vjkW90AmwCsg6RL+npiYMHGgM0ThgEJDaDLQF+AR4H3j5rqam9z6IxzPF2on50JGzrNN0AtqVW5wVQzPMTNecDWSL+93b/E0ALkY8Nh5AdqsXey3hOGTaqRm4FHguYL/B54Dn0yodwKnAJOAY7C2gKsFhU3oj+9rXhnQz9e9CIFcQsPHACXW9K1kzvHYF8Dvg7kl/W77FD533fPXPtnTu3Xsdh+298DOdF9//f1v8KNx7amqs6pwAnAlwWVXVTp0NDVt8qge2dQKf6TRGqOQJ7TPzlmyfVSIbAaeQ4RAii7Qgu9Z/RI51hfmTsk+JjnrtViffr4cZFaSOON5mpgoKWmTMpbPAdZHPAS+wc8qsLRsLNjYzZmhT78cIOn/9DAHfBm7K8TvnYyvwA+DXuXq6OevnzMrA6OSwZifPkX86czxDFqbOfNNZClNn2ZwBhgJvmpGMk22+5cA1Jq1hRfh+J6UZGczrEwM0knkhTyXsaa4Zr016SVIDPAH8ykFjg7n3LuBxk6bqVJ0lRSZDsz/wusuN23hk3WF/H79b1Bi5tlxOYYuFfhsZNTalzWDTwTrZxTRPNmkOVp2qs5QNzTBkDaOPB3n1MWn7NbK5FBiZ4f0DgHNKxMiosSlNepnfa18P0t7XpN1LdarOUjQ0VcCjHn+RXsgO+SqPv1dPZF0oG9PJ7SIZJCOjxqa0iJg67mWHahgynVKmOlVnqRmaaYjbndeMxftowz/O05gPAr5TQkZGjU3pcC3iMeg1E8k8Naw6VWdgDc1QxLvML6Z4aPn3RVwJ83E90L2EjIwam+DT39Qrv7je5Kk6VWdJGJqpyOK5X0TxLszDnRaHlt2AG0rMyKixCTZXIzvX/aLa5Kk6VWfgDU0tshnTb84iy3GtDjgF2XlrlW/jrSeHF0ZGjU0wqQTOLUK+52JvzVN1dkydRTc0x5N9x7+XdMJGGHALVCCRje3ec3MJGhk1NsFjMrvu2fKLziZv1ak6A21oji5i/m7mfRmwd4EjqwNL0MiosQkWXyiR50h1dkydRTc0Y4uYv1t590FCNRRCqICRUC729tHIpBub54G9tL0vGsU09ONUp+oMuqEZWsT83cr7JofD1yNwLzTNz3w2Mil6IRGgleKwdxHzHq46VWfQDU3nIubvRt7jgfNcSOc23NkIVcyh9LHa3pd0XfYjb9XZMXUW3dCUOne69D1GuWSwikkcpSM+S2HVqTqD/nBsK2L+TvP+MnC4i3puxLkH3vNFLM8Xtb0v2brsV96qs2PqLLqhWVrE/J3kXYlMd7lJX5xvhLoa2FCEstxACYamaEcsL2Ley1Sn6gy6oZlbxPyd5H0l3px3frUxOE6M57E4P8LWrpE5EjkOVim9uuxn3qqzY+osuqF5qYj5F5r3HsD3PdJUg0yhOWEO4hTgh7FJGZkPta0vKi8XMe9XVKfqDLqheRbYXoS8G03ehXAL3p44dx6wTwkYGzUyweEfQFMR8m0GnlGdqjPohqYeeLAIeT9g8rbL54BveKytDHf2pHhpbNTIBIttwMNFyPchoE51qs6gGxpMoxrzMd8YhS3kh4Bf4M9RzCfhjkebF8ZGjUwwuQVo9TG/1gI7RKqzY+osuqFZAtzhY753AosLuO8s4FAfdf7UJaPmprFRIxNcFgJ3+ZjfXcAC1ak6S8XQgJx66YcXw1wKP2Fzms/lcyBwpktpuWFs1MgEnxuA+T7kMx9n5ympzo6ps+iGpgk4HW/3gGwweTQWcO9eFCe2z624F6zSibFRI1MaNAIn+/AcnVzgc6Q6O7bOohsakCm044B1HuS1zqS9pMD77y1SGQ0G7nMxvUKMzXo1MiXFEuSsEC8anQ0m7SWqU3WWqqEBeBeYiLvTaHNNmu86SGNCEcvpEJfTs2Ns1gNHqZEpOd4BPg984GKaH5g031GdqrPUDU3KMk9Azmlx4o0WM2lMcMES/7eI5TTbgzStGBs1MqXNYlP3Z+DMK6kV+LlJa7HqVJ2lRq6w+M3AtcDvkRha5wDVFtNtAv6OuDC7VUAXAn82lj3kU/kkgdfx7kzwlLF5EejR5rN1yAl6rhqZiy++ODCV75577ukIxqYRCWt0DzAVOBvrZ703IfvNbvWhoVGdHVNn0Q1NunW+EJiCHA52JHIGzBB2HvC1FQkuNwcJi/AM0OCy1mXApHbYEM0BDjIjv6ONcXsOuA74WAcF7Wp0cz7wXeAEM1Idl+U5eh8JbfIs/kfoVZ0dU2fRDU3bHn76XyLL+0Vj/pMbaswPmm4Qu5iP69oYxH+OOqVXQzF0zjr1/Ew6Uz2eo5FoDZ/pnPjEHxqKVKS2ytODDkZ7IxWJ40HVqTo7CqF9Zt6S75phyBTa2Vg/q2W7GfrdhoW1mfmTpmb/8KqrrH4Xz3UyY4ZjnbNOPd+RzolP/MHaWlcWrTamzjwvzw4ydaYoHZ5cI5pKZIPkFKDcZrqdgAuQmGR3Aj9C1ny8IBA6Z516vi86Z516fl6dEyeOKvnyVBSl/ZDN62wo8Kbp0ZY7SL8ccSR40/SQ3UZ1dkydiqKUuKHZH/G0Gu9iPuOBWSZtt1CdHVOnoiglbmiGIR5PfTzIq49J240erursmDoVRSlxQ1MFPAr08jC/XsBjWPcnz4Tq7Jg6FUVpB4ZmGuLf7TVjcRaFWXV2TJ2KopS4oRmKeBn5xRQKm0pRnR1Tp6Io7cDQTAWiPuYbNXnaRXV2TJ2KopS4oalFNuX5zVkmb6uozo6pU1GUdmBojsf6zm836WTytorq7Jg6FUVpB4bm6CLmf7RH16rO9qNTUZR2YGjGFjH/sR5dqzrbj05FUdqBoRlaxPyHenSt6mw/OhVFaQeGpnMR8+/s0bWqs/3oVBSlHRgaRVEURfHU0BTzJLdtHl2rOtuPTkVR2oGhWVrE/Jd6dK3qbD86FUVpB4ZmbhHzn+vRtaqz/ehUFKUdGJqXipj/Sx5dqzrbj05FUdqBoXkWOevdbxpN3lZRnR1Tp6Io7cDQ1AMPFiHvB0zeVlGdHVOnoijtwNAA3ArEfMw3BtxWwH2qs2PqVBSlHRiaJcAdPuZ7J7C4gPtUZ8fUqShKOzA0IKcf+uENNBfnJ0Kqzo6nU1GUdmBomoDTgQ0e5rfB5NHoIA3V2TF1KorSDgwNyFTKccA6D/JaZ9Je4kJaqrNj6lQUpR0YGoB3gYm4O50y16T5rotpqs6OqVNRlHZgaFI93AnA7TjzSoqZNCZ41KNVnR1Tp6IoJURon5m35Ltmb+Aa4Byg2mK6TcDfEVdWS15G8ydNzfzBzEprOT51qTOdJ99tzRvqsObM7191laXbZ516viOdE5/4gzWdM2ZkfPviiy+2Wjc8/93vuecefQKVgp4j38jyHCn2KLNwzWLgQmAKcCJwJDAeGAJ0NddsBZYDc4BXgGeABl+/iRiKC3nqUns6T77bV53GUFw469Tzbemc+MQfGnyuG6XxuyveYLWDZ7UjpqihaVecfHdJyJz4xB9KpUQbkAgCD+rj0mEZCnwPmAz0BdYD/7YzY1EghwJTgdHARuBfyF6srS6lvwdwHXAS0AP4ELgBeEF/cv8NzTDgWnJPofQyfwcBFyFTKPcj8/R+bdBTnRbQ6SrFJieYTkZN2nv9gfNNHf4G8KgH+U5Cgq9Gzf/3Ms/DhcBpwFsO0z8GeDhtdI5J/1/A4cDr+tP7Y2gqgRuB7wLl5r1VSEDE2cBCYLN5vzswAjgYON5UxAtMJbwT+BHg1Zi6ves8AdjTR52KDUa9dmug9GRd6yyM4aYxztYhqjIdoI/MaMBNbkwzMun0A140z+9rBaZ9LPCk0d+WiOkInqS123tDMwx4DBhr/j8LuNkMlxNZ7nkD+CPiyfZFMySdiCwoH4ds2HPbAymfzu7AZaaHAvAf4K4A6gxKeSpKOt8nvyNIOXC9Gd24ybgcn9WYkcfxwEyb6X4BeCKLkUmxj/707pLJvXl/0xCOReZCv2aGsf/K0SimkzDXHmbu3WrSmmXSdot8Oochi9TTkIXsI83rOeazoOgMSnkqweeL5ndvMqPfv5hRuVcca6Pxdpu6PJ93Ms/FUTbSPBJ4yoLx3KRVzVtDMwx4DugDLAIOMEPjQkiaew8w00J9TNrDXBoh5NP5B2BAhnsHmM+CorOQ8lzksk4l+HwbmWb9PDIN2w34OvBfZGrVC/aweF0vD/J+0cI11cA/LBq6wxGvSCuu+s9rdfPO0FQhi3q9zJTMJGCZC3ksM73xJSbtx/IMW/NhRedgk2c2DkPcdIuhM4TsUdnHvM5HCBiFeN6ETRqTXNSpBJ9LgV9lmYHYA++OXggV8Tv/FGixaGyeMqO9XM/7sxaNzFZkel3xyNBMQ+ZF65A1gPUu5rPeVIStyLTPNAdpWdFppZc/tAg6RyELp4uA+UholiE50hgCvI0stH5g/kaZtCabtJ3qVILNd0zDl6vRP6Edfu/FwHlmJG/F2DxpnrO2TLJhZFqBr+JtgNkObWiGIhvzUhV7qYt5VCOLd8uQhXlMXoVM+VjVWWEhrYocIzAvdIaQRcgRadeNRxYzh2ZJYya7rsPsY0ZJITOi+Y5DnUqwuRz4pYWRRXU7/f73I1OGVoxNpTE2x6e9N9EYmU4W7o8jDg16zLiHhmYq4ko4i8LXENrSHXgE2Gb+/o3sHp9l8irED/P7HujMVsHd1jkMcRdtS39TLkPbGJlXybzQu0+aUXGqUwkuVyCu7Famr95qx+XwW+Bii8amwnTmvoSsZT3Lrvt/8hmZR7TaeWdoaoGzzf9vtviDWjEyLwBnIH7pIcSD5QkgFVztbJO3VbzQmY2kyQPgLJd0xnPcMyDN2Aw1r/vneTDa6rRbnkpw+S5y8qkVIxNH9py0Z36H7COz4qVZbkb9z1p8HuKIN+fDWu28NTTHm6HlajPqcMvIZHK9PRBYaf6qkRhaVjnB3OOWznz82+js1GY4XqjOZYhrdT5j8wqZveVSvMeuzg//LrA8Fe/oCQwke3T0XEyxYWSSprf/Ugco0/uQNZu4RWPT2aKR+QYaXskXQ3O0ef2MxR5DoUYmvRKk5kGPtJH2US7qtEIiTefRLuk8A4kGkMvY5DIyq4Azc+g8Uqt0UdkfeBNZTP4EWMPOdTQrXAn83Eb9vIBdXfXbO38GzrVobKwYmW8i0cYVHwxNarf6bB+MzErkMKw3zf/H2UjfLZ12eLNN3k51LgWOyGNschmZI8gcDaCQ8lTcZTQSEuXgtPd6Ix5j+bzGAK4GrMakTxmZ+zpgOf/VjEKcGJu4GR39Tautf4YmtQi9oM1nZWSONVSokakHvowcirXIvLeXDa3ZdBaKlTWeRW3ydkNnIcYmZWSW5tG5l1bponET2b2/voPsg8lmbL6H7Bux2khegIQn8ppkQMv674gbciHGJlV+f9Eq66+hSc1lpkI+9EHcBOuQEPF/IfeimhUjsw3Z95Hyjtli/u1sQ2tbnblYa+EaK/uEvNJpx9iszGNkCtWpuEu+UCjfBu7OYGyuQaJyW20kz/fJyIBM/VmhGPtOHkIcYOycBJtAoj//Saur/4amLY8CJ5veWTkS5uJ5oIsDI3M8/obdnpun8m8E3g9A+Sddvk4JNpcAv04zNlOxvqs/Nd3zZx/1Wg3F8mKRynMJsN3m85bQalgcQ7PNvO6C7DqfmOG6g5G4Wl1cMjLd0j63SrrOfMTIva/kWos9Ia90plyYB1hIbwCyp2Yvl3Uq7vKyxeu+hewNuY6drv5WjMy5+D/dcyv5j6NoYaeLvZ+MN+1PVxv3RBDniXO1uvpvaFJTMiPIvYM23dg4Hcnsbf61E0stXacV7jOjsfTpqVXmPauLqHu3ydsNnanNmANspJkyNkPz6FymVbpoXA80Wrz2ImC6DSPzf8giuN8sRDYyZhs1NCFrJR/4rGucaX96FHBvythcoFXWX0Mz17w+BJlOWm3B2DidLjvU/DvXhtZ0nVb5GzDINPojzGs7niZu6xxG9h3/VozNK1mMTSE6FXeZj+yhanQxzdQ+j/uL+L2eMKOHe5H1wphpI+4z7z/qs56xpv3p6SCNkPk+F2m19c/QpDZ7ncjOoHKNeYyNEyOT2iRqZ7oB08imdFrdCNcJ8fi5xfx9B2txj9rqfMklnY/kMTIryb/P5mGXylNxn1fNb+GGsYmb0XcQ9nksQTaGDkTWbVNHOS/yWce+yHqQG8cShJApzG9rtfXH0DxrhsZ7IpGL/2MayUIeFisL/8eaBrMR2dRolWfMPSmd+egPvAP8Ajlj/DTz+h2LI4p0nc+6oHMv0wPMZWRSB7TlMjb7s+t6TaHlqXjDfxAPy+0O0oibDt8DAflOIeTMl5+ZGYGfI5GS/TxGYLTpSFkxMklgh8Xv9SvsbapVCjQ09ewMwXBdWq/c7jSAVe+y682/D5i8rVKf9uBdZ+H635N5nWSE+QyfdUZy3LPKGJilpveYz9hEXNCpeMdMY2waCjQyZyPuu0FgD2M8XwCuMgZwCnK65evYW2sslFE2jcwUJLCmlfYrhETIvkKrrbeGBsS7JIZ4nH0tbRrAqrGxamS+avKIUdhhTZl0ZhvN5Br1fDHPA+KFziXI4momI3MEuzocLCH7PpuF7IwO4FSn4h2vmWfCjrFpNUYmKFGEOyGx9CZl+fwQYwC83L+1j8mjt8XrrzQzFy/YNDZ3mnsVDw3NEiSQH0i4jCE2jI1VIzPEDFMxP+riAvRm05kpr3wM8llnEpm++yjtuneR0/8yebUtRY6fndPGyJxm0trLBZ2K98ZmssWRZixgRgYkivSYPNcMQyIbeMEAY2T62DAyd6b9/2XTflmdxpyB7HVSPDI0IKc0zkX80p9P60HkMjapHf/5jExv0zPqavKY5kBzNp3prLSQzuoi6JyPzDUPN9MBnwOW50hjGbImsy8y5TfKpOGmTsVbZplnZJsFI/NowLSfbfG6r3iQdwiZ0u9r8fqr0zp36byKvWnMu9CYgZ4amibgdGRH/TAkKOS+aT/W8ey62z517PEbefLYFwn6uLe5/3SceeXk0pniY9ObzPXwLy+SzqQZfXyEtR3/SeQo50XIruYxJq1hLulUvOd18/xkCku0wzTojwVQt9VTW4d4kPcX2Om2n49ryB2Q1M7IMoIcXKh4ZGhSUz7HAetM5XkDWQcAWRAchoSnOdZ8ni+S8tdMGnuZNI8jc/Rhu+TSmeK8LCObley+M7iYOu3wNdNoDXFZp+KPsZmA7EupM9M5LyDrH48FVPMmi9dt8SDvYy1eNxVrAUlnmefFSqzEL2h19dbQgKwbTDRTMrWIO2O6F83T5gFpzJHmZHPPX00ac02a77qoPZfOsGmA90OmlV41f9PMe0sCpNPKb+SHTsV7UmtsXZEjho8F/hdgvcWMdWZlQ+Z12HOCecOisemiVdVdynL0xCcgR8ROMb2uScAKJDLAG2b6J9Xj6Y6sOxxiGsWB5v0YMm/6I/LHTCp0xJBP5wvsdN/ujuwRCqLOTOV5qNE5wCedipLOrchR5pU5rvEq1tlHeT6/Aeux4tKZDRxjjGjXLNdohA2XCe0zM+9vtTcyB3oO2c/baEsTsqP5Nix6Q82flCUG5sxKq9/FF50clqV9v+qqYOmcMUNrt1I4O5+7U81IulOWevkN0p0YDnPY/9n5HPVAYqi1dQZIkH9NxgrjgKfY3fs0DpxEapO2PkeejmjSWYyc4TDFjAaORHa4D0nrEWxFFtfnIJs9n6GwzWpOUJ2K4j6pWGffQ6ad+iKOQM+bjo9XYWg2Ia7/M8wz0oJMH9+GO6fsvo8451yBeNX2Mc/mT7EXckqxYWgms/Ps8fORXb9nmh+5GtkA9QQyBfVgEfWqTkXxn1SsM79ZbEYXXtGARNGerj+xt6Smzj5FQk2AnKrXD9jMznNOUryKrDO86rYQi1NnRddpceqs+Dp1yK+UItanoP1BnyNXDU3b/Rwhcu/xmGkaSMfRgrMamMzGpmg6Lc0973xIiqdTHwxFUQJGuMD7DkPmMV9DPDiCiupUFEUpUUOTYiKyKPg6slAYVFSnoihKiRqaFIciC96z2XkIVxBRnYqiKCVqaFJMAP4J/Bdx3Q0F9HurTkVRlBI1NCkOBP6BhNc4KcANpOpUFEUpUUOT4gBk9+07wCkBbiBVp6IoSokamhT7IRsU30PC2tcEtDxUp6IoSokamhTjkLhI64BLA1wuqlNRFMUHQxP3MN9qJAKxG6hOd3UqiqL4Zmi8DOIYY9ezvZ2gOt3VqSiK4iplPuc3F7gdOSNmfYDLRXUqiqKUmKF5Azmk6J/kjvlVbFSnoihKiRma55BT+v4T8HJQnYqiKCVkaBLA48jxru8F+LurTkVRlBIzNC3A3/D21D3VqSiK0gENzXbg98jpkSsD/F1Vp6IoSokZmi3A3cixxBsD/B1Vp6IoSokZmrXAz4HfAvUB/m6qU1EUJeCGZivQJe3/y4CfAn8CmgP0HVSnoihKgMkVGeAyZI2gHnGpHWF63UFrFFWnoihKiY5o/mH+go7qVBRFKdERjaIoiqKooVEURVHU0CiKoihqaBRFURRFDY2iKIqihkZRFEVRdiWU/E8Fo0LTPgX2MO+tnZ+ctofvSg7Lsp1kZmX6/3bRmfY6WDqfunRXnSffHRydiqIoRRrRXGAa7tXA+QHWqzoVRVFKcUTjwEg9D4SAY5BzU7we0ahOHdEEkilXrPUzu0OQI7yHAzOBKXf8ou+qYuls2B5mwIAYx03eSjwO8Xgo9VE34FFgLHLc+LkTJ47a4YXObdsijB7dxJFHb6OxMUzS3rmzruls2RGiulOCE760lepOCVp2hNws6oJ1Fhsn0ZvPAI42r78MPBTQ76g6lfZEGXAHMMH8/xRgA/DtYgmKhGFHc4jWVohEIB7/7KOngEnm9dmmE3V2AMtUdXqME2eAi7O8DhqqU2lP7JVmZFKGp6iNTUV5gk2byti4sYyqqs8G4kPTGsUUpwWwPFVngA1NH+DwtP8fZt4LGqpTaW/0zvBe16I2ImXQ3BxmyeJKQjtblJ4ZLo0HsDxVZ4ANzalABJgPLDCvTw3g91OdSqnRBTgPuBQYk+HzUIC0HgGcQhKqq+OsXFHBpo0RKisTIEeRt6XVSzGhUB6dmfFdZ97yDL5O3wzNmebfR4CHzesvB/D7qU6llKgBbgamAz8BbkMW/NNJBkTrr4FXgCeAuRUVyZ5btkRYtqySikr/JaYW/8Ph3DqzjAwCV54B1umboRmITO2AeEA8Yl4fDgwI0HdTnUqpMQlZ1O+LeBhNBs4NoM7jgEvS/j8GmBEOw7o1UVpjoVyjC08oiyTZVh8mFttlZJNRZ6mUZ0c3NNciUztzgA/N33vmvakB+m5tdX5QAjo/CLBOxXsOyfDeoQHUeUSG9yaEw5BIiNeZ34amsirBmk/LWbMmSk1NPDXCyaizVMqzIxuak4Bvmdc/Ar5o/m40733LXFNsMumkBHQSUJ2Ku0SyvF9u49piEsvw3g6QqatQEVaRysqguSnM4oVVhMPJlIasOkulPDuiobkQmdYJA38GnjY97qmIf/efzGePmGuLRTadlIBOAqhTcdfA7Ad8BTgggxHJtLhRrDWZPoj77OAMn8UtvuebzmSSwTU1cZYvq2Dt2ijV1Ymi6QyF5C9ZmuVZFENTARwPvAzca3pczyD7PA5B1hEON68vNp+Vm2tfNvdW+PA9rOhMEVSdbSmmTsUbJpvf9PfIsd4nBlTnocBi4DHz7wmloLO8InnCtvoIixdWEo0W32ciVHrl6d2I01T+84D+QNS838181jdtOB8DbjXTOnF2XT+4FnHLO8VMAU0FjjR/LUjcr1ZgS1paq4A/As/aeEid6sToCaJOfNapeDNiCZtRSCbX0+lAP/O6CvEqeyZgvdcw8CBQm9ZGPAp0B5qCrDOZ5NFoWbL7+g3RpuYdIVJrRr5WgDLYvj3M9u0hunZN0LIjUirl6bmheRhxq8zGZuBxxAtigXlvFPCltGtOMu/NB34I/B24ygwVuyOeVZk4Lu0HyEchOke30Zk+LA2Szmx4qVNxl1rgeuBgYDnwY/Nvih5IjKp0RiBurOt81noVEu5oBXA5u+7R6Mfu3o6VwEjESSXQOiPh5MhkkvcS8RChUBKfth19pjMSSV5eXx9p+eTjCgYMaAlaeRbV0PwWuNr8f7lp2NaZXtla4CPT4NUi88rDgYva/IIh4G4zxbPI/F2ILGbvY3ryIWSe8sfAEHPfvTa02tH5OaPzwjw1bUERddrBC52Ku0xBNlnWABOR3fqnszM4aqcs91X6rPNaM5JOsTc7Y+xBZoeE1Ggt8DqTEPHZIWE3nRXlyaM/Xl7JmLFNRKPJ8lgsFITyLLqhuQbxcLjONFiXmQdklRkRPG96XnvmSesIdnXTWw0sND2RF41Vv8nkkUQ2pv3AhlYrOkemTU3YIc5O12IvdTrFTZ2Ku1ycNpKNINOeg9JGNdmaPr8XE65r8/+jzEhrblody1b3VKcFndHy5NimpvDchoYwvXu3xrMYmnhHejhS88k3INGD64GDgHeRRfQPjZHYs4C09wReMmkcArxj0q43ed1g8yGzorOfw/LwWqdbuKFTcZd+ed4Lym9TleG9/gEsz5LVmUzSPxIRF+ukPpGfGZoUjyObhBYAvUzDvR9wCzCtgLSnmV7255CzE3qZEc4Ek1ehuK0zhV86neK2TsWf5ysoZNqf0aI63dcZCukDkO1B+Mj0lucA1ciZKFWIZ9R0G+nebO6pBh5A5qffRxZKP3JBdyad1QXoTO+V/N3onOODTie9Jy90Kt6QLBFNqrP96wxcj2srspN+PbIAd5l5/wbgLgtp/grxvsHcO8ykdaxJ2y3a6vyOTZ3pXG7SWG/S9ENnIXipU1EUxdeh/Xp2hkH5Ttp1cyyk+V5a2pea1zeaNN3GiU4CoJOA6VQURfHN0AD8BdlQNAA40Ly3j4U0U9ccaO5tMml5RaE6CYBOAqhTURTFN0PTAMw2rw8y/46ykOaoNvfMNml5RaE6CYBOAqhTURTFN0MD8LH5d2CGBnwJslP9NPO6raEZ2CYNL7GiMxupe5YXQacd/NSpKIrim6HZbv6NIJ5Og4CNyCL/aOQ0uCfM68vMZ4PMtZG0nrzXWNGZjUibNPzSaRc/dSqKovhmaIaaf9eYxvs2xOvpV+zq095i3tsbuN30vteYz/by4XtY1ZmJlM5hPuu0i586FUVRXKMsx2flyNGyAP9FAmZ+HwmzcQayZtDHfL7OXPMcO6Ml9zb/TkSiGMc8+g6F6mxIuweThp86U9QgwTCDolNRFMU3Q/N50wjWAW8gmwW/j+zl6JLlnjrgl8gu/TfM/7sYY/OKR99BdSqKopSooUkdzvM8srj+ADvdhj9FwqCkFqaHAMcgsZ1+YEYSZ5l7v2zS8qphVJ1KUAlleY2F93HpekUpCUPTF3GprUQW2K8G/sbu0UcjwNeAn5kG9C12TvecwM7Q+V414KpTCRrpoUiyRetNtPnN8z2jTsObRPO8V2bhvvJsn6fF94rabG981Zknn/aos6hkcwYYhITcB1kTqDQ96PHI+fbZzrj+s7nmFXPPYeazkSZNt1GdSlCoy/DehrTX29oYlZTRSPfKzHQA2uY2/88UEWKrDZ2ZjFlDG52ZSH8/li3dROKziMV1DhtGT3Xm+d3ao87ijmhmhd/d7c2Jif3T96G0IscJ3zor/K6Vg1FXT0zs/wVk/WFaWmGMmhV+95MMeTnRn1Fnhgc6o04go07gE5fLuVR0lhyzZs13dP/EiaPckvIAcEHa7/MWsLRNw/I0cDI7p7+eZedx3CDHaqxjp1PIduDJNvksM2lPSKtPD9jQ+ZAZKadYC/yvjXF8AZm6TfEBu54G+whyoF86fw2FksQTIRKJEKFQciGE5rLrqaIvBkFnm/8vRM64ae86AzmiWWJ6Uq8Ch84Kv3uzRSMjD3/43cSs8LvTgUNNGpvZdVOnW+yiE4kabeeU8AQS7Vl1Kk6ZbozCemAWcKUxAulch6yzrTdG5Zo2n8811yw0HYzfAfe3uaYVOc1zlknnSVOfrHIBsq9ss8nvKHYPdf8Vo3OzyWdym88/AM5BNiBvRE7XvSUUgkQilH4Gy5dMo7sZ+HebBrloOjPk1RF0FndEk8VQLEbOOP+MjRsX1SBrA0ea6Zwh7PSWqkMWsueYaZ5/9uw5vGFW+N3/mesd8+TmBzO9vYvOUChEMpm0pdMMc/PqPKX7Wa7pNNjSGQ6HGxKJhHs6n3wy62emHAmHwyQSiULKMy+nnHKKqxW5kPrp8rO0CnHUyMVHiCt7rg7FfebPK3aQO1IGZpT1RQsjuAcAGraHGTAgxtlf3UQ8DmknStabv4RpHLd7pXPbtgijRzdx5NHbaGwM09IS2k1nDlzT2bIjRHWnBCd8aSvVnRI0NYVtl6cXOp2O/G1yCLKfcjgwE5hSZuEBHgZcC6Gzy8urO0WjnYhGKwmHo4RCMiBKJhO9E4lY71iseUIstv3ilpbG7Rs3LnoAuK1nz+F+9byHAddWVFSe06NH7+q+ffegS5daKisriETCvPnmgow6IfkAssHTV53ZyvOQQ0YSjyd6Nzfv6F1XVz9h/fp1F69fv6axtTX2oOnl+Knz+2Vl0bN69uxd3bt3b7p160KnTtU0NcVYtmwd9fXbfSnPjz7aeeROeXk54XCY1tZWamtr2bhx0bBIJPL9aLT8rJ49U797Z6qrqygrk/rZ2pro3djY1LuubtuEtWvXXLxx4/rGLVuWPhiPx29Zu7b7kvr6esrKykgkErS07Nzfu88++xBAyoA70qbOTjHTM98ulqBIGHY0h2hthUgE4jtXHJ9i596xs82U4dkBLFPV6XH9LMthYCqBaaFQeEpVVbfyysquhMORLD3gCOFwhLKySqqqupJIxDs1N2+9oKlpyzc2blx0J/Cjnj2HN2e8+bDm3LJTn2fvgVcC02pqaq8cOHCv6MCB/ams3NVBI5lMEgqFcupMJhN3ImsnnurMV56RSJiysggVFVG6dKlh4MA9iMX2rV6x4tPzPv54ydfr67fd4UhnfiqBH1dVVX934MDB0UGD+lNdvetZbS0tccLhEOGwg/J0yIcfflgJTKuu7nTlgAGDo4MGDaCyspxQKLzbyYbl5WHKy2vp0qWWAQP2oLm5pfqTT1aet3Llx1+fPXv2HcCPxo0b10xpsFfaQ5x6sM8upqGpKE+waVMZGzeWMXhwC7FYBCQKxqQ2l54WwPJUnT7Uz7IsRmYo8GhFRe34Tp16EQ7bc24IhyNUV/egsrJL+fbtG67ZsaP+2I0bF33Zg9HN0HA4/NigQUPHDR8+jKqqCsc6zfTHEg8qScHlGY2WMXToQAYO7BddtGjpNR9/vGRyLBY7zQud4XD48X79BowdOXI4NTWdAlme77///tBQKPTYnnsOHDdy5AiqqysJh/Mf8RMKQSgUprq6khEjhjJgwJ7RBQsWXrN69Yovvv/++2eMGTOmFNa9emd4r2sxBYXLoHlbmCWLKxmy12cjwp4ZLo0HsDxVpw/1M5zByOwPvF5T03t8be0ethvFXRueMmpr96Cmpvd4YJZJ2y32j0ajb4wf/7lx48aNtm1kcukEXNXpVnlGo2WMHj2C/fc/aExlZeUbbuuMRqNvjho1Zuz48WNsGxm/ynPevHn7R6PRN0ePHjduzJjR1NRUWzIyu2sMU1NTzZgxoxk9ety4aDT6xrx58/YPwIPaBTgPOeRuTCZ7GaBG5QjgFJJQXR1n5YoKNm2MUFmZgMwxBlu9FBMK5dGZGd915i3PYOssqH6G2xiZYcBztbV79KmsdK+TVFnZldraPfoAz5k8nDIsGo3+e7/9Duo9cGA/T3TiTvBKT8pzjz16cdBBh/SqrKx83i2d0Wj0hX33HddryJBBlJWVBbI8Fy5cOCwajT6/777jew0e3J+KinLn0z4V5Qwe3J999x3fKxqNPr9w4cJiBi2tQTzIpgM/Qda6hre5Jijn0f8acax4AphbUZHsuWVLhGXLKqmo9F9iytMtQ59jF51ZRgaBK8+A6iy4fobTjEwV8GhNTe9eFRW1riusqKilpqZ3L+Axk1ehVIXD4cf23Xe/nv369fJUJxKPrGCdXpZn9+5dOOCAg3qUlZU94VRnOBx+bMSIUd3799+DSCQcyPJcuHBhFfDoyJH79thzzz6uGUOAsrIy9tyzLyNH7tsDeMzkVQwmIWstfYFuiBvsuQFscI4DLkn7/xhgRjgM69ZEaY2Fco0uPKEskmRbfZhYbJeRTUadpVKeAdRZcP1Mb1WmVVTUjnOz552ph1tRUTsW2XhYKNMGDRo6duDAPQKv0+vy7NWrO3vvPXLfcDj848KnG0I37rnnwLEDB/YnEokEsjzLy8sBpvXvP2jcgAH9XDUyO41NhAED+tG//6CxwDSTp98ckuG9QwPY4ByR4b0J4bBEBojH8d3QVFYlWPNpOWvWRKmpiadGOBl1lkp5BlBnwfUzbEYzQ0Oh8JROnXp5rrRTp96EQuEpBU6hDa2pqb1y+PBhhDyuySmdBU75+Faew4btRW1t5+8WqrOysmrKiBF7U14eDWx5zps3b2hVVdWVw4cP91RneXmU4cOHU1VVfeW8efO8nELLZtHLbVxbTDKFTNkBMnUVKsIqUlkZNDeFWbywinA4mdKQVWeplGeRcL1+pkY0U6uqukWdLFRbJRyOUFXVLcrOc2vs9L6nDhy4V5mThX8/dPpZnpFImOHD9ymLRCLX2f+O4esHDBhUVlVVGfTf/bqBA/cqq6mp9lxnTU01AwcOKQuFQtd59ADvh+wUPyDDQ5ppfrtYazJ9EPfZwRk+i1t8zzedySSDa2riLF9Wwdq1UaqrE0XTKd6Nu/1wpVCentXP8MaNi2ohdLaXUzyZplIgdJbkbZna8vKKcwYO3NN3nYAtnX6X5x579Ka8vOIrdnVGImVfGTx4oGdTZm6U55NPPlkbiZSdNXjwQMJh77vK4XAIKZOyrzz55JNuL65NBp4Bfg/8AziRYHIoEs3iMfPvCaWgs7wiecK2+giLF1YSjRbfZyJUeuXpWf0MA8eXl1d3yrYZ06vebXl5dSfgeBu3Hd+zZ+/qysrywOv0vzxD9OvXv9quzl69eldXVlYEvjx79epT7ccodqdBrKBXrz52yzPVI4ySParudOSMoSpgD8RrJ2hTY2HgwbTOQBnwKM4cTnzRmUzyaLQsWbV+Q5TmHSHCYf9FRcpg+/Yw27eHqChPBK08i1Y/w8DR0Wgn37+xyfNoG7cc3afPHiWhsxjl2atXb9s6e/fu7flalxvl2bdvX397oiEwedrRWWse1BeQYJhD2nzeg10j7wKMoDhurFchkaN/y+7z7v2AAW1tLzuPuQi0zkg4OTKZhEQ8RCiU9F1nJJIsb2wM88nHFYTDySCVZ1HrZxkwtqyswvcaZPIca+OWsZ0715aEzmKUZ21tp3Zbnl27dvFdp8nTjs4pyCa2GuSo7a7A6eyM0p2t91Hp81e7FjmiIsXebQxqeY7ecOB1JiHis0PCbjorypNHf7y8kjFjm4hGk+VpQUaLWZ5FrZ9hYGgk4r8rp8lzqI1bhlZXV5SEzmKUp9m8aLM8q30f0RRSnlVV/s8ymDzt6LzYPMSpRuQUdj2cLltB+72Y0NbJ4ag2BjXbInRcdVrTGS1Pjm1qCtPQECYaTQZFZ1HrZxjoHC7CZKbJs7ONWzqHw2GSyaTtv0Qi6bvOUijPaLRwr7iUgZJgpdb/jOOBLZ2pKMz+jrxsl2e/PO8FZUd/Jqvdn+BRsjqTSfpHIuJinUwGRmdR62fJHAUKMHv2AoIV6ik4JBIJ3/KqqalizJjCTpKOx+M888yijvKzhAOoaQe7nz/fojrd1xkKaf1Mz2ibn41Um4Zxm41bVGcOWlpitnXGYoXH5LM7kkn9tbbGbetsbfW/PE2e2xwmkwxg45JUnR1SZ1HrZxhYGo/731EweS61cYvqzEF9faNtnY2NjSR9HNsnk0kaG+3rbGpq8r08TZ5LURTFFUMzt7XV/2gH8fgOkCilVlGdOdi8eYttndu21fuu0+RpS+fWrXW+6zR5ztUmQlHcMTQvxWLbfc+4pWU7wEs2blGdWUgkkqxZ86ltnevXr/d9RLN+/XrbOteuXevromoyCWvXrrWrU1GUHIbm2ZaWxu2JhH/edolEnJaWxkZkk5NVVGcW1q/fSkPDVts6N2xY39jc7N/oq7l5Bxs2rG+yr3NdEXSus6tTUZRshqZnz+H1kHywuXmrjw/yViD5gORtmaLplLyDqTMeT7Bs2XISibhtnfF468OffLKSeDzug844klfrQ3Z0nnLKKfXxeOtDH3+8wpGbup3R4ccfryAeb33wlFNOqdcmQlHcGdEA3NrUtCXmRy88kYjT1LQlhsTRsYvqbMOKFevZuHF1QToTicT0FSs+bm1qavZcZ1NTMytXftyaSCRutntvMpm8ecWK5a0NDY2e69y+vZEVK5a3JpPJW7R5UBQXDU3PnsOXJJOJO7ZvX+/Dg7yeZDJxZ8+ewxcXcLvvOpFoq4HUuWlTPYsXLyCRiBess7m56Y6FCxen3KM9oaUlxsKFi2lsbLyjEJ1jxoxZ0tTU+PNFixb5orOpqfGOMWPGLNbmQVHcHdEATNuxo36ul1M+zc1b2bGjfi4OT65UnbB163bmz19IY+NWRzqTyeSPVq9eMW/FilWeTKHF43FWrFjF6tUr5hWqs6WlBWDaqlWfzF258tPUXhxXaW1tZeXKT1m9+pN5wDSTp6Iobhqanj2HNwGnNzSs37Bjh/tT0zt21NPQsH4DcHrPnsOdzIH4phMIpM716+v44IOFbNq0yhWdiUTitIUL529etWoN8bh7myPj8QSrVq1h4cL5mxOJxGlOdI4YMaIJOH3Bgg82rV691lVj09oaZ/XqdSxY8MGmZDJ52ogRIxq1aVAUb0Y09Ow5fAlwXH39mnVu9sSbm7dSX79mHXCcycMpnus0eQRKZyzWytKla5g/fwEbN65wVWcsFjvmgw/e37h8+Se0trY6TrC1tZXlyz/hgw/e3xiLxY5xQ+eIESOWxGKxYz/4YM6Gjz9eyY4dzkcdO3a08PHHK/nggzkbYrHYsSNGjFji4vMVyvIaC+/j0vWKUvT6uVusm549h78LTGxoWD+3vn4NiUThjU4iEae+fg0NDevnAhNN2m7hmU6TdmB0xmJxVqzYwJw5y1i0aD5bt67xRGcsFjtk/vx5H8yZM4+GhsL3AjU0bGfOnHnMnz/vg1gsdoibOseMGfNuLBY7dP78ufPmzfuQhobGguK8JRIJGhoamTfvQ+bPnzsvFosdOmbMmHddfpDT3eSyDcHSxWcKHV+WI81CiOZ5r8zCfeXZPk+L7xW18F2KpjNPPu1RZ1HrZ8agambUMWHHjvrbt2z5ONbYuAk7HlSJRJzGxk1s2bI8tmNH/e3ABJdGMplGDK7qdGmEULDOeDxJS0sr27Y18umnm5k/fyVvv72QhQsX8umnCzzXmUgkDly9esXPXn/99daPPlqUChljicbGRj76aBGvv/566+rVK36WSCQO9ELnuHHjliQSiYNWrfrk9jfeeL114cKlNDY2k0gkcm7sTCbFwDQ2NrNw4VLeeOP11lWrPrk9kUgcNG7cOKc6M4Uv2JD2elubhzb1UDak/X9dhjQ2t/l/Jg8TO8PlTI1FQxudmUh/P5Yt3UTis4jFdQ4bRk915vnd2qPOotbPrEJ79hzeDFy7ceOi3zc2brqmsXHzOeXl1dXRaCei0UrC4WgqND2JRIJEIkYs1kwstp2WlsYmSP4duK1A7zJbM17AtclkwpFOCvPacl3n7NkfBUHn95qaGu9dvHjB1KVLF5/ds2fvqt69e9OtWxeqq6soKyv7bHqssbGJLVvqWL9+PRs3rm9OJOIPJBKJW0KhkKc6R48e3VxbW3vt7Nmzf79kyYKpy5aJzr59+9K1axeqqqooK4sYnXGamprYurWOtWvXfqYzHo/fcvDBBy+ur3dlDe0B4IK0h/8tdo2Vtg14Gjg5bXrhWWBL2jUvmYe5j/n/duDJNvksM2lPSM1Smryt8hDwtbT/rwX+16bxeQE4Ju29D4AFaf9/BPhhm3T/GgoliSdCJBIhQqHkQgjNZdczZF4Mgs42/1+IhBpq7zqLWj9Dr732oSWVGzcuqgFOBI4ExiNHgXZN61EtB+YArwDP9Ow5vMFKuo890p07fpH9qN4pV6wF4PAjZ1stUFs621js7K1vUwVnnT056+cPPvAvACqrdpS8zlAoRDKZJBwOk0gkbOkMh8MNiUTiszSc6sxH/wGDHNXPVSs/yZtHLp1p9bQ/cAdwGLAIOXnxjTaX7WOu2Q+YB1wOzG8zw/BN4BpTPx4Brmd3J4pDgNuB4cBMYModv+i7ykp5TblibYVpdA4HVgFnAR+1uawbcs7954y+s8216ZwN3Gx0PgR8Z/v2MHv2j3Hc5K0kEhCPhwYCjyIHyP0POGfixFGbvdS5vSG8qv/AFo6bXEc8DvF4aDedGbJzVWcsFvooGk0y+YSt9OjRSlNTuKDydFPnrFnzi1o/Q9+9fE034H7gWKwdL9oCPAycf/qXN7cYY1GJnEP9lSxziW1pNVb+bKDOiqExlaognUDLhIPfAzmWtGCdFhtGRzrNe6rTBZ39BwxqMcbEM52KouQnDPwCmIz1M6zLzVDx+sce6c5jj3QH+IF5L2oxjTKT5502tBasM+091dmBdK5a+UlqxOKHTkVRchiaQrtr6fcd50Iabl6rOlWn3zoVRclhaHoWeG+ftNdupJEP1ak6g6xTUZQchkZRlCzo+oyiqKFRFEVR1NAoiqIoamgURVEURQ2NoiiKooZGURRFUdTQKIqiKGpoFEVRlHZlaOoKvDc9mJsbaeRDdarOIOtUFCWHoXm0wHsfS3vtRhr5UJ2qM8g6FUXJQhlwFVALfAFrx3a2mgfw9rT3bgX6IefXWwl+mEDOUvieDa2qU3UGWaeiKDkMTR0SPt0JLcC3zJ9XqE7VGWSdiqLkMDQdgrdm7+c4jbPO9jZ9t/BDpznfR1EUxZKh6QLci/WpiTgyNXE5Ow/AKgfuAk6zODWRRA6WuhjrC7WqU3UGWaeiKDkMzQzgTJv3XYwcRXqT+f9U4CKbaXwFOafa6n2qU3UGWaeiKFkIA2cUeO/paa/dSCMfqlN1Blmnoig5DE2XAu/t3mZ6w2ka+VCdqjPIOhVFyWFoFEVRFEUNjaIoiqKGRlEURVHU0CiKoihqaBRFURQ1NIqiKIqihkZRFEVRQ6MoiqJ0BEOzscB716W9diONfKhO1RlknYqi5DA0/yrw3mfTXj/nQhr5UJ2qM8g6FUXJYWguNw9zq8V7WoC/Ajenvfdj4G/sjJabj1bzEE+xoVV1qs4g61QUJQv/PwAlukJhy2ScjQAAAABJRU5ErkJggg==";Wl={border:{"border-top":" iconfont luckysheet-iconfont-shangbiankuang","border-bottom":" iconfont luckysheet-iconfont-xiabiankuang","border-left":" iconfont luckysheet-iconfont-zuobiankuang","border-right":" iconfont luckysheet-iconfont-youbiankuang","border-none":" iconfont luckysheet-iconfont-wubiankuang","border-all":" iconfont luckysheet-iconfont-quanjiabiankuang","border-outside":" iconfont luckysheet-iconfont-sizhoujiabiankuang","border-inside":" iconfont luckysheet-iconfont-neikuangxian","border-horizontal":" iconfont luckysheet-iconfont-neikuanghengxian","border-vertical":" iconfont luckysheet-iconfont-neikuangshuxian"},align:{left:" iconfont luckysheet-iconfont-wenbenzuoduiqi",center:" iconfont luckysheet-iconfont-wenbenjuzhongduiqi",right:" iconfont luckysheet-iconfont-wenbenyouduiqi",top:" iconfont luckysheet-iconfont-dingbuduiqi",middle:" iconfont luckysheet-iconfont-shuipingduiqi",bottom:" iconfont luckysheet-iconfont-dibuduiqi"},textWrap:{overflow:" iconfont luckysheet-iconfont-yichu1",wrap:" iconfont luckysheet-iconfont-zidonghuanhang",clip:" iconfont luckysheet-iconfont-jieduan"},rotation:{none:" iconfont luckysheet-iconfont-wuxuanzhuang",angleup:" iconfont luckysheet-iconfont-xiangshangqingxie",angledown:" iconfont luckysheet-iconfont-xiangxiaqingxie",vertical:" iconfont luckysheet-iconfont-shupaiwenzi","rotation-up":" iconfont luckysheet-iconfont-wenbenxiangshang","rotation-down":" iconfont luckysheet-iconfont-xiangxia90"}}});function Z(e){for(let a=0;a<h.luckysheetfile.length;a++)if(h.luckysheetfile[a].index==e)return a;return null}function kt(e,a,t){let l="";t==null&&(t=h.currentSheetIndex),e!=t&&(l=h.luckysheetfile[Z(e)].name.replace(/'/g,"''"),/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/.test(l)?l=l+"!":l="'"+l+"'!");let n=a.row[0],o=a.row[1],s=a.column[0],u=a.column[1];return n==null&&o==null?l+tt(s)+":"+tt(u):s==null&&u==null?l+(n+1)+":"+(o+1):s==u&&n==o?l+tt(s)+(n+1):l+tt(s)+(n+1)+":"+tt(u)+(o+1)}function $u(){return h.luckysheet_select_save}function It(e){return e&&h.luckysheetfile.forEach(a=>{a.chart&&a.chart.forEach(t=>{let l=h.getChartJson(t.chart_id);t.chartOptions=l})}),h.luckysheetfile}function Au(){return h.config}function ji(){return h.visibledatarow}function Ui(){return h.visibledatacolumn}var Rt=Ae(()=>{dt();Ke()});function Iu(e){h.luckysheet_select_save=e}function Yl(e){h.luckysheet_scroll_status=e}function Va(e){h.luckysheetfile=e}var _a=Ae(()=>{Rt();Ke()});var fp,ol,mn=Ae(()=>{fp={mobilecheck:function(){var e=!1;return function(a){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),document.body&&document.body.clientWidth&&document.body.clientHeight&&document.body.clientWidth<350&&document.body.clientHeight<500&&(e=!0),e},iphoneCheck:function(){var e=!1;return/iPhone/i.test(navigator.userAgent)&&(e=!0),!0},isWeixin:function(){var e=navigator.userAgent.toLowerCase();return e.match(/MicroMessenger/i)=="micromessenger"},isAndroid:function(){var e=navigator.userAgent,a=(navigator.appVersion,e.indexOf("Android")>-1||e.indexOf("Linux")>-1);return a},tabletCheck:function(){var e=/ipad|android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase());return e},BrowserType:function(){var e=navigator.userAgent,a=e.indexOf("Opera")>-1,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!a,l=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1,n=e.indexOf("Edge")>-1,o=e.indexOf("Firefox")>-1,s=e.indexOf("Safari")>-1&&e.indexOf("Chrome")==-1,u=e.indexOf("Chrome")>-1&&e.indexOf("Safari")>-1;if(t){var d=new RegExp("MSIE (\\d+\\.\\d+);");d.test(e);var f=parseFloat(RegExp.$1);return f==7?"IE7":f==8?"IE8":f==9?"IE9":f==10?"IE10":"0"}if(o)return"FF";if(a)return"Opera";if(s)return"Safari";if(u)return"Chrome";if(n)return"Edge";if(l)return"IE11"},isIE:function(){var e=navigator.userAgent,a=e.indexOf("Opera")>-1,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!a,l=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;return t||l?"1":"-1"},IEVersion:function(){var e=navigator.userAgent,a=e.indexOf("Opera")>-1,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!a,l=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1,n=e.indexOf("Windows NT 6.1; Trident/7.0;")>-1&&!t;if(t){var o=new RegExp("MSIE (\\d+\\.\\d+);");o.test(e);var s=parseFloat(RegExp.$1);return s==7?"IE7":s==8?"IE8":s==9?"IE9":s==10?"IE10":"0"}else return n?"Edge":l?"IE11":"-1"},luckysheetrefreshfixednum:null,luckysheetrefreshfixed:function(){var e=this;return e.luckysheetrefreshfixednum==null&&(e.BrowserType()=="FF"?e.luckysheetrefreshfixednum=5:e.luckysheetrefreshfixednum=0),e.luckysheetrefreshfixednum},detectOS(){var e=navigator.userAgent,a=navigator.platform=="Win32"||navigator.platform=="Windows",t=navigator.platform=="Mac68K"||navigator.platform=="MacPPC"||navigator.platform=="Macintosh"||navigator.platform=="MacIntel";if(t)return"Mac";var l=navigator.platform=="X11"&&!a&&!t;if(l)return"Unix";var n=String(navigator.platform).indexOf("Linux")>-1;if(n)return"Linux";if(a){var o=e.indexOf("Windows NT 5.0")>-1||e.indexOf("Windows 2000")>-1;if(o)return"Win2000";var s=e.indexOf("Windows NT 5.1")>-1||e.indexOf("Windows XP")>-1;if(s)return"WinXP";var u=e.indexOf("Windows NT 5.2")>-1||e.indexOf("Windows 2003")>-1;if(u)return"Win2003";var d=e.indexOf("Windows NT 6.0")>-1||e.indexOf("Windows Vista")>-1;if(d)return"WinVista";var f=e.indexOf("Windows NT 6.1")>-1||e.indexOf("Windows 7")>-1;if(f)return"Win7"}return"other"}},ol=fp});var na=kr(jr=>{"use strict";var mp=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function pp(e,a){return Object.prototype.hasOwnProperty.call(e,a)}jr.assign=function(e){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var t=a.shift();if(!!t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var l in t)pp(t,l)&&(e[l]=t[l])}}return e};jr.shrinkBuf=function(e,a){return e.length===a?e:e.subarray?e.subarray(0,a):(e.length=a,e)};var gp={arraySet:function(e,a,t,l,n){if(a.subarray&&e.subarray){e.set(a.subarray(t,t+l),n);return}for(var o=0;o<l;o++)e[n+o]=a[t+o]},flattenChunks:function(e){var a,t,l,n,o,s;for(l=0,a=0,t=e.length;a<t;a++)l+=e[a].length;for(s=new Uint8Array(l),n=0,a=0,t=e.length;a<t;a++)o=e[a],s.set(o,n),n+=o.length;return s}},yp={arraySet:function(e,a,t,l,n){for(var o=0;o<l;o++)e[n+o]=a[t+o]},flattenChunks:function(e){return[].concat.apply([],e)}};jr.setTyped=function(e){e?(jr.Buf8=Uint8Array,jr.Buf16=Uint16Array,jr.Buf32=Int32Array,jr.assign(jr,gp)):(jr.Buf8=Array,jr.Buf16=Array,jr.Buf32=Array,jr.assign(jr,yp))};jr.setTyped(mp)});var Ju=kr(yn=>{"use strict";var vp=na(),bp=4,Ru=0,Du=1,kp=2;function pn(e){for(var a=e.length;--a>=0;)e[a]=0}var xp=0,qu=1,wp=2,_p=3,Cp=258,Xo=29,li=256,ai=li+1+Xo,gn=30,Ko=19,Fu=2*ai+1,ja=15,Zo=16,Tp=7,Jo=256,Mu=16,Eu=17,Nu=18,Qo=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Gi=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Sp=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Pu=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],$p=512,ia=new Array((ai+2)*2);pn(ia);var ni=new Array(gn*2);pn(ni);var ii=new Array($p);pn(ii);var oi=new Array(Cp-_p+1);pn(oi);var es=new Array(Xo);pn(es);var Wi=new Array(gn);pn(Wi);function ts(e,a,t,l,n){this.static_tree=e,this.extra_bits=a,this.extra_base=t,this.elems=l,this.max_length=n,this.has_stree=e&&e.length}var zu,Lu,Ou;function rs(e,a){this.dyn_tree=e,this.max_code=0,this.stat_desc=a}function Bu(e){return e<256?ii[e]:ii[256+(e>>>7)]}function si(e,a){e.pending_buf[e.pending++]=a&255,e.pending_buf[e.pending++]=a>>>8&255}function Zr(e,a,t){e.bi_valid>Zo-t?(e.bi_buf|=a<<e.bi_valid&65535,si(e,e.bi_buf),e.bi_buf=a>>Zo-e.bi_valid,e.bi_valid+=t-Zo):(e.bi_buf|=a<<e.bi_valid&65535,e.bi_valid+=t)}function Xl(e,a,t){Zr(e,t[a*2],t[a*2+1])}function Hu(e,a){var t=0;do t|=e&1,e>>>=1,t<<=1;while(--a>0);return t>>>1}function Ap(e){e.bi_valid===16?(si(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Ip(e,a){var t=a.dyn_tree,l=a.max_code,n=a.stat_desc.static_tree,o=a.stat_desc.has_stree,s=a.stat_desc.extra_bits,u=a.stat_desc.extra_base,d=a.stat_desc.max_length,f,m,g,y,v,b,k=0;for(y=0;y<=ja;y++)e.bl_count[y]=0;for(t[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<Fu;f++)m=e.heap[f],y=t[t[m*2+1]*2+1]+1,y>d&&(y=d,k++),t[m*2+1]=y,!(m>l)&&(e.bl_count[y]++,v=0,m>=u&&(v=s[m-u]),b=t[m*2],e.opt_len+=b*(y+v),o&&(e.static_len+=b*(n[m*2+1]+v)));if(k!==0){do{for(y=d-1;e.bl_count[y]===0;)y--;e.bl_count[y]--,e.bl_count[y+1]+=2,e.bl_count[d]--,k-=2}while(k>0);for(y=d;y!==0;y--)for(m=e.bl_count[y];m!==0;)g=e.heap[--f],!(g>l)&&(t[g*2+1]!==y&&(e.opt_len+=(y-t[g*2+1])*t[g*2],t[g*2+1]=y),m--)}}function Vu(e,a,t){var l=new Array(ja+1),n=0,o,s;for(o=1;o<=ja;o++)l[o]=n=n+t[o-1]<<1;for(s=0;s<=a;s++){var u=e[s*2+1];u!==0&&(e[s*2]=Hu(l[u]++,u))}}function Rp(){var e,a,t,l,n,o=new Array(ja+1);for(t=0,l=0;l<Xo-1;l++)for(es[l]=t,e=0;e<1<<Qo[l];e++)oi[t++]=l;for(oi[t-1]=l,n=0,l=0;l<16;l++)for(Wi[l]=n,e=0;e<1<<Gi[l];e++)ii[n++]=l;for(n>>=7;l<gn;l++)for(Wi[l]=n<<7,e=0;e<1<<Gi[l]-7;e++)ii[256+n++]=l;for(a=0;a<=ja;a++)o[a]=0;for(e=0;e<=143;)ia[e*2+1]=8,e++,o[8]++;for(;e<=255;)ia[e*2+1]=9,e++,o[9]++;for(;e<=279;)ia[e*2+1]=7,e++,o[7]++;for(;e<=287;)ia[e*2+1]=8,e++,o[8]++;for(Vu(ia,ai+1,o),e=0;e<gn;e++)ni[e*2+1]=5,ni[e*2]=Hu(e,5);zu=new ts(ia,Qo,li+1,ai,ja),Lu=new ts(ni,Gi,0,gn,ja),Ou=new ts(new Array(0),Sp,0,Ko,Tp)}function ju(e){var a;for(a=0;a<ai;a++)e.dyn_ltree[a*2]=0;for(a=0;a<gn;a++)e.dyn_dtree[a*2]=0;for(a=0;a<Ko;a++)e.bl_tree[a*2]=0;e.dyn_ltree[Jo*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Uu(e){e.bi_valid>8?si(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Dp(e,a,t,l){Uu(e),l&&(si(e,t),si(e,~t)),vp.arraySet(e.pending_buf,e.window,a,t,e.pending),e.pending+=t}function Gu(e,a,t,l){var n=a*2,o=t*2;return e[n]<e[o]||e[n]===e[o]&&l[a]<=l[t]}function ls(e,a,t){for(var l=e.heap[t],n=t<<1;n<=e.heap_len&&(n<e.heap_len&&Gu(a,e.heap[n+1],e.heap[n],e.depth)&&n++,!Gu(a,l,e.heap[n],e.depth));)e.heap[t]=e.heap[n],t=n,n<<=1;e.heap[t]=l}function Wu(e,a,t){var l,n,o=0,s,u;if(e.last_lit!==0)do l=e.pending_buf[e.d_buf+o*2]<<8|e.pending_buf[e.d_buf+o*2+1],n=e.pending_buf[e.l_buf+o],o++,l===0?Xl(e,n,a):(s=oi[n],Xl(e,s+li+1,a),u=Qo[s],u!==0&&(n-=es[s],Zr(e,n,u)),l--,s=Bu(l),Xl(e,s,t),u=Gi[s],u!==0&&(l-=Wi[s],Zr(e,l,u)));while(o<e.last_lit);Xl(e,Jo,a)}function as(e,a){var t=a.dyn_tree,l=a.stat_desc.static_tree,n=a.stat_desc.has_stree,o=a.stat_desc.elems,s,u,d=-1,f;for(e.heap_len=0,e.heap_max=Fu,s=0;s<o;s++)t[s*2]!==0?(e.heap[++e.heap_len]=d=s,e.depth[s]=0):t[s*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=d<2?++d:0,t[f*2]=1,e.depth[f]=0,e.opt_len--,n&&(e.static_len-=l[f*2+1]);for(a.max_code=d,s=e.heap_len>>1;s>=1;s--)ls(e,t,s);f=o;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ls(e,t,1),u=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=u,t[f*2]=t[s*2]+t[u*2],e.depth[f]=(e.depth[s]>=e.depth[u]?e.depth[s]:e.depth[u])+1,t[s*2+1]=t[u*2+1]=f,e.heap[1]=f++,ls(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Ip(e,a),Vu(t,d,e.bl_count)}function Yu(e,a,t){var l,n=-1,o,s=a[0*2+1],u=0,d=7,f=4;for(s===0&&(d=138,f=3),a[(t+1)*2+1]=65535,l=0;l<=t;l++)o=s,s=a[(l+1)*2+1],!(++u<d&&o===s)&&(u<f?e.bl_tree[o*2]+=u:o!==0?(o!==n&&e.bl_tree[o*2]++,e.bl_tree[Mu*2]++):u<=10?e.bl_tree[Eu*2]++:e.bl_tree[Nu*2]++,u=0,n=o,s===0?(d=138,f=3):o===s?(d=6,f=3):(d=7,f=4))}function Xu(e,a,t){var l,n=-1,o,s=a[0*2+1],u=0,d=7,f=4;for(s===0&&(d=138,f=3),l=0;l<=t;l++)if(o=s,s=a[(l+1)*2+1],!(++u<d&&o===s)){if(u<f)do Xl(e,o,e.bl_tree);while(--u!=0);else o!==0?(o!==n&&(Xl(e,o,e.bl_tree),u--),Xl(e,Mu,e.bl_tree),Zr(e,u-3,2)):u<=10?(Xl(e,Eu,e.bl_tree),Zr(e,u-3,3)):(Xl(e,Nu,e.bl_tree),Zr(e,u-11,7));u=0,n=o,s===0?(d=138,f=3):o===s?(d=6,f=3):(d=7,f=4)}}function qp(e){var a;for(Yu(e,e.dyn_ltree,e.l_desc.max_code),Yu(e,e.dyn_dtree,e.d_desc.max_code),as(e,e.bl_desc),a=Ko-1;a>=3&&e.bl_tree[Pu[a]*2+1]===0;a--);return e.opt_len+=3*(a+1)+5+5+4,a}function Fp(e,a,t,l){var n;for(Zr(e,a-257,5),Zr(e,t-1,5),Zr(e,l-4,4),n=0;n<l;n++)Zr(e,e.bl_tree[Pu[n]*2+1],3);Xu(e,e.dyn_ltree,a-1),Xu(e,e.dyn_dtree,t-1)}function Mp(e){var a=4093624447,t;for(t=0;t<=31;t++,a>>>=1)if(a&1&&e.dyn_ltree[t*2]!==0)return Ru;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Du;for(t=32;t<li;t++)if(e.dyn_ltree[t*2]!==0)return Du;return Ru}var Ku=!1;function Ep(e){Ku||(Rp(),Ku=!0),e.l_desc=new rs(e.dyn_ltree,zu),e.d_desc=new rs(e.dyn_dtree,Lu),e.bl_desc=new rs(e.bl_tree,Ou),e.bi_buf=0,e.bi_valid=0,ju(e)}function Zu(e,a,t,l){Zr(e,(xp<<1)+(l?1:0),3),Dp(e,a,t,!0)}function Np(e){Zr(e,qu<<1,3),Xl(e,Jo,ia),Ap(e)}function Pp(e,a,t,l){var n,o,s=0;e.level>0?(e.strm.data_type===kp&&(e.strm.data_type=Mp(e)),as(e,e.l_desc),as(e,e.d_desc),s=qp(e),n=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=n&&(n=o)):n=o=t+5,t+4<=n&&a!==-1?Zu(e,a,t,l):e.strategy===bp||o===n?(Zr(e,(qu<<1)+(l?1:0),3),Wu(e,ia,ni)):(Zr(e,(wp<<1)+(l?1:0),3),Fp(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),Wu(e,e.dyn_ltree,e.dyn_dtree)),ju(e),l&&Uu(e)}function zp(e,a,t){return e.pending_buf[e.d_buf+e.last_lit*2]=a>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=a&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,a===0?e.dyn_ltree[t*2]++:(e.matches++,a--,e.dyn_ltree[(oi[t]+li+1)*2]++,e.dyn_dtree[Bu(a)*2]++),e.last_lit===e.lit_bufsize-1}yn._tr_init=Ep;yn._tr_stored_block=Zu;yn._tr_flush_block=Pp;yn._tr_tally=zp;yn._tr_align=Np});var ns=kr((r1,Qu)=>{"use strict";function Lp(e,a,t,l){for(var n=e&65535|0,o=e>>>16&65535|0,s=0;t!==0;){s=t>2e3?2e3:t,t-=s;do n=n+a[l++]|0,o=o+n|0;while(--s);n%=65521,o%=65521}return n|o<<16|0}Qu.exports=Lp});var is=kr((l1,eh)=>{"use strict";function Op(){for(var e,a=[],t=0;t<256;t++){e=t;for(var l=0;l<8;l++)e=e&1?3988292384^e>>>1:e>>>1;a[t]=e}return a}var Bp=Op();function Hp(e,a,t,l){var n=Bp,o=l+t;e^=-1;for(var s=l;s<o;s++)e=e>>>8^n[(e^a[s])&255];return e^-1}eh.exports=Hp});var Yi=kr((n1,th)=>{"use strict";th.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var uh=kr(Jl=>{"use strict";var Ur=na(),gl=Ju(),rh=ns(),Ca=is(),Vp=Yi(),Ua=0,jp=1,Up=3,Ta=4,lh=5,Kl=0,ah=1,yl=-2,Gp=-3,os=-5,Wp=-1,Yp=1,Xi=2,Xp=3,Kp=4,Zp=0,Jp=2,Ki=8,Qp=9,eg=15,tg=8,rg=29,lg=256,ss=lg+1+rg,ag=30,ng=19,ig=2*ss+1,og=15,Bt=3,Sa=258,ql=Sa+Bt+1,sg=32,Zi=42,cs=69,Ji=73,Qi=91,eo=103,Ga=113,ci=666,Tr=1,ui=2,Wa=3,vn=4,cg=3;function $a(e,a){return e.msg=Vp[a],a}function nh(e){return(e<<1)-(e>4?9:0)}function Aa(e){for(var a=e.length;--a>=0;)e[a]=0}function Ia(e){var a=e.state,t=a.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(Ur.arraySet(e.output,a.pending_buf,a.pending_out,t,e.next_out),e.next_out+=t,a.pending_out+=t,e.total_out+=t,e.avail_out-=t,a.pending-=t,a.pending===0&&(a.pending_out=0))}function qr(e,a){gl._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,a),e.block_start=e.strstart,Ia(e.strm)}function Ut(e,a){e.pending_buf[e.pending++]=a}function hi(e,a){e.pending_buf[e.pending++]=a>>>8&255,e.pending_buf[e.pending++]=a&255}function ug(e,a,t,l){var n=e.avail_in;return n>l&&(n=l),n===0?0:(e.avail_in-=n,Ur.arraySet(a,e.input,e.next_in,n,t),e.state.wrap===1?e.adler=rh(e.adler,a,n,t):e.state.wrap===2&&(e.adler=Ca(e.adler,a,n,t)),e.next_in+=n,e.total_in+=n,n)}function ih(e,a){var t=e.max_chain_length,l=e.strstart,n,o,s=e.prev_length,u=e.nice_match,d=e.strstart>e.w_size-ql?e.strstart-(e.w_size-ql):0,f=e.window,m=e.w_mask,g=e.prev,y=e.strstart+Sa,v=f[l+s-1],b=f[l+s];e.prev_length>=e.good_match&&(t>>=2),u>e.lookahead&&(u=e.lookahead);do if(n=a,!(f[n+s]!==b||f[n+s-1]!==v||f[n]!==f[l]||f[++n]!==f[l+1])){l+=2,n++;do;while(f[++l]===f[++n]&&f[++l]===f[++n]&&f[++l]===f[++n]&&f[++l]===f[++n]&&f[++l]===f[++n]&&f[++l]===f[++n]&&f[++l]===f[++n]&&f[++l]===f[++n]&&l<y);if(o=Sa-(y-l),l=y-Sa,o>s){if(e.match_start=a,s=o,o>=u)break;v=f[l+s-1],b=f[l+s]}}while((a=g[a&m])>d&&--t!=0);return s<=e.lookahead?s:e.lookahead}function Ya(e){var a=e.w_size,t,l,n,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-ql)){Ur.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,l=e.hash_size,t=l;do n=e.head[--t],e.head[t]=n>=a?n-a:0;while(--l);l=a,t=l;do n=e.prev[--t],e.prev[t]=n>=a?n-a:0;while(--l);o+=a}if(e.strm.avail_in===0)break;if(l=ug(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=l,e.lookahead+e.insert>=Bt)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+Bt-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<Bt)););}while(e.lookahead<ql&&e.strm.avail_in!==0)}function hg(e,a){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ya(e),e.lookahead===0&&a===Ua)return Tr;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var l=e.block_start+t;if((e.strstart===0||e.strstart>=l)&&(e.lookahead=e.strstart-l,e.strstart=l,qr(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ql&&(qr(e,!1),e.strm.avail_out===0))return Tr}return e.insert=0,a===Ta?(qr(e,!0),e.strm.avail_out===0?Wa:vn):(e.strstart>e.block_start&&(qr(e,!1),e.strm.avail_out===0),Tr)}function us(e,a){for(var t,l;;){if(e.lookahead<ql){if(Ya(e),e.lookahead<ql&&a===Ua)return Tr;if(e.lookahead===0)break}if(t=0,e.lookahead>=Bt&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Bt-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-ql&&(e.match_length=ih(e,t)),e.match_length>=Bt)if(l=gl._tr_tally(e,e.strstart-e.match_start,e.match_length-Bt),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Bt){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Bt-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!=0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else l=gl._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(l&&(qr(e,!1),e.strm.avail_out===0))return Tr}return e.insert=e.strstart<Bt-1?e.strstart:Bt-1,a===Ta?(qr(e,!0),e.strm.avail_out===0?Wa:vn):e.last_lit&&(qr(e,!1),e.strm.avail_out===0)?Tr:ui}function bn(e,a){for(var t,l,n;;){if(e.lookahead<ql){if(Ya(e),e.lookahead<ql&&a===Ua)return Tr;if(e.lookahead===0)break}if(t=0,e.lookahead>=Bt&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Bt-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Bt-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-ql&&(e.match_length=ih(e,t),e.match_length<=5&&(e.strategy===Yp||e.match_length===Bt&&e.strstart-e.match_start>4096)&&(e.match_length=Bt-1)),e.prev_length>=Bt&&e.match_length<=e.prev_length){n=e.strstart+e.lookahead-Bt,l=gl._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Bt),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Bt-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!=0);if(e.match_available=0,e.match_length=Bt-1,e.strstart++,l&&(qr(e,!1),e.strm.avail_out===0))return Tr}else if(e.match_available){if(l=gl._tr_tally(e,0,e.window[e.strstart-1]),l&&qr(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Tr}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(l=gl._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Bt-1?e.strstart:Bt-1,a===Ta?(qr(e,!0),e.strm.avail_out===0?Wa:vn):e.last_lit&&(qr(e,!1),e.strm.avail_out===0)?Tr:ui}function dg(e,a){for(var t,l,n,o,s=e.window;;){if(e.lookahead<=Sa){if(Ya(e),e.lookahead<=Sa&&a===Ua)return Tr;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Bt&&e.strstart>0&&(n=e.strstart-1,l=s[n],l===s[++n]&&l===s[++n]&&l===s[++n])){o=e.strstart+Sa;do;while(l===s[++n]&&l===s[++n]&&l===s[++n]&&l===s[++n]&&l===s[++n]&&l===s[++n]&&l===s[++n]&&l===s[++n]&&n<o);e.match_length=Sa-(o-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Bt?(t=gl._tr_tally(e,1,e.match_length-Bt),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=gl._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(qr(e,!1),e.strm.avail_out===0))return Tr}return e.insert=0,a===Ta?(qr(e,!0),e.strm.avail_out===0?Wa:vn):e.last_lit&&(qr(e,!1),e.strm.avail_out===0)?Tr:ui}function fg(e,a){for(var t;;){if(e.lookahead===0&&(Ya(e),e.lookahead===0)){if(a===Ua)return Tr;break}if(e.match_length=0,t=gl._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(qr(e,!1),e.strm.avail_out===0))return Tr}return e.insert=0,a===Ta?(qr(e,!0),e.strm.avail_out===0?Wa:vn):e.last_lit&&(qr(e,!1),e.strm.avail_out===0)?Tr:ui}function Zl(e,a,t,l,n){this.good_length=e,this.max_lazy=a,this.nice_length=t,this.max_chain=l,this.func=n}var kn;kn=[new Zl(0,0,0,0,hg),new Zl(4,4,8,4,us),new Zl(4,5,16,8,us),new Zl(4,6,32,32,us),new Zl(4,4,16,16,bn),new Zl(8,16,32,32,bn),new Zl(8,16,128,128,bn),new Zl(8,32,128,256,bn),new Zl(32,128,258,1024,bn),new Zl(32,258,258,4096,bn)];function mg(e){e.window_size=2*e.w_size,Aa(e.head),e.max_lazy_match=kn[e.level].max_lazy,e.good_match=kn[e.level].good_length,e.nice_match=kn[e.level].nice_length,e.max_chain_length=kn[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Bt-1,e.match_available=0,e.ins_h=0}function pg(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ki,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Ur.Buf16(ig*2),this.dyn_dtree=new Ur.Buf16((2*ag+1)*2),this.bl_tree=new Ur.Buf16((2*ng+1)*2),Aa(this.dyn_ltree),Aa(this.dyn_dtree),Aa(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ur.Buf16(og+1),this.heap=new Ur.Buf16(2*ss+1),Aa(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ur.Buf16(2*ss+1),Aa(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function oh(e){var a;return!e||!e.state?$a(e,yl):(e.total_in=e.total_out=0,e.data_type=Jp,a=e.state,a.pending=0,a.pending_out=0,a.wrap<0&&(a.wrap=-a.wrap),a.status=a.wrap?Zi:Ga,e.adler=a.wrap===2?0:1,a.last_flush=Ua,gl._tr_init(a),Kl)}function sh(e){var a=oh(e);return a===Kl&&mg(e.state),a}function gg(e,a){return!e||!e.state||e.state.wrap!==2?yl:(e.state.gzhead=a,Kl)}function ch(e,a,t,l,n,o){if(!e)return yl;var s=1;if(a===Wp&&(a=6),l<0?(s=0,l=-l):l>15&&(s=2,l-=16),n<1||n>Qp||t!==Ki||l<8||l>15||a<0||a>9||o<0||o>Kp)return $a(e,yl);l===8&&(l=9);var u=new pg;return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=l,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=n+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+Bt-1)/Bt),u.window=new Ur.Buf8(u.w_size*2),u.head=new Ur.Buf16(u.hash_size),u.prev=new Ur.Buf16(u.w_size),u.lit_bufsize=1<<n+6,u.pending_buf_size=u.lit_bufsize*4,u.pending_buf=new Ur.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=(1+2)*u.lit_bufsize,u.level=a,u.strategy=o,u.method=t,sh(e)}function yg(e,a){return ch(e,a,Ki,eg,tg,Zp)}function vg(e,a){var t,l,n,o;if(!e||!e.state||a>lh||a<0)return e?$a(e,yl):yl;if(l=e.state,!e.output||!e.input&&e.avail_in!==0||l.status===ci&&a!==Ta)return $a(e,e.avail_out===0?os:yl);if(l.strm=e,t=l.last_flush,l.last_flush=a,l.status===Zi)if(l.wrap===2)e.adler=0,Ut(l,31),Ut(l,139),Ut(l,8),l.gzhead?(Ut(l,(l.gzhead.text?1:0)+(l.gzhead.hcrc?2:0)+(l.gzhead.extra?4:0)+(l.gzhead.name?8:0)+(l.gzhead.comment?16:0)),Ut(l,l.gzhead.time&255),Ut(l,l.gzhead.time>>8&255),Ut(l,l.gzhead.time>>16&255),Ut(l,l.gzhead.time>>24&255),Ut(l,l.level===9?2:l.strategy>=Xi||l.level<2?4:0),Ut(l,l.gzhead.os&255),l.gzhead.extra&&l.gzhead.extra.length&&(Ut(l,l.gzhead.extra.length&255),Ut(l,l.gzhead.extra.length>>8&255)),l.gzhead.hcrc&&(e.adler=Ca(e.adler,l.pending_buf,l.pending,0)),l.gzindex=0,l.status=cs):(Ut(l,0),Ut(l,0),Ut(l,0),Ut(l,0),Ut(l,0),Ut(l,l.level===9?2:l.strategy>=Xi||l.level<2?4:0),Ut(l,cg),l.status=Ga);else{var s=Ki+(l.w_bits-8<<4)<<8,u=-1;l.strategy>=Xi||l.level<2?u=0:l.level<6?u=1:l.level===6?u=2:u=3,s|=u<<6,l.strstart!==0&&(s|=sg),s+=31-s%31,l.status=Ga,hi(l,s),l.strstart!==0&&(hi(l,e.adler>>>16),hi(l,e.adler&65535)),e.adler=1}if(l.status===cs)if(l.gzhead.extra){for(n=l.pending;l.gzindex<(l.gzhead.extra.length&65535)&&!(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>n&&(e.adler=Ca(e.adler,l.pending_buf,l.pending-n,n)),Ia(e),n=l.pending,l.pending===l.pending_buf_size));)Ut(l,l.gzhead.extra[l.gzindex]&255),l.gzindex++;l.gzhead.hcrc&&l.pending>n&&(e.adler=Ca(e.adler,l.pending_buf,l.pending-n,n)),l.gzindex===l.gzhead.extra.length&&(l.gzindex=0,l.status=Ji)}else l.status=Ji;if(l.status===Ji)if(l.gzhead.name){n=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>n&&(e.adler=Ca(e.adler,l.pending_buf,l.pending-n,n)),Ia(e),n=l.pending,l.pending===l.pending_buf_size)){o=1;break}l.gzindex<l.gzhead.name.length?o=l.gzhead.name.charCodeAt(l.gzindex++)&255:o=0,Ut(l,o)}while(o!==0);l.gzhead.hcrc&&l.pending>n&&(e.adler=Ca(e.adler,l.pending_buf,l.pending-n,n)),o===0&&(l.gzindex=0,l.status=Qi)}else l.status=Qi;if(l.status===Qi)if(l.gzhead.comment){n=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>n&&(e.adler=Ca(e.adler,l.pending_buf,l.pending-n,n)),Ia(e),n=l.pending,l.pending===l.pending_buf_size)){o=1;break}l.gzindex<l.gzhead.comment.length?o=l.gzhead.comment.charCodeAt(l.gzindex++)&255:o=0,Ut(l,o)}while(o!==0);l.gzhead.hcrc&&l.pending>n&&(e.adler=Ca(e.adler,l.pending_buf,l.pending-n,n)),o===0&&(l.status=eo)}else l.status=eo;if(l.status===eo&&(l.gzhead.hcrc?(l.pending+2>l.pending_buf_size&&Ia(e),l.pending+2<=l.pending_buf_size&&(Ut(l,e.adler&255),Ut(l,e.adler>>8&255),e.adler=0,l.status=Ga)):l.status=Ga),l.pending!==0){if(Ia(e),e.avail_out===0)return l.last_flush=-1,Kl}else if(e.avail_in===0&&nh(a)<=nh(t)&&a!==Ta)return $a(e,os);if(l.status===ci&&e.avail_in!==0)return $a(e,os);if(e.avail_in!==0||l.lookahead!==0||a!==Ua&&l.status!==ci){var d=l.strategy===Xi?fg(l,a):l.strategy===Xp?dg(l,a):kn[l.level].func(l,a);if((d===Wa||d===vn)&&(l.status=ci),d===Tr||d===Wa)return e.avail_out===0&&(l.last_flush=-1),Kl;if(d===ui&&(a===jp?gl._tr_align(l):a!==lh&&(gl._tr_stored_block(l,0,0,!1),a===Up&&(Aa(l.head),l.lookahead===0&&(l.strstart=0,l.block_start=0,l.insert=0))),Ia(e),e.avail_out===0))return l.last_flush=-1,Kl}return a!==Ta?Kl:l.wrap<=0?ah:(l.wrap===2?(Ut(l,e.adler&255),Ut(l,e.adler>>8&255),Ut(l,e.adler>>16&255),Ut(l,e.adler>>24&255),Ut(l,e.total_in&255),Ut(l,e.total_in>>8&255),Ut(l,e.total_in>>16&255),Ut(l,e.total_in>>24&255)):(hi(l,e.adler>>>16),hi(l,e.adler&65535)),Ia(e),l.wrap>0&&(l.wrap=-l.wrap),l.pending!==0?Kl:ah)}function bg(e){var a;return!e||!e.state?yl:(a=e.state.status,a!==Zi&&a!==cs&&a!==Ji&&a!==Qi&&a!==eo&&a!==Ga&&a!==ci?$a(e,yl):(e.state=null,a===Ga?$a(e,Gp):Kl))}function kg(e,a){var t=a.length,l,n,o,s,u,d,f,m;if(!e||!e.state||(l=e.state,s=l.wrap,s===2||s===1&&l.status!==Zi||l.lookahead))return yl;for(s===1&&(e.adler=rh(e.adler,a,t,0)),l.wrap=0,t>=l.w_size&&(s===0&&(Aa(l.head),l.strstart=0,l.block_start=0,l.insert=0),m=new Ur.Buf8(l.w_size),Ur.arraySet(m,a,t-l.w_size,l.w_size,0),a=m,t=l.w_size),u=e.avail_in,d=e.next_in,f=e.input,e.avail_in=t,e.next_in=0,e.input=a,Ya(l);l.lookahead>=Bt;){n=l.strstart,o=l.lookahead-(Bt-1);do l.ins_h=(l.ins_h<<l.hash_shift^l.window[n+Bt-1])&l.hash_mask,l.prev[n&l.w_mask]=l.head[l.ins_h],l.head[l.ins_h]=n,n++;while(--o);l.strstart=n,l.lookahead=Bt-1,Ya(l)}return l.strstart+=l.lookahead,l.block_start=l.strstart,l.insert=l.lookahead,l.lookahead=0,l.match_length=l.prev_length=Bt-1,l.match_available=0,e.next_in=d,e.input=f,e.avail_in=u,l.wrap=s,Kl}Jl.deflateInit=yg;Jl.deflateInit2=ch;Jl.deflateReset=sh;Jl.deflateResetKeep=oh;Jl.deflateSetHeader=gg;Jl.deflate=vg;Jl.deflateEnd=bg;Jl.deflateSetDictionary=kg;Jl.deflateInfo="pako deflate (from Nodeca project)"});var hs=kr(xn=>{"use strict";var to=na(),hh=!0,dh=!0;try{String.fromCharCode.apply(null,[0])}catch(e){hh=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){dh=!1}var di=new to.Buf8(256);for(var Ra=0;Ra<256;Ra++)di[Ra]=Ra>=252?6:Ra>=248?5:Ra>=240?4:Ra>=224?3:Ra>=192?2:1;di[254]=di[254]=1;xn.string2buf=function(e){var a,t,l,n,o,s=e.length,u=0;for(n=0;n<s;n++)t=e.charCodeAt(n),(t&64512)==55296&&n+1<s&&(l=e.charCodeAt(n+1),(l&64512)==56320&&(t=65536+(t-55296<<10)+(l-56320),n++)),u+=t<128?1:t<2048?2:t<65536?3:4;for(a=new to.Buf8(u),o=0,n=0;o<u;n++)t=e.charCodeAt(n),(t&64512)==55296&&n+1<s&&(l=e.charCodeAt(n+1),(l&64512)==56320&&(t=65536+(t-55296<<10)+(l-56320),n++)),t<128?a[o++]=t:t<2048?(a[o++]=192|t>>>6,a[o++]=128|t&63):t<65536?(a[o++]=224|t>>>12,a[o++]=128|t>>>6&63,a[o++]=128|t&63):(a[o++]=240|t>>>18,a[o++]=128|t>>>12&63,a[o++]=128|t>>>6&63,a[o++]=128|t&63);return a};function fh(e,a){if(a<65534&&(e.subarray&&dh||!e.subarray&&hh))return String.fromCharCode.apply(null,to.shrinkBuf(e,a));for(var t="",l=0;l<a;l++)t+=String.fromCharCode(e[l]);return t}xn.buf2binstring=function(e){return fh(e,e.length)};xn.binstring2buf=function(e){for(var a=new to.Buf8(e.length),t=0,l=a.length;t<l;t++)a[t]=e.charCodeAt(t);return a};xn.buf2string=function(e,a){var t,l,n,o,s=a||e.length,u=new Array(s*2);for(l=0,t=0;t<s;){if(n=e[t++],n<128){u[l++]=n;continue}if(o=di[n],o>4){u[l++]=65533,t+=o-1;continue}for(n&=o===2?31:o===3?15:7;o>1&&t<s;)n=n<<6|e[t++]&63,o--;if(o>1){u[l++]=65533;continue}n<65536?u[l++]=n:(n-=65536,u[l++]=55296|n>>10&1023,u[l++]=56320|n&1023)}return fh(u,l)};xn.utf8border=function(e,a){var t;for(a=a||e.length,a>e.length&&(a=e.length),t=a-1;t>=0&&(e[t]&192)==128;)t--;return t<0||t===0?a:t+di[e[t]]>a?t:a}});var ds=kr((s1,mh)=>{"use strict";function xg(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}mh.exports=xg});var vh=kr(pi=>{"use strict";var fi=uh(),mi=na(),fs=hs(),ms=Yi(),wg=ds(),ph=Object.prototype.toString,_g=0,ps=4,wn=0,gh=1,yh=2,Cg=-1,Tg=0,Sg=8;function Xa(e){if(!(this instanceof Xa))return new Xa(e);this.options=mi.assign({level:Cg,method:Sg,chunkSize:16384,windowBits:15,memLevel:8,strategy:Tg,to:""},e||{});var a=this.options;a.raw&&a.windowBits>0?a.windowBits=-a.windowBits:a.gzip&&a.windowBits>0&&a.windowBits<16&&(a.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new wg,this.strm.avail_out=0;var t=fi.deflateInit2(this.strm,a.level,a.method,a.windowBits,a.memLevel,a.strategy);if(t!==wn)throw new Error(ms[t]);if(a.header&&fi.deflateSetHeader(this.strm,a.header),a.dictionary){var l;if(typeof a.dictionary=="string"?l=fs.string2buf(a.dictionary):ph.call(a.dictionary)==="[object ArrayBuffer]"?l=new Uint8Array(a.dictionary):l=a.dictionary,t=fi.deflateSetDictionary(this.strm,l),t!==wn)throw new Error(ms[t]);this._dict_set=!0}}Xa.prototype.push=function(e,a){var t=this.strm,l=this.options.chunkSize,n,o;if(this.ended)return!1;o=a===~~a?a:a===!0?ps:_g,typeof e=="string"?t.input=fs.string2buf(e):ph.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new mi.Buf8(l),t.next_out=0,t.avail_out=l),n=fi.deflate(t,o),n!==gh&&n!==wn)return this.onEnd(n),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(o===ps||o===yh))&&(this.options.to==="string"?this.onData(fs.buf2binstring(mi.shrinkBuf(t.output,t.next_out))):this.onData(mi.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&n!==gh);return o===ps?(n=fi.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===wn):(o===yh&&(this.onEnd(wn),t.avail_out=0),!0)};Xa.prototype.onData=function(e){this.chunks.push(e)};Xa.prototype.onEnd=function(e){e===wn&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=mi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function gs(e,a){var t=new Xa(a);if(t.push(e,!0),t.err)throw t.msg||ms[t.err];return t.result}function $g(e,a){return a=a||{},a.raw=!0,gs(e,a)}function Ag(e,a){return a=a||{},a.gzip=!0,gs(e,a)}pi.Deflate=Xa;pi.deflate=gs;pi.deflateRaw=$g;pi.gzip=Ag});var kh=kr((u1,bh)=>{"use strict";var ro=30,Ig=12;bh.exports=function(a,t){var l,n,o,s,u,d,f,m,g,y,v,b,k,x,w,_,S,C,T,R,I,A,E,N,D;l=a.state,n=a.next_in,N=a.input,o=n+(a.avail_in-5),s=a.next_out,D=a.output,u=s-(t-a.avail_out),d=s+(a.avail_out-257),f=l.dmax,m=l.wsize,g=l.whave,y=l.wnext,v=l.window,b=l.hold,k=l.bits,x=l.lencode,w=l.distcode,_=(1<<l.lenbits)-1,S=(1<<l.distbits)-1;e:do{k<15&&(b+=N[n++]<<k,k+=8,b+=N[n++]<<k,k+=8),C=x[b&_];t:for(;;){if(T=C>>>24,b>>>=T,k-=T,T=C>>>16&255,T===0)D[s++]=C&65535;else if(T&16){R=C&65535,T&=15,T&&(k<T&&(b+=N[n++]<<k,k+=8),R+=b&(1<<T)-1,b>>>=T,k-=T),k<15&&(b+=N[n++]<<k,k+=8,b+=N[n++]<<k,k+=8),C=w[b&S];r:for(;;){if(T=C>>>24,b>>>=T,k-=T,T=C>>>16&255,T&16){if(I=C&65535,T&=15,k<T&&(b+=N[n++]<<k,k+=8,k<T&&(b+=N[n++]<<k,k+=8)),I+=b&(1<<T)-1,I>f){a.msg="invalid distance too far back",l.mode=ro;break e}if(b>>>=T,k-=T,T=s-u,I>T){if(T=I-T,T>g&&l.sane){a.msg="invalid distance too far back",l.mode=ro;break e}if(A=0,E=v,y===0){if(A+=m-T,T<R){R-=T;do D[s++]=v[A++];while(--T);A=s-I,E=D}}else if(y<T){if(A+=m+y-T,T-=y,T<R){R-=T;do D[s++]=v[A++];while(--T);if(A=0,y<R){T=y,R-=T;do D[s++]=v[A++];while(--T);A=s-I,E=D}}}else if(A+=y-T,T<R){R-=T;do D[s++]=v[A++];while(--T);A=s-I,E=D}for(;R>2;)D[s++]=E[A++],D[s++]=E[A++],D[s++]=E[A++],R-=3;R&&(D[s++]=E[A++],R>1&&(D[s++]=E[A++]))}else{A=s-I;do D[s++]=D[A++],D[s++]=D[A++],D[s++]=D[A++],R-=3;while(R>2);R&&(D[s++]=D[A++],R>1&&(D[s++]=D[A++]))}}else if((T&64)==0){C=w[(C&65535)+(b&(1<<T)-1)];continue r}else{a.msg="invalid distance code",l.mode=ro;break e}break}}else if((T&64)==0){C=x[(C&65535)+(b&(1<<T)-1)];continue t}else if(T&32){l.mode=Ig;break e}else{a.msg="invalid literal/length code",l.mode=ro;break e}break}}while(n<o&&s<d);R=k>>3,n-=R,k-=R<<3,b&=(1<<k)-1,a.next_in=n,a.next_out=s,a.avail_in=n<o?5+(o-n):5-(n-o),a.avail_out=s<d?257+(d-s):257-(s-d),l.hold=b,l.bits=k}});var $h=kr((h1,Sh)=>{"use strict";var xh=na(),_n=15,wh=852,_h=592,Ch=0,ys=1,Th=2,Rg=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Dg=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],qg=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Fg=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Sh.exports=function(a,t,l,n,o,s,u,d){var f=d.bits,m=0,g=0,y=0,v=0,b=0,k=0,x=0,w=0,_=0,S=0,C,T,R,I,A,E=null,N=0,D,F=new xh.Buf16(_n+1),M=new xh.Buf16(_n+1),z=null,O=0,H,U,X;for(m=0;m<=_n;m++)F[m]=0;for(g=0;g<n;g++)F[t[l+g]]++;for(b=f,v=_n;v>=1&&F[v]===0;v--);if(b>v&&(b=v),v===0)return o[s++]=1<<24|64<<16|0,o[s++]=1<<24|64<<16|0,d.bits=1,0;for(y=1;y<v&&F[y]===0;y++);for(b<y&&(b=y),w=1,m=1;m<=_n;m++)if(w<<=1,w-=F[m],w<0)return-1;if(w>0&&(a===Ch||v!==1))return-1;for(M[1]=0,m=1;m<_n;m++)M[m+1]=M[m]+F[m];for(g=0;g<n;g++)t[l+g]!==0&&(u[M[t[l+g]]++]=g);if(a===Ch?(E=z=u,D=19):a===ys?(E=Rg,N-=257,z=Dg,O-=257,D=256):(E=qg,z=Fg,D=-1),S=0,g=0,m=y,A=s,k=b,x=0,R=-1,_=1<<b,I=_-1,a===ys&&_>wh||a===Th&&_>_h)return 1;for(;;){H=m-x,u[g]<D?(U=0,X=u[g]):u[g]>D?(U=z[O+u[g]],X=E[N+u[g]]):(U=32+64,X=0),C=1<<m-x,T=1<<k,y=T;do T-=C,o[A+(S>>x)+T]=H<<24|U<<16|X|0;while(T!==0);for(C=1<<m-1;S&C;)C>>=1;if(C!==0?(S&=C-1,S+=C):S=0,g++,--F[m]==0){if(m===v)break;m=t[l+u[g]]}if(m>b&&(S&I)!==R){for(x===0&&(x=b),A+=y,k=m-x,w=1<<k;k+x<v&&(w-=F[k+x],!(w<=0));)k++,w<<=1;if(_+=1<<k,a===ys&&_>wh||a===Th&&_>_h)return 1;R=S&I,o[R]=b<<24|k<<16|A-s|0}}return S!==0&&(o[A+S]=m-x<<24|64<<16|0),d.bits=b,0}});var sd=kr(Fl=>{"use strict";var sl=na(),vs=ns(),Ql=is(),Mg=kh(),gi=$h(),Eg=0,Ah=1,Ih=2,Rh=4,Ng=5,lo=6,Ka=0,Pg=1,zg=2,vl=-2,Dh=-3,bs=-4,Lg=-5,qh=8,Fh=1,Mh=2,Eh=3,Nh=4,Ph=5,zh=6,Lh=7,Oh=8,Bh=9,Hh=10,ao=11,oa=12,ks=13,Vh=14,xs=15,jh=16,Uh=17,Gh=18,Wh=19,no=20,io=21,Yh=22,Xh=23,Kh=24,Zh=25,Jh=26,ws=27,Qh=28,ed=29,ur=30,_s=31,Og=32,Bg=852,Hg=592,Vg=15,jg=Vg;function td(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function Ug(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new sl.Buf16(320),this.work=new sl.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function rd(e){var a;return!e||!e.state?vl:(a=e.state,e.total_in=e.total_out=a.total=0,e.msg="",a.wrap&&(e.adler=a.wrap&1),a.mode=Fh,a.last=0,a.havedict=0,a.dmax=32768,a.head=null,a.hold=0,a.bits=0,a.lencode=a.lendyn=new sl.Buf32(Bg),a.distcode=a.distdyn=new sl.Buf32(Hg),a.sane=1,a.back=-1,Ka)}function ld(e){var a;return!e||!e.state?vl:(a=e.state,a.wsize=0,a.whave=0,a.wnext=0,rd(e))}function ad(e,a){var t,l;return!e||!e.state||(l=e.state,a<0?(t=0,a=-a):(t=(a>>4)+1,a<48&&(a&=15)),a&&(a<8||a>15))?vl:(l.window!==null&&l.wbits!==a&&(l.window=null),l.wrap=t,l.wbits=a,ld(e))}function nd(e,a){var t,l;return e?(l=new Ug,e.state=l,l.window=null,t=ad(e,a),t!==Ka&&(e.state=null),t):vl}function Gg(e){return nd(e,jg)}var id=!0,Cs,Ts;function Wg(e){if(id){var a;for(Cs=new sl.Buf32(512),Ts=new sl.Buf32(32),a=0;a<144;)e.lens[a++]=8;for(;a<256;)e.lens[a++]=9;for(;a<280;)e.lens[a++]=7;for(;a<288;)e.lens[a++]=8;for(gi(Ah,e.lens,0,288,Cs,0,e.work,{bits:9}),a=0;a<32;)e.lens[a++]=5;gi(Ih,e.lens,0,32,Ts,0,e.work,{bits:5}),id=!1}e.lencode=Cs,e.lenbits=9,e.distcode=Ts,e.distbits=5}function od(e,a,t,l){var n,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new sl.Buf8(o.wsize)),l>=o.wsize?(sl.arraySet(o.window,a,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n=o.wsize-o.wnext,n>l&&(n=l),sl.arraySet(o.window,a,t-l,n,o.wnext),l-=n,l?(sl.arraySet(o.window,a,t-l,l,0),o.wnext=l,o.whave=o.wsize):(o.wnext+=n,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=n))),0}function Yg(e,a){var t,l,n,o,s,u,d,f,m,g,y,v,b,k,x=0,w,_,S,C,T,R,I,A,E=new sl.Buf8(4),N,D,F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return vl;t=e.state,t.mode===oa&&(t.mode=ks),s=e.next_out,n=e.output,d=e.avail_out,o=e.next_in,l=e.input,u=e.avail_in,f=t.hold,m=t.bits,g=u,y=d,A=Ka;e:for(;;)switch(t.mode){case Fh:if(t.wrap===0){t.mode=ks;break}for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(t.wrap&2&&f===35615){t.check=0,E[0]=f&255,E[1]=f>>>8&255,t.check=Ql(t.check,E,2,0),f=0,m=0,t.mode=Mh;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",t.mode=ur;break}if((f&15)!==qh){e.msg="unknown compression method",t.mode=ur;break}if(f>>>=4,m-=4,I=(f&15)+8,t.wbits===0)t.wbits=I;else if(I>t.wbits){e.msg="invalid window size",t.mode=ur;break}t.dmax=1<<I,e.adler=t.check=1,t.mode=f&512?Hh:oa,f=0,m=0;break;case Mh:for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(t.flags=f,(t.flags&255)!==qh){e.msg="unknown compression method",t.mode=ur;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=ur;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(E[0]=f&255,E[1]=f>>>8&255,t.check=Ql(t.check,E,2,0)),f=0,m=0,t.mode=Eh;case Eh:for(;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.head&&(t.head.time=f),t.flags&512&&(E[0]=f&255,E[1]=f>>>8&255,E[2]=f>>>16&255,E[3]=f>>>24&255,t.check=Ql(t.check,E,4,0)),f=0,m=0,t.mode=Nh;case Nh:for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(E[0]=f&255,E[1]=f>>>8&255,t.check=Ql(t.check,E,2,0)),f=0,m=0,t.mode=Ph;case Ph:if(t.flags&1024){for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(E[0]=f&255,E[1]=f>>>8&255,t.check=Ql(t.check,E,2,0)),f=0,m=0}else t.head&&(t.head.extra=null);t.mode=zh;case zh:if(t.flags&1024&&(v=t.length,v>u&&(v=u),v&&(t.head&&(I=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),sl.arraySet(t.head.extra,l,o,v,I)),t.flags&512&&(t.check=Ql(t.check,l,v,o)),u-=v,o+=v,t.length-=v),t.length))break e;t.length=0,t.mode=Lh;case Lh:if(t.flags&2048){if(u===0)break e;v=0;do I=l[o+v++],t.head&&I&&t.length<65536&&(t.head.name+=String.fromCharCode(I));while(I&&v<u);if(t.flags&512&&(t.check=Ql(t.check,l,v,o)),u-=v,o+=v,I)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=Oh;case Oh:if(t.flags&4096){if(u===0)break e;v=0;do I=l[o+v++],t.head&&I&&t.length<65536&&(t.head.comment+=String.fromCharCode(I));while(I&&v<u);if(t.flags&512&&(t.check=Ql(t.check,l,v,o)),u-=v,o+=v,I)break e}else t.head&&(t.head.comment=null);t.mode=Bh;case Bh:if(t.flags&512){for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(f!==(t.check&65535)){e.msg="header crc mismatch",t.mode=ur;break}f=0,m=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=oa;break;case Hh:for(;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}e.adler=t.check=td(f),f=0,m=0,t.mode=ao;case ao:if(t.havedict===0)return e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=u,t.hold=f,t.bits=m,zg;e.adler=t.check=1,t.mode=oa;case oa:if(a===Ng||a===lo)break e;case ks:if(t.last){f>>>=m&7,m-=m&7,t.mode=ws;break}for(;m<3;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}switch(t.last=f&1,f>>>=1,m-=1,f&3){case 0:t.mode=Vh;break;case 1:if(Wg(t),t.mode=no,a===lo){f>>>=2,m-=2;break e}break;case 2:t.mode=Uh;break;case 3:e.msg="invalid block type",t.mode=ur}f>>>=2,m-=2;break;case Vh:for(f>>>=m&7,m-=m&7;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if((f&65535)!=(f>>>16^65535)){e.msg="invalid stored block lengths",t.mode=ur;break}if(t.length=f&65535,f=0,m=0,t.mode=xs,a===lo)break e;case xs:t.mode=jh;case jh:if(v=t.length,v){if(v>u&&(v=u),v>d&&(v=d),v===0)break e;sl.arraySet(n,l,o,v,s),u-=v,o+=v,d-=v,s+=v,t.length-=v;break}t.mode=oa;break;case Uh:for(;m<14;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(t.nlen=(f&31)+257,f>>>=5,m-=5,t.ndist=(f&31)+1,f>>>=5,m-=5,t.ncode=(f&15)+4,f>>>=4,m-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=ur;break}t.have=0,t.mode=Gh;case Gh:for(;t.have<t.ncode;){for(;m<3;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.lens[F[t.have++]]=f&7,f>>>=3,m-=3}for(;t.have<19;)t.lens[F[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,N={bits:t.lenbits},A=gi(Eg,t.lens,0,19,t.lencode,0,t.work,N),t.lenbits=N.bits,A){e.msg="invalid code lengths set",t.mode=ur;break}t.have=0,t.mode=Wh;case Wh:for(;t.have<t.nlen+t.ndist;){for(;x=t.lencode[f&(1<<t.lenbits)-1],w=x>>>24,_=x>>>16&255,S=x&65535,!(w<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(S<16)f>>>=w,m-=w,t.lens[t.have++]=S;else{if(S===16){for(D=w+2;m<D;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(f>>>=w,m-=w,t.have===0){e.msg="invalid bit length repeat",t.mode=ur;break}I=t.lens[t.have-1],v=3+(f&3),f>>>=2,m-=2}else if(S===17){for(D=w+3;m<D;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=w,m-=w,I=0,v=3+(f&7),f>>>=3,m-=3}else{for(D=w+7;m<D;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=w,m-=w,I=0,v=11+(f&127),f>>>=7,m-=7}if(t.have+v>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=ur;break}for(;v--;)t.lens[t.have++]=I}}if(t.mode===ur)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=ur;break}if(t.lenbits=9,N={bits:t.lenbits},A=gi(Ah,t.lens,0,t.nlen,t.lencode,0,t.work,N),t.lenbits=N.bits,A){e.msg="invalid literal/lengths set",t.mode=ur;break}if(t.distbits=6,t.distcode=t.distdyn,N={bits:t.distbits},A=gi(Ih,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,N),t.distbits=N.bits,A){e.msg="invalid distances set",t.mode=ur;break}if(t.mode=no,a===lo)break e;case no:t.mode=io;case io:if(u>=6&&d>=258){e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=u,t.hold=f,t.bits=m,Mg(e,y),s=e.next_out,n=e.output,d=e.avail_out,o=e.next_in,l=e.input,u=e.avail_in,f=t.hold,m=t.bits,t.mode===oa&&(t.back=-1);break}for(t.back=0;x=t.lencode[f&(1<<t.lenbits)-1],w=x>>>24,_=x>>>16&255,S=x&65535,!(w<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(_&&(_&240)==0){for(C=w,T=_,R=S;x=t.lencode[R+((f&(1<<C+T)-1)>>C)],w=x>>>24,_=x>>>16&255,S=x&65535,!(C+w<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=C,m-=C,t.back+=C}if(f>>>=w,m-=w,t.back+=w,t.length=S,_===0){t.mode=Jh;break}if(_&32){t.back=-1,t.mode=oa;break}if(_&64){e.msg="invalid literal/length code",t.mode=ur;break}t.extra=_&15,t.mode=Yh;case Yh:if(t.extra){for(D=t.extra;m<D;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,m-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Xh;case Xh:for(;x=t.distcode[f&(1<<t.distbits)-1],w=x>>>24,_=x>>>16&255,S=x&65535,!(w<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if((_&240)==0){for(C=w,T=_,R=S;x=t.distcode[R+((f&(1<<C+T)-1)>>C)],w=x>>>24,_=x>>>16&255,S=x&65535,!(C+w<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=C,m-=C,t.back+=C}if(f>>>=w,m-=w,t.back+=w,_&64){e.msg="invalid distance code",t.mode=ur;break}t.offset=S,t.extra=_&15,t.mode=Kh;case Kh:if(t.extra){for(D=t.extra;m<D;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,m-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=ur;break}t.mode=Zh;case Zh:if(d===0)break e;if(v=y-d,t.offset>v){if(v=t.offset-v,v>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=ur;break}v>t.wnext?(v-=t.wnext,b=t.wsize-v):b=t.wnext-v,v>t.length&&(v=t.length),k=t.window}else k=n,b=s-t.offset,v=t.length;v>d&&(v=d),d-=v,t.length-=v;do n[s++]=k[b++];while(--v);t.length===0&&(t.mode=io);break;case Jh:if(d===0)break e;n[s++]=t.length,d--,t.mode=io;break;case ws:if(t.wrap){for(;m<32;){if(u===0)break e;u--,f|=l[o++]<<m,m+=8}if(y-=d,e.total_out+=y,t.total+=y,y&&(e.adler=t.check=t.flags?Ql(t.check,n,y,s-y):vs(t.check,n,y,s-y)),y=d,(t.flags?f:td(f))!==t.check){e.msg="incorrect data check",t.mode=ur;break}f=0,m=0}t.mode=Qh;case Qh:if(t.wrap&&t.flags){for(;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(f!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=ur;break}f=0,m=0}t.mode=ed;case ed:A=Pg;break e;case ur:A=Dh;break e;case _s:return bs;case Og:default:return vl}return e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=u,t.hold=f,t.bits=m,(t.wsize||y!==e.avail_out&&t.mode<ur&&(t.mode<ws||a!==Rh))&&od(e,e.output,e.next_out,y-e.avail_out)?(t.mode=_s,bs):(g-=e.avail_in,y-=e.avail_out,e.total_in+=g,e.total_out+=y,t.total+=y,t.wrap&&y&&(e.adler=t.check=t.flags?Ql(t.check,n,y,e.next_out-y):vs(t.check,n,y,e.next_out-y)),e.data_type=t.bits+(t.last?64:0)+(t.mode===oa?128:0)+(t.mode===no||t.mode===xs?256:0),(g===0&&y===0||a===Rh)&&A===Ka&&(A=Lg),A)}function Xg(e){if(!e||!e.state)return vl;var a=e.state;return a.window&&(a.window=null),e.state=null,Ka}function Kg(e,a){var t;return!e||!e.state||(t=e.state,(t.wrap&2)==0)?vl:(t.head=a,a.done=!1,Ka)}function Zg(e,a){var t=a.length,l,n,o;return!e||!e.state||(l=e.state,l.wrap!==0&&l.mode!==ao)?vl:l.mode===ao&&(n=1,n=vs(n,a,t,0),n!==l.check)?Dh:(o=od(e,a,t,t),o?(l.mode=_s,bs):(l.havedict=1,Ka))}Fl.inflateReset=ld;Fl.inflateReset2=ad;Fl.inflateResetKeep=rd;Fl.inflateInit=Gg;Fl.inflateInit2=nd;Fl.inflate=Yg;Fl.inflateEnd=Xg;Fl.inflateGetHeader=Kg;Fl.inflateSetDictionary=Zg;Fl.inflateInfo="pako inflate (from Nodeca project)"});var Ss=kr((f1,cd)=>{"use strict";cd.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var hd=kr((m1,ud)=>{"use strict";function Jg(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}ud.exports=Jg});var fd=kr(vi=>{"use strict";var Cn=sd(),yi=na(),oo=hs(),yr=Ss(),$s=Yi(),Qg=ds(),ey=hd(),dd=Object.prototype.toString;function Za(e){if(!(this instanceof Za))return new Za(e);this.options=yi.assign({chunkSize:16384,windowBits:0,to:""},e||{});var a=this.options;a.raw&&a.windowBits>=0&&a.windowBits<16&&(a.windowBits=-a.windowBits,a.windowBits===0&&(a.windowBits=-15)),a.windowBits>=0&&a.windowBits<16&&!(e&&e.windowBits)&&(a.windowBits+=32),a.windowBits>15&&a.windowBits<48&&(a.windowBits&15)==0&&(a.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Qg,this.strm.avail_out=0;var t=Cn.inflateInit2(this.strm,a.windowBits);if(t!==yr.Z_OK)throw new Error($s[t]);if(this.header=new ey,Cn.inflateGetHeader(this.strm,this.header),a.dictionary&&(typeof a.dictionary=="string"?a.dictionary=oo.string2buf(a.dictionary):dd.call(a.dictionary)==="[object ArrayBuffer]"&&(a.dictionary=new Uint8Array(a.dictionary)),a.raw&&(t=Cn.inflateSetDictionary(this.strm,a.dictionary),t!==yr.Z_OK)))throw new Error($s[t])}Za.prototype.push=function(e,a){var t=this.strm,l=this.options.chunkSize,n=this.options.dictionary,o,s,u,d,f,m=!1;if(this.ended)return!1;s=a===~~a?a:a===!0?yr.Z_FINISH:yr.Z_NO_FLUSH,typeof e=="string"?t.input=oo.binstring2buf(e):dd.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new yi.Buf8(l),t.next_out=0,t.avail_out=l),o=Cn.inflate(t,yr.Z_NO_FLUSH),o===yr.Z_NEED_DICT&&n&&(o=Cn.inflateSetDictionary(this.strm,n)),o===yr.Z_BUF_ERROR&&m===!0&&(o=yr.Z_OK,m=!1),o!==yr.Z_STREAM_END&&o!==yr.Z_OK)return this.onEnd(o),this.ended=!0,!1;t.next_out&&(t.avail_out===0||o===yr.Z_STREAM_END||t.avail_in===0&&(s===yr.Z_FINISH||s===yr.Z_SYNC_FLUSH))&&(this.options.to==="string"?(u=oo.utf8border(t.output,t.next_out),d=t.next_out-u,f=oo.buf2string(t.output,u),t.next_out=d,t.avail_out=l-d,d&&yi.arraySet(t.output,t.output,u,d,0),this.onData(f)):this.onData(yi.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(m=!0)}while((t.avail_in>0||t.avail_out===0)&&o!==yr.Z_STREAM_END);return o===yr.Z_STREAM_END&&(s=yr.Z_FINISH),s===yr.Z_FINISH?(o=Cn.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===yr.Z_OK):(s===yr.Z_SYNC_FLUSH&&(this.onEnd(yr.Z_OK),t.avail_out=0),!0)};Za.prototype.onData=function(e){this.chunks.push(e)};Za.prototype.onEnd=function(e){e===yr.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=yi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function As(e,a){var t=new Za(a);if(t.push(e,!0),t.err)throw t.msg||$s[t.err];return t.result}function ty(e,a){return a=a||{},a.raw=!0,As(e,a)}vi.Inflate=Za;vi.inflate=As;vi.inflateRaw=ty;vi.ungzip=As});var gd=kr((g1,pd)=>{"use strict";var ry=na().assign,ly=vh(),ay=fd(),ny=Ss(),md={};ry(md,ly,ay,ny);pd.exports=md});function Tn(e){$("#luckysheet-cell-loading").find("span").text(e).end().show()}function bi(){$("#luckysheet-cell-loading").hide()}var Is=Ae(()=>{});var iy,xe,Kt=Ae(()=>{mn();Vt();Wt();Yt();Rt();Ke();iy={deepCopyFlowDataState:!1,deepCopyFlowDataCache:"",deepCopyFlowDataWorker:null,deepCopyFlowData:function(e){let a=this;return a.deepCopyFlowDataState?(a.deepCopyFlowDataWorker!=null&&a.deepCopyFlowDataWorker.terminate(),a.deepCopyFlowDataCache):(e==null&&(e=h.flowdata),$.extend(!0,[],e))},webWorkerFlowDataCache:function(e){let a=this;try{a.deepCopyFlowDataWorker!=null&&a.deepCopyFlowDataWorker.terminate();let t="data:text/javascript;chartset=US-ASCII,onmessage = function (e) { postMessage(e.data); };";a.deepCopyFlowDataState=!1;let l;if(ol.isIE()==1){let n="self.onmessage=function(e){postMessage(e.data);}";l=new Worker("./plugins/Worker-helper.js"),l.postMessage(n)}else l=new Worker(t);a.deepCopyFlowDataWorker=l,l.postMessage(e),l.onmessage=function(n){a.deepCopyFlowDataCache=n.data,a.deepCopyFlowDataState=!0}}catch(t){a.deepCopyFlowDataCache=$.extend(!0,[],e)}},controlHandler:function(e,a){let l=this.deepCopyFlowData(h.flowdata),n=a||h.luckysheet_select_save[h.luckysheet_select_save.length-1],o=n.row==null?0:n.row[0],s=n.column==null?0:n.column[0],u=e.length,d=e[0].length,f=o+u-l.length,m=s+d-l[0].length;(f>0||m>0)&&(l=or([].concat(l),f,m,!0));for(let g=0;g<u;g++){let y=[].concat(l[g+o]);for(let v=0;v<d;v++){let b="";e[g]!=null&&e[g][v]!=null&&(b=e[g][v]),y[v+s]=b}l[g+o]=y}f>0||m>0?Gr(l[0].length,l.length,l,null,h.luckysheet_select_save,"datachangeAll"):Sn(l,h.luckysheet_select_save)},clearRangeByindex:function(e,a,t,l,n){let o=Z(n),s=$.extend(!0,[],h.luckysheetfile[o].data);for(let u=e;u<=a;u++){let d=[].concat(s[u]);for(let f=t;f<=l;f++)p.delFunctionGroup(u,f),p.execFunctionGroup(u,f,""),d[f]=null;s[u]=d}if(n==h.currentSheetIndex){let u=a-e+1,d=l-t+1;u>5e3?Ze(s,[{row:[e,a],column:[t,l]}]):Sn(s,{row:[e,a],column:[t,l]})}else h.luckysheetfile[o].data=s},controlHandlerD:function(e){let t=this.deepCopyFlowData(h.flowdata),l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],n=l.row[0],o=l.row[1],s=l.column[0],u=l.column[1],d=e.length,f=e[0].length,m=n+d-t.length,g=s+f-t[0].length;(m>0||g>0)&&(t=or([].concat(t),m,g,!0));for(let v=n;v<=o;v++)for(let b=s;b<=u;b++)t[v][b]=null;for(let v=0;v<d;v++)for(let b=0;b<f;b++)t[n+v][s+b]=e[v][b];let y=[{row:[n,o],column:[s,u]},{row:[n,n+d-1],column:[s,s+f-1]}];Ze(t,y)}},xe=iy});function ki(e){let a={};if(P(e)=="array")for(let t=0;t<e.length;t++){let l=e[t].r,n=e[t].c,o=e[t].f;if(h.flowdata[l][n]!=null&&h.flowdata[l][n].f!=null&&h.flowdata[l][n].f==o){l+"_"+n in a&&(a=oy(a,l,n));let s=e[t].data,u=s.length,d=1;if(P(s[0])=="array"&&(d=s[0].length),sy({row:[l,l+u-1],column:[n,n+d-1]},h.flowdata))for(let f=0;f<u;f++)for(let m=0;m<d;m++){let g=l+f,y=n+m;P(s[0])=="array"?a[g+"_"+y]={v:s[f][m],r:l,c:n}:a[g+"_"+y]={v:s[f],r:l,c:n}}else a[l+"_"+n]={v:"#SPILL!",r:l,c:n}}}return a}function oy(e,a,t){let l=e[a+"_"+t].r,n=e[a+"_"+t].c;for(let o in e)o==l+"_"+n?e[o].v="#SPILL!":e[o].r==l&&e[o].c==n&&delete e[o];return e}function sy(e,a){let t=e.row[0],l=e.row[1],n=e.column[0],o=e.column[1],s=!0;for(let u=t;u<=l;u++)for(let d=n;d<=o;d++)if(!(u==t&&d==n)&&a[u][d]!=null&&a[u][d].v!=null&&a[u][d].v.toString()!=""){s=!1;break}return s}function yd(e,a){let t=h.luckysheetfile[Z(h.currentSheetIndex)].dynamicArray==null?[]:h.luckysheetfile[Z(h.currentSheetIndex)].dynamicArray,l=ki(t);if(e+"_"+a in l&&l[e+"_"+a].v!="#SPILL!"){let n=l[e+"_"+a].r,o=l[e+"_"+a].c,s=h.flowdata[n][o].f,u,d;for(let k=0;k<t.length;k++)t[k].f==s&&(u=t[k].data.length,P(t[k].data[0])=="array"?d=t[k].data[0].length:d=1);let f=n+u-1,m=o+d-1,g=h.visibledatarow[f],y=n-1==-1?0:h.visibledatarow[n-1],v=h.visibledatacolumn[m],b=o-1==-1?0:h.visibledatacolumn[o-1];$("#luckysheet-dynamicArray-hightShow").css({left:b,width:v-b-1,top:y,height:g-y-1,display:"block"})}else $("#luckysheet-dynamicArray-hightShow").hide()}var so=Ae(()=>{dt();Rt();Ke()});function bl(e){let a;if(document.createRange)if(e.innerHTML!=e.innerText||e.innerHTML=="")e.focus(),a=window.getSelection(),a.selectAllChildren(e),a.collapseToEnd();else{let t=e.innerText.length;a=document.createRange(),a.selectNodeContents(e),a.setStart(e.childNodes[0],t),a.collapse(!0);let l=window.getSelection();l.removeAllRanges(),l.addRange(a)}else document.selection&&(a=document.body.createTextRange(),a.moveToElementText(e),a.collapse(!1),a.select())}function kl(e){e.target.classList&&(e.target.classList.contains("luckysheet-cols-rows-shift-left")||e.target.classList.contains("luckysheet-cols-rows-shift-right"))||!$(e.target).hasClass("luckysheet-mousedown-cancel")&&$(e.target).filter("[class*='sp-palette']").length==0&&$(e.target).filter("[class*='sp-thumb']").length==0&&$(e.target).filter("[class*='sp-']").length==0&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu, #luckysheet-user-menu").hide(),$("body > .luckysheet-filter-menu, body > .luckysheet-filter-submenu, body > .luckysheet-cols-menu").hide(),h.luckysheet_cols_menu_status=!1)}function vd(e){if(window.getSelection){let a=document.createRange();a.selectNodeContents(e),a.startContainer&&co(a.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(a))}else if(document.selection){let a=document.body.createTextRange();a.moveToElementText(e),a.select()}}function bd(e){if(window.getSelection){let t=document.createRange();var a=e.firstChild;t.setStart(a,0),t.setEnd(a,a.length),t.startContainer&&co(t.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(t))}else if(document.selection){let t=document.body.createTextRange();t.moveToElementText(e),t.select()}}function kd(e,a){if(window.getSelection){let n=document.createRange();var t=e.firstChild,l=a.firstChild;n.setStart(t,0),n.setEnd(l,l.length),n.startContainer&&co(n.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(n))}}function xd(e,a){if(window.getSelection){let l=document.createRange();var t=e.firstChild;a>t.length?a=t.length:a<0&&(a=0),l.setStart(t,a),l.collapse(!0),l.startContainer&&co(l.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(l))}}function co(e){return e===document.body?!1:document.body.contains(e)}var sa=Ae(()=>{Ke()});function wr(e){return e&&e.ct!=null&&e.ct.t=="inlineStr"&&e.ct.s!=null&&e.ct.s.length>0}function uo(e){return e!=null&&e.t=="inlineStr"&&e.s!=null&&e.s.length>0}function Cd(e,a,t,l){var n=window.getSelection(),o;n.type=="None"?o=h.inlineStringEditRange:o=n.getRangeAt(0);let s=o.commonAncestorContainer,u;s.id=="luckysheet-rich-text-editor"?u=$(s):u=$(s).closest("#luckysheet-rich-text-editor");let d=$(s).closest("#luckysheet-functionbox-cell");if(u.length==0&&d.length==0&&h.inlineStringEditRange!=null&&(o=h.inlineStringEditRange,s=o.commonAncestorContainer,s.id=="luckysheet-rich-text-editor"?u=$(s):u=$(s).closest("#luckysheet-rich-text-editor"),d=$(s).closest("#luckysheet-functionbox-cell")),o.collapsed===!0)return;let f=o.endContainer,m=o.startContainer,g=o.endOffset,y=o.startOffset;if(u.length>0){if(m===f){let v=m.parentNode,b,k=!1,x=v.innerHTML;u.html().substr(0,5)!="<span"&&(k=!0);let _="",S="",C="",T=0,R=y,I=g,A=x.length;_=x.substring(T,R),S=x.substring(R,I),C=x.substring(I,A);let E="";if(_!=""){let D=v.style.cssText;if(k){let F=$(v).closest("#luckysheet-input-box").get(0);F!=null&&(D=qs(F.style.cssText,D))}E+="<span style='"+D+"'>"+_+"</span>"}if(S!=""){let D=Ds(v.style.cssText,a,t);if(k){let F=$(v).closest("#luckysheet-input-box").get(0);F!=null&&(D=qs(F.style.cssText,D))}E+="<span style='"+D+"'>"+S+"</span>"}if(C!=""){let D=v.style.cssText;if(k){let F=$(v).closest("#luckysheet-input-box").get(0);F!=null&&(D=qs(F.style.cssText,D))}E+="<span style='"+D+"'>"+C+"</span>"}m.parentNode.tagName=="SPAN"?(b=u.find("span").index(v),$(v).replaceWith(E)):(b=0,$(v).html(E));let N=0;T==R?N=b:N=b+1,bd(u.find("span").get(N))}else if(m.parentNode.tagName=="SPAN"&&f.parentNode.tagName=="SPAN"){let v=m.parentNode,b,k=f.parentNode,x;b=u.find("span").index(v),x=u.find("span").index(k);let w=v.innerHTML,_=k.innerHTML,S="",C="",T="",R="",I=0,A=y,E=g,N=_.length;S=w.substring(I,A),C=w.substring(A,w.length),T=_.substring(0,E),R=_.substring(E,N);let D=u.find("span"),F=D.slice(b,x+1),M="";for(let H=0;H<b;H++){let U=D.get(H),X=U.innerHTML;M+="<span style='"+U.style.cssText+"'>"+X+"</span>"}if(S!=""&&(M+="<span style='"+v.style.cssText+"'>"+S+"</span>"),C!=""){let H=Ds(v.style.cssText,a,t);M+="<span style='"+H+"'>"+C+"</span>"}if(b<x)for(let H=b+1;H<x;H++){let U=D.get(H),X=U.innerHTML;M+="<span style='"+U.style.cssText+"'>"+X+"</span>"}if(T!=""){let H=Ds(k.style.cssText,a,t);M+="<span style='"+H+"'>"+T+"</span>"}R!=""&&(M+="<span style='"+k.style.cssText+"'>"+R+"</span>");for(let H=x+1;H<D.length;H++){let U=D.get(H),X=U.innerHTML;M+="<span style='"+U.style.cssText+"'>"+X+"</span>"}u.html(M);let z,O;I==A?(z=b,O=x):(z=b+1,O=x+1),D=u.find("span"),kd(D.get(z),D.get(O))}}else d.length>0}function Td(e){var a=window.getSelection();if(a.type=="None")return;var t=a.getRangeAt(0);let l=t.commonAncestorContainer,n;l.id=="luckysheet-rich-text-editor"?n=$(l):n=$(l).closest("#luckysheet-rich-text-editor");let o=$(l).closest("#luckysheet-functionbox-cell"),s=t.endContainer,u=t.startContainer,d=t.endOffset,f=t.startOffset;if(n.length>0){let m=u.parentNode;u.id=="luckysheet-rich-text-editor"&&(m=$(u).find("span"),m.length==0&&(u.innerHTML=`<span>${u.innerText}</span>`,m=$(u).find("span")),m=m.get(m.length-1),f=m.innerHTML.length),t.collapsed===!1&&t.deleteContents();let g=m.innerText,y="",v="",b=0,k=f;y=g.substring(b,k),v=g.substring(k,g.length);let x,w;if(u.parentNode.tagName=="SPAN"){let _=n.find("span");if(x=_.index(m),x==_.length-1&&v==""){let S=_[x].innerHTML;S.substr(S.length-1,1)==`
`?w="<span style='"+m.style.cssText+"'>"+y+`
</span>`:w="<span style='"+m.style.cssText+"'>"+y+`
</span>`}else w="<span style='"+m.style.cssText+"'>"+y+`
`+v+"</span>";$(m).replaceWith(w)}else{let _=$n(e);if(v==""?w="<span style='"+_+"'>"+y+`
</span>`:w="<span style='"+_+"'>"+y+`
`+v+"</span>",u.id=="luckysheet-rich-text-editor"){$(m).replaceWith(w);let S=n.find("span");x=S.length-1,f=S.get(x).innerHTML.length-1}else $(m).html(w),x=0}xd(n.find("span").get(x),f+1)}else o.length>0}function Sd(e,a,t){if(e.ct==null)return;let l=e.ct.s;if(l!=null)for(let n=0;n<l.length;n++){let o=l[n];o[a]=t}}function $d(e){let a=[],t,l=null;for(let n=0;n<e.length;n++){let o=e.get(n),s=Rs(o.style.cssText),u=JSON.stringify(s),d=o.innerText;d=d.replace(/\n/g,`\r
`),u==l?t.v+=d:(s.v=d,a.push(s),l=u,t=s)}return a}function Rs(e){if(e==null||e.length==0)return{};let a=e.split(";"),t=Q(),l=t.fontarray,n=t.fontjson,o={ff:l[0],fc:"#000000",fs:10,cl:0,un:0,bl:0,it:0};return a.forEach(s=>{s=s.toLowerCase();let u=Fr(s.substr(0,s.indexOf(":"))),d=Fr(s.substr(s.indexOf(":")+1));if(u=="font-weight"&&(d=="bold"?o.bl=1:o.bl=0),u=="font-style"&&(d=="italic"?o.it=1:o.it=0),u=="font-family"){let f=n[d];f==null?o.ff=d:o.ff=f}u=="font-size"&&(o.fs=parseInt(d)),u=="color"&&(o.fc=d),u=="text-decoration"&&(o.cl=1),u=="border-bottom"&&(o.un=1),u=="lucky-strike"&&(o.cl=d),u=="lucky-underline"&&(o.un=d)}),o}function Id(e,a){let t=e.split(";");if(a==null||a.length==0)return e;if(e.indexOf(a)>-1)for(let l=0;l<t.length;l++){let n=t[l];n=n.toLowerCase();let o=Fr(n.substr(0,n.indexOf(":"))),s=Fr(n.substr(n.indexOf(":")+1));if(o==a)return s}return""}function cy(e,a,t){let l=e.split(";"),n="";if(a==null||a.length==0)return e;if(e.indexOf(a)>-1)for(let o=0;o<l.length;o++){let s=l[o];s=s.toLowerCase();let u=Fr(s.substr(0,s.indexOf(":"))),d=Fr(s.substr(s.indexOf(":")+1));u==a?n+=u+":"+t+";":u.length>0&&(n+=u+":"+d+";")}else a.length>0&&(e+=a+":"+t+";",n=e);return n}function uy(e,a){let t=e.split(";"),l="",n=a;if(a==null||a.length==0)return e;if(a in Ad&&(a=Ad[a]),e.indexOf(a)>-1)for(let o=0;o<t.length;o++){let s=t[o];s=s.toLowerCase();let u=Fr(s.substr(0,s.indexOf(":"))),d=Fr(s.substr(s.indexOf(":")+1));u==a||n=="cl"&&u=="lucky-strike"||n=="un"&&u=="lucky-underline"||u.length>0&&(l+=u+":"+d+";")}else l=e;return l}function Ds(e,a,t){let l={};if(l[a]=t,a=="un"){let u=Id(e,"color");u==""&&(u="#000000");let d=Id(e,"font-size");d==""&&(d=11),d=parseInt(d),l._fontSize=d,l._color=u}let n=$n(l,void 0,void 0,!1),o=Fr(n.substr(0,n.indexOf(":"))),s=Fr(n.substr(n.indexOf(":")+1));return s=s.substr(0,s.length-1),e=uy(e,a),e=cy(e,o,s),e}function qs(e,a,t=!0){let l=e.split(";"),n=a.split(";"),o="",s={};for(let u=0;u<l.length;u++){let d=l[u],f=!0;d=d.toLowerCase();let m=Fr(d.substr(0,d.indexOf(":")));if(m=="font-size")continue;let g=Fr(d.substr(d.indexOf(":")+1));if(!(t&&!(m in _d))){for(let y=0;y<n.length;y++){let v=n[y];v=v.toLowerCase();let b=Fr(v.substr(0,v.indexOf(":"))),k=Fr(v.substr(v.indexOf(":")+1));if(m==b){o+=b+":"+k+";",f=!1;continue}}f&&(o+=m+":"+g+";"),s[m]=1}}for(let u=0;u<n.length;u++){let d=n[u];d=d.toLowerCase();let f=Fr(d.substr(0,d.indexOf(":"))),m=Fr(d.substr(d.indexOf(":")+1));t&&!(f in _d)||f in s||(o+=f+":"+m+";")}return o}var wd,_d,Ad,ca=Ae(()=>{Wt();sa();bt();Ke();wd={bl:1,it:1,ff:1,cl:1,un:1,fs:1,fc:1},_d={"font-weight":1,"font-style":1,"font-family":1,"text-decoration":1,"border-bottom":1,"font-size":1,color:1};Ad={bl:"font-weight",it:"font-style",ff:"font-family",fs:"font-size",fc:"color",cl:"text-decoration",un:"border-bottom"}});function Dt(e,a){if(e==null&&(e=h.luckysheet_select_save[0]),e.row==null||e.row.length==0)return[];let t,l;a!=null&&a!=h.currentSheetIndex?(t=h.luckysheetfile[Z(a)].data,l=h.luckysheetfile[Z(a)].config):(t=xe.deepCopyFlowData(h.flowdata),l=h.config);let n=[];for(let o=e.row[0];o<=e.row[1];o++){if(t[o]==null||l.rowhidden!=null&&l.rowhidden[o]!=null)continue;let s=[];for(let u=e.column[0];u<=e.column[1];u++)s.push(t[o][u]);n.push(s)}return n}function xi(e,a){if(a==null||a.row==null||a.row.length==0)return[];let t=ki(h.luckysheetfile[Z(h.currentSheetIndex)].dynamicArray),l=[];if(e==null)return l;for(let n=a.row[0];n<=a.row[1];n++){if(e[n]==null)continue;let o=[];for(let s=a.column[0];s<=a.column[1];s++){let u;n+"_"+s in t?u=t[n+"_"+s]:u=e[n][s],o.push(u)}l.push(o)}return l}function Rd(e){if(e==null||e.row==null||e.row.length==0)return[];let a=[];for(let t=e.row[0];t<=e.row[1];t++){let l=[];if(!(h.config.rowhidden!=null&&h.config.rowhidden[t]!=null)){for(let n=e.column[0];n<=e.column[1];n++){let o="";h.flowdata[t]!=null&&h.flowdata[t][n]!=null&&(o=h.flowdata[t][n]),l.push(o)}a.push(l)}}return a}function ze(e,a,t,l){l==null&&(l="v"),t==null&&(t=h.flowdata);let n;if(e!=null&&a!=null)n=t[e][a];else if(e!=null)n=t[e];else if(a!=null)n=t[0].map(function(u,d){return t.map(function(f){return f[d]})})[a];else return t;let o=n;return P(n)=="object"&&(o=n[l],l=="f"&&o!=null?o=p.functionHTMLGenerate(o):l=="f"?o=n.v:n&&n.ct&&n.ct.t=="d"&&(o=n.m)),o==null&&(o=null),o}function or(e,a,t,l){if(a<=0&&t<=0)return e;a<=0&&(a=0),t<=0&&(t=0);let n=0;e.length==0?(e=[],n=0):n=e[0].length;let o=[];for(let u=0;u<t;u++)o.push(null);let s=[];for(let u=0;u<n+t;u++)s.push(null);for(let u=0;u<e.length;u++)e[u]=[].concat(e[u].concat(o));for(let u=0;u<a;u++)e.push([].concat(s));return l&&(re.saveParam("all",h.currentSheetIndex,e.length,{k:"row"}),re.saveParam("all",h.currentSheetIndex,e[0].length,{k:"column"})),e}function Nr(e,a,t,l){let n;return l!=null?n=l[e][a]:n=hy(e,a,t),n==null?null:n.f}function hy(e,a,t){if(e==null||a==null)return;let l;if(t==null?l=h.flowdata:l=ye.getSheetByIndex(t).data,!(!l||!l[e]||!l[e][a]))return l[e][a]}function Fs(e,a){let t=ze(e,a,null,"m");if(t==null&&(t=ze(e,a),t==null)){let l=ze(e,a,null,"ct");uo(l)&&(t=l.s)}return t}function Dd(e,a){let t=ze(e,a,null,"ct");if(uo(t)){let l=t.s,n="";for(let o=0;o<l.length;o++){let s=l[o];s.v!=null&&(n+=s.v)}return n}return""}function qd(e,a,t){let l=ze(e,a,t,"ct");t==null&&(t=h.flowdata);let n=t[e][a];if(uo(l)){let o=l.s,s="";for(let u=0;u<o.length;u++){let d=o[u];if(d.v!=null){let f=$n(d);s+="<span index='"+u+"' style='"+f+"'>"+d.v+"</span>"}}return s}return""}function $n(e,a,t,l=!0){if(e==null)return;let n="",s=Q().fontarray;for(let u in e){let d=e[u];if(l&&(d=xl(e,u)),u=="bl"&&d!="0"&&(n+="font-weight: bold;"),u=="it"&&d!="0"&&(n+="font-style:italic;"),u=="ff"){let f=d;isNaN(parseInt(d))?f=d:f=s[parseInt(d)],n+="font-family: "+f+";"}if(u=="fs"&&d!="10"&&(n+="font-size: "+d+"pt;"),(u=="fc"&&d!="#000000"||a!=null||t!=null&&t.textColor!=null)&&(t!=null&&t.textColor!=null?n+="color: "+t.textColor+";":a!=null?n+="color: "+a[0]+";":n+="color: "+d+";"),u=="cl"&&d!="0"&&(n+="text-decoration: line-through;"),u=="un"&&(d=="1"||d=="3")){let f=e._color;f==null&&(f=e.fc);let m=e._fontSize;m==null&&(m=e.fs),n+="border-bottom: "+Math.floor(m/9)+"px solid "+f+";"}}return n}function xl(e,a){let t=e;return a in{bl:1,it:1,ff:1,cl:1,un:1}||a=="fs"&&wr(e)?t==null?t="0":(t=t[a],t==null&&(t="0")):a=="fc"?t==null?t="#000000":(t=t[a],t==null&&(t="#000000"),t.indexOf("rgba")>-1&&(t=Da(t))):a=="bg"?t==null?t=null:(t=t[a],t==null?t=null:t.toString().indexOf("rgba")>-1&&(t=Da(t))):a.substr(0,2)=="bs"?t==null?t="none":(t=t[a],t==null&&(t="none")):a.substr(0,2)=="bc"?t==null?t="#000000":(t=t[a],t==null&&(t="#000000")):a=="ht"?(t==null?t="1":(t=t[a],t==null&&(t="1")),["0","1","2"].indexOf(t.toString())==-1&&(t="1")):a=="vt"?(t==null?t="0":(t=t[a],t==null&&(t="0")),["0","1","2"].indexOf(t.toString())==-1&&(t="0")):a=="ct"?t==null?t=null:(t=t[a],t==null&&(t=null)):a=="fs"?t==null?t="10":(t=t[a],t==null&&(t="10")):a=="tb"||a=="tr"?t==null?t="0":(t=t[a],t==null&&(t="0")):a=="rt"&&(t==null?t=null:(t=t[a],t==null&&(t=null))),t}function Fr(e){return e==null||e.length==0?e:e.replace(/^\s+|\s+$/gm,"")}var Wt=Ae(()=>{dt();Rt();Zt();Vt();Kt();so();hr();ca();bt();Ke()});function dy(e,a){let t=0,l=e.length-1;for(;t<=l;){let n=parseInt((l+t)/2);if(a<e[n]&&(n==0||a>=e[n-1]))return n;if(a>=e[n])t=n+1;else if(a<e[n])l=n-1;else return-1}}function fy(e,a){let t=0,l=0,n=0,o=-1,s=e.length-1;for(;t<e.length&&s>=0&&s>=t;){if(l=e[s],s==0?n=0:n=e[s-1],a>=n&&a<l){o=s;break}if(l=e[t],t==0?n=0:n=e[t-1],a>=n&&a<l){o=t;break}t++,s--}return o}function lt(e,a){let t=e.length-1;return e.length<40||a<=e[20]||a>=e[t-20]?t=fy(e,a):t=dy(e,a),t}var Ml=Ae(()=>{});function Qt(e){let a=0,t=0;return a=h.visibledatarow[e],e==0?t=0:t=h.visibledatarow[e-1],[t,a,e]}function xt(e){let a=lt(h.visibledatarow,e);return a==-1&&e>0?a=h.visibledatarow.length-1:a==-1&&e<=0&&(a=0),Qt(a)}function $t(e){let a=0,t=0;return a=h.visibledatacolumn[e],e==0?t=0:t=h.visibledatacolumn[e-1],[t,a,e]}function Fd(e,a){let t=0,l=0;return t=h.visibledatacolumn[e+a-1],e==0?l=0:l=h.visibledatacolumn[e-1],[l,t,e]}function vt(e){let a=lt(h.visibledatacolumn,e);return a==-1&&e>0?a=h.visibledatacolumn.length-1:a==-1&&e<=0&&(a=0),$t(a)}function at(e,a){let t=$("#"+h.container).offset(),l=e-t.left-h.rowHeaderWidth,n=a-t.top-h.infobarHeight-h.toolbarHeight-h.calculatebarHeight-h.columnHeaderHeight;return[l,n]}var Pr=Ae(()=>{Ml();Ke()});function mr(e,a,t,l){let n=$.extend(!0,{},l);n.rowlen==null&&(n.rowlen={}),n.customHeight==null&&(n.customHeight={});let o=$("#luckysheetTableContent").get(0).getContext("2d");o.textBaseline="top";for(let s=a;s<=t;s++){if(n.rowhidden!=null&&n.rowhidden[s]!=null)continue;let u=h.defaultrowlen;if(n.customHeight[s]!=1){delete n.rowlen[s];for(let d=0;d<e[s].length;d++){let f=e[s][d];if(f!=null&&f!=null&&(f.v!=null||wr(f))){let m;if(f.mc)if(d===f.mc.c){let v=$t(d)[0];m=$t(f.mc.c+f.mc.cs-1)[1]-v-2}else continue;else m=$t(d)[1]-$t(d)[0]-2;let g=wl(f,o,{r:s,c:d,cellWidth:m}),y=0;g!=null&&(y=g.textHeightAll+2),y>u&&(u=y)}}u=u/h.zoomRatio,u!=h.defaultrowlen?n.rowlen[s]=u:l.rowlen[s]&&(n.rowlen[s]=l.rowlen[s])}}return n}function Md(e,a){let t=0,l=$("#luckysheetTableContent").get(0).getContext("2d");l.textBaseline="top";for(let n=0;n<e[a].length;n++){let o=e[a][n];if(o!=null&&!(o.mc!=null&&o.mc.rs!==1)&&o!=null&&(o.v!=null||wr(o))){let s=my(o,n),u=wl(o,l,{r:a,c:n,cellWidth:s}),d=0;u!=null&&(d=u.textHeightAll+2),d>t&&(t=d)}}return t}function my(e,a){let t=$t(a);return e.mc&&e.mc.c!==e.mc.cs&&(t=Fd(a,e.mc.cs)),t[1]-t[0]-2}function Ed(e,a,t){let l=0,n=ho(t,a),o=$("#luckysheetTableContent").get(0).getContext("2d");o.textBaseline="top";for(var s=0;s<e.length;s++){var u=e[s][a];if(u!=null&&(u.v!=null||wr(u))){let d=n[a],f=wl(u,o,{r:s,c:a,cellHeight:d}),m=0;f!=null&&(m=f.textWidthAll+2),m>l&&(l=m)}}return l}function ho(e,a){let t=[],l=0;for(let n=0;n<e;n++){let o=h.defaultrowlen;if(a.rowlen!=null&&a.rowlen[n]!=null&&(o=a.rowlen[n]),a.rowhidden!=null&&a.rowhidden[n]!=null){o=a.rowhidden[n],t.push(l);continue}else l+=o+1;t.push(l)}return t}function El(e,a,t){let l=h.measureTextCache[e+"_"+a.font];if(t!=null&&(l=h.measureTextCache[e+"_"+t]),l!=null)return l;{if(t!=null){let s=a.font;a.font=t}let n=a.measureText(e),o={};if(o.width=n.width,t!=null&&(a.font=t),o.actualBoundingBoxDescent=n.actualBoundingBoxDescent,o.actualBoundingBoxAscent=n.actualBoundingBoxAscent,o.actualBoundingBoxDescent==null||o.actualBoundingBoxAscent==null||isNaN(o.actualBoundingBoxDescent)||isNaN(o.actualBoundingBoxAscent)){let s="M";xa(e)&&(s="\u7530");let u=be.getTextSize(s,a.font)[1]*.8;a.textBaseline=="top"?(o.actualBoundingBoxDescent=u,o.actualBoundingBoxAscent=0):a.textBaseline=="middle"?(o.actualBoundingBoxDescent=u/2,o.actualBoundingBoxAscent=u/2):(o.actualBoundingBoxDescent=0,o.actualBoundingBoxAscent=u)}if(a.textBaseline=="alphabetic"){let s="gjpqy",u="abcdABCD",d=h.measureTextCache[s+"_"+a.font];t!=null&&(d=h.measureTextCache[s+"_"+t]);let f=h.measureTextCache[u+"_"+a.font];t!=null&&(f=h.measureTextCache[u+"_"+t]),d==null&&(d=a.measureText(s)),f==null&&(f=a.measureText(u)),o.actualBoundingBoxDescent<=f.actualBoundingBoxDescent&&(o.actualBoundingBoxDescent=d.actualBoundingBoxDescent,o.actualBoundingBoxDescent==null&&(o.actualBoundingBoxDescent=0))}return o.width*=h.zoomRatio,o.actualBoundingBoxDescent*=h.zoomRatio,o.actualBoundingBoxAscent*=h.zoomRatio,h.measureTextCache[e+"_"+h.zoomRatio+"_"+a.font]=o,o}}function py(e){return e.measureText("\u7530").actualBoundingBoxAscent!=null}function wl(e,a,t){let l=t.cellWidth,n=t.cellHeight,o="",s="";l==null&&(o="onlyWidth",s="_");let u=h.measureTextCellInfoCache[t.r+"_"+t.c+s+o];if(u!=null)return u;let d=t.space_width,f=t.space_height;d==null&&(d=2),f==null&&(f=2);let m=xl(e,"ht"),g=xl(e,"vt"),y=xl(e,"tb"),v=xl(e,"tr"),b=xl(e,"rt"),k=1,x=0;b==null&&(v=="0"?b=0:v=="1"?b=45:v=="4"?b=90:v=="2"?b=135:v=="5"&&(b=180),b==null&&(b=0)),(b>180||b<0)&&(b=0),b=parseInt(b),b>90&&(b=90-b,k=0,x=1),a.textAlign="start";let w={};w.values=[];let _,S="0",C="0",T=11,R=!1,I,A=[];if(wr(e)){let E=e.ct.s,N=0;for(let D=0;D<E.length;D++){let F=E[D],M=Ja(F),z=F.fc,O=F.cl,H=F.un,U=F.v,X=F.fs;U=U.replace(/\r\n/g,"_x000D_").replace(/&#13;&#10;/g,"_x000D_").replace(/\r/g,"_x000D_").replace(/\n/g,"_x000D_");let Y=U.split("_x000D_");for(let ee=0;ee<Y.length;ee++){let ae=Y[ee];if(ae==""&&ee!=Y.length-1)A.push({fontset:M,fc:z==null?"#000":z,cl:O==null?0:O,un:H==null?0:H,wrap:!0,fs:X==null?11:X}),N++;else{let oe=ae.split("");for(let ie=0;ie<oe.length;ie++){let ue=oe[ie];A.push({fontset:M,fc:z==null?"#000":z,cl:O==null?0:O,un:H==null?0:H,v:ue,si:N,fs:X==null?11:X})}ee!=Y.length-1&&(A.push({fontset:M,fc:z==null?"#000":z,cl:O==null?0:O,un:H==null?0:H,wrap:!0,fs:X==null?11:X}),N++)}}N++}R=!0}else if(_=Ja(e),a.font=_,S=xl(e,"cl"),C=xl(e,"un"),T=xl(e,"fs"),e instanceof Object?(I=e.m,I==null&&(I=e.v)):I=e,de(I))return null;if(v=="3"){a.textBaseline="top";let E=0,N=0,D=0,F=0,M={},z=[];if(R){let U=null;for(let X=0;X<A.length;X++){let Y=A[X],ee=Y.v,ae=Y.v;if(Y.wrap===!0&&(ee="M",ae="",U!=null&&U.wrap!==!0&&X<A.length-1)){z.push(F),F=0,D+=1,U=Y;continue}let oe=El(ee,a,Y.fontset),ie=oe.width+d,ue=oe.actualBoundingBoxAscent+oe.actualBoundingBoxDescent+f;F+=ue,y=="2"&&!Y.wrap&&F>n&&M[D]!=null&&(z.push(F-ue),F=ue,D+=1),X==A.length-1&&z.push(F),M[D]==null&&(M[D]=[]);let me={content:ae,style:Y,width:ie,height:ue,left:0,top:0,colIndex:D,asc:oe.actualBoundingBoxAscent,desc:oe.actualBoundingBoxDescent,inline:!0};Y.wrap===!0&&(me.wrap=!0),M[D].push(me),console.log("normal",X,D,Y,U,M),U=Y}}else{let U=El(I,a),X=U.actualBoundingBoxDescent+U.actualBoundingBoxAscent;I=I.toString();let Y=[];I.length>1?Y=I.split(""):Y.push(I);let ee=El(Y[0],a).width;for(let ae=0;ae<Y.length;ae++){let oe=ee+d,ie=X+f;F+=ie,y=="2"&&F>n&&M[D]!=null&&(z.push(F-ie),F=ie,D+=1),ae==Y.length-1&&z.push(F),M[D]==null&&(M[D]=[]),M[D].push({content:Y[ae],style:_,width:oe,height:ie,left:0,top:0,colIndex:D,asc:U.actualBoundingBoxAscent,desc:U.actualBoundingBoxDescent})}}let O=[];for(let U=0;U<z.length;U++){let X=z[U],Y=M[U],ee=0;for(let ae=0;ae<Y.length;ae++){let oe=Y[ae];ee=Math.max(ee,oe.width)}O.push(ee),E+=ee,N=Math.max(N,X)}if(w.type="verticalWrap",w.textWidthAll=E,w.textHeightAll=N,o=="onlyWidth")return w;let H=0;for(let U=0;U<z.length;U++){let X=z[U],Y=O[U],ee=M[U],ae=0;for(let oe=0;oe<ee.length;oe++){let ie=ee[oe],ue=d+H;m=="0"?ue=l/2+H-E/2+d*z.length:m=="2"&&(ue=l+H-E+d);let me=n-f+ae-X;g=="0"?me=n/2+ae-X/2:g=="1"&&(me=f+ae),ae+=ie.height,ie.left=ue,ie.top=me,wi(ie,S,C,{width:Y,height:ie.height,left:ue,top:me+ie.height-f,asc:ie.height,desc:0,fs:T}),w.values.push(ie)}H+=Y}}else{let E=py(a);if(E?a.textBaseline="alphabetic":a.textBaseline="bottom",y=="2"||R){let N=0,D=0,F=0,M=0,z=0,O={},H=[];w.rotate=b,b=Math.abs(b);let U=0,X=0,Y=0,ee,ae,oe,ie,ue=1,me={},ce=null,K=null;if(R)for(;ue<=A.length;){let Pe=A.slice(U,ue);if(Pe[Pe.length-1].wrap===!0){if(U=ue,Pe.length>1)for(let Ge=0;Ge<Pe.length-1;Ge++){let Se=Pe[Ge],Je={content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs};O[M].push(Je)}if(Pe.length==1||ue==A.length){let Ge=Pe[0],Se=El("M",a,Ge.fontset);O[M]==null&&(O[M]=[]),O[M].push({content:"",style:Ge,width:Se.width,height:Se.actualBoundingBoxAscent+Se.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.actualBoundingBoxAscent,desc:Se.actualBoundingBoxDescent,inline:!0,wrap:!0,fs:Ge.fs})}M+=1,ue++;continue}let Qe=0,gt=0;for(let Ge=0;Ge<Pe.length;Ge++){let Se=Pe[Ge];Se.measureText==null&&(Se.measureText=El(Se.v,a,Se.fontset)),Qe+=Se.measureText.width,gt=Math.max(Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent)}let Ct=Qe*Math.cos(b*Math.PI/180)+gt*Math.sin(b*Math.PI/180),ot=Qe*Math.sin(b*Math.PI/180)+gt*Math.cos(b*Math.PI/180),yt=Pe[Pe.length-1];if((yt.v==" "||Go(yt.v)==2)&&(K=ue),b!=0)if(console.log(ot,f,n,Pe,ot+f>n),ot+f>n&&O[M]!=null&&y=="2"&&ue!=A.length)if(K!=null&&K<ue){for(let Ge=0;Ge<K-U;Ge++){let Se=Pe[Ge];O[M].push({content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs})}U=K,ue=K+1,M+=1,K=null}else{U=ue-1;for(let Ge=0;Ge<Pe.length-1;Ge++){let Se=Pe[Ge];O[M].push({content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs})}M+=1}else if(ue==A.length){O[M]==null&&(O[M]=[]);for(let Ge=0;Ge<Pe.length;Ge++){let Se=Pe[Ge];O[M].push({content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs})}break}else O[M]==null&&(O[M]=[]),ue++;else if(Ct+d>l&&O[M]!=null&&y=="2"&&ue!=A.length)if(K!=null&&K<ue){for(let Ge=0;Ge<K-U;Ge++){let Se=Pe[Ge];O[M].push({content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs})}U=K,ue=K+1,M+=1,K=null}else{U=ue-1;for(let Ge=0;Ge<Pe.length-1;Ge++){let Se=Pe[Ge];O[M].push({content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs})}M+=1}else if(ue==A.length){O[M]==null&&(O[M]=[]);for(let Ge=0;Ge<Pe.length;Ge++){let Se=Pe[Ge];O[M].push({content:Se.v,style:Se,width:Se.measureText.width,height:Se.measureText.actualBoundingBoxAscent+Se.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:M,asc:Se.measureText.actualBoundingBoxAscent,desc:Se.measureText.actualBoundingBoxDescent,inline:!0,fs:Se.fs})}break}else O[M]==null&&(O[M]=[]),ue++}else for(I=I.toString();ue<=I.length;){let Pe=I.substring(U,ue),Qe=El(Pe,a),gt=Qe.width,Ct=Qe.actualBoundingBoxAscent+Qe.actualBoundingBoxDescent,ot=gt*Math.cos(b*Math.PI/180)+Ct*Math.sin(b*Math.PI/180),yt=gt*Math.sin(b*Math.PI/180)+Ct*Math.cos(b*Math.PI/180),Ge=Pe.substr(Pe.length-1,1);if((Ge==" "||Go(Ge)==2)&&ie!=null&&(ce={index:ue,str:ee+Ge,width:oe,height:ae,asc:ie.actualBoundingBoxAscent,desc:ie.actualBoundingBoxDescent}),b!=0)if(yt+f>n&&O[M]!=null&&ue!=I.length)ce!=null&&ce.index<ue?(U=ce.index,ue=ce.index+1,O[M].push({content:ce.str,style:_,width:ce.width,height:ce.height,left:0,top:0,splitIndex:M,asc:ce.asc,desc:ce.desc,fs:T}),M+=1,ce=null):(U=ue-1,O[M].push({content:ee,style:_,left:0,top:0,splitIndex:M,height:ae,width:oe,asc:Qe.actualBoundingBoxAscent,desc:Qe.actualBoundingBoxDescent,fs:T}),M+=1);else if(ue==I.length){O[M]==null&&(O[M]=[]),O[M].push({content:Pe,style:_,left:0,top:0,splitIndex:M,height:Ct,width:gt,asc:Qe.actualBoundingBoxAscent,desc:Qe.actualBoundingBoxDescent,fs:T});break}else O[M]==null&&(O[M]=[]),ue++;else if(ot+d>l&&O[M]!=null&&ue!=I.length)ce!=null&&ce.index<ue?(U=ce.index,ue=ce.index+1,O[M].push({content:ce.str,style:_,width:ce.width,height:ce.height,left:0,top:0,splitIndex:M,asc:ce.asc,desc:ce.desc,fs:T}),M+=1,ce=null):(ce=null,U=ue-1,O[M].push({content:ee,style:_,width:oe,height:ae,left:0,top:0,splitIndex:M,asc:Qe.actualBoundingBoxAscent,desc:Qe.actualBoundingBoxDescent,fs:T}),M+=1);else if(ue==I.length){O[M]==null&&(O[M]=[]),O[M].push({content:Pe,style:_,width:gt,height:Ct,left:0,top:0,splitIndex:M,asc:Qe.actualBoundingBoxAscent,desc:Qe.actualBoundingBoxDescent,fs:T});break}else O[M]==null&&(O[M]=[]),ue++;ee=Pe,ae=Ct,oe=gt,ie=Qe}let G=[],le=0,ke=Object.keys(O).length;for(let Pe=0;Pe<ke;Pe++){let Qe=O[Pe];if(Qe==null)continue;let gt=0,Ct=0,ot=0,yt=0,Ge=0,Se=0;for(let Je=0;Je<Qe.length;Je++){let Fe=Qe[Je];b!=0,gt+=Fe.width,Ct=Math.max(Ct,Fe.height-(E?Fe.desc:0)),ot=Math.max(ot,E?Fe.desc:0),yt=Math.max(yt,Fe.asc),Se++}Ge=Ct/2,le=Math.max(le,Se),b!=0?(Ct+=Ge,F=Math.max(F,gt),D+=Ct):(Ct+=Ge,N=Math.max(N,gt),D+=Ct),G.push({width:gt,height:Ct,desc:ot,asc:yt,lineHeight:Ge,wordCount:Se})}let se=0,He=0,ne=b*Math.PI/180,Me=G[ke-1],je=Me.lineHeight;D=D-je+Me.desc;let _e=D/Math.sin(ne)+F*Math.cos(ne),Ee=F*Math.sin(ne),Ue=0;if(b!=0?(ke==1?(N=F+2*(D/Math.tan(ne)),Ue=D/Math.tan(ne)):N=F+D/Math.tan(ne),w.textWidthAll=_e,w.textHeightAll=Ee):(w.textWidthAll=N,w.textHeightAll=D),o=="onlyWidth")return w;if(b!=0&&k=="1"){a.textAlign="end";for(let Pe=0;Pe<ke;Pe++){let Qe=O[Pe];if(Qe==null)continue;let gt=G[Pe];He=0;for(let Ct=Qe.length-1;Ct>=0;Ct--){let ot=Qe[Ct],yt,Ge;if(b!=0){let Se,Je=se+gt.asc;if(Se=se/Math.tan(ne)-He+F,m=="0"){let Fe=D/Math.sin(ne);g=="0"?(yt=Se+l/2-N/2+je*Math.cos(ne)/2,Ge=Je+n/2-D/2-je*Math.cos(ne)/2):g=="1"?(yt=Se+l/2-N/2,Ge=Je-(D/2-Ee/2)):g=="2"&&(yt=Se+l/2-N/2+je*Math.cos(ne),Ge=Je+n-Ee/2-D/2-je*Math.cos(ne))}else m=="1"?g=="0"?(yt=Se-Ee*Math.sin(ne)/2+je*Math.cos(ne)/2,Ge=Je+n/2+Ee*Math.cos(ne)/2-je*Math.cos(ne)/2):g=="1"?(yt=Se-Ee*Math.sin(ne),Ge=Je+Ee*Math.cos(ne)):g=="2"&&(yt=Se+je*Math.cos(ne),Ge=Je+n-je*Math.cos(ne)):m=="2"&&(g=="0"?(yt=Se+l-_e/2-(F/2+D/2/Math.tan(ne))+je*Math.cos(ne)/2,Ge=Je+n/2-D/2-je*Math.cos(ne)/2):g=="1"?(yt=Se+l-N+Ue,Ge=Je-D):g=="2"&&(yt=Se+l-_e*Math.cos(ne)+je*Math.cos(ne),Ge=Je+n-_e*Math.sin(ne)-je*Math.cos(ne)))}ot.left=yt,ot.top=Ge,wi(ot,S,C,{width:ot.width,height:ot.height,left:yt-ot.width,top:Ge,asc:gt.asc,desc:gt.desc,fs:ot.fs}),w.values.push(ot),He+=ot.width}se+=gt.height}}else for(let Pe=0;Pe<ke;Pe++){let Qe=O[Pe];if(Qe==null)continue;let gt=G[Pe];He=0;for(let Ct=0;Ct<Qe.length;Ct++){let ot=Qe[Ct],yt,Ge;if(b!=0){let Se,Je=se+gt.asc;if(Se=(D-se)/Math.tan(ne)+He,m=="0"){let Fe=D/Math.sin(ne);g=="0"?(yt=Se+l/2-N/2-je*Math.cos(ne)/2,Ge=Je+n/2-D/2+je*Math.cos(ne)/2):g=="1"?(yt=Se+l/2-N/2-je*Math.cos(ne)/2,Ge=Je-(D/2-Ee/2)+je*Math.cos(ne)/2):g=="2"&&(yt=Se+l/2-N/2-je*Math.cos(ne),Ge=Je+n-Ee/2-D/2-je*Math.cos(ne))}else m=="1"?g=="0"?(yt=Se-Ee*Math.sin(ne)/2-je*Math.cos(ne)/2,Ge=Je-D+n/2-Ee*Math.cos(ne)/2-je*Math.cos(ne)/2):g=="1"?(yt=Se,Ge=Je-D):g=="2"&&(yt=Se-Ee*Math.sin(ne)-je*Math.cos(ne),Ge=Je-D+n-Ee*Math.cos(ne)-je*Math.cos(ne)):m=="2"&&(g=="0"?(yt=Se+l-_e/2-N/2-je*Math.cos(ne)/2,Ge=Je+n/2-D/2-je*Math.cos(ne)/2):g=="1"?(yt=Se+l-_e*Math.cos(ne),Ge=Je+Ee*Math.cos(ne)):g=="2"&&(yt=Se+l-N-je*Math.cos(ne)+Ue,Ge=Je+n-je*Math.cos(ne)));wi(ot,S,C,{width:ot.width,height:ot.height,left:yt,top:Ge,asc:gt.asc,desc:gt.desc,fs:ot.fs})}else yt=d+He,m=="0"?yt=l/2+He-gt.width/2:m=="2"&&(yt=l+He-gt.width),Ge=n-f+se+gt.asc-D,g=="0"?Ge=n/2+se-D/2+gt.asc:g=="1"&&(Ge=f+se+gt.asc),wi(ot,S,C,{width:ot.width,height:ot.height,left:yt,top:Ge,asc:gt.asc,desc:gt.desc,fs:ot.fs});ot.left=yt,ot.top=Ge,w.values.push(ot),He+=ot.width}se+=gt.height}w.type="plainWrap",b!=0&&(m=="0"?g=="0"?(w.textLeftAll=l/2,w.textTopAll=n/2):g=="1"?(w.textLeftAll=l/2,w.textTopAll=Ee/2):g=="2"&&(w.textLeftAll=l/2,w.textTopAll=n-Ee/2):m=="1"?g=="0"?(w.textLeftAll=0,w.textTopAll=n/2):g=="1"?(w.textLeftAll=0,w.textTopAll=0):g=="2"&&(w.textLeftAll=0,w.textTopAll=n):m=="2"&&(g=="0"?(w.textLeftAll=l-_e/2,w.textTopAll=n/2):g=="1"?(w.textLeftAll=l,w.textTopAll=0):g=="2"&&(w.textLeftAll=l,w.textTopAll=n)))}else{let N=El(I,a),D=N.width,F=N.actualBoundingBoxDescent+N.actualBoundingBoxAscent;w.rotate=b,b=Math.abs(b);let M=b*Math.PI/180,z=D*Math.cos(M)+F*Math.sin(M),O=D*Math.sin(M)+F*Math.cos(M);if(b!=0?w.textHeightAll=O:w.textHeightAll=O+F/2-N.actualBoundingBoxDescent-f,w.textWidthAll=z,o=="onlyWidth")return w;let H=z,U=O,X=d+F*Math.sin(M)*k;m=="0"?X=l/2-H/2+F*Math.sin(M)*k:m=="2"&&(X=l-d-H+F*Math.sin(M)*k);let Y=n-f-U+N.actualBoundingBoxAscent*Math.cos(M)+D*Math.sin(M)*k;g=="0"?Y=n/2-U/2+N.actualBoundingBoxAscent*Math.cos(M)+D*Math.sin(M)*k:g=="1"&&(Y=f+N.actualBoundingBoxAscent*Math.cos(M)+D*Math.sin(M)*k),w.type="plain";let ee={content:I,style:_,width:H,height:U,left:X,top:Y};wi(ee,S,C,{width:D,height:F,left:X,top:Y,asc:N.actualBoundingBoxAscent,desc:N.actualBoundingBoxDescent,fs:T}),w.values.push(ee),w.textLeftAll=X,w.textTopAll=Y,w.asc=N.actualBoundingBoxAscent,w.desc=N.actualBoundingBoxDescent}}return w}function wi(e,a,t,l){let n=l.left,o=l.top,s=l.width,u=l.height,d=l.asc,f=l.desc,m=l.fs;if(e.wrap!==!0&&(e.inline==!0&&e.style!=null&&(a=e.style.cl,t=e.style.un),a!="0"&&(e.cancelLine={},e.cancelLine.startX=n,e.cancelLine.startY=o-d/2+1,e.cancelLine.endX=n+s,e.cancelLine.endY=o-d/2+1,e.cancelLine.fs=m),t!="0")){if(e.underLine=[],t=="1"||t=="2"){let g={};g.startX=n,g.startY=o+3,g.endX=n+s,g.endY=o+3,g.fs=m,e.underLine.push(g)}if(t=="2"){let g={};g.startX=n,g.startY=o+f,g.endX=n+s,g.endY=o+f,g.fs=m,e.underLine.push(g)}if(t=="3"||t=="4"){let g={};g.startX=n,g.startY=o+f,g.endX=n+s,g.endY=o+f,g.fs=m,e.underLine.push(g)}if(t=="4"){let g={};g.startX=n,g.startY=o+f+2,g.endX=n+s,g.endY=o+f+2,g.fs=m,e.underLine.push(g)}}}var cl=Ae(()=>{dt();lr();Wt();Pr();At();ca();Ke()});function ua(e,a){if(gy(),e!=null){h.visibledatarow=[],h.rh_height=0;for(let t=0;t<e;t++){let l=h.defaultrowlen;if(h.config.rowlen!=null&&h.config.rowlen[t]!=null&&(l=h.config.rowlen[t]),h.config.rowhidden!=null&&h.config.rowhidden[t]!=null){h.visibledatarow.push(h.rh_height);continue}l==="auto"&&(l=Md(h.flowdata,t)),h.rh_height+=Math.round((l+1)*h.zoomRatio),h.visibledatarow.push(h.rh_height)}!fe.enableAddRow&&!fe.enableAddBackTop?h.rh_height+=29:h.rh_height+=80}if(a!=null){h.visibledatacolumn=[],h.ch_width=0;let t=120;for(let l=0;l<a;l++){let n=h.defaultcollen;if(h.config.columnlen!=null&&h.config.columnlen[l]!=null?n=h.config.columnlen[l]:h.flowdata[0]!=null&&h.flowdata[0][l]!=null&&(n>300?n=300:n<h.defaultcollen&&(n=h.defaultcollen),n!=h.defaultcollen&&(h.config.columnlen==null&&(h.config.columnlen={}),h.config.columnlen[l]=n)),h.config.colhidden!=null&&h.config.colhidden[l]!=null){h.visibledatacolumn.push(h.ch_width);continue}n==="auto"&&(n=Ed(h.flowdata,l,e)),h.ch_width+=Math.round((n+1)*h.zoomRatio),h.visibledatacolumn.push(h.ch_width)}h.ch_width+=t}}function gy(){h.rowHeaderWidth=fe.rowHeaderWidth*h.zoomRatio,h.columnHeaderHeight=fe.columnHeaderHeight*h.zoomRatio,$("#luckysheet-rows-h").width(h.rowHeaderWidth-1.5),$("#luckysheet-cols-h-c").height(h.columnHeaderHeight-1.5),$("#luckysheet-left-top").css({width:h.rowHeaderWidth-1.5,height:h.columnHeaderHeight-1.5})}var _i=Ae(()=>{Ke();cl();xr()});var ha=kr((Ms,Es)=>{(function(e,a){typeof Ms=="object"&&typeof Es!="undefined"?Es.exports=a():typeof define=="function"&&define.amd?define(a):e.dayjs=a()})(Ms,function(){"use strict";var e="millisecond",a="second",t="minute",l="hour",n="day",o="week",s="month",u="quarter",d="year",f="date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v=function(I,A,E){var N=String(I);return!N||N.length>=A?I:""+Array(A+1-N.length).join(E)+I},b={s:v,z:function(I){var A=-I.utcOffset(),E=Math.abs(A),N=Math.floor(E/60),D=E%60;return(A<=0?"+":"-")+v(N,2,"0")+":"+v(D,2,"0")},m:function I(A,E){if(A.date()<E.date())return-I(E,A);var N=12*(E.year()-A.year())+(E.month()-A.month()),D=A.clone().add(N,s),F=E-D<0,M=A.clone().add(N+(F?-1:1),s);return+(-(N+(E-D)/(F?D-M:M-D))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:s,y:d,w:o,d:n,D:f,h:l,m:t,s:a,ms:e,Q:u}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},k="en",x={};x[k]=y;var w=function(I){return I instanceof T},_=function(I,A,E){var N;if(!I)return k;if(typeof I=="string")x[I]&&(N=I),A&&(x[I]=A,N=I);else{var D=I.name;x[D]=I,N=D}return!E&&N&&(k=N),N||!E&&k},S=function(I,A){if(w(I))return I.clone();var E=typeof A=="object"?A:{};return E.date=I,E.args=arguments,new T(E)},C=b;C.l=_,C.i=w,C.w=function(I,A){return S(I,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var T=function(){function I(E){this.$L=_(E.locale,null,!0),this.parse(E)}var A=I.prototype;return A.parse=function(E){this.$d=function(N){var D=N.date,F=N.utc;if(D===null)return new Date(NaN);if(C.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var M=D.match(m);if(M){var z=M[2]-1||0,O=(M[7]||"0").substring(0,3);return F?new Date(Date.UTC(M[1],z,M[3]||1,M[4]||0,M[5]||0,M[6]||0,O)):new Date(M[1],z,M[3]||1,M[4]||0,M[5]||0,M[6]||0,O)}}return new Date(D)}(E),this.$x=E.x||{},this.init()},A.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},A.$utils=function(){return C},A.isValid=function(){return this.$d.toString()!=="Invalid Date"},A.isSame=function(E,N){var D=S(E);return this.startOf(N)<=D&&D<=this.endOf(N)},A.isAfter=function(E,N){return S(E)<this.startOf(N)},A.isBefore=function(E,N){return this.endOf(N)<S(E)},A.$g=function(E,N,D){return C.u(E)?this[N]:this.set(D,E)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(E,N){var D=this,F=!!C.u(N)||N,M=C.p(E),z=function(oe,ie){var ue=C.w(D.$u?Date.UTC(D.$y,ie,oe):new Date(D.$y,ie,oe),D);return F?ue:ue.endOf(n)},O=function(oe,ie){return C.w(D.toDate()[oe].apply(D.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(ie)),D)},H=this.$W,U=this.$M,X=this.$D,Y="set"+(this.$u?"UTC":"");switch(M){case d:return F?z(1,0):z(31,11);case s:return F?z(1,U):z(0,U+1);case o:var ee=this.$locale().weekStart||0,ae=(H<ee?H+7:H)-ee;return z(F?X-ae:X+(6-ae),U);case n:case f:return O(Y+"Hours",0);case l:return O(Y+"Minutes",1);case t:return O(Y+"Seconds",2);case a:return O(Y+"Milliseconds",3);default:return this.clone()}},A.endOf=function(E){return this.startOf(E,!1)},A.$set=function(E,N){var D,F=C.p(E),M="set"+(this.$u?"UTC":""),z=(D={},D[n]=M+"Date",D[f]=M+"Date",D[s]=M+"Month",D[d]=M+"FullYear",D[l]=M+"Hours",D[t]=M+"Minutes",D[a]=M+"Seconds",D[e]=M+"Milliseconds",D)[F],O=F===n?this.$D+(N-this.$W):N;if(F===s||F===d){var H=this.clone().set(f,1);H.$d[z](O),H.init(),this.$d=H.set(f,Math.min(this.$D,H.daysInMonth())).$d}else z&&this.$d[z](O);return this.init(),this},A.set=function(E,N){return this.clone().$set(E,N)},A.get=function(E){return this[C.p(E)]()},A.add=function(E,N){var D,F=this;E=Number(E);var M=C.p(N),z=function(U){var X=S(F);return C.w(X.date(X.date()+Math.round(U*E)),F)};if(M===s)return this.set(s,this.$M+E);if(M===d)return this.set(d,this.$y+E);if(M===n)return z(1);if(M===o)return z(7);var O=(D={},D[t]=6e4,D[l]=36e5,D[a]=1e3,D)[M]||1,H=this.$d.getTime()+E*O;return C.w(H,this)},A.subtract=function(E,N){return this.add(-1*E,N)},A.format=function(E){var N=this;if(!this.isValid())return"Invalid Date";var D=E||"YYYY-MM-DDTHH:mm:ssZ",F=C.z(this),M=this.$locale(),z=this.$H,O=this.$m,H=this.$M,U=M.weekdays,X=M.months,Y=function(ie,ue,me,ce){return ie&&(ie[ue]||ie(N,D))||me[ue].substr(0,ce)},ee=function(ie){return C.s(z%12||12,ie,"0")},ae=M.meridiem||function(ie,ue,me){var ce=ie<12?"AM":"PM";return me?ce.toLowerCase():ce},oe={YY:String(this.$y).slice(-2),YYYY:this.$y,M:H+1,MM:C.s(H+1,2,"0"),MMM:Y(M.monthsShort,H,X,3),MMMM:Y(X,H),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:Y(M.weekdaysMin,this.$W,U,2),ddd:Y(M.weekdaysShort,this.$W,U,3),dddd:U[this.$W],H:String(z),HH:C.s(z,2,"0"),h:ee(1),hh:ee(2),a:ae(z,O,!0),A:ae(z,O,!1),m:String(O),mm:C.s(O,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:F};return D.replace(g,function(ie,ue){return ue||oe[ie]||F.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(E,N,D){var F,M=C.p(N),z=S(E),O=6e4*(z.utcOffset()-this.utcOffset()),H=this-z,U=C.m(this,z);return U=(F={},F[d]=U/12,F[s]=U,F[u]=U/3,F[o]=(H-O)/6048e5,F[n]=(H-O)/864e5,F[l]=H/36e5,F[t]=H/6e4,F[a]=H/1e3,F)[M]||H,D?U:C.a(U)},A.daysInMonth=function(){return this.endOf(s).$D},A.$locale=function(){return x[this.$L]},A.locale=function(E,N){if(!E)return this.$L;var D=this.clone(),F=_(E,N,!0);return F&&(D.$L=F),D},A.clone=function(){return C.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},I}(),R=T.prototype;return S.prototype=R,[["$ms",e],["$s",a],["$m",t],["$H",l],["$W",n],["$M",s],["$y",d],["$D",f]].forEach(function(I){R[I[1]]=function(A){return this.$g(A,I[0],I[1])}}),S.extend=function(I,A){return I.$i||(I(A,T,S),I.$i=!0),S},S.locale=_,S.isDayjs=w,S.unix=function(I){return S(1e3*I)},S.en=x[k],S.Ls=x,S.p={},S})});function qt(e){if(e==null||e.toString().length<5)return!1;return!!a(e);function a(t){var l=/^(\d{4})-(\d{1,2})-(\d{1,2})(\s(\d{1,2}):(\d{1,2})(:(\d{1,2}))?)?$/,n=/^(\d{4})\/(\d{1,2})\/(\d{1,2})(\s(\d{1,2}):(\d{1,2})(:(\d{1,2}))?)?$/;if(!l.test(t)&&!n.test(t))return!1;var o=RegExp.$1,s=RegExp.$2,u=RegExp.$3;if(o<1900||s>12||u>31)return!1;if(s==2){if(new Date(o,1,29).getDate()==29&&u>29)return!1;if(new Date(o,1,29).getDate()!=29&&u>28)return!1}return!0}}function sr(e,a){return(0,Ns.default)(e).diff((0,Ns.default)(a))}function qa(e){let a={};return qt(e)&&(a.date=!0),!isNaN(parseFloat(e))&&!xa(e)&&(a.num=!0),a}function Jr(e){let a="string";return qt(e)?a="date":!isNaN(parseFloat(e))&&!xa(e)&&(a="num"),a}var Ns,Nl=Ae(()=>{At();Ns=Er(ha())});var Qa=kr((Nd,fo)=>{(function(e,a){typeof define=="function"&&define.amd?define(a):typeof fo=="object"&&fo.exports?fo.exports=a():e.numeral=a()})(Nd,function(){var e,a,t="2.0.6",l={},n={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function u(d,f){this._input=d,this._value=f}return e=function(d){var f,m,g,y;if(e.isNumeral(d))f=d.value();else if(d===0||typeof d=="undefined")f=0;else if(d===null||a.isNaN(d))f=null;else if(typeof d=="string")if(s.zeroFormat&&d===s.zeroFormat)f=0;else if(s.nullFormat&&d===s.nullFormat||!d.replace(/[^0-9]+/g,"").length)f=null;else{for(m in l)if(y=typeof l[m].regexps.unformat=="function"?l[m].regexps.unformat():l[m].regexps.unformat,y&&d.match(y)){g=l[m].unformat;break}g=g||e._.stringToNumber,f=g(d)}else f=Number(d)||null;return new u(d,f)},e.version=t,e.isNumeral=function(d){return d instanceof u},e._=a={numberToFormat:function(d,f,m){var g=n[e.options.currentLocale],y=!1,v=!1,b=0,k="",x=1e12,w=1e9,_=1e6,S=1e3,C="",T=!1,R,I,A,E,N,D,F,M,z,O;if(d=d||0,I=Math.abs(d),e._.includes(f,"(")?(y=!0,f=f.replace(/[\(|\)]/g,"")):(e._.includes(f,"+")||e._.includes(f,"-"))&&(M=e._.includes(f,"+")?f.indexOf("+"):d<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),e._.includes(f,"a")&&(R=f.match(/a(k|m|b|t)?/),R=R?R[1]:!1,e._.includes(f," a")&&(k=" "),f=f.replace(new RegExp(k+"a[kmbt]?"),""),I>=x&&!R||R==="t"?(k+=g.abbreviations.trillion,d=d/x):I<x&&I>=w&&!R||R==="b"?(k+=g.abbreviations.billion,d=d/w):I<w&&I>=_&&!R||R==="m"?(k+=g.abbreviations.million,d=d/_):(I<_&&I>=S&&!R||R==="k")&&(k+=g.abbreviations.thousand,d=d/S)),e._.includes(f,"[.]")&&(v=!0,f=f.replace("[.]",".")),D=d.toString().split(".")[0],F=f.split(".")[1],z=f.indexOf(","),b=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,F?(e._.includes(F,"[")?(F=F.replace("]",""),F=F.split("["),C=e._.toFixed(d,F[0].length+F[1].length,m,F[1].length)):C=e._.toFixed(d,F.length,m),D=C.split(".")[0],e._.includes(C,".")?C=g.delimiters.decimal+C.split(".")[1]:C="",v&&Number(C.slice(1))===0&&(C="")):D=e._.toFixed(d,0,m),k&&!R&&Number(D)>=1e3&&k!==g.abbreviations.trillion)switch(D=String(Number(D)/1e3),k){case g.abbreviations.thousand:k=g.abbreviations.million;break;case g.abbreviations.million:k=g.abbreviations.billion;break;case g.abbreviations.billion:k=g.abbreviations.trillion;break}if(e._.includes(D,"-")&&(D=D.slice(1),T=!0),D.length<b)for(var H=b-D.length;H>0;H--)D="0"+D;return z>-1&&(D=D.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g.delimiters.thousands)),f.indexOf(".")===0&&(D=""),O=D+C+(k||""),y?O=(y&&T?"(":"")+O+(y&&T?")":""):M>=0?O=M===0?(T?"-":"+")+O:O+(T?"-":"+"):T&&(O="-"+O),O},stringToNumber:function(d){var f=n[s.currentLocale],m=d,g={thousand:3,million:6,billion:9,trillion:12},y,v,b,k;if(s.zeroFormat&&d===s.zeroFormat)v=0;else if(s.nullFormat&&d===s.nullFormat||!d.replace(/[^0-9]+/g,"").length)v=null;else{v=1,f.delimiters.decimal!=="."&&(d=d.replace(/\./g,"").replace(f.delimiters.decimal,"."));for(y in g)if(k=new RegExp("[^a-zA-Z]"+f.abbreviations[y]+"(?:\\)|(\\"+f.currency.symbol+")?(?:\\))?)?$"),m.match(k)){v*=Math.pow(10,g[y]);break}v*=(d.split("-").length+Math.min(d.split("(").length-1,d.split(")").length-1))%2?1:-1,d=d.replace(/[^0-9\.]+/g,""),v*=Number(d)}return v},isNaN:function(d){return typeof d=="number"&&isNaN(d)},includes:function(d,f){return d.indexOf(f)!==-1},insert:function(d,f,m){return d.slice(0,m)+f+d.slice(m)},reduce:function(d,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var m=Object(d),g=m.length>>>0,y=0,v;if(arguments.length===3)v=arguments[2];else{for(;y<g&&!(y in m);)y++;if(y>=g)throw new TypeError("Reduce of empty array with no initial value");v=m[y++]}for(;y<g;y++)y in m&&(v=f(v,m[y],y,m));return v},multiplier:function(d){var f=d.toString().split(".");return f.length<2?1:Math.pow(10,f[1].length)},correctionFactor:function(){var d=Array.prototype.slice.call(arguments);return d.reduce(function(f,m){var g=a.multiplier(m);return f>g?f:g},1)},toFixed:function(d,f,m,g){var y=d.toString().split("."),v=f-(g||0),b,k,x,w;return y.length===2?b=Math.min(Math.max(y[1].length,v),f):b=v,x=Math.pow(10,b),w=(m(d+"e+"+b)/x).toFixed(b),g>f-b&&(k=new RegExp("\\.?0{1,"+(g-(f-b))+"}$"),w=w.replace(k,"")),w}},e.options=s,e.formats=l,e.locales=n,e.locale=function(d){return d&&(s.currentLocale=d.toLowerCase()),s.currentLocale},e.localeData=function(d){if(!d)return n[s.currentLocale];if(d=d.toLowerCase(),!n[d])throw new Error("Unknown locale : "+d);return n[d]},e.reset=function(){for(var d in o)s[d]=o[d]},e.zeroFormat=function(d){s.zeroFormat=typeof d=="string"?d:null},e.nullFormat=function(d){s.nullFormat=typeof d=="string"?d:null},e.defaultFormat=function(d){s.defaultFormat=typeof d=="string"?d:"0.0"},e.register=function(d,f,m){if(f=f.toLowerCase(),this[d+"s"][f])throw new TypeError(f+" "+d+" already registered.");return this[d+"s"][f]=m,m},e.validate=function(d,f){var m,g,y,v,b,k,x,w;if(typeof d!="string"&&(d+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",d)),d=d.trim(),d.match(/^\d+$/))return!0;if(d==="")return!1;try{x=e.localeData(f)}catch(_){x=e.localeData(e.locale())}return y=x.currency.symbol,b=x.abbreviations,m=x.delimiters.decimal,x.delimiters.thousands==="."?g="\\.":g=x.delimiters.thousands,w=d.match(/^[^\d]+/),w!==null&&(d=d.substr(1),w[0]!==y)||(w=d.match(/[^\d]+$/),w!==null&&(d=d.slice(0,-1),w[0]!==b.thousand&&w[0]!==b.million&&w[0]!==b.billion&&w[0]!==b.trillion))?!1:(k=new RegExp(g+"{2}"),d.match(/[^\d.,]/g)?!1:(v=d.split(m),v.length>2?!1:v.length<2?!!v[0].match(/^\d+.*\d$/)&&!v[0].match(k):v[0].length===1?!!v[0].match(/^\d+$/)&&!v[0].match(k)&&!!v[1].match(/^\d+$/):!!v[0].match(/^\d+.*\d$/)&&!v[0].match(k)&&!!v[1].match(/^\d+$/)))},e.fn=u.prototype={clone:function(){return e(this)},format:function(d,f){var m=this._value,g=d||s.defaultFormat,y,v,b;if(f=f||Math.round,m===0&&s.zeroFormat!==null)v=s.zeroFormat;else if(m===null&&s.nullFormat!==null)v=s.nullFormat;else{for(y in l)if(g.match(l[y].regexps.format)){b=l[y].format;break}b=b||e._.numberToFormat,v=b(m,g,f)}return v},value:function(){return this._value},input:function(){return this._input},set:function(d){return this._value=Number(d),this},add:function(d){var f=a.correctionFactor.call(null,this._value,d);function m(g,y,v,b){return g+Math.round(f*y)}return this._value=a.reduce([this._value,d],m,0)/f,this},subtract:function(d){var f=a.correctionFactor.call(null,this._value,d);function m(g,y,v,b){return g-Math.round(f*y)}return this._value=a.reduce([d],m,Math.round(this._value*f))/f,this},multiply:function(d){function f(m,g,y,v){var b=a.correctionFactor(m,g);return Math.round(m*b)*Math.round(g*b)/Math.round(b*b)}return this._value=a.reduce([this._value,d],f,1),this},divide:function(d){function f(m,g,y,v){var b=a.correctionFactor(m,g);return Math.round(m*b)/Math.round(g*b)}return this._value=a.reduce([this._value,d],f),this},difference:function(d){return Math.abs(e(this._value).subtract(d).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(d){var f=d%10;return~~(d%100/10)==1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),function(){e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(d,f,m){var g=e._.includes(f," BPS")?" ":"",y;return d=d*1e4,f=f.replace(/\s?BPS/,""),y=e._.numberToFormat(d,f,m),e._.includes(y,")")?(y=y.split(""),y.splice(-1,0,g+"BPS"),y=y.join("")):y=y+g+"BPS",y},unformat:function(d){return+(e._.stringToNumber(d)*1e-4).toFixed(15)}})}(),function(){var d={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},f={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},m=d.suffixes.concat(f.suffixes.filter(function(y){return d.suffixes.indexOf(y)<0})),g=m.join("|");g="("+g.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(g)},format:function(y,v,b){var k,x=e._.includes(v,"ib")?f:d,w=e._.includes(v," b")||e._.includes(v," ib")?" ":"",_,S,C;for(v=v.replace(/\s?i?b/,""),_=0;_<=x.suffixes.length;_++)if(S=Math.pow(x.base,_),C=Math.pow(x.base,_+1),y===null||y===0||y>=S&&y<C){w+=x.suffixes[_],S>0&&(y=y/S);break}return k=e._.numberToFormat(y,v,b),k+w},unformat:function(y){var v=e._.stringToNumber(y),b,k;if(v){for(b=d.suffixes.length-1;b>=0;b--){if(e._.includes(y,d.suffixes[b])){k=Math.pow(d.base,b);break}if(e._.includes(y,f.suffixes[b])){k=Math.pow(f.base,b);break}}v*=k||1}return v}})}(),function(){e.register("format","currency",{regexps:{format:/(\$)/},format:function(d,f,m){var g=e.locales[e.options.currentLocale],y={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]},v,b,k;for(f=f.replace(/\s?\$\s?/,""),v=e._.numberToFormat(d,f,m),d>=0?(y.before=y.before.replace(/[\-\(]/,""),y.after=y.after.replace(/[\-\)]/,"")):d<0&&!e._.includes(y.before,"-")&&!e._.includes(y.before,"(")&&(y.before="-"+y.before),k=0;k<y.before.length;k++)switch(b=y.before[k],b){case"$":v=e._.insert(v,g.currency.symbol,k);break;case" ":v=e._.insert(v," ",k+g.currency.symbol.length-1);break}for(k=y.after.length-1;k>=0;k--)switch(b=y.after[k],b){case"$":v=k===y.after.length-1?v+g.currency.symbol:e._.insert(v,g.currency.symbol,-(y.after.length-(1+k)));break;case" ":v=k===y.after.length-1?v+" ":e._.insert(v," ",-(y.after.length-(1+k)+g.currency.symbol.length-1));break}return v}})}(),function(){e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(d,f,m){var g,y=typeof d=="number"&&!e._.isNaN(d)?d.toExponential():"0e+0",v=y.split("e");return f=f.replace(/e[\+|\-]{1}0/,""),g=e._.numberToFormat(Number(v[0]),f,m),g+"e"+v[1]},unformat:function(d){var f=e._.includes(d,"e+")?d.split("e+"):d.split("e-"),m=Number(f[0]),g=Number(f[1]);g=e._.includes(d,"e-")?g*=-1:g;function y(v,b,k,x){var w=e._.correctionFactor(v,b),_=v*w*(b*w)/(w*w);return _}return e._.reduce([m,Math.pow(10,g)],y,1)}})}(),function(){e.register("format","ordinal",{regexps:{format:/(o)/},format:function(d,f,m){var g=e.locales[e.options.currentLocale],y,v=e._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),v+=g.ordinal(d),y=e._.numberToFormat(d,f,m),y+v}})}(),function(){e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(d,f,m){var g=e._.includes(f," %")?" ":"",y;return e.options.scalePercentBy100&&(d=d*100),f=f.replace(/\s?\%/,""),y=e._.numberToFormat(d,f,m),e._.includes(y,")")?(y=y.split(""),y.splice(-1,0,g+"%"),y=y.join("")):y=y+g+"%",y},unformat:function(d){var f=e._.stringToNumber(d);return e.options.scalePercentBy100?f*.01:f}})}(),function(){e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(d,f,m){var g=Math.floor(d/60/60),y=Math.floor((d-g*60*60)/60),v=Math.round(d-g*60*60-y*60);return g+":"+(y<10?"0"+y:y)+":"+(v<10?"0"+v:v)},unformat:function(d){var f=d.split(":"),m=0;return f.length===3?(m=m+Number(f[0])*60*60,m=m+Number(f[1])*60,m=m+Number(f[2])):f.length===2&&(m=m+Number(f[0])*60,m=m+Number(f[1])),Number(m)}})}(),e})});function Ps(e,a){var t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds()),l=Date.UTC(1899,11,31,0,0,0);return a?t-=1461*24*60*60*1e3:e>=by&&(t+=24*60*60*1e3),(t-l)/(24*60*60*1e3)}function xy(e,a){var t=new Date(e);if(ky)return a>0?t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3):a<0&&t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3),t;if(e instanceof Date)return e;if(mo.getFullYear()==1917&&!isNaN(t.getFullYear())){var l=t.getFullYear();return e.indexOf(""+l)>-1||t.setFullYear(t.getFullYear()+100),t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-o.getTimezoneOffset()*60*1e3)),o}function wy(e){var a=Number(e);if(typeof e=="number")return e;if(!isNaN(a))return a;var t=1,l=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return t*=100,""});return!isNaN(a=Number(l))||(l=l.replace(/[(](.*)[)]/,function(n,o){return t=-t,o}),!isNaN(a=Number(l)))?a/t:a}function it(e){var a=[],t=null,l={},n=e;if(e==null)return null;if(/^-?[0-9]{1,}[,][0-9]{3}(.[0-9]{1,2})?$/.test(e)){t=e,n=Number(e.split(".")[0].replace(",",""));let w="#,##0";if(e.split(".")[1]){w="#,##0.";for(let _=0;_<e.split(".")[1].length;_++)w+=0}l={fa:w,t:"n"}}else if(e.toString().substr(0,1)==="'")t=e.toString().substr(1),l={fa:"@",t:"s"};else if(e.toString().toUpperCase()==="TRUE")t="TRUE",l={fa:"General",t:"b"},n=!0;else if(e.toString().toUpperCase()==="FALSE")t="FALSE",l={fa:"General",t:"b"},n=!1;else if(B(e))t=e.toString(),l={fa:"General",t:"e"};else if(/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(e))t=e.toString(),l={fa:"@",t:"s"};else if(L(e)&&Math.abs(parseFloat(e))>0&&(Math.abs(parseFloat(e))>=1e11||Math.abs(parseFloat(e))<1e-9)){n=(0,Pl.default)(e).value();var o=n.toExponential();if(o.indexOf(".")>-1){var s=o.split(".")[1].split("e")[0].length;s>5&&(s=5),l={fa:"#0."+new Array(s+1).join("0")+"E+00",t:"n"}}else l={fa:"#0.E+00",t:"n"};t=vr.format(l.fa,n)}else if(e.toString().indexOf("%")>-1){var u=e.toString().indexOf("%"),d=e.toString().substr(0,u),f=d.replace(/,/g,"");if(u==e.toString().length-1&&L(f))if(d.indexOf(".")>-1)if(d.indexOf(".")==d.lastIndexOf(".")){var m=d.split(".")[0],g=d.split(".")[1],y=g.length;if(y>9&&(y=9),m.indexOf(",")>-1){for(var v=!0,b=m.split(","),k=1;k<b.length;k++)if(b[k].length<3){v=!1;break}v?(l={fa:"#,##0."+new Array(y+1).join("0")+"%",t:"n"},n=(0,Pl.default)(e).value(),t=vr.format(l.fa,n)):(t=e.toString(),l={fa:"@",t:"s"})}else l={fa:"0."+new Array(y+1).join("0")+"%",t:"n"},n=(0,Pl.default)(e).value(),t=vr.format(l.fa,n)}else t=e.toString(),l={fa:"@",t:"s"};else if(d.indexOf(",")>-1){for(var v=!0,b=d.split(","),k=1;k<b.length;k++)if(b[k].length<3){v=!1;break}v?(l={fa:"#,##0%",t:"n"},n=(0,Pl.default)(e).value(),t=vr.format(l.fa,n)):(t=e.toString(),l={fa:"@",t:"s"})}else l={fa:"0%",t:"n"},n=(0,Pl.default)(e).value(),t=vr.format(l.fa,n);else t=e.toString(),l={fa:"@",t:"s"}}else if(e.toString().indexOf(".")>-1)if(e.toString().indexOf(".")==e.toString().lastIndexOf(".")){var x=e.toString().split(".")[0],d=e.toString().split(".")[1],y=d.length;if(y>9&&(y=9),x.indexOf(",")>-1){for(var v=!0,b=x.split(","),k=1;k<b.length;k++)if(!L(b[k])||b[k].length<3){v=!1;break}v?(l={fa:"#,##0."+new Array(y+1).join("0"),t:"n"},n=(0,Pl.default)(e).value(),t=vr.format(l.fa,n)):(t=e.toString(),l={fa:"@",t:"s"})}else L(x)&&L(d)?(l={fa:"0."+new Array(y+1).join("0"),t:"n"},n=(0,Pl.default)(e).value(),t=vr.format(l.fa,n)):(t=e.toString(),l={fa:"@",t:"s"})}else t=e.toString(),l={fa:"@",t:"s"};else L(e)?(t=e.toString(),l={fa:"General",t:"n"},n=parseFloat(e)):qt(e)&&(e.toString().indexOf(".")>-1||e.toString().indexOf(":")>-1||e.toString().length<16)?(n=Ps(xy(e.toString().replace(/-/g,"/"))),n.toString().indexOf(".")>-1?e.toString().length>18?l.fa="yyyy-MM-dd hh:mm:ss":e.toString().length>11?l.fa="yyyy-MM-dd hh:mm":l.fa="yyyy-MM-dd":l.fa="yyyy-MM-dd",l.t="d",t=vr.format(l.fa,n)):(t=e,l.fa="General",l.t="g");return[t,l,n]}function mt(e,a){return vr.format(e,a)}function Pd(e,a){return vr.is_date(e,a)}function da(e,a,t){var l=ze(e,a,t,"m");return l==null?l=ze(e,a,t,"v"):isNaN(wy(l))?t[e][a].ct!=null&&t[e][a].ct.t=="d"||t[e][a].ct!=null&&t[e][a].ct.t=="b"||(l=ze(e,a,t,"v")):typeof l=="string"&&l.indexOf("%")>-1||(l=ze(e,a,t,"v")),l}var Pl,vr,yy,pk,gk,vy,yk,by,mo,ky,Ir=Ae(()=>{At();Nl();Wt();Pl=Er(Qa()),vr={},yy=function(a){a.version="0.11.2";function t(K){for(var G="",le=K.length-1;le>=0;)G+=K.charAt(le--);return G}function l(K,G){for(var le="";le.length<G;)le+=K;return le}function n(K,G){var le=""+K;return le.length>=G?le:l("0",G-le.length)+le}function o(K,G){var le=""+K;return le.length>=G?le:l(" ",G-le.length)+le}function s(K,G){var le=""+K;return le.length>=G?le:le+l(" ",G-le.length)}function u(K,G){var le=""+Math.round(K);return le.length>=G?le:l("0",G-le.length)+le}function d(K,G){var le=""+K;return le.length>=G?le:l("0",G-le.length)+le}var f=Math.pow(2,32);function m(K,G){if(K>f||K<-f)return u(K,G);var le=Math.round(K);return d(le,G)}function g(K,G){return G=G||0,K.length>=7+G&&(K.charCodeAt(G)|32)==103&&(K.charCodeAt(G+1)|32)==101&&(K.charCodeAt(G+2)|32)==110&&(K.charCodeAt(G+3)|32)==101&&(K.charCodeAt(G+4)|32)==114&&(K.charCodeAt(G+5)|32)==97&&(K.charCodeAt(G+6)|32)==108}var y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],v=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function b(K){K[0]="General",K[1]="0",K[2]="0.00",K[3]="#,##0",K[4]="#,##0.00",K[9]="0%",K[10]="0.00%",K[11]="0.00E+00",K[12]="# ?/?",K[13]="# ??/??",K[14]="m/d/yy",K[15]="d-mmm-yy",K[16]="d-mmm",K[17]="mmm-yy",K[18]="h:mm AM/PM",K[19]="h:mm:ss AM/PM",K[20]="h:mm",K[21]="h:mm:ss",K[22]="m/d/yy h:mm",K[37]="#,##0 ;(#,##0)",K[38]="#,##0 ;[Red](#,##0)",K[39]="#,##0.00;(#,##0.00)",K[40]="#,##0.00;[Red](#,##0.00)",K[45]="mm:ss",K[46]="[h]:mm:ss",K[47]="mmss.0",K[48]="##0.0E+0",K[49]="@",K[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',K[65535]="General"}var k={};b(k);var x=[],w=0;for(w=5;w<=8;++w)x[w]=32+w;for(w=23;w<=26;++w)x[w]=0;for(w=27;w<=31;++w)x[w]=14;for(w=50;w<=58;++w)x[w]=14;for(w=59;w<=62;++w)x[w]=w-58;for(w=67;w<=68;++w)x[w]=w-58;for(w=72;w<=75;++w)x[w]=w-58;for(w=67;w<=68;++w)x[w]=w-57;for(w=76;w<=78;++w)x[w]=w-56;for(w=79;w<=81;++w)x[w]=w-34;var _=[];_[5]=_[63]='"$"#,##0_);\\("$"#,##0\\)',_[6]=_[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',_[7]=_[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',_[8]=_[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',_[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',_[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',_[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',_[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)';function S(K,G,le){for(var ke=K<0?-1:1,se=K*ke,He=0,ne=1,Me=0,je=1,_e=0,Ee=0,Ue=Math.floor(se);_e<G&&(Ue=Math.floor(se),Me=Ue*ne+He,Ee=Ue*_e+je,!(se-Ue<5e-8));)se=1/(se-Ue),He=ne,ne=Me,je=_e,_e=Ee;if(Ee>G&&(_e>G?(Ee=je,Me=He):(Ee=_e,Me=ne)),!le)return[0,ke*Me,Ee];var Pe=Math.floor(ke*Me/Ee);return[Pe,ke*Me-Pe*Ee,Ee]}function C(K,G,le){if(K>2958465||K<0)return null;var ke=K|0,se=Math.floor(86400*(K-ke)),He=0,ne=[],Me={D:ke,T:se,u:86400*(K-ke)-se,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(Me.u)<1e-6&&(Me.u=0),G&&G.date1904&&(ke+=1462),Me.u>.9999&&(Me.u=0,++se==86400&&(Me.T=se=0,++ke,++Me.D)),ke===60)ne=le?[1317,10,29]:[1900,2,29],He=3;else if(ke===0)ne=le?[1317,8,29]:[1900,1,0],He=6;else{ke>60&&--ke;var je=new Date(1900,0,1);je.setDate(je.getDate()+ke-1),ne=[je.getFullYear(),je.getMonth()+1,je.getDate()],He=je.getDay(),ke<60&&(He=(He+6)%7),le&&(He=F(je,ne))}return Me.y=ne[0],Me.m=ne[1],Me.d=ne[2],Me.S=se%60,se=Math.floor(se/60),Me.M=se%60,se=Math.floor(se/60),Me.H=se,Me.q=He,Me}a.parse_date_code=C;var T=new Date(1899,11,31,0,0,0),R=T.getTime(),I=new Date(1900,2,1,0,0,0);function A(K,G){var le=K.getTime();return G?le-=1461*24*60*60*1e3:K>=I&&(le+=24*60*60*1e3),(le-(R+(K.getTimezoneOffset()-T.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function E(K){return K.toString(10)}a._general_int=E;var N=function(){var G=/(?:\.0*|(\.\d*[1-9])0+)$/;function le(_e){return _e.indexOf(".")==-1?_e:_e.replace(G,"$1")}var ke=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,se=/(E[+-])(\d)$/;function He(_e){return _e.indexOf("E")==-1?_e:_e.replace(ke,"$1E").replace(se,"$10$2")}function ne(_e){var Ee=_e<0?12:11,Ue=le(_e.toFixed(12));return Ue.length<=Ee||(Ue=_e.toPrecision(10),Ue.length<=Ee)?Ue:_e.toExponential(5)}function Me(_e){var Ee=le(_e.toFixed(11));return Ee.length>(_e<0?12:11)||Ee==="0"||Ee==="-0"?_e.toPrecision(6):Ee}function je(_e){var Ee=Math.floor(Math.log(Math.abs(_e))*Math.LOG10E),Ue;return Ee>=-4&&Ee<=-1?Ue=_e.toPrecision(10+Ee):Math.abs(Ee)<=9?Ue=ne(_e):Ee===10?Ue=_e.toFixed(10).substr(0,12):Ue=Me(_e),le(He(Ue.toUpperCase()))}return je}();a._general_num=N;function D(K,G){switch(typeof K){case"string":return K;case"boolean":return K?"TRUE":"FALSE";case"number":return(K|0)===K?K.toString(10):N(K);case"undefined":return"";case"object":if(K==null)return"";if(K instanceof Date)return me(14,A(K,G&&G.date1904),G)}throw new Error("unsupported value in General format: "+K)}a._general=D;function F(K,G){G[0]-=581;var le=K.getDay();return K<60&&(le=(le+6)%7),le}var M="\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59".split("");function z(K,G,le,ke){var se="",He=0,ne=0,Me=le.y,je,_e=0;switch(K){case 98:Me=le.y+543;case 121:switch(G.length){case 1:case 2:je=Me%100,_e=2;break;default:je=Me%1e4,_e=4;break}break;case 109:switch(G.length){case 1:case 2:je=le.m,_e=G.length;break;case 3:return v[le.m-1][1];case 5:return v[le.m-1][0];default:return v[le.m-1][2]}break;case 100:switch(G.length){case 1:case 2:je=le.d,_e=G.length;break;case 3:return y[le.q][0];default:return y[le.q][1]}break;case 104:switch(G.length){case 1:case 2:je=1+(le.H+11)%12,_e=G.length;break;default:throw"bad hour format: "+G}break;case 72:switch(G.length){case 1:case 2:je=le.H,_e=G.length;break;default:throw"bad hour format: "+G}break;case 77:switch(G.length){case 1:case 2:je=le.M,_e=G.length;break;default:throw"bad minute format: "+G}break;case 115:if(G!="s"&&G!="ss"&&G!=".0"&&G!=".00"&&G!=".000")throw"bad second format: "+G;return le.u===0&&(G=="s"||G=="ss")?n(le.S,G.length):(ke>=2?ne=ke===3?1e3:100:ne=ke===1?10:1,He=Math.round(ne*(le.S+le.u)),He>=60*ne&&(He=0),G==="s"?He===0?"0":""+He/ne:(se=n(He,2+ke),G==="ss"?se.substr(0,2):"."+se.substr(2,G.length-1)));case 90:switch(G){case"[h]":case"[hh]":je=le.D*24+le.H;break;case"[m]":case"[mm]":je=(le.D*24+le.H)*60+le.M;break;case"[s]":case"[ss]":je=((le.D*24+le.H)*60+le.M)*60+Math.round(le.S+le.u);break;default:throw"bad abstime format: "+G}_e=G.length===3?1:2;break;case 101:je=Me,_e=1;break}var Ee=_e>0?n(je,_e):"";return Ee}function O(K){var G=3;if(K.length<=G)return K;for(var le=K.length%G,ke=K.substr(0,le);le!=K.length;le+=G)ke+=(ke.length>0?",":"")+K.substr(le,G);return ke}var H=function(){var G=/%/g;function le(Fe,pe,ve){var ht=pe.replace(G,""),De=pe.length-ht.length;return H(Fe,ht,ve*Math.pow(10,2*De))+l("%",De)}function ke(Fe,pe,ve){for(var ht=pe.length-1;pe.charCodeAt(ht-1)===44;)--ht;return H(Fe,pe.substr(0,ht),ve/Math.pow(10,3*(pe.length-ht)))}function se(Fe,pe){var ve,ht=Fe.indexOf("E")-Fe.indexOf(".")-1;if(Fe.match(/^#+0.0E\+0$/)){if(pe==0)return"0.0E+0";if(pe<0)return"-"+se(Fe,-pe);var De=Fe.indexOf(".");De===-1&&(De=Fe.indexOf("E"));var Ce=Math.floor(Math.log(pe)*Math.LOG10E)%De;if(Ce<0&&(Ce+=De),ve=(pe/Math.pow(10,Ce)).toPrecision(ht+1+(De+Ce)%De),ve.indexOf("e")===-1){var Tt=Math.floor(Math.log(pe)*Math.LOG10E);for(ve.indexOf(".")===-1?ve=ve.charAt(0)+"."+ve.substr(1)+"E+"+(Tt-ve.length+Ce):ve+="E+"+(Tt-Ce);ve.substr(0,2)==="0.";)ve=ve.charAt(0)+ve.substr(2,De)+"."+ve.substr(2+De),ve=ve.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");ve=ve.replace(/\+-/,"-")}ve=ve.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(rr,fr,nr,zt){return fr+nr+zt.substr(0,(De+Ce)%De)+"."+zt.substr(Ce)+"E"})}else ve=pe.toExponential(ht);return Fe.match(/E\+00$/)&&ve.match(/e[+-]\d$/)&&(ve=ve.substr(0,ve.length-1)+"0"+ve.charAt(ve.length-1)),Fe.match(/E\-/)&&ve.match(/e\+/)&&(ve=ve.replace(/e\+/,"e")),ve.replace("e","E")}var He=/# (\?+)( ?)\/( ?)(\d+)/;function ne(Fe,pe,ve){var ht=parseInt(Fe[4],10),De=Math.round(pe*ht),Ce=Math.floor(De/ht),Tt=De-Ce*ht,rr=ht;return ve+(Ce===0?"":""+Ce)+" "+(Tt===0?l(" ",Fe[1].length+1+Fe[4].length):o(Tt,Fe[1].length)+Fe[2]+"/"+Fe[3]+n(rr,Fe[4].length))}function Me(Fe,pe,ve){return ve+(pe===0?"":""+pe)+l(" ",Fe[1].length+2+Fe[4].length)}var je=/^#*0*\.([0#]+)/,_e=/\).*[0#]/,Ee=/\(###\) ###\\?-####/;function Ue(Fe){for(var pe="",ve,ht=0;ht!=Fe.length;++ht)switch(ve=Fe.charCodeAt(ht)){case 35:break;case 63:pe+=" ";break;case 48:pe+="0";break;default:pe+=String.fromCharCode(ve)}return pe}function Pe(Fe,pe){var ve=Math.pow(10,pe);return""+Math.round(Fe*ve)/ve}function Qe(Fe,pe){var ve=Fe-Math.floor(Fe),ht=Math.pow(10,pe);return pe<(""+Math.round(ve*ht)).length?0:Math.round(ve*ht)}function gt(Fe,pe){return pe<(""+Math.round((Fe-Math.floor(Fe))*Math.pow(10,pe))).length?1:0}function Ct(Fe){return Fe<2147483647&&Fe>-2147483648?""+(Fe>=0?Fe|0:Fe-1|0):""+Math.floor(Fe)}function ot(Fe,pe,ve){if(Fe.charCodeAt(0)===40&&!pe.match(_e)){var ht=pe.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return ve>=0?ot("n",ht,ve):"("+ot("n",ht,-ve)+")"}if(pe.charCodeAt(pe.length-1)===44)return ke(Fe,pe,ve);if(pe.indexOf("%")!==-1)return le(Fe,pe,ve);if(pe.indexOf("E")!==-1)return se(pe,ve);if(pe.charCodeAt(0)===36)return"$"+ot(Fe,pe.substr(pe.charAt(1)==" "?2:1),ve);var De,Ce,Tt,rr,fr=Math.abs(ve),nr=ve<0?"-":"";if(pe.match(/^00+$/))return nr+m(fr,pe.length);if(pe.match(/^[#?]+$/))return De=m(ve,0),De==="0"&&(De=""),De.length>pe.length?De:Ue(pe.substr(0,pe.length-De.length))+De;if(Ce=pe.match(He))return ne(Ce,fr,nr);if(pe.match(/^#+0+$/))return nr+m(fr,pe.length-pe.indexOf("0"));if(Ce=pe.match(je))return De=Pe(ve,Ce[1].length).replace(/^([^\.]+)$/,"$1."+Ue(Ce[1])).replace(/\.$/,"."+Ue(Ce[1])).replace(/\.(\d*)$/,function(J,te){return"."+te+l("0",Ue(Ce[1]).length-te.length)}),pe.indexOf("0.")!==-1?De:De.replace(/^0\./,".");if(pe=pe.replace(/^#+([0.])/,"$1"),Ce=pe.match(/^(0*)\.(#*)$/))return nr+Pe(fr,Ce[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,Ce[1].length?"0.":".");if(Ce=pe.match(/^#{1,3},##0(\.?)$/))return nr+O(m(fr,0));if(Ce=pe.match(/^#,##0\.([#0]*0)$/))return ve<0?"-"+ot(Fe,pe,-ve):O(""+(Math.floor(ve)+gt(ve,Ce[1].length)))+"."+n(Qe(ve,Ce[1].length),Ce[1].length);if(Ce=pe.match(/^#,#*,#0/))return ot(Fe,pe.replace(/^#,#*,/,""),ve);if(Ce=pe.match(/^([0#]+)(\\?-([0#]+))+$/))return De=t(ot(Fe,pe.replace(/[\\-]/g,""),ve)),Tt=0,t(t(pe.replace(/\\/g,"")).replace(/[0#]/g,function(J){return Tt<De.length?De.charAt(Tt++):J==="0"?"0":""}));if(pe.match(Ee))return De=ot(Fe,"##########",ve),"("+De.substr(0,3)+") "+De.substr(3,3)+"-"+De.substr(6);var zt="";if(Ce=pe.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return Tt=Math.min(Ce[4].length,7),rr=S(fr,Math.pow(10,Tt)-1,!1),De=""+nr,zt=H("n",Ce[1],rr[1]),zt.charAt(zt.length-1)==" "&&(zt=zt.substr(0,zt.length-1)+"0"),De+=zt+Ce[2]+"/"+Ce[3],zt=s(rr[2],Tt),zt.length<Ce[4].length&&(zt=Ue(Ce[4].substr(Ce[4].length-zt.length))+zt),De+=zt,De;if(Ce=pe.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return Tt=Math.min(Math.max(Ce[1].length,Ce[4].length),7),rr=S(fr,Math.pow(10,Tt)-1,!0),nr+(rr[0]||(rr[1]?"":"0"))+" "+(rr[1]?o(rr[1],Tt)+Ce[2]+"/"+Ce[3]+s(rr[2],Tt):l(" ",2*Tt+1+Ce[2].length+Ce[3].length));if(Ce=pe.match(/^[#0?]+$/))return De=m(ve,0),pe.length<=De.length?De:Ue(pe.substr(0,pe.length-De.length))+De;if(Ce=pe.match(/^([#0?]+)\.([#0]+)$/)){De=""+ve.toFixed(Math.min(Ce[2].length,10)).replace(/([^0])0+$/,"$1"),Tt=De.indexOf(".");var Xr=pe.indexOf(".")-Tt,Kn=pe.length-De.length-Xr;return Ue(pe.substr(0,Xr)+De+pe.substr(pe.length-Kn))}if(Ce=pe.match(/^00,000\.([#0]*0)$/))return Tt=Qe(ve,Ce[1].length),ve<0?"-"+ot(Fe,pe,-ve):O(Ct(ve)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(J){return"00,"+(J.length<3?n(0,3-J.length):"")+J})+"."+n(Tt,Ce[1].length);switch(pe){case"###,##0.00":return ot(Fe,"#,##0.00",ve);case"###,###":case"##,###":case"#,###":var Ba=O(m(fr,0));return Ba!=="0"?nr+Ba:"";case"###,###.00":return ot(Fe,"###,##0.00",ve).replace(/^0\./,".");case"#,###.00":return ot(Fe,"#,##0.00",ve).replace(/^0\./,".");default:}throw new Error("unsupported format |"+pe+"|")}function yt(Fe,pe,ve){for(var ht=pe.length-1;pe.charCodeAt(ht-1)===44;)--ht;return H(Fe,pe.substr(0,ht),ve/Math.pow(10,3*(pe.length-ht)))}function Ge(Fe,pe,ve){var ht=pe.replace(G,""),De=pe.length-ht.length;return H(Fe,ht,ve*Math.pow(10,2*De))+l("%",De)}function Se(Fe,pe){var ve,ht=Fe.indexOf("E")-Fe.indexOf(".")-1;if(Fe.match(/^#+0.0E\+0$/)){if(pe==0)return"0.0E+0";if(pe<0)return"-"+Se(Fe,-pe);var De=Fe.indexOf(".");De===-1&&(De=Fe.indexOf("E"));var Ce=Math.floor(Math.log(pe)*Math.LOG10E)%De;if(Ce<0&&(Ce+=De),ve=(pe/Math.pow(10,Ce)).toPrecision(ht+1+(De+Ce)%De),!ve.match(/[Ee]/)){var Tt=Math.floor(Math.log(pe)*Math.LOG10E);ve.indexOf(".")===-1?ve=ve.charAt(0)+"."+ve.substr(1)+"E+"+(Tt-ve.length+Ce):ve+="E+"+(Tt-Ce),ve=ve.replace(/\+-/,"-")}ve=ve.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(rr,fr,nr,zt){return fr+nr+zt.substr(0,(De+Ce)%De)+"."+zt.substr(Ce)+"E"})}else ve=pe.toExponential(ht);return Fe.match(/E\+00$/)&&ve.match(/e[+-]\d$/)&&(ve=ve.substr(0,ve.length-1)+"0"+ve.charAt(ve.length-1)),Fe.match(/E\-/)&&ve.match(/e\+/)&&(ve=ve.replace(/e\+/,"e")),ve.replace("e","E")}function Je(Fe,pe,ve){if(Fe.charCodeAt(0)===40&&!pe.match(_e)){var ht=pe.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return ve>=0?Je("n",ht,ve):"("+Je("n",ht,-ve)+")"}if(pe.charCodeAt(pe.length-1)===44)return yt(Fe,pe,ve);if(pe.indexOf("%")!==-1)return Ge(Fe,pe,ve);if(pe.indexOf("E")!==-1)return Se(pe,ve);if(pe.charCodeAt(0)===36)return"$"+Je(Fe,pe.substr(pe.charAt(1)==" "?2:1),ve);var De,Ce,Tt,rr,fr=Math.abs(ve),nr=ve<0?"-":"";if(pe.match(/^00+$/))return nr+n(fr,pe.length);if(pe.match(/^[#?]+$/))return De=""+ve,ve===0&&(De=""),De.length>pe.length?De:Ue(pe.substr(0,pe.length-De.length))+De;if(Ce=pe.match(He))return Me(Ce,fr,nr);if(pe.match(/^#+0+$/))return nr+n(fr,pe.length-pe.indexOf("0"));if(Ce=pe.match(je))return De=(""+ve).replace(/^([^\.]+)$/,"$1."+Ue(Ce[1])).replace(/\.$/,"."+Ue(Ce[1])),De=De.replace(/\.(\d*)$/,function(J,te){return"."+te+l("0",Ue(Ce[1]).length-te.length)}),pe.indexOf("0.")!==-1?De:De.replace(/^0\./,".");if(pe=pe.replace(/^#+([0.])/,"$1"),Ce=pe.match(/^(0*)\.(#*)$/))return nr+(""+fr).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,Ce[1].length?"0.":".");if(Ce=pe.match(/^#{1,3},##0(\.?)$/))return nr+O(""+fr);if(Ce=pe.match(/^#,##0\.([#0]*0)$/))return ve<0?"-"+Je(Fe,pe,-ve):O(""+ve)+"."+l("0",Ce[1].length);if(Ce=pe.match(/^#,#*,#0/))return Je(Fe,pe.replace(/^#,#*,/,""),ve);if(Ce=pe.match(/^([0#]+)(\\?-([0#]+))+$/))return De=t(Je(Fe,pe.replace(/[\\-]/g,""),ve)),Tt=0,t(t(pe.replace(/\\/g,"")).replace(/[0#]/g,function(J){return Tt<De.length?De.charAt(Tt++):J==="0"?"0":""}));if(pe.match(Ee))return De=Je(Fe,"##########",ve),"("+De.substr(0,3)+") "+De.substr(3,3)+"-"+De.substr(6);var zt="";if(Ce=pe.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return Tt=Math.min(Ce[4].length,7),rr=S(fr,Math.pow(10,Tt)-1,!1),De=""+nr,zt=H("n",Ce[1],rr[1]),zt.charAt(zt.length-1)==" "&&(zt=zt.substr(0,zt.length-1)+"0"),De+=zt+Ce[2]+"/"+Ce[3],zt=s(rr[2],Tt),zt.length<Ce[4].length&&(zt=Ue(Ce[4].substr(Ce[4].length-zt.length))+zt),De+=zt,De;if(Ce=pe.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return Tt=Math.min(Math.max(Ce[1].length,Ce[4].length),7),rr=S(fr,Math.pow(10,Tt)-1,!0),nr+(rr[0]||(rr[1]?"":"0"))+" "+(rr[1]?o(rr[1],Tt)+Ce[2]+"/"+Ce[3]+s(rr[2],Tt):l(" ",2*Tt+1+Ce[2].length+Ce[3].length));if(Ce=pe.match(/^[#0?]+$/))return De=""+ve,pe.length<=De.length?De:Ue(pe.substr(0,pe.length-De.length))+De;if(Ce=pe.match(/^([#0]+)\.([#0]+)$/)){De=""+ve.toFixed(Math.min(Ce[2].length,10)).replace(/([^0])0+$/,"$1"),Tt=De.indexOf(".");var Xr=pe.indexOf(".")-Tt,Kn=pe.length-De.length-Xr;return Ue(pe.substr(0,Xr)+De+pe.substr(pe.length-Kn))}if(Ce=pe.match(/^00,000\.([#0]*0)$/))return ve<0?"-"+Je(Fe,pe,-ve):O(""+ve).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(J){return"00,"+(J.length<3?n(0,3-J.length):"")+J})+"."+n(0,Ce[1].length);switch(pe){case"###,###":case"##,###":case"#,###":var Ba=O(""+fr);return Ba!=="0"?nr+Ba:"";default:if(pe.match(/\.[0#?]*$/))return Je(Fe,pe.slice(0,pe.lastIndexOf(".")),ve)+Ue(pe.slice(pe.lastIndexOf(".")))}throw new Error("unsupported format |"+pe+"|")}return function(pe,ve,ht){return(ht|0)===ht?Je(pe,ve,ht):ot(pe,ve,ht)}}();function U(K){for(var G=[],le=!1,ke=0,se=0;ke<K.length;++ke)switch(K.charCodeAt(ke)){case 34:le=!le;break;case 95:case 42:case 92:++ke;break;case 59:G[G.length]=K.substr(se,ke-se),se=ke+1}if(G[G.length]=K.substr(se),le===!0)throw new Error("Format |"+K+"| unterminated string ");return G}a._split=U;var X=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Y(K){for(var G=0,le="",ke="";G<K.length;)switch(le=K.charAt(G)){case"G":g(K,G)&&(G+=6),G++;break;case'"':for(;K.charCodeAt(++G)!==34&&G<K.length;);++G;break;case"\\":G+=2;break;case"_":G+=2;break;case"@":++G;break;case"B":case"b":if(K.charAt(G+1)==="1"||K.charAt(G+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4E0A":if(K.substr(G,3).toUpperCase()==="A/P"||K.substr(G,5).toUpperCase()==="AM/PM"||K.substr(G,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348")return!0;++G;break;case"[":for(ke=le;K.charAt(G++)!=="]"&&G<K.length;)ke+=K.charAt(G);if(ke.match(X))return!0;break;case".":case"0":case"#":for(;G<K.length&&("0#?.,E+-%".indexOf(le=K.charAt(++G))>-1||le=="\\"&&K.charAt(G+1)=="-"&&"0#".indexOf(K.charAt(G+2))>-1););break;case"?":for(;K.charAt(++G)===le;);break;case"*":++G,(K.charAt(G)==" "||K.charAt(G)=="*")&&++G;break;case"(":case")":++G;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;G<K.length&&"0123456789".indexOf(K.charAt(++G))>-1;);break;case" ":++G;break;default:++G;break}return!1}a.is_date=Y;function ee(K,G,le,ke){for(var se=[],He="",ne=0,Me="",je="t",_e,Ee,Ue,Pe="H";ne<K.length;)switch(Me=K.charAt(ne)){case"G":if(!g(K,ne))throw new Error("unrecognized character "+Me+" in "+K);se[se.length]={t:"G",v:"General"},ne+=7;break;case'"':for(He="";(Ue=K.charCodeAt(++ne))!==34&&ne<K.length;)He+=String.fromCharCode(Ue);se[se.length]={t:"t",v:He},++ne;break;case"\\":var Qe=K.charAt(++ne),gt=Qe==="("||Qe===")"?Qe:"t";se[se.length]={t:gt,v:Qe},++ne;break;case"_":se[se.length]={t:"t",v:" "},ne+=2;break;case"@":se[se.length]={t:"T",v:G},++ne;break;case"B":case"b":if(K.charAt(ne+1)==="1"||K.charAt(ne+1)==="2"){if(_e==null&&(_e=C(G,le,K.charAt(ne+1)==="2"),_e==null))return"";se[se.length]={t:"X",v:K.substr(ne,2)},je=Me,ne+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":Me=Me.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(G<0)return"";if(_e==null&&(_e=C(G,le),_e==null))return"#####";for(He=Me;++ne<K.length&&K.charAt(ne).toLowerCase()===Me;)He+=Me;Me==="m"&&je.toLowerCase()==="h"&&(Me="M"),Me==="h"&&(Me=Pe),se[se.length]={t:Me,v:He},je=Me;break;case"A":case"a":case"\u4E0A":var Ct={t:Me,v:Me};if(_e==null&&(_e=C(G,le)),K.substr(ne,3).toUpperCase()==="A/P"?(_e!=null&&(Ct.v=_e.H>=12?"P":"A"),Ct.t="T",Pe="h",ne+=3):K.substr(ne,5).toUpperCase()==="AM/PM"?(_e!=null&&(Ct.v=_e.H>=12?"PM":"AM"),Ct.t="T",ne+=5,Pe="h"):K.substr(ne,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(_e!=null&&(Ct.v=_e.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),Ct.t="T",ne+=5,Pe="h"):(Ct.t="t",++ne),_e==null&&Ct.t==="T")return"";se[se.length]=Ct,je=Me;break;case"[":for(He=Me;K.charAt(ne++)!=="]"&&ne<K.length;)He+=K.charAt(ne);if(He.slice(-1)!=="]")throw'unterminated "[" block: |'+He+"|";if(He.match(X)){if(_e==null&&(_e=C(G,le),_e==null))return"";se[se.length]={t:"Z",v:He.toLowerCase()},je=He.charAt(1)}else He.indexOf("$")>-1&&(He=(He.match(/\$([^-\[\]]*)/)||[])[1]||"$",Y(K)||(se[se.length]={t:"t",v:He}));break;case".":if(_e!=null){for(He=Me;++ne<K.length&&(Me=K.charAt(ne))==="0";)He+=Me;se[se.length]={t:"s",v:He};break}case"0":case"#":for(He=Me;++ne<K.length&&"0#?.,E+-%".indexOf(Me=K.charAt(ne))>-1;)He+=Me;se[se.length]={t:"n",v:He};break;case"?":for(He=Me;K.charAt(++ne)===Me;)He+=Me;se[se.length]={t:Me,v:He},je=Me;break;case"*":++ne,(K.charAt(ne)==" "||K.charAt(ne)=="*")&&++ne;break;case"(":case")":se[se.length]={t:ke===1?"t":Me,v:Me},++ne;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(He=Me;ne<K.length&&"0123456789".indexOf(K.charAt(++ne))>-1;)He+=K.charAt(ne);se[se.length]={t:"D",v:He};break;case" ":se[se.length]={t:Me,v:Me},++ne;break;case"$":se[se.length]={t:"t",v:"$"},++ne;break;default:if("\xA4\u0E3FBsBr\u20B5\u20A1\u20AB\u0192FtRs.\u20ADkr\xA3\u20A4Lm\u20A5\u20A6\u20B1PQRSkRp\u09F2\u09F3R$S/.\u3012\u20AE\u20A9\xA5NT\uFFE5z\u0142\u20B4\u20AA\u17DB\u0440\u0443\u0431\u20AC\uFF04,$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP$\uFFE5LekdinAf$dhAflRial?\uFFE1BirrKzMOPPGKRsGsB/R$\u0440\u0440levkrKMzBsPNuFBuKPkrRD$NfkCFA?CVEGMDFrCDHTGNAfLFdjKGSFGGHSRielKCFknKshLSLL\uFFE1LtRFRONArRfMWKRMMURsMROS/KMDLMTnRC$kr\u20ACGELCHFSLLSCRDbSZLSDGSOSSomFCFPTShT$VUVQUGX\u0433\u0440\u043DsomWSTNT$FtDramRpZMWFCFA".indexOf(Me)===-1)throw new Error("unrecognized character "+Me+" in "+K);se[se.length]={t:"t",v:Me},++ne;break}var ot=0,yt=0,Ge;for(ne=se.length-1,je="t";ne>=0;--ne)switch(se[ne].t){case"h":case"H":se[ne].t=Pe,je="h",ot<1&&(ot=1);break;case"s":(Ge=se[ne].v.match(/\.0+$/))&&(yt=Math.max(yt,Ge[0].length-1)),ot<3&&(ot=3);case"d":case"y":case"M":case"e":je=se[ne].t;break;case"m":je==="s"&&(se[ne].t="M",ot<2&&(ot=2));break;case"X":break;case"Z":ot<1&&se[ne].v.match(/[Hh]/)&&(ot=1),ot<2&&se[ne].v.match(/[Mm]/)&&(ot=2),ot<3&&se[ne].v.match(/[Ss]/)&&(ot=3)}switch(ot){case 0:break;case 1:_e.u>=.5&&(_e.u=0,++_e.S),_e.S>=60&&(_e.S=0,++_e.M),_e.M>=60&&(_e.M=0,++_e.H);break;case 2:_e.u>=.5&&(_e.u=0,++_e.S),_e.S>=60&&(_e.S=0,++_e.M);break}var Se="",Je;for(ne=0;ne<se.length;++ne)switch(se[ne].t){case"t":case"T":case" ":case"D":break;case"X":se[ne].v="",se[ne].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":se[ne].v=z(se[ne].t.charCodeAt(0),se[ne].v,_e,yt),se[ne].t="t";break;case"n":case"?":for(Je=ne+1;se[Je]!=null&&((Me=se[Je].t)==="?"||Me==="D"||(Me===" "||Me==="t")&&se[Je+1]!=null&&(se[Je+1].t==="?"||se[Je+1].t==="t"&&se[Je+1].v==="/")||se[ne].t==="("&&(Me===" "||Me==="n"||Me===")")||Me==="t"&&(se[Je].v==="/"||se[Je].v===" "&&se[Je+1]!=null&&se[Je+1].t=="?"));)se[ne].v+=se[Je].v,se[Je]={v:"",t:";"},++Je;Se+=se[ne].v,ne=Je-1;break;case"G":se[ne].t="t",se[ne].v=D(G,le);break}var Fe="",pe,ve;if(Se.length>0){Se.charCodeAt(0)==40?(pe=G<0&&Se.charCodeAt(0)===45?-G:G,ve=H("n",Se,pe)):(pe=G<0&&ke>1?-G:G,ve=H("n",Se,pe),pe<0&&se[0]&&se[0].t=="t"&&(ve=ve.substr(1),se[0].v="-"+se[0].v)),Je=ve.length-1;var ht=se.length;for(ne=0;ne<se.length;++ne)if(se[ne]!=null&&se[ne].t!="t"&&se[ne].v.indexOf(".")>-1){ht=ne;break}var De=se.length;if(ht===se.length&&ve.indexOf("E")===-1){for(ne=se.length-1;ne>=0;--ne)se[ne]==null||"n?".indexOf(se[ne].t)===-1||(Je>=se[ne].v.length-1?(Je-=se[ne].v.length,se[ne].v=ve.substr(Je+1,se[ne].v.length)):Je<0?se[ne].v="":(se[ne].v=ve.substr(0,Je+1),Je=-1),se[ne].t="t",De=ne);Je>=0&&De<se.length&&(se[De].v=ve.substr(0,Je+1)+se[De].v)}else if(ht!==se.length&&ve.indexOf("E")===-1){for(Je=ve.indexOf(".")-1,ne=ht;ne>=0;--ne)if(!(se[ne]==null||"n?".indexOf(se[ne].t)===-1)){for(Ee=se[ne].v.indexOf(".")>-1&&ne===ht?se[ne].v.indexOf(".")-1:se[ne].v.length-1,Fe=se[ne].v.substr(Ee+1);Ee>=0;--Ee)Je>=0&&(se[ne].v.charAt(Ee)==="0"||se[ne].v.charAt(Ee)==="#")&&(Fe=ve.charAt(Je--)+Fe);se[ne].v=Fe,se[ne].t="t",De=ne}for(Je>=0&&De<se.length&&(se[De].v=ve.substr(0,Je+1)+se[De].v),Je=ve.indexOf(".")+1,ne=ht;ne<se.length;++ne)if(!(se[ne]==null||"n?(".indexOf(se[ne].t)===-1&&ne!==ht)){for(Ee=se[ne].v.indexOf(".")>-1&&ne===ht?se[ne].v.indexOf(".")+1:0,Fe=se[ne].v.substr(0,Ee);Ee<se[ne].v.length;++Ee)Je<ve.length&&(Fe+=ve.charAt(Je++));se[ne].v=Fe,se[ne].t="t",De=ne}}}for(ne=0;ne<se.length;++ne)se[ne]!=null&&"n?".indexOf(se[ne].t)>-1&&(pe=ke>1&&G<0&&ne>0&&se[ne-1].v==="-"?-G:G,se[ne].v=H(se[ne].t,se[ne].v,pe),se[ne].t="t");var Ce="";for(ne=0;ne!==se.length;++ne)se[ne]!=null&&(Ce+=se[ne].v);return Ce}a._eval=ee;var ae=/\[[=<>]/,oe=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function ie(K,G){if(G==null)return!1;var le=parseFloat(G[2]);switch(G[1]){case"=":if(K==le)return!0;break;case">":if(K>le)return!0;break;case"<":if(K<le)return!0;break;case"<>":if(K!=le)return!0;break;case">=":if(K>=le)return!0;break;case"<=":if(K<=le)return!0;break}return!1}function ue(K,G){var le=U(K),ke=le.length,se=le[ke-1].indexOf("@");if(ke<4&&se>-1&&--ke,le.length>4)throw new Error("cannot find right format for |"+le.join("|")+"|");if(typeof G!="number")return[4,le.length===4||se>-1?le[le.length-1]:"@"];switch(le.length){case 1:le=se>-1?["General","General","General",le[0]]:[le[0],le[0],le[0],"@"];break;case 2:le=se>-1?[le[0],le[0],le[0],le[1]]:[le[0],le[1],le[0],"@"];break;case 3:le=se>-1?[le[0],le[1],le[0],le[2]]:[le[0],le[1],le[2],"@"];break;case 4:break}var He=G>0?le[0]:G<0?le[1]:le[2];if(le[0].indexOf("[")===-1&&le[1].indexOf("[")===-1)return[ke,He];if(le[0].match(ae)!=null||le[1].match(ae)!=null){var ne=le[0].match(oe),Me=le[1].match(oe);return ie(G,ne)?[ke,le[0]]:ie(G,Me)?[ke,le[1]]:[ke,le[ne!=null&&Me!=null?2:1]]}return[ke,He]}function me(K,G,le){le==null&&(le={});var ke="";switch(typeof K){case"string":K=="m/d/yy"&&le.dateNF?ke=le.dateNF:ke=K;break;case"number":K==14&&le.dateNF?ke=le.dateNF:ke=(le.table!=null?le.table:k)[K],ke==null&&(ke=le.table&&le.table[x[K]]||k[x[K]]),ke==null&&(ke=_[K]||"General");break}var se=/^(w|W)((0?)|(0\.0+))$/;if(ke.match(se)){if(isNaN(G))return G;var He=ke.slice(1),ne=!1;!isNaN(G)&&Number(G)<0&&(ne=!0,G=Math.abs(G));var Me=parseInt(G),je=Me.toString().length;if(je>4){if(je>8){var _e=parseInt(G/1e8),Ee=parseInt(parseFloat(G).subtract(_e*1e8)/1e4),Ue=parseFloat(G).subtract(_e*1e8+Ee*1e4);He!=""&&(Ue=(0,Pl.default)(Ue).format(He)),G=_e+"\u4EBF"+Ee+"\u4E07"+Ue}else{var Ee=parseInt(G/1e4),Ue=parseFloat(G).subtract(Ee*1e4);He!=""&&(Ue=(0,Pl.default)(Ue).format(He)),G=Ee+"\u4E07"+Ue}if(G.indexOf("\u4EBF0\u4E070")!=-1?G=G.replace("0\u4E070",""):G.indexOf("\u4EBF0\u4E07")!=-1?G=G.replace("0\u4E07",""):G.indexOf("\u4E070")!=-1&&(G=G.replace("\u4E070","\u4E07")),G.indexOf("\u4EBF")!=-1&&G.indexOf("\u4E07")==-1){var Pe=G.substring(G.indexOf("\u4EBF")+1);if(Pe.substring(0,1)!=="."&&Pe!=""){switch((parseInt(Pe)+"").length){case 1:Pe="000"+Pe;break;case 2:Pe="00"+Pe;break;case 3:Pe="0"+Pe;break}G=G.substring(0,G.indexOf("\u4EBF")+1)+Pe}}else if(G.indexOf("\u4EBF")==-1&&G.indexOf("\u4E07")!=-1){var Qe=G.substring(G.indexOf("\u4E07")+1);if(Qe.substring(0,1)!=="."&&Qe!=""){switch((parseInt(Qe)+"").length){case 1:Qe="000"+Qe;break;case 2:Qe="00"+Qe;break;case 3:Qe="0"+Qe;break}G=G.substring(0,G.indexOf("\u4E07")+1)+Qe}}else if(G.indexOf("\u4EBF")!=-1&&G.indexOf("\u4E07")!=-1){var Pe=G.substring(G.indexOf("\u4EBF")+1,G.indexOf("\u4E07")),Qe=G.substring(G.indexOf("\u4E07")+1);switch((parseInt(Pe)+"").length){case 1:Pe="000"+Pe;break;case 2:Pe="00"+Pe;break;case 3:Pe="0"+Pe;break}if(G=G.substring(0,G.indexOf("\u4EBF")+1)+Pe+G.substring(G.indexOf("\u4E07")),Qe.substring(0,1)!=="."&&Qe!=""){switch((parseInt(Qe)+"").length){case 1:Qe="000"+Qe;break;case 2:Qe="00"+Qe;break;case 3:Qe="0"+Qe;break}G=G.substring(0,G.indexOf("\u4E07")+1)+Qe}}}else He!=""&&(G=(0,Pl.default)(G).format(He));return ne?"-"+G:G}if(g(ke,0))return D(G,le);G instanceof Date&&(G=A(G,le.date1904));var gt=ue(ke,G);if(g(gt[1]))return D(G,le);if(G===!0)G="TRUE";else if(G===!1)G="FALSE";else if(G===""||G==null)return"";return ee(gt[1],G,le,gt[0])}function ce(K,G){if(typeof G!="number"){G=+G||-1;for(var le=0;le<392;++le){if(k[le]==null){G<0&&(G=le);continue}if(k[le]==K){G=le;break}}G<0&&(G=391)}return k[G]=K,G}a.load=ce,a._table=k,a.get_table=function(){return k},a.load_table=function(G){for(var le=0;le!=392;++le)G[le]!==void 0&&ce(G[le],le)},a.init_table=b,a.format=me};yy(vr);pk={"General Number":"General","General Date":vr._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":vr._table[15],"Short Date":vr._table[14],"Long Time":vr._table[19],"Medium Time":vr._table[18],"Short Time":vr._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:vr._table[2],Standard:vr._table[4],Percent:vr._table[10],Scientific:vr._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},gk=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,a=/_x([\da-fA-F]{4})_/g;return function t(l){var n=l+"",o=n.indexOf("<![CDATA[");if(o==-1)return n.replace(e,function(u,d){return encodings[u]||String.fromCharCode(parseInt(d,u.indexOf("x")>-1?16:10))||u}).replace(a,function(u,d){return String.fromCharCode(parseInt(d,16))});var s=n.indexOf("]]>");return t(n.slice(0,o))+n.slice(o+9,s)+t(n.slice(s+3))}}(),vy=new Date(1899,11,31,0,0,0),yk=vy.getTime(),by=new Date(1900,2,1,0,0,0);mo=new Date("2017-02-19T19:06:09.000Z");isNaN(mo.getFullYear())&&(mo=new Date("2/19/17"));ky=mo.getFullYear()==2017});function Ot(e,a,t,l){t==null&&(t=h.flowdata);let n=t[e][a],o;if(P(l)=="object"?(n==null?n=l:(l.f!=null?n.f=l.f:n.hasOwnProperty("f")&&delete n.f,l.spl!=null&&(n.spl=l.spl),l.ct!=null&&(n.ct=l.ct)),P(l.v)=="object"?o=l.v.v:o=l.v):o=l,de(o)){P(n)=="object"?(delete n.m,delete n.v):n=null,t[e][a]=n;return}(de(n)||(P(n)==="string"||P(n)==="number")&&n===l)&&(n={});let s=o.toString();if(s.substr(0,1)=="'")n.m=s.substr(1),n.ct={fa:"@",t:"s"},n.v=s.substr(1),n.qp=1;else if(n.qp==1)n.m=s,n.ct={fa:"@",t:"s"},n.v=s;else if(s.toUpperCase()==="TRUE")n.m="TRUE",n.ct={fa:"General",t:"b"},n.v=!0;else if(s.toUpperCase()==="FALSE")n.m="FALSE",n.ct={fa:"General",t:"b"},n.v=!1;else if(s.substr(-1)==="%"&&L(s.substring(0,s.length-1)))n.ct={fa:"0%",t:"n"},n.v=s.substring(0,s.length-1)/100,n.m=o;else if(B(o))n.m=s,n.ct!=null?n.ct.t="e":n.ct={fa:"General",t:"e"},n.v=o;else if(n.f!=null&&L(o)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(o))if(n.v=parseFloat(o),n.ct==null&&(n.ct={fa:"General",t:"n"}),n.v==Infinity||n.v==-Infinity)n.m=n.v.toString();else if(n.v.toString().indexOf("e")>-1){let u;n.v.toString().split(".").length==1?u=0:u=n.v.toString().split(".")[1].split("e")[0].length,u>5&&(u=5),n.m=n.v.toExponential(u).toString()}else{let u=Math.round(n.v*1e9)/1e9;if(n.ct==null){let d=it(u);n.m=d[0].toString()}else{let d=mt(n.ct.fa,u);n.m=d.toString()}}else if(n.ct!=null&&n.ct.fa=="@")n.m=s,n.v=o;else if(n.ct!=null&&n.ct.fa!=null&&n.ct.fa!="General"){L(o)&&(o=parseFloat(o));let u=mt(n.ct.fa,o);u===o?(u=it(o),n.m=u[0].toString(),n.ct=u[1],n.v=u[2]):(n.m=u.toString(),n.v=o)}else if(L(o)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(o))if(typeof o=="string"&&o.split("").every(d=>d=="0"||d==".")&&(o=parseFloat(o)),n.v=o,n.ct={fa:"General",t:"n"},n.v==Infinity||n.v==-Infinity)n.m=n.v.toString();else{let u=it(n.v);n.m=u[0].toString()}else{let u=it(o);n.m=u[0].toString(),n.ct=u[1],n.v=u[2]}if(!re.allowUpdate&&!fe.pointEdit&&n.ct!=null&&/^(w|W)((0?)|(0\.0+))$/.test(n.ct.fa)==!1&&n.ct.t=="n"&&n.v!=null&&parseInt(n.v).toString().length>4){let u=fe.autoFormatw.toString().toUpperCase(),d=fe.accuracy,f=_y(u,d);f!="General"&&(n.ct.fa=f,n.m=mt(f,n.v))}t[e][a]=n}function _y(e,a){let t="0.",l;if(e=="TRUE"){if(a==null)return"w";{let n=parseInt(a);if(n==0)return"w0";t="w0.";for(let o=0;o<n;o++)t+="0";l=t}}else{if(a==null)return"General";{let n=parseInt(a);if(n==0)return"0";for(let o=0;o<n;o++)t+="0";l=t}}return l.toString()}var _l=Ae(()=>{dt();At();Ir();Zt();xr();Ke()});function br(){if(h.luckysheet_select_save.length==0)return;let e=Infinity,a=-Infinity,t=0,l=0,n=0;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=Rd(h.luckysheet_select_save[u]);for(let f=0;f<d.length;f++)for(let m=0;m<d[0].length;m++){if(de(d[f][m])||(l++,d[f][m].ct!=null&&d[f][m].ct.t=="d"))continue;let g=d[f][m].v;!L(g)||(g=parseFloat(g),t+=g,g<e&&(e=g),g>a&&(a=g))}}let o=Q().formula,s="";s+="<span>"+o.count+":"+l+"</span>",(isFinite(a)||isFinite(e))&&(s+="<span>"+o.sum+":"+mt("w",t)+"</span>",s+="<span>"+o.average+":"+mt("w",Math.round(t/l*1e4)/1e4)+"</span>"),isFinite(a)&&(s+="<span>"+o.max+":"+mt("w",a)+"</span>"),isFinite(e)&&(s+="<span>"+o.min+":"+mt("w",e)+"</span>"),$("#luckysheet-sta-content").html(s)}var An=Ae(()=>{Ke();Wt();At();Ir();bt()});function In(e,a,t,l,n){t==null&&(t=!0),e||(e="down"),a||(a="cell"),n==null&&(n=!1);let o=h.luckysheet_select_save[h.luckysheet_select_save.length-1],s=o.row==null?0:o.row[0],u=o.column==null?0:o.column[0],d=o.row==null?0:o.row[0],f=o.column==null?0:o.column[0],m=o.row==null?0:o.row[1],g=o.column==null?0:o.column[1];if(p.fucntionboxshow(s,u),a=="range"){var y=h.luckysheet_shiftpositon.row[0],v=h.luckysheet_shiftpositon.column[0];let S=h.luckysheet_shiftpositon.row[1],C=h.luckysheet_shiftpositon.column[1];e=="down"||e=="up"?S<m?s=o.row==null?0:o.row[1]:y>d?s=o.row==null?0:o.row[0]:S==m&&y==d&&(e=="down"?s=o.row==null?0:o.row[1]:s=o.row==null?0:o.row[0]):(e=="right"||e=="left")&&(C<g?u=o.column==null?0:o.column[1]:v>f?u=o.column==null?0:o.column[0]:C==g&&v==f&&(e=="right"?u=o.column==null?0:o.column[1]:u=o.column==null?0:o.column[0]))}let b=h.flowdata.length,k=h.flowdata[0].length,x=h.flowdata,w="",_=0;if(e=="up"){if(s==0)return;{let S=[],C=null,T=0,R=null;for(let I=f;I<=g;I++){S=[],T=0;for(let A=s-1;A>=0;A--){let E=x[A][I];if(P(E)=="object"&&de(E.v)||de(E)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){C=A;break}else if(S[T]==!1&&S[T-1]==!0){C=A+1;break}}T++}C==null&&(C=0),(R==null||C<R)&&(R=C)}w="down",_=R-s}}else if(e=="down"){if(s==b-1)return;{let S=[],C=null,T=0,R=null;for(let I=f;I<=g;I++){S=[],T=0;for(let A=s+1;A<x.length;A++){let E=x[A][I];if(P(E)=="object"&&de(E.v)||de(E)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){C=A;break}else if(S[T]==!1&&S[T-1]==!0){C=A-1;break}}T++}C==null&&(C=x.length-1),(R==null||C>R)&&(R=C)}w="down",_=R-s}}else if(e=="left"){if(u==0)return;{let S=[],C=null,T=0,R=null;for(let I=d;I<=m;I++){S=[],T=0;for(let A=u-1;A>=0;A--){let E=x[I][A];if(P(E)=="object"&&de(E.v)||de(E)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){C=A;break}else if(S[T]==!1&&S[T-1]==!0){C=A+1;break}}T++}C==null&&(C=0),(R==null||C<R)&&(R=C)}w="right",_=R-u}}else if(e=="right"){if(u==k-1)return;{let S=[],C=null,T=0,R=null;for(let I=d;I<=m;I++){S=[],T=0;for(let A=u+1;A<x[0].length;A++){let E=x[I][A];if(P(E)=="object"&&de(E.v)||de(E)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){C=A;break}else if(S[T]==!1&&S[T-1]==!0){C=A-1;break}}T++}C==null&&(C=x[0].length-1),(R==null||C>R)&&(R=C)}w="right",_=R-u}}if(a=="range"&&(e=="up"?p_endR<m&&_+s<p_endR&&(_=p_endR-s):e=="down"?y>d&&_+s>y&&(_=y-s):e=="left"?p_endC<g&&_+u<p_endC&&(_=p_endC-u):e=="right"&&v>f&&_+u>v&&(_=v-u),l!=null&&Math.abs(_)>Math.abs(l)&&(_=l)),!n)a=="cell"?Ht(w,_,"rangeOfSelect",t):a=="range"&&Fa(w,_,"rangeOfSelect",t);else return _}function Ht(e,a,t,l){l==null&&(l=!0),e||e=="down";let n=h.flowdata.length,o=h.flowdata[0].length,s,u,d,f,m,g,y,v;if(t=="rangeOfSelect"){let C=h.luckysheet_select_save[h.luckysheet_select_save.length-1],T;C.row_focus==null?T=C.row[0]:T=C.row_focus;let R;C.column_focus==null?R=C.column[0]:R=C.column_focus;let I=be.mergeborer(h.flowdata,T,R);if(I){let D=I.row[2],F=I.row[3],M=I.column[2],z=I.column[3];a>0?e=="down"?(T=F,R=M):e=="right"&&(T=D,R=z):(T=D,R=M)}let A=C.moveXY==null?T:C.moveXY.x,E=C.moveXY==null?R:C.moveXY.y;e=="down"?(T+=a,A=T):e=="right"&&(R+=a,E=R),T>=n&&(T=n-1,A=T),T<0&&(T=0,A=T),R>=o&&(R=o-1,E=R),R<0&&(R=0,E=R);let N=be.mergeborer(h.flowdata,T,R);N?(s=N.row[1],u=N.row[0],d=N.row[2],f=N.row[3],m=N.column[1],g=N.column[0],y=N.column[2],v=N.column[3]):(s=h.visibledatarow[A],u=A-1==-1?0:h.visibledatarow[A-1],m=h.visibledatacolumn[E],g=E-1==-1?0:h.visibledatacolumn[E-1],d=f=T,y=v=R),C.row=[d,f],C.column=[y,v],C.row_focus=d,C.column_focus=y,C.moveXY={x:A,y:E},et(),Oe.pivotclick(d,y),p.fucntionboxshow(d,y)}else if(t=="rangeOfFormula"){let C=p.func_selectedrange,T;C.row_focus==null?T=C.row[0]:T=C.row_focus;let R;C.column_focus==null?R=C.column[0]:R=C.column_focus;let I=be.mergeborer(h.flowdata,T,R);if(I){let D=I.row[2],F=I.row[3],M=I.column[2],z=I.column[3];a>0?e=="down"?(T=F,R=M):e=="right"&&(T=D,R=z):(T=D,R=M)}let A=C.moveXY==null?T:C.moveXY.x,E=C.moveXY==null?R:C.moveXY.y;e=="down"?(T+=a,A=T):e=="right"&&(R+=a,E=R),T>=n&&(T=n-1,A=T),T<0&&(T=0,A=T),R>=o&&(R=o-1,E=R),R<0&&(R=0,E=R);let N=be.mergeborer(h.flowdata,T,R);N?(s=N.row[1],u=N.row[0],d=N.row[2],f=N.row[3],m=N.column[1],g=N.column[0],y=N.column[2],v=N.column[3]):(s=h.visibledatarow[A],u=A-1==-1?0:h.visibledatarow[A-1],d=A,f=A,m=h.visibledatacolumn[E],g=E-1==-1?0:h.visibledatacolumn[E-1],y=E,v=E),p.func_selectedrange={left:g,width:m-g-1,top:u,height:s-u-1,left_move:g,width_move:m-g-1,top_move:u,height_move:s-u-1,row:[d,f],column:[y,v],row_focus:d,column_focus:y,moveXY:{x:A,y:E}},$("#luckysheet-formula-functionrange-select").css({left:g,width:m-g-1,top:u,height:s-u-1}).show(),p.rangeSetValue({row:[d,f],column:[y,v]})}let b=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),x=$("#luckysheet-cell-main").height(),w=$("#luckysheet-cell-main").width(),_=0,S=0;m-b-w+20>0?(_=m-w+20,l&&$("#luckysheet-scrollbar-x").scrollLeft(_)):g-b-20<0&&(_=g-20,l&&$("#luckysheet-scrollbar-x").scrollLeft(_)),s-k-x+20>0?(S=s-x+20,l&&$("#luckysheet-scrollbar-y").scrollTop(S)):u-k-20<0&&(S=u-20,l&&$("#luckysheet-scrollbar-y").scrollTop(S)),clearTimeout(h.countfuncTimeout),br(),re.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}function en(e,a,t){t||(t=!0);let l,n,o,s;if(a=="rangeOfSelect"){let v=h.luckysheet_select_save[h.luckysheet_select_save.length-1],b=v.row_focus,k=v.column_focus,x=!1,w={};if(h.config.merge!=null&&b+"_"+k in h.config.merge&&(x=!0,w=h.config.merge[b+"_"+k]),e=="down"){if(b==h.flowdata.length-1)return;x?b=pt("down",k,w.r+w.rs-1,h.flowdata.length-1):b=pt("down",k,b,h.flowdata.length-1)}else if(e=="up"){if(b==0)return;x?b=pt("up",k,0,w.r):b=pt("up",k,0,b)}else if(e=="right"){if(k==h.flowdata[0].length-1)return;x?k=pt("right",b,w.c+w.cs-1,h.flowdata[0].length-1):k=pt("right",b,k,h.flowdata[0].length-1)}else if(e=="left"){if(k==0)return;x?k=pt("left",b,0,w.c):k=pt("left",b,0,k)}let _=[b,b],S=[k,k];l=h.visibledatarow[b],n=b-1==-1?0:h.visibledatarow[b-1],o=h.visibledatacolumn[k],s=k-1==-1?0:h.visibledatacolumn[k-1];let C=be.mergeMoveMain(S,_,v,n,l-n-1,s,o-s-1);C!=null&&(S=C[0],_=C[1]),h.luckysheet_select_save=[{row:_,column:S}],et(),Oe.pivotclick(b,k),p.fucntionboxshow(b,k)}else if(a=="rangeOfFormula"){let v=p.func_selectedrange,b=v.row_focus,k=v.column_focus,x=!1,w={};if(h.config.merge!=null&&b+"_"+k in h.config.merge&&(x=!0,w=h.config.merge[b+"_"+k]),e=="down"){if(b==h.flowdata.length-1)return;x?b=pt("down",k,w.r+w.rs-1,h.flowdata.length-1):b=pt("down",k,b,h.flowdata.length-1)}else if(e=="up"){if(b==0)return;x?b=pt("up",k,0,w.r):b=pt("up",k,0,b)}else if(e=="right"){if(k==h.flowdata[0].length-1)return;x?k=pt("right",b,w.c+w.cs-1,h.flowdata[0].length-1):k=pt("right",b,k,h.flowdata[0].length-1)}else if(e=="left"){if(k==0)return;x?k=pt("left",b,0,w.c):k=pt("left",b,0,k)}let _=[b,b],S=[k,k];l=h.visibledatarow[b],n=b-1==-1?0:h.visibledatarow[b-1],o=h.visibledatacolumn[k],s=k-1==-1?0:h.visibledatacolumn[k-1];let C=n,T=l-n-1,R=s,I=o-s-1,A=be.mergeMoveMain(S,_,v,C,T,R,I);A!=null&&(S=A[0],_=A[1],C=A[2],T=A[3],R=A[4],I=A[5]),p.func_selectedrange={left:R,width:I,top:C,height:T,left_move:R,width_move:I,top_move:C,height_move:T,row:_,column:S,row_focus:b,column_focus:k},$("#luckysheet-formula-functionrange-select").css({left:R,width:I,top:C,height:T}).show(),p.rangeSetValue({row:_,column:S})}let u=$("#luckysheet-cell-main").scrollLeft(),d=$("#luckysheet-cell-main").scrollTop(),f=$("#luckysheet-cell-main").height(),m=$("#luckysheet-cell-main").width(),g=0,y=0;o-u-m+20>0?(g=o-m+20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)):s-u-20<0&&(g=s-20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)),l-d-f+20>0?(y=l-f+20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)):n-d-20<0&&(y=n-20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)),clearTimeout(h.countfuncTimeout),br()}function Fa(e,a,t,l){l==null&&(l=!0),e||e=="down";let n,o,s,u;if(t=="rangeOfSelect"){let b=h.luckysheet_select_save[h.luckysheet_select_save.length-1],k=b.row[0],x=b.row[1],w=b.column[0],_=b.column[1],S=b.row_focus,C=b.column_focus,T=h.flowdata.length,R=h.flowdata[0].length;if(e=="down"){if(zr(S,w,_)){let N=Qr(S,w,_),D=N[0],F=N[1];D>k&&F==x?(a>0&&zr(k,w,_)&&(k=Qr(k,w,_)[1]),k+=a):F<x&&D==k?(a<0&&zr(x,w,_)&&(x=Qr(x,w,_)[0]),x+=a):a>0?x+=a:k+=a}else S>k&&S==x?(a>0&&zr(k,w,_)&&(k=Qr(k,w,_)[1]),k+=a):S<x&&S==k?(a<0&&zr(x,w,_)&&(x=Qr(x,w,_)[0]),x+=a):S==k&&S==x&&(a>0?x+=a:k+=a);x>=T&&(x=T-1),x<0&&(x=0),k>=T&&(k=T-1),k<0&&(k=0)}else{if(Lr(C,k,x)){let N=el(C,k,x),D=N[0],F=N[1];D>w&&F==_?(a>0&&Lr(w,k,x)&&(w=el(w,k,x)[1]),w+=a):F<_&&D==w?(a<0&&Lr(_,k,x)&&(_=el(_,k,x)[0]),_+=a):a>0?_+=a:w+=a}else C>w&&C==_?(a>0&&Lr(w,k,x)&&(w=el(w,k,x)[1]),w+=a):C<_&&C==w?(a<0&&Lr(_,k,x)&&(_=el(_,k,x)[0]),_+=a):C==w&&C==_&&(a>0?_+=a:w+=a);_>=R&&(_=R-1),_<0&&(_=0),w>=R&&(w=R-1),w<0&&(w=0)}let I=[k,x],A=[w,_];n=h.visibledatarow[x],o=k-1==-1?0:h.visibledatarow[k-1],s=h.visibledatacolumn[_],u=w-1==-1?0:h.visibledatacolumn[w-1];let E=be.mergeMoveMain(A,I,b,o,n-o-1,u,s-u-1);E!=null&&(A=E[0],I=E[1]),b.row=I,b.column=A,et()}else if(t=="rangeOfFormula"){let b=p.func_selectedrange,k=b.row[0],x=b.row[1],w=b.column[0],_=b.column[1],S=b.row_focus,C=b.column_focus,T=h.flowdata.length,R=h.flowdata[0].length;if(e=="down"){if(zr(S,w,_)){let z=Qr(S,w,_),O=z[0],H=z[1];O>k&&H==x?(a>0&&zr(k,w,_)&&(k=Qr(k,w,_)[1]),k+=a):H<x&&O==k?(a<0&&zr(x,w,_)&&(x=Qr(x,w,_)[0]),x+=a):a>0?x+=a:k+=a}else S>k&&S==x?(a>0&&zr(k,w,_)&&(k=Qr(k,w,_)[1]),k+=a):S<x&&S==k?(a<0&&zr(x,w,_)&&(x=Qr(x,w,_)[0]),x+=a):S==k&&S==x&&(a>0?x+=a:k+=a);x>=T&&(x=T-1),x<0&&(x=0),k>=T&&(k=T-1),k<0&&(k=0)}else{if(Lr(C,k,x)){let z=el(C,k,x),O=z[0],H=z[1];O>w&&H==_?(a>0&&Lr(w,k,x)&&(w=el(w,k,x)[1]),w+=a):H<_&&O==w?(a<0&&Lr(_,k,x)&&(_=el(_,k,x)[0]),_+=a):a>0?_+=a:w+=a}else C>w&&C==_?(a>0&&Lr(w,k,x)&&(w=el(w,k,x)[1]),w+=a):C<_&&C==w?(a<0&&Lr(_,k,x)&&(_=el(_,k,x)[0]),_+=a):C==w&&C==_&&(a>0?_+=a:w+=a);_>=R&&(_=R-1),_<0&&(_=0),w>=R&&(w=R-1),w<0&&(w=0)}let I=[k,x],A=[w,_];n=h.visibledatarow[x],o=k-1==-1?0:h.visibledatarow[k-1],s=h.visibledatacolumn[_],u=w-1==-1?0:h.visibledatacolumn[w-1];let E=o,N=n-o-1,D=u,F=s-u-1,M=be.mergeMoveMain(A,I,b,E,N,D,F);M!=null&&(A=M[0],I=M[1],E=M[2],N=M[3],D=M[4],F=M[5]),p.func_selectedrange={left:D,width:F,top:E,height:N,left_move:D,width_move:F,top_move:E,height_move:N,row:I,column:A,row_focus:S,column_focus:C},$("#luckysheet-formula-functionrange-select").css({left:D,width:F,top:E,height:N}).show(),p.rangeSetValue({row:I,column:A})}let d=$("#luckysheet-cell-main").scrollLeft(),f=$("#luckysheet-cell-main").scrollTop(),m=$("#luckysheet-cell-main").height(),g=$("#luckysheet-cell-main").width(),y=0,v=0;s-d-g+20>0?(y=s-g+20,l&&$("#luckysheet-scrollbar-x").scrollLeft(y)):u-d-20<0&&(y=u-20,l&&$("#luckysheet-scrollbar-x").scrollLeft(y)),n-f-m+20>0?(v=n-m+20,l&&$("#luckysheet-scrollbar-y").scrollTop(v)):o-f-20<0&&(v=o-20,l&&$("#luckysheet-scrollbar-y").scrollTop(v)),clearTimeout(h.countfuncTimeout),br()}function ea(e,a,t){t||(t=!0);let l,n,o,s;if(a=="rangeOfSelect"){let v=h.luckysheet_select_save[h.luckysheet_select_save.length-1],b=v.row_focus,k=v.column_focus,x=v.row[0],w=v.row[1],_=v.column[0],S=v.column[1];if(e=="down"){if(w==h.flowdata.length-1)return;if(zr(b,_,S)){let I=Qr(b,_,S),A=I[0],E=I[1];A>x&&E==w?x=pt("down",k,x,w):w=pt("down",k,w,h.flowdata.length-1)}else b>x&&b==w?x=pt("down",k,x,w):w=pt("down",k,w,h.flowdata.length-1)}else if(e=="up"){if(x==0)return;if(zr(b,_,S)){let I=Qr(b,_,S),A=I[0];I[1]<w&&A==x?w=pt("up",k,x,w):x=pt("up",k,0,x)}else b<w&&b==x?w=pt("up",k,x,w):x=pt("up",k,0,x)}else if(e=="right"){if(S==h.flowdata[0].length-1)return;if(Lr(k,x,w)){let I=el(k,x,w),A=I[0],E=I[1];A>_&&E==S?_=pt("right",b,_,S):S=pt("right",b,S,h.flowdata[0].length-1)}else k>_&&k==S?_=pt("right",b,_,S):S=pt("right",b,S,h.flowdata[0].length-1)}else if(e=="left"){if(_==0)return;if(Lr(k,x,w)){let I=el(k,x,w),A=I[0];I[1]<S&&A==_?S=pt("left",b,_,S):_=pt("left",b,0,_)}else k<S&&k==_?S=pt("left",b,_,S):_=pt("left",b,0,_)}let C=[x,w],T=[_,S];l=h.visibledatarow[w],n=x-1==-1?0:h.visibledatarow[x-1],o=h.visibledatacolumn[S],s=_-1==-1?0:h.visibledatacolumn[_-1];let R=be.mergeMoveMain(T,C,v,n,l-n-1,s,o-s-1);R!=null&&(T=R[0],C=R[1]),v.row=C,v.column=T,et()}else if(a=="rangeOfFormula"){let v=p.func_selectedrange,b=v.row_focus,k=v.column_focus,x=v.row[0],w=v.row[1],_=v.column[0],S=v.column[1];if(e=="down"){if(w==h.flowdata.length-1)return;if(zr(b,_,S)){let D=Qr(b,_,S),F=D[0],M=D[1];F>x&&M==w?x=pt("down",k,x,w):w=pt("down",k,w,h.flowdata.length-1)}else b>x&&b==w?x=pt("down",k,x,w):w=pt("down",k,w,h.flowdata.length-1)}else if(e=="up"){if(x==0)return;if(zr(b,_,S)){let D=Qr(b,_,S),F=D[0];D[1]<w&&F==x?w=pt("up",k,x,w):x=pt("up",k,0,x)}else b<w&&b==x?w=pt("up",k,x,w):x=pt("up",k,0,x)}else if(e=="right"){if(S==h.flowdata[0].length-1)return;if(Lr(k,x,w)){let D=el(k,x,w),F=D[0],M=D[1];F>_&&M==S?_=pt("right",b,_,S):S=pt("right",b,S,h.flowdata[0].length-1)}else k>_&&k==S?_=pt("right",b,_,S):S=pt("right",b,S,h.flowdata[0].length-1)}else if(e=="left"){if(_==0)return;if(Lr(k,x,w)){let D=el(k,x,w),F=D[0];D[1]<S&&F==_?S=pt("left",b,_,S):_=pt("left",b,0,_)}else k<S&&k==_?S=pt("left",b,_,S):_=pt("left",b,0,_)}let C=[x,w],T=[_,S];l=h.visibledatarow[w],n=x-1==-1?0:h.visibledatarow[x-1],o=h.visibledatacolumn[S],s=_-1==-1?0:h.visibledatacolumn[_-1];let R=n,I=l-n-1,A=s,E=o-s-1,N=be.mergeMoveMain(T,C,v,R,I,A,E);N!=null&&(T=N[0],C=N[1],R=N[2],I=N[3],A=N[4],E=N[5]),p.func_selectedrange={left:A,width:E,top:R,height:I,left_move:A,width_move:E,top_move:R,height_move:I,row:C,column:T,row_focus:b,column_focus:k},$("#luckysheet-formula-functionrange-select").css({left:A,width:E,top:R,height:I}).show(),p.rangeSetValue({row:C,column:T})}let u=$("#luckysheet-cell-main").scrollLeft(),d=$("#luckysheet-cell-main").scrollTop(),f=$("#luckysheet-cell-main").height(),m=$("#luckysheet-cell-main").width(),g=0,y=0;o-u-m+20>0?(g=o-m+20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)):s-u-20<0&&(g=s-20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)),l-d-f+20>0?(y=l-f+20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)):n-d-20<0&&(y=n-20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)),clearTimeout(h.countfuncTimeout),br()}function zr(e,a,t){let l=!1;for(let n=a;n<=t;n++){let o=h.flowdata[e][n];if(P(o)=="object"&&"mc"in o){l=!0;break}}return l}function Lr(e,a,t){let l=!1;for(let n=a;n<=t;n++){let o=h.flowdata[n][e];if(P(o)=="object"&&"mc"in o){l=!0;break}}return l}function Qr(e,a,t){let l=0,n=h.flowdata.length-1,o=null;if(e>l)for(let u=e;u>=l;u--){for(let d=a;d<=t;d++){let f=h.flowdata[u][d];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(o==null||m.r<o)&&(o=m.r)}}if(zr(o-1,a,t)&&o>l)u=o-1;else break}else o=l;let s=null;if(e<n)for(let u=e;u<=n;u++){for(let d=a;d<=t;d++){let f=h.flowdata[u][d];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(s==null||m.r+m.rs-1>s)&&(s=m.r+m.rs-1)}}if(zr(s+1,a,t)&&s<n)u=s+1;else break}else s=n;return[o,s]}function el(e,a,t){let l=0,n=h.flowdata[0].length-1,o=null;if(e>l)for(let u=e;u>=l;u--){for(let d=a;d<=t;d++){let f=h.flowdata[d][u];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(o==null||m.c<o)&&(o=m.c)}}if(Lr(o-1,a,t)&&o>l)u=o-1;else break}else o=l;let s=null;if(e<n)for(let u=e;u<=n;u++){for(let d=a;d<=t;d++){let f=h.flowdata[d][u];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(s==null||m.c+m.cs-1>s)&&(s=m.c+m.cs-1)}}if(Lr(s+1,a,t)&&s<n)u=s+1;else break}else s=n;return[o,s]}function pt(e,a,t,l){let n=null,o;if(e=="down"){let s=h.flowdata[t][a];P(s)=="object"&&de(s.v)||de(s)?o=!0:o=!1,console.log(o,"stNull");let u=[],d=0;for(let f=t+1;f<=l;f++){let m=h.flowdata[f][a];if(P(m)=="object"&&de(m.v)||de(m)?u.push(!0):u.push(!1),u.length==1&&o==!0&&u[d]==!1){n=t+d+1;break}else if(u.length>1){if(o&&u[d]==!1){n=t+d+1;break}else if(!o){if(u[d]==!1&&u[d-1]==!0){n=t+d+1;break}else if(u[d]==!0&&u[d-1]==!1){n=t+d;break}}}f==l&&(n=l),d++}}else if(e=="up"){let s=h.flowdata[l][a];P(s)=="object"&&de(s.v)||de(s)?o=!0:o=!1;let u=[],d=0;for(let f=l-1;f>=t;f--){let m=h.flowdata[f][a];if(P(m)=="object"&&de(m.v)||de(m)?u.push(!0):u.push(!1),u.length==1&&o&&u[d]==!1){n=l-(d+1);break}else if(u.length>1){if(o&&u[d]==!1){n=l-(d+1);break}else if(!o){if(u[d]==!1&&u[d-1]==!0){n=l-(d+1);break}else if(u[d]==!0&&u[d-1]==!1){n=l-d;break}}}f==t&&(n=t),d++}}else if(e=="right"){let s=h.flowdata[a][t];P(s)=="object"&&de(s.v)||de(s)?o=!0:o=!1;let u=[],d=0;for(let f=t+1;f<=l;f++){let m=h.flowdata[a][f];if(P(m)=="object"&&de(m.v)||de(m)?u.push(!0):u.push(!1),u.length==1&&o&&u[d]==!1){n=t+d+1;break}else if(u.length>1){if(o&&u[d]==!1){n=t+d+1;break}else if(!o){if(u[d]==!1&&u[d-1]==!0){n=t+d+1;break}else if(u[d]==!0&&u[d-1]==!1){n=t+d;break}}}f==l&&(n=l),d++}}else if(e=="left"){let s=h.flowdata[a][l];P(s)=="object"&&de(s.v)||de(s)?o=!0:o=!1;let u=[],d=0;for(let f=l-1;f>=t;f--){let m=h.flowdata[a][f];if(P(m)=="object"&&de(m.v)||de(m)?u.push(!0):u.push(!1),u.length==1&&o&&u[d]==!1){n=l-(d+1);break}else if(u.length>1){if(o&&u[d]==!1){n=l-(d+1);break}else if(!o){if(u[d]==!1&&u[d-1]==!0){n=l-(d+1);break}else if(u[d]==!0&&u[d-1]==!1){n=l-d;break}}}f==t&&(n=t),d++}}return n}var Rn=Ae(()=>{dt();Vt();At();An();lr();Xt();ta();Ke();Zt()});var Cy,Jt,Dn=Ae(()=>{Rt();dt();Vt();At();ar();Yt();jt();ul();Zt();Xt();Ke();bt();Cy={rangefocus:!1,modelfocusIndex:null,FixedModelColor:[{head:{fc:"#000",bc:"#bfbdbe"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f8f3f7"},foot:{fc:"#000",bc:"#dde2de"}},{head:{fc:"#000",bc:"#4bd4e7"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#eaf7ff"},foot:{fc:"#000",bc:"#aae9f8"}},{head:{fc:"#000",bc:"#5ed593"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#e5fbee"},foot:{fc:"#000",bc:"#a5efcc"}},{head:{fc:"#000",bc:"#f6cb4b"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fff9e7"},foot:{fc:"#000",bc:"#ffebac"}},{head:{fc:"#000",bc:"#f96420"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#ffe5d9"},foot:{fc:"#000",bc:"#ffcfba"}},{head:{fc:"#000",bc:"#5599fc"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#ecf2fe"},foot:{fc:"#000",bc:"#afcbfa"}},{head:{fc:"#000",bc:"#22a69b"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#dff2f8"},foot:{fc:"#000",bc:"#8dd4d0"}},{head:{fc:"#000",bc:"#7a939a"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f0eff7"},foot:{fc:"#000",bc:"#bdcad0"}},{head:{fc:"#000",bc:"#d7a270"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fdf3f1"},foot:{fc:"#000",bc:"#ead2b6"}},{head:{fc:"#000",bc:"#89c54b"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f1f7e9"},foot:{fc:"#000",bc:"#c5e3a7"}},{head:{fc:"#000",bc:"#8f88f0"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f0e5ff"},foot:{fc:"#000",bc:"#c6c4f6"}},{head:{fc:"#000",bc:"#fd1664"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#feddee"},foot:{fc:"#000",bc:"#f98ab5"}},{head:{fc:"#000",bc:"#da96d3"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fce8fb"},foot:{fc:"#000",bc:"#f2caee"}},{head:{fc:"#000",bc:"#b49191"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f5ebe8"},foot:{fc:"#000",bc:"#d8c3c3"}},{head:{fc:"#000",bc:"#91b493"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f0fbf0"},foot:{fc:"#000",bc:"#b4cfb6"}},{head:{fc:"#000",bc:"#b4a891"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f8f6f1"},foot:{fc:"#000",bc:"#d3cab8"}},{head:{fc:"#000",bc:"#91abb4"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#eff7fa"},foot:{fc:"#000",bc:"#b7cbd3"}},{head:{fc:"#000",bc:"#b7ba82"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fafbeb"},foot:{fc:"#000",bc:"#dadcb4"}},{head:{fc:"#000",bc:"#df3e3e"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fde9e9"},foot:{fc:"#000",bc:"#f89292"}},{head:{fc:"#000",bc:"#f2711c"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fef0d7"},foot:{fc:"#000",bc:"#fbb335"}},{head:{fc:"#000",bc:"#b5cc18"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f9fbd4"},foot:{fc:"#000",bc:"#e2ed2a"}},{head:{fc:"#000",bc:"#00b5ad"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#ccfaf9"},foot:{fc:"#000",bc:"#00e4df"}},{head:{fc:"#000",bc:"#2185d0"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#d8f3fc"},foot:{fc:"#000",bc:"#3cc4f0"}},{head:{fc:"#000",bc:"#a5673f"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f6ede5"},foot:{fc:"#000",bc:"#d3a47c"}}],getModelBox:function(e,a){let t=this;$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelList").empty(),$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelCustom").empty();let l="";for(let o=0;o<t.FixedModelColor.length;o++){let s=t.FixedModelColor[o],u,d,f,m;e&&a?(u=s.head,d=s.one,f=s.two,m=s.foot):e?(u=s.head,d=s.one,f=s.two,m=s.one):a?(u=s.one,d=s.two,f=s.one,m=s.foot):(u=s.one,d=s.two,f=s.one,m=s.two),l+='<div class="modelbox"><div class="box"><span style="color:'+u.fc+";background-color:"+u.bc+'"> \u2014 </span><span style="color:'+d.fc+";background-color:"+d.bc+'"> \u2014 </span><span style="color:'+f.fc+";background-color:"+f.bc+'"> \u2014 </span><span style="color:'+m.fc+";background-color:"+m.bc+'"> \u2014 </span></div></div>'}$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelList").append(l);let n=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save_modelCustom;if(n!=null&&n.length>0){let o="";for(let s=0;s<n.length;s++){let u=n[s],d,f,m,g;e&&a?(d=u.head,f=u.one,m=u.two,g=u.foot):e?(d=u.head,f=u.one,m=u.two,g=u.one):a?(d=u.one,f=u.two,m=u.one,g=u.foot):(d=u.one,f=u.two,m=u.one,g=u.two),o+='<div class="modelbox"><div class="box"><span style="color:'+d.fc+";background-color:"+d.bc+'"> \u2014 </span><span style="color:'+f.fc+";background-color:"+f.bc+'"> \u2014 </span><span style="color:'+m.fc+";background-color:"+m.bc+'"> \u2014 </span><span style="color:'+g.fc+";background-color:"+g.bc+'"> \u2014 </span></div></div>'}$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelCustom").append(o)}},init:function(){let e=this;$("#luckysheet-modal-dialog-slider-alternateformat").remove(),$("body").append(_u()),Ft(),$("#luckysheet-modal-dialog-slider-alternateformat .luckysheet-model-close-btn").click(function(){$("#luckysheet-modal-dialog-slider-alternateformat").hide(),Ft()}),$(document).off("focus.AFrangeInput").on("focus.AFrangeInput","#luckysheet-alternateformat-range input",function(){e.rangefocus=!0}),$(document).off("blur.AFrangeInput").on("blur.AFrangeInput","#luckysheet-alternateformat-range input",function(){e.rangefocus=!1}),$(document).off("keydown.AFrangeInput").on("keydown.AFrangeInput","#luckysheet-alternateformat-range input",function(a){let t=$(this).val().trim();a.keyCode==13&&e.update()}),$(document).off("click.AFrangeIcon").on("click.AFrangeIcon","#luckysheet-alternateformat-range .fa-table",function(){$("#luckysheet-modal-dialog-slider-alternateformat").hide(),Ft();let a=$(this).parents("#luckysheet-alternateformat-range").find("input").val().trim();e.rangeDialog(a)}),$(document).off("click.AFrDCf").on("click.AFrDCf","#luckysheet-alternateformat-rangeDialog-confirm",function(){let a=$(this).parents("#luckysheet-alternateformat-rangeDialog").find("input").val().trim();$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-range input").val(a),$(this).parents("#luckysheet-alternateformat-rangeDialog").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").show(),Ft(),e.update()}),$(document).off("click.AFrDCl").on("click.AFrDCl","#luckysheet-alternateformat-rangeDialog-close",function(){$(this).parents("#luckysheet-alternateformat-rangeDialog").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").show(),Ft()}),$(document).off("click.AFrDTitle").on("click.AFrDTitle","#luckysheet-alternateformat-rangeDialog .luckysheet-modal-dialog-title-close",function(){$(this).parents("#luckysheet-alternateformat-rangeDialog").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").show(),Ft()}),$(document).off("change.AFrowHeader").on("change.AFrowHeader","#luckysheet-alternateformat-rowHeader",function(){let a;$(this).is(":checked")?a=!0:a=!1;let t;$("#luckysheet-alternateformat-rowFooter").is(":checked")?t=!0:t=!1,e.checkboxChange(a,t),e.modelboxOn(),e.update()}),$(document).off("change.AFrowFooter").on("change.AFrowFooter","#luckysheet-alternateformat-rowFooter",function(){let a;$("#luckysheet-alternateformat-rowHeader").is(":checked")?a=!0:a=!1;let t;$(this).is(":checked")?t=!0:t=!1,e.checkboxChange(a,t),e.modelboxOn(),e.update()}),$(document).off("click.AFmodelbox").on("click.AFmodelbox","#luckysheet-modal-dialog-slider-alternateformat .modelbox",function(){let a=$(this).index(),t=$(this).parents(".cf").attr("id");if(t=="luckysheet-alternateformat-modelList")e.modelfocusIndex=a;else if(t=="luckysheet-alternateformat-modelCustom"){let l=e.FixedModelColor.length;e.modelfocusIndex=a+l}e.modelboxOn(),e.update()}),$(document).off("click.AFselectColor").on("click.AFselectColor","#luckysheet-modal-dialog-slider-alternateformat .luckysheet-color-menu-button-indicator",function(){let a=$(this).closest(".toningbox"),t,l;$(this).find(".luckysheet-icon-img").hasClass("luckysheet-icon-text-color")?(t="fc",l=a.find(".toningShow").data("fc")):$(this).find(".luckysheet-icon-img").hasClass("luckysheet-icon-cell-color")&&(t="bc",l=a.find(".toningShow").data("bc"));let n;a.hasClass("header")?n="0":a.hasClass("ctOne")?n="1":a.hasClass("ctTwo")?n="2":a.hasClass("footer")&&(n="3"),e.colorSelectDialog(l,t,n)}),$(document).off("click.AFselectColorConfirm").on("click.AFselectColorConfirm","#luckysheet-alternateformat-colorSelect-dialog-confirm",function(){let a=$(this).parents("#luckysheet-alternateformat-colorSelect-dialog"),l=Q().alternatingColors;$("#luckysheet-modal-dialog-mask").hide(),a.hide();let n=a.find(".currenColor span").attr("title"),o;a.find(".luckysheet-modal-dialog-title-text").text()==l.selectionTextColor?o="fc":a.find(".luckysheet-modal-dialog-title-text").text()==l.selectionCellColor&&(o="bc");let s=a.find(".currenColor").attr("data-source");s=="0"?(o=="fc"&&($("#luckysheet-alternateformat-modelToning .header .toningShow").css("color",n),$("#luckysheet-alternateformat-modelToning .header .toningShow").data("fc",n),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .header .toningShow").css("background-color",n),$("#luckysheet-alternateformat-modelToning .header .toningShow").data("bc",n),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n))):s=="1"?(o=="fc"&&($("#luckysheet-alternateformat-modelToning .ctOne .toningShow").css("color",n),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").data("fc",n),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .ctOne .toningShow").css("background-color",n),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").data("bc",n),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n))):s=="2"?(o=="fc"&&($("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").css("color",n),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").data("fc",n),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").css("background-color",n),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").data("bc",n),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n))):s=="3"&&(o=="fc"&&($("#luckysheet-alternateformat-modelToning .footer .toningShow").css("color",n),$("#luckysheet-alternateformat-modelToning .footer .toningShow").data("fc",n),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .footer .toningShow").css("background-color",n),$("#luckysheet-alternateformat-modelToning .footer .toningShow").data("bc",n),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",n)));let u;$("#luckysheet-alternateformat-rowHeader").is(":checked")?u=!0:u=!1;let d;$("#luckysheet-alternateformat-rowFooter").is(":checked")?d=!0:d=!1;let f=e.modelfocusIndex,m=e.FixedModelColor.length,g,y;if(f<m)g=$.extend(!0,{},e.getFormatByIndex());else{y=h.luckysheetfile[Z(h.currentSheetIndex)];let v=y.luckysheet_alternateformat_save_modelCustom;g=$.extend(!0,{},v[f-m])}s=="0"?o=="fc"?g.head.fc=n:o=="bc"&&(g.head.bc=n):s=="1"?o=="fc"?g.one.fc=n:o=="bc"&&(g.one.bc=n):s=="2"?o=="fc"?g.two.fc=n:o=="bc"&&(g.two.bc=n):s=="3"&&(o=="fc"&&(g.foot.fc=n),o=="bc"&&(g.foot.bc=n)),e.modelfocusIndex<m?(e.addCustomModel(g),e.modelfocusIndex=e.getIndexByFormat(g)):(y.luckysheet_alternateformat_save_modelCustom[f-m]=g,re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,y.luckysheet_alternateformat_save_modelCustom,{k:"luckysheet_alternateformat_save_modelCustom"})),e.getModelBox(u,d),e.modelboxOn(),e.update()}),$(document).off("click.AFremove").on("click.AFremove","#luckysheet-alternateformat-remove",function(){let a=$(this).data("index"),l=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save,n=$.extend(!0,[],l);l.length>1?l.splice(a,1):l=[];let o=$.extend(!0,[],l);e.ref(n,o),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,l,{k:"luckysheet_alternateformat_save"}),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").hide(),Ft()})},perfect:function(){let e=this,a=$.extend(!0,{},h.luckysheet_select_save[0]),t=e.rangeIsExists(a)[1],l=$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save[t]),n=l.cellrange;$("#luckysheet-alternateformat-range input").val(kt(h.currentSheetIndex,{row:n.row,column:n.column},h.currentSheetIndex)),h.luckysheet_select_save=[{row:n.row,column:n.column}],et();let o=l.hasRowHeader,s=l.hasRowFooter,u=l.format;e.modelfocusIndex=e.getIndexByFormat(u),e.modelfocusIndex==null&&(e.addCustomModel(u),e.modelfocusIndex=e.getIndexByFormat(u)),e.checkboxChange(o,s),e.modelboxOn(),$("#luckysheet-alternateformat-remove").data("index",t)},checkboxChange:function(e,a){e?($("#luckysheet-alternateformat-rowHeader").prop("checked",!0),$("#luckysheet-alternateformat-modelToning .header").show()):($("#luckysheet-alternateformat-rowHeader").removeAttr("checked"),$("#luckysheet-alternateformat-modelToning .header").hide()),a?($("#luckysheet-alternateformat-rowFooter").prop("checked",!0),$("#luckysheet-alternateformat-modelToning .footer").show()):($("#luckysheet-alternateformat-rowFooter").removeAttr("checked"),$("#luckysheet-alternateformat-modelToning .footer").hide()),this.getModelBox(e,a)},modelboxOn:function(){let e=this;$("#luckysheet-modal-dialog-slider-alternateformat .modelbox").removeClass("on");let a=e.modelfocusIndex,t=e.FixedModelColor.length;a<t?$("#luckysheet-alternateformat-modelList .modelbox").eq(a).addClass("on"):$("#luckysheet-alternateformat-modelCustom .modelbox").eq(a-t).addClass("on"),e.modelToningColor()},modelToningColor:function(){let e=this.getFormatByIndex();$("#luckysheet-alternateformat-modelToning .header .toningShow").css({color:e.head.fc,"background-color":e.head.bc}),$("#luckysheet-alternateformat-modelToning .header .toningShow").data("fc",e.head.fc).data("bc",e.head.bc),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.head.fc),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.head.bc),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").css({color:e.one.fc,"background-color":e.one.bc}),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").data("fc",e.one.fc).data("bc",e.one.bc),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.one.fc),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.one.bc),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").css({color:e.two.fc,"background-color":e.two.bc}),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").data("fc",e.two.fc).data("bc",e.two.bc),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.two.fc),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.two.bc),$("#luckysheet-alternateformat-modelToning .footer .toningShow").css({color:e.foot.fc,"background-color":e.foot.bc}),$("#luckysheet-alternateformat-modelToning .footer .toningShow").data("fc",e.foot.fc).data("bc",e.foot.bc),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.foot.fc),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.foot.bc)},addCustomModel:function(e){let a=h.luckysheetfile[Z(h.currentSheetIndex)];a.luckysheet_alternateformat_save_modelCustom==null&&(a.luckysheet_alternateformat_save_modelCustom=[]),a.luckysheet_alternateformat_save_modelCustom.push(e),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,a.luckysheet_alternateformat_save_modelCustom,{k:"luckysheet_alternateformat_save_modelCustom"})},colorSelectDialog:function(e,a,t){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-alternateformat-colorSelect-dialog").remove();let l=Q(),n=l.alternatingColors,o=l.button,s=l.toolbar,u;a=="fc"?u=n.selectionTextColor:a=="bc"&&(u=n.selectionCellColor),$("body").append(we(ft,{id:"luckysheet-alternateformat-colorSelect-dialog",addclass:"luckysheet-alternateformat-colorSelect-dialog",title:u,content:"<div class='currenColor' data-source='"+t+"'>"+n.currentColor+"\uFF1A<span title='"+e+"' style='background-color:"+e+"'></span></div><div class='colorshowbox'></div>",botton:'<button id="luckysheet-alternateformat-colorSelect-dialog-confirm" class="btn btn-primary">'+o.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+o.cancel+"</button>",style:"z-index:100003"}));let d=$("#luckysheet-alternateformat-colorSelect-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),f=d.outerHeight(),m=d.outerWidth(),g=$(window).width(),y=$(window).height(),v=$(document).scrollLeft(),b=$(document).scrollTop();$("#luckysheet-alternateformat-colorSelect-dialog").css({left:(g+v-m)/2,top:(y+b-f)/3}).show(),$("#luckysheet-alternateformat-colorSelect-dialog").find(".colorshowbox").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,showButtons:!1,maxPaletteSize:8,maxSelectionSize:8,color:e,cancelText:o.cancel,chooseText:s.confirmColor,togglePaletteMoreText:s.customColor,togglePaletteLessText:s.collapse,togglePaletteOnly:!0,clearText:s.clearText,noColorSelectedText:s.noColorSelectedText,localStorageKey:"spectrum.textcolor"+re.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],move:function(k){k!=null?k=k.toHexString():k="#000",$("#luckysheet-alternateformat-colorSelect-dialog .currenColor span").css("background-color",k).attr("title",k)}})},rangeDialog:function(e){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-alternateformat-rangeDialog").remove();let a=Q(),t=a.alternatingColors,l=a.button;$("body").append(we(ft,{id:"luckysheet-alternateformat-rangeDialog",addclass:"luckysheet-alternateformat-rangeDialog",title:t.selectRange,content:'<input readonly="readonly" placeholder="'+t.tipSelectRange+'" value="'+e+'"/>',botton:'<button id="luckysheet-alternateformat-rangeDialog-confirm" class="btn btn-primary">'+l.confirm+'</button><button id="luckysheet-alternateformat-rangeDialog-close" class="btn btn-default">'+l.cancel+"</button>",style:"z-index:100003"}));let n=$("#luckysheet-alternateformat-rangeDialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-alternateformat-rangeDialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},rangeIsExists:function(e,a){let t=this,l=!1,n=null,o=$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save);if(a!=null&&a!=null&&(o.length>1?o.splice(a,1):o=[]),o.length>0){let s=[];for(let d=0;d<o.length;d++){let f={index:d,map:t.getRangeMap(o[d].cellrange.row,o[d].cellrange.column)};s.push(f)}let u=t.getRangeMap(e.row,e.column);for(let d in u){if(l)break;for(let f=0;f<s.length;f++)if(d in s[f].map){l=!0,n=s[f].index;break}}}return[l,n]},getRangeMap:function(e,a){let t={},l=e[0],n=e[1],o=a[0],s=a[1];for(let u=l;u<=n;u++)for(let d=o;d<=s;d++)t[u+"_"+d]=0;return t},getIndexByFormat:function(e){let a=this,t=null,l=a.FixedModelColor;for(let o=0;o<l.length;o++){let s=l[o];if(e.head.fc==s.head.fc&&e.head.bc==s.head.bc&&e.one.fc==s.one.fc&&e.one.bc==s.one.bc&&e.two.fc==s.two.fc&&e.two.bc==s.two.bc&&e.foot.fc==s.foot.fc&&e.foot.bc==s.foot.bc){t=o;break}}let n=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save_modelCustom;if(n!=null&&n.length>0)for(let o=0;o<n.length;o++){let s=n[o];if(e.head.fc==s.head.fc&&e.head.bc==s.head.bc&&e.one.fc==s.one.fc&&e.one.bc==s.one.bc&&e.two.fc==s.two.fc&&e.two.bc==s.two.bc&&e.foot.fc==s.foot.fc&&e.foot.bc==s.foot.bc){t=l.length+o;break}}return t},getFormatByIndex:function(){let e=this,a=e.modelfocusIndex,t=e.FixedModelColor.length,l={};return a<t?l=e.FixedModelColor[a]:l=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save_modelCustom[a-t],l},new:function(e){let a=this,t=a.getFormatByIndex(),n=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save;n==null&&(n=[]);let o=$.extend(!0,[],n),s={cellrange:{row:e.row,column:e.column},format:t,hasRowHeader:!0,hasRowFooter:!1};n.push(s);let u=$.extend(!0,[],n);a.ref(o,u),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,n,{k:"luckysheet_alternateformat_save"})},update:function(){let e=this,t=Q().alternatingColors,l=$("#luckysheet-alternateformat-remove").data("index"),n=$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-range input").val().trim();if(!p.iscelldata(n)){he()?alert(t.errorNoRange):j.info(t.errorNoRange,"");return}let o=p.getcellrange(n);if(e.rangeIsExists(o,l)[0]){he()?alert(t.errorExistColors):j.info(t.errorExistColors,"");return}let u;$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-rowHeader").is(":checked")?u=!0:u=!1;let d;$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-rowFooter").is(":checked")?d=!0:d=!1;let f=e.getFormatByIndex(),g=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save;g==null&&(g=[]);let y=$.extend(!0,[],g),v={cellrange:{row:o.row,column:o.column},format:f,hasRowHeader:u,hasRowFooter:d};g[l]=v;let b=$.extend(!0,[],g);e.ref(y,b),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,g,{k:"luckysheet_alternateformat_save"})},checksAF:function(e,a,t){return e+"_"+a in t?t[e+"_"+a]:null},getComputeMap:function(){let a=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_alternateformat_save;return this.compute(a)},compute:function(e){let a={};if(e!=null&&e.length>0)for(let t=0;t<e.length;t++){let l=e[t].cellrange,n=e[t].format,o=e[t].hasRowHeader,s=e[t].hasRowFooter,u=l.row[0],d=l.row[1],f=l.column[0],m=l.column[1];if(o&&s){for(let g=f;g<=m;g++)a[u+"_"+g]=[n.head.fc,n.head.bc];if(d-u>1)for(let g=u+1;g<d;g++){let y,v;(g-u)%2!=0?(y=n.one.fc,v=n.one.bc):(y=n.two.fc,v=n.two.bc);for(let b=f;b<=m;b++)a[g+"_"+b]=[y,v]}if(d>u)for(let g=f;g<=m;g++)a[d+"_"+g]=[n.foot.fc,n.foot.bc]}else if(o){for(let g=f;g<=m;g++)a[u+"_"+g]=[n.head.fc,n.head.bc];if(d>u)for(let g=u+1;g<=d;g++){let y,v;(g-u)%2!=0?(y=n.one.fc,v=n.one.bc):(y=n.two.fc,v=n.two.bc);for(let b=f;b<=m;b++)a[g+"_"+b]=[y,v]}}else if(s){if(d>u)for(let g=u;g<d;g++){let y,v;(g-u)%2==0?(y=n.one.fc,v=n.one.bc):(y=n.two.fc,v=n.two.bc);for(let b=f;b<=m;b++)a[g+"_"+b]=[y,v]}for(let g=f;g<=m;g++)a[d+"_"+g]=[n.foot.fc,n.foot.bc]}else for(let g=u;g<=d;g++){let y,v;(g-u)%2==0?(y=n.one.fc,v=n.one.bc):(y=n.two.fc,v=n.two.bc);for(let b=f;b<=m;b++)a[g+"_"+b]=[y,v]}}return a},ref:function(e,a){if(h.clearjfundo){h.jfundo.length=0;let l={};l.type="updateAF",l.sheetIndex=h.currentSheetIndex,l.data={historyRules:e,currentRules:a},h.jfredo.push(l)}let t=Z(h.currentSheetIndex);h.luckysheetfile[t].luckysheet_alternateformat_save=a,setTimeout(function(){Le()},1)}},Jt=Cy});var Ty,Ma,qn=Ae(()=>{dt();Ty={parseJsonParm:function(e){if(e==null)return{};if(P(e)=="string")try{return new Function("return "+e)()}catch(a){return{}}else return e},hasKey:function(e){let t=this.parseJsonParm(e);for(let l in t)return!0;return!1}},Ma=Ty});function Ea(e,a,t,l,n,o,s,u,d,f){if(a?(e.addClass("luckysheet-filter-options-active").data("rowhidden",JSON.stringify(t)).data("caljs",JSON.stringify(l)).html('<i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i>'),l!=null&&(e.data("byconditionvalue",l.value).data("byconditiontype",l.type).data("byconditiontext",l.text),l.value1!=null&&e.data("byconditionvalue1",l.value1),l.value2!=null&&e.data("byconditionvalue2",l.value2))):(e.removeClass("luckysheet-filter-options-active").data("rowhidden","").data("caljs","").html('<i class="fa fa-caret-down luckysheet-mousedown-cancel" aria-hidden="true"></i>'),e.data("byconditionvalue","null").data("byconditiontype","0").data("byconditiontext","\u65E0").data("byconditionvalue1","").data("byconditionvalue2","")),n){let m=h.luckysheetfile[Z(h.currentSheetIndex)];if(m.filter==null&&(m.filter={}),a){let g={caljs:l,rowhidden:t,optionstate:a,str:o,edr:s,cindex:u,stc:d,edc:f};m.filter[u-d]=g}else delete m.filter[u-d];re.saveParam("all",h.currentSheetIndex,m.filter,{k:"filter"})}}function zd(e,a,t,l,n,o){let s=xe.deepCopyFlowData(h.flowdata);e=e+1;let u=!1,d=[];for(let m=e;m<=t;m++){let g=[];for(let y=a;y<=l;y++){if(s[m][y]!=null&&s[m][y].mc!=null){u=!0;break}g.push(s[m][y])}d.push(g)}if(u){let m=Q().filter;he()?alert(m.mergeError):j.info(m.mergeError,"");return}d=zl(d,n-a,o);for(let m=e;m<=t;m++)for(let g=a;g<=l;g++)s[m][g]=d[m-e][g-a];let f={};if(h.config.rowlen!=null){let m=$.extend(!0,{},h.config);m=mr(s,e,t,m),f={cfg:m,RowlChange:!0}}Ze(s,[{row:[e,t],column:[a,l]}],f)}function Ci(){if(!St(h.currentSheetIndex,"filter"))return;if(h.luckysheet_select_save.length>1){$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),$("#"+h.container).attr("tabindex",0).focus();let a=Q().splitText;he()?alert(a.tipNoMulti):j.info(a.tipNoMulti,"");return}if(h.luckysheetfile[Z(h.currentSheetIndex)].isPivotTable)return;$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove();let e=h.luckysheet_select_save[0];if(e.row[0]==e.row[1]&&e.column[0]==e.column[1]){let a,t,l=e.row[1];for(let n=0;n<h.flowdata[l].length;n++){let o=h.flowdata[l][n];if(o!=null&&!de(o.v))a==null&&(a=n);else if(a!=null){t=n-1;break}}t==null&&(t=h.flowdata[l].length-1),h.luckysheet_select_save=[{row:[l,l],column:[a,t]}],et(),h.luckysheet_shiftpositon=$.extend(!0,{},e),In("down","range")}else e.row[1]-e.row[0]<2&&(h.luckysheet_shiftpositon=$.extend(!0,{},e),In("down","range"));h.luckysheet_filter_save=$.extend(!0,{},h.luckysheet_select_save[0]),Rr(h.luckysheet_filter_save),re.saveParam("all",h.currentSheetIndex,h.luckysheet_filter_save,{k:"filter_select"}),h.filterchage&&h.jfredo.push({type:"filtershow",data:[],curdata:[],sheetIndex:h.currentSheetIndex,filter_save:h.luckysheet_filter_save})}function Rr(e,a){if($("#luckysheet-filter-selected-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),e==null||JSON.stringify(e)=="{}")return;let t=e.row[0],l=e.row[1],n=e.column[0],o=e.column[1],s=h.visibledatarow[l],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[o],f=n-1==-1?0:h.visibledatacolumn[n-1],m='<div id="luckysheet-filter-selected-sheet'+h.currentSheetIndex+'" class="luckysheet-cell-selected luckysheet-filter-selected" style="left:'+f+"px;width:"+(d-f-1)+"px;top:"+u+"px;height:"+(s-u-1)+'px;display:block;border-color:#897BFF;z-index:20;background:none;"></div>';$("#luckysheet-cell-main").append(m);let g="";for(let v=n;v<=o;v++)if(a==null||a[v-n]==null)g+='<div data-rowhidden="" data-str="'+t+'" data-edr="'+l+'" data-cindex="'+v+'" data-stc="'+n+'" data-edc="'+o+'" class="luckysheet-filter-options" style="left:'+(h.visibledatacolumn[v]-20)+"px;top:"+u+'px;display:block;"><i class="fa fa-caret-down" aria-hidden="true"></i></div>';else{let b;if(a[v-n].caljs!=null){let k;a[v-n].caljs.value1!=null?k='data-byconditionvalue1="'+a[v-n].caljs.value1+'" ':k="";let x;a[v-n].caljs.value2!=null?x='data-byconditionvalue2="'+a[v-n].caljs.value2+'" ':x="",b='data-caljs="'+JSON.stringify(a[v-n].caljs)+'" data-byconditionvalue="'+a[v-n].caljs.value+'" data-byconditiontype="'+a[v-n].caljs.type+'" data-byconditiontext="'+a[v-n].caljs.text+'" '+k+x}else b="";g+='<div data-rowhidden="'+JSON.stringify(a[v-n].rowhidden).replace(/\"/g,"'")+'" '+b+' data-str="'+t+'" data-edr="'+l+'" data-cindex="'+v+'" data-stc="'+n+'" data-edc="'+o+'" class="luckysheet-filter-options luckysheet-filter-options-active" style="left:'+(h.visibledatacolumn[v]-20)+"px;top:"+u+'px;display:block;"><i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i></div>'}$("#luckysheet-cell-main").append('<div id="luckysheet-filter-options-sheet'+h.currentSheetIndex+'" class="luckysheet-filter-options-c">'+g+"</div>"),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),$("#luckysheet-cell-main").scrollTop()>e.top_move&&$("#luckysheet-scrollbar-y").scrollTop(e.top_move);let y=h.luckysheetfile[Z(h.currentSheetIndex)];y.filter_select=e}function Ld(){let e=null,a=Q(),t=a.filter,l=a.button;$("#luckysheetfilter").click(Ci);let n=null,o=null;$(".luckysheet-cols-menu .luckysheet-cols-submenu").hover(function(){let s=$(this),u=s.attr("id"),d=$("#"+u+"_sub"),f=s.parent(),m=$(window).width(),g=$(window).height(),y=f.width(),v=d.height()+25,b=d.width()+5,k=s.offset(),x=k.top,w=k.left+y;w+b>m&&(w=k.left-b),x+v>g&&(x=g-v),d.css({top:x,left:w}).show(),o=s},function(){let s=$(this),u=s.attr("id"),d=$("#"+u+"_sub");n=setTimeout(function(){d.hide()},200)}),$(".luckysheet-rightgclick-menu-sub").hover(function(){o.addClass("luckysheet-cols-menuitem-hover"),clearTimeout(n)},function(){o.removeClass("luckysheet-cols-menuitem-hover"),$(this).hide()}),$("#luckysheet-filter-menu").mouseover(function(){clearTimeout(e),e=setTimeout(function(){$("#luckysheet-filter-submenu").hide()},500)}),$("#luckysheet-filter-submenu").mouseover(function(){clearTimeout(e)}).find(".luckysheet-cols-menuitem").click(function(s){$("#luckysheet-filter-selected span").html($(this).find(".luckysheet-cols-menuitem-content").text()).data("value",$(this).data("value")),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide();let u=$(this).data("type"),d=$(this).attr("data-value");u=="2"?($("#luckysheet-filter-selected span").data("type","2"),$("#luckysheet-filter-menu .luckysheet-filter-selected-input2").show(),$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","number")):u=="0"?$("#luckysheet-filter-selected span").data("type","0"):($("#luckysheet-filter-selected span").data("type","1"),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").eq(0).show(),d=="dateequal"||d=="datelessthan"||d=="datemorethan"?$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","date"):d=="morethan"||d=="moreequalthan"||d=="lessthan"||d=="lessequalthan"||d=="equal"||d=="noequal"?$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","number"):$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","text")),$("#luckysheet-filter-byvalue").next().slideUp(),$("#luckysheet-filter-submenu").hide()}),$("#luckysheet-filter-bycondition, #luckysheet-filter-byvalue").click(function(){let s=$(this);s.next().slideToggle(200),setTimeout(function(){s.attr("id")=="luckysheet-filter-bycondition"&&$("#luckysheet-filter-bycondition").next().is(":visible")&&$("#luckysheet-filter-selected span").text()!=t.filiterInputNone&&$("#luckysheet-filter-byvalue").next().slideUp(200),s.is($("#luckysheet-filter-bycondition"))&&$("#luckysheet-filter-bycondition").next().is(":hidden")&&$("#luckysheet-filter-byvalue").next().is(":hidden")&&$("#luckysheet-filter-byvalue").next().slideDown(200)},300)}),$("#luckysheet-filter-selected").click(function(){let s=$(this),u=s.offset(),d=$("#luckysheet-filter-submenu");d.hide();let f=$(window).height(),m=$(window).width(),g=d.width(),y=d.height(),v=u.top,b=u.left,k=f-u.top-20;u.left+g>m&&(b=u.left-g),u.top>f/2&&(v=f-u.top,v<0&&(v=0),k=u.top-20),d.css({top:v,left:b,height:k}).show(),clearTimeout(e)}),$("#luckysheet-cell-main").on("click",".luckysheet-filter-options",function(s){if(!St(h.currentSheetIndex,"filter"))return;let u=$(s.currentTarget),d=u.offset(),f=$("#luckysheet-filter-menu"),m=$(window).height(),g=$(window).width(),y=u.data("str"),v=u.data("edr"),b=u.data("cindex"),k=u.data("stc"),x=u.data("edc"),w=u.data("rowhidden")==""?{}:JSON.parse(u.data("rowhidden").replace(/\'/g,'"'));$("body .luckysheet-cols-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),$("#luckysheet-filter-byvalue-input").val(""),$("#luckysheet-filter-bycondition").next().hide(),$("#luckysheet-filter-byvalue").next().show(),f.data("str",y),f.data("edr",v),f.data("cindex",b),f.data("stc",k),f.data("edc",x),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val(),$("#luckysheet-filter-selected span").data("type","0").data("type",null).text(t.filiterInputNone);let _=u.data("byconditiontype");if($("#luckysheet-filter-selected span").data("value",u.data("byconditionvalue")).data("type",_).text(u.data("byconditiontext")),_=="2"){let R=$("#luckysheet-filter-menu .luckysheet-filter-selected-input2").show().find("input");R.eq(0).val(u.data("byconditionvalue1")),R.eq(1).val(u.data("byconditionvalue2"))}else _=="1"&&$("#luckysheet-filter-menu .luckysheet-filter-selected-input").eq(0).show().find("input").val(u.data("byconditionvalue1"));$("#luckysheet-filter-orderby-asc").off("click").on("click",function(){zd(y,k,v,x,b,!0)}),$("#luckysheet-filter-orderby-desc").off("click").on("click",function(){zd(y,k,v,x,b,!1)});let S=Dl("#luckysheet-filter-byvalue-select",{text:t.filiterMoreDataTip});$("#luckysheet-filter-byvalue-select").empty().append(S.el);let C={};$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").not(this).each(function(){let R=$(this),I=R.data("rowhidden");if(I=="")return!0;I=JSON.parse(I.replace(/\'/g,'"'));for(let A in I)C[A]=0});let T=h.flowdata;return setTimeout(function(){let R={},I={},A={},E={};for(let F=y+1;F<=v;F++){if(F in C||h.flowdata[F]==null)continue;let M=h.flowdata[F][b];if(M!=null&&!de(M.v)&&M.ct!=null&&M.ct.t=="d"){let z=mt("YYYY-MM-DD",M.v),O=z.split("-")[0],H=z.split("-")[1],U=z.split("-")[2];O in R||(R[O]={}),H in R[O]||(R[O][H]={}),U in R[O][H]||(R[O][H][U]=0),R[O][H][U]++,F in w&&(I[O]=0,I[H]=0,I[U]=0)}else{let z,O;M==null||de(M.v)?(z=null,O=null):(z=M.v,O=M.m),z in A||(A[z]={}),O in A[z]||(A[z][O]=0),A[z][O]++,F in w&&(E[z+"#$$$#"+O]=0)}}let N=[];if(JSON.stringify(R).length>2)for(let F in R){let M=0,z="";for(let H in R[F]){let U=0,X="";for(let ee in R[F][H]){let ae=R[F][H][ee];U+=ae;let oe;Number(H)<10?oe="0"+Number(H):oe=H;let ie;Number(ee)<10?ie="0"+Number(ee):ie=ee,F in I&&H in I&&ee in I?X+='<div class="day luckysheet-mousedown-cancel cf" data-check="false" title="'+F+"-"+oe+"-"+ie+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+ee+'</label><span class="count luckysheet-mousedown-cancel">( '+ae+" )</span></div>":X+='<div class="day luckysheet-mousedown-cancel cf" data-check="true" title="'+F+"-"+oe+"-"+ie+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+ee+'</label><span class="count luckysheet-mousedown-cancel">( '+ae+" )</span></div>"}M+=U;let Y;Number(H)<10?Y="0"+Number(H):Y=H,F in I&&H in I?z+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="false" title="'+F+"-"+Y+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+H+""+t.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+U+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+X+"</div></div>":z+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="true" title="'+F+"-"+Y+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+H+""+t.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+U+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+X+"</div></div>"}let O;F in I?O='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="false" title="'+F+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+F+""+t.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+M+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+z+"</div></div>":O='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="true" title="'+F+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+F+""+t.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+M+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+z+"</div></div>",N.unshift(O)}if(JSON.stringify(A).length>2){let F=Object.keys(A);F=po(F,!0);for(let M=0;M<F.length;M++){let z=F[M];for(let O in A[z]){let H;z+"#$$$#"+O=="null#$$$#null"?H=t.valueBlank:H=O;let U;z+"#$$$#"+O in E?U='<div class="textBox luckysheet-mousedown-cancel cf" data-check="false" data-filter="'+(z+"#$$$#"+O)+'" title="'+H+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+H+'</label><span class="luckysheet-mousedown-cancel count">( '+A[z][O]+" )</span></div>":U='<div class="textBox luckysheet-mousedown-cancel cf" data-check="true" data-filter="'+(z+"#$$$#"+O)+'" title="'+H+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+H+'</label><span class="luckysheet-mousedown-cancel count">( '+A[z][O]+" )</span></div>",N.push(U)}}}let D=m-d.top-350;D<0&&(D=100),$("#luckysheet-filter-byvalue-select").append("<div class='ListBox luckysheet-mousedown-cancel' style='min-height: 100px; max-height: "+D+"px; overflow-y: auto; overflow-x: hidden;'><table cellspacing='0' style='width:100%;' class='luckysheet-mousedown-cancel'>"+N.join("")+"</table></div>"),S.close()},1),ra(f,d.left,d.top+20),s.stopPropagation(),!1}),$("#luckysheet-filter-orderby-color").hover(function(){let s=$("#luckysheet-filter-menu"),u=s.data("str"),d=s.data("edr"),f=s.data("cindex"),m=s.data("stc"),g=s.data("edc"),y={},v={},b=Jt.getComputeMap(),k=$e.getComputeMap();for(let M=u+1;M<=d;M++){let z=h.flowdata[M][f],O=be.checkstatus(h.flowdata,M,f,"bg");O==null&&(O="#ffffff");let H=Jt.checksAF(M,f,b);H!=null&&(O=H[1]);let U=$e.checksCF(M,f,k);U!=null&&U.cellColor!=null&&(O=U.cellColor),O.indexOf("rgb")>-1&&(O=Da(O)),O.length==4&&(O=O.substr(0,1)+O.substr(1,1).repeat(2)+O.substr(2,1).repeat(2)+O.substr(3,1).repeat(2));let X=be.checkstatus(h.flowdata,M,f,"fc");H!=null&&(X=H[0]),U!=null&&U.textColor!=null&&(X=U.textColor),X.indexOf("rgb")>-1&&(X=Da(X)),X.length==4&&(X=X.substr(0,1)+X.substr(1,1).repeat(2)+X.substr(2,1).repeat(2)+X.substr(3,1).repeat(2)),h.config!=null&&h.config.rowhidden!=null&&M in h.config.rowhidden?(y[O]=1,z!=null&&!de(z.v)&&(v[X]=1)):(y[O]=0,z!=null&&!de(z.v)&&(v[X]=0))}let x="";if(JSON.stringify(y).length>2&&Object.keys(y).length>1){let M="";for(let z in y)y[z]==0?M+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+z+'" title="'+z+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/></div>':M+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+z+'" title="'+z+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox"/></div>';x='<div id="filterBgColor" class="box luckysheet-mousedown-cancel"><div class="title luckysheet-mousedown-cancel">'+t.filiterByColorTip+'</div><div style="max-height:128px;overflow:auto;" class="luckysheet-mousedown-cancel">'+M+"</div></div>"}let w="";if(JSON.stringify(v).length>2&&Object.keys(v).length>1){let M="";for(let z in v)v[z]==0?M+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+z+'" title="'+z+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/></div>':M+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+z+'" title="'+z+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox"/></div>';w='<div id="filterFcColor" class="box luckysheet-mousedown-cancel"><div class="title luckysheet-mousedown-cancel">'+t.filiterByTextColorTip+'</div><div style="max-height:128px;overflow:auto;" class="luckysheet-mousedown-cancel">'+M+"</div></div>"}let _;x==""&&w==""?_='<div class="luckysheet-mousedown-cancel" style="padding: 10px 30px;text-align: center;">'+t.filterContainerOneColorTip+"</div>":_=x+w+'<div class="luckysheet-mousedown-cancel"><button id="luckysheet-filter-orderby-color-confirm" class="btn btn-primary luckysheet-mousedown-cancel" style="margin: 5px 20px;width: 70px;">'+l.confirm+"</button></div>",$("#luckysheet-filter-orderby-color-submenu").remove(),$("body").append('<div id="luckysheet-filter-orderby-color-submenu" class="luckysheet-cols-menu luckysheet-mousedown-cancel">'+_+"</div>");let S=$("#luckysheet-filter-orderby-color-submenu").end(),C=$(this).parent(),T=$(window).width(),R=$(window).height(),I=C.width(),A=S.height()+25,E=S.width()+5,N=$(this).offset(),D=N.top,F=N.left+I;F+E>T&&(F=N.left-E),D+A>R&&(D=R-A),$("#luckysheet-filter-orderby-color-submenu").css({top:D,left:F}).show()},function(){n=setTimeout(function(){$("#luckysheet-filter-orderby-color-submenu").hide()},200)}),$(document).on("mouseover mouseleave","#luckysheet-filter-orderby-color-submenu",function(s){s.type==="mouseover"?clearTimeout(n):$(this).hide()}),$(document).on("click","#luckysheet-filter-orderby-color-submenu .item label",function(){$(this).siblings("input[type='checkbox']").click()}),$(document).off("click.orderbyColorConfirm").on("click.orderbyColorConfirm","#luckysheet-filter-orderby-color-submenu #luckysheet-filter-orderby-color-confirm",function(){let s={},u={};$("#luckysheet-filter-orderby-color-submenu .item").each(function(D,F){if($(F).find("input[type='checkbox']").is(":checked")){let M=$(this).find("label").attr("title"),z=$(this).closest(".box").attr("id");z=="filterBgColor"?s[M]=0:z=="filterFcColor"&&(u[M]=0)}});let d;$("#luckysheet-filter-orderby-color-submenu #filterBgColor").length>0?d=!0:d=!1;let f;$("#luckysheet-filter-orderby-color-submenu #filterFcColor").length>0?f=!0:f=!1;let m=$("#luckysheet-filter-menu"),g=m.data("str"),y=m.data("edr"),v=m.data("cindex"),b=m.data("stc"),k=m.data("edc"),x={};$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").not($("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(v-b).get(0)).each(function(){let D=$(this),F=D.data("rowhidden");if(F=="")return!0;F=JSON.parse(F);for(let M in F)x[M]=0});let w={},_={},S={},C=Jt.getComputeMap(),T=$e.getComputeMap();for(let D=g+1;D<=y;D++){if(D in x||h.flowdata[D]==null)continue;let F=h.flowdata[D][v],M=be.checkstatus(h.flowdata,D,v,"bg"),z=Jt.checksAF(D,v,C);z!=null&&(M=z[1]);let O=$e.checksCF(D,v,T);O!=null&&O.cellColor!=null&&(M=O.cellColor),M=M==null?"#ffffff":M,M.indexOf("rgb")>-1&&(M=Da(M)),M.length==4&&(M=M.substr(0,1)+M.substr(1,1).repeat(2)+M.substr(2,1).repeat(2)+M.substr(3,1).repeat(2));let H=be.checkstatus(h.flowdata,D,v,"fc");z!=null&&(H=z[0]),O!=null&&O.textColor!=null&&(H=O.textColor),H.indexOf("rgb")>-1&&(H=Da(H)),H.length==4&&(H=H.substr(0,1)+H.substr(1,1).repeat(2)+H.substr(2,1).repeat(2)+H.substr(3,1).repeat(2)),d&&f?!(M in s)&&(!(H in u)||F==null||de(F.v))&&(_[D]=0):d?M in s||(_[D]=0):f&&(!(H in u)||F==null||de(F.v))&&(_[D]=0)}let R=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(v-b),I=Object.keys(_).length>0,A=$.extend(!0,x,_),E=Ma.parseJsonParm(R.data("rowhidden"));Ea(R,I,_,S,!0,g,y,v,b,k);let N=$.extend(!0,{},h.config);if(N.rowhidden=A,h.clearjfundo){let D={};D.type="datachangeAll_filter",D.sheetIndex=h.currentSheetIndex,D.config=$.extend(!0,{},h.config),D.curconfig=N,D.optionstate=I,D.optionsindex=v-b,D.rowhidden=$.extend(!0,{},_),D.rowhidenPre=$.extend(!0,{},E),S!=null&&(D.caljs=S),h.jfundo.length=0,h.jfredo.push(D)}h.config=N,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,N.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu, #luckysheet-filter-orderby-color-submenu").hide(),er()}),$(document).off("click.filterCheckbox1").on("click.filterCheckbox1","#luckysheet-filter-byvalue-select .textBox",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.filterCheckbox2").on("click.filterCheckbox2","#luckysheet-filter-byvalue-select .year",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".yearBox").find(".month").attr("data-check","false"),$(this).parents(".yearBox").find(".day").attr("data-check","false"),$(this).parents(".yearBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".yearBox").find(".month").attr("data-check","true"),$(this).parents(".yearBox").find(".day").attr("data-check","true"),$(this).parents(".yearBox").find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.filterCheckbox3").on("click.filterCheckbox3","#luckysheet-filter-byvalue-select .month",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".monthBox").find(".day").attr("data-check","false"),$(this).parents(".monthBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".monthBox").find(".day").attr("data-check","true"),$(this).parents(".monthBox").find("input[type='checkbox']").prop("checked",!0));let s=!0;$(this).parents(".yearBox").find(".day").each(function(d,f){$(f).attr("data-check")=="true"||(s=!1)}),s?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.filterCheckbox4").on("click.filterCheckbox4","#luckysheet-filter-byvalue-select .day",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0));let s=!0;$(this).parents(".monthBox").find(".day").each(function(m,g){$(g).attr("data-check")=="true"||(s=!1)}),s?($(this).parents(".monthBox").find(".month").attr("data-check","true"),$(this).parents(".monthBox").find(".month input[type='checkbox']").prop("checked",!0)):($(this).parents(".monthBox").find(".month").attr("data-check","false"),$(this).parents(".monthBox").find(".month input[type='checkbox']").removeAttr("checked"));let d=!0;$(this).parents(".yearBox").find(".day").each(function(m,g){$(g).attr("data-check")=="true"||(d=!1)}),d?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.filterYearDropdown").on("click.filterYearDropdown","#luckysheet-filter-byvalue-select .yearBox .fa-caret-right",function(s){let u=$(this).parents(".luckysheet-mousedown-cancel");u.hasClass("year")&&$(this).parents(".yearBox").find(".monthList").slideToggle(),u.hasClass("month")&&$(this).parents(".monthBox").find(".dayList").slideToggle(),s.stopPropagation()}),$("#luckysheet-filter-byvalue-btn-all").click(function(){$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").prop("checked",!0),$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","true")}),$("#luckysheet-filter-byvalue-btn-clear").click(function(){$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").removeAttr("checked"),$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","false")}),$("#luckysheet-filter-byvalue-btn-contra").click(function(){$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").each(function(f,m){$(m).is(":checked")?($(m).removeAttr("checked"),$(m).parents(".luckysheet-mousedown-cancel").attr("data-check","false")):($(m).prop("checked",!0),$(m).parents(".luckysheet-mousedown-cancel").attr("data-check","true"))}),$("#luckysheet-filter-byvalue-select .ListBox .monthBox").each(function(f,m){let g=!0;$(m).find(".day input[type='checkbox']").each(function(v,b){$(b).is(":checked")||(g=!1)}),g?($(m).find(".month input[type='checkbox']").prop("checked",!0),$(m).attr("data-check","true")):($(m).find(".month input[type='checkbox']").removeAttr("checked"),$(m).attr("data-check","false"))}),$("#luckysheet-filter-byvalue-select .ListBox .yearBox").each(function(f,m){let g=!0;$(m).find(".day input[type='checkbox']").each(function(v,b){$(b).is(":checked")||(g=!1)}),g?($(m).find(".year input[type='checkbox']").prop("checked",!0),$(m).attr("data-check","true")):($(m).find(".year input[type='checkbox']").removeAttr("checked"),$(m).attr("data-check","false"))})}),$("#luckysheet-filter-initial").click(function(){if(!St(h.currentSheetIndex,"filter"))return;$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val(),$("#luckysheet-filter-selected span").data("type","0").data("type",null).text(t.conditionNone);let s={};s.type="datachangeAll_filter_clear",s.sheetIndex=h.currentSheetIndex,s.config=$.extend(!0,{},h.config),h.config.rowhidden={},s.curconfig=$.extend(!0,{},h.config),s.filter_save=$.extend(!0,{},h.luckysheet_filter_save);let u=[];$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(){let d=$(this),f=d.hasClass("luckysheet-filter-options-active"),m=Ma.parseJsonParm(d.data("rowhidden")),g=Ma.parseJsonParm(d.data("caljs"));u.push({optionstate:f,rowhidden:m,caljs:g,str:d.data("str"),edr:d.data("edr"),cindex:d.data("cindex"),stc:d.data("stc"),edc:d.data("edc")})}),s.optiongroups=u,h.jfundo.length=0,h.jfredo.push(s),$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),h.luckysheetfile[Z(h.currentSheetIndex)].filter=null,h.luckysheetfile[Z(h.currentSheetIndex)].filter_select=null,re.saveParam("fsc",h.currentSheetIndex,null),h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,{},{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length)}),$("#luckysheet-filter-byvalue-input").on("input propertychange",function(){let s=$(this).val().toString();$("#luckysheet-filter-byvalue-select .ListBox .luckysheet-mousedown-cancel").show(),s!=""&&$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").each(function(u,d){if($(d).closest(".day").length>0){let f=$(d).siblings("label").text().toString(),m=$(d).closest(".monthBox").find(".month label").text().toString();($(d).closest(".yearBox").find(".year label").text().toString()+"-"+m+"-"+f).indexOf(s)==-1&&($(d).closest(".day").hide(),$(d).closest(".dayList").find(".day:visible").length==0&&$(d).closest(".monthBox").find(".month").hide(),$(d).closest(".monthList").find(".day:visible").length==0&&$(d).closest(".yearBox").find(".year").hide())}$(d).closest(".textBox").length>0&&$(d).siblings("label").text().toString().indexOf(s)==-1&&$(d).parents(".textBox").hide()})}),$("#luckysheet-filter-cancel").click(function(){$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide()}),$("#luckysheet-filter-confirm").click(function(){let s=$("#luckysheet-filter-menu"),u=s.data("str"),d=s.data("edr"),f=s.data("cindex"),m=s.data("stc"),g=s.data("edc"),y={};$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").not($("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(f-m).get(0)).each(function(){let T=$(this),R=T.data("rowhidden");if(R=="")return!0;R=JSON.parse(R.replace(/\'/g,'"'));for(let I in R)y[I]=0});let v={},b={},k={};if($("#luckysheet-filter-bycondition").next().is(":visible")&&$("#luckysheet-filter-byvalue").next().is(":hidden")&&$("#luckysheet-filter-selected span").data("value")!="null"){let T=$("#luckysheet-filter-selected span"),R=T.data("type"),I=T.data("value");if(k.value=I,k.text=T.text(),R=="0")k.type="0";else if(R=="2"){let A=$("#luckysheet-filter-menu .luckysheet-filter-selected-input2 input");k.type="2",k.value1=A.eq(0).val(),k.value2=A.eq(1).val()}else k.type="1",k.value1=$("#luckysheet-filter-menu .luckysheet-filter-selected-input").eq(0).find("input").val();for(let A=u+1;A<=d;A++){if(A in y||h.flowdata[A]==null)continue;let E=h.flowdata[A][f];if(I=="cellnull")E!=null&&!de(E.v)&&(b[A]=0);else if(I=="cellnonull")(E==null||de(E.v))&&(b[A]=0);else if(I=="textinclude"){let N=k.value1;(E==null||de(E.v)||E.m.indexOf(N)==-1)&&(b[A]=0)}else if(I=="textnotinclude"){let N=k.value1;E==null||de(E.v)||E.m.indexOf(N)>-1&&(b[A]=0)}else if(I=="textstart"){let N=k.value1,D=N.length;(E==null||de(E.v)||E.m.substr(0,D)!=N)&&(b[A]=0)}else if(I=="textend"){let N=k.value1,D=N.length;(E==null||de(E.v)||D>E.m.length||E.m.substr(E.m.length-D,D)!=N)&&(b[A]=0)}else if(I=="textequal"){let N=k.value1;(E==null||de(E.v)||E.m!=N)&&(b[A]=0)}else if(I=="dateequal"){let N=it(k.value1)[2];E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="d"?parseInt(E.v)!=N&&(b[A]=0):b[A]=0}else if(I=="datelessthan"){let N=it(k.value1)[2];E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="d"?parseInt(E.v)>=N&&(b[A]=0):b[A]=0}else if(I=="datemorethan"){let N=it(k.value1)[2];E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="d"?parseInt(E.v)<=N&&(b[A]=0):b[A]=0}else if(I=="morethan"){let N=parseFloat(k.value1);E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v<=N&&(b[A]=0):b[A]=0}else if(I=="moreequalthan"){let N=parseFloat(k.value1);E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v<N&&(b[A]=0):b[A]=0}else if(I=="lessthan"){let N=parseFloat(k.value1);E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v>=N&&(b[A]=0):b[A]=0}else if(I=="lessequalthan"){let N=parseFloat(k.value1);E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v>N&&(b[A]=0):b[A]=0}else if(I=="equal"){let N=parseFloat(k.value1);E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v!=N&&(b[A]=0):b[A]=0}else if(I=="noequal"){let N=parseFloat(k.value1);E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v==N&&(b[A]=0):b[A]=0}else if(I=="include"){let N=parseFloat(k.value1),D=parseFloat(k.value2),F,M;N<D?(F=N,M=D):(M=N,F=D),E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?(E.v<F||E.v>M)&&(b[A]=0):b[A]=0}else if(I=="noinclude"){let N=parseFloat(k.value1),D=parseFloat(k.value2),F,M;N<D?(F=N,M=D):(M=N,F=D),E==null||de(E.v)?b[A]=0:E.ct!=null&&E.ct.t=="n"?E.v>=F&&E.v<=M&&(b[A]=0):b[A]=0}}}else{$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").each(function(T,R){if($(R).is(":visible")&&$(R).is(":checked"))return!0;if($(R).closest(".day").length>0){let I=$(R).siblings("label").text();Number(I)<10&&(I="0"+Number(I));let A=$(R).closest(".monthBox").find(".month label").text().replace(t.filiterMonthText,"");Number(A)<10&&(A="0"+Number(A));let E=$(R).closest(".yearBox").find(".year label").text().replace(t.filiterYearText,""),N=t.filterDateFormatTip+"#$$$#"+E+"-"+A+"-"+I;v[N]="1"}if($(R).closest(".textBox").length>0){let I=$(R).closest(".textBox").data("filter");v[I]="1"}});for(let T=u+1;T<=d;T++){if(T in y||h.flowdata[T]==null)continue;let R=h.flowdata[T][f],I;if(R==null||de(R.v))I="null#$$$#null";else if(R.ct!=null&&R.ct.t=="d"){let A=mt("YYYY-MM-DD",R.v);I=t.filterDateFormatTip+"#$$$#"+A}else I=R.v+"#$$$#"+R.m;I in v&&(b[T]=0)}}let x=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(f-m),w=$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']:visible:checked").length<$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']:visible").length||$("#luckysheet-filter-byvalue-input").val().length>0||$("#luckysheet-filter-bycondition").next().is(":visible")&&$("#luckysheet-filter-byvalue").next().is(":hidden")&&$("#luckysheet-filter-selected span").data("value")!="null",_=$.extend(!0,y,b),S=Ma.parseJsonParm(x.data("rowhidden"));Ea(x,w,b,k,!0,u,d,f,m,g);let C=$.extend(!0,{},h.config);if(C.rowhidden=_,h.clearjfundo){let T={};T.type="datachangeAll_filter",T.sheetIndex=h.currentSheetIndex,T.config=$.extend(!0,{},h.config),T.curconfig=C,T.optionstate=w,T.optionsindex=f-m,T.rowhidden=$.extend(!0,{},b),T.rowhidenPre=$.extend(!0,{},S),k!=null&&(T.caljs=k),h.jfundo.length=0,h.jfredo.push(T)}h.config=C,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,C.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),er()})}var fa=Ae(()=>{Rt();Kt();At();ar();cl();Xt();Rn();jt();Zt();bt();Ke();lr();hl();Dn();Dr();dt();Ll();Yt();tn();qn();Ir()});var Sy,Re,Ol=Ae(()=>{Pr();Zt();ul();jt();Dr();Rt();_a();dt();Ke();bt();Sy={imgItem:{type:"3",src:"",originWidth:null,originHeight:null,default:{width:null,height:null,left:null,top:null},crop:{width:null,height:null,offsetLeft:0,offsetTop:0},isFixedPos:!1,fixedLeft:null,fixedTop:null,border:{width:0,radius:0,style:"solid",color:"#000"}},images:null,currentImgId:null,currentWinW:null,currentWinH:null,resize:null,resizeXY:null,move:!1,moveXY:null,cropChange:null,cropChangeXY:null,cropChangeObj:null,copyImgItemObj:null,inserImg:function(e){let a=this,t=h.luckysheet_select_save[h.luckysheet_select_save.length-1],l=t.row_focus||0,n=t.column_focus||0,o=n==0?0:h.visibledatacolumn[n-1],s=l==0?0:h.visibledatarow[l-1],u=new Image;u.onload=function(){let d=u.width,f=u.height,m={src:e,left:o,top:s,originWidth:d,originHeight:f};a.addImgItem(m)},u.src=e},generateRandomId:function(e){e==null&&(e="img");let a=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),t="";for(let n=0;n<12;n++)t+=a[Math.round(Math.random()*(a.length-1))];let l=new Date().getTime();return e+"_"+t+"_"+l},modelHtml:function(e,a){let t=this,l=a.src,n=t.getImgItemParam(a),o=n.width*h.zoomRatio,s=n.height*h.zoomRatio,u=n.left*h.zoomRatio,d=n.top*h.zoomRatio,f=n.position,m=a.border.width;return`<div id="${e}" class="luckysheet-modal-dialog luckysheet-modal-dialog-image" style="width:${o}px;height:${s}px;padding:0;position:${f};left:${u}px;top:${d}px;z-index:200;">
<div class="luckysheet-modal-dialog-content" style="width:100%;height:100%;overflow:hidden;position:relative;">
<img src="${l}" style="position:absolute;width:${a.default.width*h.zoomRatio}px;height:${a.default.height*h.zoomRatio}px;left:${-a.crop.offsetLeft*h.zoomRatio}px;top:${-a.crop.offsetTop*h.zoomRatio}px;" />
</div>
<div class="luckysheet-modal-dialog-border" style="border:${m}px ${a.border.style} ${a.border.color};border-radius:${a.border.radius*h.zoomRatio}px;position:absolute;left:${-m}px;right:${-m}px;top:${-m}px;bottom:${-m}px;"></div>
</div>`},getSliderHtml:function(){let e=Q().imageText;return`<div id="luckysheet-modal-dialog-slider-imageCtrl" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-imageCtrl" style="display:block;">
<div class="luckysheet-modal-dialog-slider-title">
<span>${e.imageSetting}</span>
<span class="luckysheet-model-close-btn" title="${e.close}">
<i class="fa fa-times" aria-hidden="true"></i>
</span>
</div>
<div class="luckysheet-modal-dialog-slider-content">
<div class="slider-box">
<div class="slider-box-title">${e.conventional}</div>
<div class="slider-box-radios">
<div class="radio-item">
<input type="radio" id="imgItemType1" name="imgItemType" value="1">
<label for="imgItemType1">${e.moveCell1}</label>
</div>
<div class="radio-item">
<input type="radio" id="imgItemType2" name="imgItemType" value="2">
<label for="imgItemType2">${e.moveCell2}</label>
</div>
<div class="radio-item">
<input type="radio" id="imgItemType3" name="imgItemType" value="3">
<label for="imgItemType3">${e.moveCell3}</label>
</div>
</div>
<div class="slider-box-checkbox">
<input type="checkbox" id="imgItemIsFixedPos">
<label for="imgItemIsFixedPos">${e.fixedPos}</label>
</div>
</div>
<div class="slider-box">
<div class="slider-box-title">${e.border}</div>
<div class="slider-box-borderConfig">
<div class="border-item">
<label>${e.width}</label>
<input type="number" id="imgItemBorderWidth" min="0">
</div>
<div class="border-item">
<label>${e.radius}</label>
<input type="number" id="imgItemBorderRadius" min="0">
</div>
<div class="border-item">
<label>${e.style}</label>
<select id="imgItemBorderStyle">
<option value="solid">${e.solid}</option>
<option value="dashed">${e.dashed}</option>
<option value="dotted">${e.dotted}</option>
<option value="double">${e.double}</option>
</select>
</div>
<div class="border-item">
<label>${e.color}</label>
<div id="imgItemBorderColor" class="imgItemBorderColor">
<span></span>
</div>
</div>
</div>
</div>
</div>
</div>`},sliderHtmlShow:function(){let e=this;$("#luckysheet-modal-dialog-slider-imageCtrl").remove();let a=e.getSliderHtml();$("body").append(a),Ft();let t=e.images[e.currentImgId],l=t.type;$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemType"+l).prop("checked",!0);let n=t.isFixedPos;$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemIsFixedPos").prop("checked",n);let o=t.border;$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderWidth").val(o.width),$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderRadius").val(o.radius),$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderStyle").val(o.style),$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderColor span").css("background-color",o.color).attr("title",o.color),e.init()},colorSelectDialog:function(e){let a=Q(),t=a.button,l=a.toolbar,n=a.imageCtrl;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-imageCtrl-colorSelect-dialog").remove(),$("body").append(we(ft,{id:"luckysheet-imageCtrl-colorSelect-dialog",addclass:"luckysheet-imageCtrl-colorSelect-dialog",title:n.borderTile,content:`<div class="currenColor">
${n.borderCur}:<span title="${e}" style="background-color:${e}"></span>
</div>
<div class="colorshowbox"></div>`,botton:`<button id="luckysheet-imageCtrl-colorSelect-dialog-confirm" class="btn btn-primary">${t.confirm}</button>
<button class="btn btn-default luckysheet-model-close-btn">${t.cancel}</button>`,style:"z-index:100003"}));let o=$("#luckysheet-imageCtrl-colorSelect-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-imageCtrl-colorSelect-dialog").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),$("#luckysheet-imageCtrl-colorSelect-dialog").find(".colorshowbox").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,showButtons:!1,maxPaletteSize:8,maxSelectionSize:8,color:e,cancelText:t.cancel,chooseText:l.confirmColor,togglePaletteMoreText:l.customColor,togglePaletteLessText:l.collapse,togglePaletteOnly:!0,clearText:l.clearText,noColorSelectedText:l.noColorSelectedText,localStorageKey:"spectrum.textcolor"+re.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],move:function(y){y!=null?y=y.toHexString():y="#000",$("#luckysheet-imageCtrl-colorSelect-dialog .currenColor span").css("background-color",y).attr("title",y)}})},init:function(){let e=this;$("#luckysheet-modal-dialog-slider-imageCtrl .luckysheet-model-close-btn").click(function(){$("#luckysheet-modal-dialog-slider-imageCtrl").hide(),Ft()}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.radio").on("change.radio",".radio-item input[type=radio][name=imgItemType]",function(){e.configChange("type",this.value)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.checkbox").on("change.checkbox",".slider-box-checkbox input[type=checkbox]",function(){e.configChange("fixedPos",this.checked)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.borderWidth").on("change.borderWidth","#imgItemBorderWidth",function(){e.configChange("border-width",this.valueAsNumber)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.borderRadius").on("change.borderRadius","#imgItemBorderRadius",function(){e.configChange("border-radius",this.valueAsNumber)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.borderStyle").on("change.borderStyle","#imgItemBorderStyle",function(){e.configChange("border-style",this.value)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("click.color").on("click.color","#imgItemBorderColor",function(){let a=$(this).find("span").attr("title");e.colorSelectDialog(a)}),$(document).off("click.selectColorConfirm").on("click.selectColorConfirm","#luckysheet-imageCtrl-colorSelect-dialog-confirm",function(){let a=$(this).parents("#luckysheet-imageCtrl-colorSelect-dialog");$("#luckysheet-modal-dialog-mask").hide(),a.hide();let t=a.find(".currenColor span").attr("title");$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderColor span").css("background-color",t).attr("title",t),e.configChange("border-color",t)}),$("#luckysheet-image-showBoxs").off("mousedown.active").on("mousedown.active",".luckysheet-modal-dialog-image",function(a){if(!St(h.currentSheetIndex,"editObjects",!1))return;$(this).hide();let t=$(this).attr("id");e.currentImgId!=null&&e.currentImgId!=t&&e.cancelActiveImgItem(),e.currentImgId=t;let l=e.images[t],n=e.getImgItemParam(l),o=n.width*h.zoomRatio,s=n.height*h.zoomRatio,u=n.left*h.zoomRatio,d=n.top*h.zoomRatio,f=n.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:o,height:s,left:u,top:d,position:f}),$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-image":"url("+l.src+")","background-size":l.default.width*h.zoomRatio+"px "+l.default.height*h.zoomRatio+"px","background-position":-l.crop.offsetLeft*h.zoomRatio+"px "+-l.crop.offsetTop*h.zoomRatio+"px"}),$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css({"border-width":l.border.width*h.zoomRatio,"border-style":l.border.style,"border-color":l.border.color,"border-radius":l.border.radius*h.zoomRatio,left:-l.border.width*h.zoomRatio,right:-l.border.width*h.zoomRatio,top:-l.border.width*h.zoomRatio,bottom:-l.border.width*h.zoomRatio}),e.sliderHtmlShow(),a.stopPropagation()}),$("#luckysheet-modal-dialog-activeImage").off("mousedown.move").on("mousedown.move",".luckysheet-modal-dialog-content",function(a){if(!St(h.currentSheetIndex,"editObjects",!1))return;$("#luckysheet-modal-dialog-slider-imageCtrl").is(":visible")||e.sliderHtmlShow(),e.move=!0,e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight;let t=$("#luckysheet-modal-dialog-activeImage").offset();e.moveXY=[a.pageX-t.left,a.pageY-t.top],Yl(!0),a.stopPropagation()}),$("#luckysheet-modal-dialog-activeImage").off("mousedown.resize").on("mousedown.resize",".luckysheet-modal-dialog-resize-item",function(a){if(!St(h.currentSheetIndex,"editObjects",!1))return;e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight,e.resize=$(this).data("type");let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),n=at(a.pageX,a.pageY),o=n[0]+l,s=n[1]+t,u=$("#luckysheet-modal-dialog-activeImage").position(),d=$("#luckysheet-modal-dialog-activeImage").width(),f=$("#luckysheet-modal-dialog-activeImage").height();e.resizeXY=[o,s,d,f,u.left+l,u.top+t,l,t],Yl(!0),a.stopPropagation()}),$("#luckysheet-modal-dialog-activeImage").off("mousedown.croppingEnter").on("mousedown.croppingEnter",".luckysheet-modal-controll-crop",function(a){e.croppingEnter(),a.stopPropagation()}),$("#luckysheet-modal-dialog-cropping").off("mousedown.croppingExit").on("mousedown.croppingExit",".luckysheet-modal-controll-crop",function(a){e.croppingExit(),a.stopPropagation()}),$("#luckysheet-modal-dialog-cropping").off("mousedown.cropChange").on("mousedown.cropChange",".resize-item",function(a){e.cropChange=$(this).data("type");let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),n=at(a.pageX,a.pageY),o=n[0]+l,s=n[1]+t;e.cropChangeXY=[o,s],Yl(!0),a.stopPropagation()}),$("#luckysheet-image-showBoxs").off("mousedown.restore").on("mousedown.restore",".luckysheet-modal-controll-restore",function(a){e.restoreImgItem(),a.stopPropagation()}),$("#luckysheet-image-showBoxs").off("mousedown.delete").on("mousedown.delete",".luckysheet-modal-controll-del",function(a){e.removeImgItem(),a.stopPropagation()})},configChange:function(e,a){let t=this,l=t.images[t.currentImgId];switch(e){case"type":l.type=a;break;case"fixedPos":l.isFixedPos=a;let n=t.getImgItemParam(l),o=n.width,s=n.height,u=n.left,d=n.top,f=n.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:o,height:s,left:u,top:d,position:f});break;case"border-width":l.border.width=a,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css({"border-width":a,left:-a,right:-a,top:-a,bottom:-a});break;case"border-radius":l.border.radius=a,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css("border-radius",a);break;case"border-style":l.border.style=a,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css("border-style",a);break;case"border-color":l.border.color=a,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css("border-color",a);break}t.ref()},getImgItemParam(e){let a=e.isFixedPos,t=e.default.width,l=e.default.height,n=e.default.left,o=e.default.top;(e.crop.width!=t||e.crop.height!=l)&&(t=e.crop.width,l=e.crop.height,n+=e.crop.offsetLeft,o+=e.crop.offsetTop);let s="absolute";return a&&(s="fixed",n=e.fixedLeft+e.crop.offsetLeft,o=e.fixedTop+e.crop.offsetTop),{width:t,height:l,left:n,top:o,position:s}},cancelActiveImgItem:function(){let e=this;$("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide();let a=e.images[e.currentImgId],t=e.getImgItemParam(a),l=t.width*h.zoomRatio,n=t.height*h.zoomRatio,o=t.left*h.zoomRatio,s=t.top*h.zoomRatio,u=t.position;$("#"+e.currentImgId).show().css({width:l,height:n,left:o,top:s,position:u}),$("#"+e.currentImgId+" img").css({width:a.default.width*h.zoomRatio,height:a.default.height*h.zoomRatio,left:-a.crop.offsetLeft*h.zoomRatio,top:-a.crop.offsetTop*h.zoomRatio}),$("#"+e.currentImgId+" .luckysheet-modal-dialog-border").css({"border-width":a.border.width*h.zoomRatio,"border-style":a.border.style,"border-color":a.border.color,"border-radius":a.border.radius*h.zoomRatio,left:-a.border.width*h.zoomRatio,right:-a.border.width*h.zoomRatio,top:-a.border.width*h.zoomRatio,bottom:-a.border.width*h.zoomRatio}),e.currentImgId=null},addImgItem:function(e){let a=this,t,l,n=400;e.originHeight<e.originWidth?(l=Math.round(e.originHeight*(n/e.originWidth)),t=n):(t=Math.round(e.originWidth*(n/e.originHeight)),l=n),a.images==null&&(a.images={});let o=$.extend(!0,{},a.imgItem);o.src=e.src,o.originWidth=e.originWidth,o.originHeight=e.originHeight,o.default.width=t,o.default.height=l,o.default.left=e.left,o.default.top=e.top,o.crop.width=t,o.crop.height=l;let s=$("#luckysheet-cell-main").scrollTop(),u=$("#luckysheet-cell-main").scrollLeft();o.fixedLeft=e.left-u+h.rowHeaderWidth,o.fixedTop=e.top-s+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight;let d=a.generateRandomId(),f=a.modelHtml(d,o);$("#luckysheet-image-showBoxs .img-list").append(f),a.images[d]=o,a.ref(),a.init()},moveImgItem:function(){let e=this;e.move=!1;let a=$("#luckysheet-modal-dialog-activeImage")[0],t=e.images[e.currentImgId];t.isFixedPos?(t.fixedLeft=a.offsetLeft-t.crop.offsetLeft,t.fixedTop=a.offsetTop-t.crop.offsetTop):(t.default.left=a.offsetLeft-t.crop.offsetLeft,t.default.top=a.offsetTop-t.crop.offsetTop),e.ref()},resizeImgItem:function(){let e=this;e.resize=null;let a=$("#luckysheet-modal-dialog-activeImage")[0],t=e.images[e.currentImgId],l=a.clientWidth/t.crop.width,n=a.clientHeight/t.crop.height;t.default.width=Math.round(t.default.width*l),t.default.height=Math.round(t.default.height*n),t.crop.width=Math.round(t.crop.width*l),t.crop.height=Math.round(t.crop.height*n),t.crop.offsetLeft=Math.round(t.crop.offsetLeft*l),t.crop.offsetTop=Math.round(t.crop.offsetTop*n),t.isFixedPos?(t.fixedLeft=a.offsetLeft,t.fixedTop=a.offsetTop):(t.default.left=a.offsetLeft-t.crop.offsetLeft,t.default.top=a.offsetTop-t.crop.offsetTop),e.ref()},croppingEnter:function(){let e=this;if(e.cropping=!0,!St(h.currentSheetIndex,"editObjects",!1))return;$("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide();let a=e.images[e.currentImgId],t=e.getImgItemParam(a),l=t.width,n=t.height,o=t.left,s=t.top,u=t.position;$("#luckysheet-modal-dialog-cropping").show().css({width:l,height:n,left:o,top:s,position:u}),$("#luckysheet-modal-dialog-cropping .cropping-mask").css({width:a.default.width,height:a.default.height,"background-image":"url("+a.src+")",left:-a.crop.offsetLeft,top:-a.crop.offsetTop}),$("#luckysheet-modal-dialog-cropping .cropping-content").css({"background-image":"url("+a.src+")","background-size":a.default.width+"px "+a.default.height+"px","background-position":-a.crop.offsetLeft+"px "+-a.crop.offsetTop+"px"}),$("#luckysheet-modal-dialog-cropping .luckysheet-modal-dialog-border").css({"border-width":a.border.width,"border-style":a.border.style,"border-color":a.border.color,"border-radius":a.border.radius,left:-a.border.width,right:-a.border.width,top:-a.border.width,bottom:-a.border.width})},croppingExit:function(){let e=this;e.cropping=!1,$("#luckysheet-modal-dialog-cropping").hide();let a=e.images[e.currentImgId],t=e.getImgItemParam(a),l=t.width,n=t.height,o=t.left,s=t.top,u=t.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:l,height:n,left:o,top:s,position:u}),$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-image":"url("+a.src+")","background-size":a.default.width+"px "+a.default.height+"px","background-position":-a.crop.offsetLeft+"px "+-a.crop.offsetTop+"px"})},cropChangeImgItem:function(){let e=this;e.cropChange=null;let a=e.images[e.currentImgId];a.crop.width=e.cropChangeObj.width,a.crop.height=e.cropChangeObj.height,a.crop.offsetLeft=e.cropChangeObj.offsetLeft,a.crop.offsetTop=e.cropChangeObj.offsetTop,e.ref()},restoreImgItem:function(){let e=this,a=e.images[e.currentImgId];a.default.width=a.originWidth,a.default.height=a.originHeight,a.crop.width=a.originWidth,a.crop.height=a.originHeight,a.crop.offsetLeft=0,a.crop.offsetTop=0;let t=e.getImgItemParam(a),l=t.width,n=t.height,o=t.left,s=t.top,u=t.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:l,height:n,left:o,top:s,position:u}),$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-image":"url("+a.src+")","background-size":a.default.width+"px "+a.default.height+"px","background-position":-a.crop.offsetLeft+"px "+-a.crop.offsetTop+"px"}),e.ref()},removeImgItem:function(){let e=this;$("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide(),$("#"+e.currentImgId).remove(),delete e.images[e.currentImgId],e.currentImgId=null,e.ref()},copyImgItem:function(e){let a=this;a.copyImgItemObj=$.extend(!0,{},a.images[a.currentImgId]);let t=window.clipboardData;t||(t=e.originalEvent.clipboardData);let l='<table data-type="luckysheet_copy_action_image"><tr><td><td></tr></table>';if(t)return t.setData("Text",l),!1;{let n=$("#luckysheet-copy-content");n.html(l),n.focus(),n.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout(function(){$("#luckysheet-copy-content").blur()},10)}},pasteImgItem:function(){let e=this;e.images==null&&(e.images={});let a=h.luckysheet_select_save[0].row_focus||0,t=h.luckysheet_select_save[0].column_focus||0,l=t==0?0:h.visibledatacolumn[t-1],n=a==0?0:h.visibledatarow[a-1],o=$.extend(!0,{},e.copyImgItemObj);o.default.left=l-o.crop.offsetLeft,o.default.top=n-o.crop.offsetTop;let s=$("#luckysheet-cell-main").scrollTop(),u=$("#luckysheet-cell-main").scrollLeft();o.fixedLeft=o.default.left-u+h.rowHeaderWidth,o.fixedTop=o.default.top-s+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight;let d=e.generateRandomId(),f=e.modelHtml(d,o);$("#luckysheet-image-showBoxs .img-list").append(f),e.images[d]=o,e.ref(),e.init()},allImagesShow:function(){let e=this;if($("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide(),$("#luckysheet-image-showBoxs .img-list").empty(),e.images!=null)for(let a in e.images){let t=e.images[a],l=e.modelHtml(a,t);$("#luckysheet-image-showBoxs .img-list").append(l)}},moveChangeSize:function(e,a,t){let l=this,n=$.extend(!0,{},l.images);if(e=="row"){let o=h.visibledatarow[a],s=a-1==-1?0:h.visibledatarow[a-1],u=t-(o-s-1);for(let d in n){let f=n[d],m=l.getImgItemParam(f),g=f.type;if(g=="1"){if(m.top>=o)f.default.top=m.top+u-f.crop.offsetTop;else if(m.top+m.height>=o-2)if(m.top<o+u){let y=(m.height+u)/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y)}else{let y=(m.top+m.height-o)/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y),f.default.top=o+u-f.crop.offsetTop}else if(m.top>o+u){let y=1/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y),f.default.top=o+u-f.crop.offsetTop}else if(m.top+m.height>o+u){let y=(o+u-m.top)/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y)}}else g=="2"&&(m.top>=o?f.default.top=m.top+u-f.crop.offsetTop:m.top>o+u&&(f.default.top=o+u-f.crop.offsetTop))}}else if(e=="column"){let o=h.visibledatacolumn[a],s=a-1==-1?0:h.visibledatacolumn[a-1],u=t-(o-s-1);for(let d in n){let f=n[d],m=l.getImgItemParam(f),g=f.type;if(g=="1"){if(m.left>=o)f.default.left=m.left+u-f.crop.offsetLeft;else if(m.left+m.width>=o-2)if(m.left<o+u){let y=(m.width+u)/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y)}else{let y=(m.left+m.width-o)/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y),f.default.left=o+u-f.crop.offsetLeft}else if(m.left>o+u){let y=1/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y),f.default.left=o+u-f.crop.offsetLeft}else if(m.left+m.width>o+u){let y=(o+u-m.left)/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y)}}else g=="2"&&(m.left>=o?f.default.left=m.left+u-f.crop.offsetLeft:m.left>o+u&&(f.default.left=o+u-f.crop.offsetLeft))}}return n},ref:function(){let e=this,a=h.luckysheetfile[Z(h.currentSheetIndex)],t=e.images;h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"imageCtrl",sheetIndex:h.currentSheetIndex,images:a.images==null?null:$.extend(!0,{},a.images),curImages:t})),a.images=$.extend(!0,{},t),re.saveParam("all",h.currentSheetIndex,a.images,{k:"images"})}},Re=Sy});var $y,Ye,dl=Ae(()=>{dt();Vt();At();Nl();Yt();ar();_l();Wt();Kt();jt();Xt();Zt();lr();hr();Rt();bt();Ke();$y={defaultItem:{type:"dropdown",type2:null,value1:"",value2:"",checked:!1,remote:!1,prohibitInput:!1,hintShow:!1,hintText:""},curItem:null,dataVerification:null,selectRange:[],selectStatus:!1,optionLabel:{number:"\u6570\u503C",number_integer:"\u6574\u6570",number_decimal:"\u5C0F\u6570",bw:"\u4ECB\u4E8E",nb:"\u4E0D\u4ECB\u4E8E",eq:"\u7B49\u4E8E",ne:"\u4E0D\u7B49\u4E8E",gt:"\u5927\u4E8E",lt:"\u5C0F\u4E8E",gte:"\u5927\u4E8E\u7B49\u4E8E",lte:"\u5C0F\u4E8E\u7B49\u4E8E",include:"\u5305\u62EC",exclude:"\u4E0D\u5305\u62EC",equal:"\u7B49\u4E8E",bf:"\u65E9\u4E8E",nbf:"\u4E0D\u65E9\u4E8E",af:"\u665A\u4E8E",naf:"\u4E0D\u665A\u4E8E",card:"\u8EAB\u4EFD\u8BC1\u53F7\u7801",phone:"\u624B\u673A\u53F7"},optionLabel_en:{number:"numeric",number_integer:"integer",number_decimal:"decimal",bw:"between",nb:"not between",eq:"equal to",ne:"not equal to",gt:"greater",lt:"less than",gte:"greater or equal to",lte:"less than or equal to",include:"include",exclude:"not include",equal:"equal to",bf:"earlier than",nbf:"not earlier than",af:"later than",naf:"not later than",card:"identification number",phone:"phone number"},createDialog:function(){let e=this,a=Q(),t=a.dataVerification,l=a.toolbar,n=a.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").remove();let o=`<div class="box">
<div class="box-item" style="border-top:1px solid #E1E4E8;">
<div class="box-item-title">${t.cellRange}</div>
<div id="data-verification-range" class="range">
<input class="formulaInputFocus" spellcheck="false">
<i class="fa fa-table" aria-hidden="true" title="${t.selectCellRange}"></i>
</div>
</div>
<div class="box-item">
<div class="box-item-title">${t.verificationCondition}</div>
<select id="data-verification-type-select">
<option value="dropdown">${t.dropdown}</option>
<option value="checkbox">${t.checkbox}</option>
<option value="number">${t.number}</option>
<option value="number_integer">${t.number_integer}</option>
<option value="number_decimal">${t.number_decimal}</option>
<option value="text_content">${t.text_content}</option>
<option value="text_length">${t.text_length}</option>
<option value="date">${t.date}</option>
<option value="validity">${t.validity}</option>
</select>
<div class="show-box">
<div class="show-box-item show-box-item-dropdown">
<div class="range">
<input class="formulaInputFocus data-verification-value1" placeholder="${t.placeholder1}" spellcheck="false">
<i class="fa fa-table" aria-hidden="true" title="${t.selectCellRange}"></i>
</div>
<div class="multi">
<input type="checkbox" id="data-verification-multi" class="data-verification-multi">
<label for="data-verification-multi">${t.allowMultiSelect}</label>
</div>
</div>
<div class="show-box-item show-box-item-checkbox">
<div class="check-box">
<span>${t.selected} \u2014\u2014</span>
<input type="text" class="data-verification-value1" placeholder="${t.placeholder2}">
</div>
<div class="check-box">
<span>${t.notSelected} \u2014\u2014</span>
<input type="text" class="data-verification-value2" placeholder="${t.placeholder2}">
</div>
</div>
<div class="show-box-item show-box-item-number">
<select id="data-verification-number-select">
<option value="bw">${t.between}</option>
<option value="nb">${t.notBetween}</option>
<option value="eq">${t.equal}</option>
<option value="ne">${t.notEqualTo}</option>
<option value="gt">${t.moreThanThe}</option>
<option value="lt">${t.lessThan}</option>
<option value="gte">${t.greaterOrEqualTo}</option>
<option value="lte">${t.lessThanOrEqualTo}</option>
</select>
<div class="input input1">
<input type="number" class="data-verification-value1" placeholder="1">
<span>-</span>
<input type="number" class="data-verification-value2" placeholder="100">
</div>
<div class="input input2">
<input type="number" class="data-verification-value1" placeholder="${t.placeholder3}">
</div>
</div>
<div class="show-box-item show-box-item-text">
<select id="data-verification-text-select">
<option value="include">${t.include}</option>
<option value="exclude">${t.exclude}</option>
<option value="equal">${t.equal}</option>
</select>
<div class="input input2">
<input type="text" class="data-verification-value1" placeholder="${t.placeholder4}"/>
</div>
</div>
<div class="show-box-item show-box-item-textLength">
<select id="data-verification-textLength-select">
<option value="bw">${t.between}</option>
<option value="nb">${t.notBetween}</option>
<option value="eq">${t.equal}</option>
<option value="ne">${t.notEqualTo}</option>
<option value="gt">${t.moreThanThe}</option>
<option value="lt">${t.lessThan}</option>
<option value="gte">${t.greaterOrEqualTo}</option>
<option value="lte">${t.lessThanOrEqualTo}</option>
</select>
<div class="input input1">
<input type="number" class="data-verification-value1" placeholder="1">
<span>-</span>
<input type="number" class="data-verification-value2" placeholder="100">
</div>
<div class="input input2">
<input type="number" class="data-verification-value1" placeholder="${t.placeholder3}">
</div>
</div>
<div class="show-box-item show-box-item-date">
<select id="data-verification-date-select">
<option value="bw">${t.between}</option>
<option value="nb">${t.notBetween}</option>
<option value="eq">${t.equal}</option>
<option value="ne">${t.notEqualTo}</option>
<option value="bf">${t.earlierThan}</option>
<option value="nbf">${t.noEarlierThan}</option>
<option value="af">${t.laterThan}</option>
<option value="naf">${t.noLaterThan}</option>
</select>
<div class="input input1">
<input type="date" class="data-verification-value1" placeholder="2020/9/10">
<span>-</span>
<input type="date" class="data-verification-value2" placeholder="2020/9/10">
</div>
<div class="input input2">
<input type="date" class="data-verification-value1" placeholder="2020/9/10">
</div>
</div>
<div class="show-box-item show-box-item-validity">
<select id="data-verification-validity-select">
<option value="card">${t.identificationNumber}</option>
<option value="phone">${t.phoneNumber}</option>
</select>
</div>
</div>
</div>
<div class="box-item">
<div class="check">
<input type="checkbox" id="data-verification-remote" class="data-verification-remote">
<label for="data-verification-remote">${t.remote}</label>
</div>
<div class="check">
<input type="checkbox" id="data-verification-prohibitInput">
<label for="data-verification-prohibitInput">${t.prohibitInput}</label>
</div>
<div class="check">
<input type="checkbox" id="data-verification-hint-show">
<label for="data-verification-hint-show">${t.hintShow}</label>
</div>
<div class="data-verification-hint-text">
<input type="text" placeholder="${t.placeholder5}">
</div>
</div>
</div>`;$("body").append(we(ft,{id:"luckysheet-dataVerification-dialog",addclass:"luckysheet-dataVerification-dialog",title:l.dataVerification,content:o,botton:`<button id="luckysheet-dataVerification-dialog-confirm" class="btn btn-primary">${n.confirm}</button>
<button id="luckysheet-dataVerification-dialog-delete" class="btn btn-default">${t.deleteVerification}</button>
<button class="btn btn-default luckysheet-model-close-btn">${n.cancel}</button>`,style:"z-index:100003"}));let s=$("#luckysheet-dataVerification-dialog").find(".luckysheet-modal-dialog-content").css("min-width",350).end(),u=s.outerHeight(),d=s.outerWidth(),f=$(window).width(),m=$(window).height(),g=$(document).scrollLeft(),y=$(document).scrollTop();$("#luckysheet-dataVerification-dialog").css({left:(f+g-d)/2,top:(m+y-u)/3}).show(),e.dataAllocation()},init:function(){let e=this,a=Q().dataVerification;$(document).off("click.dropdownBtn").on("click.dropdownBtn","#luckysheet-dataVerification-dropdown-btn",function(t){e.dropdownListShow(),t.stopPropagation()}),$(document).off("click.dropdownListItem").on("click.dropdownListItem","#luckysheet-dataVerification-dropdown-List .dropdown-List-item",function(t){var l=$(this);let n=t.target.innerText;l.hasClass("multi")?(l.toggleClass("checked"),n=$.map($("#luckysheet-dataVerification-dropdown-List").children().filter(".checked"),function(d){return d.innerText}).join(",")):$("#luckysheet-dataVerification-dropdown-List").hide();let o=h.luckysheet_select_save[h.luckysheet_select_save.length-1],s=o.row_focus,u=o.column_focus;$("#luckysheet-rich-text-editor").text(n),p.updatecell(s,u),t.stopPropagation()}),$(document).off("click.dvRange").on("click.dvRange","#data-verification-range .fa-table",function(t){$("#luckysheet-dataVerification-dialog").hide();let l="0",n=$(this).siblings("input").val().trim();e.rangeDialog(l,n),e.selectRange=[];let o=e.getRangeByTxt(n);if(p.rangetosheet=h.currentSheetIndex,o[0].sheetIndex!=h.currentSheetIndex&&ye.changeSheetExec(o[0].sheetIndex),o.length>0)for(let s=0;s<o.length;s++){let u=o[s].row[0],d=o[s].row[1],f=o[s].column[0],m=o[s].column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],b=f-1==-1?0:h.visibledatacolumn[f-1];e.selectRange.push({left:b,width:v-b-1,top:y,height:g-y-1,left_move:b,width_move:v-b-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f})}Mt(e.selectRange)}),$(document).off("click.dvRange2").on("click.dvRange2","#luckysheet-dataVerification-dialog .show-box-item-dropdown .range .fa-table",function(t){$("#luckysheet-dataVerification-dialog").hide();let l="1",n=$(this).siblings("input").val().trim();e.rangeDialog(l,n),e.selectRange=[];let o=e.getRangeByTxt(n);if(p.rangetosheet=h.currentSheetIndex,o[0].sheetIndex!=h.currentSheetIndex&&ye.changeSheetExec(o[0].sheetIndex),o.length>0)for(let s=0;s<o.length;s++){let u=o[s].row[0],d=o[s].row[1],f=o[s].column[0],m=o[s].column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],b=f-1==-1?0:h.visibledatacolumn[f-1];e.selectRange.push({left:b,width:v-b-1,top:y,height:g-y-1,left_move:b,width_move:v-b-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f})}Mt(e.selectRange)}),$(document).off("click.dvRangeConfirm").on("click.dvRangeConfirm","#luckysheet-dataVerificationRange-dialog-confirm",function(t){let l=$(this).attr("data-source"),n=$(this).parents("#luckysheet-dataVerificationRange-dialog").find("input").val();if(e.getRangeByTxt(n).length>1){j.info('<i class="fa fa-exclamation-triangle"></i>',"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5");return}l=="0"?$("#luckysheet-dataVerification-dialog #data-verification-range input").val(n):l=="1"&&$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .range input").val(n),$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").show(),p.rangetosheet!=null&&p.rangetosheet!=h.currentSheetIndex&&(ye.changeSheetExec(p.rangetosheet),p.rangetosheet=null),Mt([])}),$(document).off("click.dvRangeClose").on("click.dvRangeClose","#luckysheet-dataVerificationRange-dialog-close",function(t){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").show(),p.rangetosheet!=null&&p.rangetosheet!=h.currentSheetIndex&&(ye.changeSheetExec(p.rangetosheet),p.rangetosheet=null),Mt([])}),$(document).on("click","#luckysheet-dataVerificationRange-dialog .luckysheet-modal-dialog-title-close",function(t){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").show(),p.rangetosheet!=null&&p.rangetosheet!=h.currentSheetIndex&&(ye.changeSheetExec(p.rangetosheet),p.rangetosheet=null),Mt([])}),$(document).off("change.typeSelect").on("change.typeSelect","#data-verification-type-select",function(t){$("#luckysheet-dataVerification-dialog .show-box .show-box-item").hide();let l=this.value,n=e.curItem;if(l=="dropdown"){$("#luckysheet-dataVerification-dialog .show-box .show-box-item-dropdown").show();let o="";l==n.type&&(o=n.value1),$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .data-verification-value1").val(o),$("#luckysheet-dataVerification-dialog #data-verification-multi").prop("checked",!!n.type2)}else if(l=="checkbox"){$("#luckysheet-dataVerification-dialog .show-box .show-box-item-checkbox").show();let o="",s="";l==n.type&&(o=n.value1,s=n.value2),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value1").val(o),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value2").val(s)}else if(l=="number"||l=="number_integer"||l=="number_decimal"){$("#luckysheet-dataVerification-dialog .show-box-item-number").show(),$("#luckysheet-dataVerification-dialog .show-box-item-number .input").hide();let o="bw",s="",u="";(n.type=="number"||n.type=="number_integer"||n.type=="number_decimal")&&(o=n.type2,s=n.value1,u=n.value2),$("#luckysheet-dataVerification-dialog #data-verification-number-select").val(o),o=="bw"||o=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-number .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-number .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value1").val(s),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value2").val(u)}else if(l=="text_content"){$("#luckysheet-dataVerification-dialog .show-box-item-text").show();let o="include",s="";l==n.type&&(o=n.type2,s=n.value1),$("#luckysheet-dataVerification-dialog #data-verification-text-select").val(o),$("#luckysheet-dataVerification-dialog .show-box-item-text .data-verification-value1").val(s)}else if(l=="text_length"){$("#luckysheet-dataVerification-dialog .show-box-item-textLength").show(),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input").hide();let o="bw",s="",u="";l==n.type&&(o=n.type2,s=n.value1,u=n.value2),$("#luckysheet-dataVerification-dialog #data-verification-textLength-select").val(o),o=="bw"||o=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value1").val(s),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value2").val(u)}else if(l=="date"){$("#luckysheet-dataVerification-dialog .show-box-item-date").show(),$("#luckysheet-dataVerification-dialog .show-box-item-date .input").hide();let o="bw",s="",u="";l==n.type&&(o=n.type2,s=n.value1,u=n.value2),$("#luckysheet-dataVerification-dialog #data-verification-date-select").val(o),o=="bw"||o=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-date .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-date .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value1").val(s),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value2").val(u)}else if(l=="validity"){$("#luckysheet-dataVerification-dialog .show-box .show-box-item-validity").show();let o="card";l==n.type&&(o=n.type2),$("#luckysheet-dataVerification-dialog #data-verification-validity-select").val(o)}}),$(document).off("change.numberSelect").on("change.numberSelect","#data-verification-number-select",function(t){$("#luckysheet-dataVerification-dialog .show-box-item-number .input").hide();let l=this.value;l=="bw"||l=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-number .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-number .input2").show()}),$(document).off("change.dateSelect").on("change.dateSelect","#data-verification-date-select",function(t){$("#luckysheet-dataVerification-dialog .show-box-item-date .input").hide();let l=this.value;l=="bw"||l=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-date .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-date .input2").show()}),$(document).off("change.hintShow").on("change.hintShow","#data-verification-hint-show",function(t){this.checked?$("#luckysheet-dataVerification-dialog .data-verification-hint-text").show():$("#luckysheet-dataVerification-dialog .data-verification-hint-text").hide()}),$(document).off("click.dvSaveConfirm").on("click.dvSaveConfirm","#luckysheet-dataVerification-dialog-confirm",function(t){let l=$("#luckysheet-dataVerification-dialog #data-verification-range input").val().trim(),n=e.getRangeByTxt(l);if(n.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',a.selectCellRange2);return}let o=n[n.length-1].row[0],s=n[n.length-1].row[1],u=n[n.length-1].column[0],d=n[n.length-1].column[1],f=xe.deepCopyFlowData(h.flowdata);o<0&&(o=0),s>f.length-1&&(s=f.length-1),u<0&&(u=0),d>f[0].length-1&&(d=f[0].length-1);let m=$("#luckysheet-dataVerification-dialog #data-verification-type-select").val(),g=null,y="",v="";if(m=="dropdown"){if(y=$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .data-verification-value1").val().trim(),y.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo1);return}g=$("#luckysheet-dataVerification-dialog #data-verification-multi").is(":checked")}else if(m=="checkbox"){if(y=$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value1").val().trim(),v=$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value2").val().trim(),y.length==0||v.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo2);return}}else if(m=="number"||m=="number_integer"||m=="number_decimal"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-number-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-number .input:visible .data-verification-value1").val().trim(),!L(y)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo3);return}if(g=="bw"||g=="nb"){if(v=$("#luckysheet-dataVerification-dialog .show-box-item-number .input:visible .data-verification-value2").val().trim(),!L(v)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo3);return}if(Number(v)<Number(y)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo4);return}}}else if(m=="text_content"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-text-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-text .data-verification-value1").val().trim(),y.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo5);return}}else if(m=="text_length"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-textLength-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input:visible .data-verification-value1").val().trim(),!L(y)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo3);return}if(g=="bw"||g=="nb"){if(v=$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input:visible .data-verification-value2").val().trim(),!L(v)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo3);return}if(Number(v)<Number(y)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo4);return}}}else if(m=="date"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-date-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-date .input:visible .data-verification-value1").val().trim(),!qt(y)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo6);return}if(g=="bw"||g=="nb"){if(v=$("#luckysheet-dataVerification-dialog .show-box-item-date .input:visible .data-verification-value2").val().trim(),!qt(v)){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo6);return}if(sr(y,v)>0){j.info('<i class="fa fa-exclamation-triangle"></i>',a.tooltipInfo7);return}}}else m=="validity"&&(g=$("#luckysheet-dataVerification-dialog #data-verification-validity-select").val());let b=$("#luckysheet-dataVerification-dialog #data-verification-remote").is(":checked"),k=$("#luckysheet-dataVerification-dialog #data-verification-prohibitInput").is(":checked"),x=$("#luckysheet-dataVerification-dialog #data-verification-hint-show").is(":checked"),w="";x&&(w=$("#luckysheet-dataVerification-dialog .data-verification-hint-text input").val().trim());let _={type:m,type2:g,value1:y,value2:v,checked:!1,remote:b,prohibitInput:k,hintShow:x,hintText:w},S=$.extend(!0,{},e.dataVerification),C=$.extend(!0,{},e.dataVerification);for(let T=o;T<=s;T++)for(let R=u;R<=d;R++)C[T+"_"+R]=_,m=="checkbox"&&Ot(T,R,f,_.value2);m=="checkbox"?e.refOfCheckbox(S,C,h.currentSheetIndex,f,n[n.length-1]):e.ref(S,C,h.currentSheetIndex),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-dataVerification-dialog").hide()}),$(document).off("click.delete").on("click.delete","#luckysheet-dataVerification-dialog-delete",function(t){let l=$("#luckysheet-dataVerification-dialog #data-verification-range input").val().trim(),n=e.getRangeByTxt(l);if(n.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',a.selectCellRange2);return}let o=$.extend(!0,{},e.dataVerification),s=$.extend(!0,{},e.dataVerification),u=n[n.length-1].row[0],d=n[n.length-1].row[1],f=n[n.length-1].column[0],m=n[n.length-1].column[1];for(let g=u;g<=d;g++)for(let y=f;y<=m;y++)delete s[g+"_"+y];e.ref(o,s,h.currentSheetIndex),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-dataVerification-dialog").hide()}),$(document).on("click","#luckysheet-info .luckysheet-modal-dialog-title-close, #luckysheet-info .luckysheet-model-close-btn",function(t){$(this).parents("#luckysheet-info").hide(),$("#luckysheet-dataVerification-dialog").is(":visible")&&$("#luckysheet-modal-dialog-mask").show(),t.stopPropagation()})},dataAllocation:function(){let e=this,a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=kt(h.currentSheetIndex,a,h.currentSheetIndex);$("#luckysheet-dataVerification-dialog #data-verification-range input").val(t);let l=a.row_focus||a.row[0],n=a.column_focus||a.column[0],s=$.extend(!0,{},e.dataVerification)[l+"_"+n];s==null&&(s=$.extend(!0,{},e.defaultItem)),e.curItem=s,$("#luckysheet-dataVerification-dialog #data-verification-type-select").val(s.type),$("#luckysheet-dataVerification-dialog .show-box .show-box-item").hide(),s.type=="dropdown"?($("#luckysheet-dataVerification-dialog .show-box .show-box-item-dropdown").show(),$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog #data-verification-multi").prop("checked",!!s.type2)):s.type=="checkbox"?($("#luckysheet-dataVerification-dialog .show-box .show-box-item-checkbox").show(),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value2").val(s.value2)):s.type=="number"||s.type=="number_integer"||s.type=="number_decimal"?($("#luckysheet-dataVerification-dialog .show-box-item-number").show(),$("#luckysheet-dataVerification-dialog #data-verification-number-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-number .input").hide(),s.type2=="bw"||s.type2=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-number .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-number .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value2").val(s.value2)):s.type=="text_content"?($("#luckysheet-dataVerification-dialog .show-box-item-text").show(),$("#luckysheet-dataVerification-dialog #data-verification-text-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-text .data-verification-value1").val(s.value1)):s.type=="text_length"?($("#luckysheet-dataVerification-dialog .show-box-item-textLength").show(),$("#luckysheet-dataVerification-dialog #data-verification-textLength-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input").hide(),s.type2=="bw"||s.type2=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value2").val(s.value2)):s.type=="date"?($("#luckysheet-dataVerification-dialog .show-box-item-date").show(),$("#luckysheet-dataVerification-dialog #data-verification-date-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-date .input").hide(),s.type2=="bw"||s.type2=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-date .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-date .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value2").val(s.value2)):s.type=="validity"&&($("#luckysheet-dataVerification-dialog .show-box .show-box-item-validity").show(),$("#luckysheet-dataVerification-dialog #data-verification-validity-select").val(s.type2)),$("#luckysheet-dataVerification-dialog #data-verification-remote").prop("checked",s.remote),$("#luckysheet-dataVerification-dialog #data-verification-prohibitInput").prop("checked",s.prohibitInput),$("#luckysheet-dataVerification-dialog #data-verification-hint-show").prop("checked",s.hintShow),s.hintShow?$("#luckysheet-dataVerification-dialog .data-verification-hint-text").show():$("#luckysheet-dataVerification-dialog .data-verification-hint-text").hide(),$("#luckysheet-dataVerification-dialog .data-verification-hint-text input").val(s.hintText)},rangeDialog:function(e,a){let t=this,l=Q(),n=l.dataVerification,o=l.button;$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-dataVerificationRange-dialog").remove(),$("body").append(we(ft,{id:"luckysheet-dataVerificationRange-dialog",addclass:"luckysheet-dataVerificationRange-dialog",title:n.selectCellRange,content:`<input readonly="readonly" placeholder="${n.selectCellRange2}" value="${a}"/>`,botton:`<button id="luckysheet-dataVerificationRange-dialog-confirm" class="btn btn-primary" data-source="${e}">${o.confirm}</button>
<button id="luckysheet-dataVerificationRange-dialog-close" class="btn btn-default">${o.close}</button>`,style:"z-index:100003"}));let s=$("#luckysheet-dataVerificationRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),u=s.outerHeight(),d=s.outerWidth(),f=$(window).width(),m=$(window).height(),g=$(document).scrollLeft(),y=$(document).scrollTop();$("#luckysheet-dataVerificationRange-dialog").css({left:(f+g-d)/2,top:(m+y-u)/3}).show()},getTxtByRange:function(e){if(e.length>0){let a=[];for(let t=0;t<e.length;t++){let l=e[t].row[0],n=e[t].row[1],o=e[t].column[0],s=e[t].column[1];a.push(kt(h.currentSheetIndex,{row:[l,n],column:[o,s]},h.currentSheetIndex))}return a.join(",")}},getRangeByTxt:function(e){let a=[];if(e.indexOf(",")!=-1){let t=e.split(",");for(let l=0;l<t.length;l++)if(p.iscelldata(t[l]))a.push(p.getcellrange(t[l]));else{a=[];break}}else p.iscelldata(e)&&a.push(p.getcellrange(e));return a},cellFocus:function(e,a,t){$("#luckysheet-dataVerification-dropdown-btn").hide(),$("#luckysheet-dataVerification-showHintBox").hide();let l=this;if(l.dataVerification==null||l.dataVerification[e+"_"+a]==null){$("#luckysheet-dataVerification-dropdown-List").hide();return}let n=h.visibledatarow[e],o=e==0?0:h.visibledatarow[e-1],s=h.visibledatacolumn[a],u=a==0?0:h.visibledatacolumn[a-1],d=be.mergeborer(h.flowdata,e,a);d&&(n=d.row[1],o=d.row[0],s=d.column[1],u=d.column[0]);let f=l.dataVerification[e+"_"+a];if(t&&f.type=="checkbox"){l.checkboxChange(e,a);return}if(f.type=="dropdown"?($("#luckysheet-dataVerification-dropdown-btn").show().css({"max-width":s-u,"max-height":n-o,left:s-20,top:o+(n-o-20)/2}),$("#luckysheet-dataVerification-dropdown-List").is(":visible")&&$("#luckysheet-dataVerification-dropdown-List").prop("data-index")!=e+"_"+a&&$("#luckysheet-dataVerification-dropdown-List").hide()):$("#luckysheet-dataVerification-dropdown-List").hide(),f.hintShow){let y;h.lang=="en"?y='<span style="color:#f5a623;">Hint: </span>':y='<span style="color:#f5a623;">\u63D0\u793A\uFF1A</span>',y+=l.getHintText(f),$("#luckysheet-dataVerification-showHintBox").html(y).show().css({left:u,top:n});return}let m=ze(e,a,null);if(de(m))return;if(!l.validateCellData(m,f)){let y;h.lang=="en"?y='<span style="color:#f72626;">Failure: </span>':y='<span style="color:#f72626;">\u5931\u6548\uFF1A</span>',y+=l.getFailureText(f),$("#luckysheet-dataVerification-showHintBox").html(y).show().css({left:u,top:n})}},getHintText:function(e){let a=this,t=e.hintText||"";return t.length==0&&(h.lang=="en"?e.type=="dropdown"?t+="please select an option in the drop-down list":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="please enter a "+a.optionLabel_en[e.type]+" "+a.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="text_content"?t+="please enter text "+a.optionLabel_en[e.type2]+" "+e.value1:e.type=="text_length"?(t+="please enter text with length "+a.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="date"?(t+="please enter a date "+a.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="validity"&&(t+="please enter the correct "+a.optionLabel_en[e.type2])):e.type=="dropdown"?t+="\u8BF7\u9009\u62E9\u4E0B\u62C9\u5217\u8868\u4E2D\u7684\u9009\u9879":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="\u8BF7\u8F93\u5165"+a.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684"+a.optionLabel[e.type]):e.type=="text_content"?t+="\u8BF7\u8F93\u5165\u5185\u5BB9"+a.optionLabel[e.type2]+e.value1+"\u7684\u6587\u672C":e.type=="text_length"?(t+="\u8BF7\u8F93\u5165\u957F\u5EA6"+a.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u6587\u672C"):e.type=="date"?(t+="\u8BF7\u8F93\u5165"+a.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u65E5\u671F"):e.type=="validity"&&(t+="\u8BF7\u8F93\u5165\u6B63\u786E\u7684"+a.optionLabel[e.type2]))),t},getFailureText:function(e){let a=this,t="";return h.lang=="en"?e.type=="dropdown"?t+="what you selected is not an option in the drop-down list":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="what you entered is not a "+a.optionLabel_en[e.type]+" "+a.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="text_content"?t+="what you entered is not text that "+a.optionLabel_en[e.type2]+" "+e.value1:e.type=="text_length"?(t+="the text you entered is not length "+a.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="date"?(t+="the date you entered is not "+a.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="validity"&&(t+="what you entered is not a correct "+a.optionLabel_en[e.type2])):e.type=="dropdown"?t+="\u4F60\u9009\u62E9\u7684\u4E0D\u662F\u4E0B\u62C9\u5217\u8868\u4E2D\u7684\u9009\u9879":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F"+a.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684"+a.optionLabel[e.type]):e.type=="text_content"?t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F\u5185\u5BB9"+a.optionLabel[e.type2]+e.value1+"\u7684\u6587\u672C":e.type=="text_length"?(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F\u957F\u5EA6"+a.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u6587\u672C"):e.type=="date"?(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F"+a.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u65E5\u671F"):e.type=="validity"&&(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F\u4E00\u4E2A\u6B63\u786E\u7684"+a.optionLabel[e.type2])),t},validateCellData:function(e,a){let t=this,l=a.type,n=a.type2,o=a.value1,s=a.value2;if(l=="dropdown"){let u=t.getDropdownList(o);if(n&&e)return e.split(",").every(function(f){return u.indexOf(f)!==-1});let d=!1;for(let f=0;f<u.length;f++)if(u[f]==e){d=!0;break}return d}else if(l!="checkbox"){if(l=="number"||l=="number_integer"||l=="number_decimal"){if(!L(e)||(e=Number(e),l=="number_integer"&&e%1!=0)||l=="number_decimal"&&e%1==0||(o=Number(o),s=Number(s),n=="bw"&&(e<o||e>s))||n=="nb"&&e>=o&&e<=s||n=="eq"&&e!=o||n=="ne"&&e==o||n=="gt"&&e<=o||n=="lt"&&e>=o||n=="gte"&&e<o||n=="lte"&&e>o)return!1}else if(l=="text_content"){if(e=e.toString(),o=o.toString(),n=="include"&&e.indexOf(o)==-1||n=="exclude"&&e.indexOf(o)>-1||n=="equal"&&e!=o)return!1}else if(l=="text_length"){if(e=e.toString().length,o=Number(o),s=Number(s),n=="bw"&&(e<o||e>s)||n=="nb"&&e>=o&&e<=s||n=="eq"&&e!=o||n=="ne"&&e==o||n=="gt"&&e<=o||n=="lt"&&e>=o||n=="gte"&&e<o||n=="lte"&&e>o)return!1}else if(l=="date"){if(!qt(e)||n=="bw"&&(sr(e,o)<0||sr(e,s)>0)||n=="nb"&&sr(e,o)>=0&&sr(e,s)<=0||n=="eq"&&sr(e,o)!=0||n=="ne"&&sr(e,o)==0||n=="bf"&&sr(e,o)>=0||n=="nbf"&&sr(e,o)<0||n=="af"&&sr(e,o)<=0||n=="naf"&&sr(e,o)>0)return!1}else if(l=="validity"&&(n=="card"&&!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(e)||n=="phone"&&!/^[1][3,4,5,7,8][0-9]{9}$/.test(e)))return!1}return!0},dropdownListShow:function(){$("#luckysheet-dataVerification-showHintBox").hide();let e=this,a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=a.row_focus,l=a.column_focus,n=h.visibledatarow[t],o=t==0?0:h.visibledatarow[t-1],s=h.visibledatacolumn[l],u=l==0?0:h.visibledatacolumn[l-1],d=be.mergeborer(h.flowdata,t,l);d&&(n=d.row[1],o=d.row[0],s=d.column[1],u=d.column[0]);let f=e.dataVerification[t+"_"+l],m=e.getDropdownList(f.value1),g="";if(f.type==="dropdown"&&f.type2){let b=ze(t,l,null),k=de(b)?[]:b.split(",");m.forEach(x=>{g+=`<div class="dropdown-List-item luckysheet-mousedown-cancel multi${k.indexOf(x)!==-1?" checked":""}">${x}</div>`})}else m.forEach(b=>{g+=`<div class="dropdown-List-item luckysheet-mousedown-cancel">${b}</div>`});$("#luckysheet-dataVerification-dropdown-List").html(g).prop("data-index",t+"_"+l).show().css({width:s-u-1,left:u,top:n});let y=$("#luckysheet-dataVerification-dropdown-List").outerHeight(),v=$("#luckysheet-cell-main")[0].scrollHeight;n+y>v-42-6&&$("#luckysheet-dataVerification-dropdown-List").css({top:o-y})},getDropdownList:function(e){let a=[];if(p.iscelldata(e)){let t=p.getcellrange(e),l=h.luckysheetfile[Z(t.sheetIndex)].data;for(let n=t.row[0];n<=t.row[1];n++)for(let o=t.column[0];o<=t.column[1];o++){if(l[n]==null)continue;let s=l[n][o];if(s==null||s.v==null)continue;let u=s.m||s.v;a.includes(u)||a.push(u)}}else{let t=e.split(",");for(let l=0;l<t.length;l++){let n=t[l];n.length!=0&&(a.includes(n)||a.push(n))}}return a},checkboxChange:function(e,a){let t=this,l=$.extend(!0,{},t.dataVerification),n=$.extend(!0,{},t.dataVerification),o=n[e+"_"+a];o.checked=!o.checked;let s=o.value2;o.checked&&(s=o.value1);let u=xe.deepCopyFlowData(h.flowdata);Ot(e,a,u,s),t.refOfCheckbox(l,n,h.currentSheetIndex,u,{row:[e,e],column:[a,a]})},ref:function(e,a,t){let l=this;if(h.clearjfundo){h.jfundo.length=0;let n={};n.type="updateDataVerification",n.sheetIndex=t,n.historyDataVerification=e,n.currentDataVerification=a,h.jfredo.push(n)}l.dataVerification=a,h.luckysheetfile[Z(t)].dataVerification=a,re.allowUpdate&&re.saveParam("all",t,a,{k:"dataVerification"}),setTimeout(function(){Le()},1)},refOfCheckbox:function(e,a,t,l,n){let o=this;if(h.clearjfundo){h.jfundo.length=0;let s={};s.type="updateDataVerificationOfCheckbox",s.sheetIndex=t,s.historyDataVerification=e,s.currentDataVerification=a,s.data=h.flowdata,s.curData=l,s.range=n,h.jfredo.push(s)}o.dataVerification=a,h.luckysheetfile[Z(t)].dataVerification=a,h.flowdata=l,xe.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[Z(t)].data=h.flowdata,re.allowUpdate&&(re.saveParam("all",t,a,{k:"dataVerification"}),re.historyParam(h.flowdata,t,n)),setTimeout(function(){Le()},1)}},Ye=$y});function Cl(e,a,t,l,n){if(n=n||h.currentSheetIndex,e=="row"&&!St(n,"insertRows"))return;if(e=="column"&&!St(n,"insertColumns"))return;let o=Z(n),s=h.luckysheetfile[o],u=$.extend(!0,[],s.data);t=Math.floor(t);let d=$.extend(!0,{},s.config);d.merge==null&&(d.merge={});let f={};for(let N in d.merge){let D=d.merge[N],F=D.r,M=D.c,z=D.rs,O=D.cs;e=="row"?a<F?f[F+t+"_"+M]={r:F+t,c:M,rs:z,cs:O}:a==F?l=="lefttop"?f[F+t+"_"+M]={r:F+t,c:M,rs:z,cs:O}:f[F+"_"+M]={r:F,c:M,rs:z+t,cs:O}:a<F+z-1?f[F+"_"+M]={r:F,c:M,rs:z+t,cs:O}:a==F+z-1?l=="lefttop"?f[F+"_"+M]={r:F,c:M,rs:z+t,cs:O}:f[F+"_"+M]={r:F,c:M,rs:z,cs:O}:f[F+"_"+M]={r:F,c:M,rs:z,cs:O}:e=="column"&&(a<M?f[F+"_"+(M+t)]={r:F,c:M+t,rs:z,cs:O}:a==M?l=="lefttop"?f[F+"_"+(M+t)]={r:F,c:M+t,rs:z,cs:O}:f[F+"_"+M]={r:F,c:M,rs:z,cs:O+t}:a<M+O-1?f[F+"_"+M]={r:F,c:M,rs:z,cs:O+t}:a==M+O-1?l=="lefttop"?f[F+"_"+M]={r:F,c:M,rs:z,cs:O+t}:f[F+"_"+M]={r:F,c:M,rs:z,cs:O}:f[F+"_"+M]={r:F,c:M,rs:z,cs:O})}d.merge=f;let m=s.calcChain,g=[];if(m!=null&&m.length>0)for(let N=0;N<m.length;N++){let D=$.extend(!0,{},m[N]),F=D.r,M=D.c,z=D.index,O=Nr(F,M,z);if(e=="row"){let H="="+p.functionStrChange(O,"add","row",l,a,t);u[F][M]&&u[F][M].f==O&&(u[F][M].f=H),l=="lefttop"?F>=a&&(D.r+=t):l=="rightbottom"&&F>a&&(D.r+=t),g.push(D)}else if(e=="column"){let H="="+p.functionStrChange(O,"add","col",l,a,t);u[F][M]&&u[F][M].f==O&&(u[F][M].f=H),l=="lefttop"?M>=a&&(D.c+=t):l=="rightbottom"&&M>a&&(D.c+=t),g.push(D)}}let y=s.filter_select,v=s.filter,b=null;if(y!=null&&JSON.stringify(y)!="{}"){b={filter_select:null,filter:null};let N=y.row[0],D=y.row[1],F=y.column[0],M=y.column[1];if(e=="row"){if(N<a?(D==a&&l=="lefttop"||D>a)&&(D+=t):N==a?l=="lefttop"?(N+=t,D+=t):l=="rightbottom"&&D>a&&(D+=t):(N+=t,D+=t),v!=null){b.filter={};for(let z in v){let O=v[z].rowhidden,H={};for(let U in O)U=parseFloat(U),U<a?H[U]=0:U==a?l=="lefttop"?H[U+t]=0:l=="rightbottom"&&(H[U]=0):H[U+t]=0;b.filter[z]=$.extend(!0,{},v[z]),b.filter[z].rowhidden=H,b.filter[z].str=N,b.filter[z].edr=D}}}else if(e=="column"&&(F<a?(M==a&&l=="lefttop"||M>a)&&(M+=t):F==a?l=="lefttop"?(F+=t,M+=t):l=="rightbottom"&&M>a&&(M+=t):(F+=t,M+=t),v!=null)){b.filter={};for(let z in v){let O=v[z].cindex;(O==a&&l=="lefttop"||O>a)&&(O+=t),b.filter[O-F]=$.extend(!0,{},v[z]),b.filter[O-F].cindex=O,b.filter[O-F].stc=F,b.filter[O-F].edc=M}}b.filter_select={row:[N,D],column:[F,M]}}if(b!=null&&b.filter!=null){d.rowhidden==null&&(d.rowhidden={});for(let N in b.filter){let D=b.filter[N].rowhidden;for(let F in D)d.rowhidden[F]=0}}let k=s.luckysheet_conditionformat_save,x=[];if(k!=null&&k.length>0)for(let N=0;N<k.length;N++){let D=k[N].cellrange,F=[];for(let z=0;z<D.length;z++){let O=D[z].row[0],H=D[z].row[1],U=D[z].column[0],X=D[z].column[1];e=="row"?O<a?(H==a&&l=="lefttop"||H>a)&&(H+=t):O==a?l=="lefttop"?(O+=t,H+=t):l=="rightbottom"&&H>a&&(H+=t):(O+=t,H+=t):e=="column"&&(U<a?(X==a&&l=="lefttop"||X>a)&&(X+=t):U==a?l=="lefttop"?(U+=t,X+=t):l=="rightbottom"&&X>a&&(X+=t):(U+=t,X+=t)),F.push({row:[O,H],column:[U,X]})}let M=$.extend(!0,{},k[N]);M.cellrange=F,x.push(M)}let w=s.luckysheet_alternateformat_save,_=[];if(w!=null&&w.length>0)for(let N=0;N<w.length;N++){let D=w[N].cellrange.row[0],F=w[N].cellrange.row[1],M=w[N].cellrange.column[0],z=w[N].cellrange.column[1],O=$.extend(!0,{},w[N]);e=="row"?D<a?(F==a&&l=="lefttop"||F>a)&&(F+=t):D==a?l=="lefttop"?(D+=t,F+=t):l=="rightbottom"&&F>a&&(F+=t):(D+=t,F+=t):e=="column"&&(M<a?(z==a&&l=="lefttop"||z>a)&&(z+=t):M==a?l=="lefttop"?(M+=t,z+=t):l=="rightbottom"&&z>a&&(z+=t):(M+=t,z+=t)),O.cellrange={row:[D,F],column:[M,z]},_.push(O)}let S={freezenhorizontaldata:null,freezenverticaldata:null};if(W.freezenhorizontaldata!=null&&e=="row"){let N=W.freezenhorizontaldata[2],D=W.freezenhorizontaldata[1]-1;(D==a&&l=="lefttop"||D>a)&&(D+=t);let F=h.visibledatarow[D]-2-N+h.columnHeaderHeight;S.freezenhorizontaldata=[h.visibledatarow[D],D+1,N,W.cutVolumn(h.visibledatarow,D+1),F]}else S.freezenhorizontaldata=W.freezenhorizontaldata;if(W.freezenverticaldata!=null&&e=="column"){let N=W.freezenverticaldata[2],D=W.freezenverticaldata[1]-1;(D==a&&l=="lefttop"||D>a)&&(D+=t);let F=h.visibledatacolumn[D]-2-N+h.rowHeaderWidth;S.freezenverticaldata=[h.visibledatacolumn[D],D+1,N,W.cutVolumn(h.visibledatacolumn,D+1),F]}else S.freezenverticaldata=W.freezenverticaldata;let C=s.dataVerification,T={};if(C!=null)for(let N in C){let D=Number(N.split("_")[0]),F=Number(N.split("_")[1]),M=C[N];if(e=="row")if(a<D)T[D+t+"_"+F]=M;else if(a==D)if(l=="lefttop"){T[D+t+"_"+F]=M;for(let z=0;z<t;z++)T[D+z+"_"+F]=M}else{T[D+"_"+F]=M;for(let z=0;z<t;z++)T[D+z+1+"_"+F]=M}else T[D+"_"+F]=M;else if(e=="column")if(a<F)T[D+"_"+(F+t)]=M;else if(a==F)if(l=="lefttop"){T[D+"_"+(F+t)]=M;for(let z=0;z<t;z++)T[D+"_"+(F+z)]=M}else{T[D+"_"+F]=M;for(let z=0;z<t;z++)T[D+"_"+(F+z+1)]=M}else T[D+"_"+F]=M}let R=s.hyperlink,I={};if(R!=null)for(let N in R){let D=Number(N.split("_")[0]),F=Number(N.split("_")[1]),M=R[N];e=="row"?a<D||a==D&&l=="lefttop"?I[D+t+"_"+F]=M:I[D+"_"+F]=M:e=="column"&&(a<F||a==F&&l=="lefttop"?I[D+"_"+(F+t)]=M:I[D+"_"+F]=M)}let A;if(e=="row"){if(A="r",d.rowlen!=null){let M={};for(let z in d.rowlen)z=parseFloat(z),z<a?M[z]=d.rowlen[z]:z==a?l=="lefttop"?M[z+t]=d.rowlen[z]:l=="rightbottom"&&(M[z]=d.rowlen[z]):M[z+t]=d.rowlen[z];d.rowlen=M}if(d.rowhidden!=null){let M={};for(let z in d.rowhidden)z=parseFloat(z),z<a?M[z]=d.rowhidden[z]:z==a?l=="lefttop"?M[z+t]=d.rowhidden[z]:l=="rightbottom"&&(M[z]=d.rowhidden[z]):M[z+t]=d.rowhidden[z];d.rowhidden=M}let N=[],D=[...u][a];for(let M=0;M<u[0].length;M++){let z=D[M],O=z?ti(Ve({},z),{v:"",m:""}):h.defaultCell;N.push(O)}if(d.borderInfo&&d.borderInfo.length>0){let M=[];for(let z=0;z<d.borderInfo.length;z++){let O=d.borderInfo[z].rangeType;if(O=="range"){let H=d.borderInfo[z].range,U=[];for(let X=0;X<H.length;X++){let Y=H[X].row[0],ee=H[X].row[1];l=="lefttop"?a<=Y?(Y+=t,ee+=t):a<=ee&&(ee+=t):a<Y?(Y+=t,ee+=t):a<ee&&(ee+=t),ee>=Y&&U.push({row:[Y,ee],column:H[X].column})}if(U.length>0){let X={rangeType:"range",borderType:d.borderInfo[z].borderType,style:d.borderInfo[z].style,color:d.borderInfo[z].color,range:U};M.push(X)}}else if(O=="cell"){let H=d.borderInfo[z].value.row_index;l=="lefttop"?a<=H&&(H+=t):a<H&&(H+=t),d.borderInfo[z].value.row_index=H,M.push(d.borderInfo[z])}}d.borderInfo=M}let F=[];for(let M=0;M<t;M++)F.push(JSON.stringify(N));l=="lefttop"?a==0?new Function("d","return d.unshift("+F.join(",")+")")(u):new Function("d","return d.splice("+a+", 0, "+F.join(",")+")")(u):new Function("d","return d.splice("+(a+1)+", 0, "+F.join(",")+")")(u)}else{if(A="c",d.columnlen!=null){let F={};for(let M in d.columnlen)M=parseFloat(M),M<a?F[M]=d.columnlen[M]:M==a?l=="lefttop"?F[M+t]=d.columnlen[M]:l=="rightbottom"&&(F[M]=d.columnlen[M]):F[M+t]=d.columnlen[M];d.columnlen=F}if(d.colhidden!=null){let F={};for(let M in d.colhidden)M=parseFloat(M),M<a?F[M]=d.colhidden[M]:M==a?l=="lefttop"?F[M+t]=d.colhidden[M]:l=="rightbottom"&&(F[M]=d.colhidden[M]):F[M+t]=d.colhidden[M];d.colhidden=F}let N=[],D=[...u];for(let F=0;F<u.length;F++){let M=D[F][a],z=M?ti(Ve({},M),{v:"",m:""}):h.defaultCell;N.push(z)}if(d.borderInfo&&d.borderInfo.length>0){let F=[];for(let M=0;M<d.borderInfo.length;M++){let z=d.borderInfo[M].rangeType;if(z=="range"){let O=d.borderInfo[M].range,H=[];for(let U=0;U<O.length;U++){let X=O[U].column[0],Y=O[U].column[1];l=="lefttop"?a<=X?(X+=t,Y+=t):a<=Y&&(Y+=t):a<X?(X+=t,Y+=t):a<Y&&(Y+=t),Y>=X&&H.push({row:O[U].row,column:[X,Y]})}if(H.length>0){let U={rangeType:"range",borderType:d.borderInfo[M].borderType,style:d.borderInfo[M].style,color:d.borderInfo[M].color,range:H};F.push(U)}}else if(z=="cell"){let O=d.borderInfo[M].value.col_index;l=="lefttop"?a<=O&&(O+=t):a<O&&(O+=t),d.borderInfo[M].value.col_index=O,F.push(d.borderInfo[M])}}d.borderInfo=F}for(let F=0;F<u.length;F++){let M=u[F];for(let z=0;z<t;z++)l=="lefttop"?a==0?M.unshift(N[F]):M.splice(a,0,N[F]):M.splice(a+1,0,N[F])}}s.index==h.currentSheetIndex?Pa(u,d,"addRC",{index:a,len:t,direction:l,rc:A,restore:!1},g,b,x,_,S,T,I):(s.data=u,s.config=d,s.calcChain=g,s.filter=b.filter,s.filter_select=b.filter_select,s.luckysheet_conditionformat_save=x,s.luckysheet_alternateformat_save=_,s.dataVerification=T,s.hyperlink=I);let E=null;if(e=="row"?l=="lefttop"?E=[{row:[a,a+t-1],column:[0,u[0].length-1]}]:E=[{row:[a+1,a+t],column:[0,u[0].length-1]}]:l=="lefttop"?E=[{row:[0,u.length-1],column:[a,a+t-1]}]:E=[{row:[0,u.length-1],column:[a+1,a+t]}],s.luckysheet_select_save=E,s.index==h.currentSheetIndex&&(h.luckysheet_select_save=E,et()),e=="row"){let N=$("#luckysheet-cell-main").scrollLeft(),D=$("#luckysheet-cell-main").scrollTop(),F=$("#luckysheet-cell-main").height(),M=$("#luckysheet-cell-main").width(),z=h.visibledatarow[E[0].row[1]],O=E[0].row[0]-1==-1?0:h.visibledatarow[E[0].row[0]-1];z-D-F+20>0?$("#luckysheet-scrollbar-y").scrollTop(z-F+20):O-D-20<0&&$("#luckysheet-scrollbar-y").scrollTop(O-20),t>30&&($("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide())}}function go(e,a){let t=xe.deepCopyFlowData(h.flowdata),l=$.extend(!0,{},h.config);l.merge==null&&(l.merge={});let n=t[0].length,o=or([],e,n);t=t.concat(o);for(let s=0;s<a.length;s++){let u=a[s].r,d=a[s].c,f=a[s].v;Ot(u,d,t,f),f!=null&&f.mc!=null&&f.mc.rs!=null&&(l.merge[f.mc.r+"_"+f.mc.c]=$.extend(!0,{},f.mc))}h.flowdata=t,xe.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[Z(h.currentSheetIndex)].data=t,h.config=l,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,_t(h.flowdata.length,h.flowdata[0].length)}function Na(e,a,t,l){if(l=l||h.currentSheetIndex,e=="row"&&!St(l,"deleteRows"))return;if(e=="column"&&!St(l,"deleteColumns"))return;let n=Z(l),o=h.luckysheetfile[n],s=$.extend(!0,[],o.data);if(a<0&&(a=0),t<0&&(t=0),e=="row"?(a>s.length-1&&(a=s.length-1),t>s.length-1&&(t=s.length-1)):(a>s[0].length-1&&(a=s[0].length-1),t>s[0].length-1&&(t=s[0].length-1)),a>t)return;let u=t-a+1,d=$.extend(!0,{},o.config);d.merge==null&&(d.merge={});let f={};for(let E in d.merge){let N=d.merge[E],D=N.r,F=N.c,M=N.rs,z=N.cs;e=="row"?D<a?D+M-1<a?f[D+"_"+F]={r:D,c:F,rs:M,cs:z}:D+M-1>=a&&D+M-1<t?f[D+"_"+F]={r:D,c:F,rs:a-D,cs:z}:D+M-1>=t&&(f[D+"_"+F]={r:D,c:F,rs:M-u,cs:z}):D>=a&&D<=t?D+M-1>t&&(f[a+"_"+F]={r:a,c:F,rs:D+M-1-t,cs:z}):D>t&&(f[D-u+"_"+F]={r:D-u,c:F,rs:M,cs:z}):e=="column"&&(F<a?F+z-1<a?f[D+"_"+F]={r:D,c:F,rs:M,cs:z}:F+z-1>=a&&F+z-1<t?f[D+"_"+F]={r:D,c:F,rs:M,cs:a-F}:F+z-1>=t&&(f[D+"_"+F]={r:D,c:F,rs:M,cs:z-u}):F>=a&&F<=t?F+z-1>t&&(f[D+"_"+a]={r:D,c:a,rs:M,cs:F+z-1-t}):F>t&&(f[D+"_"+(F-u)]={r:D,c:F-u,rs:M,cs:z}))}d.merge=f;let m=o.calcChain,g=[];if(m!=null&&m.length>0)for(let E=0;E<m.length;E++){let N=$.extend(!0,{},m[E]),D=N.r,F=N.c,M=N.index,z=Nr(D,F,M);if(e=="row"){if(D<a||D>t){let O="="+p.functionStrChange(z,"del","row",null,a,u);s[D][F]&&s[D][F].f==z&&(s[D][F].f=O),D>t&&(N.r=D-u),g.push(N)}}else if(e=="column"&&(F<a||F>t)){let O="="+p.functionStrChange(z,"del","col",null,a,u);s[D][F]&&s[D][F].f==z&&(s[D][F].f=O),F>t&&(N.c=F-u),g.push(N)}}let y=o.filter_select,v=o.filter,b=null;if(y!=null&&JSON.stringify(y)!="{}"){b={filter_select:null,filter:null};let E=y.row[0],N=y.row[1],D=y.column[0],F=y.column[1];if(e=="row"){if(E>t?(E-=u,N-=u,b.filter_select={row:[E,N],column:[D,F]}):E<a&&(N<a||(N<=t?N=a-1:N-=u),b.filter_select={row:[E,N],column:[D,F]}),b.filter_select!=null&&v!=null)for(let M in v){let z=v[M].rowhidden,O={};for(let H in z)H<a?O[H]=0:H>t&&(O[H-u]=0);JSON.stringify(O)!="{}"&&(b.filter==null&&(b.filter={}),b.filter[M]=$.extend(!0,{},v[M]),b.filter[M].rowhidden=O,b.filter[M].str=E,b.filter[M].edr=N)}}else if(e=="column"&&(D>t?(D-=u,F-=u,b.filter_select={row:[E,N],column:[D,F]}):D<a?(F<a||(F<=t?F=a-1:F-=u),b.filter_select={row:[E,N],column:[D,F]}):F>t&&(D=a,F-=u,b.filter_select={row:[E,N],column:[D,F]}),b.filter_select!=null&&v!=null))for(let M in v){let z=v[M].cindex;z<a?(b.filter==null&&(b.filter={}),b.filter[z-D]=$.extend(!0,{},v[M]),b.filter[z-D].edc=F):z>t&&(z-=u,b.filter==null&&(b.filter={}),b.filter[z-D]=$.extend(!0,{},v[M]),b.filter[z-D].cindex=z,b.filter[z-D].stc=D,b.filter[z-D].edc=F)}}if(b!=null&&b.filter!=null){d.rowhidden==null&&(d.rowhidden={});for(let E in b.filter){let N=b.filter[E].rowhidden;for(let D in N)d.rowhidden[D]=0}}let k=o.luckysheet_conditionformat_save,x=[];if(k!=null&&k.length>0)for(let E=0;E<k.length;E++){let N=k[E].cellrange,D=[];for(let F=0;F<N.length;F++){let M=N[F].row[0],z=N[F].row[1],O=N[F].column[0],H=N[F].column[1];e=="row"?M>=a&&z<=t||(M>t?(M-=u,z-=u):M<a?z<a||(z<=t?z=a-1:z-=u):z>t&&(M=a,z-=u),D.push({row:[M,z],column:[O,H]})):e=="column"&&(O>=a&&H<=t||(O>t?(O-=u,H-=u):O<a?H<a||(H<=t?H=a-1:H-=u):H>t&&(O=a,H-=u),D.push({row:[M,z],column:[O,H]})))}if(D.length>0){let F=$.extend(!0,{},k[E]);F.cellrange=D,x.push(F)}}let w=o.luckysheet_alternateformat_save,_=[];if(w!=null&&w.length>0)for(let E=0;E<w.length;E++){let N=w[E].cellrange.row[0],D=w[E].cellrange.row[1],F=w[E].cellrange.column[0],M=w[E].cellrange.column[1];if(e=="row"){if(!(N>=a&&D<=t)){let z=$.extend(!0,{},w[E]);N>t?(N-=u,D-=u):N<a?D<a||(D<=t?D=a-1:D-=u):D>t&&(N=a,D-=u),z.cellrange={row:[N,D],column:[F,M]},_.push(z)}}else if(e=="column"&&!(F>=a&&M<=t)){let z=$.extend(!0,{},w[E]);F>t?(F-=u,M-=u):F<a?M<a||(M<=t?M=a-1:M-=u):M>t&&(F=a,M-=u),z.cellrange={row:[N,D],column:[F,M]},_.push(z)}}let S={freezenhorizontaldata:null,freezenverticaldata:null};if(W.freezenhorizontaldata!=null&&e=="row"){let E=W.freezenhorizontaldata[2],N=lt(h.visibledatarow,E);N==-1&&(N=0);let D=W.freezenhorizontaldata[1]-1;D>=a&&(D<t?D=a-1:D-=u),D<N&&(D=N);let F=h.visibledatarow[D]-2-E+h.columnHeaderHeight;S.freezenhorizontaldata=[h.visibledatarow[D],D+1,E,W.cutVolumn(h.visibledatarow,D+1),F]}else S.freezenhorizontaldata=W.freezenhorizontaldata;if(W.freezenverticaldata!=null&&e=="column"){let E=W.freezenverticaldata[2],N=lt(h.visibledatacolumn,E);N==-1&&(N=0);let D=W.freezenverticaldata[1]-1;D>=a&&(D<t?D=a-1:D-=u),D<N&&(D=N);let F=h.visibledatacolumn[D]-2-E+h.rowHeaderWidth;S.freezenverticaldata=[h.visibledatacolumn[D],D+1,E,W.cutVolumn(h.visibledatacolumn,D+1),F]}else S.freezenverticaldata=W.freezenverticaldata;let C=o.dataVerification,T={};if(C!=null)for(let E in C){let N=Number(E.split("_")[0]),D=Number(E.split("_")[1]),F=C[E];e=="row"?N<a?T[N+"_"+D]=F:N>t&&(T[N-u+"_"+D]=F):e=="column"&&(D<a?T[N+"_"+D]=F:D>t&&(T[N+"_"+(D-u)]=F))}let R=o.hyperlink,I={};if(R!=null)for(let E in R){let N=Number(E.split("_")[0]),D=Number(E.split("_")[1]),F=R[E];e=="row"?N<a?I[N+"_"+D]=F:N>t&&(I[N-u+"_"+D]=F):e=="column"&&(D<a?I[N+"_"+D]=F:D>t&&(I[N+"_"+(D-u)]=F))}let A;if(e=="row"){A="r",d.rowlen==null&&(d.rowlen={});let E={};for(let D in d.rowlen)D<a?E[D]=d.rowlen[D]:D>t&&(E[D-u]=d.rowlen[D]);d.rowlen=E,d.rowhidden==null&&(d.rowhidden={});let N={};for(let D in d.rowhidden)D<a?N[D]=d.rowhidden[D]:D>t&&(N[D-u]=d.rowhidden[D]);if(d.rowhidden=N,d.borderInfo&&d.borderInfo.length>0){let D=[];for(let F=0;F<d.borderInfo.length;F++){let M=d.borderInfo[F].rangeType;if(M=="range"){let z=d.borderInfo[F].range,O=[];for(let H=0;H<z.length;H++){let U=z[H].row[0],X=z[H].row[1];for(let Y=a;Y<=t;Y++)Y<z[H].row[0]?(U-=1,X-=1):Y<=z[H].row[1]&&(X-=1);X>=U&&O.push({row:[U,X],column:z[H].column})}if(O.length>0){let H={rangeType:"range",borderType:d.borderInfo[F].borderType,style:d.borderInfo[F].style,color:d.borderInfo[F].color,range:O};D.push(H)}}else if(M=="cell"){let z=d.borderInfo[F].value.row_index;z<a?D.push(d.borderInfo[F]):z>t&&(d.borderInfo[F].value.row_index=z-(t-a+1),D.push(d.borderInfo[F]))}}d.borderInfo=D}s.splice(a,u);for(let D=0;D<u;D++){let F=[];for(let M=0;M<s[0].length;M++)F.push(null);s.push(F)}}else{A="c",d.columnlen==null&&(d.columnlen={});let E={};for(let F in d.columnlen)F<a?E[F]=d.columnlen[F]:F>t&&(E[F-u]=d.columnlen[F]);d.columnlen=E,d.colhidden==null&&(d.colhidden={});let N={};for(let F in d.colhidden)F<a?N[F]=d.colhidden[F]:F>t&&(N[F-u]=d.colhidden[F]);if(d.colhidden=N,d.borderInfo&&d.borderInfo.length>0){let F=[];for(let M=0;M<d.borderInfo.length;M++){let z=d.borderInfo[M].rangeType;if(z=="range"){let O=d.borderInfo[M].range,H=[];for(let U=0;U<O.length;U++){let X=O[U].column[0],Y=O[U].column[1];for(let ee=a;ee<=t;ee++)ee<O[U].column[0]?(X-=1,Y-=1):ee<=O[U].column[1]&&(Y-=1);Y>=X&&H.push({row:O[U].row,column:[X,Y]})}if(H.length>0){let U={rangeType:"range",borderType:d.borderInfo[M].borderType,style:d.borderInfo[M].style,color:d.borderInfo[M].color,range:H};F.push(U)}}else if(z=="cell"){let O=d.borderInfo[M].value.col_index;O<a?F.push(d.borderInfo[M]):O>t&&(d.borderInfo[M].value.col_index=O-(t-a+1),F.push(d.borderInfo[M]))}}d.borderInfo=F}let D=[];for(let F=0;F<u;F++)D.push(null);for(let F=0;F<s.length;F++){let M=[].concat(s[F]);M.splice(a,u),s[F]=M.concat(D)}}o.index==h.currentSheetIndex?Pa(s,d,"delRC",{index:a,len:t-a+1,rc:A},g,b,x,_,S,T,I):(o.data=s,o.config=d,o.calcChain=g,o.filter=b.filter,o.filter_select=b.filter_select,o.luckysheet_conditionformat_save=x,o.luckysheet_alternateformat_save=_,o.dataVerification=T,o.hyperlink=I)}function rn(e,a,t,l,n,o){if(o=o||h.currentSheetIndex,!Bl(o))return;let s=Z(o),u=h.luckysheetfile[s],d=$.extend(!0,[],u.data),f=t-a+1,m=n-l+1,g=$.extend(!0,{},h.config);g.merge==null&&(g.merge={});let y={};for(let E in g.merge){let N=g.merge[E],D=N.r,F=N.c,M=N.rs,z=N.cs;if(e=="moveLeft")if(a>D+M-1||t<D||l>F+z-1)y[D+"_"+F]={r:D,c:F,rs:M,cs:z};else if(a<=D&&t>=D+M-1&&n<F)y[D+"_"+(F-m)]={r:D,c:F-m,rs:M,cs:z};else for(let O=D;O<=D+M-1;O++)for(let H=F;H<=F+z-1;H++)delete d[O][H].mc;else if(e=="moveUp")if(l>F+z-1||n<F||a>D+M-1)y[D+"_"+F]={r:D,c:F,rs:M,cs:z};else if(l<=F&&n>=F+z-1&&t<D)y[D-f+"_"+F]={r:D-f,c:F,rs:M,cs:z};else for(let O=D;O<=D+M-1;O++)for(let H=F;H<=F+z-1;H++)delete d[O][H].mc}g.merge=y;let v=u.calcChain,b=[];if(v!=null&&v.length>0)for(let E=0;E<v.length;E++){let N=$.extend(!0,{},v[E]),D=N.r,F=N.c,M=N.index,z=Nr(D,F,M);if(D<a||D>t||F<l||F>n){let O;e=="moveLeft"?(O="="+p.functionStrChange(z,"del","col",null,l,m),F>n&&D>=a&&D<=t&&(N.c=F-m)):e=="moveUp"&&(O="="+p.functionStrChange(z,"del","row",null,a,f),D>t&&F>=l&&F<=n&&(N.r=D-f)),d[D][F]&&d[D][F].f==z&&(d[D][F].f=O),b.push(N)}}let k=u.filter_select,x=u.filter,w=null;if(k!=null&&JSON.stringify(k)!="{}"){w={filter_select:null,filter:null};let E=k.row[0],N=k.row[1],D=k.column[0],F=k.column[1];if(e=="moveUp")if(D>=l&&F<=n){if(E>t?w.filter_select={row:[E-f,N-f],column:[D,F]}:N<a?w.filter_select={row:[E,N],column:[D,F]}:E<a&&(N>t?w.filter_select={row:[E,N-f],column:[D,F]}:w.filter_select={row:[E,a-1],column:[D,F]}),w.filter_select!=null&&x!=null)for(let M in x){let z=x[M].rowhidden,O={};for(let H in z)H<a?O[H]=0:H>t&&(O[H-slen]=0);w.filter==null&&(w.filter={}),w.filter[M]=$.extend(!0,{},x[M]),JSON.stringify(O)!="{}"&&(w.filter[M].rowhidden=O),w.filter[M].str=w.filter_select.row[0],w.filter[M].edr=w.filter_select.row[1]}}else if(E>=a&&N<=t){if(D>n?w.filter_select={row:[E,N],column:[D,F]}:D>=l?F>n&&(w.filter_select={row:[E,N],column:[l,F-m]}):F<l?w.filter_select={row:[E,N],column:[D,F]}:F<=n?w.filter_select={row:[E,N],column:[D,l-1]}:w.filter_select={row:[E,N],column:[D,F-m]},w.filter_select!=null&&x!=null)for(let M in x){let z=w.filter_select.column[0],O=w.filter_select.column[1],H=x[M].cindex;if(H<l||H>n){w.filter==null&&(w.filter={}),H>n&&(H-=m);let U=H-z;w.filter[U]=$.extend(!0,{},x[M]),w.filter[U].cindex=H,w.filter[U].stc=z,w.filter[U].edc=O}}}else w.filter_select={row:[E,N],column:[D,F]},x!=null&&(w.filter=x);else if(e=="moveLeft")if(E>=a&&N<=t){if(D>n?w.filter_select={row:[E,N],column:[D-m,F-m]}:F<l?w.filter_select={row:[E,N],column:[D,F]}:D<l&&(F>n?w.filter_select={row:[E,N],column:[D,F-m]}:w.filter_select={row:[E,N],column:[D,l-1]}),w.filter_select!=null&&x!=null)for(let M in x){let z=w.filter_select.column[0],O=w.filter_select.column[1],H=x[M].cindex;if(H<l||H>n){w.filter==null&&(w.filter={}),H>n&&(H-=m);let U=H-z;w.filter[U]=$.extend(!0,{},x[M]),w.filter[U].cindex=H,w.filter[U].stc=z,w.filter[U].edc=O}}}else D>=l&&F<=n?(E<a||E>t)&&(w.filter_select={row:[E,N],column:[D,F]},x!=null&&(w.filter=x)):(w.filter_select={row:[E,N],column:[D,F]},x!=null&&(w.filter=x))}if(w!=null&&w.filter!=null){g.rowhidden==null&&(g.rowhidden={});for(let E in w.filter){let N=w.filter[E].rowhidden;for(let D in N)g.rowhidden[D]=0}}let _=u.luckysheet_conditionformat_save,S=[];if(_!=null&&_.length>0)for(let E=0;E<_.length;E++){let N=_[E].cellrange,D=[];for(let F=0;F<N.length;F++){let M=N[F].row[0],z=N[F].row[1],O=N[F].column[0],H=N[F].column[1];a<=M&&t>=z&&l<=O&&n>=H||(D=Od(e,a,t,l,n,M,z,O,H,f,m))}if(D.length>0){let F=$.extend(!0,{},_[E]);F.cellrange=D,S.push(F)}}let C=u.dataVerification,T={};if(C!=null)for(let E in C){let N=Number(E.split("_")[0]),D=Number(E.split("_")[1]),F=C[E];(N<a||N>t||D<l||D>n)&&(e=="moveLeft"?D>n&&N>=a&&N<=t?T[N+"_"+(D-m)]=F:T[N+"_"+D]=F:e=="moveUp"&&(N>t&&D>=l&&D<=n?T[N-f+"_"+D]=F:T[N+"_"+D]=F))}let R=u.hyperlink,I={};if(R!=null)for(let E in R){let N=Number(E.split("_")[0]),D=Number(E.split("_")[1]),F=R[E];(N<a||N>t||D<l||D>n)&&(e=="moveLeft"?D>n&&N>=a&&N<=t?I[N+"_"+(D-m)]=F:I[N+"_"+D]=F:e=="moveUp"&&(N>t&&D>=l&&D<=n?I[N-f+"_"+D]=F:I[N+"_"+D]=F))}if(g.borderInfo&&g.borderInfo.length>0){let E=[];for(let N=0;N<g.borderInfo.length;N++){let D=g.borderInfo[N].rangeType;if(D=="range"){let F=g.borderInfo[N].range,M=[];for(let z=0;z<F.length;z++){let O=F[z].row[0],H=F[z].row[1],U=F[z].column[0],X=F[z].column[1];a<=O&&t>=H&&l<=U&&n>=X||(M=Od(e,a,t,l,n,O,H,U,X,f,m))}if(M.length>0){let z={rangeType:"range",borderType:g.borderInfo[N].borderType,style:g.borderInfo[N].style,color:g.borderInfo[N].color,range:M};E.push(z)}}else if(D=="cell"){let F=g.borderInfo[N].value.row_index,M=g.borderInfo[N].value.col_index;(F<a||F>t||M<l||M>n)&&(e=="moveLeft"?M>n&&F>=a&&F<=t&&(M-=m,g.borderInfo[N].value.col_index=M):e=="moveUp"&&F>t&&M>=l&&M<=n&&(F-=f,g.borderInfo[N].value.row_index=F),E.push(g.borderInfo[N]))}}g.borderInfo=E}let A=[];for(let E=l;E<=n;E++)A.push(null);if(e=="moveUp"){let E=[];for(let D=a;D<=d.length-1;D++){let F=[];for(let M=l;M<=n;M++)F.push(d[D][M]);E.push(F)}E.splice(0,f);let N=[];for(let D=a;D<=t;D++)N.push(A);E=E.concat(N);for(let D=a;D<=d.length-1;D++)for(let F=l;F<=n;F++)d[D][F]=E[D-a][F-l]}else if(e=="moveLeft")for(let E=a;E<=t;E++)d[E].splice(l,m),d[E]=d[E].concat(A);u.index==h.currentSheetIndex?Ti(d,g,{type:e,str:a,edr:t,stc:l,edc:n},b,w,S,T,I):(u.data=d,u.config=g,u.calcChain=b,u.filter=w.filter,u.filter_select=w.filter_select,u.luckysheet_conditionformat_save=S,u.dataVerification=T,u.hyperlink=I)}function Od(e,a,t,l,n,o,s,u,d,f,m){let g=[];if(e=="moveLeft"){if(a>s||t<o||l>d)g.push({row:[o,s],column:[u,d]});else if(n<u){if(a<=o&&t>=s)g.push({row:[o,s],column:[u-m,d-m]});else if(a>o&&t<s){let y=[{row:[o,a-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[a,t],column:[u-m,d-m]}];g=g.concat(y)}else if(a>o){let y=[{row:[o,a-1],column:[u,d]},{row:[a,s],column:[u-m,d-m]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u-m,d-m]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(n>=u){if(l<=u&&n>=d){if(a>o&&t<s){let y=[{row:[o,a-1],column:[u,d]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}else if(a>o){let y=[{row:[o,a-1],column:[u,d]}];g=g.concat(y)}else if(t<s){let y=[{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(l>u&&n<d){if(a<=o&&t>=s)g.push({row:[o,s],column:[u,d-m]});else if(a>o&&t<s){let y=[{row:[o,a-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[a,t],column:[u,d-m]}];g=g.concat(y)}else if(a>o){let y=[{row:[o,a-1],column:[u,d]},{row:[a,s],column:[u,d-m]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u,d-m]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(l>u){if(a<=o&&t>=s)g.push({row:[o,s],column:[u,l-1]});else if(a>o&&t<s){let y=[{row:[o,a-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[a,t],column:[u,l-1]}];g=g.concat(y)}else if(a>o){let y=[{row:[o,a-1],column:[u,d]},{row:[a,s],column:[u,l-1]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u,l-1]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(n<d){if(a<=o&&t>=s)g.push({row:[o,s],column:[u-m,d-m]});else if(a>o&&t<s){let y=[{row:[o,a-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[a,t],column:[u-m,d-m]}];g=g.concat(y)}else if(a>o){let y=[{row:[o,a-1],column:[u,d]},{row:[a,s],column:[u-m,d-m]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u-m,d-m]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}}}else if(e=="moveUp"){if(l>d||n<u||a>s)g.push({row:[o,s],column:[u,d]});else if(t<o){if(l<=u&&n>=d)g.push({row:[o-f,s-f],column:[u,d]});else if(l>u&&n<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[n+1,d]},{row:[o-f,s-f],column:[l,n]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o-f,s-f],column:[l,d]}];g=g.concat(y)}else if(n<d){let y=[{row:[o-f,s-f],column:[u,n]},{row:[o,s],column:[n+1,d]}];g=g.concat(y)}}else if(t>=o){if(a<=o&&t>=s){if(l>u&&n<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[n+1,d]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]}];g=g.concat(y)}else if(n<d){let y=[{row:[o,s],column:[n+1,d]}];g=g.concat(y)}}else if(a>o&&t<s){if(l<=u&&n>=d)g.push({row:[o,s-f],column:[u,d]});else if(l>u&&n<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[n+1,d]},{row:[o,s-f],column:[l,n]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s-f],column:[l,d]}];g=g.concat(y)}else if(n<d){let y=[{row:[o,s-f],column:[u,n]},{row:[o,s],column:[n+1,d]}];g=g.concat(y)}}else if(a>o){if(l<=u&&n>=d)g.push({row:[o,a-1],column:[u,d]});else if(l>u&&n<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[n+1,d]},{row:[o,a-1],column:[l,n]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o,a-1],column:[l,d]}];g=g.concat(y)}else if(n<d){let y=[{row:[o,a-1],column:[u,n]},{row:[o,s],column:[n+1,d]}];g=g.concat(y)}}else if(t<s){if(l<=u&&n>=d)g.push({row:[o-f,s-f],column:[u,d]});else if(l>u&&n<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[n+1,d]},{row:[o-f,s-f],column:[l,n]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o-f,s-f],column:[l,d]}];g=g.concat(y)}else if(n<d){let y=[{row:[o-f,s-f],column:[u,n]},{row:[o,s],column:[n+1,d]}];g=g.concat(y)}}}}return g}var ln=Ae(()=>{Kt();Vt();Yt();Wt();_l();hl();Or();Xt();Ml();Dr();Rt();Ke()});function zs(e,a,t,l,n){n==null&&(n=!0),h.visibledatarow=[],h.visibledatacolumn=[],h.ch_width=0,h.rh_height=0,h.zoomRatio=1,l!=null?h.config=l:h.config={},t.length==0?h.flowdata=or(t,a,e):t.length<a&&t[0].length<e?h.flowdata=or(t,a-t.length,e-t[0].length):t.length<a?h.flowdata=or(t,a-t.length,0):t[0].length<e?h.flowdata=or(t,0,e-t[0].length):h.flowdata=t,xe.webWorkerFlowDataCache(h.flowdata),ua(a,e),n&&(ye.showSheet(),setTimeout(function(){ye.restoreCache(),p.execFunctionGroup(),ye.restoreSheetAll(h.currentSheetIndex),Le()},1))}var Bd=Ae(()=>{Wt();Kt();_i();Vt();Yt();hr();Ke()});var Fn,Ay,ut,Wr=Ae(()=>{Zt();jt();hr();Vt();Ol();dl();ta();Or();Rt();ln();xr();Kt();Bd();Ke();Fn={defaultStore:{container:null,luckysheetfile:null,defaultcolumnNum:60,defaultrowNum:84,fullscreenmode:!0,devicePixelRatio:1,currentSheetIndex:0,calculateSheetIndex:0,flowdata:[],config:{},visibledatarow:[],visibledatacolumn:[],ch_width:0,rh_height:0,cellmainWidth:0,cellmainHeight:0,toolbarHeight:0,infobarHeight:0,calculatebarHeight:0,rowHeaderWidth:46,columnHeaderHeight:20,cellMainSrollBarSize:12,sheetBarHeight:31,statisticBarHeight:23,luckysheetTableContentHW:[0,0],defaultcollen:73,defaultrowlen:19,jfcountfuncTimeout:null,jfautoscrollTimeout:null,luckysheet_select_status:!1,luckysheet_select_save:[{row:[0,0],column:[0,0]}],luckysheet_selection_range:[],luckysheet_copy_save:{},luckysheet_paste_iscut:!1,filterchage:!0,luckysheet_filter_save:{row:[],column:[]},luckysheet_sheet_move_status:!1,luckysheet_sheet_move_data:[],luckysheet_scroll_status:!1,luckysheetisrefreshdetail:!0,luckysheetisrefreshtheme:!0,luckysheetcurrentisPivotTable:!1,luckysheet_rows_selected_status:!1,luckysheet_cols_selected_status:!1,luckysheet_rows_change_size:!1,luckysheet_rows_change_size_start:[],luckysheet_cols_change_size:!1,luckysheet_cols_change_size_start:[],luckysheet_cols_dbclick_timeout:null,luckysheet_cols_dbclick_times:0,luckysheetCellUpdate:[],luckysheet_shiftpositon:null,iscopyself:!0,orderbyindex:0,luckysheet_model_move_state:!1,luckysheet_model_xy:[0,0],luckysheet_model_move_obj:null,luckysheet_cell_selected_move:!1,luckysheet_cell_selected_move_index:[],luckysheet_cell_selected_extend:!1,luckysheet_cell_selected_extend_index:[],luckysheet_cell_selected_extend_time:null,clearjfundo:!0,jfredo:[],jfundo:[],lang:"en",createChart:"",highlightChart:"",zIndex:15,chartparam:{luckysheetCurrentChart:null,luckysheetCurrentChartActive:!1,luckysheetCurrentChartMove:null,luckysheetCurrentChartMoveTimeout:null,luckysheetCurrentChartMoveObj:null,luckysheetCurrentChartMoveXy:null,luckysheetCurrentChartMoveWinH:null,luckysheetCurrentChartMoveWinW:null,luckysheetCurrentChartResize:null,luckysheetCurrentChartResizeObj:null,luckysheetCurrentChartResizeXy:null,luckysheetCurrentChartResizeWinH:null,luckysheetCurrentChartResizeWinW:null,luckysheetInsertChartTosheetChange:!0,luckysheetCurrentChartZIndexRank:100,luckysheet_chart_redo_click:!1,luckysheetCurrentChartMaxState:!1,jfrefreshchartall:"",changeChartCellData:"",renderChart:"",getChartJson:""},functionList:null,luckysheet_function:null,chart_selection:{},currentChart:"",scrollRefreshSwitch:!0,measureTextCache:{},measureTextCellInfoCache:{},measureTextCacheTimeOut:null,cellOverflowMapCache:{},zoomRatio:1,visibledatacolumn_unique:null,visibledatarow_unique:null,showGridLines:!0,toobarObject:{},inlineStringEditCache:null,inlineStringEditRange:null,fontList:[],currentSheetView:"viewNormal"},defaultFormula:{searchFunctionCell:null,functionlistPosition:{},rangechangeindex:null,rangestart:!1,rangetosheet:null,rangeSetValueTo:null,func_selectedrange:{},rangedrag_column_start:!1,rangedrag_row_start:!1,rangeResizeObj:null,rangeResize:null,rangeResizeIndex:null,rangeResizexy:null,rangeResizeWinH:null,rangeResizeWinW:null,rangeResizeTo:null,rangeMovexy:null,rangeMove:!1,rangeMoveObj:null,rangeMoveIndex:null,rangeMoveRangedata:null,functionHTMLIndex:0,functionRangeIndex:null,execvertex:{},execFunctionGroupData:null,execFunctionExist:null,formulaContainSheetList:{},cellTextToIndexList:{},isFunctionRangeSave:!1,execvertex:{},execFunctionGroupData:null,execFunctionExist:null,formulaContainSheetList:{},formulaContainCellList:{},cellTextToIndexList:{},execFunctionGlobalData:{},groupValuesRefreshData:[],functionResizeData:{},functionResizeStatus:!1,functionResizeTimeout:null,data_parm_index:0},defaultSheet:{sheetMaxIndex:0,nulldata:null,mergeCalculationSheet:{},checkLoadSheetIndexToDataIndex:{},CacheNotLoadControll:[]},defaultPivotTable:{pivotDatas:null,pivotSheetIndex:0,pivotDataSheetIndex:0,celldata:null,origindata:null,pivot_data_type:{},pivot_select_save:null,column:null,row:null,values:null,filter:null,showType:null,rowhidden:null,selected:null,caljs:null,initial:!0,filterparm:null,luckysheet_pivotTable_select_state:!1,jgridCurrentPivotInput:null,movestate:!1,moveitemposition:[],movesave:{},drawPivotTable:!0,pivotTableBoundary:[12,6]},defaultImage:{imgItem:{type:"3",src:"",originWidth:null,originHeight:null,default:{width:null,height:null,left:null,top:null},crop:{width:null,height:null,offsetLeft:0,offsetTop:0},isFixedPos:!1,fixedLeft:null,fixedTop:null,border:{width:0,radius:0,style:"solid",color:"#000"}},images:null,currentImgId:null,currentWinW:null,currentWinH:null,resize:null,resizeXY:null,move:!1,moveXY:null,cropChange:null,cropChangeXY:null,cropChangeObj:null,copyImgItemObj:null},defaultDataVerification:{defaultItem:{type:"dropdown",type2:null,value1:"",value2:"",checked:!1,remote:!1,prohibitInput:!1,hintShow:!1,hintText:""},curItem:null,dataVerification:null,selectRange:[],selectStatus:!1}},Ay={addDataAjax:function(e,a,t,l){let n=this;a==null&&(a=h.currentSheetIndex),t==null&&(t=re.loadSheetUrl),$("#luckysheet-grid-window-1").append(Dl()),e.currentPage++;let o="application/json;charset=UTF-8",s=sessionStorage.getItem("x-auth-token");$.ajax({method:"POST",url:t,headers:{"x-auth-token":s},data:JSON.stringify(e),contentType:o,success:function(u){typeof u=="string"&&(u=JSON.parse(u));let d=u.data,f=d.celldata;go(d.row,f),setTimeout(function(){h.loadingObj.close()},500),l&&typeof l=="function"&&l(d)}})},reload:function(e,a,t,l){let n=this;a==null&&(a=h.currentSheetIndex),t==null&&(t=re.loadSheetUrl),$("#luckysheet-grid-window-1").append(Dl());let o={gridKey:re.gridKey,index:a};e=$.extend(!0,e,o);let s=h.luckysheetfile[Z(a)];$.post(t,e,function(u){let d=new Function("return "+u)();s.celldata=d[a.toString()];let f=ye.buildGridData(s);setTimeout(function(){h.loadingObj.close()},500),s.data=f,h.flowdata=f,xe.webWorkerFlowDataCache(f),zs(f[0].length,f.length,f,null,!1),s.load="1",h.luckysheet_select_save.length=0,h.luckysheet_selection_range=[],re.saveParam("shs",null,h.currentSheetIndex),ye.changeSheet(a),l&&typeof l=="function"&&l()})},clearSheetByIndex:function(e){let a=Z(e),t=h.luckysheetfile[a];t.isPivotTable?delete h.luckysheetfile[a]:(t.data=[],t.row=h.defaultrowNum,t.column=h.defaultcolumnNum,t.chart=[],t.config=null,t.filter=null,t.filter_select=null,t.celldata=[],t.pivotTable={},t.calcChain=[],t.status=0,t.load=0,h.flowdata=[],xe.webWorkerFlowDataCache(h.flowdata),$("#"+h.container+" .luckysheet-data-visualization-chart").remove(),$("#"+h.container+" .luckysheet-datavisual-selection-set").remove(),$("#luckysheet-row-count-show, #luckysheet-formula-functionrange-select, #luckysheet-row-count-show, #luckysheet-column-count-show, #luckysheet-change-size-line, #luckysheet-cell-selected-focus, #luckysheet-selection-copy, #luckysheet-cell-selected-extend, #luckysheet-cell-selected-move, #luckysheet-cell-selected").hide(),delete t.load)},clear:function(e){let a=this;if(e=="all")for(let t=0;t<h.luckysheetfile.length;t++){let l=h.luckysheetfile[t];a.clearSheetByIndex(l.index)}else e==null&&(e=h.currentSheetIndex),a.clearSheetByIndex(e);ye.changeSheet(h.luckysheetfile[0].index)},destroy:function(){$("#"+h.container).empty(),$("body > .luckysheet-cols-menu").remove(),$("#luckysheet-modal-dialog-mask, #luckysheetTextSizeTest, #luckysheet-icon-morebtn-div").remove(),$("#luckysheet-input-box").parent().remove(),$("#luckysheet-formula-help-c").remove(),$(".chartSetting, .luckysheet-modal-dialog-slider").remove(),$(document).off(".luckysheetEvent"),$(document).off(".luckysheetProtection"),W.initialHorizontal=!0,W.initialVertical=!0;let e=$.extend(!0,{},Fn.defaultStore);for(let s in e)s in h&&(h[s]=e[s]);let a=$.extend(!0,{},Fn.defaultFormula);for(let s in a)s in p&&(p[s]=a[s]);let t=$.extend(!0,{},Fn.defaultSheet);for(let s in t)s in ye&&(ye[s]=t[s]);let l=$.extend(!0,{},Fn.defaultPivotTable);for(let s in l)s in Oe&&(Oe[s]=l[s]);let n=$.extend(!0,{},Fn.defaultImage);for(let s in n)s in Re&&(Re[s]=n[s]);let o=$.extend(!0,{},Fn.defaultDataVerification);for(let s in o)s in Ye&&(Ye[s]=o[s]);h.asyncLoad=["core"]},editorChart:function(e){let a=Vr[0],t="luckysheetEditMode-datav-chart",l=t+"_selection";e.chart_id=t;let n=e.chartTheme;n=n==null?"default0000":n,luckysheet.insertChartTosheet(e.sheetIndex,e.dataSheetIndex,e.option,e.chartType,e.selfOption,e.defaultOption,e.row,e.column,a,t,l,e.chartStyle,e.rangeConfigCheck,e.rangeRowCheck,e.rangeColCheck,e.chartMarkConfig,e.chartTitleConfig,e.winWidth,e.winHeight,e.scrollLeft,e.scrollTop,n,e.myWidth,e.myHeight,e.myLeft!=null?parseFloat(e.myLeft):null,e.myTop!=null?parseFloat(e.myTop):null,e.myindexrank,!0),$("#"+t).find(".luckysheet-modal-controll-update").click()},createHookFunction:function(){let e=arguments[0];if(fe.hook&&fe.hook[e]!=null&&typeof fe.hook[e]=="function"){var a=Array.prototype.slice.apply(arguments);return a.shift(),fe.hook[e].apply(this,a)!==!1}return!0}},ut=Ay});var Iy,Be,Hl=Ae(()=>{Pr();Kt();Vt();sa();Yt();_a();Rt();dt();Or();lr();Dr();Zt();Ke();Wr();Iy={defaultWidth:144,defaultHeight:84,currentObj:null,currentWinW:null,currentWinH:null,resize:null,resizeXY:null,move:!1,moveXY:null,init:function(){let e=this;$("#luckysheet-postil-showBoxs").off("mousedown.showPs").on("mousedown.showPs",".luckysheet-postil-show",function(a){if(!!St(h.currentSheetIndex,"editObjects",!1)){if(e.currentObj=$(this).find(".luckysheet-postil-show-main"),$(this).hasClass("luckysheet-postil-show-active")){a.stopPropagation();return}e.removeActivePs(),$(this).addClass("luckysheet-postil-show-active"),$(this).find(".luckysheet-postil-dialog-resize").show(),$(this).find(".arrowCanvas").css("z-index",200),$(this).find(".luckysheet-postil-show-main").css("z-index",200),a.stopPropagation()}}),$("#luckysheet-postil-showBoxs").off("mouseup.showPs").on("mouseup.showPs",".luckysheet-postil-show",function(a){a.which=="3"&&a.stopPropagation()}),$("#luckysheet-postil-showBoxs").off("mousedown.resize").on("mousedown.resize",".luckysheet-postil-show .luckysheet-postil-dialog-resize .luckysheet-postil-dialog-resize-item",function(a){if(!St(h.currentSheetIndex,"editObjects",!1))return;e.currentObj=$(this).closest(".luckysheet-postil-show-main"),e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight,e.resize=$(this).data("type");let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),n=at(a.pageX,a.pageY),o=n[0]+l,s=n[1]+t,u=e.currentObj.position(),d=e.currentObj.width(),f=e.currentObj.height();if(e.resizeXY=[o,s,d,f,u.left+l,u.top+t,l,t],Yl(!0),$(this).closest(".luckysheet-postil-show").hasClass("luckysheet-postil-show-active")){a.stopPropagation();return}e.removeActivePs(),$(this).closest(".luckysheet-postil-show").addClass("luckysheet-postil-show-active"),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-dialog-resize").show(),$(this).closest(".luckysheet-postil-show").find(".arrowCanvas").css("z-index",200),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-show-main").css("z-index",200),a.stopPropagation()}),$("#luckysheet-postil-showBoxs").off("mousedown.move").on("mousedown.move",".luckysheet-postil-show .luckysheet-postil-dialog-move .luckysheet-postil-dialog-move-item",function(a){if(!St(h.currentSheetIndex,"editObjects",!1))return;e.currentObj=$(this).closest(".luckysheet-postil-show-main"),e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight,e.move=!0;let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),n=e.currentObj.offset(),o=e.currentObj.position();if(e.moveXY=[a.pageX-n.left,a.pageY-n.top,o.left,o.top,l,t],Yl(!0),$(this).closest(".luckysheet-postil-show").hasClass("luckysheet-postil-show-active")){a.stopPropagation();return}e.removeActivePs(),$(this).closest(".luckysheet-postil-show").addClass("luckysheet-postil-show-active"),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-dialog-resize").show(),$(this).closest(".luckysheet-postil-show").find(".arrowCanvas").css("z-index",200),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-show-main").css("z-index",200),a.stopPropagation()})},overshow:function(e){let a=this;if($("#luckysheet-postil-overshow").remove(),$(e.target).closest("#luckysheet-cell-main").length==0)return;let t=at(e.pageX,e.pageY),l=$("#luckysheet-cell-main").scrollLeft(),n=$("#luckysheet-cell-main").scrollTop(),o=t[0],s=t[1],u=0,d=0;W.freezenverticaldata!=null&&t[0]<W.freezenverticaldata[0]-W.freezenverticaldata[2]?u=l:o+=l,W.freezenhorizontaldata!=null&&t[1]<W.freezenhorizontaldata[0]-W.freezenhorizontaldata[2]?d=n:s+=n;let f=xt(s)[2],m=vt(o)[2],g=be.mergeborer(h.flowdata,f,m);if(g&&(f=g.row[2],m=g.column[2]),h.flowdata[f]==null||h.flowdata[f][m]==null||h.flowdata[f][m].ps==null)return;let y=h.flowdata[f][m].ps;if(y.isshow||$("#luckysheet-postil-show_"+f+"_"+m).length>0)return;let v=y.value==null?"":y.value,b=h.visibledatarow[f],k=f-1==-1?0:h.visibledatarow[f-1],x=h.visibledatacolumn[m],w=m-1==-1?0:h.visibledatacolumn[m-1];g&&(b=g.row[1],k=g.row[0],x=g.column[1],w=g.column[0]);let _=x+u,S=k+d,C=_+18*h.zoomRatio,T=S-18*h.zoomRatio;T<0&&(T=2);let R=a.defaultWidth*h.zoomRatio,I=a.defaultHeight*h.zoomRatio,A=a.getArrowCanvasSize(C,T,_,S),E="",N=v.split(`
`);for(let M of N)E+="<div>"+a.htmlEscape(M)+"</div>";let D='<div id="luckysheet-postil-overshow"><canvas class="arrowCanvas" width="'+A[2]+'" height="'+A[3]+'" style="position:absolute;left:'+A[0]+"px;top:"+A[1]+'px;z-index:100;pointer-events:none;"></canvas><div style="width:'+(R-12)+"px;min-height:"+(I-12)+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+C+"px;top:"+T+'px;z-index:100;">'+E+"</div></div>";$(D).appendTo($("#luckysheet-cell-main"));let F=$("#luckysheet-postil-overshow .arrowCanvas").get(0).getContext("2d");a.drawArrow(F,A[4],A[5],A[6],A[7])},getArrowCanvasSize:function(e,a,t,l){let n=t-5;e<t&&(n=e-5);let o=l-5;a<l&&(o=a-5);let s=Math.abs(e-t)+10,u=Math.abs(a-l)+10,d=s-5,f=5;e<t&&(d=5,f=s-5);let m=u-5,g=5;return a<l&&(m=5,g=u-5),[n,o,s,u,d,m,f,g]},drawArrow:function(e,a,t,l,n,o,s,u,d){o=P(o)=="undefined"?30:o,s=P(s)=="undefined"?6:s,u=P(u)=="undefined"?1:u,d=P(d)=="undefined"?"#000":d;let f=Math.atan2(t-n,a-l)*180/Math.PI,m=(f+o)*Math.PI/180,g=(f-o)*Math.PI/180,y=s*Math.cos(m),v=s*Math.sin(m),b=s*Math.cos(g),k=s*Math.sin(g);e.save(),e.beginPath();let x=a-y,w=t-v;e.moveTo(x,w),e.moveTo(a,t),e.lineTo(l,n),e.lineWidth=u,e.strokeStyle=d,e.stroke(),x=l+y,w=n+v,e.moveTo(x,w),e.lineTo(l,n),x=l+b,w=n+k,e.lineTo(x,w),e.fillStyle=d,e.fill(),e.restore()},buildAllPs:function(e){let a=this;$("#luckysheet-cell-main #luckysheet-postil-showBoxs").empty();for(let t=0;t<e.length;t++)for(let l=0;l<e[0].length;l++)if(e[t][l]!=null&&e[t][l].ps!=null){let n=e[t][l].ps;a.buildPs(t,l,n)}a.init()},buildPs:function(e,a,t){if($("#luckysheet-postil-show_"+e+"_"+a).length>0&&$("#luckysheet-postil-show_"+e+"_"+a).remove(),t==null)return;let l=this;if(t.isshow==null?!1:t.isshow){let o=h.visibledatarow[e],s=e-1==-1?0:h.visibledatarow[e-1],u=h.visibledatacolumn[a],d=a-1==-1?0:h.visibledatacolumn[a-1],f=be.mergeborer(h.flowdata,e,a);f&&(o=f.row[1],s=f.row[0],u=f.column[1],d=f.column[0]);let m=u,g=s,y=t.left==null?m+18*h.zoomRatio:t.left*h.zoomRatio,v=t.top==null?g-18*h.zoomRatio:t.top*h.zoomRatio,b=t.width==null?l.defaultWidth*h.zoomRatio:t.width*h.zoomRatio,k=t.height==null?l.defaultHeight*h.zoomRatio:t.height*h.zoomRatio,x=t.value==null?"":t.value;v<0&&(v=2);let w=l.getArrowCanvasSize(y,v,m,g),_="",S=x.split(`
`);for(let R of S)_+="<div>"+l.htmlEscape(R)+"</div>";let C='<div id="luckysheet-postil-show_'+e+"_"+a+'" class="luckysheet-postil-show"><canvas class="arrowCanvas" width="'+w[2]+'" height="'+w[3]+'" style="position:absolute;left:'+w[0]+"px;top:"+w[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+b+"px;height:"+k+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+y+"px;top:"+v+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize" style="display:none;"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(b-12)+"px;height:"+(k-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+_+"</div></div></div></div>";$(C).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let T=$("#luckysheet-postil-show_"+e+"_"+a+" .arrowCanvas").get(0).getContext("2d");l.drawArrow(T,w[4],w[5],w[6],w[7])}},newPs:function(e,a){if(!St(h.currentSheetIndex,"editObjects")||!ut.createHookFunction("commentInsertBefore",e,a))return;let t=this,l=h.visibledatarow[e],n=e-1==-1?0:h.visibledatarow[e-1],o=h.visibledatacolumn[a],s=a-1==-1?0:h.visibledatacolumn[a-1],u=be.mergeborer(h.flowdata,e,a);u&&(l=u.row[1],n=u.row[0],o=u.column[1],s=u.column[0]);let d=o,f=n,m=d+18*h.zoomRatio,g=f-18*h.zoomRatio;g<0&&(g=2);let y=t.defaultWidth*h.zoomRatio,v=t.defaultHeight*h.zoomRatio,b=t.getArrowCanvasSize(m,g,d,f),k='<div id="luckysheet-postil-show_'+e+"_"+a+'" class="luckysheet-postil-show luckysheet-postil-show-active"><canvas class="arrowCanvas" width="'+b[2]+'" height="'+b[3]+'" style="position:absolute;left:'+b[0]+"px;top:"+b[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+y+"px;height:"+v+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+m+"px;top:"+g+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:132px;height:72px;line-height:20px;box-sizing:border-box;text-align: center;word-break:break-all;" spellcheck="false" contenteditable="true"></div></div></div></div>';$(k).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let x=$("#luckysheet-postil-show_"+e+"_"+a+" .arrowCanvas").get(0).getContext("2d");t.drawArrow(x,b[4],b[5],b[6],b[7]),$("#luckysheet-postil-show_"+e+"_"+a+" .formulaInputFocus").focus(),t.init();let w=xe.deepCopyFlowData(h.flowdata),_=[];w[e][a]==null&&(w[e][a]={}),w[e][a].ps={left:null,top:null,width:null,height:null,value:"",isshow:!1},_.push(e+"_"+a),t.ref(w,_),setTimeout(()=>{ut.createHookFunction("commentInsertAfter",e,a,w[e][a])},0)},editPs:function(e,a){let t=this;if(!!St(h.currentSheetIndex,"editObjects")){if($("#luckysheet-postil-show_"+e+"_"+a).length>0)$("#luckysheet-postil-show_"+e+"_"+a).show(),$("#luckysheet-postil-show_"+e+"_"+a).addClass("luckysheet-postil-show-active"),$("#luckysheet-postil-show_"+e+"_"+a).find(".luckysheet-postil-dialog-resize").show();else{let l=h.flowdata[e][a].ps,n=h.visibledatarow[e],o=e-1==-1?0:h.visibledatarow[e-1],s=h.visibledatacolumn[a],u=a-1==-1?0:h.visibledatacolumn[a-1],d=be.mergeborer(h.flowdata,e,a);d&&(n=d.row[1],o=d.row[0],s=d.column[1],u=d.column[0]);let f=s,m=o,g=l.left==null?f+18*h.zoomRatio:l.left*h.zoomRatio,y=l.top==null?m-18*h.zoomRatio:l.top*h.zoomRatio,v=l.width==null?t.defaultWidth*h.zoomRatio:l.width*h.zoomRatio,b=l.height==null?t.defaultHeight*h.zoomRatio:l.height*h.zoomRatio,k=l.value==null?"":l.value;y<0&&(y=2);let x=t.getArrowCanvasSize(g,y,f,m),w="",_=k.split(`
`);for(let T of _)w+="<div>"+t.htmlEscape(T)+"</div>";let S='<div id="luckysheet-postil-show_'+e+"_"+a+'" class="luckysheet-postil-show luckysheet-postil-show-active"><canvas class="arrowCanvas" width="'+x[2]+'" height="'+x[3]+'" style="position:absolute;left:'+x[0]+"px;top:"+x[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+v+"px;height:"+b+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+g+"px;top:"+y+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(v-12)+"px;height:"+(b-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+w+"</div></div></div></div>";$(S).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let C=$("#luckysheet-postil-show_"+e+"_"+a+" .arrowCanvas").get(0).getContext("2d");t.drawArrow(C,x[4],x[5],x[6],x[7])}$("#luckysheet-postil-show_"+e+"_"+a+" .formulaInputFocus").focus(),bl($("#luckysheet-postil-show_"+e+"_"+a+" .formulaInputFocus").get(0)),t.init()}},delPs:function(e,a){if(!St(h.currentSheetIndex,"editObjects")||!ut.createHookFunction("commentDeleteBefore",e,a,h.flowdata[e][a]))return;$("#luckysheet-postil-show_"+e+"_"+a).length>0&&$("#luckysheet-postil-show_"+e+"_"+a).remove();let t=xe.deepCopyFlowData(h.flowdata),l=[];delete t[e][a].ps,l.push(e+"_"+a),this.ref(t,l),setTimeout(()=>{ut.createHookFunction("commentDeleteAfter",e,a,h.flowdata[e][a])},0)},showHidePs:function(e,a){let t=this,l=h.flowdata[e][a].ps,n=l.isshow,o=xe.deepCopyFlowData(h.flowdata),s=[];if(n)o[e][a].ps.isshow=!1,$("#luckysheet-postil-show_"+e+"_"+a).remove();else{o[e][a].ps.isshow=!0;let u=h.visibledatarow[e],d=e-1==-1?0:h.visibledatarow[e-1],f=h.visibledatacolumn[a],m=a-1==-1?0:h.visibledatacolumn[a-1],g=be.mergeborer(h.flowdata,e,a);g&&(u=g.row[1],d=g.row[0],f=g.column[1],m=g.column[0]);let y=$("#luckysheet-cell-main").scrollLeft(),v=$("#luckysheet-cell-main").scrollTop(),b=f,k=d;W.freezenverticaldata!=null&&b<W.freezenverticaldata[0]-W.freezenverticaldata[2]&&(b+=y),W.freezenhorizontaldata!=null&&k<W.freezenhorizontaldata[0]-W.freezenhorizontaldata[2]&&(k+=v);let x=l.left==null?b+18*h.zoomRatio:l.left*h.zoomRatio,w=l.top==null?k-18*h.zoomRatio:l.top*h.zoomRatio,_=l.width==null?t.defaultWidth*h.zoomRatio:l.width*h.zoomRatio,S=l.height==null?t.defaultHeight*h.zoomRatio:l.height*h.zoomRatio,C=l.value==null?"":l.value;w<0&&(w=2);let T=t.getArrowCanvasSize(x,w,b,k),R="",I=C.split(`
`);for(let N of I)R+="<div>"+t.htmlEscape(N)+"</div>";let A='<div id="luckysheet-postil-show_'+e+"_"+a+'" class="luckysheet-postil-show"><canvas class="arrowCanvas" width="'+T[2]+'" height="'+T[3]+'" style="position:absolute;left:'+T[0]+"px;top:"+T[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+_+"px;height:"+S+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+x+"px;top:"+w+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize" style="display:none;"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(_-12)+"px;height:"+(S-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+R+"</div></div></div></div>";$(A).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let E=$("#luckysheet-postil-show_"+e+"_"+a+" .arrowCanvas").get(0).getContext("2d");t.drawArrow(E,T[4],T[5],T[6],T[7]),t.init()}s.push(e+"_"+a),t.ref(o,s)},showHideAllPs:function(){let e=this,a=xe.deepCopyFlowData(h.flowdata),t=!0,l=[];for(let o=0;o<a.length;o++)for(let s=0;s<a[0].length;s++)a[o]!=null&&a[o][s]!=null&&a[o][s].ps!=null&&(l.push(o+"_"+s),a[o][s].ps.isshow||(t=!1));let n=[];if(l.length>0)if(t){$("#luckysheet-cell-main #luckysheet-postil-showBoxs").empty();for(let o=0;o<l.length;o++){let s=l[o].split("_")[0],u=l[o].split("_")[1];a[s][u].ps.isshow&&(a[s][u].ps.isshow=!1,n.push(l[o]))}}else for(let o=0;o<l.length;o++){let s=l[o].split("_")[0],u=l[o].split("_")[1],d=a[s][u].ps;if(!d.isshow){let f=h.visibledatarow[s],m=s-1==-1?0:h.visibledatarow[s-1],g=h.visibledatacolumn[u],y=u-1==-1?0:h.visibledatacolumn[u-1],v=be.mergeborer(h.flowdata,s,u);v&&(f=v.row[1],m=v.row[0],g=v.column[1],y=v.column[0]);let b=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),x=g,w=m;W.freezenverticaldata!=null&&x<W.freezenverticaldata[0]-W.freezenverticaldata[2]&&(x+=b),W.freezenhorizontaldata!=null&&w<W.freezenhorizontaldata[0]-W.freezenhorizontaldata[2]&&(w+=k);let _=d.left==null?x+18*h.zoomRatio:d.left*h.zoomRatio,S=d.top==null?w-18*h.zoomRatio:d.top*h.zoomRatio,C=d.width==null?e.defaultWidth*h.zoomRatio:d.width*h.zoomRatio,T=d.height==null?e.defaultHeight*h.zoomRatio:d.height*h.zoomRatio,R=d.value==null?"":d.value;S<0&&(S=2);let I=e.getArrowCanvasSize(_,S,x,w),A="",E=R.split(`
`);for(let F of E)A+="<div>"+e.htmlEscape(F)+"</div>";let N='<div id="luckysheet-postil-show_'+s+"_"+u+'" class="luckysheet-postil-show"><canvas class="arrowCanvas" width="'+I[2]+'" height="'+I[3]+'" style="position:absolute;left:'+I[0]+"px;top:"+I[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+C+"px;height:"+T+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+_+"px;top:"+S+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize" style="display:none;"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(C-12)+"px;height:"+(T-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+A+"</div></div></div></div>";$(N).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let D=$("#luckysheet-postil-show_"+s+"_"+u+" .arrowCanvas").get(0).getContext("2d");e.drawArrow(D,I[4],I[5],I[6],I[7]),a[s][u].ps.isshow=!0,n.push(l[o])}}e.ref(a,n),e.init()},removeActivePs:function(){if($("#luckysheet-postil-showBoxs .luckysheet-postil-show-active").length>0){let e=$("#luckysheet-postil-showBoxs .luckysheet-postil-show-active").attr("id"),a=e.split("luckysheet-postil-show_")[1].split("_")[0],t=e.split("luckysheet-postil-show_")[1].split("_")[1],l=$("#"+e).find(".formulaInputFocus").html().replaceAll("<div>",`
`).replaceAll(/<(.*)>.*?|<(.*) \/>/g,"").trim();if(!ut.createHookFunction("commentUpdateBefore",a,t,l))return;let n=$.extend(!0,{},h.flowdata[a][t]);$("#"+e).removeClass("luckysheet-postil-show-active"),$("#"+e).find(".luckysheet-postil-dialog-resize").hide(),$("#"+e).find(".arrowCanvas").css("z-index",100),$("#"+e).find(".luckysheet-postil-show-main").css("z-index",100);let o=xe.deepCopyFlowData(h.flowdata),s=[];o[a][t].ps.value=l,s.push(a+"_"+t),this.ref(o,s),o[a][t].ps.isshow||$("#"+e).remove(),setTimeout(()=>{ut.createHookFunction("commentUpdateAfter",a,t,n,o[a][t])},0)}},ref:function(e,a){if(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"postil",data:h.flowdata,curdata:e,sheetIndex:h.currentSheetIndex,rc:a})),h.flowdata=e,xe.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[Z(h.currentSheetIndex)].data=h.flowdata,re.allowUpdate)for(let t=0;t<a.length;t++){let l=a[t].split("_")[0],n=a[t].split("_")[1];re.saveParam("v",h.currentSheetIndex,h.flowdata[l][n],{r:l,c:n})}setTimeout(function(){Le()},1)},positionSync:function(){let e=this;$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(a,t){let l=$(t).attr("id"),n=l.split("luckysheet-postil-show_")[1].split("_")[0],o=l.split("luckysheet-postil-show_")[1].split("_")[1],s=h.flowdata[n][o];s!=null&&s.ps!=null?e.buildPs(n,o,s.ps):$("#"+l).hide()})},htmlEscape:function(e){return e.replace(/[<>"&]/g,function(a,t,l){switch(console.log(a,t,l),a){case"<":return"&lt";case">":return"&gt";case"&":return"&amp";case'"':return"&quot;"}})}},Be=Iy});function Ls(e,a,t,l,n){let o={},s,u;n==null?(s=h.config,u=h.flowdata):(s=h.luckysheetfile[Z(n)].config,u=h.luckysheetfile[Z(n)].data);let d=s.borderInfo;if(d!=null&&d.length>0)for(let f=0;f<d.length;f++){let m=d[f].rangeType;if(m=="range"){let g=d[f].borderType,y=d[f].color,v=d[f].style,b=d[f].range;for(let k=0;k<b.length;k++){let x=b[k].row[0],w=b[k].row[1],_=b[k].column[0],S=b[k].column[1];if(x<e&&(x=e),w>a&&(w=a),_<t&&(_=t),S>l&&(S=l),g=="border-left")for(let C=x;C<=w;C++){if(s.rowhidden!=null&&s.rowhidden[C]!=null)continue;o[C+"_"+_]==null&&(o[C+"_"+_]={}),o[C+"_"+_].l={color:y,style:v};let T=_-1;if(T>=0&&o[C+"_"+T])if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let I=u[C][T],A=s.merge[I.mc.r+"_"+I.mc.c];A.c+A.cs-1==T&&(o[C+"_"+T].r={color:y,style:v})}else o[C+"_"+T].r={color:y,style:v};let R=s.merge||{};for(let I in R){let{c:A,r:E,cs:N,rs:D}=R[I];_<=A+N-1&&_>A&&C>=E&&C<=E+D-1&&(o[C+"_"+_].l=null)}}else if(g=="border-right")for(let C=x;C<=w;C++){if(s.rowhidden!=null&&s.rowhidden[C]!=null)continue;o[C+"_"+S]==null&&(o[C+"_"+S]={}),o[C+"_"+S].r={color:y,style:v};let T=S+1;if(T<u[0].length&&o[C+"_"+T])if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let I=u[C][T];s.merge[I.mc.r+"_"+I.mc.c].c==T&&(o[C+"_"+T].l={color:y,style:v})}else o[C+"_"+T].l={color:y,style:v};let R=s.merge||{};for(let I in R){let{c:A,r:E,cs:N,rs:D}=R[I];S<A+N-1&&S>=A&&C>=E&&C<=E+D-1&&(o[C+"_"+S].r=null)}}else if(g=="border-top"){if(s.rowhidden!=null&&s.rowhidden[x]!=null)continue;for(let C=_;C<=S;C++){o[x+"_"+C]==null&&(o[x+"_"+C]={}),o[x+"_"+C].t={color:y,style:v};let T=x-1;if(T>=0&&o[T+"_"+C])if(u[T]!=null&&P(u[T][C])=="object"&&u[T][C].mc!=null){let I=u[T][C],A=s.merge[I.mc.r+"_"+I.mc.c];A.r+A.rs-1==T&&(o[T+"_"+C].b={color:y,style:v})}else o[T+"_"+C].b={color:y,style:v};let R=s.merge||{};for(let I in R){let{c:A,r:E,cs:N,rs:D}=R[I];x<=E+D-1&&x>E&&C>=A&&C<=A+N-1&&(o[x+"_"+C].t=null)}}}else if(g=="border-bottom"){if(s.rowhidden!=null&&s.rowhidden[w]!=null)continue;for(let C=_;C<=S;C++){o[w+"_"+C]==null&&(o[w+"_"+C]={}),o[w+"_"+C].b={color:y,style:v};let T=w+1;if(T<u.length&&o[T+"_"+C])if(u[T]!=null&&P(u[T][C])=="object"&&u[T][C].mc!=null){let I=u[T][C];s.merge[I.mc.r+"_"+I.mc.c].r==T&&(o[T+"_"+C].t={color:y,style:v})}else o[T+"_"+C].t={color:y,style:v};let R=s.merge||{};for(let I in R){let{c:A,r:E,cs:N,rs:D}=R[I];w<E+D-1&&w>=E&&C>=A&&C<=A+N-1&&(o[w+"_"+C].b=null)}}}else if(g=="border-all"){for(let C=x;C<=w;C++)if(!(s.rowhidden!=null&&s.rowhidden[C]!=null))for(let T=_;T<=S;T++){if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r==C&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v}),I.r+I.rs-1==C&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v}),I.c==T&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v}),I.c+I.cs-1==T&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].t={color:y,style:v},o[C+"_"+T].b={color:y,style:v};if(C==x){let R=x-1;if(R>=0&&o[R+"_"+T])if(u[R]!=null&&P(u[R][T])=="object"&&u[R][T].mc!=null){let I=u[R][T],A=s.merge[I.mc.r+"_"+I.mc.c];A.r+A.rs-1==R&&(o[R+"_"+T].b={color:y,style:v})}else o[R+"_"+T].b={color:y,style:v}}if(C==w){let R=w+1;if(R<u.length&&o[R+"_"+T])if(u[R]!=null&&P(u[R][T])=="object"&&u[R][T].mc!=null){let I=u[R][T];s.merge[I.mc.r+"_"+I.mc.c].r==R&&(o[R+"_"+T].t={color:y,style:v})}else o[R+"_"+T].t={color:y,style:v}}if(T==_){let R=_-1;if(R>=0&&o[C+"_"+R])if(u[C]!=null&&P(u[C][R])=="object"&&u[C][R].mc!=null){let I=u[C][R],A=s.merge[I.mc.r+"_"+I.mc.c];A.c+A.cs-1==R&&(o[C+"_"+R].r={color:y,style:v})}else o[C+"_"+R].r={color:y,style:v}}if(T==S){let R=S+1;if(R<u[0].length&&o[C+"_"+R])if(u[C]!=null&&P(u[C][R])=="object"&&u[C][R].mc!=null){let I=u[C][R];s.merge[I.mc.r+"_"+I.mc.c].c==R&&(o[C+"_"+R].l={color:y,style:v})}else o[C+"_"+R].l={color:y,style:v}}}}else if(g=="border-outside"){for(let C=x;C<=w;C++)if(!(s.rowhidden!=null&&s.rowhidden[C]!=null)){for(let T=_;T<=S;T++)if(C==x||C==w||T==_||T==S){if(C==x){o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v};let R=x-1;if(R>=0&&o[R+"_"+T])if(u[R]!=null&&P(u[R][T])=="object"&&u[R][T].mc!=null){let I=u[R][T],A=s.merge[I.mc.r+"_"+I.mc.c];A.r+A.rs-1==R&&(o[R+"_"+T].b={color:y,style:v})}else o[R+"_"+T].b={color:y,style:v}}if(C==w){o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v};let R=w+1;if(R<u.length&&o[R+"_"+T])if(u[R]!=null&&P(u[R][T])=="object"&&u[R][T].mc!=null){let I=u[R][T];s.merge[I.mc.r+"_"+I.mc.c].r==R&&(o[R+"_"+T].t={color:y,style:v})}else o[R+"_"+T].t={color:y,style:v}}if(T==_){o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v};let R=_-1;if(R>=0&&o[C+"_"+R])if(u[C]!=null&&P(u[C][R])=="object"&&u[C][R].mc!=null){let I=u[C][R],A=s.merge[I.mc.r+"_"+I.mc.c];A.c+A.cs-1==R&&(o[C+"_"+R].r={color:y,style:v})}else o[C+"_"+R].r={color:y,style:v}}if(T==S){o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v};let R=S+1;if(R<u[0].length&&o[C+"_"+R])if(u[C]!=null&&P(u[C][R])=="object"&&u[C][R].mc!=null){let I=u[C][R];s.merge[I.mc.r+"_"+I.mc.c].c==R&&(o[C+"_"+R].l={color:y,style:v})}else o[C+"_"+R].l={color:y,style:v}}}}}else if(g=="border-inside"){for(let C=x;C<=w;C++)if(!(s.rowhidden!=null&&s.rowhidden[C]!=null))for(let T=_;T<=S;T++)if(C==x&&T==_)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].b={color:y,style:v});else if(C==w&&T==_)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].t={color:y,style:v});else if(C==x&&T==S)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].b={color:y,style:v});else if(C==w&&T==S)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].t={color:y,style:v});else if(C==x)if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.c==T?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v}):I.c+I.cs-1==T&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].b={color:y,style:v};else if(C==w)if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.c==T?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v}):I.c+I.cs-1==T&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].t={color:y,style:v};else if(T==_)if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r==C?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v}):I.r+I.rs-1==C&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].t={color:y,style:v},o[C+"_"+T].b={color:y,style:v};else if(T==S)if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r==C?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v}):I.r+I.rs-1==C&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].t={color:y,style:v},o[C+"_"+T].b={color:y,style:v};else if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r==C?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v}):I.r+I.rs-1==C&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v}),I.c==T?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v}):I.c+I.cs-1==T&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].r={color:y,style:v},o[C+"_"+T].t={color:y,style:v},o[C+"_"+T].b={color:y,style:v}}else if(g=="border-horizontal"){for(let C=x;C<=w;C++)if(!(s.rowhidden!=null&&s.rowhidden[C]!=null))for(let T=_;T<=S;T++)if(C==x)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v});else if(C==w)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v});else if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r==C?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v}):I.r+I.rs-1==C&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].b={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].t={color:y,style:v},o[C+"_"+T].b={color:y,style:v}}else if(g=="border-vertical"){for(let C=x;C<=w;C++)if(!(s.rowhidden!=null&&s.rowhidden[C]!=null))for(let T=_;T<=S;T++)if(T==_)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v});else if(T==S)u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null||(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v});else if(u[C]!=null&&P(u[C][T])=="object"&&u[C][T].mc!=null){let R=u[C][T],I=s.merge[R.mc.r+"_"+R.mc.c]||{};I.c==T?(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v}):I.c+I.cs-1==T&&(o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].r={color:y,style:v})}else o[C+"_"+T]==null&&(o[C+"_"+T]={}),o[C+"_"+T].l={color:y,style:v},o[C+"_"+T].r={color:y,style:v}}else if(g=="border-none"){for(let C=x;C<=w;C++)if(!(s.rowhidden!=null&&s.rowhidden[C]!=null))for(let T=_;T<=S;T++){if(o[C+"_"+T]!=null&&delete o[C+"_"+T],C==x){let R=x-1;R>=0&&o[R+"_"+T]&&delete o[R+"_"+T].b}if(C==w){let R=w+1;R<u.length&&o[R+"_"+T]&&delete o[R+"_"+T].t}if(T==_){let R=_-1;R>=0&&o[C+"_"+R]&&delete o[C+"_"+R].r}if(T==S){let R=S+1;R<u[0].length&&o[C+"_"+R]&&delete o[C+"_"+R].l}}}}}else if(m=="cell"){let g=d[f].value,y=g.row_index,v=g.col_index;if(y<e||y>a||v<t||v>l||s.rowhidden!=null&&s.rowhidden[y]!=null)continue;if(g.l!=null||g.r!=null||g.t!=null||g.b!=null)if(o[y+"_"+v]==null&&(o[y+"_"+v]={}),u[y]!=null&&P(u[y][v])=="object"&&u[y][v].mc!=null){let b=u[y][v],k=s.merge[b.mc.r+"_"+b.mc.c]||{};if(g.l!=null&&v==k.c){o[y+"_"+v].l={color:g.l.color,style:g.l.style};let x=v-1;if(x>=0&&o[y+"_"+x])if(u[y]!=null&&P(u[y][x])=="object"&&u[y][x].mc!=null){let w=u[y][x],_=s.merge[w.mc.r+"_"+w.mc.c];_.c+_.cs-1==x&&(o[y+"_"+x].r={color:g.l.color,style:g.l.style})}else o[y+"_"+x].r={color:g.l.color,style:g.l.style}}else o[y+"_"+v].l=null;if(g.r!=null&&v==k.c+k.cs-1){o[y+"_"+v].r={color:g.r.color,style:g.r.style};let x=v+1;if(x<u[0].length&&o[y+"_"+x])if(u[y]!=null&&P(u[y][x])=="object"&&u[y][x].mc!=null){let w=u[y][x];s.merge[w.mc.r+"_"+w.mc.c].c==x&&(o[y+"_"+x].l={color:g.r.color,style:g.r.style})}else o[y+"_"+x].l={color:g.r.color,style:g.r.style}}else o[y+"_"+v].r=null;if(g.t!=null&&y==k.r){o[y+"_"+v].t={color:g.t.color,style:g.t.style};let x=y-1;if(x>=0&&o[x+"_"+v])if(u[x]!=null&&P(u[x][v])=="object"&&u[x][v].mc!=null){let w=u[x][v],_=s.merge[w.mc.r+"_"+w.mc.c];_.r+_.rs-1==x&&(o[x+"_"+v].b={color:g.t.color,style:g.t.style})}else o[x+"_"+v].b={color:g.t.color,style:g.t.style}}else o[y+"_"+v].t=null;if(g.b!=null&&y==k.r+k.rs-1){o[y+"_"+v].b={color:g.b.color,style:g.b.style};let x=y+1;if(x<u.length&&o[x+"_"+v])if(u[x]!=null&&P(u[x][v])=="object"&&u[x][v].mc!=null){let w=u[x][v];s.merge[w.mc.r+"_"+w.mc.c].r==x&&(o[x+"_"+v].t={color:g.b.color,style:g.b.style})}else o[x+"_"+v].t={color:g.b.color,style:g.b.style}}else o[y+"_"+v].b=null}else{if(g.l!=null){o[y+"_"+v].l={color:g.l.color,style:g.l.style};let b=v-1;if(b>=0&&o[y+"_"+b])if(u[y]!=null&&P(u[y][b])=="object"&&u[y][b].mc!=null){let k=u[y][b],x=s.merge[k.mc.r+"_"+k.mc.c];x.c+x.cs-1==b&&(o[y+"_"+b].r={color:g.l.color,style:g.l.style})}else o[y+"_"+b].r={color:g.l.color,style:g.l.style}}else o[y+"_"+v].l=null;if(g.r!=null){o[y+"_"+v].r={color:g.r.color,style:g.r.style};let b=v+1;if(b<u[0].length&&o[y+"_"+b])if(u[y]!=null&&P(u[y][b])=="object"&&u[y][b].mc!=null){let k=u[y][b];s.merge[k.mc.r+"_"+k.mc.c].c==b&&(o[y+"_"+b].l={color:g.r.color,style:g.r.style})}else o[y+"_"+b].l={color:g.r.color,style:g.r.style}}else o[y+"_"+v].r=null;if(g.t!=null){o[y+"_"+v].t={color:g.t.color,style:g.t.style};let b=y-1;if(b>=0&&o[b+"_"+v])if(u[b]!=null&&P(u[b][v])=="object"&&u[b][v].mc!=null){let k=u[b][v],x=s.merge[k.mc.r+"_"+k.mc.c];x.r+x.rs-1==b&&(o[b+"_"+v].b={color:g.t.color,style:g.t.style})}else o[b+"_"+v].b={color:g.t.color,style:g.t.style}}else o[y+"_"+v].t=null;if(g.b!=null){o[y+"_"+v].b={color:g.b.color,style:g.b.style};let b=y+1;if(b<u.length&&o[b+"_"+v])if(u[b]!=null&&P(u[b][v])=="object"&&u[b][v].mc!=null){let k=u[b][v];s.merge[k.mc.r+"_"+k.mc.c].r==b&&(o[b+"_"+v].t={color:g.b.color,style:g.b.style})}else o[b+"_"+v].t={color:g.b.color,style:g.b.style}}else o[y+"_"+v].b=null}else delete o[y+"_"+v]}}return o}function Vl(e){let a={},t,l;return e==null?(t=h.config,l=h.flowdata):(t=h.luckysheetfile[Z(e)].config,l=h.luckysheetfile[Z(e)].data),a=Ls(0,l.length,0,l[0].length,e),a}var Mn=Ae(()=>{Rt();dt();Ke()});var Ie,Ry,tr,Os=Ae(()=>{Pr();An();Mn();At();Ir();Yt();Kt();Vt();hl();Dr();Xt();Rt();dt();Ke();bt();Ie=Er(ha()),Ry={iconHtml:'<div id="luckysheet-dropCell-icon" style="position: absolute;padding: 2px;background-color: #f1f1f1;z-index: 990;cursor: pointer;"><div id="icon_dropCell"></div></div>',typeListHtml:'<div id="luckysheet-dropCell-typeList" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="0"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${copyCell}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="1"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${sequence}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="2"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${onlyFormat}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="3"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${noFormat}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="4"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${day}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="5"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${workDay}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="6"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${month}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="7"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${year}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="8"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${chineseNumber}</div></div></div>',copyRange:{},applyRange:{},applyType:null,direction:null,chnNumChar:{\u96F6:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9},chnNameValue:{\u5341:{value:10,secUnit:!1},\u767E:{value:100,secUnit:!1},\u5343:{value:1e3,secUnit:!1},\u4E07:{value:1e4,secUnit:!0},\u4EBF:{value:1e8,secUnit:!0}},ChineseToNumber:function(e){let a=this,t=0,l=0,n=0,o=!1,s=e.split("");for(let u=0;u<s.length;u++){let d=a.chnNumChar[s[u]];if(typeof d!="undefined")n=d,u==s.length-1&&(l+=n);else{let f=a.chnNameValue[s[u]].value;o=a.chnNameValue[s[u]].secUnit,o?(l=(l+n)*f,t+=l,l=0):l+=n*f,n=0}}return t+l},chnNumChar2:["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],chnUnitSection:["","\u4E07","\u4EBF","\u4E07\u4EBF","\u4EBF\u4EBF"],chnUnitChar:["","\u5341","\u767E","\u5343"],SectionToChinese:function(e){let a=this,t="",l="",n=0,o=!0;for(;e>0;){let s=e%10;s==0?o||(o=!0,l=a.chnNumChar2[s]+l):(o=!1,t=a.chnNumChar2[s],t+=a.chnUnitChar[n],l=t+l),n++,e=Math.floor(e/10)}return l},NumberToChinese:function(e){let a=this,t=0,l="",n="",o=!1;if(e==0)return a.chnNumChar2[0];for(;e>0;){let s=e%1e4;o&&(n=a.chnNumChar2[0]+n),l=a.SectionToChinese(s),l+=s!=0?a.chnUnitSection[t]:a.chnUnitSection[0],n=l+n,o=s<1e3&&s>0,e=Math.floor(e/1e4),t++}return n},isChnNumber:function(e){let a=this,t=!0;if(e.length==1)e=="\u65E5"||e in a.chnNumChar?t=!0:t=!1;else{let l=e.split("");for(let n=0;n<l.length;n++)if(!(l[n]in a.chnNumChar||l[n]in a.chnNameValue)){t=!1;break}}return t},isExtendNumber:function(e){let a=/0|([1-9]+[0-9]*)/g,t=a.test(e);if(t){let l=e.match(a),n=l[l.length-1],o=e.lastIndexOf(n),s=e.substr(0,o),u=e.substr(o+n.length);return[t,Number(n),s,u]}else return[t]},isChnWeek1:function(e){let a=this,t;return e.length==1&&(e=="\u65E5"||a.ChineseToNumber(e)<7)?t=!0:t=!1,t},isChnWeek2:function(e){let a;return e.length==2&&(e=="\u5468\u4E00"||e=="\u5468\u4E8C"||e=="\u5468\u4E09"||e=="\u5468\u56DB"||e=="\u5468\u4E94"||e=="\u5468\u516D"||e=="\u5468\u65E5")?a=!0:a=!1,a},isChnWeek3:function(e){let a;return e.length==3&&(e=="\u661F\u671F\u4E00"||e=="\u661F\u671F\u4E8C"||e=="\u661F\u671F\u4E09"||e=="\u661F\u671F\u56DB"||e=="\u661F\u671F\u4E94"||e=="\u661F\u671F\u516D"||e=="\u661F\u671F\u65E5")?a=!0:a=!1,a},createIcon:function(){let e=this,a=e.copyRange.row[1],t=e.copyRange.column[1],l=e.applyRange.row[1],n=e.applyRange.column[1],o,s;l>=a&&n>=t?(o=l,s=n):(o=a,s=t);let u=Qt(o)[1],d=Qt(o)[0],f=$t(s)[1],m=$t(s)[0];$("#luckysheet-dropCell-icon").remove(),$("#luckysheet-cell-main").append(e.iconHtml),$("#luckysheet-dropCell-icon").css({left:f,top:u}),$("#luckysheet-dropCell-icon").mouseover(function(){$(this).css("background-color","#ffe8e8")}).mouseleave(function(){$(this).css("background-color","#f1f1f1")}).mousedown(function(g){$("#luckysheet-dropCell-typeList").remove();let v=Q().dropCell;$("body").append(we(e.typeListHtml,{copyCell:v.copyCell,sequence:v.sequence,onlyFormat:v.onlyFormat,noFormat:v.noFormat,day:v.day,workDay:v.workDay,month:v.month,year:v.year,chineseNumber:v.chineseNumber}));let b=e.typeItemHide();!b[0]&&!b[1]&&!b[2]&&!b[3]&&!b[4]&&!b[5]&&!b[6]&&($("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=1]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=4]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=5]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=6]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=7]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=8]").hide()),b[2]||($("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=4]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=5]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=6]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=7]").hide()),b[3]||$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=8]").hide();let k=$(this).offset().left,x=$(this).offset().top+25,w=$(window).height(),_=$(window).width(),S=$("#luckysheet-dropCell-typeList").width(),C=$("#luckysheet-dropCell-typeList").height();k+S>_&&(k=k-S),x+C>w&&(x=x-C-38),x<0&&(x=0),$("#luckysheet-dropCell-typeList").css({left:k,top:x}).show(),$("#luckysheet-dropCell-icon").mouseleave(function(){$(this).css("backgroundColor","#ffe8e8")});let T=e.applyType;$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type="+T+"]").find("span").append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>'),g.stopPropagation()}),$(document).off("click.dCtypeList").on("click.dCtypeList","#luckysheet-dropCell-typeList .luckysheet-cols-menuitem",function(){$("#luckysheet-dropCell-typeList .fa-check").remove(),$(this).find("span").append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>');let g=$(this).attr("data-type");e.applyType=g,e.update(),$("#luckysheet-dropCell-typeList").hide(),$("#luckysheet-dropCell-icon").css("backgroundColor","#f1f1f1"),$("#luckysheet-dropCell-icon").mouseleave(function(){$(this).css("backgroundColor","#f1f1f1")}),br()})},typeItemHide:function(){let e=this,a=e.copyRange,t=a.row[0],l=a.row[1],n=a.column[0],o=a.column[1],s=!1,u=!1,d=!1,f=!1,m=!1,g=!1,y=!1;for(let v=t;v<=l;v++)for(let b=n;b<=o;b++)if(h.flowdata[v][b]){let k=h.flowdata[v][b];P(k)=="object"&&k.v!=null&&k.f==null&&(k.ct!=null&&k.ct.t=="n"?s=!0:k.ct!=null&&k.ct.t=="d"?d=!0:e.isExtendNumber(k.m)[0]?u=!0:e.isChnNumber(k.m)&&k.m!="\u65E5"?f=!0:k.m=="\u65E5"?m=!0:e.isChnWeek2(k.m)?g=!0:e.isChnWeek3(k.m)&&(y=!0))}return[s,u,d,f,m,g,y]},update:function(){let e=this;if(!fl([e.applyRange],h.currentSheetIndex)||h.allowEdit===!1)return;let a=xe.deepCopyFlowData(h.flowdata),t=h.luckysheetfile[Z(h.currentSheetIndex)],l=$.extend(!0,{},h.config),n=Vl(),o=$.extend(!0,{},t.dataVerification),s=e.direction,u=e.applyType,d=e.copyRange,f=d.row[0],m=d.row[1],g=d.column[0],y=d.column[1],v=e.getCopyData(a,f,m,g,y,s),b;s=="down"||s=="up"?b=m-f+1:(s=="right"||s=="left")&&(b=y-g+1);let k=e.applyRange,x=k.row[0],w=k.row[1],_=k.column[0],S=k.column[1];if(s=="down"||s=="up"){let R=w-x+1;for(let I=_;I<=S;I++){let A=v[I-_],E=e.getApplyData(A,b,R);if(s=="down")for(let N=x;N<=w;N++){let D=E[N-x];if(D.f!=null){let z="="+p.functionCopy(D.f,"down",N-x+1),O=p.execfunction(z,N,I);if(p.execFunctionGroup(N,I,O[1],void 0,a),D.f=O[2],D.v=O[1],D.spl!=null)D.spl=O[3].data;else if(L(D.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(D.v)){if(D.v==Infinity||D.v==-Infinity)D.m=D.v.toString();else if(D.v.toString().indexOf("e")>-1){let H=D.v.toString().split(".")[1].split("e")[0].length;H>5&&(H=5),D.m=D.v.toExponential(H).toString()}else{let H;D.ct.fa==="##0.00"?(H=it(Math.round(D.v*1e9)/1e9+".00"),D.m=H[0].toString()):(H=it(Math.round(D.v*1e9)/1e9),D.m=H[0].toString())}D.ct=D.ct||{fa:"General",t:"n"}}else{let H=it(D.v);D.m=H[0].toString(),D.ct=H[1]}}a[N][I]=D;let F=f+(N-x)%b,M=I;if(n[F+"_"+M]){let z={rangeType:"cell",value:{row_index:N,col_index:I,l:n[F+"_"+M].l,r:n[F+"_"+M].r,t:n[F+"_"+M].t,b:n[F+"_"+M].b}};l.borderInfo.push(z)}else if(n[N+"_"+I]){let z={rangeType:"cell",value:{row_index:N,col_index:I,l:null,r:null,t:null,b:null}};l.borderInfo.push(z)}o[F+"_"+M]&&(o[N+"_"+I]=o[F+"_"+M])}if(s=="up")for(let N=w;N>=x;N--){let D=E[w-N];if(D.f!=null){let z="="+p.functionCopy(D.f,"up",w-N+1),O=p.execfunction(z,N,I);if(p.execFunctionGroup(N,I,O[1],void 0,a),D.f=O[2],D.v=O[1],D.spl!=null)D.spl=O[3].data;else if(L(D.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(D.v)){if(D.v==Infinity||D.v==-Infinity)D.m=D.v.toString();else if(D.v.toString().indexOf("e")>-1){let H=D.v.toString().split(".")[1].split("e")[0].length;H>5&&(H=5),D.m=D.v.toExponential(H).toString()}else{let H=it(Math.round(D.v*1e9)/1e9);D.m=H[0].toString()}D.ct={fa:"General",t:"n"}}else{let H=it(D.v);D.m=H[0].toString(),D.ct=H[1]}}a[N][I]=D;let F=m-(w-N)%b,M=I;if(n[F+"_"+M]){let z={rangeType:"cell",value:{row_index:N,col_index:I,l:n[F+"_"+M].l,r:n[F+"_"+M].r,t:n[F+"_"+M].t,b:n[F+"_"+M].b}};l.borderInfo.push(z)}else if(n[N+"_"+I]){let z={rangeType:"cell",value:{row_index:N,col_index:I,l:null,r:null,t:null,b:null}};l.borderInfo.push(z)}o[F+"_"+M]&&(o[N+"_"+I]=o[F+"_"+M])}}}else if(s=="right"||s=="left"){let R=S-_+1;for(let I=x;I<=w;I++){let A=v[I-x],E=e.getApplyData(A,b,R);if(s=="right")for(let N=_;N<=S;N++){let D=E[N-_];if(D.f!=null){let z="="+p.functionCopy(D.f,"right",N-_+1),O=p.execfunction(z,I,N);if(p.execFunctionGroup(N,I,O[1],void 0,a),D.f=O[2],D.v=O[1],D.spl!=null)D.spl=O[3].data;else if(L(D.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(D.v)){if(D.v==Infinity||D.v==-Infinity)D.m=D.v.toString();else if(D.v.toString().indexOf("e")>-1){let H=D.v.toString().split(".")[1].split("e")[0].length;H>5&&(H=5),D.m=D.v.toExponential(H).toString()}else{let H=it(Math.round(D.v*1e9)/1e9);D.m=H[0].toString()}D.ct={fa:"General",t:"n"}}else{let H=it(D.v);D.m=H[0].toString(),D.ct=H[1]}}a[I][N]=D;let F=I,M=g+(N-_)%b;if(n[F+"_"+M]){let z={rangeType:"cell",value:{row_index:I,col_index:N,l:n[F+"_"+M].l,r:n[F+"_"+M].r,t:n[F+"_"+M].t,b:n[F+"_"+M].b}};l.borderInfo.push(z)}else if(n[I+"_"+N]){let z={rangeType:"cell",value:{row_index:I,col_index:N,l:null,r:null,t:null,b:null}};l.borderInfo.push(z)}o[F+"_"+M]&&(o[I+"_"+N]=o[F+"_"+M])}if(s=="left")for(let N=S;N>=_;N--){let D=E[S-N];if(D.f!=null){let z="="+p.functionCopy(D.f,"left",S-N+1),O=p.execfunction(z,I,N);if(p.execFunctionGroup(N,I,O[1],void 0,a),D.f=O[2],D.v=O[1],D.spl!=null)D.spl=O[3].data;else if(L(D.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(D.v)){if(D.v==Infinity||D.v==-Infinity)D.m=D.v.toString();else if(D.v.toString().indexOf("e")>-1){let H=D.v.toString().split(".")[1].split("e")[0].length;H>5&&(H=5),D.m=D.v.toExponential(H).toString()}else{let H=it(Math.round(D.v*1e9)/1e9);D.m=H[0].toString()}D.ct={fa:"General",t:"n"}}else{let H=it(D.v);D.m=H[0].toString(),D.ct=H[1]}}a[I][N]=D;let F=I,M=y-(S-N)%b;if(n[F+"_"+M]){let z={rangeType:"cell",value:{row_index:I,col_index:N,l:n[F+"_"+M].l,r:n[F+"_"+M].r,t:n[F+"_"+M].t,b:n[F+"_"+M].b}};l.borderInfo.push(z)}else if(n[I+"_"+N]){let z={rangeType:"cell",value:{row_index:I,col_index:N,l:null,r:null,t:null,b:null}};l.borderInfo.push(z)}o[F+"_"+M]&&(o[I+"_"+N]=o[F+"_"+M])}}}let C=$.extend(!0,[],t.luckysheet_conditionformat_save);if(C!=null&&C.length>0)for(let R=0;R<C.length;R++){let I=C[R].cellrange,A=[];for(let E=0;E<I.length;E++){let N=$e.CFSplitRange(I[E],{row:d.row,column:d.column},{row:k.row,column:k.column},"operatePart");N.length>0&&(A=A.concat(N))}A.length>0&&C[R].cellrange.push(k)}let T={cfg:l,cdformat:C,dataVerification:o};Ze(a,h.luckysheet_select_save,T),et()},getCopyData:function(e,a,t,l,n,o){let s=this,u=[],d,f,m,g;o=="down"||o=="up"?(d=l,f=n,m=a,g=t):(o=="right"||o=="left")&&(d=a,f=t,m=l,g=n);for(let y=d;y<=f;y++){let v={},b=[],k=[],x="",w=null,_=null,S=!0;for(let C=m;C<=g;C++){let T;o=="down"||o=="up"?T=e[C][y]:(o=="right"||o=="left")&&(T=e[y][C]);let R;if(!!T&&!!T.v&&T.f==null)if(!!T.ct&&T.ct.t=="n")R="number",w=null,_=null;else if(!!T.ct&&T.ct.t=="d")R="date",w=null,_=null;else if(s.isExtendNumber(T.m)[0]){R="extendNumber";let I=s.isExtendNumber(T.m);w==null||_==null?(S=!0,w=I[2],_=I[3]):I[2]!=w||I[3]!=_?(S=!1,w=I[2],_=I[3]):S=!0}else s.isChnNumber(T.m)?(R="chnNumber",w=null,_=null):s.isChnWeek2(T.m)?(R="chnWeek2",w=null,_=null):s.isChnWeek3(T.m)?(R="chnWeek3",w=null,_=null):(R="other",w=null,_=null);else R="other",w=null,_=null;R=="extendNumber"?C==m?m==g?(x=R,b.push(T),k.push(C-m+1),v[x]=[],v[x].push({data:b,index:k})):(x=R,b.push(T),k.push(C-m+1)):C==g?x==R&&S?(b.push(T),k.push(C-m+1),x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k}))):(x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k})),x=R,b=[],b.push(T),k=[],k.push(C-m+1),x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k}))):x==R&&S?(b.push(T),k.push(C-m+1)):(x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k})),x=R,b=[],b.push(T),k=[],k.push(C-m+1)):C==m?m==g?(x=R,b.push(T),k.push(C-m+1),v[x]=[],v[x].push({data:b,index:k})):(x=R,b.push(T),k.push(C-m+1)):C==g?x==R?(b.push(T),k.push(C-m+1),x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k}))):(x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k})),x=R,b=[],b.push(T),k=[],k.push(C-m+1),x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k}))):x==R?(b.push(T),k.push(C-m+1)):(x in v?v[x].push({data:b,index:k}):(v[x]=[],v[x].push({data:b,index:k})),x=R,b=[],b.push(T),k=[],k.push(C-m+1))}u.push(v)}return u},getApplyData:function(e,a,t){let l=this,n=[],o=l.direction,s=l.applyType,u=Math.floor(t/a),d=t%a,f=e.number,m=[];if(f)for(let I=0;I<f.length;I++){let A=l.getLenS(f[I].index,d),E=f[I].index.length*u+A,N;s=="1"||s=="3"?N=l.getDataByType(f[I].data,E,o,s,"number"):s=="2"?N=l.getDataByType(f[I].data,E,o,s):N=l.getDataByType(f[I].data,E,o,"0");let D=l.getDataIndex(a,t,f[I].index);m.push({data:N,index:D})}let g=e.extendNumber,y=[];if(g)for(let I=0;I<g.length;I++){let A=l.getLenS(g[I].index,d),E=g[I].index.length*u+A,N;s=="1"||s=="3"?N=l.getDataByType(g[I].data,E,o,s,"extendNumber"):s=="2"?N=l.getDataByType(g[I].data,E,o,s):N=l.getDataByType(g[I].data,E,o,"0");let D=l.getDataIndex(a,t,g[I].index);y.push({data:N,index:D})}let v=e.date,b=[];if(v)for(let I=0;I<v.length;I++){let A=l.getLenS(v[I].index,d),E=v[I].index.length*u+A,N;s=="1"||s=="3"?N=l.getDataByType(v[I].data,E,o,s,"date"):s=="8"?N=l.getDataByType(v[I].data,E,o,"0"):N=l.getDataByType(v[I].data,E,o,s);let D=l.getDataIndex(a,t,v[I].index);b.push({data:N,index:D})}let k=e.chnNumber,x=[];if(k)for(let I=0;I<k.length;I++){let A=l.getLenS(k[I].index,d),E=k[I].index.length*u+A,N;s=="1"||s=="3"?N=l.getDataByType(k[I].data,E,o,s,"chnNumber"):s=="2"||s=="8"?N=l.getDataByType(k[I].data,E,o,s):N=l.getDataByType(k[I].data,E,o,"0");let D=l.getDataIndex(a,t,k[I].index);x.push({data:N,index:D})}let w=e.chnWeek2,_=[];if(w)for(let I=0;I<w.length;I++){let A=l.getLenS(w[I].index,d),E=w[I].index.length*u+A,N;s=="1"||s=="3"?N=l.getDataByType(w[I].data,E,o,s,"chnWeek2"):s=="2"?N=l.getDataByType(w[I].data,E,o,s):N=l.getDataByType(w[I].data,E,o,"0");let D=l.getDataIndex(a,t,w[I].index);_.push({data:N,index:D})}let S=e.chnWeek3,C=[];if(S)for(let I=0;I<S.length;I++){let A=l.getLenS(S[I].index,d),E=S[I].index.length*u+A,N;s=="1"||s=="3"?N=l.getDataByType(S[I].data,E,o,s,"chnWeek3"):s=="2"?N=l.getDataByType(S[I].data,E,o,s):N=l.getDataByType(S[I].data,E,o,"0");let D=l.getDataIndex(a,t,S[I].index);C.push({data:N,index:D})}let T=e.other,R=[];if(T)for(let I=0;I<T.length;I++){let A=l.getLenS(T[I].index,d),E=T[I].index.length*u+A,N;s=="2"||s=="3"?N=l.getDataByType(T[I].data,E,o,s):N=l.getDataByType(T[I].data,E,o,"0");let D=l.getDataIndex(a,t,T[I].index);R.push({data:N,index:D})}for(let I=1;I<=t;I++){if(m.length>0)for(let A=0;A<m.length;A++)I in m[A].index&&n.push(m[A].data[m[A].index[I]]);if(y.length>0)for(let A=0;A<y.length;A++)I in y[A].index&&n.push(y[A].data[y[A].index[I]]);if(b.length>0)for(let A=0;A<b.length;A++)I in b[A].index&&n.push(b[A].data[b[A].index[I]]);if(x.length>0)for(let A=0;A<x.length;A++)I in x[A].index&&n.push(x[A].data[x[A].index[I]]);if(_.length>0)for(let A=0;A<_.length;A++)I in _[A].index&&n.push(_[A].data[_[A].index[I]]);if(C.length>0)for(let A=0;A<C.length;A++)I in C[A].index&&n.push(C[A].data[C[A].index[I]]);if(R.length>0)for(let A=0;A<R.length;A++)I in R[A].index&&n.push(R[A].data[R[A].index[I]])}return n},getLenS:function(e,a){let t=0;for(let l=0;l<e.length&&e[l]<=a;l++)t++;return t},getDataIndex:function(e,a,t){let l={},n=Math.floor(a/e),o=a%e,s=0;if(n>0){for(let u=1;u<=n;u++)for(let d=0;d<t.length;d++)l[t[d]+(u-1)*e]=s,s++;for(let u=0;u<t.length&&t[u]<=o;u++)l[t[u]+e*n]=s,s++}else for(let u=0;u<t.length&&t[u]<=o;u++)l[t[u]]=s,s++;return l},getDataByType:function(e,a,t,l,n){let o=this,s=[];if(l=="0")(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,a);else if(l=="1")if(n=="number")s=o.FillSeries(e,a,t);else if(n=="extendNumber")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillExtendNumber(e,a,u)}else{let u=[];for(let d=0;d<e.length;d++){let f=e[d].m;u.push(Number(o.isExtendNumber(f)[1]))}if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let d=u[1]-u[0];s=o.FillExtendNumber(e,a,d)}else s=o.FillCopy(e,a)}else if(n=="date")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillDays(e,a,u)}else{(t=="up"||t=="left")&&e.reverse();let u=o.judgeDate(e);if(u[0]&&u[3]){let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months");s=o.FillMonths(e,a,d)}else if(!u[0]&&u[2]){let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"days");s=o.FillDays(e,a,d)}else s=o.FillCopy(e,a)}else if(n=="chnNumber")if(e.length==1)if(e[0].m=="\u65E5"||o.ChineseToNumber(e[0].m)<7){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnWeek(e,a,u)}else{let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnNumber(e,a,u)}else{let u=!1;for(let m=0;m<e.length;m++)if(e[m].m=="\u65E5"){u=!0;break}let d=[],f=0;for(let m=0;m<e.length;m++)e[m].m=="\u65E5"?m==0?d.push(0):(f++,d.push(f*7)):u&&o.ChineseToNumber(e[m].m)>0&&o.ChineseToNumber(e[m].m)<7?d.push(o.ChineseToNumber(e[m].m)+f*7):d.push(o.ChineseToNumber(e[m].m));if((t=="up"||t=="left")&&(e.reverse(),d.reverse()),o.isEqualDiff(d))if(u||d[d.length-1]<6&&d[0]>0||d[0]<6&&d[d.length-1]>0){let m=d[1]-d[0];s=o.FillChnWeek(e,a,m)}else{let m=d[1]-d[0];s=o.FillChnNumber(e,a,m)}else s=o.FillCopy(e,a)}else if(n=="chnWeek2")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnWeek2(e,a,u)}else{let u=[],d=0;for(let f=0;f<e.length;f++){let m=e[f].m.substr(e[f].m.length-1,1);e[f].m=="\u5468\u65E5"?f==0?u.push(0):(d++,u.push(d*7)):u.push(o.ChineseToNumber(m)+d*7)}if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let f=u[1]-u[0];s=o.FillChnWeek2(e,a,f)}else s=o.FillCopy(e,a)}else if(n=="chnWeek3")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnWeek3(e,a,u)}else{let u=[],d=0;for(let f=0;f<e.length;f++){let m=e[f].m.substr(e[f].m.length-1,1);e[f].m=="\u661F\u671F\u65E5"?f==0?u.push(0):(d++,u.push(d*7)):u.push(o.ChineseToNumber(m)+d*7)}if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let f=u[1]-u[0];s=o.FillChnWeek3(e,a,f)}else s=o.FillCopy(e,a)}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,a);else if(l=="2")(t=="up"||t=="left")&&e.reverse(),s=o.FillOnlyFormat(e,a);else if(l=="3"){let u=o.getDataByType(e,a,t,"1",n);s=o.FillWithoutFormat(u)}else if(l=="4")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillDays(e,a,u)}else if(e.length==2){(t=="up"||t=="left")&&e.reverse();let u=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"days");s=o.FillDays(e,a,u)}else{(t=="up"||t=="left")&&e.reverse();let u=o.judgeDate(e);if(u[0]&&u[3]){let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months");s=o.FillMonths(e,a,d)}else if(!u[0]&&u[2]){let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"days");s=o.FillDays(e,a,d)}else s=o.FillCopy(e,a)}else if(l=="5")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1);let d=Math.round(a*1.5);for(let f=1;f<=d;f++){let m=$.extend(!0,{},e[0]),g=(0,Ie.default)(m.m).add(f,"days").day();if(g==0||g==6)continue;let y=(0,Ie.default)(m.m).add(u*f,"days").format("YYYY-MM-DD");if(m.m=y,m.v=it(y)[2],s.push(m),s.length==a)break}}else if(e.length==2)if((0,Ie.default)(e[1].m).date()==(0,Ie.default)(e[0].m).date()&&(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months")!=0){(t=="up"||t=="left")&&e.reverse();let u=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months");for(let d=1;d<=a;d++){let f=(d-1)%e.length,m=$.extend(!0,{},e[f]),g=(0,Ie.default)(e[e.length-1]).add(u*d,"months").day(),y;g==0?y=(0,Ie.default)(e[e.length-1]).add(u*d,"months").subtract(2,"days").format("YYYY-MM-DD"):g==6?y=(0,Ie.default)(e[e.length-1]).add(u*d,"months").subtract(1,"days").format("YYYY-MM-DD"):y=(0,Ie.default)(e[e.length-1]).add(u*d,"months").format("YYYY-MM-DD"),m.m=y,m.v=it(y)[2],s.push(m)}}else if(Math.abs((0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m)))>7){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1,e.reverse());let d;for(let f=1;f<=a;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Ie.default)(g.m).add(u*y,"months").diff((0,Ie.default)(g.m),"days"));let v=(0,Ie.default)(g.m).add(d,"days").day(),b;v==0?b=(0,Ie.default)(g.m).add(d,"days").subtract(2,"days").format("YYYY-MM-DD"):v==6?b=(0,Ie.default)(g.m).add(d,"days").subtract(1,"days").format("YYYY-MM-DD"):b=(0,Ie.default)(g.m).add(d,"days").format("YYYY-MM-DD"),g.m=b,g.v=it(b)[2],s.push(g)}}else{let u;t=="down"||t=="right"?u=7:(t=="up"||t=="left")&&(u=-7,e.reverse());let d;for(let f=1;f<=a;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Ie.default)(g.m).add(u*y,"days").diff((0,Ie.default)(g.m),"days"));let v=(0,Ie.default)(g.m).add(d,"days").day(),b;v==0?b=(0,Ie.default)(g.m).add(d,"days").subtract(2,"days").format("YYYY-MM-DD"):v==6?b=(0,Ie.default)(g.m).add(d,"days").subtract(1,"days").format("YYYY-MM-DD"):b=(0,Ie.default)(g.m).add(d,"days").format("YYYY-MM-DD"),g.m=b,g.v=it(b)[2],s.push(g)}}else{let u=o.judgeDate(e);if(u[0]&&u[3]){(t=="up"||t=="left")&&e.reverse();let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months");for(let f=1;f<=a;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=(0,Ie.default)(e[e.length-1].m).add(d*f,"months").day(),v;y==0?v=(0,Ie.default)(e[e.length-1].m).add(d*f,"months").subtract(2,"days").format("YYYY-MM-DD"):y==6?v=(0,Ie.default)(e[e.length-1].m).add(d*f,"months").subtract(1,"days").format("YYYY-MM-DD"):v=(0,Ie.default)(e[e.length-1].m).add(d*f,"months").format("YYYY-MM-DD"),g.m=v,g.v=it(v)[2],s.push(g)}}else if(!u[0]&&u[2])if(Math.abs((0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m)))>7){let d;t=="down"||t=="right"?d=1:(t=="up"||t=="left")&&(d=-1,e.reverse());let f;for(let m=1;m<=a;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Ie.default)(y.m).add(d*v,"months").diff((0,Ie.default)(y.m),"days"));let b=(0,Ie.default)(y.m).add(f,"days").day(),k;b==0?k=(0,Ie.default)(y.m).add(f,"days").subtract(2,"days").format("YYYY-MM-DD"):b==6?k=(0,Ie.default)(y.m).add(f,"days").subtract(1,"days").format("YYYY-MM-DD"):k=(0,Ie.default)(y.m).add(f,"days").format("YYYY-MM-DD"),y.m=k,y.v=it(k)[2],s.push(y)}}else{let d;t=="down"||t=="right"?d=7:(t=="up"||t=="left")&&(d=-7,e.reverse());let f;for(let m=1;m<=a;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Ie.default)(y.m).add(d*v,"days").diff((0,Ie.default)(y.m),"days"));let b=(0,Ie.default)(y.m).add(f,"days").day(),k;b==0?k=(0,Ie.default)(y.m).add(f,"days").subtract(2,"days").format("YYYY-MM-DD"):b==6?k=(0,Ie.default)(y.m).add(f,"days").subtract(1,"days").format("YYYY-MM-DD"):k=(0,Ie.default)(y.m).add(f,"days").format("YYYY-MM-DD"),y.m=k,y.v=it(k)[2],s.push(y)}}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,a)}else if(l=="6")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillMonths(e,a,u)}else if(e.length==2)if((0,Ie.default)(e[1].m).date()==(0,Ie.default)(e[0].m).date()&&(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months")!=0){(t=="up"||t=="left")&&e.reverse();let u=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months");s=o.FillMonths(e,a,u)}else{let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1,e.reverse());let d;for(let f=1;f<=a;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Ie.default)(g.m).add(u*y,"months").diff((0,Ie.default)(g.m),"days"));let v=(0,Ie.default)(g.m).add(d,"days").format("YYYY-MM-DD");g.m=v,g.v=it(v)[2],s.push(g)}}else{let u=o.judgeDate(e);if(u[0]&&u[3]){(t=="up"||t=="left")&&e.reverse();let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months");s=o.FillMonths(e,a,d)}else if(!u[0]&&u[2]){let d;t=="down"||t=="right"?d=1:(t=="up"||t=="left")&&(d=-1,e.reverse());let f;for(let m=1;m<=a;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Ie.default)(y.m).add(d*v,"months").diff((0,Ie.default)(y.m),"days"));let b=(0,Ie.default)(y.m).add(f,"days").format("YYYY-MM-DD");y.m=b,y.v=it(b)[2],s.push(y)}}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,a)}else if(l=="7")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillYears(e,a,u)}else if(e.length==2)if((0,Ie.default)(e[1].m).date()==(0,Ie.default)(e[0].m).date()&&(0,Ie.default)(e[1].m).month()==(0,Ie.default)(e[0].m).month()&&(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"years")!=0){(t=="up"||t=="left")&&e.reverse();let u=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"years");s=o.FillYears(e,a,u)}else{let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1,e.reverse());let d;for(let f=1;f<=a;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Ie.default)(g.m).add(u*y,"years").diff((0,Ie.default)(g.m),"days"));let v=(0,Ie.default)(g.m).add(d,"days").format("YYYY-MM-DD");g.m=v,g.v=it(v)[2],s.push(g)}}else{let u=o.judgeDate(e);if(u[0]&&u[1]&&u[4]){(t=="up"||t=="left")&&e.reverse();let d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"years");s=o.FillYears(e,a,d)}else if(u[0]&&u[3]||u[2]){let d;t=="down"||t=="right"?d=1:(t=="up"||t=="left")&&(d=-1,e.reverse());let f;for(let m=1;m<=a;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Ie.default)(y.m).add(d*v,"years").diff((0,Ie.default)(y.m),"days"));let b=(0,Ie.default)(y.m).add(f,"days").format("YYYY-MM-DD");y.m=b,y.v=it(b)[2],s.push(y)}}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,a)}else if(l=="8")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnNumber(e,a,u)}else{let u=[];for(let d=0;d<e.length;d++)u.push(o.ChineseToNumber(e[d].m));if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let d=u[1]-u[0];s=o.FillChnNumber(e,a,d)}else s=o.FillCopy(e,a)}return s},FillCopy:function(e,a){let t=[];for(let l=1;l<=a;l++){let n=(l-1)%e.length,o=$.extend(!0,{},e[n]);t.push(o)}return t},FillSeries:function(e,a,t){let l=this,n=[],o=[];for(let s=0;s<e.length;s++)o.push(Number(e[s].v));if(e.length>2&&l.isEqualRatio(o))for(let s=1;s<=a;s++){let u=(s-1)%e.length,d=$.extend(!0,{},e[u]),f;t=="down"||t=="right"?f=Number(e[e.length-1].v)*Math.pow(Number(e[1].v)/Number(e[0].v),s):(t=="up"||t=="left")&&(f=Number(e[0].v)/Math.pow(Number(e[1].v)/Number(e[0].v),s)),d.v=f,d.m=mt(d.ct.fa,f),n.push(d)}else{let s=l.getXArr(e.length);for(let u=1;u<=a;u++){let d=(u-1)%e.length,f=$.extend(!0,{},e[d]),m;t=="down"||t=="right"?m=l.forecast(e.length+u,o,s):(t=="up"||t=="left")&&(m=l.forecast(1-u,o,s)),f.v=m,f.m=mt(f.ct.fa,m),n.push(f)}}return n},FillExtendNumber:function(e,a,t){let l=this,n=[],o=/0|([1-9]+[0-9]*)/g;for(let s=1;s<=a;s++){let u=(s-1)%e.length,d=$.extend(!0,{},e[u]),f=e[e.length-1].m,m=f.match(o),g=m[m.length-1],y=Math.abs(Number(g)+t*s),v=f.lastIndexOf(g),b=f.substr(0,v)+y.toString()+f.substr(v+g.length);d.v=b,d.m=b,n.push(d)}return n},FillOnlyFormat:function(e,a){let t=[];for(let l=1;l<=a;l++){let n=(l-1)%e.length,o=$.extend(!0,{},e[n]);delete o.f,delete o.m,delete o.v,t.push(o)}return t},FillWithoutFormat:function(e){let a=[];for(let t=0;t<e.length;t++){let l=$.extend(!0,{},e[t]),n;l.f==null?n={m:l.v.toString(),v:l.v}:n={f:l.f,m:l.v.toString(),v:l.v},a.push(n)}return a},FillDays:function(e,a,t){let l=[];for(let n=1;n<=a;n++){let o=(n-1)%e.length,s=$.extend(!0,{},e[o]),u=mt("yyyy-MM-dd",s.v);u=(0,Ie.default)(u).add(t*n,"days").format("YYYY-MM-DD"),s.v=it(u)[2],s.m=mt(s.ct.fa,s.v),l.push(s)}return l},FillMonths:function(e,a,t){let l=[];for(let n=1;n<=a;n++){let o=(n-1)%e.length,s=$.extend(!0,{},e[o]),u=mt("yyyy-MM-dd",s.v);u=(0,Ie.default)(u).add(t*n,"months").format("YYYY-MM-DD"),s.v=it(u)[2],s.m=mt(s.ct.fa,s.v),l.push(s)}return l},FillYears:function(e,a,t){let l=[];for(let n=1;n<=a;n++){let o=(n-1)%e.length,s=$.extend(!0,{},e[o]),u=mt("yyyy-MM-dd",s.v);u=(0,Ie.default)(u).add(t*n,"years").format("YYYY-MM-DD"),s.v=it(u)[2],s.m=mt(s.ct.fa,s.v),l.push(s)}return l},FillChnWeek:function(e,a,t){let l=this,n=[];for(let o=1;o<=a;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d;e[e.length-1].m=="\u65E5"?d=7+t*o:d=l.ChineseToNumber(e[e.length-1].m)+t*o,d<0&&(d=Math.ceil(Math.abs(d)/7)*7+d);let f=d%7;f==0?(u.m="\u65E5",u.v="\u65E5"):f==1?(u.m="\u4E00",u.v="\u4E00"):f==2?(u.m="\u4E8C",u.v="\u4E8C"):f==3?(u.m="\u4E09",u.v="\u4E09"):f==4?(u.m="\u56DB",u.v="\u56DB"):f==5?(u.m="\u4E94",u.v="\u4E94"):f==6&&(u.m="\u516D",u.v="\u516D"),n.push(u)}return n},FillChnWeek2:function(e,a,t){let l=this,n=[];for(let o=1;o<=a;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d;if(e[e.length-1].m=="\u5468\u65E5")d=7+t*o;else{let m=e[e.length-1].m,g=m.substr(m.length-1,1);d=l.ChineseToNumber(g)+t*o}d<0&&(d=Math.ceil(Math.abs(d)/7)*7+d);let f=d%7;f==0?(u.m="\u5468\u65E5",u.v="\u5468\u65E5"):f==1?(u.m="\u5468\u4E00",u.v="\u5468\u4E00"):f==2?(u.m="\u5468\u4E8C",u.v="\u5468\u4E8C"):f==3?(u.m="\u5468\u4E09",u.v="\u5468\u4E09"):f==4?(u.m="\u5468\u56DB",u.v="\u5468\u56DB"):f==5?(u.m="\u5468\u4E94",u.v="\u5468\u4E94"):f==6&&(u.m="\u5468\u516D",u.v="\u5468\u516D"),n.push(u)}return n},FillChnWeek3:function(e,a,t){let l=this,n=[];for(let o=1;o<=a;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d;if(e[e.length-1].m=="\u661F\u671F\u65E5")d=7+t*o;else{let m=e[e.length-1].m,g=m.substr(m.length-1,1);d=l.ChineseToNumber(g)+t*o}d<0&&(d=Math.ceil(Math.abs(d)/7)*7+d);let f=d%7;f==0?(u.m="\u661F\u671F\u65E5",u.v="\u661F\u671F\u65E5"):f==1?(u.m="\u661F\u671F\u4E00",u.v="\u661F\u671F\u4E00"):f==2?(u.m="\u661F\u671F\u4E8C",u.v="\u661F\u671F\u4E8C"):f==3?(u.m="\u661F\u671F\u4E09",u.v="\u661F\u671F\u4E09"):f==4?(u.m="\u661F\u671F\u56DB",u.v="\u661F\u671F\u56DB"):f==5?(u.m="\u661F\u671F\u4E94",u.v="\u661F\u671F\u4E94"):f==6&&(u.m="\u661F\u671F\u516D",u.v="\u661F\u671F\u516D"),n.push(u)}return n},FillChnNumber:function(e,a,t){let l=this,n=[];for(let o=1;o<=a;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d=l.ChineseToNumber(e[e.length-1].m)+t*o,f;d<=0?f="\u96F6":f=l.NumberToChinese(d),u.v=f,u.m=f.toString(),n.push(u)}return n},isEqualDiff:function(e){let a=!0,t=e[1]-e[0];for(let l=1;l<e.length;l++)if(e[l]-e[l-1]!=t){a=!1;break}return a},isEqualRatio:function(e){let a=!0,t=e[1]/e[0];for(let l=1;l<e.length;l++)if(e[l]/e[l-1]!=t){a=!1;break}return a},getXArr:function(e){let a=[];for(let t=1;t<=e;t++)a.push(t);return a},forecast:function(e,a,t){function l(m){let g=0;for(let y=0;y<m.length;y++)g+=m[y];return g/m.length}let n=l(t),o=l(a),s=0,u=0;for(let m=0;m<t.length;m++)s+=(t[m]-n)*(a[m]-o),u+=(t[m]-n)*(t[m]-n);let d;u==0?d=1:d=s/u;let f=o-d*n;return Math.round((f+d*e)*1e5)/1e5},judgeDate:function(e){let a=!0,t=!0,l=!0,n=!0,o=!0,s=(0,Ie.default)(e[0].m).date(),u=(0,Ie.default)(e[0].m).month(),d=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"days"),f=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"months"),m=(0,Ie.default)(e[1].m).diff((0,Ie.default)(e[0].m),"years");for(let g=1;g<e.length;g++)(0,Ie.default)(e[g].m).date()!=s&&(a=!1),(0,Ie.default)(e[g].m).month()!=u&&(t=!1),(0,Ie.default)(e[g].m).diff((0,Ie.default)(e[g-1].m),"days")!=d&&(l=!1),(0,Ie.default)(e[g].m).diff((0,Ie.default)(e[g-1].m),"months")!=f&&(n=!1),(0,Ie.default)(e[g].m).diff((0,Ie.default)(e[g-1].m),"years")!=m&&(o=!1);return d==0&&(l=!1),f==0&&(n=!1),m==0&&(o=!1),[a,t,l,n,o]}},tr=Ry});var ma,W,Or=Ae(()=>{Rt();Ml();Xt();fa();Zt();lr();Hl();Os();Pr();Ke();bt();ma={freezenHorizontalHTML:'<div id="luckysheet-freezebar-horizontal" class="luckysheet-freezebar" tabindex="0"><div class="luckysheet-freezebar-handle luckysheet-freezebar-horizontal-handle" ><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-horizontal-handle-title" ></div><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-horizontal-handle-bar" ></div></div><div class="luckysheet-freezebar-drop luckysheet-freezebar-horizontal-drop" ><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-horizontal-drop-title" ></div><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-horizontal-drop-bar" >&nbsp;</div></div></div>',freezenVerticalHTML:'<div id="luckysheet-freezebar-vertical" class="luckysheet-freezebar" tabindex="0"><div class="luckysheet-freezebar-handle luckysheet-freezebar-vertical-handle" ><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-vertical-handle-title" ></div><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-vertical-handle-bar" ></div></div><div class="luckysheet-freezebar-drop luckysheet-freezebar-vertical-drop" ><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-vertical-drop-title" ></div><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-vertical-drop-bar" >&nbsp;</div></div></div>',initialHorizontal:!0,initialVertical:!0,horizontalmovestate:!1,horizontalmoveposition:null,verticalmovestate:!1,verticalmoveposition:null,windowHeight:null,windowWidth:null,freezenhorizontaldata:null,freezenverticaldata:null,cutVolumn:function(e,a){if(a<=0)return e;let t=e.slice(0,a),l=t[t.length-1];return e.slice(a)},cancelFreezenVertical:function(e){let a=this,l=Q().freezen;$("#luckysheet-freezen-btn-vertical").html('<i class="fa fa-indent"></i> '+l.freezenColumn),a.freezenverticaldata=null;let n=$("#luckysheet-freezebar-vertical").is(":visible");$("#luckysheet-freezebar-vertical").hide(),e==null&&(e=h.currentSheetIndex);let o=h.luckysheetfile[Z(e)];o.freezen!=null&&(o.freezen.vertical=null),o.frozen!=null&&n&&re.saveParam("all",e,o.frozen,{k:"frozen"})},createFreezenVertical:function(e,a){let t=this;if(t.initialVertical){t.initialVertical=!1,$("#luckysheet-grid-window-1").append(t.freezenVerticalHTML),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-drop").hover(function(){$(this).parent().addClass("luckysheet-freezebar-hover")},function(){$(this).parent().removeClass("luckysheet-freezebar-hover")}),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-drop").mousedown(function(){t.verticalmovestate=!0,t.verticalmoveposition=$(this).position().left,t.windowWidth=$("#luckysheet-grid-window-1").width(),$(this).parent().addClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css("cursor","-webkit-grabbing")});let n=$("#luckysheet-grid-window-1").height();$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css({height:n-10,width:"4px",cursor:"-webkit-grab",top:"0px"}).end().find(".luckysheet-freezebar-vertical-drop").css({height:n-10,width:"4px",top:"0px",cursor:"-webkit-grab"})}if(e==null){let n=$("#luckysheet-cell-main").scrollLeft(),o=lt(h.visibledatacolumn,n);o==-1&&(o=0),a=h.visibledatacolumn[o]-2-n+h.rowHeaderWidth,e=[h.visibledatacolumn[o],o+1,n,t.cutVolumn(h.visibledatacolumn,o+1),a],t.saveFreezen(null,null,e,a)}t.freezenverticaldata=e;let l=`
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont luckysheet-iconfont-dongjie1"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
${Q().freezen.freezenCancel}
</div>
</div>
</div>
`;$("#luckysheet-freezen-btn-horizontal").html(l),$("#luckysheet-freezebar-vertical").show().find(".luckysheet-freezebar-vertical-handle").css({left:a}).end().find(".luckysheet-freezebar-vertical-drop").css({left:a})},saveFreezen:function(e,a,t,l){let n=h.luckysheetfile[Z(h.currentSheetIndex)];n.freezen==null&&(n.freezen={}),e!=null&&(n.freezen.horizontal==null&&(n.freezen.horizontal={}),n.freezen.horizontal.freezenhorizontaldata=e,n.freezen.horizontal.top=a),t!=null&&(n.freezen.vertical==null&&(n.freezen.vertical={}),n.freezen.vertical.freezenverticaldata=t,n.freezen.vertical.left=l),n.frozen!=null&&re.saveParam("all",h.currentSheetIndex,n.frozen,{k:"frozen"})},initialFreezen:function(e){let a=this;a.frozenTofreezen();let t=h.luckysheetfile[Z(e)];t.freezen!=null&&t.freezen.horizontal!=null&&t.freezen.horizontal.freezenhorizontaldata!=null?a.createFreezenHorizontal(t.freezen.horizontal.freezenhorizontaldata,t.freezen.horizontal.top):a.cancelFreezenHorizontal(e),t.freezen!=null&&t.freezen.vertical!=null&&t.freezen.vertical.freezenverticaldata!=null?a.createFreezenVertical(t.freezen.vertical.freezenverticaldata,t.freezen.vertical.left):a.cancelFreezenVertical(e),a.createAssistCanvas()},changeFreezenIndex:function(e,a){let t=this;if(a=="v"&&t.freezenverticaldata!=null){let l=t.freezenverticaldata[1],n=lt(h.visibledatacolumn,$("#luckysheet-cell-main").scrollLeft());e-n<l&&(e=e-n)}else if(a=="h"&&t.freezenhorizontaldata!=null){let l=t.freezenhorizontaldata[1],n=lt(h.visibledatarow,$("#luckysheet-cell-main").scrollTop());e-n<l&&(e=e-n)}return e},scrollFreezen:function(){let e=this,a,t=h.luckysheet_select_save[0].row_focus;t==h.luckysheet_select_save[0].row[0]?a=h.luckysheet_select_save[0].row[1]:t==h.luckysheet_select_save[0].row[1]&&(a=h.luckysheet_select_save[0].row[0]);let l,n=h.luckysheet_select_save[0].column_focus;if(n==h.luckysheet_select_save[0].column[0]?l=h.luckysheet_select_save[0].column[1]:n==h.luckysheet_select_save[0].column[1]&&(l=h.luckysheet_select_save[0].column[0]),e.freezenverticaldata!=null){let o=e.freezenverticaldata[1],s=lt(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()),u=e.freezenverticaldata[4];o+=s,l>=h.visibledatacolumn.length&&(l=h.visibledatacolumn.length-1),o>=h.visibledatacolumn.length&&(o=h.visibledatacolumn.length-1);let d=h.visibledatacolumn[l],f=h.visibledatacolumn[o];d<=f+u&&setTimeout(function(){$("#luckysheet-scrollbar-x").scrollLeft(0)},100)}if(e.freezenhorizontaldata!=null){let o=e.freezenhorizontaldata[1],s=lt(e.freezenhorizontaldata[3],$("#luckysheet-cell-main").scrollTop()),u=e.freezenhorizontaldata[4];o+=s,a>=h.visibledatarow.length&&(a=h.visibledatarow.length-1),o>=h.visibledatarow.length&&(o=h.visibledatarow.length-1);let d=h.visibledatarow[a],f=h.visibledatarow[o];d<=f+u&&setTimeout(function(){$("#luckysheet-scrollbar-y").scrollTop(0)},100)}},cancelFreezenHorizontal:function(e){let a=this,t=`
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont luckysheet-iconfont-dongjie1"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
${Q().freezen.default}
</div>
</div>
</div>
`;$("#luckysheet-freezen-btn-horizontal").html(t),a.freezenhorizontaldata=null;let l=$("#luckysheet-freezebar-horizontal").is(":visible");$("#luckysheet-freezebar-horizontal").hide(),e==null&&(e=h.currentSheetIndex);let n=h.luckysheetfile[Z(e)];n.freezen!=null&&(n.freezen.horizontal=null),n.frozen!=null&&l&&re.saveParam("all",e,n.frozen,{k:"frozen"})},createFreezenHorizontal:function(e,a){let t=this;if(t.initialHorizontal){t.initialHorizontal=!1,$("#luckysheet-grid-window-1").append(t.freezenHorizontalHTML),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-drop").hover(function(){$(this).parent().addClass("luckysheet-freezebar-hover")},function(){$(this).parent().removeClass("luckysheet-freezebar-hover")}),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-drop").mousedown(function(){t.horizontalmovestate=!0,t.horizontalmoveposition=$(this).position().top,t.windowHeight=$("#luckysheet-grid-window-1").height(),$(this).parent().addClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css("cursor","-webkit-grabbing")});let n=$("#luckysheet-grid-window-1").width();$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css({width:n-10,height:"4px",cursor:"-webkit-grab",left:"0px"}).end().find(".luckysheet-freezebar-horizontal-drop").css({width:n-10,height:"4px",left:"0px",cursor:"-webkit-grab"})}if(e==null){let n=$("#luckysheet-cell-main").scrollTop(),o=lt(h.visibledatarow,n);o==-1&&(o=0),a=h.visibledatarow[o]-2-n+h.columnHeaderHeight,e=[h.visibledatarow[o],o+1,n,t.cutVolumn(h.visibledatarow,o+1),a],t.saveFreezen(e,a,null,null)}t.freezenhorizontaldata=e;let l=`
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
style="user-select: none;">
<div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
<div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont luckysheet-iconfont-dongjie1"
style="user-select: none;">
</div>
</div>
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
style="user-select: none;">
${Q().freezen.freezenCancel}
</div>
</div>
</div>
`;$("#luckysheet-freezen-btn-horizontal").html(l),$("#luckysheet-freezebar-horizontal").show().find(".luckysheet-freezebar-horizontal-handle").css({top:a}).end().find(".luckysheet-freezebar-horizontal-drop").css({top:a})},createAssistCanvas:function(){let e=this;if(e.removeAssistCanvas(),e.freezenverticaldata!=null||e.freezenhorizontaldata!=null){let a,t,l,n,o,s,u=h.luckysheetTableContentHW[0],d=h.luckysheetTableContentHW[1];e.freezenverticaldata!=null&&e.freezenhorizontaldata!=null?(a=e.freezenhorizontaldata[0],t=e.freezenhorizontaldata[1],l=e.freezenhorizontaldata[2],n=e.freezenverticaldata[0],o=e.freezenverticaldata[1],s=e.freezenverticaldata[2],e.createCanvas("freezen_3",n-s,a-l+1,h.rowHeaderWidth-1,h.columnHeaderHeight-1),e.createCanvas("freezen_4",u-n+s,a-l+1,n-s+h.rowHeaderWidth-1,h.columnHeaderHeight-1),e.createCanvas("freezen_7",n-s,d-a+l-h.columnHeaderHeight,h.rowHeaderWidth-1,a-l+h.columnHeaderHeight-1)):e.freezenhorizontaldata!=null?(a=e.freezenhorizontaldata[0],t=e.freezenhorizontaldata[1],l=e.freezenhorizontaldata[2],e.createCanvas("freezen_h",u,a-l+1,h.rowHeaderWidth-1,h.columnHeaderHeight-1)):e.freezenverticaldata!=null&&(n=e.freezenverticaldata[0],o=e.freezenverticaldata[1],s=e.freezenverticaldata[2],e.createCanvas("freezen_v",n-s,d,h.rowHeaderWidth-1,h.columnHeaderHeight-1)),e.scrollAdapt()}},createCanvas:function(e,a,t,l,n){let o=$("<canvas/>").appendTo("#luckysheet-grid-window-1").attr({id:e,width:Math.ceil(a*h.devicePixelRatio),height:Math.ceil(t*h.devicePixelRatio)}).css({"user-select":"none",postion:"absolute",left:l,top:n,width:a,height:t,"z-index":10,"pointer-events":"none"})},removeAssistCanvas:function(){$("#luckysheet-grid-window-1 > canvas").not($("#luckysheetTableContent")).remove(),$("#luckysheet-cell-selected").css("z-index",15)},scrollAdapt:function(){let e=this;if(h.luckysheet_select_save!=null&&h.luckysheet_select_save.length>0&&e.scrollAdaptOfselect(),$("#luckysheet-cell-main .luckysheet-data-visualization-chart").length>0){let a=h.luckysheetfile[Z(h.currentSheetIndex)].chart;a!=null&&a.length>0&&e.scrollAdaptOfchart()}$("#luckysheet-postil-showBoxs .luckysheet-postil-show").length>0&&e.scrollAdaptOfpostil(),$("#luckysheet-dropCell-icon").length>0&&e.scrollAdaptOfdpicon(),$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").length>0&&e.scrollAdaptOffilteroptions()},scrollAdaptOfselect:function(){let e=this;$("#luckysheet-row-count-show").is(":visible")&&$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").is(":visible")&&$("#luckysheet-column-count-show").hide(),$("#luckysheet-rows-h-selected").empty(),$("#luckysheet-cols-h-selected").empty();let a=$("#luckysheet-cell-main").scrollTop(),t=$("#luckysheet-cell-main").scrollLeft();if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let l=e.freezenhorizontaldata[0],n=e.freezenhorizontaldata[1],o=a-e.freezenhorizontaldata[2],s=e.freezenverticaldata[0],u=e.freezenverticaldata[1],d=t-e.freezenverticaldata[2];for(let f=0;f<h.luckysheet_select_save.length;f++){let m=$.extend(!0,{},h.luckysheet_select_save[f]),g=m.row[0],y=m.row[1],v=h.visibledatarow[y],b=g-1==-1?0:h.visibledatarow[g-1],k=b,x=v-b-1,w=!0;g>=n?k+x<l+o?w=!1:k<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:l+o,height:x-(l+o-k)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:k,height:x}):y>=n?k+x<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:k+o,height:l-k}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:k+o,height:x-o}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css("top",k+o);let _=m.column[0],S=m.column[1],C=h.visibledatacolumn[S],T=_-1==-1?0:h.visibledatacolumn[_-1],R=T,I=C-T-1;if(_>=u?R+I<s+d?w=!1:R<s+d?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:s+d,width:I-(s+d-R)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:R,width:I}):S>=u?R+I<s+d?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:R+d,width:s-R}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:R+d,width:I-d}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css("left",R+d),w||$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).hide(),f==h.luckysheet_select_save.length-1){let A=m.row_focus==null?g:m.row_focus,E=m.column_focus==null?_:m.column_focus,N=h.visibledatarow[A],D=A-1==-1?0:h.visibledatarow[A-1],F=h.visibledatacolumn[E],M=E-1==-1?0:h.visibledatacolumn[E-1],z=be.mergeborer(h.flowdata,A,E);z&&(N=z.row[1],D=z.row[0],F=z.column[1],M=z.column[0]);let O=D,H=N-D-1,U=M,X=F-M-1,Y=!0;O>=l?O+H<l+o?Y=!1:O<l+o?$("#luckysheet-cell-selected-focus").show().css({top:l+o,height:H-(l+o-O)}):$("#luckysheet-cell-selected-focus").show().css({top:O,height:H}):O+H>=l?O+H<l+o?$("#luckysheet-cell-selected-focus").show().css({top:O+o,height:l-O}):$("#luckysheet-cell-selected-focus").show().css({top:O+o,height:H-o}):$("#luckysheet-cell-selected-focus").show().css("top",O+o),U>=s?U+X<s+d?Y=!1:U<s+d?$("#luckysheet-cell-selected-focus").show().css({left:s+d,width:X-(s+d-U)}):$("#luckysheet-cell-selected-focus").show().css({left:U,width:X}):U+X>=s?U+X<s+d?$("#luckysheet-cell-selected-focus").show().css({left:U+d,width:s-U}):$("#luckysheet-cell-selected-focus").show().css({left:U+d,width:X-d}):$("#luckysheet-cell-selected-focus").show().css("left",U+d),Y||$("#luckysheet-cell-selected-focus").hide()}}}else if(e.freezenhorizontaldata!=null){let l=e.freezenhorizontaldata[0],n=e.freezenhorizontaldata[1],o=a-e.freezenhorizontaldata[2];for(let s=0;s<h.luckysheet_select_save.length;s++){let u=$.extend(!0,{},h.luckysheet_select_save[s]),d=u.row[0],f=u.row[1],m=h.visibledatarow[f],g=d-1==-1?0:h.visibledatarow[d-1],y=g,v=m-g-1;if(d>=n?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).hide():y<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:l+o,height:v-(l+o-y)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:y,height:v}):f>=n?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:y+o,height:l-y}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:y+o,height:v-o}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css("top",y+o),s==h.luckysheet_select_save.length-1){let b=u.row_focus==null?d:u.row_focus,k=u.column_focus==null?u.column[0]:u.column_focus,x=h.visibledatarow[b],w=b-1==-1?0:h.visibledatarow[b-1],_=be.mergeborer(h.flowdata,b,k);_&&(x=_.row[1],w=_.row[0]);let S=w,C=x-w-1;S>=l?S+C<l+o?$("#luckysheet-cell-selected-focus").hide():S<l+o?$("#luckysheet-cell-selected-focus").show().css({top:l+o,height:C-(l+o-S)}):$("#luckysheet-cell-selected-focus").show().css({top:S,height:C}):S+C>=l?S+C<l+o?$("#luckysheet-cell-selected-focus").show().css({top:S+o,height:l-S}):$("#luckysheet-cell-selected-focus").show().css({top:S+o,height:C-o}):$("#luckysheet-cell-selected-focus").show().css("top",S+o)}}}else if(e.freezenverticaldata!=null){let l=e.freezenverticaldata[0],n=e.freezenverticaldata[1],o=t-e.freezenverticaldata[2];for(let s=0;s<h.luckysheet_select_save.length;s++){let u=$.extend(!0,{},h.luckysheet_select_save[s]),d=u.column[0],f=u.column[1],m=h.visibledatacolumn[f],g=d-1==-1?0:h.visibledatacolumn[d-1],y=g,v=m-g-1;if(d>=n?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).hide():y<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:l+o,width:v-(l+o-y)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:y,width:v}):f>=n?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:y+o,width:l-y}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:y+o,width:v-o}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css("left",y+o),s==h.luckysheet_select_save.length-1){let b=u.row_focus==null?u.row[0]:u.row_focus,k=u.column_focus==null?d:u.column_focus,x=h.visibledatacolumn[k],w=k-1==-1?0:h.visibledatacolumn[k-1],_=be.mergeborer(h.flowdata,b,k);_&&(x=_.column[1],w=_.column[0]);let S=w,C=x-w-1;S>=l?S+C<l+o?$("#luckysheet-cell-selected-focus").hide():S<l+o?$("#luckysheet-cell-selected-focus").show().css({left:l+o,width:C-(l+o-S)}):$("#luckysheet-cell-selected-focus").show().css({left:S,width:C}):S+C>=l?S+C<l+o?$("#luckysheet-cell-selected-focus").show().css({left:S+o,width:l-S}):$("#luckysheet-cell-selected-focus").show().css({left:S+o,width:C-o}):$("#luckysheet-cell-selected-focus").show().css("left",S+o)}}}else et()},scrollAdaptOfchart:function(){let e=this,a=$("#luckysheet-cell-main").scrollTop(),t=$("#luckysheet-cell-main").scrollLeft();if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let l=e.freezenhorizontaldata[0]-e.freezenhorizontaldata[2],n=e.freezenverticaldata[0]-e.freezenverticaldata[2];$("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(o,s){let u=$(s).position(),d=$(s).width(),f=$(s).height(),m=$(s).find("canvas").width(),g=$(s).find("canvas").height(),y=g-f,v=m-d;if(u.top-y<l){let b=l-(u.top-y);b>g+40+2?$(s).css("visibility","hidden"):($(s).css({top:l+a,height:g-b,visibility:"visible"}),$(s).find("canvas").css("top",-b))}else $(s).css({top:u.top-y+a,height:g,visibility:"visible"}),$(s).find("canvas").css("top",0);if(u.left-v<n){let b=n-(u.left-v);b>m+20+2?$(s).css("visibility","hidden"):($(s).css({left:n+t,width:m-b,visibility:"visible"}),$(s).find("canvas").css("left",-b))}else $(s).css({left:u.left-v+t,width:m,visibility:"visible"}),$(s).find("canvas").css("left",0)})}else if(e.freezenhorizontaldata!=null){let l=e.freezenhorizontaldata[0]-e.freezenhorizontaldata[2];$("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(n,o){let s=$(o).position(),u=$(o).height(),d=$(o).find("canvas").height(),f=d-u;if(s.top-f<l){let m=l-(s.top-f);m>d+40+2?$(o).css("visibility","hidden"):($(o).css({top:l+a,height:d-m,visibility:"visible"}),$(o).find("canvas").css("top",-m))}else $(o).css({top:s.top-f+a,height:d,visibility:"visible"}),$(o).find("canvas").css("top",0)})}else if(e.freezenverticaldata!=null){let l=e.freezenverticaldata[0]-e.freezenverticaldata[2];$("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(n,o){let s=$(o).position(),u=$(o).width(),d=$(o).find("canvas").width(),f=d-u;if(s.left-f<l){let m=l-(s.left-f);m>d+20+2?$(o).css("visibility","hidden"):($(o).css({left:l+t,width:d-m,visibility:"visible"}),$(o).find("canvas").css("left",-m))}else $(o).css({left:s.left-f+t,width:d,visibility:"visible"}),$(o).find("canvas").css("left",0)})}else $("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(l,n){let o=$(n).position(),s=$(n).width(),u=$(n).height(),d=$(n).find("canvas").width(),f=$(n).find("canvas").height(),m=f-u,g=d-s;$(n).css({top:o.top-m+a,height:f,left:o.left-g+t,width:d,visibility:"visible"}),$(n).find("canvas").css({top:0,left:0})})},scrollAdaptOfpostil:function(){let e=this,a=$("#luckysheet-cell-main").scrollTop(),t=$("#luckysheet-cell-main").scrollLeft();if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let l=e.freezenhorizontaldata[0],n=e.freezenverticaldata[0],o=a-e.freezenhorizontaldata[2],s=t-e.freezenverticaldata[2];$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(u,d){let f=$(d).attr("id"),m=f.split("luckysheet-postil-show_")[1].split("_")[0],g=f.split("luckysheet-postil-show_")[1].split("_")[1],y=h.flowdata[m][g].ps,v=h.visibledatarow[m],b=m-1==-1?0:h.visibledatarow[m-1],k=h.visibledatacolumn[g],x=g-1==-1?0:h.visibledatacolumn[g-1],w=be.mergeborer(h.flowdata,m,g);w&&(v=w.row[1],b=w.row[0],k=w.column[1],x=w.column[0]);let _=k,S=b,C=y.left==null?_+18:y.left,T=y.top==null?S-18:y.top,R=y.width==null?Be.defaultWidth:y.width,I=y.height==null?Be.defaultHeight:y.height;T<0&&(T=2);let A=Be.getArrowCanvasSize(C,T,_,S),E=!0,N=!0;m>=e.freezenhorizontaldata[1]?T+I<l?($(d).show().find(".luckysheet-postil-show-main").css("top",T+o),$(d).show().find(".arrowCanvas").css("top",A[1]+o)):T<l+o?T+I<=l+o?E=!1:($(d).show().find(".luckysheet-postil-show-main").css({top:l+o,height:I-(l+o-T)}),$(d).show().find(".formulaInputFocus").css("margin-top",-(l+o-T)),$(d).show().find(".arrowCanvas").hide(),N=!1):($(d).show().find(".luckysheet-postil-show-main").css({top:T,height:I}),$(d).show().find(".formulaInputFocus").css("margin-top",0),$(d).show().find(".arrowCanvas").css("top",A[1])):($(d).show().find(".luckysheet-postil-show-main").css("top",T+o),$(d).show().find(".arrowCanvas").css("top",A[1]+o)),g>=e.freezenverticaldata[1]?C+R<n?($(d).show().find(".luckysheet-postil-show-main").css("left",C+s),$(d).show().find(".arrowCanvas").css("left",A[0]+s)):C<n+s?C+R<=n+s?E=!1:($(d).show().find(".luckysheet-postil-show-main").css({left:n+s,width:R-(n+s-C)}),$(d).show().find(".formulaInputFocus").css("margin-left",-(n+s-C)),$(d).show().find(".arrowCanvas").hide(),N=!1):($(d).show().find(".luckysheet-postil-show-main").css({left:C,width:R}),$(d).show().find(".formulaInputFocus").css("margin-left",0),$(d).show().find(".arrowCanvas").css("left",A[0])):($(d).show().find(".luckysheet-postil-show-main").css("left",C+s),$(d).show().find(".arrowCanvas").css("left",A[0]+s)),E||$(d).hide(),E&&N&&$(d).show().find(".arrowCanvas").show()})}else if(e.freezenhorizontaldata!=null){let l=e.freezenhorizontaldata[0],n=a-e.freezenhorizontaldata[2];$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(o,s){let u=$(s).attr("id"),d=u.split("luckysheet-postil-show_")[1].split("_")[0],f=u.split("luckysheet-postil-show_")[1].split("_")[1],m=h.flowdata[d][f].ps,g=h.visibledatarow[d],y=d-1==-1?0:h.visibledatarow[d-1],v=h.visibledatacolumn[f],b=f-1==-1?0:h.visibledatacolumn[f-1],k=be.mergeborer(h.flowdata,d,f);k&&(g=k.row[1],y=k.row[0],v=k.column[1],b=k.column[0]);let x=v,w=y,_=m.left==null?x+18:m.left,S=m.top==null?w-18:m.top,C=m.width==null?Be.defaultWidth:m.width,T=m.height==null?Be.defaultHeight:m.height;S<0&&(S=2);let R=Be.getArrowCanvasSize(_,S,x,w);d>=e.freezenhorizontaldata[1]?S+T<l?($(s).show().find(".luckysheet-postil-show-main").css("top",S+n),$(s).show().find(".arrowCanvas").css("top",R[1]+n)):S<l+n?S+T<=l+n?$(s).hide():($(s).show().find(".luckysheet-postil-show-main").css({top:l+n,height:T-(l+n-S)}),$(s).show().find(".formulaInputFocus").css("margin-top",-(l+n-S)),$(s).show().find(".arrowCanvas").hide()):Be.buildPs(d,f,m):($(s).show().find(".luckysheet-postil-show-main").css("top",S+n),$(s).show().find(".arrowCanvas").css("top",R[1]+n))})}else if(e.freezenverticaldata!=null){let l=e.freezenverticaldata[0],n=t-e.freezenverticaldata[2];$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(o,s){let u=$(s).attr("id"),d=u.split("luckysheet-postil-show_")[1].split("_")[0],f=u.split("luckysheet-postil-show_")[1].split("_")[1],m=h.flowdata[d][f].ps,g=h.visibledatarow[d],y=d-1==-1?0:h.visibledatarow[d-1],v=h.visibledatacolumn[f],b=f-1==-1?0:h.visibledatacolumn[f-1],k=be.mergeborer(h.flowdata,d,f);k&&(g=k.row[1],y=k.row[0],v=k.column[1],b=k.column[0]);let x=v,w=y,_=m.left==null?x+18:m.left,S=m.top==null?w-18:m.top,C=m.width==null?Be.defaultWidth:m.width,T=m.height==null?Be.defaultHeight:m.height;S<0&&(S=2);let R=Be.getArrowCanvasSize(_,S,x,w);f>=e.freezenverticaldata[1]?_+C<l?($(s).show().find(".luckysheet-postil-show-main").css("left",_+n),$(s).show().find(".arrowCanvas").css("left",R[0]+n)):_<l+n?_+C<=l+n?$(s).hide():($(s).show().find(".luckysheet-postil-show-main").css({left:l+n,width:C-(l+n-_)}),$(s).show().find(".formulaInputFocus").css("margin-left",-(l+n-_)),$(s).show().find(".arrowCanvas").hide()):Be.buildPs(d,f,m):($(s).show().find(".luckysheet-postil-show-main").css("left",_+n),$(s).show().find(".arrowCanvas").css("left",R[0]+n))})}else $("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(l,n){let o=$(n).attr("id"),s=o.split("luckysheet-postil-show_")[1].split("_")[0],u=o.split("luckysheet-postil-show_")[1].split("_")[1],d=h.flowdata[s][u].ps;Be.buildPs(s,u,d)})},scrollAdaptOfdpicon:function(){let e=this,a=tr.copyRange.row[1],t=tr.copyRange.column[1],l=tr.applyRange.row[1],n=tr.applyRange.column[1],o,s;if(l>=a&&n>=t?(o=l,s=n):(o=a,s=t),e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let u=e.freezenhorizontaldata[1],d=lt(e.freezenhorizontaldata[3],$("#luckysheet-cell-main").scrollTop()-e.freezenhorizontaldata[2]),f=e.freezenverticaldata[1],m=lt(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);if(o>=u&&s>=f)o<u+d-1||s<f+m-1?$("#luckysheet-dropCell-icon").hide():$("#luckysheet-dropCell-icon").show();else if(o>=u)if(o<u+d-1)$("#luckysheet-dropCell-icon").hide();else{let g=$t(s+m)[1];$("#luckysheet-dropCell-icon").show().css("left",g)}else if(s>=f)if(s<f+m-1)$("#luckysheet-dropCell-icon").hide();else{let g=Qt(o+d)[1];$("#luckysheet-dropCell-icon").show().css("top",g)}else{let g=Qt(o+d)[1],y=$t(s+m)[1];$("#luckysheet-dropCell-icon").show().css({left:y,top:g})}}else if(e.freezenhorizontaldata!=null){let u=e.freezenhorizontaldata[1],d=lt(e.freezenhorizontaldata[3],$("#luckysheet-cell-main").scrollTop()-e.freezenhorizontaldata[2]);if(o>=u)o<u+d-1?$("#luckysheet-dropCell-icon").hide():$("#luckysheet-dropCell-icon").show();else{let f=Qt(o+d)[1];$("#luckysheet-dropCell-icon").show().css("top",f)}}else if(e.freezenverticaldata!=null){let u=e.freezenverticaldata[1],d=lt(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);if(s>=u)s<u+d-1?$("#luckysheet-dropCell-icon").hide():$("#luckysheet-dropCell-icon").show();else{let f=$t(s+d)[1];$("#luckysheet-dropCell-icon").show().css("left",f)}}else{let u=Qt(o)[1],d=$t(s)[1];$("#luckysheet-dropCell-icon").show().css({left:d,top:u})}},scrollAdaptOffilteroptions:function(){let e=this;if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let a=e.freezenhorizontaldata[1],t=e.freezenhorizontaldata[0]+$("#luckysheet-cell-main").scrollTop(),l=e.freezenverticaldata[1],n=lt(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(o,s){let u=$(s).data("str"),d=u-1==-1?0:h.visibledatarow[u-1],f=$(s).data("cindex");if(u>=a&&f>=l)d<t||f<l+n?$(s).hide():$(s).show();else if(u>=a)if(d<t)$(s).hide();else{let m=h.visibledatacolumn[f+n]-20;$(s).show().css("left",m)}else if(f>=l)f<l+n?$(s).hide():$(s).show().css("top",d+$("#luckysheet-cell-main").scrollTop());else{let m=h.visibledatacolumn[f+n]-20;$(s).show().css({left:m,top:d+$("#luckysheet-cell-main").scrollTop()})}})}else if(e.freezenhorizontaldata!=null){let a=e.freezenhorizontaldata[1],t=e.freezenhorizontaldata[0]+$("#luckysheet-cell-main").scrollTop();$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(l,n){let o=$(n).data("str"),s=o-1==-1?0:h.visibledatarow[o-1];o>=a?s<t?$(n).hide():$(n).show():$(n).show().css("top",s+$("#luckysheet-cell-main").scrollTop())})}else if(e.freezenverticaldata!=null){let a=e.freezenverticaldata[1],t=lt(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(l,n){let o=$(n).data("cindex");if(o>=a)o<a+t?$(n).hide():$(n).show();else{let s=h.visibledatacolumn[o+t]-20;$(n).show().css("left",s)}})}else $("#luckysheet-filter-options-sheet"+h.currentSheetIndex).empty(),Rr(h.luckysheetfile[Z(h.currentSheetIndex)].filter_select)},saveFrozen:function(e,a,t={}){a==null&&(a=Z(h.currentSheetIndex));let l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],n=l.row_focus==null?l.row[0]:l.row_focus,o=l.column_focus==null?l.column[0]:l.column_focus,s={row_focus:t.row_focus||n,column_focus:t.column_focus||o},u={freezenRow:{type:"row"},freezenColumn:{type:"column"},freezenRC:{type:"both"},freezenRowRange:{type:"rangeRow",range:s},freezenColumnRange:{type:"rangeColumn",range:s},freezenRCRange:{type:"rangeBoth",range:s},freezenCancel:{type:"cancel"}};h.luckysheetfile[a].frozen=u[e]},frozenTofreezen:function(){let e=h.luckysheetfile[Z(h.currentSheetIndex)],a=e.frozen;if(a==null)return;let t=null;if(a.type==="row"){let l=0,n=lt(h.visibledatarow,l);n==-1&&(n=0);let o=h.visibledatarow[n]-2-l+h.columnHeaderHeight;t={horizontal:{freezenhorizontaldata:[h.visibledatarow[n],n+1,l,ma.cutVolumn(h.visibledatarow,n+1),o],top:o}}}else if(a.type==="column"){let l=0,n=lt(h.visibledatacolumn,l);n==-1&&(n=0);let o=h.visibledatacolumn[n]-2-l+h.rowHeaderWidth;t={vertical:{freezenverticaldata:[h.visibledatacolumn[n],n+1,l,ma.cutVolumn(h.visibledatacolumn,n+1),o],left:o}}}else if(a.type==="both"){let l=0,n=lt(h.visibledatarow,l);n==-1&&(n=0);let o=h.visibledatarow[n]-2-l+h.columnHeaderHeight,s=[h.visibledatarow[n],n+1,l,ma.cutVolumn(h.visibledatarow,n+1),o],u=0,d=lt(h.visibledatacolumn,u);d==-1&&(d=0);let f=h.visibledatacolumn[d]-2-u+h.rowHeaderWidth,m=[h.visibledatacolumn[d],d+1,u,ma.cutVolumn(h.visibledatacolumn,d+1),f];t={horizontal:{freezenhorizontaldata:s,top:o},vertical:{freezenverticaldata:m,left:f}}}else if(a.type==="rangeRow"){let l=0,n=lt(h.visibledatarow,l),o=a.range.row_focus;o>n&&(n=o),n==-1&&(n=0);let s=h.visibledatarow[n]-2-l+h.columnHeaderHeight;t={horizontal:{freezenhorizontaldata:[h.visibledatarow[n],n+1,l,ma.cutVolumn(h.visibledatarow,n+1),s],top:s}}}else if(a.type==="rangeColumn"){let l=0,n=lt(h.visibledatacolumn,l),o=a.range.column_focus;o>n&&(n=o),n==-1&&(n=0);let s=h.visibledatacolumn[n]-2-l+h.rowHeaderWidth;t={vertical:{freezenverticaldata:[h.visibledatacolumn[n],n+1,l,ma.cutVolumn(h.visibledatacolumn,n+1),s],left:s}}}else if(a.type==="rangeBoth"){let l=0,n=lt(h.visibledatarow,l),o=a.range.row_focus;o>n&&(n=o),n==-1&&(n=0);let s=h.visibledatarow[n]-2-l+h.columnHeaderHeight,u=[h.visibledatarow[n],n+1,l,ma.cutVolumn(h.visibledatarow,n+1),s],d=0,f=lt(h.visibledatacolumn,d),m=a.range.column_focus;m>f&&(f=m),f==-1&&(f=0);let g=h.visibledatacolumn[f]-2-d+h.rowHeaderWidth,y=[h.visibledatacolumn[f],f+1,d,ma.cutVolumn(h.visibledatacolumn,f+1),g];t={horizontal:{freezenhorizontaldata:u,top:s},vertical:{freezenverticaldata:y,left:g}}}else a.type==="cancel"&&(t={horizontal:null,vertical:null});e.freezen=t}},W=ma});function Ft(e=!0){fe.showinfobar?($("#luckysheet_info_detail").show(),h.infobarHeight=document.querySelector("#luckysheet_info_detail").offsetHeight):(h.infobarHeight=0,$("#luckysheet_info_detail").hide()),!!h.toobarObject&&!!h.toobarObject.toobarElements&&h.toobarObject.toobarElements.length===0?($("#"+h.container).find(".luckysheet-wa-editor").hide(),h.toolbarHeight=0):($("#"+h.container).find(".luckysheet-wa-editor").show(),h.toolbarHeight=document.querySelector("#"+h.container+" .luckysheet-wa-editor").offsetHeight),Dy(),qy();let a=document.querySelector("#"+h.container+" .luckysheet-wa-calculate");fe.sheetFormulaBar?(a.style.display="block",h.calculatebarHeight=a.offsetHeight):(a.style.display="none",h.calculatebarHeight=0),$("#"+h.container).find(".luckysheet-grid-container").css("top",h.toolbarHeight+h.infobarHeight+h.calculatebarHeight),za=$("#"+h.container).width(),fe.showConfigWindowResize&&($("#luckysheet-modal-dialog-slider-pivot").is(":visible")?za-=$("#luckysheet-modal-dialog-slider-pivot").outerWidth():$(".chartSetting").is(":visible")?za-=$(".chartSetting").outerWidth():$("#luckysheet-modal-dialog-slider-alternateformat").is(":visible")&&(za-=$("#luckysheet-modal-dialog-slider-alternateformat").outerWidth()),$("#luckysheet-modal-dialog-slider-protection").is(":visible")&&(za-=$("#luckysheet-modal-dialog-slider-protection").outerWidth()));let l=Q().toolbar,n=!1,o=0,s=`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${l.toolMoreTip}" id="luckysheet-icon-morebtn" role="button" style="user-select: none;">
<div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block" style="user-select: none;">
<div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block" style="user-select: none;">
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block" style="user-select: none;">
${l.toolMore}
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige" style="user-select: none;font-size:12px;">
</div>
</div>
</div>
</div>`,u='<div id="luckysheet-icon-morebtn-div" class="luckysheet-wa-editor" style="position:absolute;top:'+(h.infobarHeight+h.toolbarHeight+$("#"+h.container).offset().top+$("body").scrollTop())+'px;right:0px;z-index:1003;padding:5.5px;visibility:hidden;height:auto;white-space:initial;"></div>';$("#luckysheet-icon-morebtn-div").length==0&&$("body").append(u),We("#luckysheet-icon-morebtn-div").style.visibility="hidden",$("#luckysheet-icon-morebtn-div > div").each(function(){let g=$(this)[0],y=$("#luckysheet-wa-editor")[0];y.appendChild(document.createTextNode(" ")),y.appendChild(g)}),$("#luckysheet-icon-morebtn").remove();let d=h.toobarObject.toobarWidths,f=h.toobarObject.toobarElements,m=0;if(d!=null){for(let g=d.length-1;g>=0;g--)if(d[g]<za-90){m=g,m<d.length-1&&(n=!0);break}for(let g=m;g<f.length;g++){let y=f[g];if(y instanceof Array)for(let v of y)$("#luckysheet-icon-morebtn-div").append($(`${v}`));else $("#luckysheet-icon-morebtn-div").append($(`${y}`))}n&&($("#luckysheet-wa-editor").append(s),$("#luckysheet-icon-morebtn").click(function(){We("#luckysheet-icon-morebtn-div").style.left="";let g=We("#luckysheet").getBoundingClientRect?We("#luckysheet").getBoundingClientRect().left:0;We("#luckysheet-icon-morebtn-div").getBoundingClientRect().left<g&&(We("#luckysheet-icon-morebtn-div").style.left=g+"px");let v=$(window).width()-$("#luckysheet-icon-morebtn").offset().left-$("#luckysheet-icon-morebtn").width()+$("body").scrollLeft();if(We("#luckysheet-icon-morebtn-div").style.right=v<0?0:v+"px",We("#luckysheet-icon-morebtn-div").style.visibility==="hidden"?We("#luckysheet-icon-morebtn-div").style.visibility="visible":We("#luckysheet-icon-morebtn-div").style.visibility="hidden",$(this).find(".luckysheet-toolbar-menu-button-caption").text().indexOf(l.toolMore)>-1){let k=`
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block" style="user-select: none;">
${l.toolClose}
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-shangyige" style="user-select: none;font-size:12px;">
</div>
`;$(this).find(".luckysheet-toolbar-button-inner-box").html(k)}else{let k=`
<div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block" style="user-select: none;">
${l.toolMore}
</div>
<div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont luckysheet-iconfont-xiayige" style="user-select: none;font-size:12px;">
</div>
`;$(this).find(".luckysheet-toolbar-button-inner-box").html(k)}}),$("#luckysheet-icon-morebtn-div .luckysheet-toolbar-button-split-left").off("hover").hover(function(){$(this).next(".luckysheet-toolbar-button-split-right").addClass("luckysheet-toolbar-button-split-right-hover")},function(){$(this).next(".luckysheet-toolbar-button-split-right").removeClass("luckysheet-toolbar-button-split-right-hover")}),$("#luckysheet-icon-morebtn-div .luckysheet-toolbar-button-split-right").off("hover").hover(function(){$(this).prev(".luckysheet-toolbar-button-split-left").addClass("luckysheet-toolbar-button-hover")},function(){$(this).prev(".luckysheet-toolbar-button-split-left").removeClass("luckysheet-toolbar-button-hover")}),j.createHoverTip("#luckysheet-icon-morebtn-div",".luckysheet-toolbar-menu-button, .luckysheet-toolbar-button, .luckysheet-toolbar-combo-button")),$("#"+h.container+" .luckysheet-wa-editor .luckysheet-toolbar-button-split-left").off("hover").hover(function(){$(this).next(".luckysheet-toolbar-button-split-right").addClass("luckysheet-toolbar-button-split-right-hover")},function(){$(this).next(".luckysheet-toolbar-button-split-right").removeClass("luckysheet-toolbar-button-split-right-hover")}),$("#"+h.container+" .luckysheet-wa-editor .luckysheet-toolbar-button-split-right").off("hover").hover(function(){$(this).prev(".luckysheet-toolbar-button-split-left").addClass("luckysheet-toolbar-button-hover")},function(){$(this).prev(".luckysheet-toolbar-button-split-left").removeClass("luckysheet-toolbar-button-hover")}),Bs=$("#"+h.container).height(),$("#"+h.container).find(".luckysheet").height(Bs-2).width(za-2),Hs(za,Bs),e&&Le($("#luckysheet-cell-main").scrollLeft(),$("#luckysheet-cell-main").scrollTop()),ye.sheetArrowShowAndHide(),ye.sheetBarShowAndHide()}}function Hs(e,a){e==null&&(e=$("#"+h.container).width()),a==null&&(a=$("#"+h.container).height()),h.cellmainHeight=a-(h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight+h.sheetBarHeight+h.statisticBarHeight),h.cellmainWidth=e-h.rowHeaderWidth,$("#luckysheet-cols-h-c, #luckysheet-cell-main").width(h.cellmainWidth),$("#luckysheet-cell-main").height(h.cellmainHeight),$("#luckysheet-rows-h").height(h.cellmainHeight-h.cellMainSrollBarSize),$("#luckysheet-scrollbar-y").height(h.cellmainHeight+h.columnHeaderHeight-h.cellMainSrollBarSize-3),$("#luckysheet-scrollbar-x").height(h.cellMainSrollBarSize),$("#luckysheet-scrollbar-y").width(h.cellMainSrollBarSize),$("#luckysheet-scrollbar-x").width(h.cellmainWidth).css("left",h.rowHeaderWidth-2),h.luckysheetTableContentHW=[h.cellmainWidth+h.rowHeaderWidth-h.cellMainSrollBarSize,h.cellmainHeight+h.columnHeaderHeight-h.cellMainSrollBarSize],$("#luckysheetTableContent, #luckysheetTableContentF").attr({width:Math.ceil(h.luckysheetTableContentHW[0]*h.devicePixelRatio),height:Math.ceil(h.luckysheetTableContentHW[1]*h.devicePixelRatio)}).css({width:h.luckysheetTableContentHW[0],height:h.luckysheetTableContentHW[1]}),$("#"+h.container).find("#luckysheet-grid-window-1").css("bottom",h.sheetBarHeight),$("#"+h.container).find(".luckysheet-grid-window").css("bottom",h.statisticBarHeight);let t=$("#luckysheet-grid-window-1").width();$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css({width:t-10}).end().find(".luckysheet-freezebar-horizontal-drop").css({width:t-10});let l=$("#luckysheet-grid-window-1").height();$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css({height:l-10}).end().find(".luckysheet-freezebar-vertical-drop").css({height:l-10}),W.createAssistCanvas()}function Hd(){let e=fe.showtoolbar,a=fe.showtoolbarConfig,t=h.toobarObject.toobarWidths=[],l=h.toobarObject.toobarElements=[],n=h.toobarObject.toolbarConfig=o();function o(){let d={};function f(g){let y={},v,b,k=0;for(let x=0;x<g.length;x++)v=g[x],b=g[x+1],v!=="|"&&(y[v]={ele:Wo[v],index:k++}),b==="|"&&(P(y[v].ele)==="array"?y[v].ele.push(`#toolbar-separator-${wa(v)}`):y[v].ele=[y[v].ele,`#toolbar-separator-${wa(v)}`]);return y}if(P(a)==="array")return e?f(a):d;let m=Rl.reduce(function(g,y){return y!=="|"&&(g[y]=!0),g},{});if(!e)for(let g in m)m[g]=!1;if(JSON.stringify(a)!=="{}"){a.hasOwnProperty("undoRedo")&&(m.undo=m.redo=a.undoRedo),Object.assign(m,a);let g,y,v=0;for(let b=0;b<Rl.length;b++)g=Rl[b],y=Rl[b+1],g!=="|"&&m[g]&&(d[g]={ele:Wo[g],index:v++}),y==="|"&&(P(d[g].ele)==="array"?d[g].ele.push(`#toolbar-separator-${wa(g)}`):d[g].ele=[d[g].ele,`#toolbar-separator-${wa(g)}`])}else d=e?f(Rl):{};return d}for(let d in n)Object.prototype.hasOwnProperty.call(n,d)&&l.push($.extend(!0,{},n[d]));l.sort(s);function s(d,f){return d.index>f.index?1:-1}l.forEach((d,f,m)=>{m[f]=d.ele,f!==l.length-1?d.ele instanceof Array?t.push($(d.ele[0]).offset().left):t.push($(d.ele).offset().left):d.ele instanceof Array?(t.push($(d.ele[0]).offset().left),t.push($(d.ele[0]).offset().left+$(d.ele[0]).outerWidth()+5)):(t.push($(d.ele).offset().left),t.push($(d.ele).offset().left+$(d.ele).outerWidth()+5))});let u=$("#"+h.container).offset().left;t.forEach((d,f)=>{t[f]-=u})}function Dy(){if(!fe.initShowsheetbarConfig){fe.initShowsheetbarConfig=!0;let t={add:!0,menu:!0,sheet:!0};if(!fe.showsheetbar)for(let l in t)t[l]=!1;JSON.stringify(fe.showsheetbarConfig)!=="{}"&&Object.assign(t,fe.showsheetbarConfig),fe.showsheetbarConfig=t}let e=fe.showsheetbarConfig,a=0;for(let t in e)if(!e[t])switch(t){case"add":$("#luckysheet-sheets-add").hide(),a++;break;case"menu":$("#luckysheet-sheets-m").hide(),a++;break;case"sheet":$("#luckysheet-sheet-container").hide(),$("#luckysheet-sheets-leftscroll").hide(),$("#luckysheet-sheets-rightscroll").hide(),a++;break;default:break}a===3?($("#"+h.container).find("#luckysheet-sheet-area").hide(),h.sheetBarHeight=0):($("#"+h.container).find("#luckysheet-sheet-area").show(),h.sheetBarHeight=31)}function qy(){if(!fe.initStatisticBarConfig){fe.initStatisticBarConfig=!0;let t={count:!0,view:!0,zoom:!0};if(!fe.showstatisticBar)for(let l in t)t[l]=!1;JSON.stringify(fe.showstatisticBarConfig)!=="{}"&&Object.assign(t,fe.showstatisticBarConfig),fe.showstatisticBarConfig=t}let e=fe.showstatisticBarConfig,a=0;for(let t in e)if(!e[t])switch(t){case"count":$("#luckysheet-sta-content").hide(),a++;break;case"view":$(".luckysheet-print-viewList").hide(),a++;break;case"zoom":$("#luckysheet-zoom-content").hide(),a++;break;default:break}a===3?($("#"+h.container).find(".luckysheet-stat-area").hide(),h.statisticBarHeight=0):($("#"+h.container).find(".luckysheet-stat-area").show(),h.statisticBarHeight=23)}var za,Bs,ul=Ae(()=>{xr();Or();Yt();Ke();bt();hr();ar();dt();Yo();za=0,Bs=0});function Yd(e){let a=Q(),t=a.protection,l=a.button,n=e.name,o=e.sqref,s=e.password,u="";s!=null&&s.length>0&&(u='<i class="icon iconfont luckysheet-iconfont-bianji2" title="'+t.rangeItemHasPassword+'"></i>');let d=`
<div class="luckysheet-protection-rangeItem" title="${t.rangeItemDblclick}">
<div class="luckysheet-protection-rangeItem-del" title="${l.delete}">
<i class="icon iconfont luckysheet-iconfont-shanchu"></i>
</div>
<div class="luckysheet-protection-rangeItem-name" title="${n}">
${n}${u}
</div>
<div class="luckysheet-protection-rangeItem-range" title="${o}">
${o}
</div>
<div class="luckysheet-protection-rangeItem-update" title="${l.update}">
<i class="icon iconfont luckysheet-iconfont-bianji"></i>
</div>
</div>
`;$("#luckysheet-protection-rangeItem-container").append(d)}function Fy(e){let a=Q(),t=a.protection,l=a.button;$("#luckysheet-slider-protection-ok").click(function(){let n=$("#protection-password").val(),o=$("#protection-swichProtectionState").is(":checked"),s=$("#protection-hint").val(),u=Gd,d={};u!=null&&u.config!=null&&u.config.authority!=null&&(d=u.config.authority);let f={},m="None";n!="\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"?(f.password=n,f.algorithmName="None",f.saltValue=null):d!=null?(f.algorithmName=d.algorithmName,f.saltValue=d.saltValue,f.password=d.password):(f.algorithmName="None",f.saltValue=null,f.password=""),f.hintText=s,f.sheet=o==!0?1:0;for(let g=0;g<En.length;g++){let y=En[g],v="luckysheet-protection-check-"+y,b=$("#"+v).is(":checked");f[y]=b==!0?1:0}f.allowRangeList=la,la=[],js=!0,u.config==null&&(u.config={}),u.config.authority=f,Us={},Zd()}),$("#luckysheet-slider-protection-cancel, #luckysheet-modal-dialog-protection-close").click(function(){Zd()}),$("#luckysheet-slider-protection-addRange").click(function(){Xd(),Vs=!0,$("#luckysheet-protection-rangeItem-confirm").html(l.insert),an("luckysheet-protection-rangeItem-dialog"),$("#protection-allowRangeAdd-title").val("Default"+la.length),$("#protection-allowRangeAdd-range input").val(""),$("#protection-allowRangeAdd-password").val(""),$("#protection-allowRangeAdd-hint").val("")}),$(document).off("click.luckysheetProtection.rangeItemUpdate").on("click.luckysheetProtection.rangeItemUpdate","#luckysheet-protection-rangeItem-container .luckysheet-protection-rangeItem-update",function(n){Xd(),Vs=!1,$("#luckysheet-protection-rangeItem-confirm").html(l.update),an("luckysheet-protection-rangeItem-dialog");let o=$(n.target).closest(".luckysheet-protection-rangeItem"),u=$("#luckysheet-protection-rangeItem-container").find("> div.luckysheet-protection-rangeItem").index(o),d=la[u];Ud=u,$("#protection-allowRangeAdd-title").val(d.name),$("#protection-allowRangeAdd-range input").val(d.sqref),d.algorithmName=="None"?$("#protection-allowRangeAdd-password").val(d.password):$("#protection-allowRangeAdd-password").val("\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"),$("#protection-allowRangeAdd-hint").val(d.hintText)}),$(document).off("click.luckysheetProtection.rangeItemDelete").on("click.luckysheetProtection.rangeItemDelete","#luckysheet-protection-rangeItem-container .luckysheet-protection-rangeItem-del",function(n){let o=$(n.target).closest(".luckysheet-protection-rangeItem"),u=$("#luckysheet-protection-rangeItem-container").find("> div.luckysheet-protection-rangeItem").index(o),d=la[u];la.splice(u,1),o.remove()}),$(document).off("click.luckysheetProtection.rangeItemConfirm").on("click.luckysheetProtection.rangeItemConfirm","#luckysheet-protection-rangeItem-confirm",function(){let n=$("#protection-allowRangeAdd-title").val(),o=$("#protection-allowRangeAdd-range input").val(),s=$("#protection-allowRangeAdd-password").val(),u=$("#protection-allowRangeAdd-hint").val();if(n.length==0){alert(t.rangeItemErrorTitleNull);return}let d=Ye.getRangeByTxt(o);if(o.length==0){alert(t.rangeItemErrorRangeNull);return}if(d.length==0){alert(t.rangeItemErrorRange);return}if(o=Jd(o),Vs){let f={name:n,password:s,hintText:u,algorithmName:"None",saltValue:null,checkRangePasswordUrl:null,sqref:o};Yd(f),la.push(f)}else{let f=Ud,m=la[f];m.name=n,m.sqref=o,m.hintText=u,s!="\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"&&(m.password=s,m.algorithmName="None");let y=$("#luckysheet-protection-rangeItem-container").find("> div.luckysheet-protection-rangeItem").eq(f),v=y.find(".luckysheet-protection-rangeItem-name"),b="";s!=null&&s.length>0&&(b='<i class="icon iconfont luckysheet-iconfont-bianji2" title="'+t.rangeItemHasPassword+'"></i>'),v.html(n+b).attr("title",n),y.find(".luckysheet-protection-rangeItem-range").html(o).attr("title",o)}$("#luckysheet-protection-rangeItem-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide()}),$(document).off("click.luckysheetProtection.validationConfirm").on("click.luckysheetProtection.validationConfirm","#luckysheet-protection-sheet-validation-confirm",function(n){let o=$("#luckysheet-protection-sheet-validation"),s=yo;if(s==null){Gs(yo),o.hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-modal-dialog-slider-protection").show(),Ft();return}let d=o.find("input").val();if(d==null||d.length==0){alert(t.checkPasswordNullalert);return}if(s.algorithmName!=null&&s.algorithmName!="None")if(s.saltValue!=null&&s.saltValue.length>0){var f=CryptoApi.getHasher(s.algorithmName);d=CryptoApi.hmac(s.saltValue,d,f)}else d=CryptoApi.hash(s.algorithmName,d);d==s.password?(Gs(yo),o.hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-modal-dialog-slider-protection").show(),Ft(),js=!1):alert(t.checkPasswordWrongalert)}),$("#luckysheet-protection-check-selectLockedCells").change(function(){let n=$("#luckysheet-protection-check-selectLockedCells"),o=$("#luckysheet-protection-check-selectunLockedCells"),s=n.is(":checked"),u=o.is(":checked");s&&o.prop("checked",!0)}),$("#luckysheet-protection-check-selectunLockedCells").change(function(){let n=$("#luckysheet-protection-check-selectLockedCells"),o=$("#luckysheet-protection-check-selectunLockedCells"),s=n.is(":checked");o.is(":checked")||n.prop("checked",!1)}),$(document).off("click.luckysheetProtection.dvRange").on("click.luckysheetProtection.dvRange","#protection-allowRangeAdd-range .fa-table",function(n){$("#luckysheet-protection-rangeItem-dialog").hide();let o="0",s=$(this).siblings("input").val().trim();Ye.rangeDialog(o,s),Ye.selectRange=[];let u=Ye.getRangeByTxt(s);if(u.length>0)for(let d=0;d<u.length;d++){let f=u[d].row[0],m=u[d].row[1],g=u[d].column[0],y=u[d].column[1],v=h.visibledatarow[m],b=f-1==-1?0:h.visibledatarow[f-1],k=h.visibledatacolumn[y],x=g-1==-1?0:h.visibledatacolumn[g-1];Ye.selectRange.push({left:x,width:k-x-1,top:b,height:v-b-1,left_move:x,width_move:k-x-1,top_move:b,height_move:v-b-1,row:[f,m],column:[g,y],row_focus:f,column_focus:g})}Mt(Ye.selectRange)}),$(document).off("click.luckysheetProtection.dvRange2").on("click.luckysheetProtection.dvRange2","#luckysheet-protection-rangeItem-dialog .show-box-item-dropdown .range .fa-table",function(n){$("#luckysheet-protection-rangeItem-dialog").hide();let o="1",s=$(this).siblings("input").val().trim();Ye.rangeDialog(o,s),Ye.selectRange=[];let u=Ye.getRangeByTxt(s);if(u.length>0)for(let d=0;d<u.length;d++){let f=u[d].row[0],m=u[d].row[1],g=u[d].column[0],y=u[d].column[1],v=h.visibledatarow[m],b=f-1==-1?0:h.visibledatarow[f-1],k=h.visibledatacolumn[y],x=g-1==-1?0:h.visibledatacolumn[g-1];Ye.selectRange.push({left:x,width:k-x-1,top:b,height:v-b-1,left_move:x,width_move:k-x-1,top_move:b,height_move:v-b-1,row:[f,m],column:[g,y],row_focus:f,column_focus:g})}Mt(Ye.selectRange)}),$(document).off("click.luckysheetProtection.dvRangeConfirm").on("click.luckysheetProtection.dvRangeConfirm","#luckysheet-dataVerificationRange-dialog-confirm",function(n){let o=$(this).parents("#luckysheet-dataVerificationRange-dialog").find("input").val(),s=$("#protection-allowRangeAdd-range input"),u=s.val();u.substr(u.length-1,1)==","?s.val(u+o):s.val(o),$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-protection-rangeItem-dialog").show(),Mt([])}),$(document).off("click.luckysheetProtection.dvRangeClose").on("click.dvRangeClose","#luckysheet-dataVerificationRange-dialog-close",function(n){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-protection-rangeItem-dialog").show(),Mt([])}),$(document).on("click.luckysheetProtection.luckysheetProtection","#luckysheet-dataVerificationRange-dialog .luckysheet-modal-dialog-title-close",function(n){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-protection-rangeItem-dialog").show(),Mt([])})}function Xd(e){if(jd)return;jd=!0;let a=Q(),t=a.protection,l=a.button;$("body").append(we(ft,{id:"luckysheet-protection-rangeItem-dialog",addclass:"luckysheet-protection-rangeItem-dialog",title:t.allowRangeTitle,content:`
<div class="luckysheet-protection-rangeItem-content">
<div class="luckysheet-slider-protection-row">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
${t.allowRangeAddTitle}
</div>
<div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
<input class="luckysheet-protection-rangeItemiInput" id="protection-allowRangeAdd-title" placeHolder="${t.allowRangeAddtitleDefault}">
</div>
</div>
<div class="luckysheet-slider-protection-row">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
${t.allowRangeAddSqrf}
</div>
<div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
<div id="protection-allowRangeAdd-range" class="range">
<input class="formulaInputFocus" spellcheck="false" placeHolder="${t.selectCellRangeHolder}">
<i class="fa fa-table" aria-hidden="true" title="${t.selectCellRange}"></i>
</div>
</div>
</div>
<div class="luckysheet-slider-protection-row">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
${t.allowRangeAddTitlePassword}
</div>
<div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
<input class="luckysheet-protection-rangeItemiInput" id="protection-allowRangeAdd-password" placeHolder="${t.enterPassword}">
</div>
</div>
<div class="luckysheet-slider-protection-row">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
${t.allowRangeAddTitleHint}
</div>
<div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
<textarea class="luckysheet-protection-rangeItemTextarea" id="protection-allowRangeAdd-hint" placeHolder="${t.allowRangeAddTitleHintTitle}"></textarea>
</div>
</div>
</div>
`,botton:`<button id="luckysheet-protection-rangeItem-confirm" class="btn btn-primary">${l.insert}</button>
<button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:100003"}))}function My(e){let a=Q(),t=a.protection,l=a.button,n="";for(let s=0;s<En.length;s++){let u=En[s];n+=`
<div class="luckysheet-slider-protection-row" style="height:18px;">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
<label for="luckysheet-protection-check-${u}"><input id="luckysheet-protection-check-${u}" name="luckysheet-protection-check-${u}" type="checkbox">${t[u]}</label>
</div>
</div>
`}let o=`
<div id="luckysheet-modal-dialog-slider-protection" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-pivot" style="display:none;">
<div class="luckysheet-modal-dialog-slider-title"> <span>${t.protectiontTitle}</span> <span id="luckysheet-modal-dialog-protection-close" title="${l.close}"><i class="fa fa-times" aria-hidden="true"></i></span> </div>
<div class="luckysheet-modal-dialog-slider-content">
<div class="luckysheet-slider-protection-config" style="top:10px;height:115px">
<div class="luckysheet-slider-protection-row">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
<label for="protection-swichProtectionState"><input id="protection-swichProtectionState" name="protection-swichProtectionState" type="checkbox">${t.swichProtectionTip}</label>
</div>
</div>
<div class="luckysheet-slider-protection-row" style="height:23px;">
<div class="luckysheet-slider-protection-column" style="width:98%;">
<input class="luckysheet-protection-input" id="protection-password" placeHolder="${t.enterPassword}">
</div>
</div>
<div class="luckysheet-slider-protection-row" style="height:47px;margin-top:4px;">
<div class="luckysheet-slider-protection-column" style="width:98%;">
<textarea class="luckysheet-protection-textarea" id="protection-hint" placeHolder="${t.enterHintTitle}"></textarea>
</div>
</div>
</div>
<div class="luckysheet-slider-protection-config" style="top:130px;height:290px;border-top:1px solid #c5c5c5">
<div class="luckysheet-slider-protection-row" style="height:20px;">
${t.authorityTitle}
</div>
${n}
</div>
<div class="luckysheet-slider-protection-config" style="top:440px;bottom:45px;border-top:1px solid #c5c5c5">
<div class="luckysheet-slider-protection-row" style="height:25px;">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:0px;line-height: 25px;">
${t.allowRangeTitle}
</div>
<div class="luckysheet-slider-protection-column luckysheet-protection-column-3x" style="left:70%;">
<div class="luckysheet-slider-protection-ok luckysheet-slider-protection-addRange" id="luckysheet-slider-protection-addRange">
${t.allowRangeAdd}
</div>
</div>
</div>
<div id="luckysheet-protection-rangeItem-container" class="luckysheet-slider-protection-row" style="top:25px;bottom:0px;position:absolute">
</div>
</div>
<div class="luckysheet-slider-protection-config" style="bottom:0px;height:45px">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-5x" style="left:0px;">
<div class="luckysheet-slider-protection-ok" id="luckysheet-slider-protection-ok">
${l.confirm}
</div>
</div>
<div class="luckysheet-slider-protection-column luckysheet-protection-column-5x" style="left:50%;">
<div class="luckysheet-slider-protection-cancel" id="luckysheet-slider-protection-cancel">
${l.cancel}
</div>
</div>
</div>
</div>
</div>
`;$("body").append(o),$("body").append(we(ft,{id:"luckysheet-protection-sheet-validation",addclass:"luckysheet-protection-sheet-validation",title:t.validationTitle,content:`
<div class="luckysheet-slider-protection-row">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
${t.validationTips}
</div>
</div>
<div class="luckysheet-slider-protection-row" style="margin-top:20px">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
<input type="password" class="luckysheet-protection-rangeItemiInput" placeHolder="${t.validationInputHint}">
</div>
</div>
`,botton:`<button id="luckysheet-protection-sheet-validation-confirm" class="btn btn-primary">${l.confirm}</button>
<button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:100003"}))}function Gs(e){e==null&&(e={});for(let n=0;n<En.length;n++){let o=En[n],s="luckysheet-protection-check-"+o,u=e[o];u==null&&(u=0),u==null&&o in{selectLockedCells:1,selectunLockedCells:1}&&(u=1),$("#"+s).prop("checked",u==1)}e.password!=null&&e.password.length>0?e.algorithmName=="None"||e.algorithmName==null?$("#protection-password").val(e.password):$("#protection-password").val("\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"):$("#protection-password").val("");let a=e.sheet;e.sheet==null&&(a=0),$("#protection-swichProtectionState").prop("checked",a==1);let t=e.hintText;t==null&&(t=""),$("#protection-hint").val(t),la=[],$("#luckysheet-protection-rangeItem-container").empty();let l=e.allowRangeList;if(l!=null&&l.length>0)for(let n=0;n<l.length;n++){let o=l[n];Yd(o),la.push(o)}}function Kd(e){if(Vd||(My(e),Fy(e),Vd=!0),Gd=e,e!=null&&e.config!=null&&e.config.authority!=null){let a=e.config.authority;if(js&&a.sheet==1&&a.password!=null&&a.password.length>0){yo=a,$("#luckysheet-protection-sheet-validation input").val(""),an("luckysheet-protection-sheet-validation");return}else Gs(a)}else $("#luckysheet-protection-check-selectLockedCells").prop("checked",!0),$("#luckysheet-protection-check-selectunLockedCells").prop("checked",!0);$("#luckysheet-modal-dialog-slider-protection").show(),Ft()}function Zd(){$("#luckysheet-protection-rangeItem-dialog").hide(),$("#luckysheet-modal-dialog-slider-protection").hide(),Ft()}function Ws(e,a,t,l,n=!0,o=!0){let s=!1,u=t.allowRangeList;if(u!=null&&u.length>0){let d=!1;for(let f=0;f<u.length;f++){let m=u[f],g=m.sqref,y=Ye.getRangeByTxt(g);if(y.length>0)for(let v=0;v<y.length;v++){let b=y[v].row[0],k=y[v].row[1],x=y[v].column[0],w=y[v].column[1];if(e>=b&&e<=k&&a>=x&&a<=w){d=!0;break}}if(d){let v=m.password;if(v!=null&&v.length>0&&!(g in Us))return n&&(Ey(m),$("#luckysheet-selection-copy .luckysheet-selection-copy").hide()),!1;s=!0;break}}}if(!s&&!o&&(s=!0),!s&&n){let d;t.hintText!=null&&t.hintText.length>0?d=t.hintText:d=l.defaultSheetHintText,j.info("",d),$("#luckysheet-selection-copy .luckysheet-selection-copy").hide()}return s}function Ey(e){let a=Q(),t=a.protection,l=a.button;Wd||$("body").append(we(ft,{id:"luckysheet-protection-range-validation",addclass:"luckysheet-protection-sheet-validation",title:t.validationTitle,content:`
<div class="luckysheet-slider-protection-row">
<div id="luckysheet-protection-range-validation-hint" class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
</div>
</div>
<div class="luckysheet-slider-protection-row" style="margin-top:20px">
<div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
<input type="password" class="luckysheet-protection-rangeItemiInput" placeHolder="${t.validationInputHint}">
</div>
</div>
`,botton:`<button id="luckysheet-protection-range-validation-confirm" class="btn btn-primary">${l.confirm}</button>
<button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:100003"})),Wd=!0,an("luckysheet-protection-range-validation");let n=$("#luckysheet-protection-range-validation-hint");e.hintText!=null&&e.hintText.length>0?n.html(e.hintText):n.html(t.defaultRangeHintText);let o=$("#luckysheet-protection-range-validation"),s=o.find("input");s.val(""),$("#luckysheet-protection-range-validation-confirm").off("click").on("click",function(){let u=s.val();if(u==null||u.length==0){alert(t.checkPasswordNullalert);return}if(e.algorithmName!=null&&e.algorithmName!="None")if(e.saltValue!=null&&e.saltValue.length>0){var d=CryptoApi.getHasher(e.algorithmName);u=CryptoApi.hmac(e.saltValue,u,d)}else u=CryptoApi.hash(e.algorithmName,u);u==e.password?(Us[e.sqref]=1,o.hide(),$("#luckysheet-modal-dialog-mask").hide(),alert(t.checkPasswordSucceedalert)):alert(t.checkPasswordWrongalert)})}function Bl(e){let a=ye.getSheetByIndex(e);if(a==null||a.config==null||a.config.authority==null)return!0;let t=a.config.authority;if(t==null||t.sheet==null||t.sheet==0)return!0;let n=Q().protection,o;return t.hintText!=null&&t.hintText.length>0?o=t.hintText:o=n.defaultSheetHintText,j.info("",o),!1}function pa(e,a,t,l=!0,n=!0){let o=ye.getSheetByIndex(t);if(o==null||o.config==null||o.config.authority==null)return!0;let s=o.data,u=s[e][a],d=o.config.authority;if(d==null||d.sheet==null||d.sheet==0||u&&u.lo===0)return!0;let m=Q().protection;return Ws(e,a,d,m,l,n)}function vo(e,a,t){let l=ye.getSheetByIndex(t);if(!l||l.data&&!l.data[e]||l.data&&!l.data[e][a]||l.config==null||l.config.authority==null)return!0;let n=l.data,o=n[e][a],s=l.config.authority;return s==null||s.sheet==null||s.sheet==0||o==null||o.hi==null||o.hi==0}function fl(e,a){let t=ye.getSheetByIndex(a);if(t==null||t.config==null||t.config.authority==null)return!0;let l=t.config.authority;if(l==null||l.sheet==null||l.sheet==0||e==null||e.length==0)return!0;let o=Q().protection;for(let s=0;s<e.length;s++){let u=e[s].row[0],d=e[s].row[1],f=e[s].column[0],m=e[s].column[1];for(let g=u;g<=d;g++)for(let y=f;y<=m;y++){let v=t.data[g][y]||{},b=v.lo===void 0||v.lo===1;if(!Ws(g,y,l,o,!0,b))return!1}}return!0}function Ys(e,a,t){let n=Q().protection,o=ye.getSheetByIndex(t);if(o==null||o.config==null||o.config.authority==null)return!0;let s=o.data,u=s[e][a],d=o.config.authority;return d==null||d.sheet==null||d.sheet==0?!0:u&&u.lo===0||Ws(e,a,d,n,!1)?d.selectunLockedCells==1||d.selectunLockedCells==null:d.selectLockedCells==1||d.selectLockedCells==null}function Si(e){let t=Q().protection,l=ye.getSheetByIndex(e);if(l==null||l.config==null||l.config.authority==null)return!0;let n=l.config.authority;if(n==null||n.sheet==null||n.sheet==0)return!0;let o=!1;(n.selectunLockedCells==1||n.selectunLockedCells==null)&&(o=!0);let s=!1;return(n.selectLockedCells==1||n.selectLockedCells==null)&&(s=!0),!!(o&&s)}function Tl(e){let a=ye.getSheetByIndex(e);if(a==null||a.config==null||a.config.authority==null)return!0;let t=a.config.authority;if(t==null||t.sheet==null||t.sheet==0||t.formatCells==1||t.formatCells==null)return!0;let n=Q().protection,o;return t.hintText!=null&&t.hintText.length>0?o=t.hintText:o=n.defaultSheetHintText,j.info("",o),!1}function St(e,a="formatColumns",t=!0){let l=ye.getSheetByIndex(e);if(l==null||l.config==null||l.config.authority==null)return!0;let n=l.config.authority;if(n==null||n.sheet==null||n.sheet==0||n[a]==1||n[a]==null)return!0;if(t){let s=Q().protection,u;n.hintText!=null&&n.hintText.length>0?u=n.hintText:u=s.defaultSheetHintText,j.info("",u)}return!1}var Vd,jd,la,Vs,Ud,yo,Gd,js,Us,Wd,En,Dr=Ae(()=>{Ke();bt();jt();Rt();_a();hr();ul();dl();dt();Xt();ar();Ll();Vd=!1,jd=!1,la=[],Vs=!0,Ud=null,yo=null,Gd=null,js=!0,Us={},Wd=!1,En=["selectLockedCells","selectunLockedCells","formatCells","formatColumns","formatRows","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","filter","usePivotTablereports","editObjects","editScenarios"]});function zl(e,a,t){t==null&&(t=!0);let l=function(o,s){let u=o[a],d=s[a];if(P(o[a])=="object"&&(u=o[a].v),P(s[a])=="object"&&(d=s[a].v),de(u))return 1;if(de(d))return-1;if(qt(u)&&qt(d))return sr(u,d);if(L(u)&&L(d))return(0,ga.default)(u).value()-(0,ga.default)(d).value();if(!L(u)&&!L(d))return u.localeCompare(d,"zh");if(L(u)){if(!L(d))return-1}else return 1},n=function(o,s){let u=o[a],d=s[a];if(P(o[a])=="object"&&(u=o[a].v),P(s[a])=="object"&&(d=s[a].v),de(u))return 1;if(de(d))return-1;if(qt(u)&&qt(d))return sr(d,u);if(L(u)&&L(d))return(0,ga.default)(d).value()-(0,ga.default)(u).value();if(!L(u)&&!L(d))return d.localeCompare(u,"zh");if(L(u)){if(!L(d))return 1}else return-1};return t?e.sort(l):e.sort(n)}function po(e,a){a==null&&(a=!0);let t=function(n,o){let s=n,u=o;if(P(n)=="object"&&(s=n.v),P(o)=="object"&&(u=o.v),s==null&&(s=""),u==null&&(u=""),qt(s)&&qt(u))return sr(s,u);if(L(s)&&L(u))return(0,ga.default)(s).value()-(0,ga.default)(u).value();if(!L(s)&&!L(u))return s.localeCompare(u,"zh");if(L(s)){if(!L(u))return-1}else return 1},l=function(n,o){let s=n,u=o;if(P(n)=="object"&&(s=n.v),P(o)=="object"&&(u=o.v),s==null&&(s=""),u==null&&(u=""),qt(s)&&qt(u))return sr(u,s);if(L(s)&&L(u))return(0,ga.default)(u).value()-(0,ga.default)(s).value();if(!L(s)&&!L(u))return u.localeCompare(s,"zh");if(L(s)){if(!L(u))return 1}else return-1};return a?e.sort(t):e.sort(l)}function Xs(e){if(!St(h.currentSheetIndex,"sort"))return;if(h.luckysheet_select_save.length>1){he()?alert("\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5"):j.info("\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5","");return}e==null&&(e=!0);let a=xe.deepCopyFlowData(h.flowdata),t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1],n=h.luckysheet_select_save[0].column[0],o=h.luckysheet_select_save[0].column[1],s,u;for(let g=t;g<=l;g++)if(a[g]!=null&&a[g][n]!=null){let y=a[g][n];if(y.mc!=null||de(y.v))continue;if(s==null&&/[\u4e00-\u9fa5]+/g.test(y.v)){s=g+1,u=g+1;continue}s==null&&(s=g),u=g}if(s==null||s>l)return;let d=!1,f=[];for(let g=s;g<=u;g++){let y=[];for(let v=n;v<=o;v++){if(a[g][v]!=null&&a[g][v].mc!=null){d=!0;break}y.push(a[g][v])}f.push(y)}if(d){he()?alert("\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF01"):j.info("\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF01","");return}f=zl(f,0,e);for(let g=s;g<=u;g++)for(let y=n;y<=o;y++)a[g][y]=f[g-s][y-n];let m={};if(h.config.rowlen!=null){let g=$.extend(!0,{},h.config);g=mr(a,s,u,g),m={cfg:g,RowlChange:!0}}Ze(a,[{row:[s,u],column:[n,o]}],m)}function Ks(e,a){if(!St(h.currentSheetIndex,"sort"))return;a==null&&(a=!0);let t=xe.deepCopyFlowData(h.flowdata),l=0,n=t.length-1,o=0,s=t[0].length-1,u,d;for(let y=l;y<=n;y++)if(!(t[y][e]!=null&&t[y][e].mc!=null)){if(t[y][e]!=null&&!de(t[y][e].v)&&/[\u4e00-\u9fa5]+/g.test(t[y][e].v)&&u==null){u=y+1,d=y+1;continue}u==null&&(u=y),t[y][e]!=null&&!de(t[y][e].v)&&(d=y)}if(u==null||u>n)return;let f=!1,m=[];for(let y=u;y<=d;y++){let v=[];for(let b=o;b<=s;b++){if(t[y][b]!=null&&t[y][b].mc!=null){f=!0;break}v.push(t[y][b])}m.push(v)}if(f){he()?alert("\u5217\u6392\u5E8F\u4F1A\u6269\u5C55\u81F3\u6574\u4E2A\u8868\u683C\u9009\u533A\uFF0C\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u529F\u80FD\u680F\u6392\u5E8F\u529F\u80FD\uFF01"):j.info("\u5217\u6392\u5E8F\u4F1A\u6269\u5C55\u81F3\u6574\u4E2A\u8868\u683C\u9009\u533A\uFF0C\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u529F\u80FD\u680F\u6392\u5E8F\u529F\u80FD\uFF01","");return}m=zl(m,e,a);for(let y=u;y<=d;y++)for(let v=o;v<=s;v++)t[y][v]=m[y-u][v-o];let g={};if(h.config.rowlen!=null){let y=$.extend(!0,{},h.config);y=mr(t,u,d,y),g={cfg:y,RowlChange:!0}}Ze(t,[{row:[u,d],column:[o,s]}],g)}var ga,tn=Ae(()=>{dt();At();Nl();ar();Kt();cl();Yt();Dr();Ke();ga=Er(Qa())});var Ny,Qd,ef=Ae(()=>{Wt();Ny={transpose:function(e,a=!0){let t=[];if(e.length==0)return[];if(e[0].length==0)return[];for(let l=0;l<e[0].length;l++){let n=[];for(let o=0;o<e.length;o++){let s="";e[o]!=null&&e[o][l]!=null&&(a?s=ze(o,l,e):s=e[o][l]),n.push(s)}t.push(n)}return t},minusClear:function(e,a){if(a.row[0]>e.row[1]||a.row[1]<e.row[0]||a.column[0]>e.column[1]||a.column[1]<e.column[0])return null;if(a.row[0]==e.row[0]&&a.row[1]<e.row[1]&&a.column[0]>e.column[0]&&a.column[1]<e.column[1])return[];let t=[],l={row:[],column:[]},n=null,o=[e.column[0],e.column[1]];a.row[1]>e.row[0]&&a.row[1]<e.row[1]?n=[a.row[1]+1,e.row[1]]:a.row[0]>e.row[0]&&a.row[0]<e.row[1]&&(n=[e.row[0],a.row[0]-1]),n!=null&&t.push({row:n,column:o});let s=[e.row[0],e.row[1]],u=null;return a.column[1]>e.column[0]&&a.column[1]<e.column[1]?u=[a.column[1]+1,e.column[1]]:a.column[0]>e.column[0]&&a.column[0]<e.column[1]&&(u=[e.column[0],a.column[0]-1]),u!=null&&t.push({row:s,column:u}),t}},Qd=Ny});var Py,$i,tf=Ae(()=>{dt();Py={STDEVP:function(e,a){let t=0;for(let l=0;l<a.length;l++){let n=a[l];t+=Math.pow(n-e,2)}return Sr(Math.sqrt(t/a.length))},STDEV:function(e,a){let t=0;for(let l=0;l<a.length;l++){let n=a[l];t+=Math.pow(n-e,2)}return Sr(Math.sqrt(t/(a.length-1)))},VARP:function(e,a){let t=0;for(let l=0;l<a.length;l++){let n=a[l];t+=Math.pow(n-e,2)}return Sr(t/a.length)},let:function(e,a){let t=0;for(let l=0;l<a.length;l++){let n=a[l];t+=Math.pow(n-e,2)}return Sr(t/(a.length-1))}},$i=Py});var Ai,zy,Oe,ta=Ae(()=>{Rt();dt();Wt();Nl();Ir();At();tn();Yt();ar();Kt();Ll();ef();tf();Xt();Ml();jt();hr();ul();Zt();Dr();Ke();bt();Ai=Er(Qa());jt();zy={pivotDatas:null,pivotSheetIndex:0,pivotDataSheetIndex:0,celldata:null,origindata:null,getCellData:function(e,a,t){let l=this,n;e!=null?n=e:n=h.currentSheetIndex;let o=Z(n);P(h.luckysheetfile[o].pivotTable)!="object"&&(h.luckysheetfile[o].pivotTable=new Function("return "+h.luckysheetfile[o].pivotTable)()),h.luckysheetfile[o].pivotTable!=null?(l.column=h.luckysheetfile[o].pivotTable.column,l.row=h.luckysheetfile[o].pivotTable.row,l.values=h.luckysheetfile[o].pivotTable.values,l.filter=h.luckysheetfile[o].pivotTable.filter,l.showType=h.luckysheetfile[o].pivotTable.showType,l.filterparm=h.luckysheetfile[o].pivotTable.filterparm,h.luckysheetfile[o].pivotTable.drawPivotTable!=null?l.drawPivotTable=h.luckysheetfile[o].pivotTable.drawPivotTable:l.drawPivotTable=!0,h.luckysheetfile[o].pivotTable.pivotTableBoundary!=null?l.pivotTableBoundary=h.luckysheetfile[o].pivotTable.pivotTableBoundary:l.pivotTableBoundary=[12,6],t!=null?l.pivot_select_save=t:l.pivot_select_save=h.luckysheetfile[o].pivotTable.pivot_select_save,a!=null?l.pivotDataSheetIndex=a:l.pivotDataSheetIndex=h.luckysheetfile[o].pivotTable.pivotDataSheetIndex):(l.column=null,l.row=null,l.values=null,l.filter=null,l.showType=null,l.filterparm=null,l.drawPivotTable=!0,l.pivotTableBoundary=[12,6],t!=null?l.pivot_select_save=t:l.pivot_select_save=h.luckysheet_select_save,a!=null?l.pivotDataSheetIndex=a:l.pivotDataSheetIndex=n);let s=Z(l.pivotDataSheetIndex),u=h.luckysheetfile[s];u.data==null&&(u.data=ye.buildGridData(u)),l.origindata=xi(u.data,l.pivot_select_save);let d={};if(l.filterparm!=null)for(let m in l.filterparm)for(let g in l.filterparm[m])g==="rowhidden"&&l.filterparm[m][g]!=null&&(d=$.extend(!0,d,l.filterparm[m][g]));l.rowhidden=d,l.pivotSheetIndex=n;let f=[];for(let m=0;m<l.origindata.length;m++)l.rowhidden!=null&&l.rowhidden[m]!=null||f.push([].concat(l.origindata[m]));l.celldata=f,l.pivot_data_type={};for(let m=0;m<l.celldata[1].length;m++){let g=Jr(l.celldata[1][m]);l.pivot_data_type[m.toString()]=g}},pivot_data_type:{},pivot_select_save:null,column:null,row:null,values:null,filter:null,showType:null,rowhidden:null,selected:null,caljs:null,initial:!0,filterparm:null,luckysheet_pivotTable_select_state:!1,jgridCurrentPivotInput:null,movestate:!1,moveitemposition:[],movesave:{},showvaluecolrow:function(){let e=this;$("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").length>=2?($("#luckysheetpivottablevaluecolrowshow").show(),e.showType=="column"?($("#luckysheetpivottablevaluecolrow").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow1").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").removeClass("ui-state-active")):($("#luckysheetpivottablevaluecolrow1").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").removeClass("ui-state-active"))):$("#luckysheetpivottablevaluecolrowshow").hide()},resetOrderby:function(e){let a=$("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").index(e);$("#luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("orderby")==a&&$(this).data("orderby","self")})},luckysheetsliderlistclearfilter:function(e){let a=this,t=e.parent(),l=t.data("index"),n={},o={},s=a.origindata,u={};t.data("rowhidden","").find(".luckysheet-slider-list-item-filtered").hide(),a.setDatatojsfile("selected",{},l),a.setDatatojsfile("rowhidden",null,l);let d=[];for(let f=0;f<s.length;f++)n[f]==null&&d.push([].concat(s[f]));a.celldata=d,a.refreshPivotTable(),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide()},luckysheetsliderlistitemfilter:function(e){let a=this,l=Q().filter,n=e.parent(),o=n.offset(),s=$("#luckysheet-pivotTableFilter-menu"),u=$(window).height(),d=$(window).width(),f=n.data("index"),m=n.data("rowhidden");m==null||m==""?m={}:P(m)=="string"&&(m=JSON.parse(m)),$("body .luckysheet-cols-menu").hide(),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide(),$("#luckysheet-pivotTableFilter-byvalue-input").val(""),$("#luckysheet-pivotTableFilter-bycondition").next().hide(),$("#luckysheet-pivotTableFilter-byvalue").next().show(),s.data("index",f),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").hide().find("input").val(),$("#luckysheet-pivotTableFilter-selected span").data("type","0").data("type",null).text(l.filiterInputNone);let g=n.data("byconditiontype");if($("#luckysheet-pivotTableFilter-selected span").data("value",n.data("byconditionvalue")).data("type",g).text(n.data("byconditiontext")),g=="2"){let k=$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input2").show().find("input");k.eq(0).val(n.data("byconditionvalue1")),k.eq(1).val(n.data("byconditionvalue2"))}else g=="1"&&$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").eq(0).show().find("input").val(n.data("byconditionvalue1"));let y=Dl("#luckysheet-pivotTableFilter-byvalue-select",{text:l.filiterMoreDataTip});$("#luckysheet-pivotTableFilter-byvalue-select").empty().append(y.el);let v={};$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").not(n.get(0)).each(function(){let k=$(this),x=k.data("rowhidden");if(x==null||x=="")return!0;P(x)=="string"&&(x=JSON.parse(x));for(let w in x)v[w]=0});let b=a.origindata;setTimeout(function(){let k={},x={},w={},_={};for(let T=1;T<b.length;T++){if(T in v||b[T]==null)continue;let R=b[T][f];if(R!=null&&R.ct!=null&&R.ct.t=="d"){let I=mt("YYYY-MM-DD",R.v),A=I.split("-")[0],E=I.split("-")[1],N=I.split("-")[2];A in k||(k[A]={}),E in k[A]||(k[A][E]={}),N in k[A][E]||(k[A][E][N]=0),k[A][E][N]++,T in m&&(x[A]=0,x[E]=0,x[N]=0)}else{let I,A;R==null||de(R.v)?(I=null,A=null):(I=R.v,A=R.m),I in w||(w[I]={}),A in w[I]||(w[I][A]=0),w[I][A]++,T in m&&(_[I+"#$$$#"+A]=0)}}let S=[];if(JSON.stringify(k).length>2)for(let T in k){let R=0,I="";for(let E in k[T]){let N=0,D="";for(let M in k[T][E]){let z=k[T][E][M];N+=z;let O;Number(E)<10?O="0"+Number(E):O=E;let H;Number(M)<10?H="0"+Number(M):H=M,T in x&&E in x&&M in x?D+='<div class="day luckysheet-mousedown-cancel cf" data-check="false" title="'+T+"-"+O+"-"+H+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+M+'</label><span class="count luckysheet-mousedown-cancel">( '+z+" )</span></div>":D+='<div class="day luckysheet-mousedown-cancel cf" data-check="true" title="'+T+"-"+O+"-"+H+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+M+'</label><span class="count luckysheet-mousedown-cancel">( '+z+" )</span></div>"}R+=N;let F;Number(E)<10?F="0"+Number(E):F=E,T in x&&E in x?I+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="false" title="'+T+"-"+F+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+E+""+l.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+N+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+D+"</div></div>":I+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="true" title="'+T+"-"+F+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+E+""+l.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+N+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+D+"</div></div>"}let A;T in x?A='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="false" title="'+T+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+T+""+l.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+R+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+I+"</div></div>":A='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="true" title="'+T+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+T+""+l.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+R+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+I+"</div></div>",S.unshift(A)}if(JSON.stringify(w).length>2){let T=Object.keys(w);T=po(T,!0);for(let R=0;R<T.length;R++){let I=T[R];for(let A in w[I]){let E;I+"#$$$#"+A=="null#$$$#null"?E=l.valueBlank:E=A;let N;I+"#$$$#"+A in _?N='<div class="textBox luckysheet-mousedown-cancel cf" data-check="false" data-filter="'+(I+"#$$$#"+A)+'" title="'+A+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+E+'</label><span class="luckysheet-mousedown-cancel count">( '+w[I][A]+" )</span></div>":N='<div class="textBox luckysheet-mousedown-cancel cf" data-check="true" data-filter="'+(I+"#$$$#"+A)+'" title="'+A+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+E+'</label><span class="luckysheet-mousedown-cancel count">( '+w[I][A]+" )</span></div>",S.push(N)}}}let C=u-o.top-350;C<0&&(C=100),$("#luckysheet-pivotTableFilter-byvalue-select").append("<div class='ListBox luckysheet-mousedown-cancel' style='max-height:"+C+"px;overflow-y:auto;overflow-x:hidden;'>"+S.join("")+"</div>"),y.close()},1),ra(s,o.left-250,o.top)},getSumTypeName:function(e){let a="",l=Q().pivotTable;return e=="SUM"?a=l.valueStatisticsSUM:e=="COUNT"?a=l.valueStatisticsCOUNT:e=="COUNTA"?a=l.valueStatisticsCOUNTA:e=="COUNTUNIQUE"?a=l.valueStatisticsCOUNTUNIQUE:e=="AVERAGE"?a=l.valueStatisticsAVERAGE:e=="MAX"?a=l.valueStatisticsMAX:e=="MIN"?a=l.valueStatisticsMIN:e=="MEDIAN"?a=l.valueStatisticsMEDIAN:e=="PRODUCT"?a=l.valueStatisticsPRODUCT:e=="STDEV"?a=l.valueStatisticsSTDEV:e=="STDEVP"?a=l.valueStatisticsSTDEVP:e=="let"?a=l.valueStatisticslet:e=="VARP"&&(a=l.valueStatisticsVARP),a},setDatatojsfile:function(e,a,t){let l=this,n=Z(l.pivotSheetIndex);h.luckysheetfile[n].pivotTable==null&&(h.luckysheetfile[n].pivotTable={}),t==null?(h.luckysheetfile[n].pivotTable[e]=a,l[e]=a):(h.luckysheetfile[n].pivotTable.filterparm==null&&(h.luckysheetfile[n].pivotTable.filterparm={}),h.luckysheetfile[n].pivotTable.filterparm[t.toString()]==null&&(h.luckysheetfile[n].pivotTable.filterparm[t.toString()]={}),h.luckysheetfile[n].pivotTable.filterparm[t.toString()][e]=a,l.filterparm==null&&(l.filterparm={}),l.filterparm[t.toString()]==null&&(l.filterparm[t.toString()]={}),l.filterparm[t.toString()][e]=a)},createPivotTable:function(e){if(he()||h.allowEdit===!1)return;let a=this,t=h.currentSheetIndex,n=Q().pivotTable;if(he()){alert(n.errorNotAllowEdit);return}if(h.luckysheet_select_save.length>1){j.info("",n.errorNotAllowMulti);return}if(h.luckysheet_select_save.length==0||h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]||h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){j.info("",n.errorSelectRange);return}let o=$.extend(!0,{},h.luckysheet_select_save[0]);ye.addNewSheet(e,!0),a.getCellData(h.currentSheetIndex,t,o),a.setDatatojsfile("pivot_select_save",o),a.setDatatojsfile("pivotDataSheetIndex",t),a.initialPivotManage()},changePivotTable:function(e){let a=this,l=Q().pivotTable,n=h.luckysheetfile[Z(e)].pivotTable.pivotDataSheetIndex;if(Z(n)==null){j.info(l.errorIsDamage,"");return}a.getCellData(e),a.initialPivotManage(!0),a.refreshPivotTable()},refreshPivotTable:function(e=!0){let a=this,t={};t.pivotTable=d,t.data=xe.deepCopyFlowData(h.flowdata),a.storePivotTableParam();let l=a.dataHandler(a.column,a.row,a.values,a.showType,a.celldata);a.setDatatojsfile("pivotDatas",l);let n=$.extend(!0,[],ye.nulldata),o=n,s=0,u=0;if(l.length==0)a.setDatatojsfile("drawPivotTable",!0),a.setDatatojsfile("pivotTableBoundary",[12,6]);else{a.setDatatojsfile("drawPivotTable",!1),a.setDatatojsfile("pivotTableBoundary",[l.length,l[0].length]);let f=l.length,m=l[0].length;s=f-n.length,u=m-n[0].length,o=or(n,s+20,u+10,!0);for(let g=0;g<f;g++){let y=[].concat(o[g]);for(let v=0;v<m;v++){let b="";l[g]!=null&&l[g][v]!=null&&(b=ze(g,v,l)),y[v]=b}o[g]=y}}t.type="pivotTable_change",t.curdata=$.extend(!0,[],o),t.sheetIndex=h.currentSheetIndex;let d=a.getPivotTableData();t.pivotTablecur=d,h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push(t)),er(),h.clearjfundo=!1,s>0||u>0?Gr(o[0].length,o.length,o,null,h.luckysheet_select_save,"datachangeAll",void 0,void 0,e):(Ze(o,h.luckysheet_select_save,{},null,e),et()),h.clearjfundo=!0},drawPivotTable:!0,pivotTableBoundary:[12,6],pivotclick:function(e,a,t){t==null&&(t=h.currentSheetIndex);let l=h.luckysheetfile[Z(t)];if(!l.isPivotTable)return;let n=l.pivotTable.pivotDataSheetIndex;if(Z(n)==null)return;let s=$("#luckysheet-modal-dialog-slider-pivot"),u=this.isPivotRange(e,a);if(u&&s.is(":hidden")){if(!St(t,"usePivotTablereports",!1))return;s.show(),Ft(),$("#luckysheet-sta-content").css("padding-right",260)}else!u&&s.is(":visible")&&(s.hide(),Ft(),$("#luckysheet-sta-content").css("padding-right",10))},isPivotRange:function(e,a){let t=this;if(h.luckysheetcurrentisPivotTable)return e<t.pivotTableBoundary[0]&&a<t.pivotTableBoundary[1]},storePivotTableParam:function(){let e=this,a=[],t=[],l=[],n=[];$("#luckysheet-modal-dialog-config-filter .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),l.push(u)}),$("#luckysheet-modal-dialog-config-row .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),u.order=$(this).data("order"),u.orderby=$(this).data("orderby"),u.stastic=$(this).data("stastic"),t.push(u)}),$("#luckysheet-modal-dialog-config-column .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),u.order=$(this).data("order"),u.orderby=$(this).data("orderby"),u.stastic=$(this).data("stastic"),a.push(u)}),$("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),u.sumtype=$(this).data("sumtype"),u.nameindex=$(this).data("nameindex"),n.push(u)}),e.setDatatojsfile("column",a),e.setDatatojsfile("row",t),e.setDatatojsfile("filter",l),e.setDatatojsfile("values",n);let o=$("#luckysheetpivottablevaluecolrow:checked, #luckysheetpivottablevaluecolrow1:checked").val();e.setDatatojsfile("showType",o=="0"?"row":"column");let s=e.getPivotTableData();delete s.pivotDatas,re.saveParam("all",e.pivotSheetIndex,s,{k:"pivotTable"})},getPivotTableData:function(e){e==null&&(e=this.pivotSheetIndex);let a=Z(e),t=h.luckysheetfile[a].pivotTable;return P(t)=="object"?t=$.extend(!0,{},h.luckysheetfile[a].pivotTable):t=new Function("return "+t)(),t},addValuesToTitle:function(e,a){let t=e.length*a.length,l=e[0].length+1,n=[];if(e.length==0&&a.length>0){for(let o=0;o<a.length;o++)n.push(a[o].fullname);return n}if(a.length==0&&e.length>0)return e;for(let o=0;o<t;o++){n[o]=new Array(l);for(let s=0;s<l-1;s++)n[o][s]=e[Math.floor(o/a.length)][s];n[o][l-1]=a[o%a.length].fullname}return n},initialPivotManage:function(e){let a=this,t=Q(),l=t.pivotTable,n=t.button,o=t.filter;if(a.initial){a.initial=!1,$("body").append(wu()),$("#luckysheet-modal-dialog-slider-close").click(function(){$("#luckysheet-modal-dialog-slider-pivot").hide(),Ft()}),$("body").append(we(ft,{id:"luckysheet-data-pivotTable-selection",addclass:"luckysheet-data-pivotTable-selection",title:l.titleSelectionDataRange,content:'<input id="luckysheet-pivotTable-range-selection-input" class="luckysheet-datavisual-range-container" style="font-size: 14px;padding:5px;max-width:none;" spellcheck="false" aria-label="'+l.titleDataRange+'" placeholder="'+l.titleDataRange+'">',botton:'<button id="luckysheet-pivotTable-selection-confirm" class="btn btn-primary">'+n.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+n.cancel+"</button>"})),$("body").append(we(Hi(),{menuid:"pivotTableFilter"})),$("body").append(we(Vi(),{menuid:"pivotTableFilter"})),$("body").append(mu()),$("body").append(pu()),$("#luckysheet-pivotTableFilter-orderby-asc").remove(),$("#luckysheet-pivotTableFilter-orderby-desc").next().remove(),$("#luckysheet-pivotTableFilter-orderby-desc").remove(),$("#luckysheet-pivotTableFilter-orderby-color").next().remove(),$("#luckysheet-pivotTableFilter-orderby-color").remove(),$("#luckysheetpivottablevaluecolrow, #luckysheetpivottablevaluecolrow1").checkboxradio({icon:!1}).change(function(){a.refreshPivotTable()});let m=null;$("#luckysheet-pivotTableFilter-menu").mouseover(function(){clearTimeout(m),m=setTimeout(function(){$("#luckysheet-pivotTableFilter-submenu").hide()},500)}),$(document).off("click.ptFilterCheckbox1").on("click.ptFilterCheckbox1","#luckysheet-pivotTableFilter-byvalue-select .textBox",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.ptFilterCheckbox2").on("click.ptFilterCheckbox2","#luckysheet-pivotTableFilter-byvalue-select .year",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".yearBox").find(".month").attr("data-check","false"),$(this).parents(".yearBox").find(".day").attr("data-check","false"),$(this).parents(".yearBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".yearBox").find(".month").attr("data-check","true"),$(this).parents(".yearBox").find(".day").attr("data-check","true"),$(this).parents(".yearBox").find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.ptFilterCheckbox3").on("click.ptFilterCheckbox3","#luckysheet-pivotTableFilter-byvalue-select .month",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".monthBox").find(".day").attr("data-check","false"),$(this).parents(".monthBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".monthBox").find(".day").attr("data-check","true"),$(this).parents(".monthBox").find("input[type='checkbox']").prop("checked",!0));let g=!0;$(this).parents(".yearBox").find(".day").each(function(v,b){$(b).attr("data-check")=="true"||(g=!1)}),g?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.ptFilterCheckbox4").on("click.ptFilterCheckbox4","#luckysheet-pivotTableFilter-byvalue-select .day",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0));let g=!0;$(this).parents(".monthBox").find(".day").each(function(k,x){$(x).attr("data-check")=="true"||(g=!1)}),g?($(this).parents(".monthBox").find(".month").attr("data-check","true"),$(this).parents(".monthBox").find(".month input[type='checkbox']").prop("checked",!0)):($(this).parents(".monthBox").find(".month").attr("data-check","false"),$(this).parents(".monthBox").find(".month input[type='checkbox']").removeAttr("checked"));let v=!0;$(this).parents(".yearBox").find(".day").each(function(k,x){$(x).attr("data-check")=="true"||(v=!1)}),v?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.ptFilterYearDropdown").on("click.ptFilterYearDropdown","#luckysheet-pivotTableFilter-byvalue-select .yearBox .fa-caret-right",function(){let g=$(this).parents(".luckysheet-mousedown-cancel");g.hasClass("year")&&$(this).parents(".yearBox").find(".monthList").slideToggle(),g.hasClass("month")&&$(this).parents(".monthBox").find(".dayList").slideToggle()}),$("#luckysheet-pivotTableFilter-byvalue-btn-all").click(function(){$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").prop("checked",!0),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","true")}),$("#luckysheet-pivotTableFilter-byvalue-btn-contra").click(function(){$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").each(function(b,k){$(k).is(":checked")?($(k).removeAttr("checked"),$(k).parents(".luckysheet-mousedown-cancel").attr("data-check","false")):($(k).prop("checked",!0),$(k).parents(".luckysheet-mousedown-cancel").attr("data-check","true"))}),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox .monthBox").each(function(b,k){let x=!0;$(k).find(".day input[type='checkbox']").each(function(_,S){$(S).is(":checked")||(x=!1)}),x?($(k).find(".month input[type='checkbox']").prop("checked",!0),$(k).attr("data-check","true")):($(k).find(".month input[type='checkbox']").removeAttr("checked"),$(k).attr("data-check","false"))}),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox .yearBox").each(function(b,k){let x=!0;$(k).find(".day input[type='checkbox']").each(function(_,S){$(S).is(":checked")||(x=!1)}),x?($(k).find(".year input[type='checkbox']").prop("checked",!0),$(k).attr("data-check","true")):($(k).find(".year input[type='checkbox']").removeAttr("checked"),$(k).attr("data-check","false"))})}),$("#luckysheet-pivotTableFilter-byvalue-btn-clear").click(function(){$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").removeAttr("checked"),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","false")}),$("#luckysheet-pivotTableFilter-byvalue-input").on("input propertychange",function(){let g=$(this).val().toString();$("#luckysheet-pivotTableFilter-byvalue-select .ListBox .luckysheet-mousedown-cancel").show(),g!=""&&$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").each(function(v,b){let k=$(b).parents(".luckysheet-mousedown-cancel");if(k.hasClass("day")){let x=$(b).siblings("label").text().toString(),w=$(b).parents(".monthBox").find(".month label").text().toString();($(b).parents(".yearBox").find(".year label").text().toString()+"-"+w+"-"+x).indexOf(g)==-1&&($(b).parents(".day").hide(),$(b).parents(".dayList").find(".day:visible").length==0&&$(b).parents(".monthBox").find(".month").hide(),$(b).parents(".monthList").find(".day:visible").length==0&&$(b).parents(".yearBox").find(".year").hide())}k.hasClass("textBox")&&$(b).siblings("label").text().toString().indexOf(g)==-1&&$(b).parents(".textBox").hide()})}),$("#luckysheet-pivotTableFilter-bycondition, #luckysheet-pivotTableFilter-byvalue").click(function(){let g=$(this);g.next().slideToggle(200),setTimeout(function(){g.attr("id")=="luckysheet-pivotTableFilter-bycondition"&&$("#luckysheet-pivotTableFilter-bycondition").next().is(":visible")&&$("#luckysheet-pivotTableFilter-selected span").text()!=o.filiterInputNone&&$("#luckysheet-pivotTableFilter-byvalue").next().slideUp(200),g.is($("#luckysheet-pivotTableFilter-bycondition"))&&$("#luckysheet-pivotTableFilter-bycondition").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-byvalue").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-byvalue").next().slideDown(200)},300)}),$("#luckysheet-pivotTableFilter-cancel").click(function(){$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide()}),$("#luckysheet-pivotTableFilter-selected").click(function(){let g=$(this),y=g.offset(),v=$("#luckysheet-pivotTableFilter-submenu");v.hide();let b=$(window).height(),k=$(window).width(),x=v.width(),w=v.height(),_=y.top,S=y.left,C=b-y.top-20;y.left+x>k&&(S=y.left-x),y.top>b/2&&(_=b-y.top,_<0&&(_=0),C=y.top-20),v.css({top:_,left:S,height:C}).show(),clearTimeout(m)}),$("#luckysheet-pivotTableFilter-submenu").mouseover(function(){clearTimeout(m)}).find(".luckysheet-cols-menuitem").click(function(g){$("#luckysheet-pivotTableFilter-selected span").html($(this).find(".luckysheet-cols-menuitem-content").text()).data("value",$(this).data("value")),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").hide(),$(this).data("type")=="2"?($("#luckysheet-pivotTableFilter-selected span").data("type","2"),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input2").show()):$(this).data("type")=="0"?$("#luckysheet-pivotTableFilter-selected span").data("type","0"):($("#luckysheet-pivotTableFilter-selected span").data("type","1"),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").eq(0).show(),$(this).attr("data-value")=="dateequal"||$(this).attr("data-value")=="datelessthan"||$(this).attr("data-value")=="datemorethan"?$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input input").prop("type","date"):$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input input").prop("type","text")),$("#luckysheet-pivotTableFilter-byvalue").next().slideUp(),$("#luckysheet-pivotTableFilter-submenu").hide()}),$("#luckysheet-modal-dialog-pivotTable-list").on("click"," .luckysheet-slider-list-item-filter",function(g){return a.luckysheetsliderlistitemfilter($(this)),g.stopPropagation(),!1}),$("#luckysheet-modal-dialog-pivotTable-list").on("click"," .luckysheet-slider-list-item-filtered",function(g){return a.luckysheetsliderlistclearfilter($(this).next()),g.stopPropagation(),!1}),$("#luckysheet-dialog-pivotTable-range-seleted").click(function(){$("#luckysheet-modal-dialog-slider-pivot").hide(),Ft();let g=$("#luckysheet-data-pivotTable-selection"),y=g.outerHeight(),v=g.outerWidth(),b=$(window).width(),k=$(window).height(),x=$(document).scrollLeft(),w=$(document).scrollTop();$("#luckysheet-data-pivotTable-selection").css({left:(b+x-v)/2,top:(k+w-y)/4}).show(),a.jgridCurrentPivotInput=$("#luckysheet-dialog-pivotTable-range").html(),$("#luckysheet-pivotTable-range-selection-input").val(a.jgridCurrentPivotInput),a.luckysheet_pivotTable_select_state=!0}),$("#luckysheet-pivotTableFilter-initial").click(function(){$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-slider-list-item-filtered").hide(),$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").data("rowhidden",""),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide(),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").hide().find("input").val(),$("#luckysheet-pivotTableFilter-selected span").data("type","0").data("type",null).text(o.filiterInputNone),a.setDatatojsfile("filterparm",null),a.celldata=a.origindata,a.refreshPivotTable()}),$("#luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").on("click",".luckysheet-modal-dialog-slider-config-item-icon",function(g){let y=$(g.target),v=y.closest(".luckysheet-modal-dialog-slider-config-item"),b=v.data("index"),k=v.offset(),x=v.data("order"),w=v.data("orderby"),_=v.data("stastic");x==null&&(x="default");let S='<option value="self">'+v.find(".luckysheet-modal-dialog-slider-config-item-txt").data("name")+"</option>";return $("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").each(function(C){S+='<option value="'+C+'">'+$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text()+"</option>"}),$("#luckysheet-pivotTable-config-option-orderby").empty().html(S),w==null&&(w="self"),_==null&&(_="1"),$("#luckysheet-pivotTable-config-option-order").val(x).data("index",b),$("#luckysheet-pivotTable-config-option-orderby").val(w).data("index",b),$("#luckysheet-pivotTable-config-option-stastic").val(_).data("index",b),dr($("#luckysheet-pivotTable-config-option"),k.left+v.outerWidth(),k.top-13,"rightbottom"),g.stopPropagation(),!1}),$("#luckysheet-pivotTable-config-option-order,#luckysheet-pivotTable-config-option-orderby,#luckysheet-pivotTable-config-option-stastic").change(function(){let g=$(this),y=g.data("index");$("#luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("index")==y&&$(this).data(g.attr("id").replace("luckysheet-pivotTable-config-option-",""),g.val())}),a.refreshPivotTable()}),$("#luckysheet-modal-dialog-config-value").on("click",".luckysheet-modal-dialog-slider-config-item-icon",function(g){let y=$(g.target),v=y.closest(".luckysheet-modal-dialog-slider-config-item"),b=v.data("index"),k=v.offset(),x=v.data("sumtype"),w=a.pivot_data_type[b.toString()];x==null&&(w=="num"?x="SUM":x="COUNTA");let _=$("#luckysheet-pivotTable-config-option-sumtype");return _.find(".luckysheet-submenu-arrow").hide(),_.find(".luckysheet-cols-menuitem[sumtype='"+x+"'] .luckysheet-submenu-arrow").css("display","inline"),_.data("item",v),dr(_,k.left+v.outerWidth(),k.top-13,"rightbottom"),g.stopPropagation(),!1}),$("#luckysheet-pivotTable-config-option-sumtype .luckysheet-cols-menuitem").click(function(){let g=$("#luckysheet-pivotTable-config-option-sumtype").data("item"),y=$(this).attr("sumtype");g.data("sumtype",$(this).attr("sumtype"));let v=a.getSumTypeName(y)+":"+g.data("name");g.attr("title",v).find(".luckysheet-modal-dialog-slider-config-item-txt").html(v),$("#luckysheet-pivotTable-config-option-sumtype").hide(),a.refreshPivotTable()}),$("#luckysheet-modal-dialog-config-filter").on("click",".luckysheet-modal-dialog-slider-config-item-icon",function(g){let y=$(g.target),v=y.closest(".luckysheet-modal-dialog-slider-config-item").data("index");return a.luckysheetsliderlistitemfilter($("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(v).find(".luckysheet-slider-list-item-filter")),g.stopPropagation(),!1}),$("#luckysheet-pivotTableFilter-confirm").click(function(){let y=$("#luckysheet-pivotTableFilter-menu").data("index"),v={};$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").each(function(){let C=$(this),T=C.data("rowhidden");if(C.data("index")!=y){if(T==null||T=="")return!0;P(T)=="string"&&(T=JSON.parse(T));for(let R in T)v[R]=0}});let b=a.origindata,k={},x={},w={};if($("#luckysheet-pivotTableFilter-bycondition").next().is(":visible")&&$("#luckysheet-pivotTableFilter-byvalue").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-selected span").data("value")!="null"){let C=$("#luckysheet-pivotTableFilter-selected span"),T=C.data("type"),R=C.data("value");if(w.value=R,w.text=C.text(),T=="0")w.type="0";else if(T=="2"){let I=$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input2 input");w.type="2",w.value1=I.eq(0).val(),w.value2=I.eq(1).val()}else w.type="1",w.value1=$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").eq(0).find("input").val();for(let I=1;I<b.length;I++){if(I in v||b[I]==null)continue;let A=b[I][y];if(R=="cellnull")A!=null&&!de(A.v)&&(x[I]=0);else if(R=="cellnonull")(A==null||de(A.v))&&(x[I]=0);else if(R=="textinclude"){let E=w.value1;(A==null||de(A.v)||A.m.indexOf(E)==-1)&&(x[I]=0)}else if(R=="textnotinclude"){let E=w.value1;A==null||de(A.v)||A.m.indexOf(E)>-1&&(x[I]=0)}else if(R=="textstart"){let E=w.value1,N=E.length;(A==null||de(A.v)||A.m.substr(0,N)!=E)&&(x[I]=0)}else if(R=="textend"){let E=w.value1,N=E.length;(A==null||de(A.v)||N>A.m.length||A.m.substr(A.m.length-N,N)!=E)&&(x[I]=0)}else if(R=="textequal"){let E=w.value1;(A==null||de(A.v)||A.m!=E)&&(x[I]=0)}else if(R=="dateequal"){let E=it(w.value1)[2];A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="d"?parseInt(A.v)!=E&&(x[I]=0):x[I]=0}else if(R=="datelessthan"){let E=it(w.value1)[2];A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="d"?parseInt(A.v)>=E&&(x[I]=0):x[I]=0}else if(R=="datemorethan"){let E=it(w.value1)[2];A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="d"?parseInt(A.v)<=E&&(x[I]=0):x[I]=0}else if(R=="morethan"){let E=parseFloat(w.value1);A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v<=E&&(x[I]=0):x[I]=0}else if(R=="moreequalthan"){let E=parseFloat(w.value1);A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v<E&&(x[I]=0):x[I]=0}else if(R=="lessthan"){let E=parseFloat(w.value1);A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v>=E&&(x[I]=0):x[I]=0}else if(R=="lessequalthan"){let E=parseFloat(w.value1);A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v>E&&(x[I]=0):x[I]=0}else if(R=="equal"){let E=parseFloat(w.value1);A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v!=E&&(x[I]=0):x[I]=0}else if(R=="noequal"){let E=parseFloat(w.value1);A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v==E&&(x[I]=0):x[I]=0}else if(R=="include"){let E=parseFloat(w.value1),N=parseFloat(w.value2),D,F;E<N?(D=E,F=N):(F=E,D=N),A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?(A.v<D||A.v>F)&&(x[I]=0):x[I]=0}else if(R=="noinclude"){let E=parseFloat(w.value1),N=parseFloat(w.value2),D,F;E<N?(D=E,F=N):(F=E,D=N),A==null||de(A.v)?x[I]=0:A.ct!=null&&A.ct.t=="n"?A.v>=D&&A.v<=F&&(x[I]=0):x[I]=0}}}else{$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").each(function(C,T){if($(T).is(":visible")&&$(T).is(":checked"))return!0;if($(T).closest(".day").length>0){let R=$(T).siblings("label").text();Number(R)<10&&(R="0"+R);let I=$(T).closest(".monthBox").find(".month label").text().replace(o.filiterMonthText,"");Number(I)<10&&(I="0"+I);let A=$(T).closest(".yearBox").find(".year label").text().replace(o.filiterYearText,""),E=o.filterDateFormatTip+"#$$$#"+A+"-"+I+"-"+R;k[E]="1"}if($(T).closest(".textBox").length>0){let R=$(T).closest(".textBox").data("filter");k[R]="1"}});for(let C=1;C<b.length;C++){if(C in v||b[C]==null)continue;let T=b[C][y],R;if(T==null||de(T.v))R="null#$$$#null";else if(T.ct!=null&&T.ct.t=="d"){let I=mt("YYYY-MM-DD",T.v);R=o.filterDateFormatTip+"#$$$#"+I}else R=T.v+"#$$$#"+T.m;R in k&&(x[C]=0)}}let _=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(y);$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']:visible:checked").length<$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']:visible").length||$("#luckysheet-pivotTableFilter-byvalue-input").val().length>0||$("#luckysheet-pivotTableFilter-bycondition").next().is(":visible")&&$("#luckysheet-pivotTableFilter-byvalue").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-selected span").data("value")!="null"?(_.data("rowhidden",JSON.stringify(x)).find(".luckysheet-slider-list-item-filtered").show(),a.setDatatojsfile("rowhidden",x,y),w!=null&&(_.data("byconditionvalue",w.value).data("byconditiontype",w.type).data("byconditiontext",w.text),w.value1!=null&&_.data("byconditionvalue1",w.value1),w.value2!=null&&_.data("byconditionvalue2",w.value2),a.setDatatojsfile("caljs",w,y))):(_.data("rowhidden","").find(".luckysheet-slider-list-item-filtered").hide(),a.setDatatojsfile("rowhidden",null,y));let S=[];for(let C=0;C<b.length;C++)C in x||C in v||S.push([].concat(b[C]));a.celldata=S,a.refreshPivotTable(),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide(),er()}),$("#luckysheet-data-pivotTable-selection .luckysheet-model-close-btn, #luckysheet-data-pivotTable-selection .luckysheet-modal-dialog-title-close").click(function(){$("#luckysheet-modal-dialog-slider-pivot").show(),Ft(),$("#luckysheet-cell-main .luckysheet-pivotTable-selection-set div").show(),$("#luckysheet-data-pivotTable-selection").hide(),ye.changeSheetExec(a.pivotSheetIndex),a.luckysheet_pivotTable_select_state=!1,er()}),$("#luckysheet-pivotTable-selection-confirm").click(function(){let g=$("#luckysheet-pivotTable-range-selection-input"),y=g.val();if($.trim(y).length==0||$.trim(y).toUpperCase()==a.jgridCurrentPivotInput.toUpperCase()){g.val(a.jgridCurrentPivotInput),$("#luckysheet-data-pivotTable-selection .luckysheet-model-close-btn").click();return}else{let v=y.split("!"),b="",k="",x=-1;if(v.length>1){b=v[0],k=v[1];for(let S in h.luckysheetfile)if(b==h.luckysheetfile[S].name){x=h.luckysheetfile[S].index;break}x==-1&&(x=0)}else{let S=Z(h.currentSheetIndex);b=h.luckysheetfile[S].name,x=h.luckysheetfile[S].index,k=v[0]}if(h.luckysheetfile[Z(x)].isPivotTable){he()?alert(l.errorNotAllowPivotData):j.info("",l.errorNotAllowPivotData),g.val(a.jgridCurrentPivotInput);return}if(k.indexOf(":")==-1){he()?alert(l.errorSelectionRange):j.info("",l.errorSelectionRange),g.val(a.jgridCurrentPivotInput);return}k=k.split(":");let w=[],_=[];if(w[0]=parseInt(k[0].replace(/[^0-9]/g,""))-1,w[1]=parseInt(k[1].replace(/[^0-9]/g,""))-1,w[0]>w[1]){he()?alert(l.errorSelectionRange):j.info("",l.errorSelectionRange),g.val(a.jgridCurrentPivotInput);return}if(_[0]=cr(k[0].replace(/[^A-Za-z]/g,"")),_[1]=cr(k[1].replace(/[^A-Za-z]/g,"")),_[0]>_[1]){he()?alert(l.errorSelectionRange):j.info(l.errorSelectionRange),g.val(a.jgridCurrentPivotInput);return}ye.changeSheetExec(a.pivotSheetIndex),a.setDatatojsfile("pivot_select_save",{row:w,column:_}),a.setDatatojsfile("pivotDataSheetIndex",x),a.getCellData(a.pivotSheetIndex,x,{row:w,column:_}),a.initialPivotManage(),$("#luckysheet-dialog-pivotTable-range").html(y),$("#luckysheet-modal-dialog-slider-pivot").show(),$("#luckysheet-data-pivotTable-selection").hide(),a.luckysheet_pivotTable_select_state=!1,a.refreshPivotTable(),Ft(),er()}}),$("#luckysheet-modal-dialog-slider-pivot").on("mousedown",".luckysheet-slider-list-item-name, .luckysheet-modal-dialog-slider-config-item-txt",function(g){let y=$(g.target);a.movestate=!0,a.movesave.obj=y.parent(),a.movesave.name=y.data("name"),a.movesave.containerid=y.parent().parent().attr("id"),a.movesave.index=y.data("index"),$("#luckysheet-modal-dialog-slider-pivot-move").length==0&&$("body").append('<div id="luckysheet-modal-dialog-slider-pivot-move">'+a.movesave.name+"</div>"),a.movesave.width=$("#luckysheet-modal-dialog-slider-pivot-move").outerWidth(),a.movesave.height=$("#luckysheet-modal-dialog-slider-pivot-move").outerHeight(),$("#luckysheet-modal-dialog-pivotTable-list, #luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").css("cursor","default")}),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").mousemove(function(g){if(a.movestate){a.moveitemposition.length==0&&(a.moveitemposition=[0],$(this).find(".luckysheet-modal-dialog-slider-config-item").each(function(_){let S=$(this),C=S.outerHeight();a.moveitemposition.push(a.moveitemposition[_]+C+2)}),$(this).append('<div id="luckysheet-modal-dialog-config-order-help" style="position:absolute;height:3px;width:100%;background:#007ACC;z-index:1;pointer-events: none;user-select:none;"></div>')),$("#luckysheet-modal-dialog-slider-pivot-move").css({background:"#FD8585",color:"#fff",border:"1px solid #FD7070"});let y=event.pageX,v=event.pageY,b=$(this),k=v-b.offset().top+b.scrollTop(),x=a.moveitemposition,w=lt(x,k);w==-1?$("#luckysheet-modal-dialog-config-order-help").css({top:x[x.length-1]}):k-x[w-1]>(x[w]-x[w-1])/2?$("#luckysheet-modal-dialog-config-order-help").css({top:x[w]}):$("#luckysheet-modal-dialog-config-order-help").css({top:x[w-1]})}}).mouseleave(function(){a.movestate&&($("#luckysheet-modal-dialog-slider-pivot-move").css({background:"#fff",color:"#000",border:"1px dotted #000"}),a.moveitemposition=[],$("#luckysheet-modal-dialog-config-order-help").remove())}).mouseup(function(g){if(a.movestate){let y=$(this),v;if(a.movesave.containerid==y.attr("id"))v=a.movesave.obj.clone();else{let C=a.movesave.name,T="",R="";y.attr("id")=="luckysheet-modal-dialog-config-value"&&(a.pivot_data_type[a.movesave.index.toString()]=="num"?(C=l.valueStatisticsSUM+":"+C,T="data-sumtype='SUM'",R="data-nameindex='0'"):(C=l.valueStatisticsCOUNTA+":"+C,T="data-sumtype='COUNTA'",R="data-nameindex='0'"),$("#luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){if($(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text()==C){let A=parseFloat($(this).data("nameindex"))+1;return C=C+A.toString(),$(this).data("nameindex",A),!1}})),v='<div title="'+C+'" class="luckysheet-modal-dialog-slider-config-item" '+R+" "+T+' data-index="'+a.movesave.index+'" data-name="'+a.movesave.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+R+" "+T+' data-index="'+a.movesave.index+'" data-name="'+a.movesave.name+'">'+C+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>'}let b=event.pageX,k=event.pageY,x=$(this),w=k-x.offset().top+x.scrollTop(),_=a.moveitemposition,S=lt(_,w);(a.movesave.containerid=="luckysheet-modal-dialog-pivotTable-list"||a.movesave.containerid=="luckysheet-modal-dialog-config-value"&&a.movesave.containerid!=y.attr("id"))&&$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("index")==a.movesave.index&&$(this).remove()}),S==-1?y.find(".luckysheet-modal-dialog-slider-config-item").length==0?y.append(v):y.find(".luckysheet-modal-dialog-slider-config-item").last().after(v):w-_[S-1]>(_[S]-_[S-1])/2?y.find(".luckysheet-modal-dialog-slider-config-item").eq(S-1).after(v):y.find(".luckysheet-modal-dialog-slider-config-item").eq(S-1).before(v),a.movesave.containerid=="luckysheet-modal-dialog-pivotTable-list"||a.movesave.containerid=="luckysheet-modal-dialog-config-value"&&a.movesave.containerid!=y.attr("id")||a.movesave.obj.remove(),$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){let C=$(this).find(".luckysheet-slider-list-item-selected");$(this).data("index")==a.movesave.index&&C.find("i").length==0&&C.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}),a.refreshPivotTable(),$("#luckysheet-modal-dialog-slider-pivot-move").remove(),a.movestate=!1,$("#luckysheet-modal-dialog-pivotTable-list, #luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").css("cursor","default"),a.moveitemposition=[],$("#luckysheet-modal-dialog-config-order-help").remove(),a.showvaluecolrow(),g.stopPropagation()}}),$("#luckysheet-modal-dialog-pivotTable-list").on("click",".luckysheet-slider-list-item-selected",function(){let g=$(this),y=g.parent(),v=y.data("index"),b=y.data("name");if(g.find("i").length==0){g.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>');let k=a.pivot_data_type[v.toString()],x;if(k=="num")x='<div title="'+b+'" class="luckysheet-modal-dialog-slider-config-item" data-nameindex="0" data-sumtype="SUM" data-index="'+v+'" data-name="'+b+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" data-nameindex="0" data-sumtype="SUM" data-index="'+v+'" data-name="'+b+'">\u6C42\u548C:'+b+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>',$("#luckysheet-modal-dialog-config-value").append(x);else{x='<div title="'+b+'" class="luckysheet-modal-dialog-slider-config-item" data-index="'+v+'" data-name="'+b+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" data-index="'+v+'" data-name="'+b+'">'+b+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';let w=$("#luckysheet-modal-dialog-config-column"),_=$("#luckysheet-modal-dialog-config-row"),S=w.find(".luckysheet-modal-dialog-slider-config-item"),C=_.find(".luckysheet-modal-dialog-slider-config-item");S.length<2?w.append(x):C.length<2?_.append(x):w.append(x)}}else g.find("i").remove(),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("index")==v&&($(this).parent().attr("id")=="luckysheet-modal-dialog-config-value"&&a.resetOrderby($(this)),$(this).remove())});a.refreshPivotTable(),a.showvaluecolrow()}),$("#luckysheet-dialog-pivotTable-clearitem").click(function(){$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).remove()}),$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){$(this).find(".luckysheet-slider-list-item-selected").find("i").remove()}),a.refreshPivotTable(),a.showvaluecolrow()})}e==null&&(e=!1),a.celldata.length<=1&&a.celldata[0].length<=1&&(he()?alert(l.errorIncreaseRange):j.info("",l.errorIncreaseRange));let s="",u=1,d={},f=1;for(let m=0;m<a.celldata[0].length;m++){let g;!!a.celldata[0][m]&&!!a.celldata[0][m].m?g=a.celldata[0][m].m:g=ze(0,m,a.celldata),g!=null&&(g=g.toString()),(g==null||$.trim(g.toString()).length==0)&&(g=l.titleColumn+" "+f),f++,g in d&&(g=g+u++,g in d&&(g=g+u++,g in d&&(g=g+u++))),d[g]=1;let y="",v="";if(e&&a.filterparm!=null&&a.filterparm[m.toString()]!=null){let b=a.filterparm[m.toString()];if(b.rowhidden!=null&&(y+="data-rowhidden='"+JSON.stringify(b.rowhidden)+"'"),b.selected!=null&&(y+="data-selected='"+JSON.stringify(b.selected)+"'"),b.caljs!=null){let k=b.caljs;k.value!=null&&(y+="data-byconditionvalue='"+k.value+"'"),k.type!=null&&(y+="data-byconditiontype='"+k.type+"'"),k.text!=null&&(y+="data-byconditiontext='"+k.text+"'"),k.value1!=null&&(y+="data-byconditionvalue1='"+k.value1+"'"),k.value2!=null&&(y+="data-byconditionvalue2='"+k.value2+"'")}}y.length>0&&(v="display:block;"),s+='<div class="luckysheet-modal-dialog-slider-list-item" '+y+' data-index="'+m+'" data-name="'+g+'"><div title="'+l.titleAddColumn+'" class="luckysheet-slider-list-item-selected"><div></div></div><div title="'+l.titleMoveColumn+'" class="luckysheet-slider-list-item-name" '+y+' data-index="'+m+'" data-name="'+g+'">'+g+'</div><div title="'+l.titleClearColumnFilter+'" class="luckysheet-slider-list-item-filtered" style="'+v+'"><i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i><i class="fa fa-times" aria-hidden="true"></i></div><div title="'+l.titleFilterColumn+'" class="luckysheet-slider-list-item-filter"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>'}if($("#luckysheet-modal-dialog-pivotTable-list").html(s),$("#luckysheetpivottablevaluecolrowshow").hide(),$("#luckysheetpivottablevaluecolrow").prop("checked",!0),$("#luckysheetpivottablevaluecolrow1").prop("checked",!1),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").empty(),e){if(a.filter!=null&&a.filter.length>0)for(let m=0;m<a.filter.length;m++){let g=a.filter[m],y='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" data-index="'+g.index+'" data-name="'+g.name+'">'+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-filter").append(y);let v=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");v.find("i").length==0&&v.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}if(a.row!=null&&a.row.length>0)for(let m=0;m<a.row.length;m++){let g=a.row[m],y="";g.order!=null&&(y+="data-order = '"+g.order+"'"),g.orderby!=null&&(y+="data-orderby = '"+g.orderby+"'"),g.order!=null&&(y+="data-stastic = '"+g.stastic+"'");let v='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" '+y+' data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+y+' data-index="'+g.index+'" data-name="'+g.name+'">'+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-row").append(v);let b=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");b.find("i").length==0&&b.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}if(a.column!=null&&a.column.length>0)for(let m=0;m<a.column.length;m++){let g=a.column[m],y="";g.order!=null&&(y+="data-order = '"+g.order+"'"),g.orderby!=null&&(y+="data-orderby = '"+g.orderby+"'"),g.order!=null&&(y+="data-stastic = '"+g.stastic+"'");let v='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" '+y+' data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+y+' data-index="'+g.index+'" data-name="'+g.name+'">'+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-column").append(v);let b=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");b.find("i").length==0&&b.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}if(a.values!=null&&a.values.length>0){for(let m=0;m<a.values.length;m++){let g=a.values[m],y="";g.sumtype!=null&&(y+="data-sumtype = '"+g.sumtype+"'"),g.nameindex!=null&&(y+="data-nameindex = '"+g.nameindex+"'");let v='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" '+y+' data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+y+' data-index="'+g.index+'" data-name="'+g.name+'">'+a.getSumTypeName(g.sumtype)+":"+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-value").append(v);let b=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");b.find("i").length==0&&b.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}a.values.length>=2&&($("#luckysheetpivottablevaluecolrowshow").show(),a.showType=="column"?($("#luckysheetpivottablevaluecolrow").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow1").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").removeClass("ui-state-active")):($("#luckysheetpivottablevaluecolrow1").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").removeClass("ui-state-active")))}}$("#luckysheet-dialog-pivotTable-range").html(kt(a.pivotDataSheetIndex,a.pivot_select_save)),$("#luckysheet-modal-dialog-slider-pivot").show(),Ft(!1)},getComposeArray:function(e){if(e.length==0)return[];let a=[];for(let t=0;t<e.length;t++){let l="";for(let n=0;n<=t;n++)!!e[n]&&!!e[n].m?l+=e[n].m:l+=ze(n,null,e);a.push(l)}return a},getnameArray:function(e,a){if(e.length==0)return[];if(a.length==0)return[];let t=[];for(let l=0;l<a.length;l++){let n;!!e[a[l].index]&&!!e[a[l].index].m?n=e[a[l].index].m:n=ze(a[l].index,null,e),t.push(n)}return t},getTitleFromGroup:function(e,a,t){let l=this,n=l.orderbygroup(e,a,t);return l.generategrouparraymain(n,a)},orderbygroup:function(e,a,t){let l=this,n=[];if(e.length==0)return[];n=e;let o=null,s=n.length,u=n.length,d=0;for(;s!=0;)if(o=n[d++],s--,o.children!=null&&o.children.length>0){o.children=l.orderbygroupchildren(o.children,a[o.index].orderby,a[o.index].order,t);for(let f=0;f<o.children.length;f++)n.push(o.children[f]),s++}return e.splice(0,u)},orderbygroupchildren:function(e,a,t,l){if(e.length==0)return[];let n=!1;(t==null||t=="asc")&&(n=!0);let s=Q().filter,u=function(f,m){let g=null,y=null;if(a=="self"||a==null){if(f.name==null?g=s.valueBlank:g=f.name.toString(),m.name==null?y=s.valueBlank:y=m.name.toString(),qt(g)&&qt(y))return sr(g,y)}else g=parseFloat(l[f.orderby].result),y=parseFloat(l[m.orderby].result);if(!isNaN(g)&&!isNaN(y))return(0,Ai.default)(g).value()-(0,Ai.default)(y).value();if(isNaN(g)&&isNaN(y))return g.localeCompare(y);if(isNaN(g))return 1;if(isNaN(y))return-1},d=function(f,m){let g=null,y=null;if(a=="self"||a==null){if(f.name==null?g=s.valueBlank:g=f.name.toString(),m.name==null?y=s.valueBlank:y=m.name.toString(),qt(g)&&qt(y))return sr(g,y)}else g=parseFloat(l[f.orderby].result),y=parseFloat(l[m.orderby].result);if(!isNaN(g)&&!isNaN(y))return(0,Ai.default)(y).value()-(0,Ai.default)(g).value();if(isNaN(g)&&isNaN(y))return y.localeCompare(g);if(isNaN(g))return-1;if(isNaN(y))return 1};return n?e.sort(u):e.sort(d)},generategroupaddstatic:function(e,a){let t=[],n=Q().pivotTable;for(let o=0;o<e[0].length;o++)o==0?a==n.valueSum?t.push(a):t.push({name:a,issum:!0}):t.push("");return t},generategrouparraymain:function(e,a){let t=this,l=[];for(let n=0;n<e.length;n++){let o=e[n].name,s=t.generategrouparray(e[n].children,a,1);(a[0].stastic=="1"||a[0].stastic==null)&&s.push(t.generategroupaddstatic(s,o)),l=l.concat(s)}return l},generategrouparray:function(e,a,t){let l=this,n=[];for(let o=0;o<e.length;o++){let s=e[o].name,u;if(e[o].children==0||e[o].children.length==0)u=[s],n.push(u);else{u=l.generategrouparray(e[o].children,a,t+1);for(let d=0;d<u.length;d++)u[d].unshift(s);(a[t].stastic=="1"||a[t].stastic==null)&&u.push(l.generategroupaddstatic(u,s)),n=n.concat(u)}}return n},addStatisticsData:function(e,a,t,l){if(e[t]==null&&(e[t]={data:[],count:0,max:-Infinity,min:Infinity,counta:0,countunique:0,countuniquedata:{},sum:0,digitaldata:[],sumtype:a.sumtype,index:a.index,name:a.fullname,acc:0}),qa(l).num===!0){let n=Sr(l,6);e[t].digitaldata.push(n),e[t].count+=1,e[t].sum+=n,n>e[t].max&&(e[t].max=n),n<e[t].min&&(e[t].min=n);let o=Zs(n);o>e[t].acc&&(e[t].acc=o)}l!=""&&(e[t].data.push(l),e[t].counta+=1,l in e[t].countuniquedata||(e[t].countuniquedata[l]=1,e[t].countunique+=1))},dataHandler:function(e,a,t,l,n){let o=this,s=Q(),u=s.filter,d=s.pivotTable;if(l==null&&(l="column"),e.length==0&&a.length==0&&t.length==0||n.length==0)return o.pivotDatas=[],[];let f={},m=n,g=[],y=[],v={},b=0,k=[],x=[],w={},_=0;for(let N=1;N<m.length;N++){let D=m[N],F="",M="",z="",O=[],H=[],U="",X=[],Y=[];H=o.getnameArray(D,a),Y=o.getnameArray(D,e),O=o.getComposeArray(H),X=o.getComposeArray(Y),O.length>0&&O.unshift(d.valueSum),X.length>0&&X.unshift(d.valueSum);let ee=v,ae=y;for(let me=0;me<O.length;me++){let ce=O[me],K=me==0?d.valueSum:H[me-1];if(ee[me.toString()]!=null&&ee[me.toString()][ce]!=null)ae=ae[ee[me.toString()][ce]].children;else{let G=me==0?"self":a[me-1].orderby=="self"||a[me-1].orderby==null?ce:l=="column"?ce+t[parseInt(a[me-1].orderby)].fullname:ce+d.valueSum;K==null&&(K=u.valueBlank),ae.push({name:K,fullname:ce,index:me,orderby:G,children:[]}),ee[me.toString()]==null&&(ee[me.toString()]={}),ee[me.toString()][ce]==null&&(ee[me.toString()][ce]=ae.length-1),ae=ae[ae.length-1].children}}let oe=w,ie=x;for(let me=0;me<X.length;me++){let ce=X[me],K=me==0?d.valueSum:Y[me-1];if(oe[me.toString()]!=null&&oe[me.toString()][ce]!=null)ie=ie[oe[me.toString()][ce]].children;else{let G=me==0?"self":e[me-1].orderby=="self"||e[me-1].orderby==null?ce:l=="column"?d.valueSum+ce:t[parseInt(e[me-1].orderby)].fullname+ce;K==null&&(K=u.valueBlank),ie.push({name:K,fullname:ce,index:me,orderby:G,children:[]}),oe[me.toString()]==null&&(oe[me.toString()]={}),oe[me.toString()][ce]==null&&(oe[me.toString()][ce]=ie.length-1),ie=ie[ie.length-1].children}}let ue="";for(let me=0;me<t.length;me++){let ce=ze(t[me].index,null,D),K=[].concat(X),G=[].concat(O);l=="column"?K.length>0?(K.push(""),K=K.join(t[me].fullname+"|||").split("|||").slice(0,K.length-1)):K.push(t[me].fullname):G.length>0?(G.push(""),G=G.join(t[me].fullname+"|||").split("|||").slice(0,G.length-1)):G.push(t[me].fullname),K.length==0&&K.push(""),G.length==0&&G.push("");for(let le=0;le<G.length;le++)for(let ke=0;ke<K.length;ke++){let se=G[le]+K[ke];o.addStatisticsData(f,t[me],se,ce)}}}for(let N in f){let D=f[N];if(D.sumtype=="SUM")D.result=D.sum;else if(D.sumtype=="COUNT")D.result=D.count;else if(D.sumtype=="COUNTA")D.result=D.counta;else if(D.sumtype=="COUNTUNIQUE")D.result=D.countunique;else if(D.sumtype=="AVERAGE")D.result=Sr(D.sum/D.count);else if(D.sumtype=="MAX")D.result=D.max;else if(D.sumtype=="MIN")D.result=D.min;else if(D.sumtype=="MEDIAN"){let M=D.digitaldata.sort(function(H,U){return H-U}),z=M.length,O=parseInt(z/2);z%2==0?D.result=(M[O-1]+M[O])/2:D.result=M[O]}else if(D.sumtype=="PRODUCT")D.result=new Function("return "+D.digitaldata.join("*"))();else if(D.sumtype=="STDEV"){let M=D.sum/D.count;D.result=$i.STDEV(M,D.digitaldata)}else if(D.sumtype=="STDEVP"){let M=D.sum/D.count;D.result=$i.STDEVP(M,D.digitaldata)}else if(D.sumtype=="let"){let M=D.sum/D.count;D.result=$i.let(M,D.digitaldata)}else if(D.sumtype=="VARP"){let M=D.sum/D.count;D.result=$i.VARP(M,D.digitaldata)}let F=Zs(D.result);F>D.acc&&(D.acc=F),D.result=Sr(D.result,D.acc)}if(g=o.getTitleFromGroup(y,a,f),k=o.getTitleFromGroup(x,e,f),l=="column")if(k.length>0&&k[0].length>0)k=o.addValuesToTitle(k,t);else for(let N=0;N<t.length;N++)k.push([t[N].fullname]);else if(g.length>0&&g[0].length>0)g=o.addValuesToTitle(g,t);else for(let N=0;N<t.length;N++)g.push([t[N].fullname]);let S=k;k=Qd.transpose(k,!1);let C=t.length==0?0:1,T=(k.length==0?C:k.length)+(g.length==0?C:g.length),R=(k.length==0?C:k[0].length)+(g.length==0?C:g[0].length),I=k.length,A=g.length==0?0:g[0].length,E=[];for(let N=0;N<T;N++){E[N]=new Array(R);for(let D=0;D<R;D++){let F=g[N-I];if(N<I&&D<A)E[N][D]="";else if(N<I&&D>=A)k[N]!=null?P(k[N][D-A])=="object"?E[N][D]=k[N][D-A].name+d.valueSum:E[N][D]=k[N][D-A]:E[N][D]="";else if(N>=I&&D<A)F!=null?P(F[D])=="object"?E[N][D]=F[D].name+d.valueSum:E[N][D]=F[D]:E[N][D]="";else{let M="";if(F!=null)if(!(F instanceof Array)||F.length==1)F instanceof Array?M=F[0]:M=F;else for(let U=0;U<F.length;U++)P(F[U])=="object"?M+=F[U].name:M+=F[U];let z="",O=S[D-A];if(O!=null)if(!(O instanceof Array)||O.length==1)O instanceof Array?z=O[0]:z=O;else for(let U=0;U<O.length;U++)P(O[U])=="object"?z+=O[U].name:z+=O[U];let H=M;M!=""&&z!=""?H=M+z:M==""&&(H=z),f[H]==null?E[N][D]="":E[N][D]=f[H].result}}}if(t.length==1&&e.length>0&&a.length>0)E[0][0]=t[0].fullname,E.splice(e.length,1);else if(t.length==1&&e.length>0){let N=E.splice(e.length,1),D=[];for(let F=0;F<E.length;F++){let M=[];F==E.length-1?M.push(N[0][0]):M.push("");for(let z=0;z<E[F].length-1;z++)M.push(E[F][z]);D.push(M)}E=D}return o.pivotDatas=E,E},drillDown:function(e,a){if(!St(h.currentSheetIndex,"usePivotTablereports"))return;let t=this,l=t.pivotDatas[e][a],n=$.extend(!0,[],ye.nulldata),o=Q(),s=o.filter,u=o.pivotTable,d=1;for(let g=0;g<t.celldata[0].length;g++){let y;!!t.celldata[0][g]&&!!t.celldata[0][g].m?y=t.celldata[0][g].m:y=ze(0,g,t.celldata),y!=null&&(y=y.toString()),(y==null||$.trim(y.toString()).length==0)&&(y=u.titleColumn+" "+d),d++,n[0][g]=y}let f={};if(t.row!=null&&t.row.length>0)for(let g=0;g<t.row.length;g++)f[t.row[g].index]=t.pivotDatas[e][g];if(t.column!=null&&t.column.length>0)for(let g=0;g<t.column.length;g++)f[t.column[g].index]=t.pivotDatas[g][a];let m=[];for(let g=1;g<t.celldata.length;g++){let y=!0;for(let v in f){let b;if(!!t.celldata[g][v]&&!!t.celldata[g][v].m?b=t.celldata[g][v].m:b=ze(g,v,t.celldata),b!=null?b=b.toString():b=s.valueBlank,b!=f[v]){y=!1;break}}y&&m.push(g)}for(let g=0;g<m.length;g++)for(let y=0;y<t.celldata[0].length;y++){let v;!!t.celldata[m[g]][y]&&!!t.celldata[m[g]][y].m?v=t.celldata[m[g]][y].m:v=ze(m[g],y,t.celldata),v!=null?v=v.toString():v="",n[g+1][y]=v}h.luckysheet_select_save=[{row:[0,m.length],column:[0,t.celldata[0].length-1]}],h.clearjfundo=!1,Ze(n,h.luckysheet_select_save),et(),h.clearjfundo=!0}},Oe=zy});var rf,Ly,Ii,Js,Qs,ec,bo,lf,Oy,By,Ri,Sl,af,Hy,Vy,Yr,tc=Ae(()=>{Ke();rf=function(){let e,a;return e=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(e.prototype=$.extend(new arguments[0],arguments[arguments.length-1]),e._super=arguments[0].prototype):e.prototype=arguments[arguments.length-1],arguments.length>2&&(a=Array.prototype.slice.call(arguments,1,-1),a.unshift(e.prototype),$.extend.apply($,a))):e.prototype=arguments[0],e.prototype.cls=e,e},Ly=rf({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(e,a){this.format=e,this.fclass=a},render:function(e,a,t){let l=this,n=e,o,s,u,d,f;return this.format.replace(this.fre,function(){let m;return s=arguments[1],u=arguments[3],o=l.precre.exec(s),o?(f=o[2],s=o[1]):f=!1,d=n[s],d===void 0?"":u&&a&&a[u]?(m=a[u],m.get?a[u].get(d)||d:a[u][d]||d):(Oy(d)&&(t.get("numberFormatter")?d=t.get("numberFormatter")(d):d=By(d,f,t.get("numberDigitGroupCount"),t.get("numberDigitGroupSep"),t.get("numberDecimalMark"))),d)})}});$.spformat=function(e,a){return new Ly(e,a)};Ii=function(e,a,t){return e<a?a:e>t?t:e},Js=function(e,a){let t;return a===2?(t=Math.floor(e.length/2),e.length%2?e[t]:(e[t-1]+e[t])/2):e.length%2?(t=(e.length*a+a)/4,t%1?(e[Math.floor(t)]+e[Math.floor(t)-1])/2:e[t-1]):(t=(e.length*a+2)/4,t%1?(e[Math.floor(t)]+e[Math.floor(t)-1])/2:e[t-1])},Qs=function(e){let a;switch(e){case"undefined":e=void 0;break;case"null":e=null;break;case"true":e=!0;break;case"false":e=!1;break;default:a=parseFloat(e),e==a&&(e=a)}return e},ec=function(e){let a,t=[];for(a=e.length;a--;)t[a]=Qs(e[a]);return t},bo=function(e,a,t){let l;for(l=a.length;l--;)if(!(t&&a[l]===null)&&a[l]!==e)return!1;return!0},lf=function(e,a){let t,l,n=[];for(t=0,l=e.length;t<l;t++)e[t]!==a&&n.push(e[t]);return n},Oy=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},By=function(e,a,t,l,n){let o,s;for(e=(a===!1?parseFloat(e).toString():e.toFixed(a)).split(""),o=(o=$.inArray(".",e))<0?e.length:o,o<e.length&&(e[o]=n),s=o-t;s>0;s-=t)e.splice(s,0,l);return e.join("")},Ri=rf({init:function(e){let a,t,l=[];for(a in e)e.hasOwnProperty(a)&&typeof a=="string"&&a.indexOf(":")>-1&&(t=a.split(":"),t[0]=t[0].length===0?-Infinity:parseFloat(t[0]),t[1]=t[1].length===0?Infinity:parseFloat(t[1]),t[2]=e[a],l.push(t));this.map=e,this.rangelist=l||!1},get:function(e){let a=this.rangelist,t,l,n;if((n=this.map[e])!==void 0)return n;if(a){for(t=a.length;t--;)if(l=a[t],l[0]<=e&&l[1]>=e)return l[2]}}});$.range_map=function(e){return new Ri(e)};Sl={defaultOption:{common:{type:"line",lineColor:"#2ec7c9",fillColor:"#CCF3F4",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!0,disableInteraction:!0,offsetX:0,offsetY:0},line:{spotColor:0,highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:0,maxSpotColor:0,lineWidth:1,normalRangeMin:void 0,normalRangeMax:void 0,normalRangeColor:"#ccc",drawNormalOnTop:!0,chartRangeMin:void 0,chartRangeMax:void 0,chartRangeMinX:void 0,chartRangeMaxX:void 0},bar:{barColor:"#fc5c5c",negBarColor:"#97b552",stackedBarColor:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0},column:{barColor:"#fc5c5c",negBarColor:"#97b552",stackedBarColor:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0},tristate:{barWidth:4,barSpacing:1,posBarColor:"#fc5c5c",negBarColor:"#97b552",zeroBarColor:"#999",colorMap:{}},discrete:{lineHeight:"auto",thresholdColor:"#fc5c5c",thresholdValue:0,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff","#6D87FF","#5876FF","#4465FF","#2F54FF","#1A43FF","#0532FF"],base:void 0},pie:{offset:0,sliceColors:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],borderWidth:0,borderColor:"#000"},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#5E5E5E",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:void 0,targetColor:"#4a2",chartRangeMax:void 0,chartRangeMin:void 0}},line:{type:"line",init:function(e,a,t,l,n){this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null},getRegion:function(e,a,t){let l,n=this.regionMap;for(l=n.length;l--;)if(n[l]!==null&&a>=n[l][0]&&a<=n[l][1])return n[l][2]},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.yvalues[e]===null,x:this.xvalues[e],y:this.yvalues[e],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:e}},renderHighlight:function(){let e=this.currentRegion,a=this.target,t=this.vertices[e],l=this.options,n=l.get("spotRadius"),o=l.get("highlightSpotColor"),s=l.get("highlightLineColor"),u,d;!t||(n&&o&&(u=a.drawCircle(t[0],t[1],n,void 0,o),this.highlightSpotId=u.id,a.insertAfterShape(this.lastShapeId,u)),s&&(d=a.drawLine(t[0],this.canvasTop,t[0],this.canvasTop+this.canvasHeight,s),this.highlightLineId=d.id,a.insertAfterShape(this.lastShapeId,d)))},removeHighlight:function(){let e=this.target;this.highlightSpotId&&(e.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(e.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){let e=this.values,a=e.length,t=this.xvalues,l=this.yvalues,n=this.yminmax,o,s,u,d,f;for(o=0;o<a;o++)s=e[o],u=typeof e[o]=="string",d=typeof e[o]=="object"&&e[o]instanceof Array,f=u&&e[o].split(":"),u&&f.length===2?(t.push(Number(f[0])),l.push(Number(f[1])),n.push(Number(f[1]))):d?(t.push(s[0]),l.push(s[1]),n.push(s[1])):(t.push(o),e[o]===null||e[o]==="null"?l.push(null):(l.push(Number(s)),n.push(Number(s))));this.options.get("xvalues")&&(t=this.options.get("xvalues")),this.maxy=this.maxyorg=Math.max.apply(Math,n),this.miny=this.minyorg=Math.min.apply(Math,n),this.maxx=Math.max.apply(Math,t),this.minx=Math.min.apply(Math,t),this.xvalues=t,this.yvalues=l,this.yminmax=n},processRangeOptions:function(){let e=this.options,a=e.get("normalRangeMin"),t=e.get("normalRangeMax");a!==void 0&&(a<this.miny&&(this.miny=a),t>this.maxy&&(this.maxy=t)),e.get("chartRangeMin")!==void 0&&(e.get("chartRangeClip")||e.get("chartRangeMin")<this.miny)&&(this.miny=e.get("chartRangeMin")),e.get("chartRangeMax")!==void 0&&(e.get("chartRangeClip")||e.get("chartRangeMax")>this.maxy)&&(this.maxy=e.get("chartRangeMax")),e.get("chartRangeMinX")!==void 0&&(e.get("chartRangeClipX")||e.get("chartRangeMinX")<this.minx)&&(this.minx=e.get("chartRangeMinX")),e.get("chartRangeMaxX")!==void 0&&(e.get("chartRangeClipX")||e.get("chartRangeMaxX")>this.maxx)&&(this.maxx=e.get("chartRangeMaxX"))},drawNormalRange:function(e,a,t,l,n){let o=this.options.get("normalRangeMin"),s=this.options.get("normalRangeMax"),u=a+Math.round(t-t*((s-this.miny)/n)),d=Math.round(t*(s-o)/n);d==0&&o==s&&(d=1),this.target.drawRect(e,u,l,d,void 0,this.options.get("normalRangeColor")).append()},render:function(e,a){this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.values=a;let t=this.options,l=this.target,n=e.mergedOptions.width,o=e.mergedOptions.height,s=this.vertices,u=t.get("spotRadius"),d=this.regionMap,f,m,g,y,v,b,k,x,w,_,S,C,T,R,I,A,E,N,D,F,M,z,O,H,U;if(this.scanValues(),this.processRangeOptions(),O=this.xvalues,H=this.yvalues,!(!this.yminmax.length||this.yvalues.length<2)){for(y=v=0,f=this.maxx-this.minx==0?1:this.maxx-this.minx,m=this.maxy-this.miny==0?1:this.maxy-this.miny,g=this.yvalues.length-1,u&&(n<u*4||o<u*4)&&(u=0),u&&(M=t.get("highlightSpotColor")&&!t.get("disableInteraction"),(M||t.get("minSpotColor")||t.get("spotColor")&&H[g]===this.miny)&&(o-=Math.ceil(u)),(M||t.get("maxSpotColor")||t.get("spotColor")&&H[g]===this.maxy)&&(o-=Math.ceil(u),y+=Math.ceil(u)),(M||(t.get("minSpotColor")||t.get("maxSpotColor"))&&(H[0]===this.miny||H[0]===this.maxy))&&(v+=Math.ceil(u),n-=Math.ceil(u)),(M||t.get("spotColor")||t.get("minSpotColor")||t.get("maxSpotColor")&&(H[g]===this.miny||H[g]===this.maxy))&&(n-=Math.ceil(u))),o--,t.get("normalRangeMin")!==void 0&&!t.get("drawNormalOnTop")&&this.drawNormalRange(v,y,o,n,m),k=[],x=[k],R=I=null,A=H.length,U=0;U<A;U++)w=O[U],S=O[U+1],_=H[U],C=v+Math.round((w-this.minx)*(n/f)),T=U<A-1?v+Math.round((S-this.minx)*(n/f)):n,I=C+(T-C)/2,d[U]=[R||0,I,U],R=I,_===null?U&&(H[U-1]!==null&&(k=[],x.push(k)),s.push(null)):(_<this.miny&&(_=this.miny),_>this.maxy&&(_=this.maxy),k.length||k.push([C,y+o]),b=[C,y+Math.round(o-o*((_-this.miny)/m))],k.push(b),s.push(b));for(E=[],N=[],D=x.length,U=0;U<D;U++)k=x[U],k.length&&(t.get("fillColor")&&(k.push([k[k.length-1][0],y+o]),N.push(k.slice(0)),k.pop()),k.length>2&&(k[0]=[k[0][0],k[1][1]]),E.push(k));for(D=N.length,U=0;U<D;U++)l.drawShape(N[U],t.get("fillColor"),t.get("fillColor")).append();for(D=E.length,U=0;U<D;U++)l.drawShape(E[U],t.get("lineColor"),void 0,t.get("lineWidth")).append();if(t.get("normalRangeMin")!==void 0&&t.get("drawNormalOnTop")&&this.drawNormalRange(v,y,o,n,m),u&&t.get("valueSpots"))for(F=t.get("valueSpots"),F.get===void 0&&(F=new Ri(F)),U=0;U<A;U++)z=F.get(H[U]),z&&l.drawCircle(v+Math.round((O[U]-this.minx)*(n/f)),y+Math.round(o-o*((H[U]-this.miny)/m)),u,void 0,z).append();u&&t.get("spotColor")&&H[g]!==null&&l.drawCircle(v+Math.round((O[O.length-1]-this.minx)*(n/f)),y+Math.round(o-o*((H[g]-this.miny)/m)),u,void 0,t.get("spotColor")).append(),this.maxy!==this.minyorg&&(u&&t.get("minSpotColor")&&(w=O[$.inArray(this.minyorg,H)],l.drawCircle(v+Math.round((w-this.minx)*(n/f)),y+Math.round(o-o*((this.minyorg-this.miny)/m)),u,void 0,t.get("minSpotColor")).append()),u&&t.get("maxSpotColor")&&(w=O[$.inArray(this.maxyorg,H)],l.drawCircle(v+Math.round((w-this.minx)*(n/f)),y+Math.round(o-o*((this.maxyorg-this.miny)/m)),u,void 0,t.get("maxSpotColor")).append()))}}},bar:{type:"bar",init:function(e,a){let t=this.options,l=e.mergedOptions.height,n=e.mergedOptions.width;this.canvasWidth=e.mergedOptions.height,this.canvasHeight=e.mergedOptions.width;let o=parseInt(t.get("barWidth"),10),s=parseInt(t.get("barSpacing"),10),u=t.get("chartRangeMin"),d=t.get("chartRangeMax"),f=t.get("chartRangeClip"),m=Infinity,g=-Infinity,y,v,b,k,x,w,_,S,C,T,R,I,A,E,N,D,F,M,z,O,H,U,X;for(this.values=a,w=0,_=a.length;w<_;w++)O=a[w],y=typeof O=="string"&&O.indexOf(":")>-1,(y||$.isArray(O))&&(N=!0,y&&(O=a[w]=ec(O.split(":"))),O=lf(O,null),v=Math.min.apply(Math,O),b=Math.max.apply(Math,O),v<m&&(m=v),b>g&&(g=b));this.stacked=N,this.regionShapes={},this.barWidth=Math.floor(l/a.length)-s,this.barSpacing=s,this.totalBarWidth=this.barWidth+s,this.width=l,f&&(A=u===void 0?-Infinity:u,E=d===void 0?Infinity:d),x=[],k=N?[]:x;let Y=[],ee=[];for(w=0,_=a.length;w<_;w++)if(N)for(D=a[w],a[w]=z=[],Y[w]=0,k[w]=ee[w]=0,F=0,M=D.length;F<M;F++)O=z[F]=f?Ii(D[F],A,E):D[F],O!==null&&(O>0&&(Y[w]+=O),m<0&&g>0?O<0?ee[w]+=Math.abs(O):k[w]+=O:k[w]+=Math.abs(O),x.push(O));else O=f?Ii(a[w],A,E):a[w],O=a[w]=Qs(O),O!==null&&x.push(O);this.max=I=Math.max.apply(Math,x),this.min=R=Math.min.apply(Math,x),this.stackMax=g=N?Math.max.apply(Math,Y):I,this.stackMin=m=N?Math.min.apply(Math,x):R,t.get("chartRangeMin")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMin")<R)&&(R=t.get("chartRangeMin")),t.get("chartRangeMax")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMax")>I)&&(I=t.get("chartRangeMax")),this.zeroAxis=C=t.get("zeroAxis",!0),R<=0&&I>=0&&C?T=0:C==!1?T=R:R>0?T=0:T=I,this.xaxisOffset=T,S=N?Math.max.apply(Math,k)+Math.max.apply(Math,ee):I-T,this.canvasHeightEf=C&&R<0?this.canvasHeight-2:this.canvasHeight-1,this.isNeg=!1,R<T?(H=Math.floor(this.canvasHeight/2),this.isNeg=!0,H!==Math.ceil(H)&&(this.canvasHeightEf-=2,H=Math.ceil(H))):H=0,this.yoffset=H,$.isArray(t.get("colorMap"))?(this.colorMapByIndex=t.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=t.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===void 0&&(this.colorMapByValue=new Ri(this.colorMapByValue))),this.range=S},getRegion:function(e,a,t){let l=Math.floor(a/this.totalBarWidth);return l<0||l>=this.values.length?void 0:l},getCurrentRegionFields:function(){let e=this.currentRegion,a=ensureArray(this.values[e]),t=[],l,n;for(n=a.length;n--;)l=a[n],t.push({isNull:l===null,value:l,color:this.calcColor(n,l,e),offset:e});return t},calcColor:function(e,a,t){let l=this.colorMapByIndex,n=this.colorMapByValue,o=this.options,s,u;return this.stacked?s=o.get("stackedBarColor"):s=a<0?o.get("negBarColor"):o.get("barColor"),a===0&&o.get("zeroColor")!==void 0&&(s=o.get("zeroColor")),n&&(u=n.get(a))?s=u:l&&l.length>t&&(s=l[t]),$.isArray(s)?s[e%s.length]:s},renderRegion:function(e,a){let t=this.values[e],l=this.options,n=this.xaxisOffset,o=[],s=this.range,u=this.stacked,d=this.target,f=e*this.totalBarWidth,m=this.canvasHeightEf,g=this.yoffset,y,v,b,k,x,w,_,S,C,T;if(t=$.isArray(t)?t:[t],_=t.length,S=t[0],k=bo(null,t),T=bo(n,t,!0),k)return l.get("nullColor")?(b=a?l.get("nullColor"):this.calcHighlightColor(l.get("nullColor"),l),y=g>0?g-1:g,d.drawRect(y,f,0,this.barWidth-1,b,b)):void 0;for(x=g,this.isNeg&&(m=Math.floor(m/2)),w=0;w<_;w++){if(S=t[w],u&&S===n){if(!T||C)continue;C=!0}s>0?v=Math.floor(m*(Math.abs(S-n)/s)):v=m,S<n||S===n&&g===0?(y=x-v,x+=v):u?(y=g,g+=v):(y=g,g-=v),b=this.calcColor(w,S,e),a&&(b=this.calcHighlightColor(b,l)),o.push(d.drawRect(y,f,v-1,this.barWidth-1,b,b))}return o.length===1?o[0]:o}},column:{type:"column",init:function(e,a){let t=this.options,l=e.mergedOptions.width,n=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o=parseInt(t.get("barWidth"),10),s=parseInt(t.get("barSpacing"),10),u=t.get("chartRangeMin"),d=t.get("chartRangeMax"),f=t.get("chartRangeClip"),m=Infinity,g=-Infinity,y,v,b,k,x,w,_,S,C,T,R,I,A,E,N,D,F,M,z,O,H,U,X;for(this.values=a,w=0,_=a.length;w<_;w++)O=a[w],y=typeof O=="string"&&O.indexOf(":")>-1,(y||$.isArray(O))&&(N=!0,y&&(O=a[w]=ec(O.split(":"))),O=lf(O,null),v=Math.min.apply(Math,O),b=Math.max.apply(Math,O),v<m&&(m=v),b>g&&(g=b));this.stacked=N,this.regionShapes={},this.barWidth=Math.floor(l/a.length)-s,this.barSpacing=s,this.totalBarWidth=this.barWidth+s,this.width=l,f&&(A=u===void 0?-Infinity:u,E=d===void 0?Infinity:d),x=[],k=N?[]:x;let Y=[],ee=[];for(w=0,_=a.length;w<_;w++)if(N)for(D=a[w],a[w]=z=[],Y[w]=0,k[w]=ee[w]=0,F=0,M=D.length;F<M;F++)O=z[F]=f?Ii(D[F],A,E):D[F],O!==null&&(O>0&&(Y[w]+=O),m<0&&g>0?O<0?ee[w]+=Math.abs(O):k[w]+=O:k[w]+=Math.abs(O),x.push(O));else O=f?Ii(a[w],A,E):a[w],O=a[w]=Qs(O),O!==null&&x.push(O);this.max=I=Math.max.apply(Math,x),this.min=R=Math.min.apply(Math,x),this.stackMax=g=N?Math.max.apply(Math,Y):I,this.stackMin=m=N?Math.min.apply(Math,x):R,t.get("chartRangeMin")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMin")<R)&&(R=t.get("chartRangeMin")),t.get("chartRangeMax")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMax")>I)&&(I=t.get("chartRangeMax")),this.zeroAxis=C=t.get("zeroAxis",!0),R<=0&&I>=0&&C?T=0:C==!1?T=R:R>0?T=0:T=I,this.xaxisOffset=T,S=N?Math.max.apply(Math,k)+Math.max.apply(Math,ee):I-T,this.canvasHeightEf=C&&R<0?this.canvasHeight-2:this.canvasHeight-1,this.isNeg=!1,R<T?(H=Math.floor(this.canvasHeight/2),this.isNeg=!0,H!==Math.ceil(H)&&(this.canvasHeightEf-=2,H=Math.ceil(H))):H=this.canvasHeight,this.yoffset=H,$.isArray(t.get("colorMap"))?(this.colorMapByIndex=t.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=t.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===void 0&&(this.colorMapByValue=new Ri(this.colorMapByValue))),this.range=S},getRegion:function(e,a,t){let l=Math.floor(a/this.totalBarWidth);return l<0||l>=this.values.length?void 0:l},getCurrentRegionFields:function(){let e=this.currentRegion,a=ensureArray(this.values[e]),t=[],l,n;for(n=a.length;n--;)l=a[n],t.push({isNull:l===null,value:l,color:this.calcColor(n,l,e),offset:e});return t},calcColor:function(e,a,t){let l=this.colorMapByIndex,n=this.colorMapByValue,o=this.options,s,u;return this.stacked?s=o.get("stackedBarColor"):s=a<0?o.get("negBarColor"):o.get("barColor"),a===0&&o.get("zeroColor")!==void 0&&(s=o.get("zeroColor")),n&&(u=n.get(a))?s=u:l&&l.length>t&&(s=l[t]),$.isArray(s)?s[e%s.length]:s},renderRegion:function(e,a){let t=this.values[e],l=this.options,n=this.xaxisOffset,o=[],s=this.range,u=this.stacked,d=this.target,f=e*this.totalBarWidth,m=this.canvasHeightEf,g=this.yoffset,y,v,b,k,x,w,_,S,C,T;if(t=$.isArray(t)?t:[t],_=t.length,S=t[0],k=bo(null,t),T=bo(n,t,!0),k)return l.get("nullColor")?(b=a?l.get("nullColor"):this.calcHighlightColor(l.get("nullColor"),l),y=g>0?g-1:g,d.drawRect(f,y,this.barWidth-1,0,b,b)):void 0;for(x=g,this.isNeg&&(m=Math.floor(m/2)),w=0;w<_;w++){if(S=t[w],u&&S===n){if(!T||C)continue;C=!0}s>0?v=Math.floor(m*(Math.abs(S-n)/s)):v=m,S<n||S===n&&g===0?(y=x,x+=v):(y=g-v,g-=v),b=this.calcColor(w,S,e),a&&(b=this.calcHighlightColor(b,l)),o.push(d.drawRect(f,y,this.barWidth-1,v-1,b,b))}return o.length===1?o[0]:o}},tristate:{type:"tristate",init:function(e,a){let t=this.options,l=e.mergedOptions.width,n=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o=parseInt(t.get("barWidth"),10),s=parseInt(t.get("barSpacing"),10);this.regionShapes={},this.barWidth=o,this.barSpacing=s,this.totalBarWidth=o+s,this.values=$.map(a,Number),this.width=l=a.length*o+(a.length-1)*s,$.isArray(t.get("colorMap"))?(this.colorMapByIndex=t.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=t.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===void 0&&(this.colorMapByValue=new Ri(this.colorMapByValue)))},getRegion:function(e,a,t){return Math.floor(a/this.totalBarWidth)},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.values[e]===void 0,value:this.values[e],color:this.calcColor(this.values[e],e),offset:e}},calcColor:function(e,a){let t=this.values,l=this.options,n=this.colorMapByIndex,o=this.colorMapByValue,s,u;return o&&(u=o.get(e))?s=u:n&&n.length>a?s=n[a]:t[a]<0?s=l.get("negBarColor"):t[a]>0?s=l.get("posBarColor"):s=l.get("zeroBarColor"),s},renderRegion:function(e,a){let t=this.values,l=this.options,n=this.target,o,s,u,d,f,m;if(o=this.canvasHeight,u=Math.round(o/2),d=e*this.totalBarWidth,t[e]<0?(f=u,s=u-1):t[e]>0?(f=0,s=u-1):(f=u-1,s=2),m=this.calcColor(t[e],e),m!==null)return a&&(m=this.calcHighlightColor(m,l)),n.drawRect(d,f,this.barWidth-1,s-1,m,m)}},discrete:{type:"discrete",init:function(e,a){let t=this.options,l=e.mergedOptions.width,n=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height,this.regionShapes={},this.values=a=$.map(a,Number),this.min=Math.min.apply(Math,a),this.max=Math.max.apply(Math,a),this.range=this.max-this.min,this.width=l,this.interval=Math.floor(l/a.length),this.itemWidth=l/a.length,t.get("chartRangeMin")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.min)&&(this.min=t.get("chartRangeMin")),t.get("chartRangeMax")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.max)&&(this.max=t.get("chartRangeMax")),this.target&&(this.lineHeight=t.get("lineHeight")==="auto"?Math.round(this.canvasHeight*.3):t.get("lineHeight"))},getRegion:function(e,a,t){return Math.floor(a/this.itemWidth)},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.values[e]===void 0,value:this.values[e],offset:e}},renderRegion:function(e,a){let t=this.values,l=this.options,n=this.min,o=this.max,s=this.range,u=this.interval,d=this.target,f=this.canvasHeight,m=this.lineHeight,g=f-m,y,v,b,k;return v=Ii(t[e],n,o),k=e*u,y=Math.round(g-g*((v-n)/s)),b=l.get("thresholdColor")&&v<l.get("thresholdValue")?l.get("thresholdColor"):l.get("lineColor"),a&&(b=this.calcHighlightColor(b,l)),this.target.drawRect(k,y,u<=2?1:u-2,m,b,b)}},bullet:{type:"bullet",init:function(e,a){let t=this.options,l=e.mergedOptions.width,n=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o,s,u;this.values=a=ec(a),u=a.slice(),u[0]=u[0]===null?u[2]:u[0],u[1]=a[1]===null?u[2]:u[1],o=Math.min.apply(Math,a),s=Math.max.apply(Math,a),t.get("base")===void 0?o=o<0?o:0:o=t.get("base"),this.min=o,this.max=s,this.range=s-o,this.shapes={},this.valueShapes={},this.regiondata={},this.width=l,a.length||(this.disabled=!0)},getRegion:function(e,a,t){let l=this.target.getShapeAt(e,a,t);return l!==void 0&&this.shapes[l]!==void 0?this.shapes[l]:void 0},getCurrentRegionFields:function(){let e=this.currentRegion;return{fieldkey:e.substr(0,1),value:this.values[e.substr(1)],region:e}},changeHighlight:function(e){let a=this.currentRegion,t=this.valueShapes[a],l;switch(delete this.shapes[t],a.substr(0,1)){case"r":l=this.renderRange(a.substr(1),e);break;case"p":l=this.renderPerformance(e);break;case"t":l=this.renderTarget(e);break}this.valueShapes[a]=l.id,this.shapes[l.id]=a,this.target.replaceWithShape(t,l)},renderRange:function(e,a){let t=this.values[e],l=Math.round(this.canvasWidth*((t-this.min)/this.range)),n=this.options.get("rangeColors")[e-2];return a&&(n=this.calcHighlightColor(n,this.options)),this.target.drawRect(0,0,l-1,this.canvasHeight-1,n,n)},renderPerformance:function(e){let a=this.values[1],t=Math.round(this.canvasWidth*((a-this.min)/this.range)),l=this.options.get("performanceColor");return e&&(l=this.calcHighlightColor(l,this.options)),this.target.drawRect(0,Math.round(this.canvasHeight*.3),t-1,Math.round(this.canvasHeight*.4)-1,l,l)},renderTarget:function(e){let a=this.values[0],t=Math.round(this.canvasWidth*((a-this.min)/this.range)-this.options.get("targetWidth")/2),l=Math.round(this.canvasHeight*.1),n=this.canvasHeight-l*2,o=this.options.get("targetColor");return e&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(t,l,this.options.get("targetWidth")-1,n-1,o,o)},render:function(e,a){this.init(e,a);let t=this.values.length,l=this.target,n,o;for(n=2;n<t;n++)o=this.renderRange(n).append(),this.shapes[o.id]="r"+n,this.valueShapes["r"+n]=o.id;this.values[1]!==null&&(o=this.renderPerformance().append(),this.shapes[o.id]="p1",this.valueShapes.p1=o.id),this.values[0]!==null&&(o=this.renderTarget().append(),this.shapes[o.id]="t0",this.valueShapes.t0=o.id)}},pie:{type:"pie",init:function(e,a){let t=this.options,l=e.mergedOptions.width,n=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o=0,s;if(this.shapes={},this.valueShapes={},this.values=a=$.map(a,Number),t.get("width")==="auto"&&(this.width=this.height),a.length>0)for(s=a.length;s--;)o+=a[s];this.total=o,this.radius=Math.floor(Math.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(e,a,t){let l=this.target.getShapeAt(e,a,t);return l!==void 0&&this.shapes[l]!==void 0?this.shapes[l]:void 0},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.values[e]===void 0,value:this.values[e],percent:this.values[e]/this.total*100,color:this.options.get("sliceColors")[e%this.options.get("sliceColors").length],offset:e}},changeHighlight:function(e){let a=this.currentRegion,t=this.renderSlice(a,e),l=this.valueShapes[a];delete this.shapes[l],this.target.replaceWithShape(l,t),this.valueShapes[a]=t.id,this.shapes[t.id]=a},renderSlice:function(e,a){let t=this.target,l=this.options,n=this.radius,o=l.get("borderWidth"),s=l.get("offset"),u=2*Math.PI,d=this.values,f=this.total,m=s?2*Math.PI*(s/360):0,g,y,v,b,k;for(b=d.length,v=0;v<b;v++){if(g=m,y=m,f>0&&(y=m+u*(d[v]/f)),e===v)return k=l.get("sliceColors")[v%l.get("sliceColors").length],a&&(k=this.calcHighlightColor(k,l)),t.drawPieSlice(n,n,n-o,g,y,void 0,k);m=y}},render:function(e,a){this.init(e,a);let t=this.target,l=this.values,n=this.options,o=this.radius,s=n.get("borderWidth"),u,d;for(s&&t.drawCircle(o,o,Math.floor(o-s/2),n.get("borderColor"),void 0,s).append(),d=l.length;d--;)l[d]&&(u=this.renderSlice(d).append(),this.valueShapes[d]=u.id,this.shapes[u.id]=d)}},box:{type:"box",init:function(e,a){let t=this.options,l=e.mergedOptions.width,n=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height,this.values=$.map(a,Number),this.width=t.get("width")==="auto"?"4.0em":l,this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){let e=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==void 0&&e.push({field:"lo",value:this.loutlier}),this.routlier!==void 0&&e.push({field:"ro",value:this.routlier}),this.lwhisker!==void 0&&e.push({field:"lw",value:this.lwhisker}),this.rwhisker!==void 0&&e.push({field:"rw",value:this.rwhisker}),e},render:function(e,a){this.init(e,a);let t=this.target,l=this.values,n=l.length,o=this.options,s=this.canvasWidth,u=this.canvasHeight,d=o.get("chartRangeMin")===void 0?Math.min.apply(Math,l):o.get("chartRangeMin"),f=o.get("chartRangeMax")===void 0?Math.max.apply(Math,l):o.get("chartRangeMax"),m=0,g,y,v,b,k,x,w,_,S,C,T;if(o.get("raw"))o.get("showOutliers")&&l.length>5?(y=l[0],g=l[1],b=l[2],k=l[3],x=l[4],w=l[5],_=l[6]):(g=l[0],b=l[1],k=l[2],x=l[3],w=l[4]);else if(l.sort(function(R,I){return R-I}),b=Js(l,1),k=Js(l,2),x=Js(l,3),v=x-b,o.get("showOutliers")){for(g=w=void 0,S=0;S<n;S++)g===void 0&&l[S]>b-v*o.get("outlierIQR")&&(g=l[S]),l[S]<x+v*o.get("outlierIQR")&&(w=l[S]);y=l[0],_=l[n-1]}else g=l[0],w=l[n-1];this.quartiles=[b,k,x],this.lwhisker=g,this.rwhisker=w,this.loutlier=y,this.routlier=_,T=s/(f-d+1),o.get("showOutliers")&&(m=Math.ceil(o.get("spotRadius")),s-=2*Math.ceil(o.get("spotRadius")),T=s/(f-d+1),y<g&&t.drawCircle((y-d)*T+m,u/2,o.get("spotRadius"),o.get("outlierLineColor"),o.get("outlierFillColor")).append(),_>w&&t.drawCircle((_-d)*T+m,u/2,o.get("spotRadius"),o.get("outlierLineColor"),o.get("outlierFillColor")).append()),t.drawRect(Math.round((b-d)*T+m),Math.round(u*.1),Math.round((x-b)*T),Math.round(u*.8),o.get("boxLineColor"),o.get("boxFillColor")).append(),t.drawLine(Math.round((g-d)*T+m),Math.round(u/2),Math.round((b-d)*T+m),Math.round(u/2),o.get("lineColor")).append(),t.drawLine(Math.round((g-d)*T+m),Math.round(u/4),Math.round((g-d)*T+m),Math.round(u-u/4),o.get("whiskerColor")).append(),t.drawLine(Math.round((w-d)*T+m),Math.round(u/2),Math.round((x-d)*T+m),Math.round(u/2),o.get("lineColor")).append(),t.drawLine(Math.round((w-d)*T+m),Math.round(u/4),Math.round((w-d)*T+m),Math.round(u-u/4),o.get("whiskerColor")).append(),t.drawLine(Math.round((k-d)*T+m),Math.round(u*.1),Math.round((k-d)*T+m),Math.round(u*.9),o.get("medianColor")).append(),o.get("target")&&(C=Math.ceil(o.get("spotRadius")),t.drawLine(Math.round((o.get("target")-d)*T+m),Math.round(u/2-C),Math.round((o.get("target")-d)*T+m),Math.round(u/2+C),o.get("targetColor")).append(),t.drawLine(Math.round((o.get("target")-d)*T+m-C),Math.round(u/2),Math.round((o.get("target")-d)*T+m+C),Math.round(u/2),o.get("targetColor")).append())}},shapeCount:0,shapes:{},shapeseq:[],lastShapeId:null,mergedOptions:null,init:function(e,a){let t,l,n;a=a||{};let o=this;return l=this.defaultOption,n=l.common,t=l[a.type||n.type],o.shapeCount=0,o.shapes={},o.shapeseq=[],o.lastShapeId=null,o.mergedOptions=$.extend({},n,t,a),o.mergedOptions.width=o.mergedOptions.width,o.mergedOptions.height=o.mergedOptions.height,o[o.mergedOptions.type].render(o,e),{shapes:o.shapes,shapeseq:o.shapeseq,offsetX:o.mergedOptions.offsetX,offsetY:o.mergedOptions.offsetY,pixelWidth:o.mergedOptions.width,pixelHeight:o.mergedOptions.height}},_getContext:function(e,a,t){let l;return this.ctx!=null?l=this.ctx:l=$("#"+this._canvasID).get(0).getContext("2d"),e!==void 0&&(l.strokeStyle=e),l.lineWidth=t===void 0?1:t,a!==void 0&&(l.fillStyle=a),l},reset:function(){this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0},_drawShape:function(e,a,t,l,n){let o=this._getContext(t,l,n),s,u;for(o.beginPath(),o.moveTo(a[0][0]+.5+this.offsetX,a[0][1]+.5+this.offsetY),s=1,u=a.length;s<u;s++)o.lineTo(a[s][0]+.5+this.offsetX,a[s][1]+.5+this.offsetY);t!==void 0&&o.stroke(),l!==void 0&&o.fill(),this.targetX!==void 0&&this.targetY!==void 0&&o.isPointInPath(this.targetX+this.offsetX,this.targetY+this.offsetY)&&(this.currentTargetShapeId=e)},_drawCircle:function(e,a,t,l,n,o,s){let u=this._getContext(n,o,s);u.beginPath(),a+=this.offsetX,t+=this.offsetY,u.arc(a,t,l,0,2*Math.PI,!1),this.targetX!==void 0&&this.targetY!==void 0&&u.isPointInPath(this.targetX+this.offsetX,this.targetY+this.offsetY)&&(this.currentTargetShapeId=e),n!==void 0&&u.stroke(),o!==void 0&&u.fill()},_drawPieSlice:function(e,a,t,l,n,o,s,u){let d=this._getContext(s,u);a+=this.offsetX,t+=this.offsetY,d.beginPath(),d.moveTo(a,t),d.arc(a,t,l,n,o,!1),d.lineTo(a,t),d.closePath(),s!==void 0&&d.stroke(),u&&d.fill(),this.targetX!==void 0&&this.targetY!==void 0&&d.isPointInPath(this.targetX+this.offsetX,this.targetY+this.offsetY)&&(this.currentTargetShapeId=e)},_drawRect:function(e,a,t,l,n,o,s){return this._drawShape(e,[[a,t],[a+l,t],[a+l,t+n],[a,t+n],[a,t]],o,s)},appendShape:function(e){return this.shapes[e.id]=e,this.shapeseq.push(e.id),this.lastShapeId=e.id,e.id},replaceWithShape:function(e,a){let t=this.shapeseq,l;for(this.shapes[a.id]=a,l=t.length;l--;)t[l]==e&&(t[l]=a.id);delete this.shapes[e]},replaceWithShapes:function(e,a){let t=this.shapeseq,l={},n,o,s;for(o=e.length;o--;)l[e[o]]=!0;for(o=t.length;o--;)n=t[o],l[n]&&(t.splice(o,1),delete this.shapes[n],s=o);for(o=a.length;o--;)t.splice(s,0,a[o].id),this.shapes[a[o].id]=a[o]},insertAfterShape:function(e,a){let t=this.shapeseq,l;for(l=t.length;l--;)if(t[l]===e){t.splice(l+1,0,a.id),this.shapes[a.id]=a;return}},removeShapeId:function(e){let a=this.shapeseq,t;for(t=a.length;t--;)if(a[t]===e){a.splice(t,1);break}delete this.shapes[e]},getShapeAt:function(e,a,t){return this.targetX=a,this.targetY=t,this.render(),this.currentTargetShapeId},_canvasID:"luckysheetTableContent",render:function(e,a,t,l,n,o,s,u){s==null&&(s="luckysheetTableContent"),this._canvasID=s,u!=null&&(this.ctx=u);let d=e.length,f=this._getContext(),m,g,y;for(this.offsetX=t,this.offsetY=l,this.pixelWidth=n,this.pixelHeight=o,y=0;y<d;y++)m=e[y],g=a[m],this["_draw"+g.type].apply(this,g.args)},drawLine:function(e,a,t,l,n,o){return this.drawShape([[e,a],[t,l]],n,o)},drawShape:function(e,a,t,l){return this._genShape("Shape",[e,a,t,l])},drawCircle:function(e,a,t,l,n,o){return this._genShape("Circle",[e,a,t,l,n,o])},drawPieSlice:function(e,a,t,l,n,o,s){return this._genShape("PieSlice",[e,a,t,l,n,o,s])},drawRect:function(e,a,t,l,n,o){return this._genShape("Rect",[e,a,t,l,n,o])},_genShape:function(e,a){let t=this.shapeCount++;a.unshift(t);let l={id:t,type:e,args:a};return this.shapes[t]=l,this.shapeseq.push(t),this.lastShapeId=t,{append:function(){return l},get:function(){return t}}}},af={changeHighlight:function(e){let a=this.currentRegion,t=this.target,l=this.regionShapes[a],n;l&&(n=this.renderRegion(a,e),$.isArray(n)||$.isArray(l)?(t.replaceWithShapes(l,n),this.regionShapes[a]=$.map(n,function(o){return o.id})):(t.replaceWithShape(l,n),this.regionShapes[a]=n.id))},render:function(e,a){this.init(e,a);let t=this.values,l=this.target,n=this.regionShapes,o,s,u,d;for(u=t.length;u--;)if(o=this.renderRegion(u),o)if($.isArray(o)){for(s=[],d=o.length;d--;)o[d].append(),s.push(o[d].id);n[u]=s}else o.append(),n[u]=o.id;else n[u]=null}},Hy={get:function(e){return Sl.mergedOptions[e]}},Vy={drawLine:function(e,a,t,l,n,o){return Sl.drawLine(e,a,t,l,n,o)},drawShape:function(e,a,t,l){return Sl.drawShape(e,a,t,l)},drawCircle:function(e,a,t,l,n,o){return Sl.drawCircle(e,a,t,l,n,o)},drawPieSlice:function(e,a,t,l,n,o,s){return Sl.drawPieSlice(e,a,t,l,n,o,s)},drawRect:function(e,a,t,l,n,o){return Sl.drawRect(e,a,t,l,n,o)}};for(let e in Sl)e in{line:null,bar:null,column:null,tristate:null,discrete:null,bullet:null,pie:null,box:null}&&(Sl[e].options=Hy,Sl[e].target=Vy),e in{bar:null,column:null,tristate:null,discrete:null}&&(Sl[e].changeHighlight=af.changeHighlight,Sl[e].render=af.render);Yr=Sl});function nn(e,a,t){e==null&&(e=$("#luckysheet-cell-main").scrollTop()),a==null&&(a=h.luckysheetTableContentHW[1]),t==null&&(t=h.columnHeaderHeight);let l=$("#luckysheetTableContent").get(0).getContext("2d");l.save(),l.scale(h.devicePixelRatio,h.devicePixelRatio),l.clearRect(0,t,h.rowHeaderWidth-1,a),l.font=Ha(),l.textBaseline=Cr.textBaseline,l.fillStyle=Cr.fillStyle;let n,o;n=lt(h.visibledatarow,e),o=lt(h.visibledatarow,e+a),n==-1&&(n=0),o==-1&&(o=h.visibledatarow.length-1),l.save(),l.beginPath(),l.rect(0,t-1,h.rowHeaderWidth-1,a-2),l.clip();let s,u,d=.5,f;for(let m=n;m<=o;m++){m==0?u=-e-1:u=h.visibledatarow[m-1]-e-1,s=h.visibledatarow[m]-e;let g=n==m?-2:0,y=o==m?-2:0;if(!!ut.createHookFunction("rowTitleCellRenderBefore",m+1,{r:m,top:u+t+g,width:h.rowHeaderWidth-1,height:s-u+1+y-g},l)){if(!(h.config.rowhidden!=null&&h.config.rowhidden[m]!=null)){l.fillStyle="#ffffff",l.fillRect(0,u+t+g,h.rowHeaderWidth-1,s-u+1+y-g),l.fillStyle="#000000",l.save(),l.scale(h.zoomRatio,h.zoomRatio);let v=El(m+1,l),b=(h.rowHeaderWidth-v.width)/2,k=u+(s-u)/2+t;l.fillText(m+1,b/h.zoomRatio,k/h.zoomRatio),l.restore()}l.beginPath(),l.moveTo(h.rowHeaderWidth-2+d,u+t-2),l.lineTo(h.rowHeaderWidth-2+d,s+t-2),l.lineWidth=1,l.strokeStyle=Cr.strokeStyle,l.stroke(),l.closePath(),h.config.rowhidden!=null&&h.config.rowhidden[m]==null&&h.config.rowhidden[m+1]!=null?(l.beginPath(),l.moveTo(-1,s+t-4+d),l.lineTo(h.rowHeaderWidth-1,s+t-4+d),l.closePath(),l.stroke()):(h.config.rowhidden==null||h.config.rowhidden[m]==null)&&(l.beginPath(),l.moveTo(-1,s+t-2+d),l.lineTo(h.rowHeaderWidth-1,s+t-2+d),l.closePath(),l.stroke()),h.config.rowhidden!=null&&h.config.rowhidden[m-1]!=null&&f!=null&&(l.beginPath(),l.moveTo(-1,f+t+d),l.lineTo(h.rowHeaderWidth-1,f+t+d),l.closePath(),l.stroke()),f=s,ut.createHookFunction("rowTitleCellRenderAfter",m+1,{r:m,top:u+t+g,width:h.rowHeaderWidth-1,height:s-u+1+y-g},l)}}l.restore(),l.restore()}function on(e,a,t){e==null&&(e=$("#luckysheet-cell-main").scrollLeft()),a==null&&(a=h.luckysheetTableContentHW[0]),t==null&&(t=h.rowHeaderWidth);let l=$("#luckysheetTableContent").get(0).getContext("2d");l.save(),l.scale(h.devicePixelRatio,h.devicePixelRatio),l.clearRect(t,0,a,h.columnHeaderHeight-1),l.font=Ha(),l.textBaseline=Cr.textBaseline,l.fillStyle=Cr.fillStyle;let n,o;n=lt(h.visibledatacolumn,e),o=lt(h.visibledatacolumn,e+a),n==-1&&(n=0),o==-1&&(o=h.visibledatacolumn.length-1),l.save(),l.beginPath(),l.rect(t-1,0,a,h.columnHeaderHeight-1),l.clip();let s,u,d=.5,f;for(let m=n;m<=o;m++){m==0?u=-e:u=h.visibledatacolumn[m-1]-e,s=h.visibledatacolumn[m]-e;let g=tt(m);if(!!ut.createHookFunction("columnTitleCellRenderBefore",g,{c:m,left:u+t-1,width:s-u,height:h.columnHeaderHeight-1},l)){if(!(h.config.colhidden!=null&&h.config.colhidden[m]!=null)){l.fillStyle="#ffffff",l.fillRect(u+t-1,0,s-u,h.columnHeaderHeight-1),l.fillStyle="#000000",l.save(),l.scale(h.zoomRatio,h.zoomRatio);let y=El(g,l),v=Math.round(u+(s-u)/2+t-y.width/2),b=Math.round(h.columnHeaderHeight/2);l.fillText(g,v/h.zoomRatio,b/h.zoomRatio),l.restore()}h.config.colhidden!=null&&h.config.colhidden[m]==null&&h.config.colhidden[m+1]!=null?(l.beginPath(),l.moveTo(s+t-4+d,0),l.lineTo(s+t-4+d,h.columnHeaderHeight-2),l.lineWidth=1,l.strokeStyle=Cr.strokeStyle,l.closePath(),l.stroke()):(h.config.colhidden==null||h.config.colhidden[m]==null)&&(l.beginPath(),l.moveTo(s+t-2+d,0),l.lineTo(s+t-2+d,h.columnHeaderHeight-2),l.lineWidth=1,l.strokeStyle=Cr.strokeStyle,l.closePath(),l.stroke()),h.config.colhidden!=null&&h.config.colhidden[m-1]!=null&&f!=null&&(l.beginPath(),l.moveTo(f+t+d,0),l.lineTo(f+t+d,h.columnHeaderHeight-2),l.closePath(),l.stroke()),l.beginPath(),l.moveTo(u+t-1,h.columnHeaderHeight-2+d),l.lineTo(s+t-1,h.columnHeaderHeight-2+d),l.stroke(),l.closePath(),f=s,ut.createHookFunction("columnTitleCellRenderAfter",g,{c:m,left:u+t-1,width:s-u,height:h.columnHeaderHeight-1},l)}}l.restore(),l.restore()}function tl(e,a,t,l,n,o,s,u,d){if(h.flowdata==null)return;let f=ye.getSheetByIndex();clearTimeout(h.measureTextCacheTimeOut),e==null&&(e=$("#luckysheet-cell-main").scrollLeft()),a==null&&(a=$("#luckysheet-cell-main").scrollTop()),t==null&&(t=h.luckysheetTableContentHW[0]),l==null&&(l=h.luckysheetTableContentHW[1]),n==null&&(n=h.rowHeaderWidth),o==null&&(o=h.columnHeaderHeight),s==null&&(s=0),u==null&&(u=0);let m=null;if(d==null)m=$("#luckysheetTableContent").get(0).getContext("2d");else if(P(d)=="object")try{m=d.get(0).getContext("2d")}catch(F){m=d}else m=$("#"+d).get(0).getContext("2d");m.save(),m.scale(h.devicePixelRatio,h.devicePixelRatio),m.clearRect(0,0,h.luckysheetTableContentHW[0],h.luckysheetTableContentHW[1]);let g,y,v,b;g=lt(h.visibledatarow,a),y=lt(h.visibledatarow,a+l),g==-1&&(g=0),g+=u,y==-1&&(y=h.visibledatarow.length-1),y+=u,y>=h.visibledatarow.length&&(y=h.visibledatarow.length-1),v=lt(h.visibledatacolumn,e),b=lt(h.visibledatacolumn,e+t),v==-1&&(v=0),v+=s,b==-1&&(b=h.visibledatacolumn.length-1),b+=s,b>=h.visibledatacolumn.length&&(b=h.visibledatacolumn.length-1);let k,x,w,_;g==0?k=0:k=h.visibledatarow[g-1],x=h.visibledatarow[y],v==0?w=0:w=h.visibledatacolumn[v-1],_=h.visibledatacolumn[b],m.fillStyle="#ffffff",m.fillRect(n-1,o-1,_-e,x-a),m.font=Ha(),m.fillStyle=Cr.fillStyle;let S=[],C={},T={},R=.5;ut.createHookFunction("cellAllRenderBefore",h.flowdata,f,m);for(let F=g;F<=y;F++){let M;F==0?M=-a-1:M=h.visibledatarow[F-1]-a-1;let z=h.visibledatarow[F]-a;if(!(h.config.rowhidden!=null&&h.config.rowhidden[F]!=null))for(let O=v;O<=b;O++){let H;O==0?H=-e:H=h.visibledatacolumn[O-1]-e;let U=h.visibledatacolumn[O]-e;if(h.config.colhidden!=null&&h.config.colhidden[O]!=null)continue;let X=h.defaultcollen;if(h.config.columnlen!=null&&h.config.columnlen[O]!=null&&(X=h.config.columnlen[O]),h.flowdata[F]!=null&&h.flowdata[F][O]!=null){let Y=h.flowdata[F][O];if(P(Y)=="object"&&"mc"in Y)if(T[F+"_"+O]={start_r:M,start_c:H,end_r:z,end_c:U},"rs"in Y.mc){let ee="r"+F+"c"+O;C[ee]=S.length}else{let ee="r"+Y.mc.r+"c"+Y.mc.c,ae=S[C[ee]];ae==null?(C[ee]=S.length,S.push({r:F,c:O,start_c:H,start_r:M,end_r:z,end_c:U,firstcolumnlen:X})):(ae.c==O&&(ae.end_r+=z-M-1),ae.r==F&&(ae.end_c+=U-H,ae.firstcolumnlen+=X));continue}}S.push({r:F,c:O,start_r:M,start_c:H,end_r:z,end_c:U,firstcolumnlen:X}),T[F+"_"+O]={start_r:M,start_c:H,end_r:z,end_c:U}}}let I=ki(h.luckysheetfile[Z(h.currentSheetIndex)].dynamicArray),A=Jt.getComputeMap(),E=$e.getComputeMap(),N=jy(m,v,b,g,y),D=[];for(let F=0;F<S.length;F++){let M=S[F],z=M.r,O=M.c,H=M.start_r,U=M.start_c,X=M.end_r,Y=M.end_c,ee=M.firstcolumnlen;if(h.flowdata[z]!=null)if(h.flowdata[z][O]==null)rc(z,O,H,U,X,Y,m,A,E,n,o,I,N,v,b,a,e,R);else{let ae=h.flowdata[z][O],oe=null;if(typeof ae=="object"&&"mc"in ae?D.push(S[F]):oe=Fs(z,O),oe==null||oe.toString().length==0){rc(z,O,H,U,X,Y,m,A,E,n,o,I,N,v,b,a,e,R);let ie=be.borderfix(h.flowdata,z,O),ue=[U+n+ie[0],H+o+ie[1],Y-U-3+ie[2],X-H-3-1+ie[3]];nf(z,O,ue[0],ue[1],"luckysheetTableContent",m)}else z+"_"+O in I&&(oe=I[z+"_"+O].v),of(z,O,H,U,X,Y,oe,m,A,E,n,o,I,N,v,b,a,e,R)}}for(let F=0;F<D.length;F++){let M=D[F],z=M.r,O=M.c,H=M.start_r,U=M.start_c,X=M.end_r-1,Y=M.end_c-1,ee=M.firstcolumnlen,ae=h.flowdata[z][O],oe=null,ie=ae.mc;oe=Fs(ie.r,ie.c),z=ie.r,O=ie.c;let ue=h.flowdata[z][O];if(O==0?U=-e:U=h.visibledatacolumn[O-1]-e,z==0?H=-a-1:H=h.visibledatarow[z-1]-a-1,X=h.visibledatarow[z+ue.mc.rs-1]-a,Y=h.visibledatacolumn[O+ue.mc.cs-1]-e,oe==null||oe.toString().length==0){rc(z,O,H,U,X,Y,m,A,E,n,o,I,N,v,b,a,e,R,!0);let me=be.borderfix(h.flowdata,z,O),ce=[U+n+me[0],H+o+me[1],Y-U-3+me[2],X-H-3-1+me[3]];nf(z,O,ce[0],ce[1],"luckysheetTableContent",m)}else z+"_"+O in I&&(oe=I[z+"_"+O].v),of(z,O,H,U,X,Y,oe,m,A,E,n,o,I,N,v,b,a,e,R,!0)}for(let F=g;F<=y;F++){let M;F==0?M=-a-1:M=h.visibledatarow[F-1]-a-1;let z=h.visibledatarow[F]-a;for(let O=v;O<=b;O++){let H;O==0?H=-e:H=h.visibledatacolumn[O-1]-e;let U=h.visibledatacolumn[O]-e;!!h.luckysheetcurrentisPivotTable&&Oe.drawPivotTable?((O==0||O==5)&&F<=11&&(m.beginPath(),m.moveTo(U-2+R+n,M+o),m.lineTo(U-2+R+n,z-2+R+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke()),(F==2||F==11)&&O<=5&&(m.beginPath(),m.moveTo(H-1+n,z-2+R+o),m.lineTo(U-2+R+n,z-2+R+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke()),F==6&&O==3&&(m.save(),m.font="bold 30px Arial",m.fillStyle="#626675",m.textAlign="center",m.fillText(Q().pivotTable.title,H+(U-H)/2+4+n,M+(z-M)/2-1+o),m.restore())):h.luckysheetcurrentisPivotTable&&O<Oe.pivotTableBoundary[1]&&F<Oe.pivotTableBoundary[0]&&(m.beginPath(),m.moveTo(U-2+R+n,M+o),m.lineTo(U-2+R+n,z-2+R+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke(),m.beginPath(),m.moveTo(H-1+n,z-2+R+o),m.lineTo(U-2+n,z-2+R+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke())}}if(h.config.borderInfo!=null&&h.config.borderInfo.length>0){let F=function(U,X,Y,ee,ae,oe,ie,ue,me){let ce=U,K=ee-2+R+ie,G=Y+ue-1,le=ee-2+R+ie,ke=ae-2+R+ue;me.save(),be.setLineDash(me,ce,"v",K,G,le,ke),me.strokeStyle=X,me.stroke(),me.closePath(),me.restore()},M=function(U,X,Y,ee,ae,oe,ie,ue,me){let ce=U,K=oe-2+R+ie,G=Y+ue-1,le=oe-2+R+ie,ke=ae-2+R+ue;me.save(),be.setLineDash(me,ce,"v",K,G,le,ke),me.strokeStyle=X,me.stroke(),me.closePath(),me.restore()},z=function(U,X,Y,ee,ae,oe,ie,ue,me){let ce=U,K=ee-2+R+ie,G=ae-2+R+ue,le=oe-2+R+ie,ke=ae-2+R+ue;me.save(),be.setLineDash(me,ce,"h",K,G,le,ke),me.strokeStyle=X,me.stroke(),me.closePath(),me.restore()},O=function(U,X,Y,ee,ae,oe,ie,ue,me){let ce=U,K=ee-2+R+ie,G=Y-1+R+ue,le=oe-2+R+ie,ke=Y-1+R+ue;me.save(),be.setLineDash(me,ce,"h",K,G,le,ke),me.strokeStyle=X,me.stroke(),me.closePath(),me.restore()},H=Ls(g,y,v,b);for(let U in H){let X=U.substr(0,U.indexOf("_")),Y=U.substr(U.indexOf("_")+1);if(T[X+"_"+Y]){let ee=T[X+"_"+Y].start_r,ae=T[X+"_"+Y].start_c,oe=T[X+"_"+Y].end_r,ie=T[X+"_"+Y].end_c,ue=lc(N,X,Y,v,b),me=H[U].l;me!=null&&(!ue.colIn||ue.stc==Y)&&F(me.style,me.color,ee,ae,oe,ie,n,o,m);let ce=H[U].r;ce!=null&&(!ue.colIn||ue.colLast)&&M(ce.style,ce.color,ee,ae,oe,ie,n,o,m);let K=H[U].t;K!=null&&O(K.style,K.color,ee,ae,oe,ie,n,o,m);let G=H[U].b;G!=null&&z(G.style,G.color,ee,ae,oe,ie,n,o,m)}}}b==h.visibledatacolumn.length-1&&m.clearRect(_-e+n-1,o-1,h.ch_width-h.visibledatacolumn[b],x-a),m.restore(),h.measureTextCacheTimeOut=setTimeout(()=>{h.measureTextCache={},h.measureTextCellInfoCache={},h.cellOverflowMapCache={}},100)}function jy(e,a,t,l,n){let o={},s=h.flowdata;for(let u=l;u<=n;u++){if(s[u]==null)continue;if(h.cellOverflowMapCache[u]!=null){o[u]=h.cellOverflowMapCache[u];continue}let d=!1;for(let f=0;f<s[u].length;f++){let m=s[u][f];if(!(h.config.colhidden!=null&&h.config.colhidden[f]!=null)&&m!=null&&(!de(m.v)||wr(m))&&m.mc==null&&m.tb=="1"){let g=be.checkstatus(s,u,f,"ht"),y=wl(m,e,{r:u,c:f}),v=0;y!=null&&(v=y.textWidthAll);let b=f-1<0?0:h.visibledatacolumn[f-1],k=h.visibledatacolumn[f],x,w;if(k-b<v){if(g=="0"){let _=Nn(u,f,f-1,"forward",g,v),S=Nn(u,f,f+1,"backward",g,v);_.success?x=_.c:x=_.c+1,S.success?w=S.c:w=S.c-1}else if(g=="1"){let _=Nn(u,f,f+1,"backward",g,v);x=f,_.success?w=_.c:w=_.c-1}else if(g=="2"){let _=Nn(u,f,f-1,"forward",g,v);w=f,_.success?x=_.c:x=_.c+1}}else x=f,w=f;if((x<=t||w>=a)&&x<w){let _={r:u,stc:x,edc:w};o[u]==null&&(o[u]={}),o[u][f]=_,d=!0}}}d&&(h.cellOverflowMapCache[u]=o[u])}return o}function Nn(e,a,t,l,n,o){let s=h.flowdata;if(l=="forward"&&t<0)return{success:!1,r:e,c:t};if(l=="backward"&&t>s[e].length-1)return{success:!1,r:e,c:t};let u=s[e][t];if(u!=null&&(!de(u.v)||u.mc!=null))return{success:!1,r:e,c:t};let d=a-1<0?0:h.visibledatacolumn[a-1],f=h.visibledatacolumn[a],m=o-(f-d);n=="0"?(d-=m/2,f+=m/2):n=="1"?f+=m:n=="2"&&(d-=m);let g=t-1<0?0:h.visibledatacolumn[t-1],y=h.visibledatacolumn[t];if(l=="forward")return d<g?Nn(e,a,t-1,l,n,o):d<y?{success:!0,r:e,c:t}:{success:!1,r:e,c:t};if(l=="backward")return f>y?Nn(e,a,t+1,l,n,o):f>g?{success:!0,r:e,c:t}:{success:!1,r:e,c:t}}function lc(e,a,t,l,n){let o=!1,s=!1,u,d,f,m;for(let g in e){for(let y in e[g]){u=g,d=y;let v=e[g][y];if(f=v.stc,m=v.edc,u==a&&t>=f&&t<=m&&(o=!0,t==m||t==n)){s=!0;break}}if(s)break}return{colIn:o,colLast:s,rowIndex:u,colIndex:d,stc:f,edc:m}}function cf(e,a,t){if(e==null)return;let l=e.values,n=t.pos_x,o=t.pos_y;if(l!=null){e.rotate!=0&&e.type!="verticalWrap"&&(a.save(),a.translate((n+e.textLeftAll)/h.zoomRatio,(o+e.textTopAll)/h.zoomRatio),a.rotate(-e.rotate*Math.PI/180),a.translate(-(e.textLeftAll+n)/h.zoomRatio,-(o+e.textTopAll)/h.zoomRatio));for(let s=0;s<l.length;s++){let u=l[s];u.inline===!0&&u.style!=null?(a.font=u.style.fontset,a.fillStyle=u.style.fc):a.font=u.style;let d=typeof u.content=="object"?u.content.m:u.content;if(a.fillText(d,(n+u.left)/h.zoomRatio,(o+u.top)/h.zoomRatio),u.cancelLine!=null){let f=u.cancelLine;a.beginPath(),a.moveTo(Math.floor((n+f.startX)/h.zoomRatio)+.5,Math.floor((o+f.startY)/h.zoomRatio)+.5),a.lineTo(Math.floor((n+f.endX)/h.zoomRatio)+.5,Math.floor((o+f.endY)/h.zoomRatio)+.5),a.lineWidth=Math.floor(f.fs/9),a.strokeStyle=a.fillStyle,a.stroke(),a.closePath()}if(u.underLine!=null){let f=u.underLine;for(let m=0;m<f.length;m++){let g=f[m];a.beginPath(),a.moveTo(Math.floor((n+g.startX)/h.zoomRatio)+.5,Math.floor((o+g.startY)/h.zoomRatio)),a.lineTo(Math.floor((n+g.endX)/h.zoomRatio)+.5,Math.floor((o+g.endY)/h.zoomRatio)+.5),a.lineWidth=Math.floor(g.fs/9),a.strokeStyle=a.fillStyle,a.stroke(),a.closePath()}}}e.rotate!=0&&e.type!="verticalWrap"&&a.restore()}}var nf,rc,of,sf,ko=Ae(()=>{ta();hl();Dn();tc();lr();dl();jt();Ml();so();mn();At();cl();Wt();Mn();Rt();dt();ca();Wr();Ke();bt();hr();nf=function(e,a,t,l,n,o){if(h.flowdata[e]==null||h.flowdata[e][a]==null)return;let s=h.flowdata[e][a].spl;if(s!=null){if(typeof s=="string"&&(s=new Function("return "+s)()),P(s)=="object"){let u=s,d=u.offsetX,f=u.offsetY;d=d==null?0:d,f=f==null?0:f,Yr.render(u.shapeseq,u.shapes,t+d,l+f,u.pixelWidth,u.pixelHeight,n,o)}else if(P(s)=="array"&&P(s[0])=="object")for(let u=0;u<s.length;u++){let d=s[u],f=d.offsetX,m=d.offsetY;f=f==null?0:f,m=m==null?0:m,Yr.render(d.shapeseq,d.shapes,t+f,l+m,d.pixelWidth,d.pixelHeight,n,o)}}},rc=function(e,a,t,l,n,o,s,u,d,f,m,g,y,v,b,k,x,w,_){let S=Jt.checksAF(e,a,u),C=$e.checksCF(e,a,d),T=be.borderfix(h.flowdata,e,a),R=be.checkstatus(h.flowdata,e,a,"bg");S!=null&&S[1]!=null&&(R=S[1]),C!=null&&C.cellColor!=null&&(R=C.cellColor),h.flowdata[e][a]!=null&&h.flowdata[e][a].tc!=null&&(R=h.flowdata[e][a].tc),R==null?s.fillStyle="#FFFFFF":s.fillStyle=R;let I=[l+f+T[0],t+m+T[1],o-l+T[2]-(_?1:0),n-t+T[3]];if(!ut.createHookFunction("cellRenderBefore",h.flowdata[e][a],{r:e,c:a,start_r:I[1],start_c:I[0],end_r:I[3]+I[1],end_c:I[2]+I[0]},ye.getSheetByIndex(),s))return;if(s.fillRect(I[0],I[1],I[2],I[3]),e+"_"+a in g){let E=g[e+"_"+a].v;s.fillStyle="#000000";let N=Ha();s.font=N;let D=l+4+f,F=ol.luckysheetrefreshfixed(),M=n+m-2;s.textBaseline="bottom",s.fillText(E==null?"":E,D,M)}if(h.flowdata[e][a]!=null&&h.flowdata[e][a].ps!=null){let E=8*h.zoomRatio,N=8*h.zoomRatio;s.beginPath(),s.moveTo(o+f-1-E,t+m),s.lineTo(o+f-1,t+m),s.lineTo(o+f-1,t+m+N),s.fillStyle="#FC6666",s.fill(),s.closePath()}let A=lc(y,e,a,v,b);A.colLast&&sf(A.rowIndex,A.colIndex,A.stc,A.edc,s,k,x,f,m,u,d),(!A.colIn||A.colLast)&&!h.luckysheetcurrentisPivotTable&&!R&&h.showGridLines&&(s.beginPath(),s.moveTo(o+f-2+w,t+m),s.lineTo(o+f-2+w,n+m),s.lineWidth=1,s.strokeStyle=Cr.strokeStyle,s.stroke(),s.closePath()),!h.luckysheetcurrentisPivotTable&&!R&&h.showGridLines&&(s.beginPath(),s.moveTo(l+f-1,n+m-2+w),s.lineTo(o+f-1,n+m-2+w),s.lineWidth=1,s.strokeStyle=Cr.strokeStyle,s.stroke(),s.closePath()),ut.createHookFunction("cellRenderAfter",h.flowdata[e][a],{r:e,c:a,start_r:I[1],start_c:I[0],end_r:I[3]+I[1],end_c:I[2]+I[0]},ye.getSheetByIndex(),s)},of=function(e,a,t,l,n,o,s,u,d,f,m,g,y,v,b,k,x,w,_,S){let C=h.flowdata[e][a],T=o-l-2,R=n-t-2,I=2,A=2,E=be.checkstatus(h.flowdata,e,a,"ht"),N=be.checkstatus(h.flowdata,e,a,"vt"),D=Jt.checksAF(e,a,d),F=$e.checksCF(e,a,f),M=be.checkstatus(h.flowdata,e,a,"bg");D!=null&&D[1]!=null&&(M=D[1]),F!=null&&F.cellColor!=null&&(M=F.cellColor),M==null?u.fillStyle="#FFFFFF":u.fillStyle=M;let z=be.borderfix(h.flowdata,e,a),O=[l+m+z[0],t+g+z[1],o-l+z[2]-(S?1:0),n-t+z[3]];if(!ut.createHookFunction("cellRenderBefore",h.flowdata[e][a],{r:e,c:a,start_r:O[1],start_c:O[0],end_r:O[3]+O[1],end_c:O[2]+O[0]},ye.getSheetByIndex(),u))return;u.fillRect(O[0],O[1],O[2],O[3]);let H=Ye.dataVerification;if(H!=null&&H[e+"_"+a]!=null&&!Ye.validateCellData(s,H[e+"_"+a])){let Y=5*h.zoomRatio,ee=5*h.zoomRatio;u.beginPath(),u.moveTo(l+m,t+g),u.lineTo(l+m+Y,t+g),u.lineTo(l+m,t+g+ee),u.fillStyle="#FC6666",u.fill(),u.closePath()}if(C.ps!=null){let Y=8*h.zoomRatio,ee=8*h.zoomRatio;u.beginPath(),u.moveTo(o+m-Y,t+g),u.lineTo(o+m,t+g),u.lineTo(o+m,t+g+ee),u.fillStyle="#FC6666",u.fill(),u.closePath()}if(C.qp==1&&L(C.v)){let Y=6*h.zoomRatio,ee=6*h.zoomRatio;u.beginPath(),u.moveTo(l+m+Y-1,t+g),u.lineTo(l+m-1,t+g),u.lineTo(l+m-1,t+g+ee),u.fillStyle="#487f1e",u.fill(),u.closePath()}let U=!0,X=lc(v,e,a,b,k);if(C.tb=="1"&&X.colIn)X.colLast?sf(X.rowIndex,X.colIndex,X.stc,X.edc,u,x,w,m,g,d,f):U=!1;else if(H!=null&&H[e+"_"+a]!=null&&H[e+"_"+a].type=="checkbox"){let Y=l+m,ee=t+g+1;u.save(),u.beginPath(),u.rect(Y,ee,T,R),u.clip(),u.scale(h.zoomRatio,h.zoomRatio);let ae=El(s,u),oe=ae.width+14,ie=ae.actualBoundingBoxDescent+ae.actualBoundingBoxAscent,ue=Y+I;E=="0"?ue=Y+T/2-oe/2:E=="2"&&(ue=Y+T-I-oe);let me=R>ie?R:ie,ce=ee+me-A;u.textBaseline="bottom";let K=ce-13*h.zoomRatio;N=="0"?(ce=ee+me/2,u.textBaseline="middle",K=ce-6*h.zoomRatio):N=="1"&&(ce=ee+A,u.textBaseline="top",K=ce+1*h.zoomRatio),ue=ue/h.zoomRatio,ce=ce/h.zoomRatio,K=K/h.zoomRatio,u.lineWidth=1,u.strokeStyle="#000",u.strokeRect(ue,K,10,10),H[e+"_"+a].checked&&(u.beginPath(),u.lineTo(ue+1,K+6),u.lineTo(ue+4,K+9),u.lineTo(ue+9,K+2),u.stroke(),u.closePath()),u.fillStyle=be.checkstatus(h.flowdata,e,a,"fc"),u.fillText(s==null?"":s,ue+14,ce),u.restore()}else{if(F!=null&&F.dataBar!=null&&F.dataBar.valueLen&&F.dataBar.valueLen.toString()!=="NaN"){let oe=l+m+I,ie=t+g+A,ue=T-I*2,me=R-A*2,ce=F.dataBar.valueType,K=F.dataBar.valueLen,G=F.dataBar.format;if(ce=="minus"){let le=F.dataBar.minusLen;if(G.length>1){let ke=u.createLinearGradient(oe+ue*le*(1-K),ie,oe+ue*le,ie);ke.addColorStop(0,"#ffffff"),ke.addColorStop(1,"#ff0000"),u.fillStyle=ke}else u.fillStyle="#ff0000";u.fillRect(oe+ue*le*(1-K),ie,ue*le*K,me),u.beginPath(),u.moveTo(oe+ue*le*(1-K),ie),u.lineTo(oe+ue*le*(1-K),ie+me),u.lineTo(oe+ue*le,ie+me),u.lineTo(oe+ue*le,ie),u.lineTo(oe+ue*le*(1-K),ie),u.lineWidth=1,u.strokeStyle="#ff0000",u.stroke(),u.closePath()}else if(ce=="plus"){let le=F.dataBar.plusLen;if(le==1){if(G.length>1){let ke=u.createLinearGradient(oe,ie,oe+ue*K,ie);ke.addColorStop(0,G[0]),ke.addColorStop(1,G[1]),u.fillStyle=ke}else u.fillStyle=G[0];u.fillRect(oe,ie,ue*K,me),u.beginPath(),u.moveTo(oe,ie),u.lineTo(oe,ie+me),u.lineTo(oe+ue*K,ie+me),u.lineTo(oe+ue*K,ie),u.lineTo(oe,ie),u.lineWidth=1,u.strokeStyle=G[0],u.stroke(),u.closePath()}else{let ke=F.dataBar.minusLen;if(G.length>1){let se=u.createLinearGradient(oe+ue*ke,ie,oe+ue*ke+ue*le*K,ie);se.addColorStop(0,G[0]),se.addColorStop(1,G[1]),u.fillStyle=se}else u.fillStyle=G[0];u.fillRect(oe+ue*ke,ie,ue*le*K,me),u.beginPath(),u.moveTo(oe+ue*ke,ie),u.lineTo(oe+ue*ke,ie+me),u.lineTo(oe+ue*ke+ue*le*K,ie+me),u.lineTo(oe+ue*ke+ue*le*K,ie),u.lineTo(oe+ue*ke,ie),u.lineWidth=1,u.strokeStyle=G[0],u.stroke(),u.closePath()}}}let Y=l+m,ee=t+g+1;u.save(),u.beginPath(),u.rect(Y,ee,T,R),u.clip(),u.scale(h.zoomRatio,h.zoomRatio);let ae=wl(C,u,{cellWidth:T,cellHeight:R,space_width:I,space_height:A,r:e,c:a});if(F!=null&&F.icons!=null&&ae.type=="plain"){let oe=F.icons.left,ie=F.icons.top,ue=ae.values[0],me=Y+ue.left,ce=ee+ue.top-ae.textHeightAll;N=="0"?ce=ee+R/2-ae.textHeightAll/2:N=="1"?ce=ee:N=="2"&&(ce=ce-ae.desc),ce=ce/h.zoomRatio,me=me/h.zoomRatio,u.drawImage(fn,oe*42,ie*32,32,32,Y/h.zoomRatio,ce,ae.textHeightAll/h.zoomRatio,ae.textHeightAll/h.zoomRatio),E!="0"&&E!="2"&&(me=me+ae.textHeightAll/h.zoomRatio)}u.fillStyle=be.checkstatus(h.flowdata,e,a,"fc"),D!=null&&D[0]!=null&&(u.fillStyle=D[0]),F!=null&&F.textColor!=null&&(u.fillStyle=F.textColor),C.ct&&C.ct.fa&&C.ct.fa.indexOf("[Red]")>-1&&C.ct.t=="n"&&C.v<0&&(u.fillStyle="#ff0000"),cf(ae,u,{pos_x:Y,pos_y:ee}),u.restore()}U&&!h.luckysheetcurrentisPivotTable&&!M&&h.showGridLines&&(u.beginPath(),u.moveTo(o+m-2+_,t+g),u.lineTo(o+m-2+_,n+g),u.lineWidth=1,u.strokeStyle=Cr.strokeStyle,u.stroke(),u.closePath()),!h.luckysheetcurrentisPivotTable&&!M&&h.showGridLines&&(u.beginPath(),u.moveTo(l+m-1,n+g-2+_),u.lineTo(o+m-1,n+g-2+_),u.lineWidth=1,u.strokeStyle=Cr.strokeStyle,u.stroke(),u.closePath()),ut.createHookFunction("cellRenderAfter",h.flowdata[e][a],{r:e,c:a,start_r:O[1],start_c:O[0],end_r:O[3]+O[1],end_c:O[2]+O[0]},ye.getSheetByIndex(),u)},sf=function(e,a,t,l,n,o,s,u,d,f,m){let g;e==0?g=-o-1:g=h.visibledatarow[e-1]-o-1;let y=h.visibledatarow[e]-o,v;t==0?v=-s:v=h.visibledatacolumn[t-1]-s;let b=h.visibledatacolumn[l]-s,k=h.flowdata[e][a],x=b-v-2,w=y-g-2,_=2,S=2,C=v+u,T=g+d+1,R=Ja(k);n.font=R,n.save(),n.beginPath(),n.rect(C,T,x,w),n.clip(),n.scale(h.zoomRatio,h.zoomRatio);let I=wl(k,n,{cellWidth:x,cellHeight:w,space_width:_,space_height:S,r:e,c:a}),A=Jt.checksAF(e,a,f),E=$e.checksCF(e,a,m);n.fillStyle=be.checkstatus(h.flowdata,e,a,"fc"),A!=null&&A[0]!=null&&(n.fillStyle=A[0]),E!=null&&E.textColor!=null&&(n.fillStyle=E.textColor),cf(I,n,{pos_x:C,pos_y:T}),n.restore()}});var Uy,$r,Pn=Ae(()=>{dt();Wt();Yt();Pr();Vt();ar();Kt();jt();Xt();Zt();hr();Or();lr();Rt();bt();Ke();Uy={item:{linkType:"external",linkAddress:"",linkTooltip:""},hyperlink:null,createDialog:function(){let e=this,a=Q(),t=a.insertLink,l=a.toolbar,n=a.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-insertLink-dialog").remove();let o="";h.luckysheetfile.forEach(b=>{o+=`<option value="${b.name}">${b.name}</option>`});let s=`<div class="box">
<div class="box-item">
<label for="luckysheet-insertLink-dialog-linkText">${t.linkText}\uFF1A</label>
<input type="text" id="luckysheet-insertLink-dialog-linkText"/>
</div>
<div class="box-item">
<label for="luckysheet-insertLink-dialog-linkType">${t.linkType}\uFF1A</label>
<select id="luckysheet-insertLink-dialog-linkType">
<option value="external">${t.external}</option>
<option value="internal">${t.internal}</option>
</select>
</div>
<div class="show-box show-box-external">
<div class="box-item">
<label for="luckysheet-insertLink-dialog-linkAddress">${t.linkAddress}\uFF1A</label>
<input type="text" id="luckysheet-insertLink-dialog-linkAddress" placeholder="${t.placeholder1}" />
</div>
</div>
<div class="show-box show-box-internal">
<div class="box-item">
<label for="luckysheet-insertLink-dialog-linkSheet">${t.linkSheet}\uFF1A</label>
<select id="luckysheet-insertLink-dialog-linkSheet">
${o}
</select>
</div>
<div class="box-item">
<label for="luckysheet-insertLink-dialog-linkCell">${t.linkCell}\uFF1A</label>
<input type="text" id="luckysheet-insertLink-dialog-linkCell" value="A1" placeholder="${t.placeholder2}" />
</div>
</div>
<div class="box-item">
<label for="luckysheet-insertLink-dialog-linkTooltip">${t.linkTooltip}\uFF1A</label>
<input type="text" id="luckysheet-insertLink-dialog-linkTooltip" placeholder="${t.placeholder3}" />
</div>
</div>`;$("body").append(we(ft,{id:"luckysheet-insertLink-dialog",addclass:"luckysheet-insertLink-dialog",title:l.insertLink,content:s,botton:`<button id="luckysheet-insertLink-dialog-confirm" class="btn btn-primary">${n.confirm}</button>
<button class="btn btn-default luckysheet-model-close-btn">${n.cancel}</button>`,style:"z-index:100003"}));let u=$("#luckysheet-insertLink-dialog").find(".luckysheet-modal-dialog-content").css("min-width",350).end(),d=u.outerHeight(),f=u.outerWidth(),m=$(window).width(),g=$(window).height(),y=$(document).scrollLeft(),v=$(document).scrollTop();$("#luckysheet-insertLink-dialog").css({left:(m+y-f)/2,top:(g+v-d)/3}).show(),e.dataAllocation()},init:function(){let e=this,t=Q().insertLink;$(document).off("change.linkType").on("change.linkType","#luckysheet-insertLink-dialog-linkType",function(l){let n=this.value;$("#luckysheet-insertLink-dialog .show-box").hide(),$("#luckysheet-insertLink-dialog .show-box-"+n).show()}),$(document).off("click.confirm").on("click.confirm","#luckysheet-insertLink-dialog-confirm",function(l){let n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],o=n.row_focus||n.row[0],s=n.column_focus||n.column[0],u=$("#luckysheet-insertLink-dialog-linkText").val(),d=$("#luckysheet-insertLink-dialog-linkType").val(),f=$("#luckysheet-insertLink-dialog-linkAddress").val(),m=$("#luckysheet-insertLink-dialog-linkSheet").val(),g=$("#luckysheet-insertLink-dialog-linkCell").val(),y=$("#luckysheet-insertLink-dialog-linkTooltip").val();if(d=="external"){if(/^http[s]?:\/\//.test(f)||(f="https://"+f),!/^http[s]?:\/\/([\w\-\.]+)+[\w-]*([\w\-\.\/\?%&=]+)?$/ig.test(f)){j.info('<i class="fa fa-exclamation-triangle"></i>',t.tooltipInfo1);return}}else{if(!p.iscelldata(g)){j.info('<i class="fa fa-exclamation-triangle"></i>',t.tooltipInfo2);return}f=m+"!"+g}(u==null||u.replace(/\s/g,"")=="")&&(u=f);let v={linkType:d,linkAddress:f,linkTooltip:y},b=$.extend(!0,{},e.hyperlink),k=$.extend(!0,{},e.hyperlink);k[o+"_"+s]=v;let x=xe.deepCopyFlowData(h.flowdata),w=x[o][s];w==null&&(w={}),w.fc="rgb(0, 0, 255)",w.un=1,w.v=u,x[o][s]=w,e.ref(b,k,h.currentSheetIndex,x,{row:[o,o],column:[s,s]}),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-insertLink-dialog").hide()})},dataAllocation:function(){let e=this,a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=a.row_focus||a.row[0],l=a.column_focus||a.column[0],o=(e.hyperlink||{})[t+"_"+l]||{},s=ze(t,l,null,"m");$("#luckysheet-insertLink-dialog-linkText").val(s);let u=o.linkType||"external";$("#luckysheet-insertLink-dialog-linkType").val(u),$("#luckysheet-insertLink-dialog .show-box").hide(),$("#luckysheet-insertLink-dialog .show-box-"+u).show();let d=o.linkAddress||"";if(u=="external")$("#luckysheet-insertLink-dialog-linkAddress").val(d);else if(p.iscelldata(d)){let m=d.split("!")[0],g=d.split("!")[1];$("#luckysheet-insertLink-dialog-linkSheet").val(m),$("#luckysheet-insertLink-dialog-linkCell").val(g)}let f=o.linkTooltip||"";$("#luckysheet-insertLink-dialog-linkTooltip").val(f)},cellFocus:function(e,a){let t=this;if(t.hyperlink==null||t.hyperlink[e+"_"+a]==null)return;let l=t.hyperlink[e+"_"+a];if(l.linkType=="external")window.open(l.linkAddress);else{let n=p.getcellrange(l.linkAddress),o=n.sheetIndex,s=[{row:n.row,column:n.column}];o!=h.currentSheetIndex&&($("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+o).addClass("luckysheet-sheets-item-active"),ye.changeSheet(o)),h.luckysheet_select_save=s,et(!0);let u=n.row[0]-1==-1?0:h.visibledatarow[n.row[0]-1],d=n.column[0]-1==-1?0:h.visibledatacolumn[n.column[0]-1];$("#luckysheet-scrollbar-x").scrollLeft(d),$("#luckysheet-scrollbar-y").scrollTop(u)}},overshow:function(e){let a=this;if($("#luckysheet-hyperlink-overshow").remove(),$(e.target).closest("#luckysheet-cell-main").length==0)return;let t=at(e.pageX,e.pageY),l=$("#luckysheet-cell-main").scrollLeft(),n=$("#luckysheet-cell-main").scrollTop(),o=t[0]+l,s=t[1]+n;if(W.freezenverticaldata!=null&&t[0]<W.freezenverticaldata[0]-W.freezenverticaldata[2]||W.freezenhorizontaldata!=null&&t[1]<W.freezenhorizontaldata[0]-W.freezenhorizontaldata[2])return;let u=xt(s)[2],d=vt(o)[2],f=be.mergeborer(h.flowdata,u,d);if(f&&(u=f.row[2],d=f.column[2]),a.hyperlink==null||a.hyperlink[u+"_"+d]==null)return;let m=a.hyperlink[u+"_"+d],g=m.linkTooltip;(g==null||g.replace(/\s/g,"")=="")&&(g=m.linkAddress);let y=h.visibledatarow[u],v=u-1==-1?0:h.visibledatarow[u-1],b=h.visibledatacolumn[d],k=d-1==-1?0:h.visibledatacolumn[d-1];f&&(y=f.row[1],v=f.row[0],b=f.column[1],k=f.column[0]);let x=`<div id="luckysheet-hyperlink-overshow" style="background:#fff;padding:5px 10px;border:1px solid #000;box-shadow:2px 2px #999;position:absolute;left:${k}px;top:${y+5}px;z-index:100;">
<div>${g}</div>
<div>\u5355\u51FB\u9F20\u6807\u53EF\u4EE5\u8FFD\u8E2A</div>
</div>`;$(x).appendTo($("#luckysheet-cell-main"))},ref:function(e,a,t,l,n){let o=this;if(h.clearjfundo){h.jfundo.length=0;let s={};s.type="updateHyperlink",s.sheetIndex=t,s.historyHyperlink=e,s.currentHyperlink=a,s.data=h.flowdata,s.curData=l,s.range=n,h.jfredo.push(s)}o.hyperlink=a,h.luckysheetfile[Z(t)].hyperlink=a,h.flowdata=l,xe.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[Z(t)].data=h.flowdata,re.allowUpdate&&(re.saveParam("all",t,a,{k:"hyperlink"}),re.historyParam(h.flowdata,t,n)),setTimeout(function(){Le()},1)}},$r=Uy});function ac(e,a,t){p.execFunctionExist=[];for(let l=0;l<e.length;l++)for(let n=e[l].row[0];n<=e[l].row[1];n++)for(let o=e[l].column[0];o<=e[l].column[1];o++)p.execFunctionExist.push({r:n,c:o,i:a});p.execFunctionExist.reverse(),p.execFunctionGroup(null,null,null,null,t),p.execFunctionGlobalData=null}function Ze(e,a,t,l=!0,n=!0){e==null&&(e=h.flowdata),a==null&&(a=h.luckysheet_select_save),a=JSON.parse(JSON.stringify(a)),clearTimeout($l),t==null&&(t={});let o=t.cfg,s=t.RowlChange,u=t.cdformat,d=t.dataVerification,f=t.dynamicArray,m=h.luckysheetfile[Z(h.currentSheetIndex)];if(h.clearjfundo){h.jfundo.length=0;let g;o==null?g=$.extend(!0,{},h.config):g=$.extend(!0,{},o);let y;u==null?y=$.extend(!0,[],m.luckysheet_conditionformat_save):y=u;let v;d==null?v=$.extend(!0,{},m.dataVerification):v=d;let b;f==null?b=$.extend(!0,[],m.dynamicArray):b=f,h.jfredo.push({type:"datachange",data:h.flowdata,curdata:e,sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curConfig:g,cdformat:$.extend(!0,[],m.luckysheet_conditionformat_save),curCdformat:y,RowlChange:s,dataVerification:$.extend(!0,[],m.dataVerification),curDataVerification:v,dynamicArray:$.extend(!0,[],m.dynamicArray),curDynamicArray:b,range:a,dataRange:[...m.luckysheet_select_save]})}h.flowdata=e,xe.webWorkerFlowDataCache(h.flowdata),m.data=h.flowdata,o!=null&&Object.keys(o).length!==0&&(h.config=o,m.config=h.config,re.saveParam("all",h.currentSheetIndex,o,{k:"config"}),s!=null&&_t(h.flowdata.length,h.flowdata[0].length)),u!=null&&u.length!==0&&(m.luckysheet_conditionformat_save=u,re.saveParam("all",h.currentSheetIndex,u,{k:"luckysheet_conditionformat_save"})),d!=null&&Object.keys(d).length!==0&&(Ye.dataVerification=d,m.dataVerification=d,re.saveParam("all",h.currentSheetIndex,d,{k:"dataVerification"})),f!=null&&(m.dynamicArray=f,re.saveParam("all",h.currentSheetIndex,f,{k:"dynamicArray"}));for(let g=0;g<a.length;g++){let y=a[g].row[0],v=a[g].column[0];if(h.flowdata[y][v]!=null&&h.flowdata[y][v].spl!=null){window.luckysheetCurrentRow=y,window.luckysheetCurrentColumn=v,window.luckysheetCurrentFunction=h.flowdata[y][v].f;let b=$.trim(p.functionParserExe(h.flowdata[y][v].f)),k=new Function("return "+b)();h.flowdata[y][v].spl=k}re.allowUpdate&&re.historyParam(h.flowdata,h.currentSheetIndex,a[g]),typeof h.chartparam.jfrefreshchartall=="function"&&h.chartparam.jfrefreshchartall(h.flowdata,a[g].row[0],a[g].row[1],a[g].column[0],a[g].column[1])}l&&ac(a,h.currentSheetIndex,e),n&&($l=setTimeout(function(){Le()},1)),et(),window.luckysheet_getcelldata_cache=null}function Gr(e,a,t,l,n,o,s,u,d=!0){let f={},m=!1;if(clearTimeout($l),o=="cellRowChange"){f.type="cellRowChange",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=n,f.ctrlType=o,f.ctrlValue=s;let g=l.rowlen;g==null&&(g={}),re.saveParam("cg",h.currentSheetIndex,g,{k:"rowlen"})}else if(o=="resizeC"){f.type="resize",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=n,f.ctrlType=o,f.ctrlValue=s;let g=l.columnlen;g==null&&(g={}),re.saveParam("cg",h.currentSheetIndex,g,{k:"columnlen"})}else if(o.indexOf("extend")>-1)f.type="extend",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=n,f.ctrlType=o,f.ctrlValue=s,re.saveParam("arc",h.currentSheetIndex,{index:s.index,len:s.len,direction:s.direction,mc:l.merge},{rc:s.type});else if(o.indexOf("dele")>-1)f.type="dele",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=n,f.ctrlType=o,f.ctrlValue=s,re.saveParam("drc",h.currentSheetIndex,{index:s.index,len:s.len,mc:l.merge,borderInfo:l.borderInfo},{rc:s.type});else{f.type="datachangeAll",f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=n,f.ctrlType=o,f.ctrlValue=s,m=!0;for(let g=0;g<n.length;g++)re.historyParam(t,h.currentSheetIndex,n[g])}h.clearjfundo&&(h.jfundo.length=0,f.data=h.flowdata,f.curdata=t,f.sheetIndex=h.currentSheetIndex,f.cdformat=$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save),f.curCdformat=u,h.jfredo.push(f)),h.flowdata=t,xe.webWorkerFlowDataCache(t),h.luckysheetfile[Z(h.currentSheetIndex)].data=h.flowdata,l!=null&&(h.config=l,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("all",h.currentSheetIndex,l,{k:"config"})),u!=null&&(h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save=u,re.saveParam("all",h.currentSheetIndex,u,{k:"luckysheet_conditionformat_save"})),h.luckysheet_select_save=$.extend(!0,[],n),h.luckysheet_select_save.length>0&&et(),m&&ac(n,h.currentSheetIndex,t),_t(a,e),d&&($l=setTimeout(function(){Le()},1)),ye.storeSheetParamALL(),window.luckysheet_getcelldata_cache=null}function Sn(e,a,t){clearTimeout($l),h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"rangechange",data:h.flowdata,curdata:e,range:a,sheetIndex:h.currentSheetIndex,cdformat:$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save),curCdformat:t})),h.flowdata=e,xe.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[Z(h.currentSheetIndex)].data=h.flowdata,t!=null&&(h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save=t),ac(a,h.currentSheetIndex,e),$l=setTimeout(function(){Le()},1);for(let l=0;l<a.length;l++)re.historyParam(h.flowdata,h.currentSheetIndex,a[l])}function Pa(e,a,t,l,n,o,s,u,d,f,m){let g=h.luckysheetfile[Z(h.currentSheetIndex)];La();let y=[];for(let w in a.merge){let _=a.merge[w];for(let S=_.r;S<=_.r+_.rs-1;S++)for(let C=_.c;C<=_.c+_.cs-1;C++)e[S][C]==null&&(e[S][C]={}),S==_.r&&C==_.c?e[S][C].mc=_:e[S][C].mc={r:_.r,c:_.c},y.push({r:S,c:C})}let v=[];h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:t,sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:e,config:$.extend(!0,{},h.config),curConfig:a,ctrlValue:l,mcData:y,calc:$.extend(!0,[],g.calcChain),curCalc:n,funcData:v,filterObj:{filter_select:$.extend(!0,{},g.filter_select),filter:$.extend(!0,{},g.filter)},curFilterObj:o,cf:$.extend(!0,[],g.luckysheet_conditionformat_save),curCf:s,af:$.extend(!0,[],g.luckysheet_alternateformat_save),curAf:u,freezen:{freezenhorizontaldata:W.freezenhorizontaldata,freezenverticaldata:W.freezenverticaldata},curFreezen:d,dataVerification:$.extend(!0,{},g.dataVerification),curDataVerification:f,hyperlink:$.extend(!0,{},g.hyperlink),curHyperlink:m,range:g.luckysheet_select_save,dataRange:[...g.luckysheet_select_save]}));let b=l.index,k=l.len,x=l.rc;if(t=="addRC"){let w=l.direction,_=l.restore,S=[];if(_){if(x=="r"){let C;w=="lefttop"?C=b:w=="rightbottom"&&(C=b+1);let T=C+k-1;for(let R=C;R<=T;R++){let I=[];for(let A=0;A<e[0].length;A++){let E=e[R][A];I.push(E)}S.push(I)}}else if(x=="c"){let C;w=="lefttop"?C=b:w=="rightbottom"&&(C=b+1);let T=C+k-1;for(let R=0;R<e.length;R++){let I=[];for(let A=C;A<=T;A++){let E=e[R][A];I.push(E)}S.push(I)}}}re.saveParam("arc",h.currentSheetIndex,{index:b,len:k,direction:w,data:S},{rc:x})}else t=="delRC"&&re.saveParam("drc",h.currentSheetIndex,{index:b,len:k},{rc:x});h.flowdata=e,xe.webWorkerFlowDataCache(h.flowdata),g.data=e,h.config=a,g.config=h.config,re.saveParam("all",h.currentSheetIndex,a,{k:"config"});for(let w=0;w<y.length;w++){let _=y[w].r,S=y[w].c;re.saveParam("v",h.currentSheetIndex,h.flowdata[_][S],{r:_,c:S})}if(n.length>0)for(let w=0;w<n.length;w++){let _=n[w],S=_.r,C=_.c,T=_.index,R=Nr(S,C,T,e),I=p.execfunction(R,S,C,T,null,!0);_.func=I,e[S][C].f==R&&Ot(S,C,e,I[1])}g.calcChain=n,re.saveParam("all",h.currentSheetIndex,n,{k:"calcChain"});for(let w=0;w<v.length;w++){let _=v[w].r,S=v[w].c;re.saveParam("v",h.currentSheetIndex,h.flowdata[_][S],{r:_,c:S})}o!=null?(g.filter_select=o.filter_select,g.filter=o.filter):(g.filter_select=null,g.filter=null),Rr(g.filter_select,g.filter),re.saveParam("all",h.currentSheetIndex,g.filter_select,{k:"filter_select"}),re.saveParam("all",h.currentSheetIndex,g.filter,{k:"filter"}),g.luckysheet_conditionformat_save=s,re.saveParam("all",h.currentSheetIndex,g.luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"}),g.luckysheet_alternateformat_save=u,re.saveParam("all",h.currentSheetIndex,g.luckysheet_alternateformat_save,{k:"luckysheet_alternateformat_save"}),d!=null?(W.freezenhorizontaldata=d.freezenhorizontaldata,W.freezenverticaldata=d.freezenverticaldata):(W.freezenhorizontaldata=null,W.freezenverticaldata=null),Ye.dataVerification=f,g.dataVerification=f,re.saveParam("all",h.currentSheetIndex,g.dataVerification,{k:"dataVerification"}),$r.hyperlink=m,g.hyperlink=m,re.saveParam("all",h.currentSheetIndex,g.hyperlink,{k:"hyperlink"}),_t(h.flowdata.length,h.flowdata[0].length)}function Ti(e,a,t,l,n,o,s,u){let d=h.luckysheetfile[Z(h.currentSheetIndex)];clearTimeout($l),La();let f=[];if(JSON.stringify(a.merge)=="{}")for(let g=0;g<e.length;g++)for(let y=0;y<e[0].length;y++){let v=e[g][y];v!=null&&v.mc!=null&&(delete v.mc,f.push({r:g,c:y}))}else for(let g in a.merge){let y=a.merge[g];for(let v=y.r;v<=y.r+y.rs-1;v++)for(let b=y.c;b<=y.c+y.cs-1;b++)if(e[v][b]==null&&(e[v][b]={}),v==y.r&&b==y.c)JSON.stringify(e[v][b].mc)!=JSON.stringify(y)&&(e[v][b].mc=y,f.push({r:v,c:b}));else{let k={r:y.r,c:y.c};JSON.stringify(e[v][b].mc)!=JSON.stringify(k)&&(e[v][b].mc=k,f.push({r:v,c:b}))}}let m=[];if(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"deleteCell",sheetIndex:h.currentSheetIndex,ctrl:t,data:h.flowdata,curData:e,config:$.extend(!0,{},h.config),curConfig:a,mcData:f,calc:$.extend(!0,[],d.calcChain),curCalc:l,funcData:m,filterObj:{filter_select:$.extend(!0,{},d.filter_select),filter:$.extend(!0,{},d.filter)},curFilterObj:n,cf:$.extend(!0,[],d.luckysheet_conditionformat_save),curCf:o,dataVerification:$.extend(!0,{},d.dataVerification),curDataVerification:s,hyperlink:$.extend(!0,{},d.hyperlink),curHyperlink:u,range:d.luckysheet_select_save,dataRange:[...d.luckysheet_select_save]})),h.flowdata=e,xe.webWorkerFlowDataCache(h.flowdata),d.data=e,re.allowUpdate){let g=t.type,y=t.str,v=t.edr,b=t.stc,k=t.edc,x;g=="moveUp"?x={row:[y,e.length-1],column:[b,k]}:g=="moveLeft"&&(x={row:[y,v],column:[b,e[0].length-1]}),re.historyParam(h.flowdata,h.currentSheetIndex,x)}h.config=a,d.config=h.config,re.saveParam("all",h.currentSheetIndex,a,{k:"config"});for(let g=0;g<f.length;g++){let y=f[g].r,v=f[g].c;re.saveParam("v",h.currentSheetIndex,h.flowdata[y][v],{r:y,c:v})}if(l.length>0)for(let g=0;g<l.length;g++){let y=l[g],v=y.r,b=y.c,k=y.index,x=Nr(v,b,k,e),w=p.execfunction(x,v,b,k,null,!0);y.func=w,e[v][b].f==x&&Ot(v,b,e,w[1])}d.calcChain=l,re.saveParam("all",h.currentSheetIndex,l,{k:"calcChain"});for(let g=0;g<m.length;g++){let y=m[g].r,v=m[g].c;re.saveParam("v",h.currentSheetIndex,h.flowdata[y][v],{r:y,c:v})}n!=null?(d.filter_select=n.filter_select,d.filter=n.filter):(d.filter_select=null,d.filter=null),Rr(d.filter_select,d.filter),re.saveParam("all",h.currentSheetIndex,d.filter_select,{k:"filter_select"}),re.saveParam("all",h.currentSheetIndex,d.filter,{k:"filter"}),d.luckysheet_conditionformat_save=o,re.saveParam("all",h.currentSheetIndex,d.luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"}),Ye.dataVerification=s,d.dataVerification=s,re.saveParam("all",h.currentSheetIndex,d.dataVerification,{k:"dataVerification"}),$r.hyperlink=u,d.hyperlink=u,re.saveParam("all",h.currentSheetIndex,d.hyperlink,{k:"hyperlink"}),$l=setTimeout(function(){Le()},1)}function zn(e,a,t){let l={};p.execFunctionExist=[],clearTimeout($l);for(let u=e.range.row[0];u<=e.range.row[1];u++)for(let d=e.range.column[0];d<=e.range.column[1];d++)u+"_"+d+"_"+e.sheetIndex in l||(l[u+"_"+d+"_"+e.sheetIndex]=0,p.execFunctionExist.push({r:u,c:d,i:e.sheetIndex}));for(let u=a.range.row[0];u<=a.range.row[1];u++)for(let d=a.range.column[0];d<=a.range.column[1];d++)u+"_"+d+"_"+a.sheetIndex in l||(l[u+"_"+d+"_"+a.sheetIndex]=0,p.execFunctionExist.push({r:u,c:d,i:a.sheetIndex}));h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"pasteCut",source:e,target:a,RowlChange:t}));let n;if(h.currentSheetIndex==e.sheetIndex?(h.config=e.curConfig,n=e.curData.length,h.luckysheetfile[Z(a.sheetIndex)].config=a.curConfig):h.currentSheetIndex==a.sheetIndex&&(h.config=a.curConfig,n=a.curData.length,h.luckysheetfile[Z(e.sheetIndex)].config=e.curConfig),t){h.visibledatarow=[],h.rh_height=0;for(let u=0;u<n;u++){let d=h.defaultrowlen;if(h.config.rowlen!=null&&h.config.rowlen[u]!=null&&(d=h.config.rowlen[u]),h.config.rowhidden!=null&&h.config.rowhidden[u]!=null){d=h.config.rowhidden[u],h.visibledatarow.push(h.rh_height);continue}else h.rh_height+=d+1;h.visibledatarow.push(h.rh_height)}if(h.rh_height+=80,h.currentSheetIndex==e.sheetIndex){let u=ho(a.curData.length,a.curConfig);h.luckysheetfile[Z(a.sheetIndex)].visibledatarow=u}else if(h.currentSheetIndex==a.sheetIndex){let u=ho(e.curData.length,e.curConfig);h.luckysheetfile[Z(e.sheetIndex)].visibledatarow=u}}h.currentSheetIndex==e.sheetIndex?(h.flowdata=e.curData,h.luckysheetfile[Z(a.sheetIndex)].data=a.curData):h.currentSheetIndex==a.sheetIndex&&(h.flowdata=a.curData,h.luckysheetfile[Z(e.sheetIndex)].data=e.curData),xe.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[Z(h.currentSheetIndex)].data=h.flowdata,h.currentSheetIndex==a.sheetIndex?h.luckysheet_select_save=[{row:a.range.row,column:a.range.column}]:h.luckysheet_select_save=[{row:e.range.row,column:e.range.column}],h.luckysheet_select_save.length>0&&et(),h.luckysheetfile[Z(e.sheetIndex)].luckysheet_conditionformat_save=e.curCdformat,h.luckysheetfile[Z(a.sheetIndex)].luckysheet_conditionformat_save=a.curCdformat,h.currentSheetIndex==e.sheetIndex?Ye.dataVerification=e.curDataVerification:h.currentSheetIndex==a.sheetIndex&&(Ye.dataVerification=a.curDataVerification),h.luckysheetfile[Z(e.sheetIndex)].dataVerification=e.curDataVerification,h.luckysheetfile[Z(a.sheetIndex)].dataVerification=a.curDataVerification,p.execFunctionExist.reverse(),p.execFunctionGroup(null,null,null,null,a.curData),p.execFunctionGlobalData=null;let o=Z(h.currentSheetIndex),s=h.luckysheetfile[o];s.scrollTop=$("#luckysheet-cell-main").scrollTop(),s.scrollLeft=$("#luckysheet-cell-main").scrollLeft(),ye.showSheet(),$l=setTimeout(function(){Le()},1),ye.storeSheetParamALL(),re.saveParam("all",e.sheetIndex,e.curConfig,{k:"config"}),re.saveParam("all",a.sheetIndex,a.curConfig,{k:"config"}),re.historyParam(e.curData,e.sheetIndex,{row:e.range.row,column:e.range.column}),re.historyParam(a.curData,a.sheetIndex,{row:a.range.row,column:a.range.column}),re.saveParam("all",e.sheetIndex,e.curCdformat,{k:"luckysheet_conditionformat_save"}),re.saveParam("all",a.sheetIndex,a.curCdformat,{k:"luckysheet_conditionformat_save"}),re.saveParam("all",e.sheetIndex,e.curDataVerification,{k:"dataVerification"}),re.saveParam("all",a.sheetIndex,a.curDataVerification,{k:"dataVerification"})}function _t(e,a,t=!0){ua(e,a),clearTimeout($l),ye.storeSheetParam();let l=h.luckysheetfile[Z(h.currentSheetIndex)].calcChain;if(l!=null&&l.length>0){h.config.rowlen==null&&(h.config.rowlen={}),h.config.columnlen==null&&(h.config.columnlen={});for(let n=0;n<l.length;n++){let o=l[n].r,s=l[n].c;if(l[n].index==h.currentSheetIndex&&h.flowdata[o][s]!=null&&h.flowdata[o][s].spl!=null&&(o in h.config.rowlen||s in h.config.columnlen)){window.luckysheetCurrentRow=o,window.luckysheetCurrentColumn=s,window.luckysheetCurrentFunction=h.flowdata[o][s].f;let d=$.trim(p.functionParserExe(h.flowdata[o][s].f)),f=new Function("return "+d)();h.flowdata[o][s].spl=f,re.saveParam("v",h.currentSheetIndex,h.flowdata[o][s],{r:o,c:s})}}h.luckysheetfile[Z(h.currentSheetIndex)].data=h.flowdata}if(Be.positionSync(),et(),La(),$(".luckysheet-selection-copy").is(":visible")&&Mt(),$("#luckysheet-dropCell-icon").is(":visible")&&$("#luckysheet-dropCell-icon").remove(),W.freezenhorizontaldata!=null&&W.freezenverticaldata!=null){let n=W.freezenhorizontaldata[1]-1,o=W.freezenverticaldata[1]-1,s=W.freezenhorizontaldata[2],u=W.freezenverticaldata[2],d=h.visibledatarow[n]-2-s+h.columnHeaderHeight,f=[h.visibledatarow[n],n+1,s,W.cutVolumn(h.visibledatarow,n+1),d],m=h.visibledatacolumn[o]-2-u+h.rowHeaderWidth,g=[h.visibledatacolumn[o],o+1,u,W.cutVolumn(h.visibledatacolumn,o+1),m];W.saveFreezen(f,d,g,m),W.createFreezenHorizontal(f,d),W.createFreezenVertical(g,m),W.createAssistCanvas()}else if(W.freezenhorizontaldata!=null){let n=W.freezenhorizontaldata[1]-1,o=W.freezenhorizontaldata[2],s=h.visibledatarow[n]-2-o+h.columnHeaderHeight,u=[h.visibledatarow[n],n+1,o,W.cutVolumn(h.visibledatarow,n+1),s];W.saveFreezen(u,s,null,null),W.createFreezenHorizontal(u,s),W.createAssistCanvas()}else if(W.freezenverticaldata!=null){let n=W.freezenverticaldata[1]-1,o=W.freezenverticaldata[2],s=h.visibledatacolumn[n]-2-o+h.rowHeaderWidth,u=[h.visibledatacolumn[n],n+1,o,W.cutVolumn(h.visibledatacolumn,n+1),s];W.saveFreezen(null,null,u,s),W.createFreezenVertical(u,s),W.createAssistCanvas()}else $("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").length>0&&$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(n,o){let s=$(o).data("str"),u=$(o).data("cindex"),d=h.visibledatacolumn[u]-20,f=s-1==-1?0:h.visibledatarow[s-1];$(o).css({left:d,top:f})});if($("#luckysheet-filter-selected-sheet"+h.currentSheetIndex).length>0){let n=h.luckysheetfile[Z(h.currentSheetIndex)].filter_select,o=n.row[0],s=n.row[1],u=n.column[0],d=n.column[1],f=h.visibledatarow[s],m=o-1==-1?0:h.visibledatarow[o-1],g=h.visibledatacolumn[d],y=u-1==-1?0:h.visibledatacolumn[u-1];$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex).css({left:y,width:g-y-1,top:m,height:f-m-1})}ye.showSheet(),t&&($l=setTimeout(function(){Le()},1))}function Le(e,a){if(p.groupValuesRefresh(),e==null&&(e=$("#luckysheet-cell-main").scrollLeft()),a==null&&(a=$("#luckysheet-cell-main").scrollTop()),W.freezenverticaldata!=null||W.freezenhorizontaldata!=null){let t,l,n,o,s,u,d=h.luckysheetTableContentHW[0],f=h.luckysheetTableContentHW[1];W.freezenverticaldata!=null&&W.freezenhorizontaldata!=null?(t=W.freezenhorizontaldata[0],l=W.freezenhorizontaldata[1],n=W.freezenhorizontaldata[2],o=W.freezenverticaldata[0],s=W.freezenverticaldata[1],u=W.freezenverticaldata[2],tl(u,n,o,t,1,1,null,null,"freezen_3"),tl(e+o-u,n,d-o+u,t,1,1,null,null,"freezen_4"),tl(u,a+t-n,o,f-t+n,1,1,null,null,"freezen_7"),tl(e+o-u,a+t-n,d-o+u,f-t+n,o-u+h.rowHeaderWidth,t-n+h.columnHeaderHeight),on(u,o,h.rowHeaderWidth),on(e+o-u,d-o+u,o-u+h.rowHeaderWidth),nn(n,t,h.columnHeaderHeight),nn(a+t-n,f-t+n,t-n+h.columnHeaderHeight)):W.freezenhorizontaldata!=null?(t=W.freezenhorizontaldata[0],l=W.freezenhorizontaldata[1],n=W.freezenhorizontaldata[2],tl(e,n,d,t,1,1,null,null,"freezen_h"),tl(e,a+t-n,d,f-t+n,null,t-n+h.columnHeaderHeight),on(e,d,null),nn(n,t,h.columnHeaderHeight),nn(a+t-n,f-t+n,t-n+h.columnHeaderHeight)):W.freezenverticaldata!=null&&(o=W.freezenverticaldata[0],s=W.freezenverticaldata[1],u=W.freezenverticaldata[2],tl(u,a,o,f,1,1,null,null,"freezen_v"),tl(e+o-u,a,d-o+u,f,o-u+h.rowHeaderWidth,null),nn(a,f,null),on(u,o,h.rowHeaderWidth),on(e+o-u,d-o+u,o-u+h.rowHeaderWidth))}else{if($("#luckysheetTableContent").length==0)return;let t=$("#luckysheetTableContent").get(0).getContext("2d");tl(e,a),on(e),nn(a),t.clearRect(0,0,h.rowHeaderWidth*h.devicePixelRatio-1,h.columnHeaderHeight*h.devicePixelRatio-1)}}var $l,Yt=Ae(()=>{_i();Vt();Kt();_l();Wt();cl();ko();Or();Zt();hr();Hl();dl();Pn();Xt();fa();Rt();Ke();$l=null});function uf(e,a,t){return new Promise((l,n)=>{let o=new XMLHttpRequest||new ActiveXObject("Microsoft.XMLHTTP");o.open(e,a),o.send(JSON.stringify(t)),o.onreadystatechange=function(){o.readyState==4&&(o.status==200?l(o.responseText):n("error"))}})}var hf=Ae(()=>{});var nc,Di,sn,re,Zt=Ae(()=>{nc=Er(gd());Is();Yt();Kt();jt();hr();lr();fa();Or();Hl();Ol();dl();Pn();dt();Rt();Ke();Xt();bt();Di=Er(ha());qn();xr();hf();Wr();sn={gridKey:null,loadUrl:null,updateUrl:null,updateImageUrl:null,title:null,loadSheetUrl:null,retryTimer:null,allowUpdate:!1,historyParam:function(e,a,t){let l=this,n=t.row[0],o=t.row[1],s=t.column[0],u=t.column[1];if(n==o&&s==u){let d=e[n][s];l.saveParam("v",a,d,{r:n,c:s})}else{let d=o-n+1,f=u-s+1,m=Math.floor(1e3/f),g=Math.ceil(d/m);for(let y=0;y<g;y++){let v=n+m*y,b;y==g-1?b=o:b=n+m*(y+1)-1;let k=[];for(let x=v;x<=b;x++){let w=[];for(let _=s;_<=u;_++)e[x]==null?w.push(null):w.push(e[x][_]);k.push(w)}l.saveParam("rv",a,k,{range:{row:[v,b],column:[s,u]}}),y==g-1&&l.saveParam("rv_end",a,null)}}},saveParam:function(e,a,t,l){let n=this;if(!n.allowUpdate)return;t==null&&(t=null);let o={};if(o.t=e,o.i=a,o.v=t,e==="shs")return;e=="rv"?o.range=l.range:e=="v"||e=="fu"||e=="fm"?(o.r=l.r,o.c=l.c):e=="fc"?(o.op=l.op,o.pos=l.pos):e=="drc"||e=="arc"||e=="h"||e=="wh"?o.rc=l.rc:e=="c"?(o.cid=l.cid,o.op=l.op):e=="f"?(o.op=l.op,o.pos=l.pos):e=="s"||(e=="sh"?(o.op=l.op,l.cur!=null&&(o.cur=l.cur)):(e=="cg"||e=="all")&&(o.k=l.k));let s=fe.imageUpdateMethodConfig;if(JSON.stringify(s)!=="{}")if(o.k!="images"){let u=nc.default.gzip(encodeURIComponent(JSON.stringify(o)),{to:"string"});n.websocket!=null&&n.websocket.send(u)}else uf(s.method,s.url,o).then(u=>{console.log(u)}).catch(u=>{console.log(u)});else{let u=nc.default.gzip(encodeURIComponent(JSON.stringify(o)),{to:"string"});n.websocket!=null&&n.websocket.send(u)}},websocket:null,wxErrorCount:0,openWebSocket:function(){let e=this;if("WebSocket"in window){let a=e.updateUrl+"?t=111&g="+encodeURIComponent(e.gridKey);e.updateUrl.indexOf("?")>-1&&(a=e.updateUrl+"&t=111&g="+encodeURIComponent(e.gridKey)),e.websocket=new WebSocket(a),e.websocket.onopen=function(){console.info(Q().websocket.success),bi(),e.wxErrorCount=0,e.retryTimer=setInterval(function(){e.websocket.send("rub")},6e4)},e.websocket.onmessage=function(t){h.result=t;let l=new Function("return "+t.data)();ut.createHookFunction("cooperativeMessage",l),console.info(l);let n=l.type,{message:o,id:s}=l;if(o==="\u7528\u6237\u9000\u51FA"&&($("#luckysheet-multipleRange-show-"+s).hide(),h.cooperativeEdit.changeCollaborationSize=h.cooperativeEdit.changeCollaborationSize.filter(u=>u.id!=s),h.cooperativeEdit.checkoutData=h.cooperativeEdit.checkoutData.filter(u=>u.id!=s)),n==1){let u=l.data.v.index,d=h.luckysheetfile.filter(f=>f.index===u)[0];d!==null&&setTimeout(()=>{let f=l.data.i;d.index=f,h.currentSheetIndex=f,$(`#luckysheet-sheets-item${u}`).attr("data-index",f),$(`#luckysheet-sheets-item${u}`).prop("id",`luckysheet-sheets-item${f}`),$(`#luckysheet-datavisual-selection-set-${u}`).prop("id",`luckysheet-datavisual-selection-set-${f}`)},1)}else if(n==2){let u=JSON.parse(l.data);e.wsUpdateMsg(u);let d=JSON.parse(l.data);d.k=="columnlen"?La(d.v,null):d.k=="rowlen"&&La(null,d.v)}else if(n==3){let u=l.id,d=l.username,f=JSON.parse(l.data),m=f.t,g=f.i,y=f.v;h.cooperativeEdit.changeCollaborationSize.length===0&&h.cooperativeEdit.changeCollaborationSize.push({id:u,v:f.v[0],i:g}),h.cooperativeEdit.changeCollaborationSize.some(w=>w.id==u)?h.cooperativeEdit.changeCollaborationSize.forEach(w=>{w.id==u&&(w.v=f.v[0],w.i=g)}):h.cooperativeEdit.changeCollaborationSize.push({id:u,v:f.v[0],i:g}),P(y)!="array"&&P(y)!=="object"&&(y=JSON.parse(y));let b=0,k=0;if(g==h.currentSheetIndex?P(y)==="object"&&y.op==="enterEdit"?(b=y.range[y.range.length-1].row[0],k=y.range[y.range.length-1].column[0],e.multipleRangeShow(u,d,b,k,y.op)):(b=y[y.length-1].row[0],k=y[y.length-1].column[0],e.multipleRangeShow(u,d,b,k)):P(y)==="object"&&y.op==="enterEdit"?(b=y.range[y.range.length-1].row[0],k=y.range[y.range.length-1].column[0]):(b=y[y.length-1].row[0],k=y[y.length-1].column[0]),h.cooperativeEdit.checkoutData.length===0&&(y.op?h.cooperativeEdit.checkoutData.push({id:u,username:d,r:b,c:k,op:y.op,index:g}):h.cooperativeEdit.checkoutData.push({id:u,username:d,r:b,c:k,index:g})),h.cooperativeEdit.checkoutData.some(w=>w.id==u)?h.cooperativeEdit.checkoutData.forEach(w=>{w.id==u&&(w.username=d,w.r=b,w.c=k,w.index=g,y.op==="enterEdit"&&(w.op=y.op))}):y.op==="enterEdit"?h.cooperativeEdit.checkoutData.push({id:u,username:d,r:b,c:k,op:y.op,index:g}):h.cooperativeEdit.checkoutData.push({id:u,username:d,r:b,c:k,index:g}),h.cooperativeEdit.checkoutData.forEach(w=>{w.index!=h.currentSheetIndex&&($("#luckysheet-multipleRange-show-"+w.id).hide(),w.op=="")}),$("#luckysheet-multipleRange-show-"+u)[0]){let w=$("#luckysheet-multipleRange-show-"+u)[0].offsetHeight-1;$("#luckysheet-multipleRange-show-"+u+">.username").css({bottom:w+"px"})}}else if(n==4){let u=l.data===""?l.data:JSON.parse(l.data);for(let d=0;d<u.length;d++)e.wsUpdateMsg(item[d])}else n==5?Tn(l.data):n==6&&bi()},e.websocket.onerror=function(){e.wxErrorCount++,e.wxErrorCount>3?Tn(Q().websocket.refresh):(Tn(Q().websocket.wait),e.openWebSocket())},e.websocket.onclose=function(t){console.info(Q().websocket.close),t.code===1e3?(clearInterval(e.retryTimer),e.retryTimer=null):alert(Q().websocket.contact)}}else alert(Q().websocket.support)},wsUpdateMsg:function(e){let a=e.t,t=e.i,l=e.v,n=h.luckysheetfile[Z(t)];if(!(["v","rv","cg","all","fc","drc","arc","f","fsc","fsr","sh","c"].includes(a)&&n==null))if(a=="v"){if(n.data==null||n.data.length==0)return;let o=e.r,s=e.c;n.data[o][s]=l,t==h.currentSheetIndex&&(h.flowdata=n.data,xe.webWorkerFlowDataCache(h.flowdata),l!=null&&l.ps!=null?Be.buildPs(o,s,l.ps):Be.buildPs(o,s,null),setTimeout(function(){Le()},1))}else if(a=="rv"){if(Object.keys(e.range).length>0&&(h.cooperativeEdit.merge_range=e.range,h.cooperativeEdit.merge_range.v=e.v,La()),n.data==null||n.data.length==0)return;let o=e.range.row[0],s=e.range.row[1],u=e.range.column[0],d=e.range.column[1];for(let f=o;f<=s;f++)for(let m=u;m<=d;m++)n.data[f][m]=l[f-o][m-u];if(t==h.currentSheetIndex){h.flowdata=n.data,xe.webWorkerFlowDataCache(h.flowdata);for(let f=o;f<=s;f++)for(let m=u;m<=d;m++)l[f-o][m-u]!=null&&l[f-o][m-u].ps!=null?Be.buildPs(f,m,l[f-o][m-u].ps):Be.buildPs(f,m,null);setTimeout(function(){Le()},1)}}else if(a=="cg"){let o=e.k;o=="borderInfo"?n.config.borderInfo=l:(o in n.config||(n.config[o]={}),l&&typeof l=="object"&&(n.config[o]=l)),t==h.currentSheetIndex&&(h.config=n.config,(o=="rowlen"||o=="columnlen"||o=="rowhidden")&&_t(h.flowdata.length,h.flowdata[0].length),setTimeout(function(){Le()},1))}else if(a=="all"){let o=e.k;if(n[o]=l,o=="name")$("#luckysheet-sheet-container-c #luckysheet-sheets-item"+t).find("span.luckysheet-sheets-item-name").html(l);else if(o=="color"){let s=$("#luckysheet-sheet-container-c #luckysheet-sheets-item"+t);s.find(".luckysheet-sheets-item-color").remove(),(l!=null||l!="")&&s.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+l+';"></div>')}else if(o!="pivotTable")if(o=="frozen"){if(W.frozenTofreezen(),t==h.currentSheetIndex){let u=Q().freezen;n.freezen.horizontal==null?($("#luckysheet-freezen-btn-horizontal").html('<i class="fa fa-list-alt"></i> '+u.freezenRow),W.freezenhorizontaldata=null,$("#luckysheet-freezebar-horizontal").hide()):W.createFreezenHorizontal(n.freezen.horizontal.freezenhorizontaldata,n.freezen.horizontal.top),n.freezen.vertical==null?($("#luckysheet-freezen-btn-vertical").html('<i class="fa fa-indent"></i> '+u.freezenColumn),W.freezenverticaldata=null,$("#luckysheet-freezebar-vertical").hide()):W.createFreezenVertical(n.freezen.vertical.freezenverticaldata,n.freezen.vertical.left),W.createAssistCanvas()}}else o=="filter_select"?t==h.currentSheetIndex&&Rr(l):o=="filter"?t==h.currentSheetIndex&&Rr(n.filter_select,l):o=="luckysheet_conditionformat_save"?t==h.currentSheetIndex&&setTimeout(function(){Le()},1):o=="luckysheet_alternateformat_save"?t==h.currentSheetIndex&&setTimeout(function(){Le()},1):o=="config"?t==h.currentSheetIndex&&(h.config=l,_t(h.flowdata.length,h.flowdata[0].length)):o=="dynamicArray"?t==h.currentSheetIndex&&setTimeout(function(){Le()},1):o=="images"?t==h.currentSheetIndex&&(Re.images=l,Re.allImagesShow(),Re.init()):o=="dataVerification"?t==h.currentSheetIndex&&(Ye.dataVerification=l,Ye.init()):o=="hyperlink"&&t==h.currentSheetIndex&&($r.hyperlink=l,$r.init())}else if(a=="fc"){let o=e.op,s=e.pos;P(l)!="object"&&(l=new Function("return "+l)());let u=l.r,d=l.c,f=n.calcChain==null?[]:n.calcChain;if(o=="add")f.push(l);else if(o=="del")for(let m=0;m<f.length;m++)u==f[m].r&&d==f[m].c&&t==f[m].index&&f.splice(m,1);setTimeout(function(){Le()},1)}else if(a=="drc"){if(n.data==null||n.data.length==0)return;let o=e.rc,s=l.index,u=l.len,d=l.mc,f=l.borderInfo,m=n.data;if(o=="r"){n.row-=u,m.splice(s,u);let g=[];for(let y=0;y<m[0].length;y++)g.push(null);for(let y=0;y<u;y++)m.push(g)}else{n.column-=u;let g=[];for(let y=0;y<u;y++)g.push(null);for(let y=0;y<m.length;y++)m[y].splice(s,u),m[y]=m[y].concat(g)}for(let g in d){let y=d[g].r,v=d[g].c;m[y][v].mc=d[g]}n.config.merge=d,n.config.borderInfo=f,t==h.currentSheetIndex&&(h.flowdata=m,xe.webWorkerFlowDataCache(h.flowdata),h.config.merge=d,h.config.borderInfo=f,setTimeout(function(){Le()},1))}else if(a=="arc"){if(n.data==null||n.data.length==0)return;let o=e.rc,s=l.index,u=l.len,d=l.data,f=l.direction,m=l.mc,g=l.borderInfo,y=$.extend(!0,[],n.data);if(o=="r"){n.row+=u;let v=[];for(let k=0;k<y[0].length;k++)v.push(null);let b=[];for(let k=0;k<u;k++)d[k]==null?b.push(JSON.stringify(v)):b.push(JSON.stringify(d[k]));f=="lefttop"?s==0?new Function("data","return data.unshift("+b.join(",")+")")(y):new Function("data","return data.splice("+s+", 0, "+b.join(",")+")")(y):new Function("data","return data.splice("+(s+1)+", 0, "+b.join(",")+")")(y)}else{n.column+=u;for(let v=0;v<y.length;v++)for(let b=0;b<u;b++)f=="lefttop"?y[v].splice(s,0,d[b]):y[v].splice(s+1,0,d[b])}for(let v in m){let b=m[v].r,k=m[v].c;y[b][k].mc=m[v]}n.data=y,n.config.merge=m,n.config.borderInfo=g,t==h.currentSheetIndex&&(h.flowdata=y,xe.webWorkerFlowDataCache(h.flowdata),h.config.merge=m,h.config.borderInfo=g,setTimeout(function(){Le()},1))}else if(a=="f"){let o=e.op,s=e.pos,u=n.filter;u==null&&(u={}),o=="upOrAdd"?u[s]=l:o=="del"&&delete u[s],t==h.currentSheetIndex&&Rr(n.filter_select,u)}else if(a=="fsc")n.filter=null,n.filter_select=null,t==h.currentSheetIndex&&($("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide());else if(a=="fsr")n.filter=l.filter,n.filter_select=l.filter_select,t==h.currentSheetIndex&&Rr(n.filter_select,n.filter);else if(a=="sha"){h.luckysheetfile.push(l);let o="";l.color!=null&&(o='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+l.color+';"></div>'),$("#luckysheet-sheet-container-c").append(we(Kr,{index:l.index,active:"",name:l.name,style:"",colorset:o})),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+l.index+'" class="luckysheet-datavisual-selection-set"></div>')}else if(a=="shc"){let o=l.copyindex,s=l.name,u=Z(o),d=$.extend(!0,{},h.luckysheetfile[u]);d.index=t,d.name=s,h.luckysheetfile.splice(u+1,0,d);let f=$("#luckysheet-sheets-item"+o);$("#luckysheet-sheet-container-c").append(we(Kr,{index:d.index,active:"",name:d.name,style:"",colorset:""})),$("#luckysheet-sheets-item"+d.index).insertAfter(f),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+d.index+'" class="luckysheet-datavisual-selection-set"></div>')}else if(a=="shd"){for(let o=0;o<h.luckysheetfile.length;o++)if(h.luckysheetfile[o].index==l.deleIndex){if(h.currentSheetIndex===l.deleIndex){let s=l.deleIndex;h.luckysheetfile[ye.getSheetIndex(s)].hide=1;let u=$("#luckysheet-sheets-item"+s);u.hide(),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active");let d=u.nextAll(":visible");u.nextAll(":visible").length>0?d=d.eq(0).data("index"):d=u.prevAll(":visible").eq(0).data("index"),$("#luckysheet-sheets-item"+d).addClass("luckysheet-sheets-item-active"),ye.changeSheetExec(d)}sn.sheetDeleSave.push(h.luckysheetfile[o]),h.luckysheetfile.splice(o,1);break}$("#luckysheet-sheets-item"+l.deleIndex).remove(),$("#luckysheet-datavisual-selection-set-"+l.deleIndex).remove()}else if(a=="shr")for(let o in l)h.luckysheetfile[Z(o)].order=l[o];else if(a=="shre"){for(let o=0;o<sn.sheetDeleSave.length;o++)if(sn.sheetDeleSave[o].index==l.reIndex){let s=sn.sheetDeleSave[o];h.luckysheetfile.push(s);let u="";l.color!=null&&(u='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+s.color+';"></div>'),$("#luckysheet-sheet-container-c").append(we(Kr,{index:s.index,active:"",name:s.name,style:"",colorset:u})),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+s.index+'" class="luckysheet-datavisual-selection-set"></div>');break}}else if(a=="sh"){let o=e.op,s=e.cur;o=="hide"?(n.hide=1,$("#luckysheet-sheets-item"+t).hide(),t==h.currentSheetIndex&&($("#luckysheet-sheets-item"+s).addClass("luckysheet-sheets-item-active"),ye.changeSheetExec(s))):o=="show"&&(n.hide=0,$("#luckysheet-sheets-item"+t).show())}else if(a=="c"){let o=e.op,s=e.cid;if(o=="add")n.chart.push(l),luckysheet.insertChartTosheet(l.sheetIndex,l.dataSheetIndex,l.option,l.chartType,l.selfOption,l.defaultOption,l.row,l.column,l.chart_selection_color,l.chart_id,l.chart_selection_id,l.chartStyle,l.rangeConfigCheck,l.rangeRowCheck,l.rangeColCheck,l.chartMarkConfig,l.chartTitleConfig,l.winWidth,l.winHeight,l.scrollLeft1,l.scrollTop1,l.chartTheme,l.myWidth,l.myHeight,l.myLeft,l.myTop,l.myindexrank1,!0);else if(o=="xy"||o=="wh"||o=="update")for(let u=0;u<n.chart.length;u++){let d=n.chart[u];if(d.chart_id==s){for(let f in d)for(let m in l)f==m&&(d[f]=l[m]);ye.saveChart(d);return}}else if(o=="del"){for(let u=0;u<n.chart.length;u++)if(n.chart[u].chart_id==s){n.chart.splice(u,1),$("#"+s).remove(),ye.delChart($("#"+s).attr("chart_id"),$("#"+s).attr("sheetIndex"));return}}}else a=="na"&&$("#luckysheet_info_detail_input").val(l).css("width",cn(l)*10)},multipleIndex:0,multipleRangeShow:function(e,a,t,l,n){let o=this,s=h.visibledatarow[t],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[l],f=l-1==-1?0:h.visibledatacolumn[l-1],m=be.mergeborer(h.flowdata,t,l);if(m&&(s=m.row[1],u=m.row[0],d=m.column[1],f=m.column[0]),cn(a)>16&&(a=cn(a,16)+"..."),n==="enterEdit"&&(a+=" "+Q().edit.typing),$("#luckysheet-multipleRange-show-"+e).length>0)$("#luckysheet-multipleRange-show-"+e).css({position:"absolute",left:f-1,width:d-f-1,top:u-1,height:s-u-1}),$("#luckysheet-multipleRange-show-"+e+" .username").text(a),$("#luckysheet-multipleRange-show-"+e+" .username").show(),h.cooperativeEdit.usernameTimeout["user"+e]!=null&&clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=setTimeout(()=>{clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=null},10*1e3);else{let g=`<div
id="luckysheet-multipleRange-show-${e}"
class="luckysheet-multipleRange-show"
data-color="${Vr[o.multipleIndex]}"
title="${a}"
style="position: absolute;left: ${f-1}px;width: ${d-f-1}px;top: ${u-1}px;height: ${s-u-1}px;border: 1px solid ${Vr[o.multipleIndex]};z-index: 15;">
<div class="username" style="height: 19px;line-height:19px;width: max-content;position: absolute;bottom: ${s-u-1}px;right: 0;background-color: ${Vr[o.multipleIndex]};color:#ffffff;padding:0 10px;">
${a}
</div>
<div style="width: 100%;height: 100%;position: absolute;top: 0;right: 0;bottom: 0;left: 0;opacity: 0.03;background-color: ${Vr[o.multipleIndex]}">
</div>
</div>`;$(g).appendTo($("#luckysheet-cell-main #luckysheet-multipleRange-show")),o.multipleIndex++,h.cooperativeEdit.usernameTimeout["user"+e]!=null&&clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=setTimeout(()=>{clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=null},10*1e3)}},sheetDeleSave:[],submitInterval:1e3,imagesubmitInterval:5e3,submitdatalimit:50,submitcompresslimit:1e3,checksubmit:function(e){let a=this;a.submitTimeout(),clearTimeout(a.imageRequestTimeout),a.imageRequestTimeout=setTimeout(function(){a.imageRequest()},a.imagesubmitInterval)},submitTimeout:function(){let e=this;clearTimeout(e.requestTimeOut),!e.requestLock&&e.requestlast!=null&&e.requestlast.clone().add(1,"seconds").isBefore((0,Di.default)())&&e.request(),e.requestTimeOut=setTimeout(function(){e.submitTimeout()},e.submitInterval)},requestLock:!1,requestlast:null,firstchange:!0,requestTimeOut:null,request:function(){let e=this,t=this.gridKey+"__qkcache";e.cachelocaldata(function(l,n){if(n.length==0)return;n=encodeURIComponent(JSON.stringify(n));let o=n.length,s=!1;e.requestLock=!0,e.updateUrl!=""&&$.post(e.updateUrl,{compress:s,gridKey:e.gridKey,data:n},function(u){new Function("return "+u)().status?($("#luckysheet_info_detail_update").html("\u6700\u8FD1\u5B58\u6863\u65F6\u95F4:"+(0,Di.default)().format("M-D H:m:s")),$("#luckysheet_info_detail_save").html("\u540C\u6B65\u6210\u529F"),e.clearcachelocaldata()):($("#luckysheet_info_detail_save").html("<span style='color:#ff2121'>\u540C\u6B65\u5931\u8D25</span>"),e.restorecachelocaldata()),e.requestlast=(0,Di.default)(),e.requestLock=!1})})},imageRequestLast:null,imageRequestLock:!1,imageRequestTimeout:null,imageRequest:function(){let e=this;html2canvas($("#"+container).find(".luckysheet-grid-window").get(0),{onrendered:function(a){let t=$(a).appendTo("body");t.hide();let l=t.width(),n=t.height(),o=t.get(0).getContext("2d").getImageData(0,0,l,n),s=l,u=n;s*.54>u?s=u/.54:u=s*.54;let d=$("<canvas>").attr("width",s).attr("height",u)[0];d.getContext("2d").putImageData(o,0,0),t.attr("width",350),t.attr("height",189),t.get(0).getContext("2d").drawImage(d,0,0,350,189);let f=t.get(0).toDataURL("image/jpeg",.9),m=luckysheet.sheetmanage.getCurSheetnoset();e.imageRequestLock=!0;let g=encodeURIComponent(JSON.stringify({t:"thumb",img:f,curindex:m}));t.remove(),e.updateImageUrl!=""&&$.post(e.updateImageUrl,{compress:!1,gridKey:e.gridKey,data:g},function(y){new Function("return "+y)().status?imageRequestLast=(0,Di.default)():$("#luckysheet_info_detail_save").html("<span style='color:#ff2121'>\u7F51\u7EDC\u4E0D\u7A33\u5B9A</span>"),e.imageRequestLock=!0})}})},localdata:[],matchOpt:function(e,a){for(let t in e){if(t=="t"&&e.t in{drc:1,arc:1,sha:1,shc:1,shd:1})return!1;if(t!="v"&&(!(t in a)||a[t]!=e[t]))return!1}return!0},deleteRepeatOpt:function(e,a){let t=e,l=this;if(a instanceof Array)for(let o=0;o<a.length;o++){let s=a[o];for(let u=0;u<t.length;u++){let d=e[o];l.matchOpt(s,d)&&delete t[u]}}else for(let o=0;o<t.length;o++){let s=t[o];l.matchOpt(a,s)&&delete t[o]}let n=[];for(let o=0;o<t.length;o++)t[o]!=null&&n.push(t[o]);return n},setlocaldata:function(e,a){let t=this.gridKey,l=this;l.getlocaldata(function(n){n==null&&(n=[]),e instanceof Array?n=n.concat(e):n.push(e),l.localdata=n,a(l.localdata)})},getlocaldata:function(e){let a=this.gridKey;e(this.localdata)},clearlocaldata:function(e){let a=this.gridKey;this.localdata=[],e()},cachelocaldata:function(e){let a=this.gridKey,t=this,l=a+"__qkcache",n=t.localdata,o=n.length;if(o>1){let s=[];s[0]=n[0];for(let u=1;u<o;u++){let d=n[u],f=!0;for(let m=0;m<s.length;m++){let g=s[m];if(t.matchOpt(d,g)){s.splice(m,1,d),f=!1;break}}f&&(s=s.concat(d))}n=s}n==null||n.length==0||t.clearlocaldata(function(){localforage.setItem(l,n).then(function(){e(l,n)})})},clearcachelocaldata:function(e){let t=this.gridKey+"__qkcache";localforage.removeItem(t,function(l,n){e&&typeof e=="function"&&e()})},restorecachelocaldata:function(e){let t=this.gridKey+"__qkcache",l=this;localforage.getItem(t).then(function(n){let o=n;l.getlocaldata(function(s){s==null&&(s=[]);let u=o.concat(s);l.localdata=u,e instanceof Function&&e(l.localdata)})})},keepHighLightBox:function(){h.cooperativeEdit.checkoutData.forEach(e=>{e.index==h.currentSheetIndex&&(e.op==="enterEdit"?sn.multipleRangeShow(e.id,e.username,e.r,e.c,e.op):sn.multipleRangeShow(e.id,e.username,e.r,e.c))})}},re=sn});var Gy,j,ar=Ae(()=>{jt();mn();dt();bt();Zt();Gy={info:function(e,a){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-info").remove();let l=Q().button;$("body").append(we(ft,{id:"luckysheet-info",addclass:"",title:e,content:a,botton:'<button class="btn btn-default luckysheet-model-close-btn">&nbsp;&nbsp;'+l.close+"&nbsp;&nbsp;</button>",style:"z-index:100003"}));let n=$("#luckysheet-info").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-info").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},confirm:function(e,a,t,l,n,o){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-confirm").remove();let u=Q().button;n==null&&(n=u.confirm),o==null&&(o=u.cancel),$("body").append(we(ft,{id:"luckysheet-confirm",addclass:"",style:"z-index:100003",title:e,content:a,botton:'<button class="btn btn-primary luckysheet-model-conform-btn">&nbsp;&nbsp;'+n+'&nbsp;&nbsp;</button><button class="btn btn-default luckysheet-model-cancel-btn">&nbsp;&nbsp;'+o+"&nbsp;&nbsp;</button>"}));let d=$("#luckysheet-confirm").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),f=d.outerHeight(),m=d.outerWidth(),g=$(window).width(),y=$(window).height(),v=$(document).scrollLeft(),b=$(document).scrollTop();$("#luckysheet-confirm").css({left:(g+v-m)/2,top:(y+b-f)/3}).show(),d.find(".luckysheet-model-conform-btn").click(function(){typeof t=="function"&&t(),re.keepHighLightBox(),$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()}),d.find(".luckysheet-model-cancel-btn").click(function(){typeof l=="function"&&l(),$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()})},screenshot:function(e,a,t){let n=Q().screenshot;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-confirm").remove(),$("body").append(we(ft,{id:"luckysheet-confirm",addclass:"",style:"z-index:100003",title:e,content:a,botton:'<a style="text-decoration:none;color:#fff;" class="download btn btn-primary luckysheet-model-conform-btn">&nbsp;&nbsp;'+n.downLoadBtn+'&nbsp;&nbsp;</a>&nbsp;&nbsp;<button class="btn btn-primary luckysheet-model-copy-btn">&nbsp;&nbsp;'+n.downLoadCopy+'&nbsp;&nbsp;</button><button class="btn btn-default luckysheet-model-cancel-btn">&nbsp;&nbsp;'+n.downLoadClose+"&nbsp;&nbsp;</button>"}));let o=$("#luckysheet-confirm").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-confirm").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),o.find(".luckysheet-model-conform-btn").click(function(){ol.isIE()=="1"?alert(n.browserNotTip):(!!window.ActiveXObject||"ActiveXObject"in window)&&($("#IframeReportImg").length===0&&$('<iframe style="display:none;" id="IframeReportImg" name="IframeReportImg" onload="downloadImg();" width="0" height="0" src="about:blank"></iframe>').appendTo("body"),$("#IframeReportImg").attr("src")!=t?$("#IframeReportImg").attr("src",t):$("#IframeReportImg").src!="about:blank"&&window.frames.IframeReportImg.document.execCommand("SaveAs"))}),o.find(".luckysheet-model-cancel-btn").click(function(){$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()}),$("#luckysheet-confirm .luckysheet-model-copy-btn").click(function(){let y=new clipboard.DT;y.setData("text/html","<img src='"+t+"'>"),ol.isIE()=="1"?alert(n.rightclickTip):(clipboard.write(y),alert(n.successTip))})},chartPointConfig:function(e,a,t){$("body").append(we(ft,{id:e,addclass:"luckysheet-chart-point-config-c",title:"\u6570\u636E\u70B9\u6279\u91CF\u8BBE\u7F6E",content:Cu,botton:'<button class="btn btn-danger luckysheet-model-save-btn">&nbsp;&nbsp;\u4FDD\u5B58\u8BBE\u7F6E&nbsp;&nbsp;</button><button class="btn btn-default luckysheet-model-close-btn">&nbsp;&nbsp;\u53D6\u6D88&nbsp;&nbsp;</button>',style:"z-index:100003;height:80%;width:80%;top:10%;left:10%;"})),$("#luckysheet-modal-dialog-mask").show();let l=$(window).width(),n=$(window).height();$("#"+e).find(".luckysheet-chart-point-config").css("height",n-160),$("#"+e).css({height:n-90,width:l-100,left:7,top:14}).show().find(".luckysheet-model-save-btn").click(function(){typeof a=="function"&&a(),$("#"+e).hide(),$("#luckysheet-modal-dialog-mask").hide()}),$("#"+e).find(".luckysheet-model-save-btn").click(function(){typeof t=="function"&&t(),$("#"+e).hide(),$("#luckysheet-modal-dialog-mask").hide()})},sheetConfig:function(){},hoverTipshowState:!1,hoverTipshowTimeOut:null,createHoverTip:function(e,a){let t=this;$(e).on("mouseover",a,function(l){t.hoverTipshowState||(clearTimeout(t.hoverTipshowTimeOut),t.hoverTipshowTimeOut=setTimeout(function(){let n=$(l.currentTarget),o=n.offset(),s=$("#luckysheet-tooltip-up"),u=n.data("tips");if((u==null||u.length==0)&&(u=n.prev().data("tips"),u==null||u.length==0))return;s.length==0&&($("body").append(Tu),s=$("#luckysheet-tooltip-up")),s.removeClass("jfk-tooltip-hide").find("div.jfk-tooltip-contentId").html(u);let d=s.outerWidth();s.find("div.jfk-tooltip-arrow").css("left",d/2);let f=o.left+(n.outerWidth()-d)/2;f<2&&(f=2,s.find("div.jfk-tooltip-arrow").css("left",n.outerWidth()/2)),s.css({top:o.top+n.outerHeight()+1,left:f})},300))}).on("mouseout",a,function(l){t.hoverTipshowState=!1,clearTimeout(t.hoverTipshowTimeOut),$("#luckysheet-tooltip-up").addClass("jfk-tooltip-hide")}).on("click",a,function(l){t.hoverTipshowState=!0,clearTimeout(t.hoverTipshowTimeOut),$("#luckysheet-tooltip-up").addClass("jfk-tooltip-hide")})},popover:function(e,a,t,l,n,o){let s=Q(),u=s.button,d=s.paint;n==null&&(n=u.close);let f='<div id="luckysheetpopover" class="luckysheetpopover"><div class="luckysheetpopover-content">'+d.start+'</div><div class="luckysheetpopover-btn">'+n+"</div></div>";$("#luckysheetpopover").remove(),$("body").append(f),$("#luckysheetpopover .luckysheetpopover-content").html(e);let m=$("#luckysheetpopover").outerWidth(),g=$("#luckysheetpopover").outerHeight(),y={};a=="topLeft"?(y.top="20px",y.left="20px"):a=="topCenter"?(y.top="20px",y.left="50%",y["margin-left"]=-m/2):a=="topRight"?(y.top="20px",y.right="20px"):a=="midLeft"?(y.top="50%",y["margin-top"]=-g/2,y.left="20px"):a=="center"?(y.top="50%",y["margin-top"]=-g/2,y.left="50%",y["margin-left"]=-m/2):a=="midRight"?(y.top="50%",y["margin-top"]=-g/2,y.right="20px"):a=="bottomLeft"?(y.bottom="20px",y.left="20px"):a=="bottomCenter"?(y.bottom="20px",y.left="50%",y["margin-left"]=-m/2):a=="bottomRight"?(y.bottom="20px",y.right="20px"):(y.top="20px",y.left="50%",y["margin-left"]=-m/2),l=="white"&&(y.background="rgba(255, 255, 255, 0.65)",y.color="#000",$("#luckysheetpopover .luckysheetpopover-btn").css({border:"1px solid #000"})),setTimeout(function(){$("#luckysheetpopover .luckysheetpopover-content").css({"margin-left":-$("#luckysheetpopover .luckysheetpopover-btn").outerWidth()/2})},1),$("#luckysheetpopover").css(y).fadeIn(),$("#luckysheetpopover .luckysheetpopover-btn").click(function(){typeof o=="function"&&o()}),t!=null&&typeof t=="number"&&setTimeout(function(){$("#luckysheetpopover").fadeOut().remove(),typeof o=="function"&&o()},t)}},j=Gy});var xo,Wy,$e,hl=Ae(()=>{Rt();dt();Vt();At();ar();Yt();Wt();Ir();jt();Zt();Xt();hr();bt();Dr();Ke();xo=Er(ha()),Wy={fileClone:[],editorRule:null,ruleTypeHtml:function(){let e=Q().conditionformat;return`<div class="ruleTypeBox">
<div class="ruleTypeItem">
<span class="icon iconfont luckysheet-iconfont-youjiantou"></span>
<span>${e.ruleTypeItem1}</span>
</div>
<div class="ruleTypeItem">
<span class="icon iconfont luckysheet-iconfont-youjiantou"></span>
<span>${e.ruleTypeItem2}</span>
</div>
<div class="ruleTypeItem">
<span class="icon iconfont luckysheet-iconfont-youjiantou"></span>
<span>${e.ruleTypeItem3}</span>
</div>
<div class="ruleTypeItem">
<span class="icon iconfont luckysheet-iconfont-youjiantou"></span>
<span>${e.ruleTypeItem4}</span>
</div>
<div class="ruleTypeItem">
<span class="icon iconfont luckysheet-iconfont-youjiantou"></span>
<span>${e.ruleTypeItem5}</span>
</div>
<div class="ruleTypeItem">
<span class="icon iconfont luckysheet-iconfont-youjiantou"></span>
<span>${e.ruleTypeItem6}</span>
</div>
</div>`},textCellColorHtml:function(){let e=Q().conditionformat;return`<div id="textCellColor">
<div class="colorbox">
<input id="checkTextColor" type="checkbox" checked="checked">
<label for="checkTextColor">${e.textColor}\uFF1A</label>
<input id="textcolorshow" data-tips="${e.textColor}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="#9c0006" style="display: none;">
</div>
<div class="colorbox">
<input id="checkCellColor" type="checkbox" checked="checked">
<label for="checkCellColor">${e.cellColor}\uFF1A</label>
<input id="cellcolorshow" data-tips="${e.cellColor}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="#ffc7ce" style="display: none;">
</div>
</div>`},selectRange:[],selectStatus:!1,dataBarList:[{format:["#638ec6","#ffffff"]},{format:["#63c384","#ffffff"]},{format:["#ff555a","#ffffff"]},{format:["#ffb628","#ffffff"]},{format:["#008aef","#ffffff"]},{format:["#d6007b","#ffffff"]},{format:["#638ec6"]},{format:["#63c384"]},{format:["#ff555a"]},{format:["#ffb628"]},{format:["#008aef"]},{format:["#d6007b"]}],colorGradationList:[{format:["rgb(99, 190, 123)","rgb(255, 235, 132)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(255, 235, 132)","rgb(99, 190, 123)"]},{format:["rgb(99, 190, 123)","rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)","rgb(99, 190, 123)"]},{format:["rgb(90, 138, 198)","rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)","rgb(90, 138, 198)"]},{format:["rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)"]},{format:["rgb(99, 190, 123)","rgb(252, 252, 255)"]},{format:["rgb(252, 252, 255)","rgb(99, 190, 123)"]},{format:["rgb(99, 190, 123)","rgb(255, 235, 132)"]},{format:["rgb(255, 235, 132)","rgb(99, 190, 123)"]}],init:function(){let e=this,a=Q().conditionformat;$(document).off("change.CFchooseSheet").on("change.CFchooseSheet","#luckysheet-administerRule-dialog .chooseSheet",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();e.getConditionRuleList(t)}),$(document).off("click.CFadministerRuleItem").on("click.CFadministerRuleItem","#luckysheet-administerRule-dialog .ruleList .listBox .item",function(){$(this).addClass("on").siblings().removeClass("on")}),$(document).off("click.CFadministerRuleConfirm").on("click.CFadministerRuleConfirm","#luckysheet-administerRule-dialog-confirm",function(){if(!Tl(h.currentSheetIndex))return;let t=$.extend(!0,[],h.luckysheetfile),l=e.getHistoryRules(t),n=$.extend(!0,[],e.fileClone);for(let u=0;u<n.length;u++){let d=n[u].index;h.luckysheetfile[Z(d)].luckysheet_conditionformat_save=n[Z(d)].luckysheet_conditionformat_save}let o=$.extend(!0,[],h.luckysheetfile),s=e.getCurrentRules(o);if(e.ref(l,s),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-administerRule-dialog").hide(),re.allowUpdate){let u=$.extend(!0,[],h.luckysheetfile);for(let d=0;d<u.length;d++)re.saveParam("all",u[d].index,u[d].luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"})}}),$(document).off("click.CFadministerRuleClose").on("click.CFadministerRuleClose","#luckysheet-administerRule-dialog-close",function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-administerRule-dialog").hide(),e.fileClone=[]}),$(document).off("click.CFadministerRuleFa").on("click.CFadministerRuleFa","#luckysheet-administerRule-dialog .item .fa-table",function(){$(this).parents("#luckysheet-administerRule-dialog").hide();let t=$("#luckysheet-administerRule-dialog .chooseSheet select option:selected").val();t!=h.currentSheetIndex&&ye.changeSheetExec(t);let l=$(this).siblings("input").val().trim(),n=$(this).parents(".item").attr("data-item");e.multiRangeDialog(n,l),e.selectRange=[];let o=e.getRangeByTxt(l);if(o.length>0)for(let s=0;s<o.length;s++){let u=o[s].row[0],d=o[s].row[1],f=o[s].column[0],m=o[s].column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],b=f-1==-1?0:h.visibledatacolumn[f-1];e.selectRange.push({left:b,width:v-b-1,top:y,height:g-y-1,left_move:b,width_move:v-b-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f})}Mt(e.selectRange)}),$(document).off("click.CFmultiRangeConfirm").on("click.CFmultiRangeConfirm","#luckysheet-multiRange-dialog-confirm",function(){$(this).parents("#luckysheet-multiRange-dialog").hide();let t=$(this).attr("data-item"),l=$(this).parents("#luckysheet-multiRange-dialog").find("input").val();$("#luckysheet-administerRule-dialog .item[data-item="+t+"] input").val(l);let n=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();e.fileClone[Z(n)].luckysheet_conditionformat_save[t].cellrange=e.getRangeByTxt(l),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show(),Mt([])}),$(document).off("click.CFmultiRangeClose").on("click.CFmultiRangeClose","#luckysheet-multiRange-dialog-close",function(){$(this).parents("#luckysheet-multiRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),Mt([])}),$(document).off("click.CFnewConditionRule").on("click.CFnewConditionRule","#newConditionRule",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(!!Tl(t)){if(h.luckysheet_select_save.length==0){he()?alert(a.pleaseSelectRange):j.info(a.pleaseSelectRange,"");return}e.newConditionRuleDialog(1)}}),$(document).off("click.CFnewConditionRuleConfirm").on("click.CFnewConditionRuleConfirm","#luckysheet-newConditionRule-dialog-confirm",function(){if(!Tl(h.currentSheetIndex))return;let t=$("#luckysheet-newConditionRule-dialog .ruleTypeItem.on").index(),l=$("#luckysheet-newConditionRule-dialog #type1 option:selected").val(),n=$("#luckysheet-newConditionRule-dialog ."+l+"Box #type2 option:selected").val(),o,s;if(t==0){if(l=="dataBar"){let d=$(this).parents("#luckysheet-newConditionRule-dialog").find(".dataBarBox .luckysheet-conditionformat-config-color").spectrum("get").toHexString();n=="gradient"?o=[d,"#ffffff"]:n=="solid"&&(o=[d]),s={type:"dataBar",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o}}else if(l=="colorGradation"){let d=$(this).parents("#luckysheet-newConditionRule-dialog").find(".colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),f=$(this).parents("#luckysheet-newConditionRule-dialog").find(".colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),m=$(this).parents("#luckysheet-newConditionRule-dialog").find(".colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString();n=="threeColor"?o=[d,f,m]:n=="twoColor"&&(o=[d,m]),s={type:"colorGradation",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o}}else if(l=="icons"){let d=$(this).parents("#luckysheet-newConditionRule-dialog").find(".iconsBox .model").attr("data-len"),f=$(this).parents("#luckysheet-newConditionRule-dialog").find(".iconsBox .model").attr("data-leftmin"),m=$(this).parents("#luckysheet-newConditionRule-dialog").find(".iconsBox .model").attr("data-top");o={len:d,leftMin:f,top:m},s={type:"icons",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o}}}else{let d="",f=[],m=[];if(t==1){if(l=="number")if(d=n,n=="betweenness"){let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),b=$("#luckysheet-newConditionRule-dialog #conditionVal2 input").val().trim(),k=e.getRangeByTxt(v);if(k.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(k.length==1){let w=k[0].row[0],_=k[0].row[1],S=k[0].column[0],C=k[0].column[1];if(w==_&&S==C)v=ze(w,S,h.flowdata),f.push({row:k[0].row,column:k[0].column}),m.push(v);else{e.infoDialog(a.onlySingleCell,"");return}}else if(k.length==0)if(isNaN(v)||v==""){e.infoDialog(a.conditionValueCanOnly,"");return}else m.push(v);let x=e.getRangeByTxt(b);if(x.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(x.length==1){let w=x[0].row[0],_=x[0].row[1],S=x[0].column[0],C=x[0].column[1];if(w==_&&S==C)b=ze(w,S,h.flowdata),f.push({row:x[0].row,column:x[0].column}),m.push(b);else{e.infoDialog(a.onlySingleCell,"");return}}else if(x.length==0)if(isNaN(b)||b==""){e.infoDialog(a.conditionValueCanOnly,"");return}else m.push(b)}else{let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),b=e.getRangeByTxt(v);if(b.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(b.length==1){let k=b[0].row[0],x=b[0].row[1],w=b[0].column[0],_=b[0].column[1];if(k==x&&w==_)v=ze(k,w,h.flowdata),f.push({row:b[0].row,column:b[0].column}),m.push(v);else{e.infoDialog(a.onlySingleCell,"");return}}else if(b.length==0)if(isNaN(v)||v==""){e.infoDialog(a.conditionValueCanOnly,"");return}else m.push(v)}else if(l=="text"){d="textContains";let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),b=e.getRangeByTxt(v);if(b.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(b.length==1){let k=b[0].row[0],x=b[0].row[1],w=b[0].column[0],_=b[0].column[1];if(k==x&&w==_)v=ze(k,w,h.flowdata),f.push({row:b[0].row,column:b[0].column}),m.push(v);else{e.infoDialog(a.onlySingleCell,"");return}}else if(b.length==0)if(v==""){e.infoDialog(a.conditionValueCanOnly,"");return}else m.push(v)}else if(l=="date"){d="occurrenceDate";let v=$("#luckysheet-newConditionRule-dialog #daterange-btn").val();if(v==""||v==null){e.infoDialog(a.pleaseSelectADate,"");return}m.push(v)}}else if(t==2){l=="top"?$("#luckysheet-newConditionRule-dialog #isPercent").is(":selected")?d="top10%":d="top10":l=="last"&&($("#luckysheet-newConditionRule-dialog #isPercent").is(":selected")?d="last10%":d="last10");let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim();if(parseInt(v)!=v||parseInt(v)<1||parseInt(v)>1e3){e.infoDialog(a.pleaseEnterInteger,"");return}m.push(parseInt(v))}else if(t==3)l=="AboveAverage"?(d="AboveAverage",m.push("AboveAverage")):l=="SubAverage"&&(d="SubAverage",m.push("SubAverage"));else if(t==4)d="duplicateValue",m.push(l);else if(t==5){d="formula";let v=$("#luckysheet-newConditionRule-dialog #formulaConditionVal input").val().trim();if(v==""){e.infoDialog("Condition value cannot be empty!","");return}m.push(v)}let g;$("#luckysheet-newConditionRule-dialog #checkTextColor").is(":checked")?g=$("#luckysheet-newConditionRule-dialog #textcolorshow").spectrum("get").toHexString():g=null;let y;$("#luckysheet-newConditionRule-dialog #checkCellColor").is(":checked")?y=$("#luckysheet-newConditionRule-dialog #cellcolorshow").spectrum("get").toHexString():y=null,o={textColor:g,cellColor:y},s={type:"default",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o,conditionName:d,conditionRange:f,conditionValue:m}}$("#luckysheet-newConditionRule-dialog").hide();let u=$(this).attr("data-source");if(u==0){$("#luckysheet-modal-dialog-mask").hide();let d=$.extend(!0,[],h.luckysheetfile),f=e.getHistoryRules(d),m=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save==null?[]:h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save;m.push(s),h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save=m;let g=$.extend(!0,[],h.luckysheetfile),y=e.getCurrentRules(g);e.ref(f,y),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,m,{k:"luckysheet_conditionformat_save"})}else if(u==1){let d=e.fileClone[Z(h.currentSheetIndex)].luckysheet_conditionformat_save?e.fileClone[Z(h.currentSheetIndex)].luckysheet_conditionformat_save:[];d.push(s),e.fileClone[Z(h.currentSheetIndex)].luckysheet_conditionformat_save=d,e.administerRuleDialog()}}),$(document).off("click.CFnewConditionRuleClose").on("click.CFnewConditionRuleClose","#luckysheet-newConditionRule-dialog-close",function(){let t=$(this).attr("data-source");t==0&&$("#luckysheet-modal-dialog-mask").hide(),t==1&&$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-newConditionRule-dialog").hide(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide()}),$(document).off("click.CFeditorConditionRule").on("click.CFeditorConditionRule","#editorConditionRule",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(!Tl(t))return;let l=$("#luckysheet-administerRule-dialog .ruleList .listBox .item.on").attr("data-item"),n={sheetIndex:t,itemIndex:l,data:e.fileClone[Z(t)].luckysheet_conditionformat_save[l]};e.editorRule=n,e.editorConditionRuleDialog()}),$(document).off("click.CFeditorConditionRuleConfirm").on("click.CFeditorConditionRuleConfirm","#luckysheet-editorConditionRule-dialog-confirm",function(){let t=$("#luckysheet-editorConditionRule-dialog .ruleTypeItem.on").index(),l=$("#luckysheet-editorConditionRule-dialog #type1 option:selected").val(),n=$("#luckysheet-editorConditionRule-dialog ."+l+"Box #type2 option:selected").val(),o=e.editorRule.data.cellrange,s,u;if(t==0){if(l=="dataBar"){let m=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".dataBarBox .luckysheet-conditionformat-config-color").spectrum("get").toHexString();n=="gradient"?s=[m,"#ffffff"]:n=="solid"&&(s=[m]),u={type:"dataBar",cellrange:o,format:s}}else if(l=="colorGradation"){let m=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),g=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),y=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString();n=="threeColor"?s=[m,g,y]:n=="twoColor"&&(s=[m,y]),u={type:"colorGradation",cellrange:o,format:s}}else if(l=="icons"){let m=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-len"),g=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-leftmin"),y=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-top");s={len:m,leftMin:g,top:y},u={type:"icons",cellrange:o,format:s}}}else{let m="",g=[],y=[];if(t==1){if(l=="number")if(m=n,n=="betweenness"){let k=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),x=$("#luckysheet-editorConditionRule-dialog #conditionVal2 input").val().trim(),w=e.getRangeByTxt(k);if(w.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(w.length==1){let S=w[0].row[0],C=w[0].row[1],T=w[0].column[0],R=w[0].column[1];if(S==C&&T==R)k=ze(S,T,h.flowdata),g.push({row:w[0].row,column:w[0].column}),y.push(k);else{e.infoDialog(a.onlySingleCell,"");return}}else if(w.length==0)if(isNaN(k)||k==""){e.infoDialog(a.conditionValueCanOnly,"");return}else y.push(k);let _=e.getRangeByTxt(x);if(_.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(_.length==1){let S=_[0].row[0],C=_[0].row[1],T=_[0].column[0],R=_[0].column[1];if(S==C&&T==R)x=ze(S,T,h.flowdata),g.push({row:_[0].row,column:_[0].column}),y.push(x);else{e.infoDialog(a.onlySingleCell,"");return}}else if(_.length==0)if(isNaN(x)||x==""){e.infoDialog(a.conditionValueCanOnly,"");return}else y.push(x)}else{let k=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),x=e.getRangeByTxt(k);if(x.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(x.length==1){let w=x[0].row[0],_=x[0].row[1],S=x[0].column[0],C=x[0].column[1];if(w==_&&S==C)k=ze(w,S,h.flowdata),g.push({row:x[0].row,column:x[0].column}),y.push(k);else{e.infoDialog(a.onlySingleCell,"");return}}else if(x.length==0)if(isNaN(k)||k==""){e.infoDialog(a.conditionValueCanOnly,"");return}else y.push(k)}else if(l=="text"){m="textContains";let k=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),x=e.getRangeByTxt(k);if(x.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(x.length==1){let w=x[0].row[0],_=x[0].row[1],S=x[0].column[0],C=x[0].column[1];if(w==_&&S==C)k=ze(w,S,h.flowdata),g.push({row:x[0].row,column:x[0].column}),y.push(k);else{e.infoDialog(a.onlySingleCell,"");return}}else if(x.length==0)if(isNaN(k)||k==""){e.infoDialog(a.conditionValueCanOnly,"");return}else y.push(k)}else if(l=="date"){m="occurrenceDate";let k=$("#luckysheet-editorConditionRule-dialog #daterange-btn").val();if(k==""||k==null){e.infoDialog(a.pleaseSelectADate,"");return}y.push(k)}}else if(t==2){l=="top"?$("#luckysheet-editorConditionRule-dialog #isPercent").is(":selected")?m="top10%":m="top10":l=="last"&&($("#luckysheet-editorConditionRule-dialog #isPercent").is(":selected")?m="last10%":m="last10");let k=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim();if(parseInt(k)!=k||parseInt(k)<1||parseInt(k)>1e3){e.infoDialog(a.pleaseEnterInteger,"");return}y.push(k)}else if(t==3)l=="AboveAverage"?(m="AboveAverage",y.push("AboveAverage")):l=="SubAverage"&&(m="SubAverage",y.push("SubAverage"));else if(t==4)m="duplicateValue",y.push(l);else if(t==5){m="formula";let k=$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val().trim();if(console.log(k),k==""){e.infoDialog("Condition value cannot be empty!","");return}y.push(k)}let v;$("#luckysheet-editorConditionRule-dialog #checkTextColor").is(":checked")?v=$("#luckysheet-editorConditionRule-dialog #textcolorshow").spectrum("get").toHexString():v=null;let b;$("#luckysheet-editorConditionRule-dialog #checkCellColor").is(":checked")?b=$("#luckysheet-editorConditionRule-dialog #cellcolorshow").spectrum("get").toHexString():b=null,s={textColor:v,cellColor:b},u={type:"default",cellrange:o,format:s,conditionName:m,conditionRange:g,conditionValue:y}}let d=e.editorRule.sheetIndex,f=e.editorRule.itemIndex;e.fileClone[Z(d)].luckysheet_conditionformat_save[f]=u,$("#luckysheet-editorConditionRule-dialog").hide(),e.administerRuleDialog()}),$(document).off("click.CFeditorConditionRuleClose").on("click.CFeditorConditionRuleClose","#luckysheet-editorConditionRule-dialog-close",function(){$("#luckysheet-editorConditionRule-dialog").hide(),$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide()}),$(document).off("click.CFnewEditorRuleItem").on("click.CFnewEditorRuleItem",".luckysheet-newEditorRule-dialog .ruleTypeItem",function(){$(this).addClass("on").siblings().removeClass("on");let t=$(this).index();$(this).parents(".luckysheet-newEditorRule-dialog").find(".ruleExplainBox").html(e.getRuleExplain(t)),e.colorSelectInit()}),$(document).off("change.CFnewEditorRuleType1").on("change.CFnewEditorRuleType1",".luckysheet-newEditorRule-dialog #type1",function(){let t=$(this).find("option:selected").val();(t=="dataBar"||t=="colorGradation"||t=="icons"||t=="number"||t=="text"||t=="date")&&$(this).parents(".luckysheet-newEditorRule-dialog").find("."+t+"Box").show().siblings().hide(),t=="date"&&e.daterangeInit($(this).parents(".luckysheet-newEditorRule-dialog").attr("id"))}),$(document).off("change.CFnewEditorRuleType2").on("change.CFnewEditorRuleType2",".luckysheet-newEditorRule-dialog #type2",function(){let t=$(this).parents(".luckysheet-newEditorRule-dialog").find("#type1 option:selected").val();t=="colorGradation"?$(this).find("option:selected").val()=="threeColor"?$(this).parents(".luckysheet-newEditorRule-dialog").find(".midVal").show():$(this).parents(".luckysheet-newEditorRule-dialog").find(".midVal").hide():t=="number"&&($(this).find("option:selected").val()=="betweenness"?($(this).parents(".luckysheet-newEditorRule-dialog").find(".txt").show(),$(this).parents(".luckysheet-newEditorRule-dialog").find("#conditionVal2").show()):($(this).parents(".luckysheet-newEditorRule-dialog").find(".txt").hide(),$(this).parents(".luckysheet-newEditorRule-dialog").find("#conditionVal2").hide()))}),$(document).off("click.CFiconsShowbox").on("click.CFiconsShowbox",".luckysheet-newEditorRule-dialog .iconsBox .showbox",function(){$(this).parents(".iconsBox").find("ul").toggle()}),$(document).off("click.CFiconsLi").on("click.CFiconsLi",".luckysheet-newEditorRule-dialog .iconsBox li",function(){let t=$(this).find("div").attr("data-len"),l=$(this).find("div").attr("data-leftmin"),n=$(this).find("div").attr("data-top"),o=$(this).find("div").attr("title"),s=$(this).find("div").css("background-position");$(this).parents(".iconsBox").find(".showbox .model").css("background-position",s),$(this).parents(".iconsBox").find(".showbox .model").attr("data-len",t),$(this).parents(".iconsBox").find(".showbox .model").attr("data-leftmin",l),$(this).parents(".iconsBox").find(".showbox .model").attr("data-top",n),$(this).parents(".iconsBox").find(".showbox .model").attr("title",o),$(this).parents("ul").hide()}),$(document).off("click.CFdeleteConditionRule").on("click.CFdeleteConditionRule","#deleteConditionRule",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(!Tl(t))return;let l=$("#luckysheet-administerRule-dialog .ruleList .listBox .item.on").attr("data-item");e.fileClone[Z(t)].luckysheet_conditionformat_save.splice(l,1),e.administerRuleDialog()}),$(document).off("click.CFdefault").on("click.CFdefault","#luckysheet-conditionformat-dialog-confirm",function(){if(!Tl(h.currentSheetIndex))return;let t=$("#luckysheet-conditionformat-dialog .box").attr("data-itemvalue"),l=[],n=[];if(t=="greaterThan"||t=="lessThan"||t=="equal"||t=="textContains"){let v=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim(),b=e.getRangeByTxt(v);if(b.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(b.length==1){let k=b[0].row[0],x=b[0].row[1],w=b[0].column[0],_=b[0].column[1];if(k==x&&w==_)v=ze(k,w,h.flowdata),l.push({row:b[0].row,column:b[0].column}),n.push(v);else{e.infoDialog(a.onlySingleCell,"");return}}else if(b.length==0)if(isNaN(v)||v==""){e.infoDialog(a.conditionValueCanOnly,"");return}else n.push(v)}else if(t=="betweenness"){let v=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim(),b=$("#luckysheet-conditionformat-dialog #conditionVal2").val().trim(),k=e.getRangeByTxt(v);if(k.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(k.length==1){let w=k[0].row[0],_=k[0].row[1],S=k[0].column[0],C=k[0].column[1];if(w==_&&S==C)v=ze(w,S,h.flowdata),l.push({row:k[0].row,column:k[0].column}),n.push(v);else{e.infoDialog(a.onlySingleCell,"");return}}else if(k.length==0)if(isNaN(v)||v==""){e.infoDialog(a.conditionValueCanOnly,"");return}else n.push(v);let x=e.getRangeByTxt(b);if(x.length>1){e.infoDialog(a.onlySingleCell,"");return}else if(x.length==1){let w=x[0].row[0],_=x[0].row[1],S=x[0].column[0],C=x[0].column[1];if(w==_&&S==C)b=ze(w,S,h.flowdata),l.push({row:x[0].row,column:x[0].column}),n.push(b);else{e.infoDialog(a.onlySingleCell,"");return}}else if(x.length==0)if(isNaN(b)||b==""){e.infoDialog(a.conditionValueCanOnly,"");return}else n.push(b)}else if(t=="occurrenceDate"){let v=$("#luckysheet-conditionformat-dialog #daterange-btn").val();if(v==""||v==null){e.infoDialog(a.pleaseSelectADate,"");return}n.push(v)}else if(t=="duplicateValue")n.push($("#luckysheet-conditionformat-dialog #conditionVal option:selected").val());else if(t=="top10"||t=="top10%"||t=="last10"||t=="last10%"){let v=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim();if(parseInt(v)!=v||parseInt(v)<1||parseInt(v)>1e3){e.infoDialog(a.pleaseEnterInteger,"");return}n.push(v)}else t=="AboveAverage"?n.push("AboveAverage"):t=="SubAverage"&&n.push("SubAverage");let o;$("#checkTextColor").is(":checked")?o=$("#textcolorshow").spectrum("get").toHexString():o=null;let s;$("#checkCellColor").is(":checked")?s=$("#cellcolorshow").spectrum("get").toHexString():s=null;let u=$.extend(!0,[],h.luckysheetfile),d=e.getHistoryRules(u),f={type:"default",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:{textColor:o,cellColor:s},conditionName:t,conditionRange:l,conditionValue:n},m=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save==null?[]:h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save;m.push(f),h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save=m;let g=$.extend(!0,[],h.luckysheetfile),y=e.getCurrentRules(g);e.ref(d,y),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-conditionformat-dialog").hide(),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,m,{k:"luckysheet_conditionformat_save"})}),$(document).off("click.CFicons").on("click.CFicons","#luckysheet-CFicons-dialog .item",function(){if($("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-CFicons-dialog").hide(),h.luckysheet_select_save.length>0){let t=$.extend(!0,[],h.luckysheet_select_save),l={len:$(this).attr("data-len"),leftMin:$(this).attr("data-leftMin"),top:$(this).attr("data-top")};e.updateItem("icons",t,l)}}),$(document).on("click",".range .fa-table",function(){let t=$(this).parents(".luckysheet-modal-dialog").attr("id");$("#"+t).hide();let l;if(t=="luckysheet-conditionformat-dialog")$(this).siblings("input").attr("id")=="conditionVal"?l="0_1":l="0_2";else if(t=="luckysheet-newConditionRule-dialog"){let o=$(this).parents(".range").attr("id");o=="formulaConditionVal"?l="1_0":o=="conditionVal"?l="1_1":l="1_2"}else if(t=="luckysheet-editorConditionRule-dialog"){let o=$(this).parents(".range").attr("id");o=="formulaConditionVal"?l="2_0":o=="conditionVal"?l="2_1":l="2_2"}let n=$(this).siblings("input").val();e.singleRangeDialog(l,n),Mt(e.getRangeByTxt(n))}),$(document).on("click","#luckysheet-singleRange-dialog-confirm",function(){$("#luckysheet-modal-dialog-mask").show(),$(this).parents("#luckysheet-singleRange-dialog").hide();let t=$(this).attr("data-source"),l=$(this).parents("#luckysheet-singleRange-dialog").find("input").val();t=="0_1"?($("#luckysheet-conditionformat-dialog").show(),$("#luckysheet-conditionformat-dialog #conditionVal").val(l)):t=="0_2"?($("#luckysheet-conditionformat-dialog").show(),$("#luckysheet-conditionformat-dialog #conditionVal2").val(l)):t=="1_0"?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #formulaConditionVal input").val(l)):t=="1_1"?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #conditionVal input").val(l)):t=="1_2"?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #conditionVal2 input").val(l)):t=="2_0"?($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val(l)):t=="2_1"?($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #conditionVal input").val(l)):t=="2_2"&&($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #conditionVal2 input").val(l)),Mt([])}),$(document).on("click","#luckysheet-singleRange-dialog-close",function(){$("#luckysheet-modal-dialog-mask").show(),$(this).parents("#luckysheet-singleRange-dialog").hide();let t=$(this).attr("data-source");t=="0_1"||t=="0_2"?$("#luckysheet-conditionformat-dialog").show():t=="1_0"||t=="1_1"||t=="1_2"?$("#luckysheet-newConditionRule-dialog").show():(t=="2_0"||t=="2_1"||t=="2_2")&&$("#luckysheet-editorConditionRule-dialog").show(),Mt([])}),$(document).on("click",".luckysheet-modal-dialog-title-close",function(){let t=$(this).parents(".luckysheet-modal-dialog").attr("id");if(t=="luckysheet-newConditionRule-dialog"&&$("#"+t).find("#luckysheet-newConditionRule-dialog-close").attr("data-source")==1&&$("#luckysheet-administerRule-dialog").show(),t=="luckysheet-editorConditionRule-dialog"&&$("#luckysheet-administerRule-dialog").show(),t=="luckysheet-singleRange-dialog"){$("#luckysheet-modal-dialog-mask").show();let l=$(this).parents("#luckysheet-singleRange-dialog").find("#luckysheet-singleRange-dialog-confirm").attr("data-source");l=="0_1"||l=="0_2"?$("#luckysheet-conditionformat-dialog").show():l=="1_1"||l=="1_2"?$("#luckysheet-newConditionRule-dialog").show():(l=="2_1"||l=="2_2")&&$("#luckysheet-editorConditionRule-dialog").show(),Mt([])}t=="luckysheet-multiRange-dialog"&&($("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show(),Mt([])),t=="luckysheet-conditionformat-info-dialog"&&$("#luckysheet-modal-dialog-mask").show()}),$(document).on("click","#luckysheet-conditionformat-info-dialog-close",function(){$(this).parents("#luckysheet-conditionformat-info-dialog").hide()})},singleRangeDialog:function(e,a){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-singleRange-dialog").remove();let t=Q().conditionformat;$("body").append(we(ft,{id:"luckysheet-singleRange-dialog",addclass:"luckysheet-singleRange-dialog",title:t.selectCell,content:`<input readonly="readonly" placeholder="${t.pleaseSelectCell}" value="${a}"/>`,botton:`<button id="luckysheet-singleRange-dialog-confirm" class="btn btn-primary" data-source="${e}">${t.confirm}</button>
<button id="luckysheet-singleRange-dialog-close" class="btn btn-default" data-source="${e}">${t.cancel}</button>`,style:"z-index:100003"}));let l=$("#luckysheet-singleRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),n=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-singleRange-dialog").css({left:(s+d-o)/2,top:(u+f-n)/3}).show()},multiRangeDialog:function(e,a){let t=this;$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-multiRange-dialog").remove();let l=Q().conditionformat;$("body").append(we(ft,{id:"luckysheet-multiRange-dialog",addclass:"luckysheet-multiRange-dialog",title:l.selectRange,content:`<input readonly="readonly" placeholder="${l.pleaseSelectRange}" value="${a}"/>`,botton:`<button id="luckysheet-multiRange-dialog-confirm" class="btn btn-primary" data-item="${e}">${l.confirm}</button>
<button id="luckysheet-multiRange-dialog-close" class="btn btn-default">${l.cancel}</button>`,style:"z-index:100003"}));let n=$("#luckysheet-multiRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-multiRange-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show(),Mt(t.getRangeByTxt(a))},getTxtByRange:function(e){if(e.length>0){let a=[];for(let t=0;t<e.length;t++){let l=e[t].row[0],n=e[t].row[1],o=e[t].column[0],s=e[t].column[1];a.push(kt(h.currentSheetIndex,{row:[l,n],column:[o,s]},h.currentSheetIndex))}return a.join(",")}},getRangeByTxt:function(e){let a=[];if(e=e.toString(),e.indexOf(",")!=-1){let t=e.split(",");for(let l=0;l<t.length;l++)if(p.iscelldata(t[l]))a.push(p.getcellrange(t[l]));else{a=[];break}}else p.iscelldata(e)&&a.push(p.getcellrange(e));return a},colorSelectInit:function(){let e=Q().conditionformat;$(".luckysheet-conditionformat-config-color").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,cancelText:e.cancel,chooseText:e.confirmColor,togglePaletteMoreText:"\u81EA\u5B9A\u4E49",togglePaletteLessText:"\u6536\u8D77",togglePaletteOnly:!0,clearText:e.clearColorSelect,noColorSelectedText:"\u6CA1\u6709\u989C\u8272\u88AB\u9009\u62E9",localStorageKey:"spectrum.textcolor"+re.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(a){a!=null&&(a=a.toHexString())}})},conditionformatDialog:function(e,a){let t=this;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-conditionformat-dialog").remove();let l=Q().conditionformat;$("body").append(we(ft,{id:"luckysheet-conditionformat-dialog",addclass:"luckysheet-conditionformat-dialog",title:e,content:a,botton:`<button id="luckysheet-conditionformat-dialog-confirm" class="btn btn-primary">${l.confirm}</button>
<button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:9999"}));let n=$("#luckysheet-conditionformat-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-conditionformat-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show(),t.init(),t.colorSelectInit(),e==Q().conditionformat.conditionformat_occurrenceDate&&t.daterangeInit("luckysheet-conditionformat-dialog")},CFiconsDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-CFicons-dialog").remove();let e=Q().conditionformat,a=`<div class="box">
<div style="margin-bottom: 10px;">${e.pleaseSelectIcon}</div>
<div class="title">${e.direction}</div>
<div class="list">
<div class="left">
<div class="item" data-len="3" data-leftMin="0" data-top="0" title="${e.threeWayArrow}(${e.multicolor})"><div style="background-position:0 0;"></div></div>
<div class="item" data-len="3" data-leftMin="0" data-top="1" title="${e.threeTriangles}"><div style="background-position:0 -20px;"></div></div>
<div class="item" data-len="4" data-leftMin="0" data-top="2" title="${e.fourWayArrow}(${e.multicolor})"><div style="background-position:0 -40px;"></div></div>
<div class="item" data-len="5" data-leftMin="0" data-top="3" title="${e.fiveWayArrow}(${e.multicolor})"><div style="background-position:0 -60px;"></div></div>
</div>
<div class="right">
<div class="item" data-len="3" data-leftMin="5" data-top="0" title="${e.threeWayArrow}(${e.grayColor})"><div style="background-position:-131px 0;"></div></div>
<div class="item" data-len="4" data-leftMin="5" data-top="1" title="${e.fourWayArrow}(${e.grayColor})"><div style="background-position:-131px -20px;"></div></div>
<div class="item" data-len="5" data-leftMin="5" data-top="2" title="${e.fiveWayArrow}(${e.grayColor})"><div style="background-position:-131px -40px;"></div></div>
</div>
<div style="clear:both;"></div>
</div>
<div class="title">${e.shape}</div>
<div class="list">
<div class="left">
<div class="item" data-len="3" data-leftMin="0" data-top="4" title="${e.threeColorTrafficLight}(${e.rimless})"><div style="background-position:0 -80px;"></div></div>
<div class="item" data-len="3" data-leftMin="0" data-top="5" title="${e.threeSigns}"><div style="background-position:0 -100px;"></div></div>
<div class="item" data-len="4" data-leftMin="0" data-top="6" title="${e.greenRedBlackGradient}"><div style="background-position:0 -120px;"></div></div>
</div>
<div class="right">
<div class="item" data-len="3" data-leftMin="5" data-top="4" title="${e.threeColorTrafficLight}(${e.bordered})"><div style="background-position:-131px -80px;"></div></div>
<div class="item" data-len="4" data-leftMin="5" data-top="5" title="${e.fourColorTrafficLight}"><div style="background-position:-131px -100px;"></div></div>
</div>
<div style="clear:both;"></div>
</div>
<div class="title">${e.mark}</div>
<div class="list">
<div class="left">
<div class="item" data-len="3" data-leftMin="0" data-top="7" title="${e.threeSymbols}(${e.circled})"><div style="background-position:0 -140px;"></div></div>
<div class="item" data-len="3" data-leftMin="0" data-top="8" title="${e.tricolorFlag}"><div style="background-position:0 -160px;"></div></div>
</div>
<div class="right">
<div class="item" data-len="3" data-leftMin="5" data-top="7" title="${e.threeSymbols}(${e.noCircle})"><div style="background-position:-131px -140px;"></div></div>
</div>
<div style="clear:both;"></div>
</div>
<div class="title">${e.grade}</div>
<div class="list">
<div class="left">
<div class="item" data-len="3" data-leftMin="0" data-top="9" title="${e.threeStars}"><div style="background-position:0 -180px;"></div></div>
<div class="item" data-len="5" data-leftMin="0" data-top="10" title="${e.fiveQuadrantDiagram}"><div style="background-position:0 -200px;"></div></div>
<div class="item" data-len="5" data-leftMin="0" data-top="11" title="${e.fiveBoxes}"><div style="background-position:0 -220px;"></div></div>
</div>
<div class="right">
<div class="item" data-len="4" data-leftMin="5" data-top="9" title="${e.grade4}"><div style="background-position:-131px -180px;"></div></div>
<div class="item" data-len="5" data-leftMin="5" data-top="10" title="${e.grade5}"><div style="background-position:-131px -200px;"></div></div>
</div>
<div style="clear:both;"></div>
</div>
</div>`;$("body").append(we(ft,{id:"luckysheet-CFicons-dialog",addclass:"luckysheet-CFicons-dialog",title:e.icons,content:a,botton:`<button class="btn btn-default luckysheet-model-close-btn">${e.close}</button>`,style:"z-index:100003"}));let t=$("#luckysheet-CFicons-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),l=t.outerHeight(),n=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();$("#luckysheet-CFicons-dialog").css({left:(o+u-n)/2,top:(s+d-l)/3}).show()},administerRuleDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").remove();let e=Q().conditionformat,a="";for(let g=0;g<h.luckysheetfile.length;g++)h.luckysheetfile[g].status=="1"?a+=`<option value="${h.luckysheetfile[g].index}" selected="selected">
${e.currentSheet}\uFF1A${h.luckysheetfile[g].name}
</option>`:a+=`<option value="${h.luckysheetfile[g].index}">
${e.sheet}\uFF1A${h.luckysheetfile[g].name}
</option>`;let t=`<div class="chooseSheet">
<label>${e.showRules}\uFF1A</label>
<select>${a}</select>
</div>
<div class="ruleBox">
<div class="ruleBtn">
<button id="newConditionRule" class="btn btn-default">${e.newRule}</button>
<button id="editorConditionRule" class="btn btn-default">${e.editRule}</button>
<button id="deleteConditionRule" class="btn btn-default">${e.deleteRule}</button>
</div>
<div class="ruleList">
<div class="listTitle">
<span>${e.rule}</span>
<span>${e.format}</span>
<span>${e.applyRange}</span>
</div>
<div class="listBox"></div>
</div>
</div>`;$("body").append(we(ft,{id:"luckysheet-administerRule-dialog",addclass:"luckysheet-administerRule-dialog",title:e.conditionformatManageRules,content:t,botton:`<button id="luckysheet-administerRule-dialog-confirm" class="btn btn-primary">${e.confirm}</button>
<button id="luckysheet-administerRule-dialog-close" class="btn btn-default">${e.close}</button>`,style:"z-index:100003"}));let l=$("#luckysheet-administerRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),n=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-administerRule-dialog").css({left:(s+d-o)/2,top:(u+f-n)/3}).show();let m=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();this.getConditionRuleList(m)},getConditionRuleList:function(e){let a=this;$("#luckysheet-administerRule-dialog .ruleList .listBox").empty();let t=a.fileClone[Z(e)].luckysheet_conditionformat_save;if(t!=null&&t.length>0){let l=Q().conditionformat;for(let n=0;n<t.length;n++){let o=t[n].type,s=t[n].format,u=t[n].cellrange,d,f="";o=="dataBar"?(d=l.dataBar,f='<canvas width="46" height="18" style="width: 46px;height: 18px;margin: 3px 0 0 5px;"></canvas>'):o=="colorGradation"?(d=l.colorGradation,f='<canvas width="46" height="18" style="width: 46px;height: 18px;margin: 3px 0 0 5px;"></canvas>'):o=="icons"?(d=l.icons,f='<canvas width="46" height="18" style="width: 46px;height: 18px;margin: 3px 0 0 5px;"></canvas>'):(d=a.getConditionRuleName(t[n].conditionName,t[n].conditionRange,t[n].conditionValue),s.textColor!=null&&(f+='<span class="colorbox" title="'+l.textColor+'" style="background-color:'+s.textColor+'"></span>'),s.cellColor!=null&&(f+='<span class="colorbox" title="'+l.cellColor+'" style="background-color:'+s.cellColor+'"></span>'));let m=[];for(let y=0;y<u.length;y++){let v=u[y].row[0],b=u[y].row[1],k=u[y].column[0],x=u[y].column[1];m.push(tt(k)+(v+1)+":"+tt(x)+(b+1))}let g='<div class="item" data-item="'+n+'"><div class="ruleName" title="'+d+'">'+d+'</div><div class="format">'+f+'</div><div class="ruleRange"><input class="formulaInputFocus" readonly="true" value="'+m.join(",")+'"/><i class="fa fa-table" aria-hidden="true" title="'+l.selectRange+'"></i></div></div>';$("#luckysheet-administerRule-dialog .ruleList .listBox").prepend(g)}$("#luckysheet-administerRule-dialog .ruleList .listBox .item canvas").each(function(n){let o=$(this).closest(".item").attr("data-item"),s=t[o].type,u=t[o].format,d=$(this).get(0).getContext("2d");if(s=="dataBar")if(u.length==2){let f=d.createLinearGradient(0,0,46,0);f.addColorStop(0,u[0]),f.addColorStop(1,u[1]),d.fillStyle=f,d.fillRect(0,0,46,18),d.beginPath(),d.moveTo(0,0),d.lineTo(0,18),d.lineTo(46,18),d.lineTo(46,0),d.lineTo(0,0),d.lineWidth=h.devicePixelRatio,d.strokeStyle=u[0],d.stroke(),d.closePath()}else u.length==1&&(d.fillStyle=u[0],d.fillRect(0,0,46,18),d.beginPath(),d.moveTo(0,0),d.lineTo(0,18),d.lineTo(46,18),d.lineTo(46,0),d.lineTo(0,0),d.lineWidth=h.devicePixelRatio,d.strokeStyle=u[0],d.stroke(),d.closePath());else if(s=="colorGradation"){let f=d.createLinearGradient(0,0,46,0);u.length==3?(f.addColorStop(0,u[0]),f.addColorStop(.5,u[1]),f.addColorStop(1,u[2])):u.length==2&&(f.addColorStop(0,u[0]),f.addColorStop(1,u[1])),d.fillStyle=f,d.fillRect(0,0,46,18)}else if(s=="icons"){let f=u.len,m=u.leftMin,g=u.top,y=32*f+10*(f-1),v=32,b=46,k=46*32/y;m=="0"?d.drawImage(fn,0,g*32,y,v,0,(18-k)/2,b,k):m=="5"&&d.drawImage(fn,210,g*32,y,v,0,(18-k)/2,b,k)}}),$("#luckysheet-administerRule-dialog .ruleList .listBox .item").eq(0).addClass("on")}},getConditionRuleName:function(e,a,t){let l;a[0]!=null?l=tt(a[0].column[0])+(a[0].row[0]+1):l=t[0];let n=Q().conditionformat;if(e=="greaterThan")return n.cellValue+" > "+l;if(e=="lessThan")return n.cellValue+" < "+l;if(e=="betweenness"){let o;return a[1]!=null?o=tt(a[1].column[0])+(a[1].row[0]+1):o=t[1],n.cellValue+" "+n.between+" "+l+" "+n.in+" "+o+" "+n.between2}else{if(e=="equal")return n.cellValue+" = "+l;if(e=="textContains")return n.cellValue+n.contain+" ="+l;if(e=="occurrenceDate")return t;if(e=="duplicateValue"){if(t=="0")return n.duplicateValue;if(t=="1")return n.uniqueValue}else{if(e=="top10")return n.top+" "+l+" "+n.oneself;if(e=="top10%")return n.top+" "+l+"% "+n.oneself;if(e=="last10")return n.last+" "+l+" "+n.oneself;if(e=="last10%")return n.last+" "+l+"% "+n.oneself;if(e=="AboveAverage")return n.aboveAverage;if(e=="SubAverage")return n.belowAverage;if(e=="formula")return l.slice(0,1)!="="&&(l="="+l),n.formula+": "+l}}},newConditionRuleDialog:function(e){let a=this,t=Q().conditionformat,l=a.getRuleExplain(0);$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").hide(),$("#luckysheet-newConditionRule-dialog").remove();let n='<div><div class="boxTitle">'+t.chooseRuleType+"\uFF1A</div>"+a.ruleTypeHtml()+'<div class="boxTitle">'+t.editRuleDescription+'\uFF1A</div><div class="ruleExplainBox">'+l+"</div></div>";$("body").append(we(ft,{id:"luckysheet-newConditionRule-dialog",addclass:"luckysheet-newEditorRule-dialog",title:t.newFormatRule,content:n,botton:`<button id="luckysheet-newConditionRule-dialog-confirm" class="btn btn-primary" data-source="${e}">${t.confirm}</button>
<button id="luckysheet-newConditionRule-dialog-close" class="btn btn-default" data-source="${e}">${t.cancel}</button>`,style:"z-index:100003"}));let o=$("#luckysheet-newConditionRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-newConditionRule-dialog").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),$("#luckysheet-newConditionRule-dialog .ruleTypeBox .ruleTypeItem:eq(0)").addClass("on").siblings().removeClass("on"),a.colorSelectInit()},editorConditionRuleDialog:function(){let e=this,a=Q().conditionformat,t=e.editorRule.data;if(t==null)return;let l=t.type,n=t.format,o=t.conditionName,s,u;l=="dataBar"||l=="colorGradation"||l=="icons"?(s=0,u=l):o=="greaterThan"||o=="lessThan"||o=="betweenness"||o=="equal"||o=="textContains"||o=="occurrenceDate"?(s=1,o=="greaterThan"||o=="lessThan"||o=="betweenness"||o=="equal"?u="number":o=="textContains"?u="text":o=="occurrenceDate"&&(u="date")):o=="top10"||o=="top10%"||o=="last10"||o=="last10%"?(s=2,o=="top10"||o=="top10%"?u="top":(o=="last10"||o=="last10%")&&(u="last")):o=="AboveAverage"||o=="SubAverage"?(s=3,u=o):o=="duplicateValue"?(s=4,u=t.conditionValue):o=="formula"&&(s=5);let d=e.getRuleExplain(s);$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").hide(),$("#luckysheet-editorConditionRule-dialog").remove();let f='<div><div class="boxTitle">'+a.chooseRuleType+"\uFF1A</div>"+e.ruleTypeHtml()+'<div class="boxTitle">'+a.editRuleDescription+'\uFF1A</div><div class="ruleExplainBox">'+d+"</div></div>";$("body").append(we(ft,{id:"luckysheet-editorConditionRule-dialog",addclass:"luckysheet-newEditorRule-dialog",title:a.editFormatRule,content:f,botton:`<button id="luckysheet-editorConditionRule-dialog-confirm" class="btn btn-primary">${a.confirm}</button>
<button id="luckysheet-editorConditionRule-dialog-close" class="btn btn-default">${a.cancel}</button>`,style:"z-index:100003"}));let m=$("#luckysheet-editorConditionRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),g=m.outerHeight(),y=m.outerWidth(),v=$(window).width(),b=$(window).height(),k=$(document).scrollLeft(),x=$(document).scrollTop();if($("#luckysheet-editorConditionRule-dialog").css({left:(v+k-y)/2,top:(b+x-g)/3}).show(),e.colorSelectInit(),$("#luckysheet-editorConditionRule-dialog .ruleTypeBox .ruleTypeItem:eq("+s+")").addClass("on").siblings().removeClass("on"),$("#luckysheet-editorConditionRule-dialog #type1").val(u),(u=="dataBar"||u=="colorGradation"||u=="icons"||u=="number"||u=="text"||u=="date")&&($("#luckysheet-editorConditionRule-dialog ."+u+"Box").show(),$("#luckysheet-editorConditionRule-dialog ."+u+"Box").siblings().hide()),u=="date"&&e.daterangeInit("luckysheet-editorConditionRule-dialog"),l=="dataBar"||l=="colorGradation"||l=="icons"){if(u=="dataBar")n.length==2?$("#luckysheet-editorConditionRule-dialog .dataBarBox #type2").val("gradient"):n.length==1&&$("#luckysheet-editorConditionRule-dialog .dataBarBox #type2").val("solid"),$("#luckysheet-editorConditionRule-dialog .dataBarBox .luckysheet-conditionformat-config-color").spectrum("set",n[0]);else if(u=="colorGradation")n.length==3?($("#luckysheet-editorConditionRule-dialog .colorGradationBox #type2").val("threeColor"),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal").show(),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("set",n[0]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("set",n[1]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("set",n[2])):n.length==2&&($("#luckysheet-editorConditionRule-dialog .colorGradationBox #type2").val("twoColor"),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal").hide(),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("set",n[0]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("set",n[1]));else if(u=="icons"){let w=n.len,_=n.leftMin,S=n.top;$("#luckysheet-editorConditionRule-dialog .iconsBox li").each(function(C,T){if($(T).find("div").attr("data-len")==w&&$(T).find("div").attr("data-leftmin")==_&&$(T).find("div").attr("data-top")==S)return $("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").css("background-position",$(T).find("div").css("background-position")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-len",$(T).find("div").attr("data-len")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-leftmin",$(T).find("div").attr("data-leftmin")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-top",$(T).find("div").attr("data-leftmin")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("title",$(T).find("div").attr("title")),!0})}}else{if(u=="number"){$("#luckysheet-editorConditionRule-dialog .numberBox #type2").val(o);let w;if(t.conditionRange[0]!=null?w=kt(h.currentSheetIndex,{row:t.conditionRange[0].row,column:t.conditionRange[0].column},h.currentSheetIndex):w=t.conditionValue[0],$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal input").val(w),o=="betweenness"){$("#luckysheet-editorConditionRule-dialog .numberBox .txt").show(),$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2").show();let _;t.conditionRange[1]!=null?_=kt(h.currentSheetIndex,{row:t.conditionRange[1].row,column:t.conditionRange[1].column},h.currentSheetIndex):_=t.conditionValue[1],$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2 input").val(_)}else $("#luckysheet-editorConditionRule-dialog .numberBox .txt").hide(),$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2").hide()}else if(u=="text"){let w;t.conditionRange[0]!=null?w=kt(h.currentSheetIndex,{row:t.conditionRange[0].row,column:t.conditionRange[0].column},h.currentSheetIndex):w=t.conditionValue[0],$("#luckysheet-editorConditionRule-dialog .textBox #conditionVal input").val(w)}else if(u=="date"){e.daterangeInit("luckysheet-editorConditionRule-dialog");let w=t.conditionValue[0];$("#luckysheet-editorConditionRule-dialog .dateBox #daterange-btn").val(w)}else if(u=="top"||u=="last"){let w=t.conditionValue[0];(o=="top10%"||o=="last10%")&&$("#luckysheet-editorConditionRule-dialog #isPercent").attr("checked","checked")}else if(o=="formula"){let w=t.conditionValue[0];$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val(w)}$("#luckysheet-editorConditionRule-dialog #textcolorshow").spectrum("set",n.textColor),$("#luckysheet-editorConditionRule-dialog #cellcolorshow").spectrum("set",n.cellColor)}},infoDialog:function(e,a){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-conditionformat-info-dialog").remove(),$("body").append(we(ft,{id:"luckysheet-conditionformat-info-dialog",addclass:"",title:e,content:a,botton:`<button id="luckysheet-conditionformat-info-dialog-close" class="btn btn-default">${Q().conditionformat.close}</button>`,style:"z-index:100003"}));let t=$("#luckysheet-conditionformat-info-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),l=t.outerHeight(),n=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();$("#luckysheet-conditionformat-info-dialog").css({left:(o+u-n)/2,top:(s+d-l)/3}).show()},getRuleExplain:function(e){let a=Q().conditionformat,t=this.textCellColorHtml(),l;switch(e){case 0:l=`<div class="title">${a.ruleTypeItem1}\uFF1A</div>
<div style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.formatStyle}\uFF1A</label>
<select id="type1">
<option value="dataBar">${a.dataBar}</option>
<option value="colorGradation">${a.colorGradation}</option>
<option value="icons">${a.icons}</option>
</select>
</div>
<div>
<div class="type1Box dataBarBox">
<div style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.fillType}\uFF1A</label>
<select id="type2">
<option value="gradient">${a.gradient}</option>
<option value="solid">${a.solid}</option>
</select>
</div>
<div style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.color}\uFF1A</label>
<input data-tips="${a.dataBarColor}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="#638ec6" style="display: none;">
</div>
</div>
<div class="type1Box colorGradationBox" style="display: none;">
<div style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.fillType}\uFF1A</label>
<select id="type2">
<option value="threeColor">${a.tricolor}</option>
<option value="twoColor">${a.twocolor}</option>
</select>
</div>
<div class="maxVal" style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.maxValue}\uFF1A</label>
<input data-tips="${a.maxValue} ${a.color}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="rgb(99, 190, 123)" style="display: none;">
</div>
<div class="midVal" style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.medianValue}\uFF1A</label>
<input data-tips="${a.medianValue} ${a.color}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="rgb(255, 235, 132)" style="display: none;">
</div>
<div class="minVal" style="height: 30px;margin-bottom: 5px;">
<label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${a.minValue}\uFF1A</label>
<input data-tips="${a.minValue} ${a.color}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="rgb(248, 105, 107)" style="display: none;">
</div>
</div>
<div class="type1Box iconsBox" style="display: none;">
<label>${a.fillType}\uFF1A</label>
<div class="showbox">
<div class="model" data-len="3" data-leftmin="0" data-top="0" title="${a.threeWayArrow}(${a.multicolor})" style="background-position: 0 0;"></div>
<span class="ui-selectmenu-icon ui-icon ui-icon-triangle-1-s" style="margin-top: 2px;"></span>
</div>
<ul>
<li><div data-len="3" data-leftmin="0" data-top="0" title="${a.threeWayArrow}(${a.multicolor})" style="background-position: 0 0;"></div></li>
<li><div data-len="3" data-leftmin="5" data-top="0" title="${a.threeWayArrow}(${a.grayColor})" style="background-position: -131px 0;"></div></li>
<li><div data-len="3" data-leftmin="0" data-top="1" title="${a.threeTriangles}" style="background-position: 0 -20px;"></div></li>
<li><div data-len="4" data-leftmin="0" data-top="2" title="${a.fourWayArrow}(${a.multicolor})" style="background-position: 0 -40px;"></div></li>
<li><div data-len="4" data-leftmin="5" data-top="1" title="${a.fourWayArrow}(${a.grayColor})" style="background-position: -131px -20px;"></div></li>
<li><div data-len="5" data-leftmin="0" data-top="3" title="${a.fiveWayArrow}(${a.multicolor})" style="background-position: 0 -60px;"></div></li>
<li><div data-len="5" data-leftmin="5" data-top="2" title="${a.fiveWayArrow}(${a.grayColor})" style="background-position: -131px -40px;"></div></li>
<li><div data-len="3" data-leftmin="0" data-top="4" title="${a.threeColorTrafficLight}(${a.rimless})" style="background-position: 0 -80px;"></div></li>
<li><div data-len="3" data-leftmin="5" data-top="4" title="${a.threeColorTrafficLight}(${a.bordered})" style="background-position: -131px -80px;"></div></li>
<li><div data-len="3" data-leftmin="0" data-top="5" title="${a.threeSigns}" style="background-position: 0 -100px;"></div></li>
<li><div data-len="4" data-leftmin="5" data-top="5" title="${a.fourColorTrafficLight}" style="background-position: -131px -100px;"></div></li>
<li><div data-len="4" data-leftmin="0" data-top="6" title="${a.greenRedBlackGradient}" style="background-position: 0 -120px;"></div></li>
<li><div data-len="3" data-leftmin="0" data-top="7" title="${a.threeSymbols}(${a.circled})" style="background-position: 0 -140px;"></div></li>
<li><div data-len="3" data-leftmin="5" data-top="7" title="${a.threeSymbols}(${a.noCircle})" style="background-position: -131px -140px;"></div></li>
<li><div data-len="3" data-leftmin="0" data-top="8" title="${a.tricolorFlag}" style="background-position: 0 -160px;"></div></li>
<li><div data-len="3" data-leftmin="0" data-top="9" title="${a.threeStars}" style="background-position: 0 -180px;"></div></li>
<li><div data-len="5" data-leftmin="0" data-top="10" title="${a.fiveQuadrantDiagram}" style="background-position: 0 -200px;"></div></li>
<li><div data-len="5" data-leftmin="0" data-top="11" title="${a.fiveBoxes}" style="background-position: 0 -220px;"></div></li>
<li><div data-len="4" data-leftmin="5" data-top="9" title="${a.grade4}" style="background-position: -131px -180px;"></div></li>
<li><div data-len="5" data-leftmin="5" data-top="10" title="${a.grade5}" style="background-position: -131px -200px;"></div></li>
</ul>
</div>
</div>`;break;case 1:l=`<div class="title">${a.ruleTypeItem2_title}\uFF1A</div>
<div style="height: 30px;margin-bottom: 10px;">
<select id="type1">
<option value="number">${a.cellValue}</option>
<option value="text">${a.specificText}</option>
<option value="date">${a.occurrence}</option>
</select>
<div>
<div class="type1Box numberBox">
<select id="type2">
<option value="greaterThan">${a.greaterThan}</option>
<option value="lessThan">${a.lessThan}</option>
<option value="betweenness">${a.between}</option>
<option value="equal">${a.equal}</option>
</select>
<div class="inpbox range" id="conditionVal">
<input class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
</div>
<span class="txt" style="display: none;">${a.in}</span>
<div class="inpbox range" id="conditionVal2" style="display: none;">
<input class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${a.selectDataRange}"></i>
</div>
</div>
<div class="type1Box textBox" style="display: none;">
<select id="type2">
<option value="">${a.contain}</option>
</select>
<div class="inpbox range" id="conditionVal">
<input class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
</div>
</div>
<div class="type1Box dateBox" style="display: none;">
<div style="width: 162px;" class="inpbox">
<input style="width: 150px;" id="daterange-btn" readonly="readonly" placeholder="${a.pleaseSelectADate}"/>
</div>
</div>
</div>
</div>
<div class="title">${a.setFormat}: </div>${t}`;break;case 2:l=`<div class="title">${a.ruleTypeItem3_title}\uFF1A</div>
<div style="height: 30px;margin-bottom: 10px;">
<select id="type1">
<option value="top">${a.top}</option>
<option value="last">${a.last}</option>
</select>
<div class="inpbox" id="conditionVal">
<input class="formulaInputFocus" type="number" value="10"/>
</div>
<input id="isPercent" type="checkbox"/>
<label for="isPercent" class="txt">${a.selectRange_percent}</label>
</div>
<div class="title">${a.setFormat}\uFF1A</div>${t}`;break;case 3:l=`<div class="title">${a.ruleTypeItem4_title}\uFF1A</div>
<div style="height: 30px;margin-bottom: 10px;">
<select id="type1">
<option value="AboveAverage">${a.above}</option>
<option value="SubAverage">${a.below}</option>
</select>
<span class="txt">${a.selectRange_average}</span>
</div>
<div class="title">${a.setFormat}\uFF1A</div>${t}`;break;case 4:l=`<div class="title">${a.all}\uFF1A</div>
<div style="height: 30px;margin-bottom: 10px;">
<select id="type1">
<option value="0">${a.duplicateValue}</option>
<option value="1">${a.uniqueValue}</option>
</select>
<span class="txt">${a.selectRange_value}</span>
</div>
<div class="title">${a.setFormat}\uFF1A</div>${t}`;break;case 5:l=`<div class="title">${a.ruleTypeItem2_title}\uFF1A</div>
<div style="height: 30px;margin-bottom: 10px;">
<div class="inpbox range" id="formulaConditionVal" style="width: 250px;">
<input class="formulaInputFocus" style="width: 200px;"/>
<i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
</div>
</div>
<div class="title">${a.setFormat}: </div>${t}`;break}return l},daterangeInit:function(e){let a=Q().conditionformat;$(".ranges_1 ul").remove(),$("#"+e).find("#daterange-btn").flatpickr({mode:"range",onChange:function(t,l){let[n,o]=t,s=[a.yesterday,a.today],u=[a.lastWeek,a.thisWeek,a.lastMonth,a.thisMonth,a.lastYear,a.thisYear,a.last7days,a.last30days];l==a.all?$("#daterange-btn").val(""):s.indexOf(l)>-1?$("#daterange-btn").val((0,xo.default)(n).format("YYYY/MM/DD")):u.indexOf(l)>-1&&$("#daterange-btn").val((0,xo.default)(n).format("YYYY/MM/DD")+"-"+(0,xo.default)(o).format("YYYY/MM/DD"))}})},CFSplitRange:function(e,a,t,l){let n=[],o=t.row[0]-a.row[0],s=t.column[0]-a.column[0],u=e.row[0],d=e.row[1],f=e.column[0],m=e.column[1];return u>=a.row[0]&&d<=a.row[1]&&f>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[u+o,d+o],column:[f+s,m+s]}]:l=="restPart"?n=[]:l=="operatePart"&&(n=[{row:[u+o,d+o],column:[f+s,m+s]}]):u>=a.row[0]&&u<=a.row[1]&&f>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[a.row[1]+1,d],column:[f,m]},{row:[u+o,a.row[1]+o],column:[f+s,m+s]}]:l=="restPart"?n=[{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[u+o,a.row[1]+o],column:[f+s,m+s]}]):d>=a.row[0]&&d<=a.row[1]&&f>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0]+o,d+o],column:[f+s,m+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,d+o],column:[f+s,m+s]}]):u<a.row[0]&&d>a.row[1]&&f>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[1]+1,d],column:[f,m]},{row:[a.row[0]+o,a.row[1]+o],column:[f+s,m+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,a.row[1]+o],column:[f+s,m+s]}]):f>=a.column[0]&&f<=a.column[1]&&u>=a.row[0]&&d<=a.row[1]?l=="allPart"?n=[{row:[u,d],column:[a.column[1]+1,m]},{row:[u+o,d+o],column:[f+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,d],column:[a.column[1]+1,m]}]:l=="operatePart"&&(n=[{row:[u+o,d+o],column:[f+s,a.column[1]+s]}]):m>=a.column[0]&&m<=a.column[1]&&u>=a.row[0]&&d<=a.row[1]?l=="allPart"?n=[{row:[u,d],column:[f,a.column[0]-1]},{row:[u+o,d+o],column:[a.column[0]+s,m+s]}]:l=="restPart"?n=[{row:[u,d],column:[f,a.column[0]-1]}]:l=="operatePart"&&(n=[{row:[u+o,d+o],column:[a.column[0]+s,m+s]}]):f<a.column[0]&&m>a.column[1]&&u>=a.row[0]&&d<=a.row[1]?l=="allPart"?n=[{row:[u,d],column:[f,a.column[0]-1]},{row:[u,d],column:[a.column[1]+1,m]},{row:[u+o,d+o],column:[a.column[0]+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,d],column:[f,a.column[0]-1]},{row:[u,d],column:[a.column[1]+1,m]}]:l=="operatePart"&&(n=[{row:[u+o,d+o],column:[a.column[0]+s,a.column[1]+s]}]):u>=a.row[0]&&u<=a.row[1]&&f>=a.column[0]&&f<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]},{row:[u+o,a.row[1]+o],column:[f+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[u+o,a.row[1]+o],column:[f+s,a.column[1]+s]}]):u>=a.row[0]&&u<=a.row[1]&&m>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[1]],column:[f,a.column[0]-1]},{row:[a.row[1]+1,d],column:[f,m]},{row:[u+o,a.row[1]+o],column:[a.column[0]+s,m+s]}]:l=="restPart"?n=[{row:[u,a.row[1]],column:[f,a.column[0]-1]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[u+o,a.row[1]+o],column:[a.column[0]+s,m+s]}]):d>=a.row[0]&&d<=a.row[1]&&f>=a.column[0]&&f<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],d],column:[a.column[1]+1,m]},{row:[a.row[0]+o,d+o],column:[f+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],d],column:[a.column[1]+1,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,d+o],column:[f+s,a.column[1]+s]}]):d>=a.row[0]&&d<=a.row[1]&&m>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],d],column:[f,a.column[0]-1]},{row:[a.row[0]+o,d+o],column:[a.column[0]+s,m+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],d],column:[f,a.column[0]-1]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,d+o],column:[a.column[0]+s,m+s]}]):u<a.row[0]&&d>a.row[1]&&f>=a.column[0]&&f<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]},{row:[a.row[0]+o,a.row[1]+o],column:[f+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,a.row[1]+o],column:[f+s,a.column[1]+s]}]):u<a.row[0]&&d>a.row[1]&&m>=a.column[0]&&m<=a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],a.row[1]],column:[f,a.column[0]-1]},{row:[a.row[1]+1,d],column:[f,m]},{row:[a.row[0]+o,a.row[1]+o],column:[a.column[0]+s,m+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],a.row[1]],column:[f,a.column[0]-1]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,a.row[1]+o],column:[a.column[0]+s,m+s]}]):f<a.column[0]&&m>a.column[1]&&u>=a.row[0]&&u<=a.row[1]?l=="allPart"?n=[{row:[u,a.row[1]],column:[f,a.column[0]-1]},{row:[u,a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]},{row:[u+o,a.row[1]+o],column:[a.column[0]+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,a.row[1]],column:[f,a.column[0]-1]},{row:[u,a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[u+o,a.row[1]+o],column:[a.column[0]+s,a.column[1]+s]}]):f<a.column[0]&&m>a.column[1]&&d>=a.row[0]&&d<=a.row[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],d],column:[f,a.column[0]-1]},{row:[a.row[0],d],column:[a.column[1]+1,m]},{row:[a.row[0]+o,d+o],column:[a.column[0]+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],d],column:[f,a.column[0]-1]},{row:[a.row[0],d],column:[a.column[1]+1,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,d+o],column:[a.column[0]+s,a.column[1]+s]}]):u<a.row[0]&&d>a.row[1]&&f<a.column[0]&&m>a.column[1]?l=="allPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],a.row[1]],column:[f,a.column[0]-1]},{row:[a.row[0],a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]},{row:[a.row[0]+o,a.row[1]+o],column:[a.column[0]+s,a.column[1]+s]}]:l=="restPart"?n=[{row:[u,a.row[0]-1],column:[f,m]},{row:[a.row[0],a.row[1]],column:[f,a.column[0]-1]},{row:[a.row[0],a.row[1]],column:[a.column[1]+1,m]},{row:[a.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(n=[{row:[a.row[0]+o,a.row[1]+o],column:[a.column[0]+s,a.column[1]+s]}]):l=="allPart"?n=[{row:[u,d],column:[f,m]}]:l=="restPart"?n=[{row:[u,d],column:[f,m]}]:l=="operatePart"&&(n=[]),n},getcolorGradation:function(e,a,t,l,n){let o=e.split(","),s=parseInt(o[0].split("(")[1]),u=parseInt(o[1]),d=parseInt(o[2].split(")")[0]),f=a.split(","),m=parseInt(f[0].split("(")[1]),g=parseInt(f[1]),y=parseInt(f[2].split(")")[0]),v=Math.round(s-(s-m)/(t-l)*(t-n)),b=Math.round(u-(u-g)/(t-l)*(t-n)),k=Math.round(d-(d-y)/(t-l)*(t-n));return"rgb("+v+", "+b+", "+k+")"},getCFPartRange:function(e,a,t){let l=[],n=h.luckysheetfile[Z(e)].luckysheet_conditionformat_save;if(n!=null&&n.length>0){e:for(let o=0;o<n.length;o++){let s=n[o].cellrange;for(let u=0;u<s.length;u++){let d=s[u].row[0],f=s[u].row[1],m=s[u].column[0],g=s[u].column[1];for(let y=0;y<range.length;y++)if(range[y].row[0]>=d&&range[y].row[0]<=f||range[y].row[1]>=d&&range[y].row[1]<=f||range[y].column[0]>=m&&range[y].column[0]<=g||range[y].column[1]>=m&&range[y].column[1]<=g){l.push(n[o]);continue e}}}}return l},checksCF:function(e,a,t){return t!=null&&e+"_"+a in t?t[e+"_"+a]:null},getComputeMap:function(e){let a=Z(h.currentSheetIndex);e!=null&&(a=Z(e));let t=h.luckysheetfile[a].luckysheet_conditionformat_save,l=h.luckysheetfile[a].data;return l==null?null:this.compute(t,l)},compute:function(e,a){let t=this;e==null&&(e=[]);let l={};if(e.length>0)for(let n=0;n<e.length;n++){let o=e[n].type,s=e[n].cellrange,u=e[n].format;if(o=="dataBar"){let d=null,f=null;for(let m=0;m<s.length;m++)for(let g=s[m].row[0];g<=s[m].row[1];g++)for(let y=s[m].column[0];y<=s[m].column[1];y++){if(a[g]==null||a[g][y]==null)continue;let v=a[g][y];P(v)=="object"&&v.ct!=null&&v.ct.t=="n"&&v.v!=null&&((d==null||parseInt(v.v)>d)&&(d=parseInt(v.v)),(f==null||parseInt(v.v)<f)&&(f=parseInt(v.v)))}if(d!=null&&f!=null)if(f<0){let m=Math.round(d/(d-f)*10)/10,g=Math.round(Math.abs(f)/(d-f)*10)/10;for(let y=0;y<s.length;y++)for(let v=s[y].row[0];v<=s[y].row[1];v++)for(let b=s[y].column[0];b<=s[y].column[1];b++){if(a[v]==null||a[v][b]==null)continue;let k=a[v][b];if(P(k)=="object"&&k.ct!=null&&k.ct.t=="n"&&k.v!=null){if(parseInt(k.v)<0){let x=Math.round(Math.abs(parseInt(k.v))/Math.abs(f)*100)/100;v+"_"+b in l?l[v+"_"+b].dataBar={valueType:"minus",minusLen:g,valueLen:x,format:u}:l[v+"_"+b]={dataBar:{valueType:"minus",minusLen:g,valueLen:x,format:u}}}if(parseInt(k.v)>0){let x=Math.round(parseInt(k.v)/d*100)/100;v+"_"+b in l?l[v+"_"+b].dataBar={valueType:"plus",plusLen:m,minusLen:g,valueLen:x,format:u}:l[v+"_"+b]={dataBar:{valueType:"plus",plusLen:m,minusLen:g,valueLen:x,format:u}}}}}}else{let m=1;for(let g=0;g<s.length;g++)for(let y=s[g].row[0];y<=s[g].row[1];y++)for(let v=s[g].column[0];v<=s[g].column[1];v++){if(a[y]==null||a[y][v]==null)continue;let b=a[y][v];if(P(b)=="object"&&b.ct!=null&&b.ct.t=="n"&&b.v!=null){let k;d==0?k=1:k=Math.round(parseInt(b.v)/d*100)/100,y+"_"+v in l?l[y+"_"+v].dataBar={valueType:"plus",plusLen:m,valueLen:k,format:u}:l[y+"_"+v]={dataBar:{valueType:"plus",plusLen:m,valueLen:k,format:u}}}}}}else if(o=="colorGradation"){let d=null,f=null,m=0,g=0;for(let y=0;y<s.length;y++)for(let v=s[y].row[0];v<=s[y].row[1];v++)for(let b=s[y].column[0];b<=s[y].column[1];b++){if(a[v]==null||a[v][b]==null)continue;let k=a[v][b];P(k)=="object"&&k.ct!=null&&k.ct.t=="n"&&k.v!=null&&(g++,m+=parseInt(k.v),(d==null||parseInt(k.v)>d)&&(d=parseInt(k.v)),(f==null||parseInt(k.v)<f)&&(f=parseInt(k.v)))}if(d!=null&&f!=null){if(u.length==3){let y=Math.floor(m/g);for(let v=0;v<s.length;v++)for(let b=s[v].row[0];b<=s[v].row[1];b++)for(let k=s[v].column[0];k<=s[v].column[1];k++){if(a[b]==null||a[b][k]==null)continue;let x=a[b][k];P(x)=="object"&&x.ct!=null&&x.ct.t=="n"&&x.v!=null&&(parseInt(x.v)==f?b+"_"+k in l?l[b+"_"+k].cellColor=u[2]:l[b+"_"+k]={cellColor:u[2]}:parseInt(x.v)>f&&parseInt(x.v)<y?b+"_"+k in l?l[b+"_"+k].cellColor=t.getcolorGradation(u[2],u[1],f,y,parseInt(x.v)):l[b+"_"+k]={cellColor:t.getcolorGradation(u[2],u[1],f,y,parseInt(x.v))}:parseInt(x.v)==y?b+"_"+k in l?l[b+"_"+k].cellColor=u[1]:l[b+"_"+k]={cellColor:u[1]}:parseInt(x.v)>y&&parseInt(x.v)<d?b+"_"+k in l?l[b+"_"+k].cellColor=t.getcolorGradation(u[1],u[0],y,d,parseInt(x.v)):l[b+"_"+k]={cellColor:t.getcolorGradation(u[1],u[0],y,d,parseInt(x.v))}:parseInt(x.v)==d&&(b+"_"+k in l?l[b+"_"+k].cellColor=u[0]:l[b+"_"+k]={cellColor:u[0]}))}}else if(u.length==2)for(let y=0;y<s.length;y++)for(let v=s[y].row[0];v<=s[y].row[1];v++)for(let b=s[y].column[0];b<=s[y].column[1];b++){if(a[v]==null||a[v][b]==null)continue;let k=a[v][b];P(k)=="object"&&k.ct!=null&&k.ct.t=="n"&&k.v!=null&&(parseInt(k.v)==f?v+"_"+b in l?l[v+"_"+b].cellColor=u[1]:l[v+"_"+b]={cellColor:u[1]}:parseInt(k.v)>f&&parseInt(k.v)<d?v+"_"+b in l?l[v+"_"+b].cellColor=t.getcolorGradation(u[1],u[0],f,d,parseInt(k.v)):l[v+"_"+b]={cellColor:t.getcolorGradation(u[1],u[0],f,d,parseInt(k.v))}:parseInt(k.v)==d&&(v+"_"+b in l?l[v+"_"+b].cellColor=u[0]:l[v+"_"+b]={cellColor:u[0]}))}}}else if(o=="icons"){let d=parseInt(u.len),f=parseInt(u.leftMin),m=parseInt(u.top),g=null,y=null;for(let v=0;v<s.length;v++)for(let b=s[v].row[0];b<=s[v].row[1];b++)for(let k=s[v].column[0];k<=s[v].column[1];k++){if(a[b]==null||a[b][k]==null)continue;let x=a[b][k];P(x)=="object"&&x.ct!=null&&x.ct.t=="n"&&x.v!=null&&((g==null||parseInt(x.v)>g)&&(g=parseInt(x.v)),(y==null||parseInt(x.v)<y)&&(y=parseInt(x.v)))}if(g!=null&&y!=null){let v=Math.floor((g-y+1)/d),b=(g-y+1)%d;if(d==3){let k,x,w;b==2?(k=[y,y+v],x=[y+v+1,y+v*2],w=[y+v*2+1,g]):(k=[y,y+v-1],x=[y+v,y+v*2-1],w=[y+v*2,g]);for(let _=0;_<s.length;_++)for(let S=s[_].row[0];S<=s[_].row[1];S++)for(let C=s[_].column[0];C<=s[_].column[1];C++){if(a[S]==null||a[S][C]==null)continue;let T=a[S][C];P(T)=="object"&&T.ct!=null&&T.ct.t=="n"&&T.v!=null&&(parseInt(T.v)>=k[0]&&parseInt(T.v)<=k[1]?S+"_"+C in l?l[S+"_"+C].icons={left:f+2,top:m}:l[S+"_"+C]={icons:{left:f+2,top:m}}:parseInt(T.v)>=x[0]&&parseInt(T.v)<=x[1]?S+"_"+C in l?l[S+"_"+C].icons={left:f+1,top:m}:l[S+"_"+C]={icons:{left:f+1,top:m}}:parseInt(T.v)>=w[0]&&parseInt(T.v)<=w[1]&&(S+"_"+C in l?l[S+"_"+C].icons={left:f,top:m}:l[S+"_"+C]={icons:{left:f,top:m}}))}}else if(d==4){let k,x,w,_;b==2?(k=[y,y+v],x=[y+v+1,y+v*2],w=[y+v*2+1,y+v*3],_=[y+v*3+1,g]):b==3?(k=[y,y+v],x=[y+v+1,y+v*2],w=[y+v*2+1,y+v*3+1],_=[y+v*3+2,g]):(k=[y,y+v-1],x=[y+v,y+v*2-1],w=[y+v*2,y+v*3-1],_=[y+v*3,g]);for(let S=0;S<s.length;S++)for(let C=s[S].row[0];C<=s[S].row[1];C++)for(let T=s[S].column[0];T<=s[S].column[1];T++){if(a[C]==null||a[C][T]==null)continue;let R=a[C][T];P(R)=="object"&&R.ct!=null&&R.ct.t=="n"&&R.v!=null&&(parseInt(R.v)>=k[0]&&parseInt(R.v)<=k[1]?C+"_"+T in l?l[C+"_"+T].icons={left:f+3,top:m}:l[C+"_"+T]={icons:{left:f+3,top:m}}:parseInt(R.v)>=x[0]&&parseInt(R.v)<=x[1]?C+"_"+T in l?l[C+"_"+T].icons={left:f+2,top:m}:l[C+"_"+T]={icons:{left:f+2,top:m}}:parseInt(R.v)>=w[0]&&parseInt(R.v)<=w[1]?C+"_"+T in l?l[C+"_"+T].icons={left:f+1,top:m}:l[C+"_"+T]={icons:{left:f+1,top:m}}:parseInt(R.v)>=_[0]&&parseInt(R.v)<=_[1]&&(C+"_"+T in l?l[C+"_"+T].icons={left:f,top:m}:l[C+"_"+T]={icons:{left:f,top:m}}))}}else if(d==5){let k,x,w,_,S;b==2?(k=[y,y+v],x=[y+v+1,y+v*2],w=[y+v*2+1,y+v*3],_=[y+v*3+1,y+v*4],S=[y+v*4+1,g]):b==3?(k=[y,y+v],x=[y+v+1,y+v*2],w=[y+v*2+1,y+v*3+1],_=[y+v*3+2,y+v*4+1],S=[y+v*4+2,g]):b==4?(k=[y,y+v],x=[y+v+1,y+v*2+1],w=[y+v*2+2,y+v*3+1],_=[y+v*3+2,y+v*4+2],S=[y+v*4+3,g]):(k=[y,y+v-1],x=[y+v,y+v*2-1],w=[y+v*2,y+v*3-1],_=[y+v*3,y+v*4-1],S=[y+v*4,g]);for(let C=0;C<s.length;C++)for(let T=s[C].row[0];T<=s[C].row[1];T++)for(let R=s[C].column[0];R<=s[C].column[1];R++){if(a[T]==null||a[T][R]==null)continue;let I=a[T][R];P(I)=="object"&&I.ct!=null&&I.ct.t=="n"&&I.v!=null&&(parseInt(I.v)>=k[0]&&parseInt(I.v)<=k[1]?T+"_"+R in l?l[T+"_"+R].icons={left:f+4,top:m}:l[T+"_"+R]={icons:{left:f+4,top:m}}:parseInt(I.v)>=x[0]&&parseInt(I.v)<=x[1]?T+"_"+R in l?l[T+"_"+R].icons={left:f+3,top:m}:l[T+"_"+R]={icons:{left:f+3,top:m}}:parseInt(I.v)>=w[0]&&parseInt(I.v)<=w[1]?T+"_"+R in l?l[T+"_"+R].icons={left:f+2,top:m}:l[T+"_"+R]={icons:{left:f+2,top:m}}:parseInt(I.v)>=_[0]&&parseInt(I.v)<=_[1]?T+"_"+R in l?l[T+"_"+R].icons={left:f+1,top:m}:l[T+"_"+R]={icons:{left:f+1,top:m}}:parseInt(I.v)>=S[0]&&parseInt(I.v)<=S[1]&&(T+"_"+R in l?l[T+"_"+R].icons={left:f,top:m}:l[T+"_"+R]={icons:{left:f,top:m}}))}}}}else{let d=e[n].conditionName,f=e[n].conditionValue[0],m=e[n].conditionValue[1],g=u.textColor,y=u.cellColor;for(let v=0;v<s.length;v++)if(d=="greaterThan"||d=="lessThan"||d=="equal"||d=="textContains")for(let b=s[v].row[0];b<=s[v].row[1];b++)for(let k=s[v].column[0];k<=s[v].column[1];k++){if(a[b]==null||a[b][k]==null)continue;let x=a[b][k];P(x)!="object"||de(x.v)||(d=="greaterThan"&&x.v>f?b+"_"+k in l?(l[b+"_"+k].textColor=g,l[b+"_"+k].cellColor=y):l[b+"_"+k]={textColor:g,cellColor:y}:d=="lessThan"&&x.v<f?b+"_"+k in l?(l[b+"_"+k].textColor=g,l[b+"_"+k].cellColor=y):l[b+"_"+k]={textColor:g,cellColor:y}:d=="equal"&&x.v==f?b+"_"+k in l?(l[b+"_"+k].textColor=g,l[b+"_"+k].cellColor=y):l[b+"_"+k]={textColor:g,cellColor:y}:d=="textContains"&&x.v.toString().indexOf(f)!=-1&&(b+"_"+k in l?(l[b+"_"+k].textColor=g,l[b+"_"+k].cellColor=y):l[b+"_"+k]={textColor:g,cellColor:y}))}else if(d=="betweenness"){let b,k;f>m?(b=f,k=m):(b=m,k=f);for(let x=s[v].row[0];x<=s[v].row[1];x++)for(let w=s[v].column[0];w<=s[v].column[1];w++){if(a[x]==null||a[x][w]==null)continue;let _=a[x][w];P(_)!="object"||de(_.v)||_.v>=k&&_.v<=b&&(x+"_"+w in l?(l[x+"_"+w].textColor=g,l[x+"_"+w].cellColor=y):l[x+"_"+w]={textColor:g,cellColor:y})}}else if(d=="occurrenceDate"){let b,k;if(f.toString().indexOf("-")==-1)b=it(f)[2],k=it(f)[2];else{let x=f.toString().split("-");b=it(x[1].trim())[2],k=it(x[0].trim())[2]}for(let x=s[v].row[0];x<=s[v].row[1];x++)for(let w=s[v].column[0];w<=s[v].column[1];w++)if(!(a[x]==null||a[x][w]==null)&&a[x][w].ct!=null&&a[x][w].ct.t=="d"){let _=ze(x,w,a);_>=k&&_<=b&&(x+"_"+w in l?(l[x+"_"+w].textColor=g,l[x+"_"+w].cellColor=y):l[x+"_"+w]={textColor:g,cellColor:y})}}else if(d=="duplicateValue"){let b={};for(let k=s[v].row[0];k<=s[v].row[1];k++)for(let x=s[v].column[0];x<=s[v].column[1];x++){let w=ze(k,x,a);w in b||(b[w]=[]),b[w].push({r:k,c:x})}if(f=="0"){for(let k in b)if(k!="null"&&k!="undefined"&&b[k].length>1)for(let x=0;x<b[k].length;x++)b[k][x].r+"_"+b[k][x].c in l?(l[b[k][x].r+"_"+b[k][x].c].textColor=g,l[b[k][x].r+"_"+b[k][x].c].cellColor=y):l[b[k][x].r+"_"+b[k][x].c]={textColor:g,cellColor:y}}if(f=="1")for(let k in b)k!="null"&&k!="undefined"&&b[k].length==1&&(b[k][0].r+"_"+b[k][0].c in l?(l[b[k][0].r+"_"+b[k][0].c].textColor=g,l[b[k][0].r+"_"+b[k][0].c].cellColor=y):l[b[k][0].r+"_"+b[k][0].c]={textColor:g,cellColor:y})}else if(d=="top10"||d=="top10%"||d=="last10"||d=="last10%"||d=="AboveAverage"||d=="SubAverage"){let b=[];for(let k=s[v].row[0];k<=s[v].row[1];k++)for(let x=s[v].column[0];x<=s[v].column[1];x++)a[k]==null||a[k][x]==null||a[k][x].ct!=null&&a[k][x].ct.t=="n"&&b.push(ze(k,x,a));if(d=="top10"||d=="top10%"||d=="last10"||d=="last10%"){for(let x=0;x<b.length;x++)for(let w=0;w<b.length-1-x;w++)if(b[w]<b[w+1]){let _=b[w];b[w]=b[w+1],b[w+1]=_}let k;d=="top10"?k=b.slice(0,f):d=="top10%"?k=b.slice(0,Math.floor(f*b.length/100)):d=="last10"?k=b.slice(b.length-f,b.length):d=="last10%"&&(k=b.slice(b.length-Math.floor(f*b.length/100),b.length));for(let x=s[v].row[0];x<=s[v].row[1];x++)for(let w=s[v].column[0];w<=s[v].column[1];w++){if(a[x]==null||a[x][w]==null)continue;let _=ze(x,w,a);k.indexOf(_)!=-1&&(x+"_"+w in l?(l[x+"_"+w].textColor=g,l[x+"_"+w].cellColor=y):l[x+"_"+w]={textColor:g,cellColor:y})}}else if(d=="AboveAverage"||d=="SubAverage"){let k=0;for(let w=0;w<b.length;w++)k+=b[w];let x=k/b.length;if(d=="AboveAverage")for(let w=s[v].row[0];w<=s[v].row[1];w++)for(let _=s[v].column[0];_<=s[v].column[1];_++){if(a[w]==null||a[w][_]==null)continue;ze(w,_,a)>x&&(w+"_"+_ in l?(l[w+"_"+_].textColor=g,l[w+"_"+_].cellColor=y):l[w+"_"+_]={textColor:g,cellColor:y})}else if(d=="SubAverage")for(let w=s[v].row[0];w<=s[v].row[1];w++)for(let _=s[v].column[0];_<=s[v].column[1];_++){if(a[w]==null||a[w][_]==null)continue;ze(w,_,a)<x&&(w+"_"+_ in l?(l[w+"_"+_].textColor=g,l[w+"_"+_].cellColor=y):l[w+"_"+_]={textColor:g,cellColor:y})}}}else if(d=="formula"){let b=s[v].row[0],k=s[v].row[1],x=s[v].column[0],w=s[v].column[1],_=f;f.toString().slice(0,1)!="="&&(_="="+f);for(let S=b;S<=k;S++)for(let C=x;C<=w;C++){let T=_,R=S-b,I=C-x;R>0&&(T="="+p.functionCopy(T,"down",R)),I>0&&(T="="+p.functionCopy(T,"right",I));let E=p.execfunction(T)[1];typeof E!="boolean"&&(E=!!Number(E)),!!E&&(S+"_"+C in l?(l[S+"_"+C].textColor=g,l[S+"_"+C].cellColor=y):l[S+"_"+C]={textColor:g,cellColor:y})}}}}return l},updateItem:function(e,a,t){if(!Tl(h.currentSheetIndex))return;let l=this,n=Z(h.currentSheetIndex),o=$.extend(!0,[],h.luckysheetfile),s=l.getHistoryRules(o),u;if(e=="delSheet")u=[];else{let m={type:e,cellrange:a,format:t};u=h.luckysheetfile[n].luckysheet_conditionformat_save==null?[]:h.luckysheetfile[n].luckysheet_conditionformat_save,u.push(m)}h.luckysheetfile[n].luckysheet_conditionformat_save=u;let d=$.extend(!0,[],h.luckysheetfile),f=l.getCurrentRules(d);l.ref(s,f),re.allowUpdate&&re.saveParam("all",h.currentSheetIndex,u,{k:"luckysheet_conditionformat_save"})},getHistoryRules:function(e){let a=[];for(let t=0;t<e.length;t++)a.push({sheetIndex:e[t].index,luckysheet_conditionformat_save:e[t].luckysheet_conditionformat_save});return a},getCurrentRules:function(e){let a=[];for(let t=0;t<e.length;t++)a.push({sheetIndex:e[t].index,luckysheet_conditionformat_save:e[t].luckysheet_conditionformat_save});return a},ref:function(e,a){if(h.clearjfundo){h.jfundo.length=0;let t={};t.type="updateCF",t.data={historyRules:e,currentRules:a},h.jfredo.push(t)}setTimeout(function(){Le()},1)}},$e=Wy});var Yy,wt,Ln=Ae(()=>{Xt();lr();hl();Dr();Kt();ar();Vt();Mn();Wt();cl();At();Yt();Ir();Rt();dt();Ke();bt();Ol();Yy={clearcopy:function(e){let a=window.clipboardData;a||e&&(a=e.originalEvent.clipboardData);let t=" ";if(h.luckysheet_selection_range=[],Mt(),a)return a.setData("Text",t),!1;{let l=$("#luckysheet-copy-content").css("visibility","hidden");l.val(t),l.focus(),l.select(),setTimeout(function(){l.blur().css("visibility","visible")},10)}},getHtmlBorderStyle:function(e,a){let t="";return e={"0":"none","1":"Thin","2":"Hair","3":"Dotted","4":"Dashed","5":"DashDot","6":"DashDotDot","7":"Double","8":"Medium","9":"MediumDashed","10":"MediumDashDot","11":"MediumDashDotDot","12":"SlantedDashDot","13":"Thick"}[e.toString()],e.indexOf("Medium")>-1?t+="1pt ":e=="Thick"?t+="1.5pt ":t+="0.5pt ",e=="Hair"?t+="double ":e.indexOf("DashDotDot")>-1?t+="dotted ":e.indexOf("DashDot")>-1?t+="dashed ":e.indexOf("Dotted")>-1?t+="dotted ":e.indexOf("Dashed")>-1?t+="dashed ":t+="solid ",t+a+";"},copy:function(e){let a=window.clipboardData;a||(a=e.originalEvent.clipboardData),h.luckysheet_selection_range=[];let t=[],l=[],n=[],o=!1,s=!1;for(let y=0;y<h.luckysheet_select_save.length;y++){let v=h.luckysheet_select_save[y],b=v.row[0],k=v.row[1],x=v.column[0],w=v.column[1];for(let _=b;_<=k;_++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[_]!=null)){t.includes(_)||t.push(_),h.config.rowlen!=null&&_ in h.config.rowlen&&(o=!0);for(let S=x;S<=w;S++){if(h.config.colhidden!=null&&h.config.colhidden[S]!=null)continue;l.includes(S)||l.push(S);let C=h.flowdata[_][S];P(C)=="object"&&"mc"in C&&C.mc.rs!=null&&(s=!0)}}h.luckysheet_selection_range.push({row:v.row,column:v.column}),n.push({row:v.row,column:v.column})}Mt(),h.luckysheet_copy_save={dataSheetIndex:h.currentSheetIndex,copyRange:n,RowlChange:o,HasMC:s};let u=this,d;h.config.borderInfo&&h.config.borderInfo.length>0&&(d=Vl());let f="",m=xe.deepCopyFlowData(h.flowdata),g="";for(let y=0;y<t.length;y++){let v=t[y];if(!(h.config.rowhidden!=null&&h.config.rowhidden[v]!=null)){f+="<tr>";for(let b=0;b<l.length;b++){let k=l[b];if(h.config.colhidden!=null&&h.config.colhidden[k]!=null)continue;let x='<td ${span} style="${style}">';if(m[v]!=null&&m[v][k]!=null){let w="",_="";v==t[0]&&(h.config==null||h.config.columnlen==null||h.config.columnlen[k.toString()]==null?g+='<colgroup width="72px"></colgroup>':g+='<colgroup width="'+h.config.columnlen[k.toString()]+'px"></colgroup>'),k==l[0]&&(h.config==null||h.config.rowlen==null||h.config.rowlen[v.toString()]==null?w+="height:19px;":w+="height:"+h.config.rowlen[v.toString()]+"px;");let S=/^(w|W)((0?)|(0\.0+))$/,C;if(m[v][k].ct!=null&&m[v][k].ct.fa!=null&&m[v][k].ct.fa.match(S)?C=ze(v,k,m):C=ze(v,k,m,"m"),w+=be.getStyleByCell(m,v,k),P(m[v][k])=="object"&&"mc"in m[v][k])if("rs"in m[v][k].mc){if(_='rowspan="'+m[v][k].mc.rs+'" colspan="'+m[v][k].mc.cs+'"',d&&d[v+"_"+k]){let T={color:{},style:{}},R={color:{},style:{}},I={color:{},style:{}},A={color:{},style:{}};for(let D=v;D<v+m[v][k].mc.rs;D++)for(let F=k;F<k+m[v][k].mc.cs;F++){if(D==v&&d[D+"_"+F]&&d[D+"_"+F].t){let M=d[D+"_"+F].t.style,z=d[D+"_"+F].t.color;I.style[M]==null?I.style[M]=1:I.style[M]=I.style[M]+1,I.color[z]==null?I.color[z]=1:I.color[z]=I.color[z]+1}if(D==v+m[v][k].mc.rs-1&&d[D+"_"+F]&&d[D+"_"+F].b){let M=d[D+"_"+F].b.style,z=d[D+"_"+F].b.color;A.style[M]==null?A.style[M]=1:A.style[M]=A.style[M]+1,A.color[z]==null?A.color[z]=1:A.color[z]=A.color[z]+1}if(F==k&&d[D+"_"+F]&&d[D+"_"+F].l){let M=d[v+"_"+k].l.style,z=d[D+"_"+F].l.color;T.style[M]==null?T.style[M]=1:T.style[M]=T.style[M]+1,T.color[z]==null?T.color[z]=1:T.color[z]=T.color[z]+1}if(F==k+m[v][k].mc.cs-1&&d[D+"_"+F]&&d[D+"_"+F].r){let M=d[D+"_"+F].r.style,z=d[D+"_"+F].r.color;R.style[M]==null?R.style[M]=1:R.style[M]=R.style[M]+1,R.color[z]==null?R.color[z]=1:R.color[z]=R.color[z]+1}}let E=m[v][k].mc.rs,N=m[v][k].mc.cs;if(JSON.stringify(T).length>23){let D=null,F=null;for(let M in T.color)T.color[M]>=E/2&&(D=M);for(let M in T.style)T.style[M]>=E/2&&(F=M);D!=null&&F!=null&&(w+="border-left:"+u.getHtmlBorderStyle(F,D))}if(JSON.stringify(R).length>23){let D=null,F=null;for(let M in R.color)R.color[M]>=E/2&&(D=M);for(let M in R.style)R.style[M]>=E/2&&(F=M);D!=null&&F!=null&&(w+="border-right:"+u.getHtmlBorderStyle(F,D))}if(JSON.stringify(I).length>23){let D=null,F=null;for(let M in I.color)I.color[M]>=N/2&&(D=M);for(let M in I.style)I.style[M]>=N/2&&(F=M);D!=null&&F!=null&&(w+="border-top:"+u.getHtmlBorderStyle(F,D))}if(JSON.stringify(A).length>23){let D=null,F=null;for(let M in A.color)A.color[M]>=N/2&&(D=M);for(let M in A.style)A.style[M]>=N/2&&(F=M);D!=null&&F!=null&&(w+="border-bottom:"+u.getHtmlBorderStyle(F,D))}}}else continue;else if(d&&d[v+"_"+k]){if(d[v+"_"+k].l){let T=d[v+"_"+k].l.style,R=d[v+"_"+k].l.color;w+="border-left:"+u.getHtmlBorderStyle(T,R)}if(d[v+"_"+k].r){let T=d[v+"_"+k].r.style,R=d[v+"_"+k].r.color;w+="border-right:"+u.getHtmlBorderStyle(T,R)}if(d[v+"_"+k].b){let T=d[v+"_"+k].b.style,R=d[v+"_"+k].b.color;w+="border-bottom:"+u.getHtmlBorderStyle(T,R)}if(d[v+"_"+k].t){let T=d[v+"_"+k].t.style,R=d[v+"_"+k].t.color;w+="border-top:"+u.getHtmlBorderStyle(T,R)}}x=we(x,{style:w,span:_}),C==null&&(C=ze(v,k,m)),C==null&&m[v][k]&&m[v][k].ct&&m[v][k].ct.t=="inlineStr"&&(C=m[v][k].ct.s.map(T=>{let R=$("<font></font>");return T.fs&&R.css("font-size",T.fs),T.bl&&R.css("font-weight",T.border),T.it&&R.css("font-style",T.italic),T.cl==1&&R.css("text-decoration","underline"),R.text(T.v),R[0].outerHTML}).join("")),C==null&&(C=""),x+=C}else{let w="";if(d&&d[v+"_"+k]){if(d[v+"_"+k].l){let _=d[v+"_"+k].l.style,S=d[v+"_"+k].l.color;w+="border-left:"+u.getHtmlBorderStyle(_,S)}if(d[v+"_"+k].r){let _=d[v+"_"+k].r.style,S=d[v+"_"+k].r.color;w+="border-right:"+u.getHtmlBorderStyle(_,S)}if(d[v+"_"+k].b){let _=d[v+"_"+k].b.style,S=d[v+"_"+k].b.color;w+="border-bottom:"+u.getHtmlBorderStyle(_,S)}if(d[v+"_"+k].t){let _=d[v+"_"+k].t.style,S=d[v+"_"+k].t.color;w+="border-top:"+u.getHtmlBorderStyle(_,S)}}x+="",v==t[0]&&(h.config==null||h.config.columnlen==null||h.config.columnlen[k.toString()]==null?g+='<colgroup width="72px"></colgroup>':g+='<colgroup width="'+h.config.columnlen[k.toString()]+'px"></colgroup>'),k==l[0]&&(h.config==null||h.config.rowlen==null||h.config.rowlen[v.toString()]==null?w+="height:19px;":w+="height:"+h.config.rowlen[v.toString()]+"px;"),x=we(x,{style:w,span:""}),x+=""}x+="</td>",f+=x}f+="</tr>"}}if(f='<table data-type="luckysheet_copy_action_table">'+g+f+"</table>",h.iscopyself=!0,a)return a.setData("Text",f),!1;{let y=$("#luckysheet-copy-content");y.html(f),y.focus(),y.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout(function(){$("#luckysheet-copy-content").blur()},10)}},copybyformat:function(e,a){let t=window.clipboardData;t||(t=e.originalEvent&&e.originalEvent.clipboardData),h.luckysheet_selection_range=[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],Mt();let l=a;if(h.iscopyself=!0,t)return t.setData("Text",l),!1;{let n=$("#luckysheet-copy-content");n.text(l),n.focus(),n.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout(function(){n.blur()},10)}},isPasteAction:!1,paste:function(e,a){let t=this;if(h.allowEdit===!1)return;let n=Q().drag,o=$("#luckysheet-copy-content");o.focus(),o.select(),setTimeout(function(){let s=o.html();s.indexOf("luckysheet_copy_action_table")>-1&&h.luckysheet_copy_save.copyRange!=null&&h.luckysheet_copy_save.copyRange.length>0?h.luckysheet_paste_iscut?(h.luckysheet_paste_iscut=!1,t.pasteHandlerOfCutPaste(h.luckysheet_copy_save),t.clearcopy(e)):t.pasteHandlerOfCopyPaste(h.luckysheet_copy_save):s.indexOf("luckysheet_copy_action_image")>-1?Re.pasteImgItem():a!="btn"?t.pasteHandler(s):he()?alert(n.pasteMustKeybordAlert):j.info(n.pasteMustKeybordAlertHTMLTitle,n.pasteMustKeybordAlertHTML)},10)},pasteHandler:function(e,a){if(!!fl(h.luckysheet_select_save,h.currentSheetIndex)&&h.allowEdit!==!1)if(h.luckysheet_select_save.length>1&&(he()?alert("\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5"):j.info('<i class="fa fa-exclamation-triangle"></i>\u63D0\u793A',"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5")),typeof e=="object"){if(e.length==0)return;let t=$.extend(!0,{},h.config);t.merge==null&&(t.merge={}),JSON.stringify(a).length>2&&t.borderInfo==null&&(t.borderInfo=[]);let l=e.length,n=e[0].length,o=h.luckysheet_select_save[0].row[0],s=o+l-1,u=h.luckysheet_select_save[0].column[0],d=u+n-1,f=!1;if(t.merge!=null&&(f=Nt(t,o,s,u,d)),f){he()?alert("\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"):j.info('<i class="fa fa-exclamation-triangle"></i>\u63D0\u793A',"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539");return}let m=xe.deepCopyFlowData(h.flowdata),g=m.length,y=m[0].length,v=s-g+1,b=d-y+1;(v>0||b>0)&&(m=or([].concat(m),v,b,!0)),t.rowlen==null&&(t.rowlen={});let k=!1,x={};for(let w=o;w<=s;w++){let _=[].concat(m[w]),S=h.defaultrowlen;t.rowlen[w]!=null&&(S=t.rowlen[w]);for(let C=u;C<=d;C++){P(_[C])=="object"&&"mc"in _[C]&&("rs"in _[C].mc&&delete t.merge[_[C].mc.r+"_"+_[C].mc.c],delete _[C].mc);let T=null;if(e[w-o]!=null&&e[w-o][C-u]!=null&&(T=e[w-o][C-u]),_[C]=$.extend(!0,{},T),T!=null&&"mc"in _[C]&&(_[C].mc.rs!=null?(_[C].mc.r=w,_[C].mc.c=C,t.merge[_[C].mc.r+"_"+_[C].mc.c]=_[C].mc,x[T.mc.r+"_"+T.mc.c]=[_[C].mc.r,_[C].mc.c]):_[C]={mc:{r:x[T.mc.r+"_"+T.mc.c][0],c:x[T.mc.r+"_"+T.mc.c][1]}}),a[w-o+"_"+(C-u)]){let A={rangeType:"cell",value:{row_index:w,col_index:C,l:a[w-o+"_"+(C-u)].l,r:a[w-o+"_"+(C-u)].r,t:a[w-o+"_"+(C-u)].t,b:a[w-o+"_"+(C-u)].b}};t.borderInfo.push(A)}let R=Ja(_[C]),I=be.getTextSize("\u7530",R)[1];I>S&&(S=I,k=!0)}m[w]=_,S!=h.defaultrowlen&&(t.rowlen[w]=S)}if(h.luckysheet_select_save=[{row:[o,s],column:[u,d]}],v>0||b>0||k){let w={cfg:t,RowlChange:!0};Ze(m,h.luckysheet_select_save,w)}else{let w={cfg:t};Ze(m,h.luckysheet_select_save,w),et()}}else{e=e.replace(/\r/g,"");let t=[],l=e.split(`
`),n=l[0].split(" ").length;for(let b=0;b<l.length;b++)l[b].split(" ").length<n||t.push(l[b].split(" "));let o=xe.deepCopyFlowData(h.flowdata),s=h.luckysheet_select_save[h.luckysheet_select_save.length-1],u=s.row==null?0:s.row[0],d=s.column==null?0:s.column[0],f=t.length,m=t[0].length,g=!1;if(h.config.merge!=null&&(g=Nt(h.config,u,u+f-1,d,d+m-1)),g){he()?alert("\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"):j.info('<i class="fa fa-exclamation-triangle"></i>\u63D0\u793A',"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539");return}let y=u+f-o.length,v=d+m-o[0].length;(y>0||v>0)&&(o=or([].concat(o),y,v,!0));for(let b=0;b<f;b++){let k=[].concat(o[b+u]);for(let x=0;x<m;x++){let w=k[x+d],_=t[b][x];if(L(_)&&(w&&w.ct&&w.ct.fa==="@"?_=String(_):_=parseFloat(_)),w instanceof Object)w.v=_,w.ct!=null&&w.ct.fa!=null?w.m=mt(w.ct.fa,_):w.m=_,w.f!=null&&w.f.length>0&&(w.f="",p.delFunctionGroup(b+u,x+d,h.currentSheetIndex));else{let S={},C=it(_);S.v=C[2],S.ct=C[1],S.m=C[0],k[x+d]=S}}o[b+u]=k}if(s.row=[u,u+f-1],s.column=[d,d+m-1],y>0||v>0){let b={RowlChange:!0};Ze(o,h.luckysheet_select_save,b)}else Ze(o,h.luckysheet_select_save),et()}},pasteHandlerOfCutPaste:function(e){if(!fl(h.luckysheet_select_save,h.currentSheetIndex)||h.allowEdit===!1)return;let a=$.extend(!0,{},h.config);a.merge==null&&(a.merge={});let t=e.HasMC,l=e.RowlChange,n=e.dataSheetIndex,o=e.copyRange[0].row[0],s=e.copyRange[0].row[1],u=e.copyRange[0].column[0],d=e.copyRange[0].column[1],f=$.extend(!0,[],Dt({row:[o,s],column:[u,d]},n)),m=f.length,g=f[0].length,y=h.luckysheet_select_save[h.luckysheet_select_save.length-1],v=y.row_focus,b=v+m-1,k=y.column_focus,x=k+g-1,w=!1;if(a.merge!=null&&(w=Nt(a,v,b,k,x)),w){he()?alert("\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"):j.info('<i class="fa fa-exclamation-triangle"></i>\u63D0\u793A',"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539");return}let _=xe.deepCopyFlowData(h.flowdata),S=_.length,C=_[0].length,T=m+v-S,R=g+k-C;(T>0||R>0)&&(_=or([].concat(_),T,R,!0));let I=Vl(n),A=$.extend(!0,{},h.luckysheetfile[Z(n)].dataVerification),E=$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].dataVerification);if(h.currentSheetIndex==n){for(let M=o;M<=s;M++)for(let z=u;z<=d;z++){let O=_[M][z];P(O)=="object"&&"mc"in O&&("rs"in O.mc&&delete a.merge[O.mc.r+"_"+O.mc.c],delete O.mc),_[M][z]=null,delete E[M+"_"+z]}if(a.borderInfo&&a.borderInfo.length>0){let M=[];for(let z=0;z<a.borderInfo.length;z++){let O=a.borderInfo[z].rangeType;if(O=="range"){let H=a.borderInfo[z].range,U=[];for(let X=0;X<H.length;X++)U=U.concat($e.CFSplitRange(H[X],{row:[o,s],column:[u,d]},{row:[v,b],column:[k,x]},"restPart"));a.borderInfo[z].range=U,M.push(a.borderInfo[z])}else if(O=="cell"){let H=a.borderInfo[z].value.row_index,U=a.borderInfo[z].value.col_index;H>=o&&H<=s&&U>=u&&U<=d||M.push(a.borderInfo[z])}}a.borderInfo=M}}let N={};for(let M=v;M<=b;M++){let z=[].concat(_[M]);for(let O=k;O<=x;O++){if(I[o+M-v+"_"+(u+O-k)]){let U={rangeType:"cell",value:{row_index:M,col_index:O,l:I[o+M-v+"_"+(u+O-k)].l,r:I[o+M-v+"_"+(u+O-k)].r,t:I[o+M-v+"_"+(u+O-k)].t,b:I[o+M-v+"_"+(u+O-k)].b}};a.borderInfo==null&&(a.borderInfo=[]),a.borderInfo.push(U)}else if(I[M+"_"+O]){let U={rangeType:"cell",value:{row_index:M,col_index:O,l:null,r:null,t:null,b:null}};a.borderInfo==null&&(a.borderInfo=[]),a.borderInfo.push(U)}A[o+M-v+"_"+(u+O-k)]&&(E[M+"_"+O]=A[o+M-v+"_"+(u+O-k)]),P(z[O])=="object"&&"mc"in z[O]&&("rs"in z[O].mc&&delete a.merge[z[O].mc.r+"_"+z[O].mc.c],delete z[O].mc);let H=null;f[M-v]!=null&&f[M-v][O-k]!=null&&(H=f[M-v][O-k]),z[O]=$.extend(!0,{},H),H!=null&&t&&"mc"in z[O]&&(z[O].mc.rs!=null?(z[O].mc.r=M,z[O].mc.c=O,a.merge[z[O].mc.r+"_"+z[O].mc.c]=z[O].mc,N[H.mc.r+"_"+H.mc.c]=[z[O].mc.r,z[O].mc.c]):z[O]={mc:{r:N[H.mc.r+"_"+H.mc.c][0],c:N[H.mc.r+"_"+H.mc.c][1]}})}_[M]=z}y.row=[v,b],y.column=[k,x],l&&(h.currentSheetIndex!=n?a=mr(_,v,b,a):(a=mr(_,o,s,a),a=mr(_,v,b,a)));let D,F;if(h.currentSheetIndex!=n){let M=$.extend(!0,[],h.luckysheetfile[Z(n)].data),z=$.extend(!0,{},h.luckysheetfile[Z(n)].config),O=$.extend(!0,[],M),H=$.extend(!0,{},z);H.merge==null&&(H.merge={});for(let oe=o;oe<=s;oe++)for(let ie=u;ie<=d;ie++){let ue=O[oe][ie];P(ue)=="object"&&"mc"in ue&&("rs"in ue.mc&&delete H.merge[ue.mc.r+"_"+ue.mc.c],delete ue.mc),O[oe][ie]=null}if(l&&(H=mr(O,o,s,H)),H.borderInfo&&H.borderInfo.length>0){let oe=[];for(let ie=0;ie<H.borderInfo.length;ie++){let ue=H.borderInfo[ie].rangeType;if(ue=="range"){let me=H.borderInfo[ie].range,ce=[];for(let K=0;K<me.length;K++)ce=ce.concat($e.CFSplitRange(me[K],{row:[o,s],column:[u,d]},{row:[v,b],column:[k,x]},"restPart"));H.borderInfo[ie].range=ce,oe.push(H.borderInfo[ie])}else if(ue=="cell"){let me=H.borderInfo[ie].value.row_index,ce=H.borderInfo[ie].value.col_index;me>=o&&me<=s&&ce>=u&&ce<=d||oe.push(H.borderInfo[ie])}}H.borderInfo=oe}let U=$.extend(!0,[],h.luckysheetfile[Z(n)].luckysheet_conditionformat_save),X=$.extend(!0,[],U),Y=[];if(X!=null&&X.length>0)for(let oe=0;oe<X.length;oe++){let ie=X[oe].cellrange,ue=[],me=[];for(let ce=0;ce<ie.length;ce++){let K=$e.CFSplitRange(ie[ce],{row:[o,s],column:[u,d]},{row:[v,b],column:[k,x]},"restPart");ue=ue.concat(K);let G=$e.CFSplitRange(ie[ce],{row:[o,s],column:[u,d]},{row:[v,b],column:[k,x]},"operatePart");G.length>0&&(me=me.concat(G))}if(X[oe].cellrange=ue,me.length>0){let ce=$.extend(!0,{},X[oe]);ce.cellrange=me,Y.push(ce)}}let ee=$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save),ae=$.extend(!0,[],ee);Y.length>0&&(ae=ae.concat(Y));for(let oe=o;oe<=s;oe++)for(let ie=u;ie<=d;ie++)delete A[oe+"_"+ie];D={sheetIndex:n,data:M,curData:O,config:z,curConfig:H,cdformat:U,curCdformat:X,dataVerification:$.extend(!0,{},h.luckysheetfile[Z(n)].dataVerification),curDataVerification:A,range:{row:[o,s],column:[u,d]}},F={sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:_,config:$.extend(!0,{},h.config),curConfig:a,cdformat:ee,curCdformat:ae,dataVerification:$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].dataVerification),curDataVerification:E,range:{row:[v,b],column:[k,x]}}}else{let M=$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save),z=$.extend(!0,[],M);if(z!=null&&z.length>0)for(let O=0;O<z.length;O++){let H=z[O].cellrange,U=[];for(let X=0;X<H.length;X++){let Y=$e.CFSplitRange(H[X],{row:[o,s],column:[u,d]},{row:[v,b],column:[k,x]},"allPart");U=U.concat(Y)}z[O].cellrange=U}D={sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:_,config:$.extend(!0,{},h.config),curConfig:a,cdformat:M,curCdformat:z,dataVerification:$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].dataVerification),curDataVerification:E,range:{row:[o,s],column:[u,d]}},F={sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:_,config:$.extend(!0,{},h.config),curConfig:a,cdformat:M,curCdformat:z,dataVerification:$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].dataVerification),curDataVerification:E,range:{row:[v,b],column:[k,x]}}}T>0||R>0?zn(D,F,!0):zn(D,F,l)},pasteHandlerOfCopyPaste:function(e){if(!fl(h.luckysheet_select_save,h.currentSheetIndex))return;let a=$.extend(!0,{},h.config);a.merge==null&&(a.merge={});let t=e.HasMC,l=e.RowlChange,n=e.dataSheetIndex,o=e.copyRange[0].row[0],s=e.copyRange[0].row[1],u=e.copyRange[0].column[0],d=e.copyRange[0].column[1],f=[],m=!1;for(let ae=0;ae<e.copyRange.length;ae++){let oe=Dt({row:e.copyRange[ae].row,column:e.copyRange[ae].column},n);e.copyRange.length>1?o==e.copyRange[1].row[0]&&s==e.copyRange[1].row[1]?(oe=oe[0].map(function(ie,ue){return oe.map(function(me){return me[ue]})}),f=f.concat(oe),m=!0):u==e.copyRange[1].column[0]&&d==e.copyRange[1].column[1]&&(f=f.concat(oe)):f=oe}m&&(f=f[0].map(function(ae,oe){return f.map(function(ie){return ie[oe]})}));let g=$.extend(!0,[],f);if(e.copyRange.length>1)for(let ae=0;ae<g.length;ae++)for(let oe=0;oe<g[ae].length;oe++)g[ae][oe]!=null&&g[ae][oe].f!=null&&(delete g[ae][oe].f,delete g[ae][oe].spl);let y=g.length,v=g[0].length,b=h.luckysheet_select_save[h.luckysheet_select_save.length-1],k=b.row[0],x=b.row[1],w=b.column[0],_=b.column[1],S=(x-k+1)%y,C=(_-w+1)%v;(S!=0||C!=0)&&(x=k+y-1,_=w+v-1);let T=!1;if(a.merge!=null&&(T=Nt(a,k,x,w,_)),T){he()?alert("\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"):j.info('<i class="fa fa-exclamation-triangle"></i>\u63D0\u793A',"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539");return}let R=(x-k+1)/y,I=(_-w+1)/v,A=xe.deepCopyFlowData(h.flowdata),E=A.length,N=A[0].length,D=y+k-E,F=v+w-N;(D>0||F>0)&&(A=or([].concat(A),D,F,!0));let M=Vl(n),z=$.extend(!0,{},h.luckysheetfile[Z(n)].dataVerification),O=null,H=0,U=0,X=0,Y=0;for(let ae=1;ae<=R;ae++)for(let oe=1;oe<=I;oe++){H=k+(ae-1)*y,U=w+(oe-1)*v,Y=k+ae*y,X=w+oe*v;let ie=H-o,ue=U-u,me={};for(let ce=H;ce<Y;ce++){let K=[].concat(A[ce]);for(let G=U;G<X;G++){if(M[o+ce-H+"_"+(u+G-U)]){let ke={rangeType:"cell",value:{row_index:ce,col_index:G,l:M[o+ce-H+"_"+(u+G-U)].l,r:M[o+ce-H+"_"+(u+G-U)].r,t:M[o+ce-H+"_"+(u+G-U)].t,b:M[o+ce-H+"_"+(u+G-U)].b}};a.borderInfo==null&&(a.borderInfo=[]),a.borderInfo.push(ke)}else if(M[ce+"_"+G]){let ke={rangeType:"cell",value:{row_index:ce,col_index:G,l:null,r:null,t:null,b:null}};a.borderInfo==null&&(a.borderInfo=[]),a.borderInfo.push(ke)}z[o+ce-H+"_"+(u+G-U)]&&(O==null&&(O=$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].dataVerification)),O[ce+"_"+G]=z[o+ce-H+"_"+(u+G-U)]),P(K[G])=="object"&&"mc"in K[G]&&("rs"in K[G].mc&&delete a.merge[K[G].mc.r+"_"+K[G].mc.c],delete K[G].mc);let le=null;if(g[ce-H]!=null&&g[ce-H][G-U]!=null&&(le=$.extend(!0,{},g[ce-H][G-U])),le!=null&&le.f!=null){let ke=le.f;ie>0&&(ke="="+p.functionCopy(ke,"down",ie)),ie<0&&(ke="="+p.functionCopy(ke,"up",Math.abs(ie))),ue>0&&(ke="="+p.functionCopy(ke,"right",ue)),ue<0&&(ke="="+p.functionCopy(ke,"left",Math.abs(ue)));let se=p.execfunction(ke,ce,G,void 0,!0);le.spl!=null?(le.f=se[2],le.v=se[1],le.spl=se[3].data):(le.f=se[2],le.v=se[1],le.ct!=null&&le.ct.fa!=null&&(le.m=mt(le.ct.fa,se[1])))}K[G]=$.extend(!0,{},le),le!=null&&t&&"mc"in K[G]&&(K[G].mc.rs!=null?(K[G].mc.r=ce,K[G].mc.c=G,a.merge[K[G].mc.r+"_"+K[G].mc.c]=K[G].mc,me[le.mc.r+"_"+le.mc.c]=[K[G].mc.r,K[G].mc.c]):K[G]={mc:{r:me[le.mc.r+"_"+le.mc.c][0],c:me[le.mc.r+"_"+le.mc.c][1]}})}A[ce]=K}}let ee=null;if(e.copyRange.length==1){let ae=h.luckysheetfile[Z(n)],oe=h.luckysheetfile[Z(h.currentSheetIndex)],ie=$.extend(!0,[],ae.luckysheet_conditionformat_save);if(ie!=null&&ie.length>0){ee=$.extend(!0,[],oe.luckysheet_conditionformat_save);for(let ue=0;ue<ie.length;ue++){let me=ie[ue].cellrange,ce=[];for(let K=1;K<=R;K++)for(let G=1;G<=I;G++){H=k+(K-1)*y,U=w+(G-1)*v,Y=k+K*y,X=w+G*v;for(let le=0;le<me.length;le++){let ke=$e.CFSplitRange(me[le],{row:[o,s],column:[u,d]},{row:[H,Y-1],column:[U,X-1]},"operatePart");ke.length>0&&(ce=ce.concat(ke))}}ce.length>0&&(ie[ue].cellrange=ce,ee.push(ie[ue]))}}}if(b.row=[k,x],b.column=[w,_],l||D>0||F>0){a=mr(A,k,x,a);let ae={cfg:a,RowlChange:!0,cdformat:ee,dataVerification:O};Ze(A,h.luckysheet_select_save,ae)}else{let ae={cfg:a,cdformat:ee,dataVerification:O};Ze(A,h.luckysheet_select_save,ae),et()}},pasteHandlerOfPaintModel:function(e){if(!fl(h.luckysheet_select_save,h.currentSheetIndex))return;let a=$.extend(!0,{},h.config);a.merge==null&&(a.merge={});let t=e.HasMC,l=e.RowlChange,n=e.dataSheetIndex,o=e.copyRange[0].row[0],s=e.copyRange[0].row[1],u=e.copyRange[0].column[0],d=e.copyRange[0].column[1],f=$.extend(!0,[],Dt({row:[o,s],column:[u,d]},n)),m=h.luckysheet_select_save[h.luckysheet_select_save.length-1],g=m.row[0],y=m.row[1],v=m.column[0],b=m.column[1],k=f.length,x=f[0].length;if(g==y&&v==b){let O=!1;if(a.merge!=null&&(O=Nt(a,g,g+k-1,v,v+x-1)),O){he()?alert("\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"):j.info('<i class="fa fa-exclamation-triangle"></i>\u63D0\u793A',"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539");return}y=g+k-1,b=v+x-1}let w=Math.ceil((y-g+1)/k),_=Math.ceil((b-v+1)/x),S=xe.deepCopyFlowData(h.flowdata),C=S[0].length,T=S.length,R=Vl(n),I=$.extend(!0,{},h.luckysheetfile[Z(n)].dataVerification),A=null,E=0,N=0,D=0,F=0;for(let O=1;O<=w;O++)for(let H=1;H<=_;H++){E=g+(O-1)*k,N=v+(H-1)*x,F=g+O*k>T?T:g+O*k,F>y+1&&(F=y+1),D=v+H*x>C?C:v+H*x,D>b+1&&(D=b+1);let U={};for(let X=E;X<F;X++){let Y=[].concat(S[X]);for(let ee=N;ee<D;ee++){if(R[o+X-E+"_"+(u+ee-N)]){let oe={rangeType:"cell",value:{row_index:X,col_index:ee,l:R[o+X-E+"_"+(u+ee-N)].l,r:R[o+X-E+"_"+(u+ee-N)].r,t:R[o+X-E+"_"+(u+ee-N)].t,b:R[o+X-E+"_"+(u+ee-N)].b}};a.borderInfo==null&&(a.borderInfo=[]),a.borderInfo.push(oe)}else if(R[X+"_"+ee]){let oe={rangeType:"cell",value:{row_index:X,col_index:ee,l:null,r:null,t:null,b:null}};a.borderInfo==null&&(a.borderInfo=[]),a.borderInfo.push(oe)}I[o+X-E+"_"+(u+ee-N)]&&(A==null&&(A=$.extend(!0,{},h.luckysheetfile[Z(h.currentSheetIndex)].dataVerification)),A[X+"_"+ee]=I[o+X-E+"_"+(u+ee-N)]),P(Y[ee])=="object"&&"mc"in Y[ee]&&("rs"in Y[ee].mc&&delete a.merge[Y[ee].mc.r+"_"+Y[ee].mc.c],delete Y[ee].mc);let ae=null;if(f[X-E]!=null&&f[X-E][ee-N]!=null&&(ae=f[X-E][ee-N]),ae!=null&&(delete ae.v,delete ae.m,delete ae.f,delete ae.spl,ae.ct&&ae.ct.t=="inlineStr"&&delete ae.ct,P(Y[ee])=="object"?Y[ee].ct&&Y[ee].ct.t==="inlineStr"?delete ae.ct:["bg","fc","ct","ht","vt","bl","it","cl","un","fs","ff","tb"].forEach(ie=>{Reflect.deleteProperty(Y[ee],ie)}):Y[ee]={v:Y[ee]},Y[ee]=$.extend(!0,Y[ee],ae),Y[ee].ct&&Y[ee].ct.t==="inlineStr"&&Y[ee].ct.s.forEach(oe=>oe=$.extend(!0,oe,ae)),t&&"mc"in Y[ee]&&(Y[ee].mc.rs!=null?(Y[ee].mc.r=X,Y[ee].mc.rs+X>=F&&(Y[ee].mc.rs=F-X),Y[ee].mc.c=ee,Y[ee].mc.cs+ee>=D&&(Y[ee].mc.cs=D-ee),a.merge[Y[ee].mc.r+"_"+Y[ee].mc.c]=Y[ee].mc,U[ae.mc.r+"_"+ae.mc.c]=[Y[ee].mc.r,Y[ee].mc.c]):Y[ee]={mc:{r:U[ae.mc.r+"_"+ae.mc.c][0],c:U[ae.mc.r+"_"+ae.mc.c][1]}}),Y[ee].v!=null&&ae.ct!=null&&ae.ct.fa!=null)){let oe=mt(ae.ct.fa,Y[ee].v);Y[ee].m=oe}}S[X]=Y}}let M=null,z=$.extend(!0,[],h.luckysheetfile[Z(n)].luckysheet_conditionformat_save);if(z!=null&&z.length>0){M=$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save);for(let O=0;O<z.length;O++){let H=z[O].cellrange,U=[];for(let X=0;X<H.length;X++){let Y=$e.CFSplitRange(H[X],{row:[o,s],column:[u,d]},{row:[g,y],column:[v,b]},"operatePart");Y.length>0&&(U=U.concat(Y))}U.length>0&&(z[O].cellrange=[{row:[g,y],column:[v,b]}],M.push(z[O]))}}if(m.row=[g,y],m.column=[v,b],l){a=mr(S,g,y,a);let O={cfg:a,RowlChange:!0,cdformat:M,dataVerification:A};Ze(S,h.luckysheet_select_save,O)}else{y>=S.length&&(y=S.length-1),a=mr(S,g,y,a);let O={cfg:a,RowlChange:!0,cdformat:M,dataVerification:A};Ze(S,h.luckysheet_select_save,O),et()}},matchcopy:function(e,a){let t=[],l=[],n,o;if(typeof e=="object")t=e;else{t=e.split(`
`);for(let s=0;s<t.length;s++)t[s]=t[s].split(" ")}if(n=t.length,typeof a=="object")l=a;else{l=a.split(`
`);for(let s=0;s<l.length;s++)l[s]=l[s].split(" ")}if(o=l.length,n!=o)return!1;for(let s=0;s<n;s++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[s]!=null)){for(let u=0;u<o;u++)if(t[s].length!=l[u].length)return!1}for(let s=0;s<n;s++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[s]!=null)){for(let u=0;u<t[0].length;u++)if(ze(s,u,t)!=ze(s,u,l))return!1}return!0}},wt=Yy});function er(e){$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cell-selected-boxs .luckysheet-cell-selected").hide(),$("#luckysheet-cols-h-selected .luckysheet-cols-h-selected").hide(),$("#luckysheet-rows-h-selected .luckysheet-rows-h-selected").hide(),$("#luckysheet-cell-selected-focus").hide(),$("#luckysheet-rows-h-hover").hide(),$("#luckysheet-selection-copy .luckysheet-selection-copy").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-row-count-show, #luckysheet-column-count-show").hide(),e||wt.clearcopy(e),$("#luckysheet-dropCell-icon").is(":visible")&&e&&$("#luckysheet-dropCell-icon").remove(),be.luckysheetPaintModelOn&&!e&&be.cancelPaintModel()}var Ll=Ae(()=>{Ln();lr()});function ic(e,a,t,l,n){let o=uu();o=we(o,{logotitle:n}),o=we(o,{menu:Su()});let s=hu;h.config==null&&(h.config={}),ua(a,e);let d=Q().info,f='<button id="luckysheet-bottom-add-row" class="btn btn-default">'+d.add+'</button><input id="luckysheet-bottom-add-row-input" type="text" class="luckysheet-datavisual-config-input luckysheet-mousedown-cancel" placeholder="100"><span style="font-size: 14px;">'+d.row+'</span><span style="font-size: 14px;color: #9c9c9c;">('+d.addLast+")</span>",m=' <button id="luckysheet-bottom-bottom-top" class="btn btn-default" style="">'+d.backTop+"</button>",g=we(d.pageInfo,{total:fe.total?fe.total:"",totalPage:fe.pageInfo.totalPage?fe.pageInfo.totalPage:"",currentPage:fe.pageInfo.currentPage?fe.pageInfo.currentPage:""}),y=' <span id="luckysheet-bottom-page-info" style="font-size: 14px;color: #f34141;">'+g+'</span> <button id="luckysheet-bottom-page-next" class="btn btn-danger" style="">\u4E0B\u4E00\u9875</button>',v=' <span id="luckysheet-bottom-page-info" style="font-size: 14px;color: #f34141;">'+g+"</span>",b="";fe.enableAddRow&&(b+=f),fe.enablePage&&(parseInt(fe.pageInfo.totalPage)==1?b+=v:b+=y),fe.enableAddBackTop&&(b+=m);let k=we('<div id="luckysheetcoltable_0" class="luckysheet-cell-flow-col"> <div id ="luckysheet-sheettable_0" class="luckysheet-cell-sheettable" style="height:${height}px;width:${width}px;"></div><div id="luckysheet-bottom-controll-row" class="luckysheet-bottom-controll-row"> '+b+" </div> </div>",{height:h.rh_height,width:h.ch_width-1}),x=we(gu,{width:h.ch_width,index:0,column:""});s=we(s,{width:h.ch_width,flow:k,index:0}),o=we(o,{flow:s,rowHeader:"<div style='height:"+h.rh_height+"px' id='luckysheetrowHeader_0' class='luckysheetsheetchange'></div>",columnHeader:x,functionButton:fe.functionButton}),$("#"+h.container).append(o),$("#luckysheet-scrollbar-x div").width(h.ch_width),$("#luckysheet-scrollbar-y div").height(h.rh_height+h.columnHeaderHeight-h.cellMainSrollBarSize-3),$("body").append(ku),$("body").append(du),$("body").append(fu()),$("body").append(bu),$("body").append(we(Hi(),{menuid:"filter"})),$("body").append(we(Vi(),{menuid:"filter"})),$("body").append(xu()),$("#luckysheet-rows-h").width(h.rowHeaderWidth-1.5),$("#luckysheet-cols-h-c").height(h.columnHeaderHeight-1.5),$("#luckysheet-left-top").css({width:h.rowHeaderWidth-1.5,height:h.columnHeaderHeight-1.5}),$("#luckysheet_info_detail_input").val(fe.title)}var df=Ae(()=>{jt();xr();Hl();Wt();Kt();_i();dt();Ke();bt()});function ff(e){e==null&&(e="chart");for(var a=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),t="",l=0;l<12;l++)t+=a[Math.round(Math.random()*(a.length-1))];var n=new Date().getTime();return e+"_"+t+"_"+n}function oc(e,a){return e.replace(/\$\{([\w]+)\}/g,function(t,l){var n=a[l];return typeof n!="undefined"?n:t})}var mf=Ae(()=>{});var ml,ya,Xy,q,qi=Ae(()=>{dt();At();Ir();Vt();ml=Er(ha()),ya={v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"},Xy={getCellDataArr:function(e,a,t){let l=[];if(e.data==null)t||(a==="number"?l.push(0):a==="text"&&l.push(""));else if(P(e.data)==="array")for(let n=0;n<e.data.length;n++)for(let o=0;o<e.data[n].length;o++){let s=e.data[n][o],u=s;P(s)==="object"&&(u=s.v),u==null?t||(a==="number"?u=0:a==="text"&&(u=""),l.push(u)):l.push(u)}else de(e.data.v)?t||(a=="number"?l.push(0):a=="text"&&l.push("")):l.push(e.data.v);return l},getCellDataDyadicArr:function(e,a){let t=[];if(e.data==null){let l=[];a=="number"?l.push(0):a=="text"&&l.push(""),t.push(l)}else if(P(e.data)=="array")for(let l=0;l<e.data.length;l++){let n=[];for(let o=0;o<e.data[l].length;o++){let s=e.data[l][o],u=s;P(s)==="object"&&(u=s.v),u==null&&(a==="number"?u=0:a==="text"&&(u="")),n.push(u)}t.push(n)}else{let l=[],n=e.data.v;de(n)&&(a=="number"?n=0:a=="text"&&(n="")),l.push(n),t.push(l)}return t},getDataArr:function(e,a){let t=[];if(a==null&&(a=!1),P(e[0])=="array")for(let l=0;l<e.length;l++)for(let n=0;n<e[l].length;n++)a&&!L(e[l][n])||t.push(e[l][n]);else for(let l=0;l<e.length;l++)a&&!L(e[l])||t.push(e[l]);return t},getDataDyadicArr:function(e){let a=[];if(P(e[0])=="array")for(let t=0;t<e.length;t++){let l=[];for(let n=0;n<e[t].length;n++)l.push(e[t][n]);a.push(l)}else{let t=[];for(let l=0;l<e.length;l++)t.push(e[l]);a.push(t)}return a},isDyadicArr:function(e){let a=!0;if(e.length>1){let t=e[0].length;for(let l=1;l<e.length;l++)if(e[l].length!=t){a=!1;break}}return a},getFirstValue:function(e,a){let t=this;a==null&&(a="number");let l;if(P(e)=="array")if(P(e[0])=="array"){if(!t.isDyadicArr(e))return ya.v;l=e[0][0]}else l=e[0];else if(P(e)=="object"&&e.startCell!=null)if(e.data==null)a=="number"?l=0:a=="text"&&(l="");else{let n=window.luckysheetCurrentRow,o=window.luckysheetCurrentColumn;if(e.rowl==1&&e.coll==1)l=e.data,l==null||de(l.v)?a=="number"?l=0:a=="text"&&(l=""):l=l.v;else if(e.data[0][0].mc!=null&&e.data[0][0].mc.rs==e.rowl&&e.data[0][0].mc.cs==e.coll)l=e.data[0][0],l==null||de(l.v)?a=="number"?l=0:a=="text"&&(l=""):l=l.v;else if(e.rowl==1||e.coll==1){let s=p.getcellrange(e.startCell),u=s.row[0],d=u+e.rowl-1,f=s.column[0],m=f+e.coll-1;if(e.rowl==1){if(o<f||o>m)return ya.v;l=e.data[0][o-f]}else if(e.coll==1){if(n<u||n>d)return ya.v;l=e.data[n-u][0]}l==null||de(l.v)||l.mc!=null?a=="number"?l=0:a=="text"&&(l=""):l=l.v}else return ya.v}else l=e;return l},getCellBoolen:function(e){let t=this.getFirstValue(e);if(B(t))return t;if(P(t)!="boolean")if(P(t)=="string"&&(t.toLowerCase()=="true"||t.toLowerCase()=="false"))t.toLowerCase()=="true"?t=!0:t.toLowerCase()=="false"&&(t=!1);else if(L(t))t=parseFloat(t),t=t!=0;else return ya.v;return t},getCellDate:function(e){let a=this,t;if(P(e)=="array")if(P(e[0])=="array"){if(!a.isDyadicArr(e))return ya.v;t=e[0][0]}else t=e[0];else if(P(e)=="object"&&e.startCell!=null){if(e.data==null||P(e.data)=="array"||de(e.data.v))return ya.v;t=e.data.v,e.data.ct!=null&&e.data.ct.t=="d"&&(t=mt("YYYY-MM-DD h:mm:ss",t))}else t=e;return t},getCellrangeDate:function(e){let a=this,t=[];if(P(e)=="array"){if(P(e[0])=="array"&&!a.isDyadicArr(e))return ya.v;t=t.concat(a.getDataArr(e,!1))}else if(P(e)=="object"&&e.startCell!=null)if(e.data==null)t.push(0);else if(P(e.data)=="array")for(let l=0;l<e.data.length;l++)for(let n=0;n<e.data[l].length;n++)if(e.data[l][n]!=null&&!de(e.data[l][n].v)){let o=e.data[l][n].v;e.data[l][n].ct!=null&&e.data[l][n].ct.t=="d"&&(o=mt("YYYY-MM-DD h:mm:ss",o)),t.push(o)}else t.push(0);else{let l=e.data.v;e.data.ct!=null&&e.data.ct.t=="d"&&(l=mt("YYYY-MM-DD h:mm:ss",l)),t.push(l)}else t.push(e);return t},getRegExpStr:function(e){return e.replace("~*","\\*").replace("~?","\\?").replace(".","\\.").replace("*",".*").replace("?",".")},factorial:function(e){return e==0||e==1?1:e*this.factorial(e-1)},factorialDouble:function(e){return e<=0?1:e*this.factorialDouble(e-2)},variance:function(e){let a=0,t=0;for(let o=0;o<e.length;o++)a+=e[o],t++;let l=a/t,n=0;for(let o=0;o<e.length;o++){let s=e[o];n+=(s-l)*(s-l)}return n/t},variance_s:function(e){let a=0,t=0;for(let o=0;o<e.length;o++)a+=e[o],t++;let l=a/t,n=0;for(let o=0;o<e.length;o++){let s=e[o];n+=(s-l)*(s-l)}return n/(t-1)},standardDeviation:function(e){let a=0,t=0;for(let o=0;o<e.length;o++)a+=e[o],t++;let l=a/t,n=0;for(let o=0;o<e.length;o++){let s=e[o];n+=(s-l)*(s-l)}return Math.sqrt(n/t)},standardDeviation_s:function(e){let a=0,t=0;for(let o=0;o<e.length;o++)a+=e[o],t++;let l=a/t,n=0;for(let o=0;o<e.length;o++){let s=e[o];n+=(s-l)*(s-l)}return Math.sqrt(n/(t-1))},isLeapYear:function(e){return new Date(e,1,29).getMonth()===1},feb29Between:function(e,a){let t=this,l=(0,ml.default)(e).year(),n=(0,ml.default)().set({year:l,month:2,date:1});if(t.isLeapYear(l)&&(0,ml.default)(e)<(0,ml.default)(n)&&(0,ml.default)(a)>=(0,ml.default)(n))return!0;let o=(0,ml.default)(a).year(),s=(0,ml.default)().set({year:o,month:2,date:1});return t.isLeapYear(o)&&(0,ml.default)(a)>=(0,ml.default)(s)&&(0,ml.default)(e)<(0,ml.default)(s)},findResultIndex:function(e,a){let t={};for(let o=1;o<e[0].length;++o)t[o]=!0;let l=a[0].length;for(i=1;i<a.length;++i)a[i].length>l&&(l=a[i].length);for(let o=1;o<e.length;++o)for(let s=1;s<e[o].length;++s){let u=!1,d=!1;for(let f=0;f<a.length;++f){let m=a[f];if(m.length<l)continue;let g=m[0];if(e[o][0]===g){d=!0;for(let y=1;y<m.length;++y)u=u||new Function("return "+e[o][s]+m[y])()}}d&&(t[s]=t[s]&&u)}let n=[];for(let o=0;o<e[0].length;++o)t[o]&&n.push(o-1);return n},findField:function(e,a){let t=null;for(let l=0;l<e.length;l++)if(e[l][0]==a){t=l;break}return t==null?ya.v:t},rest:function(e,a){return a=a||1,!e||typeof e.slice!="function"?e:e.slice(a)},compact:function(e){if(!e)return e;let a=[];for(let t=0;t<e.length;++t)!e[t]||a.push(e[t]);return a}},q=Xy});function wo(e){var a=pf.sylvester_matrix.create(e);return a.inverse().elements}var pf,Ky,sc=Ae(()=>{pf={},Ky=function(a){var t=function(){};t.precision=1e-6,t.create=function(n){var o=new t;return o.setElements(n)};var l=t.create;t.I=function(n){for(var o=[],s=n,u;s--;)for(u=n,o[s]=[];u--;)o[s][u]=s===u?1:0;return t.create(o)},t.prototype={e:function(n,o){return n<1||n>this.elements.length||o<1||o>this.elements[0].length?null:this.elements[n-1][o-1]},dimensions:function(){var n=this.elements.length===0?0:this.elements[0].length;return{rows:this.elements.length,cols:n}},rows:function(){return this.elements.length},cols:function(){return this.elements.length===0?0:this.elements[0].length},eql:function(n){var o=n.elements||n;if((!o[0]||typeof o[0][0]=="undefined")&&(o=t.create(o).elements),this.elements.length===0||o.length===0)return this.elements.length===o.length;if(this.elements.length!==o.length||this.elements[0].length!==o[0].length)return!1;for(var s=this.elements.length,u=this.elements[0].length,d;s--;)for(d=u;d--;)if(Math.abs(this.elements[s][d]-o[s][d])>t.precision)return!1;return!0},dup:function(){return t.create(this.elements)},map:function(n,o){if(this.elements.length===0)return t.create([]);for(var s=[],u=this.elements.length,d=this.elements[0].length,f;u--;)for(f=d,s[u]=[];f--;)s[u][f]=n.call(o,this.elements[u][f],u+1,f+1);return t.create(s)},isSameSizeAs:function(n){var o=n.elements||n;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.elements.length===0?o.length===0:this.elements.length===o.length&&this.elements[0].length===o[0].length},add:function(n){if(this.elements.length===0)return this.map(function(s){return s});var o=n.elements||n;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.isSameSizeAs(o)?this.map(function(s,u,d){return s+o[u-1][d-1]}):null},subtract:function(n){if(this.elements.length===0)return this.map(function(s){return s});var o=n.elements||n;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.isSameSizeAs(o)?this.map(function(s,u,d){return s-o[u-1][d-1]}):null},canMultiplyFromLeft:function(n){if(this.elements.length===0)return!1;var o=n.elements||n;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.elements[0].length===o.length},multiply:function(n){if(this.elements.length===0)return null;if(!n.elements)return this.map(function(b){return b*n});var o=!!n.modulus,s=n.elements||n;if(typeof s[0][0]=="undefined"&&(s=t.create(s).elements),!this.canMultiplyFromLeft(s))return null;for(var u=this.elements.length,d=s[0].length,f,m=this.elements[0].length,g,y=[],v;u--;)for(f=d,y[u]=[];f--;){for(g=m,v=0;g--;)v+=this.elements[u][g]*s[g][f];y[u][f]=v}var s=t.create(y);return o?s.col(1):s},minor:function(n,o,s,u){if(this.elements.length===0)return null;for(var d=[],f=s,m,g,y,v=this.elements.length,b=this.elements[0].length;f--;)for(m=s-f-1,d[m]=[],g=u;g--;)y=u-g-1,d[m][y]=this.elements[(n+m-1)%v][(o+y-1)%b];return t.create(d)},transpose:function(){if(this.elements.length===0)return t.create([]);for(var n=this.elements.length,o,s=this.elements[0].length,u,d=[],o=s;o--;)for(u=n,d[o]=[];u--;)d[o][u]=this.elements[u][o];return t.create(d)},isSquare:function(){var n=this.elements.length===0?0:this.elements[0].length;return this.elements.length===n},max:function(){if(this.elements.length===0)return null;for(var n=0,o=this.elements.length,s=this.elements[0].length,u;o--;)for(u=s;u--;)Math.abs(this.elements[o][u])>Math.abs(n)&&(n=this.elements[o][u]);return n},indexOf:function(n){if(this.elements.length===0)return null;var o=null,s=this.elements.length,u,d=this.elements[0].length,f;for(u=0;u<s;u++)for(f=0;f<d;f++)if(this.elements[u][f]===n)return{i:u+1,j:f+1};return null},diagonal:function(){if(!this.isSquare)return null;for(var n=[],o=this.elements.length,s=0;s<o;s++)n.push(this.elements[s][s]);return t.create(n)},toRightTriangular:function(){if(this.elements.length===0)return t.create([]);var n=this.dup(),o,s=this.elements.length,u,d,f=this.elements[0].length,m;for(u=0;u<s;u++){if(n.elements[u][u]===0){for(d=u+1;d<s;d++)if(n.elements[d][u]!==0){for(o=[],m=0;m<f;m++)o.push(n.elements[u][m]+n.elements[d][m]);n.elements[u]=o;break}}if(n.elements[u][u]!==0)for(d=u+1;d<s;d++){var g=n.elements[d][u]/n.elements[u][u];for(o=[],m=0;m<f;m++)o.push(m<=u?0:n.elements[d][m]-n.elements[u][m]*g);n.elements[d]=o}}return n},determinant:function(){if(this.elements.length===0)return 1;if(!this.isSquare())return null;for(var n=this.toRightTriangular(),o=n.elements[0][0],s=n.elements.length,u=1;u<s;u++)o=o*n.elements[u][u];return o},isSingular:function(){return this.isSquare()&&this.determinant()===0},trace:function(){if(this.elements.length===0)return 0;if(!this.isSquare())return null;for(var n=this.elements[0][0],o=this.elements.length,s=1;s<o;s++)n+=this.elements[s][s];return n},rank:function(){if(this.elements.length===0)return 0;for(var n=this.toRightTriangular(),o=0,s=this.elements.length,u=this.elements[0].length,d;s--;)for(d=u;d--;)if(Math.abs(n.elements[s][d])>t.precision){o++;break}return o},augment:function(n){if(this.elements.length===0)return this.dup();var o=n.elements||n;typeof o[0][0]=="undefined"&&(o=t.create(o).elements);var s=this.dup(),u=s.elements[0].length,d=s.elements.length,f=o[0].length,m;if(d!==o.length)return null;for(;d--;)for(m=f;m--;)s.elements[d][u+m]=o[d][m];return s},inverse:function(){if(this.elements.length===0||!this.isSquare()||this.isSingular())return null;for(var n=this.elements.length,o=n,s,u=this.augment(t.I(n)).toRightTriangular(),d=u.elements[0].length,f,m,g,y=[],v;o--;){for(m=[],y[o]=[],g=u.elements[o][o],f=0;f<d;f++)v=u.elements[o][f]/g,m.push(v),f>=n&&y[o].push(v);for(u.elements[o]=m,s=o;s--;){for(m=[],f=0;f<d;f++)m.push(u.elements[s][f]-u.elements[o][f]*u.elements[s][o]);u.elements[s]=m}}return t.create(y)},round:function(){return this.map(function(n){return Math.round(n)})},snapTo:function(n){return this.map(function(o){return Math.abs(o-n)<=t.precision?n:o})},setElements:function(n){var o,s,u=n.elements||n;if(u[0]&&typeof u[0][0]!="undefined"){for(o=u.length,this.elements=[];o--;)for(s=u[o].length,this.elements[o]=[];s--;)this.elements[o][s]=u[o][s];return this}var d=u.length;for(this.elements=[],o=0;o<d;o++)this.elements.push([u[o]]);return this}},a.sylvester_matrix=t};Ky(pf)});function On(){let e=arguments[1],a=arguments[0],t;P(a)=="object"&&a.startCell!=null?(e=="&"?t=q.getCellDataDyadicArr(a,"text"):t=q.getCellDataDyadicArr(a,"number"),t.length==1&&t[0].length==1&&(t=t[0][0])):t=a;let l=arguments[2],n;if(P(l)=="object"&&l.startCell!=null?(e=="&"?n=q.getCellDataDyadicArr(l,"text"):n=q.getCellDataDyadicArr(l,"number"),n.length==1&&n[0].length==1&&(n=n[0][0])):n=l,B(t))return t;if(B(n))return n;if(P(t)=="array"&&P(t[0])=="array"&&!q.isDyadicArr(t))return qe.v;if(P(n)=="array"&&P(n[0])=="array"&&!q.isDyadicArr(n))return qe.v;if(e=="<>"&&(e="!="),e=="="&&(e="=="),t==null&&n==null)return"#INVERSE!";if(t=="#INVERSE!")t=0,e=="-"?e="+":e=="+"&&(e="-");else if(e=="-"&&t==null)t=0;else if(e=="/"&&(n==0||n==null))return qe.d;function o(u,d,f){if(L(u)&&(u=parseFloat(u)),L(f)&&(f=parseFloat(f)),d=="==")return u==f;if(d=="!=")return u!=f;if(d==">=")return u>=f;if(d=="<=")return u<=f;if(d==">")return u>f;if(d=="<")return u<f}function s(u){return u==null?u:u.toString().toLowerCase()=="true"?1:u.toString().toLowerCase()=="false"?0:u}if(e=="*")if(P(t)=="array"&&P(n)=="array"){let u=[];if(P(t[0])=="array"&&P(n[0])=="array")if(t.length==n.length&&t[0].length==n[0].length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[d][m]=s(n[d][m]);let g;L(t[d][m])&&L(n[d][m])?g=Pt(t[d][m],e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else if(t[0].length==n.length){let d=t.length,f=n[0].length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){let v=0;for(let b=0;b<t[0].length;b++)t[m][b]=s(t[m][b]),n[b][y]=s(n[b][y]),L(t[m][b])&&L(n[b][y])?v+=Pt(t[m][b],e,n[b][y]):v+=qe.v;v.toString()=="NaN"&&(v=qe.v),g.push(v)}u.push(g)}}else if(t.length==n[0].length){let d=n.length,f=t[0].length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){let v=0;for(let b=0;b<n[0].length;b++)t[b][y]=s(t[b][y]),n[m][b]=s(n[m][b]),L(n[m][b])&&L(t[b][y])?v+=Pt(t[b][y],e,n[m][b]):v+=qe.v;v.toString()=="NaN"&&(v=qe.v),g.push(v)}u.push(g)}}else return qe.na;else if(P(t[0])=="array")if(t[0].length==n.length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[m]=s(n[m]);let g;L(t[d][m])&&L(n[m])?g=Pt(t[d][m],e,n[m]):g=qe.v,f.push(g)}u.push(f)}else if(t[0].length==1){let d=t.length,f=n.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[m][0]=s(t[m][0]),n[y]=s(n[y]);let v;L(t[m][0])&&L(n[y])?v=Pt(t[m][0],e,n[y]):v=qe.v,g.push(v)}u.push(g)}}else return qe.na;else if(P(n[0])=="array")if(n[0].length==t.length)for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){t[m]=s(t[m]),n[d][m]=s(n[d][m]);let g;L(t[m])&&L(n[d][m])?g=Pt(t[m],e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else if(n[0].length==1){let d=n.length,f=t.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[y]=s(t[y]),n[m][0]=s(n[m][0]);let v;L(t[y])&&L(n[m][0])?v=Pt(t[y],e,n[m][0]):v=qe.v,g.push(v)}u.push(g)}}else return qe.na;else{if(t.length!=n.length)return qe.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),n[d]=s(n[d]);let f;L(t[d])&&L(n[d])?f=Pt(t[d],e,n[d]):f=qe.v,u.push(f)}}return u}else if(P(t)=="array"){n=s(n);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;L(t[d][m])&&L(n)?g=Pt(t[d][m],e,n):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;L(t[d])&&L(n)?f=Pt(t[d],e,n):f=qe.v,u.push(f)}return u}else if(P(n)=="array"){t=s(t);let u=[];if(P(n[0])=="array")for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){n[d][m]=s(n[d][m]);let g;L(t)&&L(n[d][m])?g=Pt(t,e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<n.length;d++){n[d]=s(n[d]);let f;L(t)&&L(n[d])?f=Pt(t,e,n[d]):f=qe.v,u.push(f)}return u}else{t=s(t),n=s(n);let u;return L(t)&&L(n)?u=Pt(t,e,n):u=qe.v,u}else if(e=="/")if(P(t)=="array"&&P(n)=="array"){let u=[];if(P(t[0])=="array"&&P(n[0])=="array")if(t.length==n.length&&t[0].length==n[0].length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[d][m]=s(n[d][m]);let g;L(t[d][m])&&L(n[d][m])?parseFloat(n[d][m])==0?g=qe.d:g=Pt(t[d][m],e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else if(t[0].length==n.length){let d=wo(n),f=t.length,m=d[0].length;for(let g=0;g<f;g++){let y=[];for(let v=0;v<m;v++){let b=0;for(let k=0;k<t[0].length;k++)t[g][k]=s(t[g][k]),d[k][v]=s(d[k][v]),L(t[g][k])&&L(d[k][v])?b+=Pt(t[g][k],"*",d[k][v]):b+=qe.v;b.toString()=="NaN"&&(b=qe.v),y.push(b)}u.push(y)}}else return qe.na;else if(P(t[0])=="array")if(t[0].length==n.length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[m]=s(n[m]);let g;L(t[d][m])&&L(n[m])?parseFloat(n[m])==0?g=qe.d:g=Pt(t[d][m],e,n[m]):g=qe.v,f.push(g)}u.push(f)}else if(t[0].length==1){let d=t.length,f=n.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[m][0]=s(t[m][0]),n[y]=s(n[y]);let v;L(t[m][0])&&L(n[y])?parseFloat(n[y])==0?v=qe.d:v=Pt(t[m][0],e,n[y]):v=qe.v,g.push(v)}u.push(g)}}else return qe.na;else if(P(n[0])=="array")if(n[0].length==t.length)for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){t[m]=s(t[m]),n[d][m]=s(n[d][m]);let g;L(t[m])&&L(n[d][m])?parseFloat(n[d][m])==0?g=qe.d:g=Pt(t[m],e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else if(n[0].length==1){let d=n.length,f=t.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[y]=s(t[y]),n[m][0]=s(n[m][0]);let v;L(t[y])&&L(n[m][0])?parseFloat(n[m][0])==0?v=qe.d:v=Pt(t[y],e,n[m][0]):v=qe.v,g.push(v)}u.push(g)}}else return qe.na;else{if(t.length!=n.length)return qe.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),n[d]=s(n[d]);let f;L(t[d])&&L(n[d])?parseFloat(n[d])==0?f=qe.d:f=Pt(t[d],e,n[d]):f=qe.v,u.push(f)}}return u}else if(P(t)=="array"){n=s(n);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;L(t[d][m])&&L(n)?parseFloat(n)==0?g=qe.d:g=Pt(t[d][m],e,n):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;L(t[d])&&L(n)?parseFloat(n)==0?f=qe.d:f=Pt(t[d],e,n):f=qe.v,u.push(f)}return u}else if(P(n)=="array"){t=s(t);let u=[];if(P(n[0])=="array")for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){n[d][m]=s(n[d][m]);let g;L(t)&&L(n[d][m])?parseFloat(n[d][m])==0?g=qe.d:g=Pt(t,e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<n.length;d++){n[d]=s(n[d]);let f;L(t)&&L(n[d])?parseFloat(n[d])==0?f=qe.d:f=Pt(t,e,n[d]):f=qe.v,u.push(f)}return u}else{t=s(t),n=s(n);let u;return L(t)&&L(n)?parseFloat(n)==0?u=qe.d:u=Pt(t,e,n):u=qe.v,u}else if(e=="+"||e=="-"||e=="%")if(P(t)=="array"&&P(n)=="array"){let u=[];if(P(t[0])=="array"&&P(n[0])=="array"){if(t.length!=n.length&&t[0].length!=n[0].length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[d][m]=s(n[d][m]);let g;L(t[d][m])&&L(n[d][m])?e=="%"&&parseFloat(n[d][m])==0?g=qe.d:g=Pt(t[d][m],e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=n.length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[m]=s(n[m]);let g;L(t[d][m])&&L(n[m])?e=="%"&&parseFloat(n[m])==0?g=qe.d:g=Pt(t[d][m],e,n[m]):g=qe.v,f.push(g)}u.push(f)}}else if(P(n[0])=="array"){if(n[0].length!=t.length)return qe.na;for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){t[m]=s(t[m]),n[d][m]=s(n[d][m]);let g;L(t[m])&&L(n[d][m])?e=="%"&&parseFloat(n[d][m])==0?g=qe.d:g=Pt(t[m],e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}}else{if(t.length!=n.length)return qe.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),n[d]=s(n[d]);let f;L(t[d])&&L(n[d])?e=="%"&&parseFloat(n[d])==0?f=qe.d:f=Pt(t[d],e,n[d]):f=qe.v,u.push(f)}}return u}else if(P(t)=="array"){n=s(n);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;L(t[d][m])&&L(n)?e=="%"&&parseFloat(n)==0?g=qe.d:g=Pt(t[d][m],e,n):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;L(t[d])&&L(n)?e=="%"&&parseFloat(n)==0?f=qe.d:f=Pt(t[d],e,n):f=qe.v,u.push(f)}return u}else if(P(n)=="array"){t=s(t);let u=[];if(P(n[0])=="array")for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){n[d][m]=s(n[d][m]);let g;L(t)&&L(n[d][m])?e=="%"&&parseFloat(n[d][m])==0?g=qe.d:g=Pt(t,e,n[d][m]):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<n.length;d++){n[d]=s(n[d]);let f;L(t)&&L(n[d])?e=="%"&&parseFloat(n[d])==0?f=qe.d:f=Pt(t,e,n[d]):f=qe.v,u.push(f)}return u}else{t=s(t),n=s(n);let u;return L(t)&&L(n)?e=="%"&&parseFloat(n)==0?u=qe.d:u=Pt(t,e,n):u=qe.v,u}else if(e=="=="||e=="!="||e==">="||e=="<="||e==">"||e=="<")if(P(t)=="array"&&P(n)=="array"){let u=[];if(P(t[0])=="array"&&P(n[0])=="array"){if(t.length!=n.length&&t[0].length!=n[0].length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){let g=o(t[d][m],e,n[d][m]);f.push(g)}u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=n.length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){let g=o(t[d][m],e,n[m]);f.push(g)}u.push(f)}}else if(P(n[0])=="array"){if(n[0].length!=t.length)return qe.na;for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){let g=o(t[m],e,n[d][m]);f.push(g)}u.push(f)}}else{if(t.length!=n.length)return qe.na;for(let d=0;d<t.length;d++){let f=o(t[d],e,n[d]);u.push(f)}}return u}else if(P(t)=="array"){let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){let g=o(t[d][m],e,n);f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){let f=o(t[d],e,n);u.push(f)}return u}else if(P(n)=="array"){let u=[];if(P(n[0])=="array")for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){let g=o(t,e,n[d][m]);f.push(g)}u.push(f)}else for(let d=0;d<n.length;d++){let f=o(t,e,n[d]);u.push(f)}return u}else return o(t,e,n);else if(e=="&")if(P(t)=="array"&&P(n)=="array"){let u=[];if(P(t[0])=="array"&&P(n[0])=="array"){if(t.length!=n.length&&t[0].length!=n[0].length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++)f.push(t[d][m]+""+n[d][m]);u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=n.length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++)f.push(t[d][m]+""+n[m]);u.push(f)}}else if(P(n[0])=="array"){if(n[0].length!=t.length)return qe.na;for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++)f.push(t[m]+""+n[d][m]);u.push(f)}}else{if(t.length!=n.length)return qe.na;for(let d=0;d<t.length;d++)u.push(t[d]+""+n[d])}return u}else if(P(t)=="array"){let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++)f.push(t[d][m]+""+n);u.push(f)}else for(let d=0;d<t.length;d++)u.push(t[d]+""+n);return u}else if(P(n)=="array"){let u=[];if(P(n[0])=="array")for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++)f.push(t+""+n[d][m]);u.push(f)}else for(let d=0;d<n.length;d++)u.push(t+""+n[d]);return u}else return t+""+n;else if(e=="^")if(P(t)=="array"&&P(n)=="array"){let u=[];if(P(t[0])=="array"&&P(n[0])=="array"){if(t.length!=n.length&&t[0].length!=n[0].length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[d][m]=s(n[d][m]);let g;L(t[d][m])&&L(n[d][m])?g=Math.pow(parseFloat(t[d][m]),parseFloat(n[d][m])):g=qe.v,f.push(g)}u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=n.length)return qe.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),n[m]=s(n[m]);let g;L(t[d][m])&&L(n[m])?g=Math.pow(parseFloat(t[d][m]),parseFloat(n[m])):g=qe.v,f.push(g)}u.push(f)}}else if(P(n[0])=="array"){if(n[0].length!=t.length)return qe.na;for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){t[m]=s(t[m]),n[d][m]=s(n[d][m]);let g;L(t[m])&&L(n[d][m])?g=Math.pow(parseFloat(t[m]),parseFloat(n[d][m])):g=qe.v,f.push(g)}u.push(f)}}else{if(t.length!=n.length)return qe.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),n[d]=s(n[d]);let f;L(t[d])&&L(n[d])?f=Math.pow(parseFloat(t[d]),parseFloat(n[d])):f=qe.v,u.push(f)}}return u}else if(P(t)=="array"){n=s(n);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;L(t[d][m])&&L(n)?g=Math.pow(parseFloat(t[d][m]),parseFloat(n)):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;L(t[d])&&L(n)?f=Math.pow(parseFloat(t[d]),parseFloat(n)):f=qe.v,u.push(f)}return u}else if(P(n)=="array"){t=s(t);let u=[];if(P(n[0])=="array")for(let d=0;d<n.length;d++){let f=[];for(let m=0;m<n[d].length;m++){n[d][m]=s(n[d][m]);let g;L(t)&&L(n[d][m])?g=Math.pow(parseFloat(t),parseFloat(n[d][m])):g=qe.v,f.push(g)}u.push(f)}else for(let d=0;d<n.length;d++){n[d]=s(n[d]);let f;L(t)&&L(n[d])?f=Math.pow(parseFloat(t),parseFloat(n[d])):f=qe.v,u.push(f)}return u}else{t=s(t),n=s(n);let u;return L(t)&&L(n)?u=Math.pow(parseFloat(t),parseFloat(n)):u=qe.v,u}}function cc(){let e=arguments[0];e=e.replace("{","").replace("}","").replace(/\"/g,"");let a=[];if(e.indexOf(";")>-1){a=e.split(";");for(let t=0;t<a.length;t++)a[t]=a[t].split(",")}else a=e.split(",");return a}function Pt(e,a,t){let l;return a=="+"?l=(0,Fi.default)(e).add(t).value():a=="-"?l=(0,Fi.default)(e).subtract(t).value():a=="%"?l=new Function("return "+parseFloat(e)+a+"("+parseFloat(t)+")")():a=="/"?l=(0,Fi.default)(e).divide(t).value():a=="*"&&(l=(0,Fi.default)(e).multiply(t).value()),l}function rl(e){if(window.luckysheet_getcelldata_cache==null&&(window.luckysheet_getcelldata_cache={}),e in window.luckysheet_getcelldata_cache)return window.luckysheet_getcelldata_cache[e];let a=It(),t=e.split("!"),l="",n="",o=-1,s=null;if(t.length>1){l=t[0].replace(/''/g,"'"),n=t[1],l.substr(0,1)=="'"&&l.substr(l.length-1,1)=="'"&&(l=l.substring(1,l.length-1));for(let u in a)if(l==a[u].name){o=a[u].index,s=a[u].data;break}o==-1&&(o=0)}else{let u=Z(h.calculateSheetIndex);l=a[u].name,o=a[u].index,s=a[u].data,n=t[0]}if(n.indexOf(":")==-1){let u=parseInt(n.replace(/[^0-9]/g,""))-1,d=cr(n.replace(/[^A-Za-z]/g,""));if(!isNaN(u)&&!isNaN(d)){let f=xi(s,{row:[u,u],column:[d,d]})[0][0];if(p.execFunctionGlobalData!=null){let v=p.execFunctionGlobalData[u+"_"+d+"_"+o];v!=null&&(f=v)}let y={sheetName:l,startCell:n,rowl:1,coll:1,data:f};return window.luckysheet_getcelldata_cache[e]=y,y}else return[]}else{n=n.split(":");let u=[],d=[];if(u[0]=parseInt(n[0].replace(/[^0-9]/g,""))-1,u[1]=parseInt(n[1].replace(/[^0-9]/g,""))-1,isNaN(u[0])&&(u[0]=0),isNaN(u[1])&&(u[1]=s.length-1),u[0]>u[1])return j.info("\u9009\u62E9\u5931\u8D25","\u8F93\u5165\u8303\u56F4\u9519\u8BEF\uFF01"),[];if(d[0]=cr(n[0].replace(/[^A-Za-z]/g,"")),d[1]=cr(n[1].replace(/[^A-Za-z]/g,"")),isNaN(d[0])&&(d[0]=0),isNaN(d[1])&&(d[1]=s[0].length-1),d[0]>d[1])return j.info("\u9009\u62E9\u5931\u8D25","\u8F93\u5165\u8303\u56F4\u9519\u8BEF\uFF01"),[];let f=xi(s,{row:u,column:d});if(p.execFunctionGlobalData!=null)for(let v=u[0];v<=u[1];v++)for(let b=d[0];b<=d[1];b++){let k=p.execFunctionGlobalData[v+"_"+b+"_"+o];k!=null&&(f[v-u[0]][b-d[0]]=k)}let m=u[1]-u[0]+1,g=d[1]-d[0]+1,y={sheetName:l,startCell:n[0],rowl:m,coll:g,data:f};return window.luckysheet_getcelldata_cache[e]=y,y}}function Bn(e){if(typeof e=="object")return e==null?"":Array.isArray(e)?it(e[0])[2]:Array.isArray(e.data)?qe.v:e.data.v===void 0?"":e.data.v;if(p.isCompareOperator(e).flag){if(typeof e=="string"||typeof e=="number")return e}else return it(e)[2];return qe.v}function va(){let e=arguments[0];for(let a=0;a<e.length;a++){let t=e[a];typeof t=="object"?t==null?t="":Array.isArray(t)?t=it(t[0])[2]:Array.isArray(t.data)?t=t.data:t.data.v===void 0?t="":t=t.data.v:p.isCompareOperator(t).flag||(t=it(t)[2]),e[a]=t}}function uc(){let e=arguments[0];return e==null||e.length==0?null:e}function hc(e){return e}function dc(){if(!(P(arguments[0])=="object"&&arguments[0].startCell!=null))return p.error.v;var e=arguments[0].startCell,a=q.getFirstValue(arguments[1]);if(B(a))return a;if(!L(a))return p.error.v;a=parseInt(a);var t=q.getFirstValue(arguments[2]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=arguments[0].rowl;if(arguments.length>=4){if(l=q.getFirstValue(arguments[3]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}var n=arguments[0].coll;if(arguments.length==5){if(n=q.getFirstValue(arguments[4]),B(n))return n;if(!L(n))return p.error.v;n=parseInt(n)}if(l<1||n<1)return p.error.r;var o=p.getcellrange(e),s=o.row[0],u=o.column[0];s+=a,u+=t;var d=s+l-1,f=u+n-1;return s<0||d>=h.flowdata.length||u<0||f>=h.flowdata[0].length?p.error.r:kt(h.calculateSheetIndex,{row:[s,d],column:[u,f]})}function fc(e,a,t){let l,n;if(e?(n=a,l=t):(l=a,n=t),l.startCell.indexOf(":")>-1||n.indexOf(":")>-1)return qe.v;if(e)return rl(n+":"+l.startCell);{let o=n,s="";if(n.indexOf("!")>-1){let u=n.split("!");s=u[0]+"!",o=u[1]}return rl(s+l.startCell+":"+o)}}var Fi,Mi=Ae(()=>{qi();Vt();ar();At();Wt();Ir();sc();Rt();dt();Ke();Fi=Er(Qa())});function vf(e,a){To(Jy),Co(Zy,null,function(){let t=new Vuex.Store;console.info("chartmix::",chartmix.default),Vue.use(chartmix.default,{store:t});let l=document.getElementsByTagName("body")[0];chartmix.default.initChart(l,h.lang),$(".chartSetting").css({top:"1px",bottom:"1px",position:"absolute",right:"0px",width:"350px",background:"#fff",border:"1px solid #E5E5E5","z-index":1004,"box-shadow":"0px 2px 4px rgba(0,0,0,0.2)","-webkit-box-shadow":"0px 2px 4px rgba(0,0,0,0.2)","-moz-box-shadow":"0px 2px 4px rgba(0,0,0,0.2)","-moz-user-select":"none","-khtml-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none","user-select":"none","padding-left":"30px",display:"none"}),h.createChart=chartmix.default.createChart,h.highlightChart=chartmix.default.highlightChart,h.deleteChart=chartmix.default.deleteChart,h.resizeChart=chartmix.default.resizeChart,h.changeChartRange=chartmix.default.changeChartRange,h.changeChartCellData=chartmix.default.changeChartCellData,h.getChartJson=chartmix.default.getChartJson,h.chart_selection=tv(),h.chartparam.jfrefreshchartall=ev,h.chartparam.changeChartCellData=chartmix.default.changeChartCellData,h.chartparam.renderChart=chartmix.default.renderChart,h.chartparam.getChartJson=chartmix.default.getChartJson,h.chartparam.insertToStore=chartmix.default.insertToStore;for(let n=0;n<e.length;n++)Qy(e[n].chart,a);for(let n=0;n<e.length;n++)e[n].status=="1"&&gc(e[n].index);So(h.asyncLoad,"chart")})}function Qy(e,a){if(e!=null)for(let t=0;t<e.length;t++){let l=e[t];a&&h.chartparam.insertToStore({chart_id:l.chart_id,chartOptions:l.chartOptions});let n=l.chart_id,o=n+"_c",s='<div id="${id}"class="luckysheet-modal-dialog luckysheet-modal-dialog-chart ${addclass}"tabindex="0"role="dialog"aria-labelledby=":41e"dir="ltr"><div class="luckysheet-modal-dialog-resize"><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lt"data-type="lt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mt"data-type="mt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lm"data-type="lm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rm"data-type="rm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rt"data-type="rt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lb"data-type="lb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mb"data-type="mb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rb"data-type="rb"></div></div><div class="luckysheet-modal-dialog-controll"><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-update"role="button"tabindex="0"aria-label="\u4FEE\u6539\u56FE\u8868"title="\u4FEE\u6539\u56FE\u8868"><i class="fa fa-pencil"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-max"role="butluckysheet_chartIns_indexton"tabindex="0"aria-label="\u6700\u5927\u5316"title="\u6700\u5927\u5316"><i class="fa fa-window-maximize"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del"role="button"tabindex="0"aria-label="\u5220\u9664"title="\u5220\u9664"><i class="fa fa-trash"aria-hidden="true"></i></span></div><div class="luckysheet-modal-dialog-content">${content}</div></div>',u=$(oc(s,{id:o,addclass:"luckysheet-data-visualization-chart",title:"\u56FE\u8868\u751F\u6210",content:""})).appendTo($(".luckysheet-cell-main"));bf(u),$(`#${o}`).children(".luckysheet-modal-dialog-content")[0].id=n;let d=document.getElementById(o),f;f=h.chartparam.getChartJson(l.chart_id),h.chartparam.renderChart({chart_id:l.chart_id,chartOptions:f}),h.currentChart=f,Hn(n),$(`#${n}_c .luckysheet-modal-controll-del`).click(function(b){kf(n)}),$(`#${n}_c .luckysheet-modal-controll-update`).click(function(b){_f()}),u.children(".luckysheet-modal-dialog-content").mousedown(function(b){h.chartparam.luckysheetCurrentChartMaxState||Hn(n),b.stopPropagation()}),u.mousedown(function(b){if(!h.chartparam.luckysheetCurrentChartMaxState){Hn(n),Yl(!0),!$(b.target).is(".luckysheet-modal-dialog-controll")&&!$(b.target).is(".luckysheet-modal-controll-btn")&&!$(b.target).is("i")&&(h.chartparam.luckysheetCurrentChartMoveTimeout=setTimeout(function(){h.chartparam.luckysheetCurrentChartMove=!0},100));var k=h.chartparam.luckysheetCurrentChartMoveObj.offset(),x=h.chartparam.luckysheetCurrentChartMoveObj.position();h.chartparam.luckysheetCurrentChartMoveXy=[b.pageX-k.left,b.pageY-k.top,x.left,x.top,$("#luckysheet-scrollbar-x").scrollLeft(),$("#luckysheet-scrollbar-y").scrollTop()],h.chartparam.luckysheetCurrentChartMoveWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartMoveWinW=$("#luckysheet-cell-main")[0].scrollWidth,!$(b.target).hasClass("luckysheet-mousedown-cancel")&&$(b.target).filter("[class*='sp-palette']").length==0&&$(b.target).filter("[class*='sp-thumb']").length==0&&$(b.target).filter("[class*='sp-']").length==0&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu, #luckysheet-user-menu").hide(),$("body > .luckysheet-filter-menu, body > .luckysheet-filter-submenu, body > .luckysheet-cols-menu").hide()),b.stopPropagation()}}).find(".luckysheet-modal-dialog-resize-item").mousedown(function(b){if(h.chartparam.luckysheetCurrentChartActive){h.chartparam.luckysheetCurrentChartResize=$(this).data("type");var k=at(b.pageX,b.pageY),x=$("#luckysheet-scrollbar-x").scrollLeft(),w=$("#luckysheet-scrollbar-y").scrollTop(),_=k[0]+x,S=k[1]+w,C=h.chartparam.luckysheetCurrentChartResizeObj.position();h.chartparam.luckysheetCurrentChartResizeXy=[_,S,u.width(),u.height(),C.left+x,C.top+w,x,w],h.chartparam.luckysheetCurrentChartResizeWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartResizeWinW=$("#luckysheet-cell-main")[0].scrollWidth,h.chartparam.luckysheetCurrentChart=n,b.stopPropagation()}});let m=l.width,g=l.height,y=l.left,v=l.top;d.style.width=m+"px",d.style.height=g+"px",d.style.position="absolute",d.style.background="#fff",d.style.left=y+"px",d.style.top=v+"px",d.style.zIndex=h.zIndex?h.zIndex:15,h.zIndex++}}function ev(e,a,t,l,n){let o=h.currentChart;if(!!o&&o.rangeArray.length==1){var s=o.rangeArray[0].row,u=o.rangeArray[0].column;if(a>s[1]||t<s[0]||l>u[1]||n<u[0])return;var d=p.getcellrange(o.rangeTxt),f=d.sheetIndex==-1?0:d.sheetIndex,m={row:d.row,column:d.column,dataSheetIndex:f},g=rl(o.rangeTxt);if(typeof g=="object"&&g.length!=0&&g.data.length!=null){var y=g.data;h.chartparam.changeChartCellData(o.chart_id,y)}}}function tv(){return{create:function(){var e=h.currentChart;if(e.rangeArray.length>1)return;$("#luckysheet-chart-rangeShow").empty(),$("#luckysheet-cell-selected-boxs").hide(),$("#luckysheet-cell-selected-focus").hide(),$("#luckysheet-rows-h-selected").empty(),$("#luckysheet-cols-h-selected").empty(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide();var a=e.rangeArray[0].row[0],t=e.rangeArray[0].column[0],l=e.rangeSplitArray,n=e.rangeRowCheck;if(n.exits)var o=f("rowtitle",l.rowtitle.row[0]+a,l.rowtitle.row[1]+a,l.rowtitle.column[0]+t,l.rowtitle.column[1]+t);else var o="";var s=e.rangeColCheck;if(s.exits)var u=f("coltitle",l.coltitle.row[0]+a,l.coltitle.row[1]+a,l.coltitle.column[0]+t,l.coltitle.column[1]+t);else var u="";var d=f("content",l.content.row[0]+a,l.content.row[1]+a,l.content.column[0]+t,l.content.column[1]+t);$("#luckysheet-chart-rangeShow").append(o+u+d);function f(m,g,y,v,b){var k=ji(),x=Ui(),w=k[y],_=g-1==-1?0:k[g-1],S=x[b],C=v-1==-1?0:x[v-1];if(m=="rowtitle")var T="#C65151";if(m=="coltitle")var T="#9667C0";if(m=="content")var T="#4970D1";var R='<div id="luckysheet-chart-rangeShow-'+m+'" style="left: '+C+"px;width: "+(S-C-1)+"px;top: "+_+"px;height: "+(w-_-1)+'px;border: none;margin: 0;position: absolute;z-index: 14;"><div class="luckysheet-chart-rangeShow-move" data-type="top" style="height: 2px;border-top: 2px solid #fff;border-bottom: 2px solid #fff;background: '+T+';position: absolute;left: 0;right: 0;top: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div class="luckysheet-chart-rangeShow-move" data-type="right" style="width: 2px;border-left: 2px solid #fff;border-right: 2px solid #fff;background: '+T+';position: absolute;top: 0;bottom: 0;right: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div class="luckysheet-chart-rangeShow-move" data-type="bottom" style="height: 2px;border-top: 2px solid #fff;border-bottom: 2px solid #fff;background: '+T+';position: absolute;left: 0;right: 0;bottom: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div class="luckysheet-chart-rangeShow-move" data-type="left" style="width: 2px;border-left: 2px solid #fff;border-right: 2px solid #fff;background: '+T+';position: absolute;top: 0;bottom: 0;left: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div style="border: 2px solid #85c0fc;background: '+T+';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 15;opacity: 0.1;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="lt" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;left: -3px;top: -3px;z-index: 19;cursor: se-resize;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="rt" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;right: -3px;top: -3px;z-index: 19;cursor: ne-resize;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="lb" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;left: -3px;bottom: -3px;z-index: 19;cursor: ne-resize;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="rb" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;right: -3px;bottom: -3px;z-index: 19;cursor: se-resize;"></div></div>';return R}},rangeMove:!1,rangeMovexy:null,rangeMoveIndex:null,rangeMoveObj:null,rangeMoveDraging:function(e,a,t){var l=h.currentChart,n=l.rangeArray[0].row[0],o=l.rangeArray[0].column[0],s=l.rangeRowCheck,u=l.rangeColCheck,d=l.rangeSplitArray,f=at(e.pageX,e.pageY),m=$("#luckysheet-cell-main").scrollLeft(),g=$("#luckysheet-cell-main").scrollTop(),y=f[0]+m,v=f[1]+g,b=$(window).height()+g-a-t,k=$(window).width()+m,x=gf(v),w=x[2],_=yf(y),S=_[2],C=ji(),T=Ui(),R=h.chart_selection.rangeMoveObj.attr("id");if(R=="luckysheet-chart-rangeShow-content"){var I=h.chart_selection.rangeMoveIndex[0]-h.chart_selection.rangeMovexy[0]+w;s.exits?(I<n+s.range[1]+1||v<0)&&(I=n+s.range[1]+1):(I<0||v<0)&&(I=0);var A=d.content.row[1]-d.content.row[0]+I;(A>=C.length-1||v>b)&&(I=C.length-1-d.content.row[1]+d.content.row[0],A=C.length-1);var E=h.chart_selection.rangeMoveIndex[1]-h.chart_selection.rangeMovexy[1]+S;u.exits?(E<o+u.range[1]+1||y<0)&&(E=o+u.range[1]+1):(E<0||y<0)&&(E=0);var N=d.content.column[1]-d.content.column[0]+E;(N>=T.length-1||y>k)&&(E=T.length-1-d.content.column[1]+d.content.column[0],N=T.length-1),s.exits&&u.exits?(l.rangeArray=[{row:[n,A],column:[o,N]}],l.rangeSplitArray.range={row:[n,A],column:[o,N]},l.rangeSplitArray.content={row:[I-n,A-n],column:[E-o,N-o]},l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[E-o,N-o]},l.rangeSplitArray.coltitle={row:[I-n,A-n],column:l.rangeSplitArray.coltitle.column}):s.exits?(l.rangeArray=[{row:[n,A],column:[E,N]}],l.rangeSplitArray.range={row:[n,A],column:[E,N]},l.rangeSplitArray.content={row:[I-n,A-n],column:l.rangeSplitArray.content.column}):u.exits?(l.rangeArray=[{row:[I,A],column:[o,N]}],l.rangeSplitArray.range={row:[I,A],column:[o,N]},l.rangeSplitArray.content={row:l.rangeSplitArray.content.row,column:[E-o,N-o]}):(l.rangeArray=[{row:[I,A],column:[E,N]}],l.rangeSplitArray.range={row:[I,A],column:[E,N]})}else if(R=="luckysheet-chart-rangeShow-rowtitle"){var E=h.chart_selection.rangeMoveIndex[1]-h.chart_selection.rangeMovexy[1]+S;u.exits?(E<o+u.range[1]+1||y<0)&&(E=o+u.range[1]+1):(E<0||y<0)&&(E=0);var N=d.rowtitle.column[1]-d.rowtitle.column[0]+E;(N>=T.length-1||y>k)&&(E=T.length-1-d.rowtitle.column[1]+d.rowtitle.column[0],N=T.length-1),u.exits?(l.rangeArray=[{row:l.rangeArray[0].row,column:[o,N]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[o,N]},l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[E-o,N-o]},l.rangeSplitArray.content={row:l.rangeSplitArray.content.row,column:[E-o,N-o]}):(l.rangeArray=[{row:l.rangeArray[0].row,column:[E,N]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[E,N]})}else if(R=="luckysheet-chart-rangeShow-coltitle"){var I=h.chart_selection.rangeMoveIndex[0]-h.chart_selection.rangeMovexy[0]+w;s.exits?(I<n+s.range[1]+1||v<0)&&(I=n+s.range[1]+1):(I<0||v<0)&&(I=0);var A=d.coltitle.row[1]-d.coltitle.row[0]+I;(A>=C.length-1||v>b)&&(I=C.length-1-d.coltitle.row[1]+d.coltitle.row[0],A=C.length-1),s.exits?(l.rangeArray=[{row:[n,A],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[n,A],column:l.rangeArray[0].column},l.rangeSplitArray.coltitle={row:[I-n,A-n],column:l.rangeSplitArray.coltitle.column},l.rangeSplitArray.content={row:[I-n,A-n],column:l.rangeSplitArray.content.column}):(l.rangeArray=[{row:[I,A],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[I,A],column:l.rangeArray[0].column})}h.chart_selection.create()},rangeMoveDragged:function(){h.chart_selection.rangeMove=!1;var e=h.currentChart;e.rangeTxt=kt(h.currentSheetIndex,e.rangeArray[0],h.currentSheetIndex),e.chartData=Dt(e.rangeArray[0],h.currentSheetIndex),h.changeChartRange(e.chart_id,e.chartData,e.rangeArray,e.rangeTxt)},rangeResize:!1,rangeResizexy:null,rangeResizeIndex:null,rangeResizeObj:null,rangeResizeDraging:function(e,a,t){var l=h.currentChart,n=l.rangeArray[0].row[0],o=l.rangeArray[0].column[0],s=l.rangeRowCheck,u=l.rangeColCheck,d=l.rangeSplitArray,f=at(e.pageX,e.pageY),m=$("#luckysheet-cell-main").scrollLeft(),g=$("#luckysheet-cell-main").scrollTop(),y=f[0]+m,v=f[1]+g,b=$(window).height()+g-a-t,k=$(window).width()+m,x=gf(v),w=x[2],_=yf(y),S=_[2],C=ji(),T=Ui(),R=h.chart_selection.rangeResizeObj.attr("id");if(R=="luckysheet-chart-rangeShow-content"){var I,A,E,N;if(h.chart_selection.rangeResize=="lt"?(I=h.chart_selection.rangeResizeIndex.row[0],E=h.chart_selection.rangeResizeIndex.column[0],A=h.chart_selection.rangeResizeIndex.row[1],N=h.chart_selection.rangeResizeIndex.column[1]):h.chart_selection.rangeResize=="lb"?(I=h.chart_selection.rangeResizeIndex.row[1],E=h.chart_selection.rangeResizeIndex.column[0],A=h.chart_selection.rangeResizeIndex.row[0],N=h.chart_selection.rangeResizeIndex.column[1]):h.chart_selection.rangeResize=="rt"?(I=h.chart_selection.rangeResizeIndex.row[0],E=h.chart_selection.rangeResizeIndex.column[1],A=h.chart_selection.rangeResizeIndex.row[1],N=h.chart_selection.rangeResizeIndex.column[0]):h.chart_selection.rangeResize=="rb"&&(I=h.chart_selection.rangeResizeIndex.row[1],E=h.chart_selection.rangeResizeIndex.column[1],A=h.chart_selection.rangeResizeIndex.row[0],N=h.chart_selection.rangeResizeIndex.column[0]),s.exits){var D=I-h.chart_selection.rangeResizexy[0]+w;D<n+s.range[1]+1||v<0?D=n+s.range[1]+1:(D>=C.length-1||v>b)&&(D=C.length-1)}else{var D=n-h.chart_selection.rangeResizexy[0]+w;D<0||v<0?D=0:(D>=C.length-1||v>b)&&(D=C.length-1)}if(u.exits){var F=E-h.chart_selection.rangeResizexy[1]+S;F<o+u.range[1]+1||y<0?F=o+u.range[1]+1:(F>=T.length-1||y>k)&&(F=T.length-1)}else{var F=o-h.chart_selection.rangeResizexy[1]+S;F<0||y<0?F=0:(F>=T.length-1||y>k)&&(F=T.length-1)}var M,z,O,H;D>A?(M=A,z=D):(M=D,z=A),F>N?(O=N,H=F):(O=F,H=N),!s.exits&&!u.exits?(l.rangeArray=[{row:[M,z],column:[O,H]}],l.rangeSplitArray.range={row:[M,z],column:[O,H]}):(l.rangeArray=[{row:[n,z],column:[o,H]}],l.rangeSplitArray.range={row:[n,z],column:[o,H]},l.rangeSplitArray.content={row:[M-n,z-n],column:[O-o,H-o]},s.exits&&(l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[O-o,H-o]}),u.exits&&(l.rangeSplitArray.coltitle={row:[M-n,z-n],column:l.rangeSplitArray.coltitle.column}))}else if(R=="luckysheet-chart-rangeShow-rowtitle"){var E,N;if(h.chart_selection.rangeResize=="lt"||h.chart_selection.rangeResize=="lb"?(E=h.chart_selection.rangeResizeIndex.column[0],N=h.chart_selection.rangeResizeIndex.column[1]):(h.chart_selection.rangeResize=="rt"||h.chart_selection.rangeResize=="rb")&&(E=h.chart_selection.rangeResizeIndex.column[1],N=h.chart_selection.rangeResizeIndex.column[0]),u.exits){var F=E-h.chart_selection.rangeResizexy[1]+S;F<o+u.range[1]+1||y<0?F=o+u.range[1]+1:(F>=T.length-1||y>k)&&(F=T.length-1)}else{var F=o-h.chart_selection.rangeResizexy[1]+S;F<0||y<0?F=0:(F>=T.length-1||y>k)&&(F=T.length-1)}var O,H;F>N?(O=N,H=F):(O=F,H=N),u.exits?(l.rangeArray=[{row:l.rangeArray[0].row,column:[o,H]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[o,H]},l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[O-o,H-o]},l.rangeSplitArray.content={row:l.rangeSplitArray.content.row,column:[O-o,H-o]}):(l.rangeArray=[{row:l.rangeArray[0].row,column:[O,H]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[O,H]})}else if(R=="luckysheet-chart-rangeShow-coltitle"){var I,A;if(h.chart_selection.rangeResize=="lt"||h.chart_selection.rangeResize=="rt"?(I=h.chart_selection.rangeResizeIndex.row[0],A=h.chart_selection.rangeResizeIndex.row[1]):(h.chart_selection.rangeResize=="lb"||h.chart_selection.rangeResize=="rb")&&(I=h.chart_selection.rangeResizeIndex.row[1],A=h.chart_selection.rangeResizeIndex.row[0]),s.exits){var D=I-h.chart_selection.rangeResizexy[0]+w;D<n+s.range[1]+1||v<0?D=n+s.range[1]+1:(D>=C.length-1||v>b)&&(D=C.length-1)}else{var D=n-h.chart_selection.rangeResizexy[0]+w;D<0||v<0?D=0:(D>=C.length-1||v>b)&&(D=C.length-1)}var M,z;D>A?(M=A,z=D):(M=D,z=A),s.exits?(l.rangeArray=[{row:[n,z],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[n,z],column:l.rangeArray[0].column},l.rangeSplitArray.coltitle={row:[M-n,z-n],column:l.rangeSplitArray.coltitle.column},l.rangeSplitArray.content={row:[M-n,z-n],column:l.rangeSplitArray.content.column}):(l.rangeArray=[{row:[M,z],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[M,z],column:l.rangeArray[0].column})}h.chart_selection.create()},rangeResizeDragged:function(){h.chart_selection.rangeResize=null;var e=h.currentChart;e.rangeTxt=kt(h.currentSheetIndex,e.rangeArray[0],h.currentSheetIndex),e.chartData=Dt(e.rangeArray[0],h.currentSheetIndex),h.changeChartRange(e.chart_id,e.chartData,e.rangeArray,e.rangeTxt)}}}function mc(e,a,t,l){var n=luckysheet.getluckysheet_select_save();n.length==1&&n[0].row[0]==n[0].row[1]&&n[0].column[0]==n[0].column[1]&&(ea("right","rangeOfSelect"),ea("down","rangeOfSelect"),n=luckysheet.getluckysheet_select_save());for(var o=-1,s=n[0].row[1]-n[0].row[0],u=n[0].row[0];u<=n[0].row[1];u++){for(var d=n[0].column[0];d<=n[0].column[1];d++){var f=ze(u,d,luckysheet.flowdata());if(f!=null&&f.toString().length>0){o=u;break}}if(o!==-1)break}o==-1&&(o=0),n[0].row=[o,o],n[0].row_focus=o,luckysheet.setluckysheet_select_save(n),h.luckysheet_shiftpositon=$.extend(!0,{},n[0]),In("down","range",!1,s),n=luckysheet.getluckysheet_select_save();for(var m=-1,g=n[0].column[1]-n[0].column[0],d=n[0].column[0];d<=n[0].column[1];d++){for(var u=n[0].row[0];u<=n[0].row[1];u++){var f=ze(u,d,luckysheet.flowdata());if(f!=null&&f.toString().length>0){m=d;break}}if(m!==-1)break}m==-1&&(m=0),n[0].column=[m,m],n[0].column_focus=m,luckysheet.setluckysheet_select_save(n),h.luckysheet_shiftpositon=$.extend(!0,{},n[0]),In("right","range",!1,g),n=luckysheet.getluckysheet_select_save();var y=$.extend(!0,[],n),v=kt(h.currentSheetIndex,y[0],h.currentSheetIndex);let b=Dt();console.dir(b);let k=ff("chart"),x=k+"_c",w='<div id="${id}"class="luckysheet-modal-dialog luckysheet-modal-dialog-chart ${addclass}"tabindex="0"role="dialog"aria-labelledby=":41e"dir="ltr"><div class="luckysheet-modal-dialog-resize"><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lt"data-type="lt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mt"data-type="mt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lm"data-type="lm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rm"data-type="rm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rt"data-type="rt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lb"data-type="lb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mb"data-type="mb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rb"data-type="rb"></div></div><div class="luckysheet-modal-dialog-controll"><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-update"role="button"tabindex="0"aria-label="\u4FEE\u6539\u56FE\u8868"title="\u4FEE\u6539\u56FE\u8868"><i class="fa fa-pencil"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-max"role="butluckysheet_chartIns_indexton"tabindex="0"aria-label="\u6700\u5927\u5316"title="\u6700\u5927\u5316"><i class="fa fa-window-maximize"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del"role="button"tabindex="0"aria-label="\u5220\u9664"title="\u5220\u9664"><i class="fa fa-trash"aria-hidden="true"></i></span></div><div class="luckysheet-modal-dialog-content">${content}</div></div>',_=$(oc(w,{id:x,addclass:"luckysheet-data-visualization-chart",title:"\u56FE\u8868\u751F\u6210",content:""})).appendTo($(".luckysheet-cell-main")),S=document.getElementById(x),{render:C,chart_json:T}=h.createChart($(`#${x}`).children(".luckysheet-modal-dialog-content")[0],b,k,y,v);console.dir(JSON.stringify(T)),e=e||400,a=a||250,t=t||0,l=l||0,S.style.width=e+"px",S.style.height=a+"px",S.style.position="absolute",S.style.background="#fff",S.style.left=t+"px",S.style.top=l+"px",C.style.width="100%",C.style.height="100%",S.style.zIndex=h.zIndex?h.zIndex:15,h.zIndex++;let R=h.luckysheetfile[Z(h.currentSheetIndex)];R.chart||(R.chart=[]),R.chart.push({chart_id:k,width:e,height:a,left:t,top:l,sheetIndex:R.index}),Hn(k),$(`#${k}_c .luckysheet-modal-controll-del`).click(function(I){kf(k)}),bf(_),$(`#${k}_c .luckysheet-modal-controll-update`).click(function(I){_f()}),_.children(".luckysheet-modal-dialog-content").mousedown(function(I){h.chartparam.luckysheetCurrentChartMaxState||Hn(k),I.stopPropagation()}),_.mousedown(function(I){if(!h.chartparam.luckysheetCurrentChartMaxState){Hn(k),Yl(!0),!$(I.target).is(".luckysheet-modal-dialog-controll")&&!$(I.target).is(".luckysheet-modal-controll-btn")&&!$(I.target).is("i")&&(h.chartparam.luckysheetCurrentChartMoveTimeout=setTimeout(function(){h.chartparam.luckysheetCurrentChartMove=!0},100));var A=h.chartparam.luckysheetCurrentChartMoveObj.offset(),E=h.chartparam.luckysheetCurrentChartMoveObj.position();h.chartparam.luckysheetCurrentChartMoveXy=[I.pageX-A.left,I.pageY-A.top,E.left,E.top,$("#luckysheet-scrollbar-x").scrollLeft(),$("#luckysheet-scrollbar-y").scrollTop()],h.chartparam.luckysheetCurrentChartMoveWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartMoveWinW=$("#luckysheet-cell-main")[0].scrollWidth,!$(I.target).hasClass("luckysheet-mousedown-cancel")&&$(I.target).filter("[class*='sp-palette']").length==0&&$(I.target).filter("[class*='sp-thumb']").length==0&&$(I.target).filter("[class*='sp-']").length==0&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu, #luckysheet-user-menu").hide(),$("body > .luckysheet-filter-menu, body > .luckysheet-filter-submenu, body > .luckysheet-cols-menu").hide()),I.stopPropagation()}}).find(".luckysheet-modal-dialog-resize-item").mousedown(function(I){if(h.chartparam.luckysheetCurrentChartActive){h.chartparam.luckysheetCurrentChartResize=$(this).data("type");var A=at(I.pageX,I.pageY),E=$("#luckysheet-scrollbar-x").scrollLeft(),N=$("#luckysheet-scrollbar-y").scrollTop(),D=A[0]+E,F=A[1]+N,M=h.chartparam.luckysheetCurrentChartResizeObj.position();h.chartparam.luckysheetCurrentChartResizeXy=[D,F,_.width(),_.height(),M.left+E,M.top+N,E,N],h.chartparam.luckysheetCurrentChartResizeWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartResizeWinW=$("#luckysheet-cell-main")[0].scrollWidth,h.chartparam.luckysheetCurrentChart=k,I.stopPropagation()}})}function bf(e){e.find(".luckysheet-modal-dialog-content").hover(function(){e.removeClass("chart-moveable")},function(){e.addClass("chart-moveable")}),e.hover(function(){e.addClass("chart-moveable")},function(){e.removeClass("chart-moveable")})}function kf(e){$(`.luckysheet-cell-main #${e}_c`).remove(),pc();let a=h.luckysheetfile[Z(h.currentSheetIndex)],t=a.chart.findIndex(l=>l.chart_id==e);a.chart.splice(t,1),h.deleteChart(e)}function Hn(e){let a=h.luckysheetfile[Z(h.currentSheetIndex)].chart;for(let t in a)a[t].needRangeShow=!1,a[t].chart_id==e&&(a[t].needRangeShow=!0,h.currentChart=h.getChartJson(e));xf(e)}function pc(){let e=h.luckysheetfile[Z(h.currentSheetIndex)].chart;for(let a in e)e[a].needRangeShow=!1;wf()}function xf(e){let a=$("#"+e+"_c");h.chart_selection.create(),h.chartparam.luckysheetCurrentChartActive=!0,h.chartparam.luckysheetCurrentChartMoveObj=a,h.chartparam.luckysheetCurrentChartResizeObj=a,h.chartparam.luckysheetCurrentChart=e,$("#luckysheet-cell-main").find(".luckysheet-modal-dialog-chart .luckysheet-modal-dialog-resize").hide(),$("#luckysheet-cell-main").find(".luckysheet-modal-dialog-chart .luckysheet-modal-dialog-controll").hide(),a.css("z-index",h.chartparam.luckysheetCurrentChartZIndexRank++),a.find(".luckysheet-modal-dialog-resize").show(),a.find(".luckysheet-modal-dialog-controll").show(),($(".chartSetting").is(":visible")||h.chartparam.luckysheet_chart_redo_click)&&e!=h.chartparam.luckysheetCurrentChart&&$("body .luckysheet-cols-menu").hide(),h.currentChart=h.highlightChart(e)}function wf(e){$("#luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-resize, #luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-controll").hide(),$("#luckysheet-cell-main").find(".luckysheet-datavisual-selection-set div").remove(),h.chartparam.luckysheetCurrentChartActive=!1,$("#luckysheet-chart-rangeShow").empty(),!e&&$(".chartSetting").is(":visible")&&!he()&&rv()}function _f(e,a){$(".chartSetting").is(":visible")||($(".chartSetting").show(),$("#luckysheet-cell-main").find(".luckysheet-datavisual-selection-set div").show(),h.chartparam.luckysheetCurrentChartActive=!0,setTimeout(function(){Ft()},0))}function rv(e){$(".chartSetting").is(":visible")&&($(".chartSetting").hide(),$("#luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-resize, #luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-controll").hide(),$("#luckysheet-cell-main").find(".luckysheet-datavisual-selection-set div").remove(),h.chartparam.luckysheetCurrentChartActive=!1,!he()&&!e&&setTimeout(function(){Ft()},0))}function gc(e){wf("true"),h.luckysheetfile.forEach(t=>{t.index==e?(t.chart||[]).forEach(n=>{n.isShow=!0,$("#"+n.chart_id+"_c").show(),h.resizeChart(n.chart_id),n.needRangeShow==!0&&(h.currentChart=h.getChartJson(n.chart_id),xf(n.chart_id))}):(t.chart||[]).forEach(n=>{n.isShow=!1,$("#"+n.chart_id+"_c").hide()})})}var gf,yf,Zy,Jy,_o=Ae(()=>{dt();mf();Wt();Ke();Vt();Mi();Rt();Pr();_a();Rn();At();ul();gf=xt,yf=vt,Zy=["https://cdn.jsdelivr.net/npm/vue@2.6.11","https://unpkg.com/vuex@3.4.0","https://cdn.bootcdn.net/ajax/libs/element-ui/2.13.2/index.js","https://cdn.bootcdn.net/ajax/libs/echarts/4.8.0/echarts.min.js","static/luckysheet/expendPlugins/chart/chartmix.umd.min.js"],Jy=["https://cdn.bootcdn.net/ajax/libs/element-ui/2.13.2/theme-chalk/index.css","static/luckysheet/expendPlugins/chart/chartmix.css"]});function un(e){h.flowdata==null||h.flowdata.length==0||(clearTimeout(Cf),Cf=setTimeout(()=>{h.clearjfundo&&h.jfredo.push({type:"zoomChange",zoomRatio:h.zoomRatio,curZoomRatio:e,sheetIndex:h.currentSheetIndex}),h.zoomRatio=e;let a=ye.getSheetByIndex();Be.buildAllPs(a.data),Re.images=a.images,Re.allImagesShow(),Re.init(),a.config==null&&(a.config={}),a.config.sheetViewZoom==null&&(a.config.sheetViewZoom={});let t=a.config.curentsheetView;t==null&&(t="viewNormal"),a.config.sheetViewZoom[t+"ZoomScale"]=e,re.saveParam("all",h.currentSheetIndex,h.zoomRatio,{k:"zoomRatio"}),re.saveParam("cg",h.currentSheetIndex,a.config.sheetViewZoom,{k:"sheetViewZoom"}),Vn()},100))}function Vn(){_t(h.flowdata.length,h.flowdata[0].length),Hs()}function Tf(){$("#luckysheet-zoom-minus").click(function(){let e;h.zoomRatio==null?e=h.zoomRatio=1:e=Math.ceil(h.zoomRatio*10)/10,e=e-.1,e==h.zoomRatio&&(e=e-.1),e<=.1&&(e=.1),un(e),Al(e)}),$("#luckysheet-zoom-plus").click(function(){let e;h.zoomRatio==null?e=h.zoomRatio=1:e=Math.floor(h.zoomRatio*10)/10,e=e+.1,e==h.zoomRatio&&(e=e+.1),e>=4&&(e=4),un(e),Al(e)}),$("#luckysheet-zoom-slider").mousedown(function(e){let a=$(this).offset().left,t=e.pageX,l=Sf(t-a);un(l),Al(l)}),$("#luckysheet-zoom-cursor").mousedown(function(e){let a=e.pageX,t=parseFloat($("#luckysheet-zoom-cursor").css("left"));$("#luckysheet-zoom-cursor").css("transition","none"),$(document).off("mousemove.zoomCursor").on("mousemove.zoomCursor",function(l){let o=l.pageX-a,s=t+o,u=Sf(s);u>4&&(u=4,s=100),u<.1&&(u=.1,s=0),un(u);let d=Math.round(u*100)+"%";$("#luckysheet-zoom-ratioText").html(d),$("#luckysheet-zoom-cursor").css("left",s-4)}),$(document).off("mouseup.zoomCursor").on("mouseup.zoomCursor",function(l){$(document).off(".zoomCursor"),$("#luckysheet-zoom-cursor").css("transition","all 0.3s")}),e.stopPropagation()}).click(function(e){e.stopPropagation()}),$("#luckysheet-zoom-ratioText").click(function(){un(1),Al(1)}),Al(h.zoomRatio)}function Sf(e){let a=1;return e<50?a=Math.round((e*1.8/100+.1)*100)/100:e>50&&(a=Math.round(((e-50)*6/100+1)*100)/100),a}function lv(e){let a=50;e<1?a=Math.round((e-.1)*100/.18)/10:e>1&&(a=Math.round((e-1)*100/.6)/10+50),$("#luckysheet-zoom-cursor").css("left",a-4)}function Al(e){let a=Math.round(e*100)+"%";$("#luckysheet-zoom-ratioText").html(a),lv(e)}var Cf,jn=Ae(()=>{Ke();bt();dt();hr();ul();Yt();Zt();Hl();Ol();Cf=null});var av,ye,hr=Ae(()=>{At();Ll();Wt();_l();df();ar();Vt();Yt();_i();Kt();ln();At();dt();jt();Zt();xr();ta();ul();Hl();Ol();dl();Pn();Or();fa();Xt();Ke();bt();_o();ul();jn();lr();Wr();av={generateRandomSheetIndex:function(e){e==null&&(e="Sheet");let a=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),t="";for(let n=0;n<12;n++)t+=a[Math.round(Math.random()*(a.length-1))];let l=new Date().getTime();return e+"_"+t+"_"+l},generateRandomSheetName:function(e,a){let t=e.length,n=Q().pivotTable.title;for(let o=0;o<e.length;o++)if(e[o].name.indexOf("Sheet")>-1||e[o].name.indexOf(n)>-1){let s=parseFloat(e[o].name.replace("Sheet","").replace(n,""));s!="NaN"&&Math.ceil(s)>t&&(t=Math.ceil(s))}return a?n+(t+1):"Sheet"+(t+1)},generateCopySheetName:function(e,a){let t="",n=Q().info;if(a.toString().indexOf("("+n.copy)>-1){let o=a.toString().indexOf("("+n.copy),s=a.toString().substring(0,o)+"("+n.copy,u=null;for(let d=0;d<e.length;d++){let f=e[d].name.toString(),m=f.indexOf(s);if(m>-1){let g=f.indexOf(")",m+s.length),y=f.substring(m+s.length,g);L(y)&&(u==null||parseInt(y)>u)&&(u=parseInt(y))}}u==null?t=s+"2)":(u++,t=s+u+")")}else{let o=null,s=!1,u=a+"("+n.copy;for(let d=0;d<e.length;d++){let f=e[d].name.toString(),m=f.indexOf(u);if(m>-1){s=!0;let g=f.indexOf(")",m+u.length),y=f.substring(m+u.length,g);L(y)&&(o==null||parseInt(y)>o)&&(o=parseInt(y))}}s?o==null?t=a+"("+n.copy+"2)":(o++,t=a+"("+n.copy+""+o+")"):t=a+"("+n.copy+")"}return t},getSheetByIndex:function(e){let a=this;e==null&&(e=h.currentSheetIndex);let t=a.getSheetIndex(e);return h.luckysheetfile[t]},getSheetByName:function(e){let a=this;if(e==null)return null;for(let t=0;t<h.luckysheetfile.length;t++){let l=h.luckysheetfile[t];if(l.name==e)return l}return null},getCurSheetnoset:function(){let e=0;for(let a=0;a<h.luckysheetfile.length;a++)if(h.luckysheetfile[a].status==1){e=h.luckysheetfile[a].index;break}return e},getCurSheet:function(){if(h.luckysheetfile.length){let e=!1,a=[];h.luckysheetfile.forEach(t=>{typeof t.index=="undefined"&&(t.index=this.generateRandomSheetIndex()),a.includes(t.index)?t.index=this.generateRandomSheetIndex():a.push(t.index),typeof t.status=="undefined"&&(t.status=0),t.status==1&&(e?t.status=0:e=!0)}),e||(h.luckysheetfile[0].status=1)}h.currentSheetIndex=h.luckysheetfile[0].index;for(let e=0;e<h.luckysheetfile.length;e++)if(h.luckysheetfile[e].status==1){h.currentSheetIndex=h.luckysheetfile[e].index;break}return h.currentSheetIndex},addNewSheet:function(e,a){if(he()||h.allowEdit===!1)return;let t=this,l=h.luckysheetfile.length,n=t.generateRandomSheetIndex(),o=t.generateRandomSheetName(h.luckysheetfile,a);$("#luckysheet-sheet-container-c").append(we(Kr,{index:n,active:"",name:o,style:"",colorset:""}));let s={name:o,color:"",status:"0",order:l,index:n,celldata:[],row:h.defaultrowNum,column:h.defaultcolumnNum,config:{},pivotTable:null,isPivotTable:!!a};if(h.luckysheetfile.push(s),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+n).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+n+'" class="luckysheet-datavisual-selection-set"></div>'),er(e),re.saveParam("sha",null,$.extend(!0,{},s)),h.clearjfundo){h.jfundo.length=0;let u={};u.type="addSheet",u.sheetconfig=$.extend(!0,{},s),u.index=n,u.currentSheetIndex=h.currentSheetIndex,h.jfredo.push(u)}t.changeSheetExec(n,a,!0)},setSheetHide:function(e){let a=this,t=a.getSheetIndex(e);h.luckysheetfile[t].hide=1;let l=$("#luckysheet-sheets-item"+e);l.hide(),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active");let n;if(fe.showsheetbarConfig.sheet)n=l.nextAll(":visible"),l.nextAll(":visible").length>0?n=n.eq(0).data("index"):n=l.prevAll(":visible").eq(0).data("index");else{let o,s=[];h.luckysheetfile.forEach((d,f)=>{d.hide!==1&&s.push(f)});let u=s.length;u===1?o=s[0]:o=s[u-1]>t?s.find(d=>d>t):s[u-1],n=h.luckysheetfile[o].index}$("#luckysheet-sheets-item"+n).addClass("luckysheet-sheets-item-active"),a.changeSheetExec(n),re.saveParam("sh",l.data("index"),1,{op:"hide",cur:n})},setSheetShow:function(e){let a=this;h.luckysheetfile[a.getSheetIndex(e)].hide=0,a.changeSheetExec(e),re.saveParam("sh",e,0,{op:"show",cur:null})},sheetMaxIndex:0,ordersheet:function(e){return function(a,t){let l=a[e],n=t[e];return l-n}},getCurrentOrder:function(){let e={};return $("#luckysheet-sheet-area div.luckysheet-sheets-item").each(function(a){let t=$(this).data("index");for(let l=0;l<h.luckysheetfile.length;l++)if(h.luckysheetfile[l].index==t){e[t.toString()]=a;break}}),e},reOrderAllSheet:function(){let e={};$("#luckysheet-sheet-area div.luckysheet-sheets-item").each(function(a){let t=$(this).data("index");for(let l=0;l<h.luckysheetfile.length;l++)if(h.luckysheetfile[l].index==t){h.luckysheetfile[l].order=a,e[t.toString()]=a;break}}),re.saveParam("shr",null,e),h.luckysheetfile.sort((a,t)=>{let l=a.order,n=t.order;return l!=null&&n!=null?l-n:l!=null?-1:(n!=null,1)})},createSheet:function(){let e=this,a=[];h.luckysheetfile.sort(e.ordersheet("order"));for(let t=0;t<h.luckysheetfile.length;t++){let l="",n=h.luckysheetfile[t].index,o="";h.luckysheetfile[t].color!=null&&(o='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+h.luckysheetfile[t].color+';"></div>'),h.currentSheetIndex==n?a.push(we(Kr,{index:n,active:"luckysheet-sheets-item-active",name:h.luckysheetfile[t].name,style:"",colorset:o})):(h.luckysheetfile[t].hide==1?a.push(we(Kr,{index:n,active:"",name:h.luckysheetfile[t].name,style:"display:none;",colorset:o})):a.push(we(Kr,{index:n,active:"",name:h.luckysheetfile[t].name,style:"",colorset:o})),l="style='display:none;'"),$("#luckysheet-cell-main").append("<div "+l+' id="luckysheet-datavisual-selection-set-'+n+'" class="luckysheet-datavisual-selection-set"></div>')}$("#luckysheet-sheet-container-c").append(a.join("")),e.locationSheet()},locationSheet:function(){let e=$("#luckysheet-sheet-container-c"),a=$("#"+h.container).width(),t=$("#luckysheet-sheet-container-c > div.luckysheet-sheets-item-active").eq(0),l=0,n=0;$("#luckysheet-sheet-container-c > div.luckysheet-sheets-item:visible").each(function(){$(this).hasClass("luckysheet-sheets-item-active")&&(l=n),n+=$(this).outerWidth()}),setTimeout(function(){e.scrollLeft(l-10),n>=a*.7&&fe.showsheetbarConfig.sheet&&($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","inline-block"),$("#luckysheet-sheet-container .docs-sheet-fade-left").show())},1)},copySheet:function(e,a){if(he()||h.allowEdit===!1)return;let t=this,l=h.luckysheetfile.length,n=t.generateRandomSheetIndex(),o=t.getSheetIndex(e),s=$.extend(!0,{},h.luckysheetfile[o]);s.order=l,s.index=n,s.name=t.generateCopySheetName(h.luckysheetfile,s.name);let u="";s.color!=null&&(u='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+s.color+';"></div>');let d=$("#luckysheet-sheets-item"+e);if($("#luckysheet-sheet-container-c").append(we(Kr,{index:s.index,active:"",name:s.name,order:s.order,style:"",colorset:u})),$("#luckysheet-sheets-item"+s.index).insertAfter(d),h.luckysheetfile.splice(o+1,0,s),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+n).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+n+'" class="luckysheet-datavisual-selection-set"></div>'),er(a),re.saveParam("shc",n,{copyindex:e,name:s.name}),t.changeSheetExec(n),t.reOrderAllSheet(),h.clearjfundo)h.jfredo.push({type:"copySheet",copyindex:e,index:s.index,sheetIndex:s.index});else if(h.jfredo.length>0){let f=h.jfredo[h.jfredo.length-1];f.type=="copySheet"&&(f.index=s.index,f.sheetIndex=s.index)}},hasSheet:function(e){return!(e==null||(e=this.getSheetIndex(e),e==null))},createSheetbydata:function(e,a,t=!0){let l=this,n="";if(e.color!=null&&(n='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+e.color+';"></div>'),$("#luckysheet-sheet-container-c").append(we(Kr,{index:e.index,active:"",name:e.name,order:e.order,style:"",colorset:n})),t){let o=e.order;o>=h.luckysheetfile.length?(o=h.luckysheetfile.length-1,$("#luckysheet-sheets-item"+e.index).insertAfter($("#luckysheet-sheets-item"+h.luckysheetfile[o].index))):$("#luckysheet-sheets-item"+e.index).insertBefore($("#luckysheet-sheets-item"+h.luckysheetfile[o].index))}h.luckysheetfile.push(e),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+e.index).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+e.index+'" class="luckysheet-datavisual-selection-set"></div>'),er(),a!=null?(re.saveParam("shre",null,{reIndex:e.index}),e.hide=0,re.saveParam("sh",e.index,0,{op:"show",cur:null})):re.saveParam("sha",null,e),l.changeSheetExec(e.index,e.isPivotTable,!0),l.reOrderAllSheet()},deleteSheet:function(e){let a=this;if(h.allowEdit===!1)return;let t=a.getSheetIndex(e);a.setSheetHide(e),$("#luckysheet-sheets-item"+e).remove(),$("#luckysheet-datavisual-selection-set-"+e).remove();let l=h.luckysheetfile.splice(t,1);a.reOrderAllSheet(),re.saveParam("shd",null,{deleIndex:e}),h.clearjfundo&&(l[0].type="deleteSheet",h.jfredo.push(l[0]))},nulldata:null,getGridData:function(e){let a=[];for(let t=0;t<e.length;t++)for(let l=0;l<e[0].length;l++)e[t][l]!=null&&a.push({r:t,c:l,v:e[t][l]});return a},buildGridData:function(e){let a=e.row==null?h.defaultrowNum:e.row,t=e.column==null?h.defaultcolumnNum:e.column,l=e.data&&e.data.length>0?e.data:or([],a,t),n=e.celldata;if(e.data&&e.data.length>0)for(let o=0;o<l.length;o++)for(let s=0;s<l[0].length;s++)Ot(o,s,l,l[o][s]);else if(n&&n.length>0)for(let o=0;o<n.length;o++){let s=n[o],u=s.r,d=s.c,f=s.v;u>=l.length&&(l=or(l,u-l.length+1,0)),d>=l[0].length&&(l=or(l,0,d-l[0].length+1)),Ot(u,d,l,f)}return fe.autoFormatw=!1,fe.accuracy=void 0,l},cutGridData:function(e){let a=0;for(let t=e.length-1;t>=0;t--){let l=!0;for(let n=0;n<e[0].length;n++){let o=ze(t,n);if(o!=null&&$.trim(o).length>0){l=!1;break}}if(l)a=t;else break}return e.slice(0,a)},addGridData:function(e,a,t){let l=or([],a,t);if(e!=null)for(let n=0;n<e.length;n++){let o=e[n],s=o.r,u=o.c,d=o.v;s>=l.length&&(l=or(l,s-l.length+1,0)),u>=l[0].length&&(l=or(l,0,u-l[0].length+1)),Ot(s,u,l,d)}return l},sheetParamRestore:function(e,a){if(h.luckysheet_select_save=e.luckysheet_select_save,(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0)&&(a[0]!=null&&a[0][0]!=null&&a[0][0].mc!=null?h.luckysheet_select_save=[{row:[0,a[0][0].mc.rs-1],column:[0,a[0][0].mc.cs-1]}]:h.luckysheet_select_save=[{row:[0,0],column:[0,0]}]),h.luckysheet_selection_range=e.luckysheet_selection_range==null?[]:e.luckysheet_selection_range,h.config=e.config==null?{}:e.config,h.zoomRatio=e.zoomRatio==null?1:e.zoomRatio,e.defaultRowHeight!=null?h.defaultrowlen=parseFloat(e.defaultRowHeight):h.defaultrowlen=fe.defaultRowHeight,e.defaultColWidth!=null?h.defaultcollen=parseFloat(e.defaultColWidth):h.defaultcollen=fe.defaultColWidth,e.showGridLines!=null){let t=e.showGridLines;t==0||t==!1?h.showGridLines=!1:h.showGridLines=!0}else h.showGridLines=!0},initialjfFile:function(e,a){let t=this;t.getCurSheet();let l=h.luckysheetfile[t.getSheetIndex(h.currentSheetIndex)];t.nulldata=or([],h.defaultrowNum,h.defaultcolumnNum);let n=t.buildGridData(l),o=[];l.jfgird_select_save=l.jfgird_select_save||[],l.jfgird_select_save.forEach(m=>o.push({row:m.row,column:m.column})),l.luckysheet_select_save=o,this.sheetParamRestore(l,n);let s=h.luckysheet_select_save[0].row[1],u=h.luckysheet_select_save[0].column[1];if(h.luckysheet_select_save.length>1)for(let m=0;m<h.luckysheet_select_save.length;m++)h.luckysheet_select_save[m].row[1]>s&&(s=h.luckysheet_select_save[m].row[1]),h.luckysheet_select_save[m].column[1]>u&&(u=h.luckysheet_select_save[m].column[1]);be.fontInitial(h.fontList),l.data=n;let d=n.length;s>d-1&&(d=s+1);let f=n[0].length;u>f-1&&(f=u+1),typeof fe.beforeCreateDom=="function"&&fe.beforeCreateDom(luckysheet),typeof fe.workbookCreateBefore=="function"&&fe.workbookCreateBefore(luckysheet),ic(f,d,n,e,a),setTimeout(function(){j.createHoverTip("#luckysheet_info_detail",".luckysheet_info_detail_back, .luckysheet_info_detail_input, .luckysheet_info_detail_update"),j.createHoverTip("#luckysheet-wa-editor",".luckysheet-toolbar-menu-button, .luckysheet-toolbar-button, .luckysheet-toolbar-combo-button"),h.luckysheetTableContentHW=[$("#luckysheet-cell-main").width()+h.rowHeaderWidth-h.cellMainSrollBarSize,$("#luckysheet-cell-main").height()+h.columnHeaderHeight-h.cellMainSrollBarSize],$("#luckysheetTableContent, #luckysheetTableContentF").attr({width:Math.ceil(h.luckysheetTableContentHW[0]*h.devicePixelRatio),height:Math.ceil(h.luckysheetTableContentHW[1]*h.devicePixelRatio)}).css({width:h.luckysheetTableContentHW[0],height:h.luckysheetTableContentHW[1]}).get(0).getContext("2d");let m=Q().info,y=re.gridKey+"__qkcache",v=function(){l.load="1",t.createSheet();let b=function(){t.mergeCalculation(l.index),t.setSheetParam(!1),t.storeSheetParam(),t.restoreselect(),t.CacheNotLoadControll=[],t.restoreCache(),p.execFunctionGroupForce(fe.forceCalculation),t.restoreSheetAll(h.currentSheetIndex),$("#luckysheet_info_detail_save").html(m.detailSave),l.isPivotTable?h.luckysheetcurrentisPivotTable=!0:(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide()),Hd(),Ft(),l.scrollLeft!=null&&l.scrollLeft>0?$("#luckysheet-scrollbar-x").scrollLeft(l.scrollLeft):$("#luckysheet-scrollbar-x").scrollLeft(0),l.scrollTop!=null&&l.scrollTop>0?$("#luckysheet-scrollbar-y").scrollTop(l.scrollTop):$("#luckysheet-scrollbar-y").scrollTop(0),So(h.asyncLoad,"core"),fe.pointEdit?setTimeout(function(){h.loadingObj.close()},0):setTimeout(function(){h.loadingObj.close()},500)},k=re.loadSheetUrl;if(k=="")t.loadOtherFile(l),b();else{let x=t.checkLoadSheetIndex(l),w=[];for(let _=0;_<x.length;_++){let S=x[_];S!=l.index&&w.push(S)}if(w.length===0){b();return}$.post(k,{gridKey:re.gridKey,index:w.join(",")},function(_){let S=new Function("return "+_)();for(let C in S){if(C==l.index)continue;let T=h.luckysheetfile[t.getSheetIndex(C)];(T.load==null||T.load=="0")&&(T.celldata=S[C.toString()],T.data=t.buildGridData(T),T.load="1")}b()})}};try{localforage.getItem(y).then(function(b){b!=null&&(t.CacheNotLoadControll=b),re.clearcachelocaldata(function(){v()})})}catch(b){v(),console.log("\u7F13\u5B58\u64CD\u4F5C\u5931\u8D25")}},1)},storeSheetParam:function(){let e=this.getSheetIndex(h.currentSheetIndex),a=h.luckysheetfile[e];a.config=h.config,a.visibledatarow=h.visibledatarow,a.visibledatacolumn=h.visibledatacolumn,a.ch_width=h.ch_width,a.rh_height=h.rh_height,a.luckysheet_select_save=$.extend(!0,[],h.luckysheet_select_save),a.luckysheet_selection_range=$.extend(!0,[],h.luckysheet_selection_range),$("#luckysheet-scrollbar-x")[0].scrollWidth>$("#luckysheet-scrollbar-x")[0].offsetWidth&&(a.scrollLeft=$("#luckysheet-scrollbar-x").scrollLeft()),$("#luckysheet-scrollbar-y")[0].scrollHeight>$("#luckysheet-scrollbar-y")[0].offsetHeight&&(a.scrollTop=$("#luckysheet-scrollbar-y").scrollTop()),a.zoomRatio=h.zoomRatio},setSheetParam:function(e=!0){let a=this.getSheetIndex(h.currentSheetIndex),t=h.luckysheetfile[a];h.flowdata=t.data,xe.webWorkerFlowDataCache(h.flowdata),p.execFunctionGlobalData=null,window.luckysheet_getcelldata_cache=null,this.sheetParamRestore(t,h.flowdata),t.freezen==null?(W.freezenhorizontaldata=null,W.freezenverticaldata=null):(W.freezenhorizontaldata=t.freezen.horizontal==null?null:t.freezen.horizontal.freezenhorizontaldata,W.freezenverticaldata=t.freezen.vertical==null?null:t.freezen.vertical.freezenverticaldata),e&&ua(h.flowdata.length,h.flowdata[0].length),Be.buildAllPs(h.flowdata),Re.currentImgId=null,Re.images=t.images,Re.allImagesShow(),Re.init(),Ye.dataVerification=t.dataVerification,Ye.init(),$r.hyperlink=t.hyperlink,$r.init(),Rr(t.filter_select,t.filter)},restoreselect:function(){let e=this.getSheetIndex(h.currentSheetIndex),a=h.luckysheetfile[e];et(!0),Mt(),a.scrollLeft!=null&&a.scrollLeft>0?$("#luckysheet-scrollbar-x").scrollLeft(a.scrollLeft):$("#luckysheet-scrollbar-x").scrollLeft(0),a.scrollTop!=null&&a.scrollTop>0?$("#luckysheet-scrollbar-y").scrollTop(a.scrollTop):$("#luckysheet-scrollbar-y").scrollTop(0)},storeSheetParamALL:function(){let e=this;e.storeSheetParam();let a=e.getSheetIndex(h.currentSheetIndex);h.luckysheetfile[a].data=h.flowdata,h.luckysheetfile[a].config=$.extend(!0,{},h.config)},mergeCalculationSheet:{},mergeCalculation:function(e){let a=h.luckysheetfile[this.getSheetIndex(e)],t=a.config,l=a.data;if(t==null)return;let n=t.merge;if(!(n==null||e in this.mergeCalculationSheet||a.autoCalculationMerge===!1)){this.mergeCalculationSheet[e]=1;for(let o in n){let s=parseInt(o.substr(0,o.indexOf("_"))),u=parseInt(o.substr(o.indexOf("_")+1)),d=n[o];l[s][u]==null&&(l[s][u]={}),l[s][u].mc={r:s,c:u,rs:d.rs,cs:d.cs};for(let f=s;f<s+d.rs;f++)for(let m=u;m<u+d.cs;m++)f==s&&m==u||(l[f][m]==null&&(l[f][m]={}),l[f][m].mc={r:s,c:u})}}},loadOtherFile:function(e){let a=this;for(let t=0;t<h.luckysheetfile.length;t++){let l=h.luckysheetfile[t];l.index!=e.index&&(l.load==null||l.load=="0")&&(l.data=a.buildGridData(l),l.load="1")}},changeSheet:function(e,a,t){if(he())return;let l=this;if(e==h.currentSheetIndex)return;re.allowUpdate&&($("#luckysheet-cell-main #luckysheet-multipleRange-show").empty(),re.multipleIndex=0),ut.createHookFunction("sheetActivate",e,a,t),$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).hide(),$("#luckysheet-filter-selected-sheet"+e+", #luckysheet-filter-options-sheet"+e).show(),l.storeSheetParamALL(),l.setCurSheet(e);let n=h.luckysheetfile[l.getSheetIndex(e)];if(n.isPivotTable?(h.luckysheetcurrentisPivotTable=!0,a||Oe.changePivotTable(e)):(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide(),Ft(!1)),n.load!=null){let s=l.buildGridData(n);n.data=s,l.mergeCalculation(e),l.setSheetParam(!0),l.showSheet(),setTimeout(function(){p.execFunctionGroup(),Le(),re.saveParam("shs",null,h.currentSheetIndex)},1)}else{let s=re.loadSheetUrl;if(s==""||h.luckysheetcurrentisPivotTable||!!t){let u=l.buildGridData(n);n.data=u,n.load="1",l.loadOtherFile(n),l.mergeCalculation(e),l.setSheetParam(),l.showSheet(),setTimeout(function(){l.restoreCache(),p.execFunctionGroupForce(fe.forceCalculation),l.restoreSheetAll(h.currentSheetIndex),Le()},1),re.saveParam("shs",null,h.currentSheetIndex)}else{$("#luckysheet-grid-window-1").append(Dl());let u=l.checkLoadSheetIndex(n);$.post(s,{gridKey:re.gridKey,index:u.join(",")},function(d){let f=new Function("return "+d)();n.celldata=f[e.toString()];let m=l.buildGridData(n);setTimeout(function(){h.loadingObj.close()},500);for(let g in f){if(g==e)continue;let y=h.luckysheetfile[l.getSheetIndex(g)];(y.load==null||y.load=="0")&&(y.celldata=f[g.toString()],y.data=l.buildGridData(y),y.load="1")}n.data=m,n.load="1",l.mergeCalculation(e),l.setSheetParam(),l.showSheet(),setTimeout(function(){l.restoreCache(),p.execFunctionGroupForce(fe.forceCalculation),l.restoreSheetAll(h.currentSheetIndex),Le()},1),re.saveParam("shs",null,h.currentSheetIndex)})}}$("#luckysheet-cell-main .luckysheet-datavisual-selection-set").hide(),$("#luckysheet-datavisual-selection-set-"+e).show(),gc(e),W.initialFreezen(e),l.restoreselect()},checkLoadSheetIndexToDataIndex:{},checkLoadSheetIndex:function(e){let a=p.getAllFunctionGroup(),t=e.chart,l=e.pivotTable,n=[],o={};if(e.index in this.checkLoadSheetIndexToDataIndex)return[];if(n.push(e.index),o[e.index.toString()]=1,this.checkLoadSheetIndexToDataIndex[e.index]=1,a!=null){let s={};for(let u=0;u<a.length;u++){let d=a[u],f=d.index,m=Nr(d.r,d.c,f);if(m==null){let g=h.luckysheetfile[this.getSheetIndex(f)];if(g.data=this.buildGridData(g),m=Nr(d.r,d.c,f),m==null)continue}if(m.indexOf("!")==-1)p.addToSheetIndexList(m,f);else if(p.formulaContainSheetList!=null&&p.formulaContainSheetList[m]!=null)for(let g in p.formulaContainSheetList[m])s[g]=1;else p.functionParser(m,g=>{if(p.addToCellList(m,g),g.indexOf("!")>-1){let y=g.substr(0,g.indexOf("!")),v=this.getSheetByName(y);if(v!=null){let b=v.index;s[b]=1,p.addToSheetIndexList(m,b)}}}),p.formulaContainSheetList[m]==null&&p.addToSheetIndexList(m,f);f!=null}for(let u in s){let d=u;o[d.toString()]==null&&(n.push(d),o[d.toString()]=1,this.checkLoadSheetIndexToDataIndex[d]=1)}}if(t!=null)for(let s=0;s<t.length;s++){let d=t[s].dataSheetIndex;d!=null&&o[d.toString()]==null&&(n.push(d),o[d.toString()]=1)}if(l!=null){let s=l.pivotDataSheetIndex;s!=null&&o[s.toString()]==null&&(n.push(s),o[s.toString()]=1)}return n},showSheet:function(){$("#luckysheet-cell-flow_0").css({width:h.ch_width,top:"-1px"}),$("#luckysheet-sheettable_0").css({width:h.ch_width-1,height:h.rh_height}),$("#luckysheetrowHeader_0").css("height",h.rh_height),$("#luckysheet-cols-h-cells_0").css("width",h.ch_width),$("#luckysheet-scrollbar-x div").width(h.ch_width),$("#luckysheet-scrollbar-y div").height(h.rh_height+h.columnHeaderHeight-h.cellMainSrollBarSize-3);let e=this.getSheetIndex(h.currentSheetIndex),a=h.luckysheetfile[e];h.scrollRefreshSwitch=!1,a.scrollLeft!=null&&a.scrollLeft>0?$("#luckysheet-scrollbar-x").scrollLeft(a.scrollLeft*h.zoomRatio):$("#luckysheet-scrollbar-x").scrollLeft(0),a.scrollTop!=null&&a.scrollTop>0?$("#luckysheet-scrollbar-y").scrollTop(a.scrollTop*h.zoomRatio):$("#luckysheet-scrollbar-y").scrollTop(0),setTimeout(()=>{h.scrollRefreshSwitch=!0},0),Al(h.zoomRatio)},setCurSheet:function(e){for(let a=0;a<h.luckysheetfile.length;a++)h.luckysheetfile[a].index==e?h.luckysheetfile[a].status=1:h.luckysheetfile[a].status=0;h.currentSheetIndex=e},getSheetIndex:function(e){for(let a=0;a<h.luckysheetfile.length;a++)if(h.luckysheetfile[a].index==e)return a;return null},changeSheetExec:function(e,a,t){let l=$("#luckysheet-sheets-item"+e);window.luckysheet_getcelldata_cache=null,$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),l.addClass("luckysheet-sheets-item-active").show(),er(),this.changeSheet(e,a,t),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),p.rangestart&&p.createRangeHightlight(),this.sheetBarShowAndHide(e)},sheetArrowShowAndHide(){let e=$("#luckysheet-sheet-container").width(),a=0;$("#luckysheet-sheet-container-c > div.luckysheet-sheets-item:visible").each(function(){a+=$(this).outerWidth()}),a>=e?fe.showsheetbarConfig.sheet&&($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","inline-block"),$("#luckysheet-sheet-container .docs-sheet-fade-left").show()):($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","none"),$("#luckysheet-sheet-container .docs-sheet-fade-left").hide())},sheetBarShowAndHide(e){let a=$("#luckysheet-sheet-container-c");if(e!=null){let o=$("#luckysheet-sheets-item"+e);a.scrollLeft(o.offset().left)}let t=a.width(),l=a[0].scrollWidth,n=a.scrollLeft();n<=0?$("#luckysheet-sheet-container .docs-sheet-fade-left").hide():$("#luckysheet-sheet-container .docs-sheet-fade-left").show(),t+n>=l?$("#luckysheet-sheet-container .docs-sheet-fade-right").hide():$("#luckysheet-sheet-container .docs-sheet-fade-right").show()},delChart:function(e,a){let t=this.getSheetIndex(a),l=h.luckysheetfile[t];if(l.chart==null)l.chart=[];else for(let n=0;n<l.chart.length;n++)if(l.chart[n].chart_id==e){h.luckysheetfile[t].chart.splice(n,1);break}},saveChart:function(e){let a=this.getSheetIndex(e.sheetIndex),t=h.luckysheetfile[a];if(t.chart==null)t.chart=[],t.chart.push(e);else{for(let l=0;l<t.chart.length;l++)if(t.chart[l].chart_id==e.chart_id){let n=$.extend(!0,{},t.chart[l]);t.chart[l]=$.extend(!0,{},n,e);return}t.chart.push(e)}},getChart:function(e,a){let t=this.getSheetIndex(e),l=h.luckysheetfile[t];if(l.chart==null)return null;for(let n=0;n<l.chart.length;n++)if(l.chart[n].chart_id==a)return l.chart[n];return null},getRangetxt:function(e,a,t){let l="";t==null&&(t=h.currentSheetIndex),e!=t&&(l=h.luckysheetfile[this.getSheetIndex(e)].name+"!");let n=a.row[0],o=a.row[1],s=a.column[0],u=a.column[1];return n==null&&o==null?l+tt(s)+":"+tt(u):s==null&&u==null?l+(n+1)+":"+(o+1):s==u&&n==o?l+tt(s)+(n+1):l+tt(s)+(n+1)+":"+tt(u)+(o+1)},getSheetName:function(e){return e==null&&(e=h.currentSheetIndex),h.luckysheetfile[this.getSheetIndex(e)].name},getSheetMerge:function(){return h.config.merge==null?null:h.config.merge},getSheetData:function(e){return e==null&&(e=h.currentSheetIndex),h.luckysheetfile[this.getSheetIndex(e)].data},getSheetConfig:function(e){let a=this;return e==null&&(e=h.currentSheetIndex),h.luckysheetfile[a.getSheetIndex(e)].config==null&&(h.luckysheetfile[a.getSheetIndex(e)].config={}),h.luckysheetfile[a.getSheetIndex(e)].config},restoreFilter:function(e){let a=this.getSheetIndex(e),t=h.luckysheetfile[a];if(P(t.filter_select)=="string"&&(t.filter_select=JSON.parse(t.filter_select)),t.filter_select==null||t.filter_select.row==null||t.filter_select.column==null)return;Rr(t.filter_select),P(t.filter)!="object"&&t.filter!=null&&P(t.filter)=="string"&&(t.filter=JSON.parse(t.filter));let l={};t.config!=null&&t.config.rowhidden!=null&&(l=t.config.rowhidden),$("#luckysheet-filter-options-sheet"+e+" .luckysheet-filter-options").each(function(n){if(t.filter==null)return!1;let o=$(this),s=t.filter[n];if(s==null)return!0;P(s)!="object"&&(s=JSON.parse(s)),Ea(o,s.optionstate,s.rowhidden,s.caljs,!1,s.st_r,s.ed_r,s.cindex,s.st_c,s.ed_c),l=$.extend(!0,l,s.rowhidden)}),t.config==null&&(t.config={}),t.config.rowhidden=l,h.config=t.config,_t(h.flowdata.length,h.flowdata[0].length,!1)},restorePivot:function(e){let a=this.getSheetIndex(e);!h.luckysheetfile[a].isPivotTable||(Oe.getCellData(e),Oe.initialPivotManage(!0),Oe.refreshPivotTable(!1))},restoreSheetAll:function(e){let a=this;a.restorePivot(e),a.restoreFilter(e),a.restoreFreezen(e)},restoreFreezen:function(e){W.initialFreezen(e)},restoreCache:function(){let e=this,a=e.CacheNotLoadControll;if(e.CacheNotLoadControll=[],a.length!=0)for(let t=0;t<a.length;t++){let l=a[t];e.execCache(l)}},CacheNotLoadControll:[],execCache:function(e){let a=this,t=e.t,l=e.i,n=e.v,o=h.luckysheetfile[a.getSheetIndex(l)];if(t=="sha")h.luckysheetfile.push(n);else if(t=="shc"){let s=$.extend(!0,{},h.luckysheetfile[a.getSheetIndex(n.copyindex)]);s.index=l,h.luckysheetfile.push(s)}else if(t=="shd")h.luckysheetfile.splice(n.deleIndex,1);else if(t=="shr")for(let s in n)h.luckysheetfile[a.getSheetIndex(s)].order=n[s];if((o==null||o.load!="1")&&!(t in{sha:0,shc:0,shd:0,shr:0})){a.CacheNotLoadControll.push(e);return}if(t=="v"){let s=e.r,u=e.c,d=e.v,f=a.getSheetData(l);o.data[s][u]=d}else if(t=="fc"){let s=e.op,u=e.pos;P(n)!="object"&&(n=new Function("return "+n)());let d=n.r,f=n.c;s=="del"?p.delFunctionGroup(d,f,l):p.insertUpdateFunctionGroup(d,f,l)}else if(t=="cg"){let s=n,u=e.k,d=a.getSheetConfig(l);u in d||(d[u]={});for(let f in s)d[u][f]=s[f];h.config=d}else if(t=="f"){let s=n,u=e.op,d=e.pos,f=o.filter;f==null&&(f={}),u=="upOrAdd"?f[d]=s:u=="del"&&delete f[d]}else if(t=="fsc")o.filter=null,o.filter_select=null;else if(t=="fsr"){let s=n;o.filter=s.filter,o.filter_select=s.filter_select}else if(t=="sh"){let s=e.op,u=e.cur,d=n;if(s=="hide")o.status=0,h.luckysheetfile[a.getSheetIndex(u)].status=1;else if(s=="show"){for(let f=0;f<h.luckysheetfile.length;f++)h.luckysheetfile[f].status=0;o.status=1}}else if(t=="all"){let s=e.k;e.s&&P(n)!="object"?o[s]=JSON.stringify(n):o[s]=n}else if(t=="c"){let s=e.op,u=e.cid;if(s=="add")o.chart.push(n);else if(s=="xy"||s=="wh"||s=="update"){for(let d=0;d<o.chart.length;d++)if(o.chart[d].chart_id==u){for(let f in o.chart[d])for(let m in n)f==m&&(o.chart[d][f]=n[m]);return}}else if(s=="del"){for(let d=0;d<o.chart.length;d++)if(o.chart[d].chart_id==u){o.chart.splice(d,1);return}}}else if(t=="drc"){let s=e.rc,u=n.index,d=n.len,f=o.celldata;if(s=="r"){for(let b=0;f.length==0;b++){let k=f[b];k.r>=u&&k.r<u+d?delete f[b]:k.r>=u+d&&(k.r-=d)}o.row-=d}else{for(let b=0;f.length==0;b++){let k=f[b];k.c>=u&&k.c<u+d?delete f[b]:k.c>=u+d&&(k.c-=d)}o.column-=d}let m=[];for(let b=0;b<f.length;b++)f[b]!=null&&m.push(f[b]);o.celldata=m;let g,y,v;s=="r"?g="row":g="column",y=u,v=u+d-1,Na(g,y,v,!0)}else if(t=="arc"){let s=e.rc,u=n.index,d=n.len,f=o.celldata;if(s=="r"){for(let g=0;g<f.length;g++){let y=f[g];y.r>u&&(y.r+=d)}o.row+=d}else{for(let g=0;g<f.length;g++){let y=f[g];y.c>u&&(y.c+=d)}o.column+=d}let m;s=="r"?m="row":m="column",Cl(m,u,d,!0)}else t=="na"?re.saveParam("na",null,n):t=="thumb"&&setTimeout(function(){a.imageRequest()},2e3)}},ye=av});var nv,p,Vt=Ae(()=>{dt();Rt();_a();jt();hr();lr();Zt();Or();Dr();dl();Xt();At();Nl();cl();Wt();_l();Ir();Kt();ar();Pr();sa();Yt();ca();Mi();Ke();bt();qn();Wr();nv={error:{v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"},errorInfo:function(e){return e},errorParamCheck:function(e,a,t){let l,n,s=Q().formulaMore;return t<e.length?(l=e[t].type,n=e[t].require):(l=e[e.length-1].type,n=e[e.length-1].require),n=="o"&&(a==null||a=="")?[!0,s.tipSuccessText]:l.indexOf("all")>-1?[!0,s.tipSuccessText]:l.indexOf("range")>-1&&(P(a)=="object"||P(a)=="array")?[!0,s.tipSuccessText]:l.indexOf("number")>-1&&(L(a)||P(a)=="boolean")?[!0,s.tipSuccessText]:l.indexOf("string")>-1&&P(a)=="string"?[!0,s.tipSuccessText]:l.indexOf("date")>-1&&qt(a)?[!0,s.tipSuccessText]:[!1,s.tipParamErrorText]},getPureValueByData:function(e){if(e.length==0)return[];let a=[];if(P(e)=="array")if(P(e[0])=="array")for(let t=0;t<e.length;t++){let l=[];for(let n=0;n<e[0].length;n++){let o=e[t][n];P(o)=="object"?l.push(o.v):l.push(o)}a.push(l)}else for(let t=0;t<e.length;t++){let l=e[t];P(l)=="object"?a.push(l.v):a.push(l)}else{let t=e;P(t)=="object"?a.push(t.v):a.push(t)}return a},readCellDataToOneArray:function(e){let a=this;if(e==null)return[];if(P(e)!="object")return[e];let t=[],l=[];if(e!=null&&e.data!=null)l=e.data;else return e!=null&&!de(e.v)?[e.v]:[];if(P(l)=="array")l=a.getPureValueByData(l);else{if(P(l)=="object")return l=l.v,[l];/\{.*?\}/.test(l)&&(l=l.replace(/\{/g,"[").replace(/\}/g,"]")),l=new Function("return "+l)()}if(P(l[0])=="array")for(let n=0;n<l.length;n++)t=t.concat(l[n]);else t=l;return t},getValueByFuncData:function(e,a){if(e==null)return null;let t=this;return P(e)=="array"?a=="avg"?luckysheet_function.AVERAGE.f.apply(luckysheet_function.AVERAGE,e):a=="sum"?luckysheet_function.SUM.f.apply(luckysheet_function.SUM,e):P(e[0])=="object"?luckysheet.mask.getValueByFormat(e[0]):e[0]:P(e)=="object"?luckysheet.mask.getValueByFormat(e):e},sparklinesColorMap:function(e,a){let t=this,l=null;a==null&&(a=5);let n=0;if(e.length>a)for(let o=a;o<e.length;o++){let s=e[o],u=t.readCellDataToOneArray(s);for(let d=0;d<u.length;d++){let f=u[d];if(f.indexOf(":")>-1){l||(l={});let m=f.split(":");m.length==2?l[m[0]]=m[1]:m.length>1&&(l[m[0]+":"+m[1]]=m[2])}else l||(l=[]),l.push(f)}n++}return l},colorList:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],classlist:{province:{11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"}},oldvalue:null,dontupdate:function(){let e=this;h.luckysheetCellUpdate.length=0,$("#luckysheet-functionbox-cell, #luckysheet-rich-text-editor").html(e.oldvalue),e.cancelNormalSelected(),e.rangetosheet!=h.currentSheetIndex&&ye.changeSheetExec(e.rangetosheet)},xssDeal:function(e){return typeof e!="string"?e:e.replace(/<script>/g,"&lt;script&gt;").replace(/<\/script>/,"&lt;/script&gt;")},fucntionboxshow:function(e,a){if(!vo(e,a,h.currentSheetIndex)){$("#luckysheet-functionbox-cell").html("");return}let t=this,l=h.flowdata,n="";if(l[e]!=null&&l[e][a]!=null){let o=$.extend(!0,{},l[e][a]);wr(o)?n=Dd(e,a):o.f!=null?n=ze(e,a,l,"f"):n=da(e,a,l)}n=this.xssDeal(n),t.oldvalue=n,$("#luckysheet-functionbox-cell").html(n)},cellOffset:function(e,a,t,l,n){let o=e.startCell,s=e.rowl,u=e.coll,d=parseInt(o.replace(/[^0-9]/g,"")),f=cr(o.replace(/[^A-Za-z]/g,"")),m=[],g=[],y;m[0]=d+a,g[0]=f+t,m[1]=m[0]+l-1,g[1]=g[0]+n-1,g[0]=tt(g[0]),g[1]=tt(g[1]);let v=g[0]+m[0],b=g[1]+m[1];return v==b?y=e.sheetName+"!"+v:y=e.sheetName+"!"+v+":"+b,y},parseDatetoNum:function(e){let a=this;if(typeof e=="object"&&typeof e.v=="number")e=e.v;else if(Jr(e)=="num")e=parseFloat(e);else if(Jr(e)=="date")e=it(e)[2];else return a.error.v;return e},getRangeArray:function(e){let a=[],t="General";if(e.length==1)for(let l=0;l<e[0].length;l++)if(e[0][l]!=null&&e[0][l].v){a.push(e[0][l].v);let n=e[0][l].ct.fa;t=t=="General"?n:t}else a.push(null);else if(e[0].length==1)for(let l=0;l<e.length;l++)if(e[l][0]!=null&&e[l][0].v){a.push(e[l][0].v);let n=e[l][0].ct.fa;t=t=="General"?n:t}else a.push(null);else for(let l=0;l<e.length;l++)for(let n=0;n<e[l].length;n++)if(e[l][n]!=null&&e[l][n].v){a.push(e[l][n].v);let o=e[l][n].ct.fa;t=t=="General"?o:t}else a.push(null);return e=a,[e,t]},getRangeArrayTwo:function(e){let a=$.extend(!0,[],e);if(a.length==1)for(let t=0;t<a[0].length;t++)a[0][t]instanceof Object&&(a[0][t]!=null&&a[0][t]instanceof Object&&!!a[0][t].m?a[0][t]=a[0][t].m:a[0][t]!=null&&a[0][t]instanceof Object&&!!a[0][t].v?a[0][t]=a[0][t].v:a[0][t]=null);else if(a[0].length==1)for(let t=0;t<a.length;t++)a[t][0]instanceof Object&&(a[t][0]!=null&&a[t][0]instanceof Object&&!!a[t][0].m?a[t][0]=a[t][0].m:a[t][0]!=null&&a[t][0]instanceof Object&&!!a[t][0].v?a[t][0]=a[t][0].v:a[t][0]=null);else for(let t=0;t<a.length;t++)for(let l=0;l<a[t].length;l++)a[t][l]instanceof Object&&(a[t][l]!=null&&a[t][l]instanceof Object&&!!a[t][l].m?a[t][l]=a[t][l].m:a[t][l]!=null&&a[t][l]instanceof Object&&!!a[t][l].v?a[t][l]=a[t][l].v:a[t][l]=null);return a},isWildcard:function(e,a){let t=this;e=e.toString(),a=a.toString(),t.isCompareOperator(a).flag&&(a=t.isCompareOperator(a).num);let l="";for(let o=0;o<a.length;o++){let s=a.charAt(o);s=="*"?l+=".*":s=="?"?l+=".":s=="~"?a.charAt(o+1)=="*"?(l+="\\*",o++):a.charAt(o+1)=="?"?(l+="\\?",o++):l+="~":l+=s}let n=new RegExp("^"+l+"$","g");return!!e.match(n)},isCompareOperator:function(e){e=e.toString();let a="",t="",l=e.substr(0,1),n=e.substr(1,1),o=!1,s;return l==">"?n=="="?(a=e.substr(0,2),t=e.substr(2),o=!0):n!="="&&(a=e.substr(0,1),t=e.substr(1),o=!0):l=="<"?n=="="||n==">"?(a=e.substr(0,2),t=e.substr(2),o=!0):n!="="&&n!=">"&&(a=e.substr(0,1),t=e.substr(1),o=!0):l=="="&&n!="="&&(a=e.substr(0,1),t=e.substr(1),o=!0),s={flag:o,ope:a,num:t},s},acompareb:function(e,a){let t=this,l=!1;if(L(a))l=On(e,"==",a);else if(typeof a=="string"){if(a.indexOf("*")!=-1||a.indexOf("?")!=-1)return t.isWildcard(e,a);if(t.isCompareOperator(a).flag){let n=t.isCompareOperator(a).ope,o=t.isCompareOperator(a).num;l=On(e,n,o)}else l=On(e,"==",a)}return l},compareParams:function(e,a,t){let l=!1,n=toString.call(e),o=toString.call(a);if((t==">"&&e>a||t==">="&&e>=a||t=="<"&&e<a||t=="<="&&e<=a||t=="="&&e==a||t=="<>"&&e!=a)&&(l=!0),n=="[object Object]"&&o=="[object Object]"){let s=Object.getOwnPropertyNames(e),u=Object.getOwnPropertyNames(a);if(s.length!=u.length)return!1;for(let d=0;d<s.length;d++){let f=s[d];if(e[f]!==a[f])return!1}return!0}return n=="[object Array]"&&o=="[object Array]"?e.toString()==a.toString():l},parseDecimal:function(e){e=parseFloat(e);let a=parseInt(e,10);return a==0||(e=e%a),e},getcellrange:function(e,a){if(e==null||e.length==0)return;let t="",l="",n=null,o=null,s=It();if(e.indexOf("!")>-1){if(e in this.cellTextToIndexList)return this.cellTextToIndexList[e];let u=e.split("!");t=u[0],l=u[1],t=t.replace(/\\'/g,"'").replace(/''/g,"'"),t.substr(0,1)=="'"&&t.substr(t.length-1,1)=="'"&&(t=t.substring(1,t.length-1));for(let d in s)if(t==s[d].name){n=s[d].index,o=s[d].data;break}}else{let u=a;if(u==null&&(u=h.currentSheetIndex),e+"_"+u in this.cellTextToIndexList)return this.cellTextToIndexList[e+"_"+u];let d=Z(u);t=s[d].name,n=s[d].index,o=h.flowdata,l=e}if(l.indexOf(":")==-1){let u=parseInt(l.replace(/[^0-9]/g,""))-1,d=cr(l.replace(/[^A-Za-z]/g,""));if(!isNaN(u)&&!isNaN(d)){let f={row:[u,u],column:[d,d],sheetIndex:n};return this.addToCellIndexList(e,f),f}else return null}else{l=l.split(":");let u=[],d=[];if(u[0]=parseInt(l[0].replace(/[^0-9]/g,""))-1,u[1]=parseInt(l[1].replace(/[^0-9]/g,""))-1,isNaN(u[0])&&(u[0]=0),isNaN(u[1])&&(u[1]=o.length-1),u[0]>u[1]||(d[0]=cr(l[0].replace(/[^A-Za-z]/g,"")),d[1]=cr(l[1].replace(/[^A-Za-z]/g,"")),isNaN(d[0])&&(d[0]=0),isNaN(d[1])&&(d[1]=o[0].length-1),d[0]>d[1]))return null;let f={row:u,column:d,sheetIndex:n};return this.addToCellIndexList(e,f),f}},rangeHightlightHTML:'<div id="luckysheet-formula-functionrange-highlight-${id}" rangeindex="${id}" class="luckysheet-selection-highlight luckysheet-formula-functionrange-highlight"><div data-type="top" class="luckysheet-selection-copy-top luckysheet-copy"></div><div data-type="right" class="luckysheet-selection-copy-right luckysheet-copy"></div><div data-type="bottom" class="luckysheet-selection-copy-bottom luckysheet-copy"></div><div data-type="left" class="luckysheet-selection-copy-left luckysheet-copy"></div><div class="luckysheet-selection-copy-hc"></div><div data-type="lt" class="luckysheet-selection-highlight-topleft luckysheet-highlight"></div><div data-type="rt" class="luckysheet-selection-highlight-topright luckysheet-highlight"></div><div data-type="lb" class="luckysheet-selection-highlight-bottomleft luckysheet-highlight"></div><div data-type="rb" class="luckysheet-selection-highlight-bottomright luckysheet-highlight"></div></div>',createRangeHightlight:function(){let e=this,a=$("#luckysheet-rich-text-editor").find("span.luckysheet-formula-functionrange-cell");$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove(),a.each(function(){let t=$(this).attr("rangeindex"),l=$(this).text();$("#luckysheet-formula-functionrange").append(we(e.rangeHightlightHTML,{id:t}));let n=e.getcellrange(l),o="luckysheet-formula-functionrange-highlight-"+t;n==null||(n.sheetIndex==h.currentSheetIndex||n.sheetIndex==-1&&e.rangetosheet==h.currentSheetIndex)&&($("#"+o).data("range",n).find(".luckysheet-copy").css({background:Vr[t]}).end().find(".luckysheet-highlight").css({background:Vr[t]}).end().find(".luckysheet-selection-copy-hc").css({background:Vr[t]}),$f(o,n.row[0],n.row[1],n.column[0],n.column[1]))}),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").show()},searchHTML:'<div id="luckysheet-formula-search-c" class="luckysheet-formula-search-c"></div>',helpHTML:'<div id="luckysheet-formula-help-c" class="luckysheet-formula-help-c"> <div class="luckysheet-formula-help-close" title="${helpClose}"><i class="fa fa-times" aria-hidden="true"></i></div> <div class="luckysheet-formula-help-collapse" title="${helpCollapse}"><i class="fa fa-angle-up" aria-hidden="true"></i></div> <div class="luckysheet-formula-help-title"><div class="luckysheet-formula-help-title-formula"> <span class="luckysheet-arguments-help-function-name">SUM</span> <span class="luckysheet-arguments-paren">(</span> <span class="luckysheet-arguments-parameter-holder"> <span class="luckysheet-arguments-help-parameter luckysheet-arguments-help-parameter-active" dir="auto">A2:A100</span>, <span class="luckysheet-arguments-help-parameter" dir="auto">101</span> </span> <span class="luckysheet-arguments-paren">)</span> </div></div> <div class="luckysheet-formula-help-content"> <div class="luckysheet-formula-help-content-example"> <div class="luckysheet-arguments-help-section-title">${helpExample}</div> <div class="luckysheet-arguments-help-formula"> <span class="luckysheet-arguments-help-function-name">SUM</span> <span class="luckysheet-arguments-paren">(</span> <span class="luckysheet-arguments-parameter-holder"> <span class="luckysheet-arguments-help-parameter luckysheet-arguments-help-parameter-active" dir="auto">A2:A100</span>, <span class="luckysheet-arguments-help-parameter" dir="auto">101</span> </span> <span class="luckysheet-arguments-paren">)</span> </div> </div> <div class="luckysheet-formula-help-content-detail"> <div class="luckysheet-arguments-help-section"> <div class="luckysheet-arguments-help-section-title luckysheet-arguments-help-parameter-name">${helpAbstract}</div> <span class="luckysheet-arguments-help-parameter-content">${helpAbstract}</span> </div> </div> <div class="luckysheet-formula-help-content-param"> ${param} </div> </div> <div class="luckysheet-formula-help-foot"></div></div>',getrangeseleciton:function(){let e=window.getSelection(),a=$(e.anchorNode),t=e.anchorOffset;if(a.parent().is("span")&&t!=0){let l=$.trim(a.text()),n="";if(l.length==0&&a.parent().prev().length>0){let o=a.parent().prev();return l=$.trim(o.text()),n=l.substr(l.length-1,1),o}else return n=l.substr(t-1,1),a.parent()}else if(a.is("#luckysheet-rich-text-editor")||a.is("#luckysheet-functionbox-cell")){let l=$.trim(a.find("span").last().text());if(l.length==0&&a.find("span").length>1){let n=a.find("span");return l=$.trim(n.eq(n.length-2).text()),n}else return a.find("span").last()}else if((a.parent().is("#luckysheet-rich-text-editor")||a.parent().is("#luckysheet-functionbox-cell")||t==0)&&(t==0&&(a=a.parent()),a.prev().length>0)){let l=$.trim(a.prev().text()),n=l.substr(l.length-1,1);return a.prev()}return null},searchFunctionPosition:function(e,a,t,l,n){let o=$(window).height(),s=$(window).width(),u=e.outerWidth(),d=e.outerHeight();n==null&&(n=!1);let f=t;t+u>s?f=t-u+a.outerWidth():f=t;let m=l;l+d>o?m=l-d:(m=l+a.outerHeight(),n||e.html(e.find(".luckysheet-formula-search-item").get().reverse())),m<0&&(m=0),f<0&&(f=0),e.css({top:m,left:f}).show()},searchFunctionCell:null,searchFunction:function(e){let a=this,t=h.functionlist,l=a.getrangeseleciton();if(a.searchFunctionCell=l,l==null||e==null)return;let n=e.text(),o=l.text().toUpperCase();if(!/^[a-zA-Z]|[a-zA-Z_]+$/.test(o)||n.substr(0,1)!="=")return;let u={f:[],s:[],t:[]},d=0;for(let v=0;v<t.length;v++){let b=t[v],k=b.n;if(k==o?(u.f.unshift(b),d++):k.substr(0,o.length)==o?(u.s.unshift(b),d++):k.indexOf(o)>-1&&(u.t.unshift(b),d++),d>=10)break}let f=u.t.concat(u.s.concat(u.f));if(f.length<=0)return;let m=a.searchFunctionHTML(f);$("#luckysheet-formula-search-c").html(m).show(),$("#luckysheet-formula-help-c").hide();let g=e.parent(),y=g.offset();a.searchFunctionPosition($("#luckysheet-formula-search-c"),g,y.left,y.top)},searchFunctionEnter:function(e){let a=this,t=e.data("func");a.searchFunctionCell.text(t).after('<span dir="auto" class="luckysheet-formula-text-color">(</span>'),a.setCaretPosition(a.searchFunctionCell.next().get(0),0,1),$("#luckysheet-formula-search-c").hide(),a.helpFunctionExe(a.searchFunctionCell.closest("div"),a.searchFunctionCell.next())},searchFunctionHTML:function(e){let a=this;$("#luckysheet-formula-search-c").length==0&&($("body").append(a.searchHTML),$("#luckysheet-formula-search-c").on("mouseover",".luckysheet-formula-search-item",function(){$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),$(this).addClass("luckysheet-formula-search-item-active")}).on("mouseout",".luckysheet-formula-search-item",function(){}).on("click",".luckysheet-formula-search-item",function(){a.searchFunctionCell!=null&&a.searchFunctionEnter($(this))}));let t='<div data-func="${n}" class="luckysheet-formula-search-item ${class}"><div class="luckysheet-formula-search-func">${n}</div><div class="luckysheet-formula-search-detail">${a}</div></div>',l="";for(let n=0;n<e.length;n++){let o=e[n];n==e.length-1?l+=we(t,{class:"luckysheet-formula-search-item-active",n:o.n,a:o.a}):l+=we(t,{class:"",n:o.n,a:o.a})}return l},functionlistPosition:{},helpFunction:function(e,a,t){let l=this,o=h.functionlist[l.functionlistPosition[$.trim(a).toUpperCase()]];if(o==null)return;let u=Q().formulaMore;$("#luckysheet-formula-help-c .luckysheet-arguments-help-function-name").html(o.n),$("#luckysheet-formula-help-c .luckysheet-arguments-help-parameter-content").html(o.d);let d='<span class="luckysheet-arguments-help-function-name">${name}</span> <span class="luckysheet-arguments-paren">(</span> <span class="luckysheet-arguments-parameter-holder"> ${param} </span> <span class="luckysheet-arguments-paren">)</span>',f='<span class="luckysheet-arguments-help-parameter" dir="auto">${param}</span>',m='<div class="luckysheet-arguments-help-section"><div class="luckysheet-arguments-help-section-title">${param}</div><span class="luckysheet-arguments-help-parameter-content">${content}</span></div>',g="",y="",v="";for(let x=0;x<o.p.length;x++){let w=o.p[x],_=w.name,S=w.name;w.repeat=="y"&&(_+=", ...",S+='<span class="luckysheet-arguments-help-argument-info">...-'+u.allowRepeatText+"</span>"),w.require=="o"&&(_="["+_+"]",S+='<span class="luckysheet-arguments-help-argument-info">-['+u.allowOptionText+"]</span>"),g+='<span class="luckysheet-arguments-help-parameter" dir="auto">'+_+"</span>, ",y+='<span class="luckysheet-arguments-help-parameter" dir="auto">'+w.example+"</span>, ",v+=we(m,{param:S,content:w.detail})}if(g=g.substr(0,g.length-2),y=y.substr(0,y.length-2),$("#luckysheet-formula-help-c .luckysheet-formula-help-title .luckysheet-arguments-parameter-holder").html(g),$("#luckysheet-formula-help-c .luckysheet-arguments-help-formula .luckysheet-arguments-parameter-holder").html(y),$("#luckysheet-formula-help-c .luckysheet-formula-help-content-param").html(v),t==null)$("#luckysheet-formula-help-c .luckysheet-formula-help-title-formula .luckysheet-arguments-help-function-name").css("font-weight","bold");else{$("#luckysheet-formula-help-c .luckysheet-formula-help-title-formula .luckysheet-arguments-help-function-name").css("font-weight","normal");let x=t>=o.p.length?o.p.length-1:t;$("#luckysheet-formula-help-c .luckysheet-formula-help-title .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").removeClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-formula-help-title .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").eq(x).addClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-arguments-help-formula .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").removeClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-arguments-help-formula .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").eq(x).addClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-formula-help-content-param .luckysheet-arguments-help-section").removeClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-formula-help-content-param .luckysheet-arguments-help-section").eq(x).addClass("luckysheet-arguments-help-parameter-active")}let b=e.parent(),k=b.offset();l.searchFunctionPosition($("#luckysheet-formula-help-c"),b,k.left,k.top,!0)},helpFunctionExe:function(e,a){let t=this,l=h.functionlist,o=Q().formulaMore;if($("#luckysheet-formula-help-c").length==0){$("body").after(we(t.helpHTML,{helpClose:o.helpClose,helpCollapse:o.helpCollapse,helpExample:o.helpExample,helpAbstract:o.helpAbstract})),$("#luckysheet-formula-help-c .luckysheet-formula-help-close").click(function(){$("#luckysheet-formula-help-c").hide()}),$("#luckysheet-formula-help-c .luckysheet-formula-help-collapse").click(function(){let v=$("#luckysheet-formula-help-c .luckysheet-formula-help-content");v.slideToggle(100,function(){let b=t.rangeResizeTo.parent(),k=b.offset();t.searchFunctionPosition($("#luckysheet-formula-help-c"),b,k.left,k.top,!0)}),v.is(":hidden")?$(this).html('<i class="fa fa-angle-up" aria-hidden="true"></i>'):$(this).html('<i class="fa fa-angle-down" aria-hidden="true"></i>')});for(let v=0;v<l.length;v++)t.functionlistPosition[l[v].n]=v}if(!a)return;let s=a,u=e.length,d=e.find("span"),f=a.index(),m=f;if(s==null)return;let g=null,y=null;if(d.eq(m).is(".luckysheet-formula-text-func"))g=d.eq(m).text();else{let v=null,b=[-1,-1];for(;--m>0;)if(v=d.eq(m),v.is(".luckysheet-formula-text-func")||$.trim(v.text()).toUpperCase()in t.functionlistPosition){g=v.text(),y=null;let k=!0;for(let x=m;x<=f;x++)if(y||(y=0),!(x>=b[0]&&x<=b[1])){if(v=d.eq(x),v.is(".luckysheet-formula-text-rpar")){b=[m,x],g=null,k=!1;break}v.is(".luckysheet-formula-text-comma")&&y++}if(k)break}}g!=null&&t.helpFunction(e,g,y)},rangeHightlightselected:function(e,a){let t=this,l=t.getrangeseleciton();if($("#luckysheet-formula-search-c, #luckysheet-formula-help-c").hide(),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight .luckysheet-selection-copy-hc").css("opacity","0.03"),$("#luckysheet-formula-search-c, #luckysheet-formula-help-c").hide(),t.helpFunctionExe(e,l),$(l).closest(".luckysheet-formula-functionrange-cell").length==0){t.searchFunction(e);return}let o=$(l).closest(".luckysheet-formula-functionrange-cell").attr("rangeindex"),s="luckysheet-formula-functionrange-highlight-"+o;$("#"+s).find(".luckysheet-selection-copy-hc").css({opacity:"0.13"})},updatecell:function(e,a,t,l=!0){let n=this,o=$("#luckysheet-rich-text-editor"),s=o.text(),u=o.html();if(n.rangetosheet!=null&&n.rangetosheet!=h.currentSheetIndex&&ye.changeSheetExec(n.rangetosheet),!pa(e,a,h.currentSheetIndex))return;if(Ye.dataVerification!=null){let C=Ye.dataVerification[e+"_"+a];if(C!=null&&C.prohibitInput&&!Ye.validateCellData(s,C)){let T=Ye.getFailureText(C);j.info(T,""),n.cancelNormalSelected();return}}let d=h.flowdata[e][a],f=JSON.stringify(d),m=wr(d),g=s.slice(0,1)!="="&&u.substr(0,5)=="<span",y=!1;if(!g&&s&&s.length>0){let C=s.replace(/\r\n/g,"_x000D_").replace(/&#13;&#10;/g,"_x000D_").replace(/\r/g,"_x000D_").replace(/\n/g,"_x000D_").split("_x000D_");C.length>1&&(y=!0,g=!0,s=C.join(`\r
`))}if(!t&&!g&&m?(delete d.ct.s,d.ct.t="g",d.ct.fa="General",t=""):g&&(P(d)!="object"&&(d={}),delete d.f,delete d.v,delete d.m,d.ct==null&&(d.ct={},d.ct.fa="General"),d.ct.t="inlineStr",d.ct.s=$d(o.find("span")),y&&(d.ct.s=[{v:s}])),t=t||o.text(),!ut.createHookFunction("cellUpdateBefore",e,a,t,l)){n.cancelNormalSelected();return}if(!g){if(de(t)&&!m){if(d==null||de(d.v)&&d.spl==null&&d.f==null){n.cancelNormalSelected();return}}else if(d!=null&&d.qp!=1){if(P(d)=="object"&&(t==d.f||t==d.v||t==d.m)){n.cancelNormalSelected();return}else if(t==d){n.cancelNormalSelected();return}}P(t)=="string"&&t.slice(0,1)=="="&&t.length>1||P(d)=="object"&&d.ct!=null&&d.ct.fa!=null&&d.ct.fa!="@"&&!de(t)&&(delete d.m,d.f!=null&&(delete d.f,delete d.spl))}window.luckysheet_getcelldata_cache=null;let v=!0,b=xe.deepCopyFlowData(h.flowdata),k=null;if(P(d)=="object"){if(!g)if(P(t)=="string"&&t.slice(0,1)=="="&&t.length>1){let C=n.execfunction(t,e,a,void 0,!0);if(v=!1,d=$.extend(!0,{},b[e][a]),d.v=C[1],d.f=C[2],C.length==4&&C[3].type=="sparklines"){delete d.m,delete d.v;let T=C[3].data;P(T)=="array"&&P(T[0])!="object"?d.v=T[0]:d.spl=C[3].data}else C.length==4&&C[3].type=="dynamicArrayItem"&&(k=C[3].data)}else if(P(t)=="object"){let C=t.f;if(P(C)=="string"&&C.slice(0,1)=="="&&C.length>1){let T=n.execfunction(C,e,a,void 0,!0);if(v=!1,d=$.extend(!0,{},b[e][a]),d.v=T[1],d.f=T[2],T.length==4&&T[3].type=="sparklines"){delete d.m,delete d.v;let R=T[3].data;P(R)=="array"&&P(R[0])!="object"?d.v=R[0]:d.spl=T[3].data}else T.length==4&&T[3].type=="dynamicArrayItem"&&(k=T[3].data)}else for(let T in t)d[T]=t[T]}else n.delFunctionGroup(e,a),n.execFunctionGroup(e,a,t),v=!1,d=$.extend(!0,{},b[e][a]),d.v=t,delete d.f,delete d.spl,d.qp==1&&(""+t).substr(0,1)!="'"&&(d.qp=0,d.ct!=null&&(d.ct.fa="General",d.ct.t="n"));t=d}else if(P(t)=="string"&&t.slice(0,1)=="="&&t.length>1){let C=n.execfunction(t,e,a,void 0,!0);if(v=!1,t={v:C[1],f:C[2]},C.length==4&&C[3].type=="sparklines"){let T=C[3].data;P(T)=="array"&&P(T[0])!="object"?t.v=T[0]:t.spl=C[3].data}else C.length==4&&C[3].type=="dynamicArrayItem"&&(k=C[3].data)}else if(P(t)=="object"){let C=t.f;if(P(C)=="string"&&C.slice(0,1)=="="&&C.length>1){let T=n.execfunction(C,e,a,void 0,!0);if(v=!1,t.v=T[1],t.f=T[2],T.length==4&&T[3].type=="sparklines"){let R=T[3].data;P(R)=="array"&&P(R[0])!="object"?t.v=R[0]:t.spl=T[3].data}else T.length==4&&T[3].type=="dynamicArrayItem"&&(k=T[3].data)}else{let T=d;t.v==null&&(t.v=T)}}else n.delFunctionGroup(e,a),n.execFunctionGroup(e,a,t),v=!1;Ot(e,a,b,t),n.cancelNormalSelected();let x=!1,w=$.extend(!0,{},It()[Z(h.currentSheetIndex)].config);if(w.rowlen==null&&(w.rowlen={}),b[e][a].tb=="2"&&b[e][a].v!=null||wr(b[e][a])){let C=h.defaultrowlen,T=$("#luckysheetTableContent").get(0).getContext("2d");if(!(w.customHeight&&w.customHeight[e]==1)){let R=$t(a)[1]-$t(a)[0]-2,I=wl(b[e][a],T,{r:e,c:a,cellWidth:R}),A=C;I!=null&&(A=I.textHeightAll+2),A>C&&(w.rowlen[e]=A,x=!0)}}let _=null;k&&(_=$.extend(!0,[],this.insertUpdateDynamicArray(k)));let S={dynamicArray:_};if(x&&(S={cfg:w,dynamicArray:_,RowlChange:x}),setTimeout(()=>{ut.createHookFunction("cellUpdated",e,a,JSON.parse(f),h.flowdata[e][a],l)},0),l)Ze(b,[{row:[e,e],column:[a,a]}],S,v),n.execFunctionGlobalData=null;else return{data:b,allParam:S}},cancelNormalSelected:function(){let e=this;e.canceFunctionrangeSelected(),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove(),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-input-box-index").hide(),$("#luckysheet-wa-functionbox-cancel, #luckysheet-wa-functionbox-confirm").removeClass("luckysheet-wa-calculate-active"),e.rangestart=!1,e.rangedrag_column_start=!1,e.rangedrag_row_start=!1},canceFunctionrangeSelected:function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show, #luckysheet-column-count-show").hide(),$("#luckysheet-formula-search-c, #luckysheet-formula-help-c").hide()},iscellformat:function(e){let a=/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][123456789]/},iscelldata:function(e){let a=e.split("!"),t;a.length>1?t=a[1]:t=a[0];let l=/^(([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+))$/g,n=/^(((([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+)))|((([a-zA-Z]+)|([$][a-zA-Z]+))))$/g;if(t.indexOf(":")==-1){let o=parseInt(t.replace(/[^0-9]/g,""))-1,s=cr(t.replace(/[^A-Za-z]/g,""));return!isNaN(o)&&!isNaN(s)&&t.toString().match(l)?!0:(isNaN(o)&&isNaN(s),!1)}else{n=/^(((([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+)))|((([a-zA-Z]+)|([$][a-zA-Z]+)))|((([0-9]+)|([$][0-9]+s))))$/g,t=t.split(":");let o=[],s=[];return o[0]=parseInt(t[0].replace(/[^0-9]/g,""))-1,o[1]=parseInt(t[1].replace(/[^0-9]/g,""))-1,o[0]>o[1]||(s[0]=cr(t[0].replace(/[^A-Za-z]/g,"")),s[1]=cr(t[1].replace(/[^A-Za-z]/g,"")),s[0]>s[1])?!1:!!(t[0].toString().match(n)&&t[1].toString().match(n))}},operator:"==|!=|<>|<=|>=|=|+|-|>|<|/|*|%|&|^",operatorjson:null,functionCopy:function(e,a,t){let l=this;if(l.operatorjson==null){let m=l.operator.split("|"),g={};for(let y=0;y<m.length;y++)g[m[y].toString()]=1;l.operatorjson=g}a==null&&(a="down"),t==null&&(t=1),e.substr(0,1)=="="&&(e=e.substr(1));let n=e.split(""),o=0,s="",u="",d=!0,f={bracket:0,comma:0,squote:0,dquote:0};for(;o<n.length;){let m=n[o];if(m=="("&&f.dquote==0)f.bracket+=1,s.length>0?u+=s+"(":u+="(",s="";else if(m==")"&&f.dquote==0)f.bracket-=1,u+=l.functionCopy(s,a,t)+")",s="";else if(m=='"'&&f.squote==0)f.dquote>0?(u+=s+'"',f.dquote-=1,s=""):(f.dquote+=1,s+='"');else if(m==","&&f.dquote==0)u+=l.functionCopy(s,a,t)+",",s="";else if(m=="&"&&f.dquote==0)s.length>0?(u+=l.functionCopy(s,a,t)+"&",s=""):u+="&";else if(m in l.operatorjson&&f.dquote==0){let g="";o+1<n.length&&(g=n[o+1]);let y=o-1,v=null;if(y>=0)do v=n[y--];while(y>=0&&v==" ");m+g in l.operatorjson?(s.length>0?(u+=l.functionCopy(s,a,t)+m+g,s=""):u+=m+g,o++):!/[^0-9]/.test(g)&&m=="-"&&(v=="("||v==null||v==","||v==" "||v in l.operatorjson)?s+=m:s.length>0?(u+=l.functionCopy(s,a,t)+m,s=""):u+=m}else s+=m;o==n.length-1&&(l.iscelldata($.trim(s))?a=="down"?u+=l.downparam($.trim(s),t):a=="up"?u+=l.upparam($.trim(s),t):a=="left"?u+=l.leftparam($.trim(s),t):a=="right"&&(u+=l.rightparam($.trim(s),t)):u+=$.trim(s)),o++}return u},isfreezonFuc:function(e){let a=e.replace(/[^0-9]/g,""),t=e.replace(/[^A-Za-z]/g,""),l=e.substr(e.indexOf(a)-1,1),n=e.substr(e.indexOf(t)-1,1),o=[!1,!1];return l=="$"&&(o[0]=!0),n=="$"&&(o[1]=!0),o},setfreezonFuceExe:function(e){let a=parseInt(e.replace(/[^0-9]/g,"")),t=cr(e.replace(/[^A-Za-z]/g,"")),l="$",n="$";return!isNaN(a)&&!isNaN(t)?n+tt(t)+l+a:isNaN(a)?isNaN(t)?e:n+tt(t):l+a},setfreezonFuc:function(e){let a=this,t=a.getrangeseleciton();if(!a.iscelldata(t.text()))return;let l=t.text(),n=window.getSelection().anchorOffset,o=l.split("!"),s,u="";o.length>1?(s=o[1],u=o[0]+"!"):s=o[0];let d="",f="",m=s.indexOf(":");if(m==-1)d=u+a.setfreezonFuceExe(s),f=d.length;else if(s=s.split(":"),n>m){let g=u+s[0]+":"+a.setfreezonFuceExe(s[1]);d=g,f=g.length}else{let g=u+a.setfreezonFuceExe(s[0]);d=g+":"+s[1],f=g.length}t.text(u+d),a.setCaretPosition(t.get(0),0,f)},updateparam:function(e,a,t){let l=this,n=a.split("!"),o,s="";if(n.length>1?(o=n[1],s=n[0]+"!"):o=n[0],o.indexOf(":")==-1){let u=parseInt(o.replace(/[^0-9]/g,"")),d=cr(o.replace(/[^A-Za-z]/g,"")),f=l.isfreezonFuc(o),m=f[0]?"$":"",g=f[1]?"$":"";return e=="u"&&!f[0]?u-=t:e=="r"&&!f[1]?d+=t:e=="l"&&!f[1]?d-=t:e=="d"&&!f[0]&&(u+=t),u[0]<0||d[0]<0?l.error.r:!isNaN(u)&&!isNaN(d)?s+g+tt(d)+m+u:isNaN(u)?isNaN(d)?a:s+g+tt(d):s+m+u}else{o=o.split(":");let u=[],d=[];if(u[0]=parseInt(o[0].replace(/[^0-9]/g,"")),u[1]=parseInt(o[1].replace(/[^0-9]/g,"")),u[0]>u[1]||(d[0]=cr(o[0].replace(/[^A-Za-z]/g,"")),d[1]=cr(o[1].replace(/[^A-Za-z]/g,"")),d[0]>d[1]))return a;let f=l.isfreezonFuc(o[0]),m=l.isfreezonFuc(o[1]),g=f[0]?"$":"",y=f[1]?"$":"",v=m[0]?"$":"",b=m[1]?"$":"";return e=="u"?(f[0]||(u[0]-=t),m[0]||(u[1]-=t)):e=="r"?(f[1]||(d[0]+=t),m[1]||(d[1]+=t)):e=="l"?(f[1]||(d[0]-=t),m[1]||(d[1]-=t)):e=="d"&&(f[0]||(u[0]+=t),m[0]||(u[1]+=t)),u[0]<0||d[0]<0?l.error.r:isNaN(d[0])&&isNaN(d[1])?s+g+u[0]+":"+v+u[1]:isNaN(u[0])&&isNaN(u[1])?s+y+tt(d[0])+":"+b+tt(d[1]):s+y+tt(d[0])+g+u[0]+":"+b+tt(d[1])+v+u[1]}},downparam:function(e,a){return this.updateparam("d",e,a)},upparam:function(e,a){return this.updateparam("u",e,a)},leftparam:function(e,a){return this.updateparam("l",e,a)},rightparam:function(e,a){return this.updateparam("r",e,a)},functionStrChange:function(e,a,t,l,n,o){let s=this;if(s.operatorjson==null){let v=s.operator.split("|"),b={};for(let k=0;k<v.length;k++)b[v[k].toString()]=1;s.operatorjson=b}e.substr(0,1)=="="&&(e=e.substr(1));let u=e.split(""),d=0,f="",m="",g=!0,y={bracket:0,comma:0,squote:0,dquote:0};for(;d<u.length;){let v=u[d];if(v=="("&&y.dquote==0)y.bracket+=1,f.length>0?m+=f+"(":m+="(",f="";else if(v==")"&&y.dquote==0)y.bracket-=1,m+=s.functionStrChange(f,a,t,l,n,o)+")",f="";else if(v=='"'&&y.squote==0)y.dquote>0?(m+=f+'"',y.dquote-=1,f=""):(y.dquote+=1,f+='"');else if(v==","&&y.dquote==0)m+=s.functionStrChange(f,a,t,l,n,o)+",",f="";else if(v=="&"&&y.dquote==0)f.length>0?(m+=s.functionStrChange(f,a,t,l,n,o)+"&",f=""):m+="&";else if(v in s.operatorjson&&y.dquote==0){let b="";d+1<u.length&&(b=u[d+1]);let k=d-1,x=null;if(k>=0)do x=u[k--];while(k>=0&&x==" ");v+b in s.operatorjson?(f.length>0?(m+=s.functionStrChange(f,a,t,l,n,o)+v+b,f=""):m+=v+b,d++):!/[^0-9]/.test(b)&&v=="-"&&(x=="("||x==null||x==","||x==" "||x in s.operatorjson)?f+=v:f.length>0?(m+=s.functionStrChange(f,a,t,l,n,o)+v,f=""):m+=v}else f+=v;d==u.length-1&&(s.iscelldata($.trim(f))?m+=s.functionStrChange_range($.trim(f),a,t,l,n,o):m+=$.trim(f)),d++}return m},functionStrChange_range:function(e,a,t,l,n,o){let s=this,u=e.split("!"),d,f="";u.length>1?(d=u[1],f=u[0]+"!"):d=u[0];let m,g,y,v,b,k,x,w;if(d.indexOf(":")==-1){m=g=parseInt(d.replace(/[^0-9]/g,""))-1,y=v=cr(d.replace(/[^A-Za-z]/g,""));let _=s.isfreezonFuc(d);b=k=_[0]?"$":"",x=w=_[1]?"$":""}else{if(d=d.split(":"),m=parseInt(d[0].replace(/[^0-9]/g,""))-1,g=parseInt(d[1].replace(/[^0-9]/g,""))-1,m>g||(y=cr(d[0].replace(/[^A-Za-z]/g,"")),v=cr(d[1].replace(/[^A-Za-z]/g,"")),y>v))return e;let _=s.isfreezonFuc(d[0]);b=_[0]?"$":"",x=_[1]?"$":"";let S=s.isfreezonFuc(d[1]);k=S[0]?"$":"",w=S[1]?"$":""}if(a=="del"){if(t=="row"){if(m>=n&&g<=n+o-1)return s.error.r;m>n+o-1?m-=o:m>=n&&(m=n),g>n+o-1?g-=o:g>=n&&(g=n-1),m<0&&(m=0),g<m&&(g=m)}else if(t=="col"){if(y>=n&&v<=n+o-1)return s.error.r;y>n+o-1?y-=o:y>=n&&(y=n),v>n+o-1?v-=o:v>=n&&(v=n-1),y<0&&(y=0),v<y&&(v=y)}return m==g&&y==v?!isNaN(m)&&!isNaN(y)?f+x+tt(y)+b+(m+1):isNaN(m)?isNaN(y)?e:f+x+tt(y):f+b+(m+1):isNaN(y)&&isNaN(v)?f+b+(m+1)+":"+k+(g+1):isNaN(m)&&isNaN(g)?f+x+tt(y)+":"+w+tt(v):f+x+tt(y)+b+(m+1)+":"+w+tt(v)+k+(g+1)}else if(a=="add")return t=="row"?l=="lefttop"?(m>=n&&(m+=o),g>=n&&(g+=o)):l=="rightbottom"&&(m>n&&(m+=o),g>n&&(g+=o)):t=="col"&&(l=="lefttop"?(y>=n&&(y+=o),v>=n&&(v+=o)):l=="rightbottom"&&(y>n&&(y+=o),v>n&&(v+=o))),m==g&&y==v?!isNaN(m)&&!isNaN(y)?f+x+tt(y)+b+(m+1):isNaN(m)?isNaN(y)?e:f+x+tt(y):f+b+(m+1):isNaN(y)&&isNaN(v)?f+b+(m+1)+":"+k+(g+1):isNaN(m)&&isNaN(g)?f+x+tt(y)+":"+w+tt(v):f+x+tt(y)+b+(m+1)+":"+w+tt(v)+k+(g+1)},israngeseleciton:function(e){let a=this;if(a.operatorjson==null){let o=a.operator.split("|"),s={};for(let u=0;u<o.length;u++)s[o[u].toString()]=1;a.operatorjson=s}e==null&&(e=!1);let t=window.getSelection(),l=$(t.anchorNode),n=t.anchorOffset;if(l.parent().is("span")&&n!=0){let o=$.trim(l.text()),s="";if(o.length==0&&l.parent().prev().length>0){let u=l.parent().prev();o=$.trim(u.text()),s=o.substr(o.length-1,1),a.rangeSetValueTo=u}else s=o.substr(n-1,1),a.rangeSetValueTo=l.parent();if(e&&(s=="("||s==",")||!e&&(s=="("||s==","||s=="="||s in a.operatorjson||s=="&"))return!0}else if(l.is("#luckysheet-rich-text-editor")||l.is("#luckysheet-functionbox-cell")){let o=$.trim(l.find("span").last().text()),s;if(a.rangeSetValueTo=l.find("span").last(),o.length==0&&l.find("span").length>1){let u=l.find("span");o=$.trim(u.eq(u.length-2).text()),a.rangeSetValueTo=u}if(s=o.substr(o.length-1,1),e&&(s=="("||s==",")||!e&&(s=="("||s==","||s=="="||s in a.operatorjson||s=="&"))return!0}else if((l.parent().is("#luckysheet-rich-text-editor")||l.parent().is("#luckysheet-functionbox-cell")||n==0)&&(n==0&&(l=l.parent()),l.prev().length>0)){let o=$.trim(l.prev().text()),s=o.substr(o.length-1,1);if(a.rangeSetValueTo=l.prev(),e&&(s=="("||s==",")||!e&&(s=="("||s==","||s=="="||s in a.operatorjson||s=="&"))return!0}return!1},rangechangeindex:null,rangestart:!1,rangetosheet:null,rangeSetValueTo:null,func_selectedrange:{},rangeSetValue:function(e,a){let t=this,l="",n=e.row[0],o=e.column[0];h.config.merge!=null&&n+"_"+o in h.config.merge?l=kt(h.currentSheetIndex,{column:[o,o],row:[n,n]},t.rangetosheet):l=kt(h.currentSheetIndex,e,t.rangetosheet);let s;if(t.rangestart||t.rangedrag_column_start||t.rangedrag_row_start)if($("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible")){s=$("#luckysheet-rich-text-editor"),$("#luckysheet-search-formula-parm-select-input").val(l),$("#luckysheet-search-formula-parm .parmBox").eq(t.data_parm_index).find(".txt input").val(l);let u=rl(l).data;if(u instanceof Array){let v=[];for(let b=0;b<u.length;b++)for(let k=0;k<u[b].length;k++)u[b][k]==null?v.push(null):v.push(u[b][k].v);$("#luckysheet-search-formula-parm .parmBox").eq(t.data_parm_index).find(".val").text(" = {"+v.join(",")+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(t.data_parm_index).find(".val").text(" = {"+u.v+"}");let d=!0,f=[],m=-1;$("#luckysheet-search-formula-parm .parmBox").each(function(v,b){let k=$(b).find(".txt input").val();k==""&&$(b).find(".txt input").attr("data_parm_require")=="m"&&(d=!1),k!=""&&(m=v)});let g;if(m==-1)g="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"()";else if(m==0)g="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+$("#luckysheet-search-formula-parm .parmBox").eq(0).find(".txt input").val()+")";else{for(let v=0;v<=m;v++)f.push($("#luckysheet-search-formula-parm .parmBox").eq(v).find(".txt input").val());g="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+f.join(",")+")"}let y=t.functionHTMLGenerate(g);if($("#luckysheet-rich-text-editor").html(y),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),d){let v=$.trim(t.functionParserExe($("#luckysheet-rich-text-editor").text())),b=new Function("return "+v)();$("#luckysheet-search-formula-parm .result span").text(b)}}else{let d=window.getSelection().anchorNode;s=$(d).closest("div");let f=s.find("span[rangeindex='"+t.rangechangeindex+"']").html(l);t.setCaretPosition(f.get(0),0,l.length)}else{let u='<span class="luckysheet-formula-functionrange-cell" rangeindex="'+t.functionHTMLIndex+'" dir="auto" style="color:'+Vr[t.functionHTMLIndex]+';">'+l+"</span>",d=$(u).insertAfter(t.rangeSetValueTo);t.rangechangeindex=t.functionHTMLIndex,s=$(t.rangeSetValueTo).closest("div"),t.setCaretPosition(s.find("span[rangeindex='"+t.rangechangeindex+"']").get(0),0,l.length),t.functionHTMLIndex++}s.attr("id")=="luckysheet-rich-text-editor"?$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()):$("#luckysheet-rich-text-editor").html($("#luckysheet-functionbox-cell").html())},rangedrag:function(e){let a=this,t=at(e.pageX,e.pageY),l=t[0]+$("#luckysheet-cell-main").scrollLeft(),n=t[1]+$("#luckysheet-cell-main").scrollTop(),o=xt(n),s=o[1],u=o[0],d=o[2],f=vt(l),m=f[1],g=f[0],y=f[2],v=0,b=0,k=[];a.func_selectedrange.top>u?(v=u,b=a.func_selectedrange.top+a.func_selectedrange.height-u,k=[d,a.func_selectedrange.row[1]]):a.func_selectedrange.top==u?(v=u,b=a.func_selectedrange.top+a.func_selectedrange.height-u,k=[d,a.func_selectedrange.row[0]]):(v=a.func_selectedrange.top,b=s-a.func_selectedrange.top-1,k=[a.func_selectedrange.row[0],d]);let x=0,w=0,_=[];a.func_selectedrange.left>g?(x=g,w=a.func_selectedrange.left+a.func_selectedrange.width-g,_=[y,a.func_selectedrange.column[1]]):a.func_selectedrange.left==g?(x=g,w=a.func_selectedrange.left+a.func_selectedrange.width-g,_=[y,a.func_selectedrange.column[0]]):(x=a.func_selectedrange.left,w=m-a.func_selectedrange.left-1,_=[a.func_selectedrange.column[0],y]),k[0]=W.changeFreezenIndex(k[0],"h"),k[1]=W.changeFreezenIndex(k[1],"h"),_[0]=W.changeFreezenIndex(_[0],"v"),_[1]=W.changeFreezenIndex(_[1],"v");let S=be.mergeMoveMain(_,k,a.func_selectedrange,v,b,x,w);if(S!=null&&(_=S[0],k=S[1],v=S[2],b=S[3],x=S[4],w=S[5]),a.func_selectedrange.row=k,a.func_selectedrange.column=_,a.func_selectedrange.left_move=x,a.func_selectedrange.width_move=w,a.func_selectedrange.top_move=v,a.func_selectedrange.height_move=b,ll(x,v,w,b,k,_),$("#luckysheet-formula-functionrange-select").css({left:x,width:w,top:v,height:b}).show(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let C=kt(h.currentSheetIndex,{row:k,column:_},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(C)}else a.rangeSetValue({row:k,column:_});W.scrollFreezen(k,_)},rangedrag_column_start:!1,rangedrag_row_start:!1,rangedrag_column:function(e){let a=this,t=at(e.pageX,e.pageY),l=t[0]+$("#luckysheet-cell-main").scrollLeft(),n=t[1]+$("#luckysheet-cell-main").scrollTop(),o=h.visibledatarow,s=o.length-1,u=o[s],d=0,f=vt(l),m=f[1],g=f[0],y=f[2],v=0,b=0,k=[];a.func_selectedrange.left>g?(v=g,b=a.func_selectedrange.left+a.func_selectedrange.width-g,k=[y,a.func_selectedrange.column[1]]):a.func_selectedrange.left==g?(v=g,b=a.func_selectedrange.left+a.func_selectedrange.width-g,k=[y,a.func_selectedrange.column[0]]):(v=a.func_selectedrange.left,b=m-a.func_selectedrange.left-1,k=[a.func_selectedrange.column[0],y]),k[0]=W.changeFreezenIndex(k[0],"v"),k[1]=W.changeFreezenIndex(k[1],"v");let x=be.mergeMoveMain(k,[0,s],a.func_selectedrange,d,u-d-1,v,b);x!=null&&(k=x[0],v=x[4],b=x[5]),a.func_selectedrange.column=k,a.func_selectedrange.left_move=v,a.func_selectedrange.width_move=b,ll(v,d,b,u-d-1,[0,s],k),a.rangeSetValue({row:[null,null],column:k}),$("#luckysheet-formula-functionrange-select").css({left:v,width:b,top:d,height:u-d-1}).show(),W.scrollFreezen([0,s],k)},rangedrag_row:function(e){let a=this,t=at(e.pageX,e.pageY),l=t[0]+$("#luckysheet-cell-main").scrollLeft(),n=t[1]+$("#luckysheet-cell-main").scrollTop(),o=xt(n),s=o[1],u=o[0],d=o[2],f=h.visibledatacolumn,m=f.length-1,g=f[m],y=0,v=0,b=0,k=[];a.func_selectedrange.top>u?(v=u,b=a.func_selectedrange.top+a.func_selectedrange.height-u,k=[d,a.func_selectedrange.row[1]]):a.func_selectedrange.top==u?(v=u,b=a.func_selectedrange.top+a.func_selectedrange.height-u,k=[d,a.func_selectedrange.row[0]]):(v=a.func_selectedrange.top,b=s-a.func_selectedrange.top-1,k=[a.func_selectedrange.row[0],d]),k[0]=W.changeFreezenIndex(k[0],"h"),k[1]=W.changeFreezenIndex(k[1],"h");let x=be.mergeMoveMain([0,m],k,a.func_selectedrange,v,b,y,g-y-1);x!=null&&(k=x[1],v=x[2],b=x[3]),a.func_selectedrange.row=k,a.func_selectedrange.top_move=v,a.func_selectedrange.height_move=b,ll(y,v,g-y-1,b,k,[0,m]),a.rangeSetValue({row:k,column:[null,null]}),$("#luckysheet-formula-functionrange-select").css({left:y,width:g-y-1,top:v,height:b}).show(),W.scrollFreezen(k,[0,m])},rangedragged:function(){},rangeResizeObj:null,rangeResize:null,rangeResizeIndex:null,rangeResizexy:null,rangeResizeWinH:null,rangeResizeWinW:null,rangeResizeTo:null,rangeResizeDraging:function(e,a,t,l,n,o,s,u){let d=this,f=$("#luckysheet-scrollbar-y").scrollTop(),m=$("#luckysheet-scrollbar-x").scrollLeft(),g=at(e.pageX,e.pageY),y=g[0]+m,v=g[1]+f,b=xt(v),k=b[1],x=b[0],w=b[2],_=vt(y),S=_[1],C=_[0],T=_[2];if(y<0||v<0)return!1;let R=x-t[1],I=C-t[0],A=t[5],E=t[3],N=t[4],D=t[2];if(l=="lt"||l=="lb"){if(t[0]+t[2]<C)return;N=C,D=t[2]-I,N>t[2]+t[4]-S+C?(N=t[2]+t[4]-S+C,D=t[2]-(t[2]+t[4]-S+C-t[0])):N<=0&&(N=0,D=t[2]+t[0])}if(l=="rt"||l=="rb"){if(t[6]-t[2]>S)return;D=t[2]+S-t[6],D<S-C-1?D=S-C-1:D>=s-N&&(D=s-N)}if(l=="lt"||l=="rt"){if(t[1]+t[3]<x)return;A=x,E=t[3]-R,A>t[3]+t[5]-k+x?(A=t[3]+t[5]-k+x,E=t[3]-(t[3]+t[5]-k+x-t[1])):A<=0&&(A=0,E=t[3]+t[1])}if(l=="lb"||l=="rb"){if(t[7]-t[3]>k)return;E=t[3]+k-t[7],E<k-x-1?E=k-x-1:E>=u-A&&(E=u-A)}let F=d.rangeResizeIndex,M={top:A,left:N,height:E,width:D},z=d.getSelectedFromRange(M),O=kt(h.currentSheetIndex,z,d.rangetosheet),H=d.rangeResizeTo.find("span[rangeindex='"+F+"']").html(O);bl(d.rangeResizeTo[0]),a.css(M).data("range",z)},getSelectedFromRange:function(e){let a=e.top+2,t=e.top+e.height-2,l=e.left+2,n=e.left+e.width-2;return{row:[xt(a)[2],xt(t)[2]],column:[vt(l)[2],vt(n)[2]]}},rangeResizeDragged:function(e,a,t,l,n,o){let s=this;s.rangeResize=null,$("#luckysheet-formula-functionrange-highlight-"+s.rangeResizeIndex).find(".luckysheet-selection-copy-hc").css("opacity",.03)},rangeMovexy:null,rangeMove:!1,rangeMoveObj:null,rangeMoveIndex:null,rangeMoveRangedata:null,rangeMoveDraging:function(e,a,t,l,n,o){let s=this,u=at(e.pageX,e.pageY),d=$("#luckysheet-scrollbar-x").scrollLeft(),f=$("#luckysheet-scrollbar-y").scrollTop(),m=u[0]+d,g=u[1]+f,y=$(window).height()+f-n-o,v=$(window).width()+d,b=a[0],k=a[1],x=t.row[0]-b+xt(g)[2],w=t.row[1]-b+xt(g)[2],_=t.column[0]-k+vt(m)[2],S=t.column[1]-k+vt(m)[2];(x<0||g<0)&&(x=0,w=t.row[1]-t.row[0]),(_<0||m<0)&&(_=0,S=t.column[1]-t.column[0]);let C=h.visibledatarow;(w>=C[C.length-1]||g>y)&&(x=C.length-1-t.row[1]+t.row[0],w=C.length-1);let T=h.visibledatacolumn;(S>=T[T.length-1]||m>v)&&(_=T.length-1-t.column[1]+t.column[0],S=T.length-1);let R=_-1==-1?0:T[_-1],I=T[S],A=x-1==-1?0:C[x-1],E=C[w],N=s.rangeMoveIndex,D={left:R,width:I-R-2,top:A,height:E-A-2,display:"block"},F=s.getSelectedFromRange(D),M=kt(h.currentSheetIndex,F,s.rangetosheet),z=s.rangeResizeTo.find("span[rangeindex='"+N+"']").html(M);bl(s.rangeResizeTo[0]),s.rangeMoveRangedata=F,l.css(D)},rangeMoveDragged:function(e){let a=this;a.rangeMove=!1,$("#luckysheet-formula-functionrange-highlight-"+a.rangeMoveIndex).data("range",a.rangeMoveRangedata).find(".luckysheet-selection-copy-hc").css("opacity",.03)},functionHTMLIndex:0,functionRangeIndex:null,findrangeindex:function(e,a){let t=this,l=/<span.*?>/g,n=e.replace(l,""),o=a.replace(l,"");n=n.split("</span>"),o=o.split("</span>"),n.pop(),o.pop();let s=t.functionRangeIndex,u=0,d=o.length>n.length?n.length:o.length,f=o.length,m=n.length;if(f==m){let g=s[0],y=o[g],v=n[g];if(y==null)return o.length<=g?s=[o.length-1,o.length-1]:n.length<=g&&(s=[n.length-1,n.length-1]),s;if(y.length==v.length)return o[g+1]!=null&&n[g+1]!=null&&o[g+1].length<n[g+1].length&&(s[0]=s[0]+1,s[1]=1),s;if(y.length>v.length)return y!=null&&n[g+1]!=null&&n[g+1].substr(0,1)=='"'&&(y.indexOf("{")>-1||y.indexOf("}")>-1)&&(s[0]=s[0]+1,s[1]=1),s;if(y.length<v.length)return s[1]>v.length&&(s[1]=v.length),s}else if(f>m){let g=s[0],y=o[g],v=n[g];if(v==null)if(n[g-1].indexOf("{")>-1){s[0]=s[0]-1;let b=n[g-1].search("{");s[1]=s[1]+b}else s[0]=0,s[1]=0;else{if(y.length==v.length)return n[g+1]!=null&&(n[g+1].substr(0,1)=='"'||n[g+1].substr(0,1)=="{"||n[g+1].substr(0,1)=="}")?(s[0]=s[0]+1,s[1]=1):y!=null&&y.length>2&&y.substr(0,1)=='"'&&y.substr(y.length-1,1)=='"'||(n[g]!=null&&n[g]=='")'||n[g]!=null&&n[g]=='"}'||n[g]!=null&&n[g]=="{)"?s[1]=1:s[1]=v.length),s;if(y.length>v.length)return n[g+1]!=null&&(n[g+1].substr(0,1)=='"'||n[g+1].substr(0,1)=="{"||n[g+1].substr(0,1)=="}")&&(s[0]=s[0]+1,s[1]=1),s;if(y.length<v.length)return s}return s}else if(f<m){let g=s[0],y=o[g],v=n[g];if(y==null)s[0]=n.length-1,v!=null?s[1]=v.length:s[1]=1;else{if(y.length==v.length)return o[g+1]!=null&&(o[g+1].substr(0,1)=='"'||o[g+1].substr(0,1)=="{"||o[g+1].substr(0,1)=="}")?s[1]=v.length:n[g+1]!=null&&n[g+1].substr(0,1)=='"'&&(n[g+1].substr(0,1)=="{"||n[g+1].substr(0,1)=="}")?(s[0]=s[0]+1,s[1]=1):v!=null&&v.substr(0,1)=='"'&&v.substr(v.length-1,1)=='"'&&y.substr(0,1)=='"'&&y.substr(y.length-1,1)==")"||v!=null&&v.substr(0,1)=="{"&&v.substr(v.length-1,1)=="}"&&y.substr(0,1)=="{"&&y.substr(y.length-1,1)==")"?s[1]=v.length:(s[0]=s[0]+m-f,n.length>o.length?s[1]=n[g+1].length:s[1]=1),s;if(y.length>v.length)return y!=null&&y.substr(0,1)=='"'?s[1]=v.length:n[g+1]!=null&&/{.*?}/.test(n[g+1])?(s[0]=s[0]+1,s[1]=n[g+1].length):y!=null&&n[g+1].substr(0,1)=='"'&&(y.indexOf("{")>-1||y.indexOf("}")>-1)?(s[0]=s[0]+1,s[1]=1):y!=null&&(y.indexOf("{")>-1||y.indexOf("}")>-1)||(s[0]=s[0]+m-f-1,s[1]=n[g-1].length),s;if(y.length<v.length)return s}return s}return null},setCaretPosition:function(e,a,t){try{let l=e,n=document.createRange(),o=window.getSelection();n.setStart(l.childNodes[a],t),n.collapse(!0),o.removeAllRanges(),o.addRange(n),l.focus()}catch(l){bl(this.rangeResizeTo[0])}},functionRange:function(e,a,t){let l=this;if(window.getSelection){let n=window.getSelection(),o=l.findrangeindex(a,t);o==null?(n.selectAllChildren(e.get(0)),n.collapseToEnd()):l.setCaretPosition(e.find("span").get(o[0]),0,o[1])}else document.selection&&(l.functionRangeIndex.moveToElementText(e),l.functionRangeIndex.collapse(!1),l.functionRangeIndex.select())},functionInputHanddler:function(e,a,t){if(he())return;let l=this,n=e,o=a,s=o.html(),u=o.text(),d=this.xssDeal;setTimeout(function(){let f=o.text(),m=f;if(f=d(f),f.length>0&&f.substr(0,1)=="="&&(t!=229||f.length==1)){if(f=l.functionHTMLGenerate(f),s=l.functionHTMLGenerate(u),window.getSelection){let g=window.getSelection();if($(g.anchorNode).is("div")){let y=$("#luckysheet-rich-text-editor span").length;l.functionRangeIndex=[y-1,$("#luckysheet-rich-text-editor").find("span").eq(y-1).text().length]}else l.functionRangeIndex=[$(g.anchorNode).parent().index(),g.anchorOffset]}else{let g=document.selection.createRange();l.functionRangeIndex=g}o.html(f),l.functionRange(o,f,s),l.canceFunctionrangeSelected(),t!=46&&l.createRangeHightlight(),n.html(f),l.rangestart=!1,l.rangedrag_column_start=!1,l.rangedrag_row_start=!1,l.rangeHightlightselected(o,t)}else u.substr(0,1)!="="&&(n.attr("id")=="luckysheet-rich-text-editor"&&n.html().substr(0,5)=="<span"||n.html(f))},1)},functionHTMLGenerate:function(e){let a=this;return e.length==0||e.substr(0,1)!="="?e:(a.functionHTMLIndex=0,'<span dir="auto" class="luckysheet-formula-text-color">=</span>'+a.functionHTML(e))},functionHTML:function(e){let a=this;if(a.operatorjson==null){let d=a.operator.split("|"),f={};for(let m=0;m<d.length;m++)f[d[m].toString()]=1;a.operatorjson=f}e.substr(0,1)=="="&&(e=e.substr(1));let t=e.split(""),l=0,n="",o="",s=!0,u={bracket:0,comma:0,squote:0,dquote:0,braces:0};for(;l<t.length;){let d=t[l];if(d=="("&&u.squote==0&&u.dquote==0&&u.braces==0)u.bracket+=1,n.length>0?o+='<span dir="auto" class="luckysheet-formula-text-func">'+n+'</span><span dir="auto" class="luckysheet-formula-text-lpar">(</span>':o+='<span dir="auto" class="luckysheet-formula-text-lpar">(</span>',n="";else if(d==")"&&u.squote==0&&u.dquote==0&&u.braces==0)u.bracket-=1,o+=a.functionHTML(n)+'<span dir="auto" class="luckysheet-formula-text-rpar">)</span>',n="";else if(d=="{"&&u.squote==0&&u.dquote==0)n+="{",u.braces+=1;else if(d=="}"&&u.squote==0&&u.dquote==0)n+="}",u.braces-=1;else if(d=='"'&&u.squote==0)u.dquote>0?(n.length>0?o+=n+'"</span>':o+='"</span>',u.dquote-=1,n=""):(u.dquote+=1,n.length>0?o+=a.functionHTML(n)+'<span dir="auto" class="luckysheet-formula-text-string">"':o+='<span dir="auto" class="luckysheet-formula-text-string">"',n="");else if(d=="'"&&u.dquote==0)n+="'",u.squote=u.squote==0?1:0;else if(d==","&&u.squote==0&&u.dquote==0&&u.braces==0)o+=a.functionHTML(n)+'<span dir="auto" class="luckysheet-formula-text-comma">,</span>',n="";else if(d=="&"&&u.squote==0&&u.dquote==0&&u.braces==0)n.length>0?(o+=a.functionHTML(n)+'<span dir="auto" class="luckysheet-formula-text-calc">&</span>',n=""):o+='<span dir="auto" class="luckysheet-formula-text-calc">&</span>';else if(d in a.operatorjson&&u.squote==0&&u.dquote==0&&u.braces==0){let f="";l+1<t.length&&(f=t[l+1]);let m=l-1,g=null;if(m>=0)do g=t[m--];while(m>=0&&g==" ");d+f in a.operatorjson?(n.length>0?(o+=a.functionHTML(n)+'<span dir="auto" class="luckysheet-formula-text-calc">'+d+f+"</span>",n=""):o+='<span dir="auto" class="luckysheet-formula-text-calc">'+d+f+"</span>",l++):!/[^0-9]/.test(f)&&d=="-"&&(g=="("||g==null||g==","||g==" "||g in a.operatorjson)?n+=d:n.length>0?(o+=a.functionHTML(n)+'<span dir="auto" class="luckysheet-formula-text-calc">'+d+"</span>",n=""):o+='<span dir="auto" class="luckysheet-formula-text-calc">'+d+"</span>"}else n+=d;if(l==t.length-1){if(a.iscelldata($.trim(n)))o+='<span class="luckysheet-formula-functionrange-cell" rangeindex="'+a.functionHTMLIndex+'" dir="auto" style="color:'+Vr[a.functionHTMLIndex]+';">'+n+"</span>",a.functionHTMLIndex++;else if(u.dquote>0)o+=n+"</span>";else if(n.indexOf("</span>")==-1&&n.length>0){let f=/{.*?}/;if(f.test($.trim(n))){let m=f.exec(n)[0],g=n.search(f),y="";g>0&&(y+='<span dir="auto" class="luckysheet-formula-text-color">'+n.substr(0,g)+"</span>"),y+='<span dir="auto" style="color:#959a05" class="luckysheet-formula-text-array">'+m+"</span>",g+m.length<n.length&&(y+='<span dir="auto" class="luckysheet-formula-text-color">'+n.substr(g+m.length,n.length)+"</span>"),o+=y}else o+='<span dir="auto" class="luckysheet-formula-text-color">'+n+"</span>"}}l++}return o},getfunctionParam:function(e){let a=this;if(a.operatorjson==null){let m=a.operator.split("|"),g={};for(let y=0;y<m.length;y++)g[m[y].toString()]=1;a.operatorjson=g}e.substr(0,1)=="="&&(e=e.substr(1));let t=e.split(""),l=0,n="",o="",s={bracket:0,comma:0,squote:0,dquote:0,compare:0},u=null,d=[],f=[];for(;l<t.length;){let m=t[l];if(m=="("&&s.dquote==0)n.length>0&&f.length==0?(u=n.toUpperCase(),f.push(1),n=""):f.length==0?(f.push(0),n=""):(f.push(0),n+=m);else if(m==")"&&s.dquote==0){let g=f.pop();f.length==0?(d.push(n),n=""):n+=m}else if(m=='"')n+='"',s.dquote>0?(s.dquote-=1,n=""):s.dquote+=1;else if(m==","&&s.dquote==0)f.length<=1?(d.push(n),n=""):n+=",";else if(m in a.operatorjson&&s.dquote==0){let g="";l+1<t.length&&(g=t[l+1]);let y=l-1,v=null;if(y>=0)do v=t[y--];while(y>=0&&v==" ");!/[^0-9]/.test(g)&&m=="-"&&(v=="("||v==null||v==","||v==" "||v in a.operatorjson)?s.dquote==0?n+=$.trim(m):n+=m:(o="",n="")}else s.dquote==0?n+=$.trim(m):n+=m;l++}return{fn:u,param:d}},calPostfixExpression:function(e){if(e.length==0)return"";let a=[];for(let t=e.length-1;t>=0;t--){let l=e[t];if(l in this.operatorjson){let n=a.pop(),o=a.pop(),s="luckysheet_compareWith("+o+",'"+l+"', "+n+")";a.push(s)}else a.push(l)}return a.length>0?a[0]:""},checkBracketNum:function(e){let a=e.match(/\(/g),t=e.match(/\)/g),l=e.match(/(['"])(?:(?!\1).)*?\1/g),n=e.match(/(['"])(?:(?!\1).)*?\1/g),o=0,s=0;a!=null&&(o+=a.length),t!=null&&(s+=t.length);let u=0,d=0;if(l!=null)for(let f=0;f<l.length;f++){let m=l[f].match(/\(/g);m!=null&&(u+=m.length)}if(n!=null)for(let f=0;f<n.length;f++){let m=n[f].match(/\)/g);m!=null&&(d+=m.length)}return o-=u,s-=d,o==s},operatorPriority:{"^":0,"%":1,"*":1,"/":1,"+":2,"-":2},functionParserExe:function(e){let a=this;return this.functionParser(e)},functionParser:function(e,a){let t=this;if(t.operatorjson==null){let y=t.operator.split("|"),v={};for(let b=0;b<y.length;b++)v[y[b].toString()]=1;t.operatorjson=v}if(e==null)return"";e.substr(0,2)=="=+"?e=e.substr(2):e.substr(0,1)=="="&&(e=e.substr(1));let l=e.split(""),n=0,o="",s="",u={bracket:0,comma:0,squote:0,dquote:0,compare:0,braces:0},d=[],f=[],m=[],g=-1;for(;n<l.length;){let y=l[n];if(y=="("&&u.squote==0&&u.dquote==0&&u.braces==0)if(o.length>0&&m.length==0){if(o=o.toUpperCase(),o.indexOf(":")>-1){let v=o.split(":");s+="luckysheet_getSpecialReference(true,'"+$.trim(v[0]).replace(/'/g,"\\'")+"', luckysheet_function."+v[1]+".f(#lucky#"}else s+="luckysheet_function."+o+".f(";m.push(1),o=""}else m.length==0?(s+="(",m.push(0),o=""):(m.push(0),o+=y);else if(y==")"&&u.squote==0&&u.dquote==0&&u.braces==0){let v=m.pop();if(m.length==0){let b=t.functionParser(o,a);b.indexOf("#lucky#")>-1&&(b=b.replace(/#lucky#/g,"")+")"),s+=b+")",o=""}else o+=y}else if(y=="{"&&u.squote==0&&u.dquote==0)o+="{",u.braces+=1;else if(y=="}"&&u.squote==0&&u.dquote==0)o+="}",u.braces-=1;else if(y=='"'&&u.squote==0)u.dquote>0?n<l.length-1&&l[n+1]=='"'?(n++,o+="\x7F"):(u.dquote-=1,o+='"'):(u.dquote+=1,o+='"');else if(y=="'"&&u.dquote==0)if(o+="'",u.squote>0){if(g==n-1)return"";if(n<l.length-1&&l[n+1]=="'")n++,o+="'";else{if(l[n-1]=="'")return"";u.squote-=1}}else u.squote+=1,g=n;else if(y==","&&u.squote==0&&u.dquote==0&&u.braces==0)if(m.length<=1){let v=t.functionParser(o,a);v.indexOf("#lucky#")>-1&&(v=v.replace(/#lucky#/g,"")+")"),s+=v+",",o=""}else o+=",";else if(y in t.operatorjson&&u.squote==0&&u.dquote==0&&u.braces==0){let v="",b=t.operatorPriority;if(n+1<l.length&&(v=l[n+1]),y+v in t.operatorjson){if(m.length==0){if($.trim(o).length>0?f.unshift(t.functionParser($.trim(o),a)):$.trim(s).length>0&&f.unshift($.trim(s)),d[0]in t.operatorjson){let k=b[d[0]];for(;d.length>0&&k!=null;)f.unshift(d.shift()),k=b[d[0]]}d.unshift(y+v),s="",o=""}else o+=y+v;n++}else if(m.length==0){if($.trim(o).length>0?f.unshift(t.functionParser($.trim(o),a)):$.trim(s).length>0&&f.unshift($.trim(s)),d[0]in t.operatorjson){let k=b[d[0]];k=k==null?1e3:k;let x=b[y];for(x=x==null?1e3:x;d.length>0&&x>=k;)f.unshift(d.shift()),k=b[d[0]],k=k==null?1e3:k}d.unshift(y),s="",o=""}else o+=y}else u.dquote==0&&u.squote==0,o+=y;if(n==l.length-1){let v="",b=$.trim(o).replace(/'/g,"\\'");if(t.iscelldata(b)&&b.substr(0,1)!=":")v="luckysheet_getcelldata('"+b+"')",typeof a=="function"&&a(b);else if(b.substr(0,1)==":")b=b.substr(1),t.iscelldata(b)&&(v="luckysheet_getSpecialReference(false,"+s+",'"+b+"')");else{o=$.trim(o);let k=/{.*?}/;if(k.test(o)&&o.substr(0,1)!='"'&&o.substr(o.length-1,1)!='"'){let x=k.exec(o)[0],w=o.search(k),_="";w>0&&(v+=o.substr(0,w)),v+="luckysheet_getarraydata('"+x+"')",w+x.length<o.length&&(v+=o.substr(w+x.length,o.length))}else v=o}if(v.length>0&&f.unshift(v),d.length>0)for(s.length>0&&(f.unshift(s),s="");d.length>0;)f.unshift(d.shift());f.length>0?s=t.calPostfixExpression(f):s+=v}n++}return s},insertUpdateDynamicArray:function(e){let a=e.r,t=e.c,l=e.index;l==null&&(l=h.currentSheetIndex);let s=It()[Z(l)].dynamicArray;s==null&&(s=[]);for(let u=0;u<s.length;u++){let d=s[u];if(d.r==a&&d.c==t&&d.index==l)return d.data=e.data,d.f=e.f,s}return s.push(e),s},addFunctionGroup:function(e,a,t,l){l==null&&(l=h.currentSheetIndex);let n=It(),o=n[Z(l)];o.calcChain==null&&(o.calcChain=[]);let s={r:e,c:a,index:l,func:t};o.calcChain.push(s),re.saveParam("fc",l,JSON.stringify(s),{op:"add",pos:o.calcChain.length-1}),Va(n)},getAllFunctionGroup:function(){let e=It(),a=[];for(let t=0;t<e.length;t++){let l=e[t],n=l.calcChain;if(n){let s=[];n.forEach((u,d)=>{typeof u=="string"?s.push(JSON.parse(u)):s.push(u)}),n=l.calcChain=s}let o=l.dynamicArray_compute;n==null&&(n=[]),o==null&&(o=[]),a=a.concat(n);for(let s=0;s<o.length;s++){let u=o[0];a.push({r:u.r,c:u.c,index:u.index})}}return a},getFunctionGroup:function(e){e==null&&(e=h.currentSheetIndex);let t=It()[Z(e)];return t.calcChain==null?[]:t.calcChain},updateFunctionGroup:function(e,a,t){t==null&&(t=h.currentSheetIndex);let l=It(),o=l[Z(t)].calcChain;if(o!=null)for(let s=0;s<o.length;s++){let u=o[s];if(u.r==e&&u.c==a&&u.index==t){re.saveParam("fc",t,JSON.stringify(u),{op:"update",pos:s});break}}Va(l)},insertUpdateFunctionGroup:function(e,a,t){t==null&&(t=h.currentSheetIndex);let l=It(),n=l[Z(t)],o=n.calcChain;o==null&&(o=[]);for(let u=0;u<o.length;u++){let d=o[u];if(d.r==e&&d.c==a&&d.index==t){re.saveParam("fc",t,JSON.stringify(d),{op:"update",pos:u});return}}let s={r:e,c:a,index:t};o.push(s),n.calcChain=o,re.saveParam("fc",t,JSON.stringify(s),{op:"add",pos:n.calcChain.length-1}),Va(l)},isFunctionRangeSave:!1,isFunctionRangeSimple:function(e,a,t,l,n){if(e==null||e.length==0)return;let o=e.split(/==|!=|<>|<=|>=|[,()=+-\/*%&^><]/g);if(o.length>0)for(let s=0;s<o.length;s++){let u=o[s];u.length<=1||u.substr(0,1)=='"'&&u.substr(u.length-1,1)=='"'||this.isFunctionRangeSaveChange(u,a,t,l,n)}},isFunctionRangeSimple1:function(e,a,t,l,n){let o=this;if(o.operatorjson==null){let v=o.operator.split("|"),b={};for(let k=0;k<v.length;k++)b[v[k].toString()]=1;o.operatorjson=b}e.substr(0,1)=="="&&(e=e.substr(1));let s=e.split(""),u=0,d="",f="",m=!0,g={bracket:0,comma:0,squote:0,dquote:0},y=It();for(;u<s.length;){let v=s[u];if(v=="("&&g.dquote==0)g.bracket+=1,d.length>0?f+="luckysheet_function."+d.toUpperCase()+".f(":f+="(",d="";else if(v==")"&&g.dquote==0)g.bracket-=1,f+=o.isFunctionRangeSimple(d,a,t,l,n)+")",d="";else if(v==","&&g.dquote==0)f+=o.isFunctionRangeSimple(d,a,t,l,n)+",",d="";else if(v in o.operatorjson&&g.dquote==0){let b="";u+1<s.length&&(b=s[u+1]),v+b in o.operatorjson?(d.length>0?(f+=o.isFunctionRangeSimple(d,a,t,l,n)+v+b,d=""):f+=v+b,u++):d.length>0?(f+=o.isFunctionRangeSimple(d,a,t,l,n)+v,d=""):f+=v}else d+=v;u==s.length-1&&o.iscelldata($.trim(d))&&o.isFunctionRangeSaveChange(d,a,t,l,n),u++}return f},isFunctionRangeSelect:function(e,a,t,l,n){if(e==null||e=="")return;l==null&&(l=h.currentSheetIndex),n==null&&(n={});let o=this,s=e.toUpperCase(),u=s.indexOf("INDIRECT(")>-1||s.indexOf("OFFSET(")>-1||s.indexOf("INDEX(")>-1;if(e in this.formulaContainCellList){let d=this.formulaContainCellList[e];if(u)if(d.__LuckyisOff__==!0)for(let m in d)m!="__LuckyisOff__"&&this.isFunctionRangeSaveChange(m,a,t,l,n);else this.isFunctionRange(e,a,t,l,n,function(m){o.addToCellList(e,m)}),d.__LuckyisOff__=!0;else for(let f in d)f!="__LuckyisOff__"&&this.isFunctionRangeSaveChange(f,a,t,l,n);return}u?this.isFunctionRange(e,a,t,l,n):this.isFunctionRangeSimple(e,a,t,l,n)},isFunctionRange:function(e,a,t,l,n,o){let s=this;if(s.operatorjson==null){let w=s.operator.split("|"),_={};for(let S=0;S<w.length;S++)_[w[S].toString()]=1;s.operatorjson=_}e.substr(0,1)=="="&&(e=e.substr(1));let u=e.split(""),d=0,f="",m="",g=!0,y={bracket:0,comma:0,squote:0,dquote:0,compare:0,braces:0},v=[],b=[],k=[],x=-1;for(;d<u.length;){let w=u[d];if(w=="("&&y.squote==0&&y.dquote==0&&y.braces==0)if(f.length>0&&k.length==0){if(f=f.toUpperCase(),f.indexOf(":")>-1){let _=f.split(":");m+="luckysheet_getSpecialReference(true,'"+$.trim(_[0]).replace(/'/g,"\\'")+"', luckysheet_function."+_[1]+".f(#lucky#"}else m+="luckysheet_function."+f+".f(";k.push(1),f=""}else k.length==0?(m+="(",k.push(0),f=""):(k.push(0),f+=w);else if(w==")"&&y.squote==0&&y.dquote==0&&y.braces==0){let _=k.pop();if(k.length==0){let S=s.isFunctionRange(f,a,t,l,n,o);S.indexOf("#lucky#")>-1&&(S=S.replace(/#lucky#/g,"")+")"),m+=S+")",f=""}else f+=w}else if(w=="{"&&y.squote==0&&y.dquote==0)f+="{",y.braces+=1;else if(w=="}"&&y.squote==0&&y.dquote==0)f+="}",y.braces-=1;else if(w=='"'&&y.squote==0)y.dquote>0?d<u.length-1&&u[d+1]=='"'?(d++,f+="\x7F"):(y.dquote-=1,f+='"'):(y.dquote+=1,f+='"');else if(w=="'"&&y.dquote==0)f+="'",y.squote>0?d<u.length-1&&u[d+1]=="'"?(d++,f+="'"):y.squote-=1:(y.squote+=1,x=d);else if(w==","&&y.squote==0&&y.dquote==0&&y.braces==0)if(k.length<=1){let _=s.isFunctionRange(f,a,t,l,n,o);_.indexOf("#lucky#")>-1&&(_=_.replace(/#lucky#/g,"")+")"),m+=_+",",f=""}else f+=",";else if(w in s.operatorjson&&y.squote==0&&y.dquote==0&&y.braces==0){let _="",S=s.operatorPriority;if(d+1<u.length&&(_=u[d+1]),w+_ in s.operatorjson){if(k.length==0){if($.trim(f).length>0?b.unshift(s.isFunctionRange($.trim(f),a,t,l,n,o)):$.trim(m).length>0&&b.unshift($.trim(m)),v[0]in s.operatorjson){let C=S[v[0]];for(;v.length>0&&C!=null;)b.unshift(v.shift()),C=S[v[0]]}v.unshift(w+_),m="",f=""}else f+=w+_;d++}else if(k.length==0){if($.trim(f).length>0?b.unshift(s.isFunctionRange($.trim(f),a,t,l,n,o)):$.trim(m).length>0&&b.unshift($.trim(m)),v[0]in s.operatorjson){let C=S[v[0]];C=C==null?1e3:C;let T=S[w];for(T=T==null?1e3:T;v.length>0&&T>=C;)b.unshift(v.shift()),C=S[v[0]],C=C==null?1e3:C}v.unshift(w),m="",f=""}else f+=w}else y.dquote==0&&y.squote==0?f+=$.trim(w):f+=w;if(d==u.length-1){let _="",S=$.trim(f).replace(/'/g,"\\'");if(s.iscelldata(S)&&S.substr(0,1)!=":")_="luckysheet_getcelldata('"+S+"')",s.isFunctionRangeSaveChange(f,a,t,l,n);else if(S.substr(0,1)==":")S=S.substr(1),s.iscelldata(S)&&(_="luckysheet_getSpecialReference(false,"+m+",'"+S+"')");else{f=$.trim(f);let C=/{.*?}/;if(C.test(f)&&f.substr(0,1)!='"'&&f.substr(f.length-1,1)!='"'){let T=C.exec(f)[0],R=f.search(C),I="";R>0&&(_+=f.substr(0,R)),_+="luckysheet_getarraydata('"+T+"')",R+T.length<f.length&&(_+=f.substr(R+T.length,f.length))}else _=f}if(_.length>0&&b.unshift(_),v.length>0)for(m.length>0&&(b.unshift(m),m="");v.length>0;)b.unshift(v.shift());b.length>0?m=s.calPostfixExpression(b):m+=_}d++}return s.checkSpecialFunctionRange(m,a,t,l,n,o),m},isFunctionRangeSaveChange:function(e,a,t,l,n){let o=this;if(a!=null&&t!=null){let s=o.getcellrange($.trim(e),l);if(s==null)return;let u=s.row,d=s.column,f=s.sheetIndex;if(a+"_"+t in n&&(l==f||l==null)){let m=!1;for(let g=u[0];g<=u[1];g++)for(let y=d[0];y<=d[1];y++)g+"_"+y in n&&n[g+"_"+y].r==a&&n[g+"_"+y].c==t&&(m=!0);m?o.isFunctionRangeSave=o.isFunctionRangeSave||!0:o.isFunctionRangeSave=o.isFunctionRangeSave||!1}else a>=u[0]&&a<=u[1]&&t>=d[0]&&t<=d[1]&&(l==f||l==null)?o.isFunctionRangeSave=o.isFunctionRangeSave||!0:o.isFunctionRangeSave=o.isFunctionRangeSave||!1}else o.isFunctionRangeSave=o.isFunctionRangeSave||!1},checkSpecialFunctionRange:function(e,a,t,l,n,o){if(e.substr(0,30)=="luckysheet_getSpecialReference"||e.substr(0,20)=="luckysheet_function."){if(e.substr(0,20)=="luckysheet_function."){let s=e.split(".")[1];if(s!=null&&(s=s.toUpperCase(),s!="INDIRECT"&&s!="OFFSET"&&s!="INDEX"))return}try{h.calculateSheetIndex=l;let s=new Function("return "+e)();s instanceof Object&&s.startCell!=null&&(s=s.startCell);let u=$.trim(s);this.iscelldata(u)&&typeof o=="function"&&o(u)}catch(s){}}},execvertex:{},execFunctionGroupData:null,execFunctionExist:null,formulaContainSheetList:{},formulaContainCellList:{},cellTextToIndexList:{},addToCellList:function(e,a){e==null||e.length==0||a==null||a.length==0||(this.formulaContainCellList==null&&(this.formulaContainCellList={}),this.formulaContainCellList[e]==null&&(this.formulaContainCellList[e]={}),this.formulaContainCellList[e][a]=1)},addToCellIndexList:function(e,a){e==null||e.length==0||a==null||(this.cellTextToIndexList==null&&(this.cellTextToIndexList={}),e.indexOf("!")>-1?(e=e.replace(/\\'/g,"'").replace(/''/g,"'"),this.cellTextToIndexList[e]=a):this.cellTextToIndexList[e+"_"+a.sheetIndex]=a)},addToSheetIndexList:function(e,a,t){e==null||e.length==0||((a==null||a.length==0)&&(a=h.currentSheetIndex),(t==null||t.length==0)&&(t=""),this.formulaContainSheetList==null&&(this.formulaContainSheetList={}),this.formulaContainSheetList[e]==null&&(this.formulaContainSheetList[e]={}),this.formulaContainSheetList[e][a]=t)},execFunctionGlobalData:{},execFunctionGroupForce:function(e){e?this.execFunctionGroup(void 0,void 0,void 0,void 0,void 0,!0):this.execFunctionGroup()},execFunctionGroup:function(e,a,t,l,n,o=!1){let s=this;if(n==null&&(n=h.flowdata),window.luckysheet_compareWith||(window.luckysheet_compareWith=On,window.luckysheet_getarraydata=cc,window.luckysheet_getcelldata=rl,window.luckysheet_parseData=Bn,window.luckysheet_getValue=va,window.luckysheet_indirect_check=uc,window.luckysheet_indirect_check_return=hc,window.luckysheet_offset_check=dc,window.luckysheet_calcADPMM=Pt,window.luckysheet_getSpecialReference=fc),s.execFunctionGlobalData==null&&(s.execFunctionGlobalData={}),l==null&&(l=h.currentSheetIndex),t!=null){let C=[[{v:null}]];Ot(0,0,C,t),s.execFunctionGlobalData[e+"_"+a+"_"+l]=C[0][0]}let u=s.getAllFunctionGroup(),d={},f=It(),m={};for(let C=0;C<f.length;C++){let T=f[C];m[T.index]=T.data}let g={},y=[];if(s.execFunctionExist==null){let C="r"+e+"c"+a+"i"+l;g[C]=1}else for(let C=0;C<s.execFunctionExist.length;C++){let T=s.execFunctionExist[C],R="r"+T.r+"c"+T.c+"i"+T.i;g[R]=1}let v={},b=function(C,T,R,I){for(let A=0;A<C.length;A++){let E=C[A],N="r"+E.row[0]+""+E.row[1]+"c"+E.column[0]+""+E.column[1]+"index"+E.sheetIndex;if(N in v)v[N].forEach(F=>{I(F.key,F.r,F.c,F.sheetIndex)});else{let D=[];for(let F=E.row[0];F<=E.row[1];F++)for(let M=E.column[0];M<=E.column[1];M++){let z="r"+F+"c"+M+"i"+E.sheetIndex;I(z,F,M,E.sheetIndex),(T&&z in T||R&&z in R)&&D.push({key:z,r:F,c:M,sheetIndex:E.sheetIndex})}(T||R)&&(v[N]=D)}}},k={},x=0;for(let C=0;C<u.length;C++){let T=u[C],R="r"+T.r+"c"+T.c+"i"+T.index,I=Nr(T.r,T.c,T.index);if(I==null)continue;let A=I.toUpperCase(),E=A.indexOf("INDIRECT(")>-1||A.indexOf("OFFSET(")>-1||A.indexOf("INDEX(")>-1,N=[];if(E)this.isFunctionRange(I,null,null,T.index,null,function(F){let M=s.getcellrange($.trim(F),T.index);M!=null&&N.push(M)});else if(!(I.substr(0,2)=='="'&&I.substr(I.length-1,1)=='"')){let F=0,M=-1,z=-1,O=[],H=[],U=I.length;for(let X=0;X<U;X++){let Y=I.charAt(X);Y=="'"&&z==-1&&(M==-1?(F!=X&&O.push(...I.substring(F,X).split(/==|!=|<>|<=|>=|[,()=+-\/*%&\^><]/)),M=X,F=X):X<U-1&&I.charAt(X+1)=="'"?X++:(F=X+1,O.push(I.substring(M,F)),H.push(O.length-1),M=-1)),Y=='"'&&M==-1&&(z==-1?(F!=X&&O.push(...I.substring(F,X).split(/==|!=|<>|<=|>=|[,()=+-\/*%&\^><]/)),z=X,F=X):X<U-1&&I.charAt(X+1)=='"'?X++:(F=X+1,O.push(I.substring(z,F)),z=-1))}F!=U&&O.push(...I.substring(F,U).split(/==|!=|<>|<=|>=|[,()=+-\/*%&\^><]/));for(let X=H.length-1;X>=0;X--)H[X]!=O.length-1&&(O[H[X]]=O[H[X]]+O[H[X]+1],O.splice(H[X]+1,1));for(let X=0;X<O.length;X++){let Y=O[X];if(Y.length<=1||Y.substr(0,1)=='"'&&Y.substr(Y.length-1,1)=='"'&&!s.iscelldata(Y))continue;let ee=s.getcellrange($.trim(Y),T.index);ee!=null&&N.push(ee)}}let D={formulaArray:N,calc_funcStr:I,key:R,r:T.r,c:T.c,index:T.index,parents:{},chidren:{},color:"w"};d[R]=D}Object.keys(d).forEach(C=>{let T=d[C];b(T.formulaArray,d,g,function(R){if(R in d){let I=d[R];T.chidren[R]=1,I.parents[C]=1}!o&&R in g&&y.push(T)}),o&&y.push(T)});let w=[],_=y,S={};for(;_.length>0;){let C=_.pop();if(C==null||C.key in S)continue;if(C.color=="b"){w.push(C),S[C.key]=1;continue}let T=[];Object.keys(C.parents).forEach(R=>{let I=d[R];I!=null&&T.push(I)}),x++,T.length==0?(w.push(C),S[C.key]=1):(C.color="b",_.push(C),_=_.concat(T))}w.reverse();for(let C=0;C<w.length;C++){let T=w[C];if(T.level==Math.max)continue;window.luckysheet_getcelldata_cache=null;let R=T.calc_funcStr,I=s.execfunction(R,T.r,T.c,T.index);s.groupValuesRefreshData.push({r:T.r,c:T.c,v:I[1],f:I[2],spe:I[3],index:T.index}),s.execFunctionGlobalData[T.r+"_"+T.c+"_"+T.index]={v:I[1],f:I[2]}}s.execFunctionExist=null},execFunctionGroup1:function(e,a,t,l,n,o=!1){let s=this;n==null&&(n=h.flowdata),window.luckysheet_compareWith||(window.luckysheet_compareWith=On,window.luckysheet_getarraydata=cc,window.luckysheet_getcelldata=rl,window.luckysheet_parseData=Bn,window.luckysheet_getValue=va,window.luckysheet_indirect_check=uc,window.luckysheet_indirect_check_return=hc,window.luckysheet_offset_check=dc,window.luckysheet_calcADPMM=Pt,window.luckysheet_getSpecialReference=fc),s.execFunctionGlobalData==null&&(s.execFunctionGlobalData={});let u=It(),d=u[Z(h.currentSheetIndex)].dynamicArray_compute==null?{}:u[Z(h.currentSheetIndex)].dynamicArray_compute;if(l==null&&(l=h.currentSheetIndex),t!=null){let b=[[{v:null}]];Ot(0,0,b,t),s.execFunctionGlobalData[e+"_"+a+"_"+l]=b[0][0]}let f=s.getAllFunctionGroup(),m={},g=[],y=0;if(s.execvertex={},s.execFunctionExist==null)for(let b=0;b<f.length;b++){let k=f[b],x=u[Z(k.index)];if(x==null)continue;let w=x.data[k.r][k.c],_=Nr(k.r,k.c,k.index);w!=null&&w.f!=null&&w.f==_&&(k instanceof Object||(k=new Function("return "+k)()),k.color="w",k.parent=null,k.chidren={},k.times=0,m["r"+k.r+"c"+k.c+"i"+k.index]=k,s.isFunctionRangeSave=!1,o?s.isFunctionRangeSave=!0:e!=null&&a!=null&&s.isFunctionRangeSelect(_,e,a,l,d),s.isFunctionRangeSave&&(g.push(k),s.execvertex["r"+k.r+"c"+k.c+"i"+k.index]=k,y++))}else for(let b=0;b<s.execFunctionExist.length;b++){let k=s.execFunctionExist[b];if(!("r"+k.r+"c"+k.c+"i"+k.i in m))for(let x=0;x<f.length;x++){let w=f[x],_=Nr(w.r,w.c,w.index);w.color="w",w.parent=null,w.chidren={},w.times=0,m["r"+w.r+"c"+w.c+"i"+w.index]=w,s.isFunctionRangeSave=!1,o?s.isFunctionRangeSave=!0:s.isFunctionRangeSelect(_,k.r,k.c,k.i,d),s.isFunctionRangeSave&&(g.push(w),s.execvertex["r"+w.r+"c"+w.c+"i"+w.index]=w,y++)}}for(;g.length>0;){let b=g.shift(),k={};s.getChildrenVertex(b,m,k);for(let x in m){let w=m[x];if(w==null)continue;let _="r"+b.r+"c"+b.c+"i"+b.index;if(x in k)continue;s.isFunctionRangeSave=!1;let S=Nr(w.r,w.c,w.index);s.isFunctionRangeSelect(S,b.r,b.c,b.index,d),s.isFunctionRangeSave&&(x in s.execvertex||(g.push(w),s.execvertex[x]=w),y++,s.execvertex[x].chidren[_]=1)}}s.groupValuesRefreshData=[];let v=0;for(;v<y;)for(let b in s.execvertex){let k=s.execvertex[b];k.color=="w"?s.functionDFS(k):k.color=="b"&&v++}s.execFunctionExist=null},getChildrenVertex:function(e,a,t){let l="r"+e.r+"c"+e.c+"i"+e.index;if(t[l]=1,e.chidren!=null)for(let n in e.chidren)a[n]&&!(n in t)&&this.getChildrenVertex(a[n],a,t)},functionDFS:function(e){let a=this;e.color="g",e.times+=1;for(let n in e.chidren){let o=a.execvertex[n];o.color=="w"&&(o.parent="r"+e.r.toString()+"c"+e.c.toString()+"i"+e.index,a.functionDFS(o))}e.color="b",window.luckysheet_getcelldata_cache=null;let t=Nr(e.r,e.c,e.index),l=a.execfunction(t,e.r,e.c,e.index);a.groupValuesRefreshData.push({r:e.r,c:e.c,v:l[1],f:l[2],spe:l[3],index:e.index}),a.execFunctionGlobalData[e.r+"_"+e.c+"_"+e.index]={v:l[1],f:l[2]}},groupValuesRefreshData:[],groupValuesRefresh:function(){let e=this,a=It();if(e.groupValuesRefreshData.length>0){for(let t=0;t<e.groupValuesRefreshData.length;t++){let l=e.groupValuesRefreshData[t],n=a[Z(l.index)],o=n.data;if(o==null)continue;let s={};l.spe!=null&&(l.spe.type=="sparklines"?s.spl=l.spe.data:l.spe.type=="dynamicArrayItem"&&(n.dynamicArray=e.insertUpdateDynamicArray(l.spe.data))),s.v=l.v,s.f=l.f,Ot(l.r,l.c,o,s),re.saveParam("v",l.index,l.v,{r:l.r,c:l.c})}xe.webWorkerFlowDataCache(h.flowdata),e.groupValuesRefreshData=[]}},delFunctionGroup:function(e,a,t){t==null&&(t=h.currentSheetIndex);let l=It(),n=l[Z(t)],o=n.calcChain;if(o!=null)for(let u=0;u<o.length;u++){let d=o[u];if(d.r==e&&d.c==a&&d.index==t){o.splice(u,1),re.saveParam("fc",t,null,{op:"del",pos:u});break}}let s=n.dynamicArray;if(s!=null)for(let u=0;u<s.length;u++){let d=s[u];if(d.r==e&&d.c==a&&(d.index==null||d.index==t)){s.splice(u,1),re.saveParam("ac",t,null,{op:"del",pos:u});break}}Va(l)},execfunction:function(e,a,t,l,n,o){let s=this,d=Q().formulaMore;if(e.indexOf(s.error.r)>-1)return[!1,s.error.r,e];s.checkBracketNum(e)||(e+=")"),l==null&&(l=h.currentSheetIndex),h.calculateSheetIndex=l;let f=$.trim(s.functionParserExe(e));if((f.substr(0,20)=="luckysheet_function."||f.substr(0,22)=="luckysheet_compareWith")&&(s.functionHTMLIndex=0),!s.testFunction(e,f)||f=="")return j.info("",d.execfunctionError),[!1,s.error.n,e];let m=null;window.luckysheetCurrentRow=a,window.luckysheetCurrentColumn=t,window.luckysheetCurrentIndex=l,window.luckysheetCurrentFunction=e;let g=null;try{if(f.indexOf("luckysheet_getcelldata")>-1){let v=f.split("luckysheet_getcelldata('");for(let b=1;b<v.length;b++){let k=v[b].split("')")[0],x=s.getcellrange(k);if(x.row[0]<0||x.column[0]<0)return[!0,s.error.r,e];if(x.sheetIndex==h.calculateSheetIndex&&a>=x.row[0]&&a<=x.row[1]&&t>=x.column[0]&&t<=x.column[1])return he()?alert(d.execfunctionSelfError):j.info("",d.execfunctionSelfErrorResult),[!1,0,e]}}m=new Function("return "+f)(),typeof m=="string"&&(m=m.replace(/\x7F/g,'"')),f.indexOf("SPLINES")>-1&&(g=m,m="")}catch(v){let b=v;console.log(v,f),b=s.errorInfo(b),m=[s.error.n,b]}P(m)=="object"&&m.startCell!=null&&(P(m.data)=="array"?m=s.error.v:P(m.data)=="object"&&!de(m.data.v)?m=m.data.v:de(m.data)?m=0:m.cell>1||m.rowl>1?m=m.data:m=0);let y=null;if(P(m)=="array"){let v=!1;P(m[0])!="array"&&m.length==2&&(v=B(m[0])),v?m=m[0]:P(m[0])=="array"&&m.length==1&&m[0].length==1?m=m[0][0]:(y={r:a,c:t,f:e,index:l,data:m},m="")}return window.luckysheetCurrentRow=null,window.luckysheetCurrentColumn=null,window.luckysheetCurrentIndex=null,window.luckysheetCurrentFunction=null,a!=null&&t!=null&&(n&&s.execFunctionGroup(a,t,m,l),o||s.insertUpdateFunctionGroup(a,t,l)),g?[!0,m,e,{type:"sparklines",data:g}]:y?[!0,m,e,{type:"dynamicArrayItem",data:y}]:[!0,m,e]},testFunction:function(e,a){return e.substr(0,1)=="="},execstringformula:function(e,a,t,l){let n=this;return this.execfunction(e,a,t,l)},functionResizeData:{},functionResizeStatus:!1,functionResizeTimeout:null,data_parm_index:0},p=nv});function $o(e,a="redo"){if(e==null)return;let t=e.data;a=="undo"&&(t=e.curdata);for(let l=0;l<e.range.length;l++){let n=e.range[l].row[0],o=e.range[l].row[1],s=e.range[l].column[0],u=e.range[l].column[1];for(let d=n;d<o+1;d++)for(let f=s;f<u+1&&!(d>t.length-1);f++)t[d][f]==null||t[d][f].f==null||t[d][f].f==""?p.delFunctionGroup(d,f,e.sheetIndex):t[d][f]!=null&&t[d][f].f!=null&&t[d][f].f.length>0&&p.insertUpdateFunctionGroup(d,f,e.sheetIndex)}}var iv,ba,Ao=Ae(()=>{hr();Zt();ta();hl();Hl();Ol();dl();Pn();jn();fa();Vt();qn();Ll();Yt();Rt();Ke();Xt();Wr();iv={redo:function(e){if(h.jfredo.length==0)return;let a=h.jfredo.pop();if(h.jfundo.push(a),h.clearjfundo=!1,ye.hasSheet(a.sheetIndex)&&h.currentSheetIndex!=a.sheetIndex&&ye.changeSheetExec(a.sheetIndex),a.type=="datachange"){$o(a);let l={cfg:a.config,RowlChange:a.RowlChange,cdformat:a.cdformat,dataVerification:a.dataVerification,dynamicArray:a.dynamicArray};Ze(a.data,a.dataRange,l)}else if(a.type=="pasteCut"){let l={sheetIndex:a.source.sheetIndex,data:a.source.curData,curData:a.source.data,config:a.source.curConfig,curConfig:a.source.config,cdformat:a.source.curCdformat,curCdformat:a.source.cdformat,dataVerification:a.source.curDataVerification,curDataVerification:a.source.dataVerification,range:a.source.range},n={sheetIndex:a.target.sheetIndex,data:a.target.curData,curData:a.target.data,config:a.target.curConfig,curConfig:a.target.config,cdformat:a.target.curCdformat,curCdformat:a.target.cdformat,dataVerification:a.target.curDataVerification,curDataVerification:a.target.dataVerification,range:a.target.range};zn(l,n,a.RowlChange)}else if(a.type=="rangechange")$o(a),Sn(a.data,a.range,a.cdformat);else if(a.type=="resize"){h.config=a.config,h.luckysheetfile[Z(a.sheetIndex)].config=h.config,a.ctrlType=="resizeR"?re.saveParam("cg",a.sheetIndex,a.config.rowlen,{k:"rowlen"}):a.ctrlType=="resizeC"&&re.saveParam("cg",a.sheetIndex,a.config.columnlen,{k:"columnlen"});let l=$.extend(!0,{},a.images);h.luckysheetfile[Z(a.sheetIndex)].images=l,re.saveParam("all",a.sheetIndex,l,{k:"images"}),Re.images=l,Re.allImagesShow(),_t(h.flowdata.length,h.flowdata[0].length)}else if(a.type=="cellRowChange")Gr(a.data[0].length,a.data.length,a.data,a.config,a.range,a.ctrlType,a.ctrlValue,a.cdformat);else if(a.type=="extend")Gr(a.data[0].length,a.data.length,a.data,a.config,a.range,"dele",a.ctrlValue);else if(a.type=="dele"){let l=$.extend(!0,{},a.ctrlValue);l.restore=!0,Gr(a.data[0].length,a.data.length,a.data,a.config,a.range,"extend",l)}else if(a.type=="addRC"){let l=$.extend(!0,{},a.ctrlValue);l.direction=="rightbottom"&&(l.index=l.index+1),Pa(a.data,a.config,"delRC",l,a.calc,a.filterObj,a.cf,a.af,a.freezen,a.dataVerification,a.hyperlink)}else if(a.type=="delRC"){let l=$.extend(!0,{},a.ctrlValue);l.restore=!0,l.direction="lefttop",Pa(a.data,a.config,"addRC",l,a.calc,a.filterObj,a.cf,a.af,a.freezen,a.dataVerification,a.hyperlink)}else if(a.type=="deleteCell")Ti(a.data,a.config,a.ctrl,a.calc,a.filterObj,a.cf,a.dataVerification,a.hyperlink);else if(a.type=="showHidRows")h.config=a.config,h.luckysheetfile[Z(a.sheetIndex)].config=a.config,re.saveParam("cg",a.sheetIndex,a.config.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length);else if(a.type=="showHidCols")h.config=a.config,h.luckysheetfile[Z(a.sheetIndex)].config=a.config,re.saveParam("cg",a.sheetIndex,a.config.colhidden,{k:"colhidden"}),_t(h.flowdata.length,h.flowdata[0].length);else if(a.type=="datachangeAll")p.execFunctionGroup(),Gr(a.data[0].length,a.data.length,a.data,null,a.range,"datachangeAll",a.ctrlValue);else if(a.type=="datachangeAll_filter_clear")Rr(a.filter_save),$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(l){let n=$(this),o=a.optiongroups[l];Ea(n,o.optionstate,o.rowhidden,o.caljs,!1,o.st_r,o.ed_r,o.cindex,o.st_c,o.ed_c)}),re.saveParam("fsr",h.currentSheetIndex,{filter:a.optiongroups,filter_select:a.filter_save}),h.config=a.config,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,h.config.rowhidden==null&&(h.config.rowhidden={}),re.saveParam("cg",h.currentSheetIndex,h.config.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide();else if(a.type=="datachangeAll_filter"){let l=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(a.optionsindex),n=l.data("str"),o=l.data("edr"),s=l.data("cindex"),u=l.data("stc"),d=l.data("edc");Ea(l,Ma.hasKey(a.rowhidenPre),a.rowhidenPre,a.caljs,!0,n,o,s,u,d),h.config=a.config,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,h.config.rowhidden==null&&(h.config.rowhidden={}),re.saveParam("cg",h.currentSheetIndex,h.config.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide()}else if(a.type=="filtershow")$("#luckysheet-filter-selected-sheet"+a.sheetIndex+", #luckysheet-filter-options-sheet"+a.sheetIndex).remove(),re.allowUpdate&&re.saveParam("all",a.sheetIndex,null,{k:"filter_select"});else if(a.type=="pivotTable_change")h.luckysheetfile[Z(a.sheetIndex)].pivotTable=a.pivotTable,Oe.getCellData(a.sheetIndex),Oe.initialPivotManage(!0),Oe.refreshPivotTable();else if(a.type=="addSheet")ye.deleteSheet(a.index),ye.changeSheetExec(a.currentSheetIndex),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide();else if(a.type=="copySheet")ye.deleteSheet(a.index),ye.changeSheetExec(a.copyindex);else if(a.type=="deleteSheet"){let l=!1;for(let n=0;n<h.luckysheetfile.length;n++)h.luckysheetfile[n].name==a.name&&(l=!0);l||(ye.createSheetbydata(a,"isrenew"),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide())}else if(a.type=="sheetName")h.luckysheetfile[Z(a.sheetIndex)].name=a.oldtxt,$("#luckysheet-sheets-item"+a.sheetIndex).find(".luckysheet-sheets-item-name").html(a.oldtxt),re.saveParam("all",a.sheetIndex,a.oldtxt,{k:"name"});else if(a.type=="sheetColor"){h.luckysheetfile[Z(a.sheetIndex)].color=a.oldcolor;let l=$("#luckysheet-sheets-item"+a.sheetIndex);l.find(".luckysheet-sheets-item-color").remove(),a.oldcolor!=null&&l.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+a.oldcolor+';"></div>'),re.saveParam("all",a.sheetIndex,a.oldcolor,{k:"color"})}else if(a.type=="mergeChange"){let l={cfg:a.config};Ze(a.data,a.range,l)}else if(a.type=="updateDataVerification")Ye.ref(a.currentDataVerification,a.historyDataVerification,a.sheetIndex);else if(a.type=="updateDataVerificationOfCheckbox")Ye.refOfCheckbox(a.currentDataVerification,a.historyDataVerification,a.sheetIndex,a.data,a.range);else if(a.type=="updateHyperlink")$r.ref(a.currentHyperlink,a.historyHyperlink,a.sheetIndex,a.data,a.range);else if(a.type=="updateCF"){let l=a.data.historyRules;for(let n=0;n<l.length;n++){let o=l[n].sheetIndex;h.luckysheetfile[Z(o)].luckysheet_conditionformat_save=l[n].luckysheet_conditionformat_save,re.allowUpdate&&re.saveParam("all",o,l[n].luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"})}$e.ref()}else if(a.type=="updateAF"){let l=a.data.historyRules,n=Z(a.sheetIndex);h.luckysheetfile[n].luckysheet_alternateformat_save=$.extend(!0,[],l),setTimeout(function(){Le()},1)}else if(a.type=="borderChange")a.config.borderInfo==null?re.saveParam("cg",a.sheetIndex,[],{k:"borderInfo"}):re.saveParam("cg",a.sheetIndex,a.config.borderInfo,{k:"borderInfo"}),h.config=a.config,h.luckysheetfile[Z(a.sheetIndex)].config=h.config,setTimeout(function(){Le()},1);else if(a.type=="postil"){Be.ref(a.data,a.rc);for(let l=0;l<a.rc.length;l++){let n=a.rc[l].split("_")[0],o=a.rc[l].split("_")[1];a.data[n][o]!=null&&a.data[n][o].ps!=null?Be.buildPs(n,o,a.data[n][o].ps):Be.buildPs(n,o,null)}}else a.type=="imageCtrl"?(Re.images=$.extend(!0,{},a.images),Re.allImagesShow(),Re.ref()):a.type=="zoomChange"&&(h.zoomRatio=a.zoomRatio,re.saveParam("all",a.currentSheetIndex,a.zoomRatio,{k:"zoomRatio"}),Al(),Vn());er(e),a.range&&(h.luckysheet_select_save=a.range,et()),h.clearjfundo=!0;let t=ti(Ve({},a),{data:a.curdata,curdata:a.data});ut.createHookFunction("updated",t)},undo:function(){if(h.jfundo.length==0)return;let e=h.jfundo.pop();if(h.jfredo.push(e),h.clearjfundo=!1,ye.hasSheet(e.sheetIndex)&&h.currentSheetIndex!=e.sheetIndex&&ye.changeSheetExec(e.sheetIndex),e.type=="datachange"){p.execFunctionGroup();let a={cfg:e.curConfig,RowlChange:e.RowlChange,cdformat:e.curCdformat,dataVerification:e.curDataVerification,dynamicArray:e.curDynamicArray};$o(e,"undo"),Ze(e.curdata,e.range,a)}else if(e.type=="pasteCut")zn(e.source,e.target,e.RowlChange);else if(e.type=="rangechange")$o(e,"undo"),Sn(e.curdata,e.range,e.curCdformat);else if(e.type=="resize"){h.config=e.curconfig,h.luckysheetfile[Z(e.sheetIndex)].config=h.config,e.ctrlType=="resizeR"?re.saveParam("cg",e.sheetIndex,e.curconfig.rowlen,{k:"rowlen"}):e.ctrlType=="resizeC"&&re.saveParam("cg",e.sheetIndex,e.curconfig.columnlen,{k:"columnlen"});let a=$.extend(!0,{},e.curImages);h.luckysheetfile[Z(e.sheetIndex)].images=a,re.saveParam("all",e.sheetIndex,a,{k:"images"}),Re.images=a,Re.allImagesShow(),_t(h.flowdata.length,h.flowdata[0].length)}else if(e.type=="cellRowChange")Gr(e.curdata[0].length,e.curdata.length,e.curdata,e.curconfig,e.currange,e.ctrlType,e.ctrlValue,e.curCdformat);else if(e.type=="extend")Gr(e.curdata[0].length,e.curdata.length,e.curdata,e.curconfig,e.currange,e.ctrlType,e.ctrlValue);else if(e.type=="dele"){let a=$.extend(!0,{},e.ctrlValue);a.restore=!0,Gr(e.curdata[0].length,e.curdata.length,e.curdata,e.curconfig,e.currange,e.ctrlType,e.ctrlValue)}else if(e.type=="addRC")Pa(e.curData,e.curConfig,"addRC",e.ctrlValue,e.curCalc,e.curFilterObj,e.curCf,e.curAf,e.curFreezen,e.curDataVerification,e.curHyperlink);else if(e.type=="delRC")Pa(e.curData,e.curConfig,"delRC",e.ctrlValue,e.curCalc,e.curFilterObj,e.curCf,e.curAf,e.curFreezen,e.curDataVerification,e.curHyperlink);else if(e.type=="deleteCell")Ti(e.curData,e.curConfig,e.ctrl,e.curCalc,e.curFilterObj,e.curCf,e.curDataVerification,e.curHyperlink);else if(e.type=="showHidRows")h.config=e.curconfig,h.luckysheetfile[Z(e.sheetIndex)].config=e.curconfig,re.saveParam("cg",e.sheetIndex,e.curconfig.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length);else if(e.type=="showHidCols")h.config=e.curconfig,h.luckysheetfile[Z(e.sheetIndex)].config=e.curconfig,re.saveParam("cg",e.sheetIndex,e.curconfig.colhidden,{k:"colhidden"}),_t(h.flowdata.length,h.flowdata[0].length);else if(e.type=="datachangeAll")p.execFunctionGroup(),Gr(e.curdata[0].length,e.curdata.length,e.curdata,null,e.currange,"datachangeAll",e.ctrlValue);else if(e.type=="datachangeAll_filter_clear")re.saveParam("fsc",h.currentSheetIndex,null),h.config=e.curconfig,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,{},{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val(),$("#luckysheet-filter-selected span").data("type","0").data("type",null).text("\u65E0"),$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide();else if(e.type=="datachangeAll_filter"){let a=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(e.optionsindex),t=a.data("str"),l=a.data("edr"),n=a.data("cindex"),o=a.data("stc"),s=a.data("edc");Ea(a,Ma.hasKey(e.rowhidden),e.rowhidden,e.caljs,!0,t,l,n,o,s),h.config=e.curconfig,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,h.config.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide()}else if(e.type=="filtershow")h.luckysheet_select_save=[e.filter_save],h.filterchage=!1,Ci(),h.filterchage=!0,re.saveParam("all",e.sheetIndex,e.filter_save,{k:"filter_select"});else if(e.type=="pivotTable_change")h.luckysheetfile[Z(e.sheetIndex)].pivotTable=e.pivotTablecur,Oe.getCellData(e.sheetIndex),Oe.initialPivotManage(!0),Oe.refreshPivotTable();else if(e.type=="addSheet")ye.createSheetbydata(e.sheetconfig),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide();else if(e.type=="copySheet")ye.copySheet(e.copyindex);else if(e.type=="deleteSheet")ye.deleteSheet(e.index),e.order==0?ye.changeSheetExec(h.luckysheetfile[0].index):ye.changeSheetExec(h.luckysheetfile[e.order-1].index),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide();else if(e.type=="sheetName")h.luckysheetfile[Z(e.sheetIndex)].name=e.txt,$("#luckysheet-sheets-item"+e.sheetIndex).find(".luckysheet-sheets-item-name").html(e.txt),re.saveParam("all",e.sheetIndex,e.txt,{k:"name"});else if(e.type=="sheetColor"){h.luckysheetfile[Z(e.sheetIndex)].color=e.color;let a=$("#luckysheet-sheets-item"+e.sheetIndex);a.find(".luckysheet-sheets-item-color").remove(),e.color!=null&&a.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+e.color+';"></div>'),re.saveParam("all",e.sheetIndex,e.color,{k:"color"})}else if(e.type=="mergeChange"){let a={cfg:e.curConfig};Ze(e.curData,e.range,a)}else if(e.type=="updateDataVerification")Ye.ref(e.historyDataVerification,e.currentDataVerification,e.sheetIndex);else if(e.type=="updateDataVerificationOfCheckbox")Ye.refOfCheckbox(e.historyDataVerification,e.currentDataVerification,e.sheetIndex,e.curData,e.range);else if(e.type=="updateHyperlink")$r.ref(e.historyHyperlink,e.currentHyperlink,e.sheetIndex,e.curData,e.range);else if(e.type=="updateCF"){let a=e.data.currentRules;for(let t=0;t<a.length;t++){let l=a[t].sheetIndex;h.luckysheetfile[Z(l)].luckysheet_conditionformat_save=a[t].luckysheet_conditionformat_save,re.allowUpdate&&re.saveParam("all",l,a[t].luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"})}$e.ref()}else if(e.type=="updateAF"){let a=e.data.currentRules,t=Z(e.sheetIndex);h.luckysheetfile[t].luckysheet_alternateformat_save=$.extend(!0,[],a),setTimeout(function(){Le()},1)}else if(e.type=="borderChange")re.saveParam("cg",e.sheetIndex,e.curconfig.borderInfo,{k:"borderInfo"}),h.config=e.curconfig,h.luckysheetfile[Z(e.sheetIndex)].config=h.config,setTimeout(function(){Le()},1);else if(e.type=="postil"){Be.ref(e.curdata,e.rc);for(let a=0;a<e.rc.length;a++){let t=e.rc[a].split("_")[0],l=e.rc[a].split("_")[1];e.curdata[t][l]!=null&&e.curdata[t][l].ps!=null?Be.buildPs(t,l,e.curdata[t][l].ps):Be.buildPs(t,l,null)}}else e.type=="imageCtrl"?(Re.images=$.extend(!0,{},e.curImages),Re.allImagesShow(),Re.ref()):e.type=="zoomChange"&&(h.zoomRatio=e.curZoomRatio,re.saveParam("all",e.currentSheetIndex,e.curZoomRatio,{k:"zoomRatio"}),Al(),Vn());e.range&&(h.luckysheet_select_save=e.range,et()),h.clearjfundo=!0}},ba=iv});var Io,Oa,yc=Ae(()=>{Io=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Oa={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:e=>typeof console!="undefined"&&console.warn(e),getWeek:e=>{let a=new Date(e.getTime());a.setHours(0,0,0,0),a.setDate(a.getDate()+3-(a.getDay()+6)%7);var t=new Date(a.getFullYear(),0,4);return 1+Math.round(((a.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1}});var Ro,Do,vc=Ae(()=>{Ro={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:e=>{let a=e%100;if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Do=Ro});function bc(e,a){let t;return function(){clearTimeout(t),t=setTimeout(()=>e.apply(this,arguments),a)}}var Br,al,qo,kc=Ae(()=>{Br=(e,a=2)=>`000${e}`.slice(a*-1),al=e=>e===!0?1:0;qo=e=>e instanceof Array?e:[e]});function Hr(e,a,t){if(t===!0)return e.classList.add(a);e.classList.remove(a)}function Gt(e,a,t){let l=window.document.createElement(e);return a=a||"",t=t||"",l.className=a,t!==void 0&&(l.textContent=t),l}function Ei(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function xc(e,a){if(a(e))return e;if(e.parentNode)return xc(e.parentNode,a)}function Ni(e,a){let t=Gt("div","numInputWrapper"),l=Gt("input","numInput "+e),n=Gt("span","arrowUp"),o=Gt("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?l.type="number":(l.type="text",l.pattern="\\d*"),a!==void 0)for(let s in a)l.setAttribute(s,a[s]);return t.appendChild(l),t.appendChild(n),t.appendChild(o),t}function nl(e){try{return typeof e.composedPath=="function"?e.composedPath()[0]:e.target}catch(a){return e.target}}var Af=Ae(()=>{});var wc,Pi,If,zi,Un,_c=Ae(()=>{kc();wc=()=>{},Pi=(e,a,t)=>t.months[a?"shorthand":"longhand"][e],If={D:wc,F:function(e,a,t){e.setMonth(t.months.longhand.indexOf(a))},G:(e,a)=>{e.setHours(parseFloat(a))},H:(e,a)=>{e.setHours(parseFloat(a))},J:(e,a)=>{e.setDate(parseFloat(a))},K:(e,a,t)=>{e.setHours(e.getHours()%12+12*al(new RegExp(t.amPM[1],"i").test(a)))},M:function(e,a,t){e.setMonth(t.months.shorthand.indexOf(a))},S:(e,a)=>{e.setSeconds(parseFloat(a))},U:(e,a)=>new Date(parseFloat(a)*1e3),W:function(e,a,t){let l=parseInt(a),n=new Date(e.getFullYear(),0,2+(l-1)*7,0,0,0,0);return n.setDate(n.getDate()-n.getDay()+t.firstDayOfWeek),n},Y:(e,a)=>{e.setFullYear(parseFloat(a))},Z:(e,a)=>new Date(a),d:(e,a)=>{e.setDate(parseFloat(a))},h:(e,a)=>{e.setHours(parseFloat(a))},i:(e,a)=>{e.setMinutes(parseFloat(a))},j:(e,a)=>{e.setDate(parseFloat(a))},l:wc,m:(e,a)=>{e.setMonth(parseFloat(a)-1)},n:(e,a)=>{e.setMonth(parseFloat(a)-1)},s:(e,a)=>{e.setSeconds(parseFloat(a))},u:(e,a)=>new Date(parseFloat(a)),w:wc,y:(e,a)=>{e.setFullYear(2e3+parseFloat(a))}},zi={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Un={Z:e=>e.toISOString(),D:function(e,a,t){return a.weekdays.shorthand[Un.w(e,a,t)]},F:function(e,a,t){return Pi(Un.n(e,a,t)-1,!1,a)},G:function(e,a,t){return Br(Un.h(e,a,t))},H:e=>Br(e.getHours()),J:function(e,a){return a.ordinal!==void 0?e.getDate()+a.ordinal(e.getDate()):e.getDate()},K:(e,a)=>a.amPM[al(e.getHours()>11)],M:function(e,a){return Pi(e.getMonth(),!0,a)},S:e=>Br(e.getSeconds()),U:e=>e.getTime()/1e3,W:function(e,a,t){return t.getWeek(e)},Y:e=>Br(e.getFullYear(),4),d:e=>Br(e.getDate()),h:e=>e.getHours()%12?e.getHours()%12:12,i:e=>Br(e.getMinutes()),j:e=>e.getDate(),l:function(e,a){return a.weekdays.longhand[e.getDay()]},m:e=>Br(e.getMonth()+1),n:e=>e.getMonth()+1,s:e=>e.getSeconds(),u:e=>e.getTime(),w:e=>e.getDay(),y:e=>String(e.getFullYear()).substring(2)}});function il(e,a,t=!0){return t!==!1?new Date(e.getTime()).setHours(0,0,0,0)-new Date(a.getTime()).setHours(0,0,0,0):e.getTime()-a.getTime()}function Mo(e){let a=e.defaultHour,t=e.defaultMinute,l=e.defaultSeconds;if(e.minDate!==void 0){let n=e.minDate.getHours(),o=e.minDate.getMinutes(),s=e.minDate.getSeconds();a<n&&(a=n),a===n&&t<o&&(t=o),a===n&&t===o&&l<s&&(l=e.minDate.getSeconds())}if(e.maxDate!==void 0){let n=e.maxDate.getHours(),o=e.maxDate.getMinutes();a=Math.min(a,n),a===n&&(t=Math.min(o,t)),a===n&&t===o&&(l=e.maxDate.getSeconds())}return{hours:a,minutes:t,seconds:l}}var Cc,Fo,Rf,Df,qf=Ae(()=>{_c();yc();vc();Cc=({config:e=Oa,l10n:a=Ro,isMobile:t=!1})=>(l,n,o)=>{let s=o||a;return e.formatDate!==void 0&&!t?e.formatDate(l,n,s):n.split("").map((u,d,f)=>Un[u]&&f[d-1]!=="\\"?Un[u](l,s,e):u!=="\\"?u:"").join("")},Fo=({config:e=Oa,l10n:a=Ro})=>(t,l,n,o)=>{if(t!==0&&!t)return;let s=o||a,u,d=t;if(t instanceof Date)u=new Date(t.getTime());else if(typeof t!="string"&&t.toFixed!==void 0)u=new Date(t);else if(typeof t=="string"){let f=l||(e||Oa).dateFormat,m=String(t).trim();if(m==="today")u=new Date,n=!0;else if(/Z$/.test(m)||/GMT$/.test(m))u=new Date(t);else if(e&&e.parseDate)u=e.parseDate(t,f);else{u=!e||!e.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0));let g,y=[];for(let v=0,b=0,k="";v<f.length;v++){let x=f[v],w=x==="\\",_=f[v-1]==="\\"||w;if(zi[x]&&!_){k+=zi[x];let S=new RegExp(k).exec(t);S&&(g=!0)&&y[x!=="Y"?"push":"unshift"]({fn:If[x],val:S[++b]})}else w||(k+=".");y.forEach(({fn:S,val:C})=>u=S(u,C,s)||u)}u=g?u:void 0}}if(!(u instanceof Date&&!isNaN(u.getTime()))){e.errorHandler(new Error(`Invalid date provided: ${d}`));return}return n===!0&&u.setHours(0,0,0,0),u};Rf=(e,a,t)=>e>Math.min(a,t)&&e<Math.max(a,t),Df={DAY:864e5}});var Ff=Ae(()=>{"use strict";typeof Object.assign!="function"&&(Object.assign=function(e,...a){if(!e)throw TypeError("Cannot convert undefined or null to object");for(let t of a)t&&Object.keys(t).forEach(l=>e[l]=t[l]);return e})});function sv(e,a){let t={config:Object.assign(Object.assign({},Oa),_r.defaultConfig),l10n:Do};t.parseDate=Fo({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=b,t._setHoursFromDate=g,t._positionCalendar=Ue,t.changeMonth=ee,t.changeYear=ce,t.clear=ae,t.close=oe,t._createElement=Gt,t.destroy=ie,t.isEnabled=K,t.jumpToDate=w,t.open=ne,t.redraw=gt,t.set=Ge,t.setDate=Je,t.toggle=De;function l(){t.utils={getDaysInMonth(J=t.currentMonth,te=t.currentYear){return J===1&&(te%4==0&&te%100!=0||te%400==0)?29:t.l10n.daysInMonth[J]}}}function n(){t.element=t.input=e,t.isOpen=!1,je(),Ee(),ve(),pe(),l(),t.isMobile||C(),x(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&g(t.config.noCalendar?t.latestSelectedDateObj:void 0),Xr(!1)),s();let J=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&J&&Ue(),Ce("onReady")}function o(J){return J.bind(t)}function s(){let J=t.config;J.weekNumbers===!1&&J.showMonths===1||J.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){let te=(t.days.offsetWidth+1)*J.showMonths;t.daysContainer.style.width=te+"px",t.calendarContainer.style.width=te+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function u(J){if(t.selectedDates.length===0){let ge=t.config.minDate===void 0||il(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),Te=Mo(t.config);ge.setHours(Te.hours,Te.minutes,Te.seconds,ge.getMilliseconds()),t.selectedDates=[ge],t.latestSelectedDateObj=ge}J!==void 0&&J.type!=="blur"&&Ba(J);let te=t._input.value;m(),Xr(),t._input.value!==te&&t._debouncedChange()}function d(J,te){return J%12+12*al(te===t.l10n.amPM[1])}function f(J){switch(J%24){case 0:case 12:return 12;default:return J%12}}function m(){if(t.hourElement===void 0||t.minuteElement===void 0)return;let J=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,te=(parseInt(t.minuteElement.value,10)||0)%60,ge=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(J=d(J,t.amPM.textContent));let Te=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&il(t.latestSelectedDateObj,t.config.minDate,!0)===0;if(t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&il(t.latestSelectedDateObj,t.config.maxDate,!0)===0){let Ne=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;J=Math.min(J,Ne.getHours()),J===Ne.getHours()&&(te=Math.min(te,Ne.getMinutes())),te===Ne.getMinutes()&&(ge=Math.min(ge,Ne.getSeconds()))}if(Te){let Ne=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;J=Math.max(J,Ne.getHours()),J===Ne.getHours()&&te<Ne.getMinutes()&&(te=Ne.getMinutes()),te===Ne.getMinutes()&&(ge=Math.max(ge,Ne.getSeconds()))}y(J,te,ge)}function g(J){let te=J||t.latestSelectedDateObj;te&&y(te.getHours(),te.getMinutes(),te.getSeconds())}function y(J,te,ge){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(J%24,te,ge||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=Br(t.config.time_24hr?J:(12+J)%12+12*al(J%12==0)),t.minuteElement.value=Br(te),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[al(J>=12)]),t.secondElement!==void 0&&(t.secondElement.value=Br(ge)))}function v(J){let te=nl(J),ge=parseInt(te.value)+(J.delta||0);(ge/1e3>1||J.key==="Enter"&&!/[^\d]/.test(ge.toString()))&&ce(ge)}function b(J,te,ge,Te){if(te instanceof Array)return te.forEach(Xe=>b(J,Xe,ge,Te));if(J instanceof Array)return J.forEach(Xe=>b(Xe,te,ge,Te));J.addEventListener(te,ge,Te),t._handlers.push({remove:()=>J.removeEventListener(te,ge)})}function k(){Ce("onChange")}function x(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(te=>{Array.prototype.forEach.call(t.element.querySelectorAll(`[data-${te}]`),ge=>b(ge,"click",t[te]))}),t.isMobile){ht();return}let J=bc(He,50);if(t._debouncedChange=bc(k,ov),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&b(t.daysContainer,"mouseover",te=>{t.config.mode==="range"&&se(nl(te))}),b(window.document.body,"keydown",ke),!t.config.inline&&!t.config.static&&b(window,"resize",J),window.ontouchstart!==void 0?b(window.document,"touchstart",me):b(window.document,"mousedown",me),b(window.document,"focus",me,{capture:!0}),t.config.clickOpens===!0&&(b(t._input,"focus",t.open),b(t._input,"click",t.open)),t.daysContainer!==void 0&&(b(t.monthNav,"click",Kn),b(t.monthNav,["keyup","increment"],v),b(t.daysContainer,"click",ot)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){let te=ge=>nl(ge).select();b(t.timeContainer,["increment"],u),b(t.timeContainer,"blur",u,{capture:!0}),b(t.timeContainer,"click",_),b([t.hourElement,t.minuteElement],["focus","click"],te),t.secondElement!==void 0&&b(t.secondElement,"focus",()=>t.secondElement&&t.secondElement.select()),t.amPM!==void 0&&b(t.amPM,"click",ge=>{u(ge),k()})}t.config.allowInput&&b(t._input,"blur",le)}function w(J,te){let ge=J!==void 0?t.parseDate(J):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),Te=t.currentYear,Xe=t.currentMonth;try{ge!==void 0&&(t.currentYear=ge.getFullYear(),t.currentMonth=ge.getMonth())}catch(Ne){Ne.message="Invalid date supplied: "+ge,t.config.errorHandler(Ne)}te&&t.currentYear!==Te&&(Ce("onYearChange"),F()),te&&(t.currentYear!==Te||t.currentMonth!==Xe)&&Ce("onMonthChange"),t.redraw()}function _(J){let te=nl(J);~te.className.indexOf("arrow")&&S(J,te.classList.contains("arrowUp")?1:-1)}function S(J,te,ge){let Te=J&&nl(J),Xe=ge||Te&&Te.parentNode&&Te.parentNode.firstChild,Ne=Tt("increment");Ne.delta=te,Xe&&Xe.dispatchEvent(Ne)}function C(){let J=window.document.createDocumentFragment();if(t.calendarContainer=Gt("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(J.appendChild(O()),t.innerContainer=Gt("div","flatpickr-innerContainer"),t.config.weekNumbers){let{weekWrapper:ge,weekNumbers:Te}=Y();t.innerContainer.appendChild(ge),t.weekNumbers=Te,t.weekWrapper=ge}t.rContainer=Gt("div","flatpickr-rContainer"),t.rContainer.appendChild(U()),t.daysContainer||(t.daysContainer=Gt("div","flatpickr-days"),t.daysContainer.tabIndex=-1),D(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),J.appendChild(t.innerContainer)}t.config.enableTime&&J.appendChild(H()),Hr(t.calendarContainer,"rangeMode",t.config.mode==="range"),Hr(t.calendarContainer,"animate",t.config.animate===!0),Hr(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(J);let te=t.config.appendTo!==void 0&&t.config.appendTo.nodeType!==void 0;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!te&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){let ge=Gt("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(ge,t.element),ge.appendChild(t.element),t.altInput&&ge.appendChild(t.altInput),ge.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function T(J,te,ge,Te){let Xe=K(te,!0),Ne=Gt("span","flatpickr-day "+J,te.getDate().toString());return Ne.dateObj=te,Ne.$i=Te,Ne.setAttribute("aria-label",t.formatDate(te,t.config.ariaDateFormat)),J.indexOf("hidden")===-1&&il(te,t.now)===0&&(t.todayDateElem=Ne,Ne.classList.add("today"),Ne.setAttribute("aria-current","date")),Xe?(Ne.tabIndex=-1,rr(te)&&(Ne.classList.add("selected"),t.selectedDateElem=Ne,t.config.mode==="range"&&(Hr(Ne,"startRange",t.selectedDates[0]&&il(te,t.selectedDates[0],!0)===0),Hr(Ne,"endRange",t.selectedDates[1]&&il(te,t.selectedDates[1],!0)===0),J==="nextMonthDay"&&Ne.classList.add("inRange")))):Ne.classList.add("flatpickr-disabled"),t.config.mode==="range"&&fr(te)&&!rr(te)&&Ne.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&J!=="prevMonthDay"&&ge%7==1&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(te)+"</span>"),Ce("onDayCreate",Ne),Ne}function R(J){J.focus(),t.config.mode==="range"&&se(J)}function I(J){let te=J>0?0:t.config.showMonths-1,ge=J>0?t.config.showMonths:-1;for(let Te=te;Te!=ge;Te+=J){let Xe=t.daysContainer.children[Te],Ne=J>0?0:Xe.children.length-1,ct=J>0?Xe.children.length:-1;for(let st=Ne;st!=ct;st+=J){let Et=Xe.children[st];if(Et.className.indexOf("hidden")===-1&&K(Et.dateObj))return Et}}}function A(J,te){let ge=J.className.indexOf("Month")===-1?J.dateObj.getMonth():t.currentMonth,Te=te>0?t.config.showMonths:-1,Xe=te>0?1:-1;for(let Ne=ge-t.currentMonth;Ne!=Te;Ne+=Xe){let ct=t.daysContainer.children[Ne],st=ge-t.currentMonth===Ne?J.$i+te:te<0?ct.children.length-1:0,Et=ct.children.length;for(let Lt=st;Lt>=0&&Lt<Et&&Lt!=(te>0?Et:-1);Lt+=Xe){let ir=ct.children[Lt];if(ir.className.indexOf("hidden")===-1&&K(ir.dateObj)&&Math.abs(J.$i-Lt)>=Math.abs(te))return R(ir)}}t.changeMonth(Xe),E(I(Xe),0)}function E(J,te){let ge=G(document.activeElement||document.body),Te=J!==void 0?J:ge?document.activeElement:t.selectedDateElem!==void 0&&G(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&G(t.todayDateElem)?t.todayDateElem:I(te>0?1:-1);Te===void 0?t._input.focus():ge?A(Te,te):R(Te)}function N(J,te){let ge=(new Date(J,te,1).getDay()-t.l10n.firstDayOfWeek+7)%7,Te=t.utils.getDaysInMonth((te-1+12)%12,J),Xe=t.utils.getDaysInMonth(te,J),Ne=window.document.createDocumentFragment(),ct=t.config.showMonths>1,st=ct?"prevMonthDay hidden":"prevMonthDay",Et=ct?"nextMonthDay hidden":"nextMonthDay",Lt=Te+1-ge,ir=0;for(;Lt<=Te;Lt++,ir++)Ne.appendChild(T(st,new Date(J,te-1,Lt),Lt,ir));for(Lt=1;Lt<=Xe;Lt++,ir++)Ne.appendChild(T("",new Date(J,te,Lt),Lt,ir));for(let Mr=Xe+1;Mr<=42-ge&&(t.config.showMonths===1||ir%7!=0);Mr++,ir++)Ne.appendChild(T(Et,new Date(J,te+1,Mr%Xe),Mr,ir));let pl=Gt("div","dayContainer");return pl.appendChild(Ne),pl}function D(){if(t.daysContainer===void 0)return;Ei(t.daysContainer),t.weekNumbers&&Ei(t.weekNumbers);let J=document.createDocumentFragment();for(let te=0;te<t.config.showMonths;te++){let ge=new Date(t.currentYear,t.currentMonth,1);ge.setMonth(t.currentMonth+te),J.appendChild(N(ge.getFullYear(),ge.getMonth()))}t.daysContainer.appendChild(J),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&se()}function F(){if(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")return;let J=function(te){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&te<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&te>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(let te=0;te<12;te++){if(!J(te))continue;let ge=Gt("option","flatpickr-monthDropdown-month");ge.value=new Date(t.currentYear,te).getMonth().toString(),ge.textContent=Pi(te,t.config.shorthandCurrentMonth,t.l10n),ge.tabIndex=-1,t.currentMonth===te&&(ge.selected=!0),t.monthsDropdownContainer.appendChild(ge)}}function M(){let J=Gt("div","flatpickr-month"),te=window.document.createDocumentFragment(),ge;t.config.showMonths>1||t.config.monthSelectorType==="static"?ge=Gt("span","cur-month"):(t.monthsDropdownContainer=Gt("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),b(t.monthsDropdownContainer,"change",ct=>{let st=nl(ct),Et=parseInt(st.value,10);t.changeMonth(Et-t.currentMonth),Ce("onMonthChange")}),F(),ge=t.monthsDropdownContainer);let Te=Ni("cur-year",{tabindex:"-1"}),Xe=Te.getElementsByTagName("input")[0];Xe.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&Xe.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(Xe.setAttribute("max",t.config.maxDate.getFullYear().toString()),Xe.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());let Ne=Gt("div","flatpickr-current-month");return Ne.appendChild(ge),Ne.appendChild(Te),te.appendChild(Ne),J.appendChild(te),{container:J,yearElement:Xe,monthElement:ge}}function z(){Ei(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(let J=t.config.showMonths;J--;){let te=M();t.yearElements.push(te.yearElement),t.monthElements.push(te.monthElement),t.monthNav.appendChild(te.container)}t.monthNav.appendChild(t.nextMonthNav)}function O(){return t.monthNav=Gt("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Gt("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Gt("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,z(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:()=>t.__hidePrevMonthArrow,set(J){t.__hidePrevMonthArrow!==J&&(Hr(t.prevMonthNav,"flatpickr-disabled",J),t.__hidePrevMonthArrow=J)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:()=>t.__hideNextMonthArrow,set(J){t.__hideNextMonthArrow!==J&&(Hr(t.nextMonthNav,"flatpickr-disabled",J),t.__hideNextMonthArrow=J)}}),t.currentYearElement=t.yearElements[0],nr(),t.monthNav}function H(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");let J=Mo(t.config);t.timeContainer=Gt("div","flatpickr-time"),t.timeContainer.tabIndex=-1;let te=Gt("span","flatpickr-time-separator",":"),ge=Ni("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=ge.getElementsByTagName("input")[0];let Te=Ni("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=Te.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=Br(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?J.hours:f(J.hours)),t.minuteElement.value=Br(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():J.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(ge),t.timeContainer.appendChild(te),t.timeContainer.appendChild(Te),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");let Xe=Ni("flatpickr-second");t.secondElement=Xe.getElementsByTagName("input")[0],t.secondElement.value=Br(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():J.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Gt("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(Xe)}return t.config.time_24hr||(t.amPM=Gt("span","flatpickr-am-pm",t.l10n.amPM[al((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function U(){t.weekdayContainer?Ei(t.weekdayContainer):t.weekdayContainer=Gt("div","flatpickr-weekdays");for(let J=t.config.showMonths;J--;){let te=Gt("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(te)}return X(),t.weekdayContainer}function X(){if(!t.weekdayContainer)return;let J=t.l10n.firstDayOfWeek,te=[...t.l10n.weekdays.shorthand];J>0&&J<te.length&&(te=[...te.splice(J,te.length),...te.splice(0,J)]);for(let ge=t.config.showMonths;ge--;)t.weekdayContainer.children[ge].innerHTML=`
<span class='flatpickr-weekday'>
${te.join("</span><span class='flatpickr-weekday'>")}
</span>
`}function Y(){t.calendarContainer.classList.add("hasWeeks");let J=Gt("div","flatpickr-weekwrapper");J.appendChild(Gt("span","flatpickr-weekday",t.l10n.weekAbbreviation));let te=Gt("div","flatpickr-weeks");return J.appendChild(te),{weekWrapper:J,weekNumbers:te}}function ee(J,te=!0){let ge=te?J:J-t.currentMonth;ge<0&&t._hidePrevMonthArrow===!0||ge>0&&t._hideNextMonthArrow===!0||(t.currentMonth+=ge,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,Ce("onYearChange"),F()),D(),Ce("onMonthChange"),nr())}function ae(J=!0,te=!0){if(t.input.value="",t.altInput!==void 0&&(t.altInput.value=""),t.mobileInput!==void 0&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,te===!0&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),t.config.enableTime===!0){let{hours:ge,minutes:Te,seconds:Xe}=Mo(t.config);y(ge,Te,Xe)}t.redraw(),J&&Ce("onChange")}function oe(){t.isOpen=!1,t.isMobile||(t.calendarContainer!==void 0&&t.calendarContainer.classList.remove("open"),t._input!==void 0&&t._input.classList.remove("active")),Ce("onClose")}function ie(){t.config!==void 0&&Ce("onDestroy");for(let J=t._handlers.length;J--;)t._handlers[J].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){let J=t.calendarContainer.parentNode;if(J.lastChild&&J.removeChild(J.lastChild),J.parentNode){for(;J.firstChild;)J.parentNode.insertBefore(J.firstChild,J);J.parentNode.removeChild(J)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(J=>{try{delete t[J]}catch(te){}})}function ue(J){return t.config.appendTo&&t.config.appendTo.contains(J)?!0:t.calendarContainer.contains(J)}function me(J){if(t.isOpen&&!t.config.inline){let te=nl(J),ge=ue(te),Te=te===t.input||te===t.altInput||t.element.contains(te)||J.path&&J.path.indexOf&&(~J.path.indexOf(t.input)||~J.path.indexOf(t.altInput)),Xe=J.type==="blur"?Te&&J.relatedTarget&&!ue(J.relatedTarget):!Te&&!ge&&!ue(J.relatedTarget),Ne=!t.config.ignoredFocusElements.some(ct=>ct.contains(te));Xe&&Ne&&(t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0&&t.input.value!==""&&t.input.value!==void 0&&u(),t.close(),t.config&&t.config.mode==="range"&&t.selectedDates.length===1&&(t.clear(!1),t.redraw()))}}function ce(J){if(!J||t.config.minDate&&J<t.config.minDate.getFullYear()||t.config.maxDate&&J>t.config.maxDate.getFullYear())return;let te=J,ge=t.currentYear!==te;t.currentYear=te||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),ge&&(t.redraw(),Ce("onYearChange"),F())}function K(J,te=!0){var ge;let Te=t.parseDate(J,void 0,te);if(t.config.minDate&&Te&&il(Te,t.config.minDate,te!==void 0?te:!t.minDateHasTime)<0||t.config.maxDate&&Te&&il(Te,t.config.maxDate,te!==void 0?te:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&t.config.disable.length===0)return!0;if(Te===void 0)return!1;let Xe=!!t.config.enable,Ne=(ge=t.config.enable)!==null&&ge!==void 0?ge:t.config.disable;for(let ct=0,st;ct<Ne.length;ct++){if(st=Ne[ct],typeof st=="function"&&st(Te))return Xe;if(st instanceof Date&&Te!==void 0&&st.getTime()===Te.getTime())return Xe;if(typeof st=="string"){let Et=t.parseDate(st,void 0,!0);return Et&&Et.getTime()===Te.getTime()?Xe:!Xe}else if(typeof st=="object"&&Te!==void 0&&st.from&&st.to&&Te.getTime()>=st.from.getTime()&&Te.getTime()<=st.to.getTime())return Xe}return!Xe}function G(J){return t.daysContainer!==void 0?J.className.indexOf("hidden")===-1&&J.className.indexOf("flatpickr-disabled")===-1&&t.daysContainer.contains(J):!1}function le(J){J.target===t._input&&(t.selectedDates.length>0||t._input.value.length>0)&&!(J.relatedTarget&&ue(J.relatedTarget))&&t.setDate(t._input.value,!0,J.target===t.altInput?t.config.altFormat:t.config.dateFormat)}function ke(J){let te=nl(J),ge=t.config.wrap?e.contains(te):te===t._input,Te=t.config.allowInput,Xe=t.isOpen&&(!Te||!ge),Ne=t.config.inline&&ge&&!Te;if(J.keyCode===13&&ge){if(Te)return t.setDate(t._input.value,!0,te===t.altInput?t.config.altFormat:t.config.dateFormat),te.blur();t.open()}else if(ue(te)||Xe||Ne){let ct=!!t.timeContainer&&t.timeContainer.contains(te);switch(J.keyCode){case 13:ct?(J.preventDefault(),u(),Ct()):ot(J);break;case 27:J.preventDefault(),Ct();break;case 8:case 46:ge&&!t.config.allowInput&&(J.preventDefault(),t.clear());break;case 37:case 39:if(!ct&&!ge){if(J.preventDefault(),t.daysContainer!==void 0&&(Te===!1||document.activeElement&&G(document.activeElement))){let Et=J.keyCode===39?1:-1;J.ctrlKey?(J.stopPropagation(),ee(Et),E(I(1),0)):E(void 0,Et)}}else t.hourElement&&t.hourElement.focus();break;case 38:case 40:J.preventDefault();let st=J.keyCode===40?1:-1;t.daysContainer&&te.$i!==void 0||te===t.input||te===t.altInput?J.ctrlKey?(J.stopPropagation(),ce(t.currentYear-st),E(I(1),0)):ct||E(void 0,st*7):te===t.currentYearElement?ce(t.currentYear-st):t.config.enableTime&&(!ct&&t.hourElement&&t.hourElement.focus(),u(J),t._debouncedChange());break;case 9:if(ct){let Et=[t.hourElement,t.minuteElement,t.secondElement,t.amPM].concat(t.pluginElements).filter(ir=>ir),Lt=Et.indexOf(te);if(Lt!==-1){let ir=Et[Lt+(J.shiftKey?-1:1)];J.preventDefault(),(ir||t._input).focus()}}else!t.config.noCalendar&&t.daysContainer&&t.daysContainer.contains(te)&&J.shiftKey&&(J.preventDefault(),t._input.focus());break;default:break}}if(t.amPM!==void 0&&te===t.amPM)switch(J.key){case t.l10n.amPM[0].charAt(0):case t.l10n.amPM[0].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[0],m(),Xr();break;case t.l10n.amPM[1].charAt(0):case t.l10n.amPM[1].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[1],m(),Xr();break}(ge||ue(te))&&Ce("onKeyDown",J)}function se(J){if(t.selectedDates.length!==1||J&&(!J.classList.contains("flatpickr-day")||J.classList.contains("flatpickr-disabled")))return;let te=J?J.dateObj.getTime():t.days.firstElementChild.dateObj.getTime(),ge=t.parseDate(t.selectedDates[0],void 0,!0).getTime(),Te=Math.min(te,t.selectedDates[0].getTime()),Xe=Math.max(te,t.selectedDates[0].getTime()),Ne=!1,ct=0,st=0;for(let Et=Te;Et<Xe;Et+=Df.DAY)K(new Date(Et),!0)||(Ne=Ne||Et>Te&&Et<Xe,Et<ge&&(!ct||Et>ct)?ct=Et:Et>ge&&(!st||Et<st)&&(st=Et));for(let Et=0;Et<t.config.showMonths;Et++){let Lt=t.daysContainer.children[Et];for(let ir=0,pl=Lt.children.length;ir<pl;ir++){let Mr=Lt.children[ir],Gl=Mr.dateObj.getTime(),Zn=ct>0&&Gl<ct||st>0&&Gl>st;if(Zn){Mr.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(Jn=>{Mr.classList.remove(Jn)});continue}else if(Ne&&!Zn)continue;["startRange","inRange","endRange","notAllowed"].forEach(Jn=>{Mr.classList.remove(Jn)}),J!==void 0&&(J.classList.add(te<=t.selectedDates[0].getTime()?"startRange":"endRange"),ge<te&&Gl===ge?Mr.classList.add("startRange"):ge>te&&Gl===ge&&Mr.classList.add("endRange"),Gl>=ct&&(st===0||Gl<=st)&&Rf(Gl,ge,te)&&Mr.classList.add("inRange"))}}}function He(){t.isOpen&&!t.config.static&&!t.config.inline&&Ue()}function ne(J,te=t._positionElement){if(t.isMobile===!0){if(J){J.preventDefault();let Te=nl(J);Te&&Te.blur()}t.mobileInput!==void 0&&(t.mobileInput.focus(),t.mobileInput.click()),Ce("onOpen");return}else if(t._input.disabled||t.config.inline)return;let ge=t.isOpen;t.isOpen=!0,ge||(t.calendarContainer.classList.add("open"),t._input.classList.add("active"),Ce("onOpen"),Ue(te)),t.config.enableTime===!0&&t.config.noCalendar===!0&&t.config.allowInput===!1&&(J===void 0||!t.timeContainer.contains(J.relatedTarget))&&setTimeout(()=>t.hourElement.select(),50)}function Me(J){return te=>{let ge=t.config[`_${J}Date`]=t.parseDate(te,t.config.dateFormat),Te=t.config[`_${J==="min"?"max":"min"}Date`];ge!==void 0&&(t[J==="min"?"minDateHasTime":"maxDateHasTime"]=ge.getHours()>0||ge.getMinutes()>0||ge.getSeconds()>0),t.selectedDates&&(t.selectedDates=t.selectedDates.filter(Xe=>K(Xe)),!t.selectedDates.length&&J==="min"&&g(ge),Xr()),t.daysContainer&&(gt(),ge!==void 0?t.currentYearElement[J]=ge.getFullYear().toString():t.currentYearElement.removeAttribute(J),t.currentYearElement.disabled=!!Te&&ge!==void 0&&Te.getFullYear()===ge.getFullYear())}}function je(){let J=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],te=Object.assign(Object.assign({},JSON.parse(JSON.stringify(e.dataset||{}))),a),ge={};t.config.parseDate=te.parseDate,t.config.formatDate=te.formatDate,Object.defineProperty(t.config,"enable",{get:()=>t.config._enable,set:Ne=>{t.config._enable=Fe(Ne)}}),Object.defineProperty(t.config,"disable",{get:()=>t.config._disable,set:Ne=>{t.config._disable=Fe(Ne)}});let Te=te.mode==="time";if(!te.dateFormat&&(te.enableTime||Te)){let Ne=_r.defaultConfig.dateFormat||Oa.dateFormat;ge.dateFormat=te.noCalendar||Te?"H:i"+(te.enableSeconds?":S":""):Ne+" H:i"+(te.enableSeconds?":S":"")}if(te.altInput&&(te.enableTime||Te)&&!te.altFormat){let Ne=_r.defaultConfig.altFormat||Oa.altFormat;ge.altFormat=te.noCalendar||Te?"h:i"+(te.enableSeconds?":S K":" K"):Ne+` h:i${te.enableSeconds?":S":""} K`}Object.defineProperty(t.config,"minDate",{get:()=>t.config._minDate,set:Me("min")}),Object.defineProperty(t.config,"maxDate",{get:()=>t.config._maxDate,set:Me("max")});let Xe=Ne=>ct=>{t.config[Ne==="min"?"_minTime":"_maxTime"]=t.parseDate(ct,"H:i:S")};Object.defineProperty(t.config,"minTime",{get:()=>t.config._minTime,set:Xe("min")}),Object.defineProperty(t.config,"maxTime",{get:()=>t.config._maxTime,set:Xe("max")}),te.mode==="time"&&(t.config.noCalendar=!0,t.config.enableTime=!0),Object.assign(t.config,ge,te);for(let Ne=0;Ne<J.length;Ne++)t.config[J[Ne]]=t.config[J[Ne]]===!0||t.config[J[Ne]]==="true";Io.filter(Ne=>t.config[Ne]!==void 0).forEach(Ne=>{t.config[Ne]=qo(t.config[Ne]||[]).map(o)}),t.isMobile=!t.config.disableMobile&&!t.config.inline&&t.config.mode==="single"&&!t.config.disable.length&&!t.config.enable&&!t.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(let Ne=0;Ne<t.config.plugins.length;Ne++){let ct=t.config.plugins[Ne](t)||{};for(let st in ct)Io.indexOf(st)>-1?t.config[st]=qo(ct[st]).map(o).concat(t.config[st]):typeof te[st]=="undefined"&&(t.config[st]=ct[st])}te.altInputClass||(t.config.altInputClass=_e().className+" "+t.config.altInputClass),Ce("onParseConfig")}function _e(){return t.config.wrap?e.querySelector("[data-input]"):e}function Ee(){typeof t.config.locale!="object"&&typeof _r.l10ns[t.config.locale]=="undefined"&&t.config.errorHandler(new Error(`flatpickr: invalid locale ${t.config.locale}`)),t.l10n=Object.assign(Object.assign({},_r.l10ns.default),typeof t.config.locale=="object"?t.config.locale:t.config.locale!=="default"?_r.l10ns[t.config.locale]:void 0),zi.K=`(${t.l10n.amPM[0]}|${t.l10n.amPM[1]}|${t.l10n.amPM[0].toLowerCase()}|${t.l10n.amPM[1].toLowerCase()})`,Object.assign(Object.assign({},a),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr===void 0&&_r.defaultConfig.time_24hr===void 0&&(t.config.time_24hr=t.l10n.time_24hr),t.formatDate=Cc(t),t.parseDate=Fo({config:t.config,l10n:t.l10n})}function Ue(J){if(typeof t.config.position=="function")return void t.config.position(t,J);if(t.calendarContainer===void 0)return;Ce("onPreCalendarPosition");let te=J||t._positionElement,ge=Array.prototype.reduce.call(t.calendarContainer.children,(Qn,Uo)=>Qn+Uo.offsetHeight,0),Te=t.calendarContainer.offsetWidth,Xe=t.config.position.split(" "),Ne=Xe[0],ct=Xe.length>1?Xe[1]:null,st=te.getBoundingClientRect(),Et=window.innerHeight-st.bottom,Lt=Ne==="above"||Ne!=="below"&&Et<ge&&st.top>ge,ir=window.pageYOffset+st.top+(Lt?-ge-2:te.offsetHeight+2);if(Hr(t.calendarContainer,"arrowTop",!Lt),Hr(t.calendarContainer,"arrowBottom",Lt),t.config.inline)return;let pl=window.pageXOffset+st.left,Mr=!1,Bi=!1;ct==="center"?(pl-=(Te-st.width)/2,Mr=!0):ct==="right"&&(pl-=Te-st.width,Bi=!0),Hr(t.calendarContainer,"arrowLeft",!Mr&&!Bi),Hr(t.calendarContainer,"arrowCenter",Mr),Hr(t.calendarContainer,"arrowRight",Bi);let Gl=window.document.body.offsetWidth-(window.pageXOffset+st.right),Zn=pl+Te>window.document.body.offsetWidth,Jn=Gl+Te>window.document.body.offsetWidth;if(Hr(t.calendarContainer,"rightMost",Zn),!t.config.static)if(t.calendarContainer.style.top=`${ir}px`,!Zn)t.calendarContainer.style.left=`${pl}px`,t.calendarContainer.style.right="auto";else if(!Jn)t.calendarContainer.style.left="auto",t.calendarContainer.style.right=`${Gl}px`;else{let Qn=Pe();if(Qn===void 0)return;let Uo=window.document.body.offsetWidth,Hm=Math.max(0,Uo/2-Te/2),Vm=".flatpickr-calendar.centerMost:before",jm=".flatpickr-calendar.centerMost:after",Um=Qn.cssRules.length,Gm=`{left:${st.left}px;right:auto;}`;Hr(t.calendarContainer,"rightMost",!1),Hr(t.calendarContainer,"centerMost",!0),Qn.insertRule(`${Vm},${jm}${Gm}`,Um),t.calendarContainer.style.left=`${Hm}px`,t.calendarContainer.style.right="auto"}}function Pe(){let J=null;for(let te=0;te<document.styleSheets.length;te++){let ge=document.styleSheets[te];try{ge.cssRules}catch(Te){continue}J=ge;break}return J!=null?J:Qe()}function Qe(){let J=document.createElement("style");return document.head.appendChild(J),J.sheet}function gt(){t.config.noCalendar||t.isMobile||(F(),nr(),D())}function Ct(){t._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(t.close,0):t.close()}function ot(J){J.preventDefault(),J.stopPropagation();let te=ct=>ct.classList&&ct.classList.contains("flatpickr-day")&&!ct.classList.contains("flatpickr-disabled")&&!ct.classList.contains("notAllowed"),ge=xc(nl(J),te);if(ge===void 0)return;let Te=ge,Xe=t.latestSelectedDateObj=new Date(Te.dateObj.getTime()),Ne=(Xe.getMonth()<t.currentMonth||Xe.getMonth()>t.currentMonth+t.config.showMonths-1)&&t.config.mode!=="range";if(t.selectedDateElem=Te,t.config.mode==="single")t.selectedDates=[Xe];else if(t.config.mode==="multiple"){let ct=rr(Xe);ct?t.selectedDates.splice(parseInt(ct),1):t.selectedDates.push(Xe)}else t.config.mode==="range"&&(t.selectedDates.length===2&&t.clear(!1,!1),t.latestSelectedDateObj=Xe,t.selectedDates.push(Xe),il(Xe,t.selectedDates[0],!0)!==0&&t.selectedDates.sort((ct,st)=>ct.getTime()-st.getTime()));if(m(),Ne){let ct=t.currentYear!==Xe.getFullYear();t.currentYear=Xe.getFullYear(),t.currentMonth=Xe.getMonth(),ct&&(Ce("onYearChange"),F()),Ce("onMonthChange")}if(nr(),D(),Xr(),!Ne&&t.config.mode!=="range"&&t.config.showMonths===1?R(Te):t.selectedDateElem!==void 0&&t.hourElement===void 0&&t.selectedDateElem&&t.selectedDateElem.focus(),t.hourElement!==void 0&&t.hourElement!==void 0&&t.hourElement.focus(),t.config.closeOnSelect){let ct=t.config.mode==="single"&&!t.config.enableTime,st=t.config.mode==="range"&&t.selectedDates.length===2&&!t.config.enableTime;(ct||st)&&Ct()}k()}let yt={locale:[Ee,X],showMonths:[z,s,U],minDate:[w],maxDate:[w],clickOpens:[()=>{t.config.clickOpens===!0?(b(t._input,"focus",t.open),b(t._input,"click",t.open)):(t._input.removeEventListener("focus",t.open),t._input.removeEventListener("click",t.open))}]};function Ge(J,te){if(J!==null&&typeof J=="object"){Object.assign(t.config,J);for(let ge in J)yt[ge]!==void 0&&yt[ge].forEach(Te=>Te())}else t.config[J]=te,yt[J]!==void 0?yt[J].forEach(ge=>ge()):Io.indexOf(J)>-1&&(t.config[J]=qo(te));t.redraw(),Xr(!0)}function Se(J,te){let ge=[];if(J instanceof Array)ge=J.map(Te=>t.parseDate(Te,te));else if(J instanceof Date||typeof J=="number")ge=[t.parseDate(J,te)];else if(typeof J=="string")switch(t.config.mode){case"single":case"time":ge=[t.parseDate(J,te)];break;case"multiple":ge=J.split(t.config.conjunction).map(Te=>t.parseDate(Te,te));break;case"range":ge=J.split(t.l10n.rangeSeparator).map(Te=>t.parseDate(Te,te));break;default:break}else t.config.errorHandler(new Error(`Invalid date supplied: ${JSON.stringify(J)}`));t.selectedDates=t.config.allowInvalidPreload?ge:ge.filter(Te=>Te instanceof Date&&K(Te,!1)),t.config.mode==="range"&&t.selectedDates.sort((Te,Xe)=>Te.getTime()-Xe.getTime())}function Je(J,te=!1,ge=t.config.dateFormat){if(J!==0&&!J||J instanceof Array&&J.length===0)return t.clear(te);Se(J,ge),t.latestSelectedDateObj=t.selectedDates[t.selectedDates.length-1],t.redraw(),w(void 0,te),g(),t.selectedDates.length===0&&t.clear(!1),Xr(te),te&&Ce("onChange")}function Fe(J){return J.slice().map(te=>typeof te=="string"||typeof te=="number"||te instanceof Date?t.parseDate(te,void 0,!0):te&&typeof te=="object"&&te.from&&te.to?{from:t.parseDate(te.from,void 0),to:t.parseDate(te.to,void 0)}:te).filter(te=>te)}function pe(){t.selectedDates=[],t.now=t.parseDate(t.config.now)||new Date;let J=t.config.defaultDate||((t.input.nodeName==="INPUT"||t.input.nodeName==="TEXTAREA")&&t.input.placeholder&&t.input.value===t.input.placeholder?null:t.input.value);J&&Se(J,t.config.dateFormat),t._initialDate=t.selectedDates.length>0?t.selectedDates[0]:t.config.minDate&&t.config.minDate.getTime()>t.now.getTime()?t.config.minDate:t.config.maxDate&&t.config.maxDate.getTime()<t.now.getTime()?t.config.maxDate:t.now,t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth(),t.selectedDates.length>0&&(t.latestSelectedDateObj=t.selectedDates[0]),t.config.minTime!==void 0&&(t.config.minTime=t.parseDate(t.config.minTime,"H:i")),t.config.maxTime!==void 0&&(t.config.maxTime=t.parseDate(t.config.maxTime,"H:i")),t.minDateHasTime=!!t.config.minDate&&(t.config.minDate.getHours()>0||t.config.minDate.getMinutes()>0||t.config.minDate.getSeconds()>0),t.maxDateHasTime=!!t.config.maxDate&&(t.config.maxDate.getHours()>0||t.config.maxDate.getMinutes()>0||t.config.maxDate.getSeconds()>0)}function ve(){if(t.input=_e(),!t.input){t.config.errorHandler(new Error("Invalid input element specified"));return}t.input._type=t.input.type,t.input.type="text",t.input.classList.add("flatpickr-input"),t._input=t.input,t.config.altInput&&(t.altInput=Gt(t.input.nodeName,t.config.altInputClass),t._input=t.altInput,t.altInput.placeholder=t.input.placeholder,t.altInput.disabled=t.input.disabled,t.altInput.required=t.input.required,t.altInput.tabIndex=t.input.tabIndex,t.altInput.type="text",t.input.setAttribute("type","hidden"),!t.config.static&&t.input.parentNode&&t.input.parentNode.insertBefore(t.altInput,t.input.nextSibling)),t.config.allowInput||t._input.setAttribute("readonly","readonly"),t._positionElement=t.config.positionElement||t._input}function ht(){let J=t.config.enableTime?t.config.noCalendar?"time":"datetime-local":"date";t.mobileInput=Gt("input",t.input.className+" flatpickr-mobile"),t.mobileInput.tabIndex=1,t.mobileInput.type=J,t.mobileInput.disabled=t.input.disabled,t.mobileInput.required=t.input.required,t.mobileInput.placeholder=t.input.placeholder,t.mobileFormatStr=J==="datetime-local"?"Y-m-d\\TH:i:S":J==="date"?"Y-m-d":"H:i:S",t.selectedDates.length>0&&(t.mobileInput.defaultValue=t.mobileInput.value=t.formatDate(t.selectedDates[0],t.mobileFormatStr)),t.config.minDate&&(t.mobileInput.min=t.formatDate(t.config.minDate,"Y-m-d")),t.config.maxDate&&(t.mobileInput.max=t.formatDate(t.config.maxDate,"Y-m-d")),t.input.getAttribute("step")&&(t.mobileInput.step=String(t.input.getAttribute("step"))),t.input.type="hidden",t.altInput!==void 0&&(t.altInput.type="hidden");try{t.input.parentNode&&t.input.parentNode.insertBefore(t.mobileInput,t.input.nextSibling)}catch(te){}b(t.mobileInput,"change",te=>{t.setDate(nl(te).value,!1,t.mobileFormatStr),Ce("onChange"),Ce("onClose")})}function De(J){if(t.isOpen===!0)return t.close();t.open(J)}function Ce(J,te){if(t.config===void 0)return;let ge=t.config[J];if(ge!==void 0&&ge.length>0)for(let Te=0;ge[Te]&&Te<ge.length;Te++)ge[Te](t.selectedDates,t.input.value,t,te);J==="onChange"&&(t.input.dispatchEvent(Tt("change")),t.input.dispatchEvent(Tt("input")))}function Tt(J){let te=document.createEvent("Event");return te.initEvent(J,!0,!0),te}function rr(J){for(let te=0;te<t.selectedDates.length;te++)if(il(t.selectedDates[te],J)===0)return""+te;return!1}function fr(J){return t.config.mode!=="range"||t.selectedDates.length<2?!1:il(J,t.selectedDates[0])>=0&&il(J,t.selectedDates[1])<=0}function nr(){t.config.noCalendar||t.isMobile||!t.monthNav||(t.yearElements.forEach((J,te)=>{let ge=new Date(t.currentYear,t.currentMonth,1);ge.setMonth(t.currentMonth+te),t.config.showMonths>1||t.config.monthSelectorType==="static"?t.monthElements[te].textContent=Pi(ge.getMonth(),t.config.shorthandCurrentMonth,t.l10n)+" ":t.monthsDropdownContainer.value=ge.getMonth().toString(),J.value=ge.getFullYear().toString()}),t._hidePrevMonthArrow=t.config.minDate!==void 0&&(t.currentYear===t.config.minDate.getFullYear()?t.currentMonth<=t.config.minDate.getMonth():t.currentYear<t.config.minDate.getFullYear()),t._hideNextMonthArrow=t.config.maxDate!==void 0&&(t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth+1>t.config.maxDate.getMonth():t.currentYear>t.config.maxDate.getFullYear()))}function zt(J){return t.selectedDates.map(te=>t.formatDate(te,J)).filter((te,ge,Te)=>t.config.mode!=="range"||t.config.enableTime||Te.indexOf(te)===ge).join(t.config.mode!=="range"?t.config.conjunction:t.l10n.rangeSeparator)}function Xr(J=!0){t.mobileInput!==void 0&&t.mobileFormatStr&&(t.mobileInput.value=t.latestSelectedDateObj!==void 0?t.formatDate(t.latestSelectedDateObj,t.mobileFormatStr):""),t.input.value=zt(t.config.dateFormat),t.altInput!==void 0&&(t.altInput.value=zt(t.config.altFormat)),J!==!1&&Ce("onValueUpdate")}function Kn(J){let te=nl(J),ge=t.prevMonthNav.contains(te),Te=t.nextMonthNav.contains(te);ge||Te?ee(ge?-1:1):t.yearElements.indexOf(te)>=0?te.select():te.classList.contains("arrowUp")?t.changeYear(t.currentYear+1):te.classList.contains("arrowDown")&&t.changeYear(t.currentYear-1)}function Ba(J){J.preventDefault();let te=J.type==="keydown",ge=nl(J),Te=ge;t.amPM!==void 0&&ge===t.amPM&&(t.amPM.textContent=t.l10n.amPM[al(t.amPM.textContent===t.l10n.amPM[0])]);let Xe=parseFloat(Te.getAttribute("min")),Ne=parseFloat(Te.getAttribute("max")),ct=parseFloat(Te.getAttribute("step")),st=parseInt(Te.value,10),Et=J.delta||(te?J.which===38?1:-1:0),Lt=st+ct*Et;if(typeof Te.value!="undefined"&&Te.value.length===2){let ir=Te===t.hourElement,pl=Te===t.minuteElement;Lt<Xe?(Lt=Ne+Lt+al(!ir)+(al(ir)&&al(!t.amPM)),pl&&S(void 0,-1,t.hourElement)):Lt>Ne&&(Lt=Te===t.hourElement?Lt-Ne-al(!t.amPM):Xe,pl&&S(void 0,1,t.hourElement)),t.amPM&&ir&&(ct===1?Lt+st===23:Math.abs(Lt-st)>ct)&&(t.amPM.textContent=t.l10n.amPM[al(t.amPM.textContent===t.l10n.amPM[0])]),Te.value=Br(Lt)}}return n(),t}function Gn(e,a){let t=Array.prototype.slice.call(e).filter(n=>n instanceof HTMLElement),l=[];for(let n=0;n<t.length;n++){let o=t[n];try{if(o.getAttribute("data-fp-omit")!==null)continue;o._flatpickr!==void 0&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=sv(o,a||{}),l.push(o._flatpickr)}catch(s){console.error(s)}}return l.length===1?l[0]:l}var ov,_r,Eo,Tc=Ae(()=>{yc();vc();kc();Af();qf();_c();Ff();ov=300;typeof HTMLElement!="undefined"&&typeof HTMLCollection!="undefined"&&typeof NodeList!="undefined"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return Gn(this,e)},HTMLElement.prototype.flatpickr=function(e){return Gn([this],e)});_r=function(e,a){return typeof e=="string"?Gn(window.document.querySelectorAll(e),a):e instanceof Node?Gn([e],a):Gn(e,a)};_r.defaultConfig={};_r.l10ns={en:Object.assign({},Do),default:Object.assign({},Do)};_r.localize=e=>{_r.l10ns.default=Object.assign(Object.assign({},_r.l10ns.default),e)};_r.setDefaults=e=>{_r.defaultConfig=Object.assign(Object.assign({},_r.defaultConfig),e)};_r.parseDate=Fo({});_r.formatDate=Cc({});_r.compareDates=il;typeof jQuery!="undefined"&&typeof jQuery.fn!="undefined"&&(jQuery.fn.flatpickr=function(e){return Gn(this,e)});Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof e=="string"?parseInt(e,10):e))};typeof window!="undefined"&&(window.flatpickr=_r);Eo=_r});var No,cv,uv,Mf,Ef=Ae(()=>{lr();Vt();Ke();Tc();No=Er(ha());Ir();hn();cv=e=>{let a=e.replace(/y/g,"Y");return a=a.replace(/d/g,"D"),a=a.replace(/h/g,"H"),a=a.replace(/上午\/下午/g,"A"),a=a.replace(/上午/g,"A"),a=a.replace(/下午/g,"A"),a=a.replace(/AM\/PM/g,"A"),a=a.replace(/AM/g,"A"),a=a.replace(/PM/g,"A"),a=a.replace(/\"/g,""),a.includes("A")&&(a=a.replace(/H/g,"h")),a},uv={cellFocus:function(e,a,t){let l=h.visibledatarow[e],n=e==0?0:h.visibledatarow[e-1],o=h.visibledatacolumn[a],s=a==0?0:h.visibledatacolumn[a-1],u=be.mergeborer(h.flowdata,e,a),d=t.ct.fa||"YYYY-MM-DD",f=mt("yyyy-MM-dd hh:mm:ss",t.v),m=cv(d),g=!1,y=!1,v=!1,b=!0,k=!1;u&&(l=u.row[1],n=u.row[0],o=u.column[1],s=u.column[0]),$(".cell-date-picker").show().css({width:o-s+1,height:l-n+1,left:s,top:n}),/[上午下午]/.test(d)&&(k=!0),/[Hhms]/.test(m)&&(g=!0),/[YMD]/.test(m)||(y=!0),/s/.test(m)&&(v=!0),/A/.test(m)&&(b=!1);let x=Eo("#luckysheet-input-box",{allowInput:!1,noCalendar:y,enableSeconds:v,enableTime:g,dateFormat:m,time_24hr:b,defaultDate:f,onClose(){setTimeout(()=>{x.destroy()},0)},parseDate:(w,_)=>(0,No.default)(w).toDate(),formatDate:(w,_,S)=>k?(0,No.default)(w).format(_).replace("AM","\u4E0A\u5348").replace("PM","\u4E0B\u5348"):(0,No.default)(w).format(_),onChange:function(w,_){let S=Ps(new Date(w));$("#luckysheet-rich-text-editor").html(_),Wn(e,a,S,{isRefresh:!1}),Sc(e,a,"ct",t.ct),g||p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1])}});$("#luckysheet-input-box").click()}},Mf=uv});function Ar(e,a,t,l,n){if(!pa(e,a,h.currentSheetIndex)){$("#luckysheet-functionbox-cell").blur();return}if(he()||h.allowEdit===!1||!ut.createHookFunction("cellEditBefore",h.luckysheet_select_save))return;if(re.saveParam("mv",h.currentSheetIndex,{op:"enterEdit",range:h.luckysheet_select_save}),Ye.dataVerification!=null&&Ye.dataVerification[e+"_"+a]!=null){let N=Ye.dataVerification[e+"_"+a];if(N.type=="dropdown")Ye.dropdownListShow();else if(N.type=="checkbox")return}let o=Pf(e,a,t),s=o.row,u=o.row_pre,d=o.col,f=o.col_pre,m=o.row_index,g=o.col_index;$("#luckysheet-dropCell-icon").is(":visible")&&$("#luckysheet-dropCell-icon").remove();let y=$(window).height(),v=$(window).width(),b=$("#"+h.container).offset(),k=$("#luckysheet-cell-main").scrollLeft(),x=$("#luckysheet-cell-main").scrollTop();if(Oe.isPivotRange(m,g))return;let w=f+b.left+h.rowHeaderWidth-k-2;W.freezenverticaldata!=null&&a<=W.freezenverticaldata[1]&&(w=f+b.left+h.rowHeaderWidth-2);let _=u+b.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-x-2;W.freezenhorizontaldata!=null&&e<=W.freezenhorizontaldata[1]&&(_=u+b.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-2);let S={"min-width":d-f+1-8,"min-height":s-u+1-4,"max-width":v+k-f-20-h.rowHeaderWidth,"max-height":y+x-u-20-15-h.toolbarHeight-h.infobarHeight-h.calculatebarHeight-h.sheetBarHeight-h.statisticBarHeight,left:w,top:_},C={transform:"scale("+h.zoomRatio+")","transform-origin":"left top",width:100/h.zoomRatio+"%",height:100/h.zoomRatio+"%"};h.luckysheetCellUpdate=[m,g],n||$("#luckysheet-rich-text-editor").focus().select(),$("#luckysheet-input-box").removeAttr("style").css({"background-color":"rgb(255, 255, 255)",padding:"0px 2px","font-size":"13px",right:"auto","overflow-y":"auto","box-sizing":"initial",display:"flex"}),(W.freezenverticaldata!=null||W.freezenhorizontaldata!=null)&&$("#luckysheet-input-box").css("z-index",10002),$("#luckysheet-input-box-index").html(tt(g)+(m+1)).hide(),$("#luckysheet-wa-functionbox-cancel, #luckysheet-wa-functionbox-confirm").addClass("luckysheet-wa-calculate-active");let T="",R=!1;if(t[m]!=null&&t[m][g]!=null){let N=t[m][g],D=N.ht,F="left",M="top";D=="0"?(S={"min-width":d-f+1-8,"min-height":s-u+1-4,"max-width":v*2/3,"max-height":y+x-u-20-15-h.toolbarHeight-h.infobarHeight-h.calculatebarHeight-h.sheetBarHeight-h.statisticBarHeight,left:f+b.left+h.rowHeaderWidth-k-2,top:u+b.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-x-2},h.zoomRatio<1&&(F="center"),R=!0):D=="2"&&(S={"min-width":d-f+1-8,"min-height":s-u+1-4,"max-width":d+b.left-k-8,"max-height":y+x-u-20-15-h.toolbarHeight-h.infobarHeight-h.calculatebarHeight-h.sheetBarHeight-h.statisticBarHeight,right:v-(b.left+(h.rowHeaderWidth-1)-k)-d,top:u+b.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-x-2},h.zoomRatio<1&&(F="right")),N.vt=="0"?M="center":N.vt=="2"&&(M="bottom"),C["transform-origin"]=F+" "+M,l||(wr(N)?T=qd(m,g,t):N.f!=null?T=ze(m,g,t,"f"):(T=da(m,g,t),N.qp=="1"&&(T=T&&""+T)));let z=be.getStyleByCell(t,m,g);z=$("#luckysheet-input-box").get(0).style.cssText+z,$("#luckysheet-input-box").get(0).style.cssText=z,$("#luckysheet-input-box").get(0).style.backgroundColor=="rgba(0, 0, 0, 0)"&&($("#luckysheet-input-box").get(0).style.background="rgb(255,255,255)")}else{let N=Jt.getComputeMap();var I=Jt.checksAF(m,g,N),A=$e.getComputeMap(),E=$e.checksCF(m,g,A);E!=null&&E.cellColor!=null?$("#luckysheet-input-box").get(0).style.background=E.cellColor:I!=null&&($("#luckysheet-input-box").get(0).style.background=I[1])}if(S["min-height"]>S["max-height"]&&(S["min-height"]=S["max-height"]),S["min-width"]>S["max-width"]&&(S["min-width"]=S["max-width"]),(T==null||T.toString()=="")&&!l&&(T="<br/>"),T=p.xssDeal(T),!vo(m,g,h.currentSheetIndex)&&T.length>0&&T.substr(0,63)=='<span dir="auto" class="luckysheet-formula-text-color">=</span>'?$("#luckysheet-rich-text-editor").html(""):($("#luckysheet-rich-text-editor").html(T),n||bl($("#luckysheet-rich-text-editor")[0])),R){let N=$("#luckysheet-input-box").width();N>S["max-width"]&&(N=S["max-width"]),N<S["min-width"]&&(N=S["min-width"]);let D=S.left-N/2+(d-f)/2;D<2&&(D=2),S.left=D-2}$("#luckysheet-input-box").css(S),$("#luckysheet-rich-text-editor").css(C),t[e][a]&&t[e][a].ct&&t[e][a].ct.t=="d"&&Mf.cellFocus(e,a,t[e][a]),p.rangetosheet=h.currentSheetIndex,p.createRangeHightlight(),p.rangeResizeTo=$("#luckysheet-rich-text-editor"),er()}function Nf(e,a,t){if(e==null||a==null)return;let l=t[e][a];if(l==null)return;let n=l.ht;if(l!=null&&n!="0")return;let o=Pf(e,a,t),s=o.row,u=o.row_pre,d=o.col,f=o.col_pre,m=$(window).height(),g=$(window).width(),y=$("#"+h.container).offset(),v=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),k={"min-width":d-f+1-8,"max-width":g*2/3,left:f+y.left+h.rowHeaderWidth-v-2},x=$("#luckysheet-input-box").width();x>k["max-width"]&&(x=k["max-width"]),x<k["min-width"]&&(x=k["min-width"]);let w=k.left-x/2+(d-f)/2;w<2&&(w=2),k.left=w-2,$("#luckysheet-input-box").css(k)}function Pf(e,a,t){let l=h.visibledatarow[e],n=e-1==-1?0:h.visibledatarow[e-1],o=h.visibledatacolumn[a],s=a-1==-1?0:h.visibledatacolumn[a-1];t==null&&(t=h.flowdata);let u=be.mergeborer(t,e,a);return u&&(l=u.row[1],n=u.row[0],e=u.row[2],o=u.column[1],s=u.column[0],a=u.column[2]),{row:l,row_pre:n,row_index:e,col:o,col_pre:s,col_index:a}}var dn=Ae(()=>{ta();Or();lr();hl();Dn();Ef();dl();Dr();dt();At();Wt();Ir();Vt();sa();Ll();ca();Ke();Zt();Wr()});var Ec={};tp(Ec,{cancelFrozen:()=>Po,cancelRangeMerge:()=>Uf,changLang:()=>P0,checkTheStatusOfTheSelectedCells:()=>Yn,clearCell:()=>dv,clearRange:()=>e0,closeWebsocket:()=>z0,deleteCell:()=>fv,deleteColumn:()=>Tv,deleteDataVerification:()=>D0,deleteImage:()=>F0,deleteRange:()=>t0,deleteRangeConditionalFormat:()=>Qv,deleteRow:()=>Cv,deleteRowOrColumn:()=>Ic,enterEditMode:()=>gv,exitEditMode:()=>pv,find:()=>zf,frozenColumnRange:()=>Hf,frozenFirstColumn:()=>Of,frozenFirstRow:()=>Lf,frozenRowRange:()=>Bf,getAllSheets:()=>Gf,getCellValue:()=>hv,getColumnWidth:()=>Fv,getConfig:()=>$0,getDefaultColWidth:()=>Ev,getDefaultRowHeight:()=>Mv,getImageOption:()=>M0,getLuckysheetfile:()=>I0,getRange:()=>Vf,getRangeArray:()=>Ov,getRangeAxis:()=>Pv,getRangeBoolean:()=>Vv,getRangeByTxt:()=>L0,getRangeDiagonal:()=>Hv,getRangeHtml:()=>Lv,getRangeJson:()=>Bv,getRangeValue:()=>zv,getRangeValuesWithFlatte:()=>Nv,getRangeWithFlatten:()=>qc,getRowHeight:()=>qv,getScreenshot:()=>k0,getSheet:()=>T0,getSheetData:()=>S0,getTxtByRange:()=>O0,getWorkbookName:()=>w0,hideColumn:()=>Av,hideGridLines:()=>g0,hideRow:()=>Sv,hideRowOrColumn:()=>Rc,insertColumn:()=>wv,insertColumnRight:()=>_v,insertImage:()=>q0,insertRow:()=>kv,insertRowBottom:()=>xv,insertRowBottomOrColumnRight:()=>Ac,insertRowOrColumn:()=>$c,matrixCalculation:()=>l0,matrixOperation:()=>r0,pagerInit:()=>Fc,redo:()=>C0,refresh:()=>y0,refreshFormula:()=>B0,refreshMenuButtonFocus:()=>Mc,replace:()=>mv,resize:()=>b0,scroll:()=>v0,setBothFrozen:()=>bv,setCellFormat:()=>Sc,setCellValue:()=>Wn,setColumnWidth:()=>Dv,setConfig:()=>A0,setDataVerification:()=>R0,setHorizontalFrozen:()=>yv,setRangeConditionalFormat:()=>Jv,setRangeConditionalFormatDefault:()=>Zv,setRangeFilter:()=>Wv,setRangeFormat:()=>Gv,setRangeMerge:()=>Yv,setRangeShow:()=>jv,setRangeSort:()=>Xv,setRangeSortMulti:()=>Kv,setRangeValue:()=>Uv,setRowHeight:()=>Rv,setSheetActive:()=>c0,setSheetAdd:()=>a0,setSheetColor:()=>h0,setSheetCopy:()=>i0,setSheetDelete:()=>n0,setSheetHide:()=>o0,setSheetMove:()=>d0,setSheetName:()=>u0,setSheetOrder:()=>f0,setSheetShow:()=>s0,setSheetZoom:()=>m0,setSingleRangeFormat:()=>jf,setVerticalFrozen:()=>vv,setWorkbookName:()=>x0,showColumn:()=>Iv,showGridLines:()=>p0,showRow:()=>$v,showRowOrColumn:()=>Dc,toJson:()=>zo,transToCellData:()=>E0,transToData:()=>N0,undo:()=>_0,updataSheet:()=>H0});function hv(e,a,t={}){if(!L(e)||!L(a))return j.info("Arguments row or column cannot be null or undefined.","");let l=Z(h.currentSheetIndex),{type:n="v",order:o=l}=Ve({},t),u=h.luckysheetfile[o].data[e][a],d;return P(u)=="object"&&(d=u[n],n=="f"&&d!=null?d=p.functionHTMLGenerate(d):n=="f"?d=u.v:u&&u.ct&&u.ct.fa=="yyyy-MM-dd"&&(d=u.m)),d==null&&(d=null),d}function Wn(e,a,t,l={}){let n=h.flowdata[e][a],o=JSON.stringify(n);if(!L(e)||!L(a))return j.info("The row or column parameter is invalid.","");let{order:s=Z(h.currentSheetIndex),isRefresh:u=!0,success:d}=Ve({},l),f=h.luckysheetfile[s];if(f==null)return j.info("The order parameter is invalid.","");if(!ut.createHookFunction("cellUpdateBefore",e,a,t,u))return;let m=f.data;u&&(m=$.extend(!0,[],f.data)),m.length==0&&(m=ye.buildGridData(f));let g={bg:1,ff:1,fc:1,bl:1,it:1,fs:1,cl:1,un:1,vt:1,ht:1,mc:1,tr:1,tb:1,rt:1,qp:1};if(t==null||t.toString().length==0)p.delFunctionGroup(e,a),Ot(e,a,m,t);else if(t instanceof Object){let y={};de(m[e][a])&&(m[e][a]={});let v=m[e][a];t.f!=null&&t.v==null?(y.f=t.f,t.ct!=null&&(y.ct=t.ct),m=p.updatecell(e,a,y,!1).data):(t.ct!=null&&(y.ct=t.ct),t.f!=null&&(y.f=t.f),t.v!=null?y.v=t.v:y.v=v.v,t.m!=null&&(y.m=t.m),p.delFunctionGroup(e,a),Ot(e,a,m,y));for(let b in t){let k=t[b];b in g?be.updateFormatCell(m,b,k,e,e,a,a):v[b]=k}m[e][a]=v}else t.toString().substr(0,1)=="="||t.toString().substr(0,5)=="<span"?m=p.updatecell(e,a,t,!1).data:(p.delFunctionGroup(e,a),Ot(e,a,m,t));setTimeout(()=>{ut.createHookFunction("cellUpdated",e,a,JSON.parse(o),h.flowdata[e][a],u)},0),f.index==h.currentSheetIndex&&u?Ze(m,[{row:[e,e],column:[a,a]}]):f.data=m,d&&typeof d=="function"&&d(m)}function dv(e,a,t={}){if(!L(e)||!L(a))return j.info("Arguments row and column cannot be null or undefined.","");let l=Z(h.currentSheetIndex),{order:n=l,success:o}=Ve({},t),s=$.extend(!0,[],h.luckysheetfile[n].data),u=s[e][a];P(u)=="object"?(delete u.m,delete u.v,u.f!=null&&(delete u.f,p.delFunctionGroup(e,a,n),delete u.spl)):u=null,n===l?Ze(s,[{row:[e,e],column:[a,a]}]):h.luckysheetfile[n].data=s,o&&typeof o=="function"&&o(u)}function fv(e,a,t,l={}){if(!e||["left","up"].indexOf(e)<0)return j.info("Arguments move cannot be null or undefined and its value must be 'left' or 'up'","");if(!L(a)||!L(t))return j.info("Arguments row and column cannot be null or undefined.","");let o=Z(h.currentSheetIndex),{order:s=o,success:u}=Ve({},l),d="move"+e.replace(e[0],e[0].toUpperCase()),f;s&&h.luckysheetfile[s]&&(f=h.luckysheetfile[s].index),rn(d,a,a,t,t,f),u&&typeof u=="function"&&u()}function Sc(e,a,t,l,n={}){if(!L(e)||!L(a))return j.info("Arguments row or column cannot be null or undefined.","");if(!t)return j.info("Arguments attr cannot be null or undefined.","");let o=Z(h.currentSheetIndex),{order:s=o,success:u}=Ve({},n),d=h.luckysheetfile[s];if(d==null)return j.info("The order parameter is invalid.","");let f=$.extend(!0,[],d.data);f.length==0&&(f=ye.buildGridData(d));let m=f[e][a]||{},g=$.extend(!0,{},d.config);if(t=="ct"&&(!l||!l.hasOwnProperty("fa")||!l.hasOwnProperty("t")))return new TypeError("While set attribute 'ct' to cell, the value must have property 'fa' and 't'");if(t=="bd"){g.borderInfo==null&&(g.borderInfo=[]);let y=Ve({rangeType:"range",borderType:"border-all",color:"#000",style:"1",range:[{column:[a,a],row:[e,e]}]},l);g.borderInfo.push(y)}else m[t]=l;f[e][a]=m,d.index==h.currentSheetIndex?(d.config=g,h.config=g,Ze(f,[{row:[e,e],column:[a,a]}])):(d.config=g,d.data=f),u&&typeof u=="function"&&u(m)}function zf(e,a={}){if(!e&&e!=0)return j.info("Search content cannot be null or empty","");let t=Z(h.currentSheetIndex),{isRegularExpression:l=!1,isWholeWord:n=!1,isCaseSensitive:o=!1,order:s=t,type:u="m"}=Ve({},a),d=h.luckysheetfile[s].data,f=[];for(let m=0;m<d.length;m++){let g=d[m];for(let y=0;y<g.length;y++){let v=g[y];if(!!v)if(v.row=m,v.column=y,n)o?e.toString()==v[u]&&f.push(v):v[u]&&e.toString().toLowerCase()==v[u].toLowerCase()&&f.push(v);else if(l){let b;o?b=new RegExp(q.getRegExpStr(e),"g"):b=new RegExp(q.getRegExpStr(e),"ig"),b.test(v[u])&&f.push(v)}else o?new RegExp(q.getRegExpStr(e),"g").test(v[u])&&f.push(v):new RegExp(q.getRegExpStr(e),"ig").test(v[u])&&f.push(v)}}return f}function mv(e,a,t={}){let l=zf(e,t),n=Z(h.currentSheetIndex),{order:o=n}=Ve({},t),s=h.luckysheetfile[o];if(s==null)return j.info("The order parameter is invalid.","");let u=$.extend(!0,[],s.data);l.forEach(f=>{f.m=a,Wn(f.row,f.column,a,{order:o,isRefresh:!1})});let d=$.extend(!0,[],s.data);return s.data.length=0,s.data.push(...u),s.index==h.currentSheetIndex&&Ze(d,void 0,void 0,!0,!1),Le(),t.success&&typeof t.success=="function"&&t.success(l),l}function pv(e={}){parseInt($("#luckysheet-input-box").css("top"))>0&&($("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_save=[{row:[h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[0]],column:[h.luckysheetCellUpdate[1],h.luckysheetCellUpdate[1]],row_focus:h.luckysheetCellUpdate[0],column_focus:h.luckysheetCellUpdate[1]}]),$("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide()),e.success&&typeof e.success=="function"&&e.success()}function gv(e={}){if(!$("#luckysheet-conditionformat-dialog").is(":visible")){if($("#luckysheet-cell-selected").is(":visible")){let a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=a.row_focus,l=a.column_focus;Ar(t,l,h.flowdata)}e.success&&typeof e.success=="function"&&e.success()}}function Lf(e){if(W.saveFrozen("freezenRow",e),!e||e==Z(h.currentSheetIndex)){let a=$("#luckysheet-cell-main").scrollTop(),t=lt(h.visibledatarow,a);t==-1&&(t=0);let l=h.visibledatarow[t]-2-a+h.columnHeaderHeight,n=[h.visibledatarow[t],t+1,a,W.cutVolumn(h.visibledatarow,t+1),l];W.saveFreezen(n,l,null,null),W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.createFreezenHorizontal(n,l),W.createAssistCanvas(),Le()}}function Of(e){if(W.saveFrozen("freezenColumn",e),!e||e==Z(h.currentSheetIndex)){let a=$("#luckysheet-cell-main").scrollLeft(),t=lt(h.visibledatacolumn,a);t==-1&&(t=0);let l=h.visibledatacolumn[t]-2-a+h.rowHeaderWidth,n=[h.visibledatacolumn[t],t+1,a,W.cutVolumn(h.visibledatacolumn,t+1),l];W.saveFreezen(null,null,n,l),W.freezenhorizontaldata!=null&&(W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.createFreezenVertical(n,l),W.createAssistCanvas(),Le()}}function Bf(e,a){let t=Q().freezen;if(!e||!e.hasOwnProperty("row_focus")&&!p.iscelldata(e)){he()?alert(t.noSeletionError):j.info(t.noSeletionError,"");return}if(typeof e=="string"&&p.iscelldata(e)&&(e=p.getcellrange(e),e={row_focus:e.row[0],column_focus:e.column[0]}),W.saveFrozen("freezenRowRange",a,e),!a||a==Z(h.currentSheetIndex)){let l=$("#luckysheet-cell-main").scrollTop(),n=lt(h.visibledatarow,l),o=e.row_focus;o>n&&(n=o),n==-1&&(n=0);let s=h.visibledatarow[n]-2-l+h.columnHeaderHeight,u=[h.visibledatarow[n],n+1,l,W.cutVolumn(h.visibledatarow,n+1),s];W.saveFreezen(u,s,null,null),W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.createFreezenHorizontal(u,s),W.createAssistCanvas(),Le()}}function Hf(e,a){let t=Q().freezen,l=typeof e=="string"&&p.iscelldata(e);if(!e||!e.hasOwnProperty("column_focus")&&!l){he()?alert(t.noSeletionError):j.info(t.noSeletionError,"");return}if(l&&(e=p.getcellrange(e),e={row_focus:e.row[0],column_focus:e.column[0]}),W.saveFrozen("freezenColumnRange",a,e),!a||a==Z(h.currentSheetIndex)){let n=$("#luckysheet-cell-main").scrollLeft(),o=lt(h.visibledatacolumn,n),s=e.column_focus;s>o&&(o=s),o==-1&&(o=0);let u=h.visibledatacolumn[o]-2-n+h.rowHeaderWidth,d=[h.visibledatacolumn[o],o+1,n,W.cutVolumn(h.visibledatacolumn,o+1),u];W.saveFreezen(null,null,d,u),W.freezenhorizontaldata!=null&&(W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.createFreezenVertical(d,u),W.createAssistCanvas(),Le()}}function Po(e){W.saveFrozen("freezenCancel",e),(!e||e==Z(h.currentSheetIndex))&&(W.freezenverticaldata!=null&&W.cancelFreezenVertical(),W.freezenhorizontaldata!=null&&W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le())}function yv(e,a={}){let t=Z(h.currentSheetIndex),{range:l,order:n=t,success:o}=Ve({},a);Po(n),e?Bf(l,n):Lf(n),o&&typeof o=="function"&&o()}function vv(e,a={}){let t=Z(h.currentSheetIndex),{range:l,order:n=t,success:o}=Ve({},a);Po(n),e?Hf(l,n):Of(n),o&&typeof o=="function"&&o()}function bv(e,a={}){let t=Z(h.currentSheetIndex),{range:l,order:n=t,success:o}=Ve({},a),s=!n||n==Z(h.currentSheetIndex),u=Q().freezen;if(Po(n),e){W.saveFrozen("freezenRCRange",n,l);let d=typeof l=="string"&&p.iscelldata(l);if(s){if((!l||!(l.hasOwnProperty("column_focus")&&l.hasOwnProperty("row_focus")))&&!d){he()?alert(u.noSeletionError):j.info(u.noSeletionError,"");return}d&&(l=p.getcellrange(l),l={row_focus:l.row[0],column_focus:l.column[0]});let f=$("#luckysheet-cell-main").scrollTop(),m=lt(h.visibledatarow,f),g=l.row_focus;g>m&&(m=g),m==-1&&(m=0);let y=h.visibledatarow[m]-2-f+h.columnHeaderHeight,v=[h.visibledatarow[m],m+1,f,W.cutVolumn(h.visibledatarow,m+1),y];W.saveFreezen(v,y,null,null),W.createFreezenHorizontal(v,y);let b=$("#luckysheet-cell-main").scrollLeft(),k=lt(h.visibledatacolumn,b),x=l.column_focus;x>k&&(k=x),k==-1&&(k=0);let w=h.visibledatacolumn[k]-2-b+h.rowHeaderWidth,_=[h.visibledatacolumn[k],k+1,b,W.cutVolumn(h.visibledatacolumn,k+1),w];W.saveFreezen(null,null,_,w),W.createFreezenVertical(_,w),W.createAssistCanvas(),Le()}}else if(W.saveFrozen("freezenRC",n),s){let d=$("#luckysheet-cell-main").scrollTop(),f=lt(h.visibledatarow,d);f==-1&&(f=0);let m=h.visibledatarow[f]-2-d+h.columnHeaderHeight,g=[h.visibledatarow[f],f+1,d,W.cutVolumn(h.visibledatarow,f+1),m];W.saveFreezen(g,m,null,null),W.createFreezenHorizontal(g,m);let y=$("#luckysheet-cell-main").scrollLeft(),v=lt(h.visibledatacolumn,y);v==-1&&(v=0);let b=h.visibledatacolumn[v]-2-y+h.rowHeaderWidth,k=[h.visibledatacolumn[v],v+1,y,W.cutVolumn(h.visibledatacolumn,v+1),b];W.saveFreezen(null,null,k,b),W.createFreezenVertical(k,b),W.createAssistCanvas(),Le()}}function $c(e,a=0,t={}){if(!L(a))return j.info("The index parameter is invalid.","");let l=Z(h.currentSheetIndex),{number:n=1,order:o=l,success:s}=Ve({},t),d=Q().info;if(!L(n)){he()?alert(d.tipInputNumber):j.info(d.tipInputNumber,"");return}if(n=parseInt(n),n<1||n>100){he()?alert(d.tipInputNumberLimit):j.info(d.tipInputNumberLimit,"");return}let f;o&&h.luckysheetfile[o]&&(f=h.luckysheetfile[o].index),Cl(e,a,n,"lefttop",f),s&&typeof s=="function"&&s()}function Ac(e,a=0,t={}){if(!L(a))return j.info("The index parameter is invalid.","");let l=Z(h.currentSheetIndex),{number:n=1,order:o=l,success:s}=Ve({},t),d=Q().info;if(!L(n)){he()?alert(d.tipInputNumber):j.info(d.tipInputNumber,"");return}if(n=parseInt(n),n<1||n>100){he()?alert(d.tipInputNumberLimit):j.info(d.tipInputNumberLimit,"");return}let f;o&&h.luckysheetfile[o]&&(f=h.luckysheetfile[o].index),Cl(e,a,n,"rightbottom",f),s&&typeof s=="function"&&s()}function kv(e=0,a={}){$c("row",e,a)}function xv(e=0,a={}){Ac("row",e,a)}function wv(e=0,a={}){$c("column",e,a)}function _v(e=0,a={}){Ac("column",e,a)}function Ic(e,a,t,l={}){if(!L(a)||!L(t))return j.info("Please enter the index for deleting rows or columns correctly.","");let n=Z(h.currentSheetIndex),{order:o=n,success:s}=Ve({},l),u;o&&h.luckysheetfile[o]&&(u=h.luckysheetfile[o].index),Na(e,a,t,u),s&&typeof s=="function"&&s()}function Cv(e,a,t={}){Ic("row",e,a,t)}function Tv(e,a,t={}){Ic("column",e,a,t)}function Rc(e,a,t,l={}){if(!L(a)||!L(t))return j.info("Please enter the index for deleting rows or columns correctly.","");let n=Z(h.currentSheetIndex),{order:o=n,saveParam:s=!0,success:u}=Ve({},l),d=h.luckysheetfile[o],f=e==="row"?"rowhidden":"colhidden",m=$.extend(!0,{},d.config);m[f]==null&&(m[f]={});for(let g=a;g<=t;g++)m[f][g]=0;if(h.clearjfundo){let g={};g.type=e==="row"?"showHidRows":"showHidCols",g.sheetIndex=d.index,g.config=$.extend(!0,{},d.config),g.curconfig=m,h.jfundo.length=0,h.jfredo.push(g)}h.luckysheetfile[o].config=m,s&&re.saveParam("cg",d.index,m[f],{k:f}),o==n&&(h.config=m,_t(h.flowdata.length,h.flowdata[0].length)),u&&typeof u=="function"&&u()}function Dc(e,a,t,l={}){if(!L(a)||!L(t))return j.info("Please enter the index for deleting rows or columns correctly.","");let n=Z(h.currentSheetIndex),{order:o=n,saveParam:s=!0,success:u}=Ve({},l),d=h.luckysheetfile[o],f=e==="row"?"rowhidden":"colhidden",m=$.extend(!0,{},d.config);if(m[f]!=null){for(let g=a;g<=t;g++)delete m[f][g];if(h.clearjfundo){let g={};g.type=e==="row"?"showHidRows":"showHidCols",g.sheetIndex=d.index,g.config=$.extend(!0,{},d.config),g.curconfig=m,h.jfundo.length=0,h.jfredo.push(g)}h.luckysheetfile[o].config=h.config,s&&re.saveParam("cg",d.index,m[f],{k:f}),o===n&&(h.config=m,_t(h.flowdata.length,h.flowdata[0].length)),u&&typeof u=="function"&&u()}}function Sv(e,a,t={}){Rc("row",e,a,t)}function $v(e,a,t={}){Dc("row",e,a,t)}function Av(e,a,t={}){Rc("column",e,a,t)}function Iv(e,a,t={}){Dc("column",e,a,t)}function Rv(e,a={}){if(P(e)!="object")return j.info("The rowInfo parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=$.extend(!0,{},n.config);o.rowlen==null&&(o.rowlen={});for(let s in e)if(parseInt(s)>=0){let u=e[s];u==="auto"?o.rowlen[parseInt(s)]=u:Number(u)>=0&&(o.rowlen[parseInt(s)]=Number(u))}n.config=o,re.saveParam("cg",n.index,o.rowlen,{k:"rowlen"}),n.index==h.currentSheetIndex&&(h.config=o,_t(h.flowdata.length,h.flowdata[0].length)),l&&typeof l=="function"&&l()}function Dv(e,a={}){if(P(e)!="object")return j.info("The columnInfo parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=$.extend(!0,{},n.config);o.columnlen==null&&(o.columnlen={});for(let s in e)if(parseInt(s)>=0){let u=e[s];u==="auto"?o.columnlen[parseInt(s)]=u:Number(u)>=0&&(o.columnlen[parseInt(s)]=Number(u))}n.config=o,re.saveParam("cg",n.index,o.columnlen,{k:"columnlen"}),n.index==h.currentSheetIndex&&(h.config=o,_t(h.flowdata.length,h.flowdata[0].length)),l&&typeof l=="function"&&l()}function qv(e,a={}){if(P(e)!="array"||e.length==0)return j.info("The rowInfo parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let s=$.extend(!0,{},n.config).rowlen||{},u={};return e.forEach(d=>{if(parseInt(d)>=0){let f=s[parseInt(d)]||h.defaultrowlen;u[parseInt(d)]=f}}),setTimeout(()=>{l&&typeof l=="function"&&l()},1),u}function Fv(e,a={}){if(P(e)!="array"||e.length==0)return j.info("The columnInfo parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let s=$.extend(!0,{},n.config).columnlen||{},u={};return e.forEach(d=>{if(parseInt(d)>=0){let f=s[parseInt(d)]||h.defaultcollen;u[parseInt(d)]=f}}),setTimeout(()=>{l&&typeof l=="function"&&l()},1),u}function Mv(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),h.luckysheetfile[a].defaultRowHeight}function Ev(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),h.luckysheetfile[a].defaultColWidth}function Vf(){let e=JSON.parse(JSON.stringify(h.luckysheet_select_save)),a=[];for(let t=0;t<e.length;t++){let l=e[t],n={row:l.row,column:l.column};a.push(n)}return a}function qc(e){e=e||Vf();let a=[];return e.forEach(t=>{let l=t.row,n=t.column;for(let o=l[0];o<=l[1];o++)for(let s=n[0];s<=n[1];s++)a.push({r:o,c:s})}),a}function Nv(e){e=e||qc();let a=[];return e.forEach(t=>{a.push(h.flowdata[t.r][t.c])}),a}function Pv(){let e=[],a=JSON.parse(JSON.stringify(h.luckysheet_select_save)),t=h.currentSheetIndex;return a.forEach(l=>{let n=kt(t,{column:l.column,row:l.row});e.push(n)}),e}function zv(e={}){let a=Z(h.currentSheetIndex),{range:t,order:l=a}=Ve({},e),n=h.luckysheetfile[l];if(!t||typeof t=="object")return Dt(t,n.index);if(typeof t=="string"){if(p.iscelldata(t))return Dt(p.getcellrange(t),n.index);j.info("The range is invalid, please check range parameter.","")}}function Lv(e={}){let{range:a=h.luckysheet_select_save,order:t=Z(h.currentSheetIndex),success:l}=Ve({},e);if(a=JSON.parse(JSON.stringify(a)),P(a)=="string"){if(!p.iscelldata(a))return j.info("The range parameter is invalid.","");let v=p.getcellrange(a);a=[{row:v.row,column:v.column}]}else if(P(a)=="object"){if(a.row==null||a.column==null)return j.info("The range parameter is invalid.","");a=[{row:a.row,column:a.column}]}if(P(a)!="array")return j.info("The range parameter is invalid.","");let n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=$.extend(!0,{},n.config);if(o.merge!=null){let v=!1;for(let b=0;b<a.length;b++){let k=a[b].row[0],x=a[b].row[1],w=a[b].column[0],_=a[b].column[1];if(v=Nt(o,k,x,w,_),v)break}if(v)return j.info("Cannot perform this operation on partially merged cells","")}let s=$.extend(!0,[],n.luckysheet_conditionformat_save);if(a.length>1&&s.length>0){let v=!1,b=$e.getComputeMap(n.index);for(let k=0;k<a.length;k++){let x=a[k].row[0],w=a[k].row[1],_=a[k].column[0],S=a[k].column[1];for(let C=x;C<=w;C++){for(let T=_;T<=S;T++)if($e.checksCF(C,T,b)!=null){v=!0;break}if(v)break}if(v)break}if(v)return j.info("Cannot perform this operation on multiple selection areas, please select a single area","")}if(a.length>1){let v=!0,b=a[0].row[0],k=a[0].row[1],x=!0,w=a[0].column[0],_=a[0].column[1];for(let S=1;S<a.length;S++)(a[S].row[0]!=b||a[S].row[1]!=k)&&(v=!1),(a[S].column[0]!=w||a[S].column[1]!=_)&&(x=!1);if(!v&&!x||jl(a))return j.info("Cannot perform this operation on multiple selection areas, please select a single area","")}let u=[],d=[];for(let v=0;v<a.length;v++){let b=a[v].row[0],k=a[v].row[1],x=a[v].column[0],w=a[v].column[1];for(let _=b;_<=k;_++)if(!(o.rowhidden!=null&&o.rowhidden[_]!=null)){u.includes(_)||u.push(_);for(let S=x;S<=w;S++)o.colhidden!=null&&o.colhidden[S]!=null||d.includes(S)||d.push(S)}}let f;o.borderInfo&&o.borderInfo.length>0&&(f=Vl(n.index));let m=n.data;(m==null||m.length==0)&&(m=ye.buildGridData(n));let g="",y="";u=u.sort((v,b)=>v-b),d=d.sort((v,b)=>v-b);for(let v=0;v<u.length;v++){let b=u[v];if(!(o.rowhidden!=null&&o.rowhidden[b]!=null)){g+="<tr>";for(let k=0;k<d.length;k++){let x=d[k];if(o.colhidden!=null&&o.colhidden[x]!=null)continue;let w='<td ${span} style="${style}">';if(m[b]!=null&&m[b][x]!=null){let _="",S="";b==u[0]&&(o.columnlen==null||o.columnlen[x.toString()]==null?y+='<colgroup width="72px"></colgroup>':y+='<colgroup width="'+o.columnlen[x.toString()]+'px"></colgroup>'),x==d[0]&&(o.rowlen==null||o.rowlen[b.toString()]==null?_+="height:19px;":_+="height:"+o.rowlen[b.toString()]+"px;");let C=/^(w|W)((0?)|(0\.0+))$/,T;if(m[b][x].ct!=null&&m[b][x].ct.fa!=null&&m[b][x].ct.fa.match(C)?T=ze(b,x,m):T=ze(b,x,m,"m"),_+=be.getStyleByCell(m,b,x),P(m[b][x])=="object"&&"mc"in m[b][x])if("rs"in m[b][x].mc){if(S='rowspan="'+m[b][x].mc.rs+'" colspan="'+m[b][x].mc.cs+'"',f&&f[b+"_"+x]){let R={color:{},style:{}},I={color:{},style:{}},A={color:{},style:{}},E={color:{},style:{}};for(let F=b;F<b+m[b][x].mc.rs;F++)for(let M=x;M<x+m[b][x].mc.cs;M++){if(F==b&&f[F+"_"+M]&&f[F+"_"+M].t){let z=f[F+"_"+M].t.style,O=f[F+"_"+M].t.color;A.style[z]==null?A.style[z]=1:A.style[z]=A.style[z]+1,A.color[O]==null?A.color[O]=1:A.color[O]=A.color[O]+1}if(F==b+m[b][x].mc.rs-1&&f[F+"_"+M]&&f[F+"_"+M].b){let z=f[F+"_"+M].b.style,O=f[F+"_"+M].b.color;E.style[z]==null?E.style[z]=1:E.style[z]=E.style[z]+1,E.color[O]==null?E.color[O]=1:E.color[O]=E.color[O]+1}if(M==x&&f[F+"_"+M]&&f[F+"_"+M].l){let z=f[b+"_"+x].l.style,O=f[F+"_"+M].l.color;R.style[z]==null?R.style[z]=1:R.style[z]=R.style[z]+1,R.color[O]==null?R.color[O]=1:R.color[O]=R.color[O]+1}if(M==x+m[b][x].mc.cs-1&&f[F+"_"+M]&&f[F+"_"+M].r){let z=f[F+"_"+M].r.style,O=f[F+"_"+M].r.color;I.style[z]==null?I.style[z]=1:I.style[z]=I.style[z]+1,I.color[O]==null?I.color[O]=1:I.color[O]=I.color[O]+1}}let N=m[b][x].mc.rs,D=m[b][x].mc.cs;if(JSON.stringify(R).length>23){let F=null,M=null;for(let z in R.color)R.color[z]>=N/2&&(F=z);for(let z in R.style)R.style[z]>=N/2&&(M=z);F!=null&&M!=null&&(_+="border-left:"+wt.getHtmlBorderStyle(M,F))}if(JSON.stringify(I).length>23){let F=null,M=null;for(let z in I.color)I.color[z]>=N/2&&(F=z);for(let z in I.style)I.style[z]>=N/2&&(M=z);F!=null&&M!=null&&(_+="border-right:"+wt.getHtmlBorderStyle(M,F))}if(JSON.stringify(A).length>23){let F=null,M=null;for(let z in A.color)A.color[z]>=D/2&&(F=z);for(let z in A.style)A.style[z]>=D/2&&(M=z);F!=null&&M!=null&&(_+="border-top:"+wt.getHtmlBorderStyle(M,F))}if(JSON.stringify(E).length>23){let F=null,M=null;for(let z in E.color)E.color[z]>=D/2&&(F=z);for(let z in E.style)E.style[z]>=D/2&&(M=z);F!=null&&M!=null&&(_+="border-bottom:"+wt.getHtmlBorderStyle(M,F))}}}else continue;else if(f&&f[b+"_"+x]){if(f[b+"_"+x].l){let R=f[b+"_"+x].l.style,I=f[b+"_"+x].l.color;_+="border-left:"+wt.getHtmlBorderStyle(R,I)}if(f[b+"_"+x].r){let R=f[b+"_"+x].r.style,I=f[b+"_"+x].r.color;_+="border-right:"+wt.getHtmlBorderStyle(R,I)}if(f[b+"_"+x].b){let R=f[b+"_"+x].b.style,I=f[b+"_"+x].b.color;_+="border-bottom:"+wt.getHtmlBorderStyle(R,I)}if(f[b+"_"+x].t){let R=f[b+"_"+x].t.style,I=f[b+"_"+x].t.color;_+="border-top:"+wt.getHtmlBorderStyle(R,I)}}w=we(w,{style:_,span:S}),T==null&&(T=ze(b,x,m)),T==null&&(T=" "),w+=T}else{let _="";if(f&&f[b+"_"+x]){if(f[b+"_"+x].l){let S=f[b+"_"+x].l.style,C=f[b+"_"+x].l.color;_+="border-left:"+wt.getHtmlBorderStyle(S,C)}if(f[b+"_"+x].r){let S=f[b+"_"+x].r.style,C=f[b+"_"+x].r.color;_+="border-right:"+wt.getHtmlBorderStyle(S,C)}if(f[b+"_"+x].b){let S=f[b+"_"+x].b.style,C=f[b+"_"+x].b.color;_+="border-bottom:"+wt.getHtmlBorderStyle(S,C)}if(f[b+"_"+x].t){let S=f[b+"_"+x].t.style,C=f[b+"_"+x].t.color;_+="border-top:"+wt.getHtmlBorderStyle(S,C)}}w+="",b==u[0]&&(o.columnlen==null||o.columnlen[x.toString()]==null?y+='<colgroup width="72px"></colgroup>':y+='<colgroup width="'+o.columnlen[x.toString()]+'px"></colgroup>'),x==d[0]&&(o.rowlen==null||o.rowlen[b.toString()]==null?_+="height:19px;":_+="height:"+o.rowlen[b.toString()]+"px;"),w=we(w,{style:_,span:""}),w+=" "}w+="</td>",g+=w}g+="</tr>"}}return g='<table data-type="luckysheet_copy_action_table">'+y+g+"</table>",g}function Ov(e,a={}){if(!["oneDimensional","twoDimensional"].includes(e))return j.info("The dimensional parameter is invalid.","");let{range:l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:n=Z(h.currentSheetIndex)}=Ve({},a),o=h.luckysheetfile[n];if(o==null)return j.info("The order parameter is invalid.","");if(P(l)=="string"){if(!p.iscelldata(l))return j.info("The range parameter is invalid.","");l=p.getcellrange(l)}if(P(l)!="object"||l.row==null||l.column==null)return j.info("The range parameter is invalid.","");let s=l.row[0],u=l.row[1],d=l.column[0],f=l.column[1],m=$.extend(!0,{},o.config);if(m.merge!=null&&Nt(m,s,u,d,f))return j.info("Cannot perform this operation on partially merged cells","");let g=o.data;(g==null||g.length==0)&&(g=ye.buildGridData(o));let y=[];if(e=="oneDimensional")for(let v=s;v<=u;v++)for(let b=d;b<=f;b++){let k=g[v][b];k==null||k.v==null?y.push(null):y.push(k.v)}else if(e=="twoDimensional")for(let v=s;v<=u;v++){let b=[];for(let k=d;k<=f;k++){let x=g[v][k];x==null||x.v==null?b.push(null):b.push(x.v)}y.push(b)}return y}function Bv(e,a={}){let t=h.luckysheet_select_save[0],l=Z(h.currentSheetIndex),{range:n=t,order:o=l}=Ve({},a),s=h.luckysheetfile[o],u=s.config;if(n&&typeof n=="string"&&p.iscelldata(n)&&(n=p.getcellrange(n)),!n||n.length>1){he()?alert(locale_drag.noMulti):j.info(locale_drag.noMulti,"");return}if(u.merge!=null){let m=!1,g=n.row[0],y=n.row[1],v=n.column[0],b=n.column[1];if(m=Nt(u,g,y,v,b),m){he()?alert(Q().drag.noPartMerge):j.info(Q().drag.noPartMerge,"");return}}let d=Dt(n,s.index),f=[];if(d.length!==0){if(e)if(d.length===1){let m={};for(let g=0;g<d[0].length;g++)m[ze(0,g,d)]="";f.push(m)}else for(let m=1;m<d.length;m++){let g={};for(let y=0;y<d[0].length;y++)ze(0,y,d)==null?g[""]=ze(m,y,d):g[ze(0,y,d)]=ze(m,y,d);f.push(g)}else{let m=n.column[0];for(let g=0;g<d.length;g++){let y={};for(let v=0;v<d[0].length;v++)y[tt(v+m)]=ze(g,v,d);f.push(y)}}return f}}function Hv(e,a={}){if(["normal","anti","offset"].indexOf(e)<0)return j.info("The type parameter must be included in ['normal', 'anti', 'offset']","");let l=Z(h.currentSheetIndex),n=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{column:o=1,range:s=n,order:u=l}=Ve({},a),f=h.luckysheetfile[u].config;if(s&&typeof s=="string"&&p.iscelldata(s)&&(s=p.getcellrange(s)),!s||s.length>1){he()?alert(Q().drag.noMulti):j.info(Q().drag.noMulti,"");return}if(f.merge!=null){let v=!1,b=s[0].row[0],k=s[0].row[1],x=s[0].column[0],w=s[0].column[1];if(v=Nt(f,b,k,x,w),v){he()?alert(Q().drag.noPartMerge):j.info(Q().drag.noPartMerge,"");return}}let m=Dt(s,u),g=[];if(m.length===0)return;let y=m[0].length;switch(e){case"normal":for(let v=0;v<m.length&&!(v>=y);v++)g.push(m[v][v]);break;case"anti":for(let v=0;v<m.length&&!(v>=y);v++)g.push(m[v][y-v-1]);break;case"offset":if(o.toString()=="NaN"){he()?alert(Q().drag.inputCorrect):j.info(Q().drag.inputCorrect,"");return}if(o<0){he()?alert(Q().drag.offsetColumnLessZero):j.info(Q().drag.offsetColumnLessZero,"");return}for(let v=0;v<m.length&&!(v+o>=y);v++)g.push(m[v][v+o]);break}wt.copybyformat(new Event,JSON.stringify(g))}function Vv(e={}){let a=Z(h.currentSheetIndex),t=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{range:l=t,order:n=a}=Ve({},e),s=h.luckysheetfile[n].config;if(l&&typeof l=="string"&&p.iscelldata(l)&&(l=p.getcellrange(l)),!l||l.length>1){he()?alert(Q().drag.noMulti):j.info(Q().drag.noMulti,"");return}if(s.merge!=null){let f=!1,m=l[0].row[0],g=l[0].row[1],y=l[0].column[0],v=l[0].column[1];if(f=Nt(s,m,g,y,v),f){he()?alert(Q().drag.noPartMerge):j.info(Q().drag.noPartMerge,"");return}}let u=Dt(l,n),d=[];if(u.length!==0){for(let f=0;f<u.length;f++){let m=[];for(let g=0;g<u[0].length;g++){let y=!1,v;P(u[f][g])=="object"?v=u[f][g].v:v=u[f][g],v==null||v==""?y=!1:(v=parseInt(v),v==null||v>0?y=!0:y=!1),m.push(y)}d.push(m)}wt.copybyformat(event,JSON.stringify(d))}}function jv(e,a={}){if(P(e)=="string"){if(!p.iscelldata(e))return j.info("The range parameter is invalid.","");let s=p.getcellrange(e);e=[{row:s.row,column:s.column}]}else if(P(e)=="object"){if(e.row==null||e.column==null)return j.info("The range parameter is invalid.","");e=[{row:e.row,column:e.column}]}if(P(e)=="array"){for(let s=0;s<e.length;s++)if(P(e[s])==="string"){if(!p.iscelldata(e[s]))return j.info("The range parameter is invalid.","");let u=p.getcellrange(e[s]);e[s]={row:u.row,column:u.column}}else if(P(e)=="object"){if(e.row==null||e.column==null)return j.info("The range parameter is invalid.","");e={row:e.row,column:e.column}}}if(P(e)!="array")return j.info("The range parameter is invalid.","");let{show:t=!0,order:l=Z(h.currentSheetIndex),success:n}=Ve({},a),o=h.luckysheetfile[l];if(o==null)return j.info("The order parameter is invalid.","");for(let s=0;s<e.length;s++){let u=be.mergeMoveMain(e[s].column,e[s].row,e[s]);u&&(e[s]={row:u[1],column:u[0]})}o.luckysheet_select_save=e,o.index==h.currentSheetIndex&&(h.luckysheet_select_save=e,et(),t||($("#luckysheet-cell-selected-boxs").hide(),$("#luckysheet-cell-selected-focus").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-rows-h-selected").empty(),$("#luckysheet-cols-h-selected").empty())),n&&typeof n=="function"&&n()}function Uv(e,a={}){let t=Z(h.currentSheetIndex),l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],{range:n=l,isRefresh:o=!0,order:s=t,success:u}=Ve({},a);if(e==null)return j.info("The data which will be set to range cannot be null.","");if(n instanceof Array)return j.info("setRangeValue only supports a single selection.","");typeof n=="string"&&p.iscelldata(n)&&(n=p.getcellrange(n));let d=n.row[1]-n.row[0]+1,f=n.column[1]-n.column[0]+1;if(e.length!==d||e[0].length!==f)return j.info("The data to be set does not match the selection.","");let m=h.luckysheetfile[s];if(m==null)return j.info("The order parameter is invalid.","");let g=$.extend(!0,[],m.data);for(let v=0;v<d;v++)for(let b=0;b<f;b++){let k=n.row[0]+v,x=n.column[0]+b;Wn(k,x,e[v][b],{order:s,isRefresh:!1})}let y=$.extend(!0,[],m.data);m.data.length=0,m.data.push(...g),m.index==h.currentSheetIndex&&Ze(y,[{row:n.row,column:n.column}],void 0,!0,!1),o&&Le(),u&&typeof u=="function"&&u()}function jf(e,a,t={}){let l=Z(h.currentSheetIndex),n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],{range:o=n,order:s=l}=Ve({},t);if(!e)return j.info("Arguments attr cannot be null or undefined.",""),"error";if(o instanceof Array)return j.info("setRangeValue only supports a single selection.",""),"error";if(P(o)=="string"){if(!p.iscelldata(o))return j.info("The range parameter is invalid.",""),"error";o=p.getcellrange(o)}if(P(o)!="object"||o.row==null||o.column==null)return j.info("The range parameter is invalid.",""),"error";for(let u=o.row[0];u<=o.row[1];u++)for(let d=o.column[0];d<=o.column[1];d++)console.log("r",u),console.log("c",d),Wn(u,d,{[e]:a},{order:s,isRefresh:!1})}function Gv(e,a,t={}){let l=Z(h.currentSheetIndex),n=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{range:o=n,order:s=l,success:u}=Ve({},t);if(P(o)=="string"){if(!p.iscelldata(o))return j.info("The range parameter is invalid.","");let g=p.getcellrange(o);o=[{row:g.row,column:g.column}]}else if(P(o)=="object"){if(o.row==null||o.column==null)return j.info("The range parameter is invalid.","");o=[{row:o.row,column:o.column}]}if(P(o)!="array")return j.info("The range parameter is invalid.","");let d=h.luckysheetfile[s],f=[];for(let g=0;g<o.length;g++)f.push(jf(e,a,{range:o[g],order:s}));if(f.some(g=>g==="error"))return d.data.length=0,d.data.push(...sheetData),!1;let m=$.extend(!0,[],d.data);d.data.length=0,d.data.push(...sheetData),d.index==h.currentSheetIndex&&Ze(m,void 0,void 0,!0,!1),Le(),u&&typeof u=="function"}function Wv(e,a={}){if(!["open","close"].includes(e))return j.info("The type parameter is invalid.","");let{range:l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:n=Z(h.currentSheetIndex),success:o}=Ve({},a),s=h.luckysheetfile[n];if(s==null)return j.info("The order parameter is invalid.","");if(P(l)=="string"){if(!p.iscelldata(l))return j.info("The range parameter is invalid.","");l=p.getcellrange(l)}if(P(l)!="object"||l.row==null||l.column==null)return j.info("The range parameter is invalid.","");if(setTimeout(()=>{o&&typeof o=="function"&&o()},1),e=="open")return s.filter_select=l,s.index==h.currentSheetIndex&&Rr(l,s.filter),{row:l.row,column:l.column};if(e=="close"){let u=$.extend(!0,{},s.filter_select);return s.filter_select=null,$("#luckysheet-filter-selected-sheet"+s.index).remove(),$("#luckysheet-filter-options-sheet"+s.index).remove(),{row:u.row,column:u.column}}}function Yv(e,a={}){if(["all","horizontal","vertical"].indexOf(e)<0)return j.info("The type parameter must be included in ['all', 'horizontal', 'vertical']","");let l=Z(h.currentSheetIndex),n=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{range:o=n,order:s=l,success:u}=Ve({},a),d=h.luckysheetfile[s],f=$.extend(!0,{},d.config),m=$.extend(!0,[],d.data);if(m.length==0&&(m=$.extend(!0,[],ye.buildGridData(d))),P(o)=="string"){if(!p.iscelldata(o))return j.info("Incorrect selection format","");let y=p.getcellrange(o);o=[{row:y.row,column:y.column}]}else if(P(o)=="object"){if(!o.hasOwnProperty("row")||!o.hasOwnProperty("column"))return j.info("Incorrect selection format","");o=[{row:o.row,column:o.column}]}if(jl(o))return j.info("Cannot merge overlapping range","");if(f.merge!=null){let y=!1;for(let v=0;v<o.length;v++){let b=o[v].row[0],k=o[v].row[1],x=o[v].column[0],w=o[v].column[1];if(y=Nt(f,b,k,x,w),y)break}if(y)return j.info("Cannot perform this operation on partially merged cells","")}else f.merge={};let g=!1;for(let y=0;y<o.length;y++){let v=o[y].row[0],b=o[y].row[1],k=o[y].column[0],x=o[y].column[1];for(let w=v;w<=b;w++){for(let _=k;_<=x;_++){let S=m[w][_];if(P(S)=="object"&&"mc"in S){g=!0;break}}if(g)break}}if(g)Uf({range:o,order:s});else{for(let y=0;y<o.length;y++){let v=o[y].row[0],b=o[y].row[1],k=o[y].column[0],x=o[y].column[1];if(!(v==b&&k==x)){if(e=="all"){let w={},_=!1;for(let S=v;S<=b;S++)for(let C=k;C<=x;C++){let T=m[S][C];T!=null&&(!de(T.v)||T.f!=null)&&!_&&(w=$.extend(!0,{},T),_=!0),m[S][C]={mc:{r:v,c:k}}}m[v][k]=w,m[v][k].mc={r:v,c:k,rs:b-v+1,cs:x-k+1},f.merge[v+"_"+k]={r:v,c:k,rs:b-v+1,cs:x-k+1}}else if(e=="vertical")for(let w=k;w<=x;w++){let _={},S=!1;for(let C=v;C<=b;C++){let T=m[C][w];T!=null&&(!de(T.v)||T.f!=null)&&!S&&(_=$.extend(!0,{},T),S=!0),m[C][w]={mc:{r:v,c:w}}}m[v][w]=_,m[v][w].mc={r:v,c:w,rs:b-v+1,cs:1},f.merge[v+"_"+w]={r:v,c:w,rs:b-v+1,cs:1}}else if(e=="horizontal")for(let w=v;w<=b;w++){let _={},S=!1;for(let C=k;C<=x;C++){let T=m[w][C];T!=null&&(!de(T.v)||T.f!=null)&&!S&&(_=$.extend(!0,{},T),S=!0),m[w][C]={mc:{r:w,c:k}}}m[w][k]=_,m[w][k].mc={r:w,c:k,rs:1,cs:x-k+1},f.merge[w+"_"+k]={r:w,c:k,rs:1,cs:x-k+1}}}}s==l?(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"mergeChange",sheetIndex:d.index,data:$.extend(!0,[],d.data),curData:m,range:o,config:$.extend(!0,{},d.config),curConfig:f})),h.clearjfundo=!1,Ze(m,o,{cfg:f}),h.clearjfundo=!0):(d.data=m,d.config=f)}u&&typeof u=="function"&&u()}function Uf(e={}){let a=h.luckysheet_select_save,t=Z(h.currentSheetIndex),{range:l=a,order:n=t,success:o}=Ve({},e),s=h.luckysheetfile[n],u=$.extend(!0,{},s.config),d=$.extend(!0,[],s.data);if(d.length==0&&(d=$.extend(!0,[],ye.buildGridData(s))),P(l)=="string"){if(!p.iscelldata(l))return j.info("Incorrect selection format","");let f=p.getcellrange(l);l=[{row:f.row,column:f.column}]}else if(P(l)=="object"){if(!l.hasOwnProperty("row")||!l.hasOwnProperty("column"))return j.info("Incorrect selection format","");l=[{row:l.row,column:l.column}]}if(jl(l))return j.info("Cannot merge overlapping range","");if(u.merge!=null){let f=!1;for(let m=0;m<l.length;m++){let g=l[m].row[0],y=l[m].row[1],v=l[m].column[0],b=l[m].column[1];if(f=Nt(u,g,y,v,b),f)break}if(f)return j.info("Cannot perform this operation on partially merged cells","")}for(let f=0;f<l.length;f++){let m=l[f].row[0],g=l[f].row[1],y=l[f].column[0],v=l[f].column[1];if(m==g&&y==v)continue;let b={};for(let k=m;k<=g;k++)for(let x=y;x<=v;x++){let w=d[k][x];if(w!=null&&w.mc!=null){let _=w.mc.r,S=w.mc.c;if("rs"in w.mc)delete w.mc,delete u.merge[_+"_"+S],b[_+"_"+S]=$.extend(!0,{},w);else{let C=JSON.parse(JSON.stringify(b[_+"_"+S]));delete C.v,delete C.m,delete C.ct,delete C.f,delete C.spl,d[k][x]=C}}}}n==t?(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"mergeChange",sheetIndex:s.index,data:$.extend(!0,[],s.data),curData:d,range:l,config:$.extend(!0,{},s.config),curConfig:u})),h.clearjfundo=!1,Ze(d,l,{cfg:u}),h.clearjfundo=!0):(s.data=d,s.config=u)}function Xv(e,a={}){if(["asc","desc"].indexOf(e)<0)return j.info("The type parameter must be included in ['asc', 'desc'","");let l=Z(h.currentSheetIndex),n=h.luckysheet_select_save[0],{range:o=n,order:s=l,success:u}=Ve({},a),d=h.luckysheetfile[s],f=$.extend(!0,{},d.config),m=$.extend(!0,[],d.data);if(m.length==0&&(m=$.extend(!0,[],ye.buildGridData(d))),o instanceof Array&&o.length>1){j.info(Q().sort.noRangeError,"");return}o&&typeof o=="string"&&p.iscelldata(o)&&(o=p.getcellrange(o));let g=o.row[0],y=o.row[1],v=o.column[0],b=o.column[1],k=!1,x=[];for(let _=g;_<=y;_++){let S=[];for(let C=v;C<=b;C++){if(m[_][C]!=null&&m[_][C].mc!=null){k=!0;break}S.push(m[_][C])}x.push(S)}if(k){j.info(Q().sort.mergeError,"");return}x=zl([].concat(x),0,e==="asc");for(let _=g;_<=y;_++)for(let S=v;S<=b;S++)m[_][S]=x[_-g][S-v];let w={};f.rowlen!=null&&(f=mr(m,g,y,f),w={cfg:f,RowlChange:!0}),d.index==h.currentSheetIndex?Ze(m,[{row:[g,y],column:[v,b]}],w):(d.data=m,d.config=f),u&&typeof u=="function"&&u()}function Kv(e,a,t={}){if(!a||!(a instanceof Array))return j.info("The sort parameter is invalid.","");let l=Z(h.currentSheetIndex),n=h.luckysheet_select_save[0],{range:o=n,order:s=l,success:u}=Ve({},t),d=h.luckysheetfile[s],f=$.extend(!0,{},d.config),m=$.extend(!0,[],d.data);if(m.length==0&&(m=$.extend(!0,[],ye.buildGridData(d))),o instanceof Array&&o.length>1){j.info(Q().sort.noRangeError,"");return}o&&typeof o=="string"&&p.iscelldata(o)&&(o=p.getcellrange(o));let g=o.row[0],y=o.row[1],v=o.column[0],b=o.column[1],k;e?k=g+1:k=g;let x=!1,w=[];for(let S=k;S<=y;S++){let C=[];for(let T=v;T<=b;T++){if(m[S][T]!=null&&m[S][T].mc!=null){x=!0;break}C.push(m[S][T])}w.push(C)}if(x){j.info(Q().sort.mergeError,"");return}a.forEach(S=>{let C=S.i;C-=v,w=zl([].concat(w),C,S.sort==="asc")});for(let S=k;S<=y;S++)for(let C=v;C<=b;C++)m[S][C]=w[S-k][C-v];let _={};f.rowlen!=null&&(f=mr(m,k,y,f),_={cfg:f,RowlChange:!0}),d.index===h.currentSheetIndex?Ze(m,[{row:[k,y],column:[v,b]}],_):(d.data=m,d.config=f),u&&typeof u=="function"&&u()}function Zv(e,a,t={}){if(!e||!["greaterThan","lessThan","betweenness","equal","textContains","occurrenceDate","duplicateValue","top10","top10%","last10","last10%","AboveAverage","SubAverage"].includes(e))return j.info("The conditionName parameter is invalid.","");if(P(a)!="array"||a.length==0)return j.info("The conditionValue parameter is invalid.","");let{format:n={textColor:"#000000",cellColor:"#ff0000"},cellrange:o=h.luckysheet_select_save,order:s=Z(h.currentSheetIndex),success:u}=Ve({},t);o=JSON.parse(JSON.stringify(o));let d=h.luckysheetfile[s],f=d.data;if((f==null||f.length==0)&&(f=ye.buildGridData(d)),d==null)return j.info("Incorrect worksheet index","");let m=Q().conditionformat,g=[],y=[];if(e=="betweenness"){let S=a[0],C=a[1],T=$e.getRangeByTxt(S);if(T.length>1){$e.infoDialog(m.onlySingleCell,"");return}else if(T.length==1){let I=T[0].row[0],A=T[0].row[1],E=T[0].column[0],N=T[0].column[1];if(I==A&&E==N)S=ze(I,E,f),g.push({row:T[0].row,column:T[0].column}),y.push(S);else{$e.infoDialog(m.onlySingleCell,"");return}}else if(T.length==0)if(isNaN(S)||S==""){$e.infoDialog(m.conditionValueCanOnly,"");return}else y.push(S);let R=$e.getRangeByTxt(C);if(R.length>1){$e.infoDialog(m.onlySingleCell,"");return}else if(R.length==1){let I=R[0].row[0],A=R[0].row[1],E=R[0].column[0],N=R[0].column[1];if(I==A&&E==N)C=ze(I,E,f),g.push({row:R[0].row,column:R[0].column}),y.push(C);else{$e.infoDialog(m.onlySingleCell,"");return}}else if(R.length==0)if(isNaN(C)||C==""){$e.infoDialog(m.conditionValueCanOnly,"");return}else y.push(C)}else if(e=="greaterThan"||e=="lessThan"||e=="equal"){let S=a[0],C=$e.getRangeByTxt(S);if(C.length>1){$e.infoDialog(m.onlySingleCell,"");return}else if(C.length==1){let T=C[0].row[0],R=C[0].row[1],I=C[0].column[0],A=C[0].column[1];if(T==R&&I==A)S=ze(T,I,f),g.push({row:C[0].row,column:C[0].column}),y.push(S);else{$e.infoDialog(m.onlySingleCell,"");return}}else if(C.length==0)if(isNaN(S)||S==""){$e.infoDialog(m.conditionValueCanOnly,"");return}else y.push(S)}else if(e=="textContains"){let S=a[0],C=$e.getRangeByTxt(S);if(C.length>1){$e.infoDialog(m.onlySingleCell,"");return}else if(C.length==1){let T=C[0].row[0],R=C[0].row[1],I=C[0].column[0],A=C[0].column[1];if(T==R&&I==A)S=ze(T,I,f),g.push({row:C[0].row,column:C[0].column}),y.push(S);else{$e.infoDialog(m.onlySingleCell,"");return}}else if(C.length==0)if(S==""){$e.infoDialog(m.conditionValueCanOnly,"");return}else y.push(S)}else if(e=="occurrenceDate"){let S=a[0],C=a[1];if(!qt(S)||!qt(C))return j.info("The conditionValue parameter is invalid.","");let T;sr(S,C)>0?T=(0,Li.default)(C).format("YYYY/MM/DD")+"-"+(0,Li.default)(S).format("YYYY/MM/DD"):T=(0,Li.default)(S).format("YYYY/MM/DD")+"-"+(0,Li.default)(C).format("YYYY/MM/DD"),y.push(T)}else if(e=="duplicateValue"){let S=a[0];if(S!="0"||S!="1")return j.info("The conditionValue parameter is invalid.","");y.push(S)}else if(e=="top10"||e=="top10%"||e=="last10"||e=="last10%"){let S=a[0];if(parseInt(S)!=S||parseInt(S)<1||parseInt(S)>1e3){$e.infoDialog(m.pleaseEnterInteger,"");return}y.push(parseInt(S))}else(e=="AboveAverage"||e=="SubAverage")&&y.push(e);if(!n.hasOwnProperty("textColor")||!n.hasOwnProperty("cellColor"))return j.info("The format parameter is invalid.","");if(P(o)=="string"?o=$e.getRangeByTxt(o):P(o)=="object"&&(o=[o]),P(o)!="array")return j.info("The cellrange parameter is invalid.","");let v={type:"default",cellrange:o,format:n,conditionName:e,conditionRange:g,conditionValue:y},b=$.extend(!0,[],h.luckysheetfile),k=$e.getHistoryRules(b),x=d.luckysheet_conditionformat_save||[];x.push(v),d.luckysheet_conditionformat_save=x;let w=$.extend(!0,[],h.luckysheetfile),_=$e.getCurrentRules(w);$e.ref(k,_),re.allowUpdate&&re.saveParam("all",d.index,x,{k:"luckysheet_conditionformat_save"}),u&&typeof u=="function"&&u()}function Jv(e,a={}){if(!e||!["dataBar","colorGradation","icons"].includes(e))return j.info("The type parameter is invalid.","");let{format:l,cellrange:n=h.luckysheet_select_save,order:o=Z(h.currentSheetIndex),success:s}=Ve({},a);n=JSON.parse(JSON.stringify(n));let u=h.luckysheetfile[o];if(u==null)return j.info("Incorrect worksheet index","");if(e=="dataBar"){if(l==null&&(l=["#638ec6","#ffffff"]),P(l)!="array"||l.length<1||l.length>2)return j.info("The format parameter is invalid.","")}else if(e=="colorGradation"){if(l==null&&(l=["rgb(99, 190, 123)","rgb(255, 235, 132)","rgb(248, 105, 107)"]),P(l)!="array"||l.length<2||l.length>3)return j.info("The format parameter is invalid.","")}else if(e=="icons"){l==null&&(l="threeWayArrowMultiColor");let b=["threeWayArrowMultiColor","threeTriangles","fourWayArrowMultiColor","fiveWayArrowMultiColor","threeWayArrowGrayColor","fourWayArrowGrayColor","fiveWayArrowGrayColor","threeColorTrafficLightRimless","threeSigns","greenRedBlackGradient","threeColorTrafficLightBordered","fourColorTrafficLight","threeSymbolsCircled","tricolorFlag","threeSymbolsnoCircle","threeStars","fiveQuadrantDiagram","fiveBoxes","grade4","grade5"];if(P(l)!="string"||!b.includes(l))return j.info("The format parameter is invalid.","");switch(l){case"threeWayArrowMultiColor":l={len:3,leftMin:0,top:0};break;case"threeTriangles":l={len:3,leftMin:0,top:1};break;case"fourWayArrowMultiColor":l={len:4,leftMin:0,top:2};break;case"fiveWayArrowMultiColor":l={len:5,leftMin:0,top:3};break;case"threeWayArrowGrayColor":l={len:3,leftMin:5,top:0};break;case"fourWayArrowGrayColor":l={len:4,leftMin:5,top:1};break;case"fiveWayArrowGrayColor":l={len:5,leftMin:5,top:2};break;case"threeColorTrafficLightRimless":l={len:3,leftMin:0,top:4};break;case"threeSigns":l={len:3,leftMin:0,top:5};break;case"greenRedBlackGradient":l={len:4,leftMin:0,top:6};break;case"threeColorTrafficLightBordered":l={len:3,leftMin:5,top:4};break;case"fourColorTrafficLight":l={len:4,leftMin:5,top:5};break;case"threeSymbolsCircled":l={len:3,leftMin:0,top:7};break;case"tricolorFlag":l={len:3,leftMin:0,top:8};break;case"threeSymbolsnoCircle":l={len:3,leftMin:5,top:7};break;case"threeStars":l={len:3,leftMin:0,top:9};break;case"fiveQuadrantDiagram":l={len:5,leftMin:0,top:10};break;case"fiveBoxes":l={len:5,leftMin:0,top:11};break;case"grade4":l={len:4,leftMin:5,top:9};break;case"grade5":l={len:5,leftMin:5,top:10};break}}if(P(n)=="string"?n=$e.getRangeByTxt(n):P(n)=="object"&&(n=[n]),P(n)!="array")return j.info("The cellrange parameter is invalid.","");let d={type:e,cellrange:n,format:l},f=$.extend(!0,[],h.luckysheetfile),m=$e.getHistoryRules(f),g=u.luckysheet_conditionformat_save||[];g.push(d),u.luckysheet_conditionformat_save=g;let y=$.extend(!0,[],h.luckysheetfile),v=$e.getCurrentRules(y);$e.ref(m,v),re.allowUpdate&&re.saveParam("all",u.index,g,{k:"luckysheet_conditionformat_save"}),s&&typeof s=="function"&&s()}function Qv(e,a={}){if(!L(e))return j.info("The itemIndex parameter is invalid.","");e=Number(e);let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=$.extend(!0,[],n.luckysheet_conditionformat_save);if(o.length==0)return j.info("This worksheet has no conditional format to delete","");if(o[e]==null)return j.info("The conditional format of the index cannot be found","");let s=o.splice(e,1),u=$.extend(!0,[],h.luckysheetfile),d=$e.getHistoryRules(u);n.luckysheet_conditionformat_save=o;let f=$.extend(!0,[],h.luckysheetfile),m=$e.getCurrentRules(f);return $e.ref(d,m),re.allowUpdate&&re.saveParam("all",n.index,ruleArr,{k:"luckysheet_conditionformat_save"}),setTimeout(()=>{l&&typeof l=="function"&&l()},1),s}function e0(e={}){let{range:a=h.luckysheet_select_save,order:t=Z(h.currentSheetIndex),success:l}=Ve({},e);if(a=JSON.parse(JSON.stringify(a)),P(a)=="string"){if(!p.iscelldata(a))return j.info("The range parameter is invalid.","");let d=p.getcellrange(a);a=[{row:d.row,column:d.column}]}else if(P(a)=="object"){if(a.row==null||a.column==null)return j.info("The range parameter is invalid.","");a=[{row:a.row,column:a.column}]}if(P(a)!="array")return j.info("The range parameter is invalid.","");let n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=$.extend(!0,{},n.config),s=!1;for(let d=0;d<a.length;d++){let f=a[d].row[0],m=a[d].row[1],g=a[d].column[0],y=a[d].column[1];if(s=Nt(o,f,m,g,y),s)break}if(s)return j.info("Cannot perform this operation on partially merged cells","");let u=$.extend(!0,[],n.data);u.length==0&&(u=$.extend(!0,[],ye.buildGridData(n)));for(let d=0;d<a.length;d++){let f=a[d].row[0],m=a[d].row[1],g=a[d].column[0],y=a[d].column[1];for(let v=f;v<=m;v++)for(let b=g;b<=y;b++){let k=u[v][b];P(k)=="object"?(delete k.m,delete k.v,k.f!=null&&(delete k.f,p.delFunctionGroup(v,b,n.index),delete k.spl),k.ct!=null&&k.ct.t=="inlineStr"&&delete k.ct):u[v][b]=null}}n.index==h.currentSheetIndex?Ze(u,a):n.data=u,l&&typeof l=="function"&&l()}function t0(e,a={}){if(!["left","up"].includes(e))return j.info("The move parameter is invalid.","");let{range:l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:n=Z(h.currentSheetIndex),success:o}=Ve({},a);if(P(l)=="string"){if(!p.iscelldata(l))return j.info("The range parameter is invalid.","");let g=p.getcellrange(l);l={row:g.row,column:g.column}}if(P(l)!="object"||l.row==null||l.column==null)return j.info("The range parameter is invalid.","");if(h.luckysheetfile[n]==null)return j.info("The order parameter is invalid.","");let u=l.row[0],d=l.row[1],f=l.column[0],m=l.column[1];e=="left"?rn("moveLeft",u,d,f,m,n):e=="up"&&rn("moveUp",u,d,f,m,n),o&&typeof o=="function"&&o()}function r0(e,a={}){if(!e||["flipUpDown","flipLeftRight","flipClockwise","flipCounterClockwise","transpose","deleteZeroByRow","deleteZeroByColumn","removeDuplicateByRow","removeDuplicateByColumn","newMatrix"].indexOf(e)<0)return j.info("The type parameter is invalid.","");let l=h.luckysheet_select_save[0],{range:n=l,success:o}=Ve({},a);if(n instanceof Array&&n.length>1){j.info(Q().drag.noMulti,"");return}n&&typeof n=="string"&&p.iscelldata(n)&&(n=p.getcellrange(n));let s=Dt(n),u=[];if(s.length===0)return;let d,f,m;switch(e){case"flipUpDown":for(let g=s.length-1;g>=0;g--){let y=[];for(let v=0;v<s[0].length;v++){let b="";s[g]!=null&&s[g][v]!=null&&(b=s[g][v]),y.push(b)}u.push(y)}break;case"flipLeftRight":for(let g=0;g<s.length;g++){let y=[];for(let v=s[0].length-1;v>=0;v--){let b="";s[g]!=null&&s[g][v]!=null&&(b=s[g][v]),y.push(b)}u.push(y)}break;case"flipClockwise":for(let g=0;g<s[0].length;g++){let y=[];for(let v=s.length-1;v>=0;v--){let b="";s[v]!=null&&s[v][g]!=null&&(b=s[v][g]),y.push(b)}u.push(y)}break;case"flipCounterClockwise":for(let g=s[0].length-1;g>=0;g--){let y=[];for(let v=0;v<s.length;v++){let b="";s[v]!=null&&s[v][g]!=null&&(b=s[v][g]),y.push(b)}u.push(y)}break;case"transpose":for(let g=0;g<s[0].length;g++){let y=[];for(let v=0;v<s.length;v++){let b="";s[v]!=null&&s[v][g]!=null&&(b=s[v][g]),y.push(b)}u.push(y)}break;case"deleteZeroByRow":d=s[0].length;for(let g=0;g<s.length;g++){let y=[],v=!0,b=!0;for(let x=0;x<d;x++){let w="";if(s[g]!=null&&s[g][x]!=null){if(w=s[g][x],(w.v=="0"||w.v==0)&&v)continue;v=!1}y.push(w)}let k=[];if(y.length==d)k=y;else{for(let w=y.length-1;w>=0;w--){let _="";if(y[w]!=null){if(_=y[w],(_.v=="0"||_.v==0)&&b)continue;b=!1}k.unshift(_)}let x=d-k.length;for(let w=0;w<x;w++)k.push("")}u.push(k)}break;case"deleteZeroByColumn":d=s.length,f=s[0].length;for(let g=0;g<f;g++){let y=[],v=!0,b=!0;for(let x=0;x<d;x++){let w="";if(s[x]!=null&&s[x][g]!=null){if(w=s[x][g],(w.v=="0"||w.v==0)&&v)continue;v=!1}y.push(w)}let k=[];if(y.length==d)k=y;else{for(let w=y.length-1;w>=0;w--){let _="";if(y[w]!=null){if(_=y[w],(_.v=="0"||_.v==0)&&b)continue;b=!1}k.unshift(_)}let x=d-k.length;for(let w=0;w<x;w++)k.push("")}u.push(k)}m=[];for(let g=0;g<u[0].length;g++){let y=[];for(let v=0;v<u.length;v++){let b="";u[v]!=null&&u[v][g]!=null&&(b=u[v][g]),y.push(b)}m.push(y)}break;case"removeDuplicateByRow":d=s[0].length;for(let g=0;g<s.length;g++){let y=[],v={};for(let k=0;k<d;k++){let x=null;s[g]!=null&&s[g][k]!=null&&(x=s[g][k],x.v in v||(v[x.v]=[]),v[x.v].push(x))}for(let k=0;k<d;k++){let x=null;s[g]!=null&&s[g][k]!=null&&(x=s[g][k],v[x.v].length==1&&y.push(x))}let b=d-y.length;for(let k=0;k<b;k++)y.push(null);u.push(y)}break;case"removeDuplicateByColumn":f=s[0].length,d=s.length;for(let g=0;g<f;g++){let y=[],v={};for(let k=0;k<d;k++){let x=null;s[k]!=null&&s[k][g]!=null&&(x=s[k][g],x.v in v||(v[x.v]=[]),v[x.v].push(x))}for(let k=0;k<d;k++){let x=null;s[k]!=null&&s[k][g]!=null&&(x=s[k][g],v[x.v].length==1&&y.push(x))}a1=y;let b=d-a1.length;for(let k=0;k<b;k++)a1.push(null);u.push(a1)}m=[];for(let g=0;g<u[0].length;g++){let y=[];for(let v=0;v<u.length;v++){let b=null;u[v]!=null&&u[v][g]!=null&&(b=u[v][g]),y.push(b)}m.push(y)}break;case"newMatrix":console.log("TODO");break}xe.controlHandler(u,n),o&&typeof o=="function"&&o()}function l0(e,a,t={}){if(!e||["plus","minus","multiply","divided","power","root","log"].indexOf(e)<0)return j.info("The type parameter is invalid.","");if(!L(a))return j.info("The number parameter is invalid.","");let n=h.luckysheet_select_save[0],{range:o=n,success:s}=Ve({},t);if(o instanceof Array&&o.length>1){j.info(Q().drag.noMulti,"");return}o&&typeof o=="string"&&p.iscelldata(o)&&(o=p.getcellrange(o));let u=Dt(o);if(u.length==0)return;let d=[];for(let f=0;f<u.length;f++){let m=[];for(let g=0;g<u[0].length;g++){let y="";u[f]!=null&&u[f][g]!=null&&(y=u[f][g],parseInt(y)!=null&&u[f][g].ct!=null&&u[f][g].ct.t=="n"&&(e=="minus"?y.v=y.v-a:e=="multiply"?y.v=y.v*a:e=="divided"?y.v=numFormat(y.v/a,4):e=="power"?y.v=Math.pow(y.v,a):e=="root"?a==2?y.v=numFormat(Math.sqrt(y.v),4):a==3&&Math.cbrt?y.v=numFormat(Math.cbrt(y.v),4):y.v=numFormat(jfnqrt(y.v,a),4):e=="log"?y.v=numFormat(Math.log(y.v)*1e4/Math.log(Math.abs(a)),4):y.v=y.v+a,y.v==null?y.m="":y.m=y.v.toString())),m.push(y)}d.push(m)}xe.controlHandler(d,o),s&&typeof s=="function"&&s()}function a0(e={}){let a=h.luckysheetfile.length-1,{sheetObject:t={},order:l=a,success:n}=Ve({},e);if(!L(l))return j.info("Parameter is not a table index","");l=Number(l);let o=ye.generateRandomSheetIndex();t.calcChain&&t.calcChain.length>0&&t.calcChain.forEach(f=>{f.index=o});let s=ye.generateRandomSheetName(h.luckysheetfile,!1);if(t.name){let f=!1;for(let m=0;m<h.luckysheetfile.length;m++)if(h.luckysheetfile[m].name==t.name){f=!0;break}f||(s=t.name)}$("#luckysheet-sheet-container-c").append(we(Kr,{index:o,active:"",name:s,style:"",colorset:""}));let u={name:"",color:"",status:"0",order:"",index:"",celldata:[],row:h.defaultrowNum,column:h.defaultcolumnNum,config:{},pivotTable:null,isPivotTable:!1};if(u=$.extend(!0,u,t),u.index=o,u.name=s,u.order=l,l<=0){let f=h.luckysheetfile[0].index,m=$("#luckysheet-sheets-item"+f);$("#luckysheet-sheets-item"+o).insertBefore(m),h.luckysheetfile.splice(0,0,u)}else{l>h.luckysheetfile.length&&(l=h.luckysheetfile.length);let f=h.luckysheetfile[l-1].index,m=$("#luckysheet-sheets-item"+f);$("#luckysheet-sheets-item"+o).insertAfter(m),h.luckysheetfile.splice(l,0,u)}let d={};if(h.luckysheetfile.forEach((f,m,g)=>{g[m].order=m,d[f.index.toString()]=m}),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+o).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+o+'" class="luckysheet-datavisual-selection-set"></div>'),er(!0),re.saveParam("sha",null,$.extend(!0,{},u)),re.saveParam("shr",null,d),h.clearjfundo){h.jfundo.length=0;let f={};f.type="addSheet",f.sheetconfig=$.extend(!0,{},u),f.index=o,f.currentSheetIndex=h.currentSheetIndex,h.jfredo.push(f)}ye.changeSheetExec(o,!1,!0),n&&typeof n=="function"&&n()}function n0(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e),l=h.luckysheetfile[a];return l==null?j.info("The order parameter is invalid.",""):h.luckysheetfile.length===1?j.info(Q().sheetconfig.noMoreSheet,""):(ye.deleteSheet(l.index),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function i0(e={}){let{targetOrder:a,order:t=Z(h.currentSheetIndex),success:l}=Ve({},e),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");if(a==null&&(a=t+1),!L(a))return j.info("The targetOrder parameter is invalid.","");let o=n.index,s=ye.generateRandomSheetIndex(),u=$.extend(!0,{},n);u.order=h.luckysheetfile.length,u.index=s,u.name=ye.generateCopySheetName(h.luckysheetfile,u.name);let d="";u.color!=null&&(d='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+u.color+';"></div>');let f=$("#luckysheet-sheets-item"+o);if(L(a)&&(f=$("#luckysheet-sheets-item"+h.luckysheetfile[a-1].index)),$("#luckysheet-sheet-container-c").append(we(Kr,{index:u.index,active:"",name:u.name,order:u.order,style:"",colorset:d})),$("#luckysheet-sheets-item"+u.index).insertAfter(f),h.luckysheetfile.splice(a,0,u),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+s).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+s+'" class="luckysheet-datavisual-selection-set"></div>'),er(!0),re.saveParam("shc",s,{copyindex:o,name:u.name}),ye.changeSheetExec(s),ye.reOrderAllSheet(),h.clearjfundo)h.jfredo.push({type:"copySheet",copyindex:o,index:u.index,sheetIndex:u.index});else if(h.jfredo.length>0){let m=h.jfredo[h.jfredo.length-1];m.type=="copySheet"&&(m.index=u.index,m.sheetIndex=u.index)}return setTimeout(()=>{l&&typeof l=="function"&&l()},1),u}function o0(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e),l=h.luckysheetfile[a];return l==null?j.info("The order parameter is invalid.",""):(ye.setSheetHide(l.index),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function s0(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e),l=h.luckysheetfile[a];return l==null?j.info("The order parameter is invalid.",""):(ye.setSheetShow(l.index),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function c0(e,a={}){if(e==null||!L(e)||h.luckysheetfile[e]==null)return j.info("The order parameter is invalid.","");let t=h.luckysheetfile[e],{success:l}=Ve({},a);return $("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+t.index).addClass("luckysheet-sheets-item-active"),ye.changeSheet(t.index),setTimeout(()=>{l&&typeof l=="function"&&l()},1),re.multipleRangeShow(),t}function u0(e,a={}){if(P(e)!="string"||e.toString().length==0)return j.info("The name parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=n.name;if(n.name=e,$("#luckysheet-sheets-item"+n.index+" .luckysheet-sheets-item-name").text(e),re.saveParam("all",n.index,e,{k:"name"}),h.clearjfundo){let s={};s.type="sheetName",s.sheetIndex=n.index,s.oldtxt=o,s.txt=e,h.jfundo.length=0,h.jfredo.push(s)}l&&typeof l=="function"&&l()}function h0(e,a={}){if(P(e)!="string"||e.toString().length==0)return j.info("The color parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=n.color;if(n.color=e,$("#luckysheet-sheets-item"+n.index).find(".luckysheet-sheets-item-color").remove(),$("#luckysheet-sheets-item"+n.index).append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+e+';"></div>'),re.saveParam("all",n.index,e,{k:"color"}),h.clearjfundo){let s={};s.type="sheetColor",s.sheetIndex=n.index,s.oldcolor=o,s.color=e,h.jfundo.length=0,h.jfredo.push(s)}l&&typeof l=="function"&&l()}function d0(e,a={}){if(e!="left"&&e!="right"&&!L(e))return j.info("Type parameter not available","");L(e)&&(e=parseInt(e));let t=Z(h.currentSheetIndex),{order:l=t,success:n}=Ve({},a),o=h.luckysheetfile[l];if(o==null)return j.info("ncorrect worksheet index","");let s=o.index;if(e=="left"){if(l==0)return;let d=h.luckysheetfile[l-1].index;$("#luckysheet-sheets-item"+s).insertBefore($("#luckysheet-sheets-item"+d)),h.luckysheetfile.splice(l,1),h.luckysheetfile.splice(l-1,0,o)}else if(e=="right"){if(l==h.luckysheetfile.length-1)return;let d=h.luckysheetfile[l+1].index;$("#luckysheet-sheets-item"+s).insertAfter($("#luckysheet-sheets-item"+d)),h.luckysheetfile.splice(l,1),h.luckysheetfile.splice(l+1,0,o)}else{if(e<0&&(e=0),e>h.luckysheetfile.length-1&&(e=h.luckysheetfile.length-1),e==l)return;if(e<l){let d=h.luckysheetfile[e].index;$("#luckysheet-sheets-item"+s).insertBefore($("#luckysheet-sheets-item"+d))}else{let d=h.luckysheetfile[e].index;$("#luckysheet-sheets-item"+s).insertAfter($("#luckysheet-sheets-item"+d))}h.luckysheetfile.splice(l,1),h.luckysheetfile.splice(e,0,o)}let u={};h.luckysheetfile.forEach((d,f,m)=>{m[f].order=f,u[d.index.toString()]=f}),re.saveParam("shr",null,u),n&&typeof n=="function"&&n()}function f0(e,a={}){if(e==null||e.length==0)return j.info("Type orderList not available","");let t={};e.forEach(o=>{t[o.index.toString()]=o.order}),h.luckysheetfile.sort((o,s)=>{let u=t[o.index.toString()],d=t[s.index.toString()];return u!=null&&d!=null?u-d:u!=null?-1:(d!=null,1)});let l={};h.luckysheetfile.forEach((o,s,u)=>{if(u[s].order=s,l[o.index.toString()]=s,s>0){let d=u[s-1].index;$("#luckysheet-sheets-item"+o.index).insertAfter($("#luckysheet-sheets-item"+d))}}),re.saveParam("shr",null,l);let{success:n}=Ve({},a);n&&typeof n=="function"&&n()}function m0(e,a={}){if(!L(e)||e<.1||e>4)return j.info("The zoom parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");n.zoomRatio=e,re.saveParam("all",n.index,e,{k:"zoomRatio"}),n.index==h.currentSheetIndex&&(h.zoomRatio=e,Al(),Vn()),l&&typeof l=="function"&&l()}function p0(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e),l=h.luckysheetfile[a];return l==null?j.info("The order parameter is invalid.",""):(l.showGridLines=!0,l.index==h.currentSheetIndex&&(h.showGridLines=!0,setTimeout(function(){Le()},1)),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function g0(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e),l=h.luckysheetfile[a];return l==null?j.info("The order parameter is invalid.",""):(l.showGridLines=!1,l.index==h.currentSheetIndex&&(h.showGridLines=!1,setTimeout(function(){Le()},1)),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function y0(e={}){Ze();let{success:a}=Ve({},e);a&&typeof a=="function"&&a()}function v0(e={}){let{scrollLeft:a,scrollTop:t,targetRow:l,targetColumn:n,success:o}=Ve({},e);if(a!=null){if(!L(a))return j.info("The scrollLeft parameter is invalid.","");$("#luckysheet-scrollbar-x").scrollLeft(a)}else if(n!=null){if(!L(n))return j.info("The targetColumn parameter is invalid.","");let s=h.visibledatacolumn[n],u=n<=0?0:h.visibledatacolumn[n-1];$("#luckysheet-scrollbar-x").scrollLeft(u)}if(t!=null){if(!L(t))return j.info("The scrollTop parameter is invalid.","");$("#luckysheet-scrollbar-y").scrollTop(t)}else if(l!=null){if(!L(l))return j.info("The targetRow parameter is invalid.","");let s=h.visibledatarow[l],u=l<=0?0:h.visibledatarow[l-1];$("#luckysheet-scrollbar-y").scrollTop(u)}o&&typeof o=="function"&&o()}function b0(e={}){Ft();let{success:a}=Ve({},e);a&&typeof a=="function"&&a()}function k0(e={}){let{range:a=h.luckysheet_select_save[h.luckysheet_select_save.length-1]}=Ve({},e);if(P(a)=="string"){if(!p.iscelldata(a))return j.info("The range parameter is invalid.","");let x=p.getcellrange(a);a={row:x.row,column:x.column}}if(P(a)!="object"||a.row==null||a.column==null)return j.info("The range parameter is invalid.","");let t=a.row[0],l=a.row[1],n=a.column[0],o=a.column[1];if(Nt(h.config,t,l,n,o))return j.info("Cannot perform this operation on partially merged cells","");let u=h.visibledatarow,d=h.visibledatacolumn,f,m;t-1<0?(f=0,m=u[l]):(f=u[t-1],m=u[l]-u[t-1]);let g,y;n-1<0?(g=0,y=d[o]):(g=d[n-1],y=d[o]-d[n-1]);let v=$("<canvas>").attr({width:Math.ceil(y*h.devicePixelRatio),height:Math.ceil(m*h.devicePixelRatio)}).css({width:y,height:m});tl(g,f,y,m,1,1,null,null,v);let b=v.get(0).getContext("2d");return b.beginPath(),b.moveTo(0,0),b.lineTo(0,h.devicePixelRatio*m),b.lineWidth=h.devicePixelRatio*2,b.strokeStyle=Cr.strokeStyle,b.stroke(),b.closePath(),b.beginPath(),b.moveTo(0,0),b.lineTo(h.devicePixelRatio*y,0),b.lineWidth=h.devicePixelRatio*2,b.strokeStyle=Cr.strokeStyle,b.stroke(),b.closePath(),v.get(0).toDataURL("image/png")}function x0(e,a={}){if(e==null||e.toString().length==0)return j.info("The name parameter is invalid.","");$("#luckysheet_info_detail_input").val(e);let{success:t}=Ve({},a);t&&typeof t=="function"&&t()}function w0(e={}){let a="",t=$("#luckysheet_info_detail_input");if(t.length==0)return j.info("Failed to get workbook name, label loading failed!"),a;a=$.trim(t.val());let{success:l}=Ve({},e);return setTimeout(()=>{l&&typeof l=="function"&&l()},1),a}function _0(e={}){let a=$.extend(!0,{},h.jfredo[h.jfredo.length-1]);ba.redo(new Event("custom")),Il();let{success:t}=Ve({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),a}function C0(e={}){let a=$.extend(!0,{},h.jfundo[h.jfundo.length-1]);ba.undo(new Event("custom")),Il();let{success:t}=Ve({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),a}function Gf(){let e=$.extend(!0,[],h.luckysheetfile);return e.forEach((a,t,l)=>{a.data!=null&&a.data.length>0&&(a.celldata=ye.getGridData(a.data)),delete a.load,delete a.freezen}),e}function T0(e={}){let{index:a,order:t,name:l}=Ve({},e);return a!=null?ye.getSheetByIndex(a):t!=null?h.luckysheetfile[t]:l!=null?ye.getSheetByName(l):ye.getSheetByIndex()}function S0(e={}){let{order:a=Z(h.currentSheetIndex)}=Ve({},e),t=h.luckysheetfile[a];if(t==null)return j.info("The order parameter is invalid.","");let l=$.extend(!0,[],t.data);return(l==null||l.length==0)&&(l=$.extend(!0,[],ye.buildGridData(t))),l}function $0(e={}){let{order:a=Z(h.currentSheetIndex)}=Ve({},e),t=h.luckysheetfile[a];return t==null?j.info("The order parameter is invalid.",""):$.extend(!0,{},t.config)}function A0(e,a={}){if(P(e)!="object")return j.info("The cfg parameter is invalid.","");let{order:t=Z(h.currentSheetIndex),success:l}=Ve({},a),n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");n.config=e,n.index==h.currentSheetIndex&&(h.config=e,("rowhidden"in e||"colhidden"in e||"rowlen"in e||"columnlen"in e)&&_t(h.flowdata.length,h.flowdata[0].length),setTimeout(function(){Le()},1)),l&&typeof l=="function"&&l()}function I0(){return It()}function R0(e,a={}){if(P(e)!="object")return j.info("The optionItem parameter is invalid.","");let{type:t,type2:l=null,value1:n="",value2:o="",remote:s=!1,prohibitInput:u=!1,hintShow:d=!1,hintText:f="",checked:m=!1}=Ve({},e),g=["dropdown","checkbox","number","number_integer","number_decimal","text_content","text_length","date","validity"],y=["bw","nb","eq","ne","gt","lt","gte","lte"],v=["include","exclude","equal"],b=["bw","nb","eq","ne","bf","nbf","af","naf"],k=["card","phone"];if(!g.includes(t))return j.info("The optionItem.type parameter is invalid.","");let x=Q().dataVerification;if(t=="dropdown"){if(n.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo1);return}}else if(t=="checkbox"){if(n.length==0||o.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo2);return}}else if(t=="number"||t=="number_integer"||t=="number_decimal"){if(!y.includes(l))return j.info("The optionItem.type2 parameter is invalid.","");if(!L(n)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo3);return}if(l=="bw"||l=="nb"){if(!L(o)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo3);return}if(Number(o)<Number(n)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo4);return}}}else if(t=="text_content"){if(!v.includes(l))return j.info("The optionItem.type2 parameter is invalid.","");if(n.length==0){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo5);return}}else if(t=="text_length"){if(!y.includes(l))return j.info("The optionItem.type2 parameter is invalid.","");if(!L(n)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo3);return}if(l=="bw"||l=="nb"){if(!L(o)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo3);return}if(Number(o)<Number(n)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo4);return}}}else if(t=="date"){if(!b.includes(l))return j.info("The optionItem.type2 parameter is invalid.","");if(!qt(n)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo6);return}if(l=="bw"||l=="nb"){if(!qt(o)){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo6);return}if(sr(n,o)>0){j.info('<i class="fa fa-exclamation-triangle"></i>',x.tooltipInfo7);return}}}else if(t=="validity"&&!k.includes(l))return j.info("The optionItem.type2 parameter is invalid.","");if(P(s)!="boolean")return j.info("The optionItem.remote parameter is invalid.","");if(P(u)!="boolean")return j.info("The optionItem.prohibitInput parameter is invalid.","");if(P(d)!="boolean")return j.info("The optionItem.hintShow parameter is invalid.","");let{range:w=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:_=Z(h.currentSheetIndex),success:S}=Ve({},a);if(P(w)=="string"){if(!p.iscelldata(w))return j.info("The range parameter is invalid.","");let F=p.getcellrange(w);w={row:F.row,column:F.column}}if(P(w)!="object"||w.row==null||w.column==null)return j.info("The range parameter is invalid.","");let C=h.luckysheetfile[_];if(C==null)return j.info("The order parameter is invalid.","");let T={type:t,type2:l,value1:n,value2:o,checked:m,remote:s,prohibitInput:u,hintShow:d,hintText:f},R=$.extend(!0,{},C.dataVerification),I=$.extend(!0,[],C.data);I.length==0&&(I=ye.buildGridData(C));let A=w.row[0],E=w.row[1],N=w.column[0],D=w.column[1];for(let F=A;F<=E;F++)for(let M=N;M<=D;M++)R[F+"_"+M]=T,t=="checkbox"&&(T.checked?Ot(F,M,I,T.value1):Ot(F,M,I,T.value2));if(C.index==h.currentSheetIndex){let F=$.extend(!0,{},C.dataVerification);t=="checkbox"?Ye.refOfCheckbox(F,R,h.currentSheetIndex,I,w):Ye.ref(F,R,h.currentSheetIndex)}else C.dataVerification=R,C.data=I;S&&typeof S=="function"&&S()}function D0(e={}){let{range:a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:t=Z(h.currentSheetIndex),success:l}=Ve({},e);if(P(a)=="string"){if(!p.iscelldata(a))return j.info("The range parameter is invalid.","");let m=p.getcellrange(a);a={row:m.row,column:m.column}}if(P(a)!="object"||a.row==null||a.column==null)return j.info("The range parameter is invalid.","");let n=h.luckysheetfile[t];if(n==null)return j.info("The order parameter is invalid.","");let o=$.extend(!0,{},n.dataVerification),s=a.row[0],u=a.row[1],d=a.column[0],f=a.column[1];for(let m=s;m<=u;m++)for(let g=d;g<=f;g++)delete o[m+"_"+g];if(n.index==h.currentSheetIndex){let m=$.extend(!0,{},n.dataVerification);Ye.ref(m,o,h.currentSheetIndex)}else n.dataVerification=o;l&&typeof l=="function"&&l()}function q0(e,a={}){let{order:t=Z(h.currentSheetIndex),rowIndex:l,colIndex:n,success:o}=Ve({},a),s=h.luckysheetfile[t];if(s==null)return j.info("The order parameter is invalid.","");if(s.index==h.currentSheetIndex){let u=h.luckysheet_select_save[h.luckysheet_select_save.length-1];l==null&&(l=u.row_focus||0),l<0&&(l=0),l>h.visibledatarow.length&&(l=h.visibledatarow.length),n==null&&(n=u.column_focus||0),n<0&&(n=0),n>h.visibledatacolumn.length&&(n=h.visibledatacolumn.length);let d=n==0?0:h.visibledatacolumn[n-1],f=l==0?0:h.visibledatarow[l-1],m=new Image;m.onload=function(){let g=m.width,y=m.height,v={src:e,left:d,top:f,originWidth:g,originHeight:y};Re.addImgItem(v),o&&typeof o=="function"&&o()},m.src=e}else{let u=s.images||{},d=s.config,f=s.zoomRatio||1,m=s.row,g=s.visibledatarow||[];if(g.length===0){let w=0;for(let _=0;_<m;_++){let S=h.defaultrowlen;if(d.rowlen!=null&&d.rowlen[_]!=null&&(S=d.rowlen[_]),d.rowhidden!=null&&d.rowhidden[_]!=null){g.push(w);continue}w+=Math.round((S+1)*f),g.push(w)}}let y=s.column,v=s.visibledatacolumn||[];if(v.length===0){let w=0;for(let _=0;_<y;_++){let S=h.defaultcollen;if(d.columnlen!=null&&d.columnlen[_]!=null&&(S=d.columnlen[_]),d.colhidden!=null&&d.colhidden[_]!=null){v.push(w);continue}w+=Math.round((S+1)*f),v.push(w)}}l==null&&(l=0),l<0&&(l=0),l>g.length&&(l=g.length),n==null&&(n=0),n<0&&(n=0),n>v.length&&(n=v.length);let b=n==0?0:v[n-1],k=l==0?0:g[l-1],x=new Image;x.onload=function(){let w={src:e,left:b,top:k,originWidth:x.width,originHeight:x.height},_,S,C=400;w.originHeight<w.originWidth?(S=Math.round(w.originHeight*(C/w.originWidth)),_=C):(_=Math.round(w.originWidth*(C/w.originHeight)),S=C);let T=$.extend(!0,{},Re.imgItem);T.src=w.src,T.originWidth=w.originWidth,T.originHeight=w.originHeight,T.default.width=_,T.default.height=S,T.default.left=w.left,T.default.top=w.top,T.crop.width=_,T.crop.height=S;let R=Re.generateRandomId();u[R]=T,s.images=u,o&&typeof o=="function"&&o()},x.src=e}}function F0(e={}){let{order:a=Z(h.currentSheetIndex),idList:t="all",success:l}=Ve({},e),n=h.luckysheetfile[a];if(n==null)return j.info("The order parameter is invalid.","");let o=n.images;if(o==null)return j.info("The worksheet has no pictures to delete.","");if(t!="all"&&P(t)!="array")return j.info("The idList parameter is invalid.","");P(t)=="array"?t.forEach(s=>{delete o[s]}):o=null,n.images=o,n.index==h.currentSheetIndex&&(Re.currentImgId!=null&&(t=="all"||t.includes(Re.currentImgId))&&($("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide()),Re.images=o,Re.allImagesShow(),Re.init()),l&&typeof l=="function"&&l()}function M0(e={}){let{order:a=Z(h.currentSheetIndex),success:t}=Ve({},e),l=h.luckysheetfile[a];return l==null?j.info("The order parameter is invalid.",""):(setTimeout(function(){t&&typeof t=="function"&&t()},1),l.images)}function E0(e,a={}){let{success:t}=Ve({},a);return setTimeout(()=>{t&&typeof t=="function"&&t()},0),ye.getGridData(e)}function N0(e,a={}){let{success:t}=Ve({},a);return setTimeout(()=>{t&&typeof t=="function"&&t()},0),ye.buildGridData({celldata:e})}function zo(){let e=h.toJsonOptions;return e.title=$("#luckysheet_info_detail_input").val(),e.data=Gf(),It().forEach((a,t)=>{a.data!=null&&(e.data[t].row=P(a.data)==="array"?a.data.length:0,e.data[t].column=P(a.data[0])==="array"?a.data[0].length:0)}),e}function P0(e="zh"){if(!["zh","en","es"].includes(e))return j.info("The lang parameter is invalid.","");let a=zo();a.lang=e,luckysheet.create(a)}function z0(){re.websocket!=null&&re.websocket.close(1e3)}function L0(e){if(e==null)return{column:h.luckysheet_select_save[h.luckysheet_select_save.length-1].column,row:h.luckysheet_select_save[h.luckysheet_select_save.length-1].row};let a=$e.getRangeByTxt(e);return{column:a[0].column,row:a[0].row}}function O0(e=h.luckysheet_select_save){return P(e)==="object"&&(e=[e]),$e.getTxtByRange(e)}function Fc(e){let{prevPage:a,nextPage:t,total:l}=Q().button;$("#luckysheet-bottom-pager").remove(),$("#luckysheet-sheet-content").after('<div id="luckysheet-bottom-pager" style="font-size: 14px; margin-left: 10px; display: inline-block;"></div>'),$("#luckysheet-bottom-pager").sPage({page:e.pageIndex,total:e.total,selectOption:e.selectOption,pageSize:e.pageSize,showTotal:e.showTotal,showSkip:e.showSkip,showPN:e.showPN,prevPage:e.prevPage||a,nextPage:e.nextPage||t,totalTxt:e.totalTxt||l+e.total,backFun:function(n){n.pageIndex=n.page,!!ut.createHookFunction("onTogglePager",n)}})}function B0(e){p.execFunctionGroupForce(!0),Le(),setTimeout(()=>{e&&typeof e=="function"&&e()})}function H0(e={}){let{data:a,success:t}=e,l=h.luckysheetfile;for(let s=0;s<a.length;s++)for(let u=0;u<l.length;u++)l[u].index===a[s].index&&(l[u]=a[s]);let n=l[ye.getSheetIndex(h.currentSheetIndex)],o=ye.buildGridData(n);n.data=o,n.isPivotTable?(h.luckysheetcurrentisPivotTable=!0,isPivotInitial||Oe.changePivotTable(index)):(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide(),Ft(!1)),ye.mergeCalculation(n.index),ye.setSheetParam(),setTimeout(function(){ye.showSheet(),ye.restoreCache(),p.execFunctionGroupForce(fe.forceCalculation),ye.restoreSheetAll(h.currentSheetIndex),Le(),t&&typeof t=="function"&&t()},1),re.saveParam("shs",null,h.currentSheetIndex)}function Mc(e,a,t,l){if(e=e||h.flowdata,a==null&&t==null){let n=h.luckysheet_select_save[h.luckysheet_select_save.length-1];a=n.row_focus||n.row[0],t=n.column_focus||n.column[0]}be.menuButtonFocus(e,a,t),setTimeout(()=>{l&&typeof l=="function"&&l()})}function Yn(e,a){return qc().every(({r:n,c:o})=>{let s=h.flowdata[n][o];return s==null?!1:s[e]==a})}var Li,hn=Ae(()=>{Ke();dt();Rt();bt();Wr();Vt();qi();ar();qn();Kt();Vt();Ll();Ir();_l();tn();cl();Wt();Yt();ln();At();Nl();Mn();ko();ta();Zt();lr();Ln();xr();Or();ul();hr();hl();Ml();Xt();jt();fa();Ao();jn();dl();Ol();Li=Er(ha());Rt();dn()});function $f(e,a,t,l,n){let o=h.visibledatarow[t],s=a-1==-1?0:h.visibledatarow[a-1],u=h.visibledatacolumn[n],d=l-1==-1?0:h.visibledatacolumn[l-1];$("#"+e).css({left:d,width:u-d-1,top:s,height:o-s-1})}function et(e=!1){if($("#luckysheet-cell-selected-boxs").show(),$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").siblings(".luckysheet-cell-selected").remove(),h.luckysheet_select_save.length>0){for(let t=0;t<h.luckysheet_select_save.length;t++){let l=h.luckysheet_select_save[t].row[0],n=h.luckysheet_select_save[t].row[1],o=h.luckysheet_select_save[t].column[0],s=h.luckysheet_select_save[t].column[1],u,d;h.luckysheet_select_save[t].row_focus==null?u=l:u=h.luckysheet_select_save[t].row_focus,h.luckysheet_select_save[t].column_focus==null?d=o:d=h.luckysheet_select_save[t].column_focus;let f=h.visibledatarow[n],m=l-1==-1?0:h.visibledatarow[l-1],g=h.visibledatacolumn[s],y=o-1==-1?0:h.visibledatacolumn[o-1],v=h.visibledatarow[u],b=u-1==-1?0:h.visibledatarow[u-1],k=h.visibledatacolumn[d],x=d-1==-1?0:h.visibledatacolumn[d-1],w=be.mergeborer(h.flowdata,u,d);w&&(v=w.row[1],b=w.row[0],k=w.column[1],x=w.column[0]),h.luckysheet_select_save[t].row=[l,n],h.luckysheet_select_save[t].column=[o,s],h.luckysheet_select_save[t].row_focus=u,h.luckysheet_select_save[t].column_focus=d,h.luckysheet_select_save[t].left=x,h.luckysheet_select_save[t].width=k-x-1,h.luckysheet_select_save[t].top=b,h.luckysheet_select_save[t].height=v-b-1,h.luckysheet_select_save[t].left_move=y,h.luckysheet_select_save[t].width_move=g-y-1,h.luckysheet_select_save[t].top_move=m,h.luckysheet_select_save[t].height_move=f-m-1,t==0?h.luckysheet_select_save.length==1?ol.mobilecheck()?$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").css({left:h.luckysheet_select_save[t].left_move,width:h.luckysheet_select_save[t].width_move,top:h.luckysheet_select_save[t].top_move,height:h.luckysheet_select_save[t].height_move,display:"block",border:"1px solid #0188fb"}).find(".luckysheet-cs-draghandle").css("display","block").end().find(".luckysheet-cs-fillhandle").css("display","none").end().find(".luckysheet-cs-touchhandle").css("display","block"):$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").css({left:h.luckysheet_select_save[t].left_move,width:h.luckysheet_select_save[t].width_move,top:h.luckysheet_select_save[t].top_move,height:h.luckysheet_select_save[t].height_move,display:"block",border:"1px solid #0188fb"}).find(".luckysheet-cs-draghandle").css("display","block").end().find(".luckysheet-cs-fillhandle").css("display","block").end().find(".luckysheet-cs-touchhandle").css("display","none"):$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").css({left:h.luckysheet_select_save[t].left_move,width:h.luckysheet_select_save[t].width_move,top:h.luckysheet_select_save[t].top_move,height:h.luckysheet_select_save[t].height_move,display:"block",border:"1px solid rgba(1, 136, 251, 0.15)"}).find(".luckysheet-cs-draghandle").css("display","none").end().find(".luckysheet-cs-fillhandle").css("display","none"):$("#luckysheet-cell-selected-boxs").append('<div class="luckysheet-cell-selected" style="left: '+h.luckysheet_select_save[t].left_move+"px; width: "+h.luckysheet_select_save[t].width_move+"px; top: "+h.luckysheet_select_save[t].top_move+"px; height: "+h.luckysheet_select_save[t].height_move+'px; border: 1px solid rgba(1, 136, 251, 0.15); display: block;"></div>'),t==h.luckysheet_select_save.length-1&&($("#luckysheet-cell-selected-focus").css({left:h.luckysheet_select_save[t].left,width:h.luckysheet_select_save[t].width,top:h.luckysheet_select_save[t].top,height:h.luckysheet_select_save[t].height,display:"block"}),ll(h.luckysheet_select_save[t].left_move,h.luckysheet_select_save[t].top_move,h.luckysheet_select_save[t].width_move,h.luckysheet_select_save[t].height_move,[l,n],[o,s]),p.fucntionboxshow(u,d),Ye.cellFocus(u,d))}V0(h.luckysheet_select_save,e),Lo(),h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]&&yd(h.luckysheet_select_save[0].row[0],h.luckysheet_select_save[0].column[0]),Mc()}h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_select_save=h.luckysheet_select_save;let a=JSON.stringify(h.luckysheet_select_save);h.luckysheet_select_save_previous==null|h.luckysheet_select_save_previous!==a&&ut.createHookFunction("rangeSelect",h.luckysheetfile[Z(h.currentSheetIndex)],h.luckysheet_select_save),h.luckysheet_select_save_previous=a}function V0(e,a=!1){let t=$.extend(!0,[],e),l={},n={};for(let u=0;u<t.length;u++){let d=t[u].row[0],f=t[u].row[1],m=t[u].column[0],g=t[u].column[1];l=Wf(l,d,f),n=Wf(n,m,g)}$("#luckysheet-rows-h-selected").empty();let o=Yf(l);for(let u=0;u<o.length;u++){let d=o[u][0],f=o[u][o[u].length-1],m=Qt(f)[1],g=Qt(d)[0];$("#luckysheet-rows-h-selected").append('<div class="luckysheet-rows-h-selected" style="top: '+g+"px; height: "+(m-g-1)+'px; display: block; background-color: rgba(76, 76, 76, 0.1);"></div>')}$("#luckysheet-cols-h-selected").empty();let s=Yf(n);for(let u=0;u<s.length;u++){let d=s[u][0],f=s[u][s[u].length-1],m=$t(f)[1],g=$t(d)[0];$("#luckysheet-cols-h-selected").append('<div class="luckysheet-cols-h-selected" style="left: '+g+"px; width: "+(m-g-1)+'px; display: block; background-color: rgba(76, 76, 76, 0.1);"></div>')}}function Wf(e,a,t){let l=$.extend(!0,{},e);for(let n=a;n<=t;n++)n in l||(l[n]=0);return l}function Yf(e){let a=[];for(let n in e)a.push(n);a.sort(function(n,o){return n-o});let t=[],l=[];if(a.length>1)for(let n=1;n<a.length;n++)a[n]-a[n-1]==1?(l.push(a[n-1]),n==a.length-1&&(l.push(a[n]),t.push(l))):n==1?n==a.length-1?(l.push(a[n-1]),t.push(l),t.push([a[n]])):t.push(a[0]):n==a.length-1?(l.push(a[n-1]),t.push(l),t.push([a[n]])):(l.push(a[n-1]),t.push(l),l=[]);else t.push([a[0]]);return t}function jl(e){e==null&&(e=h.luckysheet_select_save),e=JSON.parse(JSON.stringify(e));let a=!1,t={};for(let l=0;l<e.length;l++){let n=e[l].row[0],o=e[l].row[1],s=e[l].column[0],u=e[l].column[1];for(let d=n;d<=o;d++)for(let f=s;f<=u;f++)if(d+"_"+f in t){a=!0;break}else t[d+"_"+f]=0}return a}function La(){let e=h.visibledatacolumn,a=h.visibledatarow;h.cooperativeEdit.changeCollaborationSize.forEach(t=>{if(t.i==h.currentSheetIndex){let l=t.v.column,n=e[l[0]]-1;t.v.column[0]!==0&&(n=e[l[1]]-e[l[0]-1]-(l[1]-l[0]+1));let o=t.v.row,s=a[o[0]]-1;t.v.row[0]!==0&&(s=a[o[1]]-a[o[0]-1]-(o[1]-o[0]+1));let u=h.cooperativeEdit.merge_range,d=e[t.v.column[0]-1]-1,f=a[t.v.row[0]-1]-1;if(h.config.columnlen!==null){for(let v in h.config.columnlen)if(t.v.column[0]<=v&&v<=t.v.column[1]){h.luckysheet_cols_change_size_start[1]=v-0;break}}if(h.config.rowlen!==null){for(let v in h.config.rowlen)if(t.v.row[0]<=v&&v<=t.v.row[1]){h.luckysheet_rows_change_size_start[1]=v-0;break}}if(t.v.column[0]<=h.luckysheet_cols_change_size_start[1]&&h.luckysheet_cols_change_size_start[1]<=t.v.column[1])if(h.luckysheet_cols_change_size_start[1]==0)n=e[0]-1;else{let v=t.v.column;n=e[v[1]]-e[v[0]-1]-(v[1]-v[0]+1)}if(t.v.row[0]<=h.luckysheet_rows_change_size_start[1]&&h.luckysheet_rows_change_size_start[1]<=t.v.row[1])if(h.luckysheet_rows_change_size_start[1]==0)s=a[0]-1;else{let v=t.v.row;s=a[v[1]]-a[v[0]-1]-(v[1]-v[0]+1)}if(Object.keys(u).length>0){let v=!1;if(u.v.length>1&&(v=u.v[1][0]==null||Object.keys(u.v[1][0]).length>0),u.v[0].length>1&&(v=u.v[0][1]==null||Object.keys(u.v[0][1]).length>0),v){let b=u.column[0]<=t.v.column[0]&&u.column[1]>=t.v.column[1];if(d=e[u.column[0]-1]-1,f=a[u.row[0]-1]-1,n=e[u.column[1]]-1,s=a[u.row[1]]-1,b){if(u.column[0]!==0){let x=u.column;n=e[x[1]]-e[x[0]-1]-(x[1]-x[0]+1)}else d=0;t.v.column=u.column}if(u.row[0]<=t.v.row[0]&&u.row[1]>=t.v.row[1]){if(u.row[0]!==0){let x=u.row;s=a[x[1]]-a[x[0]-1]-(x[1]-x[0]+1)}else f=0;t.v.row=u.row}}else n=e[l[0]]-e[l[0]-1]-1,l[0]===0&&(n=e[l[0]]-1),s=a[o[0]]-a[o[0]-1]-1,o[0]===0&&(s=a[o[0]]-1)}$("#luckysheet-multipleRange-show-"+t.id).css({height:s,width:n,top:f+"px",left:d+"px"});let y=$("#luckysheet-multipleRange-show-"+t.id)[0].offsetHeight-1;$("#luckysheet-multipleRange-show-"+t.id+">.username").css({bottom:y+"px"})}})}function Mt(e){if($("#luckysheet-selection-copy").empty(),e==null&&(e=h.luckysheet_selection_range),e=JSON.parse(JSON.stringify(e)),e.length>0)for(let a=0;a<e.length;a++){let t=e[a].row[0],l=e[a].row[1],n=e[a].column[0],o=e[a].column[1],s=h.visibledatarow[l],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[o],f=n-1==-1?0:h.visibledatacolumn[n-1],m='<div class="luckysheet-selection-copy" style="display: block; left: '+f+"px; width: "+(d-f-1)+"px; top: "+u+"px; height: "+(s-u-1)+'px;"><div class="luckysheet-selection-copy-top luckysheet-copy"></div><div class="luckysheet-selection-copy-right luckysheet-copy"></div><div class="luckysheet-selection-copy-bottom luckysheet-copy"></div><div class="luckysheet-selection-copy-left luckysheet-copy"></div><div class="luckysheet-selection-copy-hc"></div></div>';$("#luckysheet-selection-copy").append(m)}}function ll(e,a,t,l,n,o){let s=n[1]-n[0]+1,u=o[1]-o[0]+1,d=h.luckysheetTableContentHW[0],f=h.luckysheetTableContentHW[1],m=$("#luckysheet-cell-main").scrollLeft(),g=$("#luckysheet-cell-main").scrollTop(),v=Q().info;if(s>=4){let b=e-25;b<0&&(b=e+5),b<m&&(b=m+10);let k=a+l/2;l>f&&(k=g+f/2),$("#luckysheet-row-count-show").css({left:b,top:k,display:"block",width:"11px"}).html("<div>"+s.toString().split("").join("</div><div>")+"</div><div>"+v.row+"</div>")}else $("#luckysheet-row-count-show").hide();if(u>=4){let b=a-25;b<0&&(b=a+5),b<g&&(b=g+10);let k=e+t/2;t>d&&(k=m+d/2),$("#luckysheet-column-count-show").css({left:k,top:b,display:"block"}).text(u+v.column)}else $("#luckysheet-column-count-show").hide()}function Lo(){let e=h.luckysheet_select_save[h.luckysheet_select_save.length-1],a=e.row_focus,t=e.column_focus;h.config.merge!=null&&a+"_"+t in h.config.merge?$("#luckysheet-helpbox-cell").text(kt(h.currentSheetIndex,{column:[t,t],row:[a,a]})):$("#luckysheet-helpbox-cell").text(kt(h.currentSheetIndex,e))}var Xt=Ae(()=>{lr();Vt();so();Pr();mn();dl();Rt();Ke();Wr();bt();hn()});var j0,Nc,Xf=Ae(()=>{dt();jt();lr();Kt();ar();At();Ke();bt();j0={moneyFmtList:[{name:"\u4EBA\u6C11\u5E01",pos:"before",value:"\xA5"},{name:"\u7F8E\u5143",pos:"before",value:"$"},{name:"\u6B27\u5143",pos:"before",value:"\u20AC"},{name:"\u82F1\u9551",pos:"before",value:"\uFFE1"},{name:"\u6E2F\u5143",pos:"before",value:"$"},{name:"\u65E5\u5143",pos:"before",value:"\uFFE5"},{name:"\u963F\u5C14\u5DF4\u5C3C\u4E9A\u5217\u514B",pos:"before",value:"Lek"},{name:"\u963F\u5C14\u53CA\u5229\u4E9A\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u963F\u5BCC\u6C57\u5C3C",pos:"after",value:"Af"},{name:"\u963F\u6839\u5EF7\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u963F\u62C9\u4F2F\u8054\u5408\u914B\u957F\u56FD\u8FEA\u62C9\u59C6",pos:"before",value:"dh"},{name:"\u963F\u9C81\u5DF4\u5F17\u7F57\u6797",pos:"before",value:"Afl"},{name:"\u963F\u66FC\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u963F\u585E\u62DC\u7586\u9A6C\u7EB3\u7279",pos:"before",value:"?"},{name:"\u57C3\u53CA\u9551",pos:"before",value:"\uFFE1"},{name:"\u57C3\u585E\u4FC4\u6BD4\u4E9A\u6BD4\u5C14",pos:"before",value:"Birr"},{name:"\u5B89\u54E5\u62C9\u5BBD\u624E",pos:"before",value:"Kz"},{name:"\u6FB3\u5927\u5229\u4E9A\u5143",pos:"before",value:"$"},{name:"\u6FB3\u95E8\u5143",pos:"before",value:"MOP"},{name:"\u5DF4\u5DF4\u591A\u65AF\u5143",pos:"before",value:"$"},{name:"\u5DF4\u5E03\u4E9A\u65B0\u51E0\u5185\u4E9A\u57FA\u90A3",pos:"before",value:"PGK"},{name:"\u5DF4\u54C8\u9A6C\u5143",pos:"before",value:"$"},{name:"\u5DF4\u57FA\u65AF\u5766\u5362\u6BD4",pos:"before",value:"Rs"},{name:"\u5DF4\u62C9\u572D\u74DC\u62C9\u5C3C",pos:"after",value:"Gs"},{name:"\u5DF4\u6797\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u5DF4\u62FF\u9A6C\u5DF4\u6CE2\u4E9A",pos:"before",value:"B/"},{name:"\u5DF4\u897F\u91CC\u4E9A\u4F0A",pos:"before",value:"R$"},{name:"\u767D\u4FC4\u7F57\u65AF\u5362\u5E03",pos:"after",value:"\u0440"},{name:"\u767E\u6155\u5927\u5143",pos:"before",value:"$"},{name:"\u4FDD\u52A0\u5229\u4E9A\u5217\u5F17",pos:"before",value:"lev"},{name:"\u51B0\u5C9B\u514B\u6717",pos:"before",value:"kr"},{name:"\u6CE2\u9ED1\u53EF\u5151\u6362\u9A6C\u514B",pos:"before",value:"KM"},{name:"\u6CE2\u5170\u5179\u7F57\u63D0",pos:"after",value:"z?"},{name:"\u73BB\u5229\u7EF4\u4E9A\u8BFA",pos:"before",value:"Bs"},{name:"\u4F2F\u5229\u5179\u5143",pos:"before",value:"$"},{name:"\u535A\u8328\u74E6\u7EB3\u666E\u62C9",pos:"before",value:"P"},{name:"\u4E0D\u4E39\u52AA\u624E\u59C6",pos:"before",value:"Nu"},{name:"\u5E03\u9686\u8FEA\u6CD5\u90CE",pos:"before",value:"FBu"},{name:"\u671D\u9C9C\u5706",pos:"before",value:"?KP"},{name:"\u4E39\u9EA6\u514B\u6717",pos:"after",value:"kr"},{name:"\u4E1C\u52A0\u52D2\u6BD4\u5143",pos:"before",value:"$"},{name:"\u591A\u7C73\u5C3C\u52A0\u6BD4\u7D22",pos:"before",value:"RD$"},{name:"\u4FC4\u56FD\u5362\u5E03",pos:"after",value:"?"},{name:"\u5384\u7ACB\u7279\u91CC\u4E9A\u7EB3\u514B\u6CD5",pos:"before",value:"Nfk"},{name:"\u975E\u6D32\u91D1\u878D\u5171\u540C\u4F53\u6CD5\u90CE",pos:"before",value:"CFA"},{name:"\u83F2\u5F8B\u5BBE\u6BD4\u7D22",pos:"before",value:"?"},{name:"\u6590\u6D4E\u5143",pos:"before",value:"$"},{name:"\u4F5B\u5F97\u89D2\u57C3\u65AF\u5E93\u591A",pos:"before",value:"CVE"},{name:"\u798F\u514B\u5170\u7FA4\u5C9B\u9551",pos:"before",value:"\uFFE1"},{name:"\u5188\u6BD4\u4E9A\u8FBE\u62C9\u897F",pos:"before",value:"GMD"},{name:"\u521A\u679C\u6CD5\u90CE",pos:"before",value:"FrCD"},{name:"\u54E5\u4F26\u6BD4\u4E9A\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u54E5\u65AF\u8FBE\u9ECE\u52A0\u79D1\u6717",pos:"before",value:"?"},{name:"\u53E4\u5DF4\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u53E4\u5DF4\u53EF\u5151\u6362\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u572D\u4E9A\u90A3\u5143",pos:"before",value:"$"},{name:"\u54C8\u8428\u514B\u65AF\u5766\u575A\u6208",pos:"before",value:"?"},{name:"\u6D77\u5730\u53E4\u5FB7",pos:"before",value:"HTG"},{name:"\u97E9\u5143",pos:"before",value:"?"},{name:"\u8377\u5C5E\u5B89\u7684\u5217\u65AF\u76FE",pos:"before",value:"NAf."},{name:"\u6D2A\u90FD\u62C9\u65AF\u62C9\u4F26\u76AE\u62C9",pos:"before",value:"L"},{name:"\u5409\u5E03\u63D0\u6CD5\u90CE",pos:"before",value:"Fdj"},{name:"\u5409\u5C14\u5409\u65AF\u65AF\u5766\u7D22\u59C6",pos:"before",value:"KGS"},{name:"\u51E0\u5185\u4E9A\u6CD5\u90CE",pos:"before",value:"FG"},{name:"\u52A0\u62FF\u5927\u5143",pos:"before",value:"$"},{name:"\u52A0\u7EB3\u585E\u5730",pos:"before",value:"GHS"},{name:"\u67EC\u57D4\u5BE8\u745E\u5C14",pos:"before",value:"Riel"},{name:"\u6377\u514B\u514B\u6717",pos:"after",value:"K?"},{name:"\u6D25\u5DF4\u5E03\u97E6\u5143",pos:"before",value:"$"},{name:"\u5361\u5854\u5C14\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u5F00\u66FC\u7FA4\u5C9B\u5143",pos:"before",value:"$"},{name:"\u79D1\u6469\u7F57\u6CD5\u90CE",pos:"before",value:"CF"},{name:"\u79D1\u5A01\u7279\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u514B\u7F57\u5730\u4E9A\u5E93\u7EB3",pos:"before",value:"kn"},{name:"\u80AF\u5C3C\u4E9A\u5148\u4EE4",pos:"before",value:"Ksh"},{name:"\u83B1\u7D22\u6258\u6D1B\u8482",pos:"before",value:"LSL"},{name:"\u8001\u631D\u57FA\u666E",pos:"before",value:"?"},{name:"\u9ECE\u5DF4\u5AE9\u9551",pos:"before",value:"L\uFFE1"},{name:"\u7ACB\u9676\u5B9B\u7ACB\u7279",pos:"before",value:"Lt"},{name:"\u5229\u6BD4\u4E9A\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u5229\u6BD4\u4E9A\u5143",pos:"before",value:"$"},{name:"\u5362\u65FA\u8FBE\u6CD5\u90CE",pos:"before",value:"RF"},{name:"\u7F57\u9A6C\u5C3C\u4E9A\u5217\u4F0A",pos:"before",value:"RON"},{name:"\u9A6C\u8FBE\u52A0\u65AF\u52A0\u963F\u91CC\u4E9A\u91CC",pos:"before",value:"Ar"},{name:"\u9A6C\u5C14\u4EE3\u592B\u62C9\u83F2\u4E9A",pos:"before",value:"Rf"},{name:"\u9A6C\u62C9\u7EF4\u514B\u74E6\u67E5",pos:"before",value:"MWK"},{name:"\u9A6C\u6765\u897F\u4E9A\u6797\u5409\u7279",pos:"before",value:"RM"},{name:"\u9A6C\u5176\u987F\u6234\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u6BDB\u91CC\u6C42\u65AF\u5362\u6BD4",pos:"before",value:"MURs"},{name:"\u6BDB\u91CC\u5854\u5C3C\u4E9A\u4E4C\u5409\u4E9A",pos:"before",value:"MRO"},{name:"\u8499\u53E4\u56FE\u683C\u91CC\u514B",pos:"before",value:"?"},{name:"\u5B5F\u52A0\u62C9\u5854\u5361",pos:"before",value:"?"},{name:"\u79D8\u9C81\u65B0\u7D22\u5C14",pos:"before",value:"S/"},{name:"\u7F05\u7538\u5F00\u4E9A\u7279",pos:"before",value:"K"},{name:"\u6469\u5C14\u591A\u74E6\u5217\u4F0A",pos:"before",value:"MDL"},{name:"\u6469\u6D1B\u54E5\u8FEA\u62C9\u59C6",pos:"before",value:"dh"},{name:"\u83AB\u6851\u6BD4\u514B\u6885\u8482\u5361\u5C14",pos:"before",value:"MTn"},{name:"\u58A8\u897F\u54E5\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u7EB3\u7C73\u6BD4\u4E9A\u5143",pos:"before",value:"$"},{name:"\u5357\u975E\u5170\u7279",pos:"before",value:"R"},{name:"\u5357\u82CF\u4E39\u9551",pos:"before",value:"\uFFE1"},{name:"\u5C3C\u52A0\u62C9\u74DC\u79D1\u591A\u5DF4",pos:"before",value:"C$"},{name:"\u5C3C\u6CCA\u5C14\u5362\u6BD4",pos:"before",value:"Rs"},{name:"\u5C3C\u65E5\u5229\u4E9A\u5948\u62C9",pos:"before",value:"?"},{name:"\u632A\u5A01\u514B\u6717",pos:"after",value:"kr"},{name:"\u4E54\u6CBB\u4E9A\u62C9\u745E",pos:"before",value:"GEL"},{name:"\u4EBA\u6C11\u5E01\uFF08\u79BB\u5CB8\uFF09",pos:"before",value:"\uFFE5"},{name:"\u745E\u5178\u514B\u6717",pos:"after",value:"kr"},{name:"\u745E\u58EB\u6CD5\u90CE",pos:"before",value:"CHF"},{name:"\u585E\u5C14\u7EF4\u4E9A\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u585E\u62C9\u5229\u6602\u5229\u6602",pos:"before",value:"SLL"},{name:"\u585E\u820C\u5C14\u5362\u6BD4",pos:"before",value:"SCR"},{name:"\u6C99\u7279\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u5723\u591A\u7F8E\u591A\u5E03\u62C9",pos:"before",value:"Db"},{name:"\u5723\u8D6B\u52D2\u62FF\u7FA4\u5C9B\u78C5",pos:"before",value:"\uFFE1"},{name:"\u65AF\u91CC\u5170\u5361\u5362\u6BD4",pos:"before",value:"Rs"},{name:"\u65AF\u5A01\u58EB\u5170\u91CC\u5170\u5409\u5C3C",pos:"before",value:"SZL"},{name:"\u82CF\u4E39\u9551",pos:"before",value:"SDG"},{name:"\u82CF\u91CC\u5357\u5143",pos:"before",value:"$"},{name:"\u6240\u7F57\u95E8\u7FA4\u5C9B\u5143",pos:"before",value:"$"},{name:"\u7D22\u9A6C\u91CC\u5148\u4EE4",pos:"before",value:"SOS"},{name:"\u5854\u5409\u514B\u65AF\u5766\u7D22\u83AB\u5C3C",pos:"before",value:"Som"},{name:"\u592A\u5E73\u6D0B\u6CD5\u90CE",pos:"after",value:"FCFP"},{name:"\u6CF0\u56FD\u94E2",pos:"before",value:"?"},{name:"\u5766\u6851\u5C3C\u4E9A\u5148\u4EE4",pos:"before",value:"TSh"},{name:"\u6C64\u52A0\u6F58\u52A0",pos:"before",value:"T$"},{name:"\u7279\u7ACB\u5C3C\u8FBE\u548C\u591A\u5DF4\u54E5\u5143",pos:"before",value:"$"},{name:"\u7A81\u5C3C\u65AF\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u571F\u8033\u5176\u91CC\u62C9",pos:"before",value:"?"},{name:"\u74E6\u52AA\u963F\u56FE\u74E6\u56FE",pos:"before",value:"VUV"},{name:"\u5371\u5730\u9A6C\u62C9\u683C\u67E5\u5C14",pos:"before",value:"Q"},{name:"\u59D4\u5185\u745E\u62C9\u535A\u5229\u74E6",pos:"before",value:"Bs"},{name:"\u6587\u83B1\u5143",pos:"before",value:"$"},{name:"\u4E4C\u5E72\u8FBE\u5148\u4EE4",pos:"before",value:"UGX"},{name:"\u4E4C\u514B\u5170\u683C\u91CC\u592B\u5C3C\u4E9A",pos:"before",value:"\u0433\u0440\u043D."},{name:"\u4E4C\u62C9\u572D\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u4E4C\u5179\u522B\u514B\u65AF\u5766\u82CF\u59C6",pos:"before",value:"so?m"},{name:"\u897F\u8428\u6469\u4E9A\u5854\u62C9",pos:"before",value:"WST"},{name:"\u65B0\u52A0\u5761\u5143",pos:"before",value:"$"},{name:"\u65B0\u53F0\u5E01",pos:"before",value:"NT$"},{name:"\u65B0\u897F\u5170\u5143",pos:"before",value:"$"},{name:"\u5308\u7259\u5229\u798F\u6797",pos:"before",value:"Ft"},{name:"\u53D9\u5229\u4E9A\u9551",pos:"before",value:"\uFFE1"},{name:"\u7259\u4E70\u52A0\u5143",pos:"before",value:"$"},{name:"\u4E9A\u7F8E\u5C3C\u4E9A\u5FB7\u62C9\u59C6",pos:"before",value:"Dram"},{name:"\u4E5F\u95E8\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u4F0A\u62C9\u514B\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u4F0A\u6717\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u4EE5\u8272\u5217\u65B0\u8C22\u514B\u5C14",pos:"before",value:"?"},{name:"\u5370\u5EA6\u5362\u6BD4",pos:"before",value:"?"},{name:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u5362\u6BD4",pos:"before",value:"Rp"},{name:"\u7EA6\u65E6\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u8D8A\u5357\u76FE",pos:"after",value:"?"},{name:"\u8D5E\u6BD4\u4E9A\u514B\u74E6\u67E5",pos:"before",value:"ZMW"},{name:"\u76F4\u5E03\u7F57\u9640\u9551",pos:"before",value:"\uFFE1"},{name:"\u667A\u5229\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u4E2D\u975E\u91D1\u878D\u5408\u4F5C\u6CD5\u90CE",pos:"before",value:"FCFA"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"1930\u5E748\u67085\u65E5",value:'yyyy"\u5E74"M"\u6708"d"\u65E5"'},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"8\u67085\u65E5",value:'M"\u6708"d"\u65E5"'},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"\u4E0B\u534801:30",value:"\u4E0A\u5348/\u4E0B\u5348 hh:mm"},{name:"\u4E0B\u53481:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm"},{name:"\u4E0B\u53481:30:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm:ss"},{name:"08-05 \u4E0B\u534801:30",value:"MM-dd \u4E0A\u5348/\u4E0B\u5348 hh:mm"}],numFmtList:[{name:"1235",value:"0"},{name:"1234.56",value:"0.00"},{name:"1,235",value:"#,##0"},{name:"1,234.56",value:"#,##0.00"},{name:"1,235",value:"#,##0_);(#,##0)"},{name:"1,235",value:"#,##0_);[Red](#,##0)"},{name:"1,234.56",value:"#,##0.00_);(#,##0.00)"},{name:"1,234.56",value:"#,##0.00_);[Red](#,##0.00)"},{name:"$1,235",value:"$#,##0_);($#,##0)"},{name:"$1,235",value:"$#,##0_);[Red]($#,##0)"},{name:"$1,234.56",value:"$#,##0.00_);($#,##0.00)"},{name:"$1,234.56",value:"$#,##0.00_);[Red]($#,##0.00)"},{name:"1234.56",value:"@"},{name:"123456%",value:"0%"},{name:"123456.00%",value:"0.00%"},{name:"1.23E+03",value:"0.00E+00"},{name:"1.2E+3",value:"##0.0E+0"},{name:"1234 5/9",value:"# ?/?"},{name:"1234 14/25",value:"# ??/??"},{name:"$ 1,235",value:'_($* #,##0_);_(...($* "-"_);_(@_)'},{name:"1,235",value:'_(* #,##0_);_(*..._(* "-"_);_(@_)'},{name:"$ 1,234.56",value:'_($* #,##0.00_);_(...($* "-"_);_(@_)'},{name:"1,234.56",value:'_(* #,##0.00_);...* "-"??_);_(@_)'}],createDialog:function(e){let a=this,t=Q().currencyDetail,l=Q().format,n=Q().button;this.moneyFmtList=[{name:t.RMB,pos:"before",value:"\xA5"},{name:t.USdollar,pos:"before",value:"$"},{name:t.EUR,pos:"before",value:"\u20AC"},{name:t.GBP,pos:"before",value:"\uFFE1"},{name:t.HK,pos:"before",value:"$"},{name:t.JPY,pos:"before",value:"\uFFE5"},{name:t.AlbanianLek,pos:"before",value:"Lek"},{name:t.AlgerianDinar,pos:"before",value:"din"},{name:t.Afghani,pos:"after",value:"Af"},{name:t.ArgentinePeso,pos:"before",value:"$"},{name:t.UnitedArabEmiratesDirham,pos:"before",value:"dh"},{name:t.ArubanFlorin,pos:"before",value:"Afl"},{name:t.OmaniRial,pos:"before",value:"Rial"},{name:t.Azerbaijanimanat,pos:"before",value:"?"},{name:t.EgyptianPound,pos:"before",value:"\uFFE1"},{name:t.EthiopianBirr,pos:"before",value:"Birr"},{name:t.AngolaKwanza,pos:"before",value:"Kz"},{name:t.AustralianDollar,pos:"before",value:"$"},{name:t.Patacas,pos:"before",value:"MOP"},{name:t.BarbadosDollar,pos:"before",value:"$"},{name:t.PapuaNewGuineaKina,pos:"before",value:"PGK"},{name:t.BahamianDollar,pos:"before",value:"$"},{name:t.PakistanRupee,pos:"before",value:"Rs"},{name:t.ParaguayanGuarani,pos:"after",value:"Gs"},{name:t.BahrainiDinar,pos:"before",value:"din"},{name:t.PanamanianBalboa,pos:"before",value:"B/"},{name:t.Brazilianreal,pos:"before",value:"R$"},{name:t.Belarusianruble,pos:"after",value:"\u0440"},{name:t.BermudianDollar,pos:"before",value:"$"},{name:t.BulgarianLev,pos:"before",value:"lev"},{name:t.IcelandKrona,pos:"before",value:"kr"},{name:t.BosniaHerzegovinaConvertibleMark,pos:"before",value:"KM"},{name:t.PolishZloty,pos:"after",value:"z?"},{name:t.Boliviano,pos:"before",value:"Bs"},{name:t.BelizeDollar,pos:"before",value:"$"},{name:t.BotswanaPula,pos:"before",value:"P"},{name:t.NotDannuzhamu,pos:"before",value:"Nu"},{name:t.BurundiFranc,pos:"before",value:"FBu"},{name:t.NorthKoreanWon,pos:"before",value:"?KP"},{name:t.DanishKrone,pos:"after",value:"kr"},{name:t.EastCaribbeanDollar,pos:"before",value:"$"},{name:t.DominicaPeso,pos:"before",value:"RD$"},{name:t.RussianRuble,pos:"after",value:"?"},{name:t.EritreanNakfa,pos:"before",value:"Nfk"},{name:t.CFAfranc,pos:"before",value:"CFA"},{name:t.PhilippinePeso,pos:"before",value:"?"},{name:t.FijiDollar,pos:"before",value:"$"},{name:t.CapeVerdeEscudo,pos:"before",value:"CVE"},{name:t.FalklandIslandsPound,pos:"before",value:"\uFFE1"},{name:t.GambianDalasi,pos:"before",value:"GMD"},{name:t.Congolesefranc,pos:"before",value:"FrCD"},{name:t.ColombianPeso,pos:"before",value:"$"},{name:t.CostaRicanColon,pos:"before",value:"?"},{name:t.CubanPeso,pos:"before",value:"$"},{name:t.Cubanconvertiblepeso,pos:"before",value:"$"},{name:t.GuyanaDollar,pos:"before",value:"$"},{name:t.KazakhstanTenge,pos:"before",value:"?"},{name:t.Haitiangourde,pos:"before",value:"HTG"},{name:t.won,pos:"before",value:"?"},{name:t.NetherlandsAntillesGuilder,pos:"before",value:"NAf."},{name:t.Honduraslempiras,pos:"before",value:"L"},{name:t.DjiboutiFranc,pos:"before",value:"Fdj"},{name:t.KyrgyzstanSom,pos:"before",value:"KGS"},{name:t.GuineaFranc,pos:"before",value:"FG"},{name:t.CanadianDollar,pos:"before",value:"$"},{name:t.GhanaianCedi,pos:"before",value:"GHS"},{name:t.Cambodianriel,pos:"before",value:"Riel"},{name:t.CzechKoruna,pos:"after",value:"K?"},{name:t.ZimbabweDollar,pos:"before",value:"$"},{name:t.QatariRiyal,pos:"before",value:"Rial"},{name:t.CaymanIslandsDollar,pos:"before",value:"$"},{name:t.Comorianfranc,pos:"before",value:"CF"},{name:t.KuwaitiDinar,pos:"before",value:"din"},{name:t.CroatianKuna,pos:"before",value:"kn"},{name:t.KenyanShilling,pos:"before",value:"Ksh"},{name:t.LesothoLoti,pos:"before",value:"LSL"},{name:t.LaoKip,pos:"before",value:"?"},{name:t.LebanesePound,pos:"before",value:"L\uFFE1"},{name:t.Lithuanianlitas,pos:"before",value:"Lt"},{name:t.LibyanDinar,pos:"before",value:"din"},{name:t.LiberianDollar,pos:"before",value:"$"},{name:t.RwandaFranc,pos:"before",value:"RF"},{name:t.RomanianLeu,pos:"before",value:"RON"},{name:t.MalagasyAriary,pos:"before",value:"Ar"},{name:t.MaldivianRufiyaa,pos:"before",value:"Rf"},{name:t.MalawiKwacha,pos:"before",value:"MWK"},{name:t.MalaysianRinggit,pos:"before",value:"RM"},{name:t.MacedoniawearingDinar,pos:"before",value:"din"},{name:t.MauritiusRupee,pos:"before",value:"MURs"},{name:t.MauritanianOuguiya,pos:"before",value:"MRO"},{name:t.MongolianTugrik,pos:"before",value:"?"},{name:t.BangladeshiTaka,pos:"before",value:"?"},{name:t.PeruvianNuevoSol,pos:"before",value:"S/"},{name:t.MyanmarKyat,pos:"before",value:"K"},{name:t.MoldovanLeu,pos:"before",value:"MDL"},{name:t.MoroccanDirham,pos:"before",value:"dh"},{name:t.MozambiqueMetical,pos:"before",value:"MTn"},{name:t.MexicanPeso,pos:"before",value:"$"},{name:t.NamibianDollar,pos:"before",value:"$"},{name:t.SouthAfricanRand,pos:"before",value:"R"},{name:t.SouthSudanesePound,pos:"before",value:"\uFFE1"},{name:t.NicaraguaCordoba,pos:"before",value:"C$"},{name:t.NepaleseRupee,pos:"before",value:"Rs"},{name:t.NigerianNaira,pos:"before",value:"?"},{name:t.NorwegianKrone,pos:"after",value:"kr"},{name:t.GeorgianLari,pos:"before",value:"GEL"},{name:t.RenminbiOffshore,pos:"before",value:"\uFFE5"},{name:t.SwedishKrona,pos:"after",value:"kr"},{name:t.SwissFranc,pos:"before",value:"CHF"},{name:t.SerbianDinar,pos:"before",value:"din"},{name:t.SierraLeone,pos:"before",value:"SLL"},{name:t.SeychellesRupee,pos:"before",value:"SCR"},{name:t.SaudiRiyal,pos:"before",value:"Rial"},{name:t.SaoTomeDobra,pos:"before",value:"Db"},{name:t.SaintHelenapound,pos:"before",value:"\uFFE1"},{name:t.SriLankaRupee,pos:"before",value:"Rs"},{name:t.SwazilandLilangeni,pos:"before",value:"SZL"},{name:t.SudanesePound,pos:"before",value:"SDG"},{name:t.Surinamesedollar,pos:"before",value:"$"},{name:t.SolomonIslandsDollar,pos:"before",value:"$"},{name:t.SomaliShilling,pos:"before",value:"SOS"},{name:t.TajikistanSomoni,pos:"before",value:"Som"},{name:t.PacificFranc,pos:"after",value:"FCFP"},{name:t.ThaiBaht,pos:"before",value:"?"},{name:t.TanzanianShilling,pos:"before",value:"TSh"},{name:t.TonganPaanga,pos:"before",value:"T$"},{name:t.TrinidadandTobagoDollar,pos:"before",value:"$"},{name:t.TunisianDinar,pos:"before",value:"din"},{name:t.TurkishLira,pos:"before",value:"?"},{name:t.VanuatuVatu,pos:"before",value:"VUV"},{name:t.GuatemalanQuetzal,pos:"before",value:"Q"},{name:t.CommissionBolivar,pos:"before",value:"Bs"},{name:t.BruneiDollar,pos:"before",value:"$"},{name:t.UgandanShilling,pos:"before",value:"UGX"},{name:t.UkrainianHryvnia,pos:"before",value:"\u0433\u0440\u043D."},{name:t.UruguayanPeso,pos:"before",value:"$"},{name:t.Uzbekistansom,pos:"before",value:"so?m"},{name:t.WesternSamoaTala,pos:"before",value:"WST"},{name:t.SingaporeDollar,pos:"before",value:"$"},{name:t.NT,pos:"before",value:"NT$"},{name:t.NewZealandDollar,pos:"before",value:"$"},{name:t.HungarianForint,pos:"before",value:"Ft"},{name:t.SyrianPound,pos:"before",value:"\uFFE1"},{name:t.JamaicanDollar,pos:"before",value:"$"},{name:t.ArmenianDram,pos:"before",value:"Dram"},{name:t.YemeniRial,pos:"before",value:"Rial"},{name:t.IraqiDinar,pos:"before",value:"din"},{name:t.IranianRial,pos:"before",value:"Rial"},{name:t.NewIsraeliShekel,pos:"before",value:"?"},{name:t.IndianRupee,pos:"before",value:"?"},{name:t.IndonesianRupiah,pos:"before",value:"Rp"},{name:t.JordanianDinar,pos:"before",value:"din"},{name:t.VND,pos:"after",value:"?"},{name:t.ZambianKwacha,pos:"before",value:"ZMW"},{name:t.GibraltarPound,pos:"before",value:"\uFFE1"},{name:t.ChileanPeso,pos:"before",value:"$"},{name:t.CFAFrancBEAC,pos:"before",value:"FCFA"}],this.dateFmtList=Q().dateFmtList,this.numFmtList=[{name:"1235",value:"0"},{name:"1234.56",value:"0.00"},{name:"1,235",value:"#,##0"},{name:"1,234.56",value:"#,##0.00"},{name:"1,235",value:"#,##0_);(#,##0)"},{name:"1,235",value:"#,##0_);[Red](#,##0)"},{name:"1,234.56",value:"#,##0.00_);(#,##0.00)"},{name:"1,234.56",value:"#,##0.00_);[Red](#,##0.00)"},{name:"$1,235",value:"$#,##0_);($#,##0)"},{name:"$1,235",value:"$#,##0_);[Red]($#,##0)"},{name:"$1,234.56",value:"$#,##0.00_);($#,##0.00)"},{name:"$1,234.56",value:"$#,##0.00_);[Red]($#,##0.00)"},{name:"1234.56",value:"@"},{name:"123456%",value:"0%"},{name:"123456.00%",value:"0.00%"},{name:"1.23E+03",value:"0.00E+00"},{name:"1.2E+3",value:"##0.0E+0"},{name:"1234 5/9",value:"# ?/?"},{name:"1234 14/25",value:"# ??/??"},{name:"$ 1,235",value:'_($* #,##0_);_(...($* "-"_);_(@_)'},{name:"1,235",value:'_(* #,##0_);_(*..._(* "-"_);_(@_)'},{name:"$ 1,234.56",value:'_($* #,##0.00_);_(...($* "-"_);_(@_)'},{name:"1,234.56",value:'_(* #,##0.00_);...* "-"??_);_(@_)'}],$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-moreFormat-dialog").remove();let o="",s="";if(e=="morecurrency"){o=l.titleCurrency;let b="";for(let k=0;k<a.moneyFmtList.length;k++){let x=a.moneyFmtList[k].name,w=a.moneyFmtList[k].pos,_=a.moneyFmtList[k].value;b+='<div class="listItem"><div class="name">'+x+'</div><div class="value">'+_+'</div><input type="hidden" value="'+w+'"/></div>'}s='<div class="box" id="morecurrency"><div class="decimal"><label>'+l.decimalPlaces+'\uFF1A</label><input type="number" class="formulaInputFocus" value="2" min="0" max="9"/></div><div class="listbox">'+b+"</div></div>"}else if(e=="moredatetime"){o=l.titleDateTime;let b="";for(let k=0;k<a.dateFmtList.length;k++){let x=a.dateFmtList[k].name,w=a.dateFmtList[k].value;b+='<div class="listItem"><div class="name">'+x+'</div><div class="value">'+w+"</div></div>"}s='<div class="box" id="moredatetime"><div class="listbox">'+b+"</div></div>"}else if(e=="moredigit"){o=l.titleNumber;let b="";for(let k=0;k<a.numFmtList.length;k++){let x=a.numFmtList[k].name,w=a.numFmtList[k].value;b+='<div class="listItem"><div class="name">'+x+'</div><div class="value">'+w+"</div></div>"}s='<div class="box" id="moredigit"><div class="listbox">'+b+"</div></div>"}$("body").append(we(ft,{id:"luckysheet-moreFormat-dialog",addclass:"luckysheet-moreFormat-dialog",title:o,content:s,botton:'<button id="luckysheet-moreFormat-dialog-confirm" class="btn btn-primary">'+n.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+n.cancel+"</button>",style:"z-index:100003"}));let u=$("#luckysheet-moreFormat-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),d=u.outerHeight(),f=u.outerWidth(),m=$(window).width(),g=$(window).height(),y=$(document).scrollLeft(),v=$(document).scrollTop();$("#luckysheet-moreFormat-dialog").css({left:(m+y-f)/2,top:(g+v-d)/3}).show(),$("#luckysheet-moreFormat-dialog .listbox .listItem").eq(0).addClass("on")},init:function(){let e=this;$(document).on("click","#luckysheet-moreFormat-dialog .listbox .listItem",function(){$(this).addClass("on").siblings().removeClass("on")}),$(document).off("click.moreFormatConfirm").on("click.moreFormatConfirm","#luckysheet-moreFormat-dialog #luckysheet-moreFormat-dialog-confirm",function(){$("#luckysheet-moreFormat-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide();let a=xe.deepCopyFlowData(h.flowdata),t=$("#luckysheet-moreFormat-dialog .listbox .listItem.on .value").text(),l=$(this).parents("#luckysheet-moreFormat-dialog").find(".box").attr("id");if(l=="morecurrency"){if(t.indexOf("?")!=-1)return;let n=parseInt($("#luckysheet-moreFormat-dialog .decimal input").val().trim());if(n.toString()=="NaN"||n<0||n>9){he()?alert("\u5C0F\u6570\u4F4D\u6570\u5FC5\u987B\u57280-9\u4E4B\u95F4\uFF01"):j.info("\u5C0F\u6570\u4F4D\u6570\u5FC5\u987B\u57280-9\u4E4B\u95F4\uFF01","");return}let o="";if(n>0){for(let u=1;u<=n;u++)o+="0";o="0."+o}else o="#";let s=$("#luckysheet-moreFormat-dialog .listbox .listItem.on input:hidden").val();s=="before"?o='"'+t+'" '+o:s=="after"&&(o=o+' "'+t+'"'),be.updateFormat(a,"ct",o)}else l=="moredatetime"?be.updateFormat(a,"ct",t):l=="moredigit"&&be.updateFormat(a,"ct",t)})}},Nc=j0});var U0,ka,Pc=Ae(()=>{dt();Rt();jt();Xt();hr();At();Ir();_l();Yt();Kt();ar();qi();Ke();bt();Dr();U0={createDialog:function(e){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-search-replace").remove();let a=Q(),t=a.findAndReplace,l=a.button,n='<div class="tabBox"><span id="searchTab">'+t.find+'</span><span id="replaceTab">'+t.replace+'</span></div><div class="ctBox"><div class="inputBox"><div class="textboxs" id="searchInput">'+t.findTextbox+'\uFF1A<input class="formulaInputFocus" spellcheck="false" value=""/></div><div class="textboxs" id="replaceInput">'+t.replaceTextbox+'\uFF1A<input class="formulaInputFocus" spellcheck="false" value=""/></div><div class="checkboxs"><div id="regCheck"><input type="checkbox"/><span>'+t.regexTextbox+'</span></div><div id="wordCheck"><input type="checkbox"/><span>'+t.wholeTextbox+'</span></div><div id="caseCheck"><input type="checkbox"/><span>'+t.distinguishTextbox+'</span></div></div></div><div class="btnBox"><button id="replaceAllBtn" class="btn btn-default">'+t.allReplaceBtn+'</button><button id="replaceBtn" class="btn btn-default">'+t.replaceBtn+'</button><button id="searchAllBtn" class="btn btn-default">'+t.allFindBtn+'</button><button id="searchNextBtn" class="btn btn-default">'+t.findBtn+"</button></div></div>";$("body").append(we(ft,{id:"luckysheet-search-replace",addclass:"luckysheet-search-replace",title:"",content:n,botton:'<button class="btn btn-default luckysheet-model-close-btn">'+l.close+"</button>",style:"z-index:100003",close:l.close}));let o=$("#luckysheet-search-replace").find(".luckysheet-modal-dialog-content").css("min-width",500).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-search-replace").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),e=="0"?($("#luckysheet-search-replace #searchTab").addClass("on").siblings().removeClass("on"),$("#luckysheet-search-replace #replaceInput").hide(),$("#luckysheet-search-replace #replaceAllBtn").hide(),$("#luckysheet-search-replace #replaceBtn").hide()):e=="1"&&($("#luckysheet-search-replace #replaceTab").addClass("on").siblings().removeClass("on"),$("#luckysheet-search-replace #replaceInput").show(),$("#luckysheet-search-replace #replaceAllBtn").show(),$("#luckysheet-search-replace #replaceBtn").show())},init:function(){let e=this;$(document).off("click.SRtabBoxspan").on("click.SRtabBoxspan","#luckysheet-search-replace .tabBox span",function(){$(this).addClass("on").siblings().removeClass("on");let a=$(this).attr("id");a=="searchTab"?($("#luckysheet-search-replace #replaceInput").hide(),$("#luckysheet-search-replace #replaceAllBtn").hide(),$("#luckysheet-search-replace #replaceBtn").hide(),$("#luckysheet-search-replace #searchInput input").focus()):a=="replaceTab"&&($("#luckysheet-search-replace #replaceInput").show(),$("#luckysheet-search-replace #replaceAllBtn").show(),$("#luckysheet-search-replace #replaceBtn").show(),$("#luckysheet-search-replace #replaceInput input").focus())}),$(document).off("keyup.SRsearchInput").on("keyup.SRsearchInput","#luckysheet-search-replace #searchInput input",function(a){a.keyCode==nt.ENTER&&e.searchNext()}),$(document).off("click.SRsearchNextBtn").on("click.SRsearchNextBtn","#luckysheet-search-replace #searchNextBtn",function(){e.searchNext()}),$(document).off("click.SRsearchAllBtn").on("click.SRsearchAllBtn","#luckysheet-search-replace #searchAllBtn",function(){e.searchAll()}),$(document).off("click.SRsearchAllboxItem").on("click.SRsearchAllboxItem","#luckysheet-search-replace #searchAllbox .boxItem",function(){$(this).addClass("on").siblings().removeClass("on");let a=$(this).attr("data-row"),t=$(this).attr("data-col"),l=$(this).attr("data-sheetIndex");l!=h.currentSheetIndex&&ye.changeSheetExec(l),h.luckysheet_select_save=[{row:[a,a],column:[t,t]}],et();let n=$("#luckysheet-cell-main").scrollLeft(),o=$("#luckysheet-cell-main").scrollTop(),s=$("#luckysheet-cell-main").height(),u=$("#luckysheet-cell-main").width(),d=h.visibledatarow[a],f=a-1==-1?0:h.visibledatarow[a-1],m=h.visibledatacolumn[t],g=t-1==-1?0:h.visibledatacolumn[t-1];m-n-u+20>0?$("#luckysheet-scrollbar-x").scrollLeft(m-u+20):g-n-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(g-20),d-o-s+20>0?$("#luckysheet-scrollbar-y").scrollTop(d-s+20):f-o-20<0&&$("#luckysheet-scrollbar-y").scrollTop(f-20)}),$(document).off("click.SRreplaceBtn").on("click.SRreplaceBtn","#luckysheet-search-replace #replaceBtn",function(){e.replace()}),$(document).off("click.SRreplaceAllBtn").on("click.SRreplaceAllBtn","#luckysheet-search-replace #replaceAllBtn",function(){e.replaceAll()})},searchNext:function(){let e=this,a=$("#luckysheet-search-replace #searchInput input").val();if(a==""||a==null)return;let l=Q().findAndReplace,n;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?n=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:n=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(a,n);if(o.length==0){he()?alert(l.noFindTip):j.info(l.noFindTip,"");return}let s=0;if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){if(h.luckysheet_select_save.length==0)s=0;else for(let k=0;k<o.length;k++)if(o[k].r==h.luckysheet_select_save[0].row[0]&&o[k].c==h.luckysheet_select_save[0].column[0]){k==o.length-1?s=0:s=k+1;break}h.luckysheet_select_save=[{row:[o[s].r,o[s].r],column:[o[s].c,o[s].c]}]}else{let k=n[n.length-1].row_focus,x=n[n.length-1].column_focus;for(let w=0;w<o.length;w++)if(o[w].r==k&&o[w].c==x){w==o.length-1?s=0:s=w+1;break}for(let w=0;w<n.length;w++){let _=n[w].row[0],S=n[w].row[1],C=n[w].column[0],T=n[w].column[1];if(o[s].r>=_&&o[s].r<=S&&o[s].c>=C&&o[s].c<=T){let R=n[w];R.row_focus=o[s].r,R.column_focus=o[s].c,n.splice(w,1),n.push(R);break}}h.luckysheet_select_save=n}et();let u=$("#luckysheet-cell-main").scrollLeft(),d=$("#luckysheet-cell-main").scrollTop(),f=$("#luckysheet-cell-main").height(),m=$("#luckysheet-cell-main").width(),g=h.visibledatarow[o[s].r],y=o[s].r-1==-1?0:h.visibledatarow[o[s].r-1],v=h.visibledatacolumn[o[s].c],b=o[s].c-1==-1?0:h.visibledatacolumn[o[s].c-1];v-u-m+20>0?$("#luckysheet-scrollbar-x").scrollLeft(v-m+20):b-u-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(b-20),g-d-f+20>0?$("#luckysheet-scrollbar-y").scrollTop(g-f+20):y-d-20<0&&$("#luckysheet-scrollbar-y").scrollTop(y-20),$("#searchAllbox").is(":visible")&&$("#luckysheet-search-replace #searchAllbox .boxItem").removeClass("on")},searchAll:function(){let e=this,t=Q().findAndReplace;$("#luckysheet-search-replace #searchAllbox").remove();let l=$("#luckysheet-search-replace #searchInput input").val();if(l==""||l==null)return;let n;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?n=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:n=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(l,n);if(o.length==0){he()?alert(t.noFindTip):j.info(t.noFindTip,"");return}let s="";for(let u=0;u<o.length;u++){let d=da(o[u].r,o[u].c,h.flowdata).toString();d.indexOf("</")>-1&&d.indexOf(">")>-1?s+='<div class="boxItem" data-row="'+o[u].r+'" data-col="'+o[u].c+'" data-sheetIndex="'+h.currentSheetIndex+'"><span>'+h.luckysheetfile[Z(h.currentSheetIndex)].name+"</span><span>"+tt(o[u].c)+(o[u].r+1)+"</span><span>"+d+"</span></div>":s+='<div class="boxItem" data-row="'+o[u].r+'" data-col="'+o[u].c+'" data-sheetIndex="'+h.currentSheetIndex+'"><span>'+h.luckysheetfile[Z(h.currentSheetIndex)].name+"</span><span>"+tt(o[u].c)+(o[u].r+1)+'</span><span title="'+d+'">'+d+"</span></div>"}$('<div id="searchAllbox"><div class="boxTitle"><span>'+t.searchTargetSheet+"</span><span>"+t.searchTargetCell+"</span><span>"+t.searchTargetValue+'</span></div><div class="boxMain">'+s+"</div></div>").appendTo($("#luckysheet-search-replace")),$("#luckysheet-search-replace #searchAllbox .boxItem").eq(0).addClass("on").siblings().removeClass("on"),h.luckysheet_select_save=[{row:[o[0].r,o[0].r],column:[o[0].c,o[0].c]}],et()},getSearchIndexArr:function(e,a){let t=[],l={},n=!1;$("#luckysheet-search-replace #regCheck input[type='checkbox']").is(":checked")&&(n=!0);let o=!1;$("#luckysheet-search-replace #wordCheck input[type='checkbox']").is(":checked")&&(o=!0);let s=!1;$("#luckysheet-search-replace #caseCheck input[type='checkbox']").is(":checked")&&(s=!0);for(let u=0;u<a.length;u++){let d=a[u].row[0],f=a[u].row[1],m=a[u].column[0],g=a[u].column[1];for(let y=d;y<=f;y++)for(let v=m;v<=g;v++)if(h.flowdata[y][v]!=null){let k=da(y,v,h.flowdata);if(k==0&&(k=k.toString()),k!=null&&k!="")if(k=k.toString(),o)s?e==k&&(y+"_"+v in l||(l[y+"_"+v]=0,t.push({r:y,c:v}))):e.toLowerCase()==k.toLowerCase()&&(y+"_"+v in l||(l[y+"_"+v]=0,t.push({r:y,c:v})));else if(n){let x;s?x=new RegExp(q.getRegExpStr(e),"g"):x=new RegExp(q.getRegExpStr(e),"ig"),x.test(k)&&(y+"_"+v in l||(l[y+"_"+v]=0,t.push({r:y,c:v})))}else s?new RegExp(q.getRegExpStr(e),"g").test(k)&&(y+"_"+v in l||(l[y+"_"+v]=0,t.push({r:y,c:v}))):new RegExp(q.getRegExpStr(e),"ig").test(k)&&(y+"_"+v in l||(l[y+"_"+v]=0,t.push({r:y,c:v})))}}return t},replace:function(){let e=this,t=Q().findAndReplace;if(!h.allowEdit){j.info(t.modeTip,"");return}let l=$("#luckysheet-search-replace #searchInput input").val();if(l==""||l==null){he()?alert(t.searchInputTip):j.info(t.searchInputTip,"");return}let n;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?n=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:n=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(l,n);if(o.length==0){he()?alert(t.noReplceTip):j.info(t.noReplceTip,"");return}let s=null,u=h.luckysheet_select_save[h.luckysheet_select_save.length-1],d=u.row_focus,f=u.column_focus;for(let E=0;E<o.length;E++)if(o[E].r==d&&o[E].c==f){s=E;break}if(s==null)if(o.length==0){he()?alert(t.noMatchTip):j.info(t.noMatchTip,"");return}else s=0;let m=!1;$("#luckysheet-search-replace #regCheck input[type='checkbox']").is(":checked")&&(m=!0);let g=!1;$("#luckysheet-search-replace #wordCheck input[type='checkbox']").is(":checked")&&(g=!0);let y=!1;$("#luckysheet-search-replace #caseCheck input[type='checkbox']").is(":checked")&&(y=!0);let v=$("#luckysheet-search-replace #replaceInput input").val(),b=xe.deepCopyFlowData(h.flowdata),k,x;if(g){k=o[s].r,x=o[s].c;let E=v;if(!pa(k,x,h.currentSheetIndex))return;Ot(k,x,b,E)}else{let E;if(y?E=new RegExp(q.getRegExpStr(l),"g"):E=new RegExp(q.getRegExpStr(l),"ig"),k=o[s].r,x=o[s].c,!pa(k,x,h.currentSheetIndex))return;let N=da(k,x,b).toString().replace(E,v);Ot(k,x,b,N)}h.luckysheet_select_save=[{row:[k,k],column:[x,x]}],$("#luckysheet-search-replace #searchAllbox").is(":visible")&&$("#luckysheet-search-replace #searchAllbox").hide(),Ze(b,h.luckysheet_select_save),et();let w=$("#luckysheet-cell-main").scrollLeft(),_=$("#luckysheet-cell-main").scrollTop(),S=$("#luckysheet-cell-main").height(),C=$("#luckysheet-cell-main").width(),T=h.visibledatarow[k],R=k-1==-1?0:h.visibledatarow[k-1],I=h.visibledatacolumn[x],A=x-1==-1?0:h.visibledatacolumn[x-1];I-w-C+20>0?$("#luckysheet-scrollbar-x").scrollLeft(I-C+20):A-w-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(A-20),T-_-S+20>0?$("#luckysheet-scrollbar-y").scrollTop(T-S+20):R-_-20<0&&$("#luckysheet-scrollbar-y").scrollTop(R-20)},replaceAll:function(){let e=this,t=Q().findAndReplace;if(!h.allowEdit){j.info(t.modeTip,"");return}let l=$("#luckysheet-search-replace #searchInput input").val();if(l==""||l==null){he()?alert(t.searchInputTip):j.info(t.searchInputTip,"");return}let n;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?n=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:n=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(l,n);if(o.length==0){he()?alert(t.noReplceTip):j.info(t.noReplceTip,"");return}let s=!1;$("#luckysheet-search-replace #regCheck input[type='checkbox']").is(":checked")&&(s=!0);let u=!1;$("#luckysheet-search-replace #wordCheck input[type='checkbox']").is(":checked")&&(u=!0);let d=!1;$("#luckysheet-search-replace #caseCheck input[type='checkbox']").is(":checked")&&(d=!0);let f=$("#luckysheet-search-replace #replaceInput input").val(),m=xe.deepCopyFlowData(h.flowdata),g=0;if(u)for(let v=0;v<o.length;v++){let b=o[v].r,k=o[v].c;if(!pa(b,k,h.currentSheetIndex,!1))continue;Ot(b,k,m,f),n.push({row:[b,b],column:[k,k]}),g++}else{let v;d?v=new RegExp(q.getRegExpStr(l),"g"):v=new RegExp(q.getRegExpStr(l),"ig");for(let b=0;b<o.length;b++){let k=o[b].r,x=o[b].c;if(!pa(k,x,h.currentSheetIndex,!1))continue;let w=da(k,x,m).toString().replace(v,f);Ot(k,x,m,w),n.push({row:[k,k],column:[x,x]}),g++}}$("#luckysheet-search-replace #searchAllbox").is(":visible")&&$("#luckysheet-search-replace #searchAllbox").hide(),Ze(m,n),h.luckysheet_select_save=$.extend(!0,[],n),et();let y=we(t.successTip,{xlength:g});he()?alert(y):j.info(y,"")}},ka=U0});var G0,Ul,Kf=Ae(()=>{dt();Rt();At();At();ar();jt();Xt();hl();Ke();bt();G0={createDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-locationCell-dialog").remove();let e=Q(),a=e.findAndReplace,t=e.button,l='<div class="listbox"><div class="listItem"><input type="radio" name="locationType" checked="checked" id="locationConstant"><label for="locationConstant">'+a.locationConstant+'</label><div class="subbox"><div class="subItem"><input type="checkbox" checked="checked" class="date" id="locationConstantDate"><label for="locationConstantDate">'+a.locationDate+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="number" id="locationConstantNumber"><label for="locationConstantNumber">'+a.locationDigital+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="string" id="locationConstantString"><label for="locationConstantString">'+a.locationString+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="boolean" id="locationConstantBoolean"><label for="locationConstantBoolean">'+a.locationBool+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="error" id="locationConstantError"><label for="locationConstantError">'+a.locationBool+'</label></div></div></div><div class="listItem"><input type="radio" name="locationType" id="locationFormula"><label for="locationFormula">'+a.locationFormula+'</label><div class="subbox"><div class="subItem"><input type="checkbox" checked="checked" class="date" id="locationFormulaDate" disabled="true"><label for="locationFormulaDate" style="color: #666">'+a.locationDate+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="number" id="locationFormulaNumber" disabled="true"><label for="locationFormulaNumber" style="color: #666">'+a.locationDigital+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="string" id="locationFormulaString" disabled="true"><label for="locationFormulaString" style="color: #666">'+a.locationString+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="boolean" id="locationFormulaBoolean" disabled="true"><label for="locationFormulaBoolean" style="color: #666">'+a.locationBool+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="error" id="locationFormulaError" disabled="true"><label for="locationFormulaError" style="color: #666">'+a.locationError+'</label></div></div></div><div class="listItem"><input type="radio" name="locationType" id="locationNull"><label for="locationNull">'+a.locationNull+'</label></div><div class="listItem"><input type="radio" name="locationType" id="locationCF"><label for="locationCF">'+a.locationCondition+'</label></div><div class="listItem"><input type="radio" name="locationType" id="locationStepRow"><label for="locationStepRow">'+a.locationRowSpan+'</label></div><div class="listItem"><input type="radio" name="locationType" id="locationStepColumn"><label for="locationStepColumn">'+a.locationColumnSpan+"</label></div></div>";$("body").append(we(ft,{id:"luckysheet-locationCell-dialog",addclass:"luckysheet-locationCell-dialog",title:a.location,content:l,botton:'<button id="luckysheet-locationCell-dialog-confirm" class="btn btn-primary">'+t.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+t.cancel+"</button>",style:"z-index:100003"}));let n=$("#luckysheet-locationCell-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-locationCell-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},init:function(){let e=this,a=Q().findAndReplace;$(document).on("click","#luckysheet-locationCell-dialog .listItem input:radio",function(t){$("#luckysheet-locationCell-dialog .listItem input:checkbox").prop("disabled",!0),$("#luckysheet-locationCell-dialog .listItem .subbox label").css("color","#666"),$(this).siblings(".subbox").find("input:checkbox").removeAttr("disabled"),$(this).siblings(".subbox").find("label").css("color","#000")}),$(document).off("click.locationCellConfirm").on("click.locationCellConfirm","#luckysheet-locationCell-dialog #luckysheet-locationCell-dialog-confirm",function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-locationCell-dialog").hide();let t=$("#luckysheet-locationCell-dialog .listItem input:radio:checked"),l=t.attr("id");if(l=="locationConstant"||l=="locationFormula"){let n=t.siblings(".subbox").find("input:checkbox:checked"),o;if(n.length==0)return;if(n.length==5)o="all";else{let u=[];for(let d=0;d<n.length;d++)$(n[d]).hasClass("date")?u.push("d"):$(n[d]).hasClass("number")?u.push("n"):$(n[d]).hasClass("string")?u.push("s,g"):$(n[d]).hasClass("boolean")?u.push("b"):$(n[d]).hasClass("error")&&u.push("e");o=u.join(",")}let s;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?s=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:s=$.extend(!0,[],h.luckysheet_select_save),e.apply(s,l,o)}else if(l=="locationStepRow"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]){he()?alert(a.locationTiplessTwoRow):j.info("",a.locationTiplessTwoRow);return}let n=$.extend(!0,[],h.luckysheet_select_save);e.apply(n,"locationStepRow")}else if(l=="locationStepColumn"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){he()?alert(a.locationTiplessTwoColumn):j.info("",a.locationTiplessTwoColumn);return}let n=$.extend(!0,[],h.luckysheet_select_save);e.apply(n,"locationStepColumn")}else{let n;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?n=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:n=$.extend(!0,[],h.luckysheet_select_save),e.apply(n,l)}})},apply:function(e,a,t){let l=Q().findAndReplace,n=[];if(a=="locationFormula"||a=="locationConstant"||a=="locationNull"){let o=null,s=null,u=null,d=null,f={};for(let m=0;m<e.length;m++){let g=e[m].row[0],y=e[m].row[1],v=e[m].column[0],b=e[m].column[1];(o==null||o<g)&&(o=g),(s==null||s>y)&&(s=y),(u==null||u<v)&&(u=v),(d==null||d>b)&&(d=b);for(let k=g;k<=y;k++)for(let x=v;x<=b;x++){let w=h.flowdata[k][x];w!=null&&w.mc!=null&&(w=h.flowdata[w.mc.r][w.mc.c]),(a=="locationFormula"&&w!=null&&!de(w.v)&&w.f!=null&&(t=="all"||w.ct!=null&&t.indexOf(w.ct.t)>-1)||a=="locationConstant"&&w!=null&&!de(w.v)&&(t=="all"||w.ct!=null&&t.indexOf(w.ct.t)>-1)||a=="locationNull"&&(w==null||de(w.v)))&&(f[k+"_"+x]=0)}}n=this.getRangeArr(o,s,u,d,f,n)}else if(a=="locationCF"){let o=Z(h.currentSheetIndex),s=h.luckysheetfile[o].luckysheet_conditionformat_save,u=h.luckysheetfile[o].data;if(s==null||s.length==0){he()?alert(l.locationTipNotFindCell):j.info("",l.locationTipNotFindCell);return}if(computeMap=$e.compute(s,u),Object.keys(computeMap).length==0){he()?alert(l.locationTipNotFindCell):j.info("",l.locationTipNotFindCell);return}let d=null,f=null,m=null,g=null,y={};for(let v=0;v<e.length;v++){let b=e[v].row[0],k=e[v].row[1],x=e[v].column[0],w=e[v].column[1];(d==null||d<b)&&(d=b),(f==null||f>k)&&(f=k),(m==null||m<x)&&(m=x),(g==null||g>w)&&(g=w);for(let _=b;_<=k;_++)for(let S=x;S<=w;S++)_+"_"+S in computeMap&&(y[_+"_"+S]=0)}n=this.getRangeArr(d,f,m,g,y,n)}else if(a=="locationStepRow")for(let o=0;o<e.length;o++){if(e[o].row[0]==e[o].row[1])continue;let s=e[o].row[0],u=e[o].row[1],d=e[o].column[0],f=e[o].column[1];for(let m=s;m<=u;m++)(m-s)%2==0&&n.push({row:[m,m],column:[d,f]})}else if(a=="locationStepColumn")for(let o=0;o<e.length;o++){if(e[o].column[0]==e[o].column[1])continue;let s=e[o].row[0],u=e[o].row[1],d=e[o].column[0],f=e[o].column[1];for(let m=d;m<=f;m++)(m-d)%2==0&&n.push({row:[s,u],column:[m,m]})}if(n.length==0)he()?alert(l.locationTipNotFindCell):j.info("",l.locationTipNotFindCell);else{h.luckysheet_select_save=n,et();let o=$("#luckysheet-cell-main").scrollLeft(),s=$("#luckysheet-cell-main").scrollTop(),u=$("#luckysheet-cell-main").height(),d=$("#luckysheet-cell-main").width(),f=h.luckysheet_select_save[0].row[0],m=h.luckysheet_select_save[0].row[1],g=h.luckysheet_select_save[0].column[0],y=h.luckysheet_select_save[0].column[1],v=h.visibledatarow[m],b=f-1==-1?0:h.visibledatarow[f-1],k=h.visibledatacolumn[y],x=g-1==-1?0:h.visibledatacolumn[g-1];k-o-d+20>0?$("#luckysheet-scrollbar-x").scrollLeft(k-d+20):x-o-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(x-20),v-s-u+20>0?$("#luckysheet-scrollbar-y").scrollTop(v-u+20):b-s-20<0&&$("#luckysheet-scrollbar-y").scrollTop(b-20)}},getRangeArr(e,a,t,l,n,o){if(Object.keys(n).length==0)return o;let s=this,u=null,d=null,f=null,m=null;for(let g=e;g<=a;g++)for(let y=t;y<=l;y++){let v=h.flowdata[g][y];if(g+"_"+y in n)if(v!=null&&v.mc!=null)if(f==null){let b={row:[v.mc.r,v.mc.r+v.mc.rs-1],column:[v.mc.c,v.mc.c+v.mc.cs-1]};return o.push(b),n=s.deleteCellInSave(n,b),s.getRangeArr(e,a,t,l,n,o)}else if(y<m){let b={row:[u,d],column:[f,m]};return o.push(b),n=s.deleteCellInSave(n,b),s.getRangeArr(e,a,t,l,n,o)}else break;else f==null?(f=y,m=y,u=g,d=g):y>m&&(m=y);else if(f!=null){if(v!=null&&v.mc!=null)break;if(!(y<f))if(y<=m){let b={row:[u,d],column:[f,m]};return o.push(b),n=s.deleteCellInSave(n,b),s.getRangeArr(e,a,t,l,n,o)}else d=g}}if(f!=null){let g={row:[u,d],column:[f,m]};return o.push(g),n=s.deleteCellInSave(n,g),s.getRangeArr(e,a,t,l,n,o)}},deleteCellInSave(e,a){for(let t=a.row[0];t<=a.row[1];t++)for(let l=a.column[0];l<=a.column[1];l++)delete e[t+"_"+l];return e}},Ul=G0});var W0,Xn,zc=Ae(()=>{Vt();Kt();dn();jt();dt();Ke();bt();W0={singleRangeFocus:!1,init:function(){let e=this,a=Q(),t=a.formula,l=a.button;$(document).off("focus.IFcompareValue").on("focus.IFcompareValue","#luckysheet-ifFormulaGenerator-dialog #compareValue",function(){$("#luckysheet-modal-dialog-mask").hide(),e.singleRangeFocus=!0}),$(document).off("click.IFsingRange").on("click.IFsingRange","#luckysheet-ifFormulaGenerator-dialog .singRange",function(){let n=$("#luckysheet-ifFormulaGenerator-dialog #compareValue").val().trim();p.iscelldata(n)?e.singleRangeDialog(n):e.singleRangeDialog()}),$(document).off("click.IFsingRangeConfirm").on("click.IFsingRangeConfirm","#luckysheet-ifFormulaGenerator-singleRange-confirm",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show();let n=$(this).parents("#luckysheet-ifFormulaGenerator-singleRange-dialog").find("input").val().trim();$("#luckysheet-ifFormulaGenerator-dialog #compareValue").val(n),e.singleRangeFocus=!1}),$(document).off("click.IFsingRangeCancel").on("click.IFsingRangeCancel","#luckysheet-ifFormulaGenerator-singleRange-cancel",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show(),e.singleRangeFocus=!1}),$(document).off("click.IFsingRangeClose").on("click.IFsingRangeClose","#luckysheet-ifFormulaGenerator-singleRange-dialog .luckysheet-modal-dialog-title-close",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show(),e.singleRangeFocus=!1}),$(document).off("click.IFmultiRange").on("click.IFmultiRange","#luckysheet-ifFormulaGenerator-dialog .multiRange",function(){e.multiRangeDialog(),e.singleRangeFocus=!1}),$(document).off("click.IFmultiRangeConfirm").on("click.IFmultiRangeConfirm","#luckysheet-ifFormulaGenerator-multiRange-confirm",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show();let n=$(this).parents("#luckysheet-ifFormulaGenerator-multiRange-dialog").find("input").val().trim(),o=p.getcellrange(n),s=o.row[0],u=o.row[1],d=o.column[0],f=o.column[1],m=xe.deepCopyFlowData(h.flowdata),g=[];for(let b=s;b<=u;b++)for(let k=d;k<=f;k++)m[b]!=null&&m[b][k]!=null&&m[b][k].ct!=null&&m[b][k].ct.t=="n"&&g.push(m[b][k].v);for(let b=0;b<g.length;b++)for(let k=0;k<g.length-1-b;k++)if(g[k]<g[k+1]){let x=g[k];g[k]=g[k+1],g[k+1]=x}let y=g[0],v=g[g.length-1];$("#luckysheet-ifFormulaGenerator-dialog #smallRange").val(v),$("#luckysheet-ifFormulaGenerator-dialog #largeRange").val(y)}),$(document).off("click.IFmultiRangeCancel").on("click.IFmultiRangeCancel","#luckysheet-ifFormulaGenerator-multiRange-cancel",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show()}),$(document).off("click.IFmultiRangeClose").on("click.IFmultiRangeClose","#luckysheet-ifFormulaGenerator-multiRange-dialog .luckysheet-modal-dialog-title-close",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show()}),$(document).on("change","#DivisionMethod",function(){$(this).find("option:selected").val()=="2"?$("#DivisionMethodVal").hide():$("#DivisionMethodVal").show(),$("#luckysheet-ifFormulaGenerator-dialog .ifList").empty()}),$(document).off("click.IFcreateBtn").on("click.IFcreateBtn","#luckysheet-ifFormulaGenerator-dialog #createBtn",function(){let n=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#compareValue").val().trim();if(n==""){e.info(t.ifGenTipNotNullValue);return}let o=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#DivisionMethod option:selected").val();if(o=="2"){let s='<div class="item"><input type="number" class="smallNum formulaInputFocus"/><select class="operator"><option value="0"> <= </option><option value="1"> < </option></select><span class="compareValue">'+n+'</span><select class="operator2"><option value="0"> <= </option><option value="1" selected="selected"> < </option></select><input type="number" class="largeNum formulaInputFocus"/><span>'+t.ifGenTipLableTitile+'\uFF1A</span><input type="text" class="markText formulaInputFocus" value=""><i class="fa fa-remove" aria-hidden="true"></i></div>';$("#luckysheet-ifFormulaGenerator-dialog .ifList").append(s)}else{let s=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#smallRange").val().trim(),u=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#largeRange").val().trim(),d=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#DivisionMethodVal").val().trim();if(s==""||u==""){e.info(t.ifGenTipRangeNotforNull);return}else if(d==""){e.info(t.ifGenTipCutValueNotforNull);return}e.getIfList(n,s,u,o,d)}}),$(document).on("click","#luckysheet-ifFormulaGenerator-dialog .item .fa-remove",function(){$(this).parents(".item").remove()}),$(document).off("click.IFconfirmBtn").on("click.IFconfirmBtn","#luckysheet-ifFormulaGenerator-dialog-confirm",function(){let n=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find(".ifList .item"),o="";if($(n.toArray().reverse()).each(function(f,m){let g=$(m).find(".smallNum").val().trim(),y=$(m).find(".largeNum").val().trim(),v=$(m).find(".operator option:selected").val(),b=$(m).find(".operator2 option:selected").val(),k=$(m).find(".compareValue").text(),x=$(m).find(".markText").val().trim();if(x==""&&(x=t.ifGenTipLableTitile+(f+1)),g==""&&y=="")return!0;let w;v=="0"?w=k+">="+g:w=k+">"+g;let _;b=="0"?_=k+"<="+y:_=k+"<"+y;let S;f==0&&y==""?S=w:f==n.length-1&&g==""?S=_:S="and("+w+","+_+")",f==0?o="if("+S+',"'+x+'")':o="if("+S+',"'+x+'",'+o+")"}),o.length==0){e.info(t.ifGenTipNotGenCondition);return}$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-ifFormulaGenerator-dialog").hide();let s=h.luckysheet_select_save[h.luckysheet_select_save.length-1],u=s.row_focus,d=s.column_focus;Ar(u,d,h.flowdata),$("#luckysheet-rich-text-editor").html("="+o),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),$("#luckysheet-wa-functionbox-confirm").click()}),$(document).on("click","#luckysheet-ifFormulaGenerator-info .luckysheet-model-close-btn",function(){$("#luckysheet-modal-dialog-mask").show()}),$(document).on("click","#luckysheet-ifFormulaGenerator-info .luckysheet-modal-dialog-title-close",function(){$("#luckysheet-modal-dialog-mask").show()})},ifFormulaDialog:function(e){let a=this,t=Q(),l=t.formula,n=t.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").remove();let o="",s="";if(e){let k=e.split("if(");for(let x=1;x<k.length;x++){let _=k[x].replace("and(","").replace(/\)/g,"").replace(/\"/g,"").split(",");_=a.clearArr(_),o=a.splitTxt(_[0])[0];let S,C,T;_.length==3?(S=a.splitTxt(_[0])[1],C=a.splitTxt(_[1])[2],T=_[2]):(S=a.splitTxt(_[0])[1],C=a.splitTxt(_[0])[2],T=_[1]),s+='<div class="item"><input type="number" class="smallNum formulaInputFocus" value="'+S+'"/><select class="operator"><option value="0"> <= </option><option value="1"> < </option></select><span class="compareValue">'+o+'</span><select class="operator2"><option value="0"> <= </option><option value="1" selected="selected"> < </option></select><input type="number" class="largeNum formulaInputFocus" value="'+C+'"/><span>'+l.ifGenTipLableTitile+'\uFF1A</span><input type="text" class="markText formulaInputFocus" value="'+T+'"><i class="fa fa-remove" aria-hidden="true"></i></div>'}}let u='<div class="ifAttr"><div class="attrBox"><label for="compareValue"> '+l.ifGenCompareValueTitle+' </label><div class="inpBox"><input id="compareValue" class="formulaInputFocus" value="'+o+'"/><i class="singRange fa fa-table" aria-hidden="true" title="'+l.ifGenSelectCellTitle+'"></i></div></div><div class="attrBox"><label for="smallRange"> '+l.ifGenRangeTitle+' </label><input type="number" id="smallRange" class="formulaInputFocus"/><span class="text"> '+l.ifGenRangeTo+' </span><input type="number" id="largeRange" class="formulaInputFocus"/><div id="rangeAssess"><span> '+l.ifGenRangeEvaluate+' </span><i class="multiRange fa fa-table" aria-hidden="true" title="'+l.ifGenSelectRangeTitle+'"></i></div></div><div class="attrBox"><label for="DivisionMethod"> '+l.ifGenCutWay+' </label><select id="DivisionMethod"><option value="0"> '+l.ifGenCutSame+' </option><option value="1"> '+l.ifGenCutNpiece+' </option><option value="2"> '+l.ifGenCutCustom+' </option></select><input id="DivisionMethodVal" class="formulaInputFocus"/><div id="createBtn"> '+l.ifGenCutSame+' </div></div></div><div class="ifList">'+s+"</div>";$("body").append(we(ft,{id:"luckysheet-ifFormulaGenerator-dialog",addclass:"luckysheet-ifFormulaGenerator-dialog",title:l.ifGenerate,content:u,botton:'<button id="luckysheet-ifFormulaGenerator-dialog-confirm" class="btn btn-primary">'+n.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+n.cancel+"</button>",style:"z-index:100003"}));let d=$("#luckysheet-ifFormulaGenerator-dialog").find(".luckysheet-modal-dialog-content").css("min-width",590).end(),f=d.outerHeight(),m=d.outerWidth(),g=$(window).width(),y=$(window).height(),v=$(document).scrollLeft(),b=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-dialog").css({left:(g+v-m)/2,top:(y+b-f)/3}).show()},clearArr:function(e){for(let a=0;a<e.length;a++)(e[a]==""||e[a]==null||e[a]==null)&&e.splice(a,1);return e},splitTxt:function(e){let a,t,l;if(e.indexOf(">=")!=-1)return a=e.split(">=")[0],t=e.split(">=")[1],[a,t,l];if(e.indexOf(">")!=-1)return a=e.split(">")[0],t=e.split(">")[1],[a,t,l];if(e.indexOf("<=")!=-1)return a=e.split("<=")[0],l=e.split("<=")[1],[a,t,l];if(e.indexOf("<")!=-1)return a=e.split("<")[0],l=e.split("<")[1],[a,t,l]},singleRangeDialog:function(e){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-ifFormulaGenerator-dialog").hide(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").remove();let a=Q(),t=a.formula,l=a.button;e==null&&(e=""),$("body").append(we(ft,{id:"luckysheet-ifFormulaGenerator-singleRange-dialog",addclass:"luckysheet-ifFormulaGenerator-singleRange-dialog",title:t.ifGenTipSelectCell,content:'<input readonly="readonly" placeholder="'+t.ifGenTipSelectCellPlace+'" value="'+e+'">',botton:'<button id="luckysheet-ifFormulaGenerator-singleRange-confirm" class="btn btn-primary">'+l.confirm+'</button><button id="luckysheet-ifFormulaGenerator-singleRange-cancel" class="btn btn-default">'+l.cancel+"</button>",style:"z-index:100003"}));let n=$("#luckysheet-ifFormulaGenerator-singleRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-singleRange-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},multiRangeDialog:function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-ifFormulaGenerator-dialog").hide(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").remove();let e=Q(),a=e.formula,t=e.button;$("body").append(we(ft,{id:"luckysheet-ifFormulaGenerator-multiRange-dialog",addclass:"luckysheet-ifFormulaGenerator-multiRange-dialog",title:a.ifGenTipSelectRange,content:'<input readonly="readonly" placeholder="'+a.ifGenTipSelectRangePlace+'" value="">',botton:'<button id="luckysheet-ifFormulaGenerator-multiRange-confirm" class="btn btn-primary">'+t.confirm+'</button><button id="luckysheet-ifFormulaGenerator-multiRange-cancel" class="btn btn-default">'+t.cancel+"</button>",style:"z-index:100003"}));let l=$("#luckysheet-ifFormulaGenerator-multiRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),n=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-multiRange-dialog").css({left:(s+d-o)/2,top:(u+f-n)/3}).show()},getIfList:function(e,a,t,l,n){let o=Q().formula;$("#luckysheet-ifFormulaGenerator-dialog .ifList").empty(),a=parseInt(a),t=parseInt(t),n=parseInt(n);let s=[];if(l=="0"){let u=Math.ceil((t-a)/n);for(let d=0;d<=u;d++){let f=a+n*d;d==0||f>=t?s.push(""):s.push(f)}}else if(l=="1"){let u=Math.ceil((t-a)/n);for(let d=0;d<=n;d++){let f=a+u*d;d==0||f>=t?s.push(""):s.push(f)}}for(let u=0;u<s.length-1;u++){let d;u==0?d="\u5C0F\u4E8E"+s[u+1]:u==s.length-2?d="\u5927\u4E8E\u7B49\u4E8E"+s[u]:d=s[u]+"\u5230"+s[u+1];let f='<div class="item"><input type="number" class="smallNum formulaInputFocus" value="'+s[u]+'"/><select class="operator"><option value="0"> <= </option><option value="1"> < </option></select><span class="compareValue">'+e+'</span><select class="operator2"><option value="0"> <= </option><option value="1" selected="selected"> < </option></select><input type="number" class="largeNum formulaInputFocus" value="'+s[u+1]+'"/><span>'+o.ifGenTipLableTitile+'\uFF1A</span><input type="text" class="markText formulaInputFocus" value="'+d+'"><i class="fa fa-remove" aria-hidden="true"></i></div>';$("#luckysheet-ifFormulaGenerator-dialog .ifList").append(f)}},info:function(e){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-info").remove();let t=Q().button;$("body").append(we(ft,{id:"luckysheet-ifFormulaGenerator-info",addclass:"",title:e,content:"",botton:'<button class="btn btn-default luckysheet-model-close-btn">&nbsp;&nbsp;'+t.close+"&nbsp;&nbsp;</button>",style:"z-index:100003"}));let l=$("#luckysheet-ifFormulaGenerator-info").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),n=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-info").css({left:(s+d-o)/2,top:(u+f-n)/3}).show()}},Xn=W0});var Y0,aa,Lc=Ae(()=>{Mi();Vt();At();jt();Xt();dt();Ke();bt();Y0={init:function(){let e=this,a=Q(),t=a.formulaMore,l=a.button;$(document).off("keyup.fxSFLI").on("keyup.fxSFLI","#searchFormulaListInput",function(){$("#formulaTypeList").empty();let n=$(this).val().toUpperCase(),o=h.functionlist;if(n=="")e.formulaListByType($("#formulaTypeSelect option:selected").val());else for(let s=0;s<o.length;s++)/^[a-zA-Z]+$/.test(n)?o[s].n.indexOf(n)!="-1"&&$('<div class="listBox" name="'+o[s].n+'"><span>'+o[s].n+"</span><span>"+o[s].a+"</span></div>").appendTo($("#formulaTypeList")):o[s].a.indexOf(n)!="-1"&&$('<div class="listBox" name="'+o[s].n+'"><span>'+o[s].n+"</span><span>"+o[s].a+"</span></div>").appendTo($("#formulaTypeList"));$("#formulaTypeList .listBox:first-child").addClass("on")}),$(document).off("change.fxFormulaTS").on("change.fxFormulaTS","#formulaTypeSelect",function(){let n=$("#formulaTypeSelect option:selected").val();e.formulaListByType(n)}),$(document).off("click.fxListbox").on("click.fxListbox","#formulaTypeList .listBox",function(){$(this).addClass("on").siblings().removeClass("on")}),$(document).off("click.fxFormulaCf").on("click.fxFormulaCf","#luckysheet-search-formula-confirm",function(){let n=$("#luckysheet-search-formula .listBox.on").attr("name"),o='<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">'+n.toUpperCase()+'</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span dir="auto" class="luckysheet-formula-text-color">)</span>';$("#luckysheet-rich-text-editor").html(o),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),e.formulaParmDialog(n)}),$(document).off("focus.fxParamInput").on("focus.fxParamInput","#luckysheet-search-formula-parm .parmBox input",function(){let n=$(this).parents(".parmBox").index();p.data_parm_index=n;let o=$(this).parents("#luckysheet-search-formula-parm").find(".luckysheet-modal-dialog-title-text").text(),s=h.luckysheet_function[o].p.length,u,d;n>=s?(u=h.luckysheet_function[o].p[s-1].detail,d=h.luckysheet_function[o].p[s-1].repeat):(u=h.luckysheet_function[o].p[n].detail,d=h.luckysheet_function[o].p[n].repeat),e.parmTxtShow($(this).val()),e.functionStrCompute(),$("#luckysheet-search-formula-parm .parmDetailsBox").empty();let f=$(this).parents(".parmBox").find(".name").text();if($("<span>"+f+":</span><span>"+u+"</span>").appendTo($("#luckysheet-search-formula-parm .parmDetailsBox")),d=="y"){let m=$("#luckysheet-search-formula-parm .parmBox").length;m<5&&n==m-1&&$('<div class="parmBox"><div class="name">'+t.valueTitle+""+(m+1)+'</div><div class="txt"><input class="formulaInputFocus" /><i class="fa fa-table" aria-hidden="true" title="'+t.tipSelectDataRange+'"></i></div><div class="val">=</div></div>').appendTo($("#luckysheet-search-formula-parm .parmListBox"))}}),$(document).off("blur.fxParamInput").on("blur.fxParamInput","#luckysheet-search-formula-parm .parmBox input",function(){let n=$(this).val();p.getfunctionParam(n).fn==null&&!p.iscelldata(n)&&!L(n)&&n!=""&&n.length<=2&&n.indexOf('"')!=0&&n.lastIndexOf('"')!=0&&(n='"'+n+'"',$(this).val(n),e.parmTxtShow(n),e.functionStrCompute())}),$(document).off("keyup.fxParamInput").on("keyup.fxParamInput","#luckysheet-search-formula-parm .parmBox input",function(){e.parmTxtShow($(this).val()),e.functionStrCompute()}),$(document).off("click.fxParamI").on("click.fxParamI","#luckysheet-search-formula-parm .parmBox i",function(){p.data_parm_index=$(this).parents(".parmBox").index(),$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-search-formula-parm-select").remove(),$(this).parents(".parmBox").find(".txt input").val()==""?$("body").append(we(ft,{id:"luckysheet-search-formula-parm-select",addclass:"luckysheet-search-formula-parm-select",title:t.tipSelectDataRange,content:"<input id='luckysheet-search-formula-parm-select-input' class='luckysheet-datavisual-range-container' style='font-size: 14px;padding:5px;max-width:none;' spellcheck='false' aria-label='"+t.tipDataRangeTile+"' readonly='true' placeholder='"+t.tipDataRangeTile+"'>",botton:'<button id="luckysheet-search-formula-parm-select-confirm" class="btn btn-primary">'+l.confirm+"</button>",style:"z-index:100003"})):$("body").append(we(ft,{id:"luckysheet-search-formula-parm-select",addclass:"luckysheet-search-formula-parm-select",title:t.tipSelectDataRange,content:"<input id='luckysheet-search-formula-parm-select-input' class='luckysheet-datavisual-range-container' style='font-size: 14px;padding:5px;max-width:none;' spellcheck='false' aria-label='"+t.tipDataRangeTile+"' readonly='true' value='"+$(this).parents(".parmBox").find(".txt input").val()+"'>",botton:'<button id="luckysheet-search-formula-parm-select-confirm" class="btn btn-primary">'+l.confirm+"</button>",style:"z-index:100003"}));let n=$("#luckysheet-search-formula-parm-select").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-search-formula-parm-select").css({left:(u+f-s)/2,top:(d+m-o)/3}).show(),e.parmTxtShow($(this).parents(".parmBox").find(".txt input").val())}),$(document).off("click.fxParamCf").on("click.fxParamCf","#luckysheet-search-formula-parm-confirm",function(){$("#luckysheet-wa-functionbox-confirm").click()}),$(document).off("click.fxParamSelectCf").on("click.fxParamSelectCf","#luckysheet-search-formula-parm-select-confirm",function(){let n=$("#luckysheet-search-formula-parm-select-input").attr("data_parm_index");$("#luckysheet-search-formula-parm-select").hide(),$("#luckysheet-search-formula-parm").show(),$("#luckysheet-search-formula-parm .parmBox").eq(n).find(".txt input").focus()})},formulaListDialog:function(){let e=this,a=Q(),t=a.formulaMore,l=a.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-search-formula").remove(),$("body").append(we(ft,{id:"luckysheet-search-formula",addclass:"luckysheet-search-formula",title:"",content:"<div class='inpbox'><label for='searchFormulaListInput'>"+t.findFunctionTitle+"\uFF1A</label><input class='formulaInputFocus' id='searchFormulaListInput' placeholder='"+t.tipInputFunctionName+"' spellcheck='false'/></div><div class='selbox'><label>"+t.selectCategory+"\uFF1A</label><select id='formulaTypeSelect'><option value='0'>"+t.Math+"</option><option value='1'>"+t.Statistical+"</option><option value='2'>"+t.Lookup+"</option><option value='3'>"+t.luckysheet+"</option><option value='4'>"+t.dataMining+"</option><option value='5'>"+t.Database+"</option><option value='6'>"+t.Date+"</option><option value='7'>"+t.Filter+"</option><option value='8'>"+t.Financial+"</option><option value='9'>"+t.Engineering+"</option><option value='10'>"+t.Logical+"</option><option value='11'>"+t.Operator+"</option><option value='12'>"+t.Text+"</option><option value='13'>"+t.Parser+"</option><option value='14'>"+t.Array+"</option><option value='-1'>"+t.other+"</option></select></div><div class='listbox'><label>"+t.selectFunctionTitle+"\uFF1A</label><div id='formulaTypeList'></div></div>",botton:'<button id="luckysheet-search-formula-confirm" class="btn btn-primary">'+l.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+l.cancel+"</button>",style:"z-index:100003"}));let n=$("#luckysheet-search-formula").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=n.outerHeight(),s=n.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-search-formula").css({left:(u+f-s)/2,top:(d+m-o)/3,"user-select":"none"}).show(),e.formulaListByType("0"),$("#searchFormulaListInput").focus()},formulaListByType:function(e){$("#formulaTypeList").empty();let a=h.functionlist;for(let t=0;t<a.length;t++)(e=="-1"&&a[t].t>14||a[t].t==e)&&$('<div class="listBox" name="'+a[t].n+'"><span>'+a[t].n+"</span><span>"+a[t].a+"</span></div>").appendTo($("#formulaTypeList"));$("#formulaTypeList .listBox:first-child").addClass("on")},formulaParmDialog:function(e,a){let t="",l="",n="",o=Q(),s=o.formulaMore,u=o.button,d=h.functionlist;for(let x=0;x<d.length;x++)if(d[x].n==e.toUpperCase()){t=d[x].n;for(let w=0;w<d[x].p.length;w++)a==null?n+='<div class="parmBox"><div class="name">'+d[x].p[w].name+'</div><div class="txt"><input class="formulaInputFocus" spellcheck="false"/><i class="fa fa-table" aria-hidden="true" title="'+s.tipSelectDataRange+'"></i></div><div class="val">=</div></div>':(a[w]==null&&(a[w]=""),n+='<div class="parmBox"><div class="name">'+d[x].p[w].name+'</div><div class="txt"><input class="formulaInputFocus" value="'+a[w]+'" spellcheck="false"/><i class="fa fa-table" aria-hidden="true" title="'+s.tipSelectDataRange+'"></i></div><div class="val">=</div></div>');l='<div><div class="parmListBox">'+n+'</div><div class="formulaDetails">'+d[x].d+'</div><div class="parmDetailsBox"></div><div class="result">'+s.calculationResult+" = <span></span></div></div>"}$("#luckysheet-search-formula").hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-search-formula-parm").remove(),$("body").append(we(ft,{id:"luckysheet-search-formula-parm",addclass:"luckysheet-search-formula-parm",title:t,content:l,botton:'<button id="luckysheet-search-formula-parm-confirm" class="btn btn-primary">'+u.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+u.cancel+"</button>",style:"z-index:100003"}));let f=$("#luckysheet-search-formula-parm").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),m=f.outerHeight(),g=f.outerWidth(),y=$(window).width(),v=$(window).height(),b=$(document).scrollLeft(),k=$(document).scrollTop();$("#luckysheet-search-formula-parm").css({left:(y+b-g)/2,top:(v+k-m)/3}).show(),$("#luckysheet-search-formula-parm .parmBox:eq(0) input").focus(),$("#luckysheet-search-formula-parm .parmBox").each(function(x,w){let _=$(w).find(".txt input").val();if(p.getfunctionParam(_).fn==null)if(p.iscelldata(_)){let S=rl(_).data;if(P(S)=="array"){let C=[];for(let T=0;T<S.length;T++)for(let R=0;R<S[T].length;R++){let I=S[T][R];I==null||de(I.v)?C.push(null):C.push(I.v)}$("#luckysheet-search-formula-parm .parmBox").eq(x).find(".val").text(" = {"+C.join(",")+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(x).find(".val").text(" = {"+S.v+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(x).find(".val").text(" = {"+_+"}");else $("#luckysheet-search-formula-parm .parmBox").eq(x).find(".val").text(" = {"+new Function("return "+$.trim(p.functionParserExe("="+_)))()+"}")}),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove(),p.data_parm_index=0,p.rangestart=!0},parmTxtShow:function(e){if(p.getfunctionParam(e).fn==null)if(p.iscelldata(e)){let a=p.getcellrange(e),t=a.row[0],l=a.row[1],n=a.column[0],o=a.column[1],s=h.visibledatarow[l],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[o],f=n-1==-1?0:h.visibledatacolumn[n-1];$("#luckysheet-formula-functionrange-select").css({left:f,width:d-f-1,top:u,height:s-u-1}).show(),$("#luckysheet-formula-help-c").hide(),ll(f,u,d-f-1,s-u-1,a.row,a.column);let m=rl(e).data;if(P(m)=="array"){let g=[];for(let y=0;y<m.length;y++)for(let v=0;v<m[y].length;v++){let b=m[y][v];b==null||de(b.v)?g.push(null):g.push(b.v)}$("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+g.join(",")+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+m.v+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+e+"}"),$("#luckysheet-formula-functionrange-select").hide();else{let a;for(let g=0;g<p.getfunctionParam(e).param.length;g++)if(p.iscelldata(p.getfunctionParam(e).param[g])){a=p.getfunctionParam(e).param[g];break}let t=p.getcellrange(a),l=t.row[0],n=t.row[1],o=t.column[0],s=t.column[1],u=h.visibledatarow[n],d=l-1==-1?0:h.visibledatarow[l-1],f=h.visibledatacolumn[s],m=o-1==-1?0:h.visibledatacolumn[o-1];$("#luckysheet-formula-functionrange-select").css({left:m,width:f-m-1,top:d,height:u-d-1}).show(),$("#luckysheet-formula-help-c").hide(),ll(m,d,f-m-1,u-d-1,t.row,t.column),$("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+new Function("return "+$.trim(p.functionParserExe("="+e)))()+"}")}},functionStrCompute:function(){let e=!0,a=[],t=-1,l=$("#luckysheet-search-formula-parm").find(".luckysheet-modal-dialog-title-text").text(),n=h.luckysheet_function[l].p;$("#luckysheet-search-formula-parm .parmBox").each(function(u,d){let f=$(d).find(".txt input").val(),m;u<n.length?m=n[u].require:m=n[n.length-1].require,f==""&&m=="m"&&(e=!1),f!=""&&(t=u)});let o;if(t==-1)o="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"()";else if(t==0)o="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+$("#luckysheet-search-formula-parm .parmBox").eq(0).find(".txt input").val()+")";else{for(let u=0;u<=t;u++)a.push($("#luckysheet-search-formula-parm .parmBox").eq(u).find(".txt input").val());o="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+a.join(",")+")"}let s=p.functionHTMLGenerate(o);if($("#luckysheet-rich-text-editor").html(s),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),e){let u=$.trim(p.functionParserExe($("#luckysheet-rich-text-editor").text())),d=null;try{d=new Function("return "+u)()}catch(f){d=p.error.n}$("#luckysheet-search-formula-parm .result span").text(d)}}},aa=Y0});var X0,be,lr=Ae(()=>{Xt();jt();xr();Xf();Dn();hl();Zt();Ml();Or();ul();fa();Pc();Kf();zc();dn();Lc();hr();Hl();At();ar();Kt();Ir();Yt();tn();Vt();Pr();Nl();cl();_l();Wt();An();sa();Rt();_a();ca();dt();Dr();Ke();bt();hn();X0={menu:'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-menuButton ${subclass} luckysheet-mousedown-cancel" id="luckysheet-icon-${id}-menuButton">${item}</div>',item:'<div itemvalue="${value}" itemname="${name}" class="luckysheet-cols-menuitem ${sub} luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 0px 3px 1px;"><span style="margin-right:3px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span> ${name} <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel ${iconClass}" style="user-select: none;">${example}</span></div></div>',split:'<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>',color:'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel luckysheet-menuButton ${sub}" id="${id}"><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel luckysheet-color-reset"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${resetColor}</div></div> <div class="luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <input type="text" class="luckysheet-color-selected" /> </div> </div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> ${coloritem}</div>',coloritem:'<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel ${class}"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${name}</div></div>',subcolor:'<div id="luckysheet-icon-${id}-menuButton" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-menuButton-sub luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <input type="text" class="luckysheet-color-selected" /> </div> </div></div>',rightclickmenu:null,submenuhide:{},focus:function(e,a){e.attr("id")=="luckysheet-icon-font-family-menuButton"&&qa(a).num&&(a=Q().fontarray[parseInt(a)],a==null&&(a=this.defualtFont[itemvalue])),e.find(".luckysheet-cols-menuitem").find("span.icon").html(""),a==null?e.find(".luckysheet-cols-menuitem").eq(0).find("span.icon").html('<i class="fa fa-check luckysheet-mousedown-cancel"></i>'):e.find(".luckysheet-cols-menuitem[itemvalue='"+a+"']").find("span.icon").html('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')},createButtonMenu:function(e){let a="",t=this;for(let l=0;l<e.length;l++){let n=e[l];n.value=="split"?a+=t.split:n.example=="more"?a+=we(t.item,{value:n.value,name:n.text,example:"",sub:"luckysheet-cols-submenu",iconClass:"iconfont luckysheet-iconfont-youjiantou"}):a+=we(t.item,{value:n.value,name:n.text,example:n.example,sub:"",iconClass:""})}return a},cancelPaintModel:function(){let e=this;$("#luckysheet-sheettable_0").removeClass("luckysheetPaintCursor"),h.luckysheet_copy_save.dataSheetIndex==h.currentSheetIndex?(h.luckysheet_selection_range=[],Mt()):h.luckysheetfile[Z(h.luckysheet_copy_save.dataSheetIndex)].luckysheet_selection_range=[],h.luckysheet_copy_save={},e.luckysheetPaintModelOn=!1,$("#luckysheetpopover").fadeOut(200,function(){$("#luckysheetpopover").remove()})},luckysheetPaintModelOn:!1,luckysheetPaintSingle:!1,initialMenuButton:function(){let e=this;$("#luckysheet-icon-paintformat").click(function(t){t.stopPropagation();let n=Q().paint;if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){he()?alert(n.tipSelectRange):j.info("",n.tipSelectRange);return}else if(h.luckysheet_select_save.length>1){he()?alert(n.tipNotMulti):j.info("",n.tipNotMulti);return}j.popover("<i class='fa fa-paint-brush'></i> "+n.start+"","topCenter",!0,null,n.end,function(){e.cancelPaintModel()}),$("#luckysheet-sheettable_0").addClass("luckysheetPaintCursor"),h.luckysheet_selection_range=[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],Mt();let o=!1,s=!1;for(let u=h.luckysheet_select_save[0].row[0];u<=h.luckysheet_select_save[0].row[1];u++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[u]!=null)){h.config.rowlen!=null&&u in h.config.rowlen&&(o=!0);for(let d=h.luckysheet_select_save[0].column[0];d<=h.luckysheet_select_save[0].column[1];d++){let f=h.flowdata[u][d];P(f)=="object"&&"mc"in f&&f.mc.rs!=null&&(s=!0)}}h.luckysheet_copy_save={dataSheetIndex:h.currentSheetIndex,copyRange:[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],RowlChange:o,HasMC:s},e.luckysheetPaintModelOn=!0,e.luckysheetPaintSingle=!0}),$("#luckysheet-icon-paintformat").dblclick(function(){let l=Q().paint;if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){he()?alert(l.tipSelectRange):j.info("",l.tipSelectRange);return}else if(h.luckysheet_select_save.length>1){he()?alert(l.tipNotMulti):j.info("",l.tipNotMulti);return}j.popover("<i class='fa fa-paint-brush'></i> "+l.start,"topCenter",!0,null,l.end,function(){e.cancelPaintModel()}),$("#luckysheet-sheettable_0").addClass("luckysheetPaintCursor"),h.luckysheet_selection_range=[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],Mt();let n=!1,o=!1;for(let s=h.luckysheet_select_save[0].row[0];s<=h.luckysheet_select_save[0].row[1];s++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[s]!=null)){h.config.rowlen!=null&&s in h.config.rowlen&&(n=!0);for(let u=h.luckysheet_select_save[0].column[0];u<=h.luckysheet_select_save[0].column[1];u++){let d=h.flowdata[s][u];P(d)=="object"&&"mc"in d&&d.mc.rs!=null&&(o=!0)}}h.luckysheet_copy_save={dataSheetIndex:h.currentSheetIndex,copyRange:[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],RowlChange:n,HasMC:o},e.luckysheetPaintModelOn=!0,e.luckysheetPaintSingle=!1}),$("#luckysheet-icon-currency").click(function(){let t=xe.deepCopyFlowData(h.flowdata);e.updateFormat(t,"ct","\xA5 #.00")}),$("#luckysheet-icon-percent").click(function(){let t=xe.deepCopyFlowData(h.flowdata);e.updateFormat(t,"ct","0.00%")}),$("#luckysheet-icon-fmt-decimal-decrease").click(function(){let t=xe.deepCopyFlowData(h.flowdata),l=h.luckysheet_select_save[0].row_focus,n=h.luckysheet_select_save[0].column_focus,o=e.checkstatus(t,l,n,"ct"),s=t[l][n];if(o==null||o.t!="n")return;if(o.fa=="General"&&(o=it(s.v)[1]),/^(w|W)((0?)|(0\.0+))$/.test(o.fa)){o.fa.indexOf(".")>-1?o.fa.substr(-2)==".0"?e.updateFormat(t,"ct",o.fa.split(".")[0]):e.updateFormat(t,"ct",o.fa.substr(0,o.fa.length-1)):e.updateFormat(t,"ct",o.fa);return}let d="",f="",m=[];if(o.fa.indexOf(".")>-1)m=o.fa.split("."),d=m[0],f=m[1];else return;m=f.split("");let g="";for(let v=m.length-1;v>=0;v--){let b=m[v];if(b!="#"&&b!="0"&&b!=","&&isNaN(parseInt(b)))g=b+g;else break}let y="";if(o.fa.indexOf(".")>-1){let v=f;g.length>0&&(v=f.replace(g,""));let b=v.replace(/#/g,"0");b=b.substr(0,b.length-1),b==""?y=d+g:y=d+"."+b+g}e.updateFormat(t,"ct",y)}),$("#luckysheet-icon-fmt-decimal-increase").click(function(){let t=xe.deepCopyFlowData(h.flowdata),l=h.luckysheet_select_save[0].row_focus,n=h.luckysheet_select_save[0].column_focus,o=e.checkstatus(t,l,n,"ct"),s=t[l][n];if(o==null||o.t!="n")return;if(o.fa=="General"&&(o=it(s.v)[1]),o.fa=="General"){e.updateFormat(t,"ct","#.0");return}if(/^(w|W)((0?)|(0\.0+))$/.test(o.fa)){o.fa.indexOf(".")>-1?e.updateFormat(t,"ct",o.fa+"0"):o.fa.substr(-1)=="0"?e.updateFormat(t,"ct",o.fa+".0"):e.updateFormat(t,"ct",o.fa+"0.0");return}let d="",f="",m=[];o.fa.indexOf(".")>-1?(m=o.fa.split("."),d=m[0],f=m[1]):f=o.fa,m=f.split("");let g="";for(let v=m.length-1;v>=0;v--){let b=m[v];if(b!="#"&&b!="0"&&b!=","&&isNaN(parseInt(b)))g=b+g;else break}let y="";if(o.fa.indexOf(".")>-1){let v=f;g.length>0&&(v=f.replace(g,""));let b=v.replace(/#/g,"0");b+="0",y=d+"."+b+g}else g.length>0?y=f.replace(g,"")+".0"+g:y=f+".0"+g;e.updateFormat(t,"ct",y)}),$("#luckysheet-icon-fmt-other").click(function(){let t=Q(),l=t.format,n=t.defaultFmt,o=$(this).attr("id")+"-menuButton",s=$("#"+o);if(s.length==0){let m=n,g=e.createButtonMenu(m),y=we(e.menu,{id:"fmt-other",item:g,subclass:"",sub:""}),v=[{text:l.moreCurrency+"...",value:"morecurrency",example:""},{text:l.moreDateTime+"...",value:"moredatetime",example:""},{text:l.moreNumber+"...",value:"moredigit",example:""}],b=e.createButtonMenu(v),k=we(e.menu,{id:"fmtOtherSelf",item:b,subclass:"luckysheet-menuButton-sub"});$("body").append(y+k),s=$("#"+o).width(250),e.focus(s),s.find(".luckysheet-cols-menuitem").click(function(){s.hide(),rt();let x=$(this),w=x.attr("itemvalue"),_=x.attr("itemname");if($("#luckysheet-icon-fmt-other").find(".luckysheet-toolbar-menu-button-caption").html(" "+_+" "),w=="fmtOtherSelf")return;let S=xe.deepCopyFlowData(h.flowdata);e.focus(s,w),e.updateFormat(S,"ct",w)}),$("#luckysheet-icon-fmtOtherSelf-menuButton").find(".luckysheet-cols-menuitem").click(function(){s.hide(),$("#luckysheet-icon-fmtOtherSelf-menuButton").hide(),rt();let x=$(this).attr("itemvalue");Nc.createDialog(x),Nc.init()})}else{let m=$(this).find(".luckysheet-toolbar-menu-button-caption").text().trim(),g=n.find(y=>y.text===m);g&&e.focus(s,g.value)}let u=$(this).outerWidth(),d=s.outerWidth(),f=$(this).offset().left;d>u&&d+f>$("#"+h.container).width()&&(f=f-d+u),dr(s,f,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-font-family").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let u=e.createButtonMenu(e.fontSelectList),d=we(e.menu,{id:"font-family",item:u,subclass:"",sub:""});$("body").append(d),l=$("#"+t).width(200),e.focus(l),l.on("click",".luckysheet-cols-menuitem",function(){l.hide(),rt();let f=$(this),m=f.attr("itemvalue"),g=f.attr("itemname");e.focus(l,m),$("#luckysheet-icon-font-family").find(".luckysheet-toolbar-menu-button-caption").html(" "+g+" ");let y=xe.deepCopyFlowData(h.flowdata);e.updateFormat(y,"ff",m)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-text-color").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(){let t=xe.deepCopyFlowData(h.flowdata),l=$(this).attr("color");l==null&&(l="#000000"),e.updateFormat(t,"fc",l)}),$("#luckysheet-icon-text-color-menu").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q(),f=d.toolbar,m=d.button,g=d.alternatingColors,y=[{name:f.alternatingColors+"...",id:"luckysheet-color-alternate",example:""}],v=e.createButtonMenu(y),b="text-color-self",k=we(e.coloritem,{class:"luckysheet-icon-alternateformat",name:f.alternatingColors+"..."}),x=we(e.color,{id:t,coloritem:k,colorself:b,sub:"",resetColor:f.resetColor});$("body").append(x),l=$("#"+t),$("#"+t).find(".luckysheet-color-selected").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,cancelText:m.cancel,chooseText:m.confirm,togglePaletteMoreText:f.customColor,togglePaletteLessText:f.collapse,togglePaletteOnly:!0,clearText:f.clearText,color:fe.defaultTextColor,noColorSelectedText:f.noColorSelectedText,localStorageKey:"spectrum.textcolor"+re.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(w){let _=$(this);w!=null?w=w.toHexString():w="#000";let S=null;$("#luckysheet-icon-text-color .text-color-bar").css("background-color",w),$("#luckysheet-icon-text-color").attr("color",w);let C=xe.deepCopyFlowData(h.flowdata);e.updateFormat(C,"fc",w),l.hide(),rt()}}),l.find(".luckysheet-color-reset").click(function(){l.hide(),rt();let w=$("#"+t).find(".luckysheet-color-selected");w.val("#000000"),$("#luckysheet-icon-text-color").attr("color",null),w.spectrum("set","#000000"),$("#luckysheet-icon-text-color .luckysheet-color-menu-button-indicator").css("border-bottom-color","#000000");let _=xe.deepCopyFlowData(h.flowdata);e.updateFormat(_,"fc",null)}),l.find(".luckysheet-icon-alternateformat").click(function(){if(l.hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(g.errorInfo):j.info(g.errorInfo,"");return}let w=$.extend(!0,{},h.luckysheet_select_save[0]);Jt.rangeIsExists(w)[0]||(Jt.modelfocusIndex=0,Jt.new(w)),Jt.init(),Jt.perfect()})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n);let u=$(this).offset().top+26;setTimeout(function(){let d=$("#"+t).find(".luckysheet-color-selected");d.spectrum("set",d.val()),dr(l,s-28,u,"lefttop")},1)}),$("#luckysheet-icon-cell-color").click(function(){let t=xe.deepCopyFlowData(h.flowdata),l=$(this).attr("color");l==null&&(l="#ffffff"),e.updateFormat(t,"bg",l)}),$("#luckysheet-icon-cell-color-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d="cell-color-self",f=Q(),m=f.toolbar,g=f.button,y=f.alternatingColors,v=we(e.coloritem,{class:"luckysheet-icon-alternateformat",name:m.alternatingColors+"..."}),b=we(e.color,{id:t,coloritem:v,colorself:d,sub:"",resetColor:m.resetColor});$("body").append(b),l=$("#"+t),$("#"+t).find(".luckysheet-color-selected").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,color:fe.defaultCellColor,cancelText:g.cancel,chooseText:g.confirm,togglePaletteMoreText:m.customColor,togglePaletteLessText:m.collapse,togglePaletteOnly:!0,clearText:m.clearText,noColorSelectedText:m.noColorSelectedText,localStorageKey:"spectrum.bgcolor"+re.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(k){let x=$(this);k!=null?k=k.toHexString():k="#fff";let w=null;$("#luckysheet-icon-cell-color .text-color-bar").css("background-color",k),$("#luckysheet-icon-cell-color").attr("color",k);let _=xe.deepCopyFlowData(h.flowdata);e.updateFormat(_,"bg",k),l.hide(),rt()}}),l.find(".luckysheet-color-reset").click(function(){l.hide(),rt();let k=$("#"+t).find(".luckysheet-color-selected");k.val("#ffffff"),$("#luckysheet-icon-cell-color").attr("color",null),k.spectrum("set","#ffffff"),$("#luckysheet-icon-cell-color .luckysheet-color-menu-button-indicator").css("border-bottom-color","#ffffff");let x=xe.deepCopyFlowData(h.flowdata);e.updateFormat(x,"bg",null)}),l.find(".luckysheet-icon-alternateformat").click(function(){if(l.hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(y.errorInfo):j.info(y.errorInfo,"");return}let k=$.extend(!0,{},h.luckysheet_select_save[0]);Jt.rangeIsExists(k)[0]||(Jt.modelfocusIndex=0,Jt.new(k)),Jt.init(),Jt.perfect()}),$("#"+t).find(".luckysheet-color-selected").val("#fff")}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n);let u=$(this).offset().top+26;setTimeout(function(){let d=$("#"+t).find(".luckysheet-color-selected");d.spectrum("set",d.val()),dr(l,s-28,u,"lefttop")},1)});let a=null;$("#luckysheet-icon-font-size").mousedown(function(t){if(parseInt($("#luckysheet-input-box").css("top"))>0){let l=window.getSelection();if(l.type!="None"){let n=l.getRangeAt(0);n.collapsed||(h.inlineStringEditRange=n.cloneRange())}}kl(t),t.stopPropagation()}).click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=[{text:"9",value:"9",example:""},{text:"10",value:"10",example:""},{text:"11",value:"11",example:""},{text:"12",value:"12",example:""},{text:"14",value:"14",example:""},{text:"16",value:"16",example:""},{text:"18",value:"18",example:""},{text:"20",value:"20",example:""},{text:"22",value:"22",example:""},{text:"24",value:"24",example:""},{text:"26",value:"26",example:""},{text:"28",value:"28",example:""},{text:"36",value:"36",example:""},{text:"48",value:"48",example:""},{text:"72",value:"72",example:""}],f=e.createButtonMenu(d),m=we(e.menu,{id:"font-size",item:f,subclass:"",sub:""});$("body").append(m),l=$("#"+t).width(150),e.focus(l,10),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let g=$(this),y=g.attr("itemvalue"),v=$("#luckysheet-icon-font-size input");$("#luckysheet-icon-font-size").attr("itemvalue",y),e.focus(l,y),v.val(y);let b=xe.deepCopyFlowData(h.flowdata);e.updateFormat(b,"fs",y),clearTimeout(a)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$("#luckysheet-icon-font-size").attr("itemvalue");s==null&&(s=10),e.focus(l,s);let u=$(this).offset().left;o>n&&o+u>$("#"+h.container).width()&&(u=u-o+n),dr(l,u,$(this).offset().top+25,"lefttop")}).find("input.luckysheet-toolbar-textinput").keydown(function(t){kl(t),t.stopPropagation()}).keyup(function(t){if(t.keyCode!=13)return;let l=$(this),n=parseInt(l.val()),o=$("#luckysheet-icon-font-size-menuButton");e.focus(o,n);let s=xe.deepCopyFlowData(h.flowdata);e.updateFormat(s,"fs",n),a=setTimeout(function(){o.hide(),l.blur()},200)}),$("#luckysheet-icon-border-all").click(function(){if(!Tl(h.currentSheetIndex))return;let t=xe.deepCopyFlowData(h.flowdata),l=$(this).attr("type");l==null&&(l="border-all");let n="luckysheet-icon-borderColor-menuButton",o=$("#"+n).find(".luckysheet-color-selected").val(),s=$("#luckysheetborderSizepreview").attr("itemvalue");(o==null||o=="")&&(o="#000"),(s==null||s=="")&&(s="1");let u=$.extend(!0,{},h.config);u.borderInfo==null&&(u.borderInfo=[]);let d={rangeType:"range",borderType:l,color:o,style:s,range:$.extend(!0,[],h.luckysheet_select_save)};if(u.borderInfo.push(d),h.clearjfundo){h.jfundo.length=0;let f=[];f.type="borderChange",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},u),f.sheetIndex=h.currentSheetIndex,h.jfredo.push(f)}re.saveParam("cg",h.currentSheetIndex,u.borderInfo,{k:"borderInfo"}),h.config=u,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,setTimeout(function(){Le()},1)}),$("#luckysheet-icon-border-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let u=10,d=120,f=Q(),m=f.border,g=f.toolbar,y=f.button,v=[{text:m.borderTop,value:"border-top",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-top iconfont luckysheet-iconfont-shangbiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderBottom,value:"border-bottom",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-bottom iconfont luckysheet-iconfont-xiabiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderLeft,value:"border-left",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-left iconfont luckysheet-iconfont-zuobiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderRight,value:"border-right",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-right iconfont luckysheet-iconfont-youbiankuang" style="user-select: none;"> </div> </div>'},{text:"",value:"split",example:""},{text:m.borderNone,value:"border-none",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-none iconfont luckysheet-iconfont-wubiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderAll,value:"border-all",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-all iconfont luckysheet-iconfont-quanjiabiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderOutside,value:"border-outside",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-outside iconfont luckysheet-iconfont-sizhoujiabiankuang" style="user-select: none;"> </div> </div>'},{text:"",value:"split",example:""},{text:m.borderInside,value:"border-inside",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-inside iconfont luckysheet-iconfont-neikuangxian" style="user-select: none;"> </div> </div>'},{text:m.borderHorizontal,value:"border-horizontal",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-horizontal iconfont luckysheet-iconfont-neikuanghengxian" style="user-select: none;"> </div> </div>'},{text:m.borderVertical,value:"border-vertical",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-vertical iconfont luckysheet-iconfont-neikuangshuxian" style="user-select: none;"> </div> </div>'},{text:"",value:"split",example:""},{text:"<span id='luckysheet-icon-borderColor-linecolor' class='luckysheet-mousedown-cancel' style='border-bottom:3px solid #000;'>"+m.borderColor+"</span>",value:"borderColor",example:"more"},{text:""+m.borderSize+"<img id='luckysheetborderSizepreview' width=100 height=10 src='data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==' style='position:absolute;bottom:-5px;right:0px;width:100px;height:10px;'>",value:"borderSize",example:"more"}],b=Wl.border,k=e.createButtonMenu(v),x=we(e.menu,{id:"border-menu",item:k,subclass:"",sub:""}),w=[{text:m.borderNone,value:"0",example:""},{text:"<canvas type='Thin' class='border-Thin' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"1",example:""},{text:"<canvas type='Hair' class='border-Hair' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"2",example:""},{text:"<canvas type='Dotted' class='border-Dotted' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"3",example:""},{text:"<canvas type='Dashed' class='border-Dashed' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"4",example:""},{text:"<canvas type='DashDot' class='border-DashDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"5",example:""},{text:"<canvas type='DashDotDot' class='border-DashDotDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"6",example:""},{text:"<canvas type='Medium' class='border-Medium' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"8",example:""},{text:"<canvas type='MediumDashed' class='border-MediumDashed' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"9",example:""},{text:"<canvas type='MediumDashDot' class='border-MediumDashDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"10",example:""},{text:"<canvas type='MediumDashDotDot' class='border-MediumDashDotDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"11",example:""},{text:"<canvas type='Thick' class='border-Thick' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"13",example:""}],_=e.createButtonMenu(w),S=we(e.menu,{id:"borderSize",item:_,subclass:"luckysheet-menuButton-sub"}),C="luckysheet-icon-borderSize-menuButton",T="luckysheet-icon-borderColor-menuButton",R=we(e.color,{id:T,coloritem:"",colorself:"",sub:"luckysheet-menuButton-sub",resetColor:g.resetColor});$("body").append(x+R+S),l=$("#"+t).width(170),e.focus(l,"border-all"),$("#"+C+" canvas").each(function(I){let A=$(this).attr("type"),E=$(this).closest(".luckysheet-cols-menuitem").attr("itemvalue"),N=$(this).addClass("luckysheet-mousedown-cancel").get(0).getContext("2d");N.translate(.5,.5),e.setLineDash(N,E,"h",0,5,100,5),N.strokeStyle="#000000",N.stroke(),N.closePath()}),$("#"+C+" .luckysheet-cols-menuitem").click(function(){$("#"+C).hide();let I=$(this),A=I.attr("itemvalue");if(A==0)$("#luckysheetborderSizepreview").attr("src","data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==").attr("itemvalue",null);else{let E=I.find("canvas").get(0).toDataURL("image/png");$("#luckysheetborderSizepreview").attr("src",E).attr("itemvalue",A)}e.focus($("#"+C),A)}),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let I=$(this),A=I.attr("itemvalue");if(A=="borderColor"||A=="borderSize"||!Tl(h.currentSheetIndex))return;let E=xe.deepCopyFlowData(h.flowdata),N=$("#"+T).find(".luckysheet-color-selected").val(),D=$("#luckysheetborderSizepreview").attr("itemvalue");(N==null||N=="")&&(N="#000"),(D==null||D=="")&&(D="1");let F=$.extend(!0,{},h.config);F.borderInfo==null&&(F.borderInfo=[]);let M={rangeType:"range",borderType:A,color:N,style:D,range:$.extend(!0,[],h.luckysheet_select_save)};if(F.borderInfo.push(M),h.clearjfundo){h.jfundo.length=0;let O=[];O.type="borderChange",O.config=$.extend(!0,{},h.config),O.curconfig=$.extend(!0,{},F),O.sheetIndex=h.currentSheetIndex,h.jfredo.push(O)}re.saveParam("cg",h.currentSheetIndex,F.borderInfo,{k:"borderInfo"}),h.config=F,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,setTimeout(function(){Le()},1),$("#luckysheet-icon-border-all").attr("type",A),$("#luckysheet-icon-border-all").find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-"+A+b[A]),e.focus(l,A)}),$("#"+T).find(".luckysheet-color-selected").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,color:"#000",cancelText:y.cancel,chooseText:y.confirm,togglePaletteMoreText:g.customColor,togglePaletteLessText:g.collapse,togglePaletteOnly:!0,clearText:g.clearText,noColorSelectedText:g.noColorSelectedText,localStorageKey:"spectrum.bordercolor"+re.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(I){let A=$(this);I!=null?I=I.toHexString():I="#000";let E=null;$("#luckysheet-icon-borderColor-linecolor").css("border-bottom-color",I),$("#"+T).find(".luckysheet-color-selected").val(I)}}),$("#"+T).find(".luckysheet-color-reset").click(function(){let I=$("#"+T).find(".luckysheet-color-selected");I.val("#000"),$("#luckysheet-icon-cell-color").attr("color",null),I.spectrum("set","#000"),$("#luckysheet-icon-borderColor-linecolor").css("border-bottom-color","#000")})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-merge-button").click(function(){if(!Bl(h.currentSheetIndex))return;if(jl()){he()?alert("\u4E0D\u80FD\u5408\u5E76\u91CD\u53E0\u533A\u57DF"):j.info("\u4E0D\u80FD\u5408\u5E76\u91CD\u53E0\u533A\u57DF","");return}if(h.config.merge!=null){let l=!1;for(let n=0;n<h.luckysheet_select_save.length;n++){let o=h.luckysheet_select_save[n].row[0],s=h.luckysheet_select_save[n].row[1],u=h.luckysheet_select_save[n].column[0],d=h.luckysheet_select_save[n].column[1];if(l=Nt(h.config,o,s,u,d),l)break}if(l){he()?alert("\u65E0\u6CD5\u5BF9\u90E8\u5206\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C"):j.info("\u65E0\u6CD5\u5BF9\u90E8\u5206\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C","");return}}let t=xe.deepCopyFlowData(h.flowdata);e.updateFormat_mc(t,"mergeAll")}),$("#luckysheet-icon-merge-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().merge,f=[{text:d.mergeAll,value:"mergeAll",example:""},{text:d.mergeV,value:"mergeV",example:""},{text:d.mergeH,value:"mergeH",example:""},{text:d.mergeCancel,value:"mergeCancel",example:""}],m=e.createButtonMenu(f),g=we(e.menu,{id:"merge-menu",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(110),e.focus(l),l.find(".luckysheet-cols-menuitem").click(function(){if(l.hide(),rt(),jl()){he()?alert(d.overlappingError):j.info(d.overlappingError,"");return}if(h.config.merge!=null){let k=!1;for(let x=0;x<h.luckysheet_select_save.length;x++){let w=h.luckysheet_select_save[x].row[0],_=h.luckysheet_select_save[x].row[1],S=h.luckysheet_select_save[x].column[0],C=h.luckysheet_select_save[x].column[1];if(k=Nt(h.config,w,_,S,C),k)break}if(k){he()?alert(d.partiallyError):j.info(d.partiallyError,"");return}}let y=$(this),v=y.attr("itemvalue");e.focus(l,v);let b=xe.deepCopyFlowData(h.flowdata);e.updateFormat_mc(b,v)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-align").click(function(){let t=$("#luckysheet-icon-align").attr("type");t==null&&(t="left");let l=xe.deepCopyFlowData(h.flowdata);e.updateFormat(l,"ht",t)}),$("#luckysheet-icon-align-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().align,f=[{text:d.left,value:"left",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-left iconfont luckysheet-iconfont-wenbenzuoduiqi" style="user-select: none;"> </div> </div>'},{text:d.center,value:"center",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-center iconfont luckysheet-iconfont-wenbenjuzhongduiqi" style="user-select: none;"> </div> </div>'},{text:d.right,value:"right",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-right iconfont luckysheet-iconfont-wenbenyouduiqi" style="user-select: none;"> </div> </div>'}],m=Wl.align,g=e.createButtonMenu(f),y=we(e.menu,{id:"align-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(120),e.focus(l),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),b=v.attr("itemvalue");e.focus(l,b),$("#luckysheet-icon-align").attr("type",b).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-"+b+m[b]);let x=xe.deepCopyFlowData(h.flowdata);e.updateFormat(x,"ht",b)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-valign").click(function(){let t=$("#luckysheet-icon-valign").attr("type");t==null&&(t="bottom");let l=xe.deepCopyFlowData(h.flowdata);e.updateFormat(l,"vt",t)}),$("#luckysheet-icon-valign-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().align;if(l.length==0){let f=[{text:o.top,value:"top",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-top iconfont luckysheet-iconfont-dingbuduiqi" style="user-select: none;"> </div> </div>'},{text:o.middle,value:"middle",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-middle iconfont luckysheet-iconfont-shuipingduiqi" style="user-select: none;"> </div> </div>'},{text:o.bottom,value:"bottom",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-bottom iconfont luckysheet-iconfont-dibuduiqi" style="user-select: none;"> </div> </div>'}],m=Wl.align,g=e.createButtonMenu(f),y=we(e.menu,{id:"valign-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(120),e.focus(l,"bottom"),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),b=v.attr("itemvalue");e.focus(l,b),$("#luckysheet-icon-valign").attr("type",b).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-"+b+m[b]);let x=xe.deepCopyFlowData(h.flowdata);e.updateFormat(x,"vt",b)})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),dr(l,d-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-textwrap-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().textWrap,f=[{text:d.overflow,value:"overflow",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-overflow iconfont luckysheet-iconfont-yichu1" style="user-select: none;"> </div> </div>'},{text:d.wrap,value:"wrap",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-wrap iconfont luckysheet-iconfont-zidonghuanhang" style="user-select: none;"> </div> </div>'},{text:d.clip,value:"clip",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-clip iconfont luckysheet-iconfont-jieduan" style="user-select: none;"> </div> </div>'}],m=Wl.textWrap,g=e.createButtonMenu(f),y=we(e.menu,{id:"textwrap-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(120),e.focus(l,"clip"),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),b=v.attr("itemvalue");e.focus(l,b),$("#luckysheet-icon-textwrap").attr("type",b).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-"+b+m[b]);let x=xe.deepCopyFlowData(h.flowdata);e.updateFormat(x,"tb",b)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-rotation-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().rotation,f=[{text:d.none,value:"none",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont luckysheet-iconfont-wuxuanzhuang" style="user-select: none;"> </div> </div>'},{text:d.angleup,value:"angleup",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-angleup iconfont luckysheet-iconfont-xiangshangqingxie" style="user-select: none;"> </div> </div>'},{text:d.angledown,value:"angledown",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-angledown iconfont luckysheet-iconfont-xiangxiaqingxie" style="user-select: none;"> </div> </div>'},{text:d.vertical,value:"vertical",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-vertical iconfont luckysheet-iconfont-shupaiwenzi" style="user-select: none;"> </div> </div>'},{text:d.rotationUp,value:"rotation-up",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-rotation-up iconfont luckysheet-iconfont-wenbenxiangshang" style="user-select: none;"> </div> </div>'},{text:d.rotationDown,value:"rotation-down",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-rotation-down iconfont luckysheet-iconfont-xiangxia90" style="user-select: none;"> </div> </div>'}],m=Wl.rotation,g=e.createButtonMenu(f),y=we(e.menu,{id:"rotation-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(160),e.focus(l),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),b=v.attr("itemvalue");e.focus(l,b),$("#luckysheet-icon-rotation").attr("type",b).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-"+b+m[b]);let x=xe.deepCopyFlowData(h.flowdata);e.updateFormat(x,"tr",b)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-freezen-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().freezen,f=[{text:d.freezenRow,value:"freezenRow",example:""},{text:d.freezenColumn,value:"freezenColumn",example:""},{text:d.freezenRC,value:"freezenRC",example:""},{text:"",value:"split",example:""},{text:d.freezenRowRange,value:"freezenRowRange",example:""},{text:d.freezenColumnRange,value:"freezenColumnRange",example:""},{text:d.freezenRCRange,value:"freezenRCRange",example:""},{text:"",value:"split",example:""},{text:d.freezenCancel,value:"freezenCancel",example:""}],m=e.createButtonMenu(f),g=we(e.menu,{id:"freezen-menu",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(170),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(e.focus(l,v),W.saveFrozen(v),v=="freezenRow"){let b=$("#luckysheet-cell-main").scrollTop(),k=lt(h.visibledatarow,b);k==-1&&(k=0);let x=h.visibledatarow[k]-2-b+h.columnHeaderHeight,w=[h.visibledatarow[k],k+1,b,W.cutVolumn(h.visibledatarow,k+1),x];W.saveFreezen(w,x,null,null),W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.createFreezenHorizontal(w,x),W.createAssistCanvas(),Le()}else if(v=="freezenColumn"){let b=$("#luckysheet-cell-main").scrollLeft(),k=lt(h.visibledatacolumn,b);k==-1&&(k=0);let x=h.visibledatacolumn[k]-2-b+h.rowHeaderWidth,w=[h.visibledatacolumn[k],k+1,b,W.cutVolumn(h.visibledatacolumn,k+1),x];W.saveFreezen(null,null,w,x),W.freezenhorizontaldata!=null&&(W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.createFreezenVertical(w,x),W.createAssistCanvas(),Le()}else if(v=="freezenRC"){let b=$("#luckysheet-cell-main").scrollTop(),k=lt(h.visibledatarow,b);k==-1&&(k=0);let x=h.visibledatarow[k]-2-b+h.columnHeaderHeight,w=[h.visibledatarow[k],k+1,b,W.cutVolumn(h.visibledatarow,k+1),x];W.saveFreezen(w,x,null,null),W.createFreezenHorizontal(w,x);let _=$("#luckysheet-cell-main").scrollLeft(),S=lt(h.visibledatacolumn,_);S==-1&&(S=0);let C=h.visibledatacolumn[S]-2-_+h.rowHeaderWidth,T=[h.visibledatacolumn[S],S+1,_,W.cutVolumn(h.visibledatacolumn,S+1),C];W.saveFreezen(null,null,T,C),W.createFreezenVertical(T,C),W.createAssistCanvas(),Le()}else if(v=="freezenRowRange"){if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){he()?alert(d.noSeletionError):j.info(d.noSeletionError,"");return}let b=$("#luckysheet-cell-main").scrollTop(),k=lt(h.visibledatarow,b),x=h.luckysheet_select_save[h.luckysheet_select_save.length-1],w=x.row_focus==null?x.row[0]:x.row_focus;w>k&&(k=w),k==-1&&(k=0);let _=h.visibledatarow[k]-2-b+h.columnHeaderHeight,S=[h.visibledatarow[k],k+1,b,W.cutVolumn(h.visibledatarow,k+1),_];W.saveFreezen(S,_,null,null),W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.createFreezenHorizontal(S,_),W.createAssistCanvas(),Le()}else if(v=="freezenColumnRange"){if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){he()?alert(d.noSeletionError):j.info(d.noSeletionError,"");return}let b=$("#luckysheet-cell-main").scrollLeft(),k=lt(h.visibledatacolumn,b),x=h.luckysheet_select_save[h.luckysheet_select_save.length-1],w=x.column_focus==null?x.column[0]:x.column_focus;w>k&&(k=w),k==-1&&(k=0);let _=h.visibledatacolumn[k]-2-b+h.rowHeaderWidth,S=[h.visibledatacolumn[k],k+1,b,W.cutVolumn(h.visibledatacolumn,k+1),_];W.saveFreezen(null,null,S,_),W.freezenhorizontaldata!=null&&(W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.createFreezenVertical(S,_),W.createAssistCanvas(),Le()}else if(v=="freezenRCRange"){if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){he()?alert(d.noSeletionError):j.info(d.noSeletionError,"");return}let b=$("#luckysheet-cell-main").scrollTop(),k=lt(h.visibledatarow,b),x=h.luckysheet_select_save[h.luckysheet_select_save.length-1],w=x.row_focus==null?x.row[0]:x.row_focus;w>k&&(k=w),k==-1&&(k=0);let _=h.visibledatarow[k]-2-b+h.columnHeaderHeight,S=[h.visibledatarow[k],k+1,b,W.cutVolumn(h.visibledatarow,k+1),_];W.saveFreezen(S,_,null,null),W.createFreezenHorizontal(S,_);let C=$("#luckysheet-cell-main").scrollLeft(),T=lt(h.visibledatacolumn,C),R=x.column_focus==null?x.column[0]:x.column_focus;R>T&&(T=R),T==-1&&(T=0);let I=h.visibledatacolumn[T]-2-C+h.rowHeaderWidth,A=[h.visibledatacolumn[T],T+1,C,W.cutVolumn(h.visibledatacolumn,T+1),I];W.saveFreezen(null,null,A,I),W.createFreezenVertical(A,I),W.createAssistCanvas(),Le()}else v=="freezenCancel"&&(W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.freezenhorizontaldata!=null&&(W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.scrollAdapt());setTimeout(function(){Ft()},0)})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s-68,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-autofilter").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let u=Q(),d=u.sort,f=u.filter,m=[{text:d.asc,value:"asc",example:'<i class="iconfont luckysheet-iconfont-shengxu" aria-hidden="true"></i>'},{text:d.desc,value:"desc",example:'<i class="iconfont luckysheet-iconfont-jiangxu" aria-hidden="true"></i>'},{text:d.custom+"...",value:"diysort",example:'<i class="iconfont luckysheet-iconfont-zidingyipaixu" aria-hidden="true"></i>'},{text:"",value:"split",example:""},{text:f.filter,value:"filter",example:'<i class="iconfont luckysheet-iconfont-shaixuan2" aria-hidden="true"></i>'},{text:f.clearFilter,value:"clearfilter",example:'<i class="iconfont luckysheet-iconfont-qingchushaixuan" aria-hidden="true"></i>'}],g=e.createButtonMenu(m),y=we(e.menu,{id:"autofilter",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(150),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),b=v.attr("itemvalue");b=="diysort"?$("#luckysheetorderby").click():b=="asc"?Xs(!0):b=="desc"?Xs(!1):b=="filter"?$("#luckysheet-filter-options-sheet"+h.currentSheetIndex).length>0?$("#luckysheet-filter-initial").click():Ci():b=="clearfilter"&&$("#luckysheet-filter-initial").click()})}let n=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>n&&o+s>$("#"+h.container).width()&&(s=s-o+n),dr(l,s,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-seachmore").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().findAndReplace;if(l.length==0){let f=[{text:o.find+" ...",value:"search",example:'<i class="iconfont luckysheet-iconfont-sousuo" aria-hidden="true"></i>'},{text:o.replace+" ...",value:"replace",example:'<i class="iconfont luckysheet-iconfont-tihuan" aria-hidden="true"></i>'},{text:"",value:"split",example:""},{text:o.location+" ...",value:"location",example:'<i class="iconfont luckysheet-iconfont-dingwei" aria-hidden="true"></i>'},{text:o.formula,value:"locationFormula",example:o.locationExample},{text:o.date,value:"locationConstantDate",example:o.locationExample},{text:o.number,value:"locationConstantNumber",example:o.locationExample},{text:o.string,value:"locationConstantString",example:o.locationExample},{text:o.error,value:"locationConstantError",example:o.locationExample},{text:o.condition,value:"locationCF",example:o.locationExample},{text:o.rowSpan,value:"locationStepRow",example:o.locationExample},{text:o.columnSpan,value:"locationStepColumn",example:o.locationExample}],m=e.createButtonMenu(f),g=we(e.menu,{id:"seachmore",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(v=="search"||v=="replace")v=="search"?ka.createDialog(0):v=="replace"&&ka.createDialog(1),ka.init(),$("#luckysheet-search-replace #searchInput input").focus();else if(v=="location")Ul.createDialog(),Ul.init();else if(v=="locationFormula"||v=="locationConstantDate"||v=="locationConstantNumber"||v=="locationConstantString"||v=="locationConstantError"||v=="locationCF"){let b=h.luckysheet_select_save[0],k;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&b.row[0]==b.row[1]&&b.column[0]==b.column[1]?k=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:k=$.extend(!0,[],h.luckysheet_select_save),v=="locationFormula"?Ul.apply(k,"locationFormula","all"):v=="locationConstantDate"?Ul.apply(k,"locationConstant","d"):v=="locationConstantNumber"?Ul.apply(k,"locationConstant","n"):v=="locationConstantString"?Ul.apply(k,"locationConstant","s,g"):v=="locationConstantError"?Ul.apply(k,"locationConstant","e"):v=="locationCF"&&Ul.apply(k,"locationCF")}else if(v=="locationStepRow"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]){he()?alert(o.lessTwoRowTip):j.info("",o.lessTwoRowTip);return}let b=$.extend(!0,[],h.luckysheet_select_save);Ul.apply(b,"locationStepRow")}else if(v=="locationStepColumn"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){he()?alert(o.lessTwoColumnTip):j.info("",o.lessTwoColumnTip);return}let b=$.extend(!0,[],h.luckysheet_select_save);Ul.apply(b,"locationStepColumn")}})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),dr(l,d,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-function").click(function(){e.autoSelectionFormula("SUM")}),$("#luckysheet-icon-function-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().formula;if(l.length==0){let f=[{text:o.sum,value:"SUM",example:"SUM"},{text:o.average,value:"AVERAGE",example:"AVERAGE"},{text:o.count,value:"COUNT",example:"COUNT"},{text:o.max,value:"MAX",example:"MAX"},{text:o.min,value:"MIN",example:"MIN"},{text:"",value:"split",example:""},{text:o.ifGenerate,value:"if",example:"IF"},{text:o.find+" ...",value:"formula",example:""}],m=e.createButtonMenu(f),g=we(e.menu,{id:"function-menu",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(v=="if"){let b=h.luckysheet_select_save[h.luckysheet_select_save.length-1],k=b.row_focus==null?b.row[0]:b.row_focus,x=b.column_focus==null?b.column[0]:b.column_focus;if(!!h.flowdata[k]&&!!h.flowdata[k][x]&&!!h.flowdata[k][x].f){let w=h.flowdata[k][x].f.toString();if(w.indexOf("=if(")!=-1)Xn.ifFormulaDialog(w);else{he()?alert(o.tipNotBelongToIf):j.info(o.tipNotBelongToIf,"");return}}else Xn.ifFormulaDialog();Xn.init()}else if(v=="formula"){if(h.luckysheet_select_save.length==0){he()?alert(o.tipSelectCell):j.info(o.tipSelectCell,"");return}let b=h.luckysheet_select_save[h.luckysheet_select_save.length-1],k=b.row_focus,x=b.column_focus;Ar(k,x,h.flowdata);let w=h.flowdata[k][x];if(w!=null&&w.f!=null){let _=p.getfunctionParam(w.f);_.fn!=null?aa.formulaParmDialog(_.fn,_.param):aa.formulaListDialog()}else $("#luckysheet-rich-text-editor").html('<span dir="auto" class="luckysheet-formula-text-color">=</span>'),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),aa.formulaListDialog();aa.init()}else e.autoSelectionFormula(v)})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),dr(l,d-48,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-bold").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(t){let l=xe.deepCopyFlowData(h.flowdata),o=Yn("bl",1)?0:1;e.updateFormat(l,"bl",o)}),$("#luckysheet-icon-italic").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(){let t=xe.deepCopyFlowData(h.flowdata),n=Yn("it",1)?0:1;e.updateFormat(t,"it",n)}),$("#luckysheet-icon-strikethrough").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(){let t=xe.deepCopyFlowData(h.flowdata),n=Yn("cl",1)?0:1;e.updateFormat(t,"cl",n)}),$("#luckysheet-icon-underline").mousedown(function(t){kl(t),t.stopPropagation()}).click(function(){let t=xe.deepCopyFlowData(h.flowdata),n=Yn("un",1)?0:1;e.updateFormat(t,"un",n)}),$("#luckysheet-icon-conditionformat").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),n=Q().conditionformat;if(l.length==0){let d=[{text:n.highlightCellRules,value:"highlightCellRule",example:"more"},{text:n.itemSelectionRules,value:"projectSelectRule",example:"more"},{text:n.dataBar,value:"dataBar",example:"more"},{text:n.colorGradation,value:"colorGradation",example:"more"},{text:n.icons,value:"icons",example:""},{text:"",value:"split",example:""},{text:n.newRule,value:"newRule",example:""},{text:n.deleteRule,value:"deleteRule",example:"more"},{text:n.manageRules,value:"administerRule",example:""}],f=e.createButtonMenu(d),m=we(e.menu,{id:"conditionformat",item:f,subclass:"",sub:""}),g=[{text:n.greaterThan,value:"greaterThan",example:">"},{text:n.lessThan,value:"lessThan",example:"<"},{text:n.between,value:"betweenness",example:"[]"},{text:n.equal,value:"equal",example:"="},{text:n.textContains,value:"textContains",example:"()"},{text:n.occurrence,value:"occurrenceDate",example:n.yesterday},{text:n.duplicateValue,value:"duplicateValue",example:"##"}],y=e.createButtonMenu(g),v=we(e.menu,{id:"highlightCellRule",item:y,subclass:"luckysheet-menuButton-sub"}),b=[{text:n.top10,value:"top10",example:n.top10},{text:n.top10_percent,value:"top10%",example:n.top10_percent},{text:n.last10,value:"last10",example:n.last10},{text:n.last10_percent,value:"last10%",example:n.last10_percent},{text:n.aboveAverage,value:"AboveAverage",example:n.above},{text:n.belowAverage,value:"SubAverage",example:n.below}],k=e.createButtonMenu(b),x=we(e.menu,{id:"projectSelectRule",item:k,subclass:"luckysheet-menuButton-sub"}),w=`<div id="luckysheet-icon-dataBar-menuButton" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-menuButton luckysheet-menuButton-sub luckysheet-mousedown-cancel" style="width: 126px;padding: 5px;top: 118.5px;left: 1321.48px;display: none;">
<div itemvalue="0" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 0;" title="${n.gradientDataBar_1}"></div>
</div>
<div itemvalue="1" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px 0;" title="${n.gradientDataBar_2}"></div>
</div>
<div itemvalue="2" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px 0;" title="${n.gradientDataBar_3}"></div>
</div>
<div itemvalue="3" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -36px;" title="${n.gradientDataBar_4}"></div>
</div>
<div itemvalue="4" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -36px;" title="${n.gradientDataBar_5}"></div>
</div>
<div itemvalue="5" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -36px;" title="${n.gradientDataBar_6}"></div>
</div>
<div itemvalue="6" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -72px;" title="${n.solidColorDataBar_1}"></div>
</div>
<div itemvalue="7" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -72px;" title="${n.solidColorDataBar_2}"></div>
</div>
<div itemvalue="8" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -72px;" title="${n.solidColorDataBar_3}"></div>
</div>
<div itemvalue="9" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -108px;" title="${n.solidColorDataBar_4}"></div>
</div>
<div itemvalue="10" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -108px;" title="${n.solidColorDataBar_5}"></div>
</div>
<div itemvalue="11" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -108px;" title="${n.solidColorDataBar_6}"></div>
</div>
</div>`,_=`<div id="luckysheet-icon-colorGradation-menuButton" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-menuButton luckysheet-menuButton-sub luckysheet-mousedown-cancel" style="width: 126px;padding: 5px;top: 143.5px;left: 1321.48px;display: none;">
<div itemvalue="0" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 0;" title="${n.colorGradation_1}"></div>
</div>
<div itemvalue="1" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px 0;" title="${n.colorGradation_2}"></div>
</div>
<div itemvalue="2" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px 0;" title="${n.colorGradation_3}"></div>
</div>
<div itemvalue="3" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -114px 0;" title="${n.colorGradation_4}"></div>
</div>
<div itemvalue="4" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -36px;" title="${n.colorGradation_5}"></div>
</div>
<div itemvalue="5" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -36px;" title="${n.colorGradation_6}"></div>
</div>
<div itemvalue="6" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -36px;" title="${n.colorGradation_7}"></div>
</div>
<div itemvalue="7" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -114px -36px;" title="${n.colorGradation_8}"></div>
</div>
<div itemvalue="8" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -72px;" title="${n.colorGradation_9}"></div>
</div>
<div itemvalue="9" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -72px;" title="${n.colorGradation_10}"></div>
</div>
<div itemvalue="10" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -72px;" title="${n.colorGradation_11}"></div>
</div>
<div itemvalue="11" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
<div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -114px -72px;" title="${n.colorGradation_12}"></div>
</div>
</div>`,S=[{text:n.deleteSheetRule,value:"delSheet",example:""}],C=e.createButtonMenu(S),T=we(e.menu,{id:"deleteRule",item:C,subclass:"luckysheet-menuButton-sub"});$("body").append(m+v+x+w+_+T),l=$("#"+t).width(190),$("#luckysheet-icon-highlightCellRule-menuButton").width(160),$("#luckysheet-icon-projectSelectRule-menuButton").width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let R=$(this),I=R.attr("itemvalue");if(I=="icons"){if(h.luckysheet_select_save.length==0){he()?alert(n.pleaseSelectRange):j.info(n.pleaseSelectRange,"");return}$e.CFiconsDialog(),$e.init()}else if(I=="newRule"){if(h.luckysheet_select_save.length==0){he()?alert(n.pleaseSelectRange):j.info(n.pleaseSelectRange,"");return}$e.newConditionRuleDialog(0),$e.init()}else if(I=="administerRule"){let A=re.loadSheetUrl,E=It();if(A!=""&&A!=null){let N=[];for(let D=0;D<E.length;D++)N.push(E[D].index);$.post(A,{gridKey:re.gridKey,index:N.join(",")},function(D){let F=new Function("return "+D)();setTimeout(function(){h.loadingObj.close()},500);for(let M in F){if(M==h.currentSheetIndex)continue;let z=E[Z(M)];z.celldata=F[M.toString()],z.data=ye.buildGridData(z)}Va(E),$e.fileClone=$.extend(!0,[],E),$e.administerRuleDialog(),$e.init()})}else $e.fileClone=$.extend(!0,[],E),$e.administerRuleDialog(),$e.init()}}),$(document).off("click.CFhighlightCellRule").on("click.CFhighlightCellRule","#luckysheet-icon-highlightCellRule-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-highlightCellRule-menuButton").hide(),rt();let R=$(this),I=R.attr("itemvalue");if(h.luckysheet_select_save.length==0){he()?alert(n.pleaseSelectRange):j.info(n.pleaseSelectRange,"");return}else{let A=$e.textCellColorHtml(),E,N;switch(I){case"greaterThan":E=n.conditionformat_greaterThan,N=`<div class="box" data-itemvalue="greaterThan">
<div class="boxTitleOne">${n.conditionformat_greaterThan_title}\uFF1A</div>
<div class="inpbox range">
<input id="conditionVal" class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"lessThan":E=n.conditionformat_lessThan,N=`<div class="box" data-itemvalue="lessThan">
<div class="boxTitleOne">${n.conditionformat_lessThan_title}\uFF1A</div>
<div class="inpbox range">
<input id="conditionVal" class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"betweenness":E=n.conditionformat_betweenness,N=`<div class="box" data-itemvalue="betweenness">
<div class="boxTitleOne">${n.conditionformat_betweenness_title}\uFF1A</div>
<div style="height: 30px;line-height: 30px;">
<div class="inpbox2 range">
<input id="conditionVal" class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
</div>
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.to}</div>
<div class="inpbox2 range">
<input id="conditionVal2" class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
</div>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"equal":E=n.conditionformat_equal,N=`<div class="box" data-itemvalue="equal">
<div class="boxTitleOne">${n.conditionformat_equal_title}\uFF1A</div>
<div class="inpbox range">
<input id="conditionVal" class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"textContains":E=n.conditionformat_textContains,N=`<div class="box" data-itemvalue="textContains">
<div class="boxTitleOne">${n.conditionformat_textContains_title}\uFF1A</div>
<div class="inpbox range">
<input id="conditionVal" class="formulaInputFocus"/>
<i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"occurrenceDate":E=n.conditionformat_occurrenceDate,N=`<div class="box" data-itemvalue="occurrenceDate">
<div class="boxTitleOne">${n.conditionformat_occurrenceDate_title}\uFF1A</div>
<div class="inpbox">
<input id="daterange-btn" class="formulaInputFocus" readonly="readonly" placeholder="${n.pleaseSelectADate}"/>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"duplicateValue":E=n.conditionformat_duplicateValue,N=`<div class="box" data-itemvalue="duplicateValue">
<div class="boxTitleOne">${n.conditionformat_duplicateValue_title}\uFF1A</div>
<select id="conditionVal" class="selectbox">
<option value="0">${n.duplicateValue}</option>
<option value="1">${n.uniqueValue}</option>
</select>
<div style="margin:5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break}$e.conditionformatDialog(E,N)}}),$(document).off("click.CFprojectSelectRule").on("click.CFprojectSelectRule","#luckysheet-icon-projectSelectRule-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-projectSelectRule-menuButton").hide(),rt();let R=$(this),I=R.attr("itemvalue");if(h.luckysheet_select_save.length==0){he()?alert(n.pleaseSelectRange):j.info(n.pleaseSelectRange,"");return}else{let A=$e.textCellColorHtml(),E,N;switch(I){case"top10":E=n.conditionformat_top10,N=`<div class="box" data-itemvalue="top10">
<div class="boxTitleOne">${n.conditionformat_top10_title}\uFF1A</div>
<div style="height: 30px;line-height: 30px;">
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.top}</div>
<div class="inpbox2">
<input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
</div>
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.oneself}</div>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"top10%":E=n.conditionformat_top10_percent,N=`<div class="box" data-itemvalue="top10%">
<div class="boxTitleOne">${n.conditionformat_top10_title}\uFF1A</div>
<div style="height: 30px;line-height: 30px;">
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.top}</div>
<div class="inpbox2">
<input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
</div>
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">%</div>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"last10":E=n.conditionformat_last10,N=`<div class="box" data-itemvalue="last10">
<div class="boxTitleOne">${n.conditionformat_last10_title}\uFF1A</div>
<div style="height: 30px;line-height: 30px;">
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.last}</div>
<div class="inpbox2">
<input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
</div>
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.oneself}</div>
</div>
<div style="margin: 5px 0;">${n.setAs}\uFF1A</div>
${A}
</div>`;break;case"last10%":E=n.conditionformat_last10_percent,N=`<div class="box" data-itemvalue="last10%">
<div class="boxTitleOne">${n.conditionformat_last10_title}\uFF1A</div>
<div style="height: 30px;line-height: 30px;">
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${n.last}</div>
<div class="inpbox2">
<input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
</div>
<div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">%</div>
</div>
<div style="margin:5px 0;">\u8BBE\u7F6E\u4E3A\uFF1A</div>
${A}
</div>`;break;case"AboveAverage":E=n.conditionformat_AboveAverage,N=`<div class="box" data-itemvalue="AboveAverage">
<div class="boxTitleOne">${n.conditionformat_AboveAverage_title}\uFF1A</div>
<div style="margin: 5px 0;">${n.setAsByArea}\uFF1A</div>
${A}
</div>`;break;case"SubAverage":E=n.conditionformat_SubAverage,N=`<div class="box" data-itemvalue="SubAverage">
<div class="boxTitleOne">${n.conditionformat_SubAverage_title}\uFF1A</div>
<div style="margin: 5px 0;">${n.setAsByArea}\uFF1A</div>
${A}
</div>`;break}$e.conditionformatDialog(E,N)}}),$(document).off("click.CFdataBar").on("click.CFdataBar","#luckysheet-icon-dataBar-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-dataBar-menuButton").hide(),rt();let R=$(this),I=R.attr("itemvalue");if(h.luckysheet_select_save.length>0){let A=$.extend(!0,[],h.luckysheet_select_save),E=$e.dataBarList[I].format;$e.updateItem("dataBar",A,E)}}),$(document).off("click.CFcolorGradation").on("click.CFcolorGradation","#luckysheet-icon-colorGradation-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-colorGradation-menuButton").hide(),rt();let R=$(this),I=R.attr("itemvalue");if(h.luckysheet_select_save.length>0){let A=$.extend(!0,[],h.luckysheet_select_save),E=$e.colorGradationList[I].format;$e.updateItem("colorGradation",A,E)}}),$(document).off("click.CFdeleteRule").on("click.CFdeleteRule","#luckysheet-icon-deleteRule-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-deleteRule-menuButton").hide(),rt(),$(this).attr("itemvalue")=="delSheet"&&$e.updateItem("delSheet")})}let o=$(this).outerWidth(),s=l.outerWidth(),u=$(this).offset().left;s>o&&s+u>$("#"+h.container).width()&&(u=u-s+o),dr(l,u,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-postil").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),n=Q().comment;l.remove(),Be.removeActivePs();let o=h.luckysheet_select_save[h.luckysheet_select_save.length-1],s=o.row_focus;s==null&&(s=o.row[0]);let u=o.column_focus;u==null&&(u=o.column[0]);let d;h.flowdata[s][u]!=null&&h.flowdata[s][u].ps!=null?d=[{text:n.edit,value:"editPs",example:""},{text:n.delete,value:"delPs",example:""},{text:"",value:"split",example:""},{text:n.showOne,value:"showHidePs",example:""},{text:n.showAll,value:"showHideAllPs",example:""}]:d=[{text:n.insert,value:"newPs",example:""},{text:"",value:"split",example:""},{text:n.showAll,value:"showHideAllPs",example:""}];let f=e.createButtonMenu(d),m=we(e.menu,{id:"postil",item:f,subclass:"",sub:""});$("body").append(m),l=$("#"+t).width(150),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let b=$(this),k=b.attr("itemvalue");k=="newPs"?Be.newPs(s,u):k=="editPs"?Be.editPs(s,u):k=="delPs"?Be.delPs(s,u):k=="showHidePs"?Be.showHidePs(s,u):k=="showHideAllPs"&&Be.showHideAllPs()});let g=$(this).outerWidth(),y=l.outerWidth(),v=$(this).offset().left;y>g&&y+v>$("#"+h.container).width()&&(v=v-y+g),dr(l,v,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-protection").click(function(){let t=ye.getSheetByIndex();Kd(t)}),$("#luckysheet-icon-print").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().print;if(l.length==0){let f=[{text:o.menuItemPrint,value:"print",example:'<i class="iconfont luckysheet-iconfont-dayin" aria-hidden="true"></i>'},{text:"",value:"split",example:""},{text:o.menuItemAreas,value:"areas",example:'<i class="iconfont luckysheet-iconfont-tihuan" aria-hidden="true"></i>'},{text:o.menuItemRows,value:"rows",example:'<i class="iconfont luckysheet-iconfont-zhuandao1" aria-hidden="true"></i>'},{text:o.menuItemColumns,value:"columns",example:'<i class="iconfont luckysheet-iconfont-dingwei" aria-hidden="true"></i>'}],m=e.createButtonMenu(f),g=we(e.menu,{id:"print",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");v=="print"?alert("print"):(v=="areas"||v=="rows"||v=="columns")&&alert("areas")})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),dr(l,d,$(this).offset().top+25,"lefttop")}),$("body").on("mouseover mouseleave",".luckysheet-menuButton .luckysheet-cols-submenu",function(t){let l=$(this),n=l.attr("itemvalue"),o=$("#luckysheet-icon-"+n+"-menuButton");if(t.type==="mouseover"){let s=l.parent(),u=$(window).width(),d=$(window).height(),f=s.width(),m=o.height()+25,g=o.width()+5,y=l.offset(),v=y.top,b=y.left+f;b+g>u&&(b=y.left-g),v+m>d&&(v=d-m),o.css({top:v,left:b}).show(),e.rightclickmenu=l}else clearTimeout(e.submenuhide[o.attr("id")]),e.submenuhide[o.attr("id")]=setTimeout(function(){o.hide()},200)}).on("mouseover mouseleave",".luckysheet-menuButton-sub",function(t){t.type==="mouseover"?(e.rightclickmenu.addClass("luckysheet-cols-menuitem-hover"),clearTimeout(e.submenuhide[$(this).attr("id")])):(e.rightclickmenu.removeClass("luckysheet-cols-menuitem-hover"),$(this).hide())})},getQKBorder:function(e,a,t){let l="";e.indexOf("pt")>-1?(e=parseFloat(e),e<1||(e<1.5?l="Medium":l="Thick")):(e=parseFloat(e),e<2||(e<3?l="Medium":l="Thick"));let n=0;return a=a.toLowerCase(),a=="double"?n=2:a=="dotted"?l=="Medium"||l=="Thick"?n=3:n=10:a=="dashed"?l=="Medium"||l=="Thick"?n=4:n=9:a=="solid"&&(l=="Medium"?n=8:l=="Thick"?n=13:n=1),[n,t]},updateFormatCell:function(e,a,t,l,n,o,s){if(!(e==null||a==null))if(a=="ct"){for(let u=l;u<=n;u++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[u]!=null))for(let d=o;d<=s;d++){let f=e[u][d],m=null;P(f)=="object"?m=e[u][d].v:m=e[u][d],t!="@"&&L(m)&&(m=parseFloat(m));let g=mt(t,m),y="n";Pd(t)||t===14||t===15||t===16||t===17||t===18||t===19||t===20||t===21||t===22||t===45||t===46||t===47?y="d":t=="@"||t===49?y="s":(t=="General"||t===0)&&(y=L(m)?"n":"g"),P(f)=="object"?(e[u][d].m=g,e[u][d].ct==null&&(e[u][d].ct={}),e[u][d].ct.fa=t,e[u][d].ct.t=y):e[u][d]={ct:{fa:t,t:y},v:m,m:g}}}else{a=="ht"?t=="left"?t="1":t=="center"?t="0":t=="right"&&(t="2"):a=="vt"?t=="top"?t="1":t=="middle"?t="0":t=="bottom"&&(t="2"):a=="tb"?t=="overflow"?t="1":t=="clip"?t="0":t=="wrap"&&(t="2"):a=="tr"&&(t=="none"?t="0":t=="angleup"?t="1":t=="angledown"?t="2":t=="vertical"?t="3":t=="rotation-up"?t="4":t=="rotation-down"&&(t="5"));for(let u=l;u<=n;u++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[u]!=null))for(let d=o;d<=s;d++){let f=e[u][d];P(f)=="object"?(Sd(f,a,t),e[u][d][a]=t):(e[u][d]={v:f},e[u][d][a]=t)}}},updateFormat:function(e,a,t){let l=this;if(!Tl(h.currentSheetIndex)||h.allowEdit===!1)return;let o=document.createElement("canvas").getContext("2d");if(a in wd&&parseInt($("#luckysheet-input-box").css("top"))>0&&$("#luckysheet-input-box").text().substr(0,1)!="="){let f=e[h.luckysheetCellUpdate[0]][h.luckysheetCellUpdate[1]];Cd(f,a,t,p.rangeResizeTo)}let s=$.extend(!0,{},h.config);s.rowlen==null&&(s.rowlen={});for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d].row[0],m=h.luckysheet_select_save[d].row[1],g=h.luckysheet_select_save[d].column[0],y=h.luckysheet_select_save[d].column[1];this.updateFormatCell(e,a,t,f,m,g,y),(a=="tb"||a=="tr"||a=="fs")&&(s=mr(e,f,m,s))}let u={};(a=="tb"||a=="tr"||a=="fs")&&(u={cfg:s,RowlChange:!0}),Ze(e,h.luckysheet_select_save,u,!1)},updateFormat_mc:function(e,a){let t=$.extend(!0,{},h.config);if(t.merge==null&&(t.merge={}),!!Bl(h.currentSheetIndex)){if(a=="mergeCancel")for(let l=0;l<h.luckysheet_select_save.length;l++){let n=h.luckysheet_select_save[l],o=n.row[0],s=n.row[1],u=n.column[0],d=n.column[1];if(o==s&&u==d)continue;let f={};for(let m=o;m<=s;m++)for(let g=u;g<=d;g++){let y=e[m][g];if(y!=null&&y.mc!=null){let v=y.mc.r,b=y.mc.c;if("rs"in y.mc)delete y.mc,delete t.merge[v+"_"+b],f[v+"_"+b]=$.extend(!0,{},y);else{let k=JSON.parse(JSON.stringify(f[v+"_"+b]));delete k.v,delete k.m,delete k.ct,delete k.f,delete k.spl,e[m][g]=k}}}}else{let l=!1;for(let n=0;n<h.luckysheet_select_save.length;n++){let o=h.luckysheet_select_save[n],s=o.row[0],u=o.row[1],d=o.column[0],f=o.column[1];for(let m=s;m<=u;m++)for(let g=d;g<=f;g++){let y=e[m][g];if(P(y)=="object"&&"mc"in y){l=!0;break}}}if(l)for(let n=0;n<h.luckysheet_select_save.length;n++){let o=h.luckysheet_select_save[n],s=o.row[0],u=o.row[1],d=o.column[0],f=o.column[1];if(s==u&&d==f)continue;let m={};for(let g=s;g<=u;g++)for(let y=d;y<=f;y++){let v=e[g][y];if(v!=null&&v.mc!=null){let b=v.mc.r,k=v.mc.c;if("rs"in v.mc)delete v.mc,delete t.merge[b+"_"+k],m[b+"_"+k]=$.extend(!0,{},v);else{let x=JSON.parse(JSON.stringify(m[b+"_"+k]));delete x.v,delete x.m,delete x.ct,delete x.f,delete x.spl,e[g][y]=x}}}}else for(let n=0;n<h.luckysheet_select_save.length;n++){let o=h.luckysheet_select_save[n],s=o.row[0],u=o.row[1],d=o.column[0],f=o.column[1];if(!(s==u&&d==f)){if(a=="mergeAll"){let m={},g=!1;for(let y=s;y<=u;y++)for(let v=d;v<=f;v++){let b=e[y][v];b!=null&&(!de(b.v)||b.f!=null)&&!g&&(m=$.extend(!0,{},b),g=!0),e[y][v]={mc:{r:s,c:d}}}e[s][d]=m,e[s][d].mc={r:s,c:d,rs:u-s+1,cs:f-d+1},t.merge[s+"_"+d]={r:s,c:d,rs:u-s+1,cs:f-d+1}}else if(a=="mergeV")for(let m=d;m<=f;m++){let g={},y=!1;for(let v=s;v<=u;v++){let b=e[v][m];b!=null&&(!de(b.v)||b.f!=null)&&!y&&(g=$.extend(!0,{},b),y=!0),e[v][m]={mc:{r:s,c:m}}}e[s][m]=g,e[s][m].mc={r:s,c:m,rs:u-s+1,cs:1},t.merge[s+"_"+m]={r:s,c:m,rs:u-s+1,cs:1}}else if(a=="mergeH")for(let m=s;m<=u;m++){let g={},y=!1;for(let v=d;v<=f;v++){let b=e[m][v];b!=null&&(!de(b.v)||b.f!=null)&&!y&&(g=$.extend(!0,{},b),y=!0),e[m][v]={mc:{r:m,c:d}}}e[m][d]=g,e[m][d].mc={r:m,c:d,rs:1,cs:f-d+1},t.merge[m+"_"+d]={r:m,c:d,rs:1,cs:f-d+1}}}}}h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"mergeChange",sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:e,range:$.extend(!0,[],h.luckysheet_select_save),config:$.extend(!0,{},h.config),curConfig:t})),h.clearjfundo=!1,Ze(e,h.luckysheet_select_save,{cfg:t}),h.clearjfundo=!0}},borderfix:function(e,a,t){let l=e[a][t],n=null;return l==null?[-1,0,0,-1]:e[a][t].bg==null||e[a][t].bg==""?[-1,0,0,-1]:[-2,-1,1,0]},changeMenuButtonDom:function(e,a,t){let l=this;t==null&&(t=Q());let n=t.fontarray,o=t.fontjson;if(e=="bl")a!="0"?$("#luckysheet-icon-bold").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-bold").removeClass("luckysheet-toolbar-button-hover");else if(e=="it")a!="0"?$("#luckysheet-icon-italic").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-italic").removeClass("luckysheet-toolbar-button-hover");else if(e=="cl")a!="0"?$("#luckysheet-icon-strikethrough").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-strikethrough").removeClass("luckysheet-toolbar-button-hover");else if(e=="un")a!="0"?$("#luckysheet-icon-underline").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-underline").removeClass("luckysheet-toolbar-button-hover");else if(e=="ff"){let s="luckysheet-icon-font-family-menuButton",u=$("#"+s),d=n[0],f=0;a!=null&&(qa(a).num?(f=parseInt(a),d=n[f],d==null&&(f=l.defualtFont[f],d=f,f!=null&&l.addFontTolist(f))):(a=a.replace(/"/g,"").replace(/'/g,""),f=a,d=a,l.addFontTolist(f))),l.focus(u,f),$("#luckysheet-icon-font-family").find(".luckysheet-toolbar-menu-button-caption").html(" "+d+" ")}else if(e=="fs"){let s=$("#luckysheet-icon-font-size-menuButton"),u=a,d=$("#luckysheet-icon-font-size input");l.focus(s,u),$("#luckysheet-icon-font-size").attr("itemvalue",u),d.val(u)}else if(e=="ht"){let s=$("#luckysheet-icon-align-menu-menuButton"),u=$("luckysheet-icon-align"),d="left";a=="0"?d="center":a=="2"&&(d="right"),l.focus(s,d);let f=Wl.align;$("#luckysheet-icon-align").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-"+d+f[d]),s.hide()}else if(e=="vt"){let s=$("#luckysheet-icon-valign-menu-menuButton"),u=$("luckysheet-icon-valign"),d="bottom";a=="1"?d="top":a=="0"&&(d="middle"),l.focus(s,d);let f=Wl.align;$("#luckysheet-icon-valign").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-"+d+f[d]),s.hide()}else if(e=="tb"){let s=$("#luckysheet-icon-textwrap-menu-menuButton"),u=$("luckysheet-icon-textwrap"),d="clip";a=="1"?d="overflow":a=="2"&&(d="wrap"),l.focus(s,d);let f=Wl.textWrap;$("#luckysheet-icon-textwrap").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-"+d+f[d]),s.hide()}else if(e=="tr"){let s=$("#luckysheet-icon-rotation-menu-menuButton"),u=$("luckysheet-icon-rotation"),d="none";a=="1"?d="angleup":a=="2"?d="angledown":a=="3"?d="vertical":a=="4"?d="rotation-up":a=="5"&&(d="rotation-down"),l.focus(s,d);let f=Wl.rotation;$("#luckysheet-icon-rotation").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-"+d+f[d]),s.hide()}else if(e=="ct"){let s=$("#luckysheet-icon-fmt-other"),d=Q().defaultFmt;if(!a){s.find(".luckysheet-toolbar-menu-button-caption").html(" "+d[0].text+" ");return}let{fa:f}=a,m=d.find(g=>g.value===f);if(m)s.find(".luckysheet-toolbar-menu-button-caption").html(" "+m.text+" ");else{let g=d.find(y=>y.value==="fmtOtherSelf");s.find(".luckysheet-toolbar-menu-button-caption").html(" "+g.text+" ")}}},inputMenuButtonFocus:function(e){var a=window.getSelection(),t=a.getRangeAt(0);let l=t.startContainer;h.inlineStringEditRange=null;let n=Q();if(l.parentNode.tagName=="SPAN"){let o=l.parentNode.style.cssText,s=Rs(o);for(let u in s)this.changeMenuButtonDom(u,s[u],n)}},menuButtonFocus:function(e,a,t){let l=this,n=["bl","it","cl","ff","ht","vt","fs","tb","tr","ct","un"],o=Q();for(let s=0;s<n.length;s++){let u=n[s],d=l.checkstatus(e,a,t,u);this.changeMenuButtonDom(u,d,o)}},checkstatus:function(e,a,t,l){if(e==null||e[a]==null)return console.warn("It's incorrect data",a,t),null;let n=e[a][t];return xl(n,l)},setLineDash:function(e,a,t,l,n,o,s){a={"0":"none","1":"Thin","2":"Hair","3":"Dotted","4":"Dashed","5":"DashDot","6":"DashDotDot","7":"Double","8":"Medium","9":"MediumDashed","10":"MediumDashDot","11":"MediumDashDotDot","12":"SlantedDashDot","13":"Thick"}[a.toString()];try{a=="Hair"?e.setLineDash([1,2]):a.indexOf("DashDotDot")>-1?e.setLineDash([2,2,5,2,2]):a.indexOf("DashDot")>-1?e.setLineDash([2,5,2]):a.indexOf("Dotted")>-1?e.setLineDash([2]):a.indexOf("Dashed")>-1?e.setLineDash([3]):e.setLineDash([0])}catch(d){console.log(d)}e.beginPath(),a.indexOf("Medium")>-1?(t=="h"?(e.moveTo(l,n-.5),e.lineTo(o,s-.5)):(e.moveTo(l-.5,n),e.lineTo(o-.5,s)),e.lineWidth=2):a=="Thick"?(e.moveTo(l,n),e.lineTo(o,s),e.lineWidth=3):(e.moveTo(l,n),e.lineTo(o,s),e.lineWidth=1)},moveMergeData:function(e,a,t){if(de(e))return e;let l=[],n=[],o=!1;for(let s=0;s<e.length;s++)for(let u=0;u<e[0].length;u++){let d=e[s][u];P(d)=="object"&&"mc"in d&&(d.mc.rs!=null&&(l.push({rs:d.mc.rs,cs:d.mc.cs,r:d.mc.r,c:d.mc.c}),n.push({rs:d.mc.rs,cs:d.mc.cs,r:d.mc.r+a,c:d.mc.c+t}),o=!0),e[s][u].mc.r+=a,e[s][u].mc.c+=t)}return{deleMC:l,insertMC:n,hasMC:o}},getRangeInMerge:function(e,a,t,l,n){let o=this,s=[],u=null;if(n!=null?u=$.extend(!0,{},o.getSheetConfig()):u=$.extend(!0,{},h.config),u!=null&&u.merge!=null)for(let d in u.merge){let f=u.merge[d];!(e+a-1<f.r||e>f.r+f.rs-1)&&!(t+l-1<f.c||t>f.c+f.cs-1)&&s.push(f)}return s},mergeborer:function(e,a,t){if(e==null||e[a]==null)return console.warn("Merge info is null",a,t),null;let l=e[a][t];if(P(l)=="object"&&"mc"in l){let n=l.mc;if(n==null)return console.warn("Merge info is null",a,t),null;if(t=n.c,a=n.r,e[a][t]==null)return console.warn("Main merge Cell info is null",a,t),null;let o=e[a][t].mc.cs,s=e[a][t].mc.rs,u=e[a][t].mc,d,f,m,g;for(let x=a;x<u.rs+a;x++)x==0?d=-1:d=h.visibledatarow[x-1]-1,f=h.visibledatarow[x],g==null?(g=d,m=f):m+=f-d-1;let y,v,b,k;for(let x=t;x<u.cs+t;x++)x==0?y=0:y=h.visibledatacolumn[x-1],v=h.visibledatacolumn[x],k==null?(k=y,b=v):b+=v-y;return{row:[g,m,a,a+s-1],column:[k,b,t,t+o-1]}}else return null},mergeMoveData:{},mergeMoveMain:function(e,a,t,l,n,o,s){let u=this,d=ye.getSheetMerge();if(d==null)return;let f=[];for(let g in d)f.push(g);a[0]>a[1]&&(a[1]=a[0]),e[0]>e[1]&&(e[1]=e[0]);let m=!0;for(u.mergeMoveData={};m;){m=!1;for(let g=0;g<f.length;g++){let y=f[g],v=d[y];if(y in u.mergeMoveData)continue;let b=u.mergeMove(v,e,a,t,l,n,o,s);b!=null?(u.mergeMoveData[y]=v,e=b[0],a=b[1],l=b[2],n=b[3],o=b[4],s=b[5],m=!0):delete u.mergeMoveData[y]}}return[e,a,l,n,o,s]},mergeMove:function(e,a,t,l,n,o,s,u){let d=this,f=e.r,m=e.r+e.rs-1,g=e.c,y=e.c+e.cs-1,v=!1;if(a[1]<a[0]&&(a[0]=a[1]),t[1]<t[0]&&(t[0]=t[1]),a[0]<=g&&a[1]>=y&&t[0]<=f&&t[1]>=m||!(a[1]<g||a[0]>y)&&!(t[1]<f||t[0]>m)){let b=d.mergeborer(h.flowdata,e.r,e.c);if(b){let k=b.row[1],x=b.row[0],w=b.row[2],_=b.column[1],S=b.column[0],C=b.column[2];a[1]<g||a[0]>y||(t[0]<=m&&t[0]>=f&&(o+=n-x,n=x,t[0]=f),t[1]>=f&&t[1]<=m&&(l.row_focus>=f&&l.row_focus<=m,o=k-n,t[1]=m)),t[1]<f||t[0]>m||(a[0]<=y&&a[0]>=g&&(u+=s-S,s=S,a[0]=g),a[1]>=g&&a[1]<=y&&(l.column_focus>=g&&l.column_focus<=y,u=_-s,a[1]=y)),v=!0}}return v?[a,t,n,o,s,u]:null},getCellRealSize:function(e,a,t){let l=this,n=h.defaultcollen,o=h.defaultrowlen,s=e[a][t];if(!!s&&s.mc!=null){let u=s.mc,d=l.mergeborer(e,u.r,u.c);if(d){let f=d.row[1],m=d.row[0],g=d.row[2],y=d.row[3],v=d.column[1],b=d.column[0],k=d.column[2],x=d.column[3];n=v-b-1,o=f-m-1}}else{let u=It()[Z(h.currentSheetIndex)].config;u.columnlen!=null&&u.columnlen[t]!=null&&(n=u.columnlen[t]),u.rowlen!=null&&u.rowlen[a]!=null&&(o=u.rowlen[a])}return[n,o]},getTextHeightCache:{},getTextSize:function(e,a){let t=Q().fontarray,l=a||"10pt "+t[0],n=this;if(l in n.getTextHeightCache)return n.getTextHeightCache[l];$("#luckysheetTextSizeTest").length==0&&$('<span id="luckysheetTextSizeTest" style="float:left;white-space:nowrap;visibility:hidden;margin:0;padding:0;">'+e+"</span>").appendTo($("body"));let o=$("#luckysheetTextSizeTest").text(e).css({font:l}),s=o.innerWidth(),u=o.innerHeight();return n.getTextHeightCache[l]=[s,u],[s,u]},activeFormulaInput:function(e,a,t,l,n,o){let s=this;if(o==null&&(o=!1),Ar(e,a,h.flowdata,!0),o){let y='<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">'+n.toUpperCase()+'</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span dir="auto" class="luckysheet-formula-text-color">)</span>';$("#luckysheet-rich-text-editor").html(y);let v=window.getSelection(),b=$("#luckysheet-rich-text-editor").find("span");p.setCaretPosition(b.get(b.length-2),0,1);return}let u=Qt(t[0])[0],d=Qt(t[1])[1],f=$t(l[0])[0],m=$t(l[1])[1],g='<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">'+n.toUpperCase()+'</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span class="luckysheet-formula-functionrange-cell" rangeindex="0" dir="auto" style="color:'+Vr[0]+';">'+kt(h.currentSheetIndex,{row:t,column:l},h.currentSheetIndex)+'</span><span dir="auto" class="luckysheet-formula-text-color">)</span>';$("#luckysheet-rich-text-editor").html(g),p.israngeseleciton(),p.rangestart=!0,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,p.rangechangeindex=0,p.rangeSetValue({row:t,column:l}),p.func_selectedrange={left:f,width:m-f-1,top:u,height:d-u-1,left_move:f,width_move:m-f-1,top_move:u,height_move:d-u-1,row:[e,e],column:[a,a]},$("#luckysheet-formula-functionrange-select").css({left:f,width:m-f-1,top:u,height:d-u-1}).show(),$("#luckysheet-formula-help-c").hide()},backFormulaInput:function(e,a,t,l,n,o){let s=this,u="="+o.toUpperCase()+"("+kt(h.currentSheetIndex,{row:l,column:n},h.currentSheetIndex)+")",d=p.execfunction(u,a,t),f={v:d[1],f:d[2]};Ot(a,t,e,f),p.execFunctionExist.push({r:a,c:t,i:h.currentSheetIndex}),re.historyParam(e,h.currentSheetIndex,{row:[a,a],column:[t,t]})},checkNoNullValue:function(e){let a=e;return P(a)=="object"&&(a=a.v),!!(!de(a)&&qa(a).num&&(e.ct==null||e.ct.t==null||e.ct.t=="n"||e.ct.t=="g"))},checkNoNullValueAll:function(e){let a=e;return P(a)=="object"&&(a=a.v),!de(a)},getNoNullValue:function(e,a,t,l){let n=this,o=0,s=null,u=0,d=0;for(let f=t-1;f>=0;f--){let m;if(l=="c"?m=e[a][f]:m=e[f][a],n.checkNoNullValue(m))o++,s=f;else if(m==null||m.v==null||m.v==""){if(u++,u>=40)if(d<=0)d=1;else break}else break}return s},singleFormulaInput:function(e,a,t,l,n,o,s,u,d){let f=this;s==null&&(s="r"),u==null&&(u=!0),d==null&&(d=!0);let m=!0,g=!1;for(let y=l;y<=n;y++){let v=null;s=="c"?v=e[y][t]:v=e[t][y],f.checkNoNullValue(v)?(m=!1,g=!0):f.checkNoNullValueAll(v)&&(m=!1)}if(m&&d)if(f.getNoNullValue(e,a,t,s)==null)s=="c"?f.activeFormulaInput(a,t,null,null,o,!0):f.activeFormulaInput(t,a,null,null,o,!0);else if(a==l)for(let v=l;v<=n;v++){let b=f.getNoNullValue(e,v,t,s);if(b==null)break;s=="c"?f.backFormulaInput(e,v,t,[v,v],[b,t-1],o):f.backFormulaInput(e,t,v,[b,t-1],[v,v],o)}else for(let v=n;v>=l;v--){let b=f.getNoNullValue(e,v,t,s);if(b==null)break;s=="c"?f.backFormulaInput(e,v,t,[v,v],[b,t-1],o):f.backFormulaInput(e,t,v,[b,t-1],[v,v],o)}else if(g&&u){let y=null;if(s=="c"?y=e[n+1][t]:y=e[t][n+1],y!=null&&y.v!=null&&y.v.toString().length>0){let v=n+1;for(s=="c"?y=e[n+1][t]:y=e[t][n+1];y!=null&&y.v!=null&&y.v.toString().length>0;){v++;let b=null;if(s=="c"?b=e.length:b=e[0].length,v>=b)return;s=="c"?y=e[v][t]:y=e[t][v]}s=="c"?f.backFormulaInput(e,v,t,[l,n],[t,t],o):f.backFormulaInput(e,t,v,[t,t],[l,n],o)}else s=="c"?f.backFormulaInput(e,n+1,t,[l,n],[t,t],o):f.backFormulaInput(e,t,n+1,[t,t],[l,n],o)}else return!0},autoSelectionFormula:function(e){let a=this,t=xe.deepCopyFlowData(h.flowdata),l=40,n=!0;p.execFunctionExist=[];let o=function(u,d,f,m,g,y){let v=a.getNoNullValue(u,d,g,"c");v==null?a.activeFormulaInput(d,m,null,null,y,!0):a.activeFormulaInput(d,m,[d,f],[v,g-1],y)},s=function(u,d,f,m,g,y){let v=a.getNoNullValue(u,m,f,"r");v==null?o(u,d,f,m,g,y):a.activeFormulaInput(d,m,[v,f-1],[m,g],y)};for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1],y=h.luckysheet_select_save[u].row_focus,v=h.luckysheet_select_save[u].column_focus;if(d==f&&m==g){if(f-1<0&&g-1<0){a.activeFormulaInput(d,m,null,null,e,!0);return}f-1>=0&&a.checkNoNullValue(t[f-1][m])?s(t,d,f,m,g,e):g-1>=0&&a.checkNoNullValue(t[d][g-1])?o(t,d,f,m,g,e):s(t,d,f,m,g,e)}else if(d==f)n=a.singleFormulaInput(t,v,d,m,g,e,"r");else if(m==g)n=a.singleFormulaInput(t,y,m,d,f,e,"c");else{let b=!0;for(let x=d;x<=f;x++)b=a.singleFormulaInput(t,v,x,m,g,e,"r",!0,!1)&&b;let k=!0;for(let x=m;x<=g;x++)k=a.singleFormulaInput(t,y,x,d,f,e,"c",!0,!1)&&k;n=!!b&&!!k}n=n&&n}n||(p.execFunctionExist.reverse(),p.execFunctionGroup(null,null,null,null,t),Ze(t,h.luckysheet_select_save),clearTimeout(h.jfcountfuncTimeout),h.jfcountfuncTimeout=setTimeout(function(){br()},500))},getStyleByCell:function(e,a,t){let l=this,n="",o=Jt.getComputeMap(),s=Jt.checksAF(a,t,o),u=$e.getComputeMap(),d=$e.checksCF(a,t,u),f=Q().fontarray,m=e[a][t],g=m.ct,y=!1;wr(m)&&(y=!0);for(let v in m){let b=l.checkstatus(e,a,t,v);(s!=null||d!=null&&d.cellColor!=null)&&(d!=null&&d.cellColor!=null?n+="background: "+d.cellColor+";":s!=null&&(n+="background: "+s[1]+";")),P(b)!="object"&&((v=="bg"||s!=null||d!=null&&d.cellColor!=null)&&(d!=null&&d.cellColor!=null?n+="background: "+d.cellColor+";":s!=null?n+="background: "+s[1]+";":n+="background: "+b+";"),v=="ht"&&b!="1"&&(b=="0"?n+="text-align: center;":b=="2"&&(n+="text-align: right;")),v=="vt"&&b!="1"&&(b=="0"?n+="align-items: center;":b=="2"&&(n+="align-items: flex-end;")))}return y||(n+=$n(m,s,d)),n},fontSelectList:[],defualtFont:["Times New Roman","Arial","Tahoma","Verdana","\u5FAE\u8F6F\u96C5\u9ED1","\u5B8B\u4F53","\u9ED1\u4F53","\u6977\u4F53","\u4EFF\u5B8B","\u65B0\u5B8B\u4F53","\u534E\u6587\u65B0\u9B4F","\u534E\u6587\u884C\u6977","\u534E\u6587\u96B6\u4E66"],addFontTolist:function(e){e=e.replace(/"/g,"").replace(/'/g,"");let a=!0;for(let n=0;n<this.fontSelectList.length;n++)if(this.fontSelectList[n].value==e){a=!1;break}let l=Q().fontjson;if(e in l&&(a=!1),a){let n={};n.value=e,n.index=this.fontSelectList.length,n.type="userDefined",n.text="<span class='luckysheet-mousedown-cancel' style='font-size:11px;font-family:"+e+"'>"+e+"</span>",n.example="",this.fontSelectList.push(n);let o=$("#luckysheet-icon-font-family-menuButton"),s=this.createButtonMenu(this.fontSelectList);o.html(s)}},fontInitial:function(e){let a=[],t=Q().fontarray;for(let l=0;l<t.length;l++){let n=t[l],o={};o.value=n,o.index=l,o.type="inner",o.text="<span class='luckysheet-mousedown-cancel' style='font-size:11px;font-family:"+n+"'>"+n+"</span>",o.example="",a.push(o)}if(e!=null){for(let l=0;l<e.length;l++){let n=e[l],o={};if(o.value=n.fontName,o.index=l,o.type="userDefined",o.text="<span class='luckysheet-mousedown-cancel' style='font-size:11px;font-family:"+n.fontName+"'>"+n.fontName+"</span>",o.example="",a.push(o),document.fonts&&!document.fonts.check("12px "+n.fontName)&&n.url){let s=new FontFace(n.fontName,`url(${n.url})`);document.fonts.add(s),s.load()}}document.fonts&&document.fonts.ready.then(function(){})}this.fontSelectList=a}},be=X0});function Oc(e,a){let t={};for(let l in e)t[l]=e[l];for(let l in a)a[l]!=null&&(t[l]=a[l]);return t}function we(e,a){return e.replace(/\$\{([\w]+)\}/g,function(t,l){let n=a[l];return typeof n!="undefined"?n:t})}function P(e){return{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[Object.prototype.toString.call(e)]}function Bo(e){let a=new Date,t=a.getFullYear(),l=a.getMonth(),n=a.getDate(),o=a.getDay(),s=a.getHours(),u=a.getMinutes(),d=a.getSeconds();l=l+1,l<10&&(l="0"+l),n<10&&(n="0"+n),s<10&&(s="0"+s),u<10&&(u="0"+u),d<10&&(d="0"+d);let f="";return e==1?f=t+"-"+l+"-"+n:e==2&&(f=t+"-"+l+"-"+n+" "+s+":"+u+":"+d),f}function Da(e){let a;e.indexOf("rgba")>-1?a=e.replace("rgba(","").replace(")","").split(","):a=e.replace("rgb(","").replace(")","").split(",");let t=parseInt(a[0]),l=parseInt(a[1]),n=parseInt(a[2]);return"#"+((1<<24)+(t<<16)+(l<<8)+n).toString(16).slice(1)}function cr(e){if(e==null||e.length==0)return NaN;for(var a=e.toLowerCase().split(""),t=0,l=a.length,n=function(d){return d.charCodeAt()-96},o=0,s=0,u=0;u<l;u++)s=n(a[u]),o+=s*Math.pow(26,l-u-1);return o==0?NaN:o-1}function tt(e){for(var a="a".charCodeAt(0),t="z".charCodeAt(0),l=t-a+1,n="";e>=0;)n=String.fromCharCode(e%l+a)+n,e=Math.floor(e/l)-1;return n.toUpperCase()}function cn(e,a){if(a===0)return"";if(e==null)return 0;let t=0;for(let l=0;l<e.length;l++)if(e.charAt(l).match(/[^\x00-\xff]/ig)!=null?t+=2:t+=1,L(a)&&t===~~a)return e.substring(0,l);return t}function Bc(e){let a=[],t={};if(e.length>0)for(let l=0;l<e.length;l++){let n=e[l];t[n]||(a.push(n),t[n]=1)}return a}function Ja(e){let a=Q().fontarray;if(P(e)=="object"){let t="";if(e.it=="0"||e.it==null?t+="normal ":t+="italic ",t+="normal ",e.bl=="0"||e.bl==null?t+="normal ":t+="bold ",e.fs?t+=Math.ceil(e.fs)+"pt ":t+=h.defaultFontSize+"pt ",!e.ff)t+=a[0]+', "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif';else{let l=null,n=Q().fontjson;qa(e.ff).num?l=a[parseInt(e.ff)]:(l=e.ff,l=l.replace(/"/g,"").replace(/'/g,""),l.indexOf(" ")>-1&&(l='"'+l+'"'),l!=null&&document.fonts&&!document.fonts.check("12px "+l)&&be.addFontTolist(l)),l==null&&(l=a[0]),t+=l+', "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif'}return t}else return Ha()}function ra(e,a,t){let l=$(window).height(),n=$(window).width(),o=e.width(),s=e.height(),u=t,d=a;a+o>n&&(d=a-o),t+s>l&&(u=t-s),u<0&&(u=0),e.css({top:u,left:d}).show()}function Il(){h.fullscreenmode&&setTimeout(function(){$("#luckysheet-rich-text-editor").focus().select()},50)}function rt(){$("#"+h.container).attr("tabindex",0).focus()}function Sr(e,a){if(e==null||isNaN(parseFloat(e))||xa(e)||e==-Infinity||e==Infinity)return null;let t=6,l=!1;a==null||a=="auto"?e<1?t=6:t=1:Jr(a)=="num"?(t=parseInt(a),l=!0):t=6;let n="",o=null;for(let s=0;s<t;s++)n+="0";return l||(n="["+n+"]"),e>=1e21?o=parseFloat((0,Oo.default)(e).value()):o=parseFloat((0,Oo.default)(e).format("0."+n)),o}function Zs(e){if(e!=null&&!isNaN(parseFloat(e))&&!xa(e)){let t=(0,Oo.default)(e).value().toString().split(".");return t.length==1?t=0:t=t[1].length,t}else return null}function dr(e,a,t,l){let n=$(window).height(),o=$(window).width(),s=e.width(),u=e.height(),d=t,f=a;l==null&&(l="lefttop"),l=="lefttop"?e.css({top:t,left:a}).show():l=="righttop"?e.css({top:t,left:a-s}).show():l=="leftbottom"?e.css({bottom:n-t-12,left:a}).show():l=="rightbottom"&&e.css({bottom:n-t-12,left:a-s}).show()}function We(e,a){a=a||document;var t=a.querySelectorAll(e);return t.length==1?Array.prototype.slice.call(t)[0]:Array.prototype.slice.call(t)}function Co(e,a,t){if(typeof e!="object")var e=[e];var l=document.getElementsByTagName("head")[0]||document.documentElement,n=[],o=e.length-1,s=function(u){if(n[u]=document.createElement("script"),n[u].setAttribute("type","text/javascript"),n[u].onload=n[u].onreadystatechange=function(){this.onload=this.onreadystatechange=null,this.parentNode.removeChild(this),u!==o?s(u+1):typeof t=="function"&&t()},n[u].setAttribute("src",e[u]),typeof a=="object")for(var d in a)n[u].setAttribute(d,a[d]);l.appendChild(n[u])};s(0)}function K0(e){var a=document,t=a.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e);var l=a.getElementsByTagName("head");l.length?l[0].appendChild(t):a.documentElement.appendChild(t)}function To(e){typeof e!="object"&&(e=[e]),e.length&&e.forEach(a=>{K0(a)})}function Jd(e){if(e==null||e.length==0)return null;let a=e.split(","),t="";for(let l=0;l<a.length;l++){let o=a[l].split("!"),s="",u="";o.length>1?(s=o[0],u=o[1]):u=o[0];let d=u.split(":"),f="";for(let m=0;m<d.length;m++){let g=d[m],y=g.replace(/[^0-9]/g,""),v=g.replace(/[^A-Za-z]/g,""),b="";v!=""&&(b+="$"+v),y!=""&&(b+="$"+y),f+=b+":"}f=f.substr(0,f.length-1),t+=s+f+","}return t.substr(0,t.length-1)}function an(e,a=!0){let t=$("#"+e).find(".luckysheet-modal-dialog-content").css("min-width",300).end(),l=t.outerHeight(),n=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();t.css({left:(o+u-n)/2,top:(s+d-l)/3}).show(),a&&$("#luckysheet-modal-dialog-mask").show()}function Z0(e,a,t,l){e[a]=new Proxy(t,{set(n,o,s,u){return setTimeout(()=>{l(n,o,s,u)},0),Reflect.set(n,o,s,u)}})}function J0(e,a,t,l){Object.defineProperty(e,a,{enumerable:!0,configurable:!1,get(){return t},set(n){t!==n&&(console.log(`\u53D1\u73B0 ${a} \u5C5E\u6027 ${t} -> ${n}`),setTimeout(()=>{l(t,n)},0),t=n)}})}function So(e,a){e.some((t,l,n)=>{if(t===a)return n.splice(l,1),t===a})}function wa(e){return e.replace(/([A-Z])/g,function(a,t){return"-"+t.toLowerCase()})}var Oo,Hc,dt=Ae(()=>{jt();lr();Nl();At();Ke();bt();Oo=Er(Qa());Hc=(e,a,t)=>{if(!e.hasOwnProperty(a)){console.info("No %s in data",a);return}P(e)==="object"&&(P(e[a])==="object"||P(e[a])==="array"?Z0(e,a,e[a],t):J0(e,a,e[a],t))}});function Vc(){h.cellMainSrollBarSize=0;let e=!1,a={},t=!1,l=null;$(document).on("touchstart","#luckysheet-grid-window-1",function(n){clearInterval(l),e=!0;let o=n.originalEvent.targetTouches[0];a={x:o.pageX,y:o.pageY,vy:0,moveType:"y"}}),$(document).on("touchmove","#luckysheet-grid-window-1",function(n){if(n.originalEvent.targetTouches.length>1||n.scale&&n.scale!==1)return;let o=n.originalEvent.targetTouches[0];if(e){let s=o.pageX-a.x,u=o.pageY-a.y;a.x=o.pageX,a.y=o.pageY;let d=$("#luckysheet-scrollbar-x").scrollLeft(),f=$("#luckysheet-scrollbar-y").scrollTop();d-=s,f-=u,d<0&&(d=0),f<0&&(f=0),$("#luckysheet-scrollbar-y").scrollTop(f),a.vy_y=u,a.scrollTop=f,$("#luckysheet-scrollbar-x").scrollLeft(d),a.vy_x=s,a.scrollLeft=d}else if(t){let s=at(o.pageX,o.pageY),u=s[0]+$("#luckysheet-cell-main").scrollLeft(),d=s[1]+$("#luckysheet-cell-main").scrollTop(),f=xt(d),m=f[1],g=f[0],y=f[2],v=vt(u),b=v[1],k=v[0],x=v[2],w=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),_=0,S=0,C=[];w.top>g?(_=g,S=w.top+w.height-g,w.row[1]>w.row_focus&&(w.row[1]=w.row_focus),C=[y,w.row[1]]):w.top==g?(_=g,S=w.top+w.height-g,C=[y,w.row[0]]):(_=w.top,S=m-w.top-1,w.row[0]<w.row_focus&&(w.row[0]=w.row_focus),C=[w.row[0],y]);let T=0,R=0,I=[];w.left>k?(T=k,R=w.left+w.width-k,w.column[1]>w.column_focus&&(w.column[1]=w.column_focus),I=[x,w.column[1]]):w.left==k?(T=k,R=w.left+w.width-k,I=[x,w.column[0]]):(T=w.left,R=b-w.left-1,w.column[0]<w.column_focus&&(w.column[0]=w.column_focus),I=[w.column[0],x]);let A=be.mergeMoveMain(I,C,w,_,S,T,R);A!=null&&(I=A[0],C=A[1],_=A[2],S=A[3],T=A[4],R=A[5]),w.row=C,w.column=I,w.left_move=T,w.width_move=R,w.top_move=_,w.height_move=S,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=w,et(),W.scrollFreezen()}n.stopPropagation()}),$(document).on("touchend",function(n){if(e){let o=Math.abs(a.vy_x),s=((o>>31)*2+1)*.25,u=Math.abs(a.vy_y),d=((u>>31)*2+1)*.25;(o>0||u>0)&&(l=setInterval(function(){o-=s,u-=d,o<=0&&(o=0),u<=0&&(u=0),a.vy_y>0?a.scrollTop-=u:a.scrollTop+=u,$("#luckysheet-scrollbar-y").scrollTop(a.scrollTop),a.vy_x>0?a.scrollLeft-=o:a.scrollLeft+=o,$("#luckysheet-scrollbar-x").scrollLeft(a.scrollLeft),o<=0&&u<=0&&clearInterval(l)},20))}e=!1,t=!1}),$(document).on("touchstart",".luckysheet-cs-touchhandle",function(n){t=!0,e=!1,n.stopPropagation()}),document.addEventListener("touchmove",function(n){n.preventDefault()},{passive:!1})}var Zf=Ae(()=>{Pr();Xt();lr();Or();Ke()});var Q0,jc,Jf=Ae(()=>{dt();jt();Xt();ar();Kt();_l();Wt();Yt();Ke();bt();Q0={createDialog:function(){let e=this,a=Q(),t=a.splitText,l=a.punctuation,n=a.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-splitColumn-dialog").remove();let o='<div class="box"><div class="boxTitle">'+t.splitDelimiters+'</div><div class="boxMain"><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_01" type="checkbox"/><label for="splitColumn_type_01">'+l.tab+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_02" type="checkbox"/><label for="splitColumn_type_02">'+l.semicolon+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_03" type="checkbox"/><label for="splitColumn_type_03">'+l.comma+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_04" type="checkbox"/><label for="splitColumn_type_04">'+l.space+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_05" type="checkbox"/><label for="splitColumn_type_05">'+t.splitOther+'</label><input type="text" class="formulaInputFocus" maxlength="1"/></div></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_06" type="checkbox"/><label for="splitColumn_type_06">'+t.splitContinueSymbol+'</label></div><div class="boxTitle" style="margin-top: 10px;">'+t.splitDataPreview+'</div><div class="boxMain" id="splitColumnData"></div></div>';$("body").append(we(ft,{id:"luckysheet-splitColumn-dialog",addclass:"luckysheet-splitColumn-dialog",title:t.splitTextTitle,content:o,botton:'<button id="luckysheet-splitColumn-dialog-confirm" class="btn btn-primary">'+n.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+n.cancel+"</button>",style:"z-index:100003"}));let s=$("#luckysheet-splitColumn-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),u=s.outerHeight(),d=s.outerWidth(),f=$(window).width(),m=$(window).height(),g=$(document).scrollLeft(),y=$(document).scrollTop();$("#luckysheet-splitColumn-dialog").css({left:(f+g-d)/2,top:(m+y-u)/3}).show();let v=e.getDataArr();e.dataPreview(v)},init:function(){let e=this,t=Q().splitText;$(document).off("change.SPCinpcheckbox").on("change.SPCcheckbox","#luckysheet-splitColumn-dialog .box input[type='checkbox']",function(){let l=e.getRegStr(),n=e.getDataArr(l);e.dataPreview(n)}),$(document).off("keyup.SPCinptext").on("keyup.SPCinptext","#luckysheet-splitColumn-dialog .box input[type='text']",function(){if($(this).siblings("input[type='checkbox']").is(":checked")){let l=e.getRegStr(),n=e.getDataArr(l);e.dataPreview(n)}}),$(document).off("click.SPCconfirm").on("click.SPCconfirm","#luckysheet-splitColumn-dialog #luckysheet-splitColumn-dialog-confirm",function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-splitColumn-dialog").hide();let l=e.getRegStr(),n=e.getDataArr(l),o=h.luckysheet_select_save[0].row[0],s=h.luckysheet_select_save[0].column[0];if(n[0].length==1)return;let u=!1;for(let d=0;d<n.length;d++)for(let f=1;f<n[0].length;f++){let m=h.flowdata[o+d][s+f];if(m!=null&&m.v!=null){u=!0;break}}if(u){let d=function(){e.update(o,s,n)};j.confirm("",t.splitConfirmToExe,d)}else e.update(o,s,n)})},update:function(e,a,t){let l=xe.deepCopyFlowData(h.flowdata);for(let u=0;u<t.length;u++)for(let d=0;d<t[0].length;d++){let f=t[u][d];Ot(e+u,a+d,l,f)}let n=h.luckysheet_select_save[0].row[0],o=h.luckysheet_select_save[0].column[0],s=[{row:[n,n+t.length-1],column:[o,o+t[0].length-1]}];Ze(l,s),et()},dataPreview:function(e){$("#luckysheet-splitColumn-dialog #splitColumnData").empty();let a="";for(let l=0;l<e.length;l++){let n="";for(let o=0;o<e[0].length;o++)n+="<td>"+e[l][o]+"</td>";a+="<tr>"+n+"</tr>"}let t="<table>"+a+"</table>";$("#luckysheet-splitColumn-dialog #splitColumnData").append(t)},getRegStr:function(){let e="",a=0;return $("#luckysheet-splitColumn-dialog .box input[type='checkbox']:checked").each(function(t,l){let n=$(l).attr("id");if(n=="splitColumn_type_01")e+="\\t",a++;else if(n=="splitColumn_type_02")a>0&&(e+="|"),e+=";",a++;else if(n=="splitColumn_type_03")a>0&&(e+="|"),e+=",",a++;else if(n=="splitColumn_type_04")a>0&&(e+="|"),e+="\\s",a++;else if(n=="splitColumn_type_05"){let o=$(l).siblings("input[type='text']").val().trim();o!=""&&(a>0&&(e+="|"),e+=o)}else n=="splitColumn_type_06"&&(e="["+e+"]+")}),e},getDataArr:function(e){let a=this,t=[],l=h.luckysheet_select_save[0].row[0],n=h.luckysheet_select_save[0].row[1],o=h.luckysheet_select_save[0].column[0];if(e!=null&&e!=""){let s=new RegExp(e,"g"),u=[];for(let m=l;m<=n;m++){let g=[],y=h.flowdata[m][o],v;y!=null&&y.m!=null?v=y.m:v=ze(m,o,h.flowdata),v==null&&(v=""),g=v.toString().split(s),u.push(g)}let d=u.length,f=0;for(let m=0;m<d;m++)u[m].length>f&&(f=u[m].length);t=a.getNullData(d,f);for(let m=0;m<t.length;m++)for(let g=0;g<t[0].length;g++)u[m][g]!=null&&(t[m][g]=u[m][g])}else for(let s=l;s<=n;s++){let u=[],d=h.flowdata[s][o],f;d!=null&&d.m!=null?f=d.m:f=ze(s,o,h.flowdata),f==null&&(f=""),u.push(f),t.push(u)}return t},getNullData:function(e,a){let t=[];for(let l=0;l<e;l++){let n=[];for(let o=0;o<a;o++)n.push("");t.push(n)}return t}},jc=Q0});function eb(){let a=Q().cellFormat;$("#luckysheet-cellFormat-confirm").click(function(){let t=$("#luckysheet-protection-check-locked").is(":checked"),l=$("#luckysheet-protection-check-hidden").is(":checked");t=t==!0?1:0,l=l==!0?1:0;let n=em(function(o,s,u,d){o==null?Ot(s,u,d,{lo:t,hi:l}):(o.lo=t,o.hi=l)},function(){alert(a.sheetDataIsNullAlert)});Ze(n,void 0,void 0,!1),$("#luckysheet-cellFormat-config").hide(),$("#luckysheet-modal-dialog-mask").hide()})}function em(e,a){if(h.luckysheet_select_save!=null&&h.luckysheet_select_save.length>0){let t=ye.getSheetByIndex(),l=t.data;if(l!=null)for(let n=0;n<h.luckysheet_select_save.length;n++){let o=h.luckysheet_select_save[n],s=o.row,u=o.column;for(let d=s[0];d<=s[1];d++)for(let f=u[0];f<=u[1];f++){let m,g=be.mergeborer(l,d,f);if(g){let y=g.row[2],v=g.column[2];m=l[y][v]}else m=l[d][f];e(m,d,f,l)}}else a();return l}}function tb(){if(Qf)return;Qf=!0;let e=Q(),a=e.cellFormat,t=e.button;$("body").append(we(ft,{id:"luckysheet-cellFormat-config",addclass:"luckysheet-cellFormat-config",title:a.cellFormatTitle,content:`
<div class="luckysheet-cellFormat-menu-c">
<div class="luckysheet-cellFormat-menu luckysheet-cellFormat-menu-active" id="luckysheet-cellFormat-protection">
${a.protection}
</div>
</div>
<div id="luckysheet-cellFormat-protection-content" class="luckysheet-cellFormat-content">
<div class="luckysheet-cellFormat-protection">
<p>
${a.protectionTips}
</p>
<label for="luckysheet-protection-check-locked"><input id="luckysheet-protection-check-locked" name="luckysheet-protection-check-locked" type="checkbox">${a.locked}</label><span>\u90E8\u5206\u9009\u4E2D</span>
<br/>
<label for="luckysheet-protection-check-hidden"><input id="luckysheet-protection-check-hidden" name="luckysheet-protection-check-hidden" type="checkbox">${a.hidden}</label><span>\u5168\u90E8\u9009\u4E2D</span>
</div>
</div>
`,botton:`<button id="luckysheet-cellFormat-confirm" class="btn btn-primary">${t.confirm}</button>
<button class="btn btn-default luckysheet-model-close-btn">${t.cancel}</button>`,style:"z-index:100003"})),eb()}function tm(){tb();let e=Q(),a=e.cellFormat,t=e.button;if($("#luckysheet-rightclick-menu").hide(),!Bl(h.currentSheetIndex))return;let l=!1,n=!1,o=0,s=0,u=0;if(h.luckysheet_select_save!=null&&h.luckysheet_select_save.length>0)em(function(m){(m==null||m.lo==null||m.lo==1)&&(l=!0,o++),m!=null&&m.hi==1&&(n=!0,s++),u++},function(){l=!0});else{alert(a.selectionIsNullAlert);return}let d="",f="";l&&(d=o==u?a.tipsAll:a.tipsPart),n&&(f=s==u?a.tipsAll:a.tipsPart),$("#luckysheet-protection-check-locked").prop("checked",l).parent().next().html(d),$("#luckysheet-protection-check-hidden").prop("checked",n).parent().next().html(f),an("luckysheet-cellFormat-config")}var Qf,rm=Ae(()=>{Ke();dt();jt();hr();lr();Dr();Yt();bt();_l();Qf=!1});function Ho(e){let a=$("#luckysheet-cell-main"),t=$("#luckysheet-scrollbar-x").scrollLeft(),l=$("#luckysheet-scrollbar-y").scrollTop(),n=$("#luckysheetTableContent").height();if(W.freezenhorizontaldata!=null&&l<W.freezenhorizontaldata[2]){l=W.freezenhorizontaldata[2],$("#luckysheet-scrollbar-y").scrollTop(l);return}if(W.freezenverticaldata!=null&&t<W.freezenverticaldata[2]){t=W.freezenverticaldata[2],$("#luckysheet-scrollbar-x").scrollLeft(t);return}$("#luckysheet-cols-h-c").scrollLeft(t),$("#luckysheet-rows-h").scrollTop(l),a.scrollLeft(t).scrollTop(l),$("#luckysheet-input-box-index").css({left:$("#luckysheet-input-box").css("left"),top:parseInt($("#luckysheet-input-box").css("top"))-20+"px","z-index":$("#luckysheet-input-box").css("z-index")}).show(),Le(t,l),$("#luckysheet-bottom-controll-row").css("left",t),(W.freezenhorizontaldata!=null||W.freezenverticaldata!=null)&&W.scrollAdapt(),!!ut.createHookFunction("scroll",{scrollLeft:t,scrollTop:l,canvasHeight:n})}var lm=Ae(()=>{Or();Ml();Yt();Ke();Wr()});function Uc(){let e=ol.detectOS();ol.mobilecheck()&&Vc(),Date.now||(Date.now=function(){return new Date().getTime()}),function(){"use strict";for(var g=["webkit","moz"],y=0;y<g.length&&!window.requestAnimationFrame;++y){var v=g[y];window.requestAnimationFrame=window[v+"RequestAnimationFrame"],window.cancelAnimationFrame=window[v+"CancelAnimationFrame"]||window[v+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var b=0;window.requestAnimationFrame=function(k){var x=Date.now(),w=Math.max(b+16,x);return setTimeout(function(){k(b=w)},w-x)},window.cancelAnimationFrame=clearTimeout}}(),$("#luckysheet-sheet-container-c").mousewheel(function(g,y){let v=g.deltaFactor<40?1:g.deltaFactor<80?2:3,b=$(this).scrollLeft();g.deltaY!=0?g.deltaY<0?b=b+10*v:b=b-10*v:g.deltaX!=0&&(g.deltaX>0?b=b+10*v:b=b-10*v),$(this).scrollLeft(b),g.preventDefault()}),$("#luckysheet-cell-main").scroll(function(){}).mousewheel(function(g,y){g.preventDefault()});let t=Q(),l=t.drag,n=t.info,o,s;$("#luckysheet-grid-window-1").mousewheel(function(g,y){let v=$("#luckysheet-scrollbar-x").scrollLeft(),b=$("#luckysheet-scrollbar-y").scrollTop(),k=h.visibledatacolumn,x=h.visibledatarow;W.freezenhorizontaldata!=null&&(x=W.freezenhorizontaldata[3]),W.freezenverticaldata!=null&&(k=W.freezenverticaldata[3]),clearTimeout(s),h.visibledatacolumn_unique!=null?k=h.visibledatacolumn_unique:(k=Bc(k),h.visibledatacolumn_unique=k),h.visibledatarow_unique!=null?x=h.visibledatarow_unique:(x=Bc(x),h.visibledatarow_unique=x);let w=lt(k,v),_=lt(x,b);W.freezenhorizontaldata!=null&&(_=lt(x,b+W.freezenhorizontaldata[0]));let S=0,C=0,T=g.deltaFactor<40?1:g.deltaFactor<80?2:3;if(g.deltaY!=0){let R,I=Math.round(T/h.zoomRatio);I=I<1?1:I,g.deltaY<0?(R=_+I,R>=x.length&&(R=x.length-1)):(R=_-I,R<0&&(R=0)),C=R==0?0:x[R-1],W.freezenhorizontaldata!=null&&(C-=W.freezenhorizontaldata[0]),$("#luckysheet-scrollbar-y").scrollTop(C)}else if(g.deltaX!=0){let R;g.deltaX>0?v=v+20*h.zoomRatio:v=v-20*h.zoomRatio,$("#luckysheet-scrollbar-x").scrollLeft(v)}s=setTimeout(()=>{h.visibledatacolumn_unique=null,h.visibledatarow_unique=null},500)}),$("#luckysheet-scrollbar-x").scroll(function(){Ho()}).mousewheel(function(g,y){g.preventDefault()}),$("#luckysheet-scrollbar-y").scroll(function(){Ho()}).mousewheel(function(g,y){g.preventDefault()}),$(window).resize(function(){document.getElementById(h.container)&&Ft()}),$("#luckysheet-rich-text-editor").mouseup(function(g){be.inputMenuButtonFocus(g.target)}),$("#luckysheet-cell-main, #luckysheetTableContent").mousedown(function(g){if($(g.target).hasClass("luckysheet-mousedown-cancel"))return;rb(),$("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","default").end().find(".luckysheet-cs-draghandle").css("cursor","default"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","default"),Be.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Re.cancelActiveImgItem();let y=at(g.pageX,g.pageY);if(y[0]>=h.cellmainWidth-h.cellMainSrollBarSize||y[1]>=h.cellmainHeight-h.cellMainSrollBarSize)return;let v=y[0]+$("#luckysheet-cell-main").scrollLeft(),b=y[1]+$("#luckysheet-cell-main").scrollTop();W.freezenverticaldata!=null&&y[0]<W.freezenverticaldata[0]-W.freezenverticaldata[2]&&(v=y[0]+W.freezenverticaldata[2]),W.freezenhorizontaldata!=null&&y[1]<W.freezenhorizontaldata[0]-W.freezenhorizontaldata[2]&&(b=y[1]+W.freezenhorizontaldata[2]);let k=ye.getSheetByIndex(),x=$("#luckysheetTableContent").get(0).getContext("2d"),w=xt(b),_=w[1],S=w[0],C=w[2],T=vt(v),R=T[1],I=T[0],A=T[2],E=C,N=A,D=be.mergeborer(h.flowdata,C,A);if(D&&(_=D.row[1],S=D.row[0],C=D.row[2],E=D.row[3],R=D.column[1],I=D.column[0],A=D.column[2],N=D.column[3]),!ut.createHookFunction("cellMousedownBefore",h.flowdata[C][A],{r:C,c:A,start_r:S,start_c:I,end_r:_,end_c:R},k,x))return;if(Ye.cellFocus(C,A,!0),I<$("#luckysheet-cell-main").scrollLeft()&&$("#luckysheet-scrollbar-x").scrollLeft(I),S<$("#luckysheet-cell-main").scrollTop()&&$("#luckysheet-scrollbar-y").scrollTop(S),g.which=="3"){$("#luckysheet-dataVerification-showHintBox").hide();let M=!1;for(let z=0;z<h.luckysheet_select_save.length;z++)if(h.luckysheet_select_save[z].row!=null&&C>=h.luckysheet_select_save[z].row[0]&&C<=h.luckysheet_select_save[z].row[1]&&A>=h.luckysheet_select_save[z].column[0]&&A<=h.luckysheet_select_save[z].column[1]){M=!0;break}if(M)return}if(h.flowdata[C]!=null&&h.flowdata[C][A]!=null&&h.flowdata[C][A].dd!=null&&fe.fireMousedown!=null&&P(fe.fireMousedown)=="function"){fe.fireMousedown(h.flowdata[C][A].dd);return}if($r.hyperlink&&$r.hyperlink[C+"_"+A]&&g.which!="3"){$r.cellFocus(C,A);return}h.luckysheet_scroll_status=!0;let F=$("#luckysheet-input-box");if(parseInt(F.css("top"))>0)if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()){let M=[C,E],z=[A,N],O=I,H=R-I-1,U=S,X=_-S-1;if(g.shiftKey){let Y=p.func_selectedrange,ee=0,ae=0,oe=[];Y.top>S?(ee=S,ae=Y.top+Y.height-S,Y.row[1]>Y.row_focus&&(Y.row[1]=Y.row_focus),oe=[C,Y.row[1]]):Y.top==S?(ee=S,ae=Y.top+Y.height-S,oe=[C,Y.row[0]]):(ee=Y.top,ae=_-Y.top-1,Y.row[0]<Y.row_focus&&(Y.row[0]=Y.row_focus),oe=[Y.row[0],C]);let ie=0,ue=0,me=[];Y.left>I?(ie=I,ue=Y.left+Y.width-I,Y.column[1]>Y.column_focus&&(Y.column[1]=Y.column_focus),me=[A,Y.column[1]]):Y.left==I?(ie=I,ue=Y.left+Y.width-I,me=[A,Y.column[0]]):(ie=Y.left,ue=R-Y.left-1,Y.column[0]<Y.column_focus&&(Y.column[0]=Y.column_focus),me=[Y.column[0],A]);let ce=be.mergeMoveMain(me,oe,Y,ee,ae,ie,ue);ce!=null&&(me=ce[0],oe=ce[1],ee=ce[2],ae=ce[3],ie=ce[4],ue=ce[5]),ll(ie,ee,ue,ae,oe,me),Y.row=oe,Y.column=me,Y.left_move=ie,Y.width_move=ue,Y.top_move=ee,Y.height_move=ae,p.func_selectedrange=Y}else if(g.ctrlKey&&$("#luckysheet-rich-text-editor").find("span").last().text()!=","){let Y=$("#luckysheet-rich-text-editor").text();if(Y[Y.length-1]===")"&&(Y=Y.substr(0,Y.length-1)),Y.length>0){let ee=Y.substr(Y.length-1,1);ee!=","&&ee!="="&&ee!="("&&(Y+=",")}if(Y.length>0&&Y.substr(0,1)=="="){if(Y=p.functionHTMLGenerate(Y),window.getSelection){let ee=window.getSelection();p.functionRangeIndex=[$(ee.anchorNode).parent().index(),ee.anchorOffset]}else{let ee=document.selection.createRange();p.functionRangeIndex=ee}$("#luckysheet-rich-text-editor").html(Y+")"),p.canceFunctionrangeSelected(),p.createRangeHightlight()}p.rangestart=!1,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-functionbox-cell").html(Y+")"),p.rangeHightlightselected($("#luckysheet-rich-text-editor")),p.israngeseleciton(),p.func_selectedrange={left:O,width:H,top:U,height:X,left_move:O,width_move:H,top_move:U,height_move:X,row:M,column:z,row_focus:C,column_focus:A}}else p.func_selectedrange={left:O,width:H,top:U,height:X,left_move:O,width_move:H,top_move:U,height_move:X,row:M,column:z,row_focus:C,column_focus:A};p.rangeSetValue({row:M,column:z}),p.rangestart=!0,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-formula-functionrange-select").css({left:O,width:H,top:U,height:X}).show(),$("#luckysheet-formula-help-c").hide(),ll(O,U,H,X,M,z),setTimeout(function(){let ee=window.getSelection().anchorNode,ae;$("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible")?(ae=$("#luckysheet-rich-text-editor"),p.rangechangeindex=p.data_parm_index):ae=$(ee).closest("div");let oe=ae.find("span[rangeindex='"+p.rangechangeindex+"']");p.setCaretPosition(oe.get(0),0,oe.html().length)},1);return}else p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_status=!0,$("#luckysheet-info").is(":visible")&&(h.luckysheet_select_status=!1);else Ys(C,A,h.currentSheetIndex)&&(h.luckysheet_select_status=!0);if($("#luckysheet-multiRange-dialog").is(":visible")){if($e.selectStatus=!0,h.luckysheet_select_status=!1,g.shiftKey){let z=$e.selectRange[$e.selectRange.length-1],O=0,H=0,U=[];z.top>S?(O=S,H=z.top+z.height-S,z.row[1]>z.row_focus&&(z.row[1]=z.row_focus),U=[C,z.row[1]]):z.top==S?(O=S,H=z.top+z.height-S,U=[C,z.row[0]]):(O=z.top,H=_-z.top-1,z.row[0]<z.row_focus&&(z.row[0]=z.row_focus),U=[z.row[0],C]);let X=0,Y=0,ee=[];z.left>I?(X=I,Y=z.left+z.width-I,z.column[1]>z.column_focus&&(z.column[1]=z.column_focus),ee=[A,z.column[1]]):z.left==I?(X=I,Y=z.left+z.width-I,ee=[A,z.column[0]]):(X=z.left,Y=R-z.left-1,z.column[0]<z.column_focus&&(z.column[0]=z.column_focus),ee=[z.column[0],A]);let ae=be.mergeMoveMain(ee,U,z,O,H,X,Y);ae!=null&&(ee=ae[0],U=ae[1],O=ae[2],H=ae[3],X=ae[4],Y=ae[5]),z.row=U,z.column=ee,z.left_move=X,z.width_move=Y,z.top_move=O,z.height_move=H,$e.selectRange[$e.selectRange.length-1]=z}else g.ctrlKey?$e.selectRange.push({left:I,width:R-I-1,top:S,height:_-S-1,left_move:I,width_move:R-I-1,top_move:S,height_move:_-S-1,row:[C,E],column:[A,N],row_focus:C,column_focus:A}):($e.selectRange=[],$e.selectRange.push({left:I,width:R-I-1,top:S,height:_-S-1,left_move:I,width_move:R-I-1,top_move:S,height_move:_-S-1,row:[C,E],column:[A,N],row_focus:C,column_focus:A}));Mt($e.selectRange);let M=$e.getTxtByRange($e.selectRange);$("#luckysheet-multiRange-dialog input").val(M);return}else $e.selectStatus=!1,$e.selectRange=[];if($("#luckysheet-singleRange-dialog").is(":visible")){h.luckysheet_select_status=!1,Mt([{row:[C,C],column:[A,A]}]);let M=kt(h.currentSheetIndex,{row:[C,C],column:[A,A]},h.currentSheetIndex);$("#luckysheet-singleRange-dialog input").val(M);return}if($("#luckysheet-dataVerificationRange-dialog").is(":visible")){if(Ye.selectStatus=!0,h.luckysheet_select_status=!1,g.shiftKey){let z=Ye.selectRange[Ye.selectRange.length-1],O=0,H=0,U=[];z.top>S?(O=S,H=z.top+z.height-S,z.row[1]>z.row_focus&&(z.row[1]=z.row_focus),U=[C,z.row[1]]):z.top==S?(O=S,H=z.top+z.height-S,U=[C,z.row[0]]):(O=z.top,H=_-z.top-1,z.row[0]<z.row_focus&&(z.row[0]=z.row_focus),U=[z.row[0],C]);let X=0,Y=0,ee=[];z.left>I?(X=I,Y=z.left+z.width-I,z.column[1]>z.column_focus&&(z.column[1]=z.column_focus),ee=[A,z.column[1]]):z.left==I?(X=I,Y=z.left+z.width-I,ee=[A,z.column[0]]):(X=z.left,Y=R-z.left-1,z.column[0]<z.column_focus&&(z.column[0]=z.column_focus),ee=[z.column[0],A]);let ae=be.mergeMoveMain(ee,U,z,O,H,X,Y);ae!=null&&(ee=ae[0],U=ae[1],O=ae[2],H=ae[3],X=ae[4],Y=ae[5]),z.row=U,z.column=ee,z.left_move=X,z.width_move=Y,z.top_move=O,z.height_move=H,Ye.selectRange[Ye.selectRange.length-1]=z}else Ye.selectRange=[],Ye.selectRange.push({left:I,width:R-I-1,top:S,height:_-S-1,left_move:I,width_move:R-I-1,top_move:S,height_move:_-S-1,row:[C,E],column:[A,N],row_focus:C,column_focus:A});Mt(Ye.selectRange);let M=Ye.getTxtByRange(Ye.selectRange);p.rangetosheet!=h.currentSheetIndex&&(M=h.luckysheetfile[Z(h.currentSheetIndex)].name+"!"+M),$("#luckysheet-dataVerificationRange-dialog input").val(M);return}else Ye.selectStatus=!1,Ye.selectRange=[];if(Xn.singleRangeFocus&&$("#luckysheet-ifFormulaGenerator-dialog .singRange").click(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").is(":visible")){h.luckysheet_select_status=!1,p.rangestart=!1,$("#luckysheet-formula-functionrange-select").css({left:I,width:R-I-1,top:S,height:_-S-1}).show(),$("#luckysheet-formula-help-c").hide();let M=kt(h.currentSheetIndex,{row:[C,C],column:[A,A]},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-singleRange-dialog input").val(M);return}if($("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){h.luckysheet_select_status=!1,p.func_selectedrange={left:I,width:R-I-1,top:S,height:_-S-1,left_move:I,width_move:R-I-1,top_move:S,height_move:_-S-1,row:[C,C],column:[A,A],row_focus:C,column_focus:A},p.rangestart=!0,$("#luckysheet-formula-functionrange-select").css({left:I,width:R-I-1,top:S,height:_-S-1}).show(),$("#luckysheet-formula-help-c").hide();let M=kt(h.currentSheetIndex,{row:[C,C],column:[A,A]},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(M),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide();return}if(h.luckysheet_select_status){if(g.shiftKey){let M=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),z=0,O=0,H=[];M.top>S?(z=S,O=M.top+M.height-S,M.row[1]>M.row_focus&&(M.row[1]=M.row_focus),H=[C,M.row[1]]):M.top==S?(z=S,O=M.top+M.height-S,H=[C,M.row[0]]):(z=M.top,O=_-M.top-1,M.row[0]<M.row_focus&&(M.row[0]=M.row_focus),H=[M.row[0],C]);let U=0,X=0,Y=[];M.left>I?(U=I,X=M.left+M.width-I,M.column[1]>M.column_focus&&(M.column[1]=M.column_focus),Y=[A,M.column[1]]):M.left==I?(U=I,X=M.left+M.width-I,Y=[A,M.column[0]]):(U=M.left,X=R-M.left-1,M.column[0]<M.column_focus&&(M.column[0]=M.column_focus),Y=[M.column[0],A]);let ee=be.mergeMoveMain(Y,H,M,z,O,U,X);ee!=null&&(Y=ee[0],H=ee[1],z=ee[2],O=ee[3],U=ee[4],X=ee[5]),M.row=H,M.column=Y,M.left_move=U,M.width_move=X,M.top_move=z,M.height_move=O,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=M,$("#luckysheet-alternateformat-rangeDialog").is(":visible")&&$("#luckysheet-alternateformat-rangeDialog input").val(kt(h.currentSheetIndex,h.luckysheet_select_save)),Oe.luckysheet_pivotTable_select_state&&$("#luckysheet-pivotTable-range-selection-input").val(h.luckysheetfile[Z(h.currentSheetIndex)].name+"!"+tt(h.luckysheet_select_save[0].column[0])+(h.luckysheet_select_save[0].row[0]+1)+":"+tt(h.luckysheet_select_save[0].column[1])+(h.luckysheet_select_save[0].row[1]+1))}else g.ctrlKey?h.luckysheet_select_save.push({left:I,width:R-I-1,top:S,height:_-S-1,left_move:I,width_move:R-I-1,top_move:S,height_move:_-S-1,row:[C,E],column:[A,N],row_focus:C,column_focus:A}):(h.luckysheet_select_save.length=0,h.luckysheet_select_save.push({left:I,width:R-I-1,top:S,height:_-S-1,left_move:I,width_move:R-I-1,top_move:S,height_move:_-S-1,row:[C,E],column:[A,N],row_focus:C,column_focus:A}),be.menuButtonFocus(h.flowdata,C,A),p.fucntionboxshow(C,A));et(),(W.freezenhorizontaldata!=null||W.freezenverticaldata!=null)&&W.scrollAdaptOfselect(),ol.mobilecheck()||Il(),re.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}Jt.rangefocus&&(Jt.rangefocus=!1,$("#luckysheet-alternateformat-range .fa-table").click()),$("#luckysheet-row-count-show, #luckysheet-column-count-show").hide(),he()||pc(),Oe.pivotclick(C,A,h.currentSheetIndex),rt(),ut.createHookFunction("cellMousedown",h.flowdata[C][A],{r:C,c:A,start_r:S,start_c:I,end_r:_,end_c:R},k,x)}).mouseup(function(g){if(g.which=="3"){if(!h.allowEdit||he())return;let y=g.pageX,v=g.pageY,b=h.flowdata,k=h.luckysheet_select_save[0],x=fe.cellRightClickConfig;if($("#luckysheet-cols-rows-data").show(),$("#luckysheet-cols-rows-handleincell").show(),$("#luckysheet-cols-rows-add, #luckysheet-cols-rows-shift").hide(),We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-handleincell .luckysheet-menuseparator").style.display="block",k.row!=null&&k.row[0]==0&&k.row[1]==h.flowdata.length-1){if(!x.copy&&!x.copyAs&&!x.paste&&!x.insertColumn&&!x.deleteColumn&&!x.hideColumn&&!x.columnWidth&&!x.clear&&!x.matrix&&!x.sort&&!x.filter&&!x.chart&&!x.image&&!x.link&&!x.data&&!x.cellFormat)return;h.luckysheetRightHeadClickIs="column",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.column),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.width),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.left),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.right),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),h.luckysheet_cols_menu_status=!0,We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-top-left-add-selected").style.display=x.insertColumn?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=x.insertColumn?"block":"none",We("#luckysheet-del-selected").style.display=x.deleteColumn?"block":"none",We("#luckysheet-hide-selected").style.display=x.hideColumn?"block":"none",We("#luckysheet-show-selected").style.display=x.hideColumn?"block":"none",We("#luckysheet-column-row-width-selected").style.display=x.columnWidth?"block":"none",!x.copy&&!x.copyAs&&!x.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!x.insertColumn&&!x.deleteColumn&&!x.hideColumn&&!x.columnWidth&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!x.insertColumn&&!x.deleteColumn&&!x.hideColumn&&!x.columnWidth&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none");let w=$.extend(!0,{},h.config);w.columnlen==null&&(w.columnlen={});let _=w.columnlen[h.luckysheet_select_save[0].column[0]]==null?h.defaultcollen:w.columnlen[h.luckysheet_select_save[0].column[0]],S=!0;for(let C=0;C<h.luckysheet_select_save.length;C++){let T=h.luckysheet_select_save[C],R=T.column[0],I=T.column[1];for(let A=R;A<=I;A++)if((w.columnlen[A]==null?h.defaultcollen:w.columnlen[A])!=_){S=!1;break}}S?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(_):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}else if(k.column!=null&&k.column[0]==0&&k.column[1]==h.flowdata[0].length-1){if(!x.copy&&!x.copyAs&&!x.paste&&!x.insertRow&&!x.deleteRow&&!x.hideRow&&!x.rowHeight&&!x.clear&&!x.matrix&&!x.sort&&!x.filter&&!x.chart&&!x.image&&!x.link&&!x.data&&!x.cellFormat)return;h.luckysheetRightHeadClickIs="row",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.row),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.height),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.top),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.bottom),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),h.luckysheet_cols_menu_status=!0,We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-top-left-add-selected").style.display=x.insertRow?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=x.insertRow?"block":"none",We("#luckysheet-del-selected").style.display=x.deleteRow?"block":"none",We("#luckysheet-hide-selected").style.display=x.hideRow?"block":"none",We("#luckysheet-show-selected").style.display=x.hideRow?"block":"none",We("#luckysheet-column-row-width-selected").style.display=x.rowHeight?"block":"none",!x.copy&&!x.copyAs&&!x.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!x.insertRow&&!x.deleteRow&&!x.hideRow&&!x.rowHeight&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!x.insertRow&&!x.deleteRow&&!x.hideRow&&!x.rowHeight&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none");let w=$.extend(!0,{},h.config);w.rowlen==null&&(w.rowlen={});let _=w.rowlen[h.luckysheet_select_save[0].row[0]]==null?h.defaultrowlen:w.rowlen[h.luckysheet_select_save[0].row[0]],S=!0;for(let C=0;C<h.luckysheet_select_save.length;C++){let T=h.luckysheet_select_save[C],R=T.row[0],I=T.row[1];for(let A=R;A<=I;A++)if((w.rowlen[A]==null?h.defaultrowlen:w.rowlen[A])!=_){S=!1;break}}S?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(_):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}else{if(!x.copy&&!x.copyAs&&!x.paste&&!x.insertRow&&!x.insertColumn&&!x.deleteRow&&!x.deleteColumn&&!x.deleteCell&&!x.clear&&!x.matrix&&!x.sort&&!x.filter&&!x.chart&&!x.image&&!x.link&&!x.data&&!x.cellFormat)return;!x.copy&&!x.copyAs&&!x.paste&&(We("#luckysheet-cols-rows-handleincell .luckysheet-menuseparator").style.display="none",!x.insertRow&&!x.insertColumn&&!x.deleteRow&&!x.deleteColumn&&!x.deleteCell&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!x.insertRow&&!x.insertColumn&&!x.deleteRow&&!x.deleteColumn&&!x.deleteCell&&(We("#luckysheet-cols-rows-handleincell .luckysheet-menuseparator").style.display="none")}!x.clear&&!x.matrix&&!x.sort&&!x.filter&&!x.chart&&!x.image&&!x.link&&!x.data&&!x.cellFormat&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none"),ra($("#luckysheet-rightclick-menu"),y,v)}re.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}).dblclick(function(g){if($(g.target).hasClass("luckysheet-mousedown-cancel")||!h.allowEdit||parseInt($("#luckysheet-input-box").css("top"))>0)return;let y=at(g.pageX,g.pageY);if(y[0]>=h.cellmainWidth-h.cellMainSrollBarSize||y[1]>=h.cellmainHeight-h.cellMainSrollBarSize)return;let v=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),k=y[0]+v,x=y[1]+b;W.freezenverticaldata!=null&&y[0]<W.freezenverticaldata[0]-W.freezenverticaldata[2]&&(k=y[0]+W.freezenverticaldata[2]),W.freezenhorizontaldata!=null&&y[1]<W.freezenhorizontaldata[0]-W.freezenhorizontaldata[2]&&(x=y[1]+W.freezenhorizontaldata[2]);let w=xt(x),_=w[2],S=vt(k),C=S[2],T=be.mergeborer(h.flowdata,_,C);if(T&&(_=T.row[2],C=T.column[2]),Oe.isPivotRange(_,C)){if((Oe.filter==null||Oe.filter.length==0)&&(Oe.row==null||Oe.row.length==0)&&(Oe.column==null||Oe.column.length==0)&&(Oe.values==null||Oe.values.length==0)||Oe.values==null||Oe.values.length==0||_==0||C==0)return;if(Oe.column!=null&&Oe.column.length>0){if(Oe.values.length>=2&&Oe.showType=="column"){if(_<=Oe.column.length||C>=Oe.pivotDatas[0].length-Oe.values.length)return}else if(_<=Oe.column.length-1||C>=Oe.pivotDatas[0].length-1)return}if(Oe.row!=null&&Oe.row.length>0){if(Oe.values.length>=2&&Oe.showType=="row"){if(C<=Oe.row.length||_>=Oe.pivotDatas.length-Oe.values.length)return}else if(C<=Oe.row.length-1||_>=Oe.pivotDatas.length-1)return}ye.addNewSheet(g),Oe.drillDown(_,C);return}if($("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible"))$("#luckysheet-cell-selected").hide();else{if($("#luckysheet-conditionformat-dialog").is(":visible")||$("#luckysheet-administerRule-dialog").is(":visible")||$("#luckysheet-newConditionRule-dialog").is(":visible")||$("#luckysheet-editorConditionRule-dialog").is(":visible")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;if($("#luckysheet-modal-dialog-slider-alternateformat").is(":visible")||$("#luckysheet-alternateformat-rangeDialog").is(":visible"))return;{be.luckysheetPaintModelOn&&be.cancelPaintModel();let R=h.luckysheet_select_save[0].column_focus,I=h.luckysheet_select_save[0].row_focus;(R!==C||I!==_)&&(_=I,C=R),Ar(_,C,h.flowdata),et()}}}),document.getElementById("luckysheet-cell-main").addEventListener("drop",function(g){g.preventDefault(),g.stopPropagation();let y=g.dataTransfer.files;if(y.length==1&&y[0].type.indexOf("image")>-1){if(!St(h.currentSheetIndex,"editObjects"))return;let v=new FileReader;v.readAsDataURL(y[0]),v.onload=function(b){let k=b.target.result;Re.inserImg(k)}}u(g)},!1),document.getElementById("luckysheet-cell-main").addEventListener("dragover",function(g){g.preventDefault(),g.stopPropagation()},!1);function u(g){if(fe&&fe.hook&&fe.hook.cellDragStop){let y=at(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft(),b=y[1]+$("#luckysheet-cell-main").scrollTop(),k=xt(b),x=k[1],w=k[0],_=k[2],S=vt(v),C=S[1],T=S[0],R=S[2],I=be.mergeborer(h.flowdata,_,R);I&&(x=I.row[1],w=I.row[0],_=I.row[2],C=I.column[1],T=I.column[0],R=I.column[2]);let A=ye.getSheetByIndex(),E=$("#luckysheetTableContent").get(0).getContext("2d");ut.createHookFunction("cellDragStop",h.flowdata[_][R],{r:_,c:R,start_r:w,start_c:T,end_r:x,end_c:C},A,E,g)}}$(document).on("mousemove.luckysheetEvent",function(g){if(Be.overshow(g),$r.overshow(g),window.cancelAnimationFrame(h.jfautoscrollTimeout),fe&&fe.hook&&fe.hook.sheetMousemove){let y=at(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft(),b=y[1]+$("#luckysheet-cell-main").scrollTop(),k=xt(b),x=k[1],w=k[0],_=k[2],S=vt(v),C=S[1],T=S[0],R=S[2],I=be.mergeborer(h.flowdata,_,R);I&&(x=I.row[1],w=I.row[0],_=I.row[2],C=I.column[1],T=I.column[0],R=I.column[2]);let A=ye.getSheetByIndex(),E={functionResizeStatus:p.functionResizeStatus,horizontalmoveState:!!W.horizontalmovestate,verticalmoveState:!!W.verticalmovestate,pivotTableMoveState:!!Oe&&Oe.movestate,sheetMoveStatus:h.luckysheet_sheet_move_status,scrollStatus:!!h.luckysheet_scroll_status,selectStatus:!!h.luckysheet_select_status,rowsSelectedStatus:!!h.luckysheet_rows_selected_status,colsSelectedStatus:!!h.luckysheet_cols_selected_status,cellSelectedMove:!!h.luckysheet_cell_selected_move,cellSelectedExtend:!!h.luckysheet_cell_selected_extend,colsChangeSize:!!h.luckysheet_cols_change_size,rowsChangeSize:!!h.luckysheet_rows_change_size,chartMove:!!h.chartparam.luckysheetCurrentChartMove,chartResize:!!h.chartparam.luckysheetCurrentChartResize,rangeResize:!!p.rangeResize,rangeMove:!!p.rangeMove},N=$("#luckysheetTableContent").get(0).getContext("2d");h.flowdata&&h.flowdata[_]&&ut.createHookFunction("sheetMousemove",h.flowdata[_][R],{r:_,c:R,start_r:w,start_c:T,end_r:x,end_c:C},A,E,N)}if(p.functionResizeStatus){let v=g.pageY-p.functionResizeData.y,b=p.functionResizeData.calculatebarHeight+v,k=Math.round($(window).height()/2);if(b<=28){if(b<=20)return;b=28}else if(b>=k){if(b>=k+8)return;b=k}h.calculatebarHeight=b,$("#luckysheet-wa-calculate").css("height",h.calculatebarHeight-2),$("#luckysheet-wa-calculate-size").css({background:"#5e5e5e",cursor:"ns-resize"}),clearTimeout(p.functionResizeTimeout),p.functionResizeTimeout=setTimeout(function(){Ft()},15)}else if(W.horizontalmovestate){let y=at(g.pageX,g.pageY),v=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),k=y[0]+v,x=y[1]+b,w=xt(x),_=w[1],S=w[0],C=w[2],T=y[1]+h.columnHeaderHeight;T<h.columnHeaderHeight&&(T=h.columnHeaderHeight),T>W.windowHeight-4&&(T=W.windowHeight-4),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css({top:T}),T+b-h.columnHeaderHeight>=S+(_-S)/2?(T=_-2-b+h.columnHeaderHeight,W.freezenhorizontaldata=[_,C+1,b,W.cutVolumn(h.visibledatarow,C+1),T]):(T=S-2-b+h.columnHeaderHeight,W.freezenhorizontaldata=[S,C,b,W.cutVolumn(h.visibledatarow,C),T]),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-drop").css({top:T}),W.saveFreezen(W.freezenhorizontaldata,T,null,null)}else if(W.verticalmovestate){let y=at(g.pageX,g.pageY),v=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),k=y[0]+v,x=y[1]+b,w=vt(k),_=w[1],S=w[0],C=w[2],T=y[0]+h.rowHeaderWidth;T<h.rowHeaderWidth&&(T=h.rowHeaderWidth),T>W.windowWidth-4&&(T=W.windowWidth-4),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css({left:T}),T+v-h.rowHeaderWidth>=S+(_-S)/2?(T=_-2-v+h.rowHeaderWidth,W.freezenverticaldata=[_,C+1,v,W.cutVolumn(h.visibledatacolumn,C+1),T]):(T=S-2-v+h.rowHeaderWidth,W.freezenverticaldata=[S,C,v,W.cutVolumn(h.visibledatacolumn,C),T]),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-drop").css({left:T}),W.saveFreezen(null,null,W.freezenverticaldata,T),Ft()}else if(!!Oe&&Oe.movestate){let y=g.pageX,v=g.pageY;$("#luckysheet-modal-dialog-slider-pivot-move").css({left:y-Oe.movesave.width/2,top:v-Oe.movesave.height})}else if(h.luckysheet_sheet_move_status){let y=$("#luckysheet-sheet-container-c").scrollLeft(),v=g.pageX+y;if(Math.abs(g.pageX-h.luckysheet_sheet_move_data.pageX)<3)return;let b=$("#luckysheet-sheet-container").width(),k=v-h.luckysheet_sheet_move_data.curleft-$("#luckysheet-sheet-container").offset().left;h.luckysheet_sheet_move_data.activeobject.css({left:k});let x=lt(h.luckysheet_sheet_move_data.widthlist,k+h.luckysheet_sheet_move_data.curleft);h.luckysheet_sheet_move_data.cursorobject.css({cursor:"move"}),k-y<=6&&$("#luckysheet-sheets-leftscroll").click(),k-y>=b-40&&$("#luckysheet-sheets-rightscroll").click(),x!=h.luckysheet_sheet_move_data.curindex&&(x==-1&&k>0?(x=h.luckysheet_sheet_move_data.widthlist.length-1,$("#luckysheet-sheets-item-clone").insertAfter($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").eq(x))):x==-1&&k<=0?$("#luckysheet-sheets-item-clone").insertBefore($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").eq(0)):$("#luckysheet-sheets-item-clone").insertAfter($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").eq(x)),h.luckysheet_sheet_move_data.widthlist=[],$("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").each(function(w){w==0?h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())):h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())+h.luckysheet_sheet_move_data.widthlist[w-1])}),h.luckysheet_sheet_move_data.curindex=$("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").index($("#luckysheet-sheets-item-clone")))}else if(h.luckysheet_model_move_state){let y=$(document).scrollTop(),v=$(document).scrollLeft(),b=g.pageY+y,k=g.pageX+v,x=$(window).height(),w=$(window).width(),_=h.luckysheet_model_move_obj.height(),S=h.luckysheet_model_move_obj.width(),C=b-h.luckysheet_model_xy[1],T=k-h.luckysheet_model_xy[0];C<0&&(C=0),C+_+62>x&&(C=x-_-62),T<0&&(T=0),T+S+86>w&&(T=w-S-86),h.luckysheet_model_move_obj.css({top:C,left:T}),g.preventDefault()}else if(!!h.luckysheet_scroll_status||!!h.luckysheet_select_status||!!h.luckysheet_rows_selected_status||!!h.luckysheet_cols_selected_status||!!h.luckysheet_cell_selected_move||!!h.luckysheet_cell_selected_extend||!!h.luckysheet_cols_change_size||!!h.luckysheet_rows_change_size||!!h.chartparam.luckysheetCurrentChartMove||!!h.chartparam.luckysheetCurrentChartResize||!!p.rangeResize||!!p.rangeMove){let y=function(){if(h.luckysheet_scroll_status&&!h.luckysheet_cols_change_size&&!h.luckysheet_rows_change_size){let v=at(g.pageX,g.pageY),b=$("#luckysheet-scrollbar-x").scrollLeft(),k=$("#luckysheet-scrollbar-y").scrollTop(),x=v[0],w=v[1],_=$("#luckysheet-cell-main").height()-20*h.zoomRatio,S=$("#luckysheet-cell-main").width()-60*h.zoomRatio;if(w<0||w>_){let C;w<0?C=k+w/2:C=k+(w-_)/2,$("#luckysheet-scrollbar-y").scrollTop(C)}if(x<0||x>S){let C;x<0?C=b+x/2:C=b+(x-S)/2,$("#luckysheet-scrollbar-x").scrollLeft(C)}}if(h.luckysheet_select_status){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop(),x=xt(k),w=x[1],_=x[0],S=x[2],C=vt(b),T=C[1],R=C[0],I=C[2];if(!Ys(S,I,h.currentSheetIndex))return;let A=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),E=0,N=0,D=[];A.top>_?(E=_,N=A.top+A.height-_,A.row[1]>A.row_focus&&(A.row[1]=A.row_focus),D=[S,A.row[1]]):A.top==_?(E=_,N=A.top+A.height-_,D=[S,A.row[0]]):(E=A.top,N=w-A.top-1,A.row[0]<A.row_focus&&(A.row[0]=A.row_focus),D=[A.row[0],S]);let F=0,M=0,z=[];A.left>R?(F=R,M=A.left+A.width-R,A.column[1]>A.column_focus&&(A.column[1]=A.column_focus),z=[I,A.column[1]]):A.left==R?(F=R,M=A.left+A.width-R,z=[I,A.column[0]]):(F=A.left,M=T-A.left-1,A.column[0]<A.column_focus&&(A.column[0]=A.column_focus),z=[A.column[0],I]);let O=be.mergeMoveMain(z,D,A,E,N,F,M);O!=null&&(z=O[0],D=O[1],E=O[2],N=O[3],F=O[4],M=O[5]),A.row=D,A.column=z,A.left_move=F,A.width_move=M,A.top_move=E,A.height_move=N,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=A,et(),W.scrollFreezen(),$("#luckysheet-alternateformat-rangeDialog").is(":visible")&&$("#luckysheet-alternateformat-rangeDialog input").val(kt(h.currentSheetIndex,h.luckysheet_select_save[h.luckysheet_select_save.length-1])),Oe.luckysheet_pivotTable_select_state&&$("#luckysheet-pivotTable-range-selection-input").val(h.luckysheetfile[Z(h.currentSheetIndex)].name+"!"+tt(h.luckysheet_select_save[0].column[0])+(h.luckysheet_select_save[0].row[0]+1)+":"+tt(h.luckysheet_select_save[0].column[1])+(h.luckysheet_select_save[0].row[1]+1))}else if($e.selectStatus){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop(),x=xt(k),w=x[1],_=x[0],S=x[2],C=vt(b),T=C[1],R=C[0],I=C[2],A=$e.selectRange[$e.selectRange.length-1],E=0,N=0,D=[];A.top>_?(E=_,N=A.top+A.height-_,A.row[1]>A.row_focus&&(A.row[1]=A.row_focus),D=[S,A.row[1]]):A.top==_?(E=_,N=A.top+A.height-_,D=[S,A.row[0]]):(E=A.top,N=w-A.top-1,A.row[0]<A.row_focus&&(A.row[0]=A.row_focus),D=[A.row[0],S]);let F=0,M=0,z=[];A.left>R?(F=R,M=A.left+A.width-R,A.column[1]>A.column_focus&&(A.column[1]=A.column_focus),z=[I,A.column[1]]):A.left==R?(F=R,M=A.left+A.width-R,z=[I,A.column[0]]):(F=A.left,M=T-A.left-1,A.column[0]<A.column_focus&&(A.column[0]=A.column_focus),z=[A.column[0],I]);let O=be.mergeMoveMain(z,D,A,E,N,F,M);O!=null&&(z=O[0],D=O[1],E=O[2],N=O[3],F=O[4],M=O[5]),A.row=D,A.column=z,A.left_move=F,A.width_move=M,A.top_move=E,A.height_move=N,$e.selectRange[$e.selectRange.length-1]=A,Mt($e.selectRange);let H=$e.getTxtByRange($e.selectRange);$("#luckysheet-multiRange-dialog input").val(H)}else if(Ye.selectStatus){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop(),x=xt(k),w=x[1],_=x[0],S=x[2],C=vt(b),T=C[1],R=C[0],I=C[2],A=Ye.selectRange[Ye.selectRange.length-1],E=0,N=0,D=[];A.top>_?(E=_,N=A.top+A.height-_,A.row[1]>A.row_focus&&(A.row[1]=A.row_focus),D=[S,A.row[1]]):A.top==_?(E=_,N=A.top+A.height-_,D=[S,A.row[0]]):(E=A.top,N=w-A.top-1,A.row[0]<A.row_focus&&(A.row[0]=A.row_focus),D=[A.row[0],S]);let F=0,M=0,z=[];A.left>R?(F=R,M=A.left+A.width-R,A.column[1]>A.column_focus&&(A.column[1]=A.column_focus),z=[I,A.column[1]]):A.left==R?(F=R,M=A.left+A.width-R,z=[I,A.column[0]]):(F=A.left,M=T-A.left-1,A.column[0]<A.column_focus&&(A.column[0]=A.column_focus),z=[A.column[0],I]);let O=be.mergeMoveMain(z,D,A,E,N,F,M);O!=null&&(z=O[0],D=O[1],E=O[2],N=O[3],F=O[4],M=O[5]),A.row=D,A.column=z,A.left_move=F,A.width_move=M,A.top_move=E,A.height_move=N,Ye.selectRange[Ye.selectRange.length-1]=A,Mt(Ye.selectRange);let H=Ye.getTxtByRange(Ye.selectRange);p.rangetosheet!=h.currentSheetIndex&&(H=h.luckysheetfile[Z(h.currentSheetIndex)].name+"!"+H),$("#luckysheet-dataVerificationRange-dialog input").val(H)}else if(p.rangestart)p.rangedrag(g);else if(p.rangedrag_row_start)p.rangedrag_row(g);else if(p.rangedrag_column_start)p.rangedrag_column(g);else if(h.luckysheet_rows_selected_status){let b=at(g.pageX,g.pageY)[1]+$("#luckysheet-rows-h").scrollTop();if(b<0)return!1;let k=xt(b),x=k[1],w=k[0],_=k[2],S=h.visibledatacolumn.length-1,C=h.visibledatacolumn[S],T=0,R=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),I=0,A=0,E=[];R.top>w?(I=w,A=R.top+R.height-w,R.row[1]>R.row_focus&&(R.row[1]=R.row_focus),E=[_,R.row[1]]):R.top==w?(I=w,A=R.top+R.height-w,E=[_,R.row[0]]):(I=R.top,A=x-R.top-1,R.row[0]<R.row_focus&&(R.row[0]=R.row_focus),E=[R.row[0],_]),R.row=E,R.top_move=I,R.height_move=A,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=R,et(),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500)}else if(h.luckysheet_cols_selected_status){let b=at(g.pageX,g.pageY)[0]+$("#luckysheet-cols-h-c").scrollLeft();if(b<0)return!1;let k=h.visibledatarow.length-1,x=h.visibledatarow[k],w=0,_=vt(b),S=_[1],C=_[0],T=_[2],R=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),I=0,A=0,E=[];R.left>C?(I=C,A=R.left+R.width-C,R.column[1]>R.column_focus&&(R.column[1]=R.column_focus),E=[T,R.column[1]]):R.left==C?(I=C,A=R.left+R.width-C,E=[T,R.column[0]]):(I=R.left,A=S-R.left-1,R.column[0]<R.column_focus&&(R.column[0]=R.column_focus),E=[R.column[0],T]),R.column=E,R.left_move=I,R.width_move=A,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=R,et(),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500)}else if(h.luckysheet_cell_selected_move){let v=at(g.pageX,g.pageY),b=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),x=v[0]+b,w=v[1]+k,_=$(window).height()+k-h.sheetBarHeight-h.statisticBarHeight,S=$(window).width()+b,C=xt(w),T=C[1],R=C[0],I=C[2],A=vt(x),E=A[1],N=A[0],D=A[2],F=h.luckysheet_cell_selected_move_index[0],M=h.luckysheet_cell_selected_move_index[1],z=h.luckysheet_select_save[0].row[0]-F+I,O=h.luckysheet_select_save[0].row[1]-F+I,H=h.luckysheet_select_save[0].column[0]-M+D,U=h.luckysheet_select_save[0].column[1]-M+D;(z<0||w<0)&&(z=0,O=h.luckysheet_select_save[0].row[1]-h.luckysheet_select_save[0].row[0]),(H<0||x<0)&&(H=0,U=h.luckysheet_select_save[0].column[1]-h.luckysheet_select_save[0].column[0]),(O>=h.visibledatarow[h.visibledatarow.length-1]||w>_)&&(z=h.visibledatarow.length-1-h.luckysheet_select_save[0].row[1]+h.luckysheet_select_save[0].row[0],O=h.visibledatarow.length-1),(U>=h.visibledatacolumn[h.visibledatacolumn.length-1]||x>S)&&(H=h.visibledatacolumn.length-1-h.luckysheet_select_save[0].column[1]+h.luckysheet_select_save[0].column[0],U=h.visibledatacolumn.length-1),N=H-1==-1?0:h.visibledatacolumn[H-1],E=h.visibledatacolumn[U],R=z-1==-1?0:h.visibledatarow[z-1],T=h.visibledatarow[O],$("#luckysheet-cell-selected-move").css({left:N,width:E-N-2,top:R,height:T-R-2,display:"block"})}else if(h.luckysheet_cell_selected_extend){let v=at(g.pageX,g.pageY),b=$("#luckysheet-cell-main").scrollLeft()-5,k=$("#luckysheet-cell-main").scrollTop()-5,x=v[0]+b,w=v[1]+k,_=$(window).height()+k-h.sheetBarHeight-h.statisticBarHeight,S=$(window).width()+b,C=xt(w),T=C[1],R=C[0],I=C[2],A=vt(x),E=A[1],N=A[0],D=A[2],F=h.luckysheet_cell_selected_extend_index[0],M=h.luckysheet_cell_selected_extend_index[1],z=h.luckysheet_select_save[0].row[0],O=h.luckysheet_select_save[0].row[1],H=h.luckysheet_select_save[0].column[0],U=h.luckysheet_select_save[0].column[1];(z<0||w<0)&&(z=0,O=h.luckysheet_select_save[0].row[1]-h.luckysheet_select_save[0].row[0]),(H<0||x<0)&&(H=0,U=h.luckysheet_select_save[0].column[1]-h.luckysheet_select_save[0].column[0]),(O>=h.visibledatarow[h.visibledatarow.length-1]||w>_)&&(z=h.visibledatarow.length-1-h.luckysheet_select_save[0].row[1]+h.luckysheet_select_save[0].row[0],O=h.visibledatarow.length-1),(U>=h.visibledatacolumn[h.visibledatacolumn.length-1]||x>S)&&(H=h.visibledatacolumn.length-1-h.luckysheet_select_save[0].column[1]+h.luckysheet_select_save[0].column[0],U=h.visibledatacolumn.length-1);let X=h.luckysheet_select_save[0].top_move,Y=h.luckysheet_select_save[0].height_move,ee=h.luckysheet_select_save[0].left_move,ae=h.luckysheet_select_save[0].width_move;Math.abs(F-I)>Math.abs(M-D)?I>=z&&I<=O||(h.luckysheet_select_save[0].top_move>=R?(X=R,Y=h.luckysheet_select_save[0].top_move+h.luckysheet_select_save[0].height_move-R):(X=h.luckysheet_select_save[0].top_move,Y=T-h.luckysheet_select_save[0].top_move-1)):D>=H&&D<=U||(h.luckysheet_select_save[0].left_move>=N?(ee=N,ae=h.luckysheet_select_save[0].left_move+h.luckysheet_select_save[0].width_move-N):(ee=h.luckysheet_select_save[0].left_move,ae=E-h.luckysheet_select_save[0].left_move-1)),$("#luckysheet-cell-selected-extend").css({left:ee,width:ae,top:X,height:Y,display:"block"})}else if(h.luckysheet_cols_change_size){let v=at(g.pageX,g.pageY),b=$("#luckysheet-cols-h-c").scrollLeft(),k=v[0]+b,x=$(window).width(),w=h.visibledatarow.length-1,_=h.visibledatarow[w],S=0,C=vt(k),T=C[1],R=C[0],I=C[2];k+3-h.luckysheet_cols_change_size_start[0]>30&&k<x+b-100&&($("#luckysheet-change-size-line").css({left:k}),$("#luckysheet-cols-change-size").css({left:k-2}))}else if(h.luckysheet_rows_change_size){let v=at(g.pageX,g.pageY),b=$("#luckysheet-rows-h").scrollTop(),k=v[1]+b,x=$(window).height(),w=xt(k),_=w[1],S=w[0],C=w[2];k+3-h.luckysheet_rows_change_size_start[0]>19&&k<x+b-200&&($("#luckysheet-change-size-line").css({top:k}),$("#luckysheet-rows-change-size").css({top:k}))}else if(h.chartparam.luckysheetCurrentChartMove){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop(),x=h.chartparam.luckysheetCurrentChartMoveObj.height(),w=h.chartparam.luckysheetCurrentChartMoveObj.width(),_=k-h.chartparam.luckysheetCurrentChartMoveXy[1],S=b-h.chartparam.luckysheetCurrentChartMoveXy[0];if(_<0&&(_=0),_+x+42+6>h.chartparam.luckysheetCurrentChartMoveWinH&&(_=h.chartparam.luckysheetCurrentChartMoveWinH-x-42-6),S<0&&(S=0),S+w+22+36>h.chartparam.luckysheetCurrentChartMoveWinW&&(S=h.chartparam.luckysheetCurrentChartMoveWinW-w-22-36),h.chartparam.luckysheetCurrentChartMoveObj.css({top:_,left:S}),W.freezenhorizontaldata!=null||W.freezenverticaldata!=null){W.scrollAdapt();let C=h.chartparam.luckysheetCurrentChartMoveObj.offset(),T=h.chartparam.luckysheetCurrentChartMoveObj.position();h.chartparam.luckysheetCurrentChartMoveXy=[g.pageX-C.left,g.pageY-C.top,T.left,T.top,$("#luckysheet-scrollbar-x").scrollLeft(),$("#luckysheet-scrollbar-y").scrollTop()]}}else if(h.chartparam.luckysheetCurrentChartResize){let v=$("#luckysheet-cell-main").scrollTop(),b=$("#luckysheet-cell-main").scrollLeft(),k=at(g.pageX,g.pageY),x=k[0]+b,w=k[1]+v;if(x<0||w<0)return!1;let _=h.chartparam.luckysheetCurrentChartResizeObj.height(),S=h.chartparam.luckysheetCurrentChartResizeObj.width(),C=w-h.chartparam.luckysheetCurrentChartResizeXy[1],T=x-h.chartparam.luckysheetCurrentChartResizeXy[0],R=h.chartparam.luckysheetCurrentChartResizeXy[5],I=h.chartparam.luckysheetCurrentChartResizeXy[3],A=h.chartparam.luckysheetCurrentChartResizeXy[4],E=h.chartparam.luckysheetCurrentChartResizeXy[2];(h.chartparam.luckysheetCurrentChartResize=="lm"||h.chartparam.luckysheetCurrentChartResize=="lt"||h.chartparam.luckysheetCurrentChartResize=="lb")&&(A=x,E=h.chartparam.luckysheetCurrentChartResizeXy[2]-T,A>h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[4]-60?(A=h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[4]-60,E=h.chartparam.luckysheetCurrentChartResizeXy[2]-(h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[4]-60-h.chartparam.luckysheetCurrentChartResizeXy[0])):A<=0&&(A=0,E=h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[0])),(h.chartparam.luckysheetCurrentChartResize=="rm"||h.chartparam.luckysheetCurrentChartResize=="rt"||h.chartparam.luckysheetCurrentChartResize=="rb")&&(E=h.chartparam.luckysheetCurrentChartResizeXy[2]+T,E<60?E=60:E>=h.chartparam.luckysheetCurrentChartResizeWinW-h.chartparam.luckysheetCurrentChartResizeXy[4]-22-36&&(E=h.chartparam.luckysheetCurrentChartResizeWinW-h.chartparam.luckysheetCurrentChartResizeXy[4]-22-36)),(h.chartparam.luckysheetCurrentChartResize=="mt"||h.chartparam.luckysheetCurrentChartResize=="lt"||h.chartparam.luckysheetCurrentChartResize=="rt")&&(R=w,I=h.chartparam.luckysheetCurrentChartResizeXy[3]-C,R>h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[5]-60?(R=h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[5]-60,I=h.chartparam.luckysheetCurrentChartResizeXy[3]-(h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[5]-60-h.chartparam.luckysheetCurrentChartResizeXy[1])):R<=0&&(R=0,I=h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[1])),(h.chartparam.luckysheetCurrentChartResize=="mb"||h.chartparam.luckysheetCurrentChartResize=="lb"||h.chartparam.luckysheetCurrentChartResize=="rb")&&(I=h.chartparam.luckysheetCurrentChartResizeXy[3]+C,I<60?I=60:I>=h.chartparam.luckysheetCurrentChartResizeWinH-h.chartparam.luckysheetCurrentChartResizeXy[5]-42-6&&(I=h.chartparam.luckysheetCurrentChartResizeWinH-h.chartparam.luckysheetCurrentChartResizeXy[5]-42-6));let N={top:R,left:A,height:I,width:E};h.chartparam.luckysheetCurrentChartResizeObj.css(N),h.resizeChart(h.chartparam.luckysheetCurrentChart)}else if(Re.move){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop(),x=Re.images[Re.currentImgId];x.isFixedPos&&(b=g.pageX,k=g.pageY);let w=$("#luckysheet-modal-dialog-activeImage").height(),_=$("#luckysheet-modal-dialog-activeImage").width(),S=k-Re.moveXY[1],C=b-Re.moveXY[0],T=0,R=Re.currentWinH-w-42-6,I=0,A=Re.currentWinW-_-22-36;x.isFixedPos&&(T=h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight,R=T+h.cellmainHeight-h.cellMainSrollBarSize-w,I=h.rowHeaderWidth,A=I+h.cellmainWidth-h.cellMainSrollBarSize-_),S<T&&(S=T),S>R&&(S=R),C<I&&(C=I),C>A&&(C=A),$("#luckysheet-modal-dialog-activeImage").css({left:C,top:S})}else if(Re.resize){let v=at(g.pageX,g.pageY),b=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),x=v[0]+b,w=v[1]+k;if(x<0||w<0)return!1;let _=Re.resizeXY,S=w-_[1],C=x-_[0],T=_[5],R=_[3],I=_[4],A=_[2],E=Re.resize,N=Re.images[Re.currentImgId];if(N.isFixedPos){let U=h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight,X=h.rowHeaderWidth;E=="lt"?(I=_[4]-_[6]+C,I<X&&(I=X),I>_[4]-_[6]+_[2]-1&&(I=_[4]-_[6]+_[2]-1),A=_[4]-_[6]+_[2]-I,R=Math.round(A*(_[3]/_[2])),T=_[5]-_[7]+_[3]-R,T<U&&(T=U,R=_[5]-_[7]+_[3]-T,A=Math.round(R*(_[2]/_[3])),I=_[4]-_[6]+_[2]-A),T>_[5]-_[7]+_[3]-1&&(T=_[5]-_[7]+_[3]-1,R=_[5]-_[7]+_[3]-T,A=Math.round(R*(_[2]/_[3])),I=_[4]-_[6]+_[2]-A)):E=="lm"?(I=_[4]-_[6]+C,I<X&&(I=X),I>_[4]-_[6]+_[2]-1&&(I=_[4]-_[6]+_[2]-1),A=_[4]-_[6]+_[2]-I,T=_[5]-_[7],R=_[3]):E=="lb"?(I=_[4]-_[6]+C,I<X&&(I=X),I>_[4]-_[6]+_[2]-1&&(I=_[4]-_[6]+_[2]-1),A=_[4]-_[6]+_[2]-I,R=Math.round(A*(_[3]/_[2])),T=_[5]-_[7],R<1&&(R=1,A=Math.round(R*(_[2]/_[3])),I=_[4]-_[6]+_[2]-A),R>U+h.cellmainHeight-h.cellMainSrollBarSize-T&&(R=U+h.cellmainHeight-h.cellMainSrollBarSize-T,A=Math.round(R*(_[2]/_[3])),I=_[4]-_[6]+_[2]-A)):E=="rt"?(I=_[4]-_[6],A=_[2]+C,A<1&&(A=1),A>X+h.cellmainWidth-h.cellMainSrollBarSize-I&&(A=X+h.cellmainWidth-h.cellMainSrollBarSize-I),R=Math.round(A*(_[3]/_[2])),T=_[5]-_[7]+_[3]-R,T<U&&(T=U,R=_[5]-_[7]+_[3]-T,A=Math.round(R*(_[2]/_[3]))),T>_[5]-_[7]+_[3]-1&&(T=_[5]-_[7]+_[3]-1,R=_[5]-_[7]+_[3]-T,A=Math.round(R*(_[2]/_[3])))):E=="rm"?(I=_[4]-_[6],A=_[2]+C,A<1&&(A=1),A>X+h.cellmainWidth-h.cellMainSrollBarSize-I&&(A=X+h.cellmainWidth-h.cellMainSrollBarSize-I),T=_[5]-_[7],R=_[3]):E=="rb"?(I=_[4]-_[6],A=_[2]+C,A<1&&(A=1),A>X+h.cellmainWidth-h.cellMainSrollBarSize-I&&(A=X+h.cellmainWidth-h.cellMainSrollBarSize-I),R=Math.round(A*(_[3]/_[2])),T=_[5]-_[7],R<1&&(R=1,A=Math.round(R*(_[2]/_[3]))),R>U+h.cellmainHeight-h.cellMainSrollBarSize-T&&(R=U+h.cellmainHeight-h.cellMainSrollBarSize-T,A=Math.round(R*(_[2]/_[3])))):E=="mt"?(I=_[4]-_[6],A=_[2],T=_[5]-_[7]+S,T<U&&(T=U),T>_[5]-_[7]+_[3]-1&&(T=_[5]-_[7]+_[3]-1),R=_[5]-_[7]+_[3]-T):E=="mb"&&(I=_[4]-_[6],A=_[2],T=_[5]-_[7],R=_[3]+S,R<1&&(R=1),R>U+h.cellmainHeight-h.cellMainSrollBarSize-T&&(R=U+h.cellmainHeight-h.cellMainSrollBarSize-T))}else E=="lt"?(I=x,A=_[2]-C,I>_[2]+_[4]-1?(I=_[2]+_[4]-1,A=_[2]+_[0]-(_[2]+_[4]-1)):I<=0&&(I=0,A=_[2]+_[0]),R=Math.round(A*(_[3]/_[2])),T=_[3]+_[1]-R,T>_[3]+_[5]-1?(T=_[3]+_[5]-1,R=_[3]+_[1]-(_[3]+_[5]-1),A=Math.round(R*(_[2]/_[3])),I=_[2]+_[0]-A):T<=0&&(T=0,R=_[3]+_[1],A=Math.round(R*(_[2]/_[3])),I=_[2]+_[0]-A)):E=="lm"?(I=x,A=_[2]-C,I>_[2]+_[4]-1?(I=_[2]+_[4]-1,A=_[2]+_[0]-(_[2]+_[4]-1)):I<=0&&(I=0,A=_[2]+_[0])):E=="lb"?(I=x,A=_[2]-C,I>_[2]+_[4]-1?(I=_[2]+_[4]-1,A=_[2]+_[0]-(_[2]+_[4]-1)):I<=0&&(I=0,A=_[2]+_[0]),R=Math.round(A*(_[3]/_[2])),R<1?(R=1,A=Math.round(R*(_[2]/_[3])),I=_[2]+_[0]-A):R>=Re.currentWinH-_[5]-42-6&&(R=Re.currentWinH-_[5]-42-6,A=Math.round(R*(_[2]/_[3])),I=_[2]+_[0]-A)):E=="rt"?(A=_[2]+C,A<1?A=1:A>=Re.currentWinW-_[4]-22-36&&(A=Re.currentWinW-_[4]-22-36),R=Math.round(A*(_[3]/_[2])),T=_[3]+_[1]-R,T>_[3]+_[5]-1?(T=_[3]+_[5]-1,R=_[3]+_[1]-(_[3]+_[5]-1),A=Math.round(R*(_[2]/_[3]))):T<=0&&(T=0,R=_[3]+_[1],A=Math.round(R*(_[2]/_[3])))):E=="rm"?(A=_[2]+C,A<1?A=1:A>=Re.currentWinW-_[4]-22-36&&(A=Re.currentWinW-_[4]-22-36)):E=="rb"?(A=_[2]+C,A<1?A=1:A>=Re.currentWinW-_[4]-22-36&&(A=Re.currentWinW-_[4]-22-36),R=Math.round(A*(_[3]/_[2])),R<1?(R=1,A=Math.round(R*(_[2]/_[3]))):R>=Re.currentWinH-_[5]-42-6&&(R=Re.currentWinH-_[5]-42-6,A=Math.round(R*(_[2]/_[3])))):E=="mt"?(T=w,R=_[3]-S,T>_[3]+_[5]-1?(T=_[3]+_[5]-1,R=_[3]+_[1]-(_[3]+_[5]-1)):T<=0&&(T=0,R=_[3]+_[1])):E=="mb"&&(R=_[3]+S,R<1?R=1:R>=Re.currentWinH-_[5]-42-6&&(R=Re.currentWinH-_[5]-42-6));$("#luckysheet-modal-dialog-activeImage").css({width:A,height:R,left:I,top:T});let D=A/N.crop.width,F=R/N.crop.height,M=Math.round(N.default.width*D),z=Math.round(N.default.height*F),O=Math.round(N.crop.offsetLeft*D),H=Math.round(N.crop.offsetTop*F);$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-size":M+"px "+z+"px","background-position":-O+"px "+-H+"px"})}else if(Re.cropChange){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop();if(b<0||k<0)return!1;let x=Re.cropChangeXY,w=k-x[1],_=b-x[0],S=Re.images[Re.currentImgId],C=Re.cropChange,T,R,I,A;C=="lt"?(I=S.crop.offsetLeft+_,I<0&&(I=0),I>S.crop.width+S.crop.offsetLeft-1&&(I=S.crop.width+S.crop.offsetLeft-1),T=S.crop.width+S.crop.offsetLeft-I,A=S.crop.offsetTop+w,A<0&&(A=0),A>S.crop.height+S.crop.offsetTop-1&&(A=S.crop.height+S.crop.offsetTop-1),R=S.crop.height+S.crop.offsetTop-A):C=="lm"?(I=S.crop.offsetLeft+_,I<0&&(I=0),I>S.crop.width+S.crop.offsetLeft-1&&(I=S.crop.width+S.crop.offsetLeft-1),T=S.crop.width+S.crop.offsetLeft-I,A=S.crop.offsetTop,R=S.crop.height):C=="lb"?(I=S.crop.offsetLeft+_,I<0&&(I=0),I>S.crop.width+S.crop.offsetLeft-1&&(I=S.crop.width+S.crop.offsetLeft-1),T=S.crop.width+S.crop.offsetLeft-I,A=S.crop.offsetTop,R=S.crop.height+w,R<1&&(R=1),R>S.default.height-A&&(R=S.default.height-A)):C=="rt"?(I=S.crop.offsetLeft,T=S.crop.width+_,T<1&&(T=1),T>S.default.width-I&&(T=S.default.width-I),A=S.crop.offsetTop+w,A<0&&(A=0),A>S.crop.height+S.crop.offsetTop-1&&(A=S.crop.height+S.crop.offsetTop-1),R=S.crop.height+S.crop.offsetTop-A):C=="rm"?(I=S.crop.offsetLeft,T=S.crop.width+_,T<1&&(T=1),T>S.default.width-I&&(T=S.default.width-I),A=S.crop.offsetTop,R=S.crop.height):C=="rb"?(I=S.crop.offsetLeft,T=S.crop.width+_,T<1&&(T=1),T>S.default.width-I&&(T=S.default.width-I),A=S.crop.offsetTop,R=S.crop.height+w,R<1&&(R=1),R>S.default.height-A&&(R=S.default.height-A)):C=="mt"?(I=S.crop.offsetLeft,T=S.crop.width,A=S.crop.offsetTop+w,A<0&&(A=0),A>S.crop.height+S.crop.offsetTop-1&&(A=S.crop.height+S.crop.offsetTop-1),R=S.crop.height+S.crop.offsetTop-A):C=="mb"&&(I=S.crop.offsetLeft,T=S.crop.width,A=S.crop.offsetTop,R=S.crop.height+w,R<1&&(R=1),R>S.default.height-A&&(R=S.default.height-A));let E=S.default.left+I,N=S.default.top+A;S.isFixedPos&&(E=S.fixedLeft+I,N=S.fixedTop+A),$("#luckysheet-modal-dialog-cropping").show().css({width:T,height:R,left:E,top:N}),$("#luckysheet-modal-dialog-cropping .cropping-mask").css({width:S.default.width,height:S.default.height,"background-image":"url("+S.src+")",left:-I,top:-A}),$("#luckysheet-modal-dialog-cropping .cropping-content").css({"background-image":"url("+S.src+")","background-size":S.default.width+"px "+S.default.height+"px","background-position":-I+"px "+-A+"px"}),Re.cropChangeObj={width:T,height:R,offsetLeft:I,offsetTop:A}}else if(Be.move){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop(),x=Be.currentObj.outerHeight(),w=Be.currentObj.outerWidth(),_=k-Be.moveXY[1],S=b-Be.moveXY[0];_<0&&(_=0),_+x+42+6>Be.currentWinH&&(_=Be.currentWinH-x-42-6),S<0&&(S=0),S+w+22+36>Be.currentWinW&&(S=Be.currentWinW-w-22-36),Be.currentObj.css({left:S,top:_})}else if(Be.resize){let v=at(g.pageX,g.pageY),b=v[0]+$("#luckysheet-cell-main").scrollLeft(),k=v[1]+$("#luckysheet-cell-main").scrollTop();if(b<0||k<0)return!1;let x=Be.resizeXY,w=k-x[1],_=b-x[0],S=x[5],C=x[3],T=x[4],R=x[2],I=Be.resize;(I=="lm"||I=="lt"||I=="lb")&&(T=b,R=x[2]-_,T>x[2]+x[4]-60?(T=x[2]+x[4]-60,R=x[2]-(x[2]+x[4]-60-x[0])):T<=0&&(T=0,R=x[2]+x[0])),(I=="rm"||I=="rt"||I=="rb")&&(R=x[2]+_,R<60?R=60:R>=Be.currentWinW-x[4]-22-36&&(R=Be.currentWinW-x[4]-22-36)),(I=="mt"||I=="lt"||I=="rt")&&(S=k,C=x[3]-w,S>x[3]+x[5]-60?(S=x[3]+x[5]-60,C=x[3]-(x[3]+x[5]-60-x[1])):S<=0&&(S=0,C=x[3]+x[1])),(I=="mb"||I=="lb"||I=="rb")&&(C=x[3]+w,C<60?C=60:C>=Be.currentWinH-x[5]-42-6&&(C=Be.currentWinH-x[5]-42-6)),Be.currentObj.css({width:R,height:C,left:T,top:S})}else p.rangeResize?p.rangeResizeDraging(g,p.rangeResizeObj,p.rangeResizexy,p.rangeResize,p.rangeResizeWinW,p.rangeResizeWinH,h.ch_width,h.rh_height):p.rangeMove?p.rangeMoveDraging(g,p.rangeMovexy,p.rangeMoveObj.data("range"),p.rangeMoveObj,h.sheetBarHeight,h.statisticBarHeight):h.chart_selection.rangeResize?h.chart_selection.rangeResizeDraging(g,h.sheetBarHeight,h.statisticBarHeight):h.chart_selection.rangeMove&&h.chart_selection.rangeMoveDraging(g,h.sheetBarHeight,h.statisticBarHeight);h.jfautoscrollTimeout=window.requestAnimationFrame(y)};h.luckysheet_select_status&&(clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500)),h.jfautoscrollTimeout=window.requestAnimationFrame(y)}}),$(document).on("mouseup.luckysheetEvent",function(g){if(fe&&fe.hook&&fe.hook.sheetMouseup){let E=at(g.pageX,g.pageY),N=E[0]+$("#luckysheet-cell-main").scrollLeft(),D=E[1]+$("#luckysheet-cell-main").scrollTop(),F=xt(D),M=F[1],z=F[0],O=F[2],H=vt(N),U=H[1],X=H[0],Y=H[2],ee=be.mergeborer(h.flowdata,O,Y);ee&&(M=ee.row[1],z=ee.row[0],O=ee.row[2],U=ee.column[1],X=ee.column[0],Y=ee.column[2]);let ae=ye.getSheetByIndex(),oe={functionResizeStatus:p.functionResizeStatus,horizontalmoveState:!!W.horizontalmovestate,verticalmoveState:!!W.verticalmovestate,pivotTableMoveState:!!Oe&&Oe.movestate,sheetMoveStatus:h.luckysheet_sheet_move_status,scrollStatus:!!h.luckysheet_scroll_status,selectStatus:!!h.luckysheet_select_status,rowsSelectedStatus:!!h.luckysheet_rows_selected_status,colsSelectedStatus:!!h.luckysheet_cols_selected_status,cellSelectedMove:!!h.luckysheet_cell_selected_move,cellSelectedExtend:!!h.luckysheet_cell_selected_extend,colsChangeSize:!!h.luckysheet_cols_change_size,rowsChangeSize:!!h.luckysheet_rows_change_size,chartMove:!!h.chartparam.luckysheetCurrentChartMove,chartResize:!!h.chartparam.luckysheetCurrentChartResize,rangeResize:!!p.rangeResize,rangeMove:!!p.rangeMove},ie=$("#luckysheetTableContent").get(0).getContext("2d");ut.createHookFunction("sheetMouseup",h.flowdata[O][Y],{r:O,c:Y,start_r:z,start_c:X,end_r:M,end_c:U},ae,oe,ie)}if(h.luckysheet_select_status&&(clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},0),be.luckysheetPaintModelOn&&(wt.pasteHandlerOfPaintModel(h.luckysheet_copy_save),be.luckysheetPaintSingle&&be.cancelPaintModel())),h.luckysheet_select_status=!1,window.cancelAnimationFrame(h.jfautoscrollTimeout),h.luckysheet_scroll_status=!1,$("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","crosshair").end().find(".luckysheet-cs-draghandle").css("cursor","move"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","default"),h.luckysheet_rows_selected_status=!1,h.luckysheet_cols_selected_status=!1,h.luckysheet_model_move_state=!1,p.functionResizeStatus&&(p.functionResizeStatus=!1,$("#luckysheet-wa-calculate-size").removeAttr("style")),W.horizontalmovestate&&(W.horizontalmovestate=!1,$("#luckysheet-freezebar-horizontal").removeClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css("cursor","-webkit-grab"),W.freezenhorizontaldata[4]<=h.columnHeaderHeight&&W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.verticalmovestate&&(W.verticalmovestate=!1,$("#luckysheet-freezebar-vertical").removeClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css("cursor","-webkit-grab"),W.freezenverticaldata[4]<=h.rowHeaderWidth&&W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),!!Oe&&Oe.movestate&&($("#luckysheet-modal-dialog-slider-pivot-move").remove(),Oe.movestate=!1,$("#luckysheet-modal-dialog-pivotTable-list, #luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").css("cursor","default"),Oe.movesave.containerid!="luckysheet-modal-dialog-pivotTable-list"&&$(g.target).closest(".luckysheet-modal-dialog-slider-config-list").length==0&&(Oe.movesave.containerid=="luckysheet-modal-dialog-config-value"&&Oe.resetOrderby(Oe.movesave.obj),Oe.movesave.obj.remove(),Oe.showvaluecolrow(),$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){$(this).find(".luckysheet-slider-list-item-selected").find("i").remove()}),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){let N=$(this).data("index");$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){let D=$(this).find(".luckysheet-slider-list-item-selected");$(this).data("index")==N&&D.find("i").length==0&&D.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')})}),Oe.refreshPivotTable())),h.luckysheet_sheet_move_status&&(h.luckysheet_sheet_move_status=!1,h.luckysheet_sheet_move_data.activeobject.insertBefore($("#luckysheet-sheets-item-clone")),h.luckysheet_sheet_move_data.activeobject.removeAttr("style"),$("#luckysheet-sheets-item-clone").remove(),h.luckysheet_sheet_move_data.cursorobject.css({cursor:"pointer"}),h.luckysheet_sheet_move_data={},ye.reOrderAllSheet()),clearTimeout(h.chartparam.luckysheetCurrentChartMoveTimeout),h.chartparam.luckysheetCurrentChartMove&&(h.chartparam.luckysheetCurrentChartMove=!1,h.chartparam.luckysheetInsertChartTosheetChange)){var y=h.chartparam.luckysheetCurrentChartMoveObj.css("top"),v=h.chartparam.luckysheetCurrentChartMoveObj.css("left"),b=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),x=h.chartparam.luckysheetCurrentChartMoveXy[2],w=h.chartparam.luckysheetCurrentChartMoveXy[3],_=h.chartparam.luckysheetCurrentChartMoveXy[4],S=h.chartparam.luckysheetCurrentChartMoveXy[5],C=h.chartparam.luckysheetCurrentChartMoveObj.find(".luckysheet-modal-dialog-content").attr("id");h.jfredo.push({type:"moveChart",chart_id:C,sheetIndex:h.currentSheetIndex,myTop:y,myLeft:v,scrollTop:k,scrollLeft:b,x,y:w,scrollTop1:S,scrollLeft1:_})}if(h.chartparam.luckysheetCurrentChartResize&&(h.chartparam.luckysheetCurrentChartResize=null,h.chartparam.luckysheetInsertChartTosheetChange)){var T=h.chartparam.luckysheetCurrentChartResizeObj.height(),R=h.chartparam.luckysheetCurrentChartResizeObj.width(),b=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),y=h.chartparam.luckysheetCurrentChartMoveObj.css("top"),v=h.chartparam.luckysheetCurrentChartMoveObj.css("left"),C=h.chartparam.luckysheetCurrentChartResizeObj.find(".luckysheet-modal-dialog-content").attr("id"),I=h.chartparam.luckysheetCurrentChartResizeXy[2],A=h.chartparam.luckysheetCurrentChartResizeXy[3],x=h.chartparam.luckysheetCurrentChartResizeXy[4],w=h.chartparam.luckysheetCurrentChartResizeXy[5],_=h.chartparam.luckysheetCurrentChartResizeXy[6],S=h.chartparam.luckysheetCurrentChartResizeXy[7];h.jfredo.push({type:"resizeChart",chart_id:C,sheetIndex:h.currentSheetIndex,myTop:y,myLeft:v,myHeight:T,myWidth:R,scrollTop:k,scrollLeft:b,x,y:w,myWidth1:I,myHeight1:A,scrollTop1:S,scrollLeft1:_})}if(p.rangeResize&&p.rangeResizeDragged(g,p.rangeResizeObj,p.rangeResize,p.rangeResizexy,p.rangeResizeWinW,p.rangeResizeWinH),Re.move&&Re.moveImgItem(),Re.resize&&Re.resizeImgItem(),Re.cropChange&&Re.cropChangeImgItem(),Be.move){Be.move=!1;let E=Be.currentObj.closest(".luckysheet-postil-show").attr("id"),N=E.split("luckysheet-postil-show_")[1].split("_")[0],D=E.split("luckysheet-postil-show_")[1].split("_")[1],F=xe.deepCopyFlowData(h.flowdata),M=[];F[N][D].ps.left=Be.currentObj.position().left,F[N][D].ps.top=Be.currentObj.position().top,F[N][D].ps.value=Be.currentObj.find(".formulaInputFocus").text(),M.push(N+"_"+D),Be.ref(F,M),$("#"+E).remove(),F[N][D].ps.isshow?(Be.buildPs(N,D,F[N][D].ps),$("#"+E).addClass("luckysheet-postil-show-active"),$("#"+E).find(".luckysheet-postil-dialog-resize").show()):Be.editPs(N,D)}if(Be.resize){Be.resize=null;let E=Be.currentObj.closest(".luckysheet-postil-show").attr("id"),N=E.split("luckysheet-postil-show_")[1].split("_")[0],D=E.split("luckysheet-postil-show_")[1].split("_")[1],F=xe.deepCopyFlowData(h.flowdata),M=[];F[N][D].ps.left=Be.currentObj.position().left,F[N][D].ps.top=Be.currentObj.position().top,F[N][D].ps.width=Be.currentObj.outerWidth(),F[N][D].ps.height=Be.currentObj.outerHeight(),F[N][D].ps.value=Be.currentObj.find(".formulaInputFocus").text(),M.push(N+"_"+D),Be.ref(F,M),$("#"+E).remove(),F[N][D].ps.isshow?(Be.buildPs(N,D,F[N][D].ps),$("#"+E).addClass("luckysheet-postil-show-active"),$("#"+E).find(".luckysheet-postil-dialog-resize").show()):Be.editPs(N,D)}if(h.luckysheet_rows_change_size){h.luckysheet_rows_change_size=!1,$("#luckysheet-change-size-line").hide(),$("#luckysheet-rows-change-size").css("opacity",0),$("#luckysheet-sheettable, #luckysheet-rows-h, #luckysheet-rows-h canvas").css("cursor","default");let E=at(g.pageX,g.pageY),N=$("#luckysheet-rows-h").scrollTop(),D=E[1]+N,F=$(window).height(),M=xt(D),z=M[1],O=M[0],H=M[2],U=D+3-h.luckysheet_rows_change_size_start[0];D+3-h.luckysheet_rows_change_size_start[0]<19&&(U=19),D>=F-200+N&&(U=F-200-h.luckysheet_rows_change_size_start[0]+N);let X=$.extend(!0,{},h.config);X.rowlen==null&&(X.rowlen={}),X.customHeight==null&&(X.customHeight={}),X.customHeight[h.luckysheet_rows_change_size_start[1]]=1;let Y=h.luckysheet_rows_change_size_start[1],ee=!1;h.luckysheet_select_save.length>0&&h.luckysheet_select_save.filter(oe=>oe.row_select).some(oe=>(Y>=oe.row[0]&&Y<=oe.row[1]&&(ee=!0),ee)),ee?h.luckysheet_select_save.filter(oe=>oe.row_select).forEach(oe=>{for(let ie=oe.row[0];ie<=oe.row[1];ie++)X.rowlen[ie]=Math.ceil(U/h.zoomRatio)}):X.rowlen[h.luckysheet_rows_change_size_start[1]]=Math.ceil(U/h.zoomRatio);let ae=Re.moveChangeSize("row",h.luckysheet_rows_change_size_start[1],U);h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"resize",ctrlType:"resizeR",sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curconfig:$.extend(!0,{},X),images:$.extend(!0,{},Re.images),curImages:$.extend(!0,{},ae)})),h.config=X,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,X.rowlen,{k:"rowlen"}),h.luckysheetfile[Z(h.currentSheetIndex)].images=ae,re.saveParam("all",h.currentSheetIndex,ae,{k:"images"}),Re.images=ae,Re.allImagesShow(),_t(h.flowdata.length,null)}if(h.luckysheet_cols_change_size){h.luckysheet_cols_change_size=!1,$("#luckysheet-change-size-line").hide(),$("#luckysheet-cols-change-size").css("opacity",0),$("#luckysheet-sheettable, #luckysheet-cols-h-c, .luckysheet-cols-h-cells, .luckysheet-cols-h-cells canvas").css("cursor","default");let E=at(g.pageX,g.pageY),N=$("#luckysheet-cols-h-c").scrollLeft(),D=E[0]+N,F=$(window).width(),M=h.visibledatarow.length-1,z=h.visibledatarow[M],O=0,H=vt(D),U=H[1],X=H[0],Y=H[2],ee=D+3-h.luckysheet_cols_change_size_start[0],ae=h.defaultcollen;if(h.config.columnlen!=null&&h.config.columnlen[h.luckysheet_cols_change_size_start[1]]!=null&&(ae=h.config.columnlen[h.luckysheet_cols_change_size_start[1]]),Math.abs(ee-ae)<3)return;D+3-h.luckysheet_cols_change_size_start[0]<30&&(ee=30),D>=F-100+N&&(ee=F-100-h.luckysheet_cols_change_size_start[0]+N);let oe=$.extend(!0,{},h.config);oe.columnlen==null&&(oe.columnlen={}),oe.customWidth==null&&(oe.customWidth={}),oe.customWidth[h.luckysheet_cols_change_size_start[1]]=1;let ie=h.luckysheet_cols_change_size_start[1],ue=!1;h.luckysheet_select_save.length>0&&h.luckysheet_select_save.filter(ce=>ce.column_select).some(ce=>(ie>=ce.column[0]&&ie<=ce.column[1]&&(ue=!0),ue)),ue?h.luckysheet_select_save.filter(ce=>ce.column_select).forEach(ce=>{for(let K=ce.column[0];K<=ce.column[1];K++)oe.columnlen[K]=Math.ceil(ee/h.zoomRatio)}):oe.columnlen[h.luckysheet_cols_change_size_start[1]]=Math.ceil(ee/h.zoomRatio);let me=Re.moveChangeSize("column",h.luckysheet_cols_change_size_start[1],ee);h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"resize",ctrlType:"resizeC",sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curconfig:$.extend(!0,{},oe),images:$.extend(!0,{},Re.images),curImages:$.extend(!0,{},me)})),h.config=oe,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,oe.columnlen,{k:"columnlen"}),h.luckysheetfile[Z(h.currentSheetIndex)].images=me,re.saveParam("all",h.currentSheetIndex,me,{k:"images"}),Re.images=me,Re.allImagesShow(),_t(null,h.flowdata[0].length),setTimeout(function(){Le()},1)}if(p.rangeMove&&p.rangeMoveDragged(p.rangeMoveObj),h.luckysheet_cell_selected_move){$("#luckysheet-cell-selected-move").hide(),h.luckysheet_cell_selected_move=!1;let E=at(g.pageX,g.pageY);if(!fl(h.luckysheet_select_save,h.currentSheetIndex))return;let N=$("#luckysheet-cell-main").scrollLeft(),D=$("#luckysheet-cell-main").scrollTop(),F=E[0]+N,M=E[1]+D,z=$(window).height()+D-h.sheetBarHeight-h.statisticBarHeight,O=$(window).width()+N,H=xt(M)[2],U=vt(F)[2],X=h.luckysheet_cell_selected_move_index[0],Y=h.luckysheet_cell_selected_move_index[1];if(H==X&&U==Y)return;let ee=xe.deepCopyFlowData(h.flowdata),ae=h.luckysheet_select_save[h.luckysheet_select_save.length-1],oe=Dt(ae),ie=$.extend(!0,{},h.config);if(ie.merge==null&&(ie.merge={}),ie.rowlen==null&&(ie.rowlen={}),Nt(ie,ae.row[0],ae.row[1],ae.column[0],ae.column[1])){he()?alert(l.noMerge):j.info('<i class="fa fa-exclamation-triangle"></i>',l.noMerge);return}let ue=ae.row[0]-X+H,me=ae.row[1]-X+H,ce=ae.column[0]-Y+U,K=ae.column[1]-Y+U;if(!fl([{row:[ue,me],column:[ce,K]}],h.currentSheetIndex))return;if((ue<0||M<0)&&(ue=0,me=ae.row[1]-ae.row[0]),(ce<0||F<0)&&(ce=0,K=ae.column[1]-ae.column[0]),(me>=h.visibledatarow[h.visibledatarow.length-1]||M>z)&&(ue=h.visibledatarow.length-1-ae.row[1]+ae.row[0],me=h.visibledatarow.length-1),(K>=h.visibledatacolumn[h.visibledatacolumn.length-1]||F>O)&&(ce=h.visibledatacolumn.length-1-ae.column[1]+ae.column[0],K=h.visibledatacolumn.length-1),Nt(ie,ue,me,ce,K)){he()?alert(l.noMerge):j.info('<i class="fa fa-exclamation-triangle"></i>',l.noMerge);return}let G=Vl(h.currentSheetIndex),le=null;for(let _e=ae.row[0];_e<=ae.row[1];_e++){_e in ie.rowlen&&(le=!0);for(let Ee=ae.column[0];Ee<=ae.column[1];Ee++){let Ue=ee[_e][Ee];P(Ue)=="object"&&"mc"in Ue&&Ue.mc.r+"_"+Ue.mc.c in ie.merge&&delete ie.merge[Ue.mc.r+"_"+Ue.mc.c],ee[_e][Ee]=null}}if(ie.borderInfo&&ie.borderInfo.length>0){let _e=[];for(let Ee=0;Ee<ie.borderInfo.length;Ee++){let Ue=ie.borderInfo[Ee].rangeType;if(Ue=="range"){let Pe=ie.borderInfo[Ee].range,Qe=[];for(let gt=0;gt<Pe.length;gt++)Qe=Qe.concat($e.CFSplitRange(Pe[gt],{row:ae.row,column:ae.column},{row:[ue,me],column:[ce,K]},"restPart"));ie.borderInfo[Ee].range=Qe,_e.push(ie.borderInfo[Ee])}else if(Ue=="cell"){let Pe=ie.borderInfo[Ee].value.row_index,Qe=ie.borderInfo[Ee].value.col_index;Pe>=ae.row[0]&&Pe<=ae.row[1]&&Qe>=ae.column[0]&&Qe<=ae.column[1]||_e.push(ie.borderInfo[Ee])}}ie.borderInfo=_e}let ke={};for(let _e=0;_e<oe.length;_e++)for(let Ee=0;Ee<oe[0].length;Ee++){if(G[_e+ae.row[0]+"_"+(Ee+ae.column[0])]){let Pe={rangeType:"cell",value:{row_index:_e+ue,col_index:Ee+ce,l:G[_e+ae.row[0]+"_"+(Ee+ae.column[0])].l,r:G[_e+ae.row[0]+"_"+(Ee+ae.column[0])].r,t:G[_e+ae.row[0]+"_"+(Ee+ae.column[0])].t,b:G[_e+ae.row[0]+"_"+(Ee+ae.column[0])].b}};ie.borderInfo==null&&(ie.borderInfo=[]),ie.borderInfo.push(Pe)}let Ue="";if(oe[_e]!=null&&oe[_e][Ee]!=null&&(Ue=oe[_e][Ee]),P(Ue)=="object"&&"mc"in Ue){let Pe=$.extend(!0,{},Ue.mc);"rs"in Ue.mc?(ke[Pe.r+"_"+Pe.c]=[_e+ue,Ee+ce],Ue.mc.r=_e+ue,Ue.mc.c=Ee+ce,ie.merge[_e+ue+"_"+(Ee+ce)]=Ue.mc):(Ue.mc.r=ke[Pe.r+"_"+Pe.c][0],Ue.mc.c=ke[Pe.r+"_"+Pe.c][1])}ee[_e+ue][Ee+ce]=Ue}le&&(ie=mr(ee,ae.row[0],ae.row[1],ie),ie=mr(ee,ue,me,ie));let se=$.extend(!0,[],h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save);if(se!=null&&se.length>0)for(let _e=0;_e<se.length;_e++){let Ee=se[_e].cellrange,Ue=[];for(let Pe=0;Pe<Ee.length;Pe++){let Qe=$e.CFSplitRange(Ee[Pe],{row:ae.row,column:ae.column},{row:[ue,me],column:[ce,K]},"allPart");Ue=Ue.concat(Qe)}se[_e].cellrange=Ue}let He;h.luckysheet_select_save[0].row_focus==h.luckysheet_select_save[0].row[0]?He=ue:He=me;let ne;h.luckysheet_select_save[0].column_focus==h.luckysheet_select_save[0].column[0]?ne=ce:ne=K;let Me=[];Me.push({row:ae.row,column:ae.column}),Me.push({row:[ue,me],column:[ce,K]}),ae.row=[ue,me],ae.column=[ce,K],ae.row_focus=He,ae.column_focus=ne,Ze(ee,Me,{cfg:ie,RowlChange:le,cdformat:se}),et(),$("#luckysheet-sheettable").css("cursor","default"),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500)}if(h.chart_selection.rangeMove&&h.chart_selection.rangeMoveDragged(),h.chart_selection.rangeResize&&h.chart_selection.rangeResizeDragged(),h.luckysheet_cell_selected_extend){if(h.luckysheet_cell_selected_extend=!1,$("#luckysheet-cell-selected-extend").hide(),!fl(h.luckysheet_select_save,h.currentSheetIndex))return;let E=at(g.pageX,g.pageY),N=$("#luckysheet-cell-main").scrollLeft(),D=$("#luckysheet-cell-main").scrollTop(),F=E[0]+N-5,M=E[1]+D-5,z=$(window).height()+D-h.sheetBarHeight-h.statisticBarHeight,O=$(window).width()+N,H=xt(M),U=H[1],X=H[0],Y=H[2],ee=vt(F),ae=ee[1],oe=ee[0],ie=ee[2],ue=h.luckysheet_cell_selected_extend_index[0],me=h.luckysheet_cell_selected_extend_index[1],ce=h.luckysheet_select_save[h.luckysheet_select_save.length-1],K=ce.row[0],G=ce.row[1],le=ce.column[0],ke=ce.column[1];(K<0||M<0)&&(K=0,G=ce.row[1]-ce.row[0]),(le<0||F<0)&&(le=0,ke=ce.column[1]-ce.column[0]),(G>=h.visibledatarow[h.visibledatarow.length-1]||M>z)&&(K=h.visibledatarow.length-1-ce.row[1]+ce.row[0],G=h.visibledatarow.length-1),(ke>=h.visibledatacolumn[h.visibledatacolumn.length-1]||F>O)&&(le=h.visibledatacolumn.length-1-ce.column[1]+ce.column[0],ke=h.visibledatacolumn.length-1),tr.copyRange={row:$.extend(!0,[],ce.row),column:$.extend(!0,[],ce.column)};let se=tr.typeItemHide();if(!se[0]&&!se[1]&&!se[2]&&!se[3]&&!se[4]&&!se[5]&&!se[6]?tr.applyType="0":tr.applyType="1",Math.abs(ue-Y)>Math.abs(me-ie)){if(Y>=K&&Y<=G)return;if(h.luckysheet_select_save[0].top_move>=X){if(tr.applyRange={row:[Y,ce.row[0]-1],column:ce.column},tr.direction="up",K-=ce.row[0]-Y,Oe.isPivotRange(K,ke)){j.info(l.affectPivot,"");return}}else if(tr.applyRange={row:[ce.row[1]+1,Y],column:ce.column},tr.direction="down",G+=Y-ce.row[1],Oe.isPivotRange(G,ke)){j.info(l.affectPivot,"");return}}else{if(ie>=le&&ie<=ke)return;if(h.luckysheet_select_save[0].left_move>=oe){if(tr.applyRange={row:ce.row,column:[ie,ce.column[0]-1]},tr.direction="left",le-=ce.column[0]-ie,Oe.isPivotRange(G,le)){j.info(l.affectPivot,"");return}}else if(tr.applyRange={row:ce.row,column:[ce.column[1]+1,ie]},tr.direction="right",ke+=ie-ce.column[1],Oe.isPivotRange(G,ke)){j.info(l.affectPivot,"");return}}if(h.config.merge!=null){let He=!1;for(let ne=ce.row[0];ne<=ce.row[1];ne++)for(let Me=ce.column[0];Me<=ce.column[1];Me++){let je=h.flowdata[ne][Me];if(je!=null&&je.mc!=null){He=!0;break}}if(He){he()?alert(l.noMerge):j.info(l.noMerge,"");return}for(let ne=K;ne<=G;ne++)for(let Me=le;Me<=ke;Me++){let je=h.flowdata[ne][Me];if(je!=null&&je.mc!=null){He=!0;break}}if(He){he()?alert(l.noMerge):j.info(l.noMerge,"");return}}ce.row=[K,G],ce.column=[le,ke],tr.update(),tr.createIcon(),$("#luckysheet-cell-selected-move").hide(),$("#luckysheet-sheettable").css("cursor","default"),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500)}}),$(".luckysheet-grid-container, #luckysheet-rightclick-menu").on("contextmenu",function(g){g.preventDefault()}),$("#luckysheet-cell-main div.luckysheet-cs-draghandle").mousedown(function(g){if(he()||h.allowEdit===!1)return;$("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","move").end().find(".luckysheet-cs-draghandle").css("cursor","move"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","move"),h.luckysheet_cell_selected_move=!0,h.luckysheet_scroll_status=!0;let y=at(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft(),b=y[1]+$("#luckysheet-cell-main").scrollTop(),k=xt(b),x=k[0],w=k[1],_=k[2],S=vt(v),C=S[0],T=S[1],R=S[2];h.luckysheet_cell_selected_move_index=[_,R],$("#luckysheet-cell-selected-move").css({left:C,width:T-C-1,top:x,height:w-x-1,display:"block"}),g.stopPropagation()}),$("#luckysheet-cell-main div.luckysheet-cs-fillhandle").mousedown(function(g){he()||h.allowEdit===!1||($("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","crosshair").end().find(".luckysheet-cs-draghandle").css("cursor","crosshair"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","crosshair"),h.luckysheet_cell_selected_extend_time=setTimeout(function(){h.luckysheet_cell_selected_extend=!0,h.luckysheet_scroll_status=!0;let y=at(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft()-5,b=y[1]+$("#luckysheet-cell-main").scrollTop()-5,k=xt(b),x=k[0],w=k[1],_=k[2],S=vt(v),C=S[0],T=S[1],R=S[2];h.luckysheet_cell_selected_extend_index=[_,R],$("#luckysheet-cell-selected-extend").css({left:C,width:T-C-1,top:x,height:w-x-1,display:"block"})},100),g.stopPropagation())}).click(function(){clearTimeout(h.luckysheet_cell_selected_extend_time),event.stopPropagation()}).dblclick(function(){let g=h.luckysheet_select_save[0],y=g.row[0],v=g.row[1],b=g.column[0],k=g.column[1];if(Oe.isPivotRange(y,b))return;let x=!1,w=0;for(let S=v+1;S<h.flowdata.length;S++)if(b-1>=0&&k+1<h.flowdata[0].length){let C=h.flowdata[S][b-1],T=h.flowdata[S][k+1];if(S==v+1)if((C==null||de(C.v))&&(T==null||de(T.v))){x=!1;break}else x=!0,w++;else{if((C==null||de(C.v))&&(T==null||de(T.v)))break;w++}}else if(b-1>=0){let C=h.flowdata[S][b-1];if(S==v+1)if(C==null||de(C.v)){x=!1;break}else x=!0,w++;else{if(C==null||de(C.v))break;w++}}else if(k+1<h.flowdata[0].length){let C=h.flowdata[S][k+1];if(S==v+1)if(C==null||de(C.v)){x=!1;break}else x=!0,w++;else{if(C==null||de(C.v))break;w++}}if(!x||w==0){event.stopPropagation();return}tr.copyRange={row:[y,v],column:[b,k]};let _=tr.typeItemHide();!_[0]&&!_[1]&&!_[2]&&!_[3]&&!_[4]&&!_[5]&&!_[6]?tr.applyType="0":tr.applyType="1",tr.applyRange={row:[v+1,v+w],column:[b,k]},tr.direction="down",h.luckysheet_select_save=[{row:[y,v+w],column:[b,k]}],tr.update(),tr.createIcon(),$("#luckysheet-cell-selected-move").hide(),$("#luckysheet-sheettable").css("cursor","default"),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500),event.stopPropagation()}),$("#luckysheet-bottom-add-row, #luckysheet-bottom-add-row-input, #luckysheet-bottom-return-top").on("mousedown dblclick mouseup",function(g){g.stopPropagation()}),$("#luckysheet-bottom-add-row").on("click",function(g){$("#luckysheet-rightclick-menu").hide(),rt();let y=$(this),v=$("#luckysheet-bottom-add-row-input").val();if(v==""&&(v=100),isNaN(parseInt(v))){he()?alert(n.tipInputNumber):j.info("error",n.tipInputNumber);return}if(v=parseInt(v),v<1||v>100){he()?alert(n.tipInputNumberLimit):j.info("error",n.tipInputNumberLimit);return}Cl("row",h.flowdata.length-1,v)}),$("#luckysheet-bottom-return-top").on("click",function(g){$("#luckysheet-scrollbar-y").scrollTop(0)}),$("#luckysheet-copy-btn, #luckysheet-cols-copy-btn, #luckysheet-paste-btn-title").click(function(g){if($(this).parent().hide(),h.config.merge!=null){let v=!1;for(let b=0;b<h.luckysheet_select_save.length;b++){let k=h.luckysheet_select_save[b].row[0],x=h.luckysheet_select_save[b].row[1],w=h.luckysheet_select_save[b].column[0],_=h.luckysheet_select_save[b].column[1];if(v=Nt(h.config,k,x,w,_),v)break}if(v){he()?alert(l.noPartMerge):j.info(l.noPartMerge,"");return}}let y=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save;if(h.luckysheet_select_save.length>1&&y!=null&&y.length>0){let v=!1,b=$e.getComputeMap();e:for(let k=0;k<h.luckysheet_select_save.length&&!v;k++){let x=h.luckysheet_select_save[k].row[0],w=h.luckysheet_select_save[k].row[1],_=h.luckysheet_select_save[k].column[0],S=h.luckysheet_select_save[k].column[1];for(let C=x;C<=w;C++)for(let T=_;T<=S;T++)if($e.checksCF(C,T,b)!=null){v=!0;continue e}}if(v){he()?alert(l.noMulti):j.info(l.noMulti,"");return}}if(h.luckysheet_select_save.length>1){let v=!0,b=h.luckysheet_select_save[0].row[0],k=h.luckysheet_select_save[0].row[1],x=!0,w=h.luckysheet_select_save[0].column[0],_=h.luckysheet_select_save[0].column[1];for(let S=1;S<h.luckysheet_select_save.length;S++)(h.luckysheet_select_save[S].row[0]!=b||h.luckysheet_select_save[S].row[1]!=k)&&(v=!1),(h.luckysheet_select_save[S].column[0]!=w||h.luckysheet_select_save[S].column[1]!=_)&&(x=!1);if(!v&&!x||jl()){he()?alert(l.noMulti):j.info(l.noMulti,"");return}}wt.copy(g)}),$("#luckysheet-copy-paste, #luckysheet-cols-paste-btn, #luckysheet-paste-btn-title").click(function(g){wt.paste(g,"btn"),$(this).parent().hide()}),$("#luckysheet-chart-btn-title").click(function(){mc()}),$("#luckysheetdatavisual").click(function(){mc(),$("#luckysheet-rightclick-menu").hide()}),$("#luckysheet-pivot-btn-title").click(function(g){!St(h.currentSheetIndex,"usePivotTablereports")||Oe.createPivotTable(g)}),$("#luckysheet-chart-btn-screenshot").click(function(){let g=t.screenshot;if(h.luckysheet_select_save.length==0){he()?alert(g.screenshotTipNoSelection):j.info(g.screenshotTipTitle,g.screenshotTipNoSelection);return}if(h.luckysheet_select_save.length>1){he()?alert(g.screenshotTipHasMulti):j.info(g.screenshotTipTitle,g.screenshotTipHasMulti);return}if(h.config.merge!=null){let E=!1;for(let N=0;N<h.luckysheet_select_save.length;N++){let D=h.luckysheet_select_save[N].row[0],F=h.luckysheet_select_save[N].row[1],M=h.luckysheet_select_save[N].column[0],z=h.luckysheet_select_save[N].column[1];if(E=Nt(h.config,D,F,M,z),E)break}if(E){he()?alert(g.screenshotTipHasMerge):j.info(g.screenshotTipTitle,g.screenshotTipHasMerge);return}}let y=h.luckysheet_select_save[0].row[0],v=h.luckysheet_select_save[0].row[1],b=h.luckysheet_select_save[0].column[0],k=h.luckysheet_select_save[0].column[1],x,w;y-1<0?(x=0,w=h.visibledatarow[v]):(x=h.visibledatarow[y-1],w=h.visibledatarow[v]-h.visibledatarow[y-1]);let _,S;b-1<0?(_=0,S=h.visibledatacolumn[k]):(_=h.visibledatacolumn[b-1],S=h.visibledatacolumn[k]-h.visibledatacolumn[b-1]);let C=$("<canvas>").attr({width:Math.ceil(S*devicePixelRatio),height:Math.ceil(w*devicePixelRatio)}).css({width:S,height:w});tl(_,x,S,w,1,1,null,null,C);let T=C.get(0).getContext("2d");T.beginPath(),T.moveTo(0,0),T.lineTo(0,h.devicePixelRatio*w),T.lineWidth=h.devicePixelRatio*2,T.strokeStyle=Cr.strokeStyle,T.stroke(),T.closePath(),T.beginPath(),T.moveTo(0,0),T.lineTo(h.devicePixelRatio*S,0),T.lineWidth=h.devicePixelRatio*2,T.strokeStyle=Cr.strokeStyle,T.stroke(),T.closePath();let R=new Image,I=C.get(0).toDataURL("image/png");R.src=I,S>w?R.style.width="100%":R.style.height="100%";let A=$(window).height()-200;j.screenshot(g.screenshotTipSuccess,'<div id="luckysheet-confirm-screenshot-save" style="height:'+A+'px;overflow:auto;"></div>',I),$("#luckysheet-confirm-screenshot-save").append(R),C.remove()}),$(document).on("click.luckysheetEvent","a.download",function(){let g=$("#luckysheet-confirm-screenshot-save img").attr("src"),y=t.screenshot,v=atob(g.split(",")[1]),b=v.length,k=new Uint8Array(b);for(let S=0;S<b;S++)k[S]=v.charCodeAt(S);let x=new Blob([k]),w=document.createElement("a");w.setAttribute("href",URL.createObjectURL(x)),w.setAttribute("download",y.screenshotImageName+".png"),w.style.display="none",document.body.appendChild(w),w.click();let _;w.addEventListener("click",_=function(){requestAnimationFrame(function(){URL.revokeObjectURL(w.href)}),w.removeAttribute("href"),w.removeEventListener("click",_)}),document.body.removeChild(w)}),$("#luckysheet-splitColumn-btn-title").click(function(){if(!Bl(h.currentSheetIndex)||h.luckysheet_select_save==null||h.luckysheet_select_save.length==0)return;let g=t.splitText;if(h.luckysheet_select_save.length>1){j.info(g.tipNoMulti,"");return}if(h.luckysheet_select_save[0].column[0]!=h.luckysheet_select_save[0].column[1]){j.info(g.tipNoMultiColumn,"");return}jc.createDialog(),jc.init()}),$("#luckysheet-insertImg-btn-title").click(function(){!St(h.currentSheetIndex,"editObjects")||$("#luckysheet-imgUpload").click()}),$("#luckysheetInsertImage").click(function(){!St(h.currentSheetIndex,"editObjects")||($("#luckysheet-imgUpload").click(),$("#luckysheet-rightclick-menu").hide())}),$("#luckysheet-imgUpload").click(function(g){g.stopPropagation()}),$("#luckysheet-imgUpload").on("change",function(g){if(!St(h.currentSheetIndex,"editObjects",!1))return;let y=g.currentTarget.files[0],v=new FileReader;v.readAsDataURL(y),v.onload=function(b){let k=b.target.result;Re.inserImg(k),$("#luckysheet-imgUpload").val("")}}),$("#luckysheet-insertLink-btn-title").click(function(){!Bl(h.currentSheetIndex)||h.luckysheet_select_save==null||h.luckysheet_select_save.length==0||($r.createDialog(),$r.init())}),$("#luckysheetInsertLink").click(function(){$("#luckysheet-insertLink-btn-title").click(),$("#luckysheet-rightclick-menu").hide()}),$("#luckysheet-dataVerification-btn-title").click(function(){!Bl(h.currentSheetIndex)||h.luckysheet_select_save==null||h.luckysheet_select_save.length==0||(Ye.createDialog(),Ye.init())}),$("#luckysheetDataVerification").click(function(){$("#luckysheet-dataVerification-btn-title").click(),$("#luckysheet-rightclick-menu").hide()}),$("#luckysheetCellFormatRightClickMenu").click(function(){tm()}),$("#luckysheet-freezen-btn-horizontal").click(function(){$.trim($(this).text())==Q().freezen.freezenCancel?(W.saveFrozen("freezenCancel"),W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.freezenhorizontaldata!=null&&(W.cancelFreezenHorizontal(),W.createAssistCanvas(),Le()),W.scrollAdapt()):(W.saveFrozen("freezenRow"),W.freezenverticaldata!=null&&(W.cancelFreezenVertical(),W.createAssistCanvas(),Le()),W.freezenhorizontaldata==null&&(W.createFreezenHorizontal(),W.createAssistCanvas()))}),$("#luckysheet-freezen-btn-vertical").click(function(){W.freezenverticaldata!=null?(W.saveFrozen("freezenCancel"),W.cancelFreezenVertical(),Le()):(W.saveFrozen("freezenColumn"),W.createFreezenVertical()),W.createAssistCanvas()}),$("#luckysheet-rightclick-menu input").on("keydown",function(g){g.stopPropagation()}),$("#luckysheet-modal-dialog-mask").on("click dbclick mousedown mousemove mouseup",function(g){g.stopPropagation(),g.preventDefault()});let d=function(){(document.hidden||document.webkitHidden||document.msHidden)&&(h.iscopyself=!1)};$(document).on("visibilitychange.luckysheetEvent webkitvisibilitychange.luckysheetEvent msvisibilitychange.luckysheetEvent",d).on("mouseleave.luckysheetEvent",function(){h.iscopyself=!1}).on("mousedown.luckysheetEvent",function(g){Be.removeActivePs(),kl(g),$(g.target).closest("#luckysheet-wa-editor").length>0&&parseInt($("#luckysheet-input-box").css("top"))>0&&(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",0,"rangeOfSelect"))}),$("#luckysheet-left-top").click(function(g){!Si(h.currentSheetIndex)||($("#luckysheet-wa-functionbox-confirm").click(),h.luckysheet_select_status=!1,h.luckysheet_select_save=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1],row_focus:0,column_focus:0,row_select:!0,column_select:!0}],et(),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){br()},500),re.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save),g.stopPropagation())}),$("#luckysheet-icon-undo").click(function(g){ba.redo(g)}),$("#luckysheet-icon-redo").click(function(g){ba.undo(g)}),$(document).on("mousedown.luckysheetEvent","div.luckysheet-modal-dialog",function(g){if(!$(g.target).is(".luckysheet-modal-dialog"))return;h.luckysheet_model_move_state=!0,h.luckysheet_model_move_obj=$(g.currentTarget);let y=h.luckysheet_model_move_obj.offset();h.luckysheet_model_xy=[g.pageX-y.left,g.pageY-y.top]}),$(document).on("click.luckysheetEvent",".luckysheet-modal-dialog-title-close, .luckysheet-model-close-btn",function(g){($("#textcolorselect").is(":visible")||$("#cellcolorselect").is(":visible"))&&$("#luckysheet-conditionformat-dialog").show(),$(g.currentTarget).parents(".luckysheet-modal-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide(),$(this).parents(".luckysheet-modal-dialog").hasClass("luckysheet-search-formula")&&(p.dontupdate(),Ht("down",0,"rangeOfSelect")),$(this).parents(".luckysheet-modal-dialog").hasClass("luckysheet-search-formula-parm")&&(p.dontupdate(),Ht("down",0,"rangeOfSelect")),$(this).parents(".luckysheet-modal-dialog").hasClass("luckysheet-search-formula-parm-select")&&(p.dontupdate(),Ht("down",0,"rangeOfSelect")),rt()}),$("#luckysheet_info_detail_title").click(function(){window.open(fe.myFolderUrl,"_self")}),$("#luckysheet-chart-rangeShow").on("mousedown.chartRangeShowMove",".luckysheet-chart-rangeShow-move",function(g){h.chart_selection.rangeMove=!0,h.luckysheet_scroll_status=!0,h.chart_selection.rangeMoveObj=$(this).parent();let y=h.currentChart,v=$(this).parent().attr("id");if(v=="luckysheet-chart-rangeShow-content"){let C=y.rangeArray[0].row[0]+y.rangeSplitArray.content.row[0],T=y.rangeArray[0].column[0]+y.rangeSplitArray.content.column[0];h.chart_selection.rangeMoveIndex=[C,T]}else if(v=="luckysheet-chart-rangeShow-rowtitle"){let C=y.rangeArray[0].row[0]+y.rangeSplitArray.rowtitle.row[0],T=y.rangeArray[0].column[0]+y.rangeSplitArray.rowtitle.column[0];h.chart_selection.rangeMoveIndex=[C,T]}else if(v=="luckysheet-chart-rangeShow-coltitle"){let C=y.rangeArray[0].row[0]+y.rangeSplitArray.coltitle.row[0],T=y.rangeArray[0].column[0]+y.rangeSplitArray.coltitle.column[0];h.chart_selection.rangeMoveIndex=[C,T]}let b=at(g.pageX,g.pageY),k=b[0]+$("#luckysheet-cell-main").scrollLeft(),x=b[1]+$("#luckysheet-cell-main").scrollTop(),w=$(this).data("type");w=="top"?x+=3:w=="right"?k-=3:w=="bottom"?x-=3:w=="left"&&(k+=3);let _=xt(x)[2],S=vt(k)[2];h.chart_selection.rangeMovexy=[_,S],g.stopPropagation()}),$("#luckysheet-chart-rangeShow").on("mousedown.chartRangeShowResize",".luckysheet-chart-rangeShow-resize",function(g){h.chart_selection.rangeResize=$(this).data("type"),h.luckysheet_scroll_status=!0,h.chart_selection.rangeResizeObj=$(this).parent();let y=h.currentChart,v,b,k,x,w=$(this).parent().attr("id");if(w=="luckysheet-chart-rangeShow-content")y.rangeRowCheck.exits?(v=y.rangeArray[0].row[0]+y.rangeSplitArray.content.row[0],b=y.rangeArray[0].row[0]+y.rangeSplitArray.content.row[1]):(v=y.rangeSplitArray.content.row[0],b=y.rangeSplitArray.content.row[0]),y.rangeColCheck.exits?(k=y.rangeArray[0].column[0]+y.rangeSplitArray.content.column[0],x=y.rangeArray[0].column[0]+y.rangeSplitArray.content.column[1]):(k=y.rangeSplitArray.content.column[0],x=y.rangeSplitArray.content.column[1]),h.chart_selection.rangeResizeIndex={row:[v,b],column:[k,x]};else if(w=="luckysheet-chart-rangeShow-rowtitle"){let I=y.rangeArray[0].row[0]+y.rangeSplitArray.rowtitle.row[0],A=y.rangeArray[0].row[0]+y.rangeSplitArray.rowtitle.row[1],E=y.rangeArray[0].column[0]+y.rangeSplitArray.rowtitle.column[0],N=y.rangeArray[0].column[0]+y.rangeSplitArray.rowtitle.column[1];h.chart_selection.rangeResizeIndex={row:[I,A],column:[E,N]}}else if(w=="luckysheet-chart-rangeShow-coltitle"){let I=y.rangeArray[0].row[0]+y.rangeSplitArray.coltitle.row[0],A=y.rangeArray[0].row[0]+y.rangeSplitArray.coltitle.row[1],E=y.rangeArray[0].column[0]+y.rangeSplitArray.coltitle.column[0],N=y.rangeArray[0].column[0]+y.rangeSplitArray.coltitle.column[1];h.chart_selection.rangeResizeIndex={row:[I,A],column:[E,N]}}let _=at(g.pageX,g.pageY),S=_[0]+$("#luckysheet-cell-main").scrollLeft(),C=_[1]+$("#luckysheet-cell-main").scrollTop();h.chart_selection.rangeResize=="lt"?(S+=3,C+=3):h.chart_selection.rangeResize=="lb"?(S+=3,C-=3):h.chart_selection.rangeResize=="rt"?(S-=3,C+=3):h.chart_selection.rangeResize=="rb"&&(S-=3,C-=3);let T=xt(C)[2],R=vt(S)[2];h.chart_selection.rangeResizexy=[T,R],g.stopPropagation()}),$("#luckysheet-wa-calculate-size").mousedown(function(g){let y=g.pageY;p.functionResizeData.y=y,p.functionResizeStatus=!0,p.functionResizeData.calculatebarHeight=h.calculatebarHeight,p.rangetosheet!=null&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1])}),be.initialMenuButton();let f=document.getElementById("testdpidiv").offsetWidth*h.devicePixelRatio,m=document.getElementById("testdpidiv").offsetHeight*h.devicePixelRatio;$(document).on("paste.luckysheetEvent",function(g){if(!he()){if(wt.isPasteAction){$("#luckysheet-rich-text-editor").blur(),wt.isPasteAction=!1;let y=window.clipboardData;y||(y=g.originalEvent.clipboardData);let v=y.getData("text/html")||y.getData("text/plain"),b=!0;if(v.indexOf("luckysheet_copy_action_table")>-1&&h.luckysheet_copy_save.copyRange!=null&&h.luckysheet_copy_save.copyRange.length>0){let x=[],w=new RegExp("<tr.*?>(.*?)</tr>","g"),_=new RegExp("<td.*?>(.*?)</td>","g"),S=v.match(w)||[];for(let N=0;N<S.length;N++){let D=[],F=S[N].match(_);if(F!=null)for(let M=0;M<F.length;M++){let z=F[M].replace(/<td.*?>/g,"").replace(/<\/td>/g,"");D.push(z)}x.push(D)}let C=h.luckysheet_copy_save.copyRange[0].row[0],T=h.luckysheet_copy_save.copyRange[0].row[1],R=h.luckysheet_copy_save.copyRange[0].column[0],I=h.luckysheet_copy_save.copyRange[0].column[1],A=h.luckysheet_copy_save.dataSheetIndex,E;A==h.currentSheetIndex?E=xe.deepCopyFlowData(h.flowdata):E=h.luckysheetfile[Z(A)].data;for(let N=C;N<=T&&!(N-C>x.length-1);N++)for(let D=R;D<=I;D++){let F=E[N][D],M=!1;if(F!=null&&F.mc!=null&&F.mc.rs==null)continue;let z;if(F!=null?F.ct!=null&&F.ct.fa.indexOf("w")>-1?z=E[N][D].v:z=E[N][D].m:z="",z==null&&E[N][D]&&E[N][D].ct&&E[N][D].ct.t=="inlineStr"&&(z=E[N][D].ct.s.map(O=>O.v).join(""),M=!0),z==null&&(z=""),M){let O=$(x[N-C][D-R]).text().replace(/\s|\n/g," "),H=z.replace(/\n/g,"").replace(/\s/g," ");if(O!=H){b=!1;break}}else if(x[N-C][D-R]!=z){b=!1;break}}}let k=Q().fontjson;if(!ut.createHookFunction("rangePasteBefore",h.luckysheet_select_save,v))return;if(v.indexOf("luckysheet_copy_action_table")>-1&&h.luckysheet_copy_save.copyRange!=null&&h.luckysheet_copy_save.copyRange.length>0&&b)h.luckysheet_paste_iscut?(h.luckysheet_paste_iscut=!1,wt.pasteHandlerOfCutPaste(h.luckysheet_copy_save),wt.clearcopy(g)):wt.pasteHandlerOfCopyPaste(h.luckysheet_copy_save);else if(v.indexOf("luckysheet_copy_action_image")>-1)Re.pasteImgItem();else if(v.indexOf("table")>-1){$("#luckysheet-copy-content").html(v);let x=new Array($("#luckysheet-copy-content").find("table tr").length),w=0;$("#luckysheet-copy-content").find("table tr").eq(0).find("td").each(function(){let C=parseInt($(this).attr("colspan"));isNaN(C)&&(C=1),w+=C});for(let C=0;C<x.length;C++)x[C]=new Array(w);let _=0,S={};$("#luckysheet-copy-content").find("table tr").each(function(){let C=$(this),T=0;C.find("td").each(function(){let R=$(this),I={},A=R.text();if($.trim(A).length==0)I.v=null,I.m="";else{let X=it(R.text());I.v=X[2],I.ct=X[1],I.m=X[0]}let E=R.css("background-color");E=="rgba(0, 0, 0, 0)"&&(E=null),I.bg=E;let N=R.css("font-weight");N==400||N=="normal"?I.bl=0:I.bl=1,R.css("font-style")=="normal"?I.it=0:I.it=1;let M=R.css("font-family").split(",");for(let X=0;X<M.length;X++){let Y=$.trim(M[X].toLowerCase());if(Y=k[Y],Y==null)I.ff=0;else{I.ff=Y;break}}let z=Math.round(parseInt(R.css("font-size"))*72/96);I.fs=z;let O=R.css("color");I.fc=O;let H=R.css("text-align");H=="center"?I.ht=0:H=="right"?I.ht=2:I.ht=1;let U=R.css("vertical-align");for(U=="middle"?I.vt=0:U=="top"||U=="text-top"?I.vt=1:I.vt=2;T<w&&x[_][T]!=null;)T++;if(T==w)return!0;if(x[_][T]==null){x[_][T]=I;let X=parseInt(R.attr("rowspan")),Y=parseInt(R.attr("colspan"));isNaN(X)&&(X=1),isNaN(Y)&&(Y=1);let ee=h.luckysheet_select_save[0].row[0]+_,ae=h.luckysheet_select_save[0].column[0]+T;for(let oe=0;oe<X;oe++)for(let ie=0;ie<Y;ie++){if(oe==0){let ue=R.css("border-top");if(ue!=null&&ue.length>0&&ue.substr(0,3).toLowerCase()!="0px"){let me=R.css("border-top-width"),ce=R.css("border-top-style"),K=R.css("border-top-color"),G=be.getQKBorder(me,ce,K);S[_+oe+"_"+(T+ie)]==null&&(S[_+oe+"_"+(T+ie)]={}),S[_+oe+"_"+(T+ie)].t={style:G[0],color:G[1]}}}if(oe==X-1){let ue=R.css("border-bottom");if(ue!=null&&ue.length>0&&ue.substr(0,3).toLowerCase()!="0px"){let me=R.css("border-bottom-width"),ce=R.css("border-bottom-style"),K=R.css("border-bottom-color"),G=be.getQKBorder(me,ce,K);S[_+oe+"_"+(T+ie)]==null&&(S[_+oe+"_"+(T+ie)]={}),S[_+oe+"_"+(T+ie)].b={style:G[0],color:G[1]}}}if(ie==0){let ue=R.css("border-left");if(ue!=null&&ue.length>0&&ue.substr(0,3).toLowerCase()!="0px"){let me=R.css("border-left-width"),ce=R.css("border-left-style"),K=R.css("border-left-color"),G=be.getQKBorder(me,ce,K);S[_+oe+"_"+(T+ie)]==null&&(S[_+oe+"_"+(T+ie)]={}),S[_+oe+"_"+(T+ie)].l={style:G[0],color:G[1]}}}if(ie==Y-1){let ue=R.css("border-right");if(ue!=null&&ue.length>0&&ue.substr(0,3).toLowerCase()!="0px"){let me=R.css("border-right-width"),ce=R.css("border-right-style"),K=R.css("border-right-color"),G=be.getQKBorder(me,ce,K);S[_+oe+"_"+(T+ie)]==null&&(S[_+oe+"_"+(T+ie)]={}),S[_+oe+"_"+(T+ie)].r={style:G[0],color:G[1]}}}oe==0&&ie==0||(x[_+oe][T+ie]={mc:{r:ee,c:ae}})}if(X>1||Y>1){let oe={rs:X,cs:Y,r:ee,c:ae};x[_][T].mc=oe}}if(T++,T==w)return!0}),_++}),h.luckysheet_selection_range=[],wt.pasteHandler(x,S),$("#luckysheet-copy-content").empty()}else if(y.files.length==1&&y.files[0].type.indexOf("image")>-1){let x=new FileReader;x.readAsDataURL(y.files[0]),x.onload=function(w){let _=w.target.result;Re.inserImg(_)};return}else v=y.getData("text/plain"),wt.pasteHandler(v)}else if($(g.target).closest("#luckysheet-rich-text-editor").length>0){g.preventDefault();let y=window.clipboardData;y||(y=g.originalEvent.clipboardData);let v=y.getData("text/plain");document.execCommand("insertText",!1,v)}}}),fe.enablePage&&$("#luckysheet-bottom-page-next").click(function(){let g=fe.pageInfo.queryExps,y=fe.pageInfo.reportId,v=fe.pageInfo.fields,b=fe.pageInfo.mobile,k=fe.pageInfo.frezon,x=fe.pageInfo.currentPage,w=fe.pageInfo.totalPage,_=fe.pageInfo.pageUrl;ut.addDataAjax({queryExps:g,reportId:y,fields:v,mobile:b,frezon:k,pageIndex:x,currentPage:x},h.currentSheetIndex,_,function(){if(fe.pageInfo.currentPage++,fe.pageInfo.totalPage==fe.pageInfo.currentPage){$("#luckysheet-bottom-page-next").hide();let S=we(n.pageInfoFull,{total:fe.total,totalPage:fe.pageInfo.totalPage});$("#luckysheet-bottom-page-info").html(S)}else{let S=we(n.pageInfo,{total:fe.total,totalPage:fe.pageInfo.totalPage,currentPage:fe.pageInfo.currentPage});$("#luckysheet-bottom-page-info").html(S)}})}).mousedown(function(g){g.stopPropagation()}),$("#luckysheet-bottom-bottom-top").click(function(){$("#luckysheet-scrollbar-y").scrollTop(0)}).mousedown(function(g){g.stopPropagation()}),$("#luckysheet-wa-editor,#luckysheet-icon-morebtn-div,.luckysheet-toolbar-button").click(function(g){this.id!="luckysheet-icon-paintformat"&&be.luckysheetPaintModelOn&&be.cancelPaintModel()})}function rb(){let e=We(".luckysheet-multipleRange-show");e.length===void 0&&(e=[e]),e.forEach(a=>{let t=a.id.replace("luckysheet-multipleRange-show-","");h.cooperativeEdit.usernameTimeout["user"+t]===null&&(We(".username",a).style.display="none")})}var am=Ae(()=>{Zf();xr();Or();ta();Os();Hl();Ol();Pn();dl();lr();hl();Dn();zc();hr();Zt();dn();Ml();ul();Rn();Xt();Ln();Ao();Jf();sa();jt();Dr();rm();dt();Rt();Pr();cl();At();An();mn();Vt();ln();lm();Yt();Wt();ar();Kt();Ir();Wr();Mn();ko();bt();Ke();_o()});function nm(){let e=Q().drag;$("#luckysheet-copy-json-head").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length!=0){if(l.length==1){let o={};for(let s=0;s<l[0].length;s++)o[ze(0,s,l)]="";n.push(o)}else for(let o=1;o<l.length;o++){let s={};for(let u=0;u<l[0].length;u++)ze(0,u,l)==null?s[""]=ze(o,u,l):s[ze(0,u,l)]=ze(o,u,l);n.push(s)}wt.copybyformat(t,JSON.stringify(n))}}),$("#luckysheet-copy-json-nohead").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let s=!1;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1];if(s=Nt(h.config,d,f,m,g),s)break}if(s){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length==0)return;let o=h.luckysheet_select_save[0].column[0];for(let s=0;s<l.length;s++){let u={};for(let d=0;d<l[0].length;d++)u[tt(d+o)]=ze(s,d,l);n.push(u)}wt.copybyformat(t,JSON.stringify(n))}),$("#luckysheet-copy-array1").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length!=0){for(let o=0;o<l.length;o++)for(let s=0;s<l[0].length;s++)n.push(ze(o,s,l));wt.copybyformat(t,JSON.stringify(n))}}),$("#luckysheet-copy-array2").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length!=0){for(let o=0;o<l.length;o++){let s=[];for(let u=0;u<l[0].length;u++)s.push(ze(o,u,l));n.push(s)}wt.copybyformat(t,JSON.stringify(n))}}),$("#luckysheet-copy-arraymore-confirm").click(function(t){if(t.target.nodeName==="INPUT")return;if($("body .luckysheet-cols-menu").hide(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let m=!1;for(let g=0;g<h.luckysheet_select_save.length;g++){let y=h.luckysheet_select_save[g].row[0],v=h.luckysheet_select_save[g].row[1],b=h.luckysheet_select_save[g].column[0],k=h.luckysheet_select_save[g].column[1];if(m=Nt(h.config,y,v,b,k),m)break}if(m){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length==0)return;for(let m=0;m<l.length;m++)for(let g=0;g<l[0].length;g++)n.push(l[m][g]);let o=$("#luckysheet-copy-arraymore-row").val(),s=$("#luckysheet-copy-arraymore-col").val();if(o==""&&s==""){wt.copybyformat(t,JSON.stringify(n)),$("body .luckysheet-cols-menu").hide();return}if(o==""?o=1:(o=parseInt(o),o==null&&(o=1)),s==""?s=1:(s=parseInt(s),s==null&&(s=1)),o.toString()=="NaN"||s.toString()=="NaN"){he()?alert(e.inputCorrect):j.info(e.inputCorrect,"");return}if(o<1||s<1){he()?alert(e.notLessOne):j.info(e.notLessOne,"");return}let u=n.length,d=0,f=[];for(let m=0;m<o;m++){let g=[];for(let y=0;y<s;y++)if(g.push(n[d++]),d>=u){wt.copybyformat(t,JSON.stringify(f)),$("body .luckysheet-cols-menu").hide();return}f.push(g)}wt.copybyformat(t,JSON.stringify(f))}),$("#luckysheet-copy-diagonal").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let s=!1;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1];if(s=Nt(h.config,d,f,m,g),s)break}if(s){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length==0)return;let o=l[0].length;for(let s=0;s<l.length&&!(s>=o);s++)n.push(l[s][s]);wt.copybyformat(t,JSON.stringify(n))}),$("#luckysheet-copy-antidiagonal").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let s=!1;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1];if(s=Nt(h.config,d,f,m,g),s)break}if(s){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length==0)return;let o=l[0].length;for(let s=0;s<l.length&&!(s>=o);s++)n.push(l[s][o-s-1]);wt.copybyformat(t,JSON.stringify(n))}),$("#luckysheet-copy-diagonaloffset").click(function(t){if(t.target.nodeName==="INPUT")return;if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let u=!1;for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d].row[0],m=h.luckysheet_select_save[d].row[1],g=h.luckysheet_select_save[d].column[0],y=h.luckysheet_select_save[d].column[1];if(u=Nt(h.config,f,m,g,y),u)break}if(u){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length==0)return;let o=l[0].length,s=parseInt($("#luckysheet-copy-diagonaloffset-value").val());if(s.toString()=="NaN"){he()?alert(e.inputCorrect):j.info(e.inputCorrect,"");return}if(s<0){he()?alert(e.offsetColumnLessZero):j.info(e.offsetColumnLessZero,"");return}s==null&&(s=1);for(let u=0;u<l.length&&!(u+s>=o);u++)n.push(l[u][u+s]);wt.copybyformat(t,JSON.stringify(n))}),$("#luckysheet-copy-boolvalue").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){he()?alert(e.noPartMerge):j.info(e.noPartMerge,"");return}}let l=Dt(h.luckysheet_select_save[0]),n=[];if(l.length!=0){for(let o=0;o<l.length;o++){let s=[];for(let u=0;u<l[0].length;u++){let d=!1,f;P(l[o][u])=="object"?f=l[o][u].v:f=l[o][u],f==null||f==""?d=!1:(f=parseInt(f),f==null||f>0?d=!0:d=!1),s.push(d)}n.push(s)}wt.copybyformat(t,JSON.stringify(n))}}),$("#luckysheet-matrix-turn-up").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[];for(let o=l.length-1;o>=0;o--){let s=[];for(let u=0;u<l[0].length;u++){let d="";l[o]!=null&&l[o][u]!=null&&(d=l[o][u]),s.push(d)}n.push(s)}xe.controlHandler(n)}),$("#luckysheet-matrix-turn-left").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[];for(let o=0;o<l.length;o++){let s=[];for(let u=l[0].length-1;u>=0;u--){let d="";l[o]!=null&&l[o][u]!=null&&(d=l[o][u]),s.push(d)}n.push(s)}xe.controlHandler(n)}),$("#luckysheet-matrix-turn-cw").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[];for(let o=0;o<l[0].length;o++){let s=[];for(let u=l.length-1;u>=0;u--){let d="";l[u]!=null&&l[u][o]!=null&&(d=l[u][o]),s.push(d)}n.push(s)}xe.controlHandlerD(n)}),$("#luckysheet-matrix-turn-anticw").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[];for(let o=l[0].length-1;o>=0;o--){let s=[];for(let u=0;u<l.length;u++){let d="";l[u]!=null&&l[u][o]!=null&&(d=l[u][o]),s.push(d)}n.push(s)}xe.controlHandlerD(n)}),$("#luckysheet-matrix-turn-trans").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[];for(let o=0;o<l[0].length;o++){let s=[];for(let u=0;u<l.length;u++){let d="";l[u]!=null&&l[u][o]!=null&&(d=l[u][o]),s.push(d)}n.push(s)}xe.controlHandlerD(n)});let a=function(t,l){if(t==0)return 0;let n,o;for(n=t,o=(l-1)*n/l+t/(Math.pow(n,l-1)*l);Math.abs(o-n)>1e-6;)n=o,o=(l-1)*n/l+t/(Math.pow(n,l-1)*l);return o};$("#luckysheet-matrix-cal-confirm").click(function(t){if(t.target.nodeName==="INPUT"||t.target.nodeName==="SELECT")return;if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=$("#luckysheet-matrix-cal-type").val(),o=parseInt($("#luckysheet-matrix-cal-value").val());if(o.toString()=="NaN"){he()?alert(e.inputCorrect):j.info(e.inputCorrect,"");return}o==null&&(o=2);let s=[];for(let u=0;u<l.length;u++){let d=[];for(let f=0;f<l[0].length;f++){let m="";l[u]!=null&&l[u][f]!=null&&(m=l[u][f],parseInt(m)!=null&&l[u][f].ct!=null&&l[u][f].ct.t=="n"&&(n=="minus"?m.v=m.v-o:n=="multiply"?m.v=m.v*o:n=="divided"?m.v=Sr(m.v/o,4):n=="power"?m.v=Math.pow(m.v,o):n=="root"?o==2?m.v=Sr(Math.sqrt(m.v),4):o==3&&Math.cbrt?m.v=Sr(Math.cbrt(m.v),4):m.v=Sr(a(m.v,o),4):n=="log"?m.v=Sr(Math.log(m.v)*1e4/Math.log(Math.abs(o)),4):m.v=m.v+o,m.v==null?m.m="":m.m=m.v.toString())),d.push(m)}s.push(d)}xe.controlHandler(s)}),$("#luckysheet-matrix-delezero-row").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[],o=l[0].length;for(let s=0;s<l.length;s++){let u=[],d=!0,f=!0;for(let g=0;g<o;g++){let y="";if(l[s]!=null&&l[s][g]!=null){if(y=l[s][g],(y.v=="0"||y.v==0)&&d)continue;d=!1}u.push(y)}let m=[];if(u.length==o)m=u;else{for(let y=u.length-1;y>=0;y--){let v="";if(u[y]!=null){if(v=u[y],(v.v=="0"||v.v==0)&&f)continue;f=!1}m.unshift(v)}let g=o-m.length;for(let y=0;y<g;y++)m.push("")}n.push(m)}xe.controlHandler(n)}),$("#luckysheet-matrix-delezero-column").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[],o=l.length,s=l[0].length;for(let d=0;d<s;d++){let f=[],m=!0,g=!0;for(let v=0;v<o;v++){let b="";if(l[v]!=null&&l[v][d]!=null){if(b=l[v][d],(b.v=="0"||b.v==0)&&m)continue;m=!1}f.push(b)}let y=[];if(f.length==o)y=f;else{for(let b=f.length-1;b>=0;b--){let k="";if(f[b]!=null){if(k=f[b],(k.v=="0"||k.v==0)&&g)continue;g=!1}y.unshift(k)}let v=o-y.length;for(let b=0;b<v;b++)y.push("")}n.push(y)}let u=[];for(let d=0;d<n[0].length;d++){let f=[];for(let m=0;m<n.length;m++){let g="";n[m]!=null&&n[m][d]!=null&&(g=n[m][d]),f.push(g)}u.push(f)}xe.controlHandler(u)}),$("#luckysheet-matrix-delerpt-row").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[],o=l[0].length;for(let s=0;s<l.length;s++){let u=[],d={};for(let m=0;m<o;m++){let g=null;l[s]!=null&&l[s][m]!=null&&(g=l[s][m],g.v in d||(d[g.v]=[]),d[g.v].push(g))}for(let m=0;m<o;m++){let g=null;l[s]!=null&&l[s][m]!=null&&(g=l[s][m],d[g.v].length==1&&u.push(g))}let f=o-u.length;for(let m=0;m<f;m++)u.push(null);n.push(u)}xe.controlHandler(n)}),$("#luckysheet-matrix-delerpt-column").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){he()?alert(e.noMulti):j.info(e.noMulti,"");return}let l=Dt(h.luckysheet_select_save[0]);if(l.length==0)return;let n=[],o=l.length,s=l[0].length;for(let d=0;d<s;d++){let f=[],m={};for(let y=0;y<o;y++){let v=null;l[y]!=null&&l[y][d]!=null&&(v=l[y][d],v.v in m||(m[v.v]=[]),m[v.v].push(v))}for(let y=0;y<o;y++){let v=null;l[y]!=null&&l[y][d]!=null&&(v=l[y][d],m[v.v].length==1&&f.push(v))}a1=f;let g=o-a1.length;for(let y=0;y<g;y++)a1.push(null);n.push(a1)}let u=[];for(let d=0;d<n[0].length;d++){let f=[];for(let m=0;m<n.length;m++){let g=null;n[m]!=null&&n[m][d]!=null&&(g=n[m][d]),f.push(g)}u.push(f)}xe.controlHandler(u)})}var im=Ae(()=>{Ln();dt();At();Wt();ar();Kt();bt();Ke()});function sm(){if(!Gc){Gc=!0;let t=Q(),l=t.toolbar;$("#luckysheetsheetconfigcolorur").spectrum({showPalette:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!1,showSelectionPalette:!0,maxPaletteSize:10,cancelText:t.sheetconfig.cancelText,chooseText:t.sheetconfig.chooseText,togglePaletteMoreText:l.toolMore,togglePaletteLessText:l.toolLess,clearText:l.clearText,noColorSelectedText:l.noColorSelectedText,palette:[["rgb(0, 0, 0)","rgb(67, 67, 67)","rgb(102, 102, 102)","rgb(204, 204, 204)","rgb(217, 217, 217)","rgb(255, 255, 255)"],["rgb(152, 0, 0)","rgb(255, 0, 0)","rgb(255, 153, 0)","rgb(255, 255, 0)","rgb(0, 255, 0)","rgb(0, 255, 255)","rgb(74, 134, 232)","rgb(0, 0, 255)","rgb(153, 0, 255)","rgb(255, 0, 255)"],["rgb(230, 184, 175)","rgb(244, 204, 204)","rgb(252, 229, 205)","rgb(255, 242, 204)","rgb(217, 234, 211)","rgb(208, 224, 227)","rgb(201, 218, 248)","rgb(207, 226, 243)","rgb(217, 210, 233)","rgb(234, 209, 220)"],["rgb(221, 126, 107)","rgb(234, 153, 153)","rgb(249, 203, 156)","rgb(255, 229, 153)","rgb(182, 215, 168)","rgb(162, 196, 201)","rgb(164, 194, 244)","rgb(159, 197, 232)","rgb(180, 167, 214)","rgb(213, 166, 189)"],["rgb(204, 65, 37)","rgb(224, 102, 102)","rgb(246, 178, 107)","rgb(255, 217, 102)","rgb(147, 196, 125)","rgb(118, 165, 175)","rgb(109, 158, 235)","rgb(111, 168, 220)","rgb(142, 124, 195)","rgb(194, 123, 160)"],["rgb(166, 28, 0)","rgb(204, 0, 0)","rgb(230, 145, 56)","rgb(241, 194, 50)","rgb(106, 168, 79)","rgb(69, 129, 142)","rgb(60, 120, 216)","rgb(61, 133, 198)","rgb(103, 78, 167)","rgb(166, 77, 121)"],["rgb(91, 15, 0)","rgb(102, 0, 0)","rgb(120, 63, 4)","rgb(127, 96, 0)","rgb(39, 78, 19)","rgb(12, 52, 61)","rgb(28, 69, 135)","rgb(7, 55, 99)","rgb(32, 18, 77)","rgb(76, 17, 48)"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463","#9bca63","#fad860","#f3a43b","#60c0dd","#d7504b","#c6e579","#f4e001","#f0805a","#26c0c0","#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8","#cda819","#32a487","#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"]],change:function(n){let o=$(this);n!=null?n=n.toHexString():n="rgb(0, 0, 0)";let s=null;gr.find(".luckysheet-sheets-item-color").length>0&&(s=gr.find(".luckysheet-sheets-item-color").css("background-color")),gr.find(".luckysheet-sheets-item-color").remove(),gr.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+n+';"></div>');let u=Z(h.currentSheetIndex);if(h.luckysheetfile[u].color=n,re.saveParam("all",h.currentSheetIndex,n,{k:"color"}),h.clearjfundo){let d={};d.type="sheetColor",d.sheetIndex=h.currentSheetIndex,d.oldcolor=s,d.color=n,h.jfundo.length=0,h.jfredo.push(d)}}}),$("#luckysheetsheetconfigcolorreset").click(function(){let n=null;gr.find(".luckysheet-sheets-item-color").length>0&&(n=gr.find(".luckysheet-sheets-item-color").css("background-color")),gr.find(".luckysheet-sheets-item-color").remove();let o=Z(h.currentSheetIndex);if(h.luckysheetfile[o].color=null,re.saveParam("all",h.currentSheetIndex,null,{k:"color"}),h.clearjfundo){let s={};s.type="sheetColor",s.sheetIndex=h.currentSheetIndex,s.oldcolor=n,s.color=null,h.jfundo.length=0,h.jfredo.push(s)}})}let e=Z(h.currentSheetIndex);h.luckysheetfile[e].color!=null&&h.luckysheetfile[e].color.length>0&&$("#luckysheetsheetconfigcolorur").spectrum("set",h.luckysheetfile[e].color),$("#luckysheetsheetconfigcolorur").parent().find("span, div, button, input, a").addClass("luckysheet-mousedown-cancel");let a=fe.sheetRightClickConfig;Object.values(a).every(t=>!t)||setTimeout(function(){dr($("#luckysheet-rightclick-sheet-menu"),gr.offset().left+gr.width(),gr.offset().top-18,"leftbottom")},1)}function um(){let a=Q().sheetconfig;Gc=!1,$("#luckysheet-sheet-area").on("mousedown","div.luckysheet-sheets-item",function(f){if(he())return;let m=$(this),g=$(f.target),y=g.closest(".luckysheet-sheets-item");if(f.which=="3"){cm(m,g,f),gr=y,sm();return}y.hasClass("luckysheet-sheets-item-active")&&y.find(".luckysheet-sheets-item-name").attr("contenteditable")=="false"&&(om=setTimeout(function(){h.luckysheet_sheet_move_status=!0,h.luckysheet_sheet_move_data={},h.luckysheet_sheet_move_data.widthlist=[],$("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").each(function(k){k==0?h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())):h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())+h.luckysheet_sheet_move_data.widthlist[k-1])}),h.luckysheet_sheet_move_data.curindex=$("#luckysheet-sheet-area div.luckysheet-sheets-item").index(y);let v=f.pageX;h.luckysheet_sheet_move_data.curleft=v-y.offset().left,h.luckysheet_sheet_move_data.pageX=v,h.luckysheet_sheet_move_data.activeobject=y,h.luckysheet_sheet_move_data.cursorobject=g;let b=y.clone().css("visibility","hidden").attr("id","luckysheet-sheets-item-clone");y.after(b),y.css({position:"absolute",opacity:.8,cursor:"move",transition:"initial","z-index":10})},200))}).on("click","div.luckysheet-sheets-item",function(f){if(he())return;let m=$(this),g=$(f.target);cm(m,g,f),re.keepHighLightBox()});let t=function(f){h.allowEdit!==!1&&(f.attr("contenteditable","true").addClass("luckysheet-mousedown-cancel").data("oldtxt",f.text()),setTimeout(function(){vd(f.get(0))},1))};$("#luckysheet-sheet-area").on("dblclick","span.luckysheet-sheets-item-name",function(f){t($(this))});let l=!0;$("#luckysheet-sheet-area").on("compositionstart","span.luckysheet-sheets-item-name",()=>l=!1),$("#luckysheet-sheet-area").on("compositionend","span.luckysheet-sheets-item-name",()=>l=!0),$("#luckysheet-sheet-area").on("input","span.luckysheet-sheets-item-name",function(){if(h.allowEdit===!1||h.limitSheetNameLength===!1)return;let f=h.defaultSheetNameMaxLength;f!==0&&setTimeout(()=>{l&&$(this).text().length>=f&&setTimeout(()=>{$(this).text($(this).text().substring(0,f));let m=window.getSelection();m.selectAllChildren(this),m.collapseToEnd()},0)},0)}),$("#luckysheet-sheet-area").on("blur","span.luckysheet-sheets-item-name",function(f){if(h.allowEdit===!1)return;if($(this).text().length===0){j.info("",a.sheetNamecannotIsEmptyError),setTimeout(()=>{$(this).text(Wc),t($(this)),$(this).focus()},1);return}let m=$(this),g=m.text(),y=m.data("oldtxt");if(g.length>31||g.charAt(0)=="'"||g.charAt(g.length-1)=="'"||/[\:\\\/\?\*\[\]]+/.test(g)){alert(a.sheetNameSpecCharError),setTimeout(()=>{t($(this)),$(this).focus()},1);return}let v=Z(h.currentSheetIndex);for(let b=0;b<h.luckysheetfile.length;b++)if(v!=b&&h.luckysheetfile[b].name==g){he()?alert(a.tipNameRepeat):j.info("",a.tipNameRepeat),m.text(y).attr("contenteditable","false");return}if(ye.sheetArrowShowAndHide(),h.luckysheetfile[v].name=g,re.saveParam("all",h.currentSheetIndex,g,{k:"name"}),m.attr("contenteditable","false").removeClass("luckysheet-mousedown-cancel"),h.clearjfundo){let b={};b.type="sheetName",b.sheetIndex=h.currentSheetIndex,b.oldtxt=y,b.txt=g,h.jfundo.length=0,h.jfredo.push(b)}}),$("#luckysheet-sheet-area").on("keydown","span.luckysheet-sheets-item-name",function(f){if(h.allowEdit===!1)return;let m=f.keyCode,g=$(this);if(m==nt.ENTER){let y=Z(h.currentSheetIndex);Wc=h.luckysheetfile[y].name||Wc,h.luckysheetfile[y].name=g.text(),g.attr("contenteditable","false")}}),$("#luckysheetsheetconfigrename").click(function(){t(gr.find("span.luckysheet-sheets-item-name")),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigshow").click(function(){$("#luckysheet-sheets-m").click(),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigmoveleft").click(function(){gr.prevAll(":visible").length>0&&(gr.insertBefore(gr.prevAll(":visible").eq(0)),ye.reOrderAllSheet()),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigmoveright").click(function(){gr.nextAll(":visible").length>0&&(gr.insertAfter(gr.nextAll(":visible").eq(0)),ye.reOrderAllSheet()),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigdelete").click(function(f){if($("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),$("#luckysheet-sheet-container-c .luckysheet-sheets-item:visible").length<=1){he()?alert(a.noMoreSheet):j.info(a.noMoreSheet,"");return}let m=Z(h.currentSheetIndex);j.confirm(a.confirmDelete+"\u3010"+h.luckysheetfile[m].name+"\u3011\uFF1F","<span style='color:#9e9e9e;font-size:12px;'>"+a.redoDelete+"</span>",function(){ye.deleteSheet(gr.data("index"))},null),$("#luckysheet-input-box").removeAttr("style")}),$("#luckysheetsheetconfigcopy").click(function(f){ye.copySheet(gr.data("index"),f),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfighide").click(function(){if($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").length==1){he()?alert(a.noHide):j.info("",a.noHide);return}ye.setSheetHide(gr.data("index")),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheet-sheets-add").click(function(f){parseInt($("#luckysheet-input-box").css("top"))>0&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),ye.addNewSheet(f),ye.locationSheet(),$("#luckysheet-input-box").removeAttr("style")});let n=null,o=0,s=0,u=150;$("#luckysheet-sheets-leftscroll").click(function(){let f=$("#luckysheet-sheet-container-c");o=f.scrollLeft(),s=f.scrollLeft()-u,s<=0&&$("#luckysheet-sheet-container .docs-sheet-fade-left").hide(),$("#luckysheet-sheet-container .docs-sheet-fade-right").show(),clearInterval(n),n=setInterval(function(){o-=4,f.scrollLeft(o),o<=s&&clearInterval(n)},1)}),$("#luckysheet-sheets-rightscroll").click(function(){let f=$("#luckysheet-sheet-container-c");o=f.scrollLeft(),s=f.scrollLeft()+u,o>0&&$("#luckysheet-sheet-container .docs-sheet-fade-right").hide(),$("#luckysheet-sheet-container .docs-sheet-fade-left").show(),clearInterval(n),n=setInterval(function(){o+=4,f.scrollLeft(o),o>=s&&clearInterval(n)},1)});let d=!0;$("#luckysheet-sheets-m").click(function(f){parseInt($("#luckysheet-input-box").css("top"))>0&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),$("#luckysheet-sheet-list").html("");let m="";for(let b=0;b<h.luckysheetfile.length;b++){let k=h.luckysheetfile[b],x="",w="";k.status==1&&(x='<i class="fa fa-check" aria-hidden="true"></i>'),k.hide==1&&(x='<i class="fa fa-low-vision" aria-hidden="true"></i>',w+="color:#BBBBBB;"),k.color!=null&&k.color.length>0&&(w+="border-right:4px solid "+k.color+";"),m+=we(vu,{index:k.index,name:k.name,icon:x,style:w})}d?($("#"+h.container).append(we(yu,{item:m})),$("#luckysheet-sheet-list").on("click",".luckysheet-cols-menuitem",function(b){if(he()){alert(a.chartEditNoOpt);return}let k=$(this),x=k.data("index");k.data("index")!=h.currentSheetIndex&&(ye.setSheetShow(x),ye.locationSheet()),re.keepHighLightBox()}),d=!1):$("#luckysheet-sheet-list").html(m);let g=$("#luckysheet-sheet-list"),y=$(this).offset().left-$("#"+h.container).offset().left,v=$(this).height()+$("#luckysheet-sta-content").height()+12;g.css({left:y+"px",bottom:v+"px"}).show(),$("#luckysheet-input-box").removeAttr("style")}),fe.pager&&Fc(fe.pager)}var Gc,gr,om,Wc,cm,hm=Ae(()=>{hr();Zt();jt();dt();Rt();At();Vt();Ll();ar();sa();bt();Ke();xr();hn();Gc=!1,gr=null,om=null,Wc="";cm=function(e,a,t){clearTimeout(om),!(a.hasClass("luckysheet-sheets-item-name")&&a.attr("contenteditable")=="true")&&(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()?setTimeout(function(){p.setCaretPosition(p.rangeSetValueTo.get(0),0,p.rangeSetValueTo.text().length),p.createRangeHightlight(),$("#luckysheet-input-box-index").find(".luckysheet-input-box-index-sheettxt").remove().end().prepend("<span class='luckysheet-input-box-index-sheettxt'>"+ye.getSheetName(p.rangetosheet)+"!</span>").show(),$("#luckysheet-input-box-index").css({left:$("#luckysheet-input-box").css("left"),top:parseInt($("#luckysheet-input-box").css("top"))-20+"px","z-index":$("#luckysheet-input-box").css("z-index")})},1):(parseInt($("#luckysheet-input-box").css("top"))>0&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove()),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),e.addClass("luckysheet-sheets-item-active"),er(t),ye.changeSheet(e.data("index")),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),(a.hasClass("luckysheet-sheets-item-menu")||a.hasClass("fa-sort-desc")||t.which=="3")&&(gr=a.closest(".luckysheet-sheets-item"),sm()))}});function dm(){let a=Q().formula;$("#luckysheet-functionbox-cell").focus(function(){if(!he()&&h.luckysheet_select_save.length>0){let t=h.luckysheet_select_save[h.luckysheet_select_save.length-1],l=t.row_focus,n=t.column_focus;Ar(l,n,h.flowdata,null,!0),p.rangeResizeTo=$("#luckysheet-functionbox-cell")}}).keydown(function(t){if(he())return;let l=t.ctrlKey,n=t.altKey,o=t.shiftKey,s=t.keyCode,u=$("#luckysheet-input-box");if(s==nt.ENTER&&parseInt(u.css("top"))>0)$("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_save=[{row:[h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[0]],column:[h.luckysheetCellUpdate[1],h.luckysheetCellUpdate[1]],row_focus:h.luckysheetCellUpdate[0],column_focus:h.luckysheetCellUpdate[1]}],Ht("down",1,"rangeOfSelect"),$("#luckysheet-rich-text-editor").focus()),t.preventDefault();else if(s==nt.ESC&&parseInt(u.css("top"))>0)p.dontupdate(),Ht("down",0,"rangeOfSelect"),$("#luckysheet-rich-text-editor").focus(),t.preventDefault();else if(s==nt.F4&&parseInt(u.css("top"))>0)p.setfreezonFuc(t),t.preventDefault();else if(s==nt.UP&&parseInt(u.css("top"))>0){if($("#luckysheet-formula-search-c").is(":visible")){let d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").prev();d.length==0&&(d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").last()),$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),d.addClass("luckysheet-formula-search-item-active"),t.preventDefault()}}else if(s==nt.DOWN&&parseInt(u.css("top"))>0){if($("#luckysheet-formula-search-c").is(":visible")){let d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").next();d.length==0&&(d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").first()),$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),d.addClass("luckysheet-formula-search-item-active"),t.preventDefault()}}else s==nt.LEFT&&parseInt(u.css("top"))>0?p.rangeHightlightselected($("#luckysheet-functionbox-cell")):s==nt.RIGHT&&parseInt(u.css("top"))>0?p.rangeHightlightselected($("#luckysheet-functionbox-cell")):(!(s>=112&&s<=123||s<=46||s==144||s==108||t.ctrlKey||t.altKey||t.shiftKey&&(s==37||s==38||s==39||s==40))||s==8||s==32||s==46||t.ctrlKey&&s==86)&&p.functionInputHanddler($("#luckysheet-rich-text-editor"),$("#luckysheet-functionbox-cell"),s)}).click(function(){he()||p.rangeHightlightselected($("#luckysheet-functionbox-cell"))}),$("#luckysheet-wa-functionbox-cancel").click(function(){!$(this).hasClass("luckysheet-wa-calculate-active")||($("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide(),p.dontupdate(),Ht("down",0,"rangeOfSelect"))}),$("#luckysheet-wa-functionbox-confirm").click(function(){!$(this).hasClass("luckysheet-wa-calculate-active")||($("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide(),p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",0,"rangeOfSelect"))}),$("#luckysheet-wa-functionbox-fx").click(function(){if(h.luckysheet_select_save.length==0){he()?alert(a.tipSelectCell):j.info(a.tipSelectCell,"");return}let t=h.luckysheet_select_save[h.luckysheet_select_save.length-1],l=t.row_focus,n=t.column_focus;Ar(l,n,h.flowdata);let o=h.flowdata[l][n];if(o!=null&&o.f!=null){let s=p.getfunctionParam(o.f);s.fn!=null?aa.formulaParmDialog(s.fn,s.param):aa.formulaListDialog()}else $("#luckysheet-rich-text-editor").html('<span dir="auto" class="luckysheet-formula-text-color">=</span>'),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),aa.formulaListDialog();aa.init()}),$("#luckysheet-formula-functionrange").on("mousedown",".luckysheet-copy",function(t){p.rangeMove=!0,h.luckysheet_scroll_status=!0,p.rangeMoveObj=$(this).parent(),p.rangeMoveIndex=$(this).parent().attr("rangeindex");let l=at(t.pageX,t.pageY),n=l[0]+$("#luckysheet-cell-main").scrollLeft(),o=l[1]+$("#luckysheet-cell-main").scrollTop();$("#luckysheet-formula-functionrange-highlight-"+p.rangeMoveIndex).find(".luckysheet-selection-copy-hc").css("opacity",.13);let s=$(this).data("type");s=="top"?o+=3:s=="right"?n-=3:s=="bottom"?o-=3:s=="left"&&(n+=3);let u=xt(o)[2],d=vt(n)[2];p.rangeMovexy=[u,d],$("#luckysheet-sheettable").css("cursor","move"),t.stopPropagation()}),$("#luckysheet-formula-functionrange").on("mousedown",".luckysheet-highlight",function(t){p.rangeResize=$(this).data("type"),p.rangeResizeIndex=$(this).parent().attr("rangeindex");let l=at(t.pageX,t.pageY),n=$("#luckysheet-cell-main").scrollLeft(),o=$("#luckysheet-cell-main").scrollTop(),s=l[0]+n,u=l[1]+o;p.rangeResizeObj=$(this).parent(),$("#luckysheet-formula-functionrange-highlight-"+p.rangeResizeIndex).find(".luckysheet-selection-copy-hc").css("opacity",.13),p.rangeResize=="lt"?(s+=3,u+=3):p.rangeResize=="lb"?(s+=3,u-=3):p.rangeResize=="rt"?(s-=3,u+=3):p.rangeResize=="rb"&&(s-=3,u-=3);let d=xt(u),f=d[1],m=d[0],g=d[2],y=vt(s),v=y[1],b=y[0],k=y[2],x=p.rangeResizeObj.position();p.rangeResizexy=[b,m,p.rangeResizeObj.width(),p.rangeResizeObj.height(),x.left+n,x.top+o,v,f],p.rangeResizeWinH=$("#luckysheet-cell-main")[0].scrollHeight,p.rangeResizeWinW=$("#luckysheet-cell-main")[0].scrollWidth,h.luckysheet_scroll_status=!0,t.stopPropagation()})}var fm=Ae(()=>{lr();dn();jt();Rn();Lc();Pr();At();Vt();ar();bt();Ke()});function mm(){$("#luckysheet-rows-h").mousedown(function(e){if(!Si(h.currentSheetIndex))return;Be.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Re.cancelActiveImgItem();let t=at(e.pageX,e.pageY)[1]+$("#luckysheet-rows-h").scrollTop(),l=xt(t),n=l[1],o=l[0],s=l[2],u=h.visibledatacolumn.length-1,d=h.visibledatacolumn[u],f=0;if($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),e.which=="3"){let b=!1;for(let k=0;k<h.luckysheet_select_save.length;k++){let x=h.luckysheet_select_save[k];if(x.row!=null&&s>=x.row[0]&&s<=x.row[1]&&x.column[0]==0&&x.column[1]==h.flowdata[0].length-1){b=!0;break}}if(b)return}let m=o,g=n-o-1,y=[s,s];h.luckysheet_scroll_status=!0;let v=$("#luckysheet-input-box");if(parseInt(v.css("top"))>0)if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()||$("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let b=be.mergeMoveMain([0,u],y,{row_focus:s,column_focus:0},m,g,f,d);if(b!=null&&(y=b[1],m=b[2],g=b[3]),e.shiftKey){let k=p.func_selectedrange,x=0,w=0,_=[];k.top>o?(x=o,w=k.top+k.height-o,k.row[1]>k.row_focus&&(k.row[1]=k.row_focus),_=[s,k.row[1]]):k.top==o?(x=o,w=k.top+k.height-o,_=[s,k.row[0]]):(x=k.top,w=n-k.top-1,k.row[0]<k.row_focus&&(k.row[0]=k.row_focus),_=[k.row[0],s]);let S=be.mergeMoveMain([0,u],_,{row_focus:s,column_focus:0},x,w,f,d);S!=null&&(_=S[1],x=S[2],w=S[3]),k.row=_,k.top_move=x,k.height_move=w,p.func_selectedrange=k}else if(e.ctrlKey&&$("#luckysheet-rich-text-editor").find("span").last().text()!=","){let k=$("#luckysheet-rich-text-editor").text()+",";if(k.length>0&&k.substr(0,1)=="="){if(k=p.functionHTMLGenerate(k),window.getSelection){let x=window.getSelection();p.functionRangeIndex=[$(x.anchorNode).parent().index(),x.anchorOffset]}else{let x=document.selection.createRange();p.functionRangeIndex=x}$("#luckysheet-rich-text-editor").html(k),p.canceFunctionrangeSelected(),p.createRangeHightlight()}p.rangestart=!1,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-functionbox-cell").html(k),p.rangeHightlightselected($("#luckysheet-rich-text-editor")),p.israngeseleciton(),p.func_selectedrange={left:$t(0)[0],width:$t(0)[1]-$t(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0}}else p.func_selectedrange={left:$t(0)[0],width:$t(0)[1]-$t(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0};if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton())p.rangeSetValue({row:y,column:[null,null]});else if($("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let k=kt(h.currentSheetIndex,{row:y,column:[0,u]},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(k)}p.rangedrag_row_start=!0,p.rangestart=!1,p.rangedrag_column_start=!1,$("#luckysheet-formula-functionrange-select").css({left:f,width:d-f-1,top:m,height:g}).show(),$("#luckysheet-formula-help-c").hide(),ll(f,m,d-f-1,g,y,[0,u]),setTimeout(function(){let x=window.getSelection().anchorNode,w;$("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible")?(w=$("#luckysheet-rich-text-editor"),p.rangechangeindex=p.data_parm_index):w=$(x).closest("div");let _=w.find("span[rangeindex='"+p.rangechangeindex+"']");p.setCaretPosition(_.get(0),0,_.html().length)},1);return}else p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_rows_selected_status=!0;else h.luckysheet_rows_selected_status=!0;if(h.luckysheet_rows_selected_status){if(e.shiftKey){let b=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),k=0,x=0,w=[];b.top>o?(k=o,x=b.top+b.height-o,b.row[1]>b.row_focus&&(b.row[1]=b.row_focus),w=[s,b.row[1]]):b.top==o?(k=o,x=b.top+b.height-o,w=[s,b.row[0]]):(k=b.top,x=n-b.top-1,b.row[0]<b.row_focus&&(b.row[0]=b.row_focus),w=[b.row[0],s]),b.row=w,b.top_move=k,b.height_move=x,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=b}else e.ctrlKey?h.luckysheet_select_save.push({left:$t(0)[0],width:$t(0)[1]-$t(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0,row_select:!0}):(h.luckysheet_select_save.length=0,h.luckysheet_select_save.push({left:$t(0)[0],width:$t(0)[1]-$t(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0,row_select:!0}));et(),re.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}Lo(),setTimeout(function(){clearTimeout(h.countfuncTimeout),br()},101)}).mousemove(function(e){if(h.luckysheet_rows_selected_status||h.luckysheet_rows_change_size||h.luckysheet_select_status){$("#luckysheet-rows-h-hover").hide();return}let t=at(e.pageX,e.pageY)[1]+$("#luckysheet-rows-h").scrollTop(),l=xt(t),n=l[1],o=l[0],s=l[2];$("#luckysheet-rows-h-hover").css({top:o,height:n-o-1,display:"block"}),t<n-1&&t>=n-5?$("#luckysheet-rows-change-size").css({top:n-3,opacity:0}):$("#luckysheet-rows-change-size").css("opacity",0)}).mouseleave(function(e){$("#luckysheet-rows-h-hover").hide(),$("#luckysheet-rows-change-size").css("opacity",0)}).mouseup(function(e){if(e.which==3){if(he())return;$("#luckysheet-cols-rows-shift").hide(),h.luckysheetRightHeadClickIs="row",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.row),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.height),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.top),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.bottom),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-data").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="block";let a=fe.cellRightClickConfig;if(!a.copy&&!a.copyAs&&!a.paste&&!a.insertRow&&!a.deleteRow&&!a.hideRow&&!a.rowHeight&&!a.clear&&!a.matrix&&!a.sort&&!a.filter&&!a.chart&&!a.image&&!a.link&&!a.data&&!a.cellFormat)return;We("#luckysheet-top-left-add-selected").style.display=a.insertRow?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=a.insertRow?"block":"none",We("#luckysheet-del-selected").style.display=a.deleteRow?"block":"none",We("#luckysheet-hide-selected").style.display=a.hideRow?"block":"none",We("#luckysheet-show-selected").style.display=a.hideRow?"block":"none",We("#luckysheet-column-row-width-selected").style.display=a.rowHeight?"block":"none",!a.copy&&!a.copyAs&&!a.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!a.insertRow&&!a.deleteRow&&!a.hideRow&&!a.rowHeight&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!a.insertRow&&!a.deleteRow&&!a.hideRow&&!a.rowHeight&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none"),!a.clear&&!a.matrix&&!a.sort&&!a.filter&&!a.chart&&!a.image&&!a.link&&!a.data&&!a.cellFormat&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none"),ra($("#luckysheet-rightclick-menu"),$(this).offset().left+46,e.pageY),h.luckysheet_cols_menu_status=!0;let t=$.extend(!0,{},h.config);t.rowlen==null&&(t.rowlen={});let l=t.rowlen[h.luckysheet_select_save[0].row[0]]==null?h.defaultrowlen:t.rowlen[h.luckysheet_select_save[0].row[0]],n=!0;for(let o=0;o<h.luckysheet_select_save.length;o++){let s=h.luckysheet_select_save[o],u=s.row[0],d=s.row[1];for(let f=u;f<=d;f++)if((t.rowlen[f]==null?h.defaultrowlen:t.rowlen[f])!=l){n=!1;break}}n?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(l):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}}),$("#luckysheet-cols-h-c").mousedown(function(e){if(!Si(h.currentSheetIndex))return;Be.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Re.cancelActiveImgItem();let t=at(e.pageX,e.pageY)[0]+$(this).scrollLeft(),l=h.visibledatarow.length-1,n=h.visibledatarow[l],o=0,s=vt(t),u=s[1],d=s[0],f=s[2];if(h.orderbyindex=f,$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),e.which=="3"){let b=!1;for(let k=0;k<h.luckysheet_select_save.length;k++){let x=h.luckysheet_select_save[k];if(x.column!=null&&f>=x.column[0]&&f<=x.column[1]&&x.row[0]==0&&x.row[1]==h.flowdata.length-1){b=!0;break}}if(b)return}let m=d,g=u-d-1,y=[f,f];h.luckysheet_scroll_status=!0;let v=$("#luckysheet-input-box");if(parseInt(v.css("top"))>0)if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()||$("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let b=be.mergeMoveMain(y,[0,l],{row_focus:0,column_focus:f},o,n,m,g);if(b!=null&&(y=b[0],m=b[4],g=b[5]),e.shiftKey){let k=p.func_selectedrange,x=0,w=0,_=[];k.left>d?(x=d,w=k.left+k.width-d,k.column[1]>k.column_focus&&(k.column[1]=k.column_focus),_=[f,k.column[1]]):k.left==d?(x=d,w=k.left+k.width-d,_=[f,k.column[0]]):(x=k.left,w=u-k.left-1,k.column[0]<k.column_focus&&(k.column[0]=k.column_focus),_=[k.column[0],f]);let S=be.mergeMoveMain(_,[0,l],{row_focus:0,column_focus:f},o,n,x,w);S!=null&&(_=S[0],x=S[4],w=S[5]),k.column=_,k.left_move=x,k.width_move=w,p.func_selectedrange=k}else if(e.ctrlKey&&$("#luckysheet-rich-text-editor").find("span").last().text()!=","){let k=$("#luckysheet-rich-text-editor").text()+",";if(k.length>0&&k.substr(0,1)=="="){if(k=p.functionHTMLGenerate(k),window.getSelection){let x=window.getSelection();p.functionRangeIndex=[$(x.anchorNode).parent().index(),x.anchorOffset]}else{let x=document.selection.createRange();p.functionRangeIndex=x}$("#luckysheet-rich-text-editor").html(k),p.canceFunctionrangeSelected(),p.createRangeHightlight()}p.rangestart=!1,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-functionbox-cell").html(k),p.rangeHightlightselected($("#luckysheet-rich-text-editor")),p.israngeseleciton(),p.func_selectedrange={left:m,width:g,top:Qt(0)[0],height:Qt(0)[1]-Qt(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:n-o-1,row:[0,l],column:y,row_focus:0,column_focus:f}}else p.func_selectedrange={left:m,width:g,top:Qt(0)[0],height:Qt(0)[1]-Qt(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:n-o-1,row:[0,l],column:y,row_focus:0,column_focus:f};if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton())p.rangeSetValue({row:[null,null],column:y});else if($("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let k=kt(h.currentSheetIndex,{row:[0,l],column:y},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(k)}p.rangedrag_column_start=!0,p.rangestart=!1,p.rangedrag_row_start=!1,$("#luckysheet-formula-functionrange-select").css({left:m,width:g,top:o,height:n-o-1}).show(),$("#luckysheet-formula-help-c").hide(),ll(m,o,g,n-o-1,[0,l],y);return}else p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_cols_selected_status=!0;else h.luckysheet_cols_selected_status=!0;if(h.luckysheet_cols_selected_status){if(e.shiftKey){let b=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),k=0,x=0,w=[];b.left>d?(k=d,x=b.left+b.width-d,b.column[1]>b.column_focus&&(b.column[1]=b.column_focus),w=[f,b.column[1]]):b.left==d?(k=d,x=b.left+b.width-d,w=[f,b.column[0]]):(k=b.left,x=u-b.left-1,b.column[0]<b.column_focus&&(b.column[0]=b.column_focus),w=[b.column[0],f]),b.column=w,b.left_move=k,b.width_move=x,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=b}else e.ctrlKey?h.luckysheet_select_save.push({left:m,width:g,top:Qt(0)[0],height:Qt(0)[1]-Qt(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:n-o-1,row:[0,l],column:y,row_focus:0,column_focus:f,column_select:!0}):(h.luckysheet_select_save.length=0,h.luckysheet_select_save.push({left:m,width:g,top:Qt(0)[0],height:Qt(0)[1]-Qt(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:n-o-1,row:[0,l],column:y,row_focus:0,column_focus:f,column_select:!0}));et(),re.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}Lo(),setTimeout(function(){clearTimeout(h.countfuncTimeout),br()},101),h.luckysheet_cols_menu_status&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),h.luckysheet_cols_menu_status=!1),e.stopPropagation()}).mousemove(function(e){if(h.luckysheet_cols_selected_status||h.luckysheet_select_status){$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide();return}if(h.luckysheet_cols_menu_status||h.luckysheet_cols_change_size)return;let t=at(e.pageX,e.pageY)[0]+$("#luckysheet-cols-h-c").scrollLeft(),l=vt(t),n=l[1],o=l[0],s=l[2];$("#luckysheet-cols-h-hover").css({left:o,width:n-o-1,display:"block"}),$("#luckysheet-cols-menu-btn").css({left:n-19,display:"block"}),$("#luckysheet-cols-change-size").css({left:n-5}),t<n&&t>=n-5?($("#luckysheet-cols-change-size").css({opacity:0}),$("#luckysheet-cols-menu-btn").hide()):($("#luckysheet-change-size-line").hide(),$("#luckysheet-cols-change-size").css("opacity",0))}).mouseleave(function(e){h.luckysheet_cols_menu_status||h.luckysheet_cols_change_size||($("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-cols-change-size").css("opacity",0))}).mouseup(function(e){if(e.which==3){if(he())return;h.luckysheetRightHeadClickIs="column",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.column),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.width),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.left),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.right),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-data").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="block";let a=fe.cellRightClickConfig;if(!a.copy&&!a.copyAs&&!a.paste&&!a.insertColumn&&!a.deleteColumn&&!a.hideColumn&&!a.columnWidth&&!a.clear&&!a.matrix&&!a.sort&&!a.filter&&!a.chart&&!a.image&&!a.link&&!a.data&&!a.cellFormat)return;We("#luckysheet-top-left-add-selected").style.display=a.insertColumn?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=a.insertColumn?"block":"none",We("#luckysheet-del-selected").style.display=a.deleteColumn?"block":"none",We("#luckysheet-hide-selected").style.display=a.hideColumn?"block":"none",We("#luckysheet-show-selected").style.display=a.hideColumn?"block":"none",We("#luckysheet-column-row-width-selected").style.display=a.columnWidth?"block":"none",!a.copy&&!a.copyAs&&!a.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!a.insertColumn&&!a.deleteColumn&&!a.hideColumn&&!a.columnWidth&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!a.insertColumn&&!a.deleteColumn&&!a.hideColumn&&!a.columnWidth&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none"),!a.clear&&!a.matrix&&!a.sort&&!a.filter&&!a.chart&&!a.image&&!a.link&&!a.data&&!a.cellFormat&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none"),ra($("#luckysheet-rightclick-menu"),e.pageX,$(this).offset().top+18),h.luckysheet_cols_menu_status=!0;let t=$.extend(!0,{},h.config);t.columnlen==null&&(t.columnlen={});let l=t.columnlen[h.luckysheet_select_save[0].column[0]]==null?h.defaultcollen:t.columnlen[h.luckysheet_select_save[0].column[0]],n=!0;for(let o=0;o<h.luckysheet_select_save.length;o++){let s=h.luckysheet_select_save[o],u=s.column[0],d=s.column[1];for(let f=u;f<=d;f++)if((t.columnlen[f]==null?h.defaultcollen:t.columnlen[f])!=l){n=!1;break}}n?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(l):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}}),$("#luckysheet-rows-change-size").mousedown(function(e){Be.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Re.cancelActiveImgItem(),$("#luckysheet-input-box").hide(),$("#luckysheet-rows-change-size").css({opacity:1});let t=at(e.pageX,e.pageY)[1]+$("#luckysheet-rows-h").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),n=$("#luckysheet-cell-main").width(),o=xt(t),s=o[1],u=o[0],d=o[2];h.luckysheet_rows_change_size=!0,h.luckysheet_scroll_status=!0,$("#luckysheet-change-size-line").css({height:"1px","border-width":"0 0px 1px 0",top:s-3,left:0,width:l+n,display:"block",cursor:"ns-resize"}),$("#luckysheet-sheettable, #luckysheet-rows-h, #luckysheet-rows-h canvas").css("cursor","ns-resize"),h.luckysheet_rows_change_size_start=[u,d],$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-rows-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),e.stopPropagation()}),$("#luckysheet-cols-change-size").mousedown(function(e){Be.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Re.cancelActiveImgItem(),$("#luckysheet-input-box").hide(),$("#luckysheet-cols-change-size").css({opacity:1});let a=at(e.pageX,e.pageY),t=$("#luckysheet-cols-h-c").scrollLeft(),l=$("#luckysheet-cell-main").scrollTop(),n=$("#luckysheet-cell-main").height(),o=a[0]+t,s=h.visibledatarow.length-1,u=h.visibledatarow[s],d=0,f=vt(o),m=f[1],g=f[0],y=f[2];h.luckysheet_cols_change_size=!0,h.luckysheet_scroll_status=!0,$("#luckysheet-change-size-line").css({height:n+l,"border-width":"0 1px 0 0",top:0,left:m-3,width:"1px",display:"block",cursor:"ew-resize"}),$("#luckysheet-sheettable, #luckysheet-cols-h-c, .luckysheet-cols-h-cells, .luckysheet-cols-h-cells canvas").css("cursor","ew-resize"),h.luckysheet_cols_change_size_start=[g,y],$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),h.luckysheet_cols_dbclick_times=0,e.stopPropagation()}).dblclick(function(){lb()}),$("#luckysheet-cols-menu-btn").click(function(e){let a=$("#luckysheet-rightclick-menu"),t=$(this).offset();$("#luckysheet-cols-rows-shift").show(),h.luckysheetRightHeadClickIs="column",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.column),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.left),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.right),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-data").hide(),$("#luckysheet-cols-rows-shift").show(),$("#luckysheet-cols-rows-handleincell").hide(),We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-shift .luckysheet-menuseparator").style.display="block";let l=fe.cellRightClickConfig;!l.copy&&!l.copyAs&&!l.paste&&!l.insertColumn&&!l.deleteColumn&&!l.hideColumn&&!l.columnWidth&&!l.sort||(We("#luckysheet-top-left-add-selected").style.display=l.insertColumn?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=l.insertColumn?"block":"none",We("#luckysheet-del-selected").style.display=l.deleteColumn?"block":"none",We("#luckysheet-hide-selected").style.display=l.hideColumn?"block":"none",We("#luckysheet-show-selected").style.display=l.hideColumn?"block":"none",We("#luckysheet-column-row-width-selected").style.display=l.columnWidth?"block":"none",!l.copy&&!l.copyAs&&!l.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!l.insertColumn&&!l.deleteColumn&&!l.hideColumn&&!l.columnWidth&&(We("#luckysheet-cols-rows-shift .luckysheet-menuseparator").style.display="none")),!l.insertColumn&&!l.deleteColumn&&!l.hideColumn&&!l.columnWidth&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none"),l.sort||(We("#luckysheet-cols-rows-shift .luckysheet-menuseparator").style.display="none"),ra(a,t.left,t.top+18),h.luckysheet_cols_menu_status=!0)}),$("#luckysheet-top-left-add-selected").click(function(e){if(e.target.nodeName==="INPUT")return;$("#luckysheet-rightclick-menu").hide(),rt();let a=Q(),t=a.drag,l=a.info;if(h.luckysheet_select_save.length>1){he()?alert(t.noMulti):j.info(t.noMulti,"");return}let n=$(this),o=n.find("input").val();if(!L(o)){he()?alert(l.tipInputNumber):j.info(l.tipInputNumber,"");return}if(o=parseInt(o),o<1||o>100){he()?alert(l.tipInputNumberLimit):j.info(l.tipInputNumberLimit,"");return}let s=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][0];!ut.createHookFunction("rowInsertBefore",s,o,"lefttop")||Cl(h.luckysheetRightHeadClickIs,s,o,"lefttop")}),$("#luckysheetColsRowsHandleAdd_row").click(function(e){if($("#luckysheet-rightclick-menu").hide(),rt(),h.allowEdit===!1)return;let a=h.luckysheet_select_save[0].row[0];!ut.createHookFunction("rowInsertBefore",a,1,"lefttop")||Cl("row",a,1,"lefttop")}),$("#luckysheetColsRowsHandleAdd_column").click(function(e){if($("#luckysheet-rightclick-menu").hide(),rt(),h.allowEdit===!1)return;let a=h.luckysheet_select_save[0].column[0];Cl("column",a,1,"lefttop")}),$(".luckysheetColsRowsHandleAdd_custom").click(function(e){$("#luckysheet-rightclick-menu").hide();let a=fe.cellRightClickConfig,t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].column[0];if(a.customs[Number(e.currentTarget.dataset.index)])try{a.customs[Number(e.currentTarget.dataset.index)].onClick(e,event,{rowIndex:t,columnIndex:l})}catch(n){console.error("custom click error",n)}}),$("#luckysheet-bottom-right-add-selected").click(function(e){if(e.target.nodeName==="INPUT")return;$("#luckysheet-rightclick-menu").hide(),rt();let a=Q(),t=a.drag,l=a.info;if(h.luckysheet_select_save.length>1){he()?alert(t.noMulti):j.info(t.noMulti,"");return}let n=$(this),o=n.find("input").val();if(!L(o)){he()?alert(l.tipInputNumber):j.info(l.tipInputNumber,"");return}if(o=parseInt(o),o<1||o>100){he()?alert(l.tipInputNumberLimit):j.info(l.tipInputNumberLimit,"");return}let s=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][1];!ut.createHookFunction("rowInsertBefore",s,o,"rightbottom")||Cl(h.luckysheetRightHeadClickIs,s,o,"rightbottom")}),$("#luckysheet-del-selected, #luckysheet-del-selected_t").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?he()?alert(a.noMulti):j.info(a.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(he()?alert(a.noMulti):j.info(a.noMulti,""));return}let t=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][0],l=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][1];!ut.createHookFunction("rowDeleteBefore",t,l)||Na(h.luckysheetRightHeadClickIs,t,l)}),$("#luckysheet-delRows").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?he()?alert(a.noMulti):j.info(a.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(he()?alert(a.noMulti):j.info(a.noMulti,""));return}let t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1];!ut.createHookFunction("rowDeleteBefore",t,l)||Na("row",t,l)}),$("#luckysheet-delCols").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?he()?alert(a.noMulti):j.info(a.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(he()?alert(a.noMulti):j.info(a.noMulti,""));return}let t=h.luckysheet_select_save[0].column[0],l=h.luckysheet_select_save[0].column[1];Na("column",t,l)}),$("#luckysheet-hide-selected").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?he()?alert(a.noMulti):j.info(a.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(he()?alert(a.noMulti):j.info(a.noMulti,""));return}if(h.luckysheetRightHeadClickIs=="row"){if(!St(h.currentSheetIndex,"formatRows"))return;let t=$.extend(!0,{},h.config);t.rowhidden==null&&(t.rowhidden={});for(let l=0;l<h.luckysheet_select_save.length;l++){let n=h.luckysheet_select_save[l].row[0],o=h.luckysheet_select_save[l].row[1];for(let s=n;s<=o;s++)t.rowhidden[s]=0}if(h.clearjfundo){let l={};l.type="showHidRows",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,t.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length)}else if(h.luckysheetRightHeadClickIs=="column"){if(!St(h.currentSheetIndex,"formatColumns"))return;let t=$.extend(!0,{},h.config);t.colhidden==null&&(t.colhidden={});for(let l=0;l<h.luckysheet_select_save.length;l++){let n=h.luckysheet_select_save[l].column[0],o=h.luckysheet_select_save[l].column[1];for(let s=n;s<=o;s++)t.colhidden[s]=0}if(h.clearjfundo){let l={};l.type="showHidCols",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,t.colhidden,{k:"colhidden"}),_t(h.flowdata.length,h.flowdata[0].length)}}),$("#luckysheet-show-selected").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?he()?alert(a.noMulti):j.info(a.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(he()?alert(a.noMulti):j.info(a.noMulti,""));return}if(h.luckysheetRightHeadClickIs=="row"){if(!St(h.currentSheetIndex,"formatRows"))return;let t=$.extend(!0,{},h.config);if(t.rowhidden==null)return;for(let l=0;l<h.luckysheet_select_save.length;l++){let n=h.luckysheet_select_save[l].row[0],o=h.luckysheet_select_save[l].row[1];for(let s=n;s<=o;s++)delete t.rowhidden[s]}if(h.clearjfundo){let l={};l.type="showHidRows",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,t.rowhidden,{k:"rowhidden"}),_t(h.flowdata.length,h.flowdata[0].length)}else if(h.luckysheetRightHeadClickIs=="column"){if(!St(h.currentSheetIndex,"formatColumns"))return;let t=$.extend(!0,{},h.config);if(t.colhidden==null)return;for(let l=0;l<h.luckysheet_select_save.length;l++){let n=h.luckysheet_select_save[l].column[0],o=h.luckysheet_select_save[l].column[1];for(let s=n;s<=o;s++)delete t.colhidden[s]}if(h.clearjfundo){let l={};l.type="showHidCols",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,re.saveParam("cg",h.currentSheetIndex,t.colhidden,{k:"colhidden"}),_t(h.flowdata.length,h.flowdata[0].length)}}),$("#luckysheet-delCellsMoveLeft").click(function(e){$("body .luckysheet-cols-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){he()?alert(a.noMulti):j.info(a.noMulti,"");return}let t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1],n=h.luckysheet_select_save[0].column[0],o=h.luckysheet_select_save[0].column[1];rn("moveLeft",t,l,n,o)}),$("#luckysheet-delCellsMoveUp").click(function(e){$("body .luckysheet-cols-menu").hide(),rt();let a=Q().drag;if(h.luckysheet_select_save.length>1){he()?alert(a.noMulti):j.info(a.noMulti,"");return}let t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1],n=h.luckysheet_select_save[0].column[0],o=h.luckysheet_select_save[0].column[1];rn("moveUp",t,l,n,o)}),$("#luckysheet-delete-text").click(function(){if(!!fl(h.luckysheet_select_save,h.currentSheetIndex)&&($("#luckysheet-rightclick-menu").hide(),rt(),h.allowEdit!==!1&&h.luckysheet_select_save.length>0)){let e=xe.deepCopyFlowData(h.flowdata),a=!1;for(let t=0;t<h.luckysheet_select_save.length;t++){let l=h.luckysheet_select_save[t].row[0],n=h.luckysheet_select_save[t].row[1],o=h.luckysheet_select_save[t].column[0],s=h.luckysheet_select_save[t].column[1];if(Nt(h.config,l,n,o,s)){a=!0;break}}if(a){let t=Q().drag;he()?alert(t.noPartMerge):j.info(t.noPartMerge,"");return}for(let t=0;t<h.luckysheet_select_save.length;t++){let l=h.luckysheet_select_save[t].row[0],n=h.luckysheet_select_save[t].row[1],o=h.luckysheet_select_save[t].column[0],s=h.luckysheet_select_save[t].column[1];for(let u=l;u<=n;u++)for(let d=o;d<=s;d++)Oe.isPivotRange(u,d)||(P(e[u][d])=="object"?(delete e[u][d].m,delete e[u][d].v,e[u][d].f!=null&&(delete e[u][d].f,p.delFunctionGroup(u,d,h.currentSheetIndex),delete e[u][d].spl),e[u][d].ct!=null&&e[u][d].ct.t=="inlineStr"&&delete e[u][d].ct):e[u][d]=null)}Ze(e,h.luckysheet_select_save),$("#luckysheet-rich-text-editor").html("")}}),$("#luckysheet-column-row-width-selected").click(function(e){if(e.target.nodeName==="INPUT")return;$("#luckysheet-rightclick-menu").hide(),rt();let a=parseInt($(this).closest(".luckysheet-cols-menuitem").find("input[type='number']").val().trim()),t=Q().info;if(isNaN(a)){j.info("\u53EA\u5141\u8BB8\u4F7F\u7528\u6570\u5B57\u6765\u8BBE\u7F6E\u884C\u5217\u7684\u5BBD\u9AD8!","");return}let l=$.extend(!0,{},h.config),n,o=null;if(h.luckysheetRightHeadClickIs=="row"){if(!St(h.currentSheetIndex,"formatRows"))return;if(a<0||a>545){he()?alert(t.tipRowHeightLimit):j.info(t.tipRowHeightLimit,"");return}n="resizeR",l.rowlen==null&&(l.rowlen={});for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1];for(let f=u;f<=d;f++)l.rowlen[f]=a,o=Re.moveChangeSize("row",f,a)}}else if(h.luckysheetRightHeadClickIs=="column"){if(!St(h.currentSheetIndex,"formatColumns"))return;if(a<0||a>2038){he()?alert(t.tipColumnWidthLimit):j.info(t.tipColumnWidthLimit,"");return}n="resizeC",l.columnlen==null&&(l.columnlen={});for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].column[0],d=h.luckysheet_select_save[s].column[1];for(let f=u;f<=d;f++)l.columnlen[f]=a,o=Re.moveChangeSize("column",f,a)}}h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"resize",ctrlType:n,sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curconfig:$.extend(!0,{},l),images:$.extend(!0,{},Re.images),curImages:$.extend(!0,{},o)})),h.config=l,h.luckysheetfile[Z(h.currentSheetIndex)].config=h.config,h.luckysheetfile[Z(h.currentSheetIndex)].images=o,re.saveParam("all",h.currentSheetIndex,o,{k:"images"}),Re.images=o,Re.allImagesShow(),h.luckysheetRightHeadClickIs=="row"?(re.saveParam("cg",h.currentSheetIndex,l.rowlen,{k:"rowlen"}),_t(h.flowdata.length,null)):h.luckysheetRightHeadClickIs=="column"&&(re.saveParam("cg",h.currentSheetIndex,l.columnlen,{k:"columnlen"}),_t(null,h.flowdata[0].length))})}function lb(){h.luckysheet_cols_change_size=!1,$("#luckysheet-change-size-line").hide(),$("#luckysheet-cols-change-size").css("opacity",0),$("#luckysheet-sheettable, #luckysheet-cols-h-c, .luckysheet-cols-h-cells, .luckysheet-cols-h-cells canvas").css("cursor","default");let e=at(event.pageX,event.pageY),a=$("#luckysheet-cols-h-c").scrollLeft(),t=e[0]+a,l=vt(t)[2],n=xe.deepCopyFlowData(h.flowdata),o=$("#luckysheetTableContent").get(0).getContext("2d"),s=$.extend(!0,{},h.config);s.columnlen==null&&(s.columnlen={});let u={},d=$("#luckysheet-cell-main").scrollTop(),f=h.luckysheetTableContentHW[1],m=lt(h.visibledatarow,d),g=lt(h.visibledatarow,d+f);g+=g-m,g>=n.length&&(g=n.length-1);for(let y=0;y<h.luckysheet_select_save.length;y++){let v=h.luckysheet_select_save[y].column[0],b=h.luckysheet_select_save[y].column[1];if(l<v||l>b){if(l in u)continue;let k=h.defaultcollen;for(let x=m;x<=g;x++){let w=n[x][l];if(w==null||de(w.v)&&!wr(w))continue;let _=$t(l)[1]-$t(l)[0]-2,S=wl(w,o,{r:x,c:l,cellWidth:_}),C=0;S!=null&&(C=S.textWidthAll),C+6>k&&(k=C+6)}k!=h.defaultcollen&&(s.columnlen[l]=k,s.customWidth&&delete s.customWidth[l]),u[l]=1}else for(let k=v;k<=b;k++){if(k in u)continue;let x=h.defaultcollen;for(let w=m;w<=g;w++){let _=n[w][k];if(_==null||de(_.v)&&!wr(_))continue;let S=$t(k)[1]-$t(k)[0]-2,C=wl(_,o,{r:w,c:k,cellWidth:S}),T=0;C!=null&&(T=C.textWidthAll),T+6>x&&(x=T+6)}x!=h.defaultcollen&&(s.columnlen[k]=x,s.customWidth&&delete s.customWidth[k]),u[k]=1}}Gr(h.flowdata[0].length,h.flowdata.length,h.flowdata,s,h.luckysheet_select_save,"resizeC","columnlen")}var pm=Ae(()=>{ta();Hl();Ol();lr();Zt();Wr();Xt();dt();Rt();Pr();At();An();Vt();ln();Yt();Wt();ar();Kt();bt();cl();Ml();ca();Dr();Ke();xr()});function Vo(e,a,t,l){if($("#luckysheet-formula-search-c").is(":visible")&&(e=="up"||e=="down")){let n;e=="down"?(n=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").next(),n.length==0&&(n=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").first())):e=="up"&&(n=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").prev(),n.length==0&&(n=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").last())),$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),n.addClass("luckysheet-formula-search-item-active"),l.preventDefault()}else if($("#luckysheet-formula-functionrange-select").is(":visible")){if(a&&t)ea(e,"rangeOfFormula");else if(a)en(e,"rangeOfFormula");else if(t){let n=e,o=1;e=="up"&&(n="down",o=-1),e=="left"&&(n="right",o=-1),Fa(n,o,"rangeOfFormula")}else{let n=e,o=1;e=="up"&&(n="down",o=-1),e=="left"&&(n="right",o=-1),Ht(n,o,"rangeOfFormula")}l.preventDefault()}else if(p.israngeseleciton()){let n=$(window.getSelection().anchorNode);if(n.parent().next().text()==null||n.parent().next().text()==""){let o=$("#luckysheet-input-box #luckysheet-input-box-index").text(),s=p.getcellrange(o);s==null&&(s=p.getcellrange($("#luckysheet-input-box-index").text()));let u=s.row[0],d=s.row[1],f=s.column[0],m=s.column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],b=f-1==-1?0:h.visibledatacolumn[f-1];if(p.func_selectedrange={left:b,width:v-b-1,top:y,height:g-y-1,left_move:b,width_move:v-b-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f},p.rangeSetValue({row:[u,d],column:[f,m]}),p.rangestart=!0,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,a&&t)ea(e,"rangeOfFormula");else if(a)en(e,"rangeOfFormula");else if(t){let k=e,x=1;e=="up"&&(k="down",x=-1),e=="left"&&(k="right",x=-1),Fa(k,x,"rangeOfFormula")}else{let k=e,x=1;e=="up"&&(k="down",x=-1),e=="left"&&(k="right",x=-1),Ht(k,x,"rangeOfFormula")}l.preventDefault()}}else if(!a&&!t){let n=$(window.getSelection().anchorNode),o=window.getSelection().anchorOffset;e=="up"?n.parent().is("span")&&n.parent().next().length==0&&o>0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",-1,"rangeOfSelect"),l.preventDefault()):n.is("#luckysheet-rich-text-editor")&&n.context.childElementCount==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",-1,"rangeOfSelect"),l.preventDefault()):n.parent().is("#luckysheet-rich-text-editor")&&n.context.length==o&&(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",-1,"rangeOfSelect"),l.preventDefault()):e=="down"?n.parent().is("span")&&n.parent().next().length==0&&o>0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",1,"rangeOfSelect"),l.preventDefault()):n.is("#luckysheet-rich-text-editor")&&n.context.childElementCount==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",1,"rangeOfSelect"),l.preventDefault()):n.parent().is("#luckysheet-rich-text-editor")&&n.context.length==o&&(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("down",1,"rangeOfSelect"),l.preventDefault()):e=="left"?n.parent().is("span")&&n.parent().prev().length==0&&o==0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",-1,"rangeOfSelect"),l.preventDefault()):n.is("#luckysheet-rich-text-editor")&&o==1?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",-1,"rangeOfSelect"),l.preventDefault()):n.parent().is("#luckysheet-rich-text-editor")&&o==0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",-1,"rangeOfSelect"),l.preventDefault()):p.rangeHightlightselected($("#luckysheet-rich-text-editor")):e=="right"&&(n.parent().is("span")&&n.parent().next().length==0&&o>0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",1,"rangeOfSelect"),l.preventDefault()):n.is("#luckysheet-rich-text-editor")&&n.context.childElementCount==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",1,"rangeOfSelect"),l.preventDefault()):n.parent().is("#luckysheet-rich-text-editor")&&n.context.length==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",1,"rangeOfSelect"),l.preventDefault()):p.rangeHightlightselected($("#luckysheet-rich-text-editor")))}}function ym(){let a=Q().drag;$("#luckysheet-input-box").click(function(){p.rangeHightlightselected($("#luckysheet-rich-text-editor"))}).add("#"+h.container).on("keydown",function(t){let l=t.ctrlKey,n=t.altKey,o=t.shiftKey,s=t.keyCode;if($("#luckysheet-modal-dialog-mask").is(":visible")||$(t.target).hasClass("luckysheet-mousedown-cancel")||$(t.target).hasClass("sp-input")||parseInt($("#luckysheet-input-box").css("top"))>0&&$(t.target).closest(".luckysheet-input-box").length>0&&s!=nt.ENTER&&s!=nt.TAB&&s!=nt.UP&&s!=nt.DOWN&&s!=nt.LEFT&&s!=nt.RIGHT){let d=$(window.getSelection().anchorNode);if((d.parent().is("#luckysheet-helpbox-cell")||d.is("#luckysheet-helpbox-cell"))&&s==nt.ENTER){let f=$("#luckysheet-helpbox-cell").text();if(p.iscelldata(f)){let m=p.getcellrange(f);h.luckysheet_select_save=[{row:m.row,column:m.column,row_focus:m.row[0],column_focus:m.column[0]}],et(),$("#luckysheet-helpbox-cell").blur();let g=$("#luckysheet-cell-main").scrollLeft(),y=$("#luckysheet-cell-main").scrollTop(),v=$("#luckysheet-cell-main").height(),b=$("#luckysheet-cell-main").width(),k=h.visibledatarow[m.row[1]],x=m.row[0]-1==-1?0:h.visibledatarow[m.row[0]-1],w=h.visibledatacolumn[m.column[1]],_=m.column[0]-1==-1?0:h.visibledatacolumn[m.column[0]-1];w-g-b+20>0?$("#luckysheet-scrollbar-x").scrollLeft(w-b+20):_-g-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(_-20),k-y-v+20>0?$("#luckysheet-scrollbar-y").scrollTop(k-v+20):x-y-20<0&&$("#luckysheet-scrollbar-y").scrollTop(x-20)}}return}if($("#luckysheet-modal-dialog-mask").is(":visible")||$(t.target).hasClass("luckysheet-mousedown-cancel")||$(t.target).hasClass("formulaInputFocus"))return;let u=$("#luckysheet-input-box");if((n||t.metaKey)&&s==nt.ENTER&&parseInt(u.css("top"))>0){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Td(h.flowdata[f][m]),t.preventDefault()}else if(s==nt.ENTER&&parseInt(u.css("top"))>0)$("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_save=[{row:[h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[0]],column:[h.luckysheetCellUpdate[1],h.luckysheetCellUpdate[1]],row_focus:h.luckysheetCellUpdate[0],column_focus:h.luckysheetCellUpdate[1]}],Ht("down",1,"rangeOfSelect")),$("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide(),t.preventDefault();else if(s==nt.TAB){if(parseInt(u.css("top"))>0)return;Ht("right",1,"rangeOfSelect"),t.preventDefault()}else if(s==nt.F2){if(parseInt(u.css("top"))>0)return;let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Ar(f,m,h.flowdata),t.preventDefault()}else if(s==nt.F4&&parseInt(u.css("top"))>0)p.setfreezonFuc(t),t.preventDefault();else if(s==nt.ESC&&parseInt(u.css("top"))>0)p.dontupdate(),Ht("down",0,"rangeOfSelect"),t.preventDefault();else if(s==nt.ENTER){if($(t.target).hasClass("formulaInputFocus")||$("#luckysheet-conditionformat-dialog").is(":visible"))return;if(String.fromCharCode(s)!=null&&$("#luckysheet-cell-selected").is(":visible")){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Ar(f,m,h.flowdata),t.preventDefault()}}else if(l||t.metaKey){if(o){if(gm||(h.luckysheet_shiftpositon=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),h.luckysheet_shiftkeydown=!0),s==nt.UP){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ea("up","rangeOfSelect")}else if(s==nt.DOWN){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ea("down","rangeOfSelect")}else if(s==nt.LEFT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ea("left","rangeOfSelect")}else if(s==nt.RIGHT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ea("right","rangeOfSelect")}else if(s==186||s==222){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Ar(f,m,h.flowdata,!0);let g=Bo(2);$("#luckysheet-rich-text-editor").html(g),bl($("#luckysheet-rich-text-editor")[0]),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}}else if(s==66)$("#luckysheet-icon-bold").click();else if(s==67){if(Re.currentImgId!=null){Re.copyImgItem(t);return}if(be.luckysheetPaintModelOn&&be.cancelPaintModel(),h.luckysheet_select_save.length==0)return;if(h.config.merge!=null){let f=!1;for(let m=0;m<h.luckysheet_select_save.length;m++){let g=h.luckysheet_select_save[m].row[0],y=h.luckysheet_select_save[m].row[1],v=h.luckysheet_select_save[m].column[0],b=h.luckysheet_select_save[m].column[1];if(f=Nt(h.config,g,y,v,b),f)break}if(f){he()?alert(a.noMerge):j.info(a.noMerge,"");return}}let d=h.luckysheetfile[Z(h.currentSheetIndex)].luckysheet_conditionformat_save;if(h.luckysheet_select_save.length>1&&d!=null&&d.length>0){let f=!1,m=$e.getComputeMap();e:for(let g=0;g<h.luckysheet_select_save.length&&!f;g++){let y=h.luckysheet_select_save[g].row[0],v=h.luckysheet_select_save[g].row[1],b=h.luckysheet_select_save[g].column[0],k=h.luckysheet_select_save[g].column[1];for(let x=y;x<=v;x++)for(let w=b;w<=k;w++)if($e.checksCF(x,w,m)!=null){f=!0;continue e}}if(f){he()?alert(a.noMulti):j.info(a.noMulti,"");return}}if(h.luckysheet_select_save.length>1){let f=!0,m=h.luckysheet_select_save[0].row[0],g=h.luckysheet_select_save[0].row[1],y=!0,v=h.luckysheet_select_save[0].column[0],b=h.luckysheet_select_save[0].column[1];for(let k=1;k<h.luckysheet_select_save.length;k++)(h.luckysheet_select_save[k].row[0]!=m||h.luckysheet_select_save[k].row[1]!=g)&&(f=!1),(h.luckysheet_select_save[k].column[0]!=v||h.luckysheet_select_save[k].column[1]!=b)&&(y=!1);if(!f&&!y||jl()){he()?alert(a.noMulti):j.info(a.noMulti,"");return}}wt.copy(t),h.luckysheet_paste_iscut=!1,Il(),t.stopPropagation();return}else if(s==70)ka.createDialog(0),ka.init(),$("#luckysheet-search-replace #searchInput input").focus();else if(s==72)ka.createDialog(1),ka.init(),$("#luckysheet-search-replace #searchInput input").focus();else if(s==73)$("#luckysheet-icon-italic").click();else if(s==86){if(he()||$(t.target).hasClass("formulaInputFocus"))return;if(h.luckysheet_select_save.length>1){he()?alert(a.noPaste):j.info(a.noPaste,"");return}wt.isPasteAction=!0,Il(),t.stopPropagation();return}else if(s==88){if(be.luckysheetPaintModelOn&&be.cancelPaintModel(),h.luckysheet_select_save.length==0)return;if(h.config.merge!=null){let d=!1;for(let f=0;f<h.luckysheet_select_save.length;f++){let m=h.luckysheet_select_save[f].row[0],g=h.luckysheet_select_save[f].row[1],y=h.luckysheet_select_save[f].column[0],v=h.luckysheet_select_save[f].column[1];if(d=Nt(h.config,m,g,y,v),d)break}if(d){fe.editMode?alert(_locale_drag.noMerge):j.info(_locale_drag.noMerge,"");return}}if(h.luckysheet_select_save.length>1){he()?alert(a.noMulti):j.info(a.noMulti,"");return}wt.copy(t),h.luckysheet_paste_iscut=!0,Il(),t.stopPropagation();return}else if(s==90){ba.redo(t),Il(),t.stopPropagation();return}else if(s==89){ba.undo(t),Il(),t.stopPropagation();return}else if(s==nt.UP){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;en("up","rangeOfSelect")}else if(s==nt.DOWN){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;en("down","rangeOfSelect")}else if(s==nt.LEFT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;en("left","rangeOfSelect")}else if(s==nt.RIGHT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;en("right","rangeOfSelect")}else if(s==186){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Ar(f,m,h.flowdata,!0);let g=Bo(1);$("#luckysheet-rich-text-editor").html(g),bl($("#luckysheet-rich-text-editor")[0]),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}else if(s==222){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Ar(f,m,h.flowdata,!0);let g=Bo(2);$("#luckysheet-rich-text-editor").html(g),bl($("#luckysheet-rich-text-editor")[0]),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}else String.fromCharCode(s).toLocaleUpperCase()=="A"&&$("#luckysheet-left-top").click();t.preventDefault();return}else if(o&&(s==nt.UP||s==nt.DOWN||s==nt.LEFT||s==nt.RIGHT||n&&(s==53||s==101))){if(parseInt(u.css("top"))>0||$(t.target).hasClass("formulaInputFocus"))return;if(gm||(h.luckysheet_shiftpositon=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),h.luckysheet_shiftkeydown=!0),s==nt.UP){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Fa("down",-1,"rangeOfSelect")}else if(s==nt.DOWN){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Fa("down",1,"rangeOfSelect")}else if(s==nt.LEFT){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Fa("right",-1,"rangeOfSelect")}else if(s==nt.RIGHT){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Fa("right",1,"rangeOfSelect")}else n&&(s==53||s==101)&&$("#luckysheet-icon-strikethrough").click();t.preventDefault()}else if(s==nt.ESC)be.luckysheetPaintModelOn?be.cancelPaintModel():(er(t),t.preventDefault()),et();else if(s==nt.DELETE||s==nt.BACKSPACE)Re.currentImgId!=null?Re.removeImgItem():$("#luckysheet-delete-text").click(),t.preventDefault();else if(s==8&&Re.currentImgId!=null)Re.removeImgItem(),t.preventDefault();else if(s==nt.UP){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Ht("down",-1,"rangeOfSelect"),t.preventDefault()}else if(s==nt.DOWN){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Ht("down",1,"rangeOfSelect"),t.preventDefault()}else if(s==nt.LEFT){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Ht("right",-1,"rangeOfSelect"),t.preventDefault()}else if(s==nt.RIGHT){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Ht("right",1,"rangeOfSelect"),t.preventDefault()}else if((!(s>=112&&s<=123||s<=46||s==144||s==108||t.ctrlKey||t.altKey||t.shiftKey&&(s==37||s==38||s==39||s==40))||s==8||s==32||s==46||s==0||t.ctrlKey&&s==86)&&String.fromCharCode(s)!=null&&$("#luckysheet-cell-selected").is(":visible")&&s!=nt.CAPSLOCK&&s!=nt.WIN&&s!=18){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Ar(f,m,h.flowdata,!0),s==8&&$("#luckysheet-rich-text-editor").html("<br/>"),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}Il(),t.stopPropagation()}),$("#"+h.container).add("#luckysheet-input-box").keydown(function(t){if($("#luckysheet-modal-dialog-mask").is(":visible")||$(t.target).hasClass("luckysheet-mousedown-cancel")||$(t.target).hasClass("formulaInputFocus"))return;let l=t.ctrlKey,n=t.altKey,o=t.shiftKey,s=t.keyCode,u=$("#luckysheet-input-box");s==nt.ESC&&parseInt($("#luckysheet-input-box").css("top"))>0?(p.dontupdate(),Ht("down",0,"rangeOfSelect"),t.preventDefault()):s==nt.ENTER&&parseInt(u.css("top"))>0?$("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null&&(p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")),t.preventDefault()):s==nt.TAB&&parseInt(u.css("top"))>0?($("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Ht("right",1,"rangeOfSelect")),t.preventDefault()):s==nt.F4&&parseInt(u.css("top"))>0?(p.setfreezonFuc(t),t.preventDefault()):s==nt.UP&&parseInt(u.css("top"))>0?Vo("up",l,o,t):s==nt.DOWN&&parseInt(u.css("top"))>0?Vo("down",l,o,t):s==nt.LEFT&&parseInt(u.css("top"))>0?Vo("left",l,o,t):s==nt.RIGHT&&parseInt(u.css("top"))>0?Vo("right",l,o,t):(!(s>=112&&s<=123||s<=46||s==144||s==108||t.ctrlKey||t.altKey||t.shiftKey&&(s==37||s==38||s==39||s==40||s==nt.WIN||s==nt.WIN_R||s==nt.MENU))||s==8||s==32||s==46||t.ctrlKey&&s==86)&&(p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s),Nf(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1],h.flowdata))}).keyup(function(t){let l=t.keyCode;!t.shiftKey&&l==16&&(h.luckysheet_shiftkeydown=!1,h.luckysheet_shiftpositon=null),parseInt($("#luckysheet-input-box").css("top"))>0&&(l==13||l==16||l==32),t.preventDefault()}),$("#luckysheet_info_detail_input").val(re.title).css("width",cn(re.title)*10).keydown(function(){let t=event.ctrlKey,l=event.altKey,n=event.shiftKey,o=event.keyCode,s=$(this);o==nt.ENTER&&s.blur().change()}).bind("input propertychange",function(){let t=$(this),l=cn(t.val())*10,n=$("#luckysheet_info_detail_update").outerWidth(),o=$("#luckysheet_info_detail_save").outerWidth(),s=$("#luckysheet_info_detail_user").parent().outerWidth()+60,u=$("#"+h.container).outerWidth(),d=100,f=u-o-n-s-d;l>f?$("#luckysheet_info_detail_input").css("width",f):$("#luckysheet_info_detail_input").css("width",l)}).change(function(){re.saveParam("na",null,$(this).val())}),$("#"+h.container).add("input.luckysheet-mousedown-cancel").keydown(function(t){let l=t.target.closest(".luckysheet-cols-menuitem");typeof l!="undefined"&&l!=null&&t.keyCode===13&&$(l).trigger("click")})}var gm,vm=Ae(()=>{xr();lr();hl();Zt();dn();jt();Rn();Xt();Ln();Pc();Ao();Ol();dt();Rt();At();sa();Vt();Ll();ar();bt();ca();Ke();gm=!1});function bm(){let e=Q();$("#luckysheetorderbyasc, #luckysheetorderbyasc_t").mousedown(function(t){er(t),Ks(h.orderbyindex,!0),et()}),$("#luckysheetorderbydesc, #luckysheetorderbydesc_t").click(function(t){er(t),Ks(h.orderbyindex,!1),et()});let a=!0;$("#luckysheetorderby").click(function(){if(!St(h.currentSheetIndex,"sort"))return;$("body .luckysheet-cols-menu").hide();let t=e.sort;if(h.luckysheet_select_save.length>1){he()?alert(t.noRangeError):j.info(t.noRangeError,"");return}let l=h.luckysheet_select_save[0],n=l.row[0],o=l.row[1],s=l.column[0],u=l.column[1];if(a){a=!1;let x=`<div style="overflow: hidden;" class="luckysheet-sort-modal"><div><label><input type="checkbox" id="luckysheet-sort-haveheader"/><span>${t.hasTitle}</span></label></div><div style="overflow-y:auto;" id="luckysheet-sort-dialog-tablec"><table data-itemcount="0" cellspacing="0"> <tr><td>${t.hasTitle} <select name="sort_0"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> </td> <td> <div><label><input value="asc" type="radio" checked="checked" name="sort_0"><span>${t.asc}A-Z</span></label></div> <div><label><input value="desc" type="radio" name="sort_0"><span>${t.desc}Z-A</span></label></div></td></tr></table></div><div style="background: #e5e5e5;border-top: 1px solid #f5f5f5; height: 1px; width: 100%;margin:2px 0px;margin-bottom:10px;"></div> <div> <span style="font-weight: bold; text-decoration: underline;text-align:center;color: blue;cursor: pointer;" class="luckysheet-sort-dialog-additem">+ ${t.addOthers}</span> </div> </div>`;$("body").append(we(ft,{id:"luckysheet-sort-dialog",addclass:"",title:e.sort.sortTitle,content:x,botton:`<button id="luckysheet-sort-modal-confirm" class="btn btn-primary">${t.confirm}</button><button class="btn btn-default luckysheet-model-close-btn">${t.close}</button>`})),$("#luckysheet-sort-dialog .luckysheet-sort-dialog-additem").click(function(){let w=h.luckysheet_select_save[0],_=w.row[0],S=w.row[1],C=w.column[0],T=w.column[1],R="",I=$("#luckysheet-sort-dialog table").data("itemcount")+1,A=$("#luckysheet-sort-haveheader").is(":checked");for(let E=C;E<=T;E++)if(A){let N=ze(_,E,h.flowdata,"m");N==null&&(N=t.columnOperation+(E-C+1)),R+='<option value="'+E+'">'+N+"</option>"}else R+='<option value="'+E+'">'+tt(E)+"</option>";$("#luckysheet-sort-dialog table").append(`
<tr class="luckysheet-sort-dialog-tr">
<td><span class="luckysheet-sort-item-close" onclick="$(this).parent().parent().remove();"><i class="fa fa-times"
aria-hidden="true"></i></span>${t.secondaryTitle} <select
name="sort_${I}">${R}</select> </td>
<td>
<div><label><input value="asc" type="radio" checked="checked"
name="sort_${I}"><span>${t.asc}A-Z</span></label></div>
<div><label><input value="desc" type="radio" name="sort_${I}"><span>${t.desc}Z-A</span></label>
</div>
</td>
</tr>
`),$("#luckysheet-sort-dialog table").data("itemcount",I)}),$("#luckysheet-sort-haveheader").change(function(){let w=h.luckysheet_select_save[0],_=w.row[0],S=w.row[1],C=w.column[0],T=w.column[1],R=$(this).is(":checked"),I="";for(let A=C;A<=T;A++)if(R){let E=ze(_,A,h.flowdata,"m");E==null&&(E=t.columnOperation+(A-C+1)),I+='<option value="'+A+'">'+E+"</option>"}else I+='<option value="'+A+'">'+tt(A)+"</option>";$("#luckysheet-sort-dialog tr select").each(function(){$(this).html(I)})}),$("#luckysheet-sort-modal-confirm").click(function(){if(h.luckysheet_select_save.length>1){he()?alert(t.noRangeError):j.info(t.noRangeError,"");return}let w=xe.deepCopyFlowData(h.flowdata),_=h.luckysheet_select_save[0],S=_.row[0],C=_.row[1],T=_.column[0],R=_.column[1],I=$("#luckysheet-sort-haveheader").is(":checked"),A;I?A=S+1:A=S;let E=!1,N=[];for(let F=A;F<=C;F++){let M=[];for(let z=T;z<=R;z++){if(w[F][z]!=null&&w[F][z].mc!=null){E=!0;break}M.push(w[F][z])}N.push(M)}if(E){he()?alert(t.mergeError):j.info(t.mergeError,"");return}$($("#luckysheet-sort-dialog table tr").toArray().reverse()).each(function(){let F=$(this).find("select").val(),M=$(this).find("input:radio:checked").val();F-=T,M=="asc"?M=!0:M=!1,N=zl([].concat(N),F,M)});for(let F=A;F<=C;F++)for(let M=T;M<=R;M++)w[F][M]=N[F-A][M-T];let D={};if(h.config.rowlen!=null){let F=$.extend(!0,{},h.config);F=mr(w,A,C,F),D={cfg:F,RowlChange:!0}}Ze(w,[{row:[A,C],column:[T,R]}],D),$("#luckysheet-sort-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide()})}let d="";for(let x=s;x<=u;x++)d+='<option value="'+x+'">'+tt(x)+"</option>";$("#luckysheet-sort-dialog select").html(d),$("#luckysheet-sort-dialog .luckysheet-sort-dialog-tr").remove(),$("#luckysheet-sort-haveheader").prop("checked",!1),$("#luckysheet-sort-dialog input:radio:first").prop("checked","checked"),$("#luckysheet-sort-dialog .luckysheet-modal-dialog-title-text").html(t.sortRangeTitle+"<span>"+tt(s)+(n+1)+"</span>"+t.sortRangeTitleTo+"<span>"+tt(u)+(o+1)+"</span>");let f=$("#luckysheet-sort-dialog"),m=f.outerHeight(),g=f.outerWidth(),y=$(window).width(),v=$(window).height(),b=$(document).scrollLeft(),k=$(document).scrollTop();$("#luckysheet-sort-dialog-tablec").css("max-height",(v-m)/2),$("#luckysheet-sort-dialog").css({left:(y+b-g)/2,top:(v+k-m)/2}).show(),$("#luckysheet-modal-dialog-mask").show(),n<o&&setTimeout(function(){let x=h.flowdata[n],w=h.flowdata[n+1],_=!1;for(let S=s;S<=u;S++){let C=Jr(x[S]),T=Jr(w[S]);C!=T&&(_=!0)}_&&$("#luckysheet-sort-haveheader").prop("checked",!0).change()},10)})}var km=Ae(()=>{jt();Xt();Dr();dt();cl();At();Ll();Yt();Wt();tn();ar();Kt();Nl();Ke();bt()});function xm(e,a){To(nb),Co(ab,null,function(){})}var ab,nb,wm=Ae(()=>{dt();ab=["http://localhost:8080/luckysheetPluginPrint.umd.js"],nb=["http://localhost:8080/luckysheetPluginPrint.css"]});function _m(e,a){e.length&&e.forEach(t=>{ib[t](a,ob)})}var ib,ob,Cm=Ae(()=>{_o();wm();ib={chart:vf,print:xm},ob=!0});var V,Oi,sb,Tm,Sm=Ae(()=>{xr();Mi();sc();Rt();lr();tc();Vt();qi();Kt();Nl();At();Yt();Ir();tn();Wt();dt();Ke();V=Er(ha()),Oi=Er(Qa()),sb={SUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(L(l))t.push(l);else if(P(l)=="boolean")l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0);else return p.error.v}var n=0;if(t.length>0)for(var e=0;e<t.length;e++){if(B(t[e]))return t[e];!L(t[e])||(n=luckysheet_calcADPMM(n,"+",t[e]))}return n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},AVERAGE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!0)):t.push(l)}for(var n=0,o=0,e=0;e<t.length;e++){if(B(t[e]))return t[e];if(!L(t[e]))return p.error.v;n=luckysheet_calcADPMM(n,"+",t[e]),o++}return o==0?p.error.d:luckysheet_calcADPMM(n,"/",o)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COUNT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!0)):P(l)=="boolean"?l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0):t.push(l)}for(var n=0,e=0;e<t.length;e++)L(t[e])&&n++;return n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},COUNTA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!0)):t.push(l)}return t.length}catch(n){return n=p.errorInfo(n),[p.error.v,n]}},MAX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}for(var n=null,e=0;e<t.length;e++){if(B(t[e]))return t[e];!L(t[e])||(n==null||parseFloat(t[e])>n)&&(n=parseFloat(t[e]))}return n==null?0:n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},MIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}for(var n=null,e=0;e<t.length;e++){if(B(t[e]))return t[e];!L(t[e])||(n==null||parseFloat(t[e])<n)&&(n=parseFloat(t[e]))}return n==null?0:n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},AGE_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l=window.luckysheet_function.BIRTHDAY_BY_IDCARD.f(t);if(B(l))return l;l=(0,V.default)(l);var n=(0,V.default)();if(arguments.length==2){if(n=q.getFirstValue(arguments[1]),B(n))return n;n=(0,V.default)(n)}var o=n.diff(l,"years");return o<0||o.toString()=="NaN"?p.error.v:o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},SEX_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]).toString();return B(t)?t:window.luckysheet_function.ISIDCARD.f(t)?parseInt(t.substr(16,1))%2==1?"\u7537":"\u5973":p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},BIRTHDAY_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]).toString();if(B(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l="";if(t.length==15){var n="19"+t.substring(6,8)+"/"+t.substring(8,10)+"/"+t.substring(10,12);l=n}else if(t.length==18){var n=t.substring(6,10)+"/"+t.substring(10,12)+"/"+t.substring(12,14);l=n}var o=0;if(arguments[1]!=null&&(o=q.getFirstValue(arguments[1]),B(o)))return o;if(!L(o))return p.error.v;if(o=parseInt(o),o<0||o>2)return p.error.v;if(parseInt(o)==0)return l;if(parseInt(o)==1)return(0,V.default)(l).format("YYYY-MM-DD");if(parseInt(o)==2)return(0,V.default)(l).format("YYYY\u5E74M\u6708D\u65E5")}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},PROVINCE_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]).toString();if(B(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l="\u672A\u77E5",n=p.classlist.province;return t.substring(0,2)in n&&(l=n[t.substring(0,2)]),l}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},CITY_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]).toString();if(B(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;for(var l=cityData.length,n="\u672A\u77E5",e=0;e<l;e++)if(t.substring(0,6)==cityData[e].code){n=cityData[e].title;break}return n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},STAR_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l=window.luckysheet_function.BIRTHDAY_BY_IDCARD.f(t);if(B(l))return l;l=new Date(l);var n=l.getMonth(),o=l.getDate(),s=new Date(1999,n,o,0,0,0),u=[];u.push(["\u9B54\u7FAF\u5EA7",new Date(1999,0,1,0,0,0)]),u.push(["\u6C34\u74F6\u5EA7",new Date(1999,0,20,0,0,0)]),u.push(["\u53CC\u9C7C\u5EA7",new Date(1999,1,19,0,0,0)]),u.push(["\u767D\u7F8A\u5EA7",new Date(1999,2,21,0,0,0)]),u.push(["\u91D1\u725B\u5EA7",new Date(1999,3,21,0,0,0)]),u.push(["\u53CC\u5B50\u5EA7",new Date(1999,4,21,0,0,0)]),u.push(["\u5DE8\u87F9\u5EA7",new Date(1999,5,22,0,0,0)]),u.push(["\u72EE\u5B50\u5EA7",new Date(1999,6,23,0,0,0)]),u.push(["\u5904\u5973\u5EA7",new Date(1999,7,23,0,0,0)]),u.push(["\u5929\u79E4\u5EA7",new Date(1999,8,23,0,0,0)]),u.push(["\u5929\u874E\u5EA7",new Date(1999,9,23,0,0,0)]),u.push(["\u5C04\u624B\u5EA7",new Date(1999,10,22,0,0,0)]),u.push(["\u9B54\u7FAF\u5EA7",new Date(1999,11,22,0,0,0)]);for(var e=u.length-1;e>=0;e--)if(s>=u[e][1])return u[e][0];return"\u672A\u627E\u5230\u5339\u914D\u661F\u5EA7\u4FE1\u606F"}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},ANIMAL_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l=window.luckysheet_function.BIRTHDAY_BY_IDCARD.f(t);if(B(l))return l;l=new Date(l);var n=new Array("\u732A","\u9F20","\u725B","\u864E","\u5154","\u9F99","\u86C7","\u9A6C","\u7F8A","\u7334","\u9E21","\u72D7"),o=(parseInt(l.getFullYear())+9)%12;return o!=null&&!isNaN(o)?n[o]:"\u672A\u627E\u5230\u5339\u914D\u751F\u8096\u4FE1\u606F"}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},ISIDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;return!!l.test(t)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},DM_TEXT_CUTWORD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0],"text");if(B(o))return o;var s=0;return arguments[1]!=null&&(s=q.getFirstValue(arguments[1]),B(s))?s:L(s)?(s=parseInt(s),s!=0&&s!=1&&s!=2?p.error.v:($.post("/dataqk/tu/api/cutword",{text:o,type:s},function(d){var f=[].concat(h.flowdata);p.execFunctionGroup(t,l,d),f[t][l]={v:d,f:n},Ze(f,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},DM_TEXT_TFIDF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0],"text");if(B(o))return o;var s=20;if(arguments[1]!=null&&(s=q.getFirstValue(arguments[1]),B(s)))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=0;return arguments[2]!=null&&(u=q.getFirstValue(arguments[2]),B(u))?u:L(u)?(u=parseInt(u),s<0?p.error.v:u!=0&&u!=1&&u!=2?p.error.v:($.post("/dataqk/tu/api/tfidf",{text:o,count:s,set:u},function(f){var m=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,f),m[t][l]={v:f,f:n},Ze(m,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},DM_TEXT_TEXTRANK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0],"text");if(B(o))return o;var s=20;if(arguments[1]!=null&&(s=q.getFirstValue(arguments[1]),B(s)))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=0;return arguments[2]!=null&&(u=q.getFirstValue(arguments[2]),B(u))?u:L(u)?(u=parseInt(u),s<0?p.error.v:u!=0&&u!=1&&u!=2?p.error.v:($.post("/dataqk/tu/api/tfidf",{text:o,count:s,set:u},function(f){var m=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,f),m[t][l]={v:f,f:n},Ze(m,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},DATA_CN_STOCK_CLOSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0]);if(B(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=mt("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!qt(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,V.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=q.getFirstValue(arguments[2]),B(d))?d:L(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"0"},function(m){var g=xe.deepCopyFlowData(h.flowdata),y=Sr(m);y==null&&(y=m),p.execFunctionGroup(t,l,y),g[t][l]={v:y,f:n},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_OPEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0]);if(B(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=mt("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!qt(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,V.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=q.getFirstValue(arguments[2]),B(d))?d:L(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"1"},function(m){var g=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:n},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_MAX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0]);if(B(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=mt("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!qt(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,V.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=q.getFirstValue(arguments[2]),B(d))?d:L(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"2"},function(m){var g=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:n},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_MIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0]);if(B(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=mt("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!qt(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,V.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=q.getFirstValue(arguments[2]),B(d))?d:L(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"3"},function(m){var g=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:n},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_VOLUMN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0]);if(B(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=mt("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!qt(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,V.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=q.getFirstValue(arguments[2]),B(d))?d:L(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"4"},function(m){var g=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:n},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_AMOUNT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=q.getFirstValue(arguments[0]);if(B(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=mt("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!qt(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,V.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=q.getFirstValue(arguments[2]),B(d))?d:L(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"5"},function(m){var g=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:n},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},ISDATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:qt(t)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},SUMIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=0,l=arguments[0].data,n=arguments[0].rowl,o=arguments[0].coll,s=Bn(arguments[1]);if(l=p.getRangeArray(l)[0],arguments[2]){var u=[],d=arguments[2].startCell,f=arguments[2].rowl,m=arguments[2].coll,g=arguments[2].sheetName;if(n==f&&o==m)u=arguments[2].data;else{var y=[],v=[],b="",k="";y[0]=parseInt(d.replace(/[^0-9]/g,""))-1,v[0]=cr(d.replace(/[^A-Za-z]/g,"")),y[1]=y[0]+n-1,v[1]=v[0]+o-1;var x=tt(v[1]),w=y[1]+1;b=x+w,k=g+"!"+d+":"+b,u=rl(k).data}u=p.getRangeArray(u)[0];for(var e=0;e<l.length;e++){var _=l[e];if(!!_&&p.acompareb(_,s)){if(!L(u[e]))continue;t=luckysheet_calcADPMM(t,"+",u[e])}}}else for(var e=0;e<l.length;e++){var _=l[e];if(!!_&&p.acompareb(_,s)){if(!L(_))continue;t=luckysheet_calcADPMM(t,"",_)}}return t}catch(C){var S=C;return S=p.errorInfo(S),[p.error.v,S]}},TAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.tan(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TANH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=Math.exp(2*t);return(l-1)/(l+1)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},CEILING:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),l==0?0:t>0&&l<0?p.error.nm:Math.ceil(t/l)*l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ATAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.atan(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ASINH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.log(t+Math.sqrt(t*t+1))):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ABS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.abs(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ACOS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<-1||t>1?p.error.nm:Math.acos(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ACOSH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<1?p.error.nm:Math.log(t+Math.sqrt(t*t-1))):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},MULTINOMIAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}for(var n=0,o=1,e=0;e<t.length;e++){var s=t[e];if(!L(s))return p.error.v;if(s=parseFloat(s),s<0)return p.error.nm;n+=s,o*=q.factorial(s)}return q.factorial(n)/o}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},ATANH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<=-1||t>=1?p.error.nm:Math.log((1+t)/(1-t))/2):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ATAN2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t==0&&l==0?p.error.d:Math.atan2(l,t)):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},COUNTBLANK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=0;if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return 1;if(P(t.data)=="array")for(var n=0;n<t.data.length;n++)for(var o=0;o<t.data[n].length;o++)(t.data[n][o]==null||de(t.data[n][o].v))&&l++;else de(t.data.v)&&l++}return l}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COSH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),(Math.exp(t)+Math.exp(-t))/2):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},INT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0];if(P(t)=="array")return P(t[0])=="array"?q.isDyadicArr(t)?L(t[0][0])?Math.floor(parseFloat(t[0][0])):p.error.v:p.error.v:L(t[0])?Math.floor(parseFloat(t[0])):p.error.v;if(P(t)=="object"&&t.startCell!=null){if(t.coll>1)return p.error.v;if(t.rowl>1){var l=p.getcellrange(t.startCell),n=l.row[0];if(window.luckysheetCurrentRow<n||window.luckysheetCurrentRow>n+t.rowl-1)return p.error.v;var o=t.data[window.luckysheetCurrentRow-n][0]}else var o=t.data;return o==null||de(o.v)?0:L(o.v)?Math.floor(parseFloat(o.v)):p.error.v}else{if(P(t)=="boolean"){if(t.toString().toLowerCase()=="true")return 1;if(t.toString().toLowerCase()=="false")return 0}return L(t)?Math.floor(parseFloat(t)):p.error.v}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},ISEVEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseInt(t),!(Math.abs(t)&1)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ISODD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseInt(t),!!(Math.abs(t)&1)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},LCM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}for(var n=0;n<t.length;n++){var o=t[n];if(!L(o))return p.error.v;if(o=parseInt(o),o<0)return p.error.nm;t[n]=o}for(var e,s,u,d,f=1;(u=t.pop())!==void 0;)for(u==0&&(f=0);u>1;){if(u%2){for(e=3,s=Math.floor(Math.sqrt(u));e<=s&&u%e;e+=2);d=e<=s?e:u}else d=2;for(u/=d,f*=d,e=t.length;e;t[--e]%d==0&&(t[e]/=d)===1&&t.splice(e,1));}return f>=Math.pow(2,53)?p.error.nm:f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},LN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<=0?p.error.nm:Math.log(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},LOG:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;if(t=parseFloat(t),t<=0)return p.error.nm;if(arguments.length==2){var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseFloat(l),l<=0)return p.error.nm}else var l=10;return Math.log(t)/Math.log(l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},LOG10:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<=0?p.error.nm:Math.log(t)/Math.log(10)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},MOD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseFloat(l),l==0)return p.error.d;var n=Math.abs(t%l);return l>0?n:-n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},MROUND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t*l<0?p.error.nm:Math.round(t/l)*l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ODD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=Math.ceil(Math.abs(t));return l=l&1?l:l+1,t>=0?l:-l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},SUMSQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}var n=0;if(t.length>0)for(var e=0;e<t.length;e++){var o=t[e];if(!L(o))return p.error.v;o=parseFloat(o),n+=o*o}return n}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COMBIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<0||l<0||t<l?p.error.nm:q.factorial(t)/(q.factorial(l)*q.factorial(t-l))):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},SUBTOTAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let m=function(g){switch(g){case 1:case 101:return window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,s);case 2:case 102:return window.luckysheet_function.COUNT.f.apply(window.luckysheet_function.COUNT,s);case 3:case 103:return window.luckysheet_function.COUNTA.f.apply(window.luckysheet_function.COUNTA,s);case 4:case 104:return window.luckysheet_function.MAX.f.apply(window.luckysheet_function.MAX,s);case 5:case 105:return window.luckysheet_function.MIN.f.apply(window.luckysheet_function.MIN,s);case 6:case 106:return window.luckysheet_function.PRODUCT.f.apply(window.luckysheet_function.PRODUCT,s);case 7:case 107:return window.luckysheet_function.STDEVA.f.apply(window.luckysheet_function.STDEVA,s);case 8:case 108:return window.luckysheet_function.STDEVP.f.apply(window.luckysheet_function.STDEVP,s);case 9:case 109:return window.luckysheet_function.SUM.f.apply(window.luckysheet_function.SUM,s);case 10:case 110:return window.luckysheet_function.VAR_S.f.apply(window.luckysheet_function.VAR_S,s);case 11:case 111:return window.luckysheet_function.VAR_P.f.apply(window.luckysheet_function.VAR_P,s)}};var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=[];for(var e=0;e<t.length;e++){for(var n=[],o=0;o<t[e].length;o++)n.push(t[e][o]);l.push(n)}}else{l=[];for(var e=0;e<t.length;e++)l.push(t[e])}else P(t)=="object"&&t.startCell!=null?l=q.getFirstValue(t):l=t;var s=Array.prototype.slice.apply(arguments);if(s.shift(),P(l)=="array"){var u=[];if(P(l[0])=="array")for(var e=0;e<l.length;e++){for(var n=[],o=0;o<l[e].length;o++){var d=l[e][o];B(d)?n.push(d):L(d)?(d=parseInt(d),d<1||d>111||d>11&&d<101?n.push(p.error.v):n.push(m(d))):n.push(p.error.v)}u.push(n)}else for(var e=0;e<l.length;e++){var d=l[e];B(d)?u.push(d):L(d)?(d=parseInt(d),d<1||d>111||d>11&&d<101?u.push(p.error.v):u.push(m(d))):u.push(p.error.v)}return u}else return B(l)?l:L(l)?(l=parseInt(l),l<1||l>111||l>11&&l<101?p.error.v:m(l)):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},ASIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<-1||t>1?p.error.nm:Math.asin(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},COUNTIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let m=function(g,y){/[<>=!*?]/.test(y)||(y='=="'+y+'"'),y=y.replace("<>","!=");var v=0;if(P(g)=="array"){for(var b=0;b<g.length;b++)for(var k=0;k<g[b].length;k++)if(g[b][k]!=null&&!de(g[b][k].v)){var x=g[b][k].v;y.indexOf("*")>-1||y.indexOf("?")>-1?p.isWildcard(x,y)&&v++:typeof x!="string"?new Function("return "+x+y)()&&v++:new Function('return "'+x+'"'+y)()&&v++}}else if(g!=null&&!de(g.v)){var x=g.v;y.indexOf("*")>-1||y.indexOf("?")>-1?p.isWildcard(x,y)&&v++:typeof x!="string"?new Function("return "+x+y)()&&v++:new Function('return "'+x+'"'+y)()&&v++}return v};var t=arguments[0],l;if(P(t)=="object"&&t.startCell!=null)l=t.data;else return p.error.v;var n=arguments[1],o;if(P(n)=="array")if(o=[],P(n[0])=="array"){if(!q.isDyadicArr(n))return p.error.v;for(var e=0;e<n.length;e++){for(var s=[],u=0;u<n[e].length;u++)s.push(n[e][u]);o.push(s)}}else for(var e=0;e<n.length;e++)o.push(n[e]);else if(P(n)=="object"&&n.startCell!=null){if(n.rowl>1||n.coll>1)return 0;o=n.data.v}else o=n;if(P(o)=="array"){var d=[];if(P(o[0])=="array")for(var e=0;e<o.length;e++){for(var s=[],u=0;u<o[e].length;u++)s.push(m(l,o[e][u]));d.push(s)}else for(var e=0;e<o.length;e++)d.push(m(l,o[e]));return d}else return m(l,o)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},RADIANS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t*Math.PI/180):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},RAND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;try{return Math.floor(Math.random()*1e9)/1e9}catch(a){var e=a;return e=p.errorInfo(e),[p.error.v,e]}},COUNTUNIQUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!0)):t.push(l)}return window.luckysheet_function.UNIQUE.f(t)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},DEGREES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t*180/Math.PI):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ERFC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),jStat.erfc(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},EVEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=Math.ceil(Math.abs(t));return l=l&1?l+1:l,t>0?l:-l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},EXP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.exp(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},FACT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;return t=parseInt(t),t<0?p.error.nm:q.factorial(t)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},FACTDOUBLE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;return t=parseInt(t),t<0?p.error.nm:q.factorialDouble(t)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},PI:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;try{return Math.PI}catch(a){var e=a;return e=p.errorInfo(e),[p.error.v,e]}},FLOOR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseFloat(l),l==0)return p.error.d;if(t>0&&l<0)return p.error.nm;var n=-Math.floor(Math.log(Math.abs(l))/Math.log(10));return t>=0?Math.floor(t/l)*l*Math.pow(10,n)/Math.pow(10,n):-(Math.ceil(Math.abs(t)/l)*l*Math.pow(10,n))/Math.pow(10,n)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},GCD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!1)):t.push(l)}if(!L(t[0]))return p.error.v;var n=parseInt(t[0]);if(n<0||n>=Math.pow(2,53))return p.error.nm;for(var e=1;e<t.length;e++){var o=t[e];if(!L(o))return p.error.v;if(o=parseInt(o),o<0||o>=Math.pow(2,53))return p.error.nm;for(;n&&o;)n>o?n%=o:o%=n;n+=o}return n}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},RANDBETWEEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t>l?p.error.nm:t+Math.ceil((l-t+1)*Math.random())-1):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ROUND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=t>0?1:-1;return n*Math.round(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},ROUNDDOWN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=t>0?1:-1;return n*Math.floor(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},ROUNDUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=t>0?1:-1;return n*Math.ceil(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},SERIESSUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=arguments[3],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!q.isDyadicArr(o))return p.error.v;s=s.concat(q.getDataArr(o,!1))}else P(o)=="object"&&o.startCell!=null?s=s.concat(q.getCellDataArr(o,"number",!1)):s.push(o);if(!L(s[0]))return p.error.v;for(var u=parseFloat(s[0])*Math.pow(t,l),e=1;e<s.length;e++){var d=s[e];if(!L(d))return p.error.v;d=parseFloat(d),u+=d*Math.pow(t,l+e*n)}return u}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},SIGN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;if(t=parseFloat(t),t>0)return 1;if(t==0)return 0;if(t<0)return-1}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},SIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.sin(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},SINH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),(Math.exp(t)-Math.exp(-t))/2):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},SQRT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<0?p.error.nm:Math.sqrt(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},SQRTPI:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<0?p.error.nm:Math.sqrt(t*Math.PI)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},GAMMALN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<=0?p.error.nm:jStat.gammaln(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},COS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),Math.cos(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TRUNC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;if(t=parseFloat(t),arguments.length==2){var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}else var l=0;var n=t>0?1:-1;return n*Math.floor(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},QUOTIENT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),l==0?p.error.d:parseInt(t/l,10)):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},POWER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t==0&&l==0?p.error.nm:t<0&&l.toString().indexOf(".")>-1?p.error.nm:Math.pow(t,l)):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},SUMIFS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=0,l=arguments;va(l);for(var n=p.getRangeArray(l[0])[0],o=new Array(n.length),e=0;e<o.length;e++)o[e]=!0;for(var e=1;e<l.length;e+=2)for(var s=p.getRangeArray(l[e])[0],u=l[e+1],d=0;d<s.length;d++){var f=s[d];o[d]=o[d]&&!!f&&p.acompareb(f,u)}for(var e=0;e<n.length;e++)o[e]&&(t=luckysheet_calcADPMM(t,"+",n[e]));return t}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COUNTIFS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments;va(t);for(var l=new Array(p.getRangeArray(t[0])[0].length),e=0;e<l.length;e++)l[e]=!0;for(var e=0;e<t.length;e+=2)for(var n=p.getRangeArray(t[e])[0],o=t[e+1],s=0;s<n.length;s++){var u=n[s];l[s]=l[s]&&!!u&&p.acompareb(u,o)}for(var d=0,e=0;e<l.length;e++)l[e]&&d++;return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},PRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}for(var n=1,e=0;e<t.length;e++){var o=t[e];if(!L(o))return p.error.v;o=parseFloat(o),n*=o}return n}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},HARMEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"number",!0)):t.push(l)}for(var n=0,o=0,e=0;e<t.length;e++){var s=t[e];if(!L(s))return p.error.v;if(s=parseFloat(s),s<=0)return p.error.nm;n+=1/s,o++}return o/n}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},HYPGEOMDIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let d=function(m,g,y,v){var b=q.factorial(y)/(q.factorial(m)*q.factorial(y-m)),k=q.factorial(v-y)/(q.factorial(g-m)*q.factorial(v-y-g+m)),x=q.factorial(v)/(q.factorial(g)*q.factorial(v-g));return b*k/x},f=function(m,g,y,v){for(var b=0,k=0;k<=m;k++)b+=d(k,g,y,v);return b};var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseInt(o);var s=q.getCellBoolen(arguments[4]);return B(s)?s:t<0||t>Math.min(l,n)||t<Math.max(0,l-o+n)?p.error.nm:l<=0||l>o?p.error.nm:n<=0||n>o?p.error.nm:o<=0?p.error.nm:s?f(t,l,n,o):d(t,l,n,o)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},INTERCEPT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=0,l=arguments[0],n=[];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;n=n.concat(q.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?n=n.concat(q.getCellDataArr(l,"text",!1)):n.push(l);var o=arguments[1],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!q.isDyadicArr(o))return p.error.v;s=s.concat(q.getDataArr(o,!1))}else P(o)=="object"&&o.startCell!=null?s=s.concat(q.getCellDataArr(o,"text",!1)):s.push(o);if(n.length!=s.length)return p.error.na;for(var u=[],d=[],e=0;e<n.length;e++){var f=n[e],m=s[e];L(f)&&L(m)&&(u.push(parseFloat(f)),d.push(parseFloat(m)))}if(q.variance_s(d)==0)return p.error.d;for(var g=jStat.mean(d),y=jStat.mean(u),v=d.length,b=0,k=0,e=0;e<v;e++)b+=(d[e]-g)*(u[e]-y),k+=Math.pow(d[e]-g,2);var x=b/k,w=y-x*g;return w+x*t}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},KURT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!0)):t.push(l)}for(var n=[],o=0;o<t.length;o++){var s=t[o];if(!L(s))return p.error.v;s=parseFloat(s),n.push(s)}if(n.length<4||q.standardDeviation_s(n)==0)return p.error.d;for(var u=jStat.mean(n),d=n.length,f=0,e=0;e<d;e++)f+=Math.pow(n[e]-u,4);return f=f/Math.pow(jStat.stdev(n,!0),4),d*(d+1)/((d-1)*(d-2)*(d-3))*f-3*(d-1)*(d-1)/((d-2)*(d-3))}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},LARGE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!0))}else P(arguments[0])=="object"&&arguments[0].startCell!=null?t=t.concat(q.getCellDataArr(arguments[0],"text",!0)):t.push(arguments[0]);for(var l=[],n=0;n<t.length;n++){var o=t[n];if(!L(o))return p.error.v;o=parseFloat(o),l.push(o)}var s;if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!q.isDyadicArr(arguments[1]))return p.error.v;s=q.getDataArr(arguments[1])}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null){if(arguments[1].rowl>1||arguments[1].coll>1)return p.error.v;var u=arguments[1].data;if(u==null||de(u.v))var s=0;else var s=u.v}else s=arguments[1];if(P(s)=="array"){if(l.length==0)return p.error.nm;for(var d=[],e=0;e<s.length;e++){if(!L(s[e])){d.push(p.error.v);continue}if(s[e]=Math.ceil(parseFloat(s[e])),s[e]<=0||s[e]>l.length){d.push(p.error.nm);continue}d.push(t.sort(function(g,y){return y-g})[s[e]-1])}return d}else return L(s)?(s=Math.ceil(parseFloat(s)),l.length==0?p.error.nm:s<=0||s>l.length?p.error.nm:t.sort(function(m,g){return g-m})[s-1]):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},STDEVA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!1)):t.push(l)}for(var n=[],o=0;o<t.length;o++){var s=t[o];L(s)?s=parseFloat(s):s.toString().toLowerCase()=="true"?s=1:s=0,n.push(s)}return n.length==0?0:n.length==1?p.error.d:q.standardDeviation_s(n)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},STDEVP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(q.getCellDataArr(l,"text",!0)):t.push(l)}for(var n=[],o=0;o<t.length;o++){var s=t[o];if(!L(s))return p.error.v;s=parseFloat(s),n.push(s)}return n.length==0?0:n.length==1?p.error.d:q.standardDeviation(n)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},GEOMEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"text",!0));else if(P(l)=="boolean")l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0);else if(L(l))t.push(l);else return p.error.v}for(var n=[],o=0;o<t.length;o++){var s=t[o];if(!!L(s)){if(s=parseFloat(s),s<=0)return p.error.nm;n.push(s)}}return n.length==0?p.error.nm:jStat.geomean(n)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},RANK_EQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=arguments[1],n=[];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;n=n.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?n=n.concat(q.getCellDataArr(l,"number",!0)):n.push(l);for(var o=[],s=0;s<n.length;s++){var u=n[s];if(!L(u))return p.error.v;u=parseFloat(u),o.push(u)}if(arguments.length==3){var d=q.getCellBoolen(arguments[2]);if(B(d))return d}else var d=!1;var f=d?function(y,v){return y-v}:function(y,v){return v-y};o=o.sort(f);var m=o.indexOf(t);return m==-1?p.error.na:m+1}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},RANK_AVG:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=arguments[1],n=[];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;n=n.concat(q.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?n=n.concat(q.getCellDataArr(l,"number",!0)):n.push(l);for(var o=[],s=0;s<n.length;s++){var u=n[s];if(!L(u))return p.error.v;u=parseFloat(u),o.push(u)}if(arguments.length==3){var d=q.getFirstValue(arguments[2]);if(B(d))return d;if(P(d)!="boolean")if(P(d)=="string"&&(d.toLowerCase()=="true"||d.toLowerCase()=="false"))d.toLowerCase()=="true"&&(d=!0),d.toLowerCase()=="false"&&(d=!1);else if(L(d))d=parseFloat(d),d=d!=0;else return p.error.v}else var d=!1;var f=d?function(y,v){return y-v}:function(y,v){return v-y};o=o.sort(f);for(var m=0,e=0;e<o.length;e++)o[e]==t&&m++;return m>1?(2*o.indexOf(t)+m+1)/2:o.indexOf(t)+1}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},PERCENTRANK_EXC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!0))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!0)):l.push(t);for(var n=[],o=0;o<l.length;o++){var s=l[o];if(!L(s))return p.error.v;s=parseFloat(s),n.push(s)}var u=q.getFirstValue(arguments[1]);if(B(u))return u;if(!L(u))return p.error.v;if(u=parseFloat(u),arguments.length==3){var d=q.getFirstValue(arguments[2]);if(B(d))return d;if(!L(d))return p.error.v;d=parseInt(d)}else var d=3;if(n.length==0)return p.error.nm;if(d<1)return p.error.nm;if(n.length==1&&n[0]==u)return 1;n=n.sort(function(w,_){return w-_});for(var f=window.luckysheet_function.UNIQUE.f(n)[0],m=n.length,g=f.length,y=Math.pow(10,d),v=0,b=!1,e=0;!b&&e<g;)u===f[e]?(v=(n.indexOf(f[e])+1)/(m+1),b=!0):u>=f[e]&&(u<f[e+1]||e===g-1)&&(v=(n.lastIndexOf(f[e])+1+(u-f[e])/(f[e+1]-f[e]))/(m+1),b=!0),e++;return isNaN(v)?p.error.na:Math.floor(v*y)/y}catch(x){var k=x;return k=p.errorInfo(k),[p.error.v,k]}},PERCENTRANK_INC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!0))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!0)):l.push(t);for(var n=[],o=0;o<l.length;o++){var s=l[o];if(!L(s))return p.error.v;s=parseFloat(s),n.push(s)}var u=q.getFirstValue(arguments[1]);if(B(u))return u;if(!L(u))return p.error.v;if(u=parseFloat(u),arguments.length==3){var d=q.getFirstValue(arguments[2]);if(B(d))return d;if(!L(d))return p.error.v;d=parseInt(d)}else var d=3;if(n.length==0)return p.error.nm;if(d<1)return p.error.nm;if(n.length==1&&n[0]==u)return 1;n=n.sort(function(w,_){return w-_});for(var f=window.luckysheet_function.UNIQUE.f(n)[0],m=n.length,g=f.length,y=Math.pow(10,d),v=0,b=!1,e=0;!b&&e<g;)u===f[e]?(v=n.indexOf(f[e])/(m-1),b=!0):u>=f[e]&&(u<f[e+1]||e===g-1)&&(v=(n.lastIndexOf(f[e])+(u-f[e])/(f[e+1]-f[e]))/(m-1),b=!0),e++;return isNaN(v)?p.error.na:Math.floor(v*y)/y}catch(x){var k=x;return k=p.errorInfo(k),[p.error.v,k]}},FORECAST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=arguments[1],n=[];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;n=n.concat(q.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?n=n.concat(q.getCellDataArr(l,"text",!1)):n.push(l);var o=arguments[2],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!q.isDyadicArr(o))return p.error.v;s=s.concat(q.getDataArr(o,!1))}else P(o)=="object"&&o.startCell!=null?s=s.concat(q.getCellDataArr(o,"text",!1)):s.push(o);if(n.length!=s.length)return p.error.na;for(var u=[],d=[],e=0;e<n.length;e++){var f=n[e],m=s[e];L(f)&&L(m)&&(u.push(parseFloat(f)),d.push(parseFloat(m)))}if(q.variance_s(d)==0)return p.error.d;for(var g=jStat.mean(d),y=jStat.mean(u),v=d.length,b=0,k=0,e=0;e<v;e++)b+=(d[e]-g)*(u[e]-y),k+=Math.pow(d[e]-g,2);var x=b/k,w=y-x*g;return w+x*t}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},FISHERINV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=Math.exp(2*t);return(l-1)/(l+1)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},FISHER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<=-1||t>=1?p.error.nm:Math.log((1+t)/(1-t))/2):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},MODE_SNGL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}for(var s={},u=[],d=0,f,e=0;e<n.length;e++)f=n[e],s[f]=s[f]?s[f]+1:1,s[f]>d&&(d=s[f],u=[]),s[f]==d&&(u[u.length]=f);if(d<=1)return p.error.na;for(var m=n.indexOf(u[0]),g=0;g<u.length;g++){var y=n.indexOf(u[g]);y<m&&(m=y)}return n[m]}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},WEIBULL_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getCellBoolen(arguments[3]);return B(o)?o:t<0||l<=0||n<=0?p.error.nm:o?1-Math.exp(-Math.pow(t/n,l)):Math.pow(t,l-1)*Math.exp(-Math.pow(t/n,l))*l/Math.pow(n,l)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},AVEDEV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}return n.length==0?p.error.nm:jStat.sum(jStat(n).subtract(jStat.mean(n)).abs()[0])/n.length}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},AVERAGEA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(s.toString.toLowerCase()=="true")t.push(1);else if(s.toString.toLowerCase()=="false")t.push(0);else if(L(l))t.push(l);else return p.error.v}for(var n=0,o=0,e=0;e<t.length;e++){var s=t[e];L(s)?n+=parseFloat(s):s.toString().toLowerCase()=="true"?n+=1:n+=0,o++}return o==0?p.error.d:n/o}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},BINOM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getCellBoolen(arguments[3]);return B(o)?o:t<0||t>l?p.error.nm:n<0||n>1?p.error.nm:o?jStat.binomial.cdf(t,l,n):jStat.binomial.pdf(t,l,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},BINOM_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;if(n=parseFloat(n),t<0)return p.error.nm;if(l<0||l>1)return p.error.nm;if(n<0||n>1)return p.error.nm;for(var o=0;o<=t;){if(jStat.binomial.cdf(o,t,l)>=n)return o;o++}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},CONFIDENCE_NORM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseInt(n),t<=0||t>=1?p.error.nm:l<=0?p.error.nm:n<1?p.error.nm:jStat.normalci(1,t,l,n)[1]-1):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},CORREL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}return s.length==0||u.length==0||q.standardDeviation(s)==0||q.standardDeviation(u)==0?p.error.d:jStat.corrcoeff(s,u)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COVARIANCE_P:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}if(s.length==0||u.length==0)return p.error.d;for(var m=jStat.mean(s),g=jStat.mean(u),y=0,e=0;e<s.length;e++)y+=(s[e]-m)*(u[e]-g);return y=y/s.length,y}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},COVARIANCE_S:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}return s.length==0||u.length==0?p.error.d:jStat.covariance(s,u)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},DEVSQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(L(l))t.push(l);else if(P(l)=="boolean")l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0);else return p.error.v}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}for(var s=jStat.mean(n),u=0,e=0;e<n.length;e++)u+=Math.pow(n[e]-s,2);return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},EXPON_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getCellBoolen(arguments[2]);return B(n)?n:t<0?p.error.nm:l<0?p.error.nm:n?jStat.exponential.cdf(t,l):jStat.exponential.pdf(t,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},AVERAGEIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=0,l=0,n=arguments[0].data,o=arguments[0].rowl,s=arguments[0].coll,u=Bn(arguments[1]),d=[];if(arguments[2]){var f=arguments[2].startCell,m=arguments[2].rowl,g=arguments[2].coll,y=arguments[2].sheetName;if(o==m&&s==g)d=arguments[2].data;else{var v=[],b=[],k="",x="";v[0]=parseInt(f.replace(/[^0-9]/g,""))-1,b[0]=cr(f.replace(/[^A-Za-z]/g,"")),v[1]=v[0]+o-1,b[1]=b[0]+s-1;var w=tt(b[1]),_=v[1]+1;k=w+_,x=y+"!"+f+":"+k,d=rl(x).data}d=p.getRangeArray(d)[0]}n=p.getRangeArray(n)[0];for(var e=0;e<n.length;e++){var S=n[e];if(!!S&&p.acompareb(S,u)){var C=d[e]||S;if(!L(C))continue;t+=parseFloat(C),l++}}return t==0||l==0?p.error.d:Sr(t/l)}catch(R){var T=R;return T=p.errorInfo(T),[p.error.v,T]}},AVERAGEIFS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=0,l=0,n=arguments;va(n);for(var o=p.getRangeArray(n[0])[0],s=new Array(o.length),e=0;e<s.length;e++)s[e]=!0;for(var e=1;e<n.length;e+=2)for(var u=p.getRangeArray(n[e])[0],d=n[e+1],f=0;f<u.length;f++){var m=u[f];s[f]=s[f]&&!!m&&p.acompareb(m,d)}for(var e=0;e<o.length;e++)s[e]&&L(o[e])&&(t+=parseFloat(o[e]),l++);return t==0||l==0?p.error.d:Sr(t/l)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},PERMUT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<=0||l<0?p.error.nm:t<l?p.error.nm:q.factorial(t)/q.factorial(t-l)):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},TRIMMEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let m=function(y,v){return v=v||1,!y||typeof y.slice!="function"?y:y.slice(v)},g=function(y,v){return v=v||1,!y||typeof y.slice!="function"?y:y.slice(0,y.length-v)};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!1)):l.push(t);for(var n=[],e=0;e<l.length;e++){var o=l[e];L(o)&&n.push(parseFloat(o))}var s=q.getFirstValue(arguments[1]);if(B(s))return s;if(!L(s))return p.error.v;if(s=parseFloat(s),n.length==0)return p.error.nm;if(s<0||s>1)return p.error.nm;n.sort(function(y,v){return y-v});var u=window.luckysheet_function.FLOOR.f(n.length*s,2)/2,d=m(n,u);return d=g(d,u),d=jStat.mean(d),d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},PERCENTILE_EXC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!1)):l.push(t);for(var n=[],e=0;e<l.length;e++){var o=l[e];L(o)&&n.push(parseFloat(o))}var s=q.getFirstValue(arguments[1]);if(B(s))return s;if(!L(s))return p.error.v;if(s=parseFloat(s),n.length==0)return p.error.nm;if(s<=0||s>=1)return p.error.nm;n=n.sort(function(g,y){return g-y});var u=n.length;if(s<1/(u+1)||s>1-1/(u+1))return p.error.nm;var d=s*(u+1)-1,f=Math.floor(d);return d===f?n[d]:n[f]+(d-f)*(n[f+1]-n[f])}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PERCENTILE_INC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!1)):l.push(t);for(var n=[],e=0;e<l.length;e++){var o=l[e];L(o)&&n.push(parseFloat(o))}var s=q.getFirstValue(arguments[1]);if(B(s))return s;if(!L(s))return p.error.v;if(s=parseFloat(s),n.length==0)return p.error.nm;if(s<0||s>1)return p.error.nm;n=n.sort(function(g,y){return g-y});var u=n.length,d=s*(u-1),f=Math.floor(d);return d===f?n[d]:n[f]+(d-f)*(n[f+1]-n[f])}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PEARSON:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}if(u.length==0||s.length==0)return p.error.d;for(var m=jStat.mean(s),g=jStat.mean(u),y=s.length,v=0,b=0,k=0,e=0;e<y;e++)v+=(s[e]-m)*(u[e]-g),b+=Math.pow(s[e]-m,2),k+=Math.pow(u[e]-g,2);return v/Math.sqrt(b*k)}catch(w){var x=w;return x=p.errorInfo(x),[p.error.v,x]}},NORM_S_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),t<=0||t>=1?p.error.nm:jStat.normal.inv(t,0,1)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},NORM_S_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getCellBoolen(arguments[1]);return B(l)?l:l?jStat.normal.cdf(t,0,1):jStat.normal.pdf(t,0,1)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},NORM_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))if(P(l)=="boolean")l.toString().toLowerCase()=="true"?l=1:l.toString().toLowerCase()=="false"&&(l=0);else return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))if(P(n)=="boolean")n.toString().toLowerCase()=="true"?n=1:n.toString().toLowerCase()=="false"&&(n=0);else return p.error.v;return n=parseFloat(n),t<=0||t>=1?p.error.nm:n<=0?p.error.nm:jStat.normal.inv(t,l,n)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},NORM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getCellBoolen(arguments[3]);return B(o)?o:n<=0?p.error.nm:o?jStat.normal.cdf(t,l,n):jStat.normal.pdf(t,l,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},NEGBINOM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getCellBoolen(arguments[3]);return B(o)?o:n<0||n>1?p.error.nm:t<0||l<1?p.error.nm:o?jStat.negbin.cdf(t,l,n):jStat.negbin.pdf(t,l,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MINA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(L(l))t.push(l);else return p.error.v}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)?n.push(parseFloat(o)):o.toString().toLowerCase()=="true"?n.push(1):n.push(0)}return n.length===0?0:Math.min.apply(Math,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MEDIAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}return jStat.median(n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MAXA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(L(l))t.push(l);else return p.error.v}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)?n.push(parseFloat(o)):o.toString().toLowerCase()=="true"?n.push(1):n.push(0)}return n.length===0?0:Math.max.apply(Math,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},LOGNORM_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseFloat(n),t<=0||t>=1?p.error.nm:n<=0?p.error.nm:jStat.lognormal.inv(t,l,n)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},LOGNORM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getCellBoolen(arguments[3]);return B(o)?o:t<=0||n<=0?p.error.nm:o?jStat.lognormal.cdf(t,l,n):jStat.lognormal.pdf(t,l,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},Z_TEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!0))}else P(arguments[0])=="object"&&arguments[0].startCell!=null?t=t.concat(q.getCellDataArr(arguments[0],"text",!0)):t.push(arguments[0]);for(var l=[],n=0;n<t.length;n++){var o=t[n];L(o)&&l.push(parseFloat(o))}var s=q.getFirstValue(arguments[1]);if(B(s))return s;if(!L(s))return p.error.v;if(s=parseFloat(s),l.length==0)return p.error.na;var u=q.standardDeviation_s(l);if(arguments.length==3){if(u=q.getFirstValue(arguments[2]),B(u))return u;if(!L(u))return p.error.v;u=parseFloat(u)}var d=l.length,f=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,l);return 1-window.luckysheet_function.NORM_S_DIST.f((f-s)/(u/Math.sqrt(d)),"true")}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PROB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!1))}else P(arguments[0])=="object"&&arguments[0].startCell!=null?t=t.concat(q.getCellDataArr(arguments[0],"text",!1)):t.push(arguments[0]);var l=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!q.isDyadicArr(arguments[1]))return p.error.v;l=l.concat(q.getDataArr(arguments[1],!1))}else P(arguments[1])=="object"&&arguments[1].startCell!=null?l=l.concat(q.getCellDataArr(arguments[1],"text",!1)):l.push(arguments[1]);if(t.length!=l.length)return p.error.na;for(var n=[],o=[],s=0,e=0;e<t.length;e++){var u=t[e],d=l[e];if(L(u)&&L(d)&&(n.push(parseFloat(u)),o.push(parseFloat(d)),s+=parseFloat(d),parseFloat(d)<=0||parseFloat(d)>1))return p.error.nm}if(s!=1)return p.error.nm;var f=q.getFirstValue(arguments[2]);if(B(f))return f;if(!L(f))return p.error.v;f=parseFloat(f);var m=f;if(arguments.length==4){if(m=q.getFirstValue(arguments[3]),B(m))return m;if(!L(m))return p.error.v;m=parseFloat(m)}for(var g=0,e=0;e<n.length;e++)n[e]>=f&&n[e]<=m&&(g+=o[e]);return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},QUARTILE_EXC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!0))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(q.getCellDataArr(arguments[0],"text",!0));else{if(!L(arguments[0]))return p.error.v;t.push(arguments[0])}for(var l=[],e=0;e<t.length;e++){var n=t[e];L(n)&&l.push(parseFloat(n))}var o=q.getFirstValue(arguments[1]);if(B(o))return o;if(!L(o))return p.error.v;if(o=parseInt(o),l.length==0)return p.error.nm;if(o<=0||o>=4)return p.error.nm;switch(o){case 1:return window.luckysheet_function.PERCENTILE_EXC.f(l,.25);case 2:return window.luckysheet_function.PERCENTILE_EXC.f(l,.5);case 3:return window.luckysheet_function.PERCENTILE_EXC.f(l,.75)}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},QUARTILE_INC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!0))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(q.getCellDataArr(arguments[0],"text",!0));else{if(!L(arguments[0]))return p.error.v;t.push(arguments[0])}for(var l=[],e=0;e<t.length;e++){var n=t[e];L(n)&&l.push(parseFloat(n))}var o=q.getFirstValue(arguments[1]);if(B(o))return o;if(!L(o))return p.error.v;if(o=parseInt(o),l.length==0)return p.error.nm;if(o<0||o>4)return p.error.nm;switch(o){case 0:return Math.min.apply(Math,l);case 1:return window.luckysheet_function.PERCENTILE_INC.f(l,.25);case 2:return window.luckysheet_function.PERCENTILE_INC.f(l,.5);case 3:return window.luckysheet_function.PERCENTILE_INC.f(l,.75);case 4:return Math.max.apply(Math,l)}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},POISSON_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getCellBoolen(arguments[2]);return B(n)?n:t<0||l<0?p.error.nm:n?jStat.poisson.cdf(t,l):jStat.poisson.pdf(t,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},RSQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else if(P(t)=="object"&&t.startCell!=null)l=l.concat(q.getCellDataArr(t,"text",!1));else{if(!L(t))return p.error.v;l.push(t)}var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else if(P(n)=="object"&&n.startCell!=null)o=o.concat(q.getCellDataArr(n,"text",!1));else{if(!L(n))return p.error.v;o.push(n)}if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}return s.length==0||u.length==0?p.error.d:Math.pow(window.luckysheet_function.PEARSON.f(s,u),2)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},T_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getCellBoolen(arguments[2]);return B(n)?n:l<1?p.error.nm:n?jStat.studentt.cdf(t,l):jStat.studentt.pdf(t,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},T_DIST_2T:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<0||l<1?p.error.nm:(1-jStat.studentt.cdf(t,l))*2):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},T_DIST_RT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),l<1?p.error.nm:1-jStat.studentt.cdf(t,l)):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},T_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<=0||t>1?p.error.nm:l<1?p.error.nm:jStat.studentt.inv(t,l)):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},T_INV_2T:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<=0||t>1?p.error.nm:l<1?p.error.nm:Math.abs(jStat.studentt.inv(t/2,l))):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},T_TEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!1))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(q.getCellDataArr(arguments[0],"text",!1));else{if(!L(arguments[0]))return p.error.v;t.push(arguments[0])}var l=t,n=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!q.isDyadicArr(arguments[1]))return p.error.v;n=n.concat(q.getDataArr(arguments[1],!1))}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null)n=n.concat(q.getCellDataArr(arguments[1],"text",!1));else{if(!L(arguments[1]))return p.error.v;n.push(arguments[1])}var o=n,s=q.getFirstValue(arguments[2]);if(B(s))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=q.getFirstValue(arguments[3]);if(B(u))return u;if(!L(u))return p.error.v;if(u=parseInt(u),[1,2].indexOf(s)==-1)return p.error.nm;if([1,2,3].indexOf(u)==-1)return p.error.nm;var d=null,f=null;if(u==1){var m=[];for(e=0;e<l.length;e++)m.push(l[e]-o[e]);var g=Math.abs(jStat.mean(m)),y=q.standardDeviation_s(m);d=g/(y/Math.sqrt(l.length)),f=l.length-1}else{var v=jStat.mean(l),b=jStat.mean(o),k=q.variance_s(l),x=q.variance_s(o);switch(d=Math.abs(v-b)/Math.sqrt(k/l.length+x/o.length),u){case 2:f=l.length+o.length-2;break;case 3:f=Math.pow(k/l.length+x/o.length,2)/(Math.pow(k/l.length,2)/(l.length-1)+Math.pow(x/o.length,2)/(o.length-1));break}}if(s==1)var w=window.luckysheet_function.T_DIST_RT.f(d,f);else if(s==2)var w=window.luckysheet_function.T_DIST_2T.f(d,f);return w}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},F_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=q.getCellBoolen(arguments[3]);return B(o)?o:t<0?p.error.nm:l<1?p.error.nm:n<1?p.error.nm:o?jStat.centralF.cdf(t,l,n):jStat.centralF.pdf(t,l,n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},F_DIST_RT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseInt(n),t<0?p.error.nm:l<1?p.error.nm:n<1?p.error.nm:1-jStat.centralF.cdf(t,l,n)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},VAR_P:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}if(n.length==0)return p.error.d;for(var s=n.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,n),e=0;e<s;e++)u+=Math.pow(n[e]-d,2);return u/s}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},VAR_S:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}if(n.length==0)return p.error.d;for(var s=n.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,n),e=0;e<s;e++)u+=Math.pow(n[e]-d,2);return u/(s-1)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},VARA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(L(l))t.push(l);else return p.error.v}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)?n.push(parseFloat(o)):o.toString().toLowerCase()=="true"?n.push(1):n.push(0)}for(var s=n.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,n),e=0;e<s;e++)u+=Math.pow(n[e]-d,2);return u/(s-1)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},VARPA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(L(l))t.push(l);else return p.error.v}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)?n.push(parseFloat(o)):o.toString().toLowerCase()=="true"?n.push(1):n.push(0)}for(var s=n.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,n),e=0;e<s;e++)u+=Math.pow(n[e]-d,2);return u/s}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},STEYX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!1))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(q.getCellDataArr(arguments[0],"text",!1));else{if(!L(arguments[0]))return p.error.v;t.push(arguments[0])}var l=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!q.isDyadicArr(arguments[1]))return p.error.v;l=l.concat(q.getDataArr(arguments[1],!1))}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null)l=l.concat(q.getCellDataArr(arguments[1],"text",!1));else{if(!L(arguments[1]))return p.error.v;l.push(arguments[1])}if(t.length!=l.length)return p.error.na;for(var n=[],o=[],e=0;e<t.length;e++){var s=t[e],u=l[e];L(s)&&L(u)&&(n.push(parseFloat(s)),o.push(parseFloat(u)))}if(n.length<3||o.length<3)return p.error.d;for(var d=jStat.mean(o),f=jStat.mean(n),m=o.length,g=0,y=0,v=0,e=0;e<m;e++)g+=Math.pow(n[e]-f,2),y+=(o[e]-d)*(n[e]-f),v+=Math.pow(o[e]-d,2);return Math.sqrt((g-y*y/v)/(m-2))}catch(k){var b=k;return b=p.errorInfo(b),[p.error.v,b]}},STANDARDIZE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseFloat(n),n<=0?p.error.nm:(t-l)/n):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},SMALL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!0))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(q.getCellDataArr(arguments[0],"number",!0));else{if(!L(arguments[0]))return p.error.v;t.push(arguments[0])}for(var l=[],e=0;e<t.length;e++){var n=t[e];L(n)&&l.push(parseFloat(n))}var o=q.getFirstValue(arguments[1]);return B(o)?o:L(o)?(o=parseInt(o),l.length==0?p.error.nm:o<=0||o>l.length?p.error.nm:l.sort(function(u,d){return u-d})[o-1]):p.error.v}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},SLOPE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!q.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(q.getDataArr(arguments[0],!1))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(q.getCellDataArr(arguments[0],"text",!1));else{if(!L(arguments[0]))return p.error.v;t.push(arguments[0])}var l=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!q.isDyadicArr(arguments[1]))return p.error.v;l=l.concat(q.getDataArr(arguments[1],!1))}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null)l=l.concat(q.getCellDataArr(arguments[1],"text",!1));else{if(!L(arguments[1]))return p.error.v;l.push(arguments[1])}if(t.length!=l.length)return p.error.na;for(var n=[],o=[],e=0;e<t.length;e++){var s=t[e],u=l[e];L(s)&&L(u)&&(n.push(parseFloat(s)),o.push(parseFloat(u)))}if(n.length<3||o.length<3)return p.error.d;for(var d=jStat.mean(o),f=jStat.mean(n),m=o.length,g=0,y=0,e=0;e<m;e++)g+=(o[e]-d)*(n[e]-f),y+=Math.pow(o[e]-d,2);return g/y}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},SKEW:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}if(n.length<3||q.standardDeviation_s(n)==0)return p.error.d;for(var s=jStat.mean(n),u=n.length,d=0,e=0;e<u;e++)d+=Math.pow(n[e]-s,3);return u*d/((u-1)*(u-2)*Math.pow(jStat.stdev(n,!0),3))}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},SKEW_P:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;t=t.concat(q.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(q.getCellDataArr(l,"number",!0));else{if(!L(l))return p.error.v;t.push(l)}}for(var n=[],e=0;e<t.length;e++){var o=t[e];L(o)&&n.push(parseFloat(o))}if(n.length<3||q.standardDeviation_s(n)==0)return p.error.d;for(var s=jStat.mean(n),u=n.length,d=0,f=0,e=0;e<u;e++)f+=Math.pow(n[e]-s,3),d+=Math.pow(n[e]-s,2);return f=f/u,d=d/u,f/Math.pow(d,3/2)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},ADDRESS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=1;if(arguments.length>=3){if(n=q.getFirstValue(arguments[2]),B(n))return n;if(!L(n))return p.error.v;n=parseInt(n)}var o=!0;if(arguments.length>=4&&(o=q.getCellBoolen(arguments[3]),B(o)))return o;if(t<=0||l<=0)return p.error.v;if([1,2,3,4].indexOf(n)==-1)return p.error.v;var s;if(o)switch(l=tt(l-1),n){case 1:s="$"+l+"$"+t;break;case 2:s=l+"$"+t;break;case 3:s="$"+l+t;break;case 4:s=l+t;break}else switch(n){case 1:s="R"+t+"C"+l;break;case 2:s="R"+t+"C["+l+"]";break;case 3:s="R["+t+"]C"+l;break;case 4:s="R["+t+"]C["+l+"]";break}if(arguments.length==5){var u=q.getFirstValue(arguments[4]);return B(u)?u:u+"!"+s}else return s}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},INDIRECT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;var l=!0;if(arguments.length==2&&(l=q.getCellBoolen(arguments[1]),B(l)))return l;let o=It(),s=Z(h.calculateSheetIndex),u=o[s],d=u.data;if(p.iscelldata(t)){let f=p.getcellrange(t),m=f.row[0],g=f.column[0];if(m<0||m>=d.length||g<0||g>=d[0].length)return p.error.r;if(d[m][g]==null||de(d[m][g].v))return 0;let y=d[m][g].v;if(p.execFunctionGlobalData!=null){let b=p.execFunctionGlobalData[m+"_"+g+"_"+h.calculateSheetIndex];b!=null&&(y=b.v)}return{sheetName:u.name,startCell:t,rowl:m,coll:g,data:y}}else return p.error.r}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ROW:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{if(arguments.length==1){var t;if(P(arguments[0])=="array")return p.error.v;if(P(arguments[0])=="object"&&arguments[0].startCell!=null?t=arguments[0].startCell:t=arguments[0],p.iscelldata(t)){var l=p.getcellrange(t);return l.row[0]+1}else return p.error.v}else return window.luckysheetCurrentRow+1}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ROWS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return P(arguments[0])=="array"?P(arguments[0][0])=="array"?arguments[0].length:1:P(arguments[0])=="object"&&arguments[0].startCell!=null?arguments[0].rowl:1}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},COLUMN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{if(arguments.length==1){var t;if(P(arguments[0])=="array")return p.error.v;if(P(arguments[0])=="object"&&arguments[0].startCell!=null?t=arguments[0].startCell:t=arguments[0],p.iscelldata(t)){var l=p.getcellrange(t);return l.column[0]+1}else return p.error.v}else return window.luckysheetCurrentColumn+1}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},COLUMNS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return P(arguments[0])=="array"?P(arguments[0][0])=="array"?arguments[0][0].length:arguments[0].length:P(arguments[0])=="object"&&arguments[0].startCell!=null?arguments[0].coll:1}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},OFFSET:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{if(!(P(arguments[0])=="object"&&arguments[0].startCell!=null))return p.error.v;var t=arguments[0].startCell;let w=arguments[0].sheetName;var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=arguments[0].rowl;if(arguments.length>=4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}var s=arguments[0].coll;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseInt(s)}if(o<1||s<1)return p.error.r;var u=p.getcellrange(t),d=u.row[0],f=u.column[0];d+=l,f+=n;var m=d+o-1,g=f+s-1;let _=It(),S=Z(h.calculateSheetIndex),C=_[S].data;if(d<0||m>=C.length||f<0||g>=C[0].length)return p.error.r;for(var y=[],v=d;v<=m;v++){for(var b=[],k=f;k<=g;k++)if(p.execFunctionGlobalData!=null&&p.execFunctionGlobalData[v+"_"+k+"_"+h.calculateSheetIndex]!=null){let R=p.execFunctionGlobalData[v+"_"+k+"_"+h.calculateSheetIndex];R!=null?b.push(R.v):b.push(0)}else C[v][k]!=null&&!de(C[v][k].v)?b.push(C[v][k].v):b.push(0);y.push(b)}return{sheetName:w,startCell:kt(h.calculateSheetIndex,{row:[d,m],column:[f,g]}),rowl:d,coll:f,data:y}}catch(w){var x=w;return x=p.errorInfo(x),[p.error.v,x]}},MATCH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=arguments[1],n=[];if(P(l)=="array"){if(P(l[0])=="array")return q.isDyadicArr(l)?p.error.na:p.error.v;for(var e=0;e<l.length;e++)n.push(l[e])}else if(P(l)=="object"&&l.startCell!=null){if(l.rowl>1&&l.coll>1)return p.error.na;if(l.data!=null)if(P(l.data)=="array")for(var e=0;e<l.data.length;e++)for(var o=0;o<l.data[e].length;o++)l.data[e][o]!=null&&!de(l.data[e][o].v)&&n.push(l.data[e][o].v);else n.push(l.data.v)}var s=1;if(arguments.length==3){if(s=q.getFirstValue(arguments[2]),B(s))return s;if(!L(s))return p.error.v;s=Math.ceil(parseFloat(s))}if([-1,0,1].indexOf(s)==-1)return p.error.na;for(var u,d,f=0;f<n.length;f++)if(s===1){if(n[f]===t)return f+1;n[f]<t&&(d?n[f]>d&&(u=f+1,d=n[f]):(u=f+1,d=n[f]))}else if(s===0){if(typeof t=="string"){if(t=t.replace(/\?/g,"."),n[f].toLowerCase().match(t.toLowerCase()))return f+1}else if(n[f]===t)return f+1}else if(s===-1){if(n[f]===t)return f+1;n[f]>t&&(d?n[f]<d&&(u=f+1,d=n[f]):(u=f+1,d=n[f]))}return u||p.error.na}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},VLOOKUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;if(t.toString().replace(/\s/g,"")=="")return p.error.na;var l=arguments[1],n=[];if(P(l)=="array")if(P(l[0])=="array"){if(!q.isDyadicArr(l))return p.error.v;for(var e=0;e<l.length;e++){for(var o=[],s=0;s<l[e].length;s++)o.push(l[e][s]);n.push(o)}}else{for(var o=[],e=0;e<l.length;e++)o.push(l[e]);n.push(o)}else if(P(l)=="object"&&l.startCell!=null)n=q.getCellDataDyadicArr(l,"text");else return p.error.v;var u=q.getFirstValue(arguments[2]);if(B(u))return u;if(!L(u))return p.error.v;u=parseInt(u);var d=!0;if(arguments.length==4&&(d=q.getCellBoolen(arguments[3]),B(d)))return d;if(u<1)return p.error.v;if(u>n[0].length)return p.error.r;if(d){n=zl(n,0,!0);for(var f=0;f<n.length;f++){var m=n[f][0],g;if(qt(t)&&qt(m)?g=sr(t,m):L(t)&&L(m)?g=(0,Oi.default)(t).value()-(0,Oi.default)(m).value():!L(t)&&!L(m)?g=t.localeCompare(m,"zh"):L(t)?L(m)||(g=-1):g=1,g<0)return f==0?p.error.na:n[f-1][u-1];if(f==n.length-1)return n[f][u-1]}}else{for(var y=null,f=0;f<n.length;f++)if(t.toString()==n[f][0].toString()){y=f;break}return y==null?p.error.na:n[y][u-1]}}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},HLOOKUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=arguments[0];typeof n=="object"&&(n=arguments[0].data,P(n)=="array"?(n=n[r],P(n)=="array"&&(n=n[f])):n=n.v);var o=arguments[1].data,s=arguments[2],u=!1;if(arguments.length>3&&(u=!!arguments[3]),s>o.rowl)return[p.error.v,"\u7D22\u5F15\u8D85\u8FC7\u4E86\u8303\u56F4\u7684\u957F\u5EA6\uFF0C"+o[0].length];if(s<1)return[p.error.v,"\u7D22\u5F15\u5FC5\u987B\u5927\u4E8E1"];for(var d=p.error.na,f=0;f<o[0].length;f++){var m=ze(0,f,o),g=ze(s-1,f,o);if(u)m.indexOf(n)>-1&&(d=g);else if(p.acompareb(m,n))return d=g,d}return d}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},LOOKUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let b=function(k,x){return x-k};var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=arguments[0];typeof n=="object"&&(n=arguments[0].data,P(n)=="array"?(n=n[r],P(n)=="array"&&(n=n[c])):n=n.v);var o=arguments[1].data,s,u=p.error.na;if(o=p.getRangeArray(o)[0],arguments[2]&&(s=arguments[2].data,s=p.getRangeArray(s)[0]),typeof n=="string")for(var e=0;e<o.length;e++){var d=o[e],f;arguments[2]?(f=s[e],d==n&&(u=f)):p.acompareb(d,n)&&(u=d)}else if(Jr(n)=="num"){for(var m=[],e=0;e<o.length;e++){var d=o[e],f;if(arguments[2]){if(f=s[e],d==n)return u=f,u;d!=n&&Jr(d)=="num"&&m.push(d)}else{if(d==n)return u=d,u;d!=n&&Jr(d)=="num"&&m.push(d)}}if(m.length!=0){m.push(n),m.sort(b);var g=m.indexOf(n);if(g==m.length-1)return[p.error.na,"\u627E\u4E0D\u5230\u5BF9\u5E94\u53C2\u6570"];var y=m[g+1];if(arguments[2]){var e=o.indexOf(y);u=s[e]}else u=y}}return u}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},INDEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];let y=!1;if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else P(t)=="object"&&t.startCell!=null&&(l=q.getCellDataDyadicArr(t,"number"),y=!0);var n=l.length,o=l[0].length,s=q.getFirstValue(arguments[1]);if(B(s))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=q.getFirstValue(arguments[2]);if(B(u))return u;if(s<0||L(u)&&u<0)return p.error.v;if(s>n||L(u)&&u>o)return p.error.r;if(y){var d=p.getcellrange(t.startCell),f=d.row[0],m=d.column[0];let v=l;s==0||u==0?(s==0?(v=l[0],s=1):v=l[s-1],L(u)?u==0?(v=v[0],u=1):v=v[u-1]:u=1):(L(s)||(s=1),L(u)||(u=1),v=l[s-1][u-1]);let b=f+s-1,k=m+u-1;return{sheetName:t.sheetName,startCell:kt(h.calculateSheetIndex,{row:[b,b],column:[k,k]}),rowl:b,coll:k,data:v}}else return L(u)?(u=parseInt(u),s<=0||u<=0?p.error.v:l[s-1][u-1]):p.error.v}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},GETPIVOTDATA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},CHOOSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;if(t=parseInt(t),t<1||t>arguments.length-1)return p.error.v;var l=arguments[t];if(P(l)=="array")return P(l[0])=="array"&&!q.isDyadicArr(l)?p.error.v:l;if(P(l)=="object"&&l.startCell!=null){if(l.data==null)return 0;if(P(l.data)=="array"){var n=q.getCellDataDyadicArr(l.data,"number");return n}else return de(l.data.v)?0:l.data.v}else return l}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},HYPERLINK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},TIME:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;if(n=parseInt(n),t<0||t>32767)return p.error.nm;if(t>24&&(t=t%24),l<0||l>32767)return p.error.nm;if(n<0||n>32767)return p.error.nm;var o=(0,V.default)().set({hour:t,minute:l,second:n});return(0,V.default)(o).format("h:mm:ss a")}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},TIMEVALUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);return B(t)?t:(0,V.default)(t).isValid()?(3600*(0,V.default)(t).get("hour")+60*(0,V.default)(t).get("minute")+(0,V.default)(t).get("second"))/86400:p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},EOMONTH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseInt(l),!(0,V.default)(t).isValid())return p.error.v;var n=(0,V.default)(t).add(l+1,"months").set("date",1).subtract(1,"days"),o=it((0,V.default)(n).format("YYYY-MM-DD H:mm:ss")),s=o[2];return s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},EDATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseInt(l),!(0,V.default)(t).isValid())return p.error.v;var n=(0,V.default)(t).add(l,"months"),o=it((0,V.default)(n).format("YYYY-MM-DD h:mm:ss")),s=o[2];return s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},SECOND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=(0,V.default)(t).seconds();return l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},MINUTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=(0,V.default)(t).minutes();return l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},HOUR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=(0,V.default)(t).hours();return l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},NOW:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return(0,V.default)().format("YYYY-M-D HH:mm")}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},NETWORKDAYS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{if(arguments.length==3)var t=window.luckysheet_function.NETWORKDAYS_INTL.f(arguments[0],arguments[1],1,arguments[2]);else var t=window.luckysheet_function.NETWORKDAYS_INTL.f(arguments[0],arguments[1],1);return t}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},NETWORKDAYS_INTL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[[],[6,0],[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],void 0,void 0,void 0,[0,0],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6]],l=q.getCellDate(arguments[0]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getCellDate(arguments[1]);if(B(n))return n;if(!(0,V.default)(n).isValid())return p.error.v;var o=t[1];if(arguments.length>=3&&(o=arguments[2],!(typeof o=="string"&&o.length=="7"&&/^[0-1]{7}$/g.test(o)))){if(o=q.getFirstValue(arguments[2]),B(o))return o;if(!L(o))return p.error.v;if(o=parseInt(o),o<1||o>7&&o<11||o>17)return p.error.nm;o=t[o]}var s=[];if(arguments.length==4&&(s=q.getCellrangeDate(arguments[3]),B(s)))return s;for(var e=0;e<s.length;e++)if(!(0,V.default)(s[e]).isValid())return p.error.v;var u=(0,V.default)(n).diff((0,V.default)(l),"days")+1,d=u,f=(0,V.default)(l);for(e=0;e<u;e++){var m=(0,V.default)(f).weekday(),g=!1;P(o)=="array"?(m===o[0]||m===o[1])&&(g=!0):(m==0&&(m=7),o.charAt(m-1)=="0"&&(g=!0));for(var y=0;y<s.length;y++)if((0,V.default)(f).diff((0,V.default)(s[y]),"days")===0){g=!0;break}g&&d--,f=(0,V.default)(f).add(1,"days")}return d}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},ISOWEEKNUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);return B(t)?t:(0,V.default)(t).isValid()?(0,V.default)(t).isoWeeks():p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},WEEKNUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[void 0,7,1,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,1,2,3,4,5,6,7],l=q.getCellDate(arguments[0]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=1;if(arguments.length==2){if(n=q.getFirstValue(arguments[1]),B(n))return n;if(!L(n))return p.error.v;n=parseInt(n)}if(n==21)return window.luckysheet_function.ISOWEEKNUM.f(arguments[0]);if([1,2,11,12,13,14,15,16,17].indexOf(n)==-1)return p.error.nm;var o=t[n],s=(0,V.default)(l).isoWeekday()>=o?1:0,u=(0,V.default)(l).isoWeeks()+s;return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},WEEKDAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[[],[1,2,3,4,5,6,7],[7,1,2,3,4,5,6],[6,0,1,2,3,4,5],[],[],[],[],[],[],[],[7,1,2,3,4,5,6],[6,7,1,2,3,4,5],[5,6,7,1,2,3,4],[4,5,6,7,1,2,3],[3,4,5,6,7,1,2],[2,3,4,5,6,7,1],[1,2,3,4,5,6,7]],l=q.getCellDate(arguments[0]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=1;if(arguments.length==2){if(n=q.getFirstValue(arguments[1]),B(n))return n;if(!L(n))return p.error.v;n=parseInt(n)}if([1,2,3,11,12,13,14,15,16,17].indexOf(n)==-1)return p.error.nm;var o=t[n][(0,V.default)(l).day()];return o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);return B(t)?t:(0,V.default)(t).isValid()?(0,V.default)(t).date():p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},DAYS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=(0,V.default)(t).diff((0,V.default)(l),"days");return n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DAYS360:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=!1;if(arguments.length==3&&(n=q.getCellBoolen(arguments[2]),B(n)))return n;var o=(0,V.default)(t).month(),s=(0,V.default)(l).month(),u,d;if(n)u=(0,V.default)(t).date()===31?30:(0,V.default)(t).date(),d=(0,V.default)(l).date()===31?30:(0,V.default)(l).date();else{var f=(0,V.default)().set({year:(0,V.default)(t).year(),month:o+1,date:0}).date(),m=(0,V.default)().set({year:(0,V.default)(l).year(),month:s+1,date:0}).date();u=(0,V.default)(t).date()===f?30:(0,V.default)(t).date(),(0,V.default)(l).date()===m?u<30?(s++,d=1):d=30:d=(0,V.default)(l).date()}var g=360*(0,V.default)(l).diff((0,V.default)(t),"years")+30*(s-o)+(d-u);return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},DATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;if(n=parseInt(n),t<0||t>=1e4)return p.error.nm;t>=0&&t<=1899&&(t=t+1900);var o=(0,V.default)().set({year:t,month:l-1,date:n});return(0,V.default)(o).year()<1900?p.error.nm:(0,V.default)(o).format("YYYY-MM-DD")}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DATEVALUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;t=(0,V.default)(t).format("YYYY-MM-DD");var l=it(t)[2];return l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},DATEDIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{va(arguments);for(var e=0;e<arguments.length-1;e++)if(arguments[e]=moment.fromOADate(arguments[e]).format("l"),!qt(arguments[e]))return p.error.v;var t=(0,V.default)(arguments[0]),l=(0,V.default)(arguments[1]),n=arguments[2],o=p.error.v;if(window.luckysheet_function.DAYS.f(l,t)<0)return p.error.v;switch(n){case"Y":case"y":o=l.diff(t,"years",!1);break;case"M":case"m":o=l.diff(t,"months",!1);break;case"D":case"d":o=l.diff(t,"days",!1);break;case"MD":case"md":o=l.format("DD")-t.format("DD");break;case"YM":case"ym":var s=parseInt(t.format("M")),u=parseInt(l.format("M"));o=s<=u?u-s:u+12-s;break;case"YD":case"yd":var s=it(t.format("MM-DD"))[2],u=it(l.format("MM-DD"))[2];o=s<=u?u-s:u+365-s;break;default:o=p.error.v}return o}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},WORKDAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{if(arguments.length==3)var t=window.luckysheet_function.WORKDAY_INTL.f(arguments[0],arguments[1],1,arguments[2]);else var t=window.luckysheet_function.WORKDAY_INTL.f(arguments[0],arguments[1],1);return t}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},WORKDAY_INTL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=[[],[6,0],[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],void 0,void 0,void 0,[0,0],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6]],l=q.getCellDate(arguments[0]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[1]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=t[1];if(arguments.length>=3&&(o=arguments[2],!(typeof o=="string"&&o.length=="7"&&/^[0-1]{7}$/g.test(o)))){if(o=q.getFirstValue(arguments[2]),B(o))return o;if(!L(o))return p.error.v;if(o=parseInt(o),o<1||o>7&&o<11||o>17)return p.error.nm;o=t[o]}var s=[];if(arguments.length==4&&(s=q.getCellrangeDate(arguments[3]),B(s)))return s;for(var e=0;e<s.length;e++)if(!(0,V.default)(s[e]).isValid())return p.error.v;for(var u=0;u<n;){l=(0,V.default)(l).add(1,"days");var d=(0,V.default)(l).weekday();if(P(o)){if(d===o[0]||d===o[1])continue}else if(d==0&&(d=7),o.charAt(d-1)=="0")continue;for(var f=0;f<s.length;f++)if((0,V.default)(l).diff((0,V.default)(s[f]),"days")===0){u--;break}u++}return(0,V.default)(l).format("YYYY-MM-DD")}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},YEAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);return B(t)?t:(0,V.default)(t).isValid()?(0,V.default)(t).year():p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},YEARFRAC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=0;if(arguments.length==3){if(n=q.getFirstValue(arguments[2]),B(n))return n;if(!L(n))return p.error.v;n=parseInt(n)}if(n<0||n>4)return p.error.nm;var o=(0,V.default)(t).date(),s=(0,V.default)(t).month()+1,u=(0,V.default)(t).year(),d=(0,V.default)(l).date(),f=(0,V.default)(l).month()+1,m=(0,V.default)(l).year(),g;switch(n){case 0:o===31&&d===31?(o=30,d=30):o===31?o=30:o===30&&d===31&&(d=30),g=(d+f*30+m*360-(o+s*30+u*360))/360;break;case 1:var y=365;if(u===m||u+1===m&&(s>f||s===f&&o>=d))return(u===m&&q.isLeapYear(u)||q.feb29Between(t,l)||f===1&&d===29)&&(y=366),(0,V.default)(l).diff((0,V.default)(t),"days")/y;var v=m-u+1,b=((0,V.default)().set({year:m+1,month:0,date:1})-(0,V.default)().set({year:u,month:0,date:1}))/1e3/60/60/24,k=b/v;g=(0,V.default)(l).diff((0,V.default)(t),"days")/k;break;case 2:g=(0,V.default)(l).diff((0,V.default)(t),"days")/360;break;case 3:g=(0,V.default)(l).diff((0,V.default)(t),"days")/365;break;case 4:g=(d+f*30+m*360-(o+s*30+u*360))/360;break}return g}catch(w){var x=w;return x=p.errorInfo(x),[p.error.v,x]}},TODAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return(0,V.default)().format("YYYY-MM-DD")}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},MONTH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);return B(t)?t:(0,V.default)(t).isValid()?(0,V.default)(t).month()+1:p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},EFFECT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<=0||l<1?p.error.nm:Math.pow(1+t/l,l)-1):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},DOLLAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=2;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}l>9&&(l=9);for(var n="0.",e=1;e<=l;e++)n+="0";var o=t>0?1:-1;return o*Math.floor(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DOLLARDE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseInt(l),l<0)return p.error.nm;if(l==0)return p.error.d;var n=parseInt(t,10);n+=t%1*Math.pow(10,Math.ceil(Math.log(l)/Math.LN10))/l;var o=Math.pow(10,Math.ceil(Math.log(l)/Math.LN2)+1);return n=Math.round(n*o)/o,n}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DOLLARFR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;if(l=parseInt(l),l<0)return p.error.nm;if(l==0)return p.error.d;var n=parseInt(t,10);return n+=t%1*Math.pow(10,-Math.ceil(Math.log(l)/Math.LN10))*l,n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseInt(o);var s=12;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseInt(s)}if(t<0||l<0||n<0||o<0)return p.error.nm;if(s<1||s>12)return p.error.nm;if(o>n)return p.error.nm;if(l>=t)return 0;for(var u=(1-Math.pow(l/t,1/n)).toFixed(3),d=t*u*s/12,f=d,m=0,g=o===n?n-1:o,e=2;e<=g;e++)m=(t-f)*u,f+=m;if(o===1)var y=d;else if(o===n)var y=(t-f)*u;else var y=m;return y}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},DDB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseInt(o);var s=2;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(t<0||l<0||n<0||o<0||s<=0)return p.error.nm;if(o>n)return p.error.nm;if(l>=t)return 0;for(var u=0,d=0,e=1;e<=o;e++)d=Math.min((t-u)*(s/n),t-l-u),u+=d;return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},RATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=0;if(arguments.length>=4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}var u=.1;if(arguments.length==6){if(u=q.getFirstValue(arguments[5]),B(u))return u;if(!L(u))return p.error.v;u=parseFloat(u)}if(s!=0&&s!=1)return p.error.nm;for(var d=1e-6,f=100,m=0,g=!1,y=u;m<f&&!g;){var v=Math.pow(y+1,t),b=Math.pow(y+1,t-1),k=o+v*n+l*(v-1)*(y*s+1)/y,x=t*b*n-l*(v-1)*(y*s+1)/Math.pow(y,2),w=t*l*b*(y*s+1)/y+l*(v-1)*s/y,_=y-k/(x+w);Math.abs(_-y)<d&&(g=!0),m++,y=_}return g?y:p.error.nm}catch(C){var S=C;return S=p.errorInfo(S),[p.error.v,S]}},CUMPRINC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseInt(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=q.getFirstValue(arguments[5]);if(B(u))return u;if(!L(u))return p.error.v;if(u=parseFloat(u),t<=0||l<=0||n<=0)return p.error.nm;if(o<1||s<1||o>s)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,l,n,0,u),f=0;o===1&&(u===0?f=d+n*t:f=d,o++);for(var e=o;e<=s;e++)u>0?f+=d-(window.luckysheet_function.FV.f(t,e-2,d,n,1)-d)*t:f+=d-window.luckysheet_function.FV.f(t,e-1,d,n,0)*t;return f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COUPNUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=0;if(arguments.length==4){var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}if(n!=1&&n!=2&&n!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var s=(0,V.default)(t).date(),u=(0,V.default)(t).month()+1,d=(0,V.default)(t).year(),f=(0,V.default)(l).date(),m=(0,V.default)(l).month()+1,g=(0,V.default)(l).year(),y;switch(o){case 0:s===31&&f===31?(s=30,f=30):s===31?s=30:s===30&&f===31&&(f=30),y=(f+m*30+g*360-(s+u*30+d*360))/(360/n);break;case 1:var v=365;if(d===g||d+1===g&&(u>m||u===m&&s>=f))return(d===g&&q.isLeapYear(d)||q.feb29Between(t,l)||m===1&&f===29)&&(v=366),(0,V.default)(l).diff((0,V.default)(t),"days")/(v/n);var b=g-d+1,k=((0,V.default)().set({year:g+1,month:0,date:1})-(0,V.default)().set({year:d,month:0,date:1}))/1e3/60/60/24,x=k/b;y=(0,V.default)(l).diff((0,V.default)(t),"days")/(x/n);break;case 2:y=(0,V.default)(l).diff((0,V.default)(t),"days")/(360/n);break;case 3:y=(0,V.default)(l).diff((0,V.default)(t),"days")/(365/n);break;case 4:y=(f+m*30+g*360-(s+u*30+d*360))/(360/n);break}return Math.round(y)}catch(_){var w=_;return w=p.errorInfo(w),[p.error.v,w]}},SYD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);return B(o)?o:L(o)?(o=parseInt(o),n==0?p.error.nm:o<1||o>n?p.error.nm:(t-l)*(n-o+1)*2/(n*(n+1))):p.error.v}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},TBILLEQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseFloat(n),n<=0?p.error.nm:(0,V.default)(t)-(0,V.default)(l)>0?p.error.nm:(0,V.default)(l)-(0,V.default)(t)>365*24*60*60*1e3?p.error.nm:365*n/(360-n*(0,V.default)(l).diff((0,V.default)(t),"days"))):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},TBILLYIELD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseFloat(n),n<=0?p.error.nm:(0,V.default)(t)-(0,V.default)(l)>=0?p.error.nm:(0,V.default)(l)-(0,V.default)(t)>365*24*60*60*1e3?p.error.nm:(100-n)/n*(360/(0,V.default)(l).diff((0,V.default)(t),"days"))):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},TBILLPRICE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseFloat(n),n<=0?p.error.nm:(0,V.default)(t)-(0,V.default)(l)>0?p.error.nm:(0,V.default)(l)-(0,V.default)(t)>365*24*60*60*1e3?p.error.nm:100*(1-n*(0,V.default)(l).diff((0,V.default)(t),"days")/360)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},PV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=0;if(arguments.length>=4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;if(t===0)var u=-n*l-o;else var u=((1-Math.pow(1+t,l))/t*n*(1+t*s)-o)/Math.pow(1+t,l);return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},ACCRINT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getCellDate(arguments[2]);if(B(n))return n;if(!(0,V.default)(n).isValid())return p.error.v;var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s);var u=q.getFirstValue(arguments[5]);if(B(u))return u;if(!L(u))return p.error.v;u=parseInt(u);var d=0;if(arguments.length>=7){if(d=q.getFirstValue(arguments[6]),B(d))return d;if(!L(d))return p.error.v;d=parseInt(d)}var f=!0;if(arguments.length==8&&(f=q.getCellBoolen(arguments[7]),B(f)))return f;if(o<=0||s<=0)return p.error.nm;if(u!=1&&u!=2&&u!=4)return p.error.nm;if(d<0||d>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(n)>=0)return p.error.nm;var m;if((0,V.default)(n)-(0,V.default)(l)>=0&&!f){var g=(0,V.default)(l).date(),y=(0,V.default)(l).month()+1,v=(0,V.default)(l).year(),b=(0,V.default)(n).date(),k=(0,V.default)(n).month()+1,x=(0,V.default)(n).year();switch(d){case 0:g===31&&b===31?(g=30,b=30):g===31?g=30:g===30&&b===31&&(b=30),m=(b+k*30+x*360-(g+y*30+v*360))/360;break;case 1:var w=365;if(v===x||v+1===x&&(y>k||y===k&&g>=b))return(v===x&&q.isLeapYear(v)||q.feb29Between(l,n)||k===1&&b===29)&&(w=366),(0,V.default)(n).diff((0,V.default)(l),"days")/w;var _=x-v+1,S=((0,V.default)().set({year:x+1,month:0,date:1})-(0,V.default)().set({year:v,month:0,date:1}))/1e3/60/60/24,C=S/_;m=(0,V.default)(n).diff((0,V.default)(l),"days")/C;break;case 2:m=(0,V.default)(n).diff((0,V.default)(l),"days")/360;break;case 3:m=(0,V.default)(n).diff((0,V.default)(l),"days")/365;break;case 4:m=(b+k*30+x*360-(g+y*30+v*360))/360;break}}else{var g=(0,V.default)(t).date(),y=(0,V.default)(t).month()+1,v=(0,V.default)(t).year(),b=(0,V.default)(n).date(),k=(0,V.default)(n).month()+1,x=(0,V.default)(n).year();switch(d){case 0:g===31&&b===31?(g=30,b=30):g===31?g=30:g===30&&b===31&&(b=30),m=(b+k*30+x*360-(g+y*30+v*360))/360;break;case 1:var w=365;if(v===x||v+1===x&&(y>k||y===k&&g>=b))return(v===x&&q.isLeapYear(v)||q.feb29Between(t,n)||k===1&&b===29)&&(w=366),(0,V.default)(n).diff((0,V.default)(t),"days")/w;var _=x-v+1,S=((0,V.default)().set({year:x+1,month:0,date:1})-(0,V.default)().set({year:v,month:0,date:1}))/1e3/60/60/24,C=S/_;m=(0,V.default)(n).diff((0,V.default)(t),"days")/C;break;case 2:m=(0,V.default)(n).diff((0,V.default)(t),"days")/360;break;case 3:m=(0,V.default)(n).diff((0,V.default)(t),"days")/365;break;case 4:m=(b+k*30+x*360-(g+y*30+v*360))/360;break}}return s*o*m}catch(R){var T=R;return T=p.errorInfo(T),[p.error.v,T]}},ACCRINTM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseInt(s)}if(n<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var u=(0,V.default)(t).date(),d=(0,V.default)(t).month()+1,f=(0,V.default)(t).year(),m=(0,V.default)(l).date(),g=(0,V.default)(l).month()+1,y=(0,V.default)(l).year(),v;switch(s){case 0:u===31&&m===31?(u=30,m=30):u===31?u=30:u===30&&m===31&&(m=30),v=(m+g*30+y*360-(u+d*30+f*360))/360;break;case 1:var b=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m))return(f===y&&q.isLeapYear(f)||q.feb29Between(t,l)||g===1&&m===29)&&(b=366),(0,V.default)(l).diff((0,V.default)(t),"days")/b;var k=y-f+1,x=((0,V.default)().set({year:y+1,month:0,date:1})-(0,V.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,w=x/k;v=(0,V.default)(l).diff((0,V.default)(t),"days")/w;break;case 2:v=(0,V.default)(l).diff((0,V.default)(t),"days")/360;break;case 3:v=(0,V.default)(l).diff((0,V.default)(t),"days")/365;break;case 4:v=(m+g*30+y*360-(u+d*30+f*360))/360;break}return o*n*v}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},COUPDAYBS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=0;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}if(n!=1&&n!=2&&n!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,V.default)(l).diff((0,V.default)(t),"months")/(12/n))+1,e=1;e<=u;e++){var d=(0,V.default)(l).subtract(12/n*e,"months");if(d<=(0,V.default)(t)){s=d;break}}var f;switch(o){case 0:var m=(0,V.default)(s).date(),g=(0,V.default)(s).month()+1,y=(0,V.default)(s).year(),v=(0,V.default)(t).date(),b=(0,V.default)(t).month()+1,k=(0,V.default)(t).year();m===31&&v===31?(m=30,v=30):m===31?m=30:m===30&&v===31&&(v=30),f=v+b*30+k*360-(m+g*30+y*360);break;case 1:case 2:case 3:f=(0,V.default)(t).diff((0,V.default)(s),"days");break;case 4:var m=(0,V.default)(s).date(),g=(0,V.default)(s).month()+1,y=(0,V.default)(s).year(),v=(0,V.default)(t).date(),b=(0,V.default)(t).month()+1,k=(0,V.default)(t).year();f=v+b*30+k*360-(m+g*30+y*360);break}return f}catch(w){var x=w;return x=p.errorInfo(x),[p.error.v,x]}},COUPDAYS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=0;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}if(n!=1&&n!=2&&n!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var s;switch(o){case 0:s=360/n;break;case 1:for(var u=Math.ceil((0,V.default)(l).diff((0,V.default)(t),"months")/(12/n))+1,e=1;e<=u;e++){var d=(0,V.default)(l).subtract(12/n*e,"months");if(d<=(0,V.default)(t)){var f=(0,V.default)(l).subtract(12/n*(e-1),"months");s=(0,V.default)(f).diff((0,V.default)(d),"days");break}}break;case 2:s=360/n;break;case 3:s=365/n;break;case 4:s=360/n;break}return s}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COUPDAYSNC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=0;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}if(n!=1&&n!=2&&n!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,V.default)(l).diff((0,V.default)(t),"months")/(12/n))+1,e=1;e<=u;e++){var d=(0,V.default)(l).subtract(12/n*e,"months");if(d<=(0,V.default)(t)){s=(0,V.default)(l).subtract(12/n*(e-1),"months");break}}var f;switch(o){case 0:var m=(0,V.default)(t).date(),g=(0,V.default)(t).month()+1,y=(0,V.default)(t).year(),v=(0,V.default)(s).date(),b=(0,V.default)(s).month()+1,k=(0,V.default)(s).year();m===31&&v===31?(m=30,v=30):m===31?m=30:m===30&&v===31&&(v=30),f=v+b*30+k*360-(m+g*30+y*360);break;case 1:case 2:case 3:f=(0,V.default)(s).diff((0,V.default)(t),"days");break;case 4:var m=(0,V.default)(t).date(),g=(0,V.default)(t).month()+1,y=(0,V.default)(t).year(),v=(0,V.default)(s).date(),b=(0,V.default)(s).month()+1,k=(0,V.default)(s).year();f=v+b*30+k*360-(m+g*30+y*360);break}return f}catch(w){var x=w;return x=p.errorInfo(x),[p.error.v,x]}},COUPNCD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=0;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}if(n!=1&&n!=2&&n!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,V.default)(l).diff((0,V.default)(t),"months")/(12/n))+1,e=1;e<=u;e++){var d=(0,V.default)(l).subtract(12/n*e,"months");if(d<=(0,V.default)(t)){s=(0,V.default)(l).subtract(12/n*(e-1),"months");break}}return(0,V.default)(s).format("YYYY-MM-DD")}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},COUPPCD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=0;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}if(n!=1&&n!=2&&n!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,V.default)(l).diff((0,V.default)(t),"months")/(12/n))+1,e=1;e<=u;e++){var d=(0,V.default)(l).subtract(12/n*e,"months");if(d<=(0,V.default)(t)){s=d;break}}return(0,V.default)(s).format("YYYY-MM-DD")}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},FV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=0;if(arguments.length>=4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;var u;if(t===0)u=o+n*l;else{var d=Math.pow(1+t,l);s===1?u=o*d+n*(1+t)*(d-1)/t:u=o*d+n*(d-1)/t}return-u}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},FVSCHEDULE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=arguments[1],n=[];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;n=n.concat(q.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?n=n.concat(q.getCellDataArr(l,"number",!1)):n.push(l);for(var o=[],e=0;e<n.length;e++){var s=n[e];if(!L(s))return p.error.v;o.push(parseFloat(s))}for(var u=o.length,d=t,e=0;e<u;e++)d*=1+o[e];return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},YIELD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s);var u=q.getFirstValue(arguments[5]);if(B(u))return u;if(!L(u))return p.error.v;u=parseInt(u);var d=0;if(arguments.length==7){if(d=q.getFirstValue(arguments[6]),B(d))return d;if(!L(d))return p.error.v;d=parseInt(d)}if(n<0)return p.error.nm;if(o<=0||s<=0)return p.error.nm;if(u!=1&&u!=2&&u!=4)return p.error.nm;if(d<0||d>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var f=window.luckysheet_function.COUPNUM.f(t,l,u,d);if(f>1){for(var m=1,g=0,y=m,e=1;e<=100;e++){var v=window.luckysheet_function.PRICE.f(t,l,n,y,s,u,d);if(Math.abs(v-o)<1e-6)break;v>o?g=y:m=y,y=(m+g)/2}var b=y}else var k=window.luckysheet_function.COUPDAYSNC.f(t,l,u,d),x=window.luckysheet_function.COUPDAYS.f(t,l,u,d),w=window.luckysheet_function.COUPDAYBS.f(t,l,u,d),_=s/100+n/u,S=o/100+w/x*(n/u),C=u*x/k,b=(_-S)/S*C;return b}catch(R){var T=R;return T=p.errorInfo(T),[p.error.v,T]}},YIELDDISC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseInt(s)}if(n<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var u=window.luckysheet_function.YEARFRAC.f(t,l,s);return(o/n-1)/u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},NOMINAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),t<=0||l<1?p.error.nm:(Math.pow(t+1,1/l)-1)*l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},XIRR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!1)):l.push(t);for(var n=[],e=0;e<l.length;e++){var o=l[e];if(!L(o))return p.error.v;n.push(parseFloat(o))}var s=q.getCellrangeDate(arguments[1]);if(B(s))return s;for(var e=0;e<s.length;e++)if(!(0,V.default)(s[e]).isValid())return p.error.v;var u=.1;if(arguments.length==3){if(u=q.getFirstValue(arguments[2]),B(u))return u;if(!L(u))return p.error.v;u=parseFloat(u)}for(var d=!1,f=!1,e=0;e<n.length&&(n[e]>0&&(d=!0),n[e]<0&&(f=!0),!(d&&f));e++);if(!d||!f)return p.error.nm;if(n.length!=s.length)return p.error.nm;var m=function(S,C,T){for(var R=T+1,I=S[0],A=1;A<S.length;A++)I+=S[A]/Math.pow(R,window.luckysheet_function.DAYS.f(C[A],C[0])/365);return I},g=function(S,C,T){for(var R=T+1,I=0,A=1;A<S.length;A++){var E=window.luckysheet_function.DAYS.f(C[A],C[0])/365;I-=E*S[A]/Math.pow(R,E+1)}return I},y=u,v=1e-10,b,k,x,w=!0;do x=m(n,s,y),b=y-x/g(n,s,y),k=Math.abs(b-y),y=b,w=k>v&&Math.abs(x)>v;while(w);return y}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},MIRR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!1)):l.push(t);for(var n=[],e=0;e<l.length;e++){var o=l[e];if(!L(o))return p.error.v;n.push(parseFloat(o))}var s=q.getFirstValue(arguments[1]);if(B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s);var u=q.getFirstValue(arguments[2]);if(B(u))return u;if(!L(u))return p.error.v;u=parseFloat(u);for(var d=n.length,f=[],m=[],e=0;e<d;e++)n[e]<0?f.push(n[e]):m.push(n[e]);if(f.length==0||m.length==0)return p.error.d;var g=-window.luckysheet_function.NPV.f(u,m)*Math.pow(1+u,d-1),y=window.luckysheet_function.NPV.f(s,f)*(1+s);return Math.pow(g/y,1/(d-1))-1}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},IRR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"number",!0)):l.push(t);for(var n=[],e=0;e<l.length;e++){var o=l[e];if(!L(o))return p.error.v;n.push(parseFloat(o))}var s=.1;if(arguments.length==2){if(s=q.getFirstValue(arguments[1]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}for(var u=[],d=!1,f=!1,e=0;e<l.length;e++)u[e]=e===0?0:u[e-1]+365,l[e]>0&&(d=!0),l[e]<0&&(f=!0);if(!d||!f)return p.error.nm;var m=function(S,C,T){for(var R=T+1,I=S[0],A=1;A<S.length;A++)I+=S[A]/Math.pow(R,(C[A]-C[0])/365);return I},g=function(S,C,T){for(var R=T+1,I=0,A=1;A<S.length;A++){var E=(C[A]-C[0])/365;I-=E*S[A]/Math.pow(R,E+1)}return I},y=s,v=1e-10,b,k,x,w=!0;do x=m(n,u,y),b=y-x/g(n,u,y),k=Math.abs(b-y),y=b,w=k>v&&Math.abs(x)>v;while(w);return y}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},NPV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);for(var l=[],e=1;e<arguments.length;e++){var n=arguments[e];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;l=l.concat(q.getDataArr(n,!0))}else P(n)=="object"&&n.startCell!=null?l=l.concat(q.getCellDataArr(n,"number",!0)):l.push(n)}for(var o=[],e=0;e<l.length;e++){var s=l[e];L(s)&&o.push(parseFloat(s))}var u=0;if(o.length>0)for(var e=0;e<o.length;e++)u+=o[e]/Math.pow(1+t,e+1);return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},XNPV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=arguments[1],n=[];if(P(l)=="array"){if(P(l[0])=="array"&&!q.isDyadicArr(l))return p.error.v;n=n.concat(q.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?n=n.concat(q.getCellDataArr(l,"number",!1)):n.push(l);for(var o=[],e=0;e<n.length;e++){var s=n[e];if(!L(s))return p.error.v;o.push(parseFloat(s))}var u=q.getCellrangeDate(arguments[2]);if(B(u))return u;for(var e=0;e<u.length;e++)if(!(0,V.default)(u[e]).isValid())return p.error.v;if(o.length!=u.length)return p.error.nm;for(var d=0,e=0;e<o.length;e++)d+=o[e]/Math.pow(1+t,window.luckysheet_function.DAYS.f(u[e],u[0])/365);return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},CUMIPMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseInt(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=q.getFirstValue(arguments[5]);if(B(u))return u;if(!L(u))return p.error.v;if(u=parseFloat(u),t<=0||l<=0||n<=0)return p.error.nm;if(o<1||s<1||o>s)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,l,n,0,u),f=0;o===1&&u===0&&(f=-n,o++);for(var e=o;e<=s;e++)u===1?f+=window.luckysheet_function.FV.f(t,e-2,d,n,1)-d:f+=window.luckysheet_function.FV.f(t,e-1,d,n,0);return f*=t,f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=0;if(arguments.length>=4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;var u;if(t===0)u=(n+o)/l;else{var d=Math.pow(1+t,l);s===1?u=(o*t/(d-1)+n*t/(1-1/d))/(1+t):u=o*t/(d-1)+n*t/(1-1/d)}return-u}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},IPMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length>=5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}var u=0;if(arguments.length>=6){if(u=q.getFirstValue(arguments[5]),B(u))return u;if(!L(u))return p.error.v;u=parseFloat(u)}if(l<1||l>n)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,n,o,s,u),f;l===1?u===1?f=0:f=-o:u===1?f=window.luckysheet_function.FV.f(t,l-2,d,o,1)-d:f=window.luckysheet_function.FV.f(t,l-1,d,o,0);var m=f*t;return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},PPMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length>=5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}var u=0;if(arguments.length>=6){if(u=q.getFirstValue(arguments[5]),B(u))return u;if(!L(u))return p.error.v;u=parseFloat(u)}if(l<1||l>n)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,n,o,s,u),f=window.luckysheet_function.IPMT.f(t,l,n,o,s,u);return d-f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},INTRATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseInt(s)}if(n<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var u=(0,V.default)(t).date(),d=(0,V.default)(t).month()+1,f=(0,V.default)(t).year(),m=(0,V.default)(l).date(),g=(0,V.default)(l).month()+1,y=(0,V.default)(l).year(),v;switch(s){case 0:u===31&&m===31?(u=30,m=30):u===31?u=30:u===30&&m===31&&(m=30),v=360/(m+g*30+y*360-(u+d*30+f*360));break;case 1:var b=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m))return(f===y&&q.isLeapYear(f)||q.feb29Between(t,l)||g===1&&m===29)&&(b=366),v=b/(0,V.default)(l).diff((0,V.default)(t),"days"),v=(o-n)/n*v,v;var k=y-f+1,x=((0,V.default)().set({year:y+1,month:0,date:1})-(0,V.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,w=x/k;v=w/(0,V.default)(l).diff((0,V.default)(t),"days");break;case 2:v=360/(0,V.default)(l).diff((0,V.default)(t),"days");break;case 3:v=365/(0,V.default)(l).diff((0,V.default)(t),"days");break;case 4:v=360/(m+g*30+y*360-(u+d*30+f*360));break}return v=(o-n)/n*v,v}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},PRICE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s);var u=q.getFirstValue(arguments[5]);if(B(u))return u;if(!L(u))return p.error.v;u=parseInt(u);var d=0;if(arguments.length==7){if(d=q.getFirstValue(arguments[6]),B(d))return d;if(!L(d))return p.error.v;d=parseInt(d)}if(n<0||o<0)return p.error.nm;if(s<=0)return p.error.nm;if(u!=1&&u!=2&&u!=4)return p.error.nm;if(d<0||d>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var f=window.luckysheet_function.COUPDAYSNC.f(t,l,u,d),m=window.luckysheet_function.COUPDAYS.f(t,l,u,d),g=window.luckysheet_function.COUPDAYBS.f(t,l,u,d),y=window.luckysheet_function.COUPNUM.f(t,l,u,d);if(y>1){for(var v=s/Math.pow(1+o/u,y-1+f/m),b=0,e=1;e<=y;e++)b+=100*n/u/Math.pow(1+o/u,e-1+f/m);var k=100*(n/u)*(g/m),x=v+b-k}else var w=m-g,v=100*(n/u)+s,b=o/u*(w/m)+1,k=100*(n/u)*(g/m),x=v/b-k;return x}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},PRICEDISC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseInt(s)}if(n<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var u=(0,V.default)(t).date(),d=(0,V.default)(t).month()+1,f=(0,V.default)(t).year(),m=(0,V.default)(l).date(),g=(0,V.default)(l).month()+1,y=(0,V.default)(l).year(),v;switch(s){case 0:u===31&&m===31?(u=30,m=30):u===31?u=30:u===30&&m===31&&(m=30),v=(m+g*30+y*360-(u+d*30+f*360))/360;break;case 1:var b=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m))return(f===y&&q.isLeapYear(f)||q.feb29Between(t,l)||g===1&&m===29)&&(b=366),v=(0,V.default)(l).diff((0,V.default)(t),"days")/b,v=o-n*o*v,v;var k=y-f+1,x=((0,V.default)().set({year:y+1,month:0,date:1})-(0,V.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,w=x/k;v=(0,V.default)(l).diff((0,V.default)(t),"days")/w;break;case 2:v=(0,V.default)(l).diff((0,V.default)(t),"days")/360;break;case 3:v=(0,V.default)(l).diff((0,V.default)(t),"days")/365;break;case 4:v=(m+g*30+y*360-(u+d*30+f*360))/360;break}return v=o-n*o*v,v}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},PRICEMAT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getCellDate(arguments[2]);if(B(n))return n;if(!(0,V.default)(n).isValid())return p.error.v;var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s);var u=0;if(arguments.length==6){if(u=q.getFirstValue(arguments[5]),B(u))return u;if(!L(u))return p.error.v;u=parseInt(u)}if(o<0||s<0)return p.error.nm;if(u<0||u>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var d=(0,V.default)(t).date(),f=(0,V.default)(t).month()+1,m=(0,V.default)(t).year(),g=(0,V.default)(l).date(),y=(0,V.default)(l).month()+1,v=(0,V.default)(l).year(),b=(0,V.default)(n).date(),k=(0,V.default)(n).month()+1,x=(0,V.default)(n).year(),w;switch(u){case 0:d==31&&(d=30),g==31&&(g=30),b==31&&(b=30);var _=360,S=g+y*30+v*360-(d+f*30+m*360),C=g+y*30+v*360-(b+k*30+x*360),T=d+f*30+m*360-(b+k*30+x*360);break;case 1:var R=365;if(m===v||m+1===v&&(f>y||f===y&&d>=g)){(m===v&&q.isLeapYear(m)||q.feb29Between(t,l)||y===1&&g===29)&&(R=366);var _=R,S=(0,V.default)(l).diff((0,V.default)(t),"days"),C=(0,V.default)(t).diff((0,V.default)(n),"days"),T=(0,V.default)(l).diff((0,V.default)(n),"days");return w=(100+C/_*o*100)/(1+S/_*s)-T/_*o*100,w}var I=v-m+1,A=((0,V.default)().set({year:v+1,month:0,date:1})-(0,V.default)().set({year:m,month:0,date:1}))/1e3/60/60/24,E=A/I,_=E,S=(0,V.default)(l).diff((0,V.default)(t),"days"),C=(0,V.default)(t).diff((0,V.default)(n),"days"),T=(0,V.default)(l).diff((0,V.default)(n),"days");break;case 2:var _=360,S=(0,V.default)(l).diff((0,V.default)(t),"days"),C=(0,V.default)(t).diff((0,V.default)(n),"days"),T=(0,V.default)(l).diff((0,V.default)(n),"days");break;case 3:var _=365,S=(0,V.default)(l).diff((0,V.default)(t),"days"),C=(0,V.default)(t).diff((0,V.default)(n),"days"),T=(0,V.default)(l).diff((0,V.default)(n),"days");break;case 4:var _=360,S=g+y*30+v*360-(d+f*30+m*360),C=g+y*30+v*360-(b+k*30+x*360),T=d+f*30+m*360-(b+k*30+x*360);break}return w=(100+C/_*o*100)/(1+S/_*s)-T/_*o*100,w}catch(D){var N=D;return N=p.errorInfo(N),[p.error.v,N]}},RECEIVED:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(n<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var u=(0,V.default)(t).date(),d=(0,V.default)(t).month()+1,f=(0,V.default)(t).year(),m=(0,V.default)(l).date(),g=(0,V.default)(l).month()+1,y=(0,V.default)(l).year(),v;switch(s){case 0:u==31&&(u=30),m==31&&(m=30);var b=360,k=m+g*30+y*360-(u+d*30+f*360);break;case 1:var x=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m)){(f===y&&q.isLeapYear(f)||q.feb29Between(t,l)||g===1&&m===29)&&(x=366);var b=x,k=(0,V.default)(l).diff((0,V.default)(t),"days");return v=n/(1-o*k/b),v}var w=y-f+1,_=((0,V.default)().set({year:y+1,month:0,date:1})-(0,V.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,S=_/w,b=S,k=(0,V.default)(l).diff((0,V.default)(t),"days");break;case 2:var b=360,k=(0,V.default)(l).diff((0,V.default)(t),"days");break;case 3:var b=365,k=(0,V.default)(l).diff((0,V.default)(t),"days");break;case 4:var b=360,k=m+g*30+y*360-(u+d*30+f*360);break}return v=n/(1-o*k/b),v}catch(T){var C=T;return C=p.errorInfo(C),[p.error.v,C]}},DISC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(n<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var u=(0,V.default)(t).date(),d=(0,V.default)(t).month()+1,f=(0,V.default)(t).year(),m=(0,V.default)(l).date(),g=(0,V.default)(l).month()+1,y=(0,V.default)(l).year(),v;switch(s){case 0:u==31&&(u=30),m==31&&(m=30);var b=360,k=m+g*30+y*360-(u+d*30+f*360);break;case 1:var x=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m)){(f===y&&q.isLeapYear(f)||q.feb29Between(t,l)||g===1&&m===29)&&(x=366);var b=x,k=(0,V.default)(l).diff((0,V.default)(t),"days");return v=(o-n)/o*(b/k),v}var w=y-f+1,_=((0,V.default)().set({year:y+1,month:0,date:1})-(0,V.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,S=_/w,b=S,k=(0,V.default)(l).diff((0,V.default)(t),"days");break;case 2:var b=360,k=(0,V.default)(l).diff((0,V.default)(t),"days");break;case 3:var b=365,k=(0,V.default)(l).diff((0,V.default)(t),"days");break;case 4:var b=360,k=m+g*30+y*360-(u+d*30+f*360);break}return v=(o-n)/o*(b/k),v}catch(T){var C=T;return C=p.errorInfo(C),[p.error.v,C]}},NPER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=0;if(arguments.length>=4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=q.getFirstValue(arguments[4]),B(s))return s;if(!L(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;var u=l*(1+t*s)-o*t,d=n*t+l*(1+t*s);return Math.log(u/d)/Math.log(1+t)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},SLN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseFloat(n),n==0?p.error.d:(t-l)/n):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DURATION:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=0;if(arguments.length==6){if(u=q.getFirstValue(arguments[5]),B(u))return u;if(!L(u))return p.error.v;u=parseInt(u)}if(n<0||o<0)return p.error.nm;if(s!=1&&s!=2&&s!=4)return p.error.nm;if(u<0||u>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;for(var d=window.luckysheet_function.COUPNUM.f(t,l,s,u),f=0,m=0,e=1;e<=d;e++)f+=100*(n/s)*e/Math.pow(1+o/s,e),m+=100*(n/s)/Math.pow(1+o/s,e);var g=(f+100*d/Math.pow(1+o/s,d))/(m+100/Math.pow(1+o/s,d));return g=g/s,g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},MDURATION:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellDate(arguments[0]);if(B(t))return t;if(!(0,V.default)(t).isValid())return p.error.v;var l=q.getCellDate(arguments[1]);if(B(l))return l;if(!(0,V.default)(l).isValid())return p.error.v;var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n);var o=q.getFirstValue(arguments[3]);if(B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o);var s=q.getFirstValue(arguments[4]);if(B(s))return s;if(!L(s))return p.error.v;s=parseInt(s);var u=0;if(arguments.length==6){if(u=q.getFirstValue(arguments[5]),B(u))return u;if(!L(u))return p.error.v;u=parseInt(u)}if(n<0||o<0)return p.error.nm;if(s!=1&&s!=2&&s!=4)return p.error.nm;if(u<0||u>4)return p.error.nm;if((0,V.default)(t)-(0,V.default)(l)>=0)return p.error.nm;var d=window.luckysheet_function.DURATION.f(t,l,n,o,s,u);return d/(1+o/s)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},BIN2DEC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!/^[01]{1,10}$/g.test(t))return p.error.nm;var l=parseInt(t,2),n=t.toString();return n.length===10&&n.substring(0,1)==="1"?parseInt(n.substring(1),2)-512:l}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},BIN2HEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^[01]{1,10}$/g.test(t))return p.error.nm;var n=parseInt(t,2).toString(16).toUpperCase();return l==null?n:l<0||l<n.length?p.error.nm:new Array(l-n.length+1).join("0")+n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},BIN2OCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^[01]{1,10}$/g.test(t))return p.error.nm;var n=t.toString();if(n.length===10&&n.substring(0,1)==="1")return(1073741312+parseInt(n.substring(1),2)).toString(8);var o=parseInt(t,2).toString(8);return l==null?o:l<0||l<o.length?p.error.nm:new Array(l-o.length+1).join("0")+o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DEC2BIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^-?[0-9]{1,3}$/.test(t)||t<-512||t>511)return p.error.nm;if(t<0)return"1"+new Array(9-(512+t).toString(2).length).join("0")+(512+t).toString(2);var n=parseInt(t,10).toString(2);return l==null?n:l<0||l<n.length?p.error.nm:new Array(l-n.length+1).join("0")+n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DEC2HEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^-?[0-9]{1,12}$/.test(t)||t<-549755813888||t>549755813887)return p.error.nm;if(t<0)return(1099511627776+t).toString(16).toUpperCase();var n=parseInt(t,10).toString(16).toUpperCase();return l==null?n:l<0||l<n.length?p.error.nm:new Array(l-n.length+1).join("0")+n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DEC2OCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^-?[0-9]{1,9}$/.test(t)||t<-536870912||t>536870911)return p.error.nm;if(t<0)return(1073741824+t).toString(8);var n=parseInt(t,10).toString(8);return l==null?n:l<0||l<n.length?p.error.nm:new Array(l-n.length+1).join("0")+n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},HEX2BIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^[0-9A-Fa-f]{1,10}$/.test(t))return p.error.nm;var n=t.length===10&&t.substring(0,1).toLowerCase()==="f",o=n?parseInt(t,16)-1099511627776:parseInt(t,16);if(o<-512||o>511)return p.error.nm;if(n)return"1"+new Array(9-(512+o).toString(2).length).join("0")+(512+o).toString(2);var s=o.toString(2);return l==null?s:l<0||l<s.length?p.error.nm:new Array(l-s.length+1).join("0")+s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},HEX2DEC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!/^[0-9A-Fa-f]{1,10}$/.test(t))return p.error.nm;var l=parseInt(t,16);return l>=549755813888?l-1099511627776:l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},HEX2OCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^[0-9A-Fa-f]{1,10}$/.test(t))return p.error.nm;var n=parseInt(t,16);if(n>536870911&&n<1098974756864)return p.error.nm;if(n>=1098974756864)return(n-1098437885952).toString(8);var o=n.toString(8);return l==null?o:l<0||l<o.length?p.error.nm:new Array(l-o.length+1).join("0")+o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},OCT2BIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^[0-7]{1,10}$/.test(t))return p.error.nm;t=t.toString();var n=t.length===10&&t.substring(0,1)==="7",o=n?parseInt(t,8)-1073741824:parseInt(t,8);if(o<-512||o>511)return qe.num;if(n)return"1"+new Array(9-(512+o).toString(2).length).join("0")+(512+o).toString(2);var s=o.toString(2);return l==null?s:l<0||l<s.length?p.error.nm:new Array(l-s.length+1).join("0")+s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},OCT2DEC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!/^[0-7]{1,10}$/.test(t))return p.error.nm;var l=parseInt(t,8);return l>=536870912?l-1073741824:l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},OCT2HEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=null;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(!/^[0-7]{1,10}$/.test(t))return p.error.nm;var n=parseInt(t,8);if(n>=536870912)return"FF"+(n+3221225472).toString(16).toUpperCase();var o=n.toString(16).toUpperCase();return l==null?o:l<0||l<o.length?p.error.nm:new Array(l-o.length+1).join("0")+o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COMPLEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l);var n="i";if(arguments.length==3&&(n=arguments[2].toString()),n!="i"&&n!="j")return p.error.v;if(t===0&&l===0)return 0;if(t===0)return l===1?n:l.toString()+n;if(l===0)return t.toString();var o=l>0?"+":"";return t.toString()+o+(l===1?n:l.toString()+n)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},IMREAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;if(t=="0"||["i","+i","1i","+1i","-i","-1i","j","+j","1j","+1j","-j","-1j"].indexOf(t)>=0)return 0;var l=t.indexOf("+"),n=t.indexOf("-");l===0&&(l=t.indexOf("+",1)),n===0&&(n=t.indexOf("-",1));var o=t.substring(t.length-1,t.length),s=o==="i"||o==="j";return l>=0||n>=0?s?l>=0?isNaN(t.substring(0,l))||isNaN(t.substring(l+1,t.length-1))?p.error.nm:Number(t.substring(0,l)):isNaN(t.substring(0,n))||isNaN(t.substring(n+1,t.length-1))?p.error.nm:Number(t.substring(0,n)):p.error.nm:s?isNaN(t.substring(0,t.length-1))?p.error.nm:0:isNaN(t)?p.error.nm:t}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},IMAGINARY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;if(t=="0")return 0;if(["i","j"].indexOf(t)>=0)return 1;t=t.replace("+i","+1i").replace("-i","-1i").replace("+j","+1j").replace("-j","-1j");var l=t.indexOf("+"),n=t.indexOf("-");l===0&&(l=t.indexOf("+",1)),n===0&&(n=t.indexOf("-",1));var o=t.substring(t.length-1,t.length),s=o==="i"||o==="j";return l>=0||n>=0?s?l>=0?isNaN(t.substring(0,l))||isNaN(t.substring(l+1,t.length-1))?p.error.nm:Number(t.substring(l+1,t.length-1)):isNaN(t.substring(0,n))||isNaN(t.substring(n+1,t.length-1))?p.error.nm:-Number(t.substring(n+1,t.length-1)):p.error.nm:s?isNaN(t.substring(0,t.length-1))?p.error.nm:t.substring(0,t.length-1):isNaN(t)?p.error.nm:0}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},IMCONJUGATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;t=t.toString();var l=window.luckysheet_function.IMREAL.f(t);if(B(l))return l;var n=window.luckysheet_function.IMAGINARY.f(t);if(B(n))return n;var o=t.substring(t.length-1);return o=o==="i"||o==="j"?o:"i",n!==0?window.luckysheet_function.COMPLEX.f(l,-n,o):t}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},IMABS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheet_function.IMREAL.f(arguments[0]);if(B(t))return t;var l=window.luckysheet_function.IMAGINARY.f(arguments[0]);return B(l)?l:Math.sqrt(Math.pow(t,2)+Math.pow(l,2))}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},DELTA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=0;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseFloat(l)}return t===l?1:0}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},IMSUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheet_function.IMREAL.f(arguments[0]);if(B(t))return t;var l=window.luckysheet_function.IMAGINARY.f(arguments[0]);if(B(l))return l;for(var n=arguments[0],e=1;e<arguments.length;e++){var o=window.luckysheet_function.IMREAL.f(n);if(B(o))return o;var s=window.luckysheet_function.IMAGINARY.f(n);if(B(s))return s;var u=window.luckysheet_function.IMREAL.f(arguments[e]);if(B(u))return u;var d=window.luckysheet_function.IMAGINARY.f(arguments[e]);if(B(d))return d;n=window.luckysheet_function.COMPLEX.f(o+u,s+d)}return n}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},IMSUB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;var l=window.luckysheet_function.IMREAL.f(t);if(B(l))return l;var n=window.luckysheet_function.IMAGINARY.f(t);if(B(n))return n;var o=q.getFirstValue(arguments[1]);if(B(o))return o;if(o=o.toString(),o.toLowerCase()=="true"||o.toLowerCase()=="false")return p.error.v;var s=window.luckysheet_function.IMREAL.f(o);if(B(s))return s;var u=window.luckysheet_function.IMAGINARY.f(o);if(B(u))return u;var d=t.substring(t.length-1),f=o.substring(o.length-1),m="i";return(d==="j"||f==="j")&&(m="j"),window.luckysheet_function.COMPLEX.f(l-s,n-u,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},IMPRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheet_function.IMREAL.f(arguments[0]);if(B(t))return t;var l=window.luckysheet_function.IMAGINARY.f(arguments[0]);if(B(l))return l;for(var n=arguments[0],e=1;e<arguments.length;e++){var o=window.luckysheet_function.IMREAL.f(n);if(B(o))return o;var s=window.luckysheet_function.IMAGINARY.f(n);if(B(s))return s;var u=window.luckysheet_function.IMREAL.f(arguments[e]);if(B(u))return u;var d=window.luckysheet_function.IMAGINARY.f(arguments[e]);if(B(d))return d;n=window.luckysheet_function.COMPLEX.f(o*u-s*d,o*d+s*u)}return n}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},IMDIV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;var l=window.luckysheet_function.IMREAL.f(t);if(B(l))return l;var n=window.luckysheet_function.IMAGINARY.f(t);if(B(n))return n;var o=q.getFirstValue(arguments[1]);if(B(o))return o;if(o=o.toString(),o.toLowerCase()=="true"||o.toLowerCase()=="false")return p.error.v;var s=window.luckysheet_function.IMREAL.f(o);if(B(s))return s;var u=window.luckysheet_function.IMAGINARY.f(o);if(B(u))return u;var d=t.substring(t.length-1),f=o.substring(o.length-1),m="i";if((d==="j"||f==="j")&&(m="j"),s===0&&u===0)return p.error.nm;var g=s*s+u*u;return window.luckysheet_function.COMPLEX.f((l*s+n*u)/g,(n*s-l*u)/g,m)}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},NOT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellBoolen(arguments[0]);return B(t)?t:!t}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TRUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return!0}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},FALSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return!1}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},AND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=!0,e=0;e<arguments.length;e++){var l=q.getCellBoolen(arguments[e]);if(B(l))return l;if(!l){t=!1;break}}return t}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},IFERROR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[1],"text"),l=q.getFirstValue(arguments[0],"text");return B(l)||P(l)==="string"&&$.trim(l)===""?t:l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},IF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getCellBoolen(arguments[0]);if(B(t))return t;var l=q.getFirstValue(arguments[1],"text");if(B(l)&&n!=qe.d)return l;var n="";return arguments.length==3&&(n=q.getFirstValue(arguments[2],"text"),B(n)&&n!=qe.d)?n:t?l:n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},OR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t=!1,e=0;e<arguments.length;e++){var l=q.getCellBoolen(arguments[e]);if(B(l))return l;if(l){t=!0;break}}return t}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},NE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=q.getFirstValue(arguments[1]);return B(l)?l:t!=l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},EQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;var l=q.getFirstValue(arguments[1]);return B(l)?l:t==l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},GT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t>l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},GTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t>=l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},LT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t<l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},LTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t<=l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ADD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t+l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},MINUS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t-l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},MULTIPLY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),t*l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},DIVIDE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseFloat(l),l==0?p.error.d:t/l):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},CONCAT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;var l=q.getFirstValue(arguments[1],"text");return B(l)?l:t+""+l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},UNARY_PERCENT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=t/100;return Math.round(l*100)/100}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},CONCATENATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{for(var t="",e=0;e<arguments.length;e++){var l=q.getFirstValue(arguments[e],"text");if(B(l))return l;t=t+""+l}return t}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},CODE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:t==""?p.error.v:t.charCodeAt(0)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},CHAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseInt(t),t<1||t>255?p.error.v:String.fromCharCode(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},ARABIC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;if(t=t.toString().toUpperCase(),!/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(t))return p.error.v;var l=0;return t.replace(/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,function(o){l+={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1}[o]}),l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ROMAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let n=function(o){var s=[["","I","II","III","IV","V","VI","VII","VIII","IX"],["","X","XX","XXX","XL","L","LX","LXX","LXXX","XC"],["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM"],["","M","MM","MMM"]],u=s[3][Math.floor(o/1e3)],d=s[2][Math.floor(o%1e3/100)],f=s[1][Math.floor(o%100/10)],m=s[0][o%10];return u+d+f+m};var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseInt(t),t==0?"":t<1||t>3999?p.error.v:n(t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},REGEXEXTRACT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;var n=t.match(new RegExp(l));return n?n[n.length>1?n.length-1:0]:null}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},REGEXMATCH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;var n=t.match(new RegExp(l));return!!n}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},REGEXREPLACE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;var n=q.getFirstValue(arguments[2],"text");return B(n)?n:t.replace(new RegExp(l),n)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},T:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)||P(t)=="string"?t:""}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},FIXED:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=2;if(arguments.length>=2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}var n=!1;if(arguments.length==3&&(n=q.getCellBoolen(arguments[2]),B(n)))return n;if(l>127)return p.error.v;var o=n?"0":"#,##0";return l<=0?t=Math.round(t*Math.pow(10,l))/Math.pow(10,l):l>0&&(o+="."+new Array(l+1).join("0")),mt(o,t)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},FIND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;l=l.toString();var n=1;if(arguments.length==3){if(n=q.getFirstValue(arguments[2]),B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n)}if(n<0||n>l.length)return p.error.v;if(t=="")return n;if(l.indexOf(t)==-1)return p.error.v;var o=l.indexOf(t,n-1)+1;return o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},FINDB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;l=l.toString();var n=1;if(arguments.length==3){if(n=q.getFirstValue(arguments[2]),B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n)}if(n<0||n>l.length)return p.error.v;if(t=="")return n;if(l.indexOf(t)==-1)return p.error.v;for(var o=l.split(""),s=l.indexOf(t,n-1),u=0,e=0;e<s;e++)/[^\x00-\xff]/g.test(o[e])?u+=2:u+=1;return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},JOIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;for(var l=[],e=1;e<arguments.length;e++){var n=arguments[e];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;l=l.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?l=l.concat(q.getCellDataArr(n,"text",!1)):l.push(n)}return l.join(t)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},LEFT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=1;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}return l<0?p.error.v:l>=t.length?t:l==0?"":t.substr(0,l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},RIGHT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=1;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}return l<0?p.error.v:l>=t.length?t:l==0?"":t.substr(-l,l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},MID:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);return B(n)?n:L(n)?(n=parseInt(n),l<1||n<0?p.error.v:l>t.length?"":l+n>t.length?t.substr(l-1,t.length-l+1):t.substr(l-1,n)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},LEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString(),t.length)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},LENB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString(),t.replace(/[^\x00-\xff]/g,"aa").length)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},LOWER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString(),t&&t.toLowerCase())}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},UPPER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString(),t&&t.toUpperCase())}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},EXACT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1],"text");return B(l)?l:(l=l.toString(),t===l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},REPLACE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1]);if(B(l))return l;if(!L(l))return p.error.v;l=parseInt(l);var n=q.getFirstValue(arguments[2]);if(B(n))return n;if(!L(n))return p.error.v;n=parseInt(n);var o=q.getFirstValue(arguments[3],"text");return B(o)?o:(o=o.toString(),t.substr(0,l-1)+o+t.substr(l-1+n))}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},REPT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1]);return B(l)?l:L(l)?(l=parseInt(l),l<0?p.error.v:(l>100&&(l=100),new Array(l+1).join(t))):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},SEARCH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;l=l.toString();var n=1;if(arguments.length==3){if(n=q.getFirstValue(arguments[2]),B(n))return n;if(!L(n))return p.error.v;n=parseInt(n)}if(n<=0||n>l.length)return p.error.v;var o=l.toLowerCase().indexOf(t.toLowerCase(),n-1)+1;return o===0?p.error.v:o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},SUBSTITUTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;l=l.toString();var n=q.getFirstValue(arguments[2],"text");if(B(n))return n;n=n.toString();var o=null;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseInt(o)}var s=new RegExp(l,"g"),u;if(o==null)u=t.replace(s,n);else{if(o<=0)return p.error.v;var d=t.match(s);if(d==null||o>d.length)return t;for(var f=l.length,m=0,e=1;e<=o;e++)m=t.indexOf(l,m)+1;u=t.substring(0,m-1)+n+t.substring(m-1+f)}return u}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},CLEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");if(B(t))return t;t=t.toString();for(var l=[],e=0;e<t.length;e++){var n=t.charCodeAt(e);(/[\u4e00-\u9fa5]/g.test(t.charAt(e))||n>31&&n<127)&&l.push(t.charAt(e))}return l.join("")}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},TEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1],"text");return B(l)?l:(l=l.toString(),mt(l,t))}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},TRIM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString(),t.replace(/ +/g," ").trim())}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},VALUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString(),it(t)[2])}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},PROPER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(t=t.toString().toLowerCase(),t.replace(/[a-zA-Z]+/g,function(n){return n.substring(0,1).toUpperCase()+n.substring(1)}))}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},CONVERT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseFloat(t);var l=q.getFirstValue(arguments[1],"text");if(B(l))return l;l=l.toString();var n=q.getFirstValue(arguments[2],"text");if(B(n))return n;n=n.toString();for(var o=[["a.u. of action","?",null,"action",!1,!1,105457168181818e-48],["a.u. of charge","e",null,"electric_charge",!1,!1,160217653141414e-33],["a.u. of energy","Eh",null,"energy",!1,!1,435974417757576e-32],["a.u. of length","a?",null,"length",!1,!1,529177210818182e-25],["a.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["a.u. of time","?/Eh",null,"time",!1,!1,241888432650516e-31],["admiralty knot","admkn",null,"speed",!1,!0,.514773333],["ampere","A",null,"electric_current",!0,!1,1],["ampere per meter","A/m",null,"magnetic_field_intensity",!0,!1,1],["\xE5ngstr\xF6m","\xC5",["ang"],"length",!1,!0,1e-10],["are","ar",null,"area",!1,!0,100],["astronomical unit","ua",null,"length",!1,!1,149597870691667e-25],["bar","bar",null,"pressure",!1,!1,1e5],["barn","b",null,"area",!1,!1,1e-28],["becquerel","Bq",null,"radioactivity",!0,!1,1],["bit","bit",["b"],"information",!1,!0,1],["btu","BTU",["btu"],"energy",!1,!0,1055.05585262],["byte","byte",null,"information",!1,!0,8],["candela","cd",null,"luminous_intensity",!0,!1,1],["candela per square metre","cd/m?",null,"luminance",!0,!1,1],["coulomb","C",null,"electric_charge",!0,!1,1],["cubic \xE5ngstr\xF6m","ang3",["ang^3"],"volume",!1,!0,1e-30],["cubic foot","ft3",["ft^3"],"volume",!1,!0,.028316846592],["cubic inch","in3",["in^3"],"volume",!1,!0,16387064e-12],["cubic light-year","ly3",["ly^3"],"volume",!1,!0,846786664623715e-61],["cubic metre","m?",null,"volume",!0,!0,1],["cubic mile","mi3",["mi^3"],"volume",!1,!0,416818182544058e-5],["cubic nautical mile","Nmi3",["Nmi^3"],"volume",!1,!0,6352182208],["cubic Pica","Pica3",["Picapt3","Pica^3","Picapt^3"],"volume",!1,!0,758660370370369e-22],["cubic yard","yd3",["yd^3"],"volume",!1,!0,.764554857984],["cup","cup",null,"volume",!1,!0,.0002365882365],["dalton","Da",["u"],"mass",!1,!1,166053886282828e-41],["day","d",["day"],"time",!1,!0,86400],["degree","\xB0",null,"angle",!1,!1,.0174532925199433],["degrees Rankine","Rank",null,"temperature",!1,!0,.555555555555556],["dyne","dyn",["dy"],"force",!1,!0,1e-5],["electronvolt","eV",["ev"],"energy",!1,!0,1.60217656514141],["ell","ell",null,"length",!1,!0,1.143],["erg","erg",["e"],"energy",!1,!0,1e-7],["farad","F",null,"electric_capacitance",!0,!1,1],["fluid ounce","oz",null,"volume",!1,!0,295735295625e-16],["foot","ft",null,"length",!1,!0,.3048],["foot-pound","flb",null,"energy",!1,!0,1.3558179483314],["gal","Gal",null,"acceleration",!1,!1,.01],["gallon","gal",null,"volume",!1,!0,.003785411784],["gauss","G",["ga"],"magnetic_flux_density",!1,!0,1],["grain","grain",null,"mass",!1,!0,647989e-10],["gram","g",null,"mass",!1,!0,.001],["gray","Gy",null,"absorbed_dose",!0,!1,1],["gross registered ton","GRT",["regton"],"volume",!1,!0,2.8316846592],["hectare","ha",null,"area",!1,!0,1e4],["henry","H",null,"inductance",!0,!1,1],["hertz","Hz",null,"frequency",!0,!1,1],["horsepower","HP",["h"],"power",!1,!0,745.69987158227],["horsepower-hour","HPh",["hh","hph"],"energy",!1,!0,2684519538e-3],["hour","h",["hr"],"time",!1,!0,3600],["imperial gallon (U.K.)","uk_gal",null,"volume",!1,!0,.00454609],["imperial hundredweight","lcwt",["uk_cwt","hweight"],"mass",!1,!0,50.802345],["imperial quart (U.K)","uk_qt",null,"volume",!1,!0,.0011365225],["imperial ton","brton",["uk_ton","LTON"],"mass",!1,!0,1016.046909],["inch","in",null,"length",!1,!0,.0254],["international acre","uk_acre",null,"area",!1,!0,4046.8564224],["IT calorie","cal",null,"energy",!1,!0,4.1868],["joule","J",null,"energy",!0,!0,1],["katal","kat",null,"catalytic_activity",!0,!1,1],["kelvin","K",["kel"],"temperature",!0,!0,1],["kilogram","kg",null,"mass",!0,!0,1],["knot","kn",null,"speed",!1,!0,.514444444444444],["light-year","ly",null,"length",!1,!0,9460730472580800],["litre","L",["l","lt"],"volume",!1,!0,.001],["lumen","lm",null,"luminous_flux",!0,!1,1],["lux","lx",null,"illuminance",!0,!1,1],["maxwell","Mx",null,"magnetic_flux",!1,!1,1e-18],["measurement ton","MTON",null,"volume",!1,!0,1.13267386368],["meter per hour","m/h",["m/hr"],"speed",!1,!0,.00027777777777778],["meter per second","m/s",["m/sec"],"speed",!0,!0,1],["meter per second squared","m?s??",null,"acceleration",!0,!1,1],["parsec","pc",["parsec"],"length",!1,!0,30856775814671900],["meter squared per second","m?/s",null,"kinematic_viscosity",!0,!1,1],["metre","m",null,"length",!0,!0,1],["miles per hour","mph",null,"speed",!1,!0,.44704],["millimetre of mercury","mmHg",null,"pressure",!1,!1,133.322],["minute","?",null,"angle",!1,!1,.000290888208665722],["minute","min",["mn"],"time",!1,!0,60],["modern teaspoon","tspm",null,"volume",!1,!0,5e-6],["mole","mol",null,"amount_of_substance",!0,!1,1],["morgen","Morgen",null,"area",!1,!0,2500],["n.u. of action","?",null,"action",!1,!1,105457168181818e-48],["n.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["n.u. of speed","c?",null,"speed",!1,!1,299792458],["n.u. of time","?/(me?c??)",null,"time",!1,!1,128808866778687e-35],["nautical mile","M",["Nmi"],"length",!1,!0,1852],["newton","N",null,"force",!0,!0,1],["\u0153rsted","Oe ",null,"magnetic_field_intensity",!1,!1,79.5774715459477],["ohm","\u03A9",null,"electric_resistance",!0,!1,1],["ounce mass","ozm",null,"mass",!1,!0,.028349523125],["pascal","Pa",null,"pressure",!0,!1,1],["pascal second","Pa?s",null,"dynamic_viscosity",!0,!1,1],["pferdest\xE4rke","PS",null,"power",!1,!0,735.49875],["phot","ph",null,"illuminance",!1,!1,1e-4],["pica (1/6 inch)","pica",null,"length",!1,!0,.00035277777777778],["pica (1/72 inch)","Pica",["Picapt"],"length",!1,!0,.00423333333333333],["poise","P",null,"dynamic_viscosity",!1,!1,.1],["pond","pond",null,"force",!1,!0,.00980665],["pound force","lbf",null,"force",!1,!0,4.4482216152605],["pound mass","lbm",null,"mass",!1,!0,.45359237],["quart","qt",null,"volume",!1,!0,.000946352946],["radian","rad",null,"angle",!0,!1,1],["second","?",null,"angle",!1,!1,484813681109536e-20],["second","s",["sec"],"time",!0,!0,1],["short hundredweight","cwt",["shweight"],"mass",!1,!0,45.359237],["siemens","S",null,"electrical_conductance",!0,!1,1],["sievert","Sv",null,"equivalent_dose",!0,!1,1],["slug","sg",null,"mass",!1,!0,14.59390294],["square \xE5ngstr\xF6m","ang2",["ang^2"],"area",!1,!0,1e-20],["square foot","ft2",["ft^2"],"area",!1,!0,.09290304],["square inch","in2",["in^2"],"area",!1,!0,64516e-8],["square light-year","ly2",["ly^2"],"area",!1,!0,895054210748189e17],["square meter","m?",null,"area",!0,!0,1],["square mile","mi2",["mi^2"],"area",!1,!0,2589988110336e-6],["square nautical mile","Nmi2",["Nmi^2"],"area",!1,!0,3429904],["square Pica","Pica2",["Picapt2","Pica^2","Picapt^2"],"area",!1,!0,1792111111111e-17],["square yard","yd2",["yd^2"],"area",!1,!0,.83612736],["statute mile","mi",null,"length",!1,!0,1609.344],["steradian","sr",null,"solid_angle",!0,!1,1],["stilb","sb",null,"luminance",!1,!1,1e-4],["stokes","St",null,"kinematic_viscosity",!1,!1,1e-4],["stone","stone",null,"mass",!1,!0,6.35029318],["tablespoon","tbs",null,"volume",!1,!0,147868e-10],["teaspoon","tsp",null,"volume",!1,!0,492892e-11],["tesla","T",null,"magnetic_flux_density",!0,!0,1],["thermodynamic calorie","c",null,"energy",!1,!0,4.184],["ton","ton",null,"mass",!1,!0,907.18474],["tonne","t",null,"mass",!1,!1,1e3],["U.K. pint","uk_pt",null,"volume",!1,!0,.00056826125],["U.S. bushel","bushel",null,"volume",!1,!0,.03523907],["U.S. oil barrel","barrel",null,"volume",!1,!0,.158987295],["U.S. pint","pt",["us_pt"],"volume",!1,!0,.000473176473],["U.S. survey mile","survey_mi",null,"length",!1,!0,1609.347219],["U.S. survey/statute acre","us_acre",null,"area",!1,!0,4046.87261],["volt","V",null,"voltage",!0,!1,1],["watt","W",null,"power",!0,!0,1],["watt-hour","Wh",["wh"],"energy",!1,!0,3600],["weber","Wb",null,"magnetic_flux",!0,!1,1],["yard","yd",null,"length",!1,!0,.9144],["year","yr",null,"time",!1,!0,31557600]],s={Yi:["yobi",80,12089258196146292e8,"Yi","yotta"],Zi:["zebi",70,11805916207174113e5,"Zi","zetta"],Ei:["exbi",60,1152921504606847e3,"Ei","exa"],Pi:["pebi",50,1125899906842624,"Pi","peta"],Ti:["tebi",40,1099511627776,"Ti","tera"],Gi:["gibi",30,1073741824,"Gi","giga"],Mi:["mebi",20,1048576,"Mi","mega"],ki:["kibi",10,1024,"ki","kilo"]},u={Y:["yotta",1e24,"Y"],Z:["zetta",1e21,"Z"],E:["exa",1e18,"E"],P:["peta",1e15,"P"],T:["tera",1e12,"T"],G:["giga",1e9,"G"],M:["mega",1e6,"M"],k:["kilo",1e3,"k"],h:["hecto",100,"h"],e:["dekao",10,"e"],d:["deci",.1,"d"],c:["centi",.01,"c"],m:["milli",.001,"m"],u:["micro",1e-6,"u"],n:["nano",1e-9,"n"],p:["pico",1e-12,"p"],f:["femto",1e-15,"f"],a:["atto",1e-18,"a"],z:["zepto",1e-21,"z"],y:["yocto",1e-24,"y"]},d=null,f=null,m=l,g=n,y=1,v=1,b,e=0;e<o.length;e++)b=o[e][2]===null?[]:o[e][2],(o[e][1]===m||b.indexOf(m)>=0)&&(d=o[e]),(o[e][1]===g||b.indexOf(g)>=0)&&(f=o[e]);if(d===null){var k=s[l.substring(0,2)],x=u[l.substring(0,1)];l.substring(0,2)==="da"&&(x=["dekao",10,"da"]),k?(y=k[2],m=l.substring(2)):x&&(y=x[1],m=l.substring(x[2].length));for(var w=0;w<o.length;w++)b=o[w][2]===null?[]:o[w][2],(o[w][1]===m||b.indexOf(m)>=0)&&(d=o[w])}if(f===null){var _=s[n.substring(0,2)],S=u[n.substring(0,1)];n.substring(0,2)==="da"&&(S=["dekao",10,"da"]),_?(v=_[2],g=n.substring(2)):S&&(v=S[1],g=n.substring(S[2].length));for(var C=0;C<o.length;C++)b=o[C][2]===null?[]:o[C][2],(o[C][1]===g||b.indexOf(g)>=0)&&(f=o[C])}return d===null||f===null?p.error.na:d[3]!==f[3]?p.error.na:t*d[6]*y/(f[6]*v)}catch(R){var T=R;return T=p.errorInfo(T),[p.error.v,T]}},SUMX2MY2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}for(var m=0,e=0;e<s.length;e++)m+=Math.pow(s[e],2)-Math.pow(u[e],2);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},SUMX2PY2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}for(var m=0,e=0;e<s.length;e++)m+=Math.pow(s[e],2)+Math.pow(u[e],2);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},SUMXMY2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(q.getCellDataArr(t,"text",!1)):l.push(t);var n=arguments[1],o=[];if(P(n)=="array"){if(P(n[0])=="array"&&!q.isDyadicArr(n))return p.error.v;o=o.concat(q.getDataArr(n,!1))}else P(n)=="object"&&n.startCell!=null?o=o.concat(q.getCellDataArr(n,"text",!1)):o.push(n);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];L(d)&&L(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}for(var m=0,e=0;e<s.length;e++)m+=Math.pow(s[e]-u[e],2);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},TRANSPOSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else P(t)=="object"&&t.startCell!=null&&(l=q.getCellDataDyadicArr(t,"number"));return l=l[0].map(function(o,s){return l.map(function(u){return u[s]})}),l}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},TREND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let I=function(A,E){for(var N=0,D=0,F=0,M=0,z=0;z<A.length;z++)for(var O=0;O<A[z].length;O++)N+=A[z][O],D+=E[z][O],F+=A[z][O]*E[z][O],M+=A[z][O]*A[z][O];var H=A.length*A[0].length,U=N/H,X=D/H,Y=F/H,ee=M/H,ae=(Y-U*X)/(ee-U*U),oe=X-ae*U;return[ae,oe]};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"text");else{if(!L(t))return p.error.v;var n=[];n.push(parseFloat(t)),l.push(n)}for(var o=l.length,s=l[0].length,e=0;e<o;e++)for(var u=0;u<s;u++){if(!L(l[e][u]))return p.error.v;l[e][u]=parseFloat(l[e][u])}for(var d=[],e=1;e<=o;e++)for(var u=1;u<=s;u++){var f=(e-1)*s+u;d.push(f)}if(arguments.length>=2){var m=arguments[1];if(d=[],P(m)=="array"){if(P(m[0])=="array"&&!q.isDyadicArr(m))return p.error.v;d=q.getDataDyadicArr(m)}else if(P(m)=="object"&&m.startCell!=null)d=q.getCellDataDyadicArr(m,"text");else{if(!L(m))return p.error.v;var n=[];n.push(parseFloat(m)),d.push(n)}for(var e=0;e<d.length;e++)for(var u=0;u<d[0].length;u++){if(!L(d[e][u]))return p.error.v;d[e][u]=parseFloat(d[e][u])}}var g=d.length,y=d[0].length,v=d;if(arguments.length>=3){var b=arguments[2];if(v=[],P(b)=="array"){if(P(b[0])=="array"&&!q.isDyadicArr(b))return p.error.v;v=q.getDataDyadicArr(b)}else if(P(b)=="object"&&b.startCell!=null)v=q.getCellDataDyadicArr(b,"text");else{if(!L(b))return p.error.v;var n=[];n.push(parseFloat(b)),v.push(n)}for(var e=0;e<v.length;e++)for(var u=0;u<v[0].length;u++){if(!L(v[e][u]))return p.error.v;v[e][u]=parseFloat(v[e][u])}}var k=!0;if(arguments.length==4&&(k=q.getCellBoolen(arguments[3]),B(k)))return k;if(o!=g||s!=y)return p.error.r;var x=I(d,l),w=x[0];if(k)var _=x[1];else var _=0;for(var S=[],e=0;e<v.length;e++)for(var u=0;u<v[e].length;u++){var C=v[e][u],T=w*C+_;S.push(Math.round(T*1e9)/1e9)}return S}catch(I){var R=I;return R=p.errorInfo(R),[p.error.v,R]}},FREQUENCY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=l.concat(q.getDataArr(t,!0))}else if(P(t)=="object"&&t.startCell!=null)l=l.concat(q.getCellDataArr(t,"number",!0));else{if(!L(t))return p.error.v;l.push(t)}for(var n=[],e=0;e<l.length;e++)L(l[e])&&n.push(parseFloat(l[e]));var o=arguments[1],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!q.isDyadicArr(o))return p.error.v;s=s.concat(q.getDataArr(o,!0))}else if(P(o)=="object"&&o.startCell!=null)s=s.concat(q.getCellDataArr(o,"number",!0));else{if(!L(o))return p.error.v;s.push(o)}for(var u=[],e=0;e<s.length;e++)L(s[e])&&u.push(parseFloat(s[e]));if(n.length==0&&u.length==0)return[[0],[0]];if(n.length==0){for(var d=[[0]],e=0;e<u.length;e++)d.push([0]);return d}else{if(u.length==0)return[[0],[n.length]];u.sort(function(k,x){return k-x});for(var d=[],e=0;e<u.length;e++)if(e==0){for(var f=0,m=0;m<n.length;m++)n[m]<=u[0]&&f++;d.push([f])}else if(e==u.length-1){for(var g=0,y=0,m=0;m<n.length;m++)n[m]<=u[e]&&n[m]>u[e-1]&&g++,n[m]>u[e]&&y++;d.push([g]),d.push([y])}else{for(var f=0,m=0;m<n.length;m++)n[m]<=u[e]&&n[m]>u[e-1]&&f++;d.push([f])}return d}}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},GROWTH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let I=function(A,E){for(var N=0,D=0,F=0,M=0,z=0;z<A.length;z++)for(var O=0;O<A[z].length;O++)N+=A[z][O],D+=Math.log(E[z][O]),F+=A[z][O]*Math.log(E[z][O]),M+=A[z][O]*A[z][O];var H=A.length*A[0].length,U=N/H,X=D/H,Y=F/H,ee=M/H,ae=(Y-U*X)/(ee-U*U),oe=X-ae*U;return[Math.exp(ae),Math.exp(oe)]};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"text");else{if(!L(t))return p.error.v;var n=[];n.push(parseFloat(t)),l.push(n)}for(var o=l.length,s=l[0].length,e=0;e<o;e++)for(var u=0;u<s;u++){if(!L(l[e][u]))return p.error.v;l[e][u]=parseFloat(l[e][u])}for(var d=[],e=1;e<=o;e++)for(var u=1;u<=s;u++){var f=(e-1)*s+u;d.push(f)}if(arguments.length>=2){var m=arguments[1];if(d=[],P(m)=="array"){if(P(m[0])=="array"&&!q.isDyadicArr(m))return p.error.v;d=q.getDataDyadicArr(m)}else if(P(m)=="object"&&m.startCell!=null)d=q.getCellDataDyadicArr(m,"text");else{if(!L(m))return p.error.v;var n=[];n.push(parseFloat(m)),d.push(n)}for(var e=0;e<d.length;e++)for(var u=0;u<d[0].length;u++){if(!L(d[e][u]))return p.error.v;d[e][u]=parseFloat(d[e][u])}}var g=d.length,y=d[0].length,v=d;if(arguments.length>=3){var b=arguments[2];if(v=[],P(b)=="array"){if(P(b[0])=="array"&&!q.isDyadicArr(b))return p.error.v;v=q.getDataDyadicArr(b)}else if(P(b)=="object"&&b.startCell!=null)v=q.getCellDataDyadicArr(b,"text");else{if(!L(b))return p.error.v;var n=[];n.push(parseFloat(b)),v.push(n)}for(var e=0;e<v.length;e++)for(var u=0;u<v[0].length;u++){if(!L(v[e][u]))return p.error.v;v[e][u]=parseFloat(v[e][u])}}var k=!0;if(arguments.length==4&&(k=q.getCellBoolen(arguments[3]),B(k)))return k;if(o!=g||s!=y)return p.error.r;var x=I(d,l),w=x[0];if(k)var _=x[1];else var _=1;for(var S=[],e=0;e<v.length;e++)for(var u=0;u<v[e].length;u++){var C=v[e][u],T=_*Math.pow(w,C);S.push(Math.round(T*1e9)/1e9)}return S}catch(I){var R=I;return R=p.errorInfo(R),[p.error.v,R]}},LINEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},LOGEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},MDETERM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{let u=function(d,f){var m,g=new Array;if(f==1)return m=d[0][0],m;if(f==2)return m=d[0][0]*d[1][1]-d[0][1]*d[1][0],m;if(f==3)return m=d[0][0]*d[1][1]*d[2][2]+d[1][0]*d[2][1]*d[0][2]+d[2][0]*d[0][1]*d[1][2]-d[2][0]*d[1][1]*d[0][2]-d[0][0]*d[2][1]*d[1][2]-d[1][0]*d[0][1]*d[2][2],m;m=0;for(var y=new Array,v=new Array,b=0;b<f;b++)g[b]=d[b][0]*Math.pow(-1,b+1+1);for(var b=0;b<f;b++){v[b]=new Array;for(var k=0;k<f-1;k++)v[b][k]=d[b][k+1]}for(var b=0;b<f;b++){for(var k=0;k<f;k++){y[k]=new Array;for(var x=0;x<f-1;x++)b>k?y[k][x]=v[k][x]:b<k&&(y[k-1][x]=v[k][x])}m+=g[b]*arguments.callee(y,f-1)}return m};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"text");else{var n=[];n.push(t),l.push(n)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++){if(!L(l[e][o]))return p.error.v;l[e][o]=parseFloat(l[e][o])}return l.length!=l[0].length?p.error.v:u(l,l.length)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MINVERSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"text");else{var n=[];n.push(t),l.push(n)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++){if(!L(l[e][o]))return p.error.v;l[e][o]=parseFloat(l[e][o])}return l.length!=l[0].length?p.error.v:wo(l)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MMULT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"text");else{var n=[];n.push(t),l.push(n)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++){if(!L(l[e][o]))return p.error.v;l[e][o]=parseFloat(l[e][o])}var s=arguments[1],u=[];if(P(s)=="array"){if(P(s[0])=="array"&&!q.isDyadicArr(s))return p.error.v;u=q.getDataDyadicArr(s)}else if(P(s)=="object"&&s.startCell!=null)u=q.getCellDataDyadicArr(s,"text");else{var n=[];n.push(s),u.push(n)}for(var e=0;e<u.length;e++)for(var o=0;o<u[e].length;o++){if(!L(u[e][o]))return p.error.v;u[e][o]=parseFloat(u[e][o])}if(l[0].length!=u.length)return p.error.v;for(var d=l.length,f=u[0].length,m=[],g=0;g<d;g++){for(var n=[],y=0;y<f;y++){for(var v=0,a=0;a<l[0].length;a++)v+=l[g][a]*u[a][y];n.push(v)}m.push(n)}return m}catch(k){var b=k;return b=p.errorInfo(b),[p.error.v,b]}},SUMPRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"text");else{var n=[];n.push(t),l.push(n)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++)L(l[e][o])?l[e][o]=parseFloat(l[e][o]):l[e][o]=0;var s=l.length,u=l[0].length;if(arguments.length>=2)for(var e=1;e<arguments.length;e++){var d=arguments[e],f=[];if(P(d)=="array"){if(P(d[0])=="array"&&!q.isDyadicArr(d))return p.error.v;f=q.getDataDyadicArr(d)}else if(P(d)=="object"&&d.startCell!=null)f=q.getCellDataDyadicArr(d,"text");else{var n=[];n.push(d),f.push(n)}if(f.length!=s||f[0].length!=u)return p.error.v;for(var m=0;m<s;m++)for(var g=0;g<u;g++)L(f[m][g])?l[m][g]=l[m][g]*parseFloat(f[m][g]):l[m][g]=0}for(var y=0,m=0;m<s;m++)for(var g=0;g<u;g++)y+=l[m][g];return y}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},ISFORMULA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;return P(t)=="object"&&t.startCell!=null?t.data==null?!1:(P(t.data)=="array"?l=t.data[0][0]:l=t.data,l!=null&&l.f!=null):p.error.v}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},CELL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;if(P(t.data)=="array")return p.error.v;if(l=t.data.v,de(l))return p.error.v}else l=t;var n=arguments[1],o;if(P(n)=="object"&&n.startCell!=null)o=n.startCell;else return p.error.v;if(["address","col","color","contents","filename","format","parentheses","prefix","protect","row","type","width"].indexOf(l)==-1)return p.error.v;var s=It()[Z(h.currentSheetIndex)],u=p.getcellrange(o),d=u.row[0],f=u.column[0];let y=It(),v=Z(h.calculateSheetIndex),b=y[v].data,k;switch(p.execFunctionGlobalData!=null&&p.execFunctionGlobalData[d+"_"+f+"_"+h.calculateSheetIndex]!=null?k=p.execFunctionGlobalData[d+"_"+f+"_"+h.calculateSheetIndex].v:b[d][f]!=null&&b[d][f].v!=null&&b[d][f].v!=""?(k=b[d][f],k instanceof Object&&(k=k.v)):k=0,l){case"address":return o;case"col":return f+1;case"color":return 0;case"contents":return k;case"filename":return s.name;case"format":return b[d][f]==null||b[d][f].ct==null?"G":b[d][f].ct.fa;case"parentheses":return b[d][f]==null||b[d][f].v==null||b[d][f].v==""?0:b[d][f].v>0?1:0;case"prefix":return k==0?"":b[d][f].ht==0?"^":b[d][f].ht==1?"'":b[d][f].ht==2?'"':"";case"protect":return 0;case"row":return d+1;case"type":return k==0?"b":"l";case"width":var m=s.config;return m.columnlen!=null&&f in m.columnlen?m.columnlen[f]:h.defaultcollen}}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},NA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return p.error.na}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},ERROR_TYPE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.na;if(P(t.data)=="array"){if(l=t.data[0][0],l==null||de(l.v))return p.error.na;l=l.v}else{if(de(t.data.v))return p.error.na;l=t.data.v}}else l=t;var n={"#NULL!":1,"#DIV/0!":2,"#VALUE!":3,"#REF!":4,"#NAME?":5,"#NUM!":6,"#N/A":7,"#GETTING_DATA":8};return l in n?n[l]:p.error.na}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},ISBLANK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;return P(t)=="object"&&t.startCell!=null?t.data==null:!1}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISERR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array")return!0;if(t.data==null||de(t.data.v))return!1;l=t.data.v}else l=t;return["#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISERROR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array")return!0;if(t.data==null||de(t.data.v))return!1;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISLOGICAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||de(t.data.v))return!1;l=t.data.v}else l=t;return l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISNA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||de(t.data.v))return!1;l=t.data.v}else l=t;return l.toString()=="#N/A"}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISNONTEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||de(t.data.v))return!0;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1||l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?!0:!!L(l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISNUMBER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||de(t.data.v))return!1;l=t.data.v}else l=t;return!!L(l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},ISREF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{return P(arguments[0])=="object"&&arguments[0].startCell!=null}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},ISTEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||de(t.data.v))return!1;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1||l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?!1:!L(l)}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},TYPE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")return 64;if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array")return 16;if(t.data==null||de(t.data.v))return 1;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1?16:l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?4:L(l)?1:2}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},N:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null)if(P(t.data)=="array"){if(l=t.data[0][0],l==null||de(l.v))return 0;l=l.v}else{if(t.data==null||de(t.data.v))return 0;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1?l:l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?l.toString().toLowerCase()=="true"?1:0:L(l)?parseFloat(l):0}catch(o){var n=o;return n=p.errorInfo(n),[p.error.v,n]}},TO_DATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),mt("yyyy-mm-dd",t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TO_PURE_NUMBER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:(0,V.default)(t).isValid()?it(t)[2]:(0,Oi.default)(t).value()==null?t:(0,Oi.default)(t).value()}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TO_TEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0],"text");return B(t)?t:mt("@",t)}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TO_DOLLARS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),mt("$ 0.00",t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},TO_PERCENT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);return B(t)?t:L(t)?(t=parseFloat(t),mt("0%",t)):p.error.v}catch(n){var l=n;return l=p.errorInfo(l),[p.error.v,l]}},DGET:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);return u.length===0?p.error.v:u.length>1?p.error.nm:d[u[0]]}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},DMAX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=d[u[0]],e=1;e<u.length;e++)m<d[u[e]]&&(m=d[u[e]]);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DMIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=findResultIndex(l,s),d=[];if(P(n)==="string"){var f=findField(l,n);d=rest(l[f])}else d=rest(l[n]);for(var m=d[u[0]],e=1;e<u.length;e++)m>d[u[e]]&&(m=d[u[e]]);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DAVERAGE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=0,e=0;e<u.length;e++)m+=d[u[e]];return u.length===0?p.error.d:m/u.length}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DCOUNT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return window.luckysheet_function.COUNT.f.apply(window.luckysheet_function.COUNT,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DCOUNTA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return window.luckysheet_function.COUNTA.f.apply(window.luckysheet_function.COUNTA,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DPRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];m=q.compact(m);var g=1;for(e=0;e<m.length;e++)g*=m[e];return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},DSTDEV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=q.compact(m),window.luckysheet_function.STDEVA.f.apply(window.luckysheet_function.STDEVA,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DSTDEVP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=q.compact(m),window.luckysheet_function.STDEVP.f.apply(window.luckysheet_function.STDEVP,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DSUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];m=q.compact(m);var g=0;for(e=0;e<m.length;e++)g+=m[e];return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},DVAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=q.compact(m),window.luckysheet_function.VAR_S.f.apply(window.luckysheet_function.VAR_S,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DVARP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=q.getCellDataDyadicArr(t,"text")}else return p.error.v;var n=q.getFirstValue(arguments[1],"text");if(B(n))return n;if(de(n))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=q.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!L(n)&&P(n)!=="string")return p.error.v;var u=q.findResultIndex(l,s),d=[];if(P(n)==="string"){var f=q.findField(l,n);d=q.rest(l[f])}else d=q.rest(l[n]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=q.compact(m),window.luckysheet_function.VAR_P.f.apply(window.luckysheet_function.VAR_P,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},LINESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=arguments[1],d=arguments[2],f=arguments[3],m=arguments[4],g=arguments[5],y=arguments[6],v=arguments[7];let I=It(),A=Z(h.calculateSheetIndex),E=I[A].data;var b=p.readCellDataToOneArray(s),k=be.getCellRealSize(E,t,l),x=k[0],w=k[1],_={};d==null&&(d=1),_.lineWidth=d,_.offsetY=d+1,_.height=w-(d+1),_.width=x;var S=function(N,D){D&&(typeof D=="number"&&(D>19&&(D=D%20),D=o[D]),_[N]=D)};if(u==null&&(u="#2ec7c9"),S("lineColor",u),_.fillColor=0,f)if(typeof f=="string"){f=f.toLowerCase();var C=null;f=="min"?C=window.luckysheet_function.MIN.f({data:b}):f=="max"?C=window.luckysheet_function.MAX.f({data:b}):f=="avg"||f=="mean"?C=window.luckysheet_function.AVERAGE.f({data:b}):f=="median"&&(C=window.luckysheet_function.MEDIAN.f({data:b})),C&&(_.normalRangeMin=C,_.normalRangeMax=C)}else _.normalRangeMin=f,_.normalRangeMax=f;m==null&&(m="#000"),S("normalRangeColor",m),S("maxSpotColor",g),S("minSpotColor",y),v==null&&(v="1.5"),_.spotRadius=v;var T=Yr.init(b,_);return T}catch(I){var R=I;return R=p.errorInfo(R),[p.error.v,R]}},AREASPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=arguments[1],d=arguments[2],f=arguments[3],m=arguments[4],g=arguments[5],y=p.readCellDataToOneArray(s);let T=It(),R=Z(h.calculateSheetIndex),I=T[R].data;var v=be.getCellRealSize(I,t,l),b=v[0],k=v[1],x={};f==null&&(f=1),x.lineWidth=f,x.offsetY=f+1,x.height=k-(f+1),x.width=b;var w=function(A,E){E&&(typeof E=="number"&&(E>19&&(E=E%20),E=o[E]),x[A]=E)};if(u==null&&(u="#2ec7c9"),w("lineColor",u),w("fillColor",d),f==null&&(f="1"),x.lineWidth=f,m)if(typeof m=="string"){m=m.toLowerCase();var _=null;m=="min"?_=window.luckysheet_function.MIN.f({data:y}):m=="max"?_=window.luckysheet_function.MAX.f({data:y}):m=="avg"||m=="mean"?_=window.luckysheet_function.AVERAGE.f({data:y}):m=="median"&&(_=window.luckysheet_function.MEDIAN.f({data:y})),_&&(x.normalRangeMin=_,x.normalRangeMax=_)}else x.normalRangeMin=m,x.normalRangeMax=m;g==null&&(g="#000"),w("normalRangeColor",g);var S=Yr.init(y,x);return S}catch(T){var C=T;return C=p.errorInfo(C),[p.error.v,C]}},COLUMNSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let C=It(),T=Z(h.calculateSheetIndex),R=C[T].data;var d=be.getCellRealSize(R,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(I,A){A&&(typeof A=="number"&&(A>19&&(A=A%20),A=o[A]),g[I]=A)},v=arguments[1],b=arguments[2],k=arguments[3],x=arguments[4];g.type="column",v==null&&(v="1"),g.barSpacing=v,b==null&&(b="#fc5c5c"),y("barColor",b),k==null&&(k="#97b552"),y("negBarColor",k),x==null||x===!1||typeof x!="number"?g.chartRangeMax=void 0:g.chartRangeMax=x;var w=p.sparklinesColorMap(arguments);w&&(g.colorMap=w);var _=Yr.init(u,g);return _}catch(C){var S=C;return S=p.errorInfo(S),[p.error.v,S]}},STACKCOLUMNSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=[],d=[];if(s!=null&&s.data!=null&&(d=s.data),P(d)=="array")d=p.getPureValueByData(d);else{if(P(d)=="object")return d=d.v,[d];/\{.*?\}/.test(d)&&(d=d.replace(/\{/g,"[").replace(/\}/g,"]")),d=new Function("return "+d)()}var f=arguments[1],m=d.length;if(f==null||!!f)for(var g=0;g<d[0].length;g++){for(var y="",v=0;v<d.length;v++)y+=d[v][g]+":";y=y.substr(0,y.length-1),u.push(y)}else{for(var v=0;v<d.length;v++){for(var b="",g=0;g<d[0].length;g++)b+=d[v][g]+":";b=b.substr(0,b.length-1),u.push(b)}var m=d[0].length}let E=It(),N=Z(h.calculateSheetIndex),D=E[N].data;var k=be.getCellRealSize(D,t,l),x=k[0],w=k[1],_={};_.height=w,_.width=x;var S=function(F,M){M&&(typeof M=="number"&&(M>19&&(M=M%20),M=o[M]),_[F]=M)},C=arguments[2],T=arguments[3];_.type="column",C==null&&(C="1"),_.barSpacing=C,T==null||T===!1||typeof T!="number"?_.chartRangeMax=void 0:_.chartRangeMax=T;var R=p.sparklinesColorMap(arguments,4);R&&(_.colorMap=R);var I=Yr.init(u,_);return I}catch(E){var A=E;return A=p.errorInfo(A),[p.error.v,A]}},BARSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let C=It(),T=Z(h.calculateSheetIndex),R=C[T].data;var d=be.getCellRealSize(R,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(I,A){A&&(typeof A=="number"&&(A>19&&(A=A%20),A=o[A]),g[I]=A)},v=arguments[1],b=arguments[2],k=arguments[3],x=arguments[4];g.type="bar",v==null&&(v="1"),g.barSpacing=v,b==null&&(b="#fc5c5c"),y("barColor",b),k==null&&(k="#97b552"),y("negBarColor",k),x==null||x===!1||typeof x!="number"?g.chartRangeMax=void 0:g.chartRangeMax=x;var w=p.sparklinesColorMap(arguments);w&&(g.colorMap=w);var _=Yr.init(u,g);return _}catch(C){var S=C;return S=p.errorInfo(S),[p.error.v,S]}},STACKBARSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=[],d=[];if(s!=null&&s.data!=null&&(d=s.data),P(d)=="array")d=p.getPureValueByData(d);else{if(P(d)=="object")return d=d.v,[d];/\{.*?\}/.test(d)&&(d=d.replace(/\{/g,"[").replace(/\}/g,"]")),d=new Function("return "+d)()}var f=arguments[1],m=d.length;if(f==null||!!f)for(var g=0;g<d[0].length;g++){for(var y="",v=0;v<d.length;v++)y+=d[v][g]+":";y=y.substr(0,y.length-1),u.push(y)}else{for(var v=0;v<d.length;v++){for(var b="",g=0;g<d[0].length;g++)b+=d[v][g]+":";b=b.substr(0,b.length-1),u.push(b)}var m=d[0].length}let E=It(),N=Z(h.calculateSheetIndex),D=E[N].data;var k=be.getCellRealSize(D,t,l),x=k[0],w=k[1],_={};_.height=w,_.width=x;var S=function(F,M){M&&(typeof M=="number"&&(M>19&&(M=M%20),M=o[M]),_[F]=M)},C=arguments[2],T=arguments[3];_.type="bar",C==null&&(C="1"),_.barSpacing=C,T==null||T===!1||typeof T!="number"?_.chartRangeMax=void 0:_.chartRangeMax=T;var R=p.sparklinesColorMap(arguments,4);R&&(_.colorMap=R);var I=Yr.init(u,_);return I}catch(E){var A=E;return A=p.errorInfo(A),[p.error.v,A]}},DISCRETESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let _=It(),S=Z(h.calculateSheetIndex),C=_[S].data;var d=be.getCellRealSize(C,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(T,R){R&&(typeof R=="number"&&(R>19&&(R=R%20),R=o[R]),g[T]=R)},v=arguments[1],b=arguments[2],k=arguments[3];g.type="discrete",v==null&&(v=0),g.thresholdValue=v,b==null&&(b="#2ec7c9"),y("lineColor",b),k==null&&(k="#fc5c5c"),y("thresholdColor",k);var x=Yr.init(u,g);return x}catch(_){var w=_;return w=p.errorInfo(w),[p.error.v,w]}},TRISTATESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let C=It(),T=Z(h.calculateSheetIndex),R=C[T].data;var d=be.getCellRealSize(R,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(I,A){A&&(typeof A=="number"&&(A>19&&(A=A%20),A=o[A]),g[I]=A)},v=arguments[1],b=arguments[2],k=arguments[3],x=arguments[4];g.type="tristate",v==null&&(v="1"),g.barSpacing=v,b==null&&(b="#fc5c5c"),y("barColor",b),k==null&&(k="#97b552"),y("negBarColor",k),x==null&&(x="#999"),y("zeroBarColor",x);var w=p.sparklinesColorMap(arguments);w&&(g.colorMap=w);var _=Yr.init(u,g);return _}catch(C){var S=C;return S=p.errorInfo(S),[p.error.v,S]}},PIESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let S=It(),C=Z(h.calculateSheetIndex),T=S[C].data;var d=be.getCellRealSize(T,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(R,I){I&&(typeof I=="number"&&(I>19&&(I=I%20),I=o[I]),g[R]=I)},v=arguments[1],b=arguments[2],k=arguments[3];g.type="pie",v==null&&(v=0),g.offset=v,b==null&&(b=0),y("borderWidth",b),k==null&&(k="#97b552"),y("borderColor",k);var x=p.sparklinesColorMap(arguments,4);x&&(g.colorMap=x);var w=Yr.init(u,g);return w}catch(S){var _=S;return _=p.errorInfo(_),[p.error.v,_]}},BOXSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let _=It(),S=Z(h.calculateSheetIndex),C=_[S].data;var d=be.getCellRealSize(C,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(T,R){R&&(typeof R=="number"&&(R>19&&(R=R%20),R=o[R]),g[T]=R)},v=arguments[1],b=arguments[2],k=arguments[3];g.type="box",v==null&&(v=1.5),g.outlierIQR=v,b==null?b=0:y("target",b),k==null&&(k=1.5),y("spotRadius",k);var x=Yr.init(u,g);return x}catch(_){var w=_;return w=p.errorInfo(w),[p.error.v,w]}},BULLETSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentFunction,o=p.colorList;let x=It(),w=Z(h.calculateSheetIndex),_=x[w].data;var s=be.getCellRealSize(_,t,l),u=s[0],d=s[1],f={};f.height=d,f.width=u;var m=function(S,C){C&&(typeof C=="number"&&(C>19&&(C=C%20),C=o[C]),f[S]=C)},g=[];va(arguments);var y=p.getValueByFuncData(arguments[0]),v=p.getValueByFuncData(arguments[1]);g.push(y),g.push(v);for(var e=2;e<arguments.length;e++)g.push(p.getValueByFuncData(arguments[e]));f.type="bullet";var b=Yr.init(g,f);return b}catch(x){var k=x;return k=p.errorInfo(k),[p.error.v,k]}},SORT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[],n=1,o=1;if(P(t)=="array")if(P(t[0])=="array"){if(!q.isDyadicArr(t))return p.error.v;for(var e=0;e<t.length;e++){for(var s=[],u=0;u<t[e].length;u++){var d=t[e][u];s.push(d)}l.push(s)}n=l.length,o=l[0].length}else{for(var e=0;e<t.length;e++){var d=t[e];l.push(d)}n=l.length}else if(P(t)=="object"&&t.startCell!=null)if(t.data!=null)if(P(t.data)=="array"){for(var e=0;e<t.data.length;e++){for(var s=[],u=0;u<t.data[e].length;u++)if(t.data[e][u]!=null){var d=t.data[e][u].v;de(d)&&(d=0),s.push(d)}else s.push(0);l.push(s)}n=l.length,o=l[0].length}else{var d=t.data.v;de(d)&&(d=0),l.push(d)}else l.push(0);else{var d=t;l.push(d)}var f=1;if(arguments.length>=2){if(f=q.getFirstValue(arguments[1]),B(f))return f;if(!L(f))return p.error.v;f=parseInt(f)}var m=1;if(arguments.length>=3){if(m=q.getFirstValue(arguments[2]),B(m))return m;if(!L(m))return p.error.v;m=Math.floor(parseFloat(m))}var g=!1;if(arguments.length==4&&(g=q.getCellBoolen(arguments[3]),B(g)))return g;if(g){if(f<1||f>n)return p.error.v}else if(f<1||f>o)return p.error.v;if(m!=1&&m!=-1)return p.error.v;var y=function(k,x){if(P(k)=="array"&&(k=k[f-1]),P(x)=="array"&&(x=x[f-1]),!isNaN(k)&&!isNaN(x))return k-x;if(isNaN(k))if(isNaN(x)){if(k>x)return 1;if(k<x)return-1}else return 1;else return-1},v=function(k,x){if(P(k)=="array"&&(k=k[f-1]),P(x)=="array"&&(x=x[f-1]),!isNaN(k)&&!isNaN(x))return x-k;if(isNaN(k))if(isNaN(x)){if(k>x)return-1;if(k<x)return 1}else return-1;else return 1};return g?(l=l[0].map(function(k,x){return l.map(function(w){return w[x]})}),m==1&&l.sort(y),m==-1&&l.sort(v),l=l[0].map(function(k,x){return l.map(function(w){return w[x]})})):(m==1&&l.sort(y),m==-1&&l.sort(v)),l}catch(k){var b=k;return b=p.errorInfo(b),[p.error.v,b]}},FILTER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"number");else{var n=[];n.push(parseFloat(t)),l.push(n)}var o=l.length,s=l[0].length,u=arguments[1],d=[],f="row";if(P(u)=="array")if(P(u[0])=="array"){if(!q.isDyadicArr(u))return p.error.v;if(u.length>1&&u[0].length>1)return p.error.v;if(u.length>1){if(u.length!=l.length)return p.error.v;f="row";for(var e=0;e<u.length;e++){var m=u[e][0];if(P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(L(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}if(u[0].length>1){if(u[0].length!=l[0].length)return p.error.v;f="col";for(var e=0;e<u[0].length;e++){var m=u[0][e];if(P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(L(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}}else{if(u.length!=l[0].length)return p.error.v;f="col";for(var e=0;e<u.length;e++){var m=u[e];if(P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(L(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}else if(P(u)=="object"&&u.data!=null&&P(u.data)=="array"){if(u.data.length>1&&u.data[0].length>1)return p.error.v;if(u.data.length>1){if(u.data.length!=l.length)return p.error.v;f="row";for(var e=0;e<u.data.length;e++){var m=u.data[e][0].v;if(de(m)&&(m=0),P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(L(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}if(u.data[0].length>1){if(u.data[0].length!=l[0].length)return p.error.v;f="col";for(var e=0;e<u.data[0].length;e++){var m=u.data[0][e].v;if(de(m)&&(m=0),P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(L(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}}else return p.error.v;var g="";if(arguments.length==3&&(g=q.getFirstValue(arguments[2],"text"),B(g)))return g;var y=[];if(f=="row")for(var e=0;e<l.length;e++)d[e]&&y.push(l[e]);else for(var e=0;e<l.length;e++){for(var n=[],v=0;v<l[0].length;v++)d[v]&&n.push(l[e][v]);n.length>0&&y.push(n)}return y.length==0?g:y}catch(k){var b=k;return b=p.errorInfo(b),[p.error.v,b]}},UNIQUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!q.isDyadicArr(t))return p.error.v;l=q.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=q.getCellDataDyadicArr(t,"number");else{var n=[];n.push(parseFloat(t)),l.push(n)}var o=!1;if(arguments.length>=2&&(o=q.getCellBoolen(arguments[1]),B(o)))return o;var s=!1;if(arguments.length==3&&(s=q.getCellBoolen(arguments[2]),B(s)))return s;if(o){l=l[0].map(function(b,k){return l.map(function(x){return x[k]})});for(var u={},d=[],f=[],e=0;e<l.length;e++){for(var m="",g=0;g<l[e].length;g++)m+=l[e][g].toString()+"|||";d.push(m),m in u||(u[m]=0,f.push(l[e]))}if(s){for(var y=[],e=0;e<d.length;e++)d.indexOf(d[e])==d.lastIndexOf(d[e])&&y.push(l[e]);return y=y[0].map(function(b,k){return y.map(function(x){return x[k]})}),y}else return f=f[0].map(function(b,k){return f.map(function(x){return x[k]})}),f}else{for(var u={},d=[],f=[],e=0;e<l.length;e++){for(var m="",g=0;g<l[e].length;g++)m+=l[e][g].toString()+"|||";d.push(m),m in u||(u[m]=0,f.push(l[e]))}if(s){for(var y=[],e=0;e<d.length;e++)d.indexOf(d[e])==d.lastIndexOf(d[e])&&y.push(l[e]);return y}else return f}}catch(b){var v=b;return v=p.errorInfo(v),[p.error.v,v]}},RANDARRAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=1;if(arguments.length>=1){if(t=q.getFirstValue(arguments[0]),B(t))return t;if(!L(t))return p.error.v;t=parseInt(t)}var l=1;if(arguments.length==2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}if(t<=0||l<=0)return p.error.v;for(var n=[],e=0;e<t;e++){for(var o=[],s=0;s<l;s++)o.push(Math.random().toFixed(9));n.push(o)}return n}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},SEQUENCE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=q.getFirstValue(arguments[0]);if(B(t))return t;if(!L(t))return p.error.v;t=parseInt(t);var l=1;if(arguments.length>=2){if(l=q.getFirstValue(arguments[1]),B(l))return l;if(!L(l))return p.error.v;l=parseInt(l)}var n=1;if(arguments.length>=3){if(n=q.getFirstValue(arguments[2]),B(n))return n;if(!L(n))return p.error.v;n=parseFloat(n)}var o=1;if(arguments.length==4){if(o=q.getFirstValue(arguments[3]),B(o))return o;if(!L(o))return p.error.v;o=parseFloat(o)}if(t<=0||l<=0)return p.error.v;for(var s=[],e=0;e<t;e++){for(var u=[],d=0;d<l;d++){var f=n+o*(d+l*e);u.push(f)}s.push(u)}return s}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},EVALUATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var a=p.errorParamCheck(this.p,arguments[e],e);if(!a[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,n=window.luckysheetCurrentIndex,o=q.getFirstValue(arguments[0]).toString();if(B(o))return o;o.trim().indexOf("=")!=0&&(o="="+o);var s=p.execstringformula(o,t,l,n);return s[1]}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},REMOTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;try{let a=window.luckysheetCurrentRow,t=window.luckysheetCurrentColumn,l=window.luckysheetCurrentFunction,n=q.getFirstValue(arguments[0]);return B(n)?n:(fe.remoteFunction(n,o=>{let s=xe.deepCopyFlowData(h.flowdata);p.execFunctionGroup(a,t,o),s[a][t]={v:o,f:l},Ze(s,[{row:[a,a],column:[t,t]}])}),"Loading...")}catch(a){console.log(a);var e=a;return e=p.errorInfo(e),[p.error.v,e]}}},Tm=sb});var cb,$m,Am=Ae(()=>{Sm();Ke();bt();cb=function(){let a=Q().functionlist;for(let l=0;l<a.length;l++){let n=a[l];n.f=Tm[n.n]}h.functionlist=a;let t={};for(let l=0;l<a.length;l++){let n=a[l];t[n.n]=n}window.luckysheet_function=t,h.luckysheet_function=t},$m=cb});function ub(e,a){let t=ye.getSheetByIndex();t.config==null&&(t.config={}),t.config.sheetViewZoom==null&&(t.config.sheetViewZoom={});let l=1,n="zoomScaleNormal";hb(t),e=="viewNormal"?n="viewNormalZoomScale":e=="viewLayout"?n="viewLayoutZoomScale":e=="viewPage"&&(n="viewPageZoomScale",l=.6,db(t));let o=t.config.sheetViewZoom[n];o==null&&(o=l),t.config.curentsheetView=e,h.clearjfundo&&h.jfredo.push({type:"viewChange",curType:e,preType:a,sheetIndex:h.currentSheetIndex}),re.saveParam("cg",h.currentSheetIndex,e,{k:"curentsheetView"}),h.currentSheetView=e,un(o)}function hb(e){}function db(e){}function fb(e){let a=e.parent(),t=a.find("luckysheet-print-viewBtn-active").attr("type");if(e.attr("type")==t)return;let l=e.attr("type");if(l!=null)ub(l,t);else return;e.parent().find(".luckysheet-print-viewBtn").removeClass("luckysheet-print-viewBtn-active"),e.addClass("luckysheet-print-viewBtn-active")}function Im(){let e=fe.container,a=this;$("#"+e).find(".luckysheet-print-viewBtn").click(function(){fb($(this))})}var Rm=Ae(()=>{xr();jn();hr();Zt();Pr();Ke()});var qm=kr((jo,Dm)=>{(function(e,a){typeof jo=="object"&&typeof Dm!="undefined"?a(jo):typeof define=="function"&&define.amd?define(["exports"],a):(e=typeof globalThis!="undefined"?globalThis:e||self,a(e.zh={}))})(jo,function(e){"use strict";var a=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},t={weekdays:{shorthand:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],longhand:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},months:{shorthand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],longhand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},rangeSeparator:" \u81F3 ",weekAbbreviation:"\u5468",scrollTitle:"\u6EDA\u52A8\u5207\u6362",toggleTitle:"\u70B9\u51FB\u5207\u6362 12/24 \u5C0F\u65F6\u65F6\u5236"};a.l10ns.zh=t;var l=a.l10ns;e.Mandarin=t,e.default=l,Object.defineProperty(e,"__esModule",{value:!0})})});var Fm,Mm=Ae(()=>{dt();Ke();Wr();Rt();hn();Fm=function(){Hc(h,"jfredo",(e,a,t,l)=>{a!=="length"&&ut.createHookFunction("updated",t)}),Hc(h,"asyncLoad",(e,a,t,l)=>{a==="length"&&t===0&&ut.createHookFunction("workbookCreateAfter",zo())})}});function Nm(){Uc(),Ld(),nm(),um(),dm(),mm(),ym(),bm(),Tf(),Im(),Fm()}var Em,pr,Pm=Ae(()=>{eu();dt();Ke();Zt();xr();hr();ul();am();fa();im();hm();fm();pm();vm();km();Cm();Rt();_a();Yt();Am();jt();Wt();_l();Xt();jn();Rm();Wr();hn();Tc();Em=Er(qm());Mm();Is();ln();pr={};pr=Oc(Ec,pr);pr.create=function(e){ut.destroy(),h.toJsonOptions={};for(let d in e)d!=="data"&&(h.toJsonOptions[d]=e[d]);let a=Oc(Qc,e),t=a.loadUrl,l=a.menu,n=a.title,o=a.container;h.container=o,h.luckysheetfile=a.data,h.defaultcolumnNum=a.column,h.defaultrowNum=a.row,h.defaultFontSize=a.defaultFontSize,h.fullscreenmode=a.fullscreenmode,h.lang=a.lang,h.allowEdit=a.allowEdit,h.limitSheetNameLength=a.limitSheetNameLength,h.defaultSheetNameMaxLength=a.defaultSheetNameMaxLength,h.fontList=a.fontList,re.gridKey=a.gridKey,re.loadUrl=a.loadUrl,re.updateUrl=a.updateUrl,re.updateImageUrl=a.updateImageUrl,re.title=a.title,re.loadSheetUrl=a.loadSheetUrl,re.allowUpdate=a.allowUpdate,fe.autoFormatw=a.autoFormatw,fe.accuracy=a.accuracy,fe.total=a.data[0].total,fe.loading=a.loading,fe.allowCopy=a.allowCopy,fe.showtoolbar=a.showtoolbar,fe.showtoolbarConfig=a.showtoolbarConfig,fe.showinfobar=a.showinfobar,fe.showsheetbar=a.showsheetbar,fe.showsheetbarConfig=a.showsheetbarConfig,fe.showstatisticBar=a.showstatisticBar,fe.showstatisticBarConfig=a.showstatisticBarConfig,fe.sheetFormulaBar=a.sheetFormulaBar,fe.cellRightClickConfig=a.cellRightClickConfig,fe.sheetRightClickConfig=a.sheetRightClickConfig,fe.pointEdit=a.pointEdit,fe.pointEditUpdate=a.pointEditUpdate,fe.pointEditZoom=a.pointEditZoom,fe.userInfo=a.userInfo,fe.userMenuItem=a.userMenuItem,fe.myFolderUrl=a.myFolderUrl,fe.functionButton=a.functionButton,fe.showConfigWindowResize=a.showConfigWindowResize,fe.enableAddRow=a.enableAddRow,fe.enableAddBackTop=a.enableAddBackTop,fe.enablePage=a.enablePage,fe.pageInfo=a.pageInfo,fe.editMode=a.editMode,fe.beforeCreateDom=a.beforeCreateDom,fe.workbookCreateBefore=a.workbookCreateBefore,fe.workbookCreateAfter=a.workbookCreateAfter,fe.remoteFunction=a.remoteFunction,fe.fireMousedown=a.fireMousedown,fe.forceCalculation=a.forceCalculation,fe.plugins=a.plugins,fe.rowHeaderWidth=a.rowHeaderWidth,fe.columnHeaderHeight=a.columnHeaderHeight,fe.defaultColWidth=a.defaultColWidth,fe.defaultRowHeight=a.defaultRowHeight,fe.title=a.title,fe.container=a.container,fe.hook=a.hook,fe.pager=a.pager,fe.initShowsheetbarConfig=!1,fe.imageUpdateMethodConfig=a.imageUpdateMethodConfig,h.lang==="zh"&&Eo.localize(Em.default.zh),h.asyncLoad.push(...fe.plugins),_m(a.plugins,a.data),$m();let s=a.devicePixelRatio;s==null&&(s=1),h.devicePixelRatio=Math.ceil(s);let u=Dl("#"+o);h.loadingObj=u,t==""?(ye.initialjfFile(l,n),Nm()):$.post(t,{gridKey:re.gridKey},function(d){let f=new Function("return "+d)();h.luckysheetfile=f,ye.initialjfFile(l,n),Nm(),re.allowUpdate&&re.openWebSocket()})};pr.getluckysheetfile=It;pr.getluckysheet_select_save=$u;pr.setluckysheet_select_save=Iu;pr.getconfig=Au;pr.getGridData=ye.getGridData;pr.buildGridData=ye.buildGridData;pr.luckysheetrefreshgrid=Le;pr.jfrefreshgrid=Ze;pr.getcellvalue=ze;pr.setcellvalue=Ot;pr.getdatabyselection=Dt;pr.sheetmanage=ye;pr.flowdata=function(){return h.flowdata};pr.selectHightlightShow=et;pr.destroy=ut.destroy;pr.showLoadingProgress=Tn;pr.hideLoadingProgress=bi;pr.luckysheetextendData=go});function mb(){HTMLElement.prototype.__defineGetter__("runtimeStyle",pb),window.constructor.prototype.__defineGetter__("event",gb),Event.prototype.__defineGetter__("srcElement",yb)}function pb(){return this.style}function gb(){return zm()}function yb(){return this.target}function zm(){if(document.all)return window.event;for(var e=zm.caller;e!=null;){var a=e.arguments[0];if(a){var t=a.constructor;if(t.toString().indexOf("Event")!=-1)return a}e=e.caller}return null}var Lm,Om=Ae(()=>{Lm=mb});var vb=kr((KN,Bm)=>{Jc();Pm();Om();window.addEventListener&&navigator.userAgent.indexOf("Firefox")>0&&Lm();Bm.exports=pr});return vb();})();
/*! @preserve
* numeral.js
* version : 2.0.6
* author : Adam Draper
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
*/
//# sourceMappingURL=luckysheet.umd.js.map