@univerjs-pro/slides-table-ui 1.0.1 → 1.0.2
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/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x19aaa2=_0x1c3c;(function(_0x462724,_0xcdad5){const _0xfc0681=_0x1c3c,_0x4ea6db=_0x462724();while(!![]){try{const _0xa9eb90=parseInt(_0xfc0681(0x660))/0x1*(-parseInt(_0xfc0681(0x4e7))/0x2)+-parseInt(_0xfc0681(0x54b))/0x3*(-parseInt(_0xfc0681(0x536))/0x4)+-parseInt(_0xfc0681(0x418))/0x5*(parseInt(_0xfc0681(0x571))/0x6)+-parseInt(_0xfc0681(0x241))/0x7+parseInt(_0xfc0681(0x3bf))/0x8*(-parseInt(_0xfc0681(0x6f5))/0x9)+-parseInt(_0xfc0681(0x253))/0xa*(parseInt(_0xfc0681(0x654))/0xb)+parseInt(_0xfc0681(0x5f8))/0xc;if(_0xa9eb90===_0xcdad5)break;else _0x4ea6db['push'](_0x4ea6db['shift']());}catch(_0x9b1501){_0x4ea6db['push'](_0x4ea6db['shift']());}}}(_0x3ba8,0x68788));import{UniverLicensePlugin as _0x411fb7}from'@univerjs-pro/license';import{ISlideDrawingService as _0x45a49b,PageElementTypeEnum as _0x2af70c,ReorderSlideElementsCommand as _0x4982e5,SLIDE_INSERT_DEFAULT_SIZE as _0x1cf020,UniverSlidesPlugin as _0x524a2f,UpdateSlideDrawingCommand as _0x39f21d,getSlidePermissionValue as _0x2a7100,normalizeSlideDocumentDataStream as _0x131b43,plainTextToSlideDocumentData as _0x39568c,slideDocumentDataToPlainText as _0x551ee5}from'@univerjs-pro/slides';import{DEFAULT_SLIDE_TABLE_THEME_PRESETS as _0x5399fa,DeleteSlideTableColumnsCommand as _0x331d5a,DeleteSlideTableRowsCommand as _0x302d8d,InsertSlideTableColumnsCommand as _0x4ead81,InsertSlideTableCommand as _0xb6f85,InsertSlideTableRowsCommand as _0x24d407,MergeSlideTableCellsCommand as _0x5c1088,MoveSlideTableColumnsCommand as _0x272868,MoveSlideTableRowsCommand as _0xb37f51,RemoveSlideTableCommand as _0x189c0c,RemoveSlideTableMutation as _0x453038,SLIDE_TABLE_CONTROL_GUTTER as _0x314882,SetSlideTableMutation as _0x3d1ec1,SlideTableBorderDashEnum as _0x3cd644,SlideTableBorderPresetEnum as _0x16a4b2,SlideTableFillTypeEnum as _0x870dab,SlideTableModelService as _0x2bd903,SlideTablePictureFillModeEnum as _0x41b40c,SlideTableResourceService as _0x16aa1b,SlideTableTextDirectionEnum as _0x28d328,SlideTableVerticalAlignEnum as _0x2fcbc6,UniverSlidesTablePlugin as _0x43b082,UnmergeSlideTableCellsCommand as _0x5d463c,UpdateSlideTableCommand as _0xeaf0f0,buildBorderPresetPatch as _0x49814b,buildDefaultSlideTableThemes as _0x355c0c,buildSlideTableCellTextDataPatch as _0x573214,buildSlideTableControls as _0x280890,buildSlideTableTriggers as _0x138f5e,canMoveSlideTableColumns as _0x26eff4,canMoveSlideTableRows as _0x10888a,collectSlideTableMergeRanges as _0x39af7f,expandSlideTableRangeToMergedCells as _0x3111ea,findSlideTableMergeRange as _0x3ade19,freezeSlideTableTheme as _0x1bc43a,getDefaultSlideTableBorder as _0x1a231a,hitTestSlideTableControl as _0xcc8c0c,hitTestSlideTableFloatingControl as _0x1b7099,hitTestSlideTableTrigger as _0x394a47,isPointInRect as _0x3b2067,isSlideTableMultiCellRange as _0x5997d8,iterateSelectedSlideTableCells as _0x233bd5,mergeSlideTableCellStyle as _0x27abd3,mergeSlideTableCells as _0x58a380,normalizeSlideTableCellRange as _0x942cb2,normalizeSlideTableSnapshot as _0x7916d4,resizeSlideTableGrid as _0x4dc6fd,resolveSlideTableBuildOptions as _0x46b90a,resolveSlideTableCellBoundaryBorder as _0x1561e4,resolveSlideTableCellRect as _0x332c61,resolveSlideTableCellTextMargins as _0xbc9428,resolveSlideTableRenderModel as _0x59b2f8,resolveSlideTableThemePalette as _0x57f67f,unmergeSlideTableCells as _0x5ac089}from'@univerjs-pro/slides-table';import{IEditorUIService as _0x90d026,ISlideAlignmentGuideService as _0x200fbd,ISlideClipboardResourceAdapterService as _0x5c286a,ISlideDrawingStateService as _0x16546c,ISlideEmbedFloatingActiveService as _0x167a4c,ISlideEmbedFocusOwnerService as _0x119984,ISlideEmbedMountService as _0x293d56,ISlideTransformerVisibilityService as _0x3620dd,ObjectAdaptor as _0xe2845a,SLIDES_UI_PLUGIN_CONFIG_KEY as _0x273e80,SLIDE_MAIN_VIEWPORT_KEY as _0x4fba3b,SlideContextMenuPosition as _0x304115,SlideCopySelectionOperation as _0xf560,SlideCutSelectionOperation as _0x1cd1fa,SlideHitTestService as _0xc5badc,SlideInsertService as _0x50a1be,SlideObjectAdaptorRegistryService as _0x4f9dac,SlideObjectRefreshRegistryService as _0x4f6bfb,UniverSlidesMobileUIPlugin as _0x1cb463,UniverSlidesUIPlugin as _0x2fadf5,buildDrawingOKey as _0x50b4f6,drawDrawingEffectMask as _0x18e83b,resolveSlideLogicalPageSize as _0xb71ebf,stripEditorUIDocumentData as _0x4c828e,withSlideEditPermission as _0x1b32ae}from'@univerjs-pro/slides-ui';import{ArrangeTypeEnum as _0x111056,BooleanNumber as _0xd91ed3,ColorKit as _0x3b1bc0,CommandType as _0x4157bb,DEFAULT_STYLES as _0x3b71d7,DependentOn as _0x55f818,Disposable as _0x525b66,DisposableCollection as _0x2205ec,DocumentDataModel as _0x583b3c,DocumentFlavor as _0x4a73dd,EDITOR_ACTIVATED as _0x27e4cd,FOCUSING_COMMON_DRAWINGS as _0x4960af,FOCUSING_SLIDE as _0x270cdc,HorizontalAlign as _0x13cebc,ICommandService as _0x538857,IConfigService as _0x250757,IContextService as _0x715b7e,IImageIoService as _0x423843,IPermissionService as _0x4c940d,IUniverInstanceService as _0xb9e027,ImageSourceType as _0x1095e4,Inject as _0x29de4d,Injector as _0x5752bd,LocaleService as _0xc7884c,Optional as _0xe05024,Plugin as _0x3b5005,PresetListType as _0x4a7b2b,RxDisposable as _0x5f2e9b,ThemeService as _0x39b8ff,Tools as _0x257efd,UniverInstanceType as _0x35e99f,VerticalAlign as _0x392db0,WrapStrategy as _0x4c2ec9,createParagraphId as _0x4d6594,generateRandomId as _0xd7ffb9,merge as _0x56c4e8,toDisposable as _0x48d5d0,touchDependencies as _0x29d905}from'@univerjs/core';import{CURSOR_TYPE as _0x17cdca,DocumentSkeleton as _0x511a3f,DocumentViewModel as _0x743039,Documents as _0x49a012,IRenderManagerService as _0x1f1408,RENDER_CLASS_TYPE as _0xbe4aaa,Rect as _0x4dab93,Transform as _0x1ab435,UniverRenderEnginePlugin as _0x1d628f,VERTICAL_ROTATE_ANGLE as _0x5a8b47,Vector2 as _0x3b8fb7,pxToNum as _0x2f001c,resolveDrawingEffectMasks as _0x59f946}from'@univerjs/engine-render';import{BuiltInUIPart as _0x39e103,ComponentManager as _0x10dffd,ContextMenuGroup as _0x30ba16,FONT_SIZE_LIST as _0x1dfcaa,FontFamilyDropdown as _0x27a88b,IContextMenuService as _0x49d935,IDialogService as _0x3e72f2,IMenuManagerService as _0x257b45,IRibbonService as _0x48038c,IShortcutService as _0x445e9c,IUIPartsService as _0x4b3a71,IconManager as _0x2a49ec,KeyCode as _0x595e03,MenuItemType as _0x57d79c,MenuManagerPosition as _0x417904,MetaKeys as _0x13be8c,MobileDrawer as _0x1b3f29,MobileFontFamilyDropdown as _0x54e4d9,MobileMenu as _0x70639f,RibbonPosition as _0x2dce04,RibbonStartGroup as _0x47a549,connectInjector as _0x2c2af1,getMenuHiddenObservable as _0x365d0a,useDependency as _0x238a1a,useObservable as _0x2eae51}from'@univerjs/ui';import{BehaviorSubject as _0x294176,Observable as _0x245a2e,Subscription as _0x392d7d,combineLatest as _0x2f491f,from as _0x3b3ba8,map as _0x1798e7,merge as _0x3f91f1,of as _0x56587b,startWith as _0x4cc7c5}from'rxjs';import{Button as _0x4e0f66,Checkbox as _0x42de38,ColorPicker as _0x1a7251,ConfigContext as _0x429f87,Dropdown as _0x3cbd4a,InputNumber as _0x121760,MobileColorPicker as _0x32ff66,MobileSelect as _0x2d9beb,Select as _0x26a1e3,Separator as _0x5ce877,Tooltip as _0xed551e,borderClassName as _0x4c5f7e,clsx as _0x30b63f}from'@univerjs/design';import{useCallback as _0x1e211f,useContext as _0x153408,useEffect as _0x582dbb,useMemo as _0x31d40e,useRef as _0x18b959,useState as _0x32798a}from'react';import{Fragment as _0x5a66ba,jsx as _0x2cc562,jsxs as _0x11ff53}from'react/jsx-runtime';import{AdjustHeightDoubleIcon as _0x573a9f,AdjustWidthDoubleIcon as _0x3f0c5b,AlignBottomIcon as _0x2eec2e,AlignTextBothIcon as _0x5db93a,AlignTopIcon as _0x2b9ddf,AllBorderIcon as _0x324137,BoldIcon as _0x44c355,CancelMergeIcon as _0x11ae7b,CheckMarkIcon as _0x5ce528,CloseIcon as _0x48fa05,DeleteColumnDoubleIcon as _0x41df91,DeleteIcon as _0x28bbbe,DeleteRowDoubleIcon as _0x23739f,DownBorderDoubleIcon as _0x1fdc8e,FontColorDoubleIcon as _0x467bf2,FontSizeIncreaseIcon as _0x1d8982,FontSizeReduceIcon as _0x29a107,HorizontalBorderDoubleIcon as _0x329dad,HorizontallyIcon as _0x2fc2be,InnerBorderDoubleIcon as _0x4dd7f2,InsertRowAboveDoubleIcon as _0x33db55,InsertRowBelowDoubleIcon as _0x5b9fa5,ItalicIcon as _0x441261,LeftBorderDoubleIcon as _0xdb58a0,LeftInsertColumnDoubleIcon as _0x1cea09,LeftJustifyingIcon as _0x85ae24,MergeAllIcon as _0x57cc41,MoreDownIcon as _0x9bd590,MoreLeftIcon as _0x32a6da,MoreRightIcon as _0x183029,NoBorderIcon as _0x3a981c,OrderIcon as _0x18690d,OuterBorderDoubleIcon as _0x19efb1,PaintBucketDoubleIcon as _0x6a1a34,PaintIcon as _0x41b8f9,RightBorderDoubleIcon as _0x50ecd5,RightInsertColumnDoubleIcon as _0x48867c,RightJustifyingIcon as _0x5ac77c,ShapeBackgroundColorDoubleIcon as _0xbc21ef,StrikethroughIcon as _0x43aea7,TableIcon as _0x31336b,TextIcon as _0x10836e,UnderlineIcon as _0x408c2d,UnorderIcon as _0x1025c,UpBorderDoubleIcon as _0x2bf2eb,VerticalBorderDoubleIcon as _0x4e86b3,VerticalCenterIcon as _0x2d60fe}from'@univerjs/icons';import{FillStyleTabsEditor as _0x4aa714,keepFloatingToolbarPanelInteraction as _0x21a5cd,resolveShapeTextDocumentPageHeight as _0x570eae}from'@univerjs-pro/shape-editor-ui';import{BulletListTypePicker as _0x321c8b,OrderListTypePicker as _0x3e6a2f,convertBodyToHtml as _0x3e4412,convertClipboardHtmlToDocumentData as _0x3f88bf,removeClipboardHtmlImages as _0x17eba6}from'@univerjs/docs-ui';import{getImageSize as _0x2c5a91}from'@univerjs/drawing';import{extractClipboardHtmlImageFiles as _0x40f748,extractClipboardImageFiles as _0x356a32,extractClipboardTextImageFile as _0x557afc,isClipboardTextImage as _0x60166a,normalizeClipboardImageFile as _0x1b8452}from'@univerjs/drawing-ui';import{UnitAction as _0x5099ee}from'@univerjs/protocol';import{convertPlainTextTableToHtml as _0x3fee62,parseHtmlTableClipboard as _0x1f993c}from'@univerjs-pro/docs-table';import{createPortal as _0x514258}from'react-dom';const ei='slides-table-ui.config',ti={'floatingToolbar':!0x1};var ni='@univerjs-pro/slides-table-ui',ri=_0x19aaa2(0x2e8);function ii(_0x156c2b){'@babel/helpers - typeof';const _0x1d0a31=_0x19aaa2;return ii=typeof Symbol==_0x1d0a31(0x436)&&typeof Symbol['iterator']==_0x1d0a31(0x315)?function(_0x295248){return typeof _0x295248;}:function(_0x4c4545){const _0x19c9cf=_0x1d0a31;return _0x4c4545&&typeof Symbol==_0x19c9cf(0x436)&&_0x4c4545[_0x19c9cf(0x467)]===Symbol&&_0x4c4545!==Symbol[_0x19c9cf(0x43b)]?_0x19c9cf(0x315):typeof _0x4c4545;},ii(_0x156c2b);}function ai(_0x21cb57,_0x36cac0){const _0x56353b=_0x19aaa2;if(ii(_0x21cb57)!=_0x56353b(0x729)||!_0x21cb57)return _0x21cb57;var _0x2ee451=_0x21cb57[Symbol['toPrimitive']];if(_0x2ee451!==void 0x0){var _0x1be102=_0x2ee451[_0x56353b(0x273)](_0x21cb57,_0x36cac0||_0x56353b(0x58a));if(ii(_0x1be102)!=_0x56353b(0x729))return _0x1be102;throw TypeError(_0x56353b(0x1ba));}return(_0x36cac0==='string'?String:Number)(_0x21cb57);}function oi(_0x360c3){const _0x21916a=_0x19aaa2;var _0x52d2d3=ai(_0x360c3,_0x21916a(0x5b4));return ii(_0x52d2d3)=='symbol'?_0x52d2d3:_0x52d2d3+'';}function q(_0x3e7959,_0x1a1cca,_0x40df93){return(_0x1a1cca=oi(_0x1a1cca))in _0x3e7959?Object['defineProperty'](_0x3e7959,_0x1a1cca,{'value':_0x40df93,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e7959[_0x1a1cca]=_0x40df93,_0x3e7959;}var J=class extends _0x525b66{constructor(..._0x248378){const _0xe963e2=_0x19aaa2;super(..._0x248378),q(this,'_selection$',new _0x294176(null)),q(this,_0xe963e2(0x48a),this[_0xe963e2(0x41f)]['asObservable']()),q(this,_0xe963e2(0x33f),null),q(this,_0xe963e2(0x45a),0x0);}['markTableInternalInteraction'](_0x5aef43=0x1f4,_0x5410c8=Date[_0x19aaa2(0x228)]()){const _0x1ea33a=_0x19aaa2;this[_0x1ea33a(0x45a)]=Math[_0x1ea33a(0x6f0)](this[_0x1ea33a(0x45a)],_0x5410c8+_0x5aef43);}[_0x19aaa2(0x2b3)](_0x3db6df=Date[_0x19aaa2(0x228)]()){const _0x721af6=_0x19aaa2;return _0x3db6df<=this[_0x721af6(0x45a)];}[_0x19aaa2(0x25c)](){const _0x82980f=_0x19aaa2;return this['_selection']?Y(this[_0x82980f(0x33f)]):null;}[_0x19aaa2(0x463)](){const _0x146f3b=_0x19aaa2;this[_0x146f3b(0x33f)]=null,this[_0x146f3b(0x41f)]['next'](null);}[_0x19aaa2(0x5bb)](_0x14c98d){const _0x5f161a=_0x19aaa2;let _0x279569=this[_0x5f161a(0x6b2)](_0x14c98d,_0x5f161a(0x1b0),{'startRow':_0x14c98d[_0x5f161a(0x642)],'endRow':_0x14c98d[_0x5f161a(0x642)],'startColumn':_0x14c98d[_0x5f161a(0x3c4)],'endColumn':_0x14c98d['column']},{'row':_0x14c98d[_0x5f161a(0x642)],'column':_0x14c98d[_0x5f161a(0x3c4)]},{'row':_0x14c98d[_0x5f161a(0x642)],'column':_0x14c98d['column']});return this[_0x5f161a(0x33f)]=_0x279569,this[_0x5f161a(0x41f)][_0x5f161a(0x613)](Y(_0x279569)),Y(_0x279569);}[_0x19aaa2(0x706)](_0x31fd17){const _0x48781a=_0x19aaa2;let _0x198213=si(_0x31fd17),_0x34279f=this[_0x48781a(0x6b2)](_0x31fd17,_0x48781a(0x680),_0x198213,{'row':_0x198213['startRow'],'column':_0x198213[_0x48781a(0x2f4)]},{'row':_0x198213[_0x48781a(0x3cd)],'column':_0x198213['endColumn']});return this[_0x48781a(0x33f)]=_0x34279f,this['_selection$']['next'](Y(_0x34279f)),Y(_0x34279f);}[_0x19aaa2(0x6ff)](_0x5223eb){const _0x1c21c3=_0x19aaa2;let _0x3ca5e0=Math['min'](_0x5223eb[_0x1c21c3(0x544)],_0x5223eb[_0x1c21c3(0x3cd)]),_0x44c7b7=Math[_0x1c21c3(0x6f0)](_0x5223eb[_0x1c21c3(0x544)],_0x5223eb['endRow']),_0x4b3423=this[_0x1c21c3(0x6b2)](_0x5223eb,_0x1c21c3(0x642),{'startRow':_0x3ca5e0,'endRow':_0x44c7b7,'startColumn':0x0,'endColumn':Math[_0x1c21c3(0x6f0)](0x0,_0x5223eb[_0x1c21c3(0x6be)]-0x1)});return this[_0x1c21c3(0x33f)]=_0x4b3423,this[_0x1c21c3(0x41f)][_0x1c21c3(0x613)](Y(_0x4b3423)),Y(_0x4b3423);}[_0x19aaa2(0x3df)](_0x2e9155){const _0xdc2ed7=_0x19aaa2;let _0x5bb91f=Math[_0xdc2ed7(0x1df)](_0x2e9155[_0xdc2ed7(0x2f4)],_0x2e9155[_0xdc2ed7(0x434)]),_0x571eda=Math[_0xdc2ed7(0x6f0)](_0x2e9155[_0xdc2ed7(0x2f4)],_0x2e9155[_0xdc2ed7(0x434)]),_0x2fd25d=this[_0xdc2ed7(0x6b2)](_0x2e9155,'column',{'startRow':0x0,'endRow':Math[_0xdc2ed7(0x6f0)](0x0,_0x2e9155['rowCount']-0x1),'startColumn':_0x5bb91f,'endColumn':_0x571eda});return this[_0xdc2ed7(0x33f)]=_0x2fd25d,this[_0xdc2ed7(0x41f)]['next'](Y(_0x2fd25d)),Y(_0x2fd25d);}['selectTable'](_0x1e5c98){const _0x1342ac=_0x19aaa2;let _0x2a0cf9=this[_0x1342ac(0x6b2)](_0x1e5c98,_0x1342ac(0x283),{'startRow':0x0,'endRow':Math[_0x1342ac(0x6f0)](0x0,_0x1e5c98[_0x1342ac(0x3fc)]-0x1),'startColumn':0x0,'endColumn':Math[_0x1342ac(0x6f0)](0x0,_0x1e5c98[_0x1342ac(0x6be)]-0x1)});return this[_0x1342ac(0x33f)]=_0x2a0cf9,this['_selection$']['next'](Y(_0x2a0cf9)),Y(_0x2a0cf9);}[_0x19aaa2(0x2c2)](_0xa578c6){const _0x2a612f=_0x19aaa2;let _0xfe4eec=this[_0x2a612f(0x6b2)](_0xa578c6,_0x2a612f(0x3ea),{'startRow':_0xa578c6['row'],'endRow':_0xa578c6[_0x2a612f(0x642)],'startColumn':_0xa578c6[_0x2a612f(0x3c4)],'endColumn':_0xa578c6[_0x2a612f(0x3c4)]},{'row':_0xa578c6['row'],'column':_0xa578c6[_0x2a612f(0x3c4)]},{'row':_0xa578c6[_0x2a612f(0x642)],'column':_0xa578c6[_0x2a612f(0x3c4)]});return this[_0x2a612f(0x33f)]=_0xfe4eec,this[_0x2a612f(0x41f)][_0x2a612f(0x613)](Y(_0xfe4eec)),Y(_0xfe4eec);}[_0x19aaa2(0x3e1)](){const _0x40921a=_0x19aaa2;this[_0x40921a(0x45a)]=0x0,this['_selection$'][_0x40921a(0x714)](),super['dispose']();}[_0x19aaa2(0x6b2)](_0x4299f8,_0x67930e,_0x51983f,_0x4bd087,_0x2dc6ad){const _0x1addd3=_0x19aaa2;let _0x36be1f={'unitId':_0x4299f8[_0x1addd3(0x1e5)],'subUnitId':_0x4299f8[_0x1addd3(0x47d)],'elementId':_0x4299f8['elementId'],'tableId':_0x4299f8[_0x1addd3(0x546)],'kind':_0x67930e,'ranges':[_0x51983f]};return _0x4bd087&&(_0x36be1f[_0x1addd3(0x526)]=_0x4bd087),_0x2dc6ad&&(_0x36be1f[_0x1addd3(0x2a4)]=_0x2dc6ad),_0x36be1f;}};function si(_0x5d579f){const _0x5c9731=_0x19aaa2;return{'startRow':Math[_0x5c9731(0x1df)](_0x5d579f[_0x5c9731(0x544)],_0x5d579f[_0x5c9731(0x3cd)]),'endRow':Math[_0x5c9731(0x6f0)](_0x5d579f[_0x5c9731(0x544)],_0x5d579f[_0x5c9731(0x3cd)]),'startColumn':Math[_0x5c9731(0x1df)](_0x5d579f[_0x5c9731(0x2f4)],_0x5d579f[_0x5c9731(0x434)]),'endColumn':Math[_0x5c9731(0x6f0)](_0x5d579f[_0x5c9731(0x2f4)],_0x5d579f[_0x5c9731(0x434)])};}function Y(_0x460fbd){const _0x12f7b9=_0x19aaa2;let _0x5e4c47={..._0x460fbd,'ranges':_0x460fbd['ranges'][_0x12f7b9(0x694)](_0x4d92c9=>({..._0x4d92c9}))};return _0x460fbd[_0x12f7b9(0x526)]&&(_0x5e4c47['anchor']={..._0x460fbd[_0x12f7b9(0x526)]}),_0x460fbd[_0x12f7b9(0x2a4)]&&(_0x5e4c47[_0x12f7b9(0x2a4)]={..._0x460fbd[_0x12f7b9(0x2a4)]}),_0x5e4c47;}const X={'InsertRowAbove':_0x19aaa2(0x6c7),'InsertRowBelow':_0x19aaa2(0x1f7),'InsertColumnLeft':_0x19aaa2(0x475),'InsertColumnRight':_0x19aaa2(0x69c),'DeleteRows':'delete-rows','DeleteColumns':'delete-columns','MergeCells':_0x19aaa2(0x22b),'UnmergeCells':_0x19aaa2(0x679),'DistributeRows':'distribute-rows','DistributeColumns':'distribute-columns'};function Z(_0x373708){const _0x24bdfe=_0x19aaa2;let _0x4ce975=_0x373708==null?void 0x0:_0x373708['ranges'][0x0];return!_0x373708||!_0x4ce975?null:{'unitId':_0x373708['unitId'],'subUnitId':_0x373708[_0x24bdfe(0x47d)],'elementId':_0x373708['elementId'],'tableId':_0x373708[_0x24bdfe(0x546)],'range':_0x942cb2(_0x4ce975)};}function ci(_0x44f4a6,_0x2c15a4,_0x42a7aa){const _0x5323a5=_0x19aaa2;let _0x439d45=!!Z(_0x2c15a4);return[ki(X[_0x5323a5(0x31d)],_0x42a7aa[_0x5323a5(0x488)],_0x439d45),ki(X[_0x5323a5(0x31f)],_0x42a7aa['insertRows'],_0x439d45),ki(X[_0x5323a5(0x342)],_0x42a7aa[_0x5323a5(0x2ef)],_0x439d45),ki(X[_0x5323a5(0x29e)],_0x42a7aa[_0x5323a5(0x2ef)],_0x439d45),ki(X[_0x5323a5(0x559)],_0x42a7aa[_0x5323a5(0x371)],Ti(_0x44f4a6,_0x2c15a4)),ki(X[_0x5323a5(0x3e0)],_0x42a7aa['deleteColumns'],Ei(_0x44f4a6,_0x2c15a4)),ki(X['MergeCells'],_0x42a7aa[_0x5323a5(0x200)],Ci(_0x2c15a4,_0x44f4a6)),ki(X['UnmergeCells'],_0x42a7aa[_0x5323a5(0x4ae)],wi(_0x44f4a6,_0x2c15a4)),ki(X[_0x5323a5(0x4f6)],_0x42a7aa[_0x5323a5(0x250)],Di(_0x44f4a6,_0x2c15a4)),ki(X[_0x5323a5(0x6b1)],_0x42a7aa['updateTable'],Oi(_0x44f4a6,_0x2c15a4))];}function li(_0x4c8782,_0x70a3ab,_0x160648,_0x145129){const _0x42cab7=_0x19aaa2;let _0x426a95=Z(_0x70a3ab);if(!_0x426a95||!_0x70a3ab)return null;let {unitId:_0x2c880c,subUnitId:_0xa213b2,elementId:_0x2158e6,tableId:_0x270ba1,range:_0x3b46a6}=_0x426a95;switch(_0x160648){case X[_0x42cab7(0x31d)]:return{'commandId':_0x145129[_0x42cab7(0x488)],'params':{'unitId':_0x2c880c,'subUnitId':_0xa213b2,'elementId':_0x2158e6,'tableId':_0x270ba1,'rowIndex':_0x3b46a6['startRow'],'count':ji(_0x3b46a6)}};case X[_0x42cab7(0x31f)]:return{'commandId':_0x145129[_0x42cab7(0x488)],'params':{'unitId':_0x2c880c,'subUnitId':_0xa213b2,'elementId':_0x2158e6,'tableId':_0x270ba1,'rowIndex':_0x3b46a6[_0x42cab7(0x3cd)]+0x1,'count':ji(_0x3b46a6)}};case X[_0x42cab7(0x342)]:return{'commandId':_0x145129[_0x42cab7(0x2ef)],'params':{'unitId':_0x2c880c,'subUnitId':_0xa213b2,'elementId':_0x2158e6,'tableId':_0x270ba1,'columnIndex':_0x3b46a6['startColumn'],'count':Mi(_0x3b46a6)}};case X[_0x42cab7(0x29e)]:return{'commandId':_0x145129['insertColumns'],'params':{'unitId':_0x2c880c,'subUnitId':_0xa213b2,'elementId':_0x2158e6,'tableId':_0x270ba1,'columnIndex':_0x3b46a6[_0x42cab7(0x434)]+0x1,'count':Mi(_0x3b46a6)}};case X['DeleteRows']:return Ti(_0x4c8782,_0x70a3ab)?{'commandId':_0x145129['deleteRows'],'params':{'unitId':_0x2c880c,'tableId':_0x270ba1,'startRow':_0x3b46a6[_0x42cab7(0x544)],'endRow':_0x3b46a6[_0x42cab7(0x3cd)]}}:null;case X[_0x42cab7(0x3e0)]:return Ei(_0x4c8782,_0x70a3ab)?{'commandId':_0x145129[_0x42cab7(0x66c)],'params':{'unitId':_0x2c880c,'tableId':_0x270ba1,'startColumn':_0x3b46a6[_0x42cab7(0x2f4)],'endColumn':_0x3b46a6[_0x42cab7(0x434)]}}:null;case X['MergeCells']:return Ci(_0x70a3ab,_0x4c8782)?{'commandId':_0x145129[_0x42cab7(0x200)],'params':{'unitId':_0x2c880c,'tableId':_0x270ba1,'range':_0x3b46a6}}:null;case X[_0x42cab7(0x443)]:return wi(_0x4c8782,_0x70a3ab)?{'commandId':_0x145129[_0x42cab7(0x4ae)],'params':{'unitId':_0x2c880c,'tableId':_0x270ba1,'range':_0x3b46a6}}:null;case X['DistributeRows']:return Ai(_0x4c8782,_0x70a3ab,_0x145129[_0x42cab7(0x250)],_0x2c880c,_0x270ba1,_0x3b46a6,'row');case X[_0x42cab7(0x6b1)]:return Ai(_0x4c8782,_0x70a3ab,_0x145129[_0x42cab7(0x250)],_0x2c880c,_0x270ba1,_0x3b46a6,_0x42cab7(0x3c4));}}function ui(_0x3949fd,_0x11110b,_0x13a303){const _0x54a97f=_0x19aaa2;let _0xc2d9aa=_0x13a303?_0x942cb2(_0x13a303):{'startRow':0x0,'endRow':_0x3949fd[_0x54a97f(0x416)][_0x54a97f(0x3b8)]-0x1,'startColumn':0x0,'endColumn':_0x3949fd[_0x54a97f(0x389)]['length']-0x1};if(_0x11110b===_0x54a97f(0x642)){let _0x50eb9b=_0x257efd[_0x54a97f(0x206)](_0x3949fd[_0x54a97f(0x416)]),_0x366d7c=Math['max'](0x0,Math[_0x54a97f(0x1df)](_0xc2d9aa[_0x54a97f(0x544)],_0x50eb9b[_0x54a97f(0x3b8)]-0x1)),_0x734976=Math[_0x54a97f(0x6f0)](_0x366d7c,Math[_0x54a97f(0x1df)](_0xc2d9aa[_0x54a97f(0x3cd)],_0x50eb9b[_0x54a97f(0x3b8)]-0x1)),_0x4cb206=_0x50eb9b[_0x54a97f(0x5b0)](_0x366d7c,_0x734976+0x1),_0x1f52ad=_0x4cb206[_0x54a97f(0x21c)]((_0x536532,_0x24a773)=>_0x536532+(_0x24a773[_0x54a97f(0x1aa)]??0x18),0x0)/Math[_0x54a97f(0x6f0)](0x1,_0x4cb206['length']);for(let _0xeb0482=_0x366d7c;_0xeb0482<=_0x734976;_0xeb0482+=0x1)_0x50eb9b[_0xeb0482][_0x54a97f(0x1aa)]=_0x1f52ad;return{'rows':_0x50eb9b};}let _0x5f070a=_0x257efd[_0x54a97f(0x206)](_0x3949fd['columns']),_0x21771e=Math['max'](0x0,Math[_0x54a97f(0x1df)](_0xc2d9aa[_0x54a97f(0x2f4)],_0x5f070a[_0x54a97f(0x3b8)]-0x1)),_0x573c62=Math[_0x54a97f(0x6f0)](_0x21771e,Math[_0x54a97f(0x1df)](_0xc2d9aa[_0x54a97f(0x434)],_0x5f070a[_0x54a97f(0x3b8)]-0x1)),_0x34d012=_0x5f070a[_0x54a97f(0x5b0)](_0x21771e,_0x573c62+0x1),_0x3b0905=_0x34d012[_0x54a97f(0x21c)]((_0x1507f4,_0x56d5f1)=>_0x1507f4+_0x56d5f1[_0x54a97f(0x530)],0x0)/Math[_0x54a97f(0x6f0)](0x1,_0x34d012[_0x54a97f(0x3b8)]);for(let _0x49ebdd=_0x21771e;_0x49ebdd<=_0x573c62;_0x49ebdd+=0x1)_0x5f070a[_0x49ebdd][_0x54a97f(0x530)]=_0x3b0905;return{'columns':_0x5f070a};}function di(_0x39d2db,_0x55a8b1,_0x4da56b){const _0x4d127f=_0x19aaa2;let _0x56d331=_0x257efd['deepClone'](_0x39d2db[_0x4d127f(0x416)]),_0x39f64f=_0x942cb2(_0x55a8b1);return _0x233bd5(_0x56d331,_0x39f64f,(_0x16bf25,_0x3f1fe4,_0x2c224d)=>{const _0x436e8b=_0x4d127f;if(_0x4da56b['axis']===_0x436e8b(0x1d0)){_0x16bf25[_0x436e8b(0x33c)]=_0x27abd3(_0x16bf25[_0x436e8b(0x33c)],{'verticalAlign':Vi(_0x4da56b[_0x436e8b(0x39a)])});return;}let _0x4b68d4=_0x436e8b(0x227)+_0x39d2db['id']+'_'+_0x3f1fe4+'_'+_0x2c224d;_0x16bf25[_0x436e8b(0x427)]=Ni(_0x16bf25[_0x436e8b(0x427)],_0x4da56b[_0x436e8b(0x39a)],_0x4b68d4);}),{'rows':_0x56d331};}function fi(_0xae2f83,_0x3e6c59,_0x48dad0){const _0x2afae0=_0x19aaa2;let _0x10b40d=_0x257efd[_0x2afae0(0x206)](_0xae2f83['rows']),_0x10b869=_0x942cb2(_0x3e6c59);return _0x233bd5(_0x10b40d,_0x10b869,(_0xe0b557,_0x5891b0,_0xe0e652)=>{const _0x2d7548=_0x2afae0;var _0x1cf4dd;let _0x2eaf26=_0x2d7548(0x227)+_0xae2f83['id']+'_'+_0x5891b0+'_'+_0xe0e652,_0x13e049=_0x257efd[_0x2d7548(0x206)](_0xe0b557[_0x2d7548(0x427)]??zi(_0x2eaf26)),_0x3645a9=_0x13e049[_0x2d7548(0x4cc)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x1f94a2=_0xd7ffb9(0x6);_0xe0b557['textData']={..._0x13e049,'id':_0x13e049['id']??_0x2eaf26,'body':{..._0x3645a9,'paragraphs':((_0x1cf4dd=_0x3645a9['paragraphs'])!=null&&_0x1cf4dd[_0x2d7548(0x3b8)]?_0x3645a9['paragraphs']:[Bi()])['map'](_0x1de2ac=>{const _0x33e309=_0x2d7548;var _0x4a5c8b,_0x3a4db0;if(_0x48dad0===null){let _0x1c56a6={..._0x1de2ac};return delete _0x1c56a6['bullet'],_0x1c56a6;}return{..._0x1de2ac,'bullet':{'nestingLevel':((_0x4a5c8b=_0x1de2ac[_0x33e309(0x6aa)])==null?void 0x0:_0x4a5c8b[_0x33e309(0x65c)])??0x0,'textStyle':((_0x3a4db0=_0x1de2ac['bullet'])==null?void 0x0:_0x3a4db0[_0x33e309(0x3b3)])===_0x48dad0?_0x1de2ac[_0x33e309(0x6aa)][_0x33e309(0x442)]:{'fs':0x14},'listId':_0x1f94a2,'listType':_0x48dad0}};})}};}),{'rows':_0x10b40d};}function pi(_0x1876e1,_0x326392,_0x37c25b){const _0x47732f=_0x19aaa2;if(!_0x1876e1||!_0x326392)return{'active':!0x1,'mixed':!0x1};let _0x2763f9=_0x942cb2(_0x326392),_0x5cc066=[];for(let _0x1d327b=_0x2763f9[_0x47732f(0x544)];_0x1d327b<=_0x2763f9[_0x47732f(0x3cd)];_0x1d327b+=0x1)for(let _0x377bee=_0x2763f9[_0x47732f(0x2f4)];_0x377bee<=_0x2763f9['endColumn'];_0x377bee+=0x1){var _0x52c313;let _0x337b86=((_0x52c313=_0x1876e1[_0x47732f(0x416)][_0x1d327b])==null||(_0x52c313=_0x52c313[_0x47732f(0x307)][_0x377bee])==null||(_0x52c313=_0x52c313['textData'])==null||(_0x52c313=_0x52c313[_0x47732f(0x4cc)])==null?void 0x0:_0x52c313[_0x47732f(0x695)])??[];_0x5cc066[_0x47732f(0x232)](..._0x337b86['length']?_0x337b86[_0x47732f(0x694)](_0xa27435=>{const _0x4e3d86=_0x47732f;var _0x1fb9de;let _0x5baa58=(_0x1fb9de=_0xa27435['bullet'])==null?void 0x0:_0x1fb9de[_0x4e3d86(0x3b3)];return mi(_0x5baa58)?_0x5baa58:void 0x0;}):[void 0x0]);}let _0x51ca42=_0x5cc066[_0x47732f(0x1f3)](_0x33de98=>!!(_0x33de98!=null&&_0x33de98[_0x47732f(0x1ce)](_0x37c25b))),_0x1e47ba=_0x5cc066[_0x47732f(0x3b8)]>0x0&&_0x51ca42['length']===_0x5cc066[_0x47732f(0x3b8)];return{'active':_0x1e47ba,'mixed':_0x51ca42[_0x47732f(0x3b8)]>0x0&&!_0x1e47ba,'value':_0x1e47ba&&_0x51ca42[_0x47732f(0x664)](_0x33e493=>_0x33e493===_0x51ca42[0x0])?_0x51ca42[0x0]:void 0x0};}function mi(_0x42b81d){const _0x25d9fe=_0x19aaa2;return _0x42b81d!==void 0x0&&Object[_0x25d9fe(0x4b5)](_0x4a7b2b)[_0x25d9fe(0x27a)](_0x4a0703=>_0x4a0703===_0x42b81d);}function hi(_0x5b2034,_0xdeeb71,_0x267aa7){const _0x3775eb=_0x19aaa2;return gi(_0x5b2034,_0xdeeb71,_0x267aa7?{'type':_0x870dab[_0x3775eb(0x56a)],'color':_0x267aa7,'alpha':0x1}:void 0x0);}function gi(_0x24dc6d,_0x5c9945,_0xb61563){const _0x3b2101=_0x19aaa2;let _0x537cda=_0x257efd[_0x3b2101(0x206)](_0x24dc6d[_0x3b2101(0x416)]),_0x2ab5e5=_0x942cb2(_0x5c9945);return _0x233bd5(_0x537cda,_0x2ab5e5,_0x4c120c=>{const _0x3351a4=_0x3b2101;_0x4c120c[_0x3351a4(0x33c)]=_0x27abd3(_0x4c120c[_0x3351a4(0x33c)],{'fill':_0xb61563});}),{'rows':_0x537cda};}function _i(_0x3b47e8,_0xe311e5,_0x5d1909){const _0x11d9de=_0x19aaa2;return vi(_0x3b47e8,_0xe311e5,_0x5d1909?{'type':_0x11d9de(0x435),'color':_0x5d1909,'opacity':0x1}:void 0x0);}function vi(_0x28917e,_0x265a39,_0x51a713){const _0xf87826=_0x19aaa2;let _0x17963c=_0x257efd[_0xf87826(0x206)](_0x28917e[_0xf87826(0x416)]),_0x29069e=_0x942cb2(_0x265a39);return _0x233bd5(_0x17963c,_0x29069e,(_0x505081,_0x3495f7,_0x56f719)=>{const _0xc16ca9=_0xf87826;let _0x3fc4d6=_0xc16ca9(0x227)+_0x28917e['id']+'_'+_0x3495f7+'_'+_0x56f719;_0x505081[_0xc16ca9(0x427)]=Pi(_0x505081[_0xc16ca9(0x427)],_0x51a713,_0x3fc4d6);}),{'rows':_0x17963c};}function yi(_0x81aa83,_0x34c840,_0x467f7f){const _0x5dba40=_0x19aaa2;let _0x49382d=_0x257efd[_0x5dba40(0x206)](_0x81aa83['rows']),_0x158349=_0x942cb2(_0x34c840);return _0x233bd5(_0x49382d,_0x158349,_0x1b8937=>{const _0x2592d7=_0x5dba40;var _0x3adfdc;let _0x40b5bd=((_0x3adfdc=_0x1b8937[_0x2592d7(0x33c)])==null?void 0x0:_0x3adfdc[_0x2592d7(0x3a5)])??{},_0x3d8ce8=_0x4c7761=>({..._0x1a231a(),..._0x4c7761,..._0x467f7f});_0x1b8937[_0x2592d7(0x33c)]=_0x27abd3(_0x1b8937[_0x2592d7(0x33c)],{'borders':{'top':_0x3d8ce8(_0x40b5bd[_0x2592d7(0x573)]),'right':_0x3d8ce8(_0x40b5bd[_0x2592d7(0x1bd)]),'bottom':_0x3d8ce8(_0x40b5bd[_0x2592d7(0x662)]),'left':_0x3d8ce8(_0x40b5bd[_0x2592d7(0x374)])}});}),{'rows':_0x49382d};}function bi(_0x45ba76,_0x5ecde3,_0x474433,_0x36547e){const _0x3c9e3d=_0x19aaa2;let _0x483087=_0x257efd[_0x3c9e3d(0x206)](_0x45ba76[_0x3c9e3d(0x416)]);return{'rows':_0x49814b(_0x483087,_0x5ecde3,_0x474433,_0x36547e)[_0x3c9e3d(0x416)]};}function xi(_0x2bd8f1,_0x585392,_0xafc265){return Li(_0x2bd8f1,_0x585392,{'ff':_0xafc265});}function Si(_0x1a80e5,_0x4fc6bf,_0xc03b25){return Li(_0x1a80e5,_0x4fc6bf,{'fs':_0xc03b25});}function Ci(_0x1f759a,_0x5964a7){let _0x2c2934=Z(_0x1f759a);return!!_0x2c2934&&_0x5997d8(_0x2c2934['range'])&&(!_0x5964a7||!wi(_0x5964a7,_0x1f759a));}function wi(_0x4b1629,_0x3fee42){const _0x30ecc1=_0x19aaa2;let _0x1a2698=Z(_0x3fee42);if(!_0x1a2698||!_0x4b1629)return!0x1;let _0x4a6828=_0x942cb2(_0x1a2698['range']);for(let _0x23ea9b=_0x4a6828[_0x30ecc1(0x544)];_0x23ea9b<=_0x4a6828[_0x30ecc1(0x3cd)];_0x23ea9b+=0x1)for(let _0x491753=_0x4a6828[_0x30ecc1(0x2f4)];_0x491753<=_0x4a6828[_0x30ecc1(0x434)];_0x491753+=0x1){let _0x331dac=_0x3ade19(_0x4b1629,_0x23ea9b,_0x491753);if(_0x331dac&&_0x5997d8(_0x331dac))return!0x0;}return!0x1;}function Ti(_0x205021,_0x32d34c){const _0x31d86c=_0x19aaa2;let _0x1718a4=Z(_0x32d34c);return!_0x1718a4||!_0x205021?!0x1:_0x205021[_0x31d86c(0x416)][_0x31d86c(0x3b8)]>_0x1718a4['range'][_0x31d86c(0x3cd)]-_0x1718a4[_0x31d86c(0x680)][_0x31d86c(0x544)]+0x1;}function Ei(_0x37c49f,_0x993f05){const _0x4559c0=_0x19aaa2;let _0x20eacc=Z(_0x993f05);return!_0x20eacc||!_0x37c49f?!0x1:_0x37c49f[_0x4559c0(0x389)][_0x4559c0(0x3b8)]>_0x20eacc['range'][_0x4559c0(0x434)]-_0x20eacc[_0x4559c0(0x680)][_0x4559c0(0x2f4)]+0x1;}function Di(_0x2679a3,_0x463854){const _0x14a20e=_0x19aaa2;let _0x1934b3=Z(_0x463854);return!_0x1934b3||!_0x2679a3?!0x1:_0x1934b3[_0x14a20e(0x680)]['endRow']-_0x1934b3[_0x14a20e(0x680)][_0x14a20e(0x544)]+0x1>0x1;}function Oi(_0x31baf2,_0x14fcc5){const _0x56a1bc=_0x19aaa2;let _0x1e3fc4=Z(_0x14fcc5);return!_0x1e3fc4||!_0x31baf2?!0x1:_0x1e3fc4[_0x56a1bc(0x680)][_0x56a1bc(0x434)]-_0x1e3fc4[_0x56a1bc(0x680)][_0x56a1bc(0x2f4)]+0x1>0x1;}function ki(_0x59227e,_0x318f67,_0x4819a6){return{'id':_0x59227e,'commandId':_0x318f67,'enabled':_0x4819a6};}function Ai(_0x2984a5,_0x205b0a,_0xf6f33e,_0x41d2c9,_0x105060,_0x2fd755,_0x16d7ca){const _0x4b03dd=_0x19aaa2;return!_0x2984a5||!(_0x16d7ca===_0x4b03dd(0x642)?Di(_0x2984a5,_0x205b0a):Oi(_0x2984a5,_0x205b0a))?null:{'commandId':_0xf6f33e,'params':{'unitId':_0x41d2c9,'tableId':_0x105060,'patch':ui(_0x2984a5,_0x16d7ca,_0x2fd755)}};}function ji(_0x11c612){const _0x265998=_0x19aaa2;return _0x11c612[_0x265998(0x3cd)]-_0x11c612[_0x265998(0x544)]+0x1;}function Mi(_0x2b5fde){const _0x37045a=_0x19aaa2;return _0x2b5fde[_0x37045a(0x434)]-_0x2b5fde[_0x37045a(0x2f4)]+0x1;}function Ni(_0x2b9692,_0x9578e9,_0x2b3392){const _0x44abfe=_0x19aaa2;var _0x26cfaa;let _0x59ef84=_0x257efd[_0x44abfe(0x206)](_0x2b9692??zi(_0x2b3392)),_0x234f72=_0x59ef84['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x59f21c=(_0x26cfaa=_0x234f72[_0x44abfe(0x695)])!=null&&_0x26cfaa[_0x44abfe(0x3b8)]?_0x234f72[_0x44abfe(0x695)]:[Bi()],_0x1d70ae=_0x59ef84[_0x44abfe(0x725)]??{};return{..._0x59ef84,'id':_0x59ef84['id']??_0x2b3392,'body':{..._0x234f72,'dataStream':_0x234f72[_0x44abfe(0x40e)]??'\x0d\x0a','paragraphs':_0x59f21c[_0x44abfe(0x694)](_0x4cb764=>({..._0x4cb764,'paragraphStyle':{..._0x4cb764[_0x44abfe(0x222)],'horizontalAlign':_0x9578e9}}))},'documentStyle':{..._0x1d70ae,'renderConfig':{..._0x1d70ae[_0x44abfe(0x231)],'horizontalAlign':_0x9578e9}}};}function Pi(_0x5f20f3,_0x398276,_0xd001f3){const _0x184592=_0x19aaa2;var _0x3e86e3,_0xdd956b;let _0x42db03=_0x257efd[_0x184592(0x206)](_0x5f20f3??zi(_0xd001f3)),_0x508a96=_0x42db03[_0x184592(0x4cc)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x3bbc9e=_0x508a96[_0x184592(0x40e)]??'\x0d\x0a',_0x14359d=Math[_0x184592(0x6f0)](0x0,_0x3bbc9e[_0x184592(0x3b8)]-0x2),_0x173524=Ii(_0x398276),_0x198f09=Fi({...(_0x3e86e3=_0x42db03[_0x184592(0x725)])==null?void 0x0:_0x3e86e3[_0x184592(0x442)]},_0x398276,_0x173524),_0x48063a=(_0x508a96[_0x184592(0x3a9)]??[])[_0x184592(0x694)](_0x2a1c4f=>{let _0x20ff49=Fi({..._0x2a1c4f['ts']},_0x398276,_0x173524);return{..._0x2a1c4f,'ts':_0x20ff49};});return _0x398276&&_0x14359d>0x0&&_0x48063a[_0x184592(0x3b8)]===0x0&&_0x48063a['push']({'st':0x0,'ed':_0x14359d,'ts':{..._0x173524?{'cl':{'rgb':_0x173524}}:{},'textFill':_0x398276}}),{..._0x42db03,'id':_0x42db03['id']??_0xd001f3,'body':{..._0x508a96,'dataStream':_0x3bbc9e,'paragraphs':(_0xdd956b=_0x508a96[_0x184592(0x695)])!=null&&_0xdd956b[_0x184592(0x3b8)]?_0x508a96[_0x184592(0x695)]:[Bi()],'textRuns':_0x48063a},'documentStyle':{..._0x42db03['documentStyle'],'textStyle':_0x198f09}};}function Fi(_0x16f20d,_0x416500,_0x2d0161){const _0x41534c=_0x19aaa2;return _0x416500?_0x16f20d[_0x41534c(0x6bf)]=_0x416500:delete _0x16f20d[_0x41534c(0x6bf)],_0x2d0161?_0x16f20d['cl']={'rgb':_0x2d0161}:delete _0x16f20d['cl'],_0x16f20d;}function Ii(_0x4bd9b6){const _0x5b4d93=_0x19aaa2;if(!_0x4bd9b6||_0x4bd9b6[_0x5b4d93(0x5af)]===_0x5b4d93(0x4a1))return(_0x4bd9b6==null?void 0x0:_0x4bd9b6[_0x5b4d93(0x5af)])==='none'?_0x5b4d93(0x61c):void 0x0;if(_0x4bd9b6['type']===_0x5b4d93(0x3ce)){var _0x86f206;return((_0x86f206=_0x4bd9b6['gradient'])==null||(_0x86f206=_0x86f206[_0x5b4d93(0x691)])==null||(_0x86f206=_0x86f206[0x0])==null?void 0x0:_0x86f206[_0x5b4d93(0x587)])??_0x4bd9b6['color'];}return _0x4bd9b6[_0x5b4d93(0x587)];}function Li(_0x686673,_0x540d0a,_0xcd6d50){const _0xb861bb=_0x19aaa2;let _0x550c0a=_0x257efd[_0xb861bb(0x206)](_0x686673[_0xb861bb(0x416)]),_0x1b6c47=_0x942cb2(_0x540d0a);return _0x233bd5(_0x550c0a,_0x1b6c47,(_0x4355b0,_0x53eb6d,_0x2f8d51)=>{const _0x543a5f=_0xb861bb;let _0x3bca96=_0x543a5f(0x227)+_0x686673['id']+'_'+_0x53eb6d+'_'+_0x2f8d51;_0x4355b0[_0x543a5f(0x427)]=Ri(_0x4355b0['textData'],_0xcd6d50,_0x3bca96);}),{'rows':_0x550c0a};}function Ri(_0x2d1d4d,_0x2b8b7d,_0x134a2a){const _0x4d923f=_0x19aaa2;var _0x3f40e5,_0x20379f;let _0x21be31=_0x257efd[_0x4d923f(0x206)](_0x2d1d4d??zi(_0x134a2a)),_0x5f7439=_0x21be31[_0x4d923f(0x4cc)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x394e05=_0x5f7439[_0x4d923f(0x40e)]??'\x0d\x0a',_0x138aaa=Math[_0x4d923f(0x6f0)](0x0,_0x394e05[_0x4d923f(0x3b8)]-0x2),_0x39ca35=(_0x5f7439[_0x4d923f(0x3a9)]??[])[_0x4d923f(0x694)](_0x19b8de=>({..._0x19b8de,'ts':{..._0x19b8de['ts'],..._0x2b8b7d}}));return _0x138aaa>0x0&&_0x39ca35[_0x4d923f(0x3b8)]===0x0&&_0x39ca35[_0x4d923f(0x232)]({'st':0x0,'ed':_0x138aaa,'ts':_0x2b8b7d}),{..._0x21be31,'id':_0x21be31['id']??_0x134a2a,'body':{..._0x5f7439,'dataStream':_0x394e05,'paragraphs':(_0x3f40e5=_0x5f7439['paragraphs'])!=null&&_0x3f40e5[_0x4d923f(0x3b8)]?_0x5f7439[_0x4d923f(0x695)]:[Bi()],'textRuns':_0x39ca35},'documentStyle':{..._0x21be31[_0x4d923f(0x725)],'textStyle':{...(_0x20379f=_0x21be31[_0x4d923f(0x725)])==null?void 0x0:_0x20379f[_0x4d923f(0x442)],..._0x2b8b7d}}};}function zi(_0x5bb34e){return{'id':_0x5bb34e,'body':{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},'documentStyle':{}};}function Bi(){return{'startIndex':0x0,'paragraphId':_0x4d6594(new Set())};}function Vi(_0x4572db){const _0x5bee67=_0x19aaa2;return _0x4572db===_0x392db0[_0x5bee67(0x2f5)]?_0x2fcbc6['Middle']:_0x4572db===_0x392db0[_0x5bee67(0x310)]?_0x2fcbc6['Bottom']:_0x2fcbc6['Top'];}const Hi={'insertRows':_0x24d407['id'],'insertColumns':_0x4ead81['id'],'deleteRows':_0x302d8d['id'],'deleteColumns':_0x331d5a['id'],'mergeCells':_0x5c1088['id'],'unmergeCells':_0x5d463c['id'],'updateTable':_0xeaf0f0['id']},Ui=[{'title':_0x19aaa2(0x3c7)},{'title':_0x19aaa2(0x692),'color':_0x19aaa2(0x692)},{'title':'gray.100','color':_0x19aaa2(0x242)},{'title':_0x19aaa2(0x327),'color':_0x19aaa2(0x327)},{'title':_0x19aaa2(0x341),'color':'blue.100'},{'title':_0x19aaa2(0x3bb),'color':_0x19aaa2(0x3bb)},{'title':_0x19aaa2(0x24a),'color':'yellow.100'},{'title':_0x19aaa2(0x2c9),'color':_0x19aaa2(0x2c9)}],Wi=[{'title':'slides-table-ui.contextMenu.resetColor'},{'title':_0x19aaa2(0x3ca),'color':_0x19aaa2(0x3ca)},{'title':_0x19aaa2(0x3d8),'color':_0x19aaa2(0x3d8)},{'title':_0x19aaa2(0x39c),'color':'red.600'},{'title':_0x19aaa2(0x509),'color':_0x19aaa2(0x509)},{'title':'yellow.700','color':_0x19aaa2(0x3b6)},{'title':_0x19aaa2(0x586),'color':_0x19aaa2(0x586)},{'title':_0x19aaa2(0x2ee),'color':_0x19aaa2(0x2ee)},{'title':_0x19aaa2(0x5de),'color':_0x19aaa2(0x5de)}],Gi=wa('slide.operation.slide-table-insert-row-above',X[_0x19aaa2(0x31d)]),Ki=wa('slide.operation.slide-table-insert-row-below',X[_0x19aaa2(0x31f)]),qi=wa(_0x19aaa2(0x4c8),X[_0x19aaa2(0x342)]),Ji=wa(_0x19aaa2(0x1ed),X[_0x19aaa2(0x29e)]),Yi=wa(_0x19aaa2(0x6e1),X['DeleteRows']),Xi=wa(_0x19aaa2(0x5cb),X[_0x19aaa2(0x3e0)]),Zi=wa(_0x19aaa2(0x494),X[_0x19aaa2(0x3eb)]),Qi=wa('slide.operation.slide-table-unmerge-cells',X['UnmergeCells']),$i=wa(_0x19aaa2(0x448),X[_0x19aaa2(0x4f6)]),ea=wa(_0x19aaa2(0x711),X[_0x19aaa2(0x6b1)]),ta={'id':_0x19aaa2(0x295),'type':_0x4157bb[_0x19aaa2(0x4ec)],'handler':_0x5b2f62=>_0x5b2f62['get'](_0x538857)[_0x19aaa2(0x567)](_0xf560['id'])},na={'id':'slide.operation.slide-table-cut-table','type':_0x4157bb['OPERATION'],'handler':_0x25b710=>_0x25b710[_0x19aaa2(0x417)](_0x538857)[_0x19aaa2(0x567)](_0x1cd1fa['id'])},ra={'id':'slide.operation.slide-table-delete-table','type':_0x4157bb['OPERATION'],'handler':_0x4a4409=>{const _0x247e24=_0x19aaa2;let _0x1cd29a=_0x4a4409[_0x247e24(0x417)](_0x538857),_0x37d581=_0x4a4409[_0x247e24(0x417)](_0x45a49b),_0x5f294f=_0x4a4409[_0x247e24(0x417)](_0x16546c),_0x22642e=_0x4a4409[_0x247e24(0x417)](J),_0x6a7480=_0x22642e[_0x247e24(0x25c)](),_0x992419=Z(_0x6a7480),_0x1d2e53=_0x6a7480&&_0x992419?{'unitId':_0x992419[_0x247e24(0x1e5)],'subUnitId':_0x6a7480[_0x247e24(0x47d)],'tableId':_0x992419[_0x247e24(0x546)],'elementId':_0x992419[_0x247e24(0x235)]}:null;if(!_0x1d2e53){let _0x447575=_0x5f294f[_0x247e24(0x49d)](),_0x49ae3c=_0x447575['selectedIds'][_0x247e24(0x3b8)]===0x1?_0x447575['selectedIds'][0x0]:void 0x0,_0x2e0f06=_0x447575[_0x247e24(0x25e)]&&_0x49ae3c?_0x37d581['getDrawingByParam']({..._0x447575[_0x247e24(0x25e)],'drawingId':_0x49ae3c}):null;_0x447575[_0x247e24(0x25e)]&&_0x49ae3c&&(_0x2e0f06==null?void 0x0:_0x2e0f06[_0x247e24(0x354)][_0x247e24(0x5af)])===_0x2af70c[_0x247e24(0x1a9)]&&(_0x1d2e53={'unitId':_0x447575[_0x247e24(0x25e)][_0x247e24(0x1e5)],'subUnitId':_0x447575['context'][_0x247e24(0x47d)],'tableId':_0x2e0f06[_0x247e24(0x354)][_0x247e24(0x546)],'elementId':_0x49ae3c});}if(!_0x1d2e53)return!0x1;let _0x37697e=_0x1cd29a[_0x247e24(0x5d7)](_0x189c0c['id'],_0x1d2e53);return _0x37697e&&(_0x22642e['clear'](),_0x5f294f[_0x247e24(0x625)]()),_0x37697e;}};function ia(_0x1706bf,_0x2fcd5a){const _0x38e48e=_0x19aaa2;return{'id':_0x1706bf,'type':_0x4157bb[_0x38e48e(0x4ec)],'handler':_0x2d1d65=>{const _0xe64ad6=_0x38e48e;let _0x126a62=_0x2d1d65[_0xe64ad6(0x417)](_0x45a49b),_0x4da7ab=_0x2d1d65[_0xe64ad6(0x417)](_0x16546c)[_0xe64ad6(0x49d)](),_0x109781=_0x4da7ab[_0xe64ad6(0x305)][_0xe64ad6(0x3b8)]===0x1?_0x4da7ab[_0xe64ad6(0x305)][0x0]:void 0x0;if(!_0x4da7ab[_0xe64ad6(0x25e)]||!_0x109781)return!0x1;let _0x326c86=_0x126a62[_0xe64ad6(0x511)]({..._0x4da7ab[_0xe64ad6(0x25e)],'drawingId':_0x109781});if((_0x326c86==null?void 0x0:_0x326c86[_0xe64ad6(0x354)][_0xe64ad6(0x5af)])!==_0x2af70c[_0xe64ad6(0x1a9)])return!0x1;let _0x32047e=_0x126a62[_0xe64ad6(0x2ac)](_0x4da7ab[_0xe64ad6(0x25e)][_0xe64ad6(0x1e5)],_0x4da7ab[_0xe64ad6(0x25e)][_0xe64ad6(0x47d)]),_0x54175e=_0x32047e['indexOf'](_0x109781);if(_0x54175e<0x0)return!0x1;let _0x356f2e=[..._0x32047e];if(_0x2fcd5a===_0x111056[_0xe64ad6(0x5e2)]&&_0x54175e<_0x356f2e['length']-0x1)[_0x356f2e[_0x54175e],_0x356f2e[_0x54175e+0x1]]=[_0x356f2e[_0x54175e+0x1],_0x356f2e[_0x54175e]];else{if(_0x2fcd5a===_0x111056[_0xe64ad6(0x344)]&&_0x54175e>0x0)[_0x356f2e[_0x54175e],_0x356f2e[_0x54175e-0x1]]=[_0x356f2e[_0x54175e-0x1],_0x356f2e[_0x54175e]];else{if(_0x2fcd5a===_0x111056[_0xe64ad6(0x32c)]&&_0x54175e<_0x356f2e['length']-0x1)_0x356f2e[_0xe64ad6(0x604)](_0x54175e,0x1),_0x356f2e[_0xe64ad6(0x232)](_0x109781);else{if(_0x2fcd5a===_0x111056[_0xe64ad6(0x28a)]&&_0x54175e>0x0)_0x356f2e[_0xe64ad6(0x604)](_0x54175e,0x1),_0x356f2e[_0xe64ad6(0x247)](_0x109781);else return!0x1;}}}return _0x2d1d65['get'](_0x538857)[_0xe64ad6(0x567)](_0x4982e5['id'],{'unitId':_0x4da7ab['context']['unitId'],'subUnitId':_0x4da7ab[_0xe64ad6(0x25e)]['subUnitId'],'drawingIds':_0x356f2e});}};}const aa=ia('slide-table.operation.arrange-forward',_0x111056['forward']),oa=ia(_0x19aaa2(0x274),_0x111056[_0x19aaa2(0x344)]),sa=ia('slide-table.operation.arrange-front',_0x111056[_0x19aaa2(0x32c)]),ca=ia('slide-table.operation.arrange-back',_0x111056[_0x19aaa2(0x28a)]),la=Ta(_0x19aaa2(0x2b9),_0x16a4b2[_0x19aaa2(0x42b)]),ua=Ta(_0x19aaa2(0x6c2),_0x16a4b2[_0x19aaa2(0x215)]),da=Ta('slide-table.operation.border-inner',_0x16a4b2['Inner']),fa=Ta('slide-table.operation.border-none',_0x16a4b2['None']),pa=Ea(_0x19aaa2(0x2b5),{'axis':_0x19aaa2(0x219),'value':_0x13cebc[_0x19aaa2(0x5b8)]}),ma=Ea('slide-table.operation.align-center',{'axis':_0x19aaa2(0x219),'value':_0x13cebc[_0x19aaa2(0x265)]}),ha=Ea('slide-table.operation.align-right',{'axis':_0x19aaa2(0x219),'value':_0x13cebc['RIGHT']}),ga=Ea('slide-table.operation.align-top',{'axis':_0x19aaa2(0x1d0),'value':_0x392db0['TOP']}),_a=Ea(_0x19aaa2(0x5a5),{'axis':'vertical','value':_0x392db0[_0x19aaa2(0x2f5)]}),va=Ea(_0x19aaa2(0x376),{'axis':_0x19aaa2(0x1d0),'value':_0x392db0[_0x19aaa2(0x310)]}),ya=Ui[_0x19aaa2(0x694)]((_0x1e0810,_0x4c9b84)=>Da('slide-table.operation.background-color-'+_0x4c9b84,_0x1e0810)),ba=Wi[_0x19aaa2(0x694)]((_0x57ccbd,_0x2f6f75)=>Oa(_0x19aaa2(0x60c)+_0x2f6f75,_0x57ccbd)),xa=[Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,...ya,...ba];function Sa(_0x361c83){const _0x2db984=_0x19aaa2;return Z(_0x361c83[_0x2db984(0x25c)]());}function Ca(_0x3a2a95,_0x35b481,_0x52a06c){return li(_0x3a2a95,_0x35b481,_0x52a06c,Hi);}function wa(_0x415071,_0x5a2da0){return{'id':_0x415071,'type':_0x4157bb['OPERATION'],'handler'(_0x36d9ba){const _0x51ce77=_0x1c3c;let _0x2c23eb=_0x36d9ba[_0x51ce77(0x417)](J)[_0x51ce77(0x25c)](),_0xeeb443=Z(_0x2c23eb);if(!_0xeeb443)return!0x1;let _0x4cd3cb=Ca(_0x36d9ba[_0x51ce77(0x417)](_0x16aa1b)['getTable'](_0xeeb443[_0x51ce77(0x1e5)],_0xeeb443[_0x51ce77(0x546)]),_0x2c23eb,_0x5a2da0);return _0x4cd3cb?_0x36d9ba[_0x51ce77(0x417)](_0x538857)['executeCommand'](_0x4cd3cb['commandId'],_0x4cd3cb[_0x51ce77(0x58b)]):!0x1;}};}function Ta(_0x4f2c61,_0x26f1db){return{'id':_0x4f2c61,'type':_0x4157bb['OPERATION'],'handler':_0x53659d=>{const _0x53dab9=_0x1c3c;let _0x32f404=Sa(_0x53659d[_0x53dab9(0x417)](J));if(!_0x32f404)return!0x1;let _0x9ec77d=_0x53659d[_0x53dab9(0x417)](_0x16aa1b)[_0x53dab9(0x512)](_0x32f404['unitId'],_0x32f404[_0x53dab9(0x546)]);return _0x9ec77d?_0x53659d[_0x53dab9(0x417)](_0x538857)[_0x53dab9(0x567)](_0xeaf0f0['id'],{'unitId':_0x32f404[_0x53dab9(0x1e5)],'tableId':_0x32f404['tableId'],'patch':bi(_0x9ec77d,_0x32f404[_0x53dab9(0x680)],_0x26f1db)}):!0x1;}};}function Ea(_0x14a872,_0x1efc0a){return{'id':_0x14a872,'type':_0x4157bb['OPERATION'],'handler':_0x200260=>{const _0x5a67ac=_0x1c3c;let _0x4ce1d5=Sa(_0x200260['get'](J));if(!_0x4ce1d5)return!0x1;let _0x492a06=_0x200260[_0x5a67ac(0x417)](_0x16aa1b)['getTable'](_0x4ce1d5['unitId'],_0x4ce1d5[_0x5a67ac(0x546)]);return _0x492a06?_0x200260[_0x5a67ac(0x417)](_0x538857)[_0x5a67ac(0x567)](_0xeaf0f0['id'],{'unitId':_0x4ce1d5[_0x5a67ac(0x1e5)],'tableId':_0x4ce1d5['tableId'],'patch':di(_0x492a06,_0x4ce1d5[_0x5a67ac(0x680)],_0x1efc0a)}):!0x1;}};}function Da(_0xec8a28,_0xa016f){const _0x57570c=_0x19aaa2;return{'id':_0xec8a28,'title':_0xa016f['title'],'type':_0x4157bb[_0x57570c(0x4ec)],'handler':_0x6afd7a=>{const _0x16c88f=_0x57570c;let _0x1ff568=Sa(_0x6afd7a[_0x16c88f(0x417)](J));if(!_0x1ff568)return!0x1;let _0x648206=_0x6afd7a[_0x16c88f(0x417)](_0x16aa1b)['getTable'](_0x1ff568[_0x16c88f(0x1e5)],_0x1ff568[_0x16c88f(0x546)]);return _0x648206?_0x6afd7a[_0x16c88f(0x417)](_0x538857)['executeCommand'](_0xeaf0f0['id'],{'unitId':_0x1ff568[_0x16c88f(0x1e5)],'tableId':_0x1ff568[_0x16c88f(0x546)],'patch':hi(_0x648206,_0x1ff568['range'],ka(_0x6afd7a,_0xa016f[_0x16c88f(0x587)]))}):!0x1;}};}function Oa(_0x12d8e1,_0x3391ca){const _0x20d669=_0x19aaa2;return{'id':_0x12d8e1,'title':_0x3391ca[_0x20d669(0x49a)],'type':_0x4157bb[_0x20d669(0x4ec)],'handler':_0x2ed4df=>{const _0x145c49=_0x20d669;let _0x1330d7=Sa(_0x2ed4df[_0x145c49(0x417)](J));if(!_0x1330d7)return!0x1;let _0x1c5e09=_0x2ed4df['get'](_0x16aa1b)[_0x145c49(0x512)](_0x1330d7[_0x145c49(0x1e5)],_0x1330d7[_0x145c49(0x546)]);return _0x1c5e09?_0x2ed4df[_0x145c49(0x417)](_0x538857)[_0x145c49(0x567)](_0xeaf0f0['id'],{'unitId':_0x1330d7[_0x145c49(0x1e5)],'tableId':_0x1330d7['tableId'],'patch':_i(_0x1c5e09,_0x1330d7[_0x145c49(0x680)],ka(_0x2ed4df,_0x3391ca[_0x145c49(0x587)]))}):!0x1;}};}function ka(_0x2e7619,_0x4fdf70){const _0xc41eca=_0x19aaa2;if(!_0x4fdf70)return;let _0x32da5f=_0x2e7619['get'](_0x39b8ff);return _0x32da5f[_0xc41eca(0x1ea)](_0x4fdf70)?_0x32da5f[_0xc41eca(0x3da)](_0x4fdf70):_0x4fdf70;}function Aa(_0x159d75){const _0xc9ad65=_0x19aaa2;let _0x2dbd0e=_0x159d75[_0xc9ad65(0x417)](J)[_0xc9ad65(0x25c)](),_0x54cc51=Z(_0x2dbd0e);return Ci(_0x2dbd0e,_0x54cc51?_0x159d75[_0xc9ad65(0x417)](_0x16aa1b)['getTable'](_0x54cc51[_0xc9ad65(0x1e5)],_0x54cc51['tableId']):null);}function ja(_0x3e9c3d){const _0x1a09f7=_0x19aaa2;let _0x1e1561=_0x3e9c3d[_0x1a09f7(0x417)](J)[_0x1a09f7(0x25c)](),_0x47ef02=Z(_0x1e1561);return wi(_0x47ef02?_0x3e9c3d[_0x1a09f7(0x417)](_0x16aa1b)[_0x1a09f7(0x512)](_0x47ef02[_0x1a09f7(0x1e5)],_0x47ef02[_0x1a09f7(0x546)]):null,_0x1e1561);}function Ma(_0x11127e){const _0x55cadd=_0x19aaa2;let _0x15fb21=_0x11127e[_0x55cadd(0x417)](J)[_0x55cadd(0x25c)](),_0x3b91c2=Z(_0x15fb21);return Ti(_0x3b91c2?_0x11127e[_0x55cadd(0x417)](_0x16aa1b)[_0x55cadd(0x512)](_0x3b91c2['unitId'],_0x3b91c2[_0x55cadd(0x546)]):null,_0x15fb21);}function Na(_0x42ce30){const _0x31da34=_0x19aaa2;let _0x4ff862=_0x42ce30[_0x31da34(0x417)](J)[_0x31da34(0x25c)](),_0x4539e7=Z(_0x4ff862);return Ei(_0x4539e7?_0x42ce30['get'](_0x16aa1b)[_0x31da34(0x512)](_0x4539e7[_0x31da34(0x1e5)],_0x4539e7['tableId']):null,_0x4ff862);}function Pa(_0x4f5bac){const _0x248c55=_0x19aaa2;let _0x54ca52=_0x4f5bac[_0x248c55(0x417)](J)['getSelection'](),_0x42b6bf=Z(_0x54ca52);return Di(_0x42b6bf?_0x4f5bac[_0x248c55(0x417)](_0x16aa1b)[_0x248c55(0x512)](_0x42b6bf[_0x248c55(0x1e5)],_0x42b6bf['tableId']):null,_0x54ca52);}function Fa(_0x37ac9a){const _0x21bf82=_0x19aaa2;let _0x5da918=_0x37ac9a[_0x21bf82(0x417)](J)[_0x21bf82(0x25c)](),_0x4c54ff=Z(_0x5da918);return Oi(_0x4c54ff?_0x37ac9a[_0x21bf82(0x417)](_0x16aa1b)[_0x21bf82(0x512)](_0x4c54ff[_0x21bf82(0x1e5)],_0x4c54ff[_0x21bf82(0x546)]):null,_0x5da918);}function Ia(_0x350f08){const _0x47fc1a=_0x19aaa2;return _0x350f08[_0x47fc1a(0x317)][_0x47fc1a(0x3b8)]===0x1&&!_0x350f08[_0x47fc1a(0x582)]&&!_0x350f08[_0x47fc1a(0x5a4)]&&!_0x350f08[_0x47fc1a(0x419)];}function La(_0x546311){const _0x4fd198=_0x19aaa2;return _0x546311===_0x4fd198(0x340)||_0x546311==='insertCompositionText';}function Ra(_0x4a74f1){const _0x4b8bae=_0x19aaa2;if(typeof HTMLElement>'u'||!(_0x4a74f1 instanceof HTMLElement))return!0x1;let _0x3afdc0=_0x4a74f1['tagName']['toLowerCase']();return _0x3afdc0==='input'||_0x3afdc0==='textarea'||_0x3afdc0===_0x4b8bae(0x62e)||Ba(_0x4a74f1);}function za(_0x1cb782){const _0x5d3c70=_0x19aaa2;return typeof HTMLElement>'u'||!(_0x1cb782 instanceof HTMLElement)||!Ba(_0x1cb782)?!0x1:_0x1cb782[_0x5d3c70(0x51d)][_0x5d3c70(0x4aa)]==='editor'||_0x1cb782['id'][_0x5d3c70(0x1ce)](_0x5d3c70(0x35f));}function Ba(_0x380c51){const _0x16492d=_0x19aaa2;return _0x380c51['isContentEditable']||_0x380c51[_0x16492d(0x45f)](_0x16492d(0x1f4))===_0x16492d(0x643);}var Va=class extends _0x525b66{constructor(){const _0x114406=_0x19aaa2;super(),q(this,'_handler',null),q(this,_0x114406(0x4bd),null),this[_0x114406(0x325)]();}[_0x19aaa2(0x699)](_0x34d1db){const _0x1c690e=_0x19aaa2;return this[_0x1c690e(0x5a9)]=_0x34d1db,_0x48d5d0(()=>{const _0x46ecc6=_0x1c690e;this[_0x46ecc6(0x5a9)]===_0x34d1db&&(this[_0x46ecc6(0x5a9)]=null);});}['setInputHandler'](_0x56671b){const _0x47e02d=_0x19aaa2;return this[_0x47e02d(0x4bd)]=_0x56671b,_0x48d5d0(()=>{const _0x1e07c2=_0x47e02d;this[_0x1e07c2(0x4bd)]===_0x56671b&&(this[_0x1e07c2(0x4bd)]=null);});}['handle'](_0xd98fc1){const _0x37e676=_0x19aaa2;var _0x572704;return((_0x572704=this[_0x37e676(0x5a9)])==null?void 0x0:_0x572704[_0x37e676(0x273)](this,_0xd98fc1))??!0x1;}[_0x19aaa2(0x5f3)](_0x3e4c78){const _0x586cf1=_0x19aaa2;var _0x4ea5cb;return((_0x4ea5cb=this['_inputHandler'])==null?void 0x0:_0x4ea5cb[_0x586cf1(0x273)](this,_0x3e4c78))??!0x1;}[_0x19aaa2(0x325)](){const _0x4514a2=_0x19aaa2;if(typeof document>'u')return;let _0x5d3843=_0x10cf32=>{const _0x1eea8d=_0x1c3c;this[_0x1eea8d(0x533)](_0x10cf32)&&!_0x10cf32[_0x1eea8d(0x21e)]&&Ia(_0x10cf32)&&this[_0x1eea8d(0x5f3)]({'kind':_0x1eea8d(0x3ea),'text':_0x10cf32[_0x1eea8d(0x317)]})&&(_0x10cf32[_0x1eea8d(0x521)](),_0x10cf32[_0x1eea8d(0x66e)]());},_0x34625f=_0x1de933=>{const _0x3a4dc1=_0x1c3c;this[_0x3a4dc1(0x533)](_0x1de933)&&_0x1de933['data']&&La(_0x1de933[_0x3a4dc1(0x36a)])&&this['handleInput']({'kind':_0x3a4dc1(0x3ea),'text':_0x1de933[_0x3a4dc1(0x423)]})&&(_0x1de933[_0x3a4dc1(0x521)](),_0x1de933[_0x3a4dc1(0x66e)]());},_0x230dab=_0x15de0e=>{const _0x1339ee=_0x1c3c;this['canHandleNativeInput'](_0x15de0e,{'allowDocsEditor':!0x0})&&this['handleInput']({'kind':_0x1339ee(0x6dc)});},_0x33a92a=_0x2d1b75=>{const _0x484819=_0x1c3c;this[_0x484819(0x533)](_0x2d1b75)&&_0x2d1b75['data']&&this['handleInput']({'kind':_0x484819(0x2d2),'text':_0x2d1b75[_0x484819(0x423)]})&&(_0x2d1b75['preventDefault'](),_0x2d1b75['stopPropagation']());};document[_0x4514a2(0x37a)](_0x4514a2(0x701),_0x5d3843,!0x0),document[_0x4514a2(0x37a)]('beforeinput',_0x34625f,!0x0),document[_0x4514a2(0x37a)](_0x4514a2(0x522),_0x230dab,!0x0),document[_0x4514a2(0x37a)](_0x4514a2(0x4fd),_0x33a92a,!0x0),this[_0x4514a2(0x3a8)](_0x48d5d0(()=>{const _0x2606d6=_0x4514a2;document[_0x2606d6(0x720)](_0x2606d6(0x701),_0x5d3843,!0x0),document[_0x2606d6(0x720)](_0x2606d6(0x5a7),_0x34625f,!0x0),document[_0x2606d6(0x720)](_0x2606d6(0x522),_0x230dab,!0x0),document[_0x2606d6(0x720)](_0x2606d6(0x4fd),_0x33a92a,!0x0);}));}};function Q(_0x5f2be4,_0x11bbf3){return function(_0x22baf6,_0x19ad38){_0x11bbf3(_0x22baf6,_0x19ad38,_0x5f2be4);};}function Ha(_0x410cc9,_0x2d948e,_0x1d3fa0,_0x367c55){const _0x5649c4=_0x19aaa2;var _0x48ffe5=arguments['length'],_0x116ed1=_0x48ffe5<0x3?_0x2d948e:_0x367c55===null?_0x367c55=Object[_0x5649c4(0x26c)](_0x2d948e,_0x1d3fa0):_0x367c55,_0x2ecb41;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x5649c4(0x436))_0x116ed1=Reflect['decorate'](_0x410cc9,_0x2d948e,_0x1d3fa0,_0x367c55);else{for(var _0x1036ef=_0x410cc9['length']-0x1;_0x1036ef>=0x0;_0x1036ef--)(_0x2ecb41=_0x410cc9[_0x1036ef])&&(_0x116ed1=(_0x48ffe5<0x3?_0x2ecb41(_0x116ed1):_0x48ffe5>0x3?_0x2ecb41(_0x2d948e,_0x1d3fa0,_0x116ed1):_0x2ecb41(_0x2d948e,_0x1d3fa0))||_0x116ed1);}return _0x48ffe5>0x3&&_0x116ed1&&Object[_0x5649c4(0x391)](_0x2d948e,_0x1d3fa0,_0x116ed1),_0x116ed1;}let Ua=class extends Va{constructor(_0x37620f){const _0x53c669=_0x19aaa2;super(),this[_0x53c669(0x682)]=_0x37620f;}[_0x19aaa2(0x533)](_0x5a94af,_0x425c98){const _0x40ad47=_0x19aaa2;return!this[_0x40ad47(0x682)][_0x40ad47(0x1d8)](_0x270cdc)||!this[_0x40ad47(0x682)][_0x40ad47(0x1d8)](_0x40ad47(0x19b))?!0x1:_0x425c98!=null&&_0x425c98['allowDocsEditor']&&za(_0x5a94af['target'])?!0x0:!Ra(_0x5a94af[_0x40ad47(0x657)]);}};Ua=Ha([Q(0x0,_0x715b7e)],Ua);const Wa=[{'key':_0x19aaa2(0x27c),'action':'move-left'},{'key':_0x19aaa2(0x20b),'action':_0x19aaa2(0x3d3)},{'key':_0x19aaa2(0x6e4),'action':_0x19aaa2(0x6ba)},{'key':_0x19aaa2(0x2db),'action':'move-down'},{'key':_0x19aaa2(0x678),'action':'extend-left'},{'key':_0x19aaa2(0x1d6),'action':'extend-right'},{'key':_0x19aaa2(0x404),'action':_0x19aaa2(0x655)},{'key':'shift-arrow-down','action':_0x19aaa2(0x422)},{'key':_0x19aaa2(0x1fe),'action':_0x19aaa2(0x687)},{'key':_0x19aaa2(0x5fc),'action':'tab-backward'},{'key':_0x19aaa2(0x2c1),'action':_0x19aaa2(0x1d7)},{'key':'f2','action':'edit-cell'},{'key':_0x19aaa2(0x614),'action':_0x19aaa2(0x2d3)},{'key':'backspace','action':'clear-cells'}];function Ga(_0x450aa8){const _0x3a92fc=_0x19aaa2;return Wa[_0x3a92fc(0x694)](_0x35dd81=>({'action':_0x35dd81['action'],'binding':_0x450aa8[_0x35dd81[_0x3a92fc(0x317)]]}));}function Ka(_0x5ada9f){const _0x2c6f48=_0x19aaa2;switch(_0x5ada9f){case _0x2c6f48(0x48b):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1};case'move-right':return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1};case _0x2c6f48(0x6ba):return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x1};case'move-down':return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x1};case _0x2c6f48(0x5a2):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x0};case _0x2c6f48(0x670):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x0};case'extend-up':return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x0};case _0x2c6f48(0x422):return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x0};case _0x2c6f48(0x687):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1,'wrap':!0x0};case _0x2c6f48(0x299):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1,'wrap':!0x0};default:return null;}}function qa(_0x111f9c,_0x168d63,_0xc232ca,_0x1a9423){const _0x30e930=_0x19aaa2;return _0x168d63[_0x30e930(0x1e7)]?Ya(_0x111f9c,_0x168d63,_0xc232ca,_0x1a9423):{'row':Math[_0x30e930(0x1df)](Math[_0x30e930(0x6f0)](0x0,_0x111f9c['row']+_0x168d63[_0x30e930(0x584)]),Math['max'](0x0,_0xc232ca-0x1)),'column':Math['min'](Math[_0x30e930(0x6f0)](0x0,_0x111f9c['column']+_0x168d63[_0x30e930(0x5e6)]),Math[_0x30e930(0x6f0)](0x0,_0x1a9423-0x1))};}function Ja(_0x66ba39,_0x2a4eb1,_0x596624){const _0x49975a=_0x19aaa2;let _0xe4e4fe=Math[_0x49975a(0x6f0)](0x1,_0x2a4eb1),_0x31d655=Math[_0x49975a(0x6f0)](0x1,_0x596624),_0x11c299=_0x66ba39[_0x49975a(0x642)]*_0x31d655+_0x66ba39[_0x49975a(0x3c4)],_0x2ed9da=_0xe4e4fe*_0x31d655-0x1,_0x4dd627=Math['min'](_0x2ed9da,Math[_0x49975a(0x6f0)](0x0,_0x11c299));return{'row':Math['floor'](_0x4dd627/_0x31d655),'column':_0x4dd627%_0x31d655};}function Ya(_0x271a20,_0x1c9dbb,_0x4a196f,_0x5612cf){const _0x4ea6d0=_0x19aaa2;let _0x4ae8e2=Math[_0x4ea6d0(0x6f0)](0x1,_0x4a196f),_0x1c40c8=Math[_0x4ea6d0(0x6f0)](0x1,_0x5612cf);if(_0x1c9dbb['columnDelta']!==0x0&&_0x1c9dbb[_0x4ea6d0(0x584)]===0x0){let _0x4c60bc=_0x4ae8e2*_0x1c40c8,_0xee9100=Ja(_0x271a20,_0x4ae8e2,_0x1c40c8),_0x3524d3=Xa(_0xee9100[_0x4ea6d0(0x642)]*_0x1c40c8+_0xee9100['column']+_0x1c9dbb['columnDelta'],_0x4c60bc);return{'row':Math[_0x4ea6d0(0x46b)](_0x3524d3/_0x1c40c8),'column':_0x3524d3%_0x1c40c8};}return{'row':Xa(_0x271a20['row']+_0x1c9dbb[_0x4ea6d0(0x584)],_0x4ae8e2),'column':Xa(_0x271a20[_0x4ea6d0(0x3c4)]+_0x1c9dbb[_0x4ea6d0(0x5e6)],_0x1c40c8)};}function Xa(_0xc0b025,_0x434ddf){return(_0xc0b025%_0x434ddf+_0x434ddf)%_0x434ddf;}const Za={'id':_0x19aaa2(0x4d4),'type':_0x4157bb['OPERATION'],'handler':(_0xae39d6,_0x570277)=>_0x570277!=null&&_0x570277[_0x19aaa2(0x28d)]?_0xae39d6[_0x19aaa2(0x417)](Ua)[_0x19aaa2(0x633)](_0x570277[_0x19aaa2(0x28d)]):!0x1},Qa=[Za],$a=Ga({'arrow-left':_0x595e03[_0x19aaa2(0x298)],'arrow-right':_0x595e03['ARROW_RIGHT'],'arrow-up':_0x595e03[_0x19aaa2(0x284)],'arrow-down':_0x595e03[_0x19aaa2(0x3ba)],'shift-arrow-left':_0x595e03[_0x19aaa2(0x298)]|_0x13be8c['SHIFT'],'shift-arrow-right':_0x595e03[_0x19aaa2(0x258)]|_0x13be8c['SHIFT'],'shift-arrow-up':_0x595e03[_0x19aaa2(0x284)]|_0x13be8c[_0x19aaa2(0x72a)],'shift-arrow-down':_0x595e03[_0x19aaa2(0x3ba)]|_0x13be8c[_0x19aaa2(0x72a)],'tab':_0x595e03[_0x19aaa2(0x425)],'shift-tab':_0x595e03['TAB']|_0x13be8c[_0x19aaa2(0x72a)],'enter':_0x595e03[_0x19aaa2(0x532)],'f2':_0x595e03['F2'],'delete':_0x595e03[_0x19aaa2(0x716)],'backspace':_0x595e03[_0x19aaa2(0x1ff)]})[_0x19aaa2(0x694)](({binding:_0xb60d99,action:_0x2783e1})=>to(_0xb60d99,_0x2783e1)),eo=[_0x595e03[_0x19aaa2(0x716)],_0x595e03[_0x19aaa2(0x1ff)]][_0x19aaa2(0x694)](_0x23dd5e=>({'id':ra['id'],'binding':_0x23dd5e,'priority':0x82,'preconditions':ro}));function to(_0x5b4bb9,_0x44823a){return{'id':Za['id'],'binding':_0x5b4bb9,'priority':0x82,'preconditions':no,'staticParameters':{'action':_0x44823a}};}function no(_0x557636){const _0x48886f=_0x19aaa2;return!!(_0x557636['getContextValue'](_0x270cdc)&&_0x557636[_0x48886f(0x1d8)](_0x48886f(0x19b)));}function ro(_0x49b2f0){const _0x5b46e1=_0x19aaa2;return!!(_0x49b2f0[_0x5b46e1(0x1d8)](_0x270cdc)&&_0x49b2f0[_0x5b46e1(0x1d8)](_0x4960af)&&_0x49b2f0[_0x5b46e1(0x1d8)]('FOCUSING_SLIDE_TABLE_OBJECT')&&!_0x49b2f0[_0x5b46e1(0x1d8)](_0x27e4cd));}const io='slide.table-size.dialog';function ao(_0x10122d,_0x30d62b,_0x4a7321){const _0x357189=_0x19aaa2;return Number[_0x357189(0x44d)](_0x10122d)?Math[_0x357189(0x1df)](Math[_0x357189(0x6f0)](Math['floor'](_0x10122d),_0x30d62b),_0x4a7321):_0x30d62b;}function oo(_0x28bf82){const _0x74d447=_0x19aaa2;let {initialRows:_0x324d82=0x3,initialColumns:_0x587fdc=0x5,maxGridRows:_0x184727=0xa,maxGridColumns:_0xca0a4d=0xe,minRows:_0x3cd4bf=0x1,minColumns:_0x326c9f=0x1,maxRows:_0x4c3a26=0x32,maxColumns:_0x2b1cec=0x32,variant:_0x1f3619=_0x74d447(0x2b7),direction:_0x4c8ec5=_0x74d447(0x444),title:_0x2b7094,confirmAction:_0x95bc1='insert',onConfirm:_0x17c658}=_0x28bf82,_0x55564e=_0x238a1a(_0xc7884c),[_0x118fd9,_0x2d7d2d]=_0x32798a(()=>ao(_0x324d82,_0x3cd4bf,_0x4c3a26)),[_0x3cf358,_0x9ee374]=_0x32798a(()=>ao(_0x587fdc,_0x326c9f,_0x2b1cec)),[_0x4f1d83,_0x13bf37]=_0x32798a(null);return{'localeService':_0x55564e,'direction':_0x4c8ec5,'title':_0x2b7094,'confirmAction':_0x95bc1,'rows':_0x118fd9,'columns':_0x3cf358,'minRows':_0x3cd4bf,'minColumns':_0x326c9f,'maxRows':_0x4c3a26,'maxColumns':_0x2b1cec,'maxGridRows':_0x184727,'maxGridColumns':_0xca0a4d,'setRows':_0x2d7d2d,'setColumns':_0x9ee374,'hoverSize':_0x4f1d83,'setHoverSize':_0x13bf37,'selectedRows':(_0x4f1d83==null?void 0x0:_0x4f1d83[_0x74d447(0x416)])??_0x118fd9,'selectedColumns':(_0x4f1d83==null?void 0x0:_0x4f1d83[_0x74d447(0x389)])??_0x3cf358,'isDropdown':_0x1f3619==='dropdown','updateRows':_0x276a65=>_0x2d7d2d(ao(_0x276a65,_0x3cd4bf,_0x4c3a26)),'updateColumns':_0x518f81=>_0x9ee374(ao(_0x518f81,_0x326c9f,_0x2b1cec)),'handleConfirm':()=>_0x17c658({'rows':_0x118fd9,'columns':_0x3cf358}),'onConfirm':_0x17c658};}function so(_0x5b92f2){const _0xa71c44=_0x19aaa2;let {localeService:_0x388ae2,direction:_0xe88f2f,title:_0x5ebb32,confirmAction:_0x2f593b,rows:_0x369861,columns:_0x32c67b,minRows:_0x3ba083,minColumns:_0x29a27f,maxRows:_0x1b0eda,maxColumns:_0x58111e,maxGridRows:_0x28a2f6,maxGridColumns:_0x255ebe,setHoverSize:_0x1241d7,selectedRows:_0x5389ec,selectedColumns:_0x4adc73,isDropdown:_0x1fa04c,updateRows:_0x3a394d,updateColumns:_0x8938e1,handleConfirm:_0x240dbc,onConfirm:_0x45e058}=oo(_0x5b92f2),_0x3b9b6c=_0xa899fb=>_0x2cc562(_0xa71c44(0x4d6),{'className':_0xa899fb?_0xa71c44(0x55e):'univer-grid\x20univer-gap-1','style':{'gridTemplateColumns':_0xa71c44(0x4b1)+_0x255ebe+_0xa71c44(0x6c9)},'children':Array[_0xa71c44(0x1cf)]({'length':_0x28a2f6})['map']((_0x5cad1e,_0x5440f7)=>Array['from']({'length':_0x255ebe})[_0xa71c44(0x694)]((_0x1cb5f2,_0x567230)=>{const _0x1b4d83=_0xa71c44;let _0x1c4b2f=_0x5440f7+0x1,_0x19d233=_0x567230+0x1,_0x55d76a=_0x1c4b2f<=_0x5389ec&&_0x19d233<=_0x4adc73;return _0x2cc562(_0x1b4d83(0x63a),{'type':_0x1b4d83(0x63a),'aria-label':_0x19d233+_0x1b4d83(0x5fb)+_0x1c4b2f,'data-selected':_0x55d76a,'className':_0x30b63f(_0x1b4d83(0x703),_0xa899fb?'univer-size-4\x20univer-rounded-sm':_0x1b4d83(0x461),_0x55d76a?_0xa899fb?'univer-border-primary-500\x20univer-bg-primary-100\x20hover:univer-bg-primary-200':'univer-border-primary-500\x20univer-bg-primary-50':'univer-border-gray-200\x20univer-bg-gray-50\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50',!_0xa899fb&&_0x1b4d83(0x465)),'onMouseEnter':()=>_0x1241d7({'rows':_0x1c4b2f,'columns':_0x19d233}),'onFocus':()=>_0x1241d7({'rows':_0x1c4b2f,'columns':_0x19d233}),'onClick':()=>_0x45e058({'rows':_0x1c4b2f,'columns':_0x19d233})},_0x1c4b2f+':'+_0x19d233);}))});return _0x1fa04c?_0x11ff53(_0xa71c44(0x64c),{'className':_0xa71c44(0x210),'data-u-comp':_0xa71c44(0x45c),'dir':_0xe88f2f,'onClick':_0x45177b=>_0x45177b['stopPropagation'](),'onMouseDown':_0x3dd032=>_0x3dd032[_0xa71c44(0x66e)](),'onMouseLeave':()=>_0x1241d7(null),'children':[_0x3b9b6c(!0x0),_0x11ff53(_0xa71c44(0x4d6),{'dir':_0xa71c44(0x444),'className':_0xa71c44(0x1ef),'children':[_0x4adc73,'\x20×\x20',_0x5389ec]}),_0x11ff53(_0xa71c44(0x4d6),{'className':_0xa71c44(0x358),'children':[_0x2cc562(_0xa71c44(0x4d6),{'className':_0xa71c44(0x66a),'children':_0x388ae2['t'](_0xa71c44(0x37f))}),_0x11ff53(_0xa71c44(0x4d6),{'className':_0xa71c44(0x501),'children':[_0x11ff53(_0xa71c44(0x38f),{'className':_0xa71c44(0x61e),'children':[_0x2cc562('span',{'children':_0x388ae2['t'](_0xa71c44(0x1b1))}),_0x2cc562(_0x121760,{'className':_0xa71c44(0x430),'min':_0x3ba083,'max':_0x1b0eda,'precision':0x0,'value':_0x369861,'onChange':_0xda976c=>_0x3a394d(_0xda976c??_0x3ba083)})]}),_0x11ff53(_0xa71c44(0x38f),{'className':'univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','children':[_0x2cc562('span',{'children':_0x388ae2['t'](_0xa71c44(0x6e8))}),_0x2cc562(_0x121760,{'className':_0xa71c44(0x430),'min':_0x29a27f,'max':_0x58111e,'precision':0x0,'value':_0x32c67b,'onChange':_0x3605c5=>_0x8938e1(_0x3605c5??_0x29a27f)})]}),_0x2cc562(_0x4e0f66,{'className':_0xa71c44(0x3cb),'variant':_0xa71c44(0x574),'onClick':_0x240dbc,'children':_0x388ae2['t'](_0xa71c44(0x207)+_0x2f593b)})]})]})]}):_0x11ff53('div',{'className':_0xa71c44(0x1c2),'data-u-comp':'slide-table-size-picker','dir':_0xe88f2f,'onMouseLeave':()=>_0x1241d7(null),'children':[_0x5ebb32&&_0x2cc562(_0xa71c44(0x4d6),{'className':_0xa71c44(0x6cc),'children':_0x5ebb32}),_0x11ff53('div',{'className':_0xa71c44(0x3e8),'children':[_0x3b9b6c(!0x1),_0x11ff53(_0xa71c44(0x4d6),{'dir':_0xa71c44(0x444),'className':_0xa71c44(0x26b),'children':[_0x4adc73,_0xa71c44(0x2df),_0x5389ec]})]}),_0x2cc562(_0x5ce877,{}),_0x2cc562(_0xa71c44(0x4d6),{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-300','children':_0x388ae2['t']('slides-table-ui.tableSizePicker.customSize')}),_0x11ff53(_0xa71c44(0x4d6),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-3','children':[_0x11ff53(_0xa71c44(0x38f),{'className':_0xa71c44(0x5ce),'children':[_0x2cc562('span',{'className':_0xa71c44(0x4ad),'children':_0x388ae2['t'](_0xa71c44(0x1b1))}),_0x2cc562(_0x121760,{'className':'univer-w-full','min':_0x3ba083,'max':_0x1b0eda,'precision':0x0,'value':_0x369861,'onChange':_0xd1c28c=>_0x3a394d(_0xd1c28c??_0x3ba083)})]}),_0x11ff53('label',{'className':_0xa71c44(0x5ce),'children':[_0x2cc562(_0xa71c44(0x41c),{'className':'univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','children':_0x388ae2['t'](_0xa71c44(0x6e8))}),_0x2cc562(_0x121760,{'className':_0xa71c44(0x430),'min':_0x29a27f,'max':_0x58111e,'precision':0x0,'value':_0x32c67b,'onChange':_0x2ba3dd=>_0x8938e1(_0x2ba3dd??_0x29a27f)})]})]}),_0x2cc562(_0x4e0f66,{'className':_0xa71c44(0x30d),'variant':_0xa71c44(0x574),'onClick':_0x240dbc,'children':_0x388ae2['t'](_0xa71c44(0x207)+_0x2f593b)})]});}function co(_0x268f0b,_0x3ea132,_0x2b0227,_0x2d085a,_0x5f1f67,_0x14e816){const _0x455938=_0x19aaa2;return{'id':_0x455938(0x421),'title':{'title':_0x268f0b},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x0,'children':{'label':{'name':io,'props':{'unitId':_0x3ea132,'tableId':_0x2b0227,'initialRows':_0x2d085a,'initialColumns':_0x5f1f67,'title':_0x268f0b,'onClose':_0x14e816}}},'onClose':_0x14e816};}function lo({PickerComponent:_0x27afb8=so,..._0x584c02}){const _0xff8f8=_0x19aaa2;let {initialColumns:_0x2b3e21,initialRows:_0x3dd713,onClose:_0x92ac1b,tableId:_0x487c5a,title:_0x514aa6,unitId:_0x23d7f6}=_0x584c02,_0x461d3c=_0x238a1a(_0xc7884c),_0x54bdd5=_0x2eae51(_0x461d3c[_0xff8f8(0x2d6)],_0x461d3c['getDirection']()),_0x5b82c4=_0x238a1a(_0x538857),_0x391a99=_0x238a1a(_0x16aa1b);return _0x2cc562('div',{'className':_0xff8f8(0x264),'data-u-comp':_0xff8f8(0x4c4),'children':_0x2cc562(_0x27afb8,{'initialRows':_0x3dd713,'initialColumns':_0x2b3e21,'direction':_0x54bdd5,'title':_0x514aa6,'confirmAction':_0xff8f8(0x38a),'onConfirm':async _0x38e2fa=>{const _0x2e1ec1=_0xff8f8;let _0x522a50=_0x391a99[_0x2e1ec1(0x512)](_0x23d7f6,_0x487c5a);if(!_0x522a50){_0x92ac1b==null||_0x92ac1b();return;}let _0x7e7706=_0x4dc6fd(_0x522a50,_0x38e2fa[_0x2e1ec1(0x416)],_0x38e2fa[_0x2e1ec1(0x389)]);(_0x7e7706[_0x2e1ec1(0x416)]['length']===_0x522a50[_0x2e1ec1(0x416)][_0x2e1ec1(0x3b8)]&&_0x7e7706[_0x2e1ec1(0x389)][_0x2e1ec1(0x3b8)]===_0x522a50[_0x2e1ec1(0x389)]['length']||await _0x5b82c4[_0x2e1ec1(0x567)](_0xeaf0f0['id'],{'unitId':_0x23d7f6,'tableId':_0x487c5a,'patch':{'rows':_0x7e7706[_0x2e1ec1(0x416)],'columns':_0x7e7706['columns']}}))&&(_0x92ac1b==null||_0x92ac1b());}})});}const uo={'id':_0x19aaa2(0x672),'type':_0x4157bb[_0x19aaa2(0x4ec)],'handler':_0xeb5a08=>{const _0x1066b8=_0x19aaa2;let _0x59319d=_0xeb5a08[_0x1066b8(0x417)](_0x45a49b),_0x1177fa=_0xeb5a08[_0x1066b8(0x417)](_0x16aa1b),_0x3fe033=_0xeb5a08[_0x1066b8(0x417)](_0x3e72f2),_0x16f8f9=_0xeb5a08[_0x1066b8(0x417)](_0xc7884c),_0x5bde38=_0x59319d[_0x1066b8(0x528)](),_0x181bfc=_0x5bde38[_0x1066b8(0x3b8)]===0x1?_0x5bde38[0x0]:void 0x0;if(!_0x181bfc)return!0x1;let _0x5e6720=_0x59319d['getDrawingData'](_0x181bfc['unitId'],_0x181bfc[_0x1066b8(0x47d)])[_0x181bfc[_0x1066b8(0x3e4)]];if(!_0x5e6720||_0x5e6720[_0x1066b8(0x354)][_0x1066b8(0x5af)]!==_0x2af70c[_0x1066b8(0x1a9)])return!0x1;let _0x2afdba=_0x1177fa[_0x1066b8(0x512)](_0x181bfc['unitId'],_0x5e6720[_0x1066b8(0x354)][_0x1066b8(0x546)]);if(!_0x2afdba)return!0x1;let _0x4676c6=null;return _0x4676c6=_0x3fe033[_0x1066b8(0x2ff)](co(_0x16f8f9['t'](_0x1066b8(0x301)),_0x181bfc[_0x1066b8(0x1e5)],_0x2afdba['id'],_0x2afdba[_0x1066b8(0x416)]['length'],_0x2afdba[_0x1066b8(0x389)][_0x1066b8(0x3b8)],()=>{const _0x3bca49=_0x1066b8;_0x4676c6==null||_0x4676c6[_0x3bca49(0x3e1)](),_0x4676c6=null;})),!0x0;}};let fo=class extends _0x525b66{constructor(_0x3d87bf){const _0x2b5165=_0x19aaa2;super(),q(this,_0x2b5165(0x304),void 0x0),q(this,_0x2b5165(0x518),new _0x294176(!0x1)),q(this,_0x2b5165(0x312),new Set()),q(this,_0x2b5165(0x60a),void 0x0),q(this,_0x2b5165(0x6f6),void 0x0);let _0x17930a=_0x3d87bf['getConfig'](ei);this[_0x2b5165(0x304)]=new _0x294176((_0x17930a==null?void 0x0:_0x17930a[_0x2b5165(0x1c6)])??!0x1),this[_0x2b5165(0x60a)]=this[_0x2b5165(0x304)][_0x2b5165(0x64a)](),this[_0x2b5165(0x6f6)]=_0x2f491f([this[_0x2b5165(0x304)],this['_fallbackVisible$']])['pipe'](_0x1798e7(([_0x210161,_0x2a4348])=>_0x210161||_0x2a4348));}[_0x19aaa2(0x6bb)](){const _0x45e93e=_0x19aaa2;return this[_0x45e93e(0x304)]['getValue']();}[_0x19aaa2(0x715)](_0x52066b){const _0x501b50=_0x19aaa2;this[_0x501b50(0x6bb)]()!==_0x52066b&&this[_0x501b50(0x304)][_0x501b50(0x613)](_0x52066b);}[_0x19aaa2(0x5d9)](){const _0x27488f=_0x19aaa2;return this[_0x27488f(0x6bb)]()||this[_0x27488f(0x518)]['getValue']();}[_0x19aaa2(0x4c1)](_0x3d94cc,_0x3abb7f=_0x19aaa2(0x58a)){const _0x9f15be=_0x19aaa2;_0x3d94cc?this[_0x9f15be(0x312)][_0x9f15be(0x651)](_0x3abb7f):this[_0x9f15be(0x312)][_0x9f15be(0x614)](_0x3abb7f);let _0x2b46af=this[_0x9f15be(0x312)][_0x9f15be(0x653)]>0x0;this[_0x9f15be(0x518)]['getValue']()!==_0x2b46af&&this[_0x9f15be(0x518)][_0x9f15be(0x613)](_0x2b46af);}[_0x19aaa2(0x300)](){const _0x17917c=_0x19aaa2;this['setEnabled'](!this[_0x17917c(0x6bb)]());}[_0x19aaa2(0x3e1)](){const _0x538fc7=_0x19aaa2;this[_0x538fc7(0x304)][_0x538fc7(0x714)](),this[_0x538fc7(0x312)][_0x538fc7(0x463)](),this[_0x538fc7(0x518)][_0x538fc7(0x714)](),super[_0x538fc7(0x3e1)]();}};fo=Ha([Q(0x0,_0x250757)],fo);const po={'id':_0x19aaa2(0x56e),'type':_0x4157bb['OPERATION'],'handler':_0x4f9879=>(_0x4f9879[_0x19aaa2(0x417)](fo)['toggle'](),!0x0)};let mo=class{constructor(_0x52df65,_0x5a4df9,_0x956816){const _0x30a271=_0x19aaa2;this[_0x30a271(0x6da)]=_0x52df65,this[_0x30a271(0x1f0)]=_0x5a4df9,this[_0x30a271(0x4f5)]=_0x956816;}[_0x19aaa2(0x2f1)](_0x362f1c={}){const _0x3314e4=_0x19aaa2;let _0x22aa99=this[_0x3314e4(0x5ad)]();if(!_0x22aa99)return!0x1;let {rows:_0x50a81a,columns:_0x15dfe9,columnWidth:_0x770774,rowHeight:_0x38bbc8}=_0x46b90a(_0x362f1c),_0x5a3434=_0xd7ffb9(0x6);return this['_commandService'][_0x3314e4(0x5d7)](_0xb6f85['id'],{'unitId':_0x22aa99[_0x3314e4(0x1e5)],'subUnitId':_0x22aa99['subUnitId'],'createOptions':{'rows':_0x50a81a,'columns':_0x15dfe9,'columnWidth':_0x770774,'rowHeight':_0x38bbc8,'options':{'firstRow':!0x0,'bandRow':!0x0}},'element':{'id':_0x5a3434,'transform':this['_getCenteredTransform'](_0x22aa99[_0x3314e4(0x51a)],_0x22aa99[_0x3314e4(0x303)],_0x15dfe9*_0x770774,_0x50a81a*_0x38bbc8)}})?(this['_drawingStateService'][_0x3314e4(0x705)]({'unitId':_0x22aa99[_0x3314e4(0x1e5)],'subUnitId':_0x22aa99[_0x3314e4(0x47d)]},[_0x5a3434],_0x5a3434),!0x0):!0x1;}[_0x19aaa2(0x63c)](_0x2d97a8){const _0x335f73=_0x19aaa2;let _0x5d171a=this['_getActiveSlideContext']();if(!_0x5d171a||_0x2d97a8[_0x335f73(0x416)][_0x335f73(0x3b8)]===0x0||_0x2d97a8[_0x335f73(0x389)]['length']===0x0)return!0x1;let _0x380e18=_0xd7ffb9(0x6),_0x3b57bc=_0xd7ffb9(0x6),_0xe40838=_0x2d97a8['columns']['reduce']((_0x473983,_0x53089b)=>_0x473983+_0x53089b[_0x335f73(0x530)],0x0),_0x2fc219=_0x2d97a8['rows'][_0x335f73(0x21c)]((_0x579198,_0x5079ab)=>_0x579198+(_0x5079ab[_0x335f73(0x1aa)]??0x18),0x0),_0x5e2ba1=this[_0x335f73(0x34c)](_0xe40838,_0x2fc219,_0x5d171a[_0x335f73(0x51a)]*0.8,_0x5d171a['pageHeight']*0.8),_0x426f9c=this[_0x335f73(0x1f0)][_0x335f73(0x5d7)](_0xb6f85['id'],{'unitId':_0x5d171a[_0x335f73(0x1e5)],'subUnitId':_0x5d171a[_0x335f73(0x47d)],'createOptions':{'id':_0x380e18,'rows':_0x2d97a8[_0x335f73(0x416)]['length'],'columns':_0x2d97a8[_0x335f73(0x389)][_0x335f73(0x3b8)],'styleId':null},'table':{..._0x2d97a8,'id':_0x380e18,'rev':0x0},'element':{'id':_0x3b57bc,'transform':this['_getCenteredTransform'](_0x5d171a[_0x335f73(0x51a)],_0x5d171a[_0x335f73(0x303)],_0x5e2ba1[_0x335f73(0x530)],_0x5e2ba1[_0x335f73(0x1aa)])}});return _0x426f9c&&this[_0x335f73(0x4f5)][_0x335f73(0x705)]({'unitId':_0x5d171a[_0x335f73(0x1e5)],'subUnitId':_0x5d171a[_0x335f73(0x47d)]},[_0x3b57bc],_0x3b57bc),_0x426f9c;}[_0x19aaa2(0x5ad)](){const _0x141539=_0x19aaa2;let _0xc9aee=this[_0x141539(0x6da)][_0x141539(0x4a7)](_0x35e99f['UNIVER_SLIDE']),_0x2113e0=_0xc9aee==null?void 0x0:_0xc9aee['pageManager'][_0x141539(0x1af)]();if(!_0xc9aee||!_0x2113e0)return null;let _0x30867=_0xb71ebf(_0xc9aee['getSnapshot']()[_0x141539(0x62a)]);return{'unitId':_0xc9aee[_0x141539(0x6ce)](),'subUnitId':_0x2113e0[_0x141539(0x3cf)](),'pageWidth':_0x30867[_0x141539(0x530)],'pageHeight':_0x30867[_0x141539(0x1aa)]};}['_getCenteredTransform'](_0x12d956,_0x5aeffe,_0x3fcf8a,_0x50a42e){const _0x43d1ea=_0x19aaa2;return{'left':Math[_0x43d1ea(0x6f0)](_0x1cf020[_0x43d1ea(0x1ae)],Math[_0x43d1ea(0x51f)]((_0x12d956-_0x3fcf8a)/0x2)),'top':Math['max'](_0x1cf020[_0x43d1ea(0x1ae)],Math[_0x43d1ea(0x51f)]((_0x5aeffe-_0x50a42e)/0x2)),'width':_0x3fcf8a,'height':_0x50a42e,'rotation':0x0};}[_0x19aaa2(0x34c)](_0x6e6249,_0x1ed17b,_0x2e872a,_0x3c4a22){const _0x294be6=_0x19aaa2;let _0x1d4015=Number[_0x294be6(0x44d)](_0x6e6249)&&_0x6e6249>0x0?_0x6e6249:_0x1cf020['fallbackImageWidth'],_0x2eed17=Number[_0x294be6(0x44d)](_0x1ed17b)&&_0x1ed17b>0x0?_0x1ed17b:_0x1cf020[_0x294be6(0x399)],_0x4e7bc5=Math[_0x294be6(0x1df)](_0x2e872a/_0x1d4015,_0x3c4a22/_0x2eed17,0x1);return{'width':Math['max'](_0x1cf020['minImageEdge'],Math[_0x294be6(0x51f)](_0x1d4015*_0x4e7bc5)),'height':Math['max'](_0x1cf020['minImageEdge'],Math[_0x294be6(0x51f)](_0x2eed17*_0x4e7bc5))};}};mo=Ha([Q(0x0,_0xb9e027),Q(0x1,_0x538857),Q(0x2,_0x16546c)],mo);const ho=_0x19aaa2(0x34e);function go({PickerComponent:_0xff7dd3=so}={}){const _0x73e3a4=_0x19aaa2;let _0x28bef1=_0x238a1a(_0xc7884c),_0xd87daf=_0x238a1a(mo),_0xff761d=_0x2eae51(_0x28bef1['direction$'],_0x28bef1[_0x73e3a4(0x363)]());return _0x2cc562(_0xff7dd3,{'initialRows':0x3,'initialColumns':0x5,'direction':_0xff761d,'variant':'dropdown','title':_0x28bef1['t'](_0x73e3a4(0x49f)),'onConfirm':_0x5f4609=>_0xd87daf[_0x73e3a4(0x2f1)](_0x5f4609)});}function _o(_0x51e91){const _0x396217=_0x19aaa2;let {localeService:_0x28dd87,direction:_0x1c8274,title:_0x1e995a,confirmAction:_0x12825b,rows:_0x8e0850,columns:_0x9a2ecb,minRows:_0x508690,minColumns:_0x549367,maxRows:_0x4f1604,maxColumns:_0x1444bc,isDropdown:_0x46f689,updateRows:_0x17177d,updateColumns:_0x589a67,handleConfirm:_0x24372f}=oo(_0x51e91);return _0x11ff53('section',{'className':_0x396217(0x63b),'dir':_0x1c8274,'children':[_0x1e995a&&!_0x46f689&&_0x2cc562('h3',{'className':_0x396217(0x562),'children':_0x1e995a}),_0x2cc562(_0x396217(0x4d6),{'className':_0x396217(0x221),'children':_0x2cc562(_0x4e0f66,{'className':_0x396217(0x646),'variant':_0x396217(0x574),'onClick':_0x24372f,'children':_0x28dd87['t'](_0x396217(0x207)+_0x12825b)})}),_0x11ff53('div',{'className':_0x396217(0x632),'children':[_0x11ff53(_0x396217(0x38f),{'className':_0x396217(0x2d7),'children':[_0x28dd87['t']('slides-table-ui.tableSizePicker.rows'),_0x2cc562(_0x121760,{'className':_0x396217(0x3f6),'controls':!0x1,'min':_0x508690,'max':_0x4f1604,'precision':0x0,'value':_0x8e0850,'onChange':_0x4e81cc=>_0x17177d(_0x4e81cc??_0x508690)})]}),_0x11ff53(_0x396217(0x38f),{'className':_0x396217(0x2d7),'children':[_0x28dd87['t']('slides-table-ui.tableSizePicker.columns'),_0x2cc562(_0x121760,{'className':'univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','controls':!0x1,'min':_0x549367,'max':_0x1444bc,'precision':0x0,'value':_0x9a2ecb,'onChange':_0xcdbe84=>_0x589a67(_0xcdbe84??_0x549367)})]})]})]});}function vo(_0x5b0aae){return _0x2cc562(lo,{..._0x5b0aae,'PickerComponent':_o});}function yo(){return _0x2cc562(go,{'PickerComponent':_o});}const bo=_0x19aaa2(0x1f5),xo='#111827',So=[_0x19aaa2(0x4d3),_0x19aaa2(0x319),_0x19aaa2(0x373),_0x19aaa2(0x1f1),_0x19aaa2(0x601),_0x19aaa2(0x4eb),_0x19aaa2(0x618),'fontSize',_0x19aaa2(0x709),_0x19aaa2(0x384),_0x19aaa2(0x647),'textBackgroundColor',_0x19aaa2(0x676),_0x19aaa2(0x6bf),_0x19aaa2(0x223),_0x19aaa2(0x4db)];function Co(){const _0x3026be=_0x19aaa2;return{'backgroundColor':bo,'backgroundFill':{'type':_0x870dab[_0x3026be(0x56a)],'color':bo,'alpha':0x1},'borderColor':_0x3026be(0x27e),'borderDash':_0x3cd644[_0x3026be(0x56a)],'borderWidth':0x1,'bold':!0x1,'fontFamily':_0x3b71d7['ff'],'fontSize':_0x3b71d7['fs'],'horizontalAlign':_0x13cebc[_0x3026be(0x5b8)],'italic':!0x1,'strike':!0x1,'textBackgroundColor':_0x3b71d7['bg'][_0x3026be(0x56d)],'textColor':xo,'textFill':{'type':_0x3026be(0x435),'color':xo,'opacity':0x1},'underline':!0x1,'verticalAlign':_0x392db0['MIDDLE'],'mixed':{}};}function wo(_0xb5692a,_0x570618){const _0x56b8e2=_0x19aaa2;let _0x2137ef=Co();if(!_0xb5692a||!_0x570618)return _0x2137ef;let _0x2c5747=Math[_0x56b8e2(0x1df)](_0x570618[_0x56b8e2(0x544)],_0x570618[_0x56b8e2(0x3cd)]),_0x3e2b0d=Math['max'](_0x570618[_0x56b8e2(0x544)],_0x570618[_0x56b8e2(0x3cd)]),_0x56ec68=Math[_0x56b8e2(0x1df)](_0x570618[_0x56b8e2(0x2f4)],_0x570618['endColumn']),_0x34710d=Math[_0x56b8e2(0x6f0)](_0x570618[_0x56b8e2(0x2f4)],_0x570618[_0x56b8e2(0x434)]),_0x1b63a7=To(_0xb5692a,_0x2c5747,_0x56ec68,_0x2137ef);for(let _0x23fb17=_0x2c5747;_0x23fb17<=_0x3e2b0d;_0x23fb17++)for(let _0x463b78=_0x56ec68;_0x463b78<=_0x34710d;_0x463b78++){let _0x5c7fce=To(_0xb5692a,_0x23fb17,_0x463b78,_0x2137ef);for(let _0x5cd868 of So)ko(_0x1b63a7[_0x5cd868],_0x5c7fce[_0x5cd868])||(_0x1b63a7[_0x56b8e2(0x539)][_0x5cd868]=!0x0);}return _0x1b63a7;}function To(_0x324c63,_0x3ec8b3,_0xa80562,_0x581af8){const _0x263ea7=_0x19aaa2;var _0x55093d;let _0x2eb709=(_0x55093d=_0x324c63[_0x263ea7(0x416)][_0x3ec8b3])==null?void 0x0:_0x55093d['cells'][_0xa80562];return{...Eo(_0x2eb709,_0x581af8),...Oo(_0x2eb709==null?void 0x0:_0x2eb709[_0x263ea7(0x427)],_0x581af8),'mixed':{}};}function Eo(_0x47694b,_0x5f13fd){const _0x44ec1d=_0x19aaa2;let _0x104277=_0x47694b==null?void 0x0:_0x47694b[_0x44ec1d(0x33c)],_0x451141=Do(_0x104277==null?void 0x0:_0x104277['borders']);return{'backgroundColor':No(_0x104277==null?void 0x0:_0x104277['fill'],_0x5f13fd['backgroundColor']),'backgroundFill':(_0x104277==null?void 0x0:_0x104277[_0x44ec1d(0x40d)])??_0x5f13fd[_0x44ec1d(0x319)],'borderColor':(_0x451141==null?void 0x0:_0x451141[_0x44ec1d(0x587)])??_0x5f13fd[_0x44ec1d(0x373)],'borderDash':(_0x451141==null?void 0x0:_0x451141[_0x44ec1d(0x270)])??_0x5f13fd[_0x44ec1d(0x1f1)],'borderWidth':(_0x451141==null?void 0x0:_0x451141['width'])??_0x5f13fd[_0x44ec1d(0x601)],'verticalAlign':Fo(_0x104277==null?void 0x0:_0x104277[_0x44ec1d(0x4db)])??_0x5f13fd['verticalAlign']};}function Do(_0x104ec2){const _0x1431f9=_0x19aaa2;return(_0x104ec2==null?void 0x0:_0x104ec2['top'])??(_0x104ec2==null?void 0x0:_0x104ec2['left'])??(_0x104ec2==null?void 0x0:_0x104ec2['right'])??(_0x104ec2==null?void 0x0:_0x104ec2[_0x1431f9(0x662)]);}function Oo(_0x2a562e,_0x59e3ee){const _0x44299f=_0x19aaa2;let _0x5303af=Ao(_0x2a562e);return{'bold':_0x5303af['bold']??_0x59e3ee['bold'],'fontFamily':_0x5303af[_0x44299f(0x618)]??_0x59e3ee[_0x44299f(0x618)],'fontSize':_0x5303af[_0x44299f(0x2ea)]??_0x59e3ee[_0x44299f(0x2ea)],'horizontalAlign':jo(_0x2a562e)??_0x59e3ee[_0x44299f(0x709)],'italic':_0x5303af[_0x44299f(0x384)]??_0x59e3ee['italic'],'strike':_0x5303af[_0x44299f(0x647)]??_0x59e3ee[_0x44299f(0x647)],'textBackgroundColor':_0x5303af[_0x44299f(0x499)]??_0x59e3ee['textBackgroundColor'],'textColor':_0x5303af['textColor']??Po(_0x5303af[_0x44299f(0x6bf)],_0x59e3ee[_0x44299f(0x676)]),'textFill':_0x5303af[_0x44299f(0x6bf)]??_0x59e3ee['textFill'],'underline':_0x5303af[_0x44299f(0x223)]??_0x59e3ee[_0x44299f(0x223)]};}function ko(_0x1b6157,_0x15246e){const _0x2cb48c=_0x19aaa2;return typeof _0x1b6157==_0x2cb48c(0x729)||typeof _0x15246e==_0x2cb48c(0x729)?JSON['stringify'](_0x1b6157)===JSON[_0x2cb48c(0x3f4)](_0x15246e):_0x1b6157===_0x15246e;}function Ao(_0x44c50c){const _0x2ec477=_0x19aaa2;var _0x16f6a4,_0x237ed4,_0x13986e,_0x5ab240,_0x308452,_0x3b7e38;let _0x8aec88=_0x44c50c==null||(_0x16f6a4=_0x44c50c[_0x2ec477(0x725)])==null?void 0x0:_0x16f6a4[_0x2ec477(0x442)],_0x581cdb=_0x44c50c==null||(_0x237ed4=_0x44c50c[_0x2ec477(0x4cc)])==null||(_0x237ed4=_0x237ed4[_0x2ec477(0x3a9)])==null||(_0x237ed4=_0x237ed4[_0x2ec477(0x3c6)](_0x323305=>_0x323305['ts']))==null?void 0x0:_0x237ed4['ts'],_0xb748ee={..._0x8aec88,..._0x581cdb};return{'bold':_0xb748ee['bl']===_0xd91ed3[_0x2ec477(0x1e1)],'fontFamily':typeof _0xb748ee['ff']==_0x2ec477(0x5b4)?_0xb748ee['ff']:void 0x0,'fontSize':typeof _0xb748ee['fs']=='number'?_0xb748ee['fs']:void 0x0,'italic':_0xb748ee['it']===_0xd91ed3['TRUE'],'strike':((_0x13986e=_0xb748ee['st'])==null?void 0x0:_0x13986e['s'])===_0xd91ed3[_0x2ec477(0x1e1)],'textBackgroundColor':typeof((_0x5ab240=_0xb748ee['bg'])==null?void 0x0:_0x5ab240[_0x2ec477(0x56d)])==_0x2ec477(0x5b4)?_0xb748ee['bg'][_0x2ec477(0x56d)]:void 0x0,'textColor':((_0x308452=_0xb748ee['cl'])==null?void 0x0:_0x308452[_0x2ec477(0x56d)])??Po(_0xb748ee[_0x2ec477(0x6bf)],void 0x0),'textFill':_0xb748ee[_0x2ec477(0x6bf)],'underline':((_0x3b7e38=_0xb748ee['ul'])==null?void 0x0:_0x3b7e38['s'])===_0xd91ed3[_0x2ec477(0x1e1)]};}function jo(_0x5f265c){const _0x113dfd=_0x19aaa2;var _0x286c90,_0x4a136b;let _0x531b81=_0x5f265c==null||(_0x286c90=_0x5f265c[_0x113dfd(0x725)])==null||(_0x286c90=_0x286c90[_0x113dfd(0x231)])==null?void 0x0:_0x286c90[_0x113dfd(0x709)];return _0x531b81===void 0x0?_0x5f265c==null||(_0x4a136b=_0x5f265c[_0x113dfd(0x4cc)])==null||(_0x4a136b=_0x4a136b[_0x113dfd(0x695)])==null||(_0x4a136b=_0x4a136b[_0x113dfd(0x3c6)](_0x5393b8=>{const _0x2e01f7=_0x113dfd;var _0x436e67;return((_0x436e67=_0x5393b8[_0x2e01f7(0x222)])==null?void 0x0:_0x436e67[_0x2e01f7(0x709)])!==void 0x0;}))==null||(_0x4a136b=_0x4a136b[_0x113dfd(0x222)])==null?void 0x0:_0x4a136b['horizontalAlign']:_0x531b81;}function Mo(_0x544279){const _0x4b0d65=_0x19aaa2;var _0x1ea033,_0x4ca867;return!_0x544279||_0x544279[_0x4b0d65(0x5af)]===_0x870dab['None']?'none':_0x544279[_0x4b0d65(0x5af)]===_0x870dab[_0x4b0d65(0x41a)]||(_0x1ea033=_0x544279['picture'])!=null&&_0x1ea033[_0x4b0d65(0x71d)]||_0x544279['picture']?'picture':_0x544279[_0x4b0d65(0x5af)]===_0x870dab[_0x4b0d65(0x2af)]||(_0x4ca867=_0x544279[_0x4b0d65(0x3ce)])!=null&&(_0x4ca867=_0x4ca867[_0x4b0d65(0x691)])!=null&&_0x4ca867[_0x4b0d65(0x3b8)]?_0x4b0d65(0x3ce):_0x4b0d65(0x435);}function No(_0x32e75c,_0x3e0677){const _0xb727ff=_0x19aaa2;var _0x175967;return(_0x32e75c==null?void 0x0:_0x32e75c[_0xb727ff(0x5af)])===_0x870dab['None']?_0x3e0677:(_0x32e75c==null||(_0x175967=_0x32e75c[_0xb727ff(0x3ce)])==null||(_0x175967=_0x175967[_0xb727ff(0x691)])==null||(_0x175967=_0x175967[0x0])==null?void 0x0:_0x175967[_0xb727ff(0x587)])??(_0x32e75c==null?void 0x0:_0x32e75c[_0xb727ff(0x587)])??_0x3e0677;}function Po(_0x4671aa,_0x291993){const _0x4eb74e=_0x19aaa2;var _0x1c102d;return(_0x4671aa==null?void 0x0:_0x4671aa[_0x4eb74e(0x5af)])===_0x4eb74e(0x4a1)?'rgba(0,\x200,\x200,\x200)':(_0x4671aa==null||(_0x1c102d=_0x4671aa['gradient'])==null||(_0x1c102d=_0x1c102d['stops'])==null||(_0x1c102d=_0x1c102d[0x0])==null?void 0x0:_0x1c102d[_0x4eb74e(0x587)])??(_0x4671aa==null?void 0x0:_0x4671aa[_0x4eb74e(0x587)])??_0x291993??_0x4eb74e(0x3f0);}function Fo(_0xde6c46){const _0x47a3d2=_0x19aaa2;if(_0xde6c46===_0x2fcbc6['Top'])return _0x392db0[_0x47a3d2(0x1a2)];if(_0xde6c46===_0x2fcbc6[_0x47a3d2(0x71f)])return _0x392db0[_0x47a3d2(0x310)];if(_0xde6c46===_0x2fcbc6[_0x47a3d2(0x652)])return _0x392db0[_0x47a3d2(0x2f5)];}function Io(_0x20195b,_0x201eff){const _0x2b6da6=_0x19aaa2;var _0x178a03,_0x56cc9a,_0x1ebb9a;return{'type':(_0x20195b==null||(_0x178a03=_0x20195b[_0x2b6da6(0x3ce)])==null?void 0x0:_0x178a03['type'])??_0x2b6da6(0x65f),'angle':(_0x20195b==null||(_0x56cc9a=_0x20195b[_0x2b6da6(0x3ce)])==null?void 0x0:_0x56cc9a[_0x2b6da6(0x4b9)])??0x0,'stops':_0x20195b!=null&&(_0x1ebb9a=_0x20195b['gradient'])!=null&&(_0x1ebb9a=_0x1ebb9a[_0x2b6da6(0x691)])!=null&&_0x1ebb9a[_0x2b6da6(0x3b8)]?_0x20195b[_0x2b6da6(0x3ce)][_0x2b6da6(0x691)][_0x2b6da6(0x694)](_0x2889f4=>({'color':_0x2889f4[_0x2b6da6(0x587)],'offset':_0x2889f4[_0x2b6da6(0x2b2)],'opacity':_0x2889f4[_0x2b6da6(0x5c8)]})):[{'color':(_0x20195b==null?void 0x0:_0x20195b['color'])??_0x201eff,'offset':0x0,'opacity':(_0x20195b==null?void 0x0:_0x20195b[_0x2b6da6(0x2a5)])??0x1},{'color':_0x2b6da6(0x6f3),'offset':0x64,'opacity':0x1}]};}function Lo(_0x1ed7ac){const _0x147cd9=_0x19aaa2;let _0x1ecd6a=_0x1ed7ac[_0x147cd9(0x691)][0x0];return{'type':_0x870dab[_0x147cd9(0x2af)],'color':(_0x1ecd6a==null?void 0x0:_0x1ecd6a['color'])??_0x147cd9(0x1f5),'alpha':(_0x1ecd6a==null?void 0x0:_0x1ecd6a[_0x147cd9(0x5c8)])??0x1,'picture':void 0x0,'gradient':{'type':_0x1ed7ac['type'],'angle':_0x1ed7ac[_0x147cd9(0x4b9)],'stops':_0x1ed7ac[_0x147cd9(0x691)][_0x147cd9(0x694)](_0xca3a15=>({'color':_0xca3a15[_0x147cd9(0x587)],'offset':_0xca3a15[_0x147cd9(0x2b2)],'opacity':_0xca3a15[_0x147cd9(0x5c8)]}))}};}function Ro(_0x32305f,_0x6ead4d){const _0x1db2fb=_0x19aaa2;var _0x2c200e,_0x2c9a04;if((_0x32305f==null?void 0x0:_0x32305f['type'])===_0x1db2fb(0x4a1))return{'backgroundColor':_0x1db2fb(0x5cc),'backgroundImage':_0x1db2fb(0x3e5)};let _0x191a7d=_0x32305f==null||(_0x2c200e=_0x32305f[_0x1db2fb(0x65b)])==null?void 0x0:_0x2c200e[_0x1db2fb(0x71d)];return _0x191a7d&&/^(?:data:|https?:)/[_0x1db2fb(0x1c1)](_0x191a7d)?{'backgroundImage':_0x1db2fb(0x3e3)+_0x191a7d+'\x22)','backgroundPosition':_0x1db2fb(0x44a),'backgroundSize':_0x1db2fb(0x19e)}:_0x32305f!=null&&(_0x2c9a04=_0x32305f[_0x1db2fb(0x3ce)])!=null&&(_0x2c9a04=_0x2c9a04[_0x1db2fb(0x691)])!=null&&_0x2c9a04['length']?{'backgroundImage':zo(Io(_0x32305f,_0x6ead4d))}:{'backgroundColor':(_0x32305f==null?void 0x0:_0x32305f[_0x1db2fb(0x587)])??_0x6ead4d};}function zo(_0x37b759){const _0x435dfc=_0x19aaa2;let _0x2a3950=_0x37b759['stops'][_0x435dfc(0x694)](_0x129d22=>Bo(_0x129d22[_0x435dfc(0x587)],_0x129d22['opacity']??0x1)+'\x20'+_0x129d22[_0x435dfc(0x2b2)]+'%')[_0x435dfc(0x230)](',\x20');return _0x37b759[_0x435dfc(0x5af)]==='radial'||_0x37b759[_0x435dfc(0x5af)]==='diamond'?'radial-gradient(circle,\x20'+_0x2a3950+')':_0x435dfc(0x406)+((_0x37b759[_0x435dfc(0x4b9)]??0x0)+0x5a)%0x168+'deg,\x20'+_0x2a3950+')';}function Bo(_0x32070c,_0x7f9fd0){const _0x58226e=_0x19aaa2;if(_0x7f9fd0>=0x1)return _0x32070c;let _0x2bd109=new _0x3b1bc0(_0x32070c);return _0x2bd109['isValid']?_0x2bd109['setAlpha'](_0x7f9fd0)[_0x58226e(0x6ef)]():_0x32070c;}function Vo(_0x1b0f9a,_0xf2a6a0){const _0x2c0a28=_0x19aaa2;return _0x1b0f9a[_0x2c0a28(0x27a)](_0x524b2f=>_0x524b2f['value']===_0xf2a6a0)?_0x1b0f9a:[{'label':_0xf2a6a0,'value':_0xf2a6a0},..._0x1b0f9a];}const Ho={'MergeCells':_0x19aaa2(0x22b),'UnmergeCells':_0x19aaa2(0x679),'SetCellStyle':_0x19aaa2(0x3ab),'SetBorderPreset':_0x19aaa2(0x6e7)};function Uo(_0x4d4195,_0x52b42f){const _0x761c5a=_0x19aaa2;return[{'id':Ho[_0x761c5a(0x3eb)],'commandId':_0x52b42f[_0x761c5a(0x200)],'enabled':$o(_0x4d4195)},{'id':Ho['UnmergeCells'],'commandId':_0x52b42f[_0x761c5a(0x4ae)],'enabled':Qo(_0x4d4195)},{'id':Ho[_0x761c5a(0x645)],'commandId':_0x52b42f[_0x761c5a(0x279)],'enabled':Qo(_0x4d4195)},{'id':Ho[_0x761c5a(0x3e9)],'commandId':_0x52b42f[_0x761c5a(0x3b2)],'enabled':Qo(_0x4d4195)}];}function Wo(_0x5683ea){const _0x261e9b=_0x19aaa2;let _0x53b6a0=es(_0x5683ea);return!_0x5683ea||!_0x53b6a0?null:{'unitId':_0x5683ea['unitId'],'tableId':_0x5683ea[_0x261e9b(0x546)],'range':_0x53b6a0};}function Go(_0x2d3a01){const _0x21da4d=_0x19aaa2;let _0x53465b=es(_0x2d3a01);return!_0x2d3a01||!_0x53465b?null:{'unitId':_0x2d3a01['unitId'],'tableId':_0x2d3a01[_0x21da4d(0x546)],'range':_0x53465b};}function Ko(_0x4560c9,_0x41be44,_0x2ff5f8){const _0x422911=_0x19aaa2;if(!_0x4560c9||!_0x41be44)return null;if(_0x41be44[_0x422911(0x28d)]===_0x422911(0x578)){let _0x21aa31=Go({..._0x4560c9,'ranges':[_0x41be44[_0x422911(0x680)]],'anchor':{'row':_0x41be44[_0x422911(0x680)][_0x422911(0x544)],'column':_0x41be44[_0x422911(0x680)][_0x422911(0x2f4)]},'focus':{'row':_0x41be44[_0x422911(0x680)][_0x422911(0x544)],'column':_0x41be44[_0x422911(0x680)][_0x422911(0x2f4)]}});return _0x21aa31?{'commandId':_0x2ff5f8[_0x422911(0x4ae)],'params':_0x21aa31}:null;}let _0x266758=Wo({..._0x4560c9,'ranges':[_0x41be44[_0x422911(0x680)]]});return _0x266758?{'commandId':_0x2ff5f8[_0x422911(0x200)],'params':_0x266758}:null;}function qo(_0x15dfa5,_0x53c8bf,_0x20c89e){const _0x12da4e=_0x19aaa2;let _0x363977=es(_0x53c8bf);return!_0x53c8bf||!_0x363977||!_0x15dfa5?null:_0x53c8bf[_0x12da4e(0x3c2)]===_0x12da4e(0x642)?_0x15dfa5['rows'][_0x12da4e(0x3b8)]<=_0x363977[_0x12da4e(0x3cd)]-_0x363977[_0x12da4e(0x544)]+0x1?null:{'commandId':_0x20c89e[_0x12da4e(0x371)],'params':{'unitId':_0x53c8bf[_0x12da4e(0x1e5)],'tableId':_0x53c8bf['tableId'],'startRow':_0x363977[_0x12da4e(0x544)],'endRow':_0x363977['endRow']},'kind':'row'}:_0x53c8bf[_0x12da4e(0x3c2)]===_0x12da4e(0x3c4)?_0x15dfa5[_0x12da4e(0x389)]['length']<=_0x363977[_0x12da4e(0x434)]-_0x363977[_0x12da4e(0x2f4)]+0x1?null:{'commandId':_0x20c89e[_0x12da4e(0x66c)],'params':{'unitId':_0x53c8bf[_0x12da4e(0x1e5)],'tableId':_0x53c8bf[_0x12da4e(0x546)],'startColumn':_0x363977[_0x12da4e(0x2f4)],'endColumn':_0x363977[_0x12da4e(0x434)]},'kind':_0x12da4e(0x3c4)}:null;}function Jo(_0x27d883,_0x368aad){const _0x3a9e38=_0x19aaa2;let _0x5611c1=es(_0x27d883);return!_0x27d883||!_0x5611c1?null:{'unitId':_0x27d883['unitId'],'tableId':_0x27d883[_0x3a9e38(0x546)],'range':_0x5611c1,'style':_0x368aad};}function Yo(_0x2d6631,_0x17ae83,_0xe72f3b){const _0x38f62b=_0x19aaa2;let _0x42c873=es(_0x2d6631);return!_0x2d6631||!_0x42c873?null:{'unitId':_0x2d6631['unitId'],'tableId':_0x2d6631[_0x38f62b(0x546)],'range':_0x42c873,'preset':_0x17ae83,..._0xe72f3b?{'border':_0xe72f3b}:{}};}function Xo(_0x2c2efb,_0x53dfc0){const _0x27d698=_0x19aaa2;let _0xb498f7=es(_0x53dfc0);if(!_0xb498f7)return null;let _0x523830=_0x2c2efb?Zo(_0x2c2efb,_0xb498f7):null;return _0x523830?{'action':_0x27d698(0x578),'range':_0x523830}:_0x5997d8(_0xb498f7)?{'action':_0x27d698(0x507),'range':_0xb498f7}:null;}function Zo(_0x165a78,_0x3d67d4){const _0xb9c5b1=_0x19aaa2;let _0x63099=_0x942cb2(_0x3d67d4);for(let _0x49434b=_0x63099[_0xb9c5b1(0x544)];_0x49434b<=_0x63099[_0xb9c5b1(0x3cd)];_0x49434b+=0x1)for(let _0x3d3cd2=_0x63099[_0xb9c5b1(0x2f4)];_0x3d3cd2<=_0x63099[_0xb9c5b1(0x434)];_0x3d3cd2+=0x1){let _0x58015f=_0x3ade19(_0x165a78,_0x49434b,_0x3d3cd2);if(_0x58015f&&_0x5997d8(_0x58015f))return _0x58015f;}return null;}function Qo(_0x474a15){return!!es(_0x474a15);}function $o(_0x4cf39e){const _0x45d61d=_0x19aaa2;let _0x53d93a=es(_0x4cf39e);return _0x53d93a?_0x53d93a[_0x45d61d(0x544)]!==_0x53d93a[_0x45d61d(0x3cd)]||_0x53d93a[_0x45d61d(0x2f4)]!==_0x53d93a[_0x45d61d(0x434)]:!0x1;}function es(_0x3d616a){const _0x3a5429=_0x19aaa2;return(_0x3d616a==null?void 0x0:_0x3d616a[_0x3a5429(0x568)][0x0])??null;}function ts(_0x4d7596){return Uo(_0x4d7596,{'mergeCells':_0x5c1088['id'],'unmergeCells':_0x5d463c['id'],'setCellStyle':_0xeaf0f0['id'],'setBorderPreset':_0xeaf0f0['id']});}function ns(_0x5cb7e8,_0x4a0e49){return{'actions':ts(_0x4a0e49),'mergeState':Xo(_0x5cb7e8,_0x4a0e49),'values':wo(_0x5cb7e8,_0x4a0e49==null?void 0x0:_0x4a0e49['ranges'][0x0])};}function rs(_0x3bf011,_0x33c7bf,_0x4dfe63){return!_0x3bf011||!_0x33c7bf||!_0x4dfe63?null:Ko(_0x3bf011,{'action':_0x33c7bf,'range':_0x4dfe63},{'mergeCells':_0x5c1088['id'],'unmergeCells':_0x5d463c['id']});}function is(_0x16cd07,_0x13670b){return qo(_0x16cd07,_0x13670b,{'deleteRows':_0x302d8d['id'],'deleteColumns':_0x331d5a['id']});}function as(_0xd7b208){const _0x37efe7=_0x19aaa2;let _0x5d527d=_0x18b959(!0x1),_0x2e69d7=_0x18b959(null),_0x4b7d84=_0x238a1a(J);return _0x582dbb(()=>()=>{_0x2e69d7['current']&&clearTimeout(_0x2e69d7['current']);},[]),_0xd7b208[_0x37efe7(0x5a6)]({'handleOpenChange':_0x5d445c=>{const _0x10e80f=_0x37efe7;(_0x5d445c||!_0x5d527d[_0x10e80f(0x5dc)])&&_0xd7b208[_0x10e80f(0x236)](_0x5d445c);},'markInternalInteraction':()=>{const _0x3dce52=_0x37efe7;_0x4b7d84[_0x3dce52(0x199)](),_0x5d527d['current']=!0x0,_0x2e69d7[_0x3dce52(0x5dc)]&&clearTimeout(_0x2e69d7[_0x3dce52(0x5dc)]),_0x2e69d7[_0x3dce52(0x5dc)]=setTimeout(()=>{const _0x352215=_0x3dce52;_0x5d527d[_0x352215(0x5dc)]=!0x1,_0x2e69d7['current']=null;},0x1f4);}});}const os={'none':_0x19aaa2(0x4a1),'solid':_0x19aaa2(0x435),'gradient':_0x19aaa2(0x3ce),'picture':_0x19aaa2(0x65b)};function ss(_0x235336){const _0x1b83d3=_0x19aaa2;var _0x555428,_0x527962;let {children:_0x5d8e61,color:_0x376a4a,gradientValue:_0xb2ce60,previewStyle:_0x258bb0,showPreview:_0x5ce4c7=!0x0,tableFill:_0x3d8d7a,textFill:_0x470351,open:_0x5a5914,value:_0xc41885,onOpenChange:_0x4b3c32,onTableFillChange:_0x7bb7ec,onTextFillChange:_0x15ec3d}=_0x235336,_0x1a6c27=_0x238a1a(_0xc7884c),_0x5ac8a0={'noFill':_0x1a6c27['t'](_0x1b83d3(0x4c0)),'solidFill':_0x1a6c27['t'](_0x1b83d3(0x44b)),'gradientFill':_0x1a6c27['t'](_0x1b83d3(0x535)),'pictureFill':_0x1a6c27['t']('slides-table-ui.shapePanel.fill.pictureFill'),'color':_0x1a6c27['t']('slides-table-ui.shapePanel.fill.color'),'transparency':_0x1a6c27['t'](_0x1b83d3(0x1fb)),'pictureSource':_0x1a6c27['t'](_0x1b83d3(0x641)),'pictureInsert':_0x1a6c27['t']('slides-table-ui.shapePanel.fill.picture.insert')},_0x4519d7=(_0x3d8d7a==null||(_0x555428=_0x3d8d7a[_0x1b83d3(0x65b)])==null?void 0x0:_0x555428[_0x1b83d3(0x5c8)])??(_0x3d8d7a==null?void 0x0:_0x3d8d7a['alpha'])??(_0x470351==null||(_0x527962=_0x470351[_0x1b83d3(0x65b)])==null?void 0x0:_0x527962[_0x1b83d3(0x5c8)])??(_0x470351==null?void 0x0:_0x470351[_0x1b83d3(0x5c8)])??0x1,_0xa1a5a0=_0x4280fb=>_0x7bb7ec==null?void 0x0:_0x7bb7ec(_0x4280fb),_0x2a7a5f=_0x3de247=>_0x15ec3d==null?void 0x0:_0x15ec3d(_0x3de247);return _0x2cc562(as,{'onOpenChange':_0x4b3c32,'children':({handleOpenChange:_0x522248,markInternalInteraction:_0xccdba9})=>_0x2cc562(_0x3cbd4a,{'overlay':_0x2cc562('div',{'className':_0x30b63f(_0x1b83d3(0x464),_0x1b83d3(0x486),_0x4c5f7e),'data-u-comp':_0x1b83d3(0x5cf),'onMouseDown':_0x1ae793=>{_0xccdba9(),_0x21a5cd(_0x1ae793);},'onPointerDown':_0x25736a=>{_0xccdba9(),_0x21a5cd(_0x25736a);},'children':_0x2cc562(_0x4aa714,{'compact':!0x0,'direction':_0x1a6c27['getDirection'](),'keepColorPickerOpenOnChange':!0x0,'value':_0xc41885,'typeValues':os,'color':_0x376a4a,'transparency':Math[_0x1b83d3(0x51f)]((0x1-_0x4519d7)*0x64),'gradientValue':_0xb2ce60,'labels':_0x5ac8a0,'tabLabels':_0x5ac8a0,'onChange':_0x119049=>{const _0x3d9d10=_0x1b83d3;if(_0x119049===_0x3d9d10(0x4a1))_0xa1a5a0({..._0x3d8d7a,'type':_0x870dab['None'],'gradient':void 0x0,'picture':void 0x0}),_0x2a7a5f({..._0x470351,'type':_0x3d9d10(0x4a1)});else{if(_0x119049===_0x3d9d10(0x435))_0xa1a5a0({..._0x3d8d7a,'type':_0x870dab[_0x3d9d10(0x56a)],'color':_0x376a4a,'alpha':_0x4519d7,'gradient':void 0x0,'picture':void 0x0}),_0x2a7a5f({..._0x470351,'type':_0x3d9d10(0x435),'color':_0x376a4a,'opacity':_0x4519d7});else{if(_0x119049==='gradient')_0xa1a5a0(Lo(_0xb2ce60)),_0x2a7a5f(ds(_0xb2ce60));else{if(_0x119049===_0x3d9d10(0x65b)){var _0x2bcf52,_0x52f3c1;_0xa1a5a0({..._0x3d8d7a,'type':_0x870dab[_0x3d9d10(0x41a)],'color':_0x376a4a,'alpha':_0x4519d7,'gradient':void 0x0,'picture':{..._0x3d8d7a==null?void 0x0:_0x3d8d7a[_0x3d9d10(0x65b)],'opacity':_0x4519d7,'mode':(_0x3d8d7a==null||(_0x2bcf52=_0x3d8d7a[_0x3d9d10(0x65b)])==null?void 0x0:_0x2bcf52[_0x3d9d10(0x52b)])??_0x41b40c[_0x3d9d10(0x272)]}}),_0x2a7a5f({..._0x470351,'type':'picture','color':_0x376a4a,'opacity':_0x4519d7,'picture':{..._0x470351==null?void 0x0:_0x470351[_0x3d9d10(0x65b)],'opacity':_0x4519d7,'mode':(_0x470351==null||(_0x52f3c1=_0x470351[_0x3d9d10(0x65b)])==null?void 0x0:_0x52f3c1[_0x3d9d10(0x52b)])??_0x41b40c[_0x3d9d10(0x272)]}});}}}}},'onColorChange':_0x3af126=>{const _0x5a1046=_0x1b83d3;_0xa1a5a0({..._0x3d8d7a,'type':_0x870dab[_0x5a1046(0x56a)],'color':_0x3af126,'alpha':_0x4519d7,'gradient':void 0x0,'picture':void 0x0}),_0x2a7a5f({..._0x470351,'type':_0x5a1046(0x435),'color':_0x3af126,'opacity':_0x4519d7});},'onTransparencyChange':_0x42952d=>{const _0x2ce3b7=_0x1b83d3;let _0x1d02cc=(0x64-Math[_0x2ce3b7(0x6f0)](0x0,Math[_0x2ce3b7(0x1df)](0x64,_0x42952d)))/0x64;if(_0xc41885===_0x2ce3b7(0x65b)){var _0x338194,_0x3d5437;_0xa1a5a0({..._0x3d8d7a,'type':_0x870dab['Picture'],'picture':{..._0x3d8d7a==null?void 0x0:_0x3d8d7a[_0x2ce3b7(0x65b)],'opacity':_0x1d02cc,'mode':(_0x3d8d7a==null||(_0x338194=_0x3d8d7a[_0x2ce3b7(0x65b)])==null?void 0x0:_0x338194[_0x2ce3b7(0x52b)])??_0x41b40c[_0x2ce3b7(0x272)]}}),_0x2a7a5f({..._0x470351,'type':'picture','picture':{..._0x470351==null?void 0x0:_0x470351['picture'],'opacity':_0x1d02cc,'mode':(_0x470351==null||(_0x3d5437=_0x470351[_0x2ce3b7(0x65b)])==null?void 0x0:_0x3d5437[_0x2ce3b7(0x52b)])??_0x2ce3b7(0x5e7)}});return;}_0xa1a5a0({..._0x3d8d7a,'type':_0x870dab[_0x2ce3b7(0x56a)],'color':_0x376a4a,'alpha':_0x1d02cc,'gradient':void 0x0,'picture':void 0x0}),_0x2a7a5f({..._0x470351,'type':_0x2ce3b7(0x435),'color':_0x376a4a,'opacity':_0x1d02cc});},'onGradientChange':_0x46d93a=>{_0xa1a5a0(Lo(_0x46d93a)),_0x2a7a5f(ds(_0x46d93a));},'pictureFillEditor':_0x7bb7ec?_0x2cc562(cs,{'fill':_0x3d8d7a,'labels':_0x5ac8a0,'onChange':_0xa1a5a0}):_0x2cc562(ls,{'fallbackColor':_0x376a4a,'fill':_0x470351,'labels':_0x5ac8a0,'onChange':_0x2a7a5f})})}),'open':_0x5a5914,'onOpenChange':_0x522248,'children':_0x2cc562('span',{'children':_0x2cc562(_0xed551e,{'title':_0x235336[_0x1b83d3(0x38f)]??_0x1a6c27['t'](_0x1b83d3(0x564)),'placement':'bottom','children':_0x11ff53(_0x4e0f66,{'size':_0x1b83d3(0x462),'variant':'ghost','aria-expanded':_0x5a5914,'aria-label':_0x235336[_0x1b83d3(0x38f)]??_0x1a6c27['t'](_0x1b83d3(0x564)),'className':_0x30b63f({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x5a5914}),'title':_0x235336['label']??_0x1a6c27['t'](_0x1b83d3(0x564)),'type':'button','onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x235336['mixed']?_0x2cc562(_0x1b83d3(0x41c),{'aria-hidden':'true','children':'—'}):_0x5d8e61,_0x235336[_0x1b83d3(0x38f)]&&_0x2cc562(_0x1b83d3(0x41c),{'className':_0x1b83d3(0x6df),'children':_0x235336['label']}),_0x5ce4c7&&!_0x235336[_0x1b83d3(0x539)]?_0x2cc562(_0x1b83d3(0x41c),{'className':'univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-border-gray-300\x20dark:!univer-border-gray-600','style':_0x258bb0}):null,_0x2cc562(_0x9bd590,{'className':_0x1b83d3(0x4bb)})]})})})})});}function cs(_0x4dd2c4){const _0x1a647e=_0x19aaa2;let {fill:_0x562a66,labels:_0x798a9e,onChange:_0x2aa0b2}=_0x4dd2c4,_0x565d48=_0x238a1a(_0x423843),_0x14d6a4=_0x18b959(null),_0x24f188=_0x562a66==null?void 0x0:_0x562a66[_0x1a647e(0x65b)],_0x6a7dae=(_0x24f188==null?void 0x0:_0x24f188[_0x1a647e(0x5c8)])??(_0x562a66==null?void 0x0:_0x562a66[_0x1a647e(0x2a5)])??0x1,_0x5b0904=_0x24f188!=null&&_0x24f188[_0x1a647e(0x71d)]&&/^(?:data:|https?:)/[_0x1a647e(0x1c1)](_0x24f188[_0x1a647e(0x71d)])?_0x24f188[_0x1a647e(0x71d)]:void 0x0;return _0x11ff53(_0x1a647e(0x4d6),{'className':_0x1a647e(0x68d),'children':[_0x11ff53(_0x1a647e(0x4d6),{'className':_0x1a647e(0x38b),'children':[_0x2cc562(_0x1a647e(0x41c),{'className':_0x1a647e(0x4cf),'children':_0x798a9e['pictureSource']}),_0x2cc562(_0x1a647e(0x1fd),{'ref':_0x14d6a4,'type':_0x1a647e(0x5cd),'accept':_0x1a647e(0x24d),'className':_0x1a647e(0x246),'onChange':async _0x17d046=>{const _0xff95be=_0x1a647e;var _0x2fb039;let _0x8cacf5=(_0x2fb039=_0x17d046[_0xff95be(0x657)]['files'])==null?void 0x0:_0x2fb039[0x0];if(!_0x8cacf5)return;_0x17d046[_0xff95be(0x657)]['value']='';let _0x42cf10=await _0x565d48[_0xff95be(0x34b)](_0x8cacf5);if(_0x42cf10==null)return;let {imageSourceType:_0x137550,source:_0x302055,base64Cache:_0x4d2036}=_0x42cf10;if(_0x4d2036){let {image:_0x4349b9}=await _0x2c5a91(_0x4d2036);_0x565d48[_0xff95be(0x54d)](_0x302055,_0x137550,_0x4349b9);}_0x2aa0b2({..._0x562a66,'type':_0x870dab[_0xff95be(0x41a)],'gradient':void 0x0,'picture':{..._0x24f188,'source':_0x302055,'sourceType':_0x137550,'opacity':_0x6a7dae,'mode':(_0x24f188==null?void 0x0:_0x24f188[_0xff95be(0x52b)])??_0x41b40c[_0xff95be(0x272)]}});}}),_0x2cc562(_0x4e0f66,{'size':_0x1a647e(0x462),'type':'button','onClick':()=>{const _0x41403c=_0x1a647e;var _0x1cdd76;return(_0x1cdd76=_0x14d6a4[_0x41403c(0x5dc)])==null?void 0x0:_0x1cdd76[_0x41403c(0x43e)]();},'children':_0x798a9e[_0x1a647e(0x540)]})]}),_0x5b0904&&_0x2cc562('img',{'src':_0x5b0904,'alt':'','className':_0x1a647e(0x4f4)}),_0x2cc562(us,{'label':_0x798a9e[_0x1a647e(0x5b1)],'opacity':_0x6a7dae,'onChange':_0x122016=>_0x2aa0b2({..._0x562a66,'picture':{..._0x24f188,'opacity':_0x122016,'mode':(_0x24f188==null?void 0x0:_0x24f188[_0x1a647e(0x52b)])??_0x41b40c[_0x1a647e(0x272)]}})})]});}function _0x1c3c(_0x4eb532,_0x2addf8){_0x4eb532=_0x4eb532-0x198;const _0x3ba87e=_0x3ba8();let _0x1c3c4a=_0x3ba87e[_0x4eb532];return _0x1c3c4a;}function ls(_0x5fc83f){const _0x1ba6f7=_0x19aaa2;let {fallbackColor:_0x5b38d1,fill:_0x301c3b,labels:_0x789490,onChange:_0x14b4eb}=_0x5fc83f,_0x35da12=_0x238a1a(_0x423843),_0x4f1493=_0x18b959(null),_0xadb926=_0x301c3b==null?void 0x0:_0x301c3b[_0x1ba6f7(0x65b)],_0x3ea7b0=(_0xadb926==null?void 0x0:_0xadb926[_0x1ba6f7(0x5c8)])??(_0x301c3b==null?void 0x0:_0x301c3b[_0x1ba6f7(0x5c8)])??0x1,_0x3f19c6=_0xadb926!=null&&_0xadb926['source']&&/^(?:data:|https?:)/[_0x1ba6f7(0x1c1)](_0xadb926[_0x1ba6f7(0x71d)])?_0xadb926[_0x1ba6f7(0x71d)]:void 0x0;return _0x11ff53(_0x1ba6f7(0x4d6),{'className':_0x1ba6f7(0x68d),'children':[_0x11ff53(_0x1ba6f7(0x4d6),{'className':_0x1ba6f7(0x38b),'children':[_0x2cc562(_0x1ba6f7(0x41c),{'className':_0x1ba6f7(0x4cf),'children':_0x789490[_0x1ba6f7(0x3b1)]}),_0x2cc562('input',{'ref':_0x4f1493,'type':_0x1ba6f7(0x5cd),'accept':_0x1ba6f7(0x24d),'className':'univer-hidden','onChange':async _0x44cd6b=>{const _0x52a42d=_0x1ba6f7;var _0x42ed92;let _0x528d15=(_0x42ed92=_0x44cd6b[_0x52a42d(0x657)]['files'])==null?void 0x0:_0x42ed92[0x0];if(!_0x528d15)return;_0x44cd6b['target'][_0x52a42d(0x39a)]='';let _0x3779eb=await _0x35da12[_0x52a42d(0x34b)](_0x528d15);if(_0x3779eb==null)return;let {imageSourceType:_0x15cae0,source:_0x39cc49,base64Cache:_0x27e0d7}=_0x3779eb;_0x14b4eb({..._0x301c3b,'type':_0x52a42d(0x65b),'color':(_0x301c3b==null?void 0x0:_0x301c3b[_0x52a42d(0x587)])??_0x5b38d1,'picture':{..._0xadb926,'source':_0x27e0d7||_0x39cc49,'sourceType':_0x15cae0,'opacity':_0x3ea7b0,'mode':(_0xadb926==null?void 0x0:_0xadb926[_0x52a42d(0x52b)])??_0x52a42d(0x5e7)}});}}),_0x2cc562(_0x4e0f66,{'size':_0x1ba6f7(0x462),'type':_0x1ba6f7(0x63a),'onClick':()=>{const _0x44eb59=_0x1ba6f7;var _0x41edf7;return(_0x41edf7=_0x4f1493[_0x44eb59(0x5dc)])==null?void 0x0:_0x41edf7[_0x44eb59(0x43e)]();},'children':_0x789490[_0x1ba6f7(0x540)]})]}),_0x3f19c6&&_0x2cc562(_0x1ba6f7(0x395),{'src':_0x3f19c6,'alt':'','className':_0x1ba6f7(0x4f4)}),_0x2cc562(us,{'label':_0x789490[_0x1ba6f7(0x5b1)],'opacity':_0x3ea7b0,'onChange':_0x30b47e=>_0x14b4eb({..._0x301c3b,'type':_0x1ba6f7(0x65b),'color':(_0x301c3b==null?void 0x0:_0x301c3b[_0x1ba6f7(0x587)])??_0x5b38d1,'picture':{..._0xadb926,'opacity':_0x30b47e,'mode':(_0xadb926==null?void 0x0:_0xadb926[_0x1ba6f7(0x52b)])??_0x1ba6f7(0x5e7)}})})]});}function us(_0x44445c){const _0x64ce75=_0x19aaa2;return _0x11ff53('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x2cc562('span',{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x44445c['label']}),_0x2cc562(_0x64ce75(0x4d6),{'className':_0x64ce75(0x60d),'children':_0x2cc562(_0x121760,{'className':_0x64ce75(0x430),'value':Math['round']((0x1-_0x44445c['opacity'])*0x64),'min':0x0,'max':0x64,'step':0xa,'formatter':_0x35289b=>_0x35289b+'%','parser':_0x56c371=>(_0x56c371==null?void 0x0:_0x56c371[_0x64ce75(0x457)]('%',''))||'','onChange':_0x22dcf6=>{const _0x163e7d=_0x64ce75;let _0x536459=Math[_0x163e7d(0x6f0)](0x0,Math[_0x163e7d(0x1df)](0x64,_0x22dcf6??0x0));_0x44445c[_0x163e7d(0x5c1)]((0x64-_0x536459)/0x64);}})})]});}function ds(_0x349ede){const _0x23e12e=_0x19aaa2;var _0x40421b;return{'type':_0x23e12e(0x3ce),'color':((_0x40421b=_0x349ede[_0x23e12e(0x691)][0x0])==null?void 0x0:_0x40421b['color'])??'#111827','gradient':{'type':_0x349ede[_0x23e12e(0x5af)],'angle':_0x349ede[_0x23e12e(0x4b9)],'stops':_0x349ede[_0x23e12e(0x691)][_0x23e12e(0x694)](_0x27bc25=>({'offset':_0x27bc25[_0x23e12e(0x2b2)],'color':_0x27bc25['color'],'opacity':_0x27bc25[_0x23e12e(0x5c8)]}))}};}const fs=_0x1dfcaa[_0x19aaa2(0x694)](_0x216df5=>({'label':_0x216df5['label'],'value':String(_0x216df5['value'])})),ps=[0x0,0x1,0x2,0x3,0x4,0x6],ms=[{'labelKey':_0x19aaa2(0x6fe),'value':_0x3cd644['Solid']},{'labelKey':_0x19aaa2(0x2ce),'value':_0x3cd644[_0x19aaa2(0x46e)]},{'labelKey':_0x19aaa2(0x2e7),'value':_0x3cd644['Dot']},{'labelKey':_0x19aaa2(0x346),'value':_0x3cd644['DashDot']},{'labelKey':_0x19aaa2(0x1b4),'value':_0x3cd644[_0x19aaa2(0x311)]}],hs=[{'labelKey':'slides-table-ui.editorToolbar.borderPresetAll','preset':_0x16a4b2['All']},{'labelKey':_0x19aaa2(0x2ab),'preset':_0x16a4b2[_0x19aaa2(0x688)]},{'labelKey':_0x19aaa2(0x1a8),'preset':_0x16a4b2[_0x19aaa2(0x215)]},{'labelKey':_0x19aaa2(0x67a),'preset':_0x16a4b2['Top']},{'labelKey':'slides-table-ui.editorToolbar.borderPresetBottom','preset':_0x16a4b2[_0x19aaa2(0x71f)]},{'labelKey':_0x19aaa2(0x527),'preset':_0x16a4b2[_0x19aaa2(0x458)]},{'labelKey':_0x19aaa2(0x412),'preset':_0x16a4b2[_0x19aaa2(0x6d5)]},{'labelKey':_0x19aaa2(0x36d),'preset':_0x16a4b2[_0x19aaa2(0x226)]},{'labelKey':_0x19aaa2(0x2cf),'preset':_0x16a4b2[_0x19aaa2(0x466)]},{'labelKey':_0x19aaa2(0x1b4),'preset':_0x16a4b2[_0x19aaa2(0x311)]}],gs={[_0x16a4b2[_0x19aaa2(0x42b)]]:_0x324137,[_0x16a4b2[_0x19aaa2(0x688)]]:_0x4dd7f2,[_0x16a4b2[_0x19aaa2(0x215)]]:_0x19efb1,[_0x16a4b2['Top']]:_0x2bf2eb,[_0x16a4b2[_0x19aaa2(0x71f)]]:_0x1fdc8e,[_0x16a4b2[_0x19aaa2(0x458)]]:_0xdb58a0,[_0x16a4b2[_0x19aaa2(0x6d5)]]:_0x50ecd5,[_0x16a4b2[_0x19aaa2(0x226)]]:_0x329dad,[_0x16a4b2[_0x19aaa2(0x466)]]:_0x4e86b3,[_0x16a4b2[_0x19aaa2(0x311)]]:_0x3a981c},_s={'colorChannel1':'#9ca3af'},vs=_0x19aaa2(0x464);function ys(_0x4887aa){const _0x5c209b=_0x19aaa2;return _0x2cc562(_0x5c209b(0x4d6),{'className':_0x5c209b(0x392),'children':_0x4887aa[_0x5c209b(0x5a6)]});}function bs(_0x554aa2){const _0x44b0b2=_0x19aaa2;return _0x2cc562(_0xed551e,{'title':_0x554aa2['title'],'placement':_0x44b0b2(0x662),'children':_0x2cc562('span',{'children':_0x2cc562(_0x4e0f66,{'size':_0x44b0b2(0x462),'variant':_0x44b0b2(0x4b7),'type':'button','data-toolbar-item':_0x554aa2['data-toolbar-item'],'aria-label':_0x554aa2[_0x44b0b2(0x49a)],'title':_0x554aa2[_0x44b0b2(0x49a)],'onClick':_0x42b2ea=>{const _0x540c2d=_0x44b0b2;_0x42b2ea[_0x540c2d(0x521)](),_0x554aa2[_0x540c2d(0x216)]();},'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':_0x554aa2[_0x44b0b2(0x5a6)]})})});}function xs(_0x1ef5cc){const _0x4f66ab=_0x19aaa2;return _0x2cc562(_0xed551e,{'title':_0x1ef5cc['title'],'placement':_0x4f66ab(0x662),'children':_0x2cc562(_0x4e0f66,{'size':_0x4f66ab(0x462),'variant':_0x4f66ab(0x4b7),'type':_0x4f66ab(0x63a),'aria-label':_0x1ef5cc['title'],'className':_0x30b63f({'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x1ef5cc['active']}),'onClick':_0x205641=>{const _0x5c0074=_0x4f66ab;_0x205641[_0x5c0074(0x521)](),_0x1ef5cc[_0x5c0074(0x216)]();},'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':_0x1ef5cc[_0x4f66ab(0x5a6)]})});}function Ss(_0x55b211){const _0xd9f2fd=_0x19aaa2;let _0x59001c=_0x238a1a(_0xc7884c);return _0x2cc562(as,{'onOpenChange':_0x55b211['onOpenChange'],'children':({handleOpenChange:_0x2f5609,markInternalInteraction:_0x5f57aa})=>_0x2cc562(_0x3cbd4a,{'open':_0x55b211[_0xd9f2fd(0x2ff)],'onOpenChange':_0x2f5609,'overlay':_0x11ff53(_0xd9f2fd(0x64c),{'className':_0x30b63f(vs,'univer-grid\x20univer-gap-2\x20univer-p-2',_0x4c5f7e),'data-u-comp':'slide-table-floating-toolbar-popup','onMouseDown':_0x502d46=>{_0x5f57aa(),_0x21a5cd(_0x502d46);},'onPointerDown':_0x3783a9=>{_0x5f57aa(),_0x21a5cd(_0x3783a9);},'children':[_0x11ff53(_0xd9f2fd(0x4d6),{'className':_0xd9f2fd(0x5aa),'children':[_0x2cc562(xs,{'active':!_0x55b211['values'][_0xd9f2fd(0x539)][_0xd9f2fd(0x4eb)]&&_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x4eb)],'title':_0x59001c['t']('slides-table-ui.editorToolbar.bold'),'onClick':()=>_0x55b211['onToggleStyle']({'bl':_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x539)][_0xd9f2fd(0x4eb)]||!_0x55b211[_0xd9f2fd(0x4b5)]['bold']?_0xd91ed3[_0xd9f2fd(0x1e1)]:_0xd91ed3[_0xd9f2fd(0x721)]}),'children':_0x2cc562(_0x44c355,{})}),_0x2cc562(xs,{'active':!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x539)]['italic']&&_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x384)],'title':_0x59001c['t']('slides-table-ui.editorToolbar.italic'),'onClick':()=>_0x55b211[_0xd9f2fd(0x5d3)]({'it':_0x55b211['values'][_0xd9f2fd(0x539)][_0xd9f2fd(0x384)]||!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x384)]?_0xd91ed3[_0xd9f2fd(0x1e1)]:_0xd91ed3['FALSE']}),'children':_0x2cc562(_0x441261,{})}),_0x2cc562(xs,{'active':!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x539)][_0xd9f2fd(0x223)]&&_0x55b211[_0xd9f2fd(0x4b5)]['underline'],'title':_0x59001c['t'](_0xd9f2fd(0x245)),'onClick':()=>_0x55b211[_0xd9f2fd(0x5d3)]({'ul':{'s':_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x539)][_0xd9f2fd(0x223)]||!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x223)]?_0xd91ed3[_0xd9f2fd(0x1e1)]:_0xd91ed3[_0xd9f2fd(0x721)]}}),'children':_0x2cc562(_0x408c2d,{})}),_0x2cc562(xs,{'active':!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x539)]['strike']&&_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x647)],'title':_0x59001c['t'](_0xd9f2fd(0x685)),'onClick':()=>_0x55b211[_0xd9f2fd(0x5d3)]({'st':{'s':_0x55b211['values'][_0xd9f2fd(0x539)][_0xd9f2fd(0x647)]||!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x647)]?_0xd91ed3['TRUE']:_0xd91ed3[_0xd9f2fd(0x721)]}}),'children':_0x2cc562(_0x43aea7,{})})]}),_0x2cc562(_0x5ce877,{}),_0x2cc562(_0xd9f2fd(0x4d6),{'className':_0xd9f2fd(0x5aa),'children':_0x55b211['horizontalAlignOptions'][_0xd9f2fd(0x694)](_0x500dd8=>_0x2cc562(xs,{'active':!_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x539)][_0xd9f2fd(0x709)]&&_0x55b211['values']['horizontalAlign']===_0x500dd8[_0xd9f2fd(0x39a)],'title':_0x59001c['t'](_0x500dd8[_0xd9f2fd(0x1fc)]),'onClick':()=>_0x55b211[_0xd9f2fd(0x2bd)](_0x500dd8['value']),'children':_0x500dd8[_0xd9f2fd(0x5c5)]},_0x500dd8[_0xd9f2fd(0x39a)]))}),_0x2cc562(_0x5ce877,{}),_0x2cc562(_0xd9f2fd(0x4d6),{'className':_0xd9f2fd(0x5aa),'children':_0x55b211[_0xd9f2fd(0x717)]['map'](_0x1eeedf=>_0x2cc562(xs,{'active':!_0x55b211['values']['mixed'][_0xd9f2fd(0x4db)]&&_0x55b211[_0xd9f2fd(0x4b5)][_0xd9f2fd(0x4db)]===_0x1eeedf[_0xd9f2fd(0x39a)],'title':_0x59001c['t'](_0x1eeedf[_0xd9f2fd(0x1fc)]),'onClick':()=>_0x55b211[_0xd9f2fd(0x2ae)](_0x1eeedf[_0xd9f2fd(0x39a)]),'children':_0x1eeedf[_0xd9f2fd(0x5c5)]},_0x1eeedf['value']))})]}),'children':_0x2cc562('span',{'children':_0x2cc562(_0xed551e,{'title':_0x59001c['t']('slides-table-ui.editorToolbar.textFormat'),'placement':_0xd9f2fd(0x662),'children':_0x11ff53(_0x4e0f66,{'size':'small','variant':_0xd9f2fd(0x4b7),'type':_0xd9f2fd(0x63a),'aria-expanded':_0x55b211['open'],'aria-label':_0x59001c['t'](_0xd9f2fd(0x449)),'className':_0x30b63f({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x55b211[_0xd9f2fd(0x2ff)]}),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x2cc562(_0x10836e,{}),_0x2cc562(_0x9bd590,{'className':_0xd9f2fd(0x4bb)})]})})})})});}function Cs(_0x2a9df7){const _0x4e8776=_0x19aaa2;let _0x3cefe8=_0x238a1a(_0xc7884c);return _0x2cc562(as,{'onOpenChange':_0x2a9df7[_0x4e8776(0x236)],'children':({handleOpenChange:_0xb932e6,markInternalInteraction:_0x280969})=>_0x2cc562(_0x3cbd4a,{'open':_0x2a9df7['open'],'onOpenChange':_0xb932e6,'overlay':_0x2cc562(_0x4e8776(0x64c),{'className':_0x30b63f(vs,_0x4c5f7e),'data-u-comp':_0x4e8776(0x5cf),'onMouseDown':_0x1d06ac=>{_0x280969(),_0x21a5cd(_0x1d06ac);},'onPointerDown':_0x3aecf2=>{_0x280969(),_0x21a5cd(_0x3aecf2);},'children':_0x2a9df7['children']}),'children':_0x2cc562(_0x4e8776(0x41c),{'className':_0x30b63f({'[&>span]:univer-h-full\x20[&>span]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full':_0x2a9df7[_0x4e8776(0x529)]}),'children':_0x2cc562(_0xed551e,{'title':_0x2a9df7[_0x4e8776(0x38f)]??_0x3cefe8['t']('slides-table-ui.editorToolbar.tableTheme'),'placement':'bottom','children':_0x11ff53(_0x4e0f66,{'size':_0x4e8776(0x462),'variant':'ghost','type':'button','data-toolbar-item':'table-theme','aria-expanded':_0x2a9df7[_0x4e8776(0x2ff)],'aria-label':_0x2a9df7[_0x4e8776(0x38f)]??_0x3cefe8['t'](_0x4e8776(0x37d)),'title':_0x2a9df7[_0x4e8776(0x38f)]??_0x3cefe8['t']('slides-table-ui.editorToolbar.tableTheme'),'className':_0x30b63f({'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-min-w-28\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-col\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-px-1.5\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-py-1':_0x2a9df7[_0x4e8776(0x529)],'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x2a9df7['open']}),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x2cc562('span',{'className':_0x30b63f(_0x4e8776(0x4d1),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-3xl':_0x2a9df7[_0x4e8776(0x529)]}),'children':_0x2a9df7[_0x4e8776(0x5c5)]??_0x2cc562(_0x6a1a34,{})}),_0x11ff53('span',{'className':_0x30b63f(_0x4e8776(0x431),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-center':_0x2a9df7[_0x4e8776(0x529)]}),'children':[_0x2a9df7['label']&&_0x2cc562(_0x4e8776(0x41c),{'className':_0x30b63f(_0x4e8776(0x6df),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-none\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-xs':_0x2a9df7[_0x4e8776(0x529)]}),'children':_0x2a9df7[_0x4e8776(0x38f)]}),_0x2cc562(_0x9bd590,{'className':_0x4e8776(0x4bb)})]})]})})})})});}function ws(_0x168174){const _0x28b072=_0x19aaa2;let _0x58c9f7=_0x238a1a(_0xc7884c),_0x113d32=ms[_0x28b072(0x3c6)](_0x2bc962=>_0x2bc962[_0x28b072(0x39a)]===_0x168174[_0x28b072(0x270)])??ms[0x0];return _0x2cc562(as,{'onOpenChange':_0x168174[_0x28b072(0x236)],'children':({handleOpenChange:_0x2f1e83,markInternalInteraction:_0x461554})=>_0x2cc562(_0x3cbd4a,{'open':_0x168174[_0x28b072(0x2ff)],'onOpenChange':_0x2f1e83,'overlay':_0x11ff53('section',{'className':_0x30b63f(vs,'univer-grid\x20univer-gap-2\x20univer-p-2',_0x4c5f7e),'data-u-comp':_0x28b072(0x5cf),'dir':_0x168174[_0x28b072(0x478)],'onMouseDown':_0x234957=>{_0x461554(),_0x21a5cd(_0x234957);},'onPointerDown':_0xaf75b2=>{_0x461554(),_0x21a5cd(_0xaf75b2);},'children':[_0x2cc562(_0x28b072(0x4d6),{'className':_0x28b072(0x361),'children':_0x168174[_0x28b072(0x19c)][_0x28b072(0x694)](({labelKey:_0x208180,preset:_0x27672c})=>{const _0x3a6f0a=_0x28b072;let _0x7ddf32=gs[_0x27672c];return _0x2cc562(_0xed551e,{'title':_0x58c9f7['t'](_0x208180),'placement':_0x3a6f0a(0x662),'children':_0x2cc562(_0x4e0f66,{'size':_0x3a6f0a(0x5c5),'variant':'ghost','type':_0x3a6f0a(0x63a),'aria-label':_0x58c9f7['t'](_0x208180),'onClick':()=>{const _0x401249=_0x3a6f0a;_0x168174[_0x401249(0x6a6)](_0x27672c),_0x168174['onOpenChange'](!0x1);},'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':_0x2cc562(_0x7ddf32,{'className':_0x3a6f0a(0x2da),'extend':_s})})},_0x27672c);})}),_0x2cc562(_0x5ce877,{}),_0x11ff53('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2cc562(Ts,{'title':_0x58c9f7['t'](_0x28b072(0x58e)),'direction':_0x168174[_0x28b072(0x478)],'color':_0x168174[_0x28b072(0x587)],'onChange':_0x168174[_0x28b072(0x54a)],'children':_0x2cc562(_0x6a1a34,{'extend':{'colorChannel1':_0x168174[_0x28b072(0x587)]}})}),_0x2cc562(Ds,{'title':_0x58c9f7['t'](_0x28b072(0x42a)),'direction':_0x168174[_0x28b072(0x478)],'value':String(_0x168174[_0x28b072(0x530)]),'options':ps[_0x28b072(0x694)](_0x48abbf=>({'label':_0x48abbf===0x0?_0x58c9f7['t'](_0x28b072(0x1b4)):_0x48abbf+'px','value':String(_0x48abbf),'icon':_0x2cc562(_0x28b072(0x41c),{'className':_0x28b072(0x6ab),'style':{'height':Math['max'](0x1,_0x48abbf||0x1)}})})),'onChange':_0x2467e2=>_0x168174[_0x28b072(0x36f)](Number(_0x2467e2)),'children':_0x11ff53(_0x28b072(0x41c),{'className':_0x28b072(0x4bb),'children':[_0x168174[_0x28b072(0x530)],'px']})}),_0x2cc562(Ds,{'title':_0x58c9f7['t']('slides-table-ui.editorToolbar.borderStyle'),'direction':_0x168174[_0x28b072(0x478)],'value':_0x168174['dash'],'options':ms['map'](_0x4a9aea=>({'label':_0x58c9f7['t'](_0x4a9aea[_0x28b072(0x1fc)]),'value':_0x4a9aea[_0x28b072(0x39a)],'icon':_0x2cc562(ks,{'dash':_0x4a9aea['value']})})),'onChange':_0x168174[_0x28b072(0x1d3)],'children':_0x113d32?_0x2cc562(ks,{'dash':_0x113d32['value']}):_0x2cc562(_0x324137,{})})]})]}),'children':_0x2cc562(_0x28b072(0x41c),{'children':_0x2cc562(_0xed551e,{'title':_0x168174[_0x28b072(0x38f)]??_0x58c9f7['t'](_0x28b072(0x2cc)),'placement':'bottom','children':_0x11ff53(_0x4e0f66,{'size':_0x28b072(0x462),'variant':_0x28b072(0x4b7),'type':_0x28b072(0x63a),'aria-expanded':_0x168174[_0x28b072(0x2ff)],'aria-label':_0x168174['label']??_0x58c9f7['t'](_0x28b072(0x2cc)),'title':_0x168174['label']??_0x58c9f7['t']('slides-table-ui.editorToolbar.border'),'className':_0x30b63f({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x168174['open']}),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x168174[_0x28b072(0x539)]?_0x2cc562(_0x28b072(0x41c),{'aria-hidden':_0x28b072(0x643),'children':'—'}):_0x2cc562(_0x324137,{}),_0x168174['label']&&_0x2cc562('span',{'className':'univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','children':_0x168174[_0x28b072(0x38f)]}),_0x2cc562(_0x9bd590,{'className':'univer-text-xs'})]})})})})});}function Ts(_0x3e8df4){const _0x3a81a1=_0x19aaa2;let {children:_0x2e476b,color:_0x122f3d,onChange:_0x45005a}=_0x3e8df4,[_0x554aec,_0x1b9b9b]=_0x32798a(!0x1),_0x442689=_0x3e8df4[_0x3a81a1(0x2ff)]??_0x554aec,_0x192c08=_0x3e8df4[_0x3a81a1(0x236)]??_0x1b9b9b;return _0x2cc562(as,{'onOpenChange':_0x192c08,'children':({handleOpenChange:_0x3a44ab,markInternalInteraction:_0x31d889})=>_0x2cc562(_0x3cbd4a,{'overlay':_0x2cc562(_0x3a81a1(0x4d6),{'className':_0x30b63f(vs,_0x3a81a1(0x264),_0x4c5f7e),'data-u-comp':_0x3a81a1(0x5cf),'dir':_0x3e8df4[_0x3a81a1(0x478)],'onMouseDown':_0x5382f5=>{_0x31d889(),_0x21a5cd(_0x5382f5);},'onPointerDown':_0x1c3af0=>{_0x31d889(),_0x21a5cd(_0x1c3af0);},'children':_0x2cc562(_0x1a7251,{'value':_0x122f3d,'onChange':_0x45005a})}),'open':_0x442689,'onOpenChange':_0x3a44ab,'children':_0x2cc562(_0x3a81a1(0x41c),{'children':_0x2cc562(_0xed551e,{'title':_0x3e8df4[_0x3a81a1(0x49a)],'placement':_0x3a81a1(0x662),'children':_0x11ff53(_0x4e0f66,{'size':_0x3a81a1(0x462),'variant':_0x3a81a1(0x4b7),'aria-expanded':_0x442689,'aria-label':_0x3e8df4[_0x3a81a1(0x49a)],'className':_0x30b63f({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x442689}),'title':_0x3e8df4[_0x3a81a1(0x49a)],'type':_0x3a81a1(0x63a),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x2e476b,_0x2cc562(_0x3a81a1(0x41c),{'className':'univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-border-gray-300\x20dark:!univer-border-gray-600','style':{'backgroundColor':_0x122f3d}}),_0x2cc562(_0x9bd590,{'className':_0x3a81a1(0x4bb)})]})})})})});}function Es(_0x38f6cf){const _0x48718e=_0x19aaa2;return _0x2cc562(as,{'onOpenChange':_0x38f6cf[_0x48718e(0x236)],'children':({handleOpenChange:_0x341da9,markInternalInteraction:_0x2315e8})=>_0x2cc562(_0x3cbd4a,{'open':_0x38f6cf[_0x48718e(0x2ff)],'onOpenChange':_0x341da9,'overlay':_0x2cc562(_0x48718e(0x4d6),{'className':_0x30b63f(vs,_0x48718e(0x264),_0x4c5f7e),'data-u-comp':'slide-table-floating-toolbar-popup','onMouseDown':_0x2800df=>{_0x2315e8(),_0x21a5cd(_0x2800df);},'onPointerDown':_0x1c24ea=>{_0x2315e8(),_0x21a5cd(_0x1c24ea);},'children':_0x2cc562(_0x1a7251,{'value':_0x38f6cf[_0x48718e(0x587)],'onChange':_0x38f6cf[_0x48718e(0x5c1)]})}),'children':_0x2cc562(_0x48718e(0x41c),{'children':_0x2cc562(_0xed551e,{'title':_0x38f6cf['title'],'placement':'bottom','children':_0x11ff53(_0x4e0f66,{'size':_0x48718e(0x462),'variant':_0x48718e(0x4b7),'type':'button','data-toolbar-item':_0x38f6cf[_0x48718e(0x30b)],'aria-expanded':_0x38f6cf['open'],'aria-label':_0x38f6cf[_0x48718e(0x49a)],'className':_0x30b63f({'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x38f6cf[_0x48718e(0x2ff)]}),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x38f6cf[_0x48718e(0x539)]?_0x2cc562('span',{'aria-hidden':_0x48718e(0x643),'children':'—'}):_0x38f6cf[_0x48718e(0x5c5)]==='font'?_0x2cc562(_0x467bf2,{'className':_0x48718e(0x686),'extend':{'colorChannel1':_0x38f6cf[_0x48718e(0x587)]}}):_0x2cc562(_0x6a1a34,{'className':'univer-fill-primary-600','extend':{'colorChannel1':_0x48718e(0x28b)}}),_0x2cc562(_0x9bd590,{'className':_0x48718e(0x4bb)})]})})})})});}function Ds(_0x53f0d1){const _0x4c6a00=_0x19aaa2;let {children:_0x2973f7,direction:_0x489e9b,title:_0xa56647,value:_0x54c01e,open:_0x4968a3,options:_0x18ffec,onChange:_0x295148,onOpenChange:_0x31a781}=_0x53f0d1,[_0x44aae2,_0x26b11b]=_0x32798a(!0x1),_0x18255a=_0x4968a3??_0x44aae2,_0x1e5a11=_0x31a781??_0x26b11b,_0xdd4314=_0x18ffec['find'](_0x1fae53=>_0x1fae53[_0x4c6a00(0x39a)]===_0x54c01e)??_0x18ffec[0x0];return _0xdd4314?_0x2cc562(as,{'onOpenChange':_0x1e5a11,'children':({handleOpenChange:_0x43f8f4,markInternalInteraction:_0x40164e})=>_0x2cc562(_0x3cbd4a,{'open':_0x18255a,'onOpenChange':_0x43f8f4,'overlay':_0x2cc562(_0x4c6a00(0x4d6),{'className':_0x30b63f(vs,'univer-min-w-32\x20univer-p-1',_0x4c5f7e),'dir':_0x489e9b,'onMouseDown':_0x4d4d1c=>{_0x40164e(),_0x21a5cd(_0x4d4d1c);},'onPointerDown':_0x1e7e20=>{_0x40164e(),_0x21a5cd(_0x1e7e20);},'children':_0x18ffec[_0x4c6a00(0x694)](_0x4b682c=>_0x11ff53(_0x4e0f66,{'size':'middle','variant':_0x4c6a00(0x4b7),'type':'button','onClick':()=>{const _0x4a9b59=_0x4c6a00;_0x295148(_0x4b682c[_0x4a9b59(0x39a)]),_0x1e5a11(!0x1);},'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'className':_0x30b63f(_0x4c6a00(0x26e),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x4b682c[_0x4c6a00(0x39a)]===_0x54c01e}),'children':[_0x2cc562(_0x4c6a00(0x41c),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x4b682c[_0x4c6a00(0x5c5)]}),_0x2cc562(_0x4c6a00(0x41c),{'className':'univer-flex-1','children':_0x4b682c[_0x4c6a00(0x38f)]})]},_0x4b682c[_0x4c6a00(0x39a)]))}),'children':_0x2cc562(_0x4c6a00(0x41c),{'children':_0x2cc562(_0xed551e,{'title':_0xa56647,'placement':_0x4c6a00(0x662),'children':_0x11ff53(_0x4e0f66,{'size':_0x4c6a00(0x462),'variant':_0x4c6a00(0x4b7),'type':'button','aria-expanded':_0x18255a,'aria-label':_0xa56647,'title':_0xa56647,'className':_0x30b63f({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x18255a}),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x2973f7??_0xdd4314['icon'],_0x2cc562(_0x9bd590,{'className':_0x4c6a00(0x4bb)})]})})})})}):null;}function Os(_0x342dfd){const _0x5b1786=_0x19aaa2;return _0x2cc562(_0xed551e,{'title':_0x342dfd['title'],'placement':_0x5b1786(0x662),'children':_0x2cc562(_0x5b1786(0x41c),{'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':_0x2cc562(_0x26a1e3,{'borderless':!0x0,'className':_0x30b63f(_0x5b1786(0x5ae),_0x342dfd[_0x5b1786(0x401)]),'value':_0x342dfd[_0x5b1786(0x39a)],'options':_0x342dfd[_0x5b1786(0x2d0)],'onChange':_0x342dfd[_0x5b1786(0x5c1)]})})});}function ks(_0x32e17f){const _0x2e3814=_0x19aaa2;let _0x40d1ed=_0x238a1a(_0xc7884c),_0x243a7b=_0x32e17f['dash']===_0x2e3814(0x334)?'1\x203':_0x32e17f['dash']===_0x2e3814(0x270)?_0x2e3814(0x5e9):_0x32e17f[_0x2e3814(0x270)]===_0x2e3814(0x608)?_0x2e3814(0x30f):void 0x0;return _0x32e17f[_0x2e3814(0x270)]==='none'?_0x2cc562('span',{'className':_0x2e3814(0x4bb),'children':_0x40d1ed['t'](_0x2e3814(0x70f))}):_0x2cc562(_0x2e3814(0x33d),{'aria-hidden':'true','height':'16','viewBox':_0x2e3814(0x648),'width':'24','children':_0x2cc562(_0x2e3814(0x1f9),{'d':_0x2e3814(0x5d5),'stroke':_0x2e3814(0x57e),'strokeDasharray':_0x243a7b,'strokeLinecap':_0x2e3814(0x51f),'strokeWidth':'2'})});}const As=[_0x19aaa2(0x519),_0x19aaa2(0x276),_0x19aaa2(0x63f),'minimal'],js={'bestMatch':_0x19aaa2(0x3d9),'light':_0x19aaa2(0x50f),'medium':_0x19aaa2(0x4a5),'minimal':'slides-table-ui.editorToolbar.minimal'},Ms=[{'key':_0x19aaa2(0x5ac),'labelKey':_0x19aaa2(0x336)},{'key':'lastRow','labelKey':_0x19aaa2(0x30c)},{'key':_0x19aaa2(0x6b4),'labelKey':_0x19aaa2(0x2e0)},{'key':_0x19aaa2(0x57c),'labelKey':_0x19aaa2(0x330)},{'key':_0x19aaa2(0x66f),'labelKey':_0x19aaa2(0x727)},{'key':_0x19aaa2(0x36c),'labelKey':_0x19aaa2(0x71a)}];function Ns(_0x2687e9){const _0x30d099=_0x19aaa2;let {currentOptions:_0x847776,currentStyleId:_0x66af7a,direction:_0x3514c='ltr',palette:_0x3f1309,showOptions:_0x103938=!0x0,showThemes:_0x11c909=!0x0,onApplyTheme:_0x22377c,onChangeOptions:_0x370902}=_0x2687e9,_0x56d4e1=_0x238a1a(_0xc7884c),_0x146ecb=_0x355c0c(_0x3f1309),_0x2b50b2=_0x4ba53e=>{_0x370902({..._0x847776,[_0x4ba53e]:!_0x847776[_0x4ba53e]});};return _0x11ff53(_0x30d099(0x4d6),{'className':_0x30b63f(_0x30d099(0x2f0),_0x30d099(0x4bc)),'data-u-comp':'slide-table-theme-gallery','dir':_0x3514c,'style':{'direction':_0x3514c},'children':[_0x103938&&_0x11ff53(_0x30d099(0x4d6),{'className':_0x30b63f(_0x30d099(0x4e5),_0x30d099(0x5f5)),'children':[_0x11ff53(_0x30d099(0x4d6),{'className':_0x30d099(0x309),'children':[_0x2cc562('div',{'className':_0x30d099(0x4fe),'children':_0x56d4e1['t'](_0x30d099(0x37d))}),_0x2cc562(_0x30d099(0x4d6),{'className':_0x30d099(0x397),'children':_0x56d4e1['t'](_0x30d099(0x3a0))})]}),_0x2cc562('div',{'className':_0x30b63f(_0x30d099(0x34f),_0x30d099(0x58c)),'children':Ms['map'](_0x37f16e=>_0x2cc562(Ps,{'active':!!_0x847776[_0x37f16e['key']],'label':_0x56d4e1['t'](_0x37f16e[_0x30d099(0x1fc)]),'onClick':()=>_0x2b50b2(_0x37f16e['key'])},_0x37f16e['key']))})]}),_0x11c909&&_0x2cc562('div',{'className':_0x30b63f('univer-p-2\x20univer-pt-1',_0x30d099(0x30a)),'children':As[_0x30d099(0x694)](_0x23e5c7=>{const _0x3433b4=_0x30d099;let _0x384dfd=_0x5399fa[_0x3433b4(0x1f3)](_0x18039f=>_0x18039f['group']===_0x23e5c7);return _0x384dfd[_0x3433b4(0x3b8)]?_0x11ff53('div',{'className':_0x3433b4(0x3c9),'children':[_0x2cc562(_0x3433b4(0x4d6),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x56d4e1['t'](js[_0x23e5c7])}),_0x2cc562(_0x3433b4(0x4d6),{'className':_0x30b63f('univer-grid\x20univer-gap-2','univer-grid-cols-4'),'children':_0x384dfd[_0x3433b4(0x694)]((_0x2681ed,_0xc05ad)=>{const _0x13cfc6=_0x3433b4;if(!_0x146ecb[_0x2681ed['id']])return null;let _0x4b54ba=_0x847776,_0x462417=_0x66af7a===_0x2681ed['id'],_0x570e5e=_0x56d4e1['t'](js[_0x23e5c7])+'\x20'+(_0xc05ad+0x1);return _0x11ff53('button',{'type':_0x13cfc6(0x63a),'aria-label':_0x570e5e,'title':_0x570e5e,'className':_0x30b63f(_0x13cfc6(0x257),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-shadow-sm\x20dark:!univer-bg-gray-800':_0x462417}),'onClick':()=>_0x22377c(_0x2681ed['id']),'children':[_0x462417&&_0x2cc562(_0x13cfc6(0x41c),{'className':_0x13cfc6(0x4e0),'children':_0x2cc562(_0x5ce528,{'className':'univer-size-3'})}),_0x2cc562(Fs,{'styleId':_0x2681ed['id'],'options':_0x4b54ba,'direction':_0x3514c,'palette':_0x3f1309})]},_0x2681ed['id']);})})]},_0x23e5c7):null;})})]});}function Ps(_0x59aa53){const _0x19b095=_0x19aaa2;return _0x2cc562(_0x19b095(0x4d6),{'aria-pressed':_0x59aa53[_0x19b095(0x339)],'role':_0x19b095(0x63a),'tabIndex':0x0,'className':_0x30b63f('univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20focus-visible:univer-outline\x20focus-visible:univer-outline-2\x20focus-visible:univer-outline-offset-1\x20focus-visible:univer-outline-primary-500\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-border-primary-500\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x59aa53[_0x19b095(0x339)]}),'onClick':_0x59aa53['onClick'],'onKeyDown':_0x3659f0=>{const _0x199858=_0x19b095;(_0x3659f0[_0x199858(0x317)]===_0x199858(0x22a)||_0x3659f0[_0x199858(0x317)]==='\x20')&&(_0x3659f0[_0x199858(0x521)](),_0x59aa53['onClick']());},'children':_0x2cc562(_0x42de38,{'checked':_0x59aa53[_0x19b095(0x339)],'className':_0x19b095(0x4fa),'contentClassName':_0x30b63f(_0x19b095(0x285),_0x59aa53['active']&&_0x19b095(0x4b4)),'onChange':()=>void 0x0,'children':_0x59aa53[_0x19b095(0x38f)]})});}function Fs(_0xa31fa){const _0x4178ba=_0x19aaa2;let _0x391d45={'id':_0x4178ba(0x1d1),'rev':0x0,'styleId':_0xa31fa[_0x4178ba(0x599)],'options':_0xa31fa['options'],'columns':Array['from']({'length':0x5},()=>({'width':0x1})),'rows':Array['from']({'length':0x4},()=>({'height':0x1,'cells':Array['from']({'length':0x5},()=>({}))}))},_0x772f17=_0x59b2f8(_0x391d45,{'themes':_0x355c0c(_0xa31fa['palette'])});return _0x2cc562(_0x4178ba(0x41c),{'className':_0x4178ba(0x555),'children':_0x772f17[_0x4178ba(0x307)][_0x4178ba(0x694)](_0x52394a=>{const _0x52f06d=_0x4178ba;var _0x2e0978,_0x18b2d1,_0x1a2058,_0x325b4e,_0x3341dc,_0x36113d,_0x194bb6,_0x4ab8dc,_0x4dc234,_0x4f34a4;let _0x2eae89=((_0x2e0978=_0x52394a[_0x52f06d(0x33c)][_0x52f06d(0x3a5)])==null?void 0x0:_0x2e0978[_0x52f06d(0x1bd)])??((_0x18b2d1=_0x52394a[_0x52f06d(0x33c)][_0x52f06d(0x3a5)])==null?void 0x0:_0x18b2d1[_0x52f06d(0x662)])??((_0x1a2058=_0x52394a[_0x52f06d(0x33c)]['borders'])==null?void 0x0:_0x1a2058['top'])??((_0x325b4e=_0x52394a['style'][_0x52f06d(0x3a5)])==null?void 0x0:_0x325b4e['left']),_0x1e92f9=(_0x3341dc=_0x52394a['style'][_0x52f06d(0x3a5)])==null?void 0x0:_0x3341dc[_0x52f06d(0x573)],_0x48fdca=(_0x36113d=_0x52394a[_0x52f06d(0x33c)][_0x52f06d(0x3a5)])==null?void 0x0:_0x36113d[_0x52f06d(0x1bd)],_0x2c3f60=(_0x194bb6=_0x52394a['style'][_0x52f06d(0x3a5)])==null?void 0x0:_0x194bb6['bottom'],_0x15102c=(_0x4ab8dc=_0x52394a['style'][_0x52f06d(0x3a5)])==null?void 0x0:_0x4ab8dc[_0x52f06d(0x374)],_0x37de5a=_0xa31fa[_0x52f06d(0x478)]===_0x52f06d(0x385),_0x160936={'background':((_0x4dc234=_0x52394a['style'][_0x52f06d(0x40d)])==null?void 0x0:_0x4dc234['type'])===_0x870dab[_0x52f06d(0x311)]?_0x52f06d(0x5cc):((_0x4f34a4=_0x52394a[_0x52f06d(0x33c)][_0x52f06d(0x40d)])==null?void 0x0:_0x4f34a4[_0x52f06d(0x587)])??_0x52f06d(0x5cc),'borderTop':_0x52394a[_0x52f06d(0x642)]===0x0?'1px\x20solid\x20'+((_0x1e92f9==null?void 0x0:_0x1e92f9[_0x52f06d(0x587)])??(_0x2eae89==null?void 0x0:_0x2eae89[_0x52f06d(0x587)])??_0x52f06d(0x5cc)):void 0x0,'borderRight':_0x37de5a?_0x52394a[_0x52f06d(0x3c4)]===0x0?_0x52f06d(0x6a5)+((_0x15102c==null?void 0x0:_0x15102c[_0x52f06d(0x587)])??(_0x2eae89==null?void 0x0:_0x2eae89[_0x52f06d(0x587)])??_0x52f06d(0x5cc)):void 0x0:_0x52f06d(0x6a5)+((_0x48fdca==null?void 0x0:_0x48fdca[_0x52f06d(0x587)])??(_0x2eae89==null?void 0x0:_0x2eae89[_0x52f06d(0x587)])??_0x52f06d(0x5cc)),'borderBottom':_0x52f06d(0x6a5)+((_0x2c3f60==null?void 0x0:_0x2c3f60[_0x52f06d(0x587)])??(_0x2eae89==null?void 0x0:_0x2eae89['color'])??_0x52f06d(0x5cc)),'borderLeft':_0x37de5a?_0x52f06d(0x6a5)+((_0x48fdca==null?void 0x0:_0x48fdca[_0x52f06d(0x587)])??(_0x2eae89==null?void 0x0:_0x2eae89[_0x52f06d(0x587)])??_0x52f06d(0x5cc)):_0x52394a[_0x52f06d(0x3c4)]===0x0?_0x52f06d(0x6a5)+((_0x15102c==null?void 0x0:_0x15102c[_0x52f06d(0x587)])??(_0x2eae89==null?void 0x0:_0x2eae89[_0x52f06d(0x587)])??'transparent'):void 0x0};return _0x2cc562(_0x52f06d(0x41c),{'style':_0x160936},_0x52394a['row']+':'+_0x52394a[_0x52f06d(0x3c4)]);})});}const Is=_0x19aaa2(0x3f7),Ls=_0x19aaa2(0x64d),Rs='slides-table-ui.table-design.text-control';function zs(_0x1ab8be){const _0x47e6c9=_0x19aaa2;return _0x1ab8be[_0x47e6c9(0x354)][_0x47e6c9(0x5af)]===_0x2af70c[_0x47e6c9(0x1a9)];}function Bs(){const _0x3d0f11=_0x19aaa2;let _0x5b6c06=_0x238a1a(_0x250757),_0x1f6577=_0x238a1a(_0x45a49b),_0x145a19=_0x238a1a(_0x16546c),_0x5371e0=_0x238a1a(_0x2bd903),_0xc55cfa=_0x238a1a(_0x16aa1b),_0x5ca2a0=_0x238a1a(J),_0x1d5148=()=>{const _0x101139=_0x1c3c;var _0x5b758e;let _0xad78b8=_0x145a19['getSnapshot'](),_0x3ed119=_0xad78b8[_0x101139(0x25e)];if(!_0x3ed119||_0xad78b8['selectedIds'][_0x101139(0x3b8)]!==0x1)return null;let _0x5aa58a=_0x1f6577[_0x101139(0x511)]({'unitId':_0x3ed119[_0x101139(0x1e5)],'subUnitId':_0x3ed119[_0x101139(0x47d)],'drawingId':_0xad78b8[_0x101139(0x305)][0x0]});if(!_0x5aa58a||!zs(_0x5aa58a))return null;let _0x4a8893=_0xc55cfa[_0x101139(0x512)](_0x5aa58a['unitId'],_0x5aa58a[_0x101139(0x354)][_0x101139(0x546)]);if(!_0x4a8893)return null;let _0xecbd12=_0x5ca2a0[_0x101139(0x25c)](),_0x5404e9=(_0xecbd12==null?void 0x0:_0xecbd12[_0x101139(0x1e5)])===_0x5aa58a[_0x101139(0x1e5)]&&_0xecbd12[_0x101139(0x47d)]===_0x5aa58a['subUnitId']&&_0xecbd12[_0x101139(0x235)]===_0x5aa58a[_0x101139(0x3e4)]&&_0xecbd12[_0x101139(0x546)]===_0x5aa58a[_0x101139(0x354)][_0x101139(0x546)]?_0xecbd12:null,_0x4cdd02=_0x5b6c06[_0x101139(0x214)](_0x273e80);return{'drawing':_0x5aa58a,'editable':(_0x4cdd02==null||(_0x5b758e=_0x4cdd02['editor'])==null?void 0x0:_0x5b758e[_0x101139(0x5b6)])!==!0x1,'selection':_0x5404e9,'table':_0x4a8893};};return _0x2eae51(()=>_0x3f91f1(_0x145a19[_0x3d0f11(0x1ac)],_0x5ca2a0[_0x3d0f11(0x48a)],_0x5371e0[_0x3d0f11(0x66d)])[_0x3d0f11(0x661)](_0x4cc7c5(void 0x0),_0x1798e7(_0x1d5148)),_0x1d5148(),!0x1,[_0x1f6577,_0x145a19,_0x5371e0,_0xc55cfa,_0x5ca2a0]);}function Vs(_0x34b9b4){const _0x45e00f=_0x19aaa2;let _0xad731d=_0x238a1a(J);return _0x2cc562('fieldset',{'disabled':_0x34b9b4['disabled'],'className':'univer-m-0\x20univer-flex\x20univer-h-full\x20univer-items-center\x20univer-gap-1\x20univer-border-none\x20univer-p-0\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50','onMouseDownCapture':()=>_0xad731d[_0x45e00f(0x199)](),'onPointerDownCapture':()=>_0xad731d['markTableInternalInteraction'](),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':_0x34b9b4[_0x45e00f(0x5a6)]});}function Hs(){const _0x26fd24=_0x19aaa2;var _0x2cf264;let _0x35bbe0=_0x238a1a(_0x538857),_0x2812c9=_0x238a1a(_0xc7884c),_0x146935=_0x238a1a(_0x39b8ff),_0x123b5a=Bs(),[_0x31ac26,_0x3bda38]=_0x32798a(!0x1),_0xa25657=_0x31d40e(()=>_0x57f67f(_0x39a7ff=>_0x146935[_0x26fd24(0x3da)](_0x39a7ff)),[_0x146935]),_0x205bca=!(_0x123b5a!=null&&_0x123b5a[_0x26fd24(0x441)])||((_0x2cf264=_0x123b5a[_0x26fd24(0x1ab)])==null?void 0x0:_0x2cf264[_0x26fd24(0x3c2)])===_0x26fd24(0x3ea),_0x581fa8=_0x490ccf=>{const _0xb8a45=_0x26fd24;_0x123b5a&&!_0x205bca&&_0x35bbe0[_0xb8a45(0x567)](_0xeaf0f0['id'],{'unitId':_0x123b5a[_0xb8a45(0x517)][_0xb8a45(0x1e5)],'tableId':_0x123b5a['table']['id'],'patch':{'styleId':_0x490ccf}});};return _0x2cc562(Vs,{'disabled':_0x205bca,'children':_0x2cc562(Cs,{'icon':_0x2cc562(_0x41b8f9,{'className':_0x26fd24(0x704)}),'label':_0x2812c9['t'](_0x26fd24(0x37d)),'ribbon':!0x0,'open':_0x31ac26,'onOpenChange':_0x3bda38,'children':_0x123b5a?_0x2cc562(Ns,{'currentStyleId':_0x123b5a['table'][_0x26fd24(0x599)],'currentOptions':_0x123b5a[_0x26fd24(0x283)][_0x26fd24(0x2d0)]??{},'direction':_0x2812c9[_0x26fd24(0x363)](),'palette':_0xa25657,'onApplyTheme':_0x28adc3=>{_0x581fa8(_0x28adc3),_0x3bda38(!0x1);},'onChangeOptions':_0x3aad08=>{const _0x18b28b=_0x26fd24;_0x123b5a&&!_0x205bca&&_0x35bbe0[_0x18b28b(0x567)](_0xeaf0f0['id'],{'unitId':_0x123b5a['drawing']['unitId'],'tableId':_0x123b5a['table']['id'],'patch':{'options':_0x3aad08}});}}):null})});}function Us(_0x279852){let _0x2086e1=_0x238a1a(_0x538857),_0x525c3e=_0x238a1a(_0x16aa1b);return _0x44ca9f=>{const _0x51fed6=_0x1c3c;var _0x17f18e;let _0x4f4712=_0x279852==null||(_0x17f18e=_0x279852[_0x51fed6(0x1ab)])==null?void 0x0:_0x17f18e[_0x51fed6(0x568)][0x0];if(!_0x279852||!_0x4f4712)return;let _0x1ee0f2=_0x525c3e['getTable'](_0x279852[_0x51fed6(0x517)][_0x51fed6(0x1e5)],_0x279852[_0x51fed6(0x283)]['id']);_0x1ee0f2&&_0x2086e1['executeCommand'](_0xeaf0f0['id'],{'unitId':_0x279852[_0x51fed6(0x517)][_0x51fed6(0x1e5)],'tableId':_0x279852[_0x51fed6(0x283)]['id'],'patch':_0x44ca9f(_0x1ee0f2,_0x4f4712)});};}function Ws(){const _0x8c128c=_0x19aaa2;let _0x2cf983=_0x238a1a(_0xc7884c),_0x480e6b=_0x2eae51(_0x2cf983[_0x8c128c(0x2d6)],_0x2cf983[_0x8c128c(0x363)]()),_0x3dd274=Bs(),_0x5783c5=Us(_0x3dd274),[_0x22004d,_0x362643]=_0x32798a(null),_0x5d9af4=ns(_0x3dd274==null?void 0x0:_0x3dd274[_0x8c128c(0x283)],(_0x3dd274==null?void 0x0:_0x3dd274['selection'])??null)[_0x8c128c(0x4b5)],_0x3d7fda=!(_0x3dd274!=null&&_0x3dd274[_0x8c128c(0x441)])||!_0x3dd274[_0x8c128c(0x1ab)]||_0x3dd274[_0x8c128c(0x1ab)][_0x8c128c(0x3c2)]===_0x8c128c(0x3ea);return _0x2cc562(Vs,{'disabled':_0x3d7fda,'children':_0x11ff53(_0x8c128c(0x4d6),{'className':'univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-content-center\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-items-stretch\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','children':[_0x2cc562(ss,{'color':_0x5d9af4[_0x8c128c(0x4d3)],'value':Mo(_0x5d9af4['backgroundFill']),'gradientValue':Io(_0x5d9af4[_0x8c128c(0x319)],_0x5d9af4[_0x8c128c(0x4d3)]),'previewStyle':Ro(_0x5d9af4[_0x8c128c(0x319)],_0x5d9af4[_0x8c128c(0x4d3)]),'showPreview':!0x1,'tableFill':_0x5d9af4['backgroundFill'],'mixed':!!_0x5d9af4[_0x8c128c(0x539)][_0x8c128c(0x319)],'open':_0x22004d===_0x8c128c(0x607),'onOpenChange':_0xa9c4a7=>_0x362643(_0xa9c4a7?'background':null),'onTableFillChange':_0x11c343=>_0x5783c5((_0x4b84eb,_0x4b3c5c)=>gi(_0x4b84eb,_0x4b3c5c,_0x11c343)),'children':_0x2cc562(_0xbc21ef,{'extend':{'colorChannel1':_0x5d9af4[_0x8c128c(0x4d3)]}})}),_0x2cc562(ws,{'direction':_0x480e6b,'color':_0x5d9af4[_0x8c128c(0x373)],'width':_0x5d9af4[_0x8c128c(0x601)],'dash':_0x5d9af4[_0x8c128c(0x1f1)]??_0x3cd644[_0x8c128c(0x56a)],'presets':hs,'open':_0x22004d===_0x8c128c(0x484),'mixed':!!(_0x5d9af4[_0x8c128c(0x539)][_0x8c128c(0x373)]||_0x5d9af4[_0x8c128c(0x539)][_0x8c128c(0x601)]||_0x5d9af4[_0x8c128c(0x539)][_0x8c128c(0x1f1)]),'onOpenChange':_0x45dbd6=>_0x362643(_0x45dbd6?'border':null),'onSelectPreset':_0x2bf82e=>_0x5783c5((_0x557d8c,_0x4875bb)=>bi(_0x557d8c,_0x4875bb,_0x2bf82e)),'onChangeColor':_0x1bec24=>_0x5783c5((_0xc5229f,_0x207ec8)=>yi(_0xc5229f,_0x207ec8,{'color':_0x1bec24})),'onChangeWidth':_0x8bb75=>_0x5783c5((_0x48d394,_0x253654)=>yi(_0x48d394,_0x253654,{'width':_0x8bb75,'dash':_0x8bb75===0x0?_0x3cd644[_0x8c128c(0x311)]:void 0x0})),'onChangeDash':_0x403f21=>_0x5783c5((_0xfcbef4,_0xedfebf)=>yi(_0xfcbef4,_0xedfebf,{'dash':_0x403f21}))})]})});}function Gs(_0x4494e5){const _0x12f131=_0x19aaa2;return _0x2cc562(_0xed551e,{'title':_0x4494e5[_0x12f131(0x49a)],'placement':'bottom','children':_0x2cc562('button',{'type':_0x12f131(0x63a),'aria-label':_0x4494e5[_0x12f131(0x49a)],'aria-pressed':_0x4494e5[_0x12f131(0x539)]?_0x12f131(0x539):_0x4494e5[_0x12f131(0x339)],'onClick':_0x4494e5['onClick'],'onMouseDown':_0x2008fc=>_0x2008fc[_0x12f131(0x521)](),'className':_0x30b63f(_0x12f131(0x31b),(_0x4494e5[_0x12f131(0x339)]||_0x4494e5[_0x12f131(0x539)])&&_0x12f131(0x583)),'children':_0x4494e5[_0x12f131(0x5a6)]})});}function Ks(_0xffbc43){const _0x25cffa=_0x19aaa2;let [_0x137247,_0x12b91f]=_0x32798a(!0x1),_0x24bf61=_0xffbc43[_0x25cffa(0x2d0)][_0x25cffa(0x3c6)](_0x4abe93=>_0x4abe93[_0x25cffa(0x39a)]===_0xffbc43['value'])??_0xffbc43[_0x25cffa(0x2d0)][0x0];return _0x2cc562(_0x3cbd4a,{'open':_0x137247,'onOpenChange':_0x12b91f,'side':_0x25cffa(0x662),'avoidCollisions':!0x0,'overlay':_0x2cc562('div',{'className':_0x25cffa(0x620),'children':_0xffbc43['options'][_0x25cffa(0x694)](_0x5b2f77=>_0x11ff53(_0x25cffa(0x63a),{'type':'button','aria-label':_0x5b2f77['label'],'aria-pressed':_0x5b2f77['value']===_0xffbc43[_0x25cffa(0x39a)],'className':_0x30b63f(_0x25cffa(0x6e0),_0x5b2f77[_0x25cffa(0x39a)]===_0xffbc43[_0x25cffa(0x39a)]&&_0x25cffa(0x583)),'onClick':()=>{const _0x36827f=_0x25cffa;_0xffbc43[_0x36827f(0x5c1)](_0x5b2f77['value']),_0x12b91f(!0x1);},'onMouseDown':_0x4aee93=>_0x4aee93[_0x25cffa(0x521)](),'children':[_0x2cc562(_0x25cffa(0x41c),{'className':_0x25cffa(0x5e3),'children':_0x5b2f77[_0x25cffa(0x5c5)]}),_0x2cc562(_0x25cffa(0x41c),{'children':_0x5b2f77[_0x25cffa(0x38f)]})]},_0x5b2f77[_0x25cffa(0x39a)]))}),'children':_0x2cc562(_0x25cffa(0x41c),{'children':_0x2cc562(_0xed551e,{'title':_0x24bf61==null?void 0x0:_0x24bf61[_0x25cffa(0x38f)],'placement':_0x25cffa(0x662),'children':_0x11ff53(_0x25cffa(0x63a),{'type':_0x25cffa(0x63a),'aria-expanded':_0x137247,'aria-label':_0x24bf61==null?void 0x0:_0x24bf61[_0x25cffa(0x38f)],'className':_0x30b63f('univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center\x20univer-justify-center\x20univer-gap-0.5\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-lg\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',(_0x137247||_0xffbc43[_0x25cffa(0x539)])&&_0x25cffa(0x583)),'onMouseDown':_0x3567f9=>_0x3567f9[_0x25cffa(0x521)](),'children':[_0xffbc43[_0x25cffa(0x539)]?_0x2cc562(_0x25cffa(0x41c),{'aria-hidden':'true','children':'—'}):_0x24bf61==null?void 0x0:_0x24bf61[_0x25cffa(0x5c5)],_0x2cc562(_0x9bd590,{'className':'univer-text-xs'})]})})})});}function qs(_0x43bf60){const _0x35bab8=_0x19aaa2;let [_0x5e773e,_0x4be119]=_0x32798a(!0x1);return _0x11ff53(_0x35bab8(0x4d6),{'className':_0x35bab8(0x3f9),'children':[_0x2cc562(Gs,{'active':_0x43bf60[_0x35bab8(0x339)],'mixed':_0x43bf60[_0x35bab8(0x539)],'title':_0x43bf60[_0x35bab8(0x49a)],'onClick':_0x43bf60[_0x35bab8(0x524)],'children':_0x43bf60[_0x35bab8(0x5c5)]}),_0x2cc562(_0x3cbd4a,{'open':_0x5e773e,'onOpenChange':_0x4be119,'side':_0x35bab8(0x662),'avoidCollisions':!0x0,'overlay':_0x43bf60[_0x35bab8(0x4ee)](()=>_0x4be119(!0x1)),'children':_0x2cc562(_0x35bab8(0x63a),{'type':_0x35bab8(0x63a),'aria-expanded':_0x5e773e,'aria-label':_0x43bf60[_0x35bab8(0x49a)],'className':_0x30b63f('univer-flex\x20univer-h-6\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-xs\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',_0x5e773e&&_0x35bab8(0x583)),'onMouseDown':_0x432750=>_0x432750[_0x35bab8(0x521)](),'children':_0x2cc562(_0x9bd590,{})})})]});}function Js(_0xdedcec,_0x2a3117){const _0x1e64e4=_0x19aaa2;let _0xda68d8=_0x1dfcaa[_0x1e64e4(0x694)](_0x345112=>_0x345112[_0x1e64e4(0x39a)]);return _0x2a3117>0x0?_0xda68d8['find'](_0x5a8c60=>_0x5a8c60>_0xdedcec)??_0xda68d8[_0xda68d8[_0x1e64e4(0x3b8)]-0x1]??_0xdedcec:[..._0xda68d8][_0x1e64e4(0x6b5)]()[_0x1e64e4(0x3c6)](_0x39d7b9=>_0x39d7b9<_0xdedcec)??_0xda68d8[0x0]??_0xdedcec;}function Ys(){const _0x693f7c=_0x19aaa2;var _0x481f9b;let _0x3b3992=_0x238a1a(_0xc7884c),_0x5f339d=Bs(),_0x105928=Us(_0x5f339d),[_0x5debac,_0x3cae9f]=_0x32798a(null),_0xe28461=ns(_0x5f339d==null?void 0x0:_0x5f339d['table'],(_0x5f339d==null?void 0x0:_0x5f339d[_0x693f7c(0x1ab)])??null)[_0x693f7c(0x4b5)],_0x957022=!(_0x5f339d!=null&&_0x5f339d['editable'])||!_0x5f339d[_0x693f7c(0x1ab)],_0x4d06d4=[{'label':_0x3b3992['t'](_0x693f7c(0x403)),'value':_0x13cebc['LEFT'],'icon':_0x2cc562(_0x85ae24,{})},{'label':_0x3b3992['t'](_0x693f7c(0x26f)),'value':_0x13cebc[_0x693f7c(0x265)],'icon':_0x2cc562(_0x2fc2be,{})},{'label':_0x3b3992['t'](_0x693f7c(0x255)),'value':_0x13cebc[_0x693f7c(0x70c)],'icon':_0x2cc562(_0x5ac77c,{})},{'label':_0x3b3992['t'](_0x693f7c(0x2b1)),'value':_0x13cebc['JUSTIFIED'],'icon':_0x2cc562(_0x5db93a,{})}],_0xc24f6=[{'label':_0x3b3992['t']('slides-table-ui.editorToolbar.alignTop'),'value':_0x392db0['TOP'],'icon':_0x2cc562(_0x2b9ddf,{})},{'label':_0x3b3992['t']('slides-table-ui.editorToolbar.alignMiddle'),'value':_0x392db0[_0x693f7c(0x2f5)],'icon':_0x2cc562(_0x2d60fe,{})},{'label':_0x3b3992['t'](_0x693f7c(0x402)),'value':_0x392db0['BOTTOM'],'icon':_0x2cc562(_0x2eec2e,{})}],_0x3cd7e4=_0x5f339d==null||(_0x481f9b=_0x5f339d[_0x693f7c(0x1ab)])==null?void 0x0:_0x481f9b[_0x693f7c(0x568)][0x0],_0x399a27=pi(_0x5f339d==null?void 0x0:_0x5f339d['table'],_0x3cd7e4,_0x4a7b2b[_0x693f7c(0x3f2)]),_0xe0e476=pi(_0x5f339d==null?void 0x0:_0x5f339d[_0x693f7c(0x283)],_0x3cd7e4,_0x4a7b2b[_0x693f7c(0x57d)]),_0x8cfc67=[{'key':_0x693f7c(0x4eb),'title':_0x3b3992['t'](_0x693f7c(0x4f7)),'active':_0xe28461[_0x693f7c(0x4eb)],'mixed':!!_0xe28461['mixed']['bold'],'icon':_0x2cc562(_0x44c355,{}),'patch':{'bl':_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x4eb)]||!_0xe28461[_0x693f7c(0x4eb)]?_0xd91ed3[_0x693f7c(0x1e1)]:_0xd91ed3['FALSE']}},{'key':'italic','title':_0x3b3992['t']('slides-table-ui.editorToolbar.italic'),'active':_0xe28461[_0x693f7c(0x384)],'mixed':!!_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x384)],'icon':_0x2cc562(_0x441261,{}),'patch':{'it':_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x384)]||!_0xe28461[_0x693f7c(0x384)]?_0xd91ed3['TRUE']:_0xd91ed3[_0x693f7c(0x721)]}},{'key':_0x693f7c(0x223),'title':_0x3b3992['t']('slides-table-ui.editorToolbar.underline'),'active':_0xe28461[_0x693f7c(0x223)],'mixed':!!_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x223)],'icon':_0x2cc562(_0x408c2d,{}),'patch':{'ul':{'s':_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x223)]||!_0xe28461['underline']?_0xd91ed3[_0x693f7c(0x1e1)]:_0xd91ed3['FALSE']}}},{'key':_0x693f7c(0x20c),'title':_0x3b3992['t']('slides-table-ui.editorToolbar.strikethrough'),'active':_0xe28461[_0x693f7c(0x647)],'mixed':!!_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x647)],'icon':_0x2cc562(_0x43aea7,{}),'patch':{'st':{'s':_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x647)]||!_0xe28461[_0x693f7c(0x647)]?_0xd91ed3[_0x693f7c(0x1e1)]:_0xd91ed3['FALSE']}}}];return _0x2cc562(Vs,{'disabled':_0x957022,'children':_0x11ff53(_0x693f7c(0x4d6),{'className':_0x693f7c(0x4b0),'children':[_0x11ff53('div',{'className':_0x693f7c(0x665),'children':[_0x2cc562(_0x27a88b,{'ariaLabel':_0x3b3992['t'](_0x693f7c(0x591)),'className':'!univer-h-6\x20univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full','inputClassName':_0x693f7c(0x39e),'value':_0xe28461['mixed'][_0x693f7c(0x618)]?'':_0xe28461[_0x693f7c(0x618)],'onChange':_0x343336=>_0x105928((_0x372c8,_0x295c59)=>xi(_0x372c8,_0x295c59,_0x343336))}),_0x11ff53(_0x693f7c(0x4d6),{'className':_0x693f7c(0x64f),'children':[_0x2cc562(Os,{'title':_0x3b3992['t'](_0x693f7c(0x487)),'widthClassName':_0x693f7c(0x396),'value':_0xe28461[_0x693f7c(0x539)]['fontSize']?'':String(_0xe28461[_0x693f7c(0x2ea)]),'options':_0xe28461['mixed'][_0x693f7c(0x2ea)]?[{'label':'—','value':''},...fs]:Vo(fs,String(_0xe28461['fontSize'])),'onChange':_0x5c76cf=>{const _0x228881=_0x693f7c;let _0x2640e1=Number(_0x5c76cf);_0x5c76cf&&!Number[_0x228881(0x2f7)](_0x2640e1)&&_0x105928((_0x5d08d5,_0x35b0ff)=>Si(_0x5d08d5,_0x35b0ff,_0x2640e1));}}),_0x2cc562(Gs,{'title':_0x3b3992['t'](_0x693f7c(0x556)),'onClick':()=>_0x105928((_0x169b91,_0x27ceb4)=>Si(_0x169b91,_0x27ceb4,Js(_0xe28461[_0x693f7c(0x2ea)],0x1))),'children':_0x2cc562(_0x1d8982,{})}),_0x2cc562(Gs,{'title':_0x3b3992['t'](_0x693f7c(0x6a9)),'onClick':()=>_0x105928((_0x372d0e,_0x531096)=>Si(_0x372d0e,_0x531096,Js(_0xe28461[_0x693f7c(0x2ea)],-0x1))),'children':_0x2cc562(_0x29a107,{})})]})]}),_0x2cc562(_0x693f7c(0x4d6),{'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2','children':_0x8cfc67[_0x693f7c(0x694)](_0x27baeb=>_0x2cc562(Gs,{'title':_0x27baeb[_0x693f7c(0x49a)],'active':_0x27baeb[_0x693f7c(0x339)],'mixed':_0x27baeb['mixed'],'onClick':()=>_0x105928((_0x535bf1,_0x159f05)=>Li(_0x535bf1,_0x159f05,_0x27baeb[_0x693f7c(0x1cc)])),'children':_0x27baeb[_0x693f7c(0x5c5)]},_0x27baeb['key']))}),_0x11ff53(_0x693f7c(0x4d6),{'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-11\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','children':[_0x2cc562(Es,{'data-toolbar-item':_0x693f7c(0x489),'title':_0x3b3992['t'](_0x693f7c(0x5db)),'color':_0xe28461[_0x693f7c(0x676)],'mixed':!!(_0xe28461[_0x693f7c(0x539)]['textColor']||_0xe28461['mixed'][_0x693f7c(0x6bf)]),'icon':_0x693f7c(0x217),'open':_0x5debac===_0x693f7c(0x676),'onOpenChange':_0x12251d=>_0x3cae9f(_0x12251d?'textColor':null),'onChange':_0x4ea22f=>_0x105928((_0x5c3a70,_0x42f8e2)=>vi(_0x5c3a70,_0x42f8e2,{'type':_0x693f7c(0x435),'color':_0x4ea22f,'opacity':0x1}))}),_0x2cc562(Es,{'data-toolbar-item':_0x693f7c(0x53a),'title':_0x3b3992['t'](_0x693f7c(0x68e)),'color':_0xe28461[_0x693f7c(0x499)],'mixed':!!_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x499)],'icon':'bucket','open':_0x5debac===_0x693f7c(0x450),'onOpenChange':_0x39e827=>_0x3cae9f(_0x39e827?'textBackground':null),'onChange':_0x1b84d1=>_0x105928((_0x16c84e,_0x3c141e)=>Li(_0x16c84e,_0x3c141e,{'bg':{'rgb':_0x1b84d1}}))})]}),_0x11ff53(_0x693f7c(0x4d6),{'className':_0x693f7c(0x28f),'children':[_0x2cc562(Ks,{'options':_0x4d06d4,'value':_0xe28461[_0x693f7c(0x709)],'mixed':!!_0xe28461[_0x693f7c(0x539)]['horizontalAlign'],'onChange':_0x80f909=>_0x105928((_0x427867,_0x45fac8)=>di(_0x427867,_0x45fac8,{'axis':_0x693f7c(0x219),'value':_0x80f909}))}),_0x2cc562(qs,{'title':_0x3b3992['t'](_0x693f7c(0x22f)),'icon':_0x2cc562(_0x18690d,{}),'active':_0x399a27['active'],'mixed':_0x399a27[_0x693f7c(0x539)],'onToggle':()=>_0x105928((_0x1f55cf,_0x6ea608)=>fi(_0x1f55cf,_0x6ea608,_0x399a27[_0x693f7c(0x339)]?null:_0x4a7b2b[_0x693f7c(0x3f2)])),'picker':_0x3c6e87=>_0x2cc562(_0x3e6a2f,{'value':_0x399a27[_0x693f7c(0x39a)],'onChange':_0x39660e=>{_0x39660e&&(_0x105928((_0x39fd58,_0x488cda)=>fi(_0x39fd58,_0x488cda,_0x39660e)),_0x3c6e87());}})}),_0x2cc562(Ks,{'options':_0xc24f6,'value':_0xe28461[_0x693f7c(0x4db)],'mixed':!!_0xe28461[_0x693f7c(0x539)][_0x693f7c(0x4db)],'onChange':_0x5648a3=>_0x105928((_0x2850be,_0xf0520e)=>di(_0x2850be,_0xf0520e,{'axis':_0x693f7c(0x1d0),'value':_0x5648a3}))}),_0x2cc562(qs,{'title':_0x3b3992['t']('slides-table-ui.editorToolbar.bulletList'),'icon':_0x2cc562(_0x1025c,{}),'active':_0xe0e476[_0x693f7c(0x339)],'mixed':_0xe0e476[_0x693f7c(0x539)],'onToggle':()=>_0x105928((_0x4c112c,_0x328e2f)=>fi(_0x4c112c,_0x328e2f,_0xe0e476[_0x693f7c(0x339)]?null:_0x4a7b2b[_0x693f7c(0x57d)])),'picker':_0x419e99=>_0x2cc562(_0x321c8b,{'value':_0xe0e476[_0x693f7c(0x39a)],'onChange':_0x11ffdc=>{_0x11ffdc&&(_0x105928((_0xb6db5f,_0x2639d6)=>fi(_0xb6db5f,_0x2639d6,_0x11ffdc)),_0x419e99());}})})]})]})});}let Xs=class extends _0x525b66{constructor(_0x441f4e,_0x159846){const _0x2f8bc6=_0x19aaa2;super(),this[_0x2f8bc6(0x25f)]=_0x441f4e,this[_0x2f8bc6(0x290)]=_0x159846,this[_0x2f8bc6(0x3a8)](this[_0x2f8bc6(0x290)][_0x2f8bc6(0x2eb)]({'AdjustHeightDoubleIcon':_0x573a9f,'AdjustWidthDoubleIcon':_0x3f0c5b,'CancelMergeIcon':_0x11ae7b,'DeleteColumnDoubleIcon':_0x41df91,'DeleteRowDoubleIcon':_0x23739f,'InsertRowAboveDoubleIcon':_0x33db55,'InsertRowBelowDoubleIcon':_0x5b9fa5,'LeftInsertColumnDoubleIcon':_0x1cea09,'MergeAllIcon':_0x57cc41,'RightInsertColumnDoubleIcon':_0x48867c,'TableIcon':_0x31336b})),this[_0x2f8bc6(0x3a8)](this[_0x2f8bc6(0x25f)][_0x2f8bc6(0x2eb)](ho,yo)),this[_0x2f8bc6(0x3a8)](this[_0x2f8bc6(0x25f)][_0x2f8bc6(0x2eb)](io,vo)),this[_0x2f8bc6(0x3a8)](this['_componentManager'][_0x2f8bc6(0x2eb)](Is,Hs)),this[_0x2f8bc6(0x3a8)](this[_0x2f8bc6(0x25f)][_0x2f8bc6(0x2eb)](Ls,Ws)),this[_0x2f8bc6(0x3a8)](this[_0x2f8bc6(0x25f)]['register'](Rs,Ys));}};Xs=Ha([Q(0x0,_0x29de4d(_0x10dffd)),Q(0x1,_0x29de4d(_0x2a49ec))],Xs);function Zs(_0x4a645f,_0x4a51f4,_0x47f4ed){const _0x5da7f1=_0x19aaa2;if(_0x4a51f4<0x0||_0x47f4ed<0x0||_0x4a51f4>_0x4a645f[_0x5da7f1(0x530)]||_0x47f4ed>_0x4a645f[_0x5da7f1(0x1aa)])return null;let _0x52cc41=_0x4a645f[_0x5da7f1(0x307)][_0x5da7f1(0x3c6)](_0x59e71=>!_0x59e71[_0x5da7f1(0x332)]&&Qs(_0x59e71,_0x4a51f4,_0x47f4ed));return _0x52cc41?{'kind':_0x5da7f1(0x1b0),'row':_0x52cc41[_0x5da7f1(0x642)],'column':_0x52cc41[_0x5da7f1(0x3c4)]}:null;}function Qs(_0x584630,_0x4c013f,_0x5ecea4){const _0x24199d=_0x19aaa2;return _0x4c013f>=_0x584630[_0x24199d(0x61d)][_0x24199d(0x374)]&&_0x4c013f<=_0x584630['bounds'][_0x24199d(0x374)]+_0x584630['bounds']['width']&&_0x5ecea4>=_0x584630[_0x24199d(0x61d)]['top']&&_0x5ecea4<=_0x584630['bounds'][_0x24199d(0x573)]+_0x584630['bounds'][_0x24199d(0x1aa)];}function $s(_0x39e94f){const _0x5b0c9e=_0x19aaa2;var _0x54b4c3;let {selection:_0x517088,table:_0x1b67cd,tableHeight:_0x380b7d,tableWidth:_0x157892}=_0x39e94f,_0x7e3e66=_0x517088==null?void 0x0:_0x517088['ranges'][0x0];if(!_0x517088||!_0x1b67cd||!_0x7e3e66)return null;let _0x229019=_0x517088[_0x5b0c9e(0x2a4)]??_0x517088[_0x5b0c9e(0x526)]??dc(_0x7e3e66);if(!_0x229019)return null;let _0x2bbcc7=_0x59b2f8(_0x1b67cd),_0x2dfc8a=_0x2bbcc7[_0x5b0c9e(0x307)][_0x5b0c9e(0x3c6)](_0x59daaf=>!_0x59daaf[_0x5b0c9e(0x332)]&&_0x59daaf['row']===_0x229019[_0x5b0c9e(0x642)]&&_0x59daaf['column']===_0x229019[_0x5b0c9e(0x3c4)])??_0x2bbcc7[_0x5b0c9e(0x307)]['find'](_0xef6025=>!_0xef6025['hidden']&&_0x229019[_0x5b0c9e(0x642)]>=_0xef6025[_0x5b0c9e(0x642)]&&_0x229019[_0x5b0c9e(0x642)]<_0xef6025[_0x5b0c9e(0x642)]+_0xef6025[_0x5b0c9e(0x33b)]&&_0x229019[_0x5b0c9e(0x3c4)]>=_0xef6025[_0x5b0c9e(0x3c4)]&&_0x229019[_0x5b0c9e(0x3c4)]<_0xef6025[_0x5b0c9e(0x3c4)]+_0xef6025['columnSpan']);if(!_0x2dfc8a)return null;let _0x18feda=mc(_0x157892/_0x2bbcc7[_0x5b0c9e(0x530)],0x1),_0x111610=mc(_0x380b7d/_0x2bbcc7[_0x5b0c9e(0x1aa)],0x1),_0x1daef1=(_0x54b4c3=_0x1b67cd[_0x5b0c9e(0x416)][_0x2dfc8a[_0x5b0c9e(0x642)]])==null?void 0x0:_0x54b4c3[_0x5b0c9e(0x307)][_0x2dfc8a[_0x5b0c9e(0x3c4)]];return{'row':_0x2dfc8a['row'],'column':_0x2dfc8a['column'],'cellStyle':_0x2dfc8a[_0x5b0c9e(0x33c)],'rect':fc({'left':_0x2dfc8a[_0x5b0c9e(0x61d)][_0x5b0c9e(0x374)]*_0x18feda,'top':_0x2dfc8a['bounds'][_0x5b0c9e(0x573)]*_0x111610,'width':_0x2dfc8a['bounds'][_0x5b0c9e(0x530)]*_0x18feda,'height':_0x2dfc8a[_0x5b0c9e(0x61d)][_0x5b0c9e(0x1aa)]*_0x111610},_0x2dfc8a[_0x5b0c9e(0x33c)][_0x5b0c9e(0x297)]),'documentData':ic(_0x1daef1==null?void 0x0:_0x1daef1['textData'],uc(_0x1b67cd['id'],_0x2dfc8a['row'],_0x2dfc8a[_0x5b0c9e(0x3c4)]))};}function ec(_0x596674,_0x3bbc7a,_0x53aab5,_0x19c9bb=''){return ic({'id':uc(_0x596674,_0x3bbc7a,_0x53aab5),'body':{'dataStream':_0x19c9bb+'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}},uc(_0x596674,_0x3bbc7a,_0x53aab5));}function tc(_0x4886f1,_0x2554c3){const _0x332d00=_0x19aaa2;var _0xa99f60;let _0x1c03a3=_0x2554c3[_0x332d00(0x457)](/\r\n/g,'\x0d')[_0x332d00(0x457)](/\n/g,'\x0d')+'\x0d\x0a',_0x5c7d9b=Math[_0x332d00(0x6f0)](0x0,_0x1c03a3[_0x332d00(0x3b8)]-0x2),_0x1f0e90=(_0xa99f60=_0x4886f1['body'])==null||(_0xa99f60=_0xa99f60[_0x332d00(0x3a9)])==null||(_0xa99f60=_0xa99f60['find'](_0x7bca71=>_0x7bca71['ts']))==null?void 0x0:_0xa99f60['ts'];return ic({..._0x257efd[_0x332d00(0x206)](_0x4886f1),'body':{..._0x4886f1[_0x332d00(0x4cc)],'dataStream':_0x1c03a3,'paragraphs':ac(_0x1c03a3),'textRuns':_0x1f0e90&&_0x5c7d9b>0x0?[{'st':0x0,'ed':_0x5c7d9b,'ts':{..._0x1f0e90}}]:[]}},_0x4886f1['id']??_0x332d00(0x2a3));}function nc(_0xac651b){const _0x1d40e2=_0x19aaa2;var _0x3262f6,_0x59264c;let {rect:_0x3a2544,scenePointToViewportPoint:_0x5a5166,tableTransform:_0x2e9a79}=_0xac651b,_0x1a30ae=pc(_0x2e9a79[_0x1d40e2(0x374)],0x0),_0x27c92e=pc(_0x2e9a79[_0x1d40e2(0x573)],0x0),_0x4b8d75=mc(_0x2e9a79[_0x1d40e2(0x530)],0x1),_0x4c8fae=mc(_0x2e9a79[_0x1d40e2(0x1aa)],0x1),_0xe3db7f=mc(_0x3a2544[_0x1d40e2(0x530)],0x1),_0x281293=mc(_0x3a2544[_0x1d40e2(0x1aa)],0x1),_0x1bec4d=_0x3a2544[_0x1d40e2(0x374)]+_0xe3db7f/0x2-_0x4b8d75/0x2,_0x484f5f=_0x3a2544[_0x1d40e2(0x573)]+_0x281293/0x2-_0x4c8fae/0x2,_0x46860f=pc(_0x2e9a79['angle'],0x0)*Math['PI']/0xb4,_0x53f990=_0x1bec4d*Math[_0x1d40e2(0x22e)](_0x46860f)-_0x484f5f*Math['sin'](_0x46860f),_0x4cb863=_0x1bec4d*Math[_0x1d40e2(0x1c4)](_0x46860f)+_0x484f5f*Math[_0x1d40e2(0x22e)](_0x46860f),_0x5792b2=_0x5a5166({'x':_0x1a30ae+_0x4b8d75/0x2+_0x53f990,'y':_0x27c92e+_0x4c8fae/0x2+_0x4cb863});return{'rect':{'left':_0x5792b2['x']-_0xe3db7f/0x2,'top':_0x5792b2['y']-_0x281293/0x2,'width':_0xe3db7f,'height':_0x281293},'scale':{'scaleX':mc((_0x3262f6=_0xac651b[_0x1d40e2(0x26a)])==null?void 0x0:_0x3262f6[_0x1d40e2(0x409)],0x1),'scaleY':mc((_0x59264c=_0xac651b['scale'])==null?void 0x0:_0x59264c['scaleY'],0x1)},'transform':{'angle':0x0,'flipX':!0x1,'flipY':_0x2e9a79[_0x1d40e2(0x4c3)]}};}function rc(_0x2cc46f,_0x29b8be,_0x2445bf){const _0x1fa8e2=_0x19aaa2;return _0x2cc46f?{'commandId':_0x2445bf,'params':{'unitId':_0x2cc46f['unitId'],'tableId':_0x2cc46f['tableId'],'row':_0x2cc46f[_0x1fa8e2(0x642)],'column':_0x2cc46f[_0x1fa8e2(0x3c4)],'textData':_0x29b8be}}:null;}function ic(_0x102e1d,_0x22fcce){const _0x3948d4=_0x19aaa2;var _0xe2e09f,_0xbe814e,_0x50c8bb,_0x2ddb86,_0x3aa598;let _0x1cc163=_0x131b43(_0x257efd[_0x3948d4(0x206)](_0x102e1d??{'id':_0x22fcce,'body':{'dataStream':'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}})),_0xc603ae=((_0xe2e09f=_0x1cc163[_0x3948d4(0x4cc)])==null?void 0x0:_0xe2e09f['dataStream'])??'\x0d\x0a',_0x36dc3a=(_0xbe814e=_0x1cc163[_0x3948d4(0x725)])==null||(_0xbe814e=_0xbe814e[_0x3948d4(0x231)])==null?void 0x0:_0xbe814e[_0x3948d4(0x709)],_0xc1c49f={..._0x1cc163[_0x3948d4(0x4cc)],'dataStream':_0xc603ae,'paragraphs':oc(cc((_0x50c8bb=_0x1cc163[_0x3948d4(0x4cc)])!=null&&(_0x50c8bb=_0x50c8bb[_0x3948d4(0x695)])!=null&&_0x50c8bb[_0x3948d4(0x3b8)]?_0x1cc163[_0x3948d4(0x4cc)][_0x3948d4(0x695)]:ac(_0xc603ae)),_0x36dc3a),'textRuns':sc(((_0x2ddb86=_0x1cc163[_0x3948d4(0x4cc)])==null?void 0x0:_0x2ddb86[_0x3948d4(0x3a9)])??[])},_0x2d1ad0=_0x1cc163['documentStyle']?{..._0x1cc163[_0x3948d4(0x725)]}:{};return(_0x3aa598=_0x2d1ad0[_0x3948d4(0x442)])!=null&&_0x3aa598['bg']&&(_0x2d1ad0['textStyle']={..._0x2d1ad0['textStyle']},delete _0x2d1ad0['textStyle']['bg']),{..._0x1cc163,'id':_0x1cc163['id']??_0x22fcce,'body':_0xc1c49f,'documentStyle':{..._0x2d1ad0,'documentFlavor':_0x4a73dd[_0x3948d4(0x61f)]}};}function ac(_0xf172df){const _0x1ebc31=_0x19aaa2;let _0x267931=Math[_0x1ebc31(0x6f0)](0x1,_0xf172df['split']('\x0d')[_0x1ebc31(0x3b8)]-0x1),_0xce9a21=0x0;return Array[_0x1ebc31(0x1cf)]({'length':_0x267931},()=>{const _0xde721=_0x1ebc31;let _0x5eaf22=lc(_0xce9a21),_0x21194c=_0xf172df[_0xde721(0x67d)]('\x0d',_0xce9a21);return _0xce9a21=_0x21194c>=0x0?_0x21194c+0x1:_0xf172df[_0xde721(0x3b8)],_0x5eaf22;});}function oc(_0x19e305,_0x8f473a){const _0x49e2be=_0x19aaa2;return _0x8f473a===void 0x0?_0x19e305:_0x19e305['map'](_0x37bac2=>({..._0x37bac2,'paragraphStyle':{..._0x37bac2[_0x49e2be(0x222)],'horizontalAlign':_0x8f473a}}));}function sc(_0x39c91b){const _0x5ac244=_0x19aaa2;return _0x39c91b[_0x5ac244(0x694)](_0xced85b=>{var _0x49f176;if(!((_0x49f176=_0xced85b['ts'])!=null&&_0x49f176['bg']))return _0xced85b;let _0x40a0b3={..._0xced85b['ts']};return delete _0x40a0b3['bg'],{..._0xced85b,'ts':_0x40a0b3};});}function cc(_0x1b9acb){const _0x2da4bb=_0x19aaa2;return _0x1b9acb!=null&&_0x1b9acb['length']?_0x1b9acb[_0x2da4bb(0x694)]((_0x43656f,_0x2975f6)=>({..._0x43656f,'startIndex':typeof _0x43656f['startIndex']==_0x2da4bb(0x316)?_0x43656f['startIndex']:_0x2975f6,'paragraphId':_0x43656f[_0x2da4bb(0x291)]??_0x4d6594(new Set())})):[lc()];}function lc(_0x2b02eb=0x0){return{'startIndex':_0x2b02eb,'paragraphId':_0x4d6594(new Set())};}function uc(_0x21a15d,_0x312cb8,_0xd4feed){const _0x6bd4c7=_0x19aaa2;return _0x6bd4c7(0x227)+_0x21a15d+'_'+_0x312cb8+'_'+_0xd4feed;}function dc(_0x12952f){const _0x48fd7a=_0x19aaa2;let _0x43ba25=_0x942cb2(_0x12952f);return{'row':_0x43ba25[_0x48fd7a(0x544)],'column':_0x43ba25['startColumn']};}function fc(_0x3d5ad7,_0x53814e){const _0x5f3a39=_0x19aaa2;let _0x3293b5=pc(_0x53814e==null?void 0x0:_0x53814e['left'],0x4),_0x11ad49=pc(_0x53814e==null?void 0x0:_0x53814e['right'],0x4),_0x39bb25=pc(_0x53814e==null?void 0x0:_0x53814e[_0x5f3a39(0x573)],0x4),_0x41497e=pc(_0x53814e==null?void 0x0:_0x53814e[_0x5f3a39(0x662)],0x4);return{'left':_0x3d5ad7[_0x5f3a39(0x374)]+_0x3293b5,'top':_0x3d5ad7[_0x5f3a39(0x573)]+_0x39bb25,'width':Math[_0x5f3a39(0x6f0)](0x1,_0x3d5ad7[_0x5f3a39(0x530)]-_0x3293b5-_0x11ad49),'height':Math[_0x5f3a39(0x6f0)](0x1,_0x3d5ad7['height']-_0x39bb25-_0x41497e)};}function pc(_0xf38e69,_0x1fd439){const _0x3aaf11=_0x19aaa2;return typeof _0xf38e69==_0x3aaf11(0x316)&&Number['isFinite'](_0xf38e69)?_0xf38e69:_0x1fd439;}function mc(_0x269b4e,_0x4a0f5e){const _0x297c88=_0x19aaa2;let _0x11ce43=pc(_0x269b4e,_0x4a0f5e);return _0x11ce43>0x0?_0x11ce43:Math[_0x297c88(0x6f0)](0x1,_0x4a0f5e);}function hc(_0x423608){return _0x423608===!0x0||_0x423608===0x1;}function gc(_0x216a48){const _0x3e439a=_0x19aaa2;return typeof(_0x216a48==null?void 0x0:_0x216a48[_0x3e439a(0x452)])==_0x3e439a(0x5b4)&&_0x216a48['content'][_0x3e439a(0x722)]()['length']>0x0;}function _c(_0x14862c,_0x1c4706){const _0x334e8e=_0x19aaa2;let _0x5de895=_0x14862c==null?void 0x0:_0x14862c[_0x334e8e(0x6b8)],_0x39869f=(_0x5de895==null?void 0x0:_0x5de895[_0x334e8e(0x476)])||(_0x5de895==null?void 0x0:_0x5de895['ba'])||_0x1c4706[_0x334e8e(0x337)]||0x0,_0x31227d=(_0x5de895==null?void 0x0:_0x5de895[_0x334e8e(0x26d)])||(_0x5de895==null?void 0x0:_0x5de895['bd'])||_0x1c4706['dsc']||0x0;return _0x39869f===0x0&&_0x31227d===0x0?null:{'ascent':_0x39869f,'descent':_0x31227d};}function vc(_0x28d05a,_0x3eff36,_0x3fdfda){const _0x232c93=_0x19aaa2;var _0x3c8b2b;if(_0x3fdfda===void 0x0||_0x3fdfda===_0x392db0[_0x232c93(0x61f)])return 0x0;let _0x179edb=_0x28d05a[_0x232c93(0x355)]();if(!(_0x179edb!=null&&(_0x3c8b2b=_0x179edb[_0x232c93(0x47b)])!=null&&_0x3c8b2b['length']))return 0x0;let _0x593f41=0x1/0x0,_0x5abdb2=-0x1/0x0,_0x664d7e=0x0;for(let _0x4c2ddb of _0x179edb[_0x232c93(0x47b)]){let _0x20cb36=_0x4c2ddb[_0x232c93(0x673)]??0x0;for(let _0x34184a of _0x4c2ddb[_0x232c93(0x3fe)]??[]){let _0xd3c268=_0x34184a[_0x232c93(0x573)]??0x0;for(let _0x47623e of _0x34184a['columns']??[])for(let _0x2c379d of _0x47623e[_0x232c93(0x2b0)]??[]){let _0x525f5c=_0x664d7e+_0x20cb36+_0xd3c268+(_0x2c379d['top']??0x0)+(_0x2c379d[_0x232c93(0x673)]??0x0)+(_0x2c379d['paddingTop']??0x0)+(_0x2c379d[_0x232c93(0x337)]??0x0);for(let _0x238f04 of _0x2c379d['divides']??[])for(let _0xaf3b59 of _0x238f04[_0x232c93(0x6c6)]??[]){if(!gc(_0xaf3b59))continue;let _0x3441db=_c(_0xaf3b59,_0x2c379d);_0x3441db&&(_0x593f41=Math[_0x232c93(0x1df)](_0x593f41,_0x525f5c-_0x3441db[_0x232c93(0x254)]),_0x5abdb2=Math[_0x232c93(0x6f0)](_0x5abdb2,_0x525f5c+_0x3441db[_0x232c93(0x469)]));}}}let _0x23e62b=Number['isFinite'](_0x4c2ddb[_0x232c93(0x303)])?_0x4c2ddb[_0x232c93(0x303)]:_0x4c2ddb[_0x232c93(0x1aa)];_0x664d7e+=_0x23e62b??0x0;}return!Number[_0x232c93(0x44d)](_0x593f41)||!Number[_0x232c93(0x44d)](_0x5abdb2)?0x0:_0x3fdfda===_0x392db0['BOTTOM']?_0x3eff36-_0x5abdb2:_0x3fdfda===_0x392db0['MIDDLE']?_0x3eff36/0x2-(_0x593f41+_0x5abdb2)/0x2:_0x3fdfda===_0x392db0[_0x232c93(0x1a2)]?-_0x593f41:0x0;}function yc(_0x8a29e8,_0x118a8e){const _0x5b9f10=_0x19aaa2;let _0x3a1228=_0x257efd[_0x5b9f10(0x206)](_0x8a29e8),_0x3fc0d4=_0x3a1228[_0x5b9f10(0x725)]??{},_0xea36ad={..._0x3fc0d4[_0x5b9f10(0x231)]};if(_0x118a8e[_0x5b9f10(0x709)]!==void 0x0){_0xea36ad['horizontalAlign']=_0x118a8e['horizontalAlign'];let _0x1fa793=_0x3a1228[_0x5b9f10(0x4cc)],_0x26c987=_0x1fa793==null?void 0x0:_0x1fa793[_0x5b9f10(0x695)];_0x26c987&&(_0x1fa793[_0x5b9f10(0x695)]=_0x26c987['map'](_0x5c86dd=>{const _0xaf59f0=_0x5b9f10;var _0x88f161;return((_0x88f161=_0x5c86dd['paragraphStyle'])==null?void 0x0:_0x88f161[_0xaf59f0(0x709)])===void 0x0?{..._0x5c86dd,'paragraphStyle':{..._0x5c86dd[_0xaf59f0(0x222)],'horizontalAlign':_0x118a8e[_0xaf59f0(0x709)]}}:_0x5c86dd;}));}return _0x118a8e['verticalAlign']!==void 0x0&&(_0xea36ad['verticalAlign']=_0x118a8e['verticalAlign']),_0x3a1228['documentStyle']={..._0x3fc0d4,'renderConfig':Object['keys'](_0xea36ad)['length']>0x0?_0xea36ad:void 0x0},_0x3a1228;}function bc(_0x3f3ba2){const _0x1f4448=_0x19aaa2;let _0x102b1c=_0x3f3ba2[_0x1f4448(0x4cc)],_0x5269ca=_0x102b1c==null?void 0x0:_0x102b1c[_0x1f4448(0x695)],_0x1db965=_0x102b1c==null?void 0x0:_0x102b1c[_0x1f4448(0x40e)];if(!_0x102b1c||!_0x1db965)return;let _0x429866=[];for(let _0x2a85c1=0x0;_0x2a85c1<_0x1db965[_0x1f4448(0x3b8)];_0x2a85c1++)_0x1db965[_0x2a85c1]==='\x0d'&&_0x429866['push'](_0x2a85c1);let _0x56558b=new Set((_0x5269ca??[])['map'](_0x2b0af3=>_0x2b0af3[_0x1f4448(0x291)])[_0x1f4448(0x1f3)](_0x31ded8=>!!_0x31ded8));_0x102b1c[_0x1f4448(0x695)]=_0x429866[_0x1f4448(0x694)]((_0x1e884f,_0x15842b)=>{const _0x532c87=_0x1f4448;var _0x1ef10b;return{..._0x5269ca==null?void 0x0:_0x5269ca[_0x15842b],'startIndex':_0x1e884f,'paragraphId':(_0x5269ca==null||(_0x1ef10b=_0x5269ca[_0x15842b])==null?void 0x0:_0x1ef10b[_0x532c87(0x291)])??_0x4d6594(_0x56558b)};});}function xc(_0x59d483,_0x3d7bad){const _0xb08248=_0x19aaa2;var _0x523bb9,_0x1c2bef;let _0x35321d=(_0x523bb9=_0x59d483[_0xb08248(0x725)])==null?void 0x0:_0x523bb9[_0xb08248(0x231)],_0x8ca198=yc(_0x59d483,{'horizontalAlign':_0x3d7bad[_0xb08248(0x709)]??(_0x35321d==null?void 0x0:_0x35321d['horizontalAlign']),'verticalAlign':_0x3d7bad['verticalAlign']});bc(_0x8ca198);let _0x4203aa=_0x8ca198['documentStyle']??{},_0xb5dda7=_0x3d7bad[_0xb08248(0x565)]!==!0x1,_0x2cc64d={..._0x4203aa[_0xb08248(0x231)],'wrapStrategy':_0x3d7bad[_0xb08248(0x37c)]??((_0x1c2bef=_0x4203aa[_0xb08248(0x231)])==null?void 0x0:_0x1c2bef['wrapStrategy'])??_0x4c2ec9[_0xb08248(0x31c)]};return delete _0x2cc64d['horizontalAlign'],_0xb5dda7?(delete _0x2cc64d[_0xb08248(0x377)],delete _0x2cc64d[_0xb08248(0x6cd)]):(_0x2cc64d[_0xb08248(0x377)]=_0x5a8b47,_0x2cc64d[_0xb08248(0x6cd)]=_0x5a8b47),_0x8ca198['documentStyle']={..._0x4203aa,'documentFlavor':_0x4a73dd[_0xb08248(0x25b)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0xb5dda7?_0x3d7bad['width']:_0x3d7bad['height'],'height':0x1/0x0},'renderConfig':_0x2cc64d},_0x8ca198;}function Sc(_0x195767){const _0x562874=_0x19aaa2;var _0x2add25;let {documentData:_0x2e2f88,id:_0x49bddb=_0x562874(0x52a),isHorizontal:_0xf63c35,localeService:_0x197149,horizontalAlign:_0x406cb9,verticalAlign:_0x11cc37,size:_0x23bc4c}=_0x195767,_0x549efd={'width':_0x23bc4c[_0x562874(0x530)],'height':_0x23bc4c[_0x562874(0x1aa)]},_0xf9518=(_0x2add25=_0x2e2f88[_0x562874(0x725)])==null?void 0x0:_0x2add25[_0x562874(0x231)],_0x2afd9c=_0x11cc37??(_0xf9518==null?void 0x0:_0xf9518[_0x562874(0x4db)]),_0x159768=hc(_0x195767[_0x562874(0x405)]??(_0xf9518==null?void 0x0:_0xf9518[_0x562874(0x405)])),_0xba2b2b=xc(_0x2e2f88,{'width':_0x549efd[_0x562874(0x530)],'height':_0x549efd[_0x562874(0x1aa)],'verticalAlign':_0x159768?_0x392db0[_0x562874(0x1a2)]:_0x2afd9c,'horizontalAlign':_0x406cb9,'isHorizontal':_0xf63c35,'wrapStrategy':_0x195767[_0x562874(0x37c)]}),_0x11173f=new _0x583b3c(_0xba2b2b),_0x2547e7=new _0x743039(_0x11173f),_0x4e2e55=_0x511a3f[_0x562874(0x456)](_0x2547e7,_0x197149);_0x4e2e55[_0x562874(0x2a9)]();let _0x40cfba=_0x4e2e55[_0x562874(0x5e1)]()[_0x562874(0x6e3)],_0x935967=Math[_0x562874(0x6f0)](_0x549efd[_0x562874(0x1aa)],_0x40cfba),_0x1d8590=0x0;!_0x159768&&_0x40cfba<_0x549efd[_0x562874(0x1aa)]&&(_0x2afd9c===_0x392db0[_0x562874(0x2f5)]?_0x1d8590=(_0x549efd[_0x562874(0x1aa)]-_0x40cfba)/0x2:_0x2afd9c===_0x392db0[_0x562874(0x310)]&&(_0x1d8590=_0x549efd[_0x562874(0x1aa)]-_0x40cfba)),_0x11173f[_0x562874(0x62c)]({'pageSize':{'width':_0xf63c35===!0x1?_0x549efd[_0x562874(0x1aa)]:_0x549efd[_0x562874(0x530)],'height':_0x570eae(_0x2e2f88,_0x935967)}}),_0x11173f[_0x562874(0x3f5)]({'t':_0x1d8590}),_0x4e2e55[_0x562874(0x2a9)]();let _0x214264=new _0x49a012(_0x49bddb,_0x4e2e55,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x214264[_0x562874(0x428)](_0x549efd[_0x562874(0x530)],_0x935967);let _0x4cf82f=_0x159768?vc(_0x4e2e55,_0x549efd[_0x562874(0x1aa)],_0x2afd9c):0x0;return{'documents':_0x214264,'skeleton':_0x4e2e55,'docViewModel':_0x2547e7,'docModel':_0x11173f,'width':_0x549efd['width'],'minHeight':_0x549efd[_0x562874(0x1aa)],'actualHeight':_0x40cfba,'contentHeight':_0x935967,'marginTop':_0x1d8590,'opticalVerticalOffset':_0x4cf82f,'dispose':()=>{const _0x2c915e=_0x562874;_0x214264[_0x2c915e(0x3e1)](),_0x4e2e55['dispose'](),_0x2547e7['dispose'](),_0x11173f[_0x2c915e(0x3e1)]();}};}function Cc(_0xcc8836,_0x5814ac){const _0x21a51e=_0x19aaa2;if(_0x5814ac!==void 0x0)return{'top':0x0,'height':_0x5814ac};let _0x5c2d71=_0xcc8836[_0x21a51e(0x6e3)]>_0xcc8836[_0x21a51e(0x41e)]&&_0xcc8836[_0x21a51e(0x53d)]<0x0?_0xcc8836['opticalVerticalOffset']:0x0;return{'top':_0x5c2d71,'height':_0xcc8836[_0x21a51e(0x5e4)]-_0x5c2d71};}function wc(_0x8d560a,_0x2dab3a,_0x10839b,_0x3b7092,_0x358ede,_0x3e49d6){const _0x51b383=_0x19aaa2;if(_0x8d560a['save'](),_0x8d560a[_0x51b383(0x37e)](_0x10839b,_0x3b7092),_0x358ede){let _0x32b728=Cc(_0x2dab3a,_0x3e49d6);_0x8d560a[_0x51b383(0x605)](),_0x8d560a[_0x51b383(0x597)](0x0,_0x32b728['top'],_0x2dab3a['width'],_0x32b728[_0x51b383(0x1aa)]),_0x8d560a[_0x51b383(0x4b8)]();}_0x2dab3a[_0x51b383(0x53d)]&&_0x8d560a[_0x51b383(0x37e)](0x0,_0x2dab3a['opticalVerticalOffset']),_0x2dab3a[_0x51b383(0x410)][_0x51b383(0x4b6)](_0x8d560a),_0x8d560a[_0x51b383(0x4a8)]();}function Tc(_0x377ddf){const _0x256874=_0x19aaa2;try{return JSON[_0x256874(0x3f4)](_0x377ddf);}catch{return String(_0x377ddf);}}function Ec(_0x2925f3){const _0x4fb59d=_0x19aaa2;let _0x26f805=_0x2925f3;return typeof _0x26f805[_0x4fb59d(0x2e4)]==_0x4fb59d(0x436)?_0x26f805[_0x4fb59d(0x2e4)]():'';}function Dc(_0x128b01,_0x5a6e67,_0x264d1e){const _0x1e5bb7=_0x19aaa2;var _0x4c55e0;let _0x4ced2b=(_0x4c55e0=_0x5a6e67['documentStyle'])==null?void 0x0:_0x4c55e0[_0x1e5bb7(0x231)];return Tc({'cacheKey':_0x128b01[_0x1e5bb7(0x2a7)],'key':_0x128b01[_0x1e5bb7(0x317)],'text':_0x128b01[_0x1e5bb7(0x3ea)],'documentData':_0x128b01[_0x1e5bb7(0x2a7)]===void 0x0?_0x5a6e67:void 0x0,'left':_0x128b01[_0x1e5bb7(0x374)],'top':_0x128b01[_0x1e5bb7(0x573)],'width':_0x128b01[_0x1e5bb7(0x530)],'height':_0x128b01[_0x1e5bb7(0x1aa)],'horizontalAlign':_0x128b01[_0x1e5bb7(0x709)]??(_0x4ced2b==null?void 0x0:_0x4ced2b['horizontalAlign']),'verticalAlign':_0x128b01[_0x1e5bb7(0x4db)]??(_0x4ced2b==null?void 0x0:_0x4ced2b[_0x1e5bb7(0x4db)]),'isHorizontal':_0x128b01['isHorizontal'],'wrapStrategy':_0x128b01[_0x1e5bb7(0x37c)],'clip':_0x128b01[_0x1e5bb7(0x4b8)],'viewportHeight':_0x128b01[_0x1e5bb7(0x424)],'shapeTextOpticalVerticalAlign':_0x128b01[_0x1e5bb7(0x405)]??(_0x4ced2b==null?void 0x0:_0x4ced2b[_0x1e5bb7(0x405)]),'locale':Ec(_0x264d1e)});}function Oc(_0x342681,_0x1a1849){const _0xf53c1b=_0x19aaa2;var _0x163480;if(_0x342681['clip']!==void 0x0)return _0x342681[_0xf53c1b(0x4b8)];let _0xd498af=(_0x163480=_0x1a1849[_0xf53c1b(0x725)])==null?void 0x0:_0x163480[_0xf53c1b(0x231)];return(_0x342681[_0xf53c1b(0x37c)]??(_0xd498af==null?void 0x0:_0xd498af['wrapStrategy']))!==_0x4c2ec9[_0xf53c1b(0x1c9)];}function kc(_0x1dcc79){const _0x1103b6=_0x19aaa2;var _0x3ebb5b;_0x1dcc79==null||(_0x3ebb5b=_0x1dcc79[_0x1103b6(0x4a9)])==null||_0x3ebb5b['dispose'](),_0x1dcc79&&(_0x1dcc79['signature']=void 0x0,_0x1dcc79['resources']=void 0x0);}function Ac(_0x8f8723,_0x4fe736,_0x113a6b){const _0x27abdf=_0x19aaa2;var _0x4d140b;let {documentData:_0x4a7c49,height:_0x5dfbc6,horizontalAlign:_0x1ec691,isHorizontal:_0xc35fde,key:_0x700570,left:_0x5e3a40,localeService:_0x4260eb,text:_0x510e79,top:_0x339bd4,verticalAlign:_0xa7e6ed,width:_0x3ab5bc}=_0x4fe736;if(!_0x4260eb||_0x3ab5bc<=0x0||_0x5dfbc6<=0x0||!_0x4a7c49&&!_0x510e79)return!0x1;let _0x331b4c=_0x131b43(_0x4a7c49??ec(_0x700570,0x0,0x0,_0x510e79??'')),_0x43b6d9=(_0x4d140b=_0x331b4c['documentStyle'])==null?void 0x0:_0x4d140b['renderConfig'],_0x5054bd=_0x1ec691??(_0x43b6d9==null?void 0x0:_0x43b6d9[_0x27abdf(0x709)]),_0x4932d8=_0xa7e6ed??(_0x43b6d9==null?void 0x0:_0x43b6d9[_0x27abdf(0x4db)]),_0x5f2849=_0x113a6b?Dc(_0x4fe736,_0x331b4c,_0x4260eb):void 0x0,_0x33cbee=Oc(_0x4fe736,_0x331b4c);if(_0x113a6b!=null&&_0x113a6b['resources']&&_0x113a6b['signature']===_0x5f2849)return wc(_0x8f8723,_0x113a6b[_0x27abdf(0x4a9)],_0x5e3a40,_0x339bd4,_0x33cbee,_0x4fe736[_0x27abdf(0x424)]),!0x0;_0x113a6b!=null&&_0x113a6b[_0x27abdf(0x4a9)]&&kc(_0x113a6b);let _0x23bbe1=Sc({'id':_0x27abdf(0x27f)+_0x700570,'documentData':_0x331b4c,'size':{'width':_0x3ab5bc,'height':_0x5dfbc6},'localeService':_0x4260eb,'horizontalAlign':_0x5054bd,'verticalAlign':_0x4932d8,'isHorizontal':_0xc35fde,'wrapStrategy':_0x4fe736['wrapStrategy'],'shapeTextOpticalVerticalAlign':_0x4fe736[_0x27abdf(0x405)]??(_0x43b6d9==null?void 0x0:_0x43b6d9[_0x27abdf(0x405)])});return wc(_0x8f8723,_0x23bbe1,_0x5e3a40,_0x339bd4,_0x33cbee,_0x4fe736[_0x27abdf(0x424)]),_0x113a6b?(_0x113a6b[_0x27abdf(0x5d6)]=_0x5f2849,_0x113a6b['resources']=_0x23bbe1):_0x23bbe1['dispose'](),!0x0;}function jc(_0x1e8863,_0x497d6f,_0x39c2bd,_0x129220,_0x1fe725){const _0x52c0f6=_0x19aaa2;let _0xd14ff7=_0x1e8863[_0x52c0f6(0x389)]['reduce']((_0x5e447c,_0xb9b76b)=>_0x5e447c+_0xb9b76b['width'],0x0),_0x564c0d=_0x1e8863[_0x52c0f6(0x416)][_0x52c0f6(0x21c)]((_0x3a0917,_0x58afbe)=>_0x3a0917+(_0x58afbe[_0x52c0f6(0x1aa)]??0x18),0x0);if(_0xd14ff7<=0x0||_0x564c0d<=0x0||_0x497d6f<=0x0||_0x39c2bd<=0x0)return _0x1e8863;let _0x49fbc5={..._0x1e8863,'columns':_0x1e8863[_0x52c0f6(0x389)][_0x52c0f6(0x694)](_0x566382=>({..._0x566382,'width':_0x566382['width']*_0x497d6f/_0xd14ff7})),'rows':_0x1e8863[_0x52c0f6(0x416)][_0x52c0f6(0x694)](_0x195036=>({..._0x195036,'height':(_0x195036[_0x52c0f6(0x1aa)]??0x18)*Math[_0x52c0f6(0x6f0)](0x1,_0x39c2bd/_0x564c0d)}))},_0x423c21=_0x59b2f8(_0x49fbc5,{'themes':_0x1fe725})[_0x52c0f6(0x307)][_0x52c0f6(0x1f3)](_0xe18b3d=>!_0xe18b3d[_0x52c0f6(0x332)])[_0x52c0f6(0x62f)]((_0x2f7a3f,_0x3c69de)=>_0x2f7a3f[_0x52c0f6(0x33b)]-_0x3c69de[_0x52c0f6(0x33b)]);for(let _0x2e99d5 of _0x423c21){var _0x49367b;let _0x31c295=(_0x49367b=_0x1e8863['rows'][_0x2e99d5[_0x52c0f6(0x642)]])==null||(_0x49367b=_0x49367b[_0x52c0f6(0x307)][_0x2e99d5[_0x52c0f6(0x3c4)]])==null?void 0x0:_0x49367b['textData'],_0x7b42f7=_0x2e99d5[_0x52c0f6(0x33c)]['textDirection'];if(!_0x31c295||_0x7b42f7===_0x28d328[_0x52c0f6(0x3c8)]||_0x7b42f7===_0x28d328[_0x52c0f6(0x498)])continue;let _0x1b3ef9=_0xbc9428(_0x2e99d5[_0x52c0f6(0x33c)][_0x52c0f6(0x297)]),_0x555c30=_0x2e99d5[_0x52c0f6(0x61d)][_0x52c0f6(0x530)]-_0x1b3ef9['left']-_0x1b3ef9[_0x52c0f6(0x1bd)];if(_0x555c30<=0x0)continue;let _0x5cd73b=Sc({'documentData':_0x131b43(_0x31c295),'size':{'width':_0x555c30,'height':Math[_0x52c0f6(0x6f0)](0x1,_0x2e99d5[_0x52c0f6(0x61d)]['height']-_0x1b3ef9['top']-_0x1b3ef9['bottom'])},'localeService':_0x129220,'verticalAlign':_0x392db0['TOP'],'wrapStrategy':_0x4c2ec9['WRAP']});try{let _0xd56cae=_0x5cd73b['actualHeight']+_0x1b3ef9[_0x52c0f6(0x573)]+_0x1b3ef9[_0x52c0f6(0x662)],_0x16a188=Math[_0x52c0f6(0x1df)](_0x49fbc5[_0x52c0f6(0x416)][_0x52c0f6(0x3b8)],_0x2e99d5['row']+_0x2e99d5[_0x52c0f6(0x33b)]),_0x458624=_0x49fbc5[_0x52c0f6(0x416)]['slice'](_0x2e99d5['row'],_0x16a188)[_0x52c0f6(0x21c)]((_0x58ec68,_0x5c441d)=>_0x58ec68+_0x5c441d['height'],0x0);Number[_0x52c0f6(0x44d)](_0xd56cae)&&_0xd56cae>_0x458624&&_0x16a188>_0x2e99d5['row']&&(_0x49fbc5[_0x52c0f6(0x416)][_0x16a188-0x1][_0x52c0f6(0x1aa)]+=_0xd56cae-_0x458624);}finally{_0x5cd73b[_0x52c0f6(0x3e1)]();}}return _0x49fbc5;}const Mc=_0x19aaa2(0x728),Nc=_0x19aaa2(0x379),Pc=_0x19aaa2(0x4c5),Fc=_0x19aaa2(0x5da),Ic='#1a73e8',Lc=_0x19aaa2(0x4c5),Rc='#1a73e8',zc=_0x19aaa2(0x668),Bc=_0x19aaa2(0x2aa),Vc='#5f6368',Hc=_0x19aaa2(0x4c5),Uc=0.5;function Wc(_0x24c3a9,_0x4a31ae){const _0x4d0223=_0x19aaa2;let _0x3e7289=_0x24c3a9[_0x4d0223(0x642)]+Math[_0x4d0223(0x6f0)](0x1,_0x24c3a9['rowSpan'])-0x1,_0x273bdd=_0x24c3a9['column']+Math[_0x4d0223(0x6f0)](0x1,_0x24c3a9[_0x4d0223(0x6a7)])-0x1;return _0x4a31ae[_0x4d0223(0x27a)](_0x17a00d=>{const _0x4f8486=_0x4d0223;let _0x42018c=Math[_0x4f8486(0x1df)](_0x17a00d[_0x4f8486(0x544)],_0x17a00d['endRow']),_0x1baf08=Math[_0x4f8486(0x6f0)](_0x17a00d[_0x4f8486(0x544)],_0x17a00d[_0x4f8486(0x3cd)]),_0x249ced=Math['min'](_0x17a00d[_0x4f8486(0x2f4)],_0x17a00d['endColumn']),_0x550fba=Math['max'](_0x17a00d[_0x4f8486(0x2f4)],_0x17a00d[_0x4f8486(0x434)]);return _0x24c3a9['row']<=_0x1baf08&&_0x3e7289>=_0x42018c&&_0x24c3a9[_0x4f8486(0x3c4)]<=_0x550fba&&_0x273bdd>=_0x249ced;});}var Gc=class e extends _0x4dab93{constructor(_0x3c9b93,_0x1b96ed){const _0x52bb5f=_0x19aaa2;super(_0x3c9b93,{..._0x1b96ed,'fill':Pc,'stroke':Mc,'strokeWidth':0x1,'evented':!0x0}),q(this,_0x52bb5f(0x576),!0x0),q(this,_0x52bb5f(0x21b),void 0x0),q(this,_0x52bb5f(0x47e),void 0x0),q(this,_0x52bb5f(0x549),new _0x392d7d()),q(this,_0x52bb5f(0x237),void 0x0),q(this,'_previewTable',null),q(this,'_layoutTable',null),q(this,'_layoutSource',void 0x0),q(this,'_layoutRevision',void 0x0),q(this,_0x52bb5f(0x5a3),0x0),q(this,_0x52bb5f(0x289),0x0),q(this,'_requestedHeight',0x0),q(this,_0x52bb5f(0x33f),null),q(this,'_cellHover',null),q(this,_0x52bb5f(0x1c5),null),q(this,_0x52bb5f(0x3e6),null),q(this,_0x52bb5f(0x6c8),null),q(this,_0x52bb5f(0x400),void 0x0),q(this,_0x52bb5f(0x202),void 0x0),q(this,_0x52bb5f(0x415),void 0x0),q(this,_0x52bb5f(0x5e0),void 0x0),q(this,_0x52bb5f(0x5e5),null),q(this,'_visibleCellCache',null),q(this,'_textRenderCaches',new Map()),this[_0x52bb5f(0x21b)]=_0x1b96ed[_0x52bb5f(0x5dd)]??'all',this[_0x52bb5f(0x47e)]=_0x1b96ed[_0x52bb5f(0x2fa)],this[_0x52bb5f(0x237)]=_0x1b96ed[_0x52bb5f(0x283)]??null,this[_0x52bb5f(0x400)]=_0x1b96ed['localeService'],this['_tableThemePalette']=_0x1b96ed['tableThemePalette'],this[_0x52bb5f(0x415)]=_0x1b96ed[_0x52bb5f(0x616)],this[_0x52bb5f(0x5e0)]=_0x1b96ed['themeService'],this[_0x52bb5f(0x35b)]=this[_0x52bb5f(0x1aa)],this[_0x52bb5f(0x364)]();}['getConnectionSites'](){return[{'x':0.5,'y':0x0,'idx':0x0,'ang':0x10e},{'x':0x1,'y':0.5,'idx':0x1,'ang':0x0},{'x':0.5,'y':0x1,'idx':0x2,'ang':0x5a},{'x':0x0,'y':0.5,'idx':0x3,'ang':0xb4}];}[_0x19aaa2(0x32d)](_0x62c12c){const _0x5932cf=_0x19aaa2;this[_0x5932cf(0x237)]=_0x62c12c??null,this['makeDirty'](!0x0);}[_0x19aaa2(0x525)](_0x49b8cf){const _0x593afb=_0x19aaa2;this[_0x593afb(0x415)]=_0x49b8cf,this[_0x593afb(0x38d)]=void 0x0,this[_0x593afb(0x4dc)](!0x0);}[_0x19aaa2(0x512)](){const _0x4db8b5=_0x19aaa2;return this[_0x4db8b5(0x237)];}['setPreviewTable'](_0x4046b7){const _0x57a014=_0x19aaa2;this['_previewTable']=_0x4046b7,this[_0x57a014(0x4dc)](!0x0);}['setLocaleService'](_0x36f0cf){const _0x51a4c8=_0x19aaa2;this[_0x51a4c8(0x400)]!==_0x36f0cf&&(this[_0x51a4c8(0x400)]=_0x36f0cf,this[_0x51a4c8(0x66b)](),this[_0x51a4c8(0x4dc)](!0x0));}['setTableThemePalette'](_0x77ed07){const _0x286938=_0x19aaa2;this[_0x286938(0x202)]=_0x77ed07,this[_0x286938(0x4dc)](!0x0);}[_0x19aaa2(0x4d5)](_0x49718f){const _0x5cac5f=_0x19aaa2;this[_0x5cac5f(0x33f)]=_0x49718f?{'kind':_0x49718f[_0x5cac5f(0x3c2)],'ranges':_0x49718f['ranges'][_0x5cac5f(0x694)](_0x4be569=>({..._0x4be569})),'active':_0x49718f[_0x5cac5f(0x339)]?{..._0x49718f[_0x5cac5f(0x339)]}:void 0x0}:null,_0x49718f||(this[_0x5cac5f(0x5f0)]=null,this[_0x5cac5f(0x6c8)]=null),this['makeDirty'](!0x0);}[_0x19aaa2(0x28e)](){const _0x37e735=_0x19aaa2;return this[_0x37e735(0x33f)]?{'kind':this[_0x37e735(0x33f)][_0x37e735(0x3c2)],'ranges':this[_0x37e735(0x33f)]['ranges']['map'](_0x546d89=>({..._0x546d89})),'active':this['_selection'][_0x37e735(0x339)]?{...this[_0x37e735(0x33f)][_0x37e735(0x339)]}:void 0x0}:null;}[_0x19aaa2(0x29f)](){const _0x2ebd80=_0x19aaa2;let _0x2098f5=this['_getRenderTable']();return _0x2098f5?this[_0x2ebd80(0x631)](_0x2098f5):null;}[_0x19aaa2(0x378)](){const _0x2e08d4=_0x19aaa2;var _0x4886a6;return((_0x4886a6=this[_0x2e08d4(0x5e0)])==null?void 0x0:_0x4886a6['getColorFromTheme'](_0x2e08d4(0x6f2)))??Fc;}['setEditingCell'](_0x1286b1){const _0x3ee935=_0x19aaa2;var _0x4d6e54,_0x3dbb14;let _0x4f0060=(_0x1286b1==null?void 0x0:_0x1286b1[_0x3ee935(0x642)])??null,_0x752a67=(_0x1286b1==null?void 0x0:_0x1286b1['column'])??null,_0x218527=((_0x4d6e54=this[_0x3ee935(0x1c5)])==null?void 0x0:_0x4d6e54['row'])??null,_0x6f13d0=((_0x3dbb14=this['_editingCell'])==null?void 0x0:_0x3dbb14[_0x3ee935(0x3c4)])??null;(_0x4f0060!==_0x218527||_0x752a67!==_0x6f13d0)&&(this[_0x3ee935(0x1c5)]=_0x1286b1?{'row':_0x1286b1[_0x3ee935(0x642)],'column':_0x1286b1[_0x3ee935(0x3c4)]}:null,this[_0x3ee935(0x4dc)](!0x0));}[_0x19aaa2(0x4cd)](){const _0x18ba2c=_0x19aaa2;return this[_0x18ba2c(0x1c5)]?{...this['_editingCell']}:null;}[_0x19aaa2(0x2d1)](_0x592a3a){const _0x599c7a=_0x19aaa2;var _0x5bcfb2,_0xff0d1e,_0x56fd1c;let _0x25c0e2=(_0x592a3a==null?void 0x0:_0x592a3a[_0x599c7a(0x3c2)])??null,_0x4fa238=(_0x592a3a==null?void 0x0:_0x592a3a[_0x599c7a(0x642)])??null,_0x1c5716=(_0x592a3a==null?void 0x0:_0x592a3a[_0x599c7a(0x3c4)])??null,_0x5ac228=((_0x5bcfb2=this[_0x599c7a(0x3e6)])==null?void 0x0:_0x5bcfb2[_0x599c7a(0x3c2)])??null,_0x306a6d=((_0xff0d1e=this[_0x599c7a(0x3e6)])==null?void 0x0:_0xff0d1e[_0x599c7a(0x642)])??null,_0x40ee6c=((_0x56fd1c=this['_controlHover'])==null?void 0x0:_0x56fd1c[_0x599c7a(0x3c4)])??null;return _0x25c0e2===_0x5ac228&&_0x4fa238===_0x306a6d&&_0x1c5716===_0x40ee6c?!0x1:(this['_controlHover']=_0x25c0e2===null&&_0x4fa238===null&&_0x1c5716===null?null:{'kind':_0x592a3a==null?void 0x0:_0x592a3a['kind'],'row':_0x4fa238,'column':_0x1c5716},this['makeDirty'](!0x0),!0x0);}[_0x19aaa2(0x4be)](_0x2ef19b){const _0x5846a4=_0x19aaa2;var _0x129072,_0x2b9252;let _0x13199b=((_0x129072=this[_0x5846a4(0x5f0)])==null?void 0x0:_0x129072[_0x5846a4(0x642)])??null,_0x98bdc7=((_0x2b9252=this[_0x5846a4(0x5f0)])==null?void 0x0:_0x2b9252['column'])??null,_0x460b57=(_0x2ef19b==null?void 0x0:_0x2ef19b['row'])??null,_0x5465d5=(_0x2ef19b==null?void 0x0:_0x2ef19b[_0x5846a4(0x3c4)])??null;return _0x13199b===_0x460b57&&_0x98bdc7===_0x5465d5?!0x1:(this[_0x5846a4(0x5f0)]=_0x2ef19b?{'row':_0x2ef19b[_0x5846a4(0x642)],'column':_0x2ef19b[_0x5846a4(0x3c4)]}:null,this[_0x5846a4(0x4dc)](!0x0),!0x0);}['setTableControlState'](_0x47c4a3){const _0xb4cef5=_0x19aaa2;let _0x30599a=Ml(_0x47c4a3);return!Nl(this[_0xb4cef5(0x6c8)],_0x30599a)&&(this[_0xb4cef5(0x6c8)]=_0x30599a,this[_0xb4cef5(0x4dc)](!0x0),!0x0);}['getInverseCoord'](_0x17b293){const _0x3ed3cd=_0x19aaa2;this['getLayoutTable']();let _0x253e42=this[_0x3ed3cd(0x68a)](),_0xce63b8=_0x253e42[_0x3ed3cd(0x374)]+_0x253e42[_0x3ed3cd(0x530)]/0x2,_0x5d906b=_0x253e42['top']+_0x253e42[_0x3ed3cd(0x1aa)]/0x2,_0x267618=this[_0x3ed3cd(0x438)][_0x3ed3cd(0x5be)](),_0xf46700=new _0x1ab435([_0x267618[0x0],_0x267618[0x1],_0x267618[0x2],_0x267618[0x3],_0xce63b8,_0x5d906b]),_0x30940c=this[_0x3ed3cd(0x3d7)]();return(this[_0x3ed3cd(0x5bc)]&&(_0x30940c==null?void 0x0:_0x30940c[_0x3ed3cd(0x71c)])===_0xbe4aaa[_0x3ed3cd(0x23d)]?_0x30940c[_0x3ed3cd(0x6c1)]['multiply'](_0xf46700):_0xf46700)['invert']()['applyPoint'](_0x17b293);}[_0x19aaa2(0x495)](_0xa410bb){const _0x322348=_0x19aaa2;let _0x22e7ba=this['getInverseCoord'](_0xa410bb),_0x1fdd0c=this['width']/0x2,_0x4164ac=this['height']/0x2;return _0x22e7ba['x']>=-_0x1fdd0c-this[_0x322348(0x64e)]/0x2&&_0x22e7ba['x']<=_0x1fdd0c+this[_0x322348(0x64e)]/0x2&&_0x22e7ba['y']>=-_0x4164ac-this[_0x322348(0x64e)]/0x2&&_0x22e7ba['y']<=_0x4164ac+this[_0x322348(0x64e)]/0x2||this[_0x322348(0x19d)](_0x22e7ba);}['getCellTextRect'](_0x42ca0a,_0x35d728,_0x32c22c,_0x48173c){const _0x3e1e6d=_0x19aaa2;var _0x10362f,_0x52dbf7;let _0x1e3295=this[_0x3e1e6d(0x62b)]();if(!_0x1e3295)return null;let _0x3f77cc=this[_0x3e1e6d(0x631)](_0x1e3295),_0xb1ad2a=this[_0x3e1e6d(0x239)](_0x3f77cc),_0x50fc0b=this[_0x3e1e6d(0x21b)]===_0x3e1e6d(0x292)?(_0x10362f=_0xb1ad2a[_0x3e1e6d(0x294)][_0x42ca0a])==null?void 0x0:_0x10362f[_0x35d728]:(_0x52dbf7=_0xb1ad2a[_0x3e1e6d(0x357)][_0x42ca0a])==null?void 0x0:_0x52dbf7[_0x35d728];return _0x50fc0b?kl(_0x50fc0b,_0x3f77cc,_0x32c22c??this[_0x3e1e6d(0x530)],_0x48173c??this['height']):null;}[_0x19aaa2(0x3e1)](){const _0x382494=_0x19aaa2;this['_imageLoadSubscriptions'][_0x382494(0x531)](),this[_0x382494(0x66b)](),super[_0x382494(0x3e1)]();}[_0x19aaa2(0x239)](_0x2c2211){const _0xa915a5=_0x19aaa2;var _0x5b4952;if(((_0x5b4952=this[_0xa915a5(0x4a6)])==null?void 0x0:_0x5b4952[_0xa915a5(0x4fc)])===_0x2c2211)return this[_0xa915a5(0x4a6)];let _0x11b224=_0x2c2211[_0xa915a5(0x307)][_0xa915a5(0x1f3)](_0x3dab3e=>!_0x3dab3e[_0xa915a5(0x332)]),_0x28e0e2=[],_0x2e7ab7=[];return _0x11b224['forEach'](_0x22bb4f=>{const _0x48035a=_0xa915a5;(_0x2e7ab7[_0x22bb4f[_0x48035a(0x642)]]??=[])[_0x22bb4f[_0x48035a(0x3c4)]]=_0x22bb4f;let _0x2b2847=_0x22bb4f[_0x48035a(0x642)]+Math['max'](0x1,_0x22bb4f[_0x48035a(0x33b)]),_0x1b4752=_0x22bb4f[_0x48035a(0x3c4)]+Math[_0x48035a(0x6f0)](0x1,_0x22bb4f[_0x48035a(0x6a7)]);for(let _0x53216e=_0x22bb4f['row'];_0x53216e<_0x2b2847;_0x53216e+=0x1){let _0x3dc2f0=_0x28e0e2[_0x53216e]??=[];for(let _0x271f62=_0x22bb4f['column'];_0x271f62<_0x1b4752;_0x271f62+=0x1)_0x3dc2f0[_0x271f62]=_0x22bb4f;}}),this[_0xa915a5(0x4a6)]={'cells':_0x11b224,'cellAtPosition':_0x28e0e2,'cellByOrigin':_0x2e7ab7,'model':_0x2c2211},this[_0xa915a5(0x4a6)];}[_0x19aaa2(0x6a1)](_0x501729,_0x4a7317=this[_0x19aaa2(0x530)],_0x2aaa21=this[_0x19aaa2(0x1aa)]){const _0x31001d=_0x19aaa2;let _0x216f49=this[_0x31001d(0x62b)]();if(!_0x216f49)return null;let _0x22f823=this['_resolveRenderModel'](_0x216f49),_0x4ce0d5=this[_0x31001d(0x47c)](_0x501729);return Zs(_0x22f823,(_0x4ce0d5['x']+_0x4a7317/0x2)*$(_0x22f823['width']/_0x4a7317,0x1),(_0x4ce0d5['y']+_0x2aaa21/0x2)*$(_0x22f823[_0x31001d(0x1aa)]/_0x2aaa21,0x1));}['hitTestControlAtScenePoint'](_0x269eec,_0x28b1b6=this[_0x19aaa2(0x530)],_0x59a21a=this[_0x19aaa2(0x1aa)]){const _0x5bf49a=_0x19aaa2;let _0x3b6004=this[_0x5bf49a(0x62b)]();if(!_0x3b6004)return null;let _0x2b74f8=this[_0x5bf49a(0x631)](_0x3b6004),_0x359ef1=this[_0x5bf49a(0x47c)](_0x269eec),_0x400099=this[_0x5bf49a(0x2d9)](_0x2b74f8,_0x28b1b6,_0x59a21a,{'showAll':!0x0});return _0xcc8c0c(_0x400099,_0x359ef1['x']+_0x28b1b6/0x2,_0x359ef1['y']+_0x59a21a/0x2);}['hitTestStructuralTriggerAtScenePoint'](_0x5b3109,_0x1ef1e8=this[_0x19aaa2(0x530)],_0x3045ab=this[_0x19aaa2(0x1aa)]){const _0x19fb40=_0x19aaa2;let _0x3367a1=this[_0x19fb40(0x62b)]();if(!_0x3367a1)return null;let _0x1e4a93=this[_0x19fb40(0x631)](_0x3367a1),_0x5b54e1=this[_0x19fb40(0x47c)](_0x5b3109),_0x15fccc=this['_buildStructuralTriggers'](_0x1e4a93,_0x1ef1e8,_0x3045ab,Kc(_0x3367a1,_0x1ef1e8),qc(_0x3367a1,_0x3045ab));return _0x394a47(_0x15fccc,_0x5b54e1['x']+_0x1ef1e8/0x2,_0x5b54e1['y']+_0x3045ab/0x2);}[_0x19aaa2(0x4e2)](_0x42c08f,_0x5cae5a=this[_0x19aaa2(0x530)],_0x1ccf02=this[_0x19aaa2(0x1aa)]){const _0x11ceb6=_0x19aaa2;let _0x21426=this[_0x11ceb6(0x62b)]();if(!_0x21426)return null;let _0x42ecd8=this[_0x11ceb6(0x631)](_0x21426),_0x4db14a=this[_0x11ceb6(0x47c)](_0x42c08f),_0x19ca9d=this['_buildStructuralTriggers'](_0x42ecd8,_0x5cae5a,_0x1ccf02,Kc(_0x21426,_0x5cae5a),qc(_0x21426,_0x1ccf02));return _0x1b7099(_0x19ca9d,_0x4db14a['x']+_0x5cae5a/0x2,_0x4db14a['y']+_0x1ccf02/0x2);}[_0x19aaa2(0x6ae)](_0x40480a,_0xf9bb6a){const _0x5e90f8=_0x19aaa2;if(!this['visible'])return this[_0x5e90f8(0x4dc)](!0x1),this;this[_0x5e90f8(0x364)]();let _0x500aac=this[_0x5e90f8(0x68a)](),_0x407f1f=this[_0x5e90f8(0x51e)]()?0x18:0x0;if(this[_0x5e90f8(0x1dc)](_0xf9bb6a)){let {top:_0x522d4f,left:_0x31614b,bottom:_0x300a3d,right:_0x51ab0b}=_0xf9bb6a[_0x5e90f8(0x5ff)];if(_0x500aac['left']+_0x500aac[_0x5e90f8(0x530)]+this[_0x5e90f8(0x64e)]+_0x407f1f<_0x31614b||_0x51ab0b<_0x500aac[_0x5e90f8(0x374)]-this['strokeWidth']-_0x407f1f||_0x500aac[_0x5e90f8(0x573)]+_0x500aac[_0x5e90f8(0x1aa)]+this[_0x5e90f8(0x64e)]+_0x407f1f<_0x522d4f||_0x300a3d<_0x500aac[_0x5e90f8(0x573)]-this[_0x5e90f8(0x64e)]-_0x407f1f)return this;}let _0x47198c=this[_0x5e90f8(0x438)]['getMatrix'](),_0x227f3c=_0x500aac['left']+_0x500aac[_0x5e90f8(0x530)]/0x2,_0x6c628f=_0x500aac[_0x5e90f8(0x573)]+_0x500aac[_0x5e90f8(0x1aa)]/0x2;return _0x40480a[_0x5e90f8(0x658)](),_0x40480a[_0x5e90f8(0x438)](_0x47198c[0x0],_0x47198c[0x1],_0x47198c[0x2],_0x47198c[0x3],_0x227f3c,_0x6c628f),this['_draw'](_0x40480a,_0xf9bb6a,_0x500aac[_0x5e90f8(0x530)],_0x500aac[_0x5e90f8(0x1aa)]),_0x40480a[_0x5e90f8(0x4a8)](),this['makeDirty'](!0x1),this;}['_draw'](_0x3e242f,_0x347e26,_0x28d335,_0x1e75b9){const _0x1bad52=_0x19aaa2;let _0x1425fe=_0x28d335??this['width'],_0x2689df=_0x1e75b9??this[_0x1bad52(0x1aa)],_0x3ef4d3=this[_0x1bad52(0x62b)](),_0x308593=_0x3ef4d3?this[_0x1bad52(0x631)](_0x3ef4d3):null,_0x28a758=Kc(_0x3ef4d3,_0x1425fe),_0x67a90d=qc(_0x3ef4d3,_0x2689df),_0x4941fb=Zc(_0x3ef4d3),_0x7f4bbd=Qc(_0x3ef4d3);this[_0x1bad52(0x3b0)](_0x3e242f,_0x1425fe,_0x2689df),_0x3e242f[_0x1bad52(0x658)](),_0x3e242f['beginPath'](),al(_0x3e242f,-_0x1425fe/0x2,-_0x2689df/0x2,_0x1425fe,_0x2689df,(_0x4941fb==null?void 0x0:_0x4941fb[_0x1bad52(0x50a)])??0x0),_0x3e242f[_0x1bad52(0x4b8)](),_0x308593?(this[_0x1bad52(0x590)](_0x3e242f,_0x308593,_0x1425fe,_0x2689df),this['_drawCellTexts'](_0x3e242f,_0x3ef4d3,_0x308593,_0x1425fe,_0x2689df),this[_0x1bad52(0x6a3)](_0x3e242f,_0x308593,_0x1425fe,_0x2689df),this[_0x1bad52(0x726)](_0x3e242f,_0x308593,_0x1425fe,_0x2689df),this[_0x1bad52(0x49b)](_0x3e242f,_0x308593,_0x1425fe,_0x2689df)):(this[_0x1bad52(0x667)](_0x3e242f,null,_0x67a90d,_0x1425fe,_0x2689df),this[_0x1bad52(0x67c)](_0x3e242f,_0x28a758,_0x67a90d,_0x1425fe,_0x2689df)),_0x3e242f[_0x1bad52(0x4a8)](),_0x4941fb&&rl(_0x3e242f,_0x1425fe,_0x2689df,_0x4941fb),_0x7f4bbd&&il(_0x3e242f,_0x1425fe,_0x2689df,_0x28a758,_0x67a90d,_0x7f4bbd),_0x308593&&(this[_0x1bad52(0x451)](_0x3e242f,_0x1425fe,_0x2689df,_0x28a758,_0x67a90d),this['_drawInsertDots'](_0x3e242f,_0x308593,_0x1425fe,_0x2689df,_0x28a758,_0x67a90d),this['_drawInsertGuide'](_0x3e242f,_0x1425fe,_0x2689df,_0x28a758,_0x67a90d),this[_0x1bad52(0x1ca)](_0x3e242f,_0x1425fe,_0x2689df,_0x28a758,_0x67a90d),this[_0x1bad52(0x543)](_0x3e242f,_0x308593,_0x1425fe,_0x2689df),this[_0x1bad52(0x2ba)](_0x3e242f,_0x308593,_0x1425fe,_0x2689df));}[_0x19aaa2(0x3b0)](_0x38c802,_0x21e146,_0x2ae01b){const _0x176353=_0x19aaa2;var _0x4fcf70;let _0x48b434=(_0x4fcf70=this['_getRenderTable']())==null?void 0x0:_0x4fcf70['effects'],_0x5927c0=_0x48b434==null?void 0x0:_0x48b434[_0x176353(0x41d)],_0x4c1f15=_0x59f946(_0x48b434==null?void 0x0:_0x48b434[_0x176353(0x638)],_0x5927c0?{..._0x5927c0,'color':_0x5927c0[_0x176353(0x587)]??'rgba(0,\x200,\x200,\x201)'}:void 0x0);for(let _0x34b97e of _0x4c1f15)_0x18e83b(_0x38c802,_0x21e146,_0x2ae01b,_0x34b97e,()=>{const _0x7d6a00=_0x176353;_0x38c802[_0x7d6a00(0x605)](),_0x38c802[_0x7d6a00(0x597)](-_0x21e146/0x2,-_0x2ae01b/0x2,_0x21e146,_0x2ae01b),_0x38c802[_0x7d6a00(0x6cf)]=_0x34b97e[_0x7d6a00(0x587)],_0x38c802['fill']();});}['_getRenderTable'](){const _0x422630=_0x19aaa2;return this[_0x422630(0x364)]();}[_0x19aaa2(0x364)](){const _0x3c9be7=_0x19aaa2;var _0x338f29;let _0x242efc=this[_0x3c9be7(0x1be)]??this[_0x3c9be7(0x237)];if(!_0x242efc||!this[_0x3c9be7(0x400)])return _0x242efc;if(this[_0x3c9be7(0x38d)]===_0x242efc&&this[_0x3c9be7(0x596)]===_0x242efc[_0x3c9be7(0x47a)]&&this[_0x3c9be7(0x5a3)]===this[_0x3c9be7(0x530)]&&this['_layoutHeight']===this[_0x3c9be7(0x1aa)])return this[_0x3c9be7(0x35e)];!this[_0x3c9be7(0x1be)]&&this[_0x3c9be7(0x1aa)]!==this[_0x3c9be7(0x289)]&&(this[_0x3c9be7(0x35b)]=this[_0x3c9be7(0x1aa)]);let _0x102b4c=this[_0x3c9be7(0x1be)]&&(_0x242efc[_0x3c9be7(0x416)][_0x3c9be7(0x3b8)]!==((_0x338f29=this['_table'])==null?void 0x0:_0x338f29['rows']['length'])||_0x242efc[_0x3c9be7(0x416)][_0x3c9be7(0x27a)]((_0xbb9073,_0x23acf9)=>{const _0x2fbfaf=_0x3c9be7;var _0xeda539;return _0xbb9073[_0x2fbfaf(0x1aa)]!==((_0xeda539=this[_0x2fbfaf(0x237)])==null||(_0xeda539=_0xeda539[_0x2fbfaf(0x416)][_0x23acf9])==null?void 0x0:_0xeda539['height']);}))?_0x242efc['rows'][_0x3c9be7(0x21c)]((_0x98c5f4,_0x5538f7)=>_0x98c5f4+(_0x5538f7['height']??0x18),0x0):this[_0x3c9be7(0x35b)],_0x6fa0ab=jc(_0x242efc,this[_0x3c9be7(0x530)],_0x102b4c,this[_0x3c9be7(0x400)],{..._0x355c0c(this[_0x3c9be7(0x202)]),...this[_0x3c9be7(0x415)]??{}}),_0x1d713a=_0x6fa0ab[_0x3c9be7(0x416)]['reduce']((_0x186b11,_0x5ac310)=>_0x186b11+(_0x5ac310[_0x3c9be7(0x1aa)]??0x18),0x0);return this[_0x3c9be7(0x38d)]=_0x242efc,this[_0x3c9be7(0x596)]=_0x242efc['rev'],this[_0x3c9be7(0x5a3)]=this[_0x3c9be7(0x530)],this['_layoutHeight']=_0x1d713a,this['_layoutTable']=_0x6fa0ab,_0x1d713a!==this[_0x3c9be7(0x1aa)]&&this[_0x3c9be7(0x428)](void 0x0,_0x1d713a),_0x6fa0ab;}['_resolveRenderModel'](_0x39451e){const _0x490a6f=_0x19aaa2;let _0x5b4d2c=this['_renderModelCache'];if((_0x5b4d2c==null?void 0x0:_0x5b4d2c[_0x490a6f(0x283)])===_0x39451e&&_0x5b4d2c[_0x490a6f(0x3d4)]===_0x39451e[_0x490a6f(0x47a)]&&_0x5b4d2c[_0x490a6f(0x502)]===this[_0x490a6f(0x202)]&&_0x5b4d2c[_0x490a6f(0x335)]===this[_0x490a6f(0x415)])return _0x5b4d2c[_0x490a6f(0x4fc)];let _0x31ac84=_0x59b2f8(_0x39451e,{'themes':{..._0x355c0c(this[_0x490a6f(0x202)]),...this[_0x490a6f(0x415)]}});return this[_0x490a6f(0x5e5)]={'model':_0x31ac84,'palette':this[_0x490a6f(0x202)],'revision':_0x39451e[_0x490a6f(0x47a)],'table':_0x39451e,'themes':this['_tableThemes']},_0x31ac84;}[_0x19aaa2(0x667)](_0x18a906,_0x634414,_0x457401,_0x43e10b,_0x254995){const _0x190ee3=_0x19aaa2;let _0x54c84a=-_0x254995/0x2;_0x457401[_0x190ee3(0x2bf)]((_0x4d2a40,_0x399d8e)=>{const _0x29887a=_0x190ee3;_0x18a906[_0x29887a(0x605)](),_0x18a906[_0x29887a(0x597)](-_0x43e10b/0x2,_0x54c84a,_0x43e10b,_0x4d2a40),_0x18a906[_0x29887a(0x6cf)]=ol(_0x634414,_0x399d8e),_0x18a906['fill'](),_0x54c84a+=_0x4d2a40;});}[_0x19aaa2(0x590)](_0x223035,_0x2a2c64,_0x3441ad,_0x193c5f){const _0x19345c=_0x19aaa2;let _0x55f7e0=this[_0x19345c(0x62b)](),_0x117019=$(_0x3441ad/_0x2a2c64['width'],0x1),_0x49e5c8=$(_0x193c5f/_0x2a2c64[_0x19345c(0x1aa)],0x1);_0x2a2c64[_0x19345c(0x307)][_0x19345c(0x2bf)](_0x46287e=>{const _0xfbcb4f=_0x19345c;if(_0x46287e['hidden'])return;let _0x3856fd=-_0x3441ad/0x2+_0x46287e[_0xfbcb4f(0x61d)][_0xfbcb4f(0x374)]*_0x117019,_0x5c74fb=-_0x193c5f/0x2+_0x46287e[_0xfbcb4f(0x61d)][_0xfbcb4f(0x573)]*_0x49e5c8,_0x508f54=_0x46287e['bounds'][_0xfbcb4f(0x530)]*_0x117019,_0x99d03d=_0x46287e[_0xfbcb4f(0x61d)][_0xfbcb4f(0x1aa)]*_0x49e5c8,_0x28b2b1=this['_resolvePictureFill'](_0x46287e[_0xfbcb4f(0x33c)][_0xfbcb4f(0x40d)]);if(_0x28b2b1&&sl(_0x223035,_0x46287e[_0xfbcb4f(0x33c)][_0xfbcb4f(0x40d)],_0x28b2b1,_0x3856fd,_0x5c74fb,_0x508f54,_0x99d03d))return;let _0x4b4c97=_0x46287e[_0xfbcb4f(0x33c)]['fill']?cl(_0x223035,_0x46287e[_0xfbcb4f(0x33c)][_0xfbcb4f(0x40d)],_0x3856fd,_0x5c74fb,_0x508f54,_0x99d03d):ol(_0x55f7e0,_0x46287e[_0xfbcb4f(0x642)]);_0x4b4c97&&(_0x223035[_0xfbcb4f(0x605)](),_0x223035[_0xfbcb4f(0x597)](_0x3856fd,_0x5c74fb,_0x508f54,_0x99d03d),_0x223035[_0xfbcb4f(0x6cf)]=_0x4b4c97,_0x223035[_0xfbcb4f(0x40d)]());}),this[_0x19345c(0x610)](_0x223035,_0x2a2c64,_0x3441ad,_0x193c5f,_0x117019,_0x49e5c8);}['_drawMatchingCellFillSeams'](_0xd66f3b,_0x1a805e,_0x4b15bd,_0x4db2eb,_0x26a0dd,_0x294d53){const _0x5edea4=_0x19aaa2;let _0x4da0b4=this['_getRenderTable'](),{cells:_0x1ab634,cellAtPosition:_0x451125}=this[_0x5edea4(0x239)](_0x1a805e);_0x1ab634[_0x5edea4(0x2bf)](_0x926f29=>{const _0x90f39c=_0x5edea4;var _0x423a16,_0x489df9;let _0x53777c=ll(_0x926f29['style'][_0x90f39c(0x40d)],_0x4da0b4,_0x926f29[_0x90f39c(0x642)]);if(!_0x53777c)return;let _0x5355ad=-_0x4b15bd/0x2+_0x926f29['bounds'][_0x90f39c(0x374)]*_0x26a0dd,_0x5d7095=-_0x4db2eb/0x2+_0x926f29[_0x90f39c(0x61d)][_0x90f39c(0x573)]*_0x294d53,_0x50120f=_0x5355ad+_0x926f29['bounds']['width']*_0x26a0dd,_0x2baf64=_0x5d7095+_0x926f29[_0x90f39c(0x61d)][_0x90f39c(0x1aa)]*_0x294d53,_0x19848b=(_0x423a16=_0x451125[_0x926f29['row']])==null?void 0x0:_0x423a16[_0x926f29[_0x90f39c(0x3c4)]+_0x926f29[_0x90f39c(0x6a7)]],_0x522699=(_0x489df9=_0x451125[_0x926f29['row']+_0x926f29[_0x90f39c(0x33b)]])==null?void 0x0:_0x489df9[_0x926f29[_0x90f39c(0x3c4)]];vl(_0x926f29,_0x19848b,_0x4da0b4,_0x53777c)&&(_0xd66f3b[_0x90f39c(0x605)](),_0xd66f3b[_0x90f39c(0x597)](_0x50120f-Uc,_0x5d7095,Uc*0x2,_0x926f29[_0x90f39c(0x61d)][_0x90f39c(0x1aa)]*_0x294d53),_0xd66f3b['fillStyle']=_0x53777c,_0xd66f3b[_0x90f39c(0x40d)]()),yl(_0x926f29,_0x522699,_0x4da0b4,_0x53777c)&&(_0xd66f3b[_0x90f39c(0x605)](),_0xd66f3b['rect'](_0x5355ad,_0x2baf64-Uc,_0x926f29[_0x90f39c(0x61d)][_0x90f39c(0x530)]*_0x26a0dd,Uc*0x2),_0xd66f3b[_0x90f39c(0x6cf)]=_0x53777c,_0xd66f3b[_0x90f39c(0x40d)]());});}[_0x19aaa2(0x551)](_0x49b01c,_0x3e26a9,_0x33e30d,_0x237232,_0x282316){const _0x2eb03e=_0x19aaa2;_0x33e30d[_0x2eb03e(0x307)][_0x2eb03e(0x2bf)](_0x101cd3=>{const _0x14b48a=_0x2eb03e;var _0x18d8fe,_0x16c387;if(_0x101cd3[_0x14b48a(0x332)]||this[_0x14b48a(0x6c0)](_0x101cd3))return;let _0x308a27=kl(_0x101cd3,_0x33e30d,_0x237232,_0x282316),_0x2df11e=(_0x18d8fe=_0x3e26a9[_0x14b48a(0x416)][_0x101cd3[_0x14b48a(0x642)]])==null||(_0x18d8fe=_0x18d8fe[_0x14b48a(0x307)][_0x101cd3['column']])==null?void 0x0:_0x18d8fe[_0x14b48a(0x427)];_0x2df11e&&this[_0x14b48a(0x400)]&&Ac(_0x49b01c,{'key':this[_0x14b48a(0x411)]+_0x14b48a(0x225)+_0x101cd3['row']+'-'+_0x101cd3[_0x14b48a(0x3c4)],'documentData':_0x2df11e,'left':-_0x237232/0x2+_0x308a27['left'],'top':-_0x282316/0x2+_0x308a27[_0x14b48a(0x573)],'width':_0x308a27[_0x14b48a(0x530)],'height':_0x308a27[_0x14b48a(0x1aa)],'localeService':this[_0x14b48a(0x400)],'horizontalAlign':jo(_0x2df11e),'verticalAlign':Fo(_0x101cd3[_0x14b48a(0x33c)]['verticalAlign'])??((_0x16c387=_0x2df11e[_0x14b48a(0x725)])==null||(_0x16c387=_0x16c387[_0x14b48a(0x231)])==null?void 0x0:_0x16c387['verticalAlign']),'isHorizontal':_0x101cd3[_0x14b48a(0x33c)][_0x14b48a(0x659)]!==_0x28d328[_0x14b48a(0x3c8)]&&_0x101cd3['style'][_0x14b48a(0x659)]!==_0x28d328[_0x14b48a(0x498)],'wrapStrategy':_0x4c2ec9['WRAP'],'clip':!0x0,'cacheKey':_0x3e26a9['rev'],'viewportHeight':_0x308a27['height']},this[_0x14b48a(0x57b)](_0x101cd3[_0x14b48a(0x642)],_0x101cd3[_0x14b48a(0x3c4)]));});}[_0x19aaa2(0x6c0)](_0x517988){const _0x1ab24e=_0x19aaa2;var _0x43e509;return this[_0x1ab24e(0x1c5)]&&Cl(this[_0x1ab24e(0x1c5)],_0x517988)?!0x0:((_0x43e509=this[_0x1ab24e(0x33f)])==null?void 0x0:_0x43e509['kind'])===_0x1ab24e(0x3ea)&&this[_0x1ab24e(0x33f)][_0x1ab24e(0x568)][_0x1ab24e(0x27a)](_0x118fb2=>_0x118fb2[_0x1ab24e(0x544)]<=_0x517988[_0x1ab24e(0x642)]+_0x517988['rowSpan']-0x1&&_0x118fb2[_0x1ab24e(0x3cd)]>=_0x517988[_0x1ab24e(0x642)]&&_0x118fb2[_0x1ab24e(0x2f4)]<=_0x517988[_0x1ab24e(0x3c4)]+_0x517988['columnSpan']-0x1&&_0x118fb2[_0x1ab24e(0x434)]>=_0x517988[_0x1ab24e(0x3c4)]);}['_getTextRenderCache'](_0x1f3e64,_0x182ee3){const _0x501d4f=_0x19aaa2;let _0x9ae97c=_0x1f3e64+':'+_0x182ee3,_0x439b15=this[_0x501d4f(0x70d)]['get'](_0x9ae97c);if(_0x439b15)return _0x439b15;let _0x3d422b={};return this[_0x501d4f(0x70d)][_0x501d4f(0x690)](_0x9ae97c,_0x3d422b),_0x3d422b;}['_disposeTextRenderCaches'](){const _0x31811e=_0x19aaa2;this[_0x31811e(0x70d)][_0x31811e(0x2bf)](_0x558717=>kc(_0x558717)),this[_0x31811e(0x70d)][_0x31811e(0x463)]();}[_0x19aaa2(0x6a3)](_0x356ad2,_0x15917e,_0x28cc98,_0x44e6f0){const _0x3c8b06=_0x19aaa2;let _0x59a80d=$(_0x28cc98/_0x15917e[_0x3c8b06(0x530)],0x1),_0x3767e5=$(_0x44e6f0/_0x15917e[_0x3c8b06(0x1aa)],0x1),{cells:_0x55296e,cellAtPosition:_0x14aa07}=this[_0x3c8b06(0x239)](_0x15917e);_0x55296e[_0x3c8b06(0x2bf)](_0x303e96=>{const _0x4143ec=_0x3c8b06;var _0x1726a8,_0x54cae2;let _0x2e0075=-_0x28cc98/0x2+_0x303e96[_0x4143ec(0x61d)][_0x4143ec(0x374)]*_0x59a80d,_0x298f0d=-_0x44e6f0/0x2+_0x303e96[_0x4143ec(0x61d)][_0x4143ec(0x573)]*_0x3767e5,_0x247737=_0x2e0075+_0x303e96[_0x4143ec(0x61d)][_0x4143ec(0x530)]*_0x59a80d,_0x33e3ca=_0x298f0d+_0x303e96[_0x4143ec(0x61d)]['height']*_0x3767e5,_0x4c9fe9=_0x303e96[_0x4143ec(0x33c)][_0x4143ec(0x3a5)],_0x97435f=(_0x1726a8=_0x14aa07[_0x303e96[_0x4143ec(0x642)]])==null?void 0x0:_0x1726a8[_0x303e96[_0x4143ec(0x3c4)]+_0x303e96[_0x4143ec(0x6a7)]],_0x38d0f9=(_0x54cae2=_0x14aa07[_0x303e96[_0x4143ec(0x642)]+_0x303e96[_0x4143ec(0x33b)]])==null?void 0x0:_0x54cae2[_0x303e96[_0x4143ec(0x3c4)]],_0x5d436a=_0x4c9fe9==null?void 0x0:_0x4c9fe9[_0x4143ec(0x573)],_0x45ef4e=bl(_0x4c9fe9,_0x97435f),_0x4e365d=xl(_0x4c9fe9,_0x38d0f9),_0x85ab7b=_0x4c9fe9==null?void 0x0:_0x4c9fe9[_0x4143ec(0x374)];if(_0x303e96[_0x4143ec(0x642)]===0x0){let _0xf0edf6=_0x298f0d+wl(_0x5d436a);_l(_0x356ad2,_0x5d436a,_0x2e0075,_0xf0edf6,_0x247737,_0xf0edf6);}{let _0x4105cc=_0x97435f?_0x247737:_0x247737-wl(_0x45ef4e);_l(_0x356ad2,_0x45ef4e,_0x4105cc,_0x298f0d,_0x4105cc,_0x33e3ca);}{let _0x38cb16=_0x38d0f9?_0x33e3ca:_0x33e3ca-wl(_0x4e365d);_l(_0x356ad2,_0x4e365d,_0x2e0075,_0x38cb16,_0x247737,_0x38cb16);}if(_0x303e96[_0x4143ec(0x3c4)]===0x0){let _0x2f4fee=_0x2e0075+wl(_0x85ab7b);_l(_0x356ad2,_0x85ab7b,_0x2f4fee,_0x298f0d,_0x2f4fee,_0x33e3ca);}});}[_0x19aaa2(0x67c)](_0x5b71ca,_0x166eea,_0x3e7a65,_0x2b98a7,_0x1d42ba){const _0x89e516=_0x19aaa2;let _0x548afb=-_0x2b98a7/0x2,_0x26516b=-_0x1d42ba/0x2,_0x543ad7=_0x2b98a7/0x2,_0x441ad5=_0x1d42ba/0x2;_0x5b71ca['beginPath'](),_0x5b71ca[_0x89e516(0x262)]([]),_0x5b71ca[_0x89e516(0x372)]=Nc,_0x5b71ca[_0x89e516(0x5a8)]=0x1;let _0xd2b41=_0x548afb;_0x166eea['slice'](0x0,-0x1)[_0x89e516(0x2bf)](_0x515b6f=>{const _0xaa8ff0=_0x89e516;_0xd2b41+=_0x515b6f,_0x5b71ca[_0xaa8ff0(0x3c0)](_0xd2b41,_0x26516b),_0x5b71ca[_0xaa8ff0(0x6d6)](_0xd2b41,_0x441ad5);});let _0x418a76=_0x26516b;_0x3e7a65[_0x89e516(0x5b0)](0x0,-0x1)[_0x89e516(0x2bf)](_0x33dead=>{const _0x49ee73=_0x89e516;_0x418a76+=_0x33dead,_0x5b71ca[_0x49ee73(0x3c0)](_0x548afb,_0x418a76),_0x5b71ca[_0x49ee73(0x6d6)](_0x543ad7,_0x418a76);}),_0x5b71ca[_0x89e516(0x28c)](),this[_0x89e516(0x548)](_0x5b71ca,_0x548afb,_0x26516b,_0x2b98a7,_0x1d42ba);}[_0x19aaa2(0x548)](_0x8bbd95,_0x156eb1,_0x2546c8,_0x3a7e01,_0x4b4f51){const _0x156bb8=_0x19aaa2;_0x8bbd95[_0x156bb8(0x605)](),_0x8bbd95[_0x156bb8(0x372)]=Mc,_0x8bbd95['lineWidth']=1.5,_0x8bbd95[_0x156bb8(0x597)](_0x156eb1,_0x2546c8,_0x3a7e01,_0x4b4f51),_0x8bbd95[_0x156bb8(0x28c)]();}['_drawSelection'](_0x17f0ae,_0x1eafa2,_0x3b820f,_0x1a5624){const _0x1720db=_0x19aaa2;var _0x8fae1e,_0x294403;if(!((_0x8fae1e=this[_0x1720db(0x33f)])!=null&&_0x8fae1e['ranges'][_0x1720db(0x3b8)])||this[_0x1720db(0x33f)]['kind']==='text')return;let _0x20b6aa=((_0x294403=this[_0x1720db(0x5e0)])==null?void 0x0:_0x294403[_0x1720db(0x3da)](_0x1720db(0x6f2)))??Fc,_0x26da14=new _0x3b1bc0(_0x20b6aa)[_0x1720db(0x472)](0.07)['toRgbString'](),_0x2cfc90=$(_0x3b820f/_0x1eafa2[_0x1720db(0x530)],0x1),_0x258414=$(_0x1a5624/_0x1eafa2[_0x1720db(0x1aa)],0x1);if(this['_selection'][_0x1720db(0x3c2)]==='table'){_0x17f0ae['beginPath'](),_0x17f0ae['rect'](-_0x3b820f/0x2,-_0x1a5624/0x2,_0x3b820f,_0x1a5624),_0x17f0ae['fillStyle']=_0x26da14,_0x17f0ae[_0x1720db(0x40d)](),Dl(_0x17f0ae,-_0x3b820f/0x2,-_0x1a5624/0x2,_0x3b820f,_0x1a5624,_0x20b6aa,_0x3b820f,_0x1a5624);return;}let _0x5d580e=_0x1eafa2[_0x1720db(0x307)][_0x1720db(0x1f3)](_0x2088fd=>!_0x2088fd['hidden']);_0x5d580e[_0x1720db(0x1f3)](_0x3bfed6=>{const _0x320273=_0x1720db;var _0x4c0bb3;return Wc(_0x3bfed6,((_0x4c0bb3=this['_selection'])==null?void 0x0:_0x4c0bb3[_0x320273(0x568)])??[]);})[_0x1720db(0x2bf)](_0x2ecc87=>{const _0x4e3def=_0x1720db;_0x17f0ae[_0x4e3def(0x605)](),_0x17f0ae['rect'](-_0x3b820f/0x2+_0x2ecc87[_0x4e3def(0x61d)][_0x4e3def(0x374)]*_0x2cfc90,-_0x1a5624/0x2+_0x2ecc87[_0x4e3def(0x61d)]['top']*_0x258414,_0x2ecc87['bounds']['width']*_0x2cfc90,_0x2ecc87['bounds'][_0x4e3def(0x1aa)]*_0x258414),_0x17f0ae[_0x4e3def(0x6cf)]=_0x26da14,_0x17f0ae[_0x4e3def(0x40d)]();}),this[_0x1720db(0x33f)][_0x1720db(0x568)][_0x1720db(0x2bf)](_0x31aa16=>{const _0x364b0f=_0x1720db;let _0x59321c=_0x5d580e['filter'](_0x115fb3=>Wc(_0x115fb3,[_0x31aa16]));if(!_0x59321c[_0x364b0f(0x3b8)])return;let _0x6a6e2b=-_0x3b820f/0x2+Math[_0x364b0f(0x1df)](..._0x59321c[_0x364b0f(0x694)](_0xc630e7=>_0xc630e7['bounds'][_0x364b0f(0x374)]))*_0x2cfc90,_0x9fd8dd=-_0x1a5624/0x2+Math['min'](..._0x59321c[_0x364b0f(0x694)](_0x294e86=>_0x294e86[_0x364b0f(0x61d)]['top']))*_0x258414,_0x4a2e74=-_0x3b820f/0x2+Math[_0x364b0f(0x6f0)](..._0x59321c[_0x364b0f(0x694)](_0x4d5f33=>_0x4d5f33['bounds']['left']+_0x4d5f33[_0x364b0f(0x61d)][_0x364b0f(0x530)]))*_0x2cfc90,_0x328438=-_0x1a5624/0x2+Math[_0x364b0f(0x6f0)](..._0x59321c['map'](_0xc2cb26=>_0xc2cb26[_0x364b0f(0x61d)][_0x364b0f(0x573)]+_0xc2cb26['bounds']['height']))*_0x258414;Dl(_0x17f0ae,_0x6a6e2b,_0x9fd8dd,_0x4a2e74-_0x6a6e2b,_0x328438-_0x9fd8dd,_0x20b6aa,_0x3b820f,_0x1a5624);});}['_drawCellHover'](_0x719a00,_0x102152,_0x4a48cd,_0x52c08f){const _0x46e335=_0x19aaa2;var _0x351431;if(!this[_0x46e335(0x5f0)])return;let _0x5332c4=(_0x351431=this['_resolveVisibleCellCache'](_0x102152)[_0x46e335(0x294)][this['_cellHover'][_0x46e335(0x642)]])==null?void 0x0:_0x351431[this[_0x46e335(0x5f0)][_0x46e335(0x3c4)]];if(!_0x5332c4)return;let _0x2830f5=$(_0x4a48cd/_0x102152[_0x46e335(0x530)],0x1),_0x221bb9=$(_0x52c08f/_0x102152[_0x46e335(0x1aa)],0x1);_0x719a00[_0x46e335(0x605)](),_0x719a00[_0x46e335(0x597)](-_0x4a48cd/0x2+_0x5332c4[_0x46e335(0x61d)][_0x46e335(0x374)]*_0x2830f5,-_0x52c08f/0x2+_0x5332c4['bounds']['top']*_0x221bb9,_0x5332c4[_0x46e335(0x61d)][_0x46e335(0x530)]*_0x2830f5,_0x5332c4[_0x46e335(0x61d)][_0x46e335(0x1aa)]*_0x221bb9),_0x719a00[_0x46e335(0x372)]='rgba(64,\x20156,\x20255,\x200.42)',_0x719a00['lineWidth']=0x1,_0x719a00['stroke']();}[_0x19aaa2(0x2ba)](_0x5932c7,_0x4cf473,_0x49eaed,_0x4f5d41){const _0x4bc5d9=_0x19aaa2;this[_0x4bc5d9(0x27d)]()&&this[_0x4bc5d9(0x2d9)](_0x4cf473,_0x49eaed,_0x4f5d41,{'showAll':!0x0})[_0x4bc5d9(0x1f3)](_0x26a615=>_0x26a615['kind']!==_0x4bc5d9(0x683))[_0x4bc5d9(0x2bf)](_0x45e1ac=>{const _0x8a5b28=_0x4bc5d9;let _0x292260=-_0x49eaed/0x2+_0x45e1ac[_0x8a5b28(0x597)]['x'],_0x53e061=-_0x4f5d41/0x2+_0x45e1ac['rect']['y'],_0x13ef98=this[_0x8a5b28(0x71e)](_0x45e1ac),_0x1feede=this[_0x8a5b28(0x45b)](_0x45e1ac);_0x5932c7[_0x8a5b28(0x605)](),_0x5932c7[_0x8a5b28(0x597)](_0x292260,_0x53e061,_0x45e1ac[_0x8a5b28(0x597)][_0x8a5b28(0x530)],_0x45e1ac['rect'][_0x8a5b28(0x1aa)]),_0x5932c7[_0x8a5b28(0x6cf)]=_0x1feede?_0x8a5b28(0x21d):_0x13ef98?Rc:Lc,_0x5932c7[_0x8a5b28(0x40d)](),_0x5932c7[_0x8a5b28(0x372)]=_0x13ef98||_0x1feede?Bc:zc,_0x5932c7[_0x8a5b28(0x5a8)]=0x1,_0x5932c7[_0x8a5b28(0x28c)]();});}[_0x19aaa2(0x451)](_0x415c68,_0x3681bc,_0x2cd7b8,_0x5593f2,_0xc58402){const _0x15faf2=_0x19aaa2;if(!this['_shouldDrawStructuralHeaders']())return;let _0xc043d2=$c(this[_0x15faf2(0x62b)]());if(_0xc043d2['rows']){let _0x18eadf=-_0x2cd7b8/0x2;_0xc58402[_0x15faf2(0x2bf)]((_0x40e40b,_0x191399)=>{const _0x3a87dd=_0x15faf2;this[_0x3a87dd(0x350)](_0x415c68,{'kind':_0x3a87dd(0x642),'index':_0x191399,'x':-_0x3681bc/0x2-0xa,'y':_0x18eadf,'width':0xa,'height':_0x40e40b}),_0x18eadf+=_0x40e40b;});}if(_0xc043d2[_0x15faf2(0x389)]){let _0x2d2f33=-_0x3681bc/0x2;_0x5593f2[_0x15faf2(0x2bf)]((_0xee54ae,_0x38eca1)=>{const _0x4daa30=_0x15faf2;this[_0x4daa30(0x350)](_0x415c68,{'kind':_0x4daa30(0x3c4),'index':_0x38eca1,'x':_0x2d2f33,'y':-_0x2cd7b8/0x2-0xa,'width':_0xee54ae,'height':0xa}),_0x2d2f33+=_0xee54ae;});}}['_drawStructuralHeaderRect'](_0x36bc4d,_0x5cc853){const _0x789161=_0x19aaa2;_0x36bc4d[_0x789161(0x605)](),_0x36bc4d['rect'](_0x5cc853['x'],_0x5cc853['y'],_0x5cc853['width'],_0x5cc853[_0x789161(0x1aa)]),_0x36bc4d[_0x789161(0x6cf)]=this[_0x789161(0x22d)](_0x5cc853[_0x789161(0x3c2)],_0x5cc853[_0x789161(0x328)])?_0x789161(0x413):this['_isStructuralHeaderHovered'](_0x5cc853[_0x789161(0x3c2)],_0x5cc853[_0x789161(0x328)])?_0x789161(0x6a0):_0x789161(0x23e),_0x36bc4d[_0x789161(0x40d)]();}[_0x19aaa2(0x60f)](_0x11a96b,_0x267e79,_0x1bbc4d,_0xecfc07,_0x1a00a6,_0x85c52f){const _0x583c2a=_0x19aaa2;if(!this[_0x583c2a(0x5fa)]())return;let _0x4088ac=this[_0x583c2a(0x55a)]();this[_0x583c2a(0x69b)](_0x267e79,_0x1bbc4d,_0xecfc07,_0x1a00a6,_0x85c52f)['filter'](_0xb3d529=>_0xb3d529['kind']===_0x583c2a(0x2e5)||_0xb3d529['kind']==='column-insert-dot')['forEach'](_0x4fbe21=>{const _0x303b00=_0x583c2a;let _0x3a847e=-_0x1bbc4d/0x2+_0x4fbe21[_0x303b00(0x597)]['x']+_0x4fbe21['rect'][_0x303b00(0x530)]/0x2,_0x95f79=-_0xecfc07/0x2+_0x4fbe21[_0x303b00(0x597)]['y']+_0x4fbe21[_0x303b00(0x597)][_0x303b00(0x1aa)]/0x2,_0x520b24=this[_0x303b00(0x1e9)](_0x4fbe21),_0x20a3fd=_0x520b24?Math[_0x303b00(0x1df)](_0x4fbe21['rect'][_0x303b00(0x530)],_0x4fbe21['rect'][_0x303b00(0x1aa)])/0x2:0x2/_0x4088ac;if(_0x11a96b[_0x303b00(0x605)](),_0x11a96b[_0x303b00(0x356)](_0x3a847e,_0x95f79,_0x20a3fd,0x0,Math['PI']*0x2),_0x11a96b[_0x303b00(0x6cf)]=_0x520b24?Ic:_0x303b00(0x21f),_0x11a96b['fill'](),!_0x520b24)return;_0x11a96b['beginPath'](),_0x11a96b[_0x303b00(0x372)]=Hc,_0x11a96b[_0x303b00(0x5a8)]=1.5/_0x4088ac;let _0x40f86d=0x3/_0x4088ac;_0x11a96b['moveTo'](_0x3a847e-_0x40f86d,_0x95f79),_0x11a96b['lineTo'](_0x3a847e+_0x40f86d,_0x95f79),_0x11a96b[_0x303b00(0x3c0)](_0x3a847e,_0x95f79-_0x40f86d),_0x11a96b[_0x303b00(0x6d6)](_0x3a847e,_0x95f79+_0x40f86d),_0x11a96b[_0x303b00(0x28c)]();});}[_0x19aaa2(0x2f9)](_0x101c71,_0x5cc038,_0x3a8005,_0x2e2a8a,_0x3a4e3d){const _0x31cd9e=_0x19aaa2;var _0x445222;(_0x445222=this[_0x31cd9e(0x6c8)])!=null&&_0x445222['visible']&&this['_controlState'][_0x31cd9e(0x1bb)]&&nl(this[_0x31cd9e(0x6c8)]['insertGuide'],$c(this['_getRenderTable']()))&&this[_0x31cd9e(0x490)](_0x101c71,this[_0x31cd9e(0x6c8)][_0x31cd9e(0x1bb)],_0x5cc038,_0x3a8005,_0x2e2a8a,_0x3a4e3d);}[_0x19aaa2(0x1ca)](_0x5207e8,_0x42b6ee,_0x336b00,_0x407cba,_0x1f5850){const _0x43dba0=_0x19aaa2;var _0x1dd1fb;(_0x1dd1fb=this[_0x43dba0(0x6c8)])!=null&&_0x1dd1fb[_0x43dba0(0x459)]&&this['_controlState'][_0x43dba0(0x1cd)]&&nl(this[_0x43dba0(0x6c8)][_0x43dba0(0x1cd)],$c(this[_0x43dba0(0x62b)]()))&&this[_0x43dba0(0x490)](_0x5207e8,this[_0x43dba0(0x6c8)][_0x43dba0(0x1cd)],_0x42b6ee,_0x336b00,_0x407cba,_0x1f5850);}[_0x19aaa2(0x490)](_0x38b0ec,_0x3da776,_0xa66875,_0x48be1f,_0x3c08a4,_0x3e6abb){const _0x3f2eea=_0x19aaa2;let _0x3a85e2=-_0xa66875/0x2,_0x4fd01e=-_0x48be1f/0x2;if(_0x38b0ec['beginPath'](),_0x38b0ec[_0x3f2eea(0x262)]([]),_0x38b0ec[_0x3f2eea(0x372)]=Ic,_0x38b0ec[_0x3f2eea(0x5a8)]=0x2,_0x3da776[_0x3f2eea(0x3c2)]==='row'){let _0x547ae8=_0x4fd01e+El(_0x3e6abb,_0x3da776[_0x3f2eea(0x328)]);_0x38b0ec[_0x3f2eea(0x3c0)](_0x3a85e2,_0x547ae8),_0x38b0ec[_0x3f2eea(0x6d6)](_0x3a85e2+_0xa66875,_0x547ae8);}else{let _0x3666e2=_0x3a85e2+El(_0x3c08a4,_0x3da776[_0x3f2eea(0x328)]);_0x38b0ec[_0x3f2eea(0x3c0)](_0x3666e2,_0x4fd01e),_0x38b0ec[_0x3f2eea(0x6d6)](_0x3666e2,_0x4fd01e+_0x48be1f);}_0x38b0ec['stroke']();}[_0x19aaa2(0x543)](_0x3486fb,_0x5f33d8,_0x110755,_0x59d1ed){const _0x26d1fe=_0x19aaa2;var _0x1cc1a0;if(!this[_0x26d1fe(0x33f)]||this[_0x26d1fe(0x42c)]())return;let _0x2fa73b=this[_0x26d1fe(0x2d9)](_0x5f33d8,_0x110755,_0x59d1ed)[_0x26d1fe(0x3c6)](_0x3e1cba=>_0x3e1cba['kind']===_0x26d1fe(0x683));if(!_0x2fa73b)return;let {rect:_0x5396f9}=_0x2fa73b,_0x1bba51=-_0x110755/0x2+_0x5396f9['x'],_0x17769b=-_0x59d1ed/0x2+_0x5396f9['y'],_0x1e8fa8=((_0x1cc1a0=this[_0x26d1fe(0x3e6)])==null?void 0x0:_0x1cc1a0[_0x26d1fe(0x3c2)])===_0x26d1fe(0x683);jl(_0x3486fb,_0x1bba51,_0x17769b,_0x5396f9['width'],_0x5396f9[_0x26d1fe(0x1aa)],_0x1e8fa8),Al(_0x3486fb,_0x1bba51,_0x17769b,_0x5396f9[_0x26d1fe(0x530)],_0x5396f9['height'],_0x1e8fa8?Hc:Vc);}[_0x19aaa2(0x27d)](){const _0x1816c6=_0x19aaa2;var _0x37f39d,_0x36cd46;return this['_isTextEditing']()?!0x1:!!((_0x37f39d=this[_0x1816c6(0x33f)])!=null&&_0x37f39d[_0x1816c6(0x568)][_0x1816c6(0x3b8)])||!!this[_0x1816c6(0x3e6)]||!!((_0x36cd46=this[_0x1816c6(0x6c8)])!=null&&_0x36cd46[_0x1816c6(0x459)]);}['_shouldDrawStructuralHeaders'](){const _0x4ca296=_0x19aaa2;var _0x261986,_0x581692;if(this['_isTextEditing']())return!0x1;let _0x11ea12=this[_0x4ca296(0x6c8)];return this['_selection']?!0x0:!!(_0x11ea12!=null&&_0x11ea12[_0x4ca296(0x459)])&&!!(_0x11ea12[_0x4ca296(0x57a)]||((_0x261986=_0x11ea12[_0x4ca296(0x1b9)])==null?void 0x0:_0x261986[_0x4ca296(0x3c2)])===_0x4ca296(0x6d0)||((_0x581692=_0x11ea12['hoveredTrigger'])==null?void 0x0:_0x581692['kind'])===_0x4ca296(0x51c));}['_shouldDrawInsertDots'](){const _0xa9712b=_0x19aaa2;var _0x1fc6ef;return!this[_0xa9712b(0x42c)]()&&(!!this['_selection']||!!((_0x1fc6ef=this[_0xa9712b(0x6c8)])!=null&&_0x1fc6ef[_0xa9712b(0x459)]));}[_0x19aaa2(0x19d)](_0x58b037){const _0xadba8a=_0x19aaa2;var _0x5d7794;if(this['_isTextEditing']()||!this[_0xadba8a(0x33f)]&&!((_0x5d7794=this[_0xadba8a(0x6c8)])!=null&&_0x5d7794[_0xadba8a(0x459)]))return!0x1;let _0x4ea96a=this['width'],_0xe844a2=this[_0xadba8a(0x1aa)],_0x3caebf=this[_0xadba8a(0x62b)]();if(!_0x3caebf)return!0x1;let _0x2125b7={'x':_0x58b037['x']+_0x4ea96a/0x2,'y':_0x58b037['y']+_0xe844a2/0x2},_0x30e685=this[_0xadba8a(0x631)](_0x3caebf),_0x1f9b73=this[_0xadba8a(0x69b)](_0x30e685,_0x4ea96a,_0xe844a2,Kc(_0x3caebf,_0x4ea96a),qc(_0x3caebf,_0xe844a2)),_0x37dde3=_0x394a47(_0x1f9b73,_0x2125b7['x'],_0x2125b7['y']);if(_0x37dde3&&Pl(_0x37dde3)||_0x1f9b73[_0xadba8a(0x27a)](_0xdec31b=>this[_0xadba8a(0x4dd)](_0xdec31b,_0x2125b7['x'],_0x2125b7['y'])))return!0x0;let _0x541d32=this[_0xadba8a(0x2d9)](_0x30e685,_0x4ea96a,_0xe844a2)[_0xadba8a(0x1f3)](_0x429c37=>_0x429c37[_0xadba8a(0x3c2)]===_0xadba8a(0x683));return!!_0xcc8c0c(_0x541d32,_0x2125b7['x'],_0x2125b7['y']);}[_0x19aaa2(0x2d9)](_0x4539a1,_0x5710f8,_0x4e5c8b,_0x1e88e9){const _0x50ea88=_0x19aaa2;let _0x32da25=$c(this[_0x50ea88(0x62b)]()),_0x37c6b5=_0x280890(_0x4539a1,_0x5710f8,_0x4e5c8b,_0x1e88e9)[_0x50ea88(0x1f3)](_0x1a7b0d=>el(_0x1a7b0d,_0x32da25));return this[_0x50ea88(0x21b)]==='all'?_0x37c6b5:_0x37c6b5[_0x50ea88(0x1f3)](_0x3d0262=>_0x3d0262[_0x50ea88(0x3c2)]===_0x50ea88(0x683));}[_0x19aaa2(0x4dd)](_0x53625a,_0x4f236a,_0x5169cb){const _0x331128=_0x19aaa2;return Pl(_0x53625a)?_0x3b2067(_0x4f236a,_0x5169cb,_0x53625a[_0x331128(0x597)]):!0x1;}[_0x19aaa2(0x71e)](_0x3d2344){const _0x4adca3=_0x19aaa2;return!this['_controlHover']||_0x3d2344['kind']!==this[_0x4adca3(0x3e6)][_0x4adca3(0x3c2)]?!0x1:_0x3d2344[_0x4adca3(0x3c2)]===_0x4adca3(0x52e)?_0x3d2344[_0x4adca3(0x642)]===this['_controlHover']['row']:_0x3d2344[_0x4adca3(0x3c2)]!=='column-select'||_0x3d2344['column']===this['_controlHover'][_0x4adca3(0x3c4)];}[_0x19aaa2(0x45b)](_0x47e916){const _0x15ee9f=_0x19aaa2;return this['_selection']?_0x47e916['kind']===_0x15ee9f(0x683)?this[_0x15ee9f(0x33f)]['kind']===_0x15ee9f(0x283):_0x47e916[_0x15ee9f(0x3c2)]===_0x15ee9f(0x52e)?this[_0x15ee9f(0x33f)][_0x15ee9f(0x3c2)]===_0x15ee9f(0x642)&&_0x47e916['row']!==void 0x0&&this[_0x15ee9f(0x33f)]['ranges']['some'](_0x332442=>_0x47e916[_0x15ee9f(0x642)]>=Math[_0x15ee9f(0x1df)](_0x332442['startRow'],_0x332442[_0x15ee9f(0x3cd)])&&_0x47e916[_0x15ee9f(0x642)]<=Math[_0x15ee9f(0x6f0)](_0x332442[_0x15ee9f(0x544)],_0x332442[_0x15ee9f(0x3cd)])):_0x47e916[_0x15ee9f(0x3c2)]==='column-select'&&this['_selection'][_0x15ee9f(0x3c2)]===_0x15ee9f(0x3c4)&&_0x47e916[_0x15ee9f(0x3c4)]!==void 0x0&&this[_0x15ee9f(0x33f)][_0x15ee9f(0x568)][_0x15ee9f(0x27a)](_0x283b49=>_0x47e916['column']>=Math['min'](_0x283b49[_0x15ee9f(0x2f4)],_0x283b49[_0x15ee9f(0x434)])&&_0x47e916[_0x15ee9f(0x3c4)]<=Math[_0x15ee9f(0x6f0)](_0x283b49[_0x15ee9f(0x2f4)],_0x283b49[_0x15ee9f(0x434)])):!0x1;}[_0x19aaa2(0x34d)](_0x4760a2,_0x21beeb){const _0x410c11=_0x19aaa2;var _0x23121e;let _0x7c414c=(_0x23121e=this[_0x410c11(0x6c8)])==null?void 0x0:_0x23121e[_0x410c11(0x1b9)];return _0x4760a2==='row'?(_0x7c414c==null?void 0x0:_0x7c414c[_0x410c11(0x3c2)])==='row-header'&&_0x7c414c[_0x410c11(0x642)]===_0x21beeb:(_0x7c414c==null?void 0x0:_0x7c414c[_0x410c11(0x3c2)])===_0x410c11(0x51c)&&_0x7c414c['column']===_0x21beeb;}[_0x19aaa2(0x1e9)](_0x1f99b5){const _0x2fbf34=_0x19aaa2;var _0x4c043b;let _0x120be5=(_0x4c043b=this[_0x2fbf34(0x6c8)])==null?void 0x0:_0x4c043b[_0x2fbf34(0x1b9)];return!_0x120be5||_0x120be5[_0x2fbf34(0x3c2)]!==_0x1f99b5['kind']?!0x1:_0x1f99b5[_0x2fbf34(0x3c2)]===_0x2fbf34(0x6d0)||_0x1f99b5[_0x2fbf34(0x3c2)]==='row-insert-dot'?_0x120be5[_0x2fbf34(0x642)]!==void 0x0&&_0x120be5[_0x2fbf34(0x642)]===_0x1f99b5['row']:_0x1f99b5[_0x2fbf34(0x3c2)]===_0x2fbf34(0x51c)||_0x1f99b5[_0x2fbf34(0x3c2)]===_0x2fbf34(0x5f4)?_0x120be5[_0x2fbf34(0x3c4)]!==void 0x0&&_0x120be5['column']===_0x1f99b5[_0x2fbf34(0x3c4)]:!0x1;}[_0x19aaa2(0x22d)](_0x1f1304,_0x4464cf){const _0x265f27=_0x19aaa2;var _0x39ffc0;let _0xaac25e=(_0x39ffc0=this[_0x265f27(0x6c8)])==null?void 0x0:_0x39ffc0['selectedStructuralRange'];return!_0xaac25e||_0xaac25e[_0x265f27(0x3c2)]!==_0x1f1304?!0x1:_0x4464cf>=Math[_0x265f27(0x1df)](_0xaac25e[_0x265f27(0x622)],_0xaac25e[_0x265f27(0x595)])&&_0x4464cf<=Math[_0x265f27(0x6f0)](_0xaac25e[_0x265f27(0x622)],_0xaac25e['end']);}[_0x19aaa2(0x69b)](_0x33bed5,_0x348ec4,_0x400dd6,_0x4b8119,_0x4faa47){const _0xf14e23=_0x19aaa2;var _0x1d3e2a;let _0x590389=$c(this['_getRenderTable']());return _0x138f5e({'tableId':(_0x1d3e2a=this['_getRenderTable']())==null?void 0x0:_0x1d3e2a['id'],'tableWidth':_0x348ec4,'tableHeight':_0x400dd6,'rowHeights':_0x4faa47,'columnWidths':_0x4b8119,'mergedCells':_0x33bed5[_0xf14e23(0x307)]['filter'](_0x1d7123=>!_0x1d7123[_0xf14e23(0x332)]&&(_0x1d7123[_0xf14e23(0x33b)]>0x1||_0x1d7123['columnSpan']>0x1))[_0xf14e23(0x694)](_0x1fed63=>({'startRow':_0x1fed63['row'],'endRow':_0x1fed63[_0xf14e23(0x642)]+_0x1fed63[_0xf14e23(0x33b)]-0x1,'startColumn':_0x1fed63[_0xf14e23(0x3c4)],'endColumn':_0x1fed63[_0xf14e23(0x3c4)]+_0x1fed63[_0xf14e23(0x6a7)]-0x1})),'zoom':this[_0xf14e23(0x55a)]()})['filter'](_0x3af709=>tl(_0x3af709,_0x590389));}[_0x19aaa2(0x55a)](){const _0x24f18b=_0x19aaa2;var _0x4ab70d,_0x1708b6;let _0x4fd41f=(_0x4ab70d=this[_0x24f18b(0x581)]())==null||(_0x1708b6=_0x4ab70d[_0x24f18b(0x383)])==null?void 0x0:_0x1708b6[_0x24f18b(0x273)](_0x4ab70d);return $((_0x4fd41f==null?void 0x0:_0x4fd41f[_0x24f18b(0x409)])??(_0x4fd41f==null?void 0x0:_0x4fd41f['scaleY']),0x1);}['_hasActiveStructuralControlState'](){const _0x12faa7=_0x19aaa2;var _0x10ae3f,_0x492253;return this[_0x12faa7(0x42d)]()||this[_0x12faa7(0x5fa)]()||!!((_0x10ae3f=this[_0x12faa7(0x6c8)])!=null&&_0x10ae3f[_0x12faa7(0x1bb)])||!!((_0x492253=this[_0x12faa7(0x6c8)])!=null&&_0x492253['reorderGuide']);}[_0x19aaa2(0x42c)](){const _0x3e1d12=_0x19aaa2;var _0x2e47c6;return!!this[_0x3e1d12(0x1c5)]||((_0x2e47c6=this['_selection'])==null?void 0x0:_0x2e47c6['kind'])===_0x3e1d12(0x3ea);}[_0x19aaa2(0x3d6)](_0x1308b6){const _0x2ad62a=_0x19aaa2;var _0xd39b7c,_0x40a256;let _0x1f91f7=_0x1308b6==null||(_0xd39b7c=_0x1308b6[_0x2ad62a(0x65b)])==null?void 0x0:_0xd39b7c['source'];if(!_0x1f91f7)return;let _0x32c1af=((_0x40a256=_0x1308b6[_0x2ad62a(0x65b)])==null?void 0x0:_0x40a256['sourceType'])??_0x1095e4[_0x2ad62a(0x552)],_0x307d30=_0x32c1af+':'+_0x1f91f7,_0x35a7ce=this[_0x2ad62a(0x47e)][_0x2ad62a(0x637)](_0x1f91f7,_0x32c1af);if(_0x35a7ce)return e['_imageNativeCache']['set'](_0x307d30,_0x35a7ce),_0x35a7ce;let _0x124521=e[_0x2ad62a(0x6ec)][_0x2ad62a(0x417)](_0x307d30);if(_0x124521)return this[_0x2ad62a(0x47e)]['addImageSourceCache'](_0x1f91f7,_0x32c1af,_0x124521),_0x124521;if(!e[_0x2ad62a(0x308)][_0x2ad62a(0x677)](_0x307d30)){let _0x2fcec0=this['_createImagePromise'](_0x307d30,_0x1f91f7,_0x32c1af);e[_0x2ad62a(0x308)][_0x2ad62a(0x690)](_0x307d30,_0x2fcec0),this[_0x2ad62a(0x549)][_0x2ad62a(0x651)](_0x3b3ba8(_0x2fcec0)[_0x2ad62a(0x67b)]({'error':()=>void 0x0,'next':_0x4118b4=>{_0x4118b4&&this['makeDirty'](!0x0);}}));}}async[_0x19aaa2(0x598)](_0x356335,_0x1ae1db,_0x2e54c2){const _0x508b51=_0x19aaa2;try{let _0x2c274c=_0x2e54c2===_0x1095e4[_0x508b51(0x59e)]?await this[_0x508b51(0x47e)][_0x508b51(0x205)](_0x1ae1db):_0x1ae1db;if(!_0x2c274c)return null;let _0x231318=await new Promise(_0x1371db=>{const _0x54184c=_0x508b51;let _0x17a3c9=document[_0x54184c(0x32a)](_0x54184c(0x395));_0x17a3c9['crossOrigin']=_0x54184c(0x542),_0x17a3c9['onload']=()=>_0x1371db(_0x17a3c9),_0x17a3c9[_0x54184c(0x52f)]=()=>_0x1371db(null),_0x17a3c9[_0x54184c(0x514)]=_0x2c274c;});return _0x231318&&(e['_imageNativeCache'][_0x508b51(0x690)](_0x356335,_0x231318),this[_0x508b51(0x47e)][_0x508b51(0x54d)](_0x1ae1db,_0x2e54c2,_0x231318)),_0x231318;}finally{e[_0x508b51(0x308)][_0x508b51(0x614)](_0x356335);}}};q(Gc,_0x19aaa2(0x6ec),new Map()),q(Gc,_0x19aaa2(0x308),new Map());function Kc(_0x109804,_0xfc7045){const _0x505e65=_0x19aaa2;let _0x636c98=_0x109804==null?void 0x0:_0x109804[_0x505e65(0x389)][_0x505e65(0x694)](_0x8f3c9f=>_0x8f3c9f[_0x505e65(0x530)])[_0x505e65(0x1f3)](_0x4e26d5=>_0x4e26d5>0x0);return Jc(_0x636c98!=null&&_0x636c98[_0x505e65(0x3b8)]?_0x636c98:[0x1,0x1,0x1],_0xfc7045);}function qc(_0x10ce63,_0x460799){const _0x74e1a2=_0x19aaa2;let _0x134ddf=_0x10ce63==null?void 0x0:_0x10ce63[_0x74e1a2(0x416)][_0x74e1a2(0x694)](_0x59c3db=>_0x59c3db[_0x74e1a2(0x1aa)]??0x18)['filter'](_0x18fde6=>_0x18fde6>0x0);return Jc(_0x134ddf!=null&&_0x134ddf['length']?_0x134ddf:[0x1,0x1,0x1],_0x460799);}function Jc(_0x221cb7,_0x5dd6a7){const _0x32f699=_0x19aaa2;let _0x56391d=_0x221cb7[_0x32f699(0x21c)]((_0x16ef86,_0x33581b)=>_0x16ef86+_0x33581b,0x0);return _0x56391d<=0x0?[_0x5dd6a7]:_0x221cb7[_0x32f699(0x694)](_0xb79a64=>_0xb79a64/_0x56391d*_0x5dd6a7);}function Yc(_0xd76252,_0x157962=0x0){const _0x5b9c17=_0x19aaa2;return typeof _0xd76252=='number'&&Number[_0x5b9c17(0x44d)](_0xd76252)?_0xd76252:_0x157962;}function $(_0x2957ec,_0x198b5a){let _0x47875f=Yc(_0x2957ec,_0x198b5a);return _0x47875f>0x0?_0x47875f:_0x198b5a;}function Xc(_0x225a79){const _0x5ed02f=_0x19aaa2;return _0x225a79&&typeof _0x225a79==_0x5ed02f(0x729)?_0x225a79:null;}function Zc(_0x4123d4){const _0x2a7c8e=_0x19aaa2;let _0x3a3cc5=Xc(_0x4123d4==null?void 0x0:_0x4123d4[_0x2a7c8e(0x493)]);if(!_0x3a3cc5)return null;let _0xa02946=Yc(_0x3a3cc5['outerBorderRadius'],0x0);return _0xa02946>0x0||typeof _0x3a3cc5['outerBorderWidth']==_0x2a7c8e(0x316)||typeof _0x3a3cc5[_0x2a7c8e(0x5d4)]==_0x2a7c8e(0x5b4)?{'borderRadius':Math[_0x2a7c8e(0x6f0)](0x0,_0xa02946),'borderWidth':$(_0x3a3cc5['outerBorderWidth'],1.5),'borderColor':typeof _0x3a3cc5[_0x2a7c8e(0x5d4)]==_0x2a7c8e(0x5b4)?_0x3a3cc5[_0x2a7c8e(0x5d4)]:Mc}:null;}function Qc(_0x40d17a){const _0x3432f8=_0x19aaa2;let _0x1659ee=Xc(_0x40d17a==null?void 0x0:_0x40d17a[_0x3432f8(0x493)]);if(!_0x1659ee)return null;let _0x522359=Xc(_0x1659ee['sequenceFrame']);return _0x522359?{'titleRow':Math[_0x3432f8(0x6f0)](0x0,Math[_0x3432f8(0x46b)](Yc(_0x522359[_0x3432f8(0x63e)],0x0))),'titleColumn':Math[_0x3432f8(0x6f0)](0x0,Math[_0x3432f8(0x46b)](Yc(_0x522359[_0x3432f8(0x483)],0x0))),'notchWidth':$(_0x522359[_0x3432f8(0x68b)],0x18),'borderWidth':$(_0x1659ee['outerBorderWidth'],1.5),'borderColor':typeof _0x1659ee[_0x3432f8(0x5d4)]==_0x3432f8(0x5b4)?_0x1659ee[_0x3432f8(0x5d4)]:Mc}:null;}function $c(_0x82249b){const _0x537164=_0x19aaa2;let _0x1647d1=Xc(_0x82249b==null?void 0x0:_0x82249b[_0x537164(0x493)]);if(!_0x1647d1)return{'rows':!0x0,'columns':!0x0};let _0x12111c=Xc(_0x1647d1['structuralControls']);return _0x12111c?{'rows':_0x12111c[_0x537164(0x416)]!==!0x1,'columns':_0x12111c[_0x537164(0x389)]!==!0x1}:{'rows':!0x0,'columns':!0x0};}function el(_0x3ef29c,_0x14221f){const _0x49e22a=_0x19aaa2;return _0x3ef29c[_0x49e22a(0x3c2)]===_0x49e22a(0x52e)?_0x14221f[_0x49e22a(0x416)]:_0x3ef29c[_0x49e22a(0x3c2)]!=='column-select'||_0x14221f[_0x49e22a(0x389)];}function tl(_0x5a52c7,_0x45b8b4){const _0x4053b9=_0x19aaa2;return _0x5a52c7[_0x4053b9(0x3c2)]==='row-header'||_0x5a52c7[_0x4053b9(0x3c2)]==='row-insert-dot'||_0x5a52c7[_0x4053b9(0x3c2)]===_0x4053b9(0x698)?_0x45b8b4[_0x4053b9(0x416)]:_0x5a52c7[_0x4053b9(0x3c2)]===_0x4053b9(0x51c)||_0x5a52c7['kind']==='column-insert-dot'||_0x5a52c7[_0x4053b9(0x3c2)]===_0x4053b9(0x4e6)?_0x45b8b4[_0x4053b9(0x389)]:!0x0;}function nl(_0x28248b,_0x98d876){const _0x27e36c=_0x19aaa2;return _0x28248b[_0x27e36c(0x3c2)]==='row'?_0x98d876[_0x27e36c(0x416)]:_0x98d876[_0x27e36c(0x389)];}function rl(_0x5d2deb,_0x5849ad,_0x3d96ac,_0x118ab2){const _0x2f4a0d=_0x19aaa2;_0x5d2deb[_0x2f4a0d(0x605)](),al(_0x5d2deb,-_0x5849ad/0x2,-_0x3d96ac/0x2,_0x5849ad,_0x3d96ac,_0x118ab2[_0x2f4a0d(0x50a)]),_0x5d2deb[_0x2f4a0d(0x262)]([]),_0x5d2deb['strokeStyle']=_0x118ab2['borderColor'],_0x5d2deb['lineWidth']=_0x118ab2[_0x2f4a0d(0x601)],_0x5d2deb[_0x2f4a0d(0x28c)]();}function il(_0x360d08,_0x6faf5c,_0x1a9365,_0x19671f,_0x1bb2ce,_0xc603ef){const _0x5a139b=_0x19aaa2;let _0x406350=-_0x6faf5c/0x2+El(_0x19671f,_0xc603ef[_0x5a139b(0x483)]),_0xbbd5a3=-_0x1a9365/0x2+El(_0x1bb2ce,_0xc603ef[_0x5a139b(0x63e)]),_0x3582ce=_0x19671f[_0xc603ef[_0x5a139b(0x483)]],_0x30358f=_0x1bb2ce[_0xc603ef['titleRow']];if(!_0x3582ce||!_0x30358f)return;let _0x3940e5=_0x406350+_0x3582ce,_0x23bb65=_0xbbd5a3+_0x30358f,_0x308bc2=Math[_0x5a139b(0x1df)](_0xc603ef[_0x5a139b(0x68b)],Math[_0x5a139b(0x6f0)](0x0,_0x3582ce-0x1),Math[_0x5a139b(0x6f0)](0x0,_0x30358f-0x1));_0x360d08['beginPath'](),_0x360d08[_0x5a139b(0x262)]([]),_0x360d08[_0x5a139b(0x372)]=_0xc603ef[_0x5a139b(0x373)],_0x360d08[_0x5a139b(0x5a8)]=_0xc603ef['borderWidth'],_0x360d08[_0x5a139b(0x3c0)](_0x406350,_0xbbd5a3),_0x360d08[_0x5a139b(0x6d6)](_0x3940e5,_0xbbd5a3),_0x360d08[_0x5a139b(0x6d6)](_0x3940e5,_0x23bb65-_0x308bc2),_0x360d08[_0x5a139b(0x6d6)](_0x3940e5-_0x308bc2,_0x23bb65),_0x360d08[_0x5a139b(0x6d6)](_0x406350,_0x23bb65),_0x360d08[_0x5a139b(0x6d6)](_0x406350,_0xbbd5a3),_0x360d08['stroke']();}function al(_0x3c6462,_0x1e7255,_0x22e048,_0x41a2da,_0x5733ae,_0x46493a){const _0x2b57b8=_0x19aaa2;let _0x11f044=_0x1e7255+_0x41a2da,_0x36244d=_0x22e048+_0x5733ae,_0x17e9eb=Math['min'](Math[_0x2b57b8(0x6f0)](0x0,_0x46493a),_0x41a2da/0x2,_0x5733ae/0x2);if(_0x17e9eb<=0x0){_0x3c6462['rect'](_0x1e7255,_0x22e048,_0x41a2da,_0x5733ae);return;}_0x3c6462[_0x2b57b8(0x3c0)](_0x1e7255+_0x17e9eb,_0x22e048),_0x3c6462[_0x2b57b8(0x6d6)](_0x11f044-_0x17e9eb,_0x22e048),_0x3c6462['quadraticCurveTo'](_0x11f044,_0x22e048,_0x11f044,_0x22e048+_0x17e9eb),_0x3c6462[_0x2b57b8(0x6d6)](_0x11f044,_0x36244d-_0x17e9eb),_0x3c6462[_0x2b57b8(0x56f)](_0x11f044,_0x36244d,_0x11f044-_0x17e9eb,_0x36244d),_0x3c6462[_0x2b57b8(0x6d6)](_0x1e7255+_0x17e9eb,_0x36244d),_0x3c6462[_0x2b57b8(0x56f)](_0x1e7255,_0x36244d,_0x1e7255,_0x36244d-_0x17e9eb),_0x3c6462[_0x2b57b8(0x6d6)](_0x1e7255,_0x22e048+_0x17e9eb),_0x3c6462[_0x2b57b8(0x56f)](_0x1e7255,_0x22e048,_0x1e7255+_0x17e9eb,_0x22e048);}function ol(_0x28b05b,_0x35ef23){const _0x252ebc=_0x19aaa2;return _0x28b05b!=null&&_0x28b05b[_0x252ebc(0x2d0)][_0x252ebc(0x5ac)]&&_0x35ef23===0x0?'#e8f1ff':_0x28b05b!=null&&_0x28b05b['options'][_0x252ebc(0x6b4)]&&_0x35ef23%0x2==0x1?_0x252ebc(0x64b):Pc;}function sl(_0x1b9ce1,_0x5e75f9,_0x451db9,_0x4ada71,_0x2e3cfb,_0x28f8a3,_0x3a25fb){const _0x27f3e6=_0x19aaa2;var _0x30fec9;if(!(_0x5e75f9!=null&&(_0x30fec9=_0x5e75f9[_0x27f3e6(0x65b)])!=null&&_0x30fec9[_0x27f3e6(0x71d)]))return!0x1;if(_0x1b9ce1['save'](),_0x1b9ce1['beginPath'](),_0x1b9ce1[_0x27f3e6(0x597)](_0x4ada71,_0x2e3cfb,_0x28f8a3,_0x3a25fb),_0x1b9ce1[_0x27f3e6(0x4b8)](),_0x1b9ce1[_0x27f3e6(0x6fc)]=pl(_0x5e75f9[_0x27f3e6(0x65b)]['opacity']??_0x5e75f9[_0x27f3e6(0x2a5)]??0x1)??0x1,_0x5e75f9[_0x27f3e6(0x65b)][_0x27f3e6(0x52b)]===_0x27f3e6(0x261)){let _0x1ddcac=_0x1b9ce1[_0x27f3e6(0x326)](_0x451db9,_0x27f3e6(0x3d2));return _0x1ddcac?(_0x1b9ce1[_0x27f3e6(0x6cf)]=_0x1ddcac,_0x1b9ce1[_0x27f3e6(0x408)](_0x4ada71,_0x2e3cfb,_0x28f8a3,_0x3a25fb),_0x1b9ce1[_0x27f3e6(0x4a8)](),!0x0):(_0x1b9ce1[_0x27f3e6(0x4a8)](),!0x1);}return _0x1b9ce1[_0x27f3e6(0x351)](_0x451db9,_0x4ada71,_0x2e3cfb,_0x28f8a3,_0x3a25fb),_0x1b9ce1[_0x27f3e6(0x4a8)](),!0x0;}function cl(_0x5f46df,_0x5de81c,_0xa59893,_0x224daf,_0xab442,_0x29f1c7){const _0x2ddc6e=_0x19aaa2;var _0x3955b5;if((_0x5de81c==null?void 0x0:_0x5de81c[_0x2ddc6e(0x5af)])===_0x2ddc6e(0x4a1))return;if(_0x5de81c!=null&&(_0x3955b5=_0x5de81c[_0x2ddc6e(0x3ce)])!=null&&(_0x3955b5=_0x3955b5[_0x2ddc6e(0x691)])!=null&&_0x3955b5[_0x2ddc6e(0x3b8)]){let _0x2cb4f5=ul(_0x5f46df,_0x5de81c[_0x2ddc6e(0x3ce)],_0xa59893,_0x224daf,_0xab442,_0x29f1c7);return _0x5de81c[_0x2ddc6e(0x3ce)][_0x2ddc6e(0x691)][_0x2ddc6e(0x2bf)](_0x4ffc46=>{const _0x1d69ef=_0x2ddc6e;_0x2cb4f5['addColorStop'](dl(_0x4ffc46[_0x1d69ef(0x2b2)]),fl(_0x4ffc46['color'],_0x4ffc46[_0x1d69ef(0x5c8)]??_0x5de81c[_0x1d69ef(0x2a5)]??0x1));}),_0x2cb4f5;}let _0x3e09ba=_0x5de81c==null?void 0x0:_0x5de81c['color'];if(!_0x3e09ba)return;let _0x33f85b=pl(_0x5de81c[_0x2ddc6e(0x2a5)]);if(_0x33f85b===void 0x0||_0x33f85b>=0x1)return _0x3e09ba;let _0x2e1da1=gl(_0x3e09ba);return _0x2e1da1?_0x2ddc6e(0x281)+_0x2e1da1['r']+',\x20'+_0x2e1da1['g']+',\x20'+_0x2e1da1['b']+',\x20'+hl(_0x33f85b)+')':_0x3e09ba;}function ll(_0x57d91f,_0x5af1c8,_0x4bc533){const _0x2bc7aa=_0x19aaa2;var _0x4b2ad5;if(!_0x57d91f)return ol(_0x5af1c8,_0x4bc533);if(_0x57d91f[_0x2bc7aa(0x5af)]===_0x2bc7aa(0x4a1)||(_0x4b2ad5=_0x57d91f[_0x2bc7aa(0x3ce)])!=null&&(_0x4b2ad5=_0x4b2ad5['stops'])!=null&&_0x4b2ad5['length']||_0x57d91f['picture'])return;let _0x2de719=_0x57d91f[_0x2bc7aa(0x587)];if(!_0x2de719)return;let _0x205bf5=pl(_0x57d91f[_0x2bc7aa(0x2a5)]);if(_0x205bf5===void 0x0||_0x205bf5>=0x1)return _0x2de719;let _0x39f129=gl(_0x2de719);return _0x39f129?_0x2bc7aa(0x281)+_0x39f129['r']+',\x20'+_0x39f129['g']+',\x20'+_0x39f129['b']+',\x20'+hl(_0x205bf5)+')':_0x2de719;}function ul(_0x30c6fc,_0x41bb07,_0xab5700,_0x2de375,_0x488829,_0x4a2894){const _0x41fc9f=_0x19aaa2;if(_0x41bb07[_0x41fc9f(0x5af)]===_0x41fc9f(0x269)||_0x41bb07[_0x41fc9f(0x5af)]==='diamond'){let _0x5f32d8=Math[_0x41fc9f(0x6f0)](_0x488829,_0x4a2894)/0x2;return _0x30c6fc['createRadialGradient'](_0xab5700+_0x488829/0x2,_0x2de375+_0x4a2894/0x2,0x0,_0xab5700+_0x488829/0x2,_0x2de375+_0x4a2894/0x2,_0x5f32d8);}let _0x5ee173=((_0x41bb07['angle']??0x0)+0x5a)%0x168*Math['PI']/0xb4,_0x3f5f0d=_0xab5700+_0x488829/0x2,_0x33336c=_0x2de375+_0x4a2894/0x2,_0x409c8d=Math[_0x41fc9f(0x724)](_0x488829*_0x488829+_0x4a2894*_0x4a2894)/0x2,_0x308358=Math['cos'](_0x5ee173)*_0x409c8d,_0x3d5c12=Math[_0x41fc9f(0x1c4)](_0x5ee173)*_0x409c8d;return _0x30c6fc[_0x41fc9f(0x2ed)](_0x3f5f0d-_0x308358,_0x33336c-_0x3d5c12,_0x3f5f0d+_0x308358,_0x33336c+_0x3d5c12);}function dl(_0x27931e){const _0x1e59f1=_0x19aaa2;return Number[_0x1e59f1(0x44d)](_0x27931e)?_0x27931e<=0x1?Math[_0x1e59f1(0x1df)](0x1,Math[_0x1e59f1(0x6f0)](0x0,_0x27931e)):Math['min'](0x1,Math[_0x1e59f1(0x6f0)](0x0,_0x27931e/0x64)):0x0;}function fl(_0x1351eb,_0x4653f9){const _0x498157=_0x19aaa2;let _0x2dbbf5=_0x1351eb['trim'](),_0x3303b0=ml(_0x4653f9);if(/^#[0-9a-f]{3}$/i['test'](_0x2dbbf5)){let [,_0x41ced5,_0x5d404e,_0x397ba9]=_0x2dbbf5;return'rgba('+Number['parseInt'](_0x41ced5+_0x41ced5,0x10)+',\x20'+Number[_0x498157(0x6dd)](_0x5d404e+_0x5d404e,0x10)+',\x20'+Number[_0x498157(0x6dd)](_0x397ba9+_0x397ba9,0x10)+',\x20'+hl(_0x3303b0)+')';}return/^#[0-9a-f]{6}$/i['test'](_0x2dbbf5)?_0x498157(0x281)+Number['parseInt'](_0x2dbbf5[_0x498157(0x5b0)](0x1,0x3),0x10)+',\x20'+Number[_0x498157(0x6dd)](_0x2dbbf5['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x498157(0x6dd)](_0x2dbbf5[_0x498157(0x5b0)](0x5,0x7),0x10)+',\x20'+hl(_0x3303b0)+')':_0x1351eb;}function pl(_0x2d9432){if(typeof _0x2d9432=='number'&&Number['isFinite'](_0x2d9432))return ml(_0x2d9432<=0x1?_0x2d9432:_0x2d9432<=0x64?_0x2d9432/0x64:_0x2d9432/0x186a0);}function ml(_0x3ce7d0){const _0x44e409=_0x19aaa2;return Math['min'](0x1,Math[_0x44e409(0x6f0)](0x0,_0x3ce7d0));}function hl(_0x106a5d){const _0x461670=_0x19aaa2;return Number(_0x106a5d[_0x461670(0x6fd)](0x4))['toString']();}function gl(_0x2af021){const _0x5ee770=_0x19aaa2;let _0x10027c=_0x2af021[_0x5ee770(0x722)](),_0x102962=/^#([0-9a-f]{3})$/i[_0x5ee770(0x313)](_0x10027c);if(_0x102962){let [_0x15de9c,_0x1d82e8,_0x3d3b81]=_0x102962[0x1]['split']('')[_0x5ee770(0x694)](_0x497b54=>Number['parseInt'](''+_0x497b54+_0x497b54,0x10));return{'r':_0x15de9c,'g':_0x1d82e8,'b':_0x3d3b81};}let _0x3b096f=/^#([0-9a-f]{6})$/i['exec'](_0x10027c);if(_0x3b096f)return{'r':Number[_0x5ee770(0x6dd)](_0x3b096f[0x1]['slice'](0x0,0x2),0x10),'g':Number[_0x5ee770(0x6dd)](_0x3b096f[0x1][_0x5ee770(0x5b0)](0x2,0x4),0x10),'b':Number[_0x5ee770(0x6dd)](_0x3b096f[0x1]['slice'](0x4,0x6),0x10)};}function _l(_0x5e82bf,_0x4a169a,_0x3a3c47,_0x15236e,_0x4acb9e,_0x2c2564){const _0x3d6dcb=_0x19aaa2;_0x4a169a&&_0x4a169a[_0x3d6dcb(0x270)]!==_0x3d6dcb(0x4a1)&&(_0x5e82bf['beginPath'](),_0x5e82bf[_0x3d6dcb(0x262)](Tl(_0x4a169a[_0x3d6dcb(0x270)])),_0x5e82bf['strokeStyle']=_0x4a169a[_0x3d6dcb(0x587)]||Nc,_0x5e82bf[_0x3d6dcb(0x5a8)]=$(_0x4a169a[_0x3d6dcb(0x530)],0x1),_0x5e82bf[_0x3d6dcb(0x3c0)](_0x3a3c47,_0x15236e),_0x5e82bf[_0x3d6dcb(0x6d6)](_0x4acb9e,_0x2c2564),_0x5e82bf[_0x3d6dcb(0x28c)](),_0x5e82bf[_0x3d6dcb(0x262)]([]));}function vl(_0xc5a11e,_0x4643cc,_0x5b16de,_0x49cd81){const _0x3bfb8b=_0x19aaa2;var _0x5b292a,_0x400aff,_0x9f393,_0x1874b8;return!_0x4643cc||_0x4643cc[_0x3bfb8b(0x642)]!==_0xc5a11e[_0x3bfb8b(0x642)]||_0x4643cc[_0x3bfb8b(0x33b)]!==_0xc5a11e['rowSpan']?!0x1:_0x49cd81===ll(_0x4643cc[_0x3bfb8b(0x33c)][_0x3bfb8b(0x40d)],_0x5b16de,_0x4643cc[_0x3bfb8b(0x642)])&&!Sl((_0x5b292a=_0xc5a11e[_0x3bfb8b(0x33c)][_0x3bfb8b(0x3a5)])==null?void 0x0:_0x5b292a[_0x3bfb8b(0x1bd)],(_0x400aff=_0x4643cc[_0x3bfb8b(0x33c)][_0x3bfb8b(0x3a5)])==null?void 0x0:_0x400aff[_0x3bfb8b(0x374)],(_0x9f393=_0xc5a11e[_0x3bfb8b(0x33c)][_0x3bfb8b(0x3a5)])==null?void 0x0:_0x9f393['insideV'],(_0x1874b8=_0x4643cc[_0x3bfb8b(0x33c)]['borders'])==null?void 0x0:_0x1874b8[_0x3bfb8b(0x267)]);}function yl(_0x1387b0,_0x1748a5,_0x2e4758,_0x163ce9){const _0x179edc=_0x19aaa2;var _0x151b28,_0x1a322f,_0xd2c89f,_0x269fe5;return!_0x1748a5||_0x1748a5[_0x179edc(0x3c4)]!==_0x1387b0[_0x179edc(0x3c4)]||_0x1748a5[_0x179edc(0x6a7)]!==_0x1387b0[_0x179edc(0x6a7)]?!0x1:_0x163ce9===ll(_0x1748a5[_0x179edc(0x33c)][_0x179edc(0x40d)],_0x2e4758,_0x1748a5[_0x179edc(0x642)])&&!Sl((_0x151b28=_0x1387b0[_0x179edc(0x33c)][_0x179edc(0x3a5)])==null?void 0x0:_0x151b28[_0x179edc(0x662)],(_0x1a322f=_0x1748a5[_0x179edc(0x33c)]['borders'])==null?void 0x0:_0x1a322f[_0x179edc(0x573)],(_0xd2c89f=_0x1387b0['style'][_0x179edc(0x3a5)])==null?void 0x0:_0xd2c89f[_0x179edc(0x480)],(_0x269fe5=_0x1748a5[_0x179edc(0x33c)][_0x179edc(0x3a5)])==null?void 0x0:_0x269fe5[_0x179edc(0x480)]);}function bl(_0x25e7f3,_0x346595){const _0x5d6fcc=_0x19aaa2;var _0x1d2a9b,_0x1b15da;return _0x346595?Sl(_0x25e7f3==null?void 0x0:_0x25e7f3[_0x5d6fcc(0x1bd)],(_0x1d2a9b=_0x346595['style'][_0x5d6fcc(0x3a5)])==null?void 0x0:_0x1d2a9b[_0x5d6fcc(0x374)],_0x25e7f3==null?void 0x0:_0x25e7f3['insideV'],(_0x1b15da=_0x346595[_0x5d6fcc(0x33c)][_0x5d6fcc(0x3a5)])==null?void 0x0:_0x1b15da[_0x5d6fcc(0x267)]):_0x1561e4(_0x25e7f3==null?void 0x0:_0x25e7f3[_0x5d6fcc(0x1bd)],void 0x0);}function xl(_0x38234b,_0x204ca1){const _0x4acf0c=_0x19aaa2;var _0xc65ced,_0x3ce4c6;return _0x204ca1?Sl(_0x38234b==null?void 0x0:_0x38234b[_0x4acf0c(0x662)],(_0xc65ced=_0x204ca1[_0x4acf0c(0x33c)][_0x4acf0c(0x3a5)])==null?void 0x0:_0xc65ced[_0x4acf0c(0x573)],_0x38234b==null?void 0x0:_0x38234b[_0x4acf0c(0x480)],(_0x3ce4c6=_0x204ca1[_0x4acf0c(0x33c)][_0x4acf0c(0x3a5)])==null?void 0x0:_0x3ce4c6[_0x4acf0c(0x480)]):_0x1561e4(_0x38234b==null?void 0x0:_0x38234b[_0x4acf0c(0x662)],void 0x0);}function Sl(..._0x29c326){const _0xa59a3b=_0x19aaa2;return _0x29c326[_0xa59a3b(0x21c)]((_0x382019,_0x65af)=>_0x1561e4(_0x382019,_0x65af),void 0x0);}function Cl(_0xdccb88,_0xd12c97){const _0x230983=_0x19aaa2;return _0xdccb88[_0x230983(0x642)]>=_0xd12c97[_0x230983(0x642)]&&_0xdccb88[_0x230983(0x642)]<_0xd12c97[_0x230983(0x642)]+_0xd12c97[_0x230983(0x33b)]&&_0xdccb88[_0x230983(0x3c4)]>=_0xd12c97['column']&&_0xdccb88[_0x230983(0x3c4)]<_0xd12c97['column']+_0xd12c97[_0x230983(0x6a7)];}function wl(_0xe09508){const _0x5f5df6=_0x19aaa2;return!_0xe09508||_0xe09508[_0x5f5df6(0x270)]==='none'?0x0:$(_0xe09508['width'],0x1)/0x2;}function Tl(_0x387d2f){const _0x28207c=_0x19aaa2;return _0x387d2f===_0x28207c(0x270)?[0x6,0x3]:_0x387d2f===_0x28207c(0x334)?[0x1,0x3]:_0x387d2f===_0x28207c(0x608)?[0x6,0x3,0x1,0x3]:[];}function El(_0x3a162d,_0x30ac35){const _0x23a5b3=_0x19aaa2;let _0x205f84=Math[_0x23a5b3(0x1df)](_0x3a162d[_0x23a5b3(0x3b8)],Math[_0x23a5b3(0x6f0)](0x0,_0x30ac35));return _0x3a162d['slice'](0x0,_0x205f84)[_0x23a5b3(0x21c)]((_0x334ddc,_0x4826cb)=>_0x334ddc+_0x4826cb,0x0);}function Dl(_0x536241,_0x8f281,_0x21a9e8,_0x7c18d2,_0x2207a1,_0x4ef652,_0x5a3b59,_0x32d37f){const _0x5b06e3=_0x19aaa2;let _0x5824a2=0.5,_0x30fd95=Math[_0x5b06e3(0x6f0)](_0x8f281,-_0x5a3b59/0x2+_0x5824a2),_0x4e07db=Math[_0x5b06e3(0x6f0)](_0x21a9e8,-_0x32d37f/0x2+_0x5824a2),_0x2f0056=Math[_0x5b06e3(0x1df)](_0x8f281+_0x7c18d2,_0x5a3b59/0x2-_0x5824a2),_0x19ea9f=Math[_0x5b06e3(0x1df)](_0x21a9e8+_0x2207a1,_0x32d37f/0x2-_0x5824a2);_0x2f0056<=_0x30fd95||_0x19ea9f<=_0x4e07db||(_0x536241[_0x5b06e3(0x605)](),_0x536241['setLineDash']([]),_0x536241[_0x5b06e3(0x597)](_0x30fd95,_0x4e07db,_0x2f0056-_0x30fd95,_0x19ea9f-_0x4e07db),_0x536241['strokeStyle']=_0x4ef652,_0x536241['lineWidth']=0x1,_0x536241[_0x5b06e3(0x28c)]());}function Ol(_0x58ecff,_0x1a776a){const _0x56527e=_0x19aaa2;let {bottom:_0x9b9089,left:_0x5ea526,right:_0x38a923,top:_0xd62ece}=_0xbc9428(_0x1a776a);return{'left':_0x58ecff[_0x56527e(0x374)]+_0x5ea526,'top':_0x58ecff[_0x56527e(0x573)]+_0xd62ece,'width':Math[_0x56527e(0x6f0)](0x1,_0x58ecff[_0x56527e(0x530)]-_0x5ea526-_0x38a923),'height':Math[_0x56527e(0x6f0)](0x1,_0x58ecff['height']-_0xd62ece-_0x9b9089)};}function kl(_0xbc08b,_0x46ac49,_0x4ab88e,_0x25e27e){const _0xebe262=_0x19aaa2;let _0x19cff2=$(_0x4ab88e/_0x46ac49[_0xebe262(0x530)],0x1),_0x240464=$(_0x25e27e/_0x46ac49[_0xebe262(0x1aa)],0x1);return{...Ol({'left':_0xbc08b[_0xebe262(0x61d)][_0xebe262(0x374)]*_0x19cff2,'top':_0xbc08b[_0xebe262(0x61d)][_0xebe262(0x573)]*_0x240464,'width':_0xbc08b[_0xebe262(0x61d)]['width']*_0x19cff2,'height':_0xbc08b['bounds'][_0xebe262(0x1aa)]*_0x240464},_0xbc08b[_0xebe262(0x33c)]['margins']),'row':_0xbc08b['row'],'column':_0xbc08b[_0xebe262(0x3c4)]};}function Al(_0x5f33cb,_0x2f2d62,_0x1375b0,_0x351021,_0x14584f,_0x57b89f=Vc){const _0x69d943=_0x19aaa2;let _0x301f66=_0x2f2d62+_0x351021/0x2-0x3,_0x43a218=_0x1375b0+_0x14584f/0x2-0x3;_0x5f33cb[_0x69d943(0x6cf)]=_0x57b89f;for(let _0x1c149e=0x0;_0x1c149e<0x2;_0x1c149e+=0x1)for(let _0x1a0572=0x0;_0x1a0572<0x2;_0x1a0572+=0x1)_0x5f33cb[_0x69d943(0x605)](),_0x5f33cb[_0x69d943(0x356)](_0x301f66+_0x1a0572*0x6,_0x43a218+_0x1c149e*0x6,1.5,0x0,Math['PI']*0x2),_0x5f33cb['fill']();}function jl(_0x2a7a98,_0x51ebc5,_0x82d8f9,_0x537786,_0x18b7c5,_0xbba6e2=!0x1){const _0x19dd09=_0x19aaa2;var _0x3a2597;_0x2a7a98[_0x19dd09(0x658)](),_0x2a7a98['shadowColor']=_0xbba6e2?'rgba(26,\x20115,\x20232,\x200.22)':_0x19dd09(0x5ec),_0x2a7a98[_0x19dd09(0x33a)]=_0xbba6e2?0xa:0x8,_0x2a7a98[_0x19dd09(0x41b)]=0x2,_0x2a7a98[_0x19dd09(0x605)](),(_0x3a2597=_0x2a7a98[_0x19dd09(0x5fe)])==null||_0x3a2597[_0x19dd09(0x273)](_0x2a7a98,_0x51ebc5,_0x82d8f9,_0x537786,_0x18b7c5,0x6),_0x2a7a98[_0x19dd09(0x5fe)]||_0x2a7a98['rect'](_0x51ebc5,_0x82d8f9,_0x537786,_0x18b7c5),_0x2a7a98[_0x19dd09(0x6cf)]=_0xbba6e2?Rc:Lc,_0x2a7a98[_0x19dd09(0x40d)](),_0x2a7a98['shadowBlur']=0x0,_0x2a7a98[_0x19dd09(0x41b)]=0x0,_0x2a7a98[_0x19dd09(0x372)]=_0xbba6e2?Bc:zc,_0x2a7a98[_0x19dd09(0x5a8)]=0x1,_0x2a7a98[_0x19dd09(0x28c)](),_0x2a7a98['restore']();}function Ml(_0x165a3b){const _0x1f73e7=_0x19aaa2;return _0x165a3b?{'visible':_0x165a3b[_0x1f73e7(0x459)],'hoveredTrigger':_0x165a3b[_0x1f73e7(0x1b9)]?{..._0x165a3b[_0x1f73e7(0x1b9)],'rect':{..._0x165a3b[_0x1f73e7(0x1b9)][_0x1f73e7(0x597)]}}:null,'selectedStructuralRange':_0x165a3b[_0x1f73e7(0x57a)]?{..._0x165a3b[_0x1f73e7(0x57a)]}:null,'insertGuide':_0x165a3b[_0x1f73e7(0x1bb)]?{..._0x165a3b[_0x1f73e7(0x1bb)]}:null,'reorderGuide':_0x165a3b[_0x1f73e7(0x1cd)]?{..._0x165a3b['reorderGuide']}:null}:null;}function Nl(_0x4aa103,_0x11c2de){const _0x3ce26d=_0x19aaa2;return JSON[_0x3ce26d(0x3f4)](_0x4aa103)===JSON['stringify'](_0x11c2de);}function Pl(_0x36ae4e){const _0x3ab38d=_0x19aaa2;return _0x36ae4e[_0x3ab38d(0x3c2)]===_0x3ab38d(0x6d0)||_0x36ae4e['kind']==='column-header'||_0x36ae4e['kind']===_0x3ab38d(0x2e5)||_0x36ae4e[_0x3ab38d(0x3c2)]==='column-insert-dot';}var Fl=class{constructor(_0x1ed919,_0x36d8d4){const _0x4e8a7b=_0x19aaa2;this[_0x4e8a7b(0x5e8)]=_0x1ed919,this[_0x4e8a7b(0x5d2)]=_0x36d8d4,q(this,_0x4e8a7b(0x48c),!0x1),q(this,_0x4e8a7b(0x46d),null);}[_0x19aaa2(0x4bf)](_0x5c3501){const _0x365fea=_0x19aaa2;this[_0x365fea(0x46d)]=_0x5c3501,this[_0x365fea(0x5e8)][_0x365fea(0x4dc)](!0x0);}['setEnabled'](_0x37fe11){const _0x3fd8a6=_0x19aaa2;this[_0x3fd8a6(0x48c)]!==_0x37fe11&&(this['_enabled']=_0x37fe11,this[_0x3fd8a6(0x5e8)][_0x3fd8a6(0x4dc)](!0x0));}[_0x19aaa2(0x592)](_0x377800){const _0x59602e=_0x19aaa2;let _0x3362b0=this[_0x59602e(0x5e8)][_0x59602e(0x47c)](_0x377800),_0x46c1c2=0x16,_0x20914a=null;for(let _0xd2d435 of this[_0x59602e(0x68f)]()){let _0x5a104e=Math[_0x59602e(0x48e)](_0x3362b0['x']-_0xd2d435['x'],_0x3362b0['y']-_0xd2d435['y'])*this['_zoom'];_0x5a104e<_0x46c1c2&&(_0x46c1c2=_0x5a104e,_0x20914a=_0xd2d435[_0x59602e(0x526)]);}return _0x20914a;}[_0x19aaa2(0x1bc)](_0x337b32){const _0x2863f6=_0x19aaa2;let _0x5f1991=this[_0x2863f6(0x48c)]?this[_0x2863f6(0x5d2)]():null;if(!_0x5f1991)return null;let {table:_0x336d1d,model:_0x46e6fe}=_0x5f1991,{width:_0xd905a6,height:_0x2c836}=this[_0x2863f6(0x5e8)],_0x563f79=this[_0x2863f6(0x5e8)][_0x2863f6(0x47c)](_0x337b32),_0x2c4873=_0x563f79['x']+_0xd905a6/0x2,_0x4b775b=_0x563f79['y']+_0x2c836/0x2;if(_0x2c4873<0x0||_0x4b775b<0x0||_0x2c4873>_0xd905a6||_0x4b775b>_0x2c836)return null;let _0x796ff6=_0x336d1d['rows'][_0x2863f6(0x694)](_0x542cde=>(_0x542cde[_0x2863f6(0x1aa)]??0x18)*_0x2c836/_0x46e6fe[_0x2863f6(0x1aa)]),_0x1a61bd=_0x336d1d[_0x2863f6(0x389)][_0x2863f6(0x694)](_0x1132ce=>_0x1132ce[_0x2863f6(0x530)]*_0xd905a6/_0x46e6fe[_0x2863f6(0x530)]),_0x30860d=_0x138f5e({'tableWidth':_0xd905a6,'tableHeight':_0x2c836,'rowHeights':_0x796ff6,'columnWidths':_0x1a61bd,'mergedCells':_0x39af7f(_0x336d1d),'zoom':this['_zoom']}),_0x1aaf3b=null,_0x3215ee=0x1/0x0;for(let _0x2859e8 of _0x30860d){let {rect:_0x394757}=_0x2859e8,_0x3a523c,_0x8924c5;if(_0x2859e8[_0x2863f6(0x3c2)]==='resize-row'&&_0x2859e8[_0x2863f6(0x642)]!==void 0x0&&_0x2c4873>=_0x394757['x']&&_0x2c4873<=_0x394757['x']+_0x394757[_0x2863f6(0x530)])_0x3a523c=Math[_0x2863f6(0x3a3)](_0x4b775b-_0x394757['y']-_0x394757[_0x2863f6(0x1aa)]/0x2),_0x8924c5=Math[_0x2863f6(0x1df)](0x8/this[_0x2863f6(0x398)],_0x796ff6[_0x2859e8[_0x2863f6(0x642)]]/0x4,_0x796ff6[_0x2859e8[_0x2863f6(0x642)]+0x1]/0x4);else{if(_0x2859e8['kind']==='resize-column'&&_0x2859e8[_0x2863f6(0x3c4)]!==void 0x0&&_0x4b775b>=_0x394757['y']&&_0x4b775b<=_0x394757['y']+_0x394757[_0x2863f6(0x1aa)])_0x3a523c=Math['abs'](_0x2c4873-_0x394757['x']-_0x394757['width']/0x2),_0x8924c5=Math[_0x2863f6(0x1df)](0x8/this[_0x2863f6(0x398)],_0x1a61bd[_0x2859e8[_0x2863f6(0x3c4)]]/0x4,_0x1a61bd[_0x2859e8[_0x2863f6(0x3c4)]+0x1]/0x4);else continue;}_0x3a523c<=_0x8924c5&&_0x3a523c<_0x3215ee&&(_0x1aaf3b=_0x2859e8,_0x3215ee=_0x3a523c);}return _0x1aaf3b;}['draw'](_0x648e9,_0x170a54){const _0x19d45d=_0x19aaa2;let _0x41e0ea=this[_0x19d45d(0x48c)]?this[_0x19d45d(0x5d2)]():null,_0x50e48b=this[_0x19d45d(0x46d)];if(_0x41e0ea&&_0x50e48b){let {width:_0x5eacb3,height:_0x3e9533}=this[_0x19d45d(0x5e8)];if(_0x648e9['beginPath'](),_0x50e48b[_0x19d45d(0x474)]===_0x19d45d(0x642)){let _0x113141=_0x41e0ea[_0x19d45d(0x283)]['rows'][_0x19d45d(0x5b0)](0x0,_0x50e48b[_0x19d45d(0x328)])[_0x19d45d(0x21c)]((_0x1f7545,_0x5b780e)=>_0x1f7545+(_0x5b780e[_0x19d45d(0x1aa)]??0x18),0x0),_0x1cd56e=-_0x3e9533/0x2+_0x113141*_0x3e9533/_0x41e0ea['model'][_0x19d45d(0x1aa)];_0x648e9[_0x19d45d(0x3c0)](-_0x5eacb3/0x2,_0x1cd56e),_0x648e9[_0x19d45d(0x6d6)](_0x5eacb3/0x2,_0x1cd56e);}else{let _0x2c89d2=_0x41e0ea[_0x19d45d(0x283)][_0x19d45d(0x389)][_0x19d45d(0x5b0)](0x0,_0x50e48b['index'])[_0x19d45d(0x21c)]((_0x5b1b25,_0x47d06f)=>_0x5b1b25+_0x47d06f['width'],0x0),_0x5194b3=-_0x5eacb3/0x2+_0x2c89d2*_0x5eacb3/_0x41e0ea[_0x19d45d(0x4fc)][_0x19d45d(0x530)];_0x648e9[_0x19d45d(0x3c0)](_0x5194b3,-_0x3e9533/0x2),_0x648e9[_0x19d45d(0x6d6)](_0x5194b3,_0x3e9533/0x2);}_0x648e9[_0x19d45d(0x372)]=_0x170a54,_0x648e9['lineWidth']=0x2/this[_0x19d45d(0x398)],_0x648e9[_0x19d45d(0x28c)]();return;}for(let _0x500a5f of this[_0x19d45d(0x68f)]())_0x648e9[_0x19d45d(0x605)](),_0x648e9[_0x19d45d(0x356)](_0x500a5f['x'],_0x500a5f['y'],0x5/this[_0x19d45d(0x398)],0x0,Math['PI']*0x2),_0x648e9[_0x19d45d(0x6cf)]=_0x170a54,_0x648e9['fill']();}get[_0x19aaa2(0x398)](){const _0xb93be8=_0x19aaa2;var _0x470dad;return((_0x470dad=this[_0xb93be8(0x5e8)][_0xb93be8(0x581)]())==null?void 0x0:_0x470dad['getAncestorScale']()[_0xb93be8(0x409)])||0x1;}[_0x19aaa2(0x68f)](){const _0x50add8=_0x19aaa2;let _0x585ac1=this['_enabled']?this[_0x50add8(0x5d2)]():null;if(!(_0x585ac1!=null&&_0x585ac1['range']))return[];let {range:_0x11bd21,model:_0x1d9b8a}=_0x585ac1,_0xf153b1=_0x1d9b8a[_0x50add8(0x307)][_0x50add8(0x1f3)](_0x55edd5=>!_0x55edd5[_0x50add8(0x332)]&&_0x55edd5['row']<=Math[_0x50add8(0x6f0)](_0x11bd21['startRow'],_0x11bd21[_0x50add8(0x3cd)])&&_0x55edd5['row']+_0x55edd5[_0x50add8(0x33b)]>Math[_0x50add8(0x1df)](_0x11bd21[_0x50add8(0x544)],_0x11bd21['endRow'])&&_0x55edd5['column']<=Math[_0x50add8(0x6f0)](_0x11bd21[_0x50add8(0x2f4)],_0x11bd21[_0x50add8(0x434)])&&_0x55edd5[_0x50add8(0x3c4)]+_0x55edd5[_0x50add8(0x6a7)]>Math['min'](_0x11bd21['startColumn'],_0x11bd21['endColumn']));if(!_0xf153b1[_0x50add8(0x3b8)])return[];let {width:_0x8c673f,height:_0x1a23d2}=this[_0x50add8(0x5e8)],_0x52fc5b=_0x8c673f/_0x1d9b8a[_0x50add8(0x530)],_0x453de6=_0x1a23d2/_0x1d9b8a[_0x50add8(0x1aa)];return[{'x':-_0x8c673f/0x2+Math[_0x50add8(0x1df)](..._0xf153b1['map'](_0x54d203=>_0x54d203[_0x50add8(0x61d)][_0x50add8(0x374)]))*_0x52fc5b,'y':-_0x1a23d2/0x2+Math[_0x50add8(0x1df)](..._0xf153b1[_0x50add8(0x694)](_0x42c86e=>_0x42c86e[_0x50add8(0x61d)][_0x50add8(0x573)]))*_0x453de6,'anchor':{'row':Math[_0x50add8(0x6f0)](_0x11bd21[_0x50add8(0x544)],_0x11bd21['endRow']),'column':Math['max'](_0x11bd21[_0x50add8(0x2f4)],_0x11bd21['endColumn'])}},{'x':-_0x8c673f/0x2+Math[_0x50add8(0x6f0)](..._0xf153b1[_0x50add8(0x694)](_0x33cd5b=>_0x33cd5b[_0x50add8(0x61d)][_0x50add8(0x374)]+_0x33cd5b[_0x50add8(0x61d)]['width']))*_0x52fc5b,'y':-_0x1a23d2/0x2+Math[_0x50add8(0x6f0)](..._0xf153b1[_0x50add8(0x694)](_0x4e3197=>_0x4e3197[_0x50add8(0x61d)][_0x50add8(0x573)]+_0x4e3197['bounds'][_0x50add8(0x1aa)]))*_0x453de6,'anchor':{'row':Math['min'](_0x11bd21[_0x50add8(0x544)],_0x11bd21[_0x50add8(0x3cd)]),'column':Math['min'](_0x11bd21[_0x50add8(0x2f4)],_0x11bd21[_0x50add8(0x434)])}}];}},Il=class extends Gc{constructor(..._0x3d48d0){const _0x1d8578=_0x19aaa2;super(..._0x3d48d0),q(this,_0x1d8578(0x318),new Fl(this,()=>{const _0x46de9d=_0x1d8578;let _0x3d4636=this['getTable'](),_0x23834f=this[_0x46de9d(0x29f)](),_0x5c5bdd=this['getTableSelection'](),_0x22639a=(_0x5c5bdd==null?void 0x0:_0x5c5bdd[_0x46de9d(0x568)][0x0])??null;return!_0x3d4636||!_0x23834f||!_0x5c5bdd||this[_0x46de9d(0x4cd)]()||_0x5c5bdd[_0x46de9d(0x3c2)]===_0x46de9d(0x3ea)?null:{'table':_0x3d4636,'model':_0x23834f,'range':_0x5c5bdd[_0x46de9d(0x3c2)]===_0x46de9d(0x283)?null:_0x22639a};}));}['isHit'](_0x55d29e){const _0x532c20=_0x19aaa2;return super[_0x532c20(0x495)](_0x55d29e)||this[_0x532c20(0x318)][_0x532c20(0x592)](_0x55d29e)!=null;}[_0x19aaa2(0x208)](_0x47f068,_0x51a5fe,_0x24fb1e,_0x4c888e){const _0x1fd483=_0x19aaa2;super['_draw'](_0x47f068,_0x51a5fe,_0x24fb1e,_0x4c888e),this[_0x1fd483(0x318)]['draw'](_0x47f068,this[_0x1fd483(0x378)]());}};function Ll(_0x5c6b5c,_0x1f4eb6){const _0x3ac7a2=_0x19aaa2;let _0x28f4c3=Wl(_0x5c6b5c,_0x1f4eb6);if(!_0x5c6b5c||!_0x28f4c3)return'';let _0x933479=[];for(let _0x20173d=_0x28f4c3[_0x3ac7a2(0x544)];_0x20173d<=_0x28f4c3[_0x3ac7a2(0x3cd)];_0x20173d+=0x1){let _0x5803b7=[];for(let _0x1b3955=_0x28f4c3[_0x3ac7a2(0x2f4)];_0x1b3955<=_0x28f4c3['endColumn'];_0x1b3955+=0x1){var _0x14dda7;let _0x52ceba=(_0x14dda7=_0x5c6b5c[_0x3ac7a2(0x416)][_0x20173d])==null?void 0x0:_0x14dda7[_0x3ac7a2(0x307)][_0x1b3955];if(_0x52ceba!=null&&_0x52ceba['hMerge']||_0x52ceba!=null&&_0x52ceba['vMerge']){_0x5803b7['push']('');continue;}_0x5803b7[_0x3ac7a2(0x232)](Jl(Ul(_0x52ceba==null?void 0x0:_0x52ceba[_0x3ac7a2(0x427)])));}_0x933479[_0x3ac7a2(0x232)](_0x5803b7[_0x3ac7a2(0x230)]('\x09'));}return _0x933479[_0x3ac7a2(0x230)]('\x0a');}function Rl(_0x738023,_0x3e5ca5){const _0x3e2e12=_0x19aaa2;let _0x18124e=Wl(_0x738023,_0x3e5ca5);if(!_0x738023||!_0x18124e)return'';let _0x2bedc9=_0x738023[_0x3e2e12(0x389)][_0x3e2e12(0x5b0)](_0x18124e[_0x3e2e12(0x2f4)],_0x18124e['endColumn']+0x1)[_0x3e2e12(0x694)](_0x5b8ba1=>'<col\x20style=\x22width:\x20'+_0x5b8ba1[_0x3e2e12(0x530)]+_0x3e2e12(0x54f))[_0x3e2e12(0x230)](''),_0x29b9c6=[];for(let _0x5cb862=_0x18124e['startRow'];_0x5cb862<=_0x18124e['endRow'];_0x5cb862+=0x1){let _0x50bdab=_0x738023[_0x3e2e12(0x416)][_0x5cb862];if(!_0x50bdab)continue;let _0x1dd821=[];for(let _0x532b38=_0x18124e['startColumn'];_0x532b38<=_0x18124e['endColumn'];_0x532b38+=0x1){let _0x489854=_0x50bdab[_0x3e2e12(0x307)][_0x532b38];if(!_0x489854||_0x489854[_0x3e2e12(0x31a)]||_0x489854[_0x3e2e12(0x4f8)])continue;let _0x2585f2=Math[_0x3e2e12(0x1df)](_0x489854['rowSpan']??0x1,_0x18124e['endRow']-_0x5cb862+0x1),_0x3b2586=Math[_0x3e2e12(0x1df)](_0x489854[_0x3e2e12(0x6a7)]??0x1,_0x18124e['endColumn']-_0x532b38+0x1),_0x25f856=[_0x2585f2>0x1?_0x3e2e12(0x1a7)+_0x2585f2+'\x22':'',_0x3b2586>0x1?'colspan=\x22'+_0x3b2586+'\x22':'',zl(_0x489854)]['filter'](Boolean)[_0x3e2e12(0x230)]('\x20'),_0x4b2289=_0x489854[_0x3e2e12(0x427)]?_0x3e4412(_0x257efd[_0x3e2e12(0x206)](_0x489854['textData'])):'';_0x1dd821[_0x3e2e12(0x232)]('<td'+(_0x25f856?'\x20'+_0x25f856:'')+'>'+_0x4b2289+'</td>');}_0x29b9c6[_0x3e2e12(0x232)]('<tr'+(_0x50bdab[_0x3e2e12(0x1aa)]?'\x20style=\x22height:\x20'+_0x50bdab[_0x3e2e12(0x1aa)]+_0x3e2e12(0x640):'')+'>'+_0x1dd821['join']('')+'</tr>');}return _0x3e2e12(0x3c5)+_0x2bedc9+_0x3e2e12(0x44f)+_0x29b9c6[_0x3e2e12(0x230)]('')+'</tbody></table>';}function zl(_0x3c38f0){const _0x4b299d=_0x19aaa2;var _0x5ef957,_0x1608cb;let _0x21125f=[];((_0x5ef957=_0x3c38f0['style'])==null||(_0x5ef957=_0x5ef957[_0x4b299d(0x40d)])==null?void 0x0:_0x5ef957['type'])===_0x870dab['Solid']&&_0x3c38f0[_0x4b299d(0x33c)]['fill'][_0x4b299d(0x587)]&&_0x21125f['push'](_0x4b299d(0x59f)+_0x3c38f0[_0x4b299d(0x33c)][_0x4b299d(0x40d)][_0x4b299d(0x587)]);let _0x3a2dcc=(_0x1608cb=_0x3c38f0[_0x4b299d(0x33c)])==null?void 0x0:_0x1608cb[_0x4b299d(0x3a5)];return _0x3a2dcc&&['top',_0x4b299d(0x1bd),_0x4b299d(0x662),'left']['forEach'](_0x3b7825=>{const _0x298c5f=_0x4b299d;let _0xed9c9d=_0x3a2dcc[_0x3b7825];_0xed9c9d!=null&&_0xed9c9d[_0x298c5f(0x587)]&&_0xed9c9d[_0x298c5f(0x530)]!==void 0x0&&_0x21125f[_0x298c5f(0x232)](_0x298c5f(0x2bb)+_0x3b7825+':\x20'+_0xed9c9d[_0x298c5f(0x530)]+'px\x20solid\x20'+_0xed9c9d['color']);}),_0x21125f[_0x4b299d(0x3b8)]>0x0?'style=\x22'+Zl(_0x21125f[_0x4b299d(0x230)](';\x20'))+'\x22':'';}function Bl(_0x29c8bb,_0x47eb3f,_0x3af188){const _0x2d0133=_0x19aaa2;if(!_0x29c8bb||!_0x47eb3f||_0x3af188[_0x2d0133(0x3b8)]===0x0)return null;let _0x5acd70=Kl(_0x29c8bb,_0x47eb3f);if(!_0x5acd70)return null;let _0x2c0a58=ql(_0x3af188);if(_0x2c0a58['length']===0x0)return null;let _0x51d42d=_0x257efd[_0x2d0133(0x206)](_0x29c8bb[_0x2d0133(0x416)]),_0x3b1824=!0x1;return _0x2c0a58[_0x2d0133(0x2bf)]((_0x132e45,_0x593107)=>{const _0x4c657f=_0x2d0133;let _0x5232ab=_0x5acd70['row']+_0x593107;_0x5232ab<0x0||_0x5232ab>=_0x51d42d[_0x4c657f(0x3b8)]||_0x132e45[_0x4c657f(0x2bf)]((_0x1a33a3,_0x3550b4)=>{const _0x344022=_0x4c657f;let _0x5388dd=_0x5acd70[_0x344022(0x3c4)]+_0x3550b4;if(_0x5388dd<0x0||_0x5388dd>=_0x29c8bb[_0x344022(0x389)][_0x344022(0x3b8)])return;let _0x327b7d=_0x51d42d[_0x5232ab],_0x54f83e=_0x327b7d==null?void 0x0:_0x327b7d[_0x344022(0x307)][_0x5388dd];_0x327b7d&&_0x54f83e&&!_0x54f83e[_0x344022(0x31a)]&&!_0x54f83e[_0x344022(0x4f8)]&&(_0x327b7d[_0x344022(0x307)][_0x5388dd]={..._0x54f83e,'textData':_0x54f83e[_0x344022(0x427)]?tc(_0x54f83e[_0x344022(0x427)],_0x1a33a3):ec(_0x29c8bb['id'],_0x5232ab,_0x5388dd,_0x1a33a3)},_0x3b1824=!0x0);});}),_0x3b1824?{'rows':_0x51d42d}:null;}function Vl(_0xaf5255,_0x4bfa06,_0x305c06){const _0x4bcce2=_0x19aaa2;if(!_0xaf5255||!_0x4bfa06||!_0x305c06)return null;let _0x50a01d=Kl(_0xaf5255,_0x4bfa06);if(!_0x50a01d)return null;let _0x195cb2=_0x1f993c(_0x305c06),_0x5f4be6=_0x195cb2['rows']['length']>0x0?_0x195cb2['rows'][_0x4bcce2(0x694)](_0xfe2ec5=>_0xfe2ec5[_0x4bcce2(0x307)]):[[{'html':_0x305c06,'text':'','rowSpan':0x1,'colSpan':0x1}]];if(!_0x5f4be6['some'](_0x4ceaaa=>_0x4ceaaa[_0x4bcce2(0x27a)](_0x335013=>_0x335013!==null)))return null;let _0x2ee79e=Math['max'](0x1,..._0x5f4be6[_0x4bcce2(0x694)](_0x2901c2=>_0x2901c2[_0x4bcce2(0x3b8)])),_0x43e737={'startRow':_0x50a01d['row'],'endRow':Math[_0x4bcce2(0x1df)](_0xaf5255[_0x4bcce2(0x416)][_0x4bcce2(0x3b8)]-0x1,_0x50a01d['row']+_0x5f4be6['length']-0x1),'startColumn':_0x50a01d[_0x4bcce2(0x3c4)],'endColumn':Math[_0x4bcce2(0x1df)](_0xaf5255['columns']['length']-0x1,_0x50a01d[_0x4bcce2(0x3c4)]+_0x2ee79e-0x1)},_0x467e50=_0x39af7f(_0xaf5255)[_0x4bcce2(0x1f3)](_0x1efd8f=>Ql(_0x1efd8f,_0x43e737))[_0x4bcce2(0x21c)]((_0x27a084,_0x18e7d7)=>_0x5ac089(_0x27a084,_0x18e7d7[_0x4bcce2(0x544)],_0x18e7d7[_0x4bcce2(0x2f4)]),_0x257efd[_0x4bcce2(0x206)](_0xaf5255)),_0xac8daa=[],_0x8e3d31=!0x1;return _0x5f4be6[_0x4bcce2(0x2bf)]((_0x48ba59,_0x17c632)=>{const _0x388312=_0x4bcce2;_0x48ba59[_0x388312(0x2bf)]((_0x592566,_0x59c6fb)=>{const _0x4a9ada=_0x388312;var _0x4d558d;let _0x10002f=_0x50a01d[_0x4a9ada(0x642)]+_0x17c632,_0x145199=_0x50a01d['column']+_0x59c6fb,_0x5caa3a=(_0x4d558d=_0x467e50[_0x4a9ada(0x416)][_0x10002f])==null?void 0x0:_0x4d558d[_0x4a9ada(0x307)][_0x145199];if(!_0x592566||!_0x5caa3a)return;let _0x496438=Yl(_0x17eba6(_0x592566[_0x4a9ada(0x347)]))??ec(_0xaf5255['id'],_0x10002f,_0x145199,_0x592566['text']);_0x467e50[_0x4a9ada(0x416)][_0x10002f][_0x4a9ada(0x307)][_0x145199]={..._0x5caa3a,'textData':ic(_0x496438,_0xaf5255['id']+'-'+_0x10002f+'-'+_0x145199),'style':Xl(_0x5caa3a['style'],_0x592566)};let _0xb4df9f=Math[_0x4a9ada(0x1df)](_0x592566[_0x4a9ada(0x33b)],_0xaf5255[_0x4a9ada(0x416)][_0x4a9ada(0x3b8)]-_0x10002f),_0x586397=Math[_0x4a9ada(0x1df)](_0x592566['colSpan'],_0xaf5255[_0x4a9ada(0x389)][_0x4a9ada(0x3b8)]-_0x145199);(_0xb4df9f>0x1||_0x586397>0x1)&&_0xac8daa[_0x4a9ada(0x232)]({'startRow':_0x10002f,'endRow':_0x10002f+_0xb4df9f-0x1,'startColumn':_0x145199,'endColumn':_0x145199+_0x586397-0x1}),_0x8e3d31=!0x0;});}),_0xac8daa[_0x4bcce2(0x2bf)](_0x8cae2a=>{_0x467e50=_0x58a380(_0x467e50,_0x8cae2a);}),_0x8e3d31?{'rows':_0x467e50['rows']}:null;}function Hl(_0xb5a199,_0x1c8aad){const _0x3ccdc1=_0x19aaa2;let _0x22cc5d=Gl(_0xb5a199,_0x1c8aad);if(!_0xb5a199||_0x22cc5d[_0x3ccdc1(0x3b8)]===0x0)return null;let _0x5b7322=_0x257efd[_0x3ccdc1(0x206)](_0xb5a199[_0x3ccdc1(0x416)]),_0x30be7b=!0x1;return _0x22cc5d[_0x3ccdc1(0x2bf)](_0x2df6e9=>{const _0x4f105c=_0x3ccdc1;for(let _0x4b051c=_0x2df6e9[_0x4f105c(0x544)];_0x4b051c<=_0x2df6e9['endRow'];_0x4b051c+=0x1){let _0x4701d5=_0x5b7322[_0x4b051c];if(_0x4701d5)for(let _0x4248a3=_0x2df6e9[_0x4f105c(0x2f4)];_0x4248a3<=_0x2df6e9[_0x4f105c(0x434)];_0x4248a3+=0x1){let _0x17002e=_0x4701d5[_0x4f105c(0x307)][_0x4248a3];if(!(_0x17002e!=null&&_0x17002e[_0x4f105c(0x427)]))continue;let _0x463db7={..._0x17002e};delete _0x463db7['textData'],_0x4701d5[_0x4f105c(0x307)][_0x4248a3]=_0x463db7,_0x30be7b=!0x0;}}}),_0x30be7b?{'rows':_0x5b7322}:null;}function Ul(_0x2f94b2){const _0x5ae4a5=_0x19aaa2;var _0x28427d;let _0x52f061=_0x2f94b2==null||(_0x28427d=_0x2f94b2[_0x5ae4a5(0x4cc)])==null?void 0x0:_0x28427d[_0x5ae4a5(0x40e)];return _0x52f061?_0x52f061[_0x5ae4a5(0x457)](/\r\n/g,'\x0a')['replace'](/\r/g,'\x0a')['replace'](/[\u0000-\u0008\u000B\u000C\u000E-\u001F]/g,'')[_0x5ae4a5(0x457)](/\n+$/g,''):'';}function Wl(_0x27361e,_0x2a4f13){return Gl(_0x27361e,_0x2a4f13)[0x0]??null;}function Gl(_0x4350fb,_0x1c77a2){const _0xc786cd=_0x19aaa2;if(!_0x4350fb||!(_0x1c77a2!=null&&_0x1c77a2['ranges'][_0xc786cd(0x3b8)]))return[];let _0x28897f=_0x4350fb[_0xc786cd(0x416)][_0xc786cd(0x3b8)]-0x1,_0x2cab18=_0x4350fb[_0xc786cd(0x389)][_0xc786cd(0x3b8)]-0x1;return _0x28897f<0x0||_0x2cab18<0x0?[]:_0x1c77a2[_0xc786cd(0x568)][_0xc786cd(0x694)](_0x3c0ab0=>{const _0x308b7c=_0xc786cd;let _0x2e7b54=_0x942cb2(_0x3c0ab0);return{'startRow':Math['max'](0x0,Math[_0x308b7c(0x1df)](_0x2e7b54[_0x308b7c(0x544)],_0x28897f)),'endRow':Math['max'](0x0,Math[_0x308b7c(0x1df)](_0x2e7b54[_0x308b7c(0x3cd)],_0x28897f)),'startColumn':Math['max'](0x0,Math[_0x308b7c(0x1df)](_0x2e7b54[_0x308b7c(0x2f4)],_0x2cab18)),'endColumn':Math[_0x308b7c(0x6f0)](0x0,Math[_0x308b7c(0x1df)](_0x2e7b54[_0x308b7c(0x434)],_0x2cab18))};});}function Kl(_0x440658,_0x124966){const _0x218f86=_0x19aaa2;let _0xda324=Wl(_0x440658,_0x124966);if(!_0xda324)return null;let _0x185b86=_0x124966[_0x218f86(0x2a4)]??_0x124966[_0x218f86(0x526)];return _0x185b86?{'row':Math[_0x218f86(0x6f0)](_0xda324[_0x218f86(0x544)],Math[_0x218f86(0x1df)](_0x185b86[_0x218f86(0x642)],_0xda324[_0x218f86(0x3cd)])),'column':Math[_0x218f86(0x6f0)](_0xda324['startColumn'],Math[_0x218f86(0x1df)](_0x185b86[_0x218f86(0x3c4)],_0xda324[_0x218f86(0x434)]))}:{'row':_0xda324[_0x218f86(0x544)],'column':_0xda324[_0x218f86(0x2f4)]};}function ql(_0x57cbd1){const _0x4d60b2=_0x19aaa2;let _0x59e0c8=_0x57cbd1['replace'](/\r\n/g,'\x0a')[_0x4d60b2(0x457)](/\r/g,'\x0a')[_0x4d60b2(0x457)](/\n$/g,'');return _0x59e0c8?_0x59e0c8[_0x4d60b2(0x380)]('\x0a')[_0x4d60b2(0x694)](_0x5668d0=>_0x5668d0[_0x4d60b2(0x380)]('\x09')):[];}function Jl(_0x2dff1e){const _0x2404ec=_0x19aaa2;return _0x2dff1e[_0x2404ec(0x457)](/\t/g,'\x20')[_0x2404ec(0x457)](/\n/g,'\x20');}function Yl(_0xed581d){const _0x240196=_0x19aaa2;try{var _0x38f53d;let _0x10e5e3=_0x3f88bf(_0xed581d);return(_0x38f53d=_0x10e5e3[_0x240196(0x4cc)])!=null&&_0x38f53d[_0x240196(0x40e)]?{..._0x10e5e3,'id':_0x10e5e3['id']||_0xd7ffb9(0x6),'body':_0x10e5e3[_0x240196(0x4cc)],'documentStyle':_0x10e5e3[_0x240196(0x725)]??{}}:null;}catch{return null;}}function Xl(_0x41e680,_0x173d1b){const _0x24e899=_0x19aaa2;let _0x278e1c=_0x173d1b['borderColor']||_0x173d1b[_0x24e899(0x601)]?{'color':_0x173d1b[_0x24e899(0x373)],'width':_0x173d1b['borderWidth'],'dash':_0x3cd644[_0x24e899(0x56a)]}:void 0x0;return!_0x173d1b[_0x24e899(0x4d3)]&&!_0x278e1c?_0x41e680:{..._0x41e680,'fill':_0x173d1b[_0x24e899(0x4d3)]?{'type':_0x870dab[_0x24e899(0x56a)],'color':_0x173d1b['backgroundColor']}:_0x41e680==null?void 0x0:_0x41e680[_0x24e899(0x40d)],'borders':_0x278e1c?{'top':_0x278e1c,'right':_0x278e1c,'bottom':_0x278e1c,'left':_0x278e1c}:_0x41e680==null?void 0x0:_0x41e680[_0x24e899(0x3a5)]};}function Zl(_0x390bd5){const _0x552f29=_0x19aaa2;return _0x390bd5['replace'](/&/g,_0x552f29(0x209))[_0x552f29(0x457)](/"/g,_0x552f29(0x23c))[_0x552f29(0x457)](/</g,_0x552f29(0x5b7))['replace'](/>/g,_0x552f29(0x481));}function Ql(_0x3ec357,_0x5bf0b3){const _0x40efed=_0x19aaa2;return _0x3ec357[_0x40efed(0x544)]<=_0x5bf0b3[_0x40efed(0x3cd)]&&_0x3ec357['endRow']>=_0x5bf0b3[_0x40efed(0x544)]&&_0x3ec357[_0x40efed(0x2f4)]<=_0x5bf0b3[_0x40efed(0x434)]&&_0x3ec357[_0x40efed(0x434)]>=_0x5bf0b3[_0x40efed(0x2f4)];}function $l(_0x1e0b0a){const _0x2a21a2=_0x19aaa2;return(_0x1e0b0a==null?void 0x0:_0x1e0b0a[_0x2a21a2(0x3c2)])===_0x2a21a2(0x2e5)&&_0x1e0b0a[_0x2a21a2(0x642)]!==void 0x0||(_0x1e0b0a==null?void 0x0:_0x1e0b0a['kind'])===_0x2a21a2(0x5f4)&&_0x1e0b0a[_0x2a21a2(0x3c4)]!==void 0x0;}function eu(_0x2c392b){const _0x3d7342=_0x19aaa2;return _0x2c392b[_0x3d7342(0x3c2)]==='row-insert-dot'?{'visible':!0x0,'hoveredTrigger':_0x2c392b,'insertGuide':{'kind':_0x3d7342(0x642),'index':_0x2c392b['row']+0x1}}:{'visible':!0x0,'hoveredTrigger':_0x2c392b,'insertGuide':{'kind':_0x3d7342(0x3c4),'index':_0x2c392b[_0x3d7342(0x3c4)]+0x1}};}const tu=_0x19aaa2(0x20d),nu=-0x2710;function ru(_0x4aaeee){const _0x50063e=_0x19aaa2;if(typeof _0x4aaeee[_0x50063e(0x1e2)]==_0x50063e(0x316)&&Number[_0x50063e(0x577)](_0x4aaeee[_0x50063e(0x1e2)]))return _0x4aaeee[_0x50063e(0x1e2)];let _0x5ea1f8=_0x4aaeee[_0x50063e(0x3c2)]===_0x50063e(0x2e5)?_0x4aaeee['row']:_0x4aaeee[_0x50063e(0x3c4)];return typeof _0x5ea1f8=='number'&&Number[_0x50063e(0x577)](_0x5ea1f8)?_0x5ea1f8+0x1:null;}function iu(_0x55fc95,_0x26b75e,_0x41d114,_0x351f23,_0x36f22f,_0xcbad10=0x6){const _0x5457c9=_0x19aaa2;if(_0x351f23<0x0||_0x36f22f<0x0||_0x351f23>_0x26b75e||_0x36f22f>_0x41d114)return null;let _0x381166=mu(_0x55fc95['columns']['map'](_0x4c57db=>_0x4c57db[_0x5457c9(0x530)]),_0x26b75e),_0x76829f=mu(_0x55fc95[_0x5457c9(0x416)][_0x5457c9(0x694)](_0x176777=>_0x176777[_0x5457c9(0x1aa)]??0x18),_0x41d114),_0x49397b=gu(_0x381166,_0x351f23,_0xcbad10),_0x2d81c8=gu(_0x76829f,_0x36f22f,_0xcbad10);return!_0x49397b&&!_0x2d81c8?null:_0x49397b&&(!_0x2d81c8||_0x49397b[_0x5457c9(0x6f9)]<=_0x2d81c8[_0x5457c9(0x6f9)])?{'axis':_0x5457c9(0x3c4),'boundaryIndex':_0x49397b[_0x5457c9(0x569)]}:{'axis':_0x5457c9(0x642),'boundaryIndex':_0x2d81c8[_0x5457c9(0x569)]};}function au(_0x5064ef,_0x14f14c,_0x15fd6b,_0x605d50){const _0x3c9813=_0x19aaa2;let _0x54673b=_0x257efd['deepClone'](_0x5064ef),_0x3aa11e=Math[_0x3c9813(0x6f0)](0x1,_0x605d50[_0x3c9813(0x1bf)]??0xc);if(_0x605d50[_0x3c9813(0x474)]===_0x3c9813(0x3c4))_0x54673b[_0x3c9813(0x389)]=_u(mu(_0x5064ef[_0x3c9813(0x389)]['map'](_0x4973f4=>_0x4973f4[_0x3c9813(0x530)]),_0x14f14c),_0x605d50[_0x3c9813(0x569)],_0x605d50[_0x3c9813(0x508)],_0x3aa11e)[_0x3c9813(0x694)](_0x5ecc9d=>({'width':_0x5ecc9d}));else{let _0x19378b=_u(mu(_0x5064ef['rows'][_0x3c9813(0x694)](_0x4c12a1=>_0x4c12a1['height']??0x18),_0x15fd6b),_0x605d50['boundaryIndex'],_0x605d50[_0x3c9813(0x508)],_0x3aa11e);_0x54673b[_0x3c9813(0x416)]=_0x54673b[_0x3c9813(0x416)][_0x3c9813(0x694)]((_0x2e97c1,_0x1033f7)=>({..._0x2e97c1,'height':_0x19378b[_0x1033f7]??_0x2e97c1[_0x3c9813(0x1aa)]??0x18}));}return _0x54673b;}let ou=class extends _0x5f2e9b{constructor(_0x30aaa9,_0x1b2e5b,_0x34d2c2,_0x697949,_0x3dc437,_0x94abbe,_0x5068d8,_0x1fc671,_0x313b7b,_0x386931,_0x17dfbc,_0x17e299,_0x555efd,_0x8abbf6,_0x54c2f5,_0x427184){const _0x1e5c2a=_0x19aaa2;super(),this[_0x1e5c2a(0x5c2)]=_0x30aaa9,this[_0x1e5c2a(0x22c)]=_0x1b2e5b,this[_0x1e5c2a(0x5f6)]=_0x34d2c2,this[_0x1e5c2a(0x4a3)]=_0x697949,this[_0x1e5c2a(0x3a4)]=_0x3dc437,this['_drawingStateService']=_0x94abbe,this['_contextMenuService']=_0x5068d8,this[_0x1e5c2a(0x1f0)]=_0x1fc671,this[_0x1e5c2a(0x2f3)]=_0x313b7b,this[_0x1e5c2a(0x682)]=_0x386931,this[_0x1e5c2a(0x3fb)]=_0x17dfbc,this[_0x1e5c2a(0x479)]=_0x17e299,this[_0x1e5c2a(0x320)]=_0x555efd,this[_0x1e5c2a(0x249)]=_0x8abbf6,this[_0x1e5c2a(0x1e4)]=_0x54c2f5,this[_0x1e5c2a(0x62d)]=_0x427184,q(this,_0x1e5c2a(0x570),null),q(this,_0x1e5c2a(0x1b2),null),q(this,_0x1e5c2a(0x46c),null),q(this,_0x1e5c2a(0x621),null),q(this,_0x1e5c2a(0x3a7),null),q(this,'_tableMoveDragContext',null),q(this,_0x1e5c2a(0x323),0x0),q(this,_0x1e5c2a(0x240),null),q(this,_0x1e5c2a(0x3c1),null),q(this,_0x1e5c2a(0x23f),null),q(this,_0x1e5c2a(0x306),null),q(this,_0x1e5c2a(0x5ea),null),q(this,_0x1e5c2a(0x31e),null),q(this,_0x1e5c2a(0x43a),null),q(this,_0x1e5c2a(0x314),null),q(this,_0x1e5c2a(0x24c),null),q(this,'_headerSelectionDragCleanup',null),q(this,_0x1e5c2a(0x386),!0x1),q(this,_0x1e5c2a(0x446),!0x1),q(this,_0x1e5c2a(0x684),!0x1),q(this,_0x1e5c2a(0x268),!0x1),q(this,_0x1e5c2a(0x3d5),null),q(this,_0x1e5c2a(0x1b7),new Map()),q(this,_0x1e5c2a(0x5b5),_0x2e427c=>{const _0x5a0543=_0x1e5c2a;let _0x23651b=this['_resolveTableClipboardTarget'](_0x2e427c);_0x23651b&&_0x2e427c[_0x5a0543(0x6d4)]&&this[_0x5a0543(0x70a)](_0x23651b['selection'])&&(_0x2e427c[_0x5a0543(0x6d4)]['setData'](_0x5a0543(0x606),Ll(_0x23651b[_0x5a0543(0x283)],_0x23651b['selection'])),_0x2e427c[_0x5a0543(0x6d4)][_0x5a0543(0x702)](_0x5a0543(0x696),Rl(_0x23651b[_0x5a0543(0x283)],_0x23651b['selection'])),_0x2e427c[_0x5a0543(0x521)](),_0x2e427c[_0x5a0543(0x66e)]());}),q(this,'_handleClipboardCut',async _0x58f8c5=>{const _0x4ee22e=_0x1e5c2a;let _0x32eb0c=this[_0x4ee22e(0x429)](_0x58f8c5);if(!_0x32eb0c||!_0x58f8c5[_0x4ee22e(0x6d4)]||!this['_canCopyTable'](_0x32eb0c[_0x4ee22e(0x1ab)]))return;let _0x46f0e7=Hl(_0x32eb0c['table'],_0x32eb0c[_0x4ee22e(0x1ab)]);_0x46f0e7&&(_0x58f8c5[_0x4ee22e(0x6d4)][_0x4ee22e(0x702)](_0x4ee22e(0x606),Ll(_0x32eb0c[_0x4ee22e(0x283)],_0x32eb0c[_0x4ee22e(0x1ab)])),_0x58f8c5[_0x4ee22e(0x6d4)]['setData']('text/html',Rl(_0x32eb0c[_0x4ee22e(0x283)],_0x32eb0c[_0x4ee22e(0x1ab)])),_0x58f8c5['preventDefault'](),_0x58f8c5[_0x4ee22e(0x66e)](),await this[_0x4ee22e(0x45d)](_0x32eb0c,_0x46f0e7));}),q(this,'_handleClipboardPaste',async _0x1dfe8c=>{const _0x322577=_0x1e5c2a;let _0x510082=this[_0x322577(0x429)](_0x1dfe8c);if(!_0x510082||!_0x1dfe8c[_0x322577(0x6d4)])return;let _0x492486=_0x1dfe8c[_0x322577(0x6d4)]['getData']('text/html'),_0x54e45f=_0x1dfe8c['clipboardData'][_0x322577(0x5ed)](_0x322577(0x606)),_0x22d22f=_0x60166a(_0x54e45f)?await _0x557afc(_0x54e45f):null,_0x147be9=_0x22d22f?null:(_0x492486?Vl(_0x510082['table'],_0x510082['selection'],_0x492486):null)??Bl(_0x510082[_0x322577(0x283)],_0x510082[_0x322577(0x1ab)],_0x54e45f),_0x4501d5=_0x22d22f?[_0x22d22f]:await Iu(_0x1dfe8c[_0x322577(0x6d4)],_0x492486);(_0x147be9||_0x4501d5[_0x322577(0x3b8)]!==0x0)&&(_0x1dfe8c[_0x322577(0x521)](),_0x1dfe8c[_0x322577(0x66e)](),(!_0x147be9||await this[_0x322577(0x45d)](_0x510082,_0x147be9))&&await this[_0x322577(0x55d)](_0x4501d5,+!!_0x147be9));}),this[_0x1e5c2a(0x437)]();}[_0x19aaa2(0x3e1)](){const _0x41796e=_0x19aaa2;this['_editorLayoutSyncScheduled']=!0x1,this['_resetTableInteraction'](),super[_0x41796e(0x3e1)]();}[_0x19aaa2(0x437)](){const _0x316ca0=_0x19aaa2;var _0x356313,_0x5753d2;document[_0x316ca0(0x37a)](_0x316ca0(0x534),this[_0x316ca0(0x5b5)],!0x0),document[_0x316ca0(0x37a)](_0x316ca0(0x322),this[_0x316ca0(0x1d2)],!0x0),document[_0x316ca0(0x37a)](_0x316ca0(0x460),this['_handleClipboardPaste'],!0x0),this[_0x316ca0(0x3a8)](_0x48d5d0(()=>{const _0x259dbe=_0x316ca0;document['removeEventListener'](_0x259dbe(0x534),this[_0x259dbe(0x5b5)],!0x0),document[_0x259dbe(0x720)]('cut',this['_handleClipboardCut'],!0x0),document[_0x259dbe(0x720)](_0x259dbe(0x460),this[_0x259dbe(0x50b)],!0x0);})),this[_0x316ca0(0x3a8)](this['_keyboardService'][_0x316ca0(0x699)](_0x2edc3e=>this[_0x316ca0(0x1e3)](_0x2edc3e))),this['disposeWithMe'](this[_0x316ca0(0x2f3)][_0x316ca0(0x5b2)](_0x4c413b=>this[_0x316ca0(0x59c)](_0x4c413b)));let _0x16efa5=(_0x356313=(_0x5753d2=this[_0x316ca0(0x320)])[_0x316ca0(0x234)])==null?void 0x0:_0x356313[_0x316ca0(0x273)](_0x5753d2,_0xf33a13=>this['_shouldShowTransformerForDrawing'](_0xf33a13));_0x16efa5&&this['disposeWithMe'](_0x16efa5),this['disposeWithMe'](this['_keyboardService'][_0x316ca0(0x699)](_0x4a65cb=>this[_0x316ca0(0x1e3)](_0x4a65cb))),this[_0x316ca0(0x3a8)](this[_0x316ca0(0x5c2)]['scene'][_0x316ca0(0x2dc)]['subscribeEvent'](_0x2d4f36=>{const _0x40a9b1=_0x316ca0;this[_0x40a9b1(0x2ad)](_0x2d4f36);})),this[_0x316ca0(0x3a8)](this[_0x316ca0(0x5c2)][_0x316ca0(0x54e)]['onTransformChange$'][_0x316ca0(0x609)](()=>{const _0x1ff3d3=_0x316ca0;this[_0x1ff3d3(0x468)]();}));let _0x48afb6=this[_0x316ca0(0x4f5)][_0x316ca0(0x1ac)];if(_0x48afb6){let _0x2538f5=_0x48afb6[_0x316ca0(0x67b)](_0x389ff4=>{const _0xd52f03=_0x316ca0;var _0x32febd;this[_0xd52f03(0x4f3)](_0x389ff4);let _0x48182f=this[_0xd52f03(0x4a3)]['getSelection']();if(!_0x48182f){var _0x17a88d,_0x52ea3a;let _0x28ed0c=((_0x17a88d=(_0x52ea3a=this['_tableSelectionService'])[_0xd52f03(0x2b3)])==null?void 0x0:_0x17a88d[_0xd52f03(0x273)](_0x52ea3a))??!0x1;this[_0xd52f03(0x3c1)]&&this['_tableActivationStage']&&!this[_0xd52f03(0x557)](_0x389ff4)&&!_0x28ed0c&&this[_0xd52f03(0x6e2)]();return;}if(!(((_0x32febd=_0x389ff4[_0xd52f03(0x25e)])==null?void 0x0:_0x32febd[_0xd52f03(0x1e5)])===_0x48182f[_0xd52f03(0x1e5)]&&_0x389ff4[_0xd52f03(0x25e)][_0xd52f03(0x47d)]===_0x48182f[_0xd52f03(0x47d)]&&_0x389ff4['selectedIds'][_0xd52f03(0x612)](_0x48182f[_0xd52f03(0x235)]))){if(!this[_0xd52f03(0x1b8)](_0x389ff4,_0x48182f)&&this['_isTableInteractionInProgress'](_0x48182f))return;this[_0xd52f03(0x6e2)]();}});this[_0x316ca0(0x3a8)]({'dispose':()=>_0x2538f5[_0x316ca0(0x531)]()});}this[_0x316ca0(0x619)](),this['_initSelectionSynchronization'](),this[_0x316ca0(0x211)]();}['_initSelectionSynchronization'](){}[_0x19aaa2(0x6fb)](_0x451ca0,_0x33f4a3){const _0x46f576=_0x19aaa2;this[_0x46f576(0x50c)](_0x33f4a3);}[_0x19aaa2(0x69a)](_0x47f78b){}['_handleDirectResizePointerDown'](..._0x460e7e){const _0x45da82=_0x19aaa2;return this[_0x45da82(0x53e)](..._0x460e7e);}[_0x19aaa2(0x4af)](_0x67e3e1,_0x41cba5){const _0xef7b21=_0x19aaa2;var _0xcac209;this[_0xef7b21(0x4a3)][_0xef7b21(0x463)](),(_0xcac209=_0x67e3e1[_0xef7b21(0x4d5)])==null||_0xcac209[_0xef7b21(0x273)](_0x67e3e1,null);}['_resolveResizeHandle'](_0x1902e4,_0xf0d066,_0x28df59,_0x5787f7){const _0x2bf9d4=_0x19aaa2;let _0x2ee950=this[_0x2bf9d4(0x35c)](_0xf0d066,_0x28df59,_0x5787f7);return iu(_0x1902e4,_0xf0d066[_0x2bf9d4(0x530)],_0xf0d066[_0x2bf9d4(0x1aa)],_0x2ee950['x'],_0x2ee950['y'],0x6);}[_0x19aaa2(0x6d2)](_0x55a96c,_0x33ab15,_0xce0a78,_0x428ba1,_0x5e0891){}[_0x19aaa2(0x2c7)](){return 0x1;}[_0x19aaa2(0x594)](_0x43679a){const _0x36d8bf=_0x19aaa2;this[_0x36d8bf(0x603)]();}[_0x19aaa2(0x6a8)](_0x4630f5){const _0x2d8083=_0x19aaa2;var _0x509a80;return _0x4630f5[_0x2d8083(0x3c2)]==='text'||!!((_0x509a80=_0x4630f5[_0x2d8083(0x568)])!=null&&_0x509a80[_0x2d8083(0x3b8)]);}[_0x19aaa2(0x649)](){return!0x1;}[_0x19aaa2(0x3b5)](_0x56c24c,_0x3151,_0x44f24f,_0x20f186){return!0x1;}['_clearResizeBoundary'](_0x4effb8){}[_0x19aaa2(0x468)](){const _0x221fe9=_0x19aaa2;this['_editorLayoutSyncScheduled']||(this[_0x221fe9(0x268)]=!0x0,Promise['resolve']()[_0x221fe9(0x53b)](()=>{const _0x1ac8ed=_0x221fe9;this[_0x1ac8ed(0x268)]&&(this[_0x1ac8ed(0x268)]=!0x1,this[_0x1ac8ed(0x30e)]());}));}[_0x19aaa2(0x30e)](){const _0xf9d574=_0x19aaa2;var _0x4a93b5;let _0x43e427=this[_0xf9d574(0x3a4)][_0xf9d574(0x55b)](),_0x565804=_0x43e427==null?void 0x0:_0x43e427[_0xf9d574(0x25e)];if(!_0x43e427||!_0x565804||!this[_0xf9d574(0x505)](_0x565804))return;let _0x34ad94=this[_0xf9d574(0x6ad)](_0x565804);if(!_0x34ad94)return;let {object:_0x4b923a,table:_0x53991b}=_0x34ad94,_0x352062=_0x59b2f8(((_0x4a93b5=_0x4b923a[_0xf9d574(0x364)])==null?void 0x0:_0x4a93b5[_0xf9d574(0x273)](_0x4b923a))??_0x53991b),_0x1c2d5f=_0x352062['cells'][_0xf9d574(0x3c6)](_0x2b0220=>_0x2b0220['row']===_0x565804[_0xf9d574(0x642)]&&_0x2b0220['column']===_0x565804[_0xf9d574(0x3c4)]&&!_0x2b0220[_0xf9d574(0x332)]);if(!_0x1c2d5f)return;let _0x21edba=this[_0xf9d574(0x224)](_0x4b923a,_0x352062,_0x1c2d5f,_0x43e427['documentData']);_0x21edba&&this[_0xf9d574(0x3a4)][_0xf9d574(0x663)]({'layout':_0x21edba});}[_0x19aaa2(0x4f3)](_0x1b7c69){const _0xd9a3e=_0x19aaa2;if(!_0x1b7c69['context']||_0x1b7c69[_0xd9a3e(0x305)][_0xd9a3e(0x3b8)]!==0x1)return;let [_0x271fb5]=_0x1b7c69[_0xd9a3e(0x305)],_0xdec84b=this[_0xd9a3e(0x5c2)][_0xd9a3e(0x579)][_0xd9a3e(0x293)](_0x50b4f6(_0x1b7c69[_0xd9a3e(0x25e)][_0xd9a3e(0x1e5)],_0x1b7c69[_0xd9a3e(0x25e)][_0xd9a3e(0x47d)],_0x271fb5));if(!_0xdec84b)return;let _0x37c2f9=this['_resolveSelectedTableDrawing'](_0x1b7c69[_0xd9a3e(0x25e)]['unitId'],_0x1b7c69[_0xd9a3e(0x25e)][_0xd9a3e(0x47d)],_0x271fb5);if(!_0x37c2f9||_0x37c2f9[_0xd9a3e(0x354)][_0xd9a3e(0x5af)]!==_0x2af70c[_0xd9a3e(0x1a9)])return;let _0x4585d8=this[_0xd9a3e(0x4a3)][_0xd9a3e(0x25c)]();if((_0x4585d8==null?void 0x0:_0x4585d8[_0xd9a3e(0x1e5)])===_0x37c2f9[_0xd9a3e(0x1e5)]&&_0x4585d8[_0xd9a3e(0x47d)]===_0x37c2f9['subUnitId']&&_0x4585d8[_0xd9a3e(0x235)]===_0x37c2f9[_0xd9a3e(0x3e4)]){this[_0xd9a3e(0x6bd)](_0x37c2f9,_0xdec84b,_0x4585d8),this[_0xd9a3e(0x723)](_0x4585d8);return;}(_0x4585d8==null?void 0x0:_0x4585d8[_0xd9a3e(0x3c2)])===_0xd9a3e(0x283)&&this['_tableSelectionService'][_0xd9a3e(0x463)](),this[_0xd9a3e(0x3c1)]={'unitId':_0x37c2f9[_0xd9a3e(0x1e5)],'subUnitId':_0x37c2f9[_0xd9a3e(0x47d)],'elementId':_0x37c2f9[_0xd9a3e(0x3e4)]},this[_0xd9a3e(0x6fb)](_0x37c2f9,_0xdec84b);}[_0x19aaa2(0x557)](_0x40773e){const _0x5b6fbb=_0x19aaa2;var _0x5996fc;let _0x55b447=this['_lastActiveTableContext'];return!!_0x55b447&&((_0x5996fc=_0x40773e[_0x5b6fbb(0x25e)])==null?void 0x0:_0x5996fc[_0x5b6fbb(0x1e5)])===_0x55b447['unitId']&&_0x40773e[_0x5b6fbb(0x25e)][_0x5b6fbb(0x47d)]===_0x55b447[_0x5b6fbb(0x47d)]&&_0x40773e[_0x5b6fbb(0x305)]['includes'](_0x55b447['elementId']);}[_0x19aaa2(0x1b8)](_0x13f107,_0x14b638){const _0x4ebd67=_0x19aaa2;if(_0x13f107[_0x4ebd67(0x305)][_0x4ebd67(0x3b8)]===0x0)return!0x0;if(!_0x13f107[_0x4ebd67(0x25e)])return!0x1;let _0x330acb=this[_0x4ebd67(0x5c2)]['scene'][_0x4ebd67(0x293)](_0x50b4f6(_0x14b638[_0x4ebd67(0x1e5)],_0x14b638[_0x4ebd67(0x47d)],_0x14b638[_0x4ebd67(0x235)]));return _0x13f107['selectedIds'][_0x4ebd67(0x27a)](_0x444792=>{const _0x2228f8=_0x4ebd67;if(_0x444792===_0x14b638[_0x2228f8(0x235)])return!0x1;let _0x4b3a00=this['_renderContext']['scene'][_0x2228f8(0x293)](_0x50b4f6(_0x13f107['context'][_0x2228f8(0x1e5)],_0x13f107['context'][_0x2228f8(0x47d)],_0x444792));return!!_0x4b3a00&&_0x4b3a00!==_0x330acb;});}['_resolveSelectedTableDrawing'](_0x31b86a,_0x36e8b1,_0x24bceb){const _0x4cf8db=_0x19aaa2;var _0x3879c0,_0x37ead1;let _0x5993a8=(_0x3879c0=this[_0x4cf8db(0x22c)])==null?void 0x0:_0x3879c0['getOrderedTopLevelDrawings'];return(_0x5993a8==null||(_0x37ead1=_0x5993a8['call'](this[_0x4cf8db(0x22c)]))==null?void 0x0:_0x37ead1[_0x4cf8db(0x3c6)](_0x130d50=>_0x130d50[_0x4cf8db(0x1e5)]===_0x31b86a&&_0x130d50[_0x4cf8db(0x47d)]===_0x36e8b1&&_0x130d50[_0x4cf8db(0x3e4)]===_0x24bceb))??null;}[_0x19aaa2(0x6eb)](_0x5400cb){const _0x4657d1=_0x19aaa2;var _0x4ac7ea;let _0x222994=(_0x4ac7ea=this[_0x4657d1(0x22c)])==null?void 0x0:_0x4ac7ea['getOrderedTopLevelDrawings'],_0x3f2199=(_0x222994==null?void 0x0:_0x222994[_0x4657d1(0x273)](this[_0x4657d1(0x22c)]))??[],_0x3f3b3f=new _0x3b8fb7(_0x5400cb['x'],_0x5400cb['y']);for(let _0x5834cb=_0x3f2199[_0x4657d1(0x3b8)]-0x1;_0x5834cb>=0x0;_0x5834cb--){let _0x2dc060=_0x3f2199[_0x5834cb];if(!_0x2dc060||_0x2dc060[_0x4657d1(0x1e5)]!==this[_0x4657d1(0x5c2)]['unitId']||_0x2dc060[_0x4657d1(0x354)]['type']!==_0x2af70c[_0x4657d1(0x1a9)]||_0x2dc060[_0x4657d1(0x2cd)]||!this[_0x4657d1(0x5f6)]['getTable'](_0x2dc060[_0x4657d1(0x1e5)],_0x2dc060[_0x4657d1(0x354)][_0x4657d1(0x546)]))continue;let _0x195082=this[_0x4657d1(0x5c2)][_0x4657d1(0x579)][_0x4657d1(0x293)](_0x50b4f6(_0x2dc060[_0x4657d1(0x1e5)],_0x2dc060[_0x4657d1(0x47d)],_0x2dc060['drawingId']));if(!_0x195082||_0x195082[_0x4657d1(0x5bc)])continue;let _0x3f5aab=this[_0x4657d1(0x2cb)](_0x195082,_0x3f3b3f);if(_0x3f5aab)return{'drawing':_0x2dc060,'object':_0x195082,'trigger':_0x3f5aab};}return null;}[_0x19aaa2(0x2cb)](_0x571200,_0x5813cd){const _0x5dfc0d=_0x19aaa2;var _0x3dfddd;let _0x16eb06=(_0x3dfddd=_0x571200[_0x5dfc0d(0x4f0)])==null?void 0x0:_0x3dfddd[_0x5dfc0d(0x273)](_0x571200,_0x5813cd);return $l(_0x16eb06)?_0x16eb06:null;}[_0x19aaa2(0x211)](){const _0x38cd7a=_0x19aaa2;let _0x3c71ee=this[_0x38cd7a(0x5c2)][_0x38cd7a(0x579)];_0x3c71ee['onPointerDown$']&&this[_0x38cd7a(0x3a8)](_0x3c71ee[_0x38cd7a(0x492)][_0x38cd7a(0x609)]({'priority':nu,'next':([_0x4d4c61,_0x2b8207])=>{const _0x24359c=_0x38cd7a;this[_0x24359c(0x3b9)](_0x4d4c61,_0x2b8207);}}));let _0x348ad8=this[_0x38cd7a(0x22c)][_0x38cd7a(0x492)];if(!_0x348ad8)return;let _0x11e5c9=_0x348ad8[_0x38cd7a(0x67b)](_0x100312=>this[_0x38cd7a(0x713)](_0x100312));this[_0x38cd7a(0x3a8)]({'dispose':()=>_0x11e5c9['unsubscribe']()});}[_0x19aaa2(0x3b9)](_0x3c08d4,_0x3c7c06){const _0x1817c1=_0x19aaa2;let _0x2f7095=_0x3c08d4[_0x1817c1(0x63a)]??0x0;if(_0x2f7095!==0x0&&_0x2f7095!==0x2)return!0x1;let _0x146416=this['_resolvePointerViewportPoint'](_0x3c08d4),_0x4d7fdf=this[_0x1817c1(0x2be)](_0x146416['x'],_0x146416['y']),_0x3b06bd=this[_0x1817c1(0x4ca)]();if(_0x3b06bd&&this[_0x1817c1(0x3b5)](_0x3b06bd[_0x1817c1(0x517)],_0x3b06bd[_0x1817c1(0x729)],_0x3c08d4,_0x3c7c06))return!0x0;if(_0x2f7095===0x0&&!this[_0x1817c1(0x32f)]()){let _0x1903a9=this[_0x1817c1(0x6eb)](_0x4d7fdf);if(_0x1903a9){var _0x277669,_0x225ee1;return _0x3c7c06[_0x1817c1(0x66e)](),_0x3c7c06['skipNextObservers']=!0x0,(_0x277669=_0x3c08d4[_0x1817c1(0x66e)])==null||_0x277669['call'](_0x3c08d4),(_0x225ee1=_0x3c08d4[_0x1817c1(0x521)])==null||_0x225ee1['call'](_0x3c08d4),this[_0x1817c1(0x432)](),this[_0x1817c1(0x3a4)][_0x1817c1(0x714)](),this[_0x1817c1(0x3c1)]={'unitId':_0x1903a9[_0x1817c1(0x517)][_0x1817c1(0x1e5)],'subUnitId':_0x1903a9[_0x1817c1(0x517)][_0x1817c1(0x47d)],'elementId':_0x1903a9[_0x1817c1(0x517)][_0x1817c1(0x3e4)]},this[_0x1817c1(0x710)](_0x1903a9[_0x1817c1(0x517)],_0x1903a9[_0x1817c1(0x729)],_0x1903a9['trigger'],_0x4d7fdf),!0x0;}}let _0x2d0781=this[_0x1817c1(0x4ca)]();if(!_0x2d0781||_0x2d0781[_0x1817c1(0x517)]['element'][_0x1817c1(0x5af)]!==_0x2af70c[_0x1817c1(0x1a9)])return!0x1;let {drawing:_0x530bc4,object:_0x4923e2}=_0x2d0781,_0x32ca96=_0x50b4f6(_0x530bc4[_0x1817c1(0x1e5)],_0x530bc4[_0x1817c1(0x47d)],_0x530bc4[_0x1817c1(0x3e4)]),_0x4236eb=this['_resolveTableControlHit'](_0x530bc4,_0x4923e2,_0x4d7fdf['x'],_0x4d7fdf['y']),_0x311da0=_0x4236eb?null:this['_resolveCellHit'](_0x530bc4,_0x32ca96,_0x4d7fdf['x'],_0x4d7fdf['y']);if(!_0x4236eb&&!_0x311da0)return!0x1;if(!this[_0x1817c1(0x558)](_0x530bc4)){var _0x11bf3e,_0x52ac7c;return this['_drawingStateService'][_0x1817c1(0x705)]({'unitId':_0x530bc4[_0x1817c1(0x1e5)],'subUnitId':_0x530bc4[_0x1817c1(0x47d)]},[_0x530bc4['drawingId']],_0x530bc4['drawingId']),_0x3c7c06['stopPropagation'](),_0x3c7c06['skipNextObservers']=!0x0,(_0x11bf3e=_0x3c08d4[_0x1817c1(0x66e)])==null||_0x11bf3e[_0x1817c1(0x273)](_0x3c08d4),(_0x52ac7c=_0x3c08d4[_0x1817c1(0x521)])==null||_0x52ac7c[_0x1817c1(0x273)](_0x3c08d4),this[_0x1817c1(0x432)](),this[_0x1817c1(0x3a4)][_0x1817c1(0x714)](),this['_lastActiveTableContext']={'unitId':_0x530bc4[_0x1817c1(0x1e5)],'subUnitId':_0x530bc4[_0x1817c1(0x47d)],'elementId':_0x530bc4[_0x1817c1(0x3e4)]},this['_activateTableObject'](_0x4923e2),!0x0;}return this[_0x1817c1(0x51b)](_0x530bc4,_0x32ca96,_0x4923e2,this[_0x1817c1(0x49e)](_0x3c08d4,_0x146416),_0x3c7c06,_0x4236eb),!0x0;}[_0x19aaa2(0x713)](_0x257f42){const _0x206127=_0x19aaa2;let _0x35977d=_0x257f42[_0x206127(0x1db)][_0x206127(0x63a)]??0x0;if(_0x35977d!==0x0&&_0x35977d!==0x2)return;let _0x4e208f=_0x257f42['nativeEvent'];_0x4e208f[_0x206127(0x252)]===void 0x0&&(_0x4e208f[_0x206127(0x252)]=_0x257f42[_0x206127(0x252)]),_0x4e208f[_0x206127(0x1eb)]===void 0x0&&(_0x4e208f['offsetY']=_0x257f42[_0x206127(0x1eb)]);let _0x198856=this['_renderContext']['scene']['getObject'](_0x257f42['oKey']);_0x198856&&(_0x35977d!==0x2||_0x257f42[_0x206127(0x517)]['element'][_0x206127(0x5af)]!==_0x2af70c[_0x206127(0x1a9)]||this[_0x206127(0x32f)]()||this[_0x206127(0x6c3)](_0x257f42[_0x206127(0x517)],_0x257f42[_0x206127(0x411)],_0x198856,_0x4e208f,{'stopPropagation':()=>{const _0x458a8b=_0x206127;var _0x548dc6;return(_0x548dc6=_0x4e208f[_0x458a8b(0x66e)])==null?void 0x0:_0x548dc6['call'](_0x4e208f);},'skipNextObservers':!0x1}));}[_0x19aaa2(0x619)](){const _0x33a096=_0x19aaa2;let _0x38a9a0=this[_0x33a096(0x5c2)]['scene'];if(_0x38a9a0[_0x33a096(0x2a2)]&&this[_0x33a096(0x3a8)](_0x38a9a0[_0x33a096(0x2a2)][_0x33a096(0x609)]({'priority':nu,'next':([_0x56ec3e])=>{const _0xee43fd=_0x33a096;this[_0xee43fd(0x3ad)](_0x56ec3e),this[_0xee43fd(0x212)](_0x56ec3e);}})),_0x38a9a0['addObject$']){let _0x58bb82=_0x38a9a0[_0x33a096(0x1ad)][_0x33a096(0x67b)](()=>this[_0x33a096(0x644)]());this[_0x33a096(0x3a8)]({'dispose':()=>_0x58bb82['unsubscribe']()});}this[_0x33a096(0x644)]();}[_0x19aaa2(0x644)](){const _0x3aabd7=_0x19aaa2;this[_0x3aabd7(0x684)]||(this[_0x3aabd7(0x684)]=!0x0,Promise[_0x3aabd7(0x2fd)]()['then'](()=>{this['_resizeWireScheduled']=!0x1,this['_wireResizeObjects']();}));}[_0x19aaa2(0x2ca)](){const _0x3fe792=_0x19aaa2;let _0x14a7f7=this[_0x3fe792(0x22c)][_0x3fe792(0x3ee)];((_0x14a7f7==null?void 0x0:_0x14a7f7[_0x3fe792(0x273)](this[_0x3fe792(0x22c)]))??[])[_0x3fe792(0x2bf)](_0x38deb4=>{const _0x192a9b=_0x3fe792;if(_0x38deb4[_0x192a9b(0x354)][_0x192a9b(0x5af)]!==_0x2af70c[_0x192a9b(0x1a9)])return;let _0x1a0e14=_0x50b4f6(_0x38deb4[_0x192a9b(0x1e5)],_0x38deb4[_0x192a9b(0x47d)],_0x38deb4['drawingId']),_0x3661c3=this[_0x192a9b(0x5c2)][_0x192a9b(0x579)][_0x192a9b(0x293)](_0x1a0e14);if(!_0x3661c3||_0x3661c3[_0x192a9b(0x5bc)]||(this[_0x192a9b(0x69a)](_0x3661c3),this['_syncTableSelectionToObject'](_0x38deb4,_0x3661c3),this['_wiredResizeObjectRefs'][_0x192a9b(0x417)](_0x1a0e14)===_0x3661c3))return;let _0x129a04=_0x3661c3[_0x192a9b(0x492)]['subscribeEvent']({'priority':nu,'next':([_0x2c1834,_0x5b163d])=>{const _0x35a13b=_0x192a9b;this[_0x35a13b(0x51b)](_0x38deb4,_0x1a0e14,_0x3661c3,_0x2c1834,_0x5b163d);}});this[_0x192a9b(0x3a8)](_0x129a04),this[_0x192a9b(0x1b7)][_0x192a9b(0x690)](_0x1a0e14,_0x3661c3);});}['_handleSceneDoubleClick'](_0x485dd7){const _0x191e18=_0x19aaa2;let _0x20aee9=this[_0x191e18(0x22c)][_0x191e18(0x38e)](_0x485dd7['offsetX'],_0x485dd7[_0x191e18(0x1eb)]);if(!_0x20aee9)return;let _0x5d9426=this[_0x191e18(0x2be)](_0x485dd7[_0x191e18(0x252)],_0x485dd7[_0x191e18(0x1eb)]);this[_0x191e18(0x61a)]({'drawing':_0x20aee9['drawing'],'oKey':_0x20aee9[_0x191e18(0x411)],'offsetX':_0x5d9426['x'],'offsetY':_0x5d9426['y'],'nativeEvent':_0x485dd7});}[_0x19aaa2(0x2be)](_0x5758b1,_0xddf6da){const _0x4976fb=_0x19aaa2;var _0x5b58b4,_0x5b2527,_0x5577ac;let _0x23a3d0=new _0x3b8fb7(_0x5758b1,_0xddf6da),_0x353ff6=this['_renderContext'][_0x4976fb(0x579)],_0x5f52dd=((_0x5b58b4=_0x353ff6[_0x4976fb(0x516)])==null?void 0x0:_0x5b58b4[_0x4976fb(0x273)](_0x353ff6,_0x23a3d0))??((_0x5b2527=_0x353ff6['getViewports'])==null?void 0x0:_0x5b2527['call'](_0x353ff6)[0x0]),_0x370067=(_0x5f52dd==null||(_0x5577ac=_0x5f52dd[_0x4976fb(0x3ef)])==null?void 0x0:_0x5577ac['call'](_0x5f52dd,_0x23a3d0))??_0x23a3d0;return{'x':_0x370067['x'],'y':_0x370067['y']};}['_handleResizeHover'](_0x5e6e26){const _0x58c9c1=_0x19aaa2;if(this['_resizeDragContext'])return;if(this['_isTableTextEditing']()){this['_resetResizeCursor']();return;}let _0x39d9a9=this['_hitTestService'][_0x58c9c1(0x38e)](_0x5e6e26[_0x58c9c1(0x252)],_0x5e6e26[_0x58c9c1(0x1eb)]);if(!_0x39d9a9||_0x39d9a9[_0x58c9c1(0x517)][_0x58c9c1(0x354)]['type']!==_0x2af70c[_0x58c9c1(0x1a9)]){this[_0x58c9c1(0x2d4)]();return;}if(!this['_isTableDrawingActive'](_0x39d9a9['drawing'])){this[_0x58c9c1(0x2d4)]();return;}let _0x3baf52=this[_0x58c9c1(0x5c2)]['scene'][_0x58c9c1(0x293)](_0x39d9a9[_0x58c9c1(0x411)]);if(!_0x3baf52){this[_0x58c9c1(0x2d4)]();return;}let _0x56f878=this['_resolveScenePoint'](_0x5e6e26['offsetX'],_0x5e6e26['offsetY']),_0x23f84b=this[_0x58c9c1(0x414)](_0x39d9a9[_0x58c9c1(0x517)],_0x3baf52,_0x56f878['x'],_0x56f878['y']);if(!_0x23f84b){this['_resetResizeCursor']();return;}this['_setResizeCursor'](_0x23f84b[_0x58c9c1(0x633)][_0x58c9c1(0x474)]);}[_0x19aaa2(0x51b)](_0x441f05,_0x5d7f58,_0x3fe364,_0xb28a79,_0x54ded7,_0x5a5e4a){const _0x349fad=_0x19aaa2;let _0x1c8ccf=_0xb28a79['button']??0x0;if(this[_0x349fad(0x3b5)](_0x441f05,_0x3fe364,_0xb28a79,_0x54ded7)||this[_0x349fad(0x4e8)](_0x441f05,_0x5d7f58,_0x3fe364,_0xb28a79,_0x54ded7,_0x5a5e4a)||this[_0x349fad(0x32b)](_0x441f05,_0x5d7f58,_0x3fe364,_0xb28a79,_0x54ded7)||_0x1c8ccf===0x2&&this[_0x349fad(0x6c3)](_0x441f05,_0x5d7f58,_0x3fe364,_0xb28a79,_0x54ded7)||this[_0x349fad(0x42e)](_0x441f05,_0x5d7f58,_0x3fe364,_0xb28a79,_0x54ded7)||_0x1c8ccf!==0x0||this[_0x349fad(0x32f)]()||!this['_isTableDrawingActive'](_0x441f05))return;let _0x448207=this['_resolveScenePoint'](_0xb28a79[_0x349fad(0x252)],_0xb28a79[_0x349fad(0x1eb)]),_0x2c7b1b=this[_0x349fad(0x65a)](_0x441f05,_0x5d7f58,_0x448207['x'],_0x448207['y']);_0x2c7b1b&&this[_0x349fad(0x4e3)](_0x441f05,_0x5d7f58,_0x3fe364,_0xb28a79,_0x54ded7,_0x2c7b1b);}[_0x19aaa2(0x4e3)](_0x5c936d,_0x241843,_0x29ab85,_0xd49943,_0x8b5de7,_0x59479c){const _0x55ce02=_0x19aaa2;var _0x4a9499,_0x54cec2;if(this[_0x55ce02(0x23f)]===_0x55ce02(0x283)){this['_startStage1TableBodyPointer'](_0x5c936d,_0x29ab85,_0xd49943,_0x8b5de7,_0x59479c);return;}_0x8b5de7[_0x55ce02(0x66e)](),_0x8b5de7[_0x55ce02(0x280)]=!0x0,(_0x4a9499=_0xd49943['stopPropagation'])==null||_0x4a9499[_0x55ce02(0x273)](_0xd49943),(_0x54cec2=_0xd49943[_0x55ce02(0x521)])==null||_0x54cec2[_0x55ce02(0x273)](_0xd49943),this['_hideContextMenu'](),this[_0x55ce02(0x3a4)][_0x55ce02(0x714)](),this[_0x55ce02(0x6c4)](_0x5c936d,_0x29ab85,_0x59479c),this[_0x55ce02(0x621)]={'drawing':_0x5c936d,'objectKey':_0x241843,'object':_0x29ab85,'table':_0x59479c[_0x55ce02(0x283)],'anchor':{'row':_0x59479c[_0x55ce02(0x642)],'column':_0x59479c[_0x55ce02(0x3c4)]},'current':{'row':_0x59479c[_0x55ce02(0x642)],'column':_0x59479c[_0x55ce02(0x3c4)]}},this[_0x55ce02(0x33e)]();}[_0x19aaa2(0x5d0)](_0x2fa2e3,_0x573fb6,_0x4b743f,_0x373f18,_0x309138){const _0x436016=_0x19aaa2;var _0x13b2bf,_0x52f5f5;if((_0x373f18['button']??0x0)!==0x0||this['_isTableTextEditing']())return!0x1;let _0x21e9c7=_0x2fa2e3[_0x436016(0x354)][_0x436016(0x5af)]===_0x2af70c['Table']?this[_0x436016(0x5f6)][_0x436016(0x512)](_0x2fa2e3[_0x436016(0x1e5)],_0x2fa2e3[_0x436016(0x354)][_0x436016(0x546)]):null;return _0x21e9c7?(_0x309138[_0x436016(0x66e)](),_0x309138[_0x436016(0x280)]=!0x0,(_0x13b2bf=_0x373f18['preventDefault'])==null||_0x13b2bf[_0x436016(0x273)](_0x373f18),(_0x52f5f5=_0x373f18[_0x436016(0x66e)])==null||_0x52f5f5[_0x436016(0x273)](_0x373f18),this[_0x436016(0x432)](),this['_rangeDragContext']={'drawing':_0x2fa2e3,'objectKey':_0x573fb6[_0x436016(0x411)],'object':_0x573fb6,'table':_0x21e9c7,'anchor':_0x4b743f,'current':_0x4b743f},this[_0x436016(0x33e)](),!0x0):!0x1;}[_0x19aaa2(0x32b)](_0x270874,_0x397f25,_0x2505f5,_0x47f00f,_0x33ccc8){const _0x54e47e=_0x19aaa2;var _0x41f45d,_0x27c788;if((_0x47f00f['button']??0x0)!==0x0||!this['_isTableTextEditing']()||!this[_0x54e47e(0x558)](_0x270874)||_0x270874[_0x54e47e(0x354)]['type']!==_0x2af70c[_0x54e47e(0x1a9)])return!0x1;let _0x89e29c=this[_0x54e47e(0x2be)](_0x47f00f[_0x54e47e(0x252)],_0x47f00f[_0x54e47e(0x1eb)]),_0x45ec83=this[_0x54e47e(0x65a)](_0x270874,_0x397f25,_0x89e29c['x'],_0x89e29c['y']);if(!_0x45ec83)return!0x1;_0x33ccc8[_0x54e47e(0x66e)](),_0x33ccc8[_0x54e47e(0x280)]=!0x0,this['_hideContextMenu']();let _0x51be6e=this[_0x54e47e(0x4a3)]['getSelection']();return(_0x51be6e==null?void 0x0:_0x51be6e[_0x54e47e(0x3c2)])===_0x54e47e(0x3ea)&&((_0x41f45d=_0x51be6e['focus'])==null?void 0x0:_0x41f45d[_0x54e47e(0x642)])===_0x45ec83[_0x54e47e(0x642)]&&_0x51be6e['focus'][_0x54e47e(0x3c4)]===_0x45ec83['column']||((_0x27c788=_0x2505f5[_0x54e47e(0x634)])==null||_0x27c788[_0x54e47e(0x273)](_0x2505f5,null),this[_0x54e47e(0x59a)](_0x270874,_0x45ec83,{'handoffCurrent':!0x0}),!0x0);}['_handleTableControlPointerDown'](_0x3e8292,_0x1a4d81,_0x3ef03a,_0x233ab3,_0x40f885,_0x14b2a6){const _0x1b7bfd=_0x19aaa2;var _0x36ba99,_0x2f3b6a;if((_0x233ab3[_0x1b7bfd(0x63a)]??0x0)!==0x0||this[_0x1b7bfd(0x32f)]()||_0x3e8292[_0x1b7bfd(0x354)][_0x1b7bfd(0x5af)]!==_0x2af70c['Table'])return!0x1;let _0x35dc0d=this[_0x1b7bfd(0x29d)](_0x233ab3),_0x3cc529=_0x14b2a6??this['_resolveTableControlHit'](_0x3e8292,_0x3ef03a,_0x35dc0d['x'],_0x35dc0d['y']);if(!_0x3cc529)return!0x1;if($l(_0x3cc529)){var _0x48ab49,_0x5958cd;return _0x40f885[_0x1b7bfd(0x66e)](),_0x40f885[_0x1b7bfd(0x280)]=!0x0,(_0x48ab49=_0x233ab3['stopPropagation'])==null||_0x48ab49[_0x1b7bfd(0x273)](_0x233ab3),(_0x5958cd=_0x233ab3['preventDefault'])==null||_0x5958cd['call'](_0x233ab3),this[_0x1b7bfd(0x432)](),this['_editorUIService'][_0x1b7bfd(0x714)](),this[_0x1b7bfd(0x3c1)]={'unitId':_0x3e8292[_0x1b7bfd(0x1e5)],'subUnitId':_0x3e8292[_0x1b7bfd(0x47d)],'elementId':_0x3e8292[_0x1b7bfd(0x3e4)]},this[_0x1b7bfd(0x710)](_0x3e8292,_0x3ef03a,_0x3cc529,_0x35dc0d);}return this[_0x1b7bfd(0x558)](_0x3e8292)?(_0x40f885[_0x1b7bfd(0x66e)](),_0x40f885['skipNextObservers']=!0x0,(_0x36ba99=_0x233ab3[_0x1b7bfd(0x66e)])==null||_0x36ba99[_0x1b7bfd(0x273)](_0x233ab3),(_0x2f3b6a=_0x233ab3[_0x1b7bfd(0x521)])==null||_0x2f3b6a['call'](_0x233ab3),this[_0x1b7bfd(0x432)](),this[_0x1b7bfd(0x3a4)][_0x1b7bfd(0x714)](),_0x3cc529[_0x1b7bfd(0x3c2)]===_0x1b7bfd(0x6d0)||_0x3cc529[_0x1b7bfd(0x3c2)]===_0x1b7bfd(0x51c)?(this['_handleStructuralHeaderPointerDown'](_0x3e8292,_0x3ef03a,_0x3cc529,_0x35dc0d),!0x0):_0x3cc529[_0x1b7bfd(0x3c2)]===_0x1b7bfd(0x683)&&(this[_0x1b7bfd(0x67f)](_0x3e8292,_0x3ef03a,_0x233ab3),!0x0)):!0x1;}[_0x19aaa2(0x6c3)](_0x33ee14,_0x1b6229,_0x514f46,_0x106973,_0x11cfa1){const _0x215aab=_0x19aaa2;if(!this[_0x215aab(0x558)](_0x33ee14)||_0x33ee14[_0x215aab(0x354)][_0x215aab(0x5af)]!==_0x2af70c[_0x215aab(0x1a9)])return!0x1;let _0x4efb7f=this[_0x215aab(0x29d)](_0x106973),_0x99b128=this[_0x215aab(0x65a)](_0x33ee14,_0x1b6229,_0x4efb7f['x'],_0x4efb7f['y']);return _0x99b128?(_0x11cfa1[_0x215aab(0x66e)](),_0x11cfa1[_0x215aab(0x280)]=!0x0,this['_hideContextMenu'](),this[_0x215aab(0x3a4)]['complete'](),this[_0x215aab(0x6c4)](_0x33ee14,_0x514f46,_0x99b128),this['_openContextMenu'](_0x106973,_0x215aab(0x482)),!0x0):!0x1;}[_0x19aaa2(0x53e)](_0x58d1a4,_0x1d638,_0x5d127f,_0x31dac4,_0x52835a){const _0x5a0631=_0x19aaa2;var _0x3449e8;if((_0x31dac4[_0x5a0631(0x63a)]??0x0)!==0x0||this[_0x5a0631(0x32f)]()||!this[_0x5a0631(0x558)](_0x58d1a4))return!0x1;let _0x13df36=this[_0x5a0631(0x2be)](_0x31dac4['offsetX'],_0x31dac4[_0x5a0631(0x1eb)]),_0x9d75e8=this[_0x5a0631(0x414)](_0x58d1a4,_0x5d127f,_0x13df36['x'],_0x13df36['y']);if(!_0x9d75e8||_0x58d1a4[_0x5a0631(0x354)][_0x5a0631(0x5af)]!==_0x2af70c[_0x5a0631(0x1a9)])return!0x1;_0x52835a[_0x5a0631(0x66e)](),_0x52835a[_0x5a0631(0x280)]=!0x0,this['_hideContextMenu'](),this[_0x5a0631(0x3a4)]['complete'](),this[_0x5a0631(0x4af)](_0x5d127f,_0x9d75e8),(_0x3449e8=this[_0x5a0631(0x46c)])==null||_0x3449e8[_0x5a0631(0x3e1)](),this['_resizeDragContext']={'unitId':_0x58d1a4[_0x5a0631(0x1e5)],'tableId':_0x58d1a4['element']['tableId'],'object':_0x5d127f,'table':_0x9d75e8[_0x5a0631(0x283)],'handle':_0x9d75e8['handle'],'startPoint':_0x9d75e8[_0x5a0631(0x29c)],'pendingTable':_0x9d75e8[_0x5a0631(0x283)]},this[_0x5a0631(0x510)](_0x9d75e8[_0x5a0631(0x633)][_0x5a0631(0x474)]);let _0x3d28cd=this[_0x5a0631(0x5c2)][_0x5a0631(0x579)],_0x127307=new _0x2205ec();return this[_0x5a0631(0x46c)]=_0x127307,_0x3d28cd['disableObjectsEvent'](),_0x127307[_0x5a0631(0x651)](_0x48d5d0(()=>{const _0x3fc5db=_0x5a0631;var _0x2d27cb,_0xc5ea4d,_0xab309a;_0x3d28cd[_0x3fc5db(0x615)](),this[_0x3fc5db(0x538)](_0x5d127f),(_0x2d27cb=this['_resizeDragContext'])==null||(_0xab309a=(_0xc5ea4d=_0x2d27cb[_0x3fc5db(0x729)])['setPreviewTable'])==null||_0xab309a[_0x3fc5db(0x273)](_0xc5ea4d,null),this['_resizeDragContext']=null,this[_0x3fc5db(0x2d4)]();})),_0x127307[_0x5a0631(0x651)](_0x3d28cd['onPointerMove$']['subscribeEvent'](_0x52b9e6=>this[_0x5a0631(0x46a)](_0x52b9e6))),_0x127307[_0x5a0631(0x651)](_0x3d28cd[_0x5a0631(0x201)][_0x5a0631(0x609)](_0x3f50b1=>{const _0x4d4929=_0x5a0631;this[_0x4d4929(0x506)](_0x3f50b1),_0x127307[_0x4d4929(0x3e1)]();})),_0x127307[_0x5a0631(0x651)](_0x3d28cd[_0x5a0631(0x3ae)][_0x5a0631(0x609)](()=>_0x127307['dispose']())),!0x0;}[_0x19aaa2(0x414)](_0x25f3c9,_0x2098c7,_0x5ae663,_0x2fdad6){const _0x29efeb=_0x19aaa2;var _0x5a4caf;if(_0x25f3c9[_0x29efeb(0x1e5)]!==this[_0x29efeb(0x5c2)][_0x29efeb(0x1e5)]||_0x25f3c9[_0x29efeb(0x354)][_0x29efeb(0x5af)]!==_0x2af70c[_0x29efeb(0x1a9)]||!this[_0x29efeb(0x558)](_0x25f3c9)||_0x25f3c9[_0x29efeb(0x2cd)]||_0x2098c7[_0x29efeb(0x5bc)])return null;let _0x484bdc=this[_0x29efeb(0x5f6)][_0x29efeb(0x512)](_0x25f3c9['unitId'],_0x25f3c9['element'][_0x29efeb(0x546)]);if(!_0x484bdc)return null;let _0x104cdc=((_0x5a4caf=_0x2098c7[_0x29efeb(0x364)])==null?void 0x0:_0x5a4caf[_0x29efeb(0x273)](_0x2098c7))??_0x484bdc,_0x4a7469=this[_0x29efeb(0x35c)](_0x2098c7,_0x5ae663,_0x2fdad6),_0x5268a1=this[_0x29efeb(0x25d)](_0x104cdc,_0x2098c7,_0x5ae663,_0x2fdad6);return _0x5268a1?{'table':_0x104cdc,'handle':_0x5268a1,'point':_0x4a7469}:null;}['_resolveObjectPoint'](_0x55f17e,_0x5ed52f,_0x44a233){const _0x48268d=_0x19aaa2;let _0x2fbff5=_0x55f17e[_0x48268d(0x47c)](new _0x3b8fb7(_0x5ed52f,_0x44a233));return{'x':_0x2fbff5['x']+_0x55f17e[_0x48268d(0x530)]/0x2,'y':_0x2fbff5['y']+_0x55f17e[_0x48268d(0x1aa)]/0x2};}[_0x19aaa2(0x4e9)](_0x13193f,_0x17886c,_0x529815,_0x484572){const _0x1c1290=_0x19aaa2;if(_0x13193f['element']['type']!==_0x2af70c[_0x1c1290(0x1a9)])return null;let _0x407694=this[_0x1c1290(0x5f6)][_0x1c1290(0x512)](_0x13193f['unitId'],_0x13193f[_0x1c1290(0x354)][_0x1c1290(0x546)]);if(!_0x407694)return null;let _0x2b4368=this['_resolveObjectPoint'](_0x17886c,_0x529815,_0x484572),_0x6ecea7=this['_resolveTableTriggerHit'](_0x407694,_0x17886c,_0x2b4368['x'],_0x2b4368['y']);if(_0x6ecea7&&(_0x6ecea7[_0x1c1290(0x3c2)]===_0x1c1290(0x683)||_0x6ecea7['kind']===_0x1c1290(0x6d0)||_0x6ecea7[_0x1c1290(0x3c2)]===_0x1c1290(0x51c)||_0x6ecea7[_0x1c1290(0x3c2)]===_0x1c1290(0x2e5)||_0x6ecea7[_0x1c1290(0x3c2)]===_0x1c1290(0x5f4)))return _0x6ecea7;let _0x6eaffe=_0x280890(_0x59b2f8(_0x407694),_0x17886c[_0x1c1290(0x530)],_0x17886c[_0x1c1290(0x1aa)])[_0x1c1290(0x1f3)](_0x5b85fd=>_0x5b85fd[_0x1c1290(0x3c2)]===_0x1c1290(0x683));return _0xcc8c0c(_0x6eaffe,_0x2b4368['x'],_0x2b4368['y']);}['_updateTableControlHover'](_0x45c811){const _0x2319f2=_0x19aaa2;if(this[_0x2319f2(0x32f)]()){this[_0x2319f2(0x2c8)]();return;}let _0x32566c=this[_0x2319f2(0x29d)](_0x45c811),_0x4bc9a0=this[_0x2319f2(0x6eb)](_0x32566c);if(_0x4bc9a0){this[_0x2319f2(0x24f)](_0x4bc9a0[_0x2319f2(0x729)]),this[_0x2319f2(0x3d5)]=_0x4bc9a0[_0x2319f2(0x729)],this[_0x2319f2(0x5ef)](_0x4bc9a0[_0x2319f2(0x729)],_0x4bc9a0[_0x2319f2(0x48f)]),this[_0x2319f2(0x497)](_0x4bc9a0[_0x2319f2(0x729)],null),this['_setTableCellHover'](_0x4bc9a0[_0x2319f2(0x729)],null);return;}let _0x5605b0=this[_0x2319f2(0x4ca)]();if(!_0x5605b0){this['_clearTableControlHover']();return;}this['_clearStructuralInsertHoverObject'](_0x5605b0[_0x2319f2(0x729)]);let _0x5a8959=this[_0x2319f2(0x4e9)](_0x5605b0[_0x2319f2(0x517)],_0x5605b0[_0x2319f2(0x729)],_0x32566c['x'],_0x32566c['y']),_0x373055=_0x5a8959&&(_0x5a8959[_0x2319f2(0x3c2)]==='row-header'||_0x5a8959[_0x2319f2(0x3c2)]===_0x2319f2(0x51c)||_0x5a8959[_0x2319f2(0x3c2)]===_0x2319f2(0x2e5)||_0x5a8959[_0x2319f2(0x3c2)]===_0x2319f2(0x5f4))?_0x5a8959:null;this[_0x2319f2(0x5ef)](_0x5605b0[_0x2319f2(0x729)],_0x373055),this[_0x2319f2(0x497)](_0x5605b0[_0x2319f2(0x729)],(_0x5a8959==null?void 0x0:_0x5a8959[_0x2319f2(0x3c2)])===_0x2319f2(0x683)?{'kind':_0x2319f2(0x683)}:null),this[_0x2319f2(0x6d7)](_0x5605b0[_0x2319f2(0x517)],_0x5605b0[_0x2319f2(0x729)],_0x32566c['x'],_0x32566c['y'],!!_0x5a8959);}[_0x19aaa2(0x2c8)](){const _0x3c7c67=_0x19aaa2;this[_0x3c7c67(0x4cb)](!0x1);let _0x2e48e0=this[_0x3c7c67(0x4ca)]();this['_clearStructuralInsertHoverObject']((_0x2e48e0==null?void 0x0:_0x2e48e0[_0x3c7c67(0x729)])??null),_0x2e48e0&&(this[_0x3c7c67(0x5ea)]=null,this[_0x3c7c67(0x71b)](_0x2e48e0[_0x3c7c67(0x729)],null),this[_0x3c7c67(0x497)](_0x2e48e0['object'],null),this[_0x3c7c67(0x4d2)](_0x2e48e0['object'],null));}[_0x19aaa2(0x24f)](_0x815f78=null){const _0x508a6f=_0x19aaa2;let _0x30990e=this['_structuralInsertHoverObject'];_0x30990e&&(this[_0x508a6f(0x3d5)]=null,_0x30990e!==_0x815f78&&(this[_0x508a6f(0x5ea)]=null,this[_0x508a6f(0x71b)](_0x30990e,null),this['_setTableControlHover'](_0x30990e,null),this[_0x508a6f(0x4d2)](_0x30990e,null)));}['_setTableControlHover'](_0xe45f9a,_0x3ee9a2){const _0x4278aa=_0x19aaa2;var _0x713232;if((_0x713232=_0xe45f9a[_0x4278aa(0x2d1)])!=null&&_0x713232[_0x4278aa(0x273)](_0xe45f9a,_0x3ee9a2)){var _0x25d584,_0x30834b;(_0x25d584=(_0x30834b=this[_0x4278aa(0x5c2)][_0x4278aa(0x579)])[_0x4278aa(0x4dc)])==null||_0x25d584['call'](_0x30834b,!0x0);}}[_0x19aaa2(0x6d7)](_0x42256a,_0x691668,_0x4919e9,_0x1166e9,_0x5f4424){const _0x353105=_0x19aaa2;if(_0x5f4424||!this[_0x353105(0x23f)]){this[_0x353105(0x4d2)](_0x691668,null);return;}let _0x35f7be=this['_resolveCellHit'](_0x42256a,_0x50b4f6(_0x42256a[_0x353105(0x1e5)],_0x42256a[_0x353105(0x47d)],_0x42256a['drawingId']),_0x4919e9,_0x1166e9);this['_setTableCellHover']((_0x35f7be==null?void 0x0:_0x35f7be[_0x353105(0x729)])??_0x691668,_0x35f7be?{'row':_0x35f7be[_0x353105(0x1b0)][_0x353105(0x642)],'column':_0x35f7be[_0x353105(0x1b0)][_0x353105(0x3c4)]}:null);}[_0x19aaa2(0x4d2)](_0x4b99d3,_0x57655f){const _0x4e0ce6=_0x19aaa2;var _0x294b23;if((_0x294b23=_0x4b99d3[_0x4e0ce6(0x4be)])!=null&&_0x294b23[_0x4e0ce6(0x273)](_0x4b99d3,_0x57655f)){var _0x1bdacd,_0x1ea487;(_0x1bdacd=(_0x1ea487=this[_0x4e0ce6(0x5c2)][_0x4e0ce6(0x579)])[_0x4e0ce6(0x4dc)])==null||_0x1bdacd[_0x4e0ce6(0x273)](_0x1ea487,!0x0);}}['_buildActiveTableTriggers'](_0x4d4fc7,_0x349b0c){const _0x35defe=_0x19aaa2;var _0x18adb6,_0x138841,_0x27aa75;let _0x2157f4=((_0x18adb6=_0x349b0c['getLayoutTable'])==null?void 0x0:_0x18adb6[_0x35defe(0x273)](_0x349b0c))??_0x4d4fc7,_0x19c7b3=_0x59b2f8(_0x2157f4),_0x5e375d=(_0x138841=(_0x27aa75=this['_renderContext'][_0x35defe(0x579)])[_0x35defe(0x383)])==null?void 0x0:_0x138841[_0x35defe(0x273)](_0x27aa75),_0x4001f3=du((_0x5e375d==null?void 0x0:_0x5e375d['scaleX'])??(_0x5e375d==null?void 0x0:_0x5e375d[_0x35defe(0x70e)]),0x1);return _0x138f5e({'tableId':_0x4d4fc7['id'],'tableWidth':_0x349b0c['width'],'tableHeight':_0x349b0c[_0x35defe(0x1aa)],'rowHeights':mu(_0x2157f4[_0x35defe(0x416)][_0x35defe(0x694)](_0x37793a=>_0x37793a[_0x35defe(0x1aa)]??0x18),_0x349b0c[_0x35defe(0x1aa)]),'columnWidths':mu(_0x2157f4[_0x35defe(0x389)][_0x35defe(0x694)](_0x54c6fc=>_0x54c6fc[_0x35defe(0x530)]),_0x349b0c[_0x35defe(0x530)]),'mergedCells':_0x19c7b3[_0x35defe(0x307)][_0x35defe(0x1f3)](_0x42cdc1=>!_0x42cdc1[_0x35defe(0x332)]&&(_0x42cdc1[_0x35defe(0x33b)]>0x1||_0x42cdc1[_0x35defe(0x6a7)]>0x1))['map'](_0x50a652=>({'startRow':_0x50a652[_0x35defe(0x642)],'endRow':_0x50a652[_0x35defe(0x642)]+_0x50a652[_0x35defe(0x33b)]-0x1,'startColumn':_0x50a652[_0x35defe(0x3c4)],'endColumn':_0x50a652[_0x35defe(0x3c4)]+_0x50a652[_0x35defe(0x6a7)]-0x1})),'zoom':_0x4001f3});}[_0x19aaa2(0x5df)](_0x4931f5,_0x143ab9,_0x4bc68b,_0x484843){const _0x570f60=_0x19aaa2;return _0x394a47(this[_0x570f60(0x6f8)](_0x4931f5,_0x143ab9),_0x4bc68b,_0x484843);}[_0x19aaa2(0x5ef)](_0x472233,_0x340106){const _0x129ea6=_0x19aaa2;let _0x195f2e=_0x340106&&(_0x340106[_0x129ea6(0x3c2)]==='row-header'||_0x340106['kind']===_0x129ea6(0x51c)||_0x340106[_0x129ea6(0x3c2)]===_0x129ea6(0x2e5)||_0x340106['kind']===_0x129ea6(0x5f4))?_0x340106:null;this['_hoveredTrigger']=_0x195f2e;let _0x43121b=_0x195f2e?ru(_0x195f2e):null,_0xbb984b=(_0x195f2e==null?void 0x0:_0x195f2e[_0x129ea6(0x3c2)])===_0x129ea6(0x2e5)&&_0x43121b!==null?{'kind':_0x129ea6(0x642),'index':_0x43121b}:(_0x195f2e==null?void 0x0:_0x195f2e['kind'])===_0x129ea6(0x5f4)&&_0x43121b!==null?{'kind':'column','index':_0x43121b}:null,_0x41b9f9=this[_0x129ea6(0x31e)]?{'kind':this['_headerSelectionDragState'][_0x129ea6(0x3c2)],'start':Math[_0x129ea6(0x1df)](this['_headerSelectionDragState'][_0x129ea6(0x526)],this['_headerSelectionDragState'][_0x129ea6(0x5dc)]),'end':Math['max'](this['_headerSelectionDragState']['anchor'],this[_0x129ea6(0x31e)][_0x129ea6(0x5dc)])}:null,_0x2a0b49=this[_0x129ea6(0x24c)]?{'kind':this['_rowColumnMoveTarget']['kind'],'index':this[_0x129ea6(0x24c)][_0x129ea6(0x454)]}:null,_0x41e5b9=!!_0x195f2e||!!_0x41b9f9||!!_0xbb984b||!!_0x2a0b49;this[_0x129ea6(0x71b)](_0x472233,_0x41e5b9?{'visible':!0x0,'hoveredTrigger':_0x195f2e,'selectedStructuralRange':_0x41b9f9,'insertGuide':_0xbb984b,'reorderGuide':_0x2a0b49}:null),this['_setStructuralCursor'](!!_0x195f2e);}['_setStructuralCursor'](_0x39ecd3){const _0x7f0415=_0x19aaa2;let _0x36ad63=this[_0x7f0415(0x5c2)][_0x7f0415(0x579)];if(_0x39ecd3){this[_0x7f0415(0x446)]=!0x0,_0x36ad63[_0x7f0415(0x50e)](_0x17cdca[_0x7f0415(0x407)]);return;}this[_0x7f0415(0x446)]&&(this['_ownsStructuralCursor']=!0x1,!this[_0x7f0415(0x386)]&&_0x36ad63[_0x7f0415(0x2ec)]()===_0x17cdca[_0x7f0415(0x407)]&&_0x36ad63[_0x7f0415(0x3a1)]());}[_0x19aaa2(0x71b)](_0x344b02,_0x414b80){const _0x189674=_0x19aaa2;var _0x81ec95;if((_0x81ec95=_0x344b02[_0x189674(0x4df)])!=null&&_0x81ec95[_0x189674(0x273)](_0x344b02,_0x414b80)){var _0x19e34a,_0xb5aed4;(_0x19e34a=(_0xb5aed4=this[_0x189674(0x5c2)][_0x189674(0x579)])[_0x189674(0x4dc)])==null||_0x19e34a[_0x189674(0x273)](_0xb5aed4,!0x0);}}[_0x19aaa2(0x20e)](_0x54665b,_0x4e86f7,_0x57b6db,_0x3b17c4){const _0x4840fc=_0x19aaa2;var _0x5b6d7c;if(this[_0x4840fc(0x25a)](),_0x57b6db['kind']===_0x4840fc(0x6d0)&&_0x57b6db[_0x4840fc(0x642)]!==void 0x0){let _0x4770fb=this[_0x4840fc(0x69e)](_0x54665b,'row',_0x57b6db[_0x4840fc(0x642)]);_0x4770fb?this[_0x4840fc(0x43a)]={'drawing':_0x54665b,'object':_0x4e86f7,'kind':_0x4840fc(0x642),'start':_0x4770fb['start'],'end':_0x4770fb[_0x4840fc(0x595)],'startPoint':_0x3b17c4}:(this['_selectRows'](_0x54665b,_0x4e86f7,_0x57b6db[_0x4840fc(0x642)],_0x57b6db[_0x4840fc(0x642)]),this[_0x4840fc(0x31e)]={'drawing':_0x54665b,'object':_0x4e86f7,'kind':_0x4840fc(0x642),'anchor':_0x57b6db[_0x4840fc(0x642)],'current':_0x57b6db[_0x4840fc(0x642)]});}else{if(_0x57b6db[_0x4840fc(0x3c2)]==='column-header'&&_0x57b6db[_0x4840fc(0x3c4)]!==void 0x0){let _0x193573=this[_0x4840fc(0x69e)](_0x54665b,_0x4840fc(0x3c4),_0x57b6db[_0x4840fc(0x3c4)]);_0x193573?this[_0x4840fc(0x43a)]={'drawing':_0x54665b,'object':_0x4e86f7,'kind':_0x4840fc(0x3c4),'start':_0x193573[_0x4840fc(0x622)],'end':_0x193573[_0x4840fc(0x595)],'startPoint':_0x3b17c4}:(this['_selectColumns'](_0x54665b,_0x4e86f7,_0x57b6db[_0x4840fc(0x3c4)],_0x57b6db[_0x4840fc(0x3c4)]),this[_0x4840fc(0x31e)]={'drawing':_0x54665b,'object':_0x4e86f7,'kind':'column','anchor':_0x57b6db[_0x4840fc(0x3c4)],'current':_0x57b6db[_0x4840fc(0x3c4)]});}else return;}this[_0x4840fc(0x71b)](_0x4e86f7,{'visible':!0x0,'hoveredTrigger':_0x57b6db,'selectedStructuralRange':this[_0x4840fc(0x31e)]?{'kind':this[_0x4840fc(0x31e)][_0x4840fc(0x3c2)],'start':this[_0x4840fc(0x31e)][_0x4840fc(0x526)],'end':this['_headerSelectionDragState']['current']}:this[_0x4840fc(0x43a)]?{'kind':this[_0x4840fc(0x43a)][_0x4840fc(0x3c2)],'start':this[_0x4840fc(0x43a)]['start'],'end':this['_pendingHeaderSelection'][_0x4840fc(0x595)]}:null});let _0xff851b=this['_renderContext'][_0x4840fc(0x579)];if(!_0xff851b['onPointerMove$']||!_0xff851b['onPointerUp$'])return;(_0x5b6d7c=_0xff851b[_0x4840fc(0x369)])==null||_0x5b6d7c['call'](_0xff851b);let _0x38bd84=_0xff851b[_0x4840fc(0x2a2)][_0x4840fc(0x609)](_0x12cc91=>this[_0x4840fc(0x69f)](_0x12cc91)),_0x1e5987=_0xff851b[_0x4840fc(0x201)]['subscribeEvent'](()=>this[_0x4840fc(0x25a)](_0x4e86f7));this[_0x4840fc(0x1c3)]=()=>{const _0x171a26=_0x4840fc;var _0x2b6090;_0x38bd84==null||_0x38bd84['unsubscribe'](),_0x1e5987==null||_0x1e5987['unsubscribe'](),(_0x2b6090=_0xff851b['enableObjectsEvent'])==null||_0x2b6090[_0x171a26(0x273)](_0xff851b);},this[_0x4840fc(0x3a8)]({'dispose':()=>_0x38bd84[_0x4840fc(0x531)]()}),this[_0x4840fc(0x3a8)]({'dispose':()=>_0x1e5987['unsubscribe']()});}[_0x19aaa2(0x25a)](_0x4b061d,_0x293843){const _0x47659d=_0x19aaa2;var _0x2e7552,_0x2b1d9d,_0x28c389;let _0x2906ac=this[_0x47659d(0x1c3)];this[_0x47659d(0x1c3)]=null,_0x2906ac==null||_0x2906ac();let _0x95d0b7=_0x4b061d??((_0x2e7552=this[_0x47659d(0x314)])==null?void 0x0:_0x2e7552[_0x47659d(0x729)])??((_0x2b1d9d=this[_0x47659d(0x43a)])==null?void 0x0:_0x2b1d9d[_0x47659d(0x729)])??((_0x28c389=this[_0x47659d(0x31e)])==null?void 0x0:_0x28c389[_0x47659d(0x729)]);(_0x293843==null?void 0x0:_0x293843[_0x47659d(0x6b6)])!==!0x1&&this[_0x47659d(0x6e5)](),this['_headerSelectionDragState']=null,this[_0x47659d(0x43a)]=null,this['_rowColumnMoveState']=null,this['_rowColumnMoveTarget']=null,_0x95d0b7&&this[_0x47659d(0x5ef)](_0x95d0b7,this[_0x47659d(0x5ea)]);}[_0x19aaa2(0x69f)](_0x15b968){const _0x3adba9=_0x19aaa2;let _0x37dc41=this[_0x3adba9(0x43a)],_0x33c3ba=this[_0x3adba9(0x314)];if(_0x37dc41||_0x33c3ba){this[_0x3adba9(0x43c)](_0x15b968);return;}let _0xc51253=this['_headerSelectionDragState'];if(!_0xc51253||_0xc51253[_0x3adba9(0x517)][_0x3adba9(0x354)][_0x3adba9(0x5af)]!==_0x2af70c[_0x3adba9(0x1a9)])return;if(_0x3adba9(0x6ed)in _0x15b968&&_0x15b968[_0x3adba9(0x6ed)]!==void 0x0&&(_0x15b968['buttons']&0x1)!=0x1){this[_0x3adba9(0x25a)](_0xc51253['object']);return;}let _0x2ba1b6=this[_0x3adba9(0x5f6)]['getTable'](_0xc51253[_0x3adba9(0x517)][_0x3adba9(0x1e5)],_0xc51253[_0x3adba9(0x517)]['element']['tableId']);if(!_0x2ba1b6)return;let _0x50112a=this[_0x3adba9(0x29d)](_0x15b968),_0xa3c667=this[_0x3adba9(0x35c)](_0xc51253[_0x3adba9(0x729)],_0x50112a['x'],_0x50112a['y']),_0x2fc715=_0x1b7099(this[_0x3adba9(0x6f8)](_0x2ba1b6,_0xc51253[_0x3adba9(0x729)]),_0xa3c667['x'],_0xa3c667['y']);if(_0x2fc715){if(_0xc51253['kind']===_0x3adba9(0x642)&&_0x2fc715['kind']===_0x3adba9(0x6d0)&&_0x2fc715[_0x3adba9(0x642)]!==void 0x0)_0xc51253[_0x3adba9(0x5dc)]=_0x2fc715['row'],this['_selectRows'](_0xc51253['drawing'],_0xc51253[_0x3adba9(0x729)],_0xc51253['anchor'],_0x2fc715[_0x3adba9(0x642)]);else{if(_0xc51253[_0x3adba9(0x3c2)]==='column'&&_0x2fc715['kind']===_0x3adba9(0x51c)&&_0x2fc715['column']!==void 0x0)_0xc51253['current']=_0x2fc715['column'],this['_selectColumns'](_0xc51253['drawing'],_0xc51253[_0x3adba9(0x729)],_0xc51253[_0x3adba9(0x526)],_0x2fc715['column']);else return;}this[_0x3adba9(0x71b)](_0xc51253[_0x3adba9(0x729)],{'visible':!0x0,'hoveredTrigger':_0x2fc715,'selectedStructuralRange':{'kind':_0xc51253[_0x3adba9(0x3c2)],'start':Math['min'](_0xc51253[_0x3adba9(0x526)],_0xc51253['current']),'end':Math[_0x3adba9(0x6f0)](_0xc51253[_0x3adba9(0x526)],_0xc51253[_0x3adba9(0x5dc)])}});}}[_0x19aaa2(0x43c)](_0xa0b6a4){const _0x28eeef=_0x19aaa2;let _0x3f39d9=this[_0x28eeef(0x43a)],_0x58b28a=this[_0x28eeef(0x314)],_0x1d2096=_0x58b28a??_0x3f39d9;if(!_0x1d2096||_0x1d2096[_0x28eeef(0x517)][_0x28eeef(0x354)]['type']!==_0x2af70c[_0x28eeef(0x1a9)])return;if(_0x28eeef(0x6ed)in _0xa0b6a4&&_0xa0b6a4[_0x28eeef(0x6ed)]!==void 0x0&&(_0xa0b6a4['buttons']&0x1)!=0x1){this[_0x28eeef(0x25a)](_0x1d2096[_0x28eeef(0x729)],{'commitMove':!0x1});return;}let _0x29d63e=this['_resolvePointerScenePoint'](_0xa0b6a4);if(!_0x58b28a&&_0x3f39d9){let _0x1b8923=_0x29d63e['x']-_0x3f39d9[_0x28eeef(0x629)]['x'],_0x27bbdb=_0x29d63e['y']-_0x3f39d9['startPoint']['y'];if(Math['hypot'](_0x1b8923,_0x27bbdb)<0x8)return;this[_0x28eeef(0x314)]={'drawing':_0x3f39d9['drawing'],'object':_0x3f39d9['object'],'kind':_0x3f39d9[_0x28eeef(0x3c2)],'start':_0x3f39d9[_0x28eeef(0x622)],'end':_0x3f39d9[_0x28eeef(0x595)]},this[_0x28eeef(0x43a)]=null;}let _0x511fb3=this[_0x28eeef(0x314)];if(!_0x511fb3||_0x511fb3[_0x28eeef(0x517)][_0x28eeef(0x354)]['type']!==_0x2af70c[_0x28eeef(0x1a9)])return;let _0x27353f=this['_tableResourceService'][_0x28eeef(0x512)](_0x511fb3[_0x28eeef(0x517)][_0x28eeef(0x1e5)],_0x511fb3['drawing'][_0x28eeef(0x354)][_0x28eeef(0x546)]);if(!_0x27353f){this[_0x28eeef(0x24c)]=null,this[_0x28eeef(0x71b)](_0x511fb3[_0x28eeef(0x729)],null);return;}let _0x3e161b=this['_resolveRowColumnMoveTarget'](_0x27353f,_0x511fb3['object'],_0x511fb3[_0x28eeef(0x3c2)],_0x29d63e),_0x2d8019=!!_0x3e161b&&(_0x3e161b[_0x28eeef(0x3c2)]===_0x28eeef(0x642)?_0x10888a(_0x27353f,{'startRow':_0x511fb3[_0x28eeef(0x622)],'endRow':_0x511fb3[_0x28eeef(0x595)]},{'row':_0x3e161b[_0x28eeef(0x447)],'position':_0x3e161b['position']}):_0x26eff4(_0x27353f,{'startColumn':_0x511fb3[_0x28eeef(0x622)],'endColumn':_0x511fb3['end']},{'column':_0x3e161b[_0x28eeef(0x244)],'position':_0x3e161b[_0x28eeef(0x4b2)]}));this[_0x28eeef(0x24c)]=_0x2d8019?_0x3e161b:null,this['_setTableControlState'](_0x511fb3[_0x28eeef(0x729)],_0x2d8019&&_0x3e161b?{'visible':!0x0,'selectedStructuralRange':{'kind':_0x511fb3[_0x28eeef(0x3c2)],'start':_0x511fb3[_0x28eeef(0x622)],'end':_0x511fb3[_0x28eeef(0x595)]},'reorderGuide':{'kind':_0x3e161b[_0x28eeef(0x3c2)],'index':_0x3e161b['guideIndex']}}:null);}[_0x19aaa2(0x6e5)](){const _0x41057f=_0x19aaa2;let _0x1fddf4=this[_0x41057f(0x314)],_0x58dbfe=this[_0x41057f(0x24c)];_0x1fddf4&&_0x58dbfe&&_0x1fddf4[_0x41057f(0x517)]['element']['type']===_0x2af70c[_0x41057f(0x1a9)]&&(_0x1fddf4[_0x41057f(0x3c2)]===_0x41057f(0x642)&&_0x58dbfe['kind']===_0x41057f(0x642)?this['_commandService'][_0x41057f(0x567)](_0xb37f51['id'],{'unitId':_0x1fddf4[_0x41057f(0x517)][_0x41057f(0x1e5)],'tableId':_0x1fddf4['drawing'][_0x41057f(0x354)]['tableId'],'startRow':_0x1fddf4['start'],'endRow':_0x1fddf4['end'],'targetRow':_0x58dbfe[_0x41057f(0x447)],'position':_0x58dbfe[_0x41057f(0x4b2)]}):_0x1fddf4['kind']===_0x41057f(0x3c4)&&_0x58dbfe[_0x41057f(0x3c2)]===_0x41057f(0x3c4)&&this[_0x41057f(0x1f0)][_0x41057f(0x567)](_0x272868['id'],{'unitId':_0x1fddf4[_0x41057f(0x517)][_0x41057f(0x1e5)],'tableId':_0x1fddf4[_0x41057f(0x517)][_0x41057f(0x354)][_0x41057f(0x546)],'startColumn':_0x1fddf4['start'],'endColumn':_0x1fddf4[_0x41057f(0x595)],'targetColumn':_0x58dbfe[_0x41057f(0x244)],'position':_0x58dbfe[_0x41057f(0x4b2)]}));}[_0x19aaa2(0x69e)](_0x2fba4d,_0x41035c,_0x196593){const _0x58f49f=_0x19aaa2;if(_0x2fba4d[_0x58f49f(0x354)]['type']!==_0x2af70c[_0x58f49f(0x1a9)])return null;let _0x2c3ba1=this[_0x58f49f(0x4a3)]['getSelection']();if(!_0x2c3ba1||_0x2c3ba1[_0x58f49f(0x3c2)]!==_0x41035c||_0x2c3ba1['unitId']!==_0x2fba4d[_0x58f49f(0x1e5)]||_0x2c3ba1['subUnitId']!==_0x2fba4d['subUnitId']||_0x2c3ba1['elementId']!==_0x2fba4d[_0x58f49f(0x3e4)]||_0x2c3ba1['tableId']!==_0x2fba4d[_0x58f49f(0x354)][_0x58f49f(0x546)])return null;for(let _0x32c236 of _0x2c3ba1[_0x58f49f(0x568)]){let _0xc3117c=_0x41035c===_0x58f49f(0x642)?Math[_0x58f49f(0x1df)](_0x32c236[_0x58f49f(0x544)],_0x32c236[_0x58f49f(0x3cd)]):Math[_0x58f49f(0x1df)](_0x32c236[_0x58f49f(0x2f4)],_0x32c236['endColumn']),_0x3b088d=_0x41035c==='row'?Math['max'](_0x32c236['startRow'],_0x32c236[_0x58f49f(0x3cd)]):Math[_0x58f49f(0x6f0)](_0x32c236[_0x58f49f(0x2f4)],_0x32c236[_0x58f49f(0x434)]);if(_0x196593>=_0xc3117c&&_0x196593<=_0x3b088d)return{'start':_0xc3117c,'end':_0x3b088d};}return null;}[_0x19aaa2(0x1d9)](_0x49446d,_0x2e1d6c,_0x448335,_0x1726f7){const _0x243218=_0x19aaa2;var _0x561c42;let _0x686ffc=((_0x561c42=_0x2e1d6c['getLayoutTable'])==null?void 0x0:_0x561c42[_0x243218(0x273)](_0x2e1d6c))??_0x49446d,_0x65eb67=this['_resolveObjectPoint'](_0x2e1d6c,_0x1726f7['x'],_0x1726f7['y']),_0x3c297f=_0x448335===_0x243218(0x642)?mu(_0x686ffc[_0x243218(0x416)][_0x243218(0x694)](_0xc122ad=>_0xc122ad[_0x243218(0x1aa)]??0x18),_0x2e1d6c[_0x243218(0x1aa)]):mu(_0x686ffc[_0x243218(0x389)]['map'](_0x32165c=>_0x32165c[_0x243218(0x530)]),_0x2e1d6c[_0x243218(0x530)]);if(_0x3c297f[_0x243218(0x3b8)]===0x0)return null;let _0x40eb97=hu(_0x3c297f,_0x448335===_0x243218(0x642)?_0x65eb67['y']:_0x65eb67['x']),_0xf5a4f1=_0x40eb97<=0x0?0x0:_0x40eb97>=_0x3c297f['length']?_0x3c297f[_0x243218(0x3b8)]-0x1:_0x40eb97,_0x4e926c=_0x40eb97<=0x0?'before':_0x40eb97>=_0x3c297f[_0x243218(0x3b8)]?_0x243218(0x3dd):_0x243218(0x420);return _0x448335==='row'?{'kind':_0x448335,'targetRow':_0xf5a4f1,'position':_0x4e926c,'guideIndex':_0x40eb97}:{'kind':_0x448335,'targetColumn':_0xf5a4f1,'position':_0x4e926c,'guideIndex':_0x40eb97};}[_0x19aaa2(0x710)](_0x573663,_0x210de4,_0x56345f,_0x1443ba){const _0x439c19=_0x19aaa2;var _0xb534e4;if(_0x573663[_0x439c19(0x354)]['type']!==_0x2af70c[_0x439c19(0x1a9)])return!0x1;let _0x1c1f24=ru(_0x56345f),_0x3efa9e=!0x1;if(_0x56345f[_0x439c19(0x3c2)]===_0x439c19(0x2e5)&&_0x1c1f24!==null?_0x3efa9e=!!this[_0x439c19(0x1f0)][_0x439c19(0x567)](_0x24d407['id'],{'unitId':_0x573663[_0x439c19(0x1e5)],'subUnitId':_0x573663[_0x439c19(0x47d)],'elementId':_0x573663['drawingId'],'tableId':_0x573663['element'][_0x439c19(0x546)],'rowIndex':_0x1c1f24,'count':0x1}):_0x56345f[_0x439c19(0x3c2)]===_0x439c19(0x5f4)&&_0x1c1f24!==null&&(_0x3efa9e=!!this[_0x439c19(0x1f0)]['executeCommand'](_0x4ead81['id'],{'unitId':_0x573663[_0x439c19(0x1e5)],'subUnitId':_0x573663[_0x439c19(0x47d)],'elementId':_0x573663['drawingId'],'tableId':_0x573663[_0x439c19(0x354)][_0x439c19(0x546)],'columnIndex':_0x1c1f24,'count':0x1})),!_0x3efa9e)return!0x1;let _0x27d323=this[_0x439c19(0x5f6)][_0x439c19(0x512)](_0x573663[_0x439c19(0x1e5)],_0x573663['element'][_0x439c19(0x546)]);(_0xb534e4=_0x210de4[_0x439c19(0x32d)])==null||_0xb534e4['call'](_0x210de4,_0x27d323);let _0x1fdc62=eu((_0x1443ba?this['_resolveInsertDotTriggerForObject'](_0x210de4,new _0x3b8fb7(_0x1443ba['x'],_0x1443ba['y'])):null)??_0x56345f);return this[_0x439c19(0x3d5)]=_0x210de4,this[_0x439c19(0x71b)](_0x210de4,_0x1fdc62),this['_setTableControlHover'](_0x210de4,null),this[_0x439c19(0x4d2)](_0x210de4,null),!0x0;}[_0x19aaa2(0x4ca)](){const _0x5a7f53=_0x19aaa2;var _0x4fc039,_0x386a3c;let _0x1b53c7=(_0x4fc039=(_0x386a3c=this[_0x5a7f53(0x4f5)])[_0x5a7f53(0x49d)])==null?void 0x0:_0x4fc039['call'](_0x386a3c),_0x4232fa=this['_tableSelectionService'][_0x5a7f53(0x25c)](),_0x52fa05=(_0x1b53c7==null?void 0x0:_0x1b53c7[_0x5a7f53(0x25e)])??(_0x4232fa?{'unitId':_0x4232fa[_0x5a7f53(0x1e5)],'subUnitId':_0x4232fa[_0x5a7f53(0x47d)]}:null),_0x1fece8=(_0x1b53c7==null?void 0x0:_0x1b53c7[_0x5a7f53(0x305)][_0x5a7f53(0x3b8)])===0x1?_0x1b53c7['selectedIds'][0x0]:_0x4232fa==null?void 0x0:_0x4232fa[_0x5a7f53(0x235)];return!_0x52fa05||!_0x1fece8?this[_0x5a7f53(0x6ad)](this[_0x5a7f53(0x3c1)]):this[_0x5a7f53(0x6ad)]({..._0x52fa05,'elementId':_0x1fece8})??this[_0x5a7f53(0x6ad)](this[_0x5a7f53(0x3c1)]);}[_0x19aaa2(0x6ad)](_0x5cb178){const _0x400453=_0x19aaa2;if(!_0x5cb178)return null;let _0x311a13=this[_0x400453(0x3b4)](_0x5cb178[_0x400453(0x1e5)],_0x5cb178[_0x400453(0x47d)],_0x5cb178[_0x400453(0x235)]);if(!_0x311a13||_0x311a13[_0x400453(0x354)][_0x400453(0x5af)]!==_0x2af70c['Table'])return null;let _0x29ea64=this[_0x400453(0x5f6)]['getTable'](_0x311a13[_0x400453(0x1e5)],_0x311a13[_0x400453(0x354)]['tableId']);if(!_0x29ea64)return null;let _0x5b905b=this[_0x400453(0x5c2)]['scene'][_0x400453(0x293)](_0x50b4f6(_0x5cb178[_0x400453(0x1e5)],_0x5cb178[_0x400453(0x47d)],_0x5cb178[_0x400453(0x235)]));return _0x5b905b?{'drawing':_0x311a13,'object':_0x5b905b,'table':_0x29ea64}:null;}['_openContextMenu'](_0x55a569,_0x1ba260){const _0x26a78c=_0x19aaa2;var _0xf476f5;let _0x29252f=this[_0x26a78c(0x515)](_0x55a569);(_0xf476f5=_0x29252f[_0x26a78c(0x521)])==null||_0xf476f5['call'](_0x29252f),this['_contextMenuService'][_0x26a78c(0x675)](_0x29252f,_0x1ba260);}[_0x19aaa2(0x515)](_0x5f12a5){const _0x2fdd95=_0x19aaa2;var _0xf33391,_0x36d074,_0x5d8bfb;let _0x35fa29=_0x5f12a5;if(Du(_0x35fa29[_0x2fdd95(0x69d)])&&Du(_0x35fa29[_0x2fdd95(0x5d8)]))return{..._0x35fa29,'clientX':_0x35fa29[_0x2fdd95(0x69d)],'clientY':_0x35fa29[_0x2fdd95(0x5d8)],'preventDefault':()=>{const _0x3199fb=_0x2fdd95;var _0x423d98;return(_0x423d98=_0x35fa29[_0x3199fb(0x521)])==null?void 0x0:_0x423d98[_0x3199fb(0x273)](_0x35fa29);},'stopPropagation':()=>{const _0x56707b=_0x2fdd95;var _0x1e6c4e;return(_0x1e6c4e=_0x35fa29[_0x56707b(0x66e)])==null?void 0x0:_0x1e6c4e[_0x56707b(0x273)](_0x35fa29);}};let _0x4c2eef=(_0xf33391=this[_0x2fdd95(0x5c2)][_0x2fdd95(0x54e)])==null||(_0x36d074=_0xf33391['getCanvasElement'])==null||(_0x36d074=_0x36d074[_0x2fdd95(0x273)](_0xf33391))==null||(_0x5d8bfb=_0x36d074[_0x2fdd95(0x370)])==null?void 0x0:_0x5d8bfb[_0x2fdd95(0x273)](_0x36d074),_0x283178=((_0x4c2eef==null?void 0x0:_0x4c2eef['left'])??0x0)+(_0x5f12a5[_0x2fdd95(0x252)]??0x0),_0x31efc2=((_0x4c2eef==null?void 0x0:_0x4c2eef[_0x2fdd95(0x573)])??0x0)+(_0x5f12a5[_0x2fdd95(0x1eb)]??0x0);return{..._0x35fa29,'clientX':_0x283178,'clientY':_0x31efc2,'preventDefault':()=>{const _0x227591=_0x2fdd95;var _0x18cff5;return(_0x18cff5=_0x35fa29['preventDefault'])==null?void 0x0:_0x18cff5[_0x227591(0x273)](_0x35fa29);},'stopPropagation':()=>{const _0x12ab76=_0x2fdd95;var _0x1f34a8;return(_0x1f34a8=_0x35fa29[_0x12ab76(0x66e)])==null?void 0x0:_0x1f34a8[_0x12ab76(0x273)](_0x35fa29);}};}[_0x19aaa2(0x432)](){const _0x5c1430=_0x19aaa2;var _0x301f17,_0x3c2a22;(_0x301f17=this['_contextMenuService'])==null||(_0x3c2a22=_0x301f17[_0x5c1430(0x5bd)])==null||_0x3c2a22[_0x5c1430(0x273)](_0x301f17);}[_0x19aaa2(0x6ca)](_0x2d5952,_0x27c55e,_0x2bc17b,_0x52588b,_0x3669b6){const _0x2bd036=_0x19aaa2;var _0x27978a,_0x2e8917;this[_0x2bd036(0x572)]({'focusCell':!0x1}),_0x52588b[_0x2bd036(0x66e)](),_0x52588b['skipNextObservers']=!0x0,(_0x27978a=_0x2bc17b[_0x2bd036(0x66e)])==null||_0x27978a[_0x2bd036(0x273)](_0x2bc17b),(_0x2e8917=_0x2bc17b[_0x2bd036(0x521)])==null||_0x2e8917[_0x2bd036(0x273)](_0x2bc17b),this[_0x2bd036(0x432)](),this['_editorUIService'][_0x2bd036(0x714)]();let _0x2b4d22=this[_0x2bd036(0x5c2)][_0x2bd036(0x579)],_0x4137ed=new _0x2205ec(),_0x5a399f=typeof window>'u'?null:window,_0x28e35c=_0x39ab94=>this[_0x2bd036(0x580)](_0x39ab94),_0x54752c=()=>this['_finishPendingStage1TableDrag']({'focusCell':!0x0}),_0x1e2ef0=()=>this[_0x2bd036(0x572)]({'focusCell':!0x1});this[_0x2bd036(0x306)]={'drawing':_0x2d5952,'object':_0x27c55e,'resolved':_0x3669b6,'startEvent':_0x2bc17b,'startPoint':this['_resolvePointerScenePoint'](_0x2bc17b),'cleanup':()=>_0x4137ed[_0x2bd036(0x3e1)]()},_0x4137ed[_0x2bd036(0x651)](_0x2b4d22[_0x2bd036(0x2a2)][_0x2bd036(0x609)](_0x28e35c)),_0x4137ed[_0x2bd036(0x651)](_0x2b4d22[_0x2bd036(0x201)]['subscribeEvent'](_0x54752c)),_0x2b4d22[_0x2bd036(0x3ae)]&&_0x4137ed[_0x2bd036(0x651)](_0x2b4d22['onPointerCancel$'][_0x2bd036(0x609)](_0x1e2ef0)),_0x5a399f==null||_0x5a399f['addEventListener'](_0x2bd036(0x1c8),_0x54752c,{'once':!0x0}),_0x5a399f==null||_0x5a399f[_0x2bd036(0x37a)](_0x2bd036(0x3f8),_0x1e2ef0,{'once':!0x0}),_0x4137ed[_0x2bd036(0x651)](_0x48d5d0(()=>{const _0x1c62e4=_0x2bd036;_0x5a399f==null||_0x5a399f['removeEventListener']('pointerup',_0x54752c),_0x5a399f==null||_0x5a399f[_0x1c62e4(0x720)](_0x1c62e4(0x3f8),_0x1e2ef0);})),this[_0x2bd036(0x6d2)](_0x2d5952,_0x27c55e,_0x2bc17b,_0x52588b,_0x4137ed);}[_0x19aaa2(0x580)](_0x404809){const _0x56fd98=_0x19aaa2;let _0x21f790=this['_pendingStage1TableDragContext'];if(!_0x21f790)return;if(_0x56fd98(0x6ed)in _0x404809&&_0x404809['buttons']!==void 0x0&&(_0x404809[_0x56fd98(0x6ed)]&0x1)!=0x1){this['_finishPendingStage1TableDrag']({'focusCell':!0x0});return;}let _0x2f4fb5=this[_0x56fd98(0x29d)](_0x404809),_0x559bb9=_0x2f4fb5['x']-_0x21f790[_0x56fd98(0x629)]['x'],_0x22dfef=_0x2f4fb5['y']-_0x21f790[_0x56fd98(0x629)]['y'],_0x22a6d3=this[_0x56fd98(0x2c7)]();Math[_0x56fd98(0x48e)](_0x559bb9,_0x22dfef)*_0x22a6d3<0x8||(this[_0x56fd98(0x572)]({'focusCell':!0x1}),this[_0x56fd98(0x67f)](_0x21f790[_0x56fd98(0x517)],_0x21f790['object'],_0x21f790[_0x56fd98(0x36e)]),this[_0x56fd98(0x5d1)](_0x404809));}[_0x19aaa2(0x572)](_0x49a91d){const _0x3e130c=_0x19aaa2;let _0x279228=this[_0x3e130c(0x306)];_0x279228&&(this['_pendingStage1TableDragContext']=null,_0x279228[_0x3e130c(0x4ba)](),_0x49a91d[_0x3e130c(0x708)]&&this[_0x3e130c(0x6c4)](_0x279228[_0x3e130c(0x517)],_0x279228[_0x3e130c(0x729)],_0x279228[_0x3e130c(0x263)]));}[_0x19aaa2(0x67f)](_0x386814,_0x24cdb0,_0x248e7a){const _0x117451=_0x19aaa2;this[_0x117451(0x2c3)]();let _0x13991d=new _0x2205ec(),_0x2f4bec=this[_0x117451(0x29d)](_0x248e7a),_0x213ee7=lu(this[_0x117451(0x5c7)](_0x386814),_0x24cdb0);this[_0x117451(0x575)]={'drawing':_0x386814,'object':_0x24cdb0,'activationStage':this[_0x117451(0x23f)],'startEvent':_0x248e7a,'startPoint':_0x2f4bec,'lastPoint':_0x2f4bec,'startObjectLeft':_0x24cdb0['left'],'startObjectTop':_0x24cdb0[_0x117451(0x573)],'startTransform':_0x213ee7,'moved':!0x1,'clickFallbackTimer':null,'cleanup':()=>_0x13991d['dispose']()},this[_0x117451(0x1e4)]['start'](this[_0x117451(0x5c2)]['unitId'],new Map([[_0x24cdb0[_0x117451(0x411)],_0x24cdb0]]));let _0x31fcfb=this[_0x117451(0x5c2)]['scene'];_0x31fcfb[_0x117451(0x369)]();let _0x5a3c3f=typeof window>'u'?null:window,_0x4dbac0=_0x1e93eb=>this[_0x117451(0x471)](_0x1e93eb),_0x16b5ae=()=>this[_0x117451(0x2c3)]();_0x13991d[_0x117451(0x651)](_0x31fcfb['onPointerMove$'][_0x117451(0x609)](_0xe732b3=>this[_0x117451(0x5d1)](_0xe732b3))),_0x13991d[_0x117451(0x651)](_0x31fcfb['onPointerUp$']['subscribeEvent'](_0x4dbac0)),_0x31fcfb[_0x117451(0x3ae)]&&_0x13991d[_0x117451(0x651)](_0x31fcfb[_0x117451(0x3ae)]['subscribeEvent'](_0x16b5ae)),_0x5a3c3f==null||_0x5a3c3f[_0x117451(0x37a)]('pointerup',_0x4dbac0,{'once':!0x0}),_0x5a3c3f==null||_0x5a3c3f[_0x117451(0x37a)](_0x117451(0x3f8),_0x16b5ae,{'once':!0x0}),_0x13991d[_0x117451(0x651)](_0x48d5d0(()=>{const _0x141a09=_0x117451;_0x31fcfb[_0x141a09(0x615)](),_0x5a3c3f==null||_0x5a3c3f[_0x141a09(0x720)](_0x141a09(0x1c8),_0x4dbac0),_0x5a3c3f==null||_0x5a3c3f[_0x141a09(0x720)]('pointercancel',_0x16b5ae);})),this[_0x117451(0x575)]['clickFallbackTimer']=setTimeout(_0x4dbac0,0xb4);}[_0x19aaa2(0x5c7)](_0x38b1d9){const _0x2202c3=_0x19aaa2;return this[_0x2202c3(0x479)][_0x2202c3(0x511)]({'unitId':_0x38b1d9[_0x2202c3(0x1e5)],'subUnitId':_0x38b1d9[_0x2202c3(0x47d)],'drawingId':_0x38b1d9[_0x2202c3(0x3e4)]})??_0x38b1d9;}['_updateTableMoveDrag'](_0x353086){const _0x33cd1a=_0x19aaa2;var _0x1e54ce,_0x2e1889;let _0x5ea69f=this[_0x33cd1a(0x575)];if(!_0x5ea69f)return;let _0x39a88e=this[_0x33cd1a(0x29d)](_0x353086),_0x9c8b64=_0x39a88e['x']-_0x5ea69f[_0x33cd1a(0x629)]['x'],_0x2db4f3=_0x39a88e['y']-_0x5ea69f['startPoint']['y'],_0x1ea0be=this['_getMoveGestureScale']();if(!_0x5ea69f[_0x33cd1a(0x470)]&&Math[_0x33cd1a(0x48e)](_0x9c8b64,_0x2db4f3)*_0x1ea0be<0x8)return;_0x5ea69f[_0x33cd1a(0x470)]||(_0x5ea69f[_0x33cd1a(0x2c0)]&&=(clearTimeout(_0x5ea69f[_0x33cd1a(0x2c0)]),null),this[_0x33cd1a(0x432)]());let _0x43e015=_0x39a88e['x']-_0x5ea69f[_0x33cd1a(0x3b7)]['x'],_0x2c8ce4=_0x39a88e['y']-_0x5ea69f[_0x33cd1a(0x3b7)]['y'],_0x2eea8f=_0x5ea69f['object'];_0x2eea8f[_0x33cd1a(0x24b)](_0x2eea8f[_0x33cd1a(0x374)]+_0x43e015,_0x2eea8f[_0x33cd1a(0x573)]+_0x2c8ce4),_0x2eea8f['makeDirty'](!0x0),_0x5ea69f['activationStage']===_0x33cd1a(0x283)&&this['_syncTableMoveTransformerControls'](_0x5ea69f[_0x33cd1a(0x729)]),_0x5ea69f['moved']=!0x0,_0x5ea69f[_0x33cd1a(0x3b7)]=_0x39a88e,this[_0x33cd1a(0x1e4)][_0x33cd1a(0x2fb)](this[_0x33cd1a(0x5c2)][_0x33cd1a(0x1e5)],new Map([[_0x5ea69f[_0x33cd1a(0x729)]['oKey'],_0x5ea69f[_0x33cd1a(0x729)]]])),this[_0x33cd1a(0x479)][_0x33cd1a(0x1e6)]([{...this['_resolveCurrentTableDrawing'](_0x5ea69f[_0x33cd1a(0x517)]),'transform':{..._0x5ea69f[_0x33cd1a(0x1a6)],'left':(_0x5ea69f[_0x33cd1a(0x1a6)]['left']??0x0)+_0x2eea8f[_0x33cd1a(0x374)]-_0x5ea69f[_0x33cd1a(0x60e)],'top':(_0x5ea69f[_0x33cd1a(0x1a6)][_0x33cd1a(0x573)]??0x0)+_0x2eea8f[_0x33cd1a(0x573)]-_0x5ea69f[_0x33cd1a(0x349)]}}]),(_0x1e54ce=(_0x2e1889=this[_0x33cd1a(0x5c2)][_0x33cd1a(0x579)])[_0x33cd1a(0x4dc)])==null||_0x1e54ce[_0x33cd1a(0x273)](_0x2e1889,!0x0);}[_0x19aaa2(0x1e8)](_0xaf250a){const _0x118119=_0x19aaa2;var _0x123fb5,_0x38f187,_0x26d003,_0x239d5b;let _0x222ca7=(_0x123fb5=(_0x38f187=this[_0x118119(0x5c2)][_0x118119(0x579)])[_0x118119(0x42f)])==null?void 0x0:_0x123fb5[_0x118119(0x273)](_0x38f187);if(!_0x222ca7||_0xaf250a[_0x118119(0x5bc)])return;let _0x1567d1=_0x222ca7,_0x4c30de=(_0x26d003=_0x1567d1[_0x118119(0x5b9)])==null?void 0x0:_0x26d003[_0x118119(0x273)](_0x1567d1);if(_0x4c30de&&!_0x4c30de['has'](_0xaf250a[_0x118119(0x411)])){var _0x25d2da;(_0x25d2da=_0x1567d1[_0x118119(0x624)])==null||_0x25d2da['call'](_0x1567d1,_0xaf250a);}(_0x239d5b=_0x1567d1[_0x118119(0x271)])==null||_0x239d5b[_0x118119(0x273)](_0x1567d1);}[_0x19aaa2(0x471)](_0x2ab79){const _0x1f8c25=_0x19aaa2;_0x2ab79&&this[_0x1f8c25(0x5d1)](_0x2ab79);let _0x4e2aec=this[_0x1f8c25(0x575)];if(!_0x4e2aec)return;if(this[_0x1f8c25(0x575)]=null,_0x4e2aec['cleanup'](),_0x4e2aec[_0x1f8c25(0x2c0)]&&=(clearTimeout(_0x4e2aec[_0x1f8c25(0x2c0)]),null),!_0x4e2aec[_0x1f8c25(0x470)]){this[_0x1f8c25(0x1e4)][_0x1f8c25(0x595)](this['_renderContext'][_0x1f8c25(0x1e5)],new Map([[_0x4e2aec[_0x1f8c25(0x729)][_0x1f8c25(0x411)],_0x4e2aec['object']]])),this['_selectTable'](_0x4e2aec['drawing'],_0x4e2aec[_0x1f8c25(0x729)]);return;}let _0x531ea2=_0x4e2aec[_0x1f8c25(0x1a6)][_0x1f8c25(0x374)]??0x0,_0x2bfc64=_0x4e2aec['startTransform']['top']??0x0,_0x488f8b=_0x4e2aec['object'],_0x3d6aa2=_0x488f8b[_0x1f8c25(0x374)]-_0x4e2aec[_0x1f8c25(0x60e)],_0x292b9b=_0x488f8b[_0x1f8c25(0x573)]-_0x4e2aec[_0x1f8c25(0x349)];this[_0x1f8c25(0x1e4)][_0x1f8c25(0x595)](this['_renderContext'][_0x1f8c25(0x1e5)],new Map([[_0x4e2aec['object'][_0x1f8c25(0x411)],_0x4e2aec[_0x1f8c25(0x729)]]]));let _0xddc894=this[_0x1f8c25(0x5c7)](_0x4e2aec['drawing']),_0x36c5a3={..._0x4e2aec[_0x1f8c25(0x1a6)],'left':_0x531ea2+_0x3d6aa2,'top':_0x2bfc64+_0x292b9b};this[_0x1f8c25(0x1f0)][_0x1f8c25(0x567)](_0x39f21d['id'],{'patches':[{'unitId':_0x4e2aec['drawing'][_0x1f8c25(0x1e5)],'subUnitId':_0x4e2aec[_0x1f8c25(0x517)][_0x1f8c25(0x47d)],'drawingId':_0x4e2aec['drawing']['drawingId'],'element':{..._0xddc894[_0x1f8c25(0x354)],'transform':{..._0xddc894[_0x1f8c25(0x354)][_0x1f8c25(0x438)],'left':_0x36c5a3[_0x1f8c25(0x374)],'top':_0x36c5a3[_0x1f8c25(0x573)]}},'transform':_0x36c5a3}]});}['_cancelTableMoveDrag'](){const _0x58e993=_0x19aaa2;let _0x276908=this[_0x58e993(0x575)];_0x276908&&(this[_0x58e993(0x575)]=null,_0x276908['cleanup'](),_0x276908[_0x58e993(0x2c0)]&&clearTimeout(_0x276908[_0x58e993(0x2c0)]),_0x276908['object'][_0x58e993(0x24b)](_0x276908[_0x58e993(0x60e)],_0x276908['startObjectTop']),_0x276908[_0x58e993(0x729)]['makeDirty'](!0x0),this[_0x58e993(0x1e4)][_0x58e993(0x595)](this['_renderContext']['unitId'],new Map([[_0x276908[_0x58e993(0x729)][_0x58e993(0x411)],_0x276908[_0x58e993(0x729)]]])),this[_0x58e993(0x479)][_0x58e993(0x1e6)]([{...this[_0x58e993(0x5c7)](_0x276908[_0x58e993(0x517)]),'transform':_0x276908[_0x58e993(0x1a6)]}]));}[_0x19aaa2(0x29d)](_0x8b371d,_0x267159){const _0x456193=_0x19aaa2;let _0x2cbcbe=_0x8b371d;if(_0x267159!=null&&_0x267159[_0x456193(0x600)]&&Du(_0x2cbcbe[_0x456193(0x252)])&&Du(_0x2cbcbe[_0x456193(0x1eb)]))return this[_0x456193(0x2be)](_0x2cbcbe[_0x456193(0x252)],_0x2cbcbe[_0x456193(0x1eb)]);if(Du(_0x2cbcbe['clientX'])&&Du(_0x2cbcbe[_0x456193(0x5d8)])){var _0x32aee4,_0x29fdc4,_0x3004ea;let _0x17d758=(_0x32aee4=this[_0x456193(0x5c2)][_0x456193(0x54e)])==null||(_0x29fdc4=_0x32aee4[_0x456193(0x2e1)])==null||(_0x29fdc4=_0x29fdc4['call'](_0x32aee4))==null||(_0x3004ea=_0x29fdc4[_0x456193(0x370)])==null?void 0x0:_0x3004ea['call'](_0x29fdc4);if(_0x17d758)return this[_0x456193(0x2be)](_0x2cbcbe[_0x456193(0x69d)]-_0x17d758[_0x456193(0x374)],_0x2cbcbe[_0x456193(0x5d8)]-_0x17d758[_0x456193(0x573)]);}return this[_0x456193(0x2be)](_0x2cbcbe[_0x456193(0x252)]??0x0,_0x2cbcbe[_0x456193(0x1eb)]??0x0);}[_0x19aaa2(0x589)](_0x4d2c41){const _0x4af049=_0x19aaa2;let _0x2d3b7a=_0x4d2c41;if(Du(_0x2d3b7a[_0x4af049(0x69d)])&&Du(_0x2d3b7a[_0x4af049(0x5d8)])){var _0x16845f,_0x73f6fd,_0x1d2886;let _0x3973fd=(_0x16845f=this[_0x4af049(0x5c2)][_0x4af049(0x54e)])==null||(_0x73f6fd=_0x16845f['getCanvasElement'])==null||(_0x73f6fd=_0x73f6fd[_0x4af049(0x273)](_0x16845f))==null||(_0x1d2886=_0x73f6fd['getBoundingClientRect'])==null?void 0x0:_0x1d2886['call'](_0x73f6fd);return{'x':_0x2d3b7a['clientX']-((_0x3973fd==null?void 0x0:_0x3973fd[_0x4af049(0x374)])??0x0),'y':_0x2d3b7a['clientY']-((_0x3973fd==null?void 0x0:_0x3973fd[_0x4af049(0x573)])??0x0)};}return{'x':_0x2d3b7a[_0x4af049(0x252)]??0x0,'y':_0x2d3b7a[_0x4af049(0x1eb)]??0x0};}['_createViewportPointerEvent'](_0x1202b3,_0x1dcf06){const _0x200c02=_0x19aaa2;let _0x44d0a1=_0x1202b3;return{..._0x44d0a1,'button':_0x44d0a1['button'],'buttons':_0x44d0a1[_0x200c02(0x6ed)],'offsetX':_0x1dcf06['x'],'offsetY':_0x1dcf06['y'],'clientX':void 0x0,'clientY':void 0x0,'preventDefault':()=>{const _0xf97e42=_0x200c02;var _0xe75b18;return(_0xe75b18=_0x44d0a1[_0xf97e42(0x521)])==null?void 0x0:_0xe75b18[_0xf97e42(0x273)](_0x44d0a1);},'stopPropagation':()=>{const _0x1b2145=_0x200c02;var _0x11965c;return(_0x11965c=_0x44d0a1['stopPropagation'])==null?void 0x0:_0x11965c[_0x1b2145(0x273)](_0x44d0a1);}};}[_0x19aaa2(0x46a)](_0x5d0903){const _0xad37ef=_0x19aaa2;var _0x5537e5,_0x247c83,_0x53ac91,_0x2734ac;let _0x311d9b=this[_0xad37ef(0x1b2)];if(!_0x311d9b)return;let _0x470dc7=this[_0xad37ef(0x2be)](_0x5d0903['offsetX'],_0x5d0903[_0xad37ef(0x1eb)]),_0x2ff27a=this['_resolveObjectPoint'](_0x311d9b[_0xad37ef(0x729)],_0x470dc7['x'],_0x470dc7['y']),_0x5a9789=_0x311d9b[_0xad37ef(0x633)][_0xad37ef(0x474)]==='column'?_0x2ff27a['x']-_0x311d9b[_0xad37ef(0x629)]['x']:_0x2ff27a['y']-_0x311d9b['startPoint']['y'],_0x197eab=au(_0x311d9b[_0xad37ef(0x283)],_0x311d9b['object'][_0xad37ef(0x530)],_0x311d9b['object']['height'],{..._0x311d9b['handle'],'delta':_0x5a9789,'minSize':0xc});_0x311d9b[_0xad37ef(0x2e3)]=_0x197eab,(_0x5537e5=(_0x247c83=_0x311d9b['object'])[_0xad37ef(0x2f6)])==null||_0x5537e5[_0xad37ef(0x273)](_0x247c83,_0x197eab),this['_setResizeCursor'](_0x311d9b[_0xad37ef(0x633)]['axis']),(_0x53ac91=(_0x2734ac=this['_renderContext'][_0xad37ef(0x579)])[_0xad37ef(0x4dc)])==null||_0x53ac91['call'](_0x2734ac,!0x0);}['_finishResizeDrag'](_0x275d34){const _0x58ff8f=_0x19aaa2;var _0x425ff9,_0x42da02;let _0x45dfd1=this['_resizeDragContext'];if(!_0x45dfd1)return;this[_0x58ff8f(0x46a)](_0x275d34);let _0x37bc3b=_0x45dfd1[_0x58ff8f(0x2e3)];(_0x425ff9=(_0x42da02=_0x45dfd1[_0x58ff8f(0x729)])[_0x58ff8f(0x2f6)])==null||_0x425ff9[_0x58ff8f(0x273)](_0x42da02,null),this[_0x58ff8f(0x1b2)]=null,this[_0x58ff8f(0x2d4)](),vu(_0x45dfd1[_0x58ff8f(0x283)],_0x37bc3b,_0x45dfd1[_0x58ff8f(0x633)][_0x58ff8f(0x474)])&&this[_0x58ff8f(0x1f0)][_0x58ff8f(0x567)](_0xeaf0f0['id'],{'unitId':_0x45dfd1[_0x58ff8f(0x1e5)],'tableId':_0x45dfd1[_0x58ff8f(0x546)],'patch':_0x45dfd1[_0x58ff8f(0x633)][_0x58ff8f(0x474)]===_0x58ff8f(0x3c4)?{'columns':_0x37bc3b[_0x58ff8f(0x389)]}:{'rows':_0x37bc3b['rows']}});}[_0x19aaa2(0x510)](_0x121e9e){const _0x44c88e=_0x19aaa2;this[_0x44c88e(0x386)]=!0x0,this[_0x44c88e(0x5c2)]['scene']['setCursor'](_0x121e9e===_0x44c88e(0x3c4)?_0x17cdca[_0x44c88e(0x491)]:_0x17cdca['ROW_RESIZE']);}[_0x19aaa2(0x2d4)](){const _0x5aa8f0=_0x19aaa2;this[_0x5aa8f0(0x386)]&&(this[_0x5aa8f0(0x386)]=!0x1,this['_renderContext'][_0x5aa8f0(0x579)]['resetCursor']());}[_0x19aaa2(0x32f)](){const _0x294f07=_0x19aaa2;var _0x250fe1;return((_0x250fe1=this[_0x294f07(0x4a3)]['getSelection']())==null?void 0x0:_0x250fe1[_0x294f07(0x3c2)])==='text';}[_0x19aaa2(0x558)](_0x4610c1){const _0x23bb64=_0x19aaa2;var _0x147ba3,_0x5d7d80,_0x5bc0da,_0x45952e,_0x3348d8;let _0x5915ec=(_0x147ba3=this[_0x23bb64(0x4a3)])==null||(_0x5d7d80=_0x147ba3[_0x23bb64(0x25c)])==null?void 0x0:_0x5d7d80[_0x23bb64(0x273)](_0x147ba3);if((_0x5915ec==null?void 0x0:_0x5915ec['kind'])==='text'&&_0x5915ec[_0x23bb64(0x1e5)]===_0x4610c1['unitId']&&_0x5915ec[_0x23bb64(0x47d)]===_0x4610c1[_0x23bb64(0x47d)]&&_0x5915ec[_0x23bb64(0x235)]===_0x4610c1[_0x23bb64(0x3e4)]&&_0x4610c1[_0x23bb64(0x354)][_0x23bb64(0x5af)]===_0x2af70c[_0x23bb64(0x1a9)]&&_0x5915ec[_0x23bb64(0x546)]===_0x4610c1[_0x23bb64(0x354)][_0x23bb64(0x546)])return!0x0;let _0x44addb=(_0x5bc0da=this[_0x23bb64(0x4f5)])==null||(_0x45952e=_0x5bc0da[_0x23bb64(0x49d)])==null?void 0x0:_0x45952e[_0x23bb64(0x273)](_0x5bc0da);return!_0x44addb||((_0x3348d8=_0x44addb[_0x23bb64(0x25e)])==null?void 0x0:_0x3348d8[_0x23bb64(0x1e5)])===_0x4610c1[_0x23bb64(0x1e5)]&&_0x44addb[_0x23bb64(0x25e)][_0x23bb64(0x47d)]===_0x4610c1[_0x23bb64(0x47d)]&&_0x44addb[_0x23bb64(0x305)][_0x23bb64(0x612)](_0x4610c1[_0x23bb64(0x3e4)]);}[_0x19aaa2(0x393)](_0x2fe124){const _0x320d7a=_0x19aaa2;var _0x31c070,_0x114cae;let _0x390d35=_0x50deeb=>_0x50deeb?_0x50deeb['drawing']?_0x50deeb[_0x320d7a(0x517)][_0x320d7a(0x1e5)]===_0x2fe124[_0x320d7a(0x1e5)]&&_0x50deeb[_0x320d7a(0x517)][_0x320d7a(0x47d)]===_0x2fe124['subUnitId']&&_0x50deeb[_0x320d7a(0x517)][_0x320d7a(0x3e4)]===_0x2fe124[_0x320d7a(0x235)]:_0x50deeb[_0x320d7a(0x1e5)]===_0x2fe124['unitId']&&_0x50deeb[_0x320d7a(0x546)]===_0x2fe124['tableId']:!0x1,_0x4980bb=((_0x31c070=(_0x114cae=this[_0x320d7a(0x4a3)])[_0x320d7a(0x2b3)])==null?void 0x0:_0x31c070['call'](_0x114cae))??!0x1;return _0x2fe124[_0x320d7a(0x3c2)]===_0x320d7a(0x3ea)||_0x4980bb||_0x390d35(this[_0x320d7a(0x621)])||_0x390d35(this['_pendingStage1TableDragContext'])||_0x390d35(this[_0x320d7a(0x575)])||_0x390d35(this[_0x320d7a(0x1b2)])||_0x390d35(this[_0x320d7a(0x43a)])||_0x390d35(this[_0x320d7a(0x314)]);}['_selectResolvedCell'](_0x1bb819,_0x25cc84,_0x2aa0f1){const _0x3435f8=_0x19aaa2;var _0x2413c8,_0x126d4b,_0xed4caa;if(_0x1bb819[_0x3435f8(0x354)][_0x3435f8(0x5af)]!==_0x2af70c['Table'])return;this[_0x3435f8(0x603)]();let _0x17eb34=this[_0x3435f8(0x4a3)]['selectCell']({'unitId':_0x1bb819['unitId'],'subUnitId':_0x1bb819[_0x3435f8(0x47d)],'elementId':_0x1bb819['drawingId'],'tableId':_0x1bb819[_0x3435f8(0x354)][_0x3435f8(0x546)],'row':_0x2aa0f1[_0x3435f8(0x642)],'column':_0x2aa0f1[_0x3435f8(0x3c4)]});(_0x2413c8=_0x25cc84[_0x3435f8(0x4d5)])==null||_0x2413c8[_0x3435f8(0x273)](_0x25cc84,{'kind':fu(_0x17eb34[_0x3435f8(0x3c2)]),'ranges':_0x17eb34[_0x3435f8(0x568)],'active':{'row':_0x2aa0f1[_0x3435f8(0x642)],'column':_0x2aa0f1[_0x3435f8(0x3c4)]}}),this[_0x3435f8(0x367)](!0x0),(_0x126d4b=(_0xed4caa=this[_0x3435f8(0x5c2)][_0x3435f8(0x579)])['makeDirty'])==null||_0x126d4b[_0x3435f8(0x273)](_0xed4caa,!0x0);}[_0x19aaa2(0x6bd)](_0xc3a209,_0xa8b031,_0x18e5b8=this['_tableSelectionService'][_0x19aaa2(0x25c)]()){const _0x400fd0=_0x19aaa2;var _0x3e50a9,_0x11eb4d;if(!_0x18e5b8||_0xc3a209[_0x400fd0(0x354)][_0x400fd0(0x5af)]!==_0x2af70c['Table']||_0x18e5b8[_0x400fd0(0x1e5)]!==_0xc3a209['unitId']||_0x18e5b8[_0x400fd0(0x47d)]!==_0xc3a209[_0x400fd0(0x47d)]||_0x18e5b8[_0x400fd0(0x235)]!==_0xc3a209['drawingId']||_0x18e5b8['tableId']!==_0xc3a209['element']['tableId'])return;let _0x118c18=_0x18e5b8[_0x400fd0(0x2a4)]??_0x18e5b8[_0x400fd0(0x526)]??pu(_0x18e5b8[_0x400fd0(0x568)]);(_0x3e50a9=_0xa8b031[_0x400fd0(0x4d5)])==null||_0x3e50a9[_0x400fd0(0x273)](_0xa8b031,{'kind':fu(_0x18e5b8[_0x400fd0(0x3c2)]),'ranges':_0x18e5b8[_0x400fd0(0x568)],'active':_0x118c18}),(_0x11eb4d=_0xa8b031[_0x400fd0(0x634)])==null||_0x11eb4d['call'](_0xa8b031,_0x18e5b8[_0x400fd0(0x3c2)]==='text'?_0x118c18??null:null);}[_0x19aaa2(0x669)](_0x2f4390,_0xbb5754,_0x2b9977,_0x14ee5f){const _0xdfbc53=_0x19aaa2;var _0x57d663,_0x1ae115,_0x5be6f4;if(_0x2f4390[_0xdfbc53(0x354)][_0xdfbc53(0x5af)]!==_0x2af70c['Table'])return;let _0x52d089=this[_0xdfbc53(0x5f6)][_0xdfbc53(0x512)](_0x2f4390[_0xdfbc53(0x1e5)],_0x2f4390[_0xdfbc53(0x354)][_0xdfbc53(0x546)]);if(!_0x52d089)return;this['_enterCellStage']();let _0x298dca=_0x3111ea(_0x52d089,{'startRow':_0x2b9977,'endRow':_0x14ee5f,'startColumn':0x0,'endColumn':Math[_0xdfbc53(0x6f0)](0x0,_0x52d089[_0xdfbc53(0x389)][_0xdfbc53(0x3b8)]-0x1)}),_0x316a6a=this[_0xdfbc53(0x4a3)][_0xdfbc53(0x6ff)]({'unitId':_0x2f4390[_0xdfbc53(0x1e5)],'subUnitId':_0x2f4390[_0xdfbc53(0x47d)],'elementId':_0x2f4390[_0xdfbc53(0x3e4)],'tableId':_0x2f4390[_0xdfbc53(0x354)][_0xdfbc53(0x546)],'startRow':_0x298dca[_0xdfbc53(0x544)],'endRow':_0x298dca[_0xdfbc53(0x3cd)],'columnCount':_0x52d089[_0xdfbc53(0x389)][_0xdfbc53(0x3b8)]});(_0x57d663=_0xbb5754['setTableSelection'])==null||_0x57d663['call'](_0xbb5754,{'kind':fu(_0x316a6a[_0xdfbc53(0x3c2)]),'ranges':_0x316a6a[_0xdfbc53(0x568)]}),this['_setTableKeyboardFocus'](!0x0),(_0x1ae115=(_0x5be6f4=this[_0xdfbc53(0x5c2)][_0xdfbc53(0x579)])[_0xdfbc53(0x4dc)])==null||_0x1ae115['call'](_0x5be6f4,!0x0);}[_0x19aaa2(0x38c)](_0x36fd4a,_0xd9e353,_0x18c203,_0x599dc7){const _0x55dd58=_0x19aaa2;var _0x522a7f,_0x59fbd4,_0x16c39d;if(_0x36fd4a['element']['type']!==_0x2af70c['Table'])return;let _0x12174b=this[_0x55dd58(0x5f6)][_0x55dd58(0x512)](_0x36fd4a[_0x55dd58(0x1e5)],_0x36fd4a[_0x55dd58(0x354)]['tableId']);if(!_0x12174b)return;this[_0x55dd58(0x603)]();let _0xfeffc0=_0x3111ea(_0x12174b,{'startRow':0x0,'endRow':Math[_0x55dd58(0x6f0)](0x0,_0x12174b[_0x55dd58(0x416)][_0x55dd58(0x3b8)]-0x1),'startColumn':_0x18c203,'endColumn':_0x599dc7}),_0x18442a=this['_tableSelectionService'][_0x55dd58(0x3df)]({'unitId':_0x36fd4a[_0x55dd58(0x1e5)],'subUnitId':_0x36fd4a[_0x55dd58(0x47d)],'elementId':_0x36fd4a[_0x55dd58(0x3e4)],'tableId':_0x36fd4a['element'][_0x55dd58(0x546)],'startColumn':_0xfeffc0[_0x55dd58(0x2f4)],'endColumn':_0xfeffc0[_0x55dd58(0x434)],'rowCount':_0x12174b[_0x55dd58(0x416)][_0x55dd58(0x3b8)]});(_0x522a7f=_0xd9e353[_0x55dd58(0x4d5)])==null||_0x522a7f[_0x55dd58(0x273)](_0xd9e353,{'kind':fu(_0x18442a[_0x55dd58(0x3c2)]),'ranges':_0x18442a[_0x55dd58(0x568)]}),this['_setTableKeyboardFocus'](!0x0),(_0x59fbd4=(_0x16c39d=this['_renderContext'][_0x55dd58(0x579)])[_0x55dd58(0x4dc)])==null||_0x59fbd4[_0x55dd58(0x273)](_0x16c39d,!0x0);}[_0x19aaa2(0x1d5)](_0x95f654,_0x588c7c){const _0x4862a2=_0x19aaa2;var _0x15c8df,_0x5f574a,_0x4cfbee;if(_0x95f654[_0x4862a2(0x354)][_0x4862a2(0x5af)]!==_0x2af70c[_0x4862a2(0x1a9)])return;let _0x526000=this[_0x4862a2(0x5f6)]['getTable'](_0x95f654[_0x4862a2(0x1e5)],_0x95f654[_0x4862a2(0x354)][_0x4862a2(0x546)]);if(!_0x526000)return;this[_0x4862a2(0x594)](_0x588c7c);let _0x11bcb9=this['_tableSelectionService'][_0x4862a2(0x4e4)]({'unitId':_0x95f654[_0x4862a2(0x1e5)],'subUnitId':_0x95f654[_0x4862a2(0x47d)],'elementId':_0x95f654[_0x4862a2(0x3e4)],'tableId':_0x95f654[_0x4862a2(0x354)][_0x4862a2(0x546)],'rowCount':_0x526000[_0x4862a2(0x416)][_0x4862a2(0x3b8)],'columnCount':_0x526000[_0x4862a2(0x389)][_0x4862a2(0x3b8)]});(_0x15c8df=_0x588c7c[_0x4862a2(0x4d5)])==null||_0x15c8df[_0x4862a2(0x273)](_0x588c7c,{'kind':fu(_0x11bcb9['kind']),'ranges':_0x11bcb9[_0x4862a2(0x568)]}),this['_setTableKeyboardFocus'](!0x0),(_0x5f574a=(_0x4cfbee=this[_0x4862a2(0x5c2)][_0x4862a2(0x579)])[_0x4862a2(0x4dc)])==null||_0x5f574a[_0x4862a2(0x273)](_0x4cfbee,!0x0);}[_0x19aaa2(0x50c)](_0x2645b7){const _0x134d2c=_0x19aaa2;var _0x3ad80f,_0x17d9fc,_0x172542;this[_0x134d2c(0x23f)]='table',(_0x3ad80f=_0x2645b7[_0x134d2c(0x4d5)])==null||_0x3ad80f[_0x134d2c(0x273)](_0x2645b7,{'ranges':[]}),this[_0x134d2c(0x367)](!0x1),this['_setTableObjectKeyboardFocus'](!0x0),(_0x17d9fc=(_0x172542=this['_renderContext'][_0x134d2c(0x579)])['makeDirty'])==null||_0x17d9fc[_0x134d2c(0x273)](_0x172542,!0x0);}[_0x19aaa2(0x603)](){const _0x33f646=_0x19aaa2;this['_tableActivationStage']!==_0x33f646(0x1b0)&&(this[_0x33f646(0x23f)]='cell'),this[_0x33f646(0x3f1)](!0x1),this[_0x33f646(0x700)]();}['_syncActivationStageFromSelection'](_0x276d9f){const _0x5d32c6=_0x19aaa2;let _0x212e00=this[_0x5d32c6(0x6a8)](_0x276d9f);this[_0x5d32c6(0x23f)]=_0x212e00?_0x5d32c6(0x1b0):_0x5d32c6(0x283),this['_setTableKeyboardFocus'](_0x212e00&&_0x276d9f[_0x5d32c6(0x3c2)]!==_0x5d32c6(0x3ea)),this[_0x5d32c6(0x3f1)](!_0x212e00),_0x212e00&&this[_0x5d32c6(0x700)]();}[_0x19aaa2(0x563)](_0x515499){const _0x5ac8f0=_0x19aaa2;var _0x5be1aa;if(_0x515499['element'][_0x5ac8f0(0x5af)]!==_0x2af70c[_0x5ac8f0(0x1a9)])return!0x0;let _0x585d98=this['_tableSelectionService'][_0x5ac8f0(0x25c)]();return!(_0x585d98&&_0x585d98[_0x5ac8f0(0x1e5)]===_0x515499[_0x5ac8f0(0x1e5)]&&_0x585d98[_0x5ac8f0(0x47d)]===_0x515499[_0x5ac8f0(0x47d)]&&_0x585d98[_0x5ac8f0(0x235)]===_0x515499[_0x5ac8f0(0x3e4)]&&this[_0x5ac8f0(0x6a8)](_0x585d98)||((_0x5be1aa=this[_0x5ac8f0(0x3c1)])==null?void 0x0:_0x5be1aa[_0x5ac8f0(0x1e5)])===_0x515499[_0x5ac8f0(0x1e5)]&&this[_0x5ac8f0(0x3c1)][_0x5ac8f0(0x47d)]===_0x515499[_0x5ac8f0(0x47d)]&&this[_0x5ac8f0(0x3c1)][_0x5ac8f0(0x235)]===_0x515499['drawingId']&&this[_0x5ac8f0(0x23f)]===_0x5ac8f0(0x1b0));}[_0x19aaa2(0x700)](){const _0xe9c8f9=_0x19aaa2;var _0x2ff8a3,_0x29a09b,_0x959d43,_0x1d8790,_0x40ec4c;let _0x33778d=(_0x2ff8a3=(_0x29a09b=this[_0xe9c8f9(0x5c2)][_0xe9c8f9(0x579)])[_0xe9c8f9(0x42f)])==null?void 0x0:_0x2ff8a3[_0xe9c8f9(0x273)](_0x29a09b);_0x33778d==null||(_0x959d43=_0x33778d[_0xe9c8f9(0x2d5)])==null||_0x959d43['call'](_0x33778d),(_0x1d8790=(_0x40ec4c=this['_renderContext'][_0xe9c8f9(0x579)])['makeDirty'])==null||_0x1d8790[_0xe9c8f9(0x273)](_0x40ec4c,!0x0);}['_handleKeyboardAction'](_0x5e64cc){const _0x407c38=_0x19aaa2;var _0xf0ecff,_0x5ea017;if(this['_isTableTextEditing']()){let _0x43bcea=this[_0x407c38(0x3a4)][_0x407c38(0x55b)](),_0x4d73e2=cu(_0x5e64cc);return!_0x43bcea||!_0x4d73e2?!0x1:this[_0x407c38(0x1c0)](_0x4d73e2,_0x43bcea[_0x407c38(0x25e)],this[_0x407c38(0x323)]);}if(_0x5e64cc===_0x407c38(0x1d7))return this['_openSelectionEditor']();let _0xcda7eb=this[_0x407c38(0x4f2)]();if(!_0xcda7eb||_0xcda7eb['drawing'][_0x407c38(0x354)][_0x407c38(0x5af)]!==_0x2af70c[_0x407c38(0x1a9)])return!0x1;if(_0x5e64cc===_0x407c38(0x2d3))return this[_0x407c38(0x3e7)](_0xcda7eb);let _0x25ea00=Ka(_0x5e64cc);if(!_0x25ea00)return!0x1;if(_0x25ea00['extend']){var _0x54712b,_0x2213b6;let _0x2b7154=_0xcda7eb[_0x407c38(0x1ab)][_0x407c38(0x526)]??_0xcda7eb[_0x407c38(0x2a4)],_0xfaffc6=qa(_0xcda7eb[_0x407c38(0x2a4)],_0x25ea00,_0xcda7eb['table'][_0x407c38(0x416)][_0x407c38(0x3b8)],_0xcda7eb['table'][_0x407c38(0x389)]['length']),_0x336d5d=_0x3111ea(_0xcda7eb[_0x407c38(0x283)],{'startRow':_0x2b7154['row'],'startColumn':_0x2b7154[_0x407c38(0x3c4)],'endRow':_0xfaffc6['row'],'endColumn':_0xfaffc6[_0x407c38(0x3c4)]}),_0x36bc2b=this['_tableSelectionService']['selectRange']({'unitId':_0xcda7eb[_0x407c38(0x517)][_0x407c38(0x1e5)],'subUnitId':_0xcda7eb[_0x407c38(0x517)][_0x407c38(0x47d)],'elementId':_0xcda7eb[_0x407c38(0x517)]['drawingId'],'tableId':_0xcda7eb[_0x407c38(0x517)][_0x407c38(0x354)][_0x407c38(0x546)],..._0x336d5d});(_0x54712b=(_0x2213b6=_0xcda7eb[_0x407c38(0x729)])['setTableSelection'])==null||_0x54712b[_0x407c38(0x273)](_0x2213b6,{'kind':fu(_0x36bc2b[_0x407c38(0x3c2)]),'ranges':_0x36bc2b['ranges'],'active':_0xfaffc6});}else{var _0xa2e103,_0x320790;let _0x36d7f5=qa(_0xcda7eb[_0x407c38(0x2a4)],_0x25ea00,_0xcda7eb['table']['rows'][_0x407c38(0x3b8)],_0xcda7eb['table'][_0x407c38(0x389)][_0x407c38(0x3b8)]),_0x34d0ea=this[_0x407c38(0x4a3)]['selectCell']({'unitId':_0xcda7eb['drawing']['unitId'],'subUnitId':_0xcda7eb[_0x407c38(0x517)][_0x407c38(0x47d)],'elementId':_0xcda7eb[_0x407c38(0x517)][_0x407c38(0x3e4)],'tableId':_0xcda7eb['drawing'][_0x407c38(0x354)][_0x407c38(0x546)],'row':_0x36d7f5[_0x407c38(0x642)],'column':_0x36d7f5[_0x407c38(0x3c4)]});(_0xa2e103=(_0x320790=_0xcda7eb[_0x407c38(0x729)])[_0x407c38(0x4d5)])==null||_0xa2e103['call'](_0x320790,{'kind':fu(_0x34d0ea['kind']),'ranges':_0x34d0ea[_0x407c38(0x568)],'active':_0x36d7f5});}return this[_0x407c38(0x367)](!0x0),(_0xf0ecff=(_0x5ea017=this[_0x407c38(0x5c2)][_0x407c38(0x579)])['makeDirty'])==null||_0xf0ecff['call'](_0x5ea017,!0x0),!0x0;}[_0x19aaa2(0x429)](_0x230fc0){const _0x12fb62=_0x19aaa2;if(_0x230fc0[_0x12fb62(0x52d)]||!this['_contextService']['getContextValue']('FOCUSING_SLIDE_TABLE')||this['_isTableTextEditing']())return null;let _0x306e48=this[_0x12fb62(0x4f2)]();return(_0x306e48==null?void 0x0:_0x306e48[_0x12fb62(0x1ab)][_0x12fb62(0x1e5)])===this[_0x12fb62(0x5c2)][_0x12fb62(0x1e5)]?_0x306e48:null;}['_canCopyTable'](_0x166920){const _0x9489fb=_0x19aaa2;return _0x2a7100(this[_0x9489fb(0x249)],_0x166920[_0x9489fb(0x1e5)],_0x166920['unitId'],_0x5099ee['Copy']);}async[_0x19aaa2(0x45d)](_0x5586b6,_0x51f0c5){const _0xbcb2c8=_0x19aaa2;var _0x21238b,_0xa689ec,_0x55fb69,_0x5a009d;return await this[_0xbcb2c8(0x1f0)][_0xbcb2c8(0x567)](_0xeaf0f0['id'],{'unitId':_0x5586b6[_0xbcb2c8(0x1ab)][_0xbcb2c8(0x1e5)],'tableId':_0x5586b6[_0xbcb2c8(0x1ab)][_0xbcb2c8(0x546)],'patch':_0x51f0c5})?((_0x21238b=(_0xa689ec=_0x5586b6[_0xbcb2c8(0x729)])[_0xbcb2c8(0x4d5)])==null||_0x21238b['call'](_0xa689ec,{'kind':fu(_0x5586b6[_0xbcb2c8(0x1ab)][_0xbcb2c8(0x3c2)]),'ranges':_0x5586b6[_0xbcb2c8(0x1ab)][_0xbcb2c8(0x568)],'active':_0x5586b6[_0xbcb2c8(0x1ab)]['focus']}),this[_0xbcb2c8(0x367)](!0x0),(_0x55fb69=(_0x5a009d=this['_renderContext'][_0xbcb2c8(0x579)])[_0xbcb2c8(0x4dc)])==null||_0x55fb69[_0xbcb2c8(0x273)](_0x5a009d,!0x0),!0x0):!0x1;}async[_0x19aaa2(0x55d)](_0x186f98,_0x29cb1e=0x0){const _0x2401ef=_0x19aaa2;for(let _0x4de507=0x0;_0x4de507<_0x186f98[_0x2401ef(0x3b8)];_0x4de507++){let _0x332036=_0x186f98[_0x4de507],_0x424850=await _0x1b8452(_0x332036);if(_0x424850){let _0x114ace=(_0x29cb1e+_0x4de507)*0x20;_0x114ace===0x0?await this[_0x2401ef(0x62d)][_0x2401ef(0x4de)](_0x424850):await this[_0x2401ef(0x62d)][_0x2401ef(0x4de)](_0x424850,{'offset':{'x':_0x114ace,'y':_0x114ace}});}}}['_handleKeyboardInput'](_0x2b1904){const _0xebf887=_0x19aaa2;return _0x2b1904['kind']===_0xebf887(0x6dc)?this['_openSelectionEditor']():this[_0xebf887(0x32f)]()||!_0x2b1904[_0xebf887(0x3ea)]?!0x1:this[_0xebf887(0x6f7)]({'initialText':_0x2b1904[_0xebf887(0x3ea)]});}['_clearSelectedCellContents'](_0xef410e){const _0x3e521b=_0x19aaa2;var _0x36a5a6,_0x304d26,_0x1959ac,_0x575831;let _0x325882=Hl(_0xef410e[_0x3e521b(0x283)],_0xef410e['selection']);return _0x325882&&this[_0x3e521b(0x1f0)][_0x3e521b(0x567)](_0xeaf0f0['id'],{'unitId':_0xef410e[_0x3e521b(0x1ab)][_0x3e521b(0x1e5)],'tableId':_0xef410e[_0x3e521b(0x1ab)][_0x3e521b(0x546)],'patch':_0x325882}),(_0x36a5a6=(_0x304d26=_0xef410e[_0x3e521b(0x729)])[_0x3e521b(0x4d5)])==null||_0x36a5a6[_0x3e521b(0x273)](_0x304d26,{'kind':fu(_0xef410e[_0x3e521b(0x1ab)]['kind']),'ranges':_0xef410e[_0x3e521b(0x1ab)]['ranges'],'active':_0xef410e[_0x3e521b(0x1ab)]['focus']}),this[_0x3e521b(0x367)](!0x0),(_0x1959ac=(_0x575831=this[_0x3e521b(0x5c2)][_0x3e521b(0x579)])[_0x3e521b(0x4dc)])==null||_0x1959ac[_0x3e521b(0x273)](_0x575831,!0x0),!0x0;}[_0x19aaa2(0x6f7)](_0x3e78f5){const _0x5e3af3=_0x19aaa2;var _0x4181bc,_0x22c275;let _0x1dda34=this['_resolveActiveSelectionForKeyboard']();if(!_0x1dda34||_0x1dda34[_0x5e3af3(0x517)][_0x5e3af3(0x354)][_0x5e3af3(0x5af)]!==_0x2af70c[_0x5e3af3(0x1a9)])return!0x1;let _0xa5e476=_0x59b2f8(((_0x4181bc=(_0x22c275=_0x1dda34[_0x5e3af3(0x729)])['getLayoutTable'])==null?void 0x0:_0x4181bc['call'](_0x22c275))??_0x1dda34[_0x5e3af3(0x283)]),_0x5ba056=_0xa5e476[_0x5e3af3(0x307)]['find'](_0x565972=>_0x565972['row']===_0x1dda34[_0x5e3af3(0x2a4)][_0x5e3af3(0x642)]&&_0x565972[_0x5e3af3(0x3c4)]===_0x1dda34['focus'][_0x5e3af3(0x3c4)]&&!_0x565972[_0x5e3af3(0x332)])??_0xa5e476[_0x5e3af3(0x307)]['find'](_0x215278=>!_0x215278[_0x5e3af3(0x332)]&&_0x1dda34['focus'][_0x5e3af3(0x642)]>=_0x215278[_0x5e3af3(0x642)]&&_0x1dda34[_0x5e3af3(0x2a4)]['row']<_0x215278['row']+_0x215278[_0x5e3af3(0x33b)]&&_0x1dda34[_0x5e3af3(0x2a4)][_0x5e3af3(0x3c4)]>=_0x215278[_0x5e3af3(0x3c4)]&&_0x1dda34[_0x5e3af3(0x2a4)][_0x5e3af3(0x3c4)]<_0x215278[_0x5e3af3(0x3c4)]+_0x215278[_0x5e3af3(0x6a7)]);return _0x5ba056?(this[_0x5e3af3(0x59a)](_0x1dda34['drawing'],{'table':_0x1dda34[_0x5e3af3(0x283)],'model':_0xa5e476,'cell':_0x5ba056,'row':_0x5ba056['row'],'column':_0x5ba056[_0x5e3af3(0x3c4)],'object':_0x1dda34[_0x5e3af3(0x729)]},_0x3e78f5),!0x0):!0x1;}[_0x19aaa2(0x4f2)](){const _0x3ef140=_0x19aaa2;let _0x3b7852=this[_0x3ef140(0x4a3)]['getSelection'](),_0x4ef735=_0x3b7852==null?void 0x0:_0x3b7852[_0x3ef140(0x568)][0x0];if(!_0x3b7852||!_0x4ef735||_0x3b7852[_0x3ef140(0x3c2)]===_0x3ef140(0x3ea))return null;let _0x16eb12=this[_0x3ef140(0x3b4)](_0x3b7852[_0x3ef140(0x1e5)],_0x3b7852[_0x3ef140(0x47d)],_0x3b7852['elementId']);if(!_0x16eb12||_0x16eb12[_0x3ef140(0x354)][_0x3ef140(0x5af)]!==_0x2af70c[_0x3ef140(0x1a9)]||!this[_0x3ef140(0x558)](_0x16eb12))return null;let _0x5def7c=this[_0x3ef140(0x5f6)][_0x3ef140(0x512)](_0x3b7852[_0x3ef140(0x1e5)],_0x3b7852[_0x3ef140(0x546)]),_0x5c6a50=this[_0x3ef140(0x5c2)][_0x3ef140(0x579)][_0x3ef140(0x293)](_0x50b4f6(_0x3b7852['unitId'],_0x3b7852['subUnitId'],_0x3b7852['elementId']));return!_0x5def7c||!_0x5c6a50?null:{'drawing':_0x16eb12,'object':_0x5c6a50,'table':_0x5def7c,'selection':_0x3b7852,'focus':Ja(_0x3b7852[_0x3ef140(0x2a4)]??{'row':Math[_0x3ef140(0x1df)](_0x4ef735[_0x3ef140(0x544)],_0x4ef735[_0x3ef140(0x3cd)]),'column':Math['min'](_0x4ef735['startColumn'],_0x4ef735['endColumn'])},_0x5def7c['rows'][_0x3ef140(0x3b8)],_0x5def7c['columns'][_0x3ef140(0x3b8)])};}[_0x19aaa2(0x367)](_0x4d892f){const _0xf98fe5=_0x19aaa2;this[_0xf98fe5(0x682)][_0xf98fe5(0x366)](_0xf98fe5(0x19b),_0x4d892f);}[_0x19aaa2(0x3f1)](_0x340504){const _0x1dc33=_0x19aaa2;this[_0x1dc33(0x682)][_0x1dc33(0x366)](_0x1dc33(0x266),_0x340504);}['_updateRangeDrag'](_0x589cbe){const _0x4c85f1=_0x19aaa2;let _0x4c0c60=this[_0x4c85f1(0x621)];if(!_0x4c0c60||_0x4c0c60[_0x4c85f1(0x517)]['element']['type']!==_0x2af70c[_0x4c85f1(0x1a9)])return;if(_0x4c85f1(0x6ed)in _0x589cbe&&_0x589cbe[_0x4c85f1(0x6ed)]!==void 0x0&&(_0x589cbe[_0x4c85f1(0x6ed)]&0x1)!=0x1){this['_finishRangeDrag']();return;}let _0x15b4f9=this[_0x4c85f1(0x29d)](_0x589cbe),_0x56e23f=this[_0x4c85f1(0x65a)](_0x4c0c60['drawing'],_0x4c0c60[_0x4c85f1(0x602)],_0x15b4f9['x'],_0x15b4f9['y']);_0x56e23f&&this[_0x4c85f1(0x53c)](_0x4c0c60,{'row':_0x56e23f[_0x4c85f1(0x642)],'column':_0x56e23f[_0x4c85f1(0x3c4)]});}[_0x19aaa2(0x53c)](_0x13ba0b,_0x448d98){const _0x164675=_0x19aaa2;var _0x2215e3,_0x36037b,_0x35c72f,_0xee6482,_0x55a125;if(_0x13ba0b['drawing'][_0x164675(0x354)]['type']!==_0x2af70c['Table']||_0x13ba0b[_0x164675(0x5dc)]['row']===_0x448d98['row']&&_0x13ba0b[_0x164675(0x5dc)]['column']===_0x448d98[_0x164675(0x3c4)]&&((_0x2215e3=this[_0x164675(0x4a3)][_0x164675(0x25c)]())==null?void 0x0:_0x2215e3['kind'])==='range')return;_0x13ba0b['current']=_0x448d98;let _0xa324a5=_0x3111ea(_0x13ba0b['table'],{'startRow':_0x13ba0b['anchor'][_0x164675(0x642)],'startColumn':_0x13ba0b[_0x164675(0x526)][_0x164675(0x3c4)],'endRow':_0x448d98[_0x164675(0x642)],'endColumn':_0x448d98['column']}),_0x51eaa9=this[_0x164675(0x4a3)][_0x164675(0x706)]({'unitId':_0x13ba0b[_0x164675(0x517)][_0x164675(0x1e5)],'subUnitId':_0x13ba0b['drawing'][_0x164675(0x47d)],'elementId':_0x13ba0b['drawing'][_0x164675(0x3e4)],'tableId':_0x13ba0b[_0x164675(0x517)][_0x164675(0x354)][_0x164675(0x546)],..._0xa324a5});(_0x36037b=(_0x35c72f=_0x13ba0b[_0x164675(0x729)])[_0x164675(0x4d5)])==null||_0x36037b[_0x164675(0x273)](_0x35c72f,{'kind':fu(_0x51eaa9[_0x164675(0x3c2)]),'ranges':_0x51eaa9[_0x164675(0x568)],'active':_0x448d98}),this[_0x164675(0x367)](!0x0),(_0xee6482=(_0x55a125=this[_0x164675(0x5c2)]['scene'])[_0x164675(0x4dc)])==null||_0xee6482[_0x164675(0x273)](_0x55a125,!0x0);}[_0x19aaa2(0x6e2)](){const _0x159b5c=_0x19aaa2;var _0x3d36bc,_0x1cdeaf,_0x461745,_0x586e39,_0x1d7fd8,_0x598f6a,_0x371a58;(_0x3d36bc=this[_0x159b5c(0x46c)])==null||_0x3d36bc[_0x159b5c(0x3e1)](),this[_0x159b5c(0x46c)]=null;let _0x289d4e=this['_tableSelectionService'][_0x159b5c(0x25c)](),_0x504bfb=[_0x289d4e?{'unitId':_0x289d4e[_0x159b5c(0x1e5)],'subUnitId':_0x289d4e[_0x159b5c(0x47d)],'elementId':_0x289d4e['elementId']}:null,this[_0x159b5c(0x3c1)]]['filter'](_0x257e60=>!!_0x257e60),_0x48ba4a=_0x504bfb['filter']((_0x4a69d1,_0x1c5c97)=>_0x504bfb[_0x159b5c(0x68c)](_0x3771ba=>_0x3771ba[_0x159b5c(0x1e5)]===_0x4a69d1['unitId']&&_0x3771ba['subUnitId']===_0x4a69d1[_0x159b5c(0x47d)]&&_0x3771ba[_0x159b5c(0x235)]===_0x4a69d1[_0x159b5c(0x235)])===_0x1c5c97);(_0x1cdeaf=this[_0x159b5c(0x570)])==null||_0x1cdeaf[_0x159b5c(0x3e1)](),this[_0x159b5c(0x570)]=null,this['_editorSessionId']+=0x1,this[_0x159b5c(0x240)]=null,this[_0x159b5c(0x5a0)](),this[_0x159b5c(0x621)]=null,this[_0x159b5c(0x572)]({'focusCell':!0x1}),this[_0x159b5c(0x5ea)]=null,this[_0x159b5c(0x25a)](void 0x0,{'commitMove':!0x1}),this['_tableActivationStage']=null,this[_0x159b5c(0x3c1)]=null,this[_0x159b5c(0x2c3)](),(_0x461745=this[_0x159b5c(0x1b2)])==null||(_0x1d7fd8=(_0x586e39=_0x461745['object'])[_0x159b5c(0x2f6)])==null||_0x1d7fd8[_0x159b5c(0x273)](_0x586e39,null),this[_0x159b5c(0x1b2)]=null,this[_0x159b5c(0x2d4)](),this[_0x159b5c(0x4cb)](!0x1),this[_0x159b5c(0x367)](!0x1),this[_0x159b5c(0x3f1)](!0x1),_0x48ba4a['forEach'](_0x1d8b2b=>{const _0x3b338a=_0x159b5c;var _0x444124,_0x564ebf,_0x5f0f99,_0x525f3f,_0x447879,_0x29f5fc;let _0x3e6b78=this[_0x3b338a(0x5c2)][_0x3b338a(0x579)][_0x3b338a(0x293)](_0x50b4f6(_0x1d8b2b[_0x3b338a(0x1e5)],_0x1d8b2b[_0x3b338a(0x47d)],_0x1d8b2b[_0x3b338a(0x235)]));_0x3e6b78==null||(_0x444124=_0x3e6b78[_0x3b338a(0x634)])==null||_0x444124[_0x3b338a(0x273)](_0x3e6b78,null),_0x3e6b78==null||(_0x564ebf=_0x3e6b78['setPreviewTable'])==null||_0x564ebf[_0x3b338a(0x273)](_0x3e6b78,null),_0x3e6b78==null||(_0x5f0f99=_0x3e6b78[_0x3b338a(0x4d5)])==null||_0x5f0f99[_0x3b338a(0x273)](_0x3e6b78,null),_0x3e6b78==null||(_0x525f3f=_0x3e6b78[_0x3b338a(0x4be)])==null||_0x525f3f[_0x3b338a(0x273)](_0x3e6b78,null),_0x3e6b78==null||(_0x447879=_0x3e6b78[_0x3b338a(0x4df)])==null||_0x447879['call'](_0x3e6b78,null),_0x3e6b78==null||(_0x29f5fc=_0x3e6b78[_0x3b338a(0x2d1)])==null||_0x29f5fc[_0x3b338a(0x273)](_0x3e6b78,null);}),this['_tableSelectionService'][_0x159b5c(0x463)](),(_0x598f6a=(_0x371a58=this[_0x159b5c(0x5c2)][_0x159b5c(0x579)])[_0x159b5c(0x4dc)])==null||_0x598f6a['call'](_0x371a58,!0x0);}[_0x19aaa2(0x61a)](_0x58c59d){const _0x1907cf=_0x19aaa2;if(_0x58c59d[_0x1907cf(0x517)][_0x1907cf(0x1e5)]!==this[_0x1907cf(0x5c2)]['unitId']||_0x58c59d[_0x1907cf(0x517)][_0x1907cf(0x354)]['type']!==_0x2af70c[_0x1907cf(0x1a9)]||!this[_0x1907cf(0x558)](_0x58c59d[_0x1907cf(0x517)]))return;let _0x13fe00=this[_0x1907cf(0x65a)](_0x58c59d[_0x1907cf(0x517)],_0x58c59d[_0x1907cf(0x411)],_0x58c59d[_0x1907cf(0x252)],_0x58c59d[_0x1907cf(0x1eb)]);if(!_0x13fe00)return;let _0xedb219=this[_0x1907cf(0x3a4)][_0x1907cf(0x55b)](),_0x5043ec=_0xedb219==null?void 0x0:_0xedb219[_0x1907cf(0x25e)];this[_0x1907cf(0x649)]()&&(_0xedb219==null?void 0x0:_0xedb219[_0x1907cf(0x52c)])===tu&&(_0x5043ec==null?void 0x0:_0x5043ec[_0x1907cf(0x1e5)])===_0x58c59d[_0x1907cf(0x517)][_0x1907cf(0x1e5)]&&_0x5043ec[_0x1907cf(0x47d)]===_0x58c59d[_0x1907cf(0x517)][_0x1907cf(0x47d)]&&_0x5043ec[_0x1907cf(0x235)]===_0x58c59d[_0x1907cf(0x517)][_0x1907cf(0x3e4)]&&_0x5043ec['row']===_0x13fe00[_0x1907cf(0x642)]&&_0x5043ec[_0x1907cf(0x3c4)]===_0x13fe00['column']||this['_openCellEditor'](_0x58c59d[_0x1907cf(0x517)],_0x13fe00);}['_openCellEditor'](_0x10fa5d,_0x433a0c,_0x42eb63){const _0x4b6b50=_0x19aaa2;var _0x78ae0d,_0x2a4756,_0x437a17,_0xb61ef6;if(_0x10fa5d[_0x4b6b50(0x354)][_0x4b6b50(0x5af)]!==_0x2af70c[_0x4b6b50(0x1a9)])return;let _0xf179d1=_0x10fa5d['element'],_0x1772ae={'unitId':_0x10fa5d['unitId'],'subUnitId':_0x10fa5d[_0x4b6b50(0x47d)],'elementId':_0x10fa5d[_0x4b6b50(0x3e4)],'tableId':_0xf179d1[_0x4b6b50(0x546)],'row':_0x433a0c[_0x4b6b50(0x642)],'column':_0x433a0c['column'],'drawingTransform':_0x10fa5d[_0x4b6b50(0x438)]},_0x57a51f=(_0x42eb63==null?void 0x0:_0x42eb63['initialText'])===void 0x0?this[_0x4b6b50(0x718)](_0x433a0c[_0x4b6b50(0x283)],_0x433a0c[_0x4b6b50(0x642)],_0x433a0c[_0x4b6b50(0x3c4)]):tc(this[_0x4b6b50(0x718)](_0x433a0c[_0x4b6b50(0x283)],_0x433a0c['row'],_0x433a0c[_0x4b6b50(0x3c4)]),_0x42eb63[_0x4b6b50(0x282)]),_0x372433=this[_0x4b6b50(0x224)](_0x433a0c[_0x4b6b50(0x729)],_0x433a0c[_0x4b6b50(0x4fc)],_0x433a0c['cell'],_0x57a51f);if(!_0x372433)return;this[_0x4b6b50(0x603)]();let _0x4fd914=yu(_0x1772ae);this[_0x4b6b50(0x432)]();let _0x16e28f=(this[_0x4b6b50(0x323)]??0x0)+0x1;if(this['_editorSessionId']=_0x16e28f,this[_0x4b6b50(0x240)]=_0x4fd914,_0x42eb63!=null&&_0x42eb63[_0x4b6b50(0x229)]){var _0x13824e,_0x5c30a1;let _0x4ce262=(_0x13824e=(_0x5c30a1=this[_0x4b6b50(0x3a4)])[_0x4b6b50(0x55b)])==null?void 0x0:_0x13824e['call'](_0x5c30a1);this[_0x4b6b50(0x3a4)]['complete'](_0x4ce262==null?void 0x0:_0x4ce262[_0x4b6b50(0x43f)],_0x4ce262==null?void 0x0:_0x4ce262[_0x4b6b50(0x585)],_0x4ce262==null?void 0x0:_0x4ce262[_0x4b6b50(0x243)]);}else this[_0x4b6b50(0x3a4)][_0x4b6b50(0x714)]();(_0x78ae0d=(_0x2a4756=_0x433a0c[_0x4b6b50(0x729)])['setEditingCell'])==null||_0x78ae0d['call'](_0x2a4756,{'row':_0x433a0c[_0x4b6b50(0x1b0)][_0x4b6b50(0x642)],'column':_0x433a0c[_0x4b6b50(0x1b0)][_0x4b6b50(0x3c4)]});let _0x2b09cd=this[_0x4b6b50(0x4a3)][_0x4b6b50(0x2c2)](_0x1772ae);(_0x437a17=(_0xb61ef6=_0x433a0c['object'])[_0x4b6b50(0x4d5)])==null||_0x437a17[_0x4b6b50(0x273)](_0xb61ef6,{'kind':fu(_0x2b09cd[_0x4b6b50(0x3c2)]),'ranges':_0x2b09cd[_0x4b6b50(0x568)],'active':{'row':_0x433a0c[_0x4b6b50(0x642)],'column':_0x433a0c[_0x4b6b50(0x3c4)]}}),this['_makeSceneDirty'](),this[_0x4b6b50(0x367)](!0x1),this[_0x4b6b50(0x570)]=this[_0x4b6b50(0x3a4)][_0x4b6b50(0x2ff)]({'editorId':tu,'documentData':_0x57a51f,'layout':_0x372433,'context':_0x1772ae,'appearance':_0x4b6b50(0x65e),'autoFocus':!0x0,'hideFloatingToolbarAlignment':!0x0,'cellFillColor':Tu(_0x433a0c[_0x4b6b50(0x283)],_0x433a0c[_0x4b6b50(0x1b0)]),'isSingle':!0x1,'onCellFillColorChange':(_0x4db50d,_0x19a6db)=>{this['_commitCellStyle'](_0x19a6db,{'fill':wu(_0x4db50d)});},'onChange':(_0x28ec2e,_0x23638d)=>{this['_previewCellDocument'](_0x28ec2e,_0x23638d,_0x16e28f);},'onComplete':(_0x35b0fc,_0x502bd8)=>{const _0x429114=_0x4b6b50;this[_0x429114(0x674)](_0x35b0fc,_0x502bd8,_0x16e28f);},'onCancel':_0x4c671c=>{const _0x57cafc=_0x4b6b50;this[_0x57cafc(0x3d0)](_0x4c671c,_0x16e28f);},'onPointerDown':(_0x4cf71b,_0x2b0614)=>this[_0x4b6b50(0x6ea)](_0x4cf71b,_0x2b0614,_0x16e28f),'onKeyDown':(_0x21bd15,_0x2f739d)=>this[_0x4b6b50(0x1c0)](_0x21bd15,_0x2f739d,_0x16e28f)});}[_0x19aaa2(0x6ea)](_0x5489b0,_0x2e1547,_0x38c5c0){const _0x5c548c=_0x19aaa2;var _0x34cdef;if(!_0x2e1547||!this[_0x5c548c(0x505)](_0x2e1547,_0x38c5c0))return!0x1;let _0x388fa4=this[_0x5c548c(0x5f6)][_0x5c548c(0x512)](_0x2e1547['unitId'],_0x2e1547[_0x5c548c(0x546)]),_0x505cea=this[_0x5c548c(0x3b4)](_0x2e1547[_0x5c548c(0x1e5)],_0x2e1547['subUnitId'],_0x2e1547[_0x5c548c(0x235)]);if(!_0x388fa4||!_0x505cea||_0x505cea['element'][_0x5c548c(0x5af)]!==_0x2af70c[_0x5c548c(0x1a9)])return!0x1;let _0x3d2444=_0x50b4f6(_0x2e1547[_0x5c548c(0x1e5)],_0x2e1547[_0x5c548c(0x47d)],_0x2e1547[_0x5c548c(0x235)]),_0x3a52c9=this[_0x5c548c(0x5c2)][_0x5c548c(0x579)][_0x5c548c(0x293)](_0x3d2444);if(!_0x3a52c9)return!0x1;let _0x15a293=this[_0x5c548c(0x29d)](_0x5489b0),_0x5b7182=this['_resolveCellHit'](_0x505cea,_0x3d2444,_0x15a293['x'],_0x15a293['y']);return!_0x5b7182||_0x5b7182[_0x5c548c(0x642)]===_0x2e1547[_0x5c548c(0x642)]&&_0x5b7182['column']===_0x2e1547[_0x5c548c(0x3c4)]?!0x1:((_0x34cdef=_0x5489b0[_0x5c548c(0x626)])==null||_0x34cdef[_0x5c548c(0x273)](_0x5489b0),this['_openCellEditor'](_0x505cea,{'table':_0x388fa4,'model':_0x5b7182[_0x5c548c(0x4fc)],'cell':_0x5b7182[_0x5c548c(0x1b0)],'row':_0x5b7182['row'],'column':_0x5b7182[_0x5c548c(0x3c4)],'object':_0x3a52c9},{'handoffCurrent':!0x0}),!0x0);}[_0x19aaa2(0x1c0)](_0x14737a,_0xb94082,_0x2572cc){const _0x24ec15=_0x19aaa2;var _0x459e4c,_0x436de2;if(!_0xb94082||!this[_0x24ec15(0x505)](_0xb94082,_0x2572cc))return!0x1;let _0x16656b=su(_0x14737a);if(!_0x16656b)return!0x1;let _0x33cce9=this[_0x24ec15(0x5f6)]['getTable'](_0xb94082[_0x24ec15(0x1e5)],_0xb94082[_0x24ec15(0x546)]),_0x264e25=this[_0x24ec15(0x3b4)](_0xb94082[_0x24ec15(0x1e5)],_0xb94082[_0x24ec15(0x47d)],_0xb94082[_0x24ec15(0x235)]);if(!_0x33cce9||!_0x264e25||_0x264e25[_0x24ec15(0x354)]['type']!==_0x2af70c[_0x24ec15(0x1a9)])return!0x1;let _0x58bd18=qa({'row':_0xb94082[_0x24ec15(0x642)],'column':_0xb94082['column']},{'rowDelta':_0x16656b[_0x24ec15(0x584)],'columnDelta':_0x16656b['columnDelta'],'wrap':_0x16656b[_0x24ec15(0x1e7)]},_0x33cce9[_0x24ec15(0x416)][_0x24ec15(0x3b8)],_0x33cce9[_0x24ec15(0x389)][_0x24ec15(0x3b8)]);if(_0x58bd18['row']===_0xb94082[_0x24ec15(0x642)]&&_0x58bd18[_0x24ec15(0x3c4)]===_0xb94082['column'])return!0x1;let _0x316c40=_0x50b4f6(_0xb94082[_0x24ec15(0x1e5)],_0xb94082[_0x24ec15(0x47d)],_0xb94082[_0x24ec15(0x235)]),_0x24060e=this[_0x24ec15(0x5c2)][_0x24ec15(0x579)]['getObject'](_0x316c40);if(!_0x24060e)return!0x1;let _0x31dff4=_0x59b2f8(((_0x459e4c=_0x24060e[_0x24ec15(0x364)])==null?void 0x0:_0x459e4c['call'](_0x24060e))??_0x33cce9),_0x144112=_0x31dff4['cells'][_0x24ec15(0x3c6)](_0x475df9=>_0x475df9[_0x24ec15(0x642)]===_0x58bd18[_0x24ec15(0x642)]&&_0x475df9[_0x24ec15(0x3c4)]===_0x58bd18[_0x24ec15(0x3c4)]&&!_0x475df9['hidden'])??_0x31dff4[_0x24ec15(0x307)][_0x24ec15(0x3c6)](_0x1f1312=>!_0x1f1312[_0x24ec15(0x332)]&&_0x58bd18[_0x24ec15(0x642)]>=_0x1f1312['row']&&_0x58bd18[_0x24ec15(0x642)]<_0x1f1312[_0x24ec15(0x642)]+_0x1f1312[_0x24ec15(0x33b)]&&_0x58bd18['column']>=_0x1f1312[_0x24ec15(0x3c4)]&&_0x58bd18['column']<_0x1f1312['column']+_0x1f1312[_0x24ec15(0x6a7)]);if(!_0x144112)return!0x1;let _0x1aad75=this[_0x24ec15(0x3a4)][_0x24ec15(0x55b)]();if(!_0x1aad75)return!0x1;_0x14737a[_0x24ec15(0x521)](),_0x14737a[_0x24ec15(0x66e)](),this[_0x24ec15(0x3a4)][_0x24ec15(0x714)](_0x1aad75[_0x24ec15(0x43f)],_0x1aad75[_0x24ec15(0x585)],_0x1aad75[_0x24ec15(0x243)]);let _0x1b8d14=this[_0x24ec15(0x4a3)][_0x24ec15(0x5bb)]({'unitId':_0x264e25[_0x24ec15(0x1e5)],'subUnitId':_0x264e25['subUnitId'],'elementId':_0x264e25[_0x24ec15(0x3e4)],'tableId':_0x264e25[_0x24ec15(0x354)][_0x24ec15(0x546)],'row':_0x144112[_0x24ec15(0x642)],'column':_0x144112[_0x24ec15(0x3c4)]});return(_0x436de2=_0x24060e[_0x24ec15(0x4d5)])==null||_0x436de2['call'](_0x24060e,{'kind':fu(_0x1b8d14[_0x24ec15(0x3c2)]),'ranges':_0x1b8d14['ranges'],'active':{'row':_0x144112[_0x24ec15(0x642)],'column':_0x144112[_0x24ec15(0x3c4)]}}),this[_0x24ec15(0x603)](),this['_setTableKeyboardFocus'](!0x0),this[_0x24ec15(0x671)](),!0x0;}[_0x19aaa2(0x65a)](_0x43fd5f,_0xe216fd,_0x5b566e,_0x4a737f){const _0x41231c=_0x19aaa2;var _0x9611e0;if(_0x43fd5f['element'][_0x41231c(0x5af)]!==_0x2af70c[_0x41231c(0x1a9)]||_0x43fd5f[_0x41231c(0x2cd)])return null;let _0x50b5ef=this['_tableResourceService']['getTable'](_0x43fd5f['unitId'],_0x43fd5f['element'][_0x41231c(0x546)]);if(!_0x50b5ef)return null;let _0x4b4a4b=this['_renderContext']['scene'][_0x41231c(0x293)](_0xe216fd);if(!_0x4b4a4b||_0x4b4a4b[_0x41231c(0x5bc)])return null;let _0x1007c1=_0x59b2f8(((_0x9611e0=_0x4b4a4b[_0x41231c(0x364)])==null?void 0x0:_0x9611e0[_0x41231c(0x273)](_0x4b4a4b))??_0x50b5ef),_0x82fd30=this[_0x41231c(0x6d9)](_0x4b4a4b,_0x1007c1,_0x5b566e,_0x4a737f),_0x3173b9=Zs(_0x1007c1,_0x82fd30['x'],_0x82fd30['y']);if(!_0x3173b9)return null;let _0x32e153=_0x1007c1['cells'][_0x41231c(0x3c6)](_0x21e6ff=>_0x21e6ff[_0x41231c(0x642)]===_0x3173b9[_0x41231c(0x642)]&&_0x21e6ff[_0x41231c(0x3c4)]===_0x3173b9[_0x41231c(0x3c4)]&&!_0x21e6ff[_0x41231c(0x332)]);return _0x32e153?{'table':_0x50b5ef,'model':_0x1007c1,'cell':_0x32e153,'row':_0x3173b9[_0x41231c(0x642)],'column':_0x3173b9[_0x41231c(0x3c4)],'object':_0x4b4a4b}:null;}[_0x19aaa2(0x6d9)](_0x11ccfd,_0x339977,_0x2667c8,_0x32f52e){const _0x190c30=_0x19aaa2;let _0x3ad135=_0x11ccfd['getInverseCoord'](new _0x3b8fb7(_0x2667c8,_0x32f52e)),_0x1e9269=_0x3ad135['x']+_0x11ccfd[_0x190c30(0x530)]/0x2,_0xc71a35=_0x3ad135['y']+_0x11ccfd['height']/0x2,_0x3972fb=du(_0x339977[_0x190c30(0x530)]/_0x11ccfd[_0x190c30(0x530)],0x1),_0x2fe905=du(_0x339977[_0x190c30(0x1aa)]/_0x11ccfd[_0x190c30(0x1aa)],0x1);return{'x':_0x1e9269*_0x3972fb,'y':_0xc71a35*_0x2fe905};}[_0x19aaa2(0x224)](_0x10598f,_0x49c18c,_0x5ccf12,_0x387b36){const _0x5dec41=_0x19aaa2;var _0x6c0cd,_0x4613bb;if(!this[_0x5dec41(0x5c2)][_0x5dec41(0x54e)]['getCanvasElement']())return null;let _0x93e88a=this['_renderContext']['scene'][_0x5dec41(0x383)](),_0x55d57f=du(_0x93e88a[_0x5dec41(0x409)],0x1),_0x1ce7c5=du(_0x93e88a[_0x5dec41(0x70e)],0x1),_0x562bd0=nc({'rect':((_0x6c0cd=_0x10598f[_0x5dec41(0x2f8)])==null?void 0x0:_0x6c0cd['call'](_0x10598f,_0x5ccf12['row'],_0x5ccf12[_0x5dec41(0x3c4)],_0x10598f['width'],_0x10598f[_0x5dec41(0x1aa)]))??_0x332c61({'cell':_0x5ccf12,'tableWidth':_0x49c18c[_0x5dec41(0x530)],'tableHeight':_0x49c18c[_0x5dec41(0x1aa)],'targetWidth':_0x10598f[_0x5dec41(0x530)],'targetHeight':_0x10598f[_0x5dec41(0x1aa)],'includeMargins':!0x0}),'tableTransform':{'left':_0x10598f[_0x5dec41(0x374)],'top':_0x10598f[_0x5dec41(0x573)],'width':_0x10598f[_0x5dec41(0x530)],'height':_0x10598f[_0x5dec41(0x1aa)],'angle':_0x10598f[_0x5dec41(0x4b9)],'flipX':_0x10598f[_0x5dec41(0x275)],'flipY':_0x10598f['flipY']},'scale':{'scaleX':_0x55d57f,'scaleY':_0x1ce7c5},'scenePointToViewportPoint':_0x2cfe2d=>this[_0x5dec41(0x3a6)](_0x2cfe2d)}),_0x21d813=_0x5ccf12[_0x5dec41(0x33c)][_0x5dec41(0x659)],_0x25570d=(_0x4613bb=_0x387b36['documentStyle'])==null?void 0x0:_0x4613bb['renderConfig'];return{..._0x562bd0,'horizontalAlign':_0x25570d==null?void 0x0:_0x25570d[_0x5dec41(0x709)],'isHorizontal':_0x21d813!=='vertical'&&_0x21d813!==_0x5dec41(0x541),'verticalAlign':bu(_0x5ccf12[_0x5dec41(0x33c)]['verticalAlign'])??(_0x25570d==null?void 0x0:_0x25570d['verticalAlign'])};}[_0x19aaa2(0x3a6)](_0x44be6e){const _0x2d12da=_0x19aaa2;var _0x482250,_0x41ecae,_0x47f720;let _0x31debc=this[_0x2d12da(0x5c2)]['scene'],_0x25a491=(_0x482250=_0x31debc[_0x2d12da(0x635)])==null?void 0x0:_0x482250[_0x2d12da(0x273)](_0x31debc)[0x0],_0x260ecd=_0x25a491==null||(_0x41ecae=_0x25a491['getAbsoluteVector'])==null?void 0x0:_0x41ecae[_0x2d12da(0x273)](_0x25a491,new _0x3b8fb7(_0x44be6e['x'],_0x44be6e['y']));if(_0x260ecd)return{'x':_0x260ecd['x'],'y':_0x260ecd['y']};let _0x61d94a=this[_0x2d12da(0x5c2)][_0x2d12da(0x54e)][_0x2d12da(0x2e1)](),_0x327065=(_0x61d94a==null||(_0x47f720=_0x61d94a[_0x2d12da(0x370)])==null?void 0x0:_0x47f720['call'](_0x61d94a))??{'left':0x0,'top':0x0},_0x59a6c9=_0x31debc[_0x2d12da(0x383)](),_0x4cba23=du(_0x59a6c9[_0x2d12da(0x409)],0x1),_0x3df228=du(_0x59a6c9[_0x2d12da(0x70e)],0x1);return{'x':_0x327065[_0x2d12da(0x374)]+_0x44be6e['x']*_0x4cba23,'y':_0x327065[_0x2d12da(0x573)]+_0x44be6e['y']*_0x3df228};}[_0x19aaa2(0x718)](_0x30d908,_0x48922a,_0x2b1754){const _0x242c6e=_0x19aaa2;var _0x1e0cb7;let _0xee4edd=tu+'_'+_0x30d908['id']+'_'+_0x48922a+'_'+_0x2b1754;return ic(((_0x1e0cb7=_0x30d908[_0x242c6e(0x416)][_0x48922a])==null||(_0x1e0cb7=_0x1e0cb7[_0x242c6e(0x307)][_0x2b1754])==null?void 0x0:_0x1e0cb7[_0x242c6e(0x427)])||{'id':_0xee4edd,'body':{'dataStream':'\x0d\x0a'},'documentStyle':{}},_0xee4edd);}[_0x19aaa2(0x674)](_0x12c685,_0x472c23,_0x543cca){const _0x3e7cfc=_0x19aaa2;var _0x3fb990;if(!_0x472c23)return;let _0x505f7a=this[_0x3e7cfc(0x5f6)][_0x3e7cfc(0x512)](_0x472c23[_0x3e7cfc(0x1e5)],_0x472c23[_0x3e7cfc(0x546)]);if(!_0x505f7a){this['_isCurrentEditorSession'](_0x472c23,_0x543cca)&&this['_tableSelectionService'][_0x3e7cfc(0x463)]();return;}let _0x3a5f09=tu+'_'+_0x505f7a['id']+'_'+_0x472c23[_0x3e7cfc(0x642)]+'_'+_0x472c23['column'],_0x487664=ic(_0x4c828e(_0x12c685),_0x3a5f09),_0x3df318=xu((_0x3fb990=_0x487664[_0x3e7cfc(0x725)])==null||(_0x3fb990=_0x3fb990[_0x3e7cfc(0x231)])==null?void 0x0:_0x3fb990[_0x3e7cfc(0x4db)]),_0x398782=_0x573214(_0x505f7a,_0x472c23[_0x3e7cfc(0x642)],_0x472c23[_0x3e7cfc(0x3c4)],_0x487664,{'verticalAlign':_0x3df318});if(!_0x398782){this[_0x3e7cfc(0x505)](_0x472c23,_0x543cca)&&this['_tableSelectionService'][_0x3e7cfc(0x463)]();return;}this[_0x3e7cfc(0x1f0)][_0x3e7cfc(0x5d7)](_0xeaf0f0['id'],{'unitId':_0x472c23[_0x3e7cfc(0x1e5)],'tableId':_0x472c23[_0x3e7cfc(0x546)],'patch':_0x398782}),this[_0x3e7cfc(0x3d0)](_0x472c23,_0x543cca);}[_0x19aaa2(0x500)](_0x333b0e,_0x4d2dbd,_0x58f75f){const _0x473694=_0x19aaa2;var _0x2e674e,_0x22e895;if(!_0x4d2dbd||!this[_0x473694(0x505)](_0x4d2dbd,_0x58f75f))return;let _0x3577b6=this[_0x473694(0x5f6)][_0x473694(0x512)](_0x4d2dbd[_0x473694(0x1e5)],_0x4d2dbd[_0x473694(0x546)]);if(!_0x3577b6)return;let _0x4f88f0=tu+'_'+_0x3577b6['id']+'_'+_0x4d2dbd[_0x473694(0x642)]+'_'+_0x4d2dbd[_0x473694(0x3c4)],_0x239ce2=ic(_0x4c828e(_0x333b0e),_0x4f88f0),_0x2101c1=xu((_0x2e674e=_0x239ce2[_0x473694(0x725)])==null||(_0x2e674e=_0x2e674e[_0x473694(0x231)])==null?void 0x0:_0x2e674e[_0x473694(0x4db)]),_0x5b011e=_0x573214(_0x3577b6,_0x4d2dbd['row'],_0x4d2dbd[_0x473694(0x3c4)],_0x239ce2,{'verticalAlign':_0x2101c1});if(!_0x5b011e)return;let _0x4d81be=this[_0x473694(0x5c2)][_0x473694(0x579)][_0x473694(0x293)](_0x50b4f6(_0x4d2dbd[_0x473694(0x1e5)],_0x4d2dbd['subUnitId'],_0x4d2dbd[_0x473694(0x235)]));_0x4d81be==null||(_0x22e895=_0x4d81be['setPreviewTable'])==null||_0x22e895[_0x473694(0x273)](_0x4d81be,{..._0x3577b6,..._0x5b011e}),this[_0x473694(0x468)](),this[_0x473694(0x671)]();}[_0x19aaa2(0x566)](_0x349131,_0x10cfa7,_0x5ddf23){}[_0x19aaa2(0x6fa)](_0x3ed3e3,_0x4ebc84,_0x36b05b,_0xa022c,_0x1ee1d7,_0x200b00,_0x36b605,_0x21208b){const _0x89b58f=_0x19aaa2;var _0x43f94d;let _0x1fe72d=this[_0x89b58f(0x3a4)][_0x89b58f(0x55b)]();_0x1fe72d&&this[_0x89b58f(0x505)](_0x1fe72d[_0x89b58f(0x25e)],_0x36b05b)&&((_0x43f94d=_0x3ed3e3[_0x89b58f(0x626)])==null||_0x43f94d['call'](_0x3ed3e3),this[_0x89b58f(0x3a4)][_0x89b58f(0x714)](_0x1fe72d[_0x89b58f(0x43f)],_0x1fe72d[_0x89b58f(0x585)]),this[_0x89b58f(0x621)]={'drawing':_0xa022c,'objectKey':_0x1ee1d7,'object':_0x200b00,'table':_0x36b605,'anchor':{'row':_0x4ebc84['row'],'column':_0x4ebc84['column']},'current':{'row':_0x4ebc84[_0x89b58f(0x642)],'column':_0x4ebc84['column']}},this['_bindRangeDragWindowEvents'](),this[_0x89b58f(0x53c)](this[_0x89b58f(0x621)],{'row':_0x21208b['row'],'column':_0x21208b[_0x89b58f(0x3c4)]}));}['_bindRangeDragWindowEvents'](){const _0x391054=_0x19aaa2;if(this[_0x391054(0x3a7)]||typeof window>'u')return;let _0x31de36=_0x2a4e1f=>{const _0x2b6b65=_0x391054;this[_0x2b6b65(0x4c2)](_0x2a4e1f);},_0x3a1ea0=()=>{const _0xcc88fa=_0x391054;this[_0xcc88fa(0x5a0)]();};window['addEventListener'](_0x391054(0x3fd),_0x31de36),window[_0x391054(0x37a)](_0x391054(0x1c8),_0x3a1ea0),window[_0x391054(0x37a)](_0x391054(0x3f8),_0x3a1ea0),this[_0x391054(0x3a7)]=()=>{const _0x43bf35=_0x391054;window['removeEventListener'](_0x43bf35(0x3fd),_0x31de36),window[_0x43bf35(0x720)]('pointerup',_0x3a1ea0),window[_0x43bf35(0x720)](_0x43bf35(0x3f8),_0x3a1ea0),this['_rangeDragWindowCleanup']=null;};}[_0x19aaa2(0x5a0)](){const _0x48eba9=_0x19aaa2;let _0x375a3d=this[_0x48eba9(0x3a7)];_0x375a3d&&_0x375a3d(),this[_0x48eba9(0x621)]=null;}[_0x19aaa2(0x5c9)](_0x4d0dd5,_0x3efe2d){const _0x3ec55c=_0x19aaa2;var _0x1cbc63;_0x4d0dd5&&((_0x1cbc63=this[_0x3ec55c(0x621)])==null?void 0x0:_0x1cbc63['drawing']['unitId'])===_0x4d0dd5[_0x3ec55c(0x1e5)]&&this['_rangeDragContext'][_0x3ec55c(0x517)]['drawingId']===_0x4d0dd5[_0x3ec55c(0x235)]&&this[_0x3ec55c(0x5a0)]();}[_0x19aaa2(0x3e2)](_0x382911,_0x357a91){const _0x23e486=_0x19aaa2;if(!_0x382911)return;let _0x4640e1=this[_0x23e486(0x5f6)][_0x23e486(0x512)](_0x382911['unitId'],_0x382911['tableId']);if(!_0x4640e1){this[_0x23e486(0x4a3)][_0x23e486(0x463)]();return;}let _0x11ed0a=_0x257efd[_0x23e486(0x206)](_0x4640e1[_0x23e486(0x416)]),_0x215921=_0x11ed0a[_0x382911['row']],_0x19075c=_0x215921==null?void 0x0:_0x215921['cells'][_0x382911[_0x23e486(0x3c4)]];_0x215921&&_0x19075c&&(_0x215921[_0x23e486(0x307)][_0x382911[_0x23e486(0x3c4)]]={..._0x19075c,'style':Su(_0x19075c['style'],_0x357a91)},this[_0x23e486(0x1f0)][_0x23e486(0x567)](_0xeaf0f0['id'],{'unitId':_0x382911[_0x23e486(0x1e5)],'tableId':_0x382911['tableId'],'patch':{'rows':_0x11ed0a}}));}[_0x19aaa2(0x3d0)](_0x2022d0,_0x39ec1f){const _0x4c6637=_0x19aaa2;var _0x1df7ef,_0xb4beec,_0xa7af8d,_0x39a12c;if(!this[_0x4c6637(0x505)](_0x2022d0,_0x39ec1f)||(this[_0x4c6637(0x4a3)]['clear'](),this[_0x4c6637(0x570)]=null,this[_0x4c6637(0x240)]=null,this['_setTableKeyboardFocus'](!0x1),!_0x2022d0))return;this[_0x4c6637(0x3fb)][_0x4c6637(0x6b7)](_0x2022d0[_0x4c6637(0x1e5)]);let _0x60f2b9=this['_renderContext'][_0x4c6637(0x579)]['getObject'](_0x50b4f6(_0x2022d0[_0x4c6637(0x1e5)],_0x2022d0[_0x4c6637(0x47d)],_0x2022d0[_0x4c6637(0x235)]));_0x60f2b9==null||(_0x1df7ef=_0x60f2b9[_0x4c6637(0x634)])==null||_0x1df7ef[_0x4c6637(0x273)](_0x60f2b9,null),_0x60f2b9==null||(_0xb4beec=_0x60f2b9['setTableSelection'])==null||_0xb4beec[_0x4c6637(0x273)](_0x60f2b9,null),_0x60f2b9==null||(_0xa7af8d=_0x60f2b9[_0x4c6637(0x2d1)])==null||_0xa7af8d['call'](_0x60f2b9,null),_0x60f2b9==null||(_0x39a12c=_0x60f2b9['setPreviewTable'])==null||_0x39a12c[_0x4c6637(0x273)](_0x60f2b9,null),this[_0x4c6637(0x473)](_0x2022d0),this[_0x4c6637(0x671)]();}['_isCurrentEditorSession'](_0x13d121,_0x2240bb){const _0x5eea91=_0x19aaa2;return _0x13d121?_0x2240bb!==void 0x0&&_0x2240bb!==this['_editorSessionId']?!0x1:this[_0x5eea91(0x240)]===yu(_0x13d121):_0x2240bb===void 0x0||_0x2240bb===this[_0x5eea91(0x323)];}[_0x19aaa2(0x473)](_0x35f6ab){const _0x522542=_0x19aaa2;var _0x130b42;this[_0x522542(0x4f5)][_0x522542(0x705)]({'unitId':_0x35f6ab['unitId'],'subUnitId':_0x35f6ab[_0x522542(0x47d)]},[_0x35f6ab[_0x522542(0x235)]],_0x35f6ab['elementId']);let _0x405faf=this['_renderContext'][_0x522542(0x579)][_0x522542(0x42f)](),_0x4e29b0=this[_0x522542(0x5c2)]['scene'][_0x522542(0x293)](_0x50b4f6(_0x35f6ab[_0x522542(0x1e5)],_0x35f6ab[_0x522542(0x47d)],_0x35f6ab[_0x522542(0x235)]));_0x405faf&&_0x4e29b0&&!_0x4e29b0[_0x522542(0x5bc)]&&((_0x130b42=_0x405faf[_0x522542(0x624)])==null||_0x130b42[_0x522542(0x273)](_0x405faf,_0x4e29b0));}['_makeSceneDirty'](){const _0xde094a=_0x19aaa2;var _0x4662be,_0x2a4d86;(_0x4662be=(_0x2a4d86=this[_0xde094a(0x5c2)][_0xde094a(0x579)])['makeDirty'])==null||_0x4662be[_0xde094a(0x273)](_0x2a4d86,!0x0);}};ou=Ha([Q(0x1,_0x29de4d(_0xc5badc)),Q(0x2,_0x29de4d(_0x16aa1b)),Q(0x3,_0x29de4d(J)),Q(0x4,_0x90d026),Q(0x5,_0x29de4d(_0x16546c)),Q(0x6,_0x49d935),Q(0x7,_0x538857),Q(0x8,_0x29de4d(Ua)),Q(0x9,_0x715b7e),Q(0xa,_0xb9e027),Q(0xb,_0x29de4d(_0x45a49b)),Q(0xc,_0x3620dd),Q(0xd,_0x4c940d),Q(0xe,_0x200fbd),Q(0xf,_0x29de4d(_0x50a1be))],ou);function su(_0x1729b4){const _0x239934=_0x19aaa2;if(_0x1729b4['altKey']||_0x1729b4[_0x239934(0x5a4)]||_0x1729b4[_0x239934(0x419)])return null;switch(_0x1729b4[_0x239934(0x317)]){case _0x239934(0x6d8):return{'rowDelta':0x0,'columnDelta':_0x1729b4['shiftKey']?-0x1:0x1,'wrap':!0x0};default:return null;}}function cu(_0x4d3e86){const _0x51fda6=_0x19aaa2;let _0x47cbea={'preventDefault':()=>{},'stopPropagation':()=>{}};switch(_0x4d3e86){case _0x51fda6(0x48b):case'extend-left':return{..._0x47cbea,'key':_0x51fda6(0x4da)};case'move-right':case _0x51fda6(0x670):return{..._0x47cbea,'key':'ArrowRight'};case'move-up':case _0x51fda6(0x655):return{..._0x47cbea,'key':_0x51fda6(0x277)};case _0x51fda6(0x550):case'extend-down':return{..._0x47cbea,'key':_0x51fda6(0x44c)};case _0x51fda6(0x687):return{..._0x47cbea,'key':'Tab'};case _0x51fda6(0x299):return{..._0x47cbea,'key':_0x51fda6(0x6d8),'shiftKey':!0x0};case _0x51fda6(0x1d7):return{..._0x47cbea,'key':_0x51fda6(0x22a)};default:return null;}}function lu(_0x59cc23,_0x294214){const _0x1587c0=_0x19aaa2;let _0x43ee76=_0x59cc23[_0x1587c0(0x354)][_0x1587c0(0x438)],_0x1eba62=_0x59cc23[_0x1587c0(0x438)];return{'left':_0x43ee76['left']??(_0x1eba62==null?void 0x0:_0x1eba62[_0x1587c0(0x374)])??0x0,'top':_0x43ee76[_0x1587c0(0x573)]??(_0x1eba62==null?void 0x0:_0x1eba62[_0x1587c0(0x573)])??0x0,'width':_0x43ee76[_0x1587c0(0x530)]??(_0x1eba62==null?void 0x0:_0x1eba62[_0x1587c0(0x530)])??(_0x294214==null?void 0x0:_0x294214[_0x1587c0(0x530)]),'height':_0x43ee76[_0x1587c0(0x1aa)]??(_0x1eba62==null?void 0x0:_0x1eba62['height'])??(_0x294214==null?void 0x0:_0x294214['height']),'angle':_0x43ee76[_0x1587c0(0x707)]??(_0x1eba62==null?void 0x0:_0x1eba62[_0x1587c0(0x4b9)])??0x0,'flipX':_0x43ee76['flipX']??(_0x1eba62==null?void 0x0:_0x1eba62[_0x1587c0(0x275)]),'flipY':_0x43ee76[_0x1587c0(0x4c3)]??(_0x1eba62==null?void 0x0:_0x1eba62[_0x1587c0(0x4c3)])};}function uu(_0x4f5a11,_0x550f4b=0x0){const _0x3c9881=_0x19aaa2;return typeof _0x4f5a11==_0x3c9881(0x316)&&Number[_0x3c9881(0x44d)](_0x4f5a11)?_0x4f5a11:_0x550f4b;}function du(_0x185011,_0x181a00){let _0x2dd6c7=uu(_0x185011,_0x181a00);return _0x2dd6c7>0x0?_0x2dd6c7:_0x181a00;}function fu(_0x409da5){const _0x107881=_0x19aaa2;return _0x409da5===_0x107881(0x4a1)?void 0x0:_0x409da5;}function pu(_0x5eb738){const _0x954cda=_0x19aaa2;let _0x278b51=_0x5eb738[0x0];if(_0x278b51)return{'row':Math[_0x954cda(0x1df)](_0x278b51['startRow'],_0x278b51[_0x954cda(0x3cd)]),'column':Math['min'](_0x278b51[_0x954cda(0x2f4)],_0x278b51[_0x954cda(0x434)])};}function mu(_0x3d430f,_0x2357d5){const _0x28962c=_0x19aaa2;let _0x19af61=du(_0x2357d5,0x1),_0x3a8f0b=_0x3d430f[_0x28962c(0x694)](_0xa8bc9e=>du(_0xa8bc9e,0x1)),_0x1aa41c=_0x3a8f0b['reduce']((_0x3a5ad8,_0x1dfca2)=>_0x3a5ad8+_0x1dfca2,0x0);return _0x3a8f0b[_0x28962c(0x694)](_0x57aab7=>_0x57aab7/_0x1aa41c*_0x19af61);}function hu(_0x2b7a1b,_0x3806b1){const _0x112300=_0x19aaa2;let _0x3301bb=0x0,_0x2a285a={'index':0x0,'distance':Math['abs'](_0x3806b1)};for(let _0x5a8d16=0x0;_0x5a8d16<_0x2b7a1b['length'];_0x5a8d16+=0x1){_0x3301bb+=_0x2b7a1b[_0x5a8d16];let _0x56bfd1=Math[_0x112300(0x3a3)](_0x3806b1-_0x3301bb);_0x56bfd1<_0x2a285a['distance']&&(_0x2a285a={'index':_0x5a8d16+0x1,'distance':_0x56bfd1});}return _0x2a285a[_0x112300(0x328)];}function gu(_0x268c67,_0x1b34c5,_0x9867e4){const _0x417078=_0x19aaa2;let _0x2defe6=0x0,_0x19f36f=null;for(let _0x3c97be=0x0;_0x3c97be<_0x268c67['length']-0x1;_0x3c97be+=0x1){_0x2defe6+=_0x268c67[_0x3c97be];let _0x46a9fe=Math[_0x417078(0x3a3)](_0x1b34c5-_0x2defe6);_0x46a9fe>_0x9867e4||(!_0x19f36f||_0x46a9fe<_0x19f36f['distance'])&&(_0x19f36f={'boundaryIndex':_0x3c97be+0x1,'distance':_0x46a9fe});}return _0x19f36f;}function _u(_0xb29c1,_0x69d6,_0x63974b,_0x5f5cfa){const _0x511891=_0x19aaa2;let _0x3e167e=_0x69d6-0x1,_0x5b847f=_0x69d6;if(_0x3e167e<0x0||_0x5b847f>=_0xb29c1[_0x511891(0x3b8)])return _0xb29c1;let _0x4e5da4=_0xb29c1[_0x3e167e],_0x39dc08=_0xb29c1[_0x5b847f],_0x5d8f6d=_0x5f5cfa-_0x4e5da4,_0x2e8630=_0x39dc08-_0x5f5cfa,_0x276714=Math[_0x511891(0x1df)](Math[_0x511891(0x6f0)](_0x63974b,_0x5d8f6d),_0x2e8630),_0x483e86=_0xb29c1[_0x511891(0x5b0)]();return _0x483e86[_0x3e167e]=_0x4e5da4+_0x276714,_0x483e86[_0x5b847f]=_0x39dc08-_0x276714,_0x483e86;}function vu(_0x51bfc2,_0x3b0e1e,_0xfa1ca1){const _0x3f8e38=_0x19aaa2;return _0xfa1ca1===_0x3f8e38(0x3c4)?_0x51bfc2[_0x3f8e38(0x389)]['some']((_0x5a898e,_0x22dd37)=>{const _0x4c410f=_0x3f8e38;var _0x14bbb4;return _0x5a898e['width']!==((_0x14bbb4=_0x3b0e1e[_0x4c410f(0x389)][_0x22dd37])==null?void 0x0:_0x14bbb4['width']);}):_0x51bfc2['rows']['some']((_0x3b0d9e,_0x550cab)=>{const _0x4ba2a5=_0x3f8e38;var _0x53dec9;return(_0x3b0d9e['height']??0x18)!==(((_0x53dec9=_0x3b0e1e['rows'][_0x550cab])==null?void 0x0:_0x53dec9[_0x4ba2a5(0x1aa)])??0x18);});}function yu(_0x59426c){const _0x5718ef=_0x19aaa2;return _0x59426c[_0x5718ef(0x1e5)]+':'+_0x59426c['subUnitId']+':'+_0x59426c[_0x5718ef(0x235)]+':'+_0x59426c['tableId']+':'+_0x59426c[_0x5718ef(0x642)]+':'+_0x59426c[_0x5718ef(0x3c4)];}function bu(_0x497eaa){const _0xac12b5=_0x19aaa2;if(_0x497eaa===_0xac12b5(0x70b))return _0x392db0[_0xac12b5(0x2f5)];if(_0x497eaa===_0xac12b5(0x662))return _0x392db0[_0xac12b5(0x310)];if(_0x497eaa==='top')return _0x392db0[_0xac12b5(0x1a2)];}function xu(_0x708724){const _0x38bd1c=_0x19aaa2;if(_0x708724===_0x392db0['MIDDLE'])return _0x2fcbc6['Middle'];if(_0x708724===_0x392db0['BOTTOM'])return _0x2fcbc6['Bottom'];if(_0x708724===_0x392db0[_0x38bd1c(0x1a2)])return _0x2fcbc6[_0x38bd1c(0x20f)];}function Su(_0x2a0ac2,_0x667eae){const _0x1c387b=_0x19aaa2;return{..._0x2a0ac2,..._0x667eae,..._0x667eae['fill']?{'fill':{..._0x2a0ac2==null?void 0x0:_0x2a0ac2[_0x1c387b(0x40d)],..._0x667eae['fill']}}:{},..._0x667eae[_0x1c387b(0x3a5)]?{'borders':{..._0x2a0ac2==null?void 0x0:_0x2a0ac2[_0x1c387b(0x3a5)],..._0x667eae['borders']}}:{},..._0x667eae[_0x1c387b(0x297)]?{'margins':{..._0x2a0ac2==null?void 0x0:_0x2a0ac2['margins'],..._0x667eae[_0x1c387b(0x297)]}}:{}};}function Cu(_0x2bc2f7){const _0x10894f=_0x19aaa2;if((_0x2bc2f7==null?void 0x0:_0x2bc2f7['type'])===_0x10894f(0x4a1))return _0x10894f(0x5cc);let _0x46807e=_0x2bc2f7==null?void 0x0:_0x2bc2f7['color'];if(!_0x46807e)return;let _0x406618=Ou(_0x46807e);if(_0x406618){let _0x21b888=Mu(_0x406618['a'])??0x1;return'rgba('+_0x406618['r']+',\x20'+_0x406618['g']+',\x20'+_0x406618['b']+',\x20'+Pu(_0x21b888)+')';}let _0x1097f6=ku(_0x46807e);if(!_0x1097f6)return _0x46807e;let _0x58a918=Mu(_0x2bc2f7[_0x10894f(0x2a5)])??0x1;return _0x10894f(0x281)+_0x1097f6['r']+',\x20'+_0x1097f6['g']+',\x20'+_0x1097f6['b']+',\x20'+Pu(_0x58a918)+')';}function wu(_0x11350a){let _0x2187dd=Ou(_0x11350a);if(_0x2187dd)return{'color':Au(_0x2187dd['r'],_0x2187dd['g'],_0x2187dd['b']),'alpha':Mu(_0x2187dd['a'])??0x1};let _0x2d123a=ku(_0x11350a);return _0x2d123a?{'color':Au(_0x2d123a['r'],_0x2d123a['g'],_0x2d123a['b'])}:{'color':_0x11350a};}function Tu(_0x507327,_0x539bce){const _0xd0f1f6=_0x19aaa2;return Cu(_0x539bce[_0xd0f1f6(0x33c)][_0xd0f1f6(0x40d)])??Eu(_0x507327,_0x539bce[_0xd0f1f6(0x642)]);}function Eu(_0x13ab34,_0x23a0c7){const _0x462dea=_0x19aaa2;return _0x13ab34[_0x462dea(0x2d0)][_0x462dea(0x5ac)]&&_0x23a0c7===0x0?_0x462dea(0x23a):_0x13ab34[_0x462dea(0x2d0)][_0x462dea(0x6b4)]&&_0x23a0c7%0x2==0x0?'#F7FAFF':'#FFFFFF';}function Du(_0xfb8695){const _0xd8f7f0=_0x19aaa2;return typeof _0xfb8695==_0xd8f7f0(0x316)&&Number['isFinite'](_0xfb8695);}function Ou(_0x189b6d){const _0x4cbceb=_0x19aaa2;let _0x12651c=/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*(\d+(?:\.\d+)?|\.\d+))?\s*\)$/i[_0x4cbceb(0x313)](_0x189b6d[_0x4cbceb(0x722)]());if(_0x12651c)return{'r':ju(Number[_0x4cbceb(0x6dd)](_0x12651c[0x1],0xa)),'g':ju(Number[_0x4cbceb(0x6dd)](_0x12651c[0x2],0xa)),'b':ju(Number[_0x4cbceb(0x6dd)](_0x12651c[0x3],0xa)),'a':_0x12651c[0x4]===void 0x0?0x1:Number[_0x4cbceb(0x345)](_0x12651c[0x4])};}function ku(_0x508fe5){const _0x5bc423=_0x19aaa2;let _0x4bd202=_0x508fe5['trim'](),_0x715743=/^#([0-9a-f]{3})$/i['exec'](_0x4bd202);if(_0x715743){let [_0xf2374f,_0x457d2b,_0x3770cb]=_0x715743[0x1]['split']('')['map'](_0x2130bd=>Number[_0x5bc423(0x6dd)](''+_0x2130bd+_0x2130bd,0x10));return{'r':_0xf2374f,'g':_0x457d2b,'b':_0x3770cb};}let _0x141d03=/^#([0-9a-f]{6})$/i[_0x5bc423(0x313)](_0x4bd202);if(_0x141d03)return{'r':Number[_0x5bc423(0x6dd)](_0x141d03[0x1][_0x5bc423(0x5b0)](0x0,0x2),0x10),'g':Number[_0x5bc423(0x6dd)](_0x141d03[0x1][_0x5bc423(0x5b0)](0x2,0x4),0x10),'b':Number[_0x5bc423(0x6dd)](_0x141d03[0x1][_0x5bc423(0x5b0)](0x4,0x6),0x10)};}function Au(_0x5079d2,_0x1af911,_0x504c58){const _0x1be4b9=_0x19aaa2;return('#'+[_0x5079d2,_0x1af911,_0x504c58][_0x1be4b9(0x694)](_0x3140e6=>ju(_0x3140e6)['toString'](0x10)[_0x1be4b9(0x5ab)](0x2,'0'))[_0x1be4b9(0x230)](''))[_0x1be4b9(0x547)]();}function ju(_0x2a08b9){const _0x4070ba=_0x19aaa2;return Number[_0x4070ba(0x44d)](_0x2a08b9)?Math['min'](0xff,Math['max'](0x0,Math[_0x4070ba(0x51f)](_0x2a08b9))):0x0;}function Mu(_0x322fe8){const _0x36ffc1=_0x19aaa2;if(typeof _0x322fe8==_0x36ffc1(0x316)&&Number[_0x36ffc1(0x44d)](_0x322fe8))return Nu(_0x322fe8<=0x1?_0x322fe8:_0x322fe8<=0x64?_0x322fe8/0x64:_0x322fe8/0x186a0);}function Nu(_0x19aa82){const _0x312022=_0x19aaa2;return Math[_0x312022(0x1df)](0x1,Math[_0x312022(0x6f0)](0x0,_0x19aa82));}function Pu(_0x259a3f){const _0x172e01=_0x19aaa2;return Number(_0x259a3f[_0x172e01(0x6fd)](0x4))[_0x172e01(0x50d)]();}function Fu(_0x1a4281){const _0x272f66=_0x19aaa2;return new DOMParser()[_0x272f66(0x4c7)](_0x1a4281,_0x272f66(0x696))[_0x272f66(0x59b)](_0x272f66(0x395))!==null;}async function Iu(_0x84aec3,_0x3461ed){const _0x399fde=_0x19aaa2;let _0x438659=_0x356a32(_0x84aec3);return _0x3461ed?Fu(_0x3461ed)?_0x438659[_0x399fde(0x3b8)]>0x0?_0x438659:_0x40f748(_0x3461ed):[]:_0x438659;}var Lu=class extends ou{[_0x19aaa2(0x689)](){const _0x5d6529=_0x19aaa2;this[_0x5d6529(0x3a8)](_0x48d5d0(this[_0x5d6529(0x4a3)][_0x5d6529(0x48a)][_0x5d6529(0x67b)](_0x5544ab=>{const _0x4ece2c=_0x5d6529;if(!_0x5544ab||_0x5544ab[_0x4ece2c(0x1e5)]!==this[_0x4ece2c(0x5c2)][_0x4ece2c(0x1e5)])return;let _0x41adc9=this[_0x4ece2c(0x6ad)](_0x5544ab);_0x41adc9&&(this[_0x4ece2c(0x6bd)](_0x41adc9[_0x4ece2c(0x517)],_0x41adc9['object'],_0x5544ab),this[_0x4ece2c(0x723)](_0x5544ab),this[_0x4ece2c(0x5c2)][_0x4ece2c(0x579)][_0x4ece2c(0x4dc)](!0x0));})));}[_0x19aaa2(0x6fb)](...[_0x2b2ebe,_0x59f9dc]){this['_selectTable'](_0x2b2ebe,_0x59f9dc);}[_0x19aaa2(0x69a)](...[_0xdf21ff]){const _0x1efd52=_0x19aaa2;_0xdf21ff instanceof Il&&_0xdf21ff[_0x1efd52(0x318)]['setEnabled'](!0x0);}[_0x19aaa2(0x42e)](){return!0x1;}['_handleSelectedTableBodyPointer'](...[_0x4e3f0e,_0x3c3d54,_0x3deffc,_0x187477,_0x491688,_0x3972f0]){const _0x50f9b8=_0x19aaa2;this[_0x50f9b8(0x6ca)](_0x4e3f0e,_0x3deffc,_0x187477,_0x491688,_0x3972f0);}[_0x19aaa2(0x4af)](...[_0x17fb3a,_0xb08390]){const _0x526f85=_0x19aaa2;_0x17fb3a instanceof Il&&_0x17fb3a[_0x526f85(0x318)][_0x526f85(0x4bf)]({'axis':_0xb08390[_0x526f85(0x633)][_0x526f85(0x474)],'index':_0xb08390['handle'][_0x526f85(0x569)]});}[_0x19aaa2(0x25d)](...[_0x23076a,_0x421931,_0xcd5ad7,_0x239244]){const _0x543ee4=_0x19aaa2;let _0x343f6a=_0x421931 instanceof Il?_0x421931[_0x543ee4(0x318)][_0x543ee4(0x1bc)](new _0x3b8fb7(_0xcd5ad7,_0x239244)):null;return(_0x343f6a==null?void 0x0:_0x343f6a['kind'])===_0x543ee4(0x698)&&_0x343f6a[_0x543ee4(0x642)]!==void 0x0?{'axis':'row','boundaryIndex':_0x343f6a[_0x543ee4(0x642)]+0x1}:(_0x343f6a==null?void 0x0:_0x343f6a[_0x543ee4(0x3c2)])===_0x543ee4(0x4e6)&&_0x343f6a[_0x543ee4(0x3c4)]!==void 0x0?{'axis':_0x543ee4(0x3c4),'boundaryIndex':_0x343f6a[_0x543ee4(0x3c4)]+0x1}:null;}[_0x19aaa2(0x20e)](...[_0x3ec2d1,_0x3527a1,_0x399179]){const _0x2723dd=_0x19aaa2;this[_0x2723dd(0x25a)](),_0x399179[_0x2723dd(0x3c2)]==='row-header'&&_0x399179['row']!==void 0x0?this[_0x2723dd(0x669)](_0x3ec2d1,_0x3527a1,_0x399179[_0x2723dd(0x642)],_0x399179['row']):_0x399179[_0x2723dd(0x3c2)]==='column-header'&&_0x399179[_0x2723dd(0x3c4)]!==void 0x0&&this[_0x2723dd(0x38c)](_0x3ec2d1,_0x3527a1,_0x399179['column'],_0x399179[_0x2723dd(0x3c4)]);}[_0x19aaa2(0x6d2)](...[_0x19d5be,_0x55d33a,_0x27920d,_0x3ba06e,_0x2cf3af]){const _0x4e88f5=_0x19aaa2;let _0x492eb2=this[_0x4e88f5(0x29d)](_0x27920d);if(this[_0x4e88f5(0x414)](_0x19d5be,_0x55d33a,_0x492eb2['x'],_0x492eb2['y'])){let _0x1605b4=setTimeout(()=>{const _0x52ff93=_0x4e88f5;this[_0x52ff93(0x572)]({'focusCell':!0x1}),this['_handleResizePointerDown'](_0x19d5be,_0x55d33a[_0x52ff93(0x411)],_0x55d33a,_0x27920d,_0x3ba06e);},0x1c2);_0x2cf3af[_0x4e88f5(0x651)](_0x48d5d0(()=>clearTimeout(_0x1605b4)));}}['_getMoveGestureScale'](){const _0x76bdbb=_0x19aaa2;return this[_0x76bdbb(0x5c2)]['scene'][_0x76bdbb(0x383)]()[_0x76bdbb(0x409)];}[_0x19aaa2(0x594)](...[_0xbf4f0b]){const _0x4d0312=_0x19aaa2;this[_0x4d0312(0x50c)](_0xbf4f0b);}['_isCellSelection'](...[_0x1b51c9]){const _0x12e18e=_0x19aaa2;return _0x1b51c9[_0x12e18e(0x3c2)]!=='table'&&super[_0x12e18e(0x6a8)](_0x1b51c9);}['_retainActiveCellEditor'](){return!0x0;}[_0x19aaa2(0x3b5)](...[_0x2ff7b4,_0x382645,_0x530a1d,_0x5d41da]){const _0x437d66=_0x19aaa2;if(!(_0x382645 instanceof Il))return!0x1;let _0x5b4c1b=this['_resolvePointerScenePoint'](_0x530a1d),_0x2def9c=_0x382645[_0x437d66(0x318)][_0x437d66(0x592)](new _0x3b8fb7(_0x5b4c1b['x'],_0x5b4c1b['y']));return _0x2def9c?this[_0x437d66(0x5d0)](_0x2ff7b4,_0x382645,_0x2def9c,_0x530a1d,_0x5d41da):!0x1;}[_0x19aaa2(0x538)](...[_0x21db02]){const _0x5e9307=_0x19aaa2;_0x21db02 instanceof Il&&_0x21db02[_0x5e9307(0x318)][_0x5e9307(0x4bf)](null);}};const Ru=_0x19aaa2(0x29a),zu=_0x19aaa2(0x5f1),Bu=_0x19aaa2(0x288),Vu='slides-table-ui.ribbon.text-control';function Hu(_0x2437d7,_0x47d77b){const _0x519fe8=_0x19aaa2;return{'id':_0x2437d7,'type':_0x57d79c[_0x519fe8(0x6e9)],'label':{'name':_0x47d77b,'hoverable':!0x1,'selectable':!0x1}};}function Uu(){return Hu(zu,Is);}function Wu(){return Hu(Bu,Ls);}function Gu(){return Hu(Vu,Rs);}function Ku(_0x2f6cf5){const _0x353806=_0x19aaa2;var _0x2f3f9d;let _0x4f4fe5=_0x2f6cf5[_0x353806(0x417)](fo),_0x79bfc2=((_0x2f3f9d=_0x2f6cf5[_0x353806(0x417)](_0x250757)[_0x353806(0x214)](_0x273e80))==null||(_0x2f3f9d=_0x2f3f9d[_0x353806(0x388)])==null?void 0x0:_0x2f3f9d['enabled'])!==!0x1;return{'id':po['id'],'type':_0x57d79c[_0x353806(0x6e9)],'icon':_0x353806(0x6cb),'title':_0x353806(0x4e1),'tooltip':_0x353806(0x4e1),'activated$':_0x4f4fe5['enabled$'],'disabled$':_0x79bfc2?void 0x0:_0x56587b(!0x0)};}const qu={'forward':{'id':aa['id'],'icon':_0x19aaa2(0x554),'title':'slides-table-ui.ribbon.arrangeForward'},'backward':{'id':oa['id'],'icon':_0x19aaa2(0x1c7),'title':_0x19aaa2(0x6d1)},'front':{'id':sa['id'],'icon':_0x19aaa2(0x2fc),'title':_0x19aaa2(0x34a)},'back':{'id':ca['id'],'icon':_0x19aaa2(0x1b5),'title':_0x19aaa2(0x233)}};function Ju(_0x48ae41,_0x54f59){const _0x2db572=_0x19aaa2;let _0x1c7cd0=_0x48ae41[_0x2db572(0x417)](_0x250757),_0x4ca5c3=_0x48ae41[_0x2db572(0x417)](_0x45a49b),_0x4b275c=_0x48ae41[_0x2db572(0x417)](_0x16546c),_0x411384=_0x48ae41[_0x2db572(0x417)](J);return _0x2f491f([_0x4b275c[_0x2db572(0x1ac)],_0x4ca5c3[_0x2db572(0x58d)][_0x2db572(0x661)](_0x4cc7c5(void 0x0)),_0x411384[_0x2db572(0x48a)]['pipe'](_0x4cc7c5(null))])[_0x2db572(0x661)](_0x1798e7(([_0x44b3c2,,_0xff67d1])=>{const _0x24dfdb=_0x2db572;var _0x5d18b6;if(((_0x5d18b6=_0x1c7cd0['getConfig'](_0x273e80))==null||(_0x5d18b6=_0x5d18b6[_0x24dfdb(0x388)])==null?void 0x0:_0x5d18b6[_0x24dfdb(0x5b6)])===!0x1||(_0xff67d1==null?void 0x0:_0xff67d1[_0x24dfdb(0x3c2)])===_0x24dfdb(0x3ea))return!0x0;let _0x5eee65=_0x44b3c2[_0x24dfdb(0x25e)];if(!_0x5eee65||_0x44b3c2[_0x24dfdb(0x305)][_0x24dfdb(0x3b8)]!==0x1)return!0x0;let _0x37d6de=_0x44b3c2[_0x24dfdb(0x305)][0x0],_0x435297=_0x4ca5c3['getDrawingByParam']({'unitId':_0x5eee65[_0x24dfdb(0x1e5)],'subUnitId':_0x5eee65[_0x24dfdb(0x47d)],'drawingId':_0x37d6de});if((_0x435297==null?void 0x0:_0x435297[_0x24dfdb(0x354)][_0x24dfdb(0x5af)])!==_0x2af70c[_0x24dfdb(0x1a9)])return!0x0;let _0x388e48=_0x4ca5c3[_0x24dfdb(0x2ac)](_0x5eee65[_0x24dfdb(0x1e5)],_0x5eee65['subUnitId']),_0x37ff85=_0x388e48[_0x24dfdb(0x67d)](_0x37d6de);return _0x37ff85<0x0||(_0x54f59===_0x24dfdb(0x5e2)||_0x54f59===_0x24dfdb(0x32c)?_0x37ff85===_0x388e48[_0x24dfdb(0x3b8)]-0x1:_0x37ff85===0x0);}));}function Yu(_0x42b653,_0x52c104){const _0x560474=_0x19aaa2;let _0xf1e917=qu[_0x52c104];return{'id':_0xf1e917['id'],'type':_0x57d79c[_0x560474(0x6e9)],'icon':_0xf1e917[_0x560474(0x5c5)],'title':_0xf1e917[_0x560474(0x49a)],'tooltip':_0xf1e917[_0x560474(0x49a)],'disabled$':Ju(_0x42b653,_0x52c104)};}const Xu=_0xb9b759=>Yu(_0xb9b759,_0x19aaa2(0x5e2)),Zu=_0x7fb82c=>Yu(_0x7fb82c,'backward'),Qu=_0x58a714=>Yu(_0x58a714,'front'),$u=_0x58f5b7=>Yu(_0x58f5b7,_0x19aaa2(0x28a));function ed(_0xfc01e6,_0x157e36){const _0x37ec5f=_0x19aaa2;let _0x45fe8a=_0xfc01e6[_0x37ec5f(0x417)](_0x250757),_0x5c3e48=_0xfc01e6[_0x37ec5f(0x417)](_0x2bd903),_0x580f45=_0xfc01e6['get'](J);return _0x2f491f([_0x580f45[_0x37ec5f(0x48a)],_0x5c3e48[_0x37ec5f(0x66d)][_0x37ec5f(0x661)](_0x4cc7c5(void 0x0))])[_0x37ec5f(0x661)](_0x1798e7(([_0xdfad07])=>{const _0x4e6e2b=_0x37ec5f;var _0x3ee09d;return((_0x3ee09d=_0x45fe8a[_0x4e6e2b(0x214)](_0x273e80))==null||(_0x3ee09d=_0x3ee09d[_0x4e6e2b(0x388)])==null?void 0x0:_0x3ee09d['enabled'])===!0x1||(_0xdfad07==null?void 0x0:_0xdfad07['kind'])===_0x4e6e2b(0x3ea)||!_0x157e36(_0xfc01e6);}));}const td=_0x19aaa2(0x636),nd='slide-table.menu.delete',rd='slide-table.menu.distribute';function id(_0x490d2b){const _0x217a24=_0x19aaa2;return{'id':td,'type':_0x57d79c[_0x217a24(0x58f)],'title':_0x217a24(0x1d4),'hidden$':ad(_0x490d2b)};}function ad(_0x1e5611){const _0x216db9=_0x19aaa2;if(!_0x1e5611)return _0x56587b(!0x0);let _0x2267c6=_0x1e5611[_0x216db9(0x417)](J),_0xedb5d7=_0x1e5611[_0x216db9(0x417)](_0x16aa1b);return _0x2267c6[_0x216db9(0x48a)]['pipe'](_0x1798e7(_0x2489e2=>{const _0x257843=_0x216db9;let _0x21795f=Z(_0x2489e2);return!_0x21795f||!_0xedb5d7[_0x257843(0x512)](_0x21795f['unitId'],_0x21795f[_0x257843(0x546)]);}));}function od(){const _0x82b327=_0x19aaa2;return{'id':nd,'type':_0x57d79c[_0x82b327(0x58f)],'icon':'DeleteIcon','title':_0x82b327(0x561),'tooltip':_0x82b327(0x561)};}function sd(_0x352a07){const _0x5efcee=_0x19aaa2;let _0x455bb0=_0x2f491f([ed(_0x352a07,Ma),ed(_0x352a07,Na)])[_0x5efcee(0x661)](_0x1798e7(([_0x3ba142,_0x1b2691])=>[{'id':Yi['id'],'value':Yi['id'],'icon':_0x5efcee(0x5ba),'label':{'name':_0x5efcee(0x6de),'selectable':!0x1},'params':{},'disabled':_0x3ba142},{'id':Xi['id'],'value':Xi['id'],'icon':_0x5efcee(0x63d),'label':{'name':'slides-table-ui.contextMenu.deleteColumn','selectable':!0x1},'params':{},'disabled':_0x1b2691}]));return{...od(),'selections':_0x455bb0};}function cd(){const _0x618a79=_0x19aaa2;return{'id':rd,'type':_0x57d79c[_0x618a79(0x58f)],'icon':_0x618a79(0x3ec),'title':'slides-table-ui.contextMenu.distribute'};}function ld(_0x425fdb){const _0x3c5649=_0x19aaa2;var _0x475f11;let _0x2eda52=((_0x475f11=_0x425fdb[_0x3c5649(0x417)](_0x250757)[_0x3c5649(0x214)](_0x273e80))==null||(_0x475f11=_0x475f11['editor'])==null?void 0x0:_0x475f11[_0x3c5649(0x5b6)])===!0x1,_0x2221e7=_0x425fdb[_0x3c5649(0x417)](J)['selection$']['pipe'](_0x4cc7c5(null),_0x1798e7(_0x3b4dbd=>_0x2eda52||(_0x3b4dbd==null?void 0x0:_0x3b4dbd[_0x3c5649(0x3c2)])===_0x3c5649(0x3ea)));return{'id':ra['id'],'type':_0x57d79c[_0x3c5649(0x6e9)],'icon':_0x3c5649(0x387),'title':'slides-table-ui.contextMenu.deleteTable','tooltip':_0x3c5649(0x5f7),'disabled$':_0x2221e7};}function ud(_0x518aa0){const _0x21e485=_0x19aaa2;return{'id':Gi['id'],'type':_0x57d79c[_0x21e485(0x6e9)],'icon':'InsertRowAboveDoubleIcon','title':_0x21e485(0x504),'tooltip':_0x21e485(0x504),'disabled$':_0x518aa0?ed(_0x518aa0,bd):void 0x0};}function dd(_0x35b5c1){const _0xd570fb=_0x19aaa2;return{'id':Ki['id'],'type':_0x57d79c['BUTTON'],'icon':_0xd570fb(0x433),'title':'slides-table-ui.contextMenu.insertRowBelow','tooltip':_0xd570fb(0x360),'disabled$':_0x35b5c1?ed(_0x35b5c1,bd):void 0x0};}function fd(_0x186016){const _0x7c323=_0x19aaa2;return{'id':qi['id'],'type':_0x57d79c['BUTTON'],'icon':_0x7c323(0x381),'title':_0x7c323(0x520),'tooltip':_0x7c323(0x520),'disabled$':_0x186016?ed(_0x186016,bd):void 0x0};}function pd(_0x42dacf){const _0x4e26ee=_0x19aaa2;return{'id':Ji['id'],'type':_0x57d79c[_0x4e26ee(0x6e9)],'icon':_0x4e26ee(0x6b3),'title':_0x4e26ee(0x53f),'tooltip':_0x4e26ee(0x53f),'disabled$':_0x42dacf?ed(_0x42dacf,bd):void 0x0};}function md(_0x443e39){const _0x2153bf=_0x19aaa2;return{'id':Yi['id'],'type':_0x57d79c[_0x2153bf(0x6e9)],'icon':'DeleteRowDoubleIcon','title':_0x2153bf(0x6de),'tooltip':_0x2153bf(0x6de),'disabled$':_0x443e39?ed(_0x443e39,Ma):void 0x0};}function hd(_0x293eec){const _0x1e8314=_0x19aaa2;return{'id':Xi['id'],'type':_0x57d79c[_0x1e8314(0x6e9)],'icon':_0x1e8314(0x63d),'title':'slides-table-ui.contextMenu.deleteColumn','tooltip':_0x1e8314(0x4ac),'disabled$':_0x293eec?ed(_0x293eec,Na):void 0x0};}function gd(_0x58ecaa){const _0x3b9dab=_0x19aaa2;return{'id':Zi['id'],'type':_0x57d79c['BUTTON'],'icon':_0x3b9dab(0x365),'title':'slides-table-ui.editorToolbar.mergeCells','tooltip':'slides-table-ui.editorToolbar.mergeCells','disabled$':_0x58ecaa?ed(_0x58ecaa,Aa):void 0x0};}function _d(_0x44f83c){const _0x2af13f=_0x19aaa2;return{'id':Qi['id'],'type':_0x57d79c[_0x2af13f(0x6e9)],'icon':_0x2af13f(0x2bc),'title':_0x2af13f(0x60b),'tooltip':'slides-table-ui.editorToolbar.unmergeCells','disabled$':_0x44f83c?ed(_0x44f83c,ja):void 0x0};}function vd(_0x505fbd){const _0x3b8a63=_0x19aaa2;return{'id':$i['id'],'type':_0x57d79c[_0x3b8a63(0x6e9)],'icon':_0x3b8a63(0x3ec),'title':_0x3b8a63(0x324),'tooltip':_0x3b8a63(0x324),'disabled$':_0x505fbd?ed(_0x505fbd,Pa):void 0x0};}function yd(_0x313f34){const _0x2891e7=_0x19aaa2;return{'id':ea['id'],'type':_0x57d79c[_0x2891e7(0x6e9)],'icon':'AdjustWidthDoubleIcon','title':_0x2891e7(0x4ed),'tooltip':_0x2891e7(0x4ed),'disabled$':_0x313f34?ed(_0x313f34,Fa):void 0x0};}function bd(_0x1ddfd7){const _0x315e13=_0x19aaa2;let _0x43ec36=_0x1ddfd7[_0x315e13(0x417)](J)[_0x315e13(0x25c)]();return!!_0x43ec36&&_0x43ec36[_0x315e13(0x3c2)]!==_0x315e13(0x3ea)&&_0x43ec36[_0x315e13(0x568)][_0x315e13(0x3b8)]>0x0;}const xd=_0x19aaa2(0x2a8);function Sd(_0x5cd196){const _0x525543=_0x19aaa2;return{'id':xd,'type':_0x57d79c[_0x525543(0x6db)],'icon':_0x525543(0x1b6),'tooltip':_0x525543(0x49f),'slot':!0x0,'hidden$':_0x365d0a(_0x5cd196,_0x35e99f['UNIVER_SLIDE']),'selections':[{'label':{'name':ho,'hoverable':!0x1,'selectable':!0x1}}]};}function Cd(_0x3b43d9){const _0x15fd27=_0x19aaa2;let _0x353dad=_0x3b43d9['get'](_0x45a49b);return{'id':uo['id'],'type':_0x57d79c[_0x15fd27(0x6e9)],'icon':_0x15fd27(0x1b6),'title':_0x15fd27(0x301),'hidden$':new _0x245a2e(_0x64275f=>{let _0x262790=()=>{const _0x324bda=_0x1c3c;var _0x1cbb06;let _0x5c91e5=_0x353dad['getFocusDrawings']();if(_0x5c91e5[_0x324bda(0x3b8)]!==0x1){_0x64275f[_0x324bda(0x613)](!0x0);return;}let _0x30ce47=_0x5c91e5[0x0];_0x64275f[_0x324bda(0x613)](((_0x1cbb06=_0x353dad[_0x324bda(0x511)](_0x30ce47))==null?void 0x0:_0x1cbb06[_0x324bda(0x354)][_0x324bda(0x5af)])!==_0x2af70c[_0x324bda(0x1a9)]);},_0x10bd95=_0x353dad['focus$']['subscribe'](_0x262790);return _0x262790(),()=>_0x10bd95['unsubscribe']();})};}const wd={[_0x2dce04[_0x19aaa2(0x333)]]:{[_0x47a549['LAYOUT']]:{[xd]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x5},'menuItemFactory':_0x1b32ae(Sd)}}},[_0x304115[_0x19aaa2(0x6b9)]]:{[_0x30ba16['OTHERS']]:{[uo['id']]:{'order':0x5,'menuItemFactory':_0x1b32ae(Cd)}}},[_0x417904[_0x19aaa2(0x37b)]]:{'slide-table.contextMenu.cell':{'order':0x17,[_0x30ba16[_0x19aaa2(0x523)]]:{'order':0x0,[td]:{'order':0x0,'menuItemFactory':_0x1b32ae(id),'slide-table.menu.insert-row-above':{'order':0x0,'menuItemFactory':_0x1b32ae(ud)},'slide-table.menu.insert-row-below':{'order':0x1,'menuItemFactory':_0x1b32ae(dd)},'slide-table.menu.insert-column-left':{'order':0x2,'menuItemFactory':_0x1b32ae(fd)},'slide-table.menu.insert-column-right':{'order':0x3,'menuItemFactory':_0x1b32ae(pd)}},[nd]:{'order':0x1,'menuItemFactory':_0x1b32ae(od),'slide-table.menu.delete-rows':{'order':0x0,'menuItemFactory':_0x1b32ae(md)},'slide-table.menu.delete-columns':{'order':0x1,'menuItemFactory':_0x1b32ae(hd)}},'slide-table.menu.merge-cells':{'order':0x2,'menuItemFactory':_0x1b32ae(gd)},'slide-table.menu.unmerge-cells':{'order':0x3,'menuItemFactory':_0x1b32ae(_d)},[rd]:{'order':0x4,'menuItemFactory':_0x1b32ae(cd),'slide-table.menu.distribute-rows':{'order':0x0,'menuItemFactory':_0x1b32ae(vd)},'slide-table.menu.distribute-columns':{'order':0x1,'menuItemFactory':_0x1b32ae(yd)}}},[_0x30ba16[_0x19aaa2(0x362)]]:{'order':0x1,[ra['id']]:{'order':0x0,'menuItemFactory':_0x1b32ae(ld)}}}}},Td={[_0x417904['RIBBON']]:{[Ru]:{'order':0x65,'contextual':!0x0,'slides-table-ui.ribbon.styles':{'order':0x0,[zu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'width':0x70},'menuItemFactory':_0x1b32ae(Uu)}},'slides-table-ui.ribbon.cellStyle':{'order':0x1,[Bu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x38},'menuItemFactory':_0x1b32ae(Wu)}},'slides-table-ui.ribbon.text':{'order':0x2,[Vu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x1b32ae(Gu)}},'slides-table-ui.ribbon.layout':{'order':0x3,'slide-table.ribbon.insert-row-above':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x1b32ae(ud)},'slide-table.ribbon.insert-row-below':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x1b32ae(dd)},'slide-table.ribbon.insert-column-left':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x1b32ae(fd)},'slide-table.ribbon.insert-column-right':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1b32ae(pd)},'slide-table.ribbon.merge-cells':{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1b32ae(gd)},'slide-table.ribbon.unmerge-cells':{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x1b32ae(_d)},'slide-table.ribbon.distribute-rows':{'order':0x6,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x1b32ae(vd)},'slide-table.ribbon.distribute-columns':{'order':0x7,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x1b32ae(yd)}},'slides-table-ui.ribbon.arrange':{'order':0x4,'slide-table.ribbon.arrange-forward':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x1b32ae(Xu)},'slide-table.ribbon.arrange-backward':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x1b32ae(Zu)},'slide-table.ribbon.arrange-front':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x1b32ae(Qu)},'slide-table.ribbon.arrange-back':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1b32ae($u)}},'slides-table-ui.ribbon.panel':{'order':0x5,[nd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1b32ae(sd),[ra['id']]:{'order':0x0,'menuItemFactory':_0x1b32ae(ld)}},[po['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':Ku}}}}},Ed=_0x19aaa2(0x1cb);let Dd=class extends _0x525b66{constructor(_0x4a3945,_0x54948e,_0x2c5a73,_0x16ae90,_0x3da8a0,_0x39094c,_0x478d37,_0x924342){const _0x4af230=_0x19aaa2;super(),this['_menuManagerService']=_0x4a3945,this[_0x4af230(0x43d)]=_0x54948e,this[_0x4af230(0x1de)]=_0x2c5a73,this[_0x4af230(0x479)]=_0x16ae90,this[_0x4af230(0x4d0)]=_0x3da8a0,this[_0x4af230(0x40c)]=_0x39094c,this['_embedFloatingActiveService']=_0x478d37,this[_0x4af230(0x639)]=_0x924342,q(this,'_tableDesignVisible',!0x1),this[_0x4af230(0x3a2)][_0x4af230(0x251)](Td),this[_0x4af230(0x296)]();}[_0x19aaa2(0x3e1)](){const _0x3d35bf=_0x19aaa2;this[_0x3d35bf(0x4d0)][_0x3d35bf(0x4c1)](!0x1,Ed),this[_0x3d35bf(0x617)](),super[_0x3d35bf(0x3e1)]();}['_listenSelection'](){const _0xf1866f=_0x19aaa2;this[_0xf1866f(0x3a8)](_0x48d5d0(this[_0xf1866f(0x1de)][_0xf1866f(0x1ac)][_0xf1866f(0x67b)](_0x42c275=>{const _0x32c059=_0xf1866f;var _0x1ce94d;if(!this['_isSingleTableSelection'](_0x42c275)||this[_0x32c059(0x40a)](_0x42c275)){this[_0x32c059(0x4d0)][_0x32c059(0x4c1)](!0x1,Ed),this[_0x32c059(0x617)]();return;}let _0xc8cfc3=(_0x1ce94d=_0x42c275['context'])==null?void 0x0:_0x1ce94d[_0x32c059(0x1e5)];if(_0xc8cfc3&&this['_isIsolatedEmbedChildSelection'](_0xc8cfc3)){this[_0x32c059(0x4d0)]['setFallbackVisible'](!0x0,Ed),this[_0x32c059(0x617)]();return;}this[_0x32c059(0x4d0)][_0x32c059(0x4c1)](!0x1,Ed),this['_tableDesignVisible']||(this[_0x32c059(0x5b3)]=!0x0,this['_ribbonService'][_0x32c059(0x4fb)](Ru,{'activate':!0x0}));})));}[_0x19aaa2(0x4a2)](_0x4caf03){const _0x4145ea=_0x19aaa2;var _0x21395e;let _0x58d41e=_0x4caf03['context'];return!_0x58d41e||_0x4caf03[_0x4145ea(0x305)][_0x4145ea(0x3b8)]!==0x1?!0x1:((_0x21395e=this['_slideDrawingService'][_0x4145ea(0x511)]({'unitId':_0x58d41e[_0x4145ea(0x1e5)],'subUnitId':_0x58d41e[_0x4145ea(0x47d)],'drawingId':_0x4caf03[_0x4145ea(0x305)][0x0]}))==null?void 0x0:_0x21395e['element']['type'])===_0x2af70c[_0x4145ea(0x1a9)];}[_0x19aaa2(0x32e)](_0x5db5e6){const _0x52cb40=_0x19aaa2;var _0x3e1407,_0x2ec3e1;let _0x967341=(_0x3e1407=this['_embedFocusOwnerService'])==null?void 0x0:_0x3e1407[_0x52cb40(0x3f3)](),_0x270c1f=(_0x2ec3e1=this[_0x52cb40(0x5c0)])==null?void 0x0:_0x2ec3e1[_0x52cb40(0x2c5)]();return(_0x967341==null?void 0x0:_0x967341[_0x52cb40(0x3bc)])===_0x5db5e6&&(_0x270c1f==null?void 0x0:_0x270c1f[_0x52cb40(0x3bc)])===_0x5db5e6&&_0x270c1f[_0x52cb40(0x623)]===_0x52cb40(0x1f2);}['_isIsolatedEmbedChildSelection'](_0x44dac5){const _0xf8edc5=_0x19aaa2;var _0x4bcccd;return this[_0xf8edc5(0x32e)](_0x44dac5)?!0x0:((_0x4bcccd=this[_0xf8edc5(0x639)])==null?void 0x0:_0x4bcccd[_0xf8edc5(0x4ea)]()[_0xf8edc5(0x27a)](_0x35e106=>_0x35e106[_0xf8edc5(0x3bc)]===_0x44dac5&&_0x35e106['layout']!=='tab-peer'))??!0x1;}['_isActiveFloatingEmbedHostSelection'](_0x2a3c32){const _0x118f3c=_0x19aaa2;var _0x4f79e4,_0xc162d0,_0x14e4e8,_0x2cc474;let _0x5233ee=(_0x4f79e4=this['_embedFloatingActiveService'])==null?void 0x0:_0x4f79e4['getActive']();if(!_0x5233ee||_0x5233ee[_0x118f3c(0x623)]===_0x118f3c(0x27b)||((_0xc162d0=_0x2a3c32[_0x118f3c(0x25e)])==null?void 0x0:_0xc162d0['unitId'])!==_0x5233ee[_0x118f3c(0x3aa)]||_0x2a3c32[_0x118f3c(0x305)][_0x118f3c(0x3b8)]!==0x1)return!0x1;let _0x524745=(_0x14e4e8=this[_0x118f3c(0x639)])==null?void 0x0:_0x14e4e8[_0x118f3c(0x4ea)]()[_0x118f3c(0x3c6)](_0x53b83c=>_0x53b83c[_0x118f3c(0x3aa)]===_0x5233ee[_0x118f3c(0x3aa)]&&_0x53b83c['embedId']===_0x5233ee[_0x118f3c(0x2c4)]&&_0x53b83c['childUnitId']===_0x5233ee[_0x118f3c(0x3bc)]),_0x46434d=_0x524745==null||(_0x2cc474=_0x524745['context'])==null?void 0x0:_0x2cc474[_0x118f3c(0x4c6)][_0x118f3c(0x40f)];return!!_0x46434d&&_0x2a3c32[_0x118f3c(0x305)][0x0]===_0x46434d;}[_0x19aaa2(0x617)](){const _0x55a971=_0x19aaa2;this[_0x55a971(0x5b3)]&&(this['_tableDesignVisible']=!0x1,this[_0x55a971(0x43d)][_0x55a971(0x302)](Ru),this[_0x55a971(0x43d)][_0x55a971(0x278)]([]));}};Dd=Ha([Q(0x0,_0x257b45),Q(0x1,_0x48038c),Q(0x2,_0x29de4d(_0x16546c)),Q(0x3,_0x29de4d(_0x45a49b)),Q(0x4,_0x29de4d(fo)),Q(0x5,_0xe05024(_0x119984)),Q(0x6,_0xe05024(_0x167a4c)),Q(0x7,_0xe05024(_0x293d56))],Dd);let Od=class extends _0x525b66{constructor(_0x2c245a,_0x4c713c){const _0x220448=_0x19aaa2;super(),this[_0x220448(0x479)]=_0x2c245a,this['_refreshRegistry']=_0x4c713c,this['disposeWithMe'](this['_refreshRegistry']['register']((_0x2f1dd6,_0x7cc15d)=>{const _0x109303=_0x220448;var _0x5c9ed8;if(_0x2f1dd6['id']!==_0x3d1ec1['id'])return!0x1;let _0x159043=_0x2f1dd6[_0x109303(0x58b)],_0x51cb42=_0x159043==null||(_0x5c9ed8=_0x159043[_0x109303(0x283)])==null?void 0x0:_0x5c9ed8['id'];if((_0x159043==null?void 0x0:_0x159043[_0x109303(0x1e5)])!==_0x7cc15d[_0x109303(0x1e5)]||!_0x51cb42)return!0x1;let _0x5b10be=this['_slideDrawingService']['getDrawingData'](_0x7cc15d[_0x109303(0x1e5)],_0x7cc15d['subUnitId']);return Object['values'](_0x5b10be)[_0x109303(0x27a)](_0xb45306=>_0xb45306['element'][_0x109303(0x5af)]===_0x2af70c[_0x109303(0x1a9)]&&_0xb45306[_0x109303(0x354)][_0x109303(0x546)]===_0x51cb42);}));}};Od=Ha([Q(0x0,_0x45a49b),Q(0x1,_0x29de4d(_0x4f6bfb))],Od);let kd=class extends _0xe2845a{constructor(_0x1be9ef,_0xfc5b8d,_0x393487,_0x4c08dc){const _0x43b5b0=_0x19aaa2;super(),this['_localeService']=_0x1be9ef,this[_0x43b5b0(0x5e0)]=_0xfc5b8d,this[_0x43b5b0(0x47e)]=_0x393487,this[_0x43b5b0(0x5f6)]=_0x4c08dc,q(this,_0x43b5b0(0x593),0x9);}['check'](_0x4aebe3){const _0x2578f6=_0x19aaa2;return _0x4aebe3[_0x2578f6(0x354)][_0x2578f6(0x5af)]===_0x2af70c[_0x2578f6(0x1a9)];}[_0x19aaa2(0x545)](_0x3c538f,_0x1e84dd){const _0x2e70ba=_0x19aaa2;if(_0x3c538f['hidden']||_0x3c538f[_0x2e70ba(0x354)]['type']!==_0x2af70c[_0x2e70ba(0x1a9)])return null;let _0x431ca2=_0x3c538f[_0x2e70ba(0x354)],_0x1a2eb9=_0x431ca2[_0x2e70ba(0x438)],_0x2e77d1='slide-drawing-'+_0x1e84dd[_0x2e70ba(0x1e5)]+'-'+_0x1e84dd[_0x2e70ba(0x47d)]+'-'+_0x3c538f['drawingId'],_0x4969eb=this[_0x2e70ba(0x6a2)](_0x1e84dd[_0x2e70ba(0x1e5)],_0x431ca2),_0x4a6f1d=this[_0x2e70ba(0x5f6)][_0x2e70ba(0x650)](_0x1e84dd['unitId']),_0x226f4f={'controlButtonMode':'structural','left':_0x1e84dd[_0x2e70ba(0x6ee)]+(_0x1a2eb9['left']??0x0),'top':_0x1e84dd[_0x2e70ba(0x3de)]+(_0x1a2eb9[_0x2e70ba(0x573)]??0x0),'width':_0x1a2eb9[_0x2e70ba(0x530)]??0x0,'height':_0x1a2eb9[_0x2e70ba(0x1aa)]??0x0,'angle':_0x1a2eb9[_0x2e70ba(0x707)]??0x0,'flipX':_0x1a2eb9[_0x2e70ba(0x275)],'flipY':_0x1a2eb9[_0x2e70ba(0x4c3)],'skewX':_0x1a2eb9[_0x2e70ba(0x6a4)],'skewY':_0x1a2eb9[_0x2e70ba(0x4ab)],'zIndex':_0x1e84dd[_0x2e70ba(0x4f9)],'visible':!_0x3c538f[_0x2e70ba(0x332)],'evented':!0x0,'imageIoService':this['_imageIoService'],'localeService':this['_localeService'],'tableThemes':_0x4a6f1d==null?void 0x0:_0x4a6f1d['themes'],'tableThemePalette':_0x57f67f(_0x233401=>this[_0x2e70ba(0x5e0)][_0x2e70ba(0x3da)](_0x233401)),'themeService':this[_0x2e70ba(0x5e0)]};return _0x4969eb&&(_0x226f4f[_0x2e70ba(0x283)]=_0x4969eb),new Il(_0x2e77d1,_0x226f4f);}['_resolveTableSnapshot'](_0x16c3fd,_0xe44980){const _0x4a2739=_0x19aaa2;let _0x17c486=Ad(_0xe44980),_0x46a5f9=jd(_0x17c486==null?void 0x0:_0x17c486['tableId']),_0x33ff7f=_0x46a5f9?this['_tableResourceService']['getTable'](_0x16c3fd,_0x46a5f9):void 0x0;if(_0x33ff7f){let _0x5d94bd=_0x7916d4(_0x33ff7f,{'id':_0x46a5f9,'rowCount':0x3,'columnCount':0x3});if(_0x5d94bd)return _0x5d94bd;}let _0x53d17e=Ad(_0x17c486==null?void 0x0:_0x17c486[_0x4a2739(0x493)]),_0x2cfde7=_0x46a5f9??jd(_0x17c486==null?void 0x0:_0x17c486['id']),_0x17f4ad=[_0x17c486==null?void 0x0:_0x17c486[_0x4a2739(0x283)],_0x53d17e==null?void 0x0:_0x53d17e[_0x4a2739(0x283)],_0x53d17e==null?void 0x0:_0x53d17e[_0x4a2739(0x2e2)],_0x53d17e==null?void 0x0:_0x53d17e[_0x4a2739(0x348)],_0x17c486];for(let _0x1d1b67 of _0x17f4ad){let _0x20c7ac=_0x7916d4(_0x1d1b67,{'id':_0x2cfde7});if(_0x20c7ac)return _0x20c7ac;}}};kd=Ha([Q(0x0,_0x29de4d(_0xc7884c)),Q(0x1,_0x29de4d(_0x39b8ff)),Q(0x2,_0x423843),Q(0x3,_0x29de4d(_0x16aa1b))],kd);function Ad(_0xb0accf){const _0x1725c8=_0x19aaa2;return _0xb0accf&&typeof _0xb0accf=='object'&&!Array[_0x1725c8(0x477)](_0xb0accf)?_0xb0accf:void 0x0;}function jd(_0x2cbc2a){const _0x372263=_0x19aaa2;return typeof _0x2cbc2a=='string'&&_0x2cbc2a[_0x372263(0x722)]()?_0x2cbc2a:void 0x0;}function Md(_0x5c76ef){const _0x2101f9=_0x19aaa2;return _0x5c76ef[_0x2101f9(0x5af)]===_0x2af70c[_0x2101f9(0x1a9)];}let Nd=class{constructor(_0x12d13a,_0x3f18ce){const _0x3ba1b1=_0x19aaa2;this[_0x3ba1b1(0x1e0)]=_0x12d13a,this[_0x3ba1b1(0x712)]=_0x3f18ce,q(this,'key',_0x3ba1b1(0x61b));}['pasteStandard'](_0x283105){const _0xff57ec=_0x19aaa2;if(_0x283105['format']==='html'){let _0x4af47a=Id(_0x283105[_0xff57ec(0x423)]);return _0x4af47a?this['_insertService'][_0xff57ec(0x63c)](Ld(_0x4af47a)):!0x1;}let _0x518e5b=_0x3fee62(_0x283105[_0xff57ec(0x423)]);if(!_0x518e5b)return!0x1;let _0x3a14f4=_0x1f993c(_0x518e5b);return this[_0xff57ec(0x712)][_0xff57ec(0x63c)](Ld(_0x3a14f4));}[_0x19aaa2(0x630)](_0x36e0a8){const _0x2d518b=_0x19aaa2;let _0x3b04e1={},_0x23be95={},_0x4d20eb={};return _0x36e0a8['elements'][_0x2d518b(0x2bf)](_0x129387=>{const _0x2f54bd=_0x2d518b;if(!Md(_0x129387))return;let _0x4473b1=this[_0x2f54bd(0x1e0)][_0x2f54bd(0x512)](_0x36e0a8[_0x2f54bd(0x1e5)],_0x129387['tableId']);if(_0x4473b1&&(_0x3b04e1[_0x4473b1['id']]=_0x257efd[_0x2f54bd(0x206)](_0x4473b1),_0x4d20eb[_0x129387['id']]=_0x4473b1['id'],_0x4473b1['themeId'])){let _0x89454f=this[_0x2f54bd(0x1e0)][_0x2f54bd(0x238)](_0x36e0a8[_0x2f54bd(0x1e5)],_0x4473b1['themeId']);_0x89454f&&(_0x23be95[_0x89454f['id']]=_0x257efd['deepClone'](_0x89454f));}}),Object[_0x2d518b(0x248)](_0x3b04e1)[_0x2d518b(0x3b8)]===0x0?null:{'tables':_0x3b04e1,'themes':_0x23be95,'tableIdByElementId':_0x4d20eb};}[_0x19aaa2(0x368)](_0x1a6291){const _0x56ab5b=_0x19aaa2;let _0x347b18=_0x1a6291[_0x56ab5b(0x5c6)][_0x56ab5b(0x1f3)](Md)['map'](_0x449458=>this['_resourceService'][_0x56ab5b(0x512)](_0x1a6291[_0x56ab5b(0x1e5)],_0x449458[_0x56ab5b(0x546)]))['filter'](_0x220e37=>_0x220e37!==void 0x0);return _0x347b18[_0x56ab5b(0x3b8)]>0x0?{'html':_0x347b18[_0x56ab5b(0x694)](Hd)[_0x56ab5b(0x230)]('<br>'),'plainText':_0x347b18[_0x56ab5b(0x694)](Vd)[_0x56ab5b(0x230)]('\x0a')}:null;}[_0x19aaa2(0x35a)](_0x28e486){const _0x2c93e4=_0x19aaa2;if(!Pd(_0x28e486[_0x2c93e4(0x59d)]))return null;let _0x20f6a5=_0x28e486[_0x2c93e4(0x59d)],_0x5bbf2f=new Map();_0x28e486[_0x2c93e4(0x656)][_0x2c93e4(0x2bf)]((_0x4ab525,_0x60c834)=>_0x5bbf2f['set'](_0x4ab525,_0x60c834));let _0xd4816e=new Map(),_0x1812dd=new Map(),_0x18b440=_0x28e486[_0x2c93e4(0x5c6)]['map'](_0x39ec4f=>{const _0x2474d9=_0x2c93e4;if(!Md(_0x39ec4f))return _0x39ec4f;let _0x484986=_0x5bbf2f[_0x2474d9(0x417)](_0x39ec4f['id']),_0x13929d=_0x484986?_0x20f6a5['tableIdByElementId'][_0x484986]:void 0x0;if(!_0x13929d||!_0x20f6a5[_0x2474d9(0x560)][_0x13929d])return _0x39ec4f;let _0x5eed97=_0xd4816e[_0x2474d9(0x417)](_0x13929d);return _0x5eed97||(_0x5eed97=_0xd7ffb9(0x6),_0xd4816e['set'](_0x13929d,_0x5eed97)),{..._0x39ec4f,'tableId':_0x5eed97};}),_0x477065=[];return _0xd4816e[_0x2c93e4(0x2bf)]((_0x20ff62,_0x48d5b3)=>{const _0x2d7a3b=_0x2c93e4;let _0x15479f=_0x20f6a5[_0x2d7a3b(0x560)][_0x48d5b3];if(!_0x15479f)return;let _0x4c6176=_0x257efd['deepClone'](_0x15479f);_0x4c6176['id']=_0x20ff62;let _0x29f544;if(_0x15479f['themeId']){let _0x549934=_0x20f6a5['themes'][_0x15479f[_0x2d7a3b(0x218)]];if(_0x549934){let _0x54635d=_0x1812dd['get'](_0x549934['id']);_0x54635d||(_0x54635d=_0x1bc43a(_0xd7ffb9(0x6),_0x549934)['id'],_0x1812dd['set'](_0x549934['id'],_0x54635d)),_0x29f544={..._0x257efd[_0x2d7a3b(0x206)](_0x549934),'id':_0x54635d},_0x4c6176[_0x2d7a3b(0x218)]=_0x54635d;}else delete _0x4c6176[_0x2d7a3b(0x218)];}_0x477065[_0x2d7a3b(0x232)]({'table':_0x4c6176,'theme':_0x29f544});}),_0x477065['length']===0x0?null:{'elements':_0x18b440,'redoMutations':_0x477065[_0x2c93e4(0x694)](({table:_0x2a7873,theme:_0x10d2ac})=>({'id':_0x3d1ec1['id'],'params':{'unitId':_0x28e486[_0x2c93e4(0x719)],'table':_0x2a7873,'theme':_0x10d2ac}})),'undoMutations':[..._0x477065]['reverse']()['map'](({table:_0x14205c})=>({'id':_0x453038['id'],'params':{'unitId':_0x28e486[_0x2c93e4(0x719)],'tableId':_0x14205c['id']}}))};}};Nd=Ha([Q(0x0,_0x29de4d(_0x16aa1b)),Q(0x1,_0x29de4d(mo))],Nd);function Pd(_0x50fe70){const _0x314b5b=_0x19aaa2;return!_0x50fe70||typeof _0x50fe70!=_0x314b5b(0x729)?!0x1:_0x314b5b(0x560)in _0x50fe70&&Fd(_0x50fe70[_0x314b5b(0x560)])&&_0x314b5b(0x335)in _0x50fe70&&Fd(_0x50fe70[_0x314b5b(0x335)])&&_0x314b5b(0x3ed)in _0x50fe70&&Fd(_0x50fe70[_0x314b5b(0x3ed)]);}function Fd(_0x147a12){const _0x2c4fb=_0x19aaa2;return typeof _0x147a12==_0x2c4fb(0x729)&&!!_0x147a12&&!Array[_0x2c4fb(0x477)](_0x147a12);}function Id(_0x567116){const _0xb6525c=_0x19aaa2;let _0x33e47a=new DOMParser()[_0xb6525c(0x4c7)](_0x567116,_0xb6525c(0x696)),_0x23ec32=_0x33e47a['querySelectorAll'](_0xb6525c(0x283));if(_0x23ec32[_0xb6525c(0x3b8)]!==0x1||(_0x23ec32[0x0][_0xb6525c(0x496)](),(_0x33e47a[_0xb6525c(0x4cc)]['textContent']??'')[_0xb6525c(0x722)]()||_0x33e47a[_0xb6525c(0x4cc)][_0xb6525c(0x59b)](_0xb6525c(0x395))))return null;let _0x2ad03f=_0x1f993c(_0x567116);return _0x2ad03f[_0xb6525c(0x416)][_0xb6525c(0x3b8)]>0x0&&_0x2ad03f[_0xb6525c(0x627)][_0xb6525c(0x3b8)]>0x0?_0x2ad03f:null;}function Ld(_0xa96c5c){const _0x38dabe=_0x19aaa2;let _0x5e5bc0=_0xa96c5c[_0x38dabe(0x627)]['map'](_0x4eebcf=>({'width':Bd(_0x4eebcf??0x64,0x18,0x140)})),_0x347b87=_0xa96c5c[_0x38dabe(0x416)][_0x38dabe(0x694)](_0x518973=>({'height':Bd(_0x518973[_0x38dabe(0x1aa)]??0x1c,0x14,0xb4),'cells':_0x518973[_0x38dabe(0x307)]['map'](_0x19a365=>Rd(_0x19a365))}));return _0xa96c5c[_0x38dabe(0x416)]['forEach']((_0x3b879c,_0x692c8b)=>{const _0x3d4822=_0x38dabe;_0x3b879c[_0x3d4822(0x307)][_0x3d4822(0x2bf)]((_0x20caec,_0x3d4018)=>{const _0x32f561=_0x3d4822;if(_0x20caec){for(let _0x2cfaf6=0x0;_0x2cfaf6<_0x20caec['rowSpan'];_0x2cfaf6+=0x1)for(let _0x486963=0x0;_0x486963<_0x20caec[_0x32f561(0x44e)];_0x486963+=0x1){var _0x628f7f;if(_0x2cfaf6===0x0&&_0x486963===0x0)continue;let _0x1f6bb0=(_0x628f7f=_0x347b87[_0x692c8b+_0x2cfaf6])==null?void 0x0:_0x628f7f[_0x32f561(0x307)][_0x3d4018+_0x486963];_0x1f6bb0&&(_0x1f6bb0[_0x32f561(0x31a)]=_0x486963>0x0,_0x1f6bb0[_0x32f561(0x4f8)]=_0x2cfaf6>0x0);}}});}),{'options':{},'columns':_0x5e5bc0,'rows':_0x347b87};}function Rd(_0x4b8e41){const _0x323d56=_0x19aaa2;if(!_0x4b8e41)return{};let _0x47634b=zd(_0x17eba6(_0x4b8e41[_0x323d56(0x347)]))??_0x39568c(_0x4b8e41[_0x323d56(0x3ea)]),_0x41fc42=_0x4b8e41[_0x323d56(0x373)]||_0x4b8e41['borderWidth']?{'color':_0x4b8e41[_0x323d56(0x373)],'width':_0x4b8e41[_0x323d56(0x601)],'dash':_0x3cd644[_0x323d56(0x56a)]}:void 0x0;return{'textData':_0x47634b,'rowSpan':_0x4b8e41[_0x323d56(0x33b)]>0x1?_0x4b8e41[_0x323d56(0x33b)]:void 0x0,'columnSpan':_0x4b8e41[_0x323d56(0x44e)]>0x1?_0x4b8e41[_0x323d56(0x44e)]:void 0x0,'style':_0x4b8e41[_0x323d56(0x4d3)]||_0x41fc42?{'fill':_0x4b8e41[_0x323d56(0x4d3)]?{'type':_0x870dab['Solid'],'color':_0x4b8e41[_0x323d56(0x4d3)]}:void 0x0,'borders':_0x41fc42?{'top':_0x41fc42,'right':_0x41fc42,'bottom':_0x41fc42,'left':_0x41fc42}:void 0x0}:void 0x0};}function zd(_0x2a9091){const _0x21a3a4=_0x19aaa2;try{var _0xc05220;let _0x101143=_0x3f88bf(_0x2a9091,_0xd7ffb9(0x6));return(_0xc05220=_0x101143[_0x21a3a4(0x4cc)])!=null&&_0xc05220[_0x21a3a4(0x40e)]?{..._0x101143,'id':_0x101143['id']||_0xd7ffb9(0x6),'body':_0x101143['body'],'documentStyle':_0x101143[_0x21a3a4(0x725)]??{}}:null;}catch{return null;}}function Bd(_0x596614,_0xcfcf61,_0x1d0c42){const _0x15db90=_0x19aaa2;return Math[_0x15db90(0x1df)](_0x1d0c42,Math[_0x15db90(0x6f0)](_0xcfcf61,_0x596614));}function Vd(_0x47fa90){const _0x11f5b0=_0x19aaa2;return _0x47fa90[_0x11f5b0(0x416)]['map'](_0x3a8849=>_0x3a8849[_0x11f5b0(0x307)][_0x11f5b0(0x694)](_0x41b87d=>_0x41b87d['hMerge']||_0x41b87d['vMerge']?'':_0x41b87d[_0x11f5b0(0x427)]?_0x551ee5(_0x41b87d[_0x11f5b0(0x427)])[_0x11f5b0(0x457)](/[\t\r\n]+/g,'\x20'):'')[_0x11f5b0(0x230)]('\x09'))[_0x11f5b0(0x230)]('\x0a');}function Hd(_0x1cd1a4){const _0x549ca9=_0x19aaa2;return _0x549ca9(0x3c5)+_0x1cd1a4[_0x549ca9(0x389)][_0x549ca9(0x694)](_0x3e53fe=>_0x549ca9(0x2dd)+_0x3e53fe[_0x549ca9(0x530)]+_0x549ca9(0x54f))[_0x549ca9(0x230)]('')+_0x549ca9(0x44f)+_0x1cd1a4[_0x549ca9(0x416)]['map'](_0x56de47=>{const _0x1a929d=_0x549ca9;let _0x48eda1=_0x56de47[_0x1a929d(0x307)][_0x1a929d(0x694)](_0x915142=>{const _0x403edf=_0x1a929d;if(_0x915142[_0x403edf(0x31a)]||_0x915142[_0x403edf(0x4f8)])return'';let _0x60157b=[_0x915142['rowSpan']&&_0x915142[_0x403edf(0x33b)]>0x1?_0x403edf(0x1a7)+_0x915142['rowSpan']+'\x22':'',_0x915142[_0x403edf(0x6a7)]&&_0x915142[_0x403edf(0x6a7)]>0x1?_0x403edf(0x1b3)+_0x915142[_0x403edf(0x6a7)]+'\x22':'',zl(_0x915142)][_0x403edf(0x1f3)](Boolean)['join']('\x20'),_0x37f98a=_0x915142['textData']?_0x3e4412(_0x257efd[_0x403edf(0x206)](_0x915142['textData'])):'';return _0x403edf(0x55f)+(_0x60157b?'\x20'+_0x60157b:'')+'>'+_0x37f98a+_0x403edf(0x2b4);})[_0x1a929d(0x230)]('');return _0x1a929d(0x65d)+(_0x56de47[_0x1a929d(0x1aa)]?_0x1a929d(0x5bf)+_0x56de47[_0x1a929d(0x1aa)]+_0x1a929d(0x640):'')+'>'+_0x48eda1+_0x1a929d(0x260);})[_0x549ca9(0x230)]('')+_0x549ca9(0x54c);}function Ud(_0x1e5139,_0x48c225,_0x1446f6){const _0x44a69b=_0x19aaa2;let _0x2a3606=_0x48c225[_0x44a69b(0x259)](_0x4a6b51=>_0x4a6b51?[_0x4a6b51[_0x44a69b(0x609)](_0x1e5139)]:[]),_0x90592e=_0x1446f6&&typeof ResizeObserver<'u'?new ResizeObserver(_0x1e5139):null;return _0x1446f6&&(_0x90592e==null||_0x90592e[_0x44a69b(0x29b)](_0x1446f6)),()=>{const _0x25e0aa=_0x44a69b;_0x2a3606[_0x25e0aa(0x2bf)](_0x3395dd=>_0x3395dd['unsubscribe']()),_0x90592e==null||_0x90592e[_0x25e0aa(0x2e9)]();};}function Wd(_0x5228ca){const _0x35df55=_0x19aaa2;let _0x18d34e=Gd(_0x5228ca[_0x35df55(0x729)],_0x5228ca['table'],_0x5228ca[_0x35df55(0x1ab)]),_0x2a9026=_0x5228ca['scale'][_0x35df55(0x409)]*_0x5228ca[_0x35df55(0x5eb)],_0x4cbc2b=_0x5228ca[_0x35df55(0x26a)]['scaleY']*_0x5228ca[_0x35df55(0x5eb)],_0x3581ea=_0x5228ca[_0x35df55(0x2a0)][_0x35df55(0x374)]+(_0x18d34e[_0x35df55(0x440)]-_0x5228ca[_0x35df55(0x4ef)]['x'])*_0x2a9026,_0x39d699=_0x5228ca[_0x35df55(0x2a0)][_0x35df55(0x573)]+(_0x18d34e[_0x35df55(0x573)]-_0x5228ca['scroll']['y']-_0x314882)*_0x4cbc2b-0x2a-0x5,_0x2d6689=(_0x5228ca[_0x35df55(0x5c4)]??0x2a8)/0x2,_0x11bccd=0xc+_0x2d6689,_0x65ebee=Math[_0x35df55(0x6f0)](_0x11bccd,_0x5228ca[_0x35df55(0x513)]-_0x2d6689-0xc);return{'left':Math['min'](Math[_0x35df55(0x6f0)](_0x11bccd,_0x3581ea),_0x65ebee),'top':Math[_0x35df55(0x6f0)](0xc,_0x39d699)};}function _0x3ba8(){const _0x52defd=['updateDocumentStyle','_slideInsertService','select','sort','collect','_resolveRenderModel','univer-grid\x20univer-grid-cols-2\x20univer-gap-3','handle','setEditingCell','getViewports','slide-table.menu.insert','getImageSourceCache','glow','_embedMountService','button','univer-box-border\x20univer-grid\x20univer-w-full\x20univer-gap-4\x20univer-p-4','insertTableSnapshot','DeleteColumnDoubleIcon','titleRow','medium','px\x22','slides-table-ui.shapePanel.fill.picture.source','row','true','_scheduleWireResizeObjects','SetCellStyle','univer-h-12\x20univer-w-full','strike','0\x200\x2024\x2016','_retainActiveCellEditor','asObservable','#f7faff','section','slides-table-ui.table-design.cell-style-control','strokeWidth','univer-flex\x20univer-items-center\x20univer-gap-1','getResource','add','Middle','size','3693701srXuZo','extend-up','elementIdMap','target','save','textDirection','_resolveCellHit','picture','nestingLevel','<tr','table-cell','linear','9kNOlOi','pipe','bottom','update','every','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','slides-table-ui.editorToolbar.alignTop','_drawRowFills','#9fb2cc','_selectRows','univer-mb-2\x20univer-text-xs\x20univer-text-gray-500','_disposeTextRenderCaches','deleteColumns','tableChange$','stopPropagation','lastCol','extend-right','_makeSceneDirty','slide-table.operation.open-size-dialog','marginTop','_commitCellDocument','triggerContextMenu','textColor','has','shift-arrow-left','unmerge-cells','slides-table-ui.editorToolbar.borderPresetTop','subscribe','_drawGrid','indexOf','edit','_startTableMoveDrag','range','tableTransform','_contextService','table-handle','_resizeWireScheduled','slides-table-ui.editorToolbar.strikethrough','univer-fill-primary-600','tab-forward','Inner','_initSelectionSynchronization','getRealBound','notchWidth','findIndex','univer-flex\x20univer-flex-col\x20univer-gap-2','slides-table-ui.editorToolbar.textBackgroundColor','_getHandles','set','stops','white','textFormat','map','paragraphs','text/html','onComplete','resize-row','setHandler','_configureSelectionControls','_buildStructuralTriggers','insert-column-right','clientX','_getSelectedHeaderRange','_updateHeaderSelectionDrag','#d2e3fc','hitTestCellAtScenePoint','_resolveTableSnapshot','_drawCellBorders','skewX','1px\x20solid\x20','onSelectPreset','columnSpan','_isCellSelection','slides-table-ui.editorToolbar.decreaseFontSize','bullet','univer-block\x20univer-w-5\x20univer-rounded-full\x20univer-bg-current','univer-size-11','_resolveTableObjectFromContext','render','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','onBack','DistributeColumns','_buildSelection','RightInsertColumnDoubleIcon','bandRow','reverse','commitMove','focusUnit','bBox','DRAWING','move-up','getEnabled','onTransformChange$','_syncTableSelectionToObject','columnCount','textFill','_shouldHideCellTextForEditor','ancestorTransform','slide-table.operation.border-outer','_handleCellContextMenuPointerDown','_selectResolvedCell','tableBorderColor','glyphGroup','insert-row-above','_controlState',',\x20minmax(0,\x201fr))','_startStage1TableBodyPointer','ShowToolbarIcon','univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','vertexAngle','getUnitId','fillStyle','row-header','slides-table-ui.ribbon.arrangeBackward','_scheduleResizeHold','registerRenderModule','clipboardData','Right','lineTo','_updateCellHover','Tab','_resolveTablePoint','_instanceService','SELECTOR','composition-start','parseInt','slides-table-ui.contextMenu.deleteRow','univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','univer-flex\x20univer-h-8\x20univer-w-32\x20univer-items-center\x20univer-justify-start\x20univer-gap-2\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-px-2\x20univer-text-sm\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','slide.operation.slide-table-delete-rows','_resetTableInteraction','actualHeight','arrow-up','_executeRowColumnMove','slides-table-ui.mobile.expand','set-border-preset','slides-table-ui.tableSizePicker.columns','BUTTON','_handleCellEditorPointerDown','_resolveInsertDotAtScenePoint','_imageNativeCache','buttons','pageOffsetLeft','toRgbString','max','operations','primary.600','#000000','version','18IrWoVP','visible$','_openSelectionEditor','_buildActiveTableTriggers','distance','_handoffCellEditorToRangeSelection','_activateDrawingTable','globalAlpha','toFixed','slides-table-ui.editorToolbar.borderStyleSolid','selectRows','_hideTableTransformerControls','keydown','setData','univer-cursor-pointer\x20univer-border\x20univer-border-solid\x20univer-p-0\x20univer-transition-colors','[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:!univer-size-8','selectDrawings','selectRange','rotation','focusCell','horizontalAlign','_canCopyTable','middle','RIGHT','_textRenderCaches','scaleY','slides-table-ui.editorToolbar.none','_handleStructuralInsertTrigger','slide.operation.slide-table-distribute-columns','_insertService','_handleHitTestPointerDown','complete','setEnabled','DELETE','verticalAlignOptions','_resolveCellDocumentData','targetUnitId','slides-table-ui.editorToolbar.bandedColumns','_setTableControlState','classType','source','_isControlHovered','Bottom','removeEventListener','FALSE','trim','_syncActivationStageFromSelection','sqrt','documentStyle','_drawSelection','slides-table-ui.editorToolbar.lastColumn','#7f8ea3','object','SHIFT','translateX(-50%)','markTableInternalInteraction','expand','FOCUSING_SLIDE_TABLE','presets','_isActiveOuterChromeHit','cover','showThemes','cellStyle','univer-pointer-events-auto','TOP','_config','onStarting','CONTENT','startTransform','rowspan=\x22','slides-table-ui.editorToolbar.borderPresetOuter','Table','height','selection','state$','addObject$','minPositionOffset','getActiveSlide','cell','slides-table-ui.tableSizePicker.rows','_resizeDragContext','colspan=\x22','slides-table-ui.editorToolbar.noBorder','BottomIcon','TableIcon','_wiredResizeObjectRefs','_isExternalDrawingSelection','hoveredTrigger','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','insertGuide','hitTestResizeBoundary','right','_previewTable','minSize','_handleCellEditorKeyDown','test','univer-box-border\x20univer-w-[360px]\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_headerSelectionDragCleanup','sin','_editingCell','floatingToolbar','MoveDownIcon','pointerup','OVERFLOW','_drawReorderGuide','slides-table-ui.contextual-ribbon','patch','reorderGuide','startsWith','from','vertical','theme-preview','_handleClipboardCut','onChangeDash','slides-table-ui.contextMenu.insert','_selectTable','shift-arrow-right','edit-cell','getContextValue','_resolveRowColumnMoveTarget','univer-h-12\x20univer-text-lg','nativeEvent','isRender','UniverSlidesTableUIPlugin','_slideDrawingStateService','min','_resourceService','TRUE','insertIndex','_handleKeyboardAction','_alignmentGuideService','unitId','refreshTransformNotification','wrap','_syncTableMoveTransformerControls','_isHoveredStructuralTrigger','isValidThemeColor','offsetY','!univer-text-base','slide.operation.slide-table-insert-column-right','text-color','univer-mt-2\x20univer-text-center\x20univer-text-sm\x20univer-font-medium','_commandService','borderDash','stage2','filter','contenteditable','#FFFFFF','cancel','insert-row-below','slides-table-ui.editorToolbar.alignMiddle','path','univer-h-12\x20univer-min-w-0\x20univer-text-base','slides-table-ui.shapePanel.fill.transparency','labelKey','input','tab','BACKSPACE','mergeCells','onPointerUp$','_tableThemePalette','session$','_uiPartsService','getImage','deepClone','slides-table-ui.tableSizePicker.','_draw','&','borderPresetAll','arrow-right','strikethrough','SLIDE_TABLE_EDITOR_UNIT_ID','_handleStructuralHeaderPointerDown','Top','univer-box-border\x20univer-w-[300px]\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-p-2\x20univer-text-gray-900\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','_initPointerDownContextMenu','_updateTableControlHover','univer-grid\x20univer-grid-cols-3\x20univer-gap-2','getConfig','Outer','onClick','font','themeId','horizontal','context-bar','_controlButtonMode','reduce','#d8e8ff','isComposing','rgba(95,\x2099,\x20104,\x200.45)','viewportScrollX','univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-0\x20univer-py-1\x20dark:!univer-bg-gray-800','paragraphStyle','underline','_resolveEditorLayout','-cell-','InnerHorizontal','SLIDE_TABLE_CELL_','now','handoffCurrent','Enter','merge-cells','_hitTestService','_isStructuralRangeSelected','cos','slides-table-ui.editorToolbar.orderedList','join','renderConfig','push','slides-table-ui.ribbon.sendToBack','registerGuard','elementId','onOpenChange','_table','getTheme','_resolveVisibleCellCache','#E8F1FF','region','"','GROUP','#f1f3f4','_tableActivationStage','_activeEditorContextKey','4129923ijkyDO','gray.100','sessionId','targetColumn','slides-table-ui.editorToolbar.underline','univer-hidden','unshift','keys','_permissionService','yellow.100','translate','_rowColumnMoveTarget','image/*','univer-w-28','_clearStructuralInsertHoverObject','updateTable','mergeMenu','offsetX','10gKmmEe','ascent','slides-table-ui.editorToolbar.alignRight','registerShortcut','univer-relative\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20dark:hover:!univer-bg-gray-800','ARROW_RIGHT','flatMap','_finishHeaderSelectionDrag','DRAWINGML','getSelection','_resolveResizeHandle','context','_componentManager','</tr>','tile','setLineDash','resolved','univer-p-3','CENTER','FOCUSING_SLIDE_TABLE_OBJECT','insideV','_editorLayoutSyncScheduled','radial','scale','univer-mt-4\x20univer-text-xl\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','getOwnPropertyDescriptor','abd','univer-w-full\x20univer-justify-start\x20rtl:univer-justify-end','slides-table-ui.editorToolbar.alignCenter','dash','updateControl','Stretch','call','slide-table.operation.arrange-backward','flipX','light','ArrowUp','setCollapsedIds','setCellStyle','some','inactive','arrow-left','_shouldDrawControls','#1F1F1F','slide-table-text-','skipNextObservers','rgba(','initialText','table','ARROW_UP','univer-truncate','packageName','getRenderUnitById','slides-table-ui.ribbon.cell-style-control','_layoutHeight','back','var(--univer-primary-600)','stroke','action','getTableSelection','univer-flex\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-x-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','_iconManager','paragraphId','structural','getObject','cellAtPosition','slide.operation.slide-table-copy-table','_listenSelection','margins','ARROW_LEFT','tab-backward','slides-table-ui.ribbon.tableDesign','observe','point','_resolvePointerScenePoint','InsertColumnRight','getTableRenderModel','canvasRect','alignCenter','onPointerMove$','SLIDE_TABLE_CELL','focus','alpha','registerAdapter','cacheKey','slide.menu.insert.table','calculate','#0b57d0','slides-table-ui.editorToolbar.borderPresetInner','getDrawingOrder','_handleSceneDoubleClick','onVerticalAlign','Gradient','lines','slides-table-ui.editorToolbar.alignJustify','offset','isTableInternalInteractionActive','</td>','slide-table.operation.align-left','JUSTIFIED','card','_shortcutService','slide-table.operation.border-all','_drawControls','border-','CancelMergeIcon','onHorizontalAlign','_resolveScenePoint','forEach','clickFallbackTimer','enter','enterTextMode','_cancelTableMoveDrag','embedId','getActive','selectionKey','_getMoveGestureScale','_clearTableControlHover','red.100','_wireResizeObjects','_resolveInsertDotTriggerForObject','slides-table-ui.editorToolbar.border','groupId','slides-table-ui.editorToolbar.borderStyleDash','slides-table-ui.editorToolbar.borderPresetInnerVertical','options','setTableControlHover','composition','clear-cells','_resetResizeCursor','clearSelectedObjects','direction$','univer-grid\x20univer-min-w-0\x20univer-gap-2\x20univer-text-sm','currentStyleId','_buildControlButtons','univer-size-4\x20univer-text-current','arrow-down','onDblclick$','<col\x20style=\x22width:\x20','slide-drawing-','\x20×\x20','slides-table-ui.editorToolbar.bandedRows','getCanvasElement','slideTable','pendingTable','getCurrentLocale','row-insert-dot','showOptions','slides-table-ui.editorToolbar.borderStyleDot','1.0.1','disconnect','fontSize','register','getCursor','createLinearGradient','blue.600','insertColumns','univer-flex\x20univer-flex-col\x20univer-text-gray-900\x20dark:!univer-text-gray-100','insertTable','slides-table-ui.mobile.edit','_keyboardService','startColumn','MIDDLE','setPreviewTable','isNaN','getCellTextRect','_drawInsertGuide','imageIoService','move','TopmostIcon','resolve','onCancel','open','toggle','slides-table-ui.tableSizePicker.title','hideContextualTab','pageHeight','_enabled$','selectedIds','_pendingStage1TableDragContext','cells','_imageLoadingCache','univer-mb-2\x20univer-flex\x20univer-items-center\x20univer-justify-between','univer-overflow-y-auto','data-toolbar-item','slides-table-ui.editorToolbar.footerRow','univer-mt-3\x20univer-w-full','_syncActiveEditorLayout','4\x202\x201\x202','BOTTOM','None','_fallbackVisibleSources','exec','_rowColumnMoveState','symbol','number','key','mobileSelection','backgroundFill','hMerge','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20hover:univer-text-primary-600\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','WRAP','InsertRowAbove','_headerSelectionDragState','InsertRowBelow','_transformerVisibilityService','_registerIcons','cut','_editorSessionId','slides-table-ui.contextMenu.distributeRows','_initNativeInputListeners','createPattern','primary.100','index','currentOptions','createElement','_handleTextEditingCellPointerDown','front','setTable','_isNonFullscreenFloatingEmbedChildSelection','_isTableTextEditing','slides-table-ui.editorToolbar.firstColumn','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','hidden','START','dot','themes','slides-table-ui.editorToolbar.headerRow','asc','univer-min-h-12\x20univer-whitespace-normal\x20univer-text-sm','active','shadowBlur','rowSpan','style','svg','_bindRangeDragWindowEvents','_selection','insertText','blue.100','InsertColumnLeft','commandId','backward','parseFloat','slides-table-ui.editorToolbar.borderStyleDashDot','html','pptxTable','startObjectTop','slides-table-ui.ribbon.bringToFront','saveImage','_fitSize','_isStructuralHeaderHovered','slide.insert-ribbon.table','univer-grid\x20univer-gap-2','_drawStructuralHeaderRect','drawImage','setConfig','check','element','getSkeletonData','arc','cellByOrigin','univer-mt-2\x20univer-border-0\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3','_initShortcuts','preparePaste','_requestedHeight','_resolveObjectPoint','delete-table','_layoutTable','__editor_','slides-table-ui.contextMenu.insertRowBelow','univer-grid\x20univer-grid-cols-5\x20univer-gap-1','OTHERS','getDirection','getLayoutTable','MergeAllIcon','setContextValue','_setTableKeyboardFocus','serialize','disableObjectsEvent','inputType','registerComponent','bandCol','slides-table-ui.editorToolbar.borderPresetInnerHorizontal','startEvent','onChangeWidth','getBoundingClientRect','deleteRows','strokeStyle','borderColor','left','_injector','slide-table.operation.align-bottom','centerAngle','getTableSelectionColor','#c7d2e3','addEventListener','CONTEXT_MENU','wrapStrategy','slides-table-ui.editorToolbar.tableTheme','translateWithPrecision','slides-table-ui.tableSizePicker.customSize','split','LeftInsertColumnDoubleIcon','_configService','getAncestorScale','italic','rtl','_resizeHoverActive','DeleteIcon','editor','columns','apply','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','_selectColumns','_layoutSource','hitTest','label','styles','defineProperty','univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','_isTableInteractionInProgress','theme','img','univer-w-14','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','_zoom','fallbackImageHeight','value','onScrollAfter$','red.600','delete-column','univer-w-auto','_renderManagerService','slides-table-ui.editorToolbar.tableLook','resetCursor','_menuManagerService','abs','_editorUIService','borders','_resolveScenePointToEditorPoint','_rangeDragWindowCleanup','disposeWithMe','textRuns','hostUnitId','set-cell-style','registerCommand','_handleResizeHover','onPointerCancel$','slides-table-ui.mobile.back','_drawTableEffects','pictureSource','setBorderPreset','listType','_resolveSelectedTableDrawing','_startSelectionHandleDrag','yellow.700','lastPoint','length','_handleActiveTableControlPointerDown','ARROW_DOWN','green.100','childUnitId','onReady','alignTop','2618720KKojwt','moveTo','_lastActiveTableContext','kind','slides-table-ui.mobile.collapse','column','<table><colgroup>','find','slides-table-ui.contextMenu.resetColor','Vertical','univer-mb-3\x20last:univer-mb-0','gray.900','univer-col-span-2\x20univer-w-full','univer-size-6\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','endRow','gradient','getId','_finishCellEditing','text-background','repeat','move-right','revision','_structuralInsertHoverObject','_resolvePictureFill','getParent','gray.500','slides-table-ui.editorToolbar.bestMatch','getColorFromTheme','max-content','univer-bg-primary-50\x20univer-text-primary-600','after','pageOffsetTop','selectColumns','DeleteColumns','dispose','_commitCellStyle','url(\x22','drawingId','linear-gradient(135deg,\x20transparent\x2045%,\x20#ef4444\x2045%,\x20#ef4444\x2055%,\x20transparent\x2055%)','_controlHover','_clearSelectedCellContents','univer-flex\x20univer-flex-col\x20univer-items-center','SetBorderPreset','text','MergeCells','AdjustHeightDoubleIcon','tableIdByElementId','getOrderedTopLevelDrawings','transformVector2SceneCoord','#111827','_setTableObjectKeyboardFocus','ORDER_LIST','getFocusOwner','stringify','updateDocumentDataMargin','univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','slides-table-ui.table-design.styles-control','pointercancel','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center','getViewport','_univerInstanceService','rowCount','pointermove','sections','pluginName','_localeService','widthClassName','slides-table-ui.editorToolbar.alignBottom','slides-table-ui.editorToolbar.alignLeft','shift-arrow-up','shapeTextOpticalVerticalAlign','linear-gradient(','POINTER','fillRect','scaleX','_isActiveFloatingEmbedHostSelection','univer-flex\x20univer-flex-col\x20univer-gap-3','_embedFocusOwnerService','fill','dataStream','hostAnchorId','documents','oKey','slides-table-ui.editorToolbar.borderPresetRight','#1a73e8','_resolveResizeHit','_tableThemes','rows','get','2909905yMXtPE','metaKey','Picture','shadowOffsetY','span','outerShadow','minHeight','_selection$','before','slide.table-size.dialog','extend-down','data','viewportHeight','TAB','onApplyTheme','textData','resize','_resolveTableClipboardTarget','slides-table-ui.editorToolbar.borderWidth','All','_isTextEditing','_shouldDrawStructuralHeaders','_handleDirectResizePointerDown','getTransformer','univer-w-full','univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-0.5','_hideContextMenu','InsertRowBelowDoubleIcon','endColumn','solid','function','_init','transform','getValue','_pendingHeaderSelection','prototype','_updateRowColumnMoveDrag','_ribbonService','click','documentData','centerX','editable','textStyle','UnmergeCells','ltr','univer-bg-gray-50\x20univer-pb-3\x20dark:!univer-bg-gray-900','_ownsStructuralCursor','targetRow','slide.operation.slide-table-distribute-rows','slides-table-ui.editorToolbar.textFormat','center','slides-table-ui.shapePanel.fill.solidFill','ArrowDown','isFinite','colSpan','</colgroup><tbody>','textBackground','_drawStructuralHeaders','content','univer-h-12','guideIndex','slides-table-ui.editorToolbar.italic','create','replace','Left','visible','_tableInternalInteractionUntil','_isControlSelected','slide-table-size-picker','_commitClipboardPatch','UNIVER_SLIDE','getAttribute','paste','univer-size-5\x20univer-rounded','small','clear','\x0a\x20\x20\x20\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-shadow-lg\x0a\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a','dark:!univer-border-gray-700\x20dark:!univer-bg-gray-800','InnerVertical','constructor','_scheduleActiveEditorLayoutSync','descent','_updateResizeDrag','floor','_resizeDragListeners','_resizeBoundary','Dash','_initCommands','moved','_finishTableMoveDrag','setAlpha','_restoreTableDrawingSelection','axis','insert-column-left','aba','isArray','direction','_slideDrawingService','rev','pages','getInverseCoord','subUnitId','_imageIoService','_session$','insideH','>','slide-table.contextMenu.cell','titleColumn','border','slides-table-ui.ribbon.text','univer-w-[280px]\x20univer-p-3','slides-table-ui.editorToolbar.fontSize','insertRows','ribbon-text-color','selection$','move-left','_enabled','alignRight','hypot','trigger','_drawGuideLine','COLUMN_RESIZE','onPointerDown$','custom','slide.operation.slide-table-merge-cells','isHit','remove','_setTableControlHover','Vertical270','textBackgroundColor','title','_drawCellHover','univer-flex\x20univer-items-center\x20univer-gap-3','getSnapshot','_createViewportPointerEvent','slides-table-ui.insertToolbar.table','univer-flex-1\x20univer-text-base\x20univer-font-medium','none','_isSingleTableSelection','_tableSelectionService','_registerComponents','slides-table-ui.editorToolbar.medium','_visibleCellCache','getCurrentUnitOfType','restore','resources','uComp','skewY','slides-table-ui.contextMenu.deleteColumn','univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','unmergeCells','_prepareResizeSelection','univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2','repeat(','position','alignMiddle','!univer-text-primary-600\x20dark:!univer-text-primary-300','values','draw','ghost','clip','angle','cleanup','univer-text-xs','univer-max-h-[420px]\x20univer-w-[420px]','_inputHandler','setTableCellHover','setResizeBoundary','slides-table-ui.shapePanel.fill.noFill','setFallbackVisible','_updateRangeDrag','flipY','slide-table-size-dialog','#ffffff','descriptor','parseFromString','slide.operation.slide-table-insert-column-left','slide-table-floating-toolbar','_resolveActiveTableObject','_setStructuralCursor','body','getEditingCell','close','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_floatingToolbarService','univer-flex\x20univer-items-center\x20univer-justify-center','_setTableCellHover','backgroundColor','slide-table.operation.keyboard','setTableSelection','div','univer-flex\x20univer-flex-col\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','alignLeft','univer-fixed','ArrowLeft','verticalAlign','makeDirty','_isPointInStructuralTriggerEnvelope','insertImage','setTableControlState','univer-absolute\x20univer-right-0.5\x20univer-top-0.5\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-primary-600\x20univer-text-gray-0\x20univer-shadow-sm\x20rtl:univer-left-0.5\x20rtl:univer-right-auto','slides-table-ui.ribbon.floatingToolbar','hitTestFloatingStructuralTriggerAtScenePoint','_handleSelectedTableBodyPointer','selectTable','univer-bg-gray-0\x20univer-p-2\x20dark:!univer-bg-gray-900','resize-column','36584lHrQmL','_handleTableControlPointerDown','_resolveTableControlHit','listSessions','bold','OPERATION','slides-table-ui.contextMenu.distributeColumns','picker','scroll','hitTestStructuralTriggerAtScenePoint','univer-m-0\x20univer-text-sm\x20univer-font-medium','_resolveActiveSelectionForKeyboard','_syncActiveTableFromDrawingState','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','_drawingStateService','DistributeRows','slides-table-ui.editorToolbar.bold','vMerge','orderIndex','univer-pointer-events-none\x20univer-w-full\x20univer-min-w-0\x20univer-text-xs','showContextualTab','model','compositionend','univer-text-sm\x20univer-font-medium','min(240px,\x20calc(100vw\x20-\x2024px))','_previewCellDocument','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','palette','slides-table-ui.editorToolbar.borderPresetAll','slides-table-ui.contextMenu.insertRowAbove','_isCurrentEditorSession','_finishResizeDrag','merge','delta','orange.600','borderRadius','_handleClipboardPaste','_activateTableObject','toString','setCursor','slides-table-ui.editorToolbar.light','_setResizeCursor','getDrawingByParam','getTable','viewportWidth','src','_createContextMenuEvent','getActiveViewportByCoord','drawing','_fallbackVisible$','bestMatch','pageWidth','_handleTablePointerDown','column-header','dataset','_hasActiveStructuralControlState','round','slides-table-ui.contextMenu.insertColumnLeft','preventDefault','compositionstart','LAYOUT','onToggle','setTableThemes','anchor','slides-table-ui.editorToolbar.borderPresetLeft','getFocusDrawings','ribbon','slide-table-document-renderer','mode','editorId','defaultPrevented','row-select','onerror','width','unsubscribe','ENTER','canHandleNativeInput','copy','slides-table-ui.shapePanel.fill.gradientFill','4FeYFtH','borderPresetInner','_clearResizeBoundary','mixed','ribbon-text-background','then','_applyRangeDragSelection','opticalVerticalOffset','_handleResizePointerDown','slides-table-ui.contextMenu.insertColumnRight','pictureInsert','vertical270','anonymous','_drawTableHandle','startRow','convert','tableId','toUpperCase','_drawTableOutline','_imageLoadSubscriptions','onChangeColor','1341357yFwAyj','</tbody></table>','addImageSourceCache','engine','px\x22>','move-down','_drawCellTexts','URL','slides-table-ui.structuralControls.selectColumn','MoveUpIcon','univer-grid\x20univer-h-11\x20univer-w-full\x20univer-grid-cols-5\x20univer-overflow-hidden\x20univer-rounded-sm','slides-table-ui.editorToolbar.increaseFontSize','_isLastActiveTableSelected','_isTableDrawingActive','DeleteRows','_getStructuralControlZoom','getSession','_getInteractionController','_insertClipboardImages','univer-grid\x20univer-gap-0.5','<td','tables','slides-table-ui.contextMenu.delete','univer-m-0\x20univer-text-base\x20univer-font-medium','_shouldShowTransformerForDrawing','slides-table-ui.editorToolbar.tableBackgroundColor','isHorizontal','_handleCellEditorPointerMove','executeCommand','ranges','boundaryIndex','Solid','_getDependencies','collapse','rgb','slides-table-ui.operation.toggle-floating-toolbar','quadraticCurveTo','_editorDisposable','6cDtBBJ','_finishPendingStage1TableDrag','top','primary','_tableMoveDragContext','isDrawingObject','isInteger','unmerge','scene','selectedStructuralRange','_getTextRenderCache','firstCol','BULLET_LIST','currentColor','univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','_updatePendingStage1TableDrag','getScene','altKey','univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300','rowDelta','measurement','green.600','color','noBorder','_resolvePointerViewportPoint','default','params','univer-grid-cols-3','order$','slides-table-ui.editorToolbar.tableBorderColor','SUBITEMS','_drawCellFills','slides-table-ui.editorToolbar.fontFamily','hitTestHandle','zIndex','_activateWholeTableSelection','end','_layoutRevision','rect','_createImagePromise','styleId','_openCellEditor','querySelector','_handleKeyboardInput','payload','UUID','background-color:\x20','_finishRangeDrag','compact','extend-left','_layoutWidth','ctrlKey','slide-table.operation.align-middle','children','beforeinput','lineWidth','_handler','univer-flex\x20univer-items-center\x20univer-gap-2','padStart','firstRow','_getActiveSlideContext','!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x20!univer-bg-transparent\x20!univer-px-1.5','type','slice','transparency','setInputHandler','_tableDesignVisible','string','_handleClipboardCopy','enabled','<','LEFT','getSelectedObjectMap','DeleteRowDoubleIcon','selectCell','isInGroup','hideContextMenu','getMatrix','\x20style=\x22height:\x20','_embedFloatingActiveService','onChange','_renderContext','tableBackgroundColor','toolbarWidth','icon','elements','_resolveCurrentTableDrawing','opacity','_handleCellEditorPointerUp','slides-table-ui.editorToolbar.mergeCells','slide.operation.slide-table-delete-columns','transparent','file','univer-block\x20univer-min-w-0','slide-table-floating-toolbar-popup','_startSelectionRangeDrag','_updateTableMoveDrag','_getState','onToggleStyle','outerBorderColor','M3\x208H21','signature','syncExecuteCommand','clientY','getVisible','#409cff','slides-table-ui.editorToolbar.textColor','current','controlButtonMode','purple.600','_resolveTableTriggerHit','_themeService','getActualSize','forward','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-lg','contentHeight','_renderModelCache','columnDelta','stretch','_object','4\x203','_hoveredTrigger','canvasScale','rgba(60,\x2064,\x2067,\x200.16)','getData','onChangeOptions','_updateStructuralControlHover','_cellHover','slides-table-ui.ribbon.styles-control','borderPresetOuter','handleInput','column-insert-dot','univer-sticky\x20univer-top-0\x20univer-z-10','_tableResourceService','slides-table-ui.contextMenu.deleteTable','27694344dPYplu','slides-table-ui.ribbon.styles','_shouldDrawInsertDots','\x20x\x20','shift-tab','univer-appearance-none\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20active:univer-bg-primary-50','roundRect','viewBound','preferOffset','borderWidth','objectKey','_enterCellStage','splice','beginPath','text/plain','background','dashDot','subscribeEvent','enabled$','slides-table-ui.editorToolbar.unmergeCells','slide-table.operation.text-color-','univer-w-20','startObjectLeft','_drawInsertDots','_drawMatchingCellFillSeams','univer-flex\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','includes','next','delete','enableObjectsEvent','tableThemes','_hideTableDesignTab','fontFamily','_initResizeInteraction','_handleDoubleClick','slide-table','rgba(0,\x200,\x200,\x200)','bounds','univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','UNSPECIFIED','univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_rangeDragContext','start','stage','setSelectedControl','clearSelection','stopTextSelectionDrag','columnWidths','innerWidth','startPoint','defaultPageSize','_getRenderTable'];_0x3ba8=function(){return _0x52defd;};return _0x3ba8();}function Gd(_0x3a5087,_0x186583,_0x3f1e84){const _0x2d1343=_0x19aaa2;if(!_0x186583||_0x3f1e84[_0x2d1343(0x3c2)]!==_0x2d1343(0x642)&&_0x3f1e84[_0x2d1343(0x3c2)]!==_0x2d1343(0x3c4))return{'centerX':_0x3a5087[_0x2d1343(0x374)]+_0x3a5087[_0x2d1343(0x530)]/0x2,'top':_0x3a5087[_0x2d1343(0x573)]};let _0x207cfe=_0x3f1e84[_0x2d1343(0x568)][0x0];if(!_0x207cfe)return{'centerX':_0x3a5087[_0x2d1343(0x374)]+_0x3a5087[_0x2d1343(0x530)]/0x2,'top':_0x3a5087[_0x2d1343(0x573)]};let _0x38f3a8=_0x942cb2(_0x207cfe),_0x5616e3=Kd(_0x186583['columns']['map'](_0x4d2586=>_0x4d2586[_0x2d1343(0x530)]),_0x3a5087[_0x2d1343(0x530)],_0x38f3a8['startColumn'],_0x38f3a8[_0x2d1343(0x434)]),_0x5e7812=Kd(_0x186583[_0x2d1343(0x416)][_0x2d1343(0x694)](_0x29b9a0=>_0x29b9a0[_0x2d1343(0x1aa)]??0x18),_0x3a5087[_0x2d1343(0x1aa)],_0x38f3a8[_0x2d1343(0x544)],_0x38f3a8[_0x2d1343(0x3cd)]);return{'centerX':_0x3a5087[_0x2d1343(0x374)]+_0x5616e3['start']+_0x5616e3['size']/0x2,'top':_0x3a5087[_0x2d1343(0x573)]+_0x5e7812[_0x2d1343(0x622)]};}function Kd(_0x28a3c4,_0x155527,_0x307bd3,_0x54b046){const _0x316da1=_0x19aaa2;let _0x497586=_0x28a3c4[_0x316da1(0x21c)]((_0x59cb39,_0x232d01)=>_0x59cb39+_0x232d01,0x0);if(_0x497586<=0x0||_0x28a3c4[_0x316da1(0x3b8)]===0x0)return{'start':0x0,'size':_0x155527};let _0x2891c5=Math[_0x316da1(0x6f0)](0x0,Math[_0x316da1(0x1df)](_0x307bd3,_0x28a3c4[_0x316da1(0x3b8)]-0x1)),_0x27f15b=Math[_0x316da1(0x6f0)](_0x2891c5,Math[_0x316da1(0x1df)](_0x54b046,_0x28a3c4[_0x316da1(0x3b8)]-0x1)),_0x4b63f9=_0x28a3c4[_0x316da1(0x5b0)](0x0,_0x2891c5)[_0x316da1(0x21c)]((_0x4fc581,_0x2b140b)=>_0x4fc581+_0x2b140b,0x0),_0x2a0c7c=_0x28a3c4[_0x316da1(0x5b0)](_0x2891c5,_0x27f15b+0x1)[_0x316da1(0x21c)]((_0x399834,_0x43c9bf)=>_0x399834+_0x43c9bf,0x0);return{'start':_0x4b63f9/_0x497586*_0x155527,'size':_0x2a0c7c/_0x497586*_0x155527};}function qd(_0xc1272d,_0x5b512d=0x2a8){const _0xea7a40=_0x19aaa2;let _0x28c571=_0x238a1a(J),_0x7c3e90=_0x238a1a(_0x16aa1b),_0x299cd2=_0x238a1a(_0x538857),_0x3c9345=_0x238a1a(_0x1f1408),_0x19bb64=_0x238a1a(_0xc7884c),_0x45e9ff=_0x2eae51(_0x19bb64['direction$'],_0x19bb64[_0xea7a40(0x363)]()),_0x766fee=_0x238a1a(_0x39b8ff),_0x7c5df1=_0x238a1a(_0x2bd903),_0x5a0939=_0x2eae51(_0x28c571[_0xea7a40(0x48a)],null);_0x2eae51(_0x7c5df1[_0xea7a40(0x66d)]);let [_0xa6a407,_0x2564a9]=_0x32798a(null),[_0x360777,_0x1608ab]=_0x32798a({'selectionKey':null,'value':null}),_0x3ad30b=_0x1e211f(()=>{_0x28c571['markTableInternalInteraction']();},[_0x28c571]),_0x1b23ec=!_0xc1272d||!_0x5a0939||_0x5a0939[_0xea7a40(0x3c2)]===_0xea7a40(0x3ea)||!_0x5a0939[_0xea7a40(0x568)][_0xea7a40(0x3b8)]?null:_0x5a0939,_0x2c4a80=_0x1b23ec?[_0x1b23ec[_0xea7a40(0x1e5)],_0x1b23ec[_0xea7a40(0x47d)],_0x1b23ec[_0xea7a40(0x235)],_0x1b23ec[_0xea7a40(0x546)],...Object[_0xea7a40(0x4b5)](_0x1b23ec[_0xea7a40(0x568)][0x0]??{})][_0xea7a40(0x230)]('|'):null,_0x15fbc8=_0x360777[_0xea7a40(0x2c6)]===_0x2c4a80?_0x360777['value']:null,_0x18d84c=_0x1e211f(()=>{const _0x4459b4=_0xea7a40;var _0xbf3fa0,_0x27cc4f,_0x41b19f,_0x2a36e1,_0x42b7af;if(!_0x1b23ec){_0x2564a9(null);return;}let _0x5461ea=_0x3c9345['getRenderUnitById'](_0x1b23ec[_0x4459b4(0x1e5)]),_0x29d97b=_0x5461ea==null?void 0x0:_0x5461ea[_0x4459b4(0x579)],_0x36b745=_0x29d97b==null?void 0x0:_0x29d97b[_0x4459b4(0x293)](_0x50b4f6(_0x1b23ec[_0x4459b4(0x1e5)],_0x1b23ec[_0x4459b4(0x47d)],_0x1b23ec[_0x4459b4(0x235)]));if(!_0x29d97b||!_0x36b745){_0x2564a9(null);return;}let _0x1caede=_0x5461ea==null||(_0xbf3fa0=_0x5461ea[_0x4459b4(0x54e)])==null||(_0x27cc4f=_0xbf3fa0[_0x4459b4(0x2e1)])==null?void 0x0:_0x27cc4f[_0x4459b4(0x273)](_0xbf3fa0),_0x40d202=(_0x1caede==null||(_0x41b19f=_0x1caede[_0x4459b4(0x370)])==null?void 0x0:_0x41b19f[_0x4459b4(0x273)](_0x1caede))??{'left':0x0,'top':0x0,'width':0x0},_0x1224cf=_0x2f001c((_0x1caede==null?void 0x0:_0x1caede[_0x4459b4(0x33c)]['width'])??''),_0x1a889a=_0x1224cf>0x0?_0x40d202['width']/_0x1224cf:0x1,_0x6e2fb4=((_0x2a36e1=_0x29d97b[_0x4459b4(0x383)])==null?void 0x0:_0x2a36e1['call'](_0x29d97b))??{'scaleX':0x1,'scaleY':0x1},_0x55b77d=(_0x42b7af=_0x29d97b['getViewport'])==null?void 0x0:_0x42b7af[_0x4459b4(0x273)](_0x29d97b,_0x4fba3b),_0x29c28e=_0x7c3e90['getTable'](_0x1b23ec[_0x4459b4(0x1e5)],_0x1b23ec[_0x4459b4(0x546)]);_0x2564a9(Wd({'canvasRect':_0x40d202,'canvasScale':_0x1a889a,'object':_0x36b745,'scale':_0x6e2fb4,'scroll':{'x':(_0x55b77d==null?void 0x0:_0x55b77d[_0x4459b4(0x220)])??0x0,'y':(_0x55b77d==null?void 0x0:_0x55b77d['viewportScrollY'])??0x0},'selection':_0x1b23ec,'table':_0x29c28e,'viewportWidth':window[_0x4459b4(0x628)],'toolbarWidth':_0x5b512d}));},[_0x5b512d,_0x3c9345,_0x7c3e90,_0x1b23ec]);_0x582dbb(()=>{const _0x89ee1a=_0xea7a40;var _0x1ea21c;let _0x1c79c9=requestAnimationFrame(_0x18d84c);if(!_0x1b23ec)return()=>cancelAnimationFrame(_0x1c79c9);let _0x972fbf=_0x3c9345[_0x89ee1a(0x287)](_0x1b23ec[_0x89ee1a(0x1e5)]),_0x45e572=_0x972fbf==null?void 0x0:_0x972fbf[_0x89ee1a(0x579)],_0x57ea9e=_0x45e572==null?void 0x0:_0x45e572['getObject'](_0x50b4f6(_0x1b23ec['unitId'],_0x1b23ec[_0x89ee1a(0x47d)],_0x1b23ec[_0x89ee1a(0x235)])),_0x4b61a6=Ud(_0x18d84c,[_0x972fbf==null?void 0x0:_0x972fbf['engine'][_0x89ee1a(0x6bc)],_0x45e572==null?void 0x0:_0x45e572['onTransformChange$'],_0x57ea9e==null?void 0x0:_0x57ea9e[_0x89ee1a(0x6bc)],_0x45e572==null||(_0x1ea21c=_0x45e572[_0x89ee1a(0x3fa)](_0x4fba3b))==null?void 0x0:_0x1ea21c[_0x89ee1a(0x39b)]],_0x972fbf==null?void 0x0:_0x972fbf[_0x89ee1a(0x54e)][_0x89ee1a(0x2e1)]());return window[_0x89ee1a(0x37a)](_0x89ee1a(0x428),_0x18d84c),()=>{const _0x2419f6=_0x89ee1a;cancelAnimationFrame(_0x1c79c9),_0x4b61a6(),window[_0x2419f6(0x720)]('resize',_0x18d84c);};},[_0x18d84c,_0x3c9345,_0x1b23ec]);let _0xafe242=_0x1b23ec?_0x7c3e90[_0xea7a40(0x512)](_0x1b23ec[_0xea7a40(0x1e5)],_0x1b23ec['tableId']):null,_0x35e689=ns(_0xafe242,_0x1b23ec),_0x7aafcb=_0x35e689[_0xea7a40(0x4b5)],_0x2d9aad=_0x1e211f(_0xb3e935=>{const _0x2438e4=_0xea7a40;if(!_0x1b23ec)return;let _0x4e4bbf=_0x1b23ec[_0x2438e4(0x568)][0x0],_0x555392=_0x7c3e90[_0x2438e4(0x512)](_0x1b23ec[_0x2438e4(0x1e5)],_0x1b23ec[_0x2438e4(0x546)]);_0x4e4bbf&&_0x555392&&_0x299cd2[_0x2438e4(0x567)](_0xeaf0f0['id'],{'unitId':_0x1b23ec['unitId'],'tableId':_0x1b23ec[_0x2438e4(0x546)],'patch':_0xb3e935(_0x555392,_0x4e4bbf)});},[_0x299cd2,_0x7c3e90,_0x1b23ec]),_0x2d6e9e=_0x1e211f(_0x13ff14=>{const _0x202142=_0xea7a40;_0x1b23ec&&_0x299cd2[_0x202142(0x567)](_0xeaf0f0['id'],{'unitId':_0x1b23ec[_0x202142(0x1e5)],'tableId':_0x1b23ec[_0x202142(0x546)],'patch':{'styleId':_0x13ff14}});},[_0x299cd2,_0x1b23ec]),_0x1e1826=_0x1e211f(_0x26391d=>{const _0x55a874=_0xea7a40;_0x1b23ec&&_0x299cd2[_0x55a874(0x567)](_0xeaf0f0['id'],{'unitId':_0x1b23ec[_0x55a874(0x1e5)],'tableId':_0x1b23ec[_0x55a874(0x546)],'patch':{'options':_0x26391d}});},[_0x299cd2,_0x1b23ec]),_0x123304=_0x1e211f((_0x1e8b55,_0x4b06a0)=>{_0x1608ab({'selectionKey':_0x2c4a80,'value':_0x4b06a0?_0x1e8b55:null});},[_0x2c4a80]);return{'selectionService':_0x28c571,'commandService':_0x299cd2,'localeService':_0x19bb64,'direction':_0x45e9ff,'position':_0xa6a407,'visibleSelection':_0x1b23ec,'table':_0xafe242,'firstCellValues':_0x7aafcb,'toolbarState':_0x35e689,'tableThemePalette':_0x31d40e(()=>_0x57f67f(_0x3febca=>_0x766fee[_0xea7a40(0x3da)](_0x3febca)),[_0x766fee]),'applyPatch':_0x2d9aad,'applyTableTheme':_0x2d6e9e,'applyTableLook':_0x1e1826,'handleDropdownOpenChange':_0x123304,'markTableInternalInteraction':_0x3ad30b,'openDropdown':_0x15fbc8};}function Jd(){const _0x5c5058=_0x19aaa2;let _0x44210d=_0x238a1a(fo),{commandService:_0x96d946,localeService:_0x3aefa4,direction:_0x2b2a86,position:_0x458513,visibleSelection:_0x2355d9,table:_0x3eecaa,firstCellValues:_0x42c8f1,toolbarState:_0x575cfb,tableThemePalette:_0x11b634,applyPatch:_0x20f445,applyTableTheme:_0x5846b0,applyTableLook:_0x2f0e59,handleDropdownOpenChange:_0x15f372,markTableInternalInteraction:_0x541b07,openDropdown:_0x18f1a1}=qd(_0x2eae51(_0x44210d[_0x5c5058(0x6f6)],_0x44210d[_0x5c5058(0x5d9)]()));if(!_0x2355d9||!_0x458513||!_0x3eecaa)return null;let _0x435728={'left':_0x458513[_0x5c5058(0x374)],'top':_0x458513[_0x5c5058(0x573)],'width':_0x5c5058(0x3db),'maxWidth':'min(760px,\x20calc(100vw\x20-\x2024px))','minHeight':0x2a,'transform':_0x5c5058(0x198),'zIndex':0x2742},_0x1ae3f0=[{'labelKey':'slides-table-ui.editorToolbar.alignLeft','value':_0x13cebc[_0x5c5058(0x5b8)],'icon':_0x2cc562(_0x85ae24,{})},{'labelKey':_0x5c5058(0x26f),'value':_0x13cebc[_0x5c5058(0x265)],'icon':_0x2cc562(_0x2fc2be,{})},{'labelKey':_0x5c5058(0x255),'value':_0x13cebc['RIGHT'],'icon':_0x2cc562(_0x5ac77c,{})},{'labelKey':_0x5c5058(0x2b1),'value':_0x13cebc[_0x5c5058(0x2b6)],'icon':_0x2cc562(_0x5db93a,{})}],_0x4f2185=[{'labelKey':_0x5c5058(0x666),'value':_0x392db0[_0x5c5058(0x1a2)],'icon':_0x2cc562(_0x2b9ddf,{})},{'labelKey':_0x5c5058(0x1f8),'value':_0x392db0[_0x5c5058(0x2f5)],'icon':_0x2cc562(_0x2d60fe,{})},{'labelKey':_0x5c5058(0x402),'value':_0x392db0['BOTTOM'],'icon':_0x2cc562(_0x2eec2e,{})}],_0x5d304c=_0x2355d9[_0x5c5058(0x568)][0x0],_0x425c39=_0x575cfb['mergeState'],_0x3c9956=is(_0x3eecaa,_0x2355d9),_0xfe8bd0=(_0x3c9956==null?void 0x0:_0x3c9956['kind'])===_0x5c5058(0x642)?_0x3aefa4['t'](_0x5c5058(0x6de)):(_0x3c9956==null?void 0x0:_0x3c9956[_0x5c5058(0x3c2)])==='column'?_0x3aefa4['t']('slides-table-ui.contextMenu.deleteColumn'):null,_0x3b2a38=()=>{const _0x396177=_0x5c5058;_0x3c9956&&_0x96d946[_0x396177(0x567)](_0x3c9956['commandId'],_0x3c9956[_0x396177(0x58b)]);},_0x94bc13=(_0x425c39==null?void 0x0:_0x425c39['action'])===_0x5c5058(0x578)?_0x3aefa4['t']('slides-table-ui.editorToolbar.unmergeCells'):(_0x425c39==null?void 0x0:_0x425c39[_0x5c5058(0x28d)])==='merge'?_0x3aefa4['t'](_0x5c5058(0x5ca)):null,_0x358e4d=()=>{const _0x3abafc=_0x5c5058;let _0x573ec9=rs(_0x2355d9,(_0x425c39==null?void 0x0:_0x425c39[_0x3abafc(0x28d)])??null,(_0x425c39==null?void 0x0:_0x425c39[_0x3abafc(0x680)])??_0x5d304c??null);_0x573ec9&&_0x96d946[_0x3abafc(0x567)](_0x573ec9[_0x3abafc(0x343)],_0x573ec9['params']);};return _0x11ff53('div',{'data-u-comp':_0x5c5058(0x4c9),'role':'toolbar','className':_0x30b63f('univer-fixed\x20univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-nowrap\x20univer-items-center\x20univer-rounded\x20univer-bg-gray-0\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x4c5f7e),'dir':_0x2b2a86,'style':{..._0x435728,'direction':_0x2b2a86},'onMouseDownCapture':_0x541b07,'onPointerDownCapture':_0x541b07,'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd,'children':[_0x3c9956&&_0xfe8bd0?_0x11ff53(_0x5a66ba,{'children':[_0x2cc562(ys,{'children':_0x2cc562(bs,{'data-toolbar-item':_0x3c9956['kind']===_0x5c5058(0x642)?'delete-row':_0x5c5058(0x39d),'title':_0xfe8bd0,'onClick':_0x3b2a38,'children':_0x2cc562(_0x28bbbe,{})})}),_0x2cc562(_0x5ce877,{'orientation':'vertical'})]}):null,_0x94bc13?_0x11ff53(_0x5a66ba,{'children':[_0x2cc562(ys,{'children':_0x2cc562(bs,{'data-toolbar-item':_0x5c5058(0x22b),'title':_0x94bc13,'onClick':_0x358e4d,'children':(_0x425c39==null?void 0x0:_0x425c39[_0x5c5058(0x28d)])===_0x5c5058(0x578)?_0x2cc562(_0x11ae7b,{}):_0x2cc562(_0x57cc41,{})})}),_0x2cc562(_0x5ce877,{'orientation':_0x5c5058(0x1d0)})]}):null,_0x11ff53(ys,{'children':[_0x2cc562(ss,{'color':_0x42c8f1[_0x5c5058(0x4d3)],'value':Mo(_0x42c8f1[_0x5c5058(0x319)]),'gradientValue':Io(_0x42c8f1[_0x5c5058(0x319)],_0x42c8f1[_0x5c5058(0x4d3)]),'previewStyle':Ro(_0x42c8f1[_0x5c5058(0x319)],_0x42c8f1[_0x5c5058(0x4d3)]),'showPreview':!0x1,'tableFill':_0x42c8f1[_0x5c5058(0x319)],'mixed':!!_0x42c8f1[_0x5c5058(0x539)][_0x5c5058(0x319)],'open':_0x18f1a1===_0x5c5058(0x607),'onOpenChange':_0x5ca88f=>_0x15f372(_0x5c5058(0x607),_0x5ca88f),'onTableFillChange':_0x2b155b=>_0x20f445((_0x17b7ff,_0x2f60cd)=>gi(_0x17b7ff,_0x2f60cd,_0x2b155b)),'children':_0x2cc562(_0xbc21ef,{'extend':{'colorChannel1':_0x42c8f1[_0x5c5058(0x4d3)]}})}),_0x2cc562(ws,{'direction':_0x2b2a86,'color':_0x42c8f1[_0x5c5058(0x373)],'width':_0x42c8f1[_0x5c5058(0x601)],'dash':_0x42c8f1['borderDash'],'presets':hs,'open':_0x18f1a1===_0x5c5058(0x484),'mixed':!!(_0x42c8f1[_0x5c5058(0x539)][_0x5c5058(0x373)]||_0x42c8f1[_0x5c5058(0x539)][_0x5c5058(0x601)]||_0x42c8f1['mixed'][_0x5c5058(0x1f1)]),'onOpenChange':_0x359c4c=>_0x15f372(_0x5c5058(0x484),_0x359c4c),'onSelectPreset':_0x1b196f=>_0x20f445((_0x1652a3,_0x4464a2)=>bi(_0x1652a3,_0x4464a2,_0x1b196f)),'onChangeColor':_0x2df79b=>_0x20f445((_0x3e2281,_0x912ca8)=>yi(_0x3e2281,_0x912ca8,{'color':_0x2df79b})),'onChangeWidth':_0x2b101c=>_0x20f445((_0x46c874,_0x46780b)=>yi(_0x46c874,_0x46780b,{'width':_0x2b101c,'dash':_0x2b101c===0x0?_0x3cd644[_0x5c5058(0x311)]:void 0x0})),'onChangeDash':_0x29e2d9=>_0x20f445((_0x32bf4d,_0x3e0410)=>yi(_0x32bf4d,_0x3e0410,{'dash':_0x29e2d9}))})]}),_0x2cc562(_0x5ce877,{'orientation':_0x5c5058(0x1d0)}),_0x11ff53(ys,{'children':[_0x2cc562(_0x27a88b,{'ariaLabel':_0x3aefa4['t']('slides-table-ui.editorToolbar.fontFamily'),'className':_0x5c5058(0x24e),'inputClassName':_0x5c5058(0x39e),'value':_0x42c8f1['mixed']['fontFamily']?'':_0x42c8f1[_0x5c5058(0x618)],'onChange':_0x1ac4a0=>_0x20f445((_0x3007ad,_0x2d0087)=>xi(_0x3007ad,_0x2d0087,_0x1ac4a0)),'onMouseDown':_0x21a5cd,'onPointerDown':_0x21a5cd}),_0x2cc562(Os,{'title':_0x3aefa4['t']('slides-table-ui.editorToolbar.fontSize'),'widthClassName':_0x5c5058(0x396),'value':_0x42c8f1['mixed'][_0x5c5058(0x2ea)]?'':String(_0x42c8f1[_0x5c5058(0x2ea)]),'options':_0x42c8f1[_0x5c5058(0x539)][_0x5c5058(0x2ea)]?[{'label':'—','value':''},...fs]:Vo(fs,String(_0x42c8f1[_0x5c5058(0x2ea)])),'onChange':_0x5e9eca=>{const _0x4fe9fc=_0x5c5058;let _0x5ec57f=Number(_0x5e9eca);_0x5e9eca&&!Number[_0x4fe9fc(0x2f7)](_0x5ec57f)&&_0x20f445((_0x23b5ff,_0x7b4f85)=>Si(_0x23b5ff,_0x7b4f85,_0x5ec57f));}}),_0x2cc562(Ss,{'open':_0x18f1a1===_0x5c5058(0x693),'values':_0x42c8f1,'horizontalAlignOptions':_0x1ae3f0,'verticalAlignOptions':_0x4f2185,'onOpenChange':_0x58215b=>_0x15f372(_0x5c5058(0x693),_0x58215b),'onToggleStyle':_0x26e8df=>_0x20f445((_0x47e4f4,_0x595cbb)=>Li(_0x47e4f4,_0x595cbb,_0x26e8df)),'onHorizontalAlign':_0x2b76f4=>_0x20f445((_0x39e9d5,_0x1c2196)=>di(_0x39e9d5,_0x1c2196,{'axis':'horizontal','value':_0x2b76f4})),'onVerticalAlign':_0x3fa2aa=>_0x20f445((_0x4a26b3,_0x21b7ec)=>di(_0x4a26b3,_0x21b7ec,{'axis':'vertical','value':_0x3fa2aa}))})]}),_0x2cc562(_0x5ce877,{'orientation':'vertical'}),_0x11ff53(ys,{'children':[_0x2cc562(Es,{'data-toolbar-item':_0x5c5058(0x1ee),'title':_0x3aefa4['t'](_0x5c5058(0x5db)),'color':_0x42c8f1[_0x5c5058(0x676)],'mixed':!!(_0x42c8f1[_0x5c5058(0x539)][_0x5c5058(0x676)]||_0x42c8f1[_0x5c5058(0x539)][_0x5c5058(0x6bf)]),'icon':_0x5c5058(0x217),'open':_0x18f1a1===_0x5c5058(0x676),'onOpenChange':_0x49d5a5=>_0x15f372(_0x5c5058(0x676),_0x49d5a5),'onChange':_0x5109eb=>_0x20f445((_0x2bddb9,_0xe1c6f2)=>vi(_0x2bddb9,_0xe1c6f2,{'type':_0x5c5058(0x435),'color':_0x5109eb,'opacity':0x1}))}),_0x2cc562(Es,{'data-toolbar-item':_0x5c5058(0x3d1),'title':_0x3aefa4['t'](_0x5c5058(0x68e)),'color':_0x42c8f1['textBackgroundColor'],'mixed':!!_0x42c8f1['mixed'][_0x5c5058(0x499)],'icon':'bucket','open':_0x18f1a1===_0x5c5058(0x450),'onOpenChange':_0x4502e3=>_0x15f372(_0x5c5058(0x450),_0x4502e3),'onChange':_0x462103=>_0x20f445((_0x423f45,_0x973987)=>Li(_0x423f45,_0x973987,{'bg':{'rgb':_0x462103}}))})]}),_0x2cc562(_0x5ce877,{'orientation':_0x5c5058(0x1d0)}),_0x2cc562(ys,{'children':_0x2cc562(Cs,{'open':_0x18f1a1===_0x5c5058(0x394),'onOpenChange':_0x2127d8=>_0x15f372(_0x5c5058(0x394),_0x2127d8),'children':_0x2cc562(Ns,{'currentStyleId':_0x3eecaa['styleId'],'currentOptions':_0x3eecaa[_0x5c5058(0x2d0)]??{},'direction':_0x2b2a86,'palette':_0x11b634,'onApplyTheme':_0x5db335=>{const _0x32da4b=_0x5c5058;_0x5846b0(_0x5db335),_0x15f372(_0x32da4b(0x394),!0x1);},'onChangeOptions':_0x2f0e59})})}),_0x2cc562(_0x5ce877,{'orientation':_0x5c5058(0x1d0)}),_0x2cc562(ys,{'children':_0x2cc562(bs,{'data-toolbar-item':_0x5c5058(0x35d),'title':_0x3aefa4['t'](_0x5c5058(0x5f7)),'onClick':()=>_0x96d946[_0x5c5058(0x567)](ra['id']),'children':_0x2cc562(_0x28bbbe,{})})})]});}function Yd(_0xc7c0af){const _0x4293df=_0x19aaa2;let {labels:_0x263c67,values:_0x248317,onChange:_0x513235,onInteraction:_0x3aad4,onDelete:_0x50d68d,menuType:_0x352a2e,themeGallery:_0xe20436}=_0xc7c0af,{mountContainer:_0x513d8c}=_0x153408(_0x429f87),_0x2922e5=_0x238a1a(_0x538857),[_0x2aee96,_0x1f3404]=_0x32798a(null),[_0x18bb46,_0x4e4ddc]=_0x32798a(_0x4293df(0x3ea)),[_0x5017db,_0xbdedfc]=_0x32798a(_0x4293df(0x5a1)),[_0x14c56a,_0x36836a]=_0x32798a(null),[_0x3f1d51,_0x9214c7]=_0x32798a(null),_0xcfac94=()=>{_0x1f3404(null),_0x36836a(null),_0x9214c7(null);},_0x300cd7=_0x271409=>_0x513235((_0x24f1ab,_0x5a0d16)=>Li(_0x24f1ab,_0x5a0d16,{..._0x271409})),_0x377e36=[{'key':_0x4293df(0x4eb),'label':_0x263c67['bold'],'icon':_0x2cc562(_0x44c355,{}),'active':_0x248317[_0x4293df(0x4eb)],'patch':{'bl':_0x248317[_0x4293df(0x4eb)]?_0xd91ed3['FALSE']:_0xd91ed3[_0x4293df(0x1e1)]}},{'key':_0x4293df(0x384),'label':_0x263c67[_0x4293df(0x384)],'icon':_0x2cc562(_0x441261,{}),'active':_0x248317[_0x4293df(0x384)],'patch':{'it':_0x248317[_0x4293df(0x384)]?_0xd91ed3[_0x4293df(0x721)]:_0xd91ed3[_0x4293df(0x1e1)]}},{'key':_0x4293df(0x223),'label':_0x263c67[_0x4293df(0x223)],'icon':_0x2cc562(_0x408c2d,{}),'active':_0x248317['underline'],'patch':{'ul':{'s':_0x248317[_0x4293df(0x223)]?_0xd91ed3[_0x4293df(0x721)]:_0xd91ed3[_0x4293df(0x1e1)]}}},{'key':_0x4293df(0x647),'label':_0x263c67[_0x4293df(0x20c)],'icon':_0x2cc562(_0x43aea7,{}),'active':_0x248317[_0x4293df(0x647)],'patch':{'st':{'s':_0x248317[_0x4293df(0x647)]?_0xd91ed3[_0x4293df(0x721)]:_0xd91ed3['TRUE']}}}],_0x233f36={'textColor':_0x248317[_0x4293df(0x676)],'textBackgroundColor':_0x248317['textBackgroundColor'],'tableBackgroundColor':_0x248317[_0x4293df(0x4d3)],'tableBorderColor':_0x248317['borderColor']},_0x125f43=_0x18bb46===_0x4293df(0x3ea)?[_0x4293df(0x676),'textBackgroundColor']:[_0x4293df(0x5c3),_0x4293df(0x6c5)];return _0x2aee96?_0x513d8c?_0x514258(_0x2cc562(_0x4293df(0x4d6),{'className':'univer-pointer-events-none\x20univer-fixed\x20univer-inset-0\x20univer-z-[1080]','onPointerDownCapture':_0x3aad4,'children':_0x11ff53(_0x1b3f29,{'layout':'canvas','snap':_0x5017db,'onSnapChange':_0xbdedfc,'onClose':_0xcfac94,'expandLabel':_0x263c67[_0x4293df(0x19a)],'collapseLabel':_0x263c67[_0x4293df(0x56c)],'role':_0x4293df(0x23b),'panelClassName':_0x4293df(0x1a1),'ariaLabel':_0x263c67[_0x2aee96],'header':_0x11ff53(_0x4293df(0x4d6),{'className':'univer-flex\x20univer-h-12\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-px-3','children':[(_0x14c56a||_0x3f1d51)&&_0x2cc562(_0x4e0f66,{'variant':_0x4293df(0x4b7),'className':_0x4293df(0x6ac),'aria-label':_0x263c67[_0x4293df(0x28a)],'onClick':()=>_0x14c56a?_0x36836a(null):_0x3f1d51==null?void 0x0:_0x3f1d51[_0x4293df(0x6b0)](),'children':_0x2cc562(_0x32a6da,{})}),_0x2cc562(_0x4293df(0x41c),{'className':_0x4293df(0x4a0),'children':_0x14c56a?_0x263c67[_0x14c56a]:(_0x3f1d51==null?void 0x0:_0x3f1d51[_0x4293df(0x49a)])??_0x263c67[_0x2aee96]}),_0x2cc562(_0x4e0f66,{'variant':_0x4293df(0x4b7),'className':'univer-size-11','aria-label':_0x263c67['close'],'onClick':_0xcfac94,'children':_0x2cc562(_0x48fa05,{})})]}),'children':[_0x2aee96===_0x4293df(0x67e)&&!_0x14c56a&&!_0x3f1d51&&_0x2cc562('div',{'className':_0x4293df(0x445),'children':_0x2cc562(_0x4293df(0x4d6),{'role':'tablist','aria-label':_0x263c67[_0x4293df(0x67e)],'className':_0x4293df(0x611),'children':[_0x4293df(0x3ea),_0x4293df(0x1a0),_0x4293df(0x390)][_0x4293df(0x694)](_0x3ea6fb=>_0x2cc562(_0x4e0f66,{'role':_0x4293df(0x1fe),'aria-selected':_0x18bb46===_0x3ea6fb,'variant':_0x4293df(0x4b7),'className':_0x30b63f('univer-h-11\x20univer-min-w-0\x20univer-flex-1\x20univer-text-sm',_0x18bb46===_0x3ea6fb&&_0x4293df(0x3dc)),'onClick':()=>_0x4e4ddc(_0x3ea6fb),'children':_0x263c67[_0x3ea6fb]},_0x3ea6fb))})}),_0x14c56a?_0x2cc562(_0x32ff66,{'value':_0x233f36[_0x14c56a],'onChange':_0x18a02f=>{_0x513235((_0xf85771,_0x34fe33)=>{const _0x4c2153=_0x1c3c;switch(_0x14c56a){case _0x4c2153(0x676):return _i(_0xf85771,_0x34fe33,_0x18a02f);case _0x4c2153(0x499):return Li(_0xf85771,_0x34fe33,{'bg':{'rgb':_0x18a02f}});case _0x4c2153(0x5c3):return gi(_0xf85771,_0x34fe33,{'type':_0x870dab[_0x4c2153(0x56a)],'color':_0x18a02f,'alpha':0x1});case'tableBorderColor':return yi(_0xf85771,_0x34fe33,{'color':_0x18a02f});default:return{};}});}}):_0x11ff53(_0x4293df(0x4d6),{'className':_0x4293df(0x40b),'children':[_0x2aee96===_0x4293df(0x67e)&&!_0x3f1d51&&_0x18bb46!=='styles'&&_0x11ff53(_0x5a66ba,{'children':[_0x18bb46===_0x4293df(0x3ea)&&_0x11ff53(_0x5a66ba,{'children':[_0x2cc562('div',{'className':'univer-grid\x20univer-grid-cols-4\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':_0x377e36['map'](({key:_0x149123,label:_0x6507a5,icon:_0x448e87,active:_0x4baadc,patch:_0x32ef26})=>_0x2cc562(_0x4e0f66,{'variant':_0x4293df(0x4b7),'className':_0x30b63f(_0x4293df(0x1da),_0x4baadc&&_0x4293df(0x3dc)),'aria-label':_0x6507a5,'aria-pressed':_0x4baadc,'onClick':()=>_0x300cd7(_0x32ef26),'children':_0x448e87},_0x149123))}),_0x11ff53('div',{'className':_0x4293df(0x632),'children':[_0x11ff53(_0x4293df(0x38f),{'className':'univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','children':[_0x263c67[_0x4293df(0x618)],_0x2cc562(_0x54e4d9,{'ariaLabel':_0x263c67[_0x4293df(0x618)],'className':'!univer-h-12\x20univer-bg-gray-0','inputClassName':_0x4293df(0x1ec),'value':_0x248317[_0x4293df(0x618)],'onChange':_0x2acbca=>_0x513235((_0x6797aa,_0x2d93be)=>xi(_0x6797aa,_0x2d93be,_0x2acbca))})]}),_0x11ff53(_0x4293df(0x38f),{'className':_0x4293df(0x57f),'children':[_0x263c67[_0x4293df(0x2ea)],_0x2cc562(_0x121760,{'className':_0x4293df(0x3f6),'controls':!0x1,'min':0x1,'max':0x190,'value':_0x248317[_0x4293df(0x2ea)],'onChange':_0x1ea549=>{_0x1ea549!=null&&_0x513235((_0xc8ee3b,_0x82883a)=>Si(_0xc8ee3b,_0x82883a,_0x1ea549));}})]})]})]}),_0x2cc562('div',{'className':'univer-grid\x20univer-grid-cols-3\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':[{'label':_0x263c67[_0x4293df(0x4d8)],'value':_0x13cebc[_0x4293df(0x5b8)],'icon':_0x2cc562(_0x85ae24,{})},{'label':_0x263c67[_0x4293df(0x2a1)],'value':_0x13cebc[_0x4293df(0x265)],'icon':_0x2cc562(_0x2fc2be,{})},{'label':_0x263c67[_0x4293df(0x48d)],'value':_0x13cebc[_0x4293df(0x70c)],'icon':_0x2cc562(_0x5ac77c,{})}]['map'](({label:_0x4a6e92,value:_0x3e370e,icon:_0x3b7955})=>_0x2cc562(_0x4e0f66,{'variant':_0x4293df(0x4b7),'className':_0x30b63f('univer-h-12',_0x248317[_0x4293df(0x709)]===_0x3e370e&&'univer-bg-primary-50\x20univer-text-primary-600'),'aria-label':_0x4a6e92,'aria-pressed':_0x248317[_0x4293df(0x709)]===_0x3e370e,'onClick':()=>_0x513235((_0x37919f,_0x2eb86b)=>di(_0x37919f,_0x2eb86b,{'axis':_0x4293df(0x219),'value':_0x3e370e})),'children':_0x3b7955},_0x3e370e))}),_0x2cc562(_0x4293df(0x4d6),{'className':'univer-grid\x20univer-grid-cols-3\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':[{'label':_0x263c67[_0x4293df(0x3be)],'value':_0x392db0[_0x4293df(0x1a2)],'icon':_0x2cc562(_0x2b9ddf,{})},{'label':_0x263c67[_0x4293df(0x4b3)],'value':_0x392db0[_0x4293df(0x2f5)],'icon':_0x2cc562(_0x2d60fe,{})},{'label':_0x263c67['alignBottom'],'value':_0x392db0[_0x4293df(0x310)],'icon':_0x2cc562(_0x2eec2e,{})}]['map'](({label:_0x36c86a,value:_0x424df1,icon:_0x474576})=>_0x2cc562(_0x4e0f66,{'variant':_0x4293df(0x4b7),'className':_0x30b63f(_0x4293df(0x453),_0x248317[_0x4293df(0x4db)]===_0x424df1&&_0x4293df(0x3dc)),'aria-label':_0x36c86a,'aria-pressed':_0x248317[_0x4293df(0x4db)]===_0x424df1,'onClick':()=>_0x513235((_0x260c7c,_0x4bf18f)=>di(_0x260c7c,_0x4bf18f,{'axis':_0x4293df(0x1d0),'value':_0x424df1})),'children':_0x474576},_0x424df1))}),_0x2cc562(_0x4293df(0x4d6),{'className':_0x4293df(0x4d7),'children':_0x125f43['map'](_0x1f5e3e=>_0x11ff53(_0x4e0f66,{'variant':_0x4293df(0x4b7),'className':'univer-h-12\x20univer-w-full\x20univer-justify-between\x20univer-text-base','onClick':()=>_0x36836a(_0x1f5e3e),'children':[_0x263c67[_0x1f5e3e],_0x11ff53(_0x4293df(0x41c),{'className':_0x4293df(0x49c),'children':[_0x2cc562('span',{'className':_0x4293df(0x3cc),'style':{'backgroundColor':_0x233f36[_0x1f5e3e]}}),_0x2cc562(_0x183029,{})]})]},_0x1f5e3e))}),_0x18bb46==='cellStyle'&&_0x11ff53(_0x4293df(0x4d6),{'className':_0x4293df(0x632),'children':[_0x11ff53('label',{'className':_0x4293df(0x6af),'children':[_0x263c67[_0x4293df(0x484)],_0x2cc562(_0x2d9beb,{'className':_0x4293df(0x1fa),'aria-label':_0x263c67[_0x4293df(0x484)],'value':'','options':[{'value':'','label':_0x263c67[_0x4293df(0x484)],'disabled':!0x0},{'value':_0x16a4b2[_0x4293df(0x42b)],'label':_0x263c67[_0x4293df(0x20a)]},{'value':_0x16a4b2[_0x4293df(0x215)],'label':_0x263c67[_0x4293df(0x5f2)]},{'value':_0x16a4b2['Inner'],'label':_0x263c67[_0x4293df(0x537)]},{'value':_0x16a4b2[_0x4293df(0x311)],'label':_0x263c67[_0x4293df(0x588)]}],'onChange':_0x53107e=>{const _0x48de32=_0x4293df;let _0x231a97=Object['values'](_0x16a4b2)[_0x48de32(0x3c6)](_0x4b727c=>_0x4b727c===_0x53107e);_0x231a97&&_0x513235((_0x4b2bd5,_0x174bb9)=>bi(_0x4b2bd5,_0x174bb9,_0x231a97));}})]}),_0x11ff53(_0x4293df(0x38f),{'className':_0x4293df(0x6af),'children':[_0x263c67[_0x4293df(0x601)],_0x2cc562(_0x121760,{'className':_0x4293df(0x3f6),'controls':!0x1,'min':0x0,'value':_0x248317['borderWidth'],'onChange':_0x20e12b=>{_0x20e12b!=null&&_0x513235((_0x19cba4,_0x2f7c2b)=>yi(_0x19cba4,_0x2f7c2b,{'width':_0x20e12b}));}})]})]})]}),_0x2aee96===_0x4293df(0x6f1)&&!_0x3f1d51&&_0x11ff53(_0x4293df(0x4d6),{'className':_0x4293df(0x501),'children':[_0x2cc562(_0x4e0f66,{'className':_0x4293df(0x453),'onClick':()=>{_0xc7c0af['onSelect']('cell');},'children':_0x263c67[_0x4293df(0x5bb)]}),_0x2cc562(_0x4e0f66,{'className':_0x4293df(0x453),'onClick':()=>{const _0x41225f=_0x4293df;_0xc7c0af['onSelect'](_0x41225f(0x3c4));},'children':_0x263c67['selectColumn']})]}),_0x2aee96===_0x4293df(0x6f1)&&_0x2cc562(_0x70639f,{'menuType':_0x352a2e,'showHeader':!0x1,'onNavigationChange':_0x9214c7,'onOptionSelect':async _0x5cbc59=>{const _0x4cc05c=_0x4293df;let _0x8e8fff=_0x5cbc59[_0x4cc05c(0x343)]??_0x5cbc59['id'];if(!_0x8e8fff)return;let _0x147f20=typeof _0x5cbc59[_0x4cc05c(0x58b)]==_0x4cc05c(0x436)?_0x5cbc59[_0x4cc05c(0x58b)](_0x5cbc59[_0x4cc05c(0x39a)]):_0x5cbc59[_0x4cc05c(0x58b)];await _0x2922e5[_0x4cc05c(0x567)](_0x8e8fff,_0x147f20);}}),_0x2aee96===_0x4293df(0x67e)&&_0x18bb46===_0x4293df(0x390)&&!_0x3f1d51&&_0xe20436]})]})}),_0x513d8c):null:_0x2cc562(_0x4293df(0x4d6),{'onPointerDownCapture':_0x3aad4,'children':_0x2cc562(_0x70639f,{'presentation':_0x4293df(0x21a),'schemas':[{'key':_0x4293df(0x67e),'order':0x0,'item':{'id':_0x4293df(0x67e),'type':_0x57d79c['BUTTON'],'title':_0x263c67['edit']}},{'key':_0x4293df(0x6f1),'order':0x1,'item':{'id':_0x4293df(0x6f1),'type':_0x57d79c['BUTTON'],'title':_0x263c67[_0x4293df(0x6f1)]}},{'key':_0x4293df(0x614),'order':0x2,'item':{'id':'delete','type':_0x57d79c[_0x4293df(0x6e9)],'title':_0x263c67[_0x4293df(0x614)]}}],'onOptionSelect':({id:_0x177a3b})=>{const _0x16857d=_0x4293df;_0x177a3b==='edit'?_0x1f3404('edit'):_0x177a3b==='operations'?_0x1f3404(_0x16857d(0x6f1)):_0x177a3b===_0x16857d(0x614)&&_0x50d68d();}})});}function Xd(_0x61af0d){const _0x32aa4c=_0x19aaa2;let _0xed917b=_0x238a1a(_0xc7884c);return _0x11ff53(_0x32aa4c(0x4d6),{'className':_0x32aa4c(0x331),'dir':_0x61af0d[_0x32aa4c(0x478)],'children':[_0x61af0d[_0x32aa4c(0x2e6)]!==!0x1&&_0x2cc562(_0x32aa4c(0x4d6),{'className':_0x32aa4c(0x501),'children':Ms[_0x32aa4c(0x694)](({key:_0x503f23,labelKey:_0x26aec0})=>_0x11ff53(_0x4e0f66,{'className':_0x30b63f(_0x32aa4c(0x338),_0x61af0d[_0x32aa4c(0x329)][_0x503f23]&&_0x32aa4c(0x3dc)),'aria-pressed':!!_0x61af0d[_0x32aa4c(0x329)][_0x503f23],'onClick':()=>_0x61af0d[_0x32aa4c(0x5ee)]({..._0x61af0d[_0x32aa4c(0x329)],[_0x503f23]:!_0x61af0d[_0x32aa4c(0x329)][_0x503f23]}),'children':[_0x61af0d['currentOptions'][_0x503f23]&&_0x2cc562(_0x5ce528,{}),_0xed917b['t'](_0x26aec0)]},_0x503f23))}),_0x61af0d[_0x32aa4c(0x19f)]!==!0x1&&As[_0x32aa4c(0x694)](_0x2f128b=>_0x11ff53('section',{'className':_0x32aa4c(0x68d),'children':[_0x2cc562('h3',{'className':_0x32aa4c(0x4f1),'children':_0xed917b['t'](js[_0x2f128b])}),_0x2cc562(_0x32aa4c(0x4d6),{'className':_0x32aa4c(0x213),'children':_0x5399fa[_0x32aa4c(0x1f3)](_0x4b1f32=>_0x4b1f32['group']===_0x2f128b)[_0x32aa4c(0x694)]((_0x24f626,_0x33c41a)=>_0x2cc562(_0x32aa4c(0x63a),{'type':'button','aria-label':_0xed917b['t'](js[_0x2f128b])+'\x20'+(_0x33c41a+0x1),'aria-pressed':_0x61af0d['currentStyleId']===_0x24f626['id'],'className':_0x30b63f(_0x32aa4c(0x5fd),_0x61af0d[_0x32aa4c(0x2d8)]===_0x24f626['id']&&'univer-border-primary-600\x20univer-bg-primary-50'),'onClick':()=>_0x61af0d[_0x32aa4c(0x426)](_0x24f626['id']),'children':_0x2cc562(Fs,{'styleId':_0x24f626['id'],'options':_0x61af0d[_0x32aa4c(0x329)],'direction':_0x61af0d[_0x32aa4c(0x478)]??_0x32aa4c(0x444),'palette':_0x61af0d[_0x32aa4c(0x502)]})},_0x24f626['id']))})]},_0x2f128b))]});}function Zd(){const _0x27749b=_0x19aaa2;let {selectionService:_0x593ddf,localeService:_0x329f70,direction:_0xdb2d0e,position:_0x33a228,visibleSelection:_0x1bbe0a,table:_0x568594,firstCellValues:_0x4ef12d,tableThemePalette:_0x3d466c,applyPatch:_0x4d646c,applyTableTheme:_0x369c3d,applyTableLook:_0x1b0734}=qd(!0x0,0xf0),_0x28d84f=_0x238a1a(_0x538857);if(!_0x1bbe0a||!_0x33a228||!_0x568594)return null;let _0xae3ff6={'left':_0x33a228[_0x27749b(0x374)],'top':_0x33a228[_0x27749b(0x573)],'width':_0x27749b(0x3db),'maxWidth':_0x27749b(0x4ff),'minHeight':0x24,'transform':_0x27749b(0x198),'zIndex':0x2742};return _0x2cc562(_0x27749b(0x4d6),{'style':{..._0xae3ff6,'left':Math[_0x27749b(0x1df)](Math['max'](0xc,_0x33a228['left']),window[_0x27749b(0x628)]-0xc)},'className':_0x27749b(0x4d9),'children':_0x2cc562(Yd,{'values':_0x4ef12d,'menuType':_0x27749b(0x482),'onInteraction':()=>_0x593ddf['markTableInternalInteraction'](),'onChange':_0x4d646c,'onDelete':()=>_0x28d84f[_0x27749b(0x567)](ra['id']),'onSelect':_0x2191d3=>{const _0x2fff30=_0x27749b;let _0x490a25=_0x1bbe0a['ranges'][0x0];if(_0x2191d3==='column'){var _0x50c19c,_0x4ca861;_0x593ddf['selectColumns']({..._0x1bbe0a,'startColumn':((_0x50c19c=_0x1bbe0a[_0x2fff30(0x2a4)])==null?void 0x0:_0x50c19c[_0x2fff30(0x3c4)])??_0x490a25[_0x2fff30(0x2f4)],'endColumn':((_0x4ca861=_0x1bbe0a['focus'])==null?void 0x0:_0x4ca861['column'])??_0x490a25['startColumn'],'rowCount':_0x568594['rows'][_0x2fff30(0x3b8)]});}else _0x593ddf[_0x2fff30(0x5bb)]({..._0x1bbe0a,'row':_0x490a25['startRow'],'column':_0x490a25['startColumn']});},'labels':{'text':_0x329f70['t'](_0x27749b(0x485)),'cellStyle':_0x329f70['t']('slides-table-ui.ribbon.cellStyle'),'styles':_0x329f70['t'](_0x27749b(0x5f9)),'operations':_0x329f70['t']('slides-table-ui.mobile.operations'),'selectCell':_0x329f70['t']('slides-table-ui.mobile.selectCell'),'selectColumn':_0x329f70['t'](_0x27749b(0x553)),'edit':_0x329f70['t'](_0x27749b(0x2f2)),'close':_0x329f70['t']('slides-table-ui.mobile.close'),'expand':_0x329f70['t'](_0x27749b(0x6e6)),'collapse':_0x329f70['t'](_0x27749b(0x3c3)),'back':_0x329f70['t'](_0x27749b(0x3af)),'delete':_0x329f70['t'](_0x27749b(0x561)),'fontFamily':_0x329f70['t'](_0x27749b(0x591)),'fontSize':_0x329f70['t'](_0x27749b(0x487)),'bold':_0x329f70['t'](_0x27749b(0x4f7)),'italic':_0x329f70['t'](_0x27749b(0x455)),'underline':_0x329f70['t'](_0x27749b(0x245)),'strikethrough':_0x329f70['t'](_0x27749b(0x685)),'alignLeft':_0x329f70['t']('slides-table-ui.editorToolbar.alignLeft'),'alignCenter':_0x329f70['t'](_0x27749b(0x26f)),'alignRight':_0x329f70['t'](_0x27749b(0x255)),'alignTop':_0x329f70['t'](_0x27749b(0x666)),'alignMiddle':_0x329f70['t']('slides-table-ui.editorToolbar.alignMiddle'),'alignBottom':_0x329f70['t'](_0x27749b(0x402)),'textColor':_0x329f70['t'](_0x27749b(0x5db)),'textBackgroundColor':_0x329f70['t'](_0x27749b(0x68e)),'tableBackgroundColor':_0x329f70['t'](_0x27749b(0x564)),'tableBorderColor':_0x329f70['t'](_0x27749b(0x58e)),'border':_0x329f70['t'](_0x27749b(0x2cc)),'borderWidth':_0x329f70['t'](_0x27749b(0x42a)),'borderPresetAll':_0x329f70['t'](_0x27749b(0x503)),'borderPresetOuter':_0x329f70['t']('slides-table-ui.editorToolbar.borderPresetOuter'),'borderPresetInner':_0x329f70['t'](_0x27749b(0x2ab)),'noBorder':_0x329f70['t'](_0x27749b(0x1b4))},'themeGallery':_0x2cc562(Xd,{'currentStyleId':_0x568594[_0x27749b(0x599)],'currentOptions':_0x568594['options']??{},'direction':_0xdb2d0e,'palette':_0x3d466c,'onApplyTheme':_0x369c3d,'onChangeOptions':_0x1b0734})},_0x1bbe0a[_0x27749b(0x546)])});}let Qd=class extends _0x3b5005{constructor(_0x4445f9=ti,_0x14ae07,_0x469a56,_0x348453,_0x3a4c5c,_0x3387b1,_0x13c7a7,_0x1c451b){const _0x3a56d5=_0x19aaa2;super(),this[_0x3a56d5(0x1a3)]=_0x4445f9,this['_injector']=_0x14ae07,this[_0x3a56d5(0x382)]=_0x469a56,this[_0x3a56d5(0x39f)]=_0x348453,this[_0x3a56d5(0x1f0)]=_0x3a4c5c,this[_0x3a56d5(0x3a2)]=_0x3387b1,this['_shortcutService']=_0x13c7a7,this[_0x3a56d5(0x204)]=_0x1c451b;let {..._0x5b71ff}=_0x56c4e8({},ti,this['_config']);this[_0x3a56d5(0x382)][_0x3a56d5(0x352)](ei,_0x5b71ff),[...xa,...Qa,uo,po]['forEach'](_0x31a47e=>this['disposeWithMe'](this[_0x3a56d5(0x1f0)][_0x3a56d5(0x3ac)](_0x31a47e))),[...$a,...eo]['forEach'](_0x2ab2ab=>this['disposeWithMe'](this[_0x3a56d5(0x2b8)][_0x3a56d5(0x256)](_0x2ab2ab)));}[_0x19aaa2(0x1a4)](){const _0x10e391=_0x19aaa2;[[fo],[Xs],[Dd],[J],[Ua],[Nd],[mo],[Od]]['forEach'](_0x47bde1=>this[_0x10e391(0x375)]['add'](_0x47bde1)),this[_0x10e391(0x3a8)](this[_0x10e391(0x375)]['get'](_0x4f9dac)['register'](kd)),_0x29d905(this[_0x10e391(0x375)],[[Xs],[J],[Ua],[fo],[Nd],[mo],[Od]]),this[_0x10e391(0x3a8)](this[_0x10e391(0x375)][_0x10e391(0x417)](_0x5c286a)[_0x10e391(0x2a6)](this[_0x10e391(0x375)][_0x10e391(0x417)](Nd)));}[_0x19aaa2(0x3bd)](){const _0x36713b=_0x19aaa2;this[_0x36713b(0x3a2)][_0x36713b(0x251)](wd),this[_0x36713b(0x375)][_0x36713b(0x417)](Dd),this[_0x36713b(0x3a8)](this[_0x36713b(0x39f)][_0x36713b(0x6d3)](_0x35e99f[_0x36713b(0x45e)],[Lu])),this['disposeWithMe'](this[_0x36713b(0x204)][_0x36713b(0x36b)](_0x39e103[_0x36713b(0x1a5)],()=>_0x2c2af1(Zd,this[_0x36713b(0x375)])));}};q(Qd,_0x19aaa2(0x5af),_0x35e99f[_0x19aaa2(0x45e)]),q(Qd,_0x19aaa2(0x3ff),_0x19aaa2(0x1dd)),q(Qd,'packageName',ni),q(Qd,_0x19aaa2(0x6f4),ri),Qd=Ha([_0x55f818(_0x411fb7,_0x1d628f,_0x43b082,_0x524a2f,_0x1cb463),Q(0x1,_0x29de4d(_0x5752bd)),Q(0x2,_0x250757),Q(0x3,_0x1f1408),Q(0x4,_0x538857),Q(0x5,_0x257b45),Q(0x6,_0x445e9c),Q(0x7,_0x4b3a71)],Qd);let $d=class extends _0x525b66{constructor(_0x499f91,_0x1ad446){const _0x28a37e=_0x19aaa2;super(),this[_0x28a37e(0x25f)]=_0x499f91,this['_iconManager']=_0x1ad446,this['_registerIcons'](),this[_0x28a37e(0x4a4)]();}[_0x19aaa2(0x321)](){const _0xcdcdf2=_0x19aaa2;this[_0xcdcdf2(0x3a8)](this['_iconManager'][_0xcdcdf2(0x2eb)]({'AdjustHeightDoubleIcon':_0x573a9f,'AdjustWidthDoubleIcon':_0x3f0c5b,'CancelMergeIcon':_0x11ae7b,'DeleteColumnDoubleIcon':_0x41df91,'DeleteRowDoubleIcon':_0x23739f,'InsertRowAboveDoubleIcon':_0x33db55,'InsertRowBelowDoubleIcon':_0x5b9fa5,'LeftInsertColumnDoubleIcon':_0x1cea09,'MergeAllIcon':_0x57cc41,'RightInsertColumnDoubleIcon':_0x48867c,'TableIcon':_0x31336b}));}[_0x19aaa2(0x4a4)](){const _0x1dad38=_0x19aaa2;this[_0x1dad38(0x3a8)](this[_0x1dad38(0x25f)][_0x1dad38(0x2eb)](ho,go)),this[_0x1dad38(0x3a8)](this[_0x1dad38(0x25f)][_0x1dad38(0x2eb)](io,lo)),this[_0x1dad38(0x3a8)](this[_0x1dad38(0x25f)][_0x1dad38(0x2eb)](Is,Hs)),this[_0x1dad38(0x3a8)](this['_componentManager'][_0x1dad38(0x2eb)](Ls,Ws)),this[_0x1dad38(0x3a8)](this['_componentManager'][_0x1dad38(0x2eb)](Rs,Ys));}};$d=Ha([Q(0x0,_0x29de4d(_0x10dffd)),Q(0x1,_0x29de4d(_0x2a49ec))],$d);let ef=class extends _0xe2845a{constructor(_0x5e0edc,_0x2cb280,_0x405c9e,_0x18313b){const _0x1e0650=_0x19aaa2;super(),this[_0x1e0650(0x400)]=_0x5e0edc,this[_0x1e0650(0x5e0)]=_0x2cb280,this[_0x1e0650(0x47e)]=_0x405c9e,this[_0x1e0650(0x5f6)]=_0x18313b,q(this,_0x1e0650(0x593),0xa);}[_0x19aaa2(0x353)](_0x5f302e){const _0x2d2b39=_0x19aaa2;return _0x5f302e[_0x2d2b39(0x354)][_0x2d2b39(0x5af)]===_0x2af70c['Table'];}['convert'](_0x3d0583,_0x5c0210){const _0x119009=_0x19aaa2;if(_0x3d0583[_0x119009(0x332)]||_0x3d0583[_0x119009(0x354)][_0x119009(0x5af)]!==_0x2af70c[_0x119009(0x1a9)])return null;let _0x218ddc=_0x3d0583[_0x119009(0x354)],_0x33aef3=_0x218ddc[_0x119009(0x438)],_0x34e8e0=_0x119009(0x2de)+_0x5c0210[_0x119009(0x1e5)]+'-'+_0x5c0210['subUnitId']+'-'+_0x3d0583['drawingId'],_0x80b02b=this[_0x119009(0x6a2)](_0x5c0210['unitId'],_0x218ddc),_0x1c972e=this[_0x119009(0x5f6)][_0x119009(0x650)](_0x5c0210[_0x119009(0x1e5)]),_0x4d8eec=_0x1c972e==null?void 0x0:_0x1c972e[_0x119009(0x335)],_0x3ce91b=_0x57f67f(_0x1233b8=>this[_0x119009(0x5e0)]['getColorFromTheme'](_0x1233b8)),_0x2baa3b={'controlButtonMode':_0x119009(0x292),'left':_0x5c0210['pageOffsetLeft']+(_0x33aef3[_0x119009(0x374)]??0x0),'top':_0x5c0210[_0x119009(0x3de)]+(_0x33aef3[_0x119009(0x573)]??0x0),'width':_0x33aef3[_0x119009(0x530)]??0x0,'height':_0x33aef3[_0x119009(0x1aa)]??0x0,'angle':_0x33aef3['rotation']??0x0,'flipX':_0x33aef3[_0x119009(0x275)],'flipY':_0x33aef3[_0x119009(0x4c3)],'skewX':_0x33aef3['skewX'],'skewY':_0x33aef3[_0x119009(0x4ab)],'zIndex':_0x5c0210[_0x119009(0x4f9)],'visible':!_0x3d0583['hidden'],'evented':!0x0,'imageIoService':this['_imageIoService'],'localeService':this[_0x119009(0x400)],'tableThemes':_0x4d8eec,'tableThemePalette':_0x3ce91b,'themeService':this['_themeService']};return _0x80b02b&&(_0x2baa3b['table']=_0x80b02b),new Gc(_0x34e8e0,_0x2baa3b);}[_0x19aaa2(0x6a2)](_0x1bdb94,_0x5ee923){const _0x339f53=_0x19aaa2;let _0x2132c9=tf(_0x5ee923),_0x2f745e=nf(_0x2132c9==null?void 0x0:_0x2132c9[_0x339f53(0x546)]),_0x30b19c=_0x2f745e?this['_tableResourceService']['getTable'](_0x1bdb94,_0x2f745e):void 0x0;if(_0x30b19c){let _0x1e640d=_0x7916d4(_0x30b19c,{'id':_0x2f745e,'rowCount':0x3,'columnCount':0x3});if(_0x1e640d)return _0x1e640d;}let _0x4a845d=tf(_0x2132c9==null?void 0x0:_0x2132c9[_0x339f53(0x493)]),_0x58c8d2=_0x2f745e??nf(_0x2132c9==null?void 0x0:_0x2132c9['id']),_0x3bad58=[_0x2132c9==null?void 0x0:_0x2132c9['table'],_0x4a845d==null?void 0x0:_0x4a845d['table'],_0x4a845d==null?void 0x0:_0x4a845d['slideTable'],_0x4a845d==null?void 0x0:_0x4a845d['pptxTable'],_0x2132c9];for(let _0x1f8ccc of _0x3bad58){let _0x1bcb05=_0x7916d4(_0x1f8ccc,{'id':_0x58c8d2});if(_0x1bcb05)return _0x1bcb05;}}};ef=Ha([Q(0x0,_0x29de4d(_0xc7884c)),Q(0x1,_0x29de4d(_0x39b8ff)),Q(0x2,_0x423843),Q(0x3,_0x29de4d(_0x16aa1b))],ef);function tf(_0x51a1d9){const _0x12dc03=_0x19aaa2;return _0x51a1d9&&typeof _0x51a1d9==_0x12dc03(0x729)&&!Array[_0x12dc03(0x477)](_0x51a1d9)?_0x51a1d9:void 0x0;}function nf(_0x35eac4){const _0x5ac946=_0x19aaa2;return typeof _0x35eac4==_0x5ac946(0x5b4)&&_0x35eac4['trim']()?_0x35eac4:void 0x0;}let rf=class extends _0x3b5005{constructor(_0x45dfa7=ti,_0x51a1d4,_0x2fde76,_0x5b21ff,_0x5408f9,_0x35f251,_0x3e727d,_0x1adb47){const _0x4a7f37=_0x19aaa2;super(),this[_0x4a7f37(0x1a3)]=_0x45dfa7,this[_0x4a7f37(0x375)]=_0x51a1d4,this[_0x4a7f37(0x382)]=_0x2fde76,this['_renderManagerService']=_0x5b21ff,this[_0x4a7f37(0x1f0)]=_0x5408f9,this['_menuManagerService']=_0x35f251,this[_0x4a7f37(0x2b8)]=_0x3e727d,this[_0x4a7f37(0x204)]=_0x1adb47;let {..._0x41a7be}=_0x56c4e8({},ti,this['_config']);this['_configService'][_0x4a7f37(0x352)](ei,_0x41a7be),this[_0x4a7f37(0x46f)](),this[_0x4a7f37(0x359)]();}[_0x19aaa2(0x1a4)](){const _0x12ec5=_0x19aaa2;let _0x304674=this[_0x12ec5(0x375)];this[_0x12ec5(0x56b)]()[_0x12ec5(0x2bf)](_0x447674=>_0x304674['add'](_0x447674)),this[_0x12ec5(0x3a8)](_0x304674[_0x12ec5(0x417)](_0x4f9dac)['register'](ef)),_0x29d905(_0x304674,[[$d],[J],[Ua],[fo],[Nd],[mo],[Od]]),this[_0x12ec5(0x3a8)](_0x304674[_0x12ec5(0x417)](_0x5c286a)[_0x12ec5(0x2a6)](_0x304674[_0x12ec5(0x417)](Nd)));}[_0x19aaa2(0x3bd)](){const _0x56bcb6=_0x19aaa2;this['_menuManagerService'][_0x56bcb6(0x251)](wd),this['_injector']['get'](Dd),this['disposeWithMe'](this['_renderManagerService'][_0x56bcb6(0x6d3)](_0x35e99f[_0x56bcb6(0x45e)],this[_0x56bcb6(0x55c)]())),this[_0x56bcb6(0x3a8)](this[_0x56bcb6(0x204)][_0x56bcb6(0x36b)](_0x39e103[_0x56bcb6(0x1a5)],()=>_0x2c2af1(this['_getFloatingToolbarComponent'](),this[_0x56bcb6(0x375)])));}['_getDependencies'](){return[[fo],[$d],[Dd],[J],[Ua],[Nd],[mo],[Od]];}[_0x19aaa2(0x55c)](){return[ou];}['_getFloatingToolbarComponent'](){return Jd;}[_0x19aaa2(0x46f)](){const _0x52611c=_0x19aaa2;[...xa,...Qa,uo,po][_0x52611c(0x2bf)](_0x22a0fd=>{const _0x2d7488=_0x52611c;this[_0x2d7488(0x3a8)](this[_0x2d7488(0x1f0)][_0x2d7488(0x3ac)](_0x22a0fd));});}[_0x19aaa2(0x359)](){const _0x209b76=_0x19aaa2;[...$a,...eo][_0x209b76(0x2bf)](_0x1d6ea7=>{const _0xdbfd7a=_0x209b76;this[_0xdbfd7a(0x3a8)](this[_0xdbfd7a(0x2b8)][_0xdbfd7a(0x256)](_0x1d6ea7));});}};q(rf,_0x19aaa2(0x5af),_0x35e99f[_0x19aaa2(0x45e)]),q(rf,_0x19aaa2(0x3ff),_0x19aaa2(0x1dd)),q(rf,_0x19aaa2(0x286),ni),q(rf,'version',ri),rf=Ha([_0x55f818(_0x411fb7,_0x1d628f,_0x43b082,_0x524a2f,_0x2fadf5),Q(0x1,_0x29de4d(_0x5752bd)),Q(0x2,_0x250757),Q(0x3,_0x1f1408),Q(0x4,_0x538857),Q(0x5,_0x257b45),Q(0x6,_0x445e9c),Q(0x7,_0x4b3a71)],rf);var af=class extends _0x525b66{constructor(..._0x45bc46){const _0x164bee=_0x19aaa2;super(..._0x45bc46),q(this,_0x164bee(0x47f),new _0x294176(null)),q(this,'session$',this[_0x164bee(0x47f)][_0x164bee(0x64a)]());}[_0x19aaa2(0x2ff)](_0x3978e7){const _0x45e7c6=_0x19aaa2;let _0x2bac98=of(_0x3978e7);return this[_0x45e7c6(0x47f)][_0x45e7c6(0x613)](_0x2bac98),_0x48d5d0(()=>{const _0x562802=_0x45e7c6;this[_0x562802(0x47f)][_0x562802(0x439)]()===_0x2bac98&&this[_0x562802(0x4ce)]();});}[_0x19aaa2(0x663)](_0x2ed592){const _0x553dc2=_0x19aaa2;var _0x572a6f;let _0x334d7d=this['_session$'][_0x553dc2(0x439)]();if(!_0x334d7d)return;let _0xb4ad2f=of({..._0x334d7d,..._0x2ed592,'documentData':_0x2ed592[_0x553dc2(0x43f)]??_0x334d7d[_0x553dc2(0x43f)],'measurement':_0x2ed592[_0x553dc2(0x585)]??_0x334d7d[_0x553dc2(0x585)],'rect':_0x2ed592[_0x553dc2(0x597)]??_0x334d7d[_0x553dc2(0x597)],'tableTransform':_0x2ed592[_0x553dc2(0x681)]??_0x334d7d[_0x553dc2(0x681)]});this[_0x553dc2(0x47f)]['next'](_0xb4ad2f),(_0x572a6f=_0x334d7d[_0x553dc2(0x5c1)])==null||_0x572a6f[_0x553dc2(0x273)](_0x334d7d,of(_0xb4ad2f));}['complete'](_0x3d8b74){const _0x440c61=_0x19aaa2;var _0x5b7132;let _0x16cbfc=this[_0x440c61(0x47f)][_0x440c61(0x439)]();if(!_0x16cbfc)return;let _0x3abc95=of({..._0x16cbfc,'documentData':_0x3d8b74??_0x16cbfc['documentData']});(_0x5b7132=_0x16cbfc[_0x440c61(0x697)])==null||_0x5b7132['call'](_0x16cbfc,_0x3abc95),this[_0x440c61(0x4ce)]();}[_0x19aaa2(0x1f6)](){const _0x3419ab=_0x19aaa2;var _0xfe3144;let _0x5d8ca1=this[_0x3419ab(0x47f)][_0x3419ab(0x439)]();_0x5d8ca1&&((_0xfe3144=_0x5d8ca1[_0x3419ab(0x2fe)])==null||_0xfe3144[_0x3419ab(0x273)](_0x5d8ca1,of(_0x5d8ca1)),this[_0x3419ab(0x4ce)]());}['close'](){this['_session$']['next'](null);}['getSession'](){const _0x4ec29d=_0x19aaa2;let _0x478f5c=this[_0x4ec29d(0x47f)]['getValue']();return _0x478f5c?of(_0x478f5c):null;}['subscribe'](_0x2bfaac){const _0x59cefc=_0x19aaa2;let _0x224c01=this[_0x59cefc(0x203)]['subscribe'](_0x469b10=>{_0x2bfaac(_0x469b10?of(_0x469b10):null);});return _0x48d5d0(()=>_0x224c01['unsubscribe']());}['dispose'](){const _0x2c15ea=_0x19aaa2;this['close'](),this[_0x2c15ea(0x47f)][_0x2c15ea(0x714)](),super['dispose']();}};function of(_0x2da1fc){const _0x520636=_0x19aaa2;return{..._0x2da1fc,'measurement':_0x2da1fc[_0x520636(0x585)]?{..._0x2da1fc[_0x520636(0x585)]}:void 0x0,'rect':{..._0x2da1fc[_0x520636(0x597)]},'tableTransform':{..._0x2da1fc[_0x520636(0x681)]},'documentData':_0x257efd[_0x520636(0x206)](_0x2da1fc['documentData'])};}function sf(_0x54754e){const _0x41bd5f=_0x19aaa2;return!_0x54754e||_0x54754e[_0x41bd5f(0x3c2)]==='none'||!_0x54754e[_0x41bd5f(0x568)]['length']?null:{'kind':_0x54754e[_0x41bd5f(0x3c2)],'ranges':_0x54754e[_0x41bd5f(0x568)][_0x41bd5f(0x694)](_0x196abb=>({..._0x196abb})),'active':_0x54754e[_0x41bd5f(0x2a4)]??_0x54754e[_0x41bd5f(0x526)]??(lf(_0x54754e[_0x41bd5f(0x3c2)])?cf(_0x54754e):void 0x0)};}function cf(_0x1944f2){const _0x23eab1=_0x19aaa2;let _0x214a29=_0x1944f2[_0x23eab1(0x568)][0x0];if(_0x214a29)return{'row':Math[_0x23eab1(0x1df)](_0x214a29[_0x23eab1(0x544)],_0x214a29[_0x23eab1(0x3cd)]),'column':Math[_0x23eab1(0x1df)](_0x214a29['startColumn'],_0x214a29[_0x23eab1(0x434)])};}function lf(_0x32e480){return _0x32e480==='cell'||_0x32e480==='range'||_0x32e480==='text';}export{Yd as MobileTableMenu,Xd as MobileTableThemeGallery,ei as SLIDES_TABLE_UI_PLUGIN_CONFIG_KEY,X as SLIDE_TABLE_CONTEXT_MENU_ACTIONS,bo as SLIDE_TABLE_DEFAULT_BACKGROUND_COLOR,Wa as SLIDE_TABLE_KEYBOARD_SHORTCUT_DESCRIPTORS,Ho as SLIDE_TABLE_TOOLBAR_ACTIONS,af as SlideTableCellEditorService,Fl as SlideTableMobileSelection,Gc as SlideTableObject,J as SlideTableSelectionService,Va as TableKeyboardServiceBase,Ns as TableThemeGallery,as as TableToolbarDropdownInteractionGuard,Qd as UniverSlidesTableMobileUIPlugin,rf as UniverSlidesTableUIPlugin,hi as buildSlideTableBackgroundColorPatch,gi as buildSlideTableBackgroundFillPatch,Yo as buildSlideTableBorderPresetCommandParams,bi as buildSlideTableBorderPresetPatch,yi as buildSlideTableBorderStylePatch,rc as buildSlideTableCellEditorCommitCommand,Jo as buildSlideTableCellStyleCommandParams,Hl as buildSlideTableClearTextPatch,li as buildSlideTableContextMenuCommand,qo as buildSlideTableDeleteToolbarCommand,xi as buildSlideTableFontFamilyPatch,Si as buildSlideTableFontSizePatch,eu as buildSlideTableInsertDotControlState,Ga as buildSlideTableKeyboardShortcutBindings,Wo as buildSlideTableMergeCellsCommandParams,Ko as buildSlideTableMergeToolbarCommand,Vl as buildSlideTablePasteHtmlPatch,Bl as buildSlideTablePasteTextPatch,di as buildSlideTableTextAlignPatch,_i as buildSlideTableTextColorPatch,vi as buildSlideTableTextFillPatch,Li as buildSlideTableTextStylePatch,Go as buildSlideTableUnmergeCellsCommandParams,ti as defaultPluginConfig,Vo as ensureOption,Ro as getSlideTableFillPreviewStyle,Mo as getSlideTableFillType,Io as getSlideTableGradientValue,Z as getSlideTableSelectionContext,Lo as gradientValueToSlideTableFill,za as isSlideTableDocumentEditorTarget,Ra as isSlideTableEditableTarget,$l as isSlideTableInsertDotTrigger,ic as normalizeSlideTableCellDocumentData,tc as replaceSlideTableCellDocumentText,cf as resolveFirstSlideTableSelectionCell,qa as resolveNextSlideTableKeyboardCell,nc as resolveSlideTableCellEditorLayout,$s as resolveSlideTableCellEditorTarget,ci as resolveSlideTableContextMenuActions,jo as resolveSlideTableDocumentHorizontalAlign,Ka as resolveSlideTableKeyboardMovement,Xo as resolveSlideTableMergeToolbarAction,sf as resolveSlideTableObjectSelection,wo as resolveSlideTableSelectionValues,Uo as resolveSlideTableToolbarActions,zl as serializeSlideTableCellStyleAttribute,Rl as serializeSlideTableSelectionToHtml,Ll as serializeSlideTableSelectionToText,Fo as toCoreVerticalAlign};
|
|
1
|
+
const _0x5defcf=_0x428e;(function(_0x3efecc,_0x2bbe59){const _0x5e2bc0=_0x428e,_0x3a8e44=_0x3efecc();while(!![]){try{const _0x530687=-parseInt(_0x5e2bc0(0x442))/0x1*(parseInt(_0x5e2bc0(0x4c7))/0x2)+parseInt(_0x5e2bc0(0x2e2))/0x3*(-parseInt(_0x5e2bc0(0x4a9))/0x4)+-parseInt(_0x5e2bc0(0x641))/0x5*(parseInt(_0x5e2bc0(0x239))/0x6)+-parseInt(_0x5e2bc0(0x566))/0x7*(parseInt(_0x5e2bc0(0x628))/0x8)+-parseInt(_0x5e2bc0(0x63d))/0x9*(parseInt(_0x5e2bc0(0x333))/0xa)+-parseInt(_0x5e2bc0(0x675))/0xb+parseInt(_0x5e2bc0(0x722))/0xc*(parseInt(_0x5e2bc0(0x289))/0xd);if(_0x530687===_0x2bbe59)break;else _0x3a8e44['push'](_0x3a8e44['shift']());}catch(_0x5ac27e){_0x3a8e44['push'](_0x3a8e44['shift']());}}}(_0x236d,0x97288));import{UniverLicensePlugin as _0x14b2ea}from'@univerjs-pro/license';import{ISlideDrawingService as _0x462a1f,PageElementTypeEnum as _0x16fba9,ReorderSlideElementsCommand as _0x17dfbf,SLIDE_INSERT_DEFAULT_SIZE as _0x5dba90,UniverSlidesPlugin as _0x204bff,UpdateSlideDrawingCommand as _0x3845cd,getSlidePermissionValue as _0x16c821,normalizeSlideDocumentDataStream as _0x1a12a2,plainTextToSlideDocumentData as _0x5a67d9,slideDocumentDataToPlainText as _0x5a7f69}from'@univerjs-pro/slides';import{DEFAULT_SLIDE_TABLE_THEME_PRESETS as _0x33b20a,DeleteSlideTableColumnsCommand as _0x16427a,DeleteSlideTableRowsCommand as _0x5a5531,InsertSlideTableColumnsCommand as _0x4a4b69,InsertSlideTableCommand as _0xbf40da,InsertSlideTableRowsCommand as _0x565bf8,MergeSlideTableCellsCommand as _0x13d966,MoveSlideTableColumnsCommand as _0x162c84,MoveSlideTableRowsCommand as _0x399535,RemoveSlideTableCommand as _0x244512,RemoveSlideTableMutation as _0x68d13,SLIDE_TABLE_CONTROL_GUTTER as _0x3aad64,SetSlideTableMutation as _0x3d940b,SlideTableBorderDashEnum as _0x599627,SlideTableBorderPresetEnum as _0x4c5615,SlideTableFillTypeEnum as _0x772d0f,SlideTableModelService as _0x47dc4d,SlideTablePictureFillModeEnum as _0xc34825,SlideTableResourceService as _0x161eee,SlideTableTextDirectionEnum as _0x81a0a3,SlideTableVerticalAlignEnum as _0x1285f3,UniverSlidesTablePlugin as _0x50306f,UnmergeSlideTableCellsCommand as _0x5336e9,UpdateSlideTableCommand as _0x296a89,buildBorderPresetPatch as _0x544576,buildDefaultSlideTableThemes as _0x5f5a44,buildSlideTableCellTextDataPatch as _0x423096,buildSlideTableControls as _0x27fece,buildSlideTableTriggers as _0x49040d,canMoveSlideTableColumns as _0x3297ff,canMoveSlideTableRows as _0x231167,collectSlideTableMergeRanges as _0x22b153,expandSlideTableRangeToMergedCells as _0x5f5bd9,findSlideTableMergeRange as _0x44102f,freezeSlideTableTheme as _0x2faffd,getDefaultSlideTableBorder as _0x4c26dd,hitTestSlideTableControl as _0x54e4c1,hitTestSlideTableFloatingControl as _0x2af0de,hitTestSlideTableTrigger as _0x2e8971,isPointInRect as _0x22fe54,isSlideTableMultiCellRange as _0x719977,iterateSelectedSlideTableCells as _0x2d4702,mergeSlideTableCellStyle as _0x3a813d,mergeSlideTableCells as _0x355cd8,normalizeSlideTableCellRange as _0x4a84fc,normalizeSlideTableSnapshot as _0x118830,resizeSlideTableGrid as _0x12c02a,resolveSlideTableBuildOptions as _0x4568ed,resolveSlideTableCellBoundaryBorder as _0x3e9ef6,resolveSlideTableCellRect as _0x32ac01,resolveSlideTableCellTextMargins as _0x4998ad,resolveSlideTableRenderModel as _0x9eb1b0,resolveSlideTableThemePalette as _0x27e190,unmergeSlideTableCells as _0x17dc97}from'@univerjs-pro/slides-table';function _0x428e(_0x4651a0,_0x4c4367){_0x4651a0=_0x4651a0-0x190;const _0x236d12=_0x236d();let _0x428e09=_0x236d12[_0x4651a0];return _0x428e09;}import{IEditorUIService as _0x42bec5,ISlideAlignmentGuideService as _0x560a9f,ISlideClipboardResourceAdapterService as _0x2126a8,ISlideDrawingStateService as _0x2f1910,ISlideEmbedFloatingActiveService as _0x17057f,ISlideEmbedFocusOwnerService as _0xf48ebd,ISlideEmbedMountService as _0x2b3ff,ISlideTransformerVisibilityService as _0x4e3bf4,ObjectAdaptor as _0x410129,SLIDES_UI_PLUGIN_CONFIG_KEY as _0x3aeb3e,SLIDE_MAIN_VIEWPORT_KEY as _0xf9397b,SlideContextMenuPosition as _0x1d870a,SlideCopySelectionOperation as _0x3ae8b5,SlideCutSelectionOperation as _0x4a70de,SlideHitTestService as _0x2ebce1,SlideInsertService as _0x1f6804,SlideObjectAdaptorRegistryService as _0x22ba2f,SlideObjectRefreshRegistryService as _0x213f69,UniverSlidesMobileUIPlugin as _0x20cb27,UniverSlidesUIPlugin as _0x1d3360,buildDrawingOKey as _0x1a21b4,drawDrawingEffectMask as _0x9f2328,resolveSlideLogicalPageSize as _0x51f95a,stripEditorUIDocumentData as _0x23e15f,withSlideEditPermission as _0x133ada}from'@univerjs-pro/slides-ui';import{ArrangeTypeEnum as _0x4d1446,BooleanNumber as _0x3fcebf,ColorKit as _0xb7c3a,CommandType as _0x49d1ef,DEFAULT_STYLES as _0x2944bf,DependentOn as _0x41991a,Disposable as _0x5c53fd,DisposableCollection as _0x2fec4f,DocumentDataModel as _0x5f1ed1,DocumentFlavor as _0x402f0e,EDITOR_ACTIVATED as _0x5ec236,FOCUSING_COMMON_DRAWINGS as _0x5ab81f,FOCUSING_SLIDE as _0x1e26ef,HorizontalAlign as _0x4918fc,ICommandService as _0x51671c,IConfigService as _0x506f4d,IContextService as _0x47d445,IImageIoService as _0x1316c1,IPermissionService as _0x5a2236,IUniverInstanceService as _0x1c0185,ImageSourceType as _0x488828,Inject as _0x41ffca,Injector as _0x4b3b2f,LocaleService as _0x494027,Optional as _0x6a14ff,Plugin as _0x52fe5c,PresetListType as _0x28baf8,RxDisposable as _0x272548,ThemeService as _0x59fee4,Tools as _0xdc70f2,UniverInstanceType as _0x1b0a97,VerticalAlign as _0x9c0db6,WrapStrategy as _0x5d1e12,createParagraphId as _0x63a614,generateRandomId as _0x2b8786,merge as _0x4e092b,toDisposable as _0x2123f0,touchDependencies as _0x481344}from'@univerjs/core';import{CURSOR_TYPE as _0x30421b,DocumentSkeleton as _0x7ebfb1,DocumentViewModel as _0x2f964c,Documents as _0xe5be9a,IRenderManagerService as _0x49825b,RENDER_CLASS_TYPE as _0x128426,Rect as _0x369919,Transform as _0x3c1d46,UniverRenderEnginePlugin as _0x422f66,VERTICAL_ROTATE_ANGLE as _0x321b3c,Vector2 as _0x33f54f,pxToNum as _0x299ed1,resolveDrawingEffectMasks as _0x3ad634}from'@univerjs/engine-render';import{BuiltInUIPart as _0x24a75b,ComponentManager as _0x2a5658,ContextMenuGroup as _0x1c7b87,FONT_SIZE_LIST as _0x2c2312,FontFamilyDropdown as _0x5bcadb,IContextMenuService as _0x3cf1b5,IDialogService as _0x3f3fcc,IMenuManagerService as _0x2f0348,IRibbonService as _0x52937d,IShortcutService as _0x162e17,IUIPartsService as _0x5f13cd,IconManager as _0xed296f,KeyCode as _0x4d163f,MenuItemType as _0x34fe51,MenuManagerPosition as _0x2aba4b,MetaKeys as _0x25ec42,MobileDrawer as _0x1965df,MobileFontFamilyDropdown as _0x791ed8,MobileMenu as _0xad5b7d,RibbonPosition as _0x5a1751,RibbonStartGroup as _0xc69295,connectInjector as _0x3a101e,getMenuHiddenObservable as _0x49a1b6,useDependency as _0x41e5c1,useObservable as _0x45a1ca}from'@univerjs/ui';import{BehaviorSubject as _0x4d5205,Observable as _0x766530,Subscription as _0x2fe5e8,combineLatest as _0x192b14,from as _0x405327,map as _0x20d0c3,merge as _0x3b9eaa,of as _0x538a76,startWith as _0x46fdcb}from'rxjs';import{Button as _0x186c8e,Checkbox as _0x48da8d,ColorPicker as _0x3a25a2,ConfigContext as _0x15df7b,Dropdown as _0x8e5066,InputNumber as _0x39a1de,MobileColorPicker as _0x4e3a3f,MobileSelect as _0x371845,Select as _0x7dc713,Separator as _0x103320,Tooltip as _0x2b411f,borderClassName as _0x2e4a4b,clsx as _0x34395c}from'@univerjs/design';import{useCallback as _0x20984c,useContext as _0xc305a4,useEffect as _0x2f2258,useMemo as _0x33f933,useRef as _0x5b8390,useState as _0x504879}from'react';import{Fragment as _0x149616,jsx as _0x455c20,jsxs as _0x30f958}from'react/jsx-runtime';import{AdjustHeightDoubleIcon as _0x32f892,AdjustWidthDoubleIcon as _0x320b22,AlignBottomIcon as _0x4b47f3,AlignTextBothIcon as _0x488b64,AlignTopIcon as _0x406144,AllBorderIcon as _0x1000bb,BoldIcon as _0x4fb6d4,CancelMergeIcon as _0x519ea5,CheckMarkIcon as _0x4b3c87,CloseIcon as _0x488ccc,DeleteColumnDoubleIcon as _0x21a208,DeleteIcon as _0x14a244,DeleteRowDoubleIcon as _0x26aad9,DownBorderDoubleIcon as _0x501398,FontColorDoubleIcon as _0xbf7f8d,FontSizeIncreaseIcon as _0x305928,FontSizeReduceIcon as _0x5f102a,HorizontalBorderDoubleIcon as _0x311f6d,HorizontallyIcon as _0x15fb00,InnerBorderDoubleIcon as _0x18f717,InsertRowAboveDoubleIcon as _0x42fc83,InsertRowBelowDoubleIcon as _0x7d12ef,ItalicIcon as _0x8f99bc,LeftBorderDoubleIcon as _0x2e80da,LeftInsertColumnDoubleIcon as _0x56c99b,LeftJustifyingIcon as _0x9e03d4,MergeAllIcon as _0x109256,MoreDownIcon as _0xb728d6,MoreLeftIcon as _0x381735,MoreRightIcon as _0x5c9102,NoBorderIcon as _0x509dec,OrderIcon as _0x53b5c0,OuterBorderDoubleIcon as _0x1e538d,PaintBucketDoubleIcon as _0x430b00,PaintIcon as _0x16c2d5,RightBorderDoubleIcon as _0x22d20c,RightInsertColumnDoubleIcon as _0x5d154e,RightJustifyingIcon as _0x47272f,ShapeBackgroundColorDoubleIcon as _0x565857,StrikethroughIcon as _0x2f2343,TableIcon as _0x4871d5,TextIcon as _0x267c75,UnderlineIcon as _0x1c7e39,UnorderIcon as _0x308075,UpBorderDoubleIcon as _0x4a293a,VerticalBorderDoubleIcon as _0x3d4f9d,VerticalCenterIcon as _0x4afd92}from'@univerjs/icons';import{FillStyleTabsEditor as _0x4262d1,keepFloatingToolbarPanelInteraction as _0x5142db,resolveShapeTextDocumentPageHeight as _0x1b5e3c}from'@univerjs-pro/shape-editor-ui';import{BulletListTypePicker as _0x54c75a,OrderListTypePicker as _0x225c4a,convertBodyToHtml as _0x45c727,convertClipboardHtmlToDocumentData as _0x41cc18,removeClipboardHtmlImages as _0x30df11}from'@univerjs/docs-ui';import{getImageSize as _0xecd06b}from'@univerjs/drawing';import{extractClipboardHtmlImageFiles as _0x3fce0e,extractClipboardImageFiles as _0x3bc7bf,extractClipboardTextImageFile as _0x2d1d0d,isClipboardTextImage as _0x1f5ab2,normalizeClipboardImageFile as _0x351a08}from'@univerjs/drawing-ui';import{UnitAction as _0x425808}from'@univerjs/protocol';import{convertPlainTextTableToHtml as _0x169fee,parseHtmlTableClipboard as _0x2648ac}from'@univerjs-pro/docs-table';import{createPortal as _0x3f588b}from'react-dom';const ei=_0x5defcf(0x1f9),ti={'floatingToolbar':!0x1};var ni=_0x5defcf(0x6fd),ri=_0x5defcf(0x3b5);function ii(_0x3d4849){'@babel/helpers - typeof';const _0x444856=_0x5defcf;return ii=typeof Symbol=='function'&&typeof Symbol[_0x444856(0x64c)]==_0x444856(0x1f5)?function(_0x24b79e){return typeof _0x24b79e;}:function(_0x420233){const _0x43b135=_0x444856;return _0x420233&&typeof Symbol=='function'&&_0x420233[_0x43b135(0x6de)]===Symbol&&_0x420233!==Symbol[_0x43b135(0x334)]?_0x43b135(0x1f5):typeof _0x420233;},ii(_0x3d4849);}function ai(_0x2baab1,_0x26aff3){const _0x565ac7=_0x5defcf;if(ii(_0x2baab1)!=_0x565ac7(0x583)||!_0x2baab1)return _0x2baab1;var _0x1b208b=_0x2baab1[Symbol[_0x565ac7(0x64f)]];if(_0x1b208b!==void 0x0){var _0x23af2e=_0x1b208b[_0x565ac7(0x283)](_0x2baab1,_0x26aff3||_0x565ac7(0x25a));if(ii(_0x23af2e)!='object')return _0x23af2e;throw TypeError(_0x565ac7(0x70e));}return(_0x26aff3===_0x565ac7(0x4ee)?String:Number)(_0x2baab1);}function oi(_0x218a0e){const _0x28314a=_0x5defcf;var _0x27b0cd=ai(_0x218a0e,_0x28314a(0x4ee));return ii(_0x27b0cd)=='symbol'?_0x27b0cd:_0x27b0cd+'';}function q(_0x46124b,_0x3f6da8,_0x1b0d18){const _0xbdcbda=_0x5defcf;return(_0x3f6da8=oi(_0x3f6da8))in _0x46124b?Object[_0xbdcbda(0x1c0)](_0x46124b,_0x3f6da8,{'value':_0x1b0d18,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x46124b[_0x3f6da8]=_0x1b0d18,_0x46124b;}var J=class extends _0x5c53fd{constructor(..._0x428f32){const _0x34eaa1=_0x5defcf;super(..._0x428f32),q(this,_0x34eaa1(0x1b6),new _0x4d5205(null)),q(this,'selection$',this[_0x34eaa1(0x1b6)][_0x34eaa1(0x6f9)]()),q(this,_0x34eaa1(0x1ac),null),q(this,_0x34eaa1(0x486),0x0);}[_0x5defcf(0x4ca)](_0x4a84c4=0x1f4,_0x26804e=Date[_0x5defcf(0x68c)]()){const _0x5fd7f7=_0x5defcf;this['_tableInternalInteractionUntil']=Math[_0x5fd7f7(0x6bf)](this[_0x5fd7f7(0x486)],_0x26804e+_0x4a84c4);}[_0x5defcf(0x6a1)](_0x3ec99d=Date['now']()){return _0x3ec99d<=this['_tableInternalInteractionUntil'];}[_0x5defcf(0x1cf)](){const _0x2e7faf=_0x5defcf;return this[_0x2e7faf(0x1ac)]?Y(this[_0x2e7faf(0x1ac)]):null;}[_0x5defcf(0x31e)](){const _0x18aa8b=_0x5defcf;this[_0x18aa8b(0x1ac)]=null,this[_0x18aa8b(0x1b6)][_0x18aa8b(0x38b)](null);}[_0x5defcf(0x63f)](_0x496a34){const _0x51948a=_0x5defcf;let _0x5c42c6=this[_0x51948a(0x53c)](_0x496a34,_0x51948a(0x1a8),{'startRow':_0x496a34[_0x51948a(0x4b9)],'endRow':_0x496a34[_0x51948a(0x4b9)],'startColumn':_0x496a34[_0x51948a(0x3f1)],'endColumn':_0x496a34[_0x51948a(0x3f1)]},{'row':_0x496a34['row'],'column':_0x496a34[_0x51948a(0x3f1)]},{'row':_0x496a34[_0x51948a(0x4b9)],'column':_0x496a34['column']});return this[_0x51948a(0x1ac)]=_0x5c42c6,this[_0x51948a(0x1b6)]['next'](Y(_0x5c42c6)),Y(_0x5c42c6);}[_0x5defcf(0x256)](_0x2aa644){const _0x2a704e=_0x5defcf;let _0x448150=si(_0x2aa644),_0x25e961=this['_buildSelection'](_0x2aa644,_0x2a704e(0x483),_0x448150,{'row':_0x448150[_0x2a704e(0x1d3)],'column':_0x448150[_0x2a704e(0x3cc)]},{'row':_0x448150[_0x2a704e(0x573)],'column':_0x448150[_0x2a704e(0x351)]});return this[_0x2a704e(0x1ac)]=_0x25e961,this[_0x2a704e(0x1b6)][_0x2a704e(0x38b)](Y(_0x25e961)),Y(_0x25e961);}[_0x5defcf(0x55d)](_0x567516){const _0x2bec6c=_0x5defcf;let _0x1efe85=Math[_0x2bec6c(0x4a7)](_0x567516[_0x2bec6c(0x1d3)],_0x567516[_0x2bec6c(0x573)]),_0x57cae5=Math['max'](_0x567516['startRow'],_0x567516['endRow']),_0x10d47d=this[_0x2bec6c(0x53c)](_0x567516,_0x2bec6c(0x4b9),{'startRow':_0x1efe85,'endRow':_0x57cae5,'startColumn':0x0,'endColumn':Math[_0x2bec6c(0x6bf)](0x0,_0x567516[_0x2bec6c(0x67b)]-0x1)});return this[_0x2bec6c(0x1ac)]=_0x10d47d,this[_0x2bec6c(0x1b6)][_0x2bec6c(0x38b)](Y(_0x10d47d)),Y(_0x10d47d);}[_0x5defcf(0x5e9)](_0x52f302){const _0x22b363=_0x5defcf;let _0x24f110=Math['min'](_0x52f302[_0x22b363(0x3cc)],_0x52f302['endColumn']),_0x42f235=Math[_0x22b363(0x6bf)](_0x52f302['startColumn'],_0x52f302[_0x22b363(0x351)]),_0x20ed6d=this[_0x22b363(0x53c)](_0x52f302,_0x22b363(0x3f1),{'startRow':0x0,'endRow':Math[_0x22b363(0x6bf)](0x0,_0x52f302[_0x22b363(0x1a7)]-0x1),'startColumn':_0x24f110,'endColumn':_0x42f235});return this[_0x22b363(0x1ac)]=_0x20ed6d,this[_0x22b363(0x1b6)][_0x22b363(0x38b)](Y(_0x20ed6d)),Y(_0x20ed6d);}['selectTable'](_0x1fad4b){const _0x1af442=_0x5defcf;let _0x5c36ba=this[_0x1af442(0x53c)](_0x1fad4b,_0x1af442(0x690),{'startRow':0x0,'endRow':Math[_0x1af442(0x6bf)](0x0,_0x1fad4b[_0x1af442(0x1a7)]-0x1),'startColumn':0x0,'endColumn':Math[_0x1af442(0x6bf)](0x0,_0x1fad4b[_0x1af442(0x67b)]-0x1)});return this['_selection']=_0x5c36ba,this['_selection$'][_0x1af442(0x38b)](Y(_0x5c36ba)),Y(_0x5c36ba);}[_0x5defcf(0x528)](_0x132cd0){const _0x11220a=_0x5defcf;let _0x39f011=this[_0x11220a(0x53c)](_0x132cd0,_0x11220a(0x590),{'startRow':_0x132cd0[_0x11220a(0x4b9)],'endRow':_0x132cd0[_0x11220a(0x4b9)],'startColumn':_0x132cd0[_0x11220a(0x3f1)],'endColumn':_0x132cd0['column']},{'row':_0x132cd0[_0x11220a(0x4b9)],'column':_0x132cd0[_0x11220a(0x3f1)]},{'row':_0x132cd0[_0x11220a(0x4b9)],'column':_0x132cd0[_0x11220a(0x3f1)]});return this[_0x11220a(0x1ac)]=_0x39f011,this[_0x11220a(0x1b6)][_0x11220a(0x38b)](Y(_0x39f011)),Y(_0x39f011);}[_0x5defcf(0x2c2)](){const _0x4052a9=_0x5defcf;this['_tableInternalInteractionUntil']=0x0,this[_0x4052a9(0x1b6)]['complete'](),super[_0x4052a9(0x2c2)]();}['_buildSelection'](_0x5cfbc4,_0x352f3e,_0x190ba1,_0x4d6f61,_0x443d60){const _0x50cfbe=_0x5defcf;let _0x12b896={'unitId':_0x5cfbc4['unitId'],'subUnitId':_0x5cfbc4[_0x50cfbe(0x6b4)],'elementId':_0x5cfbc4[_0x50cfbe(0x60f)],'tableId':_0x5cfbc4[_0x50cfbe(0x6a7)],'kind':_0x352f3e,'ranges':[_0x190ba1]};return _0x4d6f61&&(_0x12b896['anchor']=_0x4d6f61),_0x443d60&&(_0x12b896[_0x50cfbe(0x61b)]=_0x443d60),_0x12b896;}};function si(_0x571e2a){const _0x5bdede=_0x5defcf;return{'startRow':Math[_0x5bdede(0x4a7)](_0x571e2a['startRow'],_0x571e2a['endRow']),'endRow':Math[_0x5bdede(0x6bf)](_0x571e2a[_0x5bdede(0x1d3)],_0x571e2a['endRow']),'startColumn':Math[_0x5bdede(0x4a7)](_0x571e2a[_0x5bdede(0x3cc)],_0x571e2a['endColumn']),'endColumn':Math[_0x5bdede(0x6bf)](_0x571e2a[_0x5bdede(0x3cc)],_0x571e2a['endColumn'])};}function Y(_0x35567f){const _0x59b424=_0x5defcf;let _0x1decb3={..._0x35567f,'ranges':_0x35567f[_0x59b424(0x649)][_0x59b424(0x295)](_0xa9cea4=>({..._0xa9cea4}))};return _0x35567f[_0x59b424(0x6c5)]&&(_0x1decb3[_0x59b424(0x6c5)]={..._0x35567f[_0x59b424(0x6c5)]}),_0x35567f[_0x59b424(0x61b)]&&(_0x1decb3[_0x59b424(0x61b)]={..._0x35567f[_0x59b424(0x61b)]}),_0x1decb3;}const X={'InsertRowAbove':_0x5defcf(0x475),'InsertRowBelow':_0x5defcf(0x279),'InsertColumnLeft':'insert-column-left','InsertColumnRight':_0x5defcf(0x466),'DeleteRows':_0x5defcf(0x418),'DeleteColumns':'delete-columns','MergeCells':_0x5defcf(0x198),'UnmergeCells':_0x5defcf(0x4fa),'DistributeRows':_0x5defcf(0x3c7),'DistributeColumns':_0x5defcf(0x69b)};function Z(_0x12f5a2){const _0x2a42aa=_0x5defcf;let _0x8f0b50=_0x12f5a2==null?void 0x0:_0x12f5a2['ranges'][0x0];return!_0x12f5a2||!_0x8f0b50?null:{'unitId':_0x12f5a2[_0x2a42aa(0x379)],'subUnitId':_0x12f5a2[_0x2a42aa(0x6b4)],'elementId':_0x12f5a2[_0x2a42aa(0x60f)],'tableId':_0x12f5a2[_0x2a42aa(0x6a7)],'range':_0x4a84fc(_0x8f0b50)};}function ci(_0x29a572,_0x568d18,_0x511bdc){const _0x2316c3=_0x5defcf;let _0x776502=!!Z(_0x568d18);return[ki(X[_0x2316c3(0x208)],_0x511bdc['insertRows'],_0x776502),ki(X[_0x2316c3(0x66a)],_0x511bdc[_0x2316c3(0x5c6)],_0x776502),ki(X['InsertColumnLeft'],_0x511bdc['insertColumns'],_0x776502),ki(X[_0x2316c3(0x5ab)],_0x511bdc[_0x2316c3(0x60d)],_0x776502),ki(X[_0x2316c3(0x6e2)],_0x511bdc[_0x2316c3(0x556)],Ti(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x450)],_0x511bdc[_0x2316c3(0x3eb)],Ei(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x3ec)],_0x511bdc['mergeCells'],Ci(_0x568d18,_0x29a572)),ki(X[_0x2316c3(0x218)],_0x511bdc['unmergeCells'],wi(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x3f7)],_0x511bdc[_0x2316c3(0x546)],Di(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x50d)],_0x511bdc[_0x2316c3(0x546)],Oi(_0x29a572,_0x568d18))];}function li(_0x3de704,_0xeccffb,_0x257e62,_0xab1fda){const _0x462244=_0x5defcf;let _0x3abc1c=Z(_0xeccffb);if(!_0x3abc1c||!_0xeccffb)return null;let {unitId:_0xe198cb,subUnitId:_0x384a19,elementId:_0x1b936c,tableId:_0x1274ac,range:_0x25d43b}=_0x3abc1c;switch(_0x257e62){case X[_0x462244(0x208)]:return{'commandId':_0xab1fda['insertRows'],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'rowIndex':_0x25d43b[_0x462244(0x1d3)],'count':ji(_0x25d43b)}};case X[_0x462244(0x66a)]:return{'commandId':_0xab1fda[_0x462244(0x5c6)],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'rowIndex':_0x25d43b[_0x462244(0x573)]+0x1,'count':ji(_0x25d43b)}};case X[_0x462244(0x233)]:return{'commandId':_0xab1fda[_0x462244(0x60d)],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'columnIndex':_0x25d43b['startColumn'],'count':Mi(_0x25d43b)}};case X[_0x462244(0x5ab)]:return{'commandId':_0xab1fda[_0x462244(0x60d)],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'columnIndex':_0x25d43b[_0x462244(0x351)]+0x1,'count':Mi(_0x25d43b)}};case X[_0x462244(0x6e2)]:return Ti(_0x3de704,_0xeccffb)?{'commandId':_0xab1fda[_0x462244(0x556)],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'startRow':_0x25d43b[_0x462244(0x1d3)],'endRow':_0x25d43b[_0x462244(0x573)]}}:null;case X[_0x462244(0x450)]:return Ei(_0x3de704,_0xeccffb)?{'commandId':_0xab1fda[_0x462244(0x3eb)],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'startColumn':_0x25d43b[_0x462244(0x3cc)],'endColumn':_0x25d43b[_0x462244(0x351)]}}:null;case X['MergeCells']:return Ci(_0xeccffb,_0x3de704)?{'commandId':_0xab1fda['mergeCells'],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'range':_0x25d43b}}:null;case X[_0x462244(0x218)]:return wi(_0x3de704,_0xeccffb)?{'commandId':_0xab1fda[_0x462244(0x4d6)],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'range':_0x25d43b}}:null;case X[_0x462244(0x3f7)]:return Ai(_0x3de704,_0xeccffb,_0xab1fda[_0x462244(0x546)],_0xe198cb,_0x1274ac,_0x25d43b,_0x462244(0x4b9));case X[_0x462244(0x50d)]:return Ai(_0x3de704,_0xeccffb,_0xab1fda[_0x462244(0x546)],_0xe198cb,_0x1274ac,_0x25d43b,'column');}}function ui(_0x26dec7,_0x6d4b1d,_0x25f979){const _0x393bab=_0x5defcf;let _0x1bc220=_0x25f979?_0x4a84fc(_0x25f979):{'startRow':0x0,'endRow':_0x26dec7[_0x393bab(0x360)][_0x393bab(0x393)]-0x1,'startColumn':0x0,'endColumn':_0x26dec7[_0x393bab(0x5ca)][_0x393bab(0x393)]-0x1};if(_0x6d4b1d==='row'){let _0x1373a8=_0xdc70f2[_0x393bab(0x597)](_0x26dec7[_0x393bab(0x360)]),_0xabc1c=Math['max'](0x0,Math['min'](_0x1bc220[_0x393bab(0x1d3)],_0x1373a8[_0x393bab(0x393)]-0x1)),_0x2f11d3=Math[_0x393bab(0x6bf)](_0xabc1c,Math[_0x393bab(0x4a7)](_0x1bc220[_0x393bab(0x573)],_0x1373a8[_0x393bab(0x393)]-0x1)),_0x10fea7=_0x1373a8['slice'](_0xabc1c,_0x2f11d3+0x1),_0x72665e=_0x10fea7[_0x393bab(0x57e)]((_0x41196e,_0x2802fb)=>_0x41196e+(_0x2802fb[_0x393bab(0x65e)]??0x18),0x0)/Math['max'](0x1,_0x10fea7[_0x393bab(0x393)]);for(let _0x10e1e3=_0xabc1c;_0x10e1e3<=_0x2f11d3;_0x10e1e3+=0x1)_0x1373a8[_0x10e1e3]['height']=_0x72665e;return{'rows':_0x1373a8};}let _0x3e698f=_0xdc70f2[_0x393bab(0x597)](_0x26dec7['columns']),_0x39ad10=Math[_0x393bab(0x6bf)](0x0,Math[_0x393bab(0x4a7)](_0x1bc220[_0x393bab(0x3cc)],_0x3e698f[_0x393bab(0x393)]-0x1)),_0x2afe76=Math[_0x393bab(0x6bf)](_0x39ad10,Math[_0x393bab(0x4a7)](_0x1bc220[_0x393bab(0x351)],_0x3e698f[_0x393bab(0x393)]-0x1)),_0x5a3767=_0x3e698f[_0x393bab(0x313)](_0x39ad10,_0x2afe76+0x1),_0x22b2e2=_0x5a3767[_0x393bab(0x57e)]((_0x11c45b,_0x2977d8)=>_0x11c45b+_0x2977d8[_0x393bab(0x58e)],0x0)/Math[_0x393bab(0x6bf)](0x1,_0x5a3767[_0x393bab(0x393)]);for(let _0x170c68=_0x39ad10;_0x170c68<=_0x2afe76;_0x170c68+=0x1)_0x3e698f[_0x170c68][_0x393bab(0x58e)]=_0x22b2e2;return{'columns':_0x3e698f};}function di(_0x5509f0,_0x158b78,_0x1dfe40){let _0x307aee=_0xdc70f2['deepClone'](_0x5509f0['rows']),_0x1c8214=_0x4a84fc(_0x158b78);return _0x2d4702(_0x307aee,_0x1c8214,(_0x5c0d24,_0x1a206a,_0x303a50)=>{const _0x4058c3=_0x428e;if(_0x1dfe40[_0x4058c3(0x71b)]===_0x4058c3(0x511)){_0x5c0d24[_0x4058c3(0x242)]=_0x3a813d(_0x5c0d24[_0x4058c3(0x242)],{'verticalAlign':Vi(_0x1dfe40[_0x4058c3(0x38a)])});return;}let _0xc37c34=_0x4058c3(0x382)+_0x5509f0['id']+'_'+_0x1a206a+'_'+_0x303a50;_0x5c0d24[_0x4058c3(0x1b7)]=Ni(_0x5c0d24['textData'],_0x1dfe40[_0x4058c3(0x38a)],_0xc37c34);}),{'rows':_0x307aee};}function fi(_0x4f23f2,_0x19eb56,_0x5e8451){const _0x67d7f2=_0x5defcf;let _0x20a434=_0xdc70f2[_0x67d7f2(0x597)](_0x4f23f2[_0x67d7f2(0x360)]),_0x4f65d0=_0x4a84fc(_0x19eb56);return _0x2d4702(_0x20a434,_0x4f65d0,(_0x1a7f54,_0x434c0d,_0x4dbb57)=>{const _0x30050f=_0x67d7f2;var _0x36a6b3;let _0x28725a=_0x30050f(0x382)+_0x4f23f2['id']+'_'+_0x434c0d+'_'+_0x4dbb57,_0x1a8cda=_0xdc70f2[_0x30050f(0x597)](_0x1a7f54['textData']??zi(_0x28725a)),_0x362772=_0x1a8cda['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x4cc723=_0x2b8786(0x6);_0x1a7f54[_0x30050f(0x1b7)]={..._0x1a8cda,'id':_0x1a8cda['id']??_0x28725a,'body':{..._0x362772,'paragraphs':((_0x36a6b3=_0x362772[_0x30050f(0x307)])!=null&&_0x36a6b3[_0x30050f(0x393)]?_0x362772[_0x30050f(0x307)]:[Bi()])[_0x30050f(0x295)](_0x19d128=>{const _0x23581d=_0x30050f;var _0x4e56df,_0x2fcb34;if(_0x5e8451===null){let _0x36c3c9={..._0x19d128};return delete _0x36c3c9[_0x23581d(0x30c)],_0x36c3c9;}return{..._0x19d128,'bullet':{'nestingLevel':((_0x4e56df=_0x19d128[_0x23581d(0x30c)])==null?void 0x0:_0x4e56df[_0x23581d(0x441)])??0x0,'textStyle':((_0x2fcb34=_0x19d128['bullet'])==null?void 0x0:_0x2fcb34['listType'])===_0x5e8451?_0x19d128[_0x23581d(0x30c)][_0x23581d(0x4e6)]:{'fs':0x14},'listId':_0x4cc723,'listType':_0x5e8451}};})}};}),{'rows':_0x20a434};}function pi(_0x24669a,_0x3e59ec,_0x178a25){const _0xd6b32b=_0x5defcf;if(!_0x24669a||!_0x3e59ec)return{'active':!0x1,'mixed':!0x1};let _0x138e91=_0x4a84fc(_0x3e59ec),_0x48e728=[];for(let _0x40f77a=_0x138e91['startRow'];_0x40f77a<=_0x138e91[_0xd6b32b(0x573)];_0x40f77a+=0x1)for(let _0x27cbde=_0x138e91[_0xd6b32b(0x3cc)];_0x27cbde<=_0x138e91[_0xd6b32b(0x351)];_0x27cbde+=0x1){var _0x55e5ad;let _0x3b7e6b=((_0x55e5ad=_0x24669a[_0xd6b32b(0x360)][_0x40f77a])==null||(_0x55e5ad=_0x55e5ad['cells'][_0x27cbde])==null||(_0x55e5ad=_0x55e5ad[_0xd6b32b(0x1b7)])==null||(_0x55e5ad=_0x55e5ad[_0xd6b32b(0x291)])==null?void 0x0:_0x55e5ad[_0xd6b32b(0x307)])??[];_0x48e728[_0xd6b32b(0x6e6)](..._0x3b7e6b['length']?_0x3b7e6b[_0xd6b32b(0x295)](_0x4fbfc4=>{const _0xb2ceb7=_0xd6b32b;var _0x42b9b1;let _0x479359=(_0x42b9b1=_0x4fbfc4['bullet'])==null?void 0x0:_0x42b9b1[_0xb2ceb7(0x46c)];return mi(_0x479359)?_0x479359:void 0x0;}):[void 0x0]);}let _0x5ec494=_0x48e728[_0xd6b32b(0x439)](_0x2db2b5=>!!(_0x2db2b5!=null&&_0x2db2b5[_0xd6b32b(0x357)](_0x178a25))),_0x4a739b=_0x48e728[_0xd6b32b(0x393)]>0x0&&_0x5ec494[_0xd6b32b(0x393)]===_0x48e728[_0xd6b32b(0x393)];return{'active':_0x4a739b,'mixed':_0x5ec494[_0xd6b32b(0x393)]>0x0&&!_0x4a739b,'value':_0x4a739b&&_0x5ec494[_0xd6b32b(0x214)](_0x8ab9d4=>_0x8ab9d4===_0x5ec494[0x0])?_0x5ec494[0x0]:void 0x0};}function mi(_0x4e5e05){const _0x294127=_0x5defcf;return _0x4e5e05!==void 0x0&&Object[_0x294127(0x267)](_0x28baf8)[_0x294127(0x638)](_0x4a0dab=>_0x4a0dab===_0x4e5e05);}function hi(_0x2760c9,_0x4ea84a,_0x2dbab3){return gi(_0x2760c9,_0x4ea84a,_0x2dbab3?{'type':_0x772d0f['Solid'],'color':_0x2dbab3,'alpha':0x1}:void 0x0);}function gi(_0x34df8a,_0x35f927,_0x5d655a){const _0x3f2799=_0x5defcf;let _0x3694e6=_0xdc70f2[_0x3f2799(0x597)](_0x34df8a['rows']),_0x4db5c0=_0x4a84fc(_0x35f927);return _0x2d4702(_0x3694e6,_0x4db5c0,_0x3fe2bf=>{const _0x5c6324=_0x3f2799;_0x3fe2bf[_0x5c6324(0x242)]=_0x3a813d(_0x3fe2bf[_0x5c6324(0x242)],{'fill':_0x5d655a});}),{'rows':_0x3694e6};}function _i(_0x4e5f0a,_0x2a0818,_0x698dd8){const _0x49163e=_0x5defcf;return vi(_0x4e5f0a,_0x2a0818,_0x698dd8?{'type':_0x49163e(0x71a),'color':_0x698dd8,'opacity':0x1}:void 0x0);}function vi(_0x40c9c1,_0x2ca9cc,_0x15360a){const _0x39a5e8=_0x5defcf;let _0x2089b5=_0xdc70f2[_0x39a5e8(0x597)](_0x40c9c1[_0x39a5e8(0x360)]),_0x4025ca=_0x4a84fc(_0x2ca9cc);return _0x2d4702(_0x2089b5,_0x4025ca,(_0x3b73c1,_0x181b4a,_0x45345f)=>{const _0x21b83a=_0x39a5e8;let _0x752a02=_0x21b83a(0x382)+_0x40c9c1['id']+'_'+_0x181b4a+'_'+_0x45345f;_0x3b73c1['textData']=Pi(_0x3b73c1['textData'],_0x15360a,_0x752a02);}),{'rows':_0x2089b5};}function yi(_0x146874,_0x4f26b5,_0x1596a4){const _0x3a26f9=_0x5defcf;let _0x1f2410=_0xdc70f2[_0x3a26f9(0x597)](_0x146874[_0x3a26f9(0x360)]),_0x3cd27a=_0x4a84fc(_0x4f26b5);return _0x2d4702(_0x1f2410,_0x3cd27a,_0x45ab14=>{const _0x1f67a6=_0x3a26f9;var _0x58852c;let _0x186303=((_0x58852c=_0x45ab14[_0x1f67a6(0x242)])==null?void 0x0:_0x58852c['borders'])??{},_0x3cc522=_0x45d338=>({..._0x4c26dd(),..._0x45d338,..._0x1596a4});_0x45ab14[_0x1f67a6(0x242)]=_0x3a813d(_0x45ab14[_0x1f67a6(0x242)],{'borders':{'top':_0x3cc522(_0x186303['top']),'right':_0x3cc522(_0x186303['right']),'bottom':_0x3cc522(_0x186303[_0x1f67a6(0x341)]),'left':_0x3cc522(_0x186303[_0x1f67a6(0x479)])}});}),{'rows':_0x1f2410};}function bi(_0xb268b7,_0x14e2ac,_0x54b080,_0x24bfc9){const _0x2becdf=_0x5defcf;let _0x294487=_0xdc70f2[_0x2becdf(0x597)](_0xb268b7[_0x2becdf(0x360)]);return{'rows':_0x544576(_0x294487,_0x14e2ac,_0x54b080,_0x24bfc9)[_0x2becdf(0x360)]};}function xi(_0xc6483e,_0x30f503,_0x1585a4){return Li(_0xc6483e,_0x30f503,{'ff':_0x1585a4});}function Si(_0xc6eb40,_0x4af2f3,_0x21aebb){return Li(_0xc6eb40,_0x4af2f3,{'fs':_0x21aebb});}function Ci(_0x48f0a6,_0xa26006){const _0x3749c2=_0x5defcf;let _0x3ebafd=Z(_0x48f0a6);return!!_0x3ebafd&&_0x719977(_0x3ebafd[_0x3749c2(0x483)])&&(!_0xa26006||!wi(_0xa26006,_0x48f0a6));}function wi(_0x5c0f46,_0x32c321){const _0x10f10b=_0x5defcf;let _0x2a7fe7=Z(_0x32c321);if(!_0x2a7fe7||!_0x5c0f46)return!0x1;let _0x41727d=_0x4a84fc(_0x2a7fe7[_0x10f10b(0x483)]);for(let _0x2c4153=_0x41727d[_0x10f10b(0x1d3)];_0x2c4153<=_0x41727d[_0x10f10b(0x573)];_0x2c4153+=0x1)for(let _0x5134c1=_0x41727d[_0x10f10b(0x3cc)];_0x5134c1<=_0x41727d[_0x10f10b(0x351)];_0x5134c1+=0x1){let _0x139824=_0x44102f(_0x5c0f46,_0x2c4153,_0x5134c1);if(_0x139824&&_0x719977(_0x139824))return!0x0;}return!0x1;}function Ti(_0x16189b,_0x5c7a4c){const _0x554725=_0x5defcf;let _0x58f6d2=Z(_0x5c7a4c);return!_0x58f6d2||!_0x16189b?!0x1:_0x16189b[_0x554725(0x360)][_0x554725(0x393)]>_0x58f6d2[_0x554725(0x483)][_0x554725(0x573)]-_0x58f6d2[_0x554725(0x483)][_0x554725(0x1d3)]+0x1;}function Ei(_0x8f7e63,_0xc35f7f){const _0x142b32=_0x5defcf;let _0xf8bdc6=Z(_0xc35f7f);return!_0xf8bdc6||!_0x8f7e63?!0x1:_0x8f7e63[_0x142b32(0x5ca)][_0x142b32(0x393)]>_0xf8bdc6[_0x142b32(0x483)]['endColumn']-_0xf8bdc6['range'][_0x142b32(0x3cc)]+0x1;}function Di(_0x2de95f,_0x2aa016){const _0x22c357=_0x5defcf;let _0x536c36=Z(_0x2aa016);return!_0x536c36||!_0x2de95f?!0x1:_0x536c36[_0x22c357(0x483)][_0x22c357(0x573)]-_0x536c36[_0x22c357(0x483)]['startRow']+0x1>0x1;}function Oi(_0x33c143,_0x4283b2){const _0x190c9f=_0x5defcf;let _0x4b9556=Z(_0x4283b2);return!_0x4b9556||!_0x33c143?!0x1:_0x4b9556[_0x190c9f(0x483)][_0x190c9f(0x351)]-_0x4b9556[_0x190c9f(0x483)]['startColumn']+0x1>0x1;}function ki(_0x3dbd66,_0x395c31,_0x21a7e9){return{'id':_0x3dbd66,'commandId':_0x395c31,'enabled':_0x21a7e9};}function Ai(_0x2fe0f4,_0x5422b3,_0xebabeb,_0x30f7bc,_0x134940,_0x3921de,_0x4c3744){const _0xd74df8=_0x5defcf;return!_0x2fe0f4||!(_0x4c3744===_0xd74df8(0x4b9)?Di(_0x2fe0f4,_0x5422b3):Oi(_0x2fe0f4,_0x5422b3))?null:{'commandId':_0xebabeb,'params':{'unitId':_0x30f7bc,'tableId':_0x134940,'patch':ui(_0x2fe0f4,_0x4c3744,_0x3921de)}};}function ji(_0x50e132){const _0x57c6da=_0x5defcf;return _0x50e132[_0x57c6da(0x573)]-_0x50e132['startRow']+0x1;}function Mi(_0x3048bb){const _0x832e5a=_0x5defcf;return _0x3048bb[_0x832e5a(0x351)]-_0x3048bb[_0x832e5a(0x3cc)]+0x1;}function Ni(_0x374641,_0x2e5ba9,_0x519cc7){const _0x583ba9=_0x5defcf;var _0x2b4000;let _0x2b77ce=_0xdc70f2[_0x583ba9(0x597)](_0x374641??zi(_0x519cc7)),_0x2f569e=_0x2b77ce[_0x583ba9(0x291)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x441844=(_0x2b4000=_0x2f569e['paragraphs'])!=null&&_0x2b4000[_0x583ba9(0x393)]?_0x2f569e[_0x583ba9(0x307)]:[Bi()],_0x115175=_0x2b77ce[_0x583ba9(0x6e1)]??{};return{..._0x2b77ce,'id':_0x2b77ce['id']??_0x519cc7,'body':{..._0x2f569e,'dataStream':_0x2f569e['dataStream']??'\x0d\x0a','paragraphs':_0x441844[_0x583ba9(0x295)](_0x1814e7=>({..._0x1814e7,'paragraphStyle':{..._0x1814e7[_0x583ba9(0x6a3)],'horizontalAlign':_0x2e5ba9}}))},'documentStyle':{..._0x115175,'renderConfig':{..._0x115175['renderConfig'],'horizontalAlign':_0x2e5ba9}}};}function Pi(_0x8e8aec,_0x48f0a5,_0x1c68f6){const _0x2acdc3=_0x5defcf;var _0x28250f,_0x4d2444;let _0x460d7e=_0xdc70f2[_0x2acdc3(0x597)](_0x8e8aec??zi(_0x1c68f6)),_0x188c74=_0x460d7e[_0x2acdc3(0x291)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0xfa3825=_0x188c74[_0x2acdc3(0x41f)]??'\x0d\x0a',_0x402c12=Math[_0x2acdc3(0x6bf)](0x0,_0xfa3825[_0x2acdc3(0x393)]-0x2),_0xfa487a=Ii(_0x48f0a5),_0x22725c=Fi({...(_0x28250f=_0x460d7e[_0x2acdc3(0x6e1)])==null?void 0x0:_0x28250f[_0x2acdc3(0x4e6)]},_0x48f0a5,_0xfa487a),_0x4ff93d=(_0x188c74[_0x2acdc3(0x46a)]??[])[_0x2acdc3(0x295)](_0x4e3c5f=>{let _0xdceb81=Fi({..._0x4e3c5f['ts']},_0x48f0a5,_0xfa487a);return{..._0x4e3c5f,'ts':_0xdceb81};});return _0x48f0a5&&_0x402c12>0x0&&_0x4ff93d[_0x2acdc3(0x393)]===0x0&&_0x4ff93d[_0x2acdc3(0x6e6)]({'st':0x0,'ed':_0x402c12,'ts':{..._0xfa487a?{'cl':{'rgb':_0xfa487a}}:{},'textFill':_0x48f0a5}}),{..._0x460d7e,'id':_0x460d7e['id']??_0x1c68f6,'body':{..._0x188c74,'dataStream':_0xfa3825,'paragraphs':(_0x4d2444=_0x188c74[_0x2acdc3(0x307)])!=null&&_0x4d2444[_0x2acdc3(0x393)]?_0x188c74[_0x2acdc3(0x307)]:[Bi()],'textRuns':_0x4ff93d},'documentStyle':{..._0x460d7e[_0x2acdc3(0x6e1)],'textStyle':_0x22725c}};}function Fi(_0x44158f,_0x587527,_0x3d27a0){return _0x587527?_0x44158f['textFill']=_0x587527:delete _0x44158f['textFill'],_0x3d27a0?_0x44158f['cl']={'rgb':_0x3d27a0}:delete _0x44158f['cl'],_0x44158f;}function Ii(_0x1b1692){const _0x320d9e=_0x5defcf;if(!_0x1b1692||_0x1b1692[_0x320d9e(0x495)]===_0x320d9e(0x6bc))return(_0x1b1692==null?void 0x0:_0x1b1692[_0x320d9e(0x495)])===_0x320d9e(0x6bc)?_0x320d9e(0x4f0):void 0x0;if(_0x1b1692['type']==='gradient'){var _0x13a91a;return((_0x13a91a=_0x1b1692[_0x320d9e(0x5ef)])==null||(_0x13a91a=_0x13a91a[_0x320d9e(0x36c)])==null||(_0x13a91a=_0x13a91a[0x0])==null?void 0x0:_0x13a91a[_0x320d9e(0x1e2)])??_0x1b1692[_0x320d9e(0x1e2)];}return _0x1b1692[_0x320d9e(0x1e2)];}function Li(_0x3647f2,_0x2ead0d,_0x53e172){const _0x580a17=_0x5defcf;let _0x6acedf=_0xdc70f2[_0x580a17(0x597)](_0x3647f2['rows']),_0x5deb05=_0x4a84fc(_0x2ead0d);return _0x2d4702(_0x6acedf,_0x5deb05,(_0x25f0a7,_0x8d9c70,_0x129392)=>{const _0x184c20=_0x580a17;let _0x32ef9f='SLIDE_TABLE_CELL_'+_0x3647f2['id']+'_'+_0x8d9c70+'_'+_0x129392;_0x25f0a7[_0x184c20(0x1b7)]=Ri(_0x25f0a7[_0x184c20(0x1b7)],_0x53e172,_0x32ef9f);}),{'rows':_0x6acedf};}function Ri(_0x193e43,_0x23eb01,_0xf9dcf4){const _0x21eec3=_0x5defcf;var _0x136416,_0x17fac1;let _0x52ae0d=_0xdc70f2[_0x21eec3(0x597)](_0x193e43??zi(_0xf9dcf4)),_0xfd5505=_0x52ae0d['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0xe99689=_0xfd5505[_0x21eec3(0x41f)]??'\x0d\x0a',_0x3aac92=Math[_0x21eec3(0x6bf)](0x0,_0xe99689[_0x21eec3(0x393)]-0x2),_0x1a3147=(_0xfd5505[_0x21eec3(0x46a)]??[])[_0x21eec3(0x295)](_0x9dda6d=>({..._0x9dda6d,'ts':{..._0x9dda6d['ts'],..._0x23eb01}}));return _0x3aac92>0x0&&_0x1a3147[_0x21eec3(0x393)]===0x0&&_0x1a3147[_0x21eec3(0x6e6)]({'st':0x0,'ed':_0x3aac92,'ts':_0x23eb01}),{..._0x52ae0d,'id':_0x52ae0d['id']??_0xf9dcf4,'body':{..._0xfd5505,'dataStream':_0xe99689,'paragraphs':(_0x136416=_0xfd5505[_0x21eec3(0x307)])!=null&&_0x136416[_0x21eec3(0x393)]?_0xfd5505['paragraphs']:[Bi()],'textRuns':_0x1a3147},'documentStyle':{..._0x52ae0d[_0x21eec3(0x6e1)],'textStyle':{...(_0x17fac1=_0x52ae0d[_0x21eec3(0x6e1)])==null?void 0x0:_0x17fac1['textStyle'],..._0x23eb01}}};}function zi(_0x43a080){return{'id':_0x43a080,'body':{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},'documentStyle':{}};}function Bi(){return{'startIndex':0x0,'paragraphId':_0x63a614(new Set())};}function Vi(_0x41504a){const _0x535cd5=_0x5defcf;return _0x41504a===_0x9c0db6['MIDDLE']?_0x1285f3[_0x535cd5(0x422)]:_0x41504a===_0x9c0db6['BOTTOM']?_0x1285f3['Bottom']:_0x1285f3[_0x535cd5(0x29d)];}const Hi={'insertRows':_0x565bf8['id'],'insertColumns':_0x4a4b69['id'],'deleteRows':_0x5a5531['id'],'deleteColumns':_0x16427a['id'],'mergeCells':_0x13d966['id'],'unmergeCells':_0x5336e9['id'],'updateTable':_0x296a89['id']},Ui=[{'title':_0x5defcf(0x1a5)},{'title':_0x5defcf(0x309),'color':_0x5defcf(0x309)},{'title':_0x5defcf(0x2dd),'color':_0x5defcf(0x2dd)},{'title':_0x5defcf(0x408),'color':_0x5defcf(0x408)},{'title':_0x5defcf(0x545),'color':_0x5defcf(0x545)},{'title':_0x5defcf(0x3dd),'color':_0x5defcf(0x3dd)},{'title':_0x5defcf(0x59c),'color':_0x5defcf(0x59c)},{'title':'red.100','color':_0x5defcf(0x3be)}],Wi=[{'title':_0x5defcf(0x1a5)},{'title':_0x5defcf(0x6c9),'color':'gray.900'},{'title':_0x5defcf(0x22a),'color':_0x5defcf(0x22a)},{'title':_0x5defcf(0x458),'color':_0x5defcf(0x458)},{'title':_0x5defcf(0x66c),'color':'orange.600'},{'title':_0x5defcf(0x3d9),'color':_0x5defcf(0x3d9)},{'title':_0x5defcf(0x2d0),'color':_0x5defcf(0x2d0)},{'title':_0x5defcf(0x578),'color':'blue.600'},{'title':_0x5defcf(0x51e),'color':_0x5defcf(0x51e)}],Gi=wa(_0x5defcf(0x21b),X['InsertRowAbove']),Ki=wa(_0x5defcf(0x5d5),X[_0x5defcf(0x66a)]),qi=wa(_0x5defcf(0x56d),X['InsertColumnLeft']),Ji=wa(_0x5defcf(0x43e),X['InsertColumnRight']),Yi=wa(_0x5defcf(0x1f3),X[_0x5defcf(0x6e2)]),Xi=wa(_0x5defcf(0x396),X[_0x5defcf(0x450)]),Zi=wa(_0x5defcf(0x2f0),X['MergeCells']),Qi=wa('slide.operation.slide-table-unmerge-cells',X[_0x5defcf(0x218)]),$i=wa(_0x5defcf(0x608),X[_0x5defcf(0x3f7)]),ea=wa('slide.operation.slide-table-distribute-columns',X[_0x5defcf(0x50d)]),ta={'id':_0x5defcf(0x3c5),'type':_0x49d1ef[_0x5defcf(0x253)],'handler':_0x37b43e=>_0x37b43e[_0x5defcf(0x621)](_0x51671c)[_0x5defcf(0x38f)](_0x3ae8b5['id'])},na={'id':'slide.operation.slide-table-cut-table','type':_0x49d1ef['OPERATION'],'handler':_0x3fbf83=>_0x3fbf83['get'](_0x51671c)[_0x5defcf(0x38f)](_0x4a70de['id'])},ra={'id':_0x5defcf(0x639),'type':_0x49d1ef['OPERATION'],'handler':_0xeaf07d=>{const _0x2df983=_0x5defcf;let _0x5c0c38=_0xeaf07d[_0x2df983(0x621)](_0x51671c),_0x582e15=_0xeaf07d[_0x2df983(0x621)](_0x462a1f),_0x19470d=_0xeaf07d[_0x2df983(0x621)](_0x2f1910),_0x5c16aa=_0xeaf07d['get'](J),_0x189117=_0x5c16aa[_0x2df983(0x1cf)](),_0x39d1c9=Z(_0x189117),_0x4eff72=_0x189117&&_0x39d1c9?{'unitId':_0x39d1c9[_0x2df983(0x379)],'subUnitId':_0x189117[_0x2df983(0x6b4)],'tableId':_0x39d1c9[_0x2df983(0x6a7)],'elementId':_0x39d1c9['elementId']}:null;if(!_0x4eff72){let _0x6ef635=_0x19470d[_0x2df983(0x6d0)](),_0x1a867d=_0x6ef635[_0x2df983(0x625)]['length']===0x1?_0x6ef635['selectedIds'][0x0]:void 0x0,_0x3d98ac=_0x6ef635[_0x2df983(0x278)]&&_0x1a867d?_0x582e15[_0x2df983(0x3a0)]({..._0x6ef635[_0x2df983(0x278)],'drawingId':_0x1a867d}):null;_0x6ef635['context']&&_0x1a867d&&(_0x3d98ac==null?void 0x0:_0x3d98ac[_0x2df983(0x571)]['type'])===_0x16fba9[_0x2df983(0x3f9)]&&(_0x4eff72={'unitId':_0x6ef635[_0x2df983(0x278)][_0x2df983(0x379)],'subUnitId':_0x6ef635[_0x2df983(0x278)][_0x2df983(0x6b4)],'tableId':_0x3d98ac['element'][_0x2df983(0x6a7)],'elementId':_0x1a867d});}if(!_0x4eff72)return!0x1;let _0x15be72=_0x5c0c38[_0x2df983(0x6d2)](_0x244512['id'],_0x4eff72);return _0x15be72&&(_0x5c16aa['clear'](),_0x19470d['clearSelection']()),_0x15be72;}};function ia(_0x795ed,_0x47aa94){return{'id':_0x795ed,'type':_0x49d1ef['OPERATION'],'handler':_0x103d95=>{const _0xa86147=_0x428e;let _0x5c432d=_0x103d95[_0xa86147(0x621)](_0x462a1f),_0x65cd0e=_0x103d95['get'](_0x2f1910)[_0xa86147(0x6d0)](),_0x4cb6ec=_0x65cd0e[_0xa86147(0x625)][_0xa86147(0x393)]===0x1?_0x65cd0e[_0xa86147(0x625)][0x0]:void 0x0;if(!_0x65cd0e[_0xa86147(0x278)]||!_0x4cb6ec)return!0x1;let _0x36d784=_0x5c432d[_0xa86147(0x3a0)]({..._0x65cd0e[_0xa86147(0x278)],'drawingId':_0x4cb6ec});if((_0x36d784==null?void 0x0:_0x36d784[_0xa86147(0x571)][_0xa86147(0x495)])!==_0x16fba9[_0xa86147(0x3f9)])return!0x1;let _0x4b5a6b=_0x5c432d[_0xa86147(0x4f2)](_0x65cd0e['context']['unitId'],_0x65cd0e[_0xa86147(0x278)][_0xa86147(0x6b4)]),_0x4775d3=_0x4b5a6b['indexOf'](_0x4cb6ec);if(_0x4775d3<0x0)return!0x1;let _0x5ae8d0=[..._0x4b5a6b];if(_0x47aa94===_0x4d1446[_0xa86147(0x20f)]&&_0x4775d3<_0x5ae8d0[_0xa86147(0x393)]-0x1)[_0x5ae8d0[_0x4775d3],_0x5ae8d0[_0x4775d3+0x1]]=[_0x5ae8d0[_0x4775d3+0x1],_0x5ae8d0[_0x4775d3]];else{if(_0x47aa94===_0x4d1446[_0xa86147(0x62a)]&&_0x4775d3>0x0)[_0x5ae8d0[_0x4775d3],_0x5ae8d0[_0x4775d3-0x1]]=[_0x5ae8d0[_0x4775d3-0x1],_0x5ae8d0[_0x4775d3]];else{if(_0x47aa94===_0x4d1446[_0xa86147(0x2e8)]&&_0x4775d3<_0x5ae8d0[_0xa86147(0x393)]-0x1)_0x5ae8d0[_0xa86147(0x258)](_0x4775d3,0x1),_0x5ae8d0[_0xa86147(0x6e6)](_0x4cb6ec);else{if(_0x47aa94===_0x4d1446['back']&&_0x4775d3>0x0)_0x5ae8d0[_0xa86147(0x258)](_0x4775d3,0x1),_0x5ae8d0[_0xa86147(0x501)](_0x4cb6ec);else return!0x1;}}}return _0x103d95[_0xa86147(0x621)](_0x51671c)['executeCommand'](_0x17dfbf['id'],{'unitId':_0x65cd0e[_0xa86147(0x278)][_0xa86147(0x379)],'subUnitId':_0x65cd0e['context'][_0xa86147(0x6b4)],'drawingIds':_0x5ae8d0});}};}const aa=ia('slide-table.operation.arrange-forward',_0x4d1446[_0x5defcf(0x20f)]),oa=ia(_0x5defcf(0x61a),_0x4d1446[_0x5defcf(0x62a)]),sa=ia(_0x5defcf(0x48a),_0x4d1446[_0x5defcf(0x2e8)]),ca=ia('slide-table.operation.arrange-back',_0x4d1446[_0x5defcf(0x54c)]),la=Ta('slide-table.operation.border-all',_0x4c5615[_0x5defcf(0x25b)]),ua=Ta(_0x5defcf(0x687),_0x4c5615[_0x5defcf(0x4ba)]),da=Ta(_0x5defcf(0x585),_0x4c5615['Inner']),fa=Ta(_0x5defcf(0x6fa),_0x4c5615[_0x5defcf(0x2d4)]),pa=Ea(_0x5defcf(0x613),{'axis':_0x5defcf(0x367),'value':_0x4918fc['LEFT']}),ma=Ea('slide-table.operation.align-center',{'axis':_0x5defcf(0x367),'value':_0x4918fc[_0x5defcf(0x5a4)]}),ha=Ea(_0x5defcf(0x563),{'axis':'horizontal','value':_0x4918fc[_0x5defcf(0x1d0)]}),ga=Ea('slide-table.operation.align-top',{'axis':_0x5defcf(0x511),'value':_0x9c0db6['TOP']}),_a=Ea(_0x5defcf(0x377),{'axis':_0x5defcf(0x511),'value':_0x9c0db6[_0x5defcf(0x4ce)]}),va=Ea(_0x5defcf(0x2f2),{'axis':_0x5defcf(0x511),'value':_0x9c0db6['BOTTOM']}),ya=Ui[_0x5defcf(0x295)]((_0x2fbc29,_0x4a6fc7)=>Da(_0x5defcf(0x56a)+_0x4a6fc7,_0x2fbc29)),ba=Wi[_0x5defcf(0x295)]((_0xb03288,_0x1f6606)=>Oa(_0x5defcf(0x2de)+_0x1f6606,_0xb03288)),xa=[Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,...ya,...ba];function Sa(_0x4b4353){const _0x5db402=_0x5defcf;return Z(_0x4b4353[_0x5db402(0x1cf)]());}function Ca(_0x33ae21,_0xc70615,_0x141ece){return li(_0x33ae21,_0xc70615,_0x141ece,Hi);}function wa(_0x3972c5,_0x23512c){const _0x25a6e7=_0x5defcf;return{'id':_0x3972c5,'type':_0x49d1ef[_0x25a6e7(0x253)],'handler'(_0xfa9c44){const _0x1801c3=_0x25a6e7;let _0x34d707=_0xfa9c44[_0x1801c3(0x621)](J)[_0x1801c3(0x1cf)](),_0x2cfac5=Z(_0x34d707);if(!_0x2cfac5)return!0x1;let _0x46bc4e=Ca(_0xfa9c44[_0x1801c3(0x621)](_0x161eee)[_0x1801c3(0x2aa)](_0x2cfac5[_0x1801c3(0x379)],_0x2cfac5[_0x1801c3(0x6a7)]),_0x34d707,_0x23512c);return _0x46bc4e?_0xfa9c44['get'](_0x51671c)[_0x1801c3(0x38f)](_0x46bc4e[_0x1801c3(0x595)],_0x46bc4e['params']):!0x1;}};}function Ta(_0x14dde0,_0x22aaa3){const _0x1a37d5=_0x5defcf;return{'id':_0x14dde0,'type':_0x49d1ef[_0x1a37d5(0x253)],'handler':_0x4ddb42=>{const _0x4a143d=_0x1a37d5;let _0x198338=Sa(_0x4ddb42[_0x4a143d(0x621)](J));if(!_0x198338)return!0x1;let _0x2fb8f8=_0x4ddb42[_0x4a143d(0x621)](_0x161eee)[_0x4a143d(0x2aa)](_0x198338[_0x4a143d(0x379)],_0x198338[_0x4a143d(0x6a7)]);return _0x2fb8f8?_0x4ddb42[_0x4a143d(0x621)](_0x51671c)[_0x4a143d(0x38f)](_0x296a89['id'],{'unitId':_0x198338[_0x4a143d(0x379)],'tableId':_0x198338[_0x4a143d(0x6a7)],'patch':bi(_0x2fb8f8,_0x198338[_0x4a143d(0x483)],_0x22aaa3)}):!0x1;}};}function Ea(_0xa6c341,_0x554d3d){const _0x1ffed8=_0x5defcf;return{'id':_0xa6c341,'type':_0x49d1ef[_0x1ffed8(0x253)],'handler':_0x6d8802=>{const _0x5e6ff3=_0x1ffed8;let _0x2af1bf=Sa(_0x6d8802['get'](J));if(!_0x2af1bf)return!0x1;let _0x4646a7=_0x6d8802[_0x5e6ff3(0x621)](_0x161eee)[_0x5e6ff3(0x2aa)](_0x2af1bf[_0x5e6ff3(0x379)],_0x2af1bf[_0x5e6ff3(0x6a7)]);return _0x4646a7?_0x6d8802[_0x5e6ff3(0x621)](_0x51671c)['executeCommand'](_0x296a89['id'],{'unitId':_0x2af1bf['unitId'],'tableId':_0x2af1bf['tableId'],'patch':di(_0x4646a7,_0x2af1bf[_0x5e6ff3(0x483)],_0x554d3d)}):!0x1;}};}function _0x236d(){const _0x136858=['getAncestorScale','width','_hideContextMenu','text','slides-table-ui.contextMenu.insertColumnLeft','small','univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','_editorDisposable','commandId','slides-table-ui.editorToolbar.alignJustify','deepClone','Copy','_tableResourceService','unmerge','floatingToolbar','yellow.100','themeService','_initPointerDownContextMenu','_makeSceneDirty','_finishCellEditing','_fallbackVisibleSources','extend-left','slides-table-ui.editorToolbar.medium','CENTER','bold','SELECTOR','Right','disconnect','_instanceService','_scheduleActiveEditorLayoutSync','InsertColumnRight','getContextValue','slides-table-ui.editorToolbar.bandedColumns','inactive','resize-column','columnDelta','univer-flex\x20univer-items-center\x20univer-gap-2','univer-grid\x20univer-min-w-0\x20univer-gap-2\x20univer-text-sm','univer-size-6\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','getDirection','rtl','_drawInsertGuide','_updateTableControlHover','CONTENT','_resolveTableControlHit','ArrowUp','ShowToolbarIcon','_resolveCellHit','scroll','\x0a\x20\x20\x20\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-shadow-lg\x0a\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a','_resizeBoundary','insertIndex','backgroundColor','univer-hidden','univer-mt-3\x20univer-w-full','WRAP','exec','insertRows','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','_menuManagerService','slides-table-ui.editorToolbar.borderStyle','columns','sections','offsetY','resetCursor','register','AdjustHeightDoubleIcon','_injector','univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-content-center\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-items-stretch\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','selection','_drawGrid','index','slide.operation.slide-table-insert-row-below','_handleKeyboardAction','SetCellStyle','cellStyle','getViewports','move','showContextualTab','slides-table-ui.editorToolbar.headerRow','slides-table-ui.contextual-ribbon','canvasRect','slides-table-ui.ribbon.cell-style-control','imageIoService','pictureInsert','slide-table-document-renderer','move-right','documentData','SHIFT','_handleStructuralHeaderPointerDown','mergeCells','_embedFloatingActiveService','selectColumns','unsubscribe','_drawTableHandle','rgba(','ROW_RESIZE','top','gradient','getAbsoluteVector','JUSTIFIED','getRenderUnitById','pipe','Dash','url(\x22','rotation','shift-arrow-down','slides-table-ui.editorToolbar.borderWidth','text/plain','alignMiddle','#409cff','slides-table-ui.tableSizePicker.','rect','slides-table-ui.editorToolbar.borderStyleDashDot','_getFloatingToolbarComponent','then','DRAWINGML','slides-table-ui.shapePanel.fill.picture.source','getTableSelectionColor','_editingCell','source','_renderModelCache','getCanvasElement','slide.operation.slide-table-distribute-rows','slides-table-ui.editorToolbar.tableBackgroundColor','_registerComponents','univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','minPositionOffset','insertColumns','_shouldShowTransformerForDrawing','elementId','true','columnWidths','_commitClipboardPatch','slide-table.operation.align-left','univer-bg-gray-50\x20univer-pb-3\x20dark:!univer-bg-gray-900','univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2','_drawRowFills','_resolveTableClipboardTarget','engine','borderPresetInner','slide-table.operation.arrange-backward','focus','getBoundingClientRect','Vertical270','slides-table-ui.editorToolbar.borderPresetLeft','enableObjectsEvent','collapse','get','univer-bg-primary-50\x20univer-text-primary-600','makeDirty','_resolveActiveTableObject','selectedIds','image/*','initialText','109088XULULG','paddingTop','backward','oKey','ltr','_resizeDragListeners','toRgbString','_scheduleResizeHold','after','arrow-right','__editor_','borderRadius','getEditingCell','_handleTableControlPointerDown','mixed','SLIDE_TABLE_EDITOR_UNIT_ID','some','slide.operation.slide-table-delete-table','file','isDrawingObject','addEventListener','3760839uLfmSb','getParent','selectCell','onToggle','621865zmUWBO','</td>','_handleCellEditorPointerUp','_buildControlButtons','slides-table-ui.contextMenu.insert','minimal','univer-w-20','#FFFFFF','ranges','keys','hitTestResizeBoundary','iterator','TOP','tableChange$','toPrimitive','TAB','_restoreTableDrawingSelection','_activateWholeTableSelection','abd','insertGuide','slides-table-ui.editorToolbar.borderStyleSolid','Left','focus$','content','_textRenderCaches','visible','disableObjectsEvent','univer-mt-2\x20univer-border-0\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3','_handleCellContextMenuPointerDown','height','registerComponent','preparePaste','_isControlHovered','slides-table-ui.shapePanel.fill.color','distance','_fitSize','outerShadow','DeleteRowDoubleIcon','scene','slides-table-ui.ribbon.floatingToolbar','borderPresetOuter','InsertRowBelow','querySelectorAll','orange.600','univer-border-gray-200\x20univer-bg-gray-50\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50','lastCol','-cell-','RIBBON','getAttribute','rgba(26,\x20115,\x20232,\x200.22)','_handleDirectResizePointerDown','orderIndex','5543626tySSWe','reorderGuide','_drawReorderGuide','strokeStyle','backgroundFill','editorId','columnCount','ARROW_DOWN','marginTop','tagName','applyPoint','mergeMenu','getLayoutTable','embedId','toString','from','isInteger','cancel','slide-table.operation.border-outer','removeEventListener','rev','_lastActiveTableContext','guideIndex','now','getDrawingData','slides-table-ui.mobile.operations','borders','table','_object','onReady','themeId','univer-flex\x20univer-flex-col\x20univer-gap-2','data-toolbar-item','px\x22>','slide-table.menu.distribute','card','toolbar','ORDER_LIST','distribute-columns','strike','layout','before','univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','_getRenderTable','isTableInternalInteractionActive','transparent','paragraphStyle','univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','alignBottom','univer-size-4\x20univer-text-current','tableId','hitTest','row-insert-dot','disabled','pageHeight','_drawTableEffects','slides-table-ui.contextMenu.distributeRows','active','showThemes','_controlHover','dataset','SetBorderPreset','_canCopyTable','subUnitId','_getState','ArrowDown','univer-border-primary-500\x20univer-bg-primary-100\x20hover:univer-bg-primary-200','univer-h-12\x20univer-w-full\x20univer-justify-between\x20univer-text-base','_isCurrentEditorSession','univer-min-w-32\x20univer-p-1','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','none','_contextMenuService','_setTableControlState','max','decorate','tab','_isCellSelection','scaleY','isContentEditable','anchor','BUTTON','state$','isValid','gray.900','_draw','onSelectPreset','_floatingToolbarService','fontFamily','bBox','#ffffff','getSnapshot','setTableThemes','syncExecuteCommand','_handleResizeHover','edit','_syncTableMoveTransformerControls','set-cell-style','isHorizontal','getColorFromTheme','middle','Inner','_resizeHoverActive','DRAWING','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-lg','constructor','handleInput','flipY','documentStyle','DeleteRows','lineWidth','shadowBlur','slides-table-ui.shapePanel.fill.transparency','push','onScrollAfter$','slides-table-ui.contextMenu.deleteRow','effects','#d2e3fc','_drawControls','_enterCellStage','BottomIcon','slides-table-ui.editorToolbar.borderPresetInner','_initSelectionSynchronization','_selectRows','_disposeTextRenderCaches','start','lastRow','merge','focusCell','slides-table-ui.ribbon.arrangeBackward','column-select','inputType','asObservable','slide-table.operation.border-none','_clearResizeBoundary','alignTop','@univerjs-pro/slides-table-ui','viewportScrollX','getCurrentUnitOfType','_resolvePointerScenePoint','univer-flex\x20univer-h-12\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-px-3','composition-start','_resolveVisibleCellCache','createLinearGradient','keydown','copy','group','_getCenteredTransform','insideH','slides-table-ui.ribbon.cellStyle','_hoveredTrigger','<br>','slides-table-ui.editorToolbar.textColor','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','section','_commandService','_visibleCellCache','_insertClipboardImages','univer-block\x20univer-min-w-0','getActiveSlide','defaultPageSize','number','ArrowLeft','univer-grid\x20univer-gap-2','targetColumn','solid','axis','_updateRangeDrag','_rangeDragWindowCleanup','getOwnPropertyDescriptor','move-down','column-header','test','12yQoOdL','slides-table-ui.mobile.back','stopPropagation','outerBorderWidth','univer-grid\x20univer-grid-cols-3\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','Stretch','_handleTablePointerDown','_getActiveSlideContext','_getStructuralControlZoom','selectDrawings','slides-table-ui.contextMenu.distribute','_slideDrawingService','_setTableKeyboardFocus','borderWidth','src','_structuralInsertHoverObject','_handleClipboardCopy','InnerVertical','text-color','univer-p-2\x20univer-pt-1','merge-cells','_updateHeaderSelectionDrag','_openContextMenu','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2','arc','notchWidth','radial-gradient(circle,\x20','</tbody></table>','univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-300','createElement','_controlState','background','enter','slides-table-ui.contextMenu.resetColor','START','rowCount','cell','_permissionService','_drawCellBorders','univer-m-0\x20univer-text-sm\x20univer-font-medium','_selection','_buildStructuralTriggers','_componentManager','slide-table-size-dialog','slides-table-ui.shapePanel.fill.noFill','picker','_resolveResizeHandle','elements','offsetX','_handleHitTestPointerDown','_selection$','textData','_isLastActiveTableSelected','createPattern','drawingId','getMatrix','borderDash','isValidThemeColor','vertexAngle','!univer-text-primary-600\x20dark:!univer-text-primary-300','defineProperty','sin','rgba(64,\x20156,\x20255,\x200.42)','_rowColumnMoveTarget','_commitCellStyle','onClick','theme','setTableThemePalette','getTableRenderModel','getTableSelection','slides-table-ui.structuralControls.selectColumn','includes','wrapStrategy','path','univer-size-4\x20univer-rounded-sm','getSelection','RIGHT','UniverSlidesTableUIPlugin','skewX','startRow','open','"','Enter','join','pictureSource','options','setData','_isSingleTableSelection','minHeight','abs','center','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center','payload','_resolveTableSnapshot','color','_activateDrawingTable','univer-flex\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','slide-table.operation.keyboard','CONTEXT_MENU','complete','clear-cells','getFocusOwner','_updateRowColumnMoveDrag','italic','univer-grid\x20univer-gap-2\x20univer-p-2','#1a73e8','univer-w-14','renderConfig','univer-flex\x20univer-items-center\x20univer-gap-3','opacity','_initResizeInteraction','slide.operation.slide-table-delete-rows','centerAngle','symbol','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20focus-visible:univer-outline\x20focus-visible:univer-outline-2\x20focus-visible:univer-outline-offset-1\x20focus-visible:univer-outline-primary-500\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:hover:!univer-bg-gray-800','univer-border-primary-500\x20univer-bg-primary-50','_resetTableInteraction','slides-table-ui.config','targetRow','deg,\x20','_isPointInStructuralTriggerEnvelope','univer-flex-1','univer-flex\x20univer-flex-col\x20univer-gap-3','has','dark:!univer-border-gray-700\x20dark:!univer-bg-gray-800','stage','_resolveResizeHit','#9fb2cc','univer-min-h-12\x20univer-whitespace-normal\x20univer-text-sm','_resolveObjectPoint','univer-overflow-y-auto','delete-row','InsertRowAbove','slides-table-ui.editorToolbar.borderPresetRight','_tableActivationStage','getData','OTHERS','slides-table-ui.shapePanel.fill.solidFill','setEnabled','forward','BULLET_LIST','format','_getSelectedHeaderRange','linear-gradient(135deg,\x20transparent\x2045%,\x20#ef4444\x2045%,\x20#ef4444\x2055%,\x20transparent\x2055%)','every','contentHeight','firstRow','selection$','UnmergeCells','[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:!univer-size-8','getSession','slide.operation.slide-table-insert-row-above','_embedFocusOwnerService','slides-table-ui.editorToolbar.borderPresetTop','resize','row-header','_drawCellTexts','isArray','_rangeDragContext','_cellHover','onPointerUp$','all','univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','_shortcutService','slides-table-ui.editorToolbar.mergeCells','_registerIcons','gray.500','palette','_imageLoadingCache','_applyRangeDragSelection','_isControlSelected','shift-tab','univer-grid\x20univer-grid-cols-4\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','onCancel','addColorStop','InsertColumnLeft','tableTransform','addImageSourceCache','_imageIoService','structuralControls','minImageEdge','12PtmrxP','_updateCellHover','hitTestStructuralTriggerAtScenePoint','setHandler','univer-m-0\x20univer-text-base\x20univer-font-medium','Tab','!univer-h-6\x20univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full','Bottom','_setTableControlHover','style','_handleCellEditorKeyDown','dash','univer-box-border\x20univer-w-[360px]\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','#f1f3f4','getConfig','#F7FAFF','backspace','row-select','slides-table-ui.tableSizePicker.customSize','canvasScale','univer-sticky\x20univer-top-0\x20univer-z-10','split','slides-table-ui.ribbon.tableDesign','Gradient','getRealBound','univer-mb-3\x20last:univer-mb-0','OPERATION','_localeService','\x20style=\x22height:\x20','selectRange','slide.table-size.dialog','splice','_clearTableControlHover','default','All','onOpenChange','_selectTable','MergeAllIcon','slides-table-ui.editorToolbar.borderStyleDash','univer-w-auto','_layoutSource','saveImage','buttons','slide-table-size-picker','skipNextObservers','univer-flex\x20univer-h-6\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-xs\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','values','moved','shapeTextOpticalVerticalAlign','cover','_handleKeyboardInput','key','structural','shift-arrow-up','slides-table-ui.contextMenu.deleteColumn','univer-fixed','ribbon','translateX(-50%)','offset','univer-mt-2\x20univer-text-center\x20univer-text-sm\x20univer-font-medium','toFixed','TopmostIcon','<col\x20style=\x22width:\x20','context','insert-row-below','univer-pointer-events-none\x20univer-fixed\x20univer-inset-0\x20univer-z-[1080]','slides-table-ui.tableSizePicker.rows','skewY','_previewTable','univer-fixed\x20univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-nowrap\x20univer-items-center\x20univer-rounded\x20univer-bg-gray-0\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_syncActivationStageFromSelection','_executeRowColumnMove','InsertRowAboveDoubleIcon','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center\x20univer-justify-center\x20univer-gap-0.5\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-lg\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','call','_getInteractionController','<td','_handleCellEditorPointerMove','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','pointerup','48798269iZYxfL','translateWithPrecision','slides-table-ui.editorToolbar.unmergeCells','_layoutWidth','DELETE','listSessions','slides-table-ui.editorToolbar.alignLeft','univer-fill-primary-600','body','slides-table-ui.editorToolbar.alignTop','tab-backward','slides-table-ui.tableSizePicker.columns','map','dashDot','titleColumn','TRUE','themes','slides-table-ui.contextMenu.delete','BOTTOM','patch','Top','registerAdapter','currentColor','_resolveScenePointToEditorPoint','slides-table-ui.editorToolbar.alignCenter','insertText','_shouldDrawStructuralHeaders','setTableControlHover','isInGroup','_wireResizeObjects','LEFT','hoveredTrigger','cleanup','getTable','img','calculate','slide-table.contextMenu.cell','cut','_handleActiveTableControlPointerDown','apply','univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300','setLineDash','_setStructuralCursor','BACKSPACE','cos','univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','1px\x20solid\x20','uComp','underline','text/html','_createContextMenuEvent','stringify','save','_editorLayoutSyncScheduled','version','update','slide-drawing-','dispose','angle','univer-w-[280px]\x20univer-p-3','_config','mobileSelection','localeService','_resolvePointerViewportPoint','slides-table-ui.editorToolbar.tableTheme','#c7d2e3','div','set-border-preset','styles','_resolveRenderModel','slide.insert-ribbon.table','green.600','getOrderedTopLevelDrawings','tab-peer','presets','None','_syncActiveEditorLayout','resolve','!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x20!univer-bg-transparent\x20!univer-px-1.5','setTableControlState','hitTestControlAtScenePoint','_resolveRowColumnMoveTarget','_tableMoveDragContext','handle','gray.100','slide-table.operation.text-color-','_activateTableObject','onChange','_resourceService','1788AbLtpG','scale','select','_wiredResizeObjectRefs','check','_syncTableSelectionToObject','front','trim','contenteditable','direction','_finishPendingStage1TableDrag','startEvent','slides-table-ui.editorToolbar.borderPresetInnerVertical','refreshTransformNotification','slide.operation.slide-table-merge-cells','univer-m-0\x20univer-flex\x20univer-h-full\x20univer-items-center\x20univer-gap-1\x20univer-border-none\x20univer-p-0\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50','slide-table.operation.align-bottom','slides-table-ui.mobile.collapse','Dot','_headerSelectionDragCleanup','extend-right','getObject','_uiPartsService','getActive','getTransformer','univer-box-border\x20univer-grid\x20univer-w-full\x20univer-gap-4\x20univer-p-4','textDirection','arrow-down','slides-table-ui.editorToolbar.minimal','allowDocsEditor','round','_commitCellDocument','!univer-text-base','univer-grid\x20univer-grid-cols-2\x20univer-gap-3','_isIsolatedEmbedChildSelection','slide-table-text-','transformVector2SceneCoord','paragraphs','_isTableDrawingActive','white','_slideInsertService','transparency','bullet','_finishHeaderSelectionDrag','slides-table-ui.editorToolbar.footerRow','_resizeWireScheduled','altKey','slides-table-ui.editorToolbar.orderedList','opticalVerticalOffset','slice','insertImage','getValue','edit-cell','vertical270','univer-box-border\x20univer-w-[300px]\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-p-2\x20univer-text-gray-900\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','univer-flex\x20univer-flex-col\x20univer-items-center','resize-row','InnerHorizontal','univer-grid\x20univer-gap-0.5','univer-size-11','clear','_getMoveGestureScale','_handleTextEditingCellPointerDown','addObject$','documents','html','primary','slides-table-ui.editorToolbar.tableLook','TableIcon','URL','_init','title','_layoutTable','univer-col-span-2\x20univer-w-full','!univer-h-12\x20univer-bg-gray-0','repeat','getFocusDrawings','startObjectTop','labelKey','setSelectedControl','_session$','10Hjucmf','prototype','_clearSelectedCellContents','AdjustWidthDoubleIcon','hitTestFloatingStructuralTriggerAtScenePoint','#f7faff','univer-flex-1\x20univer-text-base\x20univer-font-medium','slides-table-ui.editorToolbar.noBorder','extend-up','_editorUIService','clipboardData','_hasActiveStructuralControlState','textContent','onHorizontalAlign','bottom','floor','univer-mb-2\x20univer-text-xs\x20univer-text-gray-500','insertTableSnapshot','preferOffset','_previewCellDocument','_hideTableDesignTab','pageOffsetLeft','getViewport','controlButtonMode','groupId','tile','input','_tableThemes','operations','slide-table.menu.insert','endColumn','_handleDoubleClick','wrap','\x20×\x20','outerBorderColor','paragraphId','startsWith','getCellTextRect','startObjectLeft','slides-table-ui.editorToolbar.fontSize','currentOptions','setFallbackVisible','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','bandRow','UNSPECIFIED','rows','bestMatch','target','composition','#5f6368','table-cell','_table','horizontal','univer-pointer-events-auto','_transformerVisibilityService','univer-grid\x20univer-grid-cols-5\x20univer-gap-1','icon','stops','slides-table-ui.editorToolbar.fontFamily','canvas','slides-table-ui.mobile.close','beginPath','_updateStructuralControlHover','_drawSelection','pageOffsetTop','lineTo','alignLeft','_bindRangeDragWindowEvents','slide-table.operation.align-middle','add','unitId','Solid','RightInsertColumnDoubleIcon','GROUP','fillRect','startPoint','setTableSelection','invert','ARROW_LEFT','SLIDE_TABLE_CELL_','primary.600','indexOf','verticalAlign','aba','getInverseCoord','ArrowRight','_pendingHeaderSelection','value','next','enabled$','observe','slides-table-ui.editorToolbar.border','executeCommand','SUBITEMS','_handler','clientX','length','fill','slides-table-ui.ribbon.text','slide.operation.slide-table-delete-columns','rowspan=\x22','registerRenderModule','_resolveEditorLayout','_finishRangeDrag','theme-preview','outerBorderRadius','objectKey','translate','_drawInsertDots','getDrawingByParam','_finishTableMoveDrag','ARROW_UP','isHit','pages','function','moveTo','label','compositionstart','ghost','_univerInstanceService','LAYOUT','sessionId','univer-appearance-none\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20active:univer-bg-primary-50','slide-table-floating-toolbar','univer-w-28','transform','_handleCellEditorPointerDown','setInputHandler','stretch','_selectColumns','1.0.2','_drawStructuralHeaderRect','setContextValue','setResizeBoundary','tables','updateControl','rowSpan','_insertService','toggle','red.100','UUID','set','_zoom','ribbon-text-background','resolved','slides-table-ui.ribbon.arrangeForward','slide.operation.slide-table-copy-table','classType','distribute-rows','table-handle','onToggleStyle','slides-table-ui.editorToolbar.borderPresetOuter','asc','startColumn','setEditingCell','dot','fontSize','descriptor','slides-table-ui.ribbon.styles-control','UNIVER_SLIDE','selectedStructuralRange','mergeState','fillStyle','dropdown','_resolveInsertDotAtScenePoint','univer-grid-cols-4','yellow.700','ARROW_RIGHT','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','_handleResizePointerDown','green.100','_setTableCellHover','4\x203','_startSelectionHandleDrag','draw','_initCommands','zIndex','rowDelta','textColor','_layoutRevision','slides-table-ui.shapePanel.fill.gradientFill','_startTableMoveDrag','viewportScrollY','_alignmentGuideService','deleteColumns','MergeCells','univer-text-xs','divides','<','_finishResizeDrag','column','stopTextSelectionDrag','_resolveInsertDotTriggerForObject','action','hidden','univer-flex\x20univer-items-center\x20univer-gap-1','DistributeRows','pageWidth','Table','crossOrigin','_ownsStructuralCursor','showOptions','light','fallbackImageHeight','univer-h-11\x20univer-min-w-0\x20univer-flex-1\x20univer-text-sm','elementIdMap','isFinite','var(--univer-primary-600)','FALSE','registerShortcut','cells','univer-h-12','univer-h-12\x20univer-w-full','primary.100','tableBorderColor','textBackground','model','pointercancel','clearSelectedObjects','_shouldHideCellTextForEditor','disposeWithMe','_headerSelectionDragState','onPointerMove$','univer-border-primary-600\x20univer-bg-primary-50','slides-table-ui.editorToolbar.alignMiddle','_openSelectionEditor','DashDot','multiply','textFill','delete-rows','alignCenter','MoveUpIcon','shadowOffsetY','_resetResizeCursor','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20hover:univer-text-primary-600\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','cacheKey','dataStream','_drawTableOutline','_resolveCurrentTableDrawing','Middle','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','_resolvePictureFill','_editorSessionId','slides-table-ui.editorToolbar.textFormat','_initNativeInputListeners','measurement','svg','_requestedHeight','_resolveActiveSelectionForKeyboard','slide.menu.insert.table','anonymous','drawing','toLowerCase','hitTestCellAtScenePoint','verticalAlignOptions','onChangeOptions','reverse','_resolveTableTriggerHit','slides-table-ui.editorToolbar.strikethrough','tab-forward','onload','filter','getId','univer-mb-2\x20univer-flex\x20univer-items-center\x20univer-justify-between','shift-arrow-right','_buildActiveTableTriggers','slide.operation.slide-table-insert-column-right','children','editor','nestingLevel','25NeKHjD','move-up','univer-grid\x20univer-gap-1','titleRow','slides-table-ui.editorToolbar.borderStyleDot','parseInt','setCursor','_getDependencies','#d8e8ff','signature','paste','childUnitId','getActualSize','slides-table-ui.editorToolbar.increaseFontSize','DeleteColumns','_resizeDragContext','#0b57d0','_isExternalDrawingSelection','onSelect','diamond','#1F1F1F','compositionend','red.600','canHandleNativeInput','border','_tableThemePalette','slide-table-floating-toolbar-popup','span','sequenceFrame','vMerge','getEnabled','find','_themeService','setTable','delete-table','linear','insert-column-right','ancestorTransform','hostUnitId','_imageNativeCache','textRuns','_resolveTableObjectFromContext','listType','startTransform','<table><colgroup>','_slideDrawingStateService','_resolveSelectedTableDrawing','widthClassName','onPointerDown$','column-insert-dot','_startStage1TableBodyPointer','insert-row-above','slides-table-ui.ribbon.styles','table-theme','onStarting','left','nativeEvent','_tableDesignVisible','borderColor','bounds','defaultPrevented','univer-grid\x20univer-grid-cols-3\x20univer-gap-2','tableIdByElementId','visible$','_rowColumnMoveState','range','boundaryIndex','right','_tableInternalInteractionUntil','picture','bucket','slides-table-ui.editorToolbar.tableBorderColor','slide-table.operation.arrange-front','univer-max-h-[420px]\x20univer-w-[420px]','replace','_activeEditorContextKey','fallbackImageWidth','hitTestHandle','getActiveViewportByCoord','univer-h-12\x20univer-text-lg','convert','region','currentStyleId','type','slides-table-ui.editorToolbar.alignBottom','editable','alpha','querySelector','click','isComposing','setCellStyle','borderPresetAll','CancelMergeIcon','FOCUSING_SLIDE_TABLE','slides-table-ui.mobile.edit','session$','_drawingStateService','createRadialGradient','hypot','</colgroup><tbody>','getConnectionSites','min','hMerge','7400YUsRYW','DeleteColumnDoubleIcon','getImageSourceCache','COLUMN_RESIZE','slides-table-ui.editorToolbar.bulletList','_handleClipboardCut','univer-absolute\x20univer-right-0.5\x20univer-top-0.5\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-primary-600\x20univer-text-gray-0\x20univer-shadow-sm\x20rtl:univer-left-0.5\x20rtl:univer-right-auto','clickFallbackTimer','styleId','isNaN','_drawStructuralHeaders','_configService','pptxTable','background-color:\x20','_iconManager','strokeWidth','row','Outer','getResource','clientY','_initShortcuts','_enabled','size','POINTER','quadraticCurveTo','extend','_renderManagerService','position','columnSpan','font','67820kinfXx','parseFromString','_ribbonService','markTableInternalInteraction','viewportHeight','_startSelectionRangeDrag','setPreviewTable','MIDDLE','tableBackgroundColor','roundRect','_shouldDrawInsertDots','_drawGuideLine','viewBound','_getHandles','_isTextEditing','unmergeCells','compact','onTransformChange$','_hitTestService','innerWidth','slides-table-ui.editorToolbar.firstColumn','pasteStandard','_resolveScenePoint','targetUnitId','forEach','univer-mt-4\x20univer-text-xl\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','triggerContextMenu','slides-table-ui.mobile.expand','<tr','end','univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-border-gray-300\x20dark:!univer-border-gray-600','textStyle','_controlButtonMode','_setTableObjectKeyboardFocus','insideV','univer-grid\x20univer-h-11\x20univer-w-full\x20univer-grid-cols-5\x20univer-overflow-hidden\x20univer-rounded-sm','univer-block\x20univer-w-5\x20univer-rounded-full\x20univer-bg-current','metaKey','_refreshRegistry','string','delta','rgba(0,\x200,\x200,\x200)','_isStructuralRangeSelected','getDrawingOrder','insertCompositionText','_updatePendingStage1TableDrag','max-content','params','margins','sourceType','drawImage','unmerge-cells','shadowColor','univer-flex\x20univer-h-8\x20univer-w-32\x20univer-items-center\x20univer-justify-start\x20univer-gap-2\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-px-2\x20univer-text-sm\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','findIndex','_isNonFullscreenFloatingEmbedChildSelection','DeleteIcon','_updateResizeDrag','unshift','_resolveTablePoint','_hideTableTransformerControls','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','_imageLoadSubscriptions','slides-table-ui.table-design.styles-control','glyphGroup','current','</tr>','slides-table-ui.editorToolbar.italic','slides-table-ui.editorToolbar.textBackgroundColor','#E8F1FF','DistributeColumns','slides-table-ui.contextMenu.deleteTable','cellByOrigin','>','vertical','tableThemePalette','_isTableTextEditing','_getTextRenderCache','stage2','textFormat','_embedMountService','mode','rgb','tableThemes','_shouldDrawControls','_openCellEditor','_handleClipboardPaste','purple.600','_renderContext','_retainActiveCellEditor','kind','univer-cursor-pointer\x20univer-border\x20univer-border-solid\x20univer-p-0\x20univer-transition-colors','_setResizeCursor','insertTable','delete','4\x202\x201\x202','resources','enterTextMode','_fallbackVisible$','slides-table-ui.ribbon.text-control','activationStage','lastPoint','button','slides-table-ui.contextMenu.insertColumnRight','univer-flex\x20univer-items-center\x20univer-justify-center','_handleSceneDoubleClick','_tableSelectionService','remove','subscribe','arrow-up','getVisible','pendingTable','univer-p-3','clip','firstCol','OVERFLOW','move-left','_buildSelection','univer-flex\x20univer-flex-col\x20univer-text-gray-900\x20dark:!univer-text-gray-100','_scheduleWireResizeObjects','Vertical','files','colSpan','render','textBackgroundColor','slides-table-ui.insertToolbar.table','blue.100','updateTable','restore','setLocaleService','lines','_inputHandler','1\x203','back','_configureSelectionControls','stroke','direction$','univer-size-3','slides-table-ui.contextMenu.insertRowAbove','create','colspan=\x22','custom','_isStructuralHeaderHovered','deleteRows','setTableCellHover','_cancelTableMoveDrag','border-','_handleStructuralInsertTrigger','Picture','_pendingStage1TableDragContext','selectRows','onPointerCancel$','univer-w-full','#111827','_contextService','FOCUSING_SLIDE_TABLE_OBJECT','slide-table.operation.align-right','_handleSelectedTableBodyPointer','cellAtPosition','7yqohNM','hostAnchorId','setCollapsedIds','radial','slide-table.operation.background-color-','_drawCellHover','_updateTableMoveDrag','slide.operation.slide-table-insert-column-left','_keyboardService','close','_enabled$','element','tablist','endRow','preventDefault','horizontalAlign','_clearStructuralInsertHoverObject','slides-table-ui.editorToolbar.underline','blue.600','slides-table-ui.contextMenu.insertRowBelow','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-11\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','scaleX','_isActiveOuterChromeHit','slides-table-ui.editorToolbar.alignRight','reduce','_selectResolvedCell','_prepareResizeSelection','packageName','subscribeEvent','object','_resolveCellDocumentData','slide-table.operation.border-inner','startIndex','&','flipX','univer-truncate','beforeinput','_isActiveFloatingEmbedHostSelection','enabled'];_0x236d=function(){return _0x136858;};return _0x236d();}function Da(_0x7ee4bd,_0x3e1bec){const _0x27eba0=_0x5defcf;return{'id':_0x7ee4bd,'title':_0x3e1bec[_0x27eba0(0x329)],'type':_0x49d1ef[_0x27eba0(0x253)],'handler':_0x171885=>{const _0x527ead=_0x27eba0;let _0x29a1f7=Sa(_0x171885[_0x527ead(0x621)](J));if(!_0x29a1f7)return!0x1;let _0x34ce47=_0x171885['get'](_0x161eee)['getTable'](_0x29a1f7[_0x527ead(0x379)],_0x29a1f7[_0x527ead(0x6a7)]);return _0x34ce47?_0x171885[_0x527ead(0x621)](_0x51671c)[_0x527ead(0x38f)](_0x296a89['id'],{'unitId':_0x29a1f7[_0x527ead(0x379)],'tableId':_0x29a1f7['tableId'],'patch':hi(_0x34ce47,_0x29a1f7[_0x527ead(0x483)],ka(_0x171885,_0x3e1bec[_0x527ead(0x1e2)]))}):!0x1;}};}function Oa(_0x2f316e,_0x137d83){const _0x3f0b87=_0x5defcf;return{'id':_0x2f316e,'title':_0x137d83[_0x3f0b87(0x329)],'type':_0x49d1ef['OPERATION'],'handler':_0xfb420b=>{const _0x5b3b26=_0x3f0b87;let _0x8c872a=Sa(_0xfb420b[_0x5b3b26(0x621)](J));if(!_0x8c872a)return!0x1;let _0xc554a9=_0xfb420b['get'](_0x161eee)[_0x5b3b26(0x2aa)](_0x8c872a[_0x5b3b26(0x379)],_0x8c872a[_0x5b3b26(0x6a7)]);return _0xc554a9?_0xfb420b['get'](_0x51671c)[_0x5b3b26(0x38f)](_0x296a89['id'],{'unitId':_0x8c872a[_0x5b3b26(0x379)],'tableId':_0x8c872a['tableId'],'patch':_i(_0xc554a9,_0x8c872a[_0x5b3b26(0x483)],ka(_0xfb420b,_0x137d83[_0x5b3b26(0x1e2)]))}):!0x1;}};}function ka(_0x2a8214,_0x4918d4){const _0x238de9=_0x5defcf;if(!_0x4918d4)return;let _0x45ad0b=_0x2a8214[_0x238de9(0x621)](_0x59fee4);return _0x45ad0b[_0x238de9(0x1bd)](_0x4918d4)?_0x45ad0b['getColorFromTheme'](_0x4918d4):_0x4918d4;}function Aa(_0x449922){const _0x3564ea=_0x5defcf;let _0x2b1b45=_0x449922[_0x3564ea(0x621)](J)['getSelection'](),_0x2fa85a=Z(_0x2b1b45);return Ci(_0x2b1b45,_0x2fa85a?_0x449922[_0x3564ea(0x621)](_0x161eee)[_0x3564ea(0x2aa)](_0x2fa85a['unitId'],_0x2fa85a[_0x3564ea(0x6a7)]):null);}function ja(_0x5d5b7d){const _0x3d4e04=_0x5defcf;let _0x3f6006=_0x5d5b7d[_0x3d4e04(0x621)](J)[_0x3d4e04(0x1cf)](),_0x1447a1=Z(_0x3f6006);return wi(_0x1447a1?_0x5d5b7d[_0x3d4e04(0x621)](_0x161eee)[_0x3d4e04(0x2aa)](_0x1447a1[_0x3d4e04(0x379)],_0x1447a1['tableId']):null,_0x3f6006);}function Ma(_0x47f3c7){const _0x181803=_0x5defcf;let _0xcf7fe0=_0x47f3c7[_0x181803(0x621)](J)[_0x181803(0x1cf)](),_0x1c0755=Z(_0xcf7fe0);return Ti(_0x1c0755?_0x47f3c7[_0x181803(0x621)](_0x161eee)['getTable'](_0x1c0755['unitId'],_0x1c0755[_0x181803(0x6a7)]):null,_0xcf7fe0);}function Na(_0x242d19){const _0x26af5a=_0x5defcf;let _0x3aabe8=_0x242d19[_0x26af5a(0x621)](J)['getSelection'](),_0x1649fe=Z(_0x3aabe8);return Ei(_0x1649fe?_0x242d19[_0x26af5a(0x621)](_0x161eee)['getTable'](_0x1649fe[_0x26af5a(0x379)],_0x1649fe[_0x26af5a(0x6a7)]):null,_0x3aabe8);}function Pa(_0x21934c){const _0xdb5567=_0x5defcf;let _0x19765d=_0x21934c['get'](J)['getSelection'](),_0x436e43=Z(_0x19765d);return Di(_0x436e43?_0x21934c['get'](_0x161eee)[_0xdb5567(0x2aa)](_0x436e43[_0xdb5567(0x379)],_0x436e43[_0xdb5567(0x6a7)]):null,_0x19765d);}function Fa(_0x3388a5){const _0x5294f6=_0x5defcf;let _0x2d84f0=_0x3388a5[_0x5294f6(0x621)](J)[_0x5294f6(0x1cf)](),_0x2ee4e5=Z(_0x2d84f0);return Oi(_0x2ee4e5?_0x3388a5[_0x5294f6(0x621)](_0x161eee)['getTable'](_0x2ee4e5[_0x5294f6(0x379)],_0x2ee4e5['tableId']):null,_0x2d84f0);}function Ia(_0x5d7f41){const _0x5967f8=_0x5defcf;return _0x5d7f41[_0x5967f8(0x26c)]['length']===0x1&&!_0x5d7f41[_0x5967f8(0x310)]&&!_0x5d7f41['ctrlKey']&&!_0x5d7f41[_0x5967f8(0x4ec)];}function La(_0x359efa){const _0x466ff5=_0x5defcf;return _0x359efa===_0x466ff5(0x2a2)||_0x359efa===_0x466ff5(0x4f3);}function Ra(_0x247b4d){const _0x47dd94=_0x5defcf;if(typeof HTMLElement>'u'||!(_0x247b4d instanceof HTMLElement))return!0x1;let _0x456b9a=_0x247b4d[_0x47dd94(0x67e)][_0x47dd94(0x430)]();return _0x456b9a===_0x47dd94(0x34d)||_0x456b9a==='textarea'||_0x456b9a===_0x47dd94(0x2e4)||Ba(_0x247b4d);}function za(_0x1ed613){const _0x23e2c6=_0x5defcf;return typeof HTMLElement>'u'||!(_0x1ed613 instanceof HTMLElement)||!Ba(_0x1ed613)?!0x1:_0x1ed613[_0x23e2c6(0x6b1)][_0x23e2c6(0x2b8)]===_0x23e2c6(0x440)||_0x1ed613['id']['startsWith'](_0x23e2c6(0x632));}function Ba(_0x56093b){const _0x543600=_0x5defcf;return _0x56093b[_0x543600(0x6c4)]||_0x56093b[_0x543600(0x671)](_0x543600(0x2ea))==='true';}var Va=class extends _0x5c53fd{constructor(){const _0x1c8cf9=_0x5defcf;super(),q(this,_0x1c8cf9(0x391),null),q(this,'_inputHandler',null),this[_0x1c8cf9(0x428)]();}[_0x5defcf(0x23c)](_0x3515b3){return this['_handler']=_0x3515b3,_0x2123f0(()=>{const _0x15f17d=_0x428e;this['_handler']===_0x3515b3&&(this[_0x15f17d(0x391)]=null);});}[_0x5defcf(0x3b2)](_0x788c99){const _0x6f0d8=_0x5defcf;return this[_0x6f0d8(0x54a)]=_0x788c99,_0x2123f0(()=>{const _0x4a27ed=_0x6f0d8;this[_0x4a27ed(0x54a)]===_0x788c99&&(this[_0x4a27ed(0x54a)]=null);});}[_0x5defcf(0x2dc)](_0x14e997){const _0x5bb572=_0x5defcf;var _0x38294c;return((_0x38294c=this[_0x5bb572(0x391)])==null?void 0x0:_0x38294c[_0x5bb572(0x283)](this,_0x14e997))??!0x1;}[_0x5defcf(0x6df)](_0x5246a4){const _0x4e11b9=_0x5defcf;var _0x5c1971;return((_0x5c1971=this[_0x4e11b9(0x54a)])==null?void 0x0:_0x5c1971[_0x4e11b9(0x283)](this,_0x5246a4))??!0x1;}[_0x5defcf(0x428)](){const _0xbf675e=_0x5defcf;if(typeof document>'u')return;let _0x109f07=_0xf4b845=>{const _0x1ea4e5=_0x428e;this[_0x1ea4e5(0x459)](_0xf4b845)&&!_0xf4b845[_0x1ea4e5(0x49b)]&&Ia(_0xf4b845)&&this[_0x1ea4e5(0x6df)]({'kind':_0x1ea4e5(0x590),'text':_0xf4b845['key']})&&(_0xf4b845[_0x1ea4e5(0x574)](),_0xf4b845[_0x1ea4e5(0x724)]());},_0x3c5d32=_0x4ff3e0=>{const _0x21589e=_0x428e;this['canHandleNativeInput'](_0x4ff3e0)&&_0x4ff3e0['data']&&La(_0x4ff3e0[_0x21589e(0x6f8)])&&this[_0x21589e(0x6df)]({'kind':_0x21589e(0x590),'text':_0x4ff3e0['data']})&&(_0x4ff3e0['preventDefault'](),_0x4ff3e0[_0x21589e(0x724)]());},_0x165308=_0x2118e4=>{const _0x46c4e8=_0x428e;this[_0x46c4e8(0x459)](_0x2118e4,{'allowDocsEditor':!0x0})&&this['handleInput']({'kind':'composition-start'});},_0x49d859=_0x37ebfa=>{const _0x5b70f8=_0x428e;this[_0x5b70f8(0x459)](_0x37ebfa)&&_0x37ebfa['data']&&this[_0x5b70f8(0x6df)]({'kind':_0x5b70f8(0x363),'text':_0x37ebfa['data']})&&(_0x37ebfa['preventDefault'](),_0x37ebfa[_0x5b70f8(0x724)]());};document[_0xbf675e(0x63c)](_0xbf675e(0x705),_0x109f07,!0x0),document[_0xbf675e(0x63c)](_0xbf675e(0x58a),_0x3c5d32,!0x0),document['addEventListener'](_0xbf675e(0x3a8),_0x165308,!0x0),document[_0xbf675e(0x63c)]('compositionend',_0x49d859,!0x0),this[_0xbf675e(0x40f)](_0x2123f0(()=>{const _0x14f0c5=_0xbf675e;document[_0x14f0c5(0x688)](_0x14f0c5(0x705),_0x109f07,!0x0),document[_0x14f0c5(0x688)]('beforeinput',_0x3c5d32,!0x0),document[_0x14f0c5(0x688)](_0x14f0c5(0x3a8),_0x165308,!0x0),document[_0x14f0c5(0x688)](_0x14f0c5(0x457),_0x49d859,!0x0);}));}};function Q(_0xce50cb,_0x4f89db){return function(_0x217351,_0x5a062c){_0x4f89db(_0x217351,_0x5a062c,_0xce50cb);};}function Ha(_0x29a80f,_0x36711c,_0xadede6,_0xe35ed2){const _0x1e44fc=_0x5defcf;var _0x580dff=arguments[_0x1e44fc(0x393)],_0x25cf70=_0x580dff<0x3?_0x36711c:_0xe35ed2===null?_0xe35ed2=Object[_0x1e44fc(0x71e)](_0x36711c,_0xadede6):_0xe35ed2,_0x58fa36;if(typeof Reflect==_0x1e44fc(0x583)&&typeof Reflect[_0x1e44fc(0x6c0)]==_0x1e44fc(0x3a5))_0x25cf70=Reflect[_0x1e44fc(0x6c0)](_0x29a80f,_0x36711c,_0xadede6,_0xe35ed2);else{for(var _0x4e56f5=_0x29a80f[_0x1e44fc(0x393)]-0x1;_0x4e56f5>=0x0;_0x4e56f5--)(_0x58fa36=_0x29a80f[_0x4e56f5])&&(_0x25cf70=(_0x580dff<0x3?_0x58fa36(_0x25cf70):_0x580dff>0x3?_0x58fa36(_0x36711c,_0xadede6,_0x25cf70):_0x58fa36(_0x36711c,_0xadede6))||_0x25cf70);}return _0x580dff>0x3&&_0x25cf70&&Object[_0x1e44fc(0x1c0)](_0x36711c,_0xadede6,_0x25cf70),_0x25cf70;}let Ua=class extends Va{constructor(_0x2ae018){const _0x398336=_0x5defcf;super(),this[_0x398336(0x561)]=_0x2ae018;}[_0x5defcf(0x459)](_0xcee0e8,_0x5145b6){const _0x131578=_0x5defcf;return!this[_0x131578(0x561)][_0x131578(0x5ac)](_0x1e26ef)||!this[_0x131578(0x561)][_0x131578(0x5ac)](_0x131578(0x49f))?!0x1:_0x5145b6!=null&&_0x5145b6[_0x131578(0x2ff)]&&za(_0xcee0e8[_0x131578(0x362)])?!0x0:!Ra(_0xcee0e8[_0x131578(0x362)]);}};Ua=Ha([Q(0x0,_0x47d445)],Ua);const Wa=[{'key':'arrow-left','action':_0x5defcf(0x53b)},{'key':_0x5defcf(0x631),'action':'move-right'},{'key':_0x5defcf(0x534),'action':_0x5defcf(0x443)},{'key':_0x5defcf(0x2fd),'action':_0x5defcf(0x71f)},{'key':'shift-arrow-left','action':_0x5defcf(0x5a2)},{'key':_0x5defcf(0x43c),'action':_0x5defcf(0x2f6)},{'key':_0x5defcf(0x26e),'action':_0x5defcf(0x33b)},{'key':_0x5defcf(0x5f7),'action':'extend-down'},{'key':_0x5defcf(0x6c1),'action':_0x5defcf(0x437)},{'key':_0x5defcf(0x22f),'action':_0x5defcf(0x293)},{'key':_0x5defcf(0x1a4),'action':_0x5defcf(0x316)},{'key':'f2','action':'edit-cell'},{'key':_0x5defcf(0x525),'action':'clear-cells'},{'key':_0x5defcf(0x249),'action':_0x5defcf(0x1e8)}];function Ga(_0x448ecd){const _0x1ac9b6=_0x5defcf;return Wa[_0x1ac9b6(0x295)](_0x190a11=>({'action':_0x190a11[_0x1ac9b6(0x3f4)],'binding':_0x448ecd[_0x190a11[_0x1ac9b6(0x26c)]]}));}function Ka(_0x1038e4){const _0x552627=_0x5defcf;switch(_0x1038e4){case _0x552627(0x53b):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1};case _0x552627(0x5e3):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1};case _0x552627(0x443):return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x1};case _0x552627(0x71f):return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x1};case _0x552627(0x5a2):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x0};case _0x552627(0x2f6):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x0};case _0x552627(0x33b):return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x0};case'extend-down':return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x0};case _0x552627(0x437):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1,'wrap':!0x0};case _0x552627(0x293):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1,'wrap':!0x0};default:return null;}}function qa(_0x3a011a,_0x115129,_0x134965,_0x5280e9){const _0x343857=_0x5defcf;return _0x115129['wrap']?Ya(_0x3a011a,_0x115129,_0x134965,_0x5280e9):{'row':Math['min'](Math[_0x343857(0x6bf)](0x0,_0x3a011a[_0x343857(0x4b9)]+_0x115129[_0x343857(0x3e4)]),Math[_0x343857(0x6bf)](0x0,_0x134965-0x1)),'column':Math[_0x343857(0x4a7)](Math[_0x343857(0x6bf)](0x0,_0x3a011a['column']+_0x115129[_0x343857(0x5b0)]),Math[_0x343857(0x6bf)](0x0,_0x5280e9-0x1))};}function Ja(_0x2b2bfd,_0x485168,_0x25e03a){const _0x911264=_0x5defcf;let _0xe3a1d7=Math[_0x911264(0x6bf)](0x1,_0x485168),_0x59b658=Math[_0x911264(0x6bf)](0x1,_0x25e03a),_0x3b539b=_0x2b2bfd[_0x911264(0x4b9)]*_0x59b658+_0x2b2bfd[_0x911264(0x3f1)],_0x2c132c=_0xe3a1d7*_0x59b658-0x1,_0x4d0058=Math[_0x911264(0x4a7)](_0x2c132c,Math[_0x911264(0x6bf)](0x0,_0x3b539b));return{'row':Math[_0x911264(0x342)](_0x4d0058/_0x59b658),'column':_0x4d0058%_0x59b658};}function Ya(_0x23af6d,_0x4da929,_0x375e0b,_0xd4a55b){const _0x36f765=_0x5defcf;let _0x1a29a4=Math[_0x36f765(0x6bf)](0x1,_0x375e0b),_0x3fe9a6=Math[_0x36f765(0x6bf)](0x1,_0xd4a55b);if(_0x4da929[_0x36f765(0x5b0)]!==0x0&&_0x4da929[_0x36f765(0x3e4)]===0x0){let _0x413c24=_0x1a29a4*_0x3fe9a6,_0x52b550=Ja(_0x23af6d,_0x1a29a4,_0x3fe9a6),_0x5a1a50=Xa(_0x52b550[_0x36f765(0x4b9)]*_0x3fe9a6+_0x52b550['column']+_0x4da929[_0x36f765(0x5b0)],_0x413c24);return{'row':Math['floor'](_0x5a1a50/_0x3fe9a6),'column':_0x5a1a50%_0x3fe9a6};}return{'row':Xa(_0x23af6d[_0x36f765(0x4b9)]+_0x4da929[_0x36f765(0x3e4)],_0x1a29a4),'column':Xa(_0x23af6d['column']+_0x4da929[_0x36f765(0x5b0)],_0x3fe9a6)};}function Xa(_0x25f410,_0x1e6e60){return(_0x25f410%_0x1e6e60+_0x1e6e60)%_0x1e6e60;}const Za={'id':_0x5defcf(0x1e5),'type':_0x49d1ef[_0x5defcf(0x253)],'handler':(_0x57d112,_0x313864)=>_0x313864!=null&&_0x313864['action']?_0x57d112[_0x5defcf(0x621)](Ua)['handle'](_0x313864[_0x5defcf(0x3f4)]):!0x1},Qa=[Za],$a=Ga({'arrow-left':_0x4d163f['ARROW_LEFT'],'arrow-right':_0x4d163f[_0x5defcf(0x3da)],'arrow-up':_0x4d163f[_0x5defcf(0x3a2)],'arrow-down':_0x4d163f[_0x5defcf(0x67c)],'shift-arrow-left':_0x4d163f[_0x5defcf(0x381)]|_0x25ec42[_0x5defcf(0x5e5)],'shift-arrow-right':_0x4d163f[_0x5defcf(0x3da)]|_0x25ec42[_0x5defcf(0x5e5)],'shift-arrow-up':_0x4d163f[_0x5defcf(0x3a2)]|_0x25ec42['SHIFT'],'shift-arrow-down':_0x4d163f['ARROW_DOWN']|_0x25ec42[_0x5defcf(0x5e5)],'tab':_0x4d163f['TAB'],'shift-tab':_0x4d163f[_0x5defcf(0x650)]|_0x25ec42[_0x5defcf(0x5e5)],'enter':_0x4d163f['ENTER'],'f2':_0x4d163f['F2'],'delete':_0x4d163f[_0x5defcf(0x28d)],'backspace':_0x4d163f[_0x5defcf(0x2b4)]})['map'](({binding:_0x25dfba,action:_0x375869})=>to(_0x25dfba,_0x375869)),eo=[_0x4d163f[_0x5defcf(0x28d)],_0x4d163f[_0x5defcf(0x2b4)]][_0x5defcf(0x295)](_0x496d16=>({'id':ra['id'],'binding':_0x496d16,'priority':0x82,'preconditions':ro}));function to(_0x13cc7a,_0x244191){return{'id':Za['id'],'binding':_0x13cc7a,'priority':0x82,'preconditions':no,'staticParameters':{'action':_0x244191}};}function no(_0x16f6a1){const _0x1c37dc=_0x5defcf;return!!(_0x16f6a1[_0x1c37dc(0x5ac)](_0x1e26ef)&&_0x16f6a1[_0x1c37dc(0x5ac)](_0x1c37dc(0x49f)));}function ro(_0x3ae099){const _0x463e6f=_0x5defcf;return!!(_0x3ae099[_0x463e6f(0x5ac)](_0x1e26ef)&&_0x3ae099['getContextValue'](_0x5ab81f)&&_0x3ae099[_0x463e6f(0x5ac)](_0x463e6f(0x562))&&!_0x3ae099[_0x463e6f(0x5ac)](_0x5ec236));}const io=_0x5defcf(0x257);function ao(_0x40d8fb,_0x4b4245,_0x5bed34){const _0x30c786=_0x5defcf;return Number[_0x30c786(0x401)](_0x40d8fb)?Math[_0x30c786(0x4a7)](Math[_0x30c786(0x6bf)](Math[_0x30c786(0x342)](_0x40d8fb),_0x4b4245),_0x5bed34):_0x4b4245;}function oo(_0x41ca1d){const _0x4a7584=_0x5defcf;let {initialRows:_0x3e8691=0x3,initialColumns:_0x316ad9=0x5,maxGridRows:_0x3a742d=0xa,maxGridColumns:_0xa4cdc8=0xe,minRows:_0x51e1f2=0x1,minColumns:_0x3423bd=0x1,maxRows:_0x2029cb=0x32,maxColumns:_0x392713=0x32,variant:_0x5b2260=_0x4a7584(0x698),direction:_0x2440aa=_0x4a7584(0x62c),title:_0x147f27,confirmAction:_0x26d91='insert',onConfirm:_0x536221}=_0x41ca1d,_0x5bf7d7=_0x41e5c1(_0x494027),[_0x13de74,_0x46482a]=_0x504879(()=>ao(_0x3e8691,_0x51e1f2,_0x2029cb)),[_0x14f541,_0x8f9413]=_0x504879(()=>ao(_0x316ad9,_0x3423bd,_0x392713)),[_0x380a44,_0x3cb536]=_0x504879(null);return{'localeService':_0x5bf7d7,'direction':_0x2440aa,'title':_0x147f27,'confirmAction':_0x26d91,'rows':_0x13de74,'columns':_0x14f541,'minRows':_0x51e1f2,'minColumns':_0x3423bd,'maxRows':_0x2029cb,'maxColumns':_0x392713,'maxGridRows':_0x3a742d,'maxGridColumns':_0xa4cdc8,'setRows':_0x46482a,'setColumns':_0x8f9413,'hoverSize':_0x380a44,'setHoverSize':_0x3cb536,'selectedRows':(_0x380a44==null?void 0x0:_0x380a44[_0x4a7584(0x360)])??_0x13de74,'selectedColumns':(_0x380a44==null?void 0x0:_0x380a44[_0x4a7584(0x5ca)])??_0x14f541,'isDropdown':_0x5b2260==='dropdown','updateRows':_0x377d2d=>_0x46482a(ao(_0x377d2d,_0x51e1f2,_0x2029cb)),'updateColumns':_0x50d1e4=>_0x8f9413(ao(_0x50d1e4,_0x3423bd,_0x392713)),'handleConfirm':()=>_0x536221({'rows':_0x13de74,'columns':_0x14f541}),'onConfirm':_0x536221};}function so(_0x294eb7){const _0x57081a=_0x5defcf;let {localeService:_0x3cab7d,direction:_0x59435d,title:_0x20ea11,confirmAction:_0x3d8ab0,rows:_0x2f132e,columns:_0x5b4b36,minRows:_0x1e1a2d,minColumns:_0x9ba26e,maxRows:_0x4c8400,maxColumns:_0x2cea41,maxGridRows:_0x17704c,maxGridColumns:_0x3de7cc,setHoverSize:_0x1628d7,selectedRows:_0x261a96,selectedColumns:_0x40ae45,isDropdown:_0x19a8a7,updateRows:_0x1a1bbe,updateColumns:_0x1ff051,handleConfirm:_0x129771,onConfirm:_0x140a48}=oo(_0x294eb7),_0x243190=_0x2e7821=>_0x455c20(_0x57081a(0x2cb),{'className':_0x2e7821?_0x57081a(0x31c):_0x57081a(0x444),'style':{'gridTemplateColumns':'repeat('+_0x3de7cc+',\x20minmax(0,\x201fr))'},'children':Array['from']({'length':_0x17704c})['map']((_0x396796,_0x50d0ed)=>Array[_0x57081a(0x684)]({'length':_0x3de7cc})['map']((_0x5a7d25,_0x5c39b9)=>{const _0x5deb41=_0x57081a;let _0x39fa52=_0x50d0ed+0x1,_0x2abbb8=_0x5c39b9+0x1,_0x3731dd=_0x39fa52<=_0x261a96&&_0x2abbb8<=_0x40ae45;return _0x455c20(_0x5deb41(0x52d),{'type':_0x5deb41(0x52d),'aria-label':_0x2abbb8+'\x20x\x20'+_0x39fa52,'data-selected':_0x3731dd,'className':_0x34395c(_0x5deb41(0x522),_0x2e7821?_0x5deb41(0x1ce):'univer-size-5\x20univer-rounded',_0x3731dd?_0x2e7821?_0x5deb41(0x6b7):_0x5deb41(0x1f7):_0x5deb41(0x66d),!_0x2e7821&&_0x5deb41(0x200)),'onMouseEnter':()=>_0x1628d7({'rows':_0x39fa52,'columns':_0x2abbb8}),'onFocus':()=>_0x1628d7({'rows':_0x39fa52,'columns':_0x2abbb8}),'onClick':()=>_0x140a48({'rows':_0x39fa52,'columns':_0x2abbb8})},_0x39fa52+':'+_0x2abbb8);}))});return _0x19a8a7?_0x30f958(_0x57081a(0x70f),{'className':_0x57081a(0x318),'data-u-comp':'slide-table-size-picker','dir':_0x59435d,'onClick':_0x793ced=>_0x793ced[_0x57081a(0x724)](),'onMouseDown':_0x2fe391=>_0x2fe391[_0x57081a(0x724)](),'onMouseLeave':()=>_0x1628d7(null),'children':[_0x243190(!0x0),_0x30f958('div',{'dir':'ltr','className':_0x57081a(0x274),'children':[_0x40ae45,_0x57081a(0x354),_0x261a96]}),_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x65c),'children':[_0x455c20('div',{'className':_0x57081a(0x343),'children':_0x3cab7d['t'](_0x57081a(0x24b))}),_0x30f958('div',{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[_0x30f958(_0x57081a(0x3a7),{'className':_0x57081a(0x6a4),'children':[_0x455c20(_0x57081a(0x45d),{'children':_0x3cab7d['t'](_0x57081a(0x27b))}),_0x455c20(_0x39a1de,{'className':_0x57081a(0x55f),'min':_0x1e1a2d,'max':_0x4c8400,'precision':0x0,'value':_0x2f132e,'onChange':_0x39e7e5=>_0x1a1bbe(_0x39e7e5??_0x1e1a2d)})]}),_0x30f958(_0x57081a(0x3a7),{'className':_0x57081a(0x6a4),'children':[_0x455c20('span',{'children':_0x3cab7d['t'](_0x57081a(0x294))}),_0x455c20(_0x39a1de,{'className':_0x57081a(0x55f),'min':_0x9ba26e,'max':_0x2cea41,'precision':0x0,'value':_0x5b4b36,'onChange':_0x2d08d0=>_0x1ff051(_0x2d08d0??_0x9ba26e)})]}),_0x455c20(_0x186c8e,{'className':_0x57081a(0x32b),'variant':_0x57081a(0x324),'onClick':_0x129771,'children':_0x3cab7d['t'](_0x57081a(0x5fc)+_0x3d8ab0)})]})]})]}):_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x245),'data-u-comp':_0x57081a(0x264),'dir':_0x59435d,'onMouseLeave':()=>_0x1628d7(null),'children':[_0x20ea11&&_0x455c20(_0x57081a(0x2cb),{'className':_0x57081a(0x226),'children':_0x20ea11}),_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x319),'children':[_0x243190(!0x1),_0x30f958(_0x57081a(0x2cb),{'dir':_0x57081a(0x62c),'className':_0x57081a(0x4e0),'children':[_0x40ae45,_0x57081a(0x354),_0x261a96]})]}),_0x455c20(_0x103320,{}),_0x455c20(_0x57081a(0x2cb),{'className':_0x57081a(0x1a0),'children':_0x3cab7d['t']('slides-table-ui.tableSizePicker.customSize')}),_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x303),'children':[_0x30f958('label',{'className':'univer-block\x20univer-min-w-0','children':[_0x455c20(_0x57081a(0x45d),{'className':'univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','children':_0x3cab7d['t'](_0x57081a(0x27b))}),_0x455c20(_0x39a1de,{'className':'univer-w-full','min':_0x1e1a2d,'max':_0x4c8400,'precision':0x0,'value':_0x2f132e,'onChange':_0x281643=>_0x1a1bbe(_0x281643??_0x1e1a2d)})]}),_0x30f958(_0x57081a(0x3a7),{'className':_0x57081a(0x713),'children':[_0x455c20(_0x57081a(0x45d),{'className':_0x57081a(0x424),'children':_0x3cab7d['t'](_0x57081a(0x294))}),_0x455c20(_0x39a1de,{'className':_0x57081a(0x55f),'min':_0x9ba26e,'max':_0x2cea41,'precision':0x0,'value':_0x5b4b36,'onChange':_0x3bf6a9=>_0x1ff051(_0x3bf6a9??_0x9ba26e)})]})]}),_0x455c20(_0x186c8e,{'className':_0x57081a(0x5c3),'variant':_0x57081a(0x324),'onClick':_0x129771,'children':_0x3cab7d['t'](_0x57081a(0x5fc)+_0x3d8ab0)})]});}function co(_0x1d9d18,_0x217349,_0x224382,_0x3b34fd,_0x8d02b4,_0x570fbf){const _0x4e2475=_0x5defcf;return{'id':_0x4e2475(0x257),'title':{'title':_0x1d9d18},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x0,'children':{'label':{'name':io,'props':{'unitId':_0x217349,'tableId':_0x224382,'initialRows':_0x3b34fd,'initialColumns':_0x8d02b4,'title':_0x1d9d18,'onClose':_0x570fbf}}},'onClose':_0x570fbf};}function lo({PickerComponent:_0x5334dc=so,..._0x15938b}){const _0x17c851=_0x5defcf;let {initialColumns:_0x2009e2,initialRows:_0xd61d0d,onClose:_0x3d7f5d,tableId:_0x5ad45e,title:_0x1cf0df,unitId:_0xa6a2b6}=_0x15938b,_0x56dca8=_0x41e5c1(_0x494027),_0x3d322b=_0x45a1ca(_0x56dca8[_0x17c851(0x54f)],_0x56dca8[_0x17c851(0x5b4)]()),_0x304647=_0x41e5c1(_0x51671c),_0x24829b=_0x41e5c1(_0x161eee);return _0x455c20('div',{'className':_0x17c851(0x537),'data-u-comp':_0x17c851(0x1af),'children':_0x455c20(_0x5334dc,{'initialRows':_0xd61d0d,'initialColumns':_0x2009e2,'direction':_0x3d322b,'title':_0x1cf0df,'confirmAction':_0x17c851(0x2b0),'onConfirm':async _0x12e6f0=>{const _0x3e17c9=_0x17c851;let _0x42cc74=_0x24829b[_0x3e17c9(0x2aa)](_0xa6a2b6,_0x5ad45e);if(!_0x42cc74){_0x3d7f5d==null||_0x3d7f5d();return;}let _0x5de89e=_0x12c02a(_0x42cc74,_0x12e6f0[_0x3e17c9(0x360)],_0x12e6f0[_0x3e17c9(0x5ca)]);(_0x5de89e[_0x3e17c9(0x360)][_0x3e17c9(0x393)]===_0x42cc74[_0x3e17c9(0x360)][_0x3e17c9(0x393)]&&_0x5de89e[_0x3e17c9(0x5ca)][_0x3e17c9(0x393)]===_0x42cc74[_0x3e17c9(0x5ca)][_0x3e17c9(0x393)]||await _0x304647[_0x3e17c9(0x38f)](_0x296a89['id'],{'unitId':_0xa6a2b6,'tableId':_0x5ad45e,'patch':{'rows':_0x5de89e[_0x3e17c9(0x360)],'columns':_0x5de89e[_0x3e17c9(0x5ca)]}}))&&(_0x3d7f5d==null||_0x3d7f5d());}})});}const uo={'id':'slide-table.operation.open-size-dialog','type':_0x49d1ef[_0x5defcf(0x253)],'handler':_0x2877fa=>{const _0x475c8f=_0x5defcf;let _0x3410c7=_0x2877fa[_0x475c8f(0x621)](_0x462a1f),_0x511755=_0x2877fa[_0x475c8f(0x621)](_0x161eee),_0x2235c8=_0x2877fa[_0x475c8f(0x621)](_0x3f3fcc),_0x3eac3e=_0x2877fa['get'](_0x494027),_0x4ed8dd=_0x3410c7[_0x475c8f(0x32e)](),_0x53a98b=_0x4ed8dd[_0x475c8f(0x393)]===0x1?_0x4ed8dd[0x0]:void 0x0;if(!_0x53a98b)return!0x1;let _0xa7facb=_0x3410c7[_0x475c8f(0x68d)](_0x53a98b['unitId'],_0x53a98b[_0x475c8f(0x6b4)])[_0x53a98b[_0x475c8f(0x1ba)]];if(!_0xa7facb||_0xa7facb[_0x475c8f(0x571)][_0x475c8f(0x495)]!==_0x16fba9[_0x475c8f(0x3f9)])return!0x1;let _0xa789b9=_0x511755[_0x475c8f(0x2aa)](_0x53a98b[_0x475c8f(0x379)],_0xa7facb['element'][_0x475c8f(0x6a7)]);if(!_0xa789b9)return!0x1;let _0x3cbe63=null;return _0x3cbe63=_0x2235c8[_0x475c8f(0x1d4)](co(_0x3eac3e['t']('slides-table-ui.tableSizePicker.title'),_0x53a98b[_0x475c8f(0x379)],_0xa789b9['id'],_0xa789b9[_0x475c8f(0x360)]['length'],_0xa789b9['columns'][_0x475c8f(0x393)],()=>{const _0x4c3861=_0x475c8f;_0x3cbe63==null||_0x3cbe63[_0x4c3861(0x2c2)](),_0x3cbe63=null;})),!0x0;}};let fo=class extends _0x5c53fd{constructor(_0x41fe9d){const _0x579c3a=_0x5defcf;super(),q(this,_0x579c3a(0x570),void 0x0),q(this,_0x579c3a(0x529),new _0x4d5205(!0x1)),q(this,_0x579c3a(0x5a1),new Set()),q(this,'enabled$',void 0x0),q(this,_0x579c3a(0x481),void 0x0);let _0x59f624=_0x41fe9d[_0x579c3a(0x247)](ei);this[_0x579c3a(0x570)]=new _0x4d5205((_0x59f624==null?void 0x0:_0x59f624[_0x579c3a(0x59b)])??!0x1),this[_0x579c3a(0x38c)]=this[_0x579c3a(0x570)][_0x579c3a(0x6f9)](),this[_0x579c3a(0x481)]=_0x192b14([this[_0x579c3a(0x570)],this[_0x579c3a(0x529)]])[_0x579c3a(0x5f3)](_0x20d0c3(([_0x46ab07,_0x31d3c7])=>_0x46ab07||_0x31d3c7));}[_0x5defcf(0x460)](){const _0x41a80b=_0x5defcf;return this[_0x41a80b(0x570)][_0x41a80b(0x315)]();}[_0x5defcf(0x20e)](_0x2d125){const _0x59975a=_0x5defcf;this[_0x59975a(0x460)]()!==_0x2d125&&this[_0x59975a(0x570)][_0x59975a(0x38b)](_0x2d125);}['getVisible'](){const _0x308e09=_0x5defcf;return this[_0x308e09(0x460)]()||this['_fallbackVisible$'][_0x308e09(0x315)]();}[_0x5defcf(0x35c)](_0x1e11c6,_0x388e81=_0x5defcf(0x25a)){const _0x42ec66=_0x5defcf;_0x1e11c6?this[_0x42ec66(0x5a1)][_0x42ec66(0x378)](_0x388e81):this[_0x42ec66(0x5a1)][_0x42ec66(0x525)](_0x388e81);let _0x151d49=this[_0x42ec66(0x5a1)][_0x42ec66(0x4bf)]>0x0;this[_0x42ec66(0x529)]['getValue']()!==_0x151d49&&this[_0x42ec66(0x529)]['next'](_0x151d49);}[_0x5defcf(0x3bd)](){const _0x36056b=_0x5defcf;this[_0x36056b(0x20e)](!this[_0x36056b(0x460)]());}[_0x5defcf(0x2c2)](){const _0x3cde49=_0x5defcf;this[_0x3cde49(0x570)][_0x3cde49(0x1e7)](),this[_0x3cde49(0x5a1)][_0x3cde49(0x31e)](),this[_0x3cde49(0x529)]['complete'](),super[_0x3cde49(0x2c2)]();}};fo=Ha([Q(0x0,_0x506f4d)],fo);const po={'id':'slides-table-ui.operation.toggle-floating-toolbar','type':_0x49d1ef[_0x5defcf(0x253)],'handler':_0x528dd6=>(_0x528dd6[_0x5defcf(0x621)](fo)[_0x5defcf(0x3bd)](),!0x0)};let mo=class{constructor(_0x2af726,_0x4ae3f3,_0x562745){const _0x162080=_0x5defcf;this['_instanceService']=_0x2af726,this[_0x162080(0x710)]=_0x4ae3f3,this[_0x162080(0x4a2)]=_0x562745;}['insertTable'](_0x335b0f={}){const _0x16ceae=_0x5defcf;let _0x2231ca=this[_0x16ceae(0x729)]();if(!_0x2231ca)return!0x1;let {rows:_0x243e91,columns:_0x1d67d8,columnWidth:_0x449ac6,rowHeight:_0x21ae5e}=_0x4568ed(_0x335b0f),_0x5354ac=_0x2b8786(0x6);return this[_0x16ceae(0x710)][_0x16ceae(0x6d2)](_0xbf40da['id'],{'unitId':_0x2231ca['unitId'],'subUnitId':_0x2231ca[_0x16ceae(0x6b4)],'createOptions':{'rows':_0x243e91,'columns':_0x1d67d8,'columnWidth':_0x449ac6,'rowHeight':_0x21ae5e,'options':{'firstRow':!0x0,'bandRow':!0x0}},'element':{'id':_0x5354ac,'transform':this[_0x16ceae(0x708)](_0x2231ca[_0x16ceae(0x3f8)],_0x2231ca[_0x16ceae(0x6ab)],_0x1d67d8*_0x449ac6,_0x243e91*_0x21ae5e)}})?(this[_0x16ceae(0x4a2)][_0x16ceae(0x72b)]({'unitId':_0x2231ca[_0x16ceae(0x379)],'subUnitId':_0x2231ca[_0x16ceae(0x6b4)]},[_0x5354ac],_0x5354ac),!0x0):!0x1;}[_0x5defcf(0x344)](_0x491b03){const _0x5a4bca=_0x5defcf;let _0x32342c=this[_0x5a4bca(0x729)]();if(!_0x32342c||_0x491b03[_0x5a4bca(0x360)]['length']===0x0||_0x491b03[_0x5a4bca(0x5ca)][_0x5a4bca(0x393)]===0x0)return!0x1;let _0x1b3b19=_0x2b8786(0x6),_0x1991e0=_0x2b8786(0x6),_0x1d5090=_0x491b03[_0x5a4bca(0x5ca)][_0x5a4bca(0x57e)]((_0x1291a,_0x4a5a6a)=>_0x1291a+_0x4a5a6a['width'],0x0),_0xe5f214=_0x491b03['rows'][_0x5a4bca(0x57e)]((_0x5cf58a,_0x39b403)=>_0x5cf58a+(_0x39b403[_0x5a4bca(0x65e)]??0x18),0x0),_0x435dae=this[_0x5a4bca(0x664)](_0x1d5090,_0xe5f214,_0x32342c['pageWidth']*0.8,_0x32342c['pageHeight']*0.8),_0x28f309=this[_0x5a4bca(0x710)][_0x5a4bca(0x6d2)](_0xbf40da['id'],{'unitId':_0x32342c[_0x5a4bca(0x379)],'subUnitId':_0x32342c[_0x5a4bca(0x6b4)],'createOptions':{'id':_0x1b3b19,'rows':_0x491b03[_0x5a4bca(0x360)][_0x5a4bca(0x393)],'columns':_0x491b03[_0x5a4bca(0x5ca)][_0x5a4bca(0x393)],'styleId':null},'table':{..._0x491b03,'id':_0x1b3b19,'rev':0x0},'element':{'id':_0x1991e0,'transform':this[_0x5a4bca(0x708)](_0x32342c[_0x5a4bca(0x3f8)],_0x32342c[_0x5a4bca(0x6ab)],_0x435dae[_0x5a4bca(0x58e)],_0x435dae[_0x5a4bca(0x65e)])}});return _0x28f309&&this['_drawingStateService'][_0x5a4bca(0x72b)]({'unitId':_0x32342c[_0x5a4bca(0x379)],'subUnitId':_0x32342c[_0x5a4bca(0x6b4)]},[_0x1991e0],_0x1991e0),_0x28f309;}[_0x5defcf(0x729)](){const _0x5592d0=_0x5defcf;let _0x1c3199=this[_0x5592d0(0x5a9)][_0x5592d0(0x6ff)](_0x1b0a97['UNIVER_SLIDE']),_0x3cd088=_0x1c3199==null?void 0x0:_0x1c3199['pageManager'][_0x5592d0(0x714)]();if(!_0x1c3199||!_0x3cd088)return null;let _0x443c5a=_0x51f95a(_0x1c3199[_0x5592d0(0x6d0)]()[_0x5592d0(0x715)]);return{'unitId':_0x1c3199['getUnitId'](),'subUnitId':_0x3cd088[_0x5592d0(0x43a)](),'pageWidth':_0x443c5a[_0x5592d0(0x58e)],'pageHeight':_0x443c5a[_0x5592d0(0x65e)]};}['_getCenteredTransform'](_0xefde4d,_0x3b63bd,_0x133463,_0x376cff){const _0x3a05a8=_0x5defcf;return{'left':Math['max'](_0x5dba90[_0x3a05a8(0x60c)],Math[_0x3a05a8(0x300)]((_0xefde4d-_0x133463)/0x2)),'top':Math['max'](_0x5dba90['minPositionOffset'],Math['round']((_0x3b63bd-_0x376cff)/0x2)),'width':_0x133463,'height':_0x376cff,'rotation':0x0};}['_fitSize'](_0x4b11d1,_0x1373c8,_0x4810ba,_0x3a27a7){const _0x5d4e38=_0x5defcf;let _0x26a671=Number[_0x5d4e38(0x401)](_0x4b11d1)&&_0x4b11d1>0x0?_0x4b11d1:_0x5dba90[_0x5d4e38(0x48e)],_0x29b0a0=Number[_0x5d4e38(0x401)](_0x1373c8)&&_0x1373c8>0x0?_0x1373c8:_0x5dba90[_0x5d4e38(0x3fe)],_0x51489d=Math[_0x5d4e38(0x4a7)](_0x4810ba/_0x26a671,_0x3a27a7/_0x29b0a0,0x1);return{'width':Math[_0x5d4e38(0x6bf)](_0x5dba90['minImageEdge'],Math[_0x5d4e38(0x300)](_0x26a671*_0x51489d)),'height':Math[_0x5d4e38(0x6bf)](_0x5dba90[_0x5d4e38(0x238)],Math[_0x5d4e38(0x300)](_0x29b0a0*_0x51489d))};}};mo=Ha([Q(0x0,_0x1c0185),Q(0x1,_0x51671c),Q(0x2,_0x2f1910)],mo);const ho=_0x5defcf(0x2cf);function go({PickerComponent:_0x472be3=so}={}){const _0x2446c5=_0x5defcf;let _0x4f45ae=_0x41e5c1(_0x494027),_0x5dcbfd=_0x41e5c1(mo),_0x433ce3=_0x45a1ca(_0x4f45ae[_0x2446c5(0x54f)],_0x4f45ae[_0x2446c5(0x5b4)]());return _0x455c20(_0x472be3,{'initialRows':0x3,'initialColumns':0x5,'direction':_0x433ce3,'variant':_0x2446c5(0x3d6),'title':_0x4f45ae['t'](_0x2446c5(0x544)),'onConfirm':_0x3580a9=>_0x5dcbfd[_0x2446c5(0x524)](_0x3580a9)});}function _o(_0x1246d4){const _0x159262=_0x5defcf;let {localeService:_0xe2ab9c,direction:_0x34583d,title:_0x4a42b9,confirmAction:_0x2521e8,rows:_0x19faaa,columns:_0x23dd42,minRows:_0x2a6adf,minColumns:_0x429c3c,maxRows:_0x511959,maxColumns:_0x421209,isDropdown:_0x611fad,updateRows:_0x42f9a5,updateColumns:_0x546a13,handleConfirm:_0xf82335}=oo(_0x1246d4);return _0x30f958(_0x159262(0x70f),{'className':_0x159262(0x2fb),'dir':_0x34583d,'children':[_0x4a42b9&&!_0x611fad&&_0x455c20('h3',{'className':_0x159262(0x23d),'children':_0x4a42b9}),_0x455c20(_0x159262(0x2cb),{'className':'univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-0\x20univer-py-1\x20dark:!univer-bg-gray-800','children':_0x455c20(_0x186c8e,{'className':_0x159262(0x407),'variant':_0x159262(0x324),'onClick':_0xf82335,'children':_0xe2ab9c['t']('slides-table-ui.tableSizePicker.'+_0x2521e8)})}),_0x30f958('div',{'className':_0x159262(0x303),'children':[_0x30f958(_0x159262(0x3a7),{'className':_0x159262(0x5b2),'children':[_0xe2ab9c['t'](_0x159262(0x27b)),_0x455c20(_0x39a1de,{'className':'univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','controls':!0x1,'min':_0x2a6adf,'max':_0x511959,'precision':0x0,'value':_0x19faaa,'onChange':_0x13e3de=>_0x42f9a5(_0x13e3de??_0x2a6adf)})]}),_0x30f958(_0x159262(0x3a7),{'className':'univer-grid\x20univer-min-w-0\x20univer-gap-2\x20univer-text-sm','children':[_0xe2ab9c['t'](_0x159262(0x294)),_0x455c20(_0x39a1de,{'className':_0x159262(0x60b),'controls':!0x1,'min':_0x429c3c,'max':_0x421209,'precision':0x0,'value':_0x23dd42,'onChange':_0x5273a8=>_0x546a13(_0x5273a8??_0x429c3c)})]})]})]});}function vo(_0x64a327){return _0x455c20(lo,{..._0x64a327,'PickerComponent':_o});}function yo(){return _0x455c20(go,{'PickerComponent':_o});}const bo=_0x5defcf(0x648),xo='#111827',So=[_0x5defcf(0x5c1),_0x5defcf(0x679),'borderColor',_0x5defcf(0x1bc),_0x5defcf(0x191),_0x5defcf(0x5a5),'fontFamily',_0x5defcf(0x3cf),'horizontalAlign',_0x5defcf(0x1eb),_0x5defcf(0x69c),'textBackgroundColor',_0x5defcf(0x3e5),_0x5defcf(0x417),_0x5defcf(0x2b9),_0x5defcf(0x385)];function Co(){const _0x53aad7=_0x5defcf;return{'backgroundColor':bo,'backgroundFill':{'type':_0x772d0f[_0x53aad7(0x37a)],'color':bo,'alpha':0x1},'borderColor':_0x53aad7(0x456),'borderDash':_0x599627[_0x53aad7(0x37a)],'borderWidth':0x1,'bold':!0x1,'fontFamily':_0x2944bf['ff'],'fontSize':_0x2944bf['fs'],'horizontalAlign':_0x4918fc['LEFT'],'italic':!0x1,'strike':!0x1,'textBackgroundColor':_0x2944bf['bg'][_0x53aad7(0x519)],'textColor':xo,'textFill':{'type':'solid','color':xo,'opacity':0x1},'underline':!0x1,'verticalAlign':_0x9c0db6[_0x53aad7(0x4ce)],'mixed':{}};}function wo(_0x7ab85b,_0x48a1c9){const _0x3c869d=_0x5defcf;let _0x370343=Co();if(!_0x7ab85b||!_0x48a1c9)return _0x370343;let _0xcdf0a4=Math['min'](_0x48a1c9['startRow'],_0x48a1c9['endRow']),_0xe7d7be=Math[_0x3c869d(0x6bf)](_0x48a1c9[_0x3c869d(0x1d3)],_0x48a1c9[_0x3c869d(0x573)]),_0x34f9d3=Math[_0x3c869d(0x4a7)](_0x48a1c9['startColumn'],_0x48a1c9[_0x3c869d(0x351)]),_0x498ea1=Math[_0x3c869d(0x6bf)](_0x48a1c9[_0x3c869d(0x3cc)],_0x48a1c9['endColumn']),_0x48e7bf=To(_0x7ab85b,_0xcdf0a4,_0x34f9d3,_0x370343);for(let _0xc124fe=_0xcdf0a4;_0xc124fe<=_0xe7d7be;_0xc124fe++)for(let _0x26a74a=_0x34f9d3;_0x26a74a<=_0x498ea1;_0x26a74a++){let _0x3366dc=To(_0x7ab85b,_0xc124fe,_0x26a74a,_0x370343);for(let _0x18657f of So)ko(_0x48e7bf[_0x18657f],_0x3366dc[_0x18657f])||(_0x48e7bf[_0x3c869d(0x636)][_0x18657f]=!0x0);}return _0x48e7bf;}function To(_0x7d620b,_0x5ad656,_0x1f3f01,_0x50e866){const _0x412a98=_0x5defcf;var _0x2afd40;let _0x1ab200=(_0x2afd40=_0x7d620b[_0x412a98(0x360)][_0x5ad656])==null?void 0x0:_0x2afd40['cells'][_0x1f3f01];return{...Eo(_0x1ab200,_0x50e866),...Oo(_0x1ab200==null?void 0x0:_0x1ab200['textData'],_0x50e866),'mixed':{}};}function Eo(_0x2bfd6e,_0x8fb9b4){const _0xf56132=_0x5defcf;let _0x4ab752=_0x2bfd6e==null?void 0x0:_0x2bfd6e['style'],_0x4546ac=Do(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x68f)]);return{'backgroundColor':No(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x394)],_0x8fb9b4[_0xf56132(0x5c1)]),'backgroundFill':(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x394)])??_0x8fb9b4[_0xf56132(0x679)],'borderColor':(_0x4546ac==null?void 0x0:_0x4546ac[_0xf56132(0x1e2)])??_0x8fb9b4[_0xf56132(0x47c)],'borderDash':(_0x4546ac==null?void 0x0:_0x4546ac['dash'])??_0x8fb9b4[_0xf56132(0x1bc)],'borderWidth':(_0x4546ac==null?void 0x0:_0x4546ac[_0xf56132(0x58e)])??_0x8fb9b4[_0xf56132(0x191)],'verticalAlign':Fo(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x385)])??_0x8fb9b4['verticalAlign']};}function Do(_0x57ed11){const _0x473913=_0x5defcf;return(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x5ee)])??(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x479)])??(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x485)])??(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x341)]);}function Oo(_0x58bb01,_0x20fc79){const _0x21b464=_0x5defcf;let _0x21f5a8=Ao(_0x58bb01);return{'bold':_0x21f5a8[_0x21b464(0x5a5)]??_0x20fc79[_0x21b464(0x5a5)],'fontFamily':_0x21f5a8[_0x21b464(0x6cd)]??_0x20fc79[_0x21b464(0x6cd)],'fontSize':_0x21f5a8[_0x21b464(0x3cf)]??_0x20fc79[_0x21b464(0x3cf)],'horizontalAlign':jo(_0x58bb01)??_0x20fc79['horizontalAlign'],'italic':_0x21f5a8[_0x21b464(0x1eb)]??_0x20fc79[_0x21b464(0x1eb)],'strike':_0x21f5a8[_0x21b464(0x69c)]??_0x20fc79[_0x21b464(0x69c)],'textBackgroundColor':_0x21f5a8[_0x21b464(0x543)]??_0x20fc79['textBackgroundColor'],'textColor':_0x21f5a8[_0x21b464(0x3e5)]??Po(_0x21f5a8[_0x21b464(0x417)],_0x20fc79[_0x21b464(0x3e5)]),'textFill':_0x21f5a8[_0x21b464(0x417)]??_0x20fc79[_0x21b464(0x417)],'underline':_0x21f5a8[_0x21b464(0x2b9)]??_0x20fc79[_0x21b464(0x2b9)]};}function ko(_0x41cee6,_0x4f7214){const _0x5ebabf=_0x5defcf;return typeof _0x41cee6=='object'||typeof _0x4f7214==_0x5ebabf(0x583)?JSON[_0x5ebabf(0x2bc)](_0x41cee6)===JSON['stringify'](_0x4f7214):_0x41cee6===_0x4f7214;}function Ao(_0x3160e1){const _0x5781ff=_0x5defcf;var _0x3121c4,_0x158408,_0x166dcb,_0x8e1199,_0x2fcffb,_0x1eabef;let _0x2d0471=_0x3160e1==null||(_0x3121c4=_0x3160e1['documentStyle'])==null?void 0x0:_0x3121c4[_0x5781ff(0x4e6)],_0x1d3ae3=_0x3160e1==null||(_0x158408=_0x3160e1[_0x5781ff(0x291)])==null||(_0x158408=_0x158408['textRuns'])==null||(_0x158408=_0x158408[_0x5781ff(0x461)](_0x3bff6c=>_0x3bff6c['ts']))==null?void 0x0:_0x158408['ts'],_0x2270af={..._0x2d0471,..._0x1d3ae3};return{'bold':_0x2270af['bl']===_0x3fcebf['TRUE'],'fontFamily':typeof _0x2270af['ff']==_0x5781ff(0x4ee)?_0x2270af['ff']:void 0x0,'fontSize':typeof _0x2270af['fs']==_0x5781ff(0x716)?_0x2270af['fs']:void 0x0,'italic':_0x2270af['it']===_0x3fcebf[_0x5781ff(0x298)],'strike':((_0x166dcb=_0x2270af['st'])==null?void 0x0:_0x166dcb['s'])===_0x3fcebf['TRUE'],'textBackgroundColor':typeof((_0x8e1199=_0x2270af['bg'])==null?void 0x0:_0x8e1199['rgb'])=='string'?_0x2270af['bg'][_0x5781ff(0x519)]:void 0x0,'textColor':((_0x2fcffb=_0x2270af['cl'])==null?void 0x0:_0x2fcffb['rgb'])??Po(_0x2270af['textFill'],void 0x0),'textFill':_0x2270af[_0x5781ff(0x417)],'underline':((_0x1eabef=_0x2270af['ul'])==null?void 0x0:_0x1eabef['s'])===_0x3fcebf['TRUE']};}function jo(_0x163ed5){const _0x4e1d72=_0x5defcf;var _0x962e02,_0x429075;let _0x23b916=_0x163ed5==null||(_0x962e02=_0x163ed5[_0x4e1d72(0x6e1)])==null||(_0x962e02=_0x962e02[_0x4e1d72(0x1ef)])==null?void 0x0:_0x962e02[_0x4e1d72(0x575)];return _0x23b916===void 0x0?_0x163ed5==null||(_0x429075=_0x163ed5[_0x4e1d72(0x291)])==null||(_0x429075=_0x429075[_0x4e1d72(0x307)])==null||(_0x429075=_0x429075[_0x4e1d72(0x461)](_0xfea00d=>{const _0x4e7146=_0x4e1d72;var _0x363977;return((_0x363977=_0xfea00d[_0x4e7146(0x6a3)])==null?void 0x0:_0x363977[_0x4e7146(0x575)])!==void 0x0;}))==null||(_0x429075=_0x429075[_0x4e1d72(0x6a3)])==null?void 0x0:_0x429075[_0x4e1d72(0x575)]:_0x23b916;}function Mo(_0x3ce3c7){const _0x4445e6=_0x5defcf;var _0x534715,_0x2d9445;return!_0x3ce3c7||_0x3ce3c7[_0x4445e6(0x495)]===_0x772d0f[_0x4445e6(0x2d4)]?_0x4445e6(0x6bc):_0x3ce3c7['type']===_0x772d0f[_0x4445e6(0x55b)]||(_0x534715=_0x3ce3c7[_0x4445e6(0x487)])!=null&&_0x534715[_0x4445e6(0x605)]||_0x3ce3c7['picture']?'picture':_0x3ce3c7['type']===_0x772d0f['Gradient']||(_0x2d9445=_0x3ce3c7[_0x4445e6(0x5ef)])!=null&&(_0x2d9445=_0x2d9445[_0x4445e6(0x36c)])!=null&&_0x2d9445[_0x4445e6(0x393)]?_0x4445e6(0x5ef):_0x4445e6(0x71a);}function No(_0x4910d2,_0xf324e7){const _0x5b82fe=_0x5defcf;var _0x323df4;return(_0x4910d2==null?void 0x0:_0x4910d2[_0x5b82fe(0x495)])===_0x772d0f['None']?_0xf324e7:(_0x4910d2==null||(_0x323df4=_0x4910d2[_0x5b82fe(0x5ef)])==null||(_0x323df4=_0x323df4[_0x5b82fe(0x36c)])==null||(_0x323df4=_0x323df4[0x0])==null?void 0x0:_0x323df4['color'])??(_0x4910d2==null?void 0x0:_0x4910d2[_0x5b82fe(0x1e2)])??_0xf324e7;}function Po(_0x500159,_0x58887a){const _0x34c4b8=_0x5defcf;var _0x1a136f;return(_0x500159==null?void 0x0:_0x500159['type'])===_0x34c4b8(0x6bc)?_0x34c4b8(0x4f0):(_0x500159==null||(_0x1a136f=_0x500159[_0x34c4b8(0x5ef)])==null||(_0x1a136f=_0x1a136f[_0x34c4b8(0x36c)])==null||(_0x1a136f=_0x1a136f[0x0])==null?void 0x0:_0x1a136f[_0x34c4b8(0x1e2)])??(_0x500159==null?void 0x0:_0x500159[_0x34c4b8(0x1e2)])??_0x58887a??_0x34c4b8(0x560);}function Fo(_0xf11c76){const _0x269070=_0x5defcf;if(_0xf11c76===_0x1285f3[_0x269070(0x29d)])return _0x9c0db6[_0x269070(0x64d)];if(_0xf11c76===_0x1285f3['Bottom'])return _0x9c0db6[_0x269070(0x29b)];if(_0xf11c76===_0x1285f3[_0x269070(0x422)])return _0x9c0db6['MIDDLE'];}function Io(_0x3de68b,_0x27f118){const _0x21b1ae=_0x5defcf;var _0x287d83,_0x3336f7,_0x3096d5;return{'type':(_0x3de68b==null||(_0x287d83=_0x3de68b[_0x21b1ae(0x5ef)])==null?void 0x0:_0x287d83[_0x21b1ae(0x495)])??_0x21b1ae(0x465),'angle':(_0x3de68b==null||(_0x3336f7=_0x3de68b[_0x21b1ae(0x5ef)])==null?void 0x0:_0x3336f7[_0x21b1ae(0x2c3)])??0x0,'stops':_0x3de68b!=null&&(_0x3096d5=_0x3de68b[_0x21b1ae(0x5ef)])!=null&&(_0x3096d5=_0x3096d5[_0x21b1ae(0x36c)])!=null&&_0x3096d5['length']?_0x3de68b[_0x21b1ae(0x5ef)][_0x21b1ae(0x36c)]['map'](_0x3a7e86=>({'color':_0x3a7e86[_0x21b1ae(0x1e2)],'offset':_0x3a7e86[_0x21b1ae(0x273)],'opacity':_0x3a7e86[_0x21b1ae(0x1f1)]})):[{'color':(_0x3de68b==null?void 0x0:_0x3de68b[_0x21b1ae(0x1e2)])??_0x27f118,'offset':0x0,'opacity':(_0x3de68b==null?void 0x0:_0x3de68b[_0x21b1ae(0x498)])??0x1},{'color':'#000000','offset':0x64,'opacity':0x1}]};}function Lo(_0x2fd608){const _0x526121=_0x5defcf;let _0x11a1de=_0x2fd608[_0x526121(0x36c)][0x0];return{'type':_0x772d0f[_0x526121(0x250)],'color':(_0x11a1de==null?void 0x0:_0x11a1de[_0x526121(0x1e2)])??_0x526121(0x648),'alpha':(_0x11a1de==null?void 0x0:_0x11a1de[_0x526121(0x1f1)])??0x1,'picture':void 0x0,'gradient':{'type':_0x2fd608[_0x526121(0x495)],'angle':_0x2fd608[_0x526121(0x2c3)],'stops':_0x2fd608[_0x526121(0x36c)][_0x526121(0x295)](_0x4f9aa9=>({'color':_0x4f9aa9[_0x526121(0x1e2)],'offset':_0x4f9aa9[_0x526121(0x273)],'opacity':_0x4f9aa9[_0x526121(0x1f1)]}))}};}function Ro(_0x38a51c,_0x3a2179){const _0x321120=_0x5defcf;var _0x2842f0,_0x234f90;if((_0x38a51c==null?void 0x0:_0x38a51c['type'])===_0x321120(0x6bc))return{'backgroundColor':_0x321120(0x6a2),'backgroundImage':_0x321120(0x213)};let _0xc31537=_0x38a51c==null||(_0x2842f0=_0x38a51c['picture'])==null?void 0x0:_0x2842f0['source'];return _0xc31537&&/^(?:data:|https?:)/['test'](_0xc31537)?{'backgroundImage':_0x321120(0x5f5)+_0xc31537+'\x22)','backgroundPosition':_0x321120(0x1de),'backgroundSize':_0x321120(0x26a)}:_0x38a51c!=null&&(_0x234f90=_0x38a51c[_0x321120(0x5ef)])!=null&&(_0x234f90=_0x234f90[_0x321120(0x36c)])!=null&&_0x234f90[_0x321120(0x393)]?{'backgroundImage':zo(Io(_0x38a51c,_0x3a2179))}:{'backgroundColor':(_0x38a51c==null?void 0x0:_0x38a51c[_0x321120(0x1e2)])??_0x3a2179};}function zo(_0x1c5727){const _0x1882c9=_0x5defcf;let _0x5d57a3=_0x1c5727[_0x1882c9(0x36c)][_0x1882c9(0x295)](_0x3adcaf=>Bo(_0x3adcaf[_0x1882c9(0x1e2)],_0x3adcaf[_0x1882c9(0x1f1)]??0x1)+'\x20'+_0x3adcaf['offset']+'%')[_0x1882c9(0x1d7)](',\x20');return _0x1c5727[_0x1882c9(0x495)]===_0x1882c9(0x569)||_0x1c5727['type']==='diamond'?_0x1882c9(0x19e)+_0x5d57a3+')':'linear-gradient('+((_0x1c5727[_0x1882c9(0x2c3)]??0x0)+0x5a)%0x168+_0x1882c9(0x1fb)+_0x5d57a3+')';}function Bo(_0x3a7696,_0x4fc252){const _0x5c8557=_0x5defcf;if(_0x4fc252>=0x1)return _0x3a7696;let _0x30325f=new _0xb7c3a(_0x3a7696);return _0x30325f[_0x5c8557(0x6c8)]?_0x30325f['setAlpha'](_0x4fc252)[_0x5c8557(0x62e)]():_0x3a7696;}function Vo(_0x3e531d,_0x46c059){const _0x43b9dd=_0x5defcf;return _0x3e531d[_0x43b9dd(0x638)](_0x285746=>_0x285746[_0x43b9dd(0x38a)]===_0x46c059)?_0x3e531d:[{'label':_0x46c059,'value':_0x46c059},..._0x3e531d];}const Ho={'MergeCells':_0x5defcf(0x198),'UnmergeCells':'unmerge-cells','SetCellStyle':_0x5defcf(0x6d6),'SetBorderPreset':_0x5defcf(0x2cc)};function Uo(_0x25c562,_0x5cc302){const _0x1cf081=_0x5defcf;return[{'id':Ho[_0x1cf081(0x3ec)],'commandId':_0x5cc302['mergeCells'],'enabled':$o(_0x25c562)},{'id':Ho[_0x1cf081(0x218)],'commandId':_0x5cc302[_0x1cf081(0x4d6)],'enabled':Qo(_0x25c562)},{'id':Ho[_0x1cf081(0x5d7)],'commandId':_0x5cc302[_0x1cf081(0x49c)],'enabled':Qo(_0x25c562)},{'id':Ho[_0x1cf081(0x6b2)],'commandId':_0x5cc302['setBorderPreset'],'enabled':Qo(_0x25c562)}];}function Wo(_0x408b63){let _0x5d68fc=es(_0x408b63);return!_0x408b63||!_0x5d68fc?null:{'unitId':_0x408b63['unitId'],'tableId':_0x408b63['tableId'],'range':_0x5d68fc};}function Go(_0x4a6d49){const _0x1fb511=_0x5defcf;let _0x474f5e=es(_0x4a6d49);return!_0x4a6d49||!_0x474f5e?null:{'unitId':_0x4a6d49[_0x1fb511(0x379)],'tableId':_0x4a6d49[_0x1fb511(0x6a7)],'range':_0x474f5e};}function Ko(_0x2bf626,_0x5694b8,_0x41824c){const _0x4adbb7=_0x5defcf;if(!_0x2bf626||!_0x5694b8)return null;if(_0x5694b8[_0x4adbb7(0x3f4)]==='unmerge'){let _0xe335d3=Go({..._0x2bf626,'ranges':[_0x5694b8[_0x4adbb7(0x483)]],'anchor':{'row':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x1d3)],'column':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x3cc)]},'focus':{'row':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x1d3)],'column':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x3cc)]}});return _0xe335d3?{'commandId':_0x41824c[_0x4adbb7(0x4d6)],'params':_0xe335d3}:null;}let _0x1de6db=Wo({..._0x2bf626,'ranges':[_0x5694b8[_0x4adbb7(0x483)]]});return _0x1de6db?{'commandId':_0x41824c[_0x4adbb7(0x5e7)],'params':_0x1de6db}:null;}function qo(_0xcfaf9c,_0x1310c6,_0xee6747){const _0x5149a2=_0x5defcf;let _0x10b15e=es(_0x1310c6);return!_0x1310c6||!_0x10b15e||!_0xcfaf9c?null:_0x1310c6[_0x5149a2(0x521)]===_0x5149a2(0x4b9)?_0xcfaf9c[_0x5149a2(0x360)][_0x5149a2(0x393)]<=_0x10b15e[_0x5149a2(0x573)]-_0x10b15e[_0x5149a2(0x1d3)]+0x1?null:{'commandId':_0xee6747[_0x5149a2(0x556)],'params':{'unitId':_0x1310c6[_0x5149a2(0x379)],'tableId':_0x1310c6[_0x5149a2(0x6a7)],'startRow':_0x10b15e[_0x5149a2(0x1d3)],'endRow':_0x10b15e[_0x5149a2(0x573)]},'kind':_0x5149a2(0x4b9)}:_0x1310c6['kind']==='column'?_0xcfaf9c['columns'][_0x5149a2(0x393)]<=_0x10b15e[_0x5149a2(0x351)]-_0x10b15e['startColumn']+0x1?null:{'commandId':_0xee6747[_0x5149a2(0x3eb)],'params':{'unitId':_0x1310c6[_0x5149a2(0x379)],'tableId':_0x1310c6[_0x5149a2(0x6a7)],'startColumn':_0x10b15e[_0x5149a2(0x3cc)],'endColumn':_0x10b15e[_0x5149a2(0x351)]},'kind':_0x5149a2(0x3f1)}:null;}function Jo(_0x4ed705,_0x2837f2){const _0x51be6d=_0x5defcf;let _0xa59e5=es(_0x4ed705);return!_0x4ed705||!_0xa59e5?null:{'unitId':_0x4ed705[_0x51be6d(0x379)],'tableId':_0x4ed705['tableId'],'range':_0xa59e5,'style':_0x2837f2};}function Yo(_0x5633d3,_0x982544,_0x2ae189){const _0x4c389c=_0x5defcf;let _0x3a1846=es(_0x5633d3);return!_0x5633d3||!_0x3a1846?null:{'unitId':_0x5633d3[_0x4c389c(0x379)],'tableId':_0x5633d3[_0x4c389c(0x6a7)],'range':_0x3a1846,'preset':_0x982544,..._0x2ae189?{'border':_0x2ae189}:{}};}function Xo(_0xd43ccd,_0xf6eee6){const _0x3f25ea=_0x5defcf;let _0x307889=es(_0xf6eee6);if(!_0x307889)return null;let _0x4a4a53=_0xd43ccd?Zo(_0xd43ccd,_0x307889):null;return _0x4a4a53?{'action':_0x3f25ea(0x59a),'range':_0x4a4a53}:_0x719977(_0x307889)?{'action':_0x3f25ea(0x6f4),'range':_0x307889}:null;}function Zo(_0x56e7e7,_0x283cde){const _0xe7a076=_0x5defcf;let _0xfc71c3=_0x4a84fc(_0x283cde);for(let _0x5c77a9=_0xfc71c3[_0xe7a076(0x1d3)];_0x5c77a9<=_0xfc71c3[_0xe7a076(0x573)];_0x5c77a9+=0x1)for(let _0x105f7b=_0xfc71c3['startColumn'];_0x105f7b<=_0xfc71c3[_0xe7a076(0x351)];_0x105f7b+=0x1){let _0x3551d7=_0x44102f(_0x56e7e7,_0x5c77a9,_0x105f7b);if(_0x3551d7&&_0x719977(_0x3551d7))return _0x3551d7;}return null;}function Qo(_0x4d1606){return!!es(_0x4d1606);}function $o(_0x1d99df){const _0x29adc4=_0x5defcf;let _0x4f2d56=es(_0x1d99df);return _0x4f2d56?_0x4f2d56[_0x29adc4(0x1d3)]!==_0x4f2d56[_0x29adc4(0x573)]||_0x4f2d56['startColumn']!==_0x4f2d56['endColumn']:!0x1;}function es(_0x5c67eb){const _0x13e7ab=_0x5defcf;return(_0x5c67eb==null?void 0x0:_0x5c67eb[_0x13e7ab(0x649)][0x0])??null;}function ts(_0x10ad56){return Uo(_0x10ad56,{'mergeCells':_0x13d966['id'],'unmergeCells':_0x5336e9['id'],'setCellStyle':_0x296a89['id'],'setBorderPreset':_0x296a89['id']});}function ns(_0x71e309,_0x43ef81){const _0x3a79ac=_0x5defcf;return{'actions':ts(_0x43ef81),'mergeState':Xo(_0x71e309,_0x43ef81),'values':wo(_0x71e309,_0x43ef81==null?void 0x0:_0x43ef81[_0x3a79ac(0x649)][0x0])};}function rs(_0x3322c2,_0x275b2d,_0x4ec762){return!_0x3322c2||!_0x275b2d||!_0x4ec762?null:Ko(_0x3322c2,{'action':_0x275b2d,'range':_0x4ec762},{'mergeCells':_0x13d966['id'],'unmergeCells':_0x5336e9['id']});}function is(_0x460b9d,_0x2d3807){return qo(_0x460b9d,_0x2d3807,{'deleteRows':_0x5a5531['id'],'deleteColumns':_0x16427a['id']});}function as(_0x3e9eb9){const _0x555ea9=_0x5defcf;let _0x22bbaf=_0x5b8390(!0x1),_0x1efaff=_0x5b8390(null),_0x53a1fa=_0x41e5c1(J);return _0x2f2258(()=>()=>{const _0xe512df=_0x428e;_0x1efaff[_0xe512df(0x508)]&&clearTimeout(_0x1efaff[_0xe512df(0x508)]);},[]),_0x3e9eb9[_0x555ea9(0x43f)]({'handleOpenChange':_0x116040=>{const _0x2061f7=_0x555ea9;(_0x116040||!_0x22bbaf[_0x2061f7(0x508)])&&_0x3e9eb9['onOpenChange'](_0x116040);},'markInternalInteraction':()=>{const _0x535d51=_0x555ea9;_0x53a1fa[_0x535d51(0x4ca)](),_0x22bbaf[_0x535d51(0x508)]=!0x0,_0x1efaff[_0x535d51(0x508)]&&clearTimeout(_0x1efaff[_0x535d51(0x508)]),_0x1efaff[_0x535d51(0x508)]=setTimeout(()=>{const _0x5ad4ad=_0x535d51;_0x22bbaf[_0x5ad4ad(0x508)]=!0x1,_0x1efaff['current']=null;},0x1f4);}});}const os={'none':_0x5defcf(0x6bc),'solid':_0x5defcf(0x71a),'gradient':_0x5defcf(0x5ef),'picture':'picture'};function ss(_0xbd5fd8){const _0x2750a6=_0x5defcf;var _0x2367a6,_0x231037;let {children:_0x32dfe4,color:_0x95d367,gradientValue:_0x4c063d,previewStyle:_0x164108,showPreview:_0x42fa7b=!0x0,tableFill:_0x558f21,textFill:_0x35b38a,open:_0x3ae31c,value:_0x426d8d,onOpenChange:_0x308fca,onTableFillChange:_0x3d2fa2,onTextFillChange:_0x5a8816}=_0xbd5fd8,_0x2ccfd4=_0x41e5c1(_0x494027),_0x156f6e={'noFill':_0x2ccfd4['t'](_0x2750a6(0x1b0)),'solidFill':_0x2ccfd4['t'](_0x2750a6(0x20d)),'gradientFill':_0x2ccfd4['t'](_0x2750a6(0x3e7)),'pictureFill':_0x2ccfd4['t']('slides-table-ui.shapePanel.fill.pictureFill'),'color':_0x2ccfd4['t'](_0x2750a6(0x662)),'transparency':_0x2ccfd4['t'](_0x2750a6(0x6e5)),'pictureSource':_0x2ccfd4['t'](_0x2750a6(0x602)),'pictureInsert':_0x2ccfd4['t']('slides-table-ui.shapePanel.fill.picture.insert')},_0x14c7d6=(_0x558f21==null||(_0x2367a6=_0x558f21[_0x2750a6(0x487)])==null?void 0x0:_0x2367a6[_0x2750a6(0x1f1)])??(_0x558f21==null?void 0x0:_0x558f21[_0x2750a6(0x498)])??(_0x35b38a==null||(_0x231037=_0x35b38a[_0x2750a6(0x487)])==null?void 0x0:_0x231037[_0x2750a6(0x1f1)])??(_0x35b38a==null?void 0x0:_0x35b38a[_0x2750a6(0x1f1)])??0x1,_0x22de53=_0x2f4496=>_0x3d2fa2==null?void 0x0:_0x3d2fa2(_0x2f4496),_0x3c4e30=_0x3b7858=>_0x5a8816==null?void 0x0:_0x5a8816(_0x3b7858);return _0x455c20(as,{'onOpenChange':_0x308fca,'children':({handleOpenChange:_0x59799f,markInternalInteraction:_0x495a03})=>_0x455c20(_0x8e5066,{'overlay':_0x455c20(_0x2750a6(0x2cb),{'className':_0x34395c(_0x2750a6(0x5be),_0x2750a6(0x2c4),_0x2e4a4b),'data-u-comp':_0x2750a6(0x45c),'onMouseDown':_0x3b8609=>{_0x495a03(),_0x5142db(_0x3b8609);},'onPointerDown':_0x2bf76f=>{_0x495a03(),_0x5142db(_0x2bf76f);},'children':_0x455c20(_0x4262d1,{'compact':!0x0,'direction':_0x2ccfd4[_0x2750a6(0x5b4)](),'keepColorPickerOpenOnChange':!0x0,'value':_0x426d8d,'typeValues':os,'color':_0x95d367,'transparency':Math[_0x2750a6(0x300)]((0x1-_0x14c7d6)*0x64),'gradientValue':_0x4c063d,'labels':_0x156f6e,'tabLabels':_0x156f6e,'onChange':_0x48d606=>{const _0xc70b70=_0x2750a6;if(_0x48d606==='none')_0x22de53({..._0x558f21,'type':_0x772d0f[_0xc70b70(0x2d4)],'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':'none'});else{if(_0x48d606===_0xc70b70(0x71a))_0x22de53({..._0x558f21,'type':_0x772d0f[_0xc70b70(0x37a)],'color':_0x95d367,'alpha':_0x14c7d6,'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':_0xc70b70(0x71a),'color':_0x95d367,'opacity':_0x14c7d6});else{if(_0x48d606===_0xc70b70(0x5ef))_0x22de53(Lo(_0x4c063d)),_0x3c4e30(ds(_0x4c063d));else{if(_0x48d606==='picture'){var _0xbaa921,_0xf8c636;_0x22de53({..._0x558f21,'type':_0x772d0f[_0xc70b70(0x55b)],'color':_0x95d367,'alpha':_0x14c7d6,'gradient':void 0x0,'picture':{..._0x558f21==null?void 0x0:_0x558f21[_0xc70b70(0x487)],'opacity':_0x14c7d6,'mode':(_0x558f21==null||(_0xbaa921=_0x558f21[_0xc70b70(0x487)])==null?void 0x0:_0xbaa921['mode'])??_0xc34825[_0xc70b70(0x727)]}}),_0x3c4e30({..._0x35b38a,'type':_0xc70b70(0x487),'color':_0x95d367,'opacity':_0x14c7d6,'picture':{..._0x35b38a==null?void 0x0:_0x35b38a['picture'],'opacity':_0x14c7d6,'mode':(_0x35b38a==null||(_0xf8c636=_0x35b38a[_0xc70b70(0x487)])==null?void 0x0:_0xf8c636[_0xc70b70(0x518)])??_0xc34825[_0xc70b70(0x727)]}});}}}}},'onColorChange':_0x30ce7f=>{const _0x44dbf1=_0x2750a6;_0x22de53({..._0x558f21,'type':_0x772d0f['Solid'],'color':_0x30ce7f,'alpha':_0x14c7d6,'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':_0x44dbf1(0x71a),'color':_0x30ce7f,'opacity':_0x14c7d6});},'onTransparencyChange':_0x34ba43=>{const _0x5e437f=_0x2750a6;let _0x544f43=(0x64-Math[_0x5e437f(0x6bf)](0x0,Math['min'](0x64,_0x34ba43)))/0x64;if(_0x426d8d==='picture'){var _0x3f9480,_0x2ce971;_0x22de53({..._0x558f21,'type':_0x772d0f[_0x5e437f(0x55b)],'picture':{..._0x558f21==null?void 0x0:_0x558f21[_0x5e437f(0x487)],'opacity':_0x544f43,'mode':(_0x558f21==null||(_0x3f9480=_0x558f21[_0x5e437f(0x487)])==null?void 0x0:_0x3f9480[_0x5e437f(0x518)])??_0xc34825[_0x5e437f(0x727)]}}),_0x3c4e30({..._0x35b38a,'type':'picture','picture':{..._0x35b38a==null?void 0x0:_0x35b38a[_0x5e437f(0x487)],'opacity':_0x544f43,'mode':(_0x35b38a==null||(_0x2ce971=_0x35b38a[_0x5e437f(0x487)])==null?void 0x0:_0x2ce971[_0x5e437f(0x518)])??'stretch'}});return;}_0x22de53({..._0x558f21,'type':_0x772d0f['Solid'],'color':_0x95d367,'alpha':_0x544f43,'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':_0x5e437f(0x71a),'color':_0x95d367,'opacity':_0x544f43});},'onGradientChange':_0x40bfec=>{_0x22de53(Lo(_0x40bfec)),_0x3c4e30(ds(_0x40bfec));},'pictureFillEditor':_0x3d2fa2?_0x455c20(cs,{'fill':_0x558f21,'labels':_0x156f6e,'onChange':_0x22de53}):_0x455c20(ls,{'fallbackColor':_0x95d367,'fill':_0x35b38a,'labels':_0x156f6e,'onChange':_0x3c4e30})})}),'open':_0x3ae31c,'onOpenChange':_0x59799f,'children':_0x455c20(_0x2750a6(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0xbd5fd8[_0x2750a6(0x3a7)]??_0x2ccfd4['t'](_0x2750a6(0x609)),'placement':_0x2750a6(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x2750a6(0x592),'variant':_0x2750a6(0x3a9),'aria-expanded':_0x3ae31c,'aria-label':_0xbd5fd8[_0x2750a6(0x3a7)]??_0x2ccfd4['t'](_0x2750a6(0x609)),'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x3ae31c}),'title':_0xbd5fd8['label']??_0x2ccfd4['t'](_0x2750a6(0x609)),'type':_0x2750a6(0x52d),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0xbd5fd8[_0x2750a6(0x636)]?_0x455c20('span',{'aria-hidden':_0x2750a6(0x610),'children':'—'}):_0x32dfe4,_0xbd5fd8[_0x2750a6(0x3a7)]&&_0x455c20(_0x2750a6(0x45d),{'className':'univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','children':_0xbd5fd8[_0x2750a6(0x3a7)]}),_0x42fa7b&&!_0xbd5fd8[_0x2750a6(0x636)]?_0x455c20(_0x2750a6(0x45d),{'className':_0x2750a6(0x4e5),'style':_0x164108}):null,_0x455c20(_0xb728d6,{'className':_0x2750a6(0x3ed)})]})})})})});}function cs(_0x1bad3c){const _0x16d8e5=_0x5defcf;let {fill:_0x3e519f,labels:_0x3f5df9,onChange:_0x2edf4e}=_0x1bad3c,_0x43d2be=_0x41e5c1(_0x1316c1),_0x403c3c=_0x5b8390(null),_0x123c4a=_0x3e519f==null?void 0x0:_0x3e519f['picture'],_0x1b8fa3=(_0x123c4a==null?void 0x0:_0x123c4a[_0x16d8e5(0x1f1)])??(_0x3e519f==null?void 0x0:_0x3e519f[_0x16d8e5(0x498)])??0x1,_0x1170d7=_0x123c4a!=null&&_0x123c4a[_0x16d8e5(0x605)]&&/^(?:data:|https?:)/[_0x16d8e5(0x721)](_0x123c4a[_0x16d8e5(0x605)])?_0x123c4a[_0x16d8e5(0x605)]:void 0x0;return _0x30f958(_0x16d8e5(0x2cb),{'className':_0x16d8e5(0x694),'children':[_0x30f958(_0x16d8e5(0x2cb),{'className':_0x16d8e5(0x35d),'children':[_0x455c20(_0x16d8e5(0x45d),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3f5df9[_0x16d8e5(0x1d8)]}),_0x455c20(_0x16d8e5(0x34d),{'ref':_0x403c3c,'type':_0x16d8e5(0x63a),'accept':_0x16d8e5(0x626),'className':'univer-hidden','onChange':async _0x5464eb=>{const _0x39641c=_0x16d8e5;var _0x40d8d9;let _0x598a62=(_0x40d8d9=_0x5464eb[_0x39641c(0x362)][_0x39641c(0x540)])==null?void 0x0:_0x40d8d9[0x0];if(!_0x598a62)return;_0x5464eb[_0x39641c(0x362)][_0x39641c(0x38a)]='';let _0x244ec5=await _0x43d2be[_0x39641c(0x262)](_0x598a62);if(_0x244ec5==null)return;let {imageSourceType:_0x38ebc4,source:_0x1e9a4f,base64Cache:_0x3a3f9f}=_0x244ec5;if(_0x3a3f9f){let {image:_0xb79402}=await _0xecd06b(_0x3a3f9f);_0x43d2be['addImageSourceCache'](_0x1e9a4f,_0x38ebc4,_0xb79402);}_0x2edf4e({..._0x3e519f,'type':_0x772d0f[_0x39641c(0x55b)],'gradient':void 0x0,'picture':{..._0x123c4a,'source':_0x1e9a4f,'sourceType':_0x38ebc4,'opacity':_0x1b8fa3,'mode':(_0x123c4a==null?void 0x0:_0x123c4a['mode'])??_0xc34825[_0x39641c(0x727)]}});}}),_0x455c20(_0x186c8e,{'size':_0x16d8e5(0x592),'type':_0x16d8e5(0x52d),'onClick':()=>{const _0x3d6e0c=_0x16d8e5;var _0x13598b;return(_0x13598b=_0x403c3c['current'])==null?void 0x0:_0x13598b[_0x3d6e0c(0x49a)]();},'children':_0x3f5df9[_0x16d8e5(0x5e1)]})]}),_0x1170d7&&_0x455c20(_0x16d8e5(0x2ab),{'src':_0x1170d7,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),_0x455c20(us,{'label':_0x3f5df9[_0x16d8e5(0x30b)],'opacity':_0x1b8fa3,'onChange':_0x1782c5=>_0x2edf4e({..._0x3e519f,'picture':{..._0x123c4a,'opacity':_0x1782c5,'mode':(_0x123c4a==null?void 0x0:_0x123c4a[_0x16d8e5(0x518)])??_0xc34825[_0x16d8e5(0x727)]}})})]});}function ls(_0x2d2e67){const _0x385a84=_0x5defcf;let {fallbackColor:_0x40be9b,fill:_0x50029d,labels:_0x5d1197,onChange:_0x972c5c}=_0x2d2e67,_0x8b2552=_0x41e5c1(_0x1316c1),_0x27bb46=_0x5b8390(null),_0x48c649=_0x50029d==null?void 0x0:_0x50029d[_0x385a84(0x487)],_0x35fa8f=(_0x48c649==null?void 0x0:_0x48c649[_0x385a84(0x1f1)])??(_0x50029d==null?void 0x0:_0x50029d[_0x385a84(0x1f1)])??0x1,_0x11d347=_0x48c649!=null&&_0x48c649[_0x385a84(0x605)]&&/^(?:data:|https?:)/[_0x385a84(0x721)](_0x48c649[_0x385a84(0x605)])?_0x48c649['source']:void 0x0;return _0x30f958(_0x385a84(0x2cb),{'className':_0x385a84(0x694),'children':[_0x30f958(_0x385a84(0x2cb),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x455c20('span',{'className':_0x385a84(0x287),'children':_0x5d1197[_0x385a84(0x1d8)]}),_0x455c20(_0x385a84(0x34d),{'ref':_0x27bb46,'type':_0x385a84(0x63a),'accept':_0x385a84(0x626),'className':_0x385a84(0x5c2),'onChange':async _0x1aa6b6=>{const _0x26d019=_0x385a84;var _0x1ce84e;let _0x440854=(_0x1ce84e=_0x1aa6b6['target'][_0x26d019(0x540)])==null?void 0x0:_0x1ce84e[0x0];if(!_0x440854)return;_0x1aa6b6[_0x26d019(0x362)][_0x26d019(0x38a)]='';let _0x42bb4a=await _0x8b2552['saveImage'](_0x440854);if(_0x42bb4a==null)return;let {imageSourceType:_0x5b74ea,source:_0x5e226b,base64Cache:_0x1bad77}=_0x42bb4a;_0x972c5c({..._0x50029d,'type':_0x26d019(0x487),'color':(_0x50029d==null?void 0x0:_0x50029d[_0x26d019(0x1e2)])??_0x40be9b,'picture':{..._0x48c649,'source':_0x1bad77||_0x5e226b,'sourceType':_0x5b74ea,'opacity':_0x35fa8f,'mode':(_0x48c649==null?void 0x0:_0x48c649[_0x26d019(0x518)])??_0x26d019(0x3b3)}});}}),_0x455c20(_0x186c8e,{'size':_0x385a84(0x592),'type':'button','onClick':()=>{const _0x3f9372=_0x385a84;var _0xc211c2;return(_0xc211c2=_0x27bb46[_0x3f9372(0x508)])==null?void 0x0:_0xc211c2[_0x3f9372(0x49a)]();},'children':_0x5d1197[_0x385a84(0x5e1)]})]}),_0x11d347&&_0x455c20(_0x385a84(0x2ab),{'src':_0x11d347,'alt':'','className':_0x385a84(0x5c7)}),_0x455c20(us,{'label':_0x5d1197['transparency'],'opacity':_0x35fa8f,'onChange':_0x3e58b3=>_0x972c5c({..._0x50029d,'type':_0x385a84(0x487),'color':(_0x50029d==null?void 0x0:_0x50029d[_0x385a84(0x1e2)])??_0x40be9b,'picture':{..._0x48c649,'opacity':_0x3e58b3,'mode':(_0x48c649==null?void 0x0:_0x48c649[_0x385a84(0x518)])??_0x385a84(0x3b3)}})})]});}function us(_0x476161){const _0x43c8aa=_0x5defcf;return _0x30f958(_0x43c8aa(0x2cb),{'className':_0x43c8aa(0x35d),'children':[_0x455c20(_0x43c8aa(0x45d),{'className':_0x43c8aa(0x287),'children':_0x476161[_0x43c8aa(0x3a7)]}),_0x455c20(_0x43c8aa(0x2cb),{'className':_0x43c8aa(0x647),'children':_0x455c20(_0x39a1de,{'className':_0x43c8aa(0x55f),'value':Math[_0x43c8aa(0x300)]((0x1-_0x476161['opacity'])*0x64),'min':0x0,'max':0x64,'step':0xa,'formatter':_0x52e512=>_0x52e512+'%','parser':_0x10334e=>(_0x10334e==null?void 0x0:_0x10334e[_0x43c8aa(0x48c)]('%',''))||'','onChange':_0x22c318=>{const _0x4a648a=_0x43c8aa;let _0x12b857=Math[_0x4a648a(0x6bf)](0x0,Math[_0x4a648a(0x4a7)](0x64,_0x22c318??0x0));_0x476161[_0x4a648a(0x2e0)]((0x64-_0x12b857)/0x64);}})})]});}function ds(_0x24e390){const _0x1ae98f=_0x5defcf;var _0x1da9ed;return{'type':_0x1ae98f(0x5ef),'color':((_0x1da9ed=_0x24e390[_0x1ae98f(0x36c)][0x0])==null?void 0x0:_0x1da9ed[_0x1ae98f(0x1e2)])??'#111827','gradient':{'type':_0x24e390[_0x1ae98f(0x495)],'angle':_0x24e390[_0x1ae98f(0x2c3)],'stops':_0x24e390[_0x1ae98f(0x36c)][_0x1ae98f(0x295)](_0x51490c=>({'offset':_0x51490c[_0x1ae98f(0x273)],'color':_0x51490c[_0x1ae98f(0x1e2)],'opacity':_0x51490c[_0x1ae98f(0x1f1)]}))}};}const fs=_0x2c2312[_0x5defcf(0x295)](_0x20ca0b=>({'label':_0x20ca0b['label'],'value':String(_0x20ca0b[_0x5defcf(0x38a)])})),ps=[0x0,0x1,0x2,0x3,0x4,0x6],ms=[{'labelKey':_0x5defcf(0x655),'value':_0x599627['Solid']},{'labelKey':_0x5defcf(0x25f),'value':_0x599627[_0x5defcf(0x5f4)]},{'labelKey':_0x5defcf(0x446),'value':_0x599627[_0x5defcf(0x2f4)]},{'labelKey':_0x5defcf(0x5fe),'value':_0x599627[_0x5defcf(0x415)]},{'labelKey':_0x5defcf(0x33a),'value':_0x599627[_0x5defcf(0x2d4)]}],hs=[{'labelKey':'slides-table-ui.editorToolbar.borderPresetAll','preset':_0x4c5615[_0x5defcf(0x25b)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetInner','preset':_0x4c5615[_0x5defcf(0x6da)]},{'labelKey':_0x5defcf(0x3ca),'preset':_0x4c5615[_0x5defcf(0x4ba)]},{'labelKey':_0x5defcf(0x21d),'preset':_0x4c5615[_0x5defcf(0x29d)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetBottom','preset':_0x4c5615[_0x5defcf(0x240)]},{'labelKey':_0x5defcf(0x61e),'preset':_0x4c5615[_0x5defcf(0x656)]},{'labelKey':_0x5defcf(0x209),'preset':_0x4c5615[_0x5defcf(0x5a7)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetInnerHorizontal','preset':_0x4c5615['InnerHorizontal']},{'labelKey':_0x5defcf(0x2ee),'preset':_0x4c5615[_0x5defcf(0x195)]},{'labelKey':'slides-table-ui.editorToolbar.noBorder','preset':_0x4c5615[_0x5defcf(0x2d4)]}],gs={[_0x4c5615[_0x5defcf(0x25b)]]:_0x1000bb,[_0x4c5615['Inner']]:_0x18f717,[_0x4c5615[_0x5defcf(0x4ba)]]:_0x1e538d,[_0x4c5615[_0x5defcf(0x29d)]]:_0x4a293a,[_0x4c5615[_0x5defcf(0x240)]]:_0x501398,[_0x4c5615[_0x5defcf(0x656)]]:_0x2e80da,[_0x4c5615[_0x5defcf(0x5a7)]]:_0x22d20c,[_0x4c5615[_0x5defcf(0x31b)]]:_0x311f6d,[_0x4c5615[_0x5defcf(0x195)]]:_0x3d4f9d,[_0x4c5615['None']]:_0x509dec},_s={'colorChannel1':'#9ca3af'},vs=_0x5defcf(0x5be);function ys(_0x4e4dfb){const _0x560b12=_0x5defcf;return _0x455c20('div',{'className':_0x560b12(0x69f),'children':_0x4e4dfb[_0x560b12(0x43f)]});}function bs(_0x4771bc){const _0x4ec273=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x4771bc[_0x4ec273(0x329)],'placement':'bottom','children':_0x455c20(_0x4ec273(0x45d),{'children':_0x455c20(_0x186c8e,{'size':_0x4ec273(0x592),'variant':_0x4ec273(0x3a9),'type':'button','data-toolbar-item':_0x4771bc['data-toolbar-item'],'aria-label':_0x4771bc['title'],'title':_0x4771bc[_0x4ec273(0x329)],'onClick':_0x4396e3=>{const _0x51987a=_0x4ec273;_0x4396e3['preventDefault'](),_0x4771bc[_0x51987a(0x1c5)]();},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x4771bc[_0x4ec273(0x43f)]})})});}function xs(_0x39ec66){const _0x2c781e=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x39ec66[_0x2c781e(0x329)],'placement':_0x2c781e(0x341),'children':_0x455c20(_0x186c8e,{'size':_0x2c781e(0x592),'variant':_0x2c781e(0x3a9),'type':'button','aria-label':_0x39ec66[_0x2c781e(0x329)],'className':_0x34395c({'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x39ec66['active']}),'onClick':_0x5af7fc=>{const _0x5d9218=_0x2c781e;_0x5af7fc[_0x5d9218(0x574)](),_0x39ec66[_0x5d9218(0x1c5)]();},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x39ec66[_0x2c781e(0x43f)]})});}function Ss(_0x1fa806){const _0x1d06bd=_0x5defcf;let _0x401be2=_0x41e5c1(_0x494027);return _0x455c20(as,{'onOpenChange':_0x1fa806[_0x1d06bd(0x25c)],'children':({handleOpenChange:_0x5d8870,markInternalInteraction:_0x51396e})=>_0x455c20(_0x8e5066,{'open':_0x1fa806['open'],'onOpenChange':_0x5d8870,'overlay':_0x30f958(_0x1d06bd(0x70f),{'className':_0x34395c(vs,_0x1d06bd(0x1ec),_0x2e4a4b),'data-u-comp':_0x1d06bd(0x45c),'onMouseDown':_0x1d088e=>{_0x51396e(),_0x5142db(_0x1d088e);},'onPointerDown':_0xcdbab1=>{_0x51396e(),_0x5142db(_0xcdbab1);},'children':[_0x30f958('div',{'className':_0x1d06bd(0x5b1),'children':[_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x5a5)]&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x5a5)],'title':_0x401be2['t']('slides-table-ui.editorToolbar.bold'),'onClick':()=>_0x1fa806['onToggleStyle']({'bl':_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x5a5)]||!_0x1fa806['values'][_0x1d06bd(0x5a5)]?_0x3fcebf['TRUE']:_0x3fcebf[_0x1d06bd(0x403)]}),'children':_0x455c20(_0x4fb6d4,{})}),_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)]['mixed'][_0x1d06bd(0x1eb)]&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x1eb)],'title':_0x401be2['t'](_0x1d06bd(0x50a)),'onClick':()=>_0x1fa806[_0x1d06bd(0x3c9)]({'it':_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x1eb)]||!_0x1fa806['values'][_0x1d06bd(0x1eb)]?_0x3fcebf[_0x1d06bd(0x298)]:_0x3fcebf[_0x1d06bd(0x403)]}),'children':_0x455c20(_0x8f99bc,{})}),_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)]['underline']&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x2b9)],'title':_0x401be2['t'](_0x1d06bd(0x577)),'onClick':()=>_0x1fa806['onToggleStyle']({'ul':{'s':_0x1fa806[_0x1d06bd(0x267)]['mixed']['underline']||!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x2b9)]?_0x3fcebf[_0x1d06bd(0x298)]:_0x3fcebf[_0x1d06bd(0x403)]}}),'children':_0x455c20(_0x1c7e39,{})}),_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x69c)]&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x69c)],'title':_0x401be2['t'](_0x1d06bd(0x436)),'onClick':()=>_0x1fa806[_0x1d06bd(0x3c9)]({'st':{'s':_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x69c)]||!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x69c)]?_0x3fcebf[_0x1d06bd(0x298)]:_0x3fcebf[_0x1d06bd(0x403)]}}),'children':_0x455c20(_0x2f2343,{})})]}),_0x455c20(_0x103320,{}),_0x455c20(_0x1d06bd(0x2cb),{'className':_0x1d06bd(0x5b1),'children':_0x1fa806['horizontalAlignOptions'][_0x1d06bd(0x295)](_0x4848e3=>_0x455c20(xs,{'active':!_0x1fa806['values'][_0x1d06bd(0x636)]['horizontalAlign']&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x575)]===_0x4848e3[_0x1d06bd(0x38a)],'title':_0x401be2['t'](_0x4848e3[_0x1d06bd(0x330)]),'onClick':()=>_0x1fa806[_0x1d06bd(0x340)](_0x4848e3[_0x1d06bd(0x38a)]),'children':_0x4848e3[_0x1d06bd(0x36b)]},_0x4848e3[_0x1d06bd(0x38a)]))}),_0x455c20(_0x103320,{}),_0x455c20(_0x1d06bd(0x2cb),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':_0x1fa806[_0x1d06bd(0x432)][_0x1d06bd(0x295)](_0xbe4852=>_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x385)]&&_0x1fa806['values']['verticalAlign']===_0xbe4852[_0x1d06bd(0x38a)],'title':_0x401be2['t'](_0xbe4852[_0x1d06bd(0x330)]),'onClick':()=>_0x1fa806['onVerticalAlign'](_0xbe4852[_0x1d06bd(0x38a)]),'children':_0xbe4852[_0x1d06bd(0x36b)]},_0xbe4852[_0x1d06bd(0x38a)]))})]}),'children':_0x455c20('span',{'children':_0x455c20(_0x2b411f,{'title':_0x401be2['t'](_0x1d06bd(0x427)),'placement':'bottom','children':_0x30f958(_0x186c8e,{'size':_0x1d06bd(0x592),'variant':_0x1d06bd(0x3a9),'type':_0x1d06bd(0x52d),'aria-expanded':_0x1fa806[_0x1d06bd(0x1d4)],'aria-label':_0x401be2['t'](_0x1d06bd(0x427)),'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1fa806[_0x1d06bd(0x1d4)]}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x455c20(_0x267c75,{}),_0x455c20(_0xb728d6,{'className':'univer-text-xs'})]})})})})});}function Cs(_0x32f3de){const _0x2d120b=_0x5defcf;let _0x367cfd=_0x41e5c1(_0x494027);return _0x455c20(as,{'onOpenChange':_0x32f3de[_0x2d120b(0x25c)],'children':({handleOpenChange:_0x16ca9b,markInternalInteraction:_0x41edb5})=>_0x455c20(_0x8e5066,{'open':_0x32f3de[_0x2d120b(0x1d4)],'onOpenChange':_0x16ca9b,'overlay':_0x455c20(_0x2d120b(0x70f),{'className':_0x34395c(vs,_0x2e4a4b),'data-u-comp':_0x2d120b(0x45c),'onMouseDown':_0x5a3923=>{_0x41edb5(),_0x5142db(_0x5a3923);},'onPointerDown':_0x4ac515=>{_0x41edb5(),_0x5142db(_0x4ac515);},'children':_0x32f3de[_0x2d120b(0x43f)]}),'children':_0x455c20(_0x2d120b(0x45d),{'className':_0x34395c({'[&>span]:univer-h-full\x20[&>span]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full':_0x32f3de[_0x2d120b(0x271)]}),'children':_0x455c20(_0x2b411f,{'title':_0x32f3de[_0x2d120b(0x3a7)]??_0x367cfd['t']('slides-table-ui.editorToolbar.tableTheme'),'placement':_0x2d120b(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x2d120b(0x592),'variant':_0x2d120b(0x3a9),'type':_0x2d120b(0x52d),'data-toolbar-item':_0x2d120b(0x477),'aria-expanded':_0x32f3de[_0x2d120b(0x1d4)],'aria-label':_0x32f3de[_0x2d120b(0x3a7)]??_0x367cfd['t'](_0x2d120b(0x2c9)),'title':_0x32f3de[_0x2d120b(0x3a7)]??_0x367cfd['t']('slides-table-ui.editorToolbar.tableTheme'),'className':_0x34395c({'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-min-w-28\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-col\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-px-1.5\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-py-1':_0x32f3de[_0x2d120b(0x271)],'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32f3de['open']}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x455c20('span',{'className':_0x34395c(_0x2d120b(0x52f),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-3xl':_0x32f3de[_0x2d120b(0x271)]}),'children':_0x32f3de[_0x2d120b(0x36b)]??_0x455c20(_0x430b00,{})}),_0x30f958('span',{'className':_0x34395c('univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-0.5',{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-center':_0x32f3de[_0x2d120b(0x271)]}),'children':[_0x32f3de[_0x2d120b(0x3a7)]&&_0x455c20(_0x2d120b(0x45d),{'className':_0x34395c(_0x2d120b(0x2b6),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-none\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-xs':_0x32f3de[_0x2d120b(0x271)]}),'children':_0x32f3de[_0x2d120b(0x3a7)]}),_0x455c20(_0xb728d6,{'className':_0x2d120b(0x3ed)})]})]})})})})});}function ws(_0x405bb1){const _0x35bb4b=_0x5defcf;let _0x3efd6f=_0x41e5c1(_0x494027),_0x31edf8=ms[_0x35bb4b(0x461)](_0x21eec7=>_0x21eec7[_0x35bb4b(0x38a)]===_0x405bb1[_0x35bb4b(0x244)])??ms[0x0];return _0x455c20(as,{'onOpenChange':_0x405bb1[_0x35bb4b(0x25c)],'children':({handleOpenChange:_0xf0cb97,markInternalInteraction:_0x59456a})=>_0x455c20(_0x8e5066,{'open':_0x405bb1['open'],'onOpenChange':_0xf0cb97,'overlay':_0x30f958('section',{'className':_0x34395c(vs,'univer-grid\x20univer-gap-2\x20univer-p-2',_0x2e4a4b),'data-u-comp':_0x35bb4b(0x45c),'dir':_0x405bb1[_0x35bb4b(0x2eb)],'onMouseDown':_0x95ca55=>{_0x59456a(),_0x5142db(_0x95ca55);},'onPointerDown':_0x5d21f8=>{_0x59456a(),_0x5142db(_0x5d21f8);},'children':[_0x455c20(_0x35bb4b(0x2cb),{'className':_0x35bb4b(0x36a),'children':_0x405bb1[_0x35bb4b(0x2d3)][_0x35bb4b(0x295)](({labelKey:_0x461f12,preset:_0x3e32af})=>{const _0x2a6edf=_0x35bb4b;let _0x5c632e=gs[_0x3e32af];return _0x455c20(_0x2b411f,{'title':_0x3efd6f['t'](_0x461f12),'placement':_0x2a6edf(0x341),'children':_0x455c20(_0x186c8e,{'size':_0x2a6edf(0x36b),'variant':_0x2a6edf(0x3a9),'type':_0x2a6edf(0x52d),'aria-label':_0x3efd6f['t'](_0x461f12),'onClick':()=>{const _0x5c870e=_0x2a6edf;_0x405bb1[_0x5c870e(0x6cb)](_0x3e32af),_0x405bb1['onOpenChange'](!0x1);},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x455c20(_0x5c632e,{'className':_0x2a6edf(0x6a6),'extend':_s})})},_0x3e32af);})}),_0x455c20(_0x103320,{}),_0x30f958('div',{'className':_0x35bb4b(0x5b1),'children':[_0x455c20(Ts,{'title':_0x3efd6f['t'](_0x35bb4b(0x489)),'direction':_0x405bb1[_0x35bb4b(0x2eb)],'color':_0x405bb1[_0x35bb4b(0x1e2)],'onChange':_0x405bb1['onChangeColor'],'children':_0x455c20(_0x430b00,{'extend':{'colorChannel1':_0x405bb1[_0x35bb4b(0x1e2)]}})}),_0x455c20(Ds,{'title':_0x3efd6f['t'](_0x35bb4b(0x5f8)),'direction':_0x405bb1[_0x35bb4b(0x2eb)],'value':String(_0x405bb1['width']),'options':ps[_0x35bb4b(0x295)](_0x2b144a=>({'label':_0x2b144a===0x0?_0x3efd6f['t'](_0x35bb4b(0x33a)):_0x2b144a+'px','value':String(_0x2b144a),'icon':_0x455c20(_0x35bb4b(0x45d),{'className':_0x35bb4b(0x4eb),'style':{'height':Math[_0x35bb4b(0x6bf)](0x1,_0x2b144a||0x1)}})})),'onChange':_0x3569e2=>_0x405bb1['onChangeWidth'](Number(_0x3569e2)),'children':_0x30f958('span',{'className':'univer-text-xs','children':[_0x405bb1[_0x35bb4b(0x58e)],'px']})}),_0x455c20(Ds,{'title':_0x3efd6f['t'](_0x35bb4b(0x5c9)),'direction':_0x405bb1[_0x35bb4b(0x2eb)],'value':_0x405bb1[_0x35bb4b(0x244)],'options':ms[_0x35bb4b(0x295)](_0x15f712=>({'label':_0x3efd6f['t'](_0x15f712[_0x35bb4b(0x330)]),'value':_0x15f712[_0x35bb4b(0x38a)],'icon':_0x455c20(ks,{'dash':_0x15f712['value']})})),'onChange':_0x405bb1['onChangeDash'],'children':_0x31edf8?_0x455c20(ks,{'dash':_0x31edf8['value']}):_0x455c20(_0x1000bb,{})})]})]}),'children':_0x455c20(_0x35bb4b(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x405bb1[_0x35bb4b(0x3a7)]??_0x3efd6f['t'](_0x35bb4b(0x38e)),'placement':_0x35bb4b(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x35bb4b(0x592),'variant':_0x35bb4b(0x3a9),'type':_0x35bb4b(0x52d),'aria-expanded':_0x405bb1[_0x35bb4b(0x1d4)],'aria-label':_0x405bb1[_0x35bb4b(0x3a7)]??_0x3efd6f['t'](_0x35bb4b(0x38e)),'title':_0x405bb1[_0x35bb4b(0x3a7)]??_0x3efd6f['t']('slides-table-ui.editorToolbar.border'),'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x405bb1[_0x35bb4b(0x1d4)]}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x405bb1[_0x35bb4b(0x636)]?_0x455c20(_0x35bb4b(0x45d),{'aria-hidden':_0x35bb4b(0x610),'children':'—'}):_0x455c20(_0x1000bb,{}),_0x405bb1['label']&&_0x455c20(_0x35bb4b(0x45d),{'className':_0x35bb4b(0x2b6),'children':_0x405bb1['label']}),_0x455c20(_0xb728d6,{'className':_0x35bb4b(0x3ed)})]})})})})});}function Ts(_0x58aebc){const _0x16eb29=_0x5defcf;let {children:_0x282c7b,color:_0x118596,onChange:_0x1d48d5}=_0x58aebc,[_0x230bc7,_0x5b5053]=_0x504879(!0x1),_0x40fa9d=_0x58aebc[_0x16eb29(0x1d4)]??_0x230bc7,_0x5ea15f=_0x58aebc[_0x16eb29(0x25c)]??_0x5b5053;return _0x455c20(as,{'onOpenChange':_0x5ea15f,'children':({handleOpenChange:_0x22da2e,markInternalInteraction:_0x31ed78})=>_0x455c20(_0x8e5066,{'overlay':_0x455c20(_0x16eb29(0x2cb),{'className':_0x34395c(vs,'univer-p-3',_0x2e4a4b),'data-u-comp':_0x16eb29(0x45c),'dir':_0x58aebc[_0x16eb29(0x2eb)],'onMouseDown':_0x341f44=>{_0x31ed78(),_0x5142db(_0x341f44);},'onPointerDown':_0x50b1fc=>{_0x31ed78(),_0x5142db(_0x50b1fc);},'children':_0x455c20(_0x3a25a2,{'value':_0x118596,'onChange':_0x1d48d5})}),'open':_0x40fa9d,'onOpenChange':_0x22da2e,'children':_0x455c20(_0x16eb29(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x58aebc[_0x16eb29(0x329)],'placement':_0x16eb29(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x16eb29(0x592),'variant':_0x16eb29(0x3a9),'aria-expanded':_0x40fa9d,'aria-label':_0x58aebc[_0x16eb29(0x329)],'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x40fa9d}),'title':_0x58aebc[_0x16eb29(0x329)],'type':'button','onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x282c7b,_0x455c20('span',{'className':_0x16eb29(0x4e5),'style':{'backgroundColor':_0x118596}}),_0x455c20(_0xb728d6,{'className':_0x16eb29(0x3ed)})]})})})})});}function Es(_0x5c0359){const _0x3835a9=_0x5defcf;return _0x455c20(as,{'onOpenChange':_0x5c0359[_0x3835a9(0x25c)],'children':({handleOpenChange:_0x56d5d1,markInternalInteraction:_0x31a311})=>_0x455c20(_0x8e5066,{'open':_0x5c0359[_0x3835a9(0x1d4)],'onOpenChange':_0x56d5d1,'overlay':_0x455c20(_0x3835a9(0x2cb),{'className':_0x34395c(vs,_0x3835a9(0x537),_0x2e4a4b),'data-u-comp':_0x3835a9(0x45c),'onMouseDown':_0xddbf36=>{_0x31a311(),_0x5142db(_0xddbf36);},'onPointerDown':_0x1102b8=>{_0x31a311(),_0x5142db(_0x1102b8);},'children':_0x455c20(_0x3a25a2,{'value':_0x5c0359[_0x3835a9(0x1e2)],'onChange':_0x5c0359[_0x3835a9(0x2e0)]})}),'children':_0x455c20('span',{'children':_0x455c20(_0x2b411f,{'title':_0x5c0359[_0x3835a9(0x329)],'placement':_0x3835a9(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x3835a9(0x592),'variant':'ghost','type':_0x3835a9(0x52d),'data-toolbar-item':_0x5c0359[_0x3835a9(0x695)],'aria-expanded':_0x5c0359[_0x3835a9(0x1d4)],'aria-label':_0x5c0359[_0x3835a9(0x329)],'className':_0x34395c({'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5c0359[_0x3835a9(0x1d4)]}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x5c0359[_0x3835a9(0x636)]?_0x455c20(_0x3835a9(0x45d),{'aria-hidden':_0x3835a9(0x610),'children':'—'}):_0x5c0359[_0x3835a9(0x36b)]===_0x3835a9(0x4c6)?_0x455c20(_0xbf7f8d,{'className':_0x3835a9(0x290),'extend':{'colorChannel1':_0x5c0359['color']}}):_0x455c20(_0x430b00,{'className':_0x3835a9(0x290),'extend':{'colorChannel1':_0x3835a9(0x402)}}),_0x455c20(_0xb728d6,{'className':'univer-text-xs'})]})})})})});}function Ds(_0x5a8b47){const _0x4a3677=_0x5defcf;let {children:_0x361952,direction:_0x53305b,title:_0x138506,value:_0x36f3ae,open:_0x48c440,options:_0xa0c62f,onChange:_0xf38a4c,onOpenChange:_0x3e4880}=_0x5a8b47,[_0x1b4a25,_0x1155e7]=_0x504879(!0x1),_0x4cb0d7=_0x48c440??_0x1b4a25,_0x3fdfdc=_0x3e4880??_0x1155e7,_0x531230=_0xa0c62f['find'](_0x38469f=>_0x38469f[_0x4a3677(0x38a)]===_0x36f3ae)??_0xa0c62f[0x0];return _0x531230?_0x455c20(as,{'onOpenChange':_0x3fdfdc,'children':({handleOpenChange:_0x3a2776,markInternalInteraction:_0x420e5c})=>_0x455c20(_0x8e5066,{'open':_0x4cb0d7,'onOpenChange':_0x3a2776,'overlay':_0x455c20(_0x4a3677(0x2cb),{'className':_0x34395c(vs,_0x4a3677(0x6ba),_0x2e4a4b),'dir':_0x53305b,'onMouseDown':_0x433035=>{_0x420e5c(),_0x5142db(_0x433035);},'onPointerDown':_0x397e77=>{_0x420e5c(),_0x5142db(_0x397e77);},'children':_0xa0c62f[_0x4a3677(0x295)](_0x31c347=>_0x30f958(_0x186c8e,{'size':_0x4a3677(0x6d9),'variant':'ghost','type':_0x4a3677(0x52d),'onClick':()=>{const _0x5ed847=_0x4a3677;_0xf38a4c(_0x31c347[_0x5ed847(0x38a)]),_0x3fdfdc(!0x1);},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'className':_0x34395c('univer-w-full\x20univer-justify-start\x20rtl:univer-justify-end',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x31c347['value']===_0x36f3ae}),'children':[_0x455c20(_0x4a3677(0x45d),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x31c347[_0x4a3677(0x36b)]}),_0x455c20(_0x4a3677(0x45d),{'className':_0x4a3677(0x1fd),'children':_0x31c347[_0x4a3677(0x3a7)]})]},_0x31c347[_0x4a3677(0x38a)]))}),'children':_0x455c20(_0x4a3677(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x138506,'placement':'bottom','children':_0x30f958(_0x186c8e,{'size':_0x4a3677(0x592),'variant':_0x4a3677(0x3a9),'type':'button','aria-expanded':_0x4cb0d7,'aria-label':_0x138506,'title':_0x138506,'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4cb0d7}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x361952??_0x531230[_0x4a3677(0x36b)],_0x455c20(_0xb728d6,{'className':_0x4a3677(0x3ed)})]})})})})}):null;}function Os(_0x2a7885){const _0x32c938=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x2a7885[_0x32c938(0x329)],'placement':_0x32c938(0x341),'children':_0x455c20('span',{'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x455c20(_0x7dc713,{'borderless':!0x0,'className':_0x34395c(_0x32c938(0x2d7),_0x2a7885[_0x32c938(0x471)]),'value':_0x2a7885[_0x32c938(0x38a)],'options':_0x2a7885['options'],'onChange':_0x2a7885['onChange']})})});}function ks(_0x5a1378){const _0x3f673c=_0x5defcf;let _0x4371cd=_0x41e5c1(_0x494027),_0x286fff=_0x5a1378[_0x3f673c(0x244)]===_0x3f673c(0x3ce)?_0x3f673c(0x54b):_0x5a1378[_0x3f673c(0x244)]===_0x3f673c(0x244)?_0x3f673c(0x3df):_0x5a1378[_0x3f673c(0x244)]===_0x3f673c(0x296)?_0x3f673c(0x526):void 0x0;return _0x5a1378['dash']===_0x3f673c(0x6bc)?_0x455c20(_0x3f673c(0x45d),{'className':'univer-text-xs','children':_0x4371cd['t']('slides-table-ui.editorToolbar.none')}):_0x455c20(_0x3f673c(0x42a),{'aria-hidden':_0x3f673c(0x610),'height':'16','viewBox':'0\x200\x2024\x2016','width':'24','children':_0x455c20(_0x3f673c(0x1cd),{'d':'M3\x208H21','stroke':_0x3f673c(0x29f),'strokeDasharray':_0x286fff,'strokeLinecap':'round','strokeWidth':'2'})});}const As=[_0x5defcf(0x361),_0x5defcf(0x3fd),'medium',_0x5defcf(0x646)],js={'bestMatch':'slides-table-ui.editorToolbar.bestMatch','light':'slides-table-ui.editorToolbar.light','medium':_0x5defcf(0x5a3),'minimal':_0x5defcf(0x2fe)},Ms=[{'key':_0x5defcf(0x216),'labelKey':_0x5defcf(0x5dc)},{'key':_0x5defcf(0x6f3),'labelKey':_0x5defcf(0x30e)},{'key':_0x5defcf(0x35e),'labelKey':'slides-table-ui.editorToolbar.bandedRows'},{'key':_0x5defcf(0x539),'labelKey':_0x5defcf(0x4db)},{'key':_0x5defcf(0x66e),'labelKey':'slides-table-ui.editorToolbar.lastColumn'},{'key':'bandCol','labelKey':_0x5defcf(0x5ad)}];function Ns(_0x160f04){const _0x5a1b9e=_0x5defcf;let {currentOptions:_0x5778fb,currentStyleId:_0x56cc5d,direction:_0x2ba7c9=_0x5a1b9e(0x62c),palette:_0x2ff2f9,showOptions:_0x338125=!0x0,showThemes:_0x4aefd5=!0x0,onApplyTheme:_0x2c946c,onChangeOptions:_0x53debd}=_0x160f04,_0x33577f=_0x41e5c1(_0x494027),_0x49fa27=_0x5f5a44(_0x2ff2f9),_0x1a958a=_0x398a5a=>{_0x53debd({..._0x5778fb,[_0x398a5a]:!_0x5778fb[_0x398a5a]});};return _0x30f958(_0x5a1b9e(0x2cb),{'className':_0x34395c(_0x5a1b9e(0x53d),_0x5a1b9e(0x48b)),'data-u-comp':'slide-table-theme-gallery','dir':_0x2ba7c9,'style':{'direction':_0x2ba7c9},'children':[_0x338125&&_0x30f958('div',{'className':_0x34395c('univer-bg-gray-0\x20univer-p-2\x20dark:!univer-bg-gray-900',_0x5a1b9e(0x24d)),'children':[_0x30f958(_0x5a1b9e(0x2cb),{'className':_0x5a1b9e(0x43b),'children':[_0x455c20(_0x5a1b9e(0x2cb),{'className':'univer-text-sm\x20univer-font-medium','children':_0x33577f['t']('slides-table-ui.editorToolbar.tableTheme')}),_0x455c20(_0x5a1b9e(0x2cb),{'className':'univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x33577f['t'](_0x5a1b9e(0x325))})]}),_0x455c20('div',{'className':_0x34395c(_0x5a1b9e(0x718),'univer-grid-cols-3'),'children':Ms['map'](_0x3da2bc=>_0x455c20(Ps,{'active':!!_0x5778fb[_0x3da2bc[_0x5a1b9e(0x26c)]],'label':_0x33577f['t'](_0x3da2bc[_0x5a1b9e(0x330)]),'onClick':()=>_0x1a958a(_0x3da2bc[_0x5a1b9e(0x26c)])},_0x3da2bc[_0x5a1b9e(0x26c)]))})]}),_0x4aefd5&&_0x455c20(_0x5a1b9e(0x2cb),{'className':_0x34395c(_0x5a1b9e(0x197),_0x5a1b9e(0x206)),'children':As[_0x5a1b9e(0x295)](_0x485316=>{const _0x453303=_0x5a1b9e;let _0x90726e=_0x33b20a['filter'](_0x10aa06=>_0x10aa06[_0x453303(0x707)]===_0x485316);return _0x90726e[_0x453303(0x393)]?_0x30f958(_0x453303(0x2cb),{'className':_0x453303(0x252),'children':[_0x455c20(_0x453303(0x2cb),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x33577f['t'](js[_0x485316])}),_0x455c20(_0x453303(0x2cb),{'className':_0x34395c(_0x453303(0x718),_0x453303(0x3d8)),'children':_0x90726e[_0x453303(0x295)]((_0x497909,_0x22fe3e)=>{const _0x3a6877=_0x453303;if(!_0x49fa27[_0x497909['id']])return null;let _0x454eae=_0x5778fb,_0x1a7f2d=_0x56cc5d===_0x497909['id'],_0x3a7822=_0x33577f['t'](js[_0x485316])+'\x20'+(_0x22fe3e+0x1);return _0x30f958(_0x3a6877(0x52d),{'type':_0x3a6877(0x52d),'aria-label':_0x3a7822,'title':_0x3a7822,'className':_0x34395c('univer-relative\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-shadow-sm\x20dark:!univer-bg-gray-800':_0x1a7f2d}),'onClick':()=>_0x2c946c(_0x497909['id']),'children':[_0x1a7f2d&&_0x455c20(_0x3a6877(0x45d),{'className':_0x3a6877(0x4af),'children':_0x455c20(_0x4b3c87,{'className':_0x3a6877(0x550)})}),_0x455c20(Fs,{'styleId':_0x497909['id'],'options':_0x454eae,'direction':_0x2ba7c9,'palette':_0x2ff2f9})]},_0x497909['id']);})})]},_0x485316):null;})})]});}function Ps(_0x49323b){const _0x35b3f1=_0x5defcf;return _0x455c20(_0x35b3f1(0x2cb),{'aria-pressed':_0x49323b[_0x35b3f1(0x6ae)],'role':_0x35b3f1(0x52d),'tabIndex':0x0,'className':_0x34395c(_0x35b3f1(0x1f6),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-border-primary-500\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x49323b['active']}),'onClick':_0x49323b[_0x35b3f1(0x1c5)],'onKeyDown':_0x147d7d=>{const _0x618bf3=_0x35b3f1;(_0x147d7d[_0x618bf3(0x26c)]===_0x618bf3(0x1d6)||_0x147d7d[_0x618bf3(0x26c)]==='\x20')&&(_0x147d7d['preventDefault'](),_0x49323b[_0x618bf3(0x1c5)]());},'children':_0x455c20(_0x48da8d,{'checked':_0x49323b[_0x35b3f1(0x6ae)],'className':'univer-pointer-events-none\x20univer-w-full\x20univer-min-w-0\x20univer-text-xs','contentClassName':_0x34395c(_0x35b3f1(0x589),_0x49323b['active']&&_0x35b3f1(0x1bf)),'onChange':()=>void 0x0,'children':_0x49323b['label']})});}function Fs(_0x2b8c4b){const _0x59e12d=_0x5defcf;let _0x1df282={'id':_0x59e12d(0x39b),'rev':0x0,'styleId':_0x2b8c4b[_0x59e12d(0x4b1)],'options':_0x2b8c4b['options'],'columns':Array[_0x59e12d(0x684)]({'length':0x5},()=>({'width':0x1})),'rows':Array[_0x59e12d(0x684)]({'length':0x4},()=>({'height':0x1,'cells':Array[_0x59e12d(0x684)]({'length':0x5},()=>({}))}))},_0x5466a7=_0x9eb1b0(_0x1df282,{'themes':_0x5f5a44(_0x2b8c4b[_0x59e12d(0x22b)])});return _0x455c20(_0x59e12d(0x45d),{'className':_0x59e12d(0x4ea),'children':_0x5466a7[_0x59e12d(0x405)][_0x59e12d(0x295)](_0x7a5525=>{const _0x2d3fa7=_0x59e12d;var _0x11851a,_0x4896f1,_0x5432d9,_0x127d77,_0x29e0f9,_0x2d2df8,_0x4d2349,_0x1c8ae3,_0x58617a,_0x1cf95a;let _0x236101=((_0x11851a=_0x7a5525['style'][_0x2d3fa7(0x68f)])==null?void 0x0:_0x11851a[_0x2d3fa7(0x485)])??((_0x4896f1=_0x7a5525[_0x2d3fa7(0x242)]['borders'])==null?void 0x0:_0x4896f1['bottom'])??((_0x5432d9=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x68f)])==null?void 0x0:_0x5432d9[_0x2d3fa7(0x5ee)])??((_0x127d77=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x68f)])==null?void 0x0:_0x127d77[_0x2d3fa7(0x479)]),_0x2620c9=(_0x29e0f9=_0x7a5525['style']['borders'])==null?void 0x0:_0x29e0f9[_0x2d3fa7(0x5ee)],_0x444d91=(_0x2d2df8=_0x7a5525[_0x2d3fa7(0x242)]['borders'])==null?void 0x0:_0x2d2df8[_0x2d3fa7(0x485)],_0x1a0cd8=(_0x4d2349=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x68f)])==null?void 0x0:_0x4d2349[_0x2d3fa7(0x341)],_0x12c6e6=(_0x1c8ae3=_0x7a5525['style'][_0x2d3fa7(0x68f)])==null?void 0x0:_0x1c8ae3[_0x2d3fa7(0x479)],_0x5d29cf=_0x2b8c4b[_0x2d3fa7(0x2eb)]===_0x2d3fa7(0x5b5),_0x13d41e={'background':((_0x58617a=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x394)])==null?void 0x0:_0x58617a[_0x2d3fa7(0x495)])===_0x772d0f[_0x2d3fa7(0x2d4)]?_0x2d3fa7(0x6a2):((_0x1cf95a=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x394)])==null?void 0x0:_0x1cf95a['color'])??_0x2d3fa7(0x6a2),'borderTop':_0x7a5525[_0x2d3fa7(0x4b9)]===0x0?_0x2d3fa7(0x2b7)+((_0x2620c9==null?void 0x0:_0x2620c9[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??_0x2d3fa7(0x6a2)):void 0x0,'borderRight':_0x5d29cf?_0x7a5525[_0x2d3fa7(0x3f1)]===0x0?_0x2d3fa7(0x2b7)+((_0x12c6e6==null?void 0x0:_0x12c6e6[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101['color'])??_0x2d3fa7(0x6a2)):void 0x0:_0x2d3fa7(0x2b7)+((_0x444d91==null?void 0x0:_0x444d91[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??'transparent'),'borderBottom':'1px\x20solid\x20'+((_0x1a0cd8==null?void 0x0:_0x1a0cd8[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??_0x2d3fa7(0x6a2)),'borderLeft':_0x5d29cf?'1px\x20solid\x20'+((_0x444d91==null?void 0x0:_0x444d91[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??'transparent'):_0x7a5525[_0x2d3fa7(0x3f1)]===0x0?'1px\x20solid\x20'+((_0x12c6e6==null?void 0x0:_0x12c6e6[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??_0x2d3fa7(0x6a2)):void 0x0};return _0x455c20('span',{'style':_0x13d41e},_0x7a5525[_0x2d3fa7(0x4b9)]+':'+_0x7a5525[_0x2d3fa7(0x3f1)]);})});}const Is=_0x5defcf(0x506),Ls='slides-table-ui.table-design.cell-style-control',Rs='slides-table-ui.table-design.text-control';function zs(_0x3b876d){const _0x7dd670=_0x5defcf;return _0x3b876d['element'][_0x7dd670(0x495)]===_0x16fba9[_0x7dd670(0x3f9)];}function Bs(){const _0x2c4a39=_0x5defcf;let _0x567d46=_0x41e5c1(_0x506f4d),_0x55913d=_0x41e5c1(_0x462a1f),_0x542a42=_0x41e5c1(_0x2f1910),_0x2f5f34=_0x41e5c1(_0x47dc4d),_0x3351e4=_0x41e5c1(_0x161eee),_0x40ddde=_0x41e5c1(J),_0x4eb748=()=>{const _0xbfb67e=_0x428e;var _0x466357;let _0x38a377=_0x542a42['getSnapshot'](),_0x721052=_0x38a377[_0xbfb67e(0x278)];if(!_0x721052||_0x38a377[_0xbfb67e(0x625)][_0xbfb67e(0x393)]!==0x1)return null;let _0x438c87=_0x55913d['getDrawingByParam']({'unitId':_0x721052['unitId'],'subUnitId':_0x721052[_0xbfb67e(0x6b4)],'drawingId':_0x38a377[_0xbfb67e(0x625)][0x0]});if(!_0x438c87||!zs(_0x438c87))return null;let _0x12d069=_0x3351e4[_0xbfb67e(0x2aa)](_0x438c87[_0xbfb67e(0x379)],_0x438c87[_0xbfb67e(0x571)][_0xbfb67e(0x6a7)]);if(!_0x12d069)return null;let _0x1ebaf4=_0x40ddde[_0xbfb67e(0x1cf)](),_0x275362=(_0x1ebaf4==null?void 0x0:_0x1ebaf4[_0xbfb67e(0x379)])===_0x438c87[_0xbfb67e(0x379)]&&_0x1ebaf4['subUnitId']===_0x438c87[_0xbfb67e(0x6b4)]&&_0x1ebaf4['elementId']===_0x438c87[_0xbfb67e(0x1ba)]&&_0x1ebaf4['tableId']===_0x438c87['element'][_0xbfb67e(0x6a7)]?_0x1ebaf4:null,_0x514bf4=_0x567d46['getConfig'](_0x3aeb3e);return{'drawing':_0x438c87,'editable':(_0x514bf4==null||(_0x466357=_0x514bf4['editor'])==null?void 0x0:_0x466357[_0xbfb67e(0x58c)])!==!0x1,'selection':_0x275362,'table':_0x12d069};};return _0x45a1ca(()=>_0x3b9eaa(_0x542a42[_0x2c4a39(0x6c7)],_0x40ddde['selection$'],_0x2f5f34[_0x2c4a39(0x64e)])[_0x2c4a39(0x5f3)](_0x46fdcb(void 0x0),_0x20d0c3(_0x4eb748)),_0x4eb748(),!0x1,[_0x55913d,_0x542a42,_0x2f5f34,_0x3351e4,_0x40ddde]);}function Vs(_0x216f2e){const _0x25689a=_0x5defcf;let _0x5614a9=_0x41e5c1(J);return _0x455c20('fieldset',{'disabled':_0x216f2e[_0x25689a(0x6aa)],'className':_0x25689a(0x2f1),'onMouseDownCapture':()=>_0x5614a9['markTableInternalInteraction'](),'onPointerDownCapture':()=>_0x5614a9[_0x25689a(0x4ca)](),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x216f2e[_0x25689a(0x43f)]});}function Hs(){const _0x16d2cf=_0x5defcf;var _0xb6e4dc;let _0x47f44b=_0x41e5c1(_0x51671c),_0x1342b8=_0x41e5c1(_0x494027),_0x3954bd=_0x41e5c1(_0x59fee4),_0x68d579=Bs(),[_0x156b6e,_0x5301ac]=_0x504879(!0x1),_0x25409e=_0x33f933(()=>_0x27e190(_0x4a5cf4=>_0x3954bd['getColorFromTheme'](_0x4a5cf4)),[_0x3954bd]),_0x3f30c4=!(_0x68d579!=null&&_0x68d579[_0x16d2cf(0x497)])||((_0xb6e4dc=_0x68d579[_0x16d2cf(0x5d2)])==null?void 0x0:_0xb6e4dc[_0x16d2cf(0x521)])===_0x16d2cf(0x590),_0x1a45b5=_0x44287e=>{const _0x3b08e2=_0x16d2cf;_0x68d579&&!_0x3f30c4&&_0x47f44b[_0x3b08e2(0x38f)](_0x296a89['id'],{'unitId':_0x68d579[_0x3b08e2(0x42f)]['unitId'],'tableId':_0x68d579[_0x3b08e2(0x690)]['id'],'patch':{'styleId':_0x44287e}});};return _0x455c20(Vs,{'disabled':_0x3f30c4,'children':_0x455c20(Cs,{'icon':_0x455c20(_0x16c2d5,{'className':_0x16d2cf(0x219)}),'label':_0x1342b8['t'](_0x16d2cf(0x2c9)),'ribbon':!0x0,'open':_0x156b6e,'onOpenChange':_0x5301ac,'children':_0x68d579?_0x455c20(Ns,{'currentStyleId':_0x68d579['table'][_0x16d2cf(0x4b1)],'currentOptions':_0x68d579['table']['options']??{},'direction':_0x1342b8['getDirection'](),'palette':_0x25409e,'onApplyTheme':_0x259c82=>{_0x1a45b5(_0x259c82),_0x5301ac(!0x1);},'onChangeOptions':_0x4fe034=>{const _0x2d17b1=_0x16d2cf;_0x68d579&&!_0x3f30c4&&_0x47f44b[_0x2d17b1(0x38f)](_0x296a89['id'],{'unitId':_0x68d579[_0x2d17b1(0x42f)][_0x2d17b1(0x379)],'tableId':_0x68d579[_0x2d17b1(0x690)]['id'],'patch':{'options':_0x4fe034}});}}):null})});}function Us(_0xa261e2){let _0x1fb70f=_0x41e5c1(_0x51671c),_0x3701e7=_0x41e5c1(_0x161eee);return _0xfe520b=>{const _0x2258fa=_0x428e;var _0xccf0ca;let _0x593e37=_0xa261e2==null||(_0xccf0ca=_0xa261e2['selection'])==null?void 0x0:_0xccf0ca[_0x2258fa(0x649)][0x0];if(!_0xa261e2||!_0x593e37)return;let _0x49abb1=_0x3701e7[_0x2258fa(0x2aa)](_0xa261e2[_0x2258fa(0x42f)][_0x2258fa(0x379)],_0xa261e2[_0x2258fa(0x690)]['id']);_0x49abb1&&_0x1fb70f[_0x2258fa(0x38f)](_0x296a89['id'],{'unitId':_0xa261e2[_0x2258fa(0x42f)][_0x2258fa(0x379)],'tableId':_0xa261e2['table']['id'],'patch':_0xfe520b(_0x49abb1,_0x593e37)});};}function Ws(){const _0x124b78=_0x5defcf;let _0x3ec71d=_0x41e5c1(_0x494027),_0x1647d3=_0x45a1ca(_0x3ec71d['direction$'],_0x3ec71d[_0x124b78(0x5b4)]()),_0x4bc864=Bs(),_0x1d23f0=Us(_0x4bc864),[_0x4269ad,_0x1c2a3]=_0x504879(null),_0x51a6c2=ns(_0x4bc864==null?void 0x0:_0x4bc864['table'],(_0x4bc864==null?void 0x0:_0x4bc864[_0x124b78(0x5d2)])??null)['values'],_0x2e8cbb=!(_0x4bc864!=null&&_0x4bc864['editable'])||!_0x4bc864[_0x124b78(0x5d2)]||_0x4bc864['selection'][_0x124b78(0x521)]===_0x124b78(0x590);return _0x455c20(Vs,{'disabled':_0x2e8cbb,'children':_0x30f958(_0x124b78(0x2cb),{'className':_0x124b78(0x5d1),'children':[_0x455c20(ss,{'color':_0x51a6c2[_0x124b78(0x5c1)],'value':Mo(_0x51a6c2[_0x124b78(0x679)]),'gradientValue':Io(_0x51a6c2['backgroundFill'],_0x51a6c2[_0x124b78(0x5c1)]),'previewStyle':Ro(_0x51a6c2[_0x124b78(0x679)],_0x51a6c2[_0x124b78(0x5c1)]),'showPreview':!0x1,'tableFill':_0x51a6c2[_0x124b78(0x679)],'mixed':!!_0x51a6c2[_0x124b78(0x636)][_0x124b78(0x679)],'open':_0x4269ad==='background','onOpenChange':_0xd038a2=>_0x1c2a3(_0xd038a2?_0x124b78(0x1a3):null),'onTableFillChange':_0x56a3c8=>_0x1d23f0((_0x202cd8,_0x8b0bc5)=>gi(_0x202cd8,_0x8b0bc5,_0x56a3c8)),'children':_0x455c20(_0x565857,{'extend':{'colorChannel1':_0x51a6c2[_0x124b78(0x5c1)]}})}),_0x455c20(ws,{'direction':_0x1647d3,'color':_0x51a6c2[_0x124b78(0x47c)],'width':_0x51a6c2[_0x124b78(0x191)],'dash':_0x51a6c2['borderDash']??_0x599627[_0x124b78(0x37a)],'presets':hs,'open':_0x4269ad===_0x124b78(0x45a),'mixed':!!(_0x51a6c2[_0x124b78(0x636)]['borderColor']||_0x51a6c2[_0x124b78(0x636)]['borderWidth']||_0x51a6c2[_0x124b78(0x636)]['borderDash']),'onOpenChange':_0xc3d0eb=>_0x1c2a3(_0xc3d0eb?_0x124b78(0x45a):null),'onSelectPreset':_0x36516f=>_0x1d23f0((_0x2032ab,_0x494539)=>bi(_0x2032ab,_0x494539,_0x36516f)),'onChangeColor':_0x1de5fe=>_0x1d23f0((_0x78b9a9,_0x4ab2f3)=>yi(_0x78b9a9,_0x4ab2f3,{'color':_0x1de5fe})),'onChangeWidth':_0x53bf97=>_0x1d23f0((_0x2a5931,_0x72892)=>yi(_0x2a5931,_0x72892,{'width':_0x53bf97,'dash':_0x53bf97===0x0?_0x599627[_0x124b78(0x2d4)]:void 0x0})),'onChangeDash':_0x3e169e=>_0x1d23f0((_0x3ba9e2,_0x5ab3c4)=>yi(_0x3ba9e2,_0x5ab3c4,{'dash':_0x3e169e}))})]})});}function Gs(_0x31596e){const _0x2f154a=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x31596e['title'],'placement':'bottom','children':_0x455c20('button',{'type':_0x2f154a(0x52d),'aria-label':_0x31596e[_0x2f154a(0x329)],'aria-pressed':_0x31596e[_0x2f154a(0x636)]?_0x2f154a(0x636):_0x31596e['active'],'onClick':_0x31596e[_0x2f154a(0x1c5)],'onMouseDown':_0x3c75ed=>_0x3c75ed[_0x2f154a(0x574)](),'className':_0x34395c(_0x2f154a(0x41d),(_0x31596e[_0x2f154a(0x6ae)]||_0x31596e['mixed'])&&_0x2f154a(0x2b1)),'children':_0x31596e['children']})});}function Ks(_0x2caac8){const _0x3edf74=_0x5defcf;let [_0xb63631,_0x1f4db9]=_0x504879(!0x1),_0x2bd3cb=_0x2caac8[_0x3edf74(0x1d9)]['find'](_0x4b833f=>_0x4b833f[_0x3edf74(0x38a)]===_0x2caac8[_0x3edf74(0x38a)])??_0x2caac8['options'][0x0];return _0x455c20(_0x8e5066,{'open':_0xb63631,'onOpenChange':_0x1f4db9,'side':_0x3edf74(0x341),'avoidCollisions':!0x0,'overlay':_0x455c20('div',{'className':'univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x2caac8[_0x3edf74(0x1d9)][_0x3edf74(0x295)](_0x287be5=>_0x30f958('button',{'type':_0x3edf74(0x52d),'aria-label':_0x287be5[_0x3edf74(0x3a7)],'aria-pressed':_0x287be5['value']===_0x2caac8[_0x3edf74(0x38a)],'className':_0x34395c(_0x3edf74(0x4fc),_0x287be5[_0x3edf74(0x38a)]===_0x2caac8[_0x3edf74(0x38a)]&&_0x3edf74(0x2b1)),'onClick':()=>{const _0xa20329=_0x3edf74;_0x2caac8[_0xa20329(0x2e0)](_0x287be5[_0xa20329(0x38a)]),_0x1f4db9(!0x1);},'onMouseDown':_0x5b92a4=>_0x5b92a4['preventDefault'](),'children':[_0x455c20('span',{'className':_0x3edf74(0x6dd),'children':_0x287be5['icon']}),_0x455c20(_0x3edf74(0x45d),{'children':_0x287be5[_0x3edf74(0x3a7)]})]},_0x287be5['value']))}),'children':_0x455c20(_0x3edf74(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x2bd3cb==null?void 0x0:_0x2bd3cb[_0x3edf74(0x3a7)],'placement':_0x3edf74(0x341),'children':_0x30f958(_0x3edf74(0x52d),{'type':_0x3edf74(0x52d),'aria-expanded':_0xb63631,'aria-label':_0x2bd3cb==null?void 0x0:_0x2bd3cb[_0x3edf74(0x3a7)],'className':_0x34395c(_0x3edf74(0x282),(_0xb63631||_0x2caac8['mixed'])&&_0x3edf74(0x2b1)),'onMouseDown':_0x19578c=>_0x19578c[_0x3edf74(0x574)](),'children':[_0x2caac8['mixed']?_0x455c20(_0x3edf74(0x45d),{'aria-hidden':_0x3edf74(0x610),'children':'—'}):_0x2bd3cb==null?void 0x0:_0x2bd3cb[_0x3edf74(0x36b)],_0x455c20(_0xb728d6,{'className':_0x3edf74(0x3ed)})]})})})});}function qs(_0x1cac5c){const _0x5e2087=_0x5defcf;let [_0x58e71a,_0xc6929a]=_0x504879(!0x1);return _0x30f958(_0x5e2087(0x2cb),{'className':_0x5e2087(0x1df),'children':[_0x455c20(Gs,{'active':_0x1cac5c[_0x5e2087(0x6ae)],'mixed':_0x1cac5c['mixed'],'title':_0x1cac5c[_0x5e2087(0x329)],'onClick':_0x1cac5c[_0x5e2087(0x640)],'children':_0x1cac5c[_0x5e2087(0x36b)]}),_0x455c20(_0x8e5066,{'open':_0x58e71a,'onOpenChange':_0xc6929a,'side':'bottom','avoidCollisions':!0x0,'overlay':_0x1cac5c[_0x5e2087(0x1b1)](()=>_0xc6929a(!0x1)),'children':_0x455c20(_0x5e2087(0x52d),{'type':_0x5e2087(0x52d),'aria-expanded':_0x58e71a,'aria-label':_0x1cac5c[_0x5e2087(0x329)],'className':_0x34395c(_0x5e2087(0x266),_0x58e71a&&_0x5e2087(0x2b1)),'onMouseDown':_0x395570=>_0x395570[_0x5e2087(0x574)](),'children':_0x455c20(_0xb728d6,{})})})]});}function Js(_0x15a4f6,_0x3d7e52){const _0x360131=_0x5defcf;let _0x507478=_0x2c2312[_0x360131(0x295)](_0x2d698d=>_0x2d698d[_0x360131(0x38a)]);return _0x3d7e52>0x0?_0x507478[_0x360131(0x461)](_0x299481=>_0x299481>_0x15a4f6)??_0x507478[_0x507478[_0x360131(0x393)]-0x1]??_0x15a4f6:[..._0x507478][_0x360131(0x434)]()[_0x360131(0x461)](_0x16e274=>_0x16e274<_0x15a4f6)??_0x507478[0x0]??_0x15a4f6;}function Ys(){const _0xfc1b39=_0x5defcf;var _0x47ea18;let _0x5e6324=_0x41e5c1(_0x494027),_0x4d465f=Bs(),_0x3e74fc=Us(_0x4d465f),[_0x4af043,_0x5b7298]=_0x504879(null),_0x12bdc9=ns(_0x4d465f==null?void 0x0:_0x4d465f[_0xfc1b39(0x690)],(_0x4d465f==null?void 0x0:_0x4d465f['selection'])??null)[_0xfc1b39(0x267)],_0x5c1e3e=!(_0x4d465f!=null&&_0x4d465f['editable'])||!_0x4d465f['selection'],_0x1af596=[{'label':_0x5e6324['t'](_0xfc1b39(0x28f)),'value':_0x4918fc[_0xfc1b39(0x2a7)],'icon':_0x455c20(_0x9e03d4,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x2a1)),'value':_0x4918fc['CENTER'],'icon':_0x455c20(_0x15fb00,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x57d)),'value':_0x4918fc[_0xfc1b39(0x1d0)],'icon':_0x455c20(_0x47272f,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x596)),'value':_0x4918fc['JUSTIFIED'],'icon':_0x455c20(_0x488b64,{})}],_0x4f65aa=[{'label':_0x5e6324['t'](_0xfc1b39(0x292)),'value':_0x9c0db6[_0xfc1b39(0x64d)],'icon':_0x455c20(_0x406144,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x413)),'value':_0x9c0db6['MIDDLE'],'icon':_0x455c20(_0x4afd92,{})},{'label':_0x5e6324['t']('slides-table-ui.editorToolbar.alignBottom'),'value':_0x9c0db6[_0xfc1b39(0x29b)],'icon':_0x455c20(_0x4b47f3,{})}],_0x4b36cd=_0x4d465f==null||(_0x47ea18=_0x4d465f[_0xfc1b39(0x5d2)])==null?void 0x0:_0x47ea18[_0xfc1b39(0x649)][0x0],_0x2742af=pi(_0x4d465f==null?void 0x0:_0x4d465f[_0xfc1b39(0x690)],_0x4b36cd,_0x28baf8['ORDER_LIST']),_0x139542=pi(_0x4d465f==null?void 0x0:_0x4d465f[_0xfc1b39(0x690)],_0x4b36cd,_0x28baf8[_0xfc1b39(0x210)]),_0x308c00=[{'key':_0xfc1b39(0x5a5),'title':_0x5e6324['t']('slides-table-ui.editorToolbar.bold'),'active':_0x12bdc9[_0xfc1b39(0x5a5)],'mixed':!!_0x12bdc9['mixed'][_0xfc1b39(0x5a5)],'icon':_0x455c20(_0x4fb6d4,{}),'patch':{'bl':_0x12bdc9[_0xfc1b39(0x636)]['bold']||!_0x12bdc9['bold']?_0x3fcebf[_0xfc1b39(0x298)]:_0x3fcebf[_0xfc1b39(0x403)]}},{'key':'italic','title':_0x5e6324['t'](_0xfc1b39(0x50a)),'active':_0x12bdc9['italic'],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x1eb)],'icon':_0x455c20(_0x8f99bc,{}),'patch':{'it':_0x12bdc9[_0xfc1b39(0x636)]['italic']||!_0x12bdc9[_0xfc1b39(0x1eb)]?_0x3fcebf[_0xfc1b39(0x298)]:_0x3fcebf['FALSE']}},{'key':_0xfc1b39(0x2b9),'title':_0x5e6324['t'](_0xfc1b39(0x577)),'active':_0x12bdc9[_0xfc1b39(0x2b9)],'mixed':!!_0x12bdc9['mixed'][_0xfc1b39(0x2b9)],'icon':_0x455c20(_0x1c7e39,{}),'patch':{'ul':{'s':_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x2b9)]||!_0x12bdc9[_0xfc1b39(0x2b9)]?_0x3fcebf[_0xfc1b39(0x298)]:_0x3fcebf['FALSE']}}},{'key':'strikethrough','title':_0x5e6324['t'](_0xfc1b39(0x436)),'active':_0x12bdc9[_0xfc1b39(0x69c)],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x69c)],'icon':_0x455c20(_0x2f2343,{}),'patch':{'st':{'s':_0x12bdc9[_0xfc1b39(0x636)]['strike']||!_0x12bdc9[_0xfc1b39(0x69c)]?_0x3fcebf['TRUE']:_0x3fcebf[_0xfc1b39(0x403)]}}}];return _0x455c20(Vs,{'disabled':_0x5c1e3e,'children':_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x615),'children':[_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x504),'children':[_0x455c20(_0x5bcadb,{'ariaLabel':_0x5e6324['t'](_0xfc1b39(0x36d)),'className':_0xfc1b39(0x23f),'inputClassName':'univer-w-auto','value':_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x6cd)]?'':_0x12bdc9[_0xfc1b39(0x6cd)],'onChange':_0x5db834=>_0x3e74fc((_0xe7862b,_0x839be)=>xi(_0xe7862b,_0x839be,_0x5db834))}),_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x3f6),'children':[_0x455c20(Os,{'title':_0x5e6324['t'](_0xfc1b39(0x35a)),'widthClassName':_0xfc1b39(0x1ee),'value':_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x3cf)]?'':String(_0x12bdc9[_0xfc1b39(0x3cf)]),'options':_0x12bdc9[_0xfc1b39(0x636)]['fontSize']?[{'label':'—','value':''},...fs]:Vo(fs,String(_0x12bdc9[_0xfc1b39(0x3cf)])),'onChange':_0x5ddf7f=>{const _0x416025=_0xfc1b39;let _0x2d7c50=Number(_0x5ddf7f);_0x5ddf7f&&!Number[_0x416025(0x4b2)](_0x2d7c50)&&_0x3e74fc((_0x824be7,_0x5ca281)=>Si(_0x824be7,_0x5ca281,_0x2d7c50));}}),_0x455c20(Gs,{'title':_0x5e6324['t'](_0xfc1b39(0x44f)),'onClick':()=>_0x3e74fc((_0x435475,_0x56802c)=>Si(_0x435475,_0x56802c,Js(_0x12bdc9[_0xfc1b39(0x3cf)],0x1))),'children':_0x455c20(_0x305928,{})}),_0x455c20(Gs,{'title':_0x5e6324['t']('slides-table-ui.editorToolbar.decreaseFontSize'),'onClick':()=>_0x3e74fc((_0x51bb73,_0x300414)=>Si(_0x51bb73,_0x300414,Js(_0x12bdc9[_0xfc1b39(0x3cf)],-0x1))),'children':_0x455c20(_0x5f102a,{})})]})]}),_0x455c20(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x19b),'children':_0x308c00[_0xfc1b39(0x295)](_0x1c5244=>_0x455c20(Gs,{'title':_0x1c5244[_0xfc1b39(0x329)],'active':_0x1c5244[_0xfc1b39(0x6ae)],'mixed':_0x1c5244[_0xfc1b39(0x636)],'onClick':()=>_0x3e74fc((_0xa014e2,_0x63e17f)=>Li(_0xa014e2,_0x63e17f,_0x1c5244[_0xfc1b39(0x29c)])),'children':_0x1c5244[_0xfc1b39(0x36b)]},_0x1c5244[_0xfc1b39(0x26c)]))}),_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x57a),'children':[_0x455c20(Es,{'data-toolbar-item':'ribbon-text-color','title':_0x5e6324['t']('slides-table-ui.editorToolbar.textColor'),'color':_0x12bdc9[_0xfc1b39(0x3e5)],'mixed':!!(_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x3e5)]||_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x417)]),'icon':_0xfc1b39(0x4c6),'open':_0x4af043===_0xfc1b39(0x3e5),'onOpenChange':_0x2b6200=>_0x5b7298(_0x2b6200?'textColor':null),'onChange':_0x6aa3cc=>_0x3e74fc((_0x282c92,_0x19e7e7)=>vi(_0x282c92,_0x19e7e7,{'type':_0xfc1b39(0x71a),'color':_0x6aa3cc,'opacity':0x1}))}),_0x455c20(Es,{'data-toolbar-item':_0xfc1b39(0x3c2),'title':_0x5e6324['t']('slides-table-ui.editorToolbar.textBackgroundColor'),'color':_0x12bdc9[_0xfc1b39(0x543)],'mixed':!!_0x12bdc9['mixed'][_0xfc1b39(0x543)],'icon':_0xfc1b39(0x488),'open':_0x4af043===_0xfc1b39(0x40a),'onOpenChange':_0x41daa0=>_0x5b7298(_0x41daa0?_0xfc1b39(0x40a):null),'onChange':_0x39be41=>_0x3e74fc((_0x1b2946,_0x566305)=>Li(_0x1b2946,_0x566305,{'bg':{'rgb':_0x39be41}}))})]}),_0x30f958(_0xfc1b39(0x2cb),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-x-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','children':[_0x455c20(Ks,{'options':_0x1af596,'value':_0x12bdc9[_0xfc1b39(0x575)],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x575)],'onChange':_0x5b59e3=>_0x3e74fc((_0x5c57b2,_0x49afd2)=>di(_0x5c57b2,_0x49afd2,{'axis':'horizontal','value':_0x5b59e3}))}),_0x455c20(qs,{'title':_0x5e6324['t'](_0xfc1b39(0x311)),'icon':_0x455c20(_0x53b5c0,{}),'active':_0x2742af['active'],'mixed':_0x2742af[_0xfc1b39(0x636)],'onToggle':()=>_0x3e74fc((_0x5cdd8c,_0x328eea)=>fi(_0x5cdd8c,_0x328eea,_0x2742af[_0xfc1b39(0x6ae)]?null:_0x28baf8[_0xfc1b39(0x69a)])),'picker':_0x27e685=>_0x455c20(_0x225c4a,{'value':_0x2742af[_0xfc1b39(0x38a)],'onChange':_0x31c03c=>{_0x31c03c&&(_0x3e74fc((_0xd72bd1,_0x5ef03a)=>fi(_0xd72bd1,_0x5ef03a,_0x31c03c)),_0x27e685());}})}),_0x455c20(Ks,{'options':_0x4f65aa,'value':_0x12bdc9['verticalAlign'],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x385)],'onChange':_0x451a2d=>_0x3e74fc((_0x47ddf8,_0x138fe1)=>di(_0x47ddf8,_0x138fe1,{'axis':_0xfc1b39(0x511),'value':_0x451a2d}))}),_0x455c20(qs,{'title':_0x5e6324['t'](_0xfc1b39(0x4ad)),'icon':_0x455c20(_0x308075,{}),'active':_0x139542[_0xfc1b39(0x6ae)],'mixed':_0x139542[_0xfc1b39(0x636)],'onToggle':()=>_0x3e74fc((_0x2f05d2,_0xa9e681)=>fi(_0x2f05d2,_0xa9e681,_0x139542['active']?null:_0x28baf8[_0xfc1b39(0x210)])),'picker':_0x15ab7a=>_0x455c20(_0x54c75a,{'value':_0x139542[_0xfc1b39(0x38a)],'onChange':_0x312334=>{_0x312334&&(_0x3e74fc((_0x2477dd,_0x4a4552)=>fi(_0x2477dd,_0x4a4552,_0x312334)),_0x15ab7a());}})})]})]})});}let Xs=class extends _0x5c53fd{constructor(_0x113cb3,_0x3aae6d){const _0x54280b=_0x5defcf;super(),this['_componentManager']=_0x113cb3,this[_0x54280b(0x4b7)]=_0x3aae6d,this['disposeWithMe'](this[_0x54280b(0x4b7)][_0x54280b(0x5ce)]({'AdjustHeightDoubleIcon':_0x32f892,'AdjustWidthDoubleIcon':_0x320b22,'CancelMergeIcon':_0x519ea5,'DeleteColumnDoubleIcon':_0x21a208,'DeleteRowDoubleIcon':_0x26aad9,'InsertRowAboveDoubleIcon':_0x42fc83,'InsertRowBelowDoubleIcon':_0x7d12ef,'LeftInsertColumnDoubleIcon':_0x56c99b,'MergeAllIcon':_0x109256,'RightInsertColumnDoubleIcon':_0x5d154e,'TableIcon':_0x4871d5})),this['disposeWithMe'](this['_componentManager'][_0x54280b(0x5ce)](ho,yo)),this['disposeWithMe'](this[_0x54280b(0x1ae)][_0x54280b(0x5ce)](io,vo)),this[_0x54280b(0x40f)](this['_componentManager'][_0x54280b(0x5ce)](Is,Hs)),this[_0x54280b(0x40f)](this['_componentManager'][_0x54280b(0x5ce)](Ls,Ws)),this[_0x54280b(0x40f)](this[_0x54280b(0x1ae)][_0x54280b(0x5ce)](Rs,Ys));}};Xs=Ha([Q(0x0,_0x41ffca(_0x2a5658)),Q(0x1,_0x41ffca(_0xed296f))],Xs);function Zs(_0x7d56f9,_0x1ccf51,_0x581e25){const _0x3aacc0=_0x5defcf;if(_0x1ccf51<0x0||_0x581e25<0x0||_0x1ccf51>_0x7d56f9[_0x3aacc0(0x58e)]||_0x581e25>_0x7d56f9[_0x3aacc0(0x65e)])return null;let _0x482490=_0x7d56f9['cells']['find'](_0x54127c=>!_0x54127c[_0x3aacc0(0x3f5)]&&Qs(_0x54127c,_0x1ccf51,_0x581e25));return _0x482490?{'kind':'cell','row':_0x482490['row'],'column':_0x482490['column']}:null;}function Qs(_0x2920e9,_0x2f65a5,_0x5df84c){const _0x3e1dc4=_0x5defcf;return _0x2f65a5>=_0x2920e9['bounds'][_0x3e1dc4(0x479)]&&_0x2f65a5<=_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x479)]+_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x58e)]&&_0x5df84c>=_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x5ee)]&&_0x5df84c<=_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x5ee)]+_0x2920e9['bounds'][_0x3e1dc4(0x65e)];}function $s(_0x36283a){const _0x4efd37=_0x5defcf;var _0x22a473;let {selection:_0x57317e,table:_0x56c3b2,tableHeight:_0x2213ce,tableWidth:_0x3d77b8}=_0x36283a,_0x2af997=_0x57317e==null?void 0x0:_0x57317e[_0x4efd37(0x649)][0x0];if(!_0x57317e||!_0x56c3b2||!_0x2af997)return null;let _0x648fc8=_0x57317e[_0x4efd37(0x61b)]??_0x57317e['anchor']??dc(_0x2af997);if(!_0x648fc8)return null;let _0x2830b5=_0x9eb1b0(_0x56c3b2),_0xcd3a69=_0x2830b5[_0x4efd37(0x405)][_0x4efd37(0x461)](_0x3c18aa=>!_0x3c18aa[_0x4efd37(0x3f5)]&&_0x3c18aa['row']===_0x648fc8['row']&&_0x3c18aa[_0x4efd37(0x3f1)]===_0x648fc8[_0x4efd37(0x3f1)])??_0x2830b5['cells'][_0x4efd37(0x461)](_0x421144=>!_0x421144[_0x4efd37(0x3f5)]&&_0x648fc8[_0x4efd37(0x4b9)]>=_0x421144[_0x4efd37(0x4b9)]&&_0x648fc8[_0x4efd37(0x4b9)]<_0x421144[_0x4efd37(0x4b9)]+_0x421144[_0x4efd37(0x3bb)]&&_0x648fc8[_0x4efd37(0x3f1)]>=_0x421144[_0x4efd37(0x3f1)]&&_0x648fc8['column']<_0x421144['column']+_0x421144[_0x4efd37(0x4c5)]);if(!_0xcd3a69)return null;let _0x20a7e8=mc(_0x3d77b8/_0x2830b5[_0x4efd37(0x58e)],0x1),_0x47be91=mc(_0x2213ce/_0x2830b5[_0x4efd37(0x65e)],0x1),_0x261925=(_0x22a473=_0x56c3b2[_0x4efd37(0x360)][_0xcd3a69[_0x4efd37(0x4b9)]])==null?void 0x0:_0x22a473[_0x4efd37(0x405)][_0xcd3a69[_0x4efd37(0x3f1)]];return{'row':_0xcd3a69[_0x4efd37(0x4b9)],'column':_0xcd3a69['column'],'cellStyle':_0xcd3a69[_0x4efd37(0x242)],'rect':fc({'left':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x479)]*_0x20a7e8,'top':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x5ee)]*_0x47be91,'width':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x58e)]*_0x20a7e8,'height':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x65e)]*_0x47be91},_0xcd3a69[_0x4efd37(0x242)][_0x4efd37(0x4f7)]),'documentData':ic(_0x261925==null?void 0x0:_0x261925['textData'],uc(_0x56c3b2['id'],_0xcd3a69['row'],_0xcd3a69[_0x4efd37(0x3f1)]))};}function ec(_0x2727e2,_0x3380f4,_0x9fed15,_0x1992dc=''){return ic({'id':uc(_0x2727e2,_0x3380f4,_0x9fed15),'body':{'dataStream':_0x1992dc+'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}},uc(_0x2727e2,_0x3380f4,_0x9fed15));}function tc(_0x51211c,_0x52aa35){const _0x17b067=_0x5defcf;var _0x190694;let _0xb76efc=_0x52aa35['replace'](/\r\n/g,'\x0d')[_0x17b067(0x48c)](/\n/g,'\x0d')+'\x0d\x0a',_0x1814bf=Math[_0x17b067(0x6bf)](0x0,_0xb76efc[_0x17b067(0x393)]-0x2),_0x4327ef=(_0x190694=_0x51211c[_0x17b067(0x291)])==null||(_0x190694=_0x190694[_0x17b067(0x46a)])==null||(_0x190694=_0x190694['find'](_0x1adc5d=>_0x1adc5d['ts']))==null?void 0x0:_0x190694['ts'];return ic({..._0xdc70f2[_0x17b067(0x597)](_0x51211c),'body':{..._0x51211c[_0x17b067(0x291)],'dataStream':_0xb76efc,'paragraphs':ac(_0xb76efc),'textRuns':_0x4327ef&&_0x1814bf>0x0?[{'st':0x0,'ed':_0x1814bf,'ts':{..._0x4327ef}}]:[]}},_0x51211c['id']??'SLIDE_TABLE_CELL');}function nc(_0x31d698){const _0x51ac35=_0x5defcf;var _0x3d75f3,_0x506066;let {rect:_0x84ff78,scenePointToViewportPoint:_0x32cefc,tableTransform:_0x261669}=_0x31d698,_0x2b3332=pc(_0x261669[_0x51ac35(0x479)],0x0),_0x54717b=pc(_0x261669['top'],0x0),_0x50eaed=mc(_0x261669[_0x51ac35(0x58e)],0x1),_0x19b2aa=mc(_0x261669[_0x51ac35(0x65e)],0x1),_0x3e9db6=mc(_0x84ff78[_0x51ac35(0x58e)],0x1),_0x445aee=mc(_0x84ff78['height'],0x1),_0x3f8ea2=_0x84ff78[_0x51ac35(0x479)]+_0x3e9db6/0x2-_0x50eaed/0x2,_0x57d24c=_0x84ff78['top']+_0x445aee/0x2-_0x19b2aa/0x2,_0x42014c=pc(_0x261669[_0x51ac35(0x2c3)],0x0)*Math['PI']/0xb4,_0x576f58=_0x3f8ea2*Math[_0x51ac35(0x2b5)](_0x42014c)-_0x57d24c*Math[_0x51ac35(0x1c1)](_0x42014c),_0x1dbc76=_0x3f8ea2*Math[_0x51ac35(0x1c1)](_0x42014c)+_0x57d24c*Math[_0x51ac35(0x2b5)](_0x42014c),_0x595a58=_0x32cefc({'x':_0x2b3332+_0x50eaed/0x2+_0x576f58,'y':_0x54717b+_0x19b2aa/0x2+_0x1dbc76});return{'rect':{'left':_0x595a58['x']-_0x3e9db6/0x2,'top':_0x595a58['y']-_0x445aee/0x2,'width':_0x3e9db6,'height':_0x445aee},'scale':{'scaleX':mc((_0x3d75f3=_0x31d698[_0x51ac35(0x2e3)])==null?void 0x0:_0x3d75f3['scaleX'],0x1),'scaleY':mc((_0x506066=_0x31d698['scale'])==null?void 0x0:_0x506066[_0x51ac35(0x6c3)],0x1)},'transform':{'angle':0x0,'flipX':!0x1,'flipY':_0x261669['flipY']}};}function rc(_0xf23475,_0x324d93,_0x3c129d){const _0x364517=_0x5defcf;return _0xf23475?{'commandId':_0x3c129d,'params':{'unitId':_0xf23475[_0x364517(0x379)],'tableId':_0xf23475[_0x364517(0x6a7)],'row':_0xf23475['row'],'column':_0xf23475['column'],'textData':_0x324d93}}:null;}function ic(_0x34e194,_0x267faa){const _0x2d03d8=_0x5defcf;var _0x20e1d5,_0x58b4a3,_0x42c003,_0x1ebcdb,_0xcdffc6;let _0x444380=_0x1a12a2(_0xdc70f2[_0x2d03d8(0x597)](_0x34e194??{'id':_0x267faa,'body':{'dataStream':'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}})),_0x9e5ea6=((_0x20e1d5=_0x444380[_0x2d03d8(0x291)])==null?void 0x0:_0x20e1d5[_0x2d03d8(0x41f)])??'\x0d\x0a',_0x416d93=(_0x58b4a3=_0x444380[_0x2d03d8(0x6e1)])==null||(_0x58b4a3=_0x58b4a3['renderConfig'])==null?void 0x0:_0x58b4a3[_0x2d03d8(0x575)],_0x5be22d={..._0x444380[_0x2d03d8(0x291)],'dataStream':_0x9e5ea6,'paragraphs':oc(cc((_0x42c003=_0x444380[_0x2d03d8(0x291)])!=null&&(_0x42c003=_0x42c003[_0x2d03d8(0x307)])!=null&&_0x42c003[_0x2d03d8(0x393)]?_0x444380[_0x2d03d8(0x291)][_0x2d03d8(0x307)]:ac(_0x9e5ea6)),_0x416d93),'textRuns':sc(((_0x1ebcdb=_0x444380[_0x2d03d8(0x291)])==null?void 0x0:_0x1ebcdb['textRuns'])??[])},_0x1d1ebe=_0x444380[_0x2d03d8(0x6e1)]?{..._0x444380['documentStyle']}:{};return(_0xcdffc6=_0x1d1ebe[_0x2d03d8(0x4e6)])!=null&&_0xcdffc6['bg']&&(_0x1d1ebe['textStyle']={..._0x1d1ebe[_0x2d03d8(0x4e6)]},delete _0x1d1ebe[_0x2d03d8(0x4e6)]['bg']),{..._0x444380,'id':_0x444380['id']??_0x267faa,'body':_0x5be22d,'documentStyle':{..._0x1d1ebe,'documentFlavor':_0x402f0e[_0x2d03d8(0x35f)]}};}function ac(_0x528165){const _0x52d5b9=_0x5defcf;let _0x181af6=Math[_0x52d5b9(0x6bf)](0x1,_0x528165[_0x52d5b9(0x24e)]('\x0d')[_0x52d5b9(0x393)]-0x1),_0x2bcd44=0x0;return Array['from']({'length':_0x181af6},()=>{const _0x48bf19=_0x52d5b9;let _0x319639=lc(_0x2bcd44),_0xfbe74=_0x528165[_0x48bf19(0x384)]('\x0d',_0x2bcd44);return _0x2bcd44=_0xfbe74>=0x0?_0xfbe74+0x1:_0x528165[_0x48bf19(0x393)],_0x319639;});}function oc(_0x1dcb94,_0x3f20fb){const _0x2af6ab=_0x5defcf;return _0x3f20fb===void 0x0?_0x1dcb94:_0x1dcb94[_0x2af6ab(0x295)](_0x3f0bea=>({..._0x3f0bea,'paragraphStyle':{..._0x3f0bea['paragraphStyle'],'horizontalAlign':_0x3f20fb}}));}function sc(_0x285dd7){const _0x1d1e51=_0x5defcf;return _0x285dd7[_0x1d1e51(0x295)](_0x21d392=>{var _0x51d544;if(!((_0x51d544=_0x21d392['ts'])!=null&&_0x51d544['bg']))return _0x21d392;let _0x45d04a={..._0x21d392['ts']};return delete _0x45d04a['bg'],{..._0x21d392,'ts':_0x45d04a};});}function cc(_0x251a36){const _0x1c6248=_0x5defcf;return _0x251a36!=null&&_0x251a36[_0x1c6248(0x393)]?_0x251a36['map']((_0x26b589,_0x45d8e1)=>({..._0x26b589,'startIndex':typeof _0x26b589[_0x1c6248(0x586)]==_0x1c6248(0x716)?_0x26b589[_0x1c6248(0x586)]:_0x45d8e1,'paragraphId':_0x26b589[_0x1c6248(0x356)]??_0x63a614(new Set())})):[lc()];}function lc(_0x31b57a=0x0){return{'startIndex':_0x31b57a,'paragraphId':_0x63a614(new Set())};}function uc(_0x3d850,_0x589e64,_0x1ac625){return'SLIDE_TABLE_CELL_'+_0x3d850+'_'+_0x589e64+'_'+_0x1ac625;}function dc(_0x33fd3a){const _0x4f10c5=_0x5defcf;let _0x2728e0=_0x4a84fc(_0x33fd3a);return{'row':_0x2728e0['startRow'],'column':_0x2728e0[_0x4f10c5(0x3cc)]};}function fc(_0x375d37,_0x14452b){const _0x258275=_0x5defcf;let _0x1fa4d6=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x479)],0x4),_0x4c7d38=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x485)],0x4),_0x32d2bd=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x5ee)],0x4),_0xdeb4ed=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x341)],0x4);return{'left':_0x375d37[_0x258275(0x479)]+_0x1fa4d6,'top':_0x375d37[_0x258275(0x5ee)]+_0x32d2bd,'width':Math[_0x258275(0x6bf)](0x1,_0x375d37[_0x258275(0x58e)]-_0x1fa4d6-_0x4c7d38),'height':Math[_0x258275(0x6bf)](0x1,_0x375d37[_0x258275(0x65e)]-_0x32d2bd-_0xdeb4ed)};}function pc(_0xebffcf,_0x41fe47){const _0x327c50=_0x5defcf;return typeof _0xebffcf==_0x327c50(0x716)&&Number[_0x327c50(0x401)](_0xebffcf)?_0xebffcf:_0x41fe47;}function mc(_0x111810,_0x17d42c){const _0x5a183d=_0x5defcf;let _0xca7e4d=pc(_0x111810,_0x17d42c);return _0xca7e4d>0x0?_0xca7e4d:Math[_0x5a183d(0x6bf)](0x1,_0x17d42c);}function hc(_0x3651b1){return _0x3651b1===!0x0||_0x3651b1===0x1;}function gc(_0x12d5a9){const _0x1e29d5=_0x5defcf;return typeof(_0x12d5a9==null?void 0x0:_0x12d5a9[_0x1e29d5(0x658)])=='string'&&_0x12d5a9[_0x1e29d5(0x658)][_0x1e29d5(0x2e9)]()['length']>0x0;}function _c(_0x3b0a96,_0x19dfdd){const _0x58d687=_0x5defcf;let _0xb2a797=_0x3b0a96==null?void 0x0:_0x3b0a96[_0x58d687(0x6ce)],_0x3a882d=(_0xb2a797==null?void 0x0:_0xb2a797[_0x58d687(0x386)])||(_0xb2a797==null?void 0x0:_0xb2a797['ba'])||_0x19dfdd[_0x58d687(0x3cb)]||0x0,_0x3a4822=(_0xb2a797==null?void 0x0:_0xb2a797[_0x58d687(0x653)])||(_0xb2a797==null?void 0x0:_0xb2a797['bd'])||_0x19dfdd['dsc']||0x0;return _0x3a882d===0x0&&_0x3a4822===0x0?null:{'ascent':_0x3a882d,'descent':_0x3a4822};}function vc(_0x24d2a6,_0x410f04,_0x2444ea){const _0x571003=_0x5defcf;var _0x2f01f7;if(_0x2444ea===void 0x0||_0x2444ea===_0x9c0db6[_0x571003(0x35f)])return 0x0;let _0x436f60=_0x24d2a6['getSkeletonData']();if(!(_0x436f60!=null&&(_0x2f01f7=_0x436f60[_0x571003(0x3a4)])!=null&&_0x2f01f7[_0x571003(0x393)]))return 0x0;let _0x5d16d8=0x1/0x0,_0x169c56=-0x1/0x0,_0x145569=0x0;for(let _0x35eaac of _0x436f60[_0x571003(0x3a4)]){let _0x6d3e67=_0x35eaac[_0x571003(0x67d)]??0x0;for(let _0x1d0883 of _0x35eaac[_0x571003(0x5cb)]??[]){let _0x4fbf01=_0x1d0883[_0x571003(0x5ee)]??0x0;for(let _0x2fa191 of _0x1d0883[_0x571003(0x5ca)]??[])for(let _0x134c7c of _0x2fa191[_0x571003(0x549)]??[]){let _0xa757b5=_0x145569+_0x6d3e67+_0x4fbf01+(_0x134c7c['top']??0x0)+(_0x134c7c[_0x571003(0x67d)]??0x0)+(_0x134c7c[_0x571003(0x629)]??0x0)+(_0x134c7c[_0x571003(0x3cb)]??0x0);for(let _0x5c62c6 of _0x134c7c[_0x571003(0x3ee)]??[])for(let _0x53f9ed of _0x5c62c6[_0x571003(0x507)]??[]){if(!gc(_0x53f9ed))continue;let _0x41001b=_c(_0x53f9ed,_0x134c7c);_0x41001b&&(_0x5d16d8=Math[_0x571003(0x4a7)](_0x5d16d8,_0xa757b5-_0x41001b['ascent']),_0x169c56=Math[_0x571003(0x6bf)](_0x169c56,_0xa757b5+_0x41001b['descent']));}}}let _0x3b35f6=Number[_0x571003(0x401)](_0x35eaac[_0x571003(0x6ab)])?_0x35eaac[_0x571003(0x6ab)]:_0x35eaac[_0x571003(0x65e)];_0x145569+=_0x3b35f6??0x0;}return!Number[_0x571003(0x401)](_0x5d16d8)||!Number[_0x571003(0x401)](_0x169c56)?0x0:_0x2444ea===_0x9c0db6[_0x571003(0x29b)]?_0x410f04-_0x169c56:_0x2444ea===_0x9c0db6[_0x571003(0x4ce)]?_0x410f04/0x2-(_0x5d16d8+_0x169c56)/0x2:_0x2444ea===_0x9c0db6[_0x571003(0x64d)]?-_0x5d16d8:0x0;}function yc(_0x3473ea,_0x5991d4){const _0x58c1d6=_0x5defcf;let _0x25e827=_0xdc70f2[_0x58c1d6(0x597)](_0x3473ea),_0x25640d=_0x25e827[_0x58c1d6(0x6e1)]??{},_0x5daf89={..._0x25640d['renderConfig']};if(_0x5991d4[_0x58c1d6(0x575)]!==void 0x0){_0x5daf89[_0x58c1d6(0x575)]=_0x5991d4['horizontalAlign'];let _0xd681e8=_0x25e827['body'],_0x1e392b=_0xd681e8==null?void 0x0:_0xd681e8[_0x58c1d6(0x307)];_0x1e392b&&(_0xd681e8[_0x58c1d6(0x307)]=_0x1e392b[_0x58c1d6(0x295)](_0x5ba478=>{const _0x3b94eb=_0x58c1d6;var _0x95bd97;return((_0x95bd97=_0x5ba478[_0x3b94eb(0x6a3)])==null?void 0x0:_0x95bd97['horizontalAlign'])===void 0x0?{..._0x5ba478,'paragraphStyle':{..._0x5ba478[_0x3b94eb(0x6a3)],'horizontalAlign':_0x5991d4[_0x3b94eb(0x575)]}}:_0x5ba478;}));}return _0x5991d4[_0x58c1d6(0x385)]!==void 0x0&&(_0x5daf89[_0x58c1d6(0x385)]=_0x5991d4['verticalAlign']),_0x25e827[_0x58c1d6(0x6e1)]={..._0x25640d,'renderConfig':Object[_0x58c1d6(0x64a)](_0x5daf89)[_0x58c1d6(0x393)]>0x0?_0x5daf89:void 0x0},_0x25e827;}function bc(_0x2d77ef){const _0x1a8c25=_0x5defcf;let _0x398722=_0x2d77ef[_0x1a8c25(0x291)],_0x18c02c=_0x398722==null?void 0x0:_0x398722['paragraphs'],_0xb88131=_0x398722==null?void 0x0:_0x398722[_0x1a8c25(0x41f)];if(!_0x398722||!_0xb88131)return;let _0x39505d=[];for(let _0x72af08=0x0;_0x72af08<_0xb88131[_0x1a8c25(0x393)];_0x72af08++)_0xb88131[_0x72af08]==='\x0d'&&_0x39505d[_0x1a8c25(0x6e6)](_0x72af08);let _0x1db3fc=new Set((_0x18c02c??[])['map'](_0x30d764=>_0x30d764[_0x1a8c25(0x356)])[_0x1a8c25(0x439)](_0x94061c=>!!_0x94061c));_0x398722[_0x1a8c25(0x307)]=_0x39505d[_0x1a8c25(0x295)]((_0x31d6c7,_0x474ffa)=>{const _0x5add2a=_0x1a8c25;var _0x41eda4;return{..._0x18c02c==null?void 0x0:_0x18c02c[_0x474ffa],'startIndex':_0x31d6c7,'paragraphId':(_0x18c02c==null||(_0x41eda4=_0x18c02c[_0x474ffa])==null?void 0x0:_0x41eda4[_0x5add2a(0x356)])??_0x63a614(_0x1db3fc)};});}function xc(_0x1c215e,_0x3a34eb){const _0x29ac7b=_0x5defcf;var _0x2009d8,_0x2ff486;let _0x61c9ad=(_0x2009d8=_0x1c215e[_0x29ac7b(0x6e1)])==null?void 0x0:_0x2009d8['renderConfig'],_0x5e092d=yc(_0x1c215e,{'horizontalAlign':_0x3a34eb[_0x29ac7b(0x575)]??(_0x61c9ad==null?void 0x0:_0x61c9ad['horizontalAlign']),'verticalAlign':_0x3a34eb['verticalAlign']});bc(_0x5e092d);let _0x1ce678=_0x5e092d[_0x29ac7b(0x6e1)]??{},_0x2b1f0e=_0x3a34eb['isHorizontal']!==!0x1,_0x1bfb76={..._0x1ce678[_0x29ac7b(0x1ef)],'wrapStrategy':_0x3a34eb[_0x29ac7b(0x1cc)]??((_0x2ff486=_0x1ce678['renderConfig'])==null?void 0x0:_0x2ff486[_0x29ac7b(0x1cc)])??_0x5d1e12[_0x29ac7b(0x5c4)]};return delete _0x1bfb76['horizontalAlign'],_0x2b1f0e?(delete _0x1bfb76[_0x29ac7b(0x1f4)],delete _0x1bfb76[_0x29ac7b(0x1be)]):(_0x1bfb76[_0x29ac7b(0x1f4)]=_0x321b3c,_0x1bfb76[_0x29ac7b(0x1be)]=_0x321b3c),_0x5e092d[_0x29ac7b(0x6e1)]={..._0x1ce678,'documentFlavor':_0x402f0e[_0x29ac7b(0x601)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2b1f0e?_0x3a34eb['width']:_0x3a34eb[_0x29ac7b(0x65e)],'height':0x1/0x0},'renderConfig':_0x1bfb76},_0x5e092d;}function Sc(_0x153830){const _0x252116=_0x5defcf;var _0x362f1c;let {documentData:_0x12eee3,id:_0x407f58=_0x252116(0x5e2),isHorizontal:_0x53a36f,localeService:_0xa80798,horizontalAlign:_0x32235c,verticalAlign:_0x1d47f1,size:_0x4e9193}=_0x153830,_0x15d903={'width':_0x4e9193[_0x252116(0x58e)],'height':_0x4e9193[_0x252116(0x65e)]},_0x303010=(_0x362f1c=_0x12eee3[_0x252116(0x6e1)])==null?void 0x0:_0x362f1c[_0x252116(0x1ef)],_0x135033=_0x1d47f1??(_0x303010==null?void 0x0:_0x303010[_0x252116(0x385)]),_0x4f19fb=hc(_0x153830[_0x252116(0x269)]??(_0x303010==null?void 0x0:_0x303010[_0x252116(0x269)])),_0xf36db=xc(_0x12eee3,{'width':_0x15d903[_0x252116(0x58e)],'height':_0x15d903[_0x252116(0x65e)],'verticalAlign':_0x4f19fb?_0x9c0db6[_0x252116(0x64d)]:_0x135033,'horizontalAlign':_0x32235c,'isHorizontal':_0x53a36f,'wrapStrategy':_0x153830['wrapStrategy']}),_0x4c3997=new _0x5f1ed1(_0xf36db),_0x308258=new _0x2f964c(_0x4c3997),_0x57b7a8=_0x7ebfb1[_0x252116(0x552)](_0x308258,_0xa80798);_0x57b7a8[_0x252116(0x2ac)]();let _0x1bfd12=_0x57b7a8[_0x252116(0x44e)]()['actualHeight'],_0x4e7fad=Math['max'](_0x15d903['height'],_0x1bfd12),_0x5fbf12=0x0;!_0x4f19fb&&_0x1bfd12<_0x15d903[_0x252116(0x65e)]&&(_0x135033===_0x9c0db6['MIDDLE']?_0x5fbf12=(_0x15d903[_0x252116(0x65e)]-_0x1bfd12)/0x2:_0x135033===_0x9c0db6[_0x252116(0x29b)]&&(_0x5fbf12=_0x15d903[_0x252116(0x65e)]-_0x1bfd12)),_0x4c3997['updateDocumentStyle']({'pageSize':{'width':_0x53a36f===!0x1?_0x15d903[_0x252116(0x65e)]:_0x15d903[_0x252116(0x58e)],'height':_0x1b5e3c(_0x12eee3,_0x4e7fad)}}),_0x4c3997['updateDocumentDataMargin']({'t':_0x5fbf12}),_0x57b7a8[_0x252116(0x2ac)]();let _0x13a942=new _0xe5be9a(_0x407f58,_0x57b7a8,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x13a942[_0x252116(0x21e)](_0x15d903[_0x252116(0x58e)],_0x4e7fad);let _0x5ba6f5=_0x4f19fb?vc(_0x57b7a8,_0x15d903[_0x252116(0x65e)],_0x135033):0x0;return{'documents':_0x13a942,'skeleton':_0x57b7a8,'docViewModel':_0x308258,'docModel':_0x4c3997,'width':_0x15d903[_0x252116(0x58e)],'minHeight':_0x15d903[_0x252116(0x65e)],'actualHeight':_0x1bfd12,'contentHeight':_0x4e7fad,'marginTop':_0x5fbf12,'opticalVerticalOffset':_0x5ba6f5,'dispose':()=>{const _0x31e590=_0x252116;_0x13a942['dispose'](),_0x57b7a8[_0x31e590(0x2c2)](),_0x308258[_0x31e590(0x2c2)](),_0x4c3997[_0x31e590(0x2c2)]();}};}function Cc(_0x25046b,_0x2c839d){const _0x830929=_0x5defcf;if(_0x2c839d!==void 0x0)return{'top':0x0,'height':_0x2c839d};let _0x11dcb6=_0x25046b['actualHeight']>_0x25046b[_0x830929(0x1dc)]&&_0x25046b[_0x830929(0x312)]<0x0?_0x25046b[_0x830929(0x312)]:0x0;return{'top':_0x11dcb6,'height':_0x25046b[_0x830929(0x215)]-_0x11dcb6};}function wc(_0x2d422f,_0x5b9ab1,_0x254463,_0x1bc8dd,_0x1abd16,_0x5cc106){const _0x39b2a5=_0x5defcf;if(_0x2d422f[_0x39b2a5(0x2bd)](),_0x2d422f[_0x39b2a5(0x28a)](_0x254463,_0x1bc8dd),_0x1abd16){let _0x4b6281=Cc(_0x5b9ab1,_0x5cc106);_0x2d422f[_0x39b2a5(0x370)](),_0x2d422f['rect'](0x0,_0x4b6281[_0x39b2a5(0x5ee)],_0x5b9ab1[_0x39b2a5(0x58e)],_0x4b6281[_0x39b2a5(0x65e)]),_0x2d422f[_0x39b2a5(0x538)]();}_0x5b9ab1[_0x39b2a5(0x312)]&&_0x2d422f[_0x39b2a5(0x28a)](0x0,_0x5b9ab1[_0x39b2a5(0x312)]),_0x5b9ab1[_0x39b2a5(0x322)]['draw'](_0x2d422f),_0x2d422f[_0x39b2a5(0x547)]();}function Tc(_0x68c435){const _0x38ea92=_0x5defcf;try{return JSON[_0x38ea92(0x2bc)](_0x68c435);}catch{return String(_0x68c435);}}function Ec(_0x2c1708){const _0x2b2f1d=_0x5defcf;let _0x442205=_0x2c1708;return typeof _0x442205['getCurrentLocale']==_0x2b2f1d(0x3a5)?_0x442205['getCurrentLocale']():'';}function Dc(_0x14d591,_0x3e3e8c,_0x426616){const _0x20396e=_0x5defcf;var _0x569e2f;let _0x2277b9=(_0x569e2f=_0x3e3e8c[_0x20396e(0x6e1)])==null?void 0x0:_0x569e2f[_0x20396e(0x1ef)];return Tc({'cacheKey':_0x14d591[_0x20396e(0x41e)],'key':_0x14d591[_0x20396e(0x26c)],'text':_0x14d591[_0x20396e(0x590)],'documentData':_0x14d591[_0x20396e(0x41e)]===void 0x0?_0x3e3e8c:void 0x0,'left':_0x14d591[_0x20396e(0x479)],'top':_0x14d591[_0x20396e(0x5ee)],'width':_0x14d591['width'],'height':_0x14d591[_0x20396e(0x65e)],'horizontalAlign':_0x14d591[_0x20396e(0x575)]??(_0x2277b9==null?void 0x0:_0x2277b9[_0x20396e(0x575)]),'verticalAlign':_0x14d591[_0x20396e(0x385)]??(_0x2277b9==null?void 0x0:_0x2277b9[_0x20396e(0x385)]),'isHorizontal':_0x14d591[_0x20396e(0x6d7)],'wrapStrategy':_0x14d591[_0x20396e(0x1cc)],'clip':_0x14d591['clip'],'viewportHeight':_0x14d591[_0x20396e(0x4cb)],'shapeTextOpticalVerticalAlign':_0x14d591[_0x20396e(0x269)]??(_0x2277b9==null?void 0x0:_0x2277b9[_0x20396e(0x269)]),'locale':Ec(_0x426616)});}function Oc(_0x191062,_0x5cf361){const _0x5304a3=_0x5defcf;var _0xe1fcbf;if(_0x191062[_0x5304a3(0x538)]!==void 0x0)return _0x191062[_0x5304a3(0x538)];let _0x68a50b=(_0xe1fcbf=_0x5cf361[_0x5304a3(0x6e1)])==null?void 0x0:_0xe1fcbf[_0x5304a3(0x1ef)];return(_0x191062[_0x5304a3(0x1cc)]??(_0x68a50b==null?void 0x0:_0x68a50b['wrapStrategy']))!==_0x5d1e12[_0x5304a3(0x53a)];}function kc(_0x19ab40){const _0x1c5096=_0x5defcf;var _0x4e2c50;_0x19ab40==null||(_0x4e2c50=_0x19ab40[_0x1c5096(0x527)])==null||_0x4e2c50[_0x1c5096(0x2c2)](),_0x19ab40&&(_0x19ab40[_0x1c5096(0x44b)]=void 0x0,_0x19ab40[_0x1c5096(0x527)]=void 0x0);}function Ac(_0x444cf3,_0x4137ea,_0xa20eb4){const _0x3fa3fb=_0x5defcf;var _0x50eb69;let {documentData:_0xa2ad35,height:_0x5a4746,horizontalAlign:_0x2ef0b2,isHorizontal:_0x5dca0e,key:_0xeda005,left:_0x3b6baa,localeService:_0x442799,text:_0x5599e9,top:_0x57acb8,verticalAlign:_0x540d00,width:_0x107607}=_0x4137ea;if(!_0x442799||_0x107607<=0x0||_0x5a4746<=0x0||!_0xa2ad35&&!_0x5599e9)return!0x1;let _0x47b140=_0x1a12a2(_0xa2ad35??ec(_0xeda005,0x0,0x0,_0x5599e9??'')),_0x3326d8=(_0x50eb69=_0x47b140[_0x3fa3fb(0x6e1)])==null?void 0x0:_0x50eb69[_0x3fa3fb(0x1ef)],_0x14974e=_0x2ef0b2??(_0x3326d8==null?void 0x0:_0x3326d8[_0x3fa3fb(0x575)]),_0x1ebe6e=_0x540d00??(_0x3326d8==null?void 0x0:_0x3326d8['verticalAlign']),_0x4c2699=_0xa20eb4?Dc(_0x4137ea,_0x47b140,_0x442799):void 0x0,_0x27b518=Oc(_0x4137ea,_0x47b140);if(_0xa20eb4!=null&&_0xa20eb4[_0x3fa3fb(0x527)]&&_0xa20eb4['signature']===_0x4c2699)return wc(_0x444cf3,_0xa20eb4['resources'],_0x3b6baa,_0x57acb8,_0x27b518,_0x4137ea[_0x3fa3fb(0x4cb)]),!0x0;_0xa20eb4!=null&&_0xa20eb4[_0x3fa3fb(0x527)]&&kc(_0xa20eb4);let _0x34b919=Sc({'id':_0x3fa3fb(0x305)+_0xeda005,'documentData':_0x47b140,'size':{'width':_0x107607,'height':_0x5a4746},'localeService':_0x442799,'horizontalAlign':_0x14974e,'verticalAlign':_0x1ebe6e,'isHorizontal':_0x5dca0e,'wrapStrategy':_0x4137ea[_0x3fa3fb(0x1cc)],'shapeTextOpticalVerticalAlign':_0x4137ea[_0x3fa3fb(0x269)]??(_0x3326d8==null?void 0x0:_0x3326d8[_0x3fa3fb(0x269)])});return wc(_0x444cf3,_0x34b919,_0x3b6baa,_0x57acb8,_0x27b518,_0x4137ea['viewportHeight']),_0xa20eb4?(_0xa20eb4['signature']=_0x4c2699,_0xa20eb4[_0x3fa3fb(0x527)]=_0x34b919):_0x34b919[_0x3fa3fb(0x2c2)](),!0x0;}function jc(_0x4875bc,_0x2530de,_0x28a6bf,_0x1e1e47,_0x481655){const _0x3c1b65=_0x5defcf;let _0x2ba39d=_0x4875bc[_0x3c1b65(0x5ca)][_0x3c1b65(0x57e)]((_0x2d044d,_0x4d8d1a)=>_0x2d044d+_0x4d8d1a[_0x3c1b65(0x58e)],0x0),_0x591728=_0x4875bc[_0x3c1b65(0x360)][_0x3c1b65(0x57e)]((_0x2a43ae,_0x580127)=>_0x2a43ae+(_0x580127[_0x3c1b65(0x65e)]??0x18),0x0);if(_0x2ba39d<=0x0||_0x591728<=0x0||_0x2530de<=0x0||_0x28a6bf<=0x0)return _0x4875bc;let _0x26bb44={..._0x4875bc,'columns':_0x4875bc[_0x3c1b65(0x5ca)][_0x3c1b65(0x295)](_0x427dd2=>({..._0x427dd2,'width':_0x427dd2[_0x3c1b65(0x58e)]*_0x2530de/_0x2ba39d})),'rows':_0x4875bc['rows'][_0x3c1b65(0x295)](_0x8ad305=>({..._0x8ad305,'height':(_0x8ad305[_0x3c1b65(0x65e)]??0x18)*Math[_0x3c1b65(0x6bf)](0x1,_0x28a6bf/_0x591728)}))},_0x2f617f=_0x9eb1b0(_0x26bb44,{'themes':_0x481655})[_0x3c1b65(0x405)][_0x3c1b65(0x439)](_0xbcb17=>!_0xbcb17[_0x3c1b65(0x3f5)])['sort']((_0x423b56,_0x48f0d3)=>_0x423b56[_0x3c1b65(0x3bb)]-_0x48f0d3[_0x3c1b65(0x3bb)]);for(let _0x5ac304 of _0x2f617f){var _0x57c77f;let _0x5cdb62=(_0x57c77f=_0x4875bc[_0x3c1b65(0x360)][_0x5ac304[_0x3c1b65(0x4b9)]])==null||(_0x57c77f=_0x57c77f[_0x3c1b65(0x405)][_0x5ac304[_0x3c1b65(0x3f1)]])==null?void 0x0:_0x57c77f[_0x3c1b65(0x1b7)],_0x8e282b=_0x5ac304[_0x3c1b65(0x242)][_0x3c1b65(0x2fc)];if(!_0x5cdb62||_0x8e282b===_0x81a0a3['Vertical']||_0x8e282b===_0x81a0a3[_0x3c1b65(0x61d)])continue;let _0x51df93=_0x4998ad(_0x5ac304[_0x3c1b65(0x242)]['margins']),_0x3b437c=_0x5ac304['bounds']['width']-_0x51df93[_0x3c1b65(0x479)]-_0x51df93['right'];if(_0x3b437c<=0x0)continue;let _0x5b505f=Sc({'documentData':_0x1a12a2(_0x5cdb62),'size':{'width':_0x3b437c,'height':Math[_0x3c1b65(0x6bf)](0x1,_0x5ac304['bounds'][_0x3c1b65(0x65e)]-_0x51df93['top']-_0x51df93[_0x3c1b65(0x341)])},'localeService':_0x1e1e47,'verticalAlign':_0x9c0db6[_0x3c1b65(0x64d)],'wrapStrategy':_0x5d1e12[_0x3c1b65(0x5c4)]});try{let _0x4f8dc4=_0x5b505f['actualHeight']+_0x51df93[_0x3c1b65(0x5ee)]+_0x51df93[_0x3c1b65(0x341)],_0x33aefd=Math[_0x3c1b65(0x4a7)](_0x26bb44[_0x3c1b65(0x360)][_0x3c1b65(0x393)],_0x5ac304['row']+_0x5ac304[_0x3c1b65(0x3bb)]),_0x207896=_0x26bb44[_0x3c1b65(0x360)]['slice'](_0x5ac304['row'],_0x33aefd)[_0x3c1b65(0x57e)]((_0x1d9dac,_0x983f55)=>_0x1d9dac+_0x983f55[_0x3c1b65(0x65e)],0x0);Number[_0x3c1b65(0x401)](_0x4f8dc4)&&_0x4f8dc4>_0x207896&&_0x33aefd>_0x5ac304[_0x3c1b65(0x4b9)]&&(_0x26bb44[_0x3c1b65(0x360)][_0x33aefd-0x1][_0x3c1b65(0x65e)]+=_0x4f8dc4-_0x207896);}finally{_0x5b505f[_0x3c1b65(0x2c2)]();}}return _0x26bb44;}const Mc='#7f8ea3',Nc=_0x5defcf(0x2ca),Pc='#ffffff',Fc=_0x5defcf(0x5fb),Ic='#1a73e8',Lc=_0x5defcf(0x6cf),Rc=_0x5defcf(0x1ed),zc=_0x5defcf(0x203),Bc=_0x5defcf(0x452),Vc=_0x5defcf(0x364),Hc=_0x5defcf(0x6cf),Uc=0.5;function Wc(_0x103390,_0x3a6dc4){const _0x3f2a84=_0x5defcf;let _0x460c8f=_0x103390['row']+Math[_0x3f2a84(0x6bf)](0x1,_0x103390[_0x3f2a84(0x3bb)])-0x1,_0xd9704e=_0x103390[_0x3f2a84(0x3f1)]+Math[_0x3f2a84(0x6bf)](0x1,_0x103390[_0x3f2a84(0x4c5)])-0x1;return _0x3a6dc4[_0x3f2a84(0x638)](_0x189fe6=>{const _0x41bc3b=_0x3f2a84;let _0x415564=Math[_0x41bc3b(0x4a7)](_0x189fe6[_0x41bc3b(0x1d3)],_0x189fe6[_0x41bc3b(0x573)]),_0x45fd3e=Math[_0x41bc3b(0x6bf)](_0x189fe6['startRow'],_0x189fe6[_0x41bc3b(0x573)]),_0x17cd68=Math['min'](_0x189fe6['startColumn'],_0x189fe6[_0x41bc3b(0x351)]),_0x51914e=Math['max'](_0x189fe6[_0x41bc3b(0x3cc)],_0x189fe6[_0x41bc3b(0x351)]);return _0x103390[_0x41bc3b(0x4b9)]<=_0x45fd3e&&_0x460c8f>=_0x415564&&_0x103390['column']<=_0x51914e&&_0xd9704e>=_0x17cd68;});}var Gc=class e extends _0x369919{constructor(_0x5dd0e3,_0x3a954f){const _0x13b84c=_0x5defcf;super(_0x5dd0e3,{..._0x3a954f,'fill':Pc,'stroke':Mc,'strokeWidth':0x1,'evented':!0x0}),q(this,_0x13b84c(0x63b),!0x0),q(this,'_controlButtonMode',void 0x0),q(this,_0x13b84c(0x236),void 0x0),q(this,_0x13b84c(0x505),new _0x2fe5e8()),q(this,_0x13b84c(0x366),void 0x0),q(this,_0x13b84c(0x27d),null),q(this,_0x13b84c(0x32a),null),q(this,_0x13b84c(0x261),void 0x0),q(this,'_layoutRevision',void 0x0),q(this,_0x13b84c(0x28c),0x0),q(this,'_layoutHeight',0x0),q(this,_0x13b84c(0x42b),0x0),q(this,_0x13b84c(0x1ac),null),q(this,_0x13b84c(0x223),null),q(this,'_editingCell',null),q(this,_0x13b84c(0x6b0),null),q(this,_0x13b84c(0x1a2),null),q(this,'_localeService',void 0x0),q(this,_0x13b84c(0x45b),void 0x0),q(this,_0x13b84c(0x34e),void 0x0),q(this,_0x13b84c(0x462),void 0x0),q(this,_0x13b84c(0x606),null),q(this,_0x13b84c(0x711),null),q(this,_0x13b84c(0x659),new Map()),this[_0x13b84c(0x4e7)]=_0x3a954f[_0x13b84c(0x34a)]??'all',this[_0x13b84c(0x236)]=_0x3a954f[_0x13b84c(0x5e0)],this[_0x13b84c(0x366)]=_0x3a954f[_0x13b84c(0x690)]??null,this[_0x13b84c(0x254)]=_0x3a954f[_0x13b84c(0x2c7)],this[_0x13b84c(0x45b)]=_0x3a954f[_0x13b84c(0x512)],this[_0x13b84c(0x34e)]=_0x3a954f[_0x13b84c(0x51a)],this['_themeService']=_0x3a954f[_0x13b84c(0x59d)],this[_0x13b84c(0x42b)]=this[_0x13b84c(0x65e)],this['getLayoutTable']();}[_0x5defcf(0x4a6)](){return[{'x':0.5,'y':0x0,'idx':0x0,'ang':0x10e},{'x':0x1,'y':0.5,'idx':0x1,'ang':0x0},{'x':0.5,'y':0x1,'idx':0x2,'ang':0x5a},{'x':0x0,'y':0.5,'idx':0x3,'ang':0xb4}];}[_0x5defcf(0x463)](_0x3c236b){this['_table']=_0x3c236b??null,this['makeDirty'](!0x0);}[_0x5defcf(0x6d1)](_0x17f62e){const _0x59ccbd=_0x5defcf;this[_0x59ccbd(0x34e)]=_0x17f62e,this[_0x59ccbd(0x261)]=void 0x0,this[_0x59ccbd(0x623)](!0x0);}[_0x5defcf(0x2aa)](){const _0x5a29f8=_0x5defcf;return this[_0x5a29f8(0x366)];}[_0x5defcf(0x4cd)](_0x7821dd){const _0x264664=_0x5defcf;this['_previewTable']=_0x7821dd,this[_0x264664(0x623)](!0x0);}[_0x5defcf(0x548)](_0x16c6a4){const _0x5e59dd=_0x5defcf;this[_0x5e59dd(0x254)]!==_0x16c6a4&&(this[_0x5e59dd(0x254)]=_0x16c6a4,this[_0x5e59dd(0x6f1)](),this[_0x5e59dd(0x623)](!0x0));}[_0x5defcf(0x1c7)](_0x43b690){const _0xd88c13=_0x5defcf;this[_0xd88c13(0x45b)]=_0x43b690,this[_0xd88c13(0x623)](!0x0);}[_0x5defcf(0x37f)](_0x4f7134){const _0x2ce01a=_0x5defcf;this[_0x2ce01a(0x1ac)]=_0x4f7134?{'kind':_0x4f7134[_0x2ce01a(0x521)],'ranges':_0x4f7134[_0x2ce01a(0x649)]['map'](_0x73d601=>({..._0x73d601})),'active':_0x4f7134[_0x2ce01a(0x6ae)]?{..._0x4f7134[_0x2ce01a(0x6ae)]}:void 0x0}:null,_0x4f7134||(this[_0x2ce01a(0x223)]=null,this[_0x2ce01a(0x1a2)]=null),this['makeDirty'](!0x0);}[_0x5defcf(0x1c9)](){const _0x43e6af=_0x5defcf;return this[_0x43e6af(0x1ac)]?{'kind':this[_0x43e6af(0x1ac)]['kind'],'ranges':this[_0x43e6af(0x1ac)][_0x43e6af(0x649)]['map'](_0x5758e0=>({..._0x5758e0})),'active':this[_0x43e6af(0x1ac)][_0x43e6af(0x6ae)]?{...this['_selection']['active']}:void 0x0}:null;}[_0x5defcf(0x1c8)](){const _0x5c1182=_0x5defcf;let _0x4eb45a=this[_0x5c1182(0x6a0)]();return _0x4eb45a?this[_0x5c1182(0x2ce)](_0x4eb45a):null;}[_0x5defcf(0x603)](){const _0x4dc79d=_0x5defcf;var _0x462d42;return((_0x462d42=this[_0x4dc79d(0x462)])==null?void 0x0:_0x462d42['getColorFromTheme'](_0x4dc79d(0x383)))??Fc;}[_0x5defcf(0x3cd)](_0x438abc){const _0x3466cf=_0x5defcf;var _0xd984f7,_0x142a3d;let _0x29b463=(_0x438abc==null?void 0x0:_0x438abc[_0x3466cf(0x4b9)])??null,_0x416c70=(_0x438abc==null?void 0x0:_0x438abc[_0x3466cf(0x3f1)])??null,_0x2f399a=((_0xd984f7=this[_0x3466cf(0x604)])==null?void 0x0:_0xd984f7['row'])??null,_0x3a0738=((_0x142a3d=this[_0x3466cf(0x604)])==null?void 0x0:_0x142a3d['column'])??null;(_0x29b463!==_0x2f399a||_0x416c70!==_0x3a0738)&&(this[_0x3466cf(0x604)]=_0x438abc?{'row':_0x438abc['row'],'column':_0x438abc[_0x3466cf(0x3f1)]}:null,this['makeDirty'](!0x0));}['getEditingCell'](){const _0x1cd43c=_0x5defcf;return this['_editingCell']?{...this[_0x1cd43c(0x604)]}:null;}['setTableControlHover'](_0x10e369){const _0x48cdb2=_0x5defcf;var _0xf0b977,_0x519e2e,_0x570d1d;let _0x5f3fd3=(_0x10e369==null?void 0x0:_0x10e369['kind'])??null,_0x4e7629=(_0x10e369==null?void 0x0:_0x10e369[_0x48cdb2(0x4b9)])??null,_0x202581=(_0x10e369==null?void 0x0:_0x10e369['column'])??null,_0x2c8113=((_0xf0b977=this[_0x48cdb2(0x6b0)])==null?void 0x0:_0xf0b977[_0x48cdb2(0x521)])??null,_0x20ed9c=((_0x519e2e=this[_0x48cdb2(0x6b0)])==null?void 0x0:_0x519e2e[_0x48cdb2(0x4b9)])??null,_0x44118e=((_0x570d1d=this['_controlHover'])==null?void 0x0:_0x570d1d[_0x48cdb2(0x3f1)])??null;return _0x5f3fd3===_0x2c8113&&_0x4e7629===_0x20ed9c&&_0x202581===_0x44118e?!0x1:(this[_0x48cdb2(0x6b0)]=_0x5f3fd3===null&&_0x4e7629===null&&_0x202581===null?null:{'kind':_0x10e369==null?void 0x0:_0x10e369[_0x48cdb2(0x521)],'row':_0x4e7629,'column':_0x202581},this[_0x48cdb2(0x623)](!0x0),!0x0);}['setTableCellHover'](_0x4ba4af){const _0x295c0e=_0x5defcf;var _0x102398,_0xe9cc71;let _0x33c683=((_0x102398=this[_0x295c0e(0x223)])==null?void 0x0:_0x102398[_0x295c0e(0x4b9)])??null,_0x1d1cc6=((_0xe9cc71=this[_0x295c0e(0x223)])==null?void 0x0:_0xe9cc71[_0x295c0e(0x3f1)])??null,_0x2d757f=(_0x4ba4af==null?void 0x0:_0x4ba4af[_0x295c0e(0x4b9)])??null,_0x1fa1c5=(_0x4ba4af==null?void 0x0:_0x4ba4af[_0x295c0e(0x3f1)])??null;return _0x33c683===_0x2d757f&&_0x1d1cc6===_0x1fa1c5?!0x1:(this[_0x295c0e(0x223)]=_0x4ba4af?{'row':_0x4ba4af[_0x295c0e(0x4b9)],'column':_0x4ba4af['column']}:null,this[_0x295c0e(0x623)](!0x0),!0x0);}[_0x5defcf(0x2d8)](_0x30b948){const _0x496b77=_0x5defcf;let _0x3bd5f3=Ml(_0x30b948);return!Nl(this[_0x496b77(0x1a2)],_0x3bd5f3)&&(this['_controlState']=_0x3bd5f3,this[_0x496b77(0x623)](!0x0),!0x0);}[_0x5defcf(0x387)](_0x38a525){const _0x4a1fcd=_0x5defcf;this[_0x4a1fcd(0x681)]();let _0x2dbf68=this[_0x4a1fcd(0x251)](),_0x3bc15d=_0x2dbf68[_0x4a1fcd(0x479)]+_0x2dbf68[_0x4a1fcd(0x58e)]/0x2,_0x3aff74=_0x2dbf68['top']+_0x2dbf68['height']/0x2,_0x5bda0f=this[_0x4a1fcd(0x3b0)][_0x4a1fcd(0x1bb)](),_0x2dbab8=new _0x3c1d46([_0x5bda0f[0x0],_0x5bda0f[0x1],_0x5bda0f[0x2],_0x5bda0f[0x3],_0x3bc15d,_0x3aff74]),_0x51c445=this[_0x4a1fcd(0x63e)]();return(this[_0x4a1fcd(0x2a5)]&&(_0x51c445==null?void 0x0:_0x51c445[_0x4a1fcd(0x3c6)])===_0x128426[_0x4a1fcd(0x37c)]?_0x51c445[_0x4a1fcd(0x467)][_0x4a1fcd(0x416)](_0x2dbab8):_0x2dbab8)[_0x4a1fcd(0x380)]()[_0x4a1fcd(0x67f)](_0x38a525);}['isHit'](_0x12ec8d){const _0x53ff8c=_0x5defcf;let _0x1a5776=this['getInverseCoord'](_0x12ec8d),_0x3866c6=this[_0x53ff8c(0x58e)]/0x2,_0x5e242c=this['height']/0x2;return _0x1a5776['x']>=-_0x3866c6-this['strokeWidth']/0x2&&_0x1a5776['x']<=_0x3866c6+this[_0x53ff8c(0x4b8)]/0x2&&_0x1a5776['y']>=-_0x5e242c-this[_0x53ff8c(0x4b8)]/0x2&&_0x1a5776['y']<=_0x5e242c+this[_0x53ff8c(0x4b8)]/0x2||this[_0x53ff8c(0x57c)](_0x1a5776);}[_0x5defcf(0x358)](_0x4c6861,_0x5ca569,_0x2add25,_0x1ca711){const _0xfb0014=_0x5defcf;var _0x3e6260,_0xb76a51;let _0x4ad192=this[_0xfb0014(0x6a0)]();if(!_0x4ad192)return null;let _0x3ce5f8=this['_resolveRenderModel'](_0x4ad192),_0x5d8c2b=this[_0xfb0014(0x703)](_0x3ce5f8),_0x4fbc09=this[_0xfb0014(0x4e7)]==='structural'?(_0x3e6260=_0x5d8c2b[_0xfb0014(0x565)][_0x4c6861])==null?void 0x0:_0x3e6260[_0x5ca569]:(_0xb76a51=_0x5d8c2b[_0xfb0014(0x50f)][_0x4c6861])==null?void 0x0:_0xb76a51[_0x5ca569];return _0x4fbc09?kl(_0x4fbc09,_0x3ce5f8,_0x2add25??this['width'],_0x1ca711??this[_0xfb0014(0x65e)]):null;}[_0x5defcf(0x2c2)](){const _0x84611c=_0x5defcf;this['_imageLoadSubscriptions']['unsubscribe'](),this[_0x84611c(0x6f1)](),super[_0x84611c(0x2c2)]();}[_0x5defcf(0x703)](_0x80515f){const _0x11a3c8=_0x5defcf;var _0x4b7c48;if(((_0x4b7c48=this[_0x11a3c8(0x711)])==null?void 0x0:_0x4b7c48[_0x11a3c8(0x40b)])===_0x80515f)return this[_0x11a3c8(0x711)];let _0x3c0f62=_0x80515f['cells'][_0x11a3c8(0x439)](_0x32be66=>!_0x32be66[_0x11a3c8(0x3f5)]),_0x1fac51=[],_0x2e83be=[];return _0x3c0f62['forEach'](_0x273f26=>{const _0xa63cbd=_0x11a3c8;(_0x2e83be[_0x273f26[_0xa63cbd(0x4b9)]]??=[])[_0x273f26['column']]=_0x273f26;let _0x425813=_0x273f26['row']+Math[_0xa63cbd(0x6bf)](0x1,_0x273f26[_0xa63cbd(0x3bb)]),_0x817329=_0x273f26[_0xa63cbd(0x3f1)]+Math[_0xa63cbd(0x6bf)](0x1,_0x273f26['columnSpan']);for(let _0x1b7c92=_0x273f26[_0xa63cbd(0x4b9)];_0x1b7c92<_0x425813;_0x1b7c92+=0x1){let _0x11db56=_0x1fac51[_0x1b7c92]??=[];for(let _0xb13592=_0x273f26[_0xa63cbd(0x3f1)];_0xb13592<_0x817329;_0xb13592+=0x1)_0x11db56[_0xb13592]=_0x273f26;}}),this[_0x11a3c8(0x711)]={'cells':_0x3c0f62,'cellAtPosition':_0x1fac51,'cellByOrigin':_0x2e83be,'model':_0x80515f},this[_0x11a3c8(0x711)];}[_0x5defcf(0x431)](_0x5d921f,_0x3f8fdb=this[_0x5defcf(0x58e)],_0xb3eed7=this[_0x5defcf(0x65e)]){const _0x1309fb=_0x5defcf;let _0x235713=this['_getRenderTable']();if(!_0x235713)return null;let _0x3cb354=this[_0x1309fb(0x2ce)](_0x235713),_0x4d5d14=this[_0x1309fb(0x387)](_0x5d921f);return Zs(_0x3cb354,(_0x4d5d14['x']+_0x3f8fdb/0x2)*$(_0x3cb354[_0x1309fb(0x58e)]/_0x3f8fdb,0x1),(_0x4d5d14['y']+_0xb3eed7/0x2)*$(_0x3cb354[_0x1309fb(0x65e)]/_0xb3eed7,0x1));}[_0x5defcf(0x2d9)](_0x8f03b8,_0x46a11b=this[_0x5defcf(0x58e)],_0x2aff86=this['height']){const _0x1ceaa9=_0x5defcf;let _0x5b0df1=this['_getRenderTable']();if(!_0x5b0df1)return null;let _0x575e27=this[_0x1ceaa9(0x2ce)](_0x5b0df1),_0x19e68a=this[_0x1ceaa9(0x387)](_0x8f03b8),_0x450c65=this[_0x1ceaa9(0x644)](_0x575e27,_0x46a11b,_0x2aff86,{'showAll':!0x0});return _0x54e4c1(_0x450c65,_0x19e68a['x']+_0x46a11b/0x2,_0x19e68a['y']+_0x2aff86/0x2);}['hitTestStructuralTriggerAtScenePoint'](_0x4cf835,_0x199801=this[_0x5defcf(0x58e)],_0x3bc4fe=this['height']){const _0x10c3d6=_0x5defcf;let _0x5c6842=this[_0x10c3d6(0x6a0)]();if(!_0x5c6842)return null;let _0xbc50ca=this[_0x10c3d6(0x2ce)](_0x5c6842),_0xd9ede5=this['getInverseCoord'](_0x4cf835),_0x3d83a7=this['_buildStructuralTriggers'](_0xbc50ca,_0x199801,_0x3bc4fe,Kc(_0x5c6842,_0x199801),qc(_0x5c6842,_0x3bc4fe));return _0x2e8971(_0x3d83a7,_0xd9ede5['x']+_0x199801/0x2,_0xd9ede5['y']+_0x3bc4fe/0x2);}[_0x5defcf(0x337)](_0xdd39c4,_0x397699=this[_0x5defcf(0x58e)],_0x308718=this[_0x5defcf(0x65e)]){const _0x27c173=_0x5defcf;let _0x5497ec=this[_0x27c173(0x6a0)]();if(!_0x5497ec)return null;let _0x5110b6=this[_0x27c173(0x2ce)](_0x5497ec),_0x548b98=this['getInverseCoord'](_0xdd39c4),_0x419960=this['_buildStructuralTriggers'](_0x5110b6,_0x397699,_0x308718,Kc(_0x5497ec,_0x397699),qc(_0x5497ec,_0x308718));return _0x2af0de(_0x419960,_0x548b98['x']+_0x397699/0x2,_0x548b98['y']+_0x308718/0x2);}[_0x5defcf(0x542)](_0x25d64d,_0x148785){const _0x596764=_0x5defcf;if(!this[_0x596764(0x65a)])return this[_0x596764(0x623)](!0x1),this;this[_0x596764(0x681)]();let _0x429b08=this[_0x596764(0x251)](),_0x2113cc=this[_0x596764(0x33e)]()?0x18:0x0;if(this['isRender'](_0x148785)){let {top:_0x4b1f9b,left:_0x4c326f,bottom:_0x442487,right:_0x1aecc5}=_0x148785[_0x596764(0x4d3)];if(_0x429b08[_0x596764(0x479)]+_0x429b08[_0x596764(0x58e)]+this['strokeWidth']+_0x2113cc<_0x4c326f||_0x1aecc5<_0x429b08[_0x596764(0x479)]-this[_0x596764(0x4b8)]-_0x2113cc||_0x429b08[_0x596764(0x5ee)]+_0x429b08[_0x596764(0x65e)]+this['strokeWidth']+_0x2113cc<_0x4b1f9b||_0x442487<_0x429b08['top']-this[_0x596764(0x4b8)]-_0x2113cc)return this;}let _0xa87df3=this[_0x596764(0x3b0)][_0x596764(0x1bb)](),_0x3540ba=_0x429b08[_0x596764(0x479)]+_0x429b08['width']/0x2,_0x11434f=_0x429b08[_0x596764(0x5ee)]+_0x429b08['height']/0x2;return _0x25d64d[_0x596764(0x2bd)](),_0x25d64d['transform'](_0xa87df3[0x0],_0xa87df3[0x1],_0xa87df3[0x2],_0xa87df3[0x3],_0x3540ba,_0x11434f),this[_0x596764(0x6ca)](_0x25d64d,_0x148785,_0x429b08[_0x596764(0x58e)],_0x429b08['height']),_0x25d64d['restore'](),this['makeDirty'](!0x1),this;}[_0x5defcf(0x6ca)](_0x3dced3,_0x326aca,_0x9a9f37,_0x38602a){const _0x564441=_0x5defcf;let _0x452819=_0x9a9f37??this[_0x564441(0x58e)],_0x168112=_0x38602a??this['height'],_0x5a36e2=this[_0x564441(0x6a0)](),_0x3636bf=_0x5a36e2?this[_0x564441(0x2ce)](_0x5a36e2):null,_0x4d6e93=Kc(_0x5a36e2,_0x452819),_0x2df8f3=qc(_0x5a36e2,_0x168112),_0x59b0be=Zc(_0x5a36e2),_0x5ec14d=Qc(_0x5a36e2);this[_0x564441(0x6ac)](_0x3dced3,_0x452819,_0x168112),_0x3dced3['save'](),_0x3dced3[_0x564441(0x370)](),al(_0x3dced3,-_0x452819/0x2,-_0x168112/0x2,_0x452819,_0x168112,(_0x59b0be==null?void 0x0:_0x59b0be[_0x564441(0x633)])??0x0),_0x3dced3[_0x564441(0x538)](),_0x3636bf?(this['_drawCellFills'](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x220)](_0x3dced3,_0x5a36e2,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x1aa)](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x372)](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x56b)](_0x3dced3,_0x3636bf,_0x452819,_0x168112)):(this['_drawRowFills'](_0x3dced3,null,_0x2df8f3,_0x452819,_0x168112),this[_0x564441(0x5d3)](_0x3dced3,_0x4d6e93,_0x2df8f3,_0x452819,_0x168112)),_0x3dced3[_0x564441(0x547)](),_0x59b0be&&rl(_0x3dced3,_0x452819,_0x168112,_0x59b0be),_0x5ec14d&&il(_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3,_0x5ec14d),_0x3636bf&&(this[_0x564441(0x4b3)](_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x39f)](_0x3dced3,_0x3636bf,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x5b6)](_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x677)](_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x5eb)](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x6eb)](_0x3dced3,_0x3636bf,_0x452819,_0x168112));}[_0x5defcf(0x6ac)](_0x5eb45e,_0x4fed50,_0x15a2ef){const _0x534343=_0x5defcf;var _0x57dc2f;let _0x44c093=(_0x57dc2f=this[_0x534343(0x6a0)]())==null?void 0x0:_0x57dc2f[_0x534343(0x6e9)],_0x612b5c=_0x44c093==null?void 0x0:_0x44c093[_0x534343(0x665)],_0xc2d6a0=_0x3ad634(_0x44c093==null?void 0x0:_0x44c093['glow'],_0x612b5c?{..._0x612b5c,'color':_0x612b5c[_0x534343(0x1e2)]??'rgba(0,\x200,\x200,\x201)'}:void 0x0);for(let _0x484500 of _0xc2d6a0)_0x9f2328(_0x5eb45e,_0x4fed50,_0x15a2ef,_0x484500,()=>{const _0x3a3b0b=_0x534343;_0x5eb45e[_0x3a3b0b(0x370)](),_0x5eb45e[_0x3a3b0b(0x5fd)](-_0x4fed50/0x2,-_0x15a2ef/0x2,_0x4fed50,_0x15a2ef),_0x5eb45e[_0x3a3b0b(0x3d5)]=_0x484500[_0x3a3b0b(0x1e2)],_0x5eb45e[_0x3a3b0b(0x394)]();});}[_0x5defcf(0x6a0)](){const _0xfff59b=_0x5defcf;return this[_0xfff59b(0x681)]();}['getLayoutTable'](){const _0x5037de=_0x5defcf;var _0x434f56;let _0x4ee395=this[_0x5037de(0x27d)]??this[_0x5037de(0x366)];if(!_0x4ee395||!this[_0x5037de(0x254)])return _0x4ee395;if(this[_0x5037de(0x261)]===_0x4ee395&&this[_0x5037de(0x3e6)]===_0x4ee395[_0x5037de(0x689)]&&this['_layoutWidth']===this[_0x5037de(0x58e)]&&this['_layoutHeight']===this[_0x5037de(0x65e)])return this[_0x5037de(0x32a)];!this['_previewTable']&&this[_0x5037de(0x65e)]!==this['_layoutHeight']&&(this[_0x5037de(0x42b)]=this[_0x5037de(0x65e)]);let _0x20c820=this[_0x5037de(0x27d)]&&(_0x4ee395[_0x5037de(0x360)]['length']!==((_0x434f56=this[_0x5037de(0x366)])==null?void 0x0:_0x434f56[_0x5037de(0x360)][_0x5037de(0x393)])||_0x4ee395['rows'][_0x5037de(0x638)]((_0x2873c3,_0x3deac6)=>{const _0x2359fb=_0x5037de;var _0x141e54;return _0x2873c3[_0x2359fb(0x65e)]!==((_0x141e54=this[_0x2359fb(0x366)])==null||(_0x141e54=_0x141e54[_0x2359fb(0x360)][_0x3deac6])==null?void 0x0:_0x141e54[_0x2359fb(0x65e)]);}))?_0x4ee395[_0x5037de(0x360)][_0x5037de(0x57e)]((_0x2423b6,_0x1b1c78)=>_0x2423b6+(_0x1b1c78[_0x5037de(0x65e)]??0x18),0x0):this[_0x5037de(0x42b)],_0x35ca73=jc(_0x4ee395,this['width'],_0x20c820,this[_0x5037de(0x254)],{..._0x5f5a44(this[_0x5037de(0x45b)]),...this[_0x5037de(0x34e)]??{}}),_0x1d4b29=_0x35ca73[_0x5037de(0x360)][_0x5037de(0x57e)]((_0x3efc1b,_0x24d440)=>_0x3efc1b+(_0x24d440['height']??0x18),0x0);return this[_0x5037de(0x261)]=_0x4ee395,this['_layoutRevision']=_0x4ee395[_0x5037de(0x689)],this[_0x5037de(0x28c)]=this['width'],this['_layoutHeight']=_0x1d4b29,this[_0x5037de(0x32a)]=_0x35ca73,_0x1d4b29!==this['height']&&this[_0x5037de(0x21e)](void 0x0,_0x1d4b29),_0x35ca73;}[_0x5defcf(0x2ce)](_0x51992b){const _0x1e3acd=_0x5defcf;let _0x189527=this[_0x1e3acd(0x606)];if((_0x189527==null?void 0x0:_0x189527[_0x1e3acd(0x690)])===_0x51992b&&_0x189527['revision']===_0x51992b['rev']&&_0x189527[_0x1e3acd(0x22b)]===this[_0x1e3acd(0x45b)]&&_0x189527[_0x1e3acd(0x299)]===this['_tableThemes'])return _0x189527[_0x1e3acd(0x40b)];let _0x44da09=_0x9eb1b0(_0x51992b,{'themes':{..._0x5f5a44(this[_0x1e3acd(0x45b)]),...this[_0x1e3acd(0x34e)]}});return this[_0x1e3acd(0x606)]={'model':_0x44da09,'palette':this['_tableThemePalette'],'revision':_0x51992b[_0x1e3acd(0x689)],'table':_0x51992b,'themes':this[_0x1e3acd(0x34e)]},_0x44da09;}[_0x5defcf(0x616)](_0x2007dd,_0x2d88b9,_0x9841e7,_0x3c8b80,_0x1a8bca){const _0x5b9c69=_0x5defcf;let _0x8fef3=-_0x1a8bca/0x2;_0x9841e7[_0x5b9c69(0x4df)]((_0x4b6e9e,_0xc8df8f)=>{const _0x54d201=_0x5b9c69;_0x2007dd[_0x54d201(0x370)](),_0x2007dd[_0x54d201(0x5fd)](-_0x3c8b80/0x2,_0x8fef3,_0x3c8b80,_0x4b6e9e),_0x2007dd[_0x54d201(0x3d5)]=ol(_0x2d88b9,_0xc8df8f),_0x2007dd['fill'](),_0x8fef3+=_0x4b6e9e;});}['_drawCellFills'](_0x1c5d46,_0x258b54,_0x2d949b,_0x1a3fd6){const _0x4b9038=_0x5defcf;let _0x3cdce8=this[_0x4b9038(0x6a0)](),_0x298784=$(_0x2d949b/_0x258b54[_0x4b9038(0x58e)],0x1),_0x22a2af=$(_0x1a3fd6/_0x258b54[_0x4b9038(0x65e)],0x1);_0x258b54[_0x4b9038(0x405)]['forEach'](_0x3b83a2=>{const _0xa12323=_0x4b9038;if(_0x3b83a2[_0xa12323(0x3f5)])return;let _0x91b528=-_0x2d949b/0x2+_0x3b83a2[_0xa12323(0x47d)]['left']*_0x298784,_0x324321=-_0x1a3fd6/0x2+_0x3b83a2[_0xa12323(0x47d)][_0xa12323(0x5ee)]*_0x22a2af,_0x5c67e1=_0x3b83a2[_0xa12323(0x47d)][_0xa12323(0x58e)]*_0x298784,_0x43f331=_0x3b83a2[_0xa12323(0x47d)][_0xa12323(0x65e)]*_0x22a2af,_0x904238=this['_resolvePictureFill'](_0x3b83a2['style'][_0xa12323(0x394)]);if(_0x904238&&sl(_0x1c5d46,_0x3b83a2[_0xa12323(0x242)][_0xa12323(0x394)],_0x904238,_0x91b528,_0x324321,_0x5c67e1,_0x43f331))return;let _0x55150a=_0x3b83a2[_0xa12323(0x242)]['fill']?cl(_0x1c5d46,_0x3b83a2[_0xa12323(0x242)][_0xa12323(0x394)],_0x91b528,_0x324321,_0x5c67e1,_0x43f331):ol(_0x3cdce8,_0x3b83a2[_0xa12323(0x4b9)]);_0x55150a&&(_0x1c5d46[_0xa12323(0x370)](),_0x1c5d46['rect'](_0x91b528,_0x324321,_0x5c67e1,_0x43f331),_0x1c5d46[_0xa12323(0x3d5)]=_0x55150a,_0x1c5d46['fill']());}),this['_drawMatchingCellFillSeams'](_0x1c5d46,_0x258b54,_0x2d949b,_0x1a3fd6,_0x298784,_0x22a2af);}['_drawMatchingCellFillSeams'](_0x1bfb2f,_0x44940e,_0x35f510,_0x54b176,_0x2ce426,_0x53f9bf){const _0x11cf3d=_0x5defcf;let _0x3e7370=this['_getRenderTable'](),{cells:_0x454225,cellAtPosition:_0x48442c}=this[_0x11cf3d(0x703)](_0x44940e);_0x454225['forEach'](_0x2bd1b7=>{const _0x5cd299=_0x11cf3d;var _0x42c719,_0x10d9c1;let _0x42057c=ll(_0x2bd1b7['style'][_0x5cd299(0x394)],_0x3e7370,_0x2bd1b7[_0x5cd299(0x4b9)]);if(!_0x42057c)return;let _0x1779fd=-_0x35f510/0x2+_0x2bd1b7[_0x5cd299(0x47d)][_0x5cd299(0x479)]*_0x2ce426,_0x27f9e4=-_0x54b176/0x2+_0x2bd1b7[_0x5cd299(0x47d)][_0x5cd299(0x5ee)]*_0x53f9bf,_0x5448a0=_0x1779fd+_0x2bd1b7[_0x5cd299(0x47d)]['width']*_0x2ce426,_0x210511=_0x27f9e4+_0x2bd1b7['bounds']['height']*_0x53f9bf,_0x1aa701=(_0x42c719=_0x48442c[_0x2bd1b7[_0x5cd299(0x4b9)]])==null?void 0x0:_0x42c719[_0x2bd1b7[_0x5cd299(0x3f1)]+_0x2bd1b7[_0x5cd299(0x4c5)]],_0x1e9ccf=(_0x10d9c1=_0x48442c[_0x2bd1b7[_0x5cd299(0x4b9)]+_0x2bd1b7[_0x5cd299(0x3bb)]])==null?void 0x0:_0x10d9c1[_0x2bd1b7[_0x5cd299(0x3f1)]];vl(_0x2bd1b7,_0x1aa701,_0x3e7370,_0x42057c)&&(_0x1bfb2f[_0x5cd299(0x370)](),_0x1bfb2f[_0x5cd299(0x5fd)](_0x5448a0-Uc,_0x27f9e4,Uc*0x2,_0x2bd1b7['bounds'][_0x5cd299(0x65e)]*_0x53f9bf),_0x1bfb2f[_0x5cd299(0x3d5)]=_0x42057c,_0x1bfb2f[_0x5cd299(0x394)]()),yl(_0x2bd1b7,_0x1e9ccf,_0x3e7370,_0x42057c)&&(_0x1bfb2f[_0x5cd299(0x370)](),_0x1bfb2f[_0x5cd299(0x5fd)](_0x1779fd,_0x210511-Uc,_0x2bd1b7['bounds'][_0x5cd299(0x58e)]*_0x2ce426,Uc*0x2),_0x1bfb2f[_0x5cd299(0x3d5)]=_0x42057c,_0x1bfb2f[_0x5cd299(0x394)]());});}[_0x5defcf(0x220)](_0x89e3c4,_0x4669e6,_0x2b154b,_0x185ddd,_0x1c4ebd){const _0x5f4947=_0x5defcf;_0x2b154b['cells'][_0x5f4947(0x4df)](_0x4290c=>{const _0x2ecbfe=_0x5f4947;var _0xab3ef5,_0x2304f2;if(_0x4290c['hidden']||this['_shouldHideCellTextForEditor'](_0x4290c))return;let _0x38130f=kl(_0x4290c,_0x2b154b,_0x185ddd,_0x1c4ebd),_0x138303=(_0xab3ef5=_0x4669e6[_0x2ecbfe(0x360)][_0x4290c['row']])==null||(_0xab3ef5=_0xab3ef5[_0x2ecbfe(0x405)][_0x4290c[_0x2ecbfe(0x3f1)]])==null?void 0x0:_0xab3ef5['textData'];_0x138303&&this[_0x2ecbfe(0x254)]&&Ac(_0x89e3c4,{'key':this[_0x2ecbfe(0x62b)]+_0x2ecbfe(0x66f)+_0x4290c[_0x2ecbfe(0x4b9)]+'-'+_0x4290c['column'],'documentData':_0x138303,'left':-_0x185ddd/0x2+_0x38130f['left'],'top':-_0x1c4ebd/0x2+_0x38130f[_0x2ecbfe(0x5ee)],'width':_0x38130f[_0x2ecbfe(0x58e)],'height':_0x38130f['height'],'localeService':this['_localeService'],'horizontalAlign':jo(_0x138303),'verticalAlign':Fo(_0x4290c[_0x2ecbfe(0x242)]['verticalAlign'])??((_0x2304f2=_0x138303[_0x2ecbfe(0x6e1)])==null||(_0x2304f2=_0x2304f2[_0x2ecbfe(0x1ef)])==null?void 0x0:_0x2304f2[_0x2ecbfe(0x385)]),'isHorizontal':_0x4290c[_0x2ecbfe(0x242)]['textDirection']!==_0x81a0a3[_0x2ecbfe(0x53f)]&&_0x4290c['style'][_0x2ecbfe(0x2fc)]!==_0x81a0a3['Vertical270'],'wrapStrategy':_0x5d1e12[_0x2ecbfe(0x5c4)],'clip':!0x0,'cacheKey':_0x4669e6[_0x2ecbfe(0x689)],'viewportHeight':_0x38130f[_0x2ecbfe(0x65e)]},this[_0x2ecbfe(0x514)](_0x4290c['row'],_0x4290c[_0x2ecbfe(0x3f1)]));});}[_0x5defcf(0x40e)](_0x287973){const _0x3967c9=_0x5defcf;var _0x3061ed;return this[_0x3967c9(0x604)]&&Cl(this[_0x3967c9(0x604)],_0x287973)?!0x0:((_0x3061ed=this[_0x3967c9(0x1ac)])==null?void 0x0:_0x3061ed[_0x3967c9(0x521)])==='text'&&this[_0x3967c9(0x1ac)][_0x3967c9(0x649)][_0x3967c9(0x638)](_0xcab5a=>_0xcab5a[_0x3967c9(0x1d3)]<=_0x287973[_0x3967c9(0x4b9)]+_0x287973[_0x3967c9(0x3bb)]-0x1&&_0xcab5a[_0x3967c9(0x573)]>=_0x287973[_0x3967c9(0x4b9)]&&_0xcab5a['startColumn']<=_0x287973[_0x3967c9(0x3f1)]+_0x287973['columnSpan']-0x1&&_0xcab5a['endColumn']>=_0x287973[_0x3967c9(0x3f1)]);}[_0x5defcf(0x514)](_0x5b2e20,_0x956195){const _0x301379=_0x5defcf;let _0x192789=_0x5b2e20+':'+_0x956195,_0x59b2f8=this[_0x301379(0x659)][_0x301379(0x621)](_0x192789);if(_0x59b2f8)return _0x59b2f8;let _0x35f4fa={};return this[_0x301379(0x659)][_0x301379(0x3c0)](_0x192789,_0x35f4fa),_0x35f4fa;}['_disposeTextRenderCaches'](){const _0x3a3137=_0x5defcf;this[_0x3a3137(0x659)][_0x3a3137(0x4df)](_0x309e7f=>kc(_0x309e7f)),this[_0x3a3137(0x659)][_0x3a3137(0x31e)]();}[_0x5defcf(0x1aa)](_0x30d778,_0x430013,_0x398771,_0x237128){const _0xb77d3=_0x5defcf;let _0x37ffd3=$(_0x398771/_0x430013[_0xb77d3(0x58e)],0x1),_0x4a42f1=$(_0x237128/_0x430013[_0xb77d3(0x65e)],0x1),{cells:_0x5c23e8,cellAtPosition:_0x486688}=this[_0xb77d3(0x703)](_0x430013);_0x5c23e8['forEach'](_0x1afa95=>{const _0x276072=_0xb77d3;var _0x2aa138,_0x5c703c;let _0x1aca21=-_0x398771/0x2+_0x1afa95[_0x276072(0x47d)][_0x276072(0x479)]*_0x37ffd3,_0x281034=-_0x237128/0x2+_0x1afa95[_0x276072(0x47d)]['top']*_0x4a42f1,_0x5bc5cd=_0x1aca21+_0x1afa95[_0x276072(0x47d)]['width']*_0x37ffd3,_0x4af4bd=_0x281034+_0x1afa95['bounds'][_0x276072(0x65e)]*_0x4a42f1,_0x313ac6=_0x1afa95[_0x276072(0x242)][_0x276072(0x68f)],_0x3a385e=(_0x2aa138=_0x486688[_0x1afa95['row']])==null?void 0x0:_0x2aa138[_0x1afa95[_0x276072(0x3f1)]+_0x1afa95[_0x276072(0x4c5)]],_0xe72330=(_0x5c703c=_0x486688[_0x1afa95[_0x276072(0x4b9)]+_0x1afa95['rowSpan']])==null?void 0x0:_0x5c703c[_0x1afa95[_0x276072(0x3f1)]],_0x167aa7=_0x313ac6==null?void 0x0:_0x313ac6['top'],_0x324009=bl(_0x313ac6,_0x3a385e),_0x5bf0e3=xl(_0x313ac6,_0xe72330),_0x464116=_0x313ac6==null?void 0x0:_0x313ac6[_0x276072(0x479)];if(_0x1afa95[_0x276072(0x4b9)]===0x0){let _0x4d8528=_0x281034+wl(_0x167aa7);_l(_0x30d778,_0x167aa7,_0x1aca21,_0x4d8528,_0x5bc5cd,_0x4d8528);}{let _0x5bae75=_0x3a385e?_0x5bc5cd:_0x5bc5cd-wl(_0x324009);_l(_0x30d778,_0x324009,_0x5bae75,_0x281034,_0x5bae75,_0x4af4bd);}{let _0x12fcc2=_0xe72330?_0x4af4bd:_0x4af4bd-wl(_0x5bf0e3);_l(_0x30d778,_0x5bf0e3,_0x1aca21,_0x12fcc2,_0x5bc5cd,_0x12fcc2);}if(_0x1afa95['column']===0x0){let _0x36e729=_0x1aca21+wl(_0x464116);_l(_0x30d778,_0x464116,_0x36e729,_0x281034,_0x36e729,_0x4af4bd);}});}[_0x5defcf(0x5d3)](_0xc4068c,_0xa14feb,_0x4ee9b8,_0x1b25d6,_0xe38672){const _0x13e527=_0x5defcf;let _0x3bd4cd=-_0x1b25d6/0x2,_0x3d620f=-_0xe38672/0x2,_0xe06c18=_0x1b25d6/0x2,_0x1964ba=_0xe38672/0x2;_0xc4068c['beginPath'](),_0xc4068c[_0x13e527(0x2b2)]([]),_0xc4068c[_0x13e527(0x678)]=Nc,_0xc4068c[_0x13e527(0x6e3)]=0x1;let _0x1f803e=_0x3bd4cd;_0xa14feb['slice'](0x0,-0x1)[_0x13e527(0x4df)](_0x27412b=>{const _0x51fe70=_0x13e527;_0x1f803e+=_0x27412b,_0xc4068c[_0x51fe70(0x3a6)](_0x1f803e,_0x3d620f),_0xc4068c['lineTo'](_0x1f803e,_0x1964ba);});let _0x4c7768=_0x3d620f;_0x4ee9b8[_0x13e527(0x313)](0x0,-0x1)[_0x13e527(0x4df)](_0x45fc0e=>{const _0x474de4=_0x13e527;_0x4c7768+=_0x45fc0e,_0xc4068c['moveTo'](_0x3bd4cd,_0x4c7768),_0xc4068c[_0x474de4(0x374)](_0xe06c18,_0x4c7768);}),_0xc4068c[_0x13e527(0x54e)](),this[_0x13e527(0x420)](_0xc4068c,_0x3bd4cd,_0x3d620f,_0x1b25d6,_0xe38672);}[_0x5defcf(0x420)](_0x13cbce,_0x5289dc,_0x541e49,_0xc58451,_0x25b7bd){const _0x3b4da0=_0x5defcf;_0x13cbce['beginPath'](),_0x13cbce[_0x3b4da0(0x678)]=Mc,_0x13cbce[_0x3b4da0(0x6e3)]=1.5,_0x13cbce[_0x3b4da0(0x5fd)](_0x5289dc,_0x541e49,_0xc58451,_0x25b7bd),_0x13cbce[_0x3b4da0(0x54e)]();}['_drawSelection'](_0x2f1add,_0x2836e3,_0x18f454,_0x282819){const _0x325d33=_0x5defcf;var _0x19809b,_0x353c8f;if(!((_0x19809b=this[_0x325d33(0x1ac)])!=null&&_0x19809b[_0x325d33(0x649)][_0x325d33(0x393)])||this['_selection']['kind']===_0x325d33(0x590))return;let _0x16c132=((_0x353c8f=this[_0x325d33(0x462)])==null?void 0x0:_0x353c8f[_0x325d33(0x6d8)](_0x325d33(0x383)))??Fc,_0x441520=new _0xb7c3a(_0x16c132)['setAlpha'](0.07)[_0x325d33(0x62e)](),_0x10c7b2=$(_0x18f454/_0x2836e3[_0x325d33(0x58e)],0x1),_0x19d5ee=$(_0x282819/_0x2836e3[_0x325d33(0x65e)],0x1);if(this[_0x325d33(0x1ac)][_0x325d33(0x521)]==='table'){_0x2f1add[_0x325d33(0x370)](),_0x2f1add[_0x325d33(0x5fd)](-_0x18f454/0x2,-_0x282819/0x2,_0x18f454,_0x282819),_0x2f1add[_0x325d33(0x3d5)]=_0x441520,_0x2f1add[_0x325d33(0x394)](),Dl(_0x2f1add,-_0x18f454/0x2,-_0x282819/0x2,_0x18f454,_0x282819,_0x16c132,_0x18f454,_0x282819);return;}let _0xcac618=_0x2836e3[_0x325d33(0x405)][_0x325d33(0x439)](_0xdeb53d=>!_0xdeb53d[_0x325d33(0x3f5)]);_0xcac618[_0x325d33(0x439)](_0x302823=>{const _0x2e79c3=_0x325d33;var _0x43db2d;return Wc(_0x302823,((_0x43db2d=this[_0x2e79c3(0x1ac)])==null?void 0x0:_0x43db2d[_0x2e79c3(0x649)])??[]);})[_0x325d33(0x4df)](_0x3f565e=>{const _0x4c47c7=_0x325d33;_0x2f1add[_0x4c47c7(0x370)](),_0x2f1add[_0x4c47c7(0x5fd)](-_0x18f454/0x2+_0x3f565e['bounds'][_0x4c47c7(0x479)]*_0x10c7b2,-_0x282819/0x2+_0x3f565e[_0x4c47c7(0x47d)][_0x4c47c7(0x5ee)]*_0x19d5ee,_0x3f565e[_0x4c47c7(0x47d)][_0x4c47c7(0x58e)]*_0x10c7b2,_0x3f565e[_0x4c47c7(0x47d)][_0x4c47c7(0x65e)]*_0x19d5ee),_0x2f1add[_0x4c47c7(0x3d5)]=_0x441520,_0x2f1add[_0x4c47c7(0x394)]();}),this[_0x325d33(0x1ac)][_0x325d33(0x649)][_0x325d33(0x4df)](_0x3430d1=>{const _0x1b8b41=_0x325d33;let _0x464625=_0xcac618[_0x1b8b41(0x439)](_0x21ccd6=>Wc(_0x21ccd6,[_0x3430d1]));if(!_0x464625['length'])return;let _0x1deb11=-_0x18f454/0x2+Math[_0x1b8b41(0x4a7)](..._0x464625[_0x1b8b41(0x295)](_0x56e3e2=>_0x56e3e2[_0x1b8b41(0x47d)][_0x1b8b41(0x479)]))*_0x10c7b2,_0x2a492e=-_0x282819/0x2+Math[_0x1b8b41(0x4a7)](..._0x464625[_0x1b8b41(0x295)](_0xe43844=>_0xe43844[_0x1b8b41(0x47d)][_0x1b8b41(0x5ee)]))*_0x19d5ee,_0x534487=-_0x18f454/0x2+Math[_0x1b8b41(0x6bf)](..._0x464625[_0x1b8b41(0x295)](_0x34ffb8=>_0x34ffb8[_0x1b8b41(0x47d)][_0x1b8b41(0x479)]+_0x34ffb8[_0x1b8b41(0x47d)][_0x1b8b41(0x58e)]))*_0x10c7b2,_0x4e7b2d=-_0x282819/0x2+Math[_0x1b8b41(0x6bf)](..._0x464625[_0x1b8b41(0x295)](_0x27b288=>_0x27b288['bounds'][_0x1b8b41(0x5ee)]+_0x27b288['bounds'][_0x1b8b41(0x65e)]))*_0x19d5ee;Dl(_0x2f1add,_0x1deb11,_0x2a492e,_0x534487-_0x1deb11,_0x4e7b2d-_0x2a492e,_0x16c132,_0x18f454,_0x282819);});}[_0x5defcf(0x56b)](_0x3d3a94,_0x2edfa6,_0xe17008,_0x53cdd6){const _0x2df045=_0x5defcf;var _0x3821a5;if(!this[_0x2df045(0x223)])return;let _0x218361=(_0x3821a5=this['_resolveVisibleCellCache'](_0x2edfa6)[_0x2df045(0x565)][this[_0x2df045(0x223)][_0x2df045(0x4b9)]])==null?void 0x0:_0x3821a5[this[_0x2df045(0x223)][_0x2df045(0x3f1)]];if(!_0x218361)return;let _0x41b24d=$(_0xe17008/_0x2edfa6[_0x2df045(0x58e)],0x1),_0x5e8af5=$(_0x53cdd6/_0x2edfa6[_0x2df045(0x65e)],0x1);_0x3d3a94[_0x2df045(0x370)](),_0x3d3a94[_0x2df045(0x5fd)](-_0xe17008/0x2+_0x218361[_0x2df045(0x47d)][_0x2df045(0x479)]*_0x41b24d,-_0x53cdd6/0x2+_0x218361[_0x2df045(0x47d)]['top']*_0x5e8af5,_0x218361[_0x2df045(0x47d)]['width']*_0x41b24d,_0x218361['bounds'][_0x2df045(0x65e)]*_0x5e8af5),_0x3d3a94[_0x2df045(0x678)]=_0x2df045(0x1c2),_0x3d3a94[_0x2df045(0x6e3)]=0x1,_0x3d3a94[_0x2df045(0x54e)]();}['_drawControls'](_0x105a19,_0x35c6e8,_0x46143c,_0x20f502){const _0x5cf0c7=_0x5defcf;this['_shouldDrawControls']()&&this[_0x5cf0c7(0x644)](_0x35c6e8,_0x46143c,_0x20f502,{'showAll':!0x0})['filter'](_0x515293=>_0x515293[_0x5cf0c7(0x521)]!==_0x5cf0c7(0x3c8))[_0x5cf0c7(0x4df)](_0x593a2b=>{const _0x26ce09=_0x5cf0c7;let _0x4bec35=-_0x46143c/0x2+_0x593a2b['rect']['x'],_0x153b6f=-_0x20f502/0x2+_0x593a2b[_0x26ce09(0x5fd)]['y'],_0x5d37d2=this[_0x26ce09(0x661)](_0x593a2b),_0x2bf095=this[_0x26ce09(0x22e)](_0x593a2b);_0x105a19['beginPath'](),_0x105a19[_0x26ce09(0x5fd)](_0x4bec35,_0x153b6f,_0x593a2b[_0x26ce09(0x5fd)][_0x26ce09(0x58e)],_0x593a2b[_0x26ce09(0x5fd)][_0x26ce09(0x65e)]),_0x105a19[_0x26ce09(0x3d5)]=_0x2bf095?_0x26ce09(0x44a):_0x5d37d2?Rc:Lc,_0x105a19[_0x26ce09(0x394)](),_0x105a19[_0x26ce09(0x678)]=_0x5d37d2||_0x2bf095?Bc:zc,_0x105a19[_0x26ce09(0x6e3)]=0x1,_0x105a19[_0x26ce09(0x54e)]();});}[_0x5defcf(0x4b3)](_0x31cab3,_0x5199db,_0x556f08,_0x1cdddc,_0x112ab2){const _0x37b47e=_0x5defcf;if(!this[_0x37b47e(0x2a3)]())return;let _0x5b59e6=$c(this['_getRenderTable']());if(_0x5b59e6[_0x37b47e(0x360)]){let _0x1b0125=-_0x556f08/0x2;_0x112ab2['forEach']((_0x9290b9,_0xbe93e)=>{const _0x319926=_0x37b47e;this[_0x319926(0x3b6)](_0x31cab3,{'kind':'row','index':_0xbe93e,'x':-_0x5199db/0x2-0xa,'y':_0x1b0125,'width':0xa,'height':_0x9290b9}),_0x1b0125+=_0x9290b9;});}if(_0x5b59e6[_0x37b47e(0x5ca)]){let _0x3f3b88=-_0x5199db/0x2;_0x1cdddc[_0x37b47e(0x4df)]((_0x1f1136,_0x5992f2)=>{const _0x2037db=_0x37b47e;this[_0x2037db(0x3b6)](_0x31cab3,{'kind':'column','index':_0x5992f2,'x':_0x3f3b88,'y':-_0x556f08/0x2-0xa,'width':_0x1f1136,'height':0xa}),_0x3f3b88+=_0x1f1136;});}}[_0x5defcf(0x3b6)](_0x4488f3,_0x19ce37){const _0x10ec8e=_0x5defcf;_0x4488f3[_0x10ec8e(0x370)](),_0x4488f3[_0x10ec8e(0x5fd)](_0x19ce37['x'],_0x19ce37['y'],_0x19ce37[_0x10ec8e(0x58e)],_0x19ce37[_0x10ec8e(0x65e)]),_0x4488f3[_0x10ec8e(0x3d5)]=this[_0x10ec8e(0x4f1)](_0x19ce37['kind'],_0x19ce37[_0x10ec8e(0x5d4)])?'#1a73e8':this[_0x10ec8e(0x555)](_0x19ce37[_0x10ec8e(0x521)],_0x19ce37[_0x10ec8e(0x5d4)])?_0x10ec8e(0x6ea):_0x10ec8e(0x246),_0x4488f3[_0x10ec8e(0x394)]();}[_0x5defcf(0x39f)](_0x15c380,_0x22baa9,_0x389a8f,_0x3de5d7,_0x3ff103,_0x32c2d9){const _0x15827e=_0x5defcf;if(!this[_0x15827e(0x4d1)]())return;let _0x37a43c=this[_0x15827e(0x72a)]();this['_buildStructuralTriggers'](_0x22baa9,_0x389a8f,_0x3de5d7,_0x3ff103,_0x32c2d9)[_0x15827e(0x439)](_0xdce349=>_0xdce349[_0x15827e(0x521)]===_0x15827e(0x6a9)||_0xdce349[_0x15827e(0x521)]===_0x15827e(0x473))[_0x15827e(0x4df)](_0x21d6bc=>{const _0xa1b6b2=_0x15827e;let _0x5d574b=-_0x389a8f/0x2+_0x21d6bc[_0xa1b6b2(0x5fd)]['x']+_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x58e)]/0x2,_0x346fe4=-_0x3de5d7/0x2+_0x21d6bc[_0xa1b6b2(0x5fd)]['y']+_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x65e)]/0x2,_0x43e61c=this['_isHoveredStructuralTrigger'](_0x21d6bc),_0x256019=_0x43e61c?Math[_0xa1b6b2(0x4a7)](_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x58e)],_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x65e)])/0x2:0x2/_0x37a43c;if(_0x15c380[_0xa1b6b2(0x370)](),_0x15c380[_0xa1b6b2(0x19c)](_0x5d574b,_0x346fe4,_0x256019,0x0,Math['PI']*0x2),_0x15c380[_0xa1b6b2(0x3d5)]=_0x43e61c?Ic:'rgba(95,\x2099,\x20104,\x200.45)',_0x15c380[_0xa1b6b2(0x394)](),!_0x43e61c)return;_0x15c380[_0xa1b6b2(0x370)](),_0x15c380[_0xa1b6b2(0x678)]=Hc,_0x15c380['lineWidth']=1.5/_0x37a43c;let _0x572cbc=0x3/_0x37a43c;_0x15c380['moveTo'](_0x5d574b-_0x572cbc,_0x346fe4),_0x15c380[_0xa1b6b2(0x374)](_0x5d574b+_0x572cbc,_0x346fe4),_0x15c380[_0xa1b6b2(0x3a6)](_0x5d574b,_0x346fe4-_0x572cbc),_0x15c380[_0xa1b6b2(0x374)](_0x5d574b,_0x346fe4+_0x572cbc),_0x15c380[_0xa1b6b2(0x54e)]();});}[_0x5defcf(0x5b6)](_0x5c82dd,_0x107049,_0x3f181b,_0x2c84a8,_0x54c228){const _0x521f45=_0x5defcf;var _0x2097a6;(_0x2097a6=this[_0x521f45(0x1a2)])!=null&&_0x2097a6['visible']&&this[_0x521f45(0x1a2)][_0x521f45(0x654)]&&nl(this[_0x521f45(0x1a2)][_0x521f45(0x654)],$c(this[_0x521f45(0x6a0)]()))&&this[_0x521f45(0x4d2)](_0x5c82dd,this[_0x521f45(0x1a2)]['insertGuide'],_0x107049,_0x3f181b,_0x2c84a8,_0x54c228);}[_0x5defcf(0x677)](_0x94826a,_0x36eb97,_0x155cf7,_0x1a5530,_0x15a1c3){const _0x6d30f0=_0x5defcf;var _0x3e2006;(_0x3e2006=this[_0x6d30f0(0x1a2)])!=null&&_0x3e2006[_0x6d30f0(0x65a)]&&this['_controlState'][_0x6d30f0(0x676)]&&nl(this[_0x6d30f0(0x1a2)][_0x6d30f0(0x676)],$c(this[_0x6d30f0(0x6a0)]()))&&this['_drawGuideLine'](_0x94826a,this[_0x6d30f0(0x1a2)]['reorderGuide'],_0x36eb97,_0x155cf7,_0x1a5530,_0x15a1c3);}[_0x5defcf(0x4d2)](_0x2ea02c,_0x40b6a8,_0x5cfeb3,_0x25a43e,_0xe4c0da,_0x3c65b1){const _0x5412ec=_0x5defcf;let _0x1cc03b=-_0x5cfeb3/0x2,_0x41744b=-_0x25a43e/0x2;if(_0x2ea02c[_0x5412ec(0x370)](),_0x2ea02c[_0x5412ec(0x2b2)]([]),_0x2ea02c[_0x5412ec(0x678)]=Ic,_0x2ea02c[_0x5412ec(0x6e3)]=0x2,_0x40b6a8['kind']==='row'){let _0x3cb30f=_0x41744b+El(_0x3c65b1,_0x40b6a8[_0x5412ec(0x5d4)]);_0x2ea02c['moveTo'](_0x1cc03b,_0x3cb30f),_0x2ea02c['lineTo'](_0x1cc03b+_0x5cfeb3,_0x3cb30f);}else{let _0xf30412=_0x1cc03b+El(_0xe4c0da,_0x40b6a8[_0x5412ec(0x5d4)]);_0x2ea02c[_0x5412ec(0x3a6)](_0xf30412,_0x41744b),_0x2ea02c['lineTo'](_0xf30412,_0x41744b+_0x25a43e);}_0x2ea02c['stroke']();}[_0x5defcf(0x5eb)](_0x30aeb7,_0x236fb5,_0x4f6a0d,_0x1d515d){const _0x549168=_0x5defcf;var _0x30d45b;if(!this['_selection']||this['_isTextEditing']())return;let _0x1c0571=this['_buildControlButtons'](_0x236fb5,_0x4f6a0d,_0x1d515d)[_0x549168(0x461)](_0x4a8bdf=>_0x4a8bdf[_0x549168(0x521)]==='table-handle');if(!_0x1c0571)return;let {rect:_0x174767}=_0x1c0571,_0x3e44cc=-_0x4f6a0d/0x2+_0x174767['x'],_0x557c0c=-_0x1d515d/0x2+_0x174767['y'],_0x45aac1=((_0x30d45b=this['_controlHover'])==null?void 0x0:_0x30d45b[_0x549168(0x521)])===_0x549168(0x3c8);jl(_0x30aeb7,_0x3e44cc,_0x557c0c,_0x174767['width'],_0x174767['height'],_0x45aac1),Al(_0x30aeb7,_0x3e44cc,_0x557c0c,_0x174767['width'],_0x174767['height'],_0x45aac1?Hc:Vc);}[_0x5defcf(0x51b)](){const _0x1cbef5=_0x5defcf;var _0x3fd499,_0x46213d;return this[_0x1cbef5(0x4d5)]()?!0x1:!!((_0x3fd499=this[_0x1cbef5(0x1ac)])!=null&&_0x3fd499[_0x1cbef5(0x649)][_0x1cbef5(0x393)])||!!this[_0x1cbef5(0x6b0)]||!!((_0x46213d=this[_0x1cbef5(0x1a2)])!=null&&_0x46213d[_0x1cbef5(0x65a)]);}['_shouldDrawStructuralHeaders'](){const _0x45d4cf=_0x5defcf;var _0x292039,_0x3a5b3c;if(this['_isTextEditing']())return!0x1;let _0x2c35a6=this['_controlState'];return this[_0x45d4cf(0x1ac)]?!0x0:!!(_0x2c35a6!=null&&_0x2c35a6[_0x45d4cf(0x65a)])&&!!(_0x2c35a6[_0x45d4cf(0x3d3)]||((_0x292039=_0x2c35a6[_0x45d4cf(0x2a8)])==null?void 0x0:_0x292039[_0x45d4cf(0x521)])===_0x45d4cf(0x21f)||((_0x3a5b3c=_0x2c35a6[_0x45d4cf(0x2a8)])==null?void 0x0:_0x3a5b3c[_0x45d4cf(0x521)])===_0x45d4cf(0x720));}[_0x5defcf(0x4d1)](){const _0x32bd4b=_0x5defcf;var _0x3b2f16;return!this['_isTextEditing']()&&(!!this[_0x32bd4b(0x1ac)]||!!((_0x3b2f16=this[_0x32bd4b(0x1a2)])!=null&&_0x3b2f16[_0x32bd4b(0x65a)]));}[_0x5defcf(0x57c)](_0x291e0b){const _0x1ed18f=_0x5defcf;var _0x489d72;if(this[_0x1ed18f(0x4d5)]()||!this['_selection']&&!((_0x489d72=this[_0x1ed18f(0x1a2)])!=null&&_0x489d72[_0x1ed18f(0x65a)]))return!0x1;let _0x1605f8=this[_0x1ed18f(0x58e)],_0x424e4c=this['height'],_0x1ecd6a=this[_0x1ed18f(0x6a0)]();if(!_0x1ecd6a)return!0x1;let _0x7b64f2={'x':_0x291e0b['x']+_0x1605f8/0x2,'y':_0x291e0b['y']+_0x424e4c/0x2},_0x5e7d02=this[_0x1ed18f(0x2ce)](_0x1ecd6a),_0x3bf25a=this[_0x1ed18f(0x1ad)](_0x5e7d02,_0x1605f8,_0x424e4c,Kc(_0x1ecd6a,_0x1605f8),qc(_0x1ecd6a,_0x424e4c)),_0x2adfeb=_0x2e8971(_0x3bf25a,_0x7b64f2['x'],_0x7b64f2['y']);if(_0x2adfeb&&Pl(_0x2adfeb)||_0x3bf25a['some'](_0x3f9802=>this[_0x1ed18f(0x1fc)](_0x3f9802,_0x7b64f2['x'],_0x7b64f2['y'])))return!0x0;let _0x36920c=this[_0x1ed18f(0x644)](_0x5e7d02,_0x1605f8,_0x424e4c)[_0x1ed18f(0x439)](_0x451e5e=>_0x451e5e[_0x1ed18f(0x521)]===_0x1ed18f(0x3c8));return!!_0x54e4c1(_0x36920c,_0x7b64f2['x'],_0x7b64f2['y']);}['_buildControlButtons'](_0x14c602,_0x5dd974,_0x2b611c,_0x5c52d7){const _0x44400f=_0x5defcf;let _0x328fd0=$c(this[_0x44400f(0x6a0)]()),_0x5cc997=_0x27fece(_0x14c602,_0x5dd974,_0x2b611c,_0x5c52d7)[_0x44400f(0x439)](_0x400eb5=>el(_0x400eb5,_0x328fd0));return this[_0x44400f(0x4e7)]===_0x44400f(0x225)?_0x5cc997:_0x5cc997[_0x44400f(0x439)](_0x149f98=>_0x149f98[_0x44400f(0x521)]===_0x44400f(0x3c8));}[_0x5defcf(0x1fc)](_0x2c3efc,_0x77d609,_0x389103){const _0x3cb3b7=_0x5defcf;return Pl(_0x2c3efc)?_0x22fe54(_0x77d609,_0x389103,_0x2c3efc[_0x3cb3b7(0x5fd)]):!0x1;}[_0x5defcf(0x661)](_0x2674f3){const _0x155de6=_0x5defcf;return!this[_0x155de6(0x6b0)]||_0x2674f3[_0x155de6(0x521)]!==this[_0x155de6(0x6b0)]['kind']?!0x1:_0x2674f3[_0x155de6(0x521)]===_0x155de6(0x24a)?_0x2674f3[_0x155de6(0x4b9)]===this[_0x155de6(0x6b0)][_0x155de6(0x4b9)]:_0x2674f3[_0x155de6(0x521)]!==_0x155de6(0x6f7)||_0x2674f3[_0x155de6(0x3f1)]===this[_0x155de6(0x6b0)][_0x155de6(0x3f1)];}['_isControlSelected'](_0x415eb1){const _0x1e4dc6=_0x5defcf;return this['_selection']?_0x415eb1['kind']===_0x1e4dc6(0x3c8)?this['_selection'][_0x1e4dc6(0x521)]===_0x1e4dc6(0x690):_0x415eb1[_0x1e4dc6(0x521)]==='row-select'?this['_selection'][_0x1e4dc6(0x521)]===_0x1e4dc6(0x4b9)&&_0x415eb1['row']!==void 0x0&&this['_selection'][_0x1e4dc6(0x649)]['some'](_0x34c46a=>_0x415eb1['row']>=Math[_0x1e4dc6(0x4a7)](_0x34c46a['startRow'],_0x34c46a[_0x1e4dc6(0x573)])&&_0x415eb1['row']<=Math['max'](_0x34c46a[_0x1e4dc6(0x1d3)],_0x34c46a[_0x1e4dc6(0x573)])):_0x415eb1[_0x1e4dc6(0x521)]===_0x1e4dc6(0x6f7)&&this['_selection'][_0x1e4dc6(0x521)]==='column'&&_0x415eb1[_0x1e4dc6(0x3f1)]!==void 0x0&&this['_selection'][_0x1e4dc6(0x649)][_0x1e4dc6(0x638)](_0x189ac3=>_0x415eb1[_0x1e4dc6(0x3f1)]>=Math[_0x1e4dc6(0x4a7)](_0x189ac3['startColumn'],_0x189ac3[_0x1e4dc6(0x351)])&&_0x415eb1['column']<=Math[_0x1e4dc6(0x6bf)](_0x189ac3[_0x1e4dc6(0x3cc)],_0x189ac3[_0x1e4dc6(0x351)])):!0x1;}[_0x5defcf(0x555)](_0x599a3a,_0x3120d2){const _0x34034e=_0x5defcf;var _0x567a2f;let _0x43134b=(_0x567a2f=this[_0x34034e(0x1a2)])==null?void 0x0:_0x567a2f['hoveredTrigger'];return _0x599a3a===_0x34034e(0x4b9)?(_0x43134b==null?void 0x0:_0x43134b[_0x34034e(0x521)])===_0x34034e(0x21f)&&_0x43134b['row']===_0x3120d2:(_0x43134b==null?void 0x0:_0x43134b[_0x34034e(0x521)])===_0x34034e(0x720)&&_0x43134b['column']===_0x3120d2;}['_isHoveredStructuralTrigger'](_0x4c6a64){const _0x30d93f=_0x5defcf;var _0x21cdfb;let _0x480116=(_0x21cdfb=this[_0x30d93f(0x1a2)])==null?void 0x0:_0x21cdfb[_0x30d93f(0x2a8)];return!_0x480116||_0x480116[_0x30d93f(0x521)]!==_0x4c6a64['kind']?!0x1:_0x4c6a64[_0x30d93f(0x521)]===_0x30d93f(0x21f)||_0x4c6a64[_0x30d93f(0x521)]===_0x30d93f(0x6a9)?_0x480116['row']!==void 0x0&&_0x480116[_0x30d93f(0x4b9)]===_0x4c6a64[_0x30d93f(0x4b9)]:_0x4c6a64['kind']===_0x30d93f(0x720)||_0x4c6a64['kind']===_0x30d93f(0x473)?_0x480116[_0x30d93f(0x3f1)]!==void 0x0&&_0x480116[_0x30d93f(0x3f1)]===_0x4c6a64[_0x30d93f(0x3f1)]:!0x1;}[_0x5defcf(0x4f1)](_0x22a50b,_0x552360){const _0x2e393f=_0x5defcf;var _0x1a957f;let _0xed92f8=(_0x1a957f=this['_controlState'])==null?void 0x0:_0x1a957f[_0x2e393f(0x3d3)];return!_0xed92f8||_0xed92f8[_0x2e393f(0x521)]!==_0x22a50b?!0x1:_0x552360>=Math['min'](_0xed92f8[_0x2e393f(0x6f2)],_0xed92f8['end'])&&_0x552360<=Math[_0x2e393f(0x6bf)](_0xed92f8['start'],_0xed92f8[_0x2e393f(0x4e4)]);}[_0x5defcf(0x1ad)](_0x379a16,_0x44fa5c,_0x14c096,_0x18e0b1,_0x2e79f0){const _0x5bf4d8=_0x5defcf;var _0x932a56;let _0x4f75ca=$c(this[_0x5bf4d8(0x6a0)]());return _0x49040d({'tableId':(_0x932a56=this[_0x5bf4d8(0x6a0)]())==null?void 0x0:_0x932a56['id'],'tableWidth':_0x44fa5c,'tableHeight':_0x14c096,'rowHeights':_0x2e79f0,'columnWidths':_0x18e0b1,'mergedCells':_0x379a16[_0x5bf4d8(0x405)][_0x5bf4d8(0x439)](_0xc96014=>!_0xc96014['hidden']&&(_0xc96014[_0x5bf4d8(0x3bb)]>0x1||_0xc96014[_0x5bf4d8(0x4c5)]>0x1))[_0x5bf4d8(0x295)](_0x57cddf=>({'startRow':_0x57cddf[_0x5bf4d8(0x4b9)],'endRow':_0x57cddf[_0x5bf4d8(0x4b9)]+_0x57cddf[_0x5bf4d8(0x3bb)]-0x1,'startColumn':_0x57cddf[_0x5bf4d8(0x3f1)],'endColumn':_0x57cddf[_0x5bf4d8(0x3f1)]+_0x57cddf[_0x5bf4d8(0x4c5)]-0x1})),'zoom':this[_0x5bf4d8(0x72a)]()})[_0x5bf4d8(0x439)](_0x10901f=>tl(_0x10901f,_0x4f75ca));}['_getStructuralControlZoom'](){const _0x47c8c3=_0x5defcf;var _0x5656ab,_0x417db0;let _0x506ee4=(_0x5656ab=this['getScene']())==null||(_0x417db0=_0x5656ab[_0x47c8c3(0x58d)])==null?void 0x0:_0x417db0[_0x47c8c3(0x283)](_0x5656ab);return $((_0x506ee4==null?void 0x0:_0x506ee4[_0x47c8c3(0x57b)])??(_0x506ee4==null?void 0x0:_0x506ee4[_0x47c8c3(0x6c3)]),0x1);}[_0x5defcf(0x33e)](){const _0x394e03=_0x5defcf;var _0x25727c,_0x55b1e7;return this['_shouldDrawStructuralHeaders']()||this[_0x394e03(0x4d1)]()||!!((_0x25727c=this['_controlState'])!=null&&_0x25727c[_0x394e03(0x654)])||!!((_0x55b1e7=this['_controlState'])!=null&&_0x55b1e7['reorderGuide']);}['_isTextEditing'](){const _0x4d1f06=_0x5defcf;var _0x577590;return!!this[_0x4d1f06(0x604)]||((_0x577590=this[_0x4d1f06(0x1ac)])==null?void 0x0:_0x577590[_0x4d1f06(0x521)])===_0x4d1f06(0x590);}[_0x5defcf(0x425)](_0x3e2f07){const _0x3100c6=_0x5defcf;var _0x2e5e9b,_0x3f2a8c;let _0x1a7a96=_0x3e2f07==null||(_0x2e5e9b=_0x3e2f07[_0x3100c6(0x487)])==null?void 0x0:_0x2e5e9b[_0x3100c6(0x605)];if(!_0x1a7a96)return;let _0x2800ee=((_0x3f2a8c=_0x3e2f07[_0x3100c6(0x487)])==null?void 0x0:_0x3f2a8c[_0x3100c6(0x4f8)])??_0x488828[_0x3100c6(0x327)],_0xa918f0=_0x2800ee+':'+_0x1a7a96,_0x30216f=this[_0x3100c6(0x236)][_0x3100c6(0x4ab)](_0x1a7a96,_0x2800ee);if(_0x30216f)return e[_0x3100c6(0x469)]['set'](_0xa918f0,_0x30216f),_0x30216f;let _0x16976d=e[_0x3100c6(0x469)][_0x3100c6(0x621)](_0xa918f0);if(_0x16976d)return this['_imageIoService'][_0x3100c6(0x235)](_0x1a7a96,_0x2800ee,_0x16976d),_0x16976d;if(!e[_0x3100c6(0x22c)][_0x3100c6(0x1ff)](_0xa918f0)){let _0x126598=this['_createImagePromise'](_0xa918f0,_0x1a7a96,_0x2800ee);e[_0x3100c6(0x22c)][_0x3100c6(0x3c0)](_0xa918f0,_0x126598),this[_0x3100c6(0x505)][_0x3100c6(0x378)](_0x405327(_0x126598)[_0x3100c6(0x533)]({'error':()=>void 0x0,'next':_0x404e0f=>{const _0x552804=_0x3100c6;_0x404e0f&&this[_0x552804(0x623)](!0x0);}}));}}async['_createImagePromise'](_0x26453d,_0x54367f,_0x36ebb8){const _0x5edb63=_0x5defcf;try{let _0x4ca8df=_0x36ebb8===_0x488828[_0x5edb63(0x3bf)]?await this[_0x5edb63(0x236)]['getImage'](_0x54367f):_0x54367f;if(!_0x4ca8df)return null;let _0x31bf2a=await new Promise(_0x578c60=>{const _0x24a37e=_0x5edb63;let _0x3d5d05=document[_0x24a37e(0x1a1)](_0x24a37e(0x2ab));_0x3d5d05[_0x24a37e(0x3fa)]=_0x24a37e(0x42e),_0x3d5d05[_0x24a37e(0x438)]=()=>_0x578c60(_0x3d5d05),_0x3d5d05['onerror']=()=>_0x578c60(null),_0x3d5d05[_0x24a37e(0x192)]=_0x4ca8df;});return _0x31bf2a&&(e[_0x5edb63(0x469)]['set'](_0x26453d,_0x31bf2a),this[_0x5edb63(0x236)][_0x5edb63(0x235)](_0x54367f,_0x36ebb8,_0x31bf2a)),_0x31bf2a;}finally{e['_imageLoadingCache'][_0x5edb63(0x525)](_0x26453d);}}};q(Gc,_0x5defcf(0x469),new Map()),q(Gc,_0x5defcf(0x22c),new Map());function Kc(_0x58c13f,_0x516600){const _0x40017d=_0x5defcf;let _0x504559=_0x58c13f==null?void 0x0:_0x58c13f[_0x40017d(0x5ca)][_0x40017d(0x295)](_0x3c2bc8=>_0x3c2bc8[_0x40017d(0x58e)])['filter'](_0x2530dd=>_0x2530dd>0x0);return Jc(_0x504559!=null&&_0x504559[_0x40017d(0x393)]?_0x504559:[0x1,0x1,0x1],_0x516600);}function qc(_0x48fca0,_0x28dffd){const _0x13d12b=_0x5defcf;let _0x311a5c=_0x48fca0==null?void 0x0:_0x48fca0[_0x13d12b(0x360)][_0x13d12b(0x295)](_0x55a16e=>_0x55a16e[_0x13d12b(0x65e)]??0x18)['filter'](_0x1f2efe=>_0x1f2efe>0x0);return Jc(_0x311a5c!=null&&_0x311a5c[_0x13d12b(0x393)]?_0x311a5c:[0x1,0x1,0x1],_0x28dffd);}function Jc(_0x5d2029,_0x485f84){const _0x3c33a3=_0x5defcf;let _0x18f354=_0x5d2029[_0x3c33a3(0x57e)]((_0x450f0d,_0x196540)=>_0x450f0d+_0x196540,0x0);return _0x18f354<=0x0?[_0x485f84]:_0x5d2029['map'](_0xc5de7d=>_0xc5de7d/_0x18f354*_0x485f84);}function Yc(_0x31633b,_0x1e9e27=0x0){const _0x3db7e9=_0x5defcf;return typeof _0x31633b==_0x3db7e9(0x716)&&Number[_0x3db7e9(0x401)](_0x31633b)?_0x31633b:_0x1e9e27;}function $(_0xcd3795,_0x10d09c){let _0x14b640=Yc(_0xcd3795,_0x10d09c);return _0x14b640>0x0?_0x14b640:_0x10d09c;}function Xc(_0x663896){return _0x663896&&typeof _0x663896=='object'?_0x663896:null;}function Zc(_0x373272){const _0x4bb147=_0x5defcf;let _0x14af79=Xc(_0x373272==null?void 0x0:_0x373272[_0x4bb147(0x554)]);if(!_0x14af79)return null;let _0x10d9b7=Yc(_0x14af79[_0x4bb147(0x39c)],0x0);return _0x10d9b7>0x0||typeof _0x14af79[_0x4bb147(0x725)]==_0x4bb147(0x716)||typeof _0x14af79[_0x4bb147(0x355)]==_0x4bb147(0x4ee)?{'borderRadius':Math[_0x4bb147(0x6bf)](0x0,_0x10d9b7),'borderWidth':$(_0x14af79[_0x4bb147(0x725)],1.5),'borderColor':typeof _0x14af79['outerBorderColor']==_0x4bb147(0x4ee)?_0x14af79['outerBorderColor']:Mc}:null;}function Qc(_0x4977c0){const _0x2f254b=_0x5defcf;let _0x28755e=Xc(_0x4977c0==null?void 0x0:_0x4977c0[_0x2f254b(0x554)]);if(!_0x28755e)return null;let _0xcea5a0=Xc(_0x28755e[_0x2f254b(0x45e)]);return _0xcea5a0?{'titleRow':Math[_0x2f254b(0x6bf)](0x0,Math[_0x2f254b(0x342)](Yc(_0xcea5a0[_0x2f254b(0x445)],0x0))),'titleColumn':Math['max'](0x0,Math[_0x2f254b(0x342)](Yc(_0xcea5a0[_0x2f254b(0x297)],0x0))),'notchWidth':$(_0xcea5a0[_0x2f254b(0x19d)],0x18),'borderWidth':$(_0x28755e[_0x2f254b(0x725)],1.5),'borderColor':typeof _0x28755e[_0x2f254b(0x355)]==_0x2f254b(0x4ee)?_0x28755e['outerBorderColor']:Mc}:null;}function $c(_0x48fd6c){const _0x4bec55=_0x5defcf;let _0x407d1e=Xc(_0x48fd6c==null?void 0x0:_0x48fd6c['custom']);if(!_0x407d1e)return{'rows':!0x0,'columns':!0x0};let _0x326486=Xc(_0x407d1e[_0x4bec55(0x237)]);return _0x326486?{'rows':_0x326486[_0x4bec55(0x360)]!==!0x1,'columns':_0x326486[_0x4bec55(0x5ca)]!==!0x1}:{'rows':!0x0,'columns':!0x0};}function el(_0x14112f,_0x7b76fe){const _0x1b78a3=_0x5defcf;return _0x14112f['kind']==='row-select'?_0x7b76fe[_0x1b78a3(0x360)]:_0x14112f[_0x1b78a3(0x521)]!==_0x1b78a3(0x6f7)||_0x7b76fe['columns'];}function tl(_0x5b2225,_0x57d41d){const _0x38d5b9=_0x5defcf;return _0x5b2225['kind']===_0x38d5b9(0x21f)||_0x5b2225[_0x38d5b9(0x521)]===_0x38d5b9(0x6a9)||_0x5b2225[_0x38d5b9(0x521)]===_0x38d5b9(0x31a)?_0x57d41d[_0x38d5b9(0x360)]:_0x5b2225[_0x38d5b9(0x521)]==='column-header'||_0x5b2225[_0x38d5b9(0x521)]===_0x38d5b9(0x473)||_0x5b2225['kind']===_0x38d5b9(0x5af)?_0x57d41d[_0x38d5b9(0x5ca)]:!0x0;}function nl(_0x164359,_0x416057){const _0x30b5a1=_0x5defcf;return _0x164359['kind']===_0x30b5a1(0x4b9)?_0x416057[_0x30b5a1(0x360)]:_0x416057[_0x30b5a1(0x5ca)];}function rl(_0x3752dd,_0x5a6af1,_0x58137f,_0x4a0424){const _0x3a34a5=_0x5defcf;_0x3752dd[_0x3a34a5(0x370)](),al(_0x3752dd,-_0x5a6af1/0x2,-_0x58137f/0x2,_0x5a6af1,_0x58137f,_0x4a0424[_0x3a34a5(0x633)]),_0x3752dd[_0x3a34a5(0x2b2)]([]),_0x3752dd[_0x3a34a5(0x678)]=_0x4a0424[_0x3a34a5(0x47c)],_0x3752dd[_0x3a34a5(0x6e3)]=_0x4a0424['borderWidth'],_0x3752dd[_0x3a34a5(0x54e)]();}function il(_0x2d7920,_0x1cd093,_0x15ffdb,_0x172da8,_0x1538c0,_0x44bc9a){const _0x5bcf6e=_0x5defcf;let _0x5e02c8=-_0x1cd093/0x2+El(_0x172da8,_0x44bc9a['titleColumn']),_0x1a4f97=-_0x15ffdb/0x2+El(_0x1538c0,_0x44bc9a[_0x5bcf6e(0x445)]),_0x25c646=_0x172da8[_0x44bc9a[_0x5bcf6e(0x297)]],_0x3d278e=_0x1538c0[_0x44bc9a[_0x5bcf6e(0x445)]];if(!_0x25c646||!_0x3d278e)return;let _0x15fe74=_0x5e02c8+_0x25c646,_0x2c3700=_0x1a4f97+_0x3d278e,_0x302455=Math['min'](_0x44bc9a[_0x5bcf6e(0x19d)],Math[_0x5bcf6e(0x6bf)](0x0,_0x25c646-0x1),Math['max'](0x0,_0x3d278e-0x1));_0x2d7920[_0x5bcf6e(0x370)](),_0x2d7920[_0x5bcf6e(0x2b2)]([]),_0x2d7920[_0x5bcf6e(0x678)]=_0x44bc9a['borderColor'],_0x2d7920[_0x5bcf6e(0x6e3)]=_0x44bc9a[_0x5bcf6e(0x191)],_0x2d7920[_0x5bcf6e(0x3a6)](_0x5e02c8,_0x1a4f97),_0x2d7920[_0x5bcf6e(0x374)](_0x15fe74,_0x1a4f97),_0x2d7920[_0x5bcf6e(0x374)](_0x15fe74,_0x2c3700-_0x302455),_0x2d7920[_0x5bcf6e(0x374)](_0x15fe74-_0x302455,_0x2c3700),_0x2d7920[_0x5bcf6e(0x374)](_0x5e02c8,_0x2c3700),_0x2d7920[_0x5bcf6e(0x374)](_0x5e02c8,_0x1a4f97),_0x2d7920[_0x5bcf6e(0x54e)]();}function al(_0x314fc6,_0x1d5ad4,_0xaf9ad7,_0x2061ac,_0x3db138,_0x2483a9){const _0x1e2c07=_0x5defcf;let _0x449b61=_0x1d5ad4+_0x2061ac,_0x42f083=_0xaf9ad7+_0x3db138,_0x199bb9=Math[_0x1e2c07(0x4a7)](Math[_0x1e2c07(0x6bf)](0x0,_0x2483a9),_0x2061ac/0x2,_0x3db138/0x2);if(_0x199bb9<=0x0){_0x314fc6['rect'](_0x1d5ad4,_0xaf9ad7,_0x2061ac,_0x3db138);return;}_0x314fc6[_0x1e2c07(0x3a6)](_0x1d5ad4+_0x199bb9,_0xaf9ad7),_0x314fc6[_0x1e2c07(0x374)](_0x449b61-_0x199bb9,_0xaf9ad7),_0x314fc6[_0x1e2c07(0x4c1)](_0x449b61,_0xaf9ad7,_0x449b61,_0xaf9ad7+_0x199bb9),_0x314fc6[_0x1e2c07(0x374)](_0x449b61,_0x42f083-_0x199bb9),_0x314fc6['quadraticCurveTo'](_0x449b61,_0x42f083,_0x449b61-_0x199bb9,_0x42f083),_0x314fc6[_0x1e2c07(0x374)](_0x1d5ad4+_0x199bb9,_0x42f083),_0x314fc6[_0x1e2c07(0x4c1)](_0x1d5ad4,_0x42f083,_0x1d5ad4,_0x42f083-_0x199bb9),_0x314fc6['lineTo'](_0x1d5ad4,_0xaf9ad7+_0x199bb9),_0x314fc6[_0x1e2c07(0x4c1)](_0x1d5ad4,_0xaf9ad7,_0x1d5ad4+_0x199bb9,_0xaf9ad7);}function ol(_0x2bb8f4,_0x1a5b4b){const _0x388011=_0x5defcf;return _0x2bb8f4!=null&&_0x2bb8f4[_0x388011(0x1d9)][_0x388011(0x216)]&&_0x1a5b4b===0x0?'#e8f1ff':_0x2bb8f4!=null&&_0x2bb8f4['options'][_0x388011(0x35e)]&&_0x1a5b4b%0x2==0x1?_0x388011(0x338):Pc;}function sl(_0x2be9aa,_0xa8ae9c,_0x538232,_0x919001,_0x4467c2,_0x4a7109,_0x658719){const _0x245f8e=_0x5defcf;var _0x4ff1a7;if(!(_0xa8ae9c!=null&&(_0x4ff1a7=_0xa8ae9c[_0x245f8e(0x487)])!=null&&_0x4ff1a7['source']))return!0x1;if(_0x2be9aa['save'](),_0x2be9aa[_0x245f8e(0x370)](),_0x2be9aa['rect'](_0x919001,_0x4467c2,_0x4a7109,_0x658719),_0x2be9aa[_0x245f8e(0x538)](),_0x2be9aa['globalAlpha']=pl(_0xa8ae9c[_0x245f8e(0x487)][_0x245f8e(0x1f1)]??_0xa8ae9c[_0x245f8e(0x498)]??0x1)??0x1,_0xa8ae9c['picture']['mode']===_0x245f8e(0x34c)){let _0xd8f8bc=_0x2be9aa[_0x245f8e(0x1b9)](_0x538232,_0x245f8e(0x32d));return _0xd8f8bc?(_0x2be9aa['fillStyle']=_0xd8f8bc,_0x2be9aa[_0x245f8e(0x37d)](_0x919001,_0x4467c2,_0x4a7109,_0x658719),_0x2be9aa[_0x245f8e(0x547)](),!0x0):(_0x2be9aa[_0x245f8e(0x547)](),!0x1);}return _0x2be9aa[_0x245f8e(0x4f9)](_0x538232,_0x919001,_0x4467c2,_0x4a7109,_0x658719),_0x2be9aa[_0x245f8e(0x547)](),!0x0;}function cl(_0x4989b7,_0x59b9ed,_0x469f12,_0x8cedf1,_0x185967,_0x39236e){const _0x1a64c0=_0x5defcf;var _0x22769f;if((_0x59b9ed==null?void 0x0:_0x59b9ed[_0x1a64c0(0x495)])==='none')return;if(_0x59b9ed!=null&&(_0x22769f=_0x59b9ed[_0x1a64c0(0x5ef)])!=null&&(_0x22769f=_0x22769f[_0x1a64c0(0x36c)])!=null&&_0x22769f[_0x1a64c0(0x393)]){let _0x193fbe=ul(_0x4989b7,_0x59b9ed[_0x1a64c0(0x5ef)],_0x469f12,_0x8cedf1,_0x185967,_0x39236e);return _0x59b9ed[_0x1a64c0(0x5ef)][_0x1a64c0(0x36c)][_0x1a64c0(0x4df)](_0x22a743=>{const _0x4be665=_0x1a64c0;_0x193fbe[_0x4be665(0x232)](dl(_0x22a743[_0x4be665(0x273)]),fl(_0x22a743['color'],_0x22a743['opacity']??_0x59b9ed[_0x4be665(0x498)]??0x1));}),_0x193fbe;}let _0x1d1c81=_0x59b9ed==null?void 0x0:_0x59b9ed[_0x1a64c0(0x1e2)];if(!_0x1d1c81)return;let _0x529452=pl(_0x59b9ed[_0x1a64c0(0x498)]);if(_0x529452===void 0x0||_0x529452>=0x1)return _0x1d1c81;let _0x5392d9=gl(_0x1d1c81);return _0x5392d9?_0x1a64c0(0x5ec)+_0x5392d9['r']+',\x20'+_0x5392d9['g']+',\x20'+_0x5392d9['b']+',\x20'+hl(_0x529452)+')':_0x1d1c81;}function ll(_0x31e7bd,_0x2127a9,_0x6ba10e){const _0x30b9e2=_0x5defcf;var _0x365698;if(!_0x31e7bd)return ol(_0x2127a9,_0x6ba10e);if(_0x31e7bd[_0x30b9e2(0x495)]==='none'||(_0x365698=_0x31e7bd[_0x30b9e2(0x5ef)])!=null&&(_0x365698=_0x365698[_0x30b9e2(0x36c)])!=null&&_0x365698[_0x30b9e2(0x393)]||_0x31e7bd[_0x30b9e2(0x487)])return;let _0x280bec=_0x31e7bd[_0x30b9e2(0x1e2)];if(!_0x280bec)return;let _0x2ef4f2=pl(_0x31e7bd[_0x30b9e2(0x498)]);if(_0x2ef4f2===void 0x0||_0x2ef4f2>=0x1)return _0x280bec;let _0x5edf68=gl(_0x280bec);return _0x5edf68?_0x30b9e2(0x5ec)+_0x5edf68['r']+',\x20'+_0x5edf68['g']+',\x20'+_0x5edf68['b']+',\x20'+hl(_0x2ef4f2)+')':_0x280bec;}function ul(_0x554a26,_0x21c8f5,_0x34797a,_0x13e7a6,_0x5de0e1,_0x564d17){const _0xd73865=_0x5defcf;if(_0x21c8f5[_0xd73865(0x495)]===_0xd73865(0x569)||_0x21c8f5['type']===_0xd73865(0x455)){let _0x56e713=Math[_0xd73865(0x6bf)](_0x5de0e1,_0x564d17)/0x2;return _0x554a26[_0xd73865(0x4a3)](_0x34797a+_0x5de0e1/0x2,_0x13e7a6+_0x564d17/0x2,0x0,_0x34797a+_0x5de0e1/0x2,_0x13e7a6+_0x564d17/0x2,_0x56e713);}let _0x54df99=((_0x21c8f5[_0xd73865(0x2c3)]??0x0)+0x5a)%0x168*Math['PI']/0xb4,_0x12595c=_0x34797a+_0x5de0e1/0x2,_0x17cefe=_0x13e7a6+_0x564d17/0x2,_0xf8d0bc=Math['sqrt'](_0x5de0e1*_0x5de0e1+_0x564d17*_0x564d17)/0x2,_0x51ff4b=Math['cos'](_0x54df99)*_0xf8d0bc,_0x31c3a7=Math[_0xd73865(0x1c1)](_0x54df99)*_0xf8d0bc;return _0x554a26[_0xd73865(0x704)](_0x12595c-_0x51ff4b,_0x17cefe-_0x31c3a7,_0x12595c+_0x51ff4b,_0x17cefe+_0x31c3a7);}function dl(_0x5c349c){const _0x5f2de4=_0x5defcf;return Number['isFinite'](_0x5c349c)?_0x5c349c<=0x1?Math[_0x5f2de4(0x4a7)](0x1,Math[_0x5f2de4(0x6bf)](0x0,_0x5c349c)):Math[_0x5f2de4(0x4a7)](0x1,Math[_0x5f2de4(0x6bf)](0x0,_0x5c349c/0x64)):0x0;}function fl(_0x261691,_0x22ee59){const _0x18016c=_0x5defcf;let _0x4e3903=_0x261691[_0x18016c(0x2e9)](),_0x5c57fa=ml(_0x22ee59);if(/^#[0-9a-f]{3}$/i[_0x18016c(0x721)](_0x4e3903)){let [,_0x2e638e,_0x10d39f,_0x4eb715]=_0x4e3903;return'rgba('+Number[_0x18016c(0x447)](_0x2e638e+_0x2e638e,0x10)+',\x20'+Number['parseInt'](_0x10d39f+_0x10d39f,0x10)+',\x20'+Number[_0x18016c(0x447)](_0x4eb715+_0x4eb715,0x10)+',\x20'+hl(_0x5c57fa)+')';}return/^#[0-9a-f]{6}$/i['test'](_0x4e3903)?_0x18016c(0x5ec)+Number[_0x18016c(0x447)](_0x4e3903[_0x18016c(0x313)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x4e3903[_0x18016c(0x313)](0x3,0x5),0x10)+',\x20'+Number[_0x18016c(0x447)](_0x4e3903[_0x18016c(0x313)](0x5,0x7),0x10)+',\x20'+hl(_0x5c57fa)+')':_0x261691;}function pl(_0x4d441f){const _0x15cdf2=_0x5defcf;if(typeof _0x4d441f==_0x15cdf2(0x716)&&Number[_0x15cdf2(0x401)](_0x4d441f))return ml(_0x4d441f<=0x1?_0x4d441f:_0x4d441f<=0x64?_0x4d441f/0x64:_0x4d441f/0x186a0);}function ml(_0x1d3743){const _0x330a40=_0x5defcf;return Math['min'](0x1,Math[_0x330a40(0x6bf)](0x0,_0x1d3743));}function hl(_0x3a0943){const _0x25dde3=_0x5defcf;return Number(_0x3a0943['toFixed'](0x4))[_0x25dde3(0x683)]();}function gl(_0x4bc545){const _0x2f3315=_0x5defcf;let _0x313765=_0x4bc545[_0x2f3315(0x2e9)](),_0xec7882=/^#([0-9a-f]{3})$/i[_0x2f3315(0x5c5)](_0x313765);if(_0xec7882){let [_0x4f9961,_0x37eed7,_0x1f33b9]=_0xec7882[0x1][_0x2f3315(0x24e)]('')[_0x2f3315(0x295)](_0x33fcac=>Number['parseInt'](''+_0x33fcac+_0x33fcac,0x10));return{'r':_0x4f9961,'g':_0x37eed7,'b':_0x1f33b9};}let _0x2204e4=/^#([0-9a-f]{6})$/i['exec'](_0x313765);if(_0x2204e4)return{'r':Number[_0x2f3315(0x447)](_0x2204e4[0x1][_0x2f3315(0x313)](0x0,0x2),0x10),'g':Number['parseInt'](_0x2204e4[0x1][_0x2f3315(0x313)](0x2,0x4),0x10),'b':Number[_0x2f3315(0x447)](_0x2204e4[0x1]['slice'](0x4,0x6),0x10)};}function _l(_0x4bd709,_0x1d0ca5,_0x4f88ea,_0x34e2df,_0x1ff46f,_0x223c60){const _0x289f51=_0x5defcf;_0x1d0ca5&&_0x1d0ca5['dash']!==_0x289f51(0x6bc)&&(_0x4bd709['beginPath'](),_0x4bd709[_0x289f51(0x2b2)](Tl(_0x1d0ca5[_0x289f51(0x244)])),_0x4bd709[_0x289f51(0x678)]=_0x1d0ca5[_0x289f51(0x1e2)]||Nc,_0x4bd709[_0x289f51(0x6e3)]=$(_0x1d0ca5['width'],0x1),_0x4bd709[_0x289f51(0x3a6)](_0x4f88ea,_0x34e2df),_0x4bd709[_0x289f51(0x374)](_0x1ff46f,_0x223c60),_0x4bd709['stroke'](),_0x4bd709['setLineDash']([]));}function vl(_0x1f92fc,_0x4f6e94,_0xd69833,_0x42d195){const _0x4943f8=_0x5defcf;var _0x287f11,_0x4237e4,_0x3a137f,_0x58547e;return!_0x4f6e94||_0x4f6e94['row']!==_0x1f92fc['row']||_0x4f6e94[_0x4943f8(0x3bb)]!==_0x1f92fc[_0x4943f8(0x3bb)]?!0x1:_0x42d195===ll(_0x4f6e94[_0x4943f8(0x242)][_0x4943f8(0x394)],_0xd69833,_0x4f6e94[_0x4943f8(0x4b9)])&&!Sl((_0x287f11=_0x1f92fc['style']['borders'])==null?void 0x0:_0x287f11['right'],(_0x4237e4=_0x4f6e94[_0x4943f8(0x242)][_0x4943f8(0x68f)])==null?void 0x0:_0x4237e4[_0x4943f8(0x479)],(_0x3a137f=_0x1f92fc[_0x4943f8(0x242)][_0x4943f8(0x68f)])==null?void 0x0:_0x3a137f[_0x4943f8(0x4e9)],(_0x58547e=_0x4f6e94[_0x4943f8(0x242)][_0x4943f8(0x68f)])==null?void 0x0:_0x58547e[_0x4943f8(0x4e9)]);}function yl(_0x3ef4a4,_0x52dbce,_0x1bf5d0,_0x31ee42){const _0x4d07ff=_0x5defcf;var _0x510b64,_0x198c46,_0x1fe31,_0x209e1f;return!_0x52dbce||_0x52dbce[_0x4d07ff(0x3f1)]!==_0x3ef4a4[_0x4d07ff(0x3f1)]||_0x52dbce[_0x4d07ff(0x4c5)]!==_0x3ef4a4['columnSpan']?!0x1:_0x31ee42===ll(_0x52dbce[_0x4d07ff(0x242)][_0x4d07ff(0x394)],_0x1bf5d0,_0x52dbce[_0x4d07ff(0x4b9)])&&!Sl((_0x510b64=_0x3ef4a4['style'][_0x4d07ff(0x68f)])==null?void 0x0:_0x510b64[_0x4d07ff(0x341)],(_0x198c46=_0x52dbce[_0x4d07ff(0x242)]['borders'])==null?void 0x0:_0x198c46[_0x4d07ff(0x5ee)],(_0x1fe31=_0x3ef4a4[_0x4d07ff(0x242)][_0x4d07ff(0x68f)])==null?void 0x0:_0x1fe31[_0x4d07ff(0x709)],(_0x209e1f=_0x52dbce['style']['borders'])==null?void 0x0:_0x209e1f['insideH']);}function bl(_0x38042b,_0xa9a184){const _0x29000c=_0x5defcf;var _0xc58673,_0x559e2d;return _0xa9a184?Sl(_0x38042b==null?void 0x0:_0x38042b[_0x29000c(0x485)],(_0xc58673=_0xa9a184[_0x29000c(0x242)][_0x29000c(0x68f)])==null?void 0x0:_0xc58673[_0x29000c(0x479)],_0x38042b==null?void 0x0:_0x38042b[_0x29000c(0x4e9)],(_0x559e2d=_0xa9a184[_0x29000c(0x242)]['borders'])==null?void 0x0:_0x559e2d[_0x29000c(0x4e9)]):_0x3e9ef6(_0x38042b==null?void 0x0:_0x38042b[_0x29000c(0x485)],void 0x0);}function xl(_0x4945c9,_0x3bc28f){const _0xfcd1d=_0x5defcf;var _0x376f0d,_0x359dde;return _0x3bc28f?Sl(_0x4945c9==null?void 0x0:_0x4945c9[_0xfcd1d(0x341)],(_0x376f0d=_0x3bc28f[_0xfcd1d(0x242)][_0xfcd1d(0x68f)])==null?void 0x0:_0x376f0d[_0xfcd1d(0x5ee)],_0x4945c9==null?void 0x0:_0x4945c9[_0xfcd1d(0x709)],(_0x359dde=_0x3bc28f[_0xfcd1d(0x242)][_0xfcd1d(0x68f)])==null?void 0x0:_0x359dde[_0xfcd1d(0x709)]):_0x3e9ef6(_0x4945c9==null?void 0x0:_0x4945c9[_0xfcd1d(0x341)],void 0x0);}function Sl(..._0x524c0c){const _0x59dbdb=_0x5defcf;return _0x524c0c[_0x59dbdb(0x57e)]((_0x2df8d0,_0x304fdf)=>_0x3e9ef6(_0x2df8d0,_0x304fdf),void 0x0);}function Cl(_0x373dd8,_0x55071b){const _0x2ec267=_0x5defcf;return _0x373dd8[_0x2ec267(0x4b9)]>=_0x55071b[_0x2ec267(0x4b9)]&&_0x373dd8[_0x2ec267(0x4b9)]<_0x55071b[_0x2ec267(0x4b9)]+_0x55071b[_0x2ec267(0x3bb)]&&_0x373dd8[_0x2ec267(0x3f1)]>=_0x55071b[_0x2ec267(0x3f1)]&&_0x373dd8['column']<_0x55071b[_0x2ec267(0x3f1)]+_0x55071b[_0x2ec267(0x4c5)];}function wl(_0x223559){const _0x271441=_0x5defcf;return!_0x223559||_0x223559[_0x271441(0x244)]===_0x271441(0x6bc)?0x0:$(_0x223559[_0x271441(0x58e)],0x1)/0x2;}function Tl(_0x159cfa){const _0x33a219=_0x5defcf;return _0x159cfa==='dash'?[0x6,0x3]:_0x159cfa==='dot'?[0x1,0x3]:_0x159cfa===_0x33a219(0x296)?[0x6,0x3,0x1,0x3]:[];}function El(_0x117a3b,_0x221450){const _0x3db2ce=_0x5defcf;let _0x169e4f=Math['min'](_0x117a3b[_0x3db2ce(0x393)],Math[_0x3db2ce(0x6bf)](0x0,_0x221450));return _0x117a3b['slice'](0x0,_0x169e4f)[_0x3db2ce(0x57e)]((_0x3fb279,_0xde2a24)=>_0x3fb279+_0xde2a24,0x0);}function Dl(_0x7708df,_0x386f0f,_0xe61a32,_0x1fad41,_0xc0e037,_0x5305bd,_0x5a4881,_0x36d679){const _0x1e78b4=_0x5defcf;let _0x22ccee=0.5,_0x28373d=Math[_0x1e78b4(0x6bf)](_0x386f0f,-_0x5a4881/0x2+_0x22ccee),_0x3a96ba=Math[_0x1e78b4(0x6bf)](_0xe61a32,-_0x36d679/0x2+_0x22ccee),_0x50efd3=Math[_0x1e78b4(0x4a7)](_0x386f0f+_0x1fad41,_0x5a4881/0x2-_0x22ccee),_0x267587=Math['min'](_0xe61a32+_0xc0e037,_0x36d679/0x2-_0x22ccee);_0x50efd3<=_0x28373d||_0x267587<=_0x3a96ba||(_0x7708df[_0x1e78b4(0x370)](),_0x7708df['setLineDash']([]),_0x7708df[_0x1e78b4(0x5fd)](_0x28373d,_0x3a96ba,_0x50efd3-_0x28373d,_0x267587-_0x3a96ba),_0x7708df[_0x1e78b4(0x678)]=_0x5305bd,_0x7708df[_0x1e78b4(0x6e3)]=0x1,_0x7708df[_0x1e78b4(0x54e)]());}function Ol(_0x56b001,_0x304d3c){const _0x2d92d2=_0x5defcf;let {bottom:_0x1af260,left:_0xc7daaf,right:_0x11752f,top:_0x1121f2}=_0x4998ad(_0x304d3c);return{'left':_0x56b001[_0x2d92d2(0x479)]+_0xc7daaf,'top':_0x56b001[_0x2d92d2(0x5ee)]+_0x1121f2,'width':Math['max'](0x1,_0x56b001[_0x2d92d2(0x58e)]-_0xc7daaf-_0x11752f),'height':Math[_0x2d92d2(0x6bf)](0x1,_0x56b001[_0x2d92d2(0x65e)]-_0x1121f2-_0x1af260)};}function kl(_0x27ec7a,_0x50c48f,_0x14f844,_0x35c90d){const _0x571908=_0x5defcf;let _0x30e4a3=$(_0x14f844/_0x50c48f['width'],0x1),_0x31af3e=$(_0x35c90d/_0x50c48f[_0x571908(0x65e)],0x1);return{...Ol({'left':_0x27ec7a[_0x571908(0x47d)]['left']*_0x30e4a3,'top':_0x27ec7a[_0x571908(0x47d)][_0x571908(0x5ee)]*_0x31af3e,'width':_0x27ec7a[_0x571908(0x47d)][_0x571908(0x58e)]*_0x30e4a3,'height':_0x27ec7a[_0x571908(0x47d)][_0x571908(0x65e)]*_0x31af3e},_0x27ec7a['style'][_0x571908(0x4f7)]),'row':_0x27ec7a[_0x571908(0x4b9)],'column':_0x27ec7a['column']};}function Al(_0x393b67,_0x1f756b,_0x57fa30,_0x2cc0e8,_0x35083f,_0x5c9606=Vc){const _0x5701bc=_0x5defcf;let _0x40e083=_0x1f756b+_0x2cc0e8/0x2-0x3,_0x11c8b3=_0x57fa30+_0x35083f/0x2-0x3;_0x393b67[_0x5701bc(0x3d5)]=_0x5c9606;for(let _0x555cbc=0x0;_0x555cbc<0x2;_0x555cbc+=0x1)for(let _0x5441d1=0x0;_0x5441d1<0x2;_0x5441d1+=0x1)_0x393b67[_0x5701bc(0x370)](),_0x393b67['arc'](_0x40e083+_0x5441d1*0x6,_0x11c8b3+_0x555cbc*0x6,1.5,0x0,Math['PI']*0x2),_0x393b67['fill']();}function jl(_0x5f4767,_0x1f8432,_0x1a4840,_0x3ca060,_0x26fd8e,_0x4759de=!0x1){const _0x4ab7e9=_0x5defcf;var _0xc4a0f4;_0x5f4767[_0x4ab7e9(0x2bd)](),_0x5f4767[_0x4ab7e9(0x4fb)]=_0x4759de?_0x4ab7e9(0x672):'rgba(60,\x2064,\x2067,\x200.16)',_0x5f4767[_0x4ab7e9(0x6e4)]=_0x4759de?0xa:0x8,_0x5f4767[_0x4ab7e9(0x41b)]=0x2,_0x5f4767[_0x4ab7e9(0x370)](),(_0xc4a0f4=_0x5f4767[_0x4ab7e9(0x4d0)])==null||_0xc4a0f4['call'](_0x5f4767,_0x1f8432,_0x1a4840,_0x3ca060,_0x26fd8e,0x6),_0x5f4767['roundRect']||_0x5f4767[_0x4ab7e9(0x5fd)](_0x1f8432,_0x1a4840,_0x3ca060,_0x26fd8e),_0x5f4767[_0x4ab7e9(0x3d5)]=_0x4759de?Rc:Lc,_0x5f4767[_0x4ab7e9(0x394)](),_0x5f4767[_0x4ab7e9(0x6e4)]=0x0,_0x5f4767[_0x4ab7e9(0x41b)]=0x0,_0x5f4767[_0x4ab7e9(0x678)]=_0x4759de?Bc:zc,_0x5f4767[_0x4ab7e9(0x6e3)]=0x1,_0x5f4767[_0x4ab7e9(0x54e)](),_0x5f4767[_0x4ab7e9(0x547)]();}function Ml(_0x30c9a6){const _0xd64037=_0x5defcf;return _0x30c9a6?{'visible':_0x30c9a6[_0xd64037(0x65a)],'hoveredTrigger':_0x30c9a6[_0xd64037(0x2a8)]?{..._0x30c9a6[_0xd64037(0x2a8)],'rect':{..._0x30c9a6[_0xd64037(0x2a8)][_0xd64037(0x5fd)]}}:null,'selectedStructuralRange':_0x30c9a6[_0xd64037(0x3d3)]?{..._0x30c9a6[_0xd64037(0x3d3)]}:null,'insertGuide':_0x30c9a6['insertGuide']?{..._0x30c9a6[_0xd64037(0x654)]}:null,'reorderGuide':_0x30c9a6[_0xd64037(0x676)]?{..._0x30c9a6[_0xd64037(0x676)]}:null}:null;}function Nl(_0x4a9b70,_0x54d41c){const _0x335638=_0x5defcf;return JSON[_0x335638(0x2bc)](_0x4a9b70)===JSON[_0x335638(0x2bc)](_0x54d41c);}function Pl(_0xa30c87){const _0x38cab0=_0x5defcf;return _0xa30c87[_0x38cab0(0x521)]===_0x38cab0(0x21f)||_0xa30c87[_0x38cab0(0x521)]===_0x38cab0(0x720)||_0xa30c87[_0x38cab0(0x521)]==='row-insert-dot'||_0xa30c87['kind']===_0x38cab0(0x473);}var Fl=class{constructor(_0x13ad28,_0x53335d){const _0x5c8f63=_0x5defcf;this[_0x5c8f63(0x691)]=_0x13ad28,this[_0x5c8f63(0x6b5)]=_0x53335d,q(this,_0x5c8f63(0x4be),!0x1),q(this,_0x5c8f63(0x5bf),null);}['setResizeBoundary'](_0x476220){const _0x497d7a=_0x5defcf;this[_0x497d7a(0x5bf)]=_0x476220,this[_0x497d7a(0x691)]['makeDirty'](!0x0);}[_0x5defcf(0x20e)](_0x116af6){const _0xbf1882=_0x5defcf;this['_enabled']!==_0x116af6&&(this[_0xbf1882(0x4be)]=_0x116af6,this[_0xbf1882(0x691)][_0xbf1882(0x623)](!0x0));}[_0x5defcf(0x48f)](_0xba4823){const _0x295e16=_0x5defcf;let _0x10ec72=this[_0x295e16(0x691)][_0x295e16(0x387)](_0xba4823),_0x4b6c2b=0x16,_0x4b6c36=null;for(let _0x520bbf of this['_getHandles']()){let _0xfeaad5=Math[_0x295e16(0x4a4)](_0x10ec72['x']-_0x520bbf['x'],_0x10ec72['y']-_0x520bbf['y'])*this['_zoom'];_0xfeaad5<_0x4b6c2b&&(_0x4b6c2b=_0xfeaad5,_0x4b6c36=_0x520bbf[_0x295e16(0x6c5)]);}return _0x4b6c36;}[_0x5defcf(0x64b)](_0x23fb6a){const _0x1c9def=_0x5defcf;let _0x284d6d=this['_enabled']?this[_0x1c9def(0x6b5)]():null;if(!_0x284d6d)return null;let {table:_0x2ee184,model:_0x267429}=_0x284d6d,{width:_0x3da415,height:_0x20fbeb}=this[_0x1c9def(0x691)],_0x39e7e2=this[_0x1c9def(0x691)][_0x1c9def(0x387)](_0x23fb6a),_0x531a58=_0x39e7e2['x']+_0x3da415/0x2,_0x24ce74=_0x39e7e2['y']+_0x20fbeb/0x2;if(_0x531a58<0x0||_0x24ce74<0x0||_0x531a58>_0x3da415||_0x24ce74>_0x20fbeb)return null;let _0x20676c=_0x2ee184[_0x1c9def(0x360)][_0x1c9def(0x295)](_0x1f65d3=>(_0x1f65d3['height']??0x18)*_0x20fbeb/_0x267429[_0x1c9def(0x65e)]),_0x5470be=_0x2ee184[_0x1c9def(0x5ca)][_0x1c9def(0x295)](_0x1b54b2=>_0x1b54b2['width']*_0x3da415/_0x267429[_0x1c9def(0x58e)]),_0x4804ff=_0x49040d({'tableWidth':_0x3da415,'tableHeight':_0x20fbeb,'rowHeights':_0x20676c,'columnWidths':_0x5470be,'mergedCells':_0x22b153(_0x2ee184),'zoom':this['_zoom']}),_0x2cbe8d=null,_0x50374b=0x1/0x0;for(let _0x4b638e of _0x4804ff){let {rect:_0x3361c3}=_0x4b638e,_0x1afeb5,_0x2a32a7;if(_0x4b638e['kind']==='resize-row'&&_0x4b638e[_0x1c9def(0x4b9)]!==void 0x0&&_0x531a58>=_0x3361c3['x']&&_0x531a58<=_0x3361c3['x']+_0x3361c3[_0x1c9def(0x58e)])_0x1afeb5=Math[_0x1c9def(0x1dd)](_0x24ce74-_0x3361c3['y']-_0x3361c3['height']/0x2),_0x2a32a7=Math[_0x1c9def(0x4a7)](0x8/this['_zoom'],_0x20676c[_0x4b638e[_0x1c9def(0x4b9)]]/0x4,_0x20676c[_0x4b638e[_0x1c9def(0x4b9)]+0x1]/0x4);else{if(_0x4b638e['kind']===_0x1c9def(0x5af)&&_0x4b638e[_0x1c9def(0x3f1)]!==void 0x0&&_0x24ce74>=_0x3361c3['y']&&_0x24ce74<=_0x3361c3['y']+_0x3361c3['height'])_0x1afeb5=Math[_0x1c9def(0x1dd)](_0x531a58-_0x3361c3['x']-_0x3361c3[_0x1c9def(0x58e)]/0x2),_0x2a32a7=Math['min'](0x8/this[_0x1c9def(0x3c1)],_0x5470be[_0x4b638e[_0x1c9def(0x3f1)]]/0x4,_0x5470be[_0x4b638e[_0x1c9def(0x3f1)]+0x1]/0x4);else continue;}_0x1afeb5<=_0x2a32a7&&_0x1afeb5<_0x50374b&&(_0x2cbe8d=_0x4b638e,_0x50374b=_0x1afeb5);}return _0x2cbe8d;}[_0x5defcf(0x3e1)](_0x4d2494,_0x348fc4){const _0x985105=_0x5defcf;let _0x201e80=this['_enabled']?this[_0x985105(0x6b5)]():null,_0x48f645=this[_0x985105(0x5bf)];if(_0x201e80&&_0x48f645){let {width:_0x411c5f,height:_0x1152a4}=this[_0x985105(0x691)];if(_0x4d2494['beginPath'](),_0x48f645[_0x985105(0x71b)]===_0x985105(0x4b9)){let _0x60d7b4=_0x201e80['table'][_0x985105(0x360)][_0x985105(0x313)](0x0,_0x48f645[_0x985105(0x5d4)])['reduce']((_0x525d1d,_0x4bc858)=>_0x525d1d+(_0x4bc858[_0x985105(0x65e)]??0x18),0x0),_0x1f80fc=-_0x1152a4/0x2+_0x60d7b4*_0x1152a4/_0x201e80['model'][_0x985105(0x65e)];_0x4d2494[_0x985105(0x3a6)](-_0x411c5f/0x2,_0x1f80fc),_0x4d2494[_0x985105(0x374)](_0x411c5f/0x2,_0x1f80fc);}else{let _0x340cb5=_0x201e80[_0x985105(0x690)][_0x985105(0x5ca)][_0x985105(0x313)](0x0,_0x48f645[_0x985105(0x5d4)])[_0x985105(0x57e)]((_0x4a58e2,_0x2af4dd)=>_0x4a58e2+_0x2af4dd[_0x985105(0x58e)],0x0),_0x1db6c7=-_0x411c5f/0x2+_0x340cb5*_0x411c5f/_0x201e80[_0x985105(0x40b)][_0x985105(0x58e)];_0x4d2494[_0x985105(0x3a6)](_0x1db6c7,-_0x1152a4/0x2),_0x4d2494[_0x985105(0x374)](_0x1db6c7,_0x1152a4/0x2);}_0x4d2494[_0x985105(0x678)]=_0x348fc4,_0x4d2494[_0x985105(0x6e3)]=0x2/this[_0x985105(0x3c1)],_0x4d2494[_0x985105(0x54e)]();return;}for(let _0x171aba of this[_0x985105(0x4d4)]())_0x4d2494['beginPath'](),_0x4d2494[_0x985105(0x19c)](_0x171aba['x'],_0x171aba['y'],0x5/this['_zoom'],0x0,Math['PI']*0x2),_0x4d2494[_0x985105(0x3d5)]=_0x348fc4,_0x4d2494[_0x985105(0x394)]();}get[_0x5defcf(0x3c1)](){const _0x1f3cc5=_0x5defcf;var _0x52d8f4;return((_0x52d8f4=this[_0x1f3cc5(0x691)]['getScene']())==null?void 0x0:_0x52d8f4[_0x1f3cc5(0x58d)]()['scaleX'])||0x1;}[_0x5defcf(0x4d4)](){const _0x28c681=_0x5defcf;let _0xcd2319=this['_enabled']?this[_0x28c681(0x6b5)]():null;if(!(_0xcd2319!=null&&_0xcd2319[_0x28c681(0x483)]))return[];let {range:_0x61d43d,model:_0x52f8e3}=_0xcd2319,_0x1879a1=_0x52f8e3[_0x28c681(0x405)][_0x28c681(0x439)](_0x2efcca=>!_0x2efcca['hidden']&&_0x2efcca[_0x28c681(0x4b9)]<=Math[_0x28c681(0x6bf)](_0x61d43d['startRow'],_0x61d43d[_0x28c681(0x573)])&&_0x2efcca[_0x28c681(0x4b9)]+_0x2efcca[_0x28c681(0x3bb)]>Math[_0x28c681(0x4a7)](_0x61d43d[_0x28c681(0x1d3)],_0x61d43d[_0x28c681(0x573)])&&_0x2efcca['column']<=Math['max'](_0x61d43d['startColumn'],_0x61d43d[_0x28c681(0x351)])&&_0x2efcca['column']+_0x2efcca['columnSpan']>Math['min'](_0x61d43d[_0x28c681(0x3cc)],_0x61d43d[_0x28c681(0x351)]));if(!_0x1879a1[_0x28c681(0x393)])return[];let {width:_0x1f505f,height:_0x1d50a8}=this[_0x28c681(0x691)],_0x162cbc=_0x1f505f/_0x52f8e3[_0x28c681(0x58e)],_0x157b48=_0x1d50a8/_0x52f8e3[_0x28c681(0x65e)];return[{'x':-_0x1f505f/0x2+Math[_0x28c681(0x4a7)](..._0x1879a1['map'](_0x4562ba=>_0x4562ba['bounds'][_0x28c681(0x479)]))*_0x162cbc,'y':-_0x1d50a8/0x2+Math[_0x28c681(0x4a7)](..._0x1879a1[_0x28c681(0x295)](_0x512d50=>_0x512d50[_0x28c681(0x47d)][_0x28c681(0x5ee)]))*_0x157b48,'anchor':{'row':Math[_0x28c681(0x6bf)](_0x61d43d[_0x28c681(0x1d3)],_0x61d43d['endRow']),'column':Math[_0x28c681(0x6bf)](_0x61d43d['startColumn'],_0x61d43d['endColumn'])}},{'x':-_0x1f505f/0x2+Math[_0x28c681(0x6bf)](..._0x1879a1[_0x28c681(0x295)](_0x5459b7=>_0x5459b7[_0x28c681(0x47d)][_0x28c681(0x479)]+_0x5459b7[_0x28c681(0x47d)][_0x28c681(0x58e)]))*_0x162cbc,'y':-_0x1d50a8/0x2+Math[_0x28c681(0x6bf)](..._0x1879a1[_0x28c681(0x295)](_0x519cc0=>_0x519cc0[_0x28c681(0x47d)][_0x28c681(0x5ee)]+_0x519cc0['bounds']['height']))*_0x157b48,'anchor':{'row':Math[_0x28c681(0x4a7)](_0x61d43d[_0x28c681(0x1d3)],_0x61d43d['endRow']),'column':Math[_0x28c681(0x4a7)](_0x61d43d[_0x28c681(0x3cc)],_0x61d43d[_0x28c681(0x351)])}}];}},Il=class extends Gc{constructor(..._0x510c95){const _0x1921d9=_0x5defcf;super(..._0x510c95),q(this,_0x1921d9(0x2c6),new Fl(this,()=>{const _0x2bc0db=_0x1921d9;let _0x150d0b=this[_0x2bc0db(0x2aa)](),_0x579c1b=this[_0x2bc0db(0x1c8)](),_0x982cf9=this['getTableSelection'](),_0x30c650=(_0x982cf9==null?void 0x0:_0x982cf9[_0x2bc0db(0x649)][0x0])??null;return!_0x150d0b||!_0x579c1b||!_0x982cf9||this[_0x2bc0db(0x634)]()||_0x982cf9[_0x2bc0db(0x521)]==='text'?null:{'table':_0x150d0b,'model':_0x579c1b,'range':_0x982cf9[_0x2bc0db(0x521)]==='table'?null:_0x30c650};}));}[_0x5defcf(0x3a3)](_0x3d1751){const _0x1d971d=_0x5defcf;return super[_0x1d971d(0x3a3)](_0x3d1751)||this[_0x1d971d(0x2c6)][_0x1d971d(0x48f)](_0x3d1751)!=null;}[_0x5defcf(0x6ca)](_0x30f86c,_0x877629,_0x249057,_0x1777dd){const _0x2a9864=_0x5defcf;super[_0x2a9864(0x6ca)](_0x30f86c,_0x877629,_0x249057,_0x1777dd),this[_0x2a9864(0x2c6)][_0x2a9864(0x3e1)](_0x30f86c,this[_0x2a9864(0x603)]());}};function Ll(_0x20de59,_0x3e4041){const _0x3a052a=_0x5defcf;let _0x2798e3=Wl(_0x20de59,_0x3e4041);if(!_0x20de59||!_0x2798e3)return'';let _0x27a347=[];for(let _0x5bee31=_0x2798e3[_0x3a052a(0x1d3)];_0x5bee31<=_0x2798e3[_0x3a052a(0x573)];_0x5bee31+=0x1){let _0x4b2822=[];for(let _0x357f98=_0x2798e3[_0x3a052a(0x3cc)];_0x357f98<=_0x2798e3[_0x3a052a(0x351)];_0x357f98+=0x1){var _0x197043;let _0x583bd8=(_0x197043=_0x20de59[_0x3a052a(0x360)][_0x5bee31])==null?void 0x0:_0x197043[_0x3a052a(0x405)][_0x357f98];if(_0x583bd8!=null&&_0x583bd8[_0x3a052a(0x4a8)]||_0x583bd8!=null&&_0x583bd8[_0x3a052a(0x45f)]){_0x4b2822[_0x3a052a(0x6e6)]('');continue;}_0x4b2822[_0x3a052a(0x6e6)](Jl(Ul(_0x583bd8==null?void 0x0:_0x583bd8[_0x3a052a(0x1b7)])));}_0x27a347['push'](_0x4b2822[_0x3a052a(0x1d7)]('\x09'));}return _0x27a347[_0x3a052a(0x1d7)]('\x0a');}function Rl(_0x28c10,_0x34e690){const _0x38f5eb=_0x5defcf;let _0x1bb215=Wl(_0x28c10,_0x34e690);if(!_0x28c10||!_0x1bb215)return'';let _0x10b43e=_0x28c10[_0x38f5eb(0x5ca)][_0x38f5eb(0x313)](_0x1bb215['startColumn'],_0x1bb215[_0x38f5eb(0x351)]+0x1)[_0x38f5eb(0x295)](_0x18f0ef=>_0x38f5eb(0x277)+_0x18f0ef['width']+_0x38f5eb(0x696))[_0x38f5eb(0x1d7)](''),_0x41225b=[];for(let _0x372114=_0x1bb215['startRow'];_0x372114<=_0x1bb215[_0x38f5eb(0x573)];_0x372114+=0x1){let _0x57bcd9=_0x28c10[_0x38f5eb(0x360)][_0x372114];if(!_0x57bcd9)continue;let _0x47df22=[];for(let _0x34db24=_0x1bb215[_0x38f5eb(0x3cc)];_0x34db24<=_0x1bb215[_0x38f5eb(0x351)];_0x34db24+=0x1){let _0x3821f1=_0x57bcd9['cells'][_0x34db24];if(!_0x3821f1||_0x3821f1['hMerge']||_0x3821f1[_0x38f5eb(0x45f)])continue;let _0x5c770a=Math[_0x38f5eb(0x4a7)](_0x3821f1[_0x38f5eb(0x3bb)]??0x1,_0x1bb215[_0x38f5eb(0x573)]-_0x372114+0x1),_0x3981ad=Math[_0x38f5eb(0x4a7)](_0x3821f1[_0x38f5eb(0x4c5)]??0x1,_0x1bb215[_0x38f5eb(0x351)]-_0x34db24+0x1),_0x2b02f1=[_0x5c770a>0x1?_0x38f5eb(0x397)+_0x5c770a+'\x22':'',_0x3981ad>0x1?'colspan=\x22'+_0x3981ad+'\x22':'',zl(_0x3821f1)][_0x38f5eb(0x439)](Boolean)['join']('\x20'),_0x5b6208=_0x3821f1['textData']?_0x45c727(_0xdc70f2['deepClone'](_0x3821f1[_0x38f5eb(0x1b7)])):'';_0x47df22[_0x38f5eb(0x6e6)](_0x38f5eb(0x285)+(_0x2b02f1?'\x20'+_0x2b02f1:'')+'>'+_0x5b6208+'</td>');}_0x41225b[_0x38f5eb(0x6e6)]('<tr'+(_0x57bcd9[_0x38f5eb(0x65e)]?_0x38f5eb(0x255)+_0x57bcd9[_0x38f5eb(0x65e)]+'px\x22':'')+'>'+_0x47df22[_0x38f5eb(0x1d7)]('')+_0x38f5eb(0x509));}return _0x38f5eb(0x46e)+_0x10b43e+_0x38f5eb(0x4a5)+_0x41225b['join']('')+_0x38f5eb(0x19f);}function zl(_0x220845){const _0x390c2a=_0x5defcf;var _0xb3177c,_0x1df45d;let _0x64fadc=[];((_0xb3177c=_0x220845[_0x390c2a(0x242)])==null||(_0xb3177c=_0xb3177c['fill'])==null?void 0x0:_0xb3177c[_0x390c2a(0x495)])===_0x772d0f[_0x390c2a(0x37a)]&&_0x220845[_0x390c2a(0x242)]['fill']['color']&&_0x64fadc[_0x390c2a(0x6e6)](_0x390c2a(0x4b6)+_0x220845[_0x390c2a(0x242)][_0x390c2a(0x394)][_0x390c2a(0x1e2)]);let _0x31ce09=(_0x1df45d=_0x220845[_0x390c2a(0x242)])==null?void 0x0:_0x1df45d[_0x390c2a(0x68f)];return _0x31ce09&&[_0x390c2a(0x5ee),'right','bottom',_0x390c2a(0x479)][_0x390c2a(0x4df)](_0x584506=>{const _0x5cda05=_0x390c2a;let _0x3acf49=_0x31ce09[_0x584506];_0x3acf49!=null&&_0x3acf49['color']&&_0x3acf49[_0x5cda05(0x58e)]!==void 0x0&&_0x64fadc[_0x5cda05(0x6e6)](_0x5cda05(0x559)+_0x584506+':\x20'+_0x3acf49[_0x5cda05(0x58e)]+'px\x20solid\x20'+_0x3acf49[_0x5cda05(0x1e2)]);}),_0x64fadc[_0x390c2a(0x393)]>0x0?'style=\x22'+Zl(_0x64fadc[_0x390c2a(0x1d7)](';\x20'))+'\x22':'';}function Bl(_0x41a2a8,_0x43b118,_0x3aca76){const _0x4f634d=_0x5defcf;if(!_0x41a2a8||!_0x43b118||_0x3aca76[_0x4f634d(0x393)]===0x0)return null;let _0x145338=Kl(_0x41a2a8,_0x43b118);if(!_0x145338)return null;let _0xa4d72=ql(_0x3aca76);if(_0xa4d72[_0x4f634d(0x393)]===0x0)return null;let _0x5efc4e=_0xdc70f2[_0x4f634d(0x597)](_0x41a2a8['rows']),_0x2d5646=!0x1;return _0xa4d72[_0x4f634d(0x4df)]((_0x4d855d,_0x45c8a8)=>{const _0x5cbb64=_0x4f634d;let _0x2f836a=_0x145338['row']+_0x45c8a8;_0x2f836a<0x0||_0x2f836a>=_0x5efc4e[_0x5cbb64(0x393)]||_0x4d855d[_0x5cbb64(0x4df)]((_0xc116e2,_0x87805)=>{const _0x42714d=_0x5cbb64;let _0x347cf8=_0x145338[_0x42714d(0x3f1)]+_0x87805;if(_0x347cf8<0x0||_0x347cf8>=_0x41a2a8[_0x42714d(0x5ca)]['length'])return;let _0x49ec07=_0x5efc4e[_0x2f836a],_0x2ee3c9=_0x49ec07==null?void 0x0:_0x49ec07[_0x42714d(0x405)][_0x347cf8];_0x49ec07&&_0x2ee3c9&&!_0x2ee3c9[_0x42714d(0x4a8)]&&!_0x2ee3c9[_0x42714d(0x45f)]&&(_0x49ec07[_0x42714d(0x405)][_0x347cf8]={..._0x2ee3c9,'textData':_0x2ee3c9[_0x42714d(0x1b7)]?tc(_0x2ee3c9['textData'],_0xc116e2):ec(_0x41a2a8['id'],_0x2f836a,_0x347cf8,_0xc116e2)},_0x2d5646=!0x0);});}),_0x2d5646?{'rows':_0x5efc4e}:null;}function Vl(_0x78ef28,_0x570adc,_0x25b376){const _0x4e1f61=_0x5defcf;if(!_0x78ef28||!_0x570adc||!_0x25b376)return null;let _0x149c88=Kl(_0x78ef28,_0x570adc);if(!_0x149c88)return null;let _0x4473e0=_0x2648ac(_0x25b376),_0x369ccc=_0x4473e0[_0x4e1f61(0x360)]['length']>0x0?_0x4473e0[_0x4e1f61(0x360)][_0x4e1f61(0x295)](_0x10d4b5=>_0x10d4b5['cells']):[[{'html':_0x25b376,'text':'','rowSpan':0x1,'colSpan':0x1}]];if(!_0x369ccc[_0x4e1f61(0x638)](_0x3fc309=>_0x3fc309[_0x4e1f61(0x638)](_0x1ee73f=>_0x1ee73f!==null)))return null;let _0x514ddb=Math[_0x4e1f61(0x6bf)](0x1,..._0x369ccc[_0x4e1f61(0x295)](_0x52f45f=>_0x52f45f[_0x4e1f61(0x393)])),_0x57be2a={'startRow':_0x149c88['row'],'endRow':Math[_0x4e1f61(0x4a7)](_0x78ef28[_0x4e1f61(0x360)][_0x4e1f61(0x393)]-0x1,_0x149c88[_0x4e1f61(0x4b9)]+_0x369ccc[_0x4e1f61(0x393)]-0x1),'startColumn':_0x149c88[_0x4e1f61(0x3f1)],'endColumn':Math['min'](_0x78ef28['columns'][_0x4e1f61(0x393)]-0x1,_0x149c88[_0x4e1f61(0x3f1)]+_0x514ddb-0x1)},_0xe02a29=_0x22b153(_0x78ef28)[_0x4e1f61(0x439)](_0x50d29c=>Ql(_0x50d29c,_0x57be2a))[_0x4e1f61(0x57e)]((_0x317c4a,_0xa8d9d7)=>_0x17dc97(_0x317c4a,_0xa8d9d7[_0x4e1f61(0x1d3)],_0xa8d9d7[_0x4e1f61(0x3cc)]),_0xdc70f2[_0x4e1f61(0x597)](_0x78ef28)),_0x262594=[],_0x501a02=!0x1;return _0x369ccc[_0x4e1f61(0x4df)]((_0x408908,_0x5bf670)=>{const _0x2a3cb5=_0x4e1f61;_0x408908[_0x2a3cb5(0x4df)]((_0x1eb841,_0x1b5042)=>{const _0x134890=_0x2a3cb5;var _0xca98c0;let _0xbfaf5b=_0x149c88[_0x134890(0x4b9)]+_0x5bf670,_0x488957=_0x149c88[_0x134890(0x3f1)]+_0x1b5042,_0x16cc5e=(_0xca98c0=_0xe02a29['rows'][_0xbfaf5b])==null?void 0x0:_0xca98c0[_0x134890(0x405)][_0x488957];if(!_0x1eb841||!_0x16cc5e)return;let _0x4ba285=Yl(_0x30df11(_0x1eb841[_0x134890(0x323)]))??ec(_0x78ef28['id'],_0xbfaf5b,_0x488957,_0x1eb841['text']);_0xe02a29[_0x134890(0x360)][_0xbfaf5b][_0x134890(0x405)][_0x488957]={..._0x16cc5e,'textData':ic(_0x4ba285,_0x78ef28['id']+'-'+_0xbfaf5b+'-'+_0x488957),'style':Xl(_0x16cc5e[_0x134890(0x242)],_0x1eb841)};let _0x56e91e=Math[_0x134890(0x4a7)](_0x1eb841['rowSpan'],_0x78ef28[_0x134890(0x360)]['length']-_0xbfaf5b),_0x42b831=Math[_0x134890(0x4a7)](_0x1eb841[_0x134890(0x541)],_0x78ef28[_0x134890(0x5ca)]['length']-_0x488957);(_0x56e91e>0x1||_0x42b831>0x1)&&_0x262594[_0x134890(0x6e6)]({'startRow':_0xbfaf5b,'endRow':_0xbfaf5b+_0x56e91e-0x1,'startColumn':_0x488957,'endColumn':_0x488957+_0x42b831-0x1}),_0x501a02=!0x0;});}),_0x262594[_0x4e1f61(0x4df)](_0x479df7=>{_0xe02a29=_0x355cd8(_0xe02a29,_0x479df7);}),_0x501a02?{'rows':_0xe02a29[_0x4e1f61(0x360)]}:null;}function Hl(_0x32d330,_0x3cd42f){const _0x237c3b=_0x5defcf;let _0xb31a56=Gl(_0x32d330,_0x3cd42f);if(!_0x32d330||_0xb31a56[_0x237c3b(0x393)]===0x0)return null;let _0x1b336f=_0xdc70f2[_0x237c3b(0x597)](_0x32d330[_0x237c3b(0x360)]),_0x5df54a=!0x1;return _0xb31a56['forEach'](_0x16050c=>{const _0x1b248=_0x237c3b;for(let _0x4116a1=_0x16050c[_0x1b248(0x1d3)];_0x4116a1<=_0x16050c[_0x1b248(0x573)];_0x4116a1+=0x1){let _0x2ad63b=_0x1b336f[_0x4116a1];if(_0x2ad63b)for(let _0x4eaae9=_0x16050c[_0x1b248(0x3cc)];_0x4eaae9<=_0x16050c[_0x1b248(0x351)];_0x4eaae9+=0x1){let _0x212cfd=_0x2ad63b[_0x1b248(0x405)][_0x4eaae9];if(!(_0x212cfd!=null&&_0x212cfd[_0x1b248(0x1b7)]))continue;let _0x302e15={..._0x212cfd};delete _0x302e15[_0x1b248(0x1b7)],_0x2ad63b[_0x1b248(0x405)][_0x4eaae9]=_0x302e15,_0x5df54a=!0x0;}}}),_0x5df54a?{'rows':_0x1b336f}:null;}function Ul(_0x17cb77){const _0x5918eb=_0x5defcf;var _0x4d2495;let _0x5c4870=_0x17cb77==null||(_0x4d2495=_0x17cb77[_0x5918eb(0x291)])==null?void 0x0:_0x4d2495[_0x5918eb(0x41f)];return _0x5c4870?_0x5c4870[_0x5918eb(0x48c)](/\r\n/g,'\x0a')[_0x5918eb(0x48c)](/\r/g,'\x0a')[_0x5918eb(0x48c)](/[\u0000-\u0008\u000B\u000C\u000E-\u001F]/g,'')[_0x5918eb(0x48c)](/\n+$/g,''):'';}function Wl(_0x4ed394,_0x572bb8){return Gl(_0x4ed394,_0x572bb8)[0x0]??null;}function Gl(_0x528639,_0x2a4582){const _0x8e1713=_0x5defcf;if(!_0x528639||!(_0x2a4582!=null&&_0x2a4582[_0x8e1713(0x649)][_0x8e1713(0x393)]))return[];let _0x2c18ec=_0x528639['rows'][_0x8e1713(0x393)]-0x1,_0x3d8b86=_0x528639[_0x8e1713(0x5ca)][_0x8e1713(0x393)]-0x1;return _0x2c18ec<0x0||_0x3d8b86<0x0?[]:_0x2a4582['ranges'][_0x8e1713(0x295)](_0x47884c=>{const _0x95b1dc=_0x8e1713;let _0x2bc83d=_0x4a84fc(_0x47884c);return{'startRow':Math[_0x95b1dc(0x6bf)](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x1d3)],_0x2c18ec)),'endRow':Math[_0x95b1dc(0x6bf)](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x573)],_0x2c18ec)),'startColumn':Math['max'](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x3cc)],_0x3d8b86)),'endColumn':Math[_0x95b1dc(0x6bf)](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x351)],_0x3d8b86))};});}function Kl(_0x47d68a,_0x431b71){const _0x5d2cc0=_0x5defcf;let _0x529f07=Wl(_0x47d68a,_0x431b71);if(!_0x529f07)return null;let _0x34ccab=_0x431b71[_0x5d2cc0(0x61b)]??_0x431b71['anchor'];return _0x34ccab?{'row':Math[_0x5d2cc0(0x6bf)](_0x529f07[_0x5d2cc0(0x1d3)],Math[_0x5d2cc0(0x4a7)](_0x34ccab['row'],_0x529f07[_0x5d2cc0(0x573)])),'column':Math[_0x5d2cc0(0x6bf)](_0x529f07[_0x5d2cc0(0x3cc)],Math[_0x5d2cc0(0x4a7)](_0x34ccab['column'],_0x529f07[_0x5d2cc0(0x351)]))}:{'row':_0x529f07[_0x5d2cc0(0x1d3)],'column':_0x529f07[_0x5d2cc0(0x3cc)]};}function ql(_0x1d6a95){const _0x26c5aa=_0x5defcf;let _0x559317=_0x1d6a95['replace'](/\r\n/g,'\x0a')[_0x26c5aa(0x48c)](/\r/g,'\x0a')[_0x26c5aa(0x48c)](/\n$/g,'');return _0x559317?_0x559317[_0x26c5aa(0x24e)]('\x0a')[_0x26c5aa(0x295)](_0x5acbdb=>_0x5acbdb['split']('\x09')):[];}function Jl(_0x594c55){const _0x27ce18=_0x5defcf;return _0x594c55[_0x27ce18(0x48c)](/\t/g,'\x20')[_0x27ce18(0x48c)](/\n/g,'\x20');}function Yl(_0x395872){const _0x530882=_0x5defcf;try{var _0x4dfeb1;let _0x95da1f=_0x41cc18(_0x395872);return(_0x4dfeb1=_0x95da1f['body'])!=null&&_0x4dfeb1[_0x530882(0x41f)]?{..._0x95da1f,'id':_0x95da1f['id']||_0x2b8786(0x6),'body':_0x95da1f[_0x530882(0x291)],'documentStyle':_0x95da1f[_0x530882(0x6e1)]??{}}:null;}catch{return null;}}function Xl(_0x5ce67a,_0x147824){const _0x21fd7c=_0x5defcf;let _0x4dfa35=_0x147824['borderColor']||_0x147824[_0x21fd7c(0x191)]?{'color':_0x147824['borderColor'],'width':_0x147824[_0x21fd7c(0x191)],'dash':_0x599627[_0x21fd7c(0x37a)]}:void 0x0;return!_0x147824[_0x21fd7c(0x5c1)]&&!_0x4dfa35?_0x5ce67a:{..._0x5ce67a,'fill':_0x147824['backgroundColor']?{'type':_0x772d0f[_0x21fd7c(0x37a)],'color':_0x147824['backgroundColor']}:_0x5ce67a==null?void 0x0:_0x5ce67a['fill'],'borders':_0x4dfa35?{'top':_0x4dfa35,'right':_0x4dfa35,'bottom':_0x4dfa35,'left':_0x4dfa35}:_0x5ce67a==null?void 0x0:_0x5ce67a[_0x21fd7c(0x68f)]};}function Zl(_0x1eb049){const _0x571fe8=_0x5defcf;return _0x1eb049[_0x571fe8(0x48c)](/&/g,_0x571fe8(0x587))[_0x571fe8(0x48c)](/"/g,_0x571fe8(0x1d5))[_0x571fe8(0x48c)](/</g,_0x571fe8(0x3ef))['replace'](/>/g,_0x571fe8(0x510));}function Ql(_0x8a489a,_0x2cba10){const _0x4d5d12=_0x5defcf;return _0x8a489a[_0x4d5d12(0x1d3)]<=_0x2cba10['endRow']&&_0x8a489a[_0x4d5d12(0x573)]>=_0x2cba10[_0x4d5d12(0x1d3)]&&_0x8a489a[_0x4d5d12(0x3cc)]<=_0x2cba10[_0x4d5d12(0x351)]&&_0x8a489a[_0x4d5d12(0x351)]>=_0x2cba10['startColumn'];}function $l(_0x49da89){const _0x291d53=_0x5defcf;return(_0x49da89==null?void 0x0:_0x49da89[_0x291d53(0x521)])==='row-insert-dot'&&_0x49da89[_0x291d53(0x4b9)]!==void 0x0||(_0x49da89==null?void 0x0:_0x49da89['kind'])===_0x291d53(0x473)&&_0x49da89[_0x291d53(0x3f1)]!==void 0x0;}function eu(_0x41652a){const _0x31b919=_0x5defcf;return _0x41652a[_0x31b919(0x521)]===_0x31b919(0x6a9)?{'visible':!0x0,'hoveredTrigger':_0x41652a,'insertGuide':{'kind':_0x31b919(0x4b9),'index':_0x41652a[_0x31b919(0x4b9)]+0x1}}:{'visible':!0x0,'hoveredTrigger':_0x41652a,'insertGuide':{'kind':_0x31b919(0x3f1),'index':_0x41652a[_0x31b919(0x3f1)]+0x1}};}const tu=_0x5defcf(0x637),nu=-0x2710;function ru(_0x571da1){const _0x41b123=_0x5defcf;if(typeof _0x571da1['insertIndex']==_0x41b123(0x716)&&Number[_0x41b123(0x685)](_0x571da1[_0x41b123(0x5c0)]))return _0x571da1[_0x41b123(0x5c0)];let _0x21f7c3=_0x571da1[_0x41b123(0x521)]===_0x41b123(0x6a9)?_0x571da1['row']:_0x571da1[_0x41b123(0x3f1)];return typeof _0x21f7c3==_0x41b123(0x716)&&Number['isInteger'](_0x21f7c3)?_0x21f7c3+0x1:null;}function iu(_0x250317,_0x35c1cd,_0x29120e,_0x529616,_0x19148a,_0x3df5e0=0x6){const _0x2f2c52=_0x5defcf;if(_0x529616<0x0||_0x19148a<0x0||_0x529616>_0x35c1cd||_0x19148a>_0x29120e)return null;let _0x5eee3a=mu(_0x250317[_0x2f2c52(0x5ca)][_0x2f2c52(0x295)](_0x37be8a=>_0x37be8a[_0x2f2c52(0x58e)]),_0x35c1cd),_0x26ed86=mu(_0x250317[_0x2f2c52(0x360)][_0x2f2c52(0x295)](_0x1a846a=>_0x1a846a[_0x2f2c52(0x65e)]??0x18),_0x29120e),_0x3a3b0c=gu(_0x5eee3a,_0x529616,_0x3df5e0),_0x409d4a=gu(_0x26ed86,_0x19148a,_0x3df5e0);return!_0x3a3b0c&&!_0x409d4a?null:_0x3a3b0c&&(!_0x409d4a||_0x3a3b0c[_0x2f2c52(0x663)]<=_0x409d4a[_0x2f2c52(0x663)])?{'axis':_0x2f2c52(0x3f1),'boundaryIndex':_0x3a3b0c[_0x2f2c52(0x484)]}:{'axis':'row','boundaryIndex':_0x409d4a[_0x2f2c52(0x484)]};}function au(_0x5e7fe0,_0x1f94af,_0x58fded,_0x1609ff){const _0x14332b=_0x5defcf;let _0x4d3566=_0xdc70f2[_0x14332b(0x597)](_0x5e7fe0),_0x281cd9=Math[_0x14332b(0x6bf)](0x1,_0x1609ff['minSize']??0xc);if(_0x1609ff[_0x14332b(0x71b)]===_0x14332b(0x3f1))_0x4d3566[_0x14332b(0x5ca)]=_u(mu(_0x5e7fe0[_0x14332b(0x5ca)][_0x14332b(0x295)](_0x1f2b54=>_0x1f2b54[_0x14332b(0x58e)]),_0x1f94af),_0x1609ff['boundaryIndex'],_0x1609ff['delta'],_0x281cd9)['map'](_0x449efc=>({'width':_0x449efc}));else{let _0x2f5e4b=_u(mu(_0x5e7fe0[_0x14332b(0x360)][_0x14332b(0x295)](_0x2f083e=>_0x2f083e[_0x14332b(0x65e)]??0x18),_0x58fded),_0x1609ff['boundaryIndex'],_0x1609ff[_0x14332b(0x4ef)],_0x281cd9);_0x4d3566[_0x14332b(0x360)]=_0x4d3566[_0x14332b(0x360)][_0x14332b(0x295)]((_0x2de865,_0x5f1f11)=>({..._0x2de865,'height':_0x2f5e4b[_0x5f1f11]??_0x2de865[_0x14332b(0x65e)]??0x18}));}return _0x4d3566;}let ou=class extends _0x272548{constructor(_0x4617d1,_0x1415aa,_0x14f417,_0x9bf3f7,_0x412490,_0x14780a,_0x2781da,_0xac5732,_0xd4c31b,_0x140eff,_0x5c8100,_0xe6c125,_0xb60e7b,_0x4958f7,_0x5b56b1,_0x55dcfe){const _0x516095=_0x5defcf;super(),this[_0x516095(0x51f)]=_0x4617d1,this[_0x516095(0x4d9)]=_0x1415aa,this[_0x516095(0x599)]=_0x14f417,this['_tableSelectionService']=_0x9bf3f7,this[_0x516095(0x33c)]=_0x412490,this['_drawingStateService']=_0x14780a,this['_contextMenuService']=_0x2781da,this[_0x516095(0x710)]=_0xac5732,this[_0x516095(0x56e)]=_0xd4c31b,this[_0x516095(0x561)]=_0x140eff,this['_univerInstanceService']=_0x5c8100,this[_0x516095(0x72d)]=_0xe6c125,this[_0x516095(0x369)]=_0xb60e7b,this['_permissionService']=_0x4958f7,this['_alignmentGuideService']=_0x5b56b1,this[_0x516095(0x30a)]=_0x55dcfe,q(this,_0x516095(0x594),null),q(this,_0x516095(0x451),null),q(this,'_resizeDragListeners',null),q(this,_0x516095(0x222),null),q(this,_0x516095(0x71d),null),q(this,_0x516095(0x2db),null),q(this,_0x516095(0x426),0x0),q(this,'_activeEditorContextKey',null),q(this,_0x516095(0x68a),null),q(this,_0x516095(0x20a),null),q(this,_0x516095(0x55c),null),q(this,'_hoveredTrigger',null),q(this,_0x516095(0x410),null),q(this,_0x516095(0x389),null),q(this,_0x516095(0x482),null),q(this,_0x516095(0x1c3),null),q(this,_0x516095(0x2f5),null),q(this,_0x516095(0x6db),!0x1),q(this,'_ownsStructuralCursor',!0x1),q(this,_0x516095(0x30f),!0x1),q(this,_0x516095(0x2be),!0x1),q(this,_0x516095(0x193),null),q(this,'_wiredResizeObjectRefs',new Map()),q(this,_0x516095(0x194),_0x1d83a7=>{const _0x267ad9=_0x516095;let _0x5eeff5=this['_resolveTableClipboardTarget'](_0x1d83a7);_0x5eeff5&&_0x1d83a7[_0x267ad9(0x33d)]&&this[_0x267ad9(0x6b3)](_0x5eeff5[_0x267ad9(0x5d2)])&&(_0x1d83a7[_0x267ad9(0x33d)][_0x267ad9(0x1da)](_0x267ad9(0x5f9),Ll(_0x5eeff5[_0x267ad9(0x690)],_0x5eeff5[_0x267ad9(0x5d2)])),_0x1d83a7[_0x267ad9(0x33d)][_0x267ad9(0x1da)](_0x267ad9(0x2ba),Rl(_0x5eeff5[_0x267ad9(0x690)],_0x5eeff5[_0x267ad9(0x5d2)])),_0x1d83a7[_0x267ad9(0x574)](),_0x1d83a7[_0x267ad9(0x724)]());}),q(this,'_handleClipboardCut',async _0x59977e=>{const _0x54c5cc=_0x516095;let _0x2e1a69=this[_0x54c5cc(0x617)](_0x59977e);if(!_0x2e1a69||!_0x59977e[_0x54c5cc(0x33d)]||!this[_0x54c5cc(0x6b3)](_0x2e1a69[_0x54c5cc(0x5d2)]))return;let _0x50c468=Hl(_0x2e1a69[_0x54c5cc(0x690)],_0x2e1a69[_0x54c5cc(0x5d2)]);_0x50c468&&(_0x59977e[_0x54c5cc(0x33d)]['setData'](_0x54c5cc(0x5f9),Ll(_0x2e1a69[_0x54c5cc(0x690)],_0x2e1a69[_0x54c5cc(0x5d2)])),_0x59977e[_0x54c5cc(0x33d)][_0x54c5cc(0x1da)]('text/html',Rl(_0x2e1a69[_0x54c5cc(0x690)],_0x2e1a69[_0x54c5cc(0x5d2)])),_0x59977e[_0x54c5cc(0x574)](),_0x59977e[_0x54c5cc(0x724)](),await this[_0x54c5cc(0x612)](_0x2e1a69,_0x50c468));}),q(this,_0x516095(0x51d),async _0x228bb5=>{const _0x47c370=_0x516095;let _0x4da847=this['_resolveTableClipboardTarget'](_0x228bb5);if(!_0x4da847||!_0x228bb5[_0x47c370(0x33d)])return;let _0xbd19cf=_0x228bb5['clipboardData'][_0x47c370(0x20b)](_0x47c370(0x2ba)),_0x242aba=_0x228bb5['clipboardData'][_0x47c370(0x20b)](_0x47c370(0x5f9)),_0x5a7b24=_0x1f5ab2(_0x242aba)?await _0x2d1d0d(_0x242aba):null,_0x36bcdc=_0x5a7b24?null:(_0xbd19cf?Vl(_0x4da847[_0x47c370(0x690)],_0x4da847[_0x47c370(0x5d2)],_0xbd19cf):null)??Bl(_0x4da847[_0x47c370(0x690)],_0x4da847[_0x47c370(0x5d2)],_0x242aba),_0x187be9=_0x5a7b24?[_0x5a7b24]:await Iu(_0x228bb5['clipboardData'],_0xbd19cf);(_0x36bcdc||_0x187be9[_0x47c370(0x393)]!==0x0)&&(_0x228bb5[_0x47c370(0x574)](),_0x228bb5[_0x47c370(0x724)](),(!_0x36bcdc||await this['_commitClipboardPatch'](_0x4da847,_0x36bcdc))&&await this[_0x47c370(0x712)](_0x187be9,+!!_0x36bcdc));}),this[_0x516095(0x328)]();}[_0x5defcf(0x2c2)](){const _0xfb4d50=_0x5defcf;this[_0xfb4d50(0x2be)]=!0x1,this[_0xfb4d50(0x1f8)](),super['dispose']();}[_0x5defcf(0x328)](){const _0x3fce7d=_0x5defcf;var _0x3070a0,_0xc7980;document[_0x3fce7d(0x63c)](_0x3fce7d(0x706),this['_handleClipboardCopy'],!0x0),document['addEventListener']('cut',this[_0x3fce7d(0x4ae)],!0x0),document['addEventListener'](_0x3fce7d(0x44c),this[_0x3fce7d(0x51d)],!0x0),this[_0x3fce7d(0x40f)](_0x2123f0(()=>{const _0x18eed9=_0x3fce7d;document[_0x18eed9(0x688)](_0x18eed9(0x706),this[_0x18eed9(0x194)],!0x0),document[_0x18eed9(0x688)](_0x18eed9(0x2ae),this[_0x18eed9(0x4ae)],!0x0),document[_0x18eed9(0x688)]('paste',this['_handleClipboardPaste'],!0x0);})),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x56e)]['setHandler'](_0xce6d7c=>this[_0x3fce7d(0x5d6)](_0xce6d7c))),this[_0x3fce7d(0x40f)](this['_keyboardService']['setInputHandler'](_0xaf60fa=>this[_0x3fce7d(0x26b)](_0xaf60fa)));let _0x172da5=(_0x3070a0=(_0xc7980=this[_0x3fce7d(0x369)])['registerGuard'])==null?void 0x0:_0x3070a0[_0x3fce7d(0x283)](_0xc7980,_0x5b1630=>this[_0x3fce7d(0x60e)](_0x5b1630));_0x172da5&&this[_0x3fce7d(0x40f)](_0x172da5),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x56e)][_0x3fce7d(0x23c)](_0x39f36e=>this['_handleKeyboardAction'](_0x39f36e))),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x51f)]['scene']['onDblclick$'][_0x3fce7d(0x582)](_0x4a4507=>{const _0x5f5bee=_0x3fce7d;this[_0x5f5bee(0x530)](_0x4a4507);})),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x51f)][_0x3fce7d(0x618)][_0x3fce7d(0x4d8)][_0x3fce7d(0x582)](()=>{this['_scheduleActiveEditorLayoutSync']();}));let _0x171ab3=this['_drawingStateService'][_0x3fce7d(0x6c7)];if(_0x171ab3){let _0x46b82c=_0x171ab3[_0x3fce7d(0x533)](_0x3fe585=>{const _0x31b130=_0x3fce7d;var _0x1be3e9;this['_syncActiveTableFromDrawingState'](_0x3fe585);let _0xe1bd3e=this[_0x31b130(0x531)]['getSelection']();if(!_0xe1bd3e){var _0x5630ba,_0x48565a;let _0x3b17df=((_0x5630ba=(_0x48565a=this['_tableSelectionService'])[_0x31b130(0x6a1)])==null?void 0x0:_0x5630ba[_0x31b130(0x283)](_0x48565a))??!0x1;this[_0x31b130(0x68a)]&&this['_tableActivationStage']&&!this['_isLastActiveTableSelected'](_0x3fe585)&&!_0x3b17df&&this[_0x31b130(0x1f8)]();return;}if(!(((_0x1be3e9=_0x3fe585['context'])==null?void 0x0:_0x1be3e9['unitId'])===_0xe1bd3e['unitId']&&_0x3fe585[_0x31b130(0x278)][_0x31b130(0x6b4)]===_0xe1bd3e[_0x31b130(0x6b4)]&&_0x3fe585[_0x31b130(0x625)][_0x31b130(0x1cb)](_0xe1bd3e['elementId']))){if(!this[_0x31b130(0x453)](_0x3fe585,_0xe1bd3e)&&this['_isTableInteractionInProgress'](_0xe1bd3e))return;this['_resetTableInteraction']();}});this[_0x3fce7d(0x40f)]({'dispose':()=>_0x46b82c[_0x3fce7d(0x5ea)]()});}this[_0x3fce7d(0x1f2)](),this[_0x3fce7d(0x6ef)](),this[_0x3fce7d(0x59e)]();}['_initSelectionSynchronization'](){}[_0x5defcf(0x1e3)](_0x5332fe,_0x5967){const _0x3e240e=_0x5defcf;this[_0x3e240e(0x2df)](_0x5967);}[_0x5defcf(0x54d)](_0x15fa3d){}[_0x5defcf(0x673)](..._0x12fec7){return this['_handleResizePointerDown'](..._0x12fec7);}[_0x5defcf(0x580)](_0x43cf30,_0x26ba5e){const _0xc64e31=_0x5defcf;var _0xbcb889;this[_0xc64e31(0x531)][_0xc64e31(0x31e)](),(_0xbcb889=_0x43cf30['setTableSelection'])==null||_0xbcb889['call'](_0x43cf30,null);}[_0x5defcf(0x1b2)](_0x593acd,_0x11ea62,_0x2e5128,_0x23c598){const _0x23c57d=_0x5defcf;let _0xd14543=this[_0x23c57d(0x205)](_0x11ea62,_0x2e5128,_0x23c598);return iu(_0x593acd,_0x11ea62[_0x23c57d(0x58e)],_0x11ea62[_0x23c57d(0x65e)],_0xd14543['x'],_0xd14543['y'],0x6);}[_0x5defcf(0x62f)](_0x449ee7,_0x9d0fd5,_0x569e9c,_0x2f4bd5,_0x2f658b){}['_getMoveGestureScale'](){return 0x1;}[_0x5defcf(0x652)](_0x3f903b){const _0x2ebf87=_0x5defcf;this[_0x2ebf87(0x6ec)]();}[_0x5defcf(0x6c2)](_0x43f70a){const _0x5c6dfd=_0x5defcf;var _0x3cc857;return _0x43f70a[_0x5c6dfd(0x521)]===_0x5c6dfd(0x590)||!!((_0x3cc857=_0x43f70a[_0x5c6dfd(0x649)])!=null&&_0x3cc857['length']);}[_0x5defcf(0x520)](){return!0x1;}['_startSelectionHandleDrag'](_0x19db93,_0xbf4d5c,_0x460174,_0x41c4d0){return!0x1;}[_0x5defcf(0x6fb)](_0x5a72f8){}[_0x5defcf(0x5aa)](){const _0x1380a2=_0x5defcf;this[_0x1380a2(0x2be)]||(this[_0x1380a2(0x2be)]=!0x0,Promise[_0x1380a2(0x2d6)]()[_0x1380a2(0x600)](()=>{const _0x4383f0=_0x1380a2;this[_0x4383f0(0x2be)]&&(this[_0x4383f0(0x2be)]=!0x1,this['_syncActiveEditorLayout']());}));}[_0x5defcf(0x2d5)](){const _0xa3bf9a=_0x5defcf;var _0x42bee8;let _0x2e7fac=this[_0xa3bf9a(0x33c)][_0xa3bf9a(0x21a)](),_0x549ad7=_0x2e7fac==null?void 0x0:_0x2e7fac[_0xa3bf9a(0x278)];if(!_0x2e7fac||!_0x549ad7||!this[_0xa3bf9a(0x6b9)](_0x549ad7))return;let _0x112b2f=this[_0xa3bf9a(0x46b)](_0x549ad7);if(!_0x112b2f)return;let {object:_0x5797f9,table:_0x1d70bf}=_0x112b2f,_0x2ebad6=_0x9eb1b0(((_0x42bee8=_0x5797f9[_0xa3bf9a(0x681)])==null?void 0x0:_0x42bee8['call'](_0x5797f9))??_0x1d70bf),_0x33f146=_0x2ebad6[_0xa3bf9a(0x405)][_0xa3bf9a(0x461)](_0x10adc3=>_0x10adc3[_0xa3bf9a(0x4b9)]===_0x549ad7[_0xa3bf9a(0x4b9)]&&_0x10adc3[_0xa3bf9a(0x3f1)]===_0x549ad7[_0xa3bf9a(0x3f1)]&&!_0x10adc3[_0xa3bf9a(0x3f5)]);if(!_0x33f146)return;let _0x127059=this[_0xa3bf9a(0x399)](_0x5797f9,_0x2ebad6,_0x33f146,_0x2e7fac['documentData']);_0x127059&&this[_0xa3bf9a(0x33c)][_0xa3bf9a(0x2c0)]({'layout':_0x127059});}['_syncActiveTableFromDrawingState'](_0x4a8539){const _0x2e4341=_0x5defcf;if(!_0x4a8539[_0x2e4341(0x278)]||_0x4a8539[_0x2e4341(0x625)][_0x2e4341(0x393)]!==0x1)return;let [_0x4f68ab]=_0x4a8539[_0x2e4341(0x625)],_0x5c9278=this[_0x2e4341(0x51f)][_0x2e4341(0x667)][_0x2e4341(0x2f7)](_0x1a21b4(_0x4a8539[_0x2e4341(0x278)][_0x2e4341(0x379)],_0x4a8539['context'][_0x2e4341(0x6b4)],_0x4f68ab));if(!_0x5c9278)return;let _0x439ddf=this[_0x2e4341(0x470)](_0x4a8539['context'][_0x2e4341(0x379)],_0x4a8539[_0x2e4341(0x278)][_0x2e4341(0x6b4)],_0x4f68ab);if(!_0x439ddf||_0x439ddf[_0x2e4341(0x571)][_0x2e4341(0x495)]!==_0x16fba9[_0x2e4341(0x3f9)])return;let _0x408ce8=this[_0x2e4341(0x531)][_0x2e4341(0x1cf)]();if((_0x408ce8==null?void 0x0:_0x408ce8[_0x2e4341(0x379)])===_0x439ddf[_0x2e4341(0x379)]&&_0x408ce8[_0x2e4341(0x6b4)]===_0x439ddf[_0x2e4341(0x6b4)]&&_0x408ce8[_0x2e4341(0x60f)]===_0x439ddf[_0x2e4341(0x1ba)]){this[_0x2e4341(0x2e7)](_0x439ddf,_0x5c9278,_0x408ce8),this['_syncActivationStageFromSelection'](_0x408ce8);return;}(_0x408ce8==null?void 0x0:_0x408ce8[_0x2e4341(0x521)])===_0x2e4341(0x690)&&this[_0x2e4341(0x531)][_0x2e4341(0x31e)](),this[_0x2e4341(0x68a)]={'unitId':_0x439ddf['unitId'],'subUnitId':_0x439ddf['subUnitId'],'elementId':_0x439ddf[_0x2e4341(0x1ba)]},this[_0x2e4341(0x1e3)](_0x439ddf,_0x5c9278);}[_0x5defcf(0x1b8)](_0xa9d629){const _0xb987d4=_0x5defcf;var _0x37dd15;let _0x115de3=this['_lastActiveTableContext'];return!!_0x115de3&&((_0x37dd15=_0xa9d629[_0xb987d4(0x278)])==null?void 0x0:_0x37dd15[_0xb987d4(0x379)])===_0x115de3[_0xb987d4(0x379)]&&_0xa9d629['context'][_0xb987d4(0x6b4)]===_0x115de3['subUnitId']&&_0xa9d629[_0xb987d4(0x625)]['includes'](_0x115de3[_0xb987d4(0x60f)]);}[_0x5defcf(0x453)](_0x2f14e9,_0x44a474){const _0x5885bf=_0x5defcf;if(_0x2f14e9[_0x5885bf(0x625)]['length']===0x0)return!0x0;if(!_0x2f14e9['context'])return!0x1;let _0x392584=this['_renderContext'][_0x5885bf(0x667)][_0x5885bf(0x2f7)](_0x1a21b4(_0x44a474[_0x5885bf(0x379)],_0x44a474[_0x5885bf(0x6b4)],_0x44a474[_0x5885bf(0x60f)]));return _0x2f14e9['selectedIds']['some'](_0x448c9e=>{const _0x1d925a=_0x5885bf;if(_0x448c9e===_0x44a474[_0x1d925a(0x60f)])return!0x1;let _0x3f4894=this['_renderContext'][_0x1d925a(0x667)][_0x1d925a(0x2f7)](_0x1a21b4(_0x2f14e9[_0x1d925a(0x278)]['unitId'],_0x2f14e9['context'][_0x1d925a(0x6b4)],_0x448c9e));return!!_0x3f4894&&_0x3f4894!==_0x392584;});}[_0x5defcf(0x470)](_0x442c88,_0x6e0580,_0x105761){const _0x24c34d=_0x5defcf;var _0x284897,_0x1c643f;let _0x214f8a=(_0x284897=this['_hitTestService'])==null?void 0x0:_0x284897[_0x24c34d(0x2d1)];return(_0x214f8a==null||(_0x1c643f=_0x214f8a[_0x24c34d(0x283)](this[_0x24c34d(0x4d9)]))==null?void 0x0:_0x1c643f[_0x24c34d(0x461)](_0x39cb35=>_0x39cb35[_0x24c34d(0x379)]===_0x442c88&&_0x39cb35[_0x24c34d(0x6b4)]===_0x6e0580&&_0x39cb35[_0x24c34d(0x1ba)]===_0x105761))??null;}[_0x5defcf(0x3d7)](_0x47748a){const _0x8036c8=_0x5defcf;var _0x35b286;let _0x50807b=(_0x35b286=this['_hitTestService'])==null?void 0x0:_0x35b286[_0x8036c8(0x2d1)],_0x13324a=(_0x50807b==null?void 0x0:_0x50807b['call'](this[_0x8036c8(0x4d9)]))??[],_0x4d90a4=new _0x33f54f(_0x47748a['x'],_0x47748a['y']);for(let _0x597e18=_0x13324a[_0x8036c8(0x393)]-0x1;_0x597e18>=0x0;_0x597e18--){let _0x42a029=_0x13324a[_0x597e18];if(!_0x42a029||_0x42a029[_0x8036c8(0x379)]!==this['_renderContext']['unitId']||_0x42a029[_0x8036c8(0x571)]['type']!==_0x16fba9['Table']||_0x42a029[_0x8036c8(0x34b)]||!this[_0x8036c8(0x599)]['getTable'](_0x42a029['unitId'],_0x42a029[_0x8036c8(0x571)][_0x8036c8(0x6a7)]))continue;let _0x3e0f9f=this[_0x8036c8(0x51f)][_0x8036c8(0x667)][_0x8036c8(0x2f7)](_0x1a21b4(_0x42a029[_0x8036c8(0x379)],_0x42a029[_0x8036c8(0x6b4)],_0x42a029[_0x8036c8(0x1ba)]));if(!_0x3e0f9f||_0x3e0f9f[_0x8036c8(0x2a5)])continue;let _0x556500=this[_0x8036c8(0x3f3)](_0x3e0f9f,_0x4d90a4);if(_0x556500)return{'drawing':_0x42a029,'object':_0x3e0f9f,'trigger':_0x556500};}return null;}[_0x5defcf(0x3f3)](_0x54edaf,_0xd4717c){const _0x3d7279=_0x5defcf;var _0xb11989;let _0x3137ad=(_0xb11989=_0x54edaf[_0x3d7279(0x23b)])==null?void 0x0:_0xb11989['call'](_0x54edaf,_0xd4717c);return $l(_0x3137ad)?_0x3137ad:null;}[_0x5defcf(0x59e)](){const _0x49f886=_0x5defcf;let _0x526c18=this[_0x49f886(0x51f)]['scene'];_0x526c18[_0x49f886(0x472)]&&this[_0x49f886(0x40f)](_0x526c18['onPointerDown$'][_0x49f886(0x582)]({'priority':nu,'next':([_0x337d74,_0x1645ce])=>{this['_handleActiveTableControlPointerDown'](_0x337d74,_0x1645ce);}}));let _0x558fef=this[_0x49f886(0x4d9)][_0x49f886(0x472)];if(!_0x558fef)return;let _0x3f2508=_0x558fef[_0x49f886(0x533)](_0xa708e9=>this[_0x49f886(0x1b5)](_0xa708e9));this[_0x49f886(0x40f)]({'dispose':()=>_0x3f2508[_0x49f886(0x5ea)]()});}[_0x5defcf(0x2af)](_0x395e60,_0x34ee16){const _0x3654cc=_0x5defcf;let _0x501bfe=_0x395e60[_0x3654cc(0x52d)]??0x0;if(_0x501bfe!==0x0&&_0x501bfe!==0x2)return!0x1;let _0x755d96=this[_0x3654cc(0x2c8)](_0x395e60),_0x5587b8=this[_0x3654cc(0x4dd)](_0x755d96['x'],_0x755d96['y']),_0x1632c0=this[_0x3654cc(0x624)]();if(_0x1632c0&&this[_0x3654cc(0x3e0)](_0x1632c0['drawing'],_0x1632c0[_0x3654cc(0x583)],_0x395e60,_0x34ee16))return!0x0;if(_0x501bfe===0x0&&!this[_0x3654cc(0x513)]()){let _0x5697e1=this[_0x3654cc(0x3d7)](_0x5587b8);if(_0x5697e1){var _0x125083,_0x3e8578;return _0x34ee16[_0x3654cc(0x724)](),_0x34ee16[_0x3654cc(0x265)]=!0x0,(_0x125083=_0x395e60[_0x3654cc(0x724)])==null||_0x125083[_0x3654cc(0x283)](_0x395e60),(_0x3e8578=_0x395e60[_0x3654cc(0x574)])==null||_0x3e8578[_0x3654cc(0x283)](_0x395e60),this[_0x3654cc(0x58f)](),this[_0x3654cc(0x33c)][_0x3654cc(0x1e7)](),this[_0x3654cc(0x68a)]={'unitId':_0x5697e1[_0x3654cc(0x42f)][_0x3654cc(0x379)],'subUnitId':_0x5697e1[_0x3654cc(0x42f)]['subUnitId'],'elementId':_0x5697e1['drawing'][_0x3654cc(0x1ba)]},this['_handleStructuralInsertTrigger'](_0x5697e1[_0x3654cc(0x42f)],_0x5697e1['object'],_0x5697e1['trigger'],_0x5587b8),!0x0;}}let _0x985422=this[_0x3654cc(0x624)]();if(!_0x985422||_0x985422[_0x3654cc(0x42f)]['element'][_0x3654cc(0x495)]!==_0x16fba9[_0x3654cc(0x3f9)])return!0x1;let {drawing:_0x482c0c,object:_0x7b111e}=_0x985422,_0x5aef57=_0x1a21b4(_0x482c0c[_0x3654cc(0x379)],_0x482c0c[_0x3654cc(0x6b4)],_0x482c0c['drawingId']),_0x2d9a16=this[_0x3654cc(0x5b9)](_0x482c0c,_0x7b111e,_0x5587b8['x'],_0x5587b8['y']),_0x470883=_0x2d9a16?null:this['_resolveCellHit'](_0x482c0c,_0x5aef57,_0x5587b8['x'],_0x5587b8['y']);if(!_0x2d9a16&&!_0x470883)return!0x1;if(!this[_0x3654cc(0x308)](_0x482c0c)){var _0x1f14be,_0x27a12c;return this['_drawingStateService'][_0x3654cc(0x72b)]({'unitId':_0x482c0c[_0x3654cc(0x379)],'subUnitId':_0x482c0c[_0x3654cc(0x6b4)]},[_0x482c0c['drawingId']],_0x482c0c[_0x3654cc(0x1ba)]),_0x34ee16[_0x3654cc(0x724)](),_0x34ee16[_0x3654cc(0x265)]=!0x0,(_0x1f14be=_0x395e60[_0x3654cc(0x724)])==null||_0x1f14be[_0x3654cc(0x283)](_0x395e60),(_0x27a12c=_0x395e60[_0x3654cc(0x574)])==null||_0x27a12c['call'](_0x395e60),this[_0x3654cc(0x58f)](),this[_0x3654cc(0x33c)][_0x3654cc(0x1e7)](),this[_0x3654cc(0x68a)]={'unitId':_0x482c0c[_0x3654cc(0x379)],'subUnitId':_0x482c0c[_0x3654cc(0x6b4)],'elementId':_0x482c0c['drawingId']},this['_activateTableObject'](_0x7b111e),!0x0;}return this[_0x3654cc(0x728)](_0x482c0c,_0x5aef57,_0x7b111e,this['_createViewportPointerEvent'](_0x395e60,_0x755d96),_0x34ee16,_0x2d9a16),!0x0;}['_handleHitTestPointerDown'](_0x1068ca){const _0x43821a=_0x5defcf;let _0x79f04e=_0x1068ca[_0x43821a(0x47a)]['button']??0x0;if(_0x79f04e!==0x0&&_0x79f04e!==0x2)return;let _0x14fb58=_0x1068ca[_0x43821a(0x47a)];_0x14fb58[_0x43821a(0x1b4)]===void 0x0&&(_0x14fb58[_0x43821a(0x1b4)]=_0x1068ca[_0x43821a(0x1b4)]),_0x14fb58[_0x43821a(0x5cc)]===void 0x0&&(_0x14fb58['offsetY']=_0x1068ca[_0x43821a(0x5cc)]);let _0x194893=this[_0x43821a(0x51f)][_0x43821a(0x667)]['getObject'](_0x1068ca[_0x43821a(0x62b)]);_0x194893&&(_0x79f04e!==0x2||_0x1068ca['drawing']['element']['type']!==_0x16fba9[_0x43821a(0x3f9)]||this['_isTableTextEditing']()||this['_handleCellContextMenuPointerDown'](_0x1068ca['drawing'],_0x1068ca[_0x43821a(0x62b)],_0x194893,_0x14fb58,{'stopPropagation':()=>{const _0x2aa09c=_0x43821a;var _0x5249fd;return(_0x5249fd=_0x14fb58['stopPropagation'])==null?void 0x0:_0x5249fd[_0x2aa09c(0x283)](_0x14fb58);},'skipNextObservers':!0x1}));}['_initResizeInteraction'](){const _0x4fdc1f=_0x5defcf;let _0x489c11=this[_0x4fdc1f(0x51f)][_0x4fdc1f(0x667)];if(_0x489c11[_0x4fdc1f(0x411)]&&this[_0x4fdc1f(0x40f)](_0x489c11[_0x4fdc1f(0x411)][_0x4fdc1f(0x582)]({'priority':nu,'next':([_0x44681a])=>{const _0xfa69a9=_0x4fdc1f;this[_0xfa69a9(0x6d3)](_0x44681a),this[_0xfa69a9(0x5b7)](_0x44681a);}})),_0x489c11[_0x4fdc1f(0x321)]){let _0x58dc3f=_0x489c11[_0x4fdc1f(0x321)][_0x4fdc1f(0x533)](()=>this[_0x4fdc1f(0x53e)]());this['disposeWithMe']({'dispose':()=>_0x58dc3f[_0x4fdc1f(0x5ea)]()});}this[_0x4fdc1f(0x53e)]();}[_0x5defcf(0x53e)](){const _0x11abd8=_0x5defcf;this['_resizeWireScheduled']||(this['_resizeWireScheduled']=!0x0,Promise[_0x11abd8(0x2d6)]()[_0x11abd8(0x600)](()=>{const _0x510d35=_0x11abd8;this[_0x510d35(0x30f)]=!0x1,this[_0x510d35(0x2a6)]();}));}[_0x5defcf(0x2a6)](){const _0x35fb34=_0x5defcf;let _0x49dd58=this[_0x35fb34(0x4d9)]['getOrderedTopLevelDrawings'];((_0x49dd58==null?void 0x0:_0x49dd58[_0x35fb34(0x283)](this[_0x35fb34(0x4d9)]))??[])[_0x35fb34(0x4df)](_0x467855=>{const _0x330918=_0x35fb34;if(_0x467855['element'][_0x330918(0x495)]!==_0x16fba9[_0x330918(0x3f9)])return;let _0x1dd80c=_0x1a21b4(_0x467855[_0x330918(0x379)],_0x467855[_0x330918(0x6b4)],_0x467855['drawingId']),_0x548876=this[_0x330918(0x51f)][_0x330918(0x667)][_0x330918(0x2f7)](_0x1dd80c);if(!_0x548876||_0x548876[_0x330918(0x2a5)]||(this[_0x330918(0x54d)](_0x548876),this[_0x330918(0x2e7)](_0x467855,_0x548876),this[_0x330918(0x2e5)]['get'](_0x1dd80c)===_0x548876))return;let _0x5353bf=_0x548876[_0x330918(0x472)]['subscribeEvent']({'priority':nu,'next':([_0x130656,_0x1f95fa])=>{const _0x291c92=_0x330918;this[_0x291c92(0x728)](_0x467855,_0x1dd80c,_0x548876,_0x130656,_0x1f95fa);}});this['disposeWithMe'](_0x5353bf),this['_wiredResizeObjectRefs'][_0x330918(0x3c0)](_0x1dd80c,_0x548876);});}[_0x5defcf(0x530)](_0x504442){const _0x95abb=_0x5defcf;let _0x29c175=this[_0x95abb(0x4d9)]['hitTest'](_0x504442[_0x95abb(0x1b4)],_0x504442[_0x95abb(0x5cc)]);if(!_0x29c175)return;let _0x22522c=this['_resolveScenePoint'](_0x504442[_0x95abb(0x1b4)],_0x504442[_0x95abb(0x5cc)]);this['_handleDoubleClick']({'drawing':_0x29c175[_0x95abb(0x42f)],'oKey':_0x29c175['oKey'],'offsetX':_0x22522c['x'],'offsetY':_0x22522c['y'],'nativeEvent':_0x504442});}[_0x5defcf(0x4dd)](_0x18a162,_0x56a373){const _0x2af452=_0x5defcf;var _0x47001a,_0xbbee76,_0x55a4c7;let _0x3be69d=new _0x33f54f(_0x18a162,_0x56a373),_0x39f219=this['_renderContext'][_0x2af452(0x667)],_0x32c314=((_0x47001a=_0x39f219[_0x2af452(0x490)])==null?void 0x0:_0x47001a[_0x2af452(0x283)](_0x39f219,_0x3be69d))??((_0xbbee76=_0x39f219[_0x2af452(0x5d9)])==null?void 0x0:_0xbbee76[_0x2af452(0x283)](_0x39f219)[0x0]),_0x687bf9=(_0x32c314==null||(_0x55a4c7=_0x32c314[_0x2af452(0x306)])==null?void 0x0:_0x55a4c7[_0x2af452(0x283)](_0x32c314,_0x3be69d))??_0x3be69d;return{'x':_0x687bf9['x'],'y':_0x687bf9['y']};}[_0x5defcf(0x6d3)](_0x1d5166){const _0x17fe88=_0x5defcf;if(this[_0x17fe88(0x451)])return;if(this[_0x17fe88(0x513)]()){this[_0x17fe88(0x41c)]();return;}let _0x45db83=this[_0x17fe88(0x4d9)][_0x17fe88(0x6a8)](_0x1d5166[_0x17fe88(0x1b4)],_0x1d5166[_0x17fe88(0x5cc)]);if(!_0x45db83||_0x45db83[_0x17fe88(0x42f)][_0x17fe88(0x571)][_0x17fe88(0x495)]!==_0x16fba9['Table']){this['_resetResizeCursor']();return;}if(!this[_0x17fe88(0x308)](_0x45db83[_0x17fe88(0x42f)])){this[_0x17fe88(0x41c)]();return;}let _0x4a39d2=this['_renderContext']['scene']['getObject'](_0x45db83[_0x17fe88(0x62b)]);if(!_0x4a39d2){this[_0x17fe88(0x41c)]();return;}let _0x1c1eac=this[_0x17fe88(0x4dd)](_0x1d5166[_0x17fe88(0x1b4)],_0x1d5166[_0x17fe88(0x5cc)]),_0x4d93fb=this[_0x17fe88(0x202)](_0x45db83[_0x17fe88(0x42f)],_0x4a39d2,_0x1c1eac['x'],_0x1c1eac['y']);if(!_0x4d93fb){this[_0x17fe88(0x41c)]();return;}this[_0x17fe88(0x523)](_0x4d93fb[_0x17fe88(0x2dc)][_0x17fe88(0x71b)]);}['_handleTablePointerDown'](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025,_0x5dccca){const _0x305097=_0x5defcf;let _0x111dee=_0x37bf55['button']??0x0;if(this[_0x305097(0x3e0)](_0x29bf51,_0x82b541,_0x37bf55,_0x4fb025)||this['_handleTableControlPointerDown'](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025,_0x5dccca)||this[_0x305097(0x320)](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025)||_0x111dee===0x2&&this[_0x305097(0x65d)](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025)||this['_handleDirectResizePointerDown'](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025)||_0x111dee!==0x0||this['_isTableTextEditing']()||!this[_0x305097(0x308)](_0x29bf51))return;let _0x5c70dd=this[_0x305097(0x4dd)](_0x37bf55[_0x305097(0x1b4)],_0x37bf55[_0x305097(0x5cc)]),_0xe7b74f=this[_0x305097(0x5bc)](_0x29bf51,_0x28dd9c,_0x5c70dd['x'],_0x5c70dd['y']);_0xe7b74f&&this[_0x305097(0x564)](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025,_0xe7b74f);}[_0x5defcf(0x564)](_0x492b74,_0x4e797c,_0x32b34d,_0x2db71a,_0x2e4f45,_0x55ab20){const _0x4b7a40=_0x5defcf;var _0x32fb71,_0x5575c3;if(this[_0x4b7a40(0x20a)]==='table'){this[_0x4b7a40(0x474)](_0x492b74,_0x32b34d,_0x2db71a,_0x2e4f45,_0x55ab20);return;}_0x2e4f45[_0x4b7a40(0x724)](),_0x2e4f45['skipNextObservers']=!0x0,(_0x32fb71=_0x2db71a[_0x4b7a40(0x724)])==null||_0x32fb71[_0x4b7a40(0x283)](_0x2db71a),(_0x5575c3=_0x2db71a[_0x4b7a40(0x574)])==null||_0x5575c3['call'](_0x2db71a),this['_hideContextMenu'](),this['_editorUIService']['complete'](),this[_0x4b7a40(0x57f)](_0x492b74,_0x32b34d,_0x55ab20),this['_rangeDragContext']={'drawing':_0x492b74,'objectKey':_0x4e797c,'object':_0x32b34d,'table':_0x55ab20[_0x4b7a40(0x690)],'anchor':{'row':_0x55ab20['row'],'column':_0x55ab20['column']},'current':{'row':_0x55ab20['row'],'column':_0x55ab20[_0x4b7a40(0x3f1)]}},this['_bindRangeDragWindowEvents']();}[_0x5defcf(0x4cc)](_0x28f1e5,_0x5d40e2,_0x538ce9,_0x1b98c2,_0x53c491){const _0x280794=_0x5defcf;var _0x1b730c,_0x12263a;if((_0x1b98c2[_0x280794(0x52d)]??0x0)!==0x0||this[_0x280794(0x513)]())return!0x1;let _0x2cfd92=_0x28f1e5[_0x280794(0x571)][_0x280794(0x495)]===_0x16fba9[_0x280794(0x3f9)]?this[_0x280794(0x599)][_0x280794(0x2aa)](_0x28f1e5[_0x280794(0x379)],_0x28f1e5[_0x280794(0x571)]['tableId']):null;return _0x2cfd92?(_0x53c491['stopPropagation'](),_0x53c491[_0x280794(0x265)]=!0x0,(_0x1b730c=_0x1b98c2[_0x280794(0x574)])==null||_0x1b730c['call'](_0x1b98c2),(_0x12263a=_0x1b98c2[_0x280794(0x724)])==null||_0x12263a[_0x280794(0x283)](_0x1b98c2),this[_0x280794(0x58f)](),this[_0x280794(0x222)]={'drawing':_0x28f1e5,'objectKey':_0x5d40e2[_0x280794(0x62b)],'object':_0x5d40e2,'table':_0x2cfd92,'anchor':_0x538ce9,'current':_0x538ce9},this[_0x280794(0x376)](),!0x0):!0x1;}[_0x5defcf(0x320)](_0x98070f,_0x27c7ab,_0x454e4d,_0x340c77,_0x1f2411){const _0x109b8f=_0x5defcf;var _0x562c84,_0xca1979;if((_0x340c77[_0x109b8f(0x52d)]??0x0)!==0x0||!this[_0x109b8f(0x513)]()||!this[_0x109b8f(0x308)](_0x98070f)||_0x98070f['element'][_0x109b8f(0x495)]!==_0x16fba9[_0x109b8f(0x3f9)])return!0x1;let _0x1d9f33=this['_resolveScenePoint'](_0x340c77[_0x109b8f(0x1b4)],_0x340c77[_0x109b8f(0x5cc)]),_0x339df9=this[_0x109b8f(0x5bc)](_0x98070f,_0x27c7ab,_0x1d9f33['x'],_0x1d9f33['y']);if(!_0x339df9)return!0x1;_0x1f2411[_0x109b8f(0x724)](),_0x1f2411['skipNextObservers']=!0x0,this[_0x109b8f(0x58f)]();let _0x1a0bce=this[_0x109b8f(0x531)][_0x109b8f(0x1cf)]();return(_0x1a0bce==null?void 0x0:_0x1a0bce[_0x109b8f(0x521)])==='text'&&((_0x562c84=_0x1a0bce['focus'])==null?void 0x0:_0x562c84['row'])===_0x339df9['row']&&_0x1a0bce[_0x109b8f(0x61b)][_0x109b8f(0x3f1)]===_0x339df9[_0x109b8f(0x3f1)]||((_0xca1979=_0x454e4d[_0x109b8f(0x3cd)])==null||_0xca1979[_0x109b8f(0x283)](_0x454e4d,null),this[_0x109b8f(0x51c)](_0x98070f,_0x339df9,{'handoffCurrent':!0x0}),!0x0);}[_0x5defcf(0x635)](_0x22b0cb,_0x525b49,_0x3c72a8,_0x5c8cff,_0x4f565f,_0x64e372){const _0x2f26cd=_0x5defcf;var _0x25fa8e,_0xda2c;if((_0x5c8cff[_0x2f26cd(0x52d)]??0x0)!==0x0||this[_0x2f26cd(0x513)]()||_0x22b0cb['element'][_0x2f26cd(0x495)]!==_0x16fba9['Table'])return!0x1;let _0x313fc8=this[_0x2f26cd(0x700)](_0x5c8cff),_0xcf3266=_0x64e372??this[_0x2f26cd(0x5b9)](_0x22b0cb,_0x3c72a8,_0x313fc8['x'],_0x313fc8['y']);if(!_0xcf3266)return!0x1;if($l(_0xcf3266)){var _0x48bdff,_0x107e2c;return _0x4f565f[_0x2f26cd(0x724)](),_0x4f565f[_0x2f26cd(0x265)]=!0x0,(_0x48bdff=_0x5c8cff['stopPropagation'])==null||_0x48bdff[_0x2f26cd(0x283)](_0x5c8cff),(_0x107e2c=_0x5c8cff[_0x2f26cd(0x574)])==null||_0x107e2c['call'](_0x5c8cff),this['_hideContextMenu'](),this['_editorUIService'][_0x2f26cd(0x1e7)](),this[_0x2f26cd(0x68a)]={'unitId':_0x22b0cb[_0x2f26cd(0x379)],'subUnitId':_0x22b0cb[_0x2f26cd(0x6b4)],'elementId':_0x22b0cb[_0x2f26cd(0x1ba)]},this[_0x2f26cd(0x55a)](_0x22b0cb,_0x3c72a8,_0xcf3266,_0x313fc8);}return this['_isTableDrawingActive'](_0x22b0cb)?(_0x4f565f[_0x2f26cd(0x724)](),_0x4f565f['skipNextObservers']=!0x0,(_0x25fa8e=_0x5c8cff[_0x2f26cd(0x724)])==null||_0x25fa8e[_0x2f26cd(0x283)](_0x5c8cff),(_0xda2c=_0x5c8cff[_0x2f26cd(0x574)])==null||_0xda2c['call'](_0x5c8cff),this['_hideContextMenu'](),this[_0x2f26cd(0x33c)][_0x2f26cd(0x1e7)](),_0xcf3266[_0x2f26cd(0x521)]===_0x2f26cd(0x21f)||_0xcf3266[_0x2f26cd(0x521)]==='column-header'?(this[_0x2f26cd(0x5e6)](_0x22b0cb,_0x3c72a8,_0xcf3266,_0x313fc8),!0x0):_0xcf3266[_0x2f26cd(0x521)]===_0x2f26cd(0x3c8)&&(this[_0x2f26cd(0x3e8)](_0x22b0cb,_0x3c72a8,_0x5c8cff),!0x0)):!0x1;}[_0x5defcf(0x65d)](_0x14f108,_0x5eb144,_0x4ec353,_0x499cad,_0x222f2f){const _0x35fea6=_0x5defcf;if(!this['_isTableDrawingActive'](_0x14f108)||_0x14f108[_0x35fea6(0x571)]['type']!==_0x16fba9[_0x35fea6(0x3f9)])return!0x1;let _0x21deb4=this[_0x35fea6(0x700)](_0x499cad),_0x184b26=this[_0x35fea6(0x5bc)](_0x14f108,_0x5eb144,_0x21deb4['x'],_0x21deb4['y']);return _0x184b26?(_0x222f2f[_0x35fea6(0x724)](),_0x222f2f[_0x35fea6(0x265)]=!0x0,this[_0x35fea6(0x58f)](),this[_0x35fea6(0x33c)][_0x35fea6(0x1e7)](),this[_0x35fea6(0x57f)](_0x14f108,_0x4ec353,_0x184b26),this[_0x35fea6(0x19a)](_0x499cad,'slide-table.contextMenu.cell'),!0x0):!0x1;}[_0x5defcf(0x3dc)](_0x1c64ad,_0x5aee5b,_0x59a819,_0x172c02,_0x4ab57f){const _0xc4a3e9=_0x5defcf;var _0x5605eb;if((_0x172c02[_0xc4a3e9(0x52d)]??0x0)!==0x0||this[_0xc4a3e9(0x513)]()||!this[_0xc4a3e9(0x308)](_0x1c64ad))return!0x1;let _0x4cf5ae=this[_0xc4a3e9(0x4dd)](_0x172c02['offsetX'],_0x172c02[_0xc4a3e9(0x5cc)]),_0x5c9ec5=this['_resolveResizeHit'](_0x1c64ad,_0x59a819,_0x4cf5ae['x'],_0x4cf5ae['y']);if(!_0x5c9ec5||_0x1c64ad['element'][_0xc4a3e9(0x495)]!==_0x16fba9['Table'])return!0x1;_0x4ab57f[_0xc4a3e9(0x724)](),_0x4ab57f[_0xc4a3e9(0x265)]=!0x0,this[_0xc4a3e9(0x58f)](),this[_0xc4a3e9(0x33c)][_0xc4a3e9(0x1e7)](),this[_0xc4a3e9(0x580)](_0x59a819,_0x5c9ec5),(_0x5605eb=this[_0xc4a3e9(0x62d)])==null||_0x5605eb['dispose'](),this['_resizeDragContext']={'unitId':_0x1c64ad[_0xc4a3e9(0x379)],'tableId':_0x1c64ad[_0xc4a3e9(0x571)]['tableId'],'object':_0x59a819,'table':_0x5c9ec5[_0xc4a3e9(0x690)],'handle':_0x5c9ec5[_0xc4a3e9(0x2dc)],'startPoint':_0x5c9ec5['point'],'pendingTable':_0x5c9ec5[_0xc4a3e9(0x690)]},this[_0xc4a3e9(0x523)](_0x5c9ec5[_0xc4a3e9(0x2dc)]['axis']);let _0xecc2bf=this[_0xc4a3e9(0x51f)]['scene'],_0x267afa=new _0x2fec4f();return this[_0xc4a3e9(0x62d)]=_0x267afa,_0xecc2bf[_0xc4a3e9(0x65b)](),_0x267afa['add'](_0x2123f0(()=>{const _0x6a3418=_0xc4a3e9;var _0x3c31ff,_0x50537c,_0x1aeb52;_0xecc2bf[_0x6a3418(0x61f)](),this[_0x6a3418(0x6fb)](_0x59a819),(_0x3c31ff=this[_0x6a3418(0x451)])==null||(_0x1aeb52=(_0x50537c=_0x3c31ff[_0x6a3418(0x583)])[_0x6a3418(0x4cd)])==null||_0x1aeb52[_0x6a3418(0x283)](_0x50537c,null),this['_resizeDragContext']=null,this['_resetResizeCursor']();})),_0x267afa[_0xc4a3e9(0x378)](_0xecc2bf[_0xc4a3e9(0x411)][_0xc4a3e9(0x582)](_0x1dd519=>this[_0xc4a3e9(0x500)](_0x1dd519))),_0x267afa[_0xc4a3e9(0x378)](_0xecc2bf[_0xc4a3e9(0x224)][_0xc4a3e9(0x582)](_0x221738=>{const _0x35466c=_0xc4a3e9;this[_0x35466c(0x3f0)](_0x221738),_0x267afa[_0x35466c(0x2c2)]();})),_0x267afa[_0xc4a3e9(0x378)](_0xecc2bf['onPointerCancel$'][_0xc4a3e9(0x582)](()=>_0x267afa[_0xc4a3e9(0x2c2)]())),!0x0;}[_0x5defcf(0x202)](_0x222cd0,_0x2054e7,_0x17fdfb,_0x5dbcda){const _0x3b22b9=_0x5defcf;var _0x48c98e;if(_0x222cd0[_0x3b22b9(0x379)]!==this['_renderContext'][_0x3b22b9(0x379)]||_0x222cd0[_0x3b22b9(0x571)][_0x3b22b9(0x495)]!==_0x16fba9[_0x3b22b9(0x3f9)]||!this[_0x3b22b9(0x308)](_0x222cd0)||_0x222cd0[_0x3b22b9(0x34b)]||_0x2054e7[_0x3b22b9(0x2a5)])return null;let _0x3231b1=this[_0x3b22b9(0x599)][_0x3b22b9(0x2aa)](_0x222cd0[_0x3b22b9(0x379)],_0x222cd0[_0x3b22b9(0x571)][_0x3b22b9(0x6a7)]);if(!_0x3231b1)return null;let _0x55ad84=((_0x48c98e=_0x2054e7[_0x3b22b9(0x681)])==null?void 0x0:_0x48c98e[_0x3b22b9(0x283)](_0x2054e7))??_0x3231b1,_0x16e577=this[_0x3b22b9(0x205)](_0x2054e7,_0x17fdfb,_0x5dbcda),_0x3790b6=this[_0x3b22b9(0x1b2)](_0x55ad84,_0x2054e7,_0x17fdfb,_0x5dbcda);return _0x3790b6?{'table':_0x55ad84,'handle':_0x3790b6,'point':_0x16e577}:null;}[_0x5defcf(0x205)](_0x46ab09,_0x2f1017,_0x242366){const _0x2fca07=_0x5defcf;let _0xbf4b95=_0x46ab09[_0x2fca07(0x387)](new _0x33f54f(_0x2f1017,_0x242366));return{'x':_0xbf4b95['x']+_0x46ab09['width']/0x2,'y':_0xbf4b95['y']+_0x46ab09[_0x2fca07(0x65e)]/0x2};}[_0x5defcf(0x5b9)](_0xc53ac5,_0x588064,_0x58f5f7,_0x1ca510){const _0x303400=_0x5defcf;if(_0xc53ac5[_0x303400(0x571)][_0x303400(0x495)]!==_0x16fba9['Table'])return null;let _0x3af061=this[_0x303400(0x599)][_0x303400(0x2aa)](_0xc53ac5['unitId'],_0xc53ac5['element'][_0x303400(0x6a7)]);if(!_0x3af061)return null;let _0x2e6a34=this[_0x303400(0x205)](_0x588064,_0x58f5f7,_0x1ca510),_0x1a69e4=this[_0x303400(0x435)](_0x3af061,_0x588064,_0x2e6a34['x'],_0x2e6a34['y']);if(_0x1a69e4&&(_0x1a69e4[_0x303400(0x521)]===_0x303400(0x3c8)||_0x1a69e4[_0x303400(0x521)]==='row-header'||_0x1a69e4[_0x303400(0x521)]===_0x303400(0x720)||_0x1a69e4[_0x303400(0x521)]==='row-insert-dot'||_0x1a69e4[_0x303400(0x521)]===_0x303400(0x473)))return _0x1a69e4;let _0x3abc55=_0x27fece(_0x9eb1b0(_0x3af061),_0x588064[_0x303400(0x58e)],_0x588064[_0x303400(0x65e)])[_0x303400(0x439)](_0x219c70=>_0x219c70[_0x303400(0x521)]===_0x303400(0x3c8));return _0x54e4c1(_0x3abc55,_0x2e6a34['x'],_0x2e6a34['y']);}[_0x5defcf(0x5b7)](_0x3d8852){const _0x27959d=_0x5defcf;if(this[_0x27959d(0x513)]()){this[_0x27959d(0x259)]();return;}let _0xdbabb9=this['_resolvePointerScenePoint'](_0x3d8852),_0x5b5474=this['_resolveInsertDotAtScenePoint'](_0xdbabb9);if(_0x5b5474){this['_clearStructuralInsertHoverObject'](_0x5b5474['object']),this[_0x27959d(0x193)]=_0x5b5474['object'],this[_0x27959d(0x371)](_0x5b5474[_0x27959d(0x583)],_0x5b5474['trigger']),this[_0x27959d(0x241)](_0x5b5474[_0x27959d(0x583)],null),this['_setTableCellHover'](_0x5b5474['object'],null);return;}let _0xe8d367=this[_0x27959d(0x624)]();if(!_0xe8d367){this['_clearTableControlHover']();return;}this[_0x27959d(0x576)](_0xe8d367[_0x27959d(0x583)]);let _0x195bb5=this[_0x27959d(0x5b9)](_0xe8d367['drawing'],_0xe8d367[_0x27959d(0x583)],_0xdbabb9['x'],_0xdbabb9['y']),_0xb0914d=_0x195bb5&&(_0x195bb5[_0x27959d(0x521)]==='row-header'||_0x195bb5[_0x27959d(0x521)]===_0x27959d(0x720)||_0x195bb5[_0x27959d(0x521)]===_0x27959d(0x6a9)||_0x195bb5[_0x27959d(0x521)]==='column-insert-dot')?_0x195bb5:null;this[_0x27959d(0x371)](_0xe8d367[_0x27959d(0x583)],_0xb0914d),this[_0x27959d(0x241)](_0xe8d367['object'],(_0x195bb5==null?void 0x0:_0x195bb5[_0x27959d(0x521)])===_0x27959d(0x3c8)?{'kind':_0x27959d(0x3c8)}:null),this[_0x27959d(0x23a)](_0xe8d367['drawing'],_0xe8d367[_0x27959d(0x583)],_0xdbabb9['x'],_0xdbabb9['y'],!!_0x195bb5);}['_clearTableControlHover'](){const _0x2ab305=_0x5defcf;this[_0x2ab305(0x2b3)](!0x1);let _0x384757=this[_0x2ab305(0x624)]();this[_0x2ab305(0x576)]((_0x384757==null?void 0x0:_0x384757[_0x2ab305(0x583)])??null),_0x384757&&(this[_0x2ab305(0x70b)]=null,this[_0x2ab305(0x6be)](_0x384757[_0x2ab305(0x583)],null),this[_0x2ab305(0x241)](_0x384757[_0x2ab305(0x583)],null),this[_0x2ab305(0x3de)](_0x384757[_0x2ab305(0x583)],null));}['_clearStructuralInsertHoverObject'](_0x51e1b8=null){const _0x5d9695=_0x5defcf;let _0x404b75=this[_0x5d9695(0x193)];_0x404b75&&(this[_0x5d9695(0x193)]=null,_0x404b75!==_0x51e1b8&&(this[_0x5d9695(0x70b)]=null,this[_0x5d9695(0x6be)](_0x404b75,null),this[_0x5d9695(0x241)](_0x404b75,null),this[_0x5d9695(0x3de)](_0x404b75,null)));}[_0x5defcf(0x241)](_0x1a22b4,_0x4af699){const _0x1600b7=_0x5defcf;var _0x4a7d09;if((_0x4a7d09=_0x1a22b4[_0x1600b7(0x2a4)])!=null&&_0x4a7d09[_0x1600b7(0x283)](_0x1a22b4,_0x4af699)){var _0x559692,_0x3f00a5;(_0x559692=(_0x3f00a5=this[_0x1600b7(0x51f)][_0x1600b7(0x667)])[_0x1600b7(0x623)])==null||_0x559692[_0x1600b7(0x283)](_0x3f00a5,!0x0);}}['_updateCellHover'](_0x5f4eb9,_0x126a99,_0x3a3fcc,_0x5e435c,_0x52f71b){const _0x24bb35=_0x5defcf;if(_0x52f71b||!this[_0x24bb35(0x20a)]){this[_0x24bb35(0x3de)](_0x126a99,null);return;}let _0x403732=this[_0x24bb35(0x5bc)](_0x5f4eb9,_0x1a21b4(_0x5f4eb9[_0x24bb35(0x379)],_0x5f4eb9[_0x24bb35(0x6b4)],_0x5f4eb9[_0x24bb35(0x1ba)]),_0x3a3fcc,_0x5e435c);this[_0x24bb35(0x3de)]((_0x403732==null?void 0x0:_0x403732[_0x24bb35(0x583)])??_0x126a99,_0x403732?{'row':_0x403732[_0x24bb35(0x1a8)][_0x24bb35(0x4b9)],'column':_0x403732[_0x24bb35(0x1a8)][_0x24bb35(0x3f1)]}:null);}[_0x5defcf(0x3de)](_0x265c1c,_0x354d1d){const _0x3a04c5=_0x5defcf;var _0x30258d;if((_0x30258d=_0x265c1c['setTableCellHover'])!=null&&_0x30258d[_0x3a04c5(0x283)](_0x265c1c,_0x354d1d)){var _0x4c751a,_0x12719f;(_0x4c751a=(_0x12719f=this['_renderContext'][_0x3a04c5(0x667)])['makeDirty'])==null||_0x4c751a['call'](_0x12719f,!0x0);}}[_0x5defcf(0x43d)](_0x209c43,_0x7d9316){const _0x10af8b=_0x5defcf;var _0x17d772,_0x5a4c21,_0x859323;let _0x582a87=((_0x17d772=_0x7d9316[_0x10af8b(0x681)])==null?void 0x0:_0x17d772['call'](_0x7d9316))??_0x209c43,_0x17be3d=_0x9eb1b0(_0x582a87),_0x49ac26=(_0x5a4c21=(_0x859323=this[_0x10af8b(0x51f)][_0x10af8b(0x667)])[_0x10af8b(0x58d)])==null?void 0x0:_0x5a4c21['call'](_0x859323),_0x749804=du((_0x49ac26==null?void 0x0:_0x49ac26['scaleX'])??(_0x49ac26==null?void 0x0:_0x49ac26[_0x10af8b(0x6c3)]),0x1);return _0x49040d({'tableId':_0x209c43['id'],'tableWidth':_0x7d9316[_0x10af8b(0x58e)],'tableHeight':_0x7d9316[_0x10af8b(0x65e)],'rowHeights':mu(_0x582a87[_0x10af8b(0x360)]['map'](_0x1478d3=>_0x1478d3['height']??0x18),_0x7d9316['height']),'columnWidths':mu(_0x582a87[_0x10af8b(0x5ca)]['map'](_0x35ed87=>_0x35ed87[_0x10af8b(0x58e)]),_0x7d9316['width']),'mergedCells':_0x17be3d[_0x10af8b(0x405)][_0x10af8b(0x439)](_0x1fce8b=>!_0x1fce8b[_0x10af8b(0x3f5)]&&(_0x1fce8b[_0x10af8b(0x3bb)]>0x1||_0x1fce8b[_0x10af8b(0x4c5)]>0x1))[_0x10af8b(0x295)](_0x131118=>({'startRow':_0x131118[_0x10af8b(0x4b9)],'endRow':_0x131118[_0x10af8b(0x4b9)]+_0x131118[_0x10af8b(0x3bb)]-0x1,'startColumn':_0x131118[_0x10af8b(0x3f1)],'endColumn':_0x131118['column']+_0x131118[_0x10af8b(0x4c5)]-0x1})),'zoom':_0x749804});}['_resolveTableTriggerHit'](_0xea32ed,_0x35cee1,_0x38dc28,_0x1bd90e){const _0x381f6b=_0x5defcf;return _0x2e8971(this[_0x381f6b(0x43d)](_0xea32ed,_0x35cee1),_0x38dc28,_0x1bd90e);}[_0x5defcf(0x371)](_0x19f0db,_0x443580){const _0x2f2b2e=_0x5defcf;let _0x17c063=_0x443580&&(_0x443580[_0x2f2b2e(0x521)]===_0x2f2b2e(0x21f)||_0x443580[_0x2f2b2e(0x521)]==='column-header'||_0x443580[_0x2f2b2e(0x521)]==='row-insert-dot'||_0x443580[_0x2f2b2e(0x521)]===_0x2f2b2e(0x473))?_0x443580:null;this[_0x2f2b2e(0x70b)]=_0x17c063;let _0x368809=_0x17c063?ru(_0x17c063):null,_0x49ae21=(_0x17c063==null?void 0x0:_0x17c063[_0x2f2b2e(0x521)])===_0x2f2b2e(0x6a9)&&_0x368809!==null?{'kind':_0x2f2b2e(0x4b9),'index':_0x368809}:(_0x17c063==null?void 0x0:_0x17c063[_0x2f2b2e(0x521)])==='column-insert-dot'&&_0x368809!==null?{'kind':_0x2f2b2e(0x3f1),'index':_0x368809}:null,_0x2af808=this[_0x2f2b2e(0x410)]?{'kind':this[_0x2f2b2e(0x410)][_0x2f2b2e(0x521)],'start':Math[_0x2f2b2e(0x4a7)](this[_0x2f2b2e(0x410)][_0x2f2b2e(0x6c5)],this[_0x2f2b2e(0x410)]['current']),'end':Math['max'](this[_0x2f2b2e(0x410)][_0x2f2b2e(0x6c5)],this[_0x2f2b2e(0x410)][_0x2f2b2e(0x508)])}:null,_0x3567e8=this['_rowColumnMoveTarget']?{'kind':this['_rowColumnMoveTarget'][_0x2f2b2e(0x521)],'index':this['_rowColumnMoveTarget'][_0x2f2b2e(0x68b)]}:null,_0x4f5ad1=!!_0x17c063||!!_0x2af808||!!_0x49ae21||!!_0x3567e8;this['_setTableControlState'](_0x19f0db,_0x4f5ad1?{'visible':!0x0,'hoveredTrigger':_0x17c063,'selectedStructuralRange':_0x2af808,'insertGuide':_0x49ae21,'reorderGuide':_0x3567e8}:null),this[_0x2f2b2e(0x2b3)](!!_0x17c063);}[_0x5defcf(0x2b3)](_0x398a43){const _0x590b53=_0x5defcf;let _0x36feca=this[_0x590b53(0x51f)][_0x590b53(0x667)];if(_0x398a43){this[_0x590b53(0x3fb)]=!0x0,_0x36feca[_0x590b53(0x448)](_0x30421b['POINTER']);return;}this[_0x590b53(0x3fb)]&&(this[_0x590b53(0x3fb)]=!0x1,!this['_resizeHoverActive']&&_0x36feca['getCursor']()===_0x30421b[_0x590b53(0x4c0)]&&_0x36feca[_0x590b53(0x5cd)]());}[_0x5defcf(0x6be)](_0x3ef93a,_0x40df1d){const _0x2de43e=_0x5defcf;var _0x10a499;if((_0x10a499=_0x3ef93a[_0x2de43e(0x2d8)])!=null&&_0x10a499[_0x2de43e(0x283)](_0x3ef93a,_0x40df1d)){var _0x1d726c,_0x9dc641;(_0x1d726c=(_0x9dc641=this['_renderContext'][_0x2de43e(0x667)])[_0x2de43e(0x623)])==null||_0x1d726c['call'](_0x9dc641,!0x0);}}['_handleStructuralHeaderPointerDown'](_0x2b510b,_0xc76f74,_0xf62cc4,_0xf7c91){const _0x30032c=_0x5defcf;var _0x2eada0;if(this[_0x30032c(0x30d)](),_0xf62cc4['kind']===_0x30032c(0x21f)&&_0xf62cc4[_0x30032c(0x4b9)]!==void 0x0){let _0x2e5ca1=this[_0x30032c(0x212)](_0x2b510b,_0x30032c(0x4b9),_0xf62cc4[_0x30032c(0x4b9)]);_0x2e5ca1?this['_pendingHeaderSelection']={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x4b9),'start':_0x2e5ca1[_0x30032c(0x6f2)],'end':_0x2e5ca1[_0x30032c(0x4e4)],'startPoint':_0xf7c91}:(this[_0x30032c(0x6f0)](_0x2b510b,_0xc76f74,_0xf62cc4[_0x30032c(0x4b9)],_0xf62cc4[_0x30032c(0x4b9)]),this[_0x30032c(0x410)]={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x4b9),'anchor':_0xf62cc4['row'],'current':_0xf62cc4[_0x30032c(0x4b9)]});}else{if(_0xf62cc4[_0x30032c(0x521)]==='column-header'&&_0xf62cc4[_0x30032c(0x3f1)]!==void 0x0){let _0x354f83=this['_getSelectedHeaderRange'](_0x2b510b,_0x30032c(0x3f1),_0xf62cc4['column']);_0x354f83?this[_0x30032c(0x389)]={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x3f1),'start':_0x354f83[_0x30032c(0x6f2)],'end':_0x354f83[_0x30032c(0x4e4)],'startPoint':_0xf7c91}:(this['_selectColumns'](_0x2b510b,_0xc76f74,_0xf62cc4[_0x30032c(0x3f1)],_0xf62cc4[_0x30032c(0x3f1)]),this['_headerSelectionDragState']={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x3f1),'anchor':_0xf62cc4[_0x30032c(0x3f1)],'current':_0xf62cc4['column']});}else return;}this['_setTableControlState'](_0xc76f74,{'visible':!0x0,'hoveredTrigger':_0xf62cc4,'selectedStructuralRange':this[_0x30032c(0x410)]?{'kind':this['_headerSelectionDragState'][_0x30032c(0x521)],'start':this[_0x30032c(0x410)][_0x30032c(0x6c5)],'end':this[_0x30032c(0x410)][_0x30032c(0x508)]}:this[_0x30032c(0x389)]?{'kind':this[_0x30032c(0x389)]['kind'],'start':this[_0x30032c(0x389)]['start'],'end':this[_0x30032c(0x389)][_0x30032c(0x4e4)]}:null});let _0x5c0cf7=this[_0x30032c(0x51f)][_0x30032c(0x667)];if(!_0x5c0cf7[_0x30032c(0x411)]||!_0x5c0cf7[_0x30032c(0x224)])return;(_0x2eada0=_0x5c0cf7[_0x30032c(0x65b)])==null||_0x2eada0['call'](_0x5c0cf7);let _0x4b4ebd=_0x5c0cf7[_0x30032c(0x411)][_0x30032c(0x582)](_0x47cc54=>this[_0x30032c(0x199)](_0x47cc54)),_0x4396c4=_0x5c0cf7[_0x30032c(0x224)][_0x30032c(0x582)](()=>this[_0x30032c(0x30d)](_0xc76f74));this[_0x30032c(0x2f5)]=()=>{const _0x3a9ca1=_0x30032c;var _0x4a46f3;_0x4b4ebd==null||_0x4b4ebd[_0x3a9ca1(0x5ea)](),_0x4396c4==null||_0x4396c4[_0x3a9ca1(0x5ea)](),(_0x4a46f3=_0x5c0cf7['enableObjectsEvent'])==null||_0x4a46f3[_0x3a9ca1(0x283)](_0x5c0cf7);},this[_0x30032c(0x40f)]({'dispose':()=>_0x4b4ebd[_0x30032c(0x5ea)]()}),this[_0x30032c(0x40f)]({'dispose':()=>_0x4396c4['unsubscribe']()});}[_0x5defcf(0x30d)](_0x469cf8,_0x26df7a){const _0x4f0602=_0x5defcf;var _0x32ed5a,_0x14668c,_0x3b3e72;let _0x465b69=this[_0x4f0602(0x2f5)];this[_0x4f0602(0x2f5)]=null,_0x465b69==null||_0x465b69();let _0x105dbc=_0x469cf8??((_0x32ed5a=this['_rowColumnMoveState'])==null?void 0x0:_0x32ed5a[_0x4f0602(0x583)])??((_0x14668c=this[_0x4f0602(0x389)])==null?void 0x0:_0x14668c[_0x4f0602(0x583)])??((_0x3b3e72=this['_headerSelectionDragState'])==null?void 0x0:_0x3b3e72[_0x4f0602(0x583)]);(_0x26df7a==null?void 0x0:_0x26df7a['commitMove'])!==!0x1&&this[_0x4f0602(0x280)](),this['_headerSelectionDragState']=null,this[_0x4f0602(0x389)]=null,this[_0x4f0602(0x482)]=null,this[_0x4f0602(0x1c3)]=null,_0x105dbc&&this[_0x4f0602(0x371)](_0x105dbc,this[_0x4f0602(0x70b)]);}[_0x5defcf(0x199)](_0x26558e){const _0x5cfafa=_0x5defcf;let _0x1edfeb=this[_0x5cfafa(0x389)],_0x3f2239=this[_0x5cfafa(0x482)];if(_0x1edfeb||_0x3f2239){this[_0x5cfafa(0x1ea)](_0x26558e);return;}let _0x4811e6=this[_0x5cfafa(0x410)];if(!_0x4811e6||_0x4811e6['drawing']['element'][_0x5cfafa(0x495)]!==_0x16fba9[_0x5cfafa(0x3f9)])return;if('buttons'in _0x26558e&&_0x26558e[_0x5cfafa(0x263)]!==void 0x0&&(_0x26558e['buttons']&0x1)!=0x1){this[_0x5cfafa(0x30d)](_0x4811e6[_0x5cfafa(0x583)]);return;}let _0x43d8ab=this[_0x5cfafa(0x599)][_0x5cfafa(0x2aa)](_0x4811e6['drawing'][_0x5cfafa(0x379)],_0x4811e6[_0x5cfafa(0x42f)]['element'][_0x5cfafa(0x6a7)]);if(!_0x43d8ab)return;let _0x274285=this['_resolvePointerScenePoint'](_0x26558e),_0x111d85=this[_0x5cfafa(0x205)](_0x4811e6[_0x5cfafa(0x583)],_0x274285['x'],_0x274285['y']),_0x198f23=_0x2af0de(this[_0x5cfafa(0x43d)](_0x43d8ab,_0x4811e6[_0x5cfafa(0x583)]),_0x111d85['x'],_0x111d85['y']);if(_0x198f23){if(_0x4811e6[_0x5cfafa(0x521)]===_0x5cfafa(0x4b9)&&_0x198f23['kind']===_0x5cfafa(0x21f)&&_0x198f23[_0x5cfafa(0x4b9)]!==void 0x0)_0x4811e6[_0x5cfafa(0x508)]=_0x198f23['row'],this[_0x5cfafa(0x6f0)](_0x4811e6[_0x5cfafa(0x42f)],_0x4811e6[_0x5cfafa(0x583)],_0x4811e6[_0x5cfafa(0x6c5)],_0x198f23[_0x5cfafa(0x4b9)]);else{if(_0x4811e6['kind']==='column'&&_0x198f23['kind']==='column-header'&&_0x198f23[_0x5cfafa(0x3f1)]!==void 0x0)_0x4811e6['current']=_0x198f23[_0x5cfafa(0x3f1)],this['_selectColumns'](_0x4811e6[_0x5cfafa(0x42f)],_0x4811e6['object'],_0x4811e6[_0x5cfafa(0x6c5)],_0x198f23[_0x5cfafa(0x3f1)]);else return;}this['_setTableControlState'](_0x4811e6['object'],{'visible':!0x0,'hoveredTrigger':_0x198f23,'selectedStructuralRange':{'kind':_0x4811e6[_0x5cfafa(0x521)],'start':Math[_0x5cfafa(0x4a7)](_0x4811e6['anchor'],_0x4811e6[_0x5cfafa(0x508)]),'end':Math[_0x5cfafa(0x6bf)](_0x4811e6[_0x5cfafa(0x6c5)],_0x4811e6[_0x5cfafa(0x508)])}});}}['_updateRowColumnMoveDrag'](_0x575465){const _0x469bea=_0x5defcf;let _0x2c5676=this[_0x469bea(0x389)],_0x56c9d3=this[_0x469bea(0x482)],_0x3f0831=_0x56c9d3??_0x2c5676;if(!_0x3f0831||_0x3f0831[_0x469bea(0x42f)][_0x469bea(0x571)][_0x469bea(0x495)]!==_0x16fba9[_0x469bea(0x3f9)])return;if(_0x469bea(0x263)in _0x575465&&_0x575465[_0x469bea(0x263)]!==void 0x0&&(_0x575465[_0x469bea(0x263)]&0x1)!=0x1){this[_0x469bea(0x30d)](_0x3f0831[_0x469bea(0x583)],{'commitMove':!0x1});return;}let _0x10508d=this[_0x469bea(0x700)](_0x575465);if(!_0x56c9d3&&_0x2c5676){let _0x436b87=_0x10508d['x']-_0x2c5676[_0x469bea(0x37e)]['x'],_0x2dafc8=_0x10508d['y']-_0x2c5676['startPoint']['y'];if(Math['hypot'](_0x436b87,_0x2dafc8)<0x8)return;this[_0x469bea(0x482)]={'drawing':_0x2c5676[_0x469bea(0x42f)],'object':_0x2c5676[_0x469bea(0x583)],'kind':_0x2c5676[_0x469bea(0x521)],'start':_0x2c5676[_0x469bea(0x6f2)],'end':_0x2c5676[_0x469bea(0x4e4)]},this[_0x469bea(0x389)]=null;}let _0x795952=this['_rowColumnMoveState'];if(!_0x795952||_0x795952['drawing'][_0x469bea(0x571)]['type']!==_0x16fba9[_0x469bea(0x3f9)])return;let _0x363d8e=this[_0x469bea(0x599)][_0x469bea(0x2aa)](_0x795952['drawing'][_0x469bea(0x379)],_0x795952['drawing'][_0x469bea(0x571)]['tableId']);if(!_0x363d8e){this[_0x469bea(0x1c3)]=null,this[_0x469bea(0x6be)](_0x795952[_0x469bea(0x583)],null);return;}let _0x5828da=this['_resolveRowColumnMoveTarget'](_0x363d8e,_0x795952[_0x469bea(0x583)],_0x795952[_0x469bea(0x521)],_0x10508d),_0x3fba95=!!_0x5828da&&(_0x5828da[_0x469bea(0x521)]===_0x469bea(0x4b9)?_0x231167(_0x363d8e,{'startRow':_0x795952[_0x469bea(0x6f2)],'endRow':_0x795952[_0x469bea(0x4e4)]},{'row':_0x5828da[_0x469bea(0x1fa)],'position':_0x5828da[_0x469bea(0x4c4)]}):_0x3297ff(_0x363d8e,{'startColumn':_0x795952[_0x469bea(0x6f2)],'endColumn':_0x795952[_0x469bea(0x4e4)]},{'column':_0x5828da[_0x469bea(0x719)],'position':_0x5828da[_0x469bea(0x4c4)]}));this[_0x469bea(0x1c3)]=_0x3fba95?_0x5828da:null,this['_setTableControlState'](_0x795952[_0x469bea(0x583)],_0x3fba95&&_0x5828da?{'visible':!0x0,'selectedStructuralRange':{'kind':_0x795952['kind'],'start':_0x795952[_0x469bea(0x6f2)],'end':_0x795952['end']},'reorderGuide':{'kind':_0x5828da[_0x469bea(0x521)],'index':_0x5828da[_0x469bea(0x68b)]}}:null);}[_0x5defcf(0x280)](){const _0x4cfff7=_0x5defcf;let _0x93c2df=this['_rowColumnMoveState'],_0x1c2191=this[_0x4cfff7(0x1c3)];_0x93c2df&&_0x1c2191&&_0x93c2df[_0x4cfff7(0x42f)][_0x4cfff7(0x571)]['type']===_0x16fba9[_0x4cfff7(0x3f9)]&&(_0x93c2df[_0x4cfff7(0x521)]==='row'&&_0x1c2191[_0x4cfff7(0x521)]===_0x4cfff7(0x4b9)?this[_0x4cfff7(0x710)]['executeCommand'](_0x399535['id'],{'unitId':_0x93c2df[_0x4cfff7(0x42f)]['unitId'],'tableId':_0x93c2df[_0x4cfff7(0x42f)]['element']['tableId'],'startRow':_0x93c2df['start'],'endRow':_0x93c2df[_0x4cfff7(0x4e4)],'targetRow':_0x1c2191[_0x4cfff7(0x1fa)],'position':_0x1c2191[_0x4cfff7(0x4c4)]}):_0x93c2df[_0x4cfff7(0x521)]===_0x4cfff7(0x3f1)&&_0x1c2191[_0x4cfff7(0x521)]===_0x4cfff7(0x3f1)&&this['_commandService']['executeCommand'](_0x162c84['id'],{'unitId':_0x93c2df['drawing']['unitId'],'tableId':_0x93c2df[_0x4cfff7(0x42f)][_0x4cfff7(0x571)][_0x4cfff7(0x6a7)],'startColumn':_0x93c2df[_0x4cfff7(0x6f2)],'endColumn':_0x93c2df[_0x4cfff7(0x4e4)],'targetColumn':_0x1c2191['targetColumn'],'position':_0x1c2191['position']}));}['_getSelectedHeaderRange'](_0xcc7abb,_0x5a502f,_0x5de1ea){const _0x43d665=_0x5defcf;if(_0xcc7abb[_0x43d665(0x571)]['type']!==_0x16fba9['Table'])return null;let _0x413c87=this[_0x43d665(0x531)]['getSelection']();if(!_0x413c87||_0x413c87[_0x43d665(0x521)]!==_0x5a502f||_0x413c87[_0x43d665(0x379)]!==_0xcc7abb[_0x43d665(0x379)]||_0x413c87['subUnitId']!==_0xcc7abb['subUnitId']||_0x413c87[_0x43d665(0x60f)]!==_0xcc7abb[_0x43d665(0x1ba)]||_0x413c87['tableId']!==_0xcc7abb[_0x43d665(0x571)]['tableId'])return null;for(let _0x3f3846 of _0x413c87['ranges']){let _0x3b859e=_0x5a502f===_0x43d665(0x4b9)?Math['min'](_0x3f3846[_0x43d665(0x1d3)],_0x3f3846[_0x43d665(0x573)]):Math[_0x43d665(0x4a7)](_0x3f3846[_0x43d665(0x3cc)],_0x3f3846[_0x43d665(0x351)]),_0x5de20c=_0x5a502f==='row'?Math[_0x43d665(0x6bf)](_0x3f3846['startRow'],_0x3f3846[_0x43d665(0x573)]):Math[_0x43d665(0x6bf)](_0x3f3846['startColumn'],_0x3f3846[_0x43d665(0x351)]);if(_0x5de1ea>=_0x3b859e&&_0x5de1ea<=_0x5de20c)return{'start':_0x3b859e,'end':_0x5de20c};}return null;}[_0x5defcf(0x2da)](_0x52de13,_0x42f7f2,_0x5c15b7,_0x1937c5){const _0x713008=_0x5defcf;var _0x234f58;let _0x6e9791=((_0x234f58=_0x42f7f2[_0x713008(0x681)])==null?void 0x0:_0x234f58['call'](_0x42f7f2))??_0x52de13,_0x284ef1=this[_0x713008(0x205)](_0x42f7f2,_0x1937c5['x'],_0x1937c5['y']),_0x4cd770=_0x5c15b7===_0x713008(0x4b9)?mu(_0x6e9791['rows'][_0x713008(0x295)](_0x28c525=>_0x28c525[_0x713008(0x65e)]??0x18),_0x42f7f2[_0x713008(0x65e)]):mu(_0x6e9791[_0x713008(0x5ca)][_0x713008(0x295)](_0x5c97f5=>_0x5c97f5[_0x713008(0x58e)]),_0x42f7f2[_0x713008(0x58e)]);if(_0x4cd770[_0x713008(0x393)]===0x0)return null;let _0x5840ff=hu(_0x4cd770,_0x5c15b7==='row'?_0x284ef1['y']:_0x284ef1['x']),_0x254e3f=_0x5840ff<=0x0?0x0:_0x5840ff>=_0x4cd770['length']?_0x4cd770[_0x713008(0x393)]-0x1:_0x5840ff,_0x53c1df=_0x5840ff<=0x0?_0x713008(0x69e):_0x5840ff>=_0x4cd770[_0x713008(0x393)]?_0x713008(0x630):_0x713008(0x69e);return _0x5c15b7===_0x713008(0x4b9)?{'kind':_0x5c15b7,'targetRow':_0x254e3f,'position':_0x53c1df,'guideIndex':_0x5840ff}:{'kind':_0x5c15b7,'targetColumn':_0x254e3f,'position':_0x53c1df,'guideIndex':_0x5840ff};}['_handleStructuralInsertTrigger'](_0x8c8f48,_0xf756e7,_0x83dff,_0x295b96){const _0x1c10b9=_0x5defcf;var _0x5c5e4e;if(_0x8c8f48[_0x1c10b9(0x571)]['type']!==_0x16fba9[_0x1c10b9(0x3f9)])return!0x1;let _0x32be13=ru(_0x83dff),_0x3a1377=!0x1;if(_0x83dff['kind']===_0x1c10b9(0x6a9)&&_0x32be13!==null?_0x3a1377=!!this['_commandService'][_0x1c10b9(0x38f)](_0x565bf8['id'],{'unitId':_0x8c8f48[_0x1c10b9(0x379)],'subUnitId':_0x8c8f48[_0x1c10b9(0x6b4)],'elementId':_0x8c8f48[_0x1c10b9(0x1ba)],'tableId':_0x8c8f48[_0x1c10b9(0x571)][_0x1c10b9(0x6a7)],'rowIndex':_0x32be13,'count':0x1}):_0x83dff[_0x1c10b9(0x521)]===_0x1c10b9(0x473)&&_0x32be13!==null&&(_0x3a1377=!!this[_0x1c10b9(0x710)][_0x1c10b9(0x38f)](_0x4a4b69['id'],{'unitId':_0x8c8f48[_0x1c10b9(0x379)],'subUnitId':_0x8c8f48['subUnitId'],'elementId':_0x8c8f48['drawingId'],'tableId':_0x8c8f48[_0x1c10b9(0x571)][_0x1c10b9(0x6a7)],'columnIndex':_0x32be13,'count':0x1})),!_0x3a1377)return!0x1;let _0x41244e=this[_0x1c10b9(0x599)]['getTable'](_0x8c8f48[_0x1c10b9(0x379)],_0x8c8f48[_0x1c10b9(0x571)]['tableId']);(_0x5c5e4e=_0xf756e7[_0x1c10b9(0x463)])==null||_0x5c5e4e[_0x1c10b9(0x283)](_0xf756e7,_0x41244e);let _0xfac35a=eu((_0x295b96?this[_0x1c10b9(0x3f3)](_0xf756e7,new _0x33f54f(_0x295b96['x'],_0x295b96['y'])):null)??_0x83dff);return this[_0x1c10b9(0x193)]=_0xf756e7,this[_0x1c10b9(0x6be)](_0xf756e7,_0xfac35a),this[_0x1c10b9(0x241)](_0xf756e7,null),this[_0x1c10b9(0x3de)](_0xf756e7,null),!0x0;}['_resolveActiveTableObject'](){const _0x193b29=_0x5defcf;var _0x4a5395,_0x4adef6;let _0x420ea5=(_0x4a5395=(_0x4adef6=this[_0x193b29(0x4a2)])[_0x193b29(0x6d0)])==null?void 0x0:_0x4a5395[_0x193b29(0x283)](_0x4adef6),_0x2625a6=this[_0x193b29(0x531)][_0x193b29(0x1cf)](),_0x1162a8=(_0x420ea5==null?void 0x0:_0x420ea5[_0x193b29(0x278)])??(_0x2625a6?{'unitId':_0x2625a6[_0x193b29(0x379)],'subUnitId':_0x2625a6[_0x193b29(0x6b4)]}:null),_0xdc2885=(_0x420ea5==null?void 0x0:_0x420ea5[_0x193b29(0x625)][_0x193b29(0x393)])===0x1?_0x420ea5[_0x193b29(0x625)][0x0]:_0x2625a6==null?void 0x0:_0x2625a6['elementId'];return!_0x1162a8||!_0xdc2885?this[_0x193b29(0x46b)](this['_lastActiveTableContext']):this[_0x193b29(0x46b)]({..._0x1162a8,'elementId':_0xdc2885})??this[_0x193b29(0x46b)](this[_0x193b29(0x68a)]);}['_resolveTableObjectFromContext'](_0x26c9c2){const _0x497b18=_0x5defcf;if(!_0x26c9c2)return null;let _0x52f040=this[_0x497b18(0x470)](_0x26c9c2[_0x497b18(0x379)],_0x26c9c2[_0x497b18(0x6b4)],_0x26c9c2[_0x497b18(0x60f)]);if(!_0x52f040||_0x52f040['element'][_0x497b18(0x495)]!==_0x16fba9[_0x497b18(0x3f9)])return null;let _0x10a164=this[_0x497b18(0x599)][_0x497b18(0x2aa)](_0x52f040[_0x497b18(0x379)],_0x52f040[_0x497b18(0x571)][_0x497b18(0x6a7)]);if(!_0x10a164)return null;let _0x2de4ef=this[_0x497b18(0x51f)]['scene'][_0x497b18(0x2f7)](_0x1a21b4(_0x26c9c2[_0x497b18(0x379)],_0x26c9c2[_0x497b18(0x6b4)],_0x26c9c2[_0x497b18(0x60f)]));return _0x2de4ef?{'drawing':_0x52f040,'object':_0x2de4ef,'table':_0x10a164}:null;}[_0x5defcf(0x19a)](_0x51669f,_0x4590a1){const _0x293b3f=_0x5defcf;var _0xb0a074;let _0x3aec47=this['_createContextMenuEvent'](_0x51669f);(_0xb0a074=_0x3aec47[_0x293b3f(0x574)])==null||_0xb0a074[_0x293b3f(0x283)](_0x3aec47),this[_0x293b3f(0x6bd)][_0x293b3f(0x4e1)](_0x3aec47,_0x4590a1);}[_0x5defcf(0x2bb)](_0x9f273){const _0x173cad=_0x5defcf;var _0x39c966,_0x3b960e,_0x1bc34e;let _0x29ecc9=_0x9f273;if(Du(_0x29ecc9[_0x173cad(0x392)])&&Du(_0x29ecc9[_0x173cad(0x4bc)]))return{..._0x29ecc9,'clientX':_0x29ecc9[_0x173cad(0x392)],'clientY':_0x29ecc9['clientY'],'preventDefault':()=>{const _0x10ef3d=_0x173cad;var _0xbf0fe6;return(_0xbf0fe6=_0x29ecc9[_0x10ef3d(0x574)])==null?void 0x0:_0xbf0fe6[_0x10ef3d(0x283)](_0x29ecc9);},'stopPropagation':()=>{const _0x249968=_0x173cad;var _0x36cdce;return(_0x36cdce=_0x29ecc9[_0x249968(0x724)])==null?void 0x0:_0x36cdce[_0x249968(0x283)](_0x29ecc9);}};let _0x2bb074=(_0x39c966=this[_0x173cad(0x51f)]['engine'])==null||(_0x3b960e=_0x39c966[_0x173cad(0x607)])==null||(_0x3b960e=_0x3b960e[_0x173cad(0x283)](_0x39c966))==null||(_0x1bc34e=_0x3b960e[_0x173cad(0x61c)])==null?void 0x0:_0x1bc34e[_0x173cad(0x283)](_0x3b960e),_0x1b2329=((_0x2bb074==null?void 0x0:_0x2bb074[_0x173cad(0x479)])??0x0)+(_0x9f273[_0x173cad(0x1b4)]??0x0),_0x4a35b0=((_0x2bb074==null?void 0x0:_0x2bb074['top'])??0x0)+(_0x9f273['offsetY']??0x0);return{..._0x29ecc9,'clientX':_0x1b2329,'clientY':_0x4a35b0,'preventDefault':()=>{const _0x2de152=_0x173cad;var _0x4154f7;return(_0x4154f7=_0x29ecc9[_0x2de152(0x574)])==null?void 0x0:_0x4154f7[_0x2de152(0x283)](_0x29ecc9);},'stopPropagation':()=>{var _0x255dce;return(_0x255dce=_0x29ecc9['stopPropagation'])==null?void 0x0:_0x255dce['call'](_0x29ecc9);}};}['_hideContextMenu'](){const _0x44a867=_0x5defcf;var _0x28b97f,_0x4e3e0c;(_0x28b97f=this[_0x44a867(0x6bd)])==null||(_0x4e3e0c=_0x28b97f['hideContextMenu'])==null||_0x4e3e0c[_0x44a867(0x283)](_0x28b97f);}['_startStage1TableBodyPointer'](_0x13c274,_0x18d021,_0x3e6b77,_0x56f14f,_0x59cb21){const _0x216a59=_0x5defcf;var _0x30e92b,_0x3dec6f;this[_0x216a59(0x2ec)]({'focusCell':!0x1}),_0x56f14f[_0x216a59(0x724)](),_0x56f14f[_0x216a59(0x265)]=!0x0,(_0x30e92b=_0x3e6b77[_0x216a59(0x724)])==null||_0x30e92b[_0x216a59(0x283)](_0x3e6b77),(_0x3dec6f=_0x3e6b77[_0x216a59(0x574)])==null||_0x3dec6f['call'](_0x3e6b77),this['_hideContextMenu'](),this[_0x216a59(0x33c)][_0x216a59(0x1e7)]();let _0x5a86bb=this[_0x216a59(0x51f)]['scene'],_0x3fc3b9=new _0x2fec4f(),_0x1a5b60=typeof window>'u'?null:window,_0x97c81e=_0x328909=>this[_0x216a59(0x4f4)](_0x328909),_0x623ee3=()=>this['_finishPendingStage1TableDrag']({'focusCell':!0x0}),_0x5efcfb=()=>this['_finishPendingStage1TableDrag']({'focusCell':!0x1});this[_0x216a59(0x55c)]={'drawing':_0x13c274,'object':_0x18d021,'resolved':_0x59cb21,'startEvent':_0x3e6b77,'startPoint':this[_0x216a59(0x700)](_0x3e6b77),'cleanup':()=>_0x3fc3b9['dispose']()},_0x3fc3b9['add'](_0x5a86bb[_0x216a59(0x411)][_0x216a59(0x582)](_0x97c81e)),_0x3fc3b9['add'](_0x5a86bb[_0x216a59(0x224)]['subscribeEvent'](_0x623ee3)),_0x5a86bb[_0x216a59(0x55e)]&&_0x3fc3b9[_0x216a59(0x378)](_0x5a86bb['onPointerCancel$']['subscribeEvent'](_0x5efcfb)),_0x1a5b60==null||_0x1a5b60['addEventListener'](_0x216a59(0x288),_0x623ee3,{'once':!0x0}),_0x1a5b60==null||_0x1a5b60[_0x216a59(0x63c)](_0x216a59(0x40c),_0x5efcfb,{'once':!0x0}),_0x3fc3b9[_0x216a59(0x378)](_0x2123f0(()=>{const _0x55ae2a=_0x216a59;_0x1a5b60==null||_0x1a5b60[_0x55ae2a(0x688)]('pointerup',_0x623ee3),_0x1a5b60==null||_0x1a5b60[_0x55ae2a(0x688)](_0x55ae2a(0x40c),_0x5efcfb);})),this[_0x216a59(0x62f)](_0x13c274,_0x18d021,_0x3e6b77,_0x56f14f,_0x3fc3b9);}[_0x5defcf(0x4f4)](_0x4eca8a){const _0x4469a0=_0x5defcf;let _0x568631=this[_0x4469a0(0x55c)];if(!_0x568631)return;if(_0x4469a0(0x263)in _0x4eca8a&&_0x4eca8a[_0x4469a0(0x263)]!==void 0x0&&(_0x4eca8a[_0x4469a0(0x263)]&0x1)!=0x1){this[_0x4469a0(0x2ec)]({'focusCell':!0x0});return;}let _0x1ec48c=this[_0x4469a0(0x700)](_0x4eca8a),_0x7ada02=_0x1ec48c['x']-_0x568631[_0x4469a0(0x37e)]['x'],_0x2b33d2=_0x1ec48c['y']-_0x568631[_0x4469a0(0x37e)]['y'],_0x206f10=this[_0x4469a0(0x31f)]();Math[_0x4469a0(0x4a4)](_0x7ada02,_0x2b33d2)*_0x206f10<0x8||(this['_finishPendingStage1TableDrag']({'focusCell':!0x1}),this['_startTableMoveDrag'](_0x568631[_0x4469a0(0x42f)],_0x568631[_0x4469a0(0x583)],_0x568631[_0x4469a0(0x2ed)]),this[_0x4469a0(0x56c)](_0x4eca8a));}[_0x5defcf(0x2ec)](_0x218777){const _0x5378b9=_0x5defcf;let _0x14e6ab=this[_0x5378b9(0x55c)];_0x14e6ab&&(this[_0x5378b9(0x55c)]=null,_0x14e6ab['cleanup'](),_0x218777[_0x5378b9(0x6f5)]&&this[_0x5378b9(0x57f)](_0x14e6ab[_0x5378b9(0x42f)],_0x14e6ab[_0x5378b9(0x583)],_0x14e6ab[_0x5378b9(0x3c3)]));}[_0x5defcf(0x3e8)](_0x2f4757,_0x2c98fe,_0x2088a5){const _0x23a93d=_0x5defcf;this[_0x23a93d(0x558)]();let _0x3e527b=new _0x2fec4f(),_0x530c41=this[_0x23a93d(0x700)](_0x2088a5),_0x37a47c=lu(this[_0x23a93d(0x421)](_0x2f4757),_0x2c98fe);this[_0x23a93d(0x2db)]={'drawing':_0x2f4757,'object':_0x2c98fe,'activationStage':this['_tableActivationStage'],'startEvent':_0x2088a5,'startPoint':_0x530c41,'lastPoint':_0x530c41,'startObjectLeft':_0x2c98fe[_0x23a93d(0x479)],'startObjectTop':_0x2c98fe[_0x23a93d(0x5ee)],'startTransform':_0x37a47c,'moved':!0x1,'clickFallbackTimer':null,'cleanup':()=>_0x3e527b[_0x23a93d(0x2c2)]()},this['_alignmentGuideService'][_0x23a93d(0x6f2)](this['_renderContext'][_0x23a93d(0x379)],new Map([[_0x2c98fe[_0x23a93d(0x62b)],_0x2c98fe]]));let _0x79c038=this['_renderContext'][_0x23a93d(0x667)];_0x79c038['disableObjectsEvent']();let _0x1082d7=typeof window>'u'?null:window,_0x5c1ccf=_0x307e97=>this[_0x23a93d(0x3a1)](_0x307e97),_0x2ad9c3=()=>this[_0x23a93d(0x558)]();_0x3e527b[_0x23a93d(0x378)](_0x79c038[_0x23a93d(0x411)]['subscribeEvent'](_0x3a5ba6=>this[_0x23a93d(0x56c)](_0x3a5ba6))),_0x3e527b[_0x23a93d(0x378)](_0x79c038['onPointerUp$'][_0x23a93d(0x582)](_0x5c1ccf)),_0x79c038['onPointerCancel$']&&_0x3e527b['add'](_0x79c038[_0x23a93d(0x55e)][_0x23a93d(0x582)](_0x2ad9c3)),_0x1082d7==null||_0x1082d7['addEventListener'](_0x23a93d(0x288),_0x5c1ccf,{'once':!0x0}),_0x1082d7==null||_0x1082d7[_0x23a93d(0x63c)]('pointercancel',_0x2ad9c3,{'once':!0x0}),_0x3e527b[_0x23a93d(0x378)](_0x2123f0(()=>{const _0x514db6=_0x23a93d;_0x79c038[_0x514db6(0x61f)](),_0x1082d7==null||_0x1082d7['removeEventListener'](_0x514db6(0x288),_0x5c1ccf),_0x1082d7==null||_0x1082d7[_0x514db6(0x688)](_0x514db6(0x40c),_0x2ad9c3);})),this[_0x23a93d(0x2db)]['clickFallbackTimer']=setTimeout(_0x5c1ccf,0xb4);}['_resolveCurrentTableDrawing'](_0x386387){const _0x3e3ac2=_0x5defcf;return this[_0x3e3ac2(0x72d)][_0x3e3ac2(0x3a0)]({'unitId':_0x386387['unitId'],'subUnitId':_0x386387[_0x3e3ac2(0x6b4)],'drawingId':_0x386387[_0x3e3ac2(0x1ba)]})??_0x386387;}[_0x5defcf(0x56c)](_0x157fb6){const _0x63d06c=_0x5defcf;var _0xb8efe9,_0x21e5c9;let _0x11c17d=this[_0x63d06c(0x2db)];if(!_0x11c17d)return;let _0x31cd4b=this[_0x63d06c(0x700)](_0x157fb6),_0x2d7560=_0x31cd4b['x']-_0x11c17d[_0x63d06c(0x37e)]['x'],_0x2b62e7=_0x31cd4b['y']-_0x11c17d[_0x63d06c(0x37e)]['y'],_0x3bb883=this[_0x63d06c(0x31f)]();if(!_0x11c17d[_0x63d06c(0x268)]&&Math['hypot'](_0x2d7560,_0x2b62e7)*_0x3bb883<0x8)return;_0x11c17d['moved']||(_0x11c17d['clickFallbackTimer']&&=(clearTimeout(_0x11c17d[_0x63d06c(0x4b0)]),null),this[_0x63d06c(0x58f)]());let _0xfa6453=_0x31cd4b['x']-_0x11c17d[_0x63d06c(0x52c)]['x'],_0x4888b2=_0x31cd4b['y']-_0x11c17d[_0x63d06c(0x52c)]['y'],_0x2ba899=_0x11c17d[_0x63d06c(0x583)];_0x2ba899[_0x63d06c(0x39e)](_0x2ba899['left']+_0xfa6453,_0x2ba899['top']+_0x4888b2),_0x2ba899[_0x63d06c(0x623)](!0x0),_0x11c17d[_0x63d06c(0x52b)]===_0x63d06c(0x690)&&this[_0x63d06c(0x6d5)](_0x11c17d[_0x63d06c(0x583)]),_0x11c17d[_0x63d06c(0x268)]=!0x0,_0x11c17d[_0x63d06c(0x52c)]=_0x31cd4b,this[_0x63d06c(0x3ea)][_0x63d06c(0x5da)](this[_0x63d06c(0x51f)]['unitId'],new Map([[_0x11c17d[_0x63d06c(0x583)][_0x63d06c(0x62b)],_0x11c17d[_0x63d06c(0x583)]]])),this[_0x63d06c(0x72d)][_0x63d06c(0x2ef)]([{...this[_0x63d06c(0x421)](_0x11c17d['drawing']),'transform':{..._0x11c17d['startTransform'],'left':(_0x11c17d[_0x63d06c(0x46d)][_0x63d06c(0x479)]??0x0)+_0x2ba899['left']-_0x11c17d['startObjectLeft'],'top':(_0x11c17d[_0x63d06c(0x46d)][_0x63d06c(0x5ee)]??0x0)+_0x2ba899[_0x63d06c(0x5ee)]-_0x11c17d[_0x63d06c(0x32f)]}}]),(_0xb8efe9=(_0x21e5c9=this[_0x63d06c(0x51f)][_0x63d06c(0x667)])['makeDirty'])==null||_0xb8efe9[_0x63d06c(0x283)](_0x21e5c9,!0x0);}[_0x5defcf(0x6d5)](_0x1c218c){const _0x5a970=_0x5defcf;var _0x3b0c4b,_0x584b11,_0x2ef760,_0x20514e;let _0xe1f324=(_0x3b0c4b=(_0x584b11=this[_0x5a970(0x51f)][_0x5a970(0x667)])[_0x5a970(0x2fa)])==null?void 0x0:_0x3b0c4b['call'](_0x584b11);if(!_0xe1f324||_0x1c218c[_0x5a970(0x2a5)])return;let _0x15eb90=_0xe1f324,_0x479ac7=(_0x2ef760=_0x15eb90['getSelectedObjectMap'])==null?void 0x0:_0x2ef760[_0x5a970(0x283)](_0x15eb90);if(_0x479ac7&&!_0x479ac7[_0x5a970(0x1ff)](_0x1c218c[_0x5a970(0x62b)])){var _0x1903d6;(_0x1903d6=_0x15eb90['setSelectedControl'])==null||_0x1903d6['call'](_0x15eb90,_0x1c218c);}(_0x20514e=_0x15eb90[_0x5a970(0x3ba)])==null||_0x20514e['call'](_0x15eb90);}[_0x5defcf(0x3a1)](_0x17bd54){const _0x270490=_0x5defcf;_0x17bd54&&this[_0x270490(0x56c)](_0x17bd54);let _0x255fe2=this['_tableMoveDragContext'];if(!_0x255fe2)return;if(this[_0x270490(0x2db)]=null,_0x255fe2['cleanup'](),_0x255fe2[_0x270490(0x4b0)]&&=(clearTimeout(_0x255fe2['clickFallbackTimer']),null),!_0x255fe2[_0x270490(0x268)]){this[_0x270490(0x3ea)]['end'](this['_renderContext'][_0x270490(0x379)],new Map([[_0x255fe2['object'][_0x270490(0x62b)],_0x255fe2['object']]])),this[_0x270490(0x25d)](_0x255fe2[_0x270490(0x42f)],_0x255fe2[_0x270490(0x583)]);return;}let _0x41aad2=_0x255fe2['startTransform'][_0x270490(0x479)]??0x0,_0x20ac35=_0x255fe2['startTransform'][_0x270490(0x5ee)]??0x0,_0x3d0c7b=_0x255fe2[_0x270490(0x583)],_0x42bee7=_0x3d0c7b[_0x270490(0x479)]-_0x255fe2[_0x270490(0x359)],_0x25892=_0x3d0c7b['top']-_0x255fe2[_0x270490(0x32f)];this[_0x270490(0x3ea)][_0x270490(0x4e4)](this[_0x270490(0x51f)]['unitId'],new Map([[_0x255fe2[_0x270490(0x583)][_0x270490(0x62b)],_0x255fe2[_0x270490(0x583)]]]));let _0xef1a3d=this[_0x270490(0x421)](_0x255fe2[_0x270490(0x42f)]),_0x46bd6a={..._0x255fe2[_0x270490(0x46d)],'left':_0x41aad2+_0x42bee7,'top':_0x20ac35+_0x25892};this[_0x270490(0x710)][_0x270490(0x38f)](_0x3845cd['id'],{'patches':[{'unitId':_0x255fe2[_0x270490(0x42f)][_0x270490(0x379)],'subUnitId':_0x255fe2['drawing']['subUnitId'],'drawingId':_0x255fe2['drawing']['drawingId'],'element':{..._0xef1a3d[_0x270490(0x571)],'transform':{..._0xef1a3d['element'][_0x270490(0x3b0)],'left':_0x46bd6a[_0x270490(0x479)],'top':_0x46bd6a[_0x270490(0x5ee)]}},'transform':_0x46bd6a}]});}[_0x5defcf(0x558)](){const _0x14008f=_0x5defcf;let _0x4d9d08=this[_0x14008f(0x2db)];_0x4d9d08&&(this[_0x14008f(0x2db)]=null,_0x4d9d08[_0x14008f(0x2a9)](),_0x4d9d08[_0x14008f(0x4b0)]&&clearTimeout(_0x4d9d08['clickFallbackTimer']),_0x4d9d08[_0x14008f(0x583)][_0x14008f(0x39e)](_0x4d9d08[_0x14008f(0x359)],_0x4d9d08[_0x14008f(0x32f)]),_0x4d9d08[_0x14008f(0x583)]['makeDirty'](!0x0),this[_0x14008f(0x3ea)][_0x14008f(0x4e4)](this[_0x14008f(0x51f)]['unitId'],new Map([[_0x4d9d08['object'][_0x14008f(0x62b)],_0x4d9d08[_0x14008f(0x583)]]])),this[_0x14008f(0x72d)]['refreshTransformNotification']([{...this[_0x14008f(0x421)](_0x4d9d08[_0x14008f(0x42f)]),'transform':_0x4d9d08[_0x14008f(0x46d)]}]));}['_resolvePointerScenePoint'](_0x5aefc5,_0x566556){const _0x324a10=_0x5defcf;let _0x2a3ea8=_0x5aefc5;if(_0x566556!=null&&_0x566556[_0x324a10(0x345)]&&Du(_0x2a3ea8[_0x324a10(0x1b4)])&&Du(_0x2a3ea8[_0x324a10(0x5cc)]))return this['_resolveScenePoint'](_0x2a3ea8[_0x324a10(0x1b4)],_0x2a3ea8[_0x324a10(0x5cc)]);if(Du(_0x2a3ea8[_0x324a10(0x392)])&&Du(_0x2a3ea8[_0x324a10(0x4bc)])){var _0x20ccbb,_0x30b68f,_0x49cc5d;let _0x2ca236=(_0x20ccbb=this[_0x324a10(0x51f)][_0x324a10(0x618)])==null||(_0x30b68f=_0x20ccbb['getCanvasElement'])==null||(_0x30b68f=_0x30b68f[_0x324a10(0x283)](_0x20ccbb))==null||(_0x49cc5d=_0x30b68f[_0x324a10(0x61c)])==null?void 0x0:_0x49cc5d[_0x324a10(0x283)](_0x30b68f);if(_0x2ca236)return this[_0x324a10(0x4dd)](_0x2a3ea8[_0x324a10(0x392)]-_0x2ca236[_0x324a10(0x479)],_0x2a3ea8['clientY']-_0x2ca236['top']);}return this[_0x324a10(0x4dd)](_0x2a3ea8[_0x324a10(0x1b4)]??0x0,_0x2a3ea8['offsetY']??0x0);}[_0x5defcf(0x2c8)](_0x5c06d3){const _0x1635ce=_0x5defcf;let _0x4c6732=_0x5c06d3;if(Du(_0x4c6732[_0x1635ce(0x392)])&&Du(_0x4c6732[_0x1635ce(0x4bc)])){var _0x19f83f,_0x51dac5,_0x1beb3c;let _0x23d395=(_0x19f83f=this['_renderContext'][_0x1635ce(0x618)])==null||(_0x51dac5=_0x19f83f['getCanvasElement'])==null||(_0x51dac5=_0x51dac5[_0x1635ce(0x283)](_0x19f83f))==null||(_0x1beb3c=_0x51dac5[_0x1635ce(0x61c)])==null?void 0x0:_0x1beb3c[_0x1635ce(0x283)](_0x51dac5);return{'x':_0x4c6732['clientX']-((_0x23d395==null?void 0x0:_0x23d395[_0x1635ce(0x479)])??0x0),'y':_0x4c6732[_0x1635ce(0x4bc)]-((_0x23d395==null?void 0x0:_0x23d395['top'])??0x0)};}return{'x':_0x4c6732[_0x1635ce(0x1b4)]??0x0,'y':_0x4c6732['offsetY']??0x0};}['_createViewportPointerEvent'](_0xf46917,_0x3dc8b6){const _0x24e393=_0x5defcf;let _0x13f746=_0xf46917;return{..._0x13f746,'button':_0x13f746[_0x24e393(0x52d)],'buttons':_0x13f746[_0x24e393(0x263)],'offsetX':_0x3dc8b6['x'],'offsetY':_0x3dc8b6['y'],'clientX':void 0x0,'clientY':void 0x0,'preventDefault':()=>{const _0x1993d9=_0x24e393;var _0x120857;return(_0x120857=_0x13f746[_0x1993d9(0x574)])==null?void 0x0:_0x120857[_0x1993d9(0x283)](_0x13f746);},'stopPropagation':()=>{const _0x3ef601=_0x24e393;var _0x6bd247;return(_0x6bd247=_0x13f746[_0x3ef601(0x724)])==null?void 0x0:_0x6bd247[_0x3ef601(0x283)](_0x13f746);}};}[_0x5defcf(0x500)](_0x25517c){const _0x4f25ab=_0x5defcf;var _0x4fae63,_0x324c63,_0x436d73,_0x1bfa7b;let _0x4bec82=this[_0x4f25ab(0x451)];if(!_0x4bec82)return;let _0x129cfe=this['_resolveScenePoint'](_0x25517c[_0x4f25ab(0x1b4)],_0x25517c['offsetY']),_0x5a3538=this[_0x4f25ab(0x205)](_0x4bec82[_0x4f25ab(0x583)],_0x129cfe['x'],_0x129cfe['y']),_0x11ef13=_0x4bec82['handle'][_0x4f25ab(0x71b)]===_0x4f25ab(0x3f1)?_0x5a3538['x']-_0x4bec82[_0x4f25ab(0x37e)]['x']:_0x5a3538['y']-_0x4bec82[_0x4f25ab(0x37e)]['y'],_0x220b10=au(_0x4bec82[_0x4f25ab(0x690)],_0x4bec82['object'][_0x4f25ab(0x58e)],_0x4bec82[_0x4f25ab(0x583)]['height'],{..._0x4bec82['handle'],'delta':_0x11ef13,'minSize':0xc});_0x4bec82[_0x4f25ab(0x536)]=_0x220b10,(_0x4fae63=(_0x324c63=_0x4bec82[_0x4f25ab(0x583)])[_0x4f25ab(0x4cd)])==null||_0x4fae63['call'](_0x324c63,_0x220b10),this[_0x4f25ab(0x523)](_0x4bec82[_0x4f25ab(0x2dc)][_0x4f25ab(0x71b)]),(_0x436d73=(_0x1bfa7b=this[_0x4f25ab(0x51f)][_0x4f25ab(0x667)])[_0x4f25ab(0x623)])==null||_0x436d73[_0x4f25ab(0x283)](_0x1bfa7b,!0x0);}[_0x5defcf(0x3f0)](_0x395cbc){const _0x10fe59=_0x5defcf;var _0x608971,_0x398e8b;let _0x35f0a5=this[_0x10fe59(0x451)];if(!_0x35f0a5)return;this['_updateResizeDrag'](_0x395cbc);let _0x3c9312=_0x35f0a5[_0x10fe59(0x536)];(_0x608971=(_0x398e8b=_0x35f0a5[_0x10fe59(0x583)])[_0x10fe59(0x4cd)])==null||_0x608971[_0x10fe59(0x283)](_0x398e8b,null),this[_0x10fe59(0x451)]=null,this[_0x10fe59(0x41c)](),vu(_0x35f0a5[_0x10fe59(0x690)],_0x3c9312,_0x35f0a5[_0x10fe59(0x2dc)][_0x10fe59(0x71b)])&&this[_0x10fe59(0x710)][_0x10fe59(0x38f)](_0x296a89['id'],{'unitId':_0x35f0a5[_0x10fe59(0x379)],'tableId':_0x35f0a5[_0x10fe59(0x6a7)],'patch':_0x35f0a5['handle'][_0x10fe59(0x71b)]===_0x10fe59(0x3f1)?{'columns':_0x3c9312[_0x10fe59(0x5ca)]}:{'rows':_0x3c9312[_0x10fe59(0x360)]}});}['_setResizeCursor'](_0x181e94){const _0x2b8656=_0x5defcf;this[_0x2b8656(0x6db)]=!0x0,this[_0x2b8656(0x51f)][_0x2b8656(0x667)][_0x2b8656(0x448)](_0x181e94===_0x2b8656(0x3f1)?_0x30421b[_0x2b8656(0x4ac)]:_0x30421b[_0x2b8656(0x5ed)]);}[_0x5defcf(0x41c)](){const _0x1cf8ab=_0x5defcf;this[_0x1cf8ab(0x6db)]&&(this['_resizeHoverActive']=!0x1,this[_0x1cf8ab(0x51f)][_0x1cf8ab(0x667)][_0x1cf8ab(0x5cd)]());}['_isTableTextEditing'](){const _0x1e1431=_0x5defcf;var _0x302289;return((_0x302289=this[_0x1e1431(0x531)]['getSelection']())==null?void 0x0:_0x302289[_0x1e1431(0x521)])==='text';}['_isTableDrawingActive'](_0x5fa500){const _0x26fac7=_0x5defcf;var _0x85e3a,_0x5ecd24,_0xd6a482,_0x1c3f02,_0x2e056a;let _0x2b2ac4=(_0x85e3a=this[_0x26fac7(0x531)])==null||(_0x5ecd24=_0x85e3a['getSelection'])==null?void 0x0:_0x5ecd24[_0x26fac7(0x283)](_0x85e3a);if((_0x2b2ac4==null?void 0x0:_0x2b2ac4['kind'])===_0x26fac7(0x590)&&_0x2b2ac4[_0x26fac7(0x379)]===_0x5fa500[_0x26fac7(0x379)]&&_0x2b2ac4[_0x26fac7(0x6b4)]===_0x5fa500[_0x26fac7(0x6b4)]&&_0x2b2ac4['elementId']===_0x5fa500[_0x26fac7(0x1ba)]&&_0x5fa500[_0x26fac7(0x571)]['type']===_0x16fba9[_0x26fac7(0x3f9)]&&_0x2b2ac4[_0x26fac7(0x6a7)]===_0x5fa500['element'][_0x26fac7(0x6a7)])return!0x0;let _0x2ab47e=(_0xd6a482=this[_0x26fac7(0x4a2)])==null||(_0x1c3f02=_0xd6a482[_0x26fac7(0x6d0)])==null?void 0x0:_0x1c3f02[_0x26fac7(0x283)](_0xd6a482);return!_0x2ab47e||((_0x2e056a=_0x2ab47e[_0x26fac7(0x278)])==null?void 0x0:_0x2e056a[_0x26fac7(0x379)])===_0x5fa500[_0x26fac7(0x379)]&&_0x2ab47e['context'][_0x26fac7(0x6b4)]===_0x5fa500[_0x26fac7(0x6b4)]&&_0x2ab47e[_0x26fac7(0x625)][_0x26fac7(0x1cb)](_0x5fa500[_0x26fac7(0x1ba)]);}['_isTableInteractionInProgress'](_0x285c28){const _0x59fe04=_0x5defcf;var _0x37cf54,_0x1abd5b;let _0x3064fc=_0x400733=>_0x400733?_0x400733['drawing']?_0x400733[_0x59fe04(0x42f)][_0x59fe04(0x379)]===_0x285c28[_0x59fe04(0x379)]&&_0x400733[_0x59fe04(0x42f)]['subUnitId']===_0x285c28[_0x59fe04(0x6b4)]&&_0x400733[_0x59fe04(0x42f)][_0x59fe04(0x1ba)]===_0x285c28[_0x59fe04(0x60f)]:_0x400733[_0x59fe04(0x379)]===_0x285c28[_0x59fe04(0x379)]&&_0x400733[_0x59fe04(0x6a7)]===_0x285c28[_0x59fe04(0x6a7)]:!0x1,_0x1cde81=((_0x37cf54=(_0x1abd5b=this['_tableSelectionService'])[_0x59fe04(0x6a1)])==null?void 0x0:_0x37cf54[_0x59fe04(0x283)](_0x1abd5b))??!0x1;return _0x285c28[_0x59fe04(0x521)]===_0x59fe04(0x590)||_0x1cde81||_0x3064fc(this['_rangeDragContext'])||_0x3064fc(this[_0x59fe04(0x55c)])||_0x3064fc(this['_tableMoveDragContext'])||_0x3064fc(this[_0x59fe04(0x451)])||_0x3064fc(this[_0x59fe04(0x389)])||_0x3064fc(this[_0x59fe04(0x482)]);}['_selectResolvedCell'](_0x237703,_0x3bd0eb,_0x5f1290){const _0x23187a=_0x5defcf;var _0x4ad7ab,_0x32e8ab,_0x3a9c4d;if(_0x237703[_0x23187a(0x571)][_0x23187a(0x495)]!==_0x16fba9[_0x23187a(0x3f9)])return;this['_enterCellStage']();let _0x1c52f7=this[_0x23187a(0x531)][_0x23187a(0x63f)]({'unitId':_0x237703[_0x23187a(0x379)],'subUnitId':_0x237703[_0x23187a(0x6b4)],'elementId':_0x237703[_0x23187a(0x1ba)],'tableId':_0x237703[_0x23187a(0x571)]['tableId'],'row':_0x5f1290['row'],'column':_0x5f1290['column']});(_0x4ad7ab=_0x3bd0eb['setTableSelection'])==null||_0x4ad7ab[_0x23187a(0x283)](_0x3bd0eb,{'kind':fu(_0x1c52f7['kind']),'ranges':_0x1c52f7[_0x23187a(0x649)],'active':{'row':_0x5f1290[_0x23187a(0x4b9)],'column':_0x5f1290['column']}}),this[_0x23187a(0x190)](!0x0),(_0x32e8ab=(_0x3a9c4d=this['_renderContext']['scene'])['makeDirty'])==null||_0x32e8ab[_0x23187a(0x283)](_0x3a9c4d,!0x0);}[_0x5defcf(0x2e7)](_0x19690e,_0x6e1b94,_0xd2fccc=this[_0x5defcf(0x531)]['getSelection']()){const _0x2a49de=_0x5defcf;var _0x580dca,_0x4c3531;if(!_0xd2fccc||_0x19690e['element'][_0x2a49de(0x495)]!==_0x16fba9[_0x2a49de(0x3f9)]||_0xd2fccc[_0x2a49de(0x379)]!==_0x19690e[_0x2a49de(0x379)]||_0xd2fccc[_0x2a49de(0x6b4)]!==_0x19690e[_0x2a49de(0x6b4)]||_0xd2fccc['elementId']!==_0x19690e[_0x2a49de(0x1ba)]||_0xd2fccc[_0x2a49de(0x6a7)]!==_0x19690e[_0x2a49de(0x571)]['tableId'])return;let _0x57be0b=_0xd2fccc[_0x2a49de(0x61b)]??_0xd2fccc[_0x2a49de(0x6c5)]??pu(_0xd2fccc[_0x2a49de(0x649)]);(_0x580dca=_0x6e1b94[_0x2a49de(0x37f)])==null||_0x580dca[_0x2a49de(0x283)](_0x6e1b94,{'kind':fu(_0xd2fccc[_0x2a49de(0x521)]),'ranges':_0xd2fccc[_0x2a49de(0x649)],'active':_0x57be0b}),(_0x4c3531=_0x6e1b94[_0x2a49de(0x3cd)])==null||_0x4c3531[_0x2a49de(0x283)](_0x6e1b94,_0xd2fccc[_0x2a49de(0x521)]==='text'?_0x57be0b??null:null);}[_0x5defcf(0x6f0)](_0x2b6476,_0x1992c3,_0x2e55e8,_0x100ced){const _0x50a02c=_0x5defcf;var _0x2e8993,_0x29be10,_0x125543;if(_0x2b6476[_0x50a02c(0x571)][_0x50a02c(0x495)]!==_0x16fba9['Table'])return;let _0x2137e0=this[_0x50a02c(0x599)][_0x50a02c(0x2aa)](_0x2b6476[_0x50a02c(0x379)],_0x2b6476[_0x50a02c(0x571)][_0x50a02c(0x6a7)]);if(!_0x2137e0)return;this['_enterCellStage']();let _0x29519e=_0x5f5bd9(_0x2137e0,{'startRow':_0x2e55e8,'endRow':_0x100ced,'startColumn':0x0,'endColumn':Math[_0x50a02c(0x6bf)](0x0,_0x2137e0[_0x50a02c(0x5ca)]['length']-0x1)}),_0x4c3d98=this[_0x50a02c(0x531)][_0x50a02c(0x55d)]({'unitId':_0x2b6476['unitId'],'subUnitId':_0x2b6476[_0x50a02c(0x6b4)],'elementId':_0x2b6476[_0x50a02c(0x1ba)],'tableId':_0x2b6476[_0x50a02c(0x571)][_0x50a02c(0x6a7)],'startRow':_0x29519e[_0x50a02c(0x1d3)],'endRow':_0x29519e[_0x50a02c(0x573)],'columnCount':_0x2137e0[_0x50a02c(0x5ca)]['length']});(_0x2e8993=_0x1992c3['setTableSelection'])==null||_0x2e8993[_0x50a02c(0x283)](_0x1992c3,{'kind':fu(_0x4c3d98[_0x50a02c(0x521)]),'ranges':_0x4c3d98[_0x50a02c(0x649)]}),this[_0x50a02c(0x190)](!0x0),(_0x29be10=(_0x125543=this[_0x50a02c(0x51f)][_0x50a02c(0x667)])['makeDirty'])==null||_0x29be10['call'](_0x125543,!0x0);}[_0x5defcf(0x3b4)](_0x37cc9a,_0x7fa192,_0x39935b,_0x31c589){const _0x3140f0=_0x5defcf;var _0x16352e,_0x235014,_0xf44795;if(_0x37cc9a['element'][_0x3140f0(0x495)]!==_0x16fba9[_0x3140f0(0x3f9)])return;let _0xa4b1be=this[_0x3140f0(0x599)][_0x3140f0(0x2aa)](_0x37cc9a['unitId'],_0x37cc9a['element'][_0x3140f0(0x6a7)]);if(!_0xa4b1be)return;this[_0x3140f0(0x6ec)]();let _0x4d38f3=_0x5f5bd9(_0xa4b1be,{'startRow':0x0,'endRow':Math['max'](0x0,_0xa4b1be['rows']['length']-0x1),'startColumn':_0x39935b,'endColumn':_0x31c589}),_0x5033b2=this['_tableSelectionService'][_0x3140f0(0x5e9)]({'unitId':_0x37cc9a['unitId'],'subUnitId':_0x37cc9a[_0x3140f0(0x6b4)],'elementId':_0x37cc9a['drawingId'],'tableId':_0x37cc9a['element'][_0x3140f0(0x6a7)],'startColumn':_0x4d38f3[_0x3140f0(0x3cc)],'endColumn':_0x4d38f3[_0x3140f0(0x351)],'rowCount':_0xa4b1be[_0x3140f0(0x360)][_0x3140f0(0x393)]});(_0x16352e=_0x7fa192[_0x3140f0(0x37f)])==null||_0x16352e[_0x3140f0(0x283)](_0x7fa192,{'kind':fu(_0x5033b2[_0x3140f0(0x521)]),'ranges':_0x5033b2[_0x3140f0(0x649)]}),this[_0x3140f0(0x190)](!0x0),(_0x235014=(_0xf44795=this[_0x3140f0(0x51f)][_0x3140f0(0x667)])[_0x3140f0(0x623)])==null||_0x235014['call'](_0xf44795,!0x0);}['_selectTable'](_0x1354f0,_0x581955){const _0x589374=_0x5defcf;var _0x26d41a,_0x2509ae,_0x4f1418;if(_0x1354f0['element'][_0x589374(0x495)]!==_0x16fba9[_0x589374(0x3f9)])return;let _0x372362=this[_0x589374(0x599)][_0x589374(0x2aa)](_0x1354f0[_0x589374(0x379)],_0x1354f0[_0x589374(0x571)][_0x589374(0x6a7)]);if(!_0x372362)return;this['_activateWholeTableSelection'](_0x581955);let _0x247ff1=this[_0x589374(0x531)]['selectTable']({'unitId':_0x1354f0[_0x589374(0x379)],'subUnitId':_0x1354f0['subUnitId'],'elementId':_0x1354f0[_0x589374(0x1ba)],'tableId':_0x1354f0[_0x589374(0x571)]['tableId'],'rowCount':_0x372362[_0x589374(0x360)][_0x589374(0x393)],'columnCount':_0x372362['columns'][_0x589374(0x393)]});(_0x26d41a=_0x581955['setTableSelection'])==null||_0x26d41a['call'](_0x581955,{'kind':fu(_0x247ff1[_0x589374(0x521)]),'ranges':_0x247ff1['ranges']}),this[_0x589374(0x190)](!0x0),(_0x2509ae=(_0x4f1418=this[_0x589374(0x51f)][_0x589374(0x667)])['makeDirty'])==null||_0x2509ae[_0x589374(0x283)](_0x4f1418,!0x0);}[_0x5defcf(0x2df)](_0x2806b7){const _0x300d84=_0x5defcf;var _0x1fdb72,_0x42a8f9,_0x51d1b4;this[_0x300d84(0x20a)]=_0x300d84(0x690),(_0x1fdb72=_0x2806b7[_0x300d84(0x37f)])==null||_0x1fdb72[_0x300d84(0x283)](_0x2806b7,{'ranges':[]}),this[_0x300d84(0x190)](!0x1),this['_setTableObjectKeyboardFocus'](!0x0),(_0x42a8f9=(_0x51d1b4=this[_0x300d84(0x51f)][_0x300d84(0x667)])[_0x300d84(0x623)])==null||_0x42a8f9[_0x300d84(0x283)](_0x51d1b4,!0x0);}['_enterCellStage'](){const _0x51ba41=_0x5defcf;this[_0x51ba41(0x20a)]!==_0x51ba41(0x1a8)&&(this[_0x51ba41(0x20a)]=_0x51ba41(0x1a8)),this['_setTableObjectKeyboardFocus'](!0x1),this[_0x51ba41(0x503)]();}['_syncActivationStageFromSelection'](_0x4fa13c){const _0x49e346=_0x5defcf;let _0x56c8a7=this[_0x49e346(0x6c2)](_0x4fa13c);this[_0x49e346(0x20a)]=_0x56c8a7?_0x49e346(0x1a8):_0x49e346(0x690),this[_0x49e346(0x190)](_0x56c8a7&&_0x4fa13c[_0x49e346(0x521)]!==_0x49e346(0x590)),this[_0x49e346(0x4e8)](!_0x56c8a7),_0x56c8a7&&this[_0x49e346(0x503)]();}[_0x5defcf(0x60e)](_0x11ce53){const _0x289cf3=_0x5defcf;var _0x325a0d;if(_0x11ce53[_0x289cf3(0x571)][_0x289cf3(0x495)]!==_0x16fba9['Table'])return!0x0;let _0x18829f=this['_tableSelectionService'][_0x289cf3(0x1cf)]();return!(_0x18829f&&_0x18829f[_0x289cf3(0x379)]===_0x11ce53[_0x289cf3(0x379)]&&_0x18829f['subUnitId']===_0x11ce53[_0x289cf3(0x6b4)]&&_0x18829f[_0x289cf3(0x60f)]===_0x11ce53[_0x289cf3(0x1ba)]&&this[_0x289cf3(0x6c2)](_0x18829f)||((_0x325a0d=this['_lastActiveTableContext'])==null?void 0x0:_0x325a0d['unitId'])===_0x11ce53['unitId']&&this['_lastActiveTableContext'][_0x289cf3(0x6b4)]===_0x11ce53['subUnitId']&&this['_lastActiveTableContext'][_0x289cf3(0x60f)]===_0x11ce53[_0x289cf3(0x1ba)]&&this['_tableActivationStage']==='cell');}['_hideTableTransformerControls'](){const _0x18dbd9=_0x5defcf;var _0x2a5822,_0x4b89e7,_0x1eba61,_0x41efb1,_0x2584e3;let _0x4e2d6d=(_0x2a5822=(_0x4b89e7=this[_0x18dbd9(0x51f)]['scene'])[_0x18dbd9(0x2fa)])==null?void 0x0:_0x2a5822[_0x18dbd9(0x283)](_0x4b89e7);_0x4e2d6d==null||(_0x1eba61=_0x4e2d6d[_0x18dbd9(0x40d)])==null||_0x1eba61[_0x18dbd9(0x283)](_0x4e2d6d),(_0x41efb1=(_0x2584e3=this[_0x18dbd9(0x51f)][_0x18dbd9(0x667)])[_0x18dbd9(0x623)])==null||_0x41efb1[_0x18dbd9(0x283)](_0x2584e3,!0x0);}[_0x5defcf(0x5d6)](_0x364bfb){const _0x33c72a=_0x5defcf;var _0x53adc9,_0x3141d3;if(this[_0x33c72a(0x513)]()){let _0xc09331=this[_0x33c72a(0x33c)][_0x33c72a(0x21a)](),_0x566de3=cu(_0x364bfb);return!_0xc09331||!_0x566de3?!0x1:this[_0x33c72a(0x243)](_0x566de3,_0xc09331[_0x33c72a(0x278)],this[_0x33c72a(0x426)]);}if(_0x364bfb==='edit-cell')return this[_0x33c72a(0x414)]();let _0x2b7a85=this[_0x33c72a(0x42c)]();if(!_0x2b7a85||_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x571)]['type']!==_0x16fba9[_0x33c72a(0x3f9)])return!0x1;if(_0x364bfb===_0x33c72a(0x1e8))return this['_clearSelectedCellContents'](_0x2b7a85);let _0x117bae=Ka(_0x364bfb);if(!_0x117bae)return!0x1;if(_0x117bae[_0x33c72a(0x4c2)]){var _0x6c2178,_0x346aff;let _0xed17c8=_0x2b7a85[_0x33c72a(0x5d2)][_0x33c72a(0x6c5)]??_0x2b7a85[_0x33c72a(0x61b)],_0x27e1f4=qa(_0x2b7a85[_0x33c72a(0x61b)],_0x117bae,_0x2b7a85['table'][_0x33c72a(0x360)][_0x33c72a(0x393)],_0x2b7a85[_0x33c72a(0x690)]['columns']['length']),_0x18fd2b=_0x5f5bd9(_0x2b7a85[_0x33c72a(0x690)],{'startRow':_0xed17c8['row'],'startColumn':_0xed17c8['column'],'endRow':_0x27e1f4[_0x33c72a(0x4b9)],'endColumn':_0x27e1f4['column']}),_0x1e37dd=this[_0x33c72a(0x531)][_0x33c72a(0x256)]({'unitId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x379)],'subUnitId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x6b4)],'elementId':_0x2b7a85['drawing'][_0x33c72a(0x1ba)],'tableId':_0x2b7a85[_0x33c72a(0x42f)]['element'][_0x33c72a(0x6a7)],..._0x18fd2b});(_0x6c2178=(_0x346aff=_0x2b7a85[_0x33c72a(0x583)])[_0x33c72a(0x37f)])==null||_0x6c2178[_0x33c72a(0x283)](_0x346aff,{'kind':fu(_0x1e37dd[_0x33c72a(0x521)]),'ranges':_0x1e37dd['ranges'],'active':_0x27e1f4});}else{var _0x238437,_0x57c1f0;let _0x1f26e7=qa(_0x2b7a85[_0x33c72a(0x61b)],_0x117bae,_0x2b7a85[_0x33c72a(0x690)]['rows']['length'],_0x2b7a85['table'][_0x33c72a(0x5ca)][_0x33c72a(0x393)]),_0x24266c=this['_tableSelectionService'][_0x33c72a(0x63f)]({'unitId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x379)],'subUnitId':_0x2b7a85['drawing'][_0x33c72a(0x6b4)],'elementId':_0x2b7a85['drawing']['drawingId'],'tableId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x571)][_0x33c72a(0x6a7)],'row':_0x1f26e7[_0x33c72a(0x4b9)],'column':_0x1f26e7[_0x33c72a(0x3f1)]});(_0x238437=(_0x57c1f0=_0x2b7a85['object'])['setTableSelection'])==null||_0x238437[_0x33c72a(0x283)](_0x57c1f0,{'kind':fu(_0x24266c[_0x33c72a(0x521)]),'ranges':_0x24266c['ranges'],'active':_0x1f26e7});}return this[_0x33c72a(0x190)](!0x0),(_0x53adc9=(_0x3141d3=this['_renderContext'][_0x33c72a(0x667)])['makeDirty'])==null||_0x53adc9['call'](_0x3141d3,!0x0),!0x0;}[_0x5defcf(0x617)](_0xc55774){const _0x5a3278=_0x5defcf;if(_0xc55774[_0x5a3278(0x47e)]||!this[_0x5a3278(0x561)]['getContextValue'](_0x5a3278(0x49f))||this[_0x5a3278(0x513)]())return null;let _0x31e009=this['_resolveActiveSelectionForKeyboard']();return(_0x31e009==null?void 0x0:_0x31e009[_0x5a3278(0x5d2)][_0x5a3278(0x379)])===this[_0x5a3278(0x51f)][_0x5a3278(0x379)]?_0x31e009:null;}['_canCopyTable'](_0x27b598){const _0x3d38c9=_0x5defcf;return _0x16c821(this[_0x3d38c9(0x1a9)],_0x27b598[_0x3d38c9(0x379)],_0x27b598[_0x3d38c9(0x379)],_0x425808[_0x3d38c9(0x598)]);}async[_0x5defcf(0x612)](_0x2d7d6e,_0x9e9cff){const _0x5cb2f6=_0x5defcf;var _0x155f57,_0x2924cd,_0x152e66,_0x21e6dd;return await this[_0x5cb2f6(0x710)]['executeCommand'](_0x296a89['id'],{'unitId':_0x2d7d6e[_0x5cb2f6(0x5d2)]['unitId'],'tableId':_0x2d7d6e[_0x5cb2f6(0x5d2)][_0x5cb2f6(0x6a7)],'patch':_0x9e9cff})?((_0x155f57=(_0x2924cd=_0x2d7d6e[_0x5cb2f6(0x583)])['setTableSelection'])==null||_0x155f57[_0x5cb2f6(0x283)](_0x2924cd,{'kind':fu(_0x2d7d6e['selection'][_0x5cb2f6(0x521)]),'ranges':_0x2d7d6e[_0x5cb2f6(0x5d2)][_0x5cb2f6(0x649)],'active':_0x2d7d6e[_0x5cb2f6(0x5d2)]['focus']}),this[_0x5cb2f6(0x190)](!0x0),(_0x152e66=(_0x21e6dd=this['_renderContext']['scene'])[_0x5cb2f6(0x623)])==null||_0x152e66['call'](_0x21e6dd,!0x0),!0x0):!0x1;}async['_insertClipboardImages'](_0x1baa80,_0x17f7c0=0x0){const _0x2c51dc=_0x5defcf;for(let _0x19c299=0x0;_0x19c299<_0x1baa80['length'];_0x19c299++){let _0x4d0932=_0x1baa80[_0x19c299],_0x2ce528=await _0x351a08(_0x4d0932);if(_0x2ce528){let _0xbf4e93=(_0x17f7c0+_0x19c299)*0x20;_0xbf4e93===0x0?await this[_0x2c51dc(0x30a)][_0x2c51dc(0x314)](_0x2ce528):await this[_0x2c51dc(0x30a)][_0x2c51dc(0x314)](_0x2ce528,{'offset':{'x':_0xbf4e93,'y':_0xbf4e93}});}}}[_0x5defcf(0x26b)](_0x453cfa){const _0x505abf=_0x5defcf;return _0x453cfa['kind']===_0x505abf(0x702)?this[_0x505abf(0x414)]():this[_0x505abf(0x513)]()||!_0x453cfa['text']?!0x1:this[_0x505abf(0x414)]({'initialText':_0x453cfa[_0x505abf(0x590)]});}[_0x5defcf(0x335)](_0x468576){const _0xe026e2=_0x5defcf;var _0x3b91c1,_0x48b6ee,_0x5abd0f,_0x5645b1;let _0x401a9f=Hl(_0x468576[_0xe026e2(0x690)],_0x468576[_0xe026e2(0x5d2)]);return _0x401a9f&&this[_0xe026e2(0x710)][_0xe026e2(0x38f)](_0x296a89['id'],{'unitId':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x379)],'tableId':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x6a7)],'patch':_0x401a9f}),(_0x3b91c1=(_0x48b6ee=_0x468576[_0xe026e2(0x583)])[_0xe026e2(0x37f)])==null||_0x3b91c1['call'](_0x48b6ee,{'kind':fu(_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x521)]),'ranges':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x649)],'active':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x61b)]}),this[_0xe026e2(0x190)](!0x0),(_0x5abd0f=(_0x5645b1=this['_renderContext'][_0xe026e2(0x667)])[_0xe026e2(0x623)])==null||_0x5abd0f[_0xe026e2(0x283)](_0x5645b1,!0x0),!0x0;}[_0x5defcf(0x414)](_0x4812ab){const _0x378151=_0x5defcf;var _0x4be0c0,_0x572c55;let _0x1aa7bc=this[_0x378151(0x42c)]();if(!_0x1aa7bc||_0x1aa7bc[_0x378151(0x42f)][_0x378151(0x571)]['type']!==_0x16fba9[_0x378151(0x3f9)])return!0x1;let _0x353734=_0x9eb1b0(((_0x4be0c0=(_0x572c55=_0x1aa7bc[_0x378151(0x583)])[_0x378151(0x681)])==null?void 0x0:_0x4be0c0['call'](_0x572c55))??_0x1aa7bc[_0x378151(0x690)]),_0x4112e9=_0x353734[_0x378151(0x405)][_0x378151(0x461)](_0xf38c7d=>_0xf38c7d[_0x378151(0x4b9)]===_0x1aa7bc['focus']['row']&&_0xf38c7d[_0x378151(0x3f1)]===_0x1aa7bc[_0x378151(0x61b)][_0x378151(0x3f1)]&&!_0xf38c7d[_0x378151(0x3f5)])??_0x353734[_0x378151(0x405)][_0x378151(0x461)](_0x475036=>!_0x475036[_0x378151(0x3f5)]&&_0x1aa7bc[_0x378151(0x61b)][_0x378151(0x4b9)]>=_0x475036[_0x378151(0x4b9)]&&_0x1aa7bc['focus'][_0x378151(0x4b9)]<_0x475036[_0x378151(0x4b9)]+_0x475036['rowSpan']&&_0x1aa7bc['focus'][_0x378151(0x3f1)]>=_0x475036['column']&&_0x1aa7bc[_0x378151(0x61b)]['column']<_0x475036[_0x378151(0x3f1)]+_0x475036['columnSpan']);return _0x4112e9?(this['_openCellEditor'](_0x1aa7bc[_0x378151(0x42f)],{'table':_0x1aa7bc[_0x378151(0x690)],'model':_0x353734,'cell':_0x4112e9,'row':_0x4112e9[_0x378151(0x4b9)],'column':_0x4112e9[_0x378151(0x3f1)],'object':_0x1aa7bc[_0x378151(0x583)]},_0x4812ab),!0x0):!0x1;}[_0x5defcf(0x42c)](){const _0x16abb6=_0x5defcf;let _0x28a2ec=this[_0x16abb6(0x531)][_0x16abb6(0x1cf)](),_0x2d249b=_0x28a2ec==null?void 0x0:_0x28a2ec[_0x16abb6(0x649)][0x0];if(!_0x28a2ec||!_0x2d249b||_0x28a2ec[_0x16abb6(0x521)]===_0x16abb6(0x590))return null;let _0x5704b1=this[_0x16abb6(0x470)](_0x28a2ec[_0x16abb6(0x379)],_0x28a2ec[_0x16abb6(0x6b4)],_0x28a2ec['elementId']);if(!_0x5704b1||_0x5704b1[_0x16abb6(0x571)][_0x16abb6(0x495)]!==_0x16fba9[_0x16abb6(0x3f9)]||!this[_0x16abb6(0x308)](_0x5704b1))return null;let _0x4d3eaa=this[_0x16abb6(0x599)][_0x16abb6(0x2aa)](_0x28a2ec[_0x16abb6(0x379)],_0x28a2ec[_0x16abb6(0x6a7)]),_0x3a2f33=this['_renderContext'][_0x16abb6(0x667)]['getObject'](_0x1a21b4(_0x28a2ec['unitId'],_0x28a2ec[_0x16abb6(0x6b4)],_0x28a2ec[_0x16abb6(0x60f)]));return!_0x4d3eaa||!_0x3a2f33?null:{'drawing':_0x5704b1,'object':_0x3a2f33,'table':_0x4d3eaa,'selection':_0x28a2ec,'focus':Ja(_0x28a2ec[_0x16abb6(0x61b)]??{'row':Math[_0x16abb6(0x4a7)](_0x2d249b[_0x16abb6(0x1d3)],_0x2d249b[_0x16abb6(0x573)]),'column':Math[_0x16abb6(0x4a7)](_0x2d249b[_0x16abb6(0x3cc)],_0x2d249b['endColumn'])},_0x4d3eaa[_0x16abb6(0x360)][_0x16abb6(0x393)],_0x4d3eaa['columns'][_0x16abb6(0x393)])};}[_0x5defcf(0x190)](_0x5b83ea){const _0x1afdb1=_0x5defcf;this['_contextService'][_0x1afdb1(0x3b7)](_0x1afdb1(0x49f),_0x5b83ea);}[_0x5defcf(0x4e8)](_0x23d166){const _0x2dc4c8=_0x5defcf;this[_0x2dc4c8(0x561)][_0x2dc4c8(0x3b7)](_0x2dc4c8(0x562),_0x23d166);}[_0x5defcf(0x71c)](_0x16f721){const _0x48be5b=_0x5defcf;let _0x1d276f=this[_0x48be5b(0x222)];if(!_0x1d276f||_0x1d276f[_0x48be5b(0x42f)][_0x48be5b(0x571)][_0x48be5b(0x495)]!==_0x16fba9['Table'])return;if(_0x48be5b(0x263)in _0x16f721&&_0x16f721['buttons']!==void 0x0&&(_0x16f721[_0x48be5b(0x263)]&0x1)!=0x1){this[_0x48be5b(0x39a)]();return;}let _0x255968=this[_0x48be5b(0x700)](_0x16f721),_0x18f316=this[_0x48be5b(0x5bc)](_0x1d276f[_0x48be5b(0x42f)],_0x1d276f[_0x48be5b(0x39d)],_0x255968['x'],_0x255968['y']);_0x18f316&&this[_0x48be5b(0x22d)](_0x1d276f,{'row':_0x18f316[_0x48be5b(0x4b9)],'column':_0x18f316['column']});}[_0x5defcf(0x22d)](_0x3c8bf1,_0x479b05){const _0x30bdc7=_0x5defcf;var _0x396e22,_0x4453eb,_0x268ebe,_0x5a15c5,_0x352c74;if(_0x3c8bf1[_0x30bdc7(0x42f)]['element'][_0x30bdc7(0x495)]!==_0x16fba9[_0x30bdc7(0x3f9)]||_0x3c8bf1['current'][_0x30bdc7(0x4b9)]===_0x479b05[_0x30bdc7(0x4b9)]&&_0x3c8bf1[_0x30bdc7(0x508)][_0x30bdc7(0x3f1)]===_0x479b05[_0x30bdc7(0x3f1)]&&((_0x396e22=this[_0x30bdc7(0x531)]['getSelection']())==null?void 0x0:_0x396e22[_0x30bdc7(0x521)])===_0x30bdc7(0x483))return;_0x3c8bf1[_0x30bdc7(0x508)]=_0x479b05;let _0x41e2f5=_0x5f5bd9(_0x3c8bf1[_0x30bdc7(0x690)],{'startRow':_0x3c8bf1[_0x30bdc7(0x6c5)]['row'],'startColumn':_0x3c8bf1[_0x30bdc7(0x6c5)][_0x30bdc7(0x3f1)],'endRow':_0x479b05['row'],'endColumn':_0x479b05[_0x30bdc7(0x3f1)]}),_0x3fb434=this[_0x30bdc7(0x531)][_0x30bdc7(0x256)]({'unitId':_0x3c8bf1[_0x30bdc7(0x42f)][_0x30bdc7(0x379)],'subUnitId':_0x3c8bf1[_0x30bdc7(0x42f)][_0x30bdc7(0x6b4)],'elementId':_0x3c8bf1[_0x30bdc7(0x42f)][_0x30bdc7(0x1ba)],'tableId':_0x3c8bf1['drawing'][_0x30bdc7(0x571)]['tableId'],..._0x41e2f5});(_0x4453eb=(_0x268ebe=_0x3c8bf1[_0x30bdc7(0x583)])[_0x30bdc7(0x37f)])==null||_0x4453eb['call'](_0x268ebe,{'kind':fu(_0x3fb434[_0x30bdc7(0x521)]),'ranges':_0x3fb434[_0x30bdc7(0x649)],'active':_0x479b05}),this[_0x30bdc7(0x190)](!0x0),(_0x5a15c5=(_0x352c74=this[_0x30bdc7(0x51f)]['scene'])['makeDirty'])==null||_0x5a15c5[_0x30bdc7(0x283)](_0x352c74,!0x0);}[_0x5defcf(0x1f8)](){const _0xe09016=_0x5defcf;var _0x245d4e,_0x66045f,_0x261ccb,_0x586330,_0x2b9357,_0x2da7ff,_0x18c528;(_0x245d4e=this['_resizeDragListeners'])==null||_0x245d4e['dispose'](),this[_0xe09016(0x62d)]=null;let _0x66a0c3=this[_0xe09016(0x531)][_0xe09016(0x1cf)](),_0x3d9f97=[_0x66a0c3?{'unitId':_0x66a0c3[_0xe09016(0x379)],'subUnitId':_0x66a0c3[_0xe09016(0x6b4)],'elementId':_0x66a0c3[_0xe09016(0x60f)]}:null,this['_lastActiveTableContext']]['filter'](_0x41b91c=>!!_0x41b91c),_0x3f13a7=_0x3d9f97['filter']((_0x175e36,_0x22313c)=>_0x3d9f97[_0xe09016(0x4fd)](_0x3562f0=>_0x3562f0['unitId']===_0x175e36[_0xe09016(0x379)]&&_0x3562f0[_0xe09016(0x6b4)]===_0x175e36[_0xe09016(0x6b4)]&&_0x3562f0[_0xe09016(0x60f)]===_0x175e36[_0xe09016(0x60f)])===_0x22313c);(_0x66045f=this['_editorDisposable'])==null||_0x66045f['dispose'](),this[_0xe09016(0x594)]=null,this[_0xe09016(0x426)]+=0x1,this['_activeEditorContextKey']=null,this[_0xe09016(0x39a)](),this['_rangeDragContext']=null,this[_0xe09016(0x2ec)]({'focusCell':!0x1}),this['_hoveredTrigger']=null,this[_0xe09016(0x30d)](void 0x0,{'commitMove':!0x1}),this[_0xe09016(0x20a)]=null,this[_0xe09016(0x68a)]=null,this[_0xe09016(0x558)](),(_0x261ccb=this[_0xe09016(0x451)])==null||(_0x2b9357=(_0x586330=_0x261ccb[_0xe09016(0x583)])[_0xe09016(0x4cd)])==null||_0x2b9357[_0xe09016(0x283)](_0x586330,null),this[_0xe09016(0x451)]=null,this[_0xe09016(0x41c)](),this[_0xe09016(0x2b3)](!0x1),this['_setTableKeyboardFocus'](!0x1),this['_setTableObjectKeyboardFocus'](!0x1),_0x3f13a7[_0xe09016(0x4df)](_0x2cdd19=>{const _0x246e5c=_0xe09016;var _0x473fdc,_0x3f4a88,_0x4816ab,_0x24c9df,_0x40c5eb,_0x5d2d12;let _0x97023=this[_0x246e5c(0x51f)][_0x246e5c(0x667)]['getObject'](_0x1a21b4(_0x2cdd19[_0x246e5c(0x379)],_0x2cdd19[_0x246e5c(0x6b4)],_0x2cdd19[_0x246e5c(0x60f)]));_0x97023==null||(_0x473fdc=_0x97023['setEditingCell'])==null||_0x473fdc[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x3f4a88=_0x97023['setPreviewTable'])==null||_0x3f4a88[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x4816ab=_0x97023[_0x246e5c(0x37f)])==null||_0x4816ab[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x24c9df=_0x97023[_0x246e5c(0x557)])==null||_0x24c9df[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x40c5eb=_0x97023[_0x246e5c(0x2d8)])==null||_0x40c5eb['call'](_0x97023,null),_0x97023==null||(_0x5d2d12=_0x97023['setTableControlHover'])==null||_0x5d2d12[_0x246e5c(0x283)](_0x97023,null);}),this[_0xe09016(0x531)]['clear'](),(_0x2da7ff=(_0x18c528=this[_0xe09016(0x51f)][_0xe09016(0x667)])[_0xe09016(0x623)])==null||_0x2da7ff[_0xe09016(0x283)](_0x18c528,!0x0);}[_0x5defcf(0x352)](_0x4e02b6){const _0x5d177c=_0x5defcf;if(_0x4e02b6[_0x5d177c(0x42f)][_0x5d177c(0x379)]!==this[_0x5d177c(0x51f)][_0x5d177c(0x379)]||_0x4e02b6['drawing'][_0x5d177c(0x571)][_0x5d177c(0x495)]!==_0x16fba9[_0x5d177c(0x3f9)]||!this[_0x5d177c(0x308)](_0x4e02b6[_0x5d177c(0x42f)]))return;let _0x5a20c0=this[_0x5d177c(0x5bc)](_0x4e02b6[_0x5d177c(0x42f)],_0x4e02b6[_0x5d177c(0x62b)],_0x4e02b6[_0x5d177c(0x1b4)],_0x4e02b6['offsetY']);if(!_0x5a20c0)return;let _0x18e80e=this['_editorUIService'][_0x5d177c(0x21a)](),_0x23873e=_0x18e80e==null?void 0x0:_0x18e80e[_0x5d177c(0x278)];this[_0x5d177c(0x520)]()&&(_0x18e80e==null?void 0x0:_0x18e80e[_0x5d177c(0x67a)])===tu&&(_0x23873e==null?void 0x0:_0x23873e[_0x5d177c(0x379)])===_0x4e02b6['drawing'][_0x5d177c(0x379)]&&_0x23873e[_0x5d177c(0x6b4)]===_0x4e02b6[_0x5d177c(0x42f)]['subUnitId']&&_0x23873e[_0x5d177c(0x60f)]===_0x4e02b6['drawing'][_0x5d177c(0x1ba)]&&_0x23873e['row']===_0x5a20c0['row']&&_0x23873e[_0x5d177c(0x3f1)]===_0x5a20c0[_0x5d177c(0x3f1)]||this[_0x5d177c(0x51c)](_0x4e02b6[_0x5d177c(0x42f)],_0x5a20c0);}[_0x5defcf(0x51c)](_0x4f62b4,_0x519bab,_0x36b4b5){const _0x233805=_0x5defcf;var _0x100d8c,_0xe8d63d,_0x579d70,_0x40995a;if(_0x4f62b4[_0x233805(0x571)]['type']!==_0x16fba9[_0x233805(0x3f9)])return;let _0x19f95f=_0x4f62b4['element'],_0x471d0a={'unitId':_0x4f62b4[_0x233805(0x379)],'subUnitId':_0x4f62b4['subUnitId'],'elementId':_0x4f62b4['drawingId'],'tableId':_0x19f95f[_0x233805(0x6a7)],'row':_0x519bab[_0x233805(0x4b9)],'column':_0x519bab['column'],'drawingTransform':_0x4f62b4[_0x233805(0x3b0)]},_0x4d35c0=(_0x36b4b5==null?void 0x0:_0x36b4b5[_0x233805(0x627)])===void 0x0?this[_0x233805(0x584)](_0x519bab['table'],_0x519bab['row'],_0x519bab[_0x233805(0x3f1)]):tc(this['_resolveCellDocumentData'](_0x519bab[_0x233805(0x690)],_0x519bab[_0x233805(0x4b9)],_0x519bab[_0x233805(0x3f1)]),_0x36b4b5[_0x233805(0x627)]),_0x540281=this[_0x233805(0x399)](_0x519bab[_0x233805(0x583)],_0x519bab[_0x233805(0x40b)],_0x519bab[_0x233805(0x1a8)],_0x4d35c0);if(!_0x540281)return;this[_0x233805(0x6ec)]();let _0x332beb=yu(_0x471d0a);this[_0x233805(0x58f)]();let _0x30da4a=(this[_0x233805(0x426)]??0x0)+0x1;if(this[_0x233805(0x426)]=_0x30da4a,this['_activeEditorContextKey']=_0x332beb,_0x36b4b5!=null&&_0x36b4b5['handoffCurrent']){var _0x21bd54,_0x11229c;let _0x4230e5=(_0x21bd54=(_0x11229c=this['_editorUIService'])['getSession'])==null?void 0x0:_0x21bd54[_0x233805(0x283)](_0x11229c);this['_editorUIService'][_0x233805(0x1e7)](_0x4230e5==null?void 0x0:_0x4230e5['documentData'],_0x4230e5==null?void 0x0:_0x4230e5['measurement'],_0x4230e5==null?void 0x0:_0x4230e5[_0x233805(0x3ac)]);}else this['_editorUIService']['complete']();(_0x100d8c=(_0xe8d63d=_0x519bab[_0x233805(0x583)])[_0x233805(0x3cd)])==null||_0x100d8c[_0x233805(0x283)](_0xe8d63d,{'row':_0x519bab[_0x233805(0x1a8)][_0x233805(0x4b9)],'column':_0x519bab['cell'][_0x233805(0x3f1)]});let _0x387fd4=this[_0x233805(0x531)]['enterTextMode'](_0x471d0a);(_0x579d70=(_0x40995a=_0x519bab[_0x233805(0x583)])[_0x233805(0x37f)])==null||_0x579d70[_0x233805(0x283)](_0x40995a,{'kind':fu(_0x387fd4[_0x233805(0x521)]),'ranges':_0x387fd4[_0x233805(0x649)],'active':{'row':_0x519bab['row'],'column':_0x519bab[_0x233805(0x3f1)]}}),this[_0x233805(0x59f)](),this[_0x233805(0x190)](!0x1),this['_editorDisposable']=this[_0x233805(0x33c)][_0x233805(0x1d4)]({'editorId':tu,'documentData':_0x4d35c0,'layout':_0x540281,'context':_0x471d0a,'appearance':_0x233805(0x365),'autoFocus':!0x0,'hideFloatingToolbarAlignment':!0x0,'cellFillColor':Tu(_0x519bab[_0x233805(0x690)],_0x519bab['cell']),'isSingle':!0x1,'onCellFillColorChange':(_0x18b31c,_0x429db8)=>{const _0x12cef6=_0x233805;this[_0x12cef6(0x1c4)](_0x429db8,{'fill':wu(_0x18b31c)});},'onChange':(_0x186a24,_0x190e1a)=>{const _0x1d84fd=_0x233805;this[_0x1d84fd(0x346)](_0x186a24,_0x190e1a,_0x30da4a);},'onComplete':(_0x5756ef,_0x4d14c6)=>{const _0x192da4=_0x233805;this[_0x192da4(0x301)](_0x5756ef,_0x4d14c6,_0x30da4a);},'onCancel':_0x1131ed=>{this['_finishCellEditing'](_0x1131ed,_0x30da4a);},'onPointerDown':(_0x38ffd9,_0xa7780b)=>this['_handleCellEditorPointerDown'](_0x38ffd9,_0xa7780b,_0x30da4a),'onKeyDown':(_0x46b66a,_0x307ed1)=>this[_0x233805(0x243)](_0x46b66a,_0x307ed1,_0x30da4a)});}[_0x5defcf(0x3b1)](_0x17c6dc,_0x43b28a,_0x7f62f1){const _0x57aaaa=_0x5defcf;var _0x3262da;if(!_0x43b28a||!this[_0x57aaaa(0x6b9)](_0x43b28a,_0x7f62f1))return!0x1;let _0xc1b7d0=this[_0x57aaaa(0x599)][_0x57aaaa(0x2aa)](_0x43b28a[_0x57aaaa(0x379)],_0x43b28a['tableId']),_0x22bd64=this['_resolveSelectedTableDrawing'](_0x43b28a[_0x57aaaa(0x379)],_0x43b28a['subUnitId'],_0x43b28a['elementId']);if(!_0xc1b7d0||!_0x22bd64||_0x22bd64[_0x57aaaa(0x571)][_0x57aaaa(0x495)]!==_0x16fba9['Table'])return!0x1;let _0x301a65=_0x1a21b4(_0x43b28a['unitId'],_0x43b28a['subUnitId'],_0x43b28a['elementId']),_0x2e3648=this[_0x57aaaa(0x51f)]['scene']['getObject'](_0x301a65);if(!_0x2e3648)return!0x1;let _0x39b986=this['_resolvePointerScenePoint'](_0x17c6dc),_0x3aae52=this[_0x57aaaa(0x5bc)](_0x22bd64,_0x301a65,_0x39b986['x'],_0x39b986['y']);return!_0x3aae52||_0x3aae52['row']===_0x43b28a[_0x57aaaa(0x4b9)]&&_0x3aae52[_0x57aaaa(0x3f1)]===_0x43b28a[_0x57aaaa(0x3f1)]?!0x1:((_0x3262da=_0x17c6dc['stopTextSelectionDrag'])==null||_0x3262da['call'](_0x17c6dc),this[_0x57aaaa(0x51c)](_0x22bd64,{'table':_0xc1b7d0,'model':_0x3aae52['model'],'cell':_0x3aae52[_0x57aaaa(0x1a8)],'row':_0x3aae52[_0x57aaaa(0x4b9)],'column':_0x3aae52[_0x57aaaa(0x3f1)],'object':_0x2e3648},{'handoffCurrent':!0x0}),!0x0);}[_0x5defcf(0x243)](_0x33effb,_0x5c8339,_0x218c52){const _0xe740ad=_0x5defcf;var _0x23cd67,_0x13a1e5;if(!_0x5c8339||!this[_0xe740ad(0x6b9)](_0x5c8339,_0x218c52))return!0x1;let _0x41c5ba=su(_0x33effb);if(!_0x41c5ba)return!0x1;let _0x48b137=this[_0xe740ad(0x599)]['getTable'](_0x5c8339[_0xe740ad(0x379)],_0x5c8339[_0xe740ad(0x6a7)]),_0x18df7b=this[_0xe740ad(0x470)](_0x5c8339[_0xe740ad(0x379)],_0x5c8339[_0xe740ad(0x6b4)],_0x5c8339[_0xe740ad(0x60f)]);if(!_0x48b137||!_0x18df7b||_0x18df7b[_0xe740ad(0x571)][_0xe740ad(0x495)]!==_0x16fba9[_0xe740ad(0x3f9)])return!0x1;let _0x16b6e4=qa({'row':_0x5c8339[_0xe740ad(0x4b9)],'column':_0x5c8339[_0xe740ad(0x3f1)]},{'rowDelta':_0x41c5ba[_0xe740ad(0x3e4)],'columnDelta':_0x41c5ba['columnDelta'],'wrap':_0x41c5ba[_0xe740ad(0x353)]},_0x48b137['rows'][_0xe740ad(0x393)],_0x48b137['columns'][_0xe740ad(0x393)]);if(_0x16b6e4['row']===_0x5c8339[_0xe740ad(0x4b9)]&&_0x16b6e4[_0xe740ad(0x3f1)]===_0x5c8339[_0xe740ad(0x3f1)])return!0x1;let _0x15033d=_0x1a21b4(_0x5c8339[_0xe740ad(0x379)],_0x5c8339[_0xe740ad(0x6b4)],_0x5c8339[_0xe740ad(0x60f)]),_0x414bb3=this['_renderContext'][_0xe740ad(0x667)][_0xe740ad(0x2f7)](_0x15033d);if(!_0x414bb3)return!0x1;let _0x20b555=_0x9eb1b0(((_0x23cd67=_0x414bb3[_0xe740ad(0x681)])==null?void 0x0:_0x23cd67['call'](_0x414bb3))??_0x48b137),_0x1ad405=_0x20b555[_0xe740ad(0x405)][_0xe740ad(0x461)](_0x5a7287=>_0x5a7287[_0xe740ad(0x4b9)]===_0x16b6e4[_0xe740ad(0x4b9)]&&_0x5a7287[_0xe740ad(0x3f1)]===_0x16b6e4[_0xe740ad(0x3f1)]&&!_0x5a7287[_0xe740ad(0x3f5)])??_0x20b555[_0xe740ad(0x405)][_0xe740ad(0x461)](_0x3deb28=>!_0x3deb28['hidden']&&_0x16b6e4['row']>=_0x3deb28['row']&&_0x16b6e4[_0xe740ad(0x4b9)]<_0x3deb28[_0xe740ad(0x4b9)]+_0x3deb28[_0xe740ad(0x3bb)]&&_0x16b6e4['column']>=_0x3deb28[_0xe740ad(0x3f1)]&&_0x16b6e4['column']<_0x3deb28[_0xe740ad(0x3f1)]+_0x3deb28[_0xe740ad(0x4c5)]);if(!_0x1ad405)return!0x1;let _0xf1a488=this['_editorUIService'][_0xe740ad(0x21a)]();if(!_0xf1a488)return!0x1;_0x33effb[_0xe740ad(0x574)](),_0x33effb['stopPropagation'](),this[_0xe740ad(0x33c)][_0xe740ad(0x1e7)](_0xf1a488[_0xe740ad(0x5e4)],_0xf1a488[_0xe740ad(0x429)],_0xf1a488[_0xe740ad(0x3ac)]);let _0x3e417a=this[_0xe740ad(0x531)][_0xe740ad(0x63f)]({'unitId':_0x18df7b[_0xe740ad(0x379)],'subUnitId':_0x18df7b['subUnitId'],'elementId':_0x18df7b[_0xe740ad(0x1ba)],'tableId':_0x18df7b[_0xe740ad(0x571)][_0xe740ad(0x6a7)],'row':_0x1ad405[_0xe740ad(0x4b9)],'column':_0x1ad405['column']});return(_0x13a1e5=_0x414bb3[_0xe740ad(0x37f)])==null||_0x13a1e5['call'](_0x414bb3,{'kind':fu(_0x3e417a['kind']),'ranges':_0x3e417a[_0xe740ad(0x649)],'active':{'row':_0x1ad405[_0xe740ad(0x4b9)],'column':_0x1ad405[_0xe740ad(0x3f1)]}}),this[_0xe740ad(0x6ec)](),this[_0xe740ad(0x190)](!0x0),this['_makeSceneDirty'](),!0x0;}[_0x5defcf(0x5bc)](_0x27d42c,_0x591e2f,_0xc3386e,_0x1b81d5){const _0x585036=_0x5defcf;var _0x3b76ff;if(_0x27d42c[_0x585036(0x571)][_0x585036(0x495)]!==_0x16fba9['Table']||_0x27d42c[_0x585036(0x34b)])return null;let _0x224136=this[_0x585036(0x599)][_0x585036(0x2aa)](_0x27d42c['unitId'],_0x27d42c[_0x585036(0x571)][_0x585036(0x6a7)]);if(!_0x224136)return null;let _0x25b21c=this[_0x585036(0x51f)][_0x585036(0x667)][_0x585036(0x2f7)](_0x591e2f);if(!_0x25b21c||_0x25b21c[_0x585036(0x2a5)])return null;let _0x590270=_0x9eb1b0(((_0x3b76ff=_0x25b21c[_0x585036(0x681)])==null?void 0x0:_0x3b76ff[_0x585036(0x283)](_0x25b21c))??_0x224136),_0x2705f0=this['_resolveTablePoint'](_0x25b21c,_0x590270,_0xc3386e,_0x1b81d5),_0x239079=Zs(_0x590270,_0x2705f0['x'],_0x2705f0['y']);if(!_0x239079)return null;let _0x5eac83=_0x590270[_0x585036(0x405)][_0x585036(0x461)](_0x3d5ff3=>_0x3d5ff3[_0x585036(0x4b9)]===_0x239079[_0x585036(0x4b9)]&&_0x3d5ff3[_0x585036(0x3f1)]===_0x239079['column']&&!_0x3d5ff3[_0x585036(0x3f5)]);return _0x5eac83?{'table':_0x224136,'model':_0x590270,'cell':_0x5eac83,'row':_0x239079[_0x585036(0x4b9)],'column':_0x239079[_0x585036(0x3f1)],'object':_0x25b21c}:null;}[_0x5defcf(0x502)](_0x449189,_0x599c50,_0x5ca556,_0x29156e){const _0x4b6c21=_0x5defcf;let _0x3fd1c4=_0x449189[_0x4b6c21(0x387)](new _0x33f54f(_0x5ca556,_0x29156e)),_0x1c1724=_0x3fd1c4['x']+_0x449189[_0x4b6c21(0x58e)]/0x2,_0x36c450=_0x3fd1c4['y']+_0x449189[_0x4b6c21(0x65e)]/0x2,_0x44cfb5=du(_0x599c50[_0x4b6c21(0x58e)]/_0x449189[_0x4b6c21(0x58e)],0x1),_0x5537a1=du(_0x599c50[_0x4b6c21(0x65e)]/_0x449189[_0x4b6c21(0x65e)],0x1);return{'x':_0x1c1724*_0x44cfb5,'y':_0x36c450*_0x5537a1};}[_0x5defcf(0x399)](_0x96f440,_0x8b085d,_0x2804ab,_0x269a27){const _0x5519eb=_0x5defcf;var _0x50a9e7,_0x2b91fd;if(!this[_0x5519eb(0x51f)][_0x5519eb(0x618)]['getCanvasElement']())return null;let _0x2e63bd=this[_0x5519eb(0x51f)][_0x5519eb(0x667)][_0x5519eb(0x58d)](),_0x2cd591=du(_0x2e63bd[_0x5519eb(0x57b)],0x1),_0xf5526a=du(_0x2e63bd[_0x5519eb(0x6c3)],0x1),_0x4c0cbf=nc({'rect':((_0x50a9e7=_0x96f440[_0x5519eb(0x358)])==null?void 0x0:_0x50a9e7[_0x5519eb(0x283)](_0x96f440,_0x2804ab[_0x5519eb(0x4b9)],_0x2804ab[_0x5519eb(0x3f1)],_0x96f440['width'],_0x96f440[_0x5519eb(0x65e)]))??_0x32ac01({'cell':_0x2804ab,'tableWidth':_0x8b085d['width'],'tableHeight':_0x8b085d[_0x5519eb(0x65e)],'targetWidth':_0x96f440[_0x5519eb(0x58e)],'targetHeight':_0x96f440[_0x5519eb(0x65e)],'includeMargins':!0x0}),'tableTransform':{'left':_0x96f440[_0x5519eb(0x479)],'top':_0x96f440['top'],'width':_0x96f440['width'],'height':_0x96f440[_0x5519eb(0x65e)],'angle':_0x96f440[_0x5519eb(0x2c3)],'flipX':_0x96f440[_0x5519eb(0x588)],'flipY':_0x96f440[_0x5519eb(0x6e0)]},'scale':{'scaleX':_0x2cd591,'scaleY':_0xf5526a},'scenePointToViewportPoint':_0x235bad=>this[_0x5519eb(0x2a0)](_0x235bad)}),_0x386087=_0x2804ab[_0x5519eb(0x242)][_0x5519eb(0x2fc)],_0x3fe61d=(_0x2b91fd=_0x269a27[_0x5519eb(0x6e1)])==null?void 0x0:_0x2b91fd[_0x5519eb(0x1ef)];return{..._0x4c0cbf,'horizontalAlign':_0x3fe61d==null?void 0x0:_0x3fe61d[_0x5519eb(0x575)],'isHorizontal':_0x386087!==_0x5519eb(0x511)&&_0x386087!==_0x5519eb(0x317),'verticalAlign':bu(_0x2804ab[_0x5519eb(0x242)][_0x5519eb(0x385)])??(_0x3fe61d==null?void 0x0:_0x3fe61d[_0x5519eb(0x385)])};}[_0x5defcf(0x2a0)](_0x92d953){const _0x41958f=_0x5defcf;var _0xf2c23e,_0x2ed69b,_0x5ed278;let _0x52ed2e=this[_0x41958f(0x51f)][_0x41958f(0x667)],_0x1fadc3=(_0xf2c23e=_0x52ed2e[_0x41958f(0x5d9)])==null?void 0x0:_0xf2c23e['call'](_0x52ed2e)[0x0],_0x5e43ac=_0x1fadc3==null||(_0x2ed69b=_0x1fadc3[_0x41958f(0x5f0)])==null?void 0x0:_0x2ed69b[_0x41958f(0x283)](_0x1fadc3,new _0x33f54f(_0x92d953['x'],_0x92d953['y']));if(_0x5e43ac)return{'x':_0x5e43ac['x'],'y':_0x5e43ac['y']};let _0x29d08f=this['_renderContext'][_0x41958f(0x618)][_0x41958f(0x607)](),_0x498368=(_0x29d08f==null||(_0x5ed278=_0x29d08f[_0x41958f(0x61c)])==null?void 0x0:_0x5ed278[_0x41958f(0x283)](_0x29d08f))??{'left':0x0,'top':0x0},_0x8a6202=_0x52ed2e[_0x41958f(0x58d)](),_0x3ad5d4=du(_0x8a6202[_0x41958f(0x57b)],0x1),_0x130409=du(_0x8a6202[_0x41958f(0x6c3)],0x1);return{'x':_0x498368['left']+_0x92d953['x']*_0x3ad5d4,'y':_0x498368[_0x41958f(0x5ee)]+_0x92d953['y']*_0x130409};}[_0x5defcf(0x584)](_0x11dc58,_0xd24439,_0x4979c9){var _0x574c53;let _0x33e781=tu+'_'+_0x11dc58['id']+'_'+_0xd24439+'_'+_0x4979c9;return ic(((_0x574c53=_0x11dc58['rows'][_0xd24439])==null||(_0x574c53=_0x574c53['cells'][_0x4979c9])==null?void 0x0:_0x574c53['textData'])||{'id':_0x33e781,'body':{'dataStream':'\x0d\x0a'},'documentStyle':{}},_0x33e781);}[_0x5defcf(0x301)](_0x2dbe64,_0x202dbf,_0x279ded){const _0x25b74f=_0x5defcf;var _0x9f452a;if(!_0x202dbf)return;let _0x20953c=this['_tableResourceService']['getTable'](_0x202dbf['unitId'],_0x202dbf[_0x25b74f(0x6a7)]);if(!_0x20953c){this[_0x25b74f(0x6b9)](_0x202dbf,_0x279ded)&&this[_0x25b74f(0x531)]['clear']();return;}let _0xd1a5ed=tu+'_'+_0x20953c['id']+'_'+_0x202dbf[_0x25b74f(0x4b9)]+'_'+_0x202dbf[_0x25b74f(0x3f1)],_0x359764=ic(_0x23e15f(_0x2dbe64),_0xd1a5ed),_0x5efb1f=xu((_0x9f452a=_0x359764[_0x25b74f(0x6e1)])==null||(_0x9f452a=_0x9f452a['renderConfig'])==null?void 0x0:_0x9f452a[_0x25b74f(0x385)]),_0x820c73=_0x423096(_0x20953c,_0x202dbf[_0x25b74f(0x4b9)],_0x202dbf['column'],_0x359764,{'verticalAlign':_0x5efb1f});if(!_0x820c73){this['_isCurrentEditorSession'](_0x202dbf,_0x279ded)&&this[_0x25b74f(0x531)][_0x25b74f(0x31e)]();return;}this[_0x25b74f(0x710)][_0x25b74f(0x6d2)](_0x296a89['id'],{'unitId':_0x202dbf[_0x25b74f(0x379)],'tableId':_0x202dbf['tableId'],'patch':_0x820c73}),this[_0x25b74f(0x5a0)](_0x202dbf,_0x279ded);}[_0x5defcf(0x346)](_0x92cd0c,_0x7a19fc,_0x235de1){const _0x251750=_0x5defcf;var _0x476050,_0x59745e;if(!_0x7a19fc||!this['_isCurrentEditorSession'](_0x7a19fc,_0x235de1))return;let _0x360fe2=this[_0x251750(0x599)][_0x251750(0x2aa)](_0x7a19fc['unitId'],_0x7a19fc['tableId']);if(!_0x360fe2)return;let _0x2e8e78=tu+'_'+_0x360fe2['id']+'_'+_0x7a19fc[_0x251750(0x4b9)]+'_'+_0x7a19fc[_0x251750(0x3f1)],_0x1f157e=ic(_0x23e15f(_0x92cd0c),_0x2e8e78),_0x594996=xu((_0x476050=_0x1f157e['documentStyle'])==null||(_0x476050=_0x476050[_0x251750(0x1ef)])==null?void 0x0:_0x476050[_0x251750(0x385)]),_0x3bb35c=_0x423096(_0x360fe2,_0x7a19fc[_0x251750(0x4b9)],_0x7a19fc['column'],_0x1f157e,{'verticalAlign':_0x594996});if(!_0x3bb35c)return;let _0x11f5ee=this[_0x251750(0x51f)][_0x251750(0x667)][_0x251750(0x2f7)](_0x1a21b4(_0x7a19fc[_0x251750(0x379)],_0x7a19fc[_0x251750(0x6b4)],_0x7a19fc[_0x251750(0x60f)]));_0x11f5ee==null||(_0x59745e=_0x11f5ee[_0x251750(0x4cd)])==null||_0x59745e[_0x251750(0x283)](_0x11f5ee,{..._0x360fe2,..._0x3bb35c}),this[_0x251750(0x5aa)](),this['_makeSceneDirty']();}[_0x5defcf(0x286)](_0x1fd68f,_0x34a666,_0x20a646){}['_handoffCellEditorToRangeSelection'](_0x5da505,_0x34ee51,_0x30345d,_0x3760b4,_0x394b04,_0xa17ea1,_0x3868d5,_0x12f7e5){const _0x5351dd=_0x5defcf;var _0x3d7e32;let _0x3275b9=this[_0x5351dd(0x33c)]['getSession']();_0x3275b9&&this[_0x5351dd(0x6b9)](_0x3275b9[_0x5351dd(0x278)],_0x30345d)&&((_0x3d7e32=_0x5da505[_0x5351dd(0x3f2)])==null||_0x3d7e32[_0x5351dd(0x283)](_0x5da505),this[_0x5351dd(0x33c)][_0x5351dd(0x1e7)](_0x3275b9[_0x5351dd(0x5e4)],_0x3275b9[_0x5351dd(0x429)]),this[_0x5351dd(0x222)]={'drawing':_0x3760b4,'objectKey':_0x394b04,'object':_0xa17ea1,'table':_0x3868d5,'anchor':{'row':_0x34ee51['row'],'column':_0x34ee51[_0x5351dd(0x3f1)]},'current':{'row':_0x34ee51[_0x5351dd(0x4b9)],'column':_0x34ee51[_0x5351dd(0x3f1)]}},this[_0x5351dd(0x376)](),this[_0x5351dd(0x22d)](this[_0x5351dd(0x222)],{'row':_0x12f7e5['row'],'column':_0x12f7e5['column']}));}['_bindRangeDragWindowEvents'](){const _0x2fd348=_0x5defcf;if(this['_rangeDragWindowCleanup']||typeof window>'u')return;let _0x4ab4d2=_0x2dc3a6=>{const _0x296fca=_0x428e;this[_0x296fca(0x71c)](_0x2dc3a6);},_0x41f199=()=>{const _0x46f044=_0x428e;this[_0x46f044(0x39a)]();};window[_0x2fd348(0x63c)]('pointermove',_0x4ab4d2),window[_0x2fd348(0x63c)](_0x2fd348(0x288),_0x41f199),window['addEventListener'](_0x2fd348(0x40c),_0x41f199),this[_0x2fd348(0x71d)]=()=>{const _0x29fcee=_0x2fd348;window['removeEventListener']('pointermove',_0x4ab4d2),window[_0x29fcee(0x688)](_0x29fcee(0x288),_0x41f199),window[_0x29fcee(0x688)](_0x29fcee(0x40c),_0x41f199),this[_0x29fcee(0x71d)]=null;};}[_0x5defcf(0x39a)](){const _0xa2fbb2=_0x5defcf;let _0x24c45e=this['_rangeDragWindowCleanup'];_0x24c45e&&_0x24c45e(),this[_0xa2fbb2(0x222)]=null;}[_0x5defcf(0x643)](_0x3c4629,_0xea3d7f){const _0x415edd=_0x5defcf;var _0x3c617b;_0x3c4629&&((_0x3c617b=this['_rangeDragContext'])==null?void 0x0:_0x3c617b[_0x415edd(0x42f)][_0x415edd(0x379)])===_0x3c4629[_0x415edd(0x379)]&&this[_0x415edd(0x222)][_0x415edd(0x42f)][_0x415edd(0x1ba)]===_0x3c4629[_0x415edd(0x60f)]&&this[_0x415edd(0x39a)]();}['_commitCellStyle'](_0x34da1b,_0x20a263){const _0x5e99e4=_0x5defcf;if(!_0x34da1b)return;let _0xbbf6f=this[_0x5e99e4(0x599)][_0x5e99e4(0x2aa)](_0x34da1b[_0x5e99e4(0x379)],_0x34da1b['tableId']);if(!_0xbbf6f){this[_0x5e99e4(0x531)][_0x5e99e4(0x31e)]();return;}let _0x32b69a=_0xdc70f2[_0x5e99e4(0x597)](_0xbbf6f['rows']),_0x20053e=_0x32b69a[_0x34da1b[_0x5e99e4(0x4b9)]],_0xc8171=_0x20053e==null?void 0x0:_0x20053e[_0x5e99e4(0x405)][_0x34da1b[_0x5e99e4(0x3f1)]];_0x20053e&&_0xc8171&&(_0x20053e[_0x5e99e4(0x405)][_0x34da1b['column']]={..._0xc8171,'style':Su(_0xc8171[_0x5e99e4(0x242)],_0x20a263)},this[_0x5e99e4(0x710)][_0x5e99e4(0x38f)](_0x296a89['id'],{'unitId':_0x34da1b[_0x5e99e4(0x379)],'tableId':_0x34da1b[_0x5e99e4(0x6a7)],'patch':{'rows':_0x32b69a}}));}[_0x5defcf(0x5a0)](_0x249704,_0x51b64c){const _0x10cc8c=_0x5defcf;var _0x2d21e9,_0xed7d28,_0x342840,_0x2f950b;if(!this[_0x10cc8c(0x6b9)](_0x249704,_0x51b64c)||(this[_0x10cc8c(0x531)][_0x10cc8c(0x31e)](),this[_0x10cc8c(0x594)]=null,this[_0x10cc8c(0x48d)]=null,this['_setTableKeyboardFocus'](!0x1),!_0x249704))return;this[_0x10cc8c(0x3aa)]['focusUnit'](_0x249704[_0x10cc8c(0x379)]);let _0x3ee11f=this[_0x10cc8c(0x51f)][_0x10cc8c(0x667)][_0x10cc8c(0x2f7)](_0x1a21b4(_0x249704[_0x10cc8c(0x379)],_0x249704[_0x10cc8c(0x6b4)],_0x249704[_0x10cc8c(0x60f)]));_0x3ee11f==null||(_0x2d21e9=_0x3ee11f[_0x10cc8c(0x3cd)])==null||_0x2d21e9[_0x10cc8c(0x283)](_0x3ee11f,null),_0x3ee11f==null||(_0xed7d28=_0x3ee11f[_0x10cc8c(0x37f)])==null||_0xed7d28[_0x10cc8c(0x283)](_0x3ee11f,null),_0x3ee11f==null||(_0x342840=_0x3ee11f[_0x10cc8c(0x2a4)])==null||_0x342840[_0x10cc8c(0x283)](_0x3ee11f,null),_0x3ee11f==null||(_0x2f950b=_0x3ee11f[_0x10cc8c(0x4cd)])==null||_0x2f950b[_0x10cc8c(0x283)](_0x3ee11f,null),this[_0x10cc8c(0x651)](_0x249704),this[_0x10cc8c(0x59f)]();}['_isCurrentEditorSession'](_0x3583eb,_0x5072b4){const _0x34d9c7=_0x5defcf;return _0x3583eb?_0x5072b4!==void 0x0&&_0x5072b4!==this[_0x34d9c7(0x426)]?!0x1:this[_0x34d9c7(0x48d)]===yu(_0x3583eb):_0x5072b4===void 0x0||_0x5072b4===this['_editorSessionId'];}[_0x5defcf(0x651)](_0x2920ef){const _0x221772=_0x5defcf;var _0x26776d;this['_drawingStateService'][_0x221772(0x72b)]({'unitId':_0x2920ef[_0x221772(0x379)],'subUnitId':_0x2920ef[_0x221772(0x6b4)]},[_0x2920ef[_0x221772(0x60f)]],_0x2920ef[_0x221772(0x60f)]);let _0x508957=this[_0x221772(0x51f)][_0x221772(0x667)][_0x221772(0x2fa)](),_0x2dc3bc=this[_0x221772(0x51f)][_0x221772(0x667)][_0x221772(0x2f7)](_0x1a21b4(_0x2920ef[_0x221772(0x379)],_0x2920ef[_0x221772(0x6b4)],_0x2920ef['elementId']));_0x508957&&_0x2dc3bc&&!_0x2dc3bc['isInGroup']&&((_0x26776d=_0x508957[_0x221772(0x331)])==null||_0x26776d[_0x221772(0x283)](_0x508957,_0x2dc3bc));}['_makeSceneDirty'](){const _0x58f77b=_0x5defcf;var _0x14eb3a,_0x272806;(_0x14eb3a=(_0x272806=this[_0x58f77b(0x51f)][_0x58f77b(0x667)])[_0x58f77b(0x623)])==null||_0x14eb3a[_0x58f77b(0x283)](_0x272806,!0x0);}};ou=Ha([Q(0x1,_0x41ffca(_0x2ebce1)),Q(0x2,_0x41ffca(_0x161eee)),Q(0x3,_0x41ffca(J)),Q(0x4,_0x42bec5),Q(0x5,_0x41ffca(_0x2f1910)),Q(0x6,_0x3cf1b5),Q(0x7,_0x51671c),Q(0x8,_0x41ffca(Ua)),Q(0x9,_0x47d445),Q(0xa,_0x1c0185),Q(0xb,_0x41ffca(_0x462a1f)),Q(0xc,_0x4e3bf4),Q(0xd,_0x5a2236),Q(0xe,_0x560a9f),Q(0xf,_0x41ffca(_0x1f6804))],ou);function su(_0x188ab7){const _0x243cc1=_0x5defcf;if(_0x188ab7[_0x243cc1(0x310)]||_0x188ab7['ctrlKey']||_0x188ab7[_0x243cc1(0x4ec)])return null;switch(_0x188ab7[_0x243cc1(0x26c)]){case _0x243cc1(0x23e):return{'rowDelta':0x0,'columnDelta':_0x188ab7['shiftKey']?-0x1:0x1,'wrap':!0x0};default:return null;}}function cu(_0x22b3f8){const _0x30ca5b=_0x5defcf;let _0x5d4191={'preventDefault':()=>{},'stopPropagation':()=>{}};switch(_0x22b3f8){case'move-left':case _0x30ca5b(0x5a2):return{..._0x5d4191,'key':_0x30ca5b(0x717)};case _0x30ca5b(0x5e3):case'extend-right':return{..._0x5d4191,'key':_0x30ca5b(0x388)};case _0x30ca5b(0x443):case _0x30ca5b(0x33b):return{..._0x5d4191,'key':_0x30ca5b(0x5ba)};case _0x30ca5b(0x71f):case'extend-down':return{..._0x5d4191,'key':_0x30ca5b(0x6b6)};case _0x30ca5b(0x437):return{..._0x5d4191,'key':_0x30ca5b(0x23e)};case'tab-backward':return{..._0x5d4191,'key':_0x30ca5b(0x23e),'shiftKey':!0x0};case _0x30ca5b(0x316):return{..._0x5d4191,'key':'Enter'};default:return null;}}function lu(_0x43d3a5,_0x39a466){const _0xe923a9=_0x5defcf;let _0x1e7621=_0x43d3a5['element'][_0xe923a9(0x3b0)],_0x2aac8c=_0x43d3a5[_0xe923a9(0x3b0)];return{'left':_0x1e7621[_0xe923a9(0x479)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x479)])??0x0,'top':_0x1e7621['top']??(_0x2aac8c==null?void 0x0:_0x2aac8c['top'])??0x0,'width':_0x1e7621[_0xe923a9(0x58e)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x58e)])??(_0x39a466==null?void 0x0:_0x39a466[_0xe923a9(0x58e)]),'height':_0x1e7621[_0xe923a9(0x65e)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x65e)])??(_0x39a466==null?void 0x0:_0x39a466['height']),'angle':_0x1e7621[_0xe923a9(0x5f6)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x2c3)])??0x0,'flipX':_0x1e7621['flipX']??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x588)]),'flipY':_0x1e7621[_0xe923a9(0x6e0)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x6e0)])};}function uu(_0x87243f,_0x4591e8=0x0){const _0x4d4087=_0x5defcf;return typeof _0x87243f==_0x4d4087(0x716)&&Number[_0x4d4087(0x401)](_0x87243f)?_0x87243f:_0x4591e8;}function du(_0x54bfe0,_0x31762d){let _0x56161d=uu(_0x54bfe0,_0x31762d);return _0x56161d>0x0?_0x56161d:_0x31762d;}function fu(_0x12201a){const _0x42cfa6=_0x5defcf;return _0x12201a===_0x42cfa6(0x6bc)?void 0x0:_0x12201a;}function pu(_0x381082){const _0xa067df=_0x5defcf;let _0x292ad8=_0x381082[0x0];if(_0x292ad8)return{'row':Math[_0xa067df(0x4a7)](_0x292ad8[_0xa067df(0x1d3)],_0x292ad8[_0xa067df(0x573)]),'column':Math[_0xa067df(0x4a7)](_0x292ad8[_0xa067df(0x3cc)],_0x292ad8['endColumn'])};}function mu(_0x575fea,_0x3f8947){const _0x1bab25=_0x5defcf;let _0x4dd3f=du(_0x3f8947,0x1),_0xd4f69e=_0x575fea['map'](_0x4c8730=>du(_0x4c8730,0x1)),_0x57181d=_0xd4f69e[_0x1bab25(0x57e)]((_0x138e55,_0x3c353e)=>_0x138e55+_0x3c353e,0x0);return _0xd4f69e[_0x1bab25(0x295)](_0x2bbfc5=>_0x2bbfc5/_0x57181d*_0x4dd3f);}function hu(_0x47483f,_0xeeca7f){const _0x5d4772=_0x5defcf;let _0x4b0fb3=0x0,_0x441c84={'index':0x0,'distance':Math[_0x5d4772(0x1dd)](_0xeeca7f)};for(let _0x53b5f1=0x0;_0x53b5f1<_0x47483f[_0x5d4772(0x393)];_0x53b5f1+=0x1){_0x4b0fb3+=_0x47483f[_0x53b5f1];let _0x15e4e9=Math['abs'](_0xeeca7f-_0x4b0fb3);_0x15e4e9<_0x441c84['distance']&&(_0x441c84={'index':_0x53b5f1+0x1,'distance':_0x15e4e9});}return _0x441c84[_0x5d4772(0x5d4)];}function gu(_0x14025c,_0x178c4e,_0x41ebd5){const _0x3eb003=_0x5defcf;let _0x171b2d=0x0,_0x13d362=null;for(let _0x3479b2=0x0;_0x3479b2<_0x14025c['length']-0x1;_0x3479b2+=0x1){_0x171b2d+=_0x14025c[_0x3479b2];let _0x3ab2ec=Math['abs'](_0x178c4e-_0x171b2d);_0x3ab2ec>_0x41ebd5||(!_0x13d362||_0x3ab2ec<_0x13d362[_0x3eb003(0x663)])&&(_0x13d362={'boundaryIndex':_0x3479b2+0x1,'distance':_0x3ab2ec});}return _0x13d362;}function _u(_0x445434,_0x13c9e4,_0x35cd3d,_0x11188b){const _0x220e27=_0x5defcf;let _0x1340a0=_0x13c9e4-0x1,_0xf954b2=_0x13c9e4;if(_0x1340a0<0x0||_0xf954b2>=_0x445434[_0x220e27(0x393)])return _0x445434;let _0x4eb421=_0x445434[_0x1340a0],_0x39ee4b=_0x445434[_0xf954b2],_0x5c80e0=_0x11188b-_0x4eb421,_0x5956d8=_0x39ee4b-_0x11188b,_0xde7b1c=Math[_0x220e27(0x4a7)](Math['max'](_0x35cd3d,_0x5c80e0),_0x5956d8),_0x46621e=_0x445434[_0x220e27(0x313)]();return _0x46621e[_0x1340a0]=_0x4eb421+_0xde7b1c,_0x46621e[_0xf954b2]=_0x39ee4b-_0xde7b1c,_0x46621e;}function vu(_0x1b4724,_0x10da68,_0x1daec9){const _0x2fc9d4=_0x5defcf;return _0x1daec9===_0x2fc9d4(0x3f1)?_0x1b4724['columns'][_0x2fc9d4(0x638)]((_0x584b99,_0x3496a2)=>{const _0x4e35a4=_0x2fc9d4;var _0x3a2ac8;return _0x584b99[_0x4e35a4(0x58e)]!==((_0x3a2ac8=_0x10da68[_0x4e35a4(0x5ca)][_0x3496a2])==null?void 0x0:_0x3a2ac8['width']);}):_0x1b4724[_0x2fc9d4(0x360)][_0x2fc9d4(0x638)]((_0x5d5f24,_0x41af6f)=>{const _0x3a7dbb=_0x2fc9d4;var _0x899280;return(_0x5d5f24['height']??0x18)!==(((_0x899280=_0x10da68[_0x3a7dbb(0x360)][_0x41af6f])==null?void 0x0:_0x899280[_0x3a7dbb(0x65e)])??0x18);});}function yu(_0x14cd92){const _0x422ff0=_0x5defcf;return _0x14cd92[_0x422ff0(0x379)]+':'+_0x14cd92[_0x422ff0(0x6b4)]+':'+_0x14cd92[_0x422ff0(0x60f)]+':'+_0x14cd92['tableId']+':'+_0x14cd92[_0x422ff0(0x4b9)]+':'+_0x14cd92['column'];}function bu(_0x1ad1d8){const _0x24870e=_0x5defcf;if(_0x1ad1d8===_0x24870e(0x6d9))return _0x9c0db6['MIDDLE'];if(_0x1ad1d8===_0x24870e(0x341))return _0x9c0db6[_0x24870e(0x29b)];if(_0x1ad1d8===_0x24870e(0x5ee))return _0x9c0db6[_0x24870e(0x64d)];}function xu(_0x343fb0){const _0x17bf31=_0x5defcf;if(_0x343fb0===_0x9c0db6[_0x17bf31(0x4ce)])return _0x1285f3[_0x17bf31(0x422)];if(_0x343fb0===_0x9c0db6[_0x17bf31(0x29b)])return _0x1285f3[_0x17bf31(0x240)];if(_0x343fb0===_0x9c0db6[_0x17bf31(0x64d)])return _0x1285f3['Top'];}function Su(_0x61690e,_0x37777d){const _0x256921=_0x5defcf;return{..._0x61690e,..._0x37777d,..._0x37777d[_0x256921(0x394)]?{'fill':{..._0x61690e==null?void 0x0:_0x61690e[_0x256921(0x394)],..._0x37777d[_0x256921(0x394)]}}:{},..._0x37777d[_0x256921(0x68f)]?{'borders':{..._0x61690e==null?void 0x0:_0x61690e[_0x256921(0x68f)],..._0x37777d[_0x256921(0x68f)]}}:{},..._0x37777d[_0x256921(0x4f7)]?{'margins':{..._0x61690e==null?void 0x0:_0x61690e[_0x256921(0x4f7)],..._0x37777d[_0x256921(0x4f7)]}}:{}};}function Cu(_0x1e53f9){const _0x3161e0=_0x5defcf;if((_0x1e53f9==null?void 0x0:_0x1e53f9[_0x3161e0(0x495)])===_0x3161e0(0x6bc))return _0x3161e0(0x6a2);let _0x54cddc=_0x1e53f9==null?void 0x0:_0x1e53f9[_0x3161e0(0x1e2)];if(!_0x54cddc)return;let _0x253f8a=Ou(_0x54cddc);if(_0x253f8a){let _0xc2b12b=Mu(_0x253f8a['a'])??0x1;return'rgba('+_0x253f8a['r']+',\x20'+_0x253f8a['g']+',\x20'+_0x253f8a['b']+',\x20'+Pu(_0xc2b12b)+')';}let _0x324239=ku(_0x54cddc);if(!_0x324239)return _0x54cddc;let _0x3fc69a=Mu(_0x1e53f9[_0x3161e0(0x498)])??0x1;return _0x3161e0(0x5ec)+_0x324239['r']+',\x20'+_0x324239['g']+',\x20'+_0x324239['b']+',\x20'+Pu(_0x3fc69a)+')';}function wu(_0x5ef681){let _0x389be3=Ou(_0x5ef681);if(_0x389be3)return{'color':Au(_0x389be3['r'],_0x389be3['g'],_0x389be3['b']),'alpha':Mu(_0x389be3['a'])??0x1};let _0x11ad53=ku(_0x5ef681);return _0x11ad53?{'color':Au(_0x11ad53['r'],_0x11ad53['g'],_0x11ad53['b'])}:{'color':_0x5ef681};}function Tu(_0x4ba3bf,_0x277b90){const _0x46eef7=_0x5defcf;return Cu(_0x277b90[_0x46eef7(0x242)][_0x46eef7(0x394)])??Eu(_0x4ba3bf,_0x277b90[_0x46eef7(0x4b9)]);}function Eu(_0x568a56,_0xc3daf8){const _0x1f6241=_0x5defcf;return _0x568a56['options'][_0x1f6241(0x216)]&&_0xc3daf8===0x0?_0x1f6241(0x50c):_0x568a56[_0x1f6241(0x1d9)][_0x1f6241(0x35e)]&&_0xc3daf8%0x2==0x0?_0x1f6241(0x248):_0x1f6241(0x648);}function Du(_0x38b1d3){const _0x266a9e=_0x5defcf;return typeof _0x38b1d3==_0x266a9e(0x716)&&Number['isFinite'](_0x38b1d3);}function Ou(_0x57b248){const _0x3c8c91=_0x5defcf;let _0x7a977=/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*(\d+(?:\.\d+)?|\.\d+))?\s*\)$/i['exec'](_0x57b248['trim']());if(_0x7a977)return{'r':ju(Number[_0x3c8c91(0x447)](_0x7a977[0x1],0xa)),'g':ju(Number[_0x3c8c91(0x447)](_0x7a977[0x2],0xa)),'b':ju(Number['parseInt'](_0x7a977[0x3],0xa)),'a':_0x7a977[0x4]===void 0x0?0x1:Number['parseFloat'](_0x7a977[0x4])};}function ku(_0x212d5f){const _0x5c74e3=_0x5defcf;let _0xa5a3bf=_0x212d5f[_0x5c74e3(0x2e9)](),_0xe4a13c=/^#([0-9a-f]{3})$/i[_0x5c74e3(0x5c5)](_0xa5a3bf);if(_0xe4a13c){let [_0x2ab18b,_0x55da0b,_0x7acfbe]=_0xe4a13c[0x1][_0x5c74e3(0x24e)]('')[_0x5c74e3(0x295)](_0x346ea9=>Number[_0x5c74e3(0x447)](''+_0x346ea9+_0x346ea9,0x10));return{'r':_0x2ab18b,'g':_0x55da0b,'b':_0x7acfbe};}let _0x58ea67=/^#([0-9a-f]{6})$/i[_0x5c74e3(0x5c5)](_0xa5a3bf);if(_0x58ea67)return{'r':Number[_0x5c74e3(0x447)](_0x58ea67[0x1][_0x5c74e3(0x313)](0x0,0x2),0x10),'g':Number[_0x5c74e3(0x447)](_0x58ea67[0x1][_0x5c74e3(0x313)](0x2,0x4),0x10),'b':Number[_0x5c74e3(0x447)](_0x58ea67[0x1][_0x5c74e3(0x313)](0x4,0x6),0x10)};}function Au(_0x565288,_0x285fad,_0x8d307){const _0x192b3e=_0x5defcf;return('#'+[_0x565288,_0x285fad,_0x8d307][_0x192b3e(0x295)](_0x577d12=>ju(_0x577d12)[_0x192b3e(0x683)](0x10)['padStart'](0x2,'0'))[_0x192b3e(0x1d7)](''))['toUpperCase']();}function ju(_0x24d31c){const _0x19bd31=_0x5defcf;return Number[_0x19bd31(0x401)](_0x24d31c)?Math[_0x19bd31(0x4a7)](0xff,Math[_0x19bd31(0x6bf)](0x0,Math[_0x19bd31(0x300)](_0x24d31c))):0x0;}function Mu(_0x34bb7c){const _0x54964e=_0x5defcf;if(typeof _0x34bb7c==_0x54964e(0x716)&&Number[_0x54964e(0x401)](_0x34bb7c))return Nu(_0x34bb7c<=0x1?_0x34bb7c:_0x34bb7c<=0x64?_0x34bb7c/0x64:_0x34bb7c/0x186a0);}function Nu(_0x5b59ff){const _0x147e2b=_0x5defcf;return Math['min'](0x1,Math[_0x147e2b(0x6bf)](0x0,_0x5b59ff));}function Pu(_0x448f93){const _0x45973e=_0x5defcf;return Number(_0x448f93[_0x45973e(0x275)](0x4))[_0x45973e(0x683)]();}function Fu(_0x82895){const _0x231f56=_0x5defcf;return new DOMParser()[_0x231f56(0x4c8)](_0x82895,_0x231f56(0x2ba))[_0x231f56(0x499)](_0x231f56(0x2ab))!==null;}async function Iu(_0x5972be,_0x206b6d){const _0x5de71a=_0x5defcf;let _0x400e6d=_0x3bc7bf(_0x5972be);return _0x206b6d?Fu(_0x206b6d)?_0x400e6d[_0x5de71a(0x393)]>0x0?_0x400e6d:_0x3fce0e(_0x206b6d):[]:_0x400e6d;}var Lu=class extends ou{[_0x5defcf(0x6ef)](){const _0x52edc5=_0x5defcf;this[_0x52edc5(0x40f)](_0x2123f0(this['_tableSelectionService'][_0x52edc5(0x217)][_0x52edc5(0x533)](_0x178172=>{const _0x50cf26=_0x52edc5;if(!_0x178172||_0x178172['unitId']!==this[_0x50cf26(0x51f)][_0x50cf26(0x379)])return;let _0x5d8c3f=this['_resolveTableObjectFromContext'](_0x178172);_0x5d8c3f&&(this[_0x50cf26(0x2e7)](_0x5d8c3f[_0x50cf26(0x42f)],_0x5d8c3f[_0x50cf26(0x583)],_0x178172),this[_0x50cf26(0x27f)](_0x178172),this[_0x50cf26(0x51f)][_0x50cf26(0x667)][_0x50cf26(0x623)](!0x0));})));}[_0x5defcf(0x1e3)](...[_0x4a7550,_0x26df03]){const _0x2a935f=_0x5defcf;this[_0x2a935f(0x25d)](_0x4a7550,_0x26df03);}[_0x5defcf(0x54d)](...[_0x3dffd9]){const _0xdc03ef=_0x5defcf;_0x3dffd9 instanceof Il&&_0x3dffd9[_0xdc03ef(0x2c6)][_0xdc03ef(0x20e)](!0x0);}[_0x5defcf(0x673)](){return!0x1;}[_0x5defcf(0x564)](...[_0x23d871,_0x148588,_0x1b6285,_0x55dc95,_0x84571d,_0x541e3c]){const _0x5e4b67=_0x5defcf;this[_0x5e4b67(0x474)](_0x23d871,_0x1b6285,_0x55dc95,_0x84571d,_0x541e3c);}['_prepareResizeSelection'](...[_0xbbae5f,_0x2f2ea3]){const _0x3ffa1b=_0x5defcf;_0xbbae5f instanceof Il&&_0xbbae5f['mobileSelection'][_0x3ffa1b(0x3b8)]({'axis':_0x2f2ea3['handle'][_0x3ffa1b(0x71b)],'index':_0x2f2ea3[_0x3ffa1b(0x2dc)][_0x3ffa1b(0x484)]});}['_resolveResizeHandle'](...[_0x452548,_0x1f1270,_0x23b3b8,_0x546a6d]){const _0x42f8cf=_0x5defcf;let _0x32714b=_0x1f1270 instanceof Il?_0x1f1270[_0x42f8cf(0x2c6)][_0x42f8cf(0x64b)](new _0x33f54f(_0x23b3b8,_0x546a6d)):null;return(_0x32714b==null?void 0x0:_0x32714b['kind'])===_0x42f8cf(0x31a)&&_0x32714b[_0x42f8cf(0x4b9)]!==void 0x0?{'axis':_0x42f8cf(0x4b9),'boundaryIndex':_0x32714b[_0x42f8cf(0x4b9)]+0x1}:(_0x32714b==null?void 0x0:_0x32714b['kind'])==='resize-column'&&_0x32714b[_0x42f8cf(0x3f1)]!==void 0x0?{'axis':_0x42f8cf(0x3f1),'boundaryIndex':_0x32714b[_0x42f8cf(0x3f1)]+0x1}:null;}[_0x5defcf(0x5e6)](...[_0x4f5351,_0x3f366d,_0x537c0d]){const _0x406d5c=_0x5defcf;this[_0x406d5c(0x30d)](),_0x537c0d[_0x406d5c(0x521)]==='row-header'&&_0x537c0d['row']!==void 0x0?this[_0x406d5c(0x6f0)](_0x4f5351,_0x3f366d,_0x537c0d[_0x406d5c(0x4b9)],_0x537c0d[_0x406d5c(0x4b9)]):_0x537c0d[_0x406d5c(0x521)]==='column-header'&&_0x537c0d[_0x406d5c(0x3f1)]!==void 0x0&&this['_selectColumns'](_0x4f5351,_0x3f366d,_0x537c0d[_0x406d5c(0x3f1)],_0x537c0d[_0x406d5c(0x3f1)]);}[_0x5defcf(0x62f)](...[_0x5611a2,_0xdd96a3,_0x3b853c,_0x2bd160,_0x144a87]){const _0x187b9b=_0x5defcf;let _0x433608=this[_0x187b9b(0x700)](_0x3b853c);if(this[_0x187b9b(0x202)](_0x5611a2,_0xdd96a3,_0x433608['x'],_0x433608['y'])){let _0x3204eb=setTimeout(()=>{const _0x159dfc=_0x187b9b;this['_finishPendingStage1TableDrag']({'focusCell':!0x1}),this[_0x159dfc(0x3dc)](_0x5611a2,_0xdd96a3[_0x159dfc(0x62b)],_0xdd96a3,_0x3b853c,_0x2bd160);},0x1c2);_0x144a87[_0x187b9b(0x378)](_0x2123f0(()=>clearTimeout(_0x3204eb)));}}[_0x5defcf(0x31f)](){const _0x2c7a27=_0x5defcf;return this['_renderContext']['scene'][_0x2c7a27(0x58d)]()[_0x2c7a27(0x57b)];}['_activateWholeTableSelection'](...[_0x28b034]){this['_activateTableObject'](_0x28b034);}[_0x5defcf(0x6c2)](...[_0x4c3d8e]){const _0x5da4be=_0x5defcf;return _0x4c3d8e['kind']!==_0x5da4be(0x690)&&super[_0x5da4be(0x6c2)](_0x4c3d8e);}['_retainActiveCellEditor'](){return!0x0;}[_0x5defcf(0x3e0)](...[_0x1341e3,_0x5cd393,_0x417b95,_0x2b6b46]){const _0x3a1618=_0x5defcf;if(!(_0x5cd393 instanceof Il))return!0x1;let _0x1a92a2=this[_0x3a1618(0x700)](_0x417b95),_0x41766d=_0x5cd393['mobileSelection'][_0x3a1618(0x48f)](new _0x33f54f(_0x1a92a2['x'],_0x1a92a2['y']));return _0x41766d?this[_0x3a1618(0x4cc)](_0x1341e3,_0x5cd393,_0x41766d,_0x417b95,_0x2b6b46):!0x1;}[_0x5defcf(0x6fb)](...[_0x4da5c4]){const _0x4d7edb=_0x5defcf;_0x4da5c4 instanceof Il&&_0x4da5c4[_0x4d7edb(0x2c6)][_0x4d7edb(0x3b8)](null);}};const Ru=_0x5defcf(0x24f),zu=_0x5defcf(0x3d1),Bu=_0x5defcf(0x5df),Vu=_0x5defcf(0x52a);function Hu(_0x410647,_0x424498){return{'id':_0x410647,'type':_0x34fe51['BUTTON'],'label':{'name':_0x424498,'hoverable':!0x1,'selectable':!0x1}};}function Uu(){return Hu(zu,Is);}function Wu(){return Hu(Bu,Ls);}function Gu(){return Hu(Vu,Rs);}function Ku(_0x59138c){const _0x5695ee=_0x5defcf;var _0x2f0696;let _0x28fa6e=_0x59138c['get'](fo),_0x5e28b7=((_0x2f0696=_0x59138c[_0x5695ee(0x621)](_0x506f4d)['getConfig'](_0x3aeb3e))==null||(_0x2f0696=_0x2f0696['editor'])==null?void 0x0:_0x2f0696[_0x5695ee(0x58c)])!==!0x1;return{'id':po['id'],'type':_0x34fe51[_0x5695ee(0x6c6)],'icon':_0x5695ee(0x5bb),'title':_0x5695ee(0x668),'tooltip':'slides-table-ui.ribbon.floatingToolbar','activated$':_0x28fa6e[_0x5695ee(0x38c)],'disabled$':_0x5e28b7?void 0x0:_0x538a76(!0x0)};}const qu={'forward':{'id':aa['id'],'icon':_0x5defcf(0x41a),'title':_0x5defcf(0x3c4)},'backward':{'id':oa['id'],'icon':'MoveDownIcon','title':_0x5defcf(0x6f6)},'front':{'id':sa['id'],'icon':_0x5defcf(0x276),'title':'slides-table-ui.ribbon.bringToFront'},'back':{'id':ca['id'],'icon':_0x5defcf(0x6ed),'title':'slides-table-ui.ribbon.sendToBack'}};function Ju(_0x3e7ba1,_0x2260c5){const _0x3c3a1e=_0x5defcf;let _0x36ce9c=_0x3e7ba1[_0x3c3a1e(0x621)](_0x506f4d),_0x1438a3=_0x3e7ba1['get'](_0x462a1f),_0x1c4feb=_0x3e7ba1[_0x3c3a1e(0x621)](_0x2f1910),_0x4f2e73=_0x3e7ba1[_0x3c3a1e(0x621)](J);return _0x192b14([_0x1c4feb['state$'],_0x1438a3['order$'][_0x3c3a1e(0x5f3)](_0x46fdcb(void 0x0)),_0x4f2e73[_0x3c3a1e(0x217)][_0x3c3a1e(0x5f3)](_0x46fdcb(null))])[_0x3c3a1e(0x5f3)](_0x20d0c3(([_0x1448d4,,_0x532f2d])=>{const _0x78433=_0x3c3a1e;var _0x37139f;if(((_0x37139f=_0x36ce9c['getConfig'](_0x3aeb3e))==null||(_0x37139f=_0x37139f['editor'])==null?void 0x0:_0x37139f[_0x78433(0x58c)])===!0x1||(_0x532f2d==null?void 0x0:_0x532f2d['kind'])===_0x78433(0x590))return!0x0;let _0xbbe2fa=_0x1448d4[_0x78433(0x278)];if(!_0xbbe2fa||_0x1448d4[_0x78433(0x625)][_0x78433(0x393)]!==0x1)return!0x0;let _0x1de971=_0x1448d4['selectedIds'][0x0],_0xf864fc=_0x1438a3[_0x78433(0x3a0)]({'unitId':_0xbbe2fa['unitId'],'subUnitId':_0xbbe2fa[_0x78433(0x6b4)],'drawingId':_0x1de971});if((_0xf864fc==null?void 0x0:_0xf864fc[_0x78433(0x571)][_0x78433(0x495)])!==_0x16fba9[_0x78433(0x3f9)])return!0x0;let _0x37b423=_0x1438a3[_0x78433(0x4f2)](_0xbbe2fa['unitId'],_0xbbe2fa[_0x78433(0x6b4)]),_0xe22a5b=_0x37b423['indexOf'](_0x1de971);return _0xe22a5b<0x0||(_0x2260c5===_0x78433(0x20f)||_0x2260c5===_0x78433(0x2e8)?_0xe22a5b===_0x37b423[_0x78433(0x393)]-0x1:_0xe22a5b===0x0);}));}function Yu(_0x203f8b,_0x4ecd03){const _0x50c108=_0x5defcf;let _0x3bcae0=qu[_0x4ecd03];return{'id':_0x3bcae0['id'],'type':_0x34fe51[_0x50c108(0x6c6)],'icon':_0x3bcae0[_0x50c108(0x36b)],'title':_0x3bcae0[_0x50c108(0x329)],'tooltip':_0x3bcae0[_0x50c108(0x329)],'disabled$':Ju(_0x203f8b,_0x4ecd03)};}const Xu=_0x36aee5=>Yu(_0x36aee5,_0x5defcf(0x20f)),Zu=_0x5ee11a=>Yu(_0x5ee11a,_0x5defcf(0x62a)),Qu=_0x245bd0=>Yu(_0x245bd0,_0x5defcf(0x2e8)),$u=_0x4e9f40=>Yu(_0x4e9f40,_0x5defcf(0x54c));function ed(_0xd46d54,_0x628c73){const _0x19b218=_0x5defcf;let _0x4feb91=_0xd46d54['get'](_0x506f4d),_0x4c37b2=_0xd46d54[_0x19b218(0x621)](_0x47dc4d),_0x1894fb=_0xd46d54['get'](J);return _0x192b14([_0x1894fb['selection$'],_0x4c37b2[_0x19b218(0x64e)][_0x19b218(0x5f3)](_0x46fdcb(void 0x0))])['pipe'](_0x20d0c3(([_0x5088fb])=>{const _0x5afaf0=_0x19b218;var _0x29c84d;return((_0x29c84d=_0x4feb91[_0x5afaf0(0x247)](_0x3aeb3e))==null||(_0x29c84d=_0x29c84d[_0x5afaf0(0x440)])==null?void 0x0:_0x29c84d[_0x5afaf0(0x58c)])===!0x1||(_0x5088fb==null?void 0x0:_0x5088fb[_0x5afaf0(0x521)])===_0x5afaf0(0x590)||!_0x628c73(_0xd46d54);}));}const td=_0x5defcf(0x350),nd='slide-table.menu.delete',rd=_0x5defcf(0x697);function id(_0x5c0e49){const _0x1b51f5=_0x5defcf;return{'id':td,'type':_0x34fe51[_0x1b51f5(0x390)],'title':_0x1b51f5(0x645),'hidden$':ad(_0x5c0e49)};}function ad(_0x3221a3){const _0x12449d=_0x5defcf;if(!_0x3221a3)return _0x538a76(!0x0);let _0x59af78=_0x3221a3[_0x12449d(0x621)](J),_0x2e021c=_0x3221a3['get'](_0x161eee);return _0x59af78[_0x12449d(0x217)][_0x12449d(0x5f3)](_0x20d0c3(_0x51deec=>{const _0x35e359=_0x12449d;let _0x403cf3=Z(_0x51deec);return!_0x403cf3||!_0x2e021c[_0x35e359(0x2aa)](_0x403cf3[_0x35e359(0x379)],_0x403cf3[_0x35e359(0x6a7)]);}));}function od(){const _0x5725af=_0x5defcf;return{'id':nd,'type':_0x34fe51['SUBITEMS'],'icon':'DeleteIcon','title':_0x5725af(0x29a),'tooltip':'slides-table-ui.contextMenu.delete'};}function sd(_0x4c75cf){const _0x4ce26b=_0x5defcf;let _0x1e492f=_0x192b14([ed(_0x4c75cf,Ma),ed(_0x4c75cf,Na)])['pipe'](_0x20d0c3(([_0x31f18f,_0x44fe92])=>[{'id':Yi['id'],'value':Yi['id'],'icon':_0x4ce26b(0x666),'label':{'name':_0x4ce26b(0x6e8),'selectable':!0x1},'params':{},'disabled':_0x31f18f},{'id':Xi['id'],'value':Xi['id'],'icon':'DeleteColumnDoubleIcon','label':{'name':_0x4ce26b(0x26f),'selectable':!0x1},'params':{},'disabled':_0x44fe92}]));return{...od(),'selections':_0x1e492f};}function cd(){const _0x12d0ab=_0x5defcf;return{'id':rd,'type':_0x34fe51['SUBITEMS'],'icon':_0x12d0ab(0x5cf),'title':_0x12d0ab(0x72c)};}function ld(_0x53e018){const _0x4f3476=_0x5defcf;var _0x428b36;let _0x4147f9=((_0x428b36=_0x53e018[_0x4f3476(0x621)](_0x506f4d)[_0x4f3476(0x247)](_0x3aeb3e))==null||(_0x428b36=_0x428b36[_0x4f3476(0x440)])==null?void 0x0:_0x428b36['enabled'])===!0x1,_0x4c6714=_0x53e018[_0x4f3476(0x621)](J)[_0x4f3476(0x217)][_0x4f3476(0x5f3)](_0x46fdcb(null),_0x20d0c3(_0x250be8=>_0x4147f9||(_0x250be8==null?void 0x0:_0x250be8[_0x4f3476(0x521)])===_0x4f3476(0x590)));return{'id':ra['id'],'type':_0x34fe51[_0x4f3476(0x6c6)],'icon':_0x4f3476(0x4ff),'title':_0x4f3476(0x50e),'tooltip':_0x4f3476(0x50e),'disabled$':_0x4c6714};}function ud(_0x46df14){const _0x4832d8=_0x5defcf;return{'id':Gi['id'],'type':_0x34fe51[_0x4832d8(0x6c6)],'icon':_0x4832d8(0x281),'title':_0x4832d8(0x551),'tooltip':_0x4832d8(0x551),'disabled$':_0x46df14?ed(_0x46df14,bd):void 0x0};}function dd(_0x1aa2f2){const _0x2a3d04=_0x5defcf;return{'id':Ki['id'],'type':_0x34fe51[_0x2a3d04(0x6c6)],'icon':'InsertRowBelowDoubleIcon','title':_0x2a3d04(0x579),'tooltip':'slides-table-ui.contextMenu.insertRowBelow','disabled$':_0x1aa2f2?ed(_0x1aa2f2,bd):void 0x0};}function fd(_0x160d68){const _0x5764ff=_0x5defcf;return{'id':qi['id'],'type':_0x34fe51[_0x5764ff(0x6c6)],'icon':'LeftInsertColumnDoubleIcon','title':_0x5764ff(0x591),'tooltip':_0x5764ff(0x591),'disabled$':_0x160d68?ed(_0x160d68,bd):void 0x0};}function pd(_0x218096){const _0x3b217c=_0x5defcf;return{'id':Ji['id'],'type':_0x34fe51[_0x3b217c(0x6c6)],'icon':_0x3b217c(0x37b),'title':'slides-table-ui.contextMenu.insertColumnRight','tooltip':_0x3b217c(0x52e),'disabled$':_0x218096?ed(_0x218096,bd):void 0x0};}function md(_0x2d6c64){const _0x1e9bb8=_0x5defcf;return{'id':Yi['id'],'type':_0x34fe51[_0x1e9bb8(0x6c6)],'icon':_0x1e9bb8(0x666),'title':_0x1e9bb8(0x6e8),'tooltip':_0x1e9bb8(0x6e8),'disabled$':_0x2d6c64?ed(_0x2d6c64,Ma):void 0x0};}function hd(_0x4c339d){const _0x106e6d=_0x5defcf;return{'id':Xi['id'],'type':_0x34fe51[_0x106e6d(0x6c6)],'icon':_0x106e6d(0x4aa),'title':_0x106e6d(0x26f),'tooltip':_0x106e6d(0x26f),'disabled$':_0x4c339d?ed(_0x4c339d,Na):void 0x0};}function gd(_0x5e0360){const _0x488f95=_0x5defcf;return{'id':Zi['id'],'type':_0x34fe51[_0x488f95(0x6c6)],'icon':_0x488f95(0x25e),'title':_0x488f95(0x228),'tooltip':_0x488f95(0x228),'disabled$':_0x5e0360?ed(_0x5e0360,Aa):void 0x0};}function _d(_0x38a31a){const _0x3faf3b=_0x5defcf;return{'id':Qi['id'],'type':_0x34fe51[_0x3faf3b(0x6c6)],'icon':_0x3faf3b(0x49e),'title':_0x3faf3b(0x28b),'tooltip':_0x3faf3b(0x28b),'disabled$':_0x38a31a?ed(_0x38a31a,ja):void 0x0};}function vd(_0x1a6ae7){const _0x975710=_0x5defcf;return{'id':$i['id'],'type':_0x34fe51[_0x975710(0x6c6)],'icon':_0x975710(0x5cf),'title':_0x975710(0x6ad),'tooltip':_0x975710(0x6ad),'disabled$':_0x1a6ae7?ed(_0x1a6ae7,Pa):void 0x0};}function yd(_0x119e5c){const _0x173dc4=_0x5defcf;return{'id':ea['id'],'type':_0x34fe51[_0x173dc4(0x6c6)],'icon':_0x173dc4(0x336),'title':'slides-table-ui.contextMenu.distributeColumns','tooltip':'slides-table-ui.contextMenu.distributeColumns','disabled$':_0x119e5c?ed(_0x119e5c,Fa):void 0x0};}function bd(_0x59b44f){const _0x51b1be=_0x5defcf;let _0x2e61bb=_0x59b44f[_0x51b1be(0x621)](J)['getSelection']();return!!_0x2e61bb&&_0x2e61bb[_0x51b1be(0x521)]!==_0x51b1be(0x590)&&_0x2e61bb[_0x51b1be(0x649)][_0x51b1be(0x393)]>0x0;}const xd=_0x5defcf(0x42d);function Sd(_0x1e40b9){const _0x2f96d0=_0x5defcf;return{'id':xd,'type':_0x34fe51[_0x2f96d0(0x5a6)],'icon':_0x2f96d0(0x326),'tooltip':_0x2f96d0(0x544),'slot':!0x0,'hidden$':_0x49a1b6(_0x1e40b9,_0x1b0a97['UNIVER_SLIDE']),'selections':[{'label':{'name':ho,'hoverable':!0x1,'selectable':!0x1}}]};}function Cd(_0x61a0bb){const _0x755411=_0x5defcf;let _0x31f450=_0x61a0bb['get'](_0x462a1f);return{'id':uo['id'],'type':_0x34fe51[_0x755411(0x6c6)],'icon':_0x755411(0x326),'title':'slides-table-ui.tableSizePicker.title','hidden$':new _0x766530(_0x1b39af=>{const _0x444d86=_0x755411;let _0x3d7918=()=>{const _0x215eb4=_0x428e;var _0x399d51;let _0x559ad1=_0x31f450[_0x215eb4(0x32e)]();if(_0x559ad1[_0x215eb4(0x393)]!==0x1){_0x1b39af[_0x215eb4(0x38b)](!0x0);return;}let _0x2a2124=_0x559ad1[0x0];_0x1b39af['next'](((_0x399d51=_0x31f450[_0x215eb4(0x3a0)](_0x2a2124))==null?void 0x0:_0x399d51[_0x215eb4(0x571)]['type'])!==_0x16fba9['Table']);},_0x4cce4b=_0x31f450[_0x444d86(0x657)]['subscribe'](_0x3d7918);return _0x3d7918(),()=>_0x4cce4b['unsubscribe']();})};}const wd={[_0x5a1751[_0x5defcf(0x1a6)]]:{[_0xc69295[_0x5defcf(0x3ab)]]:{[xd]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x5},'menuItemFactory':_0x133ada(Sd)}}},[_0x1d870a[_0x5defcf(0x6dc)]]:{[_0x1c7b87[_0x5defcf(0x20c)]]:{[uo['id']]:{'order':0x5,'menuItemFactory':_0x133ada(Cd)}}},[_0x2aba4b[_0x5defcf(0x1e6)]]:{'slide-table.contextMenu.cell':{'order':0x17,[_0x1c7b87['LAYOUT']]:{'order':0x0,[td]:{'order':0x0,'menuItemFactory':_0x133ada(id),'slide-table.menu.insert-row-above':{'order':0x0,'menuItemFactory':_0x133ada(ud)},'slide-table.menu.insert-row-below':{'order':0x1,'menuItemFactory':_0x133ada(dd)},'slide-table.menu.insert-column-left':{'order':0x2,'menuItemFactory':_0x133ada(fd)},'slide-table.menu.insert-column-right':{'order':0x3,'menuItemFactory':_0x133ada(pd)}},[nd]:{'order':0x1,'menuItemFactory':_0x133ada(od),'slide-table.menu.delete-rows':{'order':0x0,'menuItemFactory':_0x133ada(md)},'slide-table.menu.delete-columns':{'order':0x1,'menuItemFactory':_0x133ada(hd)}},'slide-table.menu.merge-cells':{'order':0x2,'menuItemFactory':_0x133ada(gd)},'slide-table.menu.unmerge-cells':{'order':0x3,'menuItemFactory':_0x133ada(_d)},[rd]:{'order':0x4,'menuItemFactory':_0x133ada(cd),'slide-table.menu.distribute-rows':{'order':0x0,'menuItemFactory':_0x133ada(vd)},'slide-table.menu.distribute-columns':{'order':0x1,'menuItemFactory':_0x133ada(yd)}}},[_0x1c7b87[_0x5defcf(0x20c)]]:{'order':0x1,[ra['id']]:{'order':0x0,'menuItemFactory':_0x133ada(ld)}}}}},Td={[_0x2aba4b[_0x5defcf(0x670)]]:{[Ru]:{'order':0x65,'contextual':!0x0,'slides-table-ui.ribbon.styles':{'order':0x0,[zu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'width':0x70},'menuItemFactory':_0x133ada(Uu)}},'slides-table-ui.ribbon.cellStyle':{'order':0x1,[Bu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x38},'menuItemFactory':_0x133ada(Wu)}},'slides-table-ui.ribbon.text':{'order':0x2,[Vu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x133ada(Gu)}},'slides-table-ui.ribbon.layout':{'order':0x3,'slide-table.ribbon.insert-row-above':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x133ada(ud)},'slide-table.ribbon.insert-row-below':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x133ada(dd)},'slide-table.ribbon.insert-column-left':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x133ada(fd)},'slide-table.ribbon.insert-column-right':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x133ada(pd)},'slide-table.ribbon.merge-cells':{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x133ada(gd)},'slide-table.ribbon.unmerge-cells':{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x133ada(_d)},'slide-table.ribbon.distribute-rows':{'order':0x6,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x133ada(vd)},'slide-table.ribbon.distribute-columns':{'order':0x7,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x133ada(yd)}},'slides-table-ui.ribbon.arrange':{'order':0x4,'slide-table.ribbon.arrange-forward':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x133ada(Xu)},'slide-table.ribbon.arrange-backward':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x133ada(Zu)},'slide-table.ribbon.arrange-front':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x133ada(Qu)},'slide-table.ribbon.arrange-back':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x133ada($u)}},'slides-table-ui.ribbon.panel':{'order':0x5,[nd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x133ada(sd),[ra['id']]:{'order':0x0,'menuItemFactory':_0x133ada(ld)}},[po['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':Ku}}}}},Ed=_0x5defcf(0x5dd);let Dd=class extends _0x5c53fd{constructor(_0x1af3fc,_0x203f75,_0x10fb1b,_0x4dbfca,_0x14c755,_0x28f8c1,_0x208e27,_0x2d618a){const _0x27e8c8=_0x5defcf;super(),this['_menuManagerService']=_0x1af3fc,this[_0x27e8c8(0x4c9)]=_0x203f75,this[_0x27e8c8(0x46f)]=_0x10fb1b,this['_slideDrawingService']=_0x4dbfca,this[_0x27e8c8(0x6cc)]=_0x14c755,this[_0x27e8c8(0x21c)]=_0x28f8c1,this[_0x27e8c8(0x5e8)]=_0x208e27,this['_embedMountService']=_0x2d618a,q(this,_0x27e8c8(0x47b),!0x1),this[_0x27e8c8(0x5c8)][_0x27e8c8(0x680)](Td),this['_listenSelection']();}[_0x5defcf(0x2c2)](){const _0xa3d60c=_0x5defcf;this[_0xa3d60c(0x6cc)]['setFallbackVisible'](!0x1,Ed),this[_0xa3d60c(0x347)](),super[_0xa3d60c(0x2c2)]();}['_listenSelection'](){const _0x38c481=_0x5defcf;this[_0x38c481(0x40f)](_0x2123f0(this['_slideDrawingStateService'][_0x38c481(0x6c7)][_0x38c481(0x533)](_0x593595=>{const _0x1d64df=_0x38c481;var _0x5106d3;if(!this[_0x1d64df(0x1db)](_0x593595)||this['_isActiveFloatingEmbedHostSelection'](_0x593595)){this[_0x1d64df(0x6cc)][_0x1d64df(0x35c)](!0x1,Ed),this[_0x1d64df(0x347)]();return;}let _0x12ba37=(_0x5106d3=_0x593595[_0x1d64df(0x278)])==null?void 0x0:_0x5106d3[_0x1d64df(0x379)];if(_0x12ba37&&this[_0x1d64df(0x304)](_0x12ba37)){this[_0x1d64df(0x6cc)]['setFallbackVisible'](!0x0,Ed),this[_0x1d64df(0x347)]();return;}this[_0x1d64df(0x6cc)][_0x1d64df(0x35c)](!0x1,Ed),this[_0x1d64df(0x47b)]||(this[_0x1d64df(0x47b)]=!0x0,this[_0x1d64df(0x4c9)][_0x1d64df(0x5db)](Ru,{'activate':!0x0}));})));}['_isSingleTableSelection'](_0x35b461){const _0x43138e=_0x5defcf;var _0x59a725;let _0x561078=_0x35b461[_0x43138e(0x278)];return!_0x561078||_0x35b461[_0x43138e(0x625)]['length']!==0x1?!0x1:((_0x59a725=this['_slideDrawingService'][_0x43138e(0x3a0)]({'unitId':_0x561078[_0x43138e(0x379)],'subUnitId':_0x561078[_0x43138e(0x6b4)],'drawingId':_0x35b461[_0x43138e(0x625)][0x0]}))==null?void 0x0:_0x59a725['element'][_0x43138e(0x495)])===_0x16fba9[_0x43138e(0x3f9)];}[_0x5defcf(0x4fe)](_0x4c89b9){const _0x2d9744=_0x5defcf;var _0x59961e,_0x426753;let _0x472149=(_0x59961e=this[_0x2d9744(0x21c)])==null?void 0x0:_0x59961e[_0x2d9744(0x1e9)](),_0x517952=(_0x426753=this[_0x2d9744(0x5e8)])==null?void 0x0:_0x426753[_0x2d9744(0x2f9)]();return(_0x472149==null?void 0x0:_0x472149[_0x2d9744(0x44d)])===_0x4c89b9&&(_0x517952==null?void 0x0:_0x517952['childUnitId'])===_0x4c89b9&&_0x517952[_0x2d9744(0x201)]===_0x2d9744(0x515);}['_isIsolatedEmbedChildSelection'](_0x2863d4){const _0x1e28c8=_0x5defcf;var _0x457696;return this[_0x1e28c8(0x4fe)](_0x2863d4)?!0x0:((_0x457696=this[_0x1e28c8(0x517)])==null?void 0x0:_0x457696['listSessions']()[_0x1e28c8(0x638)](_0x2efc34=>_0x2efc34['childUnitId']===_0x2863d4&&_0x2efc34[_0x1e28c8(0x69d)]!==_0x1e28c8(0x2d2)))??!0x1;}[_0x5defcf(0x58b)](_0x3dffe1){const _0x433c2a=_0x5defcf;var _0x5eface,_0x56cff1,_0x49dd95,_0x2360e5;let _0x19bf6d=(_0x5eface=this['_embedFloatingActiveService'])==null?void 0x0:_0x5eface[_0x433c2a(0x2f9)]();if(!_0x19bf6d||_0x19bf6d[_0x433c2a(0x201)]===_0x433c2a(0x5ae)||((_0x56cff1=_0x3dffe1[_0x433c2a(0x278)])==null?void 0x0:_0x56cff1['unitId'])!==_0x19bf6d[_0x433c2a(0x468)]||_0x3dffe1['selectedIds'][_0x433c2a(0x393)]!==0x1)return!0x1;let _0x3ad374=(_0x49dd95=this[_0x433c2a(0x517)])==null?void 0x0:_0x49dd95[_0x433c2a(0x28e)]()[_0x433c2a(0x461)](_0x5017f6=>_0x5017f6[_0x433c2a(0x468)]===_0x19bf6d[_0x433c2a(0x468)]&&_0x5017f6[_0x433c2a(0x682)]===_0x19bf6d[_0x433c2a(0x682)]&&_0x5017f6[_0x433c2a(0x44d)]===_0x19bf6d[_0x433c2a(0x44d)]),_0xd2bf9a=_0x3ad374==null||(_0x2360e5=_0x3ad374['context'])==null?void 0x0:_0x2360e5[_0x433c2a(0x3d0)][_0x433c2a(0x567)];return!!_0xd2bf9a&&_0x3dffe1[_0x433c2a(0x625)][0x0]===_0xd2bf9a;}['_hideTableDesignTab'](){const _0xdd5f1a=_0x5defcf;this['_tableDesignVisible']&&(this[_0xdd5f1a(0x47b)]=!0x1,this[_0xdd5f1a(0x4c9)]['hideContextualTab'](Ru),this[_0xdd5f1a(0x4c9)][_0xdd5f1a(0x568)]([]));}};Dd=Ha([Q(0x0,_0x2f0348),Q(0x1,_0x52937d),Q(0x2,_0x41ffca(_0x2f1910)),Q(0x3,_0x41ffca(_0x462a1f)),Q(0x4,_0x41ffca(fo)),Q(0x5,_0x6a14ff(_0xf48ebd)),Q(0x6,_0x6a14ff(_0x17057f)),Q(0x7,_0x6a14ff(_0x2b3ff))],Dd);let Od=class extends _0x5c53fd{constructor(_0x50cea5,_0x20a210){const _0x5c2ae4=_0x5defcf;super(),this[_0x5c2ae4(0x72d)]=_0x50cea5,this[_0x5c2ae4(0x4ed)]=_0x20a210,this['disposeWithMe'](this['_refreshRegistry'][_0x5c2ae4(0x5ce)]((_0x4429a0,_0x5d305c)=>{const _0x37e53e=_0x5c2ae4;var _0xba4116;if(_0x4429a0['id']!==_0x3d940b['id'])return!0x1;let _0x57a671=_0x4429a0['params'],_0x2c4101=_0x57a671==null||(_0xba4116=_0x57a671[_0x37e53e(0x690)])==null?void 0x0:_0xba4116['id'];if((_0x57a671==null?void 0x0:_0x57a671[_0x37e53e(0x379)])!==_0x5d305c[_0x37e53e(0x379)]||!_0x2c4101)return!0x1;let _0x595992=this['_slideDrawingService'][_0x37e53e(0x68d)](_0x5d305c['unitId'],_0x5d305c[_0x37e53e(0x6b4)]);return Object[_0x37e53e(0x267)](_0x595992)[_0x37e53e(0x638)](_0x44abe9=>_0x44abe9[_0x37e53e(0x571)][_0x37e53e(0x495)]===_0x16fba9['Table']&&_0x44abe9[_0x37e53e(0x571)][_0x37e53e(0x6a7)]===_0x2c4101);}));}};Od=Ha([Q(0x0,_0x462a1f),Q(0x1,_0x41ffca(_0x213f69))],Od);let kd=class extends _0x410129{constructor(_0x2a8e81,_0x3ab1c4,_0x4bbee6,_0x5aede1){const _0x58c5e8=_0x5defcf;super(),this['_localeService']=_0x2a8e81,this['_themeService']=_0x3ab1c4,this[_0x58c5e8(0x236)]=_0x4bbee6,this['_tableResourceService']=_0x5aede1,q(this,_0x58c5e8(0x3e3),0x9);}[_0x5defcf(0x2e6)](_0x2dd02b){const _0x5d9775=_0x5defcf;return _0x2dd02b[_0x5d9775(0x571)][_0x5d9775(0x495)]===_0x16fba9['Table'];}[_0x5defcf(0x492)](_0x5c9850,_0x31a421){const _0x35ba38=_0x5defcf;if(_0x5c9850[_0x35ba38(0x3f5)]||_0x5c9850['element'][_0x35ba38(0x495)]!==_0x16fba9[_0x35ba38(0x3f9)])return null;let _0x17a420=_0x5c9850['element'],_0x5b5e9b=_0x17a420['transform'],_0x24b7d2=_0x35ba38(0x2c1)+_0x31a421[_0x35ba38(0x379)]+'-'+_0x31a421[_0x35ba38(0x6b4)]+'-'+_0x5c9850[_0x35ba38(0x1ba)],_0x2563e9=this['_resolveTableSnapshot'](_0x31a421[_0x35ba38(0x379)],_0x17a420),_0x35b558=this[_0x35ba38(0x599)][_0x35ba38(0x4bb)](_0x31a421[_0x35ba38(0x379)]),_0x2ae8fb={'controlButtonMode':_0x35ba38(0x26d),'left':_0x31a421[_0x35ba38(0x348)]+(_0x5b5e9b['left']??0x0),'top':_0x31a421[_0x35ba38(0x373)]+(_0x5b5e9b[_0x35ba38(0x5ee)]??0x0),'width':_0x5b5e9b[_0x35ba38(0x58e)]??0x0,'height':_0x5b5e9b[_0x35ba38(0x65e)]??0x0,'angle':_0x5b5e9b[_0x35ba38(0x5f6)]??0x0,'flipX':_0x5b5e9b[_0x35ba38(0x588)],'flipY':_0x5b5e9b[_0x35ba38(0x6e0)],'skewX':_0x5b5e9b[_0x35ba38(0x1d2)],'skewY':_0x5b5e9b['skewY'],'zIndex':_0x31a421[_0x35ba38(0x674)],'visible':!_0x5c9850[_0x35ba38(0x3f5)],'evented':!0x0,'imageIoService':this[_0x35ba38(0x236)],'localeService':this[_0x35ba38(0x254)],'tableThemes':_0x35b558==null?void 0x0:_0x35b558[_0x35ba38(0x299)],'tableThemePalette':_0x27e190(_0x1cc27b=>this[_0x35ba38(0x462)][_0x35ba38(0x6d8)](_0x1cc27b)),'themeService':this[_0x35ba38(0x462)]};return _0x2563e9&&(_0x2ae8fb['table']=_0x2563e9),new Il(_0x24b7d2,_0x2ae8fb);}[_0x5defcf(0x1e1)](_0x5dce93,_0x471907){const _0x4da44e=_0x5defcf;let _0x4fb7df=Ad(_0x471907),_0x2b6394=jd(_0x4fb7df==null?void 0x0:_0x4fb7df[_0x4da44e(0x6a7)]),_0x1c412c=_0x2b6394?this['_tableResourceService'][_0x4da44e(0x2aa)](_0x5dce93,_0x2b6394):void 0x0;if(_0x1c412c){let _0x12a171=_0x118830(_0x1c412c,{'id':_0x2b6394,'rowCount':0x3,'columnCount':0x3});if(_0x12a171)return _0x12a171;}let _0x2f7e5e=Ad(_0x4fb7df==null?void 0x0:_0x4fb7df[_0x4da44e(0x554)]),_0x3df8fe=_0x2b6394??jd(_0x4fb7df==null?void 0x0:_0x4fb7df['id']),_0x52e157=[_0x4fb7df==null?void 0x0:_0x4fb7df[_0x4da44e(0x690)],_0x2f7e5e==null?void 0x0:_0x2f7e5e['table'],_0x2f7e5e==null?void 0x0:_0x2f7e5e['slideTable'],_0x2f7e5e==null?void 0x0:_0x2f7e5e[_0x4da44e(0x4b5)],_0x4fb7df];for(let _0x3e73ad of _0x52e157){let _0xce1bdd=_0x118830(_0x3e73ad,{'id':_0x3df8fe});if(_0xce1bdd)return _0xce1bdd;}}};kd=Ha([Q(0x0,_0x41ffca(_0x494027)),Q(0x1,_0x41ffca(_0x59fee4)),Q(0x2,_0x1316c1),Q(0x3,_0x41ffca(_0x161eee))],kd);function Ad(_0x9d40c8){const _0x25b8e9=_0x5defcf;return _0x9d40c8&&typeof _0x9d40c8==_0x25b8e9(0x583)&&!Array[_0x25b8e9(0x221)](_0x9d40c8)?_0x9d40c8:void 0x0;}function jd(_0x345458){return typeof _0x345458=='string'&&_0x345458['trim']()?_0x345458:void 0x0;}function Md(_0x20c574){const _0x2d8056=_0x5defcf;return _0x20c574[_0x2d8056(0x495)]===_0x16fba9[_0x2d8056(0x3f9)];}let Nd=class{constructor(_0xb5be1f,_0x4578de){const _0x5ad3cb=_0x5defcf;this[_0x5ad3cb(0x2e1)]=_0xb5be1f,this[_0x5ad3cb(0x3bc)]=_0x4578de,q(this,'key','slide-table');}[_0x5defcf(0x4dc)](_0x2b40b8){const _0x4e4086=_0x5defcf;if(_0x2b40b8[_0x4e4086(0x211)]===_0x4e4086(0x323)){let _0x56ace9=Id(_0x2b40b8['data']);return _0x56ace9?this[_0x4e4086(0x3bc)]['insertTableSnapshot'](Ld(_0x56ace9)):!0x1;}let _0x4639fc=_0x169fee(_0x2b40b8['data']);if(!_0x4639fc)return!0x1;let _0x281358=_0x2648ac(_0x4639fc);return this[_0x4e4086(0x3bc)][_0x4e4086(0x344)](Ld(_0x281358));}['collect'](_0x25bf0e){const _0x104953=_0x5defcf;let _0x2403c9={},_0x455f5e={},_0x1d51f3={};return _0x25bf0e[_0x104953(0x1b3)][_0x104953(0x4df)](_0x492f9b=>{const _0x587f0f=_0x104953;if(!Md(_0x492f9b))return;let _0x1d6ea8=this[_0x587f0f(0x2e1)][_0x587f0f(0x2aa)](_0x25bf0e['unitId'],_0x492f9b[_0x587f0f(0x6a7)]);if(_0x1d6ea8&&(_0x2403c9[_0x1d6ea8['id']]=_0xdc70f2[_0x587f0f(0x597)](_0x1d6ea8),_0x1d51f3[_0x492f9b['id']]=_0x1d6ea8['id'],_0x1d6ea8[_0x587f0f(0x693)])){let _0x349224=this[_0x587f0f(0x2e1)]['getTheme'](_0x25bf0e[_0x587f0f(0x379)],_0x1d6ea8[_0x587f0f(0x693)]);_0x349224&&(_0x455f5e[_0x349224['id']]=_0xdc70f2[_0x587f0f(0x597)](_0x349224));}}),Object[_0x104953(0x64a)](_0x2403c9)[_0x104953(0x393)]===0x0?null:{'tables':_0x2403c9,'themes':_0x455f5e,'tableIdByElementId':_0x1d51f3};}['serialize'](_0x2c9b0a){const _0x2705ae=_0x5defcf;let _0x4a44ce=_0x2c9b0a[_0x2705ae(0x1b3)][_0x2705ae(0x439)](Md)['map'](_0x590cfe=>this[_0x2705ae(0x2e1)][_0x2705ae(0x2aa)](_0x2c9b0a['unitId'],_0x590cfe[_0x2705ae(0x6a7)]))[_0x2705ae(0x439)](_0x2aa2aa=>_0x2aa2aa!==void 0x0);return _0x4a44ce[_0x2705ae(0x393)]>0x0?{'html':_0x4a44ce[_0x2705ae(0x295)](Hd)['join'](_0x2705ae(0x70c)),'plainText':_0x4a44ce['map'](Vd)[_0x2705ae(0x1d7)]('\x0a')}:null;}[_0x5defcf(0x660)](_0x19e383){const _0x5412ef=_0x5defcf;if(!Pd(_0x19e383[_0x5412ef(0x1e0)]))return null;let _0x336035=_0x19e383[_0x5412ef(0x1e0)],_0x508f66=new Map();_0x19e383[_0x5412ef(0x400)][_0x5412ef(0x4df)]((_0x6a6093,_0x18ccde)=>_0x508f66['set'](_0x6a6093,_0x18ccde));let _0x436fa7=new Map(),_0x49f1e3=new Map(),_0x442e57=_0x19e383[_0x5412ef(0x1b3)][_0x5412ef(0x295)](_0x56dc2f=>{const _0x16dc6e=_0x5412ef;if(!Md(_0x56dc2f))return _0x56dc2f;let _0x190139=_0x508f66['get'](_0x56dc2f['id']),_0x4cfd85=_0x190139?_0x336035[_0x16dc6e(0x480)][_0x190139]:void 0x0;if(!_0x4cfd85||!_0x336035[_0x16dc6e(0x3b9)][_0x4cfd85])return _0x56dc2f;let _0x5167c3=_0x436fa7['get'](_0x4cfd85);return _0x5167c3||(_0x5167c3=_0x2b8786(0x6),_0x436fa7[_0x16dc6e(0x3c0)](_0x4cfd85,_0x5167c3)),{..._0x56dc2f,'tableId':_0x5167c3};}),_0x77661d=[];return _0x436fa7[_0x5412ef(0x4df)]((_0x176839,_0x5330ee)=>{const _0x4c6d83=_0x5412ef;let _0x5d4362=_0x336035[_0x4c6d83(0x3b9)][_0x5330ee];if(!_0x5d4362)return;let _0x365c82=_0xdc70f2['deepClone'](_0x5d4362);_0x365c82['id']=_0x176839;let _0x533f6d;if(_0x5d4362[_0x4c6d83(0x693)]){let _0x2299cb=_0x336035['themes'][_0x5d4362[_0x4c6d83(0x693)]];if(_0x2299cb){let _0x4e7bbd=_0x49f1e3[_0x4c6d83(0x621)](_0x2299cb['id']);_0x4e7bbd||(_0x4e7bbd=_0x2faffd(_0x2b8786(0x6),_0x2299cb)['id'],_0x49f1e3['set'](_0x2299cb['id'],_0x4e7bbd)),_0x533f6d={..._0xdc70f2[_0x4c6d83(0x597)](_0x2299cb),'id':_0x4e7bbd},_0x365c82[_0x4c6d83(0x693)]=_0x4e7bbd;}else delete _0x365c82[_0x4c6d83(0x693)];}_0x77661d[_0x4c6d83(0x6e6)]({'table':_0x365c82,'theme':_0x533f6d});}),_0x77661d[_0x5412ef(0x393)]===0x0?null:{'elements':_0x442e57,'redoMutations':_0x77661d[_0x5412ef(0x295)](({table:_0x20e7a5,theme:_0x28821d})=>({'id':_0x3d940b['id'],'params':{'unitId':_0x19e383[_0x5412ef(0x4de)],'table':_0x20e7a5,'theme':_0x28821d}})),'undoMutations':[..._0x77661d]['reverse']()[_0x5412ef(0x295)](({table:_0x32baa2})=>({'id':_0x68d13['id'],'params':{'unitId':_0x19e383[_0x5412ef(0x4de)],'tableId':_0x32baa2['id']}}))};}};Nd=Ha([Q(0x0,_0x41ffca(_0x161eee)),Q(0x1,_0x41ffca(mo))],Nd);function Pd(_0x3d6d94){const _0x5d39cb=_0x5defcf;return!_0x3d6d94||typeof _0x3d6d94!=_0x5d39cb(0x583)?!0x1:'tables'in _0x3d6d94&&Fd(_0x3d6d94[_0x5d39cb(0x3b9)])&&'themes'in _0x3d6d94&&Fd(_0x3d6d94[_0x5d39cb(0x299)])&&_0x5d39cb(0x480)in _0x3d6d94&&Fd(_0x3d6d94[_0x5d39cb(0x480)]);}function Fd(_0x35ca1b){const _0x8079b8=_0x5defcf;return typeof _0x35ca1b==_0x8079b8(0x583)&&!!_0x35ca1b&&!Array[_0x8079b8(0x221)](_0x35ca1b);}function Id(_0x5244db){const _0x5d87db=_0x5defcf;let _0x18e051=new DOMParser()[_0x5d87db(0x4c8)](_0x5244db,_0x5d87db(0x2ba)),_0x49f363=_0x18e051[_0x5d87db(0x66b)]('table');if(_0x49f363[_0x5d87db(0x393)]!==0x1||(_0x49f363[0x0][_0x5d87db(0x532)](),(_0x18e051['body'][_0x5d87db(0x33f)]??'')[_0x5d87db(0x2e9)]()||_0x18e051[_0x5d87db(0x291)][_0x5d87db(0x499)]('img')))return null;let _0x2cec10=_0x2648ac(_0x5244db);return _0x2cec10[_0x5d87db(0x360)][_0x5d87db(0x393)]>0x0&&_0x2cec10[_0x5d87db(0x611)][_0x5d87db(0x393)]>0x0?_0x2cec10:null;}function Ld(_0x3531e1){const _0x3902ac=_0x5defcf;let _0x1a7e19=_0x3531e1[_0x3902ac(0x611)][_0x3902ac(0x295)](_0x51f053=>({'width':Bd(_0x51f053??0x64,0x18,0x140)})),_0x42c602=_0x3531e1['rows'][_0x3902ac(0x295)](_0x539580=>({'height':Bd(_0x539580['height']??0x1c,0x14,0xb4),'cells':_0x539580['cells'][_0x3902ac(0x295)](_0xef6058=>Rd(_0xef6058))}));return _0x3531e1[_0x3902ac(0x360)]['forEach']((_0x11b757,_0xf1710a)=>{const _0x3f1fde=_0x3902ac;_0x11b757[_0x3f1fde(0x405)][_0x3f1fde(0x4df)]((_0x33fa13,_0x1a551f)=>{const _0x405b4a=_0x3f1fde;if(_0x33fa13){for(let _0x56db9f=0x0;_0x56db9f<_0x33fa13[_0x405b4a(0x3bb)];_0x56db9f+=0x1)for(let _0x5d065=0x0;_0x5d065<_0x33fa13['colSpan'];_0x5d065+=0x1){var _0x463b05;if(_0x56db9f===0x0&&_0x5d065===0x0)continue;let _0x59ceba=(_0x463b05=_0x42c602[_0xf1710a+_0x56db9f])==null?void 0x0:_0x463b05[_0x405b4a(0x405)][_0x1a551f+_0x5d065];_0x59ceba&&(_0x59ceba[_0x405b4a(0x4a8)]=_0x5d065>0x0,_0x59ceba[_0x405b4a(0x45f)]=_0x56db9f>0x0);}}});}),{'options':{},'columns':_0x1a7e19,'rows':_0x42c602};}function Rd(_0x35491c){const _0x1b54d7=_0x5defcf;if(!_0x35491c)return{};let _0x33c5d3=zd(_0x30df11(_0x35491c[_0x1b54d7(0x323)]))??_0x5a67d9(_0x35491c['text']),_0x4a9a9f=_0x35491c[_0x1b54d7(0x47c)]||_0x35491c[_0x1b54d7(0x191)]?{'color':_0x35491c[_0x1b54d7(0x47c)],'width':_0x35491c['borderWidth'],'dash':_0x599627[_0x1b54d7(0x37a)]}:void 0x0;return{'textData':_0x33c5d3,'rowSpan':_0x35491c[_0x1b54d7(0x3bb)]>0x1?_0x35491c[_0x1b54d7(0x3bb)]:void 0x0,'columnSpan':_0x35491c['colSpan']>0x1?_0x35491c[_0x1b54d7(0x541)]:void 0x0,'style':_0x35491c[_0x1b54d7(0x5c1)]||_0x4a9a9f?{'fill':_0x35491c[_0x1b54d7(0x5c1)]?{'type':_0x772d0f[_0x1b54d7(0x37a)],'color':_0x35491c[_0x1b54d7(0x5c1)]}:void 0x0,'borders':_0x4a9a9f?{'top':_0x4a9a9f,'right':_0x4a9a9f,'bottom':_0x4a9a9f,'left':_0x4a9a9f}:void 0x0}:void 0x0};}function zd(_0x24c5a0){const _0x577032=_0x5defcf;try{var _0x379697;let _0x552c49=_0x41cc18(_0x24c5a0,_0x2b8786(0x6));return(_0x379697=_0x552c49[_0x577032(0x291)])!=null&&_0x379697[_0x577032(0x41f)]?{..._0x552c49,'id':_0x552c49['id']||_0x2b8786(0x6),'body':_0x552c49['body'],'documentStyle':_0x552c49[_0x577032(0x6e1)]??{}}:null;}catch{return null;}}function Bd(_0x544a49,_0x3ba294,_0x18a54f){const _0x3eb904=_0x5defcf;return Math[_0x3eb904(0x4a7)](_0x18a54f,Math[_0x3eb904(0x6bf)](_0x3ba294,_0x544a49));}function Vd(_0x2b7e9e){const _0x624b1f=_0x5defcf;return _0x2b7e9e['rows'][_0x624b1f(0x295)](_0x3b22ad=>_0x3b22ad['cells'][_0x624b1f(0x295)](_0x6f1fac=>_0x6f1fac['hMerge']||_0x6f1fac['vMerge']?'':_0x6f1fac[_0x624b1f(0x1b7)]?_0x5a7f69(_0x6f1fac[_0x624b1f(0x1b7)])[_0x624b1f(0x48c)](/[\t\r\n]+/g,'\x20'):'')[_0x624b1f(0x1d7)]('\x09'))['join']('\x0a');}function Hd(_0x5bb337){const _0x27c5da=_0x5defcf;return _0x27c5da(0x46e)+_0x5bb337[_0x27c5da(0x5ca)][_0x27c5da(0x295)](_0x36912a=>'<col\x20style=\x22width:\x20'+_0x36912a[_0x27c5da(0x58e)]+_0x27c5da(0x696))[_0x27c5da(0x1d7)]('')+_0x27c5da(0x4a5)+_0x5bb337[_0x27c5da(0x360)]['map'](_0x22e0e2=>{const _0x4be535=_0x27c5da;let _0x27a9ec=_0x22e0e2[_0x4be535(0x405)][_0x4be535(0x295)](_0x4c371b=>{const _0x363cab=_0x4be535;if(_0x4c371b[_0x363cab(0x4a8)]||_0x4c371b[_0x363cab(0x45f)])return'';let _0x1fcb86=[_0x4c371b[_0x363cab(0x3bb)]&&_0x4c371b[_0x363cab(0x3bb)]>0x1?_0x363cab(0x397)+_0x4c371b[_0x363cab(0x3bb)]+'\x22':'',_0x4c371b[_0x363cab(0x4c5)]&&_0x4c371b['columnSpan']>0x1?_0x363cab(0x553)+_0x4c371b[_0x363cab(0x4c5)]+'\x22':'',zl(_0x4c371b)][_0x363cab(0x439)](Boolean)[_0x363cab(0x1d7)]('\x20'),_0x16bb9b=_0x4c371b[_0x363cab(0x1b7)]?_0x45c727(_0xdc70f2['deepClone'](_0x4c371b[_0x363cab(0x1b7)])):'';return'<td'+(_0x1fcb86?'\x20'+_0x1fcb86:'')+'>'+_0x16bb9b+_0x363cab(0x642);})[_0x4be535(0x1d7)]('');return _0x4be535(0x4e3)+(_0x22e0e2[_0x4be535(0x65e)]?'\x20style=\x22height:\x20'+_0x22e0e2[_0x4be535(0x65e)]+'px\x22':'')+'>'+_0x27a9ec+_0x4be535(0x509);})[_0x27c5da(0x1d7)]('')+'</tbody></table>';}function Ud(_0x3a00fe,_0x90262c,_0x210749){const _0x46e6c9=_0x5defcf;let _0x33c007=_0x90262c['flatMap'](_0x32a8a9=>_0x32a8a9?[_0x32a8a9[_0x46e6c9(0x582)](_0x3a00fe)]:[]),_0x975708=_0x210749&&typeof ResizeObserver<'u'?new ResizeObserver(_0x3a00fe):null;return _0x210749&&(_0x975708==null||_0x975708[_0x46e6c9(0x38d)](_0x210749)),()=>{const _0x616894=_0x46e6c9;_0x33c007[_0x616894(0x4df)](_0x573064=>_0x573064['unsubscribe']()),_0x975708==null||_0x975708[_0x616894(0x5a8)]();};}function Wd(_0x551557){const _0x107cf2=_0x5defcf;let _0x3efa96=Gd(_0x551557['object'],_0x551557[_0x107cf2(0x690)],_0x551557['selection']),_0x4f4de2=_0x551557[_0x107cf2(0x2e3)][_0x107cf2(0x57b)]*_0x551557[_0x107cf2(0x24c)],_0x102d15=_0x551557[_0x107cf2(0x2e3)][_0x107cf2(0x6c3)]*_0x551557[_0x107cf2(0x24c)],_0x52752b=_0x551557[_0x107cf2(0x5de)][_0x107cf2(0x479)]+(_0x3efa96['centerX']-_0x551557[_0x107cf2(0x5bd)]['x'])*_0x4f4de2,_0x381e80=_0x551557[_0x107cf2(0x5de)]['top']+(_0x3efa96[_0x107cf2(0x5ee)]-_0x551557[_0x107cf2(0x5bd)]['y']-_0x3aad64)*_0x102d15-0x2a-0x5,_0x396a26=(_0x551557['toolbarWidth']??0x2a8)/0x2,_0x2f4c35=0xc+_0x396a26,_0x169ade=Math[_0x107cf2(0x6bf)](_0x2f4c35,_0x551557['viewportWidth']-_0x396a26-0xc);return{'left':Math[_0x107cf2(0x4a7)](Math[_0x107cf2(0x6bf)](_0x2f4c35,_0x52752b),_0x169ade),'top':Math['max'](0xc,_0x381e80)};}function Gd(_0x18f1f3,_0x36ed08,_0x304fe4){const _0x46ee91=_0x5defcf;if(!_0x36ed08||_0x304fe4[_0x46ee91(0x521)]!==_0x46ee91(0x4b9)&&_0x304fe4[_0x46ee91(0x521)]!==_0x46ee91(0x3f1))return{'centerX':_0x18f1f3[_0x46ee91(0x479)]+_0x18f1f3[_0x46ee91(0x58e)]/0x2,'top':_0x18f1f3['top']};let _0x3bc4d2=_0x304fe4[_0x46ee91(0x649)][0x0];if(!_0x3bc4d2)return{'centerX':_0x18f1f3[_0x46ee91(0x479)]+_0x18f1f3[_0x46ee91(0x58e)]/0x2,'top':_0x18f1f3[_0x46ee91(0x5ee)]};let _0x12e7f7=_0x4a84fc(_0x3bc4d2),_0x3f425b=Kd(_0x36ed08[_0x46ee91(0x5ca)][_0x46ee91(0x295)](_0x187e31=>_0x187e31[_0x46ee91(0x58e)]),_0x18f1f3['width'],_0x12e7f7[_0x46ee91(0x3cc)],_0x12e7f7['endColumn']),_0x472ef2=Kd(_0x36ed08[_0x46ee91(0x360)][_0x46ee91(0x295)](_0x252157=>_0x252157[_0x46ee91(0x65e)]??0x18),_0x18f1f3[_0x46ee91(0x65e)],_0x12e7f7[_0x46ee91(0x1d3)],_0x12e7f7[_0x46ee91(0x573)]);return{'centerX':_0x18f1f3['left']+_0x3f425b[_0x46ee91(0x6f2)]+_0x3f425b[_0x46ee91(0x4bf)]/0x2,'top':_0x18f1f3[_0x46ee91(0x5ee)]+_0x472ef2[_0x46ee91(0x6f2)]};}function Kd(_0x4355f1,_0x384634,_0x1e2327,_0x27f5f7){const _0x35acbe=_0x5defcf;let _0x34a216=_0x4355f1[_0x35acbe(0x57e)]((_0x1b8a72,_0x5ce1c1)=>_0x1b8a72+_0x5ce1c1,0x0);if(_0x34a216<=0x0||_0x4355f1[_0x35acbe(0x393)]===0x0)return{'start':0x0,'size':_0x384634};let _0x19c44b=Math[_0x35acbe(0x6bf)](0x0,Math[_0x35acbe(0x4a7)](_0x1e2327,_0x4355f1[_0x35acbe(0x393)]-0x1)),_0x474ab0=Math[_0x35acbe(0x6bf)](_0x19c44b,Math[_0x35acbe(0x4a7)](_0x27f5f7,_0x4355f1[_0x35acbe(0x393)]-0x1)),_0x19a561=_0x4355f1[_0x35acbe(0x313)](0x0,_0x19c44b)[_0x35acbe(0x57e)]((_0x52f94d,_0x907b17)=>_0x52f94d+_0x907b17,0x0),_0x1a4e94=_0x4355f1[_0x35acbe(0x313)](_0x19c44b,_0x474ab0+0x1)['reduce']((_0x1a7a9e,_0x3a7b1e)=>_0x1a7a9e+_0x3a7b1e,0x0);return{'start':_0x19a561/_0x34a216*_0x384634,'size':_0x1a4e94/_0x34a216*_0x384634};}function qd(_0x2ccc3e,_0x42e94b=0x2a8){const _0x216924=_0x5defcf;let _0x129357=_0x41e5c1(J),_0x5311f1=_0x41e5c1(_0x161eee),_0x13a7a8=_0x41e5c1(_0x51671c),_0x207f6f=_0x41e5c1(_0x49825b),_0x503169=_0x41e5c1(_0x494027),_0xef50e1=_0x45a1ca(_0x503169[_0x216924(0x54f)],_0x503169[_0x216924(0x5b4)]()),_0xf90bbf=_0x41e5c1(_0x59fee4),_0x307887=_0x41e5c1(_0x47dc4d),_0x1b549d=_0x45a1ca(_0x129357[_0x216924(0x217)],null);_0x45a1ca(_0x307887['tableChange$']);let [_0x442f22,_0x38537f]=_0x504879(null),[_0x4808ec,_0x2cfc53]=_0x504879({'selectionKey':null,'value':null}),_0x19710a=_0x20984c(()=>{const _0x1433ca=_0x216924;_0x129357[_0x1433ca(0x4ca)]();},[_0x129357]),_0x2cfd3f=!_0x2ccc3e||!_0x1b549d||_0x1b549d['kind']===_0x216924(0x590)||!_0x1b549d[_0x216924(0x649)][_0x216924(0x393)]?null:_0x1b549d,_0x422f37=_0x2cfd3f?[_0x2cfd3f[_0x216924(0x379)],_0x2cfd3f[_0x216924(0x6b4)],_0x2cfd3f[_0x216924(0x60f)],_0x2cfd3f['tableId'],...Object[_0x216924(0x267)](_0x2cfd3f[_0x216924(0x649)][0x0]??{})]['join']('|'):null,_0x4ff72c=_0x4808ec['selectionKey']===_0x422f37?_0x4808ec['value']:null,_0xeeaf66=_0x20984c(()=>{const _0x255d9f=_0x216924;var _0x2becc7,_0x5a04d2,_0x272bdf,_0x108f1a,_0x230d7a;if(!_0x2cfd3f){_0x38537f(null);return;}let _0x301ae9=_0x207f6f[_0x255d9f(0x5f2)](_0x2cfd3f[_0x255d9f(0x379)]),_0x3353d2=_0x301ae9==null?void 0x0:_0x301ae9[_0x255d9f(0x667)],_0x56783c=_0x3353d2==null?void 0x0:_0x3353d2[_0x255d9f(0x2f7)](_0x1a21b4(_0x2cfd3f[_0x255d9f(0x379)],_0x2cfd3f['subUnitId'],_0x2cfd3f[_0x255d9f(0x60f)]));if(!_0x3353d2||!_0x56783c){_0x38537f(null);return;}let _0x2ba41e=_0x301ae9==null||(_0x2becc7=_0x301ae9[_0x255d9f(0x618)])==null||(_0x5a04d2=_0x2becc7['getCanvasElement'])==null?void 0x0:_0x5a04d2[_0x255d9f(0x283)](_0x2becc7),_0x102ded=(_0x2ba41e==null||(_0x272bdf=_0x2ba41e['getBoundingClientRect'])==null?void 0x0:_0x272bdf[_0x255d9f(0x283)](_0x2ba41e))??{'left':0x0,'top':0x0,'width':0x0},_0x1a9428=_0x299ed1((_0x2ba41e==null?void 0x0:_0x2ba41e[_0x255d9f(0x242)][_0x255d9f(0x58e)])??''),_0x31279c=_0x1a9428>0x0?_0x102ded[_0x255d9f(0x58e)]/_0x1a9428:0x1,_0x5e7f17=((_0x108f1a=_0x3353d2['getAncestorScale'])==null?void 0x0:_0x108f1a[_0x255d9f(0x283)](_0x3353d2))??{'scaleX':0x1,'scaleY':0x1},_0x57679b=(_0x230d7a=_0x3353d2[_0x255d9f(0x349)])==null?void 0x0:_0x230d7a[_0x255d9f(0x283)](_0x3353d2,_0xf9397b),_0xbdacf3=_0x5311f1['getTable'](_0x2cfd3f['unitId'],_0x2cfd3f[_0x255d9f(0x6a7)]);_0x38537f(Wd({'canvasRect':_0x102ded,'canvasScale':_0x31279c,'object':_0x56783c,'scale':_0x5e7f17,'scroll':{'x':(_0x57679b==null?void 0x0:_0x57679b[_0x255d9f(0x6fe)])??0x0,'y':(_0x57679b==null?void 0x0:_0x57679b[_0x255d9f(0x3e9)])??0x0},'selection':_0x2cfd3f,'table':_0xbdacf3,'viewportWidth':window[_0x255d9f(0x4da)],'toolbarWidth':_0x42e94b}));},[_0x42e94b,_0x207f6f,_0x5311f1,_0x2cfd3f]);_0x2f2258(()=>{const _0xf2f0eb=_0x216924;var _0x37a9a8;let _0x3da563=requestAnimationFrame(_0xeeaf66);if(!_0x2cfd3f)return()=>cancelAnimationFrame(_0x3da563);let _0x32c72f=_0x207f6f[_0xf2f0eb(0x5f2)](_0x2cfd3f[_0xf2f0eb(0x379)]),_0x1f7813=_0x32c72f==null?void 0x0:_0x32c72f['scene'],_0x31aa3b=_0x1f7813==null?void 0x0:_0x1f7813[_0xf2f0eb(0x2f7)](_0x1a21b4(_0x2cfd3f[_0xf2f0eb(0x379)],_0x2cfd3f[_0xf2f0eb(0x6b4)],_0x2cfd3f[_0xf2f0eb(0x60f)])),_0x95b656=Ud(_0xeeaf66,[_0x32c72f==null?void 0x0:_0x32c72f['engine'][_0xf2f0eb(0x4d8)],_0x1f7813==null?void 0x0:_0x1f7813['onTransformChange$'],_0x31aa3b==null?void 0x0:_0x31aa3b[_0xf2f0eb(0x4d8)],_0x1f7813==null||(_0x37a9a8=_0x1f7813[_0xf2f0eb(0x349)](_0xf9397b))==null?void 0x0:_0x37a9a8[_0xf2f0eb(0x6e7)]],_0x32c72f==null?void 0x0:_0x32c72f[_0xf2f0eb(0x618)]['getCanvasElement']());return window['addEventListener'](_0xf2f0eb(0x21e),_0xeeaf66),()=>{const _0x2f9c2f=_0xf2f0eb;cancelAnimationFrame(_0x3da563),_0x95b656(),window['removeEventListener'](_0x2f9c2f(0x21e),_0xeeaf66);};},[_0xeeaf66,_0x207f6f,_0x2cfd3f]);let _0x36af0d=_0x2cfd3f?_0x5311f1[_0x216924(0x2aa)](_0x2cfd3f['unitId'],_0x2cfd3f[_0x216924(0x6a7)]):null,_0x34f4a1=ns(_0x36af0d,_0x2cfd3f),_0x9837db=_0x34f4a1[_0x216924(0x267)],_0x1075fb=_0x20984c(_0xde1866=>{const _0x42b7c3=_0x216924;if(!_0x2cfd3f)return;let _0x3f78d6=_0x2cfd3f[_0x42b7c3(0x649)][0x0],_0x5617ab=_0x5311f1['getTable'](_0x2cfd3f[_0x42b7c3(0x379)],_0x2cfd3f['tableId']);_0x3f78d6&&_0x5617ab&&_0x13a7a8[_0x42b7c3(0x38f)](_0x296a89['id'],{'unitId':_0x2cfd3f[_0x42b7c3(0x379)],'tableId':_0x2cfd3f[_0x42b7c3(0x6a7)],'patch':_0xde1866(_0x5617ab,_0x3f78d6)});},[_0x13a7a8,_0x5311f1,_0x2cfd3f]),_0x249214=_0x20984c(_0x3be8be=>{const _0x158ebe=_0x216924;_0x2cfd3f&&_0x13a7a8[_0x158ebe(0x38f)](_0x296a89['id'],{'unitId':_0x2cfd3f[_0x158ebe(0x379)],'tableId':_0x2cfd3f[_0x158ebe(0x6a7)],'patch':{'styleId':_0x3be8be}});},[_0x13a7a8,_0x2cfd3f]),_0x152096=_0x20984c(_0x293ea9=>{const _0xc5cfb1=_0x216924;_0x2cfd3f&&_0x13a7a8[_0xc5cfb1(0x38f)](_0x296a89['id'],{'unitId':_0x2cfd3f[_0xc5cfb1(0x379)],'tableId':_0x2cfd3f[_0xc5cfb1(0x6a7)],'patch':{'options':_0x293ea9}});},[_0x13a7a8,_0x2cfd3f]),_0x1b9f2f=_0x20984c((_0x418374,_0x532fbc)=>{_0x2cfc53({'selectionKey':_0x422f37,'value':_0x532fbc?_0x418374:null});},[_0x422f37]);return{'selectionService':_0x129357,'commandService':_0x13a7a8,'localeService':_0x503169,'direction':_0xef50e1,'position':_0x442f22,'visibleSelection':_0x2cfd3f,'table':_0x36af0d,'firstCellValues':_0x9837db,'toolbarState':_0x34f4a1,'tableThemePalette':_0x33f933(()=>_0x27e190(_0x9a7629=>_0xf90bbf['getColorFromTheme'](_0x9a7629)),[_0xf90bbf]),'applyPatch':_0x1075fb,'applyTableTheme':_0x249214,'applyTableLook':_0x152096,'handleDropdownOpenChange':_0x1b9f2f,'markTableInternalInteraction':_0x19710a,'openDropdown':_0x4ff72c};}function Jd(){const _0x5826c3=_0x5defcf;let _0x317f87=_0x41e5c1(fo),{commandService:_0x4691f5,localeService:_0xb8dcb9,direction:_0x15b286,position:_0x3b7d72,visibleSelection:_0x3af203,table:_0xf25d47,firstCellValues:_0xa42561,toolbarState:_0x1eefa5,tableThemePalette:_0x50ce02,applyPatch:_0x625020,applyTableTheme:_0x471de4,applyTableLook:_0x12494c,handleDropdownOpenChange:_0x14180a,markTableInternalInteraction:_0x3cc5e3,openDropdown:_0x1c8710}=qd(_0x45a1ca(_0x317f87[_0x5826c3(0x481)],_0x317f87[_0x5826c3(0x535)]()));if(!_0x3af203||!_0x3b7d72||!_0xf25d47)return null;let _0x1ca12c={'left':_0x3b7d72[_0x5826c3(0x479)],'top':_0x3b7d72[_0x5826c3(0x5ee)],'width':_0x5826c3(0x4f5),'maxWidth':'min(760px,\x20calc(100vw\x20-\x2024px))','minHeight':0x2a,'transform':_0x5826c3(0x272),'zIndex':0x2742},_0x46cd35=[{'labelKey':_0x5826c3(0x28f),'value':_0x4918fc['LEFT'],'icon':_0x455c20(_0x9e03d4,{})},{'labelKey':_0x5826c3(0x2a1),'value':_0x4918fc[_0x5826c3(0x5a4)],'icon':_0x455c20(_0x15fb00,{})},{'labelKey':_0x5826c3(0x57d),'value':_0x4918fc[_0x5826c3(0x1d0)],'icon':_0x455c20(_0x47272f,{})},{'labelKey':'slides-table-ui.editorToolbar.alignJustify','value':_0x4918fc[_0x5826c3(0x5f1)],'icon':_0x455c20(_0x488b64,{})}],_0x959d2e=[{'labelKey':_0x5826c3(0x292),'value':_0x9c0db6[_0x5826c3(0x64d)],'icon':_0x455c20(_0x406144,{})},{'labelKey':_0x5826c3(0x413),'value':_0x9c0db6['MIDDLE'],'icon':_0x455c20(_0x4afd92,{})},{'labelKey':'slides-table-ui.editorToolbar.alignBottom','value':_0x9c0db6[_0x5826c3(0x29b)],'icon':_0x455c20(_0x4b47f3,{})}],_0x873af0=_0x3af203[_0x5826c3(0x649)][0x0],_0x51f56a=_0x1eefa5[_0x5826c3(0x3d4)],_0x27e968=is(_0xf25d47,_0x3af203),_0x1f3d73=(_0x27e968==null?void 0x0:_0x27e968['kind'])===_0x5826c3(0x4b9)?_0xb8dcb9['t'](_0x5826c3(0x6e8)):(_0x27e968==null?void 0x0:_0x27e968[_0x5826c3(0x521)])===_0x5826c3(0x3f1)?_0xb8dcb9['t'](_0x5826c3(0x26f)):null,_0x54a015=()=>{const _0x2e9a9c=_0x5826c3;_0x27e968&&_0x4691f5['executeCommand'](_0x27e968[_0x2e9a9c(0x595)],_0x27e968[_0x2e9a9c(0x4f6)]);},_0x2cd8c7=(_0x51f56a==null?void 0x0:_0x51f56a['action'])===_0x5826c3(0x59a)?_0xb8dcb9['t']('slides-table-ui.editorToolbar.unmergeCells'):(_0x51f56a==null?void 0x0:_0x51f56a[_0x5826c3(0x3f4)])===_0x5826c3(0x6f4)?_0xb8dcb9['t']('slides-table-ui.editorToolbar.mergeCells'):null,_0x5e5311=()=>{const _0x4bd8b4=_0x5826c3;let _0x39aafe=rs(_0x3af203,(_0x51f56a==null?void 0x0:_0x51f56a['action'])??null,(_0x51f56a==null?void 0x0:_0x51f56a[_0x4bd8b4(0x483)])??_0x873af0??null);_0x39aafe&&_0x4691f5[_0x4bd8b4(0x38f)](_0x39aafe[_0x4bd8b4(0x595)],_0x39aafe[_0x4bd8b4(0x4f6)]);};return _0x30f958('div',{'data-u-comp':_0x5826c3(0x3ae),'role':_0x5826c3(0x699),'className':_0x34395c(_0x5826c3(0x27e),_0x2e4a4b),'dir':_0x15b286,'style':{..._0x1ca12c,'direction':_0x15b286},'onMouseDownCapture':_0x3cc5e3,'onPointerDownCapture':_0x3cc5e3,'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x27e968&&_0x1f3d73?_0x30f958(_0x149616,{'children':[_0x455c20(ys,{'children':_0x455c20(bs,{'data-toolbar-item':_0x27e968['kind']===_0x5826c3(0x4b9)?_0x5826c3(0x207):'delete-column','title':_0x1f3d73,'onClick':_0x54a015,'children':_0x455c20(_0x14a244,{})})}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)})]}):null,_0x2cd8c7?_0x30f958(_0x149616,{'children':[_0x455c20(ys,{'children':_0x455c20(bs,{'data-toolbar-item':_0x5826c3(0x198),'title':_0x2cd8c7,'onClick':_0x5e5311,'children':(_0x51f56a==null?void 0x0:_0x51f56a[_0x5826c3(0x3f4)])===_0x5826c3(0x59a)?_0x455c20(_0x519ea5,{}):_0x455c20(_0x109256,{})})}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)})]}):null,_0x30f958(ys,{'children':[_0x455c20(ss,{'color':_0xa42561['backgroundColor'],'value':Mo(_0xa42561[_0x5826c3(0x679)]),'gradientValue':Io(_0xa42561[_0x5826c3(0x679)],_0xa42561[_0x5826c3(0x5c1)]),'previewStyle':Ro(_0xa42561[_0x5826c3(0x679)],_0xa42561[_0x5826c3(0x5c1)]),'showPreview':!0x1,'tableFill':_0xa42561[_0x5826c3(0x679)],'mixed':!!_0xa42561[_0x5826c3(0x636)]['backgroundFill'],'open':_0x1c8710===_0x5826c3(0x1a3),'onOpenChange':_0x578739=>_0x14180a(_0x5826c3(0x1a3),_0x578739),'onTableFillChange':_0x8d7cd2=>_0x625020((_0xef7b51,_0x1cfdf3)=>gi(_0xef7b51,_0x1cfdf3,_0x8d7cd2)),'children':_0x455c20(_0x565857,{'extend':{'colorChannel1':_0xa42561[_0x5826c3(0x5c1)]}})}),_0x455c20(ws,{'direction':_0x15b286,'color':_0xa42561[_0x5826c3(0x47c)],'width':_0xa42561[_0x5826c3(0x191)],'dash':_0xa42561[_0x5826c3(0x1bc)],'presets':hs,'open':_0x1c8710===_0x5826c3(0x45a),'mixed':!!(_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x47c)]||_0xa42561[_0x5826c3(0x636)]['borderWidth']||_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x1bc)]),'onOpenChange':_0x4d6852=>_0x14180a(_0x5826c3(0x45a),_0x4d6852),'onSelectPreset':_0x824730=>_0x625020((_0x216edf,_0x2e6881)=>bi(_0x216edf,_0x2e6881,_0x824730)),'onChangeColor':_0x19f8c9=>_0x625020((_0x1ab46d,_0x161208)=>yi(_0x1ab46d,_0x161208,{'color':_0x19f8c9})),'onChangeWidth':_0x5868de=>_0x625020((_0x32d906,_0x5434f1)=>yi(_0x32d906,_0x5434f1,{'width':_0x5868de,'dash':_0x5868de===0x0?_0x599627[_0x5826c3(0x2d4)]:void 0x0})),'onChangeDash':_0x3a5c81=>_0x625020((_0x3abd57,_0x45a90e)=>yi(_0x3abd57,_0x45a90e,{'dash':_0x3a5c81}))})]}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)}),_0x30f958(ys,{'children':[_0x455c20(_0x5bcadb,{'ariaLabel':_0xb8dcb9['t'](_0x5826c3(0x36d)),'className':_0x5826c3(0x3af),'inputClassName':_0x5826c3(0x260),'value':_0xa42561[_0x5826c3(0x636)]['fontFamily']?'':_0xa42561[_0x5826c3(0x6cd)],'onChange':_0x3cad22=>_0x625020((_0x3ed19a,_0x440467)=>xi(_0x3ed19a,_0x440467,_0x3cad22)),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db}),_0x455c20(Os,{'title':_0xb8dcb9['t'](_0x5826c3(0x35a)),'widthClassName':'univer-w-14','value':_0xa42561['mixed'][_0x5826c3(0x3cf)]?'':String(_0xa42561[_0x5826c3(0x3cf)]),'options':_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x3cf)]?[{'label':'—','value':''},...fs]:Vo(fs,String(_0xa42561['fontSize'])),'onChange':_0x4906e8=>{const _0x58d505=_0x5826c3;let _0x1cfdeb=Number(_0x4906e8);_0x4906e8&&!Number[_0x58d505(0x4b2)](_0x1cfdeb)&&_0x625020((_0x230d00,_0x3a7d4e)=>Si(_0x230d00,_0x3a7d4e,_0x1cfdeb));}}),_0x455c20(Ss,{'open':_0x1c8710==='textFormat','values':_0xa42561,'horizontalAlignOptions':_0x46cd35,'verticalAlignOptions':_0x959d2e,'onOpenChange':_0x248ea4=>_0x14180a(_0x5826c3(0x516),_0x248ea4),'onToggleStyle':_0x2f7bdc=>_0x625020((_0x89b3e4,_0x2154e5)=>Li(_0x89b3e4,_0x2154e5,_0x2f7bdc)),'onHorizontalAlign':_0x21d033=>_0x625020((_0x559e79,_0x3ade93)=>di(_0x559e79,_0x3ade93,{'axis':'horizontal','value':_0x21d033})),'onVerticalAlign':_0x3cea1f=>_0x625020((_0x129483,_0x27ac3f)=>di(_0x129483,_0x27ac3f,{'axis':_0x5826c3(0x511),'value':_0x3cea1f}))})]}),_0x455c20(_0x103320,{'orientation':'vertical'}),_0x30f958(ys,{'children':[_0x455c20(Es,{'data-toolbar-item':_0x5826c3(0x196),'title':_0xb8dcb9['t']('slides-table-ui.editorToolbar.textColor'),'color':_0xa42561[_0x5826c3(0x3e5)],'mixed':!!(_0xa42561[_0x5826c3(0x636)]['textColor']||_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x417)]),'icon':_0x5826c3(0x4c6),'open':_0x1c8710==='textColor','onOpenChange':_0x2c1fd7=>_0x14180a(_0x5826c3(0x3e5),_0x2c1fd7),'onChange':_0x18a7d7=>_0x625020((_0x50afd2,_0x1ab376)=>vi(_0x50afd2,_0x1ab376,{'type':_0x5826c3(0x71a),'color':_0x18a7d7,'opacity':0x1}))}),_0x455c20(Es,{'data-toolbar-item':'text-background','title':_0xb8dcb9['t'](_0x5826c3(0x50b)),'color':_0xa42561[_0x5826c3(0x543)],'mixed':!!_0xa42561[_0x5826c3(0x636)]['textBackgroundColor'],'icon':_0x5826c3(0x488),'open':_0x1c8710===_0x5826c3(0x40a),'onOpenChange':_0x3d0ced=>_0x14180a('textBackground',_0x3d0ced),'onChange':_0x2009cc=>_0x625020((_0x139ec8,_0x31f14f)=>Li(_0x139ec8,_0x31f14f,{'bg':{'rgb':_0x2009cc}}))})]}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)}),_0x455c20(ys,{'children':_0x455c20(Cs,{'open':_0x1c8710===_0x5826c3(0x1c6),'onOpenChange':_0x308def=>_0x14180a(_0x5826c3(0x1c6),_0x308def),'children':_0x455c20(Ns,{'currentStyleId':_0xf25d47[_0x5826c3(0x4b1)],'currentOptions':_0xf25d47[_0x5826c3(0x1d9)]??{},'direction':_0x15b286,'palette':_0x50ce02,'onApplyTheme':_0x5f4f56=>{_0x471de4(_0x5f4f56),_0x14180a('theme',!0x1);},'onChangeOptions':_0x12494c})})}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)}),_0x455c20(ys,{'children':_0x455c20(bs,{'data-toolbar-item':_0x5826c3(0x464),'title':_0xb8dcb9['t'](_0x5826c3(0x50e)),'onClick':()=>_0x4691f5[_0x5826c3(0x38f)](ra['id']),'children':_0x455c20(_0x14a244,{})})})]});}function Yd(_0x234b44){const _0x3416ab=_0x5defcf;let {labels:_0x52d9d1,values:_0x48794b,onChange:_0x1f55df,onInteraction:_0x1dc771,onDelete:_0x52e4df,menuType:_0x28963f,themeGallery:_0x4d12aa}=_0x234b44,{mountContainer:_0x504189}=_0xc305a4(_0x15df7b),_0x427805=_0x41e5c1(_0x51671c),[_0x25af5e,_0x49189f]=_0x504879(null),[_0x334949,_0x61629b]=_0x504879(_0x3416ab(0x590)),[_0x58b2a7,_0xedef76]=_0x504879(_0x3416ab(0x4d7)),[_0x43924,_0x55db91]=_0x504879(null),[_0x146c43,_0x88bcba]=_0x504879(null),_0x3ef61e=()=>{_0x49189f(null),_0x55db91(null),_0x88bcba(null);},_0x19bd50=_0x3a3bd2=>_0x1f55df((_0x143c82,_0x35da17)=>Li(_0x143c82,_0x35da17,{..._0x3a3bd2})),_0x37654b=[{'key':_0x3416ab(0x5a5),'label':_0x52d9d1[_0x3416ab(0x5a5)],'icon':_0x455c20(_0x4fb6d4,{}),'active':_0x48794b[_0x3416ab(0x5a5)],'patch':{'bl':_0x48794b[_0x3416ab(0x5a5)]?_0x3fcebf[_0x3416ab(0x403)]:_0x3fcebf[_0x3416ab(0x298)]}},{'key':_0x3416ab(0x1eb),'label':_0x52d9d1['italic'],'icon':_0x455c20(_0x8f99bc,{}),'active':_0x48794b['italic'],'patch':{'it':_0x48794b[_0x3416ab(0x1eb)]?_0x3fcebf['FALSE']:_0x3fcebf[_0x3416ab(0x298)]}},{'key':_0x3416ab(0x2b9),'label':_0x52d9d1['underline'],'icon':_0x455c20(_0x1c7e39,{}),'active':_0x48794b['underline'],'patch':{'ul':{'s':_0x48794b['underline']?_0x3fcebf[_0x3416ab(0x403)]:_0x3fcebf[_0x3416ab(0x298)]}}},{'key':_0x3416ab(0x69c),'label':_0x52d9d1['strikethrough'],'icon':_0x455c20(_0x2f2343,{}),'active':_0x48794b[_0x3416ab(0x69c)],'patch':{'st':{'s':_0x48794b['strike']?_0x3fcebf[_0x3416ab(0x403)]:_0x3fcebf[_0x3416ab(0x298)]}}}],_0x4ec4f2={'textColor':_0x48794b['textColor'],'textBackgroundColor':_0x48794b[_0x3416ab(0x543)],'tableBackgroundColor':_0x48794b[_0x3416ab(0x5c1)],'tableBorderColor':_0x48794b[_0x3416ab(0x47c)]},_0x430fd1=_0x334949===_0x3416ab(0x590)?[_0x3416ab(0x3e5),_0x3416ab(0x543)]:[_0x3416ab(0x4cf),_0x3416ab(0x409)];return _0x25af5e?_0x504189?_0x3f588b(_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x27a),'onPointerDownCapture':_0x1dc771,'children':_0x30f958(_0x1965df,{'layout':_0x3416ab(0x36e),'snap':_0x58b2a7,'onSnapChange':_0xedef76,'onClose':_0x3ef61e,'expandLabel':_0x52d9d1['expand'],'collapseLabel':_0x52d9d1[_0x3416ab(0x620)],'role':_0x3416ab(0x493),'panelClassName':_0x3416ab(0x368),'ariaLabel':_0x52d9d1[_0x25af5e],'header':_0x30f958(_0x3416ab(0x2cb),{'className':_0x3416ab(0x701),'children':[(_0x43924||_0x146c43)&&_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':'univer-size-11','aria-label':_0x52d9d1[_0x3416ab(0x54c)],'onClick':()=>_0x43924?_0x55db91(null):_0x146c43==null?void 0x0:_0x146c43['onBack'](),'children':_0x455c20(_0x381735,{})}),_0x455c20(_0x3416ab(0x45d),{'className':_0x3416ab(0x339),'children':_0x43924?_0x52d9d1[_0x43924]:(_0x146c43==null?void 0x0:_0x146c43['title'])??_0x52d9d1[_0x25af5e]}),_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x3416ab(0x31d),'aria-label':_0x52d9d1[_0x3416ab(0x56f)],'onClick':_0x3ef61e,'children':_0x455c20(_0x488ccc,{})})]}),'children':[_0x25af5e==='edit'&&!_0x43924&&!_0x146c43&&_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x614),'children':_0x455c20('div',{'role':_0x3416ab(0x572),'aria-label':_0x52d9d1['edit'],'className':_0x3416ab(0x1e4),'children':[_0x3416ab(0x590),_0x3416ab(0x5d8),'styles'][_0x3416ab(0x295)](_0x307620=>_0x455c20(_0x186c8e,{'role':'tab','aria-selected':_0x334949===_0x307620,'variant':_0x3416ab(0x3a9),'className':_0x34395c(_0x3416ab(0x3ff),_0x334949===_0x307620&&'univer-bg-primary-50\x20univer-text-primary-600'),'onClick':()=>_0x61629b(_0x307620),'children':_0x52d9d1[_0x307620]},_0x307620))})}),_0x43924?_0x455c20(_0x4e3a3f,{'value':_0x4ec4f2[_0x43924],'onChange':_0x27e63d=>{_0x1f55df((_0x3ac5cc,_0x3810f7)=>{const _0x2bb6c6=_0x428e;switch(_0x43924){case _0x2bb6c6(0x3e5):return _i(_0x3ac5cc,_0x3810f7,_0x27e63d);case _0x2bb6c6(0x543):return Li(_0x3ac5cc,_0x3810f7,{'bg':{'rgb':_0x27e63d}});case _0x2bb6c6(0x4cf):return gi(_0x3ac5cc,_0x3810f7,{'type':_0x772d0f[_0x2bb6c6(0x37a)],'color':_0x27e63d,'alpha':0x1});case'tableBorderColor':return yi(_0x3ac5cc,_0x3810f7,{'color':_0x27e63d});default:return{};}});}}):_0x30f958(_0x3416ab(0x2cb),{'className':_0x3416ab(0x1fe),'children':[_0x25af5e===_0x3416ab(0x6d4)&&!_0x146c43&&_0x334949!==_0x3416ab(0x2cd)&&_0x30f958(_0x149616,{'children':[_0x334949===_0x3416ab(0x590)&&_0x30f958(_0x149616,{'children':[_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x230),'children':_0x37654b[_0x3416ab(0x295)](({key:_0x16cf2e,label:_0xf56632,icon:_0x3ae4f7,active:_0x438e41,patch:_0x5bffe8})=>_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x34395c(_0x3416ab(0x491),_0x438e41&&_0x3416ab(0x622)),'aria-label':_0xf56632,'aria-pressed':_0x438e41,'onClick':()=>_0x19bd50(_0x5bffe8),'children':_0x3ae4f7},_0x16cf2e))}),_0x30f958('div',{'className':_0x3416ab(0x303),'children':[_0x30f958('label',{'className':_0x3416ab(0x593),'children':[_0x52d9d1['fontFamily'],_0x455c20(_0x791ed8,{'ariaLabel':_0x52d9d1[_0x3416ab(0x6cd)],'className':_0x3416ab(0x32c),'inputClassName':_0x3416ab(0x302),'value':_0x48794b[_0x3416ab(0x6cd)],'onChange':_0x4c5204=>_0x1f55df((_0x30bd52,_0x731a45)=>xi(_0x30bd52,_0x731a45,_0x4c5204))})]}),_0x30f958('label',{'className':_0x3416ab(0x593),'children':[_0x52d9d1[_0x3416ab(0x3cf)],_0x455c20(_0x39a1de,{'className':_0x3416ab(0x60b),'controls':!0x1,'min':0x1,'max':0x190,'value':_0x48794b[_0x3416ab(0x3cf)],'onChange':_0x43776d=>{_0x43776d!=null&&_0x1f55df((_0x3464f2,_0x2ef2d6)=>Si(_0x3464f2,_0x2ef2d6,_0x43776d));}})]})]})]}),_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x726),'children':[{'label':_0x52d9d1[_0x3416ab(0x375)],'value':_0x4918fc[_0x3416ab(0x2a7)],'icon':_0x455c20(_0x9e03d4,{})},{'label':_0x52d9d1[_0x3416ab(0x419)],'value':_0x4918fc[_0x3416ab(0x5a4)],'icon':_0x455c20(_0x15fb00,{})},{'label':_0x52d9d1['alignRight'],'value':_0x4918fc[_0x3416ab(0x1d0)],'icon':_0x455c20(_0x47272f,{})}]['map'](({label:_0x269bdf,value:_0x4562d5,icon:_0x35d1e8})=>_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x34395c(_0x3416ab(0x406),_0x48794b[_0x3416ab(0x575)]===_0x4562d5&&'univer-bg-primary-50\x20univer-text-primary-600'),'aria-label':_0x269bdf,'aria-pressed':_0x48794b[_0x3416ab(0x575)]===_0x4562d5,'onClick':()=>_0x1f55df((_0x1e32a2,_0xfaf73e)=>di(_0x1e32a2,_0xfaf73e,{'axis':'horizontal','value':_0x4562d5})),'children':_0x35d1e8},_0x4562d5))}),_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x726),'children':[{'label':_0x52d9d1[_0x3416ab(0x6fc)],'value':_0x9c0db6[_0x3416ab(0x64d)],'icon':_0x455c20(_0x406144,{})},{'label':_0x52d9d1[_0x3416ab(0x5fa)],'value':_0x9c0db6[_0x3416ab(0x4ce)],'icon':_0x455c20(_0x4afd92,{})},{'label':_0x52d9d1[_0x3416ab(0x6a5)],'value':_0x9c0db6[_0x3416ab(0x29b)],'icon':_0x455c20(_0x4b47f3,{})}]['map'](({label:_0x581309,value:_0x41289b,icon:_0x393699})=>_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x34395c('univer-h-12',_0x48794b[_0x3416ab(0x385)]===_0x41289b&&_0x3416ab(0x622)),'aria-label':_0x581309,'aria-pressed':_0x48794b[_0x3416ab(0x385)]===_0x41289b,'onClick':()=>_0x1f55df((_0x1c38b8,_0x33bb0b)=>di(_0x1c38b8,_0x33bb0b,{'axis':_0x3416ab(0x511),'value':_0x41289b})),'children':_0x393699},_0x41289b))}),_0x455c20('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':_0x430fd1['map'](_0x4b8092=>_0x30f958(_0x186c8e,{'variant':'ghost','className':_0x3416ab(0x6b8),'onClick':()=>_0x55db91(_0x4b8092),'children':[_0x52d9d1[_0x4b8092],_0x30f958(_0x3416ab(0x45d),{'className':_0x3416ab(0x1f0),'children':[_0x455c20(_0x3416ab(0x45d),{'className':_0x3416ab(0x5b3),'style':{'backgroundColor':_0x4ec4f2[_0x4b8092]}}),_0x455c20(_0x5c9102,{})]})]},_0x4b8092))}),_0x334949==='cellStyle'&&_0x30f958(_0x3416ab(0x2cb),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-3','children':[_0x30f958(_0x3416ab(0x3a7),{'className':_0x3416ab(0x6bb),'children':[_0x52d9d1[_0x3416ab(0x45a)],_0x455c20(_0x371845,{'className':'univer-h-12\x20univer-min-w-0\x20univer-text-base','aria-label':_0x52d9d1[_0x3416ab(0x45a)],'value':'','options':[{'value':'','label':_0x52d9d1[_0x3416ab(0x45a)],'disabled':!0x0},{'value':_0x4c5615[_0x3416ab(0x25b)],'label':_0x52d9d1[_0x3416ab(0x49d)]},{'value':_0x4c5615[_0x3416ab(0x4ba)],'label':_0x52d9d1[_0x3416ab(0x669)]},{'value':_0x4c5615[_0x3416ab(0x6da)],'label':_0x52d9d1[_0x3416ab(0x619)]},{'value':_0x4c5615[_0x3416ab(0x2d4)],'label':_0x52d9d1['noBorder']}],'onChange':_0x227dd7=>{const _0x4a3e12=_0x3416ab;let _0x4fbf5f=Object[_0x4a3e12(0x267)](_0x4c5615)[_0x4a3e12(0x461)](_0x1112f1=>_0x1112f1===_0x227dd7);_0x4fbf5f&&_0x1f55df((_0x4b0c41,_0x8d07c4)=>bi(_0x4b0c41,_0x8d07c4,_0x4fbf5f));}})]}),_0x30f958(_0x3416ab(0x3a7),{'className':_0x3416ab(0x6bb),'children':[_0x52d9d1['borderWidth'],_0x455c20(_0x39a1de,{'className':'univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','controls':!0x1,'min':0x0,'value':_0x48794b[_0x3416ab(0x191)],'onChange':_0x31ceb7=>{_0x31ceb7!=null&&_0x1f55df((_0x258623,_0x1d6316)=>yi(_0x258623,_0x1d6316,{'width':_0x31ceb7}));}})]})]})]}),_0x25af5e===_0x3416ab(0x34f)&&!_0x146c43&&_0x30f958('div',{'className':_0x3416ab(0x423),'children':[_0x455c20(_0x186c8e,{'className':'univer-h-12','onClick':()=>{const _0x49b2c9=_0x3416ab;_0x234b44[_0x49b2c9(0x454)](_0x49b2c9(0x1a8));},'children':_0x52d9d1[_0x3416ab(0x63f)]}),_0x455c20(_0x186c8e,{'className':_0x3416ab(0x406),'onClick':()=>{const _0x563468=_0x3416ab;_0x234b44[_0x563468(0x454)](_0x563468(0x3f1));},'children':_0x52d9d1['selectColumn']})]}),_0x25af5e==='operations'&&_0x455c20(_0xad5b7d,{'menuType':_0x28963f,'showHeader':!0x1,'onNavigationChange':_0x88bcba,'onOptionSelect':async _0x34c3c5=>{const _0x1a7c6b=_0x3416ab;let _0x28ee29=_0x34c3c5[_0x1a7c6b(0x595)]??_0x34c3c5['id'];if(!_0x28ee29)return;let _0x4665bf=typeof _0x34c3c5[_0x1a7c6b(0x4f6)]=='function'?_0x34c3c5[_0x1a7c6b(0x4f6)](_0x34c3c5[_0x1a7c6b(0x38a)]):_0x34c3c5['params'];await _0x427805[_0x1a7c6b(0x38f)](_0x28ee29,_0x4665bf);}}),_0x25af5e==='edit'&&_0x334949==='styles'&&!_0x146c43&&_0x4d12aa]})]})}),_0x504189):null:_0x455c20(_0x3416ab(0x2cb),{'onPointerDownCapture':_0x1dc771,'children':_0x455c20(_0xad5b7d,{'presentation':'context-bar','schemas':[{'key':_0x3416ab(0x6d4),'order':0x0,'item':{'id':'edit','type':_0x34fe51[_0x3416ab(0x6c6)],'title':_0x52d9d1[_0x3416ab(0x6d4)]}},{'key':_0x3416ab(0x34f),'order':0x1,'item':{'id':'operations','type':_0x34fe51[_0x3416ab(0x6c6)],'title':_0x52d9d1[_0x3416ab(0x34f)]}},{'key':'delete','order':0x2,'item':{'id':'delete','type':_0x34fe51[_0x3416ab(0x6c6)],'title':_0x52d9d1['delete']}}],'onOptionSelect':({id:_0x23700a})=>{const _0x54727d=_0x3416ab;_0x23700a==='edit'?_0x49189f(_0x54727d(0x6d4)):_0x23700a===_0x54727d(0x34f)?_0x49189f(_0x54727d(0x34f)):_0x23700a===_0x54727d(0x525)&&_0x52e4df();}})});}function Xd(_0x1a50d7){const _0x2a9fd5=_0x5defcf;let _0xb4645e=_0x41e5c1(_0x494027);return _0x30f958(_0x2a9fd5(0x2cb),{'className':_0x2a9fd5(0x3db),'dir':_0x1a50d7[_0x2a9fd5(0x2eb)],'children':[_0x1a50d7[_0x2a9fd5(0x3fc)]!==!0x1&&_0x455c20(_0x2a9fd5(0x2cb),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':Ms['map'](({key:_0x5c1a22,labelKey:_0x2ceebb})=>_0x30f958(_0x186c8e,{'className':_0x34395c(_0x2a9fd5(0x204),_0x1a50d7[_0x2a9fd5(0x35b)][_0x5c1a22]&&_0x2a9fd5(0x622)),'aria-pressed':!!_0x1a50d7[_0x2a9fd5(0x35b)][_0x5c1a22],'onClick':()=>_0x1a50d7[_0x2a9fd5(0x433)]({..._0x1a50d7[_0x2a9fd5(0x35b)],[_0x5c1a22]:!_0x1a50d7[_0x2a9fd5(0x35b)][_0x5c1a22]}),'children':[_0x1a50d7['currentOptions'][_0x5c1a22]&&_0x455c20(_0x4b3c87,{}),_0xb4645e['t'](_0x2ceebb)]},_0x5c1a22))}),_0x1a50d7[_0x2a9fd5(0x6af)]!==!0x1&&As[_0x2a9fd5(0x295)](_0x821cfb=>_0x30f958(_0x2a9fd5(0x70f),{'className':_0x2a9fd5(0x694),'children':[_0x455c20('h3',{'className':_0x2a9fd5(0x1ab),'children':_0xb4645e['t'](js[_0x821cfb])}),_0x455c20(_0x2a9fd5(0x2cb),{'className':_0x2a9fd5(0x47f),'children':_0x33b20a[_0x2a9fd5(0x439)](_0x3c6dfc=>_0x3c6dfc[_0x2a9fd5(0x707)]===_0x821cfb)['map']((_0x4760c1,_0x2e87c5)=>_0x455c20('button',{'type':'button','aria-label':_0xb4645e['t'](js[_0x821cfb])+'\x20'+(_0x2e87c5+0x1),'aria-pressed':_0x1a50d7[_0x2a9fd5(0x494)]===_0x4760c1['id'],'className':_0x34395c(_0x2a9fd5(0x3ad),_0x1a50d7[_0x2a9fd5(0x494)]===_0x4760c1['id']&&_0x2a9fd5(0x412)),'onClick':()=>_0x1a50d7['onApplyTheme'](_0x4760c1['id']),'children':_0x455c20(Fs,{'styleId':_0x4760c1['id'],'options':_0x1a50d7[_0x2a9fd5(0x35b)],'direction':_0x1a50d7[_0x2a9fd5(0x2eb)]??_0x2a9fd5(0x62c),'palette':_0x1a50d7[_0x2a9fd5(0x22b)]})},_0x4760c1['id']))})]},_0x821cfb))]});}function Zd(){const _0x42cb7e=_0x5defcf;let {selectionService:_0x4dbcef,localeService:_0x17a698,direction:_0xf5b59b,position:_0x17f756,visibleSelection:_0x5e1659,table:_0x43be7e,firstCellValues:_0x4035fb,tableThemePalette:_0x33f121,applyPatch:_0x1f847d,applyTableTheme:_0x1f2b91,applyTableLook:_0x1ff9b4}=qd(!0x0,0xf0),_0x502681=_0x41e5c1(_0x51671c);if(!_0x5e1659||!_0x17f756||!_0x43be7e)return null;let _0x43cc64={'left':_0x17f756['left'],'top':_0x17f756['top'],'width':'max-content','maxWidth':'min(240px,\x20calc(100vw\x20-\x2024px))','minHeight':0x24,'transform':_0x42cb7e(0x272),'zIndex':0x2742};return _0x455c20(_0x42cb7e(0x2cb),{'style':{..._0x43cc64,'left':Math[_0x42cb7e(0x4a7)](Math[_0x42cb7e(0x6bf)](0xc,_0x17f756[_0x42cb7e(0x479)]),window[_0x42cb7e(0x4da)]-0xc)},'className':_0x42cb7e(0x270),'children':_0x455c20(Yd,{'values':_0x4035fb,'menuType':_0x42cb7e(0x2ad),'onInteraction':()=>_0x4dbcef[_0x42cb7e(0x4ca)](),'onChange':_0x1f847d,'onDelete':()=>_0x502681[_0x42cb7e(0x38f)](ra['id']),'onSelect':_0x547ed8=>{const _0x147e94=_0x42cb7e;let _0x49dc4b=_0x5e1659[_0x147e94(0x649)][0x0];if(_0x547ed8===_0x147e94(0x3f1)){var _0x464d61,_0x4414ba;_0x4dbcef[_0x147e94(0x5e9)]({..._0x5e1659,'startColumn':((_0x464d61=_0x5e1659[_0x147e94(0x61b)])==null?void 0x0:_0x464d61[_0x147e94(0x3f1)])??_0x49dc4b[_0x147e94(0x3cc)],'endColumn':((_0x4414ba=_0x5e1659['focus'])==null?void 0x0:_0x4414ba[_0x147e94(0x3f1)])??_0x49dc4b[_0x147e94(0x3cc)],'rowCount':_0x43be7e[_0x147e94(0x360)][_0x147e94(0x393)]});}else _0x4dbcef[_0x147e94(0x63f)]({..._0x5e1659,'row':_0x49dc4b[_0x147e94(0x1d3)],'column':_0x49dc4b[_0x147e94(0x3cc)]});},'labels':{'text':_0x17a698['t'](_0x42cb7e(0x395)),'cellStyle':_0x17a698['t'](_0x42cb7e(0x70a)),'styles':_0x17a698['t'](_0x42cb7e(0x476)),'operations':_0x17a698['t'](_0x42cb7e(0x68e)),'selectCell':_0x17a698['t']('slides-table-ui.mobile.selectCell'),'selectColumn':_0x17a698['t'](_0x42cb7e(0x1ca)),'edit':_0x17a698['t'](_0x42cb7e(0x4a0)),'close':_0x17a698['t'](_0x42cb7e(0x36f)),'expand':_0x17a698['t'](_0x42cb7e(0x4e2)),'collapse':_0x17a698['t'](_0x42cb7e(0x2f3)),'back':_0x17a698['t'](_0x42cb7e(0x723)),'delete':_0x17a698['t'](_0x42cb7e(0x29a)),'fontFamily':_0x17a698['t'](_0x42cb7e(0x36d)),'fontSize':_0x17a698['t'](_0x42cb7e(0x35a)),'bold':_0x17a698['t']('slides-table-ui.editorToolbar.bold'),'italic':_0x17a698['t'](_0x42cb7e(0x50a)),'underline':_0x17a698['t'](_0x42cb7e(0x577)),'strikethrough':_0x17a698['t'](_0x42cb7e(0x436)),'alignLeft':_0x17a698['t'](_0x42cb7e(0x28f)),'alignCenter':_0x17a698['t']('slides-table-ui.editorToolbar.alignCenter'),'alignRight':_0x17a698['t'](_0x42cb7e(0x57d)),'alignTop':_0x17a698['t'](_0x42cb7e(0x292)),'alignMiddle':_0x17a698['t'](_0x42cb7e(0x413)),'alignBottom':_0x17a698['t'](_0x42cb7e(0x496)),'textColor':_0x17a698['t'](_0x42cb7e(0x70d)),'textBackgroundColor':_0x17a698['t']('slides-table-ui.editorToolbar.textBackgroundColor'),'tableBackgroundColor':_0x17a698['t'](_0x42cb7e(0x609)),'tableBorderColor':_0x17a698['t'](_0x42cb7e(0x489)),'border':_0x17a698['t'](_0x42cb7e(0x38e)),'borderWidth':_0x17a698['t'](_0x42cb7e(0x5f8)),'borderPresetAll':_0x17a698['t']('slides-table-ui.editorToolbar.borderPresetAll'),'borderPresetOuter':_0x17a698['t']('slides-table-ui.editorToolbar.borderPresetOuter'),'borderPresetInner':_0x17a698['t'](_0x42cb7e(0x6ee)),'noBorder':_0x17a698['t'](_0x42cb7e(0x33a))},'themeGallery':_0x455c20(Xd,{'currentStyleId':_0x43be7e[_0x42cb7e(0x4b1)],'currentOptions':_0x43be7e[_0x42cb7e(0x1d9)]??{},'direction':_0xf5b59b,'palette':_0x33f121,'onApplyTheme':_0x1f2b91,'onChangeOptions':_0x1ff9b4})},_0x5e1659['tableId'])});}let Qd=class extends _0x52fe5c{constructor(_0x39fa80=ti,_0x14a125,_0x5e5034,_0x12e057,_0x454bd3,_0x99c399,_0xc9d2c4,_0x4ce2bd){const _0x55404b=_0x5defcf;super(),this[_0x55404b(0x2c5)]=_0x39fa80,this[_0x55404b(0x5d0)]=_0x14a125,this[_0x55404b(0x4b4)]=_0x5e5034,this[_0x55404b(0x4c3)]=_0x12e057,this[_0x55404b(0x710)]=_0x454bd3,this[_0x55404b(0x5c8)]=_0x99c399,this[_0x55404b(0x227)]=_0xc9d2c4,this['_uiPartsService']=_0x4ce2bd;let {..._0x31d2b4}=_0x4e092b({},ti,this[_0x55404b(0x2c5)]);this[_0x55404b(0x4b4)]['setConfig'](ei,_0x31d2b4),[...xa,...Qa,uo,po][_0x55404b(0x4df)](_0x4cef03=>this[_0x55404b(0x40f)](this['_commandService']['registerCommand'](_0x4cef03))),[...$a,...eo]['forEach'](_0xcb71fa=>this[_0x55404b(0x40f)](this[_0x55404b(0x227)][_0x55404b(0x404)](_0xcb71fa)));}['onStarting'](){const _0x8350fb=_0x5defcf;[[fo],[Xs],[Dd],[J],[Ua],[Nd],[mo],[Od]][_0x8350fb(0x4df)](_0x2b6320=>this[_0x8350fb(0x5d0)]['add'](_0x2b6320)),this['disposeWithMe'](this['_injector']['get'](_0x22ba2f)[_0x8350fb(0x5ce)](kd)),_0x481344(this['_injector'],[[Xs],[J],[Ua],[fo],[Nd],[mo],[Od]]),this['disposeWithMe'](this['_injector'][_0x8350fb(0x621)](_0x2126a8)[_0x8350fb(0x29e)](this[_0x8350fb(0x5d0)]['get'](Nd)));}[_0x5defcf(0x692)](){const _0x568c4b=_0x5defcf;this[_0x568c4b(0x5c8)][_0x568c4b(0x680)](wd),this[_0x568c4b(0x5d0)][_0x568c4b(0x621)](Dd),this[_0x568c4b(0x40f)](this[_0x568c4b(0x4c3)][_0x568c4b(0x398)](_0x1b0a97[_0x568c4b(0x3d2)],[Lu])),this[_0x568c4b(0x40f)](this[_0x568c4b(0x2f8)]['registerComponent'](_0x24a75b['CONTENT'],()=>_0x3a101e(Zd,this[_0x568c4b(0x5d0)])));}};q(Qd,_0x5defcf(0x495),_0x1b0a97[_0x5defcf(0x3d2)]),q(Qd,'pluginName',_0x5defcf(0x1d1)),q(Qd,_0x5defcf(0x581),ni),q(Qd,_0x5defcf(0x2bf),ri),Qd=Ha([_0x41991a(_0x14b2ea,_0x422f66,_0x50306f,_0x204bff,_0x20cb27),Q(0x1,_0x41ffca(_0x4b3b2f)),Q(0x2,_0x506f4d),Q(0x3,_0x49825b),Q(0x4,_0x51671c),Q(0x5,_0x2f0348),Q(0x6,_0x162e17),Q(0x7,_0x5f13cd)],Qd);let $d=class extends _0x5c53fd{constructor(_0x498c79,_0x1c5b1c){const _0x4a45c3=_0x5defcf;super(),this[_0x4a45c3(0x1ae)]=_0x498c79,this[_0x4a45c3(0x4b7)]=_0x1c5b1c,this[_0x4a45c3(0x229)](),this[_0x4a45c3(0x60a)]();}[_0x5defcf(0x229)](){const _0x419be9=_0x5defcf;this[_0x419be9(0x40f)](this[_0x419be9(0x4b7)][_0x419be9(0x5ce)]({'AdjustHeightDoubleIcon':_0x32f892,'AdjustWidthDoubleIcon':_0x320b22,'CancelMergeIcon':_0x519ea5,'DeleteColumnDoubleIcon':_0x21a208,'DeleteRowDoubleIcon':_0x26aad9,'InsertRowAboveDoubleIcon':_0x42fc83,'InsertRowBelowDoubleIcon':_0x7d12ef,'LeftInsertColumnDoubleIcon':_0x56c99b,'MergeAllIcon':_0x109256,'RightInsertColumnDoubleIcon':_0x5d154e,'TableIcon':_0x4871d5}));}[_0x5defcf(0x60a)](){const _0x40f8a8=_0x5defcf;this[_0x40f8a8(0x40f)](this[_0x40f8a8(0x1ae)][_0x40f8a8(0x5ce)](ho,go)),this[_0x40f8a8(0x40f)](this['_componentManager'][_0x40f8a8(0x5ce)](io,lo)),this['disposeWithMe'](this['_componentManager']['register'](Is,Hs)),this[_0x40f8a8(0x40f)](this['_componentManager']['register'](Ls,Ws)),this[_0x40f8a8(0x40f)](this['_componentManager'][_0x40f8a8(0x5ce)](Rs,Ys));}};$d=Ha([Q(0x0,_0x41ffca(_0x2a5658)),Q(0x1,_0x41ffca(_0xed296f))],$d);let ef=class extends _0x410129{constructor(_0x3ce9c0,_0x43b377,_0x58ba1b,_0x26fa9a){const _0x3dd798=_0x5defcf;super(),this[_0x3dd798(0x254)]=_0x3ce9c0,this[_0x3dd798(0x462)]=_0x43b377,this[_0x3dd798(0x236)]=_0x58ba1b,this[_0x3dd798(0x599)]=_0x26fa9a,q(this,'zIndex',0xa);}[_0x5defcf(0x2e6)](_0x452254){const _0x478322=_0x5defcf;return _0x452254[_0x478322(0x571)][_0x478322(0x495)]===_0x16fba9[_0x478322(0x3f9)];}[_0x5defcf(0x492)](_0x4dd5d4,_0x5a531c){const _0x26f9f=_0x5defcf;if(_0x4dd5d4[_0x26f9f(0x3f5)]||_0x4dd5d4[_0x26f9f(0x571)]['type']!==_0x16fba9[_0x26f9f(0x3f9)])return null;let _0x41bf=_0x4dd5d4['element'],_0x14b89d=_0x41bf['transform'],_0x8ff9ed=_0x26f9f(0x2c1)+_0x5a531c[_0x26f9f(0x379)]+'-'+_0x5a531c[_0x26f9f(0x6b4)]+'-'+_0x4dd5d4[_0x26f9f(0x1ba)],_0x124eae=this[_0x26f9f(0x1e1)](_0x5a531c['unitId'],_0x41bf),_0x3b544a=this[_0x26f9f(0x599)]['getResource'](_0x5a531c[_0x26f9f(0x379)]),_0x4f2bdd=_0x3b544a==null?void 0x0:_0x3b544a[_0x26f9f(0x299)],_0x27cdc9=_0x27e190(_0x4df8c5=>this[_0x26f9f(0x462)]['getColorFromTheme'](_0x4df8c5)),_0x251597={'controlButtonMode':_0x26f9f(0x26d),'left':_0x5a531c[_0x26f9f(0x348)]+(_0x14b89d[_0x26f9f(0x479)]??0x0),'top':_0x5a531c[_0x26f9f(0x373)]+(_0x14b89d[_0x26f9f(0x5ee)]??0x0),'width':_0x14b89d[_0x26f9f(0x58e)]??0x0,'height':_0x14b89d['height']??0x0,'angle':_0x14b89d[_0x26f9f(0x5f6)]??0x0,'flipX':_0x14b89d['flipX'],'flipY':_0x14b89d['flipY'],'skewX':_0x14b89d[_0x26f9f(0x1d2)],'skewY':_0x14b89d[_0x26f9f(0x27c)],'zIndex':_0x5a531c[_0x26f9f(0x674)],'visible':!_0x4dd5d4[_0x26f9f(0x3f5)],'evented':!0x0,'imageIoService':this[_0x26f9f(0x236)],'localeService':this['_localeService'],'tableThemes':_0x4f2bdd,'tableThemePalette':_0x27cdc9,'themeService':this[_0x26f9f(0x462)]};return _0x124eae&&(_0x251597[_0x26f9f(0x690)]=_0x124eae),new Gc(_0x8ff9ed,_0x251597);}[_0x5defcf(0x1e1)](_0x38bc00,_0xcfe24f){const _0x49c4d5=_0x5defcf;let _0x14ebbc=tf(_0xcfe24f),_0x220605=nf(_0x14ebbc==null?void 0x0:_0x14ebbc['tableId']),_0x3c814f=_0x220605?this['_tableResourceService'][_0x49c4d5(0x2aa)](_0x38bc00,_0x220605):void 0x0;if(_0x3c814f){let _0x480f32=_0x118830(_0x3c814f,{'id':_0x220605,'rowCount':0x3,'columnCount':0x3});if(_0x480f32)return _0x480f32;}let _0x3aec5b=tf(_0x14ebbc==null?void 0x0:_0x14ebbc['custom']),_0x320a98=_0x220605??nf(_0x14ebbc==null?void 0x0:_0x14ebbc['id']),_0x2b6c54=[_0x14ebbc==null?void 0x0:_0x14ebbc[_0x49c4d5(0x690)],_0x3aec5b==null?void 0x0:_0x3aec5b[_0x49c4d5(0x690)],_0x3aec5b==null?void 0x0:_0x3aec5b['slideTable'],_0x3aec5b==null?void 0x0:_0x3aec5b['pptxTable'],_0x14ebbc];for(let _0x449215 of _0x2b6c54){let _0x30cf6f=_0x118830(_0x449215,{'id':_0x320a98});if(_0x30cf6f)return _0x30cf6f;}}};ef=Ha([Q(0x0,_0x41ffca(_0x494027)),Q(0x1,_0x41ffca(_0x59fee4)),Q(0x2,_0x1316c1),Q(0x3,_0x41ffca(_0x161eee))],ef);function tf(_0x117f5e){return _0x117f5e&&typeof _0x117f5e=='object'&&!Array['isArray'](_0x117f5e)?_0x117f5e:void 0x0;}function nf(_0x116063){const _0x1b44ba=_0x5defcf;return typeof _0x116063=='string'&&_0x116063[_0x1b44ba(0x2e9)]()?_0x116063:void 0x0;}let rf=class extends _0x52fe5c{constructor(_0x28b9df=ti,_0x2fdb06,_0x1e83eb,_0x9cf4c2,_0x33e811,_0x2bef25,_0xd0e491,_0x2cacb9){const _0x123087=_0x5defcf;super(),this[_0x123087(0x2c5)]=_0x28b9df,this[_0x123087(0x5d0)]=_0x2fdb06,this[_0x123087(0x4b4)]=_0x1e83eb,this['_renderManagerService']=_0x9cf4c2,this[_0x123087(0x710)]=_0x33e811,this[_0x123087(0x5c8)]=_0x2bef25,this[_0x123087(0x227)]=_0xd0e491,this[_0x123087(0x2f8)]=_0x2cacb9;let {..._0x745e2}=_0x4e092b({},ti,this[_0x123087(0x2c5)]);this[_0x123087(0x4b4)]['setConfig'](ei,_0x745e2),this[_0x123087(0x3e2)](),this[_0x123087(0x4bd)]();}[_0x5defcf(0x478)](){const _0x1213c9=_0x5defcf;let _0x2bc84a=this[_0x1213c9(0x5d0)];this[_0x1213c9(0x449)]()[_0x1213c9(0x4df)](_0x5a3d60=>_0x2bc84a[_0x1213c9(0x378)](_0x5a3d60)),this[_0x1213c9(0x40f)](_0x2bc84a['get'](_0x22ba2f)[_0x1213c9(0x5ce)](ef)),_0x481344(_0x2bc84a,[[$d],[J],[Ua],[fo],[Nd],[mo],[Od]]),this[_0x1213c9(0x40f)](_0x2bc84a[_0x1213c9(0x621)](_0x2126a8)[_0x1213c9(0x29e)](_0x2bc84a['get'](Nd)));}['onReady'](){const _0x436c84=_0x5defcf;this['_menuManagerService'][_0x436c84(0x680)](wd),this[_0x436c84(0x5d0)]['get'](Dd),this[_0x436c84(0x40f)](this[_0x436c84(0x4c3)][_0x436c84(0x398)](_0x1b0a97[_0x436c84(0x3d2)],this[_0x436c84(0x284)]())),this[_0x436c84(0x40f)](this['_uiPartsService'][_0x436c84(0x65f)](_0x24a75b[_0x436c84(0x5b8)],()=>_0x3a101e(this[_0x436c84(0x5ff)](),this[_0x436c84(0x5d0)])));}[_0x5defcf(0x449)](){return[[fo],[$d],[Dd],[J],[Ua],[Nd],[mo],[Od]];}[_0x5defcf(0x284)](){return[ou];}[_0x5defcf(0x5ff)](){return Jd;}[_0x5defcf(0x3e2)](){const _0x2fbda5=_0x5defcf;[...xa,...Qa,uo,po][_0x2fbda5(0x4df)](_0x712cc0=>{const _0x5803e5=_0x2fbda5;this[_0x5803e5(0x40f)](this[_0x5803e5(0x710)]['registerCommand'](_0x712cc0));});}[_0x5defcf(0x4bd)](){[...$a,...eo]['forEach'](_0x1ba8d2=>{const _0x411b65=_0x428e;this[_0x411b65(0x40f)](this[_0x411b65(0x227)]['registerShortcut'](_0x1ba8d2));});}};q(rf,_0x5defcf(0x495),_0x1b0a97['UNIVER_SLIDE']),q(rf,'pluginName',_0x5defcf(0x1d1)),q(rf,_0x5defcf(0x581),ni),q(rf,_0x5defcf(0x2bf),ri),rf=Ha([_0x41991a(_0x14b2ea,_0x422f66,_0x50306f,_0x204bff,_0x1d3360),Q(0x1,_0x41ffca(_0x4b3b2f)),Q(0x2,_0x506f4d),Q(0x3,_0x49825b),Q(0x4,_0x51671c),Q(0x5,_0x2f0348),Q(0x6,_0x162e17),Q(0x7,_0x5f13cd)],rf);var af=class extends _0x5c53fd{constructor(..._0x2abf71){const _0x5075e0=_0x5defcf;super(..._0x2abf71),q(this,_0x5075e0(0x332),new _0x4d5205(null)),q(this,'session$',this[_0x5075e0(0x332)]['asObservable']());}[_0x5defcf(0x1d4)](_0x36114f){const _0x4cd7cb=_0x5defcf;let _0x1b9308=of(_0x36114f);return this[_0x4cd7cb(0x332)][_0x4cd7cb(0x38b)](_0x1b9308),_0x2123f0(()=>{const _0x401a29=_0x4cd7cb;this[_0x401a29(0x332)][_0x401a29(0x315)]()===_0x1b9308&&this[_0x401a29(0x56f)]();});}[_0x5defcf(0x2c0)](_0x8dcc5b){const _0x216ead=_0x5defcf;var _0x1828c4;let _0x1518f0=this[_0x216ead(0x332)]['getValue']();if(!_0x1518f0)return;let _0x5d648e=of({..._0x1518f0,..._0x8dcc5b,'documentData':_0x8dcc5b[_0x216ead(0x5e4)]??_0x1518f0[_0x216ead(0x5e4)],'measurement':_0x8dcc5b['measurement']??_0x1518f0[_0x216ead(0x429)],'rect':_0x8dcc5b[_0x216ead(0x5fd)]??_0x1518f0[_0x216ead(0x5fd)],'tableTransform':_0x8dcc5b[_0x216ead(0x234)]??_0x1518f0['tableTransform']});this[_0x216ead(0x332)][_0x216ead(0x38b)](_0x5d648e),(_0x1828c4=_0x1518f0[_0x216ead(0x2e0)])==null||_0x1828c4['call'](_0x1518f0,of(_0x5d648e));}[_0x5defcf(0x1e7)](_0x638de5){const _0x48def7=_0x5defcf;var _0x1d44c7;let _0x223669=this[_0x48def7(0x332)][_0x48def7(0x315)]();if(!_0x223669)return;let _0x20d2e9=of({..._0x223669,'documentData':_0x638de5??_0x223669['documentData']});(_0x1d44c7=_0x223669['onComplete'])==null||_0x1d44c7[_0x48def7(0x283)](_0x223669,_0x20d2e9),this[_0x48def7(0x56f)]();}[_0x5defcf(0x686)](){const _0x478417=_0x5defcf;var _0x56baf7;let _0x3b6ff2=this[_0x478417(0x332)]['getValue']();_0x3b6ff2&&((_0x56baf7=_0x3b6ff2[_0x478417(0x231)])==null||_0x56baf7[_0x478417(0x283)](_0x3b6ff2,of(_0x3b6ff2)),this[_0x478417(0x56f)]());}[_0x5defcf(0x56f)](){const _0x4d7f51=_0x5defcf;this[_0x4d7f51(0x332)][_0x4d7f51(0x38b)](null);}[_0x5defcf(0x21a)](){const _0x3caa41=_0x5defcf;let _0x2acc9e=this[_0x3caa41(0x332)][_0x3caa41(0x315)]();return _0x2acc9e?of(_0x2acc9e):null;}[_0x5defcf(0x533)](_0x85887a){const _0x3f953c=_0x5defcf;let _0x5deeed=this[_0x3f953c(0x4a1)]['subscribe'](_0x350e0f=>{_0x85887a(_0x350e0f?of(_0x350e0f):null);});return _0x2123f0(()=>_0x5deeed[_0x3f953c(0x5ea)]());}[_0x5defcf(0x2c2)](){const _0x574e62=_0x5defcf;this[_0x574e62(0x56f)](),this[_0x574e62(0x332)]['complete'](),super[_0x574e62(0x2c2)]();}};function of(_0x2d3d6b){const _0x2472aa=_0x5defcf;return{..._0x2d3d6b,'measurement':_0x2d3d6b[_0x2472aa(0x429)]?{..._0x2d3d6b[_0x2472aa(0x429)]}:void 0x0,'rect':{..._0x2d3d6b[_0x2472aa(0x5fd)]},'tableTransform':{..._0x2d3d6b['tableTransform']},'documentData':_0xdc70f2[_0x2472aa(0x597)](_0x2d3d6b[_0x2472aa(0x5e4)])};}function sf(_0x32b22b){const _0x47660a=_0x5defcf;return!_0x32b22b||_0x32b22b[_0x47660a(0x521)]==='none'||!_0x32b22b[_0x47660a(0x649)]['length']?null:{'kind':_0x32b22b[_0x47660a(0x521)],'ranges':_0x32b22b[_0x47660a(0x649)][_0x47660a(0x295)](_0x1782cd=>({..._0x1782cd})),'active':_0x32b22b['focus']??_0x32b22b[_0x47660a(0x6c5)]??(lf(_0x32b22b[_0x47660a(0x521)])?cf(_0x32b22b):void 0x0)};}function cf(_0x451685){const _0x4bc727=_0x5defcf;let _0x2b1cb1=_0x451685[_0x4bc727(0x649)][0x0];if(_0x2b1cb1)return{'row':Math[_0x4bc727(0x4a7)](_0x2b1cb1[_0x4bc727(0x1d3)],_0x2b1cb1[_0x4bc727(0x573)]),'column':Math['min'](_0x2b1cb1[_0x4bc727(0x3cc)],_0x2b1cb1['endColumn'])};}function lf(_0xad51f0){const _0x5403c7=_0x5defcf;return _0xad51f0==='cell'||_0xad51f0===_0x5403c7(0x483)||_0xad51f0===_0x5403c7(0x590);}export{Yd as MobileTableMenu,Xd as MobileTableThemeGallery,ei as SLIDES_TABLE_UI_PLUGIN_CONFIG_KEY,X as SLIDE_TABLE_CONTEXT_MENU_ACTIONS,bo as SLIDE_TABLE_DEFAULT_BACKGROUND_COLOR,Wa as SLIDE_TABLE_KEYBOARD_SHORTCUT_DESCRIPTORS,Ho as SLIDE_TABLE_TOOLBAR_ACTIONS,af as SlideTableCellEditorService,Fl as SlideTableMobileSelection,Gc as SlideTableObject,J as SlideTableSelectionService,Va as TableKeyboardServiceBase,Ns as TableThemeGallery,as as TableToolbarDropdownInteractionGuard,Qd as UniverSlidesTableMobileUIPlugin,rf as UniverSlidesTableUIPlugin,hi as buildSlideTableBackgroundColorPatch,gi as buildSlideTableBackgroundFillPatch,Yo as buildSlideTableBorderPresetCommandParams,bi as buildSlideTableBorderPresetPatch,yi as buildSlideTableBorderStylePatch,rc as buildSlideTableCellEditorCommitCommand,Jo as buildSlideTableCellStyleCommandParams,Hl as buildSlideTableClearTextPatch,li as buildSlideTableContextMenuCommand,qo as buildSlideTableDeleteToolbarCommand,xi as buildSlideTableFontFamilyPatch,Si as buildSlideTableFontSizePatch,eu as buildSlideTableInsertDotControlState,Ga as buildSlideTableKeyboardShortcutBindings,Wo as buildSlideTableMergeCellsCommandParams,Ko as buildSlideTableMergeToolbarCommand,Vl as buildSlideTablePasteHtmlPatch,Bl as buildSlideTablePasteTextPatch,di as buildSlideTableTextAlignPatch,_i as buildSlideTableTextColorPatch,vi as buildSlideTableTextFillPatch,Li as buildSlideTableTextStylePatch,Go as buildSlideTableUnmergeCellsCommandParams,ti as defaultPluginConfig,Vo as ensureOption,Ro as getSlideTableFillPreviewStyle,Mo as getSlideTableFillType,Io as getSlideTableGradientValue,Z as getSlideTableSelectionContext,Lo as gradientValueToSlideTableFill,za as isSlideTableDocumentEditorTarget,Ra as isSlideTableEditableTarget,$l as isSlideTableInsertDotTrigger,ic as normalizeSlideTableCellDocumentData,tc as replaceSlideTableCellDocumentText,cf as resolveFirstSlideTableSelectionCell,qa as resolveNextSlideTableKeyboardCell,nc as resolveSlideTableCellEditorLayout,$s as resolveSlideTableCellEditorTarget,ci as resolveSlideTableContextMenuActions,jo as resolveSlideTableDocumentHorizontalAlign,Ka as resolveSlideTableKeyboardMovement,Xo as resolveSlideTableMergeToolbarAction,sf as resolveSlideTableObjectSelection,wo as resolveSlideTableSelectionValues,Uo as resolveSlideTableToolbarActions,zl as serializeSlideTableCellStyleAttribute,Rl as serializeSlideTableSelectionToHtml,Ll as serializeSlideTableSelectionToText,Fo as toCoreVerticalAlign};
|