@k-table/sheet-core 1.0.38 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const _0x282282=_0x2416;(function(_0x18b6e8,_0x2ae69a){const _0x112bc8=_0x2416,_0x49fb2c=_0x18b6e8();while(!![]){try{const _0x10e4c4=-parseInt(_0x112bc8(0x1fe))/0x1+parseInt(_0x112bc8(0x290))/0x2+-parseInt(_0x112bc8(0x2c7))/0x3+parseInt(_0x112bc8(0x18e))/0x4*(-parseInt(_0x112bc8(0x20f))/0x5)+parseInt(_0x112bc8(0x227))/0x6+-parseInt(_0x112bc8(0x316))/0x7+parseInt(_0x112bc8(0x339))/0x8;if(_0x10e4c4===_0x2ae69a)break;else _0x49fb2c['push'](_0x49fb2c['shift']());}catch(_0x445503){_0x49fb2c['push'](_0x49fb2c['shift']());}}}(_0x84c6,0xcf451));import{cellKey,migrateWorkbook}from'./chunk-FRYFH3X6.js';export{SHEET_ENGINE_CONFIG,cellKey,createDefaultPage,createEmptySheet,createEmptyWorkbook,fillSparseDemoCells,parseCellKey}from'./chunk-FRYFH3X6.js';import{cellKey as _0x4f1eb4,parseCellKey}from'./chunk-2Z7KMZEW.js';function clampZoom(_0x5f26c7){const _0x240c4a=_0x2416;return Math[_0x240c4a(0x257)](2.5,Math[_0x240c4a(0x218)](0.25,_0x5f26c7));}function colIndexToLetters(_0xf9f55){const _0x4049fa=_0x2416;if(_0xf9f55<0x0||!Number[_0x4049fa(0x374)](_0xf9f55))throw new Error(_0x4049fa(0x228)+_0xf9f55);let _0x4931da=_0xf9f55+0x1,_0x5b2b6c='';while(_0x4931da>0x0){const _0x3aa693=(_0x4931da-0x1)%0x1a;_0x5b2b6c=String[_0x4049fa(0x1af)](0x41+_0x3aa693)+_0x5b2b6c,_0x4931da=Math[_0x4049fa(0x25b)]((_0x4931da-0x1)/0x1a);}return _0x5b2b6c;}function lettersToColIndex(_0x49cd14){const _0x2b3566=_0x2416,_0x135ffe=_0x49cd14[_0x2b3566(0x335)]()['toUpperCase']();if(!/^[A-Z]+$/[_0x2b3566(0x357)](_0x135ffe))throw new Error(_0x2b3566(0x170)+_0x49cd14);let _0xab3f87=0x0;for(const _0x30bd6a of _0x135ffe){_0xab3f87=_0xab3f87*0x1a+(_0x30bd6a[_0x2b3566(0x11a)](0x0)-0x40);}return _0xab3f87-0x1;}function toA1(_0x46c949,_0x5e49cb){return''+colIndexToLetters(_0x5e49cb)+(_0x46c949+0x1);}function parseA1(_0x4bf9b6){const _0x4fa595=_0x2416,_0x46ede4=_0x4bf9b6[_0x4fa595(0x335)]()[_0x4fa595(0x181)]()[_0x4fa595(0x13e)](/^([A-Z]+)(\d+)$/);if(!_0x46ede4)throw new Error(_0x4fa595(0x24d)+_0x4bf9b6);const _0x20a653=Number(_0x46ede4[0x2]);if(!Number['isFinite'](_0x20a653)||_0x20a653<0x1)throw new Error('Invalid\x20A1\x20row:\x20'+_0x4bf9b6);return{'r':_0x20a653-0x1,'c':lettersToColIndex(_0x46ede4[0x1])};}function normalizeRect(_0x4f316a,_0x591015,_0x2a1afe,_0x26e99b){const _0x5ee41f=_0x2416;return{'r1':Math['min'](_0x4f316a,_0x2a1afe),'c1':Math[_0x5ee41f(0x257)](_0x591015,_0x26e99b),'r2':Math['max'](_0x4f316a,_0x2a1afe),'c2':Math[_0x5ee41f(0x218)](_0x591015,_0x26e99b)};}function rectContains(_0x1fb427,_0x50319b,_0x30c466){return _0x50319b>=_0x1fb427['r1']&&_0x50319b<=_0x1fb427['r2']&&_0x30c466>=_0x1fb427['c1']&&_0x30c466<=_0x1fb427['c2'];}function rectsOverlap(_0x2d28e0,_0x5a266f){const _0x25269d=normalizeRect(_0x2d28e0['r1'],_0x2d28e0['c1'],_0x2d28e0['r2'],_0x2d28e0['c2']),_0x5edc31=normalizeRect(_0x5a266f['r1'],_0x5a266f['c1'],_0x5a266f['r2'],_0x5a266f['c2']);return!(_0x25269d['r2']<_0x5edc31['r1']||_0x5edc31['r2']<_0x25269d['r1']||_0x25269d['c2']<_0x5edc31['c1']||_0x5edc31['c2']<_0x25269d['c1']);}function normSelectionRect(_0x3f810c){return normalizeRect(_0x3f810c['r1'],_0x3f810c['c1'],_0x3f810c['r2'],_0x3f810c['c2']);}function detectFillExtension(_0x1e2e91,_0x3a43ad){const _0x3ba47e=_0x2416,_0x3e9675=normSelectionRect(_0x1e2e91),_0x2de861=normSelectionRect(_0x3a43ad),_0x17bca9=_0x2de861['r2']>_0x3e9675['r2']&&_0x2de861['c1']===_0x3e9675['c1']&&_0x2de861['c2']===_0x3e9675['c2']&&_0x2de861['r1']===_0x3e9675['r1'],_0x52cef0=_0x2de861['r1']<_0x3e9675['r1']&&_0x2de861['c1']===_0x3e9675['c1']&&_0x2de861['c2']===_0x3e9675['c2']&&_0x2de861['r2']===_0x3e9675['r2'],_0x16351c=_0x2de861['c2']>_0x3e9675['c2']&&_0x2de861['r1']===_0x3e9675['r1']&&_0x2de861['r2']===_0x3e9675['r2']&&_0x2de861['c1']===_0x3e9675['c1'],_0x2f4463=_0x2de861['c1']<_0x3e9675['c1']&&_0x2de861['r1']===_0x3e9675['r1']&&_0x2de861['r2']===_0x3e9675['r2']&&_0x2de861['c2']===_0x3e9675['c2'];if(_0x17bca9)return{'dir':'down','n':_0x2de861['r2']-_0x3e9675['r2']};if(_0x52cef0)return{'dir':'up','n':_0x3e9675['r1']-_0x2de861['r1']};if(_0x16351c)return{'dir':_0x3ba47e(0x214),'n':_0x2de861['c2']-_0x3e9675['c2']};if(_0x2f4463)return{'dir':_0x3ba47e(0x1cd),'n':_0x3e9675['c1']-_0x2de861['c1']};return null;}function extensionStripRect(_0x30094d,_0x378852){const _0x10132e=_0x2416;switch(_0x378852[_0x10132e(0x1bf)]){case _0x10132e(0x2b6):return{'r1':_0x30094d['r2']+0x1,'c1':_0x30094d['c1'],'r2':_0x30094d['r2']+_0x378852['n'],'c2':_0x30094d['c2']};case'up':return{'r1':_0x30094d['r1']-_0x378852['n'],'c1':_0x30094d['c1'],'r2':_0x30094d['r1']-0x1,'c2':_0x30094d['c2']};case'right':return{'r1':_0x30094d['r1'],'c1':_0x30094d['c2']+0x1,'r2':_0x30094d['r2'],'c2':_0x30094d['c2']+_0x378852['n']};case _0x10132e(0x1cd):return{'r1':_0x30094d['r1'],'c1':_0x30094d['c1']-_0x378852['n'],'r2':_0x30094d['r2'],'c2':_0x30094d['c1']-0x1};default:return{'r1':_0x30094d['r1'],'c1':_0x30094d['c1'],'r2':_0x30094d['r2'],'c2':_0x30094d['c2']};}}function targetRectFromExtension(_0x43de12,_0x55a67e){const _0x10a68b=_0x2416;switch(_0x55a67e['dir']){case _0x10a68b(0x2b6):return{'r1':_0x43de12['r1'],'c1':_0x43de12['c1'],'r2':_0x43de12['r2']+_0x55a67e['n'],'c2':_0x43de12['c2']};case'up':return{'r1':_0x43de12['r1']-_0x55a67e['n'],'c1':_0x43de12['c1'],'r2':_0x43de12['r2'],'c2':_0x43de12['c2']};case _0x10a68b(0x214):return{'r1':_0x43de12['r1'],'c1':_0x43de12['c1'],'r2':_0x43de12['r2'],'c2':_0x43de12['c2']+_0x55a67e['n']};case'left':return{'r1':_0x43de12['r1'],'c1':_0x43de12['c1']-_0x55a67e['n'],'r2':_0x43de12['r2'],'c2':_0x43de12['c2']};}}function computeFillPreviewSelection(_0x587c2a,_0x3e3b3a,_0x371c43,_0x3ec7c5){const _0x1c47f0=_0x2416,_0x3786ee=normSelectionRect(_0x587c2a);if(_0x3e3b3a===_0x1c47f0(0x304)){if(_0x371c43>_0x3786ee['r2'])return{'r1':_0x3786ee['r1'],'c1':_0x3786ee['c1'],'r2':_0x371c43,'c2':_0x3786ee['c2']};if(_0x371c43<_0x3786ee['r1'])return{'r1':_0x371c43,'c1':_0x3786ee['c1'],'r2':_0x3786ee['r2'],'c2':_0x3786ee['c2']};return{'r1':_0x3786ee['r1'],'c1':_0x3786ee['c1'],'r2':_0x3786ee['r2'],'c2':_0x3786ee['c2']};}if(_0x3ec7c5>_0x3786ee['c2'])return{'r1':_0x3786ee['r1'],'c1':_0x3786ee['c1'],'r2':_0x3786ee['r2'],'c2':_0x3ec7c5};if(_0x3ec7c5<_0x3786ee['c1'])return{'r1':_0x3786ee['r1'],'c1':_0x3ec7c5,'r2':_0x3786ee['r2'],'c2':_0x3786ee['c2']};return{'r1':_0x3786ee['r1'],'c1':_0x3786ee['c1'],'r2':_0x3786ee['r2'],'c2':_0x3786ee['c2']};}function lockFillAxis(_0x1ca055,_0x1e5699){const _0x15dbe9=_0x2416;if(Math[_0x15dbe9(0x23e)](_0x1e5699)>Math[_0x15dbe9(0x23e)](_0x1ca055))return _0x15dbe9(0x1b8);return _0x15dbe9(0x304);}function emptyFormulaCatalog(){return{'v':0x1,'entries':[],'orderMode':'auto'};}function getFormulaCatalogFromMeta(_0x43f88b){const _0x474a4a=_0x2416;if(_0x43f88b?.[_0x474a4a(0x176)]&&typeof _0x43f88b[_0x474a4a(0x176)]===_0x474a4a(0x201)){const _0x4c0821=_0x43f88b[_0x474a4a(0x176)];if(_0x4c0821['v']===0x1&&Array[_0x474a4a(0x2c4)](_0x4c0821[_0x474a4a(0x172)]))return _0x4c0821;}return emptyFormulaCatalog();}function normalizeFormulaCatalog(_0xf541d9){const _0x5e3fee=_0x2416;if(_0xf541d9==null||typeof _0xf541d9!=='object')return null;const _0x299412=_0xf541d9;if(_0x299412['v']!==0x1||!Array['isArray'](_0x299412[_0x5e3fee(0x172)]))return null;const _0x164778=[];for(const _0x254fcc of _0x299412[_0x5e3fee(0x172)]){if(_0x254fcc==null||typeof _0x254fcc!==_0x5e3fee(0x201))continue;const _0x154b3d=_0x254fcc,_0x47bd28=typeof _0x154b3d['id']===_0x5e3fee(0x347)?_0x154b3d['id'][_0x5e3fee(0x335)]():'',_0x5b829b=_0x154b3d[_0x5e3fee(0x243)],_0x4c6293=typeof _0x154b3d[_0x5e3fee(0x14a)]==='string'?_0x154b3d[_0x5e3fee(0x14a)]:'';if(!_0x47bd28||_0x5b829b!==_0x5e3fee(0x14b)&&_0x5b829b!==_0x5e3fee(0x1b2)&&_0x5b829b!=='gridRef')continue;_0x164778[_0x5e3fee(0x1a5)]({'id':_0x47bd28,'kind':_0x5b829b,'source':_0x4c6293,'assignment':typeof _0x154b3d['assignment']==='string'?_0x154b3d[_0x5e3fee(0x28c)]:void 0x0,'enabled':_0x154b3d['enabled']!==![],'orderPinned':_0x154b3d['orderPinned']===!![],'effectiveOrder':typeof _0x154b3d[_0x5e3fee(0x30f)]===_0x5e3fee(0x24a)?_0x154b3d['effectiveOrder']:void 0x0,'errorText':typeof _0x154b3d[_0x5e3fee(0x197)]==='string'?_0x154b3d[_0x5e3fee(0x197)]:void 0x0,'scriptBlockKey':typeof _0x154b3d['scriptBlockKey']===_0x5e3fee(0x347)?_0x154b3d[_0x5e3fee(0x2a0)]:void 0x0,'triggers':Array[_0x5e3fee(0x2c4)](_0x154b3d[_0x5e3fee(0x1e3)])?_0x154b3d[_0x5e3fee(0x1e3)][_0x5e3fee(0x1d1)](_0x2ed4c7=>_0x2ed4c7===_0x5e3fee(0x1ec)||_0x2ed4c7===_0x5e3fee(0x12c)):void 0x0,'runWhen':_0x154b3d[_0x5e3fee(0x235)]===_0x5e3fee(0x18d)||_0x154b3d[_0x5e3fee(0x235)]===_0x5e3fee(0x1ba)?_0x154b3d[_0x5e3fee(0x235)]:void 0x0,'inputWhen':_0x154b3d[_0x5e3fee(0x327)]===_0x5e3fee(0x142)||_0x154b3d[_0x5e3fee(0x327)]===_0x5e3fee(0x36a)||_0x154b3d[_0x5e3fee(0x327)]==='always'?_0x154b3d[_0x5e3fee(0x327)]:void 0x0,'inputFields':Array[_0x5e3fee(0x2c4)](_0x154b3d[_0x5e3fee(0x1a7)])?_0x154b3d[_0x5e3fee(0x1a7)][_0x5e3fee(0x1d1)](_0x5cff6e=>typeof _0x5cff6e===_0x5e3fee(0x347)&&_0x5cff6e[_0x5e3fee(0x335)]()[_0x5e3fee(0x296)]>0x0):void 0x0,'target':_0x154b3d[_0x5e3fee(0x34f)]!=null&&typeof _0x154b3d[_0x5e3fee(0x34f)]===_0x5e3fee(0x201)?_0x154b3d[_0x5e3fee(0x34f)]:void 0x0});}return{'v':0x1,'entries':_0x164778,'orderMode':_0x299412['orderMode']===_0x5e3fee(0x1f4)?_0x5e3fee(0x1f4):'auto'};}function randomUuid(){const _0x1b5e2b=_0x2416;if(typeof crypto!==_0x1b5e2b(0x1ef)&&crypto['randomUUID'])return crypto[_0x1b5e2b(0x1f5)]();return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'[_0x1b5e2b(0x2f5)](/[xy]/g,_0x14c9d6=>{const _0x5de444=_0x1b5e2b,_0x2f117c=Math[_0x5de444(0x185)]()*0x10|0x0,_0x4c6c82=_0x14c9d6==='x'?_0x2f117c:_0x2f117c&0x3|0x8;return _0x4c6c82[_0x5de444(0x1fb)](0x10);});}function isRecord(_0x255bb9){const _0x2dcf37=_0x2416;return _0x255bb9!=null&&typeof _0x255bb9===_0x2dcf37(0x201)&&!Array[_0x2dcf37(0x2c4)](_0x255bb9);}function newDerivedRuleId(){const _0x364db7=_0x2416;return _0x364db7(0x34b)+randomUuid()[_0x364db7(0x2f5)](/-/g,'')[_0x364db7(0x28b)](0x0,0xc);}function normalizeDerivedRules(_0x2143cb){const _0x6a1cc6=_0x2416;if(!Array[_0x6a1cc6(0x2c4)](_0x2143cb))return[];const _0x4e3d38=[];for(const _0x971030 of _0x2143cb){if(!isRecord(_0x971030))continue;const _0xd3c13b=typeof _0x971030['id']===_0x6a1cc6(0x347)?_0x971030['id'][_0x6a1cc6(0x335)]():'',_0x4391f0=typeof _0x971030[_0x6a1cc6(0x183)]===_0x6a1cc6(0x347)?_0x971030[_0x6a1cc6(0x183)][_0x6a1cc6(0x335)]():'';if(!_0xd3c13b||!_0x4391f0)continue;const _0x15ef5d=Array[_0x6a1cc6(0x2c4)](_0x971030[_0x6a1cc6(0x1e3)])?_0x971030[_0x6a1cc6(0x1e3)][_0x6a1cc6(0x1d1)](_0xd3f7f8=>_0xd3f7f8===_0x6a1cc6(0x1ec)||_0xd3f7f8==='onCompute'):void 0x0;let _0x43b927;if(isRecord(_0x971030[_0x6a1cc6(0x34f)])&&typeof _0x971030[_0x6a1cc6(0x34f)][_0x6a1cc6(0x2b8)]==='string'){const _0x510b18=_0x971030[_0x6a1cc6(0x34f)][_0x6a1cc6(0x12e)];(_0x510b18===_0x6a1cc6(0x334)||_0x510b18===_0x6a1cc6(0x369)||_0x510b18===_0x6a1cc6(0x284))&&(_0x43b927={'scope':_0x510b18,'key':String(_0x971030[_0x6a1cc6(0x34f)][_0x6a1cc6(0x2b8)])['trim'](),'subSchemaId':typeof _0x971030[_0x6a1cc6(0x34f)][_0x6a1cc6(0x325)]===_0x6a1cc6(0x24a)?_0x971030['target'][_0x6a1cc6(0x325)]:void 0x0});}_0x4e3d38[_0x6a1cc6(0x1a5)]({'id':_0xd3c13b,'expr':_0x4391f0,'label':typeof _0x971030[_0x6a1cc6(0x1b4)]==='string'?_0x971030['label']:void 0x0,'target':_0x43b927,'triggers':_0x15ef5d?.[_0x6a1cc6(0x296)]?_0x15ef5d:void 0x0,'enabled':_0x971030['enabled']!==![]});}return _0x4e3d38;}function getWorkbookDerivedRules(_0x2df6d7){const _0x35b029=_0x2416;return normalizeDerivedRules(_0x2df6d7?.[_0x35b029(0x35a)]);}var DRAFT_KIND={'Base':0x0,'Business':0x1},CREATION_MODE={'Inherit':0x0,'Splice':0x1,'Mixed':0x2},SNAPSHOT_KIND={'Base':0x0,'Business':0x1},SPLICE_COLUMN_MODE={'Equal':0x0,'Free':0x1},WORKBOOK_META_INHERIT_SOURCE_BASE_SNAPSHOT_ROW_ID=_0x282282(0x286),DEFAULT_COMPUTE_POLICY={'v':0x1,'maxIterations':0x3,'defaultRoundingTriggers':[_0x282282(0x1ec),_0x282282(0x12c)],'aggregateEmptyAs':_0x282282(0x1ca),'chartRefreshOnCompute':!![],'chartRefreshOnPageChange':!![]};function isRecord2(_0x41dbc9){const _0x234e55=_0x282282;return _0x41dbc9!=null&&typeof _0x41dbc9==='object'&&!Array[_0x234e55(0x2c4)](_0x41dbc9);}function normalizeComputePolicy(_0x5dbdc2){const _0x26b5e5=_0x282282;if(!isRecord2(_0x5dbdc2)||_0x5dbdc2['v']!==0x1)return{...DEFAULT_COMPUTE_POLICY};const _0x444507=Number(_0x5dbdc2['maxIterations']),_0x3c8a06=Array[_0x26b5e5(0x2c4)](_0x5dbdc2[_0x26b5e5(0x1a9)])?_0x5dbdc2[_0x26b5e5(0x1a9)][_0x26b5e5(0x1d1)](_0x114145=>_0x114145===_0x26b5e5(0x1ec)||_0x114145==='onCompute'):void 0x0,_0x13a22e=_0x5dbdc2[_0x26b5e5(0x27d)]===_0x26b5e5(0x2d6)?_0x26b5e5(0x2d6):_0x5dbdc2[_0x26b5e5(0x27d)]==='null'?_0x26b5e5(0x1ca):'null';return{'v':0x1,'maxIterations':Number[_0x26b5e5(0x135)](_0x444507)?Math[_0x26b5e5(0x218)](0x1,Math[_0x26b5e5(0x257)](0x8,_0x444507)):0x3,'defaultRoundingTriggers':_0x3c8a06?.[_0x26b5e5(0x296)]?_0x3c8a06:[_0x26b5e5(0x1ec),_0x26b5e5(0x12c)],'aggregateEmptyAs':_0x13a22e,'chartRefreshOnCompute':_0x5dbdc2[_0x26b5e5(0x34e)]!==![],'chartRefreshOnPageChange':_0x5dbdc2[_0x26b5e5(0x20a)]!==![]};}function getWorkbookComputePolicy(_0x5e1a82){const _0x3ad28a=_0x282282;return normalizeComputePolicy(_0x5e1a82?.[_0x3ad28a(0x23d)]);}function getAggregateEmptyAs(_0x5c90a0){const _0x1e056b=_0x282282;return getWorkbookComputePolicy(_0x5c90a0)['aggregateEmptyAs']??_0x1e056b(0x1ca);}var TEMPLATE_FIELD_REGISTRY_VERSION=0x1,WORKBOOK_META_BUSINESS_SHEET_PROFILES='businessSheetProfiles',DEFAULT_DPI=0x60;function ptToCssPx(_0x135a29,_0x2d67a3=DEFAULT_DPI){return _0x135a29*_0x2d67a3/0x48;}function cssPxToPt(_0x4e5fea,_0x307d37=DEFAULT_DPI){return _0x4e5fea*0x48/_0x307d37;}function hasEmbedsToPaint(_0x2eca36){const _0x37ea5b=_0x282282;if(!_0x2eca36?.[_0x37ea5b(0x11b)]?.[_0x37ea5b(0x296)])return![];return _0x2eca36[_0x37ea5b(0x11b)][_0x37ea5b(0x1d3)](_0x3313c3=>_0x3313c3['kind']==='asset'||_0x3313c3['kind']==='chart');}var TEMPLATE_WORKBOOK_JSON_VERSION=0x1,MergeIndex=class{[_0x282282(0x362)]=new Map();constructor(_0x55b50f){const _0x3a6422=_0x282282;for(const _0x455550 of _0x55b50f){const _0x18a900=Math[_0x3a6422(0x257)](_0x455550['r1'],_0x455550['r2']),_0x6fb1f1=Math[_0x3a6422(0x257)](_0x455550['c1'],_0x455550['c2']),_0x221dda=Math[_0x3a6422(0x257)](_0x455550['r1'],_0x455550['r2']),_0x3b39e7=Math[_0x3a6422(0x218)](_0x455550['r1'],_0x455550['r2']),_0x126598=Math[_0x3a6422(0x257)](_0x455550['c1'],_0x455550['c2']),_0x2a22cc=Math[_0x3a6422(0x218)](_0x455550['c1'],_0x455550['c2']),_0x66e47a={'r1':_0x221dda,'c1':_0x126598,'r2':_0x3b39e7,'c2':_0x2a22cc};for(let _0x405c4b=_0x221dda;_0x405c4b<=_0x3b39e7;_0x405c4b+=0x1){for(let _0xcb6792=_0x126598;_0xcb6792<=_0x2a22cc;_0xcb6792+=0x1){this[_0x3a6422(0x362)][_0x3a6422(0x167)](cellKey(_0x405c4b,_0xcb6792),{'masterR':_0x18a900,'masterC':_0x6fb1f1,'rect':_0x66e47a});}}}}[_0x282282(0x1ed)](_0x31d51b,_0x1add29){const _0x3975c2=_0x282282;return this['map'][_0x3975c2(0x213)](cellKey(_0x31d51b,_0x1add29));}[_0x282282(0x187)](_0xe3764a,_0x1effc6){const _0x2af3e6=_0x282282,_0x397e27=this[_0x2af3e6(0x1ed)](_0xe3764a,_0x1effc6);if(!_0x397e27)return!![];return _0x397e27['masterR']===_0xe3764a&&_0x397e27[_0x2af3e6(0x237)]===_0x1effc6;}static[_0x282282(0x252)](_0x525f96,_0x33817f){return rectsOverlap(_0x525f96,_0x33817f);}static[_0x282282(0x120)](_0x3059c4){return normalizeRect(_0x3059c4['r1'],_0x3059c4['c1'],_0x3059c4['r2'],_0x3059c4['c2']);}},edgeSide=_0x3cc0dd=>({'style':_0x3cc0dd[_0x282282(0x2ce)],'pattern':_0x3cc0dd[_0x282282(0x306)]});function collectMasters(_0x2a1e1d,_0x3cc86d,_0x34981c){const _0x387e89=_0x282282,_0xffe8a5=new Set();for(let _0x51fb93=_0x34981c['r1'];_0x51fb93<=_0x34981c['r2'];_0x51fb93+=0x1){for(let _0x26feb5=_0x34981c['c1'];_0x26feb5<=_0x34981c['c2'];_0x26feb5+=0x1){const _0x56c82f=_0x3cc86d['getMaster'](_0x51fb93,_0x26feb5),_0x316b21=_0x56c82f?_0x56c82f[_0x387e89(0x323)]:_0x51fb93,_0x247472=_0x56c82f?_0x56c82f[_0x387e89(0x237)]:_0x26feb5;_0xffe8a5[_0x387e89(0x35e)](cellKey(_0x316b21,_0x247472));}}return[..._0xffe8a5];}function masterBounds(_0x49057f,_0x82f4be,_0xeb8594){const _0x5e9294=_0x282282,_0x1a130e=_0x49057f[_0x5e9294(0x1ed)](_0x82f4be,_0xeb8594);if(_0x1a130e)return _0x1a130e[_0x5e9294(0x163)];return{'r1':_0x82f4be,'c1':_0xeb8594,'r2':_0x82f4be,'c2':_0xeb8594};}function hasVisualStyle(_0x29614d){const _0x10a8d8=_0x282282;if(!_0x29614d)return![];if(_0x29614d[_0x10a8d8(0x1e7)]&&Object[_0x10a8d8(0x17f)](_0x29614d[_0x10a8d8(0x1e7)])[_0x10a8d8(0x296)]>0x0)return!![];return!!(_0x29614d[_0x10a8d8(0x27b)]||_0x29614d['fontSizePt']||_0x29614d['bold']||_0x29614d[_0x10a8d8(0x262)]||_0x29614d[_0x10a8d8(0x1e4)]||_0x29614d[_0x10a8d8(0x19e)]||_0x29614d[_0x10a8d8(0x2fa)]||_0x29614d['background']||_0x29614d[_0x10a8d8(0x17d)]||_0x29614d[_0x10a8d8(0x1d8)]||_0x29614d[_0x10a8d8(0x230)]||_0x29614d[_0x10a8d8(0x127)]||_0x29614d[_0x10a8d8(0x278)]||_0x29614d['subscript']);}function selectionIsUnmergedRectangle(_0x51d200,_0x3b8fca){const _0x57143e=_0x282282,_0x45a1bd=normalizeRect(_0x3b8fca['r1'],_0x3b8fca['c1'],_0x3b8fca['r2'],_0x3b8fca['c2']);for(let _0x303f39=_0x45a1bd['r1'];_0x303f39<=_0x45a1bd['r2'];_0x303f39+=0x1){for(let _0x1b9f20=_0x45a1bd['c1'];_0x1b9f20<=_0x45a1bd['c2'];_0x1b9f20+=0x1){if(_0x51d200[_0x57143e(0x1ed)](_0x303f39,_0x1b9f20))return![];}}return!![];}function applyBorderPresetToSheet(_0xc1e125,_0x482ba7,_0x13673a,_0xa1d916,_0x21e31f){const _0x125c5c=_0x282282,_0xe91f38=normalizeRect(_0x13673a['r1'],_0x13673a['c1'],_0x13673a['r2'],_0x13673a['c2']),_0xd81d17={..._0xc1e125[_0x125c5c(0x1f0)]},_0x139c92=collectMasters(_0xc1e125,_0x482ba7,_0xe91f38),_0x4adc28=edgeSide(_0x21e31f),_0x382960=(_0x15c2ec,_0x3cab78)=>{const _0x35d732=_0x125c5c,_0x7510b1=_0xd81d17[_0x15c2ec]??{'value':''},_0x1c550a={..._0x7510b1[_0x35d732(0x329)]??{}};_0x3cab78(_0x1c550a);const _0x2edb38={..._0x7510b1,'style':_0x1c550a};!_0x2edb38[_0x35d732(0x364)]&&!_0x2edb38['f']&&!hasVisualStyle(_0x2edb38['style'])?delete _0xd81d17[_0x15c2ec]:_0xd81d17[_0x15c2ec]=_0x2edb38;};if(_0xa1d916===_0x125c5c(0x299)){for(const _0xde17b0 of _0x139c92){_0x382960(_0xde17b0,_0x4acb7b=>{const _0x1afcfb=_0x125c5c;delete _0x4acb7b[_0x1afcfb(0x1e7)];});}return _0xd81d17;}if(_0xa1d916===_0x125c5c(0x251)){for(const _0x334539 of _0x139c92){_0x382960(_0x334539,_0xae12a=>{const _0x17b66f=_0x125c5c;_0xae12a['borders']={'top':{..._0x4adc28},'bottom':{..._0x4adc28},'left':{..._0x4adc28},'right':{..._0x4adc28},'color':_0x21e31f[_0x17b66f(0x270)]};});}return _0xd81d17;}if(_0xa1d916===_0x125c5c(0x165)||_0xa1d916===_0x125c5c(0x11d)||_0xa1d916==='bottom'||_0xa1d916==='left'||_0xa1d916===_0x125c5c(0x214)){for(const _0x56ebba of _0x139c92){const [_0x335150,_0x405c32]=_0x56ebba['split'](',')[_0x125c5c(0x362)](Number),_0x2fac81=masterBounds(_0x482ba7,_0x335150,_0x405c32);_0x382960(_0x56ebba,_0x145ab5=>{const _0x43b609=_0x125c5c,_0x4dad83={..._0x145ab5['borders']??{}},_0x2aa578=(_0x376ab4,_0xa77656)=>{_0x376ab4&&(_0x4dad83[_0xa77656]={..._0x4adc28});};if(_0xa1d916===_0x43b609(0x165))_0x2aa578(_0x2fac81['r1']===_0xe91f38['r1'],'top'),_0x2aa578(_0x2fac81['r2']===_0xe91f38['r2'],'bottom'),_0x2aa578(_0x2fac81['c1']===_0xe91f38['c1'],'left'),_0x2aa578(_0x2fac81['c2']===_0xe91f38['c2'],_0x43b609(0x214));else{if(_0xa1d916===_0x43b609(0x11d))_0x2aa578(_0x2fac81['r1']===_0xe91f38['r1'],'top');else{if(_0xa1d916==='bottom')_0x2aa578(_0x2fac81['r2']===_0xe91f38['r2'],_0x43b609(0x27f));else{if(_0xa1d916===_0x43b609(0x1cd))_0x2aa578(_0x2fac81['c1']===_0xe91f38['c1'],_0x43b609(0x1cd));else _0xa1d916===_0x43b609(0x214)&&_0x2aa578(_0x2fac81['c2']===_0xe91f38['c2'],_0x43b609(0x214));}}}_0x4dad83[_0x43b609(0x270)]=_0x21e31f[_0x43b609(0x270)],_0x145ab5[_0x43b609(0x1e7)]=_0x4dad83;});}return _0xd81d17;}if(_0xa1d916===_0x125c5c(0x350)||_0xa1d916==='innerHorizontal'){if(!selectionIsUnmergedRectangle(_0x482ba7,_0xe91f38))return _0xd81d17;if(_0xa1d916===_0x125c5c(0x350))for(let _0x149f57=_0xe91f38['c1'];_0x149f57<_0xe91f38['c2'];_0x149f57+=0x1){for(let _0x5c7ca3=_0xe91f38['r1'];_0x5c7ca3<=_0xe91f38['r2'];_0x5c7ca3+=0x1){const _0x363c7c=cellKey(_0x5c7ca3,_0x149f57);_0x382960(_0x363c7c,_0x15848e=>{const _0x16308b=_0x125c5c,_0x39068d={..._0x15848e[_0x16308b(0x1e7)]??{},'right':{..._0x4adc28},'color':_0x21e31f[_0x16308b(0x270)]};_0x15848e[_0x16308b(0x1e7)]=_0x39068d;});}}else for(let _0x4e2f3c=_0xe91f38['r1'];_0x4e2f3c<_0xe91f38['r2'];_0x4e2f3c+=0x1){for(let _0x38cfbf=_0xe91f38['c1'];_0x38cfbf<=_0xe91f38['c2'];_0x38cfbf+=0x1){const _0x419a36=cellKey(_0x4e2f3c,_0x38cfbf);_0x382960(_0x419a36,_0x826969=>{const _0x1c6c16=_0x125c5c,_0x53c9f2={..._0x826969[_0x1c6c16(0x1e7)]??{},'bottom':{..._0x4adc28},'color':_0x21e31f[_0x1c6c16(0x270)]};_0x826969[_0x1c6c16(0x1e7)]=_0x53c9f2;});}}return _0xd81d17;}return _0xd81d17;}function matrixToTsv(_0x2fb14a){const _0xba4834=_0x282282;return _0x2fb14a[_0xba4834(0x362)](_0x18354f=>_0x18354f[_0xba4834(0x14f)]('\x09'))[_0xba4834(0x14f)]('\x0a');}function tsvToMatrix(_0x599c40){const _0x29859d=_0x282282;if(!_0x599c40)return[];return _0x599c40['replace'](/\r\n/g,'\x0a')[_0x29859d(0x379)]('\x0a')[_0x29859d(0x362)](_0x11e930=>_0x11e930[_0x29859d(0x379)]('\x09'));}function readSelectionAsTsv(_0x57e151,_0x5a0f8b,_0x5edd25,_0x264e58,_0x4624ad){const _0x142b17=_0x282282,_0xfd0e85=[];for(let _0x2fb9a1=_0x5a0f8b;_0x2fb9a1<=_0x264e58;_0x2fb9a1+=0x1){const _0x2a6eb5=[];for(let _0x2d29e6=_0x5edd25;_0x2d29e6<=_0x4624ad;_0x2d29e6+=0x1){const _0x2e3fb1=_0x57e151['cells'][cellKey(_0x2fb9a1,_0x2d29e6)];_0x2a6eb5[_0x142b17(0x1a5)](_0x2e3fb1?.[_0x142b17(0x364)]??'');}_0xfd0e85[_0x142b17(0x1a5)](_0x2a6eb5);}return matrixToTsv(_0xfd0e85);}function buildPastePatches(_0x12a845,_0x5d7e67,_0x9001dd,_0x2c93b4){const _0x5b489f=_0x282282,_0xc9ca89=[];for(let _0x5a3667=0x0;_0x5a3667<_0x2c93b4[_0x5b489f(0x296)];_0x5a3667+=0x1){const _0x28b8b4=_0x2c93b4[_0x5a3667]??[];for(let _0x12ce9b=0x0;_0x12ce9b<_0x28b8b4[_0x5b489f(0x296)];_0x12ce9b+=0x1){const _0x2e0715=_0x5d7e67+_0x5a3667,_0x258b6d=_0x9001dd+_0x12ce9b;if(_0x2e0715<0x0||_0x258b6d<0x0||_0x2e0715>=_0x12a845[_0x5b489f(0x313)]||_0x258b6d>=_0x12a845['colCount'])continue;const _0x443527=cellKey(_0x2e0715,_0x258b6d),_0x3785be=_0x12a845[_0x5b489f(0x1f0)][_0x443527]?{..._0x12a845['cells'][_0x443527]}:void 0x0,_0x507f3e=_0x28b8b4[_0x12ce9b]??'',_0x1e9f9f=_0x507f3e===''?void 0x0:{'value':_0x507f3e};_0xc9ca89[_0x5b489f(0x1a5)]({'key':_0x443527,'before':_0x3785be,'after':_0x1e9f9f});}}return _0xc9ca89;}function serializeWorkbook(_0x3741d0){const _0x560ad1=_0x282282;return JSON[_0x560ad1(0x31f)](_0x3741d0);}function parseWorkbookJson(_0x4e1bc5){const _0x295534=_0x282282;let _0x1c1245;try{_0x1c1245=JSON[_0x295534(0x24f)](_0x4e1bc5);}catch{throw new Error('\u5DE5\u4F5C\u7C3F\x20JSON\x20\u89E3\u6790\u5931\u8D25');}return migrateWorkbook(_0x1c1245);}function vNum(_0x4d3f83){const _0x3a0e3e=_0x282282;return{'k':_0x3a0e3e(0x196),'v':_0x4d3f83};}function vStr(_0x3f9a64){const _0x2c35b6=_0x282282;return{'k':_0x2c35b6(0x132),'v':_0x3f9a64};}function vBool(_0x676cf2){const _0x17c792=_0x282282;return{'k':_0x17c792(0x1ab),'v':_0x676cf2};}var V_NULL={'k':_0x282282(0x1ca)};function vErr(_0x1dec7f,_0x4d448e){const _0x4abf77=_0x282282;return{'k':_0x4abf77(0x2cd),'v':{'code':_0x1dec7f,'message':_0x4d448e}};}function isErr(_0x268c67){const _0x2fefe7=_0x282282;return _0x268c67['k']===_0x2fefe7(0x2cd);}function coerceNum(_0x1c54a0){const _0x5f2e7c=_0x282282;if(_0x1c54a0['k']===_0x5f2e7c(0x196))return _0x1c54a0['v'];if(_0x1c54a0['k']===_0x5f2e7c(0x1ab))return _0x1c54a0['v']?0x1:0x0;if(_0x1c54a0['k']===_0x5f2e7c(0x1ca))return 0x0;if(_0x1c54a0['k']===_0x5f2e7c(0x132)){const _0xa754ac=_0x1c54a0['v']['trim']();if(_0xa754ac==='')return null;const _0x59ed3a=Number(_0xa754ac[_0x5f2e7c(0x2f5)](/,/g,''));return Number['isFinite'](_0x59ed3a)?_0x59ed3a:null;}return null;}function coerceStr(_0x556e1a){const _0x3c236a=_0x282282;if(_0x556e1a['k']===_0x3c236a(0x132))return _0x556e1a['v'];if(_0x556e1a['k']===_0x3c236a(0x196))return String(_0x556e1a['v']);if(_0x556e1a['k']===_0x3c236a(0x1ab))return _0x556e1a['v']?_0x3c236a(0x1e0):_0x3c236a(0x2f1);if(_0x556e1a['k']===_0x3c236a(0x1ca))return'';return'#ERR';}function coerceBool(_0x352805){const _0x505931=_0x282282;if(_0x352805['k']===_0x505931(0x1ab))return _0x352805['v'];if(_0x352805['k']===_0x505931(0x196))return _0x352805['v']!==0x0;if(_0x352805['k']==='null')return![];if(_0x352805['k']==='str'){const _0x1b7e59=_0x352805['v'][_0x505931(0x335)]()[_0x505931(0x193)]();if(_0x1b7e59===_0x505931(0x2dd))return!![];if(_0x1b7e59===_0x505931(0x1f9))return![];return null;}return null;}function forEachArrayValue(_0x4ebc7d,_0x59b936){for(const _0x216eca of _0x4ebc7d['rows'])for(const _0x220e63 of _0x216eca)_0x59b936(_0x220e63);}function columnLettersToIndex(_0x2bb332){const _0x40e4ac=_0x282282;let _0x482849=0x0;const _0xdb4435=_0x2bb332[_0x40e4ac(0x181)]();for(let _0x5dcd41=0x0;_0x5dcd41<_0xdb4435['length'];_0x5dcd41+=0x1){const _0x3004ce=_0xdb4435[_0x40e4ac(0x11a)](_0x5dcd41);if(_0x3004ce<0x41||_0x3004ce>0x5a)return-0x1;_0x482849=_0x482849*0x1a+(_0x3004ce-0x40);}return _0x482849-0x1;}function columnIndexToLetters(_0x4aceb7){const _0x191867=_0x282282;if(!Number['isFinite'](_0x4aceb7)||_0x4aceb7<0x0)return'';let _0x202430=Math[_0x191867(0x25b)](_0x4aceb7)+0x1,_0x43a236='';while(_0x202430>0x0){const _0x4d466f=(_0x202430-0x1)%0x1a;_0x43a236=String[_0x191867(0x1af)](0x41+_0x4d466f)+_0x43a236,_0x202430=Math[_0x191867(0x25b)]((_0x202430-0x1)/0x1a);}return _0x43a236;}function parseInternalR1C1Ref(_0x33c473){const _0x5db521=_0x282282,_0x23985e=String(_0x33c473)['trim'](),_0x14ae8e=/^([A-Za-z_][A-Za-z0-9_]*)\.r(\d+)c(\d+)$/[_0x5db521(0x2ac)](_0x23985e);if(!_0x14ae8e)return null;const _0x580f84=_0x14ae8e[0x1],_0x564da7=parseInt(_0x14ae8e[0x2],0xa)-0x1,_0x2b8cea=parseInt(_0x14ae8e[0x3],0xa)-0x1;if(!Number[_0x5db521(0x135)](_0x564da7)||!Number[_0x5db521(0x135)](_0x2b8cea)||_0x564da7<0x0||_0x2b8cea<0x0)return null;return{'kind':_0x5db521(0x1f1),'sheet':_0x580f84,'r':_0x564da7,'c':_0x2b8cea};}function parseA1Single(_0x4ded35){const _0x17bf2d=_0x282282,_0x3214ea=String(_0x4ded35)[_0x17bf2d(0x335)](),_0x2305f4=_0x3214ea[_0x17bf2d(0x13e)](/^(?:('([^']+)'|([A-Za-z_][A-Za-z0-9_]*))!)?(\$?)([A-Za-z]+)(\$?)(\d+)$/);if(!_0x2305f4)return null;const _0x452b6a=_0x2305f4[0x2]||_0x2305f4[0x3]||void 0x0,_0x54c8d0=_0x2305f4[0x4]==='$',_0x10426e=_0x2305f4[0x5],_0x5d464b=_0x2305f4[0x6]==='$',_0x44289a=_0x2305f4[0x7];if(!_0x10426e)return null;const _0x143b8a=columnLettersToIndex(_0x10426e),_0x1950be=parseInt(_0x44289a,0xa)-0x1;if(_0x143b8a<0x0||!Number[_0x17bf2d(0x135)](_0x1950be)||_0x1950be<0x0)return null;return{'kind':_0x17bf2d(0x1f1),'sheet':_0x452b6a,'r':_0x1950be,'c':_0x143b8a,'absR':_0x5d464b,'absC':_0x54c8d0};}function parseA1Ref(_0x2865e1){const _0x405690=_0x282282,_0x32c9c1=String(_0x2865e1)[_0x405690(0x335)](),_0x174dfc=_0x32c9c1[_0x405690(0x1f7)](':');if(_0x174dfc<0x0)return parseA1Single(_0x32c9c1);const _0x29858e=_0x32c9c1[_0x405690(0x28b)](0x0,_0x174dfc),_0x32e23b=_0x32c9c1[_0x405690(0x28b)](_0x174dfc+0x1),_0x476371=parseA1Single(_0x29858e);if(!_0x476371)return null;const _0x4b4030=/!/[_0x405690(0x357)](_0x32e23b)?_0x32e23b:_0x476371[_0x405690(0x295)]?_0x476371[_0x405690(0x295)]+'!'+_0x32e23b:_0x32e23b,_0x370383=parseA1Single(_0x4b4030);if(!_0x370383)return null;const _0x3b43f8=Math['min'](_0x476371['r'],_0x370383['r']),_0x541b3d=Math[_0x405690(0x218)](_0x476371['r'],_0x370383['r']),_0x346835=Math['min'](_0x476371['c'],_0x370383['c']),_0x338b72=Math[_0x405690(0x218)](_0x476371['c'],_0x370383['c']);return{'kind':_0x405690(0x11e),'sheet':_0x476371[_0x405690(0x295)],'r1':_0x3b43f8,'c1':_0x346835,'r2':_0x541b3d,'c2':_0x338b72};}function formatA1Single(_0x33be7b,_0x1fccaf,_0x33e913){const _0x80c4e4=''+columnIndexToLetters(_0x1fccaf)+(_0x33be7b+0x1);return _0x33e913?_0x33e913+'!'+_0x80c4e4:_0x80c4e4;}function formatA1Range(_0x35f668,_0x13f099,_0x28787d,_0x4fb6a4,_0x4e7304){const _0x1b69a6=''+columnIndexToLetters(_0x13f099)+(_0x35f668+0x1),_0x5b03be=''+columnIndexToLetters(_0x4fb6a4)+(_0x28787d+0x1);return _0x4e7304?_0x4e7304+'!'+_0x1b69a6+':'+_0x5b03be:_0x1b69a6+':'+_0x5b03be;}var OP_CHARS=_0x282282(0x124);function tokenize(_0x382c15){const _0x41316a=_0x282282,_0x32c2fd=[];let _0x287f2b=0x0;const _0x19deba=_0x382c15[_0x41316a(0x296)];while(_0x287f2b<_0x19deba){const _0x1663af=_0x382c15[_0x287f2b];if(_0x1663af==='\x20'||_0x1663af==='\x09'||_0x1663af==='\x0a'||_0x1663af==='\x0d'){_0x287f2b+=0x1;continue;}if(_0x1663af==='('){_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x15c),'text':'(','pos':_0x287f2b}),_0x287f2b+=0x1;continue;}if(_0x1663af===')'){_0x32c2fd[_0x41316a(0x1a5)]({'type':'rparen','text':')','pos':_0x287f2b}),_0x287f2b+=0x1;continue;}if(_0x1663af===','){_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x348),'text':',','pos':_0x287f2b}),_0x287f2b+=0x1;continue;}if(_0x1663af===';'){_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x216),'text':';','pos':_0x287f2b}),_0x287f2b+=0x1;continue;}if(_0x1663af==='\x22'){const _0x2a01a9=_0x287f2b;_0x287f2b+=0x1;let _0x9ca723='';while(_0x287f2b<_0x19deba){const _0x481837=_0x382c15[_0x287f2b];if(_0x481837==='\x22'){if(_0x382c15[_0x287f2b+0x1]==='\x22'){_0x9ca723+='\x22',_0x287f2b+=0x2;continue;}_0x287f2b+=0x1;break;}_0x9ca723+=_0x481837,_0x287f2b+=0x1;}_0x32c2fd[_0x41316a(0x1a5)]({'type':'str','text':_0x9ca723,'pos':_0x2a01a9});continue;}if(_0x1663af>='0'&&_0x1663af<='9'){const _0x52d003=_0x287f2b;let _0x5ef063='';while(_0x287f2b<_0x19deba&&(_0x382c15[_0x287f2b]>='0'&&_0x382c15[_0x287f2b]<='9'||_0x382c15[_0x287f2b]==='.')){_0x5ef063+=_0x382c15[_0x287f2b],_0x287f2b+=0x1;}if(_0x287f2b<_0x19deba&&(_0x382c15[_0x287f2b]==='e'||_0x382c15[_0x287f2b]==='E')){_0x5ef063+=_0x382c15[_0x287f2b],_0x287f2b+=0x1;_0x287f2b<_0x19deba&&(_0x382c15[_0x287f2b]==='+'||_0x382c15[_0x287f2b]==='-')&&(_0x5ef063+=_0x382c15[_0x287f2b],_0x287f2b+=0x1);while(_0x287f2b<_0x19deba&&_0x382c15[_0x287f2b]>='0'&&_0x382c15[_0x287f2b]<='9'){_0x5ef063+=_0x382c15[_0x287f2b],_0x287f2b+=0x1;}}_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x196),'text':_0x5ef063,'pos':_0x52d003});continue;}if(isIdentStart(_0x1663af)||_0x1663af==='$'||_0x1663af==='\x27'){const _0x51f8e8=_0x287f2b,_0x10a48c=matchInternalGridRefAt(_0x382c15,_0x51f8e8);if(_0x10a48c){_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x1c7),'text':_0x10a48c[_0x41316a(0x2f3)],'pos':_0x51f8e8}),_0x287f2b=_0x10a48c['end'];continue;}const _0x7dafb6=matchRefAt(_0x382c15,_0x287f2b);if(_0x7dafb6){const _0x43f2f1=_0x7dafb6['end'],_0x5cd65c=_0x382c15[_0x41316a(0x28b)](_0x51f8e8,_0x43f2f1);if(_0x382c15[_0x43f2f1]===':'){const _0x215d53=matchRefAt(_0x382c15,_0x43f2f1+0x1);if(_0x215d53){_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x11e),'text':_0x382c15[_0x41316a(0x28b)](_0x51f8e8,_0x215d53[_0x41316a(0x23a)]),'pos':_0x51f8e8}),_0x287f2b=_0x215d53[_0x41316a(0x23a)];continue;}}_0x32c2fd['push']({'type':_0x41316a(0x1c7),'text':_0x5cd65c,'pos':_0x51f8e8}),_0x287f2b=_0x43f2f1;continue;}let _0x350482='';while(_0x287f2b<_0x19deba&&isIdentCont(_0x382c15[_0x287f2b])){_0x350482+=_0x382c15[_0x287f2b],_0x287f2b+=0x1;}if(_0x350482){_0x32c2fd[_0x41316a(0x1a5)]({'type':_0x41316a(0x1e2),'text':_0x350482,'pos':_0x51f8e8});continue;}}if(OP_CHARS[_0x41316a(0x1f7)](_0x1663af)>=0x0){const _0x4eb4c4=_0x287f2b,_0x158e7c=_0x382c15[_0x41316a(0x28b)](_0x287f2b,_0x287f2b+0x2);if(_0x158e7c==='<='||_0x158e7c==='>='||_0x158e7c==='<>'){_0x32c2fd[_0x41316a(0x1a5)]({'type':'op','text':_0x158e7c,'pos':_0x4eb4c4}),_0x287f2b+=0x2;continue;}_0x32c2fd[_0x41316a(0x1a5)]({'type':'op','text':_0x1663af,'pos':_0x4eb4c4}),_0x287f2b+=0x1;continue;}throw new Error(_0x41316a(0x2f0)+_0x1663af+_0x41316a(0x21d)+_0x287f2b);}return _0x32c2fd[_0x41316a(0x1a5)]({'type':'eof','text':'','pos':_0x19deba}),_0x32c2fd;}function isIdentStart(_0x3a54c9){return _0x3a54c9>='A'&&_0x3a54c9<='Z'||_0x3a54c9>='a'&&_0x3a54c9<='z'||_0x3a54c9==='_';}function isIdentCont(_0x1d263a){return isIdentStart(_0x1d263a)||_0x1d263a>='0'&&_0x1d263a<='9'||_0x1d263a==='.';}function matchInternalGridRefAt(_0x401d4e,_0x1ca2e2){const _0x4671b2=_0x282282,_0x2f674b=_0x401d4e[_0x4671b2(0x28b)](_0x1ca2e2),_0x154649=/^[A-Za-z_][A-Za-z0-9_]*\.r\d+c\d+/[_0x4671b2(0x2ac)](_0x2f674b);if(!_0x154649)return null;const _0x50fee4=_0x154649[0x0];return{'end':_0x1ca2e2+_0x50fee4['length'],'text':_0x50fee4};}function matchRefAt(_0x80bb22,_0x59c9db){const _0x3fd4c8=_0x282282;let _0x2b2c8c=_0x59c9db;const _0x18a49a=matchSheetPrefix(_0x80bb22,_0x2b2c8c);if(_0x18a49a!=null)_0x2b2c8c=_0x18a49a;if(_0x80bb22[_0x2b2c8c]==='$')_0x2b2c8c+=0x1;let _0xeee8d2=0x0;while(_0x2b2c8c<_0x80bb22['length']){const _0x420f4e=_0x80bb22[_0x2b2c8c];if(_0x420f4e>='A'&&_0x420f4e<='Z'||_0x420f4e>='a'&&_0x420f4e<='z')_0xeee8d2+=0x1,_0x2b2c8c+=0x1;else break;}if(_0xeee8d2===0x0)return null;if(_0x80bb22[_0x2b2c8c]==='$')_0x2b2c8c+=0x1;let _0x2b0a60=0x0;while(_0x2b2c8c<_0x80bb22[_0x3fd4c8(0x296)]){const _0x432887=_0x80bb22[_0x2b2c8c];if(_0x432887>='0'&&_0x432887<='9')_0x2b0a60+=0x1,_0x2b2c8c+=0x1;else break;}if(_0x2b0a60===0x0)return null;if(_0x80bb22[_0x2b2c8c]==='.')return null;return{'end':_0x2b2c8c};}function _0x2416(_0x13cafc,_0x101c90){_0x13cafc=_0x13cafc-0x117;const _0x84c6c6=_0x84c6();let _0x2416d9=_0x84c6c6[_0x13cafc];if(_0x2416['QdKhvG']===undefined){var _0x6896e1=function(_0x44211a){const _0x4acc88='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x537dad='',_0x4f1eb4='';for(let _0x5f26c7=0x0,_0xf9f55,_0x4931da,_0x5b2b6c=0x0;_0x4931da=_0x44211a['charAt'](_0x5b2b6c++);~_0x4931da&&(_0xf9f55=_0x5f26c7%0x4?_0xf9f55*0x40+_0x4931da:_0x4931da,_0x5f26c7++%0x4)?_0x537dad+=String['fromCharCode'](0xff&_0xf9f55>>(-0x2*_0x5f26c7&0x6)):0x0){_0x4931da=_0x4acc88['indexOf'](_0x4931da);}for(let _0x3aa693=0x0,_0x49cd14=_0x537dad['length'];_0x3aa693<_0x49cd14;_0x3aa693++){_0x4f1eb4+='%'+('00'+_0x537dad['charCodeAt'](_0x3aa693)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f1eb4);};_0x2416['WMgBDL']=_0x6896e1,_0x2416['vINTfo']={},_0x2416['QdKhvG']=!![];}const _0x5a4624=_0x84c6c6[0x0];_0x2416['PdLMTq']!==_0x5a4624&&(_0x2416['vINTfo']={},_0x2416['PdLMTq']=_0x5a4624);const _0x2649e1=_0x2416['vINTfo'][_0x13cafc];return _0x2649e1===undefined?(_0x2416d9=_0x2416['WMgBDL'](_0x2416d9),_0x2416['vINTfo'][_0x13cafc]=_0x2416d9):_0x2416d9=_0x2649e1,_0x2416d9;}function matchSheetPrefix(_0x5c9236,_0x46bc28){const _0x2a8c73=_0x282282;if(_0x5c9236[_0x46bc28]==='\x27'){const _0x5dcc79=_0x5c9236['indexOf']('\x27',_0x46bc28+0x1);if(_0x5dcc79<0x0)return null;if(_0x5c9236[_0x5dcc79+0x1]!=='!')return null;return _0x5dcc79+0x2;}let _0x575dbe=_0x46bc28;while(_0x575dbe<_0x5c9236[_0x2a8c73(0x296)]){const _0x11144f=_0x5c9236[_0x575dbe];if(_0x11144f>='A'&&_0x11144f<='Z'||_0x11144f>='a'&&_0x11144f<='z'||_0x11144f==='_'||_0x575dbe>_0x46bc28&&_0x11144f>='0'&&_0x11144f<='9')_0x575dbe+=0x1;else break;}if(_0x575dbe===_0x46bc28)return null;if(_0x5c9236[_0x575dbe]!=='!')return null;return _0x575dbe+0x1;}var BIN_PREC={'^':0x7,'*':0x6,'/':0x6,'+':0x5,'-':0x5,'&':0x4,'=':0x3,'<>':0x3,'<':0x3,'<=':0x3,'>':0x3,'>=':0x3},Parser=class{[_0x282282(0x34a)];['i']=0x0;constructor(_0x53abce){const _0x2d3883=_0x282282,_0x4dbec3=_0x53abce[_0x2d3883(0x2e7)]()[_0x2d3883(0x223)]('=')?_0x53abce[_0x2d3883(0x2e7)]()[_0x2d3883(0x28b)](0x1):_0x53abce;this[_0x2d3883(0x34a)]=tokenize(_0x4dbec3);}[_0x282282(0x24f)](){const _0x4fabb2=_0x282282,_0x384541=this['parseExpr'](0x0);if(this[_0x4fabb2(0x363)]()[_0x4fabb2(0x1b0)]!==_0x4fabb2(0x211))throw new Error(_0x4fabb2(0x26d)+this[_0x4fabb2(0x363)]()[_0x4fabb2(0x2f3)]+_0x4fabb2(0x21d)+this['peek']()[_0x4fabb2(0x2ee)]);return _0x384541;}[_0x282282(0x363)](_0x5d5b4a=0x0){const _0x47c121=_0x282282;return this[_0x47c121(0x34a)][this['i']+_0x5d5b4a];}['eat'](){return this['toks'][this['i']++];}[_0x282282(0x147)](_0x4704f2){const _0xca4a10=_0x282282;let _0x3a805a=this['parseUnary']();while(!![]){const _0x159528=this[_0xca4a10(0x363)]();if(_0x159528[_0xca4a10(0x1b0)]!=='op')break;const _0x353eda=_0x159528['text'],_0x380e8c=BIN_PREC[_0x353eda];if(_0x380e8c==null)break;if(_0x380e8c<_0x4704f2)break;this[_0xca4a10(0x29f)]();const _0x1aa85f=this[_0xca4a10(0x147)](_0x353eda==='^'?_0x380e8c:_0x380e8c+0x1);_0x3a805a={'type':_0xca4a10(0x12a),'op':_0x353eda,'left':_0x3a805a,'right':_0x1aa85f};}return _0x3a805a;}[_0x282282(0x32f)](){const _0x5e1f0b=_0x282282,_0x88ec3b=this[_0x5e1f0b(0x363)]();if(_0x88ec3b[_0x5e1f0b(0x1b0)]==='op'&&(_0x88ec3b[_0x5e1f0b(0x2f3)]==='+'||_0x88ec3b[_0x5e1f0b(0x2f3)]==='-')){this[_0x5e1f0b(0x29f)]();const _0x50689c=this[_0x5e1f0b(0x32f)]();return{'type':_0x5e1f0b(0x1f8),'op':_0x88ec3b[_0x5e1f0b(0x2f3)],'expr':_0x50689c};}return this[_0x5e1f0b(0x188)]();}[_0x282282(0x188)](){const _0x2b364b=_0x282282;let _0x10d6db=this[_0x2b364b(0x2e4)]();while(this[_0x2b364b(0x363)]()[_0x2b364b(0x1b0)]==='op'&&this[_0x2b364b(0x363)]()[_0x2b364b(0x2f3)]==='%'){this[_0x2b364b(0x29f)](),_0x10d6db={'type':_0x2b364b(0x33e),'expr':_0x10d6db};}return _0x10d6db;}[_0x282282(0x2e4)](){const _0xd17ac4=_0x282282,_0x4f236f=this[_0xd17ac4(0x363)]();if(_0x4f236f[_0xd17ac4(0x1b0)]===_0xd17ac4(0x196))return this['eat'](),{'type':_0xd17ac4(0x196),'value':Number(_0x4f236f[_0xd17ac4(0x2f3)])};if(_0x4f236f['type']===_0xd17ac4(0x132))return this['eat'](),{'type':_0xd17ac4(0x132),'value':_0x4f236f[_0xd17ac4(0x2f3)]};if(_0x4f236f[_0xd17ac4(0x1b0)]===_0xd17ac4(0x1c7)){this['eat']();const _0x19ca7c=parseA1Single(_0x4f236f[_0xd17ac4(0x2f3)])??parseInternalR1C1Ref(_0x4f236f[_0xd17ac4(0x2f3)]);if(!_0x19ca7c)throw new Error(_0xd17ac4(0x158)+_0x4f236f[_0xd17ac4(0x2f3)]+'\x22');return{'type':_0xd17ac4(0x1c7),'sheet':_0x19ca7c[_0xd17ac4(0x295)],'r':_0x19ca7c['r'],'c':_0x19ca7c['c'],'absR':_0x19ca7c['absR'],'absC':_0x19ca7c[_0xd17ac4(0x2e9)]};}if(_0x4f236f['type']===_0xd17ac4(0x11e)){this['eat']();const _0x5cd973=parseA1Ref(_0x4f236f['text']);if(!_0x5cd973||_0x5cd973[_0xd17ac4(0x243)]!==_0xd17ac4(0x11e))throw new Error('PARSE:\x20非法区域\x20\x22'+_0x4f236f['text']+'\x22');return{'type':'range','sheet':_0x5cd973[_0xd17ac4(0x295)],'r1':_0x5cd973['r1'],'c1':_0x5cd973['c1'],'r2':_0x5cd973['r2'],'c2':_0x5cd973['c2']};}if(_0x4f236f[_0xd17ac4(0x1b0)]===_0xd17ac4(0x1e2)){this[_0xd17ac4(0x29f)]();const _0x2610fa=_0x4f236f[_0xd17ac4(0x2f3)],_0x4c6c47=_0x2610fa[_0xd17ac4(0x181)]();if(_0x4c6c47===_0xd17ac4(0x1e0)||_0x4c6c47==='FALSE')return{'type':_0xd17ac4(0x1ab),'value':_0x4c6c47===_0xd17ac4(0x1e0)};if(this[_0xd17ac4(0x363)]()[_0xd17ac4(0x1b0)]==='lparen'){this[_0xd17ac4(0x29f)]();const _0x27d79a=[];if(this[_0xd17ac4(0x363)]()[_0xd17ac4(0x1b0)]!==_0xd17ac4(0x126)){_0x27d79a[_0xd17ac4(0x1a5)](this[_0xd17ac4(0x147)](0x0));while(this[_0xd17ac4(0x363)]()[_0xd17ac4(0x1b0)]===_0xd17ac4(0x348)||this[_0xd17ac4(0x363)]()[_0xd17ac4(0x1b0)]==='semi'){this[_0xd17ac4(0x29f)](),_0x27d79a[_0xd17ac4(0x1a5)](this[_0xd17ac4(0x147)](0x0));}}const _0x3180c5=this[_0xd17ac4(0x29f)]();if(_0x3180c5[_0xd17ac4(0x1b0)]!==_0xd17ac4(0x126))throw new Error(_0xd17ac4(0x2dc));return{'type':_0xd17ac4(0x25c),'name':_0x2610fa[_0xd17ac4(0x181)](),'args':_0x27d79a};}return{'type':_0xd17ac4(0x254),'name':_0x2610fa};}if(_0x4f236f[_0xd17ac4(0x1b0)]===_0xd17ac4(0x15c)){this['eat']();const _0x3fd4eb=this[_0xd17ac4(0x147)](0x0),_0x562f32=this[_0xd17ac4(0x29f)]();if(_0x562f32[_0xd17ac4(0x1b0)]!==_0xd17ac4(0x126))throw new Error('PARSE:\x20缺少\x20\x27)\x27');return _0x3fd4eb;}throw new Error('PARSE:\x20非法\x20token\x20\x22'+_0x4f236f['text']+_0xd17ac4(0x21d)+_0x4f236f['pos']);}};function parseFormula(_0x52c020){const _0x38eb1b=_0x282282;return new Parser(_0x52c020)[_0x38eb1b(0x24f)]();}function gridNodeId(_0x416406,_0x2668ae,_0x3e5c4d){return'grid:'+_0x416406+'!'+_0x2668ae+','+_0x3e5c4d;}function mainFieldNodeId(_0x459171){const _0x421b00=_0x282282;return _0x421b00(0x33d)+_0x459171;}function subFieldNodeId(_0x2c6c1f,_0x351589,_0x3cc503){const _0x3cfa30=_0x282282;return _0x3cfa30(0x35c)+_0x2c6c1f+'.'+_0x351589+'#'+_0x3cc503;}function scriptNodeId(_0xd5fdd6,_0x5d90da,_0x493fd7){const _0x5313e3=_0x282282;if(_0x5d90da==null||_0x493fd7==null)return _0x5313e3(0x301)+_0xd5fdd6;return _0x5313e3(0x301)+_0xd5fdd6+'#s'+_0x493fd7+'r'+_0x5d90da;}var DepGraph=class{[_0x282282(0x1a0)]=new Map();[_0x282282(0x215)]=new Map();['allNodes']=new Set();['addNode'](_0x3b79df){const _0x4f0522=_0x282282;this[_0x4f0522(0x2e5)][_0x4f0522(0x35e)](_0x3b79df);if(!this['outEdges']['has'](_0x3b79df))this[_0x4f0522(0x1a0)][_0x4f0522(0x167)](_0x3b79df,new Set());if(!this[_0x4f0522(0x215)][_0x4f0522(0x32c)](_0x3b79df))this[_0x4f0522(0x215)][_0x4f0522(0x167)](_0x3b79df,new Set());}['addEdge'](_0x9893d7,_0xc9723){const _0x4749a4=_0x282282;this[_0x4749a4(0x123)](_0x9893d7),this[_0x4749a4(0x123)](_0xc9723),this[_0x4749a4(0x1a0)][_0x4749a4(0x213)](_0xc9723)[_0x4749a4(0x35e)](_0x9893d7),this['inEdges'][_0x4749a4(0x213)](_0x9893d7)['add'](_0xc9723);}['hasNode'](_0xca5389){const _0x1e39cb=_0x282282;return this[_0x1e39cb(0x2e5)][_0x1e39cb(0x32c)](_0xca5389);}[_0x282282(0x166)](_0x1d0736){const _0x11f177=_0x282282;return[...this[_0x11f177(0x215)][_0x11f177(0x213)](_0x1d0736)??[]];}[_0x282282(0x2c8)](_0x382e49){const _0x4060f2=_0x282282;return[...this[_0x4060f2(0x1a0)][_0x4060f2(0x213)](_0x382e49)??[]];}[_0x282282(0x153)](){const _0x3085b4=_0x282282;return[...this[_0x3085b4(0x2e5)]];}['topoSort'](){const _0x2a681e=_0x282282,_0x39b1ea=new Map();for(const _0x502074 of this[_0x2a681e(0x2e5)])_0x39b1ea['set'](_0x502074,(this[_0x2a681e(0x215)]['get'](_0x502074)??new Set())[_0x2a681e(0x15e)]);const _0x1d00ec=[];_0x39b1ea[_0x2a681e(0x146)]((_0x1ed06e,_0x2aec3c)=>{const _0x1c2508=_0x2a681e;if(_0x1ed06e===0x0)_0x1d00ec[_0x1c2508(0x1a5)](_0x2aec3c);});const _0x4d87b3=[];while(_0x1d00ec[_0x2a681e(0x296)]){const _0x594162=_0x1d00ec['shift']();_0x4d87b3[_0x2a681e(0x1a5)](_0x594162);for(const _0x364fdb of this[_0x2a681e(0x1a0)][_0x2a681e(0x213)](_0x594162)??[]){const _0x4ae3a2=(_0x39b1ea[_0x2a681e(0x213)](_0x364fdb)??0x0)-0x1;_0x39b1ea[_0x2a681e(0x167)](_0x364fdb,_0x4ae3a2);if(_0x4ae3a2===0x0)_0x1d00ec['push'](_0x364fdb);}}const _0x5e1a59=new Set();for(const _0x3f5c69 of this[_0x2a681e(0x2e5)])if(!_0x4d87b3[_0x2a681e(0x372)](_0x3f5c69))_0x5e1a59[_0x2a681e(0x35e)](_0x3f5c69);return{'order':_0x4d87b3,'cyclic':_0x5e1a59};}[_0x282282(0x121)](_0x38560c){const _0x3bf1a9=_0x282282,_0x11f2cd=new Set(),_0x221101=[];for(const _0x33d705 of _0x38560c)_0x221101[_0x3bf1a9(0x1a5)](_0x33d705);while(_0x221101['length']){const _0x4e8746=_0x221101[_0x3bf1a9(0x1c9)]();if(_0x11f2cd[_0x3bf1a9(0x32c)](_0x4e8746))continue;_0x11f2cd['add'](_0x4e8746);for(const _0x31a184 of this['outEdges']['get'](_0x4e8746)??[])_0x221101[_0x3bf1a9(0x1a5)](_0x31a184);}return _0x11f2cd;}[_0x282282(0x16b)](){const _0x573834=_0x282282;this['outEdges'][_0x573834(0x16b)](),this[_0x573834(0x215)][_0x573834(0x16b)](),this[_0x573834(0x2e5)]['clear']();}};function flatten(_0x23511f){const _0x4665fa=_0x282282,_0x48468f=[];for(const _0x30f3de of _0x23511f){if(_0x30f3de['k']===_0x4665fa(0x2cd))return _0x30f3de;if(_0x30f3de['k']===_0x4665fa(0x2ea)){let _0x4f0322=null;forEachArrayValue(_0x30f3de,_0xa6c822=>{const _0x1be2d2=_0x4665fa;if(_0x4f0322)return;if(_0xa6c822['k']===_0x1be2d2(0x2cd))_0x4f0322=_0xa6c822;else _0x48468f[_0x1be2d2(0x1a5)](_0xa6c822);});if(_0x4f0322)return _0x4f0322;}else _0x48468f[_0x4665fa(0x1a5)](_0x30f3de);}return _0x48468f;}function toNums(_0x3e9c57){const _0x175423=_0x282282,_0x3f1dcd=flatten(_0x3e9c57);if(!Array[_0x175423(0x2c4)](_0x3f1dcd))return _0x3f1dcd;const _0x15c204=[];for(const _0x32276c of _0x3f1dcd){if(_0x32276c['k']==='null')continue;if(_0x32276c['k']===_0x175423(0x132)&&_0x32276c['v']['trim']()==='')continue;const _0x367ad7=coerceNum(_0x32276c);if(_0x367ad7==null)return vErr(_0x175423(0x261),_0x175423(0x2ec));_0x15c204[_0x175423(0x1a5)](_0x367ad7);}return _0x15c204;}function first(_0x342216){const _0x3a485e=_0x282282,_0x418eec=flatten(_0x342216);if(!Array[_0x3a485e(0x2c4)](_0x418eec))return _0x418eec;return _0x418eec[0x0]??V_NULL;}var FUNCTIONS={'SUM':_0x583187=>{const _0x4529a7=_0x282282,_0x464112=toNums(_0x583187);if(!Array[_0x4529a7(0x2c4)](_0x464112))return _0x464112;return vNum(_0x464112[_0x4529a7(0x2bc)]((_0x209a8d,_0x5763e7)=>_0x209a8d+_0x5763e7,0x0));},'AVG':_0x6d1b9d=>FUNCTIONS[_0x282282(0x225)](_0x6d1b9d),'AVERAGE':_0x415d92=>{const _0x44f115=_0x282282,_0x2796cf=toNums(_0x415d92);if(!Array[_0x44f115(0x2c4)](_0x2796cf))return _0x2796cf;if(_0x2796cf[_0x44f115(0x296)]===0x0)return vErr(_0x44f115(0x133));return vNum(_0x2796cf[_0x44f115(0x2bc)]((_0x1ab99b,_0x206e1f)=>_0x1ab99b+_0x206e1f,0x0)/_0x2796cf[_0x44f115(0x296)]);},'MIN':_0x1b7420=>{const _0x4a5bf3=_0x282282,_0x50eb4e=toNums(_0x1b7420);if(!Array[_0x4a5bf3(0x2c4)](_0x50eb4e))return _0x50eb4e;if(_0x50eb4e[_0x4a5bf3(0x296)]===0x0)return vNum(0x0);return vNum(Math[_0x4a5bf3(0x257)](..._0x50eb4e));},'MAX':_0x6cc486=>{const _0xe6bbad=_0x282282,_0x38d981=toNums(_0x6cc486);if(!Array[_0xe6bbad(0x2c4)](_0x38d981))return _0x38d981;if(_0x38d981[_0xe6bbad(0x296)]===0x0)return vNum(0x0);return vNum(Math[_0xe6bbad(0x218)](..._0x38d981));},'COUNT':_0x5d76b2=>{const _0x2c3211=_0x282282;let _0xcac102=0x0;for(const _0x1fc54b of _0x5d76b2){if(_0x1fc54b['k']===_0x2c3211(0x2cd))return _0x1fc54b;if(_0x1fc54b['k']===_0x2c3211(0x2ea))forEachArrayValue(_0x1fc54b,_0x2ed3c9=>{const _0x1feef8=_0x2c3211;if(_0x2ed3c9['k']===_0x1feef8(0x196))_0xcac102+=0x1;else{if(_0x2ed3c9['k']===_0x1feef8(0x132)&&_0x2ed3c9['v'][_0x1feef8(0x335)]()!==''&&coerceNum(_0x2ed3c9)!=null)_0xcac102+=0x1;}});else{if(_0x1fc54b['k']===_0x2c3211(0x196))_0xcac102+=0x1;else{if(_0x1fc54b['k']==='str'&&_0x1fc54b['v'][_0x2c3211(0x335)]()!==''&&coerceNum(_0x1fc54b)!=null)_0xcac102+=0x1;}}}return vNum(_0xcac102);},'COUNTA':_0x28aabf=>{const _0x16cffe=_0x282282;let _0x5c3783=0x0;for(const _0x28f3ad of _0x28aabf){if(_0x28f3ad['k']===_0x16cffe(0x2cd))return _0x28f3ad;if(_0x28f3ad['k']==='arr')forEachArrayValue(_0x28f3ad,_0x3ac2e7=>{const _0x5d1e18=_0x16cffe;if(_0x3ac2e7['k']!=='null'&&!(_0x3ac2e7['k']===_0x5d1e18(0x132)&&_0x3ac2e7['v']===''))_0x5c3783+=0x1;});else{if(_0x28f3ad['k']!==_0x16cffe(0x1ca)&&!(_0x28f3ad['k']===_0x16cffe(0x132)&&_0x28f3ad['v']===''))_0x5c3783+=0x1;}}return vNum(_0x5c3783);},'IF':_0x187313=>{const _0x28c0f4=_0x282282;if(_0x187313[_0x28c0f4(0x296)]<0x2)return vErr(_0x28c0f4(0x261),_0x28c0f4(0x308));const _0x2c9b7b=first([_0x187313[0x0]]);if(_0x2c9b7b['k']===_0x28c0f4(0x2cd))return _0x2c9b7b;const _0x576328=coerceBool(_0x2c9b7b);if(_0x576328==null)return vErr(_0x28c0f4(0x261),'IF\x20\u6761\u4EF6\u975E\u5E03\u5C14');const _0x40b2f4=_0x187313[0x1],_0x4ec813=_0x187313[0x2]??V_NULL,_0x4c1741=_0x576328?_0x40b2f4:_0x4ec813;return _0x4c1741['k']===_0x28c0f4(0x2ea)?first([_0x4c1741]):_0x4c1741;},'IFS':_0x49aaf5=>{const _0x1817b8=_0x282282;if(_0x49aaf5[_0x1817b8(0x296)]<0x2||_0x49aaf5['length']%0x2!==0x0)return vErr(_0x1817b8(0x261),_0x1817b8(0x15f));for(let _0x503c82=0x0;_0x503c82<_0x49aaf5[_0x1817b8(0x296)];_0x503c82+=0x2){const _0x30bdb0=first([_0x49aaf5[_0x503c82]]);if(_0x30bdb0['k']===_0x1817b8(0x2cd))return _0x30bdb0;const _0x472f3b=coerceBool(_0x30bdb0);if(_0x472f3b==null)return vErr(_0x1817b8(0x261));if(_0x472f3b){const _0x48e167=_0x49aaf5[_0x503c82+0x1];return _0x48e167['k']==='arr'?first([_0x48e167]):_0x48e167;}}return vErr(_0x1817b8(0x261),'\u65E0\u6761\u4EF6\u5339\u914D');},'ROUND':_0x585a9a=>{const _0x2bf6cc=_0x282282;if(_0x585a9a[_0x2bf6cc(0x296)]<0x1)return vErr('#VALUE');const _0x279910=coerceNum(first([_0x585a9a[0x0]])),_0x2c40e6=_0x585a9a[_0x2bf6cc(0x296)]>=0x2?coerceNum(first([_0x585a9a[0x1]])):0x0;if(_0x279910==null||_0x2c40e6==null)return vErr(_0x2bf6cc(0x261));const _0x250275=Math[_0x2bf6cc(0x25b)](_0x2c40e6),_0x113aa0=0xa**_0x250275;return vNum(Math[_0x2bf6cc(0x250)](_0x279910*_0x113aa0)/_0x113aa0);},'ROUNDUP':_0x523055=>{const _0x134cee=_0x282282,_0x19e6ef=coerceNum(first([_0x523055[0x0]])),_0x5af588=_0x523055[_0x134cee(0x296)]>=0x2?coerceNum(first([_0x523055[0x1]])):0x0;if(_0x19e6ef==null||_0x5af588==null)return vErr(_0x134cee(0x261));const _0x37646c=Math[_0x134cee(0x25b)](_0x5af588),_0x1315fb=0xa**_0x37646c;return vNum((_0x19e6ef<0x0?Math[_0x134cee(0x25b)](_0x19e6ef*_0x1315fb):Math[_0x134cee(0x2d1)](_0x19e6ef*_0x1315fb))/_0x1315fb);},'ROUNDDOWN':_0x18da81=>{const _0x463635=_0x282282,_0x1b0dd1=coerceNum(first([_0x18da81[0x0]])),_0x26576f=_0x18da81[_0x463635(0x296)]>=0x2?coerceNum(first([_0x18da81[0x1]])):0x0;if(_0x1b0dd1==null||_0x26576f==null)return vErr(_0x463635(0x261));const _0x17a14b=Math[_0x463635(0x25b)](_0x26576f),_0x2fed65=0xa**_0x17a14b;return vNum((_0x1b0dd1<0x0?Math[_0x463635(0x2d1)](_0x1b0dd1*_0x2fed65):Math[_0x463635(0x25b)](_0x1b0dd1*_0x2fed65))/_0x2fed65);},'ABS':_0x191e0c=>{const _0x3dcebf=_0x282282,_0x4fc11f=coerceNum(first([_0x191e0c[0x0]]));if(_0x4fc11f==null)return vErr(_0x3dcebf(0x261));return vNum(Math[_0x3dcebf(0x23e)](_0x4fc11f));},'CONCAT':_0x4a5c50=>{const _0x3dfc04=_0x282282,_0x5a590d=flatten(_0x4a5c50);if(!Array['isArray'](_0x5a590d))return _0x5a590d;return vStr(_0x5a590d[_0x3dfc04(0x362)](coerceStr)[_0x3dfc04(0x14f)](''));},'CONCATENATE':_0x236ae7=>FUNCTIONS[_0x282282(0x240)](_0x236ae7),'LEN':_0x49bc0d=>{const _0x1d165c=_0x282282,_0x5427f7=coerceStr(first([_0x49bc0d[0x0]]));return vNum([..._0x5427f7][_0x1d165c(0x296)]);},'LEFT':_0x1d9cdf=>{const _0x53a3d0=_0x282282,_0x160863=coerceStr(first([_0x1d9cdf[0x0]])),_0x5b2d23=_0x1d9cdf['length']>=0x2?coerceNum(first([_0x1d9cdf[0x1]])):0x1;if(_0x5b2d23==null)return vErr('#VALUE');return vStr([..._0x160863][_0x53a3d0(0x28b)](0x0,Math['max'](0x0,Math['floor'](_0x5b2d23)))[_0x53a3d0(0x14f)](''));},'RIGHT':_0x559a12=>{const _0x12c2af=_0x282282,_0x5463bd=coerceStr(first([_0x559a12[0x0]])),_0x15ddb6=_0x559a12[_0x12c2af(0x296)]>=0x2?coerceNum(first([_0x559a12[0x1]])):0x1;if(_0x15ddb6==null)return vErr(_0x12c2af(0x261));const _0x372423=[..._0x5463bd],_0x57b80b=Math['max'](0x0,Math['floor'](_0x15ddb6));return vStr(_0x372423[_0x12c2af(0x28b)](_0x372423['length']-_0x57b80b)['join'](''));},'MID':_0x3a8291=>{const _0x5ae20a=_0x282282,_0x12d9f0=coerceStr(first([_0x3a8291[0x0]])),_0x5eecbb=coerceNum(first([_0x3a8291[0x1]])),_0x6e4236=coerceNum(first([_0x3a8291[0x2]]));if(_0x5eecbb==null||_0x6e4236==null)return vErr(_0x5ae20a(0x261));const _0x42bac7=[..._0x12d9f0],_0x39f55e=Math[_0x5ae20a(0x218)](0x0,Math['floor'](_0x5eecbb)-0x1);return vStr(_0x42bac7[_0x5ae20a(0x28b)](_0x39f55e,_0x39f55e+Math[_0x5ae20a(0x218)](0x0,Math[_0x5ae20a(0x25b)](_0x6e4236)))[_0x5ae20a(0x14f)](''));},'TEXT':_0x45373d=>{const _0xc6a9fe=_0x282282,_0x377898=coerceNum(first([_0x45373d[0x0]])),_0x46da4f=coerceStr(first([_0x45373d[0x1]??V_NULL]));if(_0x377898==null)return vErr('#VALUE');const _0x40225e=/^0(?:\.(0+))?$/[_0xc6a9fe(0x2ac)](_0x46da4f[_0xc6a9fe(0x335)]());if(!_0x40225e)return vStr(String(_0x377898));const _0x3c5574=_0x40225e[0x1]?_0x40225e[0x1][_0xc6a9fe(0x296)]:0x0;return vStr(_0x377898['toFixed'](_0x3c5574));},'TODAY':()=>{const _0x507bfc=_0x282282,_0x2a2796=new Date(),_0x5d61ec=_0x2a2796['getFullYear'](),_0x4b6e5f=String(_0x2a2796[_0x507bfc(0x2c9)]()+0x1)['padStart'](0x2,'0'),_0x36d585=String(_0x2a2796[_0x507bfc(0x1a3)]())[_0x507bfc(0x1ce)](0x2,'0');return vStr(_0x5d61ec+'-'+_0x4b6e5f+'-'+_0x36d585);},'NOW':()=>{const _0x41e820=_0x282282;return vStr(new Date()[_0x41e820(0x2f9)]());},'AND':_0x6e4de3=>{const _0xe40b6c=_0x282282,_0x59e5de=flatten(_0x6e4de3);if(!Array[_0xe40b6c(0x2c4)](_0x59e5de))return _0x59e5de;for(const _0x1244c7 of _0x59e5de){const _0x370cf1=coerceBool(_0x1244c7);if(_0x370cf1==null)return vErr(_0xe40b6c(0x261));if(!_0x370cf1)return vBool(![]);}return vBool(!![]);},'OR':_0x4900b9=>{const _0x1b6eed=_0x282282,_0x12a26b=flatten(_0x4900b9);if(!Array['isArray'](_0x12a26b))return _0x12a26b;for(const _0x2447e1 of _0x12a26b){const _0x521209=coerceBool(_0x2447e1);if(_0x521209==null)return vErr(_0x1b6eed(0x261));if(_0x521209)return vBool(!![]);}return vBool(![]);},'NOT':_0x214c21=>{const _0x4ed7e4=_0x282282,_0x244247=coerceBool(first([_0x214c21[0x0]]));if(_0x244247==null)return vErr(_0x4ed7e4(0x261));return vBool(!_0x244247);}},KEYWORDS=new Set(['let',_0x282282(0x22c),'if','else','for','of','return',_0x282282(0x2dd),_0x282282(0x1f9),_0x282282(0x1ca),_0x282282(0x1ef)]),PUNCTS_3=['===',_0x282282(0x319),_0x282282(0x1bd)],PUNCTS_2=['==','!=','<=','>=','&&','||','??','=>','**','?.','+=','-=','*=','/='],PUNCTS_1='+-*/%<>!?:.,;()[]{}=&|';function isIdentStart2(_0x4cd2c7){return _0x4cd2c7>='A'&&_0x4cd2c7<='Z'||_0x4cd2c7>='a'&&_0x4cd2c7<='z'||_0x4cd2c7==='_'||_0x4cd2c7==='$';}function isIdentCont2(_0x280a76){return isIdentStart2(_0x280a76)||_0x280a76>='0'&&_0x280a76<='9';}function sjsTokenize(_0x4dc2e9){const _0x4aaff9=_0x282282,_0x2e8771=[];let _0x2ae555=0x0;const _0x1f4593=_0x4dc2e9['length'];while(_0x2ae555<_0x1f4593){const _0x1d5d14=_0x4dc2e9[_0x2ae555];if(_0x1d5d14==='\x20'||_0x1d5d14==='\x09'||_0x1d5d14==='\x0a'||_0x1d5d14==='\x0d'){_0x2ae555+=0x1;continue;}if(_0x1d5d14==='/'&&_0x4dc2e9[_0x2ae555+0x1]==='/'){while(_0x2ae555<_0x1f4593&&_0x4dc2e9[_0x2ae555]!=='\x0a')_0x2ae555+=0x1;continue;}if(_0x1d5d14==='/'&&_0x4dc2e9[_0x2ae555+0x1]==='*'){_0x2ae555+=0x2;while(_0x2ae555<_0x1f4593&&!(_0x4dc2e9[_0x2ae555]==='*'&&_0x4dc2e9[_0x2ae555+0x1]==='/'))_0x2ae555+=0x1;_0x2ae555+=0x2;continue;}if(_0x1d5d14>='0'&&_0x1d5d14<='9'||_0x1d5d14==='.'&&_0x4dc2e9[_0x2ae555+0x1]>='0'&&_0x4dc2e9[_0x2ae555+0x1]<='9'){const _0x2ba754=_0x2ae555;let _0x64b90f='';while(_0x2ae555<_0x1f4593&&(_0x4dc2e9[_0x2ae555]>='0'&&_0x4dc2e9[_0x2ae555]<='9'||_0x4dc2e9[_0x2ae555]==='.')){_0x64b90f+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1;}if(_0x2ae555<_0x1f4593&&(_0x4dc2e9[_0x2ae555]==='e'||_0x4dc2e9[_0x2ae555]==='E')){_0x64b90f+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1;(_0x4dc2e9[_0x2ae555]==='+'||_0x4dc2e9[_0x2ae555]==='-')&&(_0x64b90f+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1);while(_0x2ae555<_0x1f4593&&_0x4dc2e9[_0x2ae555]>='0'&&_0x4dc2e9[_0x2ae555]<='9'){_0x64b90f+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1;}}_0x2e8771['push']({'t':_0x4aaff9(0x196),'v':_0x64b90f,'pos':_0x2ba754});continue;}if(_0x1d5d14==='\x22'||_0x1d5d14==='\x27'){const _0x14cb6b=_0x1d5d14,_0x5d3d13=_0x2ae555;_0x2ae555+=0x1;let _0xe97754='';while(_0x2ae555<_0x1f4593&&_0x4dc2e9[_0x2ae555]!==_0x14cb6b){if(_0x4dc2e9[_0x2ae555]==='\x5c'){const _0xdc6a65=_0x4dc2e9[_0x2ae555+0x1];if(_0xdc6a65==='n')_0xe97754+='\x0a';else{if(_0xdc6a65==='t')_0xe97754+='\x09';else{if(_0xdc6a65==='r')_0xe97754+='\x0d';else{if(_0xdc6a65==='\x5c')_0xe97754+='\x5c';else{if(_0xdc6a65===_0x14cb6b)_0xe97754+=_0x14cb6b;else _0xe97754+=_0xdc6a65??'';}}}}_0x2ae555+=0x2;continue;}_0xe97754+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1;}_0x2ae555+=0x1,_0x2e8771['push']({'t':_0x4aaff9(0x132),'v':_0xe97754,'pos':_0x5d3d13});continue;}if(_0x1d5d14==='`'){const _0x174e83=_0x2ae555;_0x2ae555+=0x1;let _0x1a57f3='';while(_0x2ae555<_0x1f4593&&_0x4dc2e9[_0x2ae555]!=='`'){if(_0x4dc2e9[_0x2ae555]==='$'&&_0x4dc2e9[_0x2ae555+0x1]==='{')throw new Error(_0x4aaff9(0x180));_0x1a57f3+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1;}_0x2ae555+=0x1,_0x2e8771[_0x4aaff9(0x1a5)]({'t':_0x4aaff9(0x2b2),'v':_0x1a57f3,'pos':_0x174e83});continue;}if(isIdentStart2(_0x1d5d14)){const _0x219f1f=_0x2ae555;let _0x37e07d='';while(_0x2ae555<_0x1f4593&&isIdentCont2(_0x4dc2e9[_0x2ae555])){_0x37e07d+=_0x4dc2e9[_0x2ae555],_0x2ae555+=0x1;}if(KEYWORDS[_0x4aaff9(0x32c)](_0x37e07d))_0x2e8771[_0x4aaff9(0x1a5)]({'t':'kw','v':_0x37e07d,'pos':_0x219f1f});else _0x2e8771[_0x4aaff9(0x1a5)]({'t':_0x4aaff9(0x1e2),'v':_0x37e07d,'pos':_0x219f1f});continue;}const _0x23e804=_0x4dc2e9[_0x4aaff9(0x28b)](_0x2ae555,_0x2ae555+0x3);if(PUNCTS_3[_0x4aaff9(0x372)](_0x23e804)){_0x2e8771[_0x4aaff9(0x1a5)]({'t':_0x4aaff9(0x248),'v':_0x23e804,'pos':_0x2ae555}),_0x2ae555+=0x3;continue;}const _0x264dde=_0x4dc2e9[_0x4aaff9(0x28b)](_0x2ae555,_0x2ae555+0x2);if(PUNCTS_2['includes'](_0x264dde)){_0x2e8771['push']({'t':_0x4aaff9(0x248),'v':_0x264dde,'pos':_0x2ae555}),_0x2ae555+=0x2;continue;}if(PUNCTS_1[_0x4aaff9(0x1f7)](_0x1d5d14)>=0x0){_0x2e8771['push']({'t':_0x4aaff9(0x248),'v':_0x1d5d14,'pos':_0x2ae555}),_0x2ae555+=0x1;continue;}throw new Error('SJS:\x20非法字符\x20\x22'+_0x1d5d14+_0x4aaff9(0x21d)+_0x2ae555);}return _0x2e8771[_0x4aaff9(0x1a5)]({'t':_0x4aaff9(0x211),'v':'','pos':_0x1f4593}),_0x2e8771;}var SjsParser=class{[_0x282282(0x34a)];['i']=0x0;constructor(_0x505960){const _0x41e1cb=_0x282282;this[_0x41e1cb(0x34a)]=sjsTokenize(_0x505960);}[_0x282282(0x363)](_0x11ce39=0x0){const _0x10dfc4=_0x282282;return this[_0x10dfc4(0x34a)][this['i']+_0x11ce39];}[_0x282282(0x29f)](){const _0x20ae3a=_0x282282;return this[_0x20ae3a(0x34a)][this['i']++];}[_0x282282(0x298)](_0x2781c9,_0x18cabb){const _0x2080b2=_0x282282,_0x249ae4=this[_0x2080b2(0x363)]();if(_0x249ae4['t']!==_0x2781c9||_0x18cabb!=null&&_0x249ae4['v']!==_0x18cabb)throw new Error('SJS:\x20期待\x20'+_0x2781c9+(_0x18cabb?'\x20\x27'+_0x18cabb+'\x27':'')+_0x2080b2(0x22f)+_0x249ae4['v']+_0x2080b2(0x1b6)+_0x249ae4[_0x2080b2(0x2ee)]);return this[_0x2080b2(0x29f)]();}[_0x282282(0x13e)](_0x537e01,_0x294295){const _0x5d8569=_0x282282,_0xd533b2=this[_0x5d8569(0x363)]();if(_0xd533b2['t']!==_0x537e01)return![];if(_0x294295!=null&&_0xd533b2['v']!==_0x294295)return![];return!![];}[_0x282282(0x12b)](){const _0xbb605f=_0x282282,_0x163308=[];while(!this[_0xbb605f(0x13e)](_0xbb605f(0x211))){_0x163308[_0xbb605f(0x1a5)](this[_0xbb605f(0x27c)]());}return{'body':_0x163308};}['parseExprOnly'](){const _0x56e3bb=_0x282282,_0x5d452e=this['parseAssign']();if(!this[_0x56e3bb(0x13e)](_0x56e3bb(0x211))&&!this[_0x56e3bb(0x13e)](_0x56e3bb(0x248),';'))throw new Error(_0x56e3bb(0x1d5)+this[_0x56e3bb(0x363)]()['v']+'\x27');return _0x5d452e;}[_0x282282(0x27c)](){const _0x3d9e03=_0x282282;if(this[_0x3d9e03(0x13e)]('kw',_0x3d9e03(0x1dd))||this['match']('kw',_0x3d9e03(0x22c))){const _0x11e4eb=this[_0x3d9e03(0x29f)](),_0x4920b6=this[_0x3d9e03(0x298)](_0x3d9e03(0x1e2))['v'];let _0x5b881b;this['match'](_0x3d9e03(0x248),'=')&&(this[_0x3d9e03(0x29f)](),_0x5b881b=this[_0x3d9e03(0x137)]());if(this[_0x3d9e03(0x13e)]('punct',';'))this['eat']();return{'t':_0x3d9e03(0x2c2),'kind':_0x11e4eb['v'],'name':_0x4920b6,'init':_0x5b881b};}if(this['match']('kw','if')){this[_0x3d9e03(0x29f)](),this[_0x3d9e03(0x298)](_0x3d9e03(0x248),'(');const _0x3a4c89=this[_0x3d9e03(0x137)]();this[_0x3d9e03(0x298)](_0x3d9e03(0x248),')');const _0x50908e=this[_0x3d9e03(0x23f)]();let _0x34017f;return this[_0x3d9e03(0x13e)]('kw',_0x3d9e03(0x1db))&&(this[_0x3d9e03(0x29f)](),_0x34017f=this[_0x3d9e03(0x23f)]()),{'t':'If','cond':_0x3a4c89,'then':_0x50908e,'else':_0x34017f};}if(this[_0x3d9e03(0x13e)]('kw',_0x3d9e03(0x1be))){this['eat'](),this[_0x3d9e03(0x298)](_0x3d9e03(0x248),'(');if(!(this[_0x3d9e03(0x13e)]('kw',_0x3d9e03(0x22c))||this[_0x3d9e03(0x13e)]('kw',_0x3d9e03(0x1dd))))throw new Error(_0x3d9e03(0x307));this['eat']();const _0x51c11c=this[_0x3d9e03(0x298)](_0x3d9e03(0x1e2))['v'];this[_0x3d9e03(0x298)]('kw','of');const _0x138eb0=this[_0x3d9e03(0x137)]();this['expect'](_0x3d9e03(0x248),')');const _0x4752bf=this[_0x3d9e03(0x23f)]();return{'t':_0x3d9e03(0x21f),'name':_0x51c11c,'iter':_0x138eb0,'body':_0x4752bf};}if(this[_0x3d9e03(0x13e)]('kw',_0x3d9e03(0x2d0))){this[_0x3d9e03(0x29f)]();let _0x4ad374;!this[_0x3d9e03(0x13e)](_0x3d9e03(0x248),';')&&!this[_0x3d9e03(0x13e)](_0x3d9e03(0x248),'}')&&!this[_0x3d9e03(0x13e)](_0x3d9e03(0x211))&&(_0x4ad374=this[_0x3d9e03(0x137)]());if(this['match'](_0x3d9e03(0x248),';'))this[_0x3d9e03(0x29f)]();return{'t':_0x3d9e03(0x2e8),'arg':_0x4ad374};}if(this['match'](_0x3d9e03(0x248),'{'))return{'t':_0x3d9e03(0x173),'body':this[_0x3d9e03(0x376)]()};const _0x52b335=this[_0x3d9e03(0x137)]();if(this['match'](_0x3d9e03(0x248),';'))this[_0x3d9e03(0x29f)]();return{'t':_0x3d9e03(0x26a),'expr':_0x52b335};}[_0x282282(0x23f)](){const _0x51dfd0=_0x282282;if(this[_0x51dfd0(0x13e)](_0x51dfd0(0x248),'{'))return this[_0x51dfd0(0x376)]();return[this['parseStmt']()];}['parseBlock'](){const _0x4c23f5=_0x282282;this['expect'](_0x4c23f5(0x248),'{');const _0x50e40b=[];while(!this['match'](_0x4c23f5(0x248),'}')&&!this[_0x4c23f5(0x13e)]('eof')){_0x50e40b[_0x4c23f5(0x1a5)](this[_0x4c23f5(0x27c)]());}return this[_0x4c23f5(0x298)](_0x4c23f5(0x248),'}'),_0x50e40b;}['parseAssign'](){const _0xd986d2=_0x282282,_0x5da8df=this['parseTernary'](),_0x255b4d=this[_0xd986d2(0x363)](),_0x3ecf65=_0x255b4d['t']===_0xd986d2(0x248)&&_0x255b4d['v']==='='||_0x255b4d['t']===_0xd986d2(0x248)&&['+=','-=','*=','/=',_0xd986d2(0x1bd)][_0xd986d2(0x372)](_0x255b4d['v']);if(!_0x3ecf65)return _0x5da8df;if(_0x5da8df['t']!==_0xd986d2(0x2c5))throw new Error(_0xd986d2(0x159));const _0x48adc1=this[_0xd986d2(0x29f)]()['v'],_0x137d5e=this[_0xd986d2(0x137)]();return{'t':_0xd986d2(0x302),'op':_0x48adc1,'name':_0x5da8df['name'],'value':_0x137d5e};}[_0x282282(0x122)](){const _0x54d34b=_0x282282,_0x3ea16e=this[_0x54d34b(0x20c)]();if(this[_0x54d34b(0x13e)]('punct','?')){this[_0x54d34b(0x29f)]();const _0x1e8390=this['parseAssign']();this[_0x54d34b(0x298)]('punct',':');const _0xb21891=this['parseAssign']();return{'t':_0x54d34b(0x29c),'c':_0x3ea16e,'a':_0x1e8390,'b':_0xb21891};}return _0x3ea16e;}[_0x282282(0x20c)](){const _0x4cce71=_0x282282;let _0x165e69=this[_0x4cce71(0x332)]();while(this[_0x4cce71(0x13e)](_0x4cce71(0x248),'||')||this['match'](_0x4cce71(0x248),'??')){const _0x275104=this['eat']()['v'],_0x537cc5=this['parseAnd']();_0x165e69={'t':_0x4cce71(0x258),'op':_0x275104,'l':_0x165e69,'r':_0x537cc5};}return _0x165e69;}[_0x282282(0x332)](){const _0x23d140=_0x282282;let _0x485283=this[_0x23d140(0x30d)]();while(this[_0x23d140(0x13e)](_0x23d140(0x248),'&&')){this['eat']();const _0x2669b9=this[_0x23d140(0x30d)]();_0x485283={'t':_0x23d140(0x258),'op':'&&','l':_0x485283,'r':_0x2669b9};}return _0x485283;}['parseEq'](){const _0x570b87=_0x282282;let _0x520b49=this[_0x570b87(0x198)]();while(this[_0x570b87(0x13e)]('punct','==')||this[_0x570b87(0x13e)]('punct','!=')||this['match']('punct',_0x570b87(0x377))||this[_0x570b87(0x13e)](_0x570b87(0x248),_0x570b87(0x319))){const _0x5d0e96=this['eat']()['v'],_0x2761f6=this[_0x570b87(0x198)]();_0x520b49={'t':'Bin','op':_0x5d0e96,'l':_0x520b49,'r':_0x2761f6};}return _0x520b49;}[_0x282282(0x198)](){const _0x228d90=_0x282282;let _0xb70d8c=this['parseAdd']();while(this[_0x228d90(0x13e)](_0x228d90(0x248),'<')||this[_0x228d90(0x13e)](_0x228d90(0x248),'<=')||this[_0x228d90(0x13e)]('punct','>')||this[_0x228d90(0x13e)](_0x228d90(0x248),'>=')){const _0x39bdba=this['eat']()['v'],_0x59636a=this[_0x228d90(0x2d2)]();_0xb70d8c={'t':_0x228d90(0x258),'op':_0x39bdba,'l':_0xb70d8c,'r':_0x59636a};}return _0xb70d8c;}[_0x282282(0x2d2)](){const _0xbb4216=_0x282282;let _0x10abb0=this['parseMul']();while(this[_0xbb4216(0x13e)](_0xbb4216(0x248),'+')||this[_0xbb4216(0x13e)](_0xbb4216(0x248),'-')){const _0x5f5b00=this[_0xbb4216(0x29f)]()['v'],_0x589854=this['parseMul']();_0x10abb0={'t':_0xbb4216(0x258),'op':_0x5f5b00,'l':_0x10abb0,'r':_0x589854};}return _0x10abb0;}[_0x282282(0x17b)](){const _0x4093ec=_0x282282;let _0x51a10e=this[_0x4093ec(0x2fb)]();while(this[_0x4093ec(0x13e)](_0x4093ec(0x248),'*')||this[_0x4093ec(0x13e)](_0x4093ec(0x248),'/')||this[_0x4093ec(0x13e)](_0x4093ec(0x248),'%')){const _0x1f4083=this[_0x4093ec(0x29f)]()['v'],_0x30b6e6=this[_0x4093ec(0x2fb)]();_0x51a10e={'t':_0x4093ec(0x258),'op':_0x1f4083,'l':_0x51a10e,'r':_0x30b6e6};}return _0x51a10e;}['parsePow'](){const _0x4b2d8a=_0x282282,_0x1b44e5=this['parseUnary']();if(this['match'](_0x4b2d8a(0x248),'**')){this['eat']();const _0x3ab01b=this[_0x4b2d8a(0x2fb)]();return{'t':_0x4b2d8a(0x258),'op':'**','l':_0x1b44e5,'r':_0x3ab01b};}return _0x1b44e5;}['parseUnary'](){const _0x493340=_0x282282;if(this[_0x493340(0x13e)](_0x493340(0x248),'+')||this[_0x493340(0x13e)](_0x493340(0x248),'-')||this[_0x493340(0x13e)](_0x493340(0x248),'!')){const _0x467742=this[_0x493340(0x29f)]()['v'],_0x2c15ad=this[_0x493340(0x32f)]();return{'t':_0x493340(0x2e2),'op':_0x467742,'expr':_0x2c15ad};}return this[_0x493340(0x188)]();}[_0x282282(0x188)](){const _0x3116a5=_0x282282;let _0x170d1a=this['parsePrimary']();while(!![]){if(this[_0x3116a5(0x13e)](_0x3116a5(0x248),'.')){this[_0x3116a5(0x29f)]();const _0x2af466=this['expect'](_0x3116a5(0x1e2))['v'];_0x170d1a={'t':'Member','obj':_0x170d1a,'prop':_0x2af466};continue;}if(this[_0x3116a5(0x13e)](_0x3116a5(0x248),'?.')){this[_0x3116a5(0x29f)]();if(this['match'](_0x3116a5(0x1e2))){const _0x256e75=this[_0x3116a5(0x29f)]()['v'];_0x170d1a={'t':_0x3116a5(0x2bd),'obj':_0x170d1a,'prop':_0x256e75,'optional':!![]};continue;}if(this['match'](_0x3116a5(0x248),'[')){this[_0x3116a5(0x29f)]();const _0x1ae924=this[_0x3116a5(0x137)]();this[_0x3116a5(0x298)]('punct',']'),_0x170d1a={'t':_0x3116a5(0x341),'obj':_0x170d1a,'idx':_0x1ae924,'optional':!![]};continue;}if(this[_0x3116a5(0x13e)](_0x3116a5(0x248),'(')){this['eat']();const _0x501626=this['parseArgs']();_0x170d1a={'t':_0x3116a5(0x28e),'callee':_0x170d1a,'args':_0x501626,'optional':!![]};continue;}throw new Error(_0x3116a5(0x2a4)+this[_0x3116a5(0x363)]()['v']+'\x27');}if(this[_0x3116a5(0x13e)]('punct','[')){this['eat']();const _0x2254c7=this['parseAssign']();this['expect'](_0x3116a5(0x248),']'),_0x170d1a={'t':_0x3116a5(0x341),'obj':_0x170d1a,'idx':_0x2254c7};continue;}if(this[_0x3116a5(0x13e)](_0x3116a5(0x248),'(')){this[_0x3116a5(0x29f)]();const _0xe0ba65=this[_0x3116a5(0x28a)]();_0x170d1a={'t':_0x3116a5(0x28e),'callee':_0x170d1a,'args':_0xe0ba65};continue;}break;}return _0x170d1a;}['parseArgs'](){const _0x251556=_0x282282,_0x146611=[];if(!this[_0x251556(0x13e)](_0x251556(0x248),')')){_0x146611[_0x251556(0x1a5)](this[_0x251556(0x137)]());while(this[_0x251556(0x13e)](_0x251556(0x248),',')){this['eat'](),_0x146611[_0x251556(0x1a5)](this[_0x251556(0x137)]());}}return this[_0x251556(0x298)](_0x251556(0x248),')'),_0x146611;}['parsePrimary'](){const _0x598258=_0x282282,_0x174b30=this[_0x598258(0x363)]();if(_0x174b30['t']===_0x598258(0x196))return this[_0x598258(0x29f)](),{'t':'Num','v':Number(_0x174b30['v'])};if(_0x174b30['t']===_0x598258(0x132)||_0x174b30['t']===_0x598258(0x2b2))return this[_0x598258(0x29f)](),{'t':'Str','v':_0x174b30['v']};if(_0x174b30['t']==='kw'&&(_0x174b30['v']==='true'||_0x174b30['v']==='false'))return this['eat'](),{'t':_0x598258(0x217),'v':_0x174b30['v']===_0x598258(0x2dd)};if(_0x174b30['t']==='kw'&&(_0x174b30['v']===_0x598258(0x1ca)||_0x174b30['v']===_0x598258(0x1ef)))return this[_0x598258(0x29f)](),{'t':_0x598258(0x303)};if(_0x174b30['t']===_0x598258(0x1e2))return this[_0x598258(0x29f)](),{'t':_0x598258(0x2c5),'name':_0x174b30['v']};if(_0x174b30['t']===_0x598258(0x248)&&_0x174b30['v']==='('){this[_0x598258(0x29f)]();const _0x27ff62=this[_0x598258(0x137)]();return this['expect'](_0x598258(0x248),')'),_0x27ff62;}if(_0x174b30['t']===_0x598258(0x248)&&_0x174b30['v']==='['){this['eat']();const _0x414c94=[];if(!this[_0x598258(0x13e)](_0x598258(0x248),']')){_0x414c94[_0x598258(0x1a5)](this[_0x598258(0x137)]());while(this[_0x598258(0x13e)](_0x598258(0x248),',')){this[_0x598258(0x29f)]();if(this[_0x598258(0x13e)]('punct',']'))break;_0x414c94['push'](this['parseAssign']());}}return this[_0x598258(0x298)](_0x598258(0x248),']'),{'t':_0x598258(0x330),'items':_0x414c94};}if(_0x174b30['t']===_0x598258(0x248)&&_0x174b30['v']==='{'){this[_0x598258(0x29f)]();const _0x3a7f7f=[];if(!this[_0x598258(0x13e)](_0x598258(0x248),'}'))do{let _0x5aa48b;const _0x280644=this[_0x598258(0x363)]();if(_0x280644['t']===_0x598258(0x1e2)||_0x280644['t']==='kw')this[_0x598258(0x29f)](),_0x5aa48b=_0x280644['v'];else{if(_0x280644['t']===_0x598258(0x132))this[_0x598258(0x29f)](),_0x5aa48b=_0x280644['v'];else throw new Error('SJS:\x20期待对象键\x20@'+_0x280644['pos']);}this[_0x598258(0x298)](_0x598258(0x248),':');const _0x178865=this[_0x598258(0x137)]();_0x3a7f7f[_0x598258(0x1a5)]({'key':_0x5aa48b,'value':_0x178865});if(this['match'](_0x598258(0x248),','))this[_0x598258(0x29f)]();else break;}while(!this['match'](_0x598258(0x248),'}'));return this[_0x598258(0x298)](_0x598258(0x248),'}'),{'t':_0x598258(0x2fd),'props':_0x3a7f7f};}throw new Error(_0x598258(0x1f2)+_0x174b30['v']+'\x27\x20@'+_0x174b30[_0x598258(0x2ee)]);}};function parseSjsProgram(_0x560b96){return new SjsParser(_0x560b96)['parseProgram']();}function parseSjsExpr(_0x20f7a7){const _0xc9be61=_0x282282;return new SjsParser(_0x20f7a7)[_0xc9be61(0x35b)]();}var SjsError=class extends Error{constructor(_0x54b6d6){const _0x5eda22=_0x282282;super(_0x54b6d6),this[_0x5eda22(0x254)]='SjsError';}},SjsCycleError=class extends SjsError{constructor(){const _0x97c467=_0x282282;super(_0x97c467(0x2a5));}},FORBIDDEN_PROPS=new Set([_0x282282(0x1d4),_0x282282(0x356),_0x282282(0x15d),_0x282282(0x1ff),_0x282282(0x2bf),'document',_0x282282(0x238),'process',_0x282282(0x24e),_0x282282(0x34d)]);function safeMember(_0x373613,_0x165660){const _0x5f0496=_0x282282;if(FORBIDDEN_PROPS[_0x5f0496(0x32c)](_0x165660))throw new SjsError(_0x5f0496(0x263)+_0x165660);if(_0x373613==null)throw new SjsError(_0x5f0496(0x220)+_0x165660);if(typeof _0x373613===_0x5f0496(0x347)||Array[_0x5f0496(0x2c4)](_0x373613)){if(_0x165660===_0x5f0496(0x296))return _0x373613[_0x5f0496(0x296)];if(Array['isArray'](_0x373613)){if(_0x165660==='at')return _0x38366e=>{const _0x531805=_0x5f0496,_0x2464ec=Number(_0x38366e);if(!Number[_0x531805(0x135)](_0x2464ec))return void 0x0;const _0x250b6f=_0x2464ec<0x0?_0x373613[_0x531805(0x296)]+Math['trunc'](_0x2464ec):Math[_0x531805(0x226)](_0x2464ec);return _0x373613[_0x250b6f];};if(_0x165660==='map'||_0x165660===_0x5f0496(0x1d1)||_0x165660===_0x5f0496(0x146))throw new SjsError(_0x5f0496(0x26e)+_0x165660+',请用\x20for…of');}}if(typeof _0x373613===_0x5f0496(0x201)){const _0x2ccf59=_0x373613;return _0x2ccf59[_0x165660];}throw new SjsError(_0x5f0496(0x291)+typeof _0x373613+'.'+_0x165660);}function safeIndex(_0x29aa9d,_0x3ebe32){const _0x89f9a7=_0x282282;if(typeof _0x3ebe32===_0x89f9a7(0x347))return safeMember(_0x29aa9d,_0x3ebe32);if(_0x29aa9d==null)throw new SjsError(_0x89f9a7(0x12f));const _0x18e2e2=Number(_0x3ebe32);if(!Number[_0x89f9a7(0x135)](_0x18e2e2))return void 0x0;if(Array['isArray'](_0x29aa9d)||typeof _0x29aa9d===_0x89f9a7(0x347))return _0x29aa9d[Math[_0x89f9a7(0x226)](_0x18e2e2)];throw new SjsError('\u5BF9\u8C61\u4E0D\u652F\u6301\u6570\u5B57\u7D22\u5F15');}var Scope=class _Scope{[_0x282282(0x362)]=new Map();[_0x282282(0x22b)];constructor(_0x57e873=null){const _0x4e6f3d=_0x282282;this[_0x4e6f3d(0x22b)]=_0x57e873;}[_0x282282(0x1f6)](){return new _Scope(this);}[_0x282282(0x355)](_0xd3dd50,_0xe5f8b2,_0x40550f){const _0x519989=_0x282282;if(this[_0x519989(0x362)][_0x519989(0x32c)](_0xd3dd50))throw new SjsError(_0x519989(0x2ae)+_0xd3dd50);this['map']['set'](_0xd3dd50,{'value':_0xe5f8b2,'kind':_0x40550f});}[_0x282282(0x213)](_0x537315){const _0xee9b0c=_0x282282;if(this[_0xee9b0c(0x362)][_0xee9b0c(0x32c)](_0x537315))return this[_0xee9b0c(0x362)][_0xee9b0c(0x213)](_0x537315)[_0xee9b0c(0x364)];if(this['parent'])return this[_0xee9b0c(0x22b)][_0xee9b0c(0x213)](_0x537315);throw new SjsError(_0xee9b0c(0x24b)+_0x537315);}[_0x282282(0x167)](_0x124fed,_0x41567a){const _0xa8295=_0x282282;if(this[_0xa8295(0x362)][_0xa8295(0x32c)](_0x124fed)){const _0x2a39f8=this[_0xa8295(0x362)][_0xa8295(0x213)](_0x124fed);if(_0x2a39f8['kind']===_0xa8295(0x22c))throw new SjsError('禁止修改\x20const:\x20'+_0x124fed);this[_0xa8295(0x362)][_0xa8295(0x167)](_0x124fed,{'value':_0x41567a,'kind':_0x2a39f8[_0xa8295(0x243)]});return;}if(this[_0xa8295(0x22b)])return this[_0xa8295(0x22b)]['set'](_0x124fed,_0x41567a);throw new SjsError(_0xa8295(0x2a1)+_0x124fed);}[_0x282282(0x32c)](_0x4d676a){const _0x3d0fec=_0x282282;return this[_0x3d0fec(0x362)][_0x3d0fec(0x32c)](_0x4d676a)||(this[_0x3d0fec(0x22b)]?this['parent']['has'](_0x4d676a):![]);}},ReturnSignal=class{constructor(_0x3c34e4){const _0x32fa50=_0x282282;this[_0x32fa50(0x364)]=_0x3c34e4;}[_0x282282(0x364)];};function evalExpr(_0x597e00,_0x4db39e){const _0x4a56cf=_0x282282;switch(_0x597e00['t']){case _0x4a56cf(0x31e):return _0x597e00['v'];case _0x4a56cf(0x219):return _0x597e00['v'];case'Bool':return _0x597e00['v'];case _0x4a56cf(0x303):return null;case'Ident':return _0x4db39e[_0x4a56cf(0x213)](_0x597e00[_0x4a56cf(0x254)]);case _0x4a56cf(0x330):return _0x597e00[_0x4a56cf(0x280)]['map'](_0x351cfa=>evalExpr(_0x351cfa,_0x4db39e));case _0x4a56cf(0x2fd):{const _0x41f777={};for(const _0x12e8c0 of _0x597e00[_0x4a56cf(0x1b5)])_0x41f777[_0x12e8c0['key']]=evalExpr(_0x12e8c0[_0x4a56cf(0x364)],_0x4db39e);return _0x41f777;}case _0x4a56cf(0x2bd):{const _0x549d9e=evalExpr(_0x597e00[_0x4a56cf(0x324)],_0x4db39e);if(_0x597e00[_0x4a56cf(0x337)]&&_0x549d9e==null)return void 0x0;const _0x1d13f6=safeMember(_0x549d9e,_0x597e00[_0x4a56cf(0x1eb)]);return typeof _0x1d13f6===_0x4a56cf(0x222)?_0x1d13f6:_0x1d13f6;}case _0x4a56cf(0x341):{const _0x2c9f04=evalExpr(_0x597e00['obj'],_0x4db39e);if(_0x597e00['optional']&&_0x2c9f04==null)return void 0x0;const _0xcbc8f0=evalExpr(_0x597e00[_0x4a56cf(0x2ca)],_0x4db39e),_0x5a3d08=safeIndex(_0x2c9f04,_0xcbc8f0);return typeof _0x5a3d08===_0x4a56cf(0x222)?_0x5a3d08:_0x5a3d08;}case'Call':{let _0x56f626;if(_0x597e00[_0x4a56cf(0x11c)]['t']===_0x4a56cf(0x2bd)){const _0x246c47=evalExpr(_0x597e00[_0x4a56cf(0x11c)][_0x4a56cf(0x324)],_0x4db39e);if(_0x597e00[_0x4a56cf(0x11c)]['optional']&&_0x246c47==null)return void 0x0;const _0x5988b1=safeMember(_0x246c47,_0x597e00[_0x4a56cf(0x11c)][_0x4a56cf(0x1eb)]);if(typeof _0x5988b1!==_0x4a56cf(0x222))throw new SjsError('非函数:\x20.'+_0x597e00[_0x4a56cf(0x11c)][_0x4a56cf(0x1eb)]);_0x56f626=_0x5988b1;}else{const _0x58a937=evalExpr(_0x597e00['callee'],_0x4db39e);if(_0x597e00[_0x4a56cf(0x337)]&&_0x58a937==null)return void 0x0;if(typeof _0x58a937!=='function')throw new SjsError(_0x4a56cf(0x20d));_0x56f626=_0x58a937;}const _0xb4fdde=_0x597e00[_0x4a56cf(0x358)][_0x4a56cf(0x362)](_0x3c6c8a=>evalExpr(_0x3c6c8a,_0x4db39e));return _0x56f626(..._0xb4fdde);}case _0x4a56cf(0x2e2):{const _0xa95881=evalExpr(_0x597e00[_0x4a56cf(0x183)],_0x4db39e);if(_0x597e00['op']==='+')return Number(_0xa95881);if(_0x597e00['op']==='-')return-Number(_0xa95881);return!_0xa95881;}case _0x4a56cf(0x258):return applyBin(_0x597e00['op'],evalExpr(_0x597e00['l'],_0x4db39e),()=>evalExpr(_0x597e00['r'],_0x4db39e));case _0x4a56cf(0x29c):return evalExpr(_0x597e00['c'],_0x4db39e)?evalExpr(_0x597e00['a'],_0x4db39e):evalExpr(_0x597e00['b'],_0x4db39e);case _0x4a56cf(0x302):{const _0x98c85d=evalExpr(_0x597e00[_0x4a56cf(0x364)],_0x4db39e);let _0x1734cb;if(_0x597e00['op']==='=')_0x1734cb=_0x98c85d;else{const _0x2e8a56=_0x4db39e[_0x4a56cf(0x213)](_0x597e00[_0x4a56cf(0x254)]);if(_0x597e00['op']==='+=')typeof _0x2e8a56==='string'||typeof _0x98c85d===_0x4a56cf(0x347)?_0x1734cb=String(_0x2e8a56??'')+String(_0x98c85d??''):_0x1734cb=Number(_0x2e8a56)+Number(_0x98c85d);else{if(_0x597e00['op']==='-=')_0x1734cb=Number(_0x2e8a56)-Number(_0x98c85d);else{if(_0x597e00['op']==='*=')_0x1734cb=Number(_0x2e8a56)*Number(_0x98c85d);else{if(_0x597e00['op']==='/=')_0x1734cb=Number(_0x2e8a56)/Number(_0x98c85d);else _0x1734cb=Number(_0x2e8a56)**Number(_0x98c85d);}}}}return _0x4db39e['set'](_0x597e00[_0x4a56cf(0x254)],_0x1734cb),_0x1734cb;}}}function applyBin(_0x2157a2,_0x423c4b,_0x2b8a68){const _0x292e98=_0x282282;if(_0x2157a2==='&&')return _0x423c4b?_0x2b8a68():_0x423c4b;if(_0x2157a2==='||')return _0x423c4b?_0x423c4b:_0x2b8a68();if(_0x2157a2==='??')return _0x423c4b==null?_0x2b8a68():_0x423c4b;const _0x573dba=_0x2b8a68();switch(_0x2157a2){case'+':if(typeof _0x423c4b===_0x292e98(0x347)||typeof _0x573dba===_0x292e98(0x347))return String(_0x423c4b??'')+String(_0x573dba??'');return Number(_0x423c4b)+Number(_0x573dba);case'-':return Number(_0x423c4b)-Number(_0x573dba);case'*':return Number(_0x423c4b)*Number(_0x573dba);case'/':return Number(_0x423c4b)/Number(_0x573dba);case'%':return Number(_0x423c4b)%Number(_0x573dba);case'**':return Number(_0x423c4b)**Number(_0x573dba);case'==':return _0x423c4b==_0x573dba;case'!=':return _0x423c4b!=_0x573dba;case _0x292e98(0x377):return _0x423c4b===_0x573dba;case _0x292e98(0x319):return _0x423c4b!==_0x573dba;case'<':return _0x423c4b<_0x573dba;case'<=':return _0x423c4b<=_0x573dba;case'>':return _0x423c4b>_0x573dba;case'>=':return _0x423c4b>=_0x573dba;}throw new SjsError(_0x292e98(0x361)+_0x2157a2);}function execStmt(_0x5e9b2a,_0x2307f7){const _0x3d0301=_0x282282;switch(_0x5e9b2a['t']){case _0x3d0301(0x2c2):_0x2307f7[_0x3d0301(0x355)](_0x5e9b2a['name'],_0x5e9b2a[_0x3d0301(0x333)]==null?void 0x0:evalExpr(_0x5e9b2a[_0x3d0301(0x333)],_0x2307f7),_0x5e9b2a[_0x3d0301(0x243)]);return;case _0x3d0301(0x26a):evalExpr(_0x5e9b2a[_0x3d0301(0x183)],_0x2307f7);return;case'If':{const _0xbd65b8=evalExpr(_0x5e9b2a[_0x3d0301(0x171)],_0x2307f7);if(_0xbd65b8)execBlock(_0x5e9b2a['then'],_0x2307f7['child']());else _0x5e9b2a[_0x3d0301(0x1db)]&&execBlock(_0x5e9b2a['else'],_0x2307f7[_0x3d0301(0x1f6)]());return;}case _0x3d0301(0x21f):{const _0x5f558e=evalExpr(_0x5e9b2a['iter'],_0x2307f7);if(!Array[_0x3d0301(0x2c4)](_0x5f558e))throw new SjsError(_0x3d0301(0x12d));for(const _0x5890ee of _0x5f558e){const _0x1b7f9a=_0x2307f7['child']();_0x1b7f9a[_0x3d0301(0x355)](_0x5e9b2a[_0x3d0301(0x254)],_0x5890ee,_0x3d0301(0x22c)),execBlock(_0x5e9b2a[_0x3d0301(0x300)],_0x1b7f9a);}return;}case _0x3d0301(0x2e8):throw new ReturnSignal(_0x5e9b2a['arg']==null?void 0x0:evalExpr(_0x5e9b2a[_0x3d0301(0x317)],_0x2307f7));case _0x3d0301(0x173):execBlock(_0x5e9b2a['body'],_0x2307f7[_0x3d0301(0x1f6)]());return;}}function execBlock(_0x3cd3ab,_0x4b1c09){for(const _0x195154 of _0x3cd3ab)execStmt(_0x195154,_0x4b1c09);}function runSjs(_0x2a7948,_0x197911){const _0x523eeb=_0x282282,_0x5c8c05=parseSjsProgram(_0x2a7948),_0x207ef0=new Scope();for(const [_0x66fc1c,_0x348a19]of Object[_0x523eeb(0x172)](_0x197911))_0x207ef0[_0x523eeb(0x355)](_0x66fc1c,_0x348a19,_0x523eeb(0x22c));try{if(_0x5c8c05[_0x523eeb(0x300)][_0x523eeb(0x296)]===0x1&&_0x5c8c05[_0x523eeb(0x300)][0x0]['t']===_0x523eeb(0x26a))return evalExpr(_0x5c8c05[_0x523eeb(0x300)][0x0][_0x523eeb(0x183)],_0x207ef0);for(const _0x1afe19 of _0x5c8c05[_0x523eeb(0x300)])execStmt(_0x1afe19,_0x207ef0);return void 0x0;}catch(_0x483394){if(_0x483394 instanceof ReturnSignal)return _0x483394[_0x523eeb(0x364)];throw _0x483394;}}function runSjsExpr(_0x43607d,_0xbdcb07){const _0x2c76cd=_0x282282,_0x4b5004=parseSjsExpr(_0x43607d),_0x48cfc2=new Scope();for(const [_0x40400c,_0x5da840]of Object[_0x2c76cd(0x172)](_0xbdcb07))_0x48cfc2[_0x2c76cd(0x355)](_0x40400c,_0x5da840,'const');return evalExpr(_0x4b5004,_0x48cfc2);}function collectReferencedRoots(_0x21ee96,_0x95c6f4){const _0x1df718=_0x282282,_0xf07593=_0x95c6f4?parseSjsExpr(_0x21ee96):null,_0x108263=_0x95c6f4?null:parseSjsProgram(_0x21ee96),_0x215928=new Set(),_0x37a3eb=_0x91ff90=>{const _0xde3229=_0x2416;switch(_0x91ff90['t']){case'Ident':_0x215928[_0xde3229(0x35e)](_0x91ff90[_0xde3229(0x254)]);return;case'Member':_0x37a3eb(_0x91ff90['obj']);return;case _0xde3229(0x341):_0x37a3eb(_0x91ff90[_0xde3229(0x324)]),_0x37a3eb(_0x91ff90[_0xde3229(0x2ca)]);return;case _0xde3229(0x28e):_0x37a3eb(_0x91ff90[_0xde3229(0x11c)]),_0x91ff90[_0xde3229(0x358)][_0xde3229(0x146)](_0x37a3eb);return;case _0xde3229(0x2e2):_0x37a3eb(_0x91ff90['expr']);return;case'Bin':_0x37a3eb(_0x91ff90['l']),_0x37a3eb(_0x91ff90['r']);return;case _0xde3229(0x29c):_0x37a3eb(_0x91ff90['c']),_0x37a3eb(_0x91ff90['a']),_0x37a3eb(_0x91ff90['b']);return;case'Arr':_0x91ff90[_0xde3229(0x280)][_0xde3229(0x146)](_0x37a3eb);return;case'Obj':_0x91ff90[_0xde3229(0x1b5)][_0xde3229(0x146)](_0x335d41=>_0x37a3eb(_0x335d41['value']));return;case _0xde3229(0x302):_0x215928[_0xde3229(0x35e)](_0x91ff90['name']),_0x37a3eb(_0x91ff90[_0xde3229(0x364)]);return;}},_0x3d2bec=_0x108954=>{const _0x36aafd=_0x2416;switch(_0x108954['t']){case'VarDecl':if(_0x108954['init'])_0x37a3eb(_0x108954['init']);return;case _0x36aafd(0x26a):_0x37a3eb(_0x108954[_0x36aafd(0x183)]);return;case'If':_0x37a3eb(_0x108954['cond']),_0x108954[_0x36aafd(0x19b)][_0x36aafd(0x146)](_0x3d2bec);if(_0x108954['else'])_0x108954[_0x36aafd(0x1db)][_0x36aafd(0x146)](_0x3d2bec);return;case _0x36aafd(0x21f):_0x37a3eb(_0x108954[_0x36aafd(0x2c6)]),_0x108954[_0x36aafd(0x300)][_0x36aafd(0x146)](_0x3d2bec);return;case _0x36aafd(0x2e8):if(_0x108954[_0x36aafd(0x317)])_0x37a3eb(_0x108954['arg']);return;case _0x36aafd(0x173):_0x108954['body']['forEach'](_0x3d2bec);return;}};if(_0xf07593)_0x37a3eb(_0xf07593);if(_0x108263)_0x108263[_0x1df718(0x300)]['forEach'](_0x3d2bec);return _0x215928;}var BUILTIN_PARAM_CATALOG_CODES=[_0x282282(0x279),_0x282282(0x1fc),'currentDate',_0x282282(0x25a),'tenantName',_0x282282(0x125),_0x282282(0x155)],RUNTIME_ONLY_SYSTEM_PARAM_CODES=[_0x282282(0x174),_0x282282(0x2fc),_0x282282(0x13f),_0x282282(0x31c),_0x282282(0x37a)],LEGACY_SYSTEM_PARAM_ALIASES={'pagecurrent':_0x282282(0x279),'pageindex':_0x282282(0x279),'pagetotal':_0x282282(0x1fc),'pagecount':_0x282282(0x1fc),'subtableregioncount':_0x282282(0x37a)},LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS={'pageCurrent':_0x282282(0x279),'pageIndex':_0x282282(0x279),'pageTotal':'totalPageNumber','pageCount':_0x282282(0x1fc)},CANONICAL_PARAM_LOOKUP=new Map([...BUILTIN_PARAM_CATALOG_CODES,...RUNTIME_ONLY_SYSTEM_PARAM_CODES][_0x282282(0x362)](_0x3d5f16=>[_0x3d5f16[_0x282282(0x193)](),_0x3d5f16]));function normalizeSystemParamId(_0x2e1894){const _0x42d6f4=_0x282282,_0x3c55be=_0x2e1894['trim']();if(!_0x3c55be)return _0x3c55be;const _0x3df80f=_0x3c55be[_0x42d6f4(0x193)](),_0x4830cd=LEGACY_SYSTEM_PARAM_ALIASES[_0x3df80f];if(_0x4830cd)return _0x4830cd;return CANONICAL_PARAM_LOOKUP[_0x42d6f4(0x213)](_0x3df80f)??_0x3c55be;}function isKnownSystemParamId(_0x566088){const _0x1d285f=_0x282282,_0x12bb70=normalizeSystemParamId(_0x566088);return BUILTIN_PARAM_CATALOG_CODES[_0x1d285f(0x372)](_0x12bb70)||RUNTIME_ONLY_SYSTEM_PARAM_CODES[_0x1d285f(0x372)](_0x12bb70);}var RUNTIME_COMPUTED_SYSTEM_PARAM_CODES=[...BUILTIN_PARAM_CATALOG_CODES,...RUNTIME_ONLY_SYSTEM_PARAM_CODES];function isRuntimeComputedSystemParam(_0x2bb51a){const _0x404db8=normalizeSystemParamId(_0x2bb51a);return RUNTIME_COMPUTED_SYSTEM_PARAM_CODES['includes'](_0x404db8);}function listKnownSystemParamIdsForTemplate(){const _0xf40c11=_0x282282;return listTemplateSystemParamTokenEntries()[_0xf40c11(0x362)](_0x43c3f3=>_0x43c3f3[_0xf40c11(0x1fa)]);}function listTemplateSystemParamTokenEntries(){const _0x209b93=_0x282282,_0x1faeda=new Set(),_0x5e31d6=[],_0x3a334a=(_0x4f4344,_0x3cebd8)=>{const _0x98f5aa=_0x2416;if(!_0x4f4344||_0x1faeda[_0x98f5aa(0x32c)](_0x4f4344))return;_0x1faeda['add'](_0x4f4344),_0x5e31d6[_0x98f5aa(0x1a5)]({'token':_0x4f4344,'canonical':_0x3cebd8});};for(const _0x577c3d of RUNTIME_COMPUTED_SYSTEM_PARAM_CODES){_0x3a334a(_0x577c3d,_0x577c3d);}for(const [_0x3900e1,_0x53564d]of Object[_0x209b93(0x172)](LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS)){_0x3a334a(_0x3900e1,_0x53564d);}return _0x5e31d6[_0x209b93(0x309)]((_0x85f5c4,_0xb85447)=>_0xb85447[_0x209b93(0x1fa)][_0x209b93(0x296)]-_0x85f5c4[_0x209b93(0x1fa)][_0x209b93(0x296)]);}function cellMetaCompoundKey(_0x2030b7,_0x136dd1){return _0x2030b7+'::'+_0x136dd1;}function parseCellMetaCompoundKey(_0x71a90a){const _0x14a111=_0x282282,_0x1f79b5=_0x71a90a[_0x14a111(0x1f7)]('::');if(_0x1f79b5<=0x0)return null;return{'sheetId':_0x71a90a[_0x14a111(0x28b)](0x0,_0x1f79b5),'cellKey':_0x71a90a[_0x14a111(0x28b)](_0x1f79b5+0x2)};}var DEFAULT_FLAGS={'onCommit':!![],'onCompute':!![]};function normalizeRoundingTriggers(_0x4a575f){const _0x30fb6e=_0x282282;if(_0x4a575f==null)return{...DEFAULT_FLAGS};if(_0x4a575f[_0x30fb6e(0x296)]===0x0)return{'onCommit':![],'onCompute':![]};return{'onCommit':_0x4a575f[_0x30fb6e(0x372)](_0x30fb6e(0x1ec)),'onCompute':_0x4a575f[_0x30fb6e(0x372)](_0x30fb6e(0x12c))};}function presetToTriggers(_0x99856f){const _0x24737f=_0x282282;switch(_0x99856f){case'both':return[_0x24737f(0x1ec),_0x24737f(0x12c)];case _0x24737f(0x2c0):return[_0x24737f(0x1ec)];case'computeOnly':return[_0x24737f(0x12c)];case _0x24737f(0x299):return[];default:return[_0x24737f(0x1ec),_0x24737f(0x12c)];}}function triggersToPreset(_0x1ee73d){const _0x21599e=_0x282282,_0x7c652f=normalizeRoundingTriggers(_0x1ee73d);if(_0x7c652f['onCommit']&&_0x7c652f[_0x21599e(0x12c)])return _0x21599e(0x210);if(_0x7c652f['onCommit']&&!_0x7c652f['onCompute'])return _0x21599e(0x2c0);if(!_0x7c652f[_0x21599e(0x1ec)]&&_0x7c652f['onCompute'])return'computeOnly';return _0x21599e(0x299);}var ROUNDING_WHEN_LABELS={'both':_0x282282(0x2ef),'commitOnly':'\u4EC5\u5F55\u5165\u65F6','computeOnly':_0x282282(0x247),'none':_0x282282(0x271)};function describeRoundingWhenPreset(_0x5b3e30){const _0x56f882=_0x282282;return ROUNDING_WHEN_LABELS[_0x5b3e30]??ROUNDING_WHEN_LABELS[_0x56f882(0x210)];}function getRoundingForCommit(_0x1e28c7){const _0x3c0de6=_0x282282;if(!_0x1e28c7?.[_0x3c0de6(0x1a2)])return void 0x0;const _0x47bc0b=normalizeRoundingTriggers(_0x1e28c7['triggers']);return _0x47bc0b['onCommit']?_0x1e28c7:void 0x0;}function getRoundingForComputeMeta(_0x3ca983){const _0xd63590=_0x282282;if(!_0x3ca983?.[_0xd63590(0x1a2)])return void 0x0;const _0x58547f=normalizeRoundingTriggers(_0x3ca983['triggers']);return _0x58547f[_0xd63590(0x12c)]?_0x3ca983:void 0x0;}var DEFAULT_ROUND_MODE=_0x282282(0x202);function isPlainObject(_0x3104f2){const _0x5b513f=_0x282282;return _0x3104f2!=null&&typeof _0x3104f2===_0x5b513f(0x201)&&!Array[_0x5b513f(0x2c4)](_0x3104f2);}function getRoundingMetaFromCellMetaEntry(_0x191e4f){const _0x2c5280=_0x282282;if(!isPlainObject(_0x191e4f))return void 0x0;const _0x5bd791=_0x191e4f[_0x2c5280(0x191)];if(isPlainObject(_0x5bd791))return _0x5bd791;if(_0x191e4f[_0x2c5280(0x1a2)]!=null||_0x191e4f[_0x2c5280(0x129)]!=null||_0x191e4f[_0x2c5280(0x175)]!=null||_0x191e4f[_0x2c5280(0x2f2)]!=null)return{'roundMode':_0x191e4f['roundMode'],'scale':_0x191e4f['scale'],'interval':_0x191e4f[_0x2c5280(0x175)],'sigDigits':_0x191e4f['sigDigits'],'triggers':_0x191e4f[_0x2c5280(0x1e3)]};return void 0x0;}function tryParseNumericString(_0x59acca){const _0x38b8c6=_0x282282,_0x251651=String(_0x59acca)['trim']();if(_0x251651==='')return null;const _0x4771de=_0x251651[_0x38b8c6(0x2f5)](/,/g,'');if(_0x4771de===''||_0x4771de==='-'||_0x4771de==='+')return null;const _0x4bb40c=Number(_0x4771de);return Number[_0x38b8c6(0x135)](_0x4bb40c)?_0x4bb40c:null;}function formatNumericByMeta(_0x540561,_0x208896){const _0x163faf=_0x282282;if(_0x208896==null)return _0x540561;const _0x4ec86e=tryParseNumericString(_0x540561);if(_0x4ec86e===null)return _0x540561;const _0x5328cd=applyRounding(_0x4ec86e,_0x208896);if(!Number['isFinite'](_0x5328cd))return _0x540561;const _0x1acbe8=_0x208896['roundMode']??DEFAULT_ROUND_MODE;if(_0x1acbe8==='to_interval'){const _0x9ea716=Number(_0x208896[_0x163faf(0x175)]),_0x27fe0f=decimalPlaces(_0x9ea716);return _0x5328cd['toFixed'](_0x27fe0f);}if(_0x1acbe8===_0x163faf(0x27a))return formatSignificant(_0x5328cd,Math[_0x163faf(0x218)](0x1,Math[_0x163faf(0x25b)](_0x208896[_0x163faf(0x2f2)]??0x1)));const _0x151c3a=_0x208896[_0x163faf(0x129)];if(typeof _0x151c3a!=='number'||!Number[_0x163faf(0x135)](_0x151c3a))return String(_0x5328cd);if(_0x151c3a<=0x0)return String(_0x5328cd);return _0x5328cd[_0x163faf(0x351)](Math['floor'](_0x151c3a));}function applyRoundingForInstancePlain(_0x3621eb,_0x208d78,_0x6f8731,_0x54693d,_0x5b366e){const _0x4987e0=cellMetaCompoundKey(_0x6f8731,'r'+_0x54693d+'c'+_0x5b366e),_0x339fab=cellMetaCompoundKey(_0x6f8731,_0x4f1eb4(_0x54693d,_0x5b366e)),_0x8ecf54=_0x208d78?.[_0x4987e0]??_0x208d78?.[_0x339fab],_0x3675b3=getRoundingForCommit(getRoundingMetaFromCellMetaEntry(_0x8ecf54));return formatNumericByMeta(_0x3621eb,_0x3675b3);}function applyRounding(_0x45588d,_0x397b2e){const _0x28ec77=_0x282282;if(!Number[_0x28ec77(0x135)](_0x45588d)||_0x397b2e==null)return _0x45588d;const _0x654280=_0x397b2e['roundMode']??DEFAULT_ROUND_MODE;if(_0x654280===_0x28ec77(0x189)){const _0x3f3fba=Number(_0x397b2e['interval']);if(!Number[_0x28ec77(0x135)](_0x3f3fba)||_0x3f3fba<=0x0)return _0x45588d;return roundToInterval(_0x45588d,_0x3f3fba);}if(_0x654280===_0x28ec77(0x27a)){const _0xfeba2=Math['max'](0x1,Math[_0x28ec77(0x25b)](_0x397b2e[_0x28ec77(0x2f2)]??0x1));return roundToSignificant(_0x45588d,_0xfeba2);}const _0xc76410=_0x397b2e['scale'];if(typeof _0xc76410!==_0x28ec77(0x24a)||!Number[_0x28ec77(0x135)](_0xc76410))return _0x45588d;return roundFinite(_0x45588d,Math[_0x28ec77(0x25b)](_0xc76410),_0x654280??DEFAULT_ROUND_MODE);}function roundFinite(_0xd17855,_0x3d0883,_0x8263c7){const _0x3b20cb=_0x282282;if(!Number[_0x3b20cb(0x135)](_0xd17855))return _0xd17855;const _0x1c7118=clampInt(_0x3d0883,-0x12,0x12),_0x5ae9b2=0xa**_0x1c7118,_0x44bf3b=_0xd17855*_0x5ae9b2;switch(_0x8263c7){case _0x3b20cb(0x246):return(_0xd17855<0x0?Math[_0x3b20cb(0x2d1)](_0x44bf3b):Math['floor'](_0x44bf3b))/_0x5ae9b2;case _0x3b20cb(0x2bb):return Math[_0x3b20cb(0x2d1)](_0x44bf3b-1e-12*Math['sign'](_0x44bf3b))/_0x5ae9b2;case'floor':return Math[_0x3b20cb(0x25b)](_0x44bf3b+1e-12*Math['sign'](_0x44bf3b))/_0x5ae9b2;case'half_even':{const _0x53eafd=_0x44bf3b===0x0?0x1:Math['sign'](_0x44bf3b),_0x2df6c3=roundHalfToEvenMag(Math[_0x3b20cb(0x23e)](_0x44bf3b));return _0x53eafd*_0x2df6c3/_0x5ae9b2;}case'half_up':default:{if(_0x1c7118>=0x0){const _0x116414=Number(_0xd17855+'e'+_0x1c7118);return Number(Math[_0x3b20cb(0x250)](_0x116414)+'e'+-_0x1c7118);}const _0x184c31=_0xd17855<0x0?-0x1:0x1,_0x2babc9=Math['abs'](_0xd17855),_0x1a4446=Math[_0x3b20cb(0x250)](_0x2babc9*_0x5ae9b2)/_0x5ae9b2;return _0x184c31*_0x1a4446;}}}function roundToInterval(_0x20a6bb,_0x50ccda,_0x234c7a=_0x282282(0x202)){const _0x35e8e6=_0x282282;if(!Number[_0x35e8e6(0x135)](_0x20a6bb)||!Number[_0x35e8e6(0x135)](_0x50ccda)||_0x50ccda<=0x0)return _0x20a6bb;const _0x2982fd=_0x20a6bb/_0x50ccda,_0x2e2c44=_0x234c7a==='half_even'?roundFinite(_0x2982fd,0x0,'half_even'):roundFinite(_0x2982fd,0x0,'half_up');return _0x2e2c44*_0x50ccda;}function roundToSignificant(_0x50287e,_0x1bd208){const _0x3c4f3d=_0x282282;if(!Number[_0x3c4f3d(0x135)](_0x50287e)||_0x50287e===0x0)return _0x50287e;const _0x54234c=_0x50287e<0x0?-0x1:0x1,_0x8af237=Math[_0x3c4f3d(0x23e)](_0x50287e),_0x229db3=Math[_0x3c4f3d(0x25b)](Math[_0x3c4f3d(0x35f)](_0x8af237)),_0x8677f1=_0x1bd208-0x1-_0x229db3;return _0x54234c*roundFinite(_0x8af237,_0x8677f1,_0x3c4f3d(0x234));}function formatSignificant(_0xded7a1,_0xdef20b){const _0x3093fe=_0x282282;if(!Number[_0x3093fe(0x135)](_0xded7a1)||_0xded7a1===0x0)return _0xded7a1===0x0?_0xdef20b>0x1?0x0[_0x3093fe(0x351)](_0xdef20b-0x1):'0':String(_0xded7a1);const _0x18304a=_0xded7a1<0x0?'-':'',_0x1e9798=Math[_0x3093fe(0x23e)](_0xded7a1),_0x6323fd=Math[_0x3093fe(0x25b)](Math[_0x3093fe(0x35f)](_0x1e9798)),_0x57179c=Math[_0x3093fe(0x218)](0x0,_0xdef20b-0x1-_0x6323fd);return _0x18304a+_0x1e9798[_0x3093fe(0x351)](_0x57179c);}function roundHalfToEvenMag(_0x2e03b3){const _0x46515a=_0x282282,_0x1c5cd8=Math[_0x46515a(0x23e)](_0x2e03b3),_0x3d3d85=Math[_0x46515a(0x25b)](_0x1c5cd8+1e-12),_0x1891e5=_0x1c5cd8-_0x3d3d85,_0x17119c=1e-9;if(_0x1891e5+_0x17119c<0.5)return _0x3d3d85;if(_0x1891e5-_0x17119c>0.5)return _0x3d3d85+0x1;return _0x3d3d85%0x2===0x0?_0x3d3d85:_0x3d3d85+0x1;}function decimalPlaces(_0x4497f9){const _0x56b2bd=_0x282282;if(!Number[_0x56b2bd(0x135)](_0x4497f9))return 0x0;const _0x5d6ddc=String(_0x4497f9),_0x4adc4e=_0x5d6ddc[_0x56b2bd(0x1f7)]('.');return _0x4adc4e<0x0?0x0:_0x5d6ddc['length']-_0x4adc4e-0x1;}function clampInt(_0x5033ae,_0x5e1e63,_0x4c37c9){const _0x1ec442=_0x282282,_0x4c2046=Math[_0x1ec442(0x226)](_0x5033ae);return _0x4c2046<_0x5e1e63?_0x5e1e63:_0x4c2046>_0x4c37c9?_0x4c37c9:_0x4c2046;}function resolveSubRowStatKey(_0x4b9878,_0x2ac2f4){const _0x18058c=_0x282282,_0x1177f7=(_0x4b9878?.[_0x18058c(0x284)]??[])[_0x18058c(0x1d1)](_0x9e1b5=>_0x9e1b5[_0x18058c(0x325)]===_0x2ac2f4),_0x2e597a=_0x1177f7[_0x18058c(0x367)](_0x596859=>_0x596859[_0x18058c(0x31b)]===!![]);if(_0x2e597a?.[_0x18058c(0x326)])return _0x2e597a['bindingKey']['trim']();const _0x2b6e06=[..._0x1177f7][_0x18058c(0x309)]((_0x410ee8,_0x27648d)=>(_0x410ee8[_0x18058c(0x119)]??0x0)-(_0x27648d[_0x18058c(0x119)]??0x0));return _0x2b6e06[0x0]?.[_0x18058c(0x326)]?.['trim']()??'';}function countActiveSubRows(_0x5aedb8,_0x374cfc){const _0x2da0f0=_0x374cfc['trim']();if(!_0x2da0f0)return 0x0;let _0x2c092c=0x0;for(const _0x57463c of _0x5aedb8){const _0x1626c1=_0x57463c[_0x2da0f0];if(_0x1626c1!=null&&_0x1626c1!=='')_0x2c092c+=0x1;}return _0x2c092c;}function activeSubRowIndices(_0x2bebb2,_0x562352){const _0x3ce2b1=_0x282282,_0x2684b2=_0x562352[_0x3ce2b1(0x335)]();if(!_0x2684b2)return _0x2bebb2[_0x3ce2b1(0x362)]((_0x182c4a,_0x50e23f)=>_0x50e23f);const _0x2a4a06=[];for(let _0x21a3ef=0x0;_0x21a3ef<_0x2bebb2[_0x3ce2b1(0x296)];_0x21a3ef+=0x1){const _0x147fbd=_0x2bebb2[_0x21a3ef]?.[_0x2684b2];if(_0x147fbd!=null&&_0x147fbd!=='')_0x2a4a06[_0x3ce2b1(0x1a5)](_0x21a3ef);}return _0x2a4a06;}function buildActiveSubRowCounts(_0x51ba77,_0x3b037c){const _0x2272ed=_0x282282,_0x2f29fa={};for(const [_0x91dca1,_0x228f3f]of Object[_0x2272ed(0x172)](_0x51ba77)){const _0x11b13c=Number(_0x91dca1);if(!Number[_0x2272ed(0x135)](_0x11b13c))continue;const _0x3cc32a=resolveSubRowStatKey(_0x3b037c,_0x11b13c);_0x2f29fa[_0x11b13c]=countActiveSubRows(_0x228f3f,_0x3cc32a);}return _0x2f29fa;}function normalizeSubFieldSlotForFormula(_0x1869f0){const _0x11bafb=_0x282282;if(_0x1869f0!=null&&typeof _0x1869f0===_0x11bafb(0x201)&&!Array[_0x11bafb(0x2c4)](_0x1869f0)&&_0x11bafb(0x364)in _0x1869f0){const _0x53892a=_0x1869f0[_0x11bafb(0x364)];if(_0x53892a==null||_0x53892a==='')return'';if(typeof _0x53892a===_0x11bafb(0x24a)&&Number[_0x11bafb(0x135)](_0x53892a))return _0x53892a;if(typeof _0x53892a===_0x11bafb(0x29b))return _0x53892a;const _0x1311a0=typeof _0x53892a==='string'?_0x53892a:String(_0x53892a),_0x120e3a=tryParseNumericString(_0x1311a0);return _0x120e3a!=null?_0x120e3a:_0x1311a0;}return _0x1869f0;}function subFieldPersistValueFromCell(_0x172e20){const _0x374d17=_0x282282,_0x1e05fa=_0x172e20?.['value']??'',_0x3fecf2=_0x1e05fa==null?'':typeof _0x1e05fa===_0x374d17(0x347)?_0x1e05fa:String(_0x1e05fa);if(_0x172e20?.[_0x374d17(0x294)]?.[_0x374d17(0x296)])return{'value':_0x3fecf2,'runs':_0x172e20[_0x374d17(0x294)]};if(_0x3fecf2==='')return'';const _0x546290=tryParseNumericString(_0x3fecf2);return _0x546290!=null?_0x546290:_0x3fecf2;}function isSubFieldRichPersist(_0x389cc5){const _0x12ccca=_0x282282;if(_0x389cc5==null||typeof _0x389cc5!=='object'||Array[_0x12ccca(0x2c4)](_0x389cc5))return![];if(!(_0x12ccca(0x364)in _0x389cc5))return![];const _0x498161=_0x389cc5;if(typeof _0x498161[_0x12ccca(0x364)]!==_0x12ccca(0x347))return![];return Array[_0x12ccca(0x2c4)](_0x498161['runs'])&&_0x498161[_0x12ccca(0x294)][_0x12ccca(0x296)]>0x0;}function accValToCellParts(_0x578c5a){const _0x152eb5=_0x282282;if(isSubFieldRichPersist(_0x578c5a))return{'value':_0x578c5a[_0x152eb5(0x364)],'runs':_0x578c5a['runs']};if(_0x578c5a!=null&&typeof _0x578c5a===_0x152eb5(0x201)&&!Array[_0x152eb5(0x2c4)](_0x578c5a)&&_0x152eb5(0x364)in _0x578c5a){const _0x400315=_0x578c5a,_0x31f18e=_0x400315[_0x152eb5(0x364)]==null?'':typeof _0x400315[_0x152eb5(0x364)]===_0x152eb5(0x347)?_0x400315[_0x152eb5(0x364)]:String(_0x400315[_0x152eb5(0x364)]);return{'value':_0x31f18e};}const _0x4a11d0=_0x578c5a==null?'':typeof _0x578c5a==='string'?_0x578c5a:typeof _0x578c5a==='number'||typeof _0x578c5a===_0x152eb5(0x29b)?String(_0x578c5a):JSON[_0x152eb5(0x31f)](_0x578c5a);return{'value':_0x4a11d0};}function mergeSubFieldCellFromAccValue(_0x59fce6,_0x206909){const _0x1556bc=_0x282282,{value:_0x10bb1e,runs:_0x157ae3}=accValToCellParts(_0x206909),_0x4471eb=_0x59fce6??{'value':''},_0x5c9da8={..._0x4471eb,'value':_0x10bb1e};if(_0x157ae3?.[_0x1556bc(0x296)])_0x5c9da8[_0x1556bc(0x294)]=_0x157ae3;else delete _0x5c9da8[_0x1556bc(0x294)];const _0x1c4b86=_0x4471eb[_0x1556bc(0x364)]!==_0x5c9da8[_0x1556bc(0x364)]||JSON['stringify'](_0x4471eb[_0x1556bc(0x294)]??[])!==JSON[_0x1556bc(0x31f)](_0x5c9da8['runs']??[]);return{'cell':_0x5c9da8,'changed':_0x1c4b86};}function isPlainObject2(_0x3c8032){const _0x6dee95=_0x282282;return _0x3c8032!=null&&typeof _0x3c8032===_0x6dee95(0x201)&&!Array[_0x6dee95(0x2c4)](_0x3c8032);}function parseLogicalState(_0x44d05a){const _0x1261cc=_0x282282;if(!_0x44d05a)return{};try{const _0x358b33=JSON[_0x1261cc(0x24f)](_0x44d05a);if(!isPlainObject2(_0x358b33))return{};const _0x3be500=_0x358b33[_0x1261cc(0x1e9)];if(!isPlainObject2(_0x3be500))return{};return normalizeLogicalState(_0x3be500);}catch{return{};}}function pickLogicalStateFromRoot(_0x2ad734){if(!isPlainObject2(_0x2ad734))return{};const _0xccf9f0=_0x2ad734['logicalState'];if(!isPlainObject2(_0xccf9f0))return{};return normalizeLogicalState(_0xccf9f0);}function normalizeLogicalState(_0x11cfb7){const _0xe36be6=_0x282282,_0x50aefe={};typeof _0x11cfb7[_0xe36be6(0x36e)]===_0xe36be6(0x24a)&&Number[_0xe36be6(0x135)](_0x11cfb7['logicalPageIndex'])&&(_0x50aefe[_0xe36be6(0x36e)]=Math['max'](0x0,Math[_0xe36be6(0x25b)](_0x11cfb7[_0xe36be6(0x36e)])));typeof _0x11cfb7[_0xe36be6(0x182)]==='number'&&Number[_0xe36be6(0x135)](_0x11cfb7[_0xe36be6(0x182)])&&(_0x50aefe['logicalPageCount']=Math[_0xe36be6(0x218)](0x1,Math[_0xe36be6(0x25b)](_0x11cfb7[_0xe36be6(0x182)])));if(isPlainObject2(_0x11cfb7[_0xe36be6(0x2f6)])){const _0x4d6139={};for(const [_0x3bd5c4,_0x59ca9d]of Object[_0xe36be6(0x172)](_0x11cfb7['perSheet'])){if(!isPlainObject2(_0x59ca9d))continue;const _0x43d28b=typeof _0x59ca9d[_0xe36be6(0x36e)]===_0xe36be6(0x24a)?Math[_0xe36be6(0x218)](0x0,Math[_0xe36be6(0x25b)](_0x59ca9d[_0xe36be6(0x36e)])):0x0,_0x348c6a=typeof _0x59ca9d[_0xe36be6(0x182)]===_0xe36be6(0x24a)?Math[_0xe36be6(0x218)](0x1,Math['floor'](_0x59ca9d[_0xe36be6(0x182)])):0x1;_0x4d6139[_0x3bd5c4]={'logicalPageIndex':Math[_0xe36be6(0x257)](_0x43d28b,_0x348c6a-0x1),'logicalPageCount':_0x348c6a};}if(Object[_0xe36be6(0x17f)](_0x4d6139)['length'])_0x50aefe[_0xe36be6(0x2f6)]=_0x4d6139;}if(Array['isArray'](_0x11cfb7['hiddenPageSlots'])){const _0x4ce979=_0x11cfb7[_0xe36be6(0x2d4)][_0xe36be6(0x1d1)](_0x45e6f4=>typeof _0x45e6f4===_0xe36be6(0x347)&&_0x45e6f4[_0xe36be6(0x372)]('::'))[_0xe36be6(0x362)](_0xeff131=>_0xeff131[_0xe36be6(0x335)]())[_0xe36be6(0x1d1)](Boolean);if(_0x4ce979[_0xe36be6(0x296)])_0x50aefe['hiddenPageSlots']=[...new Set(_0x4ce979)];}return _0x50aefe;}function resolveSheetLogicalPage(_0x96de2e,_0x5b6915){const _0x160a40=_0x282282;if(_0x96de2e?.[_0x160a40(0x2f6)]?.[_0x5b6915])return _0x96de2e['perSheet'][_0x5b6915];const _0x29f01e=Math[_0x160a40(0x218)](0x1,_0x96de2e?.['logicalPageCount']??0x1),_0x36bf97=Math[_0x160a40(0x257)](Math[_0x160a40(0x218)](0x0,_0x96de2e?.[_0x160a40(0x36e)]??0x0),_0x29f01e-0x1);return{'logicalPageIndex':_0x36bf97,'logicalPageCount':_0x29f01e};}function mergeInstanceDataJsonWithLogicalState(_0x3aff06,_0x3b9a15){const _0x429c9e=_0x282282;let _0x9e2641={};try{const _0x503e58=JSON[_0x429c9e(0x24f)](_0x3aff06||'{}');if(isPlainObject2(_0x503e58))_0x9e2641=_0x503e58;}catch{}if(_0x3b9a15==null)return delete _0x9e2641[_0x429c9e(0x1e9)],JSON[_0x429c9e(0x31f)](_0x9e2641,null,0x2);const _0x2612c2=pickLogicalStateFromRoot(_0x9e2641),_0x4657d4={..._0x2612c2,..._0x3b9a15};if(typeof _0x4657d4['logicalPageCount']===_0x429c9e(0x24a))_0x4657d4[_0x429c9e(0x182)]=Math[_0x429c9e(0x218)](0x1,Math[_0x429c9e(0x25b)](_0x4657d4[_0x429c9e(0x182)]));if(typeof _0x4657d4[_0x429c9e(0x36e)]==='number'){const _0x1c7dc1=Math[_0x429c9e(0x218)](0x1,_0x4657d4[_0x429c9e(0x182)]??0x1);_0x4657d4['logicalPageIndex']=Math['min'](Math['max'](0x0,Math[_0x429c9e(0x25b)](_0x4657d4[_0x429c9e(0x36e)])),_0x1c7dc1-0x1);}return _0x9e2641[_0x429c9e(0x1e9)]=_0x4657d4,JSON[_0x429c9e(0x31f)](_0x9e2641,null,0x2);}function parseInstanceSubTables(_0x4a108e){const _0x53f188=_0x282282;if(!_0x4a108e)return{};try{const _0x1c5684=JSON[_0x53f188(0x24f)](_0x4a108e);if(!isPlainObject2(_0x1c5684))return{};const _0x50c76c=_0x1c5684[_0x53f188(0x1c6)];if(!isPlainObject2(_0x50c76c))return{};return parseSubTablesFromObject(_0x50c76c);}catch{return{};}}function parseSubTablesFromObject(_0x56fdc1){const _0x46e644=_0x282282,_0x38b210={};for(const [_0x22acf2,_0x5816dc]of Object[_0x46e644(0x172)](_0x56fdc1)){if(!isPlainObject2(_0x5816dc))continue;const _0x37fb4f=_0x5816dc[_0x46e644(0x13b)];if(!Array[_0x46e644(0x2c4)](_0x37fb4f))continue;const _0x958b61=[];for(const _0x3df369 of _0x37fb4f){_0x958b61[_0x46e644(0x1a5)](isPlainObject2(_0x3df369)?_0x3df369:{});}const _0x3d5e84=/^\d+$/[_0x46e644(0x357)](_0x22acf2)?Number(_0x22acf2):/^s(\d+)$/['exec'](_0x22acf2)?.[0x1]?Number(/^s(\d+)$/['exec'](_0x22acf2)[0x1]):NaN;if(Number[_0x46e644(0x135)](_0x3d5e84)&&_0x3d5e84>=0x1)_0x38b210[_0x3d5e84]=_0x958b61;}return _0x38b210;}function mergeInstanceDataJsonWithSubTables(_0x5df9a0,_0x24403c){const _0x45ce4a=_0x282282;let _0x350cd8={};try{const _0x59c079=JSON[_0x45ce4a(0x24f)](_0x5df9a0||'{}');if(isPlainObject2(_0x59c079))_0x350cd8=_0x59c079;}catch{}if(!_0x24403c)return JSON[_0x45ce4a(0x31f)](_0x350cd8,null,0x2);const _0x27f91d=_0x350cd8['subTables'],_0x302bdc=isPlainObject2(_0x27f91d)?_0x27f91d:{},_0x2c526e={..._0x302bdc};for(const [_0x1ba5e0,_0x34db34]of Object[_0x45ce4a(0x172)](_0x24403c)){const _0x2d504f=Number(_0x1ba5e0);if(!Number[_0x45ce4a(0x135)](_0x2d504f)||_0x2d504f<0x1)continue;_0x2c526e[String(_0x2d504f)]={'rows':_0x34db34[_0x45ce4a(0x362)](_0x15a5ba=>isPlainObject2(_0x15a5ba)?_0x15a5ba:{})};}return _0x350cd8['subTables']=_0x2c526e,JSON[_0x45ce4a(0x31f)](_0x350cd8,null,0x2);}var TEMPLATE_DICT_CATALOG_VERSION=0x1,DICT_CATALOG_META_KEY='dictCatalog',DICT_OVERLAYS_BY_USER_KEY=_0x282282(0x1ad);function describeDictKind(_0x263547){const _0x18639f=_0x282282;return _0x263547===_0x18639f(0x1b3)?_0x18639f(0x342):_0x18639f(0x1ac);}var INSTANCE_DATA_SCHEMA_V2=0x2,INSTANCE_DATA_SCHEMA_V3=0x3;function isPlainObject3(_0x3a5df0){const _0x539a3f=_0x282282;return _0x3a5df0!=null&&typeof _0x3a5df0===_0x539a3f(0x201)&&!Array[_0x539a3f(0x2c4)](_0x3a5df0);}function isComboInstanceDataV3(_0x31d1b4){return isPlainObject3(_0x31d1b4)&&_0x31d1b4['schemaVersion']===INSTANCE_DATA_SCHEMA_V3&&_0x31d1b4['kind']==='combo';}function comboDataFromRoot(_0x23d41d){const _0x2de3b8=_0x282282;if(!isComboInstanceDataV3(_0x23d41d))return null;const _0x28e293={};if(isPlainObject3(_0x23d41d[_0x2de3b8(0x200)]))for(const [_0x55e4d7,_0x2d8f17]of Object[_0x2de3b8(0x172)](_0x23d41d[_0x2de3b8(0x200)])){isPlainObject3(_0x2d8f17)&&_0x2d8f17[_0x2de3b8(0x2a7)]===INSTANCE_DATA_SCHEMA_V2&&(_0x28e293[_0x55e4d7]=_0x2d8f17);}return{'schemaVersion':INSTANCE_DATA_SCHEMA_V3,'kind':'combo','comboSnapshotId':String(_0x23d41d[_0x2de3b8(0x160)]??''),'sharedContext':isPlainObject3(_0x23d41d[_0x2de3b8(0x1a6)])?_0x23d41d[_0x2de3b8(0x1a6)]:{},'slots':_0x28e293};}function isInstanceFieldPackV2(_0x2a07f1){return isPlainObject3(_0x2a07f1)&&_0x2a07f1['schemaVersion']===INSTANCE_DATA_SCHEMA_V2;}function parseInstanceDataRoot(_0x59d2bd){const _0x45d7dc=_0x282282;if(!_0x59d2bd?.['trim']())return{};try{const _0x3b96c7=JSON[_0x45d7dc(0x24f)](_0x59d2bd);return isPlainObject3(_0x3b96c7)?_0x3b96c7:{};}catch{return{};}}function isLegacyInstanceDataV1(_0x183d27){const _0x9e36ff=_0x282282;if(isInstanceFieldPackV2(_0x183d27))return![];const _0x5e1106=isPlainObject3(_0x183d27[_0x9e36ff(0x1f0)])&&Object[_0x9e36ff(0x17f)](_0x183d27[_0x9e36ff(0x1f0)])['length']>0x0||isPlainObject3(_0x183d27[_0x9e36ff(0x14e)])&&Object[_0x9e36ff(0x17f)](_0x183d27['cellsBySheet'])[_0x9e36ff(0x296)]>0x0,_0x353e93=isPlainObject3(_0x183d27['base'])||isPlainObject3(_0x183d27[_0x9e36ff(0x334)])||isPlainObject3(_0x183d27['subTables']);return _0x5e1106||!_0x353e93;}function emptyFieldPackV2(){return{'schemaVersion':INSTANCE_DATA_SCHEMA_V2,'base':{},'main':{},'subTables':{},'params':{},'logicalState':{},'orphanCellsBySheet':{},'upgradeLog':[]};}function serializeFieldPackV2(_0x4a0789){const _0x337a70=_0x282282;return JSON[_0x337a70(0x31f)](_0x4a0789,null,0x2);}function fieldPackFromRoot(_0x12a3d6){const _0x333a00=_0x282282;if(!isInstanceFieldPackV2(_0x12a3d6))return null;return{'schemaVersion':INSTANCE_DATA_SCHEMA_V2,'base':isPlainObject3(_0x12a3d6[_0x333a00(0x369)])?{..._0x12a3d6[_0x333a00(0x369)]}:{},'baseScoped':isPlainObject3(_0x12a3d6['baseScoped'])?Object['fromEntries'](Object[_0x333a00(0x172)](_0x12a3d6['baseScoped'])[_0x333a00(0x362)](([_0x5cfabc,_0x42a5b4])=>[_0x5cfabc,isPlainObject3(_0x42a5b4)?{..._0x42a5b4}:{}])):void 0x0,'main':isPlainObject3(_0x12a3d6[_0x333a00(0x334)])?{..._0x12a3d6[_0x333a00(0x334)]}:{},'subTables':isPlainObject3(_0x12a3d6[_0x333a00(0x1c6)])?_0x12a3d6[_0x333a00(0x1c6)]:{},'params':isPlainObject3(_0x12a3d6[_0x333a00(0x1b1)])?{..._0x12a3d6[_0x333a00(0x1b1)]}:{},'logicalState':isPlainObject3(_0x12a3d6[_0x333a00(0x1e9)])?_0x12a3d6['logicalState']:{},'orphanCellsBySheet':isPlainObject3(_0x12a3d6[_0x333a00(0x2a2)])?_0x12a3d6['orphanCellsBySheet']:{},'embedStates':isPlainObject3(_0x12a3d6[_0x333a00(0x33c)])?_0x12a3d6[_0x333a00(0x33c)]:void 0x0,'upgradeLog':Array['isArray'](_0x12a3d6[_0x333a00(0x268)])?[..._0x12a3d6[_0x333a00(0x268)]]:[],'_legacyBackup':_0x12a3d6['_legacyBackup'],'dictOverlaysByUser':isPlainObject3(_0x12a3d6[_0x333a00(0x1ad)])?_0x12a3d6[_0x333a00(0x1ad)]:void 0x0};}function isPlainObject4(_0x5462c7){const _0x30c0a3=_0x282282;return _0x5462c7!=null&&typeof _0x5462c7===_0x30c0a3(0x201)&&!Array['isArray'](_0x5462c7);}function normalizeKey(_0xc5fe81){const _0x19beea=_0x282282;return(_0xc5fe81??'')[_0x19beea(0x335)]()[_0x19beea(0x193)]();}function parseRoundingJson(_0x2c4633){const _0x27f07e=_0x282282;if(!_0x2c4633)return void 0x0;try{const _0x20f302=JSON[_0x27f07e(0x24f)](_0x2c4633);if(!isPlainObject4(_0x20f302))return void 0x0;const _0x443c8c={};if(typeof _0x20f302[_0x27f07e(0x1a2)]===_0x27f07e(0x347))_0x443c8c[_0x27f07e(0x1a2)]=_0x20f302[_0x27f07e(0x1a2)];if(typeof _0x20f302[_0x27f07e(0x129)]==='number'&&Number[_0x27f07e(0x135)](_0x20f302[_0x27f07e(0x129)]))_0x443c8c[_0x27f07e(0x129)]=_0x20f302[_0x27f07e(0x129)];if(typeof _0x20f302[_0x27f07e(0x175)]===_0x27f07e(0x24a)&&Number[_0x27f07e(0x135)](_0x20f302[_0x27f07e(0x175)]))_0x443c8c[_0x27f07e(0x175)]=_0x20f302[_0x27f07e(0x175)];if(typeof _0x20f302[_0x27f07e(0x2f2)]===_0x27f07e(0x24a)&&Number['isFinite'](_0x20f302[_0x27f07e(0x2f2)]))_0x443c8c[_0x27f07e(0x2f2)]=_0x20f302[_0x27f07e(0x2f2)];if(Array[_0x27f07e(0x2c4)](_0x20f302[_0x27f07e(0x1e3)])){const _0x1025e0=_0x20f302[_0x27f07e(0x1e3)]['filter'](_0x15fe92=>_0x15fe92===_0x27f07e(0x1ec)||_0x15fe92==='onCompute');if(_0x1025e0[_0x27f07e(0x296)])_0x443c8c[_0x27f07e(0x1e3)]=_0x1025e0;}return Object[_0x27f07e(0x17f)](_0x443c8c)[_0x27f07e(0x296)]?_0x443c8c:void 0x0;}catch{return void 0x0;}}function roundingForCompute(_0x4a3a77){return getRoundingForComputeMeta(_0x4a3a77);}function resolveRoundingForTarget(_0x5258cd,_0x478e9c,_0x5cf974){const _0x199273=_0x282282,_0x5526ec=targetToOverrideKey(_0x478e9c);if(_0x5cf974&&_0x5526ec){const _0x51f4eb=_0x5cf974[_0x5526ec];if(_0x51f4eb){const _0x23d5d8={};if(_0x51f4eb['roundMode'])_0x23d5d8[_0x199273(0x1a2)]=_0x51f4eb[_0x199273(0x1a2)];if(typeof _0x51f4eb[_0x199273(0x129)]===_0x199273(0x24a))_0x23d5d8[_0x199273(0x129)]=_0x51f4eb[_0x199273(0x129)];if(typeof _0x51f4eb['interval']===_0x199273(0x24a))_0x23d5d8['interval']=_0x51f4eb[_0x199273(0x175)];if(typeof _0x51f4eb['sigDigits']===_0x199273(0x24a))_0x23d5d8['sigDigits']=_0x51f4eb[_0x199273(0x2f2)];if(_0x51f4eb[_0x199273(0x1e3)]?.[_0x199273(0x296)])_0x23d5d8[_0x199273(0x1e3)]=_0x51f4eb['triggers'];if(Object[_0x199273(0x17f)](_0x23d5d8)['length'])return _0x23d5d8;}}if(!_0x5258cd)return void 0x0;const _0x56c069=normalizeKey(_0x478e9c['key']);if(!_0x56c069)return void 0x0;if(_0x478e9c[_0x199273(0x12e)]===_0x199273(0x369)){const _0x240c25=_0x5258cd[_0x199273(0x369)]?.['find'](_0x3002e0=>normalizeKey(_0x3002e0[_0x199273(0x326)])===_0x56c069);return _0x240c25?parseRoundingJson(_0x240c25[_0x199273(0x249)]):void 0x0;}if(_0x478e9c['scope']===_0x199273(0x334)){const _0xbd200f=_0x5258cd['main']?.[_0x199273(0x367)](_0x1c8727=>normalizeKey(_0x1c8727[_0x199273(0x326)])===_0x56c069);return _0xbd200f?parseRoundingJson(_0xbd200f[_0x199273(0x249)]):void 0x0;}const _0x461748=_0x478e9c['subSchemaId']??0x1,_0x5ec7e1=_0x5258cd[_0x199273(0x284)]?.['find'](_0xd79b77=>_0xd79b77[_0x199273(0x325)]===_0x461748&&normalizeKey(_0xd79b77[_0x199273(0x326)])===_0x56c069);return _0x5ec7e1?parseRoundingJson(_0x5ec7e1[_0x199273(0x249)]):void 0x0;}function targetToOverrideKey(_0x14bc77){const _0x59e7c4=_0x282282;if(_0x14bc77[_0x59e7c4(0x12e)]===_0x59e7c4(0x369))return _0x59e7c4(0x2b3)+_0x14bc77[_0x59e7c4(0x2b8)];if(_0x14bc77[_0x59e7c4(0x12e)]===_0x59e7c4(0x334))return _0x59e7c4(0x1a1)+_0x14bc77[_0x59e7c4(0x2b8)];return _0x59e7c4(0x2de)+(_0x14bc77[_0x59e7c4(0x325)]??0x1)+'.'+_0x14bc77[_0x59e7c4(0x2b8)];}function parseFieldPath(_0x2e3f8e){const _0x6c5f20=_0x282282,_0x427434=_0x2e3f8e[_0x6c5f20(0x335)]();if(!_0x427434)return null;if(_0x427434[_0x6c5f20(0x223)](_0x6c5f20(0x19a))){const _0x12b86a=_0x427434[_0x6c5f20(0x28b)](0x4)[_0x6c5f20(0x335)]();return _0x12b86a?{'scope':_0x6c5f20(0x304),'key':_0x12b86a}:null;}if(_0x427434['startsWith'](_0x6c5f20(0x2b3))){const _0x2949a1=_0x427434[_0x6c5f20(0x28b)](0x5)[_0x6c5f20(0x335)]();return _0x2949a1?{'scope':_0x6c5f20(0x369),'key':_0x2949a1}:null;}if(_0x427434[_0x6c5f20(0x223)]('b.')){const _0x56ac35=_0x427434[_0x6c5f20(0x28b)](0x2)['trim']();return _0x56ac35?{'scope':_0x6c5f20(0x369),'key':_0x56ac35}:null;}if(_0x427434[_0x6c5f20(0x223)](_0x6c5f20(0x1a1))){const _0x2c4901=_0x427434['slice'](0x5)['trim']();return _0x2c4901?{'scope':_0x6c5f20(0x334),'key':_0x2c4901}:null;}if(_0x427434[_0x6c5f20(0x223)]('m.')){const _0x1b734a=_0x427434[_0x6c5f20(0x28b)](0x2)[_0x6c5f20(0x335)]();return _0x1b734a?{'scope':'main','key':_0x1b734a}:null;}const _0x32ab7a=/^s(\d+)\.(.+)$/i[_0x6c5f20(0x2ac)](_0x427434);if(_0x32ab7a){const _0x1182e2=Number(_0x32ab7a[0x1]),_0x4eed87=_0x32ab7a[0x2][_0x6c5f20(0x335)]();if(Number[_0x6c5f20(0x135)](_0x1182e2)&&_0x1182e2>=0x1&&_0x4eed87)return{'scope':_0x6c5f20(0x284),'subSchemaId':_0x1182e2,'key':_0x4eed87};}return{'scope':'main','key':_0x427434};}function resolveRoundingFromFieldPath(_0x53ca1d,_0x322fae,_0x3001a5){const _0x307448=_0x282282,_0x1639ca=parseFieldPath(_0x322fae);if(!_0x1639ca)return void 0x0;if(_0x1639ca[_0x307448(0x12e)]===_0x307448(0x304)){const _0xc46fb4=_0x3001a5[_0x307448(0x325)]??_0x3001a5['currentTarget']?.[_0x307448(0x325)]??0x1;return resolveRoundingForTarget(_0x53ca1d,{'scope':_0x307448(0x284),'key':_0x1639ca[_0x307448(0x2b8)],'subSchemaId':_0xc46fb4});}if(_0x1639ca[_0x307448(0x12e)]===_0x307448(0x284))return resolveRoundingForTarget(_0x53ca1d,{'scope':_0x307448(0x284),'key':_0x1639ca[_0x307448(0x2b8)],'subSchemaId':_0x1639ca[_0x307448(0x325)]});return resolveRoundingForTarget(_0x53ca1d,{'scope':_0x1639ca[_0x307448(0x12e)],'key':_0x1639ca[_0x307448(0x2b8)]});}function applyNumericRounding(_0x458985,_0x4517af){const _0x48cf50=_0x282282;if(_0x458985==null||_0x458985==='')return _0x458985;const _0x5adef6=typeof _0x458985===_0x48cf50(0x24a)?_0x458985:Number(_0x458985);if(!Number[_0x48cf50(0x135)](_0x5adef6))return _0x458985;const _0x51a809=roundingForCompute(_0x4517af);if(!_0x51a809?.[_0x48cf50(0x1a2)])return _0x458985;const _0x1ff716=applyRounding(_0x5adef6,_0x51a809);return Number[_0x48cf50(0x135)](_0x1ff716)?_0x1ff716:_0x458985;}function lhsToRoundingTarget(_0x3f039d){const _0x3f8fd5=_0x282282;if(_0x3f039d['kind']===_0x3f8fd5(0x369))return{'scope':'base','key':_0x3f039d['key']};if(_0x3f039d[_0x3f8fd5(0x243)]===_0x3f8fd5(0x334))return{'scope':'main','key':_0x3f039d[_0x3f8fd5(0x2b8)]};return{'scope':_0x3f8fd5(0x284),'key':_0x3f039d[_0x3f8fd5(0x1b8)],'subSchemaId':_0x3f039d[_0x3f8fd5(0x325)]};}function applyFieldRoundingForStore(_0x24d872,_0x21e390,_0x11beb7,_0x42056c){const _0x292ced=_0x282282;if(_0x42056c?.[_0x292ced(0x1f3)]===![])return _0x24d872;const _0x42a623=lhsToRoundingTarget(_0x11beb7),_0x162838=roundingForCompute(resolveRoundingForTarget(_0x21e390,_0x42a623));return applyNumericRounding(_0x24d872,_0x162838);}var ROUNDING_LAYER_ORDER=[_0x282282(0x2eb),'userDefault',_0x282282(0x16f),'instance'];function isUserLayer(_0x1a0f98){const _0x44fcd0=_0x282282;return _0x1a0f98!==_0x44fcd0(0x2eb);}function mergeEntry(_0x1650f9,_0x4b5ca9){const _0x5237e5=_0x282282,_0x449eb4={'roundMode':_0x4b5ca9[_0x5237e5(0x1a2)]??_0x1650f9?.['roundMode'],'scale':_0x4b5ca9[_0x5237e5(0x129)]??_0x1650f9?.[_0x5237e5(0x129)],'interval':_0x4b5ca9['interval']??_0x1650f9?.[_0x5237e5(0x175)],'sigDigits':_0x4b5ca9[_0x5237e5(0x2f2)]??_0x1650f9?.[_0x5237e5(0x2f2)],'triggers':_0x4b5ca9['triggers']??_0x1650f9?.['triggers']};return _0x449eb4;}function isEmptyEntry(_0x1cb1e5){const _0x5abeaa=_0x282282;return _0x1cb1e5[_0x5abeaa(0x1a2)]==null&&_0x1cb1e5[_0x5abeaa(0x129)]==null&&_0x1cb1e5[_0x5abeaa(0x175)]==null&&_0x1cb1e5[_0x5abeaa(0x2f2)]==null&&(_0x1cb1e5[_0x5abeaa(0x1e3)]==null||_0x1cb1e5[_0x5abeaa(0x1e3)]['length']===0x0);}function mergeRoundingOverrideLayers(_0x2c84f0,_0x56d289){const _0x46cdb3=_0x282282,_0x5d2687=_0x260aa5=>{const _0x1f7c85=_0x2416,_0x3f469d=ROUNDING_LAYER_ORDER[_0x1f7c85(0x1f7)](_0x260aa5);return _0x3f469d<0x0?ROUNDING_LAYER_ORDER[_0x1f7c85(0x296)]:_0x3f469d;},_0x469514=[..._0x2c84f0][_0x46cdb3(0x309)]((_0x3a20e4,_0x9fb4a)=>_0x5d2687(_0x3a20e4[_0x46cdb3(0x12e)])-_0x5d2687(_0x9fb4a[_0x46cdb3(0x12e)])),_0x453321={};for(const _0x5e594c of _0x469514){const _0x4c9bc9=isUserLayer(_0x5e594c['scope']);for(const [_0x48484e,_0x53a5a0]of Object[_0x46cdb3(0x172)](_0x5e594c[_0x46cdb3(0x131)])){if(!_0x53a5a0)continue;if(_0x4c9bc9&&_0x56d289?.[_0x46cdb3(0x32c)](_0x48484e))continue;const _0x6c4f15=mergeEntry(_0x453321[_0x48484e],_0x53a5a0);isEmptyEntry(_0x6c4f15)?delete _0x453321[_0x48484e]:_0x453321[_0x48484e]=_0x6c4f15;}}return _0x453321;}function buildRoundingLayers(_0x3f3690){const _0xfe3cf6=_0x282282,_0x3e6aa7=[];for(const _0x4c587f of ROUNDING_LAYER_ORDER){const _0x448522=_0x3f3690[_0x4c587f];_0x448522&&Object['keys'](_0x448522)[_0xfe3cf6(0x296)]>0x0&&_0x3e6aa7[_0xfe3cf6(0x1a5)]({'scope':_0x4c587f,'overrides':_0x448522});}return _0x3e6aa7;}var OVERFLOW_EPS=0.5;function buildSpliceDiagnostics(_0x5804ae){const _0x450241=_0x282282,_0x24627a=[];for(const _0x2c1bf1 of _0x5804ae[_0x450241(0x117)]??[]){const _0x14c80d=_0x2c1bf1[_0x450241(0x17c)]??0x0;if(_0x14c80d>OVERFLOW_EPS)_0x24627a[_0x450241(0x1a5)]({'level':'error','code':'splice.col_overflow','location':_0x2c1bf1['location'],'message':_0x450241(0x2a3)+Math[_0x450241(0x250)](_0x14c80d)+'px','fix':'snap'});else{if(_0x2c1bf1[_0x450241(0x17c)]!=null&&_0x14c80d<-OVERFLOW_EPS)_0x24627a[_0x450241(0x1a5)]({'level':_0x450241(0x371),'code':_0x450241(0x277),'location':_0x2c1bf1['location'],'message':_0x450241(0x136)+Math[_0x450241(0x250)](-_0x14c80d)+'px','fix':_0x450241(0x221)});else _0x2c1bf1[_0x450241(0x17c)]==null&&_0x24627a[_0x450241(0x1a5)]({'level':_0x450241(0x371),'code':_0x450241(0x283),'location':_0x2c1bf1[_0x450241(0x1c3)],'message':_0x450241(0x24c),'fix':_0x450241(0x221)});}_0x2c1bf1[_0x450241(0x22e)]&&_0x24627a[_0x450241(0x1a5)]({'level':_0x450241(0x371),'code':'splice.row_underfilled','location':_0x2c1bf1['location'],'message':_0x450241(0x293),'fix':_0x450241(0x15b)});}const _0x119925=_0x5804ae[_0x450241(0x353)]??0x0;_0x119925>OVERFLOW_EPS&&_0x24627a[_0x450241(0x1a5)]({'level':_0x450241(0x1d0),'code':_0x450241(0x30b),'location':'\u5408\u6210\u6574\u9875','message':_0x450241(0x236)+Math[_0x450241(0x250)](_0x119925)+'px','fix':'snap'});for(const _0x58f6e0 of _0x5804ae[_0x450241(0x276)]??[]){_0x24627a[_0x450241(0x1a5)]({'level':_0x450241(0x371),'code':_0x450241(0x190),'location':_0x58f6e0['location'],'message':_0x450241(0x378),'fix':_0x450241(0x1aa),'slotKey':_0x58f6e0[_0x450241(0x331)]});}if(_0x5804ae[_0x450241(0x209)]?.[_0x450241(0x296)])_0x24627a[_0x450241(0x1a5)](..._0x5804ae['extra']);const _0xb96547=_0x24627a[_0x450241(0x1d1)](_0x129fd1=>_0x129fd1[_0x450241(0x1c5)]===_0x450241(0x1d0))[_0x450241(0x296)],_0x3ba298=_0x24627a[_0x450241(0x1d1)](_0x33b9d7=>_0x33b9d7[_0x450241(0x1c5)]===_0x450241(0x371))[_0x450241(0x296)];return{'diagnostics':_0x24627a,'errorCount':_0xb96547,'warningCount':_0x3ba298,'canPublish':_0xb96547===0x0};}function buildSignatureWorkflow(_0x46c6f8,_0x9cae9){const _0x163ac2=_0x282282,_0x2b42f3=new Map();for(const _0x38c9f2 of _0x9cae9){if(_0x38c9f2?.['slotId'])_0x2b42f3[_0x163ac2(0x167)](_0x38c9f2[_0x163ac2(0x1c1)],_0x38c9f2);}const _0xec04f5=[];let _0x49f5e3=0x0,_0x117fbf=0x0,_0x25d995=0x0;for(const _0x283c05 of _0x46c6f8){const _0x1e950b=_0x283c05[_0x163ac2(0x25e)]===!![],_0x352da5=_0x2b42f3[_0x163ac2(0x213)](_0x283c05['slotId']),_0x4b5835=_0x352da5!=null;if(_0x1e950b)_0x117fbf+=0x1;if(_0x4b5835)_0x49f5e3+=0x1;let _0x3fa848;if(_0x4b5835)_0x3fa848=_0x163ac2(0x36f);else{if(_0x1e950b)_0x3fa848=_0x163ac2(0x320),_0x25d995+=0x1;else _0x3fa848=_0x163ac2(0x23c);}_0xec04f5[_0x163ac2(0x1a5)]({'slotId':_0x283c05[_0x163ac2(0x1c1)],'name':_0x283c05[_0x163ac2(0x254)],'kind':_0x283c05[_0x163ac2(0x243)],'role':_0x283c05[_0x163ac2(0x233)],'required':_0x1e950b,'status':_0x3fa848,'result':_0x352da5});}return{'slots':_0xec04f5,'signedCount':_0x49f5e3,'requiredCount':_0x117fbf,'missingRequiredCount':_0x25d995,'canComplete':_0x25d995===0x0};}function nextPendingSignature(_0x4ee523){const _0xeb7795=_0x282282;return _0x4ee523[_0xeb7795(0x200)][_0xeb7795(0x367)](_0x4e508d=>_0x4e508d[_0xeb7795(0x1d2)]==='missingRequired')??_0x4ee523[_0xeb7795(0x200)]['find'](_0x3b7ed9=>_0x3b7ed9[_0xeb7795(0x1d2)]===_0xeb7795(0x23c))??null;}var SIGNATURE_ASSET_KINDS=new Set([_0x282282(0x288),'stamp']);function signatureSpecsFromEmbeds(_0x1efb14){const _0x8bf2c=_0x282282,_0x4e2abb=[];for(const _0x74828e of _0x1efb14??[]){if(_0x74828e[_0x8bf2c(0x243)]!==_0x8bf2c(0x32a))continue;const _0x1b51d0=_0x74828e;if(!SIGNATURE_ASSET_KINDS[_0x8bf2c(0x32c)](_0x1b51d0[_0x8bf2c(0x344)]))continue;_0x4e2abb[_0x8bf2c(0x1a5)]({'slotId':_0x1b51d0['slotId'],'name':_0x1b51d0[_0x8bf2c(0x254)]??_0x1b51d0[_0x8bf2c(0x1c1)],'kind':_0x1b51d0['assetKind']==='stamp'?_0x8bf2c(0x346):_0x8bf2c(0x2db),'role':_0x1b51d0[_0x8bf2c(0x288)]?.[_0x8bf2c(0x2c1)]?.[0x0],'required':_0x1b51d0[_0x8bf2c(0x288)]?.[_0x8bf2c(0x25e)]??![],'recordTimestamp':!![],'recordSigner':!![]});}return _0x4e2abb;}function signatureResultsFromEmbedStates(_0x2d107b){const _0x5db0ef=_0x282282,_0x260aa0=[];for(const [_0x2b26e3,_0x413454]of Object[_0x5db0ef(0x172)](_0x2d107b??{})){const _0x2f0f62=_0x413454?.[_0x5db0ef(0x1e8)]??_0x413454?.[_0x5db0ef(0x11f)];if(!_0x2f0f62)continue;_0x260aa0[_0x5db0ef(0x1a5)]({'slotId':_0x2b26e3,'fileId':_0x2f0f62,'signerUserId':_0x413454?.[_0x5db0ef(0x161)]??'','signerName':_0x413454?.[_0x5db0ef(0x161)],'signedAt':_0x413454?.[_0x5db0ef(0x13d)]??''});}return _0x260aa0;}function applySignatureResultsToEmbedStates(_0x45043d,_0x46d39a,_0x1df38c){const _0x75f10e=_0x282282,_0x3b6a39={..._0x45043d??{}};for(const _0x272635 of _0x1df38c??[]){if(_0x3b6a39[_0x272635]){const {fileId:_0xa2ac0,signedBy:_0x45bbba,signedAt:_0x26e62f,..._0x370f42}=_0x3b6a39[_0x272635];_0x3b6a39[_0x272635]=_0x370f42;}}for(const _0x7baa51 of _0x46d39a){_0x3b6a39[_0x7baa51[_0x75f10e(0x1c1)]]={..._0x3b6a39[_0x7baa51[_0x75f10e(0x1c1)]],'fileId':_0x7baa51[_0x75f10e(0x11f)],'signedBy':_0x7baa51[_0x75f10e(0x2ed)]??_0x7baa51['signerUserId'],'signedAt':_0x7baa51[_0x75f10e(0x13d)]};}return _0x3b6a39;}function stripRuntimeComputedUserParams(_0x44b4c8){const _0x1e6f40=_0x282282;if(!_0x44b4c8)return{};const _0x5ae591={};for(const [_0x18ad71,_0x31b90e]of Object[_0x1e6f40(0x172)](_0x44b4c8)){if(isRuntimeComputedSystemParam(_0x18ad71))continue;_0x5ae591[_0x18ad71]=_0x31b90e;}return _0x5ae591;}function paramValueToDisplayString(_0x4cb94b){const _0xa9680=_0x282282;if(_0x4cb94b==null||_0x4cb94b==='')return'';return typeof _0x4cb94b===_0xa9680(0x347)?_0x4cb94b:String(_0x4cb94b);}function templateContainsSystemParamTokens(_0x28500b){const _0x1ab201=_0x282282,_0x188e7f=_0x28500b['trim']();if(!_0x188e7f)return![];for(const {token:_0x24d056}of listTemplateSystemParamTokenEntries()){if(_0x188e7f[_0x1ab201(0x372)](_0x24d056))return!![];}return![];}function enrichParamsForFieldRuntime(_0x257570){const _0x4d03c6=_0x257570??{},_0x1e6e15={..._0x4d03c6};for(const {token:_0x5adea7,canonical:_0xcf39c6}of listTemplateSystemParamTokenEntries()){if(_0x5adea7===_0xcf39c6)continue;const _0xdbb4c9=_0x4d03c6[_0xcf39c6];if(_0xdbb4c9==null||_0xdbb4c9==='')continue;if(_0x1e6e15[_0x5adea7]==null||_0x1e6e15[_0x5adea7]==='')_0x1e6e15[_0x5adea7]=_0xdbb4c9;}return _0x1e6e15;}function resolveParamForTemplateExpand(_0x1b6a0d,_0xee51e8,_0x4b90b9){const _0x33fa4c=_0x1b6a0d[_0xee51e8];if(_0x33fa4c!=null&&_0x33fa4c!=='')return _0x33fa4c;if(_0x4b90b9!==_0xee51e8){const _0x5e3872=_0x1b6a0d[_0x4b90b9];if(_0x5e3872!=null&&_0x5e3872!=='')return _0x5e3872;}const _0x3379c4=normalizeSystemParamId(_0x4b90b9);if(_0x3379c4!==_0x4b90b9&&_0x3379c4!==_0xee51e8){const _0x3d8e71=_0x1b6a0d[_0x3379c4];if(_0x3d8e71!=null&&_0x3d8e71!=='')return _0x3d8e71;}return void 0x0;}function expandSystemParamTemplate(_0x5e85be,_0x9f0317){const _0x45f0af=_0x282282;if(!_0x5e85be[_0x45f0af(0x335)]())return'';const _0x2c214a=_0x9f0317??{};let _0x4f6f26=_0x5e85be;for(const {token:_0x2da425,canonical:_0x24fd37}of listTemplateSystemParamTokenEntries()){const _0x15e133=resolveParamForTemplateExpand(_0x2c214a,_0x24fd37,_0x2da425);if(_0x15e133==null||_0x15e133==='')continue;const _0xab0de=paramValueToDisplayString(_0x15e133);if(!_0xab0de)continue;_0x4f6f26=_0x4f6f26[_0x45f0af(0x379)](_0x2da425)[_0x45f0af(0x14f)](_0xab0de);}return _0x4f6f26;}function isValidRuntimeParamUserOverride(_0x4f3dba,_0xa555a0){const _0x1c537c=_0x282282,_0x2b3293=normalizeSystemParamId(_0x4f3dba);if(_0x2b3293===_0x1c537c(0x279)||_0x2b3293==='totalPageNumber'){if(typeof _0xa555a0==='number'&&Number[_0x1c537c(0x135)](_0xa555a0)&&_0xa555a0>=0x0)return!![];if(typeof _0xa555a0==='string'&&/^\d+$/[_0x1c537c(0x357)](_0xa555a0['trim']()))return!![];return![];}if(_0x2b3293===_0x1c537c(0x174)||_0x2b3293===_0x1c537c(0x13f)||_0x2b3293===_0x1c537c(0x37a)){if(typeof _0xa555a0==='number'&&Number[_0x1c537c(0x135)](_0xa555a0)&&_0xa555a0>=0x0)return!![];if(typeof _0xa555a0===_0x1c537c(0x347)&&/^\d+$/[_0x1c537c(0x357)](_0xa555a0['trim']()))return!![];return![];}return!![];}function mergeSystemAndUserParams(_0x14d628,_0x5fb184){const _0x42c84e=_0x282282;if(!_0x5fb184)return{..._0x14d628};const _0x547ce8={..._0x14d628};for(const [_0x5c05ca,_0x4bcd8b]of Object[_0x42c84e(0x172)](_0x5fb184)){if(_0x4bcd8b==null||_0x4bcd8b==='')continue;const _0x39c914=normalizeSystemParamId(_0x5c05ca);if(isRuntimeComputedSystemParam(_0x39c914)&&!isValidRuntimeParamUserOverride(_0x39c914,_0x4bcd8b))continue;_0x547ce8[_0x39c914]=_0x4bcd8b;}for(const _0x265867 of[_0x42c84e(0x279),_0x42c84e(0x1fc)]){const _0x1a9e66=_0x14d628[_0x265867];if(_0x1a9e66==null||_0x1a9e66===''){delete _0x547ce8[_0x265867];continue;}const _0x4a53be=_0x547ce8[_0x265867];(_0x4a53be==null||_0x4a53be==='')&&(_0x547ce8[_0x265867]=_0x1a9e66);}return _0x547ce8;}function stripFieldPrefix(_0x5a6237){const _0x20d7c6=_0x282282,_0x35b67f=_0x5a6237[_0x20d7c6(0x2e7)]();if(_0x35b67f[_0x20d7c6(0x223)](':='))return _0x35b67f['slice'](0x2)[_0x20d7c6(0x335)]();return null;}function buildFieldRunContext(_0xa8bce3,_0x512574,_0x2d8a03){const _0x3d65a8=_0x282282,_0x2538e4={};for(const [_0x22c5c4,_0x4c7aa3]of Object[_0x3d65a8(0x172)](_0xa8bce3[_0x3d65a8(0x284)])){const _0x44313=Number(_0x22c5c4),_0x283c98=new Set();for(const _0x50fcd5 of _0x4c7aa3)for(const _0x4ebd3e of Object[_0x3d65a8(0x17f)](_0x50fcd5))_0x283c98[_0x3d65a8(0x35e)](_0x4ebd3e);const _0x43f0b5={},_0x228727=_0x4c7aa3['slice']();for(const _0xfa4264 of _0x283c98){_0x43f0b5[_0xfa4264]=_0x228727[_0x3d65a8(0x362)](_0x2605a3=>_0x2605a3[_0xfa4264]??null);}_0x43f0b5[_0x3d65a8(0x296)]=_0x228727[_0x3d65a8(0x296)];const _0x57f324=resolveSubRowStatKey(_0x2d8a03?.['fieldRegistry'],_0x44313);_0x43f0b5['__activeCount']=countActiveSubRows(_0x228727,_0x57f324);if(_0x512574[_0x3d65a8(0x243)]===_0x3d65a8(0x284)&&_0x512574[_0x3d65a8(0x325)]===_0x44313){const _0x147b12=_0x228727[_0x512574['rowIndex']]??{};for(const _0x345812 of _0x283c98){_0x43f0b5[_0x345812]=_0x147b12[_0x345812]??null;}_0x43f0b5[_0x3d65a8(0x29a)]=_0x147b12,_0x43f0b5[_0x3d65a8(0x35d)]=_0x228727;}_0x2538e4['s'+_0x44313]=_0x43f0b5;}const _0x5d1d18={'b':_0xa8bce3[_0x3d65a8(0x369)],'m':_0xa8bce3[_0x3d65a8(0x334)],'p':enrichParamsForFieldRuntime(_0xa8bce3[_0x3d65a8(0x1b1)]),..._0x2538e4};if(_0x512574['kind']===_0x3d65a8(0x284)){const _0x2fc0e=_0xa8bce3[_0x3d65a8(0x284)][_0x512574[_0x3d65a8(0x325)]]??[];_0x5d1d18[_0x3d65a8(0x304)]=_0x2fc0e[_0x512574[_0x3d65a8(0x195)]]??{},_0x5d1d18[_0x3d65a8(0x195)]=_0x512574[_0x3d65a8(0x195)];}const _0x33c446=_0x512574[_0x3d65a8(0x243)]===_0x3d65a8(0x284)?_0x512574[_0x3d65a8(0x325)]:void 0x0;return Object['assign'](_0x5d1d18,buildFormulaStdLib({'fieldRegistry':_0x2d8a03?.['fieldRegistry'],'currentTarget':_0x2d8a03?.[_0x3d65a8(0x23b)],'subSchemaId':_0x33c446,'aggregateEmptyAs':_0x2d8a03?.[_0x3d65a8(0x27d)]??'null'})),_0x2d8a03?.[_0x3d65a8(0x1a8)]&&Object[_0x3d65a8(0x150)](_0x5d1d18,buildFieldSetters(_0xa8bce3,_0x512574,_0x2d8a03?.[_0x3d65a8(0x177)])),_0x5d1d18;}function buildFieldSetters(_0x7af641,_0x36ca09,_0x109a25){const _0x156254=(_0x64225,_0x5e1296)=>{const _0x3456fc=_0x2416,_0xd6e37e=String(_0x64225??'')['trim']();if(!_0xd6e37e)return null;const _0x63776d=applyFieldRoundingForStore(_0x5e1296,_0x109a25,{'kind':'main','key':_0xd6e37e});return _0x7af641[_0x3456fc(0x334)][_0xd6e37e]=_0x63776d,_0x63776d??null;},_0x2fbf2b=(_0x4ab286,_0x15209d)=>{const _0x4c4bc2=_0x2416,_0x2b3958=String(_0x4ab286??'')[_0x4c4bc2(0x335)]();if(!_0x2b3958)return null;const _0x36b315=applyFieldRoundingForStore(_0x15209d,_0x109a25,{'kind':'base','key':_0x2b3958});return _0x7af641[_0x4c4bc2(0x369)][_0x2b3958]=_0x36b315,_0x36b315??null;},_0x41d6d1=(_0x2d4a2e,_0x449b2f,_0xc37390,_0x24be0d)=>{const _0x413b01=_0x2416,_0x5667cc=Number(_0x2d4a2e),_0x145fbf=Number(_0x449b2f),_0x5898c8=String(_0xc37390??'')[_0x413b01(0x335)]();if(!Number[_0x413b01(0x135)](_0x5667cc)||_0x5667cc<0x1||!Number[_0x413b01(0x135)](_0x145fbf)||_0x145fbf<0x0||!_0x5898c8)return null;const _0x302f74=_0x7af641[_0x413b01(0x284)][_0x5667cc]??(_0x7af641[_0x413b01(0x284)][_0x5667cc]=[]);while(_0x302f74[_0x413b01(0x296)]<=_0x145fbf)_0x302f74[_0x413b01(0x1a5)]({});const _0x826399=_0x302f74[_0x145fbf]??(_0x302f74[_0x145fbf]={}),_0x1da7c1=applyFieldRoundingForStore(_0x24be0d,_0x109a25,{'kind':_0x413b01(0x30a),'subSchemaId':_0x5667cc,'col':_0x5898c8});return _0x826399[_0x5898c8]=_0x1da7c1,_0x1da7c1??null;},_0x595c6e=(_0x555b0f,_0x535eb3,_0x29a7f2)=>{const _0x57aa59=_0x2416;if(_0x36ca09[_0x57aa59(0x243)]!==_0x57aa59(0x284))return null;return _0x41d6d1(_0x36ca09['subSchemaId'],_0x555b0f,_0x535eb3,_0x29a7f2);};return{'assign':_0x156254,'setMain':_0x156254,'setBase':_0x2fbf2b,'setSub':_0x41d6d1,'setSubAt':_0x595c6e};}function toNumList(_0x1fd75b){const _0x370045=_0x282282;if(_0x1fd75b==null)return[];if(Array['isArray'](_0x1fd75b)){const _0x52770f=[];for(const _0x2ff68e of _0x1fd75b){if(_0x2ff68e==null||_0x2ff68e==='')continue;const _0xc88628=Number(_0x2ff68e);if(Number[_0x370045(0x135)](_0xc88628))_0x52770f['push'](_0xc88628);}return _0x52770f;}const _0x11daf6=Number(_0x1fd75b);return Number['isFinite'](_0x11daf6)?[_0x11daf6]:[];}function emptyAggregateResult(_0x53b8f9){const _0x567f34=_0x282282;return _0x53b8f9===_0x567f34(0x2d6)?0x0:null;}function buildFormulaStdLib(_0xbfe8ea){const _0x129368=_0x282282,_0x287ab2=_0xbfe8ea?.['aggregateEmptyAs']??_0x129368(0x1ca),_0xffeec7=_0xbfe8ea?.[_0x129368(0x177)],_0x33366b=_0xbfe8ea?.[_0x129368(0x23b)],_0x43df9c=_0xbfe8ea?.[_0x129368(0x325)],_0xd778d7=(_0x265791,_0x45a11c)=>{const _0xa06fd=_0x129368;if(_0x265791==null||_0x265791==='')return null;const _0x1f7af9=typeof _0x265791===_0xa06fd(0x24a)?_0x265791:Number(_0x265791);if(!Number[_0xa06fd(0x135)](_0x1f7af9))return null;let _0x5b269a;_0x45a11c==null||String(_0x45a11c)[_0xa06fd(0x335)]()===''?_0x5b269a=_0x33366b?roundingForCompute(resolveRoundingForTarget(_0xffeec7,_0x33366b)):void 0x0:_0x5b269a=roundingForCompute(resolveRoundingFromFieldPath(_0xffeec7,String(_0x45a11c),{'currentTarget':_0x33366b,'subSchemaId':_0x43df9c}));if(!_0x5b269a?.[_0xa06fd(0x1a2)])return _0x1f7af9;return applyNumericRounding(_0x1f7af9,_0x5b269a);};return{'sum':(..._0x594a83)=>{const _0x2b8477=_0x129368,_0x444500=toNumList(_0x594a83[_0x2b8477(0x296)]===0x1?_0x594a83[0x0]:_0x594a83);if(_0x444500[_0x2b8477(0x296)]===0x0)return emptyAggregateResult(_0x287ab2);return _0x444500['reduce']((_0x2ee80c,_0x18c8cb)=>_0x2ee80c+_0x18c8cb,0x0);},'avg':(..._0x11fad4)=>{const _0x3cfa52=_0x129368,_0x33a69a=toNumList(_0x11fad4[_0x3cfa52(0x296)]===0x1?_0x11fad4[0x0]:_0x11fad4);if(_0x33a69a[_0x3cfa52(0x296)]===0x0)return emptyAggregateResult(_0x287ab2);return _0x33a69a[_0x3cfa52(0x2bc)]((_0x44e466,_0x193dba)=>_0x44e466+_0x193dba,0x0)/_0x33a69a[_0x3cfa52(0x296)];},'min':(..._0x4eb36f)=>{const _0xc61456=_0x129368,_0x375cdd=toNumList(_0x4eb36f[_0xc61456(0x296)]===0x1?_0x4eb36f[0x0]:_0x4eb36f);if(_0x375cdd[_0xc61456(0x296)]===0x0)return emptyAggregateResult(_0x287ab2);return Math['min'](..._0x375cdd);},'max':(..._0xdeb6f8)=>{const _0x4af8ac=_0x129368,_0x4f8bd9=toNumList(_0xdeb6f8[_0x4af8ac(0x296)]===0x1?_0xdeb6f8[0x0]:_0xdeb6f8);if(_0x4f8bd9['length']===0x0)return emptyAggregateResult(_0x287ab2);return Math['max'](..._0x4f8bd9);},'count':(..._0x592aaa)=>{const _0x29f782=_0x129368,_0x43911a=_0x592aaa[_0x29f782(0x296)]===0x1&&Array[_0x29f782(0x2c4)](_0x592aaa[0x0])?_0x592aaa[0x0]:_0x592aaa;let _0x149742=0x0;for(const _0x153acc of _0x43911a)if(_0x153acc!=null&&_0x153acc!=='')_0x149742+=0x1;return _0x149742;},'first':_0x56e898=>Array[_0x129368(0x2c4)](_0x56e898)&&_0x56e898[_0x129368(0x296)]?_0x56e898[0x0]:null,'last':_0x62c073=>Array[_0x129368(0x2c4)](_0x62c073)&&_0x62c073[_0x129368(0x296)]?_0x62c073[_0x62c073['length']-0x1]:null,'round':(_0x721f7d,_0x50e83c)=>{const _0xd1e840=_0x129368,_0x5a4d48=Number(_0x721f7d),_0x2bc12e=_0x50e83c==null?0x0:Math[_0xd1e840(0x25b)](Number(_0x50e83c));if(!Number[_0xd1e840(0x135)](_0x5a4d48))return 0x0;return applyRounding(_0x5a4d48,{'roundMode':_0xd1e840(0x202),'scale':_0x2bc12e});},'roundHalfUp':(_0x20dac4,_0x30ec05)=>{const _0x2315e4=_0x129368,_0x28c67a=Number(_0x20dac4),_0x40847d=_0x30ec05==null?0x0:Math[_0x2315e4(0x25b)](Number(_0x30ec05));if(!Number[_0x2315e4(0x135)](_0x28c67a))return 0x0;return applyRounding(_0x28c67a,{'roundMode':'half_up','scale':_0x40847d});},'roundEven':(_0x103121,_0x276b93)=>{const _0x4acc03=_0x129368,_0x6cf1e9=Number(_0x103121),_0x1c3a4a=_0x276b93==null?0x0:Math[_0x4acc03(0x25b)](Number(_0x276b93));if(!Number[_0x4acc03(0x135)](_0x6cf1e9))return 0x0;return applyRounding(_0x6cf1e9,{'roundMode':_0x4acc03(0x234),'scale':_0x1c3a4a});},'roundHalfEven':(_0x471f9a,_0x545537)=>{const _0x39afe7=_0x129368,_0x364c41=Number(_0x471f9a),_0x4f8f77=_0x545537==null?0x0:Math[_0x39afe7(0x25b)](Number(_0x545537));if(!Number['isFinite'](_0x364c41))return 0x0;return applyRounding(_0x364c41,{'roundMode':_0x39afe7(0x234),'scale':_0x4f8f77});},'roundTruncate':(_0x3239a3,_0x5b7007)=>{const _0x79b6a=_0x129368,_0x51e007=Number(_0x3239a3),_0x2ce14d=_0x5b7007==null?0x0:Math['floor'](Number(_0x5b7007));if(!Number[_0x79b6a(0x135)](_0x51e007))return 0x0;return applyRounding(_0x51e007,{'roundMode':_0x79b6a(0x246),'scale':_0x2ce14d});},'roundCeiling':(_0x473fb2,_0x1dfbe7)=>{const _0x31ca8f=_0x129368,_0x2f1747=Number(_0x473fb2),_0x56cd1c=_0x1dfbe7==null?0x0:Math[_0x31ca8f(0x25b)](Number(_0x1dfbe7));if(!Number[_0x31ca8f(0x135)](_0x2f1747))return 0x0;return applyRounding(_0x2f1747,{'roundMode':'ceiling','scale':_0x56cd1c});},'roundFloor':(_0x4b0f31,_0x2120e4)=>{const _0x6a218f=_0x129368,_0x4112a7=Number(_0x4b0f31),_0x4e2d58=_0x2120e4==null?0x0:Math[_0x6a218f(0x25b)](Number(_0x2120e4));if(!Number[_0x6a218f(0x135)](_0x4112a7))return 0x0;return applyRounding(_0x4112a7,{'roundMode':_0x6a218f(0x25b),'scale':_0x4e2d58});},'roundToInterval':(_0x1d51b1,_0x185035)=>{const _0x8b3558=_0x129368,_0x5c4471=Number(_0x1d51b1),_0x420f99=Number(_0x185035);if(!Number[_0x8b3558(0x135)](_0x5c4471)||!Number[_0x8b3558(0x135)](_0x420f99)||_0x420f99<=0x0)return 0x0;return roundToInterval(_0x5c4471,_0x420f99,'half_even');},'roundSig':(_0x24454a,_0x3c75d6)=>{const _0x550fa7=_0x129368,_0x2562cb=Number(_0x24454a),_0x2a4f2a=Math[_0x550fa7(0x218)](0x1,Math[_0x550fa7(0x25b)](Number(_0x3c75d6??0x1)));if(!Number[_0x550fa7(0x135)](_0x2562cb))return 0x0;return roundToSignificant(_0x2562cb,_0x2a4f2a);},'roundSignificant':(_0x4fd547,_0x40a24f)=>{const _0x28e3ae=_0x129368,_0x5b7f2c=Number(_0x4fd547),_0x4d2b4c=Math[_0x28e3ae(0x218)](0x1,Math['floor'](Number(_0x40a24f??0x1)));if(!Number[_0x28e3ae(0x135)](_0x5b7f2c))return 0x0;return roundToSignificant(_0x5b7f2c,_0x4d2b4c);},'abs':_0x1795bb=>Math['abs'](Number(_0x1795bb)),'ceil':_0x4d217c=>Math['ceil'](Number(_0x4d217c)),'floor':_0x30c345=>Math[_0x129368(0x25b)](Number(_0x30c345)),'ifEmpty':(_0x2598d2,_0x53dea1)=>_0x2598d2==null||_0x2598d2===''?_0x53dea1??null:_0x2598d2,'roundByField':_0xd778d7,'formatDate':(_0xe3079a,_0x1752b2)=>{const _0x50efdb=_0x129368,_0x26c978=_0xe3079a instanceof Date?_0xe3079a:new Date(String(_0xe3079a??''));if(!Number['isFinite'](_0x26c978['getTime']()))return'';const _0x2d8b0c=_0x26c978[_0x50efdb(0x26b)](),_0x1bef46=String(_0x26c978[_0x50efdb(0x2c9)]()+0x1)[_0x50efdb(0x1ce)](0x2,'0'),_0x39d1aa=String(_0x26c978[_0x50efdb(0x1a3)]())['padStart'](0x2,'0'),_0x45ab1c=String(_0x26c978[_0x50efdb(0x194)]())['padStart'](0x2,'0'),_0x32bf76=String(_0x26c978[_0x50efdb(0x1d6)]())['padStart'](0x2,'0'),_0x5bf366=String(_0x26c978['getSeconds']())['padStart'](0x2,'0'),_0x3e91c0=(_0x1752b2==null?_0x50efdb(0x144):String(_0x1752b2))[_0x50efdb(0x2f5)](/yyyy/g,String(_0x2d8b0c))[_0x50efdb(0x2f5)](/MM/g,_0x1bef46)['replace'](/dd/g,_0x39d1aa)[_0x50efdb(0x2f5)](/HH/g,_0x45ab1c)[_0x50efdb(0x2f5)](/mm/g,_0x32bf76)['replace'](/ss/g,_0x5bf366);return _0x3e91c0;}};}var ASSIGN_RE=/^\s*(b|m)\.([a-zA-Z_][\w]*)\s*=\s*(.+)\s*$/,SUB_ASSIGN_RE=/^\s*s(\d+)\.([a-zA-Z_][\w]*)\s*=\s*(.+)\s*$/;function compileFormulaAssignment(_0x1b21a6){const _0x18d624=_0x282282,_0xbd2ea5=_0x1b21a6[_0x18d624(0x335)]();if(!_0xbd2ea5)return{'ok':![],'error':_0x18d624(0x1dc)};let _0x496ff9=ASSIGN_RE[_0x18d624(0x2ac)](_0xbd2ea5);if(_0x496ff9){const _0x42ebb0=_0x496ff9[0x1]==='b'?_0x18d624(0x369):_0x18d624(0x334),_0x523330=_0x496ff9[0x2],_0x3ade7e=_0x496ff9[0x3]['trim']();return{'ok':!![],'target':{'scope':_0x42ebb0,'key':_0x523330},'source':_0x3ade7e[_0x18d624(0x223)](':=')?_0x3ade7e:_0x18d624(0x2df)+_0x3ade7e,'assignment':_0xbd2ea5};}_0x496ff9=SUB_ASSIGN_RE[_0x18d624(0x2ac)](_0xbd2ea5);if(_0x496ff9){const _0x5f3d3a=Number(_0x496ff9[0x1]),_0x294555=_0x496ff9[0x2],_0x5067be=_0x496ff9[0x3]['trim']();if(!Number[_0x18d624(0x135)](_0x5f3d3a))return{'ok':![],'error':_0x18d624(0x2b5)};return{'ok':!![],'target':{'scope':_0x18d624(0x284),'key':_0x294555,'subSchemaId':_0x5f3d3a},'source':_0x5067be['startsWith'](':=')?_0x5067be:_0x18d624(0x2df)+_0x5067be,'assignment':_0xbd2ea5};}return{'ok':![],'error':_0x18d624(0x314)};}function extractFormulaDeps(_0x10d8ca){const _0x410319=_0x282282,_0x1e4bf0=new Set(),_0x53716b=/\b(b|m)\.([a-zA-Z_][\w]*)\b/g;let _0x26c669;while((_0x26c669=_0x53716b[_0x410319(0x2ac)](_0x10d8ca))!=null){_0x1e4bf0[_0x410319(0x35e)](_0x26c669[0x1]+'.'+_0x26c669[0x2]);}const _0x58b622=/\bs(\d+)\.([a-zA-Z_][\w]*)\b/g;while((_0x26c669=_0x58b622['exec'](_0x10d8ca))!=null){_0x1e4bf0[_0x410319(0x35e)]('s'+_0x26c669[0x1]+'.'+_0x26c669[0x2]);}return[..._0x1e4bf0];}function catalogEntryNodeId(_0x4319cf){const _0x1a3778=_0x282282;if(_0x4319cf[_0x1a3778(0x34f)]){const _0x30bb73=_0x4319cf[_0x1a3778(0x34f)];if(_0x30bb73[_0x1a3778(0x12e)]===_0x1a3778(0x284))return's'+(_0x30bb73[_0x1a3778(0x325)]??0x1)+'.'+_0x30bb73['key'];return(_0x30bb73['scope']===_0x1a3778(0x369)?'b':'m')+'.'+_0x30bb73[_0x1a3778(0x2b8)];}return _0x4319cf['id'];}function evaluate(_0x5d3c67,_0x5495f8){const _0x54e53d=_0x282282;switch(_0x5d3c67[_0x54e53d(0x1b0)]){case _0x54e53d(0x196):return vNum(_0x5d3c67[_0x54e53d(0x364)]);case _0x54e53d(0x132):return vStr(_0x5d3c67[_0x54e53d(0x364)]);case _0x54e53d(0x1ab):return vBool(_0x5d3c67[_0x54e53d(0x364)]);case'ref':{const _0x4fed6f=_0x5d3c67[_0x54e53d(0x295)]??_0x5495f8[_0x54e53d(0x206)];if(_0x5495f8[_0x54e53d(0x231)]&&_0x5495f8[_0x54e53d(0x231)][_0x54e53d(0x370)]===_0x4fed6f&&_0x5495f8[_0x54e53d(0x231)]['r']===_0x5d3c67['r']&&_0x5495f8[_0x54e53d(0x231)]['c']===_0x5d3c67['c'])return vErr(_0x54e53d(0x2a5),_0x54e53d(0x169));return _0x5495f8['getCell'](_0x4fed6f,_0x5d3c67['r'],_0x5d3c67['c']);}case _0x54e53d(0x11e):{const _0x4dce4e=_0x5d3c67[_0x54e53d(0x295)]??_0x5495f8['activeSheetId'],_0x5c5549=[];for(let _0x4bf88b=_0x5d3c67['r1'];_0x4bf88b<=_0x5d3c67['r2'];_0x4bf88b+=0x1){const _0x1285c2=[];for(let _0x2f532c=_0x5d3c67['c1'];_0x2f532c<=_0x5d3c67['c2'];_0x2f532c+=0x1){_0x1285c2['push'](_0x5495f8[_0x54e53d(0x28f)](_0x4dce4e,_0x4bf88b,_0x2f532c));}_0x5c5549[_0x54e53d(0x1a5)](_0x1285c2);}const _0x217723={'k':_0x54e53d(0x2ea),'rows':_0x5c5549};return _0x217723;}case'name':{const _0x46acc2=_0x5495f8[_0x54e53d(0x266)]?.(_0x5d3c67['name']);if(_0x46acc2){if(_0x46acc2['r1']===_0x46acc2['r2']&&_0x46acc2['c1']===_0x46acc2['c2'])return _0x5495f8[_0x54e53d(0x28f)](_0x46acc2['sheet'],_0x46acc2['r1'],_0x46acc2['c1']);return evaluate({'type':_0x54e53d(0x11e),'sheet':_0x46acc2[_0x54e53d(0x295)],'r1':_0x46acc2['r1'],'c1':_0x46acc2['c1'],'r2':_0x46acc2['r2'],'c2':_0x46acc2['c2']},_0x5495f8);}const _0x37397f=_0x5495f8[_0x54e53d(0x27e)];if(_0x37397f){const _0x52a848=lookupDesignFieldIdent(_0x5d3c67[_0x54e53d(0x254)],_0x37397f);if(_0x52a848!==void 0x0)return formulaValueFromFieldLiteral(_0x52a848);}return vErr(_0x54e53d(0x2ad),_0x54e53d(0x321)+_0x5d3c67['name']);}case'unary':{const _0x5ba68e=evaluate(_0x5d3c67[_0x54e53d(0x183)],_0x5495f8);if(_0x5ba68e['k']==='err')return _0x5ba68e;const _0x20f116=scalarOf(_0x5ba68e);if(_0x20f116['k']===_0x54e53d(0x2cd))return _0x20f116;const _0x33d051=coerceNum(_0x20f116);if(_0x33d051==null)return vErr(_0x54e53d(0x261));return vNum(_0x5d3c67['op']==='-'?-_0x33d051:_0x33d051);}case'percent':{const _0x19dbe8=evaluate(_0x5d3c67[_0x54e53d(0x183)],_0x5495f8);if(_0x19dbe8['k']===_0x54e53d(0x2cd))return _0x19dbe8;const _0x27556a=scalarOf(_0x19dbe8);if(_0x27556a['k']==='err')return _0x27556a;const _0x3c0306=coerceNum(_0x27556a);if(_0x3c0306==null)return vErr(_0x54e53d(0x261));return vNum(_0x3c0306/0x64);}case'binary':{const _0x3f657e=evaluate(_0x5d3c67[_0x54e53d(0x1cd)],_0x5495f8),_0x37fe63=evaluate(_0x5d3c67[_0x54e53d(0x214)],_0x5495f8);if(_0x3f657e['k']===_0x54e53d(0x2cd))return _0x3f657e;if(_0x37fe63['k']===_0x54e53d(0x2cd))return _0x37fe63;const _0x139ce6=scalarOf(_0x3f657e),_0x3aaac4=scalarOf(_0x37fe63);if(_0x139ce6['k']===_0x54e53d(0x2cd))return _0x139ce6;if(_0x3aaac4['k']===_0x54e53d(0x2cd))return _0x3aaac4;return applyBinary(_0x5d3c67['op'],_0x139ce6,_0x3aaac4);}case _0x54e53d(0x25c):{const _0x5295d2=FUNCTIONS[_0x5d3c67[_0x54e53d(0x254)]];if(!_0x5295d2)return vErr(_0x54e53d(0x2ad),'未知函数\x20'+_0x5d3c67[_0x54e53d(0x254)]);const _0x1a8ab6=_0x5d3c67[_0x54e53d(0x358)][_0x54e53d(0x362)](_0x4bc6c8=>evaluate(_0x4bc6c8,_0x5495f8));return _0x5295d2(_0x1a8ab6);}}}function lookupDesignFieldIdent(_0x3d6049,_0x3a8925){const _0x51194f=_0x282282,_0x3f875d=/^m\.([A-Za-z_][\w]*)$/i[_0x51194f(0x2ac)](_0x3d6049);if(_0x3f875d)return _0x3a8925[_0x51194f(0x334)][_0x3f875d[0x1]];const _0x34e024=/^b\.([A-Za-z_][\w]*)$/i[_0x51194f(0x2ac)](_0x3d6049);if(_0x34e024)return _0x3a8925[_0x51194f(0x369)][_0x34e024[0x1]];const _0x5542aa=/^p\.([A-Za-z_][\w]*)$/i[_0x51194f(0x2ac)](_0x3d6049);if(_0x5542aa)return _0x3a8925[_0x51194f(0x1b1)][normalizeSystemParamId(_0x5542aa[0x1])];const _0x5256fc=/^s(\d+)\.([A-Za-z_][\w]*)$/i[_0x51194f(0x2ac)](_0x3d6049);if(_0x5256fc){const _0x3e7dfa=Number(_0x5256fc[0x1]),_0x473908=_0x5256fc[0x2],_0x4dfea0=_0x3a8925[_0x51194f(0x195)]??0x0,_0x5d449e=_0x3a8925['sub'][_0x3e7dfa];if(!_0x5d449e||_0x4dfea0<0x0||_0x4dfea0>=_0x5d449e[_0x51194f(0x296)])return'';return _0x5d449e[_0x4dfea0][_0x473908];}return void 0x0;}function formulaValueFromFieldLiteral(_0x54db3e){const _0x28bd9f=_0x282282;if(_0x54db3e==null||_0x54db3e==='')return V_NULL;if(typeof _0x54db3e===_0x28bd9f(0x24a)&&Number[_0x28bd9f(0x135)](_0x54db3e))return vNum(_0x54db3e);if(typeof _0x54db3e===_0x28bd9f(0x29b))return vBool(_0x54db3e);if(typeof _0x54db3e==='string'){const _0x51d2f7=tryParseNumericString(_0x54db3e);if(_0x51d2f7!=null)return vNum(_0x51d2f7);return vStr(_0x54db3e);}return vStr(String(_0x54db3e));}function scalarOf(_0x1c448f){const _0x72b037=_0x282282;if(_0x1c448f['k']===_0x72b037(0x2ea)){const _0x2c4754=_0x1c448f[_0x72b037(0x13b)][0x0]?.[0x0];return _0x2c4754??V_NULL;}return _0x1c448f;}function applyBinary(_0x1dd771,_0x254a2c,_0x5f378a){const _0x5248e0=_0x282282;if(_0x1dd771==='&')return vStr(coerceStr(_0x254a2c)+coerceStr(_0x5f378a));if(_0x1dd771==='='||_0x1dd771==='<>'||_0x1dd771==='<'||_0x1dd771==='<='||_0x1dd771==='>'||_0x1dd771==='>='){const _0x4259a5=compare(_0x254a2c,_0x5f378a);if(_0x4259a5==null)return vErr(_0x5248e0(0x261));switch(_0x1dd771){case'=':return vBool(_0x4259a5===0x0);case'<>':return vBool(_0x4259a5!==0x0);case'<':return vBool(_0x4259a5<0x0);case'<=':return vBool(_0x4259a5<=0x0);case'>':return vBool(_0x4259a5>0x0);case'>=':return vBool(_0x4259a5>=0x0);}}const _0x44990b=coerceNum(_0x254a2c),_0x339cd4=coerceNum(_0x5f378a);if(_0x44990b==null||_0x339cd4==null)return vErr(_0x5248e0(0x261));switch(_0x1dd771){case'+':return vNum(_0x44990b+_0x339cd4);case'-':return vNum(_0x44990b-_0x339cd4);case'*':return vNum(_0x44990b*_0x339cd4);case'/':if(_0x339cd4===0x0)return vErr('#DIV0');return vNum(_0x44990b/_0x339cd4);case'^':return vNum(_0x44990b**_0x339cd4);}return vErr(_0x5248e0(0x1cb));}function compare(_0x22b830,_0x2d4a86){const _0x9b5243=_0x282282,_0x144336=coerceNum(_0x22b830),_0x9f62a7=coerceNum(_0x2d4a86);if(_0x144336!=null&&_0x9f62a7!=null){if(_0x144336===_0x9f62a7)return 0x0;return _0x144336<_0x9f62a7?-0x1:0x1;}if(_0x22b830['k']===_0x9b5243(0x132)||_0x2d4a86['k']===_0x9b5243(0x132)){const _0x1229d7=coerceStr(_0x22b830),_0x19658d=coerceStr(_0x2d4a86);if(_0x1229d7===_0x19658d)return 0x0;return _0x1229d7<_0x19658d?-0x1:0x1;}if(_0x22b830['k']===_0x9b5243(0x1ab)||_0x2d4a86['k']==='bool'){const _0x570844=coerceBool(_0x22b830),_0x36be95=coerceBool(_0x2d4a86);if(_0x570844==null||_0x36be95==null)return null;if(_0x570844===_0x36be95)return 0x0;return _0x570844?0x1:-0x1;}return 0x0;}var FORMULA_RUN_WHEN_LABELS={'auto':_0x282282(0x138),'manualOnly':_0x282282(0x274)};function normalizeFormulaRunWhen(_0x119421){const _0x48a1aa=_0x282282;if(_0x119421?.[_0x48a1aa(0x235)]===_0x48a1aa(0x18d)||_0x119421?.[_0x48a1aa(0x235)]===_0x48a1aa(0x1ba))return _0x119421[_0x48a1aa(0x235)];const _0x35dd19=_0x119421?.['triggers'];if(_0x35dd19!=null&&_0x35dd19['length']>0x0){if(_0x35dd19[_0x48a1aa(0x372)](_0x48a1aa(0x12c)))return _0x48a1aa(0x1ba);if(_0x35dd19[_0x48a1aa(0x372)](_0x48a1aa(0x1ec))&&!_0x35dd19[_0x48a1aa(0x372)](_0x48a1aa(0x12c)))return _0x48a1aa(0x18d);}return'auto';}function runWhenToStorage(_0x13b353){const _0x4836b2=_0x282282;if(_0x13b353===_0x4836b2(0x18d))return{'runWhen':_0x4836b2(0x18d),'triggers':[]};return{'runWhen':_0x4836b2(0x1ba),'triggers':[_0x4836b2(0x12c)]};}function shouldRunFieldFormula(_0x4bfca1,_0x47eb8d){const _0x4aa72b=_0x282282;if(!_0x4bfca1?.['source'])return![];const _0x12e72c=normalizeFormulaRunWhen(_0x4bfca1);if(_0x12e72c===_0x4aa72b(0x1ba))return!![];return _0x47eb8d===_0x4aa72b(0x30c);}function shouldRunScriptBlock(_0x13e625,_0x24e459){const _0x313deb=_0x282282;if(!_0x13e625?.[_0x313deb(0x2a0)])return![];const _0x46f67a=normalizeFormulaRunWhen(_0x13e625);if(_0x46f67a==='auto')return!![];return _0x24e459===_0x313deb(0x30c);}function catalogEntryRunWhen(_0x25b86b){return normalizeFormulaRunWhen(_0x25b86b);}function extractRowInputFields(_0x4acb3b){const _0x1e5d55=_0x282282,_0x4e045d=new Set(),_0x5a4e18=/\brow\.([A-Za-z_][A-Za-z0-9_]*)\b/g;let _0x1bcc77;while((_0x1bcc77=_0x5a4e18[_0x1e5d55(0x2ac)](_0x4acb3b))!=null){_0x4e045d[_0x1e5d55(0x35e)](_0x1bcc77[0x1]);}return[..._0x4e045d];}function depId(_0x49e65f){const _0xb0f590=_0x282282;if(_0x49e65f[_0xb0f590(0x243)]==='main')return'm.'+_0x49e65f['key'];if(_0x49e65f[_0xb0f590(0x243)]==='base')return'b.'+_0x49e65f['key'];if(_0x49e65f[_0xb0f590(0x243)]===_0xb0f590(0x304))return _0xb0f590(0x19a)+_0x49e65f[_0xb0f590(0x2b8)];return's'+_0x49e65f[_0xb0f590(0x325)]+'.'+_0x49e65f[_0xb0f590(0x2b8)];}function isSelfDep(_0x54d5cf,_0x2db9fb){const _0x496ff8=_0x282282;if(_0x2db9fb[_0x496ff8(0x243)]===_0x496ff8(0x334)&&_0x54d5cf[_0x496ff8(0x243)]==='main')return _0x54d5cf[_0x496ff8(0x2b8)][_0x496ff8(0x193)]()===_0x2db9fb[_0x496ff8(0x2b8)][_0x496ff8(0x193)]();if(_0x2db9fb[_0x496ff8(0x243)]==='base'&&_0x54d5cf[_0x496ff8(0x243)]===_0x496ff8(0x369))return _0x54d5cf[_0x496ff8(0x2b8)][_0x496ff8(0x193)]()===_0x2db9fb[_0x496ff8(0x2b8)][_0x496ff8(0x193)]();if(_0x2db9fb[_0x496ff8(0x243)]===_0x496ff8(0x30a)){if(_0x54d5cf[_0x496ff8(0x243)]===_0x496ff8(0x304))return _0x54d5cf['key']['toLowerCase']()===_0x2db9fb[_0x496ff8(0x1b8)][_0x496ff8(0x193)]();if(_0x54d5cf['kind']==='subCol')return _0x54d5cf[_0x496ff8(0x325)]===_0x2db9fb['subSchemaId']&&_0x54d5cf['key'][_0x496ff8(0x193)]()===_0x2db9fb[_0x496ff8(0x1b8)][_0x496ff8(0x193)]();}return![];}function resolveInputDeps(_0x5c77f6,_0x1a9975){const _0x18a645=_0x282282,_0x27e3dd=[],_0x2555c6=new Set(),_0x228b93=_0x2603d9=>{const _0x1543c8=_0x2416;if(_0x1a9975&&isSelfDep(_0x2603d9,_0x1a9975))return;const _0x3ec24f=depId(_0x2603d9);if(_0x2555c6[_0x1543c8(0x32c)](_0x3ec24f))return;_0x2555c6['add'](_0x3ec24f),_0x27e3dd['push'](_0x2603d9);};for(const _0x2e759b of extractFormulaDeps(_0x5c77f6)){if(_0x2e759b[_0x18a645(0x223)]('m.'))_0x228b93({'kind':_0x18a645(0x334),'key':_0x2e759b[_0x18a645(0x28b)](0x2)});else{if(_0x2e759b[_0x18a645(0x223)]('b.'))_0x228b93({'kind':_0x18a645(0x369),'key':_0x2e759b['slice'](0x2)});else{const _0x1fc700=/^s(\d+)\.(.+)$/[_0x18a645(0x2ac)](_0x2e759b);if(_0x1fc700)_0x228b93({'kind':_0x18a645(0x1ea),'subSchemaId':Number(_0x1fc700[0x1]),'key':_0x1fc700[0x2]});}}}for(const _0x35f709 of extractRowInputFields(_0x5c77f6)){_0x228b93({'kind':'row','key':_0x35f709});}return _0x27e3dd;}function isPresent(_0x1d985c){return _0x1d985c!=null&&_0x1d985c!=='';}function isSubColumnPresent(_0x44a86b,_0x52a283,_0x493567){const _0x3fcb5d=_0x282282,_0x34f0c6=_0x44a86b[_0x3fcb5d(0x284)][_0x52a283]??[];for(const _0x119cc0 of _0x34f0c6){if(_0x119cc0&&isPresent(_0x119cc0[_0x493567]))return!![];}return![];}function resolveInputFields(_0x4693ed,_0x24acb6){const _0x197ade=_0x282282;if(_0x4693ed[_0x197ade(0x1a7)]?.[_0x197ade(0x296)])return _0x4693ed['inputFields'];return extractRowInputFields(_0x24acb6);}function isDepPresent(_0x5d7e8f,_0x41af1d,_0x324386){const _0x3e9d2c=_0x282282;if(_0x5d7e8f['kind']===_0x3e9d2c(0x334))return isPresent(_0x41af1d[_0x3e9d2c(0x334)][_0x5d7e8f[_0x3e9d2c(0x2b8)]]);if(_0x5d7e8f[_0x3e9d2c(0x243)]===_0x3e9d2c(0x369))return isPresent(_0x41af1d['base'][_0x5d7e8f[_0x3e9d2c(0x2b8)]]);if(_0x5d7e8f[_0x3e9d2c(0x243)]==='subCol')return isSubColumnPresent(_0x41af1d,_0x5d7e8f[_0x3e9d2c(0x325)],_0x5d7e8f[_0x3e9d2c(0x2b8)]);if(_0x5d7e8f['kind']===_0x3e9d2c(0x304)){if(_0x324386[_0x3e9d2c(0x243)]!==_0x3e9d2c(0x284))return![];const _0x369134=_0x41af1d[_0x3e9d2c(0x284)][_0x324386['subSchemaId']]?.[_0x324386[_0x3e9d2c(0x195)]]??{};return isPresent(_0x369134[_0x5d7e8f[_0x3e9d2c(0x2b8)]]);}return![];}function shouldComputeFieldByInput(_0x577fd4,_0x556ded,_0x52563f,_0x43a30b,_0x37255f){const _0x22824b=_0x282282,_0x36dd49=_0x577fd4['inputWhen']??_0x22824b(0x204);if(_0x36dd49==='always')return!![];if(_0x36dd49===_0x22824b(0x142)&&_0x43a30b[_0x22824b(0x243)]===_0x22824b(0x284)){const _0x40291b=resolveInputFields(_0x577fd4,_0x556ded);if(_0x40291b[_0x22824b(0x296)]===0x0)return!![];const _0xf5b21d=_0x52563f[_0x22824b(0x284)][_0x43a30b[_0x22824b(0x325)]]?.[_0x43a30b['rowIndex']]??{},_0x4bf62a=_0x40291b[_0x22824b(0x1d1)](_0x51c115=>isPresent(_0xf5b21d[_0x51c115]));return _0x4bf62a[_0x22824b(0x296)]>0x0;}const _0xec6f35=resolveInputDeps(_0x556ded,_0x37255f);if(_0xec6f35[_0x22824b(0x296)]===0x0)return!![];const _0x5a46ba=_0xec6f35['filter'](_0x138de0=>isDepPresent(_0x138de0,_0x52563f,_0x43a30b))['length'];if(_0x36dd49==='anyPresent')return _0x5a46ba>0x0;if(_0x36dd49===_0x22824b(0x36a))return _0x5a46ba===_0xec6f35['length'];return!![];}function isFieldRegistryRecord(_0x12f429){const _0x2464c2=_0x282282;return _0x12f429!=null&&typeof _0x12f429===_0x2464c2(0x201)&&!Array[_0x2464c2(0x2c4)](_0x12f429);}function normalizeFieldKey(_0x2223da){const _0x33c753=_0x282282;return(_0x2223da??'')[_0x33c753(0x335)]()[_0x33c753(0x193)]();}function normalizeFieldDef(_0x22d0c4){const _0x34c3dc=_0x282282;if(!isFieldRegistryRecord(_0x22d0c4))return null;const _0x3b315b=normalizeFieldKey(String(_0x22d0c4[_0x34c3dc(0x326)]??''));if(!_0x3b315b)return null;const _0x16626a=String(_0x22d0c4[_0x34c3dc(0x29d)]??_0x3b315b)['trim']()||_0x3b315b,_0x3e2834=String(_0x22d0c4[_0x34c3dc(0x229)]??'string')[_0x34c3dc(0x335)]()||_0x34c3dc(0x347);return{'bindingKey':_0x3b315b,'displayName':_0x16626a,'dataType':_0x3e2834,'requiredDefault':_0x22d0c4[_0x34c3dc(0x269)]===!![],'defaultValue':_0x22d0c4[_0x34c3dc(0x33f)]!=null?String(_0x22d0c4['defaultValue']):null,'dictCode':_0x22d0c4[_0x34c3dc(0x297)]!=null&&String(_0x22d0c4['dictCode'])[_0x34c3dc(0x335)]()?String(_0x22d0c4['dictCode'])[_0x34c3dc(0x335)]():null,'roundingJson':_0x22d0c4[_0x34c3dc(0x249)]!=null?String(_0x22d0c4[_0x34c3dc(0x249)]):null,'formulaJson':_0x22d0c4[_0x34c3dc(0x328)]!=null?String(_0x22d0c4[_0x34c3dc(0x328)]):null,'runtimeEditable':_0x22d0c4[_0x34c3dc(0x2b9)]!==![],'writebackTarget':_0x22d0c4['writebackTarget']!=null&&String(_0x22d0c4['writebackTarget'])[_0x34c3dc(0x335)]()?String(_0x22d0c4['writebackTarget'])[_0x34c3dc(0x335)]():null,'description':_0x22d0c4['description']!=null?String(_0x22d0c4['description']):null,'sortOrder':typeof _0x22d0c4[_0x34c3dc(0x119)]===_0x34c3dc(0x24a)&&Number['isFinite'](_0x22d0c4[_0x34c3dc(0x119)])?_0x22d0c4[_0x34c3dc(0x119)]:0x0,'enabled':_0x22d0c4['enabled']!==![],'inputWidgetJson':_0x22d0c4[_0x34c3dc(0x2cb)]!=null&&String(_0x22d0c4[_0x34c3dc(0x2cb)])[_0x34c3dc(0x335)]()?String(_0x22d0c4['inputWidgetJson']):null};}function normalizeSubFieldDef(_0xfab090){const _0x26a6a5=_0x282282,_0x22e867=normalizeFieldDef(_0xfab090);if(!_0x22e867||!isFieldRegistryRecord(_0xfab090))return null;const _0x5265a4=Number(_0xfab090[_0x26a6a5(0x325)]);if(!Number['isFinite'](_0x5265a4)||_0x5265a4<0x1)return null;return{..._0x22e867,'subSchemaId':_0x5265a4,'subRowCountKey':_0xfab090[_0x26a6a5(0x31b)]===!![]};}function emptyFieldRegistry(){return{'v':TEMPLATE_FIELD_REGISTRY_VERSION,'base':[],'main':[],'sub':[]};}function normalizeFieldRegistry(_0x4ccc1f){const _0x196b1a=_0x282282;if(!isFieldRegistryRecord(_0x4ccc1f))return emptyFieldRegistry();const _0x1571cf=[],_0x5f13dc=[],_0x437d7a=[];if(Array[_0x196b1a(0x2c4)](_0x4ccc1f['base']))for(const _0x40c1c9 of _0x4ccc1f[_0x196b1a(0x369)]){const _0x283f75=normalizeFieldDef(_0x40c1c9);if(_0x283f75)_0x1571cf['push'](_0x283f75);}if(Array[_0x196b1a(0x2c4)](_0x4ccc1f[_0x196b1a(0x334)]))for(const _0x4840d6 of _0x4ccc1f[_0x196b1a(0x334)]){const _0x475a35=normalizeFieldDef(_0x4840d6);if(_0x475a35)_0x5f13dc[_0x196b1a(0x1a5)](_0x475a35);}if(Array[_0x196b1a(0x2c4)](_0x4ccc1f['sub']))for(const _0x5610d1 of _0x4ccc1f['sub']){const _0x1b0c3a=normalizeSubFieldDef(_0x5610d1);if(_0x1b0c3a)_0x437d7a[_0x196b1a(0x1a5)](_0x1b0c3a);}return{'v':TEMPLATE_FIELD_REGISTRY_VERSION,'updatedAt':typeof _0x4ccc1f['updatedAt']==='string'?_0x4ccc1f[_0x196b1a(0x2ba)]:void 0x0,'base':_0x1571cf,'main':_0x5f13dc,'sub':_0x437d7a};}function cloneFieldRegistry(_0x4020f5){const _0x21d783=_0x282282;return JSON[_0x21d783(0x24f)](JSON[_0x21d783(0x31f)](_0x4020f5));}function getFieldRegistryFromMeta(_0x5f086a){const _0x308d48=_0x282282;if(!_0x5f086a?.[_0x308d48(0x177)])return emptyFieldRegistry();return normalizeFieldRegistry(_0x5f086a['fieldRegistry']);}function setFieldRegistryOnMeta(_0x3051ba,_0x19f37b){const _0x3c7e70=_0x282282;return{..._0x3051ba??{},'fieldRegistry':{..._0x19f37b,'v':TEMPLATE_FIELD_REGISTRY_VERSION,'updatedAt':new Date()[_0x3c7e70(0x2f9)]()}};}function indexFieldRegistry(_0x45245e){const _0x2eaf69=_0x282282,_0x15d8c2=new Map(),_0x2c1dd1=new Map(),_0x354747=new Map();if(!_0x45245e)return{'baseByKey':_0x15d8c2,'mainByKey':_0x2c1dd1,'subBySchema':_0x354747};for(const _0x5b7c8f of _0x45245e[_0x2eaf69(0x369)]){if(_0x5b7c8f[_0x2eaf69(0x349)]===![])continue;const _0x3d8001=normalizeFieldKey(_0x5b7c8f[_0x2eaf69(0x326)]);if(_0x3d8001)_0x15d8c2[_0x2eaf69(0x167)](_0x3d8001,_0x5b7c8f);}for(const _0x2487b1 of _0x45245e[_0x2eaf69(0x334)]){if(_0x2487b1[_0x2eaf69(0x349)]===![])continue;const _0x57735e=normalizeFieldKey(_0x2487b1[_0x2eaf69(0x326)]);if(_0x57735e)_0x2c1dd1[_0x2eaf69(0x167)](_0x57735e,_0x2487b1);}for(const _0x2038bd of _0x45245e[_0x2eaf69(0x284)]){if(_0x2038bd[_0x2eaf69(0x349)]===![])continue;const _0x3f9ec0=normalizeFieldKey(_0x2038bd['bindingKey']),_0x407ae8=_0x2038bd[_0x2eaf69(0x325)];if(!_0x3f9ec0||_0x407ae8<0x1)continue;let _0x5513f2=_0x354747[_0x2eaf69(0x213)](_0x407ae8);!_0x5513f2&&(_0x5513f2=new Map(),_0x354747['set'](_0x407ae8,_0x5513f2)),_0x5513f2[_0x2eaf69(0x167)](_0x3f9ec0,_0x2038bd);}return{'baseByKey':_0x15d8c2,'mainByKey':_0x2c1dd1,'subBySchema':_0x354747};}function resolveFieldDefRegisterMode(_0x32d855,_0xb4e536){const _0x28b375=_0x282282;if(_0xb4e536===_0x28b375(0x36b)||_0xb4e536===_0x28b375(0x32d))return'bindingOnly';if(_0x32d855){if(_0xb4e536==='basicField')return _0x28b375(0x29e);return _0x28b375(0x16e);}if(_0xb4e536===_0x28b375(0x368))return'bindingOnly';if(_0xb4e536===_0x28b375(0x179)||_0xb4e536===_0x28b375(0x36d))return'upsert';return _0x28b375(0x16e);}function fieldPartitionKey(_0x993e14){const _0x1623da=_0x282282;if(_0x993e14===_0x1623da(0x368))return _0x1623da(0x369);if(_0x993e14===_0x1623da(0x179))return _0x1623da(0x334);if(_0x993e14===_0x1623da(0x36d))return _0x1623da(0x284);return null;}function mergeBaseFieldPartition(_0x4d9782,_0xb574cf){const _0xcd03de=_0x282282,_0x4960d5=cloneFieldRegistry(_0x4d9782);return _0x4960d5[_0xcd03de(0x369)]=_0xb574cf[_0xcd03de(0x362)](_0xb3ca68=>normalizeFieldDef(_0xb3ca68))[_0xcd03de(0x1d1)](Boolean),_0x4960d5[_0xcd03de(0x2ba)]=new Date()[_0xcd03de(0x2f9)](),_0x4960d5;}function mergeBakedFieldRegistry(_0x3ae023,_0x356e51,_0x2c5b0c,_0x43d083,_0x48fa28){const _0x29f1cd=_0x282282,_0x4dd68e=[];for(const _0x55e1c4 of _0x3ae023){const _0x1d7276=normalizeFieldKey(_0x55e1c4[_0x29f1cd(0x326)]);if(_0x1d7276&&_0x2c5b0c[_0x29f1cd(0x32c)](_0x1d7276)&&_0x55e1c4['enabled']!==![])_0x4dd68e[_0x29f1cd(0x1a5)]({..._0x55e1c4});}const _0x1b566f=[];for(const _0x831313 of _0x356e51['main']){const _0x492fbe=normalizeFieldKey(_0x831313[_0x29f1cd(0x326)]);if(_0x492fbe&&_0x43d083[_0x29f1cd(0x32c)](_0x492fbe)&&_0x831313[_0x29f1cd(0x349)]!==![])_0x1b566f['push']({..._0x831313});}const _0x49f3cd=[];for(const _0x1b5336 of _0x356e51[_0x29f1cd(0x284)]){const _0x51b3a2=normalizeFieldKey(_0x1b5336[_0x29f1cd(0x326)]),_0x1dbae4=_0x1b5336[_0x29f1cd(0x325)],_0x3b58cb=_0x48fa28[_0x29f1cd(0x213)](_0x1dbae4);if(_0x51b3a2&&_0x3b58cb?.['has'](_0x51b3a2)&&_0x1b5336[_0x29f1cd(0x349)]!==![])_0x49f3cd['push']({..._0x1b5336});}return{'v':TEMPLATE_FIELD_REGISTRY_VERSION,'updatedAt':new Date()['toISOString'](),'base':_0x4dd68e,'main':_0x1b566f,'sub':_0x49f3cd};}function parseFieldRegistryFromCapabilities(_0x3943d4){const _0x2f2391=_0x282282;if(!_0x3943d4)return null;let _0x1e5cdf;if(typeof _0x3943d4===_0x2f2391(0x347))try{const _0x4436aa=JSON[_0x2f2391(0x24f)](_0x3943d4);if(!isFieldRegistryRecord(_0x4436aa))return null;_0x1e5cdf=_0x4436aa;}catch{return null;}else _0x1e5cdf=_0x3943d4;if(!_0x1e5cdf[_0x2f2391(0x177)])return null;return normalizeFieldRegistry(_0x1e5cdf[_0x2f2391(0x177)]);}function unwrapWorkbookInner(_0x2e0d2f){const _0x1e5840=_0x282282;if(_0x2e0d2f[_0x1e5840(0x243)]===_0x1e5840(0x16d)&&_0x2e0d2f[_0x1e5840(0x232)]&&typeof _0x2e0d2f[_0x1e5840(0x232)]==='object'&&!Array['isArray'](_0x2e0d2f[_0x1e5840(0x232)]))return _0x2e0d2f[_0x1e5840(0x232)];return _0x2e0d2f;}function extractBaseFieldDefsFromWorkbookEnvelope(_0x20095d){const _0x5495fb=_0x282282;try{const _0x4ed9cb=JSON['parse'](_0x20095d),_0x349247=unwrapWorkbookInner(_0x4ed9cb),_0x370302=_0x349247[_0x5495fb(0x322)];if(!isFieldRegistryRecord(_0x370302))return[];return normalizeFieldRegistry(_0x370302[_0x5495fb(0x177)])[_0x5495fb(0x369)];}catch{return[];}}function injectBaseFieldRegistryIntoWorkbookEnvelope(_0x482b75,_0x10049f){const _0x5dbdb1=_0x282282;try{const _0x1b045f=JSON[_0x5dbdb1(0x24f)](_0x482b75),_0x2449b0=_0x1b045f['kind']===_0x5dbdb1(0x16d),_0x5243ef=unwrapWorkbookInner(_0x1b045f),_0x2bcbee=isFieldRegistryRecord(_0x5243ef[_0x5dbdb1(0x322)])?{..._0x5243ef[_0x5dbdb1(0x322)]}:{},_0x133366=mergeBaseFieldPartition(normalizeFieldRegistry(_0x2bcbee[_0x5dbdb1(0x177)]),_0x10049f);_0x2bcbee[_0x5dbdb1(0x177)]=_0x133366,_0x5243ef['meta']=_0x2bcbee;if(_0x2449b0)_0x1b045f['workbook']=_0x5243ef;return JSON[_0x5dbdb1(0x31f)](_0x1b045f);}catch{return _0x482b75;}}function resolveBaseFieldDefsFromBaseSource(_0x45645e){const _0x375911=_0x282282,_0x43c141=parseFieldRegistryFromCapabilities(_0x45645e[_0x375911(0x1de)]??null);if(_0x43c141?.['base'][_0x375911(0x296)])return _0x43c141[_0x375911(0x369)]['map'](_0x3cd6ee=>({..._0x3cd6ee}));return extractBaseFieldDefsFromWorkbookEnvelope(_0x45645e[_0x375911(0x2d5)]);}var ROUND_MODE_LETTER_MAP={'a':_0x282282(0x234),'e':_0x282282(0x234),'u':_0x282282(0x202),'t':_0x282282(0x246),'c':_0x282282(0x2bb),'f':_0x282282(0x25b)},TYPE_TOKEN_MAP={'n':_0x282282(0x24a),'i':_0x282282(0x365),'s':_0x282282(0x347),'d':_0x282282(0x1e1),'dt':_0x282282(0x318),'b':_0x282282(0x29b)},DEFAULT_NUMBER_SCALE=0x1,DEFAULT_ROUND_MODE2=_0x282282(0x234);function splitBindingAndTypeSuffix(_0x5e67f8){const _0x12426b=_0x282282,_0x261af2=_0x5e67f8[_0x12426b(0x335)](),_0x5cc4a0=_0x261af2[_0x12426b(0x1f7)]('#');if(_0x5cc4a0<0x0)return{'bindingPart':_0x261af2};const _0x52be07=_0x261af2[_0x12426b(0x28b)](0x0,_0x5cc4a0)['trim'](),_0x14c700=_0x261af2[_0x12426b(0x28b)](_0x5cc4a0+0x1)[_0x12426b(0x335)]();if(!_0x52be07||!_0x14c700)return{'bindingPart':_0x261af2};return{'bindingPart':_0x52be07,'typeSpec':_0x14c700};}function resolveRoundMode(_0x1d27b0){if(!_0x1d27b0)return DEFAULT_ROUND_MODE2;const _0x30f399=ROUND_MODE_LETTER_MAP[_0x1d27b0['toLowerCase']()];return _0x30f399??null;}function buildRoundingJson(_0x4761ec,_0x48da10){const _0x3d35d7=_0x282282,_0x2b98dc={'roundMode':_0x4761ec,'scale':_0x48da10};return JSON[_0x3d35d7(0x31f)](_0x2b98dc);}function parseFieldTypeSpec(_0x1e5628){const _0x37b2b9=_0x282282,_0x47235f=_0x1e5628['trim']();if(!_0x47235f)return null;if(_0x47235f===_0x37b2b9(0x17a)||_0x47235f[_0x37b2b9(0x223)]('img:')){const _0x5f57bc=_0x47235f==='img'?'fileId':_0x47235f['slice'](0x4);if(_0x5f57bc===_0x37b2b9(0x205)||_0x5f57bc===_0x37b2b9(0x11f)||_0x5f57bc===_0x37b2b9(0x360))return{'dataType':_0x37b2b9(0x2e0),'imageStorage':_0x5f57bc};if(!_0x5f57bc)return{'dataType':_0x37b2b9(0x2e0),'imageStorage':_0x37b2b9(0x11f)};return null;}let _0x19bba7='',_0x28e1c1='';_0x47235f['startsWith']('dt')?(_0x19bba7='dt',_0x28e1c1=_0x47235f[_0x37b2b9(0x28b)](0x2)):(_0x19bba7=_0x47235f['slice'](0x0,0x1)[_0x37b2b9(0x193)](),_0x28e1c1=_0x47235f[_0x37b2b9(0x28b)](0x1));const _0x4cb7d8=TYPE_TOKEN_MAP[_0x19bba7];if(!_0x4cb7d8)return null;if(_0x28e1c1&&!_0x28e1c1[_0x37b2b9(0x223)](':'))return null;const _0x40313d=_0x28e1c1?_0x28e1c1[_0x37b2b9(0x28b)](0x1)[_0x37b2b9(0x379)](':'):[];if(_0x4cb7d8===_0x37b2b9(0x24a)){let _0x4a4b8a=DEFAULT_NUMBER_SCALE,_0x280122;if(_0x40313d[_0x37b2b9(0x296)]>=0x1&&_0x40313d[0x0]!==''){const _0x4cd8ee=Number(_0x40313d[0x0]);if(!Number[_0x37b2b9(0x135)](_0x4cd8ee))return null;_0x4a4b8a=Math[_0x37b2b9(0x25b)](_0x4cd8ee);}if(_0x40313d[_0x37b2b9(0x296)]>=0x2){_0x280122=_0x40313d[0x1];if(_0x40313d[_0x37b2b9(0x296)]>0x2)return null;}const _0x5c7375=resolveRoundMode(_0x280122);if(!_0x5c7375)return null;return{'dataType':_0x4cb7d8,'roundingJson':buildRoundingJson(_0x5c7375,_0x4a4b8a)};}if(_0x4cb7d8==='integer'){if(_0x40313d[_0x37b2b9(0x296)]>0x1)return null;return{'dataType':_0x4cb7d8};}if(_0x40313d[_0x37b2b9(0x296)]>0x0)return null;return{'dataType':_0x4cb7d8};}var REVERSE_ROUND_LETTER={'half_even':'a','half_up':'u','truncate':'t','ceiling':'c','floor':'f'},REVERSE_TYPE_TOKEN={'number':'n','integer':'i','string':'s','date':'d','datetime':'dt','boolean':'b','image':_0x282282(0x17a)};function formatFieldTypeShorthand(_0x42f7ae){const _0x2e8689=_0x282282,_0x667a66=REVERSE_TYPE_TOKEN[_0x42f7ae[_0x2e8689(0x229)]];if(!_0x667a66)return'';if(_0x42f7ae['dataType']===_0x2e8689(0x24a)&&_0x42f7ae[_0x2e8689(0x249)])try{const _0x2ac521=JSON['parse'](_0x42f7ae[_0x2e8689(0x249)]),_0x2a22ac=_0x2ac521['scale']??DEFAULT_NUMBER_SCALE,_0x530b5d=_0x2ac521[_0x2e8689(0x1a2)]??DEFAULT_ROUND_MODE2,_0x59c6ad=REVERSE_ROUND_LETTER[_0x530b5d],_0x23a84d=_0x667a66+':'+_0x2a22ac;if(!_0x59c6ad||_0x530b5d===DEFAULT_ROUND_MODE2)return _0x23a84d;return _0x23a84d+':'+_0x59c6ad;}catch{return _0x667a66+':'+DEFAULT_NUMBER_SCALE;}if(_0x42f7ae[_0x2e8689(0x229)]===_0x2e8689(0x365))return _0x667a66;if(_0x42f7ae['dataType']===_0x2e8689(0x2e0)){const _0x4dbafe=_0x42f7ae['imageStorage']??_0x2e8689(0x11f);return _0x4dbafe===_0x2e8689(0x11f)?_0x2e8689(0x17a):_0x2e8689(0x22a)+_0x4dbafe;}return _0x667a66;}var DESIGN_FIELD_SHORTHAND_SKILLS=_0x282282(0x2c3),SUBTABLE_SLOT_BINDING_SKILLS=_0x282282(0x2a8),DEFAULT_FONT_SIZE_PT=0xa,MIN_FONT_SIZE_PT=0x1,MAX_FONT_SIZE_PT=0x199;function fontSizePtToCssPx(_0x457628){return _0x457628*0x60/0x48;}function cssPxToFontSizePt(_0x175b18){const _0x25f436=_0x282282;return Math[_0x25f436(0x250)](_0x175b18*0x48/0x60*0x64)/0x64;}function clampFontSizePt(_0x1c1b12){const _0x55bb50=_0x282282;return Math[_0x55bb50(0x218)](MIN_FONT_SIZE_PT,Math[_0x55bb50(0x257)](MAX_FONT_SIZE_PT,_0x1c1b12));}var MIN_SHRINK_FONT_PT=0x1,SHRINK_LINE_HEIGHT=1.2;function layoutFontCss(_0x1154b6,_0x5b1065,_0x2843c4){const _0x1f9e4d=_0x282282,_0x18c002=_0x2843c4?.[_0x1f9e4d(0x262)]?'italic':'normal',_0x271bda=_0x2843c4?.[_0x1f9e4d(0x2e6)]?_0x1f9e4d(0x2e6):_0x1f9e4d(0x244);return _0x18c002+'\x20'+_0x271bda+'\x20'+_0x1154b6+_0x1f9e4d(0x37b)+_0x5b1065;}function wrapTextToWidthM(_0x1f95d8,_0x240d6a,_0x516e9c,_0x180f37){const _0x551e97=_0x282282;if(_0x180f37<=0x0)return[_0x516e9c];const _0x13703c=[],_0x13f477=_0x516e9c[_0x551e97(0x379)]('\x0a');for(const _0x36d9da of _0x13f477){if(_0x36d9da===''){_0x13703c[_0x551e97(0x1a5)]('');continue;}let _0x4b4872=_0x36d9da;while(_0x4b4872[_0x551e97(0x296)]>0x0){if(_0x1f95d8[_0x551e97(0x267)](_0x4b4872,_0x240d6a)<=_0x180f37){_0x13703c[_0x551e97(0x1a5)](_0x4b4872);break;}let _0x12e459=_0x4b4872[_0x551e97(0x296)];while(_0x12e459>0x1&&_0x1f95d8[_0x551e97(0x267)](_0x4b4872[_0x551e97(0x28b)](0x0,_0x12e459),_0x240d6a)>_0x180f37){_0x12e459-=0x1;}_0x13703c[_0x551e97(0x1a5)](_0x4b4872[_0x551e97(0x28b)](0x0,_0x12e459)),_0x4b4872=_0x4b4872[_0x551e97(0x28b)](_0x12e459);}}return _0x13703c;}function layoutLinesForCellM(_0x20c66d,_0x5ae666,_0x1241c2,_0x12a253,_0x576b47,_0x3deda3,_0x36653d,_0x55daf1=_0x282282(0x273),_0x58328d){const _0xb68a1f=_0x282282,_0x288353=MIN_SHRINK_FONT_PT;let _0x192681=_0x576b47;const _0x344a3a=_0x2194f7=>{const _0x5153f6=_0x2416,_0x1f30d6=fontSizePtToCssPx(_0x2194f7),_0x37ed90=layoutFontCss(_0x1f30d6,_0x55daf1,_0x58328d),_0x32df9e=Math[_0x5153f6(0x218)](0x0,_0x1241c2),_0x489564=_0x3deda3&&_0x32df9e>0x0?wrapTextToWidthM(_0x20c66d,_0x37ed90,_0x5ae666,_0x32df9e):_0x5ae666['split']('\x0a'),_0x527c26=_0x1f30d6*SHRINK_LINE_HEIGHT,_0x5b1b83=_0x489564[_0x5153f6(0x296)]*_0x527c26;let _0x7c93f5=0x0;for(const _0x59437c of _0x489564)_0x7c93f5=Math[_0x5153f6(0x218)](_0x7c93f5,_0x20c66d[_0x5153f6(0x267)](_0x59437c,_0x37ed90));return{'lines':_0x489564,'blockH':_0x5b1b83,'maxW':_0x7c93f5,'innerW':_0x32df9e};};let _0x311203=_0x344a3a(_0x192681);if(_0x36653d)while(_0x192681>_0x288353+0.01){const _0x592f4f=_0x3deda3?!![]:_0x311203[_0xb68a1f(0x168)]<=_0x311203[_0xb68a1f(0x33a)]+0.5,_0x3cae9c=_0x311203['blockH']<=_0x12a253+0.5;if(_0x592f4f&&_0x3cae9c)break;_0x192681=Math[_0xb68a1f(0x218)](_0x288353,_0x192681-0.5),_0x311203=_0x344a3a(_0x192681);}return{'lines':_0x311203[_0xb68a1f(0x1c0)],'fontSizePt':_0x192681};}var CSS_PX_PER_INCH=0x60,MM_PER_INCH=25.4;function mmToCssPx(_0x7eea87){return _0x7eea87*CSS_PX_PER_INCH/MM_PER_INCH;}function cssPxToCm(_0x34e6fb){return _0x34e6fb*2.54/CSS_PX_PER_INCH;}function cssOneCmToCssPx(){return CSS_PX_PER_INCH/2.54;}function marginsCmToMm(_0x5ece2a){const _0x3538b1=_0x282282;return{'top':_0x5ece2a[_0x3538b1(0x11d)]*0xa,'right':_0x5ece2a[_0x3538b1(0x214)]*0xa,'bottom':_0x5ece2a['bottom']*0xa,'left':_0x5ece2a[_0x3538b1(0x1cd)]*0xa};}function paperSizeMmRaw(_0x357924){const _0x1e2841=_0x282282;switch(_0x357924){case'A3':return{'widthMm':0x129,'heightMm':0x1a4};case _0x1e2841(0x208):return{'widthMm':215.9,'heightMm':279.4};case'A4':default:return{'widthMm':0xd2,'heightMm':0x129};}}function paperSizeMm(_0x21e469,_0x3cb9d7){const _0x369385=_0x282282,{widthMm:_0x672a51,heightMm:_0x4f1125}=paperSizeMmRaw(_0x21e469);if(_0x3cb9d7==='landscape')return{'widthMm':Math[_0x369385(0x218)](_0x672a51,_0x4f1125),'heightMm':Math['min'](_0x672a51,_0x4f1125)};return{'widthMm':_0x672a51,'heightMm':_0x4f1125};}function paperSizeMmFromPage(_0x2d55cf){const _0x34c81d=_0x282282;if(_0x2d55cf['paper']==='Custom'){const _0x54d187=Number(_0x2d55cf['widthMm']),_0x45b295=Number(_0x2d55cf[_0x34c81d(0x19f)]);if(Number[_0x34c81d(0x135)](_0x54d187)&&_0x54d187>0x0&&Number[_0x34c81d(0x135)](_0x45b295)&&_0x45b295>0x0)return{'widthMm':_0x54d187,'heightMm':_0x45b295};return paperSizeMm('A4',_0x2d55cf[_0x34c81d(0x264)]);}return paperSizeMm(_0x2d55cf[_0x34c81d(0x242)],_0x2d55cf[_0x34c81d(0x264)]);}function physicalPaperSizeMmFromPage(_0x22c351){const _0x24b09d=_0x282282,{widthMm:_0x2ef3b9,heightMm:_0x492354}=paperSizeMmFromPage(_0x22c351);if(_0x22c351['outputRotation']===0x5a||_0x22c351[_0x24b09d(0x139)]===0x10e)return{'widthMm':_0x492354,'heightMm':_0x2ef3b9};return{'widthMm':_0x2ef3b9,'heightMm':_0x492354};}function printableSizeMm(_0x1a1d89){const _0xa43181=_0x282282,{widthMm:_0x28281b,heightMm:_0x272126}=paperSizeMmFromPage(_0x1a1d89),_0x54a089=marginsCmToMm(_0x1a1d89['marginsCm']);return{'widthMm':Math[_0xa43181(0x218)](0x1,_0x28281b-_0x54a089[_0xa43181(0x1cd)]-_0x54a089[_0xa43181(0x214)]),'heightMm':Math[_0xa43181(0x218)](0x1,_0x272126-_0x54a089['top']-_0x54a089[_0xa43181(0x27f)])};}function printableSizeCssPx(_0xa5971e){const {widthMm:_0x383748,heightMm:_0x442d76}=printableSizeMm(_0xa5971e);return{'widthPx':mmToCssPx(_0x383748),'heightPx':mmToCssPx(_0x442d76)};}function pageAtRuleCss(_0x41a23a){const _0x248f93=_0x282282,{paper:_0x4a0408,orientation:_0x30dade,marginsCm:_0x143ea4}=_0x41a23a,_0x1ee507=marginsCmToMm(_0x143ea4);if(_0x41a23a['outputRotation']===0x5a||_0x41a23a[_0x248f93(0x139)]===0x10e){const _0x328b9a=physicalPaperSizeMmFromPage(_0x41a23a);return _0x248f93(0x13c)+_0x328b9a[_0x248f93(0x2e1)]+_0x248f93(0x199)+_0x328b9a['heightMm']+_0x248f93(0x1c8);}if(_0x4a0408==='Custom'){const {widthMm:_0x4bdf76,heightMm:_0x545ae8}=paperSizeMmFromPage(_0x41a23a);return'@page\x20{\x20size:\x20'+_0x4bdf76+_0x248f93(0x199)+_0x545ae8+_0x248f93(0x25f)+_0x1ee507[_0x248f93(0x11d)]+_0x248f93(0x199)+_0x1ee507['right']+_0x248f93(0x199)+_0x1ee507[_0x248f93(0x27f)]+_0x248f93(0x199)+_0x1ee507[_0x248f93(0x1cd)]+'mm;\x20}';}const _0x56f192=_0x4a0408==='A3'?_0x30dade===_0x248f93(0x287)?'A3\x20landscape':_0x248f93(0x253):_0x4a0408===_0x248f93(0x208)?_0x30dade==='landscape'?_0x248f93(0x151):_0x248f93(0x241):_0x30dade===_0x248f93(0x287)?_0x248f93(0x207):_0x248f93(0x315),_0x3b0b63=_0x1ee507[_0x248f93(0x11d)]+'mm',_0x34c436=_0x1ee507[_0x248f93(0x214)]+'mm',_0x43f534=_0x1ee507[_0x248f93(0x27f)]+'mm',_0x259957=_0x1ee507[_0x248f93(0x1cd)]+'mm';return _0x248f93(0x13c)+_0x56f192+_0x248f93(0x373)+_0x3b0b63+'\x20'+_0x34c436+'\x20'+_0x43f534+'\x20'+_0x259957+_0x248f93(0x2be);}function jsPdfFormat(_0x92610){const _0x80c19a=_0x282282;if(_0x92610[_0x80c19a(0x242)]==='A3')return'a3';if(_0x92610[_0x80c19a(0x242)]===_0x80c19a(0x208))return _0x80c19a(0x292);return'a4';}function jsPdfOrientation(_0xd78375){const _0x3a3d0f=_0x282282;return _0xd78375[_0x3a3d0f(0x264)]===_0x3a3d0f(0x287)?'l':'p';}function sliceRectangles(_0x1ca985,_0x3520fd,_0x1b72a5,_0x3fcf0e){const _0x584ccb=_0x282282;if(_0x1b72a5<=0x0||_0x3fcf0e<=0x0)return[{'x':0x0,'y':0x0,'w':_0x1ca985,'h':_0x3520fd}];const _0x5b68e6=[];for(let _0x283009=0x0;_0x283009<_0x3520fd;_0x283009+=_0x3fcf0e){for(let _0x2605f5=0x0;_0x2605f5<_0x1ca985;_0x2605f5+=_0x1b72a5){const _0x2bcf59=Math[_0x584ccb(0x257)](_0x1b72a5,_0x1ca985-_0x2605f5),_0x5580af=Math[_0x584ccb(0x257)](_0x3fcf0e,_0x3520fd-_0x283009);if(_0x2bcf59>0x0&&_0x5580af>0x0)_0x5b68e6[_0x584ccb(0x1a5)]({'x':_0x2605f5,'y':_0x283009,'w':_0x2bcf59,'h':_0x5580af});}}return _0x5b68e6['length']?_0x5b68e6:[{'x':0x0,'y':0x0,'w':_0x1ca985,'h':_0x3520fd}];}function marginsCmToPt(_0x1395bf){const _0x5a9762=_0x282282,_0x280684=marginsCmToMm(_0x1395bf),_0x132121=_0x451f0b=>_0x451f0b*0x48/MM_PER_INCH;return{'top':_0x132121(_0x280684[_0x5a9762(0x11d)]),'right':_0x132121(_0x280684[_0x5a9762(0x214)]),'bottom':_0x132121(_0x280684[_0x5a9762(0x27f)]),'left':_0x132121(_0x280684[_0x5a9762(0x1cd)])};}function clampRange(_0x5b30f7,_0x1d96c9){const _0x523757=_0x282282;if(!_0x5b30f7)return null;const _0x11fb41=Math[_0x523757(0x218)](0x1,_0x5b30f7['startRow']),_0x29c6d1=Math[_0x523757(0x257)](_0x1d96c9,_0x5b30f7[_0x523757(0x272)]);if(_0x29c6d1<_0x11fb41)return null;return{'startRow':_0x11fb41,'endRow':_0x29c6d1};}function inSegment(_0x5349be,_0x1d15c2){const _0x17ab7a=_0x282282;return!!_0x1d15c2&&_0x5349be>=_0x1d15c2['startRow']&&_0x5349be<=_0x1d15c2[_0x17ab7a(0x272)];}function compressToSegments(_0x54037f){const _0x1092ad=_0x282282,_0x3b8531=[];for(const _0x408973 of _0x54037f){const _0x1343b2=_0x3b8531[_0x3b8531[_0x1092ad(0x296)]-0x1];_0x1343b2&&_0x408973===_0x1343b2[_0x1092ad(0x272)]+0x1?_0x1343b2[_0x1092ad(0x272)]=_0x408973:_0x3b8531[_0x1092ad(0x1a5)]({'startRow':_0x408973,'endRow':_0x408973});}return _0x3b8531;}function paginateReportRows(_0x18ebe0){const _0xa139c2=_0x282282,{rowCount:_0xd7469e,rowHeights:_0x52832b,defaultRowHeight:_0x340f1f,page:_0x464943}=_0x18ebe0,{heightPx:_0x52aa35}=printableSizeCssPx(_0x464943),_0x1699f3=_0x2bbf8d=>_0x52832b?.[_0x2bbf8d-0x1]??_0x340f1f,_0x13ca6b=_0xc9fec8=>{const _0x3fde5f=_0x2416;if(!_0xc9fec8)return 0x0;let _0x106763=0x0;for(let _0x475a26=_0xc9fec8['startRow'];_0x475a26<=_0xc9fec8[_0x3fde5f(0x272)];_0x475a26++)_0x106763+=_0x1699f3(_0x475a26);return _0x106763;},_0x522f22=clampRange(_0x464943[_0xa139c2(0x2d3)],_0xd7469e),_0x2f39fc=clampRange(_0x464943[_0xa139c2(0x18a)],_0xd7469e),_0x30a8d5=_0x13ca6b(_0x522f22),_0x1919b3=_0x13ca6b(_0x2f39fc),_0x1b6f35=Math[_0xa139c2(0x218)](0x1,_0x52aa35-_0x30a8d5-_0x1919b3),_0x5b3016=[];for(let _0x367036=0x1;_0x367036<=_0xd7469e;_0x367036++){if(inSegment(_0x367036,_0x522f22)||inSegment(_0x367036,_0x2f39fc))continue;_0x5b3016[_0xa139c2(0x1a5)](_0x367036);}const _0x2a6675=[];let _0x2b1c44=0x0;while(_0x2b1c44<_0x5b3016[_0xa139c2(0x296)]){const _0x5c1d65=[];let _0x4d603e=0x0;while(_0x2b1c44<_0x5b3016['length']){const _0x4ed261=_0x5b3016[_0x2b1c44],_0x11a616=_0x1699f3(_0x4ed261);if(_0x5c1d65[_0xa139c2(0x296)]>0x0&&_0x4d603e+_0x11a616>_0x1b6f35)break;_0x5c1d65[_0xa139c2(0x1a5)](_0x4ed261),_0x4d603e+=_0x11a616,_0x2b1c44++;if(_0x4d603e>=_0x1b6f35)break;}_0x2a6675[_0xa139c2(0x1a5)]({'pageIndex':_0x2a6675[_0xa139c2(0x296)],'headerRows':_0x522f22,'bodySegments':compressToSegments(_0x5c1d65),'footerRows':_0x2f39fc});}return _0x2a6675[_0xa139c2(0x296)]===0x0&&_0x2a6675[_0xa139c2(0x1a5)]({'pageIndex':0x0,'headerRows':_0x522f22,'bodySegments':[],'footerRows':_0x2f39fc}),{'pages':_0x2a6675,'printableHeightPx':_0x52aa35,'headerHeightPx':_0x30a8d5,'footerHeightPx':_0x1919b3,'bodyAvailPx':_0x1b6f35};}function lowerKeys(_0x1af54b){const _0x2cf5ff=_0x282282,_0x5bf66a={};if(!_0x1af54b)return _0x5bf66a;for(const [_0x73b94,_0x21108e]of Object[_0x2cf5ff(0x172)](_0x1af54b)){const _0x31d82c=_0x73b94[_0x2cf5ff(0x335)]()['toLowerCase']();if(_0x31d82c)_0x5bf66a[_0x31d82c]=_0x21108e;}return _0x5bf66a;}function normalizeFieldData(_0x37f574,_0x4f4e7c){const _0x37ca89=_0x282282,_0x277a5d=new Map();for(const [_0x33237d,_0x59f779]of Object[_0x37ca89(0x172)](_0x37f574['s']??{})){const _0x1be434=Number(String(_0x33237d)['replace'](/^s/i,''));if(!Number[_0x37ca89(0x135)](_0x1be434)||!Array[_0x37ca89(0x2c4)](_0x59f779))continue;_0x277a5d[_0x37ca89(0x167)](_0x1be434,_0x59f779[_0x37ca89(0x362)](lowerKeys));}const _0x13e33e={},_0x420677={},_0x6ea06e=(_0x56283d,_0x584da6)=>{const _0x33e7fa=normalizeSystemParamId(_0x56283d);if(!_0x33e7fa)return;_0x13e33e[_0x33e7fa]=_0x584da6,_0x420677[_0x33e7fa['toLowerCase']()]=_0x584da6;};for(const [_0x1424ed,_0x3f6385]of Object['entries'](_0x37f574[_0x37ca89(0x1b1)]??{}))_0x6ea06e(_0x1424ed,_0x3f6385);for(const [_0x347ef6,_0x5c9791]of Object['entries'](_0x4f4e7c??{}))_0x6ea06e(_0x347ef6,_0x5c9791);return{'b':lowerKeys(_0x37f574['b']),'m':lowerKeys(_0x37f574['m']),'s':_0x277a5d,'params':_0x13e33e,'paramsLower':_0x420677};}function toDisplay(_0x44fae8){const _0x5e7e92=_0x282282;if(_0x44fae8==null||_0x44fae8==='')return void 0x0;if(_0x44fae8 instanceof Date)return _0x44fae8[_0x5e7e92(0x2f9)]()[_0x5e7e92(0x28b)](0x0,0xa);return String(_0x44fae8);}function isImageDataUrl(_0x221213){const _0x3f3d32=_0x282282;return _0x221213[_0x3f3d32(0x223)](_0x3f3d32(0x2fe));}function applyResolvedValue(_0x4380db,_0x21e10b){if(isImageDataUrl(_0x21e10b))return{..._0x4380db,'value':'','imageSrc':_0x21e10b};return{..._0x4380db,'value':_0x21e10b};}function resolveSub(_0x3c0076,_0x21e227,_0x10cd16,_0x4a7614){const _0x50f50c=_0x282282,_0xec2790=_0x3c0076['s'][_0x50f50c(0x213)](_0x21e227);if(!_0xec2790)return void 0x0;const _0x59ff9d=_0xec2790[_0x10cd16??0x0];if(!_0x59ff9d)return void 0x0;return toDisplay(_0x59ff9d[_0x4a7614[_0x50f50c(0x335)]()['toLowerCase']()]);}function resolveBinding(_0x20840b,_0x4cbd60){const _0x4b29fe=_0x282282,_0x51a424=_0x20840b['baseTemplateBinding'];if(!_0x51a424)return void 0x0;const _0x460146=_0x51a424[_0x4b29fe(0x2b8)][_0x4b29fe(0x335)]()[_0x4b29fe(0x193)]();switch(_0x51a424['kind']){case _0x4b29fe(0x368):return toDisplay(_0x4cbd60['b'][_0x460146]);case _0x4b29fe(0x179):return toDisplay(_0x4cbd60['m'][_0x460146]);case _0x4b29fe(0x36d):return resolveSub(_0x4cbd60,_0x51a424[_0x4b29fe(0x325)]??0x1,_0x51a424['subRowSlot'],_0x51a424['key']);case _0x4b29fe(0x32d):{const _0xe947ea=(_0x51a424[_0x4b29fe(0x33b)]??_0x20840b[_0x4b29fe(0x364)]??'')[_0x4b29fe(0x335)]();if(_0xe947ea&&templateContainsSystemParamTokens(_0xe947ea)){const _0x30ff86=expandSystemParamTemplate(_0xe947ea,_0x4cbd60[_0x4b29fe(0x1b1)]);if(_0x30ff86[_0x4b29fe(0x335)]())return _0x30ff86;}return toDisplay(_0x4cbd60['paramsLower'][_0x460146]);}default:return void 0x0;}}var TOKEN_RE=/\{(b|m|p|s\d+)\.([a-z0-9_.]+)\}/gi;function expandFieldTokens(_0x2cc3b9,_0x3580c0,_0x5f4cef){const _0x250e3e=normalizeFieldData(_0x3580c0,_0x5f4cef);return expandTokensNormalized(_0x2cc3b9,_0x250e3e);}function expandTokensNormalized(_0x3300ad,_0x100804){const _0x7ef28c=_0x282282;let _0x2abee2=_0x3300ad['replace'](TOKEN_RE,(_0x9220d7,_0x4e08ad,_0x501e13)=>{const _0x143d58=_0x2416,_0x134998=_0x501e13[_0x143d58(0x335)]()[_0x143d58(0x193)](),_0x388d2e=_0x4e08ad[_0x143d58(0x193)]();if(_0x388d2e==='b')return toDisplay(_0x100804['b'][_0x134998])??_0x9220d7;if(_0x388d2e==='m')return toDisplay(_0x100804['m'][_0x134998])??_0x9220d7;if(_0x388d2e==='p')return toDisplay(_0x100804['paramsLower'][_0x134998])??_0x9220d7;const _0xa18cef=Number(_0x388d2e[_0x143d58(0x28b)](0x1));return resolveSub(_0x100804,_0xa18cef,0x0,_0x134998)??_0x9220d7;});if(templateContainsSystemParamTokens(_0x2abee2)){const _0xc33ec1=expandSystemParamTemplate(_0x2abee2,_0x100804['params']);if(_0xc33ec1[_0x7ef28c(0x335)]())_0x2abee2=_0xc33ec1;}return _0x2abee2;}function hydrateSheetFieldData(_0x54dce9,_0xa4893b,_0x334624){const _0x213586=_0x282282,_0x47aa39=normalizeFieldData(_0xa4893b,_0x334624?.[_0x213586(0x2ff)]),_0x3e8b9c=_0x334624?.['clearUnresolvedBindings']??!![],_0x2db4c5={..._0x54dce9[_0x213586(0x1f0)]};for(const [_0x52d732,_0x4d7bfb]of Object[_0x213586(0x172)](_0x2db4c5)){if(!_0x4d7bfb)continue;const _0x4d178e=resolveBinding(_0x4d7bfb,_0x47aa39);if(_0x4d178e!==void 0x0){_0x2db4c5[_0x52d732]=applyResolvedValue(_0x4d7bfb,_0x4d178e);continue;}if(_0x4d7bfb[_0x213586(0x338)]&&_0x4d7bfb['baseTemplateBinding'][_0x213586(0x243)]!==_0x213586(0x1da)){if(_0x3e8b9c)_0x2db4c5[_0x52d732]={..._0x4d7bfb,'value':''};continue;}const _0x25dbdc=_0x4d7bfb[_0x213586(0x364)]??'';if(!_0x25dbdc)continue;const _0x524f4=expandTokensNormalized(_0x25dbdc,_0x47aa39);if(_0x524f4!==_0x25dbdc)_0x2db4c5[_0x52d732]={..._0x4d7bfb,'value':_0x524f4};}return{..._0x54dce9,'cells':_0x2db4c5};}function hydrateWorkbookFieldData(_0x171bf6,_0x355289,_0x1d1a97){const _0x2354ab=_0x282282;return{..._0x171bf6,'sheets':_0x171bf6[_0x2354ab(0x21a)][_0x2354ab(0x362)](_0x5f5548=>({..._0x5f5548,'sheet':hydrateSheetFieldData(_0x5f5548[_0x2354ab(0x295)],_0x355289,_0x1d1a97)}))};}function clampRange2(_0x470837,_0x5c7aa1){const _0x3eb6ea=_0x282282;if(!_0x470837)return null;const _0x54a3eb=Math['max'](0x1,_0x470837[_0x3eb6ea(0x310)]),_0x548c0b=Math[_0x3eb6ea(0x257)](_0x5c7aa1,_0x470837['endRow']);if(_0x548c0b<_0x54a3eb)return null;return{'startRow':_0x54a3eb,'endRow':_0x548c0b};}function sliceStrip(_0x2a3a36,_0x4923a9){const _0x4911c5=_0x282282,_0x407f56={};for(const [_0x4d2c5e,_0x475ce2]of Object[_0x4911c5(0x172)](_0x2a3a36['cells']??{})){const _0x207b0b=parseCellKey(_0x4d2c5e);if(!_0x207b0b||_0x207b0b['r']<_0x4923a9[_0x4911c5(0x310)]||_0x207b0b['r']>_0x4923a9[_0x4911c5(0x272)])continue;_0x407f56[_0x4f1eb4(_0x207b0b['r']-_0x4923a9[_0x4911c5(0x310)]+0x1,_0x207b0b['c'])]=_0x475ce2;}const _0x12b3e3=[];for(const _0x51df66 of _0x2a3a36[_0x4911c5(0x2d7)]??[]){if(_0x51df66['r1']<_0x4923a9[_0x4911c5(0x310)]||_0x51df66['r2']>_0x4923a9['endRow'])continue;_0x12b3e3[_0x4911c5(0x1a5)]({'r1':_0x51df66['r1']-_0x4923a9[_0x4911c5(0x310)]+0x1,'r2':_0x51df66['r2']-_0x4923a9['startRow']+0x1,'c1':_0x51df66['c1'],'c2':_0x51df66['c2']});}const _0x4d2f44=[];for(let _0x12f3c6=_0x4923a9[_0x4911c5(0x310)];_0x12f3c6<=_0x4923a9['endRow'];_0x12f3c6++){_0x4d2f44[_0x4911c5(0x1a5)](_0x2a3a36['rowHeights']?.[_0x12f3c6-0x1]??_0x2a3a36['defaultRowHeight']);}return{'rowCount':_0x4923a9[_0x4911c5(0x272)]-_0x4923a9[_0x4911c5(0x310)]+0x1,'rowHeights':_0x4d2f44,'cells':_0x407f56,'merges':_0x12b3e3};}function extractHeaderFooterStrips(_0x5ea88b,_0x4136d6){const _0x1924ab=_0x282282,_0x5b2d8f=_0x4136d6?_0x5ea88b[_0x1924ab(0x21a)][_0x1924ab(0x367)](_0x13f18c=>_0x13f18c['id']===_0x4136d6):_0x5ea88b[_0x1924ab(0x21a)][0x0];if(!_0x5b2d8f)return null;const _0x52ab4c=_0x5b2d8f['sheet'],_0x584ad0=clampRange2(_0x52ab4c['page']?.[_0x1924ab(0x2d3)],_0x52ab4c[_0x1924ab(0x313)]),_0x176c11=clampRange2(_0x52ab4c[_0x1924ab(0x1c2)]?.[_0x1924ab(0x18a)],_0x52ab4c[_0x1924ab(0x313)]);if(!_0x584ad0&&!_0x176c11)return null;return{'header':_0x584ad0?sliceStrip(_0x52ab4c,_0x584ad0):null,'footer':_0x176c11?sliceStrip(_0x52ab4c,_0x176c11):null,'colCount':_0x52ab4c['colCount'],'colWidths':_0x52ab4c[_0x1924ab(0x1a4)],'defaultRowHeight':_0x52ab4c[_0x1924ab(0x345)]};}function applyReportHeaderFooterTemplate(_0xd87fa9,_0x3a0d99,_0x440893){const _0x13e274=_0x282282,_0x556ca7=_0x440893?.[_0x13e274(0x203)]?new Set(_0x440893[_0x13e274(0x203)]):null,_0x53a606=new Map(),_0x249180=_0xd87fa9[_0x13e274(0x21a)][_0x13e274(0x362)](_0x58557e=>{const _0x45c65d=_0x13e274;if(_0x556ca7&&!_0x556ca7[_0x45c65d(0x32c)](_0x58557e['id']))return _0x58557e;const {sheet:_0x5b9044,rowMap:_0x35fe3b}=applyToSheet(_0x58557e[_0x45c65d(0x295)],_0x3a0d99);return _0x53a606[_0x45c65d(0x167)](_0x58557e['id'],_0x35fe3b),{..._0x58557e,'sheet':_0x5b9044};});let _0x36eb96=_0xd87fa9['meta'];const _0x5bfcdb=_0x36eb96?.[_0x13e274(0x148)]?.[_0x13e274(0x343)];if(_0x5bfcdb?.['length']){const _0x2d6472=_0x5bfcdb['map'](_0x54648c=>{const _0xe3b3be=_0x13e274,_0x19c738=_0x53a606['get'](_0x54648c['sheetId']);if(!_0x19c738)return _0x54648c;const _0x4e5239=_0x19c738['get'](_0x54648c[_0xe3b3be(0x310)]),_0x2ec1cc=_0x19c738['get'](_0x54648c['endRow']);if(_0x4e5239==null||_0x2ec1cc==null)return _0x54648c;const _0x57b42d={..._0x54648c,'startRow':_0x4e5239,'endRow':_0x2ec1cc};if(_0x54648c['headerStartRow']!=null&&_0x54648c[_0xe3b3be(0x256)]!=null){const _0x12e0f0=_0x19c738[_0xe3b3be(0x213)](_0x54648c[_0xe3b3be(0x305)]),_0x3c9754=_0x19c738[_0xe3b3be(0x213)](_0x54648c[_0xe3b3be(0x256)]);_0x12e0f0!=null&&_0x3c9754!=null&&(_0x57b42d['headerStartRow']=_0x12e0f0,_0x57b42d['headerEndRow']=_0x3c9754);}return _0x57b42d;});_0x36eb96={..._0x36eb96,'report':{..._0x36eb96[_0x13e274(0x148)],'bands':_0x2d6472}};}return{..._0xd87fa9,'sheets':_0x249180,'meta':_0x36eb96};}function applyToSheet(_0x5c1f5d,_0x3d48c9){const _0x318708=_0x282282,_0x8ad904=_0x3d48c9[_0x318708(0x2ab)]?clampRange2(_0x5c1f5d[_0x318708(0x1c2)]?.['pageHeaderRows'],_0x5c1f5d['rowCount']):null,_0x30a591=_0x3d48c9[_0x318708(0x25d)]?clampRange2(_0x5c1f5d['page']?.[_0x318708(0x18a)],_0x5c1f5d[_0x318708(0x313)]):null,_0x523666=!_0x3d48c9['header']?clampRange2(_0x5c1f5d[_0x318708(0x1c2)]?.['pageHeaderRows'],_0x5c1f5d[_0x318708(0x313)]):null,_0x288d9f=!_0x3d48c9['footer']?clampRange2(_0x5c1f5d[_0x318708(0x1c2)]?.[_0x318708(0x18a)],_0x5c1f5d[_0x318708(0x313)]):null,_0x4a48d9=(_0x56e5cf,_0x17dc06)=>!!_0x17dc06&&_0x56e5cf>=_0x17dc06[_0x318708(0x310)]&&_0x56e5cf<=_0x17dc06['endRow'],_0x31b417=[];for(let _0x33a3e3=0x1;_0x33a3e3<=_0x5c1f5d[_0x318708(0x313)];_0x33a3e3++){if(_0x4a48d9(_0x33a3e3,_0x8ad904)||_0x4a48d9(_0x33a3e3,_0x30a591))continue;_0x31b417[_0x318708(0x1a5)](_0x33a3e3);}const _0x4d5ffe=_0x3d48c9[_0x318708(0x2ab)]?.[_0x318708(0x313)]??0x0,_0xa3344d=_0x3d48c9[_0x318708(0x25d)]?.[_0x318708(0x313)]??0x0,_0x1ffdd2=_0x4d5ffe+_0x31b417[_0x318708(0x296)]+_0xa3344d,_0x4acd51=new Map();_0x31b417[_0x318708(0x146)]((_0x344edb,_0x3311a2)=>_0x4acd51['set'](_0x344edb,_0x4d5ffe+_0x3311a2+0x1));const _0x57d8e6={};if(_0x3d48c9['header'])for(const [_0x5c1ac9,_0x48e394]of Object[_0x318708(0x172)](_0x3d48c9[_0x318708(0x2ab)][_0x318708(0x1f0)])){_0x57d8e6[_0x5c1ac9]=_0x48e394;}for(const [_0x5f3ef5,_0x17e40a]of Object[_0x318708(0x172)](_0x5c1f5d[_0x318708(0x1f0)]??{})){const _0xaf0d9b=parseCellKey(_0x5f3ef5);if(!_0xaf0d9b)continue;const _0x1d047d=_0x4acd51[_0x318708(0x213)](_0xaf0d9b['r']);if(_0x1d047d==null)continue;_0x57d8e6[_0x4f1eb4(_0x1d047d,_0xaf0d9b['c'])]=_0x17e40a;}if(_0x3d48c9[_0x318708(0x25d)]){const _0x4f4674=_0x4d5ffe+_0x31b417['length'];for(const [_0x19c013,_0x482ca9]of Object[_0x318708(0x172)](_0x3d48c9['footer'][_0x318708(0x1f0)])){const _0x56960d=parseCellKey(_0x19c013);if(!_0x56960d)continue;_0x57d8e6[_0x4f1eb4(_0x4f4674+_0x56960d['r'],_0x56960d['c'])]=_0x482ca9;}}const _0x382a84=[];_0x3d48c9[_0x318708(0x2ab)]&&_0x382a84['push'](..._0x3d48c9[_0x318708(0x2ab)][_0x318708(0x2d7)][_0x318708(0x362)](_0x12da99=>({..._0x12da99})));for(const _0x189071 of _0x5c1f5d[_0x318708(0x2d7)]??[]){const _0x21ee65=_0x4acd51['get'](_0x189071['r1']),_0xaf0f77=_0x4acd51[_0x318708(0x213)](_0x189071['r2']);if(_0x21ee65==null||_0xaf0f77==null)continue;_0x382a84[_0x318708(0x1a5)]({'r1':_0x21ee65,'r2':_0xaf0f77,'c1':_0x189071['c1'],'c2':_0x189071['c2']});}if(_0x3d48c9['footer']){const _0x27dc00=_0x4d5ffe+_0x31b417[_0x318708(0x296)];_0x382a84[_0x318708(0x1a5)](..._0x3d48c9[_0x318708(0x25d)]['merges'][_0x318708(0x362)](_0x1107a9=>({'r1':_0x1107a9['r1']+_0x27dc00,'r2':_0x1107a9['r2']+_0x27dc00,'c1':_0x1107a9['c1'],'c2':_0x1107a9['c2']})));}const _0x57b088=new Array(_0x1ffdd2)[_0x318708(0x2a6)](_0x5c1f5d[_0x318708(0x345)]);_0x3d48c9[_0x318708(0x2ab)]?.[_0x318708(0x16a)][_0x318708(0x146)]((_0x12374f,_0x20f250)=>{_0x57b088[_0x20f250]=_0x12374f;}),_0x31b417[_0x318708(0x146)]((_0x212fa9,_0x11f364)=>{const _0x153bd4=_0x318708;_0x57b088[_0x4d5ffe+_0x11f364]=_0x5c1f5d['rowHeights']?.[_0x212fa9-0x1]??_0x5c1f5d[_0x153bd4(0x345)];}),_0x3d48c9[_0x318708(0x25d)]?.['rowHeights'][_0x318708(0x146)]((_0x7007d8,_0xa69dba)=>{const _0x505e33=_0x318708;_0x57b088[_0x4d5ffe+_0x31b417[_0x505e33(0x296)]+_0xa69dba]=_0x7007d8;});const _0x200df3={..._0x5c1f5d[_0x318708(0x1c2)]};if(_0x3d48c9[_0x318708(0x2ab)])_0x200df3[_0x318708(0x2d3)]={'startRow':0x1,'endRow':_0x4d5ffe};else{if(_0x523666){const _0x1a6585=_0x4acd51['get'](_0x523666[_0x318708(0x310)]),_0x1d5ca7=_0x4acd51['get'](_0x523666[_0x318708(0x272)]);if(_0x1a6585!=null&&_0x1d5ca7!=null)_0x200df3['pageHeaderRows']={'startRow':_0x1a6585,'endRow':_0x1d5ca7};}}if(_0x3d48c9['footer'])_0x200df3['pageFooterRows']={'startRow':_0x1ffdd2-_0xa3344d+0x1,'endRow':_0x1ffdd2};else{if(_0x288d9f){const _0x160666=_0x4acd51[_0x318708(0x213)](_0x288d9f['startRow']),_0x7a993c=_0x4acd51[_0x318708(0x213)](_0x288d9f[_0x318708(0x272)]);if(_0x160666!=null&&_0x7a993c!=null)_0x200df3[_0x318708(0x18a)]={'startRow':_0x160666,'endRow':_0x7a993c};}}const _0x52ab59=Math[_0x318708(0x218)](_0x5c1f5d[_0x318708(0x1e5)],_0x3d48c9['colCount']),_0x1da38c=_0x5c1f5d['colWidths']??_0x3d48c9['colWidths'];return{'sheet':{..._0x5c1f5d,'rowCount':_0x1ffdd2,'colCount':_0x52ab59,'colWidths':_0x1da38c,'rowHeights':_0x57b088,'cells':_0x57d8e6,'merges':_0x382a84,'page':_0x200df3},'rowMap':_0x4acd51};}function buildHeaderFooterTemplateWorkbook(_0xc08af6,_0x1c20dd){const _0x408443=_0x282282,_0x64d287=_0x1c20dd?_0xc08af6[_0x408443(0x21a)][_0x408443(0x367)](_0x11fca8=>_0x11fca8['id']===_0x1c20dd):_0xc08af6['sheets'][0x0];if(!_0x64d287)return null;const _0x2c57fe=extractHeaderFooterStrips(_0xc08af6,_0x64d287['id']);if(!_0x2c57fe)return null;const _0x25bd58=_0x2c57fe[_0x408443(0x2ab)]?.['rowCount']??0x0,_0xd2f5bd=_0x2c57fe[_0x408443(0x25d)]?.['rowCount']??0x0,_0x3bfed9=_0x25bd58+0x1,_0x545297=_0x25bd58+0x1+_0xd2f5bd,_0x466ca2={},_0x592635=[],_0x2d4e45=new Array(_0x545297)[_0x408443(0x2a6)](_0x2c57fe['defaultRowHeight']);_0x2c57fe[_0x408443(0x2ab)]&&(Object[_0x408443(0x150)](_0x466ca2,_0x2c57fe['header'][_0x408443(0x1f0)]),_0x592635[_0x408443(0x1a5)](..._0x2c57fe[_0x408443(0x2ab)][_0x408443(0x2d7)][_0x408443(0x362)](_0x4572c7=>({..._0x4572c7}))),_0x2c57fe[_0x408443(0x2ab)][_0x408443(0x16a)]['forEach']((_0x28614b,_0x7b1248)=>{_0x2d4e45[_0x7b1248]=_0x28614b;}));if(_0x2c57fe[_0x408443(0x25d)]){for(const [_0x10cb4c,_0x50b7b9]of Object[_0x408443(0x172)](_0x2c57fe[_0x408443(0x25d)][_0x408443(0x1f0)])){const _0x540129=parseCellKey(_0x10cb4c);if(!_0x540129)continue;_0x466ca2[_0x4f1eb4(_0x3bfed9+_0x540129['r'],_0x540129['c'])]=_0x50b7b9;}_0x592635[_0x408443(0x1a5)](..._0x2c57fe[_0x408443(0x25d)][_0x408443(0x2d7)][_0x408443(0x362)](_0x50c0b9=>({'r1':_0x50c0b9['r1']+_0x3bfed9,'r2':_0x50c0b9['r2']+_0x3bfed9,'c1':_0x50c0b9['c1'],'c2':_0x50c0b9['c2']}))),_0x2c57fe[_0x408443(0x25d)][_0x408443(0x16a)][_0x408443(0x146)]((_0x5437e4,_0x5b5504)=>{_0x2d4e45[_0x3bfed9+_0x5b5504]=_0x5437e4;});}const _0x47ea5b={'version':_0x64d287['sheet'][_0x408443(0x282)],'rowCount':_0x545297,'colCount':_0x2c57fe['colCount'],'defaultRowHeight':_0x2c57fe[_0x408443(0x345)],'defaultColWidth':_0x64d287['sheet'][_0x408443(0x14d)],'colWidths':_0x2c57fe[_0x408443(0x1a4)],'rowHeights':_0x2d4e45,'cells':_0x466ca2,'merges':_0x592635,'page':{..._0x64d287['sheet'][_0x408443(0x1c2)],'pageHeaderRows':_0x2c57fe['header']?{'startRow':0x1,'endRow':_0x25bd58}:void 0x0,'pageFooterRows':_0x2c57fe[_0x408443(0x25d)]?{'startRow':_0x3bfed9+0x1,'endRow':_0x545297}:void 0x0}};return{'workbookVersion':_0xc08af6[_0x408443(0x281)],'activeSheetId':'hf_tpl','sheets':[{'id':_0x408443(0x21e),'name':_0x408443(0x260),'sheet':_0x47ea5b}],'meta':{'fieldRegistry':_0xc08af6[_0x408443(0x322)]?.[_0x408443(0x177)],'report':{'title':'\u8868\u5934\u8868\u5C3E\u6A21\u677F'}}};}function collectSlotSchemas(_0x37e0bc){const _0x4463b3=_0x282282,_0x26f1a4=new Map();for(const _0x38c2c5 of Object['values'](_0x37e0bc[_0x4463b3(0x1f0)]??{})){const _0x4a272a=_0x38c2c5?.[_0x4463b3(0x338)];if(!_0x4a272a||_0x4a272a[_0x4463b3(0x243)]!==_0x4463b3(0x36d)||_0x4a272a['subRowSlot']==null)continue;const _0x1437da=_0x4a272a[_0x4463b3(0x325)]??0x1,_0x49510b=_0x26f1a4[_0x4463b3(0x213)](_0x1437da);if(_0x49510b==null||_0x4a272a['subRowSlot']>_0x49510b)_0x26f1a4[_0x4463b3(0x167)](_0x1437da,_0x4a272a[_0x4463b3(0x192)]);}return _0x26f1a4;}function subRowCounts(_0xc78a90){const _0x4417cf=_0x282282,_0x5d0427=new Map();for(const [_0x608670,_0x3402b3]of Object['entries'](_0xc78a90?.['s']??{})){const _0x330df2=Number(String(_0x608670)[_0x4417cf(0x2f5)](/^s/i,''));if(!Number[_0x4417cf(0x135)](_0x330df2)||!Array[_0x4417cf(0x2c4)](_0x3402b3))continue;_0x5d0427[_0x4417cf(0x167)](_0x330df2,_0x3402b3[_0x4417cf(0x296)]);}return _0x5d0427;}function slotsPerPageFor(_0x491ad0,_0x13204f,_0x48daab,_0x4c6332){const _0x281588=_0x282282,_0x4aa7c5=_0x491ad0['meta']?.[_0x281588(0x15a)]?.[_0x281588(0x367)](_0x5dd75d=>_0x5dd75d[_0x281588(0x370)]===_0x13204f&&_0x5dd75d[_0x281588(0x325)]===_0x48daab);if(_0x4aa7c5&&_0x4aa7c5[_0x281588(0x164)]>=0x1)return Math[_0x281588(0x25b)](_0x4aa7c5['slotsPerPage']);return _0x4c6332+0x1;}function cloneSheetForPage(_0x5c1bb2,_0x15120e,_0x291628){const _0x496236=_0x282282;if(_0x15120e===0x0)return _0x5c1bb2;const _0x254085={};for(const [_0x1aec00,_0x372637]of Object[_0x496236(0x172)](_0x5c1bb2[_0x496236(0x1f0)]??{})){const _0x3ed653=_0x372637?.[_0x496236(0x338)];if(_0x3ed653&&_0x3ed653[_0x496236(0x243)]===_0x496236(0x36d)&&_0x3ed653[_0x496236(0x192)]!=null){const _0x56a8c2=_0x291628[_0x496236(0x213)](_0x3ed653[_0x496236(0x325)]??0x1)??0x1;_0x254085[_0x1aec00]={..._0x372637,'baseTemplateBinding':{..._0x3ed653,'subRowSlot':_0x15120e*_0x56a8c2+_0x3ed653[_0x496236(0x192)]}};}else _0x254085[_0x1aec00]=_0x372637;}return{..._0x5c1bb2,'cells':_0x254085};}function expandReportSlotPages(_0x5f0826,_0x6c015e){const _0xabbbe0=_0x282282,_0x1c9193=subRowCounts(_0x6c015e);let _0x1746f8=![];const _0x695231=[];for(const _0x1f93f8 of _0x5f0826[_0xabbbe0(0x21a)]){const _0x2de593=collectSlotSchemas(_0x1f93f8[_0xabbbe0(0x295)]);if(_0x2de593[_0xabbbe0(0x15e)]===0x0){_0x695231['push'](_0x1f93f8);continue;}const _0x5929d7=new Map();let _0x2a5da9=0x1;for(const [_0x55c8b5,_0x3f6d52]of _0x2de593){const _0x51a91b=slotsPerPageFor(_0x5f0826,_0x1f93f8['id'],_0x55c8b5,_0x3f6d52);_0x5929d7[_0xabbbe0(0x167)](_0x55c8b5,_0x51a91b);const _0x258194=_0x1c9193[_0xabbbe0(0x213)](_0x55c8b5)??0x0;_0x2a5da9=Math['max'](_0x2a5da9,Math[_0xabbbe0(0x2d1)](_0x258194/_0x51a91b)||0x1);}if(_0x2a5da9===0x1){_0x695231['push'](_0x1f93f8);continue;}_0x1746f8=!![];for(let _0x37f8f7=0x0;_0x37f8f7<_0x2a5da9;_0x37f8f7++){_0x695231[_0xabbbe0(0x1a5)]({'id':_0x37f8f7===0x0?_0x1f93f8['id']:_0x1f93f8['id']+_0xabbbe0(0x17e)+(_0x37f8f7+0x1),'name':_0x1f93f8[_0xabbbe0(0x254)],'sheet':cloneSheetForPage(_0x1f93f8[_0xabbbe0(0x295)],_0x37f8f7,_0x5929d7)});}}if(!_0x1746f8)return _0x5f0826;return{..._0x5f0826,'sheets':_0x695231};}var DEFAULTS={'minRowHeightPx':0xe,'minColWidthPx':0x18,'minFontSizePt':0x6};function round1(_0x5be826){const _0x309bd3=_0x282282;return Math[_0x309bd3(0x250)](_0x5be826*0xa)/0xa;}function _0x84c6(){const _0x31b350=['Dg9tDhjPBMC','Dg90ywXqywDLtNvTyMvY','C3r4AwHLAq','mtq5mZK4oxzrsxzYyW','z2XVyMfSvgHPCW','C2XVDhm','B2jQzwn0','AgfSzL91Ca','C2HLzxrjzhm','ywX3yxLZ','yMfZzty0','ywn0AxzLu2HLzxrjza','qtqGBgfUzhnJyxbL','tgv0DgvY','zxH0CMe','y2HHCNrszwzYzxnOt25qywDLq2HHBMDL','BgLZDq','CgfYC2vpCG','6z2E5yE95PwW6lcd55sO','zMLLBgreyxrH','mtq5nxvLDuHytW','yM90Aa','zw9M','iZaWmdbgrG','z2v0','CMLNAhq','Aw5fzgDLCW','C2vTAq','qM9VBa','Bwf4','u3rY','C2HLzxrZ','5yAf5A655Oc76AUy6lAf5yE65Qch562+5y+V5OMt5y2W6AUy5BQM77Yi5BEY5yIW5PYa5Bcp6kgm6AUy77Yj77Ym5AsA5l2z6yoO5yIg5Bcg5yIg5yIW5lIl5lIa6Ag177Ym6k+36ywm5Oof5yIG5yEp6kgm','iLnuwgLUD2vPiIXZzxjPzG','iIba','AgzFDhbS','rM9Yt2y','6k6/6zEU56M65yc85BgE5OcNoIaU','C25HCa','zNvUy3rPB24','C3rHCNrZv2L0Aa','zNjVBq','qvzfuKfhrq','Dhj1BMm','ntm4nJy1meTvr0rWvW','sw52ywXPzcbJB2X1Bw4GAw5KzxG6ia','zgf0yvr5Cgu','Aw1NoG','CgfYzw50','y29UC3q','Ag9VAW','CM93vw5KzxjMAwXSzwq','77Ym5B6x5yIWicC','D3jHCfrLEhq','AgvYzq','D29YA2jVB2S','CM9Szq','AgfSzL9LDMvU','CNvUv2HLBG','5zci5OIq5zco5Oc75A696lAf5yE6iee0iowpR+AjK+wnSowUVsa','BwfZDgvYqW','C2vSzG','BwfYz2LUC01T','zw5K','y3vYCMvUDfrHCMDLDa','CgvUzgLUzW','y29TChv0zvbVBgLJEq','ywjZ','CgfYC2vcBg9JA09Yu3rTDa','q09oq0fu','tgv0DgvYihbVCNrYywL0','CgfWzxi','A2LUza','BM9YBwfS','i1jfrG','Dhj1BMnHDgu','5lUf6k6H566x5PE2','ChvUy3q','CM91BMrPBMDkC29U','BNvTyMvY','5PYQ5A6A5lMjoIa','5lIT5yY65lIo5Q+n54Mi572r5Qc85PYQ5A+56B2q','sw52ywXPzcbbmsbYzwzLCMvUy2u6ia','zxzHBa','CgfYC2u','CM91BMq','ywXS','B3zLCMXHChm','qtmGCg9YDhjHAxq','BMfTzq','zMLUzeLUzgv4','AgvHzgvYrw5KuM93','BwLU','qMLU','yMXVy2TZ','y3vYCMvUDerHDgvuAw1L','zMXVB3i','y2fSBa','zM9VDgvY','CMvXDwLYzwq','Bw07ig1HCMDPBJOG','6kgO5As06kgO5Bc+5QIH5P2/','i1zbtfvf','AxrHBgLJ','6k6/6zEU56Ab5Q2I5BgE5OcNoIa','B3jPzw50yxrPB24','zMfUz3nVBMC','z2v0tMfTzwq','BwvHC3vYzq','DxbNCMfKzuXVzW','CMvXDwLYzwrezwzHDwX0','rxHWCLn0Bxq','z2v0rNvSBfLLyxi','s2fPvgKSiKTHAxrPifndiIXtveTHAxrPlhnLCMLM','uefsu0u6iowKMUs9Msb0B2TLBIaI','5PwW57Ue5PA55Rov5BEY56Ab55sOoIa','BwvZC2fNzq','y29SB3i','5lIn6iEQ5yQO5l+U57QM','zw5KuM93','C2fUCY1ZzxjPzG','5lUf5OMl5yQO54k544cm6k6H566x44cn','u2LTu3vUlcjtB25NDgKGu0mIlcjoB3rVifnLCMLMienksYbtqYiSC2vYAwy','Dw5IB3vUzfnSB3rZ','C3bSAwnLlMnVBf91BMrLCMzPBgW','C3vWzxjZy3jPChq','CgfNzu51BwjLCG','C2LNBMLMAwnHBNq','zM9UDezHBwLSEq','CgfYC2vtDg10','ywDNCMvNyxrLrw1WDhLbCW','zMLLBgrdDhG','yM90Dg9T','AxrLBxm','D29YA2jVB2TwzxjZAw9U','DMvYC2LVBG','C3bSAwnLlM1PC2fSAwDUzwq','C3vI','ChGG6lAf5yE65Qch562+5y+V5OMt5y2W5A695BQM57QMia','Aw5OzxjPDfnVDxjJzujHC2vtBMfWC2HVDfjVD0LK','BgfUzhnJyxbL','C2LNBMf0DxjL','iK1Py3jVC29MDcbzyuHLAsiSiLbPBMDgyw5NifndiIWIsgLYywDPBM8Gu2fUCYbhqIiSiK5VDg8Gu2fUCYbdsKSGu0mIlhnHBNmTC2vYAwy','CgfYC2vbCMDZ','C2XPy2u','yxnZAwDUBwvUDa','55UU5Qch5Bc65A+45PEG5Pwi77Ym5PYQ5ygA57YP5Ps+','q2fSBa','z2v0q2vSBa','mJu1mdCWohD0vLLkqq','5lIn6io96k+75y+wia','Bgv0DgvY','6kgm6AUy5lIn6lAZl+ACQUwnOoA7OEwpR+wnSowmUG','CNvUCW','C2HLzxq','BgvUz3rO','zgLJDenVzgu','zxHWzwn0','BM9Uzq','x19YB3C','yM9VBgvHBG','vgvYBG','zgLZCgXHEu5HBwu','DxbZzxj0','zwf0','C2nYAxb0qMXVy2TlzxK','5PYQ5AoW5PIooIa','B3jWAgfUq2vSBhncEvnOzwv0','5yIx5A696lAf5yE65Q+n54Miia','u0PtoIaNpY4NiowqJUIVREAZLEMuMsaN','i0nzq0Xf','zMLSBa','C2nOzw1HvMvYC2LVBG','iYmJiowTKoIHQcba5QE95l2n57Ur5A6A77Yi5B+f5A6i77Ym5BEY5PU/5lUJihn1yLrHyMXLuMvNAw9UC++8IqOTioIVREAZLE+8MMbZE059lNTMAwvSzeTLEx1Bi3T0ExbLu3bLy31DqhTZBg90FwaG4OcuicOQqcdLV4xPOBVLNkJMNidLKi4QkU+8Jos+IYbGCZeUC3eJBJOYqdfGcI0GkIPZDwjgAwvSzcdLV4xPOBVLUkyGqhnSB3qQkU+8M+wqJoE7HowKMUAGVo+8IhnQy2mXqdeGlYbZAMnJmKaX77Yj5ywX5lQRigbZDwjuywjSzxnBiK4Ixs5YB3DZw2DSB2jHBeLUzgv4xwaklsbNBg9IywXjBMrLEca9igXVz2LJywXqywDLsw5KzxGGW5CGC2XVDhnqzxjqywDLicSGkhnSB3qGlsaXkE+8M+AmGEs5HEwmLIbGC3vIvgfIBgvZwYiXiL0UCM93C1S3xwaG6icm6z2E5z2q5Qch5AgR5Qc8cI0G5Q+pihnOzwv0W5DZDwjty2HLBweG6ywn572UigbTzxrHlNn1yLrHyMXLu2XVDenVBMzPz2aG5Q+p6Ag157Ue5PwW77YB57Y655Ybid0G6k+LihnOzwv0ioACGowKPYbaioANVEs9JqOTioEMGEATOUwiM+w7UIbZDwjuywjSzvjLz2LVBNpVVjTSAxn0vMfSAwrHDgLVBKvYCM9YCYdNVlOGqcdKUlOGzxjYB3iklsbbz2vUDcdLOAVMLBdVVjPMAwXSsw5ZDgfUy2vgAwvSzhmG4OAsigbZDwjuywjSzxnBiJeIxs5YB3DZw2LDlMzPzwXKs2v5yo+8JowlV+EuQcbMAwXSsw5ZDgfUy2vcyxrJAcdLOAVLT7lNU5hLRPRLRzdOOAJLRzFMRRu','iZGWmda4ma','C3vIuM93ioIeMUACRoE8UUwWKEACIEAvIcbZDwjty2HLBwfjza','AgvHzgvY','zxHLyW','i05btuu','6yEn5Asn5AoW5PIooIa','Aw5JCMvTzw50ywW','y2HYB21L','y29TCgfJDa','DhbS','yMfZzs4','DMfSDwvZ','5PEG5Pwi5A2q6kgO57Yw5y+3','zg93BG','iZaWmdaWma','A2v5','CNvUDgLTzuvKAxrHyMXL','DxbKyxrLzef0','y2vPBgLUzW','CMvKDwnL','twvTyMvY','oYb9','D2LUzg93','y29TBwL0t25SEq','ywXSB3DLzfjVBgvZ','vMfYrgvJBa','iYmJiowTL+AUTEIHJoEXU+wEIY/KV67NUQBNROdLHPNVViHYzwDPC3rLCLnLBgvJDgLVBLrVrMLLBgrZioIhQUwkQoIqVEw6K++8IqRMOlZLVi/VVjPGE+wjJEE8Gh175A2x5Q616zsUFsn757g75z6lFvS6E+wWJ+AvSos9Jx1BoNVKV67NUQBNROdNOif9xv1GcI0G5yMn57Ya77YAygiUycaVigbTlMaGlYbGC04UycaVigbKlMaGlYbGCc5G77Yi5RoO5yAm6Ag75PI+5BYp5yMn57Ya77YjcI0G57g75z6l77YAyg5Gig51BwjLCUoaGwbPycbPBNrLz2vY44cbyhnGihn0CMLUz+oaGwbKycbKyxrL44cbygr0ycbKyxrLDgLTzEoaGwbIycbIB29SzwfUcI0G5PwW5yc877YAycnUycdMIjyGycnUoJfGioM7MoIUPcbZy2fSzt0X44cb5l+U57QMigHHBgzFzxzLBU+8IoATO+w4Uos/NEEvME+8IE+8M+ESRos4IEAUTEs/RUE6PUEUGoEGGEwpR+MaIqOTios/RUE6PUEUGoEGGE+8MUECGEEvPEAiLIbGywaVygvGpwHHBgzFzxzLBU+8IoATO+w4Uos/NEEvME+8IEoaGwb1yd3LM5VOIi3KUPtLHAxJGifGDga95OIQ5PAT44cbygnGpEwqKEs4IUoaGwbMyd3LKjhKUiSklsdNPlRKVOVVVjPGCZeUBheJBJOXyooaGwbTlND0i246mJP1yooaGwbTlNjLBwfYAYnZyooaGwbTlNrLC3rFzgf0zsnKyooaGwbZms5JBNqJAwaklsdMS6JLHOZLKi7MOlZLHOuGDMfSDwuG6kEe6iYd5lI6igbZms5SCwdVViJML6aGiYdMRRxVViNVVjVNSBVLNOSV5l+U57QM5lUf5A2y5A2x5Q616kgOcI0G5PEGigaJycdML7BKU43PU5JORQqGC3rYAw5N77Yi5zcr5zco5yw85A6577Yj77YB5BEY5A2y5zYO5A2x5Q615lUf5zYO5BIMigaJycdNROdLHPNML7BMM7tMLRaGzgf0yvr5CguV5l+U57QM','AxnbCNjHEq','swrLBNq','AxrLCG','mZa1mJq3BezfEvje','zgvWzw5Kzw50C09M','z2v0tw9UDgG','Awr4','Aw5WDxrxAwrNzxrkC29U','B3jKzxi','zxjY','D2LKDgG','y29TChv0zvbHC3m','CMv0DxjU','y2vPBa','CgfYC2vbzgq','CgfNzuHLywrLCLjVD3m','AgLKzgvUugfNzvnSB3rZ','D29YA2jVB2TkC29U','EMvYBW','BwvYz2vZ','yNvPBgrtExn0zw1qyxjHBxm','BwLUq29Sv2LKDgHqEa','Bw9Kzq','AgfUzhDYAxrPBMC','uefsu0u6ioE8UUwWKsaNksC','Dhj1zq','C3vIoG','oJ0G','Aw1Hz2u','D2LKDgHnBq','vw5HCNK','D3jPDgvuB0zPzwXKq29Kzq','CgfYC2vqCMLTyxj5','ywXStM9Kzxm','yM9Sza','DhjPBvn0yxj0','uMv0DxjU','ywjZqW','yxjY','y29TyM9qCM9MAwXL','5PYF5PYB5PwW5A2x','C2LNBMvYtMfTzq','Cg9Z','5B2v5ywL5lIo6k6H566x5PE2','tevyoIdPNz7MS5xLRzFNRkyGiG','rKfmu0u','C2LNrgLNAxrZ','Dgv4Da','BwLUrM9UDfnPEMvqDa','CMvWBgfJzq','CgvYu2HLzxq','i0zgmdaWma','CMvTyxjR','Dg9ju09tDhjPBMC','zM9YzwDYB3vUza','CgfYC2vqB3C','C2HLzxroyw1L','t2jQ','zgf0ytPPBwfNzs8','C3LZDgvTugfYyw1Z','yM9KEq','C2nYAxb0oG','qxnZAwDU','tNvSBa','CM93','AgvHzgvYu3rHCNrsB3C','Cgf0DgvYBG','u0PtoIbMB3iG5lUf5PsV5OYbicDMB3iGkgnVBNn0FgXLDcb4ig9Migv4ChiPjW','suyG6zYa6kAb6iEZ5BcridiG5lIQ5y+c5PwW','C29YDa','C3vIuM93','C3bSAwnLlNbYAw50ywjSzv9VDMvYzMXVDW','zNvSBa','CgfYC2vfCq','6kEJ5P6q5AsX6lsL','zwzMzwn0AxzLt3jKzxi','C3rHCNrsB3C','i0zgrKyWma','z3jPza','CM93q291BNq','5PEG5Rov6kEJ5P6q6lwl5yc85BYp77Yi5PYF5PYBig0UEhH4id0G4OcMioAiLIbZms54EhGGpsdIGkBVViK','qtqGCg9YDhjHAxq','ndyXnde2ourYALrTEa','yxjN','zgf0zxrPBwu','it09','BMfTzwrsyw5Nzxm','C3vIuM93q291BNrlzxK','DgvTCgXHDgvoyw1L','iZaWnZbdma','tNvT','C3rYAw5NAwz5','BwLZC2LUz1jLCxvPCMvK','5PYQ55+L5zg95zcnoIa','Bwv0yq','BwfZDgvYuG','B2jQ','C3vIu2nOzw1Hswq','yMLUzgLUz0TLEq','Aw5WDxrxAgvU','zM9YBxvSyuPZB24','C3r5Bgu','yxnZzxq','y29TChv0zvDVCMTIB29RoMv4Axq','AgfZ','C3LZDgvTugfYyw0','yxn0','CgfYC2vvBMfYEq','qxjY','C2XVDeTLEq','CgfYC2vbBMq','Aw5PDa','BwfPBG','DhjPBq','C2nHBgvgB250u2L6zq','B3b0Aw9UywW','yMfZzvrLBxbSyxrLqMLUzgLUzW','mJa5nZi3odrlA3PAuLa','Aw5Uzxjx','zgLZCgXHEvrLEhq','zw1IzwrtDgf0zxm','zMLLBgq6Bs4','CgvYy2vUDa','zgvMyxvSDfzHBhvL','BwfYz2LUC0nT','sw5KzxG','5y+V57Yw6l6r','yMfUzhm','yxnZzxrlAw5K','zgvMyxvSDfjVD0HLAwDODa','Aw1Hz2vtDgfTCa','C3rYAw5N','y29TBwe','zw5HyMXLza','Dg9RCW','zhjF','i0zgrKzgrG','rNvUy3rPB24','y2HHCNrszwzYzxnOt25dB21WDxrL','DgfYz2v0','Aw5Uzxjwzxj0AwnHBa','Dg9gAxHLza','yMLUzgLUz0TPBMq','ChjPBNrHyMXLt3zLCMzSB3DqEa','zgvIDwC','zgvJBgfYzq','ChjVDg90ExbL','DgvZDa','yxjNCW','C3r4Aw53zwK','zgvYAxzLzfj1BgvZ','CgfYC2vfEhbYt25SEq','zMLLBgq6CW','x19YB3DZ','ywrK','Bg9Nmta','DxjS','5PYQ55+L6l+q566xia','BwfW','CgvLAW','DMfSDwu','Aw50zwDLCG','5y2o5PAh5PAW6A2p','zMLUza','yMfZAwngAwvSza','yMfZzq','ywXSuhjLC2vUDa','zgLJDa','rMfUz1nVBMCSiKzHBMCGu29UzYiSu1rgyw5NC29UzYWItM90BYbtzxjPzIbdsKSGu0mIlhnLCMLM','C3vIrMLLBgq','Bg9NAwnHBfbHz2vjBMrLEa','C2LNBMvK','C2HLzxrjza','D2fYBMLUzW','Aw5JBhvKzxm','oYbTyxjNAw46ia','AxnjBNrLz2vY','5B6U6l2V6zUf6BUr','CgfYC2vcBg9JAW','pt09','qoANVEs9JEACQUE7KEwUMUwTL+AUTq','C3bSAxq','C3vIu2nOzw1Hq291BNq','ChGG','BwLZywXPz25Lza','C3LZDgvTugfYyw1cCMfUzgLUzW','C29YDe9YzgvY','y2HHCKnVzgvbDa','zw1IzwrZ','y2fSBgvL','Dg9W','CMfUz2u','zMLSzuLK','BM9YBwfSAxPL','zgLYDhLdBg9ZDxjL','CgfYC2vuzxjUyxj5','ywrKtM9Kzq','kY0Ql14MptW+jq','DxnLCKrPC3bSyxLoyw1L','CNbHCMvU','C2HYAw5Rvg9gAxq','EwfOzwK','C2nHBgu','yMLUyxj5','CgfYC2vqCM9NCMfT','B25dB21WDxrL','zM9Y4OcMB2yG6zYa6kAb5PwW57Ue','C2nVCgu','57sI5BYv56M65yc8','iZCWmZbbma','B3zLCNjPzgvZ','C3rY','i0rjvJa','iLnuwgLOzwKIlcjizwL0AsbtqYiSu2LTsgvPlhnHBNmTC2vYAwy','AxngAw5PDgu','5yIx5A695PYQ5y2G5RUH5Q+n54Miia','CgfYC2vbC3nPz24','5B2v5ywL5zco6iEQ5yQO6yEn566x','B3v0Chv0uM90yxrPB24','zM9YBxvSyuTPBMq','CM93CW','qhbHz2uGEYbZAxPLoIa','C2LNBMvKqxq','Bwf0y2G','C2HLzxrdB3vUDa','Aw5ZDgfUy2vfzgL0ywjSzq','5y2o5PAh57Ug6BUr','yw55uhjLC2vUDa','iZaWqJa1ma','ExL5Es1nts1Kza','C3LZDgvTugfYyw1ZuhjVDMLKzxi','zM9YrwfJAa','CgfYC2vfEhbY','CMvWB3j0','y2vSBe1LDge','C291CMnL','zMLLBgq','yNvPBgrtExn0zw1qyxjHBxngB3jtAgvLDa','zgvMyxvSDenVBfDPzhrO','y2vSBhncEvnOzwv0','AM9PBG','yxnZAwDU','tgv0DgvYigXHBMrZy2fWzq','u2LTsgvPlcjizwL0AsbtqYiSiLnusgvPDgKIlcjoB3rVifnHBNmGq0PlifndiIXZyw5ZlxnLCMLM','ywXSswrZ','A2fPDgK','DxnLCKXVz2LUtMfTzq','5B6Q546V5l6D6lww','q3vZDg9T','uefsu0u6ioMDNUAZLEw8LEEuQcaI','u0PtoIdNPOhMRAlLR7NPNz7MNkZLNldMOiFOR4BNRkBOTyVLGlW','C3vIvgfIBgvtBg90q29UzMLN','ywrQDxn0','BhbHCMvU','y29UC3rYDwn0B3i','C2L6zq','suztiowpGUAvSoMHU+AiKowVUq','y29TyM9tBMfWC2HVDeLK','C2LNBMvKqNK','C3vIuM93sw5KzxG','CMvJDa','C2XVDhnqzxjqywDL','B3v0zxi','zgvWzw5Kzw5JAwvZt2y','C2v0','Bwf4vW','6iEQ5BYv55sO','CM93sgvPz2H0CW','y2XLyxi','lwfWCgXLlxn5C3rLBsXcBgLUA01Hy1n5C3rLBuzVBNqSj1nLz29LifvjjYXsB2jVDg8Sj0HLBhzLDgLJysbozxvLjYXbCMLHBcXZyw5ZlxnLCMLM','A3qUDgvTCgXHDgvxB3jRyM9VAW','CMvQzwn0','DgvTCgXHDgvty29Wzwq','sw52ywXPzcbJB2X1Bw4GBgv0DgvYCZOG','y29Uza','zw50CMLLCW','qMXVy2S','C2HLzxrjBMrLEa','Aw50zxj2ywW','zM9YBxvSyunHDgfSB2C','zMLLBgrszwDPC3rYEq','CgfYC2vfCNjVCG','BwfPBKzPzwXK','Aw1N','CgfYC2vnDwW','y29St3zLCMzSB3DqEa','Ag9YAxPVBNrHBefSAwDU','x19W','A2v5CW','u0PtoIdMQkhMNB/LRzFNRkBKUllMMOlKUi3MLk/MJieGjhT9ioApKUwaVa','Dg9vChbLCKnHC2u','Bg9NAwnHBfbHz2vdB3vUDa','zxHWCG','y29Kzq','CMfUzg9T','y2HHCNq','Axnnyxn0zxi','CgfYC2vqB3n0zML4','Dg9FAw50zxj2ywW','CgfNzuzVB3rLCLjVD3m','5yAf5A655Oc75A6957QMia','Bwf4sxrLCMf0Aw9UCW','BwfUDwfSt25SEq','mJi2mJbiANLIDgu','i0ven0qZmq','C3bSAwnLlNnSB3rFDw5IB3vUza','CM91BMrPBMC','C3vIuM93u2XVDa','Dg9mB3DLCKnHC2u','z2v0sg91CNm','CM93sw5KzxG','BNvT','zxjYB3juzxH0','CgfYC2vdBxa','Bw0G','CM93lG','DgHLBG','BwLUuM93sgvPz2H0uhG','qgSTDgfIBguVC2HLzxqTy29Yzq','C3rYAwTLDgHYB3vNAa','AgvPz2H0tw0','B3v0rwrNzxm','BwfPBI4','CM91BMrnB2rL','z2v0rgf0zq','y29Sv2LKDgHZ','ChvZAa','C2HHCMvKq29UDgv4Da','Aw5WDxrgAwvSzhm','Bxv0ywjSzq','zgvMyxvSDfjVDw5KAw5NvhjPz2DLCNm','Dw5IAw5K','yM9VBa','5lUf6ycj5OUP','zgLJDe92zxjSyxLZqNLvC2vY','zM9UDfnPEMu','zNjVBunOyxjdB2rL','DhLWzq','CgfYyw1Z','C2nYAxb0','zwrPDgfIBgu','BgfIzwW','ChjVChm','jYba','C2LTAgvP','y29S','C2LTC3vU','yxv0BW','D2LKDgHqEa','CgfYyw1jza','kIO9','zM9Y','zgLY','BgLUzxm','C2XVDeLK','CgfNzq','Bg9JyxrPB24','5PYQ55+L6kgOia','Bgv2zwW','C3vIvgfIBgvZ','CMvM','Bw07ig1HCMDPBJOGmdSGFq','Cg9W','BNvSBa','i0vsuG','C2nHBgvsB3DZ','BgvMDa','CgfKu3rHCNq','CMvUzgvYq29UDgv4Dej5u2HLzxq','zxjYB3i','zMLSDgvY','C3rHDhvZ','C29Tzq','x19WCM90B19F','u0PtoIdLPjRKVzNOVPpLHAuGjW','z2v0twLUDxrLCW','AgvPz2H0uhG','DMvYDgLJywXbBgLNBG','C2nYAxb0CW','zw1IzwrbBMnOB3i','zwXZzq','5ywS5BYp5lI656M6','Bgv0','y2fWywjPBgL0AwvZ','zMLLBgrdB2rL','vfjvrq','zgf0zq','AwrLBNq','DhjPz2DLCNm','Dw5KzxjSAw5L','y29Sq291BNq','zMLLBgrty29Wzq','yM9YzgvYCW','zNjVEMvUsw1Hz2vgAwXLswq','Bg9NAwnHBfn0yxrL','C3vIq29S','ChjVCa','B25dB21TAxq','z2v0twfZDgvY','Cg9YDhjHAxq','Dw5KzwzPBMvK','y2vSBhm','C2LUz2XL','u0PtoIdPNz7MS5uGDg9Rzw4GjW','CM91BMrbzNrLCG','BwfUDwfS','CMfUzg9Tvvvjra','y2HPBgq','Aw5KzxHpzG','Dw5HCNK','zMfSC2u','Dg9Rzw4'];_0x84c6=function(){return _0x31b350;};return _0x84c6();}function scaleCellFonts(_0x592c3e,_0x560159,_0x2eb6a7){const _0x51ecde=_0x282282;if(_0x560159>=0x1)return _0x592c3e;let _0x50908c=![],_0xd8be10=_0x592c3e['style'];if(_0xd8be10?.[_0x51ecde(0x1ae)]){const _0x3262b5=Math[_0x51ecde(0x218)](_0x2eb6a7,round1(_0xd8be10[_0x51ecde(0x1ae)]*_0x560159));_0x3262b5!==_0xd8be10[_0x51ecde(0x1ae)]&&(_0xd8be10={..._0xd8be10,'fontSize':_0x3262b5},_0x50908c=!![]);}let _0xcb01ed=_0x592c3e['runs'];_0xcb01ed?.[_0x51ecde(0x1d3)](_0x23f93d=>_0x23f93d['s']?.[_0x51ecde(0x1ae)])&&(_0xcb01ed=_0xcb01ed['map'](_0x564621=>{const _0x2e2204=_0x51ecde;if(!_0x564621['s']?.['fontSize'])return _0x564621;const _0x429d80=Math[_0x2e2204(0x218)](_0x2eb6a7,round1(_0x564621['s'][_0x2e2204(0x1ae)]*_0x560159));return _0x429d80===_0x564621['s'][_0x2e2204(0x1ae)]?_0x564621:{..._0x564621,'s':{..._0x564621['s'],'fontSize':_0x429d80}};}),_0x50908c=!![]);if(!_0x50908c)return _0x592c3e;const _0x4f5a2c={..._0x592c3e};if(_0xd8be10)_0x4f5a2c['style']=_0xd8be10;if(_0xcb01ed)_0x4f5a2c[_0x51ecde(0x294)]=_0xcb01ed;return _0x4f5a2c;}function rescaleReportSheet(_0x59ed59,_0x4541df,_0x2d1591){const _0x19d146=_0x282282,_0x367228={...DEFAULTS,'scaleFontSize':!![],..._0x2d1591},_0x392f27=[];if(!(_0x4541df[_0x19d146(0x2e1)]>0x0)||!(_0x4541df['heightMm']>0x0))return{'sheet':_0x59ed59,'warnings':[_0x19d146(0x28d)]};const _0xbd2a63=printableSizeCssPx(_0x59ed59[_0x19d146(0x1c2)]),_0xe7ca7f={..._0x59ed59['page'],'paper':_0x19d146(0x157),'widthMm':_0x4541df[_0x19d146(0x2e1)],'heightMm':_0x4541df[_0x19d146(0x19f)]},_0x29dd43=printableSizeCssPx(_0xe7ca7f),_0x2450c2=_0x29dd43[_0x19d146(0x1bb)]/_0xbd2a63[_0x19d146(0x1bb)],_0x46564b=_0x29dd43['heightPx']/_0xbd2a63['heightPx'],_0x382346=Array['from']({'length':_0x59ed59[_0x19d146(0x1e5)]},(_0x54054d,_0x155175)=>_0x59ed59[_0x19d146(0x1a4)]?.[_0x155175]??_0x59ed59['defaultColWidth'])[_0x19d146(0x362)](_0x108117=>Math[_0x19d146(0x218)](_0x367228['minColWidthPx'],Math[_0x19d146(0x250)](_0x108117*_0x2450c2))),_0x2b0bd7=Array[_0x19d146(0x224)]({'length':_0x59ed59[_0x19d146(0x313)]},(_0x1c4e8b,_0x238ba1)=>_0x59ed59[_0x19d146(0x16a)]?.[_0x238ba1]??_0x59ed59['defaultRowHeight'])[_0x19d146(0x362)](_0x58b7a4=>Math[_0x19d146(0x218)](_0x367228[_0x19d146(0x19c)],Math[_0x19d146(0x250)](_0x58b7a4*_0x46564b))),_0x3d6b11=Math[_0x19d146(0x218)](_0x367228[_0x19d146(0x2d9)],Math[_0x19d146(0x250)](_0x59ed59['defaultColWidth']*_0x2450c2)),_0x1bf034=Math[_0x19d146(0x218)](_0x367228[_0x19d146(0x19c)],Math['round'](_0x59ed59[_0x19d146(0x345)]*_0x46564b)),_0xc1850e=Math[_0x19d146(0x257)](_0x2450c2,_0x46564b);let _0x571709=_0x59ed59['cells'];if(_0x367228[_0x19d146(0x336)]&&_0xc1850e<0x1){const _0x1ebb82={};for(const [_0x1300d4,_0xf8b2e1]of Object['entries'](_0x59ed59[_0x19d146(0x1f0)])){_0x1ebb82[_0x1300d4]=scaleCellFonts(_0xf8b2e1,_0xc1850e,_0x367228[_0x19d146(0x2f4)]);}_0x571709=_0x1ebb82;}const _0x4bd094=_0x382346['reduce']((_0x1bddf9,_0x3d3a1c)=>_0x1bddf9+_0x3d3a1c,0x0);_0x4bd094>_0x29dd43[_0x19d146(0x1bb)]+0.5&&_0x392f27[_0x19d146(0x1a5)](_0x19d146(0x18b)+Math['ceil'](_0x4bd094)+_0x19d146(0x285)+Math['floor'](_0x29dd43[_0x19d146(0x1bb)])+'px(已到最小列宽),请删减列或内容');const _0x4d653a=_0x2b0bd7['reduce']((_0x2e5872,_0x43a027)=>_0x2e5872+_0x43a027,0x0),_0x243c4f=Array['from']({'length':_0x59ed59[_0x19d146(0x313)]},(_0x37cbae,_0x2ad272)=>_0x59ed59[_0x19d146(0x16a)]?.[_0x2ad272]??_0x59ed59['defaultRowHeight'])[_0x19d146(0x2bc)]((_0x3d3acd,_0x5db956)=>_0x3d3acd+_0x5db956,0x0);return _0x4d653a>_0x29dd43[_0x19d146(0x1d7)]+0.5&&_0x243c4f<=_0xbd2a63[_0x19d146(0x1d7)]+0.5&&_0x392f27['push'](_0x19d146(0x21b)),{'sheet':{..._0x59ed59,'defaultColWidth':_0x3d6b11,'defaultRowHeight':_0x1bf034,'colWidths':_0x382346,'rowHeights':_0x2b0bd7,'cells':_0x571709,'page':_0xe7ca7f},'warnings':_0x392f27};}function rescaleReportWorkbook(_0x400103,_0x389a59,_0x13caaa){const _0x4e64c6=_0x282282,_0x5710f1=[],_0x1abc4a=_0x400103[_0x4e64c6(0x21a)][_0x4e64c6(0x362)](_0x2f3a9e=>{const _0x22a932=_0x4e64c6,_0x468c34=rescaleReportSheet(_0x2f3a9e[_0x22a932(0x295)],_0x389a59,_0x13caaa);for(const _0x54b7bd of _0x468c34['warnings']){_0x5710f1[_0x22a932(0x1a5)](_0x400103[_0x22a932(0x21a)][_0x22a932(0x296)]>0x1?'['+_0x2f3a9e[_0x22a932(0x254)]+']\x20'+_0x54b7bd:_0x54b7bd);}return{..._0x2f3a9e,'sheet':_0x468c34[_0x22a932(0x295)]};});return{'workbook':{..._0x400103,'sheets':_0x1abc4a},'warnings':_0x5710f1};}var EXCEL_DEFAULT_ROW_HEIGHT_PT=0xf,EXCEL_DEFAULT_COL_WIDTH_CHAR=8.43,EXCEL_COL_DIGIT_WIDTH_PX=0x7,EXCEL_COL_PADDING_PX=0x5,CHROME_GUTTER_COL_WIDTH_PX=0x28,CHROME_GUTTER_ROW_HEIGHT_PX=0x18;function excelColWidthToPx(_0x249684){const _0x4c0c11=_0x282282;return Math[_0x4c0c11(0x250)](Math[_0x4c0c11(0x218)](0x14,_0x249684*EXCEL_COL_DIGIT_WIDTH_PX+EXCEL_COL_PADDING_PX));}function pxToExcelColWidth(_0x346b4e){const _0x5a599b=_0x282282;return Math['max'](0x2,Math[_0x5a599b(0x257)](0x64,(_0x346b4e-EXCEL_COL_PADDING_PX)/EXCEL_COL_DIGIT_WIDTH_PX));}function excelRowHeightPtToPx(_0x62fea3){return Math['round'](_0x62fea3*0x60/0x48);}function pxToExcelRowHeightPt(_0x514e95){return _0x514e95*0x48/0x60;}function detectGridLayoutMode(_0x39fc4e){const _0x2fc05a=_0x282282;if(_0x39fc4e[_0x2fc05a(0x1a4)]?.[0x0]===CHROME_GUTTER_COL_WIDTH_PX&&_0x39fc4e[_0x2fc05a(0x16a)]?.[0x0]===CHROME_GUTTER_ROW_HEIGHT_PX)return'chrome';return _0x2fc05a(0x2b1);}function sheetDataRegion(_0x471113){const _0x232ff6=_0x282282;if(detectGridLayoutMode(_0x471113)===_0x232ff6(0x2b0))return{'r1':0x1,'r2':Math[_0x232ff6(0x218)](0x1,_0x471113[_0x232ff6(0x313)]-0x1),'c1':0x1,'c2':Math[_0x232ff6(0x218)](0x1,_0x471113[_0x232ff6(0x1e5)]-0x1)};return{'r1':0x1,'r2':_0x471113[_0x232ff6(0x313)],'c1':0x1,'c2':_0x471113[_0x232ff6(0x1e5)]};}function sheetDataColWidthPx(_0x2bc021,_0x429ad1){const _0x1a8892=_0x282282;if(detectGridLayoutMode(_0x2bc021)===_0x1a8892(0x2b0)){const _0xea2916=_0x2bc021[_0x1a8892(0x1a4)]?.[_0x429ad1];if(typeof _0xea2916==='number'&&_0xea2916>0x0)return _0xea2916;return _0x2bc021[_0x1a8892(0x14d)];}const _0x3350c2=_0x2bc021['colWidths']?.[_0x429ad1-0x1];if(typeof _0x3350c2==='number'&&_0x3350c2>0x0)return _0x3350c2;return _0x2bc021[_0x1a8892(0x14d)];}function sheetDataRowHeightPx(_0x58f191,_0x5a57ef){const _0x418050=_0x282282;if(detectGridLayoutMode(_0x58f191)===_0x418050(0x2b0)){const _0x388a88=_0x58f191['rowHeights']?.[_0x5a57ef];if(typeof _0x388a88===_0x418050(0x24a)&&_0x388a88>0x0)return _0x388a88;return _0x58f191[_0x418050(0x345)];}const _0x3f09d5=_0x58f191[_0x418050(0x16a)]?.[_0x5a57ef-0x1];if(typeof _0x3f09d5===_0x418050(0x24a)&&_0x3f09d5>0x0)return _0x3f09d5;return _0x58f191[_0x418050(0x345)];}function sheetDataGridWidthPx(_0x5c8a24){const {c1:_0xa247fb,c2:_0x1db870}=sheetDataRegion(_0x5c8a24);let _0x4e8dff=0x0;for(let _0x255100=_0xa247fb;_0x255100<=_0x1db870;_0x255100+=0x1)_0x4e8dff+=sheetDataColWidthPx(_0x5c8a24,_0x255100);return _0x4e8dff;}function sheetDataGridHeightPx(_0x52e5f4){const {r1:_0x947398,r2:_0x44ddbe}=sheetDataRegion(_0x52e5f4);let _0x45713a=0x0;for(let _0x1323a4=_0x947398;_0x1323a4<=_0x44ddbe;_0x1323a4+=0x1)_0x45713a+=sheetDataRowHeightPx(_0x52e5f4,_0x1323a4);return _0x45713a;}function computeFitScale(_0x41b497,_0xda150){if(!(_0x41b497>0x0)||!(_0xda150>0x0))return 0x1;return _0x41b497>_0xda150?_0xda150/_0x41b497:0x1;}function scaleWidthsProportional(_0x4c1cfd,_0x1258d3,_0x2c4493=0x4){const _0x5519b3=_0x282282;if(_0x4c1cfd[_0x5519b3(0x296)]===0x0)return _0x4c1cfd;const _0x5a4546=_0x4c1cfd[_0x5519b3(0x2bc)]((_0x4defb7,_0x3023e0)=>_0x4defb7+_0x3023e0,0x0);if(!(_0x5a4546>0x0)||_0x1258d3>=_0x5a4546)return _0x4c1cfd;const _0x333211=_0x1258d3/_0x5a4546;return _0x4c1cfd[_0x5519b3(0x362)](_0x562266=>Math[_0x5519b3(0x218)](_0x2c4493,Math[_0x5519b3(0x250)](_0x562266*_0x333211)));}function fitSheetDataGridToPage(_0x228e64,_0x400952,_0x5674f8){const _0x4c6fef=_0x282282,_0x53a9f1={'scaleRows':![],'minColWidthPx':0x4,'minRowHeightPx':0xe,..._0x5674f8},{widthPx:_0x4073b3,heightPx:_0x301faa}=printableSizeCssPx(_0x400952),_0x426598=sheetDataRegion(_0x228e64),_0xa7ea6d=detectGridLayoutMode(_0x228e64),_0x31ce0a=_0x426598['c2']-_0x426598['c1']+0x1,_0x10dd21=_0x426598['r2']-_0x426598['r1']+0x1,_0x82e544=[];for(let _0x4fbe11=_0x426598['c1'];_0x4fbe11<=_0x426598['c2'];_0x4fbe11+=0x1)_0x82e544[_0x4c6fef(0x1a5)](sheetDataColWidthPx(_0x228e64,_0x4fbe11));const _0x5d898f=scaleWidthsProportional(_0x82e544,_0x4073b3,_0x53a9f1[_0x4c6fef(0x2d9)]),_0x552ea9=_0x82e544[0x0]>0x0?_0x5d898f[0x0]/_0x82e544[0x0]:0x1;let _0xb2f5e5;if(_0x53a9f1[_0x4c6fef(0x1cc)]){const _0x5b6f2b=[];for(let _0x47a3ac=_0x426598['r1'];_0x47a3ac<=_0x426598['r2'];_0x47a3ac+=0x1)_0x5b6f2b[_0x4c6fef(0x1a5)](sheetDataRowHeightPx(_0x228e64,_0x47a3ac));_0xb2f5e5=scaleWidthsProportional(_0x5b6f2b,_0x301faa,_0x53a9f1[_0x4c6fef(0x19c)]);}const _0x3ba470=Math[_0x4c6fef(0x218)](_0x53a9f1[_0x4c6fef(0x2d9)],Math[_0x4c6fef(0x250)](_0x228e64[_0x4c6fef(0x14d)]*_0x552ea9)),_0x579dec={..._0x228e64,'page':_0x400952,'defaultColWidth':_0x3ba470};if(_0xa7ea6d===_0x4c6fef(0x2b0)){const _0x2ad43b=[..._0x228e64[_0x4c6fef(0x1a4)]??new Array(_0x228e64['colCount'])[_0x4c6fef(0x2a6)](_0x228e64[_0x4c6fef(0x14d)])];_0x2ad43b[0x0]=CHROME_GUTTER_COL_WIDTH_PX;for(let _0x410bfb=0x0;_0x410bfb<_0x5d898f['length'];_0x410bfb+=0x1)_0x2ad43b[_0x426598['c1']+_0x410bfb]=_0x5d898f[_0x410bfb];_0x579dec[_0x4c6fef(0x1a4)]=_0x2ad43b;if(_0xb2f5e5){const _0xbaba55=[..._0x228e64[_0x4c6fef(0x16a)]??new Array(_0x228e64[_0x4c6fef(0x313)])['fill'](_0x228e64['defaultRowHeight'])];_0xbaba55[0x0]=CHROME_GUTTER_ROW_HEIGHT_PX;for(let _0xccf45e=0x0;_0xccf45e<_0xb2f5e5[_0x4c6fef(0x296)];_0xccf45e+=0x1)_0xbaba55[_0x426598['r1']+_0xccf45e]=_0xb2f5e5[_0xccf45e];_0x579dec[_0x4c6fef(0x16a)]=_0xbaba55;}return _0x579dec;}return _0x579dec['colWidths']=_0x5d898f,_0x579dec[_0x4c6fef(0x1e5)]=_0x31ce0a,_0x579dec[_0x4c6fef(0x313)]=_0x10dd21,_0xb2f5e5&&(_0x579dec[_0x4c6fef(0x16a)]=_0xb2f5e5,_0x579dec[_0x4c6fef(0x345)]=_0xb2f5e5[0x0]??_0x228e64['defaultRowHeight']),_0x579dec;}function normalizeSheetToCompactGrid(_0x296c66){const _0x484ef7=_0x282282;if(detectGridLayoutMode(_0x296c66)!=='chrome')return _0x296c66;const _0xfbcc4=sheetDataRegion(_0x296c66),_0x4eef33=_0xfbcc4['c2']-_0xfbcc4['c1']+0x1,_0x981937=_0xfbcc4['r2']-_0xfbcc4['r1']+0x1,_0x42f08a=[];for(let _0x4ec8ce=_0xfbcc4['c1'];_0x4ec8ce<=_0xfbcc4['c2'];_0x4ec8ce+=0x1)_0x42f08a[_0x484ef7(0x1a5)](sheetDataColWidthPx(_0x296c66,_0x4ec8ce));const _0x4c60d8=[];for(let _0x10b3ed=_0xfbcc4['r1'];_0x10b3ed<=_0xfbcc4['r2'];_0x10b3ed+=0x1)_0x4c60d8[_0x484ef7(0x1a5)](sheetDataRowHeightPx(_0x296c66,_0x10b3ed));return{..._0x296c66,'rowCount':_0x981937,'colCount':_0x4eef33,'colWidths':_0x42f08a,'rowHeights':_0x4c60d8,'defaultColWidth':_0x42f08a[0x0]??_0x296c66['defaultColWidth'],'defaultRowHeight':_0x4c60d8[0x0]??_0x296c66[_0x484ef7(0x345)]};}function sheetPrintFitScale(_0x3392c0){const _0x58051f=_0x282282,_0x2ba1f7=sheetDataGridWidthPx(_0x3392c0),{widthPx:_0x12e32f}=printableSizeCssPx(_0x3392c0[_0x58051f(0x1c2)]);return computeFitScale(_0x2ba1f7,_0x12e32f);}var SHEET_FONT_OPTIONS=[{'value':'','label':'\u9ED8\u8BA4\uFF08\u7CFB\u7EDF\uFF09'},{'value':_0x282282(0x1b9),'label':'\u5B8B\u4F53'},{'value':_0x282282(0x265),'label':'\u4EFF\u5B8B'},{'value':_0x282282(0x1b7),'label':'\u9ED1\u4F53'},{'value':_0x282282(0x154),'label':'\u6977\u4F53'},{'value':_0x282282(0x128),'label':'\u5FAE\u8F6F\u96C5\u9ED1'},{'value':_0x282282(0x20b),'label':'\u96B6\u4E66'},{'value':_0x282282(0x1fd),'label':_0x282282(0x141)},{'value':_0x282282(0x359),'label':_0x282282(0x366)}],CSS_STACK={'':_0x282282(0x16c),'simsun':_0x282282(0x275),'fangsong':_0x282282(0x36c),'simhei':_0x282282(0x152),'kaiti':_0x282282(0x26c),'yahei':_0x282282(0x289),'lisu':'LiSu,STLiti,serif','stxihei':_0x282282(0x134),'stxinwei':_0x282282(0x21c)},EXCEL_NAME={'simsun':'\u5B8B\u4F53','fangsong':'\u4EFF\u5B8B','simhei':'\u9ED1\u4F53','kaiti':'\u6977\u4F53','yahei':_0x282282(0x375),'lisu':'\u96B6\u4E66','stxihei':'\u534E\u6587\u7EC6\u9ED1','stxinwei':_0x282282(0x366)};function sheetFontFamilyCss(_0x3fd278){if(!_0x3fd278)return CSS_STACK[''];const _0x283685=CSS_STACK[_0x3fd278];if(_0x283685)return _0x283685;const _0x29ca2d=guessSheetFontIdFromCssFontFamily(_0x3fd278);if(_0x29ca2d&&CSS_STACK[_0x29ca2d])return CSS_STACK[_0x29ca2d];return _0x3fd278;}function sheetFontFamilyExcelName(_0x436f35){if(!_0x436f35)return void 0x0;const _0x2bd3e2=EXCEL_NAME[_0x436f35];if(_0x2bd3e2)return _0x2bd3e2;const _0x2b385f=guessSheetFontIdFromCssFontFamily(_0x436f35);return _0x2b385f?EXCEL_NAME[_0x2b385f]:void 0x0;}function guessSheetFontIdFromCssFontFamily(_0x4876c0){const _0x423441=_0x282282,_0x1455c3=_0x4876c0[_0x423441(0x2f5)](/["']/g,'')['toLowerCase']();if(!_0x1455c3[_0x423441(0x335)]())return void 0x0;if(/fangsong|仿宋|stfangsong/[_0x423441(0x357)](_0x1455c3))return'fangsong';if(/simsun|songti|宋体/[_0x423441(0x357)](_0x1455c3))return'simsun';if(/yahei|雅黑|microsoft\s*yahei|msyh|pingfang|hiragino/[_0x423441(0x357)](_0x1455c3))return _0x423441(0x128);if(/simhei|heiti|黑体|stheit/[_0x423441(0x357)](_0x1455c3))return _0x423441(0x1b7);if(/kaiti|楷体|kaiti\s*sc/[_0x423441(0x357)](_0x1455c3))return _0x423441(0x154);if(/lisu|隶书|stliti/[_0x423441(0x357)](_0x1455c3))return _0x423441(0x20b);if(/stxihei|华文细黑/[_0x423441(0x357)](_0x1455c3))return _0x423441(0x1fd);if(/stxinwei|华文新魏/[_0x423441(0x357)](_0x1455c3))return'stxinwei';return void 0x0;}function gridColumnIndexToLetters(_0x2f3d34){const _0x8d69f4=_0x282282;if(_0x2f3d34<=0x0)return'';let _0x4b8574=_0x2f3d34,_0x5d6f08='';while(_0x4b8574>0x0){const _0x529256=(_0x4b8574-0x1)%0x1a;_0x5d6f08=String[_0x8d69f4(0x1af)](0x41+_0x529256)+_0x5d6f08,_0x4b8574=Math[_0x8d69f4(0x25b)]((_0x4b8574-0x1)/0x1a);}return _0x5d6f08;}var SHEET_COLOR_ROW_STANDARD=[{'hex':_0x282282(0x34c),'label':'\u767D'},{'hex':_0x282282(0x2f7),'label':'\u7EA2'},{'hex':_0x282282(0x311),'label':'\u9EC4'},{'hex':_0x282282(0x212),'label':'\u84DD'},{'hex':'#008000','label':'\u7EFF'},{'hex':_0x282282(0x2a9),'label':'\u7D2B'},{'hex':'#FFA500','label':'\u6A59'}],SHEET_COLOR_ROW_THEME=[{'hex':_0x282282(0x2b7),'label':'\u9ED1'},{'hex':'#C00000','label':'\u7EA2'},{'hex':'#FFC000','label':'\u9EC4'},{'hex':_0x282282(0x31d),'label':'\u84DD'},{'hex':_0x282282(0x143),'label':'\u7EFF'},{'hex':_0x282282(0x130),'label':'\u7D2B'},{'hex':_0x282282(0x18f),'label':'\u6A59'}];function getRowHeight(_0x349948,_0x580eda){const _0x16cc3a=_0x282282,_0x3d27ce=_0x349948['rowHeights']?.[_0x580eda];if(typeof _0x3d27ce===_0x16cc3a(0x24a)){if(_0x3d27ce===0x0)return 0x0;if(_0x3d27ce>0x0)return _0x3d27ce;}return _0x349948['defaultRowHeight'];}function getColWidth(_0x495114,_0x775b9){const _0x45e326=_0x282282,_0x1a9dce=_0x495114[_0x45e326(0x1a4)]?.[_0x775b9];if(typeof _0x1a9dce==='number'){if(_0x775b9===0x0)return Math[_0x45e326(0x218)](0x0,_0x1a9dce);return _0x1a9dce>0x0?_0x1a9dce:_0x495114[_0x45e326(0x14d)];}return _0x495114[_0x45e326(0x14d)];}var MARGIN_CM_DEFAULT=1.2;function numV(_0x5a9ae4,_0x101484){const _0x16ed37=_0x282282,_0x342ef4=Number(_0x5a9ae4);return Number[_0x16ed37(0x135)](_0x342ef4)?_0x342ef4:_0x101484;}function defaultPageSettings(){return{'paper':'A4','orientation':'portrait','marginsCm':{'top':MARGIN_CM_DEFAULT,'right':MARGIN_CM_DEFAULT,'bottom':MARGIN_CM_DEFAULT,'left':MARGIN_CM_DEFAULT}};}function normalizePageSettings(_0x16250c){const _0x544a85=_0x282282,_0x4b0078=defaultPageSettings();if(!_0x16250c||typeof _0x16250c!==_0x544a85(0x201))return _0x4b0078;const _0x16460c=_0x16250c,_0x558f50=_0x16460c[_0x544a85(0x242)]===_0x544a85(0x157)&&Number(_0x16460c[_0x544a85(0x2e1)])>0x0&&Number(_0x16460c[_0x544a85(0x19f)])>0x0,_0x2c056b=_0x16460c['paper']==='A3'||_0x16460c[_0x544a85(0x242)]===_0x544a85(0x208)||_0x16460c['paper']==='A4'||_0x558f50?_0x16460c[_0x544a85(0x242)]:_0x4b0078[_0x544a85(0x242)],_0x6138b5=_0x558f50?{'widthMm':Number(_0x16460c['widthMm']),'heightMm':Number(_0x16460c['heightMm'])}:void 0x0,_0x53a6d7=_0x16460c[_0x544a85(0x264)]===_0x544a85(0x287)||_0x16460c[_0x544a85(0x264)]===_0x544a85(0x1ee)?_0x16460c[_0x544a85(0x264)]:_0x4b0078[_0x544a85(0x264)],_0x13e6c7=_0x16460c[_0x544a85(0x139)]===0x5a||_0x16460c['outputRotation']===0x10e?{'outputRotation':_0x16460c[_0x544a85(0x139)]}:void 0x0;if(_0x16460c[_0x544a85(0x340)]&&typeof _0x16460c[_0x544a85(0x340)]==='object'){const _0x5af7fb=_0x16460c[_0x544a85(0x340)];return{'paper':_0x2c056b,..._0x6138b5,'orientation':_0x53a6d7,..._0x13e6c7,'marginsCm':{'top':numV(_0x5af7fb[_0x544a85(0x11d)],MARGIN_CM_DEFAULT),'right':numV(_0x5af7fb[_0x544a85(0x214)],MARGIN_CM_DEFAULT),'bottom':numV(_0x5af7fb[_0x544a85(0x27f)],MARGIN_CM_DEFAULT),'left':numV(_0x5af7fb[_0x544a85(0x1cd)],MARGIN_CM_DEFAULT)}};}if(_0x16460c[_0x544a85(0x239)]&&typeof _0x16460c[_0x544a85(0x239)]===_0x544a85(0x201)){const _0x3a1100=_0x16460c[_0x544a85(0x239)];return{'paper':_0x2c056b,..._0x6138b5,'orientation':_0x53a6d7,..._0x13e6c7,'marginsCm':{'top':numV(_0x3a1100[_0x544a85(0x11d)],0xc)/0xa,'right':numV(_0x3a1100['right'],0xc)/0xa,'bottom':numV(_0x3a1100[_0x544a85(0x27f)],0xc)/0xa,'left':numV(_0x3a1100['left'],0xc)/0xa}};}return{..._0x4b0078,'paper':_0x2c056b,..._0x6138b5,'orientation':_0x53a6d7,..._0x13e6c7};}var DEFAULT_IMPORT_OPTIONS={'keepBorders':!![],'keepFonts':!![],'keepMerges':!![],'keepBackground':!![],'keepFormula':!![],'keepDimensions':!![]};function formatA1(_0x240de6,_0x4db7ce){if(_0x240de6<0x1||_0x4db7ce<0x1)return'';return''+gridColumnIndexToLetters(_0x4db7ce)+_0x240de6;}function formatSelectionA1(_0x1928dd){const _0x332a2b=_0x282282,_0x1a3323=Math[_0x332a2b(0x257)](_0x1928dd['r1'],_0x1928dd['r2']),_0x2dbbd7=Math[_0x332a2b(0x218)](_0x1928dd['r1'],_0x1928dd['r2']),_0x138f65=Math[_0x332a2b(0x257)](_0x1928dd['c1'],_0x1928dd['c2']),_0x326497=Math['max'](_0x1928dd['c1'],_0x1928dd['c2']);if(_0x1a3323===_0x2dbbd7&&_0x138f65===_0x326497)return formatA1(_0x1a3323,_0x138f65);return formatA1(_0x1a3323,_0x138f65)+':'+formatA1(_0x2dbbd7,_0x326497);}var A1_RE=/^([A-Za-z]+)(\d+)$/;function parseA1Cell(_0x1f4cc6){const _0x13bd08=_0x282282,_0xa7281d=_0x1f4cc6['trim'](),_0x576400=A1_RE[_0x13bd08(0x2ac)](_0xa7281d);if(!_0x576400)return null;const _0x236112=_0x576400[0x1][_0x13bd08(0x181)](),_0x3a4c59=Number(_0x576400[0x2]);if(!Number[_0x13bd08(0x135)](_0x3a4c59)||_0x3a4c59<0x1)return null;const _0x4cc85f=lettersToColumnIndex(_0x236112);if(_0x4cc85f<0x1)return null;return{'r':_0x3a4c59,'c':_0x4cc85f};}function parseA1OrRangeToSelection(_0xf4e370){const _0x1e4f5f=_0x282282,_0x121655=_0xf4e370['trim'](),_0x484eb9=_0x121655['indexOf'](':');if(_0x484eb9===-0x1){const _0x12e3a5=parseA1Cell(_0x121655);if(!_0x12e3a5)return null;return{'r1':_0x12e3a5['r'],'c1':_0x12e3a5['c'],'r2':_0x12e3a5['r'],'c2':_0x12e3a5['c']};}const _0x286490=parseA1Cell(_0x121655[_0x1e4f5f(0x28b)](0x0,_0x484eb9)),_0x1e7f88=parseA1Cell(_0x121655['slice'](_0x484eb9+0x1));if(!_0x286490||!_0x1e7f88)return null;return{'r1':Math['min'](_0x286490['r'],_0x1e7f88['r']),'c1':Math[_0x1e4f5f(0x257)](_0x286490['c'],_0x1e7f88['c']),'r2':Math[_0x1e4f5f(0x218)](_0x286490['r'],_0x1e7f88['r']),'c2':Math[_0x1e4f5f(0x218)](_0x286490['c'],_0x1e7f88['c'])};}function lettersToColumnIndex(_0x5a7792){const _0x525904=_0x282282;let _0x20e74a=0x0;for(let _0x56af92=0x0;_0x56af92<_0x5a7792[_0x525904(0x296)];_0x56af92+=0x1){const _0x3463a5=_0x5a7792[_0x525904(0x11a)](_0x56af92);if(_0x3463a5<0x41||_0x3463a5>0x5a)return-0x1;_0x20e74a=_0x20e74a*0x1a+(_0x3463a5-0x40);}return _0x20e74a;}var GRID_RC_RE=/^r(\d+)c(\d+)$/i;function parseGridRcAddress(_0x1ef4e8){const _0xd88fbf=_0x282282,_0x3846b8=GRID_RC_RE[_0xd88fbf(0x2ac)](_0x1ef4e8['trim']());if(!_0x3846b8)return null;return{'r':Number(_0x3846b8[0x1]),'c':Number(_0x3846b8[0x2])};}function readMeta(_0x3a36ca,_0x6e20c3,_0x3464e1,_0x51dbe7){const _0x1f14ea=_0x282282;if(!_0x3a36ca)return null;const _0x3a199f=_0x3a36ca[cellMetaCompoundKey(_0x6e20c3,'r'+_0x3464e1+'c'+_0x51dbe7)],_0x5d33ee=_0x3a199f??_0x3a36ca[cellMetaCompoundKey(_0x6e20c3,_0x4f1eb4(_0x3464e1,_0x51dbe7))];if(!_0x5d33ee||typeof _0x5d33ee!==_0x1f14ea(0x201)||Array[_0x1f14ea(0x2c4)](_0x5d33ee))return null;return _0x5d33ee;}function parseSheetCellKeyPart(_0x487f19){const _0x5ac207=_0x282282,_0x1c5807=/^r(\d+)c(\d+)$/[_0x5ac207(0x2ac)](_0x487f19);if(_0x1c5807)return{'r':Number(_0x1c5807[0x1]),'c':Number(_0x1c5807[0x2])};return parseCellKey(_0x487f19);}function enumerateSheetMetaCells(_0x19a9d1,_0x2e3d6a){const _0x3d0b69=_0x282282;if(!_0x19a9d1)return[];const _0x4ce452=_0x2e3d6a+'::',_0x1dfca3=[];for(const [_0x386936,_0x477cf3]of Object[_0x3d0b69(0x172)](_0x19a9d1)){if(!_0x386936[_0x3d0b69(0x223)](_0x4ce452))continue;const _0x44e9be=_0x386936[_0x3d0b69(0x28b)](_0x4ce452['length']),_0xfef52d=parseSheetCellKeyPart(_0x44e9be);if(!_0xfef52d)continue;if(!_0x477cf3||typeof _0x477cf3!==_0x3d0b69(0x201)||Array[_0x3d0b69(0x2c4)](_0x477cf3))continue;_0x1dfca3[_0x3d0b69(0x1a5)]({'key':_0x4f1eb4(_0xfef52d['r'],_0xfef52d['c']),'r':_0xfef52d['r'],'c':_0xfef52d['c'],'meta':_0x477cf3});}return _0x1dfca3;}function getRounding(_0x1cb181){const _0x45a0ce=_0x282282;if(!_0x1cb181)return void 0x0;const _0xca5ad7=_0x1cb181;if(_0xca5ad7[_0x45a0ce(0x191)]&&typeof _0xca5ad7[_0x45a0ce(0x191)]==='object')return _0xca5ad7[_0x45a0ce(0x191)];if(_0x1cb181[_0x45a0ce(0x1a2)]!=null||_0x1cb181[_0x45a0ce(0x129)]!=null||_0x1cb181['interval']!=null||_0x1cb181[_0x45a0ce(0x2f2)]!=null)return{'roundMode':_0x1cb181['roundMode'],'scale':_0x1cb181[_0x45a0ce(0x129)],'interval':_0x1cb181[_0x45a0ce(0x175)],'sigDigits':_0x1cb181[_0x45a0ce(0x2f2)],'triggers':_0x1cb181[_0x45a0ce(0x1e3)]};return void 0x0;}function getRoundingForCompute(_0xe0369a){return getRoundingForComputeMeta(getRounding(_0xe0369a));}function collectReferencedScriptBlockKeys(_0x32d4e4,_0x3ff81a,_0x1136b6){const _0x6d6b39=_0x282282,_0x59af74=new Set();for(const _0x1d797b of _0x32d4e4[_0x6d6b39(0x21a)]){for(const _0x351bc7 of enumerateSheetMetaCells(_0x3ff81a,_0x1d797b['id'])){_0x351bc7[_0x6d6b39(0x322)][_0x6d6b39(0x13a)]===_0x6d6b39(0x1b2)&&_0x351bc7[_0x6d6b39(0x322)][_0x6d6b39(0x2a0)]&&shouldRunScriptBlock(_0x351bc7[_0x6d6b39(0x322)],_0x1136b6)&&_0x59af74['add'](_0x351bc7[_0x6d6b39(0x322)][_0x6d6b39(0x2a0)]);}}for(const _0x1846c7 of _0x32d4e4['embeds']??[]){if(_0x1846c7[_0x6d6b39(0x243)]==='chart'&&_0x1846c7[_0x6d6b39(0x186)]['dataSource'][_0x6d6b39(0x2da)]==='script'){const _0x1a8e28=_0x1846c7[_0x6d6b39(0x186)]['dataSource']['scriptBlockKey']['trim']();if(_0x1a8e28)_0x59af74['add'](_0x1a8e28);}}return _0x59af74;}function clone(_0x3420c9){const _0x290965=_0x282282;return JSON['parse'](JSON[_0x290965(0x31f)](_0x3420c9));}function renderBindingsIntoSheet(_0x489706,_0x2664d7,_0x57c9a9,_0x59462f,_0x13acdc,_0x450988,_0x43f0a6,_0xeff901,_0x1d0fd8){const _0xd43257=_0x282282,_0x70ef09={..._0x2664d7,'cells':{..._0x2664d7['cells']}},_0x30e05f=new Set(),_0x109708=[];for(const _0x45eee1 of enumerateSheetMetaCells(_0x59462f,_0x57c9a9)){if(_0x45eee1[_0xd43257(0x322)][_0xd43257(0x352)]==null||_0x45eee1[_0xd43257(0x322)]['bindingKind']===_0xd43257(0x299)||_0x45eee1[_0xd43257(0x322)][_0xd43257(0x352)]===_0xd43257(0x2f3))continue;if(_0x30e05f['has'](_0x45eee1[_0xd43257(0x2b8)]))continue;_0x30e05f['add'](_0x45eee1[_0xd43257(0x2b8)]),_0x109708['push']({'k':_0x45eee1[_0xd43257(0x2b8)],'r':_0x45eee1['r'],'c':_0x45eee1['c']});}for(const _0x247b29 of Object[_0xd43257(0x17f)](_0x2664d7[_0xd43257(0x1f0)])){if(_0x30e05f[_0xd43257(0x32c)](_0x247b29))continue;const _0x1bf343=parseCellKey(_0x247b29);if(!_0x1bf343)continue;_0x30e05f[_0xd43257(0x35e)](_0x247b29),_0x109708[_0xd43257(0x1a5)]({'k':_0x247b29,'r':_0x1bf343['r'],'c':_0x1bf343['c']});}for(const {k:_0x5b0a51,r:_0x37bfa9,c:_0x215099}of _0x109708){const _0x418124={'r':_0x37bfa9,'c':_0x215099},_0x496a03=readMeta(_0x59462f,_0x57c9a9,_0x418124['r'],_0x418124['c']);if(!_0x496a03)continue;const _0x3c4bce=_0x2664d7[_0xd43257(0x1f0)][_0x5b0a51]??{'value':''},_0x588ae3=typeof _0x3c4bce[_0xd43257(0x364)]==='string'?_0x3c4bce[_0xd43257(0x364)][_0xd43257(0x335)]():'',_0x3057f1=_0x496a03[_0xd43257(0x352)]==='systemParam',_0x512230=!_0x3057f1&&(_0x3c4bce['f']&&_0x3c4bce['f'][_0xd43257(0x335)]()['startsWith']('=')||_0x496a03[_0xd43257(0x13a)]!=null||_0x588ae3[_0xd43257(0x223)]('='));if(_0x512230)continue;const _0x2f92e5=bindingSubFieldRichPayload(_0x496a03,_0x13acdc),_0x4704ba=getRoundingForCompute(_0x496a03);if(_0x2f92e5){const _0x21a63e=_0x4704ba?formatNumericByMeta(_0x2f92e5[_0xd43257(0x364)],_0x4704ba):_0x2f92e5[_0xd43257(0x364)];if(_0x21a63e===''&&_0x3c4bce[_0xd43257(0x140)]===!![]&&(typeof _0x3c4bce[_0xd43257(0x364)]==='string'?_0x3c4bce[_0xd43257(0x364)][_0xd43257(0x335)]():'')!=='')continue;const _0xc520ac={..._0x3c4bce,'value':_0x21a63e};if(_0x2f92e5['runs'][_0xd43257(0x296)])_0xc520ac[_0xd43257(0x294)]=_0x2f92e5[_0xd43257(0x294)];else delete _0xc520ac[_0xd43257(0x294)];const _0x13e38b=_0x3c4bce[_0xd43257(0x364)]===_0xc520ac['value']&&JSON['stringify'](_0x3c4bce['runs']??[])===JSON[_0xd43257(0x31f)](_0xc520ac[_0xd43257(0x294)]??[]);if(!_0x13e38b)_0x70ef09[_0xd43257(0x1f0)][_0x5b0a51]=_0xc520ac;continue;}const _0x32cf93=bindingValueToString(_0x496a03,_0x13acdc,_0x489706,_0x57c9a9,_0x450988,_0x43f0a6,_0x3c4bce,_0xeff901?.[_0x57c9a9],_0x1d0fd8);if(_0x32cf93==null)continue;if(_0x32cf93===''&&_0x3c4bce[_0xd43257(0x140)]===!![]&&(typeof _0x3c4bce[_0xd43257(0x364)]===_0xd43257(0x347)?_0x3c4bce[_0xd43257(0x364)][_0xd43257(0x335)]():'')!=='')continue;const _0x1e106d=_0x4704ba?formatNumericByMeta(_0x32cf93,_0x4704ba):_0x32cf93,_0x7d2c86={..._0x3c4bce,'value':_0x1e106d};delete _0x7d2c86['runs'];const _0x32b1a8=_0x3c4bce['value']===_0x7d2c86[_0xd43257(0x364)]&&JSON[_0xd43257(0x31f)](_0x3c4bce[_0xd43257(0x294)]??[])===JSON['stringify'](_0x7d2c86[_0xd43257(0x294)]??[]);if(_0x32b1a8)continue;_0x70ef09['cells'][_0x5b0a51]=_0x7d2c86;}return _0x70ef09;}function bindingSubFieldRichPayload(_0x38961e,_0x231681){const _0x380d31=_0x282282;if(_0x38961e['bindingKind']!==_0x380d31(0x36d))return null;const _0x32e0ee=Number(_0x38961e[_0x380d31(0x325)]),_0x5be257=(_0x38961e['fieldCode']??'')['trim'](),_0x57ae65=_0x231681[_0x380d31(0x284)][_0x32e0ee]??[],_0x5ce176=_0x38961e[_0x380d31(0x162)];if(typeof _0x5ce176!=='number'||_0x5ce176<0x0||_0x5ce176>=_0x57ae65[_0x380d31(0x296)])return null;const _0x268584=_0x57ae65[_0x5ce176]?.[_0x5be257];if(!isSubFieldRichPersist(_0x268584))return null;return{'value':_0x268584[_0x380d31(0x364)],'runs':_0x268584[_0x380d31(0x294)]};}function bindingValueToString(_0x500d7c,_0x4c62b7,_0x1095db,_0x2c2ce7,_0xee0f1c,_0x159df1,_0x2eb9bd,_0x55cb69,_0x598df7){const _0x29922c=_0x282282,_0x14f539=_0x500d7c[_0x29922c(0x352)];if(!_0x14f539||_0x14f539==='none'||_0x14f539===_0x29922c(0x2f3))return null;const _0x4182b4=_0x3aff6=>_0x3aff6==null?'':typeof _0x3aff6==='string'?_0x3aff6:String(_0x3aff6);if(_0x14f539===_0x29922c(0x368)){const _0x47c811=(_0x500d7c[_0x29922c(0x1df)]??'')[_0x29922c(0x335)]();if(!_0x47c811)return null;return _0x4182b4(_0x4c62b7[_0x29922c(0x369)][_0x47c811]);}if(_0x14f539===_0x29922c(0x179)){const _0x2c6fdc=(_0x500d7c[_0x29922c(0x1df)]??'')[_0x29922c(0x335)]();if(!_0x2c6fdc)return null;return _0x4182b4(_0x4c62b7['main'][_0x2c6fdc]);}if(_0x14f539===_0x29922c(0x36d)){const _0x695f5=Number(_0x500d7c[_0x29922c(0x325)]),_0x2c3ef4=(_0x500d7c[_0x29922c(0x1df)]??'')['trim'](),_0x26e54c=_0x4c62b7['sub'][_0x695f5]??[],_0x57bdb3=_0x500d7c[_0x29922c(0x162)];if(typeof _0x57bdb3===_0x29922c(0x24a)&&_0x57bdb3>=0x0&&_0x57bdb3<_0x26e54c['length'])return _0x4182b4(normalizeSubFieldSlotForFormula(_0x26e54c[_0x57bdb3]?.[_0x2c3ef4]));return null;}if(_0x14f539===_0x29922c(0x32d)){const _0x4973c8=stripRuntimeComputedUserParams(_0x4c62b7['params']),_0x317993=_0x598df7?_0x55cb69?mergeSystemAndUserParams(_0x598df7[_0x29922c(0x2d8)](_0x1095db,{'render':_0x55cb69,'branding':_0x159df1}),_0x4973c8):_0x598df7[_0x29922c(0x14c)](_0x1095db,_0x2c2ce7,_0xee0f1c,_0x4973c8,_0x159df1):mergeSystemAndUserParams({},_0x4973c8),_0x119bdc=(_0x500d7c[_0x29922c(0x2f8)]??_0x2eb9bd?.[_0x29922c(0x338)]?.[_0x29922c(0x33b)]??'')['trim'](),_0x2e91fb=typeof _0x2eb9bd?.[_0x29922c(0x364)]===_0x29922c(0x347)?_0x2eb9bd[_0x29922c(0x364)][_0x29922c(0x335)]():'',_0x139a0e=_0x119bdc&&templateContainsSystemParamTokens(_0x119bdc),_0x478135=_0x2e91fb&&templateContainsSystemParamTokens(_0x2e91fb),_0x5b6185=!_0x478135&&_0x139a0e&&/第\s*页/[_0x29922c(0x357)](_0x2e91fb)&&/共\s*\d+\s*页/[_0x29922c(0x357)](_0x2e91fb),_0x24f1e6=_0x139a0e?_0x119bdc:_0x478135?_0x2e91fb:_0x5b6185?_0x119bdc:'';if(_0x24f1e6)return expandSystemParamTemplate(_0x24f1e6,_0x317993);return _0x4182b4(_0x317993[normalizeSystemParamId((_0x500d7c[_0x29922c(0x1bc)]??'')[_0x29922c(0x1fb)]())]);}if(_0x14f539===_0x29922c(0x36b))return null;return null;}function metaToCatalogNodeId(_0x374c15){const _0x4a7d4b=_0x282282;if(_0x374c15[_0x4a7d4b(0x352)]===_0x4a7d4b(0x368)){const _0x4b3d4c=(_0x374c15[_0x4a7d4b(0x1df)]??_0x374c15[_0x4a7d4b(0x2e3)]??'')['trim']();return _0x4b3d4c?'b.'+_0x4b3d4c:null;}if(_0x374c15[_0x4a7d4b(0x352)]===_0x4a7d4b(0x179)){const _0x1e5f16=(_0x374c15['fieldCode']??_0x374c15[_0x4a7d4b(0x2e3)]??'')[_0x4a7d4b(0x335)]();return _0x1e5f16?'m.'+_0x1e5f16:null;}if(_0x374c15[_0x4a7d4b(0x352)]===_0x4a7d4b(0x36d)){const _0x303cda=(_0x374c15[_0x4a7d4b(0x1df)]??_0x374c15[_0x4a7d4b(0x2e3)]??'')[_0x4a7d4b(0x335)](),_0x5b4809=_0x374c15['subSchemaId']??0x1;return _0x303cda?'s'+_0x5b4809+'.'+_0x303cda:null;}return null;}function buildFieldEffectiveOrderMap(_0x4b8786){const _0x3be84f=_0x282282,_0x3a6137=getFormulaCatalogFromMeta(_0x4b8786[_0x3be84f(0x322)]??null),_0x410ac0=new Map();for(const _0x159d71 of _0x3a6137[_0x3be84f(0x172)]){if(_0x159d71[_0x3be84f(0x243)]!=='field'||_0x159d71[_0x3be84f(0x349)]===![])continue;const _0x5bf388=catalogEntryNodeId(_0x159d71);if(typeof _0x159d71[_0x3be84f(0x30f)]==='number')_0x410ac0[_0x3be84f(0x167)](_0x5bf388,_0x159d71[_0x3be84f(0x30f)]);}return _0x410ac0;}function filterScriptBlocksForPass(_0x93d38,_0x3cb18c,_0x2e583c){const _0x29db52=_0x282282,_0x3c66de=getFormulaCatalogFromMeta(_0x3cb18c[_0x29db52(0x322)]??null),_0x47da29=new Map();for(const _0x4abd50 of _0x3c66de['entries']){_0x4abd50[_0x29db52(0x243)]==='script'&&_0x4abd50[_0x29db52(0x2a0)]&&_0x47da29[_0x29db52(0x167)](_0x4abd50['scriptBlockKey'],normalizeFormulaRunWhen(_0x4abd50));}return _0x93d38[_0x29db52(0x1d1)](_0x4a7a45=>{const _0x1cd5c3=_0x29db52;if(!_0x4a7a45?.['key'])return![];if(_0x4a7a45[_0x1cd5c3(0x22d)]==='beforeRender')return![];const _0x414df4=_0x47da29['get'](_0x4a7a45['key'])??_0x1cd5c3(0x1ba);if(_0x414df4===_0x1cd5c3(0x1ba))return!![];return _0x2e583c==='full';});}function collectFieldFormulaWorkItems(_0x277ddf,_0x47a9c7,_0x306204,_0x56209d){const _0x15cd31=_0x282282,_0x61b763=[];let _0x1b125a=0x0;for(let _0x5b01ed=0x0;_0x5b01ed<_0x277ddf[_0x15cd31(0x21a)]['length'];_0x5b01ed+=0x1){const _0x40d722=_0x277ddf[_0x15cd31(0x21a)][_0x5b01ed];for(const _0x1a76bc of enumerateSheetMetaCells(_0x47a9c7,_0x40d722['id'])){const _0x119379=_0x1a76bc[_0x15cd31(0x322)];if(_0x119379[_0x15cd31(0x13a)]!==_0x15cd31(0x14b)||!_0x119379['source'])continue;if(!shouldRunFieldFormula(_0x119379,_0x56209d))continue;if(_0x119379[_0x15cd31(0x352)]===_0x15cd31(0x32d))continue;const _0x573f4e=metaToCatalogNodeId(_0x119379),_0x38204d=_0x573f4e!=null&&_0x306204['has'](_0x573f4e)?_0x306204[_0x15cd31(0x213)](_0x573f4e):_0x1b125a++;_0x61b763[_0x15cd31(0x1a5)]({'sheetIndex':_0x5b01ed,'sheetId':_0x40d722['id'],'key':_0x1a76bc[_0x15cd31(0x2b8)],'meta':_0x119379,'order':_0x38204d});}}return _0x61b763['sort']((_0x4667a7,_0x9f51f5)=>_0x4667a7[_0x15cd31(0x2cc)]-_0x9f51f5[_0x15cd31(0x2cc)]),_0x61b763;}function deriveLhs(_0x26c6fb){const _0x4509b7=_0x282282;if(_0x26c6fb[_0x4509b7(0x13a)]!==_0x4509b7(0x14b))return null;if(_0x26c6fb[_0x4509b7(0x352)]==='basicField'){const _0xccdb25=(_0x26c6fb['fieldCode']??_0x26c6fb['writeToFieldCode']??'')[_0x4509b7(0x335)]();if(!_0xccdb25)return null;return{'kind':_0x4509b7(0x369),'key':_0xccdb25};}const _0x10524e=_0x26c6fb[_0x4509b7(0x1e6)]??(_0x26c6fb[_0x4509b7(0x352)]===_0x4509b7(0x36d)?_0x4509b7(0x30a):_0x4509b7(0x334));if(_0x10524e===_0x4509b7(0x334)){const _0x5dddcc=(_0x26c6fb[_0x4509b7(0x1df)]??_0x26c6fb['writeToFieldCode']??'')['trim']();if(!_0x5dddcc)return null;return{'kind':_0x4509b7(0x334),'key':_0x5dddcc};}const _0xfca00d=Number(_0x26c6fb[_0x4509b7(0x325)]),_0x5564c4=(_0x26c6fb[_0x4509b7(0x1df)]??_0x26c6fb[_0x4509b7(0x2e3)]??'')[_0x4509b7(0x335)]();if(!Number[_0x4509b7(0x135)](_0xfca00d)||!_0x5564c4)return null;const _0x4340a3=typeof _0x26c6fb[_0x4509b7(0x162)]==='number'?_0x26c6fb[_0x4509b7(0x162)]:0x0;return{'kind':'subRow','subSchemaId':_0xfca00d,'col':_0x5564c4,'rowIndex':_0x4340a3};}function valueToString(_0x388123){const _0x204903=_0x282282;if(_0x388123==null)return'';if(typeof _0x388123===_0x204903(0x24a))return Number[_0x204903(0x135)](_0x388123)?String(_0x388123):'';if(typeof _0x388123===_0x204903(0x347))return _0x388123;if(typeof _0x388123==='boolean')return _0x388123?_0x204903(0x1e0):_0x204903(0x2f1);return JSON[_0x204903(0x31f)](_0x388123);}function assignFieldValue(_0x4e0994,_0x4ccb96,_0x36505c){const _0x562512=_0x282282;if(_0x4ccb96['kind']===_0x562512(0x369)){_0x4e0994[_0x562512(0x369)][_0x4ccb96[_0x562512(0x2b8)]]=_0x36505c;return;}if(_0x4ccb96[_0x562512(0x243)]===_0x562512(0x334)){_0x4e0994[_0x562512(0x334)][_0x4ccb96['key']]=_0x36505c;return;}const _0x262166=_0x4e0994[_0x562512(0x284)][_0x4ccb96[_0x562512(0x325)]]??(_0x4e0994[_0x562512(0x284)][_0x4ccb96[_0x562512(0x325)]]=[]);while(_0x262166[_0x562512(0x296)]<=_0x4ccb96['rowIndex'])_0x262166['push']({});const _0x1e66c8=_0x262166[_0x4ccb96[_0x562512(0x195)]]??(_0x262166[_0x4ccb96[_0x562512(0x195)]]={});_0x1e66c8[_0x4ccb96[_0x562512(0x1b8)]]=_0x36505c;}function runFieldFormula(_0xbaf5dd,_0x27c880,_0x2e2d09,_0x1a8aa6){const _0x5b9dc6=stripFieldPrefix(_0xbaf5dd);if(_0x5b9dc6==null)return{'ok':![],'err':'field\x20\u516C\u5F0F\u9700\u4EE5\x20:=\x20\u8D77\u59CB'};try{const _0x1ea3fd=buildFieldRunContext(_0x27c880,_0x2e2d09,_0x1a8aa6),_0x4574c5=runSjsExpr(_0x5b9dc6,_0x1ea3fd);return{'ok':!![],'v':_0x4574c5};}catch(_0x48abec){return{'ok':![],'err':_0x48abec instanceof Error?_0x48abec['message']:String(_0x48abec)};}}function runScriptBlock(_0xc40b54,_0x33dfd1,_0xd39e94,_0x4a6845){const _0xf11b77=_0x282282;try{const _0x1ec34f=_0xc40b54[_0xf11b77(0x12e)]===_0xf11b77(0x30a)&&_0xc40b54[_0xf11b77(0x325)]!=null&&_0xd39e94!=null?{'kind':_0xf11b77(0x284),'subSchemaId':_0xc40b54[_0xf11b77(0x325)],'rowIndex':_0xd39e94}:{'kind':_0xf11b77(0x334)},_0xc914de=buildFieldRunContext(_0x33dfd1,_0x1ec34f,{..._0x4a6845,'mutable':!![]}),_0x3a477a=runSjs(_0xc40b54[_0xf11b77(0x14a)],_0xc914de);return{'ok':!![],'v':_0x3a477a};}catch(_0x2e553a){return{'ok':![],'err':_0x2e553a instanceof SjsError?_0x2e553a[_0xf11b77(0x26f)]:_0x2e553a instanceof Error?_0x2e553a[_0xf11b77(0x26f)]:String(_0x2e553a)};}}function collectGridRefs(_0xefb7fa,_0x455536){const _0x4c2ee6=_0x282282;switch(_0xefb7fa['type']){case _0x4c2ee6(0x1c7):_0x455536[_0x4c2ee6(0x1a5)]({'sheet':_0xefb7fa[_0x4c2ee6(0x295)],'r':_0xefb7fa['r'],'c':_0xefb7fa['c']});return;case'range':{for(let _0x2b731f=_0xefb7fa['r1'];_0x2b731f<=_0xefb7fa['r2'];_0x2b731f+=0x1)for(let _0x2200de=_0xefb7fa['c1'];_0x2200de<=_0xefb7fa['c2'];_0x2200de+=0x1)_0x455536[_0x4c2ee6(0x1a5)]({'sheet':_0xefb7fa['sheet'],'r':_0x2b731f,'c':_0x2200de});return;}case _0x4c2ee6(0x1f8):case _0x4c2ee6(0x33e):collectGridRefs(_0xefb7fa[_0x4c2ee6(0x183)],_0x455536);return;case'binary':collectGridRefs(_0xefb7fa[_0x4c2ee6(0x1cd)],_0x455536),collectGridRefs(_0xefb7fa['right'],_0x455536);return;case _0x4c2ee6(0x25c):_0xefb7fa[_0x4c2ee6(0x358)][_0x4c2ee6(0x146)](_0x3f0c4e=>collectGridRefs(_0x3f0c4e,_0x455536));return;default:return;}}function collectGridFormulas(_0x1137a8){const _0xef6f06=_0x282282,_0x3ebd24=[],{wb:_0xa4a982,cellMeta:_0x1965f4}=_0x1137a8;for(const _0x4eb14c of _0xa4a982['sheets']){for(const [_0x194df4,_0x2ed908]of Object[_0xef6f06(0x172)](_0x4eb14c[_0xef6f06(0x295)][_0xef6f06(0x1f0)])){const _0x507d9b=parseCellKey(_0x194df4);if(!_0x507d9b)continue;const _0x4d8b09=_0x2ed908,_0x4d7fd8=readMeta(_0x1965f4,_0x4eb14c['id'],_0x507d9b['r'],_0x507d9b['c']);let _0x20574c=null;if(_0x4d7fd8?.['formulaKind']===_0xef6f06(0x312)&&typeof _0x4d7fd8['source']===_0xef6f06(0x347)&&_0x4d7fd8['source'][_0xef6f06(0x335)]())_0x20574c=_0x4d7fd8[_0xef6f06(0x14a)][_0xef6f06(0x335)]();else{if(_0x4d8b09['f']&&typeof _0x4d8b09['f']==='string'&&_0x4d8b09['f'][_0xef6f06(0x335)]()['startsWith']('='))_0x20574c=_0x4d8b09['f'][_0xef6f06(0x335)]();else{const _0x5b65aa=typeof _0x4d8b09[_0xef6f06(0x364)]===_0xef6f06(0x347)?_0x4d8b09[_0xef6f06(0x364)][_0xef6f06(0x335)]():'';if(_0x5b65aa[_0xef6f06(0x223)]('='))_0x20574c=_0x5b65aa;}}if(!_0x20574c)continue;try{const _0x15ffb6=parseFormula(_0x20574c);_0x3ebd24[_0xef6f06(0x1a5)]({'sheetId':_0x4eb14c['id'],'r':_0x507d9b['r'],'c':_0x507d9b['c'],'source':_0x20574c,'ast':_0x15ffb6,'meta':_0x4d7fd8});}catch(_0x38f78c){_0x3ebd24[_0xef6f06(0x1a5)]({'sheetId':_0x4eb14c['id'],'r':_0x507d9b['r'],'c':_0x507d9b['c'],'source':_0x20574c,'ast':null,'parseError':_0x38f78c instanceof Error?_0x38f78c[_0xef6f06(0x26f)]:String(_0x38f78c),'meta':_0x4d7fd8});}}}return _0x3ebd24;}function buildGridDepGraph(_0xa3c6e4,_0x2af870){const _0x4094aa=_0x282282,_0x2881d5=new DepGraph(),_0x5c388b=new Map();for(let _0xdd9d76=0x0;_0xdd9d76<_0xa3c6e4[_0x4094aa(0x296)];_0xdd9d76+=0x1){const _0x13b8a4=_0xa3c6e4[_0xdd9d76],_0x4a35b5=gridNodeId(_0x13b8a4[_0x4094aa(0x370)],_0x13b8a4['r'],_0x13b8a4['c']);_0x2881d5[_0x4094aa(0x123)](_0x4a35b5),_0x5c388b['set'](_0x4a35b5,_0xdd9d76);if(!_0x13b8a4['ast'])continue;const _0x150824=[];collectGridRefs(_0x13b8a4[_0x4094aa(0x32e)],_0x150824);for(const _0x4e70c0 of _0x150824){const _0xfcfbe7=_0x4e70c0[_0x4094aa(0x295)]?_0x2af870[_0x4094aa(0x213)](_0x4e70c0[_0x4094aa(0x295)])??_0x4e70c0['sheet']:_0x13b8a4['sheetId'];_0x2881d5['addEdge'](_0x4a35b5,gridNodeId(_0xfcfbe7,_0x4e70c0['r'],_0x4e70c0['c']));}}return{'graph':_0x2881d5,'key2fi':_0x5c388b};}function makeEvalContext(_0xddd5bf,_0x56da1c,_0x11d594,_0x572803,_0x18c71c,_0x2fe013){const _0x58a538=_0x282282,_0x3433d3=new Map(_0xddd5bf['sheets'][_0x58a538(0x362)](_0x79395e=>[_0x79395e['id'],_0x79395e[_0x58a538(0x295)]])),_0x508775=(_0xed4df8,_0x16396c,_0x58b928)=>{const _0x4c3cba=_0x58a538,_0x3223dd=_0x3433d3[_0x4c3cba(0x32c)](_0xed4df8)?_0xed4df8:_0x56da1c[_0x4c3cba(0x213)](_0xed4df8)??_0xed4df8,_0x489367=_0x3433d3[_0x4c3cba(0x213)](_0x3223dd);if(!_0x489367)return vErr(_0x4c3cba(0x245),_0x4c3cba(0x1c4)+_0xed4df8);const _0x43754f=_0x489367[_0x4c3cba(0x1f0)][_0x4f1eb4(_0x16396c,_0x58b928)];if(!_0x43754f)return V_NULL;const _0x5bf4f6=_0x43754f['value']??'';if(_0x5bf4f6==='')return V_NULL;const _0x5c0bc9=tryParseNumericString(_0x5bf4f6);if(_0x5c0bc9!=null)return vNum(_0x5c0bc9);return vStr(_0x5bf4f6);},_0x28c755=_0x572803&&_0x572803['length']?_0x4a6629=>{const _0x5c65=_0x58a538,_0x2037b2=_0x572803[_0x5c65(0x367)](_0x288ae5=>_0x288ae5[_0x5c65(0x254)]===_0x4a6629);if(!_0x2037b2)return null;const _0x450502=parseA1Ref(_0x2037b2[_0x5c65(0x1c7)]);if(!_0x450502)return null;if(_0x450502[_0x5c65(0x243)]===_0x5c65(0x1f1)){const _0x2ca735=_0x450502['sheet']?_0x56da1c[_0x5c65(0x213)](_0x450502['sheet'])??_0x450502[_0x5c65(0x295)]:_0x11d594;return{'sheet':_0x2ca735,'r1':_0x450502['r'],'c1':_0x450502['c'],'r2':_0x450502['r'],'c2':_0x450502['c']};}const _0x44e461=_0x450502[_0x5c65(0x295)]?_0x56da1c[_0x5c65(0x213)](_0x450502['sheet'])??_0x450502[_0x5c65(0x295)]:_0x11d594;return{'sheet':_0x44e461,'r1':_0x450502['r1'],'c1':_0x450502['c1'],'r2':_0x450502['r2'],'c2':_0x450502['c2']};}:void 0x0,_0x4d645c=_0x2fe013!=null?{'base':_0x2fe013[_0x58a538(0x369)],'main':_0x2fe013[_0x58a538(0x334)],'sub':_0x2fe013[_0x58a538(0x284)],'params':_0x2fe013['params']}:void 0x0;return{'activeSheetId':_0x11d594,'getCell':_0x508775,'getNamed':_0x28c755,'here':_0x18c71c,'fieldCtx':_0x4d645c};}function formulaValueToCellString(_0x369222,_0x37df21,_0x7ff621,_0x34516b){const _0x3ceb54=_0x282282;if(_0x369222['k']==='err')return _0x34516b??'#'+_0x369222['v'][_0x3ceb54(0x184)]['replace']('#','');if(_0x369222['k']===_0x3ceb54(0x1ca))return'';if(_0x369222['k']==='bool')return _0x369222['v']?_0x3ceb54(0x1e0):_0x3ceb54(0x2f1);if(_0x369222['k']==='num'){if(_0x37df21&&_0x7ff621)return formatNumericByMeta(String(_0x369222['v']),_0x7ff621);return String(_0x369222['v']);}if(_0x37df21&&_0x7ff621){const _0x15ba4a=tryParseNumericString(_0x369222['v']);if(_0x15ba4a!=null)return formatNumericByMeta(String(_0x15ba4a),_0x7ff621);}return _0x369222['v'];}function computeWorkbook(_0xec2e9){const _0x1f0afd=_0x282282,_0x1a4000=clone(_0xec2e9['wb']),_0xd56205=clone(_0xec2e9[_0x1f0afd(0x20e)]),_0x4d0927=_0xec2e9[_0x1f0afd(0x2cf)]??_0x1f0afd(0x30c),_0x210c32=_0xec2e9[_0x1f0afd(0x1d9)]?.[_0x1f0afd(0x259)]??_0xec2e9['wb'][_0x1f0afd(0x1d9)]?.[_0x1f0afd(0x259)]??[],_0x370c99=collectReferencedScriptBlockKeys(_0x1a4000,_0xec2e9[_0x1f0afd(0x149)],_0x4d0927),_0x59d14f=_0x370c99[_0x1f0afd(0x15e)]>0x0?_0x210c32[_0x1f0afd(0x1d1)](_0x2321c9=>_0x2321c9?.['key']&&_0x370c99['has'](_0x2321c9[_0x1f0afd(0x2b8)])):_0x210c32,_0x241340=filterScriptBlocksForPass(_0x59d14f,_0x1a4000,_0x4d0927),_0x25af81=_0xec2e9[_0x1f0afd(0x31a)]??_0xec2e9['wb'][_0x1f0afd(0x31a)]??null,_0x2e2ba9=_0xec2e9[_0x1f0afd(0x177)]??normalizeFieldRegistry(_0xec2e9['wb'][_0x1f0afd(0x322)]?.[_0x1f0afd(0x177)]),_0xe62bf2=getAggregateEmptyAs(_0xec2e9['wb'][_0x1f0afd(0x322)]??null),_0x371245={'fieldRegistry':_0x2e2ba9,'aggregateEmptyAs':_0xe62bf2},_0x44d88a=[],_0x438b18=Math[_0x1f0afd(0x218)](0x1,Math[_0x1f0afd(0x257)](0x8,_0xec2e9[_0x1f0afd(0x18c)]??0x3)),_0x3c00dc=new Map();for(const _0x475628 of _0x1a4000[_0x1f0afd(0x21a)])_0x3c00dc[_0x1f0afd(0x167)](_0x475628[_0x1f0afd(0x254)],_0x475628['id']);let _0x25fa54='',_0x4f6719=0x0;for(let _0x1c77e4=0x0;_0x1c77e4<_0x438b18;_0x1c77e4+=0x1){_0x4f6719=_0x1c77e4+0x1;for(let _0x54c8d3=0x0;_0x54c8d3<_0x1a4000[_0x1f0afd(0x21a)][_0x1f0afd(0x296)];_0x54c8d3+=0x1){const _0x359990=_0x1a4000[_0x1f0afd(0x21a)][_0x54c8d3],_0x6bd62c=renderBindingsIntoSheet(_0x1a4000,_0x359990[_0x1f0afd(0x295)],_0x359990['id'],_0xec2e9[_0x1f0afd(0x149)],_0xd56205,_0xec2e9[_0x1f0afd(0x1e9)],_0xec2e9[_0x1f0afd(0x118)],_0xec2e9[_0x1f0afd(0x1cf)],_0xec2e9[_0x1f0afd(0x145)]);if(_0x6bd62c!==_0x359990[_0x1f0afd(0x295)])_0x1a4000[_0x1f0afd(0x21a)][_0x54c8d3]={..._0x359990,'sheet':_0x6bd62c};}const _0x42c163=buildFieldEffectiveOrderMap(_0x1a4000),_0x4467be=collectFieldFormulaWorkItems(_0x1a4000,_0xec2e9[_0x1f0afd(0x149)],_0x42c163,_0x4d0927);for(const _0x82d7cb of _0x4467be){const _0x5b13a3=_0x1a4000[_0x1f0afd(0x21a)][_0x82d7cb[_0x1f0afd(0x174)]],_0x32288d=_0x82d7cb['meta'],_0x1e15c9=_0x82d7cb['key'],_0x432461=_0x5b13a3['sheet'][_0x1f0afd(0x1f0)][_0x1e15c9]??{'value':''},_0x1fc469=deriveLhs(_0x32288d);if(!_0x1fc469){_0x44d88a['push']({'kind':_0x1f0afd(0x14b),'sheetId':_0x5b13a3['id'],'cellKey':_0x1e15c9,'message':'\u65E0\u6CD5\u4ECE\x20binding\x20\u63A8\u5BFC\x20LHS'});continue;}const _0xb76c04=_0x1fc469[_0x1f0afd(0x243)]===_0x1f0afd(0x30a)?{'kind':_0x1f0afd(0x284),'subSchemaId':_0x1fc469[_0x1f0afd(0x325)],'rowIndex':_0x1fc469[_0x1f0afd(0x195)]}:{'kind':_0x1f0afd(0x334)},_0x423447=_0x1fc469[_0x1f0afd(0x243)]===_0x1f0afd(0x369)?{'kind':_0x1f0afd(0x369),'key':_0x1fc469['key']}:_0x1fc469['kind']===_0x1f0afd(0x334)?{'kind':_0x1f0afd(0x334),'key':_0x1fc469['key']}:{'kind':_0x1f0afd(0x30a),'subSchemaId':_0x1fc469['subSchemaId'],'col':_0x1fc469['col']};if(!shouldComputeFieldByInput(_0x32288d,_0x32288d[_0x1f0afd(0x14a)]??'',_0xd56205,_0xb76c04,_0x423447)){assignFieldValue(_0xd56205,_0x1fc469,null),writeCellValue(_0x5b13a3[_0x1f0afd(0x295)],_0x1e15c9,'',_0x432461);continue;}const _0xe1b428=lhsToRoundingTarget(_0x1fc469),_0x258242=runFieldFormula(_0x32288d[_0x1f0afd(0x14a)]??'',_0xd56205,_0xb76c04,{..._0x371245,'currentTarget':_0xe1b428});if(!_0x258242['ok']){_0x44d88a[_0x1f0afd(0x1a5)]({'kind':_0x1f0afd(0x14b),'sheetId':_0x5b13a3['id'],'cellKey':_0x1e15c9,'message':_0x258242[_0x1f0afd(0x2cd)]}),writeCellValue(_0x5b13a3['sheet'],_0x1e15c9,_0x32288d[_0x1f0afd(0x197)]??_0x1f0afd(0x1cb),_0x432461);continue;}const _0x3e8572=applyFieldRoundingForStore(_0x258242['v'],_0x2e2ba9,_0x1fc469,{'roundAfter':_0x32288d[_0x1f0afd(0x1f3)]});assignFieldValue(_0xd56205,_0x1fc469,_0x3e8572);const _0x359ed2=valueToString(_0x3e8572),_0x4211f8=_0x32288d['roundAfter']!==![]?formatNumericByMeta(_0x359ed2,getRoundingForCompute(_0x32288d)):_0x359ed2;writeCellValue(_0x5b13a3[_0x1f0afd(0x295)],_0x1e15c9,_0x4211f8,_0x432461);}if(_0x1c77e4===0x0)for(const _0x514a58 of _0x241340){if(!_0x514a58||!_0x514a58[_0x1f0afd(0x14a)])continue;if(_0x514a58['scope']==='subRow'){const _0x5c3e4b=Number(_0x514a58[_0x1f0afd(0x325)]);if(!Number[_0x1f0afd(0x135)](_0x5c3e4b)||_0x5c3e4b<0x1){_0x44d88a[_0x1f0afd(0x1a5)]({'kind':_0x1f0afd(0x1b2),'blockKey':_0x514a58[_0x1f0afd(0x2b8)],'message':_0x1f0afd(0x2aa)});continue;}const _0x39391d=_0xd56205[_0x1f0afd(0x284)][_0x5c3e4b]??[],_0x39c3c8=resolveSubRowStatKey(_0x2e2ba9,_0x5c3e4b),_0x4cf974=activeSubRowIndices(_0x39391d,_0x39c3c8);if(_0x4cf974['length']===0x0){const _0x558e47=runScriptBlock(_0x514a58,_0xd56205,0x0,_0x371245);!_0x558e47['ok']&&_0x44d88a[_0x1f0afd(0x1a5)]({'kind':'script','blockKey':_0x514a58[_0x1f0afd(0x2b8)],'message':_0x558e47[_0x1f0afd(0x2cd)]});continue;}for(const _0x3b6836 of _0x4cf974){const _0x1385da=runScriptBlock(_0x514a58,_0xd56205,_0x3b6836,_0x371245);!_0x1385da['ok']&&_0x44d88a['push']({'kind':_0x1f0afd(0x1b2),'blockKey':_0x514a58[_0x1f0afd(0x2b8)],'message':'行\x20'+_0x3b6836+':\x20'+_0x1385da[_0x1f0afd(0x2cd)]});}continue;}const _0x1ded5c=runScriptBlock(_0x514a58,_0xd56205,void 0x0,_0x371245);!_0x1ded5c['ok']&&_0x44d88a[_0x1f0afd(0x1a5)]({'kind':'script','blockKey':_0x514a58[_0x1f0afd(0x2b8)],'message':_0x1ded5c[_0x1f0afd(0x2cd)]});}for(let _0x1af37b=0x0;_0x1af37b<_0x1a4000['sheets'][_0x1f0afd(0x296)];_0x1af37b+=0x1){const _0x46159f=_0x1a4000[_0x1f0afd(0x21a)][_0x1af37b],_0x25c642=renderBindingsIntoSheet(_0x1a4000,_0x46159f[_0x1f0afd(0x295)],_0x46159f['id'],_0xec2e9[_0x1f0afd(0x149)],_0xd56205,_0xec2e9[_0x1f0afd(0x1e9)],_0xec2e9[_0x1f0afd(0x118)],_0xec2e9['renderContextBySheet'],_0xec2e9['systemParamsProvider']);if(_0x25c642!==_0x46159f[_0x1f0afd(0x295)])_0x1a4000[_0x1f0afd(0x21a)][_0x1af37b]={..._0x46159f,'sheet':_0x25c642};}const _0x2c6aa5=collectGridFormulas({..._0xec2e9,'wb':_0x1a4000}),{graph:_0x50c4f8,key2fi:_0x5735bc}=buildGridDepGraph(_0x2c6aa5,_0x3c00dc),{order:_0x50cd08,cyclic:_0x312d50}=_0x50c4f8['topoSort']();for(const _0x28fa55 of _0x50cd08){const _0x42a12d=_0x5735bc['get'](_0x28fa55);if(_0x42a12d==null)continue;const _0x180d08=_0x2c6aa5[_0x42a12d];if(!_0x180d08[_0x1f0afd(0x32e)]){writeGridCell(_0x1a4000,_0x180d08,_0x180d08[_0x1f0afd(0x322)]?.['errorText']??_0x1f0afd(0x1cb)),_0x44d88a[_0x1f0afd(0x1a5)]({'kind':'grid','sheetId':_0x180d08[_0x1f0afd(0x370)],'cellKey':_0x4f1eb4(_0x180d08['r'],_0x180d08['c']),'message':_0x180d08[_0x1f0afd(0x178)]??_0x1f0afd(0x30e)});continue;}const _0x209bb0=makeEvalContext(_0x1a4000,_0x3c00dc,_0x180d08[_0x1f0afd(0x370)],_0x25af81,{'sheetId':_0x180d08[_0x1f0afd(0x370)],'r':_0x180d08['r'],'c':_0x180d08['c']},_0xd56205),_0x194b89=evaluate(_0x180d08['ast'],_0x209bb0),_0x151bab=_0x194b89['k']===_0x1f0afd(0x2ea)?_0x194b89[_0x1f0afd(0x13b)][0x0]?.[0x0]??V_NULL:_0x194b89,_0xac3d74=formulaValueToCellString(_0x151bab,_0x180d08['meta']?.['roundAfter']!==![],getRoundingForCompute(_0x180d08[_0x1f0afd(0x322)]),_0x180d08['meta']?.[_0x1f0afd(0x197)]);writeGridCell(_0x1a4000,_0x180d08,_0xac3d74);}for(const _0x339b8e of _0x312d50){const _0x18bd8d=_0x5735bc[_0x1f0afd(0x213)](_0x339b8e);if(_0x18bd8d==null)continue;const _0x44b980=_0x2c6aa5[_0x18bd8d];writeGridCell(_0x1a4000,_0x44b980,_0x44b980['meta']?.[_0x1f0afd(0x197)]??_0x1f0afd(0x2a5)),_0x44d88a[_0x1f0afd(0x1a5)]({'kind':_0x1f0afd(0x312),'sheetId':_0x44b980[_0x1f0afd(0x370)],'cellKey':_0x4f1eb4(_0x44b980['r'],_0x44b980['c']),'message':_0x1f0afd(0x156)});}const _0x427967=workbookSignature(_0x1a4000);if(_0x427967===_0x25fa54)break;_0x25fa54=_0x427967;}if(_0xec2e9[_0x1f0afd(0x354)]){const _0x5b7c10={'grid':0x0,'field':0x0,'script':0x0};for(const _0xc904bb of _0x44d88a){if(_0xc904bb[_0x1f0afd(0x243)]==='grid')_0x5b7c10[_0x1f0afd(0x312)]+=0x1;else{if(_0xc904bb[_0x1f0afd(0x243)]==='field')_0x5b7c10[_0x1f0afd(0x14b)]+=0x1;else{if(_0xc904bb['kind']===_0x1f0afd(0x1b2))_0x5b7c10[_0x1f0afd(0x1b2)]+=0x1;}}}_0xec2e9[_0x1f0afd(0x354)](_0x1f0afd(0x32b),{'iterations':_0x4f6719,'issueCount':_0x44d88a[_0x1f0afd(0x296)],'byKind':_0x5b7c10,'issues':_0x44d88a[_0x1f0afd(0x28b)](0x0,0x19)});}return{'wb':_0x1a4000,'fieldData':_0xd56205,'issues':_0x44d88a,'iterations':_0x4f6719};}function writeCellValue(_0x266fda,_0x489271,_0x5ec1c9,_0x24cb3d){const _0x47d407=_0x282282;if(_0x24cb3d['value']===_0x5ec1c9)return;_0x266fda[_0x47d407(0x1f0)][_0x489271]={..._0x24cb3d,'value':_0x5ec1c9};}function writeGridCell(_0x35a9f7,_0x17b064,_0x141a21){const _0x1bc9fa=_0x282282,_0x59e336=_0x35a9f7[_0x1bc9fa(0x21a)][_0x1bc9fa(0x255)](_0x192da=>_0x192da['id']===_0x17b064['sheetId']);if(_0x59e336<0x0)return;const _0x45ea2d=_0x35a9f7['sheets'][_0x59e336],_0xc36439=_0x4f1eb4(_0x17b064['r'],_0x17b064['c']),_0x503287=_0x45ea2d[_0x1bc9fa(0x295)]['cells'][_0xc36439]??{'value':''};if(_0x503287['value']===_0x141a21)return;const _0x5c0b48={..._0x45ea2d[_0x1bc9fa(0x295)][_0x1bc9fa(0x1f0)],[_0xc36439]:{..._0x503287,'value':_0x141a21}};_0x35a9f7[_0x1bc9fa(0x21a)][_0x59e336]={..._0x45ea2d,'sheet':{..._0x45ea2d[_0x1bc9fa(0x295)],'cells':_0x5c0b48}};}function workbookSignature(_0xff282c){const _0x501b93=_0x282282,_0x339f64=[];for(const _0x312338 of _0xff282c['sheets']){_0x339f64[_0x501b93(0x1a5)]('#'+_0x312338['id']);for(const [_0x168dc6,_0x543a1f]of Object['entries'](_0x312338[_0x501b93(0x295)]['cells'])){const _0x4237bf=_0x543a1f[_0x501b93(0x364)]??'';if(_0x4237bf!=='')_0x339f64['push'](_0x168dc6+'='+_0x4237bf);}}return _0x339f64[_0x501b93(0x14f)]('|');}function hasAnyFormulaMeta(_0x25b88c){const _0x169cd8=_0x282282;if(!_0x25b88c)return![];for(const _0x4a4263 of Object[_0x169cd8(0x2b4)](_0x25b88c)){if(_0x4a4263&&typeof _0x4a4263===_0x169cd8(0x201)&&!Array[_0x169cd8(0x2c4)](_0x4a4263)){const _0x19b132=_0x4a4263[_0x169cd8(0x13a)];if(_0x19b132==='grid'||_0x19b132===_0x169cd8(0x14b)||_0x19b132===_0x169cd8(0x1b2))return!![];}}return![];}function hasAnyMultiboundField(_0x286607){const _0x3a9919=_0x282282;if(!_0x286607)return![];const _0x13e061=new Set(),_0x41e43b=new Set(),_0x147495=new Set();for(const _0x44b98e of Object[_0x3a9919(0x2b4)](_0x286607)){if(!_0x44b98e||typeof _0x44b98e!==_0x3a9919(0x201)||Array[_0x3a9919(0x2c4)](_0x44b98e))continue;const _0x19936d=_0x44b98e,_0x1dd238=(_0x19936d['fieldCode']??'')[_0x3a9919(0x335)]();if(!_0x1dd238)continue;if(_0x19936d[_0x3a9919(0x352)]===_0x3a9919(0x179)){if(_0x13e061[_0x3a9919(0x32c)](_0x1dd238))return!![];_0x13e061[_0x3a9919(0x35e)](_0x1dd238);}else{if(_0x19936d[_0x3a9919(0x352)]==='basicField'){if(_0x41e43b[_0x3a9919(0x32c)](_0x1dd238))return!![];_0x41e43b[_0x3a9919(0x35e)](_0x1dd238);}else{if(_0x19936d[_0x3a9919(0x352)]==='subField'){const _0x320f63=Number(_0x19936d[_0x3a9919(0x325)]);if(!Number[_0x3a9919(0x135)](_0x320f63))continue;const _0x51b592=typeof _0x19936d[_0x3a9919(0x162)]===_0x3a9919(0x24a)?_0x19936d[_0x3a9919(0x162)]:-0x1,_0x4eb11a=_0x320f63+'|'+_0x1dd238+'|'+_0x51b592;if(_0x147495[_0x3a9919(0x32c)](_0x4eb11a))return!![];_0x147495['add'](_0x4eb11a);}}}}return![];}function hasAnyGridFormula(_0x4afb97){const _0xbe85d9=_0x282282;for(const _0x286b97 of _0x4afb97[_0xbe85d9(0x21a)]){for(const _0x293e06 of Object['values'](_0x286b97[_0xbe85d9(0x295)][_0xbe85d9(0x1f0)])){if(_0x293e06&&typeof _0x293e06===_0xbe85d9(0x201)){const _0x431e00=_0x293e06['f'];if(_0x431e00&&typeof _0x431e00===_0xbe85d9(0x347)&&_0x431e00[_0xbe85d9(0x335)]()[_0xbe85d9(0x223)]('='))return!![];}}}return![];}function hasAnySystemParamBinding(_0x43cedf){const _0x397ec2=_0x282282;if(!_0x43cedf)return![];for(const _0x59d323 of Object['values'](_0x43cedf)){if(_0x59d323&&typeof _0x59d323===_0x397ec2(0x201)&&!Array['isArray'](_0x59d323)){if(_0x59d323[_0x397ec2(0x352)]===_0x397ec2(0x32d))return!![];}}return![];}function computeWorkbookIncremental(_0x1ee22d){const _0x3d4129=_0x282282;if(!hasAnyFormulaMeta(_0x1ee22d['cellMeta'])&&!hasAnyGridFormula(_0x1ee22d['wb'])&&!hasAnyMultiboundField(_0x1ee22d[_0x3d4129(0x149)])&&!hasAnySystemParamBinding(_0x1ee22d['cellMeta'])&&!(_0x1ee22d['wb'][_0x3d4129(0x1d9)]&&_0x1ee22d['wb'][_0x3d4129(0x1d9)][_0x3d4129(0x259)]?.[_0x3d4129(0x296)]))return{'wb':_0x1ee22d['wb'],'fieldData':_0x1ee22d['fieldData'],'issues':[],'iterations':0x0};return computeWorkbook({..._0x1ee22d,'maxIterations':_0x1ee22d[_0x3d4129(0x18c)]??0x2,'computePass':_0x3d4129(0x2af)});}var SHEET_CORE_PACKAGE=_0x282282(0x19d);export{BUILTIN_PARAM_CATALOG_CODES,CHROME_GUTTER_COL_WIDTH_PX,CHROME_GUTTER_ROW_HEIGHT_PX,CREATION_MODE,CSS_PX_PER_INCH,DEFAULT_COMPUTE_POLICY,DEFAULT_FONT_SIZE_PT,DEFAULT_IMPORT_OPTIONS,DESIGN_FIELD_SHORTHAND_SKILLS,DICT_CATALOG_META_KEY,DICT_OVERLAYS_BY_USER_KEY,DRAFT_KIND,DepGraph,EXCEL_COL_DIGIT_WIDTH_PX,EXCEL_COL_PADDING_PX,EXCEL_DEFAULT_COL_WIDTH_CHAR,EXCEL_DEFAULT_ROW_HEIGHT_PT,FORMULA_RUN_WHEN_LABELS,FUNCTIONS,INSTANCE_DATA_SCHEMA_V2,INSTANCE_DATA_SCHEMA_V3,LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS,MAX_FONT_SIZE_PT,MIN_FONT_SIZE_PT,MIN_SHRINK_FONT_PT,MM_PER_INCH,MergeIndex,Parser,ROUNDING_LAYER_ORDER,ROUNDING_WHEN_LABELS,ROUND_MODE_LETTER_MAP,RUNTIME_COMPUTED_SYSTEM_PARAM_CODES,RUNTIME_ONLY_SYSTEM_PARAM_CODES,SHEET_COLOR_ROW_STANDARD,SHEET_COLOR_ROW_THEME,SHEET_CORE_PACKAGE,SHEET_FONT_OPTIONS,SHRINK_LINE_HEIGHT,SNAPSHOT_KIND,SPLICE_COLUMN_MODE,SUBTABLE_SLOT_BINDING_SKILLS,SjsCycleError,SjsError,TEMPLATE_DICT_CATALOG_VERSION,TEMPLATE_FIELD_REGISTRY_VERSION,TEMPLATE_WORKBOOK_JSON_VERSION,V_NULL,WORKBOOK_META_BUSINESS_SHEET_PROFILES,WORKBOOK_META_INHERIT_SOURCE_BASE_SNAPSHOT_ROW_ID,activeSubRowIndices,applyBorderPresetToSheet,applyFieldRoundingForStore,applyNumericRounding,applyReportHeaderFooterTemplate,applyRounding,applyRoundingForInstancePlain,applySignatureResultsToEmbedStates,buildActiveSubRowCounts,buildFieldRunContext,buildFormulaStdLib,buildHeaderFooterTemplateWorkbook,buildPastePatches,buildRoundingLayers,buildSignatureWorkflow,buildSpliceDiagnostics,catalogEntryNodeId,catalogEntryRunWhen,cellMetaCompoundKey,clampFontSizePt,clampZoom,cloneFieldRegistry,coerceBool,coerceNum,coerceStr,colIndexToLetters,collectReferencedRoots,columnIndexToLetters,columnLettersToIndex,comboDataFromRoot,compileFormulaAssignment,computeFillPreviewSelection,computeFitScale,computeWorkbook,computeWorkbookIncremental,countActiveSubRows,cssOneCmToCssPx,cssPxToCm,cssPxToFontSizePt,cssPxToPt,defaultPageSettings,describeDictKind,describeRoundingWhenPreset,detectFillExtension,detectGridLayoutMode,emptyFieldPackV2,emptyFieldRegistry,emptyFormulaCatalog,enrichParamsForFieldRuntime,evaluate,excelColWidthToPx,excelRowHeightPtToPx,expandFieldTokens,expandReportSlotPages,expandSystemParamTemplate,extensionStripRect,extractBaseFieldDefsFromWorkbookEnvelope,extractFormulaDeps,extractHeaderFooterStrips,extractRowInputFields,fieldPackFromRoot,fieldPartitionKey,fitSheetDataGridToPage,fontSizePtToCssPx,forEachArrayValue,formatA1,formatA1Range,formatA1Single,formatFieldTypeShorthand,formatNumericByMeta,formatSelectionA1,getAggregateEmptyAs,getColWidth,getFieldRegistryFromMeta,getFormulaCatalogFromMeta,getRoundingForCommit,getRoundingForComputeMeta,getRoundingMetaFromCellMetaEntry,getRowHeight,getWorkbookComputePolicy,getWorkbookDerivedRules,gridColumnIndexToLetters,gridNodeId,guessSheetFontIdFromCssFontFamily,hasEmbedsToPaint,hydrateSheetFieldData,hydrateWorkbookFieldData,indexFieldRegistry,injectBaseFieldRegistryIntoWorkbookEnvelope,isComboInstanceDataV3,isErr,isFieldRegistryRecord,isInstanceFieldPackV2,isKnownSystemParamId,isLegacyInstanceDataV1,isRuntimeComputedSystemParam,isSubColumnPresent,isSubFieldRichPersist,jsPdfFormat,jsPdfOrientation,layoutFontCss,layoutLinesForCellM,lettersToColIndex,lhsToRoundingTarget,listKnownSystemParamIdsForTemplate,listTemplateSystemParamTokenEntries,lockFillAxis,mainFieldNodeId,marginsCmToMm,marginsCmToPt,matrixToTsv,mergeBakedFieldRegistry,mergeBaseFieldPartition,mergeInstanceDataJsonWithLogicalState,mergeInstanceDataJsonWithSubTables,mergeRoundingOverrideLayers,mergeSubFieldCellFromAccValue,mergeSystemAndUserParams,mmToCssPx,newDerivedRuleId,nextPendingSignature,normSelectionRect,normalizeComputePolicy,normalizeDerivedRules,normalizeFieldDef,normalizeFieldKey,normalizeFieldRegistry,normalizeFormulaCatalog,normalizeFormulaRunWhen,normalizePageSettings,normalizeRect,normalizeRoundingTriggers,normalizeSheetToCompactGrid,normalizeSubFieldDef,normalizeSubFieldSlotForFormula,normalizeSystemParamId,pageAtRuleCss,paginateReportRows,paperSizeMm,paperSizeMmFromPage,paperSizeMmRaw,parseA1,parseA1Cell,parseA1OrRangeToSelection,parseA1Ref,parseA1Single,parseCellMetaCompoundKey,parseFieldPath,parseFieldRegistryFromCapabilities,parseFieldTypeSpec,parseFormula,parseGridRcAddress,parseInstanceDataRoot,parseInstanceSubTables,parseInternalR1C1Ref,parseLogicalState,parseRoundingJson,parseSjsExpr,parseSjsProgram,parseWorkbookJson,physicalPaperSizeMmFromPage,pickLogicalStateFromRoot,presetToTriggers,printableSizeCssPx,printableSizeMm,ptToCssPx,pxToExcelColWidth,pxToExcelRowHeightPt,readSelectionAsTsv,rectContains,rectsOverlap,rescaleReportSheet,rescaleReportWorkbook,resolveBaseFieldDefsFromBaseSource,resolveFieldDefRegisterMode,resolveInputDeps,resolveRoundingForTarget,resolveRoundingFromFieldPath,resolveSheetLogicalPage,resolveSubRowStatKey,roundFinite,roundToInterval,roundToSignificant,roundingForCompute,runSjs,runSjsExpr,runWhenToStorage,scaleWidthsProportional,scriptNodeId,selectionIsUnmergedRectangle,serializeFieldPackV2,serializeWorkbook,setFieldRegistryOnMeta,sheetDataColWidthPx,sheetDataGridHeightPx,sheetDataGridWidthPx,sheetDataRegion,sheetDataRowHeightPx,sheetFontFamilyCss,sheetFontFamilyExcelName,sheetPrintFitScale,shouldComputeFieldByInput,shouldRunFieldFormula,shouldRunScriptBlock,signatureResultsFromEmbedStates,signatureSpecsFromEmbeds,sjsTokenize,sliceRectangles,splitBindingAndTypeSuffix,stripFieldPrefix,stripRuntimeComputedUserParams,subFieldNodeId,subFieldPersistValueFromCell,targetRectFromExtension,targetToOverrideKey,templateContainsSystemParamTokens,toA1,tokenize,triggersToPreset,tryParseNumericString,tsvToMatrix,vBool,vErr,vNum,vStr,wrapTextToWidthM};
1
+ const _0xda391e=_0x3ab1;(function(_0x331997,_0x17721b){const _0x45025f=_0x3ab1,_0x16e24a=_0x331997();while(!![]){try{const _0x4bc376=-parseInt(_0x45025f(0x430))/0x1*(-parseInt(_0x45025f(0x3bb))/0x2)+parseInt(_0x45025f(0x29e))/0x3*(-parseInt(_0x45025f(0x2a2))/0x4)+-parseInt(_0x45025f(0x26c))/0x5*(parseInt(_0x45025f(0x402))/0x6)+parseInt(_0x45025f(0x35d))/0x7*(-parseInt(_0x45025f(0x357))/0x8)+-parseInt(_0x45025f(0x25e))/0x9+-parseInt(_0x45025f(0x345))/0xa*(-parseInt(_0x45025f(0x371))/0xb)+parseInt(_0x45025f(0x202))/0xc*(parseInt(_0x45025f(0x2aa))/0xd);if(_0x4bc376===_0x17721b)break;else _0x16e24a['push'](_0x16e24a['shift']());}catch(_0x71c143){_0x16e24a['push'](_0x16e24a['shift']());}}}(_0x188b,0xc2cf1));import{cellKey,migrateWorkbook}from'./chunk-FRYFH3X6.js';export{SHEET_ENGINE_CONFIG,cellKey,createDefaultPage,createEmptySheet,createEmptyWorkbook,fillSparseDemoCells,parseCellKey}from'./chunk-FRYFH3X6.js';import{cellKey as _0x13100c,parseCellKey}from'./chunk-2Z7KMZEW.js';function clampZoom(_0x1a8e90){const _0x501575=_0x3ab1;return Math[_0x501575(0x44d)](2.5,Math[_0x501575(0x206)](0.25,_0x1a8e90));}function colIndexToLetters(_0x1f7caa){const _0x3fa7e4=_0x3ab1;if(_0x1f7caa<0x0||!Number['isInteger'](_0x1f7caa))throw new Error(_0x3fa7e4(0x314)+_0x1f7caa);let _0xd085a5=_0x1f7caa+0x1,_0x84bae4='';while(_0xd085a5>0x0){const _0x32bf1c=(_0xd085a5-0x1)%0x1a;_0x84bae4=String[_0x3fa7e4(0x43b)](0x41+_0x32bf1c)+_0x84bae4,_0xd085a5=Math[_0x3fa7e4(0x207)]((_0xd085a5-0x1)/0x1a);}return _0x84bae4;}function lettersToColIndex(_0x2ff260){const _0x3c78c5=_0x3ab1,_0x55e323=_0x2ff260[_0x3c78c5(0x33d)]()[_0x3c78c5(0x235)]();if(!/^[A-Z]+$/[_0x3c78c5(0x243)](_0x55e323))throw new Error(_0x3c78c5(0x3a0)+_0x2ff260);let _0x5d0fc1=0x0;for(const _0x3dfc60 of _0x55e323){_0x5d0fc1=_0x5d0fc1*0x1a+(_0x3dfc60[_0x3c78c5(0x2ad)](0x0)-0x40);}return _0x5d0fc1-0x1;}function toA1(_0x404e04,_0x1ecc27){return''+colIndexToLetters(_0x1ecc27)+(_0x404e04+0x1);}function parseA1(_0x217404){const _0x17c467=_0x3ab1,_0x1e7bce=_0x217404[_0x17c467(0x33d)]()[_0x17c467(0x235)]()[_0x17c467(0x3fe)](/^([A-Z]+)(\d+)$/);if(!_0x1e7bce)throw new Error('Invalid\x20A1\x20reference:\x20'+_0x217404);const _0x1ab60f=Number(_0x1e7bce[0x2]);if(!Number['isFinite'](_0x1ab60f)||_0x1ab60f<0x1)throw new Error(_0x17c467(0x226)+_0x217404);return{'r':_0x1ab60f-0x1,'c':lettersToColIndex(_0x1e7bce[0x1])};}function normalizeRect(_0x1d2bcf,_0x5627d2,_0x175c9d,_0x3cf35e){const _0x42041b=_0x3ab1;return{'r1':Math[_0x42041b(0x44d)](_0x1d2bcf,_0x175c9d),'c1':Math[_0x42041b(0x44d)](_0x5627d2,_0x3cf35e),'r2':Math['max'](_0x1d2bcf,_0x175c9d),'c2':Math[_0x42041b(0x206)](_0x5627d2,_0x3cf35e)};}function rectContains(_0x3e370b,_0x3580dc,_0x2e1439){return _0x3580dc>=_0x3e370b['r1']&&_0x3580dc<=_0x3e370b['r2']&&_0x2e1439>=_0x3e370b['c1']&&_0x2e1439<=_0x3e370b['c2'];}function rectsOverlap(_0x433002,_0x32878e){const _0x3f887d=normalizeRect(_0x433002['r1'],_0x433002['c1'],_0x433002['r2'],_0x433002['c2']),_0x49f1a4=normalizeRect(_0x32878e['r1'],_0x32878e['c1'],_0x32878e['r2'],_0x32878e['c2']);return!(_0x3f887d['r2']<_0x49f1a4['r1']||_0x49f1a4['r2']<_0x3f887d['r1']||_0x3f887d['c2']<_0x49f1a4['c1']||_0x49f1a4['c2']<_0x3f887d['c1']);}function normSelectionRect(_0x38f04b){return normalizeRect(_0x38f04b['r1'],_0x38f04b['c1'],_0x38f04b['r2'],_0x38f04b['c2']);}function detectFillExtension(_0x1ea34d,_0x1c5fa5){const _0x8e7342=_0x3ab1,_0x1807da=normSelectionRect(_0x1ea34d),_0x4e7860=normSelectionRect(_0x1c5fa5),_0x1cdfc0=_0x4e7860['r2']>_0x1807da['r2']&&_0x4e7860['c1']===_0x1807da['c1']&&_0x4e7860['c2']===_0x1807da['c2']&&_0x4e7860['r1']===_0x1807da['r1'],_0x53c932=_0x4e7860['r1']<_0x1807da['r1']&&_0x4e7860['c1']===_0x1807da['c1']&&_0x4e7860['c2']===_0x1807da['c2']&&_0x4e7860['r2']===_0x1807da['r2'],_0x3b1089=_0x4e7860['c2']>_0x1807da['c2']&&_0x4e7860['r1']===_0x1807da['r1']&&_0x4e7860['r2']===_0x1807da['r2']&&_0x4e7860['c1']===_0x1807da['c1'],_0x337813=_0x4e7860['c1']<_0x1807da['c1']&&_0x4e7860['r1']===_0x1807da['r1']&&_0x4e7860['r2']===_0x1807da['r2']&&_0x4e7860['c2']===_0x1807da['c2'];if(_0x1cdfc0)return{'dir':_0x8e7342(0x321),'n':_0x4e7860['r2']-_0x1807da['r2']};if(_0x53c932)return{'dir':'up','n':_0x1807da['r1']-_0x4e7860['r1']};if(_0x3b1089)return{'dir':'right','n':_0x4e7860['c2']-_0x1807da['c2']};if(_0x337813)return{'dir':_0x8e7342(0x3c4),'n':_0x1807da['c1']-_0x4e7860['c1']};return null;}function extensionStripRect(_0x469ae8,_0x4e337c){const _0xea408a=_0x3ab1;switch(_0x4e337c['dir']){case'down':return{'r1':_0x469ae8['r2']+0x1,'c1':_0x469ae8['c1'],'r2':_0x469ae8['r2']+_0x4e337c['n'],'c2':_0x469ae8['c2']};case'up':return{'r1':_0x469ae8['r1']-_0x4e337c['n'],'c1':_0x469ae8['c1'],'r2':_0x469ae8['r1']-0x1,'c2':_0x469ae8['c2']};case'right':return{'r1':_0x469ae8['r1'],'c1':_0x469ae8['c2']+0x1,'r2':_0x469ae8['r2'],'c2':_0x469ae8['c2']+_0x4e337c['n']};case _0xea408a(0x3c4):return{'r1':_0x469ae8['r1'],'c1':_0x469ae8['c1']-_0x4e337c['n'],'r2':_0x469ae8['r2'],'c2':_0x469ae8['c1']-0x1};default:return{'r1':_0x469ae8['r1'],'c1':_0x469ae8['c1'],'r2':_0x469ae8['r2'],'c2':_0x469ae8['c2']};}}function targetRectFromExtension(_0x343c82,_0x980a32){const _0x5dc9aa=_0x3ab1;switch(_0x980a32[_0x5dc9aa(0x31f)]){case _0x5dc9aa(0x321):return{'r1':_0x343c82['r1'],'c1':_0x343c82['c1'],'r2':_0x343c82['r2']+_0x980a32['n'],'c2':_0x343c82['c2']};case'up':return{'r1':_0x343c82['r1']-_0x980a32['n'],'c1':_0x343c82['c1'],'r2':_0x343c82['r2'],'c2':_0x343c82['c2']};case _0x5dc9aa(0x1fa):return{'r1':_0x343c82['r1'],'c1':_0x343c82['c1'],'r2':_0x343c82['r2'],'c2':_0x343c82['c2']+_0x980a32['n']};case _0x5dc9aa(0x3c4):return{'r1':_0x343c82['r1'],'c1':_0x343c82['c1']-_0x980a32['n'],'r2':_0x343c82['r2'],'c2':_0x343c82['c2']};}}function computeFillPreviewSelection(_0x27c763,_0xc63b61,_0x6a51ec,_0x530e86){const _0x5cdc7f=_0x3ab1,_0x58a51b=normSelectionRect(_0x27c763);if(_0xc63b61===_0x5cdc7f(0x233)){if(_0x6a51ec>_0x58a51b['r2'])return{'r1':_0x58a51b['r1'],'c1':_0x58a51b['c1'],'r2':_0x6a51ec,'c2':_0x58a51b['c2']};if(_0x6a51ec<_0x58a51b['r1'])return{'r1':_0x6a51ec,'c1':_0x58a51b['c1'],'r2':_0x58a51b['r2'],'c2':_0x58a51b['c2']};return{'r1':_0x58a51b['r1'],'c1':_0x58a51b['c1'],'r2':_0x58a51b['r2'],'c2':_0x58a51b['c2']};}if(_0x530e86>_0x58a51b['c2'])return{'r1':_0x58a51b['r1'],'c1':_0x58a51b['c1'],'r2':_0x58a51b['r2'],'c2':_0x530e86};if(_0x530e86<_0x58a51b['c1'])return{'r1':_0x58a51b['r1'],'c1':_0x530e86,'r2':_0x58a51b['r2'],'c2':_0x58a51b['c2']};return{'r1':_0x58a51b['r1'],'c1':_0x58a51b['c1'],'r2':_0x58a51b['r2'],'c2':_0x58a51b['c2']};}function lockFillAxis(_0x1c0ad5,_0x1eb8be){const _0x2e3f71=_0x3ab1;if(Math[_0x2e3f71(0x21d)](_0x1eb8be)>Math[_0x2e3f71(0x21d)](_0x1c0ad5))return'col';return'row';}function emptyFormulaCatalog(){const _0x3c264d=_0x3ab1;return{'v':0x1,'entries':[],'orderMode':_0x3c264d(0x434)};}function getFormulaCatalogFromMeta(_0x462314){const _0x598488=_0x3ab1;if(_0x462314?.[_0x598488(0x2fe)]&&typeof _0x462314['formulaCatalog']===_0x598488(0x442)){const _0x253ff2=_0x462314[_0x598488(0x2fe)];if(_0x253ff2['v']===0x1&&Array[_0x598488(0x294)](_0x253ff2[_0x598488(0x24f)]))return _0x253ff2;}return emptyFormulaCatalog();}function normalizeFormulaCatalog(_0x310e1a){const _0x2267b1=_0x3ab1;if(_0x310e1a==null||typeof _0x310e1a!==_0x2267b1(0x442))return null;const _0x3034ba=_0x310e1a;if(_0x3034ba['v']!==0x1||!Array[_0x2267b1(0x294)](_0x3034ba[_0x2267b1(0x24f)]))return null;const _0x400aab=[];for(const _0x349ea7 of _0x3034ba[_0x2267b1(0x24f)]){if(_0x349ea7==null||typeof _0x349ea7!==_0x2267b1(0x442))continue;const _0x5da62b=_0x349ea7,_0xb609b4=typeof _0x5da62b['id']==='string'?_0x5da62b['id'][_0x2267b1(0x33d)]():'',_0x3f3117=_0x5da62b[_0x2267b1(0x2ec)],_0x4568dc=typeof _0x5da62b[_0x2267b1(0x32b)]===_0x2267b1(0x411)?_0x5da62b[_0x2267b1(0x32b)]:'';if(!_0xb609b4||_0x3f3117!==_0x2267b1(0x2c0)&&_0x3f3117!==_0x2267b1(0x2d5)&&_0x3f3117!=='gridRef')continue;_0x400aab[_0x2267b1(0x3d3)]({'id':_0xb609b4,'kind':_0x3f3117,'source':_0x4568dc,'assignment':typeof _0x5da62b[_0x2267b1(0x343)]===_0x2267b1(0x411)?_0x5da62b[_0x2267b1(0x343)]:void 0x0,'enabled':_0x5da62b['enabled']!==![],'orderPinned':_0x5da62b[_0x2267b1(0x426)]===!![],'effectiveOrder':typeof _0x5da62b[_0x2267b1(0x337)]===_0x2267b1(0x3c8)?_0x5da62b[_0x2267b1(0x337)]:void 0x0,'errorText':typeof _0x5da62b['errorText']===_0x2267b1(0x411)?_0x5da62b[_0x2267b1(0x1e8)]:void 0x0,'scriptBlockKey':typeof _0x5da62b[_0x2267b1(0x27a)]===_0x2267b1(0x411)?_0x5da62b[_0x2267b1(0x27a)]:void 0x0,'triggers':Array[_0x2267b1(0x294)](_0x5da62b[_0x2267b1(0x248)])?_0x5da62b[_0x2267b1(0x248)]['filter'](_0x34fff8=>_0x34fff8===_0x2267b1(0x35b)||_0x34fff8===_0x2267b1(0x30e)):void 0x0,'runWhen':_0x5da62b['runWhen']===_0x2267b1(0x356)||_0x5da62b[_0x2267b1(0x2d4)]===_0x2267b1(0x434)?_0x5da62b['runWhen']:void 0x0,'inputWhen':_0x5da62b[_0x2267b1(0x352)]==='anyPresent'||_0x5da62b[_0x2267b1(0x352)]===_0x2267b1(0x362)||_0x5da62b['inputWhen']===_0x2267b1(0x3af)?_0x5da62b[_0x2267b1(0x352)]:void 0x0,'inputFields':Array[_0x2267b1(0x294)](_0x5da62b[_0x2267b1(0x440)])?_0x5da62b[_0x2267b1(0x440)]['filter'](_0x56c7b2=>typeof _0x56c7b2==='string'&&_0x56c7b2[_0x2267b1(0x33d)]()[_0x2267b1(0x33a)]>0x0):void 0x0,'target':_0x5da62b[_0x2267b1(0x2ca)]!=null&&typeof _0x5da62b[_0x2267b1(0x2ca)]===_0x2267b1(0x442)?_0x5da62b['target']:void 0x0});}return{'v':0x1,'entries':_0x400aab,'orderMode':_0x3034ba[_0x2267b1(0x1e9)]===_0x2267b1(0x208)?_0x2267b1(0x208):_0x2267b1(0x434)};}function randomUuid(){const _0x1b358d=_0x3ab1;if(typeof crypto!==_0x1b358d(0x26f)&&crypto['randomUUID'])return crypto[_0x1b358d(0x26e)]();return _0x1b358d(0x2a9)['replace'](/[xy]/g,_0xd54f16=>{const _0xb5efb9=_0x1b358d,_0xab5c50=Math[_0xb5efb9(0x38d)]()*0x10|0x0,_0x302482=_0xd54f16==='x'?_0xab5c50:_0xab5c50&0x3|0x8;return _0x302482[_0xb5efb9(0x336)](0x10);});}function isRecord(_0x5c011b){const _0x1ecc49=_0x3ab1;return _0x5c011b!=null&&typeof _0x5c011b===_0x1ecc49(0x442)&&!Array[_0x1ecc49(0x294)](_0x5c011b);}function newDerivedRuleId(){const _0x3b4f07=_0x3ab1;return _0x3b4f07(0x36c)+randomUuid()[_0x3b4f07(0x2cd)](/-/g,'')[_0x3b4f07(0x32f)](0x0,0xc);}function normalizeDerivedRules(_0x27d41e){const _0x64d0a9=_0x3ab1;if(!Array[_0x64d0a9(0x294)](_0x27d41e))return[];const _0x1cb419=[];for(const _0x5f3779 of _0x27d41e){if(!isRecord(_0x5f3779))continue;const _0xc3315f=typeof _0x5f3779['id']===_0x64d0a9(0x411)?_0x5f3779['id']['trim']():'',_0x2b75b8=typeof _0x5f3779[_0x64d0a9(0x415)]===_0x64d0a9(0x411)?_0x5f3779[_0x64d0a9(0x415)]['trim']():'';if(!_0xc3315f||!_0x2b75b8)continue;const _0x8ddf2a=Array[_0x64d0a9(0x294)](_0x5f3779[_0x64d0a9(0x248)])?_0x5f3779[_0x64d0a9(0x248)][_0x64d0a9(0x447)](_0x1ca97c=>_0x1ca97c===_0x64d0a9(0x35b)||_0x1ca97c==='onCompute'):void 0x0;let _0x57f611;if(isRecord(_0x5f3779['target'])&&typeof _0x5f3779[_0x64d0a9(0x2ca)][_0x64d0a9(0x39e)]===_0x64d0a9(0x411)){const _0x369741=_0x5f3779[_0x64d0a9(0x2ca)][_0x64d0a9(0x24a)];(_0x369741===_0x64d0a9(0x42d)||_0x369741==='base'||_0x369741===_0x64d0a9(0x20e))&&(_0x57f611={'scope':_0x369741,'key':String(_0x5f3779['target'][_0x64d0a9(0x39e)])[_0x64d0a9(0x33d)](),'subSchemaId':typeof _0x5f3779['target'][_0x64d0a9(0x303)]==='number'?_0x5f3779[_0x64d0a9(0x2ca)]['subSchemaId']:void 0x0});}_0x1cb419[_0x64d0a9(0x3d3)]({'id':_0xc3315f,'expr':_0x2b75b8,'label':typeof _0x5f3779['label']==='string'?_0x5f3779[_0x64d0a9(0x22d)]:void 0x0,'target':_0x57f611,'triggers':_0x8ddf2a?.[_0x64d0a9(0x33a)]?_0x8ddf2a:void 0x0,'enabled':_0x5f3779['enabled']!==![]});}return _0x1cb419;}function getWorkbookDerivedRules(_0x52c308){const _0x1031fd=_0x3ab1;return normalizeDerivedRules(_0x52c308?.[_0x1031fd(0x1f1)]);}var DRAFT_KIND={'Base':0x0,'Business':0x1},CREATION_MODE={'Inherit':0x0,'Splice':0x1,'Mixed':0x2},SNAPSHOT_KIND={'Base':0x0,'Business':0x1},SPLICE_COLUMN_MODE={'Equal':0x0,'Free':0x1},WORKBOOK_META_INHERIT_SOURCE_BASE_SNAPSHOT_ROW_ID=_0xda391e(0x210),DEFAULT_COMPUTE_POLICY={'v':0x1,'maxIterations':0x3,'defaultRoundingTriggers':[_0xda391e(0x35b),_0xda391e(0x30e)],'aggregateEmptyAs':_0xda391e(0x1f0),'chartRefreshOnCompute':!![],'chartRefreshOnPageChange':!![]};function isRecord2(_0x3bcc91){const _0x2d8a91=_0xda391e;return _0x3bcc91!=null&&typeof _0x3bcc91===_0x2d8a91(0x442)&&!Array[_0x2d8a91(0x294)](_0x3bcc91);}function normalizeComputePolicy(_0x16ba64){const _0x4f0453=_0xda391e;if(!isRecord2(_0x16ba64)||_0x16ba64['v']!==0x1)return{...DEFAULT_COMPUTE_POLICY};const _0x65111=Number(_0x16ba64[_0x4f0453(0x304)]),_0xe432c4=Array[_0x4f0453(0x294)](_0x16ba64[_0x4f0453(0x246)])?_0x16ba64[_0x4f0453(0x246)][_0x4f0453(0x447)](_0x597080=>_0x597080===_0x4f0453(0x35b)||_0x597080===_0x4f0453(0x30e)):void 0x0,_0x5c1ba1=_0x16ba64['aggregateEmptyAs']==='zero'?_0x4f0453(0x227):_0x16ba64[_0x4f0453(0x2bd)]===_0x4f0453(0x1f0)?_0x4f0453(0x1f0):_0x4f0453(0x1f0);return{'v':0x1,'maxIterations':Number['isFinite'](_0x65111)?Math[_0x4f0453(0x206)](0x1,Math['min'](0x8,_0x65111)):0x3,'defaultRoundingTriggers':_0xe432c4?.[_0x4f0453(0x33a)]?_0xe432c4:[_0x4f0453(0x35b),'onCompute'],'aggregateEmptyAs':_0x5c1ba1,'chartRefreshOnCompute':_0x16ba64['chartRefreshOnCompute']!==![],'chartRefreshOnPageChange':_0x16ba64[_0x4f0453(0x34d)]!==![]};}function getWorkbookComputePolicy(_0x2624c1){const _0xfafb59=_0xda391e;return normalizeComputePolicy(_0x2624c1?.[_0xfafb59(0x2a4)]);}function getAggregateEmptyAs(_0x40f107){const _0xa2191d=_0xda391e;return getWorkbookComputePolicy(_0x40f107)['aggregateEmptyAs']??_0xa2191d(0x1f0);}var TEMPLATE_FIELD_REGISTRY_VERSION=0x1,WORKBOOK_META_BUSINESS_SHEET_PROFILES=_0xda391e(0x355),DEFAULT_DPI=0x60;function ptToCssPx(_0x48cb5f,_0x1b30c6=DEFAULT_DPI){return _0x48cb5f*_0x1b30c6/0x48;}function cssPxToPt(_0x52c2e5,_0x35d45b=DEFAULT_DPI){return _0x52c2e5*0x48/_0x35d45b;}function hasEmbedsToPaint(_0x453895){const _0x5e1829=_0xda391e;if(!_0x453895?.[_0x5e1829(0x292)]?.[_0x5e1829(0x33a)])return![];return _0x453895['embeds'][_0x5e1829(0x377)](_0x58cdb3=>_0x58cdb3['kind']===_0x5e1829(0x263)||_0x58cdb3['kind']===_0x5e1829(0x3a5));}var TEMPLATE_WORKBOOK_JSON_VERSION=0x1,MergeIndex=class{[_0xda391e(0x43c)]=new Map();constructor(_0x4af3ca){const _0x5bb81f=_0xda391e;for(const _0x4b1534 of _0x4af3ca){const _0xb4d945=Math[_0x5bb81f(0x44d)](_0x4b1534['r1'],_0x4b1534['r2']),_0x10a049=Math[_0x5bb81f(0x44d)](_0x4b1534['c1'],_0x4b1534['c2']),_0x5b4b6e=Math[_0x5bb81f(0x44d)](_0x4b1534['r1'],_0x4b1534['r2']),_0x3cee48=Math[_0x5bb81f(0x206)](_0x4b1534['r1'],_0x4b1534['r2']),_0x4539f5=Math['min'](_0x4b1534['c1'],_0x4b1534['c2']),_0x447dde=Math[_0x5bb81f(0x206)](_0x4b1534['c1'],_0x4b1534['c2']),_0x15756e={'r1':_0x5b4b6e,'c1':_0x4539f5,'r2':_0x3cee48,'c2':_0x447dde};for(let _0x262ccc=_0x5b4b6e;_0x262ccc<=_0x3cee48;_0x262ccc+=0x1){for(let _0x263df7=_0x4539f5;_0x263df7<=_0x447dde;_0x263df7+=0x1){this[_0x5bb81f(0x43c)][_0x5bb81f(0x40e)](cellKey(_0x262ccc,_0x263df7),{'masterR':_0xb4d945,'masterC':_0x10a049,'rect':_0x15756e});}}}}[_0xda391e(0x253)](_0x9d5d5a,_0x5e732a){const _0x13c1f9=_0xda391e;return this[_0x13c1f9(0x43c)]['get'](cellKey(_0x9d5d5a,_0x5e732a));}[_0xda391e(0x290)](_0x164e13,_0x9ccca3){const _0x14694e=_0xda391e,_0x1ae591=this['getMaster'](_0x164e13,_0x9ccca3);if(!_0x1ae591)return!![];return _0x1ae591[_0x14694e(0x3b0)]===_0x164e13&&_0x1ae591['masterC']===_0x9ccca3;}static[_0xda391e(0x37b)](_0x447fb7,_0x4480ff){return rectsOverlap(_0x447fb7,_0x4480ff);}static[_0xda391e(0x3f3)](_0x373e42){return normalizeRect(_0x373e42['r1'],_0x373e42['c1'],_0x373e42['r2'],_0x373e42['c2']);}},edgeSide=_0x204ff8=>({'style':_0x204ff8[_0xda391e(0x2f4)],'pattern':_0x204ff8[_0xda391e(0x27b)]});function collectMasters(_0x56743c,_0x2cfe94,_0x6f59d8){const _0x41918c=_0xda391e,_0x2ad9aa=new Set();for(let _0x10dfd9=_0x6f59d8['r1'];_0x10dfd9<=_0x6f59d8['r2'];_0x10dfd9+=0x1){for(let _0x1d44f3=_0x6f59d8['c1'];_0x1d44f3<=_0x6f59d8['c2'];_0x1d44f3+=0x1){const _0x54a1fd=_0x2cfe94[_0x41918c(0x253)](_0x10dfd9,_0x1d44f3),_0x37c40a=_0x54a1fd?_0x54a1fd[_0x41918c(0x3b0)]:_0x10dfd9,_0x5860ab=_0x54a1fd?_0x54a1fd[_0x41918c(0x2bb)]:_0x1d44f3;_0x2ad9aa['add'](cellKey(_0x37c40a,_0x5860ab));}}return[..._0x2ad9aa];}function masterBounds(_0x41da9b,_0x2ce62c,_0x2a3d1a){const _0x494b1d=_0xda391e,_0x29381d=_0x41da9b[_0x494b1d(0x253)](_0x2ce62c,_0x2a3d1a);if(_0x29381d)return _0x29381d['rect'];return{'r1':_0x2ce62c,'c1':_0x2a3d1a,'r2':_0x2ce62c,'c2':_0x2a3d1a};}function hasVisualStyle(_0x5ba600){const _0x2dd195=_0xda391e;if(!_0x5ba600)return![];if(_0x5ba600[_0x2dd195(0x2a3)]&&Object[_0x2dd195(0x324)](_0x5ba600[_0x2dd195(0x2a3)])[_0x2dd195(0x33a)]>0x0)return!![];return!!(_0x5ba600['fontFamily']||_0x5ba600['fontSizePt']||_0x5ba600[_0x2dd195(0x2d9)]||_0x5ba600[_0x2dd195(0x400)]||_0x5ba600[_0x2dd195(0x1fd)]||_0x5ba600[_0x2dd195(0x252)]||_0x5ba600[_0x2dd195(0x3b1)]||_0x5ba600[_0x2dd195(0x2e6)]||_0x5ba600[_0x2dd195(0x350)]||_0x5ba600[_0x2dd195(0x3eb)]||_0x5ba600[_0x2dd195(0x232)]||_0x5ba600[_0x2dd195(0x3b9)]||_0x5ba600[_0x2dd195(0x376)]||_0x5ba600[_0x2dd195(0x2c8)]);}function selectionIsUnmergedRectangle(_0x5da29e,_0x1f857e){const _0xe1cf44=_0xda391e,_0x549cc1=normalizeRect(_0x1f857e['r1'],_0x1f857e['c1'],_0x1f857e['r2'],_0x1f857e['c2']);for(let _0x376808=_0x549cc1['r1'];_0x376808<=_0x549cc1['r2'];_0x376808+=0x1){for(let _0x322a4c=_0x549cc1['c1'];_0x322a4c<=_0x549cc1['c2'];_0x322a4c+=0x1){if(_0x5da29e[_0xe1cf44(0x253)](_0x376808,_0x322a4c))return![];}}return!![];}function applyBorderPresetToSheet(_0x4b0c98,_0x4727f3,_0x3814a8,_0x1fd2c8,_0x37738d){const _0x1edd27=_0xda391e,_0x5e3d8c=normalizeRect(_0x3814a8['r1'],_0x3814a8['c1'],_0x3814a8['r2'],_0x3814a8['c2']),_0x274c2d={..._0x4b0c98[_0x1edd27(0x2fb)]},_0x5a4e92=collectMasters(_0x4b0c98,_0x4727f3,_0x5e3d8c),_0x4fa997=edgeSide(_0x37738d),_0x164059=(_0x16155d,_0x5efec0)=>{const _0x597083=_0x1edd27,_0x1d6280=_0x274c2d[_0x16155d]??{'value':''},_0x43afb6={..._0x1d6280[_0x597083(0x31e)]??{}};_0x5efec0(_0x43afb6);const _0x4ae403={..._0x1d6280,'style':_0x43afb6};!_0x4ae403['value']&&!_0x4ae403['f']&&!hasVisualStyle(_0x4ae403[_0x597083(0x31e)])?delete _0x274c2d[_0x16155d]:_0x274c2d[_0x16155d]=_0x4ae403;};if(_0x1fd2c8===_0x1edd27(0x288)){for(const _0x2b6c64 of _0x5a4e92){_0x164059(_0x2b6c64,_0xcc34d1=>{const _0x25d87b=_0x1edd27;delete _0xcc34d1[_0x25d87b(0x2a3)];});}return _0x274c2d;}if(_0x1fd2c8===_0x1edd27(0x42f)){for(const _0x559621 of _0x5a4e92){_0x164059(_0x559621,_0x2f8fc3=>{const _0x17acab=_0x1edd27;_0x2f8fc3[_0x17acab(0x2a3)]={'top':{..._0x4fa997},'bottom':{..._0x4fa997},'left':{..._0x4fa997},'right':{..._0x4fa997},'color':_0x37738d['color']};});}return _0x274c2d;}if(_0x1fd2c8==='outer'||_0x1fd2c8===_0x1edd27(0x41b)||_0x1fd2c8==='bottom'||_0x1fd2c8===_0x1edd27(0x3c4)||_0x1fd2c8===_0x1edd27(0x1fa)){for(const _0x5b0e34 of _0x5a4e92){const [_0x199d13,_0x5b746a]=_0x5b0e34[_0x1edd27(0x26b)](',')[_0x1edd27(0x43c)](Number),_0x19cc9e=masterBounds(_0x4727f3,_0x199d13,_0x5b746a);_0x164059(_0x5b0e34,_0x218ee8=>{const _0x1cad56=_0x1edd27,_0x37c6d7={..._0x218ee8[_0x1cad56(0x2a3)]??{}},_0x2cdb55=(_0x3b0549,_0x425ba7)=>{_0x3b0549&&(_0x37c6d7[_0x425ba7]={..._0x4fa997});};if(_0x1fd2c8==='outer')_0x2cdb55(_0x19cc9e['r1']===_0x5e3d8c['r1'],'top'),_0x2cdb55(_0x19cc9e['r2']===_0x5e3d8c['r2'],'bottom'),_0x2cdb55(_0x19cc9e['c1']===_0x5e3d8c['c1'],_0x1cad56(0x3c4)),_0x2cdb55(_0x19cc9e['c2']===_0x5e3d8c['c2'],'right');else{if(_0x1fd2c8===_0x1cad56(0x41b))_0x2cdb55(_0x19cc9e['r1']===_0x5e3d8c['r1'],'top');else{if(_0x1fd2c8===_0x1cad56(0x265))_0x2cdb55(_0x19cc9e['r2']===_0x5e3d8c['r2'],_0x1cad56(0x265));else{if(_0x1fd2c8===_0x1cad56(0x3c4))_0x2cdb55(_0x19cc9e['c1']===_0x5e3d8c['c1'],_0x1cad56(0x3c4));else _0x1fd2c8===_0x1cad56(0x1fa)&&_0x2cdb55(_0x19cc9e['c2']===_0x5e3d8c['c2'],_0x1cad56(0x1fa));}}}_0x37c6d7['color']=_0x37738d[_0x1cad56(0x1eb)],_0x218ee8['borders']=_0x37c6d7;});}return _0x274c2d;}if(_0x1fd2c8===_0x1edd27(0x417)||_0x1fd2c8===_0x1edd27(0x2e2)){if(!selectionIsUnmergedRectangle(_0x4727f3,_0x5e3d8c))return _0x274c2d;if(_0x1fd2c8===_0x1edd27(0x417))for(let _0x1ed8fe=_0x5e3d8c['c1'];_0x1ed8fe<_0x5e3d8c['c2'];_0x1ed8fe+=0x1){for(let _0x7ff82b=_0x5e3d8c['r1'];_0x7ff82b<=_0x5e3d8c['r2'];_0x7ff82b+=0x1){const _0x279e90=cellKey(_0x7ff82b,_0x1ed8fe);_0x164059(_0x279e90,_0x51614f=>{const _0x4036e9=_0x1edd27,_0x40c2c0={..._0x51614f['borders']??{},'right':{..._0x4fa997},'color':_0x37738d[_0x4036e9(0x1eb)]};_0x51614f[_0x4036e9(0x2a3)]=_0x40c2c0;});}}else for(let _0x3ee07e=_0x5e3d8c['r1'];_0x3ee07e<_0x5e3d8c['r2'];_0x3ee07e+=0x1){for(let _0x508125=_0x5e3d8c['c1'];_0x508125<=_0x5e3d8c['c2'];_0x508125+=0x1){const _0x772ec0=cellKey(_0x3ee07e,_0x508125);_0x164059(_0x772ec0,_0x5eec73=>{const _0x42e43f=_0x1edd27,_0x3fe7df={..._0x5eec73[_0x42e43f(0x2a3)]??{},'bottom':{..._0x4fa997},'color':_0x37738d[_0x42e43f(0x1eb)]};_0x5eec73[_0x42e43f(0x2a3)]=_0x3fe7df;});}}return _0x274c2d;}return _0x274c2d;}function matrixToTsv(_0x28bca3){const _0x1c3a20=_0xda391e;return _0x28bca3[_0x1c3a20(0x43c)](_0x459f63=>_0x459f63[_0x1c3a20(0x213)]('\x09'))[_0x1c3a20(0x213)]('\x0a');}function tsvToMatrix(_0x12dc79){const _0x2fbfc1=_0xda391e;if(!_0x12dc79)return[];return _0x12dc79[_0x2fbfc1(0x2cd)](/\r\n/g,'\x0a')[_0x2fbfc1(0x26b)]('\x0a')[_0x2fbfc1(0x43c)](_0x16b205=>_0x16b205['split']('\x09'));}function readSelectionAsTsv(_0x1a0e7a,_0x1e9945,_0xedd0bb,_0x393519,_0x73127a){const _0x7cd63a=_0xda391e,_0x25bc14=[];for(let _0x213932=_0x1e9945;_0x213932<=_0x393519;_0x213932+=0x1){const _0x27c8dd=[];for(let _0x4dc881=_0xedd0bb;_0x4dc881<=_0x73127a;_0x4dc881+=0x1){const _0x359605=_0x1a0e7a[_0x7cd63a(0x2fb)][cellKey(_0x213932,_0x4dc881)];_0x27c8dd[_0x7cd63a(0x3d3)](_0x359605?.['value']??'');}_0x25bc14[_0x7cd63a(0x3d3)](_0x27c8dd);}return matrixToTsv(_0x25bc14);}function buildPastePatches(_0xa38388,_0x49d41f,_0x259b12,_0x3bbc93){const _0x31eebb=_0xda391e,_0x232605=[];for(let _0x13e800=0x0;_0x13e800<_0x3bbc93[_0x31eebb(0x33a)];_0x13e800+=0x1){const _0xedd025=_0x3bbc93[_0x13e800]??[];for(let _0x311f34=0x0;_0x311f34<_0xedd025[_0x31eebb(0x33a)];_0x311f34+=0x1){const _0x3b73e2=_0x49d41f+_0x13e800,_0x40f66c=_0x259b12+_0x311f34;if(_0x3b73e2<0x0||_0x40f66c<0x0||_0x3b73e2>=_0xa38388[_0x31eebb(0x3e6)]||_0x40f66c>=_0xa38388[_0x31eebb(0x2dd)])continue;const _0x4a13e5=cellKey(_0x3b73e2,_0x40f66c),_0x539988=_0xa38388[_0x31eebb(0x2fb)][_0x4a13e5]?{..._0xa38388['cells'][_0x4a13e5]}:void 0x0,_0x2b1243=_0xedd025[_0x311f34]??'',_0x4cc2fa=_0x2b1243===''?void 0x0:{'value':_0x2b1243};_0x232605[_0x31eebb(0x3d3)]({'key':_0x4a13e5,'before':_0x539988,'after':_0x4cc2fa});}}return _0x232605;}function serializeWorkbook(_0x24d362){return JSON['stringify'](_0x24d362);}function parseWorkbookJson(_0x2aab17){const _0x4da28e=_0xda391e;let _0x488b67;try{_0x488b67=JSON[_0x4da28e(0x29f)](_0x2aab17);}catch{throw new Error('\u5DE5\u4F5C\u7C3F\x20JSON\x20\u89E3\u6790\u5931\u8D25');}return migrateWorkbook(_0x488b67);}function vNum(_0x1f480a){return{'k':'num','v':_0x1f480a};}function vStr(_0x1184e5){const _0x413b0c=_0xda391e;return{'k':_0x413b0c(0x268),'v':_0x1184e5};}function vBool(_0x2bdbf6){const _0xa15d75=_0xda391e;return{'k':_0xa15d75(0x370),'v':_0x2bdbf6};}var V_NULL={'k':'null'};function vErr(_0xb184e5,_0x384be8){const _0x136039=_0xda391e;return{'k':_0x136039(0x2f9),'v':{'code':_0xb184e5,'message':_0x384be8}};}function isErr(_0x17a37a){const _0x2eb94e=_0xda391e;return _0x17a37a['k']===_0x2eb94e(0x2f9);}function coerceNum(_0x4491c8){const _0x2f4394=_0xda391e;if(_0x4491c8['k']===_0x2f4394(0x237))return _0x4491c8['v'];if(_0x4491c8['k']===_0x2f4394(0x370))return _0x4491c8['v']?0x1:0x0;if(_0x4491c8['k']===_0x2f4394(0x1f0))return 0x0;if(_0x4491c8['k']===_0x2f4394(0x268)){const _0x4e4ab3=_0x4491c8['v'][_0x2f4394(0x33d)]();if(_0x4e4ab3==='')return null;const _0x22b24b=Number(_0x4e4ab3[_0x2f4394(0x2cd)](/,/g,''));return Number[_0x2f4394(0x391)](_0x22b24b)?_0x22b24b:null;}return null;}function coerceStr(_0x28651c){const _0xfc6008=_0xda391e;if(_0x28651c['k']===_0xfc6008(0x268))return _0x28651c['v'];if(_0x28651c['k']===_0xfc6008(0x237))return String(_0x28651c['v']);if(_0x28651c['k']===_0xfc6008(0x370))return _0x28651c['v']?'TRUE':_0xfc6008(0x35a);if(_0x28651c['k']==='null')return'';return _0xfc6008(0x3a4);}function _0x3ab1(_0x509e0e,_0x5db7cd){_0x509e0e=_0x509e0e-0x1e6;const _0x188b09=_0x188b();let _0x3ab1f0=_0x188b09[_0x509e0e];if(_0x3ab1['bqfNcc']===undefined){var _0x274a60=function(_0x2e9dee){const _0x43d487='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ee2ee='',_0x13100c='';for(let _0x1a8e90=0x0,_0x1f7caa,_0xd085a5,_0x84bae4=0x0;_0xd085a5=_0x2e9dee['charAt'](_0x84bae4++);~_0xd085a5&&(_0x1f7caa=_0x1a8e90%0x4?_0x1f7caa*0x40+_0xd085a5:_0xd085a5,_0x1a8e90++%0x4)?_0x1ee2ee+=String['fromCharCode'](0xff&_0x1f7caa>>(-0x2*_0x1a8e90&0x6)):0x0){_0xd085a5=_0x43d487['indexOf'](_0xd085a5);}for(let _0x32bf1c=0x0,_0x2ff260=_0x1ee2ee['length'];_0x32bf1c<_0x2ff260;_0x32bf1c++){_0x13100c+='%'+('00'+_0x1ee2ee['charCodeAt'](_0x32bf1c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13100c);};_0x3ab1['rmKbCt']=_0x274a60,_0x3ab1['tYmRAf']={},_0x3ab1['bqfNcc']=!![];}const _0xa4ee2e=_0x188b09[0x0];_0x3ab1['PQAOmU']!==_0xa4ee2e&&(_0x3ab1['tYmRAf']={},_0x3ab1['PQAOmU']=_0xa4ee2e);const _0x72e11a=_0x3ab1['tYmRAf'][_0x509e0e];return _0x72e11a===undefined?(_0x3ab1f0=_0x3ab1['rmKbCt'](_0x3ab1f0),_0x3ab1['tYmRAf'][_0x509e0e]=_0x3ab1f0):_0x3ab1f0=_0x72e11a,_0x3ab1f0;}function coerceBool(_0x4dbb88){const _0x513e07=_0xda391e;if(_0x4dbb88['k']===_0x513e07(0x370))return _0x4dbb88['v'];if(_0x4dbb88['k']==='num')return _0x4dbb88['v']!==0x0;if(_0x4dbb88['k']==='null')return![];if(_0x4dbb88['k']===_0x513e07(0x268)){const _0x55bc8c=_0x4dbb88['v'][_0x513e07(0x33d)]()[_0x513e07(0x320)]();if(_0x55bc8c===_0x513e07(0x295))return!![];if(_0x55bc8c===_0x513e07(0x3ae))return![];return null;}return null;}function forEachArrayValue(_0x5a7c83,_0x2adf89){const _0x3eebfb=_0xda391e;for(const _0x5476de of _0x5a7c83[_0x3eebfb(0x40b)])for(const _0x52672d of _0x5476de)_0x2adf89(_0x52672d);}function columnLettersToIndex(_0x526627){const _0x4d6981=_0xda391e;let _0x3fb52b=0x0;const _0x473ede=_0x526627['toUpperCase']();for(let _0x50b417=0x0;_0x50b417<_0x473ede[_0x4d6981(0x33a)];_0x50b417+=0x1){const _0x1b4412=_0x473ede['charCodeAt'](_0x50b417);if(_0x1b4412<0x41||_0x1b4412>0x5a)return-0x1;_0x3fb52b=_0x3fb52b*0x1a+(_0x1b4412-0x40);}return _0x3fb52b-0x1;}function columnIndexToLetters(_0x149383){const _0x4ab03d=_0xda391e;if(!Number[_0x4ab03d(0x391)](_0x149383)||_0x149383<0x0)return'';let _0x2b6387=Math[_0x4ab03d(0x207)](_0x149383)+0x1,_0x3f1ae5='';while(_0x2b6387>0x0){const _0x2a62b9=(_0x2b6387-0x1)%0x1a;_0x3f1ae5=String[_0x4ab03d(0x43b)](0x41+_0x2a62b9)+_0x3f1ae5,_0x2b6387=Math[_0x4ab03d(0x207)]((_0x2b6387-0x1)/0x1a);}return _0x3f1ae5;}function parseInternalR1C1Ref(_0x1508ca){const _0x36aa6b=_0xda391e,_0x42dd02=String(_0x1508ca)[_0x36aa6b(0x33d)](),_0x2f431b=/^([A-Za-z_][A-Za-z0-9_]*)\.r(\d+)c(\d+)$/[_0x36aa6b(0x40d)](_0x42dd02);if(!_0x2f431b)return null;const _0x3fe2e3=_0x2f431b[0x1],_0x9f05cd=parseInt(_0x2f431b[0x2],0xa)-0x1,_0x31f6ac=parseInt(_0x2f431b[0x3],0xa)-0x1;if(!Number[_0x36aa6b(0x391)](_0x9f05cd)||!Number[_0x36aa6b(0x391)](_0x31f6ac)||_0x9f05cd<0x0||_0x31f6ac<0x0)return null;return{'kind':'single','sheet':_0x3fe2e3,'r':_0x9f05cd,'c':_0x31f6ac};}function parseA1Single(_0xb1fa58){const _0x361476=_0xda391e,_0xc63f9f=String(_0xb1fa58)['trim'](),_0x54b774=_0xc63f9f[_0x361476(0x3fe)](/^(?:('([^']+)'|([A-Za-z_][A-Za-z0-9_]*))!)?(\$?)([A-Za-z]+)(\$?)(\d+)$/);if(!_0x54b774)return null;const _0x3bb26e=_0x54b774[0x2]||_0x54b774[0x3]||void 0x0,_0x1f1a6f=_0x54b774[0x4]==='$',_0x389c62=_0x54b774[0x5],_0x3f3be0=_0x54b774[0x6]==='$',_0x1da15e=_0x54b774[0x7];if(!_0x389c62)return null;const _0x204d51=columnLettersToIndex(_0x389c62),_0x137036=parseInt(_0x1da15e,0xa)-0x1;if(_0x204d51<0x0||!Number[_0x361476(0x391)](_0x137036)||_0x137036<0x0)return null;return{'kind':_0x361476(0x259),'sheet':_0x3bb26e,'r':_0x137036,'c':_0x204d51,'absR':_0x3f3be0,'absC':_0x1f1a6f};}function parseA1Ref(_0x41721c){const _0x3ab87a=_0xda391e,_0x3bbad5=String(_0x41721c)[_0x3ab87a(0x33d)](),_0x569613=_0x3bbad5['indexOf'](':');if(_0x569613<0x0)return parseA1Single(_0x3bbad5);const _0x2fc959=_0x3bbad5['slice'](0x0,_0x569613),_0x5cf080=_0x3bbad5[_0x3ab87a(0x32f)](_0x569613+0x1),_0x4fc096=parseA1Single(_0x2fc959);if(!_0x4fc096)return null;const _0x2b9ebd=/!/[_0x3ab87a(0x243)](_0x5cf080)?_0x5cf080:_0x4fc096[_0x3ab87a(0x1f6)]?_0x4fc096[_0x3ab87a(0x1f6)]+'!'+_0x5cf080:_0x5cf080,_0x3b0b4f=parseA1Single(_0x2b9ebd);if(!_0x3b0b4f)return null;const _0x1154c0=Math[_0x3ab87a(0x44d)](_0x4fc096['r'],_0x3b0b4f['r']),_0x7d986b=Math[_0x3ab87a(0x206)](_0x4fc096['r'],_0x3b0b4f['r']),_0x428015=Math[_0x3ab87a(0x44d)](_0x4fc096['c'],_0x3b0b4f['c']),_0x48da7f=Math['max'](_0x4fc096['c'],_0x3b0b4f['c']);return{'kind':_0x3ab87a(0x312),'sheet':_0x4fc096[_0x3ab87a(0x1f6)],'r1':_0x1154c0,'c1':_0x428015,'r2':_0x7d986b,'c2':_0x48da7f};}function formatA1Single(_0x3f3c7b,_0x1f696b,_0x392dc0){const _0x4d946c=''+columnIndexToLetters(_0x1f696b)+(_0x3f3c7b+0x1);return _0x392dc0?_0x392dc0+'!'+_0x4d946c:_0x4d946c;}function formatA1Range(_0x11aa00,_0x3bd541,_0x4dd443,_0x42b399,_0x20a05d){const _0x5d1125=''+columnIndexToLetters(_0x3bd541)+(_0x11aa00+0x1),_0x22b1c6=''+columnIndexToLetters(_0x42b399)+(_0x4dd443+0x1);return _0x20a05d?_0x20a05d+'!'+_0x5d1125+':'+_0x22b1c6:_0x5d1125+':'+_0x22b1c6;}var OP_CHARS='+-*/^&=<>%';function tokenize(_0x134458){const _0x5465cc=_0xda391e,_0x3c48a7=[];let _0x290088=0x0;const _0x477f10=_0x134458[_0x5465cc(0x33a)];while(_0x290088<_0x477f10){const _0x3d163b=_0x134458[_0x290088];if(_0x3d163b==='\x20'||_0x3d163b==='\x09'||_0x3d163b==='\x0a'||_0x3d163b==='\x0d'){_0x290088+=0x1;continue;}if(_0x3d163b==='('){_0x3c48a7[_0x5465cc(0x3d3)]({'type':'lparen','text':'(','pos':_0x290088}),_0x290088+=0x1;continue;}if(_0x3d163b===')'){_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x2e3),'text':')','pos':_0x290088}),_0x290088+=0x1;continue;}if(_0x3d163b===','){_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x3d2),'text':',','pos':_0x290088}),_0x290088+=0x1;continue;}if(_0x3d163b===';'){_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x271),'text':';','pos':_0x290088}),_0x290088+=0x1;continue;}if(_0x3d163b==='\x22'){const _0x247d97=_0x290088;_0x290088+=0x1;let _0x1d0ebb='';while(_0x290088<_0x477f10){const _0x4ea14f=_0x134458[_0x290088];if(_0x4ea14f==='\x22'){if(_0x134458[_0x290088+0x1]==='\x22'){_0x1d0ebb+='\x22',_0x290088+=0x2;continue;}_0x290088+=0x1;break;}_0x1d0ebb+=_0x4ea14f,_0x290088+=0x1;}_0x3c48a7[_0x5465cc(0x3d3)]({'type':'str','text':_0x1d0ebb,'pos':_0x247d97});continue;}if(_0x3d163b>='0'&&_0x3d163b<='9'){const _0x1216a2=_0x290088;let _0x485bde='';while(_0x290088<_0x477f10&&(_0x134458[_0x290088]>='0'&&_0x134458[_0x290088]<='9'||_0x134458[_0x290088]==='.')){_0x485bde+=_0x134458[_0x290088],_0x290088+=0x1;}if(_0x290088<_0x477f10&&(_0x134458[_0x290088]==='e'||_0x134458[_0x290088]==='E')){_0x485bde+=_0x134458[_0x290088],_0x290088+=0x1;_0x290088<_0x477f10&&(_0x134458[_0x290088]==='+'||_0x134458[_0x290088]==='-')&&(_0x485bde+=_0x134458[_0x290088],_0x290088+=0x1);while(_0x290088<_0x477f10&&_0x134458[_0x290088]>='0'&&_0x134458[_0x290088]<='9'){_0x485bde+=_0x134458[_0x290088],_0x290088+=0x1;}}_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x237),'text':_0x485bde,'pos':_0x1216a2});continue;}if(isIdentStart(_0x3d163b)||_0x3d163b==='$'||_0x3d163b==='\x27'){const _0x15198d=_0x290088,_0x1a12d3=matchInternalGridRefAt(_0x134458,_0x15198d);if(_0x1a12d3){_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x34a),'text':_0x1a12d3[_0x5465cc(0x275)],'pos':_0x15198d}),_0x290088=_0x1a12d3['end'];continue;}const _0xce06e9=matchRefAt(_0x134458,_0x290088);if(_0xce06e9){const _0x5943c4=_0xce06e9[_0x5465cc(0x40f)],_0x49b03a=_0x134458[_0x5465cc(0x32f)](_0x15198d,_0x5943c4);if(_0x134458[_0x5943c4]===':'){const _0x1ab654=matchRefAt(_0x134458,_0x5943c4+0x1);if(_0x1ab654){_0x3c48a7[_0x5465cc(0x3d3)]({'type':'range','text':_0x134458['slice'](_0x15198d,_0x1ab654[_0x5465cc(0x40f)]),'pos':_0x15198d}),_0x290088=_0x1ab654[_0x5465cc(0x40f)];continue;}}_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x34a),'text':_0x49b03a,'pos':_0x15198d}),_0x290088=_0x5943c4;continue;}let _0x57d292='';while(_0x290088<_0x477f10&&isIdentCont(_0x134458[_0x290088])){_0x57d292+=_0x134458[_0x290088],_0x290088+=0x1;}if(_0x57d292){_0x3c48a7[_0x5465cc(0x3d3)]({'type':_0x5465cc(0x42a),'text':_0x57d292,'pos':_0x15198d});continue;}}if(OP_CHARS[_0x5465cc(0x41d)](_0x3d163b)>=0x0){const _0x151dd4=_0x290088,_0x2aaf64=_0x134458[_0x5465cc(0x32f)](_0x290088,_0x290088+0x2);if(_0x2aaf64==='<='||_0x2aaf64==='>='||_0x2aaf64==='<>'){_0x3c48a7[_0x5465cc(0x3d3)]({'type':'op','text':_0x2aaf64,'pos':_0x151dd4}),_0x290088+=0x2;continue;}_0x3c48a7[_0x5465cc(0x3d3)]({'type':'op','text':_0x3d163b,'pos':_0x151dd4}),_0x290088+=0x1;continue;}throw new Error(_0x5465cc(0x335)+_0x3d163b+_0x5465cc(0x229)+_0x290088);}return _0x3c48a7[_0x5465cc(0x3d3)]({'type':'eof','text':'','pos':_0x477f10}),_0x3c48a7;}function isIdentStart(_0x31fb9d){return _0x31fb9d>='A'&&_0x31fb9d<='Z'||_0x31fb9d>='a'&&_0x31fb9d<='z'||_0x31fb9d==='_';}function isIdentCont(_0x27d6a8){return isIdentStart(_0x27d6a8)||_0x27d6a8>='0'&&_0x27d6a8<='9'||_0x27d6a8==='.';}function matchInternalGridRefAt(_0x4a24a5,_0x34df2f){const _0x53290c=_0xda391e,_0x5e22aa=_0x4a24a5['slice'](_0x34df2f),_0x4b6c37=/^[A-Za-z_][A-Za-z0-9_]*\.r\d+c\d+/[_0x53290c(0x40d)](_0x5e22aa);if(!_0x4b6c37)return null;const _0x467a60=_0x4b6c37[0x0];return{'end':_0x34df2f+_0x467a60[_0x53290c(0x33a)],'text':_0x467a60};}function matchRefAt(_0x39e042,_0x455b4e){const _0x7ce314=_0xda391e;let _0x352191=_0x455b4e;const _0x50dea1=matchSheetPrefix(_0x39e042,_0x352191);if(_0x50dea1!=null)_0x352191=_0x50dea1;if(_0x39e042[_0x352191]==='$')_0x352191+=0x1;let _0x955cf5=0x0;while(_0x352191<_0x39e042[_0x7ce314(0x33a)]){const _0x14d2ad=_0x39e042[_0x352191];if(_0x14d2ad>='A'&&_0x14d2ad<='Z'||_0x14d2ad>='a'&&_0x14d2ad<='z')_0x955cf5+=0x1,_0x352191+=0x1;else break;}if(_0x955cf5===0x0)return null;if(_0x39e042[_0x352191]==='$')_0x352191+=0x1;let _0x151829=0x0;while(_0x352191<_0x39e042[_0x7ce314(0x33a)]){const _0x355067=_0x39e042[_0x352191];if(_0x355067>='0'&&_0x355067<='9')_0x151829+=0x1,_0x352191+=0x1;else break;}if(_0x151829===0x0)return null;if(_0x39e042[_0x352191]==='.')return null;return{'end':_0x352191};}function matchSheetPrefix(_0x1f489,_0x2d137a){const _0x37a740=_0xda391e;if(_0x1f489[_0x2d137a]==='\x27'){const _0x2d28ae=_0x1f489['indexOf']('\x27',_0x2d137a+0x1);if(_0x2d28ae<0x0)return null;if(_0x1f489[_0x2d28ae+0x1]!=='!')return null;return _0x2d28ae+0x2;}let _0x28dc89=_0x2d137a;while(_0x28dc89<_0x1f489[_0x37a740(0x33a)]){const _0x43cfbb=_0x1f489[_0x28dc89];if(_0x43cfbb>='A'&&_0x43cfbb<='Z'||_0x43cfbb>='a'&&_0x43cfbb<='z'||_0x43cfbb==='_'||_0x28dc89>_0x2d137a&&_0x43cfbb>='0'&&_0x43cfbb<='9')_0x28dc89+=0x1;else break;}if(_0x28dc89===_0x2d137a)return null;if(_0x1f489[_0x28dc89]!=='!')return null;return _0x28dc89+0x1;}var BIN_PREC={'^':0x7,'*':0x6,'/':0x6,'+':0x5,'-':0x5,'&':0x4,'=':0x3,'<>':0x3,'<':0x3,'<=':0x3,'>':0x3,'>=':0x3},Parser=class{[_0xda391e(0x34f)];['i']=0x0;constructor(_0x438d78){const _0xbe6f4=_0xda391e,_0x582cf6=_0x438d78[_0xbe6f4(0x27f)]()['startsWith']('=')?_0x438d78[_0xbe6f4(0x27f)]()[_0xbe6f4(0x32f)](0x1):_0x438d78;this[_0xbe6f4(0x34f)]=tokenize(_0x582cf6);}[_0xda391e(0x29f)](){const _0x417725=_0xda391e,_0x4bd77f=this[_0x417725(0x31d)](0x0);if(this[_0x417725(0x289)]()['type']!==_0x417725(0x2e4))throw new Error(_0x417725(0x437)+this[_0x417725(0x289)]()['text']+_0x417725(0x229)+this[_0x417725(0x289)]()[_0x417725(0x1f7)]);return _0x4bd77f;}[_0xda391e(0x289)](_0x4dba82=0x0){const _0x4a1434=_0xda391e;return this[_0x4a1434(0x34f)][this['i']+_0x4dba82];}[_0xda391e(0x2b7)](){const _0x4758c2=_0xda391e;return this[_0x4758c2(0x34f)][this['i']++];}[_0xda391e(0x31d)](_0x5e63f0){const _0x4d6490=_0xda391e;let _0x24e1b0=this[_0x4d6490(0x3ab)]();while(!![]){const _0xeb9f50=this['peek']();if(_0xeb9f50[_0x4d6490(0x293)]!=='op')break;const _0x382b36=_0xeb9f50[_0x4d6490(0x275)],_0x39fb46=BIN_PREC[_0x382b36];if(_0x39fb46==null)break;if(_0x39fb46<_0x5e63f0)break;this['eat']();const _0x158d89=this['parseExpr'](_0x382b36==='^'?_0x39fb46:_0x39fb46+0x1);_0x24e1b0={'type':'binary','op':_0x382b36,'left':_0x24e1b0,'right':_0x158d89};}return _0x24e1b0;}[_0xda391e(0x3ab)](){const _0x1a818c=_0xda391e,_0x4e8797=this[_0x1a818c(0x289)]();if(_0x4e8797['type']==='op'&&(_0x4e8797['text']==='+'||_0x4e8797[_0x1a818c(0x275)]==='-')){this[_0x1a818c(0x2b7)]();const _0x11742d=this[_0x1a818c(0x3ab)]();return{'type':_0x1a818c(0x3f5),'op':_0x4e8797[_0x1a818c(0x275)],'expr':_0x11742d};}return this[_0x1a818c(0x1ea)]();}[_0xda391e(0x1ea)](){const _0x4ca419=_0xda391e;let _0x4642e1=this[_0x4ca419(0x26a)]();while(this[_0x4ca419(0x289)]()['type']==='op'&&this['peek']()[_0x4ca419(0x275)]==='%'){this[_0x4ca419(0x2b7)](),_0x4642e1={'type':'percent','expr':_0x4642e1};}return _0x4642e1;}[_0xda391e(0x26a)](){const _0x361e28=_0xda391e,_0x4ab74e=this[_0x361e28(0x289)]();if(_0x4ab74e[_0x361e28(0x293)]===_0x361e28(0x237))return this[_0x361e28(0x2b7)](),{'type':_0x361e28(0x237),'value':Number(_0x4ab74e[_0x361e28(0x275)])};if(_0x4ab74e[_0x361e28(0x293)]===_0x361e28(0x268))return this[_0x361e28(0x2b7)](),{'type':_0x361e28(0x268),'value':_0x4ab74e[_0x361e28(0x275)]};if(_0x4ab74e[_0x361e28(0x293)]===_0x361e28(0x34a)){this[_0x361e28(0x2b7)]();const _0x3168e6=parseA1Single(_0x4ab74e[_0x361e28(0x275)])??parseInternalR1C1Ref(_0x4ab74e[_0x361e28(0x275)]);if(!_0x3168e6)throw new Error(_0x361e28(0x427)+_0x4ab74e[_0x361e28(0x275)]+'\x22');return{'type':'ref','sheet':_0x3168e6[_0x361e28(0x1f6)],'r':_0x3168e6['r'],'c':_0x3168e6['c'],'absR':_0x3168e6[_0x361e28(0x2bc)],'absC':_0x3168e6['absC']};}if(_0x4ab74e[_0x361e28(0x293)]===_0x361e28(0x312)){this[_0x361e28(0x2b7)]();const _0x3677bf=parseA1Ref(_0x4ab74e[_0x361e28(0x275)]);if(!_0x3677bf||_0x3677bf['kind']!=='range')throw new Error(_0x361e28(0x3d9)+_0x4ab74e[_0x361e28(0x275)]+'\x22');return{'type':'range','sheet':_0x3677bf[_0x361e28(0x1f6)],'r1':_0x3677bf['r1'],'c1':_0x3677bf['c1'],'r2':_0x3677bf['r2'],'c2':_0x3677bf['c2']};}if(_0x4ab74e['type']===_0x361e28(0x42a)){this['eat']();const _0x4c5174=_0x4ab74e[_0x361e28(0x275)],_0x48dfad=_0x4c5174[_0x361e28(0x235)]();if(_0x48dfad===_0x361e28(0x348)||_0x48dfad===_0x361e28(0x35a))return{'type':_0x361e28(0x370),'value':_0x48dfad===_0x361e28(0x348)};if(this[_0x361e28(0x289)]()['type']===_0x361e28(0x323)){this[_0x361e28(0x2b7)]();const _0x1defe0=[];if(this[_0x361e28(0x289)]()[_0x361e28(0x293)]!==_0x361e28(0x2e3)){_0x1defe0[_0x361e28(0x3d3)](this[_0x361e28(0x31d)](0x0));while(this['peek']()[_0x361e28(0x293)]==='comma'||this[_0x361e28(0x289)]()['type']===_0x361e28(0x271)){this['eat'](),_0x1defe0[_0x361e28(0x3d3)](this[_0x361e28(0x31d)](0x0));}}const _0x232247=this['eat']();if(_0x232247['type']!==_0x361e28(0x2e3))throw new Error('PARSE:\x20缺少\x20\x27)\x27');return{'type':'call','name':_0x4c5174[_0x361e28(0x235)](),'args':_0x1defe0};}return{'type':_0x361e28(0x35c),'name':_0x4c5174};}if(_0x4ab74e[_0x361e28(0x293)]==='lparen'){this[_0x361e28(0x2b7)]();const _0x29dd31=this['parseExpr'](0x0),_0x46ce03=this['eat']();if(_0x46ce03['type']!==_0x361e28(0x2e3))throw new Error('PARSE:\x20缺少\x20\x27)\x27');return _0x29dd31;}throw new Error(_0x361e28(0x3a6)+_0x4ab74e[_0x361e28(0x275)]+'\x22\x20@'+_0x4ab74e[_0x361e28(0x1f7)]);}};function parseFormula(_0x1a6ef1){const _0x5b153b=_0xda391e;return new Parser(_0x1a6ef1)[_0x5b153b(0x29f)]();}function gridNodeId(_0x21dc5a,_0x3db067,_0x1428b1){const _0x3514cb=_0xda391e;return _0x3514cb(0x28f)+_0x21dc5a+'!'+_0x3db067+','+_0x1428b1;}function mainFieldNodeId(_0x4a5579){const _0x790cf9=_0xda391e;return _0x790cf9(0x364)+_0x4a5579;}function subFieldNodeId(_0x23978e,_0x15fedb,_0x40d220){const _0x400636=_0xda391e;return _0x400636(0x2b2)+_0x23978e+'.'+_0x15fedb+'#'+_0x40d220;}function scriptNodeId(_0x31d8db,_0x53f26e,_0x366d80){const _0x191ac3=_0xda391e;if(_0x53f26e==null||_0x366d80==null)return _0x191ac3(0x1ec)+_0x31d8db;return'script:'+_0x31d8db+'#s'+_0x366d80+'r'+_0x53f26e;}var DepGraph=class{[_0xda391e(0x3c5)]=new Map();[_0xda391e(0x37c)]=new Map();[_0xda391e(0x287)]=new Set();[_0xda391e(0x2b3)](_0x36bbfa){const _0xf0ad80=_0xda391e;this[_0xf0ad80(0x287)][_0xf0ad80(0x44a)](_0x36bbfa);if(!this[_0xf0ad80(0x3c5)]['has'](_0x36bbfa))this[_0xf0ad80(0x3c5)][_0xf0ad80(0x40e)](_0x36bbfa,new Set());if(!this[_0xf0ad80(0x37c)]['has'](_0x36bbfa))this[_0xf0ad80(0x37c)][_0xf0ad80(0x40e)](_0x36bbfa,new Set());}[_0xda391e(0x21c)](_0x190e43,_0x50662a){const _0x5393e6=_0xda391e;this['addNode'](_0x190e43),this[_0x5393e6(0x2b3)](_0x50662a),this[_0x5393e6(0x3c5)][_0x5393e6(0x446)](_0x50662a)[_0x5393e6(0x44a)](_0x190e43),this['inEdges']['get'](_0x190e43)[_0x5393e6(0x44a)](_0x50662a);}[_0xda391e(0x305)](_0x4fbceb){const _0x383e02=_0xda391e;return this[_0x383e02(0x287)][_0x383e02(0x2d3)](_0x4fbceb);}['dependenciesOf'](_0x44a9b6){const _0xb2500e=_0xda391e;return[...this[_0xb2500e(0x37c)][_0xb2500e(0x446)](_0x44a9b6)??[]];}[_0xda391e(0x25c)](_0x2e8ebf){const _0x1e82ba=_0xda391e;return[...this['outEdges'][_0x1e82ba(0x446)](_0x2e8ebf)??[]];}[_0xda391e(0x2a7)](){const _0x4a855b=_0xda391e;return[...this[_0x4a855b(0x287)]];}['topoSort'](){const _0x205238=_0xda391e,_0x5429a2=new Map();for(const _0x3f2b8b of this[_0x205238(0x287)])_0x5429a2['set'](_0x3f2b8b,(this[_0x205238(0x37c)]['get'](_0x3f2b8b)??new Set())[_0x205238(0x258)]);const _0x57ac3e=[];_0x5429a2['forEach']((_0x53049e,_0x1dd221)=>{const _0x34ec20=_0x205238;if(_0x53049e===0x0)_0x57ac3e[_0x34ec20(0x3d3)](_0x1dd221);});const _0x360a53=[];while(_0x57ac3e[_0x205238(0x33a)]){const _0x4299c0=_0x57ac3e['shift']();_0x360a53[_0x205238(0x3d3)](_0x4299c0);for(const _0x542ed4 of this[_0x205238(0x3c5)][_0x205238(0x446)](_0x4299c0)??[]){const _0x455036=(_0x5429a2[_0x205238(0x446)](_0x542ed4)??0x0)-0x1;_0x5429a2['set'](_0x542ed4,_0x455036);if(_0x455036===0x0)_0x57ac3e['push'](_0x542ed4);}}const _0x59d5fb=new Set();for(const _0x2fb8f7 of this['allNodes'])if(!_0x360a53[_0x205238(0x23f)](_0x2fb8f7))_0x59d5fb[_0x205238(0x44a)](_0x2fb8f7);return{'order':_0x360a53,'cyclic':_0x59d5fb};}['dirtyClosure'](_0x4c5191){const _0x252282=_0xda391e,_0x5ba15c=new Set(),_0x7eadae=[];for(const _0x343d3c of _0x4c5191)_0x7eadae[_0x252282(0x3d3)](_0x343d3c);while(_0x7eadae[_0x252282(0x33a)]){const _0x4c6433=_0x7eadae[_0x252282(0x3f2)]();if(_0x5ba15c['has'](_0x4c6433))continue;_0x5ba15c[_0x252282(0x44a)](_0x4c6433);for(const _0x2eeebf of this[_0x252282(0x3c5)]['get'](_0x4c6433)??[])_0x7eadae[_0x252282(0x3d3)](_0x2eeebf);}return _0x5ba15c;}['clear'](){const _0x5d77ba=_0xda391e;this[_0x5d77ba(0x3c5)][_0x5d77ba(0x329)](),this[_0x5d77ba(0x37c)][_0x5d77ba(0x329)](),this[_0x5d77ba(0x287)][_0x5d77ba(0x329)]();}};function flatten(_0x2c7e02){const _0x3be792=_0xda391e,_0x3fbe92=[];for(const _0x82226d of _0x2c7e02){if(_0x82226d['k']===_0x3be792(0x2f9))return _0x82226d;if(_0x82226d['k']===_0x3be792(0x404)){let _0x20f876=null;forEachArrayValue(_0x82226d,_0x513f2d=>{const _0x558af2=_0x3be792;if(_0x20f876)return;if(_0x513f2d['k']===_0x558af2(0x2f9))_0x20f876=_0x513f2d;else _0x3fbe92[_0x558af2(0x3d3)](_0x513f2d);});if(_0x20f876)return _0x20f876;}else _0x3fbe92[_0x3be792(0x3d3)](_0x82226d);}return _0x3fbe92;}function toNums(_0xb42e59){const _0x8cd3=_0xda391e,_0x20d3c1=flatten(_0xb42e59);if(!Array[_0x8cd3(0x294)](_0x20d3c1))return _0x20d3c1;const _0x4d887c=[];for(const _0x219e9f of _0x20d3c1){if(_0x219e9f['k']===_0x8cd3(0x1f0))continue;if(_0x219e9f['k']===_0x8cd3(0x268)&&_0x219e9f['v']['trim']()==='')continue;const _0x3cde3d=coerceNum(_0x219e9f);if(_0x3cde3d==null)return vErr(_0x8cd3(0x218),'\u671F\u671B\u6570\u5B57');_0x4d887c[_0x8cd3(0x3d3)](_0x3cde3d);}return _0x4d887c;}function first(_0x341e94){const _0x9afd69=_0xda391e,_0x196d37=flatten(_0x341e94);if(!Array[_0x9afd69(0x294)](_0x196d37))return _0x196d37;return _0x196d37[0x0]??V_NULL;}var FUNCTIONS={'SUM':_0x5ad334=>{const _0x167fb9=_0xda391e,_0x39c7c4=toNums(_0x5ad334);if(!Array['isArray'](_0x39c7c4))return _0x39c7c4;return vNum(_0x39c7c4[_0x167fb9(0x1fe)]((_0x2c9677,_0x46aba6)=>_0x2c9677+_0x46aba6,0x0));},'AVG':_0x5274f3=>FUNCTIONS[_0xda391e(0x418)](_0x5274f3),'AVERAGE':_0x4a8a98=>{const _0x42c0a3=_0xda391e,_0x672bf1=toNums(_0x4a8a98);if(!Array['isArray'](_0x672bf1))return _0x672bf1;if(_0x672bf1[_0x42c0a3(0x33a)]===0x0)return vErr(_0x42c0a3(0x22e));return vNum(_0x672bf1['reduce']((_0x51ea5e,_0x570460)=>_0x51ea5e+_0x570460,0x0)/_0x672bf1[_0x42c0a3(0x33a)]);},'MIN':_0x4b8e85=>{const _0x563469=_0xda391e,_0x29dc4a=toNums(_0x4b8e85);if(!Array[_0x563469(0x294)](_0x29dc4a))return _0x29dc4a;if(_0x29dc4a[_0x563469(0x33a)]===0x0)return vNum(0x0);return vNum(Math[_0x563469(0x44d)](..._0x29dc4a));},'MAX':_0x50841c=>{const _0x91f953=_0xda391e,_0x1fa1ae=toNums(_0x50841c);if(!Array[_0x91f953(0x294)](_0x1fa1ae))return _0x1fa1ae;if(_0x1fa1ae[_0x91f953(0x33a)]===0x0)return vNum(0x0);return vNum(Math[_0x91f953(0x206)](..._0x1fa1ae));},'COUNT':_0x39fa8e=>{const _0x570844=_0xda391e;let _0x559836=0x0;for(const _0x111e00 of _0x39fa8e){if(_0x111e00['k']===_0x570844(0x2f9))return _0x111e00;if(_0x111e00['k']==='arr')forEachArrayValue(_0x111e00,_0x5edd4e=>{const _0x594428=_0x570844;if(_0x5edd4e['k']===_0x594428(0x237))_0x559836+=0x1;else{if(_0x5edd4e['k']==='str'&&_0x5edd4e['v'][_0x594428(0x33d)]()!==''&&coerceNum(_0x5edd4e)!=null)_0x559836+=0x1;}});else{if(_0x111e00['k']===_0x570844(0x237))_0x559836+=0x1;else{if(_0x111e00['k']==='str'&&_0x111e00['v'][_0x570844(0x33d)]()!==''&&coerceNum(_0x111e00)!=null)_0x559836+=0x1;}}}return vNum(_0x559836);},'COUNTA':_0x570778=>{const _0x33dc6c=_0xda391e;let _0x29ef36=0x0;for(const _0x5dbf75 of _0x570778){if(_0x5dbf75['k']===_0x33dc6c(0x2f9))return _0x5dbf75;if(_0x5dbf75['k']===_0x33dc6c(0x404))forEachArrayValue(_0x5dbf75,_0x510ac5=>{const _0xf8eb49=_0x33dc6c;if(_0x510ac5['k']!==_0xf8eb49(0x1f0)&&!(_0x510ac5['k']==='str'&&_0x510ac5['v']===''))_0x29ef36+=0x1;});else{if(_0x5dbf75['k']!==_0x33dc6c(0x1f0)&&!(_0x5dbf75['k']==='str'&&_0x5dbf75['v']===''))_0x29ef36+=0x1;}}return vNum(_0x29ef36);},'IF':_0x319115=>{const _0x46b7bb=_0xda391e;if(_0x319115[_0x46b7bb(0x33a)]<0x2)return vErr(_0x46b7bb(0x218),_0x46b7bb(0x3c7));const _0x42ec98=first([_0x319115[0x0]]);if(_0x42ec98['k']==='err')return _0x42ec98;const _0x69d77b=coerceBool(_0x42ec98);if(_0x69d77b==null)return vErr(_0x46b7bb(0x218),_0x46b7bb(0x32a));const _0x5596ec=_0x319115[0x1],_0x536d00=_0x319115[0x2]??V_NULL,_0x494fa9=_0x69d77b?_0x5596ec:_0x536d00;return _0x494fa9['k']===_0x46b7bb(0x404)?first([_0x494fa9]):_0x494fa9;},'IFS':_0xbb3840=>{const _0x23c96d=_0xda391e;if(_0xbb3840[_0x23c96d(0x33a)]<0x2||_0xbb3840[_0x23c96d(0x33a)]%0x2!==0x0)return vErr('#VALUE','IFS\x20\u53C2\u6570\u987B\u6210\u5BF9');for(let _0x4c29f2=0x0;_0x4c29f2<_0xbb3840[_0x23c96d(0x33a)];_0x4c29f2+=0x2){const _0x15aa59=first([_0xbb3840[_0x4c29f2]]);if(_0x15aa59['k']===_0x23c96d(0x2f9))return _0x15aa59;const _0xe5b14a=coerceBool(_0x15aa59);if(_0xe5b14a==null)return vErr('#VALUE');if(_0xe5b14a){const _0x3a0c72=_0xbb3840[_0x4c29f2+0x1];return _0x3a0c72['k']===_0x23c96d(0x404)?first([_0x3a0c72]):_0x3a0c72;}}return vErr(_0x23c96d(0x218),_0x23c96d(0x22b));},'ROUND':_0x4800bf=>{const _0x6334a0=_0xda391e;if(_0x4800bf[_0x6334a0(0x33a)]<0x1)return vErr(_0x6334a0(0x218));const _0x5c38ee=coerceNum(first([_0x4800bf[0x0]])),_0x3664f6=_0x4800bf[_0x6334a0(0x33a)]>=0x2?coerceNum(first([_0x4800bf[0x1]])):0x0;if(_0x5c38ee==null||_0x3664f6==null)return vErr(_0x6334a0(0x218));const _0x58544c=Math['floor'](_0x3664f6),_0x8d7fc0=0xa**_0x58544c;return vNum(Math[_0x6334a0(0x24b)](_0x5c38ee*_0x8d7fc0)/_0x8d7fc0);},'ROUNDUP':_0x3e7395=>{const _0xe19d59=_0xda391e,_0x361bad=coerceNum(first([_0x3e7395[0x0]])),_0x57f97a=_0x3e7395[_0xe19d59(0x33a)]>=0x2?coerceNum(first([_0x3e7395[0x1]])):0x0;if(_0x361bad==null||_0x57f97a==null)return vErr(_0xe19d59(0x218));const _0x205e35=Math[_0xe19d59(0x207)](_0x57f97a),_0x476e4a=0xa**_0x205e35;return vNum((_0x361bad<0x0?Math[_0xe19d59(0x207)](_0x361bad*_0x476e4a):Math[_0xe19d59(0x32d)](_0x361bad*_0x476e4a))/_0x476e4a);},'ROUNDDOWN':_0x53ef42=>{const _0x5371dd=_0xda391e,_0x32536a=coerceNum(first([_0x53ef42[0x0]])),_0x32f706=_0x53ef42[_0x5371dd(0x33a)]>=0x2?coerceNum(first([_0x53ef42[0x1]])):0x0;if(_0x32536a==null||_0x32f706==null)return vErr(_0x5371dd(0x218));const _0x5adde7=Math['floor'](_0x32f706),_0x35eaea=0xa**_0x5adde7;return vNum((_0x32536a<0x0?Math[_0x5371dd(0x32d)](_0x32536a*_0x35eaea):Math[_0x5371dd(0x207)](_0x32536a*_0x35eaea))/_0x35eaea);},'ABS':_0x35db01=>{const _0x5a3254=_0xda391e,_0x15ad8b=coerceNum(first([_0x35db01[0x0]]));if(_0x15ad8b==null)return vErr(_0x5a3254(0x218));return vNum(Math[_0x5a3254(0x21d)](_0x15ad8b));},'CONCAT':_0x3b0a6e=>{const _0x590345=_0xda391e,_0x852baf=flatten(_0x3b0a6e);if(!Array[_0x590345(0x294)](_0x852baf))return _0x852baf;return vStr(_0x852baf[_0x590345(0x43c)](coerceStr)[_0x590345(0x213)](''));},'CONCATENATE':_0x4bbace=>FUNCTIONS['CONCAT'](_0x4bbace),'LEN':_0x8719ad=>{const _0x587e36=_0xda391e,_0xb2175=coerceStr(first([_0x8719ad[0x0]]));return vNum([..._0xb2175][_0x587e36(0x33a)]);},'LEFT':_0x4881e3=>{const _0x1bdfa8=_0xda391e,_0x5cc4c5=coerceStr(first([_0x4881e3[0x0]])),_0x47232a=_0x4881e3[_0x1bdfa8(0x33a)]>=0x2?coerceNum(first([_0x4881e3[0x1]])):0x1;if(_0x47232a==null)return vErr(_0x1bdfa8(0x218));return vStr([..._0x5cc4c5][_0x1bdfa8(0x32f)](0x0,Math[_0x1bdfa8(0x206)](0x0,Math['floor'](_0x47232a)))[_0x1bdfa8(0x213)](''));},'RIGHT':_0x174c91=>{const _0x149bd8=_0xda391e,_0x11aeed=coerceStr(first([_0x174c91[0x0]])),_0x19aba8=_0x174c91[_0x149bd8(0x33a)]>=0x2?coerceNum(first([_0x174c91[0x1]])):0x1;if(_0x19aba8==null)return vErr(_0x149bd8(0x218));const _0x202938=[..._0x11aeed],_0x5d2fe8=Math[_0x149bd8(0x206)](0x0,Math[_0x149bd8(0x207)](_0x19aba8));return vStr(_0x202938[_0x149bd8(0x32f)](_0x202938[_0x149bd8(0x33a)]-_0x5d2fe8)['join'](''));},'MID':_0xe571de=>{const _0x27ff77=_0xda391e,_0xe27df8=coerceStr(first([_0xe571de[0x0]])),_0x129c72=coerceNum(first([_0xe571de[0x1]])),_0x3328ec=coerceNum(first([_0xe571de[0x2]]));if(_0x129c72==null||_0x3328ec==null)return vErr('#VALUE');const _0x130528=[..._0xe27df8],_0x55d5ae=Math[_0x27ff77(0x206)](0x0,Math['floor'](_0x129c72)-0x1);return vStr(_0x130528[_0x27ff77(0x32f)](_0x55d5ae,_0x55d5ae+Math[_0x27ff77(0x206)](0x0,Math[_0x27ff77(0x207)](_0x3328ec)))[_0x27ff77(0x213)](''));},'TEXT':_0x268492=>{const _0x541ff8=_0xda391e,_0x1488eb=coerceNum(first([_0x268492[0x0]])),_0x392be6=coerceStr(first([_0x268492[0x1]??V_NULL]));if(_0x1488eb==null)return vErr(_0x541ff8(0x218));const _0x1820c2=/^0(?:\.(0+))?$/['exec'](_0x392be6['trim']());if(!_0x1820c2)return vStr(String(_0x1488eb));const _0x253164=_0x1820c2[0x1]?_0x1820c2[0x1]['length']:0x0;return vStr(_0x1488eb[_0x541ff8(0x38c)](_0x253164));},'TODAY':()=>{const _0x1d58fa=_0xda391e,_0x5924d8=new Date(),_0x1673f7=_0x5924d8[_0x1d58fa(0x43e)](),_0x5c9ecf=String(_0x5924d8[_0x1d58fa(0x405)]()+0x1)[_0x1d58fa(0x393)](0x2,'0'),_0x22501d=String(_0x5924d8[_0x1d58fa(0x2fc)]())[_0x1d58fa(0x393)](0x2,'0');return vStr(_0x1673f7+'-'+_0x5c9ecf+'-'+_0x22501d);},'NOW':()=>{const _0xad98af=_0xda391e;return vStr(new Date()[_0xad98af(0x444)]());},'AND':_0x24861e=>{const _0x2ed24b=_0xda391e,_0x10073d=flatten(_0x24861e);if(!Array[_0x2ed24b(0x294)](_0x10073d))return _0x10073d;for(const _0x87292b of _0x10073d){const _0x34771e=coerceBool(_0x87292b);if(_0x34771e==null)return vErr(_0x2ed24b(0x218));if(!_0x34771e)return vBool(![]);}return vBool(!![]);},'OR':_0x2bb309=>{const _0x14ebdf=_0xda391e,_0x5f2cc0=flatten(_0x2bb309);if(!Array[_0x14ebdf(0x294)](_0x5f2cc0))return _0x5f2cc0;for(const _0x54ef2a of _0x5f2cc0){const _0x27ca7e=coerceBool(_0x54ef2a);if(_0x27ca7e==null)return vErr(_0x14ebdf(0x218));if(_0x27ca7e)return vBool(!![]);}return vBool(![]);},'NOT':_0x54ffdd=>{const _0x4e0452=_0xda391e,_0x3ed821=coerceBool(first([_0x54ffdd[0x0]]));if(_0x3ed821==null)return vErr(_0x4e0452(0x218));return vBool(!_0x3ed821);}},KEYWORDS=new Set([_0xda391e(0x378),_0xda391e(0x3ff),'if',_0xda391e(0x2d6),_0xda391e(0x270),'of',_0xda391e(0x30c),_0xda391e(0x295),_0xda391e(0x3ae),'null',_0xda391e(0x26f)]),PUNCTS_3=[_0xda391e(0x2e8),_0xda391e(0x39d),_0xda391e(0x236)],PUNCTS_2=['==','!=','<=','>=','&&','||','??','=>','**','?.','+=','-=','*=','/='],PUNCTS_1=_0xda391e(0x421);function isIdentStart2(_0x12e92f){return _0x12e92f>='A'&&_0x12e92f<='Z'||_0x12e92f>='a'&&_0x12e92f<='z'||_0x12e92f==='_'||_0x12e92f==='$';}function isIdentCont2(_0x257b19){return isIdentStart2(_0x257b19)||_0x257b19>='0'&&_0x257b19<='9';}function sjsTokenize(_0x23a007){const _0xa3cb21=_0xda391e,_0x20b8b2=[];let _0x3b341c=0x0;const _0x57e380=_0x23a007['length'];while(_0x3b341c<_0x57e380){const _0x393e30=_0x23a007[_0x3b341c];if(_0x393e30==='\x20'||_0x393e30==='\x09'||_0x393e30==='\x0a'||_0x393e30==='\x0d'){_0x3b341c+=0x1;continue;}if(_0x393e30==='/'&&_0x23a007[_0x3b341c+0x1]==='/'){while(_0x3b341c<_0x57e380&&_0x23a007[_0x3b341c]!=='\x0a')_0x3b341c+=0x1;continue;}if(_0x393e30==='/'&&_0x23a007[_0x3b341c+0x1]==='*'){_0x3b341c+=0x2;while(_0x3b341c<_0x57e380&&!(_0x23a007[_0x3b341c]==='*'&&_0x23a007[_0x3b341c+0x1]==='/'))_0x3b341c+=0x1;_0x3b341c+=0x2;continue;}if(_0x393e30>='0'&&_0x393e30<='9'||_0x393e30==='.'&&_0x23a007[_0x3b341c+0x1]>='0'&&_0x23a007[_0x3b341c+0x1]<='9'){const _0x82d231=_0x3b341c;let _0xe2418b='';while(_0x3b341c<_0x57e380&&(_0x23a007[_0x3b341c]>='0'&&_0x23a007[_0x3b341c]<='9'||_0x23a007[_0x3b341c]==='.')){_0xe2418b+=_0x23a007[_0x3b341c],_0x3b341c+=0x1;}if(_0x3b341c<_0x57e380&&(_0x23a007[_0x3b341c]==='e'||_0x23a007[_0x3b341c]==='E')){_0xe2418b+=_0x23a007[_0x3b341c],_0x3b341c+=0x1;(_0x23a007[_0x3b341c]==='+'||_0x23a007[_0x3b341c]==='-')&&(_0xe2418b+=_0x23a007[_0x3b341c],_0x3b341c+=0x1);while(_0x3b341c<_0x57e380&&_0x23a007[_0x3b341c]>='0'&&_0x23a007[_0x3b341c]<='9'){_0xe2418b+=_0x23a007[_0x3b341c],_0x3b341c+=0x1;}}_0x20b8b2[_0xa3cb21(0x3d3)]({'t':_0xa3cb21(0x237),'v':_0xe2418b,'pos':_0x82d231});continue;}if(_0x393e30==='\x22'||_0x393e30==='\x27'){const _0x51f3f8=_0x393e30,_0x44aacd=_0x3b341c;_0x3b341c+=0x1;let _0x14ca44='';while(_0x3b341c<_0x57e380&&_0x23a007[_0x3b341c]!==_0x51f3f8){if(_0x23a007[_0x3b341c]==='\x5c'){const _0x4dc79e=_0x23a007[_0x3b341c+0x1];if(_0x4dc79e==='n')_0x14ca44+='\x0a';else{if(_0x4dc79e==='t')_0x14ca44+='\x09';else{if(_0x4dc79e==='r')_0x14ca44+='\x0d';else{if(_0x4dc79e==='\x5c')_0x14ca44+='\x5c';else{if(_0x4dc79e===_0x51f3f8)_0x14ca44+=_0x51f3f8;else _0x14ca44+=_0x4dc79e??'';}}}}_0x3b341c+=0x2;continue;}_0x14ca44+=_0x23a007[_0x3b341c],_0x3b341c+=0x1;}_0x3b341c+=0x1,_0x20b8b2['push']({'t':'str','v':_0x14ca44,'pos':_0x44aacd});continue;}if(_0x393e30==='`'){const _0x48042d=_0x3b341c;_0x3b341c+=0x1;let _0x8af925='';while(_0x3b341c<_0x57e380&&_0x23a007[_0x3b341c]!=='`'){if(_0x23a007[_0x3b341c]==='$'&&_0x23a007[_0x3b341c+0x1]==='{')throw new Error(_0xa3cb21(0x3d4));_0x8af925+=_0x23a007[_0x3b341c],_0x3b341c+=0x1;}_0x3b341c+=0x1,_0x20b8b2[_0xa3cb21(0x3d3)]({'t':'tpl','v':_0x8af925,'pos':_0x48042d});continue;}if(isIdentStart2(_0x393e30)){const _0x5d84d1=_0x3b341c;let _0xa4c670='';while(_0x3b341c<_0x57e380&&isIdentCont2(_0x23a007[_0x3b341c])){_0xa4c670+=_0x23a007[_0x3b341c],_0x3b341c+=0x1;}if(KEYWORDS[_0xa3cb21(0x2d3)](_0xa4c670))_0x20b8b2[_0xa3cb21(0x3d3)]({'t':'kw','v':_0xa4c670,'pos':_0x5d84d1});else _0x20b8b2[_0xa3cb21(0x3d3)]({'t':_0xa3cb21(0x42a),'v':_0xa4c670,'pos':_0x5d84d1});continue;}const _0x1f12ae=_0x23a007[_0xa3cb21(0x32f)](_0x3b341c,_0x3b341c+0x3);if(PUNCTS_3['includes'](_0x1f12ae)){_0x20b8b2[_0xa3cb21(0x3d3)]({'t':'punct','v':_0x1f12ae,'pos':_0x3b341c}),_0x3b341c+=0x3;continue;}const _0x3788d0=_0x23a007[_0xa3cb21(0x32f)](_0x3b341c,_0x3b341c+0x2);if(PUNCTS_2[_0xa3cb21(0x23f)](_0x3788d0)){_0x20b8b2[_0xa3cb21(0x3d3)]({'t':'punct','v':_0x3788d0,'pos':_0x3b341c}),_0x3b341c+=0x2;continue;}if(PUNCTS_1[_0xa3cb21(0x41d)](_0x393e30)>=0x0){_0x20b8b2['push']({'t':_0xa3cb21(0x234),'v':_0x393e30,'pos':_0x3b341c}),_0x3b341c+=0x1;continue;}throw new Error('SJS:\x20非法字符\x20\x22'+_0x393e30+_0xa3cb21(0x229)+_0x3b341c);}return _0x20b8b2['push']({'t':_0xa3cb21(0x2e4),'v':'','pos':_0x57e380}),_0x20b8b2;}var SjsParser=class{[_0xda391e(0x34f)];['i']=0x0;constructor(_0x199812){this['toks']=sjsTokenize(_0x199812);}[_0xda391e(0x289)](_0x4551a5=0x0){const _0x1c4aeb=_0xda391e;return this[_0x1c4aeb(0x34f)][this['i']+_0x4551a5];}[_0xda391e(0x2b7)](){const _0x4c4388=_0xda391e;return this[_0x4c4388(0x34f)][this['i']++];}[_0xda391e(0x255)](_0x2ff22f,_0x68aef2){const _0x373545=_0xda391e,_0x512a6e=this[_0x373545(0x289)]();if(_0x512a6e['t']!==_0x2ff22f||_0x68aef2!=null&&_0x512a6e['v']!==_0x68aef2)throw new Error(_0x373545(0x317)+_0x2ff22f+(_0x68aef2?'\x20\x27'+_0x68aef2+'\x27':'')+_0x373545(0x441)+_0x512a6e['v']+_0x373545(0x3ed)+_0x512a6e[_0x373545(0x1f7)]);return this[_0x373545(0x2b7)]();}[_0xda391e(0x3fe)](_0x552835,_0x39ebf9){const _0x263ecc=_0xda391e,_0x1249d6=this[_0x263ecc(0x289)]();if(_0x1249d6['t']!==_0x552835)return![];if(_0x39ebf9!=null&&_0x1249d6['v']!==_0x39ebf9)return![];return!![];}[_0xda391e(0x313)](){const _0x1a303d=_0xda391e,_0xfcb043=[];while(!this['match'](_0x1a303d(0x2e4))){_0xfcb043['push'](this[_0x1a303d(0x2cb)]());}return{'body':_0xfcb043};}['parseExprOnly'](){const _0x29dc12=_0xda391e,_0x1bbe56=this[_0x29dc12(0x20a)]();if(!this[_0x29dc12(0x3fe)](_0x29dc12(0x2e4))&&!this[_0x29dc12(0x3fe)]('punct',';'))throw new Error(_0x29dc12(0x249)+this[_0x29dc12(0x289)]()['v']+'\x27');return _0x1bbe56;}['parseStmt'](){const _0x25a9e9=_0xda391e;if(this['match']('kw',_0x25a9e9(0x378))||this[_0x25a9e9(0x3fe)]('kw',_0x25a9e9(0x3ff))){const _0x10f9fa=this[_0x25a9e9(0x2b7)](),_0x42d855=this[_0x25a9e9(0x255)](_0x25a9e9(0x42a))['v'];let _0x28e322;this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),'=')&&(this['eat'](),_0x28e322=this['parseAssign']());if(this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),';'))this[_0x25a9e9(0x2b7)]();return{'t':'VarDecl','kind':_0x10f9fa['v'],'name':_0x42d855,'init':_0x28e322};}if(this[_0x25a9e9(0x3fe)]('kw','if')){this['eat'](),this[_0x25a9e9(0x255)]('punct','(');const _0x4b39f8=this[_0x25a9e9(0x20a)]();this[_0x25a9e9(0x255)]('punct',')');const _0x21b2de=this[_0x25a9e9(0x42b)]();let _0x58b61a;return this[_0x25a9e9(0x3fe)]('kw',_0x25a9e9(0x2d6))&&(this[_0x25a9e9(0x2b7)](),_0x58b61a=this['parseBlockOrStmt']()),{'t':'If','cond':_0x4b39f8,'then':_0x21b2de,'else':_0x58b61a};}if(this[_0x25a9e9(0x3fe)]('kw',_0x25a9e9(0x270))){this['eat'](),this[_0x25a9e9(0x255)](_0x25a9e9(0x234),'(');if(!(this['match']('kw',_0x25a9e9(0x3ff))||this[_0x25a9e9(0x3fe)]('kw','let')))throw new Error(_0x25a9e9(0x423));this[_0x25a9e9(0x2b7)]();const _0x218528=this['expect']('ident')['v'];this['expect']('kw','of');const _0x257f74=this[_0x25a9e9(0x20a)]();this[_0x25a9e9(0x255)](_0x25a9e9(0x234),')');const _0x466ef=this['parseBlockOrStmt']();return{'t':_0x25a9e9(0x264),'name':_0x218528,'iter':_0x257f74,'body':_0x466ef};}if(this[_0x25a9e9(0x3fe)]('kw',_0x25a9e9(0x30c))){this['eat']();let _0x4a187a;!this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),';')&&!this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),'}')&&!this[_0x25a9e9(0x3fe)](_0x25a9e9(0x2e4))&&(_0x4a187a=this[_0x25a9e9(0x20a)]());if(this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),';'))this[_0x25a9e9(0x2b7)]();return{'t':_0x25a9e9(0x2a1),'arg':_0x4a187a};}if(this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),'{'))return{'t':_0x25a9e9(0x214),'body':this['parseBlock']()};const _0x5c5e21=this['parseAssign']();if(this[_0x25a9e9(0x3fe)](_0x25a9e9(0x234),';'))this[_0x25a9e9(0x2b7)]();return{'t':'ExprStmt','expr':_0x5c5e21};}[_0xda391e(0x42b)](){const _0x37d92e=_0xda391e;if(this[_0x37d92e(0x3fe)]('punct','{'))return this['parseBlock']();return[this[_0x37d92e(0x2cb)]()];}[_0xda391e(0x333)](){const _0x342f85=_0xda391e;this[_0x342f85(0x255)](_0x342f85(0x234),'{');const _0x9ac0e8=[];while(!this['match'](_0x342f85(0x234),'}')&&!this['match'](_0x342f85(0x2e4))){_0x9ac0e8[_0x342f85(0x3d3)](this[_0x342f85(0x2cb)]());}return this[_0x342f85(0x255)](_0x342f85(0x234),'}'),_0x9ac0e8;}['parseAssign'](){const _0x450f5b=_0xda391e,_0x4b2ceb=this['parseTernary'](),_0xc22265=this[_0x450f5b(0x289)](),_0x1b6201=_0xc22265['t']===_0x450f5b(0x234)&&_0xc22265['v']==='='||_0xc22265['t']===_0x450f5b(0x234)&&['+=','-=','*=','/=','**='][_0x450f5b(0x23f)](_0xc22265['v']);if(!_0x1b6201)return _0x4b2ceb;if(_0x4b2ceb['t']!=='Ident')throw new Error(_0x450f5b(0x407));const _0x59fdc9=this['eat']()['v'],_0xf2e886=this[_0x450f5b(0x20a)]();return{'t':_0x450f5b(0x28a),'op':_0x59fdc9,'name':_0x4b2ceb['name'],'value':_0xf2e886};}[_0xda391e(0x3ee)](){const _0x4e0fa5=_0xda391e,_0x4f78cb=this[_0x4e0fa5(0x30b)]();if(this['match'](_0x4e0fa5(0x234),'?')){this['eat']();const _0x40a3ac=this[_0x4e0fa5(0x20a)]();this['expect'](_0x4e0fa5(0x234),':');const _0x3b89de=this['parseAssign']();return{'t':_0x4e0fa5(0x3c6),'c':_0x4f78cb,'a':_0x40a3ac,'b':_0x3b89de};}return _0x4f78cb;}[_0xda391e(0x30b)](){const _0x132652=_0xda391e;let _0x3784ef=this[_0x132652(0x35e)]();while(this[_0x132652(0x3fe)](_0x132652(0x234),'||')||this[_0x132652(0x3fe)](_0x132652(0x234),'??')){const _0x4d5bb0=this[_0x132652(0x2b7)]()['v'],_0x782ae3=this[_0x132652(0x35e)]();_0x3784ef={'t':'Bin','op':_0x4d5bb0,'l':_0x3784ef,'r':_0x782ae3};}return _0x3784ef;}[_0xda391e(0x35e)](){const _0x39e8a3=_0xda391e;let _0x2bf8c0=this[_0x39e8a3(0x3f7)]();while(this[_0x39e8a3(0x3fe)](_0x39e8a3(0x234),'&&')){this[_0x39e8a3(0x2b7)]();const _0x616e58=this[_0x39e8a3(0x3f7)]();_0x2bf8c0={'t':'Bin','op':'&&','l':_0x2bf8c0,'r':_0x616e58};}return _0x2bf8c0;}['parseEq'](){const _0x5d0341=_0xda391e;let _0x2475ba=this['parseCmp']();while(this['match'](_0x5d0341(0x234),'==')||this[_0x5d0341(0x3fe)](_0x5d0341(0x234),'!=')||this[_0x5d0341(0x3fe)](_0x5d0341(0x234),_0x5d0341(0x2e8))||this['match']('punct',_0x5d0341(0x39d))){const _0x28cec0=this[_0x5d0341(0x2b7)]()['v'],_0x29c10c=this[_0x5d0341(0x39b)]();_0x2475ba={'t':_0x5d0341(0x372),'op':_0x28cec0,'l':_0x2475ba,'r':_0x29c10c};}return _0x2475ba;}[_0xda391e(0x39b)](){const _0x1169dd=_0xda391e;let _0x5ae611=this[_0x1169dd(0x2bf)]();while(this[_0x1169dd(0x3fe)](_0x1169dd(0x234),'<')||this[_0x1169dd(0x3fe)](_0x1169dd(0x234),'<=')||this['match'](_0x1169dd(0x234),'>')||this[_0x1169dd(0x3fe)]('punct','>=')){const _0x5d61ad=this[_0x1169dd(0x2b7)]()['v'],_0x4b4898=this[_0x1169dd(0x2bf)]();_0x5ae611={'t':_0x1169dd(0x372),'op':_0x5d61ad,'l':_0x5ae611,'r':_0x4b4898};}return _0x5ae611;}[_0xda391e(0x2bf)](){const _0x46f8a3=_0xda391e;let _0x22ee13=this[_0x46f8a3(0x3e4)]();while(this[_0x46f8a3(0x3fe)](_0x46f8a3(0x234),'+')||this[_0x46f8a3(0x3fe)](_0x46f8a3(0x234),'-')){const _0x55ffab=this['eat']()['v'],_0x2626ca=this[_0x46f8a3(0x3e4)]();_0x22ee13={'t':'Bin','op':_0x55ffab,'l':_0x22ee13,'r':_0x2626ca};}return _0x22ee13;}[_0xda391e(0x3e4)](){const _0x2ecced=_0xda391e;let _0x28475c=this[_0x2ecced(0x24c)]();while(this['match'](_0x2ecced(0x234),'*')||this[_0x2ecced(0x3fe)](_0x2ecced(0x234),'/')||this[_0x2ecced(0x3fe)](_0x2ecced(0x234),'%')){const _0x3c6809=this[_0x2ecced(0x2b7)]()['v'],_0x2de9cc=this[_0x2ecced(0x24c)]();_0x28475c={'t':_0x2ecced(0x372),'op':_0x3c6809,'l':_0x28475c,'r':_0x2de9cc};}return _0x28475c;}[_0xda391e(0x24c)](){const _0x45b1de=_0xda391e,_0x5dc776=this[_0x45b1de(0x3ab)]();if(this[_0x45b1de(0x3fe)]('punct','**')){this['eat']();const _0x271cab=this['parsePow']();return{'t':'Bin','op':'**','l':_0x5dc776,'r':_0x271cab};}return _0x5dc776;}[_0xda391e(0x3ab)](){const _0x29898a=_0xda391e;if(this['match']('punct','+')||this[_0x29898a(0x3fe)](_0x29898a(0x234),'-')||this[_0x29898a(0x3fe)](_0x29898a(0x234),'!')){const _0x34a073=this['eat']()['v'],_0x305e7f=this[_0x29898a(0x3ab)]();return{'t':_0x29898a(0x2eb),'op':_0x34a073,'expr':_0x305e7f};}return this[_0x29898a(0x1ea)]();}[_0xda391e(0x1ea)](){const _0x442bf3=_0xda391e;let _0x16d0be=this['parsePrimary']();while(!![]){if(this[_0x442bf3(0x3fe)]('punct','.')){this['eat']();const _0x2678f6=this[_0x442bf3(0x255)]('ident')['v'];_0x16d0be={'t':_0x442bf3(0x2ff),'obj':_0x16d0be,'prop':_0x2678f6};continue;}if(this['match'](_0x442bf3(0x234),'?.')){this['eat']();if(this['match'](_0x442bf3(0x42a))){const _0x342425=this[_0x442bf3(0x2b7)]()['v'];_0x16d0be={'t':_0x442bf3(0x2ff),'obj':_0x16d0be,'prop':_0x342425,'optional':!![]};continue;}if(this[_0x442bf3(0x3fe)]('punct','[')){this['eat']();const _0x4e945b=this[_0x442bf3(0x20a)]();this[_0x442bf3(0x255)](_0x442bf3(0x234),']'),_0x16d0be={'t':_0x442bf3(0x43f),'obj':_0x16d0be,'idx':_0x4e945b,'optional':!![]};continue;}if(this[_0x442bf3(0x3fe)]('punct','(')){this[_0x442bf3(0x2b7)]();const _0xf4cc51=this['parseArgs']();_0x16d0be={'t':_0x442bf3(0x3e2),'callee':_0x16d0be,'args':_0xf4cc51,'optional':!![]};continue;}throw new Error('SJS:\x20\x27?.\x27\x20后语法错\x20\x27'+this[_0x442bf3(0x289)]()['v']+'\x27');}if(this[_0x442bf3(0x3fe)](_0x442bf3(0x234),'[')){this['eat']();const _0x5bfde0=this[_0x442bf3(0x20a)]();this[_0x442bf3(0x255)](_0x442bf3(0x234),']'),_0x16d0be={'t':'Index','obj':_0x16d0be,'idx':_0x5bfde0};continue;}if(this[_0x442bf3(0x3fe)](_0x442bf3(0x234),'(')){this['eat']();const _0xe5b7b1=this['parseArgs']();_0x16d0be={'t':'Call','callee':_0x16d0be,'args':_0xe5b7b1};continue;}break;}return _0x16d0be;}[_0xda391e(0x332)](){const _0xa6d0ec=_0xda391e,_0x43ac64=[];if(!this[_0xa6d0ec(0x3fe)](_0xa6d0ec(0x234),')')){_0x43ac64['push'](this[_0xa6d0ec(0x20a)]());while(this[_0xa6d0ec(0x3fe)](_0xa6d0ec(0x234),',')){this[_0xa6d0ec(0x2b7)](),_0x43ac64[_0xa6d0ec(0x3d3)](this[_0xa6d0ec(0x20a)]());}}return this[_0xa6d0ec(0x255)](_0xa6d0ec(0x234),')'),_0x43ac64;}[_0xda391e(0x26a)](){const _0x2ee79d=_0xda391e,_0x113e85=this[_0x2ee79d(0x289)]();if(_0x113e85['t']===_0x2ee79d(0x237))return this['eat'](),{'t':_0x2ee79d(0x26d),'v':Number(_0x113e85['v'])};if(_0x113e85['t']===_0x2ee79d(0x268)||_0x113e85['t']===_0x2ee79d(0x44b))return this[_0x2ee79d(0x2b7)](),{'t':'Str','v':_0x113e85['v']};if(_0x113e85['t']==='kw'&&(_0x113e85['v']===_0x2ee79d(0x295)||_0x113e85['v']===_0x2ee79d(0x3ae)))return this[_0x2ee79d(0x2b7)](),{'t':_0x2ee79d(0x359),'v':_0x113e85['v']===_0x2ee79d(0x295)};if(_0x113e85['t']==='kw'&&(_0x113e85['v']===_0x2ee79d(0x1f0)||_0x113e85['v']==='undefined'))return this[_0x2ee79d(0x2b7)](),{'t':_0x2ee79d(0x3d6)};if(_0x113e85['t']===_0x2ee79d(0x42a))return this['eat'](),{'t':_0x2ee79d(0x2a6),'name':_0x113e85['v']};if(_0x113e85['t']===_0x2ee79d(0x234)&&_0x113e85['v']==='('){this[_0x2ee79d(0x2b7)]();const _0x47fe29=this[_0x2ee79d(0x20a)]();return this[_0x2ee79d(0x255)](_0x2ee79d(0x234),')'),_0x47fe29;}if(_0x113e85['t']===_0x2ee79d(0x234)&&_0x113e85['v']==='['){this[_0x2ee79d(0x2b7)]();const _0x42f22e=[];if(!this['match'](_0x2ee79d(0x234),']')){_0x42f22e[_0x2ee79d(0x3d3)](this['parseAssign']());while(this[_0x2ee79d(0x3fe)](_0x2ee79d(0x234),',')){this[_0x2ee79d(0x2b7)]();if(this[_0x2ee79d(0x3fe)](_0x2ee79d(0x234),']'))break;_0x42f22e[_0x2ee79d(0x3d3)](this['parseAssign']());}}return this[_0x2ee79d(0x255)](_0x2ee79d(0x234),']'),{'t':_0x2ee79d(0x28e),'items':_0x42f22e};}if(_0x113e85['t']===_0x2ee79d(0x234)&&_0x113e85['v']==='{'){this[_0x2ee79d(0x2b7)]();const _0x6ed9e4=[];if(!this[_0x2ee79d(0x3fe)](_0x2ee79d(0x234),'}'))do{let _0x577e62;const _0x4d7748=this[_0x2ee79d(0x289)]();if(_0x4d7748['t']===_0x2ee79d(0x42a)||_0x4d7748['t']==='kw')this[_0x2ee79d(0x2b7)](),_0x577e62=_0x4d7748['v'];else{if(_0x4d7748['t']===_0x2ee79d(0x268))this['eat'](),_0x577e62=_0x4d7748['v'];else throw new Error(_0x2ee79d(0x2c9)+_0x4d7748['pos']);}this['expect'](_0x2ee79d(0x234),':');const _0x5ac959=this['parseAssign']();_0x6ed9e4['push']({'key':_0x577e62,'value':_0x5ac959});if(this[_0x2ee79d(0x3fe)](_0x2ee79d(0x234),','))this[_0x2ee79d(0x2b7)]();else break;}while(!this[_0x2ee79d(0x3fe)](_0x2ee79d(0x234),'}'));return this[_0x2ee79d(0x255)](_0x2ee79d(0x234),'}'),{'t':_0x2ee79d(0x230),'props':_0x6ed9e4};}throw new Error(_0x2ee79d(0x1f5)+_0x113e85['v']+_0x2ee79d(0x3ed)+_0x113e85['pos']);}};function parseSjsProgram(_0x17dc4f){const _0x3c58a3=_0xda391e;return new SjsParser(_0x17dc4f)[_0x3c58a3(0x313)]();}function parseSjsExpr(_0x536860){const _0x439c4e=_0xda391e;return new SjsParser(_0x536860)[_0x439c4e(0x266)]();}var SjsError=class extends Error{constructor(_0x2f0942){const _0x1c20ac=_0xda391e;super(_0x2f0942),this[_0x1c20ac(0x35c)]='SjsError';}},SjsCycleError=class extends SjsError{constructor(){const _0x5e0468=_0xda391e;super(_0x5e0468(0x239));}},FORBIDDEN_PROPS=new Set(['__proto__',_0xda391e(0x353),_0xda391e(0x3e7),_0xda391e(0x311),_0xda391e(0x23a),_0xda391e(0x433),_0xda391e(0x3ca),_0xda391e(0x2f1),_0xda391e(0x25d),'Function']);function safeMember(_0x5b92a8,_0x435e87){const _0xaa6a0d=_0xda391e;if(FORBIDDEN_PROPS[_0xaa6a0d(0x2d3)](_0x435e87))throw new SjsError(_0xaa6a0d(0x2be)+_0x435e87);if(_0x5b92a8==null)throw new SjsError(_0xaa6a0d(0x2b5)+_0x435e87);if(typeof _0x5b92a8===_0xaa6a0d(0x411)||Array[_0xaa6a0d(0x294)](_0x5b92a8)){if(_0x435e87===_0xaa6a0d(0x33a))return _0x5b92a8[_0xaa6a0d(0x33a)];if(Array[_0xaa6a0d(0x294)](_0x5b92a8)){if(_0x435e87==='at')return _0x504c84=>{const _0x31ba40=_0xaa6a0d,_0x5e6a3b=Number(_0x504c84);if(!Number['isFinite'](_0x5e6a3b))return void 0x0;const _0xd057b5=_0x5e6a3b<0x0?_0x5b92a8[_0x31ba40(0x33a)]+Math[_0x31ba40(0x416)](_0x5e6a3b):Math[_0x31ba40(0x416)](_0x5e6a3b);return _0x5b92a8[_0xd057b5];};if(_0x435e87===_0xaa6a0d(0x43c)||_0x435e87==='filter'||_0x435e87===_0xaa6a0d(0x399))throw new SjsError(_0xaa6a0d(0x40c)+_0x435e87+_0xaa6a0d(0x361));}}if(typeof _0x5b92a8===_0xaa6a0d(0x442)){const _0x165a86=_0x5b92a8;return _0x165a86[_0x435e87];}throw new SjsError('不能读取\x20'+typeof _0x5b92a8+'.'+_0x435e87);}function safeIndex(_0x43308a,_0x5102b8){const _0xd49452=_0xda391e;if(typeof _0x5102b8===_0xd49452(0x411))return safeMember(_0x43308a,_0x5102b8);if(_0x43308a==null)throw new SjsError('\u7D22\u5F15\u7A7A\u503C');const _0x2af613=Number(_0x5102b8);if(!Number[_0xd49452(0x391)](_0x2af613))return void 0x0;if(Array[_0xd49452(0x294)](_0x43308a)||typeof _0x43308a===_0xd49452(0x411))return _0x43308a[Math[_0xd49452(0x416)](_0x2af613)];throw new SjsError('\u5BF9\u8C61\u4E0D\u652F\u6301\u6570\u5B57\u7D22\u5F15');}var Scope=class _Scope{[_0xda391e(0x43c)]=new Map();[_0xda391e(0x31a)];constructor(_0x172bd4=null){const _0x8e2a6a=_0xda391e;this[_0x8e2a6a(0x31a)]=_0x172bd4;}[_0xda391e(0x351)](){return new _Scope(this);}[_0xda391e(0x1f3)](_0x1cecec,_0x2f4dda,_0x1a9281){const _0x785c5b=_0xda391e;if(this['map']['has'](_0x1cecec))throw new SjsError(_0x785c5b(0x368)+_0x1cecec);this['map'][_0x785c5b(0x40e)](_0x1cecec,{'value':_0x2f4dda,'kind':_0x1a9281});}[_0xda391e(0x446)](_0x2e9cfa){const _0x4d2de0=_0xda391e;if(this[_0x4d2de0(0x43c)]['has'](_0x2e9cfa))return this[_0x4d2de0(0x43c)]['get'](_0x2e9cfa)[_0x4d2de0(0x2d2)];if(this[_0x4d2de0(0x31a)])return this[_0x4d2de0(0x31a)][_0x4d2de0(0x446)](_0x2e9cfa);throw new SjsError(_0x4d2de0(0x41c)+_0x2e9cfa);}['set'](_0x25c89f,_0xb012d1){const _0xbdaf64=_0xda391e;if(this[_0xbdaf64(0x43c)][_0xbdaf64(0x2d3)](_0x25c89f)){const _0x1c70c5=this[_0xbdaf64(0x43c)][_0xbdaf64(0x446)](_0x25c89f);if(_0x1c70c5[_0xbdaf64(0x2ec)]===_0xbdaf64(0x3ff))throw new SjsError('禁止修改\x20const:\x20'+_0x25c89f);this['map']['set'](_0x25c89f,{'value':_0xb012d1,'kind':_0x1c70c5[_0xbdaf64(0x2ec)]});return;}if(this[_0xbdaf64(0x31a)])return this[_0xbdaf64(0x31a)][_0xbdaf64(0x40e)](_0x25c89f,_0xb012d1);throw new SjsError('未声明:\x20'+_0x25c89f);}[_0xda391e(0x2d3)](_0x582ed5){const _0x3bc764=_0xda391e;return this[_0x3bc764(0x43c)][_0x3bc764(0x2d3)](_0x582ed5)||(this[_0x3bc764(0x31a)]?this['parent'][_0x3bc764(0x2d3)](_0x582ed5):![]);}},ReturnSignal=class{constructor(_0x3674ce){const _0x23aff0=_0xda391e;this[_0x23aff0(0x2d2)]=_0x3674ce;}[_0xda391e(0x2d2)];};function evalExpr(_0x541ec7,_0x2b3f0f){const _0x1ecac6=_0xda391e;switch(_0x541ec7['t']){case _0x1ecac6(0x26d):return _0x541ec7['v'];case _0x1ecac6(0x401):return _0x541ec7['v'];case'Bool':return _0x541ec7['v'];case'Null':return null;case _0x1ecac6(0x2a6):return _0x2b3f0f[_0x1ecac6(0x446)](_0x541ec7[_0x1ecac6(0x35c)]);case _0x1ecac6(0x28e):return _0x541ec7[_0x1ecac6(0x3d7)][_0x1ecac6(0x43c)](_0x408dd1=>evalExpr(_0x408dd1,_0x2b3f0f));case'Obj':{const _0x25612f={};for(const _0x2eb7c2 of _0x541ec7[_0x1ecac6(0x3f8)])_0x25612f[_0x2eb7c2[_0x1ecac6(0x39e)]]=evalExpr(_0x2eb7c2[_0x1ecac6(0x2d2)],_0x2b3f0f);return _0x25612f;}case _0x1ecac6(0x2ff):{const _0x260ee2=evalExpr(_0x541ec7[_0x1ecac6(0x425)],_0x2b3f0f);if(_0x541ec7['optional']&&_0x260ee2==null)return void 0x0;const _0xa7288e=safeMember(_0x260ee2,_0x541ec7[_0x1ecac6(0x33c)]);return typeof _0xa7288e===_0x1ecac6(0x38f)?_0xa7288e:_0xa7288e;}case'Index':{const _0x2f6f62=evalExpr(_0x541ec7['obj'],_0x2b3f0f);if(_0x541ec7[_0x1ecac6(0x365)]&&_0x2f6f62==null)return void 0x0;const _0xe55c2f=evalExpr(_0x541ec7['idx'],_0x2b3f0f),_0x8bff6=safeIndex(_0x2f6f62,_0xe55c2f);return typeof _0x8bff6===_0x1ecac6(0x38f)?_0x8bff6:_0x8bff6;}case _0x1ecac6(0x3e2):{let _0x68ca62;if(_0x541ec7[_0x1ecac6(0x2ac)]['t']===_0x1ecac6(0x2ff)){const _0x4c6360=evalExpr(_0x541ec7[_0x1ecac6(0x2ac)]['obj'],_0x2b3f0f);if(_0x541ec7['callee']['optional']&&_0x4c6360==null)return void 0x0;const _0x486feb=safeMember(_0x4c6360,_0x541ec7[_0x1ecac6(0x2ac)][_0x1ecac6(0x33c)]);if(typeof _0x486feb!==_0x1ecac6(0x38f))throw new SjsError(_0x1ecac6(0x327)+_0x541ec7['callee'][_0x1ecac6(0x33c)]);_0x68ca62=_0x486feb;}else{const _0x23f879=evalExpr(_0x541ec7[_0x1ecac6(0x2ac)],_0x2b3f0f);if(_0x541ec7[_0x1ecac6(0x365)]&&_0x23f879==null)return void 0x0;if(typeof _0x23f879!==_0x1ecac6(0x38f))throw new SjsError(_0x1ecac6(0x3fa));_0x68ca62=_0x23f879;}const _0x7fd33=_0x541ec7[_0x1ecac6(0x1ef)]['map'](_0x3bb2e9=>evalExpr(_0x3bb2e9,_0x2b3f0f));return _0x68ca62(..._0x7fd33);}case'Unary':{const _0x1b9167=evalExpr(_0x541ec7[_0x1ecac6(0x415)],_0x2b3f0f);if(_0x541ec7['op']==='+')return Number(_0x1b9167);if(_0x541ec7['op']==='-')return-Number(_0x1b9167);return!_0x1b9167;}case'Bin':return applyBin(_0x541ec7['op'],evalExpr(_0x541ec7['l'],_0x2b3f0f),()=>evalExpr(_0x541ec7['r'],_0x2b3f0f));case'Tern':return evalExpr(_0x541ec7['c'],_0x2b3f0f)?evalExpr(_0x541ec7['a'],_0x2b3f0f):evalExpr(_0x541ec7['b'],_0x2b3f0f);case'Assign':{const _0x2a496f=evalExpr(_0x541ec7[_0x1ecac6(0x2d2)],_0x2b3f0f);let _0xe3e772;if(_0x541ec7['op']==='=')_0xe3e772=_0x2a496f;else{const _0x3a4c8a=_0x2b3f0f[_0x1ecac6(0x446)](_0x541ec7[_0x1ecac6(0x35c)]);if(_0x541ec7['op']==='+=')typeof _0x3a4c8a==='string'||typeof _0x2a496f===_0x1ecac6(0x411)?_0xe3e772=String(_0x3a4c8a??'')+String(_0x2a496f??''):_0xe3e772=Number(_0x3a4c8a)+Number(_0x2a496f);else{if(_0x541ec7['op']==='-=')_0xe3e772=Number(_0x3a4c8a)-Number(_0x2a496f);else{if(_0x541ec7['op']==='*=')_0xe3e772=Number(_0x3a4c8a)*Number(_0x2a496f);else{if(_0x541ec7['op']==='/=')_0xe3e772=Number(_0x3a4c8a)/Number(_0x2a496f);else _0xe3e772=Number(_0x3a4c8a)**Number(_0x2a496f);}}}}return _0x2b3f0f['set'](_0x541ec7[_0x1ecac6(0x35c)],_0xe3e772),_0xe3e772;}}}function applyBin(_0x22c8e0,_0x59ea3d,_0x4ba299){const _0x5dafdb=_0xda391e;if(_0x22c8e0==='&&')return _0x59ea3d?_0x4ba299():_0x59ea3d;if(_0x22c8e0==='||')return _0x59ea3d?_0x59ea3d:_0x4ba299();if(_0x22c8e0==='??')return _0x59ea3d==null?_0x4ba299():_0x59ea3d;const _0x19e5bd=_0x4ba299();switch(_0x22c8e0){case'+':if(typeof _0x59ea3d===_0x5dafdb(0x411)||typeof _0x19e5bd==='string')return String(_0x59ea3d??'')+String(_0x19e5bd??'');return Number(_0x59ea3d)+Number(_0x19e5bd);case'-':return Number(_0x59ea3d)-Number(_0x19e5bd);case'*':return Number(_0x59ea3d)*Number(_0x19e5bd);case'/':return Number(_0x59ea3d)/Number(_0x19e5bd);case'%':return Number(_0x59ea3d)%Number(_0x19e5bd);case'**':return Number(_0x59ea3d)**Number(_0x19e5bd);case'==':return _0x59ea3d==_0x19e5bd;case'!=':return _0x59ea3d!=_0x19e5bd;case _0x5dafdb(0x2e8):return _0x59ea3d===_0x19e5bd;case _0x5dafdb(0x39d):return _0x59ea3d!==_0x19e5bd;case'<':return _0x59ea3d<_0x19e5bd;case'<=':return _0x59ea3d<=_0x19e5bd;case'>':return _0x59ea3d>_0x19e5bd;case'>=':return _0x59ea3d>=_0x19e5bd;}throw new SjsError(_0x5dafdb(0x29a)+_0x22c8e0);}function execStmt(_0x20cb73,_0xd811b7){const _0x582ef1=_0xda391e;switch(_0x20cb73['t']){case _0x582ef1(0x3b3):_0xd811b7[_0x582ef1(0x1f3)](_0x20cb73['name'],_0x20cb73['init']==null?void 0x0:evalExpr(_0x20cb73[_0x582ef1(0x3b7)],_0xd811b7),_0x20cb73[_0x582ef1(0x2ec)]);return;case'ExprStmt':evalExpr(_0x20cb73[_0x582ef1(0x415)],_0xd811b7);return;case'If':{const _0x5b5f46=evalExpr(_0x20cb73[_0x582ef1(0x1fb)],_0xd811b7);if(_0x5b5f46)execBlock(_0x20cb73[_0x582ef1(0x280)],_0xd811b7['child']());else _0x20cb73[_0x582ef1(0x2d6)]&&execBlock(_0x20cb73[_0x582ef1(0x2d6)],_0xd811b7[_0x582ef1(0x351)]());return;}case'ForOf':{const _0xf66fd0=evalExpr(_0x20cb73[_0x582ef1(0x224)],_0xd811b7);if(!Array[_0x582ef1(0x294)](_0xf66fd0))throw new SjsError(_0x582ef1(0x3dd));for(const _0x211dab of _0xf66fd0){const _0x1f4d43=_0xd811b7['child']();_0x1f4d43[_0x582ef1(0x1f3)](_0x20cb73['name'],_0x211dab,_0x582ef1(0x3ff)),execBlock(_0x20cb73['body'],_0x1f4d43);}return;}case _0x582ef1(0x2a1):throw new ReturnSignal(_0x20cb73[_0x582ef1(0x41f)]==null?void 0x0:evalExpr(_0x20cb73[_0x582ef1(0x41f)],_0xd811b7));case _0x582ef1(0x214):execBlock(_0x20cb73[_0x582ef1(0x390)],_0xd811b7[_0x582ef1(0x351)]());return;}}function execBlock(_0x157105,_0x52b7ff){for(const _0x2b50b8 of _0x157105)execStmt(_0x2b50b8,_0x52b7ff);}function runSjs(_0x412577,_0x1e862c){const _0x11a88f=_0xda391e,_0x1694af=parseSjsProgram(_0x412577),_0x271558=new Scope();for(const [_0x916313,_0x5aa742]of Object['entries'](_0x1e862c))_0x271558[_0x11a88f(0x1f3)](_0x916313,_0x5aa742,_0x11a88f(0x3ff));try{if(_0x1694af['body'][_0x11a88f(0x33a)]===0x1&&_0x1694af['body'][0x0]['t']===_0x11a88f(0x3f6))return evalExpr(_0x1694af[_0x11a88f(0x390)][0x0]['expr'],_0x271558);for(const _0x398e61 of _0x1694af[_0x11a88f(0x390)])execStmt(_0x398e61,_0x271558);return void 0x0;}catch(_0x46f43f){if(_0x46f43f instanceof ReturnSignal)return _0x46f43f[_0x11a88f(0x2d2)];throw _0x46f43f;}}function runSjsExpr(_0x271b33,_0x416fd0){const _0x4a65cf=_0xda391e,_0x4697e5=parseSjsExpr(_0x271b33),_0x2c5ef6=new Scope();for(const [_0x188e29,_0x8dcef7]of Object['entries'](_0x416fd0))_0x2c5ef6['declare'](_0x188e29,_0x8dcef7,_0x4a65cf(0x3ff));return evalExpr(_0x4697e5,_0x2c5ef6);}function collectReferencedRoots(_0x71f0e9,_0xdefee6){const _0x27e95c=_0xda391e,_0x272afb=_0xdefee6?parseSjsExpr(_0x71f0e9):null,_0x3655b1=_0xdefee6?null:parseSjsProgram(_0x71f0e9),_0x2445e2=new Set(),_0x5d0c21=_0x3036d6=>{const _0x50eea1=_0x3ab1;switch(_0x3036d6['t']){case _0x50eea1(0x2a6):_0x2445e2[_0x50eea1(0x44a)](_0x3036d6[_0x50eea1(0x35c)]);return;case _0x50eea1(0x2ff):_0x5d0c21(_0x3036d6['obj']);return;case _0x50eea1(0x43f):_0x5d0c21(_0x3036d6[_0x50eea1(0x425)]),_0x5d0c21(_0x3036d6['idx']);return;case _0x50eea1(0x3e2):_0x5d0c21(_0x3036d6[_0x50eea1(0x2ac)]),_0x3036d6['args'][_0x50eea1(0x399)](_0x5d0c21);return;case _0x50eea1(0x2eb):_0x5d0c21(_0x3036d6[_0x50eea1(0x415)]);return;case _0x50eea1(0x372):_0x5d0c21(_0x3036d6['l']),_0x5d0c21(_0x3036d6['r']);return;case _0x50eea1(0x3c6):_0x5d0c21(_0x3036d6['c']),_0x5d0c21(_0x3036d6['a']),_0x5d0c21(_0x3036d6['b']);return;case _0x50eea1(0x28e):_0x3036d6[_0x50eea1(0x3d7)]['forEach'](_0x5d0c21);return;case _0x50eea1(0x230):_0x3036d6[_0x50eea1(0x3f8)][_0x50eea1(0x399)](_0x52b486=>_0x5d0c21(_0x52b486[_0x50eea1(0x2d2)]));return;case _0x50eea1(0x28a):_0x2445e2[_0x50eea1(0x44a)](_0x3036d6[_0x50eea1(0x35c)]),_0x5d0c21(_0x3036d6[_0x50eea1(0x2d2)]);return;}},_0x4fd7aa=_0x179017=>{const _0x4508bc=_0x3ab1;switch(_0x179017['t']){case _0x4508bc(0x3b3):if(_0x179017[_0x4508bc(0x3b7)])_0x5d0c21(_0x179017[_0x4508bc(0x3b7)]);return;case'ExprStmt':_0x5d0c21(_0x179017[_0x4508bc(0x415)]);return;case'If':_0x5d0c21(_0x179017[_0x4508bc(0x1fb)]),_0x179017['then'][_0x4508bc(0x399)](_0x4fd7aa);if(_0x179017[_0x4508bc(0x2d6)])_0x179017[_0x4508bc(0x2d6)][_0x4508bc(0x399)](_0x4fd7aa);return;case _0x4508bc(0x264):_0x5d0c21(_0x179017[_0x4508bc(0x224)]),_0x179017[_0x4508bc(0x390)][_0x4508bc(0x399)](_0x4fd7aa);return;case _0x4508bc(0x2a1):if(_0x179017[_0x4508bc(0x41f)])_0x5d0c21(_0x179017[_0x4508bc(0x41f)]);return;case _0x4508bc(0x214):_0x179017[_0x4508bc(0x390)][_0x4508bc(0x399)](_0x4fd7aa);return;}};if(_0x272afb)_0x5d0c21(_0x272afb);if(_0x3655b1)_0x3655b1[_0x27e95c(0x390)]['forEach'](_0x4fd7aa);return _0x2445e2;}var BUILTIN_PARAM_CATALOG_CODES=[_0xda391e(0x308),_0xda391e(0x33e),_0xda391e(0x220),_0xda391e(0x2c4),_0xda391e(0x330),'userDisplayName',_0xda391e(0x3de)],RUNTIME_ONLY_SYSTEM_PARAM_CODES=[_0xda391e(0x34b),_0xda391e(0x2ef),_0xda391e(0x363),'templateName',_0xda391e(0x409)],LEGACY_SYSTEM_PARAM_ALIASES={'pagecurrent':'pageNumber','pageindex':_0xda391e(0x308),'pagetotal':'totalPageNumber','pagecount':_0xda391e(0x33e),'subtableregioncount':_0xda391e(0x409)},LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS={'pageCurrent':'pageNumber','pageIndex':_0xda391e(0x308),'pageTotal':'totalPageNumber','pageCount':'totalPageNumber'},CANONICAL_PARAM_LOOKUP=new Map([...BUILTIN_PARAM_CATALOG_CODES,...RUNTIME_ONLY_SYSTEM_PARAM_CODES][_0xda391e(0x43c)](_0x446e00=>[_0x446e00['toLowerCase'](),_0x446e00]));function normalizeSystemParamId(_0xfaf41c){const _0x38fce4=_0xda391e,_0x4b484a=_0xfaf41c[_0x38fce4(0x33d)]();if(!_0x4b484a)return _0x4b484a;const _0x285545=_0x4b484a[_0x38fce4(0x320)](),_0x3456f3=LEGACY_SYSTEM_PARAM_ALIASES[_0x285545];if(_0x3456f3)return _0x3456f3;return CANONICAL_PARAM_LOOKUP[_0x38fce4(0x446)](_0x285545)??_0x4b484a;}function isKnownSystemParamId(_0x1e4b7a){const _0x722d43=_0xda391e,_0x54f541=normalizeSystemParamId(_0x1e4b7a);return BUILTIN_PARAM_CATALOG_CODES[_0x722d43(0x23f)](_0x54f541)||RUNTIME_ONLY_SYSTEM_PARAM_CODES[_0x722d43(0x23f)](_0x54f541);}var RUNTIME_COMPUTED_SYSTEM_PARAM_CODES=[...BUILTIN_PARAM_CATALOG_CODES,...RUNTIME_ONLY_SYSTEM_PARAM_CODES];function isRuntimeComputedSystemParam(_0x1184e8){const _0x21cb82=_0xda391e,_0x59abae=normalizeSystemParamId(_0x1184e8);return RUNTIME_COMPUTED_SYSTEM_PARAM_CODES[_0x21cb82(0x23f)](_0x59abae);}function listKnownSystemParamIdsForTemplate(){const _0x4d0a5b=_0xda391e;return listTemplateSystemParamTokenEntries()[_0x4d0a5b(0x43c)](_0xa581d6=>_0xa581d6[_0x4d0a5b(0x33f)]);}function listTemplateSystemParamTokenEntries(){const _0x367191=_0xda391e,_0x237a60=new Set(),_0x4c489b=[],_0x6a8eca=(_0x19ad69,_0x4db837)=>{const _0x1efaf5=_0x3ab1;if(!_0x19ad69||_0x237a60[_0x1efaf5(0x2d3)](_0x19ad69))return;_0x237a60[_0x1efaf5(0x44a)](_0x19ad69),_0x4c489b['push']({'token':_0x19ad69,'canonical':_0x4db837});};for(const _0x479d09 of RUNTIME_COMPUTED_SYSTEM_PARAM_CODES){_0x6a8eca(_0x479d09,_0x479d09);}for(const [_0x981aa0,_0x451184]of Object[_0x367191(0x24f)](LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS)){_0x6a8eca(_0x981aa0,_0x451184);}return _0x4c489b['sort']((_0x13ea79,_0x5a78ed)=>_0x5a78ed['token'][_0x367191(0x33a)]-_0x13ea79[_0x367191(0x33f)][_0x367191(0x33a)]);}function cellMetaCompoundKey(_0x33ce07,_0x468129){return _0x33ce07+'::'+_0x468129;}function parseCellMetaCompoundKey(_0xdcb985){const _0x317f14=_0xda391e,_0x40c871=_0xdcb985[_0x317f14(0x41d)]('::');if(_0x40c871<=0x0)return null;return{'sheetId':_0xdcb985['slice'](0x0,_0x40c871),'cellKey':_0xdcb985[_0x317f14(0x32f)](_0x40c871+0x2)};}var DEFAULT_FLAGS={'onCommit':!![],'onCompute':!![]};function normalizeRoundingTriggers(_0x37d728){const _0x5771f8=_0xda391e;if(_0x37d728==null)return{...DEFAULT_FLAGS};if(_0x37d728[_0x5771f8(0x33a)]===0x0)return{'onCommit':![],'onCompute':![]};return{'onCommit':_0x37d728['includes']('onCommit'),'onCompute':_0x37d728['includes'](_0x5771f8(0x30e))};}function presetToTriggers(_0x209a09){const _0x4a8d1e=_0xda391e;switch(_0x209a09){case'both':return[_0x4a8d1e(0x35b),_0x4a8d1e(0x30e)];case'commitOnly':return[_0x4a8d1e(0x35b)];case _0x4a8d1e(0x2af):return[_0x4a8d1e(0x30e)];case _0x4a8d1e(0x288):return[];default:return['onCommit',_0x4a8d1e(0x30e)];}}function triggersToPreset(_0x2ff432){const _0x230191=_0xda391e,_0x497ec7=normalizeRoundingTriggers(_0x2ff432);if(_0x497ec7[_0x230191(0x35b)]&&_0x497ec7[_0x230191(0x30e)])return _0x230191(0x21a);if(_0x497ec7[_0x230191(0x35b)]&&!_0x497ec7['onCompute'])return'commitOnly';if(!_0x497ec7['onCommit']&&_0x497ec7[_0x230191(0x30e)])return _0x230191(0x2af);return _0x230191(0x288);}var ROUNDING_WHEN_LABELS={'both':'\u5F55\u5165\u4E0E\u8BA1\u7B97\u65F6','commitOnly':_0xda391e(0x3df),'computeOnly':_0xda391e(0x449),'none':_0xda391e(0x28d)};function describeRoundingWhenPreset(_0x39555e){const _0x35d9ba=_0xda391e;return ROUNDING_WHEN_LABELS[_0x39555e]??ROUNDING_WHEN_LABELS[_0x35d9ba(0x21a)];}function getRoundingForCommit(_0x5d9331){const _0x1c8115=_0xda391e;if(!_0x5d9331?.[_0x1c8115(0x397)])return void 0x0;const _0x1ebfb1=normalizeRoundingTriggers(_0x5d9331[_0x1c8115(0x248)]);return _0x1ebfb1[_0x1c8115(0x35b)]?_0x5d9331:void 0x0;}function getRoundingForComputeMeta(_0x385c01){const _0x43c4d8=_0xda391e;if(!_0x385c01?.[_0x43c4d8(0x397)])return void 0x0;const _0x4d8a02=normalizeRoundingTriggers(_0x385c01[_0x43c4d8(0x248)]);return _0x4d8a02[_0x43c4d8(0x30e)]?_0x385c01:void 0x0;}var DEFAULT_ROUND_MODE=_0xda391e(0x42c);function isPlainObject(_0x3ed1fe){const _0xb55454=_0xda391e;return _0x3ed1fe!=null&&typeof _0x3ed1fe===_0xb55454(0x442)&&!Array[_0xb55454(0x294)](_0x3ed1fe);}function getRoundingMetaFromCellMetaEntry(_0x3e1118){const _0x290b0e=_0xda391e;if(!isPlainObject(_0x3e1118))return void 0x0;const _0x2fe41b=_0x3e1118[_0x290b0e(0x384)];if(isPlainObject(_0x2fe41b))return _0x2fe41b;if(_0x3e1118[_0x290b0e(0x397)]!=null||_0x3e1118[_0x290b0e(0x3e0)]!=null||_0x3e1118[_0x290b0e(0x3bc)]!=null||_0x3e1118[_0x290b0e(0x44c)]!=null)return{'roundMode':_0x3e1118[_0x290b0e(0x397)],'scale':_0x3e1118[_0x290b0e(0x3e0)],'interval':_0x3e1118['interval'],'sigDigits':_0x3e1118[_0x290b0e(0x44c)],'triggers':_0x3e1118['triggers']};return void 0x0;}function tryParseNumericString(_0x5ea8f6){const _0x12e4b1=_0xda391e,_0xed33fe=String(_0x5ea8f6)['trim']();if(_0xed33fe==='')return null;const _0x2d2459=_0xed33fe[_0x12e4b1(0x2cd)](/,/g,'');if(_0x2d2459===''||_0x2d2459==='-'||_0x2d2459==='+')return null;const _0xcab974=Number(_0x2d2459);return Number[_0x12e4b1(0x391)](_0xcab974)?_0xcab974:null;}function formatNumericByMeta(_0x5b9e5d,_0x2e678){const _0x19728f=_0xda391e;if(_0x2e678==null)return _0x5b9e5d;const _0x17e629=tryParseNumericString(_0x5b9e5d);if(_0x17e629===null)return _0x5b9e5d;const _0x210b6c=applyRounding(_0x17e629,_0x2e678);if(!Number[_0x19728f(0x391)](_0x210b6c))return _0x5b9e5d;const _0x5df856=_0x2e678['roundMode']??DEFAULT_ROUND_MODE;if(_0x5df856===_0x19728f(0x3d5)){const _0x1980f6=Number(_0x2e678[_0x19728f(0x3bc)]),_0x167ee1=decimalPlaces(_0x1980f6);return _0x210b6c[_0x19728f(0x38c)](_0x167ee1);}if(_0x5df856===_0x19728f(0x2f0))return formatSignificant(_0x210b6c,Math[_0x19728f(0x206)](0x1,Math[_0x19728f(0x207)](_0x2e678[_0x19728f(0x44c)]??0x1)));const _0x12d4bf=_0x2e678[_0x19728f(0x3e0)];if(typeof _0x12d4bf!==_0x19728f(0x3c8)||!Number[_0x19728f(0x391)](_0x12d4bf))return String(_0x210b6c);if(_0x12d4bf<=0x0)return String(_0x210b6c);return _0x210b6c[_0x19728f(0x38c)](Math['floor'](_0x12d4bf));}function applyRoundingForInstancePlain(_0x1a3c0c,_0xcc9f0a,_0x5d6d06,_0x42e881,_0x5bd449){const _0x130628=cellMetaCompoundKey(_0x5d6d06,'r'+_0x42e881+'c'+_0x5bd449),_0x231aba=cellMetaCompoundKey(_0x5d6d06,_0x13100c(_0x42e881,_0x5bd449)),_0xd2593=_0xcc9f0a?.[_0x130628]??_0xcc9f0a?.[_0x231aba],_0xb4ea03=getRoundingForCommit(getRoundingMetaFromCellMetaEntry(_0xd2593));return formatNumericByMeta(_0x1a3c0c,_0xb4ea03);}function applyRounding(_0x590ea5,_0x224ce8){const _0x53aaed=_0xda391e;if(!Number[_0x53aaed(0x391)](_0x590ea5)||_0x224ce8==null)return _0x590ea5;const _0x5d28f7=_0x224ce8['roundMode']??DEFAULT_ROUND_MODE;if(_0x5d28f7===_0x53aaed(0x3d5)){const _0x804f8a=Number(_0x224ce8[_0x53aaed(0x3bc)]);if(!Number[_0x53aaed(0x391)](_0x804f8a)||_0x804f8a<=0x0)return _0x590ea5;return roundToInterval(_0x590ea5,_0x804f8a);}if(_0x5d28f7===_0x53aaed(0x2f0)){const _0x31581e=Math['max'](0x1,Math[_0x53aaed(0x207)](_0x224ce8[_0x53aaed(0x44c)]??0x1));return roundToSignificant(_0x590ea5,_0x31581e);}const _0x1e011e=_0x224ce8[_0x53aaed(0x3e0)];if(typeof _0x1e011e!==_0x53aaed(0x3c8)||!Number[_0x53aaed(0x391)](_0x1e011e))return _0x590ea5;return roundFinite(_0x590ea5,Math['floor'](_0x1e011e),_0x5d28f7??DEFAULT_ROUND_MODE);}function roundFinite(_0x222cdf,_0x21dc81,_0x2abb20){const _0x5875a0=_0xda391e;if(!Number['isFinite'](_0x222cdf))return _0x222cdf;const _0x961c80=clampInt(_0x21dc81,-0x12,0x12),_0x5bb62e=0xa**_0x961c80,_0x3e8ab7=_0x222cdf*_0x5bb62e;switch(_0x2abb20){case _0x5875a0(0x374):return(_0x222cdf<0x0?Math[_0x5875a0(0x32d)](_0x3e8ab7):Math[_0x5875a0(0x207)](_0x3e8ab7))/_0x5bb62e;case'ceiling':return Math[_0x5875a0(0x32d)](_0x3e8ab7-1e-12*Math[_0x5875a0(0x2f2)](_0x3e8ab7))/_0x5bb62e;case _0x5875a0(0x207):return Math[_0x5875a0(0x207)](_0x3e8ab7+1e-12*Math['sign'](_0x3e8ab7))/_0x5bb62e;case'half_even':{const _0x322013=_0x3e8ab7===0x0?0x1:Math[_0x5875a0(0x2f2)](_0x3e8ab7),_0x42ff25=roundHalfToEvenMag(Math['abs'](_0x3e8ab7));return _0x322013*_0x42ff25/_0x5bb62e;}case _0x5875a0(0x42c):default:{if(_0x961c80>=0x0){const _0x589173=Number(_0x222cdf+'e'+_0x961c80);return Number(Math['round'](_0x589173)+'e'+-_0x961c80);}const _0x156766=_0x222cdf<0x0?-0x1:0x1,_0x59dbac=Math[_0x5875a0(0x21d)](_0x222cdf),_0x46646f=Math[_0x5875a0(0x24b)](_0x59dbac*_0x5bb62e)/_0x5bb62e;return _0x156766*_0x46646f;}}}function roundToInterval(_0x164cfb,_0x2b1cf7,_0x234370=_0xda391e(0x42c)){const _0x37b075=_0xda391e;if(!Number[_0x37b075(0x391)](_0x164cfb)||!Number[_0x37b075(0x391)](_0x2b1cf7)||_0x2b1cf7<=0x0)return _0x164cfb;const _0x1ac740=_0x164cfb/_0x2b1cf7,_0x3ceeae=_0x234370==='half_even'?roundFinite(_0x1ac740,0x0,_0x37b075(0x2cf)):roundFinite(_0x1ac740,0x0,_0x37b075(0x42c));return _0x3ceeae*_0x2b1cf7;}function roundToSignificant(_0x14db71,_0x43e816){const _0x23278b=_0xda391e;if(!Number[_0x23278b(0x391)](_0x14db71)||_0x14db71===0x0)return _0x14db71;const _0x27ed9d=_0x14db71<0x0?-0x1:0x1,_0x29a203=Math[_0x23278b(0x21d)](_0x14db71),_0x4acf07=Math[_0x23278b(0x207)](Math['log10'](_0x29a203)),_0x4369d0=_0x43e816-0x1-_0x4acf07;return _0x27ed9d*roundFinite(_0x29a203,_0x4369d0,_0x23278b(0x2cf));}function formatSignificant(_0x53eae5,_0x2f24d6){const _0x5f2e1b=_0xda391e;if(!Number['isFinite'](_0x53eae5)||_0x53eae5===0x0)return _0x53eae5===0x0?_0x2f24d6>0x1?0x0[_0x5f2e1b(0x38c)](_0x2f24d6-0x1):'0':String(_0x53eae5);const _0x394f9=_0x53eae5<0x0?'-':'',_0x586bdb=Math[_0x5f2e1b(0x21d)](_0x53eae5),_0x4ce9e5=Math[_0x5f2e1b(0x207)](Math[_0x5f2e1b(0x201)](_0x586bdb)),_0x555dc0=Math[_0x5f2e1b(0x206)](0x0,_0x2f24d6-0x1-_0x4ce9e5);return _0x394f9+_0x586bdb[_0x5f2e1b(0x38c)](_0x555dc0);}function roundHalfToEvenMag(_0x394a00){const _0xa87e5=_0xda391e,_0x447035=Math[_0xa87e5(0x21d)](_0x394a00),_0x352439=Math[_0xa87e5(0x207)](_0x447035+1e-12),_0x5ae571=_0x447035-_0x352439,_0x4ed365=1e-9;if(_0x5ae571+_0x4ed365<0.5)return _0x352439;if(_0x5ae571-_0x4ed365>0.5)return _0x352439+0x1;return _0x352439%0x2===0x0?_0x352439:_0x352439+0x1;}function decimalPlaces(_0x3a080b){const _0x39d48a=_0xda391e;if(!Number['isFinite'](_0x3a080b))return 0x0;const _0x309b21=String(_0x3a080b),_0x3580b1=_0x309b21[_0x39d48a(0x41d)]('.');return _0x3580b1<0x0?0x0:_0x309b21[_0x39d48a(0x33a)]-_0x3580b1-0x1;}function clampInt(_0x39c5d4,_0x3d5d9b,_0x15d0be){const _0x17d270=_0xda391e,_0x313a65=Math[_0x17d270(0x416)](_0x39c5d4);return _0x313a65<_0x3d5d9b?_0x3d5d9b:_0x313a65>_0x15d0be?_0x15d0be:_0x313a65;}function resolveSubRowStatKey(_0x3d4fd4,_0x3bff6f){const _0x327e93=_0xda391e,_0x15b3cb=(_0x3d4fd4?.[_0x327e93(0x20e)]??[])[_0x327e93(0x447)](_0x523d73=>_0x523d73[_0x327e93(0x303)]===_0x3bff6f),_0x47c26f=_0x15b3cb['find'](_0x5492a7=>_0x5492a7[_0x327e93(0x3ac)]===!![]);if(_0x47c26f?.['bindingKey'])return _0x47c26f[_0x327e93(0x3db)][_0x327e93(0x33d)]();const _0x3d0024=[..._0x15b3cb]['sort']((_0x3404d7,_0x4a4128)=>(_0x3404d7[_0x327e93(0x1ed)]??0x0)-(_0x4a4128['sortOrder']??0x0));return _0x3d0024[0x0]?.[_0x327e93(0x3db)]?.[_0x327e93(0x33d)]()??'';}function countActiveSubRows(_0x3a6cf3,_0x4f7d9d){const _0x4e906a=_0x4f7d9d['trim']();if(!_0x4e906a)return 0x0;let _0x39e692=0x0;for(const _0x3c2afc of _0x3a6cf3){const _0x14189a=_0x3c2afc[_0x4e906a];if(_0x14189a!=null&&_0x14189a!=='')_0x39e692+=0x1;}return _0x39e692;}function activeSubRowIndices(_0xf33099,_0x3e02d1){const _0x263eee=_0xda391e,_0x42a3eb=_0x3e02d1[_0x263eee(0x33d)]();if(!_0x42a3eb)return _0xf33099[_0x263eee(0x43c)]((_0xe7d487,_0x3f4011)=>_0x3f4011);const _0x50ee3a=[];for(let _0x3f7776=0x0;_0x3f7776<_0xf33099[_0x263eee(0x33a)];_0x3f7776+=0x1){const _0x46241c=_0xf33099[_0x3f7776]?.[_0x42a3eb];if(_0x46241c!=null&&_0x46241c!=='')_0x50ee3a['push'](_0x3f7776);}return _0x50ee3a;}function buildActiveSubRowCounts(_0xf88fb9,_0xca7dd7){const _0x512368=_0xda391e,_0x5a75e7={};for(const [_0x60bb0e,_0x45e986]of Object[_0x512368(0x24f)](_0xf88fb9)){const _0x1637f2=Number(_0x60bb0e);if(!Number[_0x512368(0x391)](_0x1637f2))continue;const _0x1c2091=resolveSubRowStatKey(_0xca7dd7,_0x1637f2);_0x5a75e7[_0x1637f2]=countActiveSubRows(_0x45e986,_0x1c2091);}return _0x5a75e7;}function normalizeSubFieldSlotForFormula(_0xc49d7b){const _0x3d4d8c=_0xda391e;if(_0xc49d7b!=null&&typeof _0xc49d7b===_0x3d4d8c(0x442)&&!Array[_0x3d4d8c(0x294)](_0xc49d7b)&&'value'in _0xc49d7b){const _0x41bcce=_0xc49d7b['value'];if(_0x41bcce==null||_0x41bcce==='')return'';if(typeof _0x41bcce===_0x3d4d8c(0x3c8)&&Number[_0x3d4d8c(0x391)](_0x41bcce))return _0x41bcce;if(typeof _0x41bcce===_0x3d4d8c(0x25f))return _0x41bcce;const _0x740a1f=typeof _0x41bcce===_0x3d4d8c(0x411)?_0x41bcce:String(_0x41bcce),_0x3e341=tryParseNumericString(_0x740a1f);return _0x3e341!=null?_0x3e341:_0x740a1f;}return _0xc49d7b;}function subFieldPersistValueFromCell(_0x59511b){const _0x116ea8=_0xda391e,_0x1280f4=_0x59511b?.[_0x116ea8(0x2d2)]??'',_0x32885c=_0x1280f4==null?'':typeof _0x1280f4===_0x116ea8(0x411)?_0x1280f4:String(_0x1280f4);if(_0x59511b?.['runs']?.['length'])return{'value':_0x32885c,'runs':_0x59511b[_0x116ea8(0x20f)]};if(_0x32885c==='')return'';const _0x2b8526=tryParseNumericString(_0x32885c);return _0x2b8526!=null?_0x2b8526:_0x32885c;}function isSubFieldRichPersist(_0x540557){const _0x5d42ae=_0xda391e;if(_0x540557==null||typeof _0x540557!==_0x5d42ae(0x442)||Array[_0x5d42ae(0x294)](_0x540557))return![];if(!(_0x5d42ae(0x2d2)in _0x540557))return![];const _0x2267da=_0x540557;if(typeof _0x2267da[_0x5d42ae(0x2d2)]!==_0x5d42ae(0x411))return![];return Array['isArray'](_0x2267da['runs'])&&_0x2267da['runs'][_0x5d42ae(0x33a)]>0x0;}function accValToCellParts(_0x4e9f2b){const _0x24692d=_0xda391e;if(isSubFieldRichPersist(_0x4e9f2b))return{'value':_0x4e9f2b[_0x24692d(0x2d2)],'runs':_0x4e9f2b[_0x24692d(0x20f)]};if(_0x4e9f2b!=null&&typeof _0x4e9f2b==='object'&&!Array[_0x24692d(0x294)](_0x4e9f2b)&&'value'in _0x4e9f2b){const _0x4dcfa3=_0x4e9f2b,_0x3dbfea=_0x4dcfa3[_0x24692d(0x2d2)]==null?'':typeof _0x4dcfa3[_0x24692d(0x2d2)]==='string'?_0x4dcfa3[_0x24692d(0x2d2)]:String(_0x4dcfa3[_0x24692d(0x2d2)]);return{'value':_0x3dbfea};}const _0x4b5e62=_0x4e9f2b==null?'':typeof _0x4e9f2b===_0x24692d(0x411)?_0x4e9f2b:typeof _0x4e9f2b===_0x24692d(0x3c8)||typeof _0x4e9f2b==='boolean'?String(_0x4e9f2b):JSON[_0x24692d(0x3a2)](_0x4e9f2b);return{'value':_0x4b5e62};}function mergeSubFieldCellFromAccValue(_0x498cce,_0x27708d){const _0xcf5042=_0xda391e,{value:_0x5e1747,runs:_0x3364be}=accValToCellParts(_0x27708d),_0x341740=_0x498cce??{'value':''},_0x327426={..._0x341740,'value':_0x5e1747};if(_0x3364be?.[_0xcf5042(0x33a)])_0x327426['runs']=_0x3364be;else delete _0x327426[_0xcf5042(0x20f)];const _0x441704=_0x341740['value']!==_0x327426[_0xcf5042(0x2d2)]||JSON['stringify'](_0x341740[_0xcf5042(0x20f)]??[])!==JSON[_0xcf5042(0x3a2)](_0x327426[_0xcf5042(0x20f)]??[]);return{'cell':_0x327426,'changed':_0x441704};}function isPlainObject2(_0x4e02bb){const _0xf4148f=_0xda391e;return _0x4e02bb!=null&&typeof _0x4e02bb===_0xf4148f(0x442)&&!Array['isArray'](_0x4e02bb);}function parseLogicalState(_0x4aad92){const _0x65fa78=_0xda391e;if(!_0x4aad92)return{};try{const _0x413562=JSON['parse'](_0x4aad92);if(!isPlainObject2(_0x413562))return{};const _0x114390=_0x413562[_0x65fa78(0x36e)];if(!isPlainObject2(_0x114390))return{};return normalizeLogicalState(_0x114390);}catch{return{};}}function pickLogicalStateFromRoot(_0x7cd338){const _0x3ca70f=_0xda391e;if(!isPlainObject2(_0x7cd338))return{};const _0x416f3f=_0x7cd338[_0x3ca70f(0x36e)];if(!isPlainObject2(_0x416f3f))return{};return normalizeLogicalState(_0x416f3f);}function normalizeLogicalState(_0x22e1ef){const _0x15c354=_0xda391e,_0x4bfdb7={};typeof _0x22e1ef[_0x15c354(0x3fd)]===_0x15c354(0x3c8)&&Number[_0x15c354(0x391)](_0x22e1ef[_0x15c354(0x3fd)])&&(_0x4bfdb7[_0x15c354(0x3fd)]=Math[_0x15c354(0x206)](0x0,Math[_0x15c354(0x207)](_0x22e1ef[_0x15c354(0x3fd)])));typeof _0x22e1ef[_0x15c354(0x2e7)]==='number'&&Number[_0x15c354(0x391)](_0x22e1ef[_0x15c354(0x2e7)])&&(_0x4bfdb7[_0x15c354(0x2e7)]=Math[_0x15c354(0x206)](0x1,Math['floor'](_0x22e1ef[_0x15c354(0x2e7)])));if(isPlainObject2(_0x22e1ef[_0x15c354(0x2ce)])){const _0x5dfe05={};for(const [_0x291217,_0x1a1f91]of Object[_0x15c354(0x24f)](_0x22e1ef[_0x15c354(0x2ce)])){if(!isPlainObject2(_0x1a1f91))continue;const _0x21ed11=typeof _0x1a1f91['logicalPageIndex']===_0x15c354(0x3c8)?Math['max'](0x0,Math[_0x15c354(0x207)](_0x1a1f91[_0x15c354(0x3fd)])):0x0,_0x3a2586=typeof _0x1a1f91['logicalPageCount']===_0x15c354(0x3c8)?Math['max'](0x1,Math[_0x15c354(0x207)](_0x1a1f91[_0x15c354(0x2e7)])):0x1;_0x5dfe05[_0x291217]={'logicalPageIndex':Math[_0x15c354(0x44d)](_0x21ed11,_0x3a2586-0x1),'logicalPageCount':_0x3a2586};}if(Object[_0x15c354(0x324)](_0x5dfe05)[_0x15c354(0x33a)])_0x4bfdb7[_0x15c354(0x2ce)]=_0x5dfe05;}if(Array[_0x15c354(0x294)](_0x22e1ef['hiddenPageSlots'])){const _0x96456e=_0x22e1ef[_0x15c354(0x2b4)][_0x15c354(0x447)](_0x2bf8a7=>typeof _0x2bf8a7===_0x15c354(0x411)&&_0x2bf8a7[_0x15c354(0x23f)]('::'))[_0x15c354(0x43c)](_0xe5d2d7=>_0xe5d2d7[_0x15c354(0x33d)]())[_0x15c354(0x447)](Boolean);if(_0x96456e['length'])_0x4bfdb7['hiddenPageSlots']=[...new Set(_0x96456e)];}return _0x4bfdb7;}function resolveSheetLogicalPage(_0xc8a79a,_0x5d7ffa){const _0xd6a03f=_0xda391e;if(_0xc8a79a?.[_0xd6a03f(0x2ce)]?.[_0x5d7ffa])return _0xc8a79a['perSheet'][_0x5d7ffa];const _0x365382=Math[_0xd6a03f(0x206)](0x1,_0xc8a79a?.[_0xd6a03f(0x2e7)]??0x1),_0x4573d3=Math[_0xd6a03f(0x44d)](Math['max'](0x0,_0xc8a79a?.['logicalPageIndex']??0x0),_0x365382-0x1);return{'logicalPageIndex':_0x4573d3,'logicalPageCount':_0x365382};}function mergeInstanceDataJsonWithLogicalState(_0x195d60,_0x294393){const _0x373840=_0xda391e;let _0x115e13={};try{const _0x32191d=JSON[_0x373840(0x29f)](_0x195d60||'{}');if(isPlainObject2(_0x32191d))_0x115e13=_0x32191d;}catch{}if(_0x294393==null)return delete _0x115e13[_0x373840(0x36e)],JSON[_0x373840(0x3a2)](_0x115e13,null,0x2);const _0x3bd2f9=pickLogicalStateFromRoot(_0x115e13),_0x4c6499={..._0x3bd2f9,..._0x294393};if(typeof _0x4c6499['logicalPageCount']===_0x373840(0x3c8))_0x4c6499['logicalPageCount']=Math[_0x373840(0x206)](0x1,Math[_0x373840(0x207)](_0x4c6499[_0x373840(0x2e7)]));if(typeof _0x4c6499[_0x373840(0x3fd)]===_0x373840(0x3c8)){const _0x2ee264=Math['max'](0x1,_0x4c6499[_0x373840(0x2e7)]??0x1);_0x4c6499[_0x373840(0x3fd)]=Math[_0x373840(0x44d)](Math[_0x373840(0x206)](0x0,Math[_0x373840(0x207)](_0x4c6499[_0x373840(0x3fd)])),_0x2ee264-0x1);}return _0x115e13[_0x373840(0x36e)]=_0x4c6499,JSON[_0x373840(0x3a2)](_0x115e13,null,0x2);}function parseInstanceSubTables(_0x2cb561){const _0x304402=_0xda391e;if(!_0x2cb561)return{};try{const _0x2a0c8f=JSON['parse'](_0x2cb561);if(!isPlainObject2(_0x2a0c8f))return{};const _0x480418=_0x2a0c8f[_0x304402(0x2da)];if(!isPlainObject2(_0x480418))return{};return parseSubTablesFromObject(_0x480418);}catch{return{};}}function parseSubTablesFromObject(_0x475179){const _0x1d9124=_0xda391e,_0x43ab5c={};for(const [_0x150749,_0x34ab01]of Object[_0x1d9124(0x24f)](_0x475179)){if(!isPlainObject2(_0x34ab01))continue;const _0x5c4fbf=_0x34ab01[_0x1d9124(0x40b)];if(!Array[_0x1d9124(0x294)](_0x5c4fbf))continue;const _0x155103=[];for(const _0x1360d5 of _0x5c4fbf){_0x155103[_0x1d9124(0x3d3)](isPlainObject2(_0x1360d5)?_0x1360d5:{});}const _0x11c16e=/^\d+$/[_0x1d9124(0x243)](_0x150749)?Number(_0x150749):/^s(\d+)$/[_0x1d9124(0x40d)](_0x150749)?.[0x1]?Number(/^s(\d+)$/[_0x1d9124(0x40d)](_0x150749)[0x1]):NaN;if(Number[_0x1d9124(0x391)](_0x11c16e)&&_0x11c16e>=0x1)_0x43ab5c[_0x11c16e]=_0x155103;}return _0x43ab5c;}function mergeInstanceDataJsonWithSubTables(_0x4735ec,_0x53b646){const _0x2d1cb3=_0xda391e;let _0x169816={};try{const _0x406ae9=JSON[_0x2d1cb3(0x29f)](_0x4735ec||'{}');if(isPlainObject2(_0x406ae9))_0x169816=_0x406ae9;}catch{}if(!_0x53b646)return JSON['stringify'](_0x169816,null,0x2);const _0x443fe7=_0x169816[_0x2d1cb3(0x2da)],_0x348380=isPlainObject2(_0x443fe7)?_0x443fe7:{},_0x127f26={..._0x348380};for(const [_0x1ed887,_0x279a95]of Object[_0x2d1cb3(0x24f)](_0x53b646)){const _0x152e0c=Number(_0x1ed887);if(!Number[_0x2d1cb3(0x391)](_0x152e0c)||_0x152e0c<0x1)continue;_0x127f26[String(_0x152e0c)]={'rows':_0x279a95[_0x2d1cb3(0x43c)](_0x25acee=>isPlainObject2(_0x25acee)?_0x25acee:{})};}return _0x169816[_0x2d1cb3(0x2da)]=_0x127f26,JSON[_0x2d1cb3(0x3a2)](_0x169816,null,0x2);}var TEMPLATE_DICT_CATALOG_VERSION=0x1,DICT_CATALOG_META_KEY=_0xda391e(0x223),DICT_OVERLAYS_BY_USER_KEY='dictOverlaysByUser';function describeDictKind(_0x2fb2f7){const _0x2af551=_0xda391e;return _0x2fb2f7===_0x2af551(0x32c)?'\u53EF\u7F16\u8F91':'\u4EC5\u9009\u62E9';}var INSTANCE_DATA_SCHEMA_V2=0x2,INSTANCE_DATA_SCHEMA_V3=0x3;function isPlainObject3(_0x220517){const _0x11afde=_0xda391e;return _0x220517!=null&&typeof _0x220517===_0x11afde(0x442)&&!Array[_0x11afde(0x294)](_0x220517);}function isComboInstanceDataV3(_0x102326){const _0x5b1ae8=_0xda391e;return isPlainObject3(_0x102326)&&_0x102326[_0x5b1ae8(0x3f0)]===INSTANCE_DATA_SCHEMA_V3&&_0x102326['kind']==='combo';}function comboDataFromRoot(_0x1c3565){const _0x393a67=_0xda391e;if(!isComboInstanceDataV3(_0x1c3565))return null;const _0x447da7={};if(isPlainObject3(_0x1c3565['slots']))for(const [_0x2292ef,_0x22e67d]of Object[_0x393a67(0x24f)](_0x1c3565[_0x393a67(0x3a9)])){isPlainObject3(_0x22e67d)&&_0x22e67d['schemaVersion']===INSTANCE_DATA_SCHEMA_V2&&(_0x447da7[_0x2292ef]=_0x22e67d);}return{'schemaVersion':INSTANCE_DATA_SCHEMA_V3,'kind':_0x393a67(0x38b),'comboSnapshotId':String(_0x1c3565[_0x393a67(0x297)]??''),'sharedContext':isPlainObject3(_0x1c3565[_0x393a67(0x244)])?_0x1c3565[_0x393a67(0x244)]:{},'slots':_0x447da7};}function isInstanceFieldPackV2(_0x37e989){return isPlainObject3(_0x37e989)&&_0x37e989['schemaVersion']===INSTANCE_DATA_SCHEMA_V2;}function parseInstanceDataRoot(_0x488f66){const _0x39dd51=_0xda391e;if(!_0x488f66?.[_0x39dd51(0x33d)]())return{};try{const _0x33916d=JSON['parse'](_0x488f66);return isPlainObject3(_0x33916d)?_0x33916d:{};}catch{return{};}}function isLegacyInstanceDataV1(_0x3fc46c){const _0x33d7f1=_0xda391e;if(isInstanceFieldPackV2(_0x3fc46c))return![];const _0x3c0831=isPlainObject3(_0x3fc46c['cells'])&&Object[_0x33d7f1(0x324)](_0x3fc46c['cells'])[_0x33d7f1(0x33a)]>0x0||isPlainObject3(_0x3fc46c[_0x33d7f1(0x2e1)])&&Object['keys'](_0x3fc46c[_0x33d7f1(0x2e1)])['length']>0x0,_0x45342b=isPlainObject3(_0x3fc46c['base'])||isPlainObject3(_0x3fc46c['main'])||isPlainObject3(_0x3fc46c[_0x33d7f1(0x2da)]);return _0x3c0831||!_0x45342b;}function emptyFieldPackV2(){return{'schemaVersion':INSTANCE_DATA_SCHEMA_V2,'base':{},'main':{},'subTables':{},'params':{},'logicalState':{},'orphanCellsBySheet':{},'upgradeLog':[]};}function serializeFieldPackV2(_0x1bbc69){const _0x54e85c=_0xda391e;return JSON[_0x54e85c(0x3a2)](_0x1bbc69,null,0x2);}function fieldPackFromRoot(_0x55f9d1){const _0x23fa46=_0xda391e;if(!isInstanceFieldPackV2(_0x55f9d1))return null;return{'schemaVersion':INSTANCE_DATA_SCHEMA_V2,'base':isPlainObject3(_0x55f9d1[_0x23fa46(0x331)])?{..._0x55f9d1[_0x23fa46(0x331)]}:{},'baseScoped':isPlainObject3(_0x55f9d1['baseScoped'])?Object[_0x23fa46(0x2ab)](Object[_0x23fa46(0x24f)](_0x55f9d1[_0x23fa46(0x410)])[_0x23fa46(0x43c)](([_0x26aaca,_0xf4ab36])=>[_0x26aaca,isPlainObject3(_0xf4ab36)?{..._0xf4ab36}:{}])):void 0x0,'main':isPlainObject3(_0x55f9d1['main'])?{..._0x55f9d1['main']}:{},'subTables':isPlainObject3(_0x55f9d1['subTables'])?_0x55f9d1[_0x23fa46(0x2da)]:{},'params':isPlainObject3(_0x55f9d1[_0x23fa46(0x3e8)])?{..._0x55f9d1[_0x23fa46(0x3e8)]}:{},'logicalState':isPlainObject3(_0x55f9d1['logicalState'])?_0x55f9d1[_0x23fa46(0x36e)]:{},'orphanCellsBySheet':isPlainObject3(_0x55f9d1['orphanCellsBySheet'])?_0x55f9d1[_0x23fa46(0x389)]:{},'embedStates':isPlainObject3(_0x55f9d1['embedStates'])?_0x55f9d1[_0x23fa46(0x20d)]:void 0x0,'upgradeLog':Array[_0x23fa46(0x294)](_0x55f9d1[_0x23fa46(0x39f)])?[..._0x55f9d1[_0x23fa46(0x39f)]]:[],'_legacyBackup':_0x55f9d1[_0x23fa46(0x326)],'dictOverlaysByUser':isPlainObject3(_0x55f9d1[_0x23fa46(0x37e)])?_0x55f9d1[_0x23fa46(0x37e)]:void 0x0};}function isPlainObject4(_0x5bd6bf){const _0x2c9b1a=_0xda391e;return _0x5bd6bf!=null&&typeof _0x5bd6bf===_0x2c9b1a(0x442)&&!Array[_0x2c9b1a(0x294)](_0x5bd6bf);}function normalizeKey(_0xdc5d39){const _0x383b8f=_0xda391e;return(_0xdc5d39??'')[_0x383b8f(0x33d)]()[_0x383b8f(0x320)]();}function parseRoundingJson(_0x33e172){const _0x1fddde=_0xda391e;if(!_0x33e172)return void 0x0;try{const _0x15b603=JSON['parse'](_0x33e172);if(!isPlainObject4(_0x15b603))return void 0x0;const _0x5387f7={};if(typeof _0x15b603[_0x1fddde(0x397)]===_0x1fddde(0x411))_0x5387f7[_0x1fddde(0x397)]=_0x15b603['roundMode'];if(typeof _0x15b603[_0x1fddde(0x3e0)]===_0x1fddde(0x3c8)&&Number[_0x1fddde(0x391)](_0x15b603[_0x1fddde(0x3e0)]))_0x5387f7[_0x1fddde(0x3e0)]=_0x15b603[_0x1fddde(0x3e0)];if(typeof _0x15b603['interval']===_0x1fddde(0x3c8)&&Number[_0x1fddde(0x391)](_0x15b603[_0x1fddde(0x3bc)]))_0x5387f7[_0x1fddde(0x3bc)]=_0x15b603[_0x1fddde(0x3bc)];if(typeof _0x15b603['sigDigits']===_0x1fddde(0x3c8)&&Number['isFinite'](_0x15b603['sigDigits']))_0x5387f7[_0x1fddde(0x44c)]=_0x15b603[_0x1fddde(0x44c)];if(Array[_0x1fddde(0x294)](_0x15b603[_0x1fddde(0x248)])){const _0x2076ca=_0x15b603['triggers'][_0x1fddde(0x447)](_0x45801a=>_0x45801a===_0x1fddde(0x35b)||_0x45801a==='onCompute');if(_0x2076ca['length'])_0x5387f7[_0x1fddde(0x248)]=_0x2076ca;}return Object[_0x1fddde(0x324)](_0x5387f7)['length']?_0x5387f7:void 0x0;}catch{return void 0x0;}}function roundingForCompute(_0x150aee){return getRoundingForComputeMeta(_0x150aee);}function resolveRoundingForTarget(_0x128f67,_0x5e2a25,_0x1175d0){const _0x42cec4=_0xda391e,_0x1a2d25=targetToOverrideKey(_0x5e2a25);if(_0x1175d0&&_0x1a2d25){const _0x596f37=_0x1175d0[_0x1a2d25];if(_0x596f37){const _0x1c3cd9={};if(_0x596f37[_0x42cec4(0x397)])_0x1c3cd9[_0x42cec4(0x397)]=_0x596f37[_0x42cec4(0x397)];if(typeof _0x596f37['scale']===_0x42cec4(0x3c8))_0x1c3cd9[_0x42cec4(0x3e0)]=_0x596f37[_0x42cec4(0x3e0)];if(typeof _0x596f37[_0x42cec4(0x3bc)]===_0x42cec4(0x3c8))_0x1c3cd9[_0x42cec4(0x3bc)]=_0x596f37['interval'];if(typeof _0x596f37[_0x42cec4(0x44c)]==='number')_0x1c3cd9[_0x42cec4(0x44c)]=_0x596f37[_0x42cec4(0x44c)];if(_0x596f37[_0x42cec4(0x248)]?.[_0x42cec4(0x33a)])_0x1c3cd9[_0x42cec4(0x248)]=_0x596f37['triggers'];if(Object[_0x42cec4(0x324)](_0x1c3cd9)[_0x42cec4(0x33a)])return _0x1c3cd9;}}if(!_0x128f67)return void 0x0;const _0x33a7fe=normalizeKey(_0x5e2a25['key']);if(!_0x33a7fe)return void 0x0;if(_0x5e2a25[_0x42cec4(0x24a)]==='base'){const _0x33aa1f=_0x128f67[_0x42cec4(0x331)]?.[_0x42cec4(0x3fc)](_0x421bac=>normalizeKey(_0x421bac[_0x42cec4(0x3db)])===_0x33a7fe);return _0x33aa1f?parseRoundingJson(_0x33aa1f[_0x42cec4(0x31b)]):void 0x0;}if(_0x5e2a25[_0x42cec4(0x24a)]===_0x42cec4(0x42d)){const _0x4c8708=_0x128f67[_0x42cec4(0x42d)]?.[_0x42cec4(0x3fc)](_0x1cafe3=>normalizeKey(_0x1cafe3[_0x42cec4(0x3db)])===_0x33a7fe);return _0x4c8708?parseRoundingJson(_0x4c8708[_0x42cec4(0x31b)]):void 0x0;}const _0x5d4d43=_0x5e2a25[_0x42cec4(0x303)]??0x1,_0x27dc5f=_0x128f67[_0x42cec4(0x20e)]?.[_0x42cec4(0x3fc)](_0x369e07=>_0x369e07[_0x42cec4(0x303)]===_0x5d4d43&&normalizeKey(_0x369e07[_0x42cec4(0x3db)])===_0x33a7fe);return _0x27dc5f?parseRoundingJson(_0x27dc5f[_0x42cec4(0x31b)]):void 0x0;}function targetToOverrideKey(_0x5cce76){const _0x28ad37=_0xda391e;if(_0x5cce76[_0x28ad37(0x24a)]==='base')return'base.'+_0x5cce76[_0x28ad37(0x39e)];if(_0x5cce76[_0x28ad37(0x24a)]===_0x28ad37(0x42d))return _0x28ad37(0x1fc)+_0x5cce76['key'];return _0x28ad37(0x200)+(_0x5cce76['subSchemaId']??0x1)+'.'+_0x5cce76[_0x28ad37(0x39e)];}function parseFieldPath(_0x20315a){const _0x22a329=_0xda391e,_0x3eb5d8=_0x20315a[_0x22a329(0x33d)]();if(!_0x3eb5d8)return null;if(_0x3eb5d8[_0x22a329(0x334)](_0x22a329(0x43d))){const _0x76ddd2=_0x3eb5d8[_0x22a329(0x32f)](0x4)[_0x22a329(0x33d)]();return _0x76ddd2?{'scope':_0x22a329(0x233),'key':_0x76ddd2}:null;}if(_0x3eb5d8[_0x22a329(0x334)]('base.')){const _0x3854f3=_0x3eb5d8['slice'](0x5)[_0x22a329(0x33d)]();return _0x3854f3?{'scope':_0x22a329(0x331),'key':_0x3854f3}:null;}if(_0x3eb5d8[_0x22a329(0x334)]('b.')){const _0x13421a=_0x3eb5d8[_0x22a329(0x32f)](0x2)['trim']();return _0x13421a?{'scope':_0x22a329(0x331),'key':_0x13421a}:null;}if(_0x3eb5d8['startsWith'](_0x22a329(0x1fc))){const _0x1aedce=_0x3eb5d8[_0x22a329(0x32f)](0x5)[_0x22a329(0x33d)]();return _0x1aedce?{'scope':_0x22a329(0x42d),'key':_0x1aedce}:null;}if(_0x3eb5d8[_0x22a329(0x334)]('m.')){const _0x39457c=_0x3eb5d8[_0x22a329(0x32f)](0x2)[_0x22a329(0x33d)]();return _0x39457c?{'scope':'main','key':_0x39457c}:null;}const _0x1fc053=/^s(\d+)\.(.+)$/i[_0x22a329(0x40d)](_0x3eb5d8);if(_0x1fc053){const _0x3bf4a7=Number(_0x1fc053[0x1]),_0x291eb2=_0x1fc053[0x2][_0x22a329(0x33d)]();if(Number[_0x22a329(0x391)](_0x3bf4a7)&&_0x3bf4a7>=0x1&&_0x291eb2)return{'scope':_0x22a329(0x20e),'subSchemaId':_0x3bf4a7,'key':_0x291eb2};}return{'scope':_0x22a329(0x42d),'key':_0x3eb5d8};}function resolveRoundingFromFieldPath(_0x1bc6eb,_0x10296c,_0x105909){const _0x5ae4dc=_0xda391e,_0x3b1f28=parseFieldPath(_0x10296c);if(!_0x3b1f28)return void 0x0;if(_0x3b1f28['scope']===_0x5ae4dc(0x233)){const _0x52e487=_0x105909['subSchemaId']??_0x105909[_0x5ae4dc(0x2e9)]?.['subSchemaId']??0x1;return resolveRoundingForTarget(_0x1bc6eb,{'scope':_0x5ae4dc(0x20e),'key':_0x3b1f28[_0x5ae4dc(0x39e)],'subSchemaId':_0x52e487});}if(_0x3b1f28[_0x5ae4dc(0x24a)]===_0x5ae4dc(0x20e))return resolveRoundingForTarget(_0x1bc6eb,{'scope':'sub','key':_0x3b1f28['key'],'subSchemaId':_0x3b1f28['subSchemaId']});return resolveRoundingForTarget(_0x1bc6eb,{'scope':_0x3b1f28[_0x5ae4dc(0x24a)],'key':_0x3b1f28[_0x5ae4dc(0x39e)]});}function applyNumericRounding(_0x39c99e,_0xd7e23d){const _0x5b5bfa=_0xda391e;if(_0x39c99e==null||_0x39c99e==='')return _0x39c99e;const _0x93fa10=typeof _0x39c99e===_0x5b5bfa(0x3c8)?_0x39c99e:Number(_0x39c99e);if(!Number['isFinite'](_0x93fa10))return _0x39c99e;const _0x3ae552=roundingForCompute(_0xd7e23d);if(!_0x3ae552?.[_0x5b5bfa(0x397)])return _0x39c99e;const _0x241f14=applyRounding(_0x93fa10,_0x3ae552);return Number['isFinite'](_0x241f14)?_0x241f14:_0x39c99e;}function lhsToRoundingTarget(_0x3da642){const _0x1ec5e6=_0xda391e;if(_0x3da642[_0x1ec5e6(0x2ec)]===_0x1ec5e6(0x331))return{'scope':_0x1ec5e6(0x331),'key':_0x3da642['key']};if(_0x3da642['kind']==='main')return{'scope':'main','key':_0x3da642['key']};return{'scope':_0x1ec5e6(0x20e),'key':_0x3da642[_0x1ec5e6(0x398)],'subSchemaId':_0x3da642[_0x1ec5e6(0x303)]};}function applyFieldRoundingForStore(_0x21a0cd,_0x57317c,_0xebacda,_0x35eb87){const _0x21afa9=_0xda391e;if(_0x35eb87?.[_0x21afa9(0x3e1)]===![])return _0x21a0cd;const _0x153850=lhsToRoundingTarget(_0xebacda),_0x3fff4b=roundingForCompute(resolveRoundingForTarget(_0x57317c,_0x153850));return applyNumericRounding(_0x21a0cd,_0x3fff4b);}var ROUNDING_LAYER_ORDER=[_0xda391e(0x342),_0xda391e(0x3f4),_0xda391e(0x29c),_0xda391e(0x347)];function isUserLayer(_0x5156fa){return _0x5156fa!=='comboProfile';}function mergeEntry(_0x2269f7,_0x24755d){const _0x481f2e=_0xda391e,_0x25ff29={'roundMode':_0x24755d['roundMode']??_0x2269f7?.['roundMode'],'scale':_0x24755d[_0x481f2e(0x3e0)]??_0x2269f7?.[_0x481f2e(0x3e0)],'interval':_0x24755d[_0x481f2e(0x3bc)]??_0x2269f7?.[_0x481f2e(0x3bc)],'sigDigits':_0x24755d[_0x481f2e(0x44c)]??_0x2269f7?.['sigDigits'],'triggers':_0x24755d[_0x481f2e(0x248)]??_0x2269f7?.[_0x481f2e(0x248)]};return _0x25ff29;}function isEmptyEntry(_0x91fda1){const _0x2d880b=_0xda391e;return _0x91fda1['roundMode']==null&&_0x91fda1[_0x2d880b(0x3e0)]==null&&_0x91fda1[_0x2d880b(0x3bc)]==null&&_0x91fda1[_0x2d880b(0x44c)]==null&&(_0x91fda1[_0x2d880b(0x248)]==null||_0x91fda1[_0x2d880b(0x248)][_0x2d880b(0x33a)]===0x0);}function mergeRoundingOverrideLayers(_0x224f50,_0x841d2e){const _0x483e44=_0xda391e,_0x37aa35=_0x187b8b=>{const _0x513b49=_0x3ab1,_0x141db6=ROUNDING_LAYER_ORDER[_0x513b49(0x41d)](_0x187b8b);return _0x141db6<0x0?ROUNDING_LAYER_ORDER[_0x513b49(0x33a)]:_0x141db6;},_0x7fbf26=[..._0x224f50]['sort']((_0x46a58b,_0x4dcb4e)=>_0x37aa35(_0x46a58b[_0x483e44(0x24a)])-_0x37aa35(_0x4dcb4e[_0x483e44(0x24a)])),_0x3031ea={};for(const _0x2719e3 of _0x7fbf26){const _0x8b71a=isUserLayer(_0x2719e3[_0x483e44(0x24a)]);for(const [_0x47b192,_0x380505]of Object[_0x483e44(0x24f)](_0x2719e3[_0x483e44(0x412)])){if(!_0x380505)continue;if(_0x8b71a&&_0x841d2e?.[_0x483e44(0x2d3)](_0x47b192))continue;const _0x275bc9=mergeEntry(_0x3031ea[_0x47b192],_0x380505);isEmptyEntry(_0x275bc9)?delete _0x3031ea[_0x47b192]:_0x3031ea[_0x47b192]=_0x275bc9;}}return _0x3031ea;}function buildRoundingLayers(_0x423823){const _0x3145e2=_0xda391e,_0x452fe4=[];for(const _0x48a9da of ROUNDING_LAYER_ORDER){const _0x2d5586=_0x423823[_0x48a9da];_0x2d5586&&Object[_0x3145e2(0x324)](_0x2d5586)['length']>0x0&&_0x452fe4[_0x3145e2(0x3d3)]({'scope':_0x48a9da,'overrides':_0x2d5586});}return _0x452fe4;}var OVERFLOW_EPS=0.5;function buildSpliceDiagnostics(_0x3435aa){const _0x2f112c=_0xda391e,_0x458ca1=[];for(const _0x5d24ed of _0x3435aa[_0x2f112c(0x1e6)]??[]){const _0xceae5=_0x5d24ed[_0x2f112c(0x1f4)]??0x0;if(_0xceae5>OVERFLOW_EPS)_0x458ca1[_0x2f112c(0x3d3)]({'level':_0x2f112c(0x1e7),'code':_0x2f112c(0x27c),'location':_0x5d24ed[_0x2f112c(0x203)],'message':_0x2f112c(0x245)+Math[_0x2f112c(0x24b)](_0xceae5)+'px','fix':'snap'});else{if(_0x5d24ed[_0x2f112c(0x1f4)]!=null&&_0xceae5<-OVERFLOW_EPS)_0x458ca1[_0x2f112c(0x3d3)]({'level':_0x2f112c(0x3ad),'code':_0x2f112c(0x39a),'location':_0x5d24ed['location'],'message':_0x2f112c(0x422)+Math[_0x2f112c(0x24b)](-_0xceae5)+'px','fix':'snap'});else _0x5d24ed[_0x2f112c(0x1f4)]==null&&_0x458ca1[_0x2f112c(0x3d3)]({'level':'warning','code':_0x2f112c(0x3e5),'location':_0x5d24ed[_0x2f112c(0x203)],'message':_0x2f112c(0x269),'fix':_0x2f112c(0x3d1)});}_0x5d24ed['rowUnderfilled']&&_0x458ca1[_0x2f112c(0x3d3)]({'level':_0x2f112c(0x3ad),'code':'splice.row_underfilled','location':_0x5d24ed[_0x2f112c(0x203)],'message':_0x2f112c(0x28b),'fix':_0x2f112c(0x2b9)});}const _0x59cc6c=_0x3435aa[_0x2f112c(0x309)]??0x0;_0x59cc6c>OVERFLOW_EPS&&_0x458ca1[_0x2f112c(0x3d3)]({'level':_0x2f112c(0x1e7),'code':_0x2f112c(0x414),'location':'\u5408\u6210\u6574\u9875','message':'合成后总宽超出\x20A4\x20可打印宽\x20'+Math[_0x2f112c(0x24b)](_0x59cc6c)+'px','fix':_0x2f112c(0x3d1)});for(const _0x9fa360 of _0x3435aa[_0x2f112c(0x37d)]??[]){_0x458ca1[_0x2f112c(0x3d3)]({'level':_0x2f112c(0x3ad),'code':_0x2f112c(0x1ee),'location':_0x9fa360[_0x2f112c(0x203)],'message':_0x2f112c(0x27d),'fix':_0x2f112c(0x34c),'slotKey':_0x9fa360[_0x2f112c(0x2e5)]});}if(_0x3435aa[_0x2f112c(0x211)]?.[_0x2f112c(0x33a)])_0x458ca1[_0x2f112c(0x3d3)](..._0x3435aa[_0x2f112c(0x211)]);const _0x494e6e=_0x458ca1[_0x2f112c(0x447)](_0x3023c9=>_0x3023c9[_0x2f112c(0x2ae)]===_0x2f112c(0x1e7))[_0x2f112c(0x33a)],_0x65ef1f=_0x458ca1[_0x2f112c(0x447)](_0x17f8e4=>_0x17f8e4[_0x2f112c(0x2ae)]==='warning')[_0x2f112c(0x33a)];return{'diagnostics':_0x458ca1,'errorCount':_0x494e6e,'warningCount':_0x65ef1f,'canPublish':_0x494e6e===0x0};}function buildSignatureWorkflow(_0x413cb8,_0x319df2){const _0x4ba1f0=_0xda391e,_0x551af5=new Map();for(const _0x531be1 of _0x319df2){if(_0x531be1?.[_0x4ba1f0(0x3cb)])_0x551af5[_0x4ba1f0(0x40e)](_0x531be1[_0x4ba1f0(0x3cb)],_0x531be1);}const _0x312cac=[];let _0x207d88=0x0,_0x1bd085=0x0,_0x2d4698=0x0;for(const _0x2bba29 of _0x413cb8){const _0x549747=_0x2bba29['required']===!![],_0x528f9f=_0x551af5[_0x4ba1f0(0x446)](_0x2bba29['slotId']),_0x114007=_0x528f9f!=null;if(_0x549747)_0x1bd085+=0x1;if(_0x114007)_0x207d88+=0x1;let _0x23301a;if(_0x114007)_0x23301a=_0x4ba1f0(0x2d7);else{if(_0x549747)_0x23301a='missingRequired',_0x2d4698+=0x1;else _0x23301a=_0x4ba1f0(0x36b);}_0x312cac[_0x4ba1f0(0x3d3)]({'slotId':_0x2bba29[_0x4ba1f0(0x3cb)],'name':_0x2bba29[_0x4ba1f0(0x35c)],'kind':_0x2bba29[_0x4ba1f0(0x2ec)],'role':_0x2bba29['role'],'required':_0x549747,'status':_0x23301a,'result':_0x528f9f});}return{'slots':_0x312cac,'signedCount':_0x207d88,'requiredCount':_0x1bd085,'missingRequiredCount':_0x2d4698,'canComplete':_0x2d4698===0x0};}function nextPendingSignature(_0x4e84d1){const _0x9ef402=_0xda391e;return _0x4e84d1[_0x9ef402(0x3a9)][_0x9ef402(0x3fc)](_0x535d39=>_0x535d39[_0x9ef402(0x382)]===_0x9ef402(0x306))??_0x4e84d1[_0x9ef402(0x3a9)][_0x9ef402(0x3fc)](_0x18893f=>_0x18893f[_0x9ef402(0x382)]===_0x9ef402(0x36b))??null;}var SIGNATURE_ASSET_KINDS=new Set([_0xda391e(0x38e),_0xda391e(0x274)]);function signatureSpecsFromEmbeds(_0x15ffb1){const _0x8cb4c6=_0xda391e,_0x327cf5=[];for(const _0x3f03b2 of _0x15ffb1??[]){if(_0x3f03b2[_0x8cb4c6(0x2ec)]!=='asset')continue;const _0x13d1a7=_0x3f03b2;if(!SIGNATURE_ASSET_KINDS[_0x8cb4c6(0x2d3)](_0x13d1a7['assetKind']))continue;_0x327cf5['push']({'slotId':_0x13d1a7[_0x8cb4c6(0x3cb)],'name':_0x13d1a7[_0x8cb4c6(0x35c)]??_0x13d1a7[_0x8cb4c6(0x3cb)],'kind':_0x13d1a7[_0x8cb4c6(0x2fd)]===_0x8cb4c6(0x274)?_0x8cb4c6(0x219):_0x8cb4c6(0x381),'role':_0x13d1a7['signature']?.['allowedRoles']?.[0x0],'required':_0x13d1a7[_0x8cb4c6(0x38e)]?.[_0x8cb4c6(0x2d8)]??![],'recordTimestamp':!![],'recordSigner':!![]});}return _0x327cf5;}function signatureResultsFromEmbedStates(_0x40dfe4){const _0x4fd3d1=_0xda391e,_0x2246f9=[];for(const [_0xb1c66,_0x1dfcbb]of Object['entries'](_0x40dfe4??{})){const _0x26a93c=_0x1dfcbb?.[_0x4fd3d1(0x2c5)]??_0x1dfcbb?.[_0x4fd3d1(0x445)];if(!_0x26a93c)continue;_0x2246f9['push']({'slotId':_0xb1c66,'fileId':_0x26a93c,'signerUserId':_0x1dfcbb?.['signedBy']??'','signerName':_0x1dfcbb?.[_0x4fd3d1(0x31c)],'signedAt':_0x1dfcbb?.[_0x4fd3d1(0x354)]??''});}return _0x2246f9;}function applySignatureResultsToEmbedStates(_0x40634c,_0x557f86,_0x473556){const _0x3dfbc4=_0xda391e,_0x1dea33={..._0x40634c??{}};for(const _0x3a2e95 of _0x473556??[]){if(_0x1dea33[_0x3a2e95]){const {fileId:_0x5e19e6,signedBy:_0x4dc1f8,signedAt:_0x17c53d,..._0x11e24f}=_0x1dea33[_0x3a2e95];_0x1dea33[_0x3a2e95]=_0x11e24f;}}for(const _0x1e182d of _0x557f86){_0x1dea33[_0x1e182d[_0x3dfbc4(0x3cb)]]={..._0x1dea33[_0x1e182d[_0x3dfbc4(0x3cb)]],'fileId':_0x1e182d[_0x3dfbc4(0x445)],'signedBy':_0x1e182d[_0x3dfbc4(0x3ea)]??_0x1e182d[_0x3dfbc4(0x41e)],'signedAt':_0x1e182d[_0x3dfbc4(0x354)]};}return _0x1dea33;}function stripRuntimeComputedUserParams(_0xd94049){const _0x48fd31=_0xda391e;if(!_0xd94049)return{};const _0x5bb189={};for(const [_0x55518d,_0x154772]of Object[_0x48fd31(0x24f)](_0xd94049)){if(isRuntimeComputedSystemParam(_0x55518d))continue;_0x5bb189[_0x55518d]=_0x154772;}return _0x5bb189;}function paramValueToDisplayString(_0x32b513){if(_0x32b513==null||_0x32b513==='')return'';return typeof _0x32b513==='string'?_0x32b513:String(_0x32b513);}function templateContainsSystemParamTokens(_0x50b1f3){const _0x527c5d=_0xda391e,_0x3ce937=_0x50b1f3[_0x527c5d(0x33d)]();if(!_0x3ce937)return![];for(const {token:_0x23a122}of listTemplateSystemParamTokenEntries()){if(_0x3ce937[_0x527c5d(0x23f)](_0x23a122))return!![];}return![];}function enrichParamsForFieldRuntime(_0x363a53){const _0x27785e=_0x363a53??{},_0x5b945d={..._0x27785e};for(const {token:_0x1afc36,canonical:_0x2ec220}of listTemplateSystemParamTokenEntries()){if(_0x1afc36===_0x2ec220)continue;const _0x27368a=_0x27785e[_0x2ec220];if(_0x27368a==null||_0x27368a==='')continue;if(_0x5b945d[_0x1afc36]==null||_0x5b945d[_0x1afc36]==='')_0x5b945d[_0x1afc36]=_0x27368a;}return _0x5b945d;}function resolveParamForTemplateExpand(_0x4dc065,_0x267c97,_0xbf51a3){const _0x2b6854=_0x4dc065[_0x267c97];if(_0x2b6854!=null&&_0x2b6854!=='')return _0x2b6854;if(_0xbf51a3!==_0x267c97){const _0x283309=_0x4dc065[_0xbf51a3];if(_0x283309!=null&&_0x283309!=='')return _0x283309;}const _0x3cb489=normalizeSystemParamId(_0xbf51a3);if(_0x3cb489!==_0xbf51a3&&_0x3cb489!==_0x267c97){const _0x58c8d2=_0x4dc065[_0x3cb489];if(_0x58c8d2!=null&&_0x58c8d2!=='')return _0x58c8d2;}return void 0x0;}function expandSystemParamTemplate(_0x10eaaa,_0x3f97d6){const _0x21d7cc=_0xda391e;if(!_0x10eaaa[_0x21d7cc(0x33d)]())return'';const _0x271bd4=_0x3f97d6??{};let _0x12b47b=_0x10eaaa;for(const {token:_0x3acca3,canonical:_0x12a18a}of listTemplateSystemParamTokenEntries()){const _0x14392e=resolveParamForTemplateExpand(_0x271bd4,_0x12a18a,_0x3acca3);if(_0x14392e==null||_0x14392e==='')continue;const _0x2fd42c=paramValueToDisplayString(_0x14392e);if(!_0x2fd42c)continue;_0x12b47b=_0x12b47b['split'](_0x3acca3)['join'](_0x2fd42c);}return _0x12b47b;}function isValidRuntimeParamUserOverride(_0x579ef2,_0x10b142){const _0x5b6763=_0xda391e,_0x209b9e=normalizeSystemParamId(_0x579ef2);if(_0x209b9e===_0x5b6763(0x308)||_0x209b9e===_0x5b6763(0x33e)){if(typeof _0x10b142===_0x5b6763(0x3c8)&&Number[_0x5b6763(0x391)](_0x10b142)&&_0x10b142>=0x0)return!![];if(typeof _0x10b142==='string'&&/^\d+$/['test'](_0x10b142[_0x5b6763(0x33d)]()))return!![];return![];}if(_0x209b9e===_0x5b6763(0x34b)||_0x209b9e===_0x5b6763(0x363)||_0x209b9e===_0x5b6763(0x409)){if(typeof _0x10b142==='number'&&Number[_0x5b6763(0x391)](_0x10b142)&&_0x10b142>=0x0)return!![];if(typeof _0x10b142==='string'&&/^\d+$/['test'](_0x10b142[_0x5b6763(0x33d)]()))return!![];return![];}return!![];}function mergeSystemAndUserParams(_0x7da91a,_0x2cf93e){const _0x383bdb=_0xda391e;if(!_0x2cf93e)return{..._0x7da91a};const _0x4d8e31={..._0x7da91a};for(const [_0x590029,_0x226050]of Object[_0x383bdb(0x24f)](_0x2cf93e)){if(_0x226050==null||_0x226050==='')continue;const _0x4eeffc=normalizeSystemParamId(_0x590029);if(isRuntimeComputedSystemParam(_0x4eeffc)&&!isValidRuntimeParamUserOverride(_0x4eeffc,_0x226050))continue;_0x4d8e31[_0x4eeffc]=_0x226050;}for(const _0xb4e7bb of[_0x383bdb(0x308),_0x383bdb(0x33e)]){const _0x39b676=_0x7da91a[_0xb4e7bb];if(_0x39b676==null||_0x39b676===''){delete _0x4d8e31[_0xb4e7bb];continue;}const _0x160722=_0x4d8e31[_0xb4e7bb];(_0x160722==null||_0x160722==='')&&(_0x4d8e31[_0xb4e7bb]=_0x39b676);}return _0x4d8e31;}function stripFieldPrefix(_0x373d27){const _0x1cb95c=_0xda391e,_0x47df3b=_0x373d27['trimStart']();if(_0x47df3b[_0x1cb95c(0x334)](':='))return _0x47df3b['slice'](0x2)['trim']();return null;}function buildFieldRunContext(_0x558270,_0x54571a,_0x1e9575){const _0x21a80e=_0xda391e,_0x571d6c={};for(const [_0x5bc1db,_0x1652be]of Object['entries'](_0x558270[_0x21a80e(0x20e)])){const _0x5b1a54=Number(_0x5bc1db),_0x2f5e37=new Set();for(const _0x3be2e1 of _0x1652be)for(const _0x5d7980 of Object[_0x21a80e(0x324)](_0x3be2e1))_0x2f5e37[_0x21a80e(0x44a)](_0x5d7980);const _0x259012={},_0x4a9384=_0x1652be[_0x21a80e(0x32f)]();for(const _0x463695 of _0x2f5e37){_0x259012[_0x463695]=_0x4a9384[_0x21a80e(0x43c)](_0x2685b6=>_0x2685b6[_0x463695]??null);}_0x259012[_0x21a80e(0x33a)]=_0x4a9384[_0x21a80e(0x33a)];const _0x4a4bd9=resolveSubRowStatKey(_0x1e9575?.[_0x21a80e(0x285)],_0x5b1a54);_0x259012[_0x21a80e(0x3c2)]=countActiveSubRows(_0x4a9384,_0x4a4bd9);if(_0x54571a[_0x21a80e(0x2ec)]==='sub'&&_0x54571a[_0x21a80e(0x303)]===_0x5b1a54){const _0x985317=_0x4a9384[_0x54571a[_0x21a80e(0x24e)]]??{};for(const _0x2305cc of _0x2f5e37){_0x259012[_0x2305cc]=_0x985317[_0x2305cc]??null;}_0x259012[_0x21a80e(0x30f)]=_0x985317,_0x259012[_0x21a80e(0x3c0)]=_0x4a9384;}_0x571d6c['s'+_0x5b1a54]=_0x259012;}const _0x22c205={'b':_0x558270[_0x21a80e(0x331)],'m':_0x558270[_0x21a80e(0x42d)],'p':enrichParamsForFieldRuntime(_0x558270[_0x21a80e(0x3e8)]),..._0x571d6c};if(_0x54571a[_0x21a80e(0x2ec)]===_0x21a80e(0x20e)){const _0x1e4934=_0x558270[_0x21a80e(0x20e)][_0x54571a[_0x21a80e(0x303)]]??[];_0x22c205['row']=_0x1e4934[_0x54571a['rowIndex']]??{},_0x22c205[_0x21a80e(0x24e)]=_0x54571a['rowIndex'];}const _0x558691=_0x54571a[_0x21a80e(0x2ec)]===_0x21a80e(0x20e)?_0x54571a['subSchemaId']:void 0x0;return Object[_0x21a80e(0x3cc)](_0x22c205,buildFormulaStdLib({'fieldRegistry':_0x1e9575?.[_0x21a80e(0x285)],'currentTarget':_0x1e9575?.['currentTarget'],'subSchemaId':_0x558691,'aggregateEmptyAs':_0x1e9575?.[_0x21a80e(0x2bd)]??_0x21a80e(0x1f0)})),_0x1e9575?.[_0x21a80e(0x282)]&&Object[_0x21a80e(0x3cc)](_0x22c205,buildFieldSetters(_0x558270,_0x54571a,_0x1e9575?.['fieldRegistry'])),_0x22c205;}function buildFieldSetters(_0x4b4feb,_0x2b344a,_0xe2c838){const _0x141585=(_0xac3e5b,_0x2aabda)=>{const _0x3ad380=_0x3ab1,_0x5b1bbc=String(_0xac3e5b??'')['trim']();if(!_0x5b1bbc)return null;const _0x5a8875=applyFieldRoundingForStore(_0x2aabda,_0xe2c838,{'kind':'main','key':_0x5b1bbc});return _0x4b4feb[_0x3ad380(0x42d)][_0x5b1bbc]=_0x5a8875,_0x5a8875??null;},_0x108ccb=(_0x2d540e,_0x5ed827)=>{const _0x878168=_0x3ab1,_0x2a27e3=String(_0x2d540e??'')[_0x878168(0x33d)]();if(!_0x2a27e3)return null;const _0x19e470=applyFieldRoundingForStore(_0x5ed827,_0xe2c838,{'kind':'base','key':_0x2a27e3});return _0x4b4feb['base'][_0x2a27e3]=_0x19e470,_0x19e470??null;},_0x8fd945=(_0x360d40,_0x4ed263,_0x23483e,_0x4e1626)=>{const _0x2f6556=_0x3ab1,_0x43b3ec=Number(_0x360d40),_0x18a376=Number(_0x4ed263),_0x2d36c1=String(_0x23483e??'')[_0x2f6556(0x33d)]();if(!Number[_0x2f6556(0x391)](_0x43b3ec)||_0x43b3ec<0x1||!Number['isFinite'](_0x18a376)||_0x18a376<0x0||!_0x2d36c1)return null;const _0x5b3f31=_0x4b4feb['sub'][_0x43b3ec]??(_0x4b4feb['sub'][_0x43b3ec]=[]);while(_0x5b3f31['length']<=_0x18a376)_0x5b3f31['push']({});const _0x3b6df6=_0x5b3f31[_0x18a376]??(_0x5b3f31[_0x18a376]={}),_0x3865b6=applyFieldRoundingForStore(_0x4e1626,_0xe2c838,{'kind':'subRow','subSchemaId':_0x43b3ec,'col':_0x2d36c1});return _0x3b6df6[_0x2d36c1]=_0x3865b6,_0x3865b6??null;},_0x81b3c4=(_0x3bfca9,_0x5f41de,_0x3748fb)=>{const _0x4d78d4=_0x3ab1;if(_0x2b344a[_0x4d78d4(0x2ec)]!=='sub')return null;return _0x8fd945(_0x2b344a[_0x4d78d4(0x303)],_0x3bfca9,_0x5f41de,_0x3748fb);};return{'assign':_0x141585,'setMain':_0x141585,'setBase':_0x108ccb,'setSub':_0x8fd945,'setSubAt':_0x81b3c4};}function toNumList(_0x51c64c){const _0x36f4b4=_0xda391e;if(_0x51c64c==null)return[];if(Array['isArray'](_0x51c64c)){const _0x29df51=[];for(const _0x3548cc of _0x51c64c){if(_0x3548cc==null||_0x3548cc==='')continue;const _0x569e30=Number(_0x3548cc);if(Number[_0x36f4b4(0x391)](_0x569e30))_0x29df51[_0x36f4b4(0x3d3)](_0x569e30);}return _0x29df51;}const _0x504e05=Number(_0x51c64c);return Number[_0x36f4b4(0x391)](_0x504e05)?[_0x504e05]:[];}function emptyAggregateResult(_0x20745d){const _0x5af602=_0xda391e;return _0x20745d===_0x5af602(0x227)?0x0:null;}function buildFormulaStdLib(_0x2b66c0){const _0x99fe24=_0xda391e,_0x7d54c4=_0x2b66c0?.[_0x99fe24(0x2bd)]??_0x99fe24(0x1f0),_0x5123f6=_0x2b66c0?.[_0x99fe24(0x285)],_0x3adbec=_0x2b66c0?.[_0x99fe24(0x2e9)],_0x475622=_0x2b66c0?.[_0x99fe24(0x303)],_0xad9e27=(_0x550728,_0x567858)=>{const _0x27a5e2=_0x99fe24;if(_0x550728==null||_0x550728==='')return null;const _0x2ca0a2=typeof _0x550728===_0x27a5e2(0x3c8)?_0x550728:Number(_0x550728);if(!Number[_0x27a5e2(0x391)](_0x2ca0a2))return null;let _0x4d13c9;_0x567858==null||String(_0x567858)[_0x27a5e2(0x33d)]()===''?_0x4d13c9=_0x3adbec?roundingForCompute(resolveRoundingForTarget(_0x5123f6,_0x3adbec)):void 0x0:_0x4d13c9=roundingForCompute(resolveRoundingFromFieldPath(_0x5123f6,String(_0x567858),{'currentTarget':_0x3adbec,'subSchemaId':_0x475622}));if(!_0x4d13c9?.[_0x27a5e2(0x397)])return _0x2ca0a2;return applyNumericRounding(_0x2ca0a2,_0x4d13c9);};return{'sum':(..._0x5ee004)=>{const _0x1e7383=_0x99fe24,_0x52baeb=toNumList(_0x5ee004[_0x1e7383(0x33a)]===0x1?_0x5ee004[0x0]:_0x5ee004);if(_0x52baeb[_0x1e7383(0x33a)]===0x0)return emptyAggregateResult(_0x7d54c4);return _0x52baeb[_0x1e7383(0x1fe)]((_0x395466,_0x295d4e)=>_0x395466+_0x295d4e,0x0);},'avg':(..._0x51aba2)=>{const _0x2e93a4=_0x99fe24,_0x5e2e92=toNumList(_0x51aba2['length']===0x1?_0x51aba2[0x0]:_0x51aba2);if(_0x5e2e92[_0x2e93a4(0x33a)]===0x0)return emptyAggregateResult(_0x7d54c4);return _0x5e2e92[_0x2e93a4(0x1fe)]((_0x497c17,_0x1dff96)=>_0x497c17+_0x1dff96,0x0)/_0x5e2e92[_0x2e93a4(0x33a)];},'min':(..._0xea5f26)=>{const _0x1d9bb5=_0x99fe24,_0x4dd2d4=toNumList(_0xea5f26[_0x1d9bb5(0x33a)]===0x1?_0xea5f26[0x0]:_0xea5f26);if(_0x4dd2d4[_0x1d9bb5(0x33a)]===0x0)return emptyAggregateResult(_0x7d54c4);return Math['min'](..._0x4dd2d4);},'max':(..._0x54d6e0)=>{const _0x1ed434=_0x99fe24,_0x5e208d=toNumList(_0x54d6e0[_0x1ed434(0x33a)]===0x1?_0x54d6e0[0x0]:_0x54d6e0);if(_0x5e208d[_0x1ed434(0x33a)]===0x0)return emptyAggregateResult(_0x7d54c4);return Math[_0x1ed434(0x206)](..._0x5e208d);},'count':(..._0x502c10)=>{const _0x2e6ed3=_0x99fe24,_0x3c65a4=_0x502c10[_0x2e6ed3(0x33a)]===0x1&&Array[_0x2e6ed3(0x294)](_0x502c10[0x0])?_0x502c10[0x0]:_0x502c10;let _0x52fce3=0x0;for(const _0xa408dc of _0x3c65a4)if(_0xa408dc!=null&&_0xa408dc!=='')_0x52fce3+=0x1;return _0x52fce3;},'first':_0x5d48df=>Array['isArray'](_0x5d48df)&&_0x5d48df[_0x99fe24(0x33a)]?_0x5d48df[0x0]:null,'last':_0x873100=>Array[_0x99fe24(0x294)](_0x873100)&&_0x873100[_0x99fe24(0x33a)]?_0x873100[_0x873100['length']-0x1]:null,'round':(_0x1cd71a,_0x7ba69d)=>{const _0x456286=_0x99fe24,_0x16d012=Number(_0x1cd71a),_0x169234=_0x7ba69d==null?0x0:Math[_0x456286(0x207)](Number(_0x7ba69d));if(!Number[_0x456286(0x391)](_0x16d012))return 0x0;return applyRounding(_0x16d012,{'roundMode':_0x456286(0x42c),'scale':_0x169234});},'roundHalfUp':(_0x20b62a,_0x44b698)=>{const _0x1285eb=_0x99fe24,_0x49baff=Number(_0x20b62a),_0x519409=_0x44b698==null?0x0:Math['floor'](Number(_0x44b698));if(!Number['isFinite'](_0x49baff))return 0x0;return applyRounding(_0x49baff,{'roundMode':_0x1285eb(0x42c),'scale':_0x519409});},'roundEven':(_0x59bfdf,_0x32f732)=>{const _0x40813e=_0x99fe24,_0x574dd4=Number(_0x59bfdf),_0x4da879=_0x32f732==null?0x0:Math[_0x40813e(0x207)](Number(_0x32f732));if(!Number[_0x40813e(0x391)](_0x574dd4))return 0x0;return applyRounding(_0x574dd4,{'roundMode':_0x40813e(0x2cf),'scale':_0x4da879});},'roundHalfEven':(_0x354436,_0x5a38b0)=>{const _0x6fc1fb=_0x99fe24,_0x4fbb90=Number(_0x354436),_0x139e98=_0x5a38b0==null?0x0:Math[_0x6fc1fb(0x207)](Number(_0x5a38b0));if(!Number[_0x6fc1fb(0x391)](_0x4fbb90))return 0x0;return applyRounding(_0x4fbb90,{'roundMode':_0x6fc1fb(0x2cf),'scale':_0x139e98});},'roundTruncate':(_0x178ad6,_0x55fc38)=>{const _0x2409e5=_0x99fe24,_0x47af05=Number(_0x178ad6),_0x395420=_0x55fc38==null?0x0:Math[_0x2409e5(0x207)](Number(_0x55fc38));if(!Number['isFinite'](_0x47af05))return 0x0;return applyRounding(_0x47af05,{'roundMode':_0x2409e5(0x374),'scale':_0x395420});},'roundCeiling':(_0xd88368,_0x907f9a)=>{const _0x5337cf=_0x99fe24,_0x4df1b4=Number(_0xd88368),_0x44d731=_0x907f9a==null?0x0:Math[_0x5337cf(0x207)](Number(_0x907f9a));if(!Number[_0x5337cf(0x391)](_0x4df1b4))return 0x0;return applyRounding(_0x4df1b4,{'roundMode':_0x5337cf(0x373),'scale':_0x44d731});},'roundFloor':(_0x1fdc97,_0x505e6e)=>{const _0x344ff2=_0x99fe24,_0x4cecaa=Number(_0x1fdc97),_0x42a770=_0x505e6e==null?0x0:Math['floor'](Number(_0x505e6e));if(!Number['isFinite'](_0x4cecaa))return 0x0;return applyRounding(_0x4cecaa,{'roundMode':_0x344ff2(0x207),'scale':_0x42a770});},'roundToInterval':(_0x551103,_0x2d471c)=>{const _0x14a19e=_0x99fe24,_0x161e4c=Number(_0x551103),_0x3bb81c=Number(_0x2d471c);if(!Number['isFinite'](_0x161e4c)||!Number[_0x14a19e(0x391)](_0x3bb81c)||_0x3bb81c<=0x0)return 0x0;return roundToInterval(_0x161e4c,_0x3bb81c,'half_even');},'roundSig':(_0x3b2139,_0x51301d)=>{const _0x53522b=_0x99fe24,_0x3c181e=Number(_0x3b2139),_0x7d8594=Math[_0x53522b(0x206)](0x1,Math['floor'](Number(_0x51301d??0x1)));if(!Number[_0x53522b(0x391)](_0x3c181e))return 0x0;return roundToSignificant(_0x3c181e,_0x7d8594);},'roundSignificant':(_0x18ec94,_0x81e6e8)=>{const _0x131d0e=_0x99fe24,_0x168ba1=Number(_0x18ec94),_0x1aa76a=Math[_0x131d0e(0x206)](0x1,Math['floor'](Number(_0x81e6e8??0x1)));if(!Number[_0x131d0e(0x391)](_0x168ba1))return 0x0;return roundToSignificant(_0x168ba1,_0x1aa76a);},'abs':_0xd3a371=>Math['abs'](Number(_0xd3a371)),'ceil':_0x5ea02e=>Math[_0x99fe24(0x32d)](Number(_0x5ea02e)),'floor':_0x357ea8=>Math[_0x99fe24(0x207)](Number(_0x357ea8)),'ifEmpty':(_0x936e55,_0x28a8ad)=>_0x936e55==null||_0x936e55===''?_0x28a8ad??null:_0x936e55,'roundByField':_0xad9e27,'formatDate':(_0x3b7a4,_0x1161c2)=>{const _0x2a3ea5=_0x99fe24,_0x3205c2=_0x3b7a4 instanceof Date?_0x3b7a4:new Date(String(_0x3b7a4??''));if(!Number[_0x2a3ea5(0x391)](_0x3205c2['getTime']()))return'';const _0x2a89ac=_0x3205c2['getFullYear'](),_0xd04946=String(_0x3205c2[_0x2a3ea5(0x405)]()+0x1)[_0x2a3ea5(0x393)](0x2,'0'),_0x158ba2=String(_0x3205c2[_0x2a3ea5(0x2fc)]())['padStart'](0x2,'0'),_0x1da17b=String(_0x3205c2['getHours']())[_0x2a3ea5(0x393)](0x2,'0'),_0x3722d4=String(_0x3205c2[_0x2a3ea5(0x24d)]())[_0x2a3ea5(0x393)](0x2,'0'),_0x5a6772=String(_0x3205c2[_0x2a3ea5(0x231)]())[_0x2a3ea5(0x393)](0x2,'0'),_0x545540=(_0x1161c2==null?'yyyy-MM-dd':String(_0x1161c2))[_0x2a3ea5(0x2cd)](/yyyy/g,String(_0x2a89ac))[_0x2a3ea5(0x2cd)](/MM/g,_0xd04946)['replace'](/dd/g,_0x158ba2)[_0x2a3ea5(0x2cd)](/HH/g,_0x1da17b)[_0x2a3ea5(0x2cd)](/mm/g,_0x3722d4)[_0x2a3ea5(0x2cd)](/ss/g,_0x5a6772);return _0x545540;}};}var ASSIGN_RE=/^\s*(b|m)\.([a-zA-Z_][\w]*)\s*=\s*(.+)\s*$/,SUB_ASSIGN_RE=/^\s*s(\d+)\.([a-zA-Z_][\w]*)\s*=\s*(.+)\s*$/;function compileFormulaAssignment(_0x2d78d4){const _0xf4419a=_0xda391e,_0x2de652=_0x2d78d4['trim']();if(!_0x2de652)return{'ok':![],'error':_0xf4419a(0x278)};let _0x3fc4c7=ASSIGN_RE[_0xf4419a(0x40d)](_0x2de652);if(_0x3fc4c7){const _0x475908=_0x3fc4c7[0x1]==='b'?_0xf4419a(0x331):_0xf4419a(0x42d),_0x1428a0=_0x3fc4c7[0x2],_0x1acfee=_0x3fc4c7[0x3]['trim']();return{'ok':!![],'target':{'scope':_0x475908,'key':_0x1428a0},'source':_0x1acfee[_0xf4419a(0x334)](':=')?_0x1acfee:_0xf4419a(0x3b8)+_0x1acfee,'assignment':_0x2de652};}_0x3fc4c7=SUB_ASSIGN_RE[_0xf4419a(0x40d)](_0x2de652);if(_0x3fc4c7){const _0x918a95=Number(_0x3fc4c7[0x1]),_0x4f9cdf=_0x3fc4c7[0x2],_0x128b2a=_0x3fc4c7[0x3]['trim']();if(!Number[_0xf4419a(0x391)](_0x918a95))return{'ok':![],'error':'\u65E0\u6548\u5B50\u8868\u7F16\u53F7'};return{'ok':!![],'target':{'scope':_0xf4419a(0x20e),'key':_0x4f9cdf,'subSchemaId':_0x918a95},'source':_0x128b2a[_0xf4419a(0x334)](':=')?_0x128b2a:_0xf4419a(0x3b8)+_0x128b2a,'assignment':_0x2de652};}return{'ok':![],'error':_0xf4419a(0x43a)};}function extractFormulaDeps(_0x4c67bf){const _0x326125=_0xda391e,_0x3890c7=new Set(),_0x1b0a51=/\b(b|m)\.([a-zA-Z_][\w]*)\b/g;let _0x43c35a;while((_0x43c35a=_0x1b0a51[_0x326125(0x40d)](_0x4c67bf))!=null){_0x3890c7[_0x326125(0x44a)](_0x43c35a[0x1]+'.'+_0x43c35a[0x2]);}const _0x1697a8=/\bs(\d+)\.([a-zA-Z_][\w]*)\b/g;while((_0x43c35a=_0x1697a8[_0x326125(0x40d)](_0x4c67bf))!=null){_0x3890c7[_0x326125(0x44a)]('s'+_0x43c35a[0x1]+'.'+_0x43c35a[0x2]);}return[..._0x3890c7];}function catalogEntryNodeId(_0x4826b4){const _0x5ccf9b=_0xda391e;if(_0x4826b4['target']){const _0x2de3be=_0x4826b4['target'];if(_0x2de3be['scope']===_0x5ccf9b(0x20e))return's'+(_0x2de3be[_0x5ccf9b(0x303)]??0x1)+'.'+_0x2de3be['key'];return(_0x2de3be[_0x5ccf9b(0x24a)]==='base'?'b':'m')+'.'+_0x2de3be[_0x5ccf9b(0x39e)];}return _0x4826b4['id'];}function evaluate(_0x17f942,_0x5e4877){const _0x39a5e5=_0xda391e;switch(_0x17f942[_0x39a5e5(0x293)]){case _0x39a5e5(0x237):return vNum(_0x17f942[_0x39a5e5(0x2d2)]);case _0x39a5e5(0x268):return vStr(_0x17f942[_0x39a5e5(0x2d2)]);case _0x39a5e5(0x370):return vBool(_0x17f942[_0x39a5e5(0x2d2)]);case _0x39a5e5(0x34a):{const _0x59ce73=_0x17f942[_0x39a5e5(0x1f6)]??_0x5e4877['activeSheetId'];if(_0x5e4877[_0x39a5e5(0x3c9)]&&_0x5e4877[_0x39a5e5(0x3c9)][_0x39a5e5(0x212)]===_0x59ce73&&_0x5e4877[_0x39a5e5(0x3c9)]['r']===_0x17f942['r']&&_0x5e4877['here']['c']===_0x17f942['c'])return vErr(_0x39a5e5(0x239),_0x39a5e5(0x257));return _0x5e4877['getCell'](_0x59ce73,_0x17f942['r'],_0x17f942['c']);}case'range':{const _0x352677=_0x17f942[_0x39a5e5(0x1f6)]??_0x5e4877[_0x39a5e5(0x276)],_0x160fa4=[];for(let _0x12d3d7=_0x17f942['r1'];_0x12d3d7<=_0x17f942['r2'];_0x12d3d7+=0x1){const _0x382500=[];for(let _0x237a1a=_0x17f942['c1'];_0x237a1a<=_0x17f942['c2'];_0x237a1a+=0x1){_0x382500[_0x39a5e5(0x3d3)](_0x5e4877[_0x39a5e5(0x436)](_0x352677,_0x12d3d7,_0x237a1a));}_0x160fa4[_0x39a5e5(0x3d3)](_0x382500);}const _0x569623={'k':'arr','rows':_0x160fa4};return _0x569623;}case _0x39a5e5(0x35c):{const _0x14fea2=_0x5e4877[_0x39a5e5(0x395)]?.(_0x17f942[_0x39a5e5(0x35c)]);if(_0x14fea2){if(_0x14fea2['r1']===_0x14fea2['r2']&&_0x14fea2['c1']===_0x14fea2['c2'])return _0x5e4877[_0x39a5e5(0x436)](_0x14fea2[_0x39a5e5(0x1f6)],_0x14fea2['r1'],_0x14fea2['c1']);return evaluate({'type':_0x39a5e5(0x312),'sheet':_0x14fea2[_0x39a5e5(0x1f6)],'r1':_0x14fea2['r1'],'c1':_0x14fea2['c1'],'r2':_0x14fea2['r2'],'c2':_0x14fea2['c2']},_0x5e4877);}const _0x4b7ef5=_0x5e4877['fieldCtx'];if(_0x4b7ef5){const _0x3f0ece=lookupDesignFieldIdent(_0x17f942[_0x39a5e5(0x35c)],_0x4b7ef5);if(_0x3f0ece!==void 0x0)return formulaValueFromFieldLiteral(_0x3f0ece);}return vErr(_0x39a5e5(0x21f),_0x39a5e5(0x2ed)+_0x17f942[_0x39a5e5(0x35c)]);}case _0x39a5e5(0x3f5):{const _0x41f5dd=evaluate(_0x17f942['expr'],_0x5e4877);if(_0x41f5dd['k']===_0x39a5e5(0x2f9))return _0x41f5dd;const _0x4e89ce=scalarOf(_0x41f5dd);if(_0x4e89ce['k']==='err')return _0x4e89ce;const _0x54e3b8=coerceNum(_0x4e89ce);if(_0x54e3b8==null)return vErr(_0x39a5e5(0x218));return vNum(_0x17f942['op']==='-'?-_0x54e3b8:_0x54e3b8);}case'percent':{const _0x4471c2=evaluate(_0x17f942[_0x39a5e5(0x415)],_0x5e4877);if(_0x4471c2['k']===_0x39a5e5(0x2f9))return _0x4471c2;const _0x1cd221=scalarOf(_0x4471c2);if(_0x1cd221['k']===_0x39a5e5(0x2f9))return _0x1cd221;const _0x5c515a=coerceNum(_0x1cd221);if(_0x5c515a==null)return vErr(_0x39a5e5(0x218));return vNum(_0x5c515a/0x64);}case _0x39a5e5(0x44f):{const _0x3a0f74=evaluate(_0x17f942[_0x39a5e5(0x3c4)],_0x5e4877),_0x3c8a00=evaluate(_0x17f942[_0x39a5e5(0x1fa)],_0x5e4877);if(_0x3a0f74['k']===_0x39a5e5(0x2f9))return _0x3a0f74;if(_0x3c8a00['k']===_0x39a5e5(0x2f9))return _0x3c8a00;const _0x4396a6=scalarOf(_0x3a0f74),_0x5c066d=scalarOf(_0x3c8a00);if(_0x4396a6['k']===_0x39a5e5(0x2f9))return _0x4396a6;if(_0x5c066d['k']===_0x39a5e5(0x2f9))return _0x5c066d;return applyBinary(_0x17f942['op'],_0x4396a6,_0x5c066d);}case _0x39a5e5(0x2de):{const _0x5af68e=FUNCTIONS[_0x17f942['name']];if(!_0x5af68e)return vErr('#NAME','未知函数\x20'+_0x17f942[_0x39a5e5(0x35c)]);const _0x3613e5=_0x17f942['args'][_0x39a5e5(0x43c)](_0x3eecd6=>evaluate(_0x3eecd6,_0x5e4877));return _0x5af68e(_0x3613e5);}}}function lookupDesignFieldIdent(_0x53948b,_0x2f1585){const _0x1ebbaa=_0xda391e,_0x46ea1c=/^m\.([A-Za-z_][\w]*)$/i['exec'](_0x53948b);if(_0x46ea1c)return _0x2f1585['main'][_0x46ea1c[0x1]];const _0x211a87=/^b\.([A-Za-z_][\w]*)$/i[_0x1ebbaa(0x40d)](_0x53948b);if(_0x211a87)return _0x2f1585[_0x1ebbaa(0x331)][_0x211a87[0x1]];const _0x50143c=/^p\.([A-Za-z_][\w]*)$/i[_0x1ebbaa(0x40d)](_0x53948b);if(_0x50143c)return _0x2f1585[_0x1ebbaa(0x3e8)][normalizeSystemParamId(_0x50143c[0x1])];const _0x4cd6ab=/^s(\d+)\.([A-Za-z_][\w]*)$/i[_0x1ebbaa(0x40d)](_0x53948b);if(_0x4cd6ab){const _0x247d1b=Number(_0x4cd6ab[0x1]),_0x55ceec=_0x4cd6ab[0x2],_0x3e6d87=_0x2f1585[_0x1ebbaa(0x24e)]??0x0,_0x264be1=_0x2f1585[_0x1ebbaa(0x20e)][_0x247d1b];if(!_0x264be1||_0x3e6d87<0x0||_0x3e6d87>=_0x264be1[_0x1ebbaa(0x33a)])return'';return _0x264be1[_0x3e6d87][_0x55ceec];}return void 0x0;}function formulaValueFromFieldLiteral(_0x19a773){const _0x26e5c1=_0xda391e;if(_0x19a773==null||_0x19a773==='')return V_NULL;if(typeof _0x19a773===_0x26e5c1(0x3c8)&&Number[_0x26e5c1(0x391)](_0x19a773))return vNum(_0x19a773);if(typeof _0x19a773===_0x26e5c1(0x25f))return vBool(_0x19a773);if(typeof _0x19a773===_0x26e5c1(0x411)){const _0x46deec=tryParseNumericString(_0x19a773);if(_0x46deec!=null)return vNum(_0x46deec);return vStr(_0x19a773);}return vStr(String(_0x19a773));}function scalarOf(_0x1a8004){const _0x467aee=_0xda391e;if(_0x1a8004['k']===_0x467aee(0x404)){const _0x3d850f=_0x1a8004['rows'][0x0]?.[0x0];return _0x3d850f??V_NULL;}return _0x1a8004;}function applyBinary(_0x371648,_0x2bcb5f,_0x5848ed){const _0x46b9ae=_0xda391e;if(_0x371648==='&')return vStr(coerceStr(_0x2bcb5f)+coerceStr(_0x5848ed));if(_0x371648==='='||_0x371648==='<>'||_0x371648==='<'||_0x371648==='<='||_0x371648==='>'||_0x371648==='>='){const _0x103273=compare(_0x2bcb5f,_0x5848ed);if(_0x103273==null)return vErr(_0x46b9ae(0x218));switch(_0x371648){case'=':return vBool(_0x103273===0x0);case'<>':return vBool(_0x103273!==0x0);case'<':return vBool(_0x103273<0x0);case'<=':return vBool(_0x103273<=0x0);case'>':return vBool(_0x103273>0x0);case'>=':return vBool(_0x103273>=0x0);}}const _0x5658bc=coerceNum(_0x2bcb5f),_0x343455=coerceNum(_0x5848ed);if(_0x5658bc==null||_0x343455==null)return vErr(_0x46b9ae(0x218));switch(_0x371648){case'+':return vNum(_0x5658bc+_0x343455);case'-':return vNum(_0x5658bc-_0x343455);case'*':return vNum(_0x5658bc*_0x343455);case'/':if(_0x343455===0x0)return vErr(_0x46b9ae(0x22e));return vNum(_0x5658bc/_0x343455);case'^':return vNum(_0x5658bc**_0x343455);}return vErr(_0x46b9ae(0x3a4));}function compare(_0x574c02,_0x4a62ef){const _0x2463b8=_0xda391e,_0x17a469=coerceNum(_0x574c02),_0x512440=coerceNum(_0x4a62ef);if(_0x17a469!=null&&_0x512440!=null){if(_0x17a469===_0x512440)return 0x0;return _0x17a469<_0x512440?-0x1:0x1;}if(_0x574c02['k']==='str'||_0x4a62ef['k']===_0x2463b8(0x268)){const _0x59b27c=coerceStr(_0x574c02),_0x5d9223=coerceStr(_0x4a62ef);if(_0x59b27c===_0x5d9223)return 0x0;return _0x59b27c<_0x5d9223?-0x1:0x1;}if(_0x574c02['k']===_0x2463b8(0x370)||_0x4a62ef['k']===_0x2463b8(0x370)){const _0x12e7f0=coerceBool(_0x574c02),_0x2d4636=coerceBool(_0x4a62ef);if(_0x12e7f0==null||_0x2d4636==null)return null;if(_0x12e7f0===_0x2d4636)return 0x0;return _0x12e7f0?0x1:-0x1;}return 0x0;}var FORMULA_RUN_WHEN_LABELS={'auto':_0xda391e(0x2f6),'manualOnly':_0xda391e(0x2b8)};function normalizeFormulaRunWhen(_0x23be77){const _0xe4c60d=_0xda391e;if(_0x23be77?.['runWhen']===_0xe4c60d(0x356)||_0x23be77?.['runWhen']===_0xe4c60d(0x434))return _0x23be77['runWhen'];const _0x535f48=_0x23be77?.[_0xe4c60d(0x248)];if(_0x535f48!=null&&_0x535f48[_0xe4c60d(0x33a)]>0x0){if(_0x535f48[_0xe4c60d(0x23f)]('onCompute'))return _0xe4c60d(0x434);if(_0x535f48[_0xe4c60d(0x23f)]('onCommit')&&!_0x535f48[_0xe4c60d(0x23f)]('onCompute'))return _0xe4c60d(0x356);}return _0xe4c60d(0x434);}function runWhenToStorage(_0x418d25){const _0x486c00=_0xda391e;if(_0x418d25===_0x486c00(0x356))return{'runWhen':_0x486c00(0x356),'triggers':[]};return{'runWhen':_0x486c00(0x434),'triggers':['onCompute']};}function shouldRunFieldFormula(_0x1d99d0,_0x3d398d){const _0x357e3e=_0xda391e;if(!_0x1d99d0?.[_0x357e3e(0x32b)])return![];const _0x3cc286=normalizeFormulaRunWhen(_0x1d99d0);if(_0x3cc286===_0x357e3e(0x434))return!![];return _0x3d398d===_0x357e3e(0x298);}function shouldRunScriptBlock(_0x2708e7,_0x3a8e9e){const _0x2ce635=_0xda391e;if(!_0x2708e7?.[_0x2ce635(0x27a)])return![];const _0x2bc7a3=normalizeFormulaRunWhen(_0x2708e7);if(_0x2bc7a3==='auto')return!![];return _0x3a8e9e===_0x2ce635(0x298);}function catalogEntryRunWhen(_0x3e09a4){return normalizeFormulaRunWhen(_0x3e09a4);}function extractRowInputFields(_0x514486){const _0x50ab7a=_0xda391e,_0x38fc76=new Set(),_0x3dc83c=/\brow\.([A-Za-z_][A-Za-z0-9_]*)\b/g;let _0x4649f6;while((_0x4649f6=_0x3dc83c[_0x50ab7a(0x40d)](_0x514486))!=null){_0x38fc76[_0x50ab7a(0x44a)](_0x4649f6[0x1]);}return[..._0x38fc76];}function depId(_0x4cf7c2){const _0x10632c=_0xda391e;if(_0x4cf7c2['kind']==='main')return'm.'+_0x4cf7c2[_0x10632c(0x39e)];if(_0x4cf7c2['kind']===_0x10632c(0x331))return'b.'+_0x4cf7c2[_0x10632c(0x39e)];if(_0x4cf7c2[_0x10632c(0x2ec)]===_0x10632c(0x233))return _0x10632c(0x43d)+_0x4cf7c2['key'];return's'+_0x4cf7c2[_0x10632c(0x303)]+'.'+_0x4cf7c2[_0x10632c(0x39e)];}function isSelfDep(_0x1db7e6,_0x38c0ce){const _0x349228=_0xda391e;if(_0x38c0ce[_0x349228(0x2ec)]===_0x349228(0x42d)&&_0x1db7e6[_0x349228(0x2ec)]===_0x349228(0x42d))return _0x1db7e6[_0x349228(0x39e)][_0x349228(0x320)]()===_0x38c0ce[_0x349228(0x39e)][_0x349228(0x320)]();if(_0x38c0ce[_0x349228(0x2ec)]==='base'&&_0x1db7e6['kind']===_0x349228(0x331))return _0x1db7e6['key'][_0x349228(0x320)]()===_0x38c0ce[_0x349228(0x39e)][_0x349228(0x320)]();if(_0x38c0ce[_0x349228(0x2ec)]==='subRow'){if(_0x1db7e6[_0x349228(0x2ec)]===_0x349228(0x233))return _0x1db7e6[_0x349228(0x39e)]['toLowerCase']()===_0x38c0ce[_0x349228(0x398)][_0x349228(0x320)]();if(_0x1db7e6[_0x349228(0x2ec)]===_0x349228(0x325))return _0x1db7e6['subSchemaId']===_0x38c0ce[_0x349228(0x303)]&&_0x1db7e6[_0x349228(0x39e)][_0x349228(0x320)]()===_0x38c0ce['col']['toLowerCase']();}return![];}function resolveInputDeps(_0x5c367e,_0x5ea6a9){const _0x375357=_0xda391e,_0x13c53e=[],_0x1645d7=new Set(),_0x358241=_0x4a434a=>{if(_0x5ea6a9&&isSelfDep(_0x4a434a,_0x5ea6a9))return;const _0x1d4a9f=depId(_0x4a434a);if(_0x1645d7['has'](_0x1d4a9f))return;_0x1645d7['add'](_0x1d4a9f),_0x13c53e['push'](_0x4a434a);};for(const _0x601450 of extractFormulaDeps(_0x5c367e)){if(_0x601450[_0x375357(0x334)]('m.'))_0x358241({'kind':'main','key':_0x601450[_0x375357(0x32f)](0x2)});else{if(_0x601450[_0x375357(0x334)]('b.'))_0x358241({'kind':_0x375357(0x331),'key':_0x601450[_0x375357(0x32f)](0x2)});else{const _0x3797d7=/^s(\d+)\.(.+)$/[_0x375357(0x40d)](_0x601450);if(_0x3797d7)_0x358241({'kind':'subCol','subSchemaId':Number(_0x3797d7[0x1]),'key':_0x3797d7[0x2]});}}}for(const _0x59d4ea of extractRowInputFields(_0x5c367e)){_0x358241({'kind':_0x375357(0x233),'key':_0x59d4ea});}return _0x13c53e;}function isPresent(_0x3e88f8){return _0x3e88f8!=null&&_0x3e88f8!=='';}function isSubColumnPresent(_0x43a0b6,_0x40f5f1,_0xa14b65){const _0x2ad24e=_0xda391e,_0x24230e=_0x43a0b6[_0x2ad24e(0x20e)][_0x40f5f1]??[];for(const _0x2eea2b of _0x24230e){if(_0x2eea2b&&isPresent(_0x2eea2b[_0xa14b65]))return!![];}return![];}function resolveInputFields(_0x5a9d35,_0xc466e3){const _0x26d001=_0xda391e;if(_0x5a9d35['inputFields']?.[_0x26d001(0x33a)])return _0x5a9d35[_0x26d001(0x440)];return extractRowInputFields(_0xc466e3);}function isDepPresent(_0x513211,_0x503951,_0x35b4fe){const _0x257987=_0xda391e;if(_0x513211[_0x257987(0x2ec)]==='main')return isPresent(_0x503951[_0x257987(0x42d)][_0x513211['key']]);if(_0x513211[_0x257987(0x2ec)]===_0x257987(0x331))return isPresent(_0x503951[_0x257987(0x331)][_0x513211[_0x257987(0x39e)]]);if(_0x513211[_0x257987(0x2ec)]===_0x257987(0x325))return isSubColumnPresent(_0x503951,_0x513211[_0x257987(0x303)],_0x513211[_0x257987(0x39e)]);if(_0x513211[_0x257987(0x2ec)]===_0x257987(0x233)){if(_0x35b4fe['kind']!==_0x257987(0x20e))return![];const _0x454758=_0x503951[_0x257987(0x20e)][_0x35b4fe[_0x257987(0x303)]]?.[_0x35b4fe[_0x257987(0x24e)]]??{};return isPresent(_0x454758[_0x513211[_0x257987(0x39e)]]);}return![];}function shouldComputeFieldByInput(_0x2dab43,_0x51882f,_0x311c0d,_0x883b0f,_0x1f41d7){const _0x1e7e4d=_0xda391e,_0x43bcd3=_0x2dab43[_0x1e7e4d(0x352)]??_0x1e7e4d(0x3af);if(_0x43bcd3===_0x1e7e4d(0x3af))return!![];if(_0x43bcd3===_0x1e7e4d(0x385)&&_0x883b0f[_0x1e7e4d(0x2ec)]===_0x1e7e4d(0x20e)){const _0x142e03=resolveInputFields(_0x2dab43,_0x51882f);if(_0x142e03[_0x1e7e4d(0x33a)]===0x0)return!![];const _0x505b6c=_0x311c0d[_0x1e7e4d(0x20e)][_0x883b0f[_0x1e7e4d(0x303)]]?.[_0x883b0f['rowIndex']]??{},_0x20b269=_0x142e03[_0x1e7e4d(0x447)](_0x365462=>isPresent(_0x505b6c[_0x365462]));return _0x20b269[_0x1e7e4d(0x33a)]>0x0;}const _0x104c7b=resolveInputDeps(_0x51882f,_0x1f41d7);if(_0x104c7b[_0x1e7e4d(0x33a)]===0x0)return!![];const _0x2c6c21=_0x104c7b[_0x1e7e4d(0x447)](_0x40f9d1=>isDepPresent(_0x40f9d1,_0x311c0d,_0x883b0f))['length'];if(_0x43bcd3==='anyPresent')return _0x2c6c21>0x0;if(_0x43bcd3===_0x1e7e4d(0x362))return _0x2c6c21===_0x104c7b[_0x1e7e4d(0x33a)];return!![];}function isFieldRegistryRecord(_0xe49672){const _0x411c41=_0xda391e;return _0xe49672!=null&&typeof _0xe49672===_0x411c41(0x442)&&!Array[_0x411c41(0x294)](_0xe49672);}function normalizeFieldKey(_0x1ffce8){const _0x383493=_0xda391e;return(_0x1ffce8??'')[_0x383493(0x33d)]()['toLowerCase']();}function normalizeFieldDef(_0x38682c){const _0x1f91b2=_0xda391e;if(!isFieldRegistryRecord(_0x38682c))return null;const _0x35a36f=normalizeFieldKey(String(_0x38682c[_0x1f91b2(0x3db)]??''));if(!_0x35a36f)return null;const _0x102662=String(_0x38682c['displayName']??_0x35a36f)['trim']()||_0x35a36f,_0x48c62a=String(_0x38682c[_0x1f91b2(0x209)]??'string')[_0x1f91b2(0x33d)]()||_0x1f91b2(0x411);return{'bindingKey':_0x35a36f,'displayName':_0x102662,'dataType':_0x48c62a,'requiredDefault':_0x38682c['requiredDefault']===!![],'defaultValue':_0x38682c['defaultValue']!=null?String(_0x38682c[_0x1f91b2(0x3dc)]):null,'dictCode':_0x38682c[_0x1f91b2(0x222)]!=null&&String(_0x38682c[_0x1f91b2(0x222)])[_0x1f91b2(0x33d)]()?String(_0x38682c[_0x1f91b2(0x222)])['trim']():null,'roundingJson':_0x38682c[_0x1f91b2(0x31b)]!=null?String(_0x38682c[_0x1f91b2(0x31b)]):null,'formulaJson':_0x38682c[_0x1f91b2(0x316)]!=null?String(_0x38682c['formulaJson']):null,'runtimeEditable':_0x38682c[_0x1f91b2(0x23e)]!==![],'writebackTarget':_0x38682c[_0x1f91b2(0x338)]!=null&&String(_0x38682c[_0x1f91b2(0x338)])[_0x1f91b2(0x33d)]()?String(_0x38682c[_0x1f91b2(0x338)])[_0x1f91b2(0x33d)]():null,'description':_0x38682c['description']!=null?String(_0x38682c['description']):null,'sortOrder':typeof _0x38682c[_0x1f91b2(0x1ed)]==='number'&&Number[_0x1f91b2(0x391)](_0x38682c[_0x1f91b2(0x1ed)])?_0x38682c['sortOrder']:0x0,'enabled':_0x38682c[_0x1f91b2(0x27e)]!==![],'inputWidgetJson':_0x38682c['inputWidgetJson']!=null&&String(_0x38682c[_0x1f91b2(0x279)])[_0x1f91b2(0x33d)]()?String(_0x38682c[_0x1f91b2(0x279)]):null};}function _0x188b(){const _0x409350=['y29TBwe','ChvZAa','u0PtoIdMQkhMNB/LRzFNRkBKUllMMOlKUi3MLk/MJieGjhT9ioApKUwaVa','Dg9FAw50zxj2ywW','tNvSBa','AxrLBxm','BM9YBwfS','uefsu0u6ioMDNUAZLEwmUUwFNYaI','ChGG','yMLUzgLUz0TLEq','zgvMyxvSDfzHBhvL','zM9Y4OcMB2yG6zYa6kAb5PwW57Ue','DxnLCKXVz2LUtMfTzq','5lUf5B2v5ywL5PE2','C2nHBgu','CM91BMrbzNrLCG','q2fSBa','oYbTyxjNAw46ia','CgfYC2vnDwW','C3bSAwnLlM1PC2fSAwDUzwq','CM93q291BNq','y29UC3rYDwn0B3i','CgfYyw1Z','A3qUDgvTCgXHDgvxB3jRyM9VAW','C2LNBMvYtMfTzq','DMvYDgLJywXbBgLNBG','C3LZDgvTugfYyw1ZuhjVDMLKzxi','jYba','CgfYC2vuzxjUyxj5','zgvMyxvSDenVBfDPzhrO','C2nOzw1HvMvYC2LVBG','CgfYyw1Ztg93zxi','Cg9W','BM9YBwfSAxPL','DxnLCKrLzMf1Bhq','Dw5HCNK','rxHWCLn0Bxq','CgfYC2vfCq','ChjVChm','oYb9','6z2E5yE95PwW6lcd55sO','yMXVy2Ti','zMLUza','Bg9NAwnHBfbHz2vjBMrLEa','Bwf0y2G','y29UC3q','AxrHBgLJ','u3rY','nJyWENDlEejN','q3vZDg9T','yxjY','z2v0tw9UDgG','zMfUz3nVBMC','u0PtoIdNPOhMRAlLR7NPNz7MNkZLNldMOiFOR4BNRkBOTyVLGlW','Cg9YDhjHAxq','C3vIu2nOzw1Hq291BNq','AgzFDhbS','CM93CW','5PwW57Ue5PA55Rov5BEY56Ab55sOoIa','zxHLyW','C2v0','zw5K','yMfZzvnJB3bLza','C3rYAw5N','B3zLCNjPzgvZ','BgfUzhnJyxbL','C3bSAwnLlNbYAw50ywjSzv9VDMvYzMXVDW','zxHWCG','Dhj1BMm','Aw5Uzxjwzxj0AwnHBa','qvzfuKfhrq','y29TCgfJDa','x19W','Dg9W','5PYQ5A6A5lMjoIa','Aw5KzxHpzG','C2LNBMvYvxnLCKLK','yxjN','CM93sgvPz2H0CW','kY0QlYu8pIe/oI4SoYGPw117Ft0MFa','5yIx5A695PYQ5y2G5RUH5Q+n54Miia','u0PtoIbMB3iG5lUf5PsV5OYbicDMB3iGkgnVBNn0FgXLDcb4ig9Migv4ChiPjW','ChJVViJLT7lLIldMNidLSi/LIjFLRR3VViNVViZOR7FLIkdLH4/LIjFMIjBLHOxLRRK','B2jQ','B3jKzxjqAw5Uzwq','uefsu0u6ioMDNUAZLEw8LEEuQcaI','DMfSDwvZ','D3jPDgvuB0zPzwXKq29Kzq','AwrLBNq','CgfYC2vcBg9JA09Yu3rTDa','AgfSzL91Ca','BwfPBG','qgSTDgfIBguVC2HLzxqTy29Yzq','ywXS','mZG3A210z3ng','zM9UDfnPEMu','tgLtDsXtveXPDgKSC2vYAwy','zg9JDw1LBNq','yxv0BW','tgv0DgvY','z2v0q2vSBa','uefsu0u6iowKMUs9Msb0B2TLBIaI','D29YA2jVB2TwzxjZAw9U','BwfYz2LUC0nT','5PEG5Rov6kEJ5P6q6lwl5yc85BYp77Yi5PYF5PYBig0UEhH4id0G4OcMioAiLIbZms54EhGGpsdIGkBVViK','zNjVBunOyxjdB2rL','BwfW','CM93lG','z2v0rNvSBfLLyxi','sw5KzxG','Aw5WDxrgAwvSzhm','77Ym5B6x5yIWicC','B2jQzwn0','CgfYyw1jza','Dg9ju09tDhjPBMC','zMLSzuLK','z2v0','zMLSDgvY','y29Sv2LKDgHZ','5lUf6k6H566x5PE2','ywrK','DhbS','C2LNrgLNAxrZ','BwLU','C3vIuM93','yMLUyxj5','BwLZywXPz25Lza','zxjYB3i','zxjYB3juzxH0','B3jKzxjnB2rL','CgfYC2vqB3n0zML4','y29SB3i','C2nYAxb0oG','C29YDe9YzgvY','C3bSAwnLlNnSB3rFDw5IB3vUza','yxjNCW','BNvSBa','zgvYAxzLzfj1BgvZ','5B6Q546V5l6D6lww','zgvJBgfYzq','y29St3zLCMzSB3DqEa','u0PtoIdPNz7MS5uGDg9Rzw4GjW','C2HLzxq','Cg9Z','C3vIuM93sw5KzxG','C3LZDgvTugfYyw0','CMLNAhq','y29Uza','BwfPBI4','Dw5KzxjSAw5L','CMvKDwnL','CgfYC2vfCNjVCG','C3vIoG','Bg9Nmta','mtjLBwrntfK','Bg9JyxrPB24','iZaWqJa1ma','C3LZDgvTugfYyw1Z','Bwf4','zMXVB3i','BwfUDwfS','zgf0yvr5Cgu','CgfYC2vbC3nPz24','zgf0yvnVDxjJzq','yMXVy2TZ','zw1IzwrtDgf0zxm','C3vI','CNvUCW','Aw5OzxjPDfnVDxjJzujHC2vtBMfWC2HVDfjVD0LK','zxH0CMe','C2HLzxrjza','AM9PBG','qMXVy2S','BwLUuM93sgvPz2H0uhG','CMvWB3j0','tgv0DgvYihbVCNrYywL0','i1zbtfvf','Aw1Hz2vtDgfTCa','yM90Aa','EwfOzwK','ywrKrwrNzq','ywjZ','BwLUrM9UDfnPEMvqDa','i05btuu','y3vYCMvUDerHDgu','iYmJiowTKoIHQcba5QE95l2n57Ur5A6A77Yi5B+f5A6i77Ym5BEY5PU/5lUJihn1yLrHyMXLuMvNAw9UC++8IqOTioIVREAZLE+8MMbZE059lNTMAwvSzeTLEx1Bi3T0ExbLu3bLy31DqhTZBg90FwaG4OcuicOQqcdLV4xPOBVLNkJMNidLKi4QkU+8Jos+IYbGCZeUC3eJBJOYqdfGcI0GkIPZDwjgAwvSzcdLV4xPOBVLUkyGqhnSB3qQkU+8M+wqJoE7HowKMUAGVo+8IhnQy2mXqdeGlYbZAMnJmKaX77Yj5ywX5lQRigbZDwjuywjSzxnBiK4Ixs5YB3DZw2DSB2jHBeLUzgv4xwaklsbNBg9IywXjBMrLEca9igXVz2LJywXqywDLsw5KzxGGW5CGC2XVDhnqzxjqywDLicSGkhnSB3qGlsaXkE+8M+AmGEs5HEwmLIbGC3vIvgfIBgvZwYiXiL0UCM93C1S3xwaG6icm6z2E5z2q5Qch5AgR5Qc8cI0G5Q+pihnOzwv0W5DZDwjty2HLBweG6ywn572UigbTzxrHlNn1yLrHyMXLu2XVDenVBMzPz2aG5Q+p6Ag157Ue5PwW77YB57Y655Ybid0G6k+LihnOzwv0ioACGowKPYbaioANVEs9JqOTioEMGEATOUwiM+w7UIbZDwjuywjSzvjLz2LVBNpVVjTSAxn0vMfSAwrHDgLVBKvYCM9YCYdNVlOGqcdKUlOGzxjYB3iklsbbz2vUDcdLOAVMLBdVVjPMAwXSsw5ZDgfUy2vgAwvSzhmG4OAsigbZDwjuywjSzxnBiJeIxs5YB3DZw2LDlMzPzwXKs2v5yo+8JowlV+EuQcbMAwXSsw5ZDgfUy2vcyxrJAcdLOAVLT7lNU5hLRPRLRzdOOAJLRzFMRRu','zgLJDenVzgu','zgLJDenHDgfSB2C','AxrLCG','i0zgmdaWma','sw52ywXPzcbbmsbYB3C6ia','EMvYBW','DxbKyxrLzef0','iIba','y2XLyxjvBNjLC29SDMvKqMLUzgLUz3m','5PEG5P2H5lU25yY56ywn','DxbZzxj0','BgfIzwW','i0rjvJa','zM9YBxvSyuTPBMq','t2jQ','z2v0u2vJB25KCW','D3jHCfrLEhq','CM93','ChvUy3q','Dg9vChbLCKnHC2u','kIO9','BNvT','yMfZAwngAwvSza','i0nzq0Xf','D2LUzg93','qtmGCg9YDhjHAxq','iZaWmdbgrG','C2LTAgvP','CNvUDgLTzuvKAxrHyMXL','Aw5JBhvKzxm','Bwv0yq','yMfZzvrLBxbSyxrLqMLUzgLUzW','i0ven0qZmq','DgvZDa','C2HHCMvKq29UDgv4Da','5yIx5A696lAf5yE65Q+n54Miia','zgvMyxvSDfjVDw5KAw5NvhjPz2DLCNm','CgvYy2vUDa','DhjPz2DLCNm','u0PtoIdLPjRKVzNOVPpLHAuGjW','C2nVCgu','CM91BMq','CgfYC2vqB3C','z2v0twLUDxrLCW','CM93sw5KzxG','zw50CMLLCW','Aw1NoG','u2LTu3vUlcjtB25NDgKGu0mIlcjoB3rVifnLCMLMienksYbtqYiSC2vYAwy','C3rYAwTLDgHYB3vNAa','z2v0twfZDgvY','B3v0Chv0uM90yxrPB24','zxHWzwn0','AgvHzgvY','6iEQ5BYv55sO','C2L6zq','C2LUz2XL','zMLSBa','5PEG5Rov5lUoigjPBMrPBMCG5O6O5A+8ieXiuW','zgvWzw5Kzw50C09M','zxzHBa','ndu3ntK2ouDuwxflCq','yM9VBgvHBG','D29YA2jVB2S','i0mWmdaWma','qtqGBgfUzhnJyxbL','yxnZzxq','rM9Yt2y','yM90Dg9T','CgfYC2vfEhbYt25SEq','i0zgqtuWma','C3rY','5lIT5yY65lIo5Q+n54Mi572r5Qc85PYQ5A+56B2q','CgfYC2vqCMLTyxj5','C3bSAxq','nte5mdbqCKL6CeO','tNvT','CMfUzg9Tvvvjra','Dw5KzwzPBMvK','zM9Y','C2vTAq','y2vSBe1LDge','y29TChv0zvDVCMTIB29RoMv4Axq','C3rHBxa','Dgv4Da','ywn0AxzLu2HLzxrjza','C2HLzxrjzhm','5ywS5BYp5lI656M6','Aw5WDxrxAwrNzxrkC29U','C2nYAxb0qMXVy2TlzxK','Cgf0DgvYBG','C3bSAwnLlMnVBf9VDMvYzMXVDW','qoANVEs9JEACQUE7KEwUMUwTL+AUTq','zw5HyMXLza','DhjPBvn0yxj0','DgHLBG','5B6U6l2V6zUf6BUr','Bxv0ywjSzq','yMLUzgLUz09UBhK','zgvMyxvSDfjVD0HLAwDODa','zMLLBgrszwDPC3rYEq','zw1IzwrbBMnOB3i','ywXStM9Kzxm','BM9Uzq','CgvLAW','qxnZAwDU','6kgm6AUy5lIn6lAZl+ACQUwnOoA7OEwpR+wnSowmUG','zMLUzeLUzgv4','5lIn6iEQ5yQO5l+U57QM','qxjY','z3jPzdO','Axnnyxn0zxi','CMvUzgvYq29UDgv4Dej5u2HLzxq','zw1IzwrZ','DhLWzq','AxnbCNjHEq','Dhj1zq','B3jKzxi','y29TyM9tBMfWC2HVDeLK','zNvSBa','yNvPBgrtExn0zw1qyxjHBxm','5PYQ55+L6l+q566xia','i1jfrG','DgvTCgXHDgvty29Wzwq','CgfWzxi','mJi4mtjPr096q0W','CgfYC2u','D2LKDgHnBq','uMv0DxjU','ndCYt1vpvNLd','yM9YzgvYCW','y29TChv0zvbVBgLJEq','C3rHCNrsB3C','swrLBNq','ywXSswrZ','yxn0','EhH4EhH4EhGTEhH4Ec00EhH4lxL4EhGTEhH4EhH4EhH4EhH4','mJqWotyYnJDwAhHzyLa','zNjVBuvUDhjPzxm','y2fSBgvL','y2HHCKnVzgvbDa','Bgv2zwW','y29TChv0zu9UBhK','qhbHz2uGEYbZAxPLoIa','BMfTzwrsyw5Nzxm','zMLLBgq6CW','ywrKtM9Kzq','AgLKzgvUugfNzvnSB3rZ','6k6/6zEU56M65yc85BgE5OcNoIaU','AgvHzgvYrw5KuM93','zwf0','5lUf5OMl5yQO54k544cm6k6H566x44cn','ywrQDxn0','zgf0ytPPBwfNzs8','BwfZDgvYqW','ywjZuG','ywDNCMvNyxrLrw1WDhLbCW','6k6/6zEU56Ab5Q2I5BgE5OcNoIa','CgfYC2vbzgq','zMLLBgq','Aw1Hz2vtDg9YywDL','AgvPz2H0tw0','C2LTC3vU','y3vYCMvUDerHDgvuAw1L','zNjVEMvUsw1Hz2vgAwXLswq','iLnuwgLOzwKIlcjizwL0AsbtqYiSu2LTsgvPlhnHBNmTC2vYAwy','BwfYz2LUC01T','C3vIC2nYAxb0','u0PtoIdMNj/LVOxLR7NOSAhPLk4Gqa','DgfYz2v0','CgfYC2vtDg10','i0zgqZaWma','CMvWBgfJzq','CgvYu2HLzxq','AgfSzL9LDMvU','Bw07ih0','CgfNzuzVB3rLCLjVD3m','DMfSDwu','AgfZ','CNvUv2HLBG','C2nYAxb0','zwXZzq','C2LNBMvK','CMvXDwLYzwq','yM9Sza','C3vIvgfIBgvZ','C3LZDgvTugfYyw1cCMfUzgLUzW','zgLZCgXHEvrLEhq','y29Sq291BNq','y2fSBa','6kEJ5P6q5AsX6lsL','zMLLBgreyxrH','y2vSBhncEvnOzwv0','Aw5UzxjiB3jPEM9UDgfS','CNbHCMvU','zw9M','C2XVDeTLEq','yMfJA2DYB3vUza','Bg9NAwnHBfbHz2vdB3vUDa','pt09','y3vYCMvUDfrHCMDLDa','Aw50zwDLCG','vw5HCNK','A2LUza','5PYQ55+L5zg95zcnoIa','Bgv0DgvY','C2HLzxroyw1L','C2LNBMLMAwnHBNq','ChjVy2vZCW','C2LNBG','A2fPDgK','D2LKDgG','Aw1Hz2u','5B2v5ywL5zco6iEQ5yQO6yEn566x','iZGWmda4ma','y2HYB21L','zxjY','s2fPvgKSiKTHAxrPifndiIXtveTHAxrPlhnLCMLM','y2vSBhm','z2v0rgf0zq','yxnZzxrlAw5K','zM9YBxvSyunHDgfSB2C','twvTyMvY','zNjVBq','5yAf5A655Oc76AUy6lAf5yE65Qch562+5y+V5OMt5y2W6AUy5BQM77Yi5BEY5yIW5PYa5Bcp6kgm6AUy77Yj77Ym5AsA5l2z6yoO5yIg5Bcg5yIg5yIW5lIl5lIa6Ag177Ym6k+36ywm5Oof5yIG5yEp6kgm','yMLUzgLUz0TPBMq','C3vIu2nOzw1Hswq','Bwf4sxrLCMf0Aw9UCW','AgfZtM9Kzq','BwLZC2LUz1jLCxvPCMvK','zM9VDgvY','CgfNzu51BwjLCG','ChjPBNrHyMXLt3zLCMzSB3DqEa','CgfNzuHLywrLCLjVD3m','CgfYC2vpCG','CMv0DxjU','i0zgrKyWma','B25dB21WDxrL','x19YB3C','B3jPzw50yxrPB24','z2XVyMfSvgHPCW','CMfUz2u','CgfYC2vqCM9NCMfT','sw52ywXPzcbJB2X1Bw4GAw5KzxG6ia','Bw07ig1HCMDPBJOGmdSGFq','zM9YBxvSyuPZB24','u0PtoIdMNj/LVOuG','iYmJiowTL+AUTEIHJoEXU+wEIY/KV67NUQBNROdLHPNVViHYzwDPC3rLCLnLBgvJDgLVBLrVrMLLBgrZioIhQUwkQoIqVEw6K++8IqRMOlZLVi/VVjPGE+wjJEE8Gh175A2x5Q616zsUFsn757g75z6lFvS6E+wWJ+AvSos9Jx1BoNVKV67NUQBNROdNOif9xv1GcI0G5yMn57Ya77YAygiUycaVigbTlMaGlYbGC04UycaVigbKlMaGlYbGCc5G77Yi5RoO5yAm6Ag75PI+5BYp5yMn57Ya77YjcI0G57g75z6l77YAyg5Gig51BwjLCUoaGwbPycbPBNrLz2vY44cbyhnGihn0CMLUz+oaGwbKycbKyxrL44cbygr0ycbKyxrLDgLTzEoaGwbIycbIB29SzwfUcI0G5PwW5yc877YAycnUycdMIjyGycnUoJfGioM7MoIUPcbZy2fSzt0X44cb5l+U57QMigHHBgzFzxzLBU+8IoATO+w4Uos/NEEvME+8IE+8M+ESRos4IEAUTEs/RUE6PUEUGoEGGEwpR+MaIqOTios/RUE6PUEUGoEGGE+8MUECGEEvPEAiLIbGywaVygvGpwHHBgzFzxzLBU+8IoATO+w4Uos/NEEvME+8IEoaGwb1yd3LM5VOIi3KUPtLHAxJGifGDga95OIQ5PAT44cbygnGpEwqKEs4IUoaGwbMyd3LKjhKUiSklsdNPlRKVOVVVjPGCZeUBheJBJOXyooaGwbTlND0i246mJP1yooaGwbTlNjLBwfYAYnZyooaGwbTlNrLC3rFzgf0zsnKyooaGwbZms5JBNqJAwaklsdMS6JLHOZLKi7MOlZLHOuGDMfSDwuG6kEe6iYd5lI6igbZms5SCwdVViJML6aGiYdMRRxVViNVVjVNSBVLNOSV5l+U57QM5lUf5A2y5A2x5Q616kgOcI0G5PEGigaJycdML7BKU43PU5JORQqGC3rYAw5N77Yi5zcr5zco5yw85A6577Yj77YB5BEY5A2y5zYO5A2x5Q615lUf5zYO5BIMigaJycdNROdLHPNML7BMM7tMLRaGzgf0yvr5CguV5l+U57QM','BwvHC3vYzq','CgfYzw50','CM91BMrPBMDkC29U','C2LNBMvKqNK','CgfYC2vfEhbY','C3r5Bgu','zgLY','Dg9mB3DLCKnHC2u','zg93BG','Ag9VAW','BhbHCMvU','A2v5CW','C3vIq29S','x2XLz2fJEujHy2T1Ca','6z2E5yE95PwWoIaU','C2XVDhnqzxjqywDL','y2XLyxi','suyG5P2H5lU26z2E5BId5Bcu','C291CMnL','zwrPDgfIBgu','y2vPBa','C2fUCY1ZzxjPzG','C2XPy2u','DgvUyw50tMfTzq','yMfZzq','CgfYC2vbCMDZ','CgfYC2vcBg9JAW','C3rHCNrZv2L0Aa','tevyoIdPNz7MS5xLRzFNRkyGiG','Dg9tDhjPBMC','zwzMzwn0AxzLt3jKzxi','D3jPDgvIywnRvgfYz2v0','D2LKDgHqEa','BgvUz3rO','Bwf4vW','ChjVCa','DhjPBq','Dg90ywXqywDLtNvTyMvY','Dg9Rzw4','BwvZC2fNzq','D2fYBMLUz3m','y29TyM9qCM9MAwXL','yxnZAwDUBwvUDa','AgvPz2H0uhG','mZe1otiZmffSANfyqq','C2HLzxrZ','Aw5ZDgfUy2u','vfjvrq','zgf0zq','CMvM','C2HLzxrjBMrLEa','Dw5IAw5K','y2HHCNrszwzYzxnOt25qywDLq2HHBMDL','C3vIrMLLBgq','Dg9RCW','Ag9YAxPVBNrHBefSAwDU','y2HPBgq','Aw5WDxrxAgvU','ChjVDg90ExbL','C2LNBMvKqxq','yNvZAw5LC3ntAgvLDfbYB2zPBgvZ','BwfUDwfSt25SEq','odHlr0L0Ce4','Bw0G','qM9VBa','rKfmu0u','B25dB21TAxq','BMfTzq','nZuZnte1EMTxy1zr','CgfYC2vbBMq','Dg9WB1nVCNq','Aw5JCMvTzw50ywW','77Ym6k+355sOigzVCUkaPM9M','ywXSuhjLC2vUDa','C2HLzxrdB3vUDa','zMLLBgq6Bs4','B3b0Aw9UywW','zMLLBgrty29Wzq','BwLUq29Sv2LKDgHqEa','6yEn5Asn5AoW5PIooIa','Aw1N','y29Kzq','CgvUzgLUzW','zhjF','DMvYC2LVBG','Bg9NAwnHBfn0yxrL','Aw5Uzxjx','yM9VBa','ntvnzLPgDfO','qMLU','y2vPBgLUzW','Dhj1BMnHDgu','iZCWmZbbma','C3vWzxjZy3jPChq','C29Tzq','Bgv0','5y2o5PAh5PAW6A2p','z3jPza','B3zLCMXHChm','Aw5fzgDLCW','Dw5IB3vUzfnSB3rZ','zgLJDe92zxjSyxLZqNLvC2vY','BwvYz2vZ','5y2o5PAh57Ug6BUr','AgfUzhDYAxrPBMC','C3rHDhvZ','rMfUz1nVBMCSiKzHBMCGu29UzYiSu1rgyw5NC29UzYWItM90BYbtzxjPzIbdsKSGu0mIlhnLCMLM','CM91BMrPBMC','yw55uhjLC2vUDa','5yAf5A655Oc75A6957QMia','BgLZDq','zMLLBgrdB2rL','B3jWAgfUq2vSBhncEvnOzwv0','CMvTyxjR','y29TyM8','Dg9gAxHLza','CMfUzg9T','C2LNBMf0DxjL','zNvUy3rPB24','yM9KEq','AxngAw5PDgu','55UU5Qch5Bc65A+45PEG5Pwi77Ym5PYQ5ygA57YP5Ps+','CgfKu3rHCNq','C2nYAxb0CW','z2v0tMfTzwq','zMLLBgqG5ywS5BYp6zYa5lULidO9ioI1T+wNIW','CM91BMrnB2rL','y29S','zM9YrwfJAa','C3bSAwnLlMnVBf91BMrLCMzPBgW','CgfYC2vdBxa','BwfPBKzPzwXK','it09','A2v5','DxbNCMfKzuXVzW','sw52ywXPzcbJB2X1Bw4GBgv0DgvYCZOG','tgv0DgvYigXHBMrZy2fWzq','C3rYAw5NAwz5','iZaWmdaWma','i0vsuG','y2HHCNq','uefsu0u6ioMDNUAZLsb0B2TLBIaI','zgLJDa','C3vIuM93u2XVDa','C2XVDhm','AgvHzgvYu3rHCNrsB3C','CgfYC2vvBMfYEq','C3vIuM93q291BNrlzxK','D2fYBMLUzW','zMfSC2u','ywX3yxLZ','BwfZDgvYuG','zM9YzwDYB3vUza','zgvIDwC','vMfYrgvJBa','C3r4AwHLAq','C3r4Aw53zwK','Bw9Kzq','Aw5PDa','oJ0G','C2HYAw5Rvg9gAxq','zw5KuM93','nty2nNDRy2jUuG','Aw50zxj2ywW','Bw07ig1HCMDPBJOG','ChGG6lAf5yE65Qch562+5y+V5OMt5y2W5A695BQM57QMia','CgfNzq','x19YB3DZ','C3vIvgfIBgvtBg90q29UzMLN','x19Hy3rPDMvdB3vUDa','i0zgrKzgrG','BgvMDa','B3v0rwrNzxm','vgvYBG','suyG6zYa6kAb6iEZ5BcridiG5lIQ5y+c5PwW','BNvTyMvY','AgvYzq','C2vSzG','C2XVDeLK','yxnZAwDU','C2nHBgvgB250u2L6zq','yNvPBgrtExn0zw1qyxjHBxngB3jtAgvLDa','u2LTsgvPlcjizwL0AsbtqYiSiLnusgvPDgKIlcjoB3rVifnHBNmGq0PlifndiIXZyw5ZlxnLCMLM','qtmGBgfUzhnJyxbL','C25HCa'];_0x188b=function(){return _0x409350;};return _0x188b();}function normalizeSubFieldDef(_0x2aa914){const _0x165b77=_0xda391e,_0x108b54=normalizeFieldDef(_0x2aa914);if(!_0x108b54||!isFieldRegistryRecord(_0x2aa914))return null;const _0x16959d=Number(_0x2aa914[_0x165b77(0x303)]);if(!Number['isFinite'](_0x16959d)||_0x16959d<0x1)return null;return{..._0x108b54,'subSchemaId':_0x16959d,'subRowCountKey':_0x2aa914['subRowCountKey']===!![]};}function emptyFieldRegistry(){return{'v':TEMPLATE_FIELD_REGISTRY_VERSION,'base':[],'main':[],'sub':[]};}function normalizeFieldRegistry(_0x2b00ff){const _0x4f9917=_0xda391e;if(!isFieldRegistryRecord(_0x2b00ff))return emptyFieldRegistry();const _0x1066c8=[],_0x3046f4=[],_0x4f4dad=[];if(Array['isArray'](_0x2b00ff[_0x4f9917(0x331)]))for(const _0x522923 of _0x2b00ff[_0x4f9917(0x331)]){const _0x49001e=normalizeFieldDef(_0x522923);if(_0x49001e)_0x1066c8[_0x4f9917(0x3d3)](_0x49001e);}if(Array[_0x4f9917(0x294)](_0x2b00ff[_0x4f9917(0x42d)]))for(const _0x382fbd of _0x2b00ff[_0x4f9917(0x42d)]){const _0x4e3ed4=normalizeFieldDef(_0x382fbd);if(_0x4e3ed4)_0x3046f4['push'](_0x4e3ed4);}if(Array['isArray'](_0x2b00ff[_0x4f9917(0x20e)]))for(const _0xccd508 of _0x2b00ff[_0x4f9917(0x20e)]){const _0x2a345e=normalizeSubFieldDef(_0xccd508);if(_0x2a345e)_0x4f4dad[_0x4f9917(0x3d3)](_0x2a345e);}return{'v':TEMPLATE_FIELD_REGISTRY_VERSION,'updatedAt':typeof _0x2b00ff[_0x4f9917(0x228)]==='string'?_0x2b00ff[_0x4f9917(0x228)]:void 0x0,'base':_0x1066c8,'main':_0x3046f4,'sub':_0x4f4dad};}function cloneFieldRegistry(_0x3f89e9){const _0x16510c=_0xda391e;return JSON[_0x16510c(0x29f)](JSON[_0x16510c(0x3a2)](_0x3f89e9));}function getFieldRegistryFromMeta(_0x5c15fc){const _0x5e11c9=_0xda391e;if(!_0x5c15fc?.[_0x5e11c9(0x285)])return emptyFieldRegistry();return normalizeFieldRegistry(_0x5c15fc[_0x5e11c9(0x285)]);}function setFieldRegistryOnMeta(_0x458f24,_0x1d774d){return{..._0x458f24??{},'fieldRegistry':{..._0x1d774d,'v':TEMPLATE_FIELD_REGISTRY_VERSION,'updatedAt':new Date()['toISOString']()}};}function indexFieldRegistry(_0x160cf8){const _0x383246=_0xda391e,_0x16849b=new Map(),_0x269f3b=new Map(),_0x4d48b6=new Map();if(!_0x160cf8)return{'baseByKey':_0x16849b,'mainByKey':_0x269f3b,'subBySchema':_0x4d48b6};for(const _0x1eb135 of _0x160cf8[_0x383246(0x331)]){if(_0x1eb135[_0x383246(0x27e)]===![])continue;const _0x7e864f=normalizeFieldKey(_0x1eb135['bindingKey']);if(_0x7e864f)_0x16849b[_0x383246(0x40e)](_0x7e864f,_0x1eb135);}for(const _0x4587e8 of _0x160cf8[_0x383246(0x42d)]){if(_0x4587e8[_0x383246(0x27e)]===![])continue;const _0xfbd64c=normalizeFieldKey(_0x4587e8[_0x383246(0x3db)]);if(_0xfbd64c)_0x269f3b[_0x383246(0x40e)](_0xfbd64c,_0x4587e8);}for(const _0x5e00bc of _0x160cf8['sub']){if(_0x5e00bc[_0x383246(0x27e)]===![])continue;const _0x5251f8=normalizeFieldKey(_0x5e00bc['bindingKey']),_0x108a8d=_0x5e00bc[_0x383246(0x303)];if(!_0x5251f8||_0x108a8d<0x1)continue;let _0x33fc67=_0x4d48b6[_0x383246(0x446)](_0x108a8d);!_0x33fc67&&(_0x33fc67=new Map(),_0x4d48b6[_0x383246(0x40e)](_0x108a8d,_0x33fc67)),_0x33fc67['set'](_0x5251f8,_0x5e00bc);}return{'baseByKey':_0x16849b,'mainByKey':_0x269f3b,'subBySchema':_0x4d48b6};}function resolveFieldDefRegisterMode(_0xcd14f2,_0x337f2e){const _0x43b821=_0xda391e;if(_0x337f2e===_0x43b821(0x3a7)||_0x337f2e===_0x43b821(0x1f9))return _0x43b821(0x283);if(_0xcd14f2){if(_0x337f2e===_0x43b821(0x238))return'upsert';return'reject';}if(_0x337f2e===_0x43b821(0x238))return _0x43b821(0x283);if(_0x337f2e==='mainField'||_0x337f2e===_0x43b821(0x34e))return _0x43b821(0x22c);return'reject';}function fieldPartitionKey(_0x5f38a0){const _0x58ec6a=_0xda391e;if(_0x5f38a0==='basicField')return _0x58ec6a(0x331);if(_0x5f38a0===_0x58ec6a(0x39c))return _0x58ec6a(0x42d);if(_0x5f38a0===_0x58ec6a(0x34e))return _0x58ec6a(0x20e);return null;}function mergeBaseFieldPartition(_0x179293,_0x818ec8){const _0x10bd28=_0xda391e,_0x351743=cloneFieldRegistry(_0x179293);return _0x351743[_0x10bd28(0x331)]=_0x818ec8['map'](_0x333acf=>normalizeFieldDef(_0x333acf))[_0x10bd28(0x447)](Boolean),_0x351743[_0x10bd28(0x228)]=new Date()[_0x10bd28(0x444)](),_0x351743;}function mergeBakedFieldRegistry(_0x5a231a,_0x291b22,_0x59fb9b,_0x3e1a15,_0x38f64b){const _0x30463e=_0xda391e,_0xb7e8f6=[];for(const _0x521b23 of _0x5a231a){const _0x6d0813=normalizeFieldKey(_0x521b23[_0x30463e(0x3db)]);if(_0x6d0813&&_0x59fb9b[_0x30463e(0x2d3)](_0x6d0813)&&_0x521b23[_0x30463e(0x27e)]!==![])_0xb7e8f6[_0x30463e(0x3d3)]({..._0x521b23});}const _0x253518=[];for(const _0x4ed6aa of _0x291b22['main']){const _0x5a24fd=normalizeFieldKey(_0x4ed6aa[_0x30463e(0x3db)]);if(_0x5a24fd&&_0x3e1a15[_0x30463e(0x2d3)](_0x5a24fd)&&_0x4ed6aa[_0x30463e(0x27e)]!==![])_0x253518['push']({..._0x4ed6aa});}const _0x2a4999=[];for(const _0x261e4d of _0x291b22[_0x30463e(0x20e)]){const _0x4bd30d=normalizeFieldKey(_0x261e4d[_0x30463e(0x3db)]),_0x76d7f5=_0x261e4d[_0x30463e(0x303)],_0x38e7c9=_0x38f64b[_0x30463e(0x446)](_0x76d7f5);if(_0x4bd30d&&_0x38e7c9?.['has'](_0x4bd30d)&&_0x261e4d['enabled']!==![])_0x2a4999['push']({..._0x261e4d});}return{'v':TEMPLATE_FIELD_REGISTRY_VERSION,'updatedAt':new Date()[_0x30463e(0x444)](),'base':_0xb7e8f6,'main':_0x253518,'sub':_0x2a4999};}function parseFieldRegistryFromCapabilities(_0x209536){const _0x3a225d=_0xda391e;if(!_0x209536)return null;let _0x2fac05;if(typeof _0x209536==='string')try{const _0x495f3a=JSON[_0x3a225d(0x29f)](_0x209536);if(!isFieldRegistryRecord(_0x495f3a))return null;_0x2fac05=_0x495f3a;}catch{return null;}else _0x2fac05=_0x209536;if(!_0x2fac05[_0x3a225d(0x285)])return null;return normalizeFieldRegistry(_0x2fac05[_0x3a225d(0x285)]);}function unwrapWorkbookInner(_0x48ed15){const _0x2f1c65=_0xda391e;if(_0x48ed15['kind']===_0x2f1c65(0x3e9)&&_0x48ed15[_0x2f1c65(0x260)]&&typeof _0x48ed15[_0x2f1c65(0x260)]===_0x2f1c65(0x442)&&!Array['isArray'](_0x48ed15[_0x2f1c65(0x260)]))return _0x48ed15[_0x2f1c65(0x260)];return _0x48ed15;}function extractBaseFieldDefsFromWorkbookEnvelope(_0x3d4eb7){const _0x494174=_0xda391e;try{const _0x5b28e8=JSON[_0x494174(0x29f)](_0x3d4eb7),_0x2245d9=unwrapWorkbookInner(_0x5b28e8),_0x4991af=_0x2245d9[_0x494174(0x240)];if(!isFieldRegistryRecord(_0x4991af))return[];return normalizeFieldRegistry(_0x4991af[_0x494174(0x285)])[_0x494174(0x331)];}catch{return[];}}function injectBaseFieldRegistryIntoWorkbookEnvelope(_0x25a8c7,_0x10094a){const _0x160d59=_0xda391e;try{const _0x3b9e1c=JSON[_0x160d59(0x29f)](_0x25a8c7),_0x469df0=_0x3b9e1c[_0x160d59(0x2ec)]===_0x160d59(0x3e9),_0x1e25d6=unwrapWorkbookInner(_0x3b9e1c),_0x1269f4=isFieldRegistryRecord(_0x1e25d6[_0x160d59(0x240)])?{..._0x1e25d6[_0x160d59(0x240)]}:{},_0x1a284c=mergeBaseFieldPartition(normalizeFieldRegistry(_0x1269f4[_0x160d59(0x285)]),_0x10094a);_0x1269f4[_0x160d59(0x285)]=_0x1a284c,_0x1e25d6[_0x160d59(0x240)]=_0x1269f4;if(_0x469df0)_0x3b9e1c[_0x160d59(0x260)]=_0x1e25d6;return JSON[_0x160d59(0x3a2)](_0x3b9e1c);}catch{return _0x25a8c7;}}function resolveBaseFieldDefsFromBaseSource(_0x55bd53){const _0x23e548=_0xda391e,_0x1b8ddc=parseFieldRegistryFromCapabilities(_0x55bd53['capabilities']??null);if(_0x1b8ddc?.['base']['length'])return _0x1b8ddc[_0x23e548(0x331)][_0x23e548(0x43c)](_0x26e017=>({..._0x26e017}));return extractBaseFieldDefsFromWorkbookEnvelope(_0x55bd53['workbookJson']);}var ROUND_MODE_LETTER_MAP={'a':_0xda391e(0x2cf),'e':_0xda391e(0x2cf),'u':_0xda391e(0x42c),'t':_0xda391e(0x374),'c':_0xda391e(0x373),'f':_0xda391e(0x207)},TYPE_TOKEN_MAP={'n':_0xda391e(0x3c8),'i':_0xda391e(0x2ea),'s':_0xda391e(0x411),'d':_0xda391e(0x349),'dt':'datetime','b':_0xda391e(0x25f)},DEFAULT_NUMBER_SCALE=0x1,DEFAULT_ROUND_MODE2=_0xda391e(0x2cf);function splitBindingAndTypeSuffix(_0x259f3e){const _0x35aac5=_0xda391e,_0x1466aa=_0x259f3e[_0x35aac5(0x33d)](),_0x3c7849=_0x1466aa[_0x35aac5(0x41d)]('#');if(_0x3c7849<0x0)return{'bindingPart':_0x1466aa};const _0x14fe9b=_0x1466aa[_0x35aac5(0x32f)](0x0,_0x3c7849)['trim'](),_0x4b7d6d=_0x1466aa[_0x35aac5(0x32f)](_0x3c7849+0x1)[_0x35aac5(0x33d)]();if(!_0x14fe9b||!_0x4b7d6d)return{'bindingPart':_0x1466aa};return{'bindingPart':_0x14fe9b,'typeSpec':_0x4b7d6d};}function resolveRoundMode(_0x420525){const _0x23db55=_0xda391e;if(!_0x420525)return DEFAULT_ROUND_MODE2;const _0x420f44=ROUND_MODE_LETTER_MAP[_0x420525[_0x23db55(0x320)]()];return _0x420f44??null;}function buildRoundingJson(_0x162e2c,_0x40a0f4){const _0x549c15=_0xda391e,_0x1d3707={'roundMode':_0x162e2c,'scale':_0x40a0f4};return JSON[_0x549c15(0x3a2)](_0x1d3707);}function parseFieldTypeSpec(_0x1cd1ac){const _0x49db6b=_0xda391e,_0x1b10f3=_0x1cd1ac[_0x49db6b(0x33d)]();if(!_0x1b10f3)return null;if(_0x1b10f3===_0x49db6b(0x369)||_0x1b10f3[_0x49db6b(0x334)](_0x49db6b(0x250))){const _0x244421=_0x1b10f3===_0x49db6b(0x369)?_0x49db6b(0x445):_0x1b10f3[_0x49db6b(0x32f)](0x4);if(_0x244421==='base64'||_0x244421===_0x49db6b(0x445)||_0x244421==='url')return{'dataType':_0x49db6b(0x2f5),'imageStorage':_0x244421};if(!_0x244421)return{'dataType':_0x49db6b(0x2f5),'imageStorage':_0x49db6b(0x445)};return null;}let _0x492092='',_0x4eb1de='';_0x1b10f3[_0x49db6b(0x334)]('dt')?(_0x492092='dt',_0x4eb1de=_0x1b10f3['slice'](0x2)):(_0x492092=_0x1b10f3['slice'](0x0,0x1)[_0x49db6b(0x320)](),_0x4eb1de=_0x1b10f3[_0x49db6b(0x32f)](0x1));const _0x5a3361=TYPE_TOKEN_MAP[_0x492092];if(!_0x5a3361)return null;if(_0x4eb1de&&!_0x4eb1de['startsWith'](':'))return null;const _0x30b9dc=_0x4eb1de?_0x4eb1de[_0x49db6b(0x32f)](0x1)[_0x49db6b(0x26b)](':'):[];if(_0x5a3361===_0x49db6b(0x3c8)){let _0x104647=DEFAULT_NUMBER_SCALE,_0x379cbb;if(_0x30b9dc['length']>=0x1&&_0x30b9dc[0x0]!==''){const _0x490948=Number(_0x30b9dc[0x0]);if(!Number[_0x49db6b(0x391)](_0x490948))return null;_0x104647=Math[_0x49db6b(0x207)](_0x490948);}if(_0x30b9dc[_0x49db6b(0x33a)]>=0x2){_0x379cbb=_0x30b9dc[0x1];if(_0x30b9dc[_0x49db6b(0x33a)]>0x2)return null;}const _0x35bb77=resolveRoundMode(_0x379cbb);if(!_0x35bb77)return null;return{'dataType':_0x5a3361,'roundingJson':buildRoundingJson(_0x35bb77,_0x104647)};}if(_0x5a3361==='integer'){if(_0x30b9dc[_0x49db6b(0x33a)]>0x1)return null;return{'dataType':_0x5a3361};}if(_0x30b9dc[_0x49db6b(0x33a)]>0x0)return null;return{'dataType':_0x5a3361};}var REVERSE_ROUND_LETTER={'half_even':'a','half_up':'u','truncate':'t','ceiling':'c','floor':'f'},REVERSE_TYPE_TOKEN={'number':'n','integer':'i','string':'s','date':'d','datetime':'dt','boolean':'b','image':_0xda391e(0x369)};function formatFieldTypeShorthand(_0x17862f){const _0x540eb9=_0xda391e,_0x963fa5=REVERSE_TYPE_TOKEN[_0x17862f[_0x540eb9(0x209)]];if(!_0x963fa5)return'';if(_0x17862f[_0x540eb9(0x209)]===_0x540eb9(0x3c8)&&_0x17862f[_0x540eb9(0x31b)])try{const _0x35af17=JSON[_0x540eb9(0x29f)](_0x17862f[_0x540eb9(0x31b)]),_0x12e794=_0x35af17[_0x540eb9(0x3e0)]??DEFAULT_NUMBER_SCALE,_0x23ccdd=_0x35af17[_0x540eb9(0x397)]??DEFAULT_ROUND_MODE2,_0x4d8b16=REVERSE_ROUND_LETTER[_0x23ccdd],_0x481f0f=_0x963fa5+':'+_0x12e794;if(!_0x4d8b16||_0x23ccdd===DEFAULT_ROUND_MODE2)return _0x481f0f;return _0x481f0f+':'+_0x4d8b16;}catch{return _0x963fa5+':'+DEFAULT_NUMBER_SCALE;}if(_0x17862f[_0x540eb9(0x209)]==='integer')return _0x963fa5;if(_0x17862f[_0x540eb9(0x209)]==='image'){const _0x387411=_0x17862f[_0x540eb9(0x2c1)]??_0x540eb9(0x445);return _0x387411==='fileId'?'img':'img:'+_0x387411;}return _0x963fa5;}var DESIGN_FIELD_SHORTHAND_SKILLS=_0xda391e(0x318),SUBTABLE_SLOT_BINDING_SKILLS=_0xda391e(0x221),DEFAULT_FONT_SIZE_PT=0xa,MIN_FONT_SIZE_PT=0x1,MAX_FONT_SIZE_PT=0x199;function fontSizePtToCssPx(_0x4c7495){return _0x4c7495*0x60/0x48;}function cssPxToFontSizePt(_0x4b20cf){return Math['round'](_0x4b20cf*0x48/0x60*0x64)/0x64;}function clampFontSizePt(_0x4f720d){const _0x4ae051=_0xda391e;return Math[_0x4ae051(0x206)](MIN_FONT_SIZE_PT,Math['min'](MAX_FONT_SIZE_PT,_0x4f720d));}var MIN_SHRINK_FONT_PT=0x1,SHRINK_LINE_HEIGHT=1.2;function layoutFontCss(_0x10f373,_0x1ede19,_0x17fb21){const _0x96bced=_0xda391e,_0x5eee0f=_0x17fb21?.['italic']?_0x96bced(0x400):_0x96bced(0x3d8),_0x517895=_0x17fb21?.[_0x96bced(0x2d9)]?'bold':_0x96bced(0x3d8);return _0x5eee0f+'\x20'+_0x517895+'\x20'+_0x10f373+_0x96bced(0x3da)+_0x1ede19;}function wrapTextToWidthM(_0x4afd9a,_0x591b4f,_0x184404,_0x5b79cd){const _0x105080=_0xda391e;if(_0x5b79cd<=0x0)return[_0x184404];const _0x2f0f12=[],_0x26287e=_0x184404[_0x105080(0x26b)]('\x0a');for(const _0x4ec2cc of _0x26287e){if(_0x4ec2cc===''){_0x2f0f12['push']('');continue;}let _0x1e86d4=_0x4ec2cc;while(_0x1e86d4[_0x105080(0x33a)]>0x0){if(_0x4afd9a[_0x105080(0x319)](_0x1e86d4,_0x591b4f)<=_0x5b79cd){_0x2f0f12['push'](_0x1e86d4);break;}let _0x4edb82=_0x1e86d4[_0x105080(0x33a)];while(_0x4edb82>0x1&&_0x4afd9a[_0x105080(0x319)](_0x1e86d4[_0x105080(0x32f)](0x0,_0x4edb82),_0x591b4f)>_0x5b79cd){_0x4edb82-=0x1;}_0x2f0f12[_0x105080(0x3d3)](_0x1e86d4[_0x105080(0x32f)](0x0,_0x4edb82)),_0x1e86d4=_0x1e86d4[_0x105080(0x32f)](_0x4edb82);}}return _0x2f0f12;}function layoutLinesForCellM(_0x3c5c93,_0x1baed1,_0x4a5766,_0x183583,_0x150cac,_0x45f429,_0x213a1c,_0x162c3f=_0xda391e(0x32e),_0x2df90f){const _0x2eae20=_0xda391e,_0x36e782=MIN_SHRINK_FONT_PT;let _0x221620=_0x150cac;const _0x1be573=_0x55efec=>{const _0x2bad1b=_0x3ab1,_0x55e41e=fontSizePtToCssPx(_0x55efec),_0x5d738d=layoutFontCss(_0x55e41e,_0x162c3f,_0x2df90f),_0x344d73=Math['max'](0x0,_0x4a5766),_0x27c4ca=_0x45f429&&_0x344d73>0x0?wrapTextToWidthM(_0x3c5c93,_0x5d738d,_0x1baed1,_0x344d73):_0x1baed1['split']('\x0a'),_0x409379=_0x55e41e*SHRINK_LINE_HEIGHT,_0x4132e3=_0x27c4ca[_0x2bad1b(0x33a)]*_0x409379;let _0x44889a=0x0;for(const _0x1c1cce of _0x27c4ca)_0x44889a=Math[_0x2bad1b(0x206)](_0x44889a,_0x3c5c93['measure'](_0x1c1cce,_0x5d738d));return{'lines':_0x27c4ca,'blockH':_0x4132e3,'maxW':_0x44889a,'innerW':_0x344d73};};let _0x1cb91e=_0x1be573(_0x221620);if(_0x213a1c)while(_0x221620>_0x36e782+0.01){const _0x33e840=_0x45f429?!![]:_0x1cb91e[_0x2eae20(0x33b)]<=_0x1cb91e[_0x2eae20(0x36f)]+0.5,_0x1c661d=_0x1cb91e[_0x2eae20(0x3fb)]<=_0x183583+0.5;if(_0x33e840&&_0x1c661d)break;_0x221620=Math[_0x2eae20(0x206)](_0x36e782,_0x221620-0.5),_0x1cb91e=_0x1be573(_0x221620);}return{'lines':_0x1cb91e['lines'],'fontSizePt':_0x221620};}var CSS_PX_PER_INCH=0x60,MM_PER_INCH=25.4;function mmToCssPx(_0x392fda){return _0x392fda*CSS_PX_PER_INCH/MM_PER_INCH;}function cssPxToCm(_0x49ff35){return _0x49ff35*2.54/CSS_PX_PER_INCH;}function cssOneCmToCssPx(){return CSS_PX_PER_INCH/2.54;}function marginsCmToMm(_0x7951e5){const _0x43bcd9=_0xda391e;return{'top':_0x7951e5[_0x43bcd9(0x41b)]*0xa,'right':_0x7951e5['right']*0xa,'bottom':_0x7951e5[_0x43bcd9(0x265)]*0xa,'left':_0x7951e5[_0x43bcd9(0x3c4)]*0xa};}function paperSizeMmRaw(_0x53ad13){const _0x418180=_0xda391e;switch(_0x53ad13){case'A3':return{'widthMm':0x129,'heightMm':0x1a4};case _0x418180(0x435):return{'widthMm':215.9,'heightMm':279.4};case'A4':default:return{'widthMm':0xd2,'heightMm':0x129};}}function paperSizeMm(_0x39709f,_0x2e7c9c){const _0xa27436=_0xda391e,{widthMm:_0x231390,heightMm:_0x1edc71}=paperSizeMmRaw(_0x39709f);if(_0x2e7c9c===_0xa27436(0x413))return{'widthMm':Math[_0xa27436(0x206)](_0x231390,_0x1edc71),'heightMm':Math['min'](_0x231390,_0x1edc71)};return{'widthMm':_0x231390,'heightMm':_0x1edc71};}function paperSizeMmFromPage(_0x253374){const _0x7f7365=_0xda391e;if(_0x253374['paper']===_0x7f7365(0x403)){const _0x229cec=Number(_0x253374[_0x7f7365(0x2a0)]),_0x5bbbed=Number(_0x253374[_0x7f7365(0x2c2)]);if(Number[_0x7f7365(0x391)](_0x229cec)&&_0x229cec>0x0&&Number[_0x7f7365(0x391)](_0x5bbbed)&&_0x5bbbed>0x0)return{'widthMm':_0x229cec,'heightMm':_0x5bbbed};return paperSizeMm('A4',_0x253374[_0x7f7365(0x310)]);}return paperSizeMm(_0x253374[_0x7f7365(0x29d)],_0x253374[_0x7f7365(0x310)]);}function physicalPaperSizeMmFromPage(_0x557f83){const _0x3b4551=_0xda391e,{widthMm:_0x1d4b3b,heightMm:_0x1216f2}=paperSizeMmFromPage(_0x557f83);if(_0x557f83[_0x3b4551(0x254)]===0x5a||_0x557f83[_0x3b4551(0x254)]===0x10e)return{'widthMm':_0x1216f2,'heightMm':_0x1d4b3b};return{'widthMm':_0x1d4b3b,'heightMm':_0x1216f2};}function printableSizeMm(_0x1100e5){const _0x229b01=_0xda391e,{widthMm:_0x1514c4,heightMm:_0x4af6e0}=paperSizeMmFromPage(_0x1100e5),_0x20b196=marginsCmToMm(_0x1100e5[_0x229b01(0x439)]);return{'widthMm':Math[_0x229b01(0x206)](0x1,_0x1514c4-_0x20b196[_0x229b01(0x3c4)]-_0x20b196[_0x229b01(0x1fa)]),'heightMm':Math[_0x229b01(0x206)](0x1,_0x4af6e0-_0x20b196[_0x229b01(0x41b)]-_0x20b196['bottom'])};}function printableSizeCssPx(_0x3d84db){const {widthMm:_0x40df2e,heightMm:_0xde4eea}=printableSizeMm(_0x3d84db);return{'widthPx':mmToCssPx(_0x40df2e),'heightPx':mmToCssPx(_0xde4eea)};}function pageAtRuleCss(_0x210ada){const _0x3d1445=_0xda391e,{paper:_0x49aeee,orientation:_0x51c22b,marginsCm:_0x3b6f60}=_0x210ada,_0x2eda7f=marginsCmToMm(_0x3b6f60);if(_0x210ada[_0x3d1445(0x254)]===0x5a||_0x210ada[_0x3d1445(0x254)]===0x10e){const _0x5bf59e=physicalPaperSizeMmFromPage(_0x210ada);return _0x3d1445(0x2b0)+_0x5bf59e[_0x3d1445(0x2a0)]+_0x3d1445(0x358)+_0x5bf59e[_0x3d1445(0x2c2)]+_0x3d1445(0x315);}if(_0x49aeee===_0x3d1445(0x403)){const {widthMm:_0x2f2f75,heightMm:_0x4a5b78}=paperSizeMmFromPage(_0x210ada);return _0x3d1445(0x2b0)+_0x2f2f75+'mm\x20'+_0x4a5b78+_0x3d1445(0x3bd)+_0x2eda7f['top']+_0x3d1445(0x358)+_0x2eda7f[_0x3d1445(0x1fa)]+_0x3d1445(0x358)+_0x2eda7f[_0x3d1445(0x265)]+_0x3d1445(0x358)+_0x2eda7f['left']+_0x3d1445(0x2d0);}const _0x412346=_0x49aeee==='A3'?_0x51c22b==='landscape'?_0x3d1445(0x3d0):_0x3d1445(0x23b):_0x49aeee==='Letter'?_0x51c22b===_0x3d1445(0x413)?_0x3d1445(0x3a1):_0x3d1445(0x217):_0x51c22b===_0x3d1445(0x413)?_0x3d1445(0x262):'A4\x20portrait',_0x54087a=_0x2eda7f[_0x3d1445(0x41b)]+'mm',_0x52885c=_0x2eda7f['right']+'mm',_0x16c231=_0x2eda7f[_0x3d1445(0x265)]+'mm',_0x17c9e4=_0x2eda7f['left']+'mm';return'@page\x20{\x20size:\x20'+_0x412346+_0x3d1445(0x3e3)+_0x54087a+'\x20'+_0x52885c+'\x20'+_0x16c231+'\x20'+_0x17c9e4+_0x3d1445(0x3f9);}function jsPdfFormat(_0x1f8391){const _0x51613e=_0xda391e;if(_0x1f8391[_0x51613e(0x29d)]==='A3')return'a3';if(_0x1f8391[_0x51613e(0x29d)]===_0x51613e(0x435))return _0x51613e(0x2ee);return'a4';}function jsPdfOrientation(_0x51a7c0){const _0x2f4d97=_0xda391e;return _0x51a7c0['orientation']===_0x2f4d97(0x413)?'l':'p';}function sliceRectangles(_0x46929c,_0x1364d1,_0x5daaff,_0x328d89){const _0x346420=_0xda391e;if(_0x5daaff<=0x0||_0x328d89<=0x0)return[{'x':0x0,'y':0x0,'w':_0x46929c,'h':_0x1364d1}];const _0x55dcb4=[];for(let _0x915420=0x0;_0x915420<_0x1364d1;_0x915420+=_0x328d89){for(let _0x1a04aa=0x0;_0x1a04aa<_0x46929c;_0x1a04aa+=_0x5daaff){const _0x3d0bee=Math[_0x346420(0x44d)](_0x5daaff,_0x46929c-_0x1a04aa),_0xf406d6=Math[_0x346420(0x44d)](_0x328d89,_0x1364d1-_0x915420);if(_0x3d0bee>0x0&&_0xf406d6>0x0)_0x55dcb4[_0x346420(0x3d3)]({'x':_0x1a04aa,'y':_0x915420,'w':_0x3d0bee,'h':_0xf406d6});}}return _0x55dcb4[_0x346420(0x33a)]?_0x55dcb4:[{'x':0x0,'y':0x0,'w':_0x46929c,'h':_0x1364d1}];}function marginsCmToPt(_0x572c21){const _0x28ef93=_0xda391e,_0xd360e3=marginsCmToMm(_0x572c21),_0xf80490=_0x102782=>_0x102782*0x48/MM_PER_INCH;return{'top':_0xf80490(_0xd360e3['top']),'right':_0xf80490(_0xd360e3['right']),'bottom':_0xf80490(_0xd360e3[_0x28ef93(0x265)]),'left':_0xf80490(_0xd360e3[_0x28ef93(0x3c4)])};}function clampRange(_0x67aa50,_0x3c964c){const _0x44047f=_0xda391e;if(!_0x67aa50)return null;const _0x1d8e72=Math[_0x44047f(0x206)](0x1,_0x67aa50[_0x44047f(0x2a5)]),_0x240404=Math[_0x44047f(0x44d)](_0x3c964c,_0x67aa50[_0x44047f(0x3ba)]);if(_0x240404<_0x1d8e72)return null;return{'startRow':_0x1d8e72,'endRow':_0x240404};}function inSegment(_0x3e69ce,_0x25d12d){const _0x27504d=_0xda391e;return!!_0x25d12d&&_0x3e69ce>=_0x25d12d['startRow']&&_0x3e69ce<=_0x25d12d[_0x27504d(0x3ba)];}function compressToSegments(_0x4a83bf){const _0x1027c0=_0xda391e,_0x4d7535=[];for(const _0x3fc417 of _0x4a83bf){const _0x12cb65=_0x4d7535[_0x4d7535[_0x1027c0(0x33a)]-0x1];_0x12cb65&&_0x3fc417===_0x12cb65['endRow']+0x1?_0x12cb65[_0x1027c0(0x3ba)]=_0x3fc417:_0x4d7535[_0x1027c0(0x3d3)]({'startRow':_0x3fc417,'endRow':_0x3fc417});}return _0x4d7535;}function paginateReportRows(_0x3d894b){const _0x1258e1=_0xda391e,{rowCount:_0x446e33,rowHeights:_0x172e7d,defaultRowHeight:_0x1d4c62,page:_0x39b91c}=_0x3d894b,{heightPx:_0x2ea52d}=printableSizeCssPx(_0x39b91c),_0x49496e=_0x7f524d=>_0x172e7d?.[_0x7f524d-0x1]??_0x1d4c62,_0x19e2f4=_0x3bb23f=>{const _0xecd662=_0x3ab1;if(!_0x3bb23f)return 0x0;let _0x5354eb=0x0;for(let _0x53b877=_0x3bb23f[_0xecd662(0x2a5)];_0x53b877<=_0x3bb23f[_0xecd662(0x3ba)];_0x53b877++)_0x5354eb+=_0x49496e(_0x53b877);return _0x5354eb;},_0xc79bab=clampRange(_0x39b91c[_0x1258e1(0x30a)],_0x446e33),_0x234a30=clampRange(_0x39b91c[_0x1258e1(0x2d1)],_0x446e33),_0x397412=_0x19e2f4(_0xc79bab),_0x2d3f76=_0x19e2f4(_0x234a30),_0x5d1486=Math['max'](0x1,_0x2ea52d-_0x397412-_0x2d3f76),_0x5857fc=[];for(let _0x34f054=0x1;_0x34f054<=_0x446e33;_0x34f054++){if(inSegment(_0x34f054,_0xc79bab)||inSegment(_0x34f054,_0x234a30))continue;_0x5857fc[_0x1258e1(0x3d3)](_0x34f054);}const _0x36c7da=[];let _0x14884f=0x0;while(_0x14884f<_0x5857fc[_0x1258e1(0x33a)]){const _0x56e7d0=[];let _0x100e43=0x0;while(_0x14884f<_0x5857fc['length']){const _0x75052d=_0x5857fc[_0x14884f],_0x33cb08=_0x49496e(_0x75052d);if(_0x56e7d0['length']>0x0&&_0x100e43+_0x33cb08>_0x5d1486)break;_0x56e7d0['push'](_0x75052d),_0x100e43+=_0x33cb08,_0x14884f++;if(_0x100e43>=_0x5d1486)break;}_0x36c7da[_0x1258e1(0x3d3)]({'pageIndex':_0x36c7da[_0x1258e1(0x33a)],'headerRows':_0xc79bab,'bodySegments':compressToSegments(_0x56e7d0),'footerRows':_0x234a30});}return _0x36c7da['length']===0x0&&_0x36c7da[_0x1258e1(0x3d3)]({'pageIndex':0x0,'headerRows':_0xc79bab,'bodySegments':[],'footerRows':_0x234a30}),{'pages':_0x36c7da,'printableHeightPx':_0x2ea52d,'headerHeightPx':_0x397412,'footerHeightPx':_0x2d3f76,'bodyAvailPx':_0x5d1486};}function lowerKeys(_0x2e042c){const _0x561e6b=_0xda391e,_0x5341ee={};if(!_0x2e042c)return _0x5341ee;for(const [_0x139c6c,_0x10d57b]of Object[_0x561e6b(0x24f)](_0x2e042c)){const _0x305d25=_0x139c6c[_0x561e6b(0x33d)]()[_0x561e6b(0x320)]();if(_0x305d25)_0x5341ee[_0x305d25]=_0x10d57b;}return _0x5341ee;}function normalizeFieldData(_0x7f9133,_0x4a65bd){const _0x4519b0=_0xda391e,_0x457dbe=new Map();for(const [_0x2a2dcf,_0x170561]of Object[_0x4519b0(0x24f)](_0x7f9133['s']??{})){const _0x35b38e=Number(String(_0x2a2dcf)[_0x4519b0(0x2cd)](/^s/i,''));if(!Number[_0x4519b0(0x391)](_0x35b38e)||!Array[_0x4519b0(0x294)](_0x170561))continue;_0x457dbe['set'](_0x35b38e,_0x170561[_0x4519b0(0x43c)](lowerKeys));}const _0x259015={},_0x48f441={},_0x28c7cf=(_0xf920e6,_0x212c2f)=>{const _0xfa251=_0x4519b0,_0x31949f=normalizeSystemParamId(_0xf920e6);if(!_0x31949f)return;_0x259015[_0x31949f]=_0x212c2f,_0x48f441[_0x31949f[_0xfa251(0x320)]()]=_0x212c2f;};for(const [_0x5151e3,_0x582676]of Object['entries'](_0x7f9133[_0x4519b0(0x3e8)]??{}))_0x28c7cf(_0x5151e3,_0x582676);for(const [_0x5a29,_0x58e0df]of Object[_0x4519b0(0x24f)](_0x4a65bd??{}))_0x28c7cf(_0x5a29,_0x58e0df);return{'b':lowerKeys(_0x7f9133['b']),'m':lowerKeys(_0x7f9133['m']),'s':_0x457dbe,'params':_0x259015,'paramsLower':_0x48f441};}function toDisplay(_0x183627){const _0xf2a389=_0xda391e;if(_0x183627==null||_0x183627==='')return void 0x0;if(_0x183627 instanceof Date)return _0x183627[_0xf2a389(0x444)]()['slice'](0x0,0xa);return String(_0x183627);}function isImageDataUrl(_0x2c12f8){const _0x2c483a=_0xda391e;return _0x2c12f8['startsWith'](_0x2c483a(0x2ba));}function applyResolvedValue(_0x120183,_0x1282f2){if(isImageDataUrl(_0x1282f2))return{..._0x120183,'value':'','imageSrc':_0x1282f2};return{..._0x120183,'value':_0x1282f2};}function resolveSub(_0x594f5d,_0x12a839,_0x2602d9,_0x5ab82e){const _0x46366d=_0xda391e,_0x3b2776=_0x594f5d['s'][_0x46366d(0x446)](_0x12a839);if(!_0x3b2776)return void 0x0;const _0x31486f=_0x3b2776[_0x2602d9??0x0];if(!_0x31486f)return void 0x0;return toDisplay(_0x31486f[_0x5ab82e[_0x46366d(0x33d)]()[_0x46366d(0x320)]()]);}function resolveBinding(_0x504554,_0x3b817d){const _0x4fb638=_0xda391e,_0x57adb1=_0x504554[_0x4fb638(0x241)];if(!_0x57adb1)return void 0x0;const _0x1df19e=_0x57adb1[_0x4fb638(0x39e)][_0x4fb638(0x33d)]()[_0x4fb638(0x320)]();switch(_0x57adb1[_0x4fb638(0x2ec)]){case _0x4fb638(0x238):return toDisplay(_0x3b817d['b'][_0x1df19e]);case _0x4fb638(0x39c):return toDisplay(_0x3b817d['m'][_0x1df19e]);case _0x4fb638(0x34e):return resolveSub(_0x3b817d,_0x57adb1['subSchemaId']??0x1,_0x57adb1[_0x4fb638(0x3a8)],_0x57adb1[_0x4fb638(0x39e)]);case _0x4fb638(0x1f9):{const _0x3800d1=(_0x57adb1[_0x4fb638(0x2dc)]??_0x504554['value']??'')[_0x4fb638(0x33d)]();if(_0x3800d1&&templateContainsSystemParamTokens(_0x3800d1)){const _0x3471b1=expandSystemParamTemplate(_0x3800d1,_0x3b817d[_0x4fb638(0x3e8)]);if(_0x3471b1[_0x4fb638(0x33d)]())return _0x3471b1;}return toDisplay(_0x3b817d[_0x4fb638(0x3f1)][_0x1df19e]);}default:return void 0x0;}}var TOKEN_RE=/\{(b|m|p|s\d+)\.([a-z0-9_.]+)\}/gi;function expandFieldTokens(_0x8e73f7,_0x28c4fc,_0x20ed75){const _0x381c6b=normalizeFieldData(_0x28c4fc,_0x20ed75);return expandTokensNormalized(_0x8e73f7,_0x381c6b);}function expandTokensNormalized(_0x201269,_0x128845){const _0x1b6314=_0xda391e;let _0x997e79=_0x201269[_0x1b6314(0x2cd)](TOKEN_RE,(_0x49f922,_0x2a7783,_0xfa0676)=>{const _0x195f75=_0x1b6314,_0x506e92=_0xfa0676[_0x195f75(0x33d)]()[_0x195f75(0x320)](),_0x54f997=_0x2a7783[_0x195f75(0x320)]();if(_0x54f997==='b')return toDisplay(_0x128845['b'][_0x506e92])??_0x49f922;if(_0x54f997==='m')return toDisplay(_0x128845['m'][_0x506e92])??_0x49f922;if(_0x54f997==='p')return toDisplay(_0x128845[_0x195f75(0x3f1)][_0x506e92])??_0x49f922;const _0x15af1c=Number(_0x54f997[_0x195f75(0x32f)](0x1));return resolveSub(_0x128845,_0x15af1c,0x0,_0x506e92)??_0x49f922;});if(templateContainsSystemParamTokens(_0x997e79)){const _0x2fcf51=expandSystemParamTemplate(_0x997e79,_0x128845[_0x1b6314(0x3e8)]);if(_0x2fcf51[_0x1b6314(0x33d)]())_0x997e79=_0x2fcf51;}return _0x997e79;}function hydrateSheetFieldData(_0x55a843,_0x39d5a4,_0x3c6595){const _0x38775b=_0xda391e,_0x1eb072=normalizeFieldData(_0x39d5a4,_0x3c6595?.[_0x38775b(0x205)]),_0x4e8cbc=_0x3c6595?.[_0x38775b(0x22a)]??!![],_0xf87a80={..._0x55a843[_0x38775b(0x2fb)]};for(const [_0x2adaf5,_0x443644]of Object['entries'](_0xf87a80)){if(!_0x443644)continue;const _0x2009a5=resolveBinding(_0x443644,_0x1eb072);if(_0x2009a5!==void 0x0){_0xf87a80[_0x2adaf5]=applyResolvedValue(_0x443644,_0x2009a5);continue;}if(_0x443644[_0x38775b(0x241)]&&_0x443644['baseTemplateBinding'][_0x38775b(0x2ec)]!==_0x38775b(0x286)){if(_0x4e8cbc)_0xf87a80[_0x2adaf5]={..._0x443644,'value':''};continue;}const _0x3395ba=_0x443644[_0x38775b(0x2d2)]??'';if(!_0x3395ba)continue;const _0x2c0aea=expandTokensNormalized(_0x3395ba,_0x1eb072);if(_0x2c0aea!==_0x3395ba)_0xf87a80[_0x2adaf5]={..._0x443644,'value':_0x2c0aea};}return{..._0x55a843,'cells':_0xf87a80};}function hydrateWorkbookFieldData(_0x1178a4,_0x59f4e6,_0x314f9e){const _0x2db98f=_0xda391e;return{..._0x1178a4,'sheets':_0x1178a4[_0x2db98f(0x346)][_0x2db98f(0x43c)](_0x4aaf88=>({..._0x4aaf88,'sheet':hydrateSheetFieldData(_0x4aaf88[_0x2db98f(0x1f6)],_0x59f4e6,_0x314f9e)}))};}function clampRange2(_0x2b91a8,_0xb0574b){const _0x5bb2f0=_0xda391e;if(!_0x2b91a8)return null;const _0x25dc3c=Math[_0x5bb2f0(0x206)](0x1,_0x2b91a8['startRow']),_0x322498=Math[_0x5bb2f0(0x44d)](_0xb0574b,_0x2b91a8[_0x5bb2f0(0x3ba)]);if(_0x322498<_0x25dc3c)return null;return{'startRow':_0x25dc3c,'endRow':_0x322498};}function sliceStrip(_0x1e209c,_0x4087d9){const _0xbd92b7=_0xda391e,_0x16a26a={};for(const [_0x534b24,_0x18abe8]of Object[_0xbd92b7(0x24f)](_0x1e209c[_0xbd92b7(0x2fb)]??{})){const _0x3b972c=parseCellKey(_0x534b24);if(!_0x3b972c||_0x3b972c['r']<_0x4087d9[_0xbd92b7(0x2a5)]||_0x3b972c['r']>_0x4087d9['endRow'])continue;_0x16a26a[_0x13100c(_0x3b972c['r']-_0x4087d9[_0xbd92b7(0x2a5)]+0x1,_0x3b972c['c'])]=_0x18abe8;}const _0xb8c0de=[];for(const _0x35848e of _0x1e209c[_0xbd92b7(0x37f)]??[]){if(_0x35848e['r1']<_0x4087d9[_0xbd92b7(0x2a5)]||_0x35848e['r2']>_0x4087d9['endRow'])continue;_0xb8c0de[_0xbd92b7(0x3d3)]({'r1':_0x35848e['r1']-_0x4087d9[_0xbd92b7(0x2a5)]+0x1,'r2':_0x35848e['r2']-_0x4087d9[_0xbd92b7(0x2a5)]+0x1,'c1':_0x35848e['c1'],'c2':_0x35848e['c2']});}const _0x5c8ef4=[];for(let _0x3ece92=_0x4087d9[_0xbd92b7(0x2a5)];_0x3ece92<=_0x4087d9[_0xbd92b7(0x3ba)];_0x3ece92++){_0x5c8ef4[_0xbd92b7(0x3d3)](_0x1e209c['rowHeights']?.[_0x3ece92-0x1]??_0x1e209c[_0xbd92b7(0x284)]);}return{'rowCount':_0x4087d9[_0xbd92b7(0x3ba)]-_0x4087d9[_0xbd92b7(0x2a5)]+0x1,'rowHeights':_0x5c8ef4,'cells':_0x16a26a,'merges':_0xb8c0de};}function extractHeaderFooterStrips(_0x5470da,_0x5914e2){const _0x38ff5b=_0xda391e,_0x526a5e=_0x5914e2?_0x5470da[_0x38ff5b(0x346)][_0x38ff5b(0x3fc)](_0x5b49dd=>_0x5b49dd['id']===_0x5914e2):_0x5470da[_0x38ff5b(0x346)][0x0];if(!_0x526a5e)return null;const _0x3cf9ed=_0x526a5e[_0x38ff5b(0x1f6)],_0x1f8973=clampRange2(_0x3cf9ed['page']?.['pageHeaderRows'],_0x3cf9ed[_0x38ff5b(0x3e6)]),_0x105f66=clampRange2(_0x3cf9ed[_0x38ff5b(0x3bf)]?.[_0x38ff5b(0x2d1)],_0x3cf9ed[_0x38ff5b(0x3e6)]);if(!_0x1f8973&&!_0x105f66)return null;return{'header':_0x1f8973?sliceStrip(_0x3cf9ed,_0x1f8973):null,'footer':_0x105f66?sliceStrip(_0x3cf9ed,_0x105f66):null,'colCount':_0x3cf9ed[_0x38ff5b(0x2dd)],'colWidths':_0x3cf9ed[_0x38ff5b(0x448)],'defaultRowHeight':_0x3cf9ed[_0x38ff5b(0x284)]};}function applyReportHeaderFooterTemplate(_0xdbf8b9,_0x2d073c,_0x53a8b7){const _0x57d2d2=_0xda391e,_0x2866e9=_0x53a8b7?.[_0x57d2d2(0x277)]?new Set(_0x53a8b7[_0x57d2d2(0x277)]):null,_0xe9f17=new Map(),_0x5b66c0=_0xdbf8b9[_0x57d2d2(0x346)]['map'](_0xbc40e=>{const _0x2444d6=_0x57d2d2;if(_0x2866e9&&!_0x2866e9[_0x2444d6(0x2d3)](_0xbc40e['id']))return _0xbc40e;const {sheet:_0x96beb5,rowMap:_0x510cbd}=applyToSheet(_0xbc40e[_0x2444d6(0x1f6)],_0x2d073c);return _0xe9f17[_0x2444d6(0x40e)](_0xbc40e['id'],_0x510cbd),{..._0xbc40e,'sheet':_0x96beb5};});let _0xe32d17=_0xdbf8b9[_0x57d2d2(0x240)];const _0x5593b5=_0xe32d17?.[_0x57d2d2(0x216)]?.['bands'];if(_0x5593b5?.[_0x57d2d2(0x33a)]){const _0x30c320=_0x5593b5[_0x57d2d2(0x43c)](_0x23c85f=>{const _0x527e23=_0x57d2d2,_0x14a708=_0xe9f17['get'](_0x23c85f[_0x527e23(0x212)]);if(!_0x14a708)return _0x23c85f;const _0x51f0d0=_0x14a708[_0x527e23(0x446)](_0x23c85f[_0x527e23(0x2a5)]),_0x7f9c0c=_0x14a708['get'](_0x23c85f[_0x527e23(0x3ba)]);if(_0x51f0d0==null||_0x7f9c0c==null)return _0x23c85f;const _0x4b24d9={..._0x23c85f,'startRow':_0x51f0d0,'endRow':_0x7f9c0c};if(_0x23c85f['headerStartRow']!=null&&_0x23c85f['headerEndRow']!=null){const _0x314b0a=_0x14a708[_0x527e23(0x446)](_0x23c85f[_0x527e23(0x3aa)]),_0x27e7b3=_0x14a708['get'](_0x23c85f[_0x527e23(0x2b6)]);_0x314b0a!=null&&_0x27e7b3!=null&&(_0x4b24d9[_0x527e23(0x3aa)]=_0x314b0a,_0x4b24d9[_0x527e23(0x2b6)]=_0x27e7b3);}return _0x4b24d9;});_0xe32d17={..._0xe32d17,'report':{..._0xe32d17[_0x57d2d2(0x216)],'bands':_0x30c320}};}return{..._0xdbf8b9,'sheets':_0x5b66c0,'meta':_0xe32d17};}function applyToSheet(_0x498390,_0x5083d3){const _0x380501=_0xda391e,_0x49f4d8=_0x5083d3[_0x380501(0x256)]?clampRange2(_0x498390[_0x380501(0x3bf)]?.[_0x380501(0x30a)],_0x498390['rowCount']):null,_0xa7d5d1=_0x5083d3['footer']?clampRange2(_0x498390[_0x380501(0x3bf)]?.['pageFooterRows'],_0x498390[_0x380501(0x3e6)]):null,_0x563d8d=!_0x5083d3[_0x380501(0x256)]?clampRange2(_0x498390[_0x380501(0x3bf)]?.['pageHeaderRows'],_0x498390[_0x380501(0x3e6)]):null,_0x5a7d2a=!_0x5083d3['footer']?clampRange2(_0x498390[_0x380501(0x3bf)]?.['pageFooterRows'],_0x498390[_0x380501(0x3e6)]):null,_0xd8569a=(_0x39d116,_0x26a2ac)=>!!_0x26a2ac&&_0x39d116>=_0x26a2ac[_0x380501(0x2a5)]&&_0x39d116<=_0x26a2ac[_0x380501(0x3ba)],_0x22818c=[];for(let _0x36fd9a=0x1;_0x36fd9a<=_0x498390['rowCount'];_0x36fd9a++){if(_0xd8569a(_0x36fd9a,_0x49f4d8)||_0xd8569a(_0x36fd9a,_0xa7d5d1))continue;_0x22818c[_0x380501(0x3d3)](_0x36fd9a);}const _0x545432=_0x5083d3['header']?.[_0x380501(0x3e6)]??0x0,_0x400e55=_0x5083d3['footer']?.['rowCount']??0x0,_0x1dc3ee=_0x545432+_0x22818c[_0x380501(0x33a)]+_0x400e55,_0x100d9d=new Map();_0x22818c[_0x380501(0x399)]((_0x2ba42f,_0x35d1ca)=>_0x100d9d[_0x380501(0x40e)](_0x2ba42f,_0x545432+_0x35d1ca+0x1));const _0x5a0e45={};if(_0x5083d3[_0x380501(0x256)])for(const [_0x52619b,_0x18c2f7]of Object['entries'](_0x5083d3[_0x380501(0x256)][_0x380501(0x2fb)])){_0x5a0e45[_0x52619b]=_0x18c2f7;}for(const [_0x9f80e3,_0x512af3]of Object[_0x380501(0x24f)](_0x498390[_0x380501(0x2fb)]??{})){const _0x191cb3=parseCellKey(_0x9f80e3);if(!_0x191cb3)continue;const _0x558298=_0x100d9d[_0x380501(0x446)](_0x191cb3['r']);if(_0x558298==null)continue;_0x5a0e45[_0x13100c(_0x558298,_0x191cb3['c'])]=_0x512af3;}if(_0x5083d3[_0x380501(0x307)]){const _0x4a74fa=_0x545432+_0x22818c['length'];for(const [_0x5f0e12,_0x1458ef]of Object[_0x380501(0x24f)](_0x5083d3[_0x380501(0x307)][_0x380501(0x2fb)])){const _0x1d424f=parseCellKey(_0x5f0e12);if(!_0x1d424f)continue;_0x5a0e45[_0x13100c(_0x4a74fa+_0x1d424f['r'],_0x1d424f['c'])]=_0x1458ef;}}const _0x430ae3=[];_0x5083d3[_0x380501(0x256)]&&_0x430ae3[_0x380501(0x3d3)](..._0x5083d3['header']['merges'][_0x380501(0x43c)](_0x372d4b=>({..._0x372d4b})));for(const _0x13df85 of _0x498390[_0x380501(0x37f)]??[]){const _0x25ab8b=_0x100d9d[_0x380501(0x446)](_0x13df85['r1']),_0x5c5f52=_0x100d9d[_0x380501(0x446)](_0x13df85['r2']);if(_0x25ab8b==null||_0x5c5f52==null)continue;_0x430ae3[_0x380501(0x3d3)]({'r1':_0x25ab8b,'r2':_0x5c5f52,'c1':_0x13df85['c1'],'c2':_0x13df85['c2']});}if(_0x5083d3[_0x380501(0x307)]){const _0x303e39=_0x545432+_0x22818c[_0x380501(0x33a)];_0x430ae3[_0x380501(0x3d3)](..._0x5083d3[_0x380501(0x307)][_0x380501(0x37f)][_0x380501(0x43c)](_0x51fe79=>({'r1':_0x51fe79['r1']+_0x303e39,'r2':_0x51fe79['r2']+_0x303e39,'c1':_0x51fe79['c1'],'c2':_0x51fe79['c2']})));}const _0x3d4991=new Array(_0x1dc3ee)['fill'](_0x498390[_0x380501(0x284)]);_0x5083d3['header']?.[_0x380501(0x420)]['forEach']((_0x423f81,_0x40f370)=>{_0x3d4991[_0x40f370]=_0x423f81;}),_0x22818c['forEach']((_0x1a718a,_0x523e5a)=>{_0x3d4991[_0x545432+_0x523e5a]=_0x498390['rowHeights']?.[_0x1a718a-0x1]??_0x498390['defaultRowHeight'];}),_0x5083d3[_0x380501(0x307)]?.[_0x380501(0x420)][_0x380501(0x399)]((_0x3b170c,_0x1d5f8c)=>{const _0x2492f2=_0x380501;_0x3d4991[_0x545432+_0x22818c[_0x2492f2(0x33a)]+_0x1d5f8c]=_0x3b170c;});const _0x530d04={..._0x498390[_0x380501(0x3bf)]};if(_0x5083d3[_0x380501(0x256)])_0x530d04[_0x380501(0x30a)]={'startRow':0x1,'endRow':_0x545432};else{if(_0x563d8d){const _0x5d46db=_0x100d9d[_0x380501(0x446)](_0x563d8d['startRow']),_0x16ed31=_0x100d9d[_0x380501(0x446)](_0x563d8d[_0x380501(0x3ba)]);if(_0x5d46db!=null&&_0x16ed31!=null)_0x530d04['pageHeaderRows']={'startRow':_0x5d46db,'endRow':_0x16ed31};}}if(_0x5083d3[_0x380501(0x307)])_0x530d04['pageFooterRows']={'startRow':_0x1dc3ee-_0x400e55+0x1,'endRow':_0x1dc3ee};else{if(_0x5a7d2a){const _0x3d6d2c=_0x100d9d[_0x380501(0x446)](_0x5a7d2a[_0x380501(0x2a5)]),_0x28a7ff=_0x100d9d[_0x380501(0x446)](_0x5a7d2a['endRow']);if(_0x3d6d2c!=null&&_0x28a7ff!=null)_0x530d04[_0x380501(0x2d1)]={'startRow':_0x3d6d2c,'endRow':_0x28a7ff};}}const _0x5bd83e=Math['max'](_0x498390[_0x380501(0x2dd)],_0x5083d3[_0x380501(0x2dd)]),_0x6dba13=_0x498390['colWidths']??_0x5083d3[_0x380501(0x448)];return{'sheet':{..._0x498390,'rowCount':_0x1dc3ee,'colCount':_0x5bd83e,'colWidths':_0x6dba13,'rowHeights':_0x3d4991,'cells':_0x5a0e45,'merges':_0x430ae3,'page':_0x530d04},'rowMap':_0x100d9d};}function buildHeaderFooterTemplateWorkbook(_0x3275b7,_0x38dcb4){const _0x206971=_0xda391e,_0x1217e4=_0x38dcb4?_0x3275b7[_0x206971(0x346)][_0x206971(0x3fc)](_0x34bf94=>_0x34bf94['id']===_0x38dcb4):_0x3275b7['sheets'][0x0];if(!_0x1217e4)return null;const _0xc7d556=extractHeaderFooterStrips(_0x3275b7,_0x1217e4['id']);if(!_0xc7d556)return null;const _0x2a2a24=_0xc7d556['header']?.[_0x206971(0x3e6)]??0x0,_0x1707f2=_0xc7d556['footer']?.['rowCount']??0x0,_0x442598=_0x2a2a24+0x1,_0x1515de=_0x2a2a24+0x1+_0x1707f2,_0x35eecd={},_0x1bd37f=[],_0x291e45=new Array(_0x1515de)[_0x206971(0x25a)](_0xc7d556[_0x206971(0x284)]);_0xc7d556[_0x206971(0x256)]&&(Object[_0x206971(0x3cc)](_0x35eecd,_0xc7d556[_0x206971(0x256)]['cells']),_0x1bd37f[_0x206971(0x3d3)](..._0xc7d556[_0x206971(0x256)]['merges'][_0x206971(0x43c)](_0x46c643=>({..._0x46c643}))),_0xc7d556[_0x206971(0x256)]['rowHeights']['forEach']((_0x149cf6,_0x59b173)=>{_0x291e45[_0x59b173]=_0x149cf6;}));if(_0xc7d556[_0x206971(0x307)]){for(const [_0x1077cb,_0x12719e]of Object['entries'](_0xc7d556['footer'][_0x206971(0x2fb)])){const _0xb25929=parseCellKey(_0x1077cb);if(!_0xb25929)continue;_0x35eecd[_0x13100c(_0x442598+_0xb25929['r'],_0xb25929['c'])]=_0x12719e;}_0x1bd37f['push'](..._0xc7d556['footer'][_0x206971(0x37f)][_0x206971(0x43c)](_0xb8cadc=>({'r1':_0xb8cadc['r1']+_0x442598,'r2':_0xb8cadc['r2']+_0x442598,'c1':_0xb8cadc['c1'],'c2':_0xb8cadc['c2']}))),_0xc7d556[_0x206971(0x307)][_0x206971(0x420)]['forEach']((_0x2d59ed,_0x4cb565)=>{_0x291e45[_0x442598+_0x4cb565]=_0x2d59ed;});}const _0x5b7e9f={'version':_0x1217e4[_0x206971(0x1f6)][_0x206971(0x36d)],'rowCount':_0x1515de,'colCount':_0xc7d556[_0x206971(0x2dd)],'defaultRowHeight':_0xc7d556['defaultRowHeight'],'defaultColWidth':_0x1217e4[_0x206971(0x1f6)][_0x206971(0x3ef)],'colWidths':_0xc7d556['colWidths'],'rowHeights':_0x291e45,'cells':_0x35eecd,'merges':_0x1bd37f,'page':{..._0x1217e4[_0x206971(0x1f6)][_0x206971(0x3bf)],'pageHeaderRows':_0xc7d556[_0x206971(0x256)]?{'startRow':0x1,'endRow':_0x2a2a24}:void 0x0,'pageFooterRows':_0xc7d556[_0x206971(0x307)]?{'startRow':_0x442598+0x1,'endRow':_0x1515de}:void 0x0}};return{'workbookVersion':_0x3275b7[_0x206971(0x438)],'activeSheetId':_0x206971(0x40a),'sheets':[{'id':_0x206971(0x40a),'name':'\u8868\u5934\u8868\u5C3E\u6A21\u677F','sheet':_0x5b7e9f}],'meta':{'fieldRegistry':_0x3275b7[_0x206971(0x240)]?.['fieldRegistry'],'report':{'title':'\u8868\u5934\u8868\u5C3E\u6A21\u677F'}}};}function collectSlotSchemas(_0x31c416){const _0x24b121=_0xda391e,_0xddd1c7=new Map();for(const _0x502aa7 of Object[_0x24b121(0x428)](_0x31c416[_0x24b121(0x2fb)]??{})){const _0x56c45a=_0x502aa7?.[_0x24b121(0x241)];if(!_0x56c45a||_0x56c45a[_0x24b121(0x2ec)]!=='subField'||_0x56c45a[_0x24b121(0x3a8)]==null)continue;const _0x1204c2=_0x56c45a['subSchemaId']??0x1,_0x469514=_0xddd1c7['get'](_0x1204c2);if(_0x469514==null||_0x56c45a[_0x24b121(0x3a8)]>_0x469514)_0xddd1c7[_0x24b121(0x40e)](_0x1204c2,_0x56c45a[_0x24b121(0x3a8)]);}return _0xddd1c7;}function subRowCounts(_0x4714a9){const _0x565593=_0xda391e,_0x1e519d=new Map();for(const [_0x4e0be6,_0x1eb7cb]of Object[_0x565593(0x24f)](_0x4714a9?.['s']??{})){const _0x2e856d=Number(String(_0x4e0be6)[_0x565593(0x2cd)](/^s/i,''));if(!Number[_0x565593(0x391)](_0x2e856d)||!Array[_0x565593(0x294)](_0x1eb7cb))continue;_0x1e519d[_0x565593(0x40e)](_0x2e856d,_0x1eb7cb[_0x565593(0x33a)]);}return _0x1e519d;}function slotsPerPageFor(_0x2cba4c,_0x4d8588,_0x1167a6,_0x2b4eda){const _0x2543a7=_0xda391e,_0x5e7ab3=_0x2cba4c[_0x2543a7(0x240)]?.[_0x2543a7(0x3c1)]?.['find'](_0x3e82f4=>_0x3e82f4[_0x2543a7(0x212)]===_0x4d8588&&_0x3e82f4['subSchemaId']===_0x1167a6);if(_0x5e7ab3&&_0x5e7ab3[_0x2543a7(0x328)]>=0x1)return Math[_0x2543a7(0x207)](_0x5e7ab3['slotsPerPage']);return _0x2b4eda+0x1;}function cloneSheetForPage(_0x342625,_0x1876ff,_0x25a0dd){const _0x30831b=_0xda391e;if(_0x1876ff===0x0)return _0x342625;const _0x38493c={};for(const [_0x2329e7,_0x38f320]of Object[_0x30831b(0x24f)](_0x342625[_0x30831b(0x2fb)]??{})){const _0x1729db=_0x38f320?.[_0x30831b(0x241)];if(_0x1729db&&_0x1729db[_0x30831b(0x2ec)]==='subField'&&_0x1729db[_0x30831b(0x3a8)]!=null){const _0x2de564=_0x25a0dd['get'](_0x1729db[_0x30831b(0x303)]??0x1)??0x1;_0x38493c[_0x2329e7]={..._0x38f320,'baseTemplateBinding':{..._0x1729db,'subRowSlot':_0x1876ff*_0x2de564+_0x1729db[_0x30831b(0x3a8)]}};}else _0x38493c[_0x2329e7]=_0x38f320;}return{..._0x342625,'cells':_0x38493c};}function expandReportSlotPages(_0x1e62af,_0x212fd8){const _0x3295e5=_0xda391e,_0x107435=subRowCounts(_0x212fd8);let _0x4c2632=![];const _0x3f57a8=[];for(const _0x190b0c of _0x1e62af['sheets']){const _0x23e1b7=collectSlotSchemas(_0x190b0c[_0x3295e5(0x1f6)]);if(_0x23e1b7['size']===0x0){_0x3f57a8[_0x3295e5(0x3d3)](_0x190b0c);continue;}const _0x1711e0=new Map();let _0x318844=0x1;for(const [_0x37d184,_0x39f3e2]of _0x23e1b7){const _0x32e612=slotsPerPageFor(_0x1e62af,_0x190b0c['id'],_0x37d184,_0x39f3e2);_0x1711e0[_0x3295e5(0x40e)](_0x37d184,_0x32e612);const _0xa8a42e=_0x107435[_0x3295e5(0x446)](_0x37d184)??0x0;_0x318844=Math[_0x3295e5(0x206)](_0x318844,Math['ceil'](_0xa8a42e/_0x32e612)||0x1);}if(_0x318844===0x1){_0x3f57a8['push'](_0x190b0c);continue;}_0x4c2632=!![];for(let _0x995777=0x0;_0x995777<_0x318844;_0x995777++){_0x3f57a8['push']({'id':_0x995777===0x0?_0x190b0c['id']:_0x190b0c['id']+_0x3295e5(0x41a)+(_0x995777+0x1),'name':_0x190b0c[_0x3295e5(0x35c)],'sheet':cloneSheetForPage(_0x190b0c['sheet'],_0x995777,_0x1711e0)});}}if(!_0x4c2632)return _0x1e62af;return{..._0x1e62af,'sheets':_0x3f57a8};}var DEFAULTS={'minRowHeightPx':0xe,'minColWidthPx':0x18,'minFontSizePt':0x6};function round1(_0x3b0521){const _0x1d9f7a=_0xda391e;return Math[_0x1d9f7a(0x24b)](_0x3b0521*0xa)/0xa;}function scaleCellFonts(_0x32a8e5,_0x47a563,_0x4307d8){const _0x31085c=_0xda391e;if(_0x47a563>=0x1)return _0x32a8e5;let _0x143ed2=![],_0x5c92d4=_0x32a8e5['style'];if(_0x5c92d4?.[_0x31085c(0x431)]){const _0x16fd97=Math[_0x31085c(0x206)](_0x4307d8,round1(_0x5c92d4[_0x31085c(0x431)]*_0x47a563));_0x16fd97!==_0x5c92d4['fontSize']&&(_0x5c92d4={..._0x5c92d4,'fontSize':_0x16fd97},_0x143ed2=!![]);}let _0x2c2677=_0x32a8e5[_0x31085c(0x20f)];_0x2c2677?.['some'](_0x4a230d=>_0x4a230d['s']?.[_0x31085c(0x431)])&&(_0x2c2677=_0x2c2677['map'](_0xe7cf8=>{const _0x2a5cd5=_0x31085c;if(!_0xe7cf8['s']?.['fontSize'])return _0xe7cf8;const _0x15bd21=Math[_0x2a5cd5(0x206)](_0x4307d8,round1(_0xe7cf8['s'][_0x2a5cd5(0x431)]*_0x47a563));return _0x15bd21===_0xe7cf8['s'][_0x2a5cd5(0x431)]?_0xe7cf8:{..._0xe7cf8,'s':{..._0xe7cf8['s'],'fontSize':_0x15bd21}};}),_0x143ed2=!![]);if(!_0x143ed2)return _0x32a8e5;const _0x174b02={..._0x32a8e5};if(_0x5c92d4)_0x174b02[_0x31085c(0x31e)]=_0x5c92d4;if(_0x2c2677)_0x174b02[_0x31085c(0x20f)]=_0x2c2677;return _0x174b02;}function rescaleReportSheet(_0x56ef11,_0x4247c4,_0xc8be1b){const _0x466584=_0xda391e,_0x39ed88={...DEFAULTS,'scaleFontSize':!![],..._0xc8be1b},_0x36c2e6=[];if(!(_0x4247c4[_0x466584(0x2a0)]>0x0)||!(_0x4247c4[_0x466584(0x2c2)]>0x0))return{'sheet':_0x56ef11,'warnings':[_0x466584(0x392)]};const _0x132691=printableSizeCssPx(_0x56ef11[_0x466584(0x3bf)]),_0x50076c={..._0x56ef11[_0x466584(0x3bf)],'paper':_0x466584(0x403),'widthMm':_0x4247c4[_0x466584(0x2a0)],'heightMm':_0x4247c4[_0x466584(0x2c2)]},_0x4f91f9=printableSizeCssPx(_0x50076c),_0x4915a0=_0x4f91f9['widthPx']/_0x132691[_0x466584(0x339)],_0x3a74d3=_0x4f91f9[_0x466584(0x344)]/_0x132691[_0x466584(0x344)],_0x5da9c3=Array[_0x466584(0x300)]({'length':_0x56ef11[_0x466584(0x2dd)]},(_0x5f4a2b,_0x528749)=>_0x56ef11[_0x466584(0x448)]?.[_0x528749]??_0x56ef11[_0x466584(0x3ef)])[_0x466584(0x43c)](_0x100ba5=>Math['max'](_0x39ed88[_0x466584(0x367)],Math[_0x466584(0x24b)](_0x100ba5*_0x4915a0))),_0xe69b72=Array[_0x466584(0x300)]({'length':_0x56ef11[_0x466584(0x3e6)]},(_0x5a2044,_0x1db142)=>_0x56ef11[_0x466584(0x420)]?.[_0x1db142]??_0x56ef11[_0x466584(0x284)])[_0x466584(0x43c)](_0x287187=>Math['max'](_0x39ed88[_0x466584(0x215)],Math[_0x466584(0x24b)](_0x287187*_0x3a74d3))),_0x2061ce=Math['max'](_0x39ed88[_0x466584(0x367)],Math[_0x466584(0x24b)](_0x56ef11[_0x466584(0x3ef)]*_0x4915a0)),_0x912d1e=Math[_0x466584(0x206)](_0x39ed88[_0x466584(0x215)],Math[_0x466584(0x24b)](_0x56ef11[_0x466584(0x284)]*_0x3a74d3)),_0x2bf0dd=Math[_0x466584(0x44d)](_0x4915a0,_0x3a74d3);let _0x6435c5=_0x56ef11[_0x466584(0x2fb)];if(_0x39ed88[_0x466584(0x3cd)]&&_0x2bf0dd<0x1){const _0x202205={};for(const [_0x1d4d01,_0x2d1565]of Object[_0x466584(0x24f)](_0x56ef11[_0x466584(0x2fb)])){_0x202205[_0x1d4d01]=scaleCellFonts(_0x2d1565,_0x2bf0dd,_0x39ed88[_0x466584(0x21e)]);}_0x6435c5=_0x202205;}const _0x37e3ef=_0x5da9c3[_0x466584(0x1fe)]((_0x24be70,_0x820268)=>_0x24be70+_0x820268,0x0);_0x37e3ef>_0x4f91f9['widthPx']+0.5&&_0x36c2e6[_0x466584(0x3d3)](_0x466584(0x386)+Math[_0x466584(0x32d)](_0x37e3ef)+_0x466584(0x3be)+Math[_0x466584(0x207)](_0x4f91f9[_0x466584(0x339)])+_0x466584(0x424));const _0x4bcd8a=_0xe69b72[_0x466584(0x1fe)]((_0x5a3b93,_0x32e925)=>_0x5a3b93+_0x32e925,0x0),_0x236084=Array[_0x466584(0x300)]({'length':_0x56ef11[_0x466584(0x3e6)]},(_0x131f31,_0x37e588)=>_0x56ef11['rowHeights']?.[_0x37e588]??_0x56ef11[_0x466584(0x284)])[_0x466584(0x1fe)]((_0x1c78b7,_0x23e696)=>_0x1c78b7+_0x23e696,0x0);return _0x4bcd8a>_0x4f91f9[_0x466584(0x344)]+0.5&&_0x236084<=_0x132691['heightPx']+0.5&&_0x36c2e6['push'](_0x466584(0x301)),{'sheet':{..._0x56ef11,'defaultColWidth':_0x2061ce,'defaultRowHeight':_0x912d1e,'colWidths':_0x5da9c3,'rowHeights':_0xe69b72,'cells':_0x6435c5,'page':_0x50076c},'warnings':_0x36c2e6};}function rescaleReportWorkbook(_0x3d0ce0,_0x41cb8b,_0x1af3ae){const _0x34e895=_0xda391e,_0x326cf6=[],_0x4c9289=_0x3d0ce0[_0x34e895(0x346)][_0x34e895(0x43c)](_0x30c76c=>{const _0x3d2ff2=_0x34e895,_0x209fac=rescaleReportSheet(_0x30c76c[_0x3d2ff2(0x1f6)],_0x41cb8b,_0x1af3ae);for(const _0x11bf4d of _0x209fac[_0x3d2ff2(0x341)]){_0x326cf6[_0x3d2ff2(0x3d3)](_0x3d0ce0['sheets'][_0x3d2ff2(0x33a)]>0x1?'['+_0x30c76c[_0x3d2ff2(0x35c)]+']\x20'+_0x11bf4d:_0x11bf4d);}return{..._0x30c76c,'sheet':_0x209fac['sheet']};});return{'workbook':{..._0x3d0ce0,'sheets':_0x4c9289},'warnings':_0x326cf6};}var EXCEL_DEFAULT_ROW_HEIGHT_PT=0xf,EXCEL_DEFAULT_COL_WIDTH_CHAR=8.43,EXCEL_COL_DIGIT_WIDTH_PX=0x7,EXCEL_COL_PADDING_PX=0x5,CHROME_GUTTER_COL_WIDTH_PX=0x28,CHROME_GUTTER_ROW_HEIGHT_PX=0x18;function excelColWidthToPx(_0x25da51){const _0x27c1c0=_0xda391e;return Math['round'](Math[_0x27c1c0(0x206)](0x14,_0x25da51*EXCEL_COL_DIGIT_WIDTH_PX+EXCEL_COL_PADDING_PX));}function pxToExcelColWidth(_0x3983ae){const _0x3296de=_0xda391e;return Math[_0x3296de(0x206)](0x2,Math[_0x3296de(0x44d)](0x64,(_0x3983ae-EXCEL_COL_PADDING_PX)/EXCEL_COL_DIGIT_WIDTH_PX));}function excelRowHeightPtToPx(_0x5aa509){const _0x204995=_0xda391e;return Math[_0x204995(0x24b)](_0x5aa509*0x60/0x48);}function pxToExcelRowHeightPt(_0x25bfd8){return _0x25bfd8*0x48/0x60;}function detectGridLayoutMode(_0x3aa34d){const _0x288774=_0xda391e;if(_0x3aa34d['colWidths']?.[0x0]===CHROME_GUTTER_COL_WIDTH_PX&&_0x3aa34d[_0x288774(0x420)]?.[0x0]===CHROME_GUTTER_ROW_HEIGHT_PX)return _0x288774(0x2f8);return _0x288774(0x419);}function sheetDataRegion(_0x2702c5){const _0x166fd2=_0xda391e;if(detectGridLayoutMode(_0x2702c5)===_0x166fd2(0x2f8))return{'r1':0x1,'r2':Math['max'](0x1,_0x2702c5[_0x166fd2(0x3e6)]-0x1),'c1':0x1,'c2':Math[_0x166fd2(0x206)](0x1,_0x2702c5['colCount']-0x1)};return{'r1':0x1,'r2':_0x2702c5['rowCount'],'c1':0x1,'c2':_0x2702c5[_0x166fd2(0x2dd)]};}function sheetDataColWidthPx(_0x463af3,_0x3cbf3b){const _0x4a5c72=_0xda391e;if(detectGridLayoutMode(_0x463af3)===_0x4a5c72(0x2f8)){const _0x3945db=_0x463af3['colWidths']?.[_0x3cbf3b];if(typeof _0x3945db===_0x4a5c72(0x3c8)&&_0x3945db>0x0)return _0x3945db;return _0x463af3[_0x4a5c72(0x3ef)];}const _0x283724=_0x463af3[_0x4a5c72(0x448)]?.[_0x3cbf3b-0x1];if(typeof _0x283724===_0x4a5c72(0x3c8)&&_0x283724>0x0)return _0x283724;return _0x463af3[_0x4a5c72(0x3ef)];}function sheetDataRowHeightPx(_0x1fadec,_0x1704a7){const _0x49e98b=_0xda391e;if(detectGridLayoutMode(_0x1fadec)==='chrome'){const _0x5e85e0=_0x1fadec[_0x49e98b(0x420)]?.[_0x1704a7];if(typeof _0x5e85e0===_0x49e98b(0x3c8)&&_0x5e85e0>0x0)return _0x5e85e0;return _0x1fadec[_0x49e98b(0x284)];}const _0x922da9=_0x1fadec['rowHeights']?.[_0x1704a7-0x1];if(typeof _0x922da9==='number'&&_0x922da9>0x0)return _0x922da9;return _0x1fadec[_0x49e98b(0x284)];}function sheetDataGridWidthPx(_0x3d3029){const {c1:_0x3b812a,c2:_0x277002}=sheetDataRegion(_0x3d3029);let _0x2060bb=0x0;for(let _0x252dfc=_0x3b812a;_0x252dfc<=_0x277002;_0x252dfc+=0x1)_0x2060bb+=sheetDataColWidthPx(_0x3d3029,_0x252dfc);return _0x2060bb;}function sheetDataGridHeightPx(_0x1bc571){const {r1:_0x376edb,r2:_0x158ad4}=sheetDataRegion(_0x1bc571);let _0x3b579a=0x0;for(let _0x3566e9=_0x376edb;_0x3566e9<=_0x158ad4;_0x3566e9+=0x1)_0x3b579a+=sheetDataRowHeightPx(_0x1bc571,_0x3566e9);return _0x3b579a;}function computeFitScale(_0x45e08d,_0x3725fd){if(!(_0x45e08d>0x0)||!(_0x3725fd>0x0))return 0x1;return _0x45e08d>_0x3725fd?_0x3725fd/_0x45e08d:0x1;}function scaleWidthsProportional(_0x19af70,_0x4e6836,_0x26dad4=0x4){const _0x28a61e=_0xda391e;if(_0x19af70[_0x28a61e(0x33a)]===0x0)return _0x19af70;const _0x1bed21=_0x19af70['reduce']((_0x4d416a,_0x156893)=>_0x4d416a+_0x156893,0x0);if(!(_0x1bed21>0x0)||_0x4e6836>=_0x1bed21)return _0x19af70;const _0x4410b8=_0x4e6836/_0x1bed21;return _0x19af70[_0x28a61e(0x43c)](_0x188e96=>Math[_0x28a61e(0x206)](_0x26dad4,Math[_0x28a61e(0x24b)](_0x188e96*_0x4410b8)));}function fitSheetDataGridToPage(_0x40d8c9,_0x47068e,_0x1aa14b){const _0x4b43cf=_0xda391e,_0x5ef8e3={'scaleRows':![],'minColWidthPx':0x4,'minRowHeightPx':0xe,..._0x1aa14b},{widthPx:_0x3786eb,heightPx:_0x50828f}=printableSizeCssPx(_0x47068e),_0x2a6f61=sheetDataRegion(_0x40d8c9),_0x415ce8=detectGridLayoutMode(_0x40d8c9),_0x58aa3c=_0x2a6f61['c2']-_0x2a6f61['c1']+0x1,_0x2bb2b8=_0x2a6f61['r2']-_0x2a6f61['r1']+0x1,_0x5c8905=[];for(let _0x20491d=_0x2a6f61['c1'];_0x20491d<=_0x2a6f61['c2'];_0x20491d+=0x1)_0x5c8905[_0x4b43cf(0x3d3)](sheetDataColWidthPx(_0x40d8c9,_0x20491d));const _0x404f8d=scaleWidthsProportional(_0x5c8905,_0x3786eb,_0x5ef8e3['minColWidthPx']),_0x10d68d=_0x5c8905[0x0]>0x0?_0x404f8d[0x0]/_0x5c8905[0x0]:0x1;let _0x2defb4;if(_0x5ef8e3['scaleRows']){const _0x3e965c=[];for(let _0x387350=_0x2a6f61['r1'];_0x387350<=_0x2a6f61['r2'];_0x387350+=0x1)_0x3e965c[_0x4b43cf(0x3d3)](sheetDataRowHeightPx(_0x40d8c9,_0x387350));_0x2defb4=scaleWidthsProportional(_0x3e965c,_0x50828f,_0x5ef8e3[_0x4b43cf(0x215)]);}const _0x202baf=Math[_0x4b43cf(0x206)](_0x5ef8e3[_0x4b43cf(0x367)],Math[_0x4b43cf(0x24b)](_0x40d8c9[_0x4b43cf(0x3ef)]*_0x10d68d)),_0xe8fe26={..._0x40d8c9,'page':_0x47068e,'defaultColWidth':_0x202baf};if(_0x415ce8===_0x4b43cf(0x2f8)){const _0x5257b0=[..._0x40d8c9[_0x4b43cf(0x448)]??new Array(_0x40d8c9[_0x4b43cf(0x2dd)])['fill'](_0x40d8c9[_0x4b43cf(0x3ef)])];_0x5257b0[0x0]=CHROME_GUTTER_COL_WIDTH_PX;for(let _0x378b86=0x0;_0x378b86<_0x404f8d[_0x4b43cf(0x33a)];_0x378b86+=0x1)_0x5257b0[_0x2a6f61['c1']+_0x378b86]=_0x404f8d[_0x378b86];_0xe8fe26[_0x4b43cf(0x448)]=_0x5257b0;if(_0x2defb4){const _0x7b61f8=[..._0x40d8c9[_0x4b43cf(0x420)]??new Array(_0x40d8c9['rowCount'])['fill'](_0x40d8c9[_0x4b43cf(0x284)])];_0x7b61f8[0x0]=CHROME_GUTTER_ROW_HEIGHT_PX;for(let _0x4d8306=0x0;_0x4d8306<_0x2defb4[_0x4b43cf(0x33a)];_0x4d8306+=0x1)_0x7b61f8[_0x2a6f61['r1']+_0x4d8306]=_0x2defb4[_0x4d8306];_0xe8fe26[_0x4b43cf(0x420)]=_0x7b61f8;}return _0xe8fe26;}return _0xe8fe26['colWidths']=_0x404f8d,_0xe8fe26[_0x4b43cf(0x2dd)]=_0x58aa3c,_0xe8fe26['rowCount']=_0x2bb2b8,_0x2defb4&&(_0xe8fe26[_0x4b43cf(0x420)]=_0x2defb4,_0xe8fe26[_0x4b43cf(0x284)]=_0x2defb4[0x0]??_0x40d8c9['defaultRowHeight']),_0xe8fe26;}function normalizeSheetToCompactGrid(_0x33dd56){const _0x2e007c=_0xda391e;if(detectGridLayoutMode(_0x33dd56)!=='chrome')return _0x33dd56;const _0x44ebaf=sheetDataRegion(_0x33dd56),_0xd9f7d=_0x44ebaf['c2']-_0x44ebaf['c1']+0x1,_0x1cd19c=_0x44ebaf['r2']-_0x44ebaf['r1']+0x1,_0x1dc9c0=[];for(let _0x1f1065=_0x44ebaf['c1'];_0x1f1065<=_0x44ebaf['c2'];_0x1f1065+=0x1)_0x1dc9c0[_0x2e007c(0x3d3)](sheetDataColWidthPx(_0x33dd56,_0x1f1065));const _0x4239cc=[];for(let _0x2d0193=_0x44ebaf['r1'];_0x2d0193<=_0x44ebaf['r2'];_0x2d0193+=0x1)_0x4239cc['push'](sheetDataRowHeightPx(_0x33dd56,_0x2d0193));return{..._0x33dd56,'rowCount':_0x1cd19c,'colCount':_0xd9f7d,'colWidths':_0x1dc9c0,'rowHeights':_0x4239cc,'defaultColWidth':_0x1dc9c0[0x0]??_0x33dd56['defaultColWidth'],'defaultRowHeight':_0x4239cc[0x0]??_0x33dd56[_0x2e007c(0x284)]};}function sheetPrintFitScale(_0x46886b){const _0xef8c0f=_0xda391e,_0x533f72=sheetDataGridWidthPx(_0x46886b),{widthPx:_0xa43144}=printableSizeCssPx(_0x46886b[_0xef8c0f(0x3bf)]);return computeFitScale(_0x533f72,_0xa43144);}var SHEET_FONT_OPTIONS=[{'value':'','label':'\u9ED8\u8BA4\uFF08\u7CFB\u7EDF\uFF09'},{'value':_0xda391e(0x2c3),'label':'\u5B8B\u4F53'},{'value':_0xda391e(0x406),'label':'\u4EFF\u5B8B'},{'value':_0xda391e(0x23d),'label':'\u9ED1\u4F53'},{'value':_0xda391e(0x2f3),'label':'\u6977\u4F53'},{'value':_0xda391e(0x21b),'label':_0xda391e(0x281)},{'value':_0xda391e(0x387),'label':'\u96B6\u4E66'},{'value':_0xda391e(0x3b4),'label':_0xda391e(0x380)},{'value':_0xda391e(0x3b5),'label':_0xda391e(0x379)}],CSS_STACK={'':'-apple-system,BlinkMacSystemFont,\x27Segoe\x20UI\x27,Roboto,\x27Helvetica\x20Neue\x27,Arial,sans-serif','simsun':_0xda391e(0x251),'fangsong':_0xda391e(0x383),'simhei':_0xda391e(0x3cf),'kaiti':_0xda391e(0x2fa),'yahei':'\x22Microsoft\x20YaHei\x22,\x22PingFang\x20SC\x22,\x22Hiragino\x20Sans\x20GB\x22,\x22Noto\x20Sans\x20CJK\x20SC\x22,sans-serif','lisu':_0xda391e(0x432),'stxihei':_0xda391e(0x2c6),'stxinwei':'\x22STXinwei\x22,serif'},EXCEL_NAME={'simsun':'\u5B8B\u4F53','fangsong':'\u4EFF\u5B8B','simhei':'\u9ED1\u4F53','kaiti':'\u6977\u4F53','yahei':'\u5FAE\u8F6F\u96C5\u9ED1','lisu':'\u96B6\u4E66','stxihei':_0xda391e(0x380),'stxinwei':'\u534E\u6587\u65B0\u9B4F'};function sheetFontFamilyCss(_0x5d0a5d){if(!_0x5d0a5d)return CSS_STACK[''];const _0x127b4e=CSS_STACK[_0x5d0a5d];if(_0x127b4e)return _0x127b4e;const _0x2a9356=guessSheetFontIdFromCssFontFamily(_0x5d0a5d);if(_0x2a9356&&CSS_STACK[_0x2a9356])return CSS_STACK[_0x2a9356];return _0x5d0a5d;}function sheetFontFamilyExcelName(_0x456c4d){if(!_0x456c4d)return void 0x0;const _0x48a671=EXCEL_NAME[_0x456c4d];if(_0x48a671)return _0x48a671;const _0x1a68a2=guessSheetFontIdFromCssFontFamily(_0x456c4d);return _0x1a68a2?EXCEL_NAME[_0x1a68a2]:void 0x0;}function guessSheetFontIdFromCssFontFamily(_0x1c85a5){const _0x41beb4=_0xda391e,_0x135c97=_0x1c85a5[_0x41beb4(0x2cd)](/["']/g,'')['toLowerCase']();if(!_0x135c97[_0x41beb4(0x33d)]())return void 0x0;if(/fangsong|仿宋|stfangsong/['test'](_0x135c97))return'fangsong';if(/simsun|songti|宋体/['test'](_0x135c97))return _0x41beb4(0x2c3);if(/yahei|雅黑|microsoft\s*yahei|msyh|pingfang|hiragino/['test'](_0x135c97))return _0x41beb4(0x21b);if(/simhei|heiti|黑体|stheit/['test'](_0x135c97))return _0x41beb4(0x23d);if(/kaiti|楷体|kaiti\s*sc/[_0x41beb4(0x243)](_0x135c97))return _0x41beb4(0x2f3);if(/lisu|隶书|stliti/[_0x41beb4(0x243)](_0x135c97))return'lisu';if(/stxihei|华文细黑/['test'](_0x135c97))return'stxihei';if(/stxinwei|华文新魏/[_0x41beb4(0x243)](_0x135c97))return _0x41beb4(0x3b5);return void 0x0;}function gridColumnIndexToLetters(_0x1a5e90){const _0x1b82a4=_0xda391e;if(_0x1a5e90<=0x0)return'';let _0x4e1c7f=_0x1a5e90,_0x55311e='';while(_0x4e1c7f>0x0){const _0x41ba3c=(_0x4e1c7f-0x1)%0x1a;_0x55311e=String[_0x1b82a4(0x43b)](0x41+_0x41ba3c)+_0x55311e,_0x4e1c7f=Math[_0x1b82a4(0x207)]((_0x4e1c7f-0x1)/0x1a);}return _0x55311e;}var SHEET_COLOR_ROW_STANDARD=[{'hex':_0xda391e(0x3c3),'label':'\u767D'},{'hex':_0xda391e(0x225),'label':'\u7EA2'},{'hex':_0xda391e(0x30d),'label':'\u9EC4'},{'hex':_0xda391e(0x23c),'label':'\u84DD'},{'hex':'#008000','label':'\u7EFF'},{'hex':_0xda391e(0x2f7),'label':'\u7D2B'},{'hex':_0xda391e(0x267),'label':'\u6A59'}],SHEET_COLOR_ROW_THEME=[{'hex':_0xda391e(0x3a3),'label':'\u9ED1'},{'hex':_0xda391e(0x261),'label':'\u7EA2'},{'hex':_0xda391e(0x2cc),'label':'\u9EC4'},{'hex':'#0070C0','label':'\u84DD'},{'hex':_0xda391e(0x204),'label':'\u7EFF'},{'hex':_0xda391e(0x375),'label':'\u7D2B'},{'hex':_0xda391e(0x242),'label':'\u6A59'}];function getRowHeight(_0x39ea29,_0x3d6982){const _0x5710c2=_0xda391e,_0x428a91=_0x39ea29[_0x5710c2(0x420)]?.[_0x3d6982];if(typeof _0x428a91===_0x5710c2(0x3c8)){if(_0x428a91===0x0)return 0x0;if(_0x428a91>0x0)return _0x428a91;}return _0x39ea29['defaultRowHeight'];}function getColWidth(_0x2ca011,_0x22ebdc){const _0x2d993e=_0xda391e,_0x5a224b=_0x2ca011[_0x2d993e(0x448)]?.[_0x22ebdc];if(typeof _0x5a224b===_0x2d993e(0x3c8)){if(_0x22ebdc===0x0)return Math['max'](0x0,_0x5a224b);return _0x5a224b>0x0?_0x5a224b:_0x2ca011[_0x2d993e(0x3ef)];}return _0x2ca011[_0x2d993e(0x3ef)];}var MARGIN_CM_DEFAULT=1.2;function numV(_0x4ecd01,_0x146ee3){const _0x501119=_0xda391e,_0x5253ea=Number(_0x4ecd01);return Number[_0x501119(0x391)](_0x5253ea)?_0x5253ea:_0x146ee3;}function defaultPageSettings(){const _0x2963d1=_0xda391e;return{'paper':'A4','orientation':_0x2963d1(0x408),'marginsCm':{'top':MARGIN_CM_DEFAULT,'right':MARGIN_CM_DEFAULT,'bottom':MARGIN_CM_DEFAULT,'left':MARGIN_CM_DEFAULT}};}function normalizePageSettings(_0x36ca94){const _0xb5a5cb=_0xda391e,_0x578603=defaultPageSettings();if(!_0x36ca94||typeof _0x36ca94!==_0xb5a5cb(0x442))return _0x578603;const _0x51af59=_0x36ca94,_0x564d65=_0x51af59['paper']==='Custom'&&Number(_0x51af59[_0xb5a5cb(0x2a0)])>0x0&&Number(_0x51af59[_0xb5a5cb(0x2c2)])>0x0,_0x4a9b2d=_0x51af59['paper']==='A3'||_0x51af59['paper']==='Letter'||_0x51af59[_0xb5a5cb(0x29d)]==='A4'||_0x564d65?_0x51af59[_0xb5a5cb(0x29d)]:_0x578603['paper'],_0xa290e0=_0x564d65?{'widthMm':Number(_0x51af59[_0xb5a5cb(0x2a0)]),'heightMm':Number(_0x51af59[_0xb5a5cb(0x2c2)])}:void 0x0,_0xedc07c=_0x51af59[_0xb5a5cb(0x310)]==='landscape'||_0x51af59['orientation']===_0xb5a5cb(0x408)?_0x51af59['orientation']:_0x578603[_0xb5a5cb(0x310)],_0x3d751c=_0x51af59[_0xb5a5cb(0x254)]===0x5a||_0x51af59['outputRotation']===0x10e?{'outputRotation':_0x51af59[_0xb5a5cb(0x254)]}:void 0x0;if(_0x51af59[_0xb5a5cb(0x439)]&&typeof _0x51af59[_0xb5a5cb(0x439)]==='object'){const _0x1bbe58=_0x51af59[_0xb5a5cb(0x439)];return{'paper':_0x4a9b2d,..._0xa290e0,'orientation':_0xedc07c,..._0x3d751c,'marginsCm':{'top':numV(_0x1bbe58['top'],MARGIN_CM_DEFAULT),'right':numV(_0x1bbe58[_0xb5a5cb(0x1fa)],MARGIN_CM_DEFAULT),'bottom':numV(_0x1bbe58[_0xb5a5cb(0x265)],MARGIN_CM_DEFAULT),'left':numV(_0x1bbe58[_0xb5a5cb(0x3c4)],MARGIN_CM_DEFAULT)}};}if(_0x51af59[_0xb5a5cb(0x2c7)]&&typeof _0x51af59[_0xb5a5cb(0x2c7)]===_0xb5a5cb(0x442)){const _0x314fdd=_0x51af59[_0xb5a5cb(0x2c7)];return{'paper':_0x4a9b2d,..._0xa290e0,'orientation':_0xedc07c,..._0x3d751c,'marginsCm':{'top':numV(_0x314fdd[_0xb5a5cb(0x41b)],0xc)/0xa,'right':numV(_0x314fdd[_0xb5a5cb(0x1fa)],0xc)/0xa,'bottom':numV(_0x314fdd[_0xb5a5cb(0x265)],0xc)/0xa,'left':numV(_0x314fdd['left'],0xc)/0xa}};}return{..._0x578603,'paper':_0x4a9b2d,..._0xa290e0,'orientation':_0xedc07c,..._0x3d751c};}var DEFAULT_IMPORT_OPTIONS={'keepBorders':!![],'keepFonts':!![],'keepMerges':!![],'keepBackground':!![],'keepFormula':!![],'keepDimensions':!![]};function formatA1(_0x32d27e,_0x59aefc){if(_0x32d27e<0x1||_0x59aefc<0x1)return'';return''+gridColumnIndexToLetters(_0x59aefc)+_0x32d27e;}function formatSelectionA1(_0x6aa274){const _0x3e8fab=_0xda391e,_0x4f4cc6=Math[_0x3e8fab(0x44d)](_0x6aa274['r1'],_0x6aa274['r2']),_0x4d8db4=Math[_0x3e8fab(0x206)](_0x6aa274['r1'],_0x6aa274['r2']),_0x33dfc7=Math[_0x3e8fab(0x44d)](_0x6aa274['c1'],_0x6aa274['c2']),_0x2331c8=Math[_0x3e8fab(0x206)](_0x6aa274['c1'],_0x6aa274['c2']);if(_0x4f4cc6===_0x4d8db4&&_0x33dfc7===_0x2331c8)return formatA1(_0x4f4cc6,_0x33dfc7);return formatA1(_0x4f4cc6,_0x33dfc7)+':'+formatA1(_0x4d8db4,_0x2331c8);}var A1_RE=/^([A-Za-z]+)(\d+)$/;function parseA1Cell(_0x349f23){const _0x244581=_0xda391e,_0x406d93=_0x349f23[_0x244581(0x33d)](),_0x12c2e7=A1_RE[_0x244581(0x40d)](_0x406d93);if(!_0x12c2e7)return null;const _0x3d01fb=_0x12c2e7[0x1][_0x244581(0x235)](),_0x13a806=Number(_0x12c2e7[0x2]);if(!Number[_0x244581(0x391)](_0x13a806)||_0x13a806<0x1)return null;const _0x593c65=lettersToColumnIndex(_0x3d01fb);if(_0x593c65<0x1)return null;return{'r':_0x13a806,'c':_0x593c65};}function parseA1OrRangeToSelection(_0x408665){const _0x4dd806=_0xda391e,_0x18d517=_0x408665[_0x4dd806(0x33d)](),_0x5ba70d=_0x18d517['indexOf'](':');if(_0x5ba70d===-0x1){const _0x13d522=parseA1Cell(_0x18d517);if(!_0x13d522)return null;return{'r1':_0x13d522['r'],'c1':_0x13d522['c'],'r2':_0x13d522['r'],'c2':_0x13d522['c']};}const _0x191888=parseA1Cell(_0x18d517[_0x4dd806(0x32f)](0x0,_0x5ba70d)),_0x3f8039=parseA1Cell(_0x18d517[_0x4dd806(0x32f)](_0x5ba70d+0x1));if(!_0x191888||!_0x3f8039)return null;return{'r1':Math['min'](_0x191888['r'],_0x3f8039['r']),'c1':Math[_0x4dd806(0x44d)](_0x191888['c'],_0x3f8039['c']),'r2':Math['max'](_0x191888['r'],_0x3f8039['r']),'c2':Math[_0x4dd806(0x206)](_0x191888['c'],_0x3f8039['c'])};}function lettersToColumnIndex(_0x5c065d){const _0x16c600=_0xda391e;let _0x3ded79=0x0;for(let _0x59e2e0=0x0;_0x59e2e0<_0x5c065d[_0x16c600(0x33a)];_0x59e2e0+=0x1){const _0x5f417d=_0x5c065d[_0x16c600(0x2ad)](_0x59e2e0);if(_0x5f417d<0x41||_0x5f417d>0x5a)return-0x1;_0x3ded79=_0x3ded79*0x1a+(_0x5f417d-0x40);}return _0x3ded79;}var GRID_RC_RE=/^r(\d+)c(\d+)$/i;function parseGridRcAddress(_0x373d6f){const _0x12afcf=_0xda391e,_0x15be19=GRID_RC_RE[_0x12afcf(0x40d)](_0x373d6f[_0x12afcf(0x33d)]());if(!_0x15be19)return null;return{'r':Number(_0x15be19[0x1]),'c':Number(_0x15be19[0x2])};}function readMeta(_0x122df7,_0x145cb5,_0x5da1f2,_0x3f5752){const _0x4d87f7=_0xda391e;if(!_0x122df7)return null;const _0x2868a4=_0x122df7[cellMetaCompoundKey(_0x145cb5,'r'+_0x5da1f2+'c'+_0x3f5752)],_0x4622b9=_0x2868a4??_0x122df7[cellMetaCompoundKey(_0x145cb5,_0x13100c(_0x5da1f2,_0x3f5752))];if(!_0x4622b9||typeof _0x4622b9!=='object'||Array[_0x4d87f7(0x294)](_0x4622b9))return null;return _0x4622b9;}function parseSheetCellKeyPart(_0x494b66){const _0x56862d=/^r(\d+)c(\d+)$/['exec'](_0x494b66);if(_0x56862d)return{'r':Number(_0x56862d[0x1]),'c':Number(_0x56862d[0x2])};return parseCellKey(_0x494b66);}function enumerateSheetMetaCells(_0x2e3c19,_0x21727d){const _0x10e10c=_0xda391e;if(!_0x2e3c19)return[];const _0x38905b=_0x21727d+'::',_0x575251=[];for(const [_0x429945,_0x70d5e]of Object['entries'](_0x2e3c19)){if(!_0x429945[_0x10e10c(0x334)](_0x38905b))continue;const _0x20b2b2=_0x429945[_0x10e10c(0x32f)](_0x38905b[_0x10e10c(0x33a)]),_0x31228b=parseSheetCellKeyPart(_0x20b2b2);if(!_0x31228b)continue;if(!_0x70d5e||typeof _0x70d5e!==_0x10e10c(0x442)||Array[_0x10e10c(0x294)](_0x70d5e))continue;_0x575251[_0x10e10c(0x3d3)]({'key':_0x13100c(_0x31228b['r'],_0x31228b['c']),'r':_0x31228b['r'],'c':_0x31228b['c'],'meta':_0x70d5e});}return _0x575251;}function getRounding(_0x78386f){const _0x5b3770=_0xda391e;if(!_0x78386f)return void 0x0;const _0x2a0073=_0x78386f;if(_0x2a0073[_0x5b3770(0x384)]&&typeof _0x2a0073[_0x5b3770(0x384)]===_0x5b3770(0x442))return _0x2a0073[_0x5b3770(0x384)];if(_0x78386f[_0x5b3770(0x397)]!=null||_0x78386f[_0x5b3770(0x3e0)]!=null||_0x78386f[_0x5b3770(0x3bc)]!=null||_0x78386f[_0x5b3770(0x44c)]!=null)return{'roundMode':_0x78386f[_0x5b3770(0x397)],'scale':_0x78386f[_0x5b3770(0x3e0)],'interval':_0x78386f[_0x5b3770(0x3bc)],'sigDigits':_0x78386f['sigDigits'],'triggers':_0x78386f['triggers']};return void 0x0;}function getRoundingForCompute(_0x225ab8){return getRoundingForComputeMeta(getRounding(_0x225ab8));}function collectReferencedScriptBlockKeys(_0x2d53da,_0xed169d,_0x16b8da){const _0x5b99b2=_0xda391e,_0xa90ebc=new Set();for(const _0x1c4b1c of _0x2d53da['sheets']){for(const _0x25621d of enumerateSheetMetaCells(_0xed169d,_0x1c4b1c['id'])){_0x25621d[_0x5b99b2(0x240)][_0x5b99b2(0x22f)]===_0x5b99b2(0x2d5)&&_0x25621d[_0x5b99b2(0x240)][_0x5b99b2(0x27a)]&&shouldRunScriptBlock(_0x25621d[_0x5b99b2(0x240)],_0x16b8da)&&_0xa90ebc[_0x5b99b2(0x44a)](_0x25621d[_0x5b99b2(0x240)]['scriptBlockKey']);}}for(const _0x419b13 of _0x2d53da[_0x5b99b2(0x292)]??[]){if(_0x419b13[_0x5b99b2(0x2ec)]===_0x5b99b2(0x3a5)&&_0x419b13[_0x5b99b2(0x3a5)]['dataSource'][_0x5b99b2(0x3b6)]==='script'){const _0x1ee444=_0x419b13[_0x5b99b2(0x3a5)][_0x5b99b2(0x20b)][_0x5b99b2(0x27a)][_0x5b99b2(0x33d)]();if(_0x1ee444)_0xa90ebc[_0x5b99b2(0x44a)](_0x1ee444);}}return _0xa90ebc;}function clone(_0x53cf53){const _0x32b706=_0xda391e;return JSON[_0x32b706(0x29f)](JSON[_0x32b706(0x3a2)](_0x53cf53));}function renderBindingsIntoSheet(_0x14dd54,_0xef42d9,_0x3acb80,_0x373177,_0x4001e2,_0x5ea1ac,_0x3dab7b,_0x483b9b,_0x3ed3f2){const _0x27f80e=_0xda391e,_0x33ab01={..._0xef42d9,'cells':{..._0xef42d9[_0x27f80e(0x2fb)]}},_0x12c772=new Set(),_0x123bfe=[];for(const _0x229380 of enumerateSheetMetaCells(_0x373177,_0x3acb80)){if(_0x229380[_0x27f80e(0x240)]['bindingKind']==null||_0x229380['meta'][_0x27f80e(0x302)]===_0x27f80e(0x288)||_0x229380[_0x27f80e(0x240)][_0x27f80e(0x302)]==='text')continue;if(_0x12c772['has'](_0x229380['key']))continue;_0x12c772[_0x27f80e(0x44a)](_0x229380[_0x27f80e(0x39e)]),_0x123bfe[_0x27f80e(0x3d3)]({'k':_0x229380['key'],'r':_0x229380['r'],'c':_0x229380['c']});}for(const _0x40f865 of Object[_0x27f80e(0x324)](_0xef42d9[_0x27f80e(0x2fb)])){if(_0x12c772['has'](_0x40f865))continue;const _0x5d7fb1=parseCellKey(_0x40f865);if(!_0x5d7fb1)continue;_0x12c772[_0x27f80e(0x44a)](_0x40f865),_0x123bfe[_0x27f80e(0x3d3)]({'k':_0x40f865,'r':_0x5d7fb1['r'],'c':_0x5d7fb1['c']});}for(const {k:_0x3fec1b,r:_0x58fce3,c:_0x385539}of _0x123bfe){const _0xe78e93={'r':_0x58fce3,'c':_0x385539},_0x465158=readMeta(_0x373177,_0x3acb80,_0xe78e93['r'],_0xe78e93['c']);if(!_0x465158)continue;const _0x144428=_0xef42d9[_0x27f80e(0x2fb)][_0x3fec1b]??{'value':''},_0x27780f=typeof _0x144428[_0x27f80e(0x2d2)]===_0x27f80e(0x411)?_0x144428['value'][_0x27f80e(0x33d)]():'',_0x4dde59=_0x465158['bindingKind']===_0x27f80e(0x1f9),_0x310586=!_0x4dde59&&(_0x144428['f']&&_0x144428['f'][_0x27f80e(0x33d)]()[_0x27f80e(0x334)]('=')||_0x465158[_0x27f80e(0x22f)]!=null||_0x27780f['startsWith']('='));if(_0x310586)continue;const _0x288aed=bindingSubFieldRichPayload(_0x465158,_0x4001e2),_0x49c127=getRoundingForCompute(_0x465158);if(_0x288aed){const _0x141058=_0x49c127?formatNumericByMeta(_0x288aed[_0x27f80e(0x2d2)],_0x49c127):_0x288aed['value'];if(_0x141058===''&&_0x144428['instanceEditable']===!![]&&(typeof _0x144428['value']===_0x27f80e(0x411)?_0x144428['value'][_0x27f80e(0x33d)]():'')!=='')continue;const _0x576b29={..._0x144428,'value':_0x141058};if(_0x288aed[_0x27f80e(0x20f)][_0x27f80e(0x33a)])_0x576b29[_0x27f80e(0x20f)]=_0x288aed[_0x27f80e(0x20f)];else delete _0x576b29[_0x27f80e(0x20f)];const _0x508e8f=_0x144428[_0x27f80e(0x2d2)]===_0x576b29['value']&&JSON[_0x27f80e(0x3a2)](_0x144428['runs']??[])===JSON[_0x27f80e(0x3a2)](_0x576b29[_0x27f80e(0x20f)]??[]);if(!_0x508e8f)_0x33ab01[_0x27f80e(0x2fb)][_0x3fec1b]=_0x576b29;continue;}const _0x79aac7=bindingValueToString(_0x465158,_0x4001e2,_0x14dd54,_0x3acb80,_0x5ea1ac,_0x3dab7b,_0x144428,_0x483b9b?.[_0x3acb80],_0x3ed3f2);if(_0x79aac7==null)continue;if(_0x79aac7===''&&_0x144428['instanceEditable']===!![]&&(typeof _0x144428[_0x27f80e(0x2d2)]==='string'?_0x144428[_0x27f80e(0x2d2)][_0x27f80e(0x33d)]():'')!=='')continue;const _0x51c7cd=_0x49c127?formatNumericByMeta(_0x79aac7,_0x49c127):_0x79aac7,_0x58c10b={..._0x144428,'value':_0x51c7cd};delete _0x58c10b['runs'];const _0x14a1b9=_0x144428[_0x27f80e(0x2d2)]===_0x58c10b[_0x27f80e(0x2d2)]&&JSON['stringify'](_0x144428[_0x27f80e(0x20f)]??[])===JSON[_0x27f80e(0x3a2)](_0x58c10b[_0x27f80e(0x20f)]??[]);if(_0x14a1b9)continue;_0x33ab01[_0x27f80e(0x2fb)][_0x3fec1b]=_0x58c10b;}return _0x33ab01;}function bindingSubFieldRichPayload(_0x125465,_0x1613cd){const _0x508c60=_0xda391e;if(_0x125465[_0x508c60(0x302)]!==_0x508c60(0x34e))return null;const _0x30f7e9=Number(_0x125465['subSchemaId']),_0x354013=(_0x125465['fieldCode']??'')[_0x508c60(0x33d)](),_0x2988a0=_0x1613cd[_0x508c60(0x20e)][_0x30f7e9]??[],_0x39394e=_0x125465['subRowIndex'];if(typeof _0x39394e!=='number'||_0x39394e<0x0||_0x39394e>=_0x2988a0[_0x508c60(0x33a)])return null;const _0x19c785=_0x2988a0[_0x39394e]?.[_0x354013];if(!isSubFieldRichPersist(_0x19c785))return null;return{'value':_0x19c785[_0x508c60(0x2d2)],'runs':_0x19c785['runs']};}function bindingValueToString(_0x508c43,_0x25002e,_0x5ab4f9,_0x31145e,_0xc3d88a,_0x23bdf0,_0xd7ee3b,_0x12eb68,_0x3cde99){const _0x1e1be7=_0xda391e,_0x1e27d7=_0x508c43[_0x1e1be7(0x302)];if(!_0x1e27d7||_0x1e27d7===_0x1e1be7(0x288)||_0x1e27d7==='text')return null;const _0x19ad0a=_0x50aaf6=>_0x50aaf6==null?'':typeof _0x50aaf6==='string'?_0x50aaf6:String(_0x50aaf6);if(_0x1e27d7===_0x1e1be7(0x238)){const _0xf2ee71=(_0x508c43[_0x1e1be7(0x388)]??'')[_0x1e1be7(0x33d)]();if(!_0xf2ee71)return null;return _0x19ad0a(_0x25002e['base'][_0xf2ee71]);}if(_0x1e27d7==='mainField'){const _0x50d4b5=(_0x508c43[_0x1e1be7(0x388)]??'')[_0x1e1be7(0x33d)]();if(!_0x50d4b5)return null;return _0x19ad0a(_0x25002e['main'][_0x50d4b5]);}if(_0x1e27d7===_0x1e1be7(0x34e)){const _0x18c4e6=Number(_0x508c43[_0x1e1be7(0x303)]),_0x25e1ca=(_0x508c43[_0x1e1be7(0x388)]??'')[_0x1e1be7(0x33d)](),_0x23bb14=_0x25002e[_0x1e1be7(0x20e)][_0x18c4e6]??[],_0x524e0e=_0x508c43['subRowIndex'];if(typeof _0x524e0e===_0x1e1be7(0x3c8)&&_0x524e0e>=0x0&&_0x524e0e<_0x23bb14[_0x1e1be7(0x33a)])return _0x19ad0a(normalizeSubFieldSlotForFormula(_0x23bb14[_0x524e0e]?.[_0x25e1ca]));return null;}if(_0x1e27d7===_0x1e1be7(0x1f9)){const _0x129e6f=stripRuntimeComputedUserParams(_0x25002e[_0x1e1be7(0x3e8)]),_0x350281=_0x3cde99?_0x12eb68?mergeSystemAndUserParams(_0x3cde99[_0x1e1be7(0x299)](_0x5ab4f9,{'render':_0x12eb68,'branding':_0x23bdf0}),_0x129e6f):_0x3cde99[_0x1e1be7(0x3ce)](_0x5ab4f9,_0x31145e,_0xc3d88a,_0x129e6f,_0x23bdf0):mergeSystemAndUserParams({},_0x129e6f),_0x2f3d31=(_0x508c43[_0x1e1be7(0x38a)]??_0xd7ee3b?.[_0x1e1be7(0x241)]?.['displayText']??'')[_0x1e1be7(0x33d)](),_0x1c33c0=typeof _0xd7ee3b?.[_0x1e1be7(0x2d2)]===_0x1e1be7(0x411)?_0xd7ee3b['value'][_0x1e1be7(0x33d)]():'',_0x3bba6e=_0x2f3d31&&templateContainsSystemParamTokens(_0x2f3d31),_0x27f2a4=_0x1c33c0&&templateContainsSystemParamTokens(_0x1c33c0),_0x4e0947=!_0x27f2a4&&_0x3bba6e&&/第\s*页/[_0x1e1be7(0x243)](_0x1c33c0)&&/共\s*\d+\s*页/[_0x1e1be7(0x243)](_0x1c33c0),_0xe34adf=_0x3bba6e?_0x2f3d31:_0x27f2a4?_0x1c33c0:_0x4e0947?_0x2f3d31:'';if(_0xe34adf)return expandSystemParamTemplate(_0xe34adf,_0x350281);return _0x19ad0a(_0x350281[normalizeSystemParamId((_0x508c43[_0x1e1be7(0x443)]??'')[_0x1e1be7(0x336)]())]);}if(_0x1e27d7===_0x1e1be7(0x3a7))return null;return null;}function metaToCatalogNodeId(_0xf4d82c){const _0x47acb3=_0xda391e;if(_0xf4d82c[_0x47acb3(0x302)]==='basicField'){const _0x50dea6=(_0xf4d82c[_0x47acb3(0x388)]??_0xf4d82c['writeToFieldCode']??'')[_0x47acb3(0x33d)]();return _0x50dea6?'b.'+_0x50dea6:null;}if(_0xf4d82c['bindingKind']===_0x47acb3(0x39c)){const _0x57010d=(_0xf4d82c[_0x47acb3(0x388)]??_0xf4d82c[_0x47acb3(0x429)]??'')[_0x47acb3(0x33d)]();return _0x57010d?'m.'+_0x57010d:null;}if(_0xf4d82c[_0x47acb3(0x302)]===_0x47acb3(0x34e)){const _0x33322a=(_0xf4d82c[_0x47acb3(0x388)]??_0xf4d82c[_0x47acb3(0x429)]??'')[_0x47acb3(0x33d)](),_0x1b782c=_0xf4d82c[_0x47acb3(0x303)]??0x1;return _0x33322a?'s'+_0x1b782c+'.'+_0x33322a:null;}return null;}function buildFieldEffectiveOrderMap(_0x5eee18){const _0x3c5960=_0xda391e,_0x2231b4=getFormulaCatalogFromMeta(_0x5eee18[_0x3c5960(0x240)]??null),_0x1620f2=new Map();for(const _0x20bc68 of _0x2231b4['entries']){if(_0x20bc68[_0x3c5960(0x2ec)]!==_0x3c5960(0x2c0)||_0x20bc68['enabled']===![])continue;const _0x5004cc=catalogEntryNodeId(_0x20bc68);if(typeof _0x20bc68['effectiveOrder']===_0x3c5960(0x3c8))_0x1620f2[_0x3c5960(0x40e)](_0x5004cc,_0x20bc68[_0x3c5960(0x337)]);}return _0x1620f2;}function filterScriptBlocksForPass(_0x6a38c5,_0x1edbc6,_0x40ce6f){const _0x1c30ee=_0xda391e,_0x11f80e=getFormulaCatalogFromMeta(_0x1edbc6[_0x1c30ee(0x240)]??null),_0x250c25=new Map();for(const _0x18e937 of _0x11f80e[_0x1c30ee(0x24f)]){_0x18e937[_0x1c30ee(0x2ec)]===_0x1c30ee(0x2d5)&&_0x18e937['scriptBlockKey']&&_0x250c25[_0x1c30ee(0x40e)](_0x18e937['scriptBlockKey'],normalizeFormulaRunWhen(_0x18e937));}return _0x6a38c5[_0x1c30ee(0x447)](_0x241a00=>{const _0xc9bdfd=_0x1c30ee;if(!_0x241a00?.[_0xc9bdfd(0x39e)])return![];if(_0x241a00[_0xc9bdfd(0x322)]==='beforeRender')return![];const _0x1cd2c5=_0x250c25[_0xc9bdfd(0x446)](_0x241a00[_0xc9bdfd(0x39e)])??'auto';if(_0x1cd2c5===_0xc9bdfd(0x434))return!![];return _0x40ce6f==='full';});}function collectFieldFormulaWorkItems(_0x3fd728,_0x42ff99,_0x231b50,_0x4c0400){const _0x2616a3=_0xda391e,_0x3b7d7f=[];let _0x531398=0x0;for(let _0x92f98d=0x0;_0x92f98d<_0x3fd728['sheets']['length'];_0x92f98d+=0x1){const _0x3bf4f7=_0x3fd728[_0x2616a3(0x346)][_0x92f98d];for(const _0x4ac1ba of enumerateSheetMetaCells(_0x42ff99,_0x3bf4f7['id'])){const _0x55bfe5=_0x4ac1ba[_0x2616a3(0x240)];if(_0x55bfe5[_0x2616a3(0x22f)]!==_0x2616a3(0x2c0)||!_0x55bfe5[_0x2616a3(0x32b)])continue;if(!shouldRunFieldFormula(_0x55bfe5,_0x4c0400))continue;if(_0x55bfe5[_0x2616a3(0x302)]===_0x2616a3(0x1f9))continue;const _0x1033eb=metaToCatalogNodeId(_0x55bfe5),_0x1c1181=_0x1033eb!=null&&_0x231b50[_0x2616a3(0x2d3)](_0x1033eb)?_0x231b50[_0x2616a3(0x446)](_0x1033eb):_0x531398++;_0x3b7d7f[_0x2616a3(0x3d3)]({'sheetIndex':_0x92f98d,'sheetId':_0x3bf4f7['id'],'key':_0x4ac1ba[_0x2616a3(0x39e)],'meta':_0x55bfe5,'order':_0x1c1181});}}return _0x3b7d7f['sort']((_0x5525f1,_0xdc8a7d)=>_0x5525f1[_0x2616a3(0x296)]-_0xdc8a7d[_0x2616a3(0x296)]),_0x3b7d7f;}function deriveLhs(_0x5b736a){const _0x2c20f6=_0xda391e;if(_0x5b736a[_0x2c20f6(0x22f)]!==_0x2c20f6(0x2c0))return null;if(_0x5b736a[_0x2c20f6(0x302)]===_0x2c20f6(0x238)){const _0x54fe85=(_0x5b736a[_0x2c20f6(0x388)]??_0x5b736a[_0x2c20f6(0x429)]??'')[_0x2c20f6(0x33d)]();if(!_0x54fe85)return null;return{'kind':_0x2c20f6(0x331),'key':_0x54fe85};}const _0x3f9b45=_0x5b736a[_0x2c20f6(0x366)]??(_0x5b736a[_0x2c20f6(0x302)]===_0x2c20f6(0x34e)?_0x2c20f6(0x44e):_0x2c20f6(0x42d));if(_0x3f9b45==='main'){const _0x54aae0=(_0x5b736a[_0x2c20f6(0x388)]??_0x5b736a[_0x2c20f6(0x429)]??'')[_0x2c20f6(0x33d)]();if(!_0x54aae0)return null;return{'kind':_0x2c20f6(0x42d),'key':_0x54aae0};}const _0xf0ec11=Number(_0x5b736a['subSchemaId']),_0x39a8ca=(_0x5b736a[_0x2c20f6(0x388)]??_0x5b736a[_0x2c20f6(0x429)]??'')['trim']();if(!Number['isFinite'](_0xf0ec11)||!_0x39a8ca)return null;const _0x380427=typeof _0x5b736a['subRowIndex']===_0x2c20f6(0x3c8)?_0x5b736a[_0x2c20f6(0x1f8)]:0x0;return{'kind':_0x2c20f6(0x44e),'subSchemaId':_0xf0ec11,'col':_0x39a8ca,'rowIndex':_0x380427};}function valueToString(_0x4ba834){const _0x28d27f=_0xda391e;if(_0x4ba834==null)return'';if(typeof _0x4ba834===_0x28d27f(0x3c8))return Number[_0x28d27f(0x391)](_0x4ba834)?String(_0x4ba834):'';if(typeof _0x4ba834===_0x28d27f(0x411))return _0x4ba834;if(typeof _0x4ba834===_0x28d27f(0x25f))return _0x4ba834?'TRUE':_0x28d27f(0x35a);return JSON[_0x28d27f(0x3a2)](_0x4ba834);}function assignFieldValue(_0x2877db,_0x4c8932,_0x300259){const _0x142d8e=_0xda391e;if(_0x4c8932['kind']===_0x142d8e(0x331)){_0x2877db['base'][_0x4c8932[_0x142d8e(0x39e)]]=_0x300259;return;}if(_0x4c8932['kind']===_0x142d8e(0x42d)){_0x2877db[_0x142d8e(0x42d)][_0x4c8932[_0x142d8e(0x39e)]]=_0x300259;return;}const _0x441beb=_0x2877db[_0x142d8e(0x20e)][_0x4c8932[_0x142d8e(0x303)]]??(_0x2877db['sub'][_0x4c8932[_0x142d8e(0x303)]]=[]);while(_0x441beb[_0x142d8e(0x33a)]<=_0x4c8932[_0x142d8e(0x24e)])_0x441beb['push']({});const _0x5843df=_0x441beb[_0x4c8932[_0x142d8e(0x24e)]]??(_0x441beb[_0x4c8932['rowIndex']]={});_0x5843df[_0x4c8932[_0x142d8e(0x398)]]=_0x300259;}function runFieldFormula(_0xa4b1f7,_0x1d954d,_0x500270,_0x239fc2){const _0x4e5897=_0xda391e,_0x2b310b=stripFieldPrefix(_0xa4b1f7);if(_0x2b310b==null)return{'ok':![],'err':_0x4e5897(0x396)};try{const _0x250f30=buildFieldRunContext(_0x1d954d,_0x500270,_0x239fc2),_0x4df632=runSjsExpr(_0x2b310b,_0x250f30);return{'ok':!![],'v':_0x4df632};}catch(_0xc171d){return{'ok':![],'err':_0xc171d instanceof Error?_0xc171d[_0x4e5897(0x340)]:String(_0xc171d)};}}function runScriptBlock(_0x347c91,_0x198ab0,_0x30834a,_0x7b5456){const _0x5b3968=_0xda391e;try{const _0x483ef3=_0x347c91[_0x5b3968(0x24a)]==='subRow'&&_0x347c91[_0x5b3968(0x303)]!=null&&_0x30834a!=null?{'kind':_0x5b3968(0x20e),'subSchemaId':_0x347c91[_0x5b3968(0x303)],'rowIndex':_0x30834a}:{'kind':_0x5b3968(0x42d)},_0x4aaa79=buildFieldRunContext(_0x198ab0,_0x483ef3,{..._0x7b5456,'mutable':!![]}),_0x18c29b=runSjs(_0x347c91[_0x5b3968(0x32b)],_0x4aaa79);return{'ok':!![],'v':_0x18c29b};}catch(_0x2dae4e){return{'ok':![],'err':_0x2dae4e instanceof SjsError?_0x2dae4e[_0x5b3968(0x340)]:_0x2dae4e instanceof Error?_0x2dae4e[_0x5b3968(0x340)]:String(_0x2dae4e)};}}function collectGridRefs(_0x41d8ac,_0x279e01){const _0x77695b=_0xda391e;switch(_0x41d8ac[_0x77695b(0x293)]){case _0x77695b(0x34a):_0x279e01[_0x77695b(0x3d3)]({'sheet':_0x41d8ac[_0x77695b(0x1f6)],'r':_0x41d8ac['r'],'c':_0x41d8ac['c']});return;case _0x77695b(0x312):{for(let _0x41a50c=_0x41d8ac['r1'];_0x41a50c<=_0x41d8ac['r2'];_0x41a50c+=0x1)for(let _0x9307b1=_0x41d8ac['c1'];_0x9307b1<=_0x41d8ac['c2'];_0x9307b1+=0x1)_0x279e01[_0x77695b(0x3d3)]({'sheet':_0x41d8ac[_0x77695b(0x1f6)],'r':_0x41a50c,'c':_0x9307b1});return;}case _0x77695b(0x3f5):case _0x77695b(0x247):collectGridRefs(_0x41d8ac['expr'],_0x279e01);return;case _0x77695b(0x44f):collectGridRefs(_0x41d8ac[_0x77695b(0x3c4)],_0x279e01),collectGridRefs(_0x41d8ac['right'],_0x279e01);return;case _0x77695b(0x2de):_0x41d8ac['args'][_0x77695b(0x399)](_0x42df71=>collectGridRefs(_0x42df71,_0x279e01));return;default:return;}}function collectGridFormulas(_0x1817be){const _0x799bbb=_0xda391e,_0x345896=[],{wb:_0x1e8366,cellMeta:_0x152a9c}=_0x1817be;for(const _0x347d48 of _0x1e8366[_0x799bbb(0x346)]){for(const [_0x42e5a1,_0x53c0bf]of Object['entries'](_0x347d48[_0x799bbb(0x1f6)][_0x799bbb(0x2fb)])){const _0x29d544=parseCellKey(_0x42e5a1);if(!_0x29d544)continue;const _0x3e3487=_0x53c0bf,_0x3fccce=readMeta(_0x152a9c,_0x347d48['id'],_0x29d544['r'],_0x29d544['c']);let _0x46d6d7=null;if(_0x3fccce?.[_0x799bbb(0x22f)]===_0x799bbb(0x37a)&&typeof _0x3fccce[_0x799bbb(0x32b)]===_0x799bbb(0x411)&&_0x3fccce[_0x799bbb(0x32b)][_0x799bbb(0x33d)]())_0x46d6d7=_0x3fccce[_0x799bbb(0x32b)][_0x799bbb(0x33d)]();else{if(_0x3e3487['f']&&typeof _0x3e3487['f']==='string'&&_0x3e3487['f']['trim']()[_0x799bbb(0x334)]('='))_0x46d6d7=_0x3e3487['f']['trim']();else{const _0x522559=typeof _0x3e3487[_0x799bbb(0x2d2)]===_0x799bbb(0x411)?_0x3e3487[_0x799bbb(0x2d2)]['trim']():'';if(_0x522559['startsWith']('='))_0x46d6d7=_0x522559;}}if(!_0x46d6d7)continue;try{const _0x785d98=parseFormula(_0x46d6d7);_0x345896[_0x799bbb(0x3d3)]({'sheetId':_0x347d48['id'],'r':_0x29d544['r'],'c':_0x29d544['c'],'source':_0x46d6d7,'ast':_0x785d98,'meta':_0x3fccce});}catch(_0x34f5e1){_0x345896[_0x799bbb(0x3d3)]({'sheetId':_0x347d48['id'],'r':_0x29d544['r'],'c':_0x29d544['c'],'source':_0x46d6d7,'ast':null,'parseError':_0x34f5e1 instanceof Error?_0x34f5e1[_0x799bbb(0x340)]:String(_0x34f5e1),'meta':_0x3fccce});}}}return _0x345896;}function buildGridDepGraph(_0x537588,_0x49523c){const _0x58d404=_0xda391e,_0x467343=new DepGraph(),_0x3330ac=new Map();for(let _0x979845=0x0;_0x979845<_0x537588['length'];_0x979845+=0x1){const _0x11737a=_0x537588[_0x979845],_0x1b9155=gridNodeId(_0x11737a[_0x58d404(0x212)],_0x11737a['r'],_0x11737a['c']);_0x467343['addNode'](_0x1b9155),_0x3330ac[_0x58d404(0x40e)](_0x1b9155,_0x979845);if(!_0x11737a[_0x58d404(0x2a8)])continue;const _0x5bba0b=[];collectGridRefs(_0x11737a[_0x58d404(0x2a8)],_0x5bba0b);for(const _0x118e6a of _0x5bba0b){const _0x2ad16d=_0x118e6a['sheet']?_0x49523c[_0x58d404(0x446)](_0x118e6a[_0x58d404(0x1f6)])??_0x118e6a['sheet']:_0x11737a[_0x58d404(0x212)];_0x467343[_0x58d404(0x21c)](_0x1b9155,gridNodeId(_0x2ad16d,_0x118e6a['r'],_0x118e6a['c']));}}return{'graph':_0x467343,'key2fi':_0x3330ac};}function makeEvalContext(_0xe0417,_0x34a7fe,_0x10c0f2,_0x4773b6,_0x909e47,_0x5e6f07){const _0x7605a=_0xda391e,_0x45666b=new Map(_0xe0417[_0x7605a(0x346)][_0x7605a(0x43c)](_0x34105d=>[_0x34105d['id'],_0x34105d[_0x7605a(0x1f6)]])),_0x142586=(_0x347fb7,_0x5c067d,_0x1d982c)=>{const _0x55f197=_0x7605a,_0x56756e=_0x45666b['has'](_0x347fb7)?_0x347fb7:_0x34a7fe[_0x55f197(0x446)](_0x347fb7)??_0x347fb7,_0x3e2326=_0x45666b[_0x55f197(0x446)](_0x56756e);if(!_0x3e2326)return vErr(_0x55f197(0x29b),'未知表\x20'+_0x347fb7);const _0x5c77a9=_0x3e2326[_0x55f197(0x2fb)][_0x13100c(_0x5c067d,_0x1d982c)];if(!_0x5c77a9)return V_NULL;const _0x50a435=_0x5c77a9[_0x55f197(0x2d2)]??'';if(_0x50a435==='')return V_NULL;const _0x43d730=tryParseNumericString(_0x50a435);if(_0x43d730!=null)return vNum(_0x43d730);return vStr(_0x50a435);},_0x50248c=_0x4773b6&&_0x4773b6[_0x7605a(0x33a)]?_0x565430=>{const _0x374746=_0x7605a,_0x168efc=_0x4773b6[_0x374746(0x3fc)](_0x50073b=>_0x50073b[_0x374746(0x35c)]===_0x565430);if(!_0x168efc)return null;const _0x146a94=parseA1Ref(_0x168efc[_0x374746(0x34a)]);if(!_0x146a94)return null;if(_0x146a94[_0x374746(0x2ec)]==='single'){const _0x2fd2a4=_0x146a94[_0x374746(0x1f6)]?_0x34a7fe[_0x374746(0x446)](_0x146a94[_0x374746(0x1f6)])??_0x146a94[_0x374746(0x1f6)]:_0x10c0f2;return{'sheet':_0x2fd2a4,'r1':_0x146a94['r'],'c1':_0x146a94['c'],'r2':_0x146a94['r'],'c2':_0x146a94['c']};}const _0x456594=_0x146a94[_0x374746(0x1f6)]?_0x34a7fe['get'](_0x146a94[_0x374746(0x1f6)])??_0x146a94[_0x374746(0x1f6)]:_0x10c0f2;return{'sheet':_0x456594,'r1':_0x146a94['r1'],'c1':_0x146a94['c1'],'r2':_0x146a94['r2'],'c2':_0x146a94['c2']};}:void 0x0,_0x518db0=_0x5e6f07!=null?{'base':_0x5e6f07[_0x7605a(0x331)],'main':_0x5e6f07[_0x7605a(0x42d)],'sub':_0x5e6f07['sub'],'params':_0x5e6f07[_0x7605a(0x3e8)]}:void 0x0;return{'activeSheetId':_0x10c0f2,'getCell':_0x142586,'getNamed':_0x50248c,'here':_0x909e47,'fieldCtx':_0x518db0};}function formulaValueToCellString(_0x25f56c,_0x346f2b,_0x256417,_0x2e02ed){const _0x47207c=_0xda391e;if(_0x25f56c['k']===_0x47207c(0x2f9))return _0x2e02ed??'#'+_0x25f56c['v'][_0x47207c(0x36a)][_0x47207c(0x2cd)]('#','');if(_0x25f56c['k']===_0x47207c(0x1f0))return'';if(_0x25f56c['k']===_0x47207c(0x370))return _0x25f56c['v']?'TRUE':_0x47207c(0x35a);if(_0x25f56c['k']===_0x47207c(0x237)){if(_0x346f2b&&_0x256417)return formatNumericByMeta(String(_0x25f56c['v']),_0x256417);return String(_0x25f56c['v']);}if(_0x346f2b&&_0x256417){const _0x4e3887=tryParseNumericString(_0x25f56c['v']);if(_0x4e3887!=null)return formatNumericByMeta(String(_0x4e3887),_0x256417);}return _0x25f56c['v'];}function computeWorkbook(_0x341a95){const _0x388c0f=_0xda391e,_0x442769=clone(_0x341a95['wb']),_0x45f638=clone(_0x341a95[_0x388c0f(0x2e0)]),_0x61f6de=_0x341a95['computePass']??'full',_0x4bd21c=_0x341a95[_0x388c0f(0x394)]?.[_0x388c0f(0x20c)]??_0x341a95['wb'][_0x388c0f(0x394)]?.[_0x388c0f(0x20c)]??[],_0x263734=collectReferencedScriptBlockKeys(_0x442769,_0x341a95['cellMeta'],_0x61f6de),_0x189bca=_0x263734[_0x388c0f(0x258)]>0x0?_0x4bd21c[_0x388c0f(0x447)](_0x86c706=>_0x86c706?.['key']&&_0x263734[_0x388c0f(0x2d3)](_0x86c706[_0x388c0f(0x39e)])):_0x4bd21c,_0x59d876=filterScriptBlocksForPass(_0x189bca,_0x442769,_0x61f6de),_0x1d4e26=_0x341a95['namedRanges']??_0x341a95['wb'][_0x388c0f(0x2b1)]??null,_0x14b61e=_0x341a95[_0x388c0f(0x285)]??normalizeFieldRegistry(_0x341a95['wb'][_0x388c0f(0x240)]?.['fieldRegistry']),_0xbbe8e=getAggregateEmptyAs(_0x341a95['wb'][_0x388c0f(0x240)]??null),_0x56de0f={'fieldRegistry':_0x14b61e,'aggregateEmptyAs':_0xbbe8e},_0x1f9848=[],_0x5ef660=Math[_0x388c0f(0x206)](0x1,Math['min'](0x8,_0x341a95[_0x388c0f(0x304)]??0x3)),_0x3a1dbe=new Map();for(const _0x17c3d0 of _0x442769[_0x388c0f(0x346)])_0x3a1dbe['set'](_0x17c3d0['name'],_0x17c3d0['id']);let _0x44a33d='',_0x14a284=0x0;for(let _0x4c9468=0x0;_0x4c9468<_0x5ef660;_0x4c9468+=0x1){_0x14a284=_0x4c9468+0x1;for(let _0x55636d=0x0;_0x55636d<_0x442769[_0x388c0f(0x346)][_0x388c0f(0x33a)];_0x55636d+=0x1){const _0x19b78f=_0x442769['sheets'][_0x55636d],_0x544c55=renderBindingsIntoSheet(_0x442769,_0x19b78f[_0x388c0f(0x1f6)],_0x19b78f['id'],_0x341a95[_0x388c0f(0x272)],_0x45f638,_0x341a95[_0x388c0f(0x36e)],_0x341a95[_0x388c0f(0x2db)],_0x341a95['renderContextBySheet'],_0x341a95[_0x388c0f(0x3ec)]);if(_0x544c55!==_0x19b78f['sheet'])_0x442769[_0x388c0f(0x346)][_0x55636d]={..._0x19b78f,'sheet':_0x544c55};}const _0x18cf13=buildFieldEffectiveOrderMap(_0x442769),_0x3ff853=collectFieldFormulaWorkItems(_0x442769,_0x341a95[_0x388c0f(0x272)],_0x18cf13,_0x61f6de);for(const _0x402f28 of _0x3ff853){const _0xa22ec3=_0x442769['sheets'][_0x402f28[_0x388c0f(0x34b)]],_0x4a4a6e=_0x402f28[_0x388c0f(0x240)],_0x637e77=_0x402f28[_0x388c0f(0x39e)],_0x45461c=_0xa22ec3[_0x388c0f(0x1f6)]['cells'][_0x637e77]??{'value':''},_0x187496=deriveLhs(_0x4a4a6e);if(!_0x187496){_0x1f9848[_0x388c0f(0x3d3)]({'kind':_0x388c0f(0x2c0),'sheetId':_0xa22ec3['id'],'cellKey':_0x637e77,'message':_0x388c0f(0x25b)});continue;}const _0x47de85=_0x187496[_0x388c0f(0x2ec)]===_0x388c0f(0x44e)?{'kind':'sub','subSchemaId':_0x187496['subSchemaId'],'rowIndex':_0x187496[_0x388c0f(0x24e)]}:{'kind':_0x388c0f(0x42d)},_0x135866=_0x187496['kind']===_0x388c0f(0x331)?{'kind':_0x388c0f(0x331),'key':_0x187496['key']}:_0x187496[_0x388c0f(0x2ec)]==='main'?{'kind':_0x388c0f(0x42d),'key':_0x187496[_0x388c0f(0x39e)]}:{'kind':'subRow','subSchemaId':_0x187496['subSchemaId'],'col':_0x187496[_0x388c0f(0x398)]};if(!shouldComputeFieldByInput(_0x4a4a6e,_0x4a4a6e[_0x388c0f(0x32b)]??'',_0x45f638,_0x47de85,_0x135866)){assignFieldValue(_0x45f638,_0x187496,null),writeCellValue(_0xa22ec3[_0x388c0f(0x1f6)],_0x637e77,'',_0x45461c);continue;}const _0x34036b=lhsToRoundingTarget(_0x187496),_0x28ec90=runFieldFormula(_0x4a4a6e[_0x388c0f(0x32b)]??'',_0x45f638,_0x47de85,{..._0x56de0f,'currentTarget':_0x34036b});if(!_0x28ec90['ok']){_0x1f9848[_0x388c0f(0x3d3)]({'kind':'field','sheetId':_0xa22ec3['id'],'cellKey':_0x637e77,'message':_0x28ec90['err']}),writeCellValue(_0xa22ec3[_0x388c0f(0x1f6)],_0x637e77,_0x4a4a6e[_0x388c0f(0x1e8)]??'#ERR',_0x45461c);continue;}const _0x54546f=applyFieldRoundingForStore(_0x28ec90['v'],_0x14b61e,_0x187496,{'roundAfter':_0x4a4a6e[_0x388c0f(0x3e1)]});assignFieldValue(_0x45f638,_0x187496,_0x54546f);const _0x890c06=valueToString(_0x54546f),_0x2dcd89=_0x4a4a6e[_0x388c0f(0x3e1)]!==![]?formatNumericByMeta(_0x890c06,getRoundingForCompute(_0x4a4a6e)):_0x890c06;writeCellValue(_0xa22ec3['sheet'],_0x637e77,_0x2dcd89,_0x45461c);}if(_0x4c9468===0x0)for(const _0x572e93 of _0x59d876){if(!_0x572e93||!_0x572e93[_0x388c0f(0x32b)])continue;if(_0x572e93[_0x388c0f(0x24a)]===_0x388c0f(0x44e)){const _0x236299=Number(_0x572e93['subSchemaId']);if(!Number[_0x388c0f(0x391)](_0x236299)||_0x236299<0x1){_0x1f9848['push']({'kind':_0x388c0f(0x2d5),'blockKey':_0x572e93[_0x388c0f(0x39e)],'message':'subRow\x20\u811A\u672C\u7F3A\u5C11\u6709\u6548\x20subSchemaId'});continue;}const _0x434065=_0x45f638[_0x388c0f(0x20e)][_0x236299]??[],_0x24d96f=resolveSubRowStatKey(_0x14b61e,_0x236299),_0x531a5f=activeSubRowIndices(_0x434065,_0x24d96f);if(_0x531a5f[_0x388c0f(0x33a)]===0x0){const _0x150eec=runScriptBlock(_0x572e93,_0x45f638,0x0,_0x56de0f);!_0x150eec['ok']&&_0x1f9848[_0x388c0f(0x3d3)]({'kind':_0x388c0f(0x2d5),'blockKey':_0x572e93[_0x388c0f(0x39e)],'message':_0x150eec[_0x388c0f(0x2f9)]});continue;}for(const _0x485f54 of _0x531a5f){const _0x416a03=runScriptBlock(_0x572e93,_0x45f638,_0x485f54,_0x56de0f);!_0x416a03['ok']&&_0x1f9848[_0x388c0f(0x3d3)]({'kind':'script','blockKey':_0x572e93[_0x388c0f(0x39e)],'message':'行\x20'+_0x485f54+':\x20'+_0x416a03['err']});}continue;}const _0x28d698=runScriptBlock(_0x572e93,_0x45f638,void 0x0,_0x56de0f);!_0x28d698['ok']&&_0x1f9848['push']({'kind':'script','blockKey':_0x572e93['key'],'message':_0x28d698['err']});}for(let _0x391c17=0x0;_0x391c17<_0x442769['sheets'][_0x388c0f(0x33a)];_0x391c17+=0x1){const _0x57f6eb=_0x442769['sheets'][_0x391c17],_0x1c505d=renderBindingsIntoSheet(_0x442769,_0x57f6eb[_0x388c0f(0x1f6)],_0x57f6eb['id'],_0x341a95[_0x388c0f(0x272)],_0x45f638,_0x341a95[_0x388c0f(0x36e)],_0x341a95[_0x388c0f(0x2db)],_0x341a95[_0x388c0f(0x291)],_0x341a95['systemParamsProvider']);if(_0x1c505d!==_0x57f6eb['sheet'])_0x442769[_0x388c0f(0x346)][_0x391c17]={..._0x57f6eb,'sheet':_0x1c505d};}const _0x4b79de=collectGridFormulas({..._0x341a95,'wb':_0x442769}),{graph:_0x5c243d,key2fi:_0xf4acc3}=buildGridDepGraph(_0x4b79de,_0x3a1dbe),{order:_0x2abdcc,cyclic:_0x111934}=_0x5c243d[_0x388c0f(0x35f)]();for(const _0x2161e2 of _0x2abdcc){const _0x4f91db=_0xf4acc3[_0x388c0f(0x446)](_0x2161e2);if(_0x4f91db==null)continue;const _0x45706c=_0x4b79de[_0x4f91db];if(!_0x45706c[_0x388c0f(0x2a8)]){writeGridCell(_0x442769,_0x45706c,_0x45706c[_0x388c0f(0x240)]?.[_0x388c0f(0x1e8)]??_0x388c0f(0x3a4)),_0x1f9848[_0x388c0f(0x3d3)]({'kind':_0x388c0f(0x37a),'sheetId':_0x45706c[_0x388c0f(0x212)],'cellKey':_0x13100c(_0x45706c['r'],_0x45706c['c']),'message':_0x45706c[_0x388c0f(0x1ff)]??_0x388c0f(0x2df)});continue;}const _0x212bb3=makeEvalContext(_0x442769,_0x3a1dbe,_0x45706c[_0x388c0f(0x212)],_0x1d4e26,{'sheetId':_0x45706c[_0x388c0f(0x212)],'r':_0x45706c['r'],'c':_0x45706c['c']},_0x45f638),_0x4d07df=evaluate(_0x45706c['ast'],_0x212bb3),_0x27c20e=_0x4d07df['k']===_0x388c0f(0x404)?_0x4d07df[_0x388c0f(0x40b)][0x0]?.[0x0]??V_NULL:_0x4d07df,_0x19e5f7=formulaValueToCellString(_0x27c20e,_0x45706c['meta']?.[_0x388c0f(0x3e1)]!==![],getRoundingForCompute(_0x45706c[_0x388c0f(0x240)]),_0x45706c['meta']?.[_0x388c0f(0x1e8)]);writeGridCell(_0x442769,_0x45706c,_0x19e5f7);}for(const _0xd9e7cf of _0x111934){const _0x4b4d9e=_0xf4acc3['get'](_0xd9e7cf);if(_0x4b4d9e==null)continue;const _0x28fd14=_0x4b79de[_0x4b4d9e];writeGridCell(_0x442769,_0x28fd14,_0x28fd14[_0x388c0f(0x240)]?.[_0x388c0f(0x1e8)]??_0x388c0f(0x239)),_0x1f9848[_0x388c0f(0x3d3)]({'kind':_0x388c0f(0x37a),'sheetId':_0x28fd14[_0x388c0f(0x212)],'cellKey':_0x13100c(_0x28fd14['r'],_0x28fd14['c']),'message':_0x388c0f(0x1f2)});}const _0x2f82a2=workbookSignature(_0x442769);if(_0x2f82a2===_0x44a33d)break;_0x44a33d=_0x2f82a2;}if(_0x341a95[_0x388c0f(0x3b2)]){const _0x203d93={'grid':0x0,'field':0x0,'script':0x0};for(const _0x3a4767 of _0x1f9848){if(_0x3a4767[_0x388c0f(0x2ec)]===_0x388c0f(0x37a))_0x203d93[_0x388c0f(0x37a)]+=0x1;else{if(_0x3a4767['kind']===_0x388c0f(0x2c0))_0x203d93[_0x388c0f(0x2c0)]+=0x1;else{if(_0x3a4767[_0x388c0f(0x2ec)]===_0x388c0f(0x2d5))_0x203d93[_0x388c0f(0x2d5)]+=0x1;}}}_0x341a95[_0x388c0f(0x3b2)](_0x388c0f(0x273),{'iterations':_0x14a284,'issueCount':_0x1f9848[_0x388c0f(0x33a)],'byKind':_0x203d93,'issues':_0x1f9848[_0x388c0f(0x32f)](0x0,0x19)});}return{'wb':_0x442769,'fieldData':_0x45f638,'issues':_0x1f9848,'iterations':_0x14a284};}function writeCellValue(_0x4a63ba,_0x4650f6,_0x420ecd,_0x109329){const _0x3800e5=_0xda391e;if(_0x109329[_0x3800e5(0x2d2)]===_0x420ecd)return;_0x4a63ba[_0x3800e5(0x2fb)][_0x4650f6]={..._0x109329,'value':_0x420ecd};}function writeGridCell(_0x13ec63,_0x1c7325,_0xdd75fc){const _0x239949=_0xda391e,_0x371b35=_0x13ec63[_0x239949(0x346)][_0x239949(0x28c)](_0x19c2f9=>_0x19c2f9['id']===_0x1c7325[_0x239949(0x212)]);if(_0x371b35<0x0)return;const _0x4a88a9=_0x13ec63['sheets'][_0x371b35],_0x311b2f=_0x13100c(_0x1c7325['r'],_0x1c7325['c']),_0x384fd7=_0x4a88a9[_0x239949(0x1f6)][_0x239949(0x2fb)][_0x311b2f]??{'value':''};if(_0x384fd7['value']===_0xdd75fc)return;const _0x3d4c33={..._0x4a88a9[_0x239949(0x1f6)][_0x239949(0x2fb)],[_0x311b2f]:{..._0x384fd7,'value':_0xdd75fc}};_0x13ec63[_0x239949(0x346)][_0x371b35]={..._0x4a88a9,'sheet':{..._0x4a88a9[_0x239949(0x1f6)],'cells':_0x3d4c33}};}function workbookSignature(_0x3f0b39){const _0x2339a7=_0xda391e,_0x3605ca=[];for(const _0x5e5f23 of _0x3f0b39[_0x2339a7(0x346)]){_0x3605ca[_0x2339a7(0x3d3)]('#'+_0x5e5f23['id']);for(const [_0x2a0e44,_0x2ce08f]of Object[_0x2339a7(0x24f)](_0x5e5f23[_0x2339a7(0x1f6)][_0x2339a7(0x2fb)])){const _0x2c32d3=_0x2ce08f['value']??'';if(_0x2c32d3!=='')_0x3605ca[_0x2339a7(0x3d3)](_0x2a0e44+'='+_0x2c32d3);}}return _0x3605ca[_0x2339a7(0x213)]('|');}function hasAnyFormulaMeta(_0x4609b3){const _0x3fcd97=_0xda391e;if(!_0x4609b3)return![];for(const _0x5b2914 of Object[_0x3fcd97(0x428)](_0x4609b3)){if(_0x5b2914&&typeof _0x5b2914===_0x3fcd97(0x442)&&!Array[_0x3fcd97(0x294)](_0x5b2914)){const _0x3b84e5=_0x5b2914['formulaKind'];if(_0x3b84e5===_0x3fcd97(0x37a)||_0x3b84e5==='field'||_0x3b84e5==='script')return!![];}}return![];}function hasAnyMultiboundField(_0x1ea109){const _0x4547d2=_0xda391e;if(!_0x1ea109)return![];const _0x1c61a9=new Set(),_0x149f3a=new Set(),_0x384f01=new Set();for(const _0x30ed82 of Object['values'](_0x1ea109)){if(!_0x30ed82||typeof _0x30ed82!=='object'||Array[_0x4547d2(0x294)](_0x30ed82))continue;const _0x11a752=_0x30ed82,_0x5abc08=(_0x11a752[_0x4547d2(0x388)]??'')[_0x4547d2(0x33d)]();if(!_0x5abc08)continue;if(_0x11a752[_0x4547d2(0x302)]==='mainField'){if(_0x1c61a9[_0x4547d2(0x2d3)](_0x5abc08))return!![];_0x1c61a9['add'](_0x5abc08);}else{if(_0x11a752[_0x4547d2(0x302)]===_0x4547d2(0x238)){if(_0x149f3a['has'](_0x5abc08))return!![];_0x149f3a['add'](_0x5abc08);}else{if(_0x11a752['bindingKind']==='subField'){const _0x3717cc=Number(_0x11a752['subSchemaId']);if(!Number['isFinite'](_0x3717cc))continue;const _0x3b1bdd=typeof _0x11a752[_0x4547d2(0x1f8)]===_0x4547d2(0x3c8)?_0x11a752[_0x4547d2(0x1f8)]:-0x1,_0x4d4143=_0x3717cc+'|'+_0x5abc08+'|'+_0x3b1bdd;if(_0x384f01[_0x4547d2(0x2d3)](_0x4d4143))return!![];_0x384f01[_0x4547d2(0x44a)](_0x4d4143);}}}}return![];}function hasAnyGridFormula(_0x5a4dc4){const _0xefb118=_0xda391e;for(const _0xf393fb of _0x5a4dc4[_0xefb118(0x346)]){for(const _0x139b79 of Object['values'](_0xf393fb['sheet'][_0xefb118(0x2fb)])){if(_0x139b79&&typeof _0x139b79===_0xefb118(0x442)){const _0x114323=_0x139b79['f'];if(_0x114323&&typeof _0x114323===_0xefb118(0x411)&&_0x114323[_0xefb118(0x33d)]()[_0xefb118(0x334)]('='))return!![];}}}return![];}function hasAnySystemParamBinding(_0x2965db){const _0x4b5f02=_0xda391e;if(!_0x2965db)return![];for(const _0xab9e33 of Object[_0x4b5f02(0x428)](_0x2965db)){if(_0xab9e33&&typeof _0xab9e33==='object'&&!Array[_0x4b5f02(0x294)](_0xab9e33)){if(_0xab9e33[_0x4b5f02(0x302)]===_0x4b5f02(0x1f9))return!![];}}return![];}function computeWorkbookIncremental(_0x31bcbd){const _0x268fd5=_0xda391e;if(!hasAnyFormulaMeta(_0x31bcbd['cellMeta'])&&!hasAnyGridFormula(_0x31bcbd['wb'])&&!hasAnyMultiboundField(_0x31bcbd[_0x268fd5(0x272)])&&!hasAnySystemParamBinding(_0x31bcbd[_0x268fd5(0x272)])&&!(_0x31bcbd['wb']['scripts']&&_0x31bcbd['wb'][_0x268fd5(0x394)][_0x268fd5(0x20c)]?.[_0x268fd5(0x33a)]))return{'wb':_0x31bcbd['wb'],'fieldData':_0x31bcbd['fieldData'],'issues':[],'iterations':0x0};return computeWorkbook({..._0x31bcbd,'maxIterations':_0x31bcbd[_0x268fd5(0x304)]??0x2,'computePass':_0x268fd5(0x360)});}var SHEET_CORE_PACKAGE=_0xda391e(0x42e);export{BUILTIN_PARAM_CATALOG_CODES,CHROME_GUTTER_COL_WIDTH_PX,CHROME_GUTTER_ROW_HEIGHT_PX,CREATION_MODE,CSS_PX_PER_INCH,DEFAULT_COMPUTE_POLICY,DEFAULT_FONT_SIZE_PT,DEFAULT_IMPORT_OPTIONS,DESIGN_FIELD_SHORTHAND_SKILLS,DICT_CATALOG_META_KEY,DICT_OVERLAYS_BY_USER_KEY,DRAFT_KIND,DepGraph,EXCEL_COL_DIGIT_WIDTH_PX,EXCEL_COL_PADDING_PX,EXCEL_DEFAULT_COL_WIDTH_CHAR,EXCEL_DEFAULT_ROW_HEIGHT_PT,FORMULA_RUN_WHEN_LABELS,FUNCTIONS,INSTANCE_DATA_SCHEMA_V2,INSTANCE_DATA_SCHEMA_V3,LEGACY_SYSTEM_PARAM_TEMPLATE_TOKENS,MAX_FONT_SIZE_PT,MIN_FONT_SIZE_PT,MIN_SHRINK_FONT_PT,MM_PER_INCH,MergeIndex,Parser,ROUNDING_LAYER_ORDER,ROUNDING_WHEN_LABELS,ROUND_MODE_LETTER_MAP,RUNTIME_COMPUTED_SYSTEM_PARAM_CODES,RUNTIME_ONLY_SYSTEM_PARAM_CODES,SHEET_COLOR_ROW_STANDARD,SHEET_COLOR_ROW_THEME,SHEET_CORE_PACKAGE,SHEET_FONT_OPTIONS,SHRINK_LINE_HEIGHT,SNAPSHOT_KIND,SPLICE_COLUMN_MODE,SUBTABLE_SLOT_BINDING_SKILLS,SjsCycleError,SjsError,TEMPLATE_DICT_CATALOG_VERSION,TEMPLATE_FIELD_REGISTRY_VERSION,TEMPLATE_WORKBOOK_JSON_VERSION,V_NULL,WORKBOOK_META_BUSINESS_SHEET_PROFILES,WORKBOOK_META_INHERIT_SOURCE_BASE_SNAPSHOT_ROW_ID,activeSubRowIndices,applyBorderPresetToSheet,applyFieldRoundingForStore,applyNumericRounding,applyReportHeaderFooterTemplate,applyRounding,applyRoundingForInstancePlain,applySignatureResultsToEmbedStates,buildActiveSubRowCounts,buildFieldRunContext,buildFormulaStdLib,buildHeaderFooterTemplateWorkbook,buildPastePatches,buildRoundingLayers,buildSignatureWorkflow,buildSpliceDiagnostics,catalogEntryNodeId,catalogEntryRunWhen,cellMetaCompoundKey,clampFontSizePt,clampZoom,cloneFieldRegistry,coerceBool,coerceNum,coerceStr,colIndexToLetters,collectReferencedRoots,columnIndexToLetters,columnLettersToIndex,comboDataFromRoot,compileFormulaAssignment,computeFillPreviewSelection,computeFitScale,computeWorkbook,computeWorkbookIncremental,countActiveSubRows,cssOneCmToCssPx,cssPxToCm,cssPxToFontSizePt,cssPxToPt,defaultPageSettings,describeDictKind,describeRoundingWhenPreset,detectFillExtension,detectGridLayoutMode,emptyFieldPackV2,emptyFieldRegistry,emptyFormulaCatalog,enrichParamsForFieldRuntime,evaluate,excelColWidthToPx,excelRowHeightPtToPx,expandFieldTokens,expandReportSlotPages,expandSystemParamTemplate,extensionStripRect,extractBaseFieldDefsFromWorkbookEnvelope,extractFormulaDeps,extractHeaderFooterStrips,extractRowInputFields,fieldPackFromRoot,fieldPartitionKey,fitSheetDataGridToPage,fontSizePtToCssPx,forEachArrayValue,formatA1,formatA1Range,formatA1Single,formatFieldTypeShorthand,formatNumericByMeta,formatSelectionA1,getAggregateEmptyAs,getColWidth,getFieldRegistryFromMeta,getFormulaCatalogFromMeta,getRoundingForCommit,getRoundingForComputeMeta,getRoundingMetaFromCellMetaEntry,getRowHeight,getWorkbookComputePolicy,getWorkbookDerivedRules,gridColumnIndexToLetters,gridNodeId,guessSheetFontIdFromCssFontFamily,hasEmbedsToPaint,hydrateSheetFieldData,hydrateWorkbookFieldData,indexFieldRegistry,injectBaseFieldRegistryIntoWorkbookEnvelope,isComboInstanceDataV3,isErr,isFieldRegistryRecord,isInstanceFieldPackV2,isKnownSystemParamId,isLegacyInstanceDataV1,isRuntimeComputedSystemParam,isSubColumnPresent,isSubFieldRichPersist,jsPdfFormat,jsPdfOrientation,layoutFontCss,layoutLinesForCellM,lettersToColIndex,lhsToRoundingTarget,listKnownSystemParamIdsForTemplate,listTemplateSystemParamTokenEntries,lockFillAxis,mainFieldNodeId,marginsCmToMm,marginsCmToPt,matrixToTsv,mergeBakedFieldRegistry,mergeBaseFieldPartition,mergeInstanceDataJsonWithLogicalState,mergeInstanceDataJsonWithSubTables,mergeRoundingOverrideLayers,mergeSubFieldCellFromAccValue,mergeSystemAndUserParams,mmToCssPx,newDerivedRuleId,nextPendingSignature,normSelectionRect,normalizeComputePolicy,normalizeDerivedRules,normalizeFieldDef,normalizeFieldKey,normalizeFieldRegistry,normalizeFormulaCatalog,normalizeFormulaRunWhen,normalizePageSettings,normalizeRect,normalizeRoundingTriggers,normalizeSheetToCompactGrid,normalizeSubFieldDef,normalizeSubFieldSlotForFormula,normalizeSystemParamId,pageAtRuleCss,paginateReportRows,paperSizeMm,paperSizeMmFromPage,paperSizeMmRaw,parseA1,parseA1Cell,parseA1OrRangeToSelection,parseA1Ref,parseA1Single,parseCellMetaCompoundKey,parseFieldPath,parseFieldRegistryFromCapabilities,parseFieldTypeSpec,parseFormula,parseGridRcAddress,parseInstanceDataRoot,parseInstanceSubTables,parseInternalR1C1Ref,parseLogicalState,parseRoundingJson,parseSjsExpr,parseSjsProgram,parseWorkbookJson,physicalPaperSizeMmFromPage,pickLogicalStateFromRoot,presetToTriggers,printableSizeCssPx,printableSizeMm,ptToCssPx,pxToExcelColWidth,pxToExcelRowHeightPt,readSelectionAsTsv,rectContains,rectsOverlap,rescaleReportSheet,rescaleReportWorkbook,resolveBaseFieldDefsFromBaseSource,resolveFieldDefRegisterMode,resolveInputDeps,resolveRoundingForTarget,resolveRoundingFromFieldPath,resolveSheetLogicalPage,resolveSubRowStatKey,roundFinite,roundToInterval,roundToSignificant,roundingForCompute,runSjs,runSjsExpr,runWhenToStorage,scaleWidthsProportional,scriptNodeId,selectionIsUnmergedRectangle,serializeFieldPackV2,serializeWorkbook,setFieldRegistryOnMeta,sheetDataColWidthPx,sheetDataGridHeightPx,sheetDataGridWidthPx,sheetDataRegion,sheetDataRowHeightPx,sheetFontFamilyCss,sheetFontFamilyExcelName,sheetPrintFitScale,shouldComputeFieldByInput,shouldRunFieldFormula,shouldRunScriptBlock,signatureResultsFromEmbedStates,signatureSpecsFromEmbeds,sjsTokenize,sliceRectangles,splitBindingAndTypeSuffix,stripFieldPrefix,stripRuntimeComputedUserParams,subFieldNodeId,subFieldPersistValueFromCell,targetRectFromExtension,targetToOverrideKey,templateContainsSystemParamTokens,toA1,tokenize,triggersToPreset,tryParseNumericString,tsvToMatrix,vBool,vErr,vNum,vStr,wrapTextToWidthM};