@univerjs-pro/shape-editor-ui 1.0.0-alpha.3 → 1.0.0-alpha.5
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.css +20 -24
- 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/types/controllers/components.controller.d.ts +1 -1
- package/lib/types/index.d.ts +5 -3
- package/lib/types/locale/en-US.d.ts +19 -0
- package/lib/types/utils/util.d.ts +5 -0
- package/lib/types/views/shape-editor-panel/ShapeTextBoxEditor.d.ts +2 -0
- package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +2 -4
- package/lib/types/views/shape-text-editor/ShapeTextEditor.d.ts +4 -4
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
- package/lib/types/views/shape-text-editor/shape-text-float-menu-render-controller-base.d.ts +1 -5
- package/lib/types/views/shape-text-editor/shape-text-no-wrap-layout.d.ts +2 -1
- package/lib/types/views/shape-text-editor/types.d.ts +3 -7
- 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 +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x56c0cf=_0x4435;(function(_0x221b26,_0x38fa1c){const _0x311501=_0x4435,_0x254530=_0x221b26();while(!![]){try{const _0x42b3a0=parseInt(_0x311501(0x482))/0x1+parseInt(_0x311501(0x52c))/0x2+parseInt(_0x311501(0x44b))/0x3+-parseInt(_0x311501(0x27e))/0x4+parseInt(_0x311501(0x2e9))/0x5*(-parseInt(_0x311501(0x3c0))/0x6)+-parseInt(_0x311501(0x62b))/0x7+-parseInt(_0x311501(0x376))/0x8*(-parseInt(_0x311501(0x3e1))/0x9);if(_0x42b3a0===_0x38fa1c)break;else _0x254530['push'](_0x254530['shift']());}catch(_0x5b0791){_0x254530['push'](_0x254530['shift']());}}}(_0x3608,0x40355),Object['defineProperty'](exports,Symbol[_0x56c0cf(0x260)],{'value':_0x56c0cf(0x3e7)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs/core'),a=require('@univerjs/ui'),o=require('@univerjs/drawing'),s=require('@univerjs-pro/engine-shape'),c=require('@univerjs/engine-render'),l=require('@univerjs/docs'),u=require('@univerjs/docs-ui');const d={'none':_0x56c0cf(0x3b5),'solid':_0x56c0cf(0x39e),'gradient':_0x56c0cf(0x668),'picture':_0x56c0cf(0x40f)},f={'type':_0x56c0cf(0x6a8),'angle':0x0,'stops':[{'color':_0x56c0cf(0x22b),'offset':0x0},{'color':'#000000','offset':0x64}]};function p(_0x13be38){const _0x1ea750=_0x56c0cf;var _0x5c06bc,_0x476be9,_0x59a535,_0x569ab4,_0x3d4470;let {className:_0x26b8d5,compact:_0x5d1f37=!0x0,disabled:_0x28ee9c=!0x1,direction:_0x4ac3c6,value:_0x3d586f,typeValues:_0x347450=d,color:_0x6a937e=_0x1ea750(0x22b),transparency:_0x5f2380=0x0,gradientValue:_0x3c833f=f,labels:_0xb584ad,tabLabels:_0x1e576c,noFillEditor:_0x36bb46,pictureFillEditor:_0x311f18,renderColorIcon:_0x4a21d2,keepColorPickerOpenOnChange:_0x5af66e=!0x1,onChange:_0x379dab,onColorChange:_0x5e1aeb,onTransparencyChange:_0x15282f,onGradientChange:_0x3ff9ee}=_0x13be38,[_0x5d8789,_0xed703d]=(0x0,n[_0x1ea750(0x1c0)])(!0x1),_0x4841aa=[{'label':(_0x5c06bc=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x422)])==null?_0xb584ad[_0x1ea750(0x422)]:_0x5c06bc,'value':_0x347450[_0x1ea750(0x3b5)]},{'label':(_0x476be9=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x5c4)])==null?_0xb584ad['solidFill']:_0x476be9,'value':_0x347450[_0x1ea750(0x39e)]},{'label':(_0x59a535=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x62a)])==null?_0xb584ad[_0x1ea750(0x62a)]:_0x59a535,'value':_0x347450['gradient']},{'label':(_0x569ab4=_0x1e576c==null?void 0x0:_0x1e576c[_0x1ea750(0x6ca)])==null?_0xb584ad[_0x1ea750(0x6ca)]:_0x569ab4,'value':_0x347450[_0x1ea750(0x40f)]}];return(0x0,r[_0x1ea750(0x372)])('div',{'dir':_0x4ac3c6,'className':(0x0,e['clsx'])(_0x1ea750(0x568),_0x5d1f37?_0x1ea750(0x6b1):_0x1ea750(0x6f8),_0x26b8d5),'children':[(0x0,r['jsx'])(e[_0x1ea750(0x247)],{'className':(0x0,e[_0x1ea750(0x4e6)])('univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden',_0x5d1f37&&_0x1ea750(0x506),_0x28ee9c&&_0x1ea750(0x1e2)),'items':_0x4841aa,'value':_0x3d586f,'onChange':_0x369079=>{_0x28ee9c||_0x379dab==null||_0x379dab(_0x369079);}}),_0x3d586f===_0x347450[_0x1ea750(0x3b5)]&&_0x36bb46,_0x3d586f===_0x347450[_0x1ea750(0x39e)]&&(0x0,r[_0x1ea750(0x372)])(_0x1ea750(0x21c),{'className':(0x0,e[_0x1ea750(0x4e6)])(_0x1ea750(0x3aa),_0x5d1f37?_0x1ea750(0x6cc):_0x1ea750(0x6b1)),'children':[(0x0,r['jsxs'])(_0x1ea750(0x21c),{'className':_0x1ea750(0x4dc),'children':[(0x0,r[_0x1ea750(0x6f0)])(_0x1ea750(0x6c6),{'className':_0x1ea750(0x61f),'children':_0xb584ad[_0x1ea750(0x5b7)]}),(0x0,r[_0x1ea750(0x6f0)])(e[_0x1ea750(0x1b9)],{'disabled':_0x28ee9c,'overlay':(0x0,r[_0x1ea750(0x6f0)])(_0x1ea750(0x21c),{'className':_0x1ea750(0x62c),'dir':_0x4ac3c6,'children':(0x0,r[_0x1ea750(0x6f0)])(e['ColorPicker'],{'value':_0x6a937e,'onChange':_0x3b976d=>{_0x5e1aeb==null||_0x5e1aeb(_0x3b976d),_0x5af66e||_0xed703d(!0x1);}})}),'open':_0x5d8789,'onOpenChange':_0xed703d,'children':(0x0,r['jsxs'])('a',{'className':_0x1ea750(0x4ac),'children':[(_0x3d4470=_0x4a21d2==null?void 0x0:_0x4a21d2(_0x6a937e))==null?(0x0,r[_0x1ea750(0x6f0)])(t[_0x1ea750(0x2c2)],{'className':_0x1ea750(0x3f1),'extend':{'colorChannel1':_0x6a937e}}):_0x3d4470,(0x0,r[_0x1ea750(0x6f0)])(t['MoreDownIcon'],{'className':(0x0,e[_0x1ea750(0x4e6)])(_0x1ea750(0x204),{'univer-rotate-180':_0x5d8789})})]})})]}),(0x0,r[_0x1ea750(0x372)])(_0x1ea750(0x21c),{'className':_0x1ea750(0x4dc),'children':[(0x0,r['jsx'])(_0x1ea750(0x6c6),{'className':_0x1ea750(0x61f),'children':_0xb584ad[_0x1ea750(0x407)]}),(0x0,r[_0x1ea750(0x6f0)])(_0x1ea750(0x21c),{'className':'univer-w-20','children':(0x0,r[_0x1ea750(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','value':_0x5f2380,'disabled':_0x28ee9c,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5e2caa=>_0x5e2caa+'%','parser':_0x150d96=>(_0x150d96==null?void 0x0:_0x150d96[_0x1ea750(0x40d)]('%',''))||'','onChange':_0x5f12c3=>_0x15282f==null?void 0x0:_0x15282f(_0x5f12c3==null?0x0:_0x5f12c3)})})]})]}),_0x3d586f===_0x347450[_0x1ea750(0x668)]&&(0x0,r['jsx'])(e[_0x1ea750(0x709)],{'className':_0x1ea750(0x491),'compact':_0x5d1f37,'value':_0x3c833f,'onChange':_0x3ff9ee}),_0x3d586f===_0x347450[_0x1ea750(0x40f)]&&_0x311f18]});}var m='@univerjs-pro/shape-editor-ui',h='1.0.0-alpha.3';const g={};function _(_0x33c2ab,_0x34a2eb){return function(_0x2f0af6,_0x14f5b0){_0x34a2eb(_0x2f0af6,_0x14f5b0,_0x33c2ab);};}function v(_0x16b084,_0x5c1f35,_0x485257,_0x33ab66){const _0x90860=_0x56c0cf;var _0x50bfc8=arguments[_0x90860(0x3d5)],_0x5a5309=_0x50bfc8<0x3?_0x5c1f35:_0x33ab66===null?_0x33ab66=Object[_0x90860(0x4e5)](_0x5c1f35,_0x485257):_0x33ab66,_0x4b3943;if(typeof Reflect==_0x90860(0x6ec)&&typeof Reflect[_0x90860(0x345)]=='function')_0x5a5309=Reflect[_0x90860(0x345)](_0x16b084,_0x5c1f35,_0x485257,_0x33ab66);else{for(var _0x15ec88=_0x16b084['length']-0x1;_0x15ec88>=0x0;_0x15ec88--)(_0x4b3943=_0x16b084[_0x15ec88])&&(_0x5a5309=(_0x50bfc8<0x3?_0x4b3943(_0x5a5309):_0x50bfc8>0x3?_0x4b3943(_0x5c1f35,_0x485257,_0x5a5309):_0x4b3943(_0x5c1f35,_0x485257))||_0x5a5309);}return _0x50bfc8>0x3&&_0x5a5309&&Object[_0x90860(0x1a6)](_0x5c1f35,_0x485257,_0x5a5309),_0x5a5309;}const y={'ShapeAccentBorderCallout1Icon':t['ShapeAccentBorderCallout1Icon'],'ShapeAccentBorderCallout2Icon':t[_0x56c0cf(0x6d4)],'ShapeAccentBorderCallout3Icon':t[_0x56c0cf(0x296)],'ShapeAccentCallout1Icon':t[_0x56c0cf(0x6c1)],'ShapeAccentCallout2Icon':t[_0x56c0cf(0x514)],'ShapeAccentCallout3Icon':t[_0x56c0cf(0x23a)],'ShapeActionButtonBackPreviousIcon':t[_0x56c0cf(0x50b)],'ShapeActionButtonBeginningIcon':t['ShapeActionButtonBeginningIcon'],'ShapeActionButtonBlankIcon':t['ShapeActionButtonBlankIcon'],'ShapeActionButtonDocumentIcon':t[_0x56c0cf(0x681)],'ShapeActionButtonEndIcon':t[_0x56c0cf(0x548)],'ShapeActionButtonForwardNextIcon':t[_0x56c0cf(0x6af)],'ShapeActionButtonHelpIcon':t[_0x56c0cf(0x2a9)],'ShapeActionButtonHomeIcon':t[_0x56c0cf(0x2de)],'ShapeActionButtonInformationIcon':t[_0x56c0cf(0x708)],'ShapeActionButtonMovieIcon':t['ShapeActionButtonMovieIcon'],'ShapeActionButtonReturnIcon':t[_0x56c0cf(0x3cd)],'ShapeActionButtonSoundIcon':t[_0x56c0cf(0x3f8)],'ShapeArcIcon':t[_0x56c0cf(0x30b)],'ShapeBentArrowIcon':t[_0x56c0cf(0x6ad)],'ShapeBentConnector3Arrow1Icon':t[_0x56c0cf(0x574)],'ShapeBentConnector3Arrow2Icon':t[_0x56c0cf(0x3d3)],'ShapeBentConnector3Icon':t[_0x56c0cf(0x669)],'ShapeBentUpArrowIcon':t[_0x56c0cf(0x423)],'ShapeBevelIcon':t[_0x56c0cf(0x664)],'ShapeBlockArcIcon':t[_0x56c0cf(0x293)],'ShapeBorderCallout1Icon':t['ShapeBorderCallout1Icon'],'ShapeBorderCallout2Icon':t['ShapeBorderCallout2Icon'],'ShapeBorderCallout3Icon':t[_0x56c0cf(0x2a2)],'ShapeBracePairIcon':t[_0x56c0cf(0x604)],'ShapeBracketPairIcon':t[_0x56c0cf(0x1bd)],'ShapeCallout1Icon':t['ShapeCallout1Icon'],'ShapeCallout2Icon':t['ShapeCallout2Icon'],'ShapeCallout3Icon':t[_0x56c0cf(0x3e6)],'ShapeCanIcon':t[_0x56c0cf(0x43d)],'ShapeChartPlusIcon':t[_0x56c0cf(0x288)],'ShapeChartStarIcon':t['ShapeChartStarIcon'],'ShapeChartXIcon':t[_0x56c0cf(0x587)],'ShapeChevronIcon':t[_0x56c0cf(0x46d)],'ShapeChordIcon':t['ShapeChordIcon'],'ShapeCircularArrowIcon':t[_0x56c0cf(0x1a7)],'ShapeCloudCalloutIcon':t['ShapeCloudCalloutIcon'],'ShapeCloudIcon':t[_0x56c0cf(0x670)],'ShapeCornerIcon':t[_0x56c0cf(0x30f)],'ShapeCornerTabsIcon':t[_0x56c0cf(0x450)],'ShapeCubeIcon':t[_0x56c0cf(0x1b1)],'ShapeCurvedConnector3Arrow1Icon':t[_0x56c0cf(0x42f)],'ShapeCurvedConnector3Arrow2Icon':t[_0x56c0cf(0x510)],'ShapeCurvedConnector3Icon':t['ShapeCurvedConnector3Icon'],'ShapeCurvedDownArrowIcon':t[_0x56c0cf(0x666)],'ShapeCurvedLeftArrowIcon':t[_0x56c0cf(0x4c6)],'ShapeCurvedRightArrowIcon':t['ShapeCurvedRightArrowIcon'],'ShapeCurvedUpArrowIcon':t[_0x56c0cf(0x5ae)],'ShapeDecagonIcon':t[_0x56c0cf(0x58b)],'ShapeDiagStripeIcon':t[_0x56c0cf(0x3f9)],'ShapeDiamondIcon':t['ShapeDiamondIcon'],'ShapeDodecagonIcon':t['ShapeDodecagonIcon'],'ShapeDonutIcon':t['ShapeDonutIcon'],'ShapeDoubleWaveIcon':t['ShapeDoubleWaveIcon'],'ShapeDownArrowCalloutIcon':t['ShapeDownArrowCalloutIcon'],'ShapeDownArrowIcon':t[_0x56c0cf(0x447)],'ShapeEllipseIcon':t['ShapeEllipseIcon'],'ShapeEllipseRibbon2Icon':t[_0x56c0cf(0x3ed)],'ShapeEllipseRibbonIcon':t[_0x56c0cf(0x617)],'ShapeFlowChartAlternateProcessIcon':t[_0x56c0cf(0x38b)],'ShapeFlowChartCollateIcon':t['ShapeFlowChartCollateIcon'],'ShapeFlowChartConnectorIcon':t[_0x56c0cf(0x694)],'ShapeFlowChartDecisionIcon':t[_0x56c0cf(0x1bf)],'ShapeFlowChartDelayIcon':t['ShapeFlowChartDelayIcon'],'ShapeFlowChartDisplayIcon':t['ShapeFlowChartDisplayIcon'],'ShapeFlowChartDocumentIcon':t[_0x56c0cf(0x332)],'ShapeFlowChartExtractIcon':t[_0x56c0cf(0x561)],'ShapeFlowChartInputOutputIcon':t[_0x56c0cf(0x333)],'ShapeFlowChartInternalStorageIcon':t['ShapeFlowChartInternalStorageIcon'],'ShapeFlowChartMagneticDiskIcon':t[_0x56c0cf(0x29f)],'ShapeFlowChartMagneticDrumIcon':t['ShapeFlowChartMagneticDrumIcon'],'ShapeFlowChartMagneticTapeIcon':t[_0x56c0cf(0x4ee)],'ShapeFlowChartManualInputIcon':t[_0x56c0cf(0x5cd)],'ShapeFlowChartManualOperationIcon':t[_0x56c0cf(0x6df)],'ShapeFlowChartMergeIcon':t['ShapeFlowChartMergeIcon'],'ShapeFlowChartMultidocumentIcon':t['ShapeFlowChartMultidocumentIcon'],'ShapeFlowChartOfflineStorageIcon':t[_0x56c0cf(0x458)],'ShapeFlowChartOffpageConnectorIcon':t[_0x56c0cf(0x5c5)],'ShapeFlowChartOnlineStorageIcon':t[_0x56c0cf(0x291)],'ShapeFlowChartOrIcon':t[_0x56c0cf(0x53f)],'ShapeFlowChartPredefinedProcessIcon':t[_0x56c0cf(0x476)],'ShapeFlowChartPreparationIcon':t[_0x56c0cf(0x1c7)],'ShapeFlowChartProcessIcon':t[_0x56c0cf(0x501)],'ShapeFlowChartPunchedCardIcon':t[_0x56c0cf(0x28b)],'ShapeFlowChartPunchedTapeIcon':t[_0x56c0cf(0x1de)],'ShapeFlowChartSortIcon':t[_0x56c0cf(0x5f8)],'ShapeFlowChartSummingJunctionIcon':t['ShapeFlowChartSummingJunctionIcon'],'ShapeFlowChartTerminatorIcon':t[_0x56c0cf(0x20f)],'ShapeFolderCornerIcon':t[_0x56c0cf(0x58e)],'ShapeFrameIcon':t['ShapeFrameIcon'],'ShapeFunnelIcon':t['ShapeFunnelIcon'],'ShapeGear6Icon':t[_0x56c0cf(0x48c)],'ShapeGear9Icon':t[_0x56c0cf(0x507)],'ShapeHalfFrameIcon':t[_0x56c0cf(0x69e)],'ShapeHeartIcon':t[_0x56c0cf(0x61e)],'ShapeHeptagonIcon':t[_0x56c0cf(0x330)],'ShapeHexagonIcon':t['ShapeHexagonIcon'],'ShapeHomePlateIcon':t[_0x56c0cf(0x213)],'ShapeHorizontalScrollIcon':t['ShapeHorizontalScrollIcon'],'ShapeIcon':t[_0x56c0cf(0x1d8)],'ShapeIrregularSeal1Icon':t[_0x56c0cf(0x452)],'ShapeIrregularSeal2Icon':t[_0x56c0cf(0x1f7)],'ShapeLeftArrowCalloutIcon':t[_0x56c0cf(0x511)],'ShapeLeftArrowIcon':t[_0x56c0cf(0x47d)],'ShapeLeftBraceIcon':t[_0x56c0cf(0x62f)],'ShapeLeftBracketIcon':t[_0x56c0cf(0x4e8)],'ShapeLeftCircularArrowIcon':t[_0x56c0cf(0x630)],'ShapeLeftRightArrowCalloutIcon':t[_0x56c0cf(0x488)],'ShapeLeftRightArrowIcon':t[_0x56c0cf(0x4d1)],'ShapeLeftRightCircularArrowIcon':t[_0x56c0cf(0x48f)],'ShapeLeftRightRibbonIcon':t[_0x56c0cf(0x1aa)],'ShapeLeftRightUpArrowIcon':t[_0x56c0cf(0x2f6)],'ShapeLeftUpArrowIcon':t[_0x56c0cf(0x6f1)],'ShapeLightningBoltIcon':t['ShapeLightningBoltIcon'],'ShapeLineIcon':t['ShapeLineIcon'],'ShapeLineInvIcon':t[_0x56c0cf(0x340)],'ShapeMathDivideIcon':t[_0x56c0cf(0x1c1)],'ShapeMathEqualIcon':t[_0x56c0cf(0x5b9)],'ShapeMathMinusIcon':t['ShapeMathMinusIcon'],'ShapeMathMultiplyIcon':t[_0x56c0cf(0x45f)],'ShapeMathNotEqualIcon':t['ShapeMathNotEqualIcon'],'ShapeMathPlusIcon':t['ShapeMathPlusIcon'],'ShapeMoonIcon':t[_0x56c0cf(0x335)],'ShapeNoSmokingIcon':t[_0x56c0cf(0x492)],'ShapeNonIsoscelesTrapezoidIcon':t[_0x56c0cf(0x320)],'ShapeNotchedRightArrowIcon':t[_0x56c0cf(0x47c)],'ShapeOctagonIcon':t[_0x56c0cf(0x292)],'ShapeParallelogramIcon':t[_0x56c0cf(0x591)],'ShapePentagonIcon':t['ShapePentagonIcon'],'ShapePieIcon':t[_0x56c0cf(0x4b5)],'ShapePieWedgeIcon':t[_0x56c0cf(0x2a8)],'ShapePlaqueIcon':t[_0x56c0cf(0x285)],'ShapePlaqueTabsIcon':t[_0x56c0cf(0x6cb)],'ShapePlusIcon':t[_0x56c0cf(0x399)],'ShapeQuadArrowCalloutIcon':t[_0x56c0cf(0x531)],'ShapeQuadArrowIcon':t['ShapeQuadArrowIcon'],'ShapeRectIcon':t['ShapeRectIcon'],'ShapeRectTextboxHorizontalIcon':t[_0x56c0cf(0x42a)],'ShapeRectTextboxVerticalIcon':t['ShapeRectTextboxVerticalIcon'],'ShapeRibbon2Icon':t['ShapeRibbon2Icon'],'ShapeRibbonIcon':t[_0x56c0cf(0x580)],'ShapeRightArrowCalloutIcon':t[_0x56c0cf(0x5e8)],'ShapeRightArrowIcon':t['ShapeRightArrowIcon'],'ShapeRightBraceIcon':t[_0x56c0cf(0x32d)],'ShapeRightBracketIcon':t[_0x56c0cf(0x56a)],'ShapeRound1RectIcon':t['ShapeRound1RectIcon'],'ShapeRound2DiagRectIcon':t[_0x56c0cf(0x534)],'ShapeRound2SameRectIcon':t[_0x56c0cf(0x39a)],'ShapeRoundRectIcon':t[_0x56c0cf(0x436)],'ShapeRtTriangleIcon':t[_0x56c0cf(0x2e6)],'ShapeSmileyFaceIcon':t[_0x56c0cf(0x281)],'ShapeSnip1RectIcon':t[_0x56c0cf(0x365)],'ShapeSnip2DiagRectIcon':t[_0x56c0cf(0x63c)],'ShapeSnip2SameRectIcon':t['ShapeSnip2SameRectIcon'],'ShapeSnipRoundRectIcon':t[_0x56c0cf(0x592)],'ShapeSquareTabsIcon':t[_0x56c0cf(0x244)],'ShapeStar10Icon':t['ShapeStar10Icon'],'ShapeStar12Icon':t[_0x56c0cf(0x397)],'ShapeStar16Icon':t[_0x56c0cf(0x412)],'ShapeStar24Icon':t[_0x56c0cf(0x6bd)],'ShapeStar32Icon':t[_0x56c0cf(0x6fe)],'ShapeStar4Icon':t[_0x56c0cf(0x304)],'ShapeStar5Icon':t[_0x56c0cf(0x45c)],'ShapeStar6Icon':t['ShapeStar6Icon'],'ShapeStar7Icon':t[_0x56c0cf(0x68d)],'ShapeStar8Icon':t[_0x56c0cf(0x24f)],'ShapeStraightConnector1Icon':t[_0x56c0cf(0x628)],'ShapeStraightConnector2Icon':t['ShapeStraightConnector2Icon'],'ShapeStripedRightArrowIcon':t[_0x56c0cf(0x559)],'ShapeSunIcon':t[_0x56c0cf(0x711)],'ShapeSwooshArrowIcon':t[_0x56c0cf(0x37a)],'ShapeTeardropIcon':t['ShapeTeardropIcon'],'ShapeTrapezoidIcon':t[_0x56c0cf(0x4f3)],'ShapeTriangleIcon':t['ShapeTriangleIcon'],'ShapeUpArrowCalloutIcon':t[_0x56c0cf(0x35a)],'ShapeUpArrowIcon':t[_0x56c0cf(0x642)],'ShapeUpDownArrowCalloutIcon':t[_0x56c0cf(0x1a2)],'ShapeUpDownArrowIcon':t[_0x56c0cf(0x6e9)],'ShapeUturnArrowIcon':t[_0x56c0cf(0x6fb)],'ShapeVerticalScrollIcon':t['ShapeVerticalScrollIcon'],'ShapeWaveIcon':t[_0x56c0cf(0x6ee)],'ShapeWedgeEllipseCalloutIcon':t[_0x56c0cf(0x36e)],'ShapeWedgeRectCalloutIcon':t[_0x56c0cf(0x63f)],'ShapeWedgeRoundRectCalloutIcon':t['ShapeWedgeRoundRectCalloutIcon']};let b=class extends i['Disposable']{constructor(_0x23e3bc){const _0x590d47=_0x56c0cf;super(),this['_iconManager']=_0x23e3bc,this[_0x590d47(0x535)]();}[_0x56c0cf(0x535)](){const _0x1b8424=_0x56c0cf;this[_0x1b8424(0x3c9)](this[_0x1b8424(0x45e)][_0x1b8424(0x2f1)](y));}};b=v([_(0x0,(0x0,i[_0x56c0cf(0x1d4)])(a[_0x56c0cf(0x701)]))],b);function x(_0x490f5d){'@babel/helpers - typeof';const _0x2481e5=_0x56c0cf;return x=typeof Symbol==_0x2481e5(0x3c4)&&typeof Symbol[_0x2481e5(0x647)]==_0x2481e5(0x4c3)?function(_0x49884e){return typeof _0x49884e;}:function(_0x578df7){const _0x4d5dd3=_0x2481e5;return _0x578df7&&typeof Symbol==_0x4d5dd3(0x3c4)&&_0x578df7[_0x4d5dd3(0x6f3)]===Symbol&&_0x578df7!==Symbol[_0x4d5dd3(0x5a4)]?_0x4d5dd3(0x4c3):typeof _0x578df7;},x(_0x490f5d);}function S(_0x1d7cde,_0xbfc42a){const _0x1b2232=_0x56c0cf;if(x(_0x1d7cde)!=_0x1b2232(0x6ec)||!_0x1d7cde)return _0x1d7cde;var _0x5427e7=_0x1d7cde[Symbol[_0x1b2232(0x4a9)]];if(_0x5427e7!==void 0x0){var _0xd4d6a9=_0x5427e7[_0x1b2232(0x35d)](_0x1d7cde,_0xbfc42a||'default');if(x(_0xd4d6a9)!='object')return _0xd4d6a9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xbfc42a===_0x1b2232(0x1ce)?String:Number)(_0x1d7cde);}function C(_0x168b7c){const _0x43b917=_0x56c0cf;var _0x2b56d3=S(_0x168b7c,'string');return x(_0x2b56d3)==_0x43b917(0x4c3)?_0x2b56d3:_0x2b56d3+'';}function w(_0x51125a,_0x4847a5,_0x3d179d){return(_0x4847a5=C(_0x4847a5))in _0x51125a?Object['defineProperty'](_0x51125a,_0x4847a5,{'value':_0x3d179d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x51125a[_0x4847a5]=_0x3d179d,_0x51125a;}let T=class extends i[_0x56c0cf(0x5b2)]{constructor(_0x1bc2c9=g,_0x1e22de,_0x4022f8){const _0x587857=_0x56c0cf;super(),this[_0x587857(0x362)]=_0x1bc2c9,this[_0x587857(0x3b0)]=_0x1e22de,this[_0x587857(0x3eb)]=_0x4022f8;let {..._0x2f48e7}=(0x0,i[_0x587857(0x49b)])({},g,this[_0x587857(0x362)]);this['_configService'][_0x587857(0x6a7)](_0x587857(0x4ce),_0x2f48e7);}[_0x56c0cf(0x381)](){const _0x3fdeec=_0x56c0cf;this[_0x3fdeec(0x3b0)][_0x3fdeec(0x5b8)]([b]),this[_0x3fdeec(0x3b0)][_0x3fdeec(0x566)](b);}};w(T,'type',i[_0x56c0cf(0x5de)]['UNIVER_UNKNOWN']),w(T,'pluginName',_0x56c0cf(0x6bb)),w(T,'packageName',m),w(T,_0x56c0cf(0x6de),h),T=v([_(0x1,(0x0,i['Inject'])(i[_0x56c0cf(0x2c8)])),_(0x2,i['IConfigService'])],T);function E(_0x1bd124){const _0x24cfae=_0x56c0cf;return!!_0x1bd124&&typeof _0x1bd124==_0x24cfae(0x6ec)&&typeof _0x1bd124['oKey']=='string';}function D(_0x1fab4c,_0x24cd24){const _0x3c1c92=_0x56c0cf;var _0x1cd794,_0x2147d3,_0x2192e0,_0x3d644c,_0x435269,_0x52c893,_0x5509a2;let _0x5a7844=(_0x1cd794=_0x1fab4c[_0x3c1c92(0x68c)](_0x24cd24[_0x3c1c92(0x22a)]))==null?void 0x0:_0x1cd794[_0x3c1c92(0x5b6)];if(!_0x5a7844)return!0x1;let _0x484a95=(0x0,o['getDrawingShapeKeyByDrawingSearch'])(_0x24cd24),_0x248054=(_0x2147d3=(_0x2192e0=_0x5a7844['getObjectIncludeInGroup'])==null?void 0x0:_0x2192e0[_0x3c1c92(0x35d)](_0x5a7844,_0x484a95))==null?(_0x3d644c=_0x5a7844[_0x3c1c92(0x41d)])==null?void 0x0:_0x3d644c[_0x3c1c92(0x35d)](_0x5a7844,_0x484a95):_0x2147d3;return E(_0x248054)?((_0x435269=_0x5a7844[_0x3c1c92(0x1e3)])==null||(_0x5509a2=(_0x52c893=_0x435269['call'](_0x5a7844))['activeAnObject'])==null||_0x5509a2[_0x3c1c92(0x35d)](_0x52c893,_0x248054),!0x0):!0x1;}function O(_0x1bb15f,_0x374370){const _0x48377f=_0x56c0cf;var _0x2694c0,_0x494783;let _0x333df7=(_0x2694c0=_0x1bb15f[_0x48377f(0x68c)](_0x374370))==null||(_0x2694c0=_0x2694c0['scene'])==null||(_0x494783=_0x2694c0[_0x48377f(0x3ad)])==null?void 0x0:_0x494783[_0x48377f(0x35d)](_0x2694c0);return _0x333df7!=null&&_0x333df7[_0x48377f(0x538)]?(_0x333df7[_0x48377f(0x538)](),!0x0):!0x1;}const k={'borderEnabled':!0x0,'borderStroke':_0x56c0cf(0x601),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x56c0cf(0x22b),'anchorStroke':_0x56c0cf(0x601),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':'canva','rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':_0x56c0cf(0x4b8),'rotateLineEnabled':!0x1,'rotateFill':_0x56c0cf(0x22b),'rotateStroke':_0x56c0cf(0x601),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':_0x56c0cf(0x601),'rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function A(_0xcbacd9){const _0x53859e=_0x56c0cf;var _0x5b77c3,_0x3b3dbe,_0x8cde54,_0x199086,_0x5a5b8d,_0x4f3170,_0x18e028,_0x9b4640,_0x32fc05,_0x6f6a7d,_0x15b032,_0x2b904c,_0x52651b;let {shapeData:_0x5cd362,disableShapeOption:_0x446856,onUpdateShapeData:_0x22ef41,onUpdateShapeFillImage:_0x37334a}=_0xcbacd9,_0x376165=(0x0,a[_0x53859e(0x4ea)])(i[_0x53859e(0x5ad)]),_0x4d7a21=(0x0,a['useDependency'])(i['IContextService']),_0x2192d2=(0x0,a[_0x53859e(0x4ea)])(i['IImageIoService']),_0x430cdf=(0x0,n['useRef'])(null),_0x3ae39a=_0x5cd362[_0x53859e(0x546)],_0x16dc91=!!(_0x3ae39a!=null&&_0x3ae39a[_0x53859e(0x2c4)]),[_0x2104a6,_0x20bb51]=(0x0,n['useState'])((_0x5b77c3=_0x3ae39a==null?void 0x0:_0x3ae39a[_0x53859e(0x616)])==null?0x1:_0x5b77c3),[_0x171616,_0x53d485]=(0x0,n[_0x53859e(0x1c0)])((_0x3b3dbe=_0x3ae39a==null?void 0x0:_0x3ae39a[_0x53859e(0x2ee)])==null?s[_0x53859e(0x367)]['Stretch']:_0x3b3dbe),[_0x776d07,_0x260f2b]=(0x0,n['useState'])((_0x8cde54=_0x3ae39a==null?void 0x0:_0x3ae39a[_0x53859e(0x557)])==null?!0x1:_0x8cde54),[_0x4b6307,_0x3e1596]=(0x0,n[_0x53859e(0x1c0)])((_0x199086=_0x3ae39a==null||(_0x5a5b8d=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x5a5b8d[_0x53859e(0x3ab)])==null?0x0:_0x199086),[_0xd2b522,_0x4f3e19]=(0x0,n[_0x53859e(0x1c0)])((_0x4f3170=_0x3ae39a==null||(_0x18e028=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x18e028[_0x53859e(0x6a2)])==null?0x0:_0x4f3170),[_0x48e7f3,_0x4a95e4]=(0x0,n[_0x53859e(0x1c0)])((_0x9b4640=_0x3ae39a==null||(_0x32fc05=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x32fc05['scaleX'])==null?0x1:_0x9b4640),[_0x352ad6,_0x44eba1]=(0x0,n[_0x53859e(0x1c0)])((_0x6f6a7d=_0x3ae39a==null||(_0x15b032=_0x3ae39a[_0x53859e(0x246)])==null?void 0x0:_0x15b032[_0x53859e(0x466)])==null?0x1:_0x6f6a7d),[_0x52d243,_0x565e30]=(0x0,n['useState'])((_0x2b904c=_0x3ae39a==null||(_0x52651b=_0x3ae39a['imageTile'])==null?void 0x0:_0x52651b[_0x53859e(0x393)])==null?'tl':_0x2b904c),_0x1982b0=_0x171616===s[_0x53859e(0x367)][_0x53859e(0x44a)],_0xcb40e2=Math['round']((0x1-_0x2104a6)*0x64),_0x42f68d=Math[_0x53859e(0x2b5)](_0x48e7f3*0x64),_0x22cf39=Math[_0x53859e(0x2b5)](_0x352ad6*0x64),_0x2d8a81=[{'label':_0x376165['t'](_0x53859e(0x6bf)),'value':'tl'},{'label':_0x376165['t'](_0x53859e(0x3f4)),'value':'t'},{'label':_0x376165['t'](_0x53859e(0x2a0)),'value':'tr'},{'label':_0x376165['t'](_0x53859e(0x6f4)),'value':'l'},{'label':_0x376165['t'](_0x53859e(0x586)),'value':_0x53859e(0x57f)},{'label':_0x376165['t'](_0x53859e(0x6ff)),'value':'r'},{'label':_0x376165['t'](_0x53859e(0x6ab)),'value':'bl'},{'label':_0x376165['t'](_0x53859e(0x402)),'value':'b'},{'label':_0x376165['t'](_0x53859e(0x521)),'value':'br'}],_0x38c548=_0x384220=>{_0x22ef41({'oldShapeData':{'fill':_0x3ae39a?{..._0x3ae39a}:void 0x0}},{'fill':{..._0x3ae39a,..._0x384220}});},_0x4329d5=_0xf8483f=>{const _0x4713af=_0x53859e;_0x38c548({'imageTile':{..._0x3ae39a==null?void 0x0:_0x3ae39a[_0x4713af(0x246)],..._0xf8483f}});},_0x2a2531=()=>{const _0x107cae=_0x53859e;var _0x177abe;return(_0x177abe=_0x430cdf[_0x107cae(0x21b)])==null?void 0x0:_0x177abe['click']();},_0x4cbc9b=async _0x147286=>{const _0x2dab4e=_0x53859e;var _0x5d2f41;let _0x5b92a3=(_0x5d2f41=_0x147286[_0x2dab4e(0x207)][_0x2dab4e(0x276)])==null?void 0x0:_0x5d2f41[0x0];if(!_0x5b92a3)return;_0x147286[_0x2dab4e(0x207)][_0x2dab4e(0x202)]='';let _0x4768b5=await _0x2192d2[_0x2dab4e(0x5cb)](_0x5b92a3);if(_0x4768b5==null)return;let {imageSourceType:_0x424907,source:_0x34fd44,base64Cache:_0x49e5fb}=_0x4768b5,{image:_0x25db98}=await(0x0,o[_0x2dab4e(0x49c)])(_0x49e5fb||'');_0x2192d2['addImageSourceCache'](_0x34fd44,_0x424907,_0x25db98),_0x22ef41({'oldShapeData':{'fill':_0x3ae39a?{..._0x3ae39a}:void 0x0}},{'fill':{..._0x3ae39a,'fillType':s[_0x2dab4e(0x6bc)][_0x2dab4e(0x347)],'fillImageSource':_0x34fd44,'fillImageSourceType':_0x424907}}),_0x37334a==null||_0x37334a(_0x25db98);},_0x2f5dd3=_0x53859e(0x53b),_0x3bf50a=_0x53859e(0x4dc);return(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x53859e(0x428),'children':[(0x0,r[_0x53859e(0x372)])('div',{'className':_0x53859e(0x2d9),'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x53859e(0x387),'children':[(0x0,r['jsx'])(_0x53859e(0x697),{'ref':_0x430cdf,'type':_0x53859e(0x457),'accept':'image/*','className':_0x53859e(0x1f0),'onChange':_0x4cbc9b}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x53859e(0x610),'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x324),{'type':_0x53859e(0x324),'disabled':_0x446856,'className':_0x53859e(0x31f),'onClick':_0x2a2531,'children':(0x0,r[_0x53859e(0x372)])('span',{'children':[_0x376165['t']('shape-editor-ui.fill.picture.insert'),'\x20']})}),_0x16dc91&&(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':'univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800','children':(0x0,r['jsx'])(_0x53859e(0x1cf),{'src':_0x3ae39a==null?void 0x0:_0x3ae39a['fillImageSource'],'alt':'','className':_0x53859e(0x223)})})]})]})]}),(0x0,r['jsxs'])('div',{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x2f2))}),(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':_0x53859e(0x672),'children':(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x4c7)],{'className':_0x53859e(0x4c9),'value':_0xcb40e2,'disabled':_0x446856,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5717ed=>_0x5717ed+'%','parser':_0x4ba262=>(_0x4ba262==null?void 0x0:_0x4ba262[_0x53859e(0x40d)]('%',''))||'','onChange':_0x4d4e61=>{const _0x405d08=_0x53859e;let _0x141c62=(0x64-Math[_0x405d08(0x6e4)](0x0,Math[_0x405d08(0x67f)](0x64,_0x4d4e61==null?0x0:_0x4d4e61)))/0x64;_0x20bb51(_0x141c62),_0x38c548({'imageOpacity':_0x141c62}),_0x4d7a21[_0x405d08(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x53e)],{'checked':_0x1982b0,'disabled':_0x446856,'onChange':_0x532327=>{const _0x108649=_0x53859e;let _0x6e693f=_0x532327?s[_0x108649(0x367)][_0x108649(0x44a)]:s[_0x108649(0x367)]['Stretch'];_0x53d485(_0x6e693f),_0x38c548({'imageFillMode':_0x6e693f});},'children':(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x53859e(0x625),'children':_0x376165['t'](_0x53859e(0x271))})}),_0x1982b0&&(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x20dark:!univer-border-l-gray-600','children':[(0x0,r['jsxs'])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])('span',{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x674))}),(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':_0x53859e(0x672),'children':(0x0,r['jsx'])(e[_0x53859e(0x4c7)],{'className':_0x53859e(0x4c9),'value':_0x4b6307,'disabled':_0x446856,'step':0x1,'onChange':_0x58ddc3=>{_0x4329d5({'offsetX':_0x58ddc3==null?0x0:_0x58ddc3}),_0x3e1596(_0x58ddc3==null?0x0:_0x58ddc3);},'onFocus':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])('span',{'className':_0x2f5dd3,'children':_0x376165['t']('shape-editor-ui.fill.picture.offsetY')}),(0x0,r[_0x53859e(0x6f0)])('div',{'className':_0x53859e(0x672),'children':(0x0,r[_0x53859e(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','value':_0xd2b522,'disabled':_0x446856,'step':0x1,'onChange':_0x175bc2=>{_0x4329d5({'offsetY':_0x175bc2==null?0x0:_0x175bc2}),_0x4f3e19(_0x175bc2==null?0x0:_0x175bc2);},'onFocus':()=>_0x4d7a21[_0x53859e(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r['jsx'])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x328))}),(0x0,r[_0x53859e(0x6f0)])('div',{'className':_0x53859e(0x672),'children':(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x4c7)],{'className':_0x53859e(0x4c9),'value':_0x42f68d,'disabled':_0x446856,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3b4d95=>_0x3b4d95+'%','parser':_0x32b95=>(_0x32b95==null?void 0x0:_0x32b95['replace']('%',''))||'','onChange':_0x4773a5=>{const _0x306123=_0x53859e;let _0x2313af=Math[_0x306123(0x6e4)](0.01,(_0x4773a5==null?0x64:_0x4773a5)/0x64);_0x4a95e4(_0x2313af),_0x4329d5({'scaleX':_0x2313af}),_0x4d7a21[_0x306123(0x691)](i[_0x306123(0x3f5)],!0x1);},'onFocus':()=>_0x4d7a21['setContextValue'](i[_0x53859e(0x3f5)],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r['jsx'])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x42b))}),(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x21c),{'className':'univer-w-20','children':(0x0,r[_0x53859e(0x6f0)])(e[_0x53859e(0x4c7)],{'className':'univer-w-full','value':_0x22cf39,'disabled':_0x446856,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x16dc4b=>_0x16dc4b+'%','parser':_0xcfb768=>(_0xcfb768==null?void 0x0:_0xcfb768[_0x53859e(0x40d)]('%',''))||'','onChange':_0x269916=>{const _0x509c74=_0x53859e;let _0xf944a6=Math[_0x509c74(0x6e4)](0.01,(_0x269916==null?0x64:_0x269916)/0x64);_0x44eba1(_0xf944a6),_0x4329d5({'scaleY':_0xf944a6}),_0x4d7a21[_0x509c74(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x4d7a21['setContextValue'](i[_0x53859e(0x3f5)],!0x0),'onBlur':()=>_0x4d7a21[_0x53859e(0x691)](i[_0x53859e(0x3f5)],!0x1)})})]}),(0x0,r[_0x53859e(0x372)])(_0x53859e(0x21c),{'className':_0x3bf50a,'children':[(0x0,r[_0x53859e(0x6f0)])(_0x53859e(0x6c6),{'className':_0x2f5dd3,'children':_0x376165['t'](_0x53859e(0x26c))}),(0x0,r['jsx'])(_0x53859e(0x21c),{'className':_0x53859e(0x25e),'children':(0x0,r[_0x53859e(0x6f0)])(e['Select'],{'className':_0x53859e(0x4c9),'value':_0x52d243,'options':_0x2d8a81,'disabled':_0x446856,'onChange':_0x1f744c=>{_0x565e30(_0x1f744c),_0x4329d5({'alignment':_0x1f744c});}})})]})]}),(0x0,r['jsx'])(e[_0x53859e(0x53e)],{'checked':_0x776d07,'disabled':_0x446856,'onChange':_0x3fd942=>{_0x260f2b(_0x3fd942),_0x38c548({'imageRotateWithShape':_0x3fd942});},'children':(0x0,r[_0x53859e(0x6f0)])('span',{'className':'univer-text-sm','children':_0x376165['t'](_0x53859e(0x3ca))})})]});}function j(_0x36882d){const _0x5a280c=_0x56c0cf;var _0x3f93cb,_0x484ec8;return(_0x3f93cb=(_0x484ec8=_0x36882d[_0x5a280c(0x546)])==null?void 0x0:_0x484ec8[_0x5a280c(0x3e3)])==null?s[_0x5a280c(0x70f)][_0x5a280c(0x3e3)]:_0x3f93cb;}function M(_0x4540fb){const _0x1be9e7=_0x56c0cf;var _0x35e976,_0x395053,_0x56708c,_0x304055;let _0x4f4665=(0x0,a[_0x1be9e7(0x4ea)])(i[_0x1be9e7(0x5ad)]),_0x40f8ea=(0x0,a[_0x1be9e7(0x4ea)])(i['IContextService']),{shapeData:_0xf8271b,isLineShape:_0x28cf49,shapeId:_0x127ee0,disableShapeOption:_0xc2a2c4,onUpdateShapeData:_0x199d9a,onUpdateShapeFillImage:_0x1856a9}=_0x4540fb,[_0x2e4434,_0x3fb2fb]=(0x0,n['useState'])(j(_0xf8271b)),[_0x22101d,_0x24d1ee]=(0x0,n[_0x1be9e7(0x1c0)])((_0x35e976=(_0x395053=_0xf8271b['fill'])==null?void 0x0:_0x395053[_0x1be9e7(0x5b7)])==null?s[_0x1be9e7(0x70f)][_0x1be9e7(0x546)]:_0x35e976),[_0x577e71,_0x35d7bb]=(0x0,n[_0x1be9e7(0x1c0)])((_0x56708c=(_0x304055=_0xf8271b[_0x1be9e7(0x546)])==null?void 0x0:_0x304055['opacity'])==null?s[_0x1be9e7(0x70f)][_0x1be9e7(0x5eb)]:_0x56708c),[_0x14002e,_0x1b1301]=(0x0,n['useState'])(!0x1);if(_0x28cf49)return null;let _0x43af93=0x64-_0x577e71*0x64;return(0x0,r['jsxs'])(_0x1be9e7(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r['jsxs'])(e['RadioGroup'],{'value':_0x2e4434,'disabled':_0xc2a2c4,'onChange':_0x2ce34c=>{const _0x2b3b68=_0x1be9e7;var _0x4ac25f;_0x199d9a({'oldShapeData':{'fill':{'fillType':(_0x4ac25f=_0xf8271b['fill'])==null?void 0x0:_0x4ac25f[_0x2b3b68(0x3e3)]}}},{'fill':{'fillType':_0x2ce34c}}),_0x3fb2fb(_0x2ce34c);},'direction':_0x1be9e7(0x284),'children':[(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x696)],{'value':s[_0x1be9e7(0x6bc)][_0x1be9e7(0x5a6)],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x625),'children':_0x4f4665['t'](_0x1be9e7(0x4ad))})}),(0x0,r['jsx'])(e[_0x1be9e7(0x696)],{'value':s[_0x1be9e7(0x6bc)]['SolidFill'],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x625),'children':_0x4f4665['t'](_0x1be9e7(0x633))})}),(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x696)],{'value':s[_0x1be9e7(0x6bc)]['GradientFill'],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':'univer-text-sm','children':_0x4f4665['t'](_0x1be9e7(0x643))})}),(0x0,r['jsx'])(e['Radio'],{'value':s['ShapeFillEnum'][_0x1be9e7(0x347)],'children':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x625),'children':_0x4f4665['t'](_0x1be9e7(0x4f2))})})]}),_0x2e4434===s[_0x1be9e7(0x6bc)][_0x1be9e7(0x382)]&&(0x0,r[_0x1be9e7(0x372)])(_0x1be9e7(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r['jsxs'])(_0x1be9e7(0x21c),{'className':_0x1be9e7(0x606),'children':[(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x6c6),{'className':_0x1be9e7(0x43c),'children':_0x4f4665['t'](_0x1be9e7(0x486))}),(0x0,r['jsx'])(e[_0x1be9e7(0x1b9)],{'disabled':_0xc2a2c4,'overlay':(0x0,r[_0x1be9e7(0x6f0)])(_0x1be9e7(0x21c),{'className':_0x1be9e7(0x62c),'children':(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x227)],{'value':_0x22101d,'onChange':_0x4ed4a1=>{const _0x22f48c=_0x1be9e7;var _0x5a7f08;_0x199d9a({'oldShapeData':{'fill':{'color':(_0x5a7f08=_0xf8271b['fill'])==null?void 0x0:_0x5a7f08[_0x22f48c(0x5b7)]}}},{'fill':{'color':_0x4ed4a1}}),_0x24d1ee(_0x4ed4a1),_0x1b1301(!0x1);}})}),'open':_0x14002e,'onOpenChange':_0x1b1301,'children':(0x0,r[_0x1be9e7(0x372)])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(0x0,r[_0x1be9e7(0x6f0)])(t[_0x1be9e7(0x280)],{'className':_0x1be9e7(0x3f1),'extend':{'colorChannel1':_0x22101d}}),(0x0,r['jsx'])(t[_0x1be9e7(0x26b)],{'className':(0x0,e['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x14002e})})]})})]}),(0x0,r[_0x1be9e7(0x372)])('div',{'className':_0x1be9e7(0x4dc),'children':[(0x0,r['jsx'])('span',{'className':_0x1be9e7(0x53b),'children':_0x4f4665['t'](_0x1be9e7(0x2f2))}),(0x0,r[_0x1be9e7(0x6f0)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':(0x0,r[_0x1be9e7(0x6f0)])('div',{'className':'univer-w-20','children':(0x0,r[_0x1be9e7(0x6f0)])(e[_0x1be9e7(0x4c7)],{'className':_0x1be9e7(0x4c9),'value':_0x43af93,'disabled':_0xc2a2c4,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1aebaa=>_0x1aebaa+'%','parser':_0x2af219=>(_0x2af219==null?void 0x0:_0x2af219[_0x1be9e7(0x40d)]('%',''))||'','onChange':_0x356eb2=>{const _0x4cc34a=_0x1be9e7;let _0x1fc584=(0x64-Math[_0x4cc34a(0x6e4)](0x0,Math[_0x4cc34a(0x67f)](0x64,_0x356eb2==null?0x0:_0x356eb2)))/0x64;_0x35d7bb(_0x1fc584),_0x199d9a({'oldShapeData':{'fill':{..._0xf8271b['fill'],'fillType':_0x2e4434}}},{'fill':{..._0xf8271b['fill'],'fillType':_0x2e4434,'opacity':_0x1fc584}}),_0x40f8ea['setContextValue'](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x40f8ea[_0x1be9e7(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x4ac747=_0x1be9e7;_0x40f8ea[_0x4ac747(0x691)](i[_0x4ac747(0x3f5)],!0x1);}})})})]})]}),_0x2e4434===s[_0x1be9e7(0x6bc)][_0x1be9e7(0x6a6)]&&(0x0,r['jsx'])(F,{'shapeData':_0xf8271b,'disableShapeOption':_0xc2a2c4,'onUpdate':_0x32b756=>{const _0x91a0d9=_0x1be9e7;_0x199d9a({'oldShapeData':{'fill':{..._0xf8271b[_0x91a0d9(0x546)]}}},{'fill':{..._0xf8271b[_0x91a0d9(0x546)],..._0x32b756}});}}),_0x2e4434===s[_0x1be9e7(0x6bc)]['PictureFill']&&(0x0,r[_0x1be9e7(0x6f0)])(A,{'shapeId':_0x127ee0,'shapeData':_0xf8271b,'disableShapeOption':_0xc2a2c4,'onUpdateShapeData':_0x199d9a,'onUpdateShapeFillImage':_0x1856a9})]});}function N(_0x53cb65){const _0x4d8054=_0x56c0cf;switch(_0x53cb65){case s[_0x4d8054(0x374)][_0x4d8054(0x429)]:return'linear';case s[_0x4d8054(0x374)][_0x4d8054(0x404)]:return'radial';case s[_0x4d8054(0x374)]['Angular']:return _0x4d8054(0x3fd);case s[_0x4d8054(0x374)][_0x4d8054(0x60d)]:return _0x4d8054(0x61b);default:return _0x4d8054(0x6a8);}}function P(_0x139982){const _0x18eda5=_0x56c0cf;switch(_0x139982){case'linear':return s['ShapeGradientTypeEnum'][_0x18eda5(0x429)];case _0x18eda5(0x4bb):return s[_0x18eda5(0x374)][_0x18eda5(0x404)];case _0x18eda5(0x3fd):return s['ShapeGradientTypeEnum'][_0x18eda5(0x33f)];case _0x18eda5(0x61b):return s[_0x18eda5(0x374)][_0x18eda5(0x60d)];default:return s[_0x18eda5(0x374)][_0x18eda5(0x429)];}}function F(_0x5429f3){const _0xe07fd8=_0x56c0cf;let {shapeData:_0xb72304,disableShapeOption:_0x3a4a4b,onUpdate:_0xbd1bfc}=_0x5429f3,_0x5b1b73=(0x0,n[_0xe07fd8(0x42e)])(()=>{const _0x48fc96=_0xe07fd8;var _0x32c352,_0x426f3a;let _0x4b8c6a=_0xb72304[_0x48fc96(0x546)];return{'type':N((_0x32c352=_0x4b8c6a==null?void 0x0:_0x4b8c6a[_0x48fc96(0x1c5)])==null?s[_0x48fc96(0x70f)][_0x48fc96(0x1c5)]:_0x32c352),'angle':(_0x426f3a=_0x4b8c6a==null?void 0x0:_0x4b8c6a['gradientAngle'])==null?s[_0x48fc96(0x70f)][_0x48fc96(0x235)]:_0x426f3a,'stops':_0x4b8c6a!=null&&_0x4b8c6a[_0x48fc96(0x1db)]&&_0x4b8c6a['gradientStops']['length']>=0x2?_0x4b8c6a[_0x48fc96(0x1db)][_0x48fc96(0x263)](_0x2ab238=>({'color':_0x2ab238[_0x48fc96(0x5b7)],'offset':_0x2ab238[_0x48fc96(0x322)]*0x64,'opacity':_0x2ab238['opacity']})):[{'color':(_0x4b8c6a==null?void 0x0:_0x4b8c6a['color'])||s[_0x48fc96(0x70f)][_0x48fc96(0x546)],'offset':0x0},{'color':s['ShapeDefaultConfig'][_0x48fc96(0x307)],'offset':0x64}]};},[_0xb72304[_0xe07fd8(0x546)]]);return(0x0,r['jsx'])(_0xe07fd8(0x21c),{'className':_0xe07fd8(0x206),'children':(0x0,r[_0xe07fd8(0x6f0)])(e['GradientColorPicker'],{'value':_0x5b1b73,'onChange':_0x9924ef=>{const _0x3265a5=_0xe07fd8;let _0x1742f5=P(_0x9924ef[_0x3265a5(0x4be)]),_0x457f67=_0x9924ef[_0x3265a5(0x572)];_0xbd1bfc({'gradientType':_0x1742f5,'gradientAngle':_0x457f67,'gradientStops':_0x9924ef['stops']['map'](_0x174b41=>({'color':_0x174b41['color'],'position':_0x174b41[_0x3265a5(0x5d9)]/0x64,'opacity':_0x174b41[_0x3265a5(0x313)]}))});}})});}function I(_0xabf3e2){const _0x25f4df=_0x56c0cf;var _0x3d1cb3,_0x560945,_0x199b1c,_0x4ad972,_0x24c44,_0x287382,_0x36a7fa,_0x7cdf26,_0xbdc729,_0x3fcadd,_0x41012f,_0x2dd280,_0x3ddf1e,_0x58e4d0,_0xdbc4b8,_0x2554d5,_0x3d2cdc;let _0x19d282=(0x0,a[_0x25f4df(0x4ea)])(i[_0x25f4df(0x5ad)]),_0x2d3798=(0x0,a[_0x25f4df(0x4ea)])(i[_0x25f4df(0x440)]),{shapeData:_0x38d9a8,isLineShape:_0x19c58c,disableShapeOption:_0x33a24f,onUpdateShapeData:_0x5c525e,onUpdateLineShapeData:_0xc0b61a}=_0xabf3e2,_0x5adc5b=_0x38d9a8[_0x25f4df(0x451)],[_0x4ee944,_0x3d9dfe]=(0x0,n['useState'])((_0x3d1cb3=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x5af)])==null?s[_0x25f4df(0x70f)]['lineType']:_0x3d1cb3),[_0x160369,_0x506825]=(0x0,n['useState'])((_0x560945=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x5b7)])==null?s[_0x25f4df(0x70f)][_0x25f4df(0x451)]:_0x560945),[_0x5d597c,_0x3f7b9c]=(0x0,n[_0x25f4df(0x1c0)])((_0x199b1c=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x313)])==null?s[_0x25f4df(0x70f)][_0x25f4df(0x6c5)]:_0x199b1c),[_0x1fe26d,_0x59630f]=(0x0,n[_0x25f4df(0x1c0)])((_0x4ad972=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x57e)])==null?s[_0x25f4df(0x70f)][_0x25f4df(0x5a3)]:_0x4ad972),[_0x479bec,_0x38473c]=(0x0,n[_0x25f4df(0x1c0)])((_0x24c44=_0x5adc5b==null?void 0x0:_0x5adc5b['cornerRadius'])==null?s['ShapeDefaultConfig'][_0x25f4df(0x4db)]:_0x24c44),[_0x3db983,_0x5f22d9]=(0x0,n[_0x25f4df(0x1c0)])((_0x287382=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x585)])==null?s['ShapeDefaultConfig']['lineDashType']:_0x287382),[_0x50762d,_0x5344e7]=(0x0,n[_0x25f4df(0x1c0)])((_0x36a7fa=_0x5adc5b==null?void 0x0:_0x5adc5b['capType'])==null?s[_0x25f4df(0x70f)]['lineCapType']:_0x36a7fa),[_0x5c12d2,_0x394a0b]=(0x0,n[_0x25f4df(0x1c0)])((_0x7cdf26=_0x5adc5b==null?void 0x0:_0x5adc5b[_0x25f4df(0x3b3)])==null?s[_0x25f4df(0x70f)]['lineJoinType']:_0x7cdf26),[_0x6a91d2,_0x5b17b3]=(0x0,n[_0x25f4df(0x1c0)])((_0xbdc729=_0x5adc5b==null?void 0x0:_0x5adc5b['sketchType'])==null?s[_0x25f4df(0x70f)]['sketchType']:_0xbdc729),_0x4c70c6=_0x38d9a8,[_0x378e61,_0x449c06]=(0x0,n[_0x25f4df(0x1c0)])((_0x3fcadd=(_0x41012f=_0x4c70c6['ln'])==null||(_0x41012f=_0x41012f[_0x25f4df(0x618)])==null?void 0x0:_0x41012f[_0x25f4df(0x4be)])==null?s[_0x25f4df(0x370)][_0x25f4df(0x352)]:_0x3fcadd),[_0x5341de,_0x380506]=(0x0,n['useState'])((_0x2dd280=(_0x3ddf1e=_0x4c70c6['ln'])==null||(_0x3ddf1e=_0x3ddf1e['startArrow'])==null?void 0x0:_0x3ddf1e[_0x25f4df(0x53c)])==null?s[_0x25f4df(0x27c)][_0x25f4df(0x5b0)]:_0x2dd280),[_0x15c3a3,_0x15ffd2]=(0x0,n[_0x25f4df(0x1c0)])((_0x58e4d0=(_0xdbc4b8=_0x4c70c6['ln'])==null||(_0xdbc4b8=_0xdbc4b8['endArrow'])==null?void 0x0:_0xdbc4b8[_0x25f4df(0x4be)])==null?s['ShapeArrowTypeEnum'][_0x25f4df(0x352)]:_0x58e4d0),[_0x25f349,_0x223674]=(0x0,n[_0x25f4df(0x1c0)])((_0x2554d5=(_0x3d2cdc=_0x4c70c6['ln'])==null||(_0x3d2cdc=_0x3d2cdc[_0x25f4df(0x6f7)])==null?void 0x0:_0x3d2cdc[_0x25f4df(0x53c)])==null?s['ShapeArrowSizeEnum'][_0x25f4df(0x5b0)]:_0x2554d5),[_0x42a2fa,_0x4606ef]=(0x0,n['useState'])(!0x1),_0x37d3d4=0x64-_0x5d597c*0x64,_0x3da1ee=[{'label':_0x19d282['t'](_0x25f4df(0x297)),'value':String(s[_0x25f4df(0x3ec)]['Solid'])},{'label':_0x19d282['t'](_0x25f4df(0x46c)),'value':String(s[_0x25f4df(0x3ec)]['RoundDot'])},{'label':_0x19d282['t'](_0x25f4df(0x298)),'value':String(s[_0x25f4df(0x3ec)][_0x25f4df(0x437)])},{'label':_0x19d282['t'](_0x25f4df(0x350)),'value':String(s[_0x25f4df(0x3ec)]['Dash'])},{'label':_0x19d282['t'](_0x25f4df(0x4f9)),'value':String(s['ShapeLineDashEnum'][_0x25f4df(0x314)])},{'label':_0x19d282['t'](_0x25f4df(0x3da)),'value':String(s[_0x25f4df(0x3ec)][_0x25f4df(0x4c1)])},{'label':_0x19d282['t'](_0x25f4df(0x272)),'value':String(s[_0x25f4df(0x3ec)][_0x25f4df(0x650)])},{'label':_0x19d282['t'](_0x25f4df(0x556)),'value':String(s['ShapeLineDashEnum'][_0x25f4df(0x2e2)])}],_0xc50431=[{'label':_0x19d282['t'](_0x25f4df(0x685)),'value':String(s[_0x25f4df(0x425)][_0x25f4df(0x1ee)])},{'label':_0x19d282['t']('shape-editor-ui.line.capType.round'),'value':String(s[_0x25f4df(0x425)][_0x25f4df(0x2d0)])},{'label':_0x19d282['t'](_0x25f4df(0x470)),'value':String(s[_0x25f4df(0x425)][_0x25f4df(0x315)])}],_0x3004af=[{'label':_0x19d282['t'](_0x25f4df(0x5db)),'value':String(s['ShapeSketchTypeEnum']['None'])},{'label':_0x19d282['t'](_0x25f4df(0x39c)),'value':String(s[_0x25f4df(0x2d8)]['Curved'])},{'label':_0x19d282['t'](_0x25f4df(0x595)),'value':String(s[_0x25f4df(0x2d8)][_0x25f4df(0x3d7)])},{'label':_0x19d282['t']('shape-editor-ui.line.sketchType.handDrawn'),'value':String(s[_0x25f4df(0x2d8)][_0x25f4df(0x67c)])}],_0x570d38=[{'label':_0x19d282['t'](_0x25f4df(0x2bd)),'value':String(s[_0x25f4df(0x5fe)][_0x25f4df(0x21e)])},{'label':_0x19d282['t'](_0x25f4df(0x369)),'value':String(s[_0x25f4df(0x5fe)]['Round'])},{'label':_0x19d282['t'](_0x25f4df(0x364)),'value':String(s[_0x25f4df(0x5fe)]['Bevel'])}],_0xf7528c=[{'label':_0x19d282['t'](_0x25f4df(0x302)),'value':String(s['ShapeArrowTypeEnum'][_0x25f4df(0x352)])},{'label':_0x19d282['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(s[_0x25f4df(0x370)]['Arrow'])},{'label':_0x19d282['t']('shape-editor-ui.line.arrowType.openArrow'),'value':String(s[_0x25f4df(0x370)]['OpenArrow'])},{'label':_0x19d282['t'](_0x25f4df(0x1c4)),'value':String(s[_0x25f4df(0x370)][_0x25f4df(0x683)])},{'label':_0x19d282['t'](_0x25f4df(0x250)),'value':String(s[_0x25f4df(0x370)][_0x25f4df(0x6e2)])},{'label':_0x19d282['t'](_0x25f4df(0x2e4)),'value':String(s[_0x25f4df(0x370)][_0x25f4df(0x1a9)])}],_0xd4d7c6=[{'label':_0x19d282['t'](_0x25f4df(0x1ec)),'value':String(s[_0x25f4df(0x27c)]['Small'])},{'label':_0x19d282['t']('shape-editor-ui.line.arrowSize.medium'),'value':String(s[_0x25f4df(0x27c)][_0x25f4df(0x5b0)])},{'label':_0x19d282['t'](_0x25f4df(0x6eb)),'value':String(s['ShapeArrowSizeEnum'][_0x25f4df(0x4a4)])}];return(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x32e),'children':[(0x0,r[_0x25f4df(0x372)])(e['RadioGroup'],{'value':String(_0x4ee944),'disabled':_0x33a24f,'onChange':_0x32da7e=>{const _0x17a062=_0x25f4df;var _0x3db782;_0x3d9dfe(Number(_0x32da7e)),_0x5c525e({'oldShapeData':{'stroke':{'lineStrokeType':(_0x3db782=_0x38d9a8[_0x17a062(0x451)])==null?void 0x0:_0x3db782[_0x17a062(0x5af)]}}},{'stroke':{'lineStrokeType':Number(_0x32da7e)}});},'direction':_0x25f4df(0x284),'children':[(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x696)],{'value':String(s['ShapeLineTypeEnum']['NoLine']),'children':(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x625),'children':_0x19d282['t']('shape-editor-ui.line.noLine')})}),(0x0,r['jsx'])(e['Radio'],{'value':String(s[_0x25f4df(0x516)]['SolidLine']),'children':(0x0,r['jsx'])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x625),'children':_0x19d282['t'](_0x25f4df(0x3de))})})]}),_0x4ee944!==s[_0x25f4df(0x516)][_0x25f4df(0x33b)]&&(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r['jsxs'])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t']('shape-editor-ui.line.color')}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x33a24f,'overlay':(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x62c),'children':(0x0,r[_0x25f4df(0x6f0)])(e['ColorPicker'],{'value':_0x160369,'onChange':_0x370cdc=>{const _0x3db617=_0x25f4df;var _0x4a7005;_0x5c525e({'oldShapeData':{'stroke':{'color':(_0x4a7005=_0x38d9a8[_0x3db617(0x451)])==null?void 0x0:_0x4a7005[_0x3db617(0x5b7)]}}},{'stroke':{'color':_0x370cdc}}),_0x506825(_0x370cdc),_0x4606ef(!0x1);}})}),'open':_0x42a2fa,'onOpenChange':_0x4606ef,'children':(0x0,r[_0x25f4df(0x372)])('a',{'className':_0x25f4df(0x4ac),'children':[(0x0,r[_0x25f4df(0x6f0)])(t[_0x25f4df(0x43a)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x160369}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x25f4df(0x4e6)])(_0x25f4df(0x204),{'univer-rotate-180':_0x42a2fa})})]})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x4dc),'children':[(0x0,r['jsx'])(_0x25f4df(0x6c6),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t']('shape-editor-ui.line.transparency')}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x4dc),'children':(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':'univer-w-20\x20univer-flex-1','children':(0x0,r['jsx'])(e[_0x25f4df(0x4c7)],{'className':_0x25f4df(0x4c9),'value':_0x37d3d4,'disabled':_0x33a24f,'min':0x0,'max':0x64,'formatter':_0x42e5c9=>_0x42e5c9+'%','parser':_0x4268db=>(_0x4268db==null?void 0x0:_0x4268db[_0x25f4df(0x40d)]('%',''))||'','onChange':_0xba3042=>{const _0x110c2a=_0x25f4df;var _0xe2e0ff;let _0x2d3ce3=(0x64-Math[_0x110c2a(0x6e4)](0x0,Math[_0x110c2a(0x67f)](0x64,_0xba3042==null?0x0:_0xba3042)))/0x64;_0x3f7b9c(_0x2d3ce3),_0x5c525e({'oldShapeData':{'stroke':{'opacity':(_0xe2e0ff=_0x38d9a8['stroke'])==null?void 0x0:_0xe2e0ff['opacity']}}},{'stroke':{'opacity':_0x2d3ce3}}),_0x2d3798['setContextValue'](i[_0x110c2a(0x3f5)],!0x1);},'onFocus':()=>_0x2d3798[_0x25f4df(0x691)](i[_0x25f4df(0x3f5)],!0x0),'onBlur':_0x3eca75=>{const _0xc07f4b=_0x25f4df;_0x2d3798['setContextValue'](i[_0xc07f4b(0x3f5)],!0x1);}})})})]}),(0x0,r['jsxs'])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t']('shape-editor-ui.line.width')}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':'univer-w-20','children':(0x0,r[_0x25f4df(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','disabled':_0x33a24f,'value':_0x1fe26d,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x14613f=>{const _0x2d95d9=_0x25f4df;if(!Number['isNaN'](_0x14613f)&&_0x14613f!==null){var _0x4632ee;_0x5c525e({'oldShapeData':{'stroke':{'width':(_0x4632ee=_0x38d9a8[_0x2d95d9(0x451)])==null?void 0x0:_0x4632ee['width']}}},{'stroke':{'width':_0x14613f}});}_0x2d3798['setContextValue'](i[_0x2d95d9(0x3f5)],!0x1);},'onFocus':()=>_0x2d3798['setContextValue'](i[_0x25f4df(0x3f5)],!0x0),'onBlur':_0x383660=>{const _0x493dc2=_0x25f4df;_0x2d3798[_0x493dc2(0x691)](i[_0x493dc2(0x3f5)],!0x1);}})})]}),_0x19c58c&&(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x4dc),'children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x52f))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x672),'children':(0x0,r[_0x25f4df(0x6f0)])(e['InputNumber'],{'className':'univer-w-full','disabled':_0x33a24f,'value':_0x479bec,'min':0x0,'step':0x1,'onChange':_0x3a835c=>{const _0x3543b4=_0x25f4df;var _0x42d54e;let _0xd770f0=Math[_0x3543b4(0x6e4)](0x0,_0x3a835c==null?0x0:_0x3a835c);_0x38473c(_0xd770f0),_0x5c525e({'oldShapeData':{'stroke':{'cornerRadius':(_0x42d54e=_0x38d9a8[_0x3543b4(0x451)])==null?void 0x0:_0x42d54e[_0x3543b4(0x4db)]}}},{'stroke':{'cornerRadius':_0xd770f0}}),_0x2d3798['setContextValue'](i[_0x3543b4(0x3f5)],!0x1);},'onFocus':()=>_0x2d3798[_0x25f4df(0x691)](i[_0x25f4df(0x3f5)],!0x0),'onBlur':()=>{const _0x49536c=_0x25f4df;_0x2d3798['setContextValue'](i[_0x49536c(0x3f5)],!0x1);}})})]}),(0x0,r['jsxs'])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])('span',{'className':_0x25f4df(0x43c),'children':_0x19d282['t']('shape-editor-ui.line.dashType.title')}),(0x0,r[_0x25f4df(0x6f0)])('div',{'className':'univer-w-28','children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x3db983),'options':_0x3da1ee,'disabled':_0x33a24f,'onChange':_0x4ae7a1=>{const _0x17dec6=_0x25f4df;var _0x46a51f;_0x5f22d9(Number(_0x4ae7a1)),_0x5c525e({'oldShapeData':{'stroke':{'dashType':(_0x46a51f=_0x38d9a8[_0x17dec6(0x451)])==null?void 0x0:_0x46a51f[_0x17dec6(0x585)]}}},{'stroke':{'dashType':Number(_0x4ae7a1)}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x606),'children':[(0x0,r[_0x25f4df(0x6f0)])('span',{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x502))}),(0x0,r[_0x25f4df(0x6f0)])('div',{'className':_0x25f4df(0x25e),'children':(0x0,r['jsx'])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x50762d),'options':_0xc50431,'disabled':_0x33a24f,'onChange':_0x4f626e=>{const _0x27bc23=_0x25f4df;var _0x4a741c;_0x5344e7(Number(_0x4f626e)),_0x5c525e({'oldShapeData':{'stroke':{'capType':(_0x4a741c=_0x38d9a8[_0x27bc23(0x451)])==null?void 0x0:_0x4a741c['capType']}}},{'stroke':{'capType':Number(_0x4f626e)}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x2f8))}),(0x0,r[_0x25f4df(0x6f0)])('div',{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x5c12d2),'options':_0x570d38,'disabled':_0x33a24f,'onChange':_0x4d3102=>{const _0x5a144f=_0x25f4df;var _0x8c2b0a;_0x394a0b(Number(_0x4d3102)),_0x5c525e({'oldShapeData':{'stroke':{'lineJoinType':(_0x8c2b0a=_0x38d9a8[_0x5a144f(0x451)])==null?void 0x0:_0x8c2b0a['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x4d3102)}});}})})]}),!_0x19c58c&&(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x606),'children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t'](_0x25f4df(0x475))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e['Select'],{'className':_0x25f4df(0x4c9),'value':String(_0x6a91d2),'options':_0x3004af,'disabled':_0x33a24f,'onChange':_0x552240=>{const _0x5bea74=_0x25f4df;var _0x42b1ab;_0x5b17b3(Number(_0x552240)),_0x5c525e({'oldShapeData':{'stroke':{'sketchType':(_0x42b1ab=_0x38d9a8['stroke'])==null?void 0x0:_0x42b1ab[_0x5bea74(0x3cc)]}}},{'stroke':{'sketchType':Number(_0x552240)}});}})})]}),_0x19c58c&&(0x0,r[_0x25f4df(0x372)])(r[_0x25f4df(0x270)],{'children':[(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])('span',{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x35b))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x378e61),'options':_0xf7528c,'onChange':_0x15d8f7=>{const _0x4ebe4e=_0x25f4df;var _0x13d7de;_0x449c06(Number(_0x15d8f7));let _0x3b3dcd={'ln':{'startArrow':{'type':(_0x13d7de=_0x38d9a8['ln'])==null||(_0x13d7de=_0x13d7de['startArrow'])==null?void 0x0:_0x13d7de[_0x4ebe4e(0x4be)]}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x3b3dcd},{'ln':{'startArrow':{'type':Number(_0x15d8f7)}}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r['jsx'])('div',{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e['Select'],{'className':'univer-w-full','value':String(_0x5341de),'options':_0xd4d7c6,'onChange':_0x23a252=>{const _0x3b211b=_0x25f4df;var _0x22697e;_0x380506(Number(_0x23a252));let _0x308f8d={'ln':{'startArrow':{'size':(_0x22697e=_0x38d9a8['ln'])==null||(_0x22697e=_0x22697e[_0x3b211b(0x618)])==null?void 0x0:_0x22697e[_0x3b211b(0x53c)]}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x308f8d},{'ln':{'startArrow':{'size':Number(_0x23a252)}}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x606),'children':[(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x6c6),{'className':_0x25f4df(0x43c),'children':_0x19d282['t'](_0x25f4df(0x1da))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r[_0x25f4df(0x6f0)])(e[_0x25f4df(0x39b)],{'className':'univer-w-full','value':String(_0x15c3a3),'options':_0xf7528c,'onChange':_0x4330b5=>{const _0x5e371b=_0x25f4df;var _0x425200;_0x15ffd2(Number(_0x4330b5));let _0x1db538={'ln':{'endArrow':{'type':(_0x425200=_0x38d9a8['ln'])==null||(_0x425200=_0x425200[_0x5e371b(0x6f7)])==null?void 0x0:_0x425200[_0x5e371b(0x4be)]}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x1db538},{'ln':{'endArrow':{'type':Number(_0x4330b5)}}});}})})]}),(0x0,r[_0x25f4df(0x372)])(_0x25f4df(0x21c),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x25f4df(0x6f0)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19d282['t'](_0x25f4df(0x2bb))}),(0x0,r[_0x25f4df(0x6f0)])(_0x25f4df(0x21c),{'className':_0x25f4df(0x25e),'children':(0x0,r['jsx'])(e[_0x25f4df(0x39b)],{'className':_0x25f4df(0x4c9),'value':String(_0x25f349),'options':_0xd4d7c6,'onChange':_0x2a43a9=>{const _0x31b259=_0x25f4df;var _0x33789d;_0x223674(Number(_0x2a43a9));let _0x3c2ca5={'ln':{'endArrow':{'size':(_0x33789d=_0x38d9a8['ln'])==null||(_0x33789d=_0x33789d[_0x31b259(0x6f7)])==null?void 0x0:_0x33789d['size']}}};_0xc0b61a==null||_0xc0b61a({'oldShapeData':_0x3c2ca5},{'ln':{'endArrow':{'size':Number(_0x2a43a9)}}});}})})]})]})]})]});}function L(_0x4f6d6c){const _0x151fd5=_0x56c0cf;let {shapeData:_0x223049,shapeId:_0x44ed62,shapeType:_0x59311d,disableShapeOption:_0x27efc1,positionEditor:_0x5083f4,onUpdateShapeData:_0x4d785e,onUpdateLineShapeData:_0x5668db,onUpdateShapeFillImage:_0x542316}=_0x4f6d6c,_0x3b826e=(0x0,a[_0x151fd5(0x4ea)])(i['LocaleService']),_0x409daa=(0x0,s[_0x151fd5(0x5b4)])(_0x59311d),[_0x22490d,_0x2f57e5]=(0x0,n['useState'])(0x0),_0x5c35a7=[{'label':(0x0,r['jsx'])('div',{'children':_0x3b826e['t'](_0x151fd5(0x6ef))}),'children':(0x0,r[_0x151fd5(0x6f0)])(_0x151fd5(0x4aa),{'className':_0x151fd5(0x578),'children':(0x0,r[_0x151fd5(0x6f0)])(M,{'shapeId':_0x44ed62,'shapeData':_0x223049,'isLineShape':_0x409daa,'disableShapeOption':_0x27efc1,'onUpdateShapeData':_0x4d785e,'onUpdateShapeFillImage':_0x542316})})},{'label':(0x0,r[_0x151fd5(0x6f0)])('div',{'children':_0x3b826e['t'](_0x151fd5(0x234))}),'children':(0x0,r[_0x151fd5(0x6f0)])(_0x151fd5(0x4aa),{'className':_0x151fd5(0x578),'children':(0x0,r[_0x151fd5(0x6f0)])(I,{'shapeId':_0x44ed62,'shapeData':_0x223049,'isLineShape':_0x409daa,'disableShapeOption':_0x27efc1,'onUpdateShapeData':_0x4d785e,'onUpdateLineShapeData':_0x5668db})})}];return(0x0,r[_0x151fd5(0x372)])(_0x151fd5(0x21c),{'className':_0x151fd5(0x20b),'children':[(0x0,r['jsxs'])(_0x151fd5(0x21c),{'className':_0x151fd5(0x3ac),'children':[(0x0,r[_0x151fd5(0x372)])(_0x151fd5(0x21c),{'className':(0x0,e[_0x151fd5(0x4e6)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x22490d===0x0?_0x151fd5(0x5cf):_0x151fd5(0x5c1)),'onClick':()=>_0x2f57e5(0x0),'children':[_0x3b826e['t'](_0x151fd5(0x59d)),(0x0,r['jsx'])(_0x151fd5(0x21c),{'className':(0x0,e['clsx'])(_0x151fd5(0x6aa),{'univer-bg-primary-600':_0x22490d===0x0,'univer-bg-transparent':_0x22490d!==0x0})})]}),(0x0,r['jsxs'])('div',{'className':(0x0,e[_0x151fd5(0x4e6)])(_0x151fd5(0x239),{'univer-text-primary-600':_0x22490d===0x1,'univer-text-gray-500':_0x22490d!==0x1}),'onClick':()=>_0x2f57e5(0x1),'children':[_0x3b826e['t'](_0x151fd5(0x5a0)),(0x0,r[_0x151fd5(0x6f0)])('div',{'className':(0x0,e[_0x151fd5(0x4e6)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600',{'univer-bg-primary-600':_0x22490d===0x1,'univer-bg-transparent':_0x22490d!==0x1})})]})]}),(0x0,r[_0x151fd5(0x6f0)])(_0x151fd5(0x21c),{'className':_0x151fd5(0x5a8),'children':_0x22490d===0x0?(0x0,r[_0x151fd5(0x6f0)])(e[_0x151fd5(0x5f2)],{'items':_0x5c35a7}):_0x5083f4})]});}function R(_0x126292,_0x4d244e){const _0x1975c7=_0x56c0cf;typeof(_0x126292==null?void 0x0:_0x126292['fs'])==_0x1975c7(0x1fe)&&Number[_0x1975c7(0x571)](_0x126292['fs'])&&(_0x126292['fs']*=_0x4d244e);}function z(_0x377db2,_0x4d17a9){const _0x4b3648=_0x56c0cf;if(!_0x4d17a9)return;let _0x50c038=_0x4d17a9[_0x4b3648(0x41c)]===_0x4b3648(0x3bd)&&typeof _0x4d17a9[_0x4b3648(0x1ff)]=='number'&&Number[_0x4b3648(0x571)](_0x4d17a9['fontScale'])&&_0x4d17a9['fontScale']>0x0?_0x4d17a9['fontScale']/0x186a0:0x1;if(_0x50c038!==0x1){var _0x43b906,_0x15f16d,_0x500905,_0x5cdbc4;_0x377db2[_0x4b3648(0x413)]&&(_0x377db2[_0x4b3648(0x413)]={..._0x377db2[_0x4b3648(0x413)],'textStyle':G(_0x377db2[_0x4b3648(0x413)][_0x4b3648(0x692)])}),(_0x43b906=_0x377db2[_0x4b3648(0x22c)])!=null&&_0x43b906['textRuns']&&(_0x377db2[_0x4b3648(0x22c)][_0x4b3648(0x5dd)]=_0x377db2[_0x4b3648(0x22c)][_0x4b3648(0x5dd)][_0x4b3648(0x263)](_0x310974=>({..._0x310974,'ts':G(_0x310974['ts'])}))),R((_0x15f16d=_0x377db2[_0x4b3648(0x413)])==null?void 0x0:_0x15f16d[_0x4b3648(0x692)],_0x50c038),(_0x500905=_0x377db2['body'])==null||(_0x500905=_0x500905[_0x4b3648(0x5dd)])==null||_0x500905[_0x4b3648(0x660)](_0x3fb4f1=>R(_0x3fb4f1['ts'],_0x50c038)),(_0x5cdbc4=_0x377db2['body'])==null||(_0x5cdbc4=_0x5cdbc4[_0x4b3648(0x636)])==null||_0x5cdbc4[_0x4b3648(0x660)](_0x4b90a5=>{const _0x2e1a65=_0x4b3648;var _0x4763aa;R((_0x4763aa=_0x4b90a5[_0x2e1a65(0x579)])==null?void 0x0:_0x4763aa[_0x2e1a65(0x692)],_0x50c038);});}let _0x381717=_0x4d17a9[_0x4b3648(0x41c)]===_0x4b3648(0x3bd)&&typeof _0x4d17a9[_0x4b3648(0x6c3)]=='number'&&Number['isFinite'](_0x4d17a9[_0x4b3648(0x6c3)])&&_0x4d17a9[_0x4b3648(0x6c3)]<0x186a0?Math[_0x4b3648(0x6e4)](0x0,_0x4d17a9[_0x4b3648(0x6c3)])/0x186a0:0x0;if(_0x381717>0x0){var _0x69f802;(_0x69f802=_0x377db2['body'])==null||(_0x69f802=_0x69f802[_0x4b3648(0x636)])==null||_0x69f802[_0x4b3648(0x660)](_0x1b2ef0=>{const _0x5b403b=_0x4b3648;var _0xdbcfe5;_0x1b2ef0[_0x5b403b(0x579)]!=null||(_0x1b2ef0[_0x5b403b(0x579)]={}),_0x1b2ef0[_0x5b403b(0x579)][_0x5b403b(0x485)]=((_0xdbcfe5=_0x1b2ef0[_0x5b403b(0x579)][_0x5b403b(0x485)])==null?0x1:_0xdbcfe5)*(0x1-_0x381717);});}}function B(_0x28c1f1,_0x1b44eb){const _0x591ba2=_0x56c0cf;if((_0x1b44eb==null?void 0x0:_0x1b44eb[_0x591ba2(0x41c)])!==_0x591ba2(0x3bd))return;let _0x8c494a=typeof _0x1b44eb[_0x591ba2(0x1ff)]==_0x591ba2(0x1fe)&&Number['isFinite'](_0x1b44eb[_0x591ba2(0x1ff)])&&_0x1b44eb[_0x591ba2(0x1ff)]>0x0?_0x1b44eb[_0x591ba2(0x1ff)]/0x186a0:0x1;if(_0x8c494a!==0x1){var _0x23a0dc,_0x4e1cf0,_0x1725e5;R((_0x23a0dc=_0x28c1f1['documentStyle'])==null?void 0x0:_0x23a0dc[_0x591ba2(0x692)],0x1/_0x8c494a),(_0x4e1cf0=_0x28c1f1[_0x591ba2(0x22c)])==null||(_0x4e1cf0=_0x4e1cf0[_0x591ba2(0x5dd)])==null||_0x4e1cf0[_0x591ba2(0x660)](_0x13824b=>R(_0x13824b['ts'],0x1/_0x8c494a)),(_0x1725e5=_0x28c1f1[_0x591ba2(0x22c)])==null||(_0x1725e5=_0x1725e5['paragraphs'])==null||_0x1725e5[_0x591ba2(0x660)](_0x246dbc=>{const _0x1cc196=_0x591ba2;var _0x40c68f;R((_0x40c68f=_0x246dbc[_0x1cc196(0x579)])==null?void 0x0:_0x40c68f[_0x1cc196(0x692)],0x1/_0x8c494a);});}let _0x14db83=0x1-(typeof _0x1b44eb[_0x591ba2(0x6c3)]==_0x591ba2(0x1fe)&&Number[_0x591ba2(0x571)](_0x1b44eb[_0x591ba2(0x6c3)])&&_0x1b44eb[_0x591ba2(0x6c3)]<0x186a0?Math[_0x591ba2(0x6e4)](0x0,_0x1b44eb['lineSpaceReduction'])/0x186a0:0x0);if(_0x14db83>0x0&&_0x14db83!==0x1){var _0xc52dd2;(_0xc52dd2=_0x28c1f1['body'])==null||(_0xc52dd2=_0xc52dd2[_0x591ba2(0x636)])==null||_0xc52dd2[_0x591ba2(0x660)](_0x5d7009=>{const _0x241bfe=_0x591ba2;var _0x827f6a;let _0x5af0cf=(_0x827f6a=_0x5d7009[_0x241bfe(0x579)])==null?void 0x0:_0x827f6a[_0x241bfe(0x485)];typeof _0x5af0cf==_0x241bfe(0x1fe)&&Number['isFinite'](_0x5af0cf)&&(_0x5d7009[_0x241bfe(0x579)][_0x241bfe(0x485)]=_0x5af0cf/_0x14db83);});}}function V(_0x3b5279,_0x44f1a5=_0x56c0cf(0x339)){const _0x3b6b9c=_0x56c0cf;var _0x2a0d74;let _0x1b0def=((_0x2a0d74=_0x3b5279['text'])==null?'':_0x2a0d74)[_0x3b6b9c(0x40d)](/\r\n/g,'\x0a')[_0x3b6b9c(0x40d)](/\r/g,'\x0a')[_0x3b6b9c(0x251)]('\x0a'),_0x56dd62=_0x1b0def[_0x3b6b9c(0x6e5)]('\x0d')+'\x0d\x0a',_0x36dfe5=Math['max'](0x0,_0x56dd62[_0x3b6b9c(0x3d5)]-0x2),_0x3b299f=new Set(),_0x269088=ee(_0x3b5279),_0x155975=te(_0x3b5279),_0x531f0e=H(_0x3b5279),_0x1ae1f6=0x0;return{'id':_0x44f1a5,'body':{'dataStream':_0x56dd62,'paragraphs':_0x1b0def[_0x3b6b9c(0x263)](_0x40076b=>{let _0x20df30=_0x1ae1f6+_0x40076b['length'];return _0x1ae1f6+=_0x40076b['length']+0x1,{'startIndex':_0x20df30,'paragraphId':(0x0,i['createParagraphId'])(_0x3b299f),'paragraphStyle':{'horizontalAlign':_0x155975,'textStyle':_0x269088}};}),'textRuns':[{'st':0x0,'ed':Math[_0x3b6b9c(0x6e4)](0x1,_0x36dfe5),'ts':_0x269088}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x269088,'renderConfig':{'horizontalAlign':_0x155975,'verticalAlign':_0x531f0e}}};}function ee(_0xb0bdbb){const _0x47a0b5=_0x56c0cf;return{..._0xb0bdbb['fontFamily']?{'ff':_0xb0bdbb[_0x47a0b5(0x264)]}:{},..._0xb0bdbb[_0x47a0b5(0x59c)]===void 0x0?{}:{'fs':_0xb0bdbb['fontSize']},..._0xb0bdbb[_0x47a0b5(0x5b7)]?{'cl':{'rgb':_0xb0bdbb[_0x47a0b5(0x5b7)]}}:{},..._0xb0bdbb[_0x47a0b5(0x706)]===void 0x0?{}:{'bl':_0xb0bdbb['bold']?i[_0x47a0b5(0x32b)][_0x47a0b5(0x657)]:i[_0x47a0b5(0x32b)][_0x47a0b5(0x64d)]},..._0xb0bdbb[_0x47a0b5(0x4e4)]===void 0x0?{}:{'it':_0xb0bdbb['italic']?i[_0x47a0b5(0x32b)][_0x47a0b5(0x657)]:i[_0x47a0b5(0x32b)]['FALSE']},..._0xb0bdbb['underline']===void 0x0?{}:{'ul':{'s':_0xb0bdbb[_0x47a0b5(0x32a)]?i[_0x47a0b5(0x32b)][_0x47a0b5(0x657)]:i[_0x47a0b5(0x32b)][_0x47a0b5(0x64d)]}}};}function te(_0x37811b){const _0x4d4315=_0x56c0cf;let _0x155d6f=_0x37811b[_0x4d4315(0x208)];return _0x155d6f===_0x4d4315(0x6fc)?i['HorizontalAlign'][_0x4d4315(0x66f)]:_0x155d6f===_0x4d4315(0x218)?i[_0x4d4315(0x1e4)][_0x4d4315(0x379)]:i[_0x4d4315(0x1e4)][_0x4d4315(0x252)];}function H(_0x5f28b8){const _0x484743=_0x56c0cf;let _0xf3e943=_0x5f28b8[_0x484743(0x40c)];return _0xf3e943===_0x484743(0x3c6)?i[_0x484743(0x5e9)][_0x484743(0x442)]:_0xf3e943==='bottom'?i[_0x484743(0x5e9)][_0x484743(0x217)]:i[_0x484743(0x5e9)][_0x484743(0x338)];}function ne(_0x572145){const _0x2920c7=_0x56c0cf;var _0x3631b5;let _0x51f7d3=(_0x3631b5=_0x572145[_0x2920c7(0x22c)])==null?void 0x0:_0x3631b5[_0x2920c7(0x636)],_0x5ba8bc,_0x19a392=!0x1;if(!_0x51f7d3)return{'hasParagraphAlign':_0x19a392,'isMixed':!0x1};for(let _0x1a3c73 of _0x51f7d3){var _0x3c96ea;let _0x47d80a=(_0x3c96ea=_0x1a3c73[_0x2920c7(0x579)])==null?void 0x0:_0x3c96ea['horizontalAlign'];if(_0x47d80a!==void 0x0){if(!_0x19a392){_0x5ba8bc=_0x47d80a,_0x19a392=!0x0;continue;}if(_0x5ba8bc!==_0x47d80a)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x5ba8bc,'hasParagraphAlign':_0x19a392,'isMixed':!0x1};}function re(_0x43139e,_0x52380d={}){const _0x36a23c=_0x56c0cf;var _0x46d357,_0x290826,_0x7a5763;let _0x2db880=(_0x46d357=_0x43139e[_0x36a23c(0x413)])==null?void 0x0:_0x46d357[_0x36a23c(0x520)],_0x2f2323=ne(_0x43139e);return{'horizontalAlign':_0x2f2323[_0x36a23c(0x56c)]?_0x2f2323[_0x36a23c(0x3b9)]?void 0x0:_0x2f2323[_0x36a23c(0x208)]:(_0x290826=_0x2db880==null?void 0x0:_0x2db880[_0x36a23c(0x208)])==null?_0x52380d[_0x36a23c(0x208)]:_0x290826,'verticalAlign':(_0x7a5763=_0x2db880==null?void 0x0:_0x2db880[_0x36a23c(0x40c)])==null?_0x52380d[_0x36a23c(0x40c)]:_0x7a5763};}function ie(_0x28f9f3,_0x4c001b){const _0x251665=_0x56c0cf;var _0x59ed90;let _0x4f0ddb=(_0x59ed90=_0x28f9f3[_0x251665(0x413)])==null?{}:_0x59ed90,_0x4087c3={..._0x4f0ddb[_0x251665(0x520)]};if(_0x4c001b[_0x251665(0x40c)]!==void 0x0&&(_0x4087c3[_0x251665(0x40c)]=_0x4c001b[_0x251665(0x40c)]),_0x4c001b[_0x251665(0x208)]!==void 0x0){var _0x15454a;_0x4087c3['horizontalAlign']=_0x4c001b[_0x251665(0x208)];let _0x29dd75=(_0x15454a=_0x28f9f3[_0x251665(0x22c)])==null?void 0x0:_0x15454a[_0x251665(0x636)];if(_0x29dd75){for(let _0x240241 of _0x29dd75)_0x240241[_0x251665(0x579)]={..._0x240241[_0x251665(0x579)],'horizontalAlign':_0x4c001b['horizontalAlign']};}}_0x28f9f3[_0x251665(0x413)]={..._0x4f0ddb,'renderConfig':Object['keys'](_0x4087c3)[_0x251665(0x3d5)]>0x0?_0x4087c3:void 0x0};}function ae(_0x48f2a){const _0x264c40=_0x56c0cf;var _0x3f670c,_0x1868c1,_0x452329,_0x7f70a1;let _0x19438b=(_0x3f670c=(_0x1868c1=_0x48f2a['body'])==null||(_0x1868c1=_0x1868c1[_0x264c40(0x4d7)])==null?void 0x0:_0x1868c1[_0x264c40(0x3d5)])==null?0x0:_0x3f670c,_0x35ff1e=(_0x452329=_0x48f2a[_0x264c40(0x22c)])==null?void 0x0:_0x452329[_0x264c40(0x539)];if(_0x35ff1e!=null&&_0x35ff1e[_0x264c40(0x3d5)])for(let _0x5de639 of _0x35ff1e){var _0x440b88;_0x5de639[_0x264c40(0x66a)]=(_0x440b88=_0x5de639[_0x264c40(0x66a)])==null?i[_0x264c40(0x2ea)][_0x264c40(0x256)]:_0x440b88;}else _0x48f2a[_0x264c40(0x22c)]&&(_0x48f2a['body']['sectionBreaks']=[{'sectionId':(0x0,i[_0x264c40(0x1e6)])(new Set()),'startIndex':Math['max'](0x0,_0x19438b-0x1),'gridType':i[_0x264c40(0x2ea)][_0x264c40(0x256)]}]);let _0x2d7e19=(_0x7f70a1=_0x48f2a[_0x264c40(0x22c)])==null?void 0x0:_0x7f70a1[_0x264c40(0x636)];if(_0x2d7e19)for(let _0x41cc00 of _0x2d7e19){var _0x2e5124,_0x11a2ba,_0x239d75,_0x57e325,_0x8a3a30,_0x407138,_0x3745ec,_0x522fbb;_0x41cc00[_0x264c40(0x579)]={..._0x41cc00[_0x264c40(0x579)],'lineSpacing':(_0x2e5124=(_0x11a2ba=_0x41cc00[_0x264c40(0x579)])==null?void 0x0:_0x11a2ba[_0x264c40(0x485)])==null?0x1:_0x2e5124,'snapToGrid':(_0x239d75=(_0x57e325=_0x41cc00['paragraphStyle'])==null?void 0x0:_0x57e325[_0x264c40(0x570)])==null?i['BooleanNumber'][_0x264c40(0x64d)]:_0x239d75,'spaceAbove':(_0x8a3a30=(_0x407138=_0x41cc00[_0x264c40(0x579)])==null?void 0x0:_0x407138[_0x264c40(0x1bb)])==null?{'v':0x0}:_0x8a3a30,'spaceBelow':(_0x3745ec=(_0x522fbb=_0x41cc00[_0x264c40(0x579)])==null?void 0x0:_0x522fbb[_0x264c40(0x551)])==null?{'v':0x0}:_0x3745ec};}}function oe(_0x2a1249,_0x121bc3,_0xe32856=new Set()){const _0x1a140e=_0x56c0cf;var _0x2c95ef;let _0x428620=(_0x2c95ef=_0x2a1249['body'])==null?void 0x0:_0x2c95ef[_0x1a140e(0x539)];if(!(!(_0x428620!=null&&_0x428620[_0x1a140e(0x3d5)])||!_0x121bc3))for(let _0x2e81d7 of _0x428620){let _0xc7b6e3={..._0x121bc3,..._0x2e81d7[_0x1a140e(0x520)]},_0x3626c8=_0x121bc3;for(let _0x4973d1 of _0xe32856)Object[_0x1a140e(0x5a4)][_0x1a140e(0x2a4)][_0x1a140e(0x35d)](_0x3626c8,_0x4973d1)&&(_0xc7b6e3[_0x4973d1]=_0x3626c8[_0x4973d1]);_0x2e81d7[_0x1a140e(0x520)]={..._0xc7b6e3};}}function se(_0x189668){const _0x5dde49=_0x56c0cf;var _0x3790b1;let _0x2d5072=(_0x3790b1=_0x189668[_0x5dde49(0x22c)])==null?void 0x0:_0x3790b1[_0x5dde49(0x539)];if(_0x2d5072!=null&&_0x2d5072[_0x5dde49(0x3d5)])for(let _0x4cc1dd of _0x2d5072){if(!_0x4cc1dd[_0x5dde49(0x520)])continue;let _0x4feb97={..._0x4cc1dd['renderConfig']};delete _0x4feb97['centerAngle'],delete _0x4feb97['vertexAngle'],delete _0x4feb97[_0x5dde49(0x6ac)],delete _0x4feb97[_0x5dde49(0x208)],delete _0x4feb97[_0x5dde49(0x40c)],delete _0x4feb97[_0x5dde49(0x3f6)],_0x4cc1dd[_0x5dde49(0x520)]=Object[_0x5dde49(0x34b)](_0x4feb97)[_0x5dde49(0x3d5)]>0x0?_0x4feb97:void 0x0;}}function U(_0x11b451){const _0x14a8c3=_0x56c0cf;var _0x237d3c;let _0x77c827=_0x11b451[_0x14a8c3(0x22c)],_0xbd986b=_0x77c827==null?void 0x0:_0x77c827[_0x14a8c3(0x636)],_0x429f7f=_0x77c827==null?void 0x0:_0x77c827[_0x14a8c3(0x4d7)];if(!_0x77c827||!_0x429f7f)return;let _0x301bb7=[];for(let _0x3b7bca=0x0;_0x3b7bca<_0x429f7f[_0x14a8c3(0x3d5)];_0x3b7bca++)_0x429f7f[_0x3b7bca]==='\x0d'&&_0x301bb7[_0x14a8c3(0x553)](_0x3b7bca);if(!_0x301bb7[_0x14a8c3(0x3d5)])return;let _0x4bb919=new Set((_0x237d3c=_0xbd986b==null?void 0x0:_0xbd986b[_0x14a8c3(0x263)](_0x4ab01c=>_0x4ab01c[_0x14a8c3(0x469)])[_0x14a8c3(0x3f0)](Boolean))==null?[]:_0x237d3c),_0x2aeff5=new Set(),_0x2eb9b0=_0x301bb7[_0x14a8c3(0x263)](_0x36e16d=>{const _0x2888e9=_0x14a8c3;var _0xfe8db9;let _0x27ef63=(_0xfe8db9=_0xbd986b==null?void 0x0:_0xbd986b[_0x2888e9(0x690)]((_0xe65284,_0x461297)=>!_0x2aeff5[_0x2888e9(0x659)](_0x461297)&&_0xe65284['startIndex']===_0x36e16d))==null?-0x1:_0xfe8db9;if(!(_0x27ef63<0x0))return _0x2aeff5[_0x2888e9(0x5b8)](_0x27ef63),_0xbd986b==null?void 0x0:_0xbd986b[_0x27ef63];}),_0x9ac36b=0x0;_0x77c827[_0x14a8c3(0x636)]=_0x2eb9b0[_0x14a8c3(0x263)]((_0x3e2189,_0x4471f6)=>{const _0x603d81=_0x14a8c3;var _0x4b21ad,_0x397f84;let _0x2d159a=_0x3e2189;for(;!_0x2d159a&&_0x9ac36b<((_0x4b21ad=_0xbd986b==null?void 0x0:_0xbd986b[_0x603d81(0x3d5)])==null?0x0:_0x4b21ad);){let _0xd75b92=_0x9ac36b++;_0x2aeff5['has'](_0xd75b92)||(_0x2aeff5['add'](_0xd75b92),_0x2d159a=_0xbd986b==null?void 0x0:_0xbd986b[_0xd75b92]);}return{..._0x2d159a,'startIndex':_0x301bb7[_0x4471f6],'paragraphId':(_0x397f84=_0x2d159a==null?void 0x0:_0x2d159a[_0x603d81(0x469)])==null?(0x0,i[_0x603d81(0x569)])(_0x4bb919):_0x397f84};});}function ce(_0x3d493f,_0x422380){const _0x56abe8=_0x56c0cf;var _0x253d58,_0x253bab,_0x3c378a,_0x1d0e8a,_0x5e1e31,_0x599fc6,_0xe9151,_0x52a554,_0x2d4df5;let {isHorizontal:_0x2ef394,textRect:_0x869830}=_0x422380,_0x478661=_0x2ef394?_0x869830[_0x56abe8(0x57e)]:_0x869830[_0x56abe8(0x480)],_0x505ccb=W(_0x3d493f,_0x2ef394?_0x869830['height']:_0x869830[_0x56abe8(0x57e)]),_0x3d1647=ue(_0x3d493f);z(_0x3d1647,_0x422380['bodyBehavior']);let _0x137a95=(_0x253d58=_0x3d1647[_0x56abe8(0x413)])==null?{}:_0x253d58,_0x425c87={..._0x137a95[_0x56abe8(0x520)],'wrapStrategy':(_0x253bab=(_0x3c378a=_0x422380[_0x56abe8(0x6ac)])==null?(_0x1d0e8a=_0x137a95[_0x56abe8(0x520)])==null?void 0x0:_0x1d0e8a[_0x56abe8(0x6ac)]:_0x3c378a)==null?i[_0x56abe8(0x3a8)]['WRAP']:_0x253bab,'zeroWidthParagraphBreak':(_0x5e1e31=(_0x599fc6=_0x137a95['renderConfig'])==null?void 0x0:_0x599fc6['zeroWidthParagraphBreak'])==null?i['BooleanNumber'][_0x56abe8(0x657)]:_0x5e1e31,'shapeTextOpticalVerticalAlign':_0x2ef394?i[_0x56abe8(0x32b)][_0x56abe8(0x64d)]:i['BooleanNumber'][_0x56abe8(0x657)]};_0x2ef394?(delete _0x425c87[_0x56abe8(0x456)],delete _0x425c87[_0x56abe8(0x662)]):(_0x425c87['centerAngle']=c[_0x56abe8(0x50c)],_0x425c87['vertexAngle']=c[_0x56abe8(0x50c)]),_0x3d1647[_0x56abe8(0x413)]={..._0x137a95,'documentFlavor':i[_0x56abe8(0x27a)][_0x56abe8(0x2d4)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x478661,'height':_0x505ccb},'renderConfig':_0x425c87},U(_0x3d1647),ae(_0x3d1647);let _0x8c4c8=re(_0x3d1647,_0x422380);return ie(_0x3d1647,{'horizontalAlign':_0x8c4c8[_0x56abe8(0x208)],'verticalAlign':(_0xe9151=_0x422380[_0x56abe8(0x40c)])==null?_0x8c4c8[_0x56abe8(0x40c)]:_0xe9151}),(_0x52a554=_0x3d1647[_0x56abe8(0x413)])==null||(_0x52a554=_0x52a554[_0x56abe8(0x520)])==null||delete _0x52a554['horizontalAlign'],oe(_0x3d1647,(_0x2d4df5=_0x3d1647[_0x56abe8(0x413)])==null?void 0x0:_0x2d4df5['renderConfig'],new Set(['shapeTextOpticalVerticalAlign',_0x56abe8(0x40c),_0x56abe8(0x6ac)])),_0x3d1647;}function W(_0x2f184f,_0x448285){const _0x32b63a=_0x56c0cf;var _0x4f3ff5,_0x3f3ce;return(_0x4f3ff5=(_0x3f3ce=_0x2f184f[_0x32b63a(0x22c)])==null||(_0x3f3ce=_0x3f3ce[_0x32b63a(0x539)])==null?void 0x0:_0x3f3ce['some'](_0x4edc4d=>{const _0x1b5193=_0x32b63a;var _0x349b01,_0x470b64;return((_0x349b01=(_0x470b64=_0x4edc4d[_0x1b5193(0x658)])==null?void 0x0:_0x470b64[_0x1b5193(0x3d5)])==null?0x0:_0x349b01)>0x1;}))!=null&&_0x4f3ff5?Math['max'](0x1,_0x448285):0x1/0x0;}function le(_0x59fcf3,_0x5d2c82={}){const _0x283473=_0x56c0cf;var _0x4e8322,_0x488f54,_0x337763;let _0x4e1067=ue(_0x59fcf3);B(_0x4e1067,_0x5d2c82['bodyBehavior']);let _0x2382e9=(_0x4e8322=_0x4e1067[_0x283473(0x413)])==null?{}:_0x4e8322,_0x21186f={..._0x2382e9['renderConfig']},_0x307a2b=re(_0x4e1067,_0x5d2c82),_0x154852=(_0x488f54=_0x5d2c82[_0x283473(0x208)])==null?_0x307a2b[_0x283473(0x208)]:_0x488f54,_0x55682c=(_0x337763=_0x5d2c82[_0x283473(0x40c)])==null?_0x307a2b[_0x283473(0x40c)]:_0x337763;delete _0x21186f['centerAngle'],delete _0x21186f['vertexAngle'],delete _0x21186f[_0x283473(0x6ac)];let _0x20670e=_0x21186f[_0x283473(0x3f6)];return(_0x20670e===i[_0x283473(0x32b)][_0x283473(0x657)]||_0x20670e===!0x0||_0x20670e===i[_0x283473(0x32b)]['FALSE']||_0x20670e===!0x1)&&delete _0x21186f[_0x283473(0x3f6)],_0x4e1067[_0x283473(0x413)]={..._0x2382e9,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object['keys'](_0x21186f)[_0x283473(0x3d5)]>0x0?_0x21186f:void 0x0},ie(_0x4e1067,{'horizontalAlign':_0x154852,'verticalAlign':_0x55682c}),se(_0x4e1067),_0x4e1067;}function ue(_0x4cbef2){const _0x559936=_0x56c0cf;var _0x5831c8,_0x56324f;return{..._0x4cbef2,'body':_0x4cbef2[_0x559936(0x22c)]?{..._0x4cbef2[_0x559936(0x22c)],'paragraphs':(_0x5831c8=_0x4cbef2[_0x559936(0x22c)][_0x559936(0x636)])==null?void 0x0:_0x5831c8[_0x559936(0x263)](_0x47481e=>({..._0x47481e,'paragraphStyle':G(_0x47481e[_0x559936(0x579)])})),'sectionBreaks':(_0x56324f=_0x4cbef2['body'][_0x559936(0x539)])==null?void 0x0:_0x56324f['map'](_0x312552=>({..._0x312552,'renderConfig':G(_0x312552['renderConfig'])}))}:_0x4cbef2[_0x559936(0x22c)],'documentStyle':_0x4cbef2[_0x559936(0x413)]?{..._0x4cbef2['documentStyle'],'renderConfig':G(_0x4cbef2[_0x559936(0x413)]['renderConfig'])}:_0x4cbef2[_0x559936(0x413)]};}function G(_0xe94281){const _0x240dda=_0x56c0cf;return Array['isArray'](_0xe94281)?_0xe94281[_0x240dda(0x263)](_0x9a6b5a=>G(_0x9a6b5a)):!_0xe94281||typeof _0xe94281!=_0x240dda(0x6ec)?_0xe94281:Object[_0x240dda(0x493)](Object[_0x240dda(0x2f0)](_0xe94281)['map'](([_0x14aa86,_0x1d59f5])=>[_0x14aa86,G(_0x1d59f5)]));}function K(_0x4c1bd6){const _0xf9258d=_0x56c0cf;var _0x452488,_0x53ffae,_0x240e72;if(!(_0x4c1bd6!=null&&_0x4c1bd6[_0xf9258d(0x634)]))return null;let _0x55068b=(_0x452488=_0x4c1bd6[_0xf9258d(0x634)][_0xf9258d(0x413)])==null?void 0x0:_0x452488['renderConfig'];return{..._0x4c1bd6,'ha':(_0x53ffae=_0x4c1bd6['ha'])==null?_0x55068b==null?void 0x0:_0x55068b[_0xf9258d(0x208)]:_0x53ffae,'va':(_0x240e72=_0x4c1bd6['va'])==null?_0x55068b==null?void 0x0:_0x55068b[_0xf9258d(0x40c)]:_0x240e72,'doc':_0x4c1bd6[_0xf9258d(0x634)]};}function q(_0x59ba20){let {isRichText:_0x1c3429,..._0x4b1222}=_0x59ba20==null?{}:_0x59ba20;return _0x4b1222;}function J(_0x1bb616){const _0x26860a=_0x56c0cf;return _0x1bb616[_0x26860a(0x40d)](/\r\n/g,'\x0a')[_0x26860a(0x40d)](/\r/g,'\x0a');}function Y(_0x264e40){const _0x1397dd=_0x56c0cf;if(_0x264e40&&_0x1397dd(0x415)in _0x264e40&&typeof _0x264e40[_0x1397dd(0x415)]==_0x1397dd(0x1ce))return _0x264e40[_0x1397dd(0x415)];}function de(_0x51ce9e){const _0x7efaa9=_0x56c0cf;if(!_0x51ce9e||!(_0x7efaa9(0x24b)in _0x51ce9e)||_0x51ce9e['isRichText']!==!0x1)return;let _0x33c9e3=_0x51ce9e;return{..._0x51ce9e[_0x7efaa9(0x264)]?{'ff':_0x51ce9e[_0x7efaa9(0x264)]}:{},..._0x51ce9e[_0x7efaa9(0x59c)]===void 0x0?{}:{'fs':_0x51ce9e[_0x7efaa9(0x59c)]},..._0x51ce9e[_0x7efaa9(0x5b7)]?{'cl':{'rgb':_0x51ce9e[_0x7efaa9(0x5b7)]}}:{},..._0x51ce9e['bold']===void 0x0?{}:{'bl':_0x51ce9e['bold']?i[_0x7efaa9(0x32b)][_0x7efaa9(0x657)]:i['BooleanNumber'][_0x7efaa9(0x64d)]},..._0x51ce9e[_0x7efaa9(0x4e4)]===void 0x0?{}:{'it':_0x51ce9e[_0x7efaa9(0x4e4)]?i['BooleanNumber'][_0x7efaa9(0x657)]:i[_0x7efaa9(0x32b)]['FALSE']},..._0x51ce9e[_0x7efaa9(0x32a)]===void 0x0?{}:{'ul':{'s':_0x51ce9e[_0x7efaa9(0x32a)]?i[_0x7efaa9(0x32b)][_0x7efaa9(0x657)]:i[_0x7efaa9(0x32b)][_0x7efaa9(0x64d)]}},..._0x33c9e3[_0x7efaa9(0x306)]===void 0x0?{}:{'st':{'s':_0x33c9e3[_0x7efaa9(0x306)]?i[_0x7efaa9(0x32b)][_0x7efaa9(0x657)]:i[_0x7efaa9(0x32b)][_0x7efaa9(0x64d)]}},..._0x33c9e3[_0x7efaa9(0x38c)]===void 0x0?{}:{'textFill':_0x33c9e3['textFill']}};}function fe(_0x3776f3,_0xe80d61=i['HorizontalAlign'][_0x56c0cf(0x252)],_0x2e79d7=''){const _0x358ab8=_0x56c0cf;let _0x1fa185=J(_0x2e79d7)['split']('\x0a'),_0x263685=_0x1fa185[_0x358ab8(0x6e5)]('\x0d')+'\x0d\x0a',_0x2243c5=Math[_0x358ab8(0x6e4)](0x0,_0x263685['length']-0x2),_0x5dfddb=new Set(),_0x3fdfcb=0x0,_0x530aa0=_0x1fa185['map'](_0x2a8164=>{const _0x6f9989=_0x358ab8;let _0x19f409={'startIndex':_0x3fdfcb+_0x2a8164[_0x6f9989(0x3d5)],'paragraphId':(0x0,i[_0x6f9989(0x569)])(_0x5dfddb),'paragraphStyle':{'horizontalAlign':_0xe80d61}};return _0x3fdfcb+=_0x2a8164[_0x6f9989(0x3d5)]+0x1,_0x19f409;});return{'id':_0x358ab8(0x1a3),'body':{'dataStream':_0x263685,'textRuns':_0x3776f3?[{'st':0x0,'ed':Math[_0x358ab8(0x6e4)](0x1,_0x2243c5),'ts':{..._0x3776f3}}]:[],'paragraphs':_0x530aa0},'documentStyle':{'textStyle':_0x3776f3?{..._0x3776f3}:void 0x0}};}function pe(_0xbf98e0,_0x1ed040){const _0x363b6f=_0x56c0cf;var _0xa8557c,_0x9ccdf5,_0x3a654f;let _0x2a9480=_0xbf98e0['shapeText'],_0x492594=K(_0x2a9480&&_0x363b6f(0x494)in _0x2a9480?_0x2a9480['dataModel']:void 0x0),_0x3eb927=(_0xa8557c=(_0x9ccdf5=_0x1ed040[_0x363b6f(0x208)])==null?_0x492594==null?void 0x0:_0x492594['ha']:_0x9ccdf5)==null?i['HorizontalAlign'][_0x363b6f(0x252)]:_0xa8557c,_0x570a3c={...de(_0x2a9480),..._0x1ed040[_0x363b6f(0x692)]},_0x3b0bcf=Object[_0x363b6f(0x34b)](_0x570a3c)[_0x363b6f(0x3d5)]>0x0;if(_0x492594!=null&&_0x492594[_0x363b6f(0x634)]){var _0x47f9ef,_0x14366c;return{'va':(_0x47f9ef=_0x492594['va'])==null?i[_0x363b6f(0x5e9)][_0x363b6f(0x338)]:_0x47f9ef,'ha':(_0x14366c=_0x492594['ha'])==null?i[_0x363b6f(0x1e4)]['LEFT']:_0x14366c,'doc':ue(_0x492594['doc'])};}return{'va':i[_0x363b6f(0x5e9)][_0x363b6f(0x338)],'ha':_0x3eb927,'doc':fe(_0x3b0bcf?_0x570a3c:void 0x0,_0x3eb927,(_0x3a654f=Y(_0x2a9480))==null?'':_0x3a654f)};}function me(_0x1575e2,_0x30a136){const _0x21e400=_0x56c0cf;var _0x272e8c,_0x453762,_0x50718d,_0x54a0ce,_0x26fe35;let _0x5acb6e=_0x1575e2[_0x21e400(0x1a1)],_0x297b3d=q(_0x5acb6e),_0x50df07=_0x5acb6e&&_0x21e400(0x494)in _0x5acb6e&&_0x5acb6e['dataModel']&&typeof _0x5acb6e[_0x21e400(0x494)]==_0x21e400(0x6ec)?_0x5acb6e[_0x21e400(0x494)]:{},_0x15bd8a=Y(_0x5acb6e),_0x4f1370=pe(_0x1575e2,_0x30a136),_0x36da5b=(_0x272e8c=_0x30a136[_0x21e400(0x208)])==null?_0x4f1370['ha']:_0x272e8c,_0x580ec0=(_0x453762=_0x30a136[_0x21e400(0x40c)])==null?_0x4f1370['va']:_0x453762,_0x3488b1=_0x4f1370[_0x21e400(0x634)];if(_0x3488b1['documentStyle']={..._0x3488b1[_0x21e400(0x413)],'renderConfig':{...(_0x50718d=_0x3488b1[_0x21e400(0x413)])==null?void 0x0:_0x50718d[_0x21e400(0x520)],'horizontalAlign':_0x36da5b,'verticalAlign':_0x580ec0}},_0x30a136['textStyle']){var _0x78182e,_0x3d20cc;_0x3488b1['documentStyle']={..._0x3488b1[_0x21e400(0x413)],'textStyle':{...(_0x78182e=_0x3488b1[_0x21e400(0x413)])==null?void 0x0:_0x78182e[_0x21e400(0x692)],..._0x30a136[_0x21e400(0x692)]}};let _0x202450=(_0x3d20cc=_0x3488b1[_0x21e400(0x22c)])==null?void 0x0:_0x3d20cc['textRuns'];if(_0x202450){for(let _0x4ab28a of _0x202450)_0x4ab28a['ts']={..._0x4ab28a['ts'],..._0x30a136['textStyle']};}}let _0x3455ca=(_0x54a0ce=_0x3488b1[_0x21e400(0x22c)])==null?void 0x0:_0x54a0ce[_0x21e400(0x636)];if(_0x3455ca){for(let _0x3317fe of _0x3455ca)_0x3317fe[_0x21e400(0x579)]={..._0x3317fe['paragraphStyle'],'horizontalAlign':_0x36da5b};}return{'shapeText':{..._0x297b3d,'isHorizontal':(_0x26fe35=_0x5acb6e==null?void 0x0:_0x5acb6e['isHorizontal'])==null?!0x0:_0x26fe35,..._0x15bd8a===void 0x0?{}:{'text':_0x15bd8a},'dataModel':{..._0x50df07,'va':_0x580ec0,'ha':_0x36da5b,'doc':_0x3488b1}}};}const he=_0x56c0cf(0x1eb),X='#2563EB',Z=_0x56c0cf(0x1e9),ge=_0x56c0cf(0x22b),_e=_0x56c0cf(0x258),ve={'none':s[_0x56c0cf(0x6bc)][_0x56c0cf(0x5a6)],'solid':s[_0x56c0cf(0x6bc)]['SolidFill'],'gradient':s[_0x56c0cf(0x6bc)][_0x56c0cf(0x6a6)],'picture':s[_0x56c0cf(0x6bc)]['PictureFill']};function ye(_0x565846){const _0x518d62=_0x56c0cf;return _0x565846 instanceof HTMLElement?!!_0x565846[_0x518d62(0x584)]('input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select'):!0x1;}function Q(_0x2026f2){const _0x1973a2=_0x56c0cf;ye(_0x2026f2[_0x1973a2(0x207)])||_0x2026f2['preventDefault']();}function $(_0xa76369){const _0x19f7de=_0x56c0cf;_0xa76369[_0x19f7de(0x60b)](),Q(_0xa76369);}function be(_0x10a4d6){const _0x1f6b59=_0x56c0cf;let _0x442f6a=(0x0,n['useRef'])(!0x1),_0x14f96e=(0x0,n[_0x1f6b59(0x2c5)])(null);return{'handleOpenChange':_0x450ca6=>{!_0x450ca6&&_0x442f6a['current']||_0x10a4d6(_0x450ca6);},'markInternalInteraction':()=>{const _0x5c1604=_0x1f6b59;_0x442f6a[_0x5c1604(0x21b)]=!0x0,_0x14f96e[_0x5c1604(0x21b)]&&clearTimeout(_0x14f96e['current']),_0x14f96e[_0x5c1604(0x21b)]=setTimeout(()=>{_0x442f6a['current']=!0x1,_0x14f96e['current']=null;},0x1f4);}};}function xe(_0x4b181f){const _0xbe3b8a=_0x56c0cf;return(0x0,r[_0xbe3b8a(0x6f0)])(_0xbe3b8a(0x6c6),{'className':(0x0,e[_0xbe3b8a(0x4e6)])(_0xbe3b8a(0x4fd),_0x4b181f[_0xbe3b8a(0x5df)]),'children':_0x4b181f['children']});}function Se(_0x23e49b){const _0x4d58b9=_0x56c0cf;return(0x0,r[_0x4d58b9(0x6f0)])(_0x4d58b9(0x21c),{'className':_0x4d58b9(0x2ca),'children':_0x23e49b[_0x4d58b9(0x392)]});}function Ce(_0x51bfa4){const _0x221b27=_0x56c0cf;var _0xb53e6e;return(0x0,r[_0x221b27(0x6f0)])(_0x221b27(0x21c),{..._0x51bfa4[_0x221b27(0x34e)],'onMouseDown':_0x536bda=>{const _0x27b6d1=_0x221b27;if(_0x51bfa4[_0x27b6d1(0x3c7)]){_0x51bfa4[_0x27b6d1(0x3c7)](_0x536bda);return;}_0x536bda['stopPropagation'](),ye(_0x536bda[_0x27b6d1(0x207)])||_0x536bda[_0x27b6d1(0x34f)]();},'className':(0x0,e[_0x221b27(0x4e6)])(_0x221b27(0x434),e[_0x221b27(0x6d2)],(_0xb53e6e=_0x51bfa4[_0x221b27(0x5ec)])==null?_0x221b27(0x505):_0xb53e6e,_0x51bfa4[_0x221b27(0x5df)]),'children':_0x51bfa4[_0x221b27(0x392)]});}function we(_0x2afeca){const _0x45b35f=_0x56c0cf;var _0x49d521,_0x54bcbe;let _0x5f9dcf=(0x0,a[_0x45b35f(0x4ea)])(i['LocaleService']),_0x36d9d3=_0x2afeca[_0x45b35f(0x3a9)]?_0x5f9dcf['t'](_0x2afeca[_0x45b35f(0x3a9)]):(_0x49d521=_0x2afeca[_0x45b35f(0x31b)])==null?'':_0x49d521;return(0x0,r[_0x45b35f(0x6f0)])(e[_0x45b35f(0x481)],{'title':_0x36d9d3,'placement':'bottom','children':(0x0,r[_0x45b35f(0x6f0)])(_0x45b35f(0x324),{'type':_0x45b35f(0x324),'aria-label':_0x36d9d3,'aria-expanded':_0x2afeca['ariaExpanded'],'disabled':_0x2afeca[_0x45b35f(0x54f)],'onClick':_0x2afeca[_0x45b35f(0x478)],'onMouseDown':_0x2afeca[_0x45b35f(0x3c7)],'onPointerDown':_0x2afeca[_0x45b35f(0x63b)],'className':(0x0,e[_0x45b35f(0x4e6)])(_0x45b35f(0x67e),(_0x54bcbe=_0x2afeca[_0x45b35f(0x497)])==null?_0x45b35f(0x6a0):_0x54bcbe,_0x2afeca[_0x45b35f(0x5df)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x2afeca[_0x45b35f(0x522)]}),'children':_0x2afeca[_0x45b35f(0x392)]})});}function Te(_0x284730){const _0x2bcfd2=_0x56c0cf;var _0x279fd5;return(0x0,r[_0x2bcfd2(0x372)])(we,{'title':_0x284730[_0x2bcfd2(0x31b)],'titleKey':_0x284730[_0x2bcfd2(0x3a9)],'active':_0x284730[_0x2bcfd2(0x522)],'ariaExpanded':_0x284730[_0x2bcfd2(0x522)],'className':_0x284730[_0x2bcfd2(0x5df)],'sizeClassName':(_0x279fd5=_0x284730['sizeClassName'])==null?'univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5':_0x279fd5,'onMouseDown':_0x284730['onMouseDown'],'onPointerDown':_0x284730[_0x2bcfd2(0x63b)],'children':[_0x284730[_0x2bcfd2(0x63e)],(0x0,r[_0x2bcfd2(0x6f0)])(t[_0x2bcfd2(0x26b)],{'className':_0x2bcfd2(0x506)})]});}function Ee(_0x3de4d9){const _0x1be55b=_0x56c0cf;let _0x2a89fb=a[_0x1be55b(0x5c2)]['map'](_0x221ec4=>({'label':_0x221ec4[_0x1be55b(0x68f)],'value':String(_0x221ec4[_0x1be55b(0x202)])}));return(0x0,r['jsx'])(e[_0x1be55b(0x39b)],{'className':(0x0,e[_0x1be55b(0x4e6)])(_0x1be55b(0x238),_0x3de4d9[_0x1be55b(0x5df)]),'value':String(_0x3de4d9[_0x1be55b(0x202)]),'options':_0x2a89fb,'onChange':_0x278fda=>{const _0x360f79=_0x1be55b;var _0xb3f3e6;let _0x4d533a=Number(_0x278fda);Number[_0x360f79(0x58c)](_0x4d533a)||_0x3de4d9['onChange'](_0x4d533a),(_0xb3f3e6=_0x3de4d9[_0x360f79(0x6d7)])==null||_0xb3f3e6[_0x360f79(0x35d)](_0x3de4d9);}});}function De(_0x12e089){const _0x5e67f4=_0x56c0cf;let {title:_0x4e3790,open:_0x440f63,disabled:_0x2e30f7,icon:_0x32d301,overlay:_0x5d6088,popoverClassName:_0x23f48d,onApply:_0x4badfc,onOpenChange:_0x19031e}=_0x12e089,_0x1861f4='\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-items-center\x20univer-justify-center\x20univer-border-none\x20univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20';return(0x0,r['jsxs'])('div',{'className':_0x5e67f4(0x22f),'children':[(0x0,r['jsx'])(e[_0x5e67f4(0x481)],{'title':_0x4e3790,'placement':_0x5e67f4(0x4b8),'children':(0x0,r[_0x5e67f4(0x6f0)])(_0x5e67f4(0x324),{'type':'button','aria-label':_0x4e3790,'disabled':_0x2e30f7,'onClick':_0x4badfc,'className':(0x0,e[_0x5e67f4(0x4e6)])(_0x1861f4,_0x5e67f4(0x29d),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x440f63}),'children':_0x32d301})}),(0x0,r[_0x5e67f4(0x6f0)])(e[_0x5e67f4(0x1b9)],{'disabled':_0x2e30f7,'open':_0x440f63,'className':_0x23f48d,'onOpenChange':_0x19031e,'overlay':_0x5d6088,'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x5e67f4(0x6f0)])(e[_0x5e67f4(0x481)],{'title':_0x4e3790,'placement':_0x5e67f4(0x4b8),'children':(0x0,r[_0x5e67f4(0x6f0)])('button',{'type':_0x5e67f4(0x324),'aria-label':_0x4e3790,'disabled':_0x2e30f7,'className':(0x0,e[_0x5e67f4(0x4e6)])(_0x1861f4,_0x5e67f4(0x303),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x440f63}),'children':(0x0,r['jsx'])(t[_0x5e67f4(0x26b)],{'className':(0x0,e[_0x5e67f4(0x4e6)])(_0x5e67f4(0x226),{'univer-rotate-180':_0x440f63})})})})})})]});}function Oe(_0xe0ea5d){const _0x4cffb2=_0x56c0cf;switch(_0xe0ea5d){case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x24c)]:case s[_0x4cffb2(0x3ec)]['SquareDot']:return'1\x203';case s[_0x4cffb2(0x3ec)]['Dash']:return'4\x202';case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x314)]:return _0x4cffb2(0x3e4);case s['ShapeLineDashEnum'][_0x4cffb2(0x4c1)]:return _0x4cffb2(0x42d);case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x650)]:return _0x4cffb2(0x414);case s[_0x4cffb2(0x3ec)][_0x4cffb2(0x2e2)]:return _0x4cffb2(0x6e3);case s['ShapeLineDashEnum'][_0x4cffb2(0x3b4)]:default:return;}}function _0x3608(){const _0x48a53b=['Chevron','SetInlineFormatFontFamilyCommand','FlowchartInternalStorage','HEADING_1','LocaleService','ShapeCurvedUpArrowIcon','lineStrokeType','Medium','root','Plugin','docStateChangeParams$','isConnectorShape','ShapeStar10Icon','scene','color','add','ShapeMathEqualIcon','ActionButtonDocument','shape.type.ellipse','Other','shape.type.pentagon','shape.type.math-minus','resolveShapeTextEditorBehaviorShapeData','shape.type.non-isosceles-trapezoid','univer-text-gray-500','FONT_SIZE_LIST','shape.type.quad-arrow','solidFill','ShapeFlowChartOffpageConnectorIcon','shape-editor-ui.fill.picture.insert','shape.type.star16','BracketPair','viewportKeys','deepCompare','saveImage','RightArrowCallout','ShapeFlowChartManualInputIcon','shape-editor-ui.textEditor.paragraphType.heading3','univer-text-primary-600','updateDocumentDataMargin','shape.type.flow-chart-extract','shape.type.left-right-circular-arrow','SHIFT','PERIOD','univer-flex\x20univer-h-4\x20univer-w-14\x20-univer-translate-y-1\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-border-gray-300\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','shape-editor-ui.toolbar.resetColor','asc','shape-editor-ui.line.noLine','offset','ShapePickerDropdown','shape-editor-ui.line.sketchType.none','AlignLeftCommand','textRuns','UniverInstanceType','className','resolveShapeTextDocumentPageHeight','shape-editor-ui.fill.picture.source','shape.type.star4','HEADING_4','HorizontallyIcon','FlowchartOnlineStorage','focus','MetaKeys','ShapeRightArrowCalloutIcon','VerticalAlign','actions','fillOpacity','maxWidthClassName','Digit7','getDirection','viewportHeight','opticalVerticalAlign','AccentBorderCallout2','Accordion','horz','Star6','shape.type.straight-connector2','pointerup','univer-w-12','ShapeFlowChartSortIcon','ShapeStrokePanelButton','shape.type.right-brace','SwooshArrow','boolean','WRAP','ShapeLineJoinEnum','shape.type.left-up-arrow','butt','#4086f4','FillStyleTabsEditor','AlignCenterCommand','ShapeBracePairIcon','Pentagon','univer-flex\x20univer-items-center\x20univer-justify-between','Ellipse','ILocalStorageService','LeftRightArrowCallout','#9ca3af','stopPropagation','getCanvasElement','Diamond','Triangle','DownArrowCallout','group\x20univer-relative\x20univer-inline-block','resolveShapeTextBodyBehavior','AccentCallout3','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','shape-floating-toolbar-collapsed','shape.type.curved-connector3-arrow2','imageOpacity','ShapeEllipseRibbonIcon','startArrow','ShapePickerPanel','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','diamond','textWrap','stretch','ShapeHeartIcon','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeFlowChartDisplayIcon','memo','AlignBottomIcon','DeleteIcon','WedgeRectCallout','univer-text-sm','heading:','top-center','ShapeStraightConnector1Icon','shape.type.up-arrow','gradientFill','1455692PiOxOu','univer-rounded-lg\x20univer-p-3','shape.type.corner-tabs','onTransformChange$','ShapeLeftBraceIcon','ShapeLeftCircularArrowIcon','isShapeTextEditorDocumentEmpty','shape-editor-ui.align.middle','shape-editor-ui.fill.solidFill','doc','ShapeDonutIcon','paragraphs','nativeEvent','Ribbon2','ShapeEllipseIcon','WedgeRoundRectCallout','onPointerDown','ShapeSnip2DiagRectIcon','pageHeight','icon','ShapeWedgeRectCalloutIcon','shape.type.round1-rect','elementFromPoint','ShapeUpArrowIcon','shape-editor-ui.fill.gradientFill','lineHeight','shape.type.down-arrow-callout','shape.type.flow-chart-predefined-process','iterator','textRanges','shape.type.up-arrow-callout','SetInlineFormatStrikethroughCommand','ShapeFloatingToolbarContent','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','FALSE','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','LeftRightCircularArrow','LongDashDot','ShapeTypeEnum','DeleteLeftCommand','ShapeFlowChartInternalStorageIcon','Callout1','getShapeTextRect','FlowchartDocument','TRUE','columnProperties','has','Snip2SameRect','UnderlineIcon','shape-editor-ui.toolbar.alignJustify','executeCommand','normalizeShapeTextModel','Flowchart','forEach','ShapeDodecagonIcon','vertexAngle','shape.type.smiley-face','ShapeBevelIcon','ShapeHorizontalScrollIcon','ShapeCurvedDownArrowIcon','shape.type.bent-connector3-arrow1','gradient','ShapeBentConnector3Icon','gridType','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','CodeIcon','stripShapeTextPlainMarker','OVERFLOW','CENTER','ShapeCloudIcon','_showFloatMenu','univer-w-20','shape.type.up-down-arrow','shape-editor-ui.fill.picture.offsetX','shape.type.left-bracket','shape.type.bent-connector3','shape.type.star5','clientX','removeEventListener','univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','shape.type.rect-textbox-vertical','HandDrawn','SetParagraphNamedStyleCommand','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','min','WedgeEllipseCallout','ShapeActionButtonDocumentIcon','tangentialPressure','StealthArrow','ShapeWedgeRoundRectCalloutIcon','shape-editor-ui.line.capType.flat','getObjectIncludeInGroup','verticalOffset','getDocumentDataModel','getUnit','UpArrowCallout','calculate','getRenderById','ShapeStar7Icon','onSavingEditorData$','label','findIndex','setContextValue','textStyle','Plaque','ShapeFlowChartConnectorIcon','shape.type.math-equal','Radio','input','square','documentMarginTop','shape.type.flow-chart-sort','ALT','minWidthClassName','useEffect','ShapeHalfFrameIcon','Snip2DiagRect','univer-h-6\x20univer-w-6','isStrike','offsetY','FlowchartMagneticTape','ChartStar','ShapeLineIcon','GradientFill','setConfig','linear','FoldedCorner','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','shape-editor-ui.fill.picture.align.bl','wrapStrategy','ShapeBentArrowIcon','_initSelectionChange','ShapeActionButtonForwardNextIcon','isItalic','univer-gap-3','rgb','ShapeActionButtonBeginningIcon','MoreRightIcon','_componentManager','shape.type.quad-arrow-callout','maxAutoFitWidth','callout','SetInlineFormatBoldCommand','shape.type.circular-arrow','SHAPE_EDITOR_UI_PLUGIN','ShapeFillEnum','ShapeStar24Icon','attachPopupToRange','shape-editor-ui.fill.picture.align.tl','AccentCallout1','ShapeAccentCallout1Icon','shape.type.chart-plus','lineSpaceReduction','shape.type.gear9','strokeOpacity','span','currentLocale$','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-min-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1\x20univer-text-sm\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','pictureFill','ShapePlaqueTabsIcon','univer-gap-2','currentColor','shape.type.diag-stripe','buttonClassName','Arc','tiltX','borderClassName','ShapeFlowChartCollateIcon','ShapeAccentBorderCallout2Icon','ActionButtonBeginning','shape-editor-ui.shape.group.','onAfterChange','PlaqueTabs','baselineWidth','ICommandService','disposable','shape.type.bent-arrow','shape.type.dodecagon','version','ShapeFlowChartManualOperationIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','accent-primary-600\x20univer-h-1.5\x20univer-w-full\x20univer-cursor-pointer\x20univer-appearance-none\x20univer-rounded-full\x20univer-bg-gray-200\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-bg-gray-700\x20[&::-webkit-slider-thumb]:univer-size-3.5\x20[&::-webkit-slider-thumb]:univer-appearance-none\x20[&::-webkit-slider-thumb]:univer-rounded-full\x20[&::-webkit-slider-thumb]:univer-bg-primary-600\x20[&::-webkit-slider-thumb]:univer-shadow-sm','DiamondArrow','8\x202\x201\x202\x201\x202','max','join','BoldIcon','RichTextEditingMutation','shape.type.callout1','ShapeUpDownArrowIcon','StrikethroughIcon','shape-editor-ui.line.arrowSize.large','object','componentKey','ShapeWaveIcon','shape-editor-ui.fill.title','jsx','ShapeLeftUpArrowIcon','Star4','constructor','shape-editor-ui.fill.picture.align.l','univer-w-[260px]','shape.type.action-button-document','endArrow','univer-gap-4','FontColorDoubleIcon','flowAxis','ShapeUturnArrowIcon','center','shape-editor-ui.textEditor.paragraphType.quote','ShapeStar32Icon','shape-editor-ui.fill.picture.align.r','name','IconManager','MathEqual','rowStartY','onCommandExecuted','ShapeAccentBorderCallout1Icon','bold','glyphGroup','ShapeActionButtonInformationIcon','GradientColorPicker','shape.type.chord','Digit8','endOffset','shape.type.ribbon','shape.type.math-not-equal','ShapeDefaultConfig','AccentCallout2','ShapeSunIcon','HEADING_2','shape.type.action-button-home','shape-editor-ui.textEditor.paragraphType.callout','shape.type.bracket-pair','variant','shapeText','ShapeUpDownArrowCalloutIcon','shape-text','setZoomRatio','nextHeight','defineProperty','ShapeCircularArrowIcon','univer-leading-none','OvalArrow','ShapeLeftRightRibbonIcon','options','ShapeTextFloatToolbar','shape-stroke-dash-dropdown','NotchedRightArrow','shape-editor-ui.toolbar.underline','univer-block\x20univer-w-full','ShapeCubeIcon','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','bBox','FlowchartDisplay','#000000','pageMarginTop','DocSelectionRenderService','shape.type.flow-chart-display','Dropdown','Round2DiagRect','spaceAbove','descent','ShapeBracketPairIcon','useLeftAndRightArrow','ShapeFlowChartDecisionIcon','useState','ShapeMathDivideIcon','getCurrentUnitOfType','resolveShapeTextEditorFlowAxis','shape-editor-ui.line.arrowType.stealthArrow','gradientType','pressure','ShapeFlowChartPreparationIcon','LeftUpArrow','marginBottom','horizontalAnchor','shape.type.flow-chart-process','Stretch','actualWidth','string','img','ShapeTriangleIcon','shape.type.flow-chart-offpage-connector','Pie','shape.type.pie-wedge','Inject','KeyCode','ShapeMathMinusIcon','contentVerticalOffset','ShapeIcon','sections','shape-editor-ui.line.endArrowType','gradientStops','mode','getHostTransform','ShapeFlowChartPunchedTapeIcon','BaselineOffset','getItem','excludeGroups','univer-pointer-events-none\x20univer-opacity-60','getTransformerByCreate','HorizontalAlign','shape-editor-ui.toolbar.expandShapeToolbar','createSectionId','_hideFloatMenu','BorderCallout2','#111827','shortcut','#3B82F6','shape-editor-ui.line.arrowSize.small','basicShape','Flat','Gear6','univer-hidden','isTextBox','univer-w-auto','UngroupIcon','_context','clearActiveDrawingObjects','pointerId','ShapeIrregularSeal2Icon','onShapeClick','BracePair','shape.type.notched-right-arrow','shape.type.parallelogram','aba','CurvedDownArrow','number','fontScale','shape-editor-ui.toolbar.subscript','contains','value','shape-editor-ui.textEditor.paragraphType.bulletList','univer-text-gray-600\x20univer-transition-transform','DocSettingIcon','univer-pt-2','target','horizontalAlign','ShapeVerticalScrollIcon','with','univer-size-full','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','shape.type.curved-connector3','ShapeEditPanel','ShapeFlowChartTerminatorIcon','shape.type.no-smoking','_floatMenu','shape.type.flow-chart-magnetic-disk','ShapeHomePlateIcon','univer-mb-2','DELETE','ShapeFlowChartSummingJunctionIcon','BOTTOM','right','paddingTop','worksheet','current','div','requestAnimationFrame','Miter','shape.type.border-callout2','shape.type.round-rect','shape.type.wedge-round-rect-callout','isBold','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','scrollContainer','shape-text-editor-position-wrapper','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','ColorPicker','autoFitNoWrap','H2Icon','unitId','#ffffff','body','shape.type.right-bracket','QuadArrowCallout','univer-flex\x20univer-h-6\x20univer-items-center','contentHeight','unsubscribe','isActive','Star12','shape-editor-ui.line.title','gradientAngle','transparent','FontFamilyDropdown','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','ShapeAccentCallout3Icon','deg)\x20scaleY(','shape.type.action-button-help','ShapeActionButtonMovieIcon','HEADING_3','JUSTIFIED','shape-editor-ui.toolbar.textColor','shape-editor-ui.toolbar.superscript','pages','domY','ShapeSquareTabsIcon','shape.type.action-button-beginning','imageTile','Segmented','ActionButtonReturn','viewportScrollX','shape.type.left-arrow-callout','isRichText','RoundDot','measureDocumentNoWrapTextRangeWidth','ShapeFlowChartMagneticDrumIcon','ShapeStar8Icon','shape-editor-ui.line.arrowType.diamondArrow','split','LEFT','getInitialShapeFillType','ActionButtonMovie','ActionButtonEnd','DEFAULT','SetInlineFormatSuperscriptCommand','univer.shape-editor-ui.floating-toolbar.collapsed','FlowchartSummingJunction','shape.type.rect','shape.type.star10','StripedRightArrow','shape.type.flow-chart-input-output','univer-w-28','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','toStringTag','Star5','Sun','map','fontFamily','ShapeFlowChartDelayIcon','key','getSkeleton','shape-editor-ui.textEditor.paragraphType.normal','GroupIcon','DEFAULT_STYLES','MoreDownIcon','shape-editor-ui.fill.picture.alignment','baselineHeight','univer-grid-cols-3','BulletListCommand','Fragment','shape-editor-ui.fill.picture.tileAsTexture','shape-editor-ui.line.dashType.longDashDot','MathDivide','_docSelectionRenderService','shape.type.round2-same-rect','files','ChartPlus','getStyleInTextRange','shape-editor-ui.line.width','DocumentFlavor','shape.type.star8','ShapeArrowSizeEnum','frontLabel','2039172hSpYFh','DocSelectionManagerService','ShapeBackgroundColorDoubleIcon','ShapeSmileyFaceIcon','RightTriangle','getSelectionRanges','vertical','ShapePlaqueIcon','docs-callout.command.insert','DoubleWave','ShapeChartPlusIcon','pointerdown','Dash','ShapeFlowChartPunchedCardIcon','main','ShapeBorderCallout1Icon','univer-min-w-44\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','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','subscribe','ShapeFlowChartOnlineStorageIcon','ShapeOctagonIcon','ShapeBlockArcIcon','dispose','CurvedUpArrow','ShapeAccentBorderCallout3Icon','shape-editor-ui.line.dashType.solid','shape-editor-ui.line.dashType.squareDot','colStartX','ShapeFloatingToolbarDropdownTrigger','ShapeBorderCallout2Icon','ShapeFillEditor','univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md','IrregularSeal2','ShapeFlowChartMagneticDiskIcon','shape-editor-ui.fill.picture.align.tr','Trapezoid','ShapeBorderCallout3Icon','UpArrow','hasOwnProperty','UniverShapeEditorUIPlugin','shape-editor-ui.textEditor.paragraphType.heading2','startOffset','ShapePieWedgeIcon','ShapeActionButtonHelpIcon','dot','shape.type.flow-chart-terminator','top','univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','UndoCommand','ShapeRound1RectIcon','shape.type.pie','shape.type.flow-chart-document','ShapeFloatingToolbarIcon','editorTop','shape.type.up-down-arrow-callout','round','shape.type.accent-border-callout2','onSelectionStart$','lineDashType','shape.type.action-button-forward-next','IUniverInstanceService','shape-editor-ui.line.endArrowSize','shape.type.plaque','shape-editor-ui.line.joinType.miter','shape.type.flow-chart-punched-tape','shape-editor-ui.toolbar.italic','SpAutoFit','univer-min-w-32\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','PaintBucketDoubleIcon','ActionButtonInformation','fillImageSource','useRef','sub','VerticalScroll','Injector','shape-editor-ui.toolbar.bold','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','BentConnector3','getBody','find','shape.type.bevel','previewHostSize','Round','FlowChartInputOutput','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','shape-text-editor-content','UNSPECIFIED','TextFillButton','shape.type.down-arrow','editorUnitId','ShapeSketchTypeEnum','univer-flex\x20univer-flex-col\x20univer-gap-2','shape.type.corner','StraightConnector1','CurvedRightArrow','lineType','ShapeActionButtonHomeIcon','lines','getTextRanges','isShapeTextOpticalVerticalAlignEnabled','LongDashDotDot','textSelection$','shape-editor-ui.line.arrowType.ovalArrow','getDocRanges','ShapeRtTriangleIcon','shape.type.snip2-diag-rect','shape.type.flow-chart-alternate-process','31275tYYNuV','GridType','editorLeft','addEventListener','shape.type.line-inv','imageFillMode','crossAxisLength','entries','register','shape-editor-ui.fill.transparency','DownArrow','getSelfOrHeaderFooterModel','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeLeftRightUpArrowIcon','labelKey','shape-editor-ui.line.joinType.title','SUBSCRIPT','Frame','other','HEADING_5','getActualSize','completeEditing','univer-h-5\x20univer-w-12','shape.type.trapezoid','CloudCallout','shape-editor-ui.line.arrowType.none','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20univer-border-l\x20univer-border-solid\x20univer-border-gray-200\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none\x20rtl:univer-border-l-0\x20rtl:univer-border-r\x20dark:!univer-border-gray-700','ShapeStar4Icon','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','strikethrough','gradientEndColor','Cloud','FlowchartMerge','UNIVER_DOC','ShapeArcIcon','shape.type.curved-down-arrow','createShapeTextPlaceholderDocumentData','shape.type.star24','ShapeCornerIcon','shape.type.striped-right-arrow','ShapeCallout2Icon','shape-floating-toolbar-menu-panel','opacity','DashDot','Square','shouldAutoFitShapeTextEditorNoWrap','clientY','getSkeletonData','ENTER','finally','title','leftTop','shouldClipShapeTextDocument','univer-flex\x20univer-flex-col\x20univer-gap-1.5','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','ShapeNonIsoscelesTrapezoidIcon','ShapeImageFillEditor','position','\x0a\x20\x20\x20\x20\x20\x20!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x0a\x20\x20\x20\x20\x20\x20!univer-bg-transparent\x20!univer-px-1.5\x0a\x20\x20\x20\x20','button','detail','HorizontalScroll','FlowchartMagneticDisk','shape-editor-ui.fill.picture.scaleX','StarAndBanner','underline','BooleanNumber','starAndBanner','ShapeRightBraceIcon','univer-flex\x20univer-flex-col\x20univer-gap-3','BasicShape','ShapeHeptagonIcon','ShapeDiamondIcon','ShapeFlowChartDocumentIcon','ShapeFlowChartInputOutputIcon','image/*','ShapeMoonIcon','columns','AlignTextBothIcon','TOP','shape-text-document','FlowchartExtract','NoLine','shape-editor-ui.toolbar.alignRight','rectangle','FlowchartMultiDocument','Angular','ShapeLineInvIcon','shape-editor-ui.textEditor.paragraphType.heading1','shape-text-placeholder','ShapeStar6Icon','stripShapeTextDocumentLayout','decorate','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','PictureFill','line','shape.type.arc','editorWidth','keys','shape.type.flow-chart-magnetic-tape','shape.type.border-callout3','dataAttributes','preventDefault','shape-editor-ui.line.dashType.dash','isFocusing','None','shape.type.cloud-callout','textSelectionInner$','NamedStyleType','shape.type.star7','setSelectionRanges','H1Icon','clearUndoRedoHistory','ShapeUpArrowCalloutIcon','shape-editor-ui.line.beginArrowType','Callout2','call','placeholderWidth','DocSkeletonManagerService','BentUpArrow','BACKSPACE','_config','FlowchartProcess','shape-editor-ui.line.joinType.bevel','ShapeSnip1RectIcon','flipY','ImageFillModeEnum','ShapeSnip2SameRectIcon','shape-editor-ui.line.joinType.round','buttons','pointercancel','LeftBrace','click','ShapeWedgeEllipseCalloutIcon','getShapeModel','ShapeArrowTypeEnum','doc.operation.show-hyper-link-edit-popup','jsxs','ceil','ShapeGradientTypeEnum','SetInlineFormatUnderlineCommand','1280736RBYKHe','shapeModel','shape.type.flow-chart-internal-storage','RIGHT','ShapeSwooshArrowIcon','LeftRightUpArrow','univer-w-24','isSync','startNodePosition','updateShapeText','shape.type.flow-chart-punched-card','onStarting','SolidFill','toolbarComponent','endNodePosition','measuredContentWidth','FlowchartCollate','univer-flex\x20univer-items-center\x20univer-gap-2','resetInitialWidth','Snip1Rect','shape.type.bent-connector3-arrow2','ShapeFlowChartAlternateProcessIcon','textFill','Star8','Decagon','shape.type.left-right-ribbon','subUnitId','shape.type.rect-textbox-horizontal','children','alignment','univer-w-28\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','VerticalCenterIcon','Wave','ShapeStar12Icon','shape.type.uturn-arrow','ShapePlusIcon','ShapeRound2SameRectIcon','Select','shape-editor-ui.line.sketchType.curved','shape.type.horizontal-scroll','solid','typography-horizontal-align-row','shape.type.home-plate','RightBrace','H3Icon','OrderListCommand','LineInv','textRect','NoSmoking','shape.type.straight-connector1','WrapStrategy','titleKey','univer-flex\x20univer-flex-col','offsetX','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','getTransformer','renderedContentWidth','cancelEditing','_injector','updateHostSize','shape.type.triangle','lineJoinType','Solid','none','TypographyPanelButton','univer-relative\x20univer-size-full\x20univer-overflow-visible','shape.type.action-button-blank','isMixed','setDocumentData','shape.type.flow-chart-manual-operation','shape.type.snip-round-rect','normAutofit','Round1Rect','shape.type.rt-triangle','402PkQlxV','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','scaleX','ItalicIcon','function','TypographyIcon','middle','onMouseDown','reduce','disposeWithMe','shape-editor-ui.fill.picture.rotateWithShape','ShapeCallout1Icon','sketchType','ShapeActionButtonReturnIcon','shape.type.left-right-arrow-callout','forwardLabel','SetTextSelectionsOperation','shape-editor-ui.textEditor.paragraphType.code','RoundRect','ShapeBentConnector3Arrow2Icon','source','length','Plus','Freehand','NORMAL_TEXT','makeDirty','shape-editor-ui.line.dashType.longDash','shape.type.right-arrow-callout','Round2SameRect','BlockArc','shape-editor-ui.line.solidLine','shape-editor-ui.toolbar.strikethrough','pointerEvents','36RRUUYG','plainShapeTextToDocumentData','fillType','4\x202\x201\x202','resize','ShapeCallout3Icon','Module','FlowchartDelay','render','shape-editor-ui.textWrap.inline','_configService','ShapeLineDashEnum','ShapeEllipseRibbon2Icon','AlignTopIcon','ResetInlineFormatTextBackgroundColorCommand','filter','univer-text-xl\x20univer-text-gray-500','self','combobox','shape-editor-ui.fill.picture.align.t','FOCUSING_PANEL_EDITOR','shapeTextOpticalVerticalAlign','paddingBottom','ShapeActionButtonSoundIcon','ShapeDiagStripeIcon','startIndex','left','shape.type.hexagon','angular','naturalCrossSize','shape-editor-ui.toolbar.textBackgroundColor','Separator','Rect','shape-editor-ui.fill.picture.align.b','currentFontSize','Radial','FlowchartOr','_docCanvasPopManagerService','transparency','resolveShapeTextBoxResizePolicy','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','sup','EllipseRibbon','verticalAlign','replace','commandId','picture','widthBuffer','shape.type.octagon','ShapeStar16Icon','documentStyle','8\x202\x201\x202','text','shape-editor-ui.deleteShape','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','svg','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','shape.type.funnel','shape.type.flow-chart-decision','autoFitType','getObject','content','SetInlineFormatFontSizeCommand','UpDownArrowCallout','shape.type.decagon','noFill','ShapeBentUpArrowIcon','ShapeCurvedRightArrowIcon','ShapeLineCapEnum','DeleteRightCommand','CurvedConnector3','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','Linear','ShapeRectTextboxHorizontalIcon','shape-editor-ui.fill.picture.scaleY','FlowchartAlternateProcess','8\x202','useMemo','ShapeCurvedConnector3Arrow1Icon','useObservable','onBack','SmileyFace','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','univer-box-border\x20univer-flex\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-w-[320px]\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ShapeRoundRectIcon','SquareDot','updateDocumentStyle','hasCommand','ShapeStrokeColorDoubleIcon','univer-min-w-[240px]','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeCanIcon','shape-text-editor','TodoListDoubleIcon','IContextService','bottom-center','MIDDLE','dsc','screenX','setTimeout','shape.type.double-wave','ShapeDownArrowIcon','shape.type.brace-pair','ShapeFloatingToolbarFontSizeSelect','Tile','311334gZVJAK','MathPlus','FlowChartOfflineStorage','flatMap','shape-editor-ui.textEditor.paragraphType.heading4','ShapeCornerTabsIcon','stroke','ShapeIrregularSeal1Icon','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','FlowchartPunchedCard','shape.type.flow-chart-manual-input','centerAngle','file','ShapeFlowChartOfflineStorageIcon','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','resolveShapeTextVerticalOffset','TextTypeIcon','ShapeStar5Icon','getCurrentLocale','_iconManager','ShapeMathMultiplyIcon','pageMarginLeft','RedoCommand','shape-editor-ui.toolbar.typography','shape.type.curved-left-arrow','BlockArrow','shapeKey','scaleY','shape.type.sun','textLike','paragraphId','dash','trim','shape-editor-ui.line.dashType.roundDot','ShapeChevronIcon','activateDrawingObject','shape.type.star32','shape-editor-ui.line.capType.square','visible','backgroundColor','namedStyleType','editorHeight','shape-editor-ui.line.sketchType.title','ShapeFlowChartPredefinedProcessIcon','SolidLine','onClick','reverse','allowHostSizeShrink','ShapeChordIcon','ShapeNotchedRightArrowIcon','ShapeLeftArrowIcon','shape.type.flow-chart-delay','updateHostHeight','height','Tooltip','507564SDhPcT','group','editorSurfaceWidth','lineSpacing','shape-editor-ui.fill.color','shape.type.callout3','ShapeLeftRightArrowCalloutIcon','SetInlineFormatItalicCommand','ShapeLightningBoltIcon','measureDocumentNoWrapTextWidth','ShapeGear6Icon','SHAPE_EDITOR_TRANSFORMER_CONFIG','shape.type.flow-chart-connector','ShapeLeftRightCircularArrowIcon','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','univer-shadow-none','ShapeNoSmokingIcon','fromEntries','dataModel','resolveShapeTextEditorTextRect','RightArrow','sizeClassName','cancel','shape.type.donut','prepareShapeTextDocumentData','merge','getImageSize','includes','ActionButtonBlank','BreakLineCommand','shape.type.action-button-end','true','blur','auto','Large','shape.type.math-plus','useKeyboardEvent','univer-w-40','setEditing','toPrimitive','section','shape.type.accent-callout3','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','shape-editor-ui.fill.noFill','shape.type.diamond','catch','shape-editor-ui.toolbar.collapseShapeToolbar','dispatchEvent','shape.type.block-arc','shape.type.line','FlowchartPredefinedProcess','ShapePieIcon','shape.type.chart-star','opticalVerticalOffset','bottom','test','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','radial','shape.type.ellipse-ribbon2','shape.type.heart','type','useCallback','mainComponent','LongDash','subscribeEvent','symbol','mouseup','parseFloat','ShapeCurvedLeftArrowIcon','InputNumber','commitOnEnter','univer-w-full','onAfterCommand','textRectWidth','ShapeLineEditor','CornerTabs','shape-editor-ui.config','shape.type.flow-chart-merge','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','ShapeLeftRightArrowIcon','IrregularSeal1','shape.type.flow-chart-online-storage','shapeId','shape.type.math-multiply','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','dataStream','univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','resolveShapeTextEditorWrapStrategy','direction','cornerRadius','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','shape-editor-ui.textEditor.placeholder','Donut','onScrollAfter$','equationShape','direction$','shape.type.action-button-return','SetInlineFormatTextBackgroundColorCommand','italic','getOwnPropertyDescriptor','clsx','custom','ShapeLeftBracketIcon','OrderIcon','useDependency','shape.type.cloud','divides','flowAxisLength','ShapeFlowChartMagneticTapeIcon','Star16','UnorderIcon','ShapeFunnelIcon','shape-editor-ui.fill.pictureFill','ShapeTrapezoidIcon','LightningBolt','shape.type.curved-right-arrow','engine','ShapeRightArrowIcon','IRenderManagerService','shape-editor-ui.line.dashType.dashDot','Gear9','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','shiftKey','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none','_docSelectionManagerService','shape.type.wave','shape-editor-ui.toolbar.alignLeft','ShapeFlowChartProcessIcon','shape-editor-ui.line.capType.title','\x0a\x20\x20\x20\x20\x20\x20univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1\x20univer-shadow-sm\x0a\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20','FlowchartConnector','univer-max-w-[min(760px,calc(100vw-32px))]','univer-text-xs','ShapeGear9Icon','BorderCallout3','clearTimeout','EquationShape','ShapeActionButtonBackPreviousIcon','VERTICAL_ROTATE_ANGLE','altKey','isPrimary','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','ShapeCurvedConnector3Arrow2Icon','ShapeLeftArrowCalloutIcon','abd','FlowchartManualInput','ShapeAccentCallout2Icon','CTRL_COMMAND','ShapeLineTypeEnum','CheckListCommand','getBoundingClientRect','executeEditorUndoRedoCommand','step','twist','Chord','range','shape.type.teardrop','getViewport','renderConfig','shape-editor-ui.fill.picture.align.br','active','univer-text-xl','domX','DocParagraphTypeDropdown','hostRect','ShapeStraightConnector2Icon','stops','measurePageWidth','getSnapshot','blockArrow','296242EvbCEu','ShapeRectIcon','isUnderline','shape-editor-ui.line.cornerRadius','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-1\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeQuadArrowCalloutIcon','ShapeTextAutoFitType','AlignRightCommand','ShapeRound2DiagRectIcon','_registerIcons','ShapePentagonIcon','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','clearSelectedObjects','sectionBreaks','SnipRoundRect','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','size','BentArrow','Checkbox','ShapeFlowChartOrIcon','shape.type.frame','univer-relative\x20univer-inline-flex\x20univer-justify-center','viewportScrollY','getUnitId','univer-w-[168px]','shape.type.left-brace','fill','shape-editor-ui.line.transparency','ShapeActionButtonEndIcon','Star32','shape.type.ribbon2','shape.type.flow-chart-collate','style','QuadArrow','[data-u-comp=\x22shape-text-editor-content\x22]','disabled','FlowchartManualOperation','spaceBelow','shape.type.accent-callout1','push','shape-editor-ui.toolbar.alignCenter','ascent','shape-editor-ui.line.dashType.longDashDotDot','imageRotateWithShape','DiagStripe','ShapeStripedRightArrowIcon','univer-text-base','shape.type.accent-border-callout3','TopmostIcon','Star10','shape.type.bent-up-arrow','HomePlate','shape.type.flow-chart-magnetic-drum','ShapeFlowChartExtractIcon','start','SetInlineFormatSubscriptCommand','allowShrink','MathMinus','get','IImageIoService','univer-flex\x20univer-min-w-0\x20univer-flex-col','createParagraphId','ShapeRightBracketIcon','bodyBehavior','hasParagraphAlign','CurvedLeftArrow','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-8\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20rtl:univer-text-right\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','ShapeMathNotEqualIcon','snapToGrid','isFinite','angle','collapsed','ShapeBentConnector3Arrow1Icon','shape.type.lightning-bolt','getAncestorScale','getShapeData','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','paragraphStyle','abs','COMMA','sort','[data-u-comp=\x22rect-popup\x22]','width','ctr','ShapeRibbonIcon','tolerance','ESC','shape.type.can','closest','dashType','shape-editor-ui.fill.picture.align.ctr','ShapeChartXIcon','Ribbon','marginTop','flowchart','ShapeDecagonIcon','isNaN','plain','ShapeFolderCornerIcon','shape.type.chart-x','ShapeQuadArrowIcon','ShapeParallelogramIcon','ShapeSnipRoundRectIcon','PieWedge','ActionButtonHelp','shape-editor-ui.line.sketchType.freehand','Funnel','isHorizontal','Hexagon','getDrawingTransform','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','resolveShapeTextDocumentRenderLayout','fontSize','shape-editor-ui.shapeStyle','univer-absolute\x20-univer-top-3\x20univer-left-1/2\x20univer-z-10\x20univer-flex\x20univer-h-3\x20univer-w-16\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-justify-center\x20univer-rounded-t-md\x20univer-border\x20univer-border-b-0\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','typography-vertical-align-row','shape-editor-ui.shapePosition','univer-mb-2\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','addImageSourceCache','strokeWidth','prototype','!univer-h-5','NoFill','univer-min-w-40','univer-flex-1\x20univer-overflow-auto'];_0x3608=function(){return _0x48a53b;};return _0x3608();}function ke(_0x405407){const _0x1d569d=_0x56c0cf;let {lineStrokeType:_0x3ae1fd,dashType:_0x585b48,color:_0x13149d=_0x1d569d(0x6cd),width:_0x2e65c6=0x2,className:_0x26058e}=_0x405407;return _0x3ae1fd===s[_0x1d569d(0x516)][_0x1d569d(0x33b)]?(0x0,r[_0x1d569d(0x372)])(_0x1d569d(0x6c6),{'className':(0x0,e[_0x1d569d(0x4e6)])('univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center',_0x26058e),'children':[(0x0,r['jsx'])(_0x1d569d(0x6c6),{'className':_0x1d569d(0x3c1)}),(0x0,r[_0x1d569d(0x6f0)])(_0x1d569d(0x6c6),{'className':'univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500'})]}):(0x0,r['jsx'])(_0x1d569d(0x418),{'className':(0x0,e[_0x1d569d(0x4e6)])(_0x1d569d(0x2ff),_0x26058e),'viewBox':'0\x200\x2048\x2020','aria-hidden':_0x1d569d(0x4a1),'children':(0x0,r[_0x1d569d(0x6f0)])('line',{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x13149d,'strokeWidth':Math['max'](0x1,Math['min'](0x4,_0x2e65c6)),'strokeDasharray':Oe(_0x585b48),'strokeLinecap':_0x585b48===s[_0x1d569d(0x3ec)]['RoundDot']?'round':_0x1d569d(0x600)})});}function Ae(_0x46c132){const _0xb63313=_0x56c0cf;return(0x0,r[_0xb63313(0x6f0)])(_0xb63313(0x6c6),{'className':_0xb63313(0x459),'children':(0x0,r[_0xb63313(0x6f0)])(ke,{'dashType':_0x46c132[_0xb63313(0x585)],'color':_0x46c132['color'],'width':_0x46c132[_0xb63313(0x57e)]})});}const je=[_0x56c0cf(0x3b5),_0x56c0cf(0x39e),'dash'],Me={'min':0x1,'max':0xa,'step':0x1};function Ne(_0x4dde0c){const _0x1e0179=_0x56c0cf;let {labelKey:_0x14a5ba,value:_0x24afbe,min:_0x3e51ff,max:_0x40898d,step:_0xc40329,disabled:_0x2fe1fc,suffix:_0x5d391f='',onChange:_0x133fa3}=_0x4dde0c;return(0x0,r[_0x1e0179(0x372)])(_0x1e0179(0x21c),{'className':_0x1e0179(0x31e),'children':[(0x0,r[_0x1e0179(0x372)])(_0x1e0179(0x21c),{'className':_0x1e0179(0x4dc),'children':[(0x0,r[_0x1e0179(0x6f0)])(_0x1e0179(0x6c6),{'className':_0x1e0179(0x61a),'children':(0x0,a[_0x1e0179(0x4ea)])(i[_0x1e0179(0x5ad)])['t'](_0x14a5ba)}),(0x0,r[_0x1e0179(0x372)])(_0x1e0179(0x6c6),{'className':_0x1e0179(0x2d2),'children':[_0x24afbe,_0x5d391f]})]}),(0x0,r[_0x1e0179(0x6f0)])(_0x1e0179(0x697),{'type':_0x1e0179(0x51d),'min':_0x3e51ff,'max':_0x40898d,'step':_0xc40329,'value':_0x24afbe,'disabled':_0x2fe1fc,'onChange':_0xee1ebc=>_0x133fa3(Number(_0xee1ebc['target'][_0x1e0179(0x202)])),'className':_0x1e0179(0x6e1)})]});}function Pe(_0x5cf7d9){const _0x3448f6=_0x56c0cf;var _0x4d63de,_0x53c4f0,_0x5a16fb,_0x26d0ce,_0x558184;let {titleKey:_0x5e6506,shapeData:_0x9b7096,disabled:_0x358518,resetLabelKey:_0x39c1e3=_0x3448f6(0x5d6),modeOptions:_0x44d113=je,showDashDropdown:_0x32f8de=!0x0,fallbackColor:_0x508bf4=X,widthRange:_0x19379c=Me,onReset:_0x447a22,onRequestClose:_0x3b02aa,onUpdateShapeData:_0x478700}=_0x5cf7d9,_0x2bbc1c=(0x0,a[_0x3448f6(0x4ea)])(i[_0x3448f6(0x5ad)]),_0x4ea940=_0x2bbc1c['t'](_0x5e6506),_0x2ca389=(0x0,a[_0x3448f6(0x430)])(_0x2bbc1c[_0x3448f6(0x4e1)],_0x2bbc1c[_0x3448f6(0x5ee)]()),[_0x18a2c6,_0x2c7c53]=(0x0,n[_0x3448f6(0x1c0)])(!0x1),_0x4065c5=_0x9b7096[_0x3448f6(0x451)],_0x357325=(_0x4d63de=_0x4065c5==null?void 0x0:_0x4065c5[_0x3448f6(0x5b7)])==null?_0x508bf4:_0x4d63de,_0x14d219=Math[_0x3448f6(0x6e4)](_0x19379c['min'],Math[_0x3448f6(0x67f)](_0x19379c['max'],Math[_0x3448f6(0x2b5)]((_0x53c4f0=_0x4065c5==null?void 0x0:_0x4065c5['width'])==null?s[_0x3448f6(0x70f)][_0x3448f6(0x5a3)]:_0x53c4f0))),_0x223441=Math[_0x3448f6(0x2b5)]((0x1-((_0x5a16fb=_0x4065c5==null?void 0x0:_0x4065c5['opacity'])==null?s['ShapeDefaultConfig'][_0x3448f6(0x6c5)]:_0x5a16fb))*0x64),_0x49788f=(_0x26d0ce=_0x4065c5==null?void 0x0:_0x4065c5[_0x3448f6(0x585)])==null?s['ShapeDefaultConfig'][_0x3448f6(0x2b8)]:_0x26d0ce,_0x1c1cb6=(_0x558184=_0x4065c5==null?void 0x0:_0x4065c5[_0x3448f6(0x5af)])==null?s[_0x3448f6(0x70f)][_0x3448f6(0x2dd)]:_0x558184,_0x2def95=_0x1c1cb6!==s[_0x3448f6(0x516)]['NoLine']&&_0x49788f!==s[_0x3448f6(0x3ec)][_0x3448f6(0x3b4)]&&_0x49788f!==s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)],_0x2c6d79=_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)]?_0x3448f6(0x3b5):_0x49788f===s[_0x3448f6(0x3ec)][_0x3448f6(0x3b4)]?'solid':_0x49788f===s[_0x3448f6(0x3ec)][_0x3448f6(0x24c)]||_0x49788f===s[_0x3448f6(0x3ec)][_0x3448f6(0x437)]?_0x3448f6(0x2aa):_0x49788f===s['ShapeLineDashEnum'][_0x3448f6(0x28a)]?_0x3448f6(0x46a):_0x3448f6(0x4e7),_0x50a4e8=[{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)]['Solid'],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x3b4)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x24c)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x24c)])},{'label':(0x0,r['jsx'])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x437)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)]['SquareDot'])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s['ShapeLineDashEnum']['DashDot'],'color':_0x357325,'width':_0x14d219}),'value':String(s['ShapeLineDashEnum'][_0x3448f6(0x314)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x4c1)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x4c1)])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x650)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)]['LongDashDot'])},{'label':(0x0,r[_0x3448f6(0x6f0)])(Ae,{'dashType':s[_0x3448f6(0x3ec)][_0x3448f6(0x2e2)],'color':_0x357325,'width':_0x14d219}),'value':String(s[_0x3448f6(0x3ec)][_0x3448f6(0x2e2)])}],_0x3dc089={'none':_0x2bbc1c['t'](_0x3448f6(0x5d8)),'solid':_0x2bbc1c['t'](_0x3448f6(0x3de)),'dash':_0x2bbc1c['t']('shape-editor-ui.line.dashType.dash'),'dot':_0x2bbc1c['t'](_0x3448f6(0x46c))};(0x0,n[_0x3448f6(0x69d)])(()=>{const _0x41975b=_0x3448f6;_0x1c1cb6===s[_0x41975b(0x516)][_0x41975b(0x33b)]&&_0x2c7c53(!0x1);},[_0x1c1cb6]);let _0x22ae5e=_0x25c4cd=>{const _0x354156=_0x3448f6;_0x478700({'oldShapeData':{'stroke':_0x9b7096[_0x354156(0x451)]}},{'stroke':_0x25c4cd});},_0x2da701=_0x4a918e=>{const _0x5eea3d=_0x3448f6;var _0xdb2805;_0x22ae5e({..._0x4065c5,'lineStrokeType':_0x1c1cb6,'color':_0x357325,'width':_0x14d219,'opacity':(_0xdb2805=_0x4065c5==null?void 0x0:_0x4065c5[_0x5eea3d(0x313)])==null?s[_0x5eea3d(0x70f)][_0x5eea3d(0x6c5)]:_0xdb2805,'dashType':_0x49788f,..._0x4a918e});},_0x3f6bf0=_0x36751c=>{const _0x87ae30=_0x3448f6;if(_0x36751c===_0x87ae30(0x3b5)){_0x2da701({'lineStrokeType':s[_0x87ae30(0x516)][_0x87ae30(0x33b)]});return;}_0x2da701({'lineStrokeType':s[_0x87ae30(0x516)][_0x87ae30(0x477)],'dashType':_0x36751c===_0x87ae30(0x39e)?s['ShapeLineDashEnum'][_0x87ae30(0x3b4)]:_0x36751c==='dot'?s[_0x87ae30(0x3ec)]['RoundDot']:s[_0x87ae30(0x3ec)][_0x87ae30(0x28a)]});};return(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x21c),{'dir':_0x2ca389,'onPointerDown':$,'onMouseDown':$,'onClick':_0x5f1d49=>{const _0x34cd62=_0x3448f6;_0x5f1d49['stopPropagation'](),(!(_0x5f1d49[_0x34cd62(0x207)]instanceof HTMLElement)||!_0x5f1d49['target'][_0x34cd62(0x584)](_0x34cd62(0x20c)))&&_0x2c7c53(!0x1);},'className':(0x0,e['clsx'])('univer-w-[280px]',_0x3448f6(0x453)),'children':(0x0,r[_0x3448f6(0x372)])(_0x3448f6(0x21c),{'className':_0x3448f6(0x32e),'children':[(0x0,r['jsx'])(_0x3448f6(0x6c6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','children':_0x4ea940}),(0x0,r[_0x3448f6(0x372)])(_0x3448f6(0x21c),{'className':(0x0,e[_0x3448f6(0x4e6)])('univer-grid\x20univer-items-center\x20univer-gap-1',_0x32f8de&&_0x44d113[_0x3448f6(0x49d)](_0x3448f6(0x46a))?'univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]':_0x3448f6(0x26e)),'children':[_0x44d113['map'](_0x1014d4=>(0x0,r['jsx'])(e['Tooltip'],{'title':_0x3dc089[_0x1014d4],'placement':_0x3448f6(0x2ac),'children':(0x0,r[_0x3448f6(0x6f0)])('button',{'type':'button','disabled':_0x358518,'aria-label':_0x3dc089[_0x1014d4],'onClick':()=>_0x3f6bf0(_0x1014d4),'className':(0x0,e[_0x3448f6(0x4e6)])(_0x3448f6(0x4ba),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x2c6d79===_0x1014d4}),'children':(0x0,r[_0x3448f6(0x6f0)])(ke,{'lineStrokeType':_0x1014d4===_0x3448f6(0x3b5)?s[_0x3448f6(0x516)][_0x3448f6(0x33b)]:s[_0x3448f6(0x516)][_0x3448f6(0x477)],'dashType':_0x1014d4==='dash'?s[_0x3448f6(0x3ec)][_0x3448f6(0x28a)]:_0x1014d4==='dot'?s['ShapeLineDashEnum'][_0x3448f6(0x24c)]:s[_0x3448f6(0x3ec)]['Solid'],'color':_0x1014d4===_0x3448f6(0x3b5)?void 0x0:_0x357325,'width':_0x1014d4==='none'?0x2:_0x14d219})})},_0x1014d4)),_0x32f8de&&_0x44d113[_0x3448f6(0x49d)](_0x3448f6(0x46a))&&(0x0,r[_0x3448f6(0x6f0)])(e[_0x3448f6(0x1b9)],{'disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)]['NoLine'],'open':_0x18a2c6,'onOpenChange':_0x2c7c53,'overlay':(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x21c),{'dir':_0x2ca389,'data-u-comp':_0x3448f6(0x1ad),'onPointerDown':$,'onMouseDown':$,'onClick':_0x51ed6c=>_0x51ed6c[_0x3448f6(0x60b)](),'className':_0x3448f6(0x394),'children':_0x50a4e8[_0x3448f6(0x263)](_0x351f2e=>(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x324),{'type':_0x3448f6(0x324),'onClick':()=>{const _0x3f281d=_0x3448f6;let _0x287fea=Number(_0x351f2e[_0x3f281d(0x202)]);_0x2da701({'lineStrokeType':s['ShapeLineTypeEnum'][_0x3f281d(0x477)],'dashType':_0x287fea}),_0x2c7c53(!0x1);},'className':(0x0,e[_0x3448f6(0x4e6)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x351f2e['value']===String(_0x49788f)}),'children':_0x351f2e[_0x3448f6(0x68f)]},_0x351f2e[_0x3448f6(0x202)]))}),'children':(0x0,r['jsx'])(_0x3448f6(0x6c6),{'className':_0x3448f6(0x1b0),'data-u-comp':_0x3448f6(0x1ad),'children':(0x0,r[_0x3448f6(0x6f0)])(e['Tooltip'],{'title':_0x2bbc1c['t'](_0x3448f6(0x350)),'placement':_0x3448f6(0x2ac),'children':(0x0,r[_0x3448f6(0x372)])('button',{'type':_0x3448f6(0x324),'role':_0x3448f6(0x3f3),'aria-expanded':_0x18a2c6,'disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)],'onClick':_0x1095e7=>{const _0x6f853d=_0x3448f6;_0x1095e7[_0x6f853d(0x60b)](),_0x2c7c53(_0x18e14d=>!_0x18e14d);},'className':(0x0,e[_0x3448f6(0x4e6)])(_0x3448f6(0x530),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x2def95}),'children':[(0x0,r['jsx'])(ke,{'dashType':s['ShapeLineDashEnum'][_0x3448f6(0x650)],'color':_0x357325,'width':_0x14d219,'className':_0x3448f6(0x5f7)}),(0x0,r[_0x3448f6(0x6f0)])(t[_0x3448f6(0x26b)],{'className':(0x0,e[_0x3448f6(0x4e6)])(_0x3448f6(0x226),{'univer-rotate-180':_0x18a2c6})})]})})})})]}),(0x0,r['jsx'])(Ne,{'labelKey':_0x3448f6(0x279),'value':_0x14d219,'min':_0x19379c[_0x3448f6(0x67f)],'max':_0x19379c[_0x3448f6(0x6e4)],'step':_0x19379c[_0x3448f6(0x51a)],'disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)],'onChange':_0x2f5083=>{const _0x4d05f7=_0x3448f6;_0x2da701({'lineStrokeType':s[_0x4d05f7(0x516)][_0x4d05f7(0x477)],'width':_0x2f5083});}}),(0x0,r[_0x3448f6(0x6f0)])(_0x3448f6(0x21c),{'className':_0x3448f6(0x2ad)}),_0x447a22&&(0x0,r[_0x3448f6(0x6f0)])('button',{'type':_0x3448f6(0x324),'disabled':_0x358518,'onClick':()=>{_0x447a22(),_0x3b02aa==null||_0x3b02aa();},'className':_0x3448f6(0x64c),'children':_0x2bbc1c['t'](_0x39c1e3)}),(0x0,r['jsx'])(e['ColorPicker'],{'value':_0x357325,'onChange':_0x2976a0=>{const _0x153a94=_0x3448f6;_0x2da701({'lineStrokeType':s['ShapeLineTypeEnum'][_0x153a94(0x477)],'color':_0x2976a0});}}),(0x0,r[_0x3448f6(0x6f0)])(Ne,{'labelKey':_0x3448f6(0x547),'value':_0x223441,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x358518||_0x1c1cb6===s[_0x3448f6(0x516)][_0x3448f6(0x33b)],'onChange':_0x4236d1=>{const _0x24bcdd=_0x3448f6;_0x2da701({'opacity':(0x64-Math[_0x24bcdd(0x6e4)](0x0,Math[_0x24bcdd(0x67f)](0x64,_0x4236d1)))/0x64});}})]})});}function Fe(_0x4c37b1){const _0x2e8f73=_0x56c0cf;var _0x19ca75;let {titleKey:_0x4e0424,shapeData:_0x324d4f,disabled:_0x2efb12,resetLabelKey:_0x59c1b8,fallbackColor:_0x27c3b1=X,onReset:_0x325c87,onUpdateShapeData:_0x30c6d4}=_0x4c37b1,_0x58593e=(0x0,a['useDependency'])(i[_0x2e8f73(0x5ad)])['t'](_0x4e0424),[_0x4e8cbd,_0x9f44ec]=(0x0,n[_0x2e8f73(0x1c0)])(!0x1),{handleOpenChange:_0xe26b92,markInternalInteraction:_0x35f310}=be(_0x9f44ec),_0x3f9d18=_0x324d4f[_0x2e8f73(0x451)],_0x1d01dd=(_0x19ca75=_0x3f9d18==null?void 0x0:_0x3f9d18[_0x2e8f73(0x5b7)])==null?_0x27c3b1:_0x19ca75;return(0x0,r[_0x2e8f73(0x6f0)])(e['Dropdown'],{'disabled':_0x2efb12,'open':_0x4e8cbd,'onOpenChange':_0xe26b92,'overlay':(0x0,r[_0x2e8f73(0x6f0)])('div',{'onPointerDownCapture':_0x4992e6=>{_0x35f310(),Q(_0x4992e6);},'onMouseDownCapture':_0x4aef79=>{_0x35f310(),Q(_0x4aef79);},'children':(0x0,r[_0x2e8f73(0x6f0)])(Pe,{'titleKey':_0x4e0424,'shapeData':_0x324d4f,'disabled':_0x2efb12,'resetLabelKey':_0x59c1b8,'fallbackColor':_0x27c3b1,'onReset':_0x325c87,'onRequestClose':()=>_0x9f44ec(!0x1),'onUpdateShapeData':_0x30c6d4})}),'children':(0x0,r[_0x2e8f73(0x6f0)])('span',{'children':(0x0,r[_0x2e8f73(0x6f0)])(e['Tooltip'],{'title':_0x58593e,'placement':_0x2e8f73(0x4b8),'children':(0x0,r[_0x2e8f73(0x372)])(_0x2e8f73(0x324),{'type':_0x2e8f73(0x324),'aria-label':_0x58593e,'disabled':_0x2efb12,'className':(0x0,e[_0x2e8f73(0x4e6)])(_0x2e8f73(0x6c9),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x4e8cbd}),'children':[(0x0,r[_0x2e8f73(0x6f0)])(t[_0x2e8f73(0x43a)],{'className':_0x2e8f73(0x523),'extend':{'colorChannel1':_0x1d01dd}}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x2e8f73(0x4e6)])(_0x2e8f73(0x226),{'univer-rotate-180':_0x4e8cbd})})]})})})});}function Ie(_0x25955b){const _0x541d40=_0x56c0cf;var _0x548fe6,_0x3000e7;return(_0x548fe6=(_0x3000e7=_0x25955b['fill'])==null?void 0x0:_0x3000e7[_0x541d40(0x3e3)])==null?s['ShapeDefaultConfig'][_0x541d40(0x3e3)]:_0x548fe6;}function _0x4435(_0x49747a,_0xa5b05f){_0x49747a=_0x49747a-0x1a0;const _0x3608b2=_0x3608();let _0x443599=_0x3608b2[_0x49747a];return _0x443599;}function Le(_0x50692c){const _0x40371c=_0x56c0cf;switch(_0x50692c){case s['ShapeGradientTypeEnum'][_0x40371c(0x404)]:return'radial';case s[_0x40371c(0x374)][_0x40371c(0x33f)]:return _0x40371c(0x3fd);case s[_0x40371c(0x374)][_0x40371c(0x60d)]:return _0x40371c(0x61b);case s[_0x40371c(0x374)]['Linear']:default:return _0x40371c(0x6a8);}}function Re(_0x469ff0){const _0x1736ce=_0x56c0cf;switch(_0x469ff0){case _0x1736ce(0x4bb):return s[_0x1736ce(0x374)][_0x1736ce(0x404)];case _0x1736ce(0x3fd):return s[_0x1736ce(0x374)][_0x1736ce(0x33f)];case _0x1736ce(0x61b):return s['ShapeGradientTypeEnum']['Diamond'];default:return s[_0x1736ce(0x374)]['Linear'];}}function ze(_0x1b2d9b,_0x413a8a,_0x35a30d){const _0x148971=_0x56c0cf;var _0x1d4a16,_0x27b767;let _0x418185=_0x1b2d9b[_0x148971(0x546)];return{'type':Le((_0x1d4a16=_0x418185==null?void 0x0:_0x418185[_0x148971(0x1c5)])==null?s['ShapeDefaultConfig'][_0x148971(0x1c5)]:_0x1d4a16),'angle':(_0x27b767=_0x418185==null?void 0x0:_0x418185[_0x148971(0x235)])==null?s[_0x148971(0x70f)][_0x148971(0x235)]:_0x27b767,'stops':_0x418185!=null&&_0x418185[_0x148971(0x1db)]&&_0x418185[_0x148971(0x1db)][_0x148971(0x3d5)]>=0x2?_0x418185[_0x148971(0x1db)][_0x148971(0x263)](_0x59578b=>({'color':_0x59578b['color'],'offset':_0x59578b[_0x148971(0x322)]*0x64,'opacity':_0x59578b['opacity']})):[{'color':_0x413a8a,'offset':0x0},{'color':_0x35a30d,'offset':0x64}]};}function Be(_0x100039){const _0x3781c7=_0x56c0cf;var _0x165e9d,_0x15f8d4,_0x4c650a;let {shapeData:_0x356d55,disabled:_0x564e8c,onUpdateShapeData:_0x3cee3a}=_0x100039,_0x42733b=(0x0,a['useDependency'])(i[_0x3781c7(0x5ad)]),_0x192c3b=(0x0,a['useDependency'])(i[_0x3781c7(0x440)]),_0x5b543b=(0x0,a[_0x3781c7(0x4ea)])(i['IImageIoService']),_0x2303bb=(0x0,n[_0x3781c7(0x2c5)])(null),_0x47703c=_0x356d55[_0x3781c7(0x546)],_0x24fad8=(_0x165e9d=(_0x15f8d4=_0x47703c==null?void 0x0:_0x47703c[_0x3781c7(0x616)])==null?_0x47703c==null?void 0x0:_0x47703c[_0x3781c7(0x313)]:_0x15f8d4)==null?0x1:_0x165e9d,_0x1d9b81=Math['round']((0x1-_0x24fad8)*0x64),_0x104f0d=_0x47703c!=null&&_0x47703c['fillImageSource']&&/^(?:data:|https?:)/[_0x3781c7(0x4b9)](_0x47703c[_0x3781c7(0x2c4)])?_0x47703c['fillImageSource']:void 0x0,_0x1437a5=_0x2e962a=>{const _0x4b0e3a=_0x3781c7;var _0x1ab061;_0x3cee3a({'oldShapeData':{'fill':_0x47703c?{..._0x47703c}:void 0x0}},{'fill':{..._0x47703c,'fillType':s['ShapeFillEnum'][_0x4b0e3a(0x347)],'imageFillMode':(_0x1ab061=_0x47703c==null?void 0x0:_0x47703c[_0x4b0e3a(0x2ee)])==null?s[_0x4b0e3a(0x367)][_0x4b0e3a(0x1cc)]:_0x1ab061,..._0x2e962a}});};return(0x0,r[_0x3781c7(0x372)])(_0x3781c7(0x21c),{'className':_0x3781c7(0x2d9),'children':[(0x0,r['jsxs'])('div',{'className':_0x3781c7(0x4dc),'children':[(0x0,r[_0x3781c7(0x6f0)])(_0x3781c7(0x6c6),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x42733b['t'](_0x3781c7(0x5e1))}),(0x0,r['jsx'])(_0x3781c7(0x697),{'ref':_0x2303bb,'type':'file','accept':_0x3781c7(0x334),'className':_0x3781c7(0x1f0),'onChange':async _0x3129cb=>{const _0x4af175=_0x3781c7;var _0x29f6f8;let _0x9ced6d=(_0x29f6f8=_0x3129cb[_0x4af175(0x207)][_0x4af175(0x276)])==null?void 0x0:_0x29f6f8[0x0];if(!_0x9ced6d)return;_0x3129cb[_0x4af175(0x207)]['value']='';let _0x10efde=await _0x5b543b[_0x4af175(0x5cb)](_0x9ced6d);if(_0x10efde==null)return;let {imageSourceType:_0xad5629,source:_0x226408,base64Cache:_0x532474}=_0x10efde,{image:_0x19463e}=await(0x0,o[_0x4af175(0x49c)])(_0x532474||'');_0x5b543b[_0x4af175(0x5a2)](_0x226408,_0xad5629,_0x19463e),_0x1437a5({'fillImageSource':_0x226408,'fillImageSourceType':_0xad5629,'imageOpacity':_0x24fad8});}}),(0x0,r['jsx'])(_0x3781c7(0x324),{'type':_0x3781c7(0x324),'disabled':_0x564e8c,'onClick':()=>{const _0x2c5c10=_0x3781c7;var _0x2f4f28;return(_0x2f4f28=_0x2303bb[_0x2c5c10(0x21b)])==null?void 0x0:_0x2f4f28[_0x2c5c10(0x36d)]();},'className':_0x3781c7(0x417),'children':_0x42733b['t'](_0x3781c7(0x5c6))})]}),_0x104f0d&&(0x0,r[_0x3781c7(0x6f0)])('img',{'src':_0x104f0d,'alt':'','className':_0x3781c7(0x1b2)}),(0x0,r[_0x3781c7(0x372)])('div',{'className':_0x3781c7(0x4dc),'children':[(0x0,r[_0x3781c7(0x6f0)])('span',{'className':_0x3781c7(0x61f),'children':_0x42733b['t'](_0x3781c7(0x2f2))}),(0x0,r[_0x3781c7(0x6f0)])(_0x3781c7(0x21c),{'className':_0x3781c7(0x672),'children':(0x0,r[_0x3781c7(0x6f0)])(e['InputNumber'],{'className':_0x3781c7(0x4c9),'value':_0x1d9b81,'disabled':_0x564e8c,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5d2ef4=>_0x5d2ef4+'%','parser':_0x45c068=>(_0x45c068==null?void 0x0:_0x45c068[_0x3781c7(0x40d)]('%',''))||'','onChange':_0x30e6f7=>{const _0x5779f4=_0x3781c7;_0x1437a5({'imageOpacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x30e6f7==null?0x0:_0x30e6f7)))/0x64}),_0x192c3b[_0x5779f4(0x691)](i[_0x5779f4(0x3f5)],!0x1);},'onFocus':()=>_0x192c3b[_0x3781c7(0x691)](i[_0x3781c7(0x3f5)],!0x0),'onBlur':()=>_0x192c3b[_0x3781c7(0x691)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r['jsx'])(e['Checkbox'],{'checked':(_0x4c650a=_0x47703c==null?void 0x0:_0x47703c[_0x3781c7(0x557)])==null?!0x1:_0x4c650a,'disabled':_0x564e8c,'onChange':_0x109402=>{_0x1437a5({'imageRotateWithShape':_0x109402});},'children':(0x0,r['jsx'])(_0x3781c7(0x6c6),{'className':_0x3781c7(0x506),'children':_0x42733b['t']('shape-editor-ui.fill.picture.rotateWithShape')})})]});}function Ve(_0x14c0e8){const _0x3e53de=_0x56c0cf;var _0x28d3ae,_0x23f7e8;let {titleKey:_0x429eec,shapeData:_0x33b8da,disabled:_0xec43ec,fallbackColor:_0x56cf17=he,fallbackGradientEndColor:_0xbe85e7=_0x3e53de(0x1b5),onUpdateShapeData:_0x540c80}=_0x14c0e8,_0x52a538=(0x0,a[_0x3e53de(0x4ea)])(i['LocaleService']),_0xe38bcd=_0x52a538['t'](_0x429eec),[_0x1de348,_0xbd7321]=(0x0,n[_0x3e53de(0x1c0)])(!0x1),{handleOpenChange:_0x4270c6,markInternalInteraction:_0x5ac589}=be(_0xbd7321),_0x1f7a72=_0x33b8da[_0x3e53de(0x546)],_0x842469=Ie(_0x33b8da),_0x21f30a=(_0x28d3ae=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x3e53de(0x5b7)])==null?_0x56cf17:_0x28d3ae,_0x22567c=_0x14e6b4=>{_0x540c80({'oldShapeData':{'fill':_0x1f7a72?{..._0x1f7a72}:void 0x0}},{'fill':_0x14e6b4});},_0x217b83=()=>{const _0x1a841d=_0x3e53de;let _0x3a32dc=ze(_0x33b8da,_0x21f30a,_0xbe85e7);return{..._0x1f7a72,'fillType':s[_0x1a841d(0x6bc)]['GradientFill'],'color':_0x21f30a,'gradientType':Re(_0x3a32dc[_0x1a841d(0x4be)]),'gradientAngle':_0x3a32dc[_0x1a841d(0x572)],'gradientStops':_0x3a32dc[_0x1a841d(0x528)][_0x1a841d(0x263)](_0x3e86b1=>({'position':_0x3e86b1[_0x1a841d(0x5d9)]/0x64,'color':_0x3e86b1[_0x1a841d(0x5b7)],'opacity':_0x3e86b1[_0x1a841d(0x313)]}))};};return(0x0,r[_0x3e53de(0x6f0)])(e[_0x3e53de(0x1b9)],{'disabled':_0xec43ec,'open':_0x1de348,'onOpenChange':_0x4270c6,'overlay':(0x0,r[_0x3e53de(0x6f0)])(_0x3e53de(0x21c),{'onPointerDownCapture':_0x29b64f=>{_0x5ac589(),Q(_0x29b64f);},'onMouseDownCapture':_0x84ae79=>{_0x5ac589(),Q(_0x84ae79);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x3b5c9b=>_0x3b5c9b['stopPropagation'](),'className':(0x0,e[_0x3e53de(0x4e6)])(_0x3e53de(0x6f5),_0x3e53de(0x453)),'children':(0x0,r[_0x3e53de(0x6f0)])(p,{'compact':!0x0,'disabled':_0xec43ec,'direction':_0x52a538[_0x3e53de(0x5ee)](),'value':_0x842469,'typeValues':ve,'color':_0x21f30a,'transparency':Math['round']((0x1-((_0x23f7e8=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x3e53de(0x313)])==null?0x1:_0x23f7e8))*0x64),'gradientValue':ze(_0x33b8da,_0x21f30a,_0xbe85e7),'labels':{'noFill':_0x52a538['t'](_0x3e53de(0x4ad)),'solidFill':_0x52a538['t'](_0x3e53de(0x633)),'gradientFill':_0x52a538['t'](_0x3e53de(0x643)),'pictureFill':_0x52a538['t'](_0x3e53de(0x4f2)),'color':_0x52a538['t'](_0x3e53de(0x486)),'transparency':_0x52a538['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x52a538['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x52a538['t'](_0x3e53de(0x633)),'gradientFill':_0x52a538['t'](_0x3e53de(0x643)),'pictureFill':_0x52a538['t']('shape-editor-ui.fill.pictureFill')},'renderColorIcon':_0x502440=>(0x0,r['jsx'])(t[_0x3e53de(0x280)],{'className':_0x3e53de(0x3f1),'extend':{'colorChannel1':_0x502440}}),'onChange':_0x291bd1=>{const _0x41cd55=_0x3e53de;if(_0x291bd1===s[_0x41cd55(0x6bc)][_0x41cd55(0x5a6)])_0x22567c({..._0x1f7a72,'fillType':s[_0x41cd55(0x6bc)][_0x41cd55(0x5a6)]});else{if(_0x291bd1===s[_0x41cd55(0x6bc)][_0x41cd55(0x382)]){var _0x10a179;_0x22567c({..._0x1f7a72,'fillType':s[_0x41cd55(0x6bc)][_0x41cd55(0x382)],'color':_0x21f30a,'opacity':(_0x10a179=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x41cd55(0x313)])==null?0x1:_0x10a179});}else{if(_0x291bd1===s[_0x41cd55(0x6bc)][_0x41cd55(0x6a6)])_0x22567c(_0x217b83());else{if(_0x291bd1===s['ShapeFillEnum'][_0x41cd55(0x347)]){var _0x1ae19c,_0x3914ae;_0x22567c({..._0x1f7a72,'fillType':s['ShapeFillEnum'][_0x41cd55(0x347)],'color':_0x21f30a,'imageOpacity':(_0x1ae19c=_0x1f7a72==null?void 0x0:_0x1f7a72['imageOpacity'])==null?0x1:_0x1ae19c,'imageFillMode':(_0x3914ae=_0x1f7a72==null?void 0x0:_0x1f7a72[_0x41cd55(0x2ee)])==null?s['ImageFillModeEnum'][_0x41cd55(0x1cc)]:_0x3914ae});}}}}},'onColorChange':_0x49a532=>{const _0x423bdf=_0x3e53de;var _0x15ca41;_0x22567c({..._0x1f7a72,'fillType':s['ShapeFillEnum'][_0x423bdf(0x382)],'color':_0x49a532,'opacity':(_0x15ca41=_0x1f7a72==null?void 0x0:_0x1f7a72['opacity'])==null?0x1:_0x15ca41});},'onTransparencyChange':_0xb9dbf9=>{const _0xbf4591=_0x3e53de;_0x22567c({..._0x1f7a72,'fillType':s[_0xbf4591(0x6bc)]['SolidFill'],'color':_0x21f30a,'opacity':(0x64-Math[_0xbf4591(0x6e4)](0x0,Math['min'](0x64,_0xb9dbf9)))/0x64});},'onGradientChange':_0x59438b=>{const _0x3a4f6f=_0x3e53de;_0x22567c({..._0x1f7a72,'fillType':s[_0x3a4f6f(0x6bc)][_0x3a4f6f(0x6a6)],'color':_0x21f30a,'gradientType':Re(_0x59438b[_0x3a4f6f(0x4be)]),'gradientAngle':_0x59438b['angle'],'gradientStops':_0x59438b['stops']['map'](_0x351bb5=>({'position':_0x351bb5[_0x3a4f6f(0x5d9)]/0x64,'color':_0x351bb5[_0x3a4f6f(0x5b7)],'opacity':_0x351bb5[_0x3a4f6f(0x313)]}))});},'pictureFillEditor':(0x0,r[_0x3e53de(0x6f0)])(Be,{'shapeData':_0x33b8da,'disabled':_0xec43ec,'onUpdateShapeData':_0x540c80})})}),'children':(0x0,r[_0x3e53de(0x6f0)])('span',{'children':(0x0,r[_0x3e53de(0x6f0)])(e[_0x3e53de(0x481)],{'title':_0xe38bcd,'placement':_0x3e53de(0x4b8),'children':(0x0,r['jsxs'])(_0x3e53de(0x324),{'type':_0x3e53de(0x324),'disabled':_0xec43ec,'className':(0x0,e[_0x3e53de(0x4e6)])(_0x3e53de(0x6c9),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x1de348}),'children':[(0x0,r[_0x3e53de(0x6f0)])(t[_0x3e53de(0x280)],{'className':_0x3e53de(0x523),'extend':{'colorChannel1':_0x842469===s['ShapeFillEnum']['NoFill']?_0x3e53de(0x236):_0x21f30a}}),(0x0,r['jsx'])(t[_0x3e53de(0x26b)],{'className':(0x0,e[_0x3e53de(0x4e6)])(_0x3e53de(0x226),{'univer-rotate-180':_0x1de348})})]})})})});}function He(_0x45deab){const _0x3d9655=_0x56c0cf;switch(_0x45deab==null?void 0x0:_0x45deab[_0x3d9655(0x4be)]){case _0x3d9655(0x3b5):return s['ShapeFillEnum'][_0x3d9655(0x5a6)];case _0x3d9655(0x668):return s[_0x3d9655(0x6bc)][_0x3d9655(0x6a6)];case _0x3d9655(0x40f):return s[_0x3d9655(0x6bc)][_0x3d9655(0x347)];default:return s[_0x3d9655(0x6bc)][_0x3d9655(0x382)];}}function Ue(_0x268220,_0x4521bc){const _0x57c018=_0x56c0cf;var _0x45395b,_0x28c91b,_0xd84111,_0x4351ae,_0x5df1b2;return{'type':(_0x45395b=_0x268220==null||(_0x28c91b=_0x268220[_0x57c018(0x668)])==null?void 0x0:_0x28c91b[_0x57c018(0x4be)])==null?_0x57c018(0x6a8):_0x45395b,'angle':(_0xd84111=_0x268220==null||(_0x4351ae=_0x268220[_0x57c018(0x668)])==null?void 0x0:_0x4351ae[_0x57c018(0x572)])==null?0x0:_0xd84111,'stops':!(_0x268220==null||(_0x5df1b2=_0x268220[_0x57c018(0x668)])==null)&&_0x5df1b2[_0x57c018(0x528)]&&_0x268220[_0x57c018(0x668)][_0x57c018(0x528)]['length']>=0x2?_0x268220[_0x57c018(0x668)]['stops'][_0x57c018(0x263)](_0x256e1f=>({'color':_0x256e1f[_0x57c018(0x5b7)],'offset':_0x256e1f[_0x57c018(0x5d9)],'opacity':_0x256e1f[_0x57c018(0x313)]})):[{'color':_0x4521bc,'offset':0x0},{'color':'#8B5CF6','offset':0x64}]};}function We(_0x4c519d,_0x270060){const _0x1d7f0d=_0x56c0cf;var _0x47e534,_0x108b50,_0x782159;return(_0x47e534=_0x4c519d[_0x1d7f0d(0x38c)])==null?{'type':_0x1d7f0d(0x39e),'color':(_0x108b50=(_0x782159=_0x4c519d['cl'])==null?void 0x0:_0x782159[_0x1d7f0d(0x6b2)])==null?_0x270060:_0x108b50,'opacity':0x1}:_0x47e534;}function Ge(_0x4f67b1,_0x4065f6){const _0x34423e=_0x56c0cf;var _0x2c73c6,_0x2dbdf1,_0x1f17b5;return(_0x2c73c6=(_0x2dbdf1=_0x4f67b1[_0x34423e(0x5b7)])==null?(_0x1f17b5=_0x4f67b1[_0x34423e(0x668)])==null||(_0x1f17b5=_0x1f17b5[_0x34423e(0x528)])==null||(_0x1f17b5=_0x1f17b5[0x0])==null?void 0x0:_0x1f17b5[_0x34423e(0x5b7)]:_0x2dbdf1)==null?_0x4065f6:_0x2c73c6;}function Ke(_0x55a87d){const _0x181578=_0x56c0cf;var _0x52bb23,_0x5c2a08,_0x16e82e,_0x4a6f37;let {fill:_0x479346,disabled:_0x537eeb,onChange:_0x24e452}=_0x55a87d,_0x411edb=(0x0,a[_0x181578(0x4ea)])(i['LocaleService']),_0x259b92=(0x0,a[_0x181578(0x4ea)])(i['IContextService']),_0x130de7=(0x0,a['useDependency'])(i[_0x181578(0x567)]),_0x72d46a=(0x0,n[_0x181578(0x2c5)])(null),_0x101e2b=(_0x52bb23=(_0x5c2a08=(_0x16e82e=_0x479346[_0x181578(0x40f)])==null?void 0x0:_0x16e82e['opacity'])==null?_0x479346['opacity']:_0x5c2a08)==null?0x1:_0x52bb23,_0x39b325=Math[_0x181578(0x2b5)]((0x1-_0x101e2b)*0x64),_0x365f12=(_0x4a6f37=_0x479346[_0x181578(0x40f)])!=null&&_0x4a6f37[_0x181578(0x3d4)]&&/^(?:data:|https?:)/[_0x181578(0x4b9)](_0x479346[_0x181578(0x40f)][_0x181578(0x3d4)])?_0x479346['picture'][_0x181578(0x3d4)]:void 0x0,_0x29e9b1=_0x1b680f=>{const _0x538bb0=_0x181578;var _0x229603,_0x543bf1;_0x24e452({..._0x479346,'type':_0x538bb0(0x40f),'picture':{..._0x479346[_0x538bb0(0x40f)],'mode':(_0x229603=(_0x543bf1=_0x479346[_0x538bb0(0x40f)])==null?void 0x0:_0x543bf1[_0x538bb0(0x1dc)])==null?_0x538bb0(0x61d):_0x229603,..._0x1b680f}});};return(0x0,r[_0x181578(0x372)])(_0x181578(0x21c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,r[_0x181578(0x372)])('div',{'className':_0x181578(0x4dc),'children':[(0x0,r[_0x181578(0x6f0)])(_0x181578(0x6c6),{'className':_0x181578(0x61f),'children':_0x411edb['t'](_0x181578(0x5e1))}),(0x0,r[_0x181578(0x6f0)])(_0x181578(0x697),{'ref':_0x72d46a,'type':_0x181578(0x457),'accept':_0x181578(0x334),'className':_0x181578(0x1f0),'onChange':async _0x5b78ee=>{const _0x4e08d4=_0x181578;var _0x384608;let _0x4a03ca=(_0x384608=_0x5b78ee['target'][_0x4e08d4(0x276)])==null?void 0x0:_0x384608[0x0];if(!_0x4a03ca)return;_0x5b78ee[_0x4e08d4(0x207)]['value']='';let _0x21d05f=await _0x130de7['saveImage'](_0x4a03ca);if(_0x21d05f==null)return;let {imageSourceType:_0x49685b,source:_0x3c3d2e,base64Cache:_0x4e254d}=_0x21d05f;_0x29e9b1({'source':_0x4e254d||_0x3c3d2e,'sourceType':_0x49685b,'opacity':_0x101e2b});}}),(0x0,r['jsx'])(_0x181578(0x324),{'type':'button','disabled':_0x537eeb,'onClick':()=>{const _0x4eea2b=_0x181578;var _0x1a8b2e;return(_0x1a8b2e=_0x72d46a['current'])==null?void 0x0:_0x1a8b2e[_0x4eea2b(0x36d)]();},'className':_0x181578(0x417),'children':_0x411edb['t'](_0x181578(0x5c6))})]}),_0x365f12&&(0x0,r[_0x181578(0x6f0)])(_0x181578(0x1cf),{'src':_0x365f12,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r[_0x181578(0x372)])(_0x181578(0x21c),{'className':_0x181578(0x4dc),'children':[(0x0,r[_0x181578(0x6f0)])(_0x181578(0x6c6),{'className':_0x181578(0x61f),'children':_0x411edb['t'](_0x181578(0x2f2))}),(0x0,r[_0x181578(0x6f0)])(_0x181578(0x21c),{'className':_0x181578(0x672),'children':(0x0,r['jsx'])(e[_0x181578(0x4c7)],{'className':_0x181578(0x4c9),'value':_0x39b325,'disabled':_0x537eeb,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5e7ff1=>_0x5e7ff1+'%','parser':_0x3bd367=>(_0x3bd367==null?void 0x0:_0x3bd367['replace']('%',''))||'','onChange':_0x3ccecf=>{const _0x590e94=_0x181578;_0x29e9b1({'opacity':(0x64-Math[_0x590e94(0x6e4)](0x0,Math[_0x590e94(0x67f)](0x64,_0x3ccecf==null?0x0:_0x3ccecf)))/0x64}),_0x259b92[_0x590e94(0x691)](i[_0x590e94(0x3f5)],!0x1);},'onFocus':()=>_0x259b92['setContextValue'](i[_0x181578(0x3f5)],!0x0),'onBlur':()=>_0x259b92['setContextValue'](i[_0x181578(0x3f5)],!0x1)})})]})]});}function qe(_0xa6f19d){const _0x4e0bf1=_0x56c0cf;var _0x426407;let {titleKey:_0x371bfe,textStyle:_0x544d9f,fallbackColor:_0x4fa2cf,onChange:_0xa9a391}=_0xa6f19d,_0x243cd2=(0x0,a['useDependency'])(i[_0x4e0bf1(0x5ad)]),_0x5c0555=_0x243cd2['t'](_0x371bfe),[_0xb7bd34,_0x5dd9ff]=(0x0,n[_0x4e0bf1(0x1c0)])(!0x1),{handleOpenChange:_0xebf746,markInternalInteraction:_0x426583}=be(_0x5dd9ff),_0x356c33=We(_0x544d9f,_0x4fa2cf),_0x465ca8=He(_0x356c33),_0x3bc753=Ge(_0x356c33,_0x4fa2cf),_0x3b9aa8=_0x2e8458=>{const _0x4bff0b=_0x4e0bf1;_0xa9a391({'cl':{'rgb':_0x2e8458['type']===_0x4bff0b(0x3b5)?'rgba(0,\x200,\x200,\x200)':Ge(_0x2e8458,_0x4fa2cf)},'textFill':_0x2e8458});},_0x277d6b=()=>{const _0x444075=_0x4e0bf1;let _0x3b3147=Ue(_0x356c33,_0x3bc753);return{..._0x356c33,'type':_0x444075(0x668),'gradient':{'type':_0x3b3147[_0x444075(0x4be)],'angle':_0x3b3147[_0x444075(0x572)],'stops':_0x3b3147[_0x444075(0x528)][_0x444075(0x263)](_0x381a77=>({'offset':_0x381a77['offset'],'color':_0x381a77['color'],'opacity':_0x381a77['opacity']}))}};};return(0x0,r['jsx'])(De,{'title':_0x5c0555,'open':_0xb7bd34,'icon':(0x0,r[_0x4e0bf1(0x6f0)])(t[_0x4e0bf1(0x6f9)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x3bc753}}),'onApply':()=>{const _0x25577e=_0x4e0bf1;var _0x355667;return _0x3b9aa8({..._0x356c33,'type':_0x25577e(0x39e),'color':_0x3bc753,'opacity':(_0x355667=_0x356c33[_0x25577e(0x313)])==null?0x1:_0x355667});},'onOpenChange':_0xebf746,'overlay':(0x0,r[_0x4e0bf1(0x6f0)])(_0x4e0bf1(0x21c),{'onPointerDownCapture':_0x2f6362=>{_0x426583(),Q(_0x2f6362);},'onMouseDownCapture':_0x9300b4=>{_0x426583(),Q(_0x9300b4);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x1cbfcc=>_0x1cbfcc['stopPropagation'](),'className':(0x0,e['clsx'])(_0x4e0bf1(0x6f5),_0x4e0bf1(0x453)),'children':(0x0,r['jsx'])(p,{'compact':!0x0,'direction':_0x243cd2[_0x4e0bf1(0x5ee)](),'value':_0x465ca8,'typeValues':ve,'color':_0x3bc753,'transparency':Math[_0x4e0bf1(0x2b5)]((0x1-((_0x426407=_0x356c33['opacity'])==null?0x1:_0x426407))*0x64),'gradientValue':Ue(_0x356c33,_0x3bc753),'labels':{'noFill':_0x243cd2['t'](_0x4e0bf1(0x4ad)),'solidFill':_0x243cd2['t'](_0x4e0bf1(0x633)),'gradientFill':_0x243cd2['t'](_0x4e0bf1(0x643)),'pictureFill':_0x243cd2['t'](_0x4e0bf1(0x4f2)),'color':_0x243cd2['t'](_0x4e0bf1(0x486)),'transparency':_0x243cd2['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x243cd2['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x243cd2['t'](_0x4e0bf1(0x633)),'gradientFill':_0x243cd2['t'](_0x4e0bf1(0x643)),'pictureFill':_0x243cd2['t'](_0x4e0bf1(0x4f2))},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x298eb8=>{const _0x24ef0f=_0x4e0bf1;if(_0x298eb8===s[_0x24ef0f(0x6bc)][_0x24ef0f(0x5a6)])_0x3b9aa8({..._0x356c33,'type':_0x24ef0f(0x3b5)});else{if(_0x298eb8===s[_0x24ef0f(0x6bc)]['SolidFill']){var _0x398033;_0x3b9aa8({..._0x356c33,'type':'solid','color':_0x3bc753,'opacity':(_0x398033=_0x356c33['opacity'])==null?0x1:_0x398033});}else{if(_0x298eb8===s[_0x24ef0f(0x6bc)][_0x24ef0f(0x6a6)])_0x3b9aa8(_0x277d6b());else{if(_0x298eb8===s[_0x24ef0f(0x6bc)]['PictureFill']){var _0x5a523f,_0x31833b,_0x460b72,_0x2a7a93;_0x3b9aa8({..._0x356c33,'type':_0x24ef0f(0x40f),'color':_0x3bc753,'picture':{..._0x356c33[_0x24ef0f(0x40f)],'opacity':(_0x5a523f=(_0x31833b=_0x356c33['picture'])==null?void 0x0:_0x31833b[_0x24ef0f(0x313)])==null?0x1:_0x5a523f,'mode':(_0x460b72=(_0x2a7a93=_0x356c33[_0x24ef0f(0x40f)])==null?void 0x0:_0x2a7a93[_0x24ef0f(0x1dc)])==null?_0x24ef0f(0x61d):_0x460b72}});}}}}},'onColorChange':_0x2c949c=>{const _0x4f6cdf=_0x4e0bf1;var _0x3b5464;_0x3b9aa8({..._0x356c33,'type':_0x4f6cdf(0x39e),'color':_0x2c949c,'opacity':(_0x3b5464=_0x356c33['opacity'])==null?0x1:_0x3b5464});},'onTransparencyChange':_0x458349=>{const _0x19d7b5=_0x4e0bf1;_0x3b9aa8({..._0x356c33,'type':_0x19d7b5(0x39e),'color':_0x3bc753,'opacity':(0x64-Math[_0x19d7b5(0x6e4)](0x0,Math[_0x19d7b5(0x67f)](0x64,_0x458349)))/0x64});},'onGradientChange':_0x1efca8=>{const _0x48c2ef=_0x4e0bf1;_0x3b9aa8({..._0x356c33,'type':_0x48c2ef(0x668),'gradient':{'type':_0x1efca8[_0x48c2ef(0x4be)],'angle':_0x1efca8[_0x48c2ef(0x572)],'stops':_0x1efca8[_0x48c2ef(0x528)]['map'](_0x56b314=>({'offset':_0x56b314[_0x48c2ef(0x5d9)],'color':_0x56b314[_0x48c2ef(0x5b7)],'opacity':_0x56b314[_0x48c2ef(0x313)]}))}});},'pictureFillEditor':(0x0,r[_0x4e0bf1(0x6f0)])(Ke,{'fill':_0x356c33,'onChange':_0x3b9aa8})})})});}function Je(_0x1753e1){const _0x598084=_0x56c0cf;let {titleKey:_0xb72cd0,color:_0x20150c,onApply:_0x51ce88,onReset:_0x1f3bab,onChange:_0x1e86f8}=_0x1753e1,_0x47c7c1=(0x0,a[_0x598084(0x4ea)])(i[_0x598084(0x5ad)]),_0x4483e6=_0x47c7c1['t'](_0xb72cd0),[_0x1c10f0,_0x3b25d8]=(0x0,n[_0x598084(0x1c0)])(!0x1),{handleOpenChange:_0x16b5cf,markInternalInteraction:_0x314d08}=be(_0x3b25d8);return(0x0,r['jsx'])(De,{'title':_0x4483e6,'open':_0x1c10f0,'icon':(0x0,r[_0x598084(0x6f0)])(t[_0x598084(0x2c2)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x20150c}}),'onApply':_0x51ce88,'onOpenChange':_0x16b5cf,'popoverClassName':_0x598084(0x4d8),'overlay':(0x0,r['jsxs'])('div',{'onPointerDownCapture':_0x469e15=>{_0x314d08(),Q(_0x469e15);},'onMouseDownCapture':_0x523d2c=>{_0x314d08(),Q(_0x523d2c);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x4bd63d=>_0x4bd63d[_0x598084(0x60b)](),'className':'univer-w-[244px]','children':[_0x1f3bab&&(0x0,r[_0x598084(0x6f0)])('button',{'type':_0x598084(0x324),'onClick':()=>{_0x1f3bab(),_0x3b25d8(!0x1);},'className':_0x598084(0x5a1),'children':_0x47c7c1['t'](_0x598084(0x5d6))}),(0x0,r['jsx'])(e[_0x598084(0x227)],{'value':_0x20150c,'onChange':_0x56b8d3=>{_0x1e86f8(_0x56b8d3),_0x3b25d8(!0x1);}})]})});}function Ye(_0x552322){const _0x113bc7=_0x56c0cf;let {titleKey:_0x5aef73,textStyle:_0x7ad391,horizontalAlign:_0x3a1dc8,verticalAlign:_0x2eb7b6,horizontalAlignOptions:_0x5a10af,verticalAlignOptions:_0x596734,onUpdateText:_0x2a9ba8}=_0x552322,_0x3162ac=(0x0,a[_0x113bc7(0x4ea)])(i['LocaleService']),_0x43d109=_0x3162ac['t'](_0x5aef73),[_0xa83d39,_0x78dc7f]=(0x0,n[_0x113bc7(0x1c0)])(!0x1),{handleOpenChange:_0x4cf249,markInternalInteraction:_0x73ceec}=be(_0x78dc7f),_0x5784a8=[{'key':_0x113bc7(0x706),'title':_0x3162ac['t'](_0x113bc7(0x2c9)),'active':_0x7ad391[_0x113bc7(0x222)],'icon':(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x6e6)],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'bl':_0x7ad391[_0x113bc7(0x222)]?i['BooleanNumber'][_0x113bc7(0x64d)]:i[_0x113bc7(0x32b)][_0x113bc7(0x657)]}})},{'key':_0x113bc7(0x4e4),'title':_0x3162ac['t'](_0x113bc7(0x2bf)),'active':_0x7ad391['isItalic'],'icon':(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x3c3)],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'it':_0x7ad391[_0x113bc7(0x6b0)]?i[_0x113bc7(0x32b)][_0x113bc7(0x64d)]:i['BooleanNumber']['TRUE']}})},{'key':_0x113bc7(0x32a),'title':_0x3162ac['t'](_0x113bc7(0x1af)),'active':_0x7ad391[_0x113bc7(0x52e)],'icon':(0x0,r[_0x113bc7(0x6f0)])(t['UnderlineIcon'],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'ul':{'s':_0x7ad391[_0x113bc7(0x52e)]?i[_0x113bc7(0x32b)][_0x113bc7(0x64d)]:i[_0x113bc7(0x32b)][_0x113bc7(0x657)]}}})},{'key':_0x113bc7(0x306),'title':_0x3162ac['t'](_0x113bc7(0x3df)),'active':_0x7ad391[_0x113bc7(0x6a1)],'icon':(0x0,r[_0x113bc7(0x6f0)])(t['StrikethroughIcon'],{}),'onClick':()=>_0x2a9ba8({'textStyle':{'st':{'s':_0x7ad391[_0x113bc7(0x6a1)]?i['BooleanNumber']['FALSE']:i['BooleanNumber'][_0x113bc7(0x657)]}}})}],_0x1acf66=_0x14c024=>(0x0,r[_0x113bc7(0x6f0)])(e[_0x113bc7(0x481)],{'title':_0x14c024[_0x113bc7(0x31b)],'placement':_0x113bc7(0x2ac),'children':(0x0,r['jsx'])('button',{'type':_0x113bc7(0x324),'aria-label':_0x14c024[_0x113bc7(0x31b)],'onClick':_0x14c024[_0x113bc7(0x478)],'className':(0x0,e[_0x113bc7(0x4e6)])(_0x113bc7(0x66b),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x14c024[_0x113bc7(0x522)]}),'children':_0x14c024[_0x113bc7(0x63e)]})},String(_0x14c024[_0x113bc7(0x266)]));return(0x0,r[_0x113bc7(0x6f0)])(e[_0x113bc7(0x1b9)],{'open':_0xa83d39,'onOpenChange':_0x4cf249,'overlay':(0x0,r[_0x113bc7(0x6f0)])('div',{'onPointerDownCapture':_0x2ffc7d=>{_0x73ceec(),Q(_0x2ffc7d);},'onMouseDownCapture':_0x5dac3c=>{_0x73ceec(),Q(_0x5dac3c);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x37b571=>_0x37b571[_0x113bc7(0x60b)](),'className':(0x0,e[_0x113bc7(0x4e6)])(_0x113bc7(0x544),_0x113bc7(0x305)),'children':(0x0,r['jsxs'])(_0x113bc7(0x21c),{'className':_0x113bc7(0x31e),'children':[(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x21c),{'className':_0x113bc7(0x606),'children':_0x5784a8[_0x113bc7(0x263)](_0x1acf66)}),(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x21c),{'className':_0x113bc7(0x2ad)}),(0x0,r[_0x113bc7(0x6f0)])('div',{'data-u-comp':_0x113bc7(0x39f),'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x5a10af['map'](_0x3942b8=>_0x1acf66({'key':_0x3942b8[_0x113bc7(0x202)],'title':_0x3942b8[_0x113bc7(0x68f)],'active':_0x3942b8[_0x113bc7(0x202)]===_0x3a1dc8,'icon':_0x3942b8[_0x113bc7(0x63e)],'onClick':()=>_0x2a9ba8({'horizontalAlign':_0x3942b8[_0x113bc7(0x202)]})}))}),(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x21c),{'data-u-comp':_0x113bc7(0x59f),'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x596734[_0x113bc7(0x263)](_0x26f8f8=>_0x1acf66({'key':_0x26f8f8['value'],'title':_0x26f8f8[_0x113bc7(0x68f)],'active':_0x26f8f8[_0x113bc7(0x202)]===_0x2eb7b6,'icon':_0x26f8f8['icon'],'onClick':()=>_0x2a9ba8({'verticalAlign':_0x26f8f8[_0x113bc7(0x202)]})}))})]})}),'children':(0x0,r[_0x113bc7(0x6f0)])(_0x113bc7(0x6c6),{'children':(0x0,r[_0x113bc7(0x6f0)])(e[_0x113bc7(0x481)],{'title':_0x43d109,'placement':_0x113bc7(0x4b8),'children':(0x0,r[_0x113bc7(0x372)])(_0x113bc7(0x324),{'type':_0x113bc7(0x324),'aria-label':_0x43d109,'className':(0x0,e[_0x113bc7(0x4e6)])('univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0xa83d39}),'children':[(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x3c5)],{'className':'univer-text-base'}),(0x0,r[_0x113bc7(0x6f0)])(t[_0x113bc7(0x26b)],{'className':(0x0,e[_0x113bc7(0x4e6)])(_0x113bc7(0x226),{'univer-rotate-180':_0xa83d39})})]})})})});}function Xe(_0x88f046){const _0x26f5ba=_0x56c0cf;var _0x1388a7;let _0x231885=(0x0,a['useDependency'])(i[_0x26f5ba(0x5ad)]),_0x4803f8=(0x0,a['useObservable'])(_0x231885[_0x26f5ba(0x4e1)],_0x231885[_0x26f5ba(0x5ee)]()),_0x567186=_0x88f046['titleKey']?_0x231885['t'](_0x88f046[_0x26f5ba(0x3a9)]):_0x88f046['title'];return(0x0,r[_0x26f5ba(0x372)])(_0x26f5ba(0x21c),{'dir':_0x4803f8,'data-u-comp':_0x26f5ba(0x312),'onPointerDownCapture':Q,'onMouseDownCapture':Q,'onPointerDown':$,'onMouseDown':$,'onClick':_0x44aa08=>_0x44aa08['stopPropagation'](),'className':(0x0,e[_0x26f5ba(0x4e6)])(_0x26f5ba(0x67a),(_0x1388a7=_0x88f046[_0x26f5ba(0x69c)])==null?_0x26f5ba(0x43b):_0x1388a7,_0x88f046[_0x26f5ba(0x5df)]),'children':[_0x567186&&(0x0,r['jsx'])(_0x26f5ba(0x21c),{'className':_0x26f5ba(0x4d6),'children':_0x567186}),_0x88f046[_0x26f5ba(0x392)]]});}function Ze(_0x309644){const _0x1bd10b=_0x56c0cf;var _0x3be6d0;let _0x1b1c11=(0x0,a[_0x1bd10b(0x4ea)])(i['LocaleService']),_0x1a08c7=_0x309644[_0x1bd10b(0x2f7)]?_0x1b1c11['t'](_0x309644[_0x1bd10b(0x2f7)]):(_0x3be6d0=_0x309644[_0x1bd10b(0x68f)])==null?'':_0x3be6d0;return(0x0,r['jsx'])(e[_0x1bd10b(0x481)],{'title':_0x1a08c7,'placement':_0x1bd10b(0x4b8),'children':(0x0,r['jsx'])(_0x1bd10b(0x6c6),{'className':_0x1bd10b(0x1b0),'children':(0x0,r[_0x1bd10b(0x372)])(_0x1bd10b(0x324),{'type':_0x1bd10b(0x324),'aria-label':_0x1a08c7,'disabled':_0x309644[_0x1bd10b(0x54f)],'onClick':_0x4b0103=>{const _0x245009=_0x1bd10b;_0x4b0103[_0x245009(0x60b)](),_0x309644['onClick']();},'className':_0x1bd10b(0x56e),'children':[(0x0,r[_0x1bd10b(0x6f0)])(_0x1bd10b(0x6c6),{'className':_0x1bd10b(0x1a8),'children':_0x1a08c7}),_0x309644[_0x1bd10b(0x1ea)]&&(0x0,r[_0x1bd10b(0x6f0)])(_0x1bd10b(0x6c6),{'className':'univer-ml-auto\x20univer-whitespace-nowrap\x20univer-text-xs\x20univer-leading-none\x20univer-text-gray-400\x20rtl:univer-ml-0\x20rtl:univer-mr-auto\x20dark:!univer-text-gray-500','children':_0x309644[_0x1bd10b(0x1ea)]})]})})});}function Qe(_0x4bb260){const _0x3b3794=_0x56c0cf;var _0x5908d8;let [_0x4ba6cc,_0x11fd4f]=(0x0,n[_0x3b3794(0x1c0)])(!0x1),_0x594629=(_0x5908d8=_0x4bb260[_0x3b3794(0x1ab)][_0x3b3794(0x2cd)](_0x422035=>_0x422035['value']===_0x4bb260[_0x3b3794(0x202)]))==null?_0x4bb260[_0x3b3794(0x1ab)][0x0]:_0x5908d8;return _0x594629?(0x0,r[_0x3b3794(0x6f0)])(e['Dropdown'],{'open':_0x4ba6cc,'onOpenChange':_0x11fd4f,'overlay':(0x0,r[_0x3b3794(0x6f0)])(_0x3b3794(0x21c),{'className':_0x3b3794(0x2c1),'children':_0x4bb260['options'][_0x3b3794(0x263)](_0xbeb2ca=>(0x0,r['jsxs'])(_0x3b3794(0x324),{'type':_0x3b3794(0x324),'aria-label':_0xbeb2ca[_0x3b3794(0x68f)],'onClick':()=>{const _0x1a2412=_0x3b3794;_0x4bb260['onChange'](_0xbeb2ca[_0x1a2412(0x202)]),_0x11fd4f(!0x1);},'className':(0x0,e[_0x3b3794(0x4e6)])(_0x3b3794(0x2f5),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0xbeb2ca['value']===_0x4bb260['value']}),'children':[(0x0,r[_0x3b3794(0x6f0)])(_0x3b3794(0x6c6),{'className':_0x3b3794(0x433),'children':_0xbeb2ca[_0x3b3794(0x63e)]}),(0x0,r[_0x3b3794(0x6f0)])(_0x3b3794(0x6c6),{'className':'univer-flex-1','children':_0xbeb2ca['label']})]},_0xbeb2ca[_0x3b3794(0x202)]))}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x3b3794(0x6f0)])(Te,{'title':_0x4bb260[_0x3b3794(0x31b)],'icon':_0x594629[_0x3b3794(0x63e)],'active':_0x4ba6cc})})}):null;}function $e(_0x216270){const _0x300170=_0x56c0cf;let {action:_0x3fc304}=_0x216270,_0x5e1d58=_0x3fc304[_0x300170(0x4be)]===_0x300170(0x483)?t[_0x300170(0x269)]:t[_0x300170(0x1f3)];return(0x0,r['jsx'])(we,{'title':_0x3fc304[_0x300170(0x68f)],'onClick':_0x3fc304[_0x300170(0x478)],'children':(0x0,r[_0x300170(0x6f0)])(_0x5e1d58,{})});}function et(_0x26f527){const _0x158259=_0x56c0cf;let {actions:_0x3d0d35}=_0x26f527,[_0x25a066,_0x4fcd58]=(0x0,n[_0x158259(0x1c0)])(!0x1),{handleOpenChange:_0x185181,markInternalInteraction:_0x132579}=be(_0x4fcd58);return(0x0,r[_0x158259(0x6f0)])(e[_0x158259(0x1b9)],{'open':_0x25a066,'onOpenChange':_0x185181,'overlay':(0x0,r[_0x158259(0x6f0)])(_0x158259(0x21c),{'onPointerDownCapture':_0x3e3061=>{_0x132579(),Q(_0x3e3061);},'onMouseDownCapture':_0x3c46ae=>{_0x132579(),Q(_0x3c46ae);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x905b9=>_0x905b9[_0x158259(0x60b)](),'className':_0x158259(0x4a7),'children':(0x0,r[_0x158259(0x372)])(Xe,{'className':'!univer-p-1','minWidthClassName':_0x158259(0x5a7),'children':[(0x0,r[_0x158259(0x6f0)])(Ze,{'label':_0x3d0d35[_0x158259(0x27d)],'onClick':()=>{_0x3d0d35['onFront'](),_0x4fcd58(!0x1);}}),(0x0,r[_0x158259(0x6f0)])(Ze,{'label':_0x3d0d35[_0x158259(0x3cf)],'onClick':_0x3d0d35['onForward']}),(0x0,r[_0x158259(0x6f0)])(Ze,{'label':_0x3d0d35['backwardLabel'],'onClick':_0x3d0d35['onBackward']}),(0x0,r['jsx'])(Ze,{'label':_0x3d0d35['backLabel'],'onClick':()=>{const _0x42f6e0=_0x158259;_0x3d0d35[_0x42f6e0(0x431)](),_0x4fcd58(!0x1);}})]})}),'children':(0x0,r[_0x158259(0x6f0)])(_0x158259(0x6c6),{'children':(0x0,r['jsx'])(e[_0x158259(0x481)],{'title':_0x3d0d35['title'],'placement':_0x158259(0x4b8),'children':(0x0,r[_0x158259(0x372)])(_0x158259(0x324),{'type':_0x158259(0x324),'aria-label':_0x3d0d35[_0x158259(0x31b)],'className':(0x0,e['clsx'])(_0x158259(0x28f),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x25a066}),'children':[(0x0,r[_0x158259(0x6f0)])(t[_0x158259(0x55c)],{}),(0x0,r[_0x158259(0x6f0)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x158259(0x226),{'univer-rotate-180':_0x25a066})})]})})})});}function tt(_0x3f1dbe){const _0x204e14=_0x56c0cf;var _0x3c3c2b,_0x450871,_0x535a44,_0x4f8179,_0x5b4ada,_0x412dcf,_0x55c525,_0x37ba48,_0x2c41eb,_0x5e4b9a,_0x483a49,_0x2f96fb;let {shapeData:_0x97efae,shapeType:_0x4acf15,textStyle:_0x315313,textModel:_0x1387e2,wrappingStyle:_0x3d77da,wrappingStyleOptions:_0x30c883,enableShapeStrokeReset:_0x29e06f=!0x1,enableTextBackgroundReset:_0x8ab26e=!0x1,enableTextControls:_0x4aac9c=!0x0,deferUntilCollapsedStateLoaded:_0x338c39=!0x1,defaultFillColor:_0x317e7c=he,defaultGradientEndColor:_0x573b32=_0x204e14(0x1b5),defaultStrokeColor:_0x1904da=X,onUpdateShapeData:_0x57ad8c,onUpdateText:_0x6ca898,onUpdateWrappingStyle:_0x3cde00,groupAction:_0x1e56de,layerActions:_0x22b798,extensionGroups:_0xcab199,onOpenPanel:_0x7dd32,onDelete:_0x1b5c08}=_0x3f1dbe,_0x13bd0b=(0x0,a[_0x204e14(0x4ea)])(i[_0x204e14(0x5ad)]),_0x186bc8=(0x0,a[_0x204e14(0x430)])(_0x13bd0b[_0x204e14(0x4e1)],_0x13bd0b[_0x204e14(0x5ee)]()),_0x5230ed=(0x0,a[_0x204e14(0x4ea)])(i['IContextService']),_0x7138f6=(0x0,a[_0x204e14(0x4ea)])(i[_0x204e14(0x608)]),[_0x1c9627,_0x17a065]=(0x0,n[_0x204e14(0x1c0)])(!0x1),[_0x2b0fde,_0x2d35a6]=(0x0,n[_0x204e14(0x1c0)])(!0x1);(0x0,n['useEffect'])(()=>{const _0x56c4dd=_0x204e14;let _0x25620b=!0x1;return _0x7138f6[_0x56c4dd(0x1e0)](_e)['then'](_0x2aeef2=>{const _0xb2951e=_0x56c4dd;!_0x25620b&&typeof _0x2aeef2==_0xb2951e(0x5fc)&&_0x17a065(_0x2aeef2);})[_0x56c4dd(0x4af)](()=>void 0x0)[_0x56c4dd(0x31a)](()=>{_0x25620b||_0x2d35a6(!0x0);}),()=>{_0x25620b=!0x0;};},[_0x7138f6]);let _0x11bfb1=_0x5beb29=>{_0x17a065(_0x5beb29),_0x7138f6['setItem'](_e,_0x5beb29)['catch'](()=>void 0x0);},_0x35fc36=!!_0x97efae&&_0x4acf15!==void 0x0,_0x1c6bd5=_0x35fc36&&_0x4aac9c,_0x59f203=!!_0x1e56de||!!_0x22b798,_0x17363b=(_0xcab199==null?[]:_0xcab199)[_0x204e14(0x3f0)](_0x448d92=>_0x448d92['visible']!==!0x1)[_0x204e14(0x263)](_0x85a6b0=>({..._0x85a6b0,'actions':_0x85a6b0[_0x204e14(0x5ea)][_0x204e14(0x3f0)](_0x357bb6=>_0x357bb6[_0x204e14(0x471)]!==!0x1)}))[_0x204e14(0x3f0)](_0x3c02e9=>_0x3c02e9[_0x204e14(0x5ea)]['length']>0x0),_0x40aeef=_0x17363b[_0x204e14(0x3d5)]>0x0,_0x451a84=_0x4acf15!==void 0x0&&(0x0,s['isConnectorShape'])(_0x4acf15),_0x371ef3=(_0x3c3c2b=(_0x450871=_0x315313['cl'])==null?void 0x0:_0x450871['rgb'])==null?Z:_0x3c3c2b,_0x1a4e40=(_0x535a44=(_0x4f8179=_0x315313['bg'])==null?void 0x0:_0x4f8179['rgb'])==null?ge:_0x535a44,_0x4a5670=(_0x5b4ada=_0x315313['ff'])==null?'monospace':_0x5b4ada,_0x586511=(_0x412dcf=_0x315313['fs'])==null?0xe:_0x412dcf,_0x2133df=_0x315313['bl']===i['BooleanNumber'][_0x204e14(0x657)],_0x2e57e6=_0x315313['it']===i[_0x204e14(0x32b)][_0x204e14(0x657)],_0x122a29=((_0x55c525=_0x315313['ul'])==null?void 0x0:_0x55c525['s'])===i['BooleanNumber'][_0x204e14(0x657)],_0x5d8c41=((_0x37ba48=_0x315313['st'])==null?void 0x0:_0x37ba48['s'])===i[_0x204e14(0x32b)][_0x204e14(0x657)],_0x52a389=(_0x2c41eb=_0x1387e2==null?void 0x0:_0x1387e2['ha'])==null?i[_0x204e14(0x1e4)][_0x204e14(0x252)]:_0x2c41eb,_0x5984f1=(_0x5e4b9a=_0x1387e2==null?void 0x0:_0x1387e2['va'])==null?i[_0x204e14(0x5e9)][_0x204e14(0x338)]:_0x5e4b9a,_0xf86954=[{'label':_0x13bd0b['t'](_0x204e14(0x500)),'value':i[_0x204e14(0x1e4)][_0x204e14(0x252)],'icon':(0x0,r[_0x204e14(0x6f0)])(t['LeftJustifyingIcon'],{})},{'label':_0x13bd0b['t'](_0x204e14(0x554)),'value':i[_0x204e14(0x1e4)][_0x204e14(0x66f)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x5e4)],{})},{'label':_0x13bd0b['t'](_0x204e14(0x33c)),'value':i[_0x204e14(0x1e4)]['RIGHT'],'icon':(0x0,r[_0x204e14(0x6f0)])(t['RightJustifyingIcon'],{})},{'label':_0x13bd0b['t'](_0x204e14(0x65c)),'value':i['HorizontalAlign'][_0x204e14(0x23f)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x337)],{})}],_0x432cdd=[{'label':_0x13bd0b['t']('shape-editor-ui.align.top'),'value':i['VerticalAlign'][_0x204e14(0x338)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x3ee)],{})},{'label':_0x13bd0b['t'](_0x204e14(0x632)),'value':i[_0x204e14(0x5e9)][_0x204e14(0x442)],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x395)],{})},{'label':_0x13bd0b['t']('shape-editor-ui.align.bottom'),'value':i[_0x204e14(0x5e9)]['BOTTOM'],'icon':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x622)],{})}];return!_0x35fc36&&!_0x59f203&&!_0x40aeef&&!_0x7dd32&&!_0x1b5c08||_0x338c39&&!_0x2b0fde?null:_0x1c9627?(0x0,r[_0x204e14(0x6f0)])(_0x204e14(0x324),{'type':_0x204e14(0x324),'dir':_0x186bc8,'style':{'direction':_0x186bc8},'data-u-comp':_0x204e14(0x614),'aria-label':_0x13bd0b['t'](_0x204e14(0x1e5)),'onMouseDown':$,'onClick':()=>_0x11bfb1(!0x1),'className':_0x204e14(0x5d5),'children':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x6b4)],{'className':'-univer-rotate-90\x20univer-text-xs'})}):(0x0,r['jsxs'])(_0x204e14(0x21c),{'data-u-comp':'shape-floating-toolbar','dir':_0x186bc8,'style':{'direction':_0x186bc8},'className':_0x204e14(0x541),'children':[(0x0,r['jsx'])('button',{'type':_0x204e14(0x324),'aria-label':_0x13bd0b['t'](_0x204e14(0x4b0)),'onMouseDown':$,'onClick':()=>_0x11bfb1(!0x0),'className':_0x204e14(0x59e),'children':(0x0,r['jsx'])(t[_0x204e14(0x6b4)],{'className':'univer--rotate-90\x20univer-text-xs'})}),(0x0,r[_0x204e14(0x372)])(Ce,{'children':[_0x35fc36&&(0x0,r['jsxs'])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x372)])(Se,{'children':[(0x0,r[_0x204e14(0x6f0)])(Ve,{'titleKey':_0x204e14(0x6ef),'shapeData':_0x97efae,'disabled':_0x451a84,'fallbackColor':_0x317e7c,'fallbackGradientEndColor':_0x573b32,'onUpdateShapeData':_0x57ad8c}),(0x0,r[_0x204e14(0x6f0)])(Fe,{'titleKey':_0x204e14(0x234),'shapeData':_0x97efae,'fallbackColor':_0x1904da,'onReset':_0x29e06f?()=>{const _0x1a9aa2=_0x204e14;_0x57ad8c({'oldShapeData':{'stroke':_0x97efae[_0x1a9aa2(0x451)]}},{'stroke':{..._0x97efae['stroke'],'lineStrokeType':s['ShapeLineTypeEnum']['NoLine']}});}:void 0x0,'onUpdateShapeData':_0x57ad8c})]}),_0x35fc36&&_0x1c6bd5&&(0x0,r['jsxs'])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':_0x204e14(0x284),'className':_0x204e14(0x5a5)}),(0x0,r[_0x204e14(0x372)])(Se,{'children':[(0x0,r['jsx'])(a['FontFamilyDropdown'],{'className':_0x204e14(0x37c),'inputClassName':'univer-w-full','popupDataComponent':'shape-floating-toolbar-font-family-menu','title':_0x4a5670,'value':_0x4a5670,'onChange':_0x4b6500=>_0x6ca898({'textStyle':{'ff':_0x4b6500}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r[_0x204e14(0x6f0)])(Ee,{'value':String(_0x586511),'onChange':_0x43f39d=>{_0x6ca898({'textStyle':{'fs':_0x43f39d}});},'onAfterChange':()=>{const _0x5222d2=_0x204e14;_0x5230ed[_0x5222d2(0x691)](i[_0x5222d2(0x3f5)],!0x1);}}),(0x0,r[_0x204e14(0x6f0)])(Ye,{'titleKey':_0x204e14(0x462),'textStyle':{'isBold':_0x2133df,'isItalic':_0x2e57e6,'isUnderline':_0x122a29,'isStrike':_0x5d8c41},'horizontalAlign':_0x52a389,'verticalAlign':_0x5984f1,'horizontalAlignOptions':_0xf86954,'verticalAlignOptions':_0x432cdd,'onUpdateText':_0x6ca898})]}),(0x0,r['jsx'])(e['Separator'],{'orientation':'vertical','className':'!univer-h-5'}),(0x0,r[_0x204e14(0x372)])(Se,{'children':[(0x0,r['jsx'])(qe,{'titleKey':_0x204e14(0x240),'textStyle':_0x315313,'fallbackColor':_0x371ef3,'onChange':_0x14ecea=>_0x6ca898({'textStyle':_0x14ecea})}),(0x0,r[_0x204e14(0x6f0)])(Je,{'titleKey':_0x204e14(0x3ff),'color':_0x1a4e40,'onApply':()=>_0x6ca898({'textStyle':{'bg':{'rgb':_0x1a4e40}}}),'onReset':_0x8ab26e?()=>_0x6ca898({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x28550e=>_0x6ca898({'textStyle':{'bg':{'rgb':_0x28550e}}})})]})]})]}),_0x35fc36&&_0x3d77da!==void 0x0&&_0x30c883&&_0x3cde00&&(0x0,r[_0x204e14(0x372)])(r[_0x204e14(0x270)],{'children':[(0x0,r['jsx'])(e['Separator'],{'orientation':'vertical','className':_0x204e14(0x5a5)}),(0x0,r['jsx'])(Se,{'children':(0x0,r['jsx'])(Qe,{'title':(_0x483a49=(_0x2f96fb=_0x30c883['find'](_0x260d4a=>_0x260d4a[_0x204e14(0x202)]===_0x3d77da))==null?void 0x0:_0x2f96fb['label'])==null?_0x13bd0b['t'](_0x204e14(0x3ea)):_0x483a49,'value':_0x3d77da,'options':_0x30c883,'onChange':_0x3cde00})})]}),_0x59f203&&(0x0,r[_0x204e14(0x372)])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':_0x204e14(0x284),'className':_0x204e14(0x5a5)}),(0x0,r[_0x204e14(0x372)])(Se,{'children':[_0x1e56de&&(0x0,r[_0x204e14(0x6f0)])($e,{'action':_0x1e56de}),_0x22b798&&(0x0,r[_0x204e14(0x6f0)])(et,{'actions':_0x22b798})]})]}),(_0x7dd32||_0x1b5c08)&&(0x0,r[_0x204e14(0x372)])(r[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':_0x204e14(0x284),'className':_0x204e14(0x5a5)}),(0x0,r['jsxs'])(Se,{'children':[_0x7dd32&&(0x0,r[_0x204e14(0x6f0)])(we,{'titleKey':'shape-editor-ui.openPanel','onClick':()=>{_0x7dd32();},'children':(0x0,r['jsx'])(t[_0x204e14(0x205)],{})}),_0x1b5c08&&(0x0,r[_0x204e14(0x6f0)])(we,{'titleKey':_0x204e14(0x416),'onClick':_0x1b5c08,'children':(0x0,r[_0x204e14(0x6f0)])(t[_0x204e14(0x623)],{})})]})]}),_0x17363b[_0x204e14(0x263)](_0x4d2f23=>(0x0,r['jsxs'])(n[_0x204e14(0x270)],{'children':[(0x0,r[_0x204e14(0x6f0)])(e[_0x204e14(0x400)],{'orientation':'vertical','className':_0x204e14(0x5a5)}),(0x0,r[_0x204e14(0x6f0)])(Se,{'children':_0x4d2f23['actions']['map'](_0x977fd8=>{const _0x44cdf1=_0x204e14;var _0x72c92b;return(0x0,r[_0x44cdf1(0x6f0)])(n[_0x44cdf1(0x270)],{'children':(_0x72c92b=_0x977fd8['render'])==null?(0x0,r[_0x44cdf1(0x6f0)])(we,{'title':_0x977fd8['label'],'active':_0x977fd8[_0x44cdf1(0x522)],'disabled':_0x977fd8[_0x44cdf1(0x54f)],'onClick':_0x977fd8[_0x44cdf1(0x478)],'children':_0x977fd8[_0x44cdf1(0x63e)]}):_0x72c92b},_0x977fd8[_0x44cdf1(0x266)]);})})]},_0x4d2f23[_0x204e14(0x266)]))]})]});}let nt=function(_0x13a7b9){const _0x3e1622=_0x56c0cf;return _0x13a7b9['Line']=_0x3e1622(0x348),_0x13a7b9['Rectangle']='rectangle',_0x13a7b9[_0x3e1622(0x32f)]=_0x3e1622(0x1ed),_0x13a7b9[_0x3e1622(0x464)]=_0x3e1622(0x52b),_0x13a7b9[_0x3e1622(0x50a)]=_0x3e1622(0x4e0),_0x13a7b9[_0x3e1622(0x65f)]='flowchart',_0x13a7b9[_0x3e1622(0x329)]=_0x3e1622(0x32c),_0x13a7b9['Callout']='callout',_0x13a7b9[_0x3e1622(0x5bc)]=_0x3e1622(0x2fb),_0x13a7b9;}({});const rt=[{'group':_0x56c0cf(0x348),'type':s['ShapeTypeEnum']['Line'],'icon':_0x56c0cf(0x6a5),'name':_0x56c0cf(0x4b3)},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2db)],'icon':_0x56c0cf(0x628),'name':_0x56c0cf(0x3a7),'endArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s['ShapeTypeEnum'][_0x56c0cf(0x2db)],'icon':_0x56c0cf(0x527),'name':_0x56c0cf(0x5f5),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)]['BentConnector3'],'icon':'ShapeBentConnector3Icon','name':_0x56c0cf(0x676)},{'group':'line','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2cb)],'icon':_0x56c0cf(0x574),'name':_0x56c0cf(0x667),'endArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)]['BentConnector3'],'icon':_0x56c0cf(0x3d3),'name':_0x56c0cf(0x38a),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x56c0cf(0x348),'type':s[_0x56c0cf(0x651)]['CurvedConnector3'],'icon':'ShapeCurvedConnector3Icon','name':_0x56c0cf(0x20d)},{'group':_0x56c0cf(0x348),'type':s['ShapeTypeEnum'][_0x56c0cf(0x427)],'icon':_0x56c0cf(0x42f),'name':'shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':'line','type':s['ShapeTypeEnum'][_0x56c0cf(0x427)],'icon':_0x56c0cf(0x510),'name':_0x56c0cf(0x615),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x401)],'icon':_0x56c0cf(0x52d),'name':_0x56c0cf(0x25a)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3d2)],'icon':_0x56c0cf(0x436),'name':_0x56c0cf(0x220)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x389)],'icon':_0x56c0cf(0x365),'name':'shape.type.snip1-rect'},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x65a)],'icon':_0x56c0cf(0x368),'name':'shape.type.snip2-same-rect'},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x69f)],'icon':_0x56c0cf(0x63c),'name':_0x56c0cf(0x2e7)},{'group':'rectangle','type':s['ShapeTypeEnum'][_0x56c0cf(0x53a)],'icon':_0x56c0cf(0x592),'name':_0x56c0cf(0x3bc)},{'group':'rectangle','type':s['ShapeTypeEnum'][_0x56c0cf(0x3be)],'icon':_0x56c0cf(0x2af),'name':_0x56c0cf(0x640)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3dc)],'icon':_0x56c0cf(0x39a),'name':_0x56c0cf(0x275)},{'group':_0x56c0cf(0x33d),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1ba)],'icon':'ShapeRound2DiagRectIcon','name':'shape.type.round2-diag-rect'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x401)],'icon':_0x56c0cf(0x42a),'name':_0x56c0cf(0x391),'horizontal':!0x0},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x56c0cf(0x401)],'icon':'ShapeRectTextboxVerticalIcon','name':_0x56c0cf(0x67b),'vertical':!0x0},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x607)],'icon':_0x56c0cf(0x639),'name':_0x56c0cf(0x5bb)},{'group':'basicShape','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x60e)],'icon':_0x56c0cf(0x1d0),'name':_0x56c0cf(0x3b2)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x282)],'icon':'ShapeRtTriangleIcon','name':_0x56c0cf(0x3bf)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum']['Parallelogram'],'icon':_0x56c0cf(0x591),'name':_0x56c0cf(0x1fb)},{'group':'basicShape','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2a1)],'icon':'ShapeTrapezoidIcon','name':_0x56c0cf(0x300)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Diamond'],'icon':_0x56c0cf(0x331),'name':_0x56c0cf(0x4ae)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x605)],'icon':_0x56c0cf(0x536),'name':_0x56c0cf(0x5bd)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x598)],'icon':'ShapeHexagonIcon','name':_0x56c0cf(0x3fc)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum']['Heptagon'],'icon':_0x56c0cf(0x330),'name':'shape.type.heptagon'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Octagon'],'icon':_0x56c0cf(0x292),'name':_0x56c0cf(0x411)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x38e)],'icon':_0x56c0cf(0x58b),'name':_0x56c0cf(0x421)},{'group':'basicShape','type':s[_0x56c0cf(0x651)]['Dodecagon'],'icon':_0x56c0cf(0x661),'name':_0x56c0cf(0x6dd)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1d2)],'icon':_0x56c0cf(0x4b5),'name':_0x56c0cf(0x2b0)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x56c0cf(0x51c)],'icon':_0x56c0cf(0x47b),'name':_0x56c0cf(0x70a)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Teardrop'],'icon':'ShapeTeardropIcon','name':_0x56c0cf(0x51e)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2fa)],'icon':'ShapeFrameIcon','name':_0x56c0cf(0x540)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['HalfFrame'],'icon':_0x56c0cf(0x69e),'name':'shape.type.half-frame'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Corner'],'icon':'ShapeCornerIcon','name':_0x56c0cf(0x2da)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x558)],'icon':_0x56c0cf(0x3f9),'name':_0x56c0cf(0x6ce)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum'][_0x56c0cf(0x3d6)],'icon':'ShapePlusIcon','name':'shape.type.plus'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x693)],'icon':_0x56c0cf(0x285),'name':_0x56c0cf(0x2bc)},{'group':'basicShape','type':s[_0x56c0cf(0x651)]['Can'],'icon':'ShapeCanIcon','name':_0x56c0cf(0x583)},{'group':'basicShape','type':s[_0x56c0cf(0x651)]['Cube'],'icon':_0x56c0cf(0x1b1),'name':'shape.type.cube'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Bevel'],'icon':_0x56c0cf(0x664),'name':_0x56c0cf(0x2ce)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4de)],'icon':_0x56c0cf(0x635),'name':_0x56c0cf(0x499)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3a6)],'icon':'ShapeNoSmokingIcon','name':_0x56c0cf(0x210)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3dd)],'icon':_0x56c0cf(0x293),'name':_0x56c0cf(0x4b2)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6a9)],'icon':_0x56c0cf(0x58e),'name':'shape.type.folder-corner'},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x56c0cf(0x432)],'icon':_0x56c0cf(0x281),'name':_0x56c0cf(0x663)},{'group':'basicShape','type':s['ShapeTypeEnum']['Heart'],'icon':_0x56c0cf(0x61e),'name':_0x56c0cf(0x4bd)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4f4)],'icon':_0x56c0cf(0x48a),'name':_0x56c0cf(0x575)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x262)],'icon':_0x56c0cf(0x711),'name':_0x56c0cf(0x467)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['Moon'],'icon':'ShapeMoonIcon','name':'shape.type.moon'},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x308)],'icon':'ShapeCloudIcon','name':_0x56c0cf(0x4eb)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6d0)],'icon':_0x56c0cf(0x30b),'name':_0x56c0cf(0x349)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5c8)],'icon':_0x56c0cf(0x1bd),'name':_0x56c0cf(0x715)},{'group':'basicShape','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1f9)],'icon':_0x56c0cf(0x604),'name':_0x56c0cf(0x448)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['LeftBracket'],'icon':'ShapeLeftBracketIcon','name':_0x56c0cf(0x675)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)]['RightBracket'],'icon':'ShapeRightBracketIcon','name':_0x56c0cf(0x22d)},{'group':_0x56c0cf(0x1ed),'type':s['ShapeTypeEnum'][_0x56c0cf(0x36c)],'icon':_0x56c0cf(0x62f),'name':_0x56c0cf(0x545)},{'group':_0x56c0cf(0x1ed),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3a1)],'icon':_0x56c0cf(0x32d),'name':_0x56c0cf(0x5fa)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x496)],'icon':_0x56c0cf(0x4f7),'name':'shape.type.right-arrow'},{'group':'blockArrow','type':s[_0x56c0cf(0x651)]['LeftArrow'],'icon':_0x56c0cf(0x47d),'name':'shape.type.left-arrow'},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x2a3)],'icon':_0x56c0cf(0x642),'name':_0x56c0cf(0x629)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2f3)],'icon':_0x56c0cf(0x447),'name':_0x56c0cf(0x2d6)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)]['LeftRightArrow'],'icon':_0x56c0cf(0x4d1),'name':'shape.type.left-right-arrow'},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum']['UpDownArrow'],'icon':_0x56c0cf(0x6e9),'name':_0x56c0cf(0x673)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x54d)],'icon':_0x56c0cf(0x590),'name':_0x56c0cf(0x5c3)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x37b)],'icon':_0x56c0cf(0x2f6),'name':'shape.type.left-right-up-arrow'},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x53d)],'icon':_0x56c0cf(0x6ad),'name':_0x56c0cf(0x6dc)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)]['UturnArrow'],'icon':_0x56c0cf(0x6fb),'name':_0x56c0cf(0x398)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1c8)],'icon':'ShapeLeftUpArrowIcon','name':_0x56c0cf(0x5ff)},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x360)],'icon':_0x56c0cf(0x423),'name':_0x56c0cf(0x55e)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2dc)],'icon':_0x56c0cf(0x424),'name':_0x56c0cf(0x4f5)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x56d)],'icon':_0x56c0cf(0x4c6),'name':_0x56c0cf(0x463)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x295)],'icon':'ShapeCurvedUpArrowIcon','name':'shape.type.curved-up-arrow'},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x1fd)],'icon':_0x56c0cf(0x666),'name':_0x56c0cf(0x30c)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x25c)],'icon':_0x56c0cf(0x559),'name':_0x56c0cf(0x310)},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x1ae)],'icon':_0x56c0cf(0x47c),'name':_0x56c0cf(0x1fa)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x55f)],'icon':'ShapeHomePlateIcon','name':_0x56c0cf(0x3a0)},{'group':_0x56c0cf(0x52b),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5a9)],'icon':_0x56c0cf(0x46d),'name':'shape.type.chevron'},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5cc)],'icon':_0x56c0cf(0x5e8),'name':_0x56c0cf(0x3db)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x60f)],'icon':'ShapeDownArrowCalloutIcon','name':_0x56c0cf(0x645)},{'group':_0x56c0cf(0x52b),'type':s[_0x56c0cf(0x651)]['LeftArrowCallout'],'icon':_0x56c0cf(0x511),'name':_0x56c0cf(0x24a)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x68a)],'icon':'ShapeUpArrowCalloutIcon','name':_0x56c0cf(0x649)},{'group':'blockArrow','type':s['ShapeTypeEnum'][_0x56c0cf(0x609)],'icon':_0x56c0cf(0x488),'name':_0x56c0cf(0x3ce)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x22e)],'icon':_0x56c0cf(0x531),'name':_0x56c0cf(0x6b6)},{'group':'blockArrow','type':s[_0x56c0cf(0x651)]['CircularArrow'],'icon':_0x56c0cf(0x1a7),'name':_0x56c0cf(0x6ba)},{'group':_0x56c0cf(0x4e0),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x44c)],'icon':'ShapeMathPlusIcon','name':_0x56c0cf(0x4a5)},{'group':_0x56c0cf(0x4e0),'type':s['ShapeTypeEnum'][_0x56c0cf(0x565)],'icon':_0x56c0cf(0x1d6),'name':_0x56c0cf(0x5be)},{'group':'equationShape','type':s[_0x56c0cf(0x651)]['MathMultiply'],'icon':'ShapeMathMultiplyIcon','name':_0x56c0cf(0x4d5)},{'group':_0x56c0cf(0x4e0),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x273)],'icon':'ShapeMathDivideIcon','name':'shape.type.math-divide'},{'group':_0x56c0cf(0x4e0),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x702)],'icon':_0x56c0cf(0x5b9),'name':_0x56c0cf(0x695)},{'group':'equationShape','type':s['ShapeTypeEnum']['MathNotEqual'],'icon':_0x56c0cf(0x56f),'name':_0x56c0cf(0x70e)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x363)],'icon':'ShapeFlowChartProcessIcon','name':_0x56c0cf(0x1cb)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x42c)],'icon':_0x56c0cf(0x38b),'name':_0x56c0cf(0x2e8)},{'group':'flowchart','type':s['ShapeTypeEnum']['FlowchartDecision'],'icon':_0x56c0cf(0x1bf),'name':_0x56c0cf(0x41b)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2d1)],'icon':_0x56c0cf(0x333),'name':_0x56c0cf(0x25d)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x4b4)],'icon':_0x56c0cf(0x476),'name':_0x56c0cf(0x646)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5ab)],'icon':_0x56c0cf(0x653),'name':_0x56c0cf(0x378)},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x656)],'icon':_0x56c0cf(0x332),'name':_0x56c0cf(0x2b1)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x33e)],'icon':'ShapeFlowChartMultidocumentIcon','name':'shape.type.flow-chart-multidocument'},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartTerminator'],'icon':'ShapeFlowChartTerminatorIcon','name':_0x56c0cf(0x2ab)},{'group':'flowchart','type':s[_0x56c0cf(0x651)]['FlowchartPreparation'],'icon':'ShapeFlowChartPreparationIcon','name':'shape.type.flow-chart-preparation'},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x513)],'icon':_0x56c0cf(0x5cd),'name':_0x56c0cf(0x455)},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x550)],'icon':'ShapeFlowChartManualOperationIcon','name':_0x56c0cf(0x3bb)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x504)],'icon':_0x56c0cf(0x694),'name':_0x56c0cf(0x48e)},{'group':'flowchart','type':s['ShapeTypeEnum']['FlowchartOffPageConnector'],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x56c0cf(0x1d1)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x454)],'icon':_0x56c0cf(0x28b),'name':_0x56c0cf(0x380)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartPunchedTape'],'icon':'ShapeFlowChartPunchedTapeIcon','name':_0x56c0cf(0x2be)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x259)],'icon':_0x56c0cf(0x216),'name':'shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x405)],'icon':_0x56c0cf(0x53f),'name':'shape.type.flow-chart-or'},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x386)],'icon':_0x56c0cf(0x6d3),'name':_0x56c0cf(0x54b)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartSort'],'icon':_0x56c0cf(0x5f8),'name':_0x56c0cf(0x69a)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x33a)],'icon':_0x56c0cf(0x561),'name':_0x56c0cf(0x5d1)},{'group':'flowchart','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x309)],'icon':'ShapeFlowChartMergeIcon','name':_0x56c0cf(0x4cf)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5e5)],'icon':_0x56c0cf(0x291),'name':_0x56c0cf(0x4d3)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3e8)],'icon':_0x56c0cf(0x265),'name':_0x56c0cf(0x47e)},{'group':_0x56c0cf(0x58a),'type':s['ShapeTypeEnum'][_0x56c0cf(0x6a3)],'icon':_0x56c0cf(0x4ee),'name':_0x56c0cf(0x34c)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x327)],'icon':_0x56c0cf(0x29f),'name':_0x56c0cf(0x212)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)]['FlowchartMagneticDrum'],'icon':_0x56c0cf(0x24e),'name':_0x56c0cf(0x560)},{'group':_0x56c0cf(0x58a),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1b4)],'icon':_0x56c0cf(0x620),'name':_0x56c0cf(0x1b8)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4d2)],'icon':_0x56c0cf(0x452),'name':'shape.type.irregular-seal1'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x29e)],'icon':_0x56c0cf(0x1f7),'name':'shape.type.irregular-seal2'},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x6f2)],'icon':_0x56c0cf(0x304),'name':_0x56c0cf(0x5e2)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x261)],'icon':'ShapeStar5Icon','name':_0x56c0cf(0x677)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5f4)],'icon':_0x56c0cf(0x343),'name':'shape.type.star6'},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum']['Star7'],'icon':_0x56c0cf(0x68d),'name':_0x56c0cf(0x356)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x38d)],'icon':_0x56c0cf(0x24f),'name':_0x56c0cf(0x27b)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x55d)],'icon':_0x56c0cf(0x5b5),'name':_0x56c0cf(0x25b)},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x233)],'icon':_0x56c0cf(0x397),'name':'shape.type.star12'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4ef)],'icon':'ShapeStar16Icon','name':_0x56c0cf(0x5c7)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)]['Star24'],'icon':'ShapeStar24Icon','name':_0x56c0cf(0x30e)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x549)],'icon':_0x56c0cf(0x6fe),'name':_0x56c0cf(0x46f)},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x638)],'icon':'ShapeRibbon2Icon','name':_0x56c0cf(0x54a)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x588)],'icon':'ShapeRibbonIcon','name':_0x56c0cf(0x70d)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)]['EllipseRibbon2'],'icon':_0x56c0cf(0x3ed),'name':_0x56c0cf(0x4bc)},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x40b)],'icon':'ShapeEllipseRibbonIcon','name':'shape.type.ellipse-ribbon'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2c7)],'icon':_0x56c0cf(0x209),'name':'shape.type.vertical-scroll'},{'group':_0x56c0cf(0x32c),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x326)],'icon':_0x56c0cf(0x665),'name':_0x56c0cf(0x39d)},{'group':'starAndBanner','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x396)],'icon':_0x56c0cf(0x6ee),'name':_0x56c0cf(0x4ff)},{'group':_0x56c0cf(0x32c),'type':s['ShapeTypeEnum'][_0x56c0cf(0x287)],'icon':'ShapeDoubleWaveIcon','name':_0x56c0cf(0x446)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x624)],'icon':'ShapeWedgeRectCalloutIcon','name':'shape.type.wedge-rect-callout'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x63a)],'icon':_0x56c0cf(0x684),'name':_0x56c0cf(0x221)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x680)],'icon':_0x56c0cf(0x36e),'name':'shape.type.wedge-ellipse-callout'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x301)],'icon':'ShapeCloudCalloutIcon','name':_0x56c0cf(0x353)},{'group':'callout','type':s[_0x56c0cf(0x651)]['BorderCallout1'],'icon':_0x56c0cf(0x28d),'name':'shape.type.border-callout1'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1e8)],'icon':_0x56c0cf(0x29b),'name':_0x56c0cf(0x21f)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x508)],'icon':_0x56c0cf(0x2a2),'name':_0x56c0cf(0x34d)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6c0)],'icon':'ShapeAccentCallout1Icon','name':_0x56c0cf(0x552)},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum'][_0x56c0cf(0x710)],'icon':'ShapeAccentCallout2Icon','name':'shape.type.accent-callout2'},{'group':'callout','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x612)],'icon':_0x56c0cf(0x23a),'name':_0x56c0cf(0x4ab)},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum'][_0x56c0cf(0x654)],'icon':_0x56c0cf(0x3cb),'name':_0x56c0cf(0x6e8)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x35c)],'icon':_0x56c0cf(0x311),'name':'shape.type.callout2'},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)]['Callout3'],'icon':_0x56c0cf(0x3e6),'name':_0x56c0cf(0x487)},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum']['AccentBorderCallout1'],'icon':_0x56c0cf(0x705),'name':'shape.type.accent-border-callout1'},{'group':_0x56c0cf(0x6b8),'type':s['ShapeTypeEnum'][_0x56c0cf(0x5f1)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x56c0cf(0x2b6)},{'group':_0x56c0cf(0x6b8),'type':s[_0x56c0cf(0x651)]['AccentBorderCallout3'],'icon':_0x56c0cf(0x296),'name':_0x56c0cf(0x55b)},{'group':'other','type':s[_0x56c0cf(0x651)]['LeftCircularArrow'],'icon':'ShapeLeftCircularArrowIcon','name':'shape.type.left-circular-arrow'},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum'][_0x56c0cf(0x64f)],'icon':_0x56c0cf(0x48f),'name':_0x56c0cf(0x5d2)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5fb)],'icon':_0x56c0cf(0x37a),'name':'shape.type.swoosh-arrow'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['LeftRightRibbon'],'icon':_0x56c0cf(0x1aa),'name':_0x56c0cf(0x38f)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x593)],'icon':'ShapePieWedgeIcon','name':_0x56c0cf(0x1d3)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x596)],'icon':_0x56c0cf(0x4f1),'name':_0x56c0cf(0x41a)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x1ef)],'icon':_0x56c0cf(0x48c),'name':'shape.type.gear6'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4fa)],'icon':_0x56c0cf(0x507),'name':_0x56c0cf(0x6c4)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x4cd)],'icon':_0x56c0cf(0x450),'name':_0x56c0cf(0x62d)},{'group':'other','type':s[_0x56c0cf(0x651)]['ActionButtonBackPrevious'],'icon':_0x56c0cf(0x50b),'name':'shape.type.action-button-back-previous'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['ActionButtonForwardNext'],'icon':'ShapeActionButtonForwardNextIcon','name':_0x56c0cf(0x2b9)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6d5)],'icon':_0x56c0cf(0x6b3),'name':_0x56c0cf(0x245)},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum'][_0x56c0cf(0x255)],'icon':_0x56c0cf(0x548),'name':_0x56c0cf(0x4a0)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['ActionButtonHome'],'icon':_0x56c0cf(0x2de),'name':_0x56c0cf(0x713)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x2c3)],'icon':_0x56c0cf(0x708),'name':'shape.type.action-button-information'},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x248)],'icon':'ShapeActionButtonReturnIcon','name':_0x56c0cf(0x4e2)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x254)],'icon':_0x56c0cf(0x23d),'name':'shape.type.action-button-movie'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x5ba)],'icon':_0x56c0cf(0x681),'name':_0x56c0cf(0x6f6)},{'group':'other','type':s[_0x56c0cf(0x651)]['ActionButtonSound'],'icon':_0x56c0cf(0x3f8),'name':'shape.type.action-button-sound'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x594)],'icon':_0x56c0cf(0x2a9),'name':_0x56c0cf(0x23c)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x49e)],'icon':'ShapeActionButtonBlankIcon','name':_0x56c0cf(0x3b8)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x277)],'icon':_0x56c0cf(0x288),'name':_0x56c0cf(0x6c2)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6a4)],'icon':'ShapeChartStarIcon','name':_0x56c0cf(0x4b6)},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum']['ChartX'],'icon':_0x56c0cf(0x587),'name':_0x56c0cf(0x58f)},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x44d)],'icon':_0x56c0cf(0x458),'name':'shape.type.flow-chart-offline-storage'},{'group':'other','type':s[_0x56c0cf(0x651)][_0x56c0cf(0x3a4)],'icon':'ShapeLineInvIcon','name':_0x56c0cf(0x2ed)},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x6d8)],'icon':_0x56c0cf(0x6cb),'name':'shape.type.plaque-tabs'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)]['SquareTabs'],'icon':_0x56c0cf(0x244),'name':'shape.type.square-tabs'},{'group':_0x56c0cf(0x2fb),'type':s[_0x56c0cf(0x651)][_0x56c0cf(0x420)],'icon':_0x56c0cf(0x1a2),'name':_0x56c0cf(0x2b4)},{'group':_0x56c0cf(0x2fb),'type':s['ShapeTypeEnum']['NonIsoscelesTrapezoid'],'icon':_0x56c0cf(0x320),'name':_0x56c0cf(0x5c0)}];function it(_0x4cb8a9=rt,_0x4297a1=[]){const _0x1d58f0=_0x56c0cf;return _0x4cb8a9[_0x1d58f0(0x3c8)]((_0x31f989,_0x30daa8)=>_0x4297a1[_0x1d58f0(0x49d)](_0x30daa8[_0x1d58f0(0x483)])?_0x31f989:(_0x31f989[_0x30daa8[_0x1d58f0(0x483)]]||(_0x31f989[_0x30daa8[_0x1d58f0(0x483)]]=[]),_0x31f989[_0x30daa8['group']][_0x1d58f0(0x553)](_0x30daa8),_0x31f989),{});}function at(_0x4ff2bf){const _0x1e5e31=_0x56c0cf;let {excludeGroups:_0xcef697,onShapeClick:_0x2eb706,options:_0x3c27f4=rt,scrollContainer:_0x45c308=_0x1e5e31(0x3f2),variant:_0x55a4d0=_0x1e5e31(0x58d)}=_0x4ff2bf,_0x5b89a6=(0x0,a['useDependency'])(a['IconManager']),_0x19d994=(0x0,a[_0x1e5e31(0x4ea)])(i[_0x1e5e31(0x5ad)]),_0x581941=it(_0x3c27f4,_0xcef697);return(0x0,r[_0x1e5e31(0x6f0)])(_0x1e5e31(0x21c),{'className':_0x1e5e31(0x435)+(_0x45c308===_0x1e5e31(0x3f2)?'univer-max-h-[75vh]\x20univer-overflow-y-auto':'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x55a4d0==='card'?_0x1e5e31(0x4fb):'')+_0x1e5e31(0x59a),'children':Object[_0x1e5e31(0x2f0)](_0x581941)[_0x1e5e31(0x263)](([_0x4bce38,_0x51d449])=>(0x0,r[_0x1e5e31(0x372)])('div',{'className':_0x1e5e31(0x214),'children':[(0x0,r[_0x1e5e31(0x6f0)])('div',{'className':_0x1e5e31(0x346),'children':_0x19d994['t'](_0x1e5e31(0x6d6)+_0x4bce38)}),(0x0,r[_0x1e5e31(0x6f0)])(_0x1e5e31(0x21c),{'className':_0x1e5e31(0x6e0),'children':_0x51d449==null?void 0x0:_0x51d449[_0x1e5e31(0x263)](_0x6604a3=>{const _0x8abfe8=_0x1e5e31;let _0x3d270f=_0x5b89a6[_0x8abfe8(0x566)](_0x6604a3[_0x8abfe8(0x63e)]);return(0x0,r[_0x8abfe8(0x6f0)])('button',{'type':_0x8abfe8(0x324),'title':_0x19d994['t']('shape-editor-ui.shape.'+_0x6604a3[_0x8abfe8(0x700)]),'onClick':()=>_0x2eb706(_0x6604a3),'className':_0x8abfe8(0x490),'children':_0x3d270f&&(0x0,r['jsx'])(_0x3d270f,{'className':_0x8abfe8(0x20b)})},_0x6604a3[_0x8abfe8(0x700)]);})})]},_0x4bce38))});}function ot(_0xa8a8d7){const _0x597597=_0x56c0cf;return(0x0,r[_0x597597(0x6f0)])(at,{'excludeGroups':_0xa8a8d7[_0x597597(0x1e1)],'onShapeClick':_0xa8a8d7[_0x597597(0x1f8)],'options':_0xa8a8d7[_0x597597(0x1ab)],'scrollContainer':_0xa8a8d7[_0x597597(0x224)],'variant':_0xa8a8d7[_0x597597(0x1a0)]});}function st(_0x486401){const _0x78488b=_0x56c0cf;let {buttonLabel:_0x228383,side:_0xdcc55d=_0x78488b(0x3fb),..._0x406987}=_0x486401,_0x205b4f=(0x0,a[_0x78488b(0x4ea)])(i[_0x78488b(0x5ad)]),[_0x1bfd00,_0x4657a6]=(0x0,n['useState'])(!0x1);return(0x0,r['jsx'])(e[_0x78488b(0x1b9)],{'side':_0xdcc55d,'open':_0x1bfd00,'onOpenChange':_0x4657a6,'overlay':(0x0,r[_0x78488b(0x6f0)])(ot,{..._0x406987,'onShapeClick':_0x1a9ddf=>{const _0x15ab2f=_0x78488b;_0x406987[_0x15ab2f(0x1f8)](_0x1a9ddf),_0x4657a6(!0x1);}}),'children':(0x0,r[_0x78488b(0x6f0)])(e['Button'],{'children':_0x205b4f['t'](_0x228383)})});}const ct='docs-quote.command.insert';function lt(_0x349ead){const _0x335dea=_0x56c0cf;var _0x4e6dbe,_0x2ef444,_0x41e9ec;let {title:_0xfab77b,popupDataComponent:_0x496e6e='doc-paragraph-type-dropdown-popup'}=_0x349ead,_0x9320fe=(0x0,a[_0x335dea(0x4ea)])(i[_0x335dea(0x6da)]),_0x3acd07=(0x0,a[_0x335dea(0x4ea)])(l['DocSelectionManagerService']),_0x558a2b=(0x0,a[_0x335dea(0x4ea)])(i[_0x335dea(0x5ad)]),_0x51dc5b=(0x0,a[_0x335dea(0x4ea)])(i['IUniverInstanceService']),[_0x1c1f14,_0x58ac4e]=(0x0,n[_0x335dea(0x1c0)])(!0x1),[_0x1c8527,_0x4e770f]=(0x0,n[_0x335dea(0x1c0)])(i['NamedStyleType'][_0x335dea(0x3d8)]),_0x44e881=()=>{const _0x4c9340=_0x335dea;var _0x44497c,_0xa34b12;let _0x563d6c=mt(_0x51dc5b[_0x4c9340(0x1c2)](i['UniverInstanceType']['UNIVER_DOC']),pt(_0x3acd07));_0x4e770f((_0x44497c=_0x563d6c==null||(_0xa34b12=_0x563d6c[_0x4c9340(0x579)])==null?void 0x0:_0xa34b12['namedStyleType'])==null?i[_0x4c9340(0x355)]['NORMAL_TEXT']:_0x44497c);};(0x0,n[_0x335dea(0x69d)])(()=>{const _0x1dda96=_0x335dea;_0x44e881();let _0x4ec3cb=_0x9320fe[_0x1dda96(0x704)](_0x2557b0=>{const _0x34e028=_0x1dda96;(_0x2557b0['id']===l[_0x34e028(0x6e7)]['id']||_0x2557b0['id']===l[_0x34e028(0x3d0)]['id']||_0x2557b0['id']===u[_0x34e028(0x67d)]['id']||_0x2557b0['id']===u[_0x34e028(0x3a3)]['id']||_0x2557b0['id']===u[_0x34e028(0x26f)]['id']||_0x2557b0['id']===u['CheckListCommand']['id'])&&_0x44e881();}),_0x4e43bf=_0x3acd07[_0x1dda96(0x2e3)][_0x1dda96(0x290)](_0x44e881);return()=>{const _0x531558=_0x1dda96;_0x4ec3cb[_0x531558(0x294)](),_0x4e43bf[_0x531558(0x231)]();};},[_0x9320fe,_0x3acd07,_0x51dc5b]);let _0x37a7d6=(0x0,n[_0x335dea(0x42e)])(()=>ut(_0x9320fe)[_0x335dea(0x263)](_0x154036=>({..._0x154036,'label':_0x558a2b['t'](_0x154036[_0x335dea(0x68f)])})),[_0x9320fe,_0x558a2b]),_0x1ab31a=(_0x4e6dbe=_0x37a7d6[_0x335dea(0x2cd)](_0x8dadcc=>_0x8dadcc[_0x335dea(0x473)]===_0x1c8527))==null?_0x37a7d6[0x0]:_0x4e6dbe,_0x5a1587=_0x4e2f4b=>{const _0x39b47a=_0x335dea;var _0xf43327;let _0x5924bf=_0x51dc5b[_0x39b47a(0x1c2)](i[_0x39b47a(0x5de)]['UNIVER_DOC']),_0x4251a7=pt(_0x3acd07);if((_0xf43327=_0x349ead['onBeforeCommand'])==null||_0xf43327[_0x39b47a(0x35d)](_0x349ead),_0x4e2f4b[_0x39b47a(0x473)]!==void 0x0){let _0x3a0c3e={'value':_0x4e2f4b['namedStyleType']};_0x4251a7&&(_0x3a0c3e[_0x39b47a(0x648)]=[_0x4251a7]),_0x9320fe[_0x39b47a(0x65d)](u[_0x39b47a(0x67d)]['id'],_0x3a0c3e);}else{if(_0x4e2f4b[_0x39b47a(0x40e)]===u[_0x39b47a(0x3a3)]['id']||_0x4e2f4b[_0x39b47a(0x40e)]===u['BulletListCommand']['id']||_0x4e2f4b['commandId']===u[_0x39b47a(0x517)]['id']){let _0x3d8c68=_0x4251a7?{'docRange':[_0x4251a7]}:void 0x0;_0x9320fe[_0x39b47a(0x65d)](_0x4e2f4b[_0x39b47a(0x40e)],_0x3d8c68);}else _0x4e2f4b['commandId']&&_0x9320fe['executeCommand'](_0x4e2f4b['commandId'],{'unitId':_0x5924bf==null?void 0x0:_0x5924bf[_0x39b47a(0x543)](),'startOffset':_0x4251a7==null?void 0x0:_0x4251a7['startOffset'],'endOffset':_0x4251a7==null?void 0x0:_0x4251a7['endOffset']});}_0x58ac4e(!0x1),window[_0x39b47a(0x21d)](()=>{const _0x1c7894=_0x39b47a;var _0x2da4ff;_0x44e881(),(_0x2da4ff=_0x349ead[_0x1c7894(0x4ca)])==null||_0x2da4ff[_0x1c7894(0x35d)](_0x349ead);});};return(0x0,r[_0x335dea(0x6f0)])(e[_0x335dea(0x1b9)],{'open':_0x1c1f14,'onOpenChange':_0x58ac4e,'overlay':(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x21c),{'className':(0x0,e['clsx'])(_0x335dea(0x28e),_0x349ead[_0x335dea(0x5df)]),'data-u-comp':_0x496e6e,'onMouseDown':_0x31f705=>_0x31f705[_0x335dea(0x34f)](),'children':_0x37a7d6[_0x335dea(0x263)](_0x4ea56c=>(0x0,r[_0x335dea(0x372)])(_0x335dea(0x324),{'type':_0x335dea(0x324),'className':(0x0,e[_0x335dea(0x4e6)])(_0x335dea(0x2f5),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x4ea56c['value']===(_0x1ab31a==null?void 0x0:_0x1ab31a[_0x335dea(0x202)])}),'onClick':()=>_0x5a1587(_0x4ea56c),'onMouseDown':_0x6ff2e1=>_0x6ff2e1[_0x335dea(0x34f)](),'children':[(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x6c6),{'className':_0x335dea(0x433),'children':_0x4ea56c[_0x335dea(0x63e)]}),(0x0,r['jsx'])(_0x335dea(0x6c6),{'className':'univer-flex-1','children':_0x4ea56c[_0x335dea(0x68f)]})]},_0x4ea56c[_0x335dea(0x202)]))}),'children':(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x6c6),{'children':(0x0,r[_0x335dea(0x6f0)])(e[_0x335dea(0x481)],{'title':_0xfab77b,'placement':_0x335dea(0x4b8),'children':(0x0,r[_0x335dea(0x372)])('button',{'type':_0x335dea(0x324),'aria-expanded':_0x1c1f14,'aria-label':_0xfab77b,'title':_0xfab77b,'className':(0x0,e[_0x335dea(0x4e6)])('univer-flex\x20univer-h-7\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',_0x349ead[_0x335dea(0x6cf)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1c1f14}),'onMouseDown':(_0x2ef444=_0x349ead[_0x335dea(0x3c7)])==null?_0x1e4047=>_0x1e4047[_0x335dea(0x34f)]():_0x2ef444,'children':[(0x0,r[_0x335dea(0x6f0)])(_0x335dea(0x6c6),{'className':_0x335dea(0x433),'children':(_0x41e9ec=_0x1ab31a==null?void 0x0:_0x1ab31a['icon'])==null?(0x0,r['jsx'])(t[_0x335dea(0x45b)],{}):_0x41e9ec}),(0x0,r[_0x335dea(0x6f0)])(t['MoreDownIcon'],{'className':'univer-text-xs'})]})})})});}function ut(_0x352baa){const _0x34df1a=_0x56c0cf;let _0x192101=[dt(i[_0x34df1a(0x355)]['NORMAL_TEXT'],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x45b)],{}),_0x34df1a(0x268)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x5ac)],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x358)],{}),_0x34df1a(0x341)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x712)],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x229)],{}),_0x34df1a(0x2a6)),dt(i['NamedStyleType'][_0x34df1a(0x23e)],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x3a2)],{}),_0x34df1a(0x5ce)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x5e3)],(0x0,r[_0x34df1a(0x6f0)])(t['H4Icon'],{}),_0x34df1a(0x44f)),dt(i[_0x34df1a(0x355)][_0x34df1a(0x2fc)],(0x0,r[_0x34df1a(0x6f0)])(t['H5Icon'],{}),'shape-editor-ui.textEditor.paragraphType.heading5'),ft(u['OrderListCommand']['id'],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x4e9)],{}),'shape-editor-ui.textEditor.paragraphType.orderedList'),ft(u[_0x34df1a(0x26f)]['id'],(0x0,r['jsx'])(t[_0x34df1a(0x4f0)],{}),_0x34df1a(0x203)),ft(u[_0x34df1a(0x517)]['id'],(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x43f)],{}),'shape-editor-ui.textEditor.paragraphType.checkList')],_0x28e7c0=[ft(ct,(0x0,r[_0x34df1a(0x6f0)])(_0x34df1a(0x6c6),{'className':_0x34df1a(0x55a),'children':'\x22'}),_0x34df1a(0x6fd)),ft('docs-code.command.insert',(0x0,r[_0x34df1a(0x6f0)])(t[_0x34df1a(0x66c)],{}),_0x34df1a(0x3d1)),ft(_0x34df1a(0x286),(0x0,r['jsx'])(t[_0x34df1a(0x3cb)],{}),_0x34df1a(0x714))][_0x34df1a(0x3f0)](_0x443a7f=>_0x352baa[_0x34df1a(0x439)](_0x443a7f[_0x34df1a(0x40e)]));return[..._0x192101,..._0x28e7c0];}function dt(_0xdd8b72,_0x405006,_0x476db0){const _0x236c7a=_0x56c0cf;return{'icon':_0x405006,'label':_0x476db0,'namedStyleType':_0xdd8b72,'value':_0x236c7a(0x626)+_0xdd8b72};}function ft(_0x52118b,_0x93a220,_0x58d876){return{'commandId':_0x52118b,'icon':_0x93a220,'label':_0x58d876,'value':'command:'+_0x52118b};}function pt(_0x3ea474){const _0x2d94f9=_0x56c0cf;var _0xd89554,_0x5cf74d,_0x4cb9ef,_0x40136b;let _0x2077e4=(_0xd89554=_0x3ea474['getActiveTextRange'])==null?void 0x0:_0xd89554['call'](_0x3ea474);if(_0x2077e4)return _0x2077e4;let _0x396aa5=(_0x5cf74d=_0x3ea474[_0x2d94f9(0x2e0)]())==null?[]:_0x5cf74d;return(_0x4cb9ef=(_0x40136b=_0x396aa5[_0x2d94f9(0x2cd)](_0x1ffd80=>_0x1ffd80['isActive']))==null?_0x396aa5[0x0]:_0x40136b)==null?null:_0x4cb9ef;}function mt(_0x450f73,_0x36b8c1){const _0x1d653b=_0x56c0cf;var _0x1b4273,_0x5dca13,_0x2372b3,_0x58cf38;let _0x1a9a52=_0x450f73==null||(_0x1b4273=_0x450f73[_0x1d653b(0x2f4)](_0x36b8c1==null?void 0x0:_0x36b8c1['segmentId']))==null?void 0x0:_0x1b4273[_0x1d653b(0x2cc)](),_0x42e02f=(_0x5dca13=_0x1a9a52==null?void 0x0:_0x1a9a52[_0x1d653b(0x636)])==null?[]:_0x5dca13,_0x552766=(_0x2372b3=_0x36b8c1==null?void 0x0:_0x36b8c1[_0x1d653b(0x2a7)])==null?0x0:_0x2372b3;return(_0x58cf38=_0x42e02f[_0x1d653b(0x2cd)](_0x3382ce=>_0x3382ce[_0x1d653b(0x3fa)]>=_0x552766))==null?_0x42e02f[_0x42e02f['length']-0x1]:_0x58cf38;}function ht(){const _0x366ed8=_0x56c0cf;return{'id':'shape-text-document','body':{'dataStream':'\x0d\x0a','paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i[_0x366ed8(0x569)])(new Set())}],'textRuns':[]},'documentStyle':{}};}function gt(_0x337112){const _0x47357e=_0x56c0cf;var _0x16421c,_0x53b384;return{'fill':(_0x16421c=_0x337112[_0x47357e(0x546)])==null?{'fillType':s[_0x47357e(0x6bc)][_0x47357e(0x5a6)]}:_0x16421c,'isTextBox':!0x0,'shapeText':{'isHorizontal':_0x337112[_0x47357e(0x597)],'textDirection':_0x337112['isHorizontal']?_0x47357e(0x5f3):'vert','text':'','autoFitType':s[_0x47357e(0x532)][_0x47357e(0x2c0)],'textWrap':_0x47357e(0x3b5),'dataModel':{'ha':i['HorizontalAlign'][_0x47357e(0x252)],'va':i['VerticalAlign'][_0x47357e(0x338)],'doc':ht()}},'stroke':(_0x53b384=_0x337112[_0x47357e(0x451)])==null?{'lineStrokeType':s[_0x47357e(0x516)]['NoLine']}:_0x53b384};}function _t(_0x52d00a,_0x4dcfaa){return _0x52d00a?{..._0x52d00a,'shapeText':_0x4dcfaa}:{'shapeText':_0x4dcfaa};}function vt(_0x32fbb8){const _0x186d39=_0x56c0cf;var _0x468c90;if(!_0x32fbb8||!(_0x186d39(0x494)in _0x32fbb8))return;let _0x4c2a4f=_0x32fbb8['dataModel'];if(!_0x4c2a4f||typeof _0x4c2a4f!='object'||!(_0x186d39(0x634)in _0x4c2a4f))return;let _0x170e1c=_0x4c2a4f['doc'];if(yt(_0x170e1c))return(_0x468c90=_0x170e1c['documentStyle'])==null||(_0x468c90=_0x468c90[_0x186d39(0x520)])==null?void 0x0:_0x468c90[_0x186d39(0x6ac)];}function yt(_0x2f0db1){const _0x391376=_0x56c0cf;return typeof _0x2f0db1==_0x391376(0x6ec)&&!!_0x2f0db1&&'id'in _0x2f0db1;}function bt(_0x2d0366,_0x36e536=i['WrapStrategy']['WRAP']){const _0x1d62b5=_0x56c0cf;var _0x4b3e41;let _0x5eddf9=_0x2d0366[_0x1d62b5(0x1a1)];return(_0x5eddf9==null?void 0x0:_0x5eddf9['textWrap'])===_0x1d62b5(0x3b5)?i[_0x1d62b5(0x3a8)]['CLIP']:(_0x5eddf9==null?void 0x0:_0x5eddf9['textWrap'])===_0x1d62b5(0x698)?i['WrapStrategy'][_0x1d62b5(0x5fd)]:(_0x4b3e41=vt(_0x5eddf9))==null?_0x36e536:_0x4b3e41;}function xt(_0x65a9be,_0x1c08f6){const _0x24508a=_0x56c0cf;return(0x0,s[_0x24508a(0x611)])(_0x65a9be)['textWrap']===_0x24508a(0x3b5)?!0x1:(_0x1c08f6==null?bt(_0x65a9be):_0x1c08f6)!==i['WrapStrategy'][_0x24508a(0x66e)];}function St(_0x4f8c09){const _0x964191=_0x56c0cf;let _0x59b410=(0x0,s['resolveShapeTextBodyBehavior'])(_0x4f8c09);return _0x59b410['autoFitType']===s[_0x964191(0x532)][_0x964191(0x2c0)]&&_0x59b410[_0x964191(0x61c)]===_0x964191(0x3b5);}function Ct(_0x2357f6){const _0x4c6087=_0x56c0cf;var _0x52b31d;return((_0x52b31d=_0x2357f6[_0x4c6087(0x1a1)])==null?void 0x0:_0x52b31d['isHorizontal'])===!0x1?_0x4c6087(0x480):_0x4c6087(0x57e);}function wt(_0x1418c9,_0x4d176a={}){const _0x342f5c=_0x56c0cf;return _0x4d176a[_0x342f5c(0x468)]===!0x0?!0x0:_0x1418c9?(0x0,s[_0x342f5c(0x611)])(_0x1418c9)['isTextBox']:!0x1;}function Tt(_0x3a3982,_0x54d273){const _0x192cf1=_0x56c0cf;if(_0x3a3982==null||_0x54d273==null)return!0x1;let {glyph:_0x3fb395,..._0x382443}=_0x3a3982,{glyph:_0x5b9fb5,..._0x45139e}=_0x54d273;return(0x0,i[_0x192cf1(0x5ca)])(_0x382443,_0x45139e);}var Et=class extends i['Disposable']{constructor(_0x4e81fa,_0x16deb8,_0x4dccbe,_0x176147,_0x198136,_0x18738b){const _0xe1f0bb=_0x56c0cf;super(),this[_0xe1f0bb(0x1f4)]=_0x4e81fa,this[_0xe1f0bb(0x4fe)]=_0x16deb8,this[_0xe1f0bb(0x406)]=_0x4dccbe,this['_componentManager']=_0x176147,this[_0xe1f0bb(0x274)]=_0x198136,this[_0xe1f0bb(0x362)]=_0x18738b,w(this,_0xe1f0bb(0x211),null),this[_0xe1f0bb(0x1f4)][_0xe1f0bb(0x22a)]===this['_config'][_0xe1f0bb(0x2d7)]&&(this[_0xe1f0bb(0x3c9)](this[_0xe1f0bb(0x6b5)][_0xe1f0bb(0x2f1)](this['_config'][_0xe1f0bb(0x6ed)],this[_0xe1f0bb(0x362)][_0xe1f0bb(0x383)])),this['_initSelectionChange'](),this['disposeWithMe'](()=>this[_0xe1f0bb(0x1e7)]()));}[_0x56c0cf(0x6ae)](){const _0x5004a4=_0x56c0cf;this[_0x5004a4(0x3c9)](this['_docSelectionRenderService'][_0x5004a4(0x2b7)][_0x5004a4(0x290)](()=>{const _0x2e1363=_0x5004a4;this[_0x2e1363(0x1e7)]();})),this[_0x5004a4(0x3c9)](this[_0x5004a4(0x4fe)]['textSelection$'][_0x5004a4(0x290)](_0x5a7f9f=>{const _0x38b680=_0x5004a4;var _0x3ae8fb,_0x4d0e10;let {unitId:_0x46249f,textRanges:_0x57169f}=_0x5a7f9f;if(_0x46249f!==this[_0x38b680(0x1f4)][_0x38b680(0x22a)])return;let _0x37b786=_0x57169f['find'](_0x723981=>!_0x723981[_0x38b680(0x573)]);if(!_0x37b786){this[_0x38b680(0x1e7)]();return;}_0x37b786[_0x38b680(0x2a7)]===((_0x3ae8fb=this['_floatMenu'])==null?void 0x0:_0x3ae8fb[_0x38b680(0x562)])&&_0x37b786['endOffset']===((_0x4d0e10=this[_0x38b680(0x211)])==null?void 0x0:_0x4d0e10['end'])||(this['_hideFloatMenu'](),this[_0x38b680(0x671)](_0x46249f,_0x37b786));}));}[_0x56c0cf(0x1e7)](){const _0x548cd9=_0x56c0cf;var _0x108843;(_0x108843=this[_0x548cd9(0x211)])==null||_0x108843[_0x548cd9(0x6db)]['dispose'](),this[_0x548cd9(0x211)]=null;}['_showFloatMenu'](_0x1d96b0,_0x6698f){const _0x5cd592=_0x56c0cf;this[_0x5cd592(0x211)]={'disposable':this[_0x5cd592(0x406)][_0x5cd592(0x6be)](_0x6698f,{'componentKey':this[_0x5cd592(0x362)][_0x5cd592(0x6ed)],'direction':_0x6698f[_0x5cd592(0x4da)]==='backward'||Tt(_0x6698f[_0x5cd592(0x37e)],_0x6698f[_0x5cd592(0x384)])?_0x5cd592(0x627):_0x5cd592(0x441),'offset':[0x0,0x4]},_0x1d96b0),'start':_0x6698f[_0x5cd592(0x2a7)],'end':_0x6698f[_0x5cd592(0x70c)]};}};function Dt(_0x5c6f81){const _0x2ee558=_0x56c0cf;return Number[_0x2ee558(0x571)](_0x5c6f81)&&_0x5c6f81>0x0?_0x5c6f81:0x0;}function Ot(_0x39c5f1){const _0x388254=_0x56c0cf;return _0x39c5f1===!0x0||_0x39c5f1===i['BooleanNumber'][_0x388254(0x657)];}function kt(_0x1a6e40){const _0x1a2d59=_0x56c0cf;return typeof(_0x1a6e40==null?void 0x0:_0x1a6e40[_0x1a2d59(0x41e)])=='string'&&_0x1a6e40[_0x1a2d59(0x41e)][_0x1a2d59(0x46b)]()['length']>0x0;}function At(_0xed373,_0x5ae10c){const _0x5b6e4e=_0x56c0cf;var _0x453cf2,_0x1be067,_0x458ef4,_0x5d5087,_0x545f81,_0x20d3ac;let _0x5ecaee=_0xed373==null?void 0x0:_0xed373[_0x5b6e4e(0x1b3)],_0x1b38fd=(_0x453cf2=(_0x1be067=(_0x458ef4=_0x5ecaee==null?void 0x0:_0x5ecaee[_0x5b6e4e(0x1fc)])==null?_0x5ecaee==null?void 0x0:_0x5ecaee['ba']:_0x458ef4)==null?_0x5ae10c[_0x5b6e4e(0x5d7)]:_0x1be067)==null?0x0:_0x453cf2,_0x37359d=(_0x5d5087=(_0x545f81=(_0x20d3ac=_0x5ecaee==null?void 0x0:_0x5ecaee[_0x5b6e4e(0x512)])==null?_0x5ecaee==null?void 0x0:_0x5ecaee['bd']:_0x20d3ac)==null?_0x5ae10c[_0x5b6e4e(0x443)]:_0x545f81)==null?0x0:_0x5d5087;return _0x1b38fd===0x0&&_0x37359d===0x0?null:{'ascent':_0x1b38fd,'descent':_0x37359d};}function jt(_0x39a570){const _0x54cf89=_0x56c0cf;let _0x1f7684=Dt(_0x39a570[_0x54cf89(0x5ef)])-Dt(_0x39a570[_0x54cf89(0x230)]);return _0x39a570[_0x54cf89(0x40c)]===i['VerticalAlign'][_0x54cf89(0x442)]?_0x1f7684/0x2:_0x39a570[_0x54cf89(0x40c)]===i[_0x54cf89(0x5e9)][_0x54cf89(0x217)]?_0x1f7684:0x0;}function Mt(_0x1909b1){const _0x1522a1=_0x56c0cf;let _0x2860d4=Dt(_0x1909b1[_0x1522a1(0x5ef)]),_0x4a9bfc=Math[_0x1522a1(0x6e4)](_0x2860d4,Dt(_0x1909b1[_0x1522a1(0x230)])),_0x277be6=_0x1909b1[_0x1522a1(0x687)],_0x45117c=_0x1909b1[_0x1522a1(0x4b7)],_0x5938b9=Number[_0x1522a1(0x571)](_0x277be6)?_0x277be6:jt(_0x1909b1),_0x8c96b7=Math[_0x1522a1(0x67f)](0x0,_0x5938b9),_0x532ef9=_0x8c96b7+(Number[_0x1522a1(0x571)](_0x45117c)?_0x45117c:0x0),_0x489cc9=_0x532ef9<0x0?_0x532ef9:0x0;return{'clipHeight':_0x4a9bfc-_0x489cc9,'clipTop':_0x489cc9,'contentHeight':_0x4a9bfc,'contentVerticalOffset':_0x8c96b7,'marginTop':Math[_0x1522a1(0x6e4)](0x0,_0x5938b9),'verticalOffset':_0x5938b9};}function Nt(_0x2140b1,_0x1f5c2c=0x1){const _0x50efc9=_0x56c0cf;var _0x2f181c;let _0x2be20e=_0x2140b1[_0x50efc9(0x318)](),_0x3786aa=0x1/0x0,_0x4c85a2=-0x1/0x0,_0x3894b6=0x0;for(let _0x18210c of(_0x2f181c=_0x2be20e==null?void 0x0:_0x2be20e[_0x50efc9(0x242)])==null?[]:_0x2f181c){var _0x278bdd,_0x4be934,_0x1c3bd5;let _0x383092=(_0x278bdd=_0x18210c[_0x50efc9(0x589)])==null?0x0:_0x278bdd;for(let _0x12a393 of(_0x4be934=_0x18210c['sections'])==null?[]:_0x4be934){var _0x2ee328,_0x264549;let _0x47033b=(_0x2ee328=_0x12a393[_0x50efc9(0x2ac)])==null?0x0:_0x2ee328;for(let _0x2a06be of(_0x264549=_0x12a393['columns'])==null?[]:_0x264549){var _0x3e006d;for(let _0x511593 of(_0x3e006d=_0x2a06be[_0x50efc9(0x2df)])==null?[]:_0x3e006d){var _0x43307b,_0x5e4317,_0x5f5add,_0xb2aeb1,_0x3f92a0,_0x125981,_0x21afe7,_0x484a83,_0x1b6c88,_0x4931ce;let _0x49bae2=_0x3894b6+_0x383092+_0x47033b+((_0x43307b=_0x511593[_0x50efc9(0x2ac)])==null?0x0:_0x43307b),_0x1eb21e=((_0x5e4317=_0x511593[_0x50efc9(0x589)])==null?0x0:_0x5e4317)+((_0x5f5add=_0x511593[_0x50efc9(0x219)])==null?0x0:_0x5f5add)+((_0xb2aeb1=_0x511593['contentHeight'])==null?((_0x3f92a0=_0x511593[_0x50efc9(0x5d7)])==null?0x0:_0x3f92a0)+((_0x125981=_0x511593[_0x50efc9(0x443)])==null?0x0:_0x125981):_0xb2aeb1)+((_0x21afe7=_0x511593[_0x50efc9(0x3f7)])==null?0x0:_0x21afe7)+((_0x484a83=_0x511593[_0x50efc9(0x1c9)])==null?0x0:_0x484a83),_0x95573a=Math['max'](0x0,...((_0x1b6c88=_0x511593[_0x50efc9(0x4ec)])==null?[]:_0x1b6c88)[_0x50efc9(0x44e)](_0x1f865a=>{var _0xdf1291;return(_0xdf1291=_0x1f865a['glyphGroup'])==null?[]:_0xdf1291;})[_0x50efc9(0x263)](_0x5d5ece=>{const _0xb10040=_0x50efc9;let _0x13c4f8=At(_0x5d5ece,_0x511593);return _0x13c4f8?_0x13c4f8[_0xb10040(0x555)]+_0x13c4f8[_0xb10040(0x1bc)]:0x0;})),_0x347030=Math[_0x50efc9(0x6e4)]((_0x4931ce=_0x511593[_0x50efc9(0x644)])==null?0x0:_0x4931ce,_0x1eb21e,_0x95573a);_0x347030>0x0&&(_0x3786aa=Math[_0x50efc9(0x67f)](_0x3786aa,_0x49bae2),_0x4c85a2=Math['max'](_0x4c85a2,_0x49bae2+_0x347030));}}}_0x3894b6+=(_0x1c3bd5=_0x18210c[_0x50efc9(0x480)])==null?0x0:_0x1c3bd5;}let _0x3f57c9=_0x4c85a2-_0x3786aa;return Number[_0x50efc9(0x571)](_0x3f57c9)&&_0x3f57c9>0x0?_0x3f57c9:Math[_0x50efc9(0x6e4)](0x1,_0x1f5c2c);}function Pt(_0x26cd5a,_0x2e94ae,_0x302706){const _0x421f80=_0x56c0cf;var _0x2ae90f;if(_0x302706===void 0x0||_0x302706===i[_0x421f80(0x5e9)][_0x421f80(0x2d4)])return 0x0;let _0xb7e85c=_0x26cd5a['getSkeletonData']();if(!(!(_0xb7e85c==null||(_0x2ae90f=_0xb7e85c[_0x421f80(0x242)])==null)&&_0x2ae90f[_0x421f80(0x3d5)]))return 0x0;let _0x4bc893=0x1/0x0,_0x1233a3=-0x1/0x0,_0x18ae85=0x0;for(let _0x5187d9 of _0xb7e85c[_0x421f80(0x242)]){var _0x3cdcf0,_0x28f712;let _0x1f9d54=(_0x3cdcf0=_0x5187d9[_0x421f80(0x589)])==null?0x0:_0x3cdcf0;for(let _0x1f98b0 of(_0x28f712=_0x5187d9[_0x421f80(0x1d9)])==null?[]:_0x28f712){var _0x3c3d20,_0x55ea71;let _0x29ac34=(_0x3c3d20=_0x1f98b0[_0x421f80(0x2ac)])==null?0x0:_0x3c3d20;for(let _0x2dbb2a of(_0x55ea71=_0x1f98b0[_0x421f80(0x336)])==null?[]:_0x55ea71){var _0x54d01b;for(let _0x1c10b9 of(_0x54d01b=_0x2dbb2a['lines'])==null?[]:_0x54d01b){var _0xa31eb4,_0xe4868f,_0x12aed1,_0x8ca22,_0x2ae24d;let _0x48b6af=_0x18ae85+_0x1f9d54+_0x29ac34+((_0xa31eb4=_0x1c10b9['top'])==null?0x0:_0xa31eb4)+((_0xe4868f=_0x1c10b9[_0x421f80(0x589)])==null?0x0:_0xe4868f)+((_0x12aed1=_0x1c10b9[_0x421f80(0x219)])==null?0x0:_0x12aed1)+((_0x8ca22=_0x1c10b9[_0x421f80(0x5d7)])==null?0x0:_0x8ca22);for(let _0xa696ce of(_0x2ae24d=_0x1c10b9['divides'])==null?[]:_0x2ae24d){var _0x224984;for(let _0x16ef54 of(_0x224984=_0xa696ce[_0x421f80(0x707)])==null?[]:_0x224984){if(!kt(_0x16ef54))continue;let _0x26c45b=At(_0x16ef54,_0x1c10b9);_0x26c45b&&(_0x4bc893=Math[_0x421f80(0x67f)](_0x4bc893,_0x48b6af-_0x26c45b[_0x421f80(0x555)]),_0x1233a3=Math[_0x421f80(0x6e4)](_0x1233a3,_0x48b6af+_0x26c45b['descent']));}}}}}let _0x4c98ff=Number['isFinite'](_0x5187d9['pageHeight'])?_0x5187d9[_0x421f80(0x63d)]:_0x5187d9[_0x421f80(0x480)];_0x18ae85+=_0x4c98ff==null?0x0:_0x4c98ff;}return!Number[_0x421f80(0x571)](_0x4bc893)||!Number['isFinite'](_0x1233a3)?0x0:_0x302706===i[_0x421f80(0x5e9)][_0x421f80(0x217)]?_0x2e94ae-_0x1233a3:_0x302706===i[_0x421f80(0x5e9)][_0x421f80(0x442)]?_0x2e94ae/0x2-(_0x4bc893+_0x1233a3)/0x2:_0x302706===i['VerticalAlign'][_0x421f80(0x338)]?-_0x4bc893:0x0;}function Ft(_0x4f07b4){const _0x5127e8=_0x56c0cf;return _0x4f07b4===i[_0x5127e8(0x1e4)][_0x5127e8(0x66f)];}function It(_0x21c073){return _0x21c073===i['HorizontalAlign']['RIGHT'];}function Lt(_0x1b5f39,_0x1f6ce1){const _0x3d29f8=_0x56c0cf;var _0xf3a451,_0x3f29df,_0x502f5c,_0x228229;if(!_0x1b5f39)return{'align':_0x1f6ce1,'width':0x0};let _0x352c3a=(_0xf3a451=(_0x3f29df=_0x1b5f39[_0x3d29f8(0x22c)])==null?void 0x0:_0x3f29df[_0x3d29f8(0x4d7)])==null?'':_0xf3a451,_0x2c23a0=(_0x502f5c=(_0x228229=_0x1b5f39[_0x3d29f8(0x22c)])==null?void 0x0:_0x228229[_0x3d29f8(0x636)])==null?[]:_0x502f5c;if(_0x2c23a0['length']===0x0)return{'align':_0x1f6ce1,'width':(0x0,c[_0x3d29f8(0x48b)])(_0x1b5f39)};let _0x3909c8=0x0,_0xe64955={'align':_0x1f6ce1,'width':0x0};return _0x2c23a0[_0x3d29f8(0x660)](_0x4c1e81=>{const _0x216d32=_0x3d29f8;var _0x38d3a9;let _0x54df8a=Math[_0x216d32(0x6e4)](_0x3909c8,Math[_0x216d32(0x67f)](_0x352c3a[_0x216d32(0x3d5)],(_0x38d3a9=_0x4c1e81[_0x216d32(0x3fa)])==null?_0x3909c8:_0x38d3a9)),_0x5e0a5d=(0x0,c[_0x216d32(0x24d)])(_0x1b5f39,_0x3909c8,_0x54df8a);if(_0x5e0a5d>_0xe64955[_0x216d32(0x57e)]){var _0x5db6b8,_0x4f7968;_0xe64955={'align':(_0x5db6b8=(_0x4f7968=_0x4c1e81[_0x216d32(0x579)])==null?void 0x0:_0x4f7968[_0x216d32(0x208)])==null?_0x1f6ce1:_0x5db6b8,'width':_0x5e0a5d};}_0x3909c8=Math['min'](_0x352c3a[_0x216d32(0x3d5)],_0x54df8a+0x1);}),_0xe64955;}function Rt(_0x1c0068,_0x4de4fc,_0x25f284){const _0x5bccc0=_0x56c0cf;var _0x3ac1a9,_0x255ff9;if(_0x4de4fc!==void 0x0)return _0x25f284==null?_0x4de4fc:_0x25f284;let _0x322050=((_0x3ac1a9=_0x1c0068==null||(_0x255ff9=_0x1c0068[_0x5bccc0(0x22c)])==null?void 0x0:_0x255ff9[_0x5bccc0(0x636)])==null?[]:_0x3ac1a9)[_0x5bccc0(0x263)](_0x47ed63=>{const _0x4dd9d6=_0x5bccc0;var _0x2b59f6;return(_0x2b59f6=_0x47ed63[_0x4dd9d6(0x579)])==null?void 0x0:_0x2b59f6[_0x4dd9d6(0x208)];})[_0x5bccc0(0x3f0)](_0x2d7e14=>_0x2d7e14!==void 0x0);return _0x322050[_0x5bccc0(0x49d)](i[_0x5bccc0(0x1e4)][_0x5bccc0(0x66f)])?i['HorizontalAlign']['CENTER']:_0x322050[_0x5bccc0(0x49d)](i[_0x5bccc0(0x1e4)][_0x5bccc0(0x379)])?i[_0x5bccc0(0x1e4)][_0x5bccc0(0x379)]:i['HorizontalAlign']['LEFT'];}function zt(_0xb193af){const _0x34b05f=_0x56c0cf;var _0xcc7685;let {documentData:_0x1d4dab,horizontalAlign:_0x305182,horizontalAnchor:_0x4e4cb8,isHorizontal:_0x336734,textRect:_0x5a45d5,textWrap:_0x894922}=_0xb193af;if(_0x336734===!0x1||_0x5a45d5['width']<=0x0)return{'contentWidth':_0x5a45d5[_0x34b05f(0x57e)],'measureAsNoWrap':!0x1,'textRect':_0x5a45d5};let _0x322531=Number[_0x34b05f(0x571)](_0xb193af['widthBuffer'])?Math[_0x34b05f(0x6e4)](0x0,(_0xcc7685=_0xb193af[_0x34b05f(0x410)])==null?0x0:_0xcc7685):0x0,_0xf2dd8b=Lt(_0x1d4dab,_0x305182),_0x27bd09=_0xf2dd8b[_0x34b05f(0x57e)]+_0x322531;if(_0x4e4cb8==='center'&&_0x27bd09>0x0&&_0x27bd09<_0x5a45d5['width'])return{'contentWidth':_0x27bd09,'measureAsNoWrap':_0x894922===_0x34b05f(0x3b5),'textRect':{..._0x5a45d5,'left':_0x5a45d5[_0x34b05f(0x3fb)]+(_0x5a45d5[_0x34b05f(0x57e)]-_0x27bd09)/0x2,'width':_0x27bd09}};let _0x1a4b10=_0x894922===_0x34b05f(0x3b5),_0x4354ad=(_0x1a4b10?_0x27bd09-_0x322531:(0x0,c['measureDocumentUnbreakableTextWidth'])(_0x1d4dab))+_0x322531,_0x58090d=Math[_0x34b05f(0x6e4)](_0x5a45d5['width'],_0x4354ad);if(_0x58090d===_0x5a45d5[_0x34b05f(0x57e)])return{'contentWidth':_0x58090d,'measureAsNoWrap':_0x1a4b10,'textRect':_0x5a45d5};let _0x19318a=_0x58090d-_0x5a45d5[_0x34b05f(0x57e)],_0x55049b=_0x1a4b10?Rt(_0x1d4dab,_0x305182,_0xf2dd8b['align']):_0x305182,_0x102641=It(_0x55049b)?_0x5a45d5['left']-_0x19318a:Ft(_0x55049b)?_0x5a45d5[_0x34b05f(0x3fb)]-_0x19318a/0x2:_0x5a45d5[_0x34b05f(0x3fb)];return{'contentWidth':_0x58090d,'measureAsNoWrap':_0x1a4b10,'textRect':{..._0x5a45d5,'left':_0x102641,'width':_0x58090d}};}function Bt(_0x19f535){const _0x4da4fe=_0x56c0cf;var _0x1dfaf2,_0x10ed73;return((_0x1dfaf2=_0x19f535==null||(_0x10ed73=_0x19f535[_0x4da4fe(0x22c)])==null?void 0x0:_0x10ed73[_0x4da4fe(0x4d7)])==null?'':_0x1dfaf2)[_0x4da4fe(0x40d)](/[\r\n]/g,'')[_0x4da4fe(0x3d5)]===0x0;}function Vt(_0x174ecb){const _0x2f6035=_0x56c0cf;var _0x4de71c,_0x5a14c1;let {documentData:_0x1fc4ff,isTextBox:_0x17f065,placeholder:_0x437e43,text:_0x3b2d2f=''}=_0x174ecb;if(!_0x17f065||!_0x437e43||_0x3b2d2f[_0x2f6035(0x3d5)]>0x0||!Bt(_0x1fc4ff))return;let _0x3d38e7=_0x1fc4ff==null||(_0x4de71c=_0x1fc4ff['documentStyle'])==null?void 0x0:_0x4de71c[_0x2f6035(0x692)];return{..._0x1fc4ff,'id':(_0x5a14c1=_0x1fc4ff==null?void 0x0:_0x1fc4ff['id'])==null?_0x2f6035(0x342):_0x5a14c1,'body':{'dataStream':_0x437e43+'\x0d\x0a','paragraphs':[{'startIndex':_0x437e43[_0x2f6035(0x3d5)],'paragraphId':(0x0,i[_0x2f6035(0x569)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x437e43[_0x2f6035(0x3d5)],'ts':{..._0x3d38e7,'cl':{'rgb':_0x2f6035(0x60a)}}}]},'documentStyle':{..._0x1fc4ff==null?void 0x0:_0x1fc4ff['documentStyle']}};}const Ht=0.001;function Ut(_0xceff3f,_0x5ee72f,_0x5e74ab,_0x6df036){return Math['abs'](_0x5e74ab-_0xceff3f)>Ht?_0xceff3f+_0x5ee72f-_0x6df036:_0xceff3f;}function Wt(_0x30ce80){const _0x57e679=_0x56c0cf;let {initialRect:_0x54b564,requestedRect:_0x473966,shapeData:_0x2a59eb}=_0x30ce80,_0x5bda22=_0x2a59eb[_0x57e679(0x1a1)];if(_0x2a59eb[_0x57e679(0x1f1)]!==!0x0||!_0x5bda22)return null;let _0x560652=_0x5bda22[_0x57e679(0x597)]!==!0x1,_0x1c49ab=Math[_0x57e679(0x57a)]((_0x560652?_0x473966[_0x57e679(0x57e)]:_0x473966[_0x57e679(0x480)])-(_0x560652?_0x54b564['width']:_0x54b564[_0x57e679(0x480)]))>Ht,_0x1a42ab=Math['abs']((_0x560652?_0x473966['height']:_0x473966['width'])-(_0x560652?_0x54b564[_0x57e679(0x480)]:_0x54b564[_0x57e679(0x57e)]))>Ht;if(!_0x1c49ab&&!_0x1a42ab)return null;let _0x30f50a=_0x560652?_0x54b564[_0x57e679(0x480)]:_0x54b564[_0x57e679(0x57e)],_0x30fe46=Number[_0x57e679(0x571)](_0x30ce80[_0x57e679(0x3fe)])&&_0x30ce80['naturalCrossSize']>0x0?_0x30ce80[_0x57e679(0x3fe)]:_0x30f50a;return{'rect':_0x560652?{'left':_0x1c49ab?_0x473966[_0x57e679(0x3fb)]:_0x54b564[_0x57e679(0x3fb)],'top':Ut(_0x54b564[_0x57e679(0x2ac)],_0x54b564[_0x57e679(0x480)],_0x473966['top'],_0x30fe46),'width':_0x1c49ab?_0x473966[_0x57e679(0x57e)]:_0x54b564[_0x57e679(0x57e)],'height':_0x30fe46}:{'left':Ut(_0x54b564[_0x57e679(0x3fb)],_0x54b564[_0x57e679(0x57e)],_0x473966[_0x57e679(0x3fb)],_0x30fe46),'top':_0x1c49ab?_0x473966[_0x57e679(0x2ac)]:_0x54b564[_0x57e679(0x2ac)],'width':_0x30fe46,'height':_0x1c49ab?_0x473966[_0x57e679(0x480)]:_0x54b564[_0x57e679(0x480)]},'shapeData':_0x1c49ab?{..._0x2a59eb,'shapeText':{..._0x5bda22,'autoFitType':s['ShapeTextAutoFitType'][_0x57e679(0x2c0)],'textWrap':'square'}}:_0x2a59eb};}function Gt(_0x43f43d,_0x395042){const _0x528bdc=_0x56c0cf;return Math[_0x528bdc(0x6e4)](Number[_0x528bdc(0x571)](_0x43f43d)?Math[_0x528bdc(0x6e4)](0x1,_0x43f43d):0x1,Number[_0x528bdc(0x571)](_0x395042)?Math['max'](0x1,_0x395042):0x1);}function Kt(_0x327241){const _0x3f5f67=_0x56c0cf;try{var _0x24a2c3;let _0x5a9a33=_0x327241==null||(_0x24a2c3=_0x327241['getAbsolutePosition']())==null?void 0x0:_0x24a2c3[_0x3f5f67(0x480)];return Number[_0x3f5f67(0x571)](_0x5a9a33)?_0x5a9a33:void 0x0;}catch{return;}}function qt(_0x59f060,_0x2eccad){const _0x58255c=_0x56c0cf;var _0x454fd8,_0x51aeb4;return Math[_0x58255c(0x57a)](_0x59f060[_0x58255c(0x699)]-_0x2eccad[_0x58255c(0x699)])<=0.001&&Math[_0x58255c(0x57a)](_0x59f060[_0x58255c(0x2eb)]-_0x2eccad[_0x58255c(0x2eb)])<=0.001&&Math['abs'](_0x59f060[_0x58255c(0x2b3)]-_0x2eccad[_0x58255c(0x2b3)])<=0.001&&Math['abs'](_0x59f060['editorWidth']-_0x2eccad['editorWidth'])<=0.001&&Math[_0x58255c(0x57a)](_0x59f060[_0x58255c(0x474)]-_0x2eccad[_0x58255c(0x474)])<=0.001&&Math[_0x58255c(0x57a)](((_0x454fd8=_0x59f060[_0x58255c(0x484)])==null?_0x59f060[_0x58255c(0x34a)]:_0x454fd8)-((_0x51aeb4=_0x2eccad['editorSurfaceWidth'])==null?_0x2eccad['editorWidth']:_0x51aeb4))<=0.001;}function Jt(_0x328b92,_0x2ecbdf){const _0x58c678=_0x56c0cf;return _0x328b92&&!!(_0x2ecbdf!=null&&_0x2ecbdf[_0x58c678(0x3d5)]);}function Yt(_0x2a5483){const _0x25489e=_0x56c0cf;var _0x1c4d8e;let _0x3eeab0=(0x0,a[_0x25489e(0x4ea)])(c[_0x25489e(0x4f8)])[_0x25489e(0x68c)](_0x2a5483),_0x5018ae=_0x3eeab0==null?void 0x0:_0x3eeab0[_0x25489e(0x20a)](u[_0x25489e(0x1b7)]),_0x513ea6=(0x0,a[_0x25489e(0x430)])(_0x5018ae==null?void 0x0:_0x5018ae[_0x25489e(0x354)]);return Jt((_0x1c4d8e=_0x5018ae==null?void 0x0:_0x5018ae[_0x25489e(0x351)])==null?!0x1:_0x1c4d8e,_0x513ea6==null?void 0x0:_0x513ea6[_0x25489e(0x648)]);}const Xt=0xfa0;function Zt(_0x4e97b4,_0x55cbea){const _0xa1b7ad=_0x56c0cf;var _0x23a0e4,_0x4806dc;let _0x140598=a[_0xa1b7ad(0x5c2)][_0xa1b7ad(0x263)](_0x415785=>Number(_0x415785[_0xa1b7ad(0x202)]))[_0xa1b7ad(0x3f0)](_0x282b1f=>Number[_0xa1b7ad(0x571)](_0x282b1f)&&_0x282b1f>0x0)[_0xa1b7ad(0x57c)]((_0x599633,_0x4a2137)=>_0x599633-_0x4a2137),_0x185f5f=Number[_0xa1b7ad(0x571)](_0x4e97b4)?_0x4e97b4:0xe;if(_0x55cbea>0x0){var _0x3df772,_0x53a5c1;return(_0x3df772=(_0x53a5c1=_0x140598[_0xa1b7ad(0x2cd)](_0x15d38f=>_0x15d38f>_0x185f5f))==null?_0x140598[_0x140598[_0xa1b7ad(0x3d5)]-0x1]:_0x53a5c1)==null?_0x185f5f:_0x3df772;}return(_0x23a0e4=(_0x4806dc=[..._0x140598][_0xa1b7ad(0x479)]()[_0xa1b7ad(0x2cd)](_0x236b9d=>_0x236b9d<_0x185f5f))==null?_0x140598[0x0]:_0x4806dc)==null?_0x185f5f:_0x23a0e4;}function Qt(_0x54e80d){const _0x700d44=_0x56c0cf;let {editorUnitId:_0x57cd48,editingParams:_0x2e7abe}=_0x54e80d;return _0x2e7abe?[_0x57cd48,_0x2e7abe[_0x700d44(0x22a)],_0x2e7abe[_0x700d44(0x390)],_0x2e7abe[_0x700d44(0x4d4)],_0x2e7abe[_0x700d44(0x465)]][_0x700d44(0x6e5)]('|'):null;}function $t(_0x2a268e,_0x1476e7){const _0xe98edd=_0x56c0cf;return _0x2a268e?_0x2a268e instanceof Node&&_0x1476e7!=null&&_0x1476e7[_0xe98edd(0x201)](_0x2a268e)?!0x1:_0x2a268e instanceof Element?!_0x2a268e['closest'](_0xe98edd(0x57d)):!0x0:!0x0;}function en(_0x232015){const _0x48ea52=_0x56c0cf;return _0x232015[_0x48ea52(0x377)]['getShapeTextRect'](_0x232015[_0x48ea52(0x526)]);}function tn(_0x9aded0){const _0x2ff24b=_0x56c0cf;var _0x3fb8e6,_0x311cf7;let _0xfa54c2=q(_0x9aded0[_0x2ff24b(0x1a1)]);return{..._0xfa54c2,'isHorizontal':(_0x3fb8e6=(_0x311cf7=_0x9aded0[_0x2ff24b(0x597)])==null?_0xfa54c2[_0x2ff24b(0x597)]:_0x311cf7)==null?!0x0:_0x3fb8e6,'dataModel':_0x9aded0['dataModel']};}function nn(_0x4bc9f0,_0x39b607){const _0x424a64=_0x56c0cf;return{'id':_0x4bc9f0,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i[_0x424a64(0x569)])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x39b607,'height':0x1/0x0}}};}function rn(_0x339e7f){const _0x120dc0=_0x56c0cf;let _0x583a9d=Number['isFinite'](_0x339e7f[_0x120dc0(0x35e)])?Math[_0x120dc0(0x6e4)](0x0,_0x339e7f[_0x120dc0(0x35e)]):0x0,_0x2c860f=Math[_0x120dc0(0x6e4)](0x78,Math['ceil'](_0x583a9d+0x10));return _0x339e7f[_0x120dc0(0x597)]?{'width':_0x2c860f,'height':0x28}:{'width':0x28,'height':_0x2c860f};}function an(_0x367f7c,_0x2e9554){const _0x557ab8=_0x56c0cf;return(0x0,c[_0x557ab8(0x48b)])({..._0x367f7c,'body':{'dataStream':_0x2e9554+'\x0d\x0a','paragraphs':[{'startIndex':_0x2e9554[_0x557ab8(0x3d5)],'paragraphId':(0x0,i['createParagraphId'])(new Set())}],'textRuns':[]}});}function on(_0x4e9ed2){const _0x4a0677=_0x56c0cf;let _0x56b359=Number['isFinite'](_0x4e9ed2['textRectWidth'])&&_0x4e9ed2['textRectWidth']>0x0?_0x4e9ed2[_0x4a0677(0x4cb)]:0x1;if(!_0x4e9ed2[_0x4a0677(0x228)])return _0x56b359;let _0x56cdf2=_0x4e9ed2[_0x4a0677(0x6b7)];return Math[_0x4a0677(0x6e4)](_0x56b359,Number[_0x4a0677(0x571)](_0x56cdf2)&&_0x56cdf2!==void 0x0&&_0x56cdf2>0x0?Math[_0x4a0677(0x6e4)](_0x56cdf2,Xt):Xt);}function sn(_0x2e69a1){const _0x342d0b=_0x56c0cf;return(0x0,c[_0x342d0b(0x48b)])(_0x2e69a1);}function cn(_0xfc5fd1){const _0x4aa528=_0x56c0cf;let _0x29d409=Number['isFinite'](_0xfc5fd1[_0x4aa528(0x4cb)])&&_0xfc5fd1[_0x4aa528(0x4cb)]>0x0?_0xfc5fd1[_0x4aa528(0x4cb)]:0x1;if(!_0xfc5fd1[_0x4aa528(0x228)])return _0x29d409;let _0x274a1a=Number['isFinite'](_0xfc5fd1[_0x4aa528(0x1cd)])&&_0xfc5fd1[_0x4aa528(0x1cd)]>0x0?_0xfc5fd1[_0x4aa528(0x1cd)]:0x0,_0x54a6c1=Number['isFinite'](_0xfc5fd1['measuredContentWidth'])&&_0xfc5fd1['measuredContentWidth']!==void 0x0&&_0xfc5fd1[_0x4aa528(0x385)]>0x0?_0xfc5fd1['measuredContentWidth']:void 0x0,_0x154d08=_0x274a1a+0x2;return Math[_0x4aa528(0x6e4)](_0x29d409,_0x54a6c1==null?_0x154d08:_0x54a6c1);}function ln(_0x32583b){const _0x3a68f3=_0x56c0cf;if(!_0x32583b[_0x3a68f3(0x228)])return _0x32583b['renderedContentWidth'];let _0x45ecd8=Number[_0x3a68f3(0x571)](_0x32583b['measuredContentWidth'])&&_0x32583b[_0x3a68f3(0x385)]!==void 0x0&&_0x32583b[_0x3a68f3(0x385)]>0x0?_0x32583b[_0x3a68f3(0x385)]:void 0x0;return _0x32583b[_0x3a68f3(0x564)]&&_0x45ecd8!==void 0x0?_0x45ecd8:_0x32583b[_0x3a68f3(0x3ae)];}function un(_0x158f77){const _0x13409a=_0x56c0cf;let _0x3d0817=Number['isFinite'](_0x158f77[_0x13409a(0x4cb)])&&_0x158f77[_0x13409a(0x4cb)]>0x0?_0x158f77[_0x13409a(0x4cb)]:0x1;if(!_0x158f77[_0x13409a(0x228)])return _0x3d0817;let _0xd2d96c=Number['isFinite'](_0x158f77[_0x13409a(0x3ae)])&&_0x158f77[_0x13409a(0x3ae)]>0x0?_0x158f77[_0x13409a(0x3ae)]:_0x3d0817;return Math['max'](_0x3d0817,_0xd2d96c);}function dn(_0x4e4612){const _0x3194c3=_0x56c0cf;let _0x238508=Number[_0x3194c3(0x571)](_0x4e4612['editorWidth'])&&_0x4e4612[_0x3194c3(0x34a)]>0x0?_0x4e4612[_0x3194c3(0x34a)]:0x1;if(!_0x4e4612['autoFitNoWrap'])return _0x238508;let _0x3d823a=Number[_0x3194c3(0x571)](_0x4e4612[_0x3194c3(0x3c2)])&&_0x4e4612[_0x3194c3(0x3c2)]>0x0?_0x4e4612[_0x3194c3(0x3c2)]:0x1,_0x3d4bd3=Number[_0x3194c3(0x571)](_0x4e4612[_0x3194c3(0x529)])&&_0x4e4612[_0x3194c3(0x529)]>0x0?_0x4e4612[_0x3194c3(0x529)]:_0x238508/_0x3d823a;return Math[_0x3194c3(0x6e4)](_0x238508,_0x3d4bd3*_0x3d823a);}function fn(_0x25624b){const _0x2236b1=_0x56c0cf;var _0x492b2a;let _0xf3b97b=(_0x492b2a=_0x25624b[_0x2236b1(0x581)])==null?0x1:_0x492b2a;return Math[_0x2236b1(0x57a)](_0x25624b['nextWidth']-_0x25624b[_0x2236b1(0x6d9)])>_0xf3b97b||Math['abs'](_0x25624b[_0x2236b1(0x1a5)]-_0x25624b[_0x2236b1(0x26d)])>_0xf3b97b;}function pn(_0x5bf115){const _0x1ad3d3=_0x56c0cf;var _0x2dd942,_0x418cc9;let {adapter:_0x121301,editingParams:_0x111875}=_0x5bf115;return!_0x121301[_0x1ad3d3(0x3b1)]||!_0x111875?!0x1:(_0x2dd942=(_0x418cc9=_0x121301[_0x1ad3d3(0x47a)])==null?void 0x0:_0x418cc9[_0x1ad3d3(0x35d)](_0x121301,_0x111875))==null?!0x0:_0x2dd942;}function mn(_0x52c4f5){var _0x46912e;let {adapter:_0x7a2764,editingParams:_0x23aeb6}=_0x52c4f5;return _0x23aeb6?((_0x46912e=_0x7a2764['deferHostSizeUpdateDuringEditing'])==null?void 0x0:_0x46912e['call'](_0x7a2764,_0x23aeb6))===!0x0:!0x1;}function hn(_0x178248){const _0x33f5cf=_0x56c0cf;return _0x178248[_0x33f5cf(0x5f0)]?i[_0x33f5cf(0x5e9)][_0x33f5cf(0x338)]:_0x178248['verticalAlign'];}function gn(_0x5cae1c){const _0x33e532=_0x56c0cf;let {actualHeight:_0x46559f,contentWidth:_0x468038,opticalVerticalOffset:_0x10af5e,scaleX:_0x389085,scaleY:_0x1606e5,textRect:_0x3b5ae6,verticalAlign:_0x4ffc24}=_0x5cae1c,_0x253b43=Mt({'contentHeight':_0x46559f,'verticalAlign':_0x4ffc24,'verticalOffset':_0x10af5e,'viewportHeight':Math[_0x33e532(0x6e4)](0x1,_0x3b5ae6[_0x33e532(0x480)])}),_0x59148d=_0x253b43[_0x33e532(0x230)],_0x3d938b=Math[_0x33e532(0x6e4)](0x1,_0x3b5ae6['width'],_0x468038==null?_0x3b5ae6[_0x33e532(0x57e)]:_0x468038);return{'documentMarginTop':_0x253b43[_0x33e532(0x589)],'editorLeft':Math[_0x33e532(0x6e4)](0x0,_0x3b5ae6[_0x33e532(0x3fb)])*_0x389085,'editorTop':(Math[_0x33e532(0x6e4)](0x0,_0x3b5ae6[_0x33e532(0x2ac)])+_0x253b43[_0x33e532(0x1d7)])*_0x1606e5,'editorWidth':_0x3d938b*_0x389085,'editorHeight':_0x59148d*_0x1606e5,'pageHeight':_0x59148d};}function _n(_0x11f089){const _0x51e3b0=_0x56c0cf;var _0x166162;let _0x6ee5c0=_0x11f089[_0x51e3b0(0x208)]===i['HorizontalAlign'][_0x51e3b0(0x66f)]?'center':_0x11f089[_0x51e3b0(0x208)]===i[_0x51e3b0(0x1e4)][_0x51e3b0(0x379)]?'right':_0x51e3b0(0x3fb);return{'left':_0x11f089[_0x51e3b0(0x2eb)],'top':_0x11f089[_0x51e3b0(0x2b3)]+_0x11f089['documentMarginTop'],'width':(_0x166162=_0x11f089['editorSurfaceWidth'])==null?_0x11f089[_0x51e3b0(0x34a)]:_0x166162,'textAlign':_0x6ee5c0};}function vn(_0x1accfc){const _0x3cb056=_0x56c0cf;let {allowShrink:_0x4ce4e8=!0x1,hostWidth:_0x2716f8,hostHeight:_0x275126,textRect:_0x20a277,contentWidth:_0x3d00f9,contentHeight:_0x558b07}=_0x1accfc,_0x13a5a6=Number[_0x3cb056(0x571)](_0x2716f8)&&_0x2716f8>0x0?_0x2716f8:0x1,_0x58973a=Number[_0x3cb056(0x571)](_0x275126)&&_0x275126>0x0?_0x275126:0x1,_0xd37a5=Math[_0x3cb056(0x6e4)](0x0,_0x20a277[_0x3cb056(0x3fb)]),_0x3a2f6f=Math['max'](0x0,_0x20a277['top']),_0x3d1a5a=Math[_0x3cb056(0x6e4)](0x1,_0x20a277['width']),_0x33c76a=Math[_0x3cb056(0x6e4)](0x1,_0x20a277['height']),_0x561442=Math[_0x3cb056(0x6e4)](0x0,_0x13a5a6-_0xd37a5-_0x3d1a5a),_0xd87bb3=Math[_0x3cb056(0x6e4)](0x0,_0x58973a-_0x3a2f6f-_0x33c76a),_0x350857=Math[_0x3cb056(0x6e4)](0x1,_0x4ce4e8?_0x3d00f9:Math[_0x3cb056(0x6e4)](_0x3d1a5a,_0x3d00f9)),_0x130363=Math['max'](0x1,_0x4ce4e8?_0x558b07:Math[_0x3cb056(0x6e4)](_0x33c76a,_0x558b07)),_0x3717bc=Math[_0x3cb056(0x373)](_0xd37a5+_0x350857+_0x561442),_0x51951c=Math['ceil'](_0x3a2f6f+_0x130363+_0xd87bb3);return{'width':_0x4ce4e8?_0x3717bc:Math[_0x3cb056(0x6e4)](_0x13a5a6,_0x3717bc),'height':_0x4ce4e8?_0x51951c:Math[_0x3cb056(0x6e4)](_0x58973a,_0x51951c)};}function yn(_0x5ac420){const _0x1d8fcd=_0x56c0cf;let _0x14a3b7=Math[_0x1d8fcd(0x6e4)](0x1,_0x5ac420[_0x1d8fcd(0x4ed)]),_0x1376b9=Math['max'](0x1,_0x5ac420[_0x1d8fcd(0x2ef)]);return _0x5ac420[_0x1d8fcd(0x6fa)]===_0x1d8fcd(0x57e)?{'width':_0x14a3b7,'height':_0x1376b9}:{'width':_0x1376b9,'height':_0x14a3b7};}function bn(_0x213480,_0x4a8ff4,_0x1b700b,_0x546fbd){const _0x4cb903=_0x56c0cf;return{'top':_0x546fbd===void 0x0?0x0:_0x4a8ff4,'left':_0x1b700b===void 0x0?0x0:_0x213480,'width':_0x1b700b==null?_0x213480:_0x1b700b,'height':_0x546fbd==null?_0x4a8ff4:_0x546fbd,'borderColor':_0x4cb903(0x236),'outlineColor':'transparent','backgroundColor':_0x4cb903(0x236)};}function xn(_0x213555,_0xc0dbf6){const _0x38efda=_0x56c0cf;var _0x55aaba;if(!_0x213555)return;_0x213555[_0x38efda(0x54c)]['left']=_0xc0dbf6[_0x38efda(0x2eb)]+'px',_0x213555[_0x38efda(0x54c)][_0x38efda(0x2ac)]=_0xc0dbf6[_0x38efda(0x2b3)]+'px';let _0x238026=(_0x55aaba=_0xc0dbf6['editorSurfaceWidth'])==null?_0xc0dbf6['editorWidth']:_0x55aaba;_0x213555[_0x38efda(0x54c)][_0x38efda(0x57e)]=_0x238026+'px',_0x213555[_0x38efda(0x54c)]['height']=Math[_0x38efda(0x6e4)](0x1,_0xc0dbf6[_0x38efda(0x474)])+'px';}function Sn(_0x5be07b,..._0x3bf812){const _0x399a94=_0x56c0cf;_0x5be07b[_0x399a94(0x3ba)](..._0x3bf812),_0x5be07b[_0x399a94(0x359)]();}function Cn(_0x279dd7){const _0x32cd62=_0x56c0cf;return _0x279dd7[_0x32cd62(0x688)]()?_0x279dd7['getDocumentData']():null;}function wn(_0x36fbb2){const _0x5d2be1=_0x56c0cf;var _0x2a1c31,_0x3748a9;let _0x21eb55=_0x36fbb2==null||(_0x2a1c31=_0x36fbb2[_0x5d2be1(0x4f6)])==null||(_0x3748a9=_0x2a1c31[_0x5d2be1(0x60c)])==null?void 0x0:_0x3748a9[_0x5d2be1(0x35d)](_0x2a1c31);_0x21eb55&&(_0x21eb55[_0x5d2be1(0x54c)][_0x5d2be1(0x472)]=_0x5d2be1(0x236));}function Tn(_0x133140){const _0x53b309=_0x56c0cf;var _0xe6897b,_0x2575a4;let _0x51fd15=_0x33aed9=>{const _0x58e83b=_0x4435;if(!_0x33aed9||typeof _0x33aed9!=_0x58e83b(0x6ec))return;let _0x1d731a=_0x33aed9;_0x1d731a[_0x58e83b(0x460)]!==void 0x0&&(_0x1d731a[_0x58e83b(0x460)]=0x0),_0x1d731a[_0x58e83b(0x1b6)]!==void 0x0&&(_0x1d731a[_0x58e83b(0x1b6)]=0x0);};_0x51fd15(_0x133140==null?void 0x0:_0x133140[_0x53b309(0x4c0)]),_0x133140==null||(_0xe6897b=_0x133140['components'])==null||(_0x2575a4=_0xe6897b[_0x53b309(0x660)])==null||_0x2575a4['call'](_0xe6897b,_0x51fd15);}function En(_0x504079){const _0xa0e000=_0x56c0cf;var _0x811c08,_0x4ca5df,_0x7803af,_0x291bdc;_0x504079==null||(_0x811c08=_0x504079[_0xa0e000(0x4c0)])==null||(_0x4ca5df=_0x811c08[_0xa0e000(0x3d9)])==null||_0x4ca5df[_0xa0e000(0x35d)](_0x811c08,!0x0);let _0x14d6bd=_0x504079==null?void 0x0:_0x504079[_0xa0e000(0x5b6)];_0x14d6bd==null||(_0x7803af=_0x14d6bd['makeDirty'])==null||_0x7803af[_0xa0e000(0x35d)](_0x14d6bd,!0x0),_0x14d6bd==null||(_0x291bdc=_0x14d6bd[_0xa0e000(0x3e9)])==null||_0x291bdc[_0xa0e000(0x35d)](_0x14d6bd);}function Dn(_0x4676bc,_0x4d816e,_0x1b1021={}){const _0x16b65a=_0x56c0cf;let _0x3f02bc=a[_0x16b65a(0x5e7)][_0x16b65a(0x515)],_0x57a930=a['MetaKeys'][_0x16b65a(0x515)]|a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)];return{'keyCodes':[..._0x1b1021[_0x16b65a(0x4c8)]?[{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x319)]},{'keyCode':a['KeyCode'][_0x16b65a(0x319)],'metaKey':a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)]},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x319)],'metaKey':_0x3f02bc}]:[{'keyCode':a['KeyCode'][_0x16b65a(0x319)]}],{'keyCode':a[_0x16b65a(0x1d5)]['ESC']},{'keyCode':a['KeyCode'][_0x16b65a(0x361)]},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x215)]},{'keyCode':a[_0x16b65a(0x1d5)]['A'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['B'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['I'],'metaKey':_0x3f02bc},{'keyCode':a['KeyCode']['U'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['X'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x57b)],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x5d4)],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x5d4)],'metaKey':a[_0x16b65a(0x5e7)]['ALT']|a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)]},{'keyCode':a['KeyCode'][_0x16b65a(0x57b)],'metaKey':a[_0x16b65a(0x5e7)][_0x16b65a(0x69b)]|a[_0x16b65a(0x5e7)][_0x16b65a(0x5d3)]},{'keyCode':a[_0x16b65a(0x1d5)]['K'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['L'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['R'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['E'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['J'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['PERIOD'],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)][_0x16b65a(0x5ed)],'metaKey':_0x57a930},{'keyCode':a['KeyCode'][_0x16b65a(0x70b)],'metaKey':_0x57a930},{'keyCode':a[_0x16b65a(0x1d5)]['Z'],'metaKey':_0x3f02bc},{'keyCode':a['KeyCode']['Y'],'metaKey':_0x3f02bc},{'keyCode':a[_0x16b65a(0x1d5)]['Z'],'metaKey':_0x57a930}],'handler':(_0x444a11,_0x478e67)=>{const _0x533d84=_0x16b65a;switch(_0x444a11+':'+(_0x478e67==null?0x0:_0x478e67)){case a[_0x533d84(0x1d5)][_0x533d84(0x582)]+':0':var _0x2c93de;(_0x2c93de=_0x1b1021[_0x533d84(0x498)])==null||_0x2c93de[_0x533d84(0x35d)](_0x1b1021);break;case a[_0x533d84(0x1d5)][_0x533d84(0x319)]+':0':if(_0x1b1021[_0x533d84(0x4c8)]){var _0x34b921;(_0x34b921=_0x1b1021['commit'])==null||_0x34b921[_0x533d84(0x35d)](_0x1b1021);}else _0x4676bc[_0x533d84(0x65d)](u['BreakLineCommand']['id']);break;case a['KeyCode'][_0x533d84(0x319)]+':'+a[_0x533d84(0x5e7)][_0x533d84(0x5d3)]:case a[_0x533d84(0x1d5)]['ENTER']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x49f)]['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x361)]+':0':_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x652)]['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x215)]+':0':_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x426)]['id']);break;case a[_0x533d84(0x1d5)]['A']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u['DocSelectAllCommand']['id']);break;case a['KeyCode']['B']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x6b9)]['id']);break;case a[_0x533d84(0x1d5)]['I']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u['SetInlineFormatItalicCommand']['id']);break;case a[_0x533d84(0x1d5)]['U']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u['SetInlineFormatUnderlineCommand']['id']);break;case a[_0x533d84(0x1d5)]['X']+':'+_0x57a930:_0x4676bc['executeCommand'](u['SetInlineFormatStrikethroughCommand']['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x57b)]+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x563)]['id']);break;case a['KeyCode'][_0x533d84(0x5d4)]+':'+_0x3f02bc:_0x4676bc['executeCommand'](u[_0x533d84(0x257)]['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x5d4)]+':'+(a[_0x533d84(0x5e7)][_0x533d84(0x69b)]|a[_0x533d84(0x5e7)][_0x533d84(0x5d3)]):_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x41f)]['id'],{'value':Zt(_0x1b1021[_0x533d84(0x403)],0x1)});break;case a['KeyCode']['COMMA']+':'+(a['MetaKeys'][_0x533d84(0x69b)]|a[_0x533d84(0x5e7)][_0x533d84(0x5d3)]):_0x4676bc[_0x533d84(0x65d)](u['SetInlineFormatFontSizeCommand']['id'],{'value':Zt(_0x1b1021[_0x533d84(0x403)],-0x1)});break;case a[_0x533d84(0x1d5)]['K']+':'+_0x3f02bc:_0x4676bc[_0x533d84(0x65d)](_0x533d84(0x371));break;case a[_0x533d84(0x1d5)]['L']+':'+_0x57a930:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x5dc)]['id']);break;case a['KeyCode']['R']+':'+_0x57a930:_0x4676bc[_0x533d84(0x65d)](u[_0x533d84(0x533)]['id']);break;case a[_0x533d84(0x1d5)]['E']+':'+_0x57a930:_0x4676bc['executeCommand'](u[_0x533d84(0x603)]['id']);break;case a[_0x533d84(0x1d5)]['J']+':'+_0x57a930:_0x4676bc[_0x533d84(0x65d)](u['AlignJustifyCommand']['id']);break;case a[_0x533d84(0x1d5)][_0x533d84(0x5d4)]+':'+_0x57a930:_0x4676bc['executeCommand'](ct);break;case a['KeyCode'][_0x533d84(0x5ed)]+':'+_0x57a930:_0x4676bc['executeCommand'](u[_0x533d84(0x3a3)]['id']);break;case a['KeyCode'][_0x533d84(0x70b)]+':'+_0x57a930:_0x4676bc['executeCommand'](u[_0x533d84(0x26f)]['id']);break;case a['KeyCode']['Z']+':'+_0x3f02bc:_0x4d816e?_0x4d816e(i['UndoCommand']['id']):_0x4676bc['executeCommand'](i[_0x533d84(0x2ae)]['id']);break;case a['KeyCode']['Y']+':'+_0x3f02bc:case a[_0x533d84(0x1d5)]['Z']+':'+_0x57a930:_0x4d816e?_0x4d816e(i['RedoCommand']['id']):_0x4676bc[_0x533d84(0x65d)](i[_0x533d84(0x461)]['id']);break;}}};}const On=function(_0x369e37){const _0x5b8c4d=_0x56c0cf;var _0x31da25,_0x4d5f69,_0x11f3b0;let {adapter:_0x3e5cf7,containerWidth:_0x25264d,containerHeight:_0x23757f,editingParams:_0x4774ca,editingService:_0x2c74c0,editorUnitId:_0x1eeb58,scaleX:_0x4c68c5,scaleY:_0x5b5cd2,verticalAlignCommandId:_0x8a6457}=_0x369e37,_0x133da6=_0x4c68c5||0x1,_0x1af67f=_0x5b5cd2||0x1,_0x195002=(0x0,a['useDependency'])(u['IEditorService']),_0x2f6f4c=(0x0,a[_0x5b8c4d(0x4ea)])(c[_0x5b8c4d(0x4f8)]),_0x2bf35a=(0x0,a[_0x5b8c4d(0x4ea)])(i['IUniverInstanceService']),_0x468d69=(0x0,a['useDependency'])(i[_0x5b8c4d(0x6da)]),_0x22141e=(0x0,a[_0x5b8c4d(0x4ea)])(l['DocStateEmitService']),_0x4ae146=(0x0,a['useDependency'])(i[_0x5b8c4d(0x5ad)]),_0x1db622=(0x0,n[_0x5b8c4d(0x42e)])(()=>_0x4ae146['t'](_0x5b8c4d(0x4dd)),[(0x0,a[_0x5b8c4d(0x430)])(()=>_0x4ae146[_0x5b8c4d(0x6c7)],_0x4ae146[_0x5b8c4d(0x45d)](),!0x1,[_0x4ae146]),_0x4ae146]),_0x32bcc6=(0x0,a['useObservable'])(_0x2c74c0['onSavingEditorData$']),_0x39d9f4=(0x0,n[_0x5b8c4d(0x2c5)])(!0x1),_0x30b5da=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x3fe361=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0xd9deae=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x31dc14=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x40994b=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x20a96c=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x105e5b=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x42f4ba=(0x0,n[_0x5b8c4d(0x2c5)])({'width':0x0,'height':0x0}),_0x568364=(0x0,n[_0x5b8c4d(0x2c5)])(null),_0x4f5e7e=(0x0,n[_0x5b8c4d(0x2c5)])(()=>{}),_0x4fd45e=(0x0,n['useRef'])(()=>{}),_0x187f86=(0x0,n[_0x5b8c4d(0x2c5)])(()=>{}),[_0x48e538,_0x2c764e]=(0x0,n[_0x5b8c4d(0x1c0)])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x25264d,'editorHeight':_0x23757f});_0x39d9f4[_0x5b8c4d(0x21b)]=!!_0x32bcc6;let _0x37600e=(0x0,n[_0x5b8c4d(0x4bf)])(_0x5c2aa4=>{const _0x55168f=_0x5b8c4d;xn(_0x3fe361[_0x55168f(0x21b)],_0x5c2aa4),queueMicrotask(()=>{_0x2c764e(_0x392aa9=>qt(_0x392aa9,_0x5c2aa4)?_0x392aa9:_0x5c2aa4);});},[]),_0x169d9c=(0x0,n[_0x5b8c4d(0x4bf)])(()=>_0x2bf35a[_0x5b8c4d(0x689)](_0x1eeb58,i[_0x5b8c4d(0x5de)][_0x5b8c4d(0x30a)]),[_0x1eeb58,_0x2bf35a]),_0x3a6d6f=(0x0,n['useCallback'])(()=>{const _0x2ad2c9=_0x5b8c4d;var _0x2139d9;let _0x16a41d=_0x133da6,_0x1bbd39=_0x1af67f;if(!_0x4774ca)return{'scaleAdjust':0x1,'renderScaleX':_0x16a41d,'renderScaleY':_0x1bbd39};let _0x2a7872=_0x2f6f4c[_0x2ad2c9(0x68c)](_0x4774ca['unitId']),_0x4895cd=_0x2a7872==null?void 0x0:_0x2a7872[_0x2ad2c9(0x5b6)][_0x2ad2c9(0x576)](),_0x4442a1=_0x2a7872==null?void 0x0:_0x2a7872[_0x2ad2c9(0x4f6)][_0x2ad2c9(0x60c)](),_0xd1080b=_0x4442a1?Number[_0x2ad2c9(0x4c5)](_0x4442a1['style']['width']||''):0x0,_0x3e3967=(_0x2139d9=_0x4442a1==null?void 0x0:_0x4442a1[_0x2ad2c9(0x518)]()[_0x2ad2c9(0x57e)])==null?0x0:_0x2139d9,_0x411ba8=_0xd1080b>0x0&&_0x3e3967>0x0?_0x3e3967/_0xd1080b:0x1;return{'scaleAdjust':Number[_0x2ad2c9(0x571)](_0x411ba8)&&_0x411ba8>0x0?_0x411ba8:0x1,'renderScaleX':(_0x4895cd==null?void 0x0:_0x4895cd['scaleX'])||_0x16a41d,'renderScaleY':(_0x4895cd==null?void 0x0:_0x4895cd['scaleY'])||_0x1bbd39};},[_0x133da6,_0x1af67f,_0x4774ca,_0x2f6f4c]),_0x28ee37=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x11d42b=_0x5b8c4d;if(!_0x4774ca)return{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f};let {unitId:_0x19160c,subUnitId:_0x139add,shapeId:_0x50cb61}=_0x4774ca,_0x2f3e37=_0x3e5cf7[_0x11d42b(0x36f)](_0x19160c,_0x139add,_0x50cb61);return _0x2f3e37?en({'hostRect':{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f},'shapeModel':_0x2f3e37}):{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f};},[_0x3e5cf7,_0x4774ca,_0x25264d,_0x23757f,_0x133da6,_0x1af67f]),_0x4d6740=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x5672fd=_0x5b8c4d;var _0x1a9953,_0x18d6f4;if(!_0x4774ca)return null;let {unitId:_0x2ecf7e,subUnitId:_0x48c7cc,shapeId:_0x4c6b15}=_0x4774ca,_0x4421a7=_0x3e5cf7[_0x5672fd(0x36f)](_0x2ecf7e,_0x48c7cc,_0x4c6b15);if(!_0x4421a7)return null;let _0x482f85=(_0x1a9953=_0x3e5cf7[_0x5672fd(0x577)])==null?void 0x0:_0x1a9953[_0x5672fd(0x35d)](_0x3e5cf7,_0x2ecf7e,_0x48c7cc,_0x4c6b15),_0x49f46a=_0x4421a7['getShapeTextData']();if(!_0x49f46a)return null;let _0x3e9435=_t(_0x482f85,_0x49f46a),_0x289584=(_0x18d6f4=_0x3e5cf7[_0x5672fd(0x599)](_0x2ecf7e,_0x48c7cc,_0x4c6b15))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x18d6f4,_0x2ba598={'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f},_0x50b179=_0x4421a7[_0x5672fd(0x655)](_0x2ba598),_0x2160ed,_0x2c2565=i[_0x5672fd(0x5e9)]['TOP'],_0xf10687=i[_0x5672fd(0x1e4)]['LEFT'];if(_0x5672fd(0x494)in _0x49f46a&&_0x49f46a[_0x5672fd(0x494)]){var _0x5002a5,_0x5bde46,_0x263857,_0x44e15a,_0x147056,_0x141513;let _0x292af5=K(_0x49f46a[_0x5672fd(0x494)]);_0x292af5!=null&&_0x292af5[_0x5672fd(0x634)]&&(_0x2160ed=_0x292af5[_0x5672fd(0x634)]),_0x2c2565=(_0x5002a5=(_0x5bde46=_0x292af5==null?void 0x0:_0x292af5['va'])==null?_0x2160ed==null||(_0x263857=_0x2160ed[_0x5672fd(0x413)])==null||(_0x263857=_0x263857[_0x5672fd(0x520)])==null?void 0x0:_0x263857[_0x5672fd(0x40c)]:_0x5bde46)==null?i[_0x5672fd(0x5e9)][_0x5672fd(0x338)]:_0x5002a5,_0xf10687=(_0x44e15a=(_0x147056=_0x292af5==null?void 0x0:_0x292af5['ha'])==null?_0x2160ed==null||(_0x141513=_0x2160ed[_0x5672fd(0x413)])==null||(_0x141513=_0x141513[_0x5672fd(0x520)])==null?void 0x0:_0x141513[_0x5672fd(0x208)]:_0x147056)==null?i[_0x5672fd(0x1e4)][_0x5672fd(0x252)]:_0x44e15a;}let _0x5d358e=(0x0,s[_0x5672fd(0x611)])(_0x3e9435),_0x47115d=_0x5d358e[_0x5672fd(0x1ca)]===_0x5672fd(0x6fc)?zt({'documentData':_0x2160ed,'horizontalAlign':_0xf10687,'horizontalAnchor':_0x5d358e[_0x5672fd(0x1ca)],'isHorizontal':_0x49f46a['isHorizontal'],'textRect':_0x50b179,'textWrap':_0x5d358e['textWrap'],'widthBuffer':0x2})[_0x5672fd(0x3a5)]:_0x50b179;return{'shapeText':_0x49f46a,'bodyBehavior':_0x5d358e,'doc':_0x2160ed,'verticalAlign':_0x2c2565,'horizontalAlign':_0xf10687,'wrapStrategy':bt(_0x3e9435),'autoFitNoWrap':St(_0x3e9435),'textRect':_0x47115d,'transform':_0x289584,'isHorizontal':_0x49f46a['isHorizontal'],'isTextBox':_0x3e9435['isTextBox']===!0x0};},[_0x3e5cf7,_0x4774ca,_0x25264d,_0x23757f,_0x133da6,_0x1af67f]),_0x955aef=(0x0,n[_0x5b8c4d(0x42e)])(()=>{const _0x17a584=_0x5b8c4d;let _0x2dbde4=_0x4d6740();if(_0x2dbde4!=null&&_0x2dbde4['doc'])return ce(_0x2dbde4[_0x17a584(0x634)],{'bodyBehavior':_0x2dbde4[_0x17a584(0x56b)],'isHorizontal':_0x2dbde4[_0x17a584(0x597)],'textRect':_0x2dbde4[_0x17a584(0x3a5)],'verticalAlign':_0x2dbde4[_0x17a584(0x40c)],'horizontalAlign':_0x2dbde4[_0x17a584(0x208)],'wrapStrategy':_0x2dbde4[_0x17a584(0x6ac)]});let _0xc4cdd=nn(_0x1eeb58,_0x25264d/_0x133da6);return _0x2dbde4?ce(_0xc4cdd,{'bodyBehavior':_0x2dbde4[_0x17a584(0x56b)],'isHorizontal':_0x2dbde4[_0x17a584(0x597)],'textRect':_0x2dbde4[_0x17a584(0x3a5)],'verticalAlign':_0x2dbde4[_0x17a584(0x40c)],'horizontalAlign':_0x2dbde4[_0x17a584(0x208)],'wrapStrategy':_0x2dbde4['wrapStrategy']}):_0xc4cdd;},[_0x4d6740,_0x25264d,_0x133da6]),[_0x2db650,_0x386810]=(0x0,n[_0x5b8c4d(0x1c0)])(()=>Bt(_0x955aef)),_0x101fb8=(0x0,u['useEditor'])({'editorId':_0x1eeb58,'initialValue':_0x955aef,'container':_0x3fe361,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x5b8c4d(0x236)},'isSingle':!0x1});(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x242f1b=_0x5b8c4d;if(!_0x101fb8)return;let _0x1315fc=_0x2f6f4c[_0x242f1b(0x68c)](_0x1eeb58);wn(_0x1315fc),Tn(_0x1315fc);},[_0x101fb8,_0x1eeb58,_0x2f6f4c]);let _0xd67ca0=Yt(_0x1eeb58),_0x505972=_0x4774ca?(_0x31da25=(_0x4d5f69=_0x3e5cf7[_0x5b8c4d(0x4c8)])==null?void 0x0:_0x4d5f69['call'](_0x3e5cf7,_0x4774ca))==null?!0x1:_0x31da25:!0x1,_0x47e9f3=(_0x11f3b0=_0x955aef[_0x5b8c4d(0x413)])==null||(_0x11f3b0=_0x11f3b0['textStyle'])==null?void 0x0:_0x11f3b0['fs'];(0x0,u[_0x5b8c4d(0x4a6)])(_0xd67ca0,(0x0,n[_0x5b8c4d(0x42e)])(()=>Dn(_0x468d69,_0x4bf381=>{const _0x4e15e5=_0x5b8c4d;(0x0,u[_0x4e15e5(0x519)])({'commandId':_0x4bf381,'commandService':_0x468d69,'editorUnitId':_0x1eeb58,'univerInstanceService':_0x2bf35a});},{'commitOnEnter':_0x505972,'cancel':()=>{const _0x278167=_0x5b8c4d;if(_0x2c74c0['cancelEditing']){_0x2c74c0[_0x278167(0x3af)]();return;}_0x2c74c0[_0x278167(0x4a8)](null);},'commit':()=>{const _0x2adc25=_0x5b8c4d;if(_0x2c74c0[_0x2adc25(0x2fe)]){_0x2c74c0[_0x2adc25(0x2fe)]();return;}_0x2c74c0['setEditing'](null);},'currentFontSize':_0x47e9f3}),[_0x468d69,_0x505972,_0x47e9f3,_0x2c74c0,_0x1eeb58,_0x2bf35a]),_0x101fb8),(0x0,u[_0x5b8c4d(0x1be)])(_0xd67ca0,!0x1,_0x101fb8),(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0xa325ec=_0x5b8c4d;if(!(_0x4774ca!=null&&_0x4774ca['visible']))return;let _0x3d9aa4=_0x13ecb1=>{const _0x40d677=_0x4435;if(_0x13ecb1[_0x40d677(0x324)]===0x0&&$t(_0x13ecb1[_0x40d677(0x207)],_0x30b5da[_0x40d677(0x21b)])){if(_0x2c74c0[_0x40d677(0x2fe)]){_0x2c74c0[_0x40d677(0x2fe)](_0x13ecb1);return;}_0x2c74c0['setEditing'](null);}};return document[_0xa325ec(0x2ec)]('pointerdown',_0x3d9aa4,!0x0),()=>{const _0x3a7150=_0xa325ec;document['removeEventListener'](_0x3a7150(0x289),_0x3d9aa4,!0x0);};},[_0x4774ca==null?void 0x0:_0x4774ca['visible'],_0x2c74c0]),(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x527701=_0x5b8c4d;_0x42f4ba[_0x527701(0x21b)]=_0x4774ca?{'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f}:{'width':0x0,'height':0x0};},[_0x25264d,_0x23757f,_0x133da6,_0x1af67f,_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x22a)],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x390)],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x4d4)]]),(0x0,n['useEffect'])(()=>{const _0x297930=_0x5b8c4d;_0x568364[_0x297930(0x21b)]=null;},[_0x4774ca==null?void 0x0:_0x4774ca['unitId'],_0x4774ca==null?void 0x0:_0x4774ca['subUnitId'],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x4d4)],_0x4774ca==null?void 0x0:_0x4774ca['shapeKey']]);let _0x58e708=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x143846=_0x5b8c4d;let _0x279db3=_0x568364[_0x143846(0x21b)];if(_0x279db3)return _0x568364[_0x143846(0x21b)]=null,_0x42f4ba[_0x143846(0x21b)]={'width':_0x279db3['width'],'height':_0x279db3['height']},_0x279db3;},[]),_0x5dc6f=(0x0,n[_0x5b8c4d(0x4bf)])((_0x3336fb=!0x0,_0x31f51c=!0x1)=>{const _0x4935da=_0x5b8c4d;var _0x94ac6d,_0x15a541,_0x24b988;if(!_0x101fb8)return;let _0x2f1812=_0x101fb8[_0x4935da(0x283)]()[_0x4935da(0x2cd)](_0x4fb4a3=>_0x4fb4a3[_0x4935da(0x573)]),_0x23b9cf=((_0x94ac6d=(_0x15a541=_0x101fb8['getDocumentData']()[_0x4935da(0x22c)])==null?void 0x0:_0x15a541[_0x4935da(0x4d7)]['length'])==null?0x2:_0x94ac6d)-0x2,_0x71c3c9=(_0x24b988=_0x2f1812==null?void 0x0:_0x2f1812['startOffset'])==null?_0x3336fb?_0x23b9cf:null:_0x24b988;_0x71c3c9!==null&&_0x101fb8[_0x4935da(0x357)]([{'startOffset':_0x71c3c9,'endOffset':_0x71c3c9}],_0x31f51c);},[_0x101fb8]);_0x4fd45e['current']=_0x5dc6f;let _0x26752b=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x34b0e4=_0x5b8c4d;_0x40994b[_0x34b0e4(0x21b)]!==null&&(cancelAnimationFrame(_0x40994b['current']),_0x40994b[_0x34b0e4(0x21b)]=null),_0x40994b[_0x34b0e4(0x21b)]=requestAnimationFrame(()=>{const _0x1a67b7=_0x34b0e4;_0x40994b[_0x1a67b7(0x21b)]=null,_0x4fd45e[_0x1a67b7(0x21b)](!0x0,!0x0);});},[]),_0x446141=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x1bd084=_0x5b8c4d;_0x20a96c[_0x1bd084(0x21b)]!==null&&(cancelAnimationFrame(_0x20a96c[_0x1bd084(0x21b)]),_0x20a96c[_0x1bd084(0x21b)]=null),_0x105e5b['current']!==null&&(window[_0x1bd084(0x509)](_0x105e5b[_0x1bd084(0x21b)]),_0x105e5b[_0x1bd084(0x21b)]=null);},[]),_0x468ca5=(0x0,n['useCallback'])(()=>{const _0x199a89=_0x5b8c4d;var _0x4e9cef,_0x435bdf,_0x53b180,_0x2e13c4,_0x558155,_0x5a43e9,_0x571feb,_0xdb734b,_0x18fe5d;if(!_0x101fb8)return;let _0x16974a=_0x2f6f4c['getRenderById'](_0x1eeb58);Tn(_0x16974a);let _0x17634a=_0x16974a==null?void 0x0:_0x16974a[_0x199a89(0x20a)](l[_0x199a89(0x35f)]);if(!_0x17634a)return;let _0x4071e8=_0x17634a[_0x199a89(0x267)](),_0x590f6b=_0x169d9c(),{renderScaleX:_0x5386c6,renderScaleY:_0x4d7c55,scaleAdjust:_0x711714}=_0x3a6d6f(),_0x308744=_0x4d6740(),_0xa77106=(_0x4e9cef=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x40c)])==null?i[_0x199a89(0x5e9)][_0x199a89(0x338)]:_0x4e9cef,_0x525c6b=(_0x435bdf=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x208)])==null?i[_0x199a89(0x1e4)]['LEFT']:_0x435bdf,_0x18e9ae=(_0x53b180=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x6ac)])==null?i[_0x199a89(0x3a8)][_0x199a89(0x5fd)]:_0x53b180,_0xfbedef=(_0x2e13c4=_0x308744==null?void 0x0:_0x308744[_0x199a89(0x228)])==null?!0x1:_0x2e13c4,_0x1faf4c=(_0x558155=_0x28ee37())==null?{'left':0x0,'top':0x0,'width':_0x25264d/_0x133da6,'height':_0x23757f/_0x1af67f}:_0x558155,_0x42ea1f=Ct({'shapeText':_0x308744==null?void 0x0:_0x308744['shapeText']}),_0x163cb5=_0x590f6b==null?void 0x0:_0x590f6b[_0x199a89(0x52a)](),_0x3cdea5=Bt(_0x163cb5),_0x17e5a4=_0x42ea1f===_0x199a89(0x57e)?_0x1faf4c[_0x199a89(0x57e)]:_0x1faf4c[_0x199a89(0x480)],_0x4ee8a2=_0xfbedef?sn(_0x163cb5)+0x2:_0x17e5a4,_0x2b8d26=on({'autoFitNoWrap':_0xfbedef,'maxAutoFitWidth':_0x4ee8a2,'textRectWidth':_0x17e5a4}),_0x3589b2=!0x1;if(_0x590f6b){var _0x3b0a61;_0x3589b2=Ot((_0x3b0a61=_0x590f6b[_0x199a89(0x52a)]()[_0x199a89(0x413)])==null||(_0x3b0a61=_0x3b0a61[_0x199a89(0x520)])==null?void 0x0:_0x3b0a61['shapeTextOpticalVerticalAlign']),_0x590f6b[_0x199a89(0x1a4)](Math['max'](_0x5386c6,_0x4d7c55)),_0x590f6b[_0x199a89(0x438)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x2b8d26,'height':0x1/0x0}}),_0x590f6b['updateDocumentRenderConfig']({'verticalAlign':hn({'opticalVerticalAlign':_0x3589b2,'verticalAlign':_0xa77106}),'horizontalAlign':_0x525c6b,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x18e9ae}),_0x590f6b[_0x199a89(0x5d0)]({'t':0x0});}(_0x5a43e9=_0x4071e8[_0x199a89(0x388)])==null||_0x5a43e9['call'](_0x4071e8),_0x4071e8['calculate']();let {actualWidth:_0x2899a0,actualHeight:_0x45d91b}=_0x4071e8[_0x199a89(0x2fd)](),_0x486e75=Kt(_0x16974a==null||(_0x571feb=_0x16974a[_0x199a89(0x20a)](u[_0x199a89(0x1b7)]))==null?void 0x0:_0x571feb['getActiveTextRange']()),_0x16f5b2=Gt(Nt(_0x4071e8,_0x45d91b),_0x486e75),_0xdab55f=_0x3589b2?Pt(_0x4071e8,_0x1faf4c[_0x199a89(0x480)],_0xa77106):void 0x0,_0x4ea341=cn({'actualWidth':_0x2899a0,'autoFitNoWrap':_0xfbedef,'measuredContentWidth':_0x4ee8a2,'textRectWidth':_0x17e5a4}),_0x1b7467=pn({'adapter':_0x3e5cf7,'editingParams':_0x4774ca}),_0x4e5564=yn({'flowAxis':_0x42ea1f,'flowAxisLength':ln({'actualWidth':_0x2899a0,'allowShrink':_0x1b7467,'autoFitNoWrap':_0xfbedef,'measuredContentWidth':_0x4ee8a2,'renderedContentWidth':_0x4ea341}),'crossAxisLength':_0x16f5b2}),_0x494f20=gn({'actualHeight':_0x16f5b2,'contentWidth':_0x4ea341,'opticalVerticalOffset':_0xdab55f,'scaleX':_0x133da6,'scaleY':_0x1af67f,'textRect':_0x1faf4c,'verticalAlign':_0xa77106}),_0x77c807=_0x25264d/_0x133da6,_0x5acd99=_0x23757f/_0x1af67f,_0x4089b9=vn({'hostWidth':_0x77c807,'hostHeight':_0x5acd99,'textRect':_0x1faf4c,'contentWidth':_0x4e5564[_0x199a89(0x57e)],'contentHeight':_0x4e5564[_0x199a89(0x480)],'allowShrink':_0x1b7467}),_0x2ef6d1=_0x308744!=null&&_0x308744[_0x199a89(0x1f1)]&&_0x3cdea5?rn({'isHorizontal':_0x308744['isHorizontal'],'placeholderWidth':an(_0x163cb5==null?_0x955aef:_0x163cb5,_0x1db622)}):null,_0x5544f9=Math[_0x199a89(0x373)](Math[_0x199a89(0x6e4)](_0x4089b9[_0x199a89(0x57e)],(_0xdb734b=_0x2ef6d1==null?void 0x0:_0x2ef6d1['width'])==null?0x0:_0xdb734b)),_0x337878=Math[_0x199a89(0x373)](Math['max'](_0x4089b9[_0x199a89(0x480)],(_0x18fe5d=_0x2ef6d1==null?void 0x0:_0x2ef6d1[_0x199a89(0x480)])==null?0x0:_0x18fe5d)),_0x5f3c85=_0x42f4ba['current'],_0x34749e=fn({'nextWidth':_0x5544f9,'nextHeight':_0x337878,'baselineWidth':_0x77c807,'baselineHeight':_0x5acd99}),_0x33a04c=fn({'nextWidth':_0x5544f9,'nextHeight':_0x337878,'baselineWidth':_0x5f3c85['width'],'baselineHeight':_0x5f3c85[_0x199a89(0x480)]}),_0x1c9886=_0x4774ca&&_0x3e5cf7['updateHostSize']&&_0x34749e&&_0x33a04c,_0x4bd9e4=mn({'adapter':_0x3e5cf7,'editingParams':_0x4774ca}),_0x2f7ada=fn({'nextWidth':_0x77c807,'nextHeight':_0x337878,'baselineWidth':_0x77c807,'baselineHeight':_0x5acd99}),_0x39e793=fn({'nextWidth':_0x77c807,'nextHeight':_0x337878,'baselineWidth':_0x77c807,'baselineHeight':_0x5f3c85['height']}),_0x47cd4b=_0x4774ca&&_0x3e5cf7[_0x199a89(0x47f)]&&_0x337878>_0x5acd99&&_0x337878>_0x5f3c85['height']&&_0x2f7ada&&_0x39e793,_0x41eb3a=dn({'autoFitNoWrap':_0xfbedef,'editorWidth':_0x494f20[_0x199a89(0x34a)],'measurePageWidth':_0x2b8d26,'renderedContentWidth':_0x4ea341,'scaleX':_0x133da6});if(_0x37600e({'documentMarginTop':_0x494f20['documentMarginTop']*_0x1af67f,'editorLeft':_0x494f20[_0x199a89(0x2eb)],'editorTop':_0x494f20[_0x199a89(0x2b3)],'editorWidth':_0x494f20[_0x199a89(0x34a)],'editorHeight':_0x494f20['editorHeight'],'editorSurfaceWidth':_0x41eb3a}),_0x590f6b){let _0x24540e=un({'autoFitNoWrap':_0xfbedef,'measurePageWidth':_0x2b8d26,'renderedContentWidth':_0x4ea341,'textRectWidth':_0x17e5a4});_0x590f6b['updateDocumentStyle']({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x24540e,'height':_0x494f20['pageHeight']}}),_0x590f6b[_0x199a89(0x5d0)]({'t':_0x494f20['documentMarginTop']}),_0x4071e8[_0x199a89(0x68b)]();}if(_0x16974a){_0x494f20['editorWidth'];let _0x3cbe3d=_0x494f20['editorHeight'];_0x16974a[_0x199a89(0x5b6)]['transformByState']({'width':_0x41eb3a*_0x711714/_0x5386c6,'height':_0x3cbe3d*_0x711714/_0x4d7c55,'scaleX':_0x5386c6*_0x711714,'scaleY':_0x4d7c55*_0x711714}),_0x16974a['mainComponent']&&_0x16974a['mainComponent'][_0x199a89(0x3e5)](_0x41eb3a*_0x711714/_0x5386c6,_0x3cbe3d*_0x711714/_0x4d7c55),En(_0x16974a);}if(_0x4bd9e4&&_0x4774ca&&_0x3e5cf7[_0x199a89(0x3b1)]){var _0x2a3a52;let _0x24d0e2={'unitId':_0x4774ca['unitId'],'subUnitId':_0x4774ca['subUnitId'],'shapeId':_0x4774ca[_0x199a89(0x4d4)],'width':_0x5544f9,'height':_0x337878};_0x568364[_0x199a89(0x21b)]=_0x24d0e2,(_0x2a3a52=_0x3e5cf7[_0x199a89(0x2cf)])==null||_0x2a3a52['call'](_0x3e5cf7,_0x24d0e2);}if(_0x1c9886&&_0x4774ca&&_0x3e5cf7[_0x199a89(0x3b1)]){if(_0x4bd9e4)return;_0x568364[_0x199a89(0x21b)]=null,_0x42f4ba['current']={'width':_0x5544f9,'height':_0x337878},_0x3e5cf7[_0x199a89(0x3b1)]({'unitId':_0x4774ca['unitId'],'subUnitId':_0x4774ca[_0x199a89(0x390)],'shapeId':_0x4774ca[_0x199a89(0x4d4)],'width':_0x5544f9,'height':_0x337878}),_0x26752b();}else{if(_0x47cd4b&&_0x4774ca&&_0x3e5cf7[_0x199a89(0x47f)]){if(_0x4bd9e4)return;_0x568364[_0x199a89(0x21b)]=null,_0x42f4ba[_0x199a89(0x21b)]={'width':_0x77c807,'height':_0x337878},_0x3e5cf7[_0x199a89(0x47f)]({'unitId':_0x4774ca[_0x199a89(0x22a)],'subUnitId':_0x4774ca[_0x199a89(0x390)],'shapeId':_0x4774ca[_0x199a89(0x4d4)],'height':_0x337878}),_0x26752b();}}},[_0x101fb8,_0x3e5cf7,_0x4774ca,_0x2f6f4c,_0x169d9c,_0x3a6d6f,_0x4d6740,_0x28ee37,_0x25264d,_0x23757f,_0x133da6,_0x1af67f,_0x955aef,_0x1db622,_0x26752b,_0x37600e]);_0x4f5e7e[_0x5b8c4d(0x21b)]=_0x468ca5;let _0x4e2beb=(0x0,n[_0x5b8c4d(0x4bf)])((_0x550e5a=!0x1)=>{const _0x58a0bb=_0x5b8c4d;_0x446141(),_0x20a96c[_0x58a0bb(0x21b)]=requestAnimationFrame(()=>{const _0x3ee077=_0x58a0bb;_0x468ca5(),_0x550e5a&&_0x5dc6f(!0x1),_0x20a96c[_0x3ee077(0x21b)]=null,_0x105e5b[_0x3ee077(0x21b)]=window['setTimeout'](()=>{const _0x2eb2ca=_0x3ee077;_0x468ca5(),_0x550e5a&&_0x5dc6f(!0x1),_0x105e5b[_0x2eb2ca(0x21b)]=null;},0x14);});},[_0x468ca5,_0x446141,_0x5dc6f]);_0x187f86['current']=_0x4e2beb,(0x0,n['useEffect'])(()=>{const _0x3426ba=_0x5b8c4d;if(!(_0x4774ca!=null&&_0x4774ca[_0x3426ba(0x471)])||!_0x101fb8)return;let _0x336829=!0x1,_0x1bd009=_0x22141e[_0x3426ba(0x5b3)][_0x3426ba(0x290)](_0x197c6d=>{const _0x5b2815=_0x3426ba;if(!_0x336829){_0x336829=!0x0;return;}!_0x197c6d||_0x197c6d[_0x5b2815(0x22a)]!==_0x1eeb58||_0x197c6d[_0x5b2815(0x37d)]||(_0x386810(Bt(Cn(_0x101fb8))),_0x187f86[_0x5b2815(0x21b)](!0x1));});return()=>{const _0x4b13ba=_0x3426ba;_0x1bd009[_0x4b13ba(0x231)]();};},[_0x22141e,_0x101fb8,_0x1eeb58,_0x4774ca==null?void 0x0:_0x4774ca['shapeId'],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x465)],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x390)],_0x4774ca==null?void 0x0:_0x4774ca['unitId'],_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x471)]]);let _0x2060ed=(0x0,n[_0x5b8c4d(0x4bf)])(()=>{const _0x70d9df=_0x5b8c4d;_0x446141(),_0x4f5e7e[_0x70d9df(0x21b)]();},[_0x446141]);(0x0,n['useEffect'])(()=>{const _0xae49ee=_0x5b8c4d;if(!_0x101fb8||!_0x4774ca)return;let {shapeId:_0x3826e5,unitId:_0x10531f}=_0x4774ca;if(_0x32bcc6){var _0x3c3657,_0x48860c,_0xaeaa48,_0x1dc167,_0x3766fb,_0x277b21,_0x340acc,_0x575298;let _0x4152aa=_0x4d6740(),_0x53bfc4=Cn(_0x101fb8);if(!_0x53bfc4)return;let _0x3a39aa=(_0x3c3657=(_0x48860c=_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x40c)])==null?(_0xaeaa48=_0xd9deae[_0xae49ee(0x21b)])==null?void 0x0:_0xaeaa48['va']:_0x48860c)==null?i[_0xae49ee(0x5e9)][_0xae49ee(0x338)]:_0x3c3657,{horizontalAlign:_0x51d898,verticalAlign:_0x256a21}=re(_0x53bfc4,{'verticalAlign':_0x3a39aa,'horizontalAlign':(_0x1dc167=(_0x3766fb=_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x208)])==null?(_0x277b21=_0xd9deae[_0xae49ee(0x21b)])==null?void 0x0:_0x277b21['ha']:_0x3766fb)==null?i[_0xae49ee(0x1e4)][_0xae49ee(0x252)]:_0x1dc167}),_0x351d15=Ot((_0x340acc=_0x53bfc4['documentStyle'])==null||(_0x340acc=_0x340acc[_0xae49ee(0x520)])==null?void 0x0:_0x340acc[_0xae49ee(0x3f6)])?_0x3a39aa:_0x256a21,_0x28d595={'va':_0x351d15,'ha':_0x51d898,'doc':le(_0x53bfc4,{'bodyBehavior':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x56b)],'verticalAlign':_0x351d15,'horizontalAlign':_0x51d898})};_0x2060ed();let _0x212dde=_0x58e708();_0x3e5cf7[_0xae49ee(0x37f)]({'unitId':_0x10531f,'subUnitId':_0x4774ca[_0xae49ee(0x390)],'shapeId':_0x3826e5,'shapeText':tn({'shapeText':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x1a1)],'isHorizontal':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x597)],'dataModel':_0x28d595}),'oldShapeText':tn({'shapeText':_0x4152aa==null?void 0x0:_0x4152aa[_0xae49ee(0x1a1)],'isHorizontal':_0x4152aa==null?void 0x0:_0x4152aa['isHorizontal'],'dataModel':(_0x575298=_0xd9deae[_0xae49ee(0x21b)])==null?void 0x0:_0x575298}),..._0x212dde?{'hostSize':_0x212dde}:null}),_0x2c74c0[_0xae49ee(0x4a8)](null);return;}let _0x55362e=_0x4d6740();if(_0x55362e!=null&&_0x55362e['doc']){_0xd9deae['current']={'va':_0x55362e[_0xae49ee(0x40c)],'ha':_0x55362e[_0xae49ee(0x208)],'doc':ue(_0x55362e['doc'])};let _0x76817b=ce(_0x55362e['doc'],{'bodyBehavior':_0x55362e['bodyBehavior'],'isHorizontal':_0x55362e[_0xae49ee(0x597)],'textRect':_0x55362e[_0xae49ee(0x3a5)],'verticalAlign':_0x55362e[_0xae49ee(0x40c)],'horizontalAlign':_0x55362e[_0xae49ee(0x208)],'wrapStrategy':_0x55362e[_0xae49ee(0x6ac)]});return Sn(_0x101fb8,_0x76817b,null),_0x386810(Bt(_0x76817b)),()=>{const _0xf3df53=_0xae49ee;var _0xf428d5,_0x271dc5,_0x20dc3c,_0x2997b8,_0x341cd7,_0x4dea8f,_0x1c3ba4,_0x3e610e;if(_0x39d9f4['current'])return;let _0x57b5c8=_0x4d6740(),_0x472864=Cn(_0x101fb8);if(!_0x472864)return;let _0x48e0d3=(_0xf428d5=(_0x271dc5=_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x40c)])==null?(_0x20dc3c=_0xd9deae[_0xf3df53(0x21b)])==null?void 0x0:_0x20dc3c['va']:_0x271dc5)==null?i[_0xf3df53(0x5e9)][_0xf3df53(0x338)]:_0xf428d5,{horizontalAlign:_0x4f27cb,verticalAlign:_0x1cd283}=re(_0x472864,{'verticalAlign':_0x48e0d3,'horizontalAlign':(_0x2997b8=(_0x341cd7=_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x208)])==null?(_0x4dea8f=_0xd9deae[_0xf3df53(0x21b)])==null?void 0x0:_0x4dea8f['ha']:_0x341cd7)==null?i[_0xf3df53(0x1e4)][_0xf3df53(0x252)]:_0x2997b8}),_0x225e9d=Ot((_0x1c3ba4=_0x472864['documentStyle'])==null||(_0x1c3ba4=_0x1c3ba4[_0xf3df53(0x520)])==null?void 0x0:_0x1c3ba4[_0xf3df53(0x3f6)])?_0x48e0d3:_0x1cd283,_0x30f0bc={'va':_0x225e9d,'ha':_0x4f27cb,'doc':le(_0x472864,{'bodyBehavior':_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x56b)],'verticalAlign':_0x225e9d,'horizontalAlign':_0x4f27cb})};_0x2060ed();let _0x5764da=_0x58e708();_0x3e5cf7[_0xf3df53(0x37f)]({'unitId':_0x10531f,'subUnitId':_0x4774ca[_0xf3df53(0x390)],'shapeId':_0x3826e5,'shapeText':tn({'shapeText':_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x1a1)],'isHorizontal':_0x57b5c8==null?void 0x0:_0x57b5c8[_0xf3df53(0x597)],'dataModel':_0x30f0bc}),'oldShapeText':tn({'shapeText':_0x57b5c8==null?void 0x0:_0x57b5c8['shapeText'],'isHorizontal':_0x57b5c8==null?void 0x0:_0x57b5c8['isHorizontal'],'dataModel':(_0x3e610e=_0xd9deae[_0xf3df53(0x21b)])==null?void 0x0:_0x3e610e}),..._0x5764da?{'hostSize':_0x5764da}:null});};}else Sn(_0x101fb8,_0x955aef,null),_0x386810(Bt(_0x955aef));},[_0x101fb8,_0x4774ca,_0x32bcc6]);let _0x1f198d=Qt({'editorUnitId':_0x1eeb58,'editingParams':_0x4774ca});(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x17417f=_0x5b8c4d;if(!(!_0x101fb8||!_0x1f198d||!(_0x4774ca!=null&&_0x4774ca['visible'])))return _0x195002[_0x17417f(0x4a2)](!0x0),_0x4f5e7e[_0x17417f(0x21b)](),_0x31dc14[_0x17417f(0x21b)]=requestAnimationFrame(()=>{const _0x33d0a5=_0x17417f;_0x195002[_0x33d0a5(0x5e6)](_0x1eeb58),_0x4fd45e[_0x33d0a5(0x21b)](!0x0,!0x0),_0x101fb8[_0x33d0a5(0x5e6)](),_0x187f86[_0x33d0a5(0x21b)](),_0x31dc14['current']=null;}),()=>{const _0x4bf1df=_0x17417f;_0x31dc14[_0x4bf1df(0x21b)]!==null&&(cancelAnimationFrame(_0x31dc14[_0x4bf1df(0x21b)]),_0x31dc14[_0x4bf1df(0x21b)]=null),_0x40994b[_0x4bf1df(0x21b)]!==null&&(cancelAnimationFrame(_0x40994b['current']),_0x40994b[_0x4bf1df(0x21b)]=null),_0x446141(),_0x195002[_0x4bf1df(0x4a2)](!0x0);};},[_0x101fb8,_0x195002,_0x1eeb58,_0x1f198d,_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x471)],_0x446141]),(0x0,n[_0x5b8c4d(0x69d)])(()=>{const _0x219f1a=_0x5b8c4d;if(!_0x101fb8)return;let _0x176c55=_0x468d69[_0x219f1a(0x704)](_0x48fd71=>{const _0x287ddf=_0x219f1a;_0x48fd71['id']===l[_0x287ddf(0x6e7)]['id']&&_0x48fd71['params']['unitId']===_0x1eeb58&&_0x4774ca&&(_0x4774ca[_0x287ddf(0x471)]?(_0x468ca5(),_0x4e2beb()):_0x2c74c0[_0x287ddf(0x4a8)]({..._0x4774ca,'visible':!0x0})),_0x8a6457&&_0x48fd71['id']===_0x8a6457&&_0x4e2beb(!0x0);});return()=>{const _0x58e8f3=_0x219f1a;_0x176c55[_0x58e8f3(0x294)]();};},[_0x101fb8,_0x468ca5,_0x4774ca,_0x4e2beb,_0x2c74c0,_0x1eeb58,_0x8a6457]),(0x0,n[_0x5b8c4d(0x69d)])(()=>(_0x468ca5(),_0x4e2beb(),()=>{_0x446141();}),[_0x468ca5,_0x4e2beb,_0x446141]);let _0x3aa055=(0x0,n['useMemo'])(()=>{const _0xfb475f=_0x5b8c4d;var _0x38a1dc,_0x2c2ac5;let _0x2aabcf=(_0x38a1dc=_0x48e538[_0xfb475f(0x484)])==null?_0x48e538[_0xfb475f(0x34a)]:_0x38a1dc;return{...bn(_0x48e538[_0xfb475f(0x2eb)],_0x48e538[_0xfb475f(0x2b3)],_0x2aabcf,Math[_0xfb475f(0x6e4)](0x1,_0x48e538[_0xfb475f(0x474)])),..._0x4774ca?(_0x2c2ac5=_0x3e5cf7['getEditingContentStyle'])==null?void 0x0:_0x2c2ac5[_0xfb475f(0x35d)](_0x3e5cf7,_0x4774ca):void 0x0};},[_0x3e5cf7,_0x4774ca,_0x48e538[_0x5b8c4d(0x474)],_0x48e538[_0x5b8c4d(0x2eb)],_0x48e538[_0x5b8c4d(0x484)],_0x48e538['editorTop'],_0x48e538['editorWidth']]),_0x187e82=(0x0,n['useMemo'])(()=>{let _0x51fce2=_0x4d6740(),_0x58f1fc=_0x51fce2==null?void 0x0:_0x51fce2['transform'];return _0x58f1fc&&_0x58f1fc||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x4d6740]),_0x1a5580=(0x0,n[_0x5b8c4d(0x42e)])(()=>{const _0x10da21=_0x5b8c4d;var _0x2054c7,_0x37136b;return _n({'documentMarginTop':_0x48e538[_0x10da21(0x699)],'editorLeft':_0x48e538['editorLeft'],'editorSurfaceWidth':_0x48e538[_0x10da21(0x484)],'editorTop':_0x48e538[_0x10da21(0x2b3)],'editorWidth':_0x48e538[_0x10da21(0x34a)],'horizontalAlign':(_0x2054c7=(_0x37136b=_0x4d6740())==null?void 0x0:_0x37136b[_0x10da21(0x208)])==null?i['HorizontalAlign'][_0x10da21(0x252)]:_0x2054c7});},[_0x4d6740,_0x48e538]);return(0x0,r[_0x5b8c4d(0x372)])(_0x5b8c4d(0x21c),{'ref':_0x30b5da,'data-u-comp':_0x5b8c4d(0x43e),'className':_0x5b8c4d(0x3b7),'style':{'transform':'rotate('+_0x187e82[_0x5b8c4d(0x572)]+_0x5b8c4d(0x23b)+(_0x187e82[_0x5b8c4d(0x366)]?-0x1:0x1)+')'},'children':[(0x0,r[_0x5b8c4d(0x6f0)])(_0x5b8c4d(0x21c),{'ref':_0x3fe361,'className':'univer-absolute','data-u-comp':_0x5b8c4d(0x2d3),'style':_0x3aa055,'data-editorid':_0x1eeb58}),(_0x4774ca==null?void 0x0:_0x4774ca[_0x5b8c4d(0x471)])&&_0x2db650&&(0x0,r[_0x5b8c4d(0x6f0)])(_0x5b8c4d(0x21c),{'aria-hidden':_0x5b8c4d(0x4a1),'className':_0x5b8c4d(0x25f),'data-u-comp':'shape-text-editor-placeholder','style':{..._0x1a5580,'fontSize':_0x47e9f3==null?0xe:_0x47e9f3,'lineHeight':1.5},'children':_0x1db622})]});};function kn(_0x212efa,_0x469e66){const _0x4ed79f=_0x56c0cf;return Math[_0x4ed79f(0x57a)](_0x212efa-_0x469e66)<=0.001;}function An(_0x2cb1df,_0x551e99){const _0x3dcc46=_0x56c0cf;return kn(_0x2cb1df[_0x3dcc46(0x3fb)],_0x551e99[_0x3dcc46(0x3fb)])&&kn(_0x2cb1df['top'],_0x551e99['top'])&&kn(_0x2cb1df[_0x3dcc46(0x57e)],_0x551e99[_0x3dcc46(0x57e)])&&kn(_0x2cb1df[_0x3dcc46(0x480)],_0x551e99[_0x3dcc46(0x480)])&&kn(_0x2cb1df[_0x3dcc46(0x572)],_0x551e99['angle'])&&kn(_0x2cb1df[_0x3dcc46(0x3c2)],_0x551e99[_0x3dcc46(0x3c2)])&&kn(_0x2cb1df['scaleY'],_0x551e99[_0x3dcc46(0x466)]);}function jn(_0x38d95e,_0x428fa6){const _0x5c6147=_0x56c0cf;return _0x428fa6?{..._0x38d95e,'left':_0x38d95e[_0x5c6147(0x3fb)]+_0x428fa6[_0x5c6147(0x3fb)],'top':_0x38d95e[_0x5c6147(0x2ac)]+_0x428fa6['top']}:_0x38d95e;}const Mn={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Nn(_0x5088bf,_0x2be6e9,_0x56c31b,_0x5b05e6,_0x3a83fb){const _0x4f1b94=_0x56c0cf;let {scaleX:_0x4f4eb3,scaleY:_0x17e274}=_0x56c31b[_0x4f1b94(0x576)](),{startColumn:_0x467751,startRow:_0x409928,xSplit:_0x340819,ySplit:_0x251fc3}=_0x5b05e6[_0x4f1b94(0x21a)]['getFreeze'](),_0x4ba22b=_0x56c31b[_0x4f1b94(0x51f)](_0x3a83fb['main']),_0x47b643=_0x56c31b[_0x4f1b94(0x51f)](_0x3a83fb[_0x4f1b94(0x31c)]),_0x1d449b=_0x56c31b['getViewport'](_0x3a83fb[_0x4f1b94(0x2ac)]),_0x16eda8=_0x56c31b['getViewport'](_0x3a83fb[_0x4f1b94(0x3fb)]),{rowHeaderWidth:_0x31b093,columnHeaderHeight:_0x5e08a5}=_0x5b05e6,_0x2841ae=_0x5b05e6[_0x4f1b94(0x703)](_0x409928)+_0x5e08a5,_0x21e4c1=_0x5b05e6[_0x4f1b94(0x299)](_0x467751)+_0x31b093,_0x18c40c=_0x5b05e6[_0x4f1b94(0x703)](_0x409928-_0x251fc3)+_0x5e08a5,_0x547e7e=_0x5b05e6[_0x4f1b94(0x299)](_0x467751-_0x340819)+_0x31b093,_0x974f90=[],_0x50730d=(_0x38a78f,_0x5e6987,_0x29871e)=>{if(!_0x38a78f)return null;let {viewportScrollX:_0x19bd8f,viewportScrollY:_0x1c8220}=_0x38a78f,_0x577749,_0x543d3c;return _0x577749=_0x5e6987?(_0x5088bf-(_0x547e7e-_0x31b093))*_0x4f4eb3:(_0x5088bf-_0x19bd8f)*_0x4f4eb3,_0x543d3c=_0x29871e?(_0x2be6e9-(_0x18c40c-_0x5e08a5))*_0x17e274:(_0x2be6e9-_0x1c8220)*_0x17e274,{'domX':_0x577749,'domY':_0x543d3c};},_0x5f4477=_0x5088bf<_0x21e4c1&&_0x340819>0x0,_0x2ffa9a=_0x2be6e9<_0x2841ae&&_0x251fc3>0x0,_0x4a2c0e=_0x5088bf>=_0x21e4c1||_0x340819===0x0,_0x36cfc6=_0x2be6e9>=_0x2841ae||_0x251fc3===0x0;if(_0x5f4477&&_0x2ffa9a&&_0x47b643){let _0x17c70e=_0x50730d(_0x47b643,!0x0,!0x0);_0x17c70e&&_0x974f90[_0x4f1b94(0x553)](_0x17c70e);}if(_0x2ffa9a&&_0x4a2c0e&&_0x1d449b){let _0x3d3d09=_0x50730d(_0x1d449b,!0x1,!0x0);_0x3d3d09&&_0x974f90['push'](_0x3d3d09);}if(_0x5f4477&&_0x36cfc6&&_0x16eda8){let _0x12f230=_0x50730d(_0x16eda8,!0x0,!0x1);_0x12f230&&_0x974f90[_0x4f1b94(0x553)](_0x12f230);}if(_0x4a2c0e&&_0x36cfc6&&_0x4ba22b){let _0x17bb9a=_0x50730d(_0x4ba22b,!0x1,!0x1);_0x17bb9a&&_0x974f90[_0x4f1b94(0x553)](_0x17bb9a);}if(_0x974f90['length']===0x0){var _0x382073,_0x1334e8;return{'domX':(_0x5088bf-((_0x382073=_0x4ba22b==null?void 0x0:_0x4ba22b[_0x4f1b94(0x249)])==null?0x0:_0x382073))*_0x4f4eb3,'domY':(_0x2be6e9-((_0x1334e8=_0x4ba22b==null?void 0x0:_0x4ba22b['viewportScrollY'])==null?0x0:_0x1334e8))*_0x17e274};}let _0x1b74e8=_0x974f90[0x0][_0x4f1b94(0x524)],_0x456955=_0x974f90[0x0][_0x4f1b94(0x243)];for(let _0x46f215 of _0x974f90)_0x46f215[_0x4f1b94(0x524)]>_0x1b74e8&&(_0x1b74e8=_0x46f215[_0x4f1b94(0x524)]),_0x46f215[_0x4f1b94(0x243)]>_0x456955&&(_0x456955=_0x46f215['domY']);return{'domX':_0x1b74e8,'domY':_0x456955};}function Pn(_0x1e939d,_0x216bd1,_0x48b5b3,_0xe04c28,_0x42b9b9,_0x534484,_0x3036f8,_0xf1d905){const _0x5cdd86=_0x56c0cf;let {scaleX:_0x1a221c,scaleY:_0x4253dd}=_0x534484['getAncestorScale']();if(!_0xf1d905||!_0x3036f8[_0x5cdd86(0x31c)]||!_0x3036f8[_0x5cdd86(0x2ac)]||!_0x3036f8[_0x5cdd86(0x3fb)]){var _0x2b355f,_0xa99f6;let _0x4e3a9a=_0x534484['getViewport'](_0x3036f8[_0x5cdd86(0x28c)]),_0xe126e6=(_0x2b355f=_0x4e3a9a==null?void 0x0:_0x4e3a9a['viewportScrollX'])==null?0x0:_0x2b355f,_0x2ddfc9=(_0xa99f6=_0x4e3a9a==null?void 0x0:_0x4e3a9a[_0x5cdd86(0x542)])==null?0x0:_0xa99f6;return{'left':(_0x1e939d-_0xe126e6)*_0x1a221c,'top':(_0x216bd1-_0x2ddfc9)*_0x4253dd,'width':_0x48b5b3*_0x1a221c,'height':_0xe04c28*_0x4253dd,'angle':_0x42b9b9,'scaleX':_0x1a221c,'scaleY':_0x4253dd};}let {domX:_0x427dba,domY:_0x131478}=Nn(_0x1e939d,_0x216bd1,_0x534484,_0xf1d905,_0x3036f8);return{'left':_0x427dba,'top':_0x131478,'width':_0x48b5b3*_0x1a221c,'height':_0xe04c28*_0x4253dd,'angle':_0x42b9b9,'scaleX':_0x1a221c,'scaleY':_0x4253dd};}function Fn(_0x93d746){const _0x33aa13=_0x56c0cf;let {editingParams:_0x5d0376,scene:_0xf61b2a,skeleton:_0x3e3360,viewportKeys:_0x3c020b,getShapeTransform:_0x2e7252,getPositionOffset:_0x2aede9}=_0x93d746,[_0x3226a4,_0x1e9b5c]=(0x0,n[_0x33aa13(0x1c0)])(Mn),_0x12849c=(0x0,n['useRef'])(_0x3226a4);_0x12849c[_0x33aa13(0x21b)]=_0x3226a4;let _0xfebce0=(0x0,n[_0x33aa13(0x4bf)])(()=>{const _0x2041d7=_0x33aa13;var _0x1148de;if(!_0x5d0376||!_0xf61b2a){An(_0x12849c[_0x2041d7(0x21b)],Mn)||_0x1e9b5c(Mn);return;}let _0xd08cb1=_0x2e7252();if(!_0xd08cb1){An(_0x12849c[_0x2041d7(0x21b)],Mn)||_0x1e9b5c(Mn);return;}let {left:_0x33aba5,top:_0x5a0c8f,width:_0x5cbb01,height:_0x4c43d4,angle:_0x178f27}=_0xd08cb1;if(!_0x5d0376[_0x2041d7(0x471)]){let {scaleX:_0x14a468,scaleY:_0x3ebfc1}=_0xf61b2a['getAncestorScale'](),_0x50c65c={'left':-0x270f,'top':-0x270f,'width':_0x5cbb01*_0x14a468,'height':_0x4c43d4*_0x3ebfc1,'angle':0x0,'scaleX':_0x14a468,'scaleY':_0x3ebfc1};_0x1e9b5c(_0x1307a4=>An(_0x1307a4,_0x50c65c)?_0x1307a4:_0x50c65c);return;}let _0x3fa312=jn(Pn(_0x33aba5,_0x5a0c8f,_0x5cbb01,_0x4c43d4,_0x178f27,_0xf61b2a,_0x3c020b,_0x3e3360),(_0x1148de=_0x2aede9==null?void 0x0:_0x2aede9())==null?null:_0x1148de);_0x1e9b5c(_0x532e7f=>An(_0x532e7f,_0x3fa312)?_0x532e7f:_0x3fa312);},[_0x5d0376,_0xf61b2a,_0x3e3360,_0x3c020b,_0x2e7252,_0x2aede9]);return(0x0,n[_0x33aa13(0x69d)])(()=>{_0xfebce0();},[_0x5d0376,_0xfebce0]),{'position':_0x3226a4,'updatePosition':_0xfebce0};}function In(_0xbb4e1,_0x4393be){const _0x2d84f0=_0x56c0cf;return!!(_0xbb4e1!=null&&_0xbb4e1[_0x2d84f0(0x471)])&&!(_0x4393be[_0x2d84f0(0x3fb)]===-0x270f&&_0x4393be[_0x2d84f0(0x2ac)]===-0x270f);}function Ln(_0x4a1f27){const _0x2fa9ac=_0x56c0cf;if(!_0x4a1f27||typeof _0x4a1f27!='object')return!0x1;let _0x581e9a=_0x4a1f27;return typeof _0x581e9a[_0x2fa9ac(0x3fb)]==_0x2fa9ac(0x1fe)&&typeof _0x581e9a['top']=='number'&&typeof _0x581e9a[_0x2fa9ac(0x57e)]==_0x2fa9ac(0x1fe)&&typeof _0x581e9a[_0x2fa9ac(0x480)]==_0x2fa9ac(0x1fe);}function Rn(_0x594d7a,_0x3a1449){const _0x4021a7=_0x56c0cf;var _0x5ef8b6,_0x5b26dc;let _0x2aad38=(_0x5ef8b6=_0x594d7a[_0x4021a7(0x41d)](_0x3a1449))==null?(_0x5b26dc=_0x594d7a[_0x4021a7(0x686)])==null?void 0x0:_0x5b26dc[_0x4021a7(0x35d)](_0x594d7a,_0x3a1449):_0x5ef8b6;return Ln(_0x2aad38)?_0x2aad38:null;}function zn(_0x29bcd1,_0x460b57){const _0x67f200=_0x56c0cf;return _0x29bcd1[_0x67f200(0x678)]>=_0x460b57['left']&&_0x29bcd1[_0x67f200(0x678)]<=_0x460b57[_0x67f200(0x218)]&&_0x29bcd1[_0x67f200(0x317)]>=_0x460b57['top']&&_0x29bcd1[_0x67f200(0x317)]<=_0x460b57[_0x67f200(0x4b8)];}function Bn(_0x58a967,_0x13e608){const _0x430c06=_0x56c0cf;if(!(_0x58a967 instanceof Node))return!0x1;let _0x54694a=_0x13e608==null?void 0x0:_0x13e608['querySelector'](_0x430c06(0x54e));return!!(_0x54694a!=null&&_0x54694a[_0x430c06(0x201)](_0x58a967));}function Vn(_0x1f678e){const _0x42b7ab=_0x56c0cf;let _0x535869=_0x1f678e[_0x42b7ab(0x637)],_0x3cebd4={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x535869[_0x42b7ab(0x325)],'screenX':_0x535869[_0x42b7ab(0x444)],'screenY':_0x535869['screenY'],'clientX':_0x535869[_0x42b7ab(0x678)],'clientY':_0x535869[_0x42b7ab(0x317)],'ctrlKey':_0x535869['ctrlKey'],'shiftKey':_0x535869[_0x42b7ab(0x4fc)],'altKey':_0x535869[_0x42b7ab(0x50d)],'metaKey':_0x535869['metaKey'],'button':_0x535869['button'],'buttons':_0x535869[_0x42b7ab(0x36a)],'relatedTarget':_0x535869['relatedTarget']};return typeof PointerEvent<'u'&&_0x535869 instanceof PointerEvent?new PointerEvent(_0x535869[_0x42b7ab(0x4be)],{..._0x3cebd4,'pointerId':_0x535869[_0x42b7ab(0x1f6)],'width':_0x535869[_0x42b7ab(0x57e)],'height':_0x535869[_0x42b7ab(0x480)],'pressure':_0x535869[_0x42b7ab(0x1c6)],'tangentialPressure':_0x535869[_0x42b7ab(0x682)],'tiltX':_0x535869[_0x42b7ab(0x6d1)],'tiltY':_0x535869['tiltY'],'twist':_0x535869[_0x42b7ab(0x51b)],'pointerType':_0x535869['pointerType'],'isPrimary':_0x535869[_0x42b7ab(0x50e)]}):new MouseEvent(_0x535869[_0x42b7ab(0x4be)],_0x3cebd4);}function Hn(_0x2f521c){const _0x18f4ff=_0x56c0cf;let _0x13fd43=_0x2f521c[_0x18f4ff(0x54c)]['pointerEvents'],_0x1c9449=!0x1,_0x2cca7d=null,_0xabdc1d=()=>{const _0x2ec215=_0x18f4ff;_0x1c9449||(_0x1c9449=!0x0,_0x2f521c[_0x2ec215(0x54c)][_0x2ec215(0x3e0)]=_0x13fd43,document[_0x2ec215(0x679)]('pointerup',_0xabdc1d,!0x0),document['removeEventListener'](_0x2ec215(0x36b),_0xabdc1d,!0x0),document[_0x2ec215(0x679)](_0x2ec215(0x4c4),_0xabdc1d,!0x0),document[_0x2ec215(0x679)](_0x2ec215(0x36d),_0xabdc1d,!0x0),_0x2cca7d!==null&&window[_0x2ec215(0x509)](_0x2cca7d));};return _0x2f521c[_0x18f4ff(0x54c)][_0x18f4ff(0x3e0)]='none',document['addEventListener'](_0x18f4ff(0x5f6),_0xabdc1d,!0x0),document[_0x18f4ff(0x2ec)]('pointercancel',_0xabdc1d,!0x0),document[_0x18f4ff(0x2ec)](_0x18f4ff(0x4c4),_0xabdc1d,!0x0),document[_0x18f4ff(0x2ec)]('click',_0xabdc1d,!0x0),_0x2cca7d=window[_0x18f4ff(0x445)](_0xabdc1d,0x3e8),_0xabdc1d;}function Un(_0x3115dc,_0x145d38){const _0x496c8a=_0x56c0cf;let _0x419bcd=Hn(_0x145d38),_0x56156b=document[_0x496c8a(0x641)](_0x3115dc[_0x496c8a(0x678)],_0x3115dc[_0x496c8a(0x317)]);return!_0x56156b||_0x56156b===_0x145d38||_0x145d38['contains'](_0x56156b)?(_0x419bcd(),!0x1):(_0x3115dc[_0x496c8a(0x34f)](),_0x3115dc[_0x496c8a(0x60b)](),_0x56156b[_0x496c8a(0x4b1)](Vn(_0x3115dc)),!0x0);}function Wn(_0x27ef88){const _0x6a0cdd=_0x56c0cf;var _0x1ee442;let {editingParams:_0x118484,positionOptions:_0x5bde2f,renderUnit:_0x4d15ea,scene:_0x49dfdc}=_0x27ef88;if(!_0x118484)return null;let _0x3e52cb=_0x4d15ea?(_0x1ee442=_0x5bde2f[_0x6a0cdd(0x1dd)])==null?void 0x0:_0x1ee442[_0x6a0cdd(0x35d)](_0x5bde2f,_0x4d15ea,_0x118484):null;if(Ln(_0x3e52cb)){var _0x5f56fd;return{'left':_0x3e52cb['left'],'top':_0x3e52cb['top'],'width':_0x3e52cb[_0x6a0cdd(0x57e)],'height':_0x3e52cb[_0x6a0cdd(0x480)],'angle':(_0x5f56fd=_0x3e52cb['angle'])==null?0x0:_0x5f56fd};}return _0x49dfdc?Rn(_0x49dfdc,_0x118484[_0x6a0cdd(0x465)]):null;}const Gn=(0x0,n[_0x56c0cf(0x621)])(_0x4d2771=>{const _0x1a7a83=_0x56c0cf;let {children:_0x394fda,editingParams:_0x299824,positionOptions:_0x73eb6d,onPositionUpdate:_0xca1a4a}=_0x4d2771,_0x31f45f=(0x0,n[_0x1a7a83(0x2c5)])(null),_0x348206=(0x0,a['useDependency'])(c[_0x1a7a83(0x4f8)]),_0x592831=(0x0,n[_0x1a7a83(0x42e)])(()=>_0x299824?_0x348206[_0x1a7a83(0x68c)](_0x299824[_0x1a7a83(0x22a)]):null,[_0x299824,_0x348206]),_0x90e30c=(0x0,n[_0x1a7a83(0x42e)])(()=>{const _0x2930e5=_0x1a7a83;var _0xcda8e7;return(_0xcda8e7=_0x592831==null?void 0x0:_0x592831[_0x2930e5(0x5b6)])==null?null:_0xcda8e7;},[_0x592831]),_0x4113e0=(0x0,n[_0x1a7a83(0x42e)])(()=>!_0x299824||!_0x592831||!_0x73eb6d[_0x1a7a83(0x267)]?null:_0x73eb6d[_0x1a7a83(0x267)](_0x592831,_0x299824),[_0x299824,_0x73eb6d,_0x592831]),_0x2c658=(0x0,n[_0x1a7a83(0x4bf)])(()=>{const _0x4ff672=_0x1a7a83;var _0x2cb879;let _0x2999a5=Wn({'editingParams':_0x299824,'positionOptions':_0x73eb6d,'renderUnit':_0x592831,'scene':_0x90e30c});return _0x2999a5?{'left':_0x2999a5[_0x4ff672(0x3fb)],'top':_0x2999a5['top'],'width':_0x2999a5[_0x4ff672(0x57e)],'height':_0x2999a5[_0x4ff672(0x480)],'angle':(_0x2cb879=_0x2999a5[_0x4ff672(0x572)])==null?0x0:_0x2cb879}:null;},[_0x299824,_0x73eb6d,_0x592831,_0x90e30c]),_0x32063b=(0x0,n[_0x1a7a83(0x4bf)])(()=>{const _0x50b96e=_0x1a7a83;var _0x3cd936,_0x118231;return!_0x299824||!_0x592831||(_0x3cd936=(_0x118231=_0x73eb6d['getPositionOffset'])==null?void 0x0:_0x118231[_0x50b96e(0x35d)](_0x73eb6d,_0x592831,_0x299824))==null?null:_0x3cd936;},[_0x299824,_0x73eb6d,_0x592831]),{position:_0x41c117,updatePosition:_0x398fbc}=Fn({'editingParams':_0x299824,'scene':_0x90e30c,'skeleton':_0x4113e0,'viewportKeys':_0x73eb6d[_0x1a7a83(0x5c9)],'getShapeTransform':_0x2c658,'getPositionOffset':_0x32063b}),_0x2db96c=(0x0,n[_0x1a7a83(0x4bf)])(()=>{const _0xf13c23=_0x1a7a83;let _0xf70fa=_0x31f45f[_0xf13c23(0x21b)];_0xf70fa&&(_0xf70fa[_0xf13c23(0x54c)][_0xf13c23(0x3fb)]=_0x41c117[_0xf13c23(0x3fb)]+'px',_0xf70fa['style']['top']=_0x41c117[_0xf13c23(0x2ac)]+'px',_0xf70fa[_0xf13c23(0x54c)][_0xf13c23(0x57e)]=_0x41c117[_0xf13c23(0x57e)]+'px',_0xf70fa[_0xf13c23(0x54c)]['height']=_0x41c117[_0xf13c23(0x480)]+'px');},[_0x41c117]);(0x0,n[_0x1a7a83(0x69d)])(()=>{const _0x1afc43=_0x1a7a83;_0x2db96c(),In(_0x299824,_0x41c117)&&(_0xca1a4a==null||_0xca1a4a({'width':_0x41c117[_0x1afc43(0x57e)],'height':_0x41c117['height'],'scaleX':_0x41c117[_0x1afc43(0x3c2)],'scaleY':_0x41c117[_0x1afc43(0x466)]}));},[_0x299824,_0x41c117,_0x2db96c,_0xca1a4a]),(0x0,n['useEffect'])(()=>{const _0x317e48=_0x1a7a83;if(!_0x90e30c)return;let _0x30f7b5=_0x90e30c[_0x317e48(0x51f)](_0x73eb6d[_0x317e48(0x5c9)][_0x317e48(0x28c)]);if(!_0x30f7b5)return;let _0x4b8041=_0x30f7b5[_0x317e48(0x4df)][_0x317e48(0x4c2)](()=>{_0x398fbc();});return()=>{const _0x302ead=_0x317e48;_0x4b8041[_0x302ead(0x231)]();};},[_0x73eb6d[_0x1a7a83(0x5c9)][_0x1a7a83(0x28c)],_0x90e30c,_0x398fbc]),(0x0,n[_0x1a7a83(0x69d)])(()=>{const _0x51a221=_0x1a7a83;var _0x23d45f,_0x5bf723;let _0x3c2c85=_0x592831==null||(_0x23d45f=_0x592831[_0x51a221(0x4f6)])==null||(_0x23d45f=_0x23d45f[_0x51a221(0x62e)])==null?void 0x0:_0x23d45f[_0x51a221(0x4c2)](()=>{_0x398fbc();}),_0x5156ac=_0x90e30c==null||(_0x5bf723=_0x90e30c[_0x51a221(0x62e)])==null?void 0x0:_0x5bf723[_0x51a221(0x4c2)](()=>{_0x398fbc();});return()=>{const _0x32776b=_0x51a221;_0x3c2c85==null||_0x3c2c85[_0x32776b(0x231)](),_0x5156ac==null||_0x5156ac[_0x32776b(0x231)]();};},[_0x592831,_0x90e30c,_0x398fbc]),(0x0,n['useEffect'])(()=>{const _0x441c89=_0x1a7a83;if(!_0x299824||!_0x90e30c)return;let _0x5f467a=Rn(_0x90e30c,_0x299824['shapeKey']);if(_0x5f467a!=null&&_0x5f467a[_0x441c89(0x62e)]){let _0x1ebf77=_0x5f467a[_0x441c89(0x62e)][_0x441c89(0x4c2)](()=>{_0x398fbc();});return()=>{_0x1ebf77['unsubscribe']();};}},[_0x299824,_0x90e30c,_0x398fbc]);let _0x291bcb=(0x0,n['useMemo'])(()=>({'left':_0x41c117[_0x1a7a83(0x3fb)],'top':_0x41c117[_0x1a7a83(0x2ac)],'width':_0x41c117[_0x1a7a83(0x57e)],'height':_0x41c117[_0x1a7a83(0x480)],'pointerEvents':_0x299824!=null&&_0x299824[_0x1a7a83(0x471)]?_0x1a7a83(0x4a3):_0x1a7a83(0x3b5)}),[_0x41c117,_0x299824==null?void 0x0:_0x299824[_0x1a7a83(0x471)]]),_0x579433=(0x0,n['useCallback'])(_0x4bd399=>{const _0x4b2d61=_0x1a7a83;let _0x3ef223=_0x31f45f[_0x4b2d61(0x21b)];if(!_0x3ef223||!(_0x299824!=null&&_0x299824['visible']))return;let _0x892bb1=_0x4bd399[_0x4b2d61(0x207)];!(_0x892bb1 instanceof Node)||!_0x3ef223['contains'](_0x892bb1)||Bn(_0x892bb1,_0x3ef223)||zn(_0x4bd399['nativeEvent'],_0x3ef223[_0x4b2d61(0x518)]())||Un(_0x4bd399,_0x3ef223);},[_0x299824==null?void 0x0:_0x299824[_0x1a7a83(0x471)]]);return(0x0,r[_0x1a7a83(0x6f0)])('div',{'ref':_0x31f45f,'data-u-comp':_0x1a7a83(0x225),'className':'univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','style':_0x291bcb,'onPointerDownCapture':_0x579433,'onMouseDownCapture':_0x579433,'onClickCapture':_0x579433,'children':_0x394fda});});function Kn(_0x41309b,_0x2e865f){const _0x18d44c=_0x56c0cf;return Math[_0x18d44c(0x57a)](_0x41309b['width']-_0x2e865f[_0x18d44c(0x57e)])<=0.001&&Math['abs'](_0x41309b[_0x18d44c(0x480)]-_0x2e865f[_0x18d44c(0x480)])<=0.001&&Math[_0x18d44c(0x57a)](_0x41309b[_0x18d44c(0x3c2)]-_0x2e865f['scaleX'])<=0.001&&Math['abs'](_0x41309b[_0x18d44c(0x466)]-_0x2e865f[_0x18d44c(0x466)])<=0.001;}const qn=(0x0,n[_0x56c0cf(0x621)])(_0x1c44cf=>{const _0x26c0b3=_0x56c0cf;let {adapter:_0x271946,editorUnitId:_0x84a575,editingService:_0x42ff5a,positionOptions:_0x2c6761,verticalAlignCommandId:_0x4e2ca5}=_0x1c44cf,_0x6f7206=(0x0,a[_0x26c0b3(0x430)])(_0x42ff5a['editingParams$']),_0x2fead7=(0x0,a[_0x26c0b3(0x430)])(_0x42ff5a[_0x26c0b3(0x68e)]),_0xd47539=Qt({'editorUnitId':_0x84a575,'editingParams':_0x6f7206}),_0x53fb78=(0x0,n[_0x26c0b3(0x2c5)])(!0x1),_0x289372=(0x0,n[_0x26c0b3(0x2c5)])(0x0),_0x4fe3e9=(_0x6f7206==null?void 0x0:_0x6f7206[_0x26c0b3(0x471)])===!0x0;_0x4fe3e9&&!_0x53fb78[_0x26c0b3(0x21b)]&&(_0x289372[_0x26c0b3(0x21b)]+=0x1),_0x53fb78['current']=_0x4fe3e9;let _0x557a54=_0xd47539?_0xd47539+'|'+_0x289372[_0x26c0b3(0x21b)]:null,[_0x5f2486,_0x93d828]=(0x0,n[_0x26c0b3(0x1c0)])(null),_0x3ae4c4=(0x0,n[_0x26c0b3(0x4bf)])(_0x479c90=>{const _0x244b7f=_0x26c0b3;if(!_0x557a54)return;let _0x756832={'width':_0x479c90['width'],'height':_0x479c90[_0x244b7f(0x480)],'scaleX':_0x479c90[_0x244b7f(0x3c2)],'scaleY':_0x479c90['scaleY']};_0x93d828(_0x7bc24e=>(_0x7bc24e==null?void 0x0:_0x7bc24e['sessionKey'])===_0x557a54&&Kn(_0x7bc24e[_0x244b7f(0x53c)],_0x756832)?_0x7bc24e:{'sessionKey':_0x557a54,'size':_0x756832});},[_0x557a54]);if(!_0x6f7206||!_0x6f7206[_0x26c0b3(0x471)]&&!_0x2fead7)return null;let _0x4a77a7=(_0x5f2486==null?void 0x0:_0x5f2486['sessionKey'])===_0x557a54?_0x5f2486[_0x26c0b3(0x53c)]:null;return(0x0,r[_0x26c0b3(0x6f0)])(Gn,{'editingParams':_0x6f7206,'positionOptions':_0x2c6761,'onPositionUpdate':_0x3ae4c4,'children':_0x4a77a7?(0x0,r[_0x26c0b3(0x6f0)])(On,{'adapter':_0x271946,'containerWidth':_0x4a77a7['width'],'containerHeight':_0x4a77a7[_0x26c0b3(0x480)],'editingParams':_0x6f7206,'editingService':_0x42ff5a,'editorUnitId':_0x84a575,'scaleX':_0x4a77a7[_0x26c0b3(0x3c2)],'scaleY':_0x4a77a7[_0x26c0b3(0x466)],'verticalAlignCommandId':_0x4e2ca5}):null},_0x557a54);}),Jn=a[_0x56c0cf(0x5c2)]['map'](_0x27df8e=>({'label':_0x27df8e[_0x56c0cf(0x68f)],'value':String(_0x27df8e[_0x56c0cf(0x202)])})),Yn=[u['SetInlineFormatTextFillCommand']['id'],u[_0x56c0cf(0x4e3)]['id'],u[_0x56c0cf(0x3ef)]['id'],u[_0x56c0cf(0x5aa)]['id'],u[_0x56c0cf(0x41f)]['id'],u[_0x56c0cf(0x6b9)]['id'],u['SetInlineFormatItalicCommand']['id'],u[_0x56c0cf(0x375)]['id'],u[_0x56c0cf(0x64a)]['id'],u[_0x56c0cf(0x563)]['id'],u[_0x56c0cf(0x257)]['id'],l['RichTextEditingMutation']['id'],l[_0x56c0cf(0x3d0)]['id']],Xn={'root':_0x56c0cf(0x503),'group':_0x56c0cf(0x419),'divider':'\x0a\x20\x20\x20\x20\x20\x20univer-h-4\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20','button':_0x56c0cf(0x6c8),'select':_0x56c0cf(0x323)};function Zn(_0x1c329c){const _0x13b628=_0x56c0cf;return _0x1c329c instanceof HTMLElement?!!_0x1c329c[_0x13b628(0x584)](_0x13b628(0x50f)):!0x1;}function Qn(_0x24d295){const _0x4855c2=_0x56c0cf;return!!(_0x24d295&&typeof _0x24d295==_0x4855c2(0x6ec)&&_0x24d295['s']===i[_0x4855c2(0x32b)][_0x4855c2(0x657)]);}function $n(_0x1a32b9){const _0x3a27c9=_0x56c0cf;return(0x0,r[_0x3a27c9(0x6f0)])(_0x3a27c9(0x21c),{'className':Xn[_0x3a27c9(0x483)],'children':_0x1a32b9[_0x3a27c9(0x392)]});}function er(){const _0x4392ed=_0x56c0cf;return(0x0,r['jsx'])(_0x4392ed(0x6c6),{'className':Xn['divider']});}function tr(_0x2f9bfd){const _0xae8496=_0x56c0cf;return(0x0,r[_0xae8496(0x6f0)])(e[_0xae8496(0x481)],{'title':(0x0,a[_0xae8496(0x4ea)])(i[_0xae8496(0x5ad)])['t'](_0x2f9bfd[_0xae8496(0x3a9)]),'placement':_0xae8496(0x4b8),'children':(0x0,r[_0xae8496(0x6f0)])(_0xae8496(0x324),{'type':'button','className':(0x0,e[_0xae8496(0x4e6)])(Xn[_0xae8496(0x324)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x2f9bfd[_0xae8496(0x522)]}),'onClick':_0x2f9bfd['onClick'],'children':_0x2f9bfd[_0xae8496(0x392)]})});}function nr(){const _0x5e2c82=_0x56c0cf;var _0x2ef7e0,_0x25178d,_0x48d1d9,_0x272f73,_0x4377ae,_0x4dcdbc;let _0x34c248=(0x0,a['useDependency'])(i[_0x5e2c82(0x6da)]),_0x14d9a0=(0x0,a['useDependency'])(l[_0x5e2c82(0x27f)]),_0x1588d3=(0x0,a[_0x5e2c82(0x4ea)])(i[_0x5e2c82(0x2ba)]),[_0x4feabc,_0x704b29]=(0x0,n[_0x5e2c82(0x1c0)])({'cl':{'rgb':Z}});(0x0,n[_0x5e2c82(0x69d)])(()=>{const _0x3dbcd9=_0x5e2c82;let _0x57d471=()=>{const _0x196a71=_0x4435;var _0x1b1c08,_0x2407c9,_0x3ba22e,_0x158154,_0x53f5fb,_0xb76b24,_0x410e2d;let _0x10b868=(_0x1b1c08=_0x14d9a0[_0x196a71(0x2e0)]())==null?[]:_0x1b1c08,_0x44273f=_0x10b868[_0x196a71(0x3d5)]>0x0?_0x10b868[_0x196a71(0x3f0)](_0x180d48=>_0x180d48[_0x196a71(0x2a7)]!=null&&_0x180d48[_0x196a71(0x70c)]!=null):_0x14d9a0[_0x196a71(0x2e5)](),_0x315b79=(_0x2407c9=_0x44273f[_0x196a71(0x2cd)](_0x253362=>_0x253362[_0x196a71(0x232)]))==null?_0x44273f[0x0]:_0x2407c9;if(!_0x315b79){_0x704b29({'cl':{'rgb':Z}});return;}let _0x57808d=_0x1588d3['getCurrentUnitOfType'](i[_0x196a71(0x5de)][_0x196a71(0x30a)]);if(!_0x57808d){_0x704b29({'cl':{'rgb':Z}});return;}let _0x17df57=(_0x3ba22e=_0x57808d['getSelfOrHeaderFooterModel'](_0x315b79['segmentId']))==null?void 0x0:_0x3ba22e[_0x196a71(0x2cc)]();if(!_0x17df57){_0x704b29({'cl':{'rgb':Z}});return;}let _0x35e46f=(_0x158154=_0x57808d[_0x196a71(0x52a)]()[_0x196a71(0x413)])==null?void 0x0:_0x158154[_0x196a71(0x692)];_0x704b29((0x0,u[_0x196a71(0x278)])(_0x17df57,_0x315b79,{..._0x35e46f,'ff':(_0x53f5fb=_0x35e46f==null?void 0x0:_0x35e46f['ff'])==null?i[_0x196a71(0x26a)]['ff']:_0x53f5fb,'fs':(_0xb76b24=_0x35e46f==null?void 0x0:_0x35e46f['fs'])==null?i['DEFAULT_STYLES']['fs']:_0xb76b24,'cl':(_0x410e2d=_0x35e46f==null?void 0x0:_0x35e46f['cl'])==null?{'rgb':Z}:_0x410e2d}));};_0x57d471();let _0x265ffb=_0x34c248[_0x3dbcd9(0x704)](_0x3fd114=>{Yn['includes'](_0x3fd114['id'])&&_0x57d471();}),_0x2d62d5=_0x14d9a0[_0x3dbcd9(0x2e3)][_0x3dbcd9(0x290)](_0x57d471);return()=>{const _0x552c17=_0x3dbcd9;_0x265ffb[_0x552c17(0x294)](),_0x2d62d5[_0x552c17(0x231)]();};},[_0x34c248,_0x14d9a0,_0x1588d3]);let _0x1bb5d5=(_0x382be3,_0x266959)=>{const _0x40dfa1=_0x5e2c82;_0x34c248[_0x40dfa1(0x65d)](_0x382be3,_0x266959===void 0x0?void 0x0:{'value':_0x266959});},_0x4834c9=(_0x2ef7e0=_0x4feabc['ff'])==null?i[_0x5e2c82(0x26a)]['ff']:_0x2ef7e0,_0x19aa1c=(_0x25178d=_0x4feabc['fs'])==null?i[_0x5e2c82(0x26a)]['fs']:_0x25178d,_0x35eead=_0x4feabc['bl']===i[_0x5e2c82(0x32b)]['TRUE'],_0xc429e0=_0x4feabc['it']===i[_0x5e2c82(0x32b)]['TRUE'],_0x36c8b3=Qn(_0x4feabc['ul']),_0x3415f9=Qn(_0x4feabc['st']),_0x28f906=_0x4feabc['va']===i[_0x5e2c82(0x1df)][_0x5e2c82(0x2f9)],_0x18f9bf=_0x4feabc['va']===i[_0x5e2c82(0x1df)]['SUPERSCRIPT'],_0x391e6c=(_0x48d1d9=(_0x272f73=_0x4feabc['bg'])==null?void 0x0:_0x272f73[_0x5e2c82(0x6b2)])==null?ge:_0x48d1d9;return(0x0,r['jsxs'])('div',{'onMouseDown':_0x2f64d6=>{const _0xabf59d=_0x5e2c82;_0x2f64d6[_0xabf59d(0x60b)](),Zn(_0x2f64d6[_0xabf59d(0x207)])||_0x2f64d6['preventDefault']();},'className':(0x0,e['clsx'])(Xn[_0x5e2c82(0x5b1)],e[_0x5e2c82(0x6d2)]),'children':[(0x0,r[_0x5e2c82(0x6f0)])($n,{'children':(0x0,r[_0x5e2c82(0x6f0)])(lt,{})}),(0x0,r['jsx'])(er,{}),(0x0,r['jsxs'])($n,{'children':[(0x0,r[_0x5e2c82(0x6f0)])(a[_0x5e2c82(0x237)],{'ariaLabel':'Font\x20family','className':'univer-w-28','inputClassName':_0x5e2c82(0x1f2),'title':_0x4834c9,'value':_0x4834c9,'onChange':_0x48abfb=>_0x1bb5d5(u[_0x5e2c82(0x5aa)]['id'],_0x48abfb),'onMouseDown':_0x45f41d=>{const _0x1f1aa3=_0x5e2c82;_0x45f41d[_0x1f1aa3(0x60b)]();},'onPointerDown':_0x4e0508=>{const _0x2cfd79=_0x5e2c82;_0x4e0508[_0x2cfd79(0x60b)]();}}),(0x0,r[_0x5e2c82(0x6f0)])(e[_0x5e2c82(0x39b)],{'className':(0x0,e['clsx'])(Xn['select'],'univer-w-14'),'value':String(_0x19aa1c),'options':Jn,'onChange':_0x27b301=>{const _0x34e2dc=_0x5e2c82;let _0xb304dd=Number(_0x27b301);Number[_0x34e2dc(0x58c)](_0xb304dd)||_0x1bb5d5(u['SetInlineFormatFontSizeCommand']['id'],_0xb304dd);}})]}),(0x0,r[_0x5e2c82(0x6f0)])(er,{}),(0x0,r[_0x5e2c82(0x372)])($n,{'children':[(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x2c9),'active':_0x35eead,'onClick':()=>_0x1bb5d5(u[_0x5e2c82(0x6b9)]['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t[_0x5e2c82(0x6e6)],{})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x2bf),'active':_0xc429e0,'onClick':()=>_0x1bb5d5(u[_0x5e2c82(0x489)]['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t['ItalicIcon'],{})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x1af),'active':_0x36c8b3,'onClick':()=>_0x1bb5d5(u[_0x5e2c82(0x375)]['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t[_0x5e2c82(0x65b)],{})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x3df),'active':_0x3415f9,'onClick':()=>_0x1bb5d5(u['SetInlineFormatStrikethroughCommand']['id']),'children':(0x0,r[_0x5e2c82(0x6f0)])(t[_0x5e2c82(0x6ea)],{})})]}),(0x0,r['jsx'])(er,{}),(0x0,r[_0x5e2c82(0x372)])($n,{'children':[(0x0,r['jsx'])(tr,{'titleKey':_0x5e2c82(0x200),'active':_0x28f906,'onClick':()=>_0x1bb5d5(u['SetInlineFormatSubscriptCommand']['id']),'children':(0x0,r['jsxs'])('span',{'className':_0x5e2c82(0x625),'children':['X',(0x0,r[_0x5e2c82(0x6f0)])(_0x5e2c82(0x2c6),{'children':'2'})]})}),(0x0,r[_0x5e2c82(0x6f0)])(tr,{'titleKey':_0x5e2c82(0x241),'active':_0x18f9bf,'onClick':()=>_0x1bb5d5(u['SetInlineFormatSuperscriptCommand']['id']),'children':(0x0,r[_0x5e2c82(0x372)])(_0x5e2c82(0x6c6),{'className':_0x5e2c82(0x625),'children':['X',(0x0,r[_0x5e2c82(0x6f0)])(_0x5e2c82(0x40a),{'children':'2'})]})})]}),(0x0,r['jsx'])(er,{}),(0x0,r[_0x5e2c82(0x372)])($n,{'children':[(0x0,r[_0x5e2c82(0x6f0)])(qe,{'titleKey':_0x5e2c82(0x240),'textStyle':_0x4feabc,'fallbackColor':(_0x4377ae=(_0x4dcdbc=_0x4feabc['cl'])==null?void 0x0:_0x4dcdbc[_0x5e2c82(0x6b2)])==null?Z:_0x4377ae,'onChange':_0x87f1a1=>{const _0x2b74ee=_0x5e2c82;_0x34c248[_0x2b74ee(0x65d)](u['SetInlineFormatTextFillCommand']['id'],{'value':_0x87f1a1}),_0x704b29(_0x4a9a6a=>({..._0x4a9a6a,..._0x87f1a1}));}}),(0x0,r[_0x5e2c82(0x6f0)])(Je,{'titleKey':_0x5e2c82(0x3ff),'color':_0x391e6c,'onApply':()=>_0x1bb5d5(u['SetInlineFormatTextBackgroundColorCommand']['id'],_0x391e6c),'onReset':()=>{const _0x5064e0=_0x5e2c82;_0x34c248[_0x5064e0(0x65d)](u['ResetInlineFormatTextBackgroundColorCommand']['id']),_0x704b29(_0x37f67e=>({..._0x37f67e,'bg':{'rgb':null}}));},'onChange':_0xf8aad8=>{const _0xff6124=_0x5e2c82;_0x1bb5d5(u[_0xff6124(0x4e3)]['id'],_0xf8aad8),_0x704b29(_0x30c9ba=>({..._0x30c9ba,'bg':{'rgb':_0xf8aad8}}));}})]})]});}exports[_0x56c0cf(0x525)]=lt,exports[_0x56c0cf(0x602)]=p,exports[_0x56c0cf(0x48d)]=k,exports[_0x56c0cf(0x613)]=X,exports[_0x56c0cf(0x537)]=ge,exports[_0x56c0cf(0x64e)]=Z,exports['SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']=0x10,exports[_0x56c0cf(0x4d0)]=ct,exports[_0x56c0cf(0x409)]=0x10,exports[_0x56c0cf(0x20e)]=L,exports['ShapeFillButton']=Ve,exports[_0x56c0cf(0x29c)]=M,exports['ShapeFloatingToolbar']=tt,exports[_0x56c0cf(0x64b)]=Ce,exports[_0x56c0cf(0x29a)]=Te,exports[_0x56c0cf(0x449)]=Ee,exports[_0x56c0cf(0x2b2)]=xe,exports['ShapeFloatingToolbarMenuItem']=Ze,exports['ShapeFloatingToolbarMenuPanel']=Xe,exports['ShapeGroupEnum']=nt,exports[_0x56c0cf(0x321)]=A,exports[_0x56c0cf(0x4cc)]=I,exports[_0x56c0cf(0x5da)]=st,exports[_0x56c0cf(0x619)]=ot,exports[_0x56c0cf(0x5f9)]=Fe,exports['ShapeStrokePanelContent']=Pe,exports['ShapeTextEditorContainer']=qn,exports['ShapeTextFloatMenuRenderControllerBase']=Et,exports[_0x56c0cf(0x1ac)]=nr,exports[_0x56c0cf(0x2d5)]=qe,exports[_0x56c0cf(0x3b6)]=Ye,Object[_0x56c0cf(0x1a6)](exports,_0x56c0cf(0x2a5),{'enumerable':!0x0,'get':function(){return T;}}),exports[_0x56c0cf(0x46e)]=D,exports['buildShapeTextDataUpdate']=me,exports[_0x56c0cf(0x1f5)]=O,exports['createShapeTextBoxShapeData']=gt,exports[_0x56c0cf(0x30d)]=Vt,exports[_0x56c0cf(0x253)]=j,exports['getShapeTextOpticalVerticalOffset']=Pt,exports[_0x56c0cf(0x631)]=Bt,exports[_0x56c0cf(0x2e1)]=Ot,exports[_0x56c0cf(0x65e)]=K,exports[_0x56c0cf(0x3e2)]=V,exports[_0x56c0cf(0x49a)]=ce,exports[_0x56c0cf(0x408)]=Wt,exports['resolveShapeTextDocumentAlignment']=re,exports[_0x56c0cf(0x5e0)]=W,exports[_0x56c0cf(0x59b)]=Mt,exports[_0x56c0cf(0x5bf)]=_t,exports[_0x56c0cf(0x1c3)]=Ct,exports[_0x56c0cf(0x495)]=en,exports[_0x56c0cf(0x4d9)]=bt,exports['resolveShapeTextNoWrapLayout']=zt,exports[_0x56c0cf(0x45a)]=jt,exports['shapeTypeOptions']=rt,exports['shouldAllowShapeTextEditorHostSizeShrink']=wt,exports[_0x56c0cf(0x316)]=St,exports[_0x56c0cf(0x31d)]=xt,exports[_0x56c0cf(0x344)]=le,exports[_0x56c0cf(0x66d)]=q;
|
|
1
|
+
const _0x5297e7=_0x51e3;(function(_0x15a7b2,_0x3ccb21){const _0x1ba0f7=_0x51e3,_0x1139c0=_0x15a7b2();while(!![]){try{const _0x5ec36d=-parseInt(_0x1ba0f7(0x565))/0x1*(parseInt(_0x1ba0f7(0x66a))/0x2)+-parseInt(_0x1ba0f7(0x647))/0x3+-parseInt(_0x1ba0f7(0x444))/0x4*(-parseInt(_0x1ba0f7(0x252))/0x5)+-parseInt(_0x1ba0f7(0x29c))/0x6*(parseInt(_0x1ba0f7(0x35f))/0x7)+parseInt(_0x1ba0f7(0x606))/0x8+parseInt(_0x1ba0f7(0x301))/0x9*(parseInt(_0x1ba0f7(0x549))/0xa)+-parseInt(_0x1ba0f7(0x5cd))/0xb*(-parseInt(_0x1ba0f7(0x2e8))/0xc);if(_0x5ec36d===_0x3ccb21)break;else _0x1139c0['push'](_0x1139c0['shift']());}catch(_0x1528c2){_0x1139c0['push'](_0x1139c0['shift']());}}}(_0x5ae5,0x465b4),Object[_0x5297e7(0x566)](exports,Symbol[_0x5297e7(0x59a)],{'value':_0x5297e7(0x14e)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs/core'),a=require('@univerjs/ui'),o=require('@univerjs/drawing'),s=require('@univerjs-pro/engine-shape'),c=require('@univerjs/engine-render'),l=require('@univerjs/docs'),u=require('@univerjs/docs-ui');const d={'none':_0x5297e7(0x58b),'solid':_0x5297e7(0x2b6),'gradient':'gradient','picture':'picture'},f={'type':_0x5297e7(0x400),'angle':0x0,'stops':[{'color':_0x5297e7(0x2d3),'offset':0x0},{'color':_0x5297e7(0x23d),'offset':0x64}]};function p(_0x3cd4b8){const _0x274251=_0x5297e7;var _0xbc5939,_0x44b5e5,_0x4e9f9b,_0x5c4926,_0x393f31;let {className:_0x1d433e,compact:_0x15a1c1=!0x0,disabled:_0x56f278=!0x1,direction:_0x38b14a,value:_0x39fbea,typeValues:_0x3ede05=d,color:_0x1b39dc=_0x274251(0x2d3),transparency:_0x3a4ea5=0x0,gradientValue:_0x3f6875=f,labels:_0x4d824f,tabLabels:_0x2976f1,noFillEditor:_0x2842e1,pictureFillEditor:_0x1efd22,renderColorIcon:_0x43902a,keepColorPickerOpenOnChange:_0x3efbc6=!0x1,onChange:_0x1ef621,onColorChange:_0x32aa62,onTransparencyChange:_0x14f761,onGradientChange:_0x15cb2d}=_0x3cd4b8,[_0x23a915,_0x5de5f8]=(0x0,n[_0x274251(0x38d)])(!0x1),_0x5a91ea=[{'label':(_0xbc5939=_0x2976f1==null?void 0x0:_0x2976f1[_0x274251(0x3fc)])==null?_0x4d824f['noFill']:_0xbc5939,'value':_0x3ede05[_0x274251(0x58b)]},{'label':(_0x44b5e5=_0x2976f1==null?void 0x0:_0x2976f1[_0x274251(0x1af)])==null?_0x4d824f[_0x274251(0x1af)]:_0x44b5e5,'value':_0x3ede05['solid']},{'label':(_0x4e9f9b=_0x2976f1==null?void 0x0:_0x2976f1[_0x274251(0x336)])==null?_0x4d824f[_0x274251(0x336)]:_0x4e9f9b,'value':_0x3ede05[_0x274251(0x213)]},{'label':(_0x5c4926=_0x2976f1==null?void 0x0:_0x2976f1[_0x274251(0x5b7)])==null?_0x4d824f[_0x274251(0x5b7)]:_0x5c4926,'value':_0x3ede05[_0x274251(0x5cf)]}];return(0x0,r[_0x274251(0x2eb)])('div',{'dir':_0x38b14a,'className':(0x0,e[_0x274251(0x461)])(_0x274251(0x5ff),_0x15a1c1?_0x274251(0x1eb):'univer-gap-4',_0x1d433e),'children':[(0x0,r['jsx'])(e[_0x274251(0x591)],{'className':(0x0,e[_0x274251(0x461)])(_0x274251(0x62c),_0x15a1c1&&_0x274251(0x294),_0x56f278&&_0x274251(0x5b4)),'items':_0x5a91ea,'value':_0x39fbea,'onChange':_0x599ca2=>{_0x56f278||_0x1ef621==null||_0x1ef621(_0x599ca2);}}),_0x39fbea===_0x3ede05[_0x274251(0x58b)]&&_0x2842e1,_0x39fbea===_0x3ede05[_0x274251(0x2b6)]&&(0x0,r['jsxs'])(_0x274251(0x5ac),{'className':(0x0,e['clsx'])(_0x274251(0x661),_0x15a1c1?_0x274251(0x589):_0x274251(0x1eb)),'children':[(0x0,r[_0x274251(0x2eb)])(_0x274251(0x5ac),{'className':_0x274251(0x263),'children':[(0x0,r['jsx'])(_0x274251(0xeb),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4d824f[_0x274251(0x55a)]}),(0x0,r['jsx'])(e[_0x274251(0x264)],{'disabled':_0x56f278,'overlay':(0x0,r[_0x274251(0x396)])(_0x274251(0x5ac),{'className':_0x274251(0x3e9),'dir':_0x38b14a,'children':(0x0,r['jsx'])(e[_0x274251(0x662)],{'value':_0x1b39dc,'onChange':_0x297524=>{_0x32aa62==null||_0x32aa62(_0x297524),_0x3efbc6||_0x5de5f8(!0x1);}})}),'open':_0x23a915,'onOpenChange':_0x5de5f8,'children':(0x0,r[_0x274251(0x2eb)])('a',{'className':_0x274251(0x5c7),'children':[(_0x393f31=_0x43902a==null?void 0x0:_0x43902a(_0x1b39dc))==null?(0x0,r[_0x274251(0x396)])(t[_0x274251(0x5c5)],{'className':_0x274251(0x256),'extend':{'colorChannel1':_0x1b39dc}}):_0x393f31,(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])('univer-text-gray-600\x20univer-transition-transform',{'univer-rotate-180':_0x23a915})})]})})]}),(0x0,r[_0x274251(0x2eb)])(_0x274251(0x5ac),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x274251(0x396)])(_0x274251(0xeb),{'className':_0x274251(0x2ec),'children':_0x4d824f['transparency']}),(0x0,r[_0x274251(0x396)])(_0x274251(0x5ac),{'className':_0x274251(0x4a4),'children':(0x0,r[_0x274251(0x396)])(e[_0x274251(0xf1)],{'className':_0x274251(0x279),'value':_0x3a4ea5,'disabled':_0x56f278,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x4ecf1e=>_0x4ecf1e+'%','parser':_0x959d86=>(_0x959d86==null?void 0x0:_0x959d86[_0x274251(0x398)]('%',''))||'','onChange':_0x9a0523=>_0x14f761==null?void 0x0:_0x14f761(_0x9a0523==null?0x0:_0x9a0523)})})]})]}),_0x39fbea===_0x3ede05[_0x274251(0x213)]&&(0x0,r['jsx'])(e['GradientColorPicker'],{'className':_0x274251(0x65e),'compact':_0x15a1c1,'value':_0x3f6875,'onChange':_0x15cb2d}),_0x39fbea===_0x3ede05[_0x274251(0x5cf)]&&_0x1efd22]});}var m=_0x5297e7(0x3e1),h=_0x5297e7(0x28f);const g={};function _(_0x4570d8,_0x401e7a){return function(_0x16f267,_0x244b69){_0x401e7a(_0x16f267,_0x244b69,_0x4570d8);};}function v(_0x5e33cc,_0x3e11f5,_0x1bf527,_0x388323){const _0x44d484=_0x5297e7;var _0x3bd6d4=arguments[_0x44d484(0x24d)],_0x14f581=_0x3bd6d4<0x3?_0x3e11f5:_0x388323===null?_0x388323=Object[_0x44d484(0x50a)](_0x3e11f5,_0x1bf527):_0x388323,_0x36e449;if(typeof Reflect=='object'&&typeof Reflect[_0x44d484(0x605)]==_0x44d484(0x28b))_0x14f581=Reflect[_0x44d484(0x605)](_0x5e33cc,_0x3e11f5,_0x1bf527,_0x388323);else{for(var _0x19f604=_0x5e33cc['length']-0x1;_0x19f604>=0x0;_0x19f604--)(_0x36e449=_0x5e33cc[_0x19f604])&&(_0x14f581=(_0x3bd6d4<0x3?_0x36e449(_0x14f581):_0x3bd6d4>0x3?_0x36e449(_0x3e11f5,_0x1bf527,_0x14f581):_0x36e449(_0x3e11f5,_0x1bf527))||_0x14f581);}return _0x3bd6d4>0x3&&_0x14f581&&Object['defineProperty'](_0x3e11f5,_0x1bf527,_0x14f581),_0x14f581;}const y={'ShapeAccentBorderCallout1Icon':t[_0x5297e7(0x616)],'ShapeAccentBorderCallout2Icon':t[_0x5297e7(0x2e1)],'ShapeAccentBorderCallout3Icon':t[_0x5297e7(0x184)],'ShapeAccentCallout1Icon':t[_0x5297e7(0x658)],'ShapeAccentCallout2Icon':t['ShapeAccentCallout2Icon'],'ShapeAccentCallout3Icon':t[_0x5297e7(0x515)],'ShapeActionButtonBackPreviousIcon':t['ShapeActionButtonBackPreviousIcon'],'ShapeActionButtonBeginningIcon':t[_0x5297e7(0x640)],'ShapeActionButtonBlankIcon':t[_0x5297e7(0x547)],'ShapeActionButtonDocumentIcon':t[_0x5297e7(0x449)],'ShapeActionButtonEndIcon':t[_0x5297e7(0x10f)],'ShapeActionButtonForwardNextIcon':t[_0x5297e7(0x278)],'ShapeActionButtonHelpIcon':t[_0x5297e7(0x504)],'ShapeActionButtonHomeIcon':t['ShapeActionButtonHomeIcon'],'ShapeActionButtonInformationIcon':t['ShapeActionButtonInformationIcon'],'ShapeActionButtonMovieIcon':t[_0x5297e7(0x40e)],'ShapeActionButtonReturnIcon':t[_0x5297e7(0x10c)],'ShapeActionButtonSoundIcon':t[_0x5297e7(0x2b5)],'ShapeArcIcon':t[_0x5297e7(0x57e)],'ShapeBentArrowIcon':t[_0x5297e7(0x58f)],'ShapeBentConnector3Arrow1Icon':t[_0x5297e7(0x44d)],'ShapeBentConnector3Arrow2Icon':t[_0x5297e7(0x127)],'ShapeBentConnector3Icon':t[_0x5297e7(0x36b)],'ShapeBentUpArrowIcon':t[_0x5297e7(0x4c1)],'ShapeBevelIcon':t[_0x5297e7(0xdf)],'ShapeBlockArcIcon':t[_0x5297e7(0x3e6)],'ShapeBorderCallout1Icon':t[_0x5297e7(0x1da)],'ShapeBorderCallout2Icon':t[_0x5297e7(0x4e2)],'ShapeBorderCallout3Icon':t[_0x5297e7(0x21f)],'ShapeBracePairIcon':t[_0x5297e7(0x158)],'ShapeBracketPairIcon':t[_0x5297e7(0x5ef)],'ShapeCallout1Icon':t['ShapeCallout1Icon'],'ShapeCallout2Icon':t[_0x5297e7(0x19c)],'ShapeCallout3Icon':t[_0x5297e7(0x262)],'ShapeCanIcon':t[_0x5297e7(0xf5)],'ShapeChartPlusIcon':t[_0x5297e7(0x3f4)],'ShapeChartStarIcon':t[_0x5297e7(0x303)],'ShapeChartXIcon':t['ShapeChartXIcon'],'ShapeChevronIcon':t[_0x5297e7(0x582)],'ShapeChordIcon':t['ShapeChordIcon'],'ShapeCircularArrowIcon':t[_0x5297e7(0x64f)],'ShapeCloudCalloutIcon':t[_0x5297e7(0x363)],'ShapeCloudIcon':t[_0x5297e7(0x30a)],'ShapeCornerIcon':t[_0x5297e7(0x237)],'ShapeCornerTabsIcon':t[_0x5297e7(0x427)],'ShapeCubeIcon':t['ShapeCubeIcon'],'ShapeCurvedConnector3Arrow1Icon':t[_0x5297e7(0x381)],'ShapeCurvedConnector3Arrow2Icon':t[_0x5297e7(0x529)],'ShapeCurvedConnector3Icon':t[_0x5297e7(0x22c)],'ShapeCurvedDownArrowIcon':t[_0x5297e7(0x267)],'ShapeCurvedLeftArrowIcon':t['ShapeCurvedLeftArrowIcon'],'ShapeCurvedRightArrowIcon':t['ShapeCurvedRightArrowIcon'],'ShapeCurvedUpArrowIcon':t[_0x5297e7(0x586)],'ShapeDecagonIcon':t['ShapeDecagonIcon'],'ShapeDiagStripeIcon':t[_0x5297e7(0x3bd)],'ShapeDiamondIcon':t[_0x5297e7(0x530)],'ShapeDodecagonIcon':t[_0x5297e7(0x45d)],'ShapeDonutIcon':t[_0x5297e7(0x4f4)],'ShapeDoubleWaveIcon':t[_0x5297e7(0x146)],'ShapeDownArrowCalloutIcon':t[_0x5297e7(0x179)],'ShapeDownArrowIcon':t[_0x5297e7(0x476)],'ShapeEllipseIcon':t['ShapeEllipseIcon'],'ShapeEllipseRibbon2Icon':t[_0x5297e7(0x631)],'ShapeEllipseRibbonIcon':t['ShapeEllipseRibbonIcon'],'ShapeFlowChartAlternateProcessIcon':t['ShapeFlowChartAlternateProcessIcon'],'ShapeFlowChartCollateIcon':t['ShapeFlowChartCollateIcon'],'ShapeFlowChartConnectorIcon':t[_0x5297e7(0x4db)],'ShapeFlowChartDecisionIcon':t[_0x5297e7(0xfa)],'ShapeFlowChartDelayIcon':t[_0x5297e7(0x425)],'ShapeFlowChartDisplayIcon':t[_0x5297e7(0x409)],'ShapeFlowChartDocumentIcon':t['ShapeFlowChartDocumentIcon'],'ShapeFlowChartExtractIcon':t[_0x5297e7(0x335)],'ShapeFlowChartInputOutputIcon':t[_0x5297e7(0x5c9)],'ShapeFlowChartInternalStorageIcon':t[_0x5297e7(0x2f2)],'ShapeFlowChartMagneticDiskIcon':t[_0x5297e7(0x371)],'ShapeFlowChartMagneticDrumIcon':t[_0x5297e7(0x41c)],'ShapeFlowChartMagneticTapeIcon':t['ShapeFlowChartMagneticTapeIcon'],'ShapeFlowChartManualInputIcon':t[_0x5297e7(0x36e)],'ShapeFlowChartManualOperationIcon':t[_0x5297e7(0x44c)],'ShapeFlowChartMergeIcon':t[_0x5297e7(0x579)],'ShapeFlowChartMultidocumentIcon':t[_0x5297e7(0x670)],'ShapeFlowChartOfflineStorageIcon':t[_0x5297e7(0x108)],'ShapeFlowChartOffpageConnectorIcon':t[_0x5297e7(0x3ae)],'ShapeFlowChartOnlineStorageIcon':t['ShapeFlowChartOnlineStorageIcon'],'ShapeFlowChartOrIcon':t[_0x5297e7(0x435)],'ShapeFlowChartPredefinedProcessIcon':t[_0x5297e7(0x49c)],'ShapeFlowChartPreparationIcon':t[_0x5297e7(0x41f)],'ShapeFlowChartProcessIcon':t['ShapeFlowChartProcessIcon'],'ShapeFlowChartPunchedCardIcon':t[_0x5297e7(0x4b5)],'ShapeFlowChartPunchedTapeIcon':t[_0x5297e7(0x149)],'ShapeFlowChartSortIcon':t[_0x5297e7(0x342)],'ShapeFlowChartSummingJunctionIcon':t[_0x5297e7(0x3f5)],'ShapeFlowChartTerminatorIcon':t[_0x5297e7(0x1fd)],'ShapeFolderCornerIcon':t[_0x5297e7(0x137)],'ShapeFrameIcon':t['ShapeFrameIcon'],'ShapeFunnelIcon':t[_0x5297e7(0x3a7)],'ShapeGear6Icon':t['ShapeGear6Icon'],'ShapeGear9Icon':t[_0x5297e7(0x3ef)],'ShapeHalfFrameIcon':t[_0x5297e7(0x4af)],'ShapeHeartIcon':t[_0x5297e7(0xe0)],'ShapeHeptagonIcon':t[_0x5297e7(0x440)],'ShapeHexagonIcon':t['ShapeHexagonIcon'],'ShapeHomePlateIcon':t[_0x5297e7(0x441)],'ShapeHorizontalScrollIcon':t[_0x5297e7(0x1a6)],'ShapeIcon':t[_0x5297e7(0x494)],'ShapeIrregularSeal1Icon':t[_0x5297e7(0x105)],'ShapeIrregularSeal2Icon':t[_0x5297e7(0x233)],'ShapeLeftArrowCalloutIcon':t[_0x5297e7(0x4fb)],'ShapeLeftArrowIcon':t['ShapeLeftArrowIcon'],'ShapeLeftBraceIcon':t[_0x5297e7(0x21b)],'ShapeLeftBracketIcon':t[_0x5297e7(0x115)],'ShapeLeftCircularArrowIcon':t[_0x5297e7(0x222)],'ShapeLeftRightArrowCalloutIcon':t['ShapeLeftRightArrowCalloutIcon'],'ShapeLeftRightArrowIcon':t[_0x5297e7(0x2aa)],'ShapeLeftRightCircularArrowIcon':t[_0x5297e7(0x44e)],'ShapeLeftRightRibbonIcon':t['ShapeLeftRightRibbonIcon'],'ShapeLeftRightUpArrowIcon':t[_0x5297e7(0x331)],'ShapeLeftUpArrowIcon':t['ShapeLeftUpArrowIcon'],'ShapeLightningBoltIcon':t[_0x5297e7(0x3c4)],'ShapeLineIcon':t['ShapeLineIcon'],'ShapeLineInvIcon':t['ShapeLineInvIcon'],'ShapeMathDivideIcon':t[_0x5297e7(0x393)],'ShapeMathEqualIcon':t[_0x5297e7(0x61d)],'ShapeMathMinusIcon':t[_0x5297e7(0x191)],'ShapeMathMultiplyIcon':t[_0x5297e7(0x239)],'ShapeMathNotEqualIcon':t[_0x5297e7(0x151)],'ShapeMathPlusIcon':t['ShapeMathPlusIcon'],'ShapeMoonIcon':t['ShapeMoonIcon'],'ShapeNoSmokingIcon':t[_0x5297e7(0x10b)],'ShapeNonIsoscelesTrapezoidIcon':t['ShapeNonIsoscelesTrapezoidIcon'],'ShapeNotchedRightArrowIcon':t[_0x5297e7(0xdc)],'ShapeOctagonIcon':t[_0x5297e7(0x418)],'ShapeParallelogramIcon':t[_0x5297e7(0x1a8)],'ShapePentagonIcon':t[_0x5297e7(0x519)],'ShapePieIcon':t[_0x5297e7(0x107)],'ShapePieWedgeIcon':t['ShapePieWedgeIcon'],'ShapePlaqueIcon':t[_0x5297e7(0x10e)],'ShapePlaqueTabsIcon':t[_0x5297e7(0x2cd)],'ShapePlusIcon':t[_0x5297e7(0xfb)],'ShapeQuadArrowCalloutIcon':t[_0x5297e7(0x5fc)],'ShapeQuadArrowIcon':t[_0x5297e7(0x50e)],'ShapeRectIcon':t[_0x5297e7(0x3e8)],'ShapeRectTextboxHorizontalIcon':t[_0x5297e7(0x65d)],'ShapeRectTextboxVerticalIcon':t[_0x5297e7(0x637)],'ShapeRibbon2Icon':t[_0x5297e7(0x4b1)],'ShapeRibbonIcon':t[_0x5297e7(0x66b)],'ShapeRightArrowCalloutIcon':t[_0x5297e7(0x4fa)],'ShapeRightArrowIcon':t[_0x5297e7(0x411)],'ShapeRightBraceIcon':t[_0x5297e7(0x2f5)],'ShapeRightBracketIcon':t[_0x5297e7(0x30c)],'ShapeRound1RectIcon':t[_0x5297e7(0x22f)],'ShapeRound2DiagRectIcon':t[_0x5297e7(0x5d6)],'ShapeRound2SameRectIcon':t['ShapeRound2SameRectIcon'],'ShapeRoundRectIcon':t[_0x5297e7(0x2a0)],'ShapeRtTriangleIcon':t[_0x5297e7(0x5a9)],'ShapeSmileyFaceIcon':t[_0x5297e7(0x14f)],'ShapeSnip1RectIcon':t[_0x5297e7(0x54a)],'ShapeSnip2DiagRectIcon':t['ShapeSnip2DiagRectIcon'],'ShapeSnip2SameRectIcon':t['ShapeSnip2SameRectIcon'],'ShapeSnipRoundRectIcon':t[_0x5297e7(0x648)],'ShapeSquareTabsIcon':t[_0x5297e7(0x602)],'ShapeStar10Icon':t[_0x5297e7(0x337)],'ShapeStar12Icon':t[_0x5297e7(0x1f4)],'ShapeStar16Icon':t[_0x5297e7(0x4d2)],'ShapeStar24Icon':t[_0x5297e7(0x216)],'ShapeStar32Icon':t[_0x5297e7(0x2be)],'ShapeStar4Icon':t['ShapeStar4Icon'],'ShapeStar5Icon':t[_0x5297e7(0x663)],'ShapeStar6Icon':t['ShapeStar6Icon'],'ShapeStar7Icon':t[_0x5297e7(0x601)],'ShapeStar8Icon':t[_0x5297e7(0x491)],'ShapeStraightConnector1Icon':t[_0x5297e7(0x618)],'ShapeStraightConnector2Icon':t[_0x5297e7(0x4f8)],'ShapeStripedRightArrowIcon':t[_0x5297e7(0x35b)],'ShapeSunIcon':t[_0x5297e7(0x280)],'ShapeSwooshArrowIcon':t[_0x5297e7(0x5f3)],'ShapeTeardropIcon':t[_0x5297e7(0x102)],'ShapeTrapezoidIcon':t[_0x5297e7(0x2de)],'ShapeTriangleIcon':t[_0x5297e7(0x472)],'ShapeUpArrowCalloutIcon':t[_0x5297e7(0x521)],'ShapeUpArrowIcon':t[_0x5297e7(0x269)],'ShapeUpDownArrowCalloutIcon':t[_0x5297e7(0x590)],'ShapeUpDownArrowIcon':t[_0x5297e7(0x543)],'ShapeUturnArrowIcon':t['ShapeUturnArrowIcon'],'ShapeVerticalScrollIcon':t['ShapeVerticalScrollIcon'],'ShapeWaveIcon':t[_0x5297e7(0x630)],'ShapeWedgeEllipseCalloutIcon':t['ShapeWedgeEllipseCalloutIcon'],'ShapeWedgeRectCalloutIcon':t[_0x5297e7(0x1e6)],'ShapeWedgeRoundRectCalloutIcon':t[_0x5297e7(0x141)]};let b=class extends i[_0x5297e7(0x378)]{constructor(_0x3df061){const _0x247b48=_0x5297e7;super(),this['_iconManager']=_0x3df061,this[_0x247b48(0x4de)]();}[_0x5297e7(0x4de)](){const _0x2f269c=_0x5297e7;this[_0x2f269c(0x63f)](this['_iconManager'][_0x2f269c(0x24f)](y));}};b=v([_(0x0,(0x0,i[_0x5297e7(0x572)])(a['IconManager']))],b);function x(_0x4f43cc){'@babel/helpers - typeof';const _0x57e7c8=_0x5297e7;return x=typeof Symbol==_0x57e7c8(0x28b)&&typeof Symbol['iterator']==_0x57e7c8(0x4f7)?function(_0x29b25d){return typeof _0x29b25d;}:function(_0xf5a2d2){const _0x13240c=_0x57e7c8;return _0xf5a2d2&&typeof Symbol==_0x13240c(0x28b)&&_0xf5a2d2['constructor']===Symbol&&_0xf5a2d2!==Symbol[_0x13240c(0x483)]?_0x13240c(0x4f7):typeof _0xf5a2d2;},x(_0x4f43cc);}function S(_0x255f40,_0x3de210){const _0x477cc0=_0x5297e7;if(x(_0x255f40)!=_0x477cc0(0x666)||!_0x255f40)return _0x255f40;var _0x308e07=_0x255f40[Symbol[_0x477cc0(0x161)]];if(_0x308e07!==void 0x0){var _0xdf148e=_0x308e07[_0x477cc0(0x16d)](_0x255f40,_0x3de210||'default');if(x(_0xdf148e)!='object')return _0xdf148e;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3de210===_0x477cc0(0x1e7)?String:Number)(_0x255f40);}function C(_0x1750ae){const _0x4a6e03=_0x5297e7;var _0x35814e=S(_0x1750ae,_0x4a6e03(0x1e7));return x(_0x35814e)==_0x4a6e03(0x4f7)?_0x35814e:_0x35814e+'';}function w(_0x35fed5,_0x56c98c,_0x125505){const _0x952352=_0x5297e7;return(_0x56c98c=C(_0x56c98c))in _0x35fed5?Object[_0x952352(0x566)](_0x35fed5,_0x56c98c,{'value':_0x125505,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x35fed5[_0x56c98c]=_0x125505,_0x35fed5;}let T=class extends i[_0x5297e7(0x430)]{constructor(_0x3e220a=g,_0x391f28,_0x4f215f){const _0x5f379c=_0x5297e7;super(),this[_0x5f379c(0x123)]=_0x3e220a,this['_injector']=_0x391f28,this[_0x5f379c(0x664)]=_0x4f215f;let {..._0x300ef2}=(0x0,i[_0x5f379c(0x466)])({},g,this['_config']);this[_0x5f379c(0x664)][_0x5f379c(0x629)](_0x5f379c(0x4c5),_0x300ef2);}['onStarting'](){const _0x7c5171=_0x5297e7;this[_0x7c5171(0x3c2)][_0x7c5171(0x1ab)]([b]),this[_0x7c5171(0x3c2)][_0x7c5171(0xe8)](b);}};w(T,_0x5297e7(0x3df),i[_0x5297e7(0x207)]['UNIVER_UNKNOWN']),w(T,_0x5297e7(0x3aa),_0x5297e7(0x60e)),w(T,_0x5297e7(0x5ce),m),w(T,'version',h),T=v([_(0x1,(0x0,i[_0x5297e7(0x572)])(i[_0x5297e7(0x34d)])),_(0x2,i[_0x5297e7(0x4b4)])],T);function E(_0x5c3313){const _0x5654b4=_0x5297e7;return!!_0x5c3313&&typeof _0x5c3313==_0x5654b4(0x666)&&typeof _0x5c3313[_0x5654b4(0x53a)]=='string';}function D(_0x26117f,_0x1deee7){const _0x453b73=_0x5297e7;var _0x5c9864,_0xe8287d,_0x41ae07,_0x373a4a,_0xc7620a,_0x594e56,_0x4001a2;let _0x570ef2=(_0x5c9864=_0x26117f[_0x453b73(0x43f)](_0x1deee7[_0x453b73(0x1f3)]))==null?void 0x0:_0x5c9864[_0x453b73(0x65c)];if(!_0x570ef2)return!0x1;let _0x14a9e2=(0x0,o[_0x453b73(0x4da)])(_0x1deee7),_0x1ea08b=(_0xe8287d=(_0x41ae07=_0x570ef2['getObjectIncludeInGroup'])==null?void 0x0:_0x41ae07[_0x453b73(0x16d)](_0x570ef2,_0x14a9e2))==null?(_0x373a4a=_0x570ef2['getObject'])==null?void 0x0:_0x373a4a[_0x453b73(0x16d)](_0x570ef2,_0x14a9e2):_0xe8287d;return E(_0x1ea08b)?((_0xc7620a=_0x570ef2[_0x453b73(0x24e)])==null||(_0x4001a2=(_0x594e56=_0xc7620a['call'](_0x570ef2))[_0x453b73(0x2db)])==null||_0x4001a2[_0x453b73(0x16d)](_0x594e56,_0x1ea08b),!0x0):!0x1;}function O(_0x3e42c1,_0x231187){const _0x16e300=_0x5297e7;var _0x3f7e41,_0x20abdb;let _0x33aeb2=(_0x3f7e41=_0x3e42c1['getRenderById'](_0x231187))==null||(_0x3f7e41=_0x3f7e41[_0x16e300(0x65c)])==null||(_0x20abdb=_0x3f7e41[_0x16e300(0x4f1)])==null?void 0x0:_0x20abdb[_0x16e300(0x16d)](_0x3f7e41);return _0x33aeb2!=null&&_0x33aeb2[_0x16e300(0x49b)]?(_0x33aeb2[_0x16e300(0x49b)](),!0x0):!0x1;}const k={'borderEnabled':!0x0,'borderStroke':_0x5297e7(0x133),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x5297e7(0x2d3),'anchorStroke':'#4086f4','anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':'canva','rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':'bottom','rotateLineEnabled':!0x1,'rotateFill':_0x5297e7(0x2d3),'rotateStroke':_0x5297e7(0x133),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':_0x5297e7(0x133),'rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};function A(_0x449335){const _0xc67cd2=_0x5297e7;var _0x5f0cb1,_0x20c5d8,_0x4c8383;if(!(_0x449335!=null&&_0x449335[_0xc67cd2(0x2fd)]))return null;let _0x57a163=(_0x5f0cb1=_0x449335[_0xc67cd2(0x2fd)]['documentStyle'])==null?void 0x0:_0x5f0cb1[_0xc67cd2(0xec)];return{..._0x449335,'ha':(_0x20c5d8=_0x449335['ha'])==null?_0x57a163==null?void 0x0:_0x57a163['horizontalAlign']:_0x20c5d8,'va':(_0x4c8383=_0x449335['va'])==null?_0x57a163==null?void 0x0:_0x57a163[_0xc67cd2(0x341)]:_0x4c8383,'doc':_0x449335[_0xc67cd2(0x2fd)]};}function j(_0x43dafa){let _0x261c8d=_0x43dafa['shapeText'];return _0x261c8d&&'dataModel'in _0x261c8d&&_0x261c8d['dataModel']?A(_0x261c8d['dataModel']):null;}function M(_0x42b7a4){const _0x2a89c5=_0x5297e7;var _0x32535f,_0x10edec,_0x33f013,_0xc811c8;let _0x3a6717=(_0x32535f=j(_0x42b7a4))==null?void 0x0:_0x32535f[_0x2a89c5(0x2fd)],_0x509b82=(_0x10edec=_0x3a6717==null||(_0x33f013=_0x3a6717[_0x2a89c5(0x17b)])==null||(_0x33f013=_0x33f013[_0x2a89c5(0x305)])==null||(_0x33f013=_0x33f013[0x0])==null?void 0x0:_0x33f013['ts'])==null?{}:_0x10edec;return{..._0x3a6717==null||(_0xc811c8=_0x3a6717[_0x2a89c5(0x1bc)])==null?void 0x0:_0xc811c8[_0x2a89c5(0x377)],..._0x509b82};}function N(_0x5c56c5){const _0x3be32b=_0x5297e7;var _0x29c963,_0x4bc1a0,_0x361ccf,_0x551efb,_0x851ef3,_0x4e7621,_0x543e07,_0x16c2bd,_0x52bf69,_0x17a907,_0x6d49c8,_0x5bd539,_0x55753f;let {shapeData:_0xfa6f2c,disableShapeOption:_0x5e86a5,onUpdateShapeData:_0x33cc32,onUpdateShapeFillImage:_0x41f88f}=_0x5c56c5,_0x5ab56f=(0x0,a['useDependency'])(i[_0x3be32b(0x415)]),_0x14c73a=(0x0,a[_0x3be32b(0x15c)])(i[_0x3be32b(0x545)]),_0xb6122c=(0x0,a[_0x3be32b(0x15c)])(i[_0x3be32b(0x24b)]),_0x402e3e=(0x0,n[_0x3be32b(0x459)])(null),_0x26c487=_0xfa6f2c[_0x3be32b(0x653)],_0x2691d8=!!(_0x26c487!=null&&_0x26c487[_0x3be32b(0x59d)]),[_0x5a9329,_0x40dddb]=(0x0,n[_0x3be32b(0x38d)])((_0x29c963=_0x26c487==null?void 0x0:_0x26c487[_0x3be32b(0x375)])==null?0x1:_0x29c963),[_0x1f4cea,_0x168e4f]=(0x0,n[_0x3be32b(0x38d)])((_0x4bc1a0=_0x26c487==null?void 0x0:_0x26c487[_0x3be32b(0x596)])==null?s[_0x3be32b(0x613)]['Stretch']:_0x4bc1a0),[_0x539cb4,_0x48dfdf]=(0x0,n[_0x3be32b(0x38d)])((_0x361ccf=_0x26c487==null?void 0x0:_0x26c487[_0x3be32b(0x501)])==null?!0x1:_0x361ccf),[_0x5a914b,_0x7626e]=(0x0,n[_0x3be32b(0x38d)])((_0x551efb=_0x26c487==null||(_0x851ef3=_0x26c487[_0x3be32b(0x25e)])==null?void 0x0:_0x851ef3[_0x3be32b(0x438)])==null?0x0:_0x551efb),[_0x2a947a,_0x33b621]=(0x0,n[_0x3be32b(0x38d)])((_0x4e7621=_0x26c487==null||(_0x543e07=_0x26c487[_0x3be32b(0x25e)])==null?void 0x0:_0x543e07['offsetY'])==null?0x0:_0x4e7621),[_0x5b4087,_0x32867d]=(0x0,n['useState'])((_0x16c2bd=_0x26c487==null||(_0x52bf69=_0x26c487[_0x3be32b(0x25e)])==null?void 0x0:_0x52bf69[_0x3be32b(0x1f1)])==null?0x1:_0x16c2bd),[_0x2f738f,_0x3a9792]=(0x0,n[_0x3be32b(0x38d)])((_0x17a907=_0x26c487==null||(_0x6d49c8=_0x26c487[_0x3be32b(0x25e)])==null?void 0x0:_0x6d49c8[_0x3be32b(0x5a0)])==null?0x1:_0x17a907),[_0x35df06,_0x293b8a]=(0x0,n['useState'])((_0x5bd539=_0x26c487==null||(_0x55753f=_0x26c487['imageTile'])==null?void 0x0:_0x55753f[_0x3be32b(0x468)])==null?'tl':_0x5bd539),_0x167099=_0x1f4cea===s[_0x3be32b(0x613)][_0x3be32b(0x1c8)],_0x5205a9=Math[_0x3be32b(0x5e8)]((0x1-_0x5a9329)*0x64),_0x127afa=Math[_0x3be32b(0x5e8)](_0x5b4087*0x64),_0x3a4a25=Math[_0x3be32b(0x5e8)](_0x2f738f*0x64),_0x3e969a=[{'label':_0x5ab56f['t'](_0x3be32b(0x4fd)),'value':'tl'},{'label':_0x5ab56f['t']('shape-editor-ui.fill.picture.align.t'),'value':'t'},{'label':_0x5ab56f['t'](_0x3be32b(0x58e)),'value':'tr'},{'label':_0x5ab56f['t']('shape-editor-ui.fill.picture.align.l'),'value':'l'},{'label':_0x5ab56f['t']('shape-editor-ui.fill.picture.align.ctr'),'value':_0x3be32b(0x451)},{'label':_0x5ab56f['t'](_0x3be32b(0x4cf)),'value':'r'},{'label':_0x5ab56f['t'](_0x3be32b(0x465)),'value':'bl'},{'label':_0x5ab56f['t'](_0x3be32b(0x56e)),'value':'b'},{'label':_0x5ab56f['t'](_0x3be32b(0x526)),'value':'br'}],_0x4666b7=_0x2bc0ef=>{_0x33cc32({'oldShapeData':{'fill':_0x26c487?{..._0x26c487}:void 0x0}},{'fill':{..._0x26c487,..._0x2bc0ef}});},_0x14da3f=_0x564fdc=>{const _0x571a05=_0x3be32b;_0x4666b7({'imageTile':{..._0x26c487==null?void 0x0:_0x26c487[_0x571a05(0x25e)],..._0x564fdc}});},_0x4019f5=()=>{var _0x3034db;return(_0x3034db=_0x402e3e['current'])==null?void 0x0:_0x3034db['click']();},_0x25cead=async _0x5af928=>{const _0x53a2bd=_0x3be32b;var _0x8f5902;let _0x10ea6c=(_0x8f5902=_0x5af928[_0x53a2bd(0x34f)][_0x53a2bd(0x1f0)])==null?void 0x0:_0x8f5902[0x0];if(!_0x10ea6c)return;_0x5af928['target']['value']='';let _0x2a630a=await _0xb6122c[_0x53a2bd(0x27f)](_0x10ea6c);if(_0x2a630a==null)return;let {imageSourceType:_0x4128ed,source:_0x50a550,base64Cache:_0x46ba00}=_0x2a630a,{image:_0x52cd74}=await(0x0,o[_0x53a2bd(0x5fe)])(_0x46ba00||'');_0xb6122c['addImageSourceCache'](_0x50a550,_0x4128ed,_0x52cd74),_0x33cc32({'oldShapeData':{'fill':_0x26c487?{..._0x26c487}:void 0x0}},{'fill':{..._0x26c487,'fillType':s[_0x53a2bd(0x247)][_0x53a2bd(0x1e9)],'fillImageSource':_0x50a550,'fillImageSourceType':_0x4128ed}}),_0x41f88f==null||_0x41f88f(_0x52cd74);},_0x42e69f=_0x3be32b(0x212),_0x1d0986=_0x3be32b(0x263);return(0x0,r['jsxs'])('div',{'className':_0x3be32b(0x13d),'children':[(0x0,r[_0x3be32b(0x2eb)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,r['jsx'])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t'](_0x3be32b(0x643))}),(0x0,r[_0x3be32b(0x2eb)])('div',{'className':_0x3be32b(0x325),'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x37d),{'ref':_0x402e3e,'type':_0x3be32b(0x39a),'accept':_0x3be32b(0x1f2),'className':'univer-hidden','onChange':_0x25cead}),(0x0,r[_0x3be32b(0x2eb)])(_0x3be32b(0x5ac),{'className':_0x3be32b(0x1c1),'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x1c0),{'type':'button','disabled':_0x5e86a5,'className':'univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','onClick':_0x4019f5,'children':(0x0,r[_0x3be32b(0x2eb)])('span',{'children':[_0x5ab56f['t']('shape-editor-ui.fill.picture.insert'),'\x20']})}),_0x2691d8&&(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x5ac),{'className':_0x3be32b(0x3d7),'children':(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x160),{'src':_0x26c487==null?void 0x0:_0x26c487[_0x3be32b(0x59d)],'alt':'','className':_0x3be32b(0x39c)})})]})]})]}),(0x0,r[_0x3be32b(0x2eb)])(_0x3be32b(0x5ac),{'className':_0x1d0986,'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t'](_0x3be32b(0x372))}),(0x0,r[_0x3be32b(0x396)])('div',{'className':'univer-w-20','children':(0x0,r[_0x3be32b(0x396)])(e[_0x3be32b(0xf1)],{'className':_0x3be32b(0x279),'value':_0x5205a9,'disabled':_0x5e86a5,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x436b8f=>_0x436b8f+'%','parser':_0x146b1c=>(_0x146b1c==null?void 0x0:_0x146b1c['replace']('%',''))||'','onChange':_0xdd3379=>{const _0x3df143=_0x3be32b;let _0x4dd4cf=(0x64-Math[_0x3df143(0x130)](0x0,Math['min'](0x64,_0xdd3379==null?0x0:_0xdd3379)))/0x64;_0x40dddb(_0x4dd4cf),_0x4666b7({'imageOpacity':_0x4dd4cf}),_0x14c73a[_0x3df143(0x481)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x14c73a[_0x3be32b(0x481)](i[_0x3be32b(0x16e)],!0x0),'onBlur':()=>_0x14c73a[_0x3be32b(0x481)](i[_0x3be32b(0x16e)],!0x1)})})]}),(0x0,r[_0x3be32b(0x396)])(e[_0x3be32b(0x1ca)],{'checked':_0x167099,'disabled':_0x5e86a5,'onChange':_0x14be1e=>{const _0x3d38f8=_0x3be32b;let _0x355c07=_0x14be1e?s[_0x3d38f8(0x613)][_0x3d38f8(0x1c8)]:s[_0x3d38f8(0x613)][_0x3d38f8(0x64b)];_0x168e4f(_0x355c07),_0x4666b7({'imageFillMode':_0x355c07});},'children':(0x0,r['jsx'])(_0x3be32b(0xeb),{'className':_0x3be32b(0x19b),'children':_0x5ab56f['t'](_0x3be32b(0x2e4))})}),_0x167099&&(0x0,r['jsxs'])('div',{'className':_0x3be32b(0x65b),'children':[(0x0,r['jsxs'])(_0x3be32b(0x5ac),{'className':_0x1d0986,'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t'](_0x3be32b(0x249))}),(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x5ac),{'className':_0x3be32b(0x4a4),'children':(0x0,r['jsx'])(e[_0x3be32b(0xf1)],{'className':_0x3be32b(0x279),'value':_0x5a914b,'disabled':_0x5e86a5,'step':0x1,'onChange':_0x58a37b=>{_0x14da3f({'offsetX':_0x58a37b==null?0x0:_0x58a37b}),_0x7626e(_0x58a37b==null?0x0:_0x58a37b);},'onFocus':()=>_0x14c73a['setContextValue'](i[_0x3be32b(0x16e)],!0x0),'onBlur':()=>_0x14c73a[_0x3be32b(0x481)](i[_0x3be32b(0x16e)],!0x1)})})]}),(0x0,r[_0x3be32b(0x2eb)])(_0x3be32b(0x5ac),{'className':_0x1d0986,'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t'](_0x3be32b(0x235))}),(0x0,r[_0x3be32b(0x396)])('div',{'className':_0x3be32b(0x4a4),'children':(0x0,r[_0x3be32b(0x396)])(e['InputNumber'],{'className':_0x3be32b(0x279),'value':_0x2a947a,'disabled':_0x5e86a5,'step':0x1,'onChange':_0x27dd2d=>{_0x14da3f({'offsetY':_0x27dd2d==null?0x0:_0x27dd2d}),_0x33b621(_0x27dd2d==null?0x0:_0x27dd2d);},'onFocus':()=>_0x14c73a[_0x3be32b(0x481)](i[_0x3be32b(0x16e)],!0x0),'onBlur':()=>_0x14c73a[_0x3be32b(0x481)](i[_0x3be32b(0x16e)],!0x1)})})]}),(0x0,r[_0x3be32b(0x2eb)])('div',{'className':_0x1d0986,'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t']('shape-editor-ui.fill.picture.scaleX')}),(0x0,r['jsx'])(_0x3be32b(0x5ac),{'className':_0x3be32b(0x4a4),'children':(0x0,r[_0x3be32b(0x396)])(e[_0x3be32b(0xf1)],{'className':'univer-w-full','value':_0x127afa,'disabled':_0x5e86a5,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x2af304=>_0x2af304+'%','parser':_0x3e2bdd=>(_0x3e2bdd==null?void 0x0:_0x3e2bdd[_0x3be32b(0x398)]('%',''))||'','onChange':_0xf84db8=>{const _0x219310=_0x3be32b;let _0x2b8274=Math[_0x219310(0x130)](0.01,(_0xf84db8==null?0x64:_0xf84db8)/0x64);_0x32867d(_0x2b8274),_0x14da3f({'scaleX':_0x2b8274}),_0x14c73a[_0x219310(0x481)](i[_0x219310(0x16e)],!0x1);},'onFocus':()=>_0x14c73a[_0x3be32b(0x481)](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x14c73a[_0x3be32b(0x481)](i[_0x3be32b(0x16e)],!0x1)})})]}),(0x0,r[_0x3be32b(0x2eb)])(_0x3be32b(0x5ac),{'className':_0x1d0986,'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t'](_0x3be32b(0x405))}),(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x5ac),{'className':_0x3be32b(0x4a4),'children':(0x0,r[_0x3be32b(0x396)])(e[_0x3be32b(0xf1)],{'className':_0x3be32b(0x279),'value':_0x3a4a25,'disabled':_0x5e86a5,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3f9dfd=>_0x3f9dfd+'%','parser':_0x3dfb6e=>(_0x3dfb6e==null?void 0x0:_0x3dfb6e['replace']('%',''))||'','onChange':_0x70bc4a=>{const _0x965157=_0x3be32b;let _0x3e79e5=Math[_0x965157(0x130)](0.01,(_0x70bc4a==null?0x64:_0x70bc4a)/0x64);_0x3a9792(_0x3e79e5),_0x14da3f({'scaleY':_0x3e79e5}),_0x14c73a[_0x965157(0x481)](i[_0x965157(0x16e)],!0x1);},'onFocus':()=>_0x14c73a['setContextValue'](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x14c73a[_0x3be32b(0x481)](i['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x3be32b(0x2eb)])(_0x3be32b(0x5ac),{'className':_0x1d0986,'children':[(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x42e69f,'children':_0x5ab56f['t'](_0x3be32b(0x25c))}),(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0x5ac),{'className':_0x3be32b(0x383),'children':(0x0,r[_0x3be32b(0x396)])(e[_0x3be32b(0x533)],{'className':'univer-w-full','value':_0x35df06,'options':_0x3e969a,'disabled':_0x5e86a5,'onChange':_0x1b2125=>{_0x293b8a(_0x1b2125),_0x14da3f({'alignment':_0x1b2125});}})})]})]}),(0x0,r[_0x3be32b(0x396)])(e[_0x3be32b(0x1ca)],{'checked':_0x539cb4,'disabled':_0x5e86a5,'onChange':_0x4bb32e=>{_0x48dfdf(_0x4bb32e),_0x4666b7({'imageRotateWithShape':_0x4bb32e});},'children':(0x0,r[_0x3be32b(0x396)])(_0x3be32b(0xeb),{'className':_0x3be32b(0x19b),'children':_0x5ab56f['t'](_0x3be32b(0x183))})})]});}function P(_0x164567){const _0xafd776=_0x5297e7;var _0x375568,_0x17c106;return(_0x375568=(_0x17c106=_0x164567[_0xafd776(0x653)])==null?void 0x0:_0x17c106['fillType'])==null?s['ShapeDefaultConfig'][_0xafd776(0x1a4)]:_0x375568;}function F(_0x35ac5c){const _0x36a26a=_0x5297e7;var _0x36a7d5,_0x368b1a,_0x45a0e6,_0x382d4c;let _0x28d346=(0x0,a[_0x36a26a(0x15c)])(i[_0x36a26a(0x415)]),_0x9ff311=(0x0,a[_0x36a26a(0x15c)])(i[_0x36a26a(0x545)]),{shapeData:_0x279801,isLineShape:_0x5ba874,shapeId:_0x534ca2,disableShapeOption:_0x35201a,onUpdateShapeData:_0xbf4155,onUpdateShapeFillImage:_0x37c9e7}=_0x35ac5c,[_0x4ec64d,_0x51f7cf]=(0x0,n[_0x36a26a(0x38d)])(()=>P(_0x279801)),[_0x32279a,_0x4e4eb9]=(0x0,n['useState'])((_0x36a7d5=(_0x368b1a=_0x279801[_0x36a26a(0x653)])==null?void 0x0:_0x368b1a[_0x36a26a(0x55a)])==null?s[_0x36a26a(0x477)][_0x36a26a(0x653)]:_0x36a7d5),[_0x32534d,_0x1cae0a]=(0x0,n['useState'])((_0x45a0e6=(_0x382d4c=_0x279801[_0x36a26a(0x653)])==null?void 0x0:_0x382d4c[_0x36a26a(0x297)])==null?s[_0x36a26a(0x477)][_0x36a26a(0x3ca)]:_0x45a0e6),[_0x3e602a,_0x201162]=(0x0,n[_0x36a26a(0x38d)])(!0x1);if(_0x5ba874)return null;let _0x964765=0x64-_0x32534d*0x64;return(0x0,r[_0x36a26a(0x2eb)])('div',{'className':_0x36a26a(0x62a),'children':[(0x0,r[_0x36a26a(0x2eb)])(e['RadioGroup'],{'value':_0x4ec64d,'disabled':_0x35201a,'onChange':_0x3afb7d=>{const _0x1a0970=_0x36a26a;var _0x28339b;_0xbf4155({'oldShapeData':{'fill':{'fillType':(_0x28339b=_0x279801[_0x1a0970(0x653)])==null?void 0x0:_0x28339b[_0x1a0970(0x1a4)]}}},{'fill':{'fillType':_0x3afb7d}}),_0x51f7cf(_0x3afb7d);},'direction':_0x36a26a(0x175),'children':[(0x0,r[_0x36a26a(0x396)])(e[_0x36a26a(0x2fb)],{'value':s['ShapeFillEnum']['NoFill'],'children':(0x0,r['jsx'])('span',{'className':'univer-text-sm','children':_0x28d346['t'](_0x36a26a(0x390))})}),(0x0,r['jsx'])(e[_0x36a26a(0x2fb)],{'value':s['ShapeFillEnum'][_0x36a26a(0x2b2)],'children':(0x0,r[_0x36a26a(0x396)])(_0x36a26a(0xeb),{'className':'univer-text-sm','children':_0x28d346['t']('shape-editor-ui.fill.solidFill')})}),(0x0,r[_0x36a26a(0x396)])(e[_0x36a26a(0x2fb)],{'value':s[_0x36a26a(0x247)][_0x36a26a(0x2ad)],'children':(0x0,r[_0x36a26a(0x396)])(_0x36a26a(0xeb),{'className':_0x36a26a(0x19b),'children':_0x28d346['t'](_0x36a26a(0x37a))})}),(0x0,r[_0x36a26a(0x396)])(e[_0x36a26a(0x2fb)],{'value':s[_0x36a26a(0x247)][_0x36a26a(0x1e9)],'children':(0x0,r[_0x36a26a(0x396)])('span',{'className':_0x36a26a(0x19b),'children':_0x28d346['t'](_0x36a26a(0x3f2))})})]}),_0x4ec64d===s['ShapeFillEnum'][_0x36a26a(0x2b2)]&&(0x0,r['jsxs'])('div',{'className':_0x36a26a(0x2a7),'children':[(0x0,r[_0x36a26a(0x2eb)])('div',{'className':_0x36a26a(0x1e1),'children':[(0x0,r[_0x36a26a(0x396)])(_0x36a26a(0xeb),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x28d346['t'](_0x36a26a(0x39f))}),(0x0,r[_0x36a26a(0x396)])(e[_0x36a26a(0x264)],{'disabled':_0x35201a,'overlay':(0x0,r[_0x36a26a(0x396)])(_0x36a26a(0x5ac),{'className':_0x36a26a(0x3e9),'children':(0x0,r[_0x36a26a(0x396)])(e[_0x36a26a(0x662)],{'value':_0x32279a,'onChange':_0x50e91b=>{const _0x589e0d=_0x36a26a;var _0x2c7ceb;_0xbf4155({'oldShapeData':{'fill':{'color':(_0x2c7ceb=_0x279801['fill'])==null?void 0x0:_0x2c7ceb[_0x589e0d(0x55a)]}}},{'fill':{'color':_0x50e91b}}),_0x4e4eb9(_0x50e91b),_0x201162(!0x1);}})}),'open':_0x3e602a,'onOpenChange':_0x201162,'children':(0x0,r[_0x36a26a(0x2eb)])('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[(0x0,r['jsx'])(t[_0x36a26a(0x32e)],{'className':_0x36a26a(0x256),'extend':{'colorChannel1':_0x32279a}}),(0x0,r[_0x36a26a(0x396)])(t[_0x36a26a(0x317)],{'className':(0x0,e['clsx'])(_0x36a26a(0xde),{'univer-rotate-180':_0x3e602a})})]})})]}),(0x0,r[_0x36a26a(0x2eb)])('div',{'className':_0x36a26a(0x263),'children':[(0x0,r['jsx'])(_0x36a26a(0xeb),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x28d346['t'](_0x36a26a(0x372))}),(0x0,r[_0x36a26a(0x396)])(_0x36a26a(0x5ac),{'className':_0x36a26a(0x1a5),'children':(0x0,r[_0x36a26a(0x396)])(_0x36a26a(0x5ac),{'className':'univer-w-20','children':(0x0,r[_0x36a26a(0x396)])(e[_0x36a26a(0xf1)],{'className':_0x36a26a(0x279),'value':_0x964765,'disabled':_0x35201a,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5adcff=>_0x5adcff+'%','parser':_0x860679=>(_0x860679==null?void 0x0:_0x860679['replace']('%',''))||'','onChange':_0x5b4f73=>{const _0x1ed655=_0x36a26a;let _0x1a8584=(0x64-Math[_0x1ed655(0x130)](0x0,Math[_0x1ed655(0x524)](0x64,_0x5b4f73==null?0x0:_0x5b4f73)))/0x64;_0x1cae0a(_0x1a8584),_0xbf4155({'oldShapeData':{'fill':{..._0x279801[_0x1ed655(0x653)],'fillType':_0x4ec64d}}},{'fill':{..._0x279801['fill'],'fillType':_0x4ec64d,'opacity':_0x1a8584}}),_0x9ff311[_0x1ed655(0x481)](i['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x9ff311['setContextValue'](i[_0x36a26a(0x16e)],!0x0),'onBlur':()=>{const _0x291b6a=_0x36a26a;_0x9ff311[_0x291b6a(0x481)](i[_0x291b6a(0x16e)],!0x1);}})})})]})]}),_0x4ec64d===s[_0x36a26a(0x247)]['GradientFill']&&(0x0,r[_0x36a26a(0x396)])(L,{'shapeData':_0x279801,'disableShapeOption':_0x35201a,'onUpdate':_0x187721=>{const _0x1032d7=_0x36a26a;_0xbf4155({'oldShapeData':{'fill':{..._0x279801[_0x1032d7(0x653)]}}},{'fill':{..._0x279801[_0x1032d7(0x653)],..._0x187721}});}}),_0x4ec64d===s[_0x36a26a(0x247)][_0x36a26a(0x1e9)]&&(0x0,r[_0x36a26a(0x396)])(N,{'shapeId':_0x534ca2,'shapeData':_0x279801,'disableShapeOption':_0x35201a,'onUpdateShapeData':_0xbf4155,'onUpdateShapeFillImage':_0x37c9e7})]});}function ee(_0x1e1bff){const _0x9b5afb=_0x5297e7;switch(_0x1e1bff){case s[_0x9b5afb(0x40b)][_0x9b5afb(0x5c8)]:return _0x9b5afb(0x400);case s[_0x9b5afb(0x40b)][_0x9b5afb(0x3dc)]:return _0x9b5afb(0x10a);case s[_0x9b5afb(0x40b)][_0x9b5afb(0x403)]:return'angular';case s[_0x9b5afb(0x40b)][_0x9b5afb(0x38b)]:return _0x9b5afb(0x57b);default:return _0x9b5afb(0x400);}}function I(_0x56a3ba){const _0x3ff7c4=_0x5297e7;switch(_0x56a3ba){case'linear':return s['ShapeGradientTypeEnum'][_0x3ff7c4(0x5c8)];case _0x3ff7c4(0x10a):return s['ShapeGradientTypeEnum'][_0x3ff7c4(0x3dc)];case _0x3ff7c4(0x36f):return s[_0x3ff7c4(0x40b)][_0x3ff7c4(0x403)];case _0x3ff7c4(0x57b):return s[_0x3ff7c4(0x40b)][_0x3ff7c4(0x38b)];default:return s[_0x3ff7c4(0x40b)]['Linear'];}}function L(_0x5ae2b3){const _0x3b9685=_0x5297e7;let {shapeData:_0x251f78,disableShapeOption:_0x1400dd,onUpdate:_0x50be15}=_0x5ae2b3,_0x5417b9=(0x0,n[_0x3b9685(0x4f3)])(()=>{const _0x305207=_0x3b9685;var _0x1d8819,_0x93cd33;let _0x17a931=_0x251f78[_0x305207(0x653)];return{'type':ee((_0x1d8819=_0x17a931==null?void 0x0:_0x17a931[_0x305207(0x61e)])==null?s[_0x305207(0x477)]['gradientType']:_0x1d8819),'angle':(_0x93cd33=_0x17a931==null?void 0x0:_0x17a931['gradientAngle'])==null?s['ShapeDefaultConfig']['gradientAngle']:_0x93cd33,'stops':_0x17a931!=null&&_0x17a931[_0x305207(0x5e7)]&&_0x17a931[_0x305207(0x5e7)][_0x305207(0x24d)]>=0x2?_0x17a931['gradientStops']['map'](_0x4a35fc=>({'color':_0x4a35fc[_0x305207(0x55a)],'offset':_0x4a35fc['position']*0x64,'opacity':_0x4a35fc[_0x305207(0x297)]})):[{'color':(_0x17a931==null?void 0x0:_0x17a931[_0x305207(0x55a)])||s[_0x305207(0x477)][_0x305207(0x653)],'offset':0x0},{'color':s[_0x305207(0x477)][_0x305207(0xf0)],'offset':0x64}]};},[_0x251f78[_0x3b9685(0x653)]]);return(0x0,r['jsx'])('div',{'className':_0x3b9685(0x61b),'children':(0x0,r[_0x3b9685(0x396)])(e['GradientColorPicker'],{'value':_0x5417b9,'onChange':_0x3bfe61=>{const _0x62f807=_0x3b9685;let _0xdffb07=I(_0x3bfe61[_0x62f807(0x3df)]),_0x2adef4=_0x3bfe61[_0x62f807(0x13b)];_0x50be15({'gradientType':_0xdffb07,'gradientAngle':_0x2adef4,'gradientStops':_0x3bfe61[_0x62f807(0x275)][_0x62f807(0x15b)](_0x4a5489=>({'color':_0x4a5489[_0x62f807(0x55a)],'position':_0x4a5489[_0x62f807(0x469)]/0x64,'opacity':_0x4a5489[_0x62f807(0x297)]}))});}})});}function R(_0x51e240){const _0x58ce34=_0x5297e7;var _0x4ab7b5,_0x1f18af,_0x13f7ec,_0x2469c4,_0x20fbe,_0x42b96c,_0xe058c7,_0x1cdb3d,_0x19c7fd,_0x5e18f4,_0x492f26,_0x13a9b9,_0x20817b,_0x3b8086,_0x1194d4,_0x42c49f,_0x84a58e;let _0x229ec6=(0x0,a[_0x58ce34(0x15c)])(i[_0x58ce34(0x415)]),_0x4d9ff7=(0x0,a[_0x58ce34(0x15c)])(i[_0x58ce34(0x545)]),{shapeData:_0x507a3c,isLineShape:_0x10a365,disableShapeOption:_0x1c85e8,onUpdateShapeData:_0x762017,onUpdateLineShapeData:_0x15a515}=_0x51e240,_0x54235b=_0x507a3c[_0x58ce34(0x352)],[_0x367576,_0x3c5692]=(0x0,n[_0x58ce34(0x38d)])((_0x4ab7b5=_0x54235b==null?void 0x0:_0x54235b['lineStrokeType'])==null?s[_0x58ce34(0x477)][_0x58ce34(0x232)]:_0x4ab7b5),[_0x595f10,_0x27a587]=(0x0,n[_0x58ce34(0x38d)])((_0x1f18af=_0x54235b==null?void 0x0:_0x54235b[_0x58ce34(0x55a)])==null?s[_0x58ce34(0x477)][_0x58ce34(0x352)]:_0x1f18af),[_0x57a440,_0x27498b]=(0x0,n[_0x58ce34(0x38d)])((_0x13f7ec=_0x54235b==null?void 0x0:_0x54235b[_0x58ce34(0x297)])==null?s[_0x58ce34(0x477)][_0x58ce34(0xea)]:_0x13f7ec),[_0x383b07,_0x5e16aa]=(0x0,n[_0x58ce34(0x38d)])((_0x2469c4=_0x54235b==null?void 0x0:_0x54235b['width'])==null?s[_0x58ce34(0x477)][_0x58ce34(0x399)]:_0x2469c4),[_0x32ea22,_0x483b11]=(0x0,n[_0x58ce34(0x38d)])((_0x20fbe=_0x54235b==null?void 0x0:_0x54235b[_0x58ce34(0x1ec)])==null?s[_0x58ce34(0x477)]['cornerRadius']:_0x20fbe),[_0x40f8c5,_0x20245c]=(0x0,n[_0x58ce34(0x38d)])((_0x42b96c=_0x54235b==null?void 0x0:_0x54235b['dashType'])==null?s['ShapeDefaultConfig'][_0x58ce34(0x322)]:_0x42b96c),[_0x29298e,_0x367b6b]=(0x0,n[_0x58ce34(0x38d)])((_0xe058c7=_0x54235b==null?void 0x0:_0x54235b['capType'])==null?s[_0x58ce34(0x477)]['lineCapType']:_0xe058c7),[_0x28d7d3,_0x44c778]=(0x0,n[_0x58ce34(0x38d)])((_0x1cdb3d=_0x54235b==null?void 0x0:_0x54235b['lineJoinType'])==null?s[_0x58ce34(0x477)][_0x58ce34(0x228)]:_0x1cdb3d),[_0x101d9d,_0x25e3bb]=(0x0,n[_0x58ce34(0x38d)])((_0x19c7fd=_0x54235b==null?void 0x0:_0x54235b[_0x58ce34(0xd4)])==null?s['ShapeDefaultConfig']['sketchType']:_0x19c7fd),_0x673315=_0x507a3c,[_0x4e5cb6,_0x4c1f43]=(0x0,n[_0x58ce34(0x38d)])((_0x5e18f4=(_0x492f26=_0x673315['ln'])==null||(_0x492f26=_0x492f26[_0x58ce34(0x44a)])==null?void 0x0:_0x492f26[_0x58ce34(0x3df)])==null?s['ShapeArrowTypeEnum'][_0x58ce34(0x299)]:_0x5e18f4),[_0x16785f,_0x5a4556]=(0x0,n[_0x58ce34(0x38d)])((_0x13a9b9=(_0x20817b=_0x673315['ln'])==null||(_0x20817b=_0x20817b[_0x58ce34(0x44a)])==null?void 0x0:_0x20817b[_0x58ce34(0x2cb)])==null?s[_0x58ce34(0x48c)]['Medium']:_0x13a9b9),[_0x233871,_0x2fdeeb]=(0x0,n[_0x58ce34(0x38d)])((_0x3b8086=(_0x1194d4=_0x673315['ln'])==null||(_0x1194d4=_0x1194d4[_0x58ce34(0x51f)])==null?void 0x0:_0x1194d4['type'])==null?s[_0x58ce34(0x34c)]['None']:_0x3b8086),[_0x3a9a32,_0x3caae4]=(0x0,n[_0x58ce34(0x38d)])((_0x42c49f=(_0x84a58e=_0x673315['ln'])==null||(_0x84a58e=_0x84a58e[_0x58ce34(0x51f)])==null?void 0x0:_0x84a58e['size'])==null?s['ShapeArrowSizeEnum'][_0x58ce34(0x259)]:_0x42c49f),[_0x5700d4,_0x6f4483]=(0x0,n[_0x58ce34(0x38d)])(!0x1),_0x2037fe=0x64-_0x57a440*0x64,_0x33fec5=[{'label':_0x229ec6['t']('shape-editor-ui.line.dashType.solid'),'value':String(s[_0x58ce34(0x154)]['Solid'])},{'label':_0x229ec6['t'](_0x58ce34(0x56d)),'value':String(s[_0x58ce34(0x154)][_0x58ce34(0x654)])},{'label':_0x229ec6['t']('shape-editor-ui.line.dashType.squareDot'),'value':String(s[_0x58ce34(0x154)][_0x58ce34(0x4b2)])},{'label':_0x229ec6['t']('shape-editor-ui.line.dashType.dash'),'value':String(s['ShapeLineDashEnum'][_0x58ce34(0x4ce)])},{'label':_0x229ec6['t']('shape-editor-ui.line.dashType.dashDot'),'value':String(s[_0x58ce34(0x154)][_0x58ce34(0x570)])},{'label':_0x229ec6['t'](_0x58ce34(0x231)),'value':String(s[_0x58ce34(0x154)][_0x58ce34(0x495)])},{'label':_0x229ec6['t'](_0x58ce34(0x51a)),'value':String(s['ShapeLineDashEnum'][_0x58ce34(0x334)])},{'label':_0x229ec6['t'](_0x58ce34(0x431)),'value':String(s[_0x58ce34(0x154)]['LongDashDotDot'])}],_0x221117=[{'label':_0x229ec6['t'](_0x58ce34(0x2e6)),'value':String(s[_0x58ce34(0x622)][_0x58ce34(0x240)])},{'label':_0x229ec6['t'](_0x58ce34(0x2c2)),'value':String(s['ShapeLineCapEnum'][_0x58ce34(0x4c3)])},{'label':_0x229ec6['t']('shape-editor-ui.line.capType.square'),'value':String(s[_0x58ce34(0x622)][_0x58ce34(0x16f)])}],_0x2165eb=[{'label':_0x229ec6['t'](_0x58ce34(0x655)),'value':String(s['ShapeSketchTypeEnum'][_0x58ce34(0x299)])},{'label':_0x229ec6['t'](_0x58ce34(0x4f5)),'value':String(s['ShapeSketchTypeEnum'][_0x58ce34(0x265)])},{'label':_0x229ec6['t'](_0x58ce34(0x360)),'value':String(s[_0x58ce34(0x620)]['Freehand'])},{'label':_0x229ec6['t'](_0x58ce34(0x518)),'value':String(s[_0x58ce34(0x620)]['HandDrawn'])}],_0x11e4ba=[{'label':_0x229ec6['t'](_0x58ce34(0x580)),'value':String(s[_0x58ce34(0x478)][_0x58ce34(0x423)])},{'label':_0x229ec6['t'](_0x58ce34(0x43b)),'value':String(s[_0x58ce34(0x478)][_0x58ce34(0x4c3)])},{'label':_0x229ec6['t'](_0x58ce34(0x3b9)),'value':String(s[_0x58ce34(0x478)][_0x58ce34(0x358)])}],_0x102b42=[{'label':_0x229ec6['t'](_0x58ce34(0x2b4)),'value':String(s[_0x58ce34(0x34c)][_0x58ce34(0x299)])},{'label':_0x229ec6['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(s['ShapeArrowTypeEnum'][_0x58ce34(0x1ed)])},{'label':_0x229ec6['t'](_0x58ce34(0x4be)),'value':String(s[_0x58ce34(0x34c)][_0x58ce34(0x3b8)])},{'label':_0x229ec6['t'](_0x58ce34(0x46e)),'value':String(s[_0x58ce34(0x34c)][_0x58ce34(0x23b)])},{'label':_0x229ec6['t'](_0x58ce34(0x37e)),'value':String(s[_0x58ce34(0x34c)]['DiamondArrow'])},{'label':_0x229ec6['t'](_0x58ce34(0x5fd)),'value':String(s[_0x58ce34(0x34c)][_0x58ce34(0x5c3)])}],_0x36030d=[{'label':_0x229ec6['t'](_0x58ce34(0x241)),'value':String(s['ShapeArrowSizeEnum'][_0x58ce34(0x2d8)])},{'label':_0x229ec6['t']('shape-editor-ui.line.arrowSize.medium'),'value':String(s[_0x58ce34(0x48c)][_0x58ce34(0x259)])},{'label':_0x229ec6['t']('shape-editor-ui.line.arrowSize.large'),'value':String(s[_0x58ce34(0x48c)]['Large'])}];return(0x0,r['jsxs'])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x62a),'children':[(0x0,r[_0x58ce34(0x2eb)])(e['RadioGroup'],{'value':String(_0x367576),'disabled':_0x1c85e8,'onChange':_0x176962=>{const _0xcd60c7=_0x58ce34;var _0x3e525e;_0x3c5692(Number(_0x176962)),_0x762017({'oldShapeData':{'stroke':{'lineStrokeType':(_0x3e525e=_0x507a3c[_0xcd60c7(0x352)])==null?void 0x0:_0x3e525e['lineStrokeType']}}},{'stroke':{'lineStrokeType':Number(_0x176962)}});},'direction':_0x58ce34(0x175),'children':[(0x0,r[_0x58ce34(0x396)])(e['Radio'],{'value':String(s[_0x58ce34(0x5ad)][_0x58ce34(0x309)]),'children':(0x0,r[_0x58ce34(0x396)])('span',{'className':'univer-text-sm','children':_0x229ec6['t'](_0x58ce34(0x3c3))})}),(0x0,r['jsx'])(e[_0x58ce34(0x2fb)],{'value':String(s[_0x58ce34(0x5ad)][_0x58ce34(0x5de)]),'children':(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':_0x58ce34(0x19b),'children':_0x229ec6['t'](_0x58ce34(0x4ff))})})]}),_0x367576!==s[_0x58ce34(0x5ad)][_0x58ce34(0x309)]&&(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x2a7),'children':[(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x1e1),'children':[(0x0,r['jsx'])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x229ec6['t'](_0x58ce34(0x55b))}),(0x0,r[_0x58ce34(0x396)])(e['Dropdown'],{'disabled':_0x1c85e8,'overlay':(0x0,r[_0x58ce34(0x396)])('div',{'className':'univer-rounded-lg\x20univer-p-3','children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0x662)],{'value':_0x595f10,'onChange':_0x5761e9=>{const _0x1f2024=_0x58ce34;var _0x135db1;_0x762017({'oldShapeData':{'stroke':{'color':(_0x135db1=_0x507a3c[_0x1f2024(0x352)])==null?void 0x0:_0x135db1[_0x1f2024(0x55a)]}}},{'stroke':{'color':_0x5761e9}}),_0x27a587(_0x5761e9),_0x6f4483(!0x1);}})}),'open':_0x5700d4,'onOpenChange':_0x6f4483,'children':(0x0,r['jsxs'])('a',{'className':_0x58ce34(0x5c7),'children':[(0x0,r['jsx'])(t[_0x58ce34(0x4e0)],{'className':_0x58ce34(0x256),'extend':{'colorChannel1':_0x595f10}}),(0x0,r[_0x58ce34(0x396)])(t['MoreDownIcon'],{'className':(0x0,e[_0x58ce34(0x461)])(_0x58ce34(0xde),{'univer-rotate-180':_0x5700d4})})]})})]}),(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x263),'children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x229ec6['t'](_0x58ce34(0x490))}),(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0x5ac),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x5f9),'children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0xf1)],{'className':_0x58ce34(0x279),'value':_0x2037fe,'disabled':_0x1c85e8,'min':0x0,'max':0x64,'formatter':_0x36ba2a=>_0x36ba2a+'%','parser':_0x4aa9f4=>(_0x4aa9f4==null?void 0x0:_0x4aa9f4[_0x58ce34(0x398)]('%',''))||'','onChange':_0x333893=>{const _0x51e625=_0x58ce34;var _0x30e22d;let _0xa75005=(0x64-Math[_0x51e625(0x130)](0x0,Math[_0x51e625(0x524)](0x64,_0x333893==null?0x0:_0x333893)))/0x64;_0x27498b(_0xa75005),_0x762017({'oldShapeData':{'stroke':{'opacity':(_0x30e22d=_0x507a3c[_0x51e625(0x352)])==null?void 0x0:_0x30e22d[_0x51e625(0x297)]}}},{'stroke':{'opacity':_0xa75005}}),_0x4d9ff7[_0x51e625(0x481)](i[_0x51e625(0x16e)],!0x1);},'onFocus':()=>_0x4d9ff7[_0x58ce34(0x481)](i[_0x58ce34(0x16e)],!0x0),'onBlur':_0x2344e7=>{const _0x55abad=_0x58ce34;_0x4d9ff7[_0x55abad(0x481)](i[_0x55abad(0x16e)],!0x1);}})})})]}),(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x263),'children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':_0x58ce34(0x1bf),'children':_0x229ec6['t'](_0x58ce34(0x3ce))}),(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x4a4),'children':(0x0,r['jsx'])(e[_0x58ce34(0xf1)],{'className':'univer-w-full','disabled':_0x1c85e8,'value':_0x383b07,'min':0.25,'max':0x64,'step':0.25,'onChange':_0x2fed13=>{const _0x1b9e61=_0x58ce34;if(!Number['isNaN'](_0x2fed13)&&_0x2fed13!==null){var _0x5ae142;_0x762017({'oldShapeData':{'stroke':{'width':(_0x5ae142=_0x507a3c[_0x1b9e61(0x352)])==null?void 0x0:_0x5ae142[_0x1b9e61(0x28e)]}}},{'stroke':{'width':_0x2fed13}});}_0x4d9ff7['setContextValue'](i[_0x1b9e61(0x16e)],!0x1);},'onFocus':()=>_0x4d9ff7['setContextValue'](i['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x1a26d7=>{const _0x4f1c73=_0x58ce34;_0x4d9ff7[_0x4f1c73(0x481)](i[_0x4f1c73(0x16e)],!0x1);}})})]}),_0x10a365&&(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r['jsx'])(_0x58ce34(0xeb),{'className':_0x58ce34(0x1bf),'children':_0x229ec6['t']('shape-editor-ui.line.cornerRadius')}),(0x0,r['jsx'])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x4a4),'children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0xf1)],{'className':'univer-w-full','disabled':_0x1c85e8,'value':_0x32ea22,'min':0x0,'step':0x1,'onChange':_0x5d5326=>{const _0x4f345b=_0x58ce34;var _0x3d44b7;let _0x57f39a=Math[_0x4f345b(0x130)](0x0,_0x5d5326==null?0x0:_0x5d5326);_0x483b11(_0x57f39a),_0x762017({'oldShapeData':{'stroke':{'cornerRadius':(_0x3d44b7=_0x507a3c[_0x4f345b(0x352)])==null?void 0x0:_0x3d44b7['cornerRadius']}}},{'stroke':{'cornerRadius':_0x57f39a}}),_0x4d9ff7[_0x4f345b(0x481)](i[_0x4f345b(0x16e)],!0x1);},'onFocus':()=>_0x4d9ff7[_0x58ce34(0x481)](i[_0x58ce34(0x16e)],!0x0),'onBlur':()=>{const _0x2ecbd9=_0x58ce34;_0x4d9ff7['setContextValue'](i[_0x2ecbd9(0x16e)],!0x1);}})})]}),(0x0,r['jsxs'])(_0x58ce34(0x5ac),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x229ec6['t']('shape-editor-ui.line.dashType.title')}),(0x0,r[_0x58ce34(0x396)])('div',{'className':_0x58ce34(0x383),'children':(0x0,r[_0x58ce34(0x396)])(e['Select'],{'className':_0x58ce34(0x279),'value':String(_0x40f8c5),'options':_0x33fec5,'disabled':_0x1c85e8,'onChange':_0x2edb67=>{const _0x121938=_0x58ce34;var _0x4ed14b;_0x20245c(Number(_0x2edb67)),_0x762017({'oldShapeData':{'stroke':{'dashType':(_0x4ed14b=_0x507a3c[_0x121938(0x352)])==null?void 0x0:_0x4ed14b['dashType']}}},{'stroke':{'dashType':Number(_0x2edb67)}});}})})]}),(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':_0x58ce34(0x1bf),'children':_0x229ec6['t'](_0x58ce34(0x4b7))}),(0x0,r[_0x58ce34(0x396)])('div',{'className':_0x58ce34(0x383),'children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0x533)],{'className':_0x58ce34(0x279),'value':String(_0x29298e),'options':_0x221117,'disabled':_0x1c85e8,'onChange':_0x1c66b3=>{const _0x553d8d=_0x58ce34;var _0x20bf69;_0x367b6b(Number(_0x1c66b3)),_0x762017({'oldShapeData':{'stroke':{'capType':(_0x20bf69=_0x507a3c[_0x553d8d(0x352)])==null?void 0x0:_0x20bf69[_0x553d8d(0x544)]}}},{'stroke':{'capType':Number(_0x1c66b3)}});}})})]}),(0x0,r[_0x58ce34(0x2eb)])('div',{'className':_0x58ce34(0x1e1),'children':[(0x0,r[_0x58ce34(0x396)])('span',{'className':_0x58ce34(0x1bf),'children':_0x229ec6['t'](_0x58ce34(0x4f9))}),(0x0,r['jsx'])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x383),'children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0x533)],{'className':_0x58ce34(0x279),'value':String(_0x28d7d3),'options':_0x11e4ba,'disabled':_0x1c85e8,'onChange':_0x68b625=>{const _0x550502=_0x58ce34;var _0x119f83;_0x44c778(Number(_0x68b625)),_0x762017({'oldShapeData':{'stroke':{'lineJoinType':(_0x119f83=_0x507a3c[_0x550502(0x352)])==null?void 0x0:_0x119f83['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x68b625)}});}})})]}),!_0x10a365&&(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x1e1),'children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x229ec6['t'](_0x58ce34(0x15e))}),(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0x5ac),{'className':'univer-w-28','children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0x533)],{'className':_0x58ce34(0x279),'value':String(_0x101d9d),'options':_0x2165eb,'disabled':_0x1c85e8,'onChange':_0x59744=>{const _0x3f7eac=_0x58ce34;var _0x214666;_0x25e3bb(Number(_0x59744)),_0x762017({'oldShapeData':{'stroke':{'sketchType':(_0x214666=_0x507a3c[_0x3f7eac(0x352)])==null?void 0x0:_0x214666[_0x3f7eac(0xd4)]}}},{'stroke':{'sketchType':Number(_0x59744)}});}})})]}),_0x10a365&&(0x0,r[_0x58ce34(0x2eb)])(r[_0x58ce34(0xd6)],{'children':[(0x0,r[_0x58ce34(0x2eb)])('div',{'className':_0x58ce34(0x1e1),'children':[(0x0,r['jsx'])(_0x58ce34(0xeb),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x229ec6['t'](_0x58ce34(0x479))}),(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0x5ac),{'className':'univer-w-28','children':(0x0,r[_0x58ce34(0x396)])(e['Select'],{'className':'univer-w-full','value':String(_0x4e5cb6),'options':_0x102b42,'onChange':_0x4490d4=>{const _0x4380b7=_0x58ce34;var _0x350c55;_0x4c1f43(Number(_0x4490d4));let _0x4a920e={'ln':{'startArrow':{'type':(_0x350c55=_0x507a3c['ln'])==null||(_0x350c55=_0x350c55['startArrow'])==null?void 0x0:_0x350c55[_0x4380b7(0x3df)]}}};_0x15a515==null||_0x15a515({'oldShapeData':_0x4a920e},{'ln':{'startArrow':{'type':Number(_0x4490d4)}}});}})})]}),(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x1e1),'children':[(0x0,r[_0x58ce34(0x396)])('span',{'className':_0x58ce34(0x1bf),'children':_0x229ec6['t'](_0x58ce34(0x3f0))}),(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x383),'children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0x533)],{'className':_0x58ce34(0x279),'value':String(_0x16785f),'options':_0x36030d,'onChange':_0x25892e=>{const _0x43be4e=_0x58ce34;var _0x502a03;_0x5a4556(Number(_0x25892e));let _0x15ddfb={'ln':{'startArrow':{'size':(_0x502a03=_0x507a3c['ln'])==null||(_0x502a03=_0x502a03[_0x43be4e(0x44a)])==null?void 0x0:_0x502a03[_0x43be4e(0x2cb)]}}};_0x15a515==null||_0x15a515({'oldShapeData':_0x15ddfb},{'ln':{'startArrow':{'size':Number(_0x25892e)}}});}})})]}),(0x0,r['jsxs'])('div',{'className':_0x58ce34(0x1e1),'children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x229ec6['t']('shape-editor-ui.line.endArrowType')}),(0x0,r['jsx'])(_0x58ce34(0x5ac),{'className':'univer-w-28','children':(0x0,r[_0x58ce34(0x396)])(e['Select'],{'className':_0x58ce34(0x279),'value':String(_0x233871),'options':_0x102b42,'onChange':_0x52dbed=>{const _0x4b7944=_0x58ce34;var _0x2df175;_0x2fdeeb(Number(_0x52dbed));let _0x4aa088={'ln':{'endArrow':{'type':(_0x2df175=_0x507a3c['ln'])==null||(_0x2df175=_0x2df175['endArrow'])==null?void 0x0:_0x2df175[_0x4b7944(0x3df)]}}};_0x15a515==null||_0x15a515({'oldShapeData':_0x4aa088},{'ln':{'endArrow':{'type':Number(_0x52dbed)}}});}})})]}),(0x0,r[_0x58ce34(0x2eb)])(_0x58ce34(0x5ac),{'className':_0x58ce34(0x1e1),'children':[(0x0,r[_0x58ce34(0x396)])(_0x58ce34(0xeb),{'className':_0x58ce34(0x1bf),'children':_0x229ec6['t'](_0x58ce34(0x673))}),(0x0,r['jsx'])(_0x58ce34(0x5ac),{'className':'univer-w-28','children':(0x0,r[_0x58ce34(0x396)])(e[_0x58ce34(0x533)],{'className':'univer-w-full','value':String(_0x3a9a32),'options':_0x36030d,'onChange':_0x344265=>{const _0x127efa=_0x58ce34;var _0x53086b;_0x3caae4(Number(_0x344265));let _0x230789={'ln':{'endArrow':{'size':(_0x53086b=_0x507a3c['ln'])==null||(_0x53086b=_0x53086b['endArrow'])==null?void 0x0:_0x53086b[_0x127efa(0x2cb)]}}};_0x15a515==null||_0x15a515({'oldShapeData':_0x230789},{'ln':{'endArrow':{'size':Number(_0x344265)}}});}})})]})]})]})]});}function z(_0x405d37){const _0x16c1e1=_0x5297e7;return Math[_0x16c1e1(0x5e8)](_0x405d37*0xa)/0xa;}function B(_0x5216fb){const _0x4ad7ba=_0x5297e7;var _0x2059b1,_0x3689c3,_0x16f54e,_0x12fe9f,_0xbe4f5f;let _0x276ca4=_0x5216fb[_0x4ad7ba(0x516)],_0x3473d3=_0x276ca4&&'dataModel'in _0x276ca4?(_0x2059b1=_0x276ca4['dataModel'])==null?void 0x0:_0x2059b1[_0x4ad7ba(0x2fd)]:void 0x0,_0x480411=_0x3473d3==null||(_0x3689c3=_0x3473d3[_0x4ad7ba(0x17b)])==null||(_0x3689c3=_0x3689c3[_0x4ad7ba(0x5bc)])==null||(_0x3689c3=_0x3689c3[_0x4ad7ba(0x176)](_0xe0c0c1=>{var _0x1e0daa,_0x28e065;return((_0x1e0daa=(_0x28e065=_0xe0c0c1['columnProperties'])==null?void 0x0:_0x28e065['length'])==null?0x0:_0x1e0daa)>0x0;}))==null?void 0x0:_0x3689c3['columnProperties'];return{'count':Math['max'](0x1,(_0x16f54e=_0x480411==null?void 0x0:_0x480411[_0x4ad7ba(0x24d)])==null?0x1:_0x16f54e),'spacing':z((_0x12fe9f=_0x480411==null||(_0xbe4f5f=_0x480411[0x0])==null?void 0x0:_0xbe4f5f[_0x4ad7ba(0x5eb)])==null?0x0:_0x12fe9f)};}function te(_0x4692d7,_0x5760b0){const _0x1044f2=_0x5297e7;var _0x2dd069,_0x53c22c;let _0x1570ec=_0x4692d7['shapeText'],_0x366ec6=_0x1570ec&&_0x1044f2(0x4aa)in _0x1570ec?_0x1570ec['dataModel']:void 0x0,_0x4e336d=_0x1570ec&&_0x1044f2(0x65a)in _0x1570ec?(_0x2dd069=_0x1570ec[_0x1044f2(0x65a)])==null?'':_0x2dd069:'',_0x4443c5=(_0x53c22c=_0x366ec6==null?void 0x0:_0x366ec6[_0x1044f2(0x2fd)])==null?{'id':(0x0,i[_0x1044f2(0x4bd)])(0x6),'body':{'dataStream':_0x4e336d+'\x0d\x0a'},'documentStyle':{}}:_0x53c22c,_0x27f058=i['RichTextBuilder'][_0x1044f2(0x671)](i['Tools'][_0x1044f2(0x1bb)](_0x4443c5))[_0x1044f2(0x2b7)]({'count':Math[_0x1044f2(0x130)](0x1,Math[_0x1044f2(0x5e8)](_0x5760b0[_0x1044f2(0x649)])),'spacing':Math[_0x1044f2(0x130)](0x0,_0x5760b0[_0x1044f2(0x298)])})[_0x1044f2(0x27d)]();return{..._0x4692d7,'shapeText':{..._0x1570ec==null?{'isHorizontal':!0x0}:_0x1570ec,'text':_0x4e336d,'dataModel':{..._0x366ec6==null?{}:_0x366ec6,'doc':_0x27f058}}};}function ne(_0x225cbc){const _0x633c91=_0x5297e7;let {shapeData:_0x1afc45,disableShapeOption:_0x5e3981,onUpdateShapeData:_0x2f5984}=_0x225cbc,_0x48d7f8=(0x0,a[_0x633c91(0x15c)])(i['LocaleService']),_0x1f4757=(0x0,s[_0x633c91(0x2c0)])(_0x1afc45),[_0x2cc0bc,_0xbef037]=(0x0,n['useState'])(_0x1f4757[_0x633c91(0x293)]),[_0x4b5614,_0x27a432]=(0x0,n[_0x633c91(0x38d)])(_0x1f4757[_0x633c91(0x3cf)]),[_0x343abb,_0x3e004e]=(0x0,n[_0x633c91(0x38d)])(_0x1f4757['textWrap']),[_0x40bebd,_0x5b53bc]=(0x0,n[_0x633c91(0x38d)])(()=>({'left':z(_0x1f4757[_0x633c91(0x4a6)][_0x633c91(0x376)]),'right':z(_0x1f4757['padding'][_0x633c91(0x4ec)]),'top':z(_0x1f4757[_0x633c91(0x4a6)]['top']),'bottom':z(_0x1f4757['padding'][_0x633c91(0x3ac)])})),[_0x3b16f2,_0x1b8822]=(0x0,n[_0x633c91(0x38d)])(()=>B(_0x1afc45)),_0x1324ae=_0x387163=>{const _0x8b0017=_0x633c91;_0x2f5984({'oldShapeData':_0x1afc45},(0x0,s[_0x8b0017(0x382)])(_0x1afc45,_0x387163));},_0x27c93d=_0x1a9d79=>{_0x5b53bc(_0x1a9d79),_0x1324ae({'padding':_0x1a9d79});},_0xaae8b5=_0x3e910d=>{_0x1b8822(_0x3e910d),_0x2f5984({'oldShapeData':_0x1afc45},te(_0x1afc45,_0x3e910d));},_0x59c7cd=[{'label':_0x48d7f8['t']('shape-editor-ui.textBox.textDirectionHorizontal'),'value':s[_0x633c91(0x585)][_0x633c91(0x2bd)]},{'label':_0x48d7f8['t']('shape-editor-ui.textBox.textDirectionVertical'),'value':s[_0x633c91(0x585)][_0x633c91(0x134)]}],_0x28a0a4=[{'label':_0x48d7f8['t'](_0x633c91(0x3b5)),'value':s[_0x633c91(0x548)][_0x633c91(0x52d)]},{'label':_0x48d7f8['t']('shape-editor-ui.textBox.autoFitShrink'),'value':s[_0x633c91(0x548)][_0x633c91(0x4ab)]},{'label':_0x48d7f8['t'](_0x633c91(0x4a7)),'value':s[_0x633c91(0x548)][_0x633c91(0x4f2)]}];return(0x0,r[_0x633c91(0x2eb)])('section',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-text-sm','children':[(0x0,r['jsxs'])(_0x633c91(0x1ea),{'className':_0x633c91(0x263),'children':[(0x0,r[_0x633c91(0x396)])(_0x633c91(0xeb),{'className':_0x633c91(0x3d0),'children':_0x48d7f8['t'](_0x633c91(0x4e4))}),(0x0,r['jsx'])(e[_0x633c91(0x533)],{'className':_0x633c91(0x26f),'disabled':_0x5e3981,'value':_0x2cc0bc,'options':_0x59c7cd,'onChange':_0x5bb51b=>{let _0x5c5f7a=_0x5bb51b;_0xbef037(_0x5c5f7a),_0x1324ae({'textDirection':_0x5c5f7a});}})]}),(0x0,r[_0x633c91(0x2eb)])(_0x633c91(0x1ea),{'className':_0x633c91(0x263),'children':[(0x0,r[_0x633c91(0x396)])(_0x633c91(0xeb),{'className':_0x633c91(0x3d0),'children':_0x48d7f8['t'](_0x633c91(0x2a9))}),(0x0,r[_0x633c91(0x396)])(e[_0x633c91(0x533)],{'className':_0x633c91(0x26f),'disabled':_0x5e3981,'value':_0x4b5614,'options':_0x28a0a4,'onChange':_0x3b4d6e=>{let _0x148d5a=_0x3b4d6e;_0x27a432(_0x148d5a),_0x1324ae({'autoFitType':_0x148d5a});}})]}),(0x0,r[_0x633c91(0x396)])(e['Checkbox'],{'disabled':_0x5e3981,'checked':_0x343abb===s[_0x633c91(0x3af)]['Square'],'onChange':_0x36feae=>{const _0x17b792=_0x633c91;let _0xae71bc=_0x36feae?s[_0x17b792(0x3af)][_0x17b792(0x16f)]:s['ShapeTextWrapType'][_0x17b792(0x299)];_0x3e004e(_0xae71bc),_0x1324ae({'textWrap':_0xae71bc});},'children':(0x0,r[_0x633c91(0x396)])('span',{'className':_0x633c91(0x2ea),'children':_0x48d7f8['t'](_0x633c91(0x2c9))})}),(0x0,r[_0x633c91(0x2eb)])(_0x633c91(0x189),{'className':'univer-grid\x20univer-gap-2','children':[(0x0,r[_0x633c91(0x396)])('header',{'className':_0x633c91(0x4d1),'children':_0x48d7f8['t'](_0x633c91(0x300))}),(0x0,r[_0x633c91(0x396)])(_0x633c91(0x5ac),{'className':_0x633c91(0x513),'children':['left',_0x633c91(0x4ec),'top','bottom'][_0x633c91(0x15b)](_0x3cf950=>(0x0,r['jsxs'])(_0x633c91(0x1ea),{'children':[(0x0,r[_0x633c91(0x396)])(_0x633c91(0xeb),{'className':_0x633c91(0x4ee),'children':_0x48d7f8['t'](_0x633c91(0x300)+_0x3cf950[0x0][_0x633c91(0x2a2)]()+_0x3cf950['slice'](0x1))}),(0x0,r[_0x633c91(0x396)])(e[_0x633c91(0xf1)],{'disabled':_0x5e3981,'min':0x0,'precision':0x1,'value':_0x40bebd[_0x3cf950],'onChange':_0x1911dd=>{const _0x200f02=_0x633c91;_0x1911dd!=null&&_0x27c93d({..._0x40bebd,[_0x3cf950]:Math[_0x200f02(0x130)](0x0,_0x1911dd)});}})]},_0x3cf950))})]}),(0x0,r[_0x633c91(0x2eb)])(_0x633c91(0x189),{'className':_0x633c91(0x676),'children':[(0x0,r['jsx'])(_0x633c91(0x116),{'className':_0x633c91(0x4d1),'children':_0x48d7f8['t'](_0x633c91(0x192))}),(0x0,r['jsxs'])(_0x633c91(0x5ac),{'className':_0x633c91(0x513),'children':[(0x0,r[_0x633c91(0x2eb)])(_0x633c91(0x1ea),{'children':[(0x0,r[_0x633c91(0x396)])('span',{'className':_0x633c91(0x4ee),'children':_0x48d7f8['t'](_0x633c91(0x159))}),(0x0,r[_0x633c91(0x396)])(e[_0x633c91(0xf1)],{'disabled':_0x5e3981,'min':0x1,'precision':0x0,'value':_0x3b16f2[_0x633c91(0x649)],'onChange':_0x45121c=>{const _0x3cda92=_0x633c91;_0x45121c!=null&&_0xaae8b5({..._0x3b16f2,'count':Math[_0x3cda92(0x130)](0x1,Math[_0x3cda92(0x5e8)](_0x45121c))});}})]}),(0x0,r[_0x633c91(0x2eb)])(_0x633c91(0x1ea),{'children':[(0x0,r[_0x633c91(0x396)])(_0x633c91(0xeb),{'className':'univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x48d7f8['t'](_0x633c91(0x422))}),(0x0,r[_0x633c91(0x396)])(e['InputNumber'],{'disabled':_0x5e3981,'min':0x0,'precision':0x1,'value':_0x3b16f2[_0x633c91(0x298)],'onChange':_0x538250=>{const _0x5b27b7=_0x633c91;_0x538250!=null&&_0xaae8b5({..._0x3b16f2,'spacing':Math[_0x5b27b7(0x130)](0x0,_0x538250)});}})]})]})]})]});}function re(_0x59e891){const _0x168aa2=_0x5297e7;let {shapeData:_0xd0f2e2,shapeId:_0x2aceec,shapeType:_0xb0b608,disableShapeOption:_0x51782c,positionEditor:_0x4a6902,onUpdateShapeData:_0x35b3eb,onUpdateLineShapeData:_0x6a68b4,onUpdateShapeFillImage:_0x86bb44}=_0x59e891,_0xb0a251=(0x0,a['useDependency'])(i['LocaleService']),_0x4c76ec=(0x0,s[_0x168aa2(0x40c)])(_0xb0b608),[_0x4a54e1,_0x3dd95b]=(0x0,n[_0x168aa2(0x38d)])(0x0),_0x3a0d4a=[{'label':(0x0,r[_0x168aa2(0x396)])('div',{'children':_0xb0a251['t'](_0x168aa2(0x2bb))}),'children':(0x0,r[_0x168aa2(0x396)])(_0x168aa2(0x189),{'className':_0x168aa2(0x50b),'children':(0x0,r[_0x168aa2(0x396)])(F,{'shapeId':_0x2aceec,'shapeData':_0xd0f2e2,'isLineShape':_0x4c76ec,'disableShapeOption':_0x51782c,'onUpdateShapeData':_0x35b3eb,'onUpdateShapeFillImage':_0x86bb44})})},{'label':(0x0,r[_0x168aa2(0x396)])(_0x168aa2(0x5ac),{'children':_0xb0a251['t'](_0x168aa2(0x554))}),'children':(0x0,r[_0x168aa2(0x396)])(_0x168aa2(0x189),{'className':_0x168aa2(0x50b),'children':(0x0,r['jsx'])(R,{'shapeId':_0x2aceec,'shapeData':_0xd0f2e2,'isLineShape':_0x4c76ec,'disableShapeOption':_0x51782c,'onUpdateShapeData':_0x35b3eb,'onUpdateLineShapeData':_0x6a68b4})})},{'label':(0x0,r['jsx'])(_0x168aa2(0x5ac),{'children':_0xb0a251['t'](_0x168aa2(0x621))}),'children':(0x0,r['jsx'])(_0x168aa2(0x189),{'className':_0x168aa2(0x50b),'children':(0x0,r['jsx'])(ne,{'shapeId':_0x2aceec,'shapeData':_0xd0f2e2,'disableShapeOption':_0x51782c,'onUpdateShapeData':_0x35b3eb,'onUpdateLineShapeData':_0x6a68b4})})}];return(0x0,r[_0x168aa2(0x2eb)])('div',{'className':_0x168aa2(0x492),'children':[(0x0,r[_0x168aa2(0x2eb)])('div',{'className':_0x168aa2(0xd8),'children':[(0x0,r[_0x168aa2(0x2eb)])(_0x168aa2(0x5ac),{'className':(0x0,e[_0x168aa2(0x461)])(_0x168aa2(0x5b1),_0x4a54e1===0x0?_0x168aa2(0x211):'univer-text-gray-500'),'onClick':()=>_0x3dd95b(0x0),'children':[_0xb0a251['t']('shape-editor-ui.shapeStyle'),(0x0,r[_0x168aa2(0x396)])(_0x168aa2(0x5ac),{'className':(0x0,e[_0x168aa2(0x461)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x4a54e1===0x0,'univer-bg-transparent':_0x4a54e1!==0x0})})]}),(0x0,r[_0x168aa2(0x2eb)])('div',{'className':(0x0,e[_0x168aa2(0x461)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',{'univer-text-primary-600':_0x4a54e1===0x1,'univer-text-gray-500':_0x4a54e1!==0x1}),'onClick':()=>_0x3dd95b(0x1),'children':[_0xb0a251['t'](_0x168aa2(0x420)),(0x0,r[_0x168aa2(0x396)])('div',{'className':(0x0,e[_0x168aa2(0x461)])(_0x168aa2(0x47a),{'univer-bg-primary-600':_0x4a54e1===0x1,'univer-bg-transparent':_0x4a54e1!==0x1})})]})]}),(0x0,r['jsx'])(_0x168aa2(0x5ac),{'className':_0x168aa2(0x581),'children':_0x4a54e1===0x0?(0x0,r[_0x168aa2(0x396)])(e[_0x168aa2(0x118)],{'items':_0x3a0d4a}):_0x4a6902})]});}function V(_0x42b601,_0x529c43){const _0x5cf12d=_0x5297e7;typeof(_0x42b601==null?void 0x0:_0x42b601['fs'])==_0x5cf12d(0x311)&&Number[_0x5cf12d(0x4cd)](_0x42b601['fs'])&&(_0x42b601['fs']*=_0x529c43);}function ie(_0x201d4c,_0x1f3c8a){const _0x515518=_0x5297e7;if(!_0x1f3c8a)return;let _0x8638a8=_0x1f3c8a[_0x515518(0x3cf)]===s['ShapeTextAutoFitType'][_0x515518(0x4ab)]&&typeof _0x1f3c8a[_0x515518(0x5e2)]==_0x515518(0x311)&&Number[_0x515518(0x4cd)](_0x1f3c8a['fontScale'])&&_0x1f3c8a[_0x515518(0x5e2)]>0x0?_0x1f3c8a[_0x515518(0x5e2)]/0x186a0:0x1;if(_0x8638a8!==0x1){var _0x597d86,_0xe32a4,_0x5ee7b3,_0x3b1cf4;_0x201d4c['documentStyle']&&(_0x201d4c[_0x515518(0x1bc)]={..._0x201d4c[_0x515518(0x1bc)],'textStyle':J(_0x201d4c['documentStyle'][_0x515518(0x377)])}),(_0x597d86=_0x201d4c[_0x515518(0x17b)])!=null&&_0x597d86[_0x515518(0x305)]&&(_0x201d4c[_0x515518(0x17b)][_0x515518(0x305)]=_0x201d4c[_0x515518(0x17b)][_0x515518(0x305)][_0x515518(0x15b)](_0x15a8e4=>({..._0x15a8e4,'ts':J(_0x15a8e4['ts'])}))),V((_0xe32a4=_0x201d4c['documentStyle'])==null?void 0x0:_0xe32a4[_0x515518(0x377)],_0x8638a8),(_0x5ee7b3=_0x201d4c[_0x515518(0x17b)])==null||(_0x5ee7b3=_0x5ee7b3[_0x515518(0x305)])==null||_0x5ee7b3[_0x515518(0x535)](_0x422e4c=>V(_0x422e4c['ts'],_0x8638a8)),(_0x3b1cf4=_0x201d4c[_0x515518(0x17b)])==null||(_0x3b1cf4=_0x3b1cf4['paragraphs'])==null||_0x3b1cf4[_0x515518(0x535)](_0x2edf95=>{const _0x1e09db=_0x515518;var _0x3f17a8;V((_0x3f17a8=_0x2edf95[_0x1e09db(0x104)])==null?void 0x0:_0x3f17a8['textStyle'],_0x8638a8);});}let _0x26d28b=_0x1f3c8a['autoFitType']===s[_0x515518(0x548)][_0x515518(0x4ab)]&&typeof _0x1f3c8a['lineSpaceReduction']==_0x515518(0x311)&&Number[_0x515518(0x4cd)](_0x1f3c8a['lineSpaceReduction'])&&_0x1f3c8a[_0x515518(0x3f9)]<0x186a0?Math[_0x515518(0x130)](0x0,_0x1f3c8a[_0x515518(0x3f9)])/0x186a0:0x0;if(_0x26d28b>0x0){var _0x319e26;(_0x319e26=_0x201d4c[_0x515518(0x17b)])==null||(_0x319e26=_0x319e26[_0x515518(0x2e5)])==null||_0x319e26['forEach'](_0x55b148=>{const _0xb12540=_0x515518;var _0x4b9f1d;_0x55b148[_0xb12540(0x104)]!=null||(_0x55b148['paragraphStyle']={}),_0x55b148[_0xb12540(0x104)][_0xb12540(0x5d9)]=((_0x4b9f1d=_0x55b148[_0xb12540(0x104)][_0xb12540(0x5d9)])==null?0x1:_0x4b9f1d)*(0x1-_0x26d28b);});}}function ae(_0x4f972b,_0x12ee96){const _0x556983=_0x5297e7;if((_0x12ee96==null?void 0x0:_0x12ee96['autoFitType'])!==s[_0x556983(0x548)][_0x556983(0x4ab)])return;let _0x5a1678=typeof _0x12ee96['fontScale']==_0x556983(0x311)&&Number[_0x556983(0x4cd)](_0x12ee96[_0x556983(0x5e2)])&&_0x12ee96[_0x556983(0x5e2)]>0x0?_0x12ee96[_0x556983(0x5e2)]/0x186a0:0x1;if(_0x5a1678!==0x1){var _0x52ec4a,_0x469d61,_0x561702;V((_0x52ec4a=_0x4f972b[_0x556983(0x1bc)])==null?void 0x0:_0x52ec4a[_0x556983(0x377)],0x1/_0x5a1678),(_0x469d61=_0x4f972b[_0x556983(0x17b)])==null||(_0x469d61=_0x469d61[_0x556983(0x305)])==null||_0x469d61[_0x556983(0x535)](_0xdc3f3f=>V(_0xdc3f3f['ts'],0x1/_0x5a1678)),(_0x561702=_0x4f972b[_0x556983(0x17b)])==null||(_0x561702=_0x561702[_0x556983(0x2e5)])==null||_0x561702[_0x556983(0x535)](_0x14fe2a=>{const _0x47a32b=_0x556983;var _0xba82d4;V((_0xba82d4=_0x14fe2a[_0x47a32b(0x104)])==null?void 0x0:_0xba82d4[_0x47a32b(0x377)],0x1/_0x5a1678);});}let _0x447788=0x1-(typeof _0x12ee96[_0x556983(0x3f9)]=='number'&&Number[_0x556983(0x4cd)](_0x12ee96[_0x556983(0x3f9)])&&_0x12ee96['lineSpaceReduction']<0x186a0?Math['max'](0x0,_0x12ee96[_0x556983(0x3f9)])/0x186a0:0x0);if(_0x447788>0x0&&_0x447788!==0x1){var _0x53f6e5;(_0x53f6e5=_0x4f972b[_0x556983(0x17b)])==null||(_0x53f6e5=_0x53f6e5['paragraphs'])==null||_0x53f6e5[_0x556983(0x535)](_0x592886=>{const _0x42fa63=_0x556983;var _0x5a8bd6;let _0x2902d8=(_0x5a8bd6=_0x592886[_0x42fa63(0x104)])==null?void 0x0:_0x5a8bd6[_0x42fa63(0x5d9)];typeof _0x2902d8==_0x42fa63(0x311)&&Number['isFinite'](_0x2902d8)&&(_0x592886[_0x42fa63(0x104)]['lineSpacing']=_0x2902d8/_0x447788);});}}function oe(_0x34f4d9,_0x1e951a=_0x5297e7(0x4cb)){const _0x31857c=_0x5297e7;var _0x1e40b3;let _0x17d9a9=((_0x1e40b3=_0x34f4d9[_0x31857c(0x65a)])==null?'':_0x1e40b3)[_0x31857c(0x398)](/\r\n/g,'\x0a')[_0x31857c(0x398)](/\r/g,'\x0a')[_0x31857c(0x357)]('\x0a'),_0x2e88f4=_0x17d9a9[_0x31857c(0x11a)]('\x0d')+'\x0d\x0a',_0x34b2ec=Math[_0x31857c(0x130)](0x0,_0x2e88f4['length']-0x2),_0x24aea6=new Set(),_0x538e5a=se(_0x34f4d9),_0x5aca7a=ce(_0x34f4d9),_0x592cb1=H(_0x34f4d9),_0x37eaed=0x0;return{'id':_0x1e951a,'body':{'dataStream':_0x2e88f4,'paragraphs':_0x17d9a9[_0x31857c(0x15b)](_0x191948=>{const _0x3cfa59=_0x31857c;let _0x1e4563=_0x37eaed+_0x191948['length'];return _0x37eaed+=_0x191948[_0x3cfa59(0x24d)]+0x1,{'startIndex':_0x1e4563,'paragraphId':(0x0,i[_0x3cfa59(0x5b0)])(_0x24aea6),'paragraphStyle':{'horizontalAlign':_0x5aca7a,'textStyle':_0x538e5a}};}),'textRuns':[{'st':0x0,'ed':Math[_0x31857c(0x130)](0x1,_0x34b2ec),'ts':_0x538e5a}]},'documentStyle':{'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'marginTop':0x0,'textStyle':_0x538e5a,'renderConfig':{'horizontalAlign':_0x5aca7a,'verticalAlign':_0x592cb1}}};}function se(_0x30733c){const _0x112c07=_0x5297e7;return{..._0x30733c['fontFamily']?{'ff':_0x30733c[_0x112c07(0x610)]}:{},..._0x30733c[_0x112c07(0x220)]===void 0x0?{}:{'fs':_0x30733c[_0x112c07(0x220)]},..._0x30733c['color']?{'cl':{'rgb':_0x30733c[_0x112c07(0x55a)]}}:{},..._0x30733c[_0x112c07(0x125)]===void 0x0?{}:{'bl':_0x30733c[_0x112c07(0x125)]?i[_0x112c07(0x667)][_0x112c07(0x17c)]:i['BooleanNumber'][_0x112c07(0x35e)]},..._0x30733c[_0x112c07(0x48a)]===void 0x0?{}:{'it':_0x30733c[_0x112c07(0x48a)]?i[_0x112c07(0x667)][_0x112c07(0x17c)]:i['BooleanNumber'][_0x112c07(0x35e)]},..._0x30733c[_0x112c07(0x3ea)]===void 0x0?{}:{'ul':{'s':_0x30733c[_0x112c07(0x3ea)]?i['BooleanNumber'][_0x112c07(0x17c)]:i[_0x112c07(0x667)][_0x112c07(0x35e)]}}};}function ce(_0x3a7b49){const _0x372f1c=_0x5297e7;let _0x3fad7a=_0x3a7b49[_0x372f1c(0x60a)];return _0x3fad7a==='center'?i[_0x372f1c(0x4a2)][_0x372f1c(0x38e)]:_0x3fad7a===_0x372f1c(0x4ec)?i[_0x372f1c(0x4a2)][_0x372f1c(0x2f1)]:i[_0x372f1c(0x4a2)]['LEFT'];}function H(_0x4677a6){const _0x3e567f=_0x5297e7;let _0x19c509=_0x4677a6[_0x3e567f(0x341)];return _0x19c509===_0x3e567f(0x17f)?i[_0x3e567f(0x11d)][_0x3e567f(0x1b0)]:_0x19c509===_0x3e567f(0x3ac)?i['VerticalAlign'][_0x3e567f(0x3fd)]:i['VerticalAlign']['TOP'];}function U(_0x4dbe33){const _0x927aaf=_0x5297e7;var _0x205994;let _0x2cd020=(_0x205994=_0x4dbe33[_0x927aaf(0x17b)])==null?void 0x0:_0x205994[_0x927aaf(0x2e5)],_0x1fcca6,_0x3d2172=!0x1;if(!_0x2cd020)return{'hasParagraphAlign':_0x3d2172,'isMixed':!0x1};for(let _0x5c977e of _0x2cd020){var _0x5956fa;let _0x2ad5cd=(_0x5956fa=_0x5c977e['paragraphStyle'])==null?void 0x0:_0x5956fa[_0x927aaf(0x60a)];if(_0x2ad5cd!==void 0x0){if(!_0x3d2172){_0x1fcca6=_0x2ad5cd,_0x3d2172=!0x0;continue;}if(_0x1fcca6!==_0x2ad5cd)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x1fcca6,'hasParagraphAlign':_0x3d2172,'isMixed':!0x1};}function W(_0x5dce10,_0x49cc9b={}){const _0x1563fe=_0x5297e7;var _0x529d69,_0x4fe9e4,_0x47caa6;let _0x516538=(_0x529d69=_0x5dce10[_0x1563fe(0x1bc)])==null?void 0x0:_0x529d69[_0x1563fe(0xec)],_0x4b440a=U(_0x5dce10);return{'horizontalAlign':_0x4b440a[_0x1563fe(0x3e7)]?_0x4b440a[_0x1563fe(0x251)]?void 0x0:_0x4b440a[_0x1563fe(0x60a)]:(_0x4fe9e4=_0x516538==null?void 0x0:_0x516538[_0x1563fe(0x60a)])==null?_0x49cc9b[_0x1563fe(0x60a)]:_0x4fe9e4,'verticalAlign':(_0x47caa6=_0x516538==null?void 0x0:_0x516538[_0x1563fe(0x341)])==null?_0x49cc9b['verticalAlign']:_0x47caa6};}function le(_0x512282,_0x35bf87){const _0x498711=_0x5297e7;var _0x143776;let _0x5ac19c=(_0x143776=_0x512282[_0x498711(0x1bc)])==null?{}:_0x143776,_0x4861b3={..._0x5ac19c[_0x498711(0xec)]};if(_0x35bf87[_0x498711(0x341)]!==void 0x0&&(_0x4861b3['verticalAlign']=_0x35bf87[_0x498711(0x341)]),_0x35bf87[_0x498711(0x60a)]!==void 0x0){var _0x37dda6;_0x4861b3[_0x498711(0x60a)]=_0x35bf87[_0x498711(0x60a)];let _0x273f2a=(_0x37dda6=_0x512282[_0x498711(0x17b)])==null?void 0x0:_0x37dda6['paragraphs'];if(_0x273f2a){for(let _0x8ceb10 of _0x273f2a)_0x8ceb10[_0x498711(0x104)]={..._0x8ceb10[_0x498711(0x104)],'horizontalAlign':_0x35bf87[_0x498711(0x60a)]};}}_0x512282[_0x498711(0x1bc)]={..._0x5ac19c,'renderConfig':Object[_0x498711(0x482)](_0x4861b3)[_0x498711(0x24d)]>0x0?_0x4861b3:void 0x0};}function ue(_0x5c266e){const _0x4c9957=_0x5297e7;var _0x220bc6,_0xc648b7,_0x2b89bf,_0x71f77b;let _0x472aa8=(_0x220bc6=(_0xc648b7=_0x5c266e[_0x4c9957(0x17b)])==null||(_0xc648b7=_0xc648b7['dataStream'])==null?void 0x0:_0xc648b7[_0x4c9957(0x24d)])==null?0x0:_0x220bc6,_0x534470=(_0x2b89bf=_0x5c266e[_0x4c9957(0x17b)])==null?void 0x0:_0x2b89bf[_0x4c9957(0x5bc)];if(_0x534470!=null&&_0x534470[_0x4c9957(0x24d)])for(let _0x2d935b of _0x534470){var _0x3d5527;_0x2d935b[_0x4c9957(0x4ca)]=(_0x3d5527=_0x2d935b['gridType'])==null?i[_0x4c9957(0x254)][_0x4c9957(0x2cc)]:_0x3d5527;}else _0x5c266e[_0x4c9957(0x17b)]&&(_0x5c266e[_0x4c9957(0x17b)]['sectionBreaks']=[{'sectionId':(0x0,i[_0x4c9957(0x632)])(new Set()),'startIndex':Math[_0x4c9957(0x130)](0x0,_0x472aa8-0x1),'gridType':i['GridType']['DEFAULT']}]);let _0x581404=(_0x71f77b=_0x5c266e[_0x4c9957(0x17b)])==null?void 0x0:_0x71f77b[_0x4c9957(0x2e5)];if(_0x581404)for(let _0x1125f4 of _0x581404){var _0x26b009,_0x3db355,_0x2a6f58,_0x49c07b,_0x4f20d1,_0x3c14de,_0x529d39,_0x3b3ffa;_0x1125f4[_0x4c9957(0x104)]={..._0x1125f4['paragraphStyle'],'lineSpacing':(_0x26b009=(_0x3db355=_0x1125f4[_0x4c9957(0x104)])==null?void 0x0:_0x3db355[_0x4c9957(0x5d9)])==null?0x1:_0x26b009,'snapToGrid':(_0x2a6f58=(_0x49c07b=_0x1125f4[_0x4c9957(0x104)])==null?void 0x0:_0x49c07b[_0x4c9957(0x5a2)])==null?i['BooleanNumber'][_0x4c9957(0x35e)]:_0x2a6f58,'spaceAbove':(_0x4f20d1=(_0x3c14de=_0x1125f4[_0x4c9957(0x104)])==null?void 0x0:_0x3c14de['spaceAbove'])==null?{'v':0x0}:_0x4f20d1,'spaceBelow':(_0x529d39=(_0x3b3ffa=_0x1125f4['paragraphStyle'])==null?void 0x0:_0x3b3ffa[_0x4c9957(0x329)])==null?{'v':0x0}:_0x529d39};}}function G(_0xdbc367,_0x485b38,_0x2bb752=new Set()){const _0x536245=_0x5297e7;var _0x3c727e;let _0x4a66b1=(_0x3c727e=_0xdbc367['body'])==null?void 0x0:_0x3c727e['sectionBreaks'];if(!(!(_0x4a66b1!=null&&_0x4a66b1[_0x536245(0x24d)])||!_0x485b38))for(let _0x36fde0 of _0x4a66b1){let _0x8384eb={..._0x485b38,..._0x36fde0[_0x536245(0xec)]},_0x42bb9a=_0x485b38;for(let _0x2c8bd4 of _0x2bb752)Object[_0x536245(0x483)][_0x536245(0x46a)][_0x536245(0x16d)](_0x42bb9a,_0x2c8bd4)&&(_0x8384eb[_0x2c8bd4]=_0x42bb9a[_0x2c8bd4]);_0x36fde0[_0x536245(0xec)]={..._0x8384eb};}}function de(_0xb10ddc){const _0x4c0c06=_0x5297e7;var _0x1cf981;let _0x360ae5=(_0x1cf981=_0xb10ddc[_0x4c0c06(0x17b)])==null?void 0x0:_0x1cf981['sectionBreaks'];if(_0x360ae5!=null&&_0x360ae5['length'])for(let _0x16f79d of _0x360ae5){if(!_0x16f79d[_0x4c0c06(0xec)])continue;let _0x3c687a={..._0x16f79d[_0x4c0c06(0xec)]};delete _0x3c687a['centerAngle'],delete _0x3c687a[_0x4c0c06(0x2a3)],delete _0x3c687a[_0x4c0c06(0x1e4)],delete _0x3c687a[_0x4c0c06(0x60a)],delete _0x3c687a['verticalAlign'],delete _0x3c687a['shapeTextOpticalVerticalAlign'],_0x16f79d['renderConfig']=Object['keys'](_0x3c687a)[_0x4c0c06(0x24d)]>0x0?_0x3c687a:void 0x0;}}function fe(_0x257400){const _0x423a57=_0x5297e7;var _0x19a101;let _0x211976=_0x257400[_0x423a57(0x17b)],_0x43d7e2=_0x211976==null?void 0x0:_0x211976[_0x423a57(0x2e5)],_0x5843ec=_0x211976==null?void 0x0:_0x211976['dataStream'];if(!_0x211976||!_0x5843ec)return;let _0x461426=[];for(let _0x4fb8ae=0x0;_0x4fb8ae<_0x5843ec[_0x423a57(0x24d)];_0x4fb8ae++)_0x5843ec[_0x4fb8ae]==='\x0d'&&_0x461426[_0x423a57(0x217)](_0x4fb8ae);if(!_0x461426[_0x423a57(0x24d)])return;let _0x3c3195=new Set((_0x19a101=_0x43d7e2==null?void 0x0:_0x43d7e2[_0x423a57(0x15b)](_0x4bf29e=>_0x4bf29e[_0x423a57(0x3de)])['filter'](Boolean))==null?[]:_0x19a101),_0x363937=new Set(),_0x28494e=_0x461426[_0x423a57(0x15b)](_0x134af4=>{const _0x49be76=_0x423a57;var _0x218f21;let _0x560bb1=(_0x218f21=_0x43d7e2==null?void 0x0:_0x43d7e2[_0x49be76(0xd9)]((_0x2ff721,_0x5d653f)=>!_0x363937['has'](_0x5d653f)&&_0x2ff721[_0x49be76(0x4f0)]===_0x134af4))==null?-0x1:_0x218f21;if(!(_0x560bb1<0x0))return _0x363937[_0x49be76(0x1ab)](_0x560bb1),_0x43d7e2==null?void 0x0:_0x43d7e2[_0x560bb1];}),_0x123fa3=0x0;_0x211976['paragraphs']=_0x28494e['map']((_0x16a649,_0x669679)=>{const _0x4d0b16=_0x423a57;var _0x371afd,_0x2ffab0;let _0x323d37=_0x16a649;for(;!_0x323d37&&_0x123fa3<((_0x371afd=_0x43d7e2==null?void 0x0:_0x43d7e2[_0x4d0b16(0x24d)])==null?0x0:_0x371afd);){let _0x4dbfad=_0x123fa3++;_0x363937[_0x4d0b16(0x511)](_0x4dbfad)||(_0x363937[_0x4d0b16(0x1ab)](_0x4dbfad),_0x323d37=_0x43d7e2==null?void 0x0:_0x43d7e2[_0x4dbfad]);}return{..._0x323d37,'startIndex':_0x461426[_0x669679],'paragraphId':(_0x2ffab0=_0x323d37==null?void 0x0:_0x323d37[_0x4d0b16(0x3de)])==null?(0x0,i[_0x4d0b16(0x5b0)])(_0x3c3195):_0x2ffab0};});}function K(_0x4cdb98,_0x563efe){const _0x3825cf=_0x5297e7;var _0x41799e,_0x424e52,_0xa020bf,_0x1bf024,_0x5125ee,_0x148e83,_0x48ccfd,_0x153e99,_0x389716;let {isHorizontal:_0x1b81e9,textRect:_0x20433e}=_0x563efe,_0x2b4427=_0x1b81e9?_0x20433e[_0x3825cf(0x28e)]:_0x20433e[_0x3825cf(0x609)],_0x251511=q(_0x4cdb98,_0x1b81e9?_0x20433e[_0x3825cf(0x609)]:_0x20433e['width']),_0x1c89b0=me(_0x4cdb98);ie(_0x1c89b0,_0x563efe[_0x3825cf(0x22e)]);let _0x1095dc=(_0x41799e=_0x1c89b0['documentStyle'])==null?{}:_0x41799e,_0x280481={..._0x1095dc[_0x3825cf(0xec)],'wrapStrategy':(_0x424e52=(_0xa020bf=_0x563efe['wrapStrategy'])==null?(_0x1bf024=_0x1095dc['renderConfig'])==null?void 0x0:_0x1bf024['wrapStrategy']:_0xa020bf)==null?i['WrapStrategy'][_0x3825cf(0x2ba)]:_0x424e52,'zeroWidthParagraphBreak':(_0x5125ee=(_0x148e83=_0x1095dc[_0x3825cf(0xec)])==null?void 0x0:_0x148e83[_0x3825cf(0x346)])==null?i[_0x3825cf(0x667)][_0x3825cf(0x17c)]:_0x5125ee,'shapeTextOpticalVerticalAlign':_0x1b81e9?i[_0x3825cf(0x667)][_0x3825cf(0x35e)]:i[_0x3825cf(0x667)]['TRUE']};_0x1b81e9?(delete _0x280481[_0x3825cf(0x36c)],delete _0x280481[_0x3825cf(0x2a3)]):(_0x280481[_0x3825cf(0x36c)]=c[_0x3825cf(0x2c1)],_0x280481[_0x3825cf(0x2a3)]=c[_0x3825cf(0x2c1)]),_0x1c89b0[_0x3825cf(0x1bc)]={..._0x1095dc,'documentFlavor':i[_0x3825cf(0x210)][_0x3825cf(0x3d1)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2b4427,'height':_0x251511},'renderConfig':_0x280481},fe(_0x1c89b0),ue(_0x1c89b0);let _0x29b4a1=W(_0x1c89b0,_0x563efe);return le(_0x1c89b0,{'horizontalAlign':_0x29b4a1['horizontalAlign'],'verticalAlign':(_0x48ccfd=_0x563efe['verticalAlign'])==null?_0x29b4a1[_0x3825cf(0x341)]:_0x48ccfd}),(_0x153e99=_0x1c89b0[_0x3825cf(0x1bc)])==null||(_0x153e99=_0x153e99[_0x3825cf(0xec)])==null||delete _0x153e99['horizontalAlign'],G(_0x1c89b0,(_0x389716=_0x1c89b0[_0x3825cf(0x1bc)])==null?void 0x0:_0x389716[_0x3825cf(0xec)],new Set([_0x3825cf(0xe1),'verticalAlign',_0x3825cf(0x1e4)])),_0x1c89b0;}function q(_0x52dbaa,_0x4fe658){const _0x1ca0bf=_0x5297e7;var _0x4da838,_0x29b182;return(_0x4da838=(_0x29b182=_0x52dbaa[_0x1ca0bf(0x17b)])==null||(_0x29b182=_0x29b182['sectionBreaks'])==null?void 0x0:_0x29b182[_0x1ca0bf(0x419)](_0x357bae=>{const _0x27f085=_0x1ca0bf;var _0x3899f4,_0x20cc53;return((_0x3899f4=(_0x20cc53=_0x357bae[_0x27f085(0x4c0)])==null?void 0x0:_0x20cc53[_0x27f085(0x24d)])==null?0x0:_0x3899f4)>0x1;}))!=null&&_0x4da838?Math['max'](0x1,_0x4fe658):0x1/0x0;}function pe(_0x39c1e6,_0x21a727={}){const _0x5b74c6=_0x5297e7;var _0x311419,_0x29120c,_0x3a3d94;let _0x315124=me(_0x39c1e6);ae(_0x315124,_0x21a727[_0x5b74c6(0x22e)]);let _0x4ea5cc=(_0x311419=_0x315124[_0x5b74c6(0x1bc)])==null?{}:_0x311419,_0x1ed1d9={..._0x4ea5cc['renderConfig']},_0x219589=W(_0x315124,_0x21a727),_0x2e3b03=(_0x29120c=_0x21a727[_0x5b74c6(0x60a)])==null?_0x219589[_0x5b74c6(0x60a)]:_0x29120c,_0x2e0a65=(_0x3a3d94=_0x21a727[_0x5b74c6(0x341)])==null?_0x219589[_0x5b74c6(0x341)]:_0x3a3d94;delete _0x1ed1d9[_0x5b74c6(0x36c)],delete _0x1ed1d9['vertexAngle'],delete _0x1ed1d9['wrapStrategy'];let _0x3993f3=_0x1ed1d9['shapeTextOpticalVerticalAlign'];return(_0x3993f3===i['BooleanNumber'][_0x5b74c6(0x17c)]||_0x3993f3===!0x0||_0x3993f3===i[_0x5b74c6(0x667)]['FALSE']||_0x3993f3===!0x1)&&delete _0x1ed1d9[_0x5b74c6(0xe1)],_0x315124[_0x5b74c6(0x1bc)]={..._0x4ea5cc,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object['keys'](_0x1ed1d9)[_0x5b74c6(0x24d)]>0x0?_0x1ed1d9:void 0x0},le(_0x315124,{'horizontalAlign':_0x2e3b03,'verticalAlign':_0x2e0a65}),de(_0x315124),_0x315124;}function me(_0x4ed3e1){const _0x46ba97=_0x5297e7;var _0x3471ec,_0x1209ac;return{..._0x4ed3e1,'body':_0x4ed3e1[_0x46ba97(0x17b)]?{..._0x4ed3e1[_0x46ba97(0x17b)],'paragraphs':(_0x3471ec=_0x4ed3e1['body'][_0x46ba97(0x2e5)])==null?void 0x0:_0x3471ec[_0x46ba97(0x15b)](_0xdc6477=>({..._0xdc6477,'paragraphStyle':J(_0xdc6477[_0x46ba97(0x104)])})),'sectionBreaks':(_0x1209ac=_0x4ed3e1['body'][_0x46ba97(0x5bc)])==null?void 0x0:_0x1209ac[_0x46ba97(0x15b)](_0x5960f8=>({..._0x5960f8,'renderConfig':J(_0x5960f8['renderConfig'])}))}:_0x4ed3e1[_0x46ba97(0x17b)],'documentStyle':_0x4ed3e1[_0x46ba97(0x1bc)]?{..._0x4ed3e1[_0x46ba97(0x1bc)],'renderConfig':J(_0x4ed3e1[_0x46ba97(0x1bc)][_0x46ba97(0xec)])}:_0x4ed3e1[_0x46ba97(0x1bc)]};}function J(_0x2271eb){const _0xe9c0dc=_0x5297e7;return Array[_0xe9c0dc(0x182)](_0x2271eb)?_0x2271eb['map'](_0x18989b=>J(_0x18989b)):!_0x2271eb||typeof _0x2271eb!=_0xe9c0dc(0x666)?_0x2271eb:Object[_0xe9c0dc(0x238)](Object['entries'](_0x2271eb)['map'](([_0x475606,_0x161e86])=>[_0x475606,J(_0x161e86)]));}function Y(_0x24dd70){let {isRichText:_0x580425,..._0x4f8efe}=_0x24dd70==null?{}:_0x24dd70;return _0x4f8efe;}function he(_0x32cf1f){const _0x4e2f82=_0x5297e7;return _0x32cf1f[_0x4e2f82(0x398)](/\r\n/g,'\x0a')[_0x4e2f82(0x398)](/\r/g,'\x0a');}function X(_0x4e1f3e){const _0x52b06c=_0x5297e7;if(_0x4e1f3e&&'text'in _0x4e1f3e&&typeof _0x4e1f3e['text']==_0x52b06c(0x1e7))return _0x4e1f3e[_0x52b06c(0x65a)];}function Z(_0x2478d2){const _0x52c296=_0x5297e7;if(!_0x2478d2||!('isRichText'in _0x2478d2)||_0x2478d2[_0x52c296(0x11f)]!==!0x1)return;let _0x2cdaa4=_0x2478d2;return{..._0x2478d2[_0x52c296(0x610)]?{'ff':_0x2478d2[_0x52c296(0x610)]}:{},..._0x2478d2['fontSize']===void 0x0?{}:{'fs':_0x2478d2[_0x52c296(0x220)]},..._0x2478d2[_0x52c296(0x55a)]?{'cl':{'rgb':_0x2478d2[_0x52c296(0x55a)]}}:{},..._0x2478d2['bold']===void 0x0?{}:{'bl':_0x2478d2['bold']?i['BooleanNumber'][_0x52c296(0x17c)]:i[_0x52c296(0x667)]['FALSE']},..._0x2478d2['italic']===void 0x0?{}:{'it':_0x2478d2['italic']?i[_0x52c296(0x667)][_0x52c296(0x17c)]:i[_0x52c296(0x667)]['FALSE']},..._0x2478d2[_0x52c296(0x3ea)]===void 0x0?{}:{'ul':{'s':_0x2478d2[_0x52c296(0x3ea)]?i[_0x52c296(0x667)]['TRUE']:i[_0x52c296(0x667)][_0x52c296(0x35e)]}},..._0x2cdaa4[_0x52c296(0x257)]===void 0x0?{}:{'st':{'s':_0x2cdaa4['strikethrough']?i[_0x52c296(0x667)]['TRUE']:i[_0x52c296(0x667)][_0x52c296(0x35e)]}},..._0x2cdaa4[_0x52c296(0x16a)]===void 0x0?{}:{'textFill':_0x2cdaa4[_0x52c296(0x16a)]}};}function ge(_0x16cc11,_0x248bd7=i[_0x5297e7(0x4a2)]['LEFT'],_0x527aa9=''){const _0x44889c=_0x5297e7;let _0x3c6cbd=he(_0x527aa9)['split']('\x0a'),_0xa48c91=_0x3c6cbd[_0x44889c(0x11a)]('\x0d')+'\x0d\x0a',_0xa2559d=Math[_0x44889c(0x130)](0x0,_0xa48c91['length']-0x2),_0x18e700=new Set(),_0x37118e=0x0,_0x196476=_0x3c6cbd[_0x44889c(0x15b)](_0x49ca2e=>{const _0x3c23c7=_0x44889c;let _0x55f093={'startIndex':_0x37118e+_0x49ca2e[_0x3c23c7(0x24d)],'paragraphId':(0x0,i['createParagraphId'])(_0x18e700),'paragraphStyle':{'horizontalAlign':_0x248bd7}};return _0x37118e+=_0x49ca2e[_0x3c23c7(0x24d)]+0x1,_0x55f093;});return{'id':_0x44889c(0x1db),'body':{'dataStream':_0xa48c91,'textRuns':_0x16cc11?[{'st':0x0,'ed':Math[_0x44889c(0x130)](0x1,_0xa2559d),'ts':{..._0x16cc11}}]:[],'paragraphs':_0x196476},'documentStyle':{'textStyle':_0x16cc11?{..._0x16cc11}:void 0x0}};}function _e(_0x2bf06d,_0x3740fa){const _0x4d25c1=_0x5297e7;var _0x56cf32,_0x338dca,_0x32625d;let _0x3f8d51=_0x2bf06d[_0x4d25c1(0x516)],_0x5efe1a=A(_0x3f8d51&&_0x4d25c1(0x4aa)in _0x3f8d51?_0x3f8d51['dataModel']:void 0x0),_0x2e0973=(_0x56cf32=(_0x338dca=_0x3740fa['horizontalAlign'])==null?_0x5efe1a==null?void 0x0:_0x5efe1a['ha']:_0x338dca)==null?i[_0x4d25c1(0x4a2)][_0x4d25c1(0x64a)]:_0x56cf32,_0x504d81={...Z(_0x3f8d51),..._0x3740fa[_0x4d25c1(0x377)]},_0x32de64=Object[_0x4d25c1(0x482)](_0x504d81)[_0x4d25c1(0x24d)]>0x0;if(_0x5efe1a!=null&&_0x5efe1a[_0x4d25c1(0x2fd)]){var _0x486164,_0x138f7e;return{'va':(_0x486164=_0x5efe1a['va'])==null?i[_0x4d25c1(0x11d)][_0x4d25c1(0x32b)]:_0x486164,'ha':(_0x138f7e=_0x5efe1a['ha'])==null?i[_0x4d25c1(0x4a2)][_0x4d25c1(0x64a)]:_0x138f7e,'doc':me(_0x5efe1a['doc'])};}return{'va':i[_0x4d25c1(0x11d)]['TOP'],'ha':_0x2e0973,'doc':ge(_0x32de64?_0x504d81:void 0x0,_0x2e0973,(_0x32625d=X(_0x3f8d51))==null?'':_0x32625d)};}function ve(_0x217631,_0x22fa11){const _0x3a2722=_0x5297e7;var _0x4e0323,_0x3d2829,_0x56676f;let _0x245356=_0x217631[_0x3a2722(0x516)],_0x44de36=Y(_0x245356),_0x495915=_0x245356&&_0x3a2722(0x4aa)in _0x245356&&_0x245356['dataModel']&&typeof _0x245356[_0x3a2722(0x4aa)]=='object'?_0x245356[_0x3a2722(0x4aa)]:{},_0x501492=X(_0x245356),_0xcfdaf9=_e(_0x217631,_0x22fa11),_0x192860=(_0x4e0323=_0x22fa11['horizontalAlign'])==null?_0xcfdaf9['ha']:_0x4e0323,_0x1adbe7=(_0x3d2829=_0x22fa11[_0x3a2722(0x341)])==null?_0xcfdaf9['va']:_0x3d2829,_0x1c7820=_0xcfdaf9[_0x3a2722(0x2fd)];if(_0x22fa11[_0x3a2722(0x377)]&&_0x1c7820){var _0x50f423,_0x331f80;_0x1c7820['documentStyle']={..._0x1c7820[_0x3a2722(0x1bc)],'textStyle':{...(_0x50f423=_0x1c7820['documentStyle'])==null?void 0x0:_0x50f423[_0x3a2722(0x377)],..._0x22fa11[_0x3a2722(0x377)]}};let _0x5f2e30=(_0x331f80=_0x1c7820[_0x3a2722(0x17b)])==null?void 0x0:_0x331f80[_0x3a2722(0x305)];if(_0x5f2e30){for(let _0x355abe of _0x5f2e30)_0x355abe['ts']={..._0x355abe['ts'],..._0x22fa11[_0x3a2722(0x377)]};}}return(0x0,s['applyShapeTextAlignment'])({'shapeText':{..._0x44de36,'isHorizontal':(_0x56676f=_0x245356==null?void 0x0:_0x245356[_0x3a2722(0x59f)])==null?!0x0:_0x56676f,..._0x501492===void 0x0?{}:{'text':_0x501492},'dataModel':{..._0x495915,'va':_0x1adbe7,'ha':_0x192860,'doc':_0x1c7820}}},{..._0x22fa11[_0x3a2722(0x60a)]===void 0x0?null:{'horizontalAlign':_0x192860},..._0x22fa11['verticalAlign']===void 0x0?null:{'verticalAlign':_0x1adbe7}});}const ye=_0x5297e7(0x1fc),be=_0x5297e7(0x1c9),xe=_0x5297e7(0x1cd),Se=_0x5297e7(0x319),Ce={'none':s[_0x5297e7(0x247)]['NoFill'],'solid':s[_0x5297e7(0x247)][_0x5297e7(0x2b2)],'gradient':s[_0x5297e7(0x247)][_0x5297e7(0x2ad)],'picture':s[_0x5297e7(0x247)][_0x5297e7(0x1e9)]};function we(_0xc58489){const _0x45418d=_0x5297e7;return _0xc58489 instanceof HTMLElement?!!_0xc58489[_0x45418d(0x31a)](_0x45418d(0x462)):!0x1;}function Q(_0x4bbee0){const _0x3f4d19=_0x5297e7;we(_0x4bbee0[_0x3f4d19(0x34f)])||_0x4bbee0[_0x3f4d19(0x169)]();}function $(_0x5552ed){const _0x33053b=_0x5297e7;_0x5552ed[_0x33053b(0x540)](),Q(_0x5552ed);}function Te(_0x451e20){const _0x3062fe=_0x5297e7;let _0x5a12a4=(0x0,n[_0x3062fe(0x459)])(!0x1),_0x1dd130=(0x0,n['useRef'])(null);return{'handleOpenChange':_0x5b8bd9=>{const _0x18e9fa=_0x3062fe;!_0x5b8bd9&&_0x5a12a4[_0x18e9fa(0x3c5)]||_0x451e20(_0x5b8bd9);},'markInternalInteraction':()=>{const _0x37e8b1=_0x3062fe;_0x5a12a4['current']=!0x0,_0x1dd130[_0x37e8b1(0x3c5)]&&clearTimeout(_0x1dd130[_0x37e8b1(0x3c5)]),_0x1dd130[_0x37e8b1(0x3c5)]=setTimeout(()=>{const _0x551103=_0x37e8b1;_0x5a12a4[_0x551103(0x3c5)]=!0x1,_0x1dd130[_0x551103(0x3c5)]=null;},0x1f4);}};}function Ee(_0x45d07b){const _0xbd444d=_0x5297e7;return(0x0,r[_0xbd444d(0x396)])(_0xbd444d(0xeb),{'className':(0x0,e[_0xbd444d(0x461)])('univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-leading-none',_0x45d07b[_0xbd444d(0x474)]),'children':_0x45d07b[_0xbd444d(0x40a)]});}function De(_0x4aae3c){const _0x3dab32=_0x5297e7;return(0x0,r[_0x3dab32(0x396)])('div',{'className':_0x3dab32(0x1a2),'children':_0x4aae3c[_0x3dab32(0x40a)]});}function Oe(_0x2e034a){const _0x1fdd46=_0x5297e7;var _0x22a0a8;return(0x0,r[_0x1fdd46(0x396)])(_0x1fdd46(0x5ac),{..._0x2e034a['dataAttributes'],'onMouseDown':_0x5a13d7=>{const _0x483fd9=_0x1fdd46;if(_0x2e034a[_0x483fd9(0x3ff)]){_0x2e034a[_0x483fd9(0x3ff)](_0x5a13d7);return;}_0x5a13d7['stopPropagation'](),we(_0x5a13d7['target'])||_0x5a13d7[_0x483fd9(0x169)]();},'className':(0x0,e[_0x1fdd46(0x461)])(_0x1fdd46(0x5b2),e[_0x1fdd46(0x48f)],(_0x22a0a8=_0x2e034a[_0x1fdd46(0x4b8)])==null?_0x1fdd46(0x5e0):_0x22a0a8,_0x2e034a[_0x1fdd46(0x474)]),'children':_0x2e034a[_0x1fdd46(0x40a)]});}function ke(_0x5be577){const _0x3d8727=_0x5297e7;var _0x5153df,_0x4ca2ff;let _0x532162=(0x0,a['useDependency'])(i[_0x3d8727(0x415)]),_0x388e6e=_0x5be577[_0x3d8727(0x3dd)]?_0x532162['t'](_0x5be577['titleKey']):(_0x5153df=_0x5be577[_0x3d8727(0x202)])==null?'':_0x5153df;return(0x0,r[_0x3d8727(0x396)])(e[_0x3d8727(0x1c6)],{'title':_0x388e6e,'placement':_0x3d8727(0x3ac),'children':(0x0,r[_0x3d8727(0x396)])(_0x3d8727(0x1c0),{'type':_0x3d8727(0x1c0),'aria-label':_0x388e6e,'aria-expanded':_0x5be577[_0x3d8727(0x3bf)],'disabled':_0x5be577['disabled'],'onClick':_0x5be577['onClick'],'onMouseDown':_0x5be577[_0x3d8727(0x3ff)],'onPointerDown':_0x5be577[_0x3d8727(0x5f8)],'className':(0x0,e['clsx'])(_0x3d8727(0x2c4),(_0x4ca2ff=_0x5be577[_0x3d8727(0x471)])==null?_0x3d8727(0x669):_0x4ca2ff,_0x5be577[_0x3d8727(0x474)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x5be577['active']}),'children':_0x5be577[_0x3d8727(0x40a)]})});}function Ae(_0x3a2f56){const _0x27b165=_0x5297e7;var _0x43bc5f;return(0x0,r[_0x27b165(0x2eb)])(ke,{'title':_0x3a2f56['title'],'titleKey':_0x3a2f56[_0x27b165(0x3dd)],'active':_0x3a2f56[_0x27b165(0x677)],'ariaExpanded':_0x3a2f56[_0x27b165(0x677)],'className':_0x3a2f56[_0x27b165(0x474)],'sizeClassName':(_0x43bc5f=_0x3a2f56[_0x27b165(0x471)])==null?_0x27b165(0x2ff):_0x43bc5f,'onMouseDown':_0x3a2f56[_0x27b165(0x3ff)],'onPointerDown':_0x3a2f56[_0x27b165(0x5f8)],'children':[_0x3a2f56[_0x27b165(0x15f)],(0x0,r['jsx'])(t[_0x27b165(0x317)],{'className':_0x27b165(0x294)})]});}function je(_0x54d71f){const _0xcbe8d3=_0x5297e7;let _0x5bf0ae=a[_0xcbe8d3(0x551)][_0xcbe8d3(0x15b)](_0x25f938=>({'label':_0x25f938[_0xcbe8d3(0x1ea)],'value':String(_0x25f938[_0xcbe8d3(0x600)])}));return(0x0,r[_0xcbe8d3(0x396)])(e[_0xcbe8d3(0x533)],{'className':(0x0,e['clsx'])(_0xcbe8d3(0x155),_0x54d71f['className']),'value':String(_0x54d71f['value']),'options':_0x5bf0ae,'onChange':_0x38da6b=>{const _0x5e31f5=_0xcbe8d3;var _0x3f4d99;let _0x83e9f9=Number(_0x38da6b);Number[_0x5e31f5(0x38f)](_0x83e9f9)||_0x54d71f[_0x5e31f5(0x23e)](_0x83e9f9),(_0x3f4d99=_0x54d71f[_0x5e31f5(0x347)])==null||_0x3f4d99['call'](_0x54d71f);}});}function Me(_0x21bde7){const _0x5e7802=_0x5297e7;let {title:_0x243c55,open:_0x77a91,disabled:_0x1bb2cd,icon:_0xb53a26,overlay:_0x4baa6f,popoverClassName:_0xc159f,onApply:_0x37e86a,onOpenChange:_0x33160c}=_0x21bde7,_0x4dd099=_0x5e7802(0x5ca);return(0x0,r['jsxs'])(_0x5e7802(0x5ac),{'className':'univer-flex\x20univer-h-6\x20univer-items-center','children':[(0x0,r[_0x5e7802(0x396)])(e['Tooltip'],{'title':_0x243c55,'placement':_0x5e7802(0x3ac),'children':(0x0,r['jsx'])(_0x5e7802(0x1c0),{'type':_0x5e7802(0x1c0),'aria-label':_0x243c55,'disabled':_0x1bb2cd,'onClick':_0x37e86a,'className':(0x0,e[_0x5e7802(0x461)])(_0x4dd099,'univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none\x20rtl:univer-rounded-l-none\x20rtl:univer-rounded-r-md',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x77a91}),'children':_0xb53a26})}),(0x0,r[_0x5e7802(0x396)])(e[_0x5e7802(0x264)],{'disabled':_0x1bb2cd,'open':_0x77a91,'className':_0xc159f,'onOpenChange':_0x33160c,'overlay':_0x4baa6f,'children':(0x0,r[_0x5e7802(0x396)])('span',{'children':(0x0,r['jsx'])(e['Tooltip'],{'title':_0x243c55,'placement':_0x5e7802(0x3ac),'children':(0x0,r[_0x5e7802(0x396)])(_0x5e7802(0x1c0),{'type':_0x5e7802(0x1c0),'aria-label':_0x243c55,'disabled':_0x1bb2cd,'className':(0x0,e[_0x5e7802(0x461)])(_0x4dd099,_0x5e7802(0x404),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x77a91}),'children':(0x0,r[_0x5e7802(0x396)])(t['MoreDownIcon'],{'className':(0x0,e[_0x5e7802(0x461)])(_0x5e7802(0x520),{'univer-rotate-180':_0x77a91})})})})})})]});}function Ne(_0x20f862){const _0x2a5ffd=_0x5297e7;switch(_0x20f862){case s[_0x2a5ffd(0x154)][_0x2a5ffd(0x654)]:case s['ShapeLineDashEnum']['SquareDot']:return _0x2a5ffd(0x611);case s[_0x2a5ffd(0x154)][_0x2a5ffd(0x4ce)]:return _0x2a5ffd(0x531);case s[_0x2a5ffd(0x154)][_0x2a5ffd(0x570)]:return _0x2a5ffd(0x424);case s[_0x2a5ffd(0x154)][_0x2a5ffd(0x495)]:return _0x2a5ffd(0x3bb);case s[_0x2a5ffd(0x154)][_0x2a5ffd(0x334)]:return _0x2a5ffd(0x386);case s['ShapeLineDashEnum'][_0x2a5ffd(0x4e3)]:return _0x2a5ffd(0x266);case s[_0x2a5ffd(0x154)][_0x2a5ffd(0x527)]:default:return;}}function Pe(_0x4a9c51){const _0xb458a7=_0x5297e7;let {lineStrokeType:_0x42daa3,dashType:_0x1c5c8c,color:_0x4a6a4b=_0xb458a7(0x49d),width:_0x5dc806=0x2,className:_0x228199}=_0x4a9c51;return _0x42daa3===s['ShapeLineTypeEnum']['NoLine']?(0x0,r[_0xb458a7(0x2eb)])('span',{'className':(0x0,e['clsx'])(_0xb458a7(0x5ed),_0x228199),'children':[(0x0,r[_0xb458a7(0x396)])(_0xb458a7(0xeb),{'className':'univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300'}),(0x0,r[_0xb458a7(0x396)])(_0xb458a7(0xeb),{'className':_0xb458a7(0x28c)})]}):(0x0,r[_0xb458a7(0x396)])(_0xb458a7(0x1d3),{'className':(0x0,e[_0xb458a7(0x461)])(_0xb458a7(0x416),_0x228199),'viewBox':_0xb458a7(0xd7),'aria-hidden':_0xb458a7(0x10d),'children':(0x0,r[_0xb458a7(0x396)])(_0xb458a7(0x4d4),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x4a6a4b,'strokeWidth':Math[_0xb458a7(0x130)](0x1,Math[_0xb458a7(0x524)](0x4,_0x5dc806)),'strokeDasharray':Ne(_0x1c5c8c),'strokeLinecap':_0x1c5c8c===s[_0xb458a7(0x154)]['RoundDot']?'round':'butt'})});}function Fe(_0x30d892){const _0x559db7=_0x5297e7;return(0x0,r['jsx'])(_0x559db7(0xeb),{'className':_0x559db7(0x4b0),'children':(0x0,r[_0x559db7(0x396)])(Pe,{'dashType':_0x30d892[_0x559db7(0x4cc)],'color':_0x30d892[_0x559db7(0x55a)],'width':_0x30d892['width']})});}const Ie=[_0x5297e7(0x58b),_0x5297e7(0x2b6),_0x5297e7(0x574)],Le={'min':0x1,'max':0xa,'step':0x1};function Re(_0x4e8da5){const _0x5d244c=_0x5297e7;let {labelKey:_0x322c03,value:_0x93d67e,min:_0x5b59df,max:_0x54b81c,step:_0x26c582,disabled:_0x4b8df9,suffix:_0x3b5db1='',onChange:_0x570110}=_0x4e8da5;return(0x0,r[_0x5d244c(0x2eb)])(_0x5d244c(0x5ac),{'className':_0x5d244c(0x3bc),'children':[(0x0,r[_0x5d244c(0x2eb)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x5d244c(0x396)])('span',{'className':_0x5d244c(0x4ad),'children':(0x0,a[_0x5d244c(0x15c)])(i[_0x5d244c(0x415)])['t'](_0x322c03)}),(0x0,r[_0x5d244c(0x2eb)])(_0x5d244c(0xeb),{'className':_0x5d244c(0x499),'children':[_0x93d67e,_0x3b5db1]})]}),(0x0,r[_0x5d244c(0x396)])(_0x5d244c(0x37d),{'type':_0x5d244c(0x5cb),'min':_0x5b59df,'max':_0x54b81c,'step':_0x26c582,'value':_0x93d67e,'disabled':_0x4b8df9,'onChange':_0x4ab455=>_0x570110(Number(_0x4ab455[_0x5d244c(0x34f)][_0x5d244c(0x600)])),'className':_0x5d244c(0x3fb)})]});}function ze(_0x5f2800){const _0x13bd53=_0x5297e7;var _0x516f47,_0xf81a5,_0x151105,_0x99d3b2,_0x159817;let {titleKey:_0x4146d2,shapeData:_0x2ddcbe,disabled:_0x5b4193,resetLabelKey:_0x4777de='shape-editor-ui.toolbar.resetColor',modeOptions:_0x1f19ce=Ie,showDashDropdown:_0x40f327=!0x0,fallbackColor:_0x1dfd04=be,widthRange:_0x3d8a77=Le,onReset:_0x56093a,onRequestClose:_0x4f859e,onUpdateShapeData:_0x3ddd17}=_0x5f2800,_0x230884=(0x0,a[_0x13bd53(0x15c)])(i[_0x13bd53(0x415)]),_0x50da34=_0x230884['t'](_0x4146d2),_0x3458dd=(0x0,a[_0x13bd53(0x3b0)])(_0x230884[_0x13bd53(0x20d)],_0x230884[_0x13bd53(0x53e)]()),[_0x2d3a9a,_0x84ba79]=(0x0,n[_0x13bd53(0x38d)])(!0x1),_0x585036=_0x2ddcbe[_0x13bd53(0x352)],_0x35861b=(_0x516f47=_0x585036==null?void 0x0:_0x585036[_0x13bd53(0x55a)])==null?_0x1dfd04:_0x516f47,_0x16a619=Math[_0x13bd53(0x130)](_0x3d8a77[_0x13bd53(0x524)],Math[_0x13bd53(0x524)](_0x3d8a77[_0x13bd53(0x130)],Math[_0x13bd53(0x5e8)]((_0xf81a5=_0x585036==null?void 0x0:_0x585036['width'])==null?s[_0x13bd53(0x477)][_0x13bd53(0x399)]:_0xf81a5))),_0x4bf035=Math[_0x13bd53(0x5e8)]((0x1-((_0x151105=_0x585036==null?void 0x0:_0x585036[_0x13bd53(0x297)])==null?s[_0x13bd53(0x477)]['strokeOpacity']:_0x151105))*0x64),_0x106243=(_0x99d3b2=_0x585036==null?void 0x0:_0x585036['dashType'])==null?s[_0x13bd53(0x477)]['lineDashType']:_0x99d3b2,_0x1bc0c1=(_0x159817=_0x585036==null?void 0x0:_0x585036[_0x13bd53(0xf3)])==null?s[_0x13bd53(0x477)][_0x13bd53(0x232)]:_0x159817,_0x1e8c03=_0x1bc0c1!==s[_0x13bd53(0x5ad)][_0x13bd53(0x309)]&&_0x106243!==s['ShapeLineDashEnum'][_0x13bd53(0x527)]&&_0x106243!==s[_0x13bd53(0x154)][_0x13bd53(0x4ce)],_0x5c96bc=_0x1bc0c1===s[_0x13bd53(0x5ad)][_0x13bd53(0x309)]?'none':_0x106243===s['ShapeLineDashEnum'][_0x13bd53(0x527)]?_0x13bd53(0x2b6):_0x106243===s[_0x13bd53(0x154)]['RoundDot']||_0x106243===s['ShapeLineDashEnum'][_0x13bd53(0x4b2)]?_0x13bd53(0x167):_0x106243===s[_0x13bd53(0x154)][_0x13bd53(0x4ce)]?'dash':_0x13bd53(0x31f),_0x1739bc=[{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s[_0x13bd53(0x154)][_0x13bd53(0x527)],'color':_0x35861b,'width':_0x16a619}),'value':String(s[_0x13bd53(0x154)]['Solid'])},{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s[_0x13bd53(0x154)][_0x13bd53(0x654)],'color':_0x35861b,'width':_0x16a619}),'value':String(s[_0x13bd53(0x154)][_0x13bd53(0x654)])},{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s[_0x13bd53(0x154)][_0x13bd53(0x4b2)],'color':_0x35861b,'width':_0x16a619}),'value':String(s[_0x13bd53(0x154)][_0x13bd53(0x4b2)])},{'label':(0x0,r['jsx'])(Fe,{'dashType':s['ShapeLineDashEnum'][_0x13bd53(0x4ce)],'color':_0x35861b,'width':_0x16a619}),'value':String(s['ShapeLineDashEnum'][_0x13bd53(0x4ce)])},{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s[_0x13bd53(0x154)]['DashDot'],'color':_0x35861b,'width':_0x16a619}),'value':String(s[_0x13bd53(0x154)]['DashDot'])},{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s['ShapeLineDashEnum']['LongDash'],'color':_0x35861b,'width':_0x16a619}),'value':String(s[_0x13bd53(0x154)]['LongDash'])},{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s[_0x13bd53(0x154)][_0x13bd53(0x334)],'color':_0x35861b,'width':_0x16a619}),'value':String(s['ShapeLineDashEnum'][_0x13bd53(0x334)])},{'label':(0x0,r[_0x13bd53(0x396)])(Fe,{'dashType':s['ShapeLineDashEnum'][_0x13bd53(0x4e3)],'color':_0x35861b,'width':_0x16a619}),'value':String(s[_0x13bd53(0x154)]['LongDashDotDot'])}],_0x592c87={'none':_0x230884['t'](_0x13bd53(0x3c3)),'solid':_0x230884['t'](_0x13bd53(0x4ff)),'dash':_0x230884['t'](_0x13bd53(0x3a9)),'dot':_0x230884['t']('shape-editor-ui.line.dashType.roundDot')};(0x0,n[_0x13bd53(0x1de)])(()=>{const _0x80c3eb=_0x13bd53;_0x1bc0c1===s[_0x80c3eb(0x5ad)][_0x80c3eb(0x309)]&&_0x84ba79(!0x1);},[_0x1bc0c1]);let _0x494bb7=_0x34b850=>{const _0xf9ea07=_0x13bd53;_0x3ddd17({'oldShapeData':{'stroke':_0x2ddcbe[_0xf9ea07(0x352)]}},{'stroke':_0x34b850});},_0x43068c=_0x401001=>{const _0xa7ebae=_0x13bd53;var _0x448682;_0x494bb7({..._0x585036,'lineStrokeType':_0x1bc0c1,'color':_0x35861b,'width':_0x16a619,'opacity':(_0x448682=_0x585036==null?void 0x0:_0x585036[_0xa7ebae(0x297)])==null?s[_0xa7ebae(0x477)][_0xa7ebae(0xea)]:_0x448682,'dashType':_0x106243,..._0x401001});},_0x2f6c65=_0x5edd53=>{const _0x365d37=_0x13bd53;if(_0x5edd53===_0x365d37(0x58b)){_0x43068c({'lineStrokeType':s[_0x365d37(0x5ad)]['NoLine']});return;}_0x43068c({'lineStrokeType':s[_0x365d37(0x5ad)]['SolidLine'],'dashType':_0x5edd53===_0x365d37(0x2b6)?s[_0x365d37(0x154)][_0x365d37(0x527)]:_0x5edd53===_0x365d37(0x167)?s[_0x365d37(0x154)][_0x365d37(0x654)]:s[_0x365d37(0x154)][_0x365d37(0x4ce)]});};return(0x0,r[_0x13bd53(0x396)])(_0x13bd53(0x5ac),{'dir':_0x3458dd,'onPointerDown':$,'onMouseDown':$,'onClick':_0x2709d3=>{const _0x2365d3=_0x13bd53;_0x2709d3[_0x2365d3(0x540)](),(!(_0x2709d3[_0x2365d3(0x34f)]instanceof HTMLElement)||!_0x2709d3[_0x2365d3(0x34f)][_0x2365d3(0x31a)](_0x2365d3(0x51d)))&&_0x84ba79(!0x1);},'className':(0x0,e[_0x13bd53(0x461)])(_0x13bd53(0x49e),_0x13bd53(0xe9)),'children':(0x0,r[_0x13bd53(0x2eb)])(_0x13bd53(0x5ac),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r['jsx'])(_0x13bd53(0xeb),{'className':_0x13bd53(0x24a),'children':_0x50da34}),(0x0,r[_0x13bd53(0x2eb)])('div',{'className':(0x0,e[_0x13bd53(0x461)])('univer-grid\x20univer-items-center\x20univer-gap-1',_0x40f327&&_0x1f19ce[_0x13bd53(0x281)](_0x13bd53(0x574))?'univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]':_0x13bd53(0x2fa)),'children':[_0x1f19ce[_0x13bd53(0x15b)](_0x20f7bc=>(0x0,r[_0x13bd53(0x396)])(e[_0x13bd53(0x1c6)],{'title':_0x592c87[_0x20f7bc],'placement':_0x13bd53(0x246),'children':(0x0,r[_0x13bd53(0x396)])(_0x13bd53(0x1c0),{'type':_0x13bd53(0x1c0),'disabled':_0x5b4193,'aria-label':_0x592c87[_0x20f7bc],'onClick':()=>_0x2f6c65(_0x20f7bc),'className':(0x0,e[_0x13bd53(0x461)])(_0x13bd53(0x43d),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x5c96bc===_0x20f7bc}),'children':(0x0,r[_0x13bd53(0x396)])(Pe,{'lineStrokeType':_0x20f7bc==='none'?s[_0x13bd53(0x5ad)]['NoLine']:s[_0x13bd53(0x5ad)][_0x13bd53(0x5de)],'dashType':_0x20f7bc===_0x13bd53(0x574)?s[_0x13bd53(0x154)][_0x13bd53(0x4ce)]:_0x20f7bc===_0x13bd53(0x167)?s[_0x13bd53(0x154)][_0x13bd53(0x654)]:s[_0x13bd53(0x154)][_0x13bd53(0x527)],'color':_0x20f7bc===_0x13bd53(0x58b)?void 0x0:_0x35861b,'width':_0x20f7bc===_0x13bd53(0x58b)?0x2:_0x16a619})})},_0x20f7bc)),_0x40f327&&_0x1f19ce[_0x13bd53(0x281)]('dash')&&(0x0,r[_0x13bd53(0x396)])(e[_0x13bd53(0x264)],{'disabled':_0x5b4193||_0x1bc0c1===s[_0x13bd53(0x5ad)]['NoLine'],'open':_0x2d3a9a,'onOpenChange':_0x84ba79,'overlay':(0x0,r[_0x13bd53(0x396)])(_0x13bd53(0x5ac),{'dir':_0x3458dd,'data-u-comp':_0x13bd53(0x538),'onPointerDown':$,'onMouseDown':$,'onClick':_0x5741c0=>_0x5741c0[_0x13bd53(0x540)](),'className':_0x13bd53(0x19f),'children':_0x1739bc[_0x13bd53(0x15b)](_0x3ddb79=>(0x0,r[_0x13bd53(0x396)])(_0x13bd53(0x1c0),{'type':_0x13bd53(0x1c0),'onClick':()=>{const _0x4056df=_0x13bd53;let _0x3d0434=Number(_0x3ddb79[_0x4056df(0x600)]);_0x43068c({'lineStrokeType':s['ShapeLineTypeEnum'][_0x4056df(0x5de)],'dashType':_0x3d0434}),_0x84ba79(!0x1);},'className':(0x0,e[_0x13bd53(0x461)])(_0x13bd53(0x288),{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x3ddb79[_0x13bd53(0x600)]===String(_0x106243)}),'children':_0x3ddb79[_0x13bd53(0x1ea)]},_0x3ddb79[_0x13bd53(0x600)]))}),'children':(0x0,r['jsx'])(_0x13bd53(0xeb),{'className':'univer-block\x20univer-w-full','data-u-comp':_0x13bd53(0x538),'children':(0x0,r[_0x13bd53(0x396)])(e[_0x13bd53(0x1c6)],{'title':_0x230884['t'](_0x13bd53(0x3a9)),'placement':_0x13bd53(0x246),'children':(0x0,r['jsxs'])(_0x13bd53(0x1c0),{'type':_0x13bd53(0x1c0),'role':'combobox','aria-expanded':_0x2d3a9a,'disabled':_0x5b4193||_0x1bc0c1===s['ShapeLineTypeEnum'][_0x13bd53(0x309)],'onClick':_0x3059fb=>{const _0x189499=_0x13bd53;_0x3059fb[_0x189499(0x540)](),_0x84ba79(_0x10e19b=>!_0x10e19b);},'className':(0x0,e[_0x13bd53(0x461)])(_0x13bd53(0x5c2),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x1e8c03}),'children':[(0x0,r[_0x13bd53(0x396)])(Pe,{'dashType':s[_0x13bd53(0x154)][_0x13bd53(0x334)],'color':_0x35861b,'width':_0x16a619,'className':_0x13bd53(0x144)}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x13bd53(0x520),{'univer-rotate-180':_0x2d3a9a})})]})})})})]}),(0x0,r['jsx'])(Re,{'labelKey':_0x13bd53(0x3ce),'value':_0x16a619,'min':_0x3d8a77['min'],'max':_0x3d8a77['max'],'step':_0x3d8a77[_0x13bd53(0x276)],'disabled':_0x5b4193||_0x1bc0c1===s[_0x13bd53(0x5ad)][_0x13bd53(0x309)],'onChange':_0x32d1a6=>{const _0x5b5fb4=_0x13bd53;_0x43068c({'lineStrokeType':s[_0x5b5fb4(0x5ad)][_0x5b5fb4(0x5de)],'width':_0x32d1a6});}}),(0x0,r[_0x13bd53(0x396)])(e[_0x13bd53(0x49a)],{}),_0x56093a&&(0x0,r['jsx'])(_0x13bd53(0x1c0),{'type':_0x13bd53(0x1c0),'disabled':_0x5b4193,'onClick':()=>{_0x56093a(),_0x4f859e==null||_0x4f859e();},'className':_0x13bd53(0x64d),'children':_0x230884['t'](_0x4777de)}),(0x0,r[_0x13bd53(0x396)])(e[_0x13bd53(0x662)],{'value':_0x35861b,'onChange':_0x2857da=>{const _0x14b9aa=_0x13bd53;_0x43068c({'lineStrokeType':s[_0x14b9aa(0x5ad)][_0x14b9aa(0x5de)],'color':_0x2857da});}}),(0x0,r[_0x13bd53(0x396)])(Re,{'labelKey':_0x13bd53(0x490),'value':_0x4bf035,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x5b4193||_0x1bc0c1===s[_0x13bd53(0x5ad)][_0x13bd53(0x309)],'onChange':_0x3aa049=>{const _0x3bc097=_0x13bd53;_0x43068c({'opacity':(0x64-Math['max'](0x0,Math[_0x3bc097(0x524)](0x64,_0x3aa049)))/0x64});}})]})});}function Be(_0x3477f8){const _0x4e30ce=_0x5297e7;var _0x356ebc;let {titleKey:_0x78323c,shapeData:_0x208c1e,disabled:_0x49794c,resetLabelKey:_0x2cc037,fallbackColor:_0x3aa093=be,onReset:_0x5aa60e,onUpdateShapeData:_0x27b24a}=_0x3477f8,_0x3d8ba8=(0x0,a[_0x4e30ce(0x15c)])(i[_0x4e30ce(0x415)])['t'](_0x78323c),[_0x318be0,_0x8237d2]=(0x0,n[_0x4e30ce(0x38d)])(!0x1),{handleOpenChange:_0x37d285,markInternalInteraction:_0x5d53e0}=Te(_0x8237d2),_0xbfc5f4=_0x208c1e[_0x4e30ce(0x352)],_0x1b68fc=(_0x356ebc=_0xbfc5f4==null?void 0x0:_0xbfc5f4[_0x4e30ce(0x55a)])==null?_0x3aa093:_0x356ebc;return(0x0,r['jsx'])(e[_0x4e30ce(0x264)],{'disabled':_0x49794c,'open':_0x318be0,'onOpenChange':_0x37d285,'overlay':(0x0,r[_0x4e30ce(0x396)])('div',{'onPointerDownCapture':_0x4de28e=>{_0x5d53e0(),Q(_0x4de28e);},'onMouseDownCapture':_0x5c9c47=>{_0x5d53e0(),Q(_0x5c9c47);},'children':(0x0,r[_0x4e30ce(0x396)])(ze,{'titleKey':_0x78323c,'shapeData':_0x208c1e,'disabled':_0x49794c,'resetLabelKey':_0x2cc037,'fallbackColor':_0x3aa093,'onReset':_0x5aa60e,'onRequestClose':()=>_0x8237d2(!0x1),'onUpdateShapeData':_0x27b24a})}),'children':(0x0,r[_0x4e30ce(0x396)])(_0x4e30ce(0xeb),{'children':(0x0,r['jsx'])(e['Tooltip'],{'title':_0x3d8ba8,'placement':_0x4e30ce(0x3ac),'children':(0x0,r[_0x4e30ce(0x2eb)])(_0x4e30ce(0x1c0),{'type':_0x4e30ce(0x1c0),'aria-label':_0x3d8ba8,'disabled':_0x49794c,'className':(0x0,e['clsx'])('univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x318be0}),'children':[(0x0,r['jsx'])(t[_0x4e30ce(0x4e0)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x1b68fc}}),(0x0,r[_0x4e30ce(0x396)])(t[_0x4e30ce(0x317)],{'className':(0x0,e[_0x4e30ce(0x461)])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x318be0})})]})})})});}function Ve(_0x2c8dd7){const _0x35250e=_0x5297e7;var _0x1016ae,_0x2f4962;return(_0x1016ae=(_0x2f4962=_0x2c8dd7[_0x35250e(0x653)])==null?void 0x0:_0x2f4962[_0x35250e(0x1a4)])==null?s[_0x35250e(0x477)][_0x35250e(0x1a4)]:_0x1016ae;}function He(_0x2dc30d){const _0x49e677=_0x5297e7;switch(_0x2dc30d){case s['ShapeGradientTypeEnum'][_0x49e677(0x3dc)]:return'radial';case s[_0x49e677(0x40b)]['Angular']:return'angular';case s[_0x49e677(0x40b)][_0x49e677(0x38b)]:return _0x49e677(0x57b);case s[_0x49e677(0x40b)][_0x49e677(0x5c8)]:default:return _0x49e677(0x400);}}function Ue(_0x3d3e83){const _0xaf91c6=_0x5297e7;switch(_0x3d3e83){case'radial':return s['ShapeGradientTypeEnum'][_0xaf91c6(0x3dc)];case _0xaf91c6(0x36f):return s[_0xaf91c6(0x40b)][_0xaf91c6(0x403)];case'diamond':return s[_0xaf91c6(0x40b)][_0xaf91c6(0x38b)];default:return s[_0xaf91c6(0x40b)][_0xaf91c6(0x5c8)];}}function We(_0x51ece5,_0x4c226b,_0x10c53a){const _0x3e1869=_0x5297e7;var _0x57b82a,_0x343014;let _0x37ea83=_0x51ece5[_0x3e1869(0x653)];return{'type':He((_0x57b82a=_0x37ea83==null?void 0x0:_0x37ea83['gradientType'])==null?s[_0x3e1869(0x477)][_0x3e1869(0x61e)]:_0x57b82a),'angle':(_0x343014=_0x37ea83==null?void 0x0:_0x37ea83[_0x3e1869(0x14c)])==null?s['ShapeDefaultConfig'][_0x3e1869(0x14c)]:_0x343014,'stops':_0x37ea83!=null&&_0x37ea83[_0x3e1869(0x5e7)]&&_0x37ea83[_0x3e1869(0x5e7)][_0x3e1869(0x24d)]>=0x2?_0x37ea83['gradientStops']['map'](_0x4cda37=>({'color':_0x4cda37[_0x3e1869(0x55a)],'offset':_0x4cda37['position']*0x64,'opacity':_0x4cda37[_0x3e1869(0x297)]})):[{'color':_0x4c226b,'offset':0x0},{'color':_0x10c53a,'offset':0x64}]};}function Ge(_0x151001){const _0x1000ad=_0x5297e7;var _0x190f65,_0x4d6aaa,_0x17cede;let {shapeData:_0x396e7f,disabled:_0xa9d289,onUpdateShapeData:_0x17bbee}=_0x151001,_0x5a4ef7=(0x0,a[_0x1000ad(0x15c)])(i[_0x1000ad(0x415)]),_0x208629=(0x0,a[_0x1000ad(0x15c)])(i[_0x1000ad(0x545)]),_0x5ebfa5=(0x0,a['useDependency'])(i['IImageIoService']),_0x403925=(0x0,n['useRef'])(null),_0x3778ea=_0x396e7f[_0x1000ad(0x653)],_0x3df303=(_0x190f65=(_0x4d6aaa=_0x3778ea==null?void 0x0:_0x3778ea['imageOpacity'])==null?_0x3778ea==null?void 0x0:_0x3778ea[_0x1000ad(0x297)]:_0x4d6aaa)==null?0x1:_0x190f65,_0x505d01=Math[_0x1000ad(0x5e8)]((0x1-_0x3df303)*0x64),_0x146c8c=_0x3778ea!=null&&_0x3778ea['fillImageSource']&&/^(?:data:|https?:)/['test'](_0x3778ea[_0x1000ad(0x59d)])?_0x3778ea['fillImageSource']:void 0x0,_0x140377=_0x31cb09=>{const _0x79bb87=_0x1000ad;var _0x3e5f7a;_0x17bbee({'oldShapeData':{'fill':_0x3778ea?{..._0x3778ea}:void 0x0}},{'fill':{..._0x3778ea,'fillType':s[_0x79bb87(0x247)][_0x79bb87(0x1e9)],'imageFillMode':(_0x3e5f7a=_0x3778ea==null?void 0x0:_0x3778ea[_0x79bb87(0x596)])==null?s[_0x79bb87(0x613)][_0x79bb87(0x64b)]:_0x3e5f7a,..._0x31cb09}});};return(0x0,r[_0x1000ad(0x2eb)])(_0x1000ad(0x5ac),{'className':_0x1000ad(0x4f6),'children':[(0x0,r[_0x1000ad(0x2eb)])(_0x1000ad(0x5ac),{'className':_0x1000ad(0x263),'children':[(0x0,r[_0x1000ad(0x396)])('span',{'className':_0x1000ad(0x2ec),'children':_0x5a4ef7['t']('shape-editor-ui.fill.picture.source')}),(0x0,r['jsx'])(_0x1000ad(0x37d),{'ref':_0x403925,'type':_0x1000ad(0x39a),'accept':_0x1000ad(0x1f2),'className':_0x1000ad(0x56b),'onChange':async _0x217844=>{const _0x3f1c53=_0x1000ad;var _0x52068f;let _0x41de4f=(_0x52068f=_0x217844[_0x3f1c53(0x34f)][_0x3f1c53(0x1f0)])==null?void 0x0:_0x52068f[0x0];if(!_0x41de4f)return;_0x217844[_0x3f1c53(0x34f)][_0x3f1c53(0x600)]='';let _0x237cff=await _0x5ebfa5['saveImage'](_0x41de4f);if(_0x237cff==null)return;let {imageSourceType:_0x58c6bc,source:_0x219767,base64Cache:_0x560eff}=_0x237cff,{image:_0x224994}=await(0x0,o['getImageSize'])(_0x560eff||'');_0x5ebfa5[_0x3f1c53(0x47f)](_0x219767,_0x58c6bc,_0x224994),_0x140377({'fillImageSource':_0x219767,'fillImageSourceType':_0x58c6bc,'imageOpacity':_0x3df303});}}),(0x0,r[_0x1000ad(0x396)])(_0x1000ad(0x1c0),{'type':'button','disabled':_0xa9d289,'onClick':()=>{const _0x253d7d=_0x1000ad;var _0xa61052;return(_0xa61052=_0x403925['current'])==null?void 0x0:_0xa61052[_0x253d7d(0x21c)]();},'className':_0x1000ad(0x132),'children':_0x5a4ef7['t'](_0x1000ad(0x2dc))})]}),_0x146c8c&&(0x0,r[_0x1000ad(0x396)])('img',{'src':_0x146c8c,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r[_0x1000ad(0x2eb)])(_0x1000ad(0x5ac),{'className':_0x1000ad(0x263),'children':[(0x0,r[_0x1000ad(0x396)])(_0x1000ad(0xeb),{'className':_0x1000ad(0x2ec),'children':_0x5a4ef7['t'](_0x1000ad(0x372))}),(0x0,r[_0x1000ad(0x396)])(_0x1000ad(0x5ac),{'className':_0x1000ad(0x4a4),'children':(0x0,r[_0x1000ad(0x396)])(e['InputNumber'],{'className':_0x1000ad(0x279),'value':_0x505d01,'disabled':_0xa9d289,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5d7ee1=>_0x5d7ee1+'%','parser':_0x257fe8=>(_0x257fe8==null?void 0x0:_0x257fe8[_0x1000ad(0x398)]('%',''))||'','onChange':_0x16bf1e=>{const _0x27dbcb=_0x1000ad;_0x140377({'imageOpacity':(0x64-Math['max'](0x0,Math[_0x27dbcb(0x524)](0x64,_0x16bf1e==null?0x0:_0x16bf1e)))/0x64}),_0x208629[_0x27dbcb(0x481)](i[_0x27dbcb(0x16e)],!0x1);},'onFocus':()=>_0x208629['setContextValue'](i[_0x1000ad(0x16e)],!0x0),'onBlur':()=>_0x208629[_0x1000ad(0x481)](i[_0x1000ad(0x16e)],!0x1)})})]}),(0x0,r[_0x1000ad(0x396)])(e['Checkbox'],{'checked':(_0x17cede=_0x3778ea==null?void 0x0:_0x3778ea[_0x1000ad(0x501)])==null?!0x1:_0x17cede,'disabled':_0xa9d289,'onChange':_0x5cf963=>{_0x140377({'imageRotateWithShape':_0x5cf963});},'children':(0x0,r[_0x1000ad(0x396)])(_0x1000ad(0xeb),{'className':_0x1000ad(0x294),'children':_0x5a4ef7['t']('shape-editor-ui.fill.picture.rotateWithShape')})})]});}function Ke(_0x2e7683){const _0x53c462=_0x5297e7;var _0x9d7056,_0x11695d;let {titleKey:_0x1c31f4,shapeData:_0x26766b,disabled:_0x452148,fallbackColor:_0x7c2da0=ye,fallbackGradientEndColor:_0x4a1e08='#000000',onUpdateShapeData:_0xb53db8}=_0x2e7683,_0x36cfe4=(0x0,a[_0x53c462(0x15c)])(i[_0x53c462(0x415)]),_0x274491=_0x36cfe4['t'](_0x1c31f4),[_0x57a229,_0x9fcda2]=(0x0,n[_0x53c462(0x38d)])(!0x1),{handleOpenChange:_0x4a4e7e,markInternalInteraction:_0x477610}=Te(_0x9fcda2),_0x1755c3=_0x26766b[_0x53c462(0x653)],_0x17b297=Ve(_0x26766b),_0x4b75c9=(_0x9d7056=_0x1755c3==null?void 0x0:_0x1755c3[_0x53c462(0x55a)])==null?_0x7c2da0:_0x9d7056,_0x30fa49=_0x27c67f=>{_0xb53db8({'oldShapeData':{'fill':_0x1755c3?{..._0x1755c3}:void 0x0}},{'fill':_0x27c67f});},_0x2c7c7f=()=>{const _0x4440f8=_0x53c462;let _0x2eb584=We(_0x26766b,_0x4b75c9,_0x4a1e08);return{..._0x1755c3,'fillType':s[_0x4440f8(0x247)]['GradientFill'],'color':_0x4b75c9,'gradientType':Ue(_0x2eb584[_0x4440f8(0x3df)]),'gradientAngle':_0x2eb584[_0x4440f8(0x13b)],'gradientStops':_0x2eb584[_0x4440f8(0x275)]['map'](_0x509cd7=>({'position':_0x509cd7[_0x4440f8(0x469)]/0x64,'color':_0x509cd7['color'],'opacity':_0x509cd7[_0x4440f8(0x297)]}))};};return(0x0,r[_0x53c462(0x396)])(e['Dropdown'],{'disabled':_0x452148,'open':_0x57a229,'onOpenChange':_0x4a4e7e,'overlay':(0x0,r[_0x53c462(0x396)])(_0x53c462(0x5ac),{'onPointerDownCapture':_0x25bc8d=>{_0x477610(),Q(_0x25bc8d);},'onMouseDownCapture':_0x5d0cb7=>{_0x477610(),Q(_0x5d0cb7);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x3c6fc6=>_0x3c6fc6[_0x53c462(0x540)](),'className':(0x0,e[_0x53c462(0x461)])(_0x53c462(0x627),_0x53c462(0xe9)),'children':(0x0,r[_0x53c462(0x396)])(p,{'compact':!0x0,'disabled':_0x452148,'direction':_0x36cfe4['getDirection'](),'value':_0x17b297,'typeValues':Ce,'color':_0x4b75c9,'transparency':Math[_0x53c462(0x5e8)]((0x1-((_0x11695d=_0x1755c3==null?void 0x0:_0x1755c3[_0x53c462(0x297)])==null?0x1:_0x11695d))*0x64),'gradientValue':We(_0x26766b,_0x4b75c9,_0x4a1e08),'labels':{'noFill':_0x36cfe4['t'](_0x53c462(0x390)),'solidFill':_0x36cfe4['t'](_0x53c462(0x4b9)),'gradientFill':_0x36cfe4['t'](_0x53c462(0x37a)),'pictureFill':_0x36cfe4['t'](_0x53c462(0x3f2)),'color':_0x36cfe4['t']('shape-editor-ui.fill.color'),'transparency':_0x36cfe4['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x36cfe4['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x36cfe4['t'](_0x53c462(0x4b9)),'gradientFill':_0x36cfe4['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x36cfe4['t'](_0x53c462(0x3f2))},'renderColorIcon':_0x21013e=>(0x0,r[_0x53c462(0x396)])(t[_0x53c462(0x32e)],{'className':_0x53c462(0x256),'extend':{'colorChannel1':_0x21013e}}),'onChange':_0x26da7b=>{const _0x21b001=_0x53c462;if(_0x26da7b===s['ShapeFillEnum'][_0x21b001(0x310)])_0x30fa49({..._0x1755c3,'fillType':s['ShapeFillEnum'][_0x21b001(0x310)]});else{if(_0x26da7b===s['ShapeFillEnum']['SolidFill']){var _0xc31ab7;_0x30fa49({..._0x1755c3,'fillType':s[_0x21b001(0x247)][_0x21b001(0x2b2)],'color':_0x4b75c9,'opacity':(_0xc31ab7=_0x1755c3==null?void 0x0:_0x1755c3[_0x21b001(0x297)])==null?0x1:_0xc31ab7});}else{if(_0x26da7b===s[_0x21b001(0x247)][_0x21b001(0x2ad)])_0x30fa49(_0x2c7c7f());else{if(_0x26da7b===s[_0x21b001(0x247)][_0x21b001(0x1e9)]){var _0x52d429,_0x1c8f5b;_0x30fa49({..._0x1755c3,'fillType':s['ShapeFillEnum']['PictureFill'],'color':_0x4b75c9,'imageOpacity':(_0x52d429=_0x1755c3==null?void 0x0:_0x1755c3['imageOpacity'])==null?0x1:_0x52d429,'imageFillMode':(_0x1c8f5b=_0x1755c3==null?void 0x0:_0x1755c3[_0x21b001(0x596)])==null?s[_0x21b001(0x613)][_0x21b001(0x64b)]:_0x1c8f5b});}}}}},'onColorChange':_0x2c5452=>{const _0xe67c0=_0x53c462;var _0x1d4c38;_0x30fa49({..._0x1755c3,'fillType':s[_0xe67c0(0x247)][_0xe67c0(0x2b2)],'color':_0x2c5452,'opacity':(_0x1d4c38=_0x1755c3==null?void 0x0:_0x1755c3['opacity'])==null?0x1:_0x1d4c38});},'onTransparencyChange':_0x195b4f=>{const _0x3b508f=_0x53c462;_0x30fa49({..._0x1755c3,'fillType':s[_0x3b508f(0x247)][_0x3b508f(0x2b2)],'color':_0x4b75c9,'opacity':(0x64-Math['max'](0x0,Math[_0x3b508f(0x524)](0x64,_0x195b4f)))/0x64});},'onGradientChange':_0x16d812=>{const _0x30ace4=_0x53c462;_0x30fa49({..._0x1755c3,'fillType':s[_0x30ace4(0x247)][_0x30ace4(0x2ad)],'color':_0x4b75c9,'gradientType':Ue(_0x16d812[_0x30ace4(0x3df)]),'gradientAngle':_0x16d812['angle'],'gradientStops':_0x16d812[_0x30ace4(0x275)][_0x30ace4(0x15b)](_0x1fecbf=>({'position':_0x1fecbf['offset']/0x64,'color':_0x1fecbf['color'],'opacity':_0x1fecbf['opacity']}))});},'pictureFillEditor':(0x0,r[_0x53c462(0x396)])(Ge,{'shapeData':_0x26766b,'disabled':_0x452148,'onUpdateShapeData':_0xb53db8})})}),'children':(0x0,r[_0x53c462(0x396)])('span',{'children':(0x0,r[_0x53c462(0x396)])(e[_0x53c462(0x1c6)],{'title':_0x274491,'placement':_0x53c462(0x3ac),'children':(0x0,r[_0x53c462(0x2eb)])(_0x53c462(0x1c0),{'type':_0x53c462(0x1c0),'disabled':_0x452148,'className':(0x0,e[_0x53c462(0x461)])(_0x53c462(0x181),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x57a229}),'children':[(0x0,r[_0x53c462(0x396)])(t[_0x53c462(0x32e)],{'className':_0x53c462(0x3c6),'extend':{'colorChannel1':_0x17b297===s['ShapeFillEnum'][_0x53c462(0x310)]?'transparent':_0x4b75c9}}),(0x0,r[_0x53c462(0x396)])(t[_0x53c462(0x317)],{'className':(0x0,e['clsx'])(_0x53c462(0x520),{'univer-rotate-180':_0x57a229})})]})})})});}function qe(_0x2b409e){const _0x4d90ce=_0x5297e7;switch(_0x2b409e==null?void 0x0:_0x2b409e[_0x4d90ce(0x3df)]){case'none':return s[_0x4d90ce(0x247)]['NoFill'];case'gradient':return s['ShapeFillEnum']['GradientFill'];case _0x4d90ce(0x5cf):return s[_0x4d90ce(0x247)]['PictureFill'];default:return s['ShapeFillEnum'][_0x4d90ce(0x2b2)];}}function Je(_0x1a2dae,_0x139482){const _0x37c35e=_0x5297e7;var _0x162351,_0x3f8fda,_0x5a64cf,_0x52b47a,_0x4d14e1;return{'type':(_0x162351=_0x1a2dae==null||(_0x3f8fda=_0x1a2dae['gradient'])==null?void 0x0:_0x3f8fda[_0x37c35e(0x3df)])==null?_0x37c35e(0x400):_0x162351,'angle':(_0x5a64cf=_0x1a2dae==null||(_0x52b47a=_0x1a2dae['gradient'])==null?void 0x0:_0x52b47a[_0x37c35e(0x13b)])==null?0x0:_0x5a64cf,'stops':!(_0x1a2dae==null||(_0x4d14e1=_0x1a2dae[_0x37c35e(0x213)])==null)&&_0x4d14e1[_0x37c35e(0x275)]&&_0x1a2dae[_0x37c35e(0x213)][_0x37c35e(0x275)][_0x37c35e(0x24d)]>=0x2?_0x1a2dae['gradient'][_0x37c35e(0x275)][_0x37c35e(0x15b)](_0x478eb1=>({'color':_0x478eb1[_0x37c35e(0x55a)],'offset':_0x478eb1[_0x37c35e(0x469)],'opacity':_0x478eb1['opacity']})):[{'color':_0x139482,'offset':0x0},{'color':_0x37c35e(0x168),'offset':0x64}]};}function Ye(_0xafa607,_0x43a556){const _0x18bd5b=_0x5297e7;var _0x1ab74d,_0x39d3c2,_0x3bc7f2;return(_0x1ab74d=_0xafa607[_0x18bd5b(0x16a)])==null?{'type':'solid','color':(_0x39d3c2=(_0x3bc7f2=_0xafa607['cl'])==null?void 0x0:_0x3bc7f2['rgb'])==null?_0x43a556:_0x39d3c2,'opacity':0x1}:_0x1ab74d;}function Xe(_0x46f951,_0x48fbad){const _0x3b41f8=_0x5297e7;var _0x84c429,_0xa3bcd3,_0x1642ad;return(_0x84c429=(_0xa3bcd3=_0x46f951[_0x3b41f8(0x55a)])==null?(_0x1642ad=_0x46f951['gradient'])==null||(_0x1642ad=_0x1642ad[_0x3b41f8(0x275)])==null||(_0x1642ad=_0x1642ad[0x0])==null?void 0x0:_0x1642ad[_0x3b41f8(0x55a)]:_0xa3bcd3)==null?_0x48fbad:_0x84c429;}function Ze(_0x4b88b2){const _0x23a8c3=_0x5297e7;var _0x52cc63,_0x495b01,_0x392786,_0x28d6c0;let {fill:_0x5e5d9f,disabled:_0x266d47,onChange:_0xdc290d}=_0x4b88b2,_0x764e58=(0x0,a['useDependency'])(i[_0x23a8c3(0x415)]),_0x39ee10=(0x0,a[_0x23a8c3(0x15c)])(i['IContextService']),_0x18772f=(0x0,a[_0x23a8c3(0x15c)])(i['IImageIoService']),_0xeec60c=(0x0,n[_0x23a8c3(0x459)])(null),_0x33ad38=(_0x52cc63=(_0x495b01=(_0x392786=_0x5e5d9f[_0x23a8c3(0x5cf)])==null?void 0x0:_0x392786['opacity'])==null?_0x5e5d9f[_0x23a8c3(0x297)]:_0x495b01)==null?0x1:_0x52cc63,_0x58a8ad=Math[_0x23a8c3(0x5e8)]((0x1-_0x33ad38)*0x64),_0x2be601=(_0x28d6c0=_0x5e5d9f[_0x23a8c3(0x5cf)])!=null&&_0x28d6c0[_0x23a8c3(0x561)]&&/^(?:data:|https?:)/[_0x23a8c3(0x4fe)](_0x5e5d9f['picture'][_0x23a8c3(0x561)])?_0x5e5d9f[_0x23a8c3(0x5cf)][_0x23a8c3(0x561)]:void 0x0,_0x1b96c5=_0x459447=>{const _0x5281d9=_0x23a8c3;var _0x342dcb,_0x56cf64;_0xdc290d({..._0x5e5d9f,'type':_0x5281d9(0x5cf),'picture':{..._0x5e5d9f['picture'],'mode':(_0x342dcb=(_0x56cf64=_0x5e5d9f[_0x5281d9(0x5cf)])==null?void 0x0:_0x56cf64[_0x5281d9(0x248)])==null?'stretch':_0x342dcb,..._0x459447}});};return(0x0,r['jsxs'])(_0x23a8c3(0x5ac),{'className':_0x23a8c3(0x4f6),'children':[(0x0,r[_0x23a8c3(0x2eb)])(_0x23a8c3(0x5ac),{'className':_0x23a8c3(0x263),'children':[(0x0,r[_0x23a8c3(0x396)])(_0x23a8c3(0xeb),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x764e58['t'](_0x23a8c3(0x643))}),(0x0,r['jsx'])(_0x23a8c3(0x37d),{'ref':_0xeec60c,'type':'file','accept':_0x23a8c3(0x1f2),'className':_0x23a8c3(0x56b),'onChange':async _0x2719ca=>{const _0x44c68f=_0x23a8c3;var _0x54d805;let _0x485bcf=(_0x54d805=_0x2719ca['target'][_0x44c68f(0x1f0)])==null?void 0x0:_0x54d805[0x0];if(!_0x485bcf)return;_0x2719ca[_0x44c68f(0x34f)]['value']='';let _0x514e40=await _0x18772f[_0x44c68f(0x27f)](_0x485bcf);if(_0x514e40==null)return;let {imageSourceType:_0x306334,source:_0x2a43fb,base64Cache:_0xb092f0}=_0x514e40;_0x1b96c5({'source':_0xb092f0||_0x2a43fb,'sourceType':_0x306334,'opacity':_0x33ad38});}}),(0x0,r[_0x23a8c3(0x396)])(_0x23a8c3(0x1c0),{'type':'button','disabled':_0x266d47,'onClick':()=>{const _0x593f6b=_0x23a8c3;var _0x27048f;return(_0x27048f=_0xeec60c[_0x593f6b(0x3c5)])==null?void 0x0:_0x27048f[_0x593f6b(0x21c)]();},'className':'univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':_0x764e58['t']('shape-editor-ui.fill.picture.insert')})]}),_0x2be601&&(0x0,r[_0x23a8c3(0x396)])('img',{'src':_0x2be601,'alt':'','className':_0x23a8c3(0x5f4)}),(0x0,r[_0x23a8c3(0x2eb)])(_0x23a8c3(0x5ac),{'className':_0x23a8c3(0x263),'children':[(0x0,r[_0x23a8c3(0x396)])('span',{'className':_0x23a8c3(0x2ec),'children':_0x764e58['t'](_0x23a8c3(0x372))}),(0x0,r[_0x23a8c3(0x396)])('div',{'className':_0x23a8c3(0x4a4),'children':(0x0,r[_0x23a8c3(0x396)])(e[_0x23a8c3(0xf1)],{'className':_0x23a8c3(0x279),'value':_0x58a8ad,'disabled':_0x266d47,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2176a9=>_0x2176a9+'%','parser':_0xd0fb14=>(_0xd0fb14==null?void 0x0:_0xd0fb14[_0x23a8c3(0x398)]('%',''))||'','onChange':_0x5b7a3f=>{const _0x4f4eef=_0x23a8c3;_0x1b96c5({'opacity':(0x64-Math[_0x4f4eef(0x130)](0x0,Math['min'](0x64,_0x5b7a3f==null?0x0:_0x5b7a3f)))/0x64}),_0x39ee10['setContextValue'](i[_0x4f4eef(0x16e)],!0x1);},'onFocus':()=>_0x39ee10[_0x23a8c3(0x481)](i[_0x23a8c3(0x16e)],!0x0),'onBlur':()=>_0x39ee10[_0x23a8c3(0x481)](i[_0x23a8c3(0x16e)],!0x1)})})]})]});}function Qe(_0x51d745){const _0xd39090=_0x5297e7;var _0x120500;let {titleKey:_0x52531d,textStyle:_0x415b90,fallbackColor:_0x1772ac,onChange:_0x1da682}=_0x51d745,_0x26f272=(0x0,a[_0xd39090(0x15c)])(i[_0xd39090(0x415)]),_0x5acf9c=_0x26f272['t'](_0x52531d),[_0x2031d6,_0x5c606d]=(0x0,n[_0xd39090(0x38d)])(!0x1),{handleOpenChange:_0x4b7cb7,markInternalInteraction:_0x5f0103}=Te(_0x5c606d),_0x12e418=Ye(_0x415b90,_0x1772ac),_0x4742c4=qe(_0x12e418),_0x773b80=Xe(_0x12e418,_0x1772ac),_0x2b8939=_0x310cfd=>{const _0x127717=_0xd39090;_0x1da682({'cl':{'rgb':_0x310cfd[_0x127717(0x3df)]===_0x127717(0x58b)?_0x127717(0x4c4):Xe(_0x310cfd,_0x1772ac)},'textFill':_0x310cfd});},_0x44ce40=()=>{const _0x3b5690=_0xd39090;let _0x2a03d5=Je(_0x12e418,_0x773b80);return{..._0x12e418,'type':_0x3b5690(0x213),'gradient':{'type':_0x2a03d5[_0x3b5690(0x3df)],'angle':_0x2a03d5['angle'],'stops':_0x2a03d5[_0x3b5690(0x275)][_0x3b5690(0x15b)](_0x35c4f6=>({'offset':_0x35c4f6[_0x3b5690(0x469)],'color':_0x35c4f6[_0x3b5690(0x55a)],'opacity':_0x35c4f6[_0x3b5690(0x297)]}))}};};return(0x0,r[_0xd39090(0x396)])(Me,{'title':_0x5acf9c,'open':_0x2031d6,'icon':(0x0,r[_0xd39090(0x396)])(t[_0xd39090(0x5fb)],{'className':_0xd39090(0x3c6),'extend':{'colorChannel1':_0x773b80}}),'onApply':()=>{const _0x44d506=_0xd39090;var _0x3d3a2c;return _0x2b8939({..._0x12e418,'type':'solid','color':_0x773b80,'opacity':(_0x3d3a2c=_0x12e418[_0x44d506(0x297)])==null?0x1:_0x3d3a2c});},'onOpenChange':_0x4b7cb7,'overlay':(0x0,r[_0xd39090(0x396)])('div',{'onPointerDownCapture':_0x28a826=>{_0x5f0103(),Q(_0x28a826);},'onMouseDownCapture':_0x473830=>{_0x5f0103(),Q(_0x473830);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x1b33da=>_0x1b33da['stopPropagation'](),'className':(0x0,e[_0xd39090(0x461)])(_0xd39090(0x627),_0xd39090(0xe9)),'children':(0x0,r[_0xd39090(0x396)])(p,{'compact':!0x0,'direction':_0x26f272[_0xd39090(0x53e)](),'value':_0x4742c4,'typeValues':Ce,'color':_0x773b80,'transparency':Math[_0xd39090(0x5e8)]((0x1-((_0x120500=_0x12e418[_0xd39090(0x297)])==null?0x1:_0x120500))*0x64),'gradientValue':Je(_0x12e418,_0x773b80),'labels':{'noFill':_0x26f272['t'](_0xd39090(0x390)),'solidFill':_0x26f272['t'](_0xd39090(0x4b9)),'gradientFill':_0x26f272['t'](_0xd39090(0x37a)),'pictureFill':_0x26f272['t']('shape-editor-ui.fill.pictureFill'),'color':_0x26f272['t']('shape-editor-ui.fill.color'),'transparency':_0x26f272['t'](_0xd39090(0x372))},'tabLabels':{'noFill':_0x26f272['t'](_0xd39090(0x390)),'solidFill':_0x26f272['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x26f272['t'](_0xd39090(0x37a)),'pictureFill':_0x26f272['t'](_0xd39090(0x3f2))},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x100169=>{const _0x1bdf29=_0xd39090;if(_0x100169===s[_0x1bdf29(0x247)]['NoFill'])_0x2b8939({..._0x12e418,'type':'none'});else{if(_0x100169===s[_0x1bdf29(0x247)][_0x1bdf29(0x2b2)]){var _0x1f002c;_0x2b8939({..._0x12e418,'type':_0x1bdf29(0x2b6),'color':_0x773b80,'opacity':(_0x1f002c=_0x12e418[_0x1bdf29(0x297)])==null?0x1:_0x1f002c});}else{if(_0x100169===s['ShapeFillEnum']['GradientFill'])_0x2b8939(_0x44ce40());else{if(_0x100169===s['ShapeFillEnum']['PictureFill']){var _0x311ec6,_0x157505,_0x2b605f,_0x37c365;_0x2b8939({..._0x12e418,'type':_0x1bdf29(0x5cf),'color':_0x773b80,'picture':{..._0x12e418[_0x1bdf29(0x5cf)],'opacity':(_0x311ec6=(_0x157505=_0x12e418[_0x1bdf29(0x5cf)])==null?void 0x0:_0x157505[_0x1bdf29(0x297)])==null?0x1:_0x311ec6,'mode':(_0x2b605f=(_0x37c365=_0x12e418[_0x1bdf29(0x5cf)])==null?void 0x0:_0x37c365[_0x1bdf29(0x248)])==null?'stretch':_0x2b605f}});}}}}},'onColorChange':_0x286341=>{const _0x335a2c=_0xd39090;var _0x449904;_0x2b8939({..._0x12e418,'type':'solid','color':_0x286341,'opacity':(_0x449904=_0x12e418[_0x335a2c(0x297)])==null?0x1:_0x449904});},'onTransparencyChange':_0x8ce388=>{const _0x501146=_0xd39090;_0x2b8939({..._0x12e418,'type':_0x501146(0x2b6),'color':_0x773b80,'opacity':(0x64-Math[_0x501146(0x130)](0x0,Math[_0x501146(0x524)](0x64,_0x8ce388)))/0x64});},'onGradientChange':_0x7e9603=>{const _0x374f08=_0xd39090;_0x2b8939({..._0x12e418,'type':_0x374f08(0x213),'gradient':{'type':_0x7e9603['type'],'angle':_0x7e9603[_0x374f08(0x13b)],'stops':_0x7e9603[_0x374f08(0x275)]['map'](_0x2b0431=>({'offset':_0x2b0431[_0x374f08(0x469)],'color':_0x2b0431[_0x374f08(0x55a)],'opacity':_0x2b0431['opacity']}))}});},'pictureFillEditor':(0x0,r[_0xd39090(0x396)])(Ze,{'fill':_0x12e418,'onChange':_0x2b8939})})})});}function $e(_0x59d37d){const _0x4c3053=_0x5297e7;let {titleKey:_0x2a24d7,color:_0x7e5f23,onApply:_0x37c5af,onReset:_0x1e28ff,onChange:_0x4086f6}=_0x59d37d,_0x2fd032=(0x0,a[_0x4c3053(0x15c)])(i[_0x4c3053(0x415)]),_0x5d385b=_0x2fd032['t'](_0x2a24d7),[_0x172f1e,_0x541046]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x50b246,markInternalInteraction:_0x30a344}=Te(_0x541046);return(0x0,r[_0x4c3053(0x396)])(Me,{'title':_0x5d385b,'open':_0x172f1e,'icon':(0x0,r[_0x4c3053(0x396)])(t[_0x4c3053(0x5c5)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x7e5f23}}),'onApply':_0x37c5af,'onOpenChange':_0x50b246,'popoverClassName':_0x4c3053(0x47c),'overlay':(0x0,r[_0x4c3053(0x2eb)])(_0x4c3053(0x5ac),{'onPointerDownCapture':_0x4dcab8=>{_0x30a344(),Q(_0x4dcab8);},'onMouseDownCapture':_0x4fe1dd=>{_0x30a344(),Q(_0x4fe1dd);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x3d6e15=>_0x3d6e15['stopPropagation'](),'className':_0x4c3053(0x2e2),'children':[_0x1e28ff&&(0x0,r[_0x4c3053(0x396)])(_0x4c3053(0x1c0),{'type':_0x4c3053(0x1c0),'onClick':()=>{_0x1e28ff(),_0x541046(!0x1);},'className':_0x4c3053(0x385),'children':_0x2fd032['t']('shape-editor-ui.toolbar.resetColor')}),(0x0,r[_0x4c3053(0x396)])(e[_0x4c3053(0x662)],{'value':_0x7e5f23,'onChange':_0x5c3cd0=>{_0x4086f6(_0x5c3cd0),_0x541046(!0x1);}})]})});}function et(_0x2ce2d0){const _0x4a9fce=_0x5297e7;let {titleKey:_0x4af01b,textStyle:_0x23c77d,horizontalAlign:_0x3eb4a5,verticalAlign:_0x5e51a4,horizontalAlignOptions:_0x18c692,verticalAlignOptions:_0x294431,onUpdateText:_0xed7f22}=_0x2ce2d0,_0x5f55a5=(0x0,a[_0x4a9fce(0x15c)])(i[_0x4a9fce(0x415)]),_0x288336=_0x5f55a5['t'](_0x4af01b),[_0x327872,_0x172972]=(0x0,n[_0x4a9fce(0x38d)])(!0x1),{handleOpenChange:_0x18fbf0,markInternalInteraction:_0x1aa9ac}=Te(_0x172972),_0x27d44d=[{'key':'bold','title':_0x5f55a5['t']('shape-editor-ui.toolbar.bold'),'active':_0x23c77d['isBold'],'icon':(0x0,r['jsx'])(t[_0x4a9fce(0x45f)],{}),'onClick':()=>_0xed7f22({'textStyle':{'bl':_0x23c77d[_0x4a9fce(0x523)]?i[_0x4a9fce(0x667)][_0x4a9fce(0x35e)]:i[_0x4a9fce(0x667)][_0x4a9fce(0x17c)]}})},{'key':_0x4a9fce(0x48a),'title':_0x5f55a5['t'](_0x4a9fce(0x4d6)),'active':_0x23c77d[_0x4a9fce(0x3f1)],'icon':(0x0,r['jsx'])(t[_0x4a9fce(0x333)],{}),'onClick':()=>_0xed7f22({'textStyle':{'it':_0x23c77d[_0x4a9fce(0x3f1)]?i[_0x4a9fce(0x667)][_0x4a9fce(0x35e)]:i['BooleanNumber'][_0x4a9fce(0x17c)]}})},{'key':_0x4a9fce(0x3ea),'title':_0x5f55a5['t']('shape-editor-ui.toolbar.underline'),'active':_0x23c77d[_0x4a9fce(0x47e)],'icon':(0x0,r['jsx'])(t[_0x4a9fce(0x5df)],{}),'onClick':()=>_0xed7f22({'textStyle':{'ul':{'s':_0x23c77d[_0x4a9fce(0x47e)]?i['BooleanNumber'][_0x4a9fce(0x35e)]:i[_0x4a9fce(0x667)][_0x4a9fce(0x17c)]}}})},{'key':_0x4a9fce(0x257),'title':_0x5f55a5['t'](_0x4a9fce(0x446)),'active':_0x23c77d[_0x4a9fce(0x5d7)],'icon':(0x0,r['jsx'])(t[_0x4a9fce(0x508)],{}),'onClick':()=>_0xed7f22({'textStyle':{'st':{'s':_0x23c77d['isStrike']?i[_0x4a9fce(0x667)][_0x4a9fce(0x35e)]:i['BooleanNumber'][_0x4a9fce(0x17c)]}}})}],_0x508c49=_0x28b1ea=>(0x0,r[_0x4a9fce(0x396)])(e[_0x4a9fce(0x1c6)],{'title':_0x28b1ea[_0x4a9fce(0x202)],'placement':_0x4a9fce(0x246),'children':(0x0,r['jsx'])(_0x4a9fce(0x1c0),{'type':'button','aria-label':_0x28b1ea[_0x4a9fce(0x202)],'onClick':_0x28b1ea['onClick'],'className':(0x0,e[_0x4a9fce(0x461)])('univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x28b1ea[_0x4a9fce(0x677)]}),'children':_0x28b1ea[_0x4a9fce(0x15f)]})},String(_0x28b1ea[_0x4a9fce(0x4d8)]));return(0x0,r[_0x4a9fce(0x396)])(e[_0x4a9fce(0x264)],{'open':_0x327872,'onOpenChange':_0x18fbf0,'overlay':(0x0,r[_0x4a9fce(0x396)])(_0x4a9fce(0x5ac),{'onPointerDownCapture':_0x467558=>{_0x1aa9ac(),Q(_0x467558);},'onMouseDownCapture':_0x2c4100=>{_0x1aa9ac(),Q(_0x2c4100);},'onPointerDown':$,'onMouseDown':$,'onClick':_0x3a850e=>_0x3a850e[_0x4a9fce(0x540)](),'className':(0x0,e['clsx'])(_0x4a9fce(0x18c),_0x4a9fce(0x1ef)),'children':(0x0,r[_0x4a9fce(0x2eb)])(_0x4a9fce(0x5ac),{'className':_0x4a9fce(0x3bc),'children':[(0x0,r[_0x4a9fce(0x396)])(_0x4a9fce(0x5ac),{'className':_0x4a9fce(0x1e1),'children':_0x27d44d[_0x4a9fce(0x15b)](_0x508c49)}),(0x0,r['jsx'])(e[_0x4a9fce(0x49a)],{}),(0x0,r['jsx'])('div',{'data-u-comp':_0x4a9fce(0x316),'className':_0x4a9fce(0x1e1),'children':_0x18c692[_0x4a9fce(0x15b)](_0x556e3b=>_0x508c49({'key':_0x556e3b[_0x4a9fce(0x600)],'title':_0x556e3b[_0x4a9fce(0x1ea)],'active':_0x556e3b[_0x4a9fce(0x600)]===_0x3eb4a5,'icon':_0x556e3b[_0x4a9fce(0x15f)],'onClick':()=>_0xed7f22({'horizontalAlign':_0x556e3b[_0x4a9fce(0x600)]})}))}),(0x0,r[_0x4a9fce(0x396)])(_0x4a9fce(0x5ac),{'data-u-comp':_0x4a9fce(0x145),'className':_0x4a9fce(0x1e1),'children':_0x294431[_0x4a9fce(0x15b)](_0x14b5a4=>_0x508c49({'key':_0x14b5a4[_0x4a9fce(0x600)],'title':_0x14b5a4['label'],'active':_0x14b5a4['value']===_0x5e51a4,'icon':_0x14b5a4[_0x4a9fce(0x15f)],'onClick':()=>_0xed7f22({'verticalAlign':_0x14b5a4[_0x4a9fce(0x600)]})}))})]})}),'children':(0x0,r[_0x4a9fce(0x396)])(_0x4a9fce(0xeb),{'children':(0x0,r[_0x4a9fce(0x396)])(e[_0x4a9fce(0x1c6)],{'title':_0x288336,'placement':_0x4a9fce(0x3ac),'children':(0x0,r['jsxs'])('button',{'type':_0x4a9fce(0x1c0),'aria-label':_0x288336,'className':(0x0,e[_0x4a9fce(0x461)])(_0x4a9fce(0x27e),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x327872}),'children':[(0x0,r[_0x4a9fce(0x396)])(t[_0x4a9fce(0x270)],{'className':_0x4a9fce(0x3eb)}),(0x0,r[_0x4a9fce(0x396)])(t[_0x4a9fce(0x317)],{'className':(0x0,e['clsx'])(_0x4a9fce(0x520),{'univer-rotate-180':_0x327872})})]})})})});}function tt(_0x25621c){const _0x24833b=_0x5297e7;var _0x5de12e;let _0x3eea6f=(0x0,a[_0x24833b(0x15c)])(i['LocaleService']),_0x43f732=(0x0,a[_0x24833b(0x3b0)])(_0x3eea6f[_0x24833b(0x20d)],_0x3eea6f[_0x24833b(0x53e)]()),_0x3f6582=_0x25621c[_0x24833b(0x3dd)]?_0x3eea6f['t'](_0x25621c[_0x24833b(0x3dd)]):_0x25621c[_0x24833b(0x202)];return(0x0,r[_0x24833b(0x2eb)])(_0x24833b(0x5ac),{'dir':_0x43f732,'data-u-comp':_0x24833b(0x324),'onPointerDownCapture':Q,'onMouseDownCapture':Q,'onPointerDown':$,'onMouseDown':$,'onClick':_0x51baa0=>_0x51baa0['stopPropagation'](),'className':(0x0,e[_0x24833b(0x461)])(_0x24833b(0x1f7),(_0x5de12e=_0x25621c['minWidthClassName'])==null?_0x24833b(0x2d9):_0x5de12e,_0x25621c['className']),'children':[_0x3f6582&&(0x0,r[_0x24833b(0x396)])(_0x24833b(0x5ac),{'className':_0x24833b(0x489),'children':_0x3f6582}),_0x25621c[_0x24833b(0x40a)]]});}function nt(_0x56d466){const _0xe42c4f=_0x5297e7;var _0x36b53b;let _0x367bd3=(0x0,a['useDependency'])(i[_0xe42c4f(0x415)]),_0x4c7e5f=_0x56d466[_0xe42c4f(0x3e0)]?_0x367bd3['t'](_0x56d466[_0xe42c4f(0x3e0)]):(_0x36b53b=_0x56d466[_0xe42c4f(0x1ea)])==null?'':_0x36b53b;return(0x0,r['jsx'])(e[_0xe42c4f(0x1c6)],{'title':_0x4c7e5f,'placement':_0xe42c4f(0x3ac),'children':(0x0,r[_0xe42c4f(0x396)])(_0xe42c4f(0xeb),{'className':_0xe42c4f(0x2f9),'children':(0x0,r[_0xe42c4f(0x2eb)])(_0xe42c4f(0x1c0),{'type':_0xe42c4f(0x1c0),'aria-label':_0x4c7e5f,'disabled':_0x56d466[_0xe42c4f(0x417)],'onClick':_0x574f53=>{const _0x116b6a=_0xe42c4f;_0x574f53[_0x116b6a(0x540)](),_0x56d466['onClick']();},'className':'univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-between\x20univer-gap-8\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20rtl:univer-text-right\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','children':[(0x0,r[_0xe42c4f(0x396)])('span',{'className':_0xe42c4f(0x645),'children':_0x4c7e5f}),_0x56d466[_0xe42c4f(0x25a)]&&(0x0,r[_0xe42c4f(0x396)])(_0xe42c4f(0xeb),{'className':_0xe42c4f(0x394),'children':_0x56d466[_0xe42c4f(0x25a)]})]})})});}function rt(_0x9eb81b){const _0x322cc1=_0x5297e7;var _0x20eb08;let [_0x6c0960,_0x532417]=(0x0,n[_0x322cc1(0x38d)])(!0x1),_0xd222b9=(_0x20eb08=_0x9eb81b['options'][_0x322cc1(0x176)](_0x559032=>_0x559032['value']===_0x9eb81b[_0x322cc1(0x600)]))==null?_0x9eb81b[_0x322cc1(0x1fe)][0x0]:_0x20eb08;return _0xd222b9?(0x0,r[_0x322cc1(0x396)])(e['Dropdown'],{'open':_0x6c0960,'onOpenChange':_0x532417,'overlay':(0x0,r[_0x322cc1(0x396)])(_0x322cc1(0x5ac),{'className':_0x322cc1(0x156),'children':_0x9eb81b['options'][_0x322cc1(0x15b)](_0x4ecabb=>(0x0,r[_0x322cc1(0x2eb)])(_0x322cc1(0x1c0),{'type':'button','aria-label':_0x4ecabb[_0x322cc1(0x1ea)],'onClick':()=>{const _0x3aa55d=_0x322cc1;_0x9eb81b[_0x3aa55d(0x23e)](_0x4ecabb['value']),_0x532417(!0x1);},'className':(0x0,e[_0x322cc1(0x461)])(_0x322cc1(0x3c9),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x4ecabb[_0x322cc1(0x600)]===_0x9eb81b[_0x322cc1(0x600)]}),'children':[(0x0,r['jsx'])(_0x322cc1(0xeb),{'className':_0x322cc1(0x3b4),'children':_0x4ecabb['icon']}),(0x0,r[_0x322cc1(0x396)])(_0x322cc1(0xeb),{'className':_0x322cc1(0x2d1),'children':_0x4ecabb[_0x322cc1(0x1ea)]})]},_0x4ecabb[_0x322cc1(0x600)]))}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x322cc1(0x396)])(Ae,{'title':_0x9eb81b['title'],'icon':_0xd222b9[_0x322cc1(0x15f)],'active':_0x6c0960})})}):null;}function it(_0xdbc390){const _0x2c00ff=_0x5297e7;let {action:_0x2b4313}=_0xdbc390,_0x57f42d=_0x2b4313[_0x2c00ff(0x3df)]===_0x2c00ff(0x644)?t[_0x2c00ff(0xe4)]:t['UngroupIcon'];return(0x0,r[_0x2c00ff(0x396)])(ke,{'title':_0x2b4313['label'],'onClick':_0x2b4313[_0x2c00ff(0x114)],'children':(0x0,r['jsx'])(_0x57f42d,{})});}function at(_0x2aa90a){const _0x5c2edc=_0x5297e7;let {actions:_0x3a87a5}=_0x2aa90a,[_0x1017f8,_0x16e9ac]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x2b7ff0,markInternalInteraction:_0x2bbebb}=Te(_0x16e9ac);return(0x0,r[_0x5c2edc(0x396)])(e['Dropdown'],{'open':_0x1017f8,'onOpenChange':_0x2b7ff0,'overlay':(0x0,r['jsx'])(_0x5c2edc(0x5ac),{'onPointerDownCapture':_0x49774f=>{_0x2bbebb(),Q(_0x49774f);},'onMouseDownCapture':_0x3a4e29=>{_0x2bbebb(),Q(_0x3a4e29);},'onPointerDown':$,'onMouseDown':$,'onClick':_0xea6d71=>_0xea6d71[_0x5c2edc(0x540)](),'className':_0x5c2edc(0x20b),'children':(0x0,r[_0x5c2edc(0x2eb)])(tt,{'className':'!univer-p-1','minWidthClassName':'univer-min-w-40','children':[(0x0,r['jsx'])(nt,{'label':_0x3a87a5[_0x5c2edc(0x332)],'onClick':()=>{const _0x7402fc=_0x5c2edc;_0x3a87a5[_0x7402fc(0x24c)](),_0x16e9ac(!0x1);}}),(0x0,r[_0x5c2edc(0x396)])(nt,{'label':_0x3a87a5['forwardLabel'],'onClick':_0x3a87a5['onForward']}),(0x0,r[_0x5c2edc(0x396)])(nt,{'label':_0x3a87a5[_0x5c2edc(0x53f)],'onClick':_0x3a87a5['onBackward']}),(0x0,r['jsx'])(nt,{'label':_0x3a87a5[_0x5c2edc(0x370)],'onClick':()=>{const _0x22e33d=_0x5c2edc;_0x3a87a5[_0x22e33d(0x2d5)](),_0x16e9ac(!0x1);}})]})}),'children':(0x0,r[_0x5c2edc(0x396)])(_0x5c2edc(0xeb),{'children':(0x0,r[_0x5c2edc(0x396)])(e[_0x5c2edc(0x1c6)],{'title':_0x3a87a5[_0x5c2edc(0x202)],'placement':'bottom','children':(0x0,r['jsxs'])(_0x5c2edc(0x1c0),{'type':_0x5c2edc(0x1c0),'aria-label':_0x3a87a5[_0x5c2edc(0x202)],'className':(0x0,e[_0x5c2edc(0x461)])(_0x5c2edc(0x2ae),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x1017f8}),'children':[(0x0,r['jsx'])(t['TopmostIcon'],{}),(0x0,r[_0x5c2edc(0x396)])(t[_0x5c2edc(0x317)],{'className':(0x0,e[_0x5c2edc(0x461)])(_0x5c2edc(0x520),{'univer-rotate-180':_0x1017f8})})]})})})});}function ot(_0x462f7b){const _0x394981=_0x5297e7;var _0xddd5cd,_0x567f25,_0x23de5e,_0x52de64,_0x2a95c9,_0x3131e1,_0x1ad4fb,_0x347d6,_0x2e814c,_0x5d5b21,_0x38e14e,_0x234f0d;let {shapeData:_0x377501,shapeType:_0x42e55b,textStyle:_0xcdb755,textModel:_0x1ef873,wrappingStyle:_0x2592fa,wrappingStyleOptions:_0x545919,enableShapeStrokeReset:_0xec5b2f=!0x1,enableTextBackgroundReset:_0x414e11=!0x1,enableTextControls:_0x13f28c=!0x0,deferUntilCollapsedStateLoaded:_0x1c27c7=!0x1,defaultFillColor:_0x47210c=ye,defaultGradientEndColor:_0x409fae=_0x394981(0x23d),defaultStrokeColor:_0x5bc72c=be,onUpdateShapeData:_0x24c9b4,onUpdateText:_0x20b124,onUpdateWrappingStyle:_0x1d5f80,groupAction:_0x5ae19c,layerActions:_0x49c5af,extensionGroups:_0x20d387,onOpenPanel:_0x3d725d,onDelete:_0x19e088}=_0x462f7b,_0x159769=(0x0,a[_0x394981(0x15c)])(i['LocaleService']),_0x2c091b=(0x0,a[_0x394981(0x3b0)])(_0x159769[_0x394981(0x20d)],_0x159769['getDirection']()),_0x1cc3e1=(0x0,a['useDependency'])(i['IContextService']),_0x2b5d7a=(0x0,a[_0x394981(0x15c)])(i[_0x394981(0x421)]),_0x50601f=(0x0,a[_0x394981(0x15c)])(i[_0x394981(0x588)]),[_0x39bf82,_0xacd2bc]=(0x0,n[_0x394981(0x38d)])(!0x1),[_0x575289,_0x1018f0]=(0x0,n[_0x394981(0x38d)])(!0x1);(0x0,n['useEffect'])(()=>{const _0x18bdeb=_0x394981;let _0x2f3e2d=!0x1;return _0x2b5d7a['getItem'](Se)[_0x18bdeb(0x41a)](_0x3c83d1=>{const _0x2ae8ad=_0x18bdeb;!_0x2f3e2d&&typeof _0x3c83d1==_0x2ae8ad(0x218)&&_0xacd2bc(_0x3c83d1);})[_0x18bdeb(0x45e)](()=>void 0x0)['finally'](()=>{_0x2f3e2d||_0x1018f0(!0x0);}),()=>{_0x2f3e2d=!0x0;};},[_0x2b5d7a]);let _0x41f4c9=_0x53a7b2=>{const _0x393353=_0x394981;_0xacd2bc(_0x53a7b2),_0x2b5d7a[_0x393353(0x406)](Se,_0x53a7b2)[_0x393353(0x45e)](()=>void 0x0);},_0x575594=!!_0x377501&&_0x42e55b!==void 0x0,_0x16685e=_0x575594&&_0x13f28c,_0x158e0d=!!_0x5ae19c||!!_0x49c5af,_0xbf0320=(_0x20d387==null?[]:_0x20d387)['filter'](_0x213fcf=>_0x213fcf[_0x394981(0x550)]!==!0x1)[_0x394981(0x15b)](_0xf55278=>({..._0xf55278,'actions':_0xf55278[_0x394981(0x295)][_0x394981(0x2ce)](_0x77236a=>_0x77236a['visible']!==!0x1)}))[_0x394981(0x2ce)](_0x41fabf=>_0x41fabf[_0x394981(0x295)][_0x394981(0x24d)]>0x0),_0x43a7a7=_0xbf0320[_0x394981(0x24d)]>0x0,_0x3a0a96=_0x42e55b!==void 0x0&&(0x0,s[_0x394981(0x40c)])(_0x42e55b),_0x55110a=(_0xddd5cd=(_0x567f25=_0xcdb755['cl'])==null?void 0x0:_0x567f25[_0x394981(0x354)])==null?xe:_0xddd5cd,_0x445fbf=(_0x23de5e=(_0x52de64=_0xcdb755['bg'])==null?void 0x0:_0x52de64[_0x394981(0x354)])==null?_0x50601f[_0x394981(0x2ab)](_0x394981(0x315)):_0x23de5e,_0x5c1b9f=(_0x2a95c9=_0xcdb755['ff'])==null?_0x394981(0x63c):_0x2a95c9,_0x54426c=(_0x3131e1=_0xcdb755['fs'])==null?0xe:_0x3131e1,_0x4ea3c7=_0xcdb755['bl']===i['BooleanNumber'][_0x394981(0x17c)],_0x5dd9de=_0xcdb755['it']===i[_0x394981(0x667)]['TRUE'],_0x4fd723=((_0x1ad4fb=_0xcdb755['ul'])==null?void 0x0:_0x1ad4fb['s'])===i[_0x394981(0x667)]['TRUE'],_0x3d3d7a=((_0x347d6=_0xcdb755['st'])==null?void 0x0:_0x347d6['s'])===i[_0x394981(0x667)]['TRUE'],_0xb9eae8=(_0x2e814c=_0x1ef873==null?void 0x0:_0x1ef873['ha'])==null?i['HorizontalAlign'][_0x394981(0x64a)]:_0x2e814c,_0x3bda5b=(_0x5d5b21=_0x1ef873==null?void 0x0:_0x1ef873['va'])==null?i[_0x394981(0x11d)][_0x394981(0x32b)]:_0x5d5b21,_0x39274e=[{'label':_0x159769['t']('shape-editor-ui.toolbar.alignLeft'),'value':i['HorizontalAlign'][_0x394981(0x64a)],'icon':(0x0,r[_0x394981(0x396)])(t[_0x394981(0x29a)],{})},{'label':_0x159769['t'](_0x394981(0x223)),'value':i[_0x394981(0x4a2)][_0x394981(0x38e)],'icon':(0x0,r[_0x394981(0x396)])(t[_0x394981(0xe7)],{})},{'label':_0x159769['t']('shape-editor-ui.toolbar.alignRight'),'value':i['HorizontalAlign'][_0x394981(0x2f1)],'icon':(0x0,r[_0x394981(0x396)])(t[_0x394981(0x63e)],{})},{'label':_0x159769['t'](_0x394981(0x593)),'value':i[_0x394981(0x4a2)][_0x394981(0x33c)],'icon':(0x0,r['jsx'])(t[_0x394981(0x641)],{})}],_0x5e9448=[{'label':_0x159769['t'](_0x394981(0x166)),'value':i['VerticalAlign'][_0x394981(0x32b)],'icon':(0x0,r['jsx'])(t[_0x394981(0x52c)],{})},{'label':_0x159769['t']('shape-editor-ui.align.middle'),'value':i[_0x394981(0x11d)][_0x394981(0x1b0)],'icon':(0x0,r[_0x394981(0x396)])(t[_0x394981(0x5ba)],{})},{'label':_0x159769['t'](_0x394981(0x2a5)),'value':i['VerticalAlign'][_0x394981(0x3fd)],'icon':(0x0,r['jsx'])(t[_0x394981(0x2e3)],{})}];return!_0x575594&&!_0x158e0d&&!_0x43a7a7&&!_0x3d725d&&!_0x19e088||_0x1c27c7&&!_0x575289?null:_0x39bf82?(0x0,r['jsx'])(_0x394981(0x1c0),{'type':_0x394981(0x1c0),'dir':_0x2c091b,'style':{'direction':_0x2c091b},'data-u-comp':_0x394981(0x1d2),'aria-label':_0x159769['t'](_0x394981(0x326)),'onMouseDown':$,'onClick':()=>_0x41f4c9(!0x1),'className':_0x394981(0x401),'children':(0x0,r['jsx'])(t[_0x394981(0x1c5)],{'className':'-univer-rotate-90\x20univer-text-xs'})}):(0x0,r[_0x394981(0x2eb)])(_0x394981(0x5ac),{'data-u-comp':_0x394981(0x302),'dir':_0x2c091b,'style':{'direction':_0x2c091b},'className':_0x394981(0x642),'children':[(0x0,r[_0x394981(0x396)])(_0x394981(0x1c0),{'type':'button','aria-label':_0x159769['t'](_0x394981(0x109)),'onMouseDown':$,'onClick':()=>_0x41f4c9(!0x0),'className':_0x394981(0x119),'children':(0x0,r[_0x394981(0x396)])(t[_0x394981(0x1c5)],{'className':_0x394981(0x53d)})}),(0x0,r[_0x394981(0x2eb)])(Oe,{'children':[_0x575594&&(0x0,r['jsxs'])(r['Fragment'],{'children':[(0x0,r[_0x394981(0x2eb)])(De,{'children':[(0x0,r[_0x394981(0x396)])(Ke,{'titleKey':_0x394981(0x2bb),'shapeData':_0x377501,'disabled':_0x3a0a96,'fallbackColor':_0x47210c,'fallbackGradientEndColor':_0x409fae,'onUpdateShapeData':_0x24c9b4}),(0x0,r['jsx'])(Be,{'titleKey':'shape-editor-ui.line.title','shapeData':_0x377501,'fallbackColor':_0x5bc72c,'onReset':_0xec5b2f?()=>{const _0x5a77fa=_0x394981;_0x24c9b4({'oldShapeData':{'stroke':_0x377501[_0x5a77fa(0x352)]}},{'stroke':{..._0x377501[_0x5a77fa(0x352)],'lineStrokeType':s['ShapeLineTypeEnum'][_0x5a77fa(0x309)]}});}:void 0x0,'onUpdateShapeData':_0x24c9b4})]}),_0x575594&&_0x16685e&&(0x0,r[_0x394981(0x2eb)])(r[_0x394981(0xd6)],{'children':[(0x0,r[_0x394981(0x396)])(e[_0x394981(0x49a)],{'orientation':_0x394981(0x175)}),(0x0,r[_0x394981(0x2eb)])(De,{'children':[(0x0,r[_0x394981(0x396)])(a[_0x394981(0x52a)],{'className':_0x394981(0x21d),'inputClassName':_0x394981(0x279),'popupDataComponent':_0x394981(0x636),'title':_0x5c1b9f,'value':_0x5c1b9f,'onChange':_0x2be3b9=>_0x20b124({'textStyle':{'ff':_0x2be3b9}}),'onMouseDown':$,'onPointerDown':$}),(0x0,r[_0x394981(0x396)])(je,{'value':String(_0x54426c),'onChange':_0x5bed08=>{_0x20b124({'textStyle':{'fs':_0x5bed08}});},'onAfterChange':()=>{const _0x55a0d3=_0x394981;_0x1cc3e1[_0x55a0d3(0x481)](i[_0x55a0d3(0x16e)],!0x1);}}),(0x0,r['jsx'])(et,{'titleKey':'shape-editor-ui.toolbar.typography','textStyle':{'isBold':_0x4ea3c7,'isItalic':_0x5dd9de,'isUnderline':_0x4fd723,'isStrike':_0x3d3d7a},'horizontalAlign':_0xb9eae8,'verticalAlign':_0x3bda5b,'horizontalAlignOptions':_0x39274e,'verticalAlignOptions':_0x5e9448,'onUpdateText':_0x20b124})]}),(0x0,r[_0x394981(0x396)])(e[_0x394981(0x49a)],{'orientation':_0x394981(0x175)}),(0x0,r[_0x394981(0x2eb)])(De,{'children':[(0x0,r['jsx'])(Qe,{'titleKey':_0x394981(0x277),'textStyle':_0xcdb755,'fallbackColor':_0x55110a,'onChange':_0x491298=>_0x20b124({'textStyle':_0x491298})}),(0x0,r['jsx'])($e,{'titleKey':_0x394981(0x458),'color':_0x445fbf,'onApply':()=>_0x20b124({'textStyle':{'bg':{'rgb':_0x445fbf}}}),'onReset':_0x414e11?()=>_0x20b124({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x28e9b1=>_0x20b124({'textStyle':{'bg':{'rgb':_0x28e9b1}}})})]})]})]}),_0x575594&&_0x2592fa!==void 0x0&&_0x545919&&_0x1d5f80&&(0x0,r[_0x394981(0x2eb)])(r[_0x394981(0xd6)],{'children':[(0x0,r[_0x394981(0x396)])(e['Separator'],{'orientation':'vertical'}),(0x0,r[_0x394981(0x396)])(De,{'children':(0x0,r[_0x394981(0x396)])(rt,{'title':(_0x38e14e=(_0x234f0d=_0x545919[_0x394981(0x176)](_0x1d8f39=>_0x1d8f39[_0x394981(0x600)]===_0x2592fa))==null?void 0x0:_0x234f0d[_0x394981(0x1ea)])==null?_0x159769['t'](_0x394981(0x498)):_0x38e14e,'value':_0x2592fa,'options':_0x545919,'onChange':_0x1d5f80})})]}),_0x158e0d&&(0x0,r[_0x394981(0x2eb)])(r[_0x394981(0xd6)],{'children':[(0x0,r[_0x394981(0x396)])(e[_0x394981(0x49a)],{'orientation':'vertical'}),(0x0,r['jsxs'])(De,{'children':[_0x5ae19c&&(0x0,r[_0x394981(0x396)])(it,{'action':_0x5ae19c}),_0x49c5af&&(0x0,r['jsx'])(at,{'actions':_0x49c5af})]})]}),(_0x3d725d||_0x19e088)&&(0x0,r[_0x394981(0x2eb)])(r[_0x394981(0xd6)],{'children':[(0x0,r[_0x394981(0x396)])(e[_0x394981(0x49a)],{'orientation':'vertical'}),(0x0,r[_0x394981(0x2eb)])(De,{'children':[_0x3d725d&&(0x0,r[_0x394981(0x396)])(ke,{'titleKey':_0x394981(0x48e),'onClick':()=>{_0x3d725d();},'children':(0x0,r[_0x394981(0x396)])(t['DocSettingIcon'],{})}),_0x19e088&&(0x0,r['jsx'])(ke,{'titleKey':_0x394981(0x214),'onClick':_0x19e088,'children':(0x0,r[_0x394981(0x396)])(t['DeleteIcon'],{})})]})]}),_0xbf0320[_0x394981(0x15b)](_0x368fab=>(0x0,r[_0x394981(0x2eb)])(n[_0x394981(0xd6)],{'children':[(0x0,r['jsx'])(e['Separator'],{'orientation':_0x394981(0x175)}),(0x0,r[_0x394981(0x396)])(De,{'children':_0x368fab[_0x394981(0x295)][_0x394981(0x15b)](_0x1f8dd2=>{const _0x2c1e9f=_0x394981;var _0x2557d6;return(0x0,r[_0x2c1e9f(0x396)])(n[_0x2c1e9f(0xd6)],{'children':(_0x2557d6=_0x1f8dd2['render'])==null?(0x0,r[_0x2c1e9f(0x396)])(ke,{'title':_0x1f8dd2[_0x2c1e9f(0x1ea)],'active':_0x1f8dd2[_0x2c1e9f(0x677)],'disabled':_0x1f8dd2[_0x2c1e9f(0x417)],'onClick':_0x1f8dd2[_0x2c1e9f(0x114)],'children':_0x1f8dd2[_0x2c1e9f(0x15f)]}):_0x2557d6},_0x1f8dd2[_0x2c1e9f(0x4d8)]);})})]},_0x368fab[_0x394981(0x4d8)]))]})]});}let st=function(_0x30a2a3){const _0x59b379=_0x5297e7;return _0x30a2a3['Line']=_0x59b379(0x4d4),_0x30a2a3[_0x59b379(0x355)]='rectangle',_0x30a2a3[_0x59b379(0x25d)]=_0x59b379(0x54e),_0x30a2a3['BlockArrow']=_0x59b379(0x63b),_0x30a2a3['EquationShape']=_0x59b379(0x473),_0x30a2a3['Flowchart']=_0x59b379(0x3f8),_0x30a2a3[_0x59b379(0x4a0)]=_0x59b379(0x4e8),_0x30a2a3[_0x59b379(0x4ef)]=_0x59b379(0xdb),_0x30a2a3[_0x59b379(0x2b9)]='other',_0x30a2a3;}({});const ct=[{'group':_0x5297e7(0x4d4),'type':s['ShapeTypeEnum'][_0x5297e7(0x62b)],'icon':'ShapeLineIcon','name':_0x5297e7(0x219)},{'group':_0x5297e7(0x4d4),'type':s[_0x5297e7(0x274)]['StraightConnector1'],'icon':_0x5297e7(0x618),'name':'shape.type.straight-connector1','endArrow':!0x0},{'group':_0x5297e7(0x4d4),'type':s[_0x5297e7(0x274)]['StraightConnector1'],'icon':_0x5297e7(0x4f8),'name':_0x5297e7(0x3fa),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':s['ShapeTypeEnum'][_0x5297e7(0x464)],'icon':'ShapeBentConnector3Icon','name':_0x5297e7(0x379)},{'group':'line','type':s[_0x5297e7(0x274)]['BentConnector3'],'icon':_0x5297e7(0x44d),'name':'shape.type.bent-connector3-arrow1','endArrow':!0x0},{'group':_0x5297e7(0x4d4),'type':s[_0x5297e7(0x274)][_0x5297e7(0x464)],'icon':_0x5297e7(0x127),'name':'shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':s[_0x5297e7(0x274)][_0x5297e7(0x32f)],'icon':_0x5297e7(0x22c),'name':_0x5297e7(0x22d)},{'group':_0x5297e7(0x4d4),'type':s['ShapeTypeEnum'][_0x5297e7(0x32f)],'icon':_0x5297e7(0x381),'name':_0x5297e7(0x48b),'endArrow':!0x0},{'group':'line','type':s['ShapeTypeEnum'][_0x5297e7(0x32f)],'icon':_0x5297e7(0x529),'name':_0x5297e7(0x23c),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':s['ShapeTypeEnum']['Rect'],'icon':_0x5297e7(0x3e8),'name':_0x5297e7(0x55d)},{'group':_0x5297e7(0x1d7),'type':s[_0x5297e7(0x274)][_0x5297e7(0x20e)],'icon':_0x5297e7(0x2a0),'name':_0x5297e7(0x5d2)},{'group':_0x5297e7(0x1d7),'type':s['ShapeTypeEnum'][_0x5297e7(0x4e9)],'icon':_0x5297e7(0x54a),'name':_0x5297e7(0x33b)},{'group':_0x5297e7(0x1d7),'type':s[_0x5297e7(0x274)][_0x5297e7(0x62f)],'icon':_0x5297e7(0x58c),'name':_0x5297e7(0x3a4)},{'group':'rectangle','type':s[_0x5297e7(0x274)]['Snip2DiagRect'],'icon':_0x5297e7(0x603),'name':'shape.type.snip2-diag-rect'},{'group':_0x5297e7(0x1d7),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1d4)],'icon':'ShapeSnipRoundRectIcon','name':_0x5297e7(0x306)},{'group':_0x5297e7(0x1d7),'type':s['ShapeTypeEnum'][_0x5297e7(0x59e)],'icon':_0x5297e7(0x22f),'name':_0x5297e7(0x42b)},{'group':'rectangle','type':s['ShapeTypeEnum']['Round2SameRect'],'icon':_0x5297e7(0x659),'name':_0x5297e7(0x243)},{'group':'rectangle','type':s[_0x5297e7(0x274)][_0x5297e7(0x2fc)],'icon':_0x5297e7(0x5d6),'name':_0x5297e7(0x193)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x57a)],'icon':_0x5297e7(0x65d),'name':_0x5297e7(0x283),'horizontal':!0x0},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['Rect'],'icon':_0x5297e7(0x637),'name':_0x5297e7(0x1aa),'vertical':!0x0},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x112)],'icon':_0x5297e7(0x36d),'name':'shape.type.ellipse'},{'group':_0x5297e7(0x54e),'type':s['ShapeTypeEnum'][_0x5297e7(0x345)],'icon':_0x5297e7(0x472),'name':_0x5297e7(0x5d8)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['RightTriangle'],'icon':'ShapeRtTriangleIcon','name':_0x5297e7(0x5db)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0xda)],'icon':'ShapeParallelogramIcon','name':_0x5297e7(0x1bd)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x5297e7(0x2ac)],'icon':_0x5297e7(0x2de),'name':_0x5297e7(0x44b)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x38b)],'icon':_0x5297e7(0x530),'name':_0x5297e7(0x558)},{'group':_0x5297e7(0x54e),'type':s['ShapeTypeEnum'][_0x5297e7(0x61c)],'icon':'ShapePentagonIcon','name':_0x5297e7(0x18d)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x29e)],'icon':_0x5297e7(0x389),'name':_0x5297e7(0x18a)},{'group':_0x5297e7(0x54e),'type':s['ShapeTypeEnum']['Heptagon'],'icon':_0x5297e7(0x440),'name':_0x5297e7(0x635)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x205)],'icon':'ShapeOctagonIcon','name':'shape.type.octagon'},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x5297e7(0x30e)],'icon':'ShapeDecagonIcon','name':_0x5297e7(0x244)},{'group':_0x5297e7(0x54e),'type':s['ShapeTypeEnum']['Dodecagon'],'icon':_0x5297e7(0x45d),'name':_0x5297e7(0x3a1)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['Pie'],'icon':_0x5297e7(0x107),'name':_0x5297e7(0x343)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x26c)],'icon':'ShapeChordIcon','name':'shape.type.chord'},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x447)],'icon':_0x5297e7(0x102),'name':'shape.type.teardrop'},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x5297e7(0x1b5)],'icon':_0x5297e7(0x1ac),'name':_0x5297e7(0x55f)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x407)],'icon':'ShapeHalfFrameIcon','name':_0x5297e7(0x1ee)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['Corner'],'icon':_0x5297e7(0x237),'name':_0x5297e7(0x4b3)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1fa)],'icon':_0x5297e7(0x3bd),'name':_0x5297e7(0x162)},{'group':'basicShape','type':s[_0x5297e7(0x274)][_0x5297e7(0x42d)],'icon':_0x5297e7(0xfb),'name':'shape.type.plus'},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x33a)],'icon':_0x5297e7(0x10e),'name':_0x5297e7(0x12d)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['Can'],'icon':_0x5297e7(0xf5),'name':_0x5297e7(0x625)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x44f)],'icon':_0x5297e7(0x668),'name':'shape.type.cube'},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x358)],'icon':_0x5297e7(0xdf),'name':_0x5297e7(0x5d0)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x3e2)],'icon':_0x5297e7(0x4f4),'name':_0x5297e7(0x284)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x3ad)],'icon':_0x5297e7(0x10b),'name':_0x5297e7(0x42a)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x60d)],'icon':_0x5297e7(0x3e6),'name':_0x5297e7(0x5cc)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x594)],'icon':_0x5297e7(0x137),'name':_0x5297e7(0x242)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x19e)],'icon':_0x5297e7(0x14f),'name':'shape.type.smiley-face'},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x414)],'icon':_0x5297e7(0xe0),'name':_0x5297e7(0x652)},{'group':'basicShape','type':s['ShapeTypeEnum']['LightningBolt'],'icon':_0x5297e7(0x3c4),'name':_0x5297e7(0x4e7)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['Sun'],'icon':_0x5297e7(0x280),'name':_0x5297e7(0x402)},{'group':_0x5297e7(0x54e),'type':s['ShapeTypeEnum'][_0x5297e7(0x356)],'icon':'ShapeMoonIcon','name':_0x5297e7(0x121)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)][_0x5297e7(0x5bb)],'icon':_0x5297e7(0x30a),'name':_0x5297e7(0x153)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x5297e7(0x5a1)],'icon':_0x5297e7(0x57e),'name':_0x5297e7(0x4d7)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['BracketPair'],'icon':_0x5297e7(0x5ef),'name':_0x5297e7(0x569)},{'group':'basicShape','type':s['ShapeTypeEnum'][_0x5297e7(0x50f)],'icon':'ShapeBracePairIcon','name':'shape.type.brace-pair'},{'group':'basicShape','type':s[_0x5297e7(0x274)]['LeftBracket'],'icon':'ShapeLeftBracketIcon','name':_0x5297e7(0x47d)},{'group':_0x5297e7(0x54e),'type':s['ShapeTypeEnum']['RightBracket'],'icon':_0x5297e7(0x30c),'name':_0x5297e7(0x64c)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['LeftBrace'],'icon':'ShapeLeftBraceIcon','name':_0x5297e7(0x60c)},{'group':_0x5297e7(0x54e),'type':s[_0x5297e7(0x274)]['RightBrace'],'icon':_0x5297e7(0x2f5),'name':_0x5297e7(0x11c)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['RightArrow'],'icon':_0x5297e7(0x411),'name':_0x5297e7(0x5b5)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['LeftArrow'],'icon':_0x5297e7(0x271),'name':'shape.type.left-arrow'},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x208)],'icon':_0x5297e7(0x269),'name':'shape.type.up-arrow'},{'group':_0x5297e7(0x63b),'type':s['ShapeTypeEnum'][_0x5297e7(0x517)],'icon':_0x5297e7(0x476),'name':_0x5297e7(0x204)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0xfd)],'icon':_0x5297e7(0x2aa),'name':_0x5297e7(0x502)},{'group':_0x5297e7(0x63b),'type':s['ShapeTypeEnum'][_0x5297e7(0x4d5)],'icon':_0x5297e7(0x543),'name':_0x5297e7(0x639)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x268)],'icon':_0x5297e7(0x50e),'name':'shape.type.quad-arrow'},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x190)],'icon':_0x5297e7(0x331),'name':_0x5297e7(0x340)},{'group':_0x5297e7(0x63b),'type':s['ShapeTypeEnum'][_0x5297e7(0x4a1)],'icon':'ShapeBentArrowIcon','name':_0x5297e7(0x626)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x592)],'icon':_0x5297e7(0x3c1),'name':_0x5297e7(0x2a8)},{'group':'blockArrow','type':s[_0x5297e7(0x274)]['LeftUpArrow'],'icon':'ShapeLeftUpArrowIcon','name':_0x5297e7(0x5af)},{'group':'blockArrow','type':s[_0x5297e7(0x274)][_0x5297e7(0x152)],'icon':_0x5297e7(0x4c1),'name':_0x5297e7(0xed)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['CurvedRightArrow'],'icon':_0x5297e7(0x448),'name':_0x5297e7(0x678)},{'group':_0x5297e7(0x63b),'type':s['ShapeTypeEnum'][_0x5297e7(0x2b1)],'icon':_0x5297e7(0x25f),'name':_0x5297e7(0x13f)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['CurvedUpArrow'],'icon':_0x5297e7(0x586),'name':_0x5297e7(0x522)},{'group':'blockArrow','type':s[_0x5297e7(0x274)][_0x5297e7(0x633)],'icon':_0x5297e7(0x267),'name':_0x5297e7(0x290)},{'group':'blockArrow','type':s[_0x5297e7(0x274)][_0x5297e7(0x349)],'icon':_0x5297e7(0x35b),'name':_0x5297e7(0x286)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['NotchedRightArrow'],'icon':_0x5297e7(0xdc),'name':'shape.type.notched-right-arrow'},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x66d)],'icon':_0x5297e7(0x441),'name':_0x5297e7(0x2bc)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x258)],'icon':_0x5297e7(0x582),'name':'shape.type.chevron'},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['RightArrowCallout'],'icon':_0x5297e7(0x4fa),'name':_0x5297e7(0xd5)},{'group':_0x5297e7(0x63b),'type':s['ShapeTypeEnum'][_0x5297e7(0x4fc)],'icon':_0x5297e7(0x179),'name':_0x5297e7(0x18f)},{'group':_0x5297e7(0x63b),'type':s['ShapeTypeEnum'][_0x5297e7(0x5da)],'icon':'ShapeLeftArrowCalloutIcon','name':_0x5297e7(0x1a7)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['UpArrowCallout'],'icon':_0x5297e7(0x521),'name':'shape.type.up-arrow-callout'},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)]['LeftRightArrowCallout'],'icon':_0x5297e7(0x555),'name':_0x5297e7(0x429)},{'group':'blockArrow','type':s[_0x5297e7(0x274)][_0x5297e7(0x46f)],'icon':_0x5297e7(0x5fc),'name':_0x5297e7(0x2d4)},{'group':_0x5297e7(0x63b),'type':s[_0x5297e7(0x274)][_0x5297e7(0x559)],'icon':_0x5297e7(0x64f),'name':'shape.type.circular-arrow'},{'group':'equationShape','type':s[_0x5297e7(0x274)][_0x5297e7(0x41d)],'icon':'ShapeMathPlusIcon','name':_0x5297e7(0x3ee)},{'group':_0x5297e7(0x473),'type':s[_0x5297e7(0x274)][_0x5297e7(0xf6)],'icon':'ShapeMathMinusIcon','name':'shape.type.math-minus'},{'group':_0x5297e7(0x473),'type':s[_0x5297e7(0x274)]['MathMultiply'],'icon':_0x5297e7(0x239),'name':_0x5297e7(0x1e8)},{'group':_0x5297e7(0x473),'type':s['ShapeTypeEnum'][_0x5297e7(0x59b)],'icon':_0x5297e7(0x393),'name':_0x5297e7(0x321)},{'group':_0x5297e7(0x473),'type':s[_0x5297e7(0x274)][_0x5297e7(0x46d)],'icon':_0x5297e7(0x61d),'name':_0x5297e7(0x29f)},{'group':_0x5297e7(0x473),'type':s[_0x5297e7(0x274)][_0x5297e7(0x2f7)],'icon':_0x5297e7(0x151),'name':_0x5297e7(0x5f5)},{'group':'flowchart','type':s[_0x5297e7(0x274)]['FlowchartProcess'],'icon':_0x5297e7(0x484),'name':'shape.type.flow-chart-process'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1f5)],'icon':'ShapeFlowChartAlternateProcessIcon','name':_0x5297e7(0x408)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x129)],'icon':_0x5297e7(0xfa),'name':_0x5297e7(0x61f)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)]['FlowChartInputOutput'],'icon':'ShapeFlowChartInputOutputIcon','name':_0x5297e7(0x21a)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)]['FlowchartPredefinedProcess'],'icon':_0x5297e7(0x49c),'name':_0x5297e7(0x1a9)},{'group':'flowchart','type':s[_0x5297e7(0x274)]['FlowchartInternalStorage'],'icon':'ShapeFlowChartInternalStorageIcon','name':_0x5297e7(0x196)},{'group':'flowchart','type':s[_0x5297e7(0x274)][_0x5297e7(0x292)],'icon':'ShapeFlowChartDocumentIcon','name':'shape.type.flow-chart-document'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x20a)],'icon':_0x5297e7(0x670),'name':_0x5297e7(0x113)},{'group':_0x5297e7(0x3f8),'type':s['ShapeTypeEnum']['FlowchartTerminator'],'icon':_0x5297e7(0x1fd),'name':'shape.type.flow-chart-terminator'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x367)],'icon':_0x5297e7(0x41f),'name':'shape.type.flow-chart-preparation'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x30b)],'icon':_0x5297e7(0x36e),'name':_0x5297e7(0x5dd)},{'group':_0x5297e7(0x3f8),'type':s['ShapeTypeEnum'][_0x5297e7(0x1dc)],'icon':'ShapeFlowChartManualOperationIcon','name':'shape.type.flow-chart-manual-operation'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x19d)],'icon':_0x5297e7(0x4db),'name':_0x5297e7(0x32c)},{'group':_0x5297e7(0x3f8),'type':s['ShapeTypeEnum'][_0x5297e7(0x37f)],'icon':_0x5297e7(0x3ae),'name':_0x5297e7(0x28a)},{'group':'flowchart','type':s[_0x5297e7(0x274)][_0x5297e7(0x339)],'icon':'ShapeFlowChartPunchedCardIcon','name':_0x5297e7(0x575)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)]['FlowchartPunchedTape'],'icon':_0x5297e7(0x149),'name':_0x5297e7(0x15a)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)]['FlowchartSummingJunction'],'icon':'ShapeFlowChartSummingJunctionIcon','name':'shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':s[_0x5297e7(0x274)][_0x5297e7(0x568)],'icon':_0x5297e7(0x435),'name':'shape.type.flow-chart-or'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x5a6)],'icon':'ShapeFlowChartCollateIcon','name':_0x5297e7(0x180)},{'group':_0x5297e7(0x3f8),'type':s['ShapeTypeEnum'][_0x5297e7(0x672)],'icon':_0x5297e7(0x342),'name':'shape.type.flow-chart-sort'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x368)],'icon':_0x5297e7(0x335),'name':_0x5297e7(0x1b2)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)]['FlowchartMerge'],'icon':'ShapeFlowChartMergeIcon','name':_0x5297e7(0x43c)},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x445)],'icon':_0x5297e7(0x3e5),'name':'shape.type.flow-chart-online-storage'},{'group':'flowchart','type':s[_0x5297e7(0x274)][_0x5297e7(0x5f2)],'icon':_0x5297e7(0x425),'name':'shape.type.flow-chart-delay'},{'group':'flowchart','type':s[_0x5297e7(0x274)]['FlowchartMagneticTape'],'icon':_0x5297e7(0x57d),'name':_0x5297e7(0x1dd)},{'group':'flowchart','type':s['ShapeTypeEnum']['FlowchartMagneticDisk'],'icon':_0x5297e7(0x371),'name':_0x5297e7(0x18b)},{'group':'flowchart','type':s[_0x5297e7(0x274)][_0x5297e7(0x534)],'icon':'ShapeFlowChartMagneticDrumIcon','name':'shape.type.flow-chart-magnetic-drum'},{'group':_0x5297e7(0x3f8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x615)],'icon':_0x5297e7(0x409),'name':_0x5297e7(0x5a7)},{'group':_0x5297e7(0x4e8),'type':s['ShapeTypeEnum'][_0x5297e7(0x2ed)],'icon':'ShapeIrregularSeal1Icon','name':'shape.type.irregular-seal1'},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x537)],'icon':_0x5297e7(0x233),'name':_0x5297e7(0x255)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x26b)],'icon':_0x5297e7(0x177),'name':_0x5297e7(0x3ba)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x178)],'icon':'ShapeStar5Icon','name':_0x5297e7(0x54f)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)]['Star6'],'icon':_0x5297e7(0x2d0),'name':'shape.type.star6'},{'group':'starAndBanner','type':s[_0x5297e7(0x274)][_0x5297e7(0x224)],'icon':_0x5297e7(0x601),'name':_0x5297e7(0x1ad)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)]['Star8'],'icon':_0x5297e7(0x491),'name':'shape.type.star8'},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x576)],'icon':_0x5297e7(0x337),'name':_0x5297e7(0x456)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)]['Star12'],'icon':_0x5297e7(0x1f4),'name':_0x5297e7(0x53b)},{'group':_0x5297e7(0x4e8),'type':s['ShapeTypeEnum'][_0x5297e7(0x388)],'icon':'ShapeStar16Icon','name':_0x5297e7(0x165)},{'group':'starAndBanner','type':s[_0x5297e7(0x274)][_0x5297e7(0x528)],'icon':_0x5297e7(0x216),'name':_0x5297e7(0x45c)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x31e)],'icon':_0x5297e7(0x2be),'name':_0x5297e7(0x128)},{'group':_0x5297e7(0x4e8),'type':s['ShapeTypeEnum'][_0x5297e7(0x1c4)],'icon':_0x5297e7(0x4b1),'name':_0x5297e7(0x122)},{'group':_0x5297e7(0x4e8),'type':s['ShapeTypeEnum']['Ribbon'],'icon':_0x5297e7(0x66b),'name':'shape.type.ribbon'},{'group':'starAndBanner','type':s[_0x5297e7(0x274)][_0x5297e7(0x1ce)],'icon':_0x5297e7(0x631),'name':_0x5297e7(0x19a)},{'group':_0x5297e7(0x4e8),'type':s['ShapeTypeEnum'][_0x5297e7(0x5fa)],'icon':_0x5297e7(0x624),'name':_0x5297e7(0x5a4)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x2c8)],'icon':_0x5297e7(0x199),'name':_0x5297e7(0x679)},{'group':_0x5297e7(0x4e8),'type':s['ShapeTypeEnum']['HorizontalScroll'],'icon':_0x5297e7(0x1a6),'name':_0x5297e7(0x2d7)},{'group':_0x5297e7(0x4e8),'type':s[_0x5297e7(0x274)][_0x5297e7(0x475)],'icon':'ShapeWaveIcon','name':_0x5297e7(0x41b)},{'group':'starAndBanner','type':s['ShapeTypeEnum']['DoubleWave'],'icon':'ShapeDoubleWaveIcon','name':_0x5297e7(0x374)},{'group':'callout','type':s[_0x5297e7(0x274)]['WedgeRectCallout'],'icon':_0x5297e7(0x1e6),'name':_0x5297e7(0x5d1)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x26d)],'icon':_0x5297e7(0x141),'name':_0x5297e7(0x27a)},{'group':'callout','type':s['ShapeTypeEnum'][_0x5297e7(0x612)],'icon':'ShapeWedgeEllipseCalloutIcon','name':_0x5297e7(0x3e4)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x1f6)],'icon':_0x5297e7(0x363),'name':_0x5297e7(0x2c6)},{'group':_0x5297e7(0xdb),'type':s['ShapeTypeEnum'][_0x5297e7(0x201)],'icon':_0x5297e7(0x1da),'name':_0x5297e7(0x12e)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x650)],'icon':_0x5297e7(0x4e2),'name':_0x5297e7(0x563)},{'group':_0x5297e7(0xdb),'type':s[_0x5297e7(0x274)][_0x5297e7(0x3db)],'icon':_0x5297e7(0x21f),'name':_0x5297e7(0x380)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x5a5)],'icon':_0x5297e7(0x658),'name':_0x5297e7(0x27b)},{'group':_0x5297e7(0xdb),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1f8)],'icon':_0x5297e7(0x5c0),'name':_0x5297e7(0x5b3)},{'group':_0x5297e7(0xdb),'type':s['ShapeTypeEnum'][_0x5297e7(0x433)],'icon':'ShapeAccentCallout3Icon','name':_0x5297e7(0x1d5)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x62e)],'icon':_0x5297e7(0x2c5),'name':_0x5297e7(0x1a3)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x173)],'icon':_0x5297e7(0x19c),'name':_0x5297e7(0x60b)},{'group':_0x5297e7(0xdb),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1a1)],'icon':'ShapeCallout3Icon','name':_0x5297e7(0x52b)},{'group':'callout','type':s[_0x5297e7(0x274)][_0x5297e7(0x536)],'icon':_0x5297e7(0x616),'name':_0x5297e7(0x21e)},{'group':_0x5297e7(0xdb),'type':s[_0x5297e7(0x274)][_0x5297e7(0x124)],'icon':_0x5297e7(0x2e1),'name':'shape.type.accent-border-callout2'},{'group':_0x5297e7(0xdb),'type':s[_0x5297e7(0x274)][_0x5297e7(0x195)],'icon':_0x5297e7(0x184),'name':_0x5297e7(0x35d)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)]['LeftCircularArrow'],'icon':_0x5297e7(0x222),'name':_0x5297e7(0x46b)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1e0)],'icon':'ShapeLeftRightCircularArrowIcon','name':_0x5297e7(0x5f6)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)]['SwooshArrow'],'icon':_0x5297e7(0x5f3),'name':_0x5297e7(0x397)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x3ab)],'icon':'ShapeLeftRightRibbonIcon','name':_0x5297e7(0x120)},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum']['PieWedge'],'icon':_0x5297e7(0x3ed),'name':'shape.type.pie-wedge'},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x1b8)],'icon':_0x5297e7(0x3a7),'name':'shape.type.funnel'},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum'][_0x5297e7(0x323)],'icon':_0x5297e7(0x101),'name':_0x5297e7(0x272)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x567)],'icon':_0x5297e7(0x3ef),'name':_0x5297e7(0x53c)},{'group':'other','type':s[_0x5297e7(0x274)][_0x5297e7(0x60f)],'icon':_0x5297e7(0x427),'name':'shape.type.corner-tabs'},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)]['ActionButtonBackPrevious'],'icon':'ShapeActionButtonBackPreviousIcon','name':_0x5297e7(0x41e)},{'group':'other','type':s['ShapeTypeEnum']['ActionButtonForwardNext'],'icon':'ShapeActionButtonForwardNextIcon','name':_0x5297e7(0x3a3)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)]['ActionButtonBeginning'],'icon':_0x5297e7(0x640),'name':_0x5297e7(0x660)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x206)],'icon':_0x5297e7(0x10f),'name':_0x5297e7(0x57c)},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum'][_0x5297e7(0x4b6)],'icon':_0x5297e7(0x506),'name':_0x5297e7(0x2f6)},{'group':'other','type':s['ShapeTypeEnum'][_0x5297e7(0x30d)],'icon':'ShapeActionButtonInformationIcon','name':_0x5297e7(0x1d9)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x443)],'icon':_0x5297e7(0x10c),'name':_0x5297e7(0x39d)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x573)],'icon':_0x5297e7(0x40e),'name':_0x5297e7(0x221)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)]['ActionButtonDocument'],'icon':_0x5297e7(0x449),'name':'shape.type.action-button-document'},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum']['ActionButtonSound'],'icon':_0x5297e7(0x2b5),'name':_0x5297e7(0x3a5)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x142)],'icon':_0x5297e7(0x504),'name':_0x5297e7(0x2d2)},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum'][_0x5297e7(0x307)],'icon':_0x5297e7(0x547),'name':_0x5297e7(0x3b2)},{'group':'other','type':s[_0x5297e7(0x274)][_0x5297e7(0x657)],'icon':'ShapeChartPlusIcon','name':_0x5297e7(0x487)},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum'][_0x5297e7(0xff)],'icon':_0x5297e7(0x303),'name':_0x5297e7(0x66e)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x58d)],'icon':_0x5297e7(0x203),'name':_0x5297e7(0x564)},{'group':'other','type':s[_0x5297e7(0x274)][_0x5297e7(0x320)],'icon':_0x5297e7(0x108),'name':_0x5297e7(0x157)},{'group':'other','type':s[_0x5297e7(0x274)][_0x5297e7(0x1b6)],'icon':_0x5297e7(0x392),'name':_0x5297e7(0x578)},{'group':'other','type':s[_0x5297e7(0x274)][_0x5297e7(0x3d6)],'icon':'ShapePlaqueTabsIcon','name':'shape.type.plaque-tabs'},{'group':_0x5297e7(0x470),'type':s['ShapeTypeEnum']['SquareTabs'],'icon':'ShapeSquareTabsIcon','name':'shape.type.square-tabs'},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)]['UpDownArrowCallout'],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x5297e7(0x4dd)},{'group':_0x5297e7(0x470),'type':s[_0x5297e7(0x274)][_0x5297e7(0x253)],'icon':_0x5297e7(0x13a),'name':_0x5297e7(0x373)}];function lt(_0x506d76=ct,_0x4d658c=[]){const _0x2c2f4a=_0x5297e7;return _0x506d76['reduce']((_0x5234e3,_0x3ef554)=>_0x4d658c['includes'](_0x3ef554[_0x2c2f4a(0x644)])?_0x5234e3:(_0x5234e3[_0x3ef554[_0x2c2f4a(0x644)]]||(_0x5234e3[_0x3ef554[_0x2c2f4a(0x644)]]=[]),_0x5234e3[_0x3ef554[_0x2c2f4a(0x644)]][_0x2c2f4a(0x217)](_0x3ef554),_0x5234e3),{});}function ut(_0x3699f0){const _0x384899=_0x5297e7;let {excludeGroups:_0x5b87a3,onShapeClick:_0x2c49ad,options:_0x4381fb=ct,scrollContainer:_0x529bc7=_0x384899(0x1b7),variant:_0x4a85a9='plain'}=_0x3699f0,_0x38b2e3=(0x0,a[_0x384899(0x15c)])(a[_0x384899(0x51e)]),_0x504fae=(0x0,a[_0x384899(0x15c)])(i[_0x384899(0x415)]),_0x3b8301=lt(_0x4381fb,_0x5b87a3);return(0x0,r[_0x384899(0x396)])(_0x384899(0x5ac),{'className':(0x0,e[_0x384899(0x461)])(_0x384899(0x64e),_0x529bc7===_0x384899(0x1b7)&&_0x384899(0x5dc),_0x4a85a9===_0x384899(0x4c7)&&'univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900'),'children':Object[_0x384899(0x1e5)](_0x3b8301)[_0x384899(0x15b)](([_0x16b35b,_0x40b446])=>(0x0,r[_0x384899(0x2eb)])(_0x384899(0x5ac),{'className':_0x384899(0x500),'children':[(0x0,r['jsx'])(_0x384899(0x5ac),{'className':_0x384899(0x348),'children':_0x504fae['t'](_0x384899(0x455)+_0x16b35b)}),(0x0,r['jsx'])(_0x384899(0x5ac),{'className':_0x384899(0x39b),'children':_0x40b446==null?void 0x0:_0x40b446[_0x384899(0x15b)](_0x1d2238=>{const _0xf8daca=_0x384899;let _0x277059=_0x38b2e3[_0xf8daca(0xe8)](_0x1d2238[_0xf8daca(0x15f)]);return(0x0,r[_0xf8daca(0x396)])(_0xf8daca(0x1c0),{'type':'button','title':_0x504fae['t'](_0xf8daca(0x617)+_0x1d2238[_0xf8daca(0x608)]),'onClick':()=>_0x2c49ad(_0x1d2238),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0x277059&&(0x0,r[_0xf8daca(0x396)])(_0x277059,{'className':_0xf8daca(0x492)})},_0x1d2238[_0xf8daca(0x608)]);})})]},_0x16b35b))});}function dt(_0x56727c){const _0x4259cd=_0x5297e7;return(0x0,r[_0x4259cd(0x396)])(ut,{'excludeGroups':_0x56727c['excludeGroups'],'onShapeClick':_0x56727c[_0x4259cd(0x410)],'options':_0x56727c['options'],'scrollContainer':_0x56727c[_0x4259cd(0x106)],'variant':_0x56727c['variant']});}function ft(_0x237ec6){const _0x4456ca=_0x5297e7;let {buttonLabel:_0x57b625,side:_0x2ef75d=_0x4456ca(0x376),..._0x44abed}=_0x237ec6,_0x238774=(0x0,a[_0x4456ca(0x15c)])(i['LocaleService']),[_0x1376d9,_0xe73afb]=(0x0,n[_0x4456ca(0x38d)])(!0x1);return(0x0,r[_0x4456ca(0x396)])(e[_0x4456ca(0x264)],{'side':_0x2ef75d,'open':_0x1376d9,'onOpenChange':_0xe73afb,'overlay':(0x0,r[_0x4456ca(0x396)])(dt,{..._0x44abed,'onShapeClick':_0x4872a5=>{const _0x33953f=_0x4456ca;_0x44abed[_0x33953f(0x410)](_0x4872a5),_0xe73afb(!0x1);}}),'children':(0x0,r[_0x4456ca(0x396)])(e[_0x4456ca(0x36a)],{'children':_0x238774['t'](_0x57b625)})});}function _0x51e3(_0x510872,_0x39dec0){_0x510872=_0x510872-0xd4;const _0x5ae5cd=_0x5ae5();let _0x51e3e0=_0x5ae5cd[_0x510872];return _0x51e3e0;}const pt='docs-quote.command.insert';function mt(_0x20295f){const _0x1913b5=_0x5297e7;var _0x47e03f,_0x556879,_0x2d0c9b;let {title:_0x55cb3e,popupDataComponent:_0x1783f0=_0x1913b5(0x4dc)}=_0x20295f,_0x4a9986=(0x0,a[_0x1913b5(0x15c)])(i['ICommandService']),_0x36d933=(0x0,a['useDependency'])(l[_0x1913b5(0xf8)]),_0x6ceb9b=(0x0,a[_0x1913b5(0x15c)])(i['LocaleService']),_0x4a76b5=(0x0,a[_0x1913b5(0x15c)])(i['IUniverInstanceService']),[_0x143cf6,_0x352c33]=(0x0,n[_0x1913b5(0x38d)])(!0x1),[_0x251498,_0x288e5f]=(0x0,n[_0x1913b5(0x38d)])(i['NamedStyleType'][_0x1913b5(0x287)]),_0x310d07=()=>{const _0x271bfe=_0x1913b5;var _0x81d76e,_0x1c3d3b;let _0x5a91f9=yt(_0x4a76b5[_0x271bfe(0x604)](i['UniverInstanceType'][_0x271bfe(0x3a8)]),vt(_0x36d933));_0x288e5f((_0x81d76e=_0x5a91f9==null||(_0x1c3d3b=_0x5a91f9['paragraphStyle'])==null?void 0x0:_0x1c3d3b[_0x271bfe(0x3f3)])==null?i[_0x271bfe(0x18e)][_0x271bfe(0x287)]:_0x81d76e);};(0x0,n[_0x1913b5(0x1de)])(()=>{const _0x165b42=_0x1913b5;_0x310d07();let _0x3a3374=_0x4a9986['onCommandExecuted'](_0x3e0055=>{const _0x367805=_0x51e3;(_0x3e0055['id']===l['RichTextEditingMutation']['id']||_0x3e0055['id']===l['SetTextSelectionsOperation']['id']||_0x3e0055['id']===u[_0x367805(0x1c2)]['id']||_0x3e0055['id']===u[_0x367805(0xe2)]['id']||_0x3e0055['id']===u[_0x367805(0x34a)]['id']||_0x3e0055['id']===u[_0x367805(0x4ed)]['id'])&&_0x310d07();}),_0x181817=_0x36d933[_0x165b42(0x327)][_0x165b42(0x5e9)](_0x310d07);return()=>{const _0x40ba8c=_0x165b42;_0x3a3374[_0x40ba8c(0x52e)](),_0x181817['unsubscribe']();};},[_0x4a9986,_0x36d933,_0x4a76b5]);let _0x4fa7f2=(0x0,n[_0x1913b5(0x4f3)])(()=>ht(_0x4a9986)[_0x1913b5(0x15b)](_0x300dbc=>({..._0x300dbc,'label':_0x6ceb9b['t'](_0x300dbc['label'])})),[_0x4a9986,_0x6ceb9b]),_0x100d2e=(_0x47e03f=_0x4fa7f2[_0x1913b5(0x176)](_0x4deeec=>_0x4deeec[_0x1913b5(0x3f3)]===_0x251498))==null?_0x4fa7f2[0x0]:_0x47e03f,_0x52b125=_0x37d03e=>{const _0x803494=_0x1913b5;var _0x15a52e;let _0x46a684=_0x4a76b5[_0x803494(0x604)](i[_0x803494(0x207)][_0x803494(0x3a8)]),_0x2e090f=vt(_0x36d933);if((_0x15a52e=_0x20295f[_0x803494(0x56f)])==null||_0x15a52e[_0x803494(0x16d)](_0x20295f),_0x37d03e[_0x803494(0x3f3)]!==void 0x0){let _0x522523={'value':_0x37d03e[_0x803494(0x3f3)]};_0x2e090f&&(_0x522523[_0x803494(0x553)]=[_0x2e090f]),_0x4a9986[_0x803494(0x285)](u[_0x803494(0x1c2)]['id'],_0x522523);}else{if(_0x37d03e['commandId']===u['OrderListCommand']['id']||_0x37d03e['commandId']===u[_0x803494(0x34a)]['id']||_0x37d03e[_0x803494(0x4d9)]===u[_0x803494(0x4ed)]['id']){let _0x1fc714=_0x2e090f?{'docRange':[_0x2e090f]}:void 0x0;_0x4a9986['executeCommand'](_0x37d03e[_0x803494(0x4d9)],_0x1fc714);}else _0x37d03e[_0x803494(0x4d9)]&&_0x4a9986[_0x803494(0x285)](_0x37d03e[_0x803494(0x4d9)],{'unitId':_0x46a684==null?void 0x0:_0x46a684[_0x803494(0x4ae)](),'startOffset':_0x2e090f==null?void 0x0:_0x2e090f[_0x803494(0x225)],'endOffset':_0x2e090f==null?void 0x0:_0x2e090f['endOffset']});}_0x352c33(!0x1),window[_0x803494(0x5e1)](()=>{const _0x4c3874=_0x803494;var _0x4e4aa0;_0x310d07(),(_0x4e4aa0=_0x20295f['onAfterCommand'])==null||_0x4e4aa0[_0x4c3874(0x16d)](_0x20295f);});};return(0x0,r[_0x1913b5(0x396)])(e[_0x1913b5(0x264)],{'open':_0x143cf6,'onOpenChange':_0x352c33,'overlay':(0x0,r[_0x1913b5(0x396)])(_0x1913b5(0x5ac),{'className':(0x0,e[_0x1913b5(0x461)])('univer-min-w-44\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',_0x20295f['className']),'data-u-comp':_0x1783f0,'onMouseDown':_0x1a8714=>_0x1a8714['preventDefault'](),'children':_0x4fa7f2['map'](_0x14a6b5=>(0x0,r[_0x1913b5(0x2eb)])('button',{'type':_0x1913b5(0x1c0),'className':(0x0,e[_0x1913b5(0x461)])('univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x14a6b5['value']===(_0x100d2e==null?void 0x0:_0x100d2e[_0x1913b5(0x600)])}),'onClick':()=>_0x52b125(_0x14a6b5),'onMouseDown':_0x149017=>_0x149017['preventDefault'](),'children':[(0x0,r[_0x1913b5(0x396)])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x14a6b5[_0x1913b5(0x15f)]}),(0x0,r[_0x1913b5(0x396)])(_0x1913b5(0xeb),{'className':_0x1913b5(0x2d1),'children':_0x14a6b5[_0x1913b5(0x1ea)]})]},_0x14a6b5[_0x1913b5(0x600)]))}),'children':(0x0,r[_0x1913b5(0x396)])(_0x1913b5(0xeb),{'children':(0x0,r[_0x1913b5(0x396)])(e['Tooltip'],{'title':_0x55cb3e,'placement':_0x1913b5(0x3ac),'children':(0x0,r['jsxs'])(_0x1913b5(0x1c0),{'type':'button','aria-expanded':_0x143cf6,'aria-label':_0x55cb3e,'title':_0x55cb3e,'className':(0x0,e['clsx'])(_0x1913b5(0x273),_0x20295f[_0x1913b5(0x135)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x143cf6}),'onMouseDown':(_0x556879=_0x20295f[_0x1913b5(0x3ff)])==null?_0x222b9e=>_0x222b9e[_0x1913b5(0x169)]():_0x556879,'children':[(0x0,r[_0x1913b5(0x396)])(_0x1913b5(0xeb),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':(_0x2d0c9b=_0x100d2e==null?void 0x0:_0x100d2e[_0x1913b5(0x15f)])==null?(0x0,r[_0x1913b5(0x396)])(t[_0x1913b5(0x2df)],{}):_0x2d0c9b}),(0x0,r[_0x1913b5(0x396)])(t['MoreDownIcon'],{'className':'univer-text-xs'})]})})})});}function ht(_0x32d3ba){const _0xc070b9=_0x5297e7;let _0x3af743=[gt(i['NamedStyleType'][_0xc070b9(0x287)],(0x0,r['jsx'])(t['TextTypeIcon'],{}),'shape-editor-ui.textEditor.paragraphType.normal'),gt(i[_0xc070b9(0x18e)][_0xc070b9(0x54b)],(0x0,r[_0xc070b9(0x396)])(t[_0xc070b9(0x391)],{}),_0xc070b9(0x4c6)),gt(i[_0xc070b9(0x18e)][_0xc070b9(0x486)],(0x0,r['jsx'])(t[_0xc070b9(0x4c8)],{}),_0xc070b9(0x542)),gt(i[_0xc070b9(0x18e)][_0xc070b9(0x140)],(0x0,r[_0xc070b9(0x396)])(t['H3Icon'],{}),'shape-editor-ui.textEditor.paragraphType.heading3'),gt(i[_0xc070b9(0x18e)][_0xc070b9(0x56a)],(0x0,r[_0xc070b9(0x396)])(t[_0xc070b9(0x5f0)],{}),_0xc070b9(0x1e2)),gt(i[_0xc070b9(0x18e)][_0xc070b9(0x26a)],(0x0,r[_0xc070b9(0x396)])(t[_0xc070b9(0x17a)],{}),_0xc070b9(0x2d6)),_t(u[_0xc070b9(0xe2)]['id'],(0x0,r['jsx'])(t['OrderIcon'],{}),_0xc070b9(0x30f)),_t(u[_0xc070b9(0x34a)]['id'],(0x0,r['jsx'])(t[_0xc070b9(0x245)],{}),'shape-editor-ui.textEditor.paragraphType.bulletList'),_t(u[_0xc070b9(0x4ed)]['id'],(0x0,r['jsx'])(t[_0xc070b9(0x5e6)],{}),_0xc070b9(0x1ba))],_0x4b211a=[_t(pt,(0x0,r['jsx'])(_0xc070b9(0xeb),{'className':_0xc070b9(0x3eb),'children':'\x22'}),'shape-editor-ui.textEditor.paragraphType.quote'),_t(_0xc070b9(0x597),(0x0,r[_0xc070b9(0x396)])(t[_0xc070b9(0x5ea)],{}),_0xc070b9(0x614)),_t(_0xc070b9(0x2b0),(0x0,r['jsx'])(t[_0xc070b9(0x2c5)],{}),_0xc070b9(0x23a))][_0xc070b9(0x2ce)](_0x17e4b5=>_0x32d3ba['hasCommand'](_0x17e4b5[_0xc070b9(0x4d9)]));return[..._0x3af743,..._0x4b211a];}function gt(_0x2c4ca6,_0x56b07f,_0x30664c){const _0x1198cb=_0x5297e7;return{'icon':_0x56b07f,'label':_0x30664c,'namedStyleType':_0x2c4ca6,'value':_0x1198cb(0x1b1)+_0x2c4ca6};}function _t(_0x18b844,_0x258f04,_0x1f2843){const _0x390ed8=_0x5297e7;return{'commandId':_0x18b844,'icon':_0x258f04,'label':_0x1f2843,'value':_0x390ed8(0x587)+_0x18b844};}function vt(_0x59322b){const _0x4dd011=_0x5297e7;var _0x538caa,_0x2e6089,_0x1c05b8,_0x42d3e7;let _0x2179d8=(_0x538caa=_0x59322b['getActiveTextRange'])==null?void 0x0:_0x538caa['call'](_0x59322b);if(_0x2179d8)return _0x2179d8;let _0x2f49bc=(_0x2e6089=_0x59322b['getTextRanges']())==null?[]:_0x2e6089;return(_0x1c05b8=(_0x42d3e7=_0x2f49bc['find'](_0x3ca9b8=>_0x3ca9b8[_0x4dd011(0x230)]))==null?_0x2f49bc[0x0]:_0x42d3e7)==null?null:_0x1c05b8;}function yt(_0x1c7aca,_0x5a203c){const _0x135f87=_0x5297e7;var _0x129b9b,_0x21772c,_0x5eca06,_0x481570;let _0x181e7e=_0x1c7aca==null||(_0x129b9b=_0x1c7aca[_0x135f87(0x512)](_0x5a203c==null?void 0x0:_0x5a203c[_0x135f87(0x338)]))==null?void 0x0:_0x129b9b[_0x135f87(0x628)](),_0x1c13ce=(_0x21772c=_0x181e7e==null?void 0x0:_0x181e7e[_0x135f87(0x2e5)])==null?[]:_0x21772c,_0xa4fc25=(_0x5eca06=_0x5a203c==null?void 0x0:_0x5a203c[_0x135f87(0x225)])==null?0x0:_0x5eca06;return(_0x481570=_0x1c13ce[_0x135f87(0x176)](_0x1a8bbe=>_0x1a8bbe[_0x135f87(0x4f0)]>=_0xa4fc25))==null?_0x1c13ce[_0x1c13ce[_0x135f87(0x24d)]-0x1]:_0x481570;}function bt(){const _0xd09c0a=_0x5297e7;return{'id':'shape-text-document','body':{'dataStream':'\x0d\x0a','paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i[_0xd09c0a(0x5b0)])(new Set())}],'textRuns':[]},'documentStyle':{}};}function xt(_0x36ed7f){const _0x5c1f60=_0x5297e7;var _0x5cc1ff,_0x210636;return{'fill':(_0x5cc1ff=_0x36ed7f[_0x5c1f60(0x653)])==null?{'fillType':s[_0x5c1f60(0x247)]['NoFill']}:_0x5cc1ff,'isTextBox':!0x0,'shapeText':{'isHorizontal':_0x36ed7f[_0x5c1f60(0x59f)],'textDirection':_0x36ed7f[_0x5c1f60(0x59f)]?s[_0x5c1f60(0x585)][_0x5c1f60(0x2bd)]:s['ShapeTextDirection'][_0x5c1f60(0x134)],'text':'','autoFitType':s[_0x5c1f60(0x548)][_0x5c1f60(0x4f2)],'textWrap':s[_0x5c1f60(0x3af)][_0x5c1f60(0x299)],'dataModel':{'ha':i['HorizontalAlign'][_0x5c1f60(0x64a)],'va':i['VerticalAlign'][_0x5c1f60(0x32b)],'doc':bt()}},'stroke':(_0x210636=_0x36ed7f['stroke'])==null?{'lineStrokeType':s[_0x5c1f60(0x5ad)][_0x5c1f60(0x309)]}:_0x210636};}function St(_0x441160,_0x4442b9){return _0x441160?{..._0x441160,'shapeText':_0x4442b9}:{'shapeText':_0x4442b9};}function Ct(_0x1b8801){const _0x4c2682=_0x5297e7;var _0x5e82b2;if(!_0x1b8801||!(_0x4c2682(0x4aa)in _0x1b8801))return;let _0x234347=_0x1b8801[_0x4c2682(0x4aa)];if(!_0x234347||typeof _0x234347!=_0x4c2682(0x666)||!(_0x4c2682(0x2fd)in _0x234347))return;let _0x463ad9=_0x234347[_0x4c2682(0x2fd)];if(wt(_0x463ad9))return(_0x5e82b2=_0x463ad9['documentStyle'])==null||(_0x5e82b2=_0x5e82b2['renderConfig'])==null?void 0x0:_0x5e82b2[_0x4c2682(0x1e4)];}function wt(_0x24ddc4){const _0x4ec173=_0x5297e7;return typeof _0x24ddc4==_0x4ec173(0x666)&&!!_0x24ddc4&&'id'in _0x24ddc4;}function Tt(_0x21090a,_0x36cd5e=i[_0x5297e7(0x2ca)]['WRAP']){const _0x35ecf0=_0x5297e7;var _0x5dce4d;let _0x49ea89=_0x21090a[_0x35ecf0(0x516)];return(_0x49ea89==null?void 0x0:_0x49ea89[_0x35ecf0(0x1cb)])===s[_0x35ecf0(0x3af)]['None']?i[_0x35ecf0(0x2ca)]['CLIP']:(_0x49ea89==null?void 0x0:_0x49ea89['textWrap'])===s[_0x35ecf0(0x3af)][_0x35ecf0(0x16f)]?i[_0x35ecf0(0x2ca)]['WRAP']:(_0x5dce4d=Ct(_0x49ea89))==null?_0x36cd5e:_0x5dce4d;}function Et(_0x243aec,_0x31448b){const _0x1979d0=_0x5297e7;return(0x0,s[_0x1979d0(0xdd)])(_0x243aec)['textWrap']===s['ShapeTextWrapType']['None']?!0x1:(_0x31448b==null?Tt(_0x243aec):_0x31448b)!==i['WrapStrategy'][_0x1979d0(0x63d)];}function Dt(_0x65f197){const _0x28385a=_0x5297e7;let _0x27b84b=(0x0,s[_0x28385a(0xdd)])(_0x65f197);return _0x27b84b['autoFitType']===s['ShapeTextAutoFitType'][_0x28385a(0x4f2)]&&_0x27b84b['textWrap']===s[_0x28385a(0x3af)]['None'];}function Ot(_0x58f532){const _0x443b98=_0x5297e7;var _0x1f71d8;return((_0x1f71d8=_0x58f532['shapeText'])==null?void 0x0:_0x1f71d8[_0x443b98(0x59f)])===!0x1?_0x443b98(0x609):_0x443b98(0x28e);}function kt(_0x7cd015,_0x2d8455={}){const _0x5eb8a9=_0x5297e7;return _0x2d8455[_0x5eb8a9(0x3da)]===!0x0?!0x0:_0x7cd015?(0x0,s[_0x5eb8a9(0xdd)])(_0x7cd015)[_0x5eb8a9(0x5c1)]:!0x1;}function At(_0x28050e,_0x25086b){if(_0x28050e==null||_0x25086b==null)return!0x1;let {glyph:_0x52037f,..._0x697a2a}=_0x28050e,{glyph:_0x5b2efb,..._0x2b116a}=_0x25086b;return(0x0,i['deepCompare'])(_0x697a2a,_0x2b116a);}var jt=class extends i[_0x5297e7(0x378)]{constructor(_0x1356d7,_0x1327a4,_0x59afa9,_0x38410e,_0x2e0bcb){const _0x1c1a41=_0x5297e7;super(),this[_0x1c1a41(0x675)]=_0x1356d7,this[_0x1c1a41(0x2bf)]=_0x1327a4,this[_0x1c1a41(0x13e)]=_0x59afa9,this[_0x1c1a41(0x34b)]=_0x38410e,this[_0x1c1a41(0x123)]=_0x2e0bcb,w(this,_0x1c1a41(0x413),null),this[_0x1c1a41(0x675)][_0x1c1a41(0x1f3)]===this[_0x1c1a41(0x123)][_0x1c1a41(0x571)]&&(this[_0x1c1a41(0x37b)](),this[_0x1c1a41(0x63f)](()=>this[_0x1c1a41(0x33f)]()));}[_0x5297e7(0x37b)](){const _0x526b5d=_0x5297e7;this[_0x526b5d(0x63f)](this[_0x526b5d(0x34b)]['onSelectionStart$'][_0x526b5d(0x5e9)](()=>{const _0x22fd87=_0x526b5d;this[_0x22fd87(0x33f)]();})),this[_0x526b5d(0x63f)](this[_0x526b5d(0x2bf)]['textSelection$'][_0x526b5d(0x5e9)](_0x375e0e=>{const _0x4825c4=_0x526b5d;var _0x35510a,_0x30f9f7;let {unitId:_0x26ca0d,textRanges:_0x1ed1c7}=_0x375e0e;if(_0x26ca0d!==this[_0x4825c4(0x675)][_0x4825c4(0x1f3)])return;let _0x55c1da=_0x1ed1c7['find'](_0x20419f=>!_0x20419f[_0x4825c4(0x4df)]);if(!_0x55c1da){this[_0x4825c4(0x33f)]();return;}_0x55c1da[_0x4825c4(0x225)]===((_0x35510a=this['_floatMenu'])==null?void 0x0:_0x35510a['start'])&&_0x55c1da[_0x4825c4(0x12f)]===((_0x30f9f7=this['_floatMenu'])==null?void 0x0:_0x30f9f7[_0x4825c4(0x38c)])||(this[_0x4825c4(0x33f)](),this['_showFloatMenu'](_0x26ca0d,_0x55c1da));}));}[_0x5297e7(0x33f)](){const _0xdb597d=_0x5297e7;var _0x4980f9;(_0x4980f9=this[_0xdb597d(0x413)])==null||_0x4980f9[_0xdb597d(0x12a)][_0xdb597d(0x52e)](),this[_0xdb597d(0x413)]=null;}[_0x5297e7(0x3c8)](_0x219928,_0x447b4d){const _0x1088a5=_0x5297e7;this['_floatMenu']={'disposable':this['_docCanvasPopManagerService']['attachPopupToRange'](_0x447b4d,{'componentKey':this[_0x1088a5(0x123)][_0x1088a5(0x51b)],'direction':_0x447b4d[_0x1088a5(0x5e3)]===_0x1088a5(0x12b)||At(_0x447b4d[_0x1088a5(0x260)],_0x447b4d['endNodePosition'])?'top-center':'bottom-center','offset':[0x0,0x4]},_0x219928),'start':_0x447b4d['startOffset'],'end':_0x447b4d[_0x1088a5(0x12f)]};}};function Mt(_0x34cffc){const _0x41b255=_0x5297e7;return Number[_0x41b255(0x4cd)](_0x34cffc)&&_0x34cffc>0x0?_0x34cffc:0x0;}function Nt(_0x45d8bf){const _0x322025=_0x5297e7;return _0x45d8bf===!0x0||_0x45d8bf===i['BooleanNumber'][_0x322025(0x17c)];}function Pt(_0x5afcff){const _0x4a6b62=_0x5297e7;return typeof(_0x5afcff==null?void 0x0:_0x5afcff[_0x4a6b62(0x583)])==_0x4a6b62(0x1e7)&&_0x5afcff['content'][_0x4a6b62(0x31d)]()[_0x4a6b62(0x24d)]>0x0;}function Ft(_0x415093,_0x1d749b){const _0x34da69=_0x5297e7;var _0x4221a6,_0x27d280,_0x37f631,_0x40e432,_0x530a37,_0x5d3621;let _0x4d5b93=_0x415093==null?void 0x0:_0x415093['bBox'],_0x2211d8=(_0x4221a6=(_0x27d280=(_0x37f631=_0x4d5b93==null?void 0x0:_0x4d5b93['aba'])==null?_0x4d5b93==null?void 0x0:_0x4d5b93['ba']:_0x37f631)==null?_0x1d749b[_0x34da69(0x1d8)]:_0x27d280)==null?0x0:_0x4221a6,_0x58ca45=(_0x40e432=(_0x530a37=(_0x5d3621=_0x4d5b93==null?void 0x0:_0x4d5b93[_0x34da69(0x35c)])==null?_0x4d5b93==null?void 0x0:_0x4d5b93['bd']:_0x5d3621)==null?_0x1d749b[_0x34da69(0x436)]:_0x530a37)==null?0x0:_0x40e432;return _0x2211d8===0x0&&_0x58ca45===0x0?null:{'ascent':_0x2211d8,'descent':_0x58ca45};}function It(_0x5a3e37){const _0x1dd35b=_0x5297e7;let _0x55c7e7=Mt(_0x5a3e37[_0x1dd35b(0x2dd)])-Mt(_0x5a3e37[_0x1dd35b(0x170)]);return _0x5a3e37[_0x1dd35b(0x341)]===i[_0x1dd35b(0x11d)]['MIDDLE']?_0x55c7e7/0x2:_0x5a3e37[_0x1dd35b(0x341)]===i[_0x1dd35b(0x11d)]['BOTTOM']?_0x55c7e7:0x0;}function Lt(_0x620719){const _0x44d9f5=_0x5297e7;let _0x10b2ab=Mt(_0x620719[_0x44d9f5(0x2dd)]),_0x27c15c=Math[_0x44d9f5(0x130)](_0x10b2ab,Mt(_0x620719[_0x44d9f5(0x170)])),_0x5e3fe4=_0x620719[_0x44d9f5(0x5f7)],_0x3499bb=_0x620719[_0x44d9f5(0x103)],_0x15a79c=Number[_0x44d9f5(0x4cd)](_0x5e3fe4)?_0x5e3fe4:It(_0x620719),_0x1dd1d8=Math[_0x44d9f5(0x524)](0x0,_0x15a79c),_0x4b5f09=_0x1dd1d8+(Number['isFinite'](_0x3499bb)?_0x3499bb:0x0),_0x24e016=_0x4b5f09<0x0?_0x4b5f09:0x0;return{'clipHeight':_0x27c15c-_0x24e016,'clipTop':_0x24e016,'contentHeight':_0x27c15c,'contentVerticalOffset':_0x1dd1d8,'marginTop':Math[_0x44d9f5(0x130)](0x0,_0x15a79c),'verticalOffset':_0x15a79c};}function Rt(_0x417bab,_0x2be8e1=0x1){const _0x14a362=_0x5297e7;var _0x2e3a1d;let _0x513c9f=_0x417bab['getSkeletonData'](),_0x5cc6c3=0x1/0x0,_0x38a5f9=-0x1/0x0,_0x2aa825=0x0;for(let _0x4d879a of(_0x2e3a1d=_0x513c9f==null?void 0x0:_0x513c9f[_0x14a362(0x428)])==null?[]:_0x2e3a1d){var _0x571a9b,_0x10f150,_0x22ec57;let _0x595574=(_0x571a9b=_0x4d879a[_0x14a362(0x215)])==null?0x0:_0x571a9b;for(let _0x16ccf6 of(_0x10f150=_0x4d879a[_0x14a362(0x150)])==null?[]:_0x10f150){var _0x18f4d0,_0x315b12;let _0x1687a1=(_0x18f4d0=_0x16ccf6['top'])==null?0x0:_0x18f4d0;for(let _0x5872bc of(_0x315b12=_0x16ccf6[_0x14a362(0x2b7)])==null?[]:_0x315b12){var _0x15e148;for(let _0x847dfe of(_0x15e148=_0x5872bc[_0x14a362(0x313)])==null?[]:_0x15e148){var _0x87fb7,_0x17aba3,_0x49808b,_0x354551,_0x309a5f,_0x237c5c,_0x5a779f,_0x591480,_0x4307cb,_0x81a04d;let _0x4e3fb2=_0x2aa825+_0x595574+_0x1687a1+((_0x87fb7=_0x847dfe[_0x14a362(0x246)])==null?0x0:_0x87fb7),_0x8091c0=((_0x17aba3=_0x847dfe[_0x14a362(0x215)])==null?0x0:_0x17aba3)+((_0x49808b=_0x847dfe['paddingTop'])==null?0x0:_0x49808b)+((_0x354551=_0x847dfe['contentHeight'])==null?((_0x309a5f=_0x847dfe[_0x14a362(0x1d8)])==null?0x0:_0x309a5f)+((_0x237c5c=_0x847dfe[_0x14a362(0x436)])==null?0x0:_0x237c5c):_0x354551)+((_0x5a779f=_0x847dfe[_0x14a362(0x584)])==null?0x0:_0x5a779f)+((_0x591480=_0x847dfe[_0x14a362(0x26e)])==null?0x0:_0x591480),_0x16c67b=Math[_0x14a362(0x130)](0x0,...((_0x4307cb=_0x847dfe['divides'])==null?[]:_0x4307cb)[_0x14a362(0xf2)](_0x190971=>{const _0x551ba8=_0x14a362;var _0x38387c;return(_0x38387c=_0x190971[_0x551ba8(0x365)])==null?[]:_0x38387c;})[_0x14a362(0x15b)](_0x4acbb5=>{const _0x213579=_0x14a362;let _0x1c680d=Ft(_0x4acbb5,_0x847dfe);return _0x1c680d?_0x1c680d[_0x213579(0x350)]+_0x1c680d[_0x213579(0x3b7)]:0x0;})),_0x31507c=Math[_0x14a362(0x130)]((_0x81a04d=_0x847dfe[_0x14a362(0x467)])==null?0x0:_0x81a04d,_0x8091c0,_0x16c67b);_0x31507c>0x0&&(_0x5cc6c3=Math[_0x14a362(0x524)](_0x5cc6c3,_0x4e3fb2),_0x38a5f9=Math[_0x14a362(0x130)](_0x38a5f9,_0x4e3fb2+_0x31507c));}}}_0x2aa825+=(_0x22ec57=_0x4d879a['height'])==null?0x0:_0x22ec57;}let _0x48114a=_0x38a5f9-_0x5cc6c3;return Number['isFinite'](_0x48114a)&&_0x48114a>0x0?_0x48114a:Math['max'](0x1,_0x2be8e1);}function zt(_0x3b4a2f,_0x48a776,_0x5d24fc){const _0x5b6b0d=_0x5297e7;var _0x58af23;if(_0x5d24fc===void 0x0||_0x5d24fc===i[_0x5b6b0d(0x11d)][_0x5b6b0d(0x3d1)])return 0x0;let _0x5c780b=_0x3b4a2f[_0x5b6b0d(0x5c6)]();if(!(!(_0x5c780b==null||(_0x58af23=_0x5c780b[_0x5b6b0d(0x428)])==null)&&_0x58af23['length']))return 0x0;let _0x1d42eb=0x1/0x0,_0xccd127=-0x1/0x0,_0x46a560=0x0;for(let _0x3c3439 of _0x5c780b[_0x5b6b0d(0x428)]){var _0xe70109,_0x273f87;let _0xe5cf7b=(_0xe70109=_0x3c3439[_0x5b6b0d(0x215)])==null?0x0:_0xe70109;for(let _0x43d8b8 of(_0x273f87=_0x3c3439[_0x5b6b0d(0x150)])==null?[]:_0x273f87){var _0x305c28,_0x67f08b;let _0x3f48fa=(_0x305c28=_0x43d8b8[_0x5b6b0d(0x246)])==null?0x0:_0x305c28;for(let _0x3dd436 of(_0x67f08b=_0x43d8b8[_0x5b6b0d(0x2b7)])==null?[]:_0x67f08b){var _0x493998;for(let _0x541e49 of(_0x493998=_0x3dd436[_0x5b6b0d(0x313)])==null?[]:_0x493998){var _0x204571,_0x4f2690,_0x38373b,_0x3c8622,_0x50c82c;let _0x59f1b6=_0x46a560+_0xe5cf7b+_0x3f48fa+((_0x204571=_0x541e49[_0x5b6b0d(0x246)])==null?0x0:_0x204571)+((_0x4f2690=_0x541e49[_0x5b6b0d(0x215)])==null?0x0:_0x4f2690)+((_0x38373b=_0x541e49['paddingTop'])==null?0x0:_0x38373b)+((_0x3c8622=_0x541e49[_0x5b6b0d(0x1d8)])==null?0x0:_0x3c8622);for(let _0x1d2eb2 of(_0x50c82c=_0x541e49[_0x5b6b0d(0x61a)])==null?[]:_0x50c82c){var _0x500ec1;for(let _0x459d9c of(_0x500ec1=_0x1d2eb2[_0x5b6b0d(0x365)])==null?[]:_0x500ec1){if(!Pt(_0x459d9c))continue;let _0x159d18=Ft(_0x459d9c,_0x541e49);_0x159d18&&(_0x1d42eb=Math[_0x5b6b0d(0x524)](_0x1d42eb,_0x59f1b6-_0x159d18[_0x5b6b0d(0x350)]),_0xccd127=Math['max'](_0xccd127,_0x59f1b6+_0x159d18[_0x5b6b0d(0x3b7)]));}}}}}let _0xfedac9=Number[_0x5b6b0d(0x4cd)](_0x3c3439[_0x5b6b0d(0x503)])?_0x3c3439['pageHeight']:_0x3c3439[_0x5b6b0d(0x609)];_0x46a560+=_0xfedac9==null?0x0:_0xfedac9;}return!Number[_0x5b6b0d(0x4cd)](_0x1d42eb)||!Number[_0x5b6b0d(0x4cd)](_0xccd127)?0x0:_0x5d24fc===i[_0x5b6b0d(0x11d)][_0x5b6b0d(0x3fd)]?_0x48a776-_0xccd127:_0x5d24fc===i[_0x5b6b0d(0x11d)][_0x5b6b0d(0x1b0)]?_0x48a776/0x2-(_0x1d42eb+_0xccd127)/0x2:_0x5d24fc===i['VerticalAlign']['TOP']?-_0x1d42eb:0x0;}function Bt(_0x36c72a){const _0x1682ce=_0x5297e7;return _0x36c72a===i[_0x1682ce(0x4a2)]['CENTER'];}function Vt(_0xedb4a2){const _0x1d422b=_0x5297e7;return _0xedb4a2===i[_0x1d422b(0x4a2)][_0x1d422b(0x2f1)];}function Ht(_0x595e14,_0x3edb67){const _0x4980c7=_0x5297e7;var _0x2e163d,_0x4f2a6d,_0x4ec50c,_0x47e3cb;if(!_0x595e14)return{'align':_0x3edb67,'width':0x0};let _0x293bda=(_0x2e163d=(_0x4f2a6d=_0x595e14[_0x4980c7(0x17b)])==null?void 0x0:_0x4f2a6d['dataStream'])==null?'':_0x2e163d,_0x16ad55=(_0x4ec50c=(_0x47e3cb=_0x595e14[_0x4980c7(0x17b)])==null?void 0x0:_0x47e3cb[_0x4980c7(0x2e5)])==null?[]:_0x4ec50c;if(_0x16ad55['length']===0x0)return{'align':_0x3edb67,'width':(0x0,c[_0x4980c7(0x3a2)])(_0x595e14)};let _0x3336de=0x0,_0x17013a={'align':_0x3edb67,'width':0x0};return _0x16ad55[_0x4980c7(0x535)](_0x35eb91=>{const _0x2a328b=_0x4980c7;var _0x28ad80;let _0x2a3152=Math[_0x2a328b(0x130)](_0x3336de,Math[_0x2a328b(0x524)](_0x293bda[_0x2a328b(0x24d)],(_0x28ad80=_0x35eb91[_0x2a328b(0x4f0)])==null?_0x3336de:_0x28ad80)),_0x1fe437=(0x0,c[_0x2a328b(0x1d1)])(_0x595e14,_0x3336de,_0x2a3152);if(_0x1fe437>_0x17013a['width']){var _0x531748,_0xa4140;_0x17013a={'align':(_0x531748=(_0xa4140=_0x35eb91[_0x2a328b(0x104)])==null?void 0x0:_0xa4140[_0x2a328b(0x60a)])==null?_0x3edb67:_0x531748,'width':_0x1fe437};}_0x3336de=Math['min'](_0x293bda[_0x2a328b(0x24d)],_0x2a3152+0x1);}),_0x17013a;}function Ut(_0x5f189d,_0x3b0c14,_0xae2097){const _0x9bd9ed=_0x5297e7;var _0x300ac8,_0x426e73;if(_0x3b0c14!==void 0x0)return _0xae2097==null?_0x3b0c14:_0xae2097;let _0x220b4b=((_0x300ac8=_0x5f189d==null||(_0x426e73=_0x5f189d[_0x9bd9ed(0x17b)])==null?void 0x0:_0x426e73[_0x9bd9ed(0x2e5)])==null?[]:_0x300ac8)[_0x9bd9ed(0x15b)](_0x22de47=>{const _0x394d41=_0x9bd9ed;var _0x5d6368;return(_0x5d6368=_0x22de47[_0x394d41(0x104)])==null?void 0x0:_0x5d6368[_0x394d41(0x60a)];})[_0x9bd9ed(0x2ce)](_0x438e05=>_0x438e05!==void 0x0);return _0x220b4b['includes'](i['HorizontalAlign'][_0x9bd9ed(0x38e)])?i[_0x9bd9ed(0x4a2)]['CENTER']:_0x220b4b['includes'](i[_0x9bd9ed(0x4a2)][_0x9bd9ed(0x2f1)])?i[_0x9bd9ed(0x4a2)]['RIGHT']:i[_0x9bd9ed(0x4a2)][_0x9bd9ed(0x64a)];}function Wt(_0x1550a4){const _0x5afb55=_0x5297e7;var _0x39073c;let {documentData:_0x484f04,horizontalAlign:_0x3b9d2c,horizontalAnchor:_0x20c960,isHorizontal:_0x16557b,textRect:_0xd0151e,textWrap:_0x406498}=_0x1550a4;if(_0x16557b===!0x1||_0xd0151e[_0x5afb55(0x28e)]<=0x0)return{'contentWidth':_0xd0151e['width'],'measureAsNoWrap':!0x1,'textRect':_0xd0151e};let _0x4c0e5c=Number['isFinite'](_0x1550a4['widthBuffer'])?Math[_0x5afb55(0x130)](0x0,(_0x39073c=_0x1550a4[_0x5afb55(0x1ff)])==null?0x0:_0x39073c):0x0,_0x268ed2=Ht(_0x484f04,_0x3b9d2c),_0xb62d45=_0x268ed2['width']+_0x4c0e5c;if(_0x20c960===_0x5afb55(0x525)&&_0xb62d45>0x0&&_0xb62d45<_0xd0151e[_0x5afb55(0x28e)])return{'contentWidth':_0xb62d45,'measureAsNoWrap':_0x406498===s[_0x5afb55(0x3af)][_0x5afb55(0x299)],'textRect':{..._0xd0151e,'left':_0xd0151e['left']+(_0xd0151e[_0x5afb55(0x28e)]-_0xb62d45)/0x2,'width':_0xb62d45}};let _0x236213=_0x406498===s['ShapeTextWrapType'][_0x5afb55(0x299)],_0x5c8836=(_0x236213?_0xb62d45-_0x4c0e5c:(0x0,c[_0x5afb55(0x40f)])(_0x484f04))+_0x4c0e5c,_0x21ce0a=Math[_0x5afb55(0x130)](_0xd0151e[_0x5afb55(0x28e)],_0x5c8836);if(_0x21ce0a===_0xd0151e[_0x5afb55(0x28e)])return{'contentWidth':_0x21ce0a,'measureAsNoWrap':_0x236213,'textRect':_0xd0151e};let _0x291f3e=_0x21ce0a-_0xd0151e[_0x5afb55(0x28e)],_0x2fa4bc=_0x236213?Ut(_0x484f04,_0x3b9d2c,_0x268ed2[_0x5afb55(0x3e3)]):_0x3b9d2c,_0x4bc281=Vt(_0x2fa4bc)?_0xd0151e['left']-_0x291f3e:Bt(_0x2fa4bc)?_0xd0151e['left']-_0x291f3e/0x2:_0xd0151e[_0x5afb55(0x376)];return{'contentWidth':_0x21ce0a,'measureAsNoWrap':_0x236213,'textRect':{..._0xd0151e,'left':_0x4bc281,'width':_0x21ce0a}};}function Gt(_0x16a833){const _0x7abe5f=_0x5297e7;var _0x58d835,_0x573589;return((_0x58d835=_0x16a833==null||(_0x573589=_0x16a833[_0x7abe5f(0x17b)])==null?void 0x0:_0x573589[_0x7abe5f(0x607)])==null?'':_0x58d835)[_0x7abe5f(0x398)](/[\r\n]/g,'')[_0x7abe5f(0x24d)]===0x0;}function Kt(_0x3ba852){const _0x598b8e=_0x5297e7;var _0x25033c,_0x4c22ec;let {documentData:_0x1b248a,isTextBox:_0x3d56ab,placeholder:_0x1a8d57,text:_0x32f1e2=''}=_0x3ba852;if(!_0x3d56ab||!_0x1a8d57||_0x32f1e2[_0x598b8e(0x24d)]>0x0||!Gt(_0x1b248a))return;let _0x6b29ed=_0x1b248a==null||(_0x25033c=_0x1b248a['documentStyle'])==null?void 0x0:_0x25033c[_0x598b8e(0x377)];return{..._0x1b248a,'id':(_0x4c22ec=_0x1b248a==null?void 0x0:_0x1b248a['id'])==null?_0x598b8e(0x38a):_0x4c22ec,'body':{'dataStream':_0x1a8d57+'\x0d\x0a','paragraphs':[{'startIndex':_0x1a8d57[_0x598b8e(0x24d)],'paragraphId':(0x0,i[_0x598b8e(0x5b0)])(new Set())}],'textRuns':[{'st':0x0,'ed':_0x1a8d57[_0x598b8e(0x24d)],'ts':{..._0x6b29ed,'cl':{'rgb':'#9ca3af'}}}]},'documentStyle':{..._0x1b248a==null?void 0x0:_0x1b248a[_0x598b8e(0x1bc)]}};}const qt=0.001;function Jt(_0x50bb75,_0x1c78d9,_0x182f12,_0x366f06){const _0x41b3d8=_0x5297e7;return Math[_0x41b3d8(0x226)](_0x182f12-_0x50bb75)>qt?_0x50bb75+_0x1c78d9-_0x366f06:_0x50bb75;}function Yt(_0x3f2865){const _0x21be26=_0x5297e7;let {initialRect:_0x300366,requestedRect:_0x4c71f4,shapeData:_0xd5c728}=_0x3f2865,_0x52e41d=_0xd5c728[_0x21be26(0x516)];if(_0xd5c728['isTextBox']!==!0x0||!_0x52e41d)return null;let _0x59dd07=_0x52e41d[_0x21be26(0x59f)]!==!0x1,_0x46be10=Math[_0x21be26(0x226)]((_0x59dd07?_0x4c71f4[_0x21be26(0x28e)]:_0x4c71f4[_0x21be26(0x609)])-(_0x59dd07?_0x300366[_0x21be26(0x28e)]:_0x300366['height']))>qt,_0x253845=Math['abs']((_0x59dd07?_0x4c71f4[_0x21be26(0x609)]:_0x4c71f4[_0x21be26(0x28e)])-(_0x59dd07?_0x300366['height']:_0x300366[_0x21be26(0x28e)]))>qt;if(!_0x46be10&&!_0x253845)return null;let _0x343fad=_0x59dd07?_0x300366[_0x21be26(0x609)]:_0x300366[_0x21be26(0x28e)],_0x28ca60=Number['isFinite'](_0x3f2865[_0x21be26(0x439)])&&_0x3f2865[_0x21be26(0x439)]>0x0?_0x3f2865[_0x21be26(0x439)]:_0x343fad;return{'rect':_0x59dd07?{'left':_0x46be10?_0x4c71f4[_0x21be26(0x376)]:_0x300366['left'],'top':Jt(_0x300366[_0x21be26(0x246)],_0x300366[_0x21be26(0x609)],_0x4c71f4[_0x21be26(0x246)],_0x28ca60),'width':_0x46be10?_0x4c71f4[_0x21be26(0x28e)]:_0x300366[_0x21be26(0x28e)],'height':_0x28ca60}:{'left':Jt(_0x300366[_0x21be26(0x376)],_0x300366[_0x21be26(0x28e)],_0x4c71f4[_0x21be26(0x376)],_0x28ca60),'top':_0x46be10?_0x4c71f4[_0x21be26(0x246)]:_0x300366[_0x21be26(0x246)],'width':_0x28ca60,'height':_0x46be10?_0x4c71f4[_0x21be26(0x609)]:_0x300366[_0x21be26(0x609)]},'shapeData':_0x46be10?{..._0xd5c728,'shapeText':{..._0x52e41d,'autoFitType':s['ShapeTextAutoFitType'][_0x21be26(0x4f2)],'textWrap':s[_0x21be26(0x3af)][_0x21be26(0x16f)]}}:_0xd5c728};}function Xt(_0x5dcd71,_0xf3b415){const _0x9631f4=_0x5297e7;return Math[_0x9631f4(0x130)](Number[_0x9631f4(0x4cd)](_0x5dcd71)?Math[_0x9631f4(0x130)](0x1,_0x5dcd71):0x1,Number[_0x9631f4(0x4cd)](_0xf3b415)?Math[_0x9631f4(0x130)](0x1,_0xf3b415):0x1);}function Zt(_0x54ef52){const _0x465c45=_0x5297e7;try{var _0x235449;let _0x54fdbc=_0x54ef52==null||(_0x235449=_0x54ef52[_0x465c45(0x42c)]())==null?void 0x0:_0x235449[_0x465c45(0x609)];return Number[_0x465c45(0x4cd)](_0x54fdbc)?_0x54fdbc:void 0x0;}catch{return;}}function Qt(_0x46c675,_0x182a43){const _0x32102c=_0x5297e7;var _0x24925e,_0x136c8b;return Math[_0x32102c(0x226)](_0x46c675['documentMarginTop']-_0x182a43['documentMarginTop'])<=0.001&&Math['abs'](_0x46c675['editorLeft']-_0x182a43[_0x32102c(0x58a)])<=0.001&&Math[_0x32102c(0x226)](_0x46c675[_0x32102c(0x37c)]-_0x182a43['editorTop'])<=0.001&&Math['abs'](_0x46c675[_0x32102c(0x139)]-_0x182a43[_0x32102c(0x139)])<=0.001&&Math[_0x32102c(0x226)](_0x46c675['editorHeight']-_0x182a43['editorHeight'])<=0.001&&Math[_0x32102c(0x226)](((_0x24925e=_0x46c675[_0x32102c(0x62d)])==null?_0x46c675[_0x32102c(0x139)]:_0x24925e)-((_0x136c8b=_0x182a43[_0x32102c(0x62d)])==null?_0x182a43[_0x32102c(0x139)]:_0x136c8b))<=0.001;}function $t(_0x3c5ace,_0xb71cea){const _0x1898e7=_0x5297e7;return _0x3c5ace&&!!(_0xb71cea!=null&&_0xb71cea[_0x1898e7(0x24d)]);}function en(_0x1f5015){const _0x2af3c8=_0x5297e7;var _0x43ab61;let _0x56f1b2=(0x0,a[_0x2af3c8(0x15c)])(c['IRenderManagerService'])['getRenderById'](_0x1f5015),_0x35a295=_0x56f1b2==null?void 0x0:_0x56f1b2[_0x2af3c8(0x54d)](u['DocSelectionRenderService']),_0x447d9f=(0x0,a[_0x2af3c8(0x3b0)])(_0x35a295==null?void 0x0:_0x35a295[_0x2af3c8(0x35a)]);return $t((_0x43ab61=_0x35a295==null?void 0x0:_0x35a295[_0x2af3c8(0x1fb)])==null?!0x1:_0x43ab61,_0x447d9f==null?void 0x0:_0x447d9f[_0x2af3c8(0x553)]);}const tn=0xfa0;function nn(_0x1f2a2d,_0x41e354){const _0x5b0792=_0x5297e7;var _0x13d6eb,_0x33ca7a;let _0x20cfbe=a[_0x5b0792(0x551)][_0x5b0792(0x15b)](_0x2c9737=>Number(_0x2c9737[_0x5b0792(0x600)]))[_0x5b0792(0x2ce)](_0x4140d5=>Number[_0x5b0792(0x4cd)](_0x4140d5)&&_0x4140d5>0x0)[_0x5b0792(0x12c)]((_0x5e1ef7,_0x3b0a0f)=>_0x5e1ef7-_0x3b0a0f),_0xff04db=Number[_0x5b0792(0x4cd)](_0x1f2a2d)?_0x1f2a2d:0xe;if(_0x41e354>0x0){var _0x29e3e9,_0x21163f;return(_0x29e3e9=(_0x21163f=_0x20cfbe['find'](_0x56ded1=>_0x56ded1>_0xff04db))==null?_0x20cfbe[_0x20cfbe[_0x5b0792(0x24d)]-0x1]:_0x21163f)==null?_0xff04db:_0x29e3e9;}return(_0x13d6eb=(_0x33ca7a=[..._0x20cfbe]['reverse']()['find'](_0x4a9f25=>_0x4a9f25<_0xff04db))==null?_0x20cfbe[0x0]:_0x33ca7a)==null?_0xff04db:_0x13d6eb;}function rn(_0x56f392){const _0x22e479=_0x5297e7;let {editorUnitId:_0x5757e8,editingParams:_0x44478b}=_0x56f392;return _0x44478b?[_0x5757e8,_0x44478b['unitId'],_0x44478b[_0x22e479(0x48d)],_0x44478b['shapeId'],_0x44478b[_0x22e479(0x147)]][_0x22e479(0x11a)]('|'):null;}function an(_0x360591,_0x3cf79a){const _0x3a8690=_0x5297e7;return _0x360591?_0x360591 instanceof Node&&_0x3cf79a!=null&&_0x3cf79a[_0x3a8690(0x510)](_0x360591)?!0x1:_0x360591 instanceof Element?!_0x360591[_0x3a8690(0x31a)](_0x3a8690(0x562)):!0x0:!0x0;}function on(_0x39e3d0){const _0x105a12=_0x5297e7;return _0x39e3d0[_0x105a12(0x42f)][_0x105a12(0x552)](_0x39e3d0[_0x105a12(0x20c)]);}function sn(_0x44d0a7){const _0x2fb8b0=_0x5297e7;var _0x19a117,_0x57fdb0;let _0x12d16c=Y(_0x44d0a7[_0x2fb8b0(0x516)]);return{..._0x12d16c,'isHorizontal':(_0x19a117=(_0x57fdb0=_0x44d0a7[_0x2fb8b0(0x59f)])==null?_0x12d16c[_0x2fb8b0(0x59f)]:_0x57fdb0)==null?!0x0:_0x19a117,'dataModel':_0x44d0a7['dataModel']};}function cn(_0x3df075,_0x3706e7){const _0x46061b=_0x5297e7;return{'id':_0x3df075,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,i[_0x46061b(0x5b0)])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x3706e7,'height':0x1/0x0}}};}function ln(_0x5b6a77){const _0xc6240c=_0x5297e7;let _0x34c1e8=Number['isFinite'](_0x5b6a77[_0xc6240c(0x5f1)])?Math['max'](0x0,_0x5b6a77[_0xc6240c(0x5f1)]):0x0,_0x37463a=Math[_0xc6240c(0x130)](0x78,Math['ceil'](_0x34c1e8+0x10));return _0x5b6a77[_0xc6240c(0x59f)]?{'width':_0x37463a,'height':0x28}:{'width':0x28,'height':_0x37463a};}function un(_0x1b0424,_0x124b33){const _0x225e00=_0x5297e7;return(0x0,c[_0x225e00(0x3a2)])({..._0x1b0424,'body':{'dataStream':_0x124b33+'\x0d\x0a','paragraphs':[{'startIndex':_0x124b33[_0x225e00(0x24d)],'paragraphId':(0x0,i[_0x225e00(0x5b0)])(new Set())}],'textRuns':[]}});}function dn(_0x50f2b6){const _0x3ccc71=_0x5297e7;let _0x5f0919=Number[_0x3ccc71(0x4cd)](_0x50f2b6[_0x3ccc71(0x234)])&&_0x50f2b6[_0x3ccc71(0x234)]>0x0?_0x50f2b6[_0x3ccc71(0x234)]:0x1;if(!_0x50f2b6[_0x3ccc71(0x3a0)])return _0x5f0919;let _0x573259=_0x50f2b6['maxAutoFitWidth'];return Math[_0x3ccc71(0x130)](_0x5f0919,Number[_0x3ccc71(0x4cd)](_0x573259)&&_0x573259!==void 0x0&&_0x573259>0x0?Math[_0x3ccc71(0x130)](_0x573259,tn):tn);}function fn(_0x3a214f){return(0x0,c['measureDocumentNoWrapTextWidth'])(_0x3a214f);}function pn(_0x527bd2){const _0x53c2a4=_0x5297e7;let _0x34f64b=Number[_0x53c2a4(0x4cd)](_0x527bd2['textRectWidth'])&&_0x527bd2[_0x53c2a4(0x234)]>0x0?_0x527bd2[_0x53c2a4(0x234)]:0x1;if(!_0x527bd2['autoFitNoWrap'])return _0x34f64b;let _0x18d168=Number[_0x53c2a4(0x4cd)](_0x527bd2[_0x53c2a4(0x20f)])&&_0x527bd2[_0x53c2a4(0x20f)]>0x0?_0x527bd2['actualWidth']:0x0,_0x550ca6=Number['isFinite'](_0x527bd2[_0x53c2a4(0x28d)])&&_0x527bd2[_0x53c2a4(0x28d)]!==void 0x0&&_0x527bd2[_0x53c2a4(0x28d)]>0x0?_0x527bd2[_0x53c2a4(0x28d)]:void 0x0,_0x51ca3f=_0x18d168+0x2;return Math[_0x53c2a4(0x130)](_0x34f64b,_0x550ca6==null?_0x51ca3f:_0x550ca6);}function mn(_0x875f4e){const _0x5842e6=_0x5297e7;if(!_0x875f4e[_0x5842e6(0x3a0)])return _0x875f4e['renderedContentWidth'];let _0xc23e04=Number[_0x5842e6(0x4cd)](_0x875f4e[_0x5842e6(0x28d)])&&_0x875f4e['measuredContentWidth']!==void 0x0&&_0x875f4e[_0x5842e6(0x28d)]>0x0?_0x875f4e[_0x5842e6(0x28d)]:void 0x0;return _0x875f4e[_0x5842e6(0x59c)]&&_0xc23e04!==void 0x0?_0xc23e04:_0x875f4e['renderedContentWidth'];}function hn(_0x295709){const _0x58987c=_0x5297e7;let _0x14dc2a=Number['isFinite'](_0x295709[_0x58987c(0x234)])&&_0x295709[_0x58987c(0x234)]>0x0?_0x295709[_0x58987c(0x234)]:0x1;if(!_0x295709[_0x58987c(0x3a0)])return _0x14dc2a;let _0x5120f8=Number[_0x58987c(0x4cd)](_0x295709['renderedContentWidth'])&&_0x295709[_0x58987c(0x31b)]>0x0?_0x295709['renderedContentWidth']:_0x14dc2a;return Math['max'](_0x14dc2a,_0x5120f8);}function gn(_0x385123){const _0x46e966=_0x5297e7;let _0x3a6950=Number[_0x46e966(0x4cd)](_0x385123[_0x46e966(0x139)])&&_0x385123[_0x46e966(0x139)]>0x0?_0x385123['editorWidth']:0x1;if(!_0x385123[_0x46e966(0x3a0)])return _0x3a6950;let _0x39f107=Number[_0x46e966(0x4cd)](_0x385123[_0x46e966(0x1f1)])&&_0x385123['scaleX']>0x0?_0x385123[_0x46e966(0x1f1)]:0x1,_0x92df7a=Number[_0x46e966(0x4cd)](_0x385123[_0x46e966(0x318)])&&_0x385123[_0x46e966(0x318)]>0x0?_0x385123[_0x46e966(0x318)]:_0x3a6950/_0x39f107;return Math[_0x46e966(0x130)](_0x3a6950,_0x92df7a*_0x39f107);}function _n(_0x5f5b3b){const _0x325ed4=_0x5297e7;var _0x151a70;let _0x4b24a8=(_0x151a70=_0x5f5b3b['tolerance'])==null?0x1:_0x151a70;return Math['abs'](_0x5f5b3b['nextWidth']-_0x5f5b3b['baselineWidth'])>_0x4b24a8||Math['abs'](_0x5f5b3b[_0x325ed4(0x17e)]-_0x5f5b3b[_0x325ed4(0x31c)])>_0x4b24a8;}function vn(_0x3b8b54){const _0x592cd3=_0x5297e7;var _0x1c0f3d,_0x9bdbb9;let {adapter:_0x58285a,editingParams:_0x251062}=_0x3b8b54;return!_0x58285a[_0x592cd3(0x4e5)]||!_0x251062?!0x1:(_0x1c0f3d=(_0x9bdbb9=_0x58285a[_0x592cd3(0x185)])==null?void 0x0:_0x9bdbb9[_0x592cd3(0x16d)](_0x58285a,_0x251062))==null?!0x0:_0x1c0f3d;}function yn(_0x1cd30a){const _0x445641=_0x5297e7;var _0x262be0;let {adapter:_0x5d828e,editingParams:_0x9a9ae1}=_0x1cd30a;return _0x9a9ae1?((_0x262be0=_0x5d828e[_0x445641(0x496)])==null?void 0x0:_0x262be0[_0x445641(0x16d)](_0x5d828e,_0x9a9ae1))===!0x0:!0x1;}function bn(_0x4b1900){const _0x179126=_0x5297e7;return _0x4b1900[_0x179126(0x32a)]?i[_0x179126(0x11d)][_0x179126(0x32b)]:_0x4b1900[_0x179126(0x341)];}function xn(_0x312d8b){const _0x199af4=_0x5297e7;let {actualHeight:_0x23d05a,contentWidth:_0x119d5a,opticalVerticalOffset:_0x36fdcc,scaleX:_0x16f28f,scaleY:_0x2e4a6d,textRect:_0x13376e,verticalAlign:_0x12cb7f}=_0x312d8b,_0x25ca5b=Lt({'contentHeight':_0x23d05a,'verticalAlign':_0x12cb7f,'verticalOffset':_0x36fdcc,'viewportHeight':Math[_0x199af4(0x130)](0x1,_0x13376e[_0x199af4(0x609)])}),_0x3a6a81=_0x25ca5b[_0x199af4(0x170)],_0x19fda0=Math['max'](0x1,_0x13376e[_0x199af4(0x28e)],_0x119d5a==null?_0x13376e[_0x199af4(0x28e)]:_0x119d5a);return{'documentMarginTop':_0x25ca5b[_0x199af4(0x215)],'editorLeft':Math[_0x199af4(0x130)](0x0,_0x13376e[_0x199af4(0x376)])*_0x16f28f,'editorTop':(Math[_0x199af4(0x130)](0x0,_0x13376e[_0x199af4(0x246)])+_0x25ca5b['contentVerticalOffset'])*_0x2e4a6d,'editorWidth':_0x19fda0*_0x16f28f,'editorHeight':_0x3a6a81*_0x2e4a6d,'pageHeight':_0x3a6a81};}function Sn(_0x500fe4){const _0x170bbb=_0x5297e7;var _0x3663b5;let _0x2b7cd1=_0x500fe4[_0x170bbb(0x60a)]===i['HorizontalAlign']['CENTER']?_0x170bbb(0x525):_0x500fe4[_0x170bbb(0x60a)]===i[_0x170bbb(0x4a2)][_0x170bbb(0x2f1)]?'right':_0x170bbb(0x376);return{'left':_0x500fe4['editorLeft'],'top':_0x500fe4[_0x170bbb(0x37c)]+_0x500fe4[_0x170bbb(0x194)],'width':(_0x3663b5=_0x500fe4['editorSurfaceWidth'])==null?_0x500fe4['editorWidth']:_0x3663b5,'textAlign':_0x2b7cd1};}function Cn(_0x29ee6f){const _0x599972=_0x5297e7;let {allowShrink:_0x3066d6=!0x1,hostWidth:_0x39bbdd,hostHeight:_0x445c73,textRect:_0x126ab4,contentWidth:_0x3d1f80,contentHeight:_0xbd27d4}=_0x29ee6f,_0x272297=Number[_0x599972(0x4cd)](_0x39bbdd)&&_0x39bbdd>0x0?_0x39bbdd:0x1,_0x315053=Number[_0x599972(0x4cd)](_0x445c73)&&_0x445c73>0x0?_0x445c73:0x1,_0x5e8f9a=Math[_0x599972(0x130)](0x0,_0x126ab4['left']),_0x49edee=Math[_0x599972(0x130)](0x0,_0x126ab4[_0x599972(0x246)]),_0x58af62=Math[_0x599972(0x130)](0x1,_0x126ab4[_0x599972(0x28e)]),_0xb6126e=Math['max'](0x1,_0x126ab4[_0x599972(0x609)]),_0x102e2d=Math[_0x599972(0x130)](0x0,_0x272297-_0x5e8f9a-_0x58af62),_0x166b4f=Math[_0x599972(0x130)](0x0,_0x315053-_0x49edee-_0xb6126e),_0x332453=Math['max'](0x1,_0x3066d6?_0x3d1f80:Math[_0x599972(0x130)](_0x58af62,_0x3d1f80)),_0xc8581a=Math['max'](0x1,_0x3066d6?_0xbd27d4:Math['max'](_0xb6126e,_0xbd27d4)),_0x3d81cf=Math[_0x599972(0x2f0)](_0x5e8f9a+_0x332453+_0x102e2d),_0x3d7ee4=Math['ceil'](_0x49edee+_0xc8581a+_0x166b4f);return{'width':_0x3066d6?_0x3d81cf:Math['max'](_0x272297,_0x3d81cf),'height':_0x3066d6?_0x3d7ee4:Math[_0x599972(0x130)](_0x315053,_0x3d7ee4)};}function wn(_0x275277){const _0x4fd6b9=_0x5297e7;let _0xaa89c8=Math['max'](0x1,_0x275277[_0x4fd6b9(0x5bd)]),_0x1e047a=Math[_0x4fd6b9(0x130)](0x1,_0x275277['crossAxisLength']);return _0x275277[_0x4fd6b9(0x57f)]===_0x4fd6b9(0x28e)?{'width':_0xaa89c8,'height':_0x1e047a}:{'width':_0x1e047a,'height':_0xaa89c8};}function Tn(_0x5282f7,_0x12a00b,_0x5cd5ca,_0x626f51){const _0x10a966=_0x5297e7;return{'top':_0x626f51===void 0x0?0x0:_0x12a00b,'left':_0x5cd5ca===void 0x0?0x0:_0x5282f7,'width':_0x5cd5ca==null?_0x5282f7:_0x5cd5ca,'height':_0x626f51==null?_0x12a00b:_0x626f51,'borderColor':_0x10a966(0x187),'outlineColor':_0x10a966(0x187),'backgroundColor':_0x10a966(0x187)};}function En(_0x14ecd9,_0x3ea081){const _0x151e8d=_0x5297e7;var _0x3df775;if(!_0x14ecd9)return;_0x14ecd9[_0x151e8d(0x2a1)][_0x151e8d(0x376)]=_0x3ea081[_0x151e8d(0x58a)]+'px',_0x14ecd9[_0x151e8d(0x2a1)][_0x151e8d(0x246)]=_0x3ea081[_0x151e8d(0x37c)]+'px';let _0x1f4015=(_0x3df775=_0x3ea081['editorSurfaceWidth'])==null?_0x3ea081['editorWidth']:_0x3df775;_0x14ecd9[_0x151e8d(0x2a1)]['width']=_0x1f4015+'px',_0x14ecd9[_0x151e8d(0x2a1)]['height']=Math[_0x151e8d(0x130)](0x1,_0x3ea081[_0x151e8d(0x1b9)])+'px';}function Dn(_0x21afde,..._0x3175db){const _0x1e8221=_0x5297e7;_0x21afde[_0x1e8221(0x3d9)](..._0x3175db),_0x21afde[_0x1e8221(0xfe)]();}function On(_0x4de51e){return _0x4de51e['getDocumentDataModel']()?_0x4de51e['getDocumentData']():null;}function kn(_0x5b1a44){const _0x32cf91=_0x5297e7;var _0xc69b64,_0x25f450;let _0x4d2526=_0x5b1a44==null||(_0xc69b64=_0x5b1a44['engine'])==null||(_0x25f450=_0xc69b64[_0x32cf91(0x5ec)])==null?void 0x0:_0x25f450[_0x32cf91(0x16d)](_0xc69b64);_0x4d2526&&(_0x4d2526[_0x32cf91(0x2a1)][_0x32cf91(0x33d)]=_0x32cf91(0x187));}function An(_0x3463dc){const _0x25b2c6=_0x5297e7;var _0x49f967,_0x2d4e53;let _0xa7fc4=_0x3d3620=>{const _0x448489=_0x51e3;if(!_0x3d3620||typeof _0x3d3620!=_0x448489(0x666))return;let _0x2c725d=_0x3d3620;_0x2c725d[_0x448489(0x387)]!==void 0x0&&(_0x2c725d[_0x448489(0x387)]=0x0),_0x2c725d[_0x448489(0x364)]!==void 0x0&&(_0x2c725d[_0x448489(0x364)]=0x0);};_0xa7fc4(_0x3463dc==null?void 0x0:_0x3463dc['mainComponent']),_0x3463dc==null||(_0x49f967=_0x3463dc['components'])==null||(_0x2d4e53=_0x49f967[_0x25b2c6(0x535)])==null||_0x2d4e53[_0x25b2c6(0x16d)](_0x49f967,_0xa7fc4);}function jn(_0x42e194){const _0x2aae82=_0x5297e7;var _0x2ff2a6,_0x12aa75,_0xf50272,_0x4f0916;_0x42e194==null||(_0x2ff2a6=_0x42e194['mainComponent'])==null||(_0x12aa75=_0x2ff2a6[_0x2aae82(0x646)])==null||_0x12aa75[_0x2aae82(0x16d)](_0x2ff2a6,!0x0);let _0x597198=_0x42e194==null?void 0x0:_0x42e194['scene'];_0x597198==null||(_0xf50272=_0x597198[_0x2aae82(0x646)])==null||_0xf50272[_0x2aae82(0x16d)](_0x597198,!0x0),_0x597198==null||(_0x4f0916=_0x597198[_0x2aae82(0x361)])==null||_0x4f0916[_0x2aae82(0x16d)](_0x597198);}function Mn(_0x2990f3,_0x581ec4,_0x17fb76={}){const _0x59a9c2=_0x5297e7;let _0x2a3583=a['MetaKeys'][_0x59a9c2(0x174)],_0x2153ef=a[_0x59a9c2(0x2ee)][_0x59a9c2(0x174)]|a[_0x59a9c2(0x2ee)][_0x59a9c2(0x2da)];return{'keyCodes':[..._0x17fb76['commitOnEnter']?[{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x250)]},{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x250)],'metaKey':a[_0x59a9c2(0x2ee)][_0x59a9c2(0x2da)]},{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x250)],'metaKey':_0x2a3583}]:[{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x250)]}],{'keyCode':a['KeyCode'][_0x59a9c2(0x1b3)]},{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x1df)]},{'keyCode':a['KeyCode'][_0x59a9c2(0x188)]},{'keyCode':a[_0x59a9c2(0x296)]['A'],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)]['B'],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)]['I'],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)]['U'],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)]['X'],'metaKey':_0x2153ef},{'keyCode':a[_0x59a9c2(0x296)]['COMMA'],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x598)],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)][_0x59a9c2(0x598)],'metaKey':a[_0x59a9c2(0x2ee)][_0x59a9c2(0x163)]|a[_0x59a9c2(0x2ee)]['SHIFT']},{'keyCode':a[_0x59a9c2(0x296)]['COMMA'],'metaKey':a[_0x59a9c2(0x2ee)][_0x59a9c2(0x163)]|a[_0x59a9c2(0x2ee)][_0x59a9c2(0x2da)]},{'keyCode':a['KeyCode']['K'],'metaKey':_0x2a3583},{'keyCode':a['KeyCode']['L'],'metaKey':_0x2153ef},{'keyCode':a[_0x59a9c2(0x296)]['R'],'metaKey':_0x2153ef},{'keyCode':a['KeyCode']['E'],'metaKey':_0x2153ef},{'keyCode':a['KeyCode']['J'],'metaKey':_0x2153ef},{'keyCode':a['KeyCode'][_0x59a9c2(0x598)],'metaKey':_0x2153ef},{'keyCode':a['KeyCode'][_0x59a9c2(0x442)],'metaKey':_0x2153ef},{'keyCode':a['KeyCode'][_0x59a9c2(0xf9)],'metaKey':_0x2153ef},{'keyCode':a[_0x59a9c2(0x296)]['Z'],'metaKey':_0x2a3583},{'keyCode':a['KeyCode']['Y'],'metaKey':_0x2a3583},{'keyCode':a[_0x59a9c2(0x296)]['Z'],'metaKey':_0x2153ef}],'handler':(_0xabfa8f,_0x41aa71)=>{const _0x591a1f=_0x59a9c2;switch(_0xabfa8f+':'+(_0x41aa71==null?0x0:_0x41aa71)){case a[_0x591a1f(0x296)][_0x591a1f(0x1b3)]+':0':var _0x405e1f;(_0x405e1f=_0x17fb76[_0x591a1f(0x2e0)])==null||_0x405e1f[_0x591a1f(0x16d)](_0x17fb76);break;case a[_0x591a1f(0x296)][_0x591a1f(0x250)]+':0':if(_0x17fb76[_0x591a1f(0x577)]){var _0x1cafb6;(_0x1cafb6=_0x17fb76['commit'])==null||_0x1cafb6[_0x591a1f(0x16d)](_0x17fb76);}else _0x2990f3[_0x591a1f(0x285)](u['BreakLineCommand']['id']);break;case a[_0x591a1f(0x296)][_0x591a1f(0x250)]+':'+a[_0x591a1f(0x2ee)][_0x591a1f(0x2da)]:case a[_0x591a1f(0x296)][_0x591a1f(0x250)]+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x651)]['id']);break;case a['KeyCode'][_0x591a1f(0x1df)]+':0':_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x34e)]['id']);break;case a['KeyCode']['DELETE']+':0':_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x172)]['id']);break;case a['KeyCode']['A']+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x1c7)]['id']);break;case a['KeyCode']['B']+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x229)]['id']);break;case a[_0x591a1f(0x296)]['I']+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x4d0)]['id']);break;case a[_0x591a1f(0x296)]['U']+':'+_0x2a3583:_0x2990f3['executeCommand'](u[_0x591a1f(0x5ae)]['id']);break;case a[_0x591a1f(0x296)]['X']+':'+_0x2153ef:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x3cb)]['id']);break;case a[_0x591a1f(0x296)][_0x591a1f(0x2a4)]+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0xe3)]['id']);break;case a[_0x591a1f(0x296)]['PERIOD']+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x595)]['id']);break;case a[_0x591a1f(0x296)][_0x591a1f(0x598)]+':'+(a[_0x591a1f(0x2ee)][_0x591a1f(0x163)]|a[_0x591a1f(0x2ee)][_0x591a1f(0x2da)]):_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x3f6)]['id'],{'value':nn(_0x17fb76[_0x591a1f(0x4bb)],0x1)});break;case a[_0x591a1f(0x296)][_0x591a1f(0x2a4)]+':'+(a[_0x591a1f(0x2ee)]['ALT']|a[_0x591a1f(0x2ee)][_0x591a1f(0x2da)]):_0x2990f3['executeCommand'](u[_0x591a1f(0x3f6)]['id'],{'value':nn(_0x17fb76[_0x591a1f(0x4bb)],-0x1)});break;case a[_0x591a1f(0x296)]['K']+':'+_0x2a3583:_0x2990f3[_0x591a1f(0x285)](_0x591a1f(0x1cc));break;case a[_0x591a1f(0x296)]['L']+':'+_0x2153ef:_0x2990f3['executeCommand'](u[_0x591a1f(0x200)]['id']);break;case a[_0x591a1f(0x296)]['R']+':'+_0x2153ef:_0x2990f3['executeCommand'](u[_0x591a1f(0x497)]['id']);break;case a[_0x591a1f(0x296)]['E']+':'+_0x2153ef:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x47b)]['id']);break;case a[_0x591a1f(0x296)]['J']+':'+_0x2153ef:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x5b8)]['id']);break;case a[_0x591a1f(0x296)]['PERIOD']+':'+_0x2153ef:_0x2990f3[_0x591a1f(0x285)](pt);break;case a[_0x591a1f(0x296)][_0x591a1f(0x442)]+':'+_0x2153ef:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0xe2)]['id']);break;case a[_0x591a1f(0x296)][_0x591a1f(0xf9)]+':'+_0x2153ef:_0x2990f3[_0x591a1f(0x285)](u[_0x591a1f(0x34a)]['id']);break;case a[_0x591a1f(0x296)]['Z']+':'+_0x2a3583:_0x581ec4?_0x581ec4(i['UndoCommand']['id']):_0x2990f3[_0x591a1f(0x285)](i[_0x591a1f(0x619)]['id']);break;case a['KeyCode']['Y']+':'+_0x2a3583:case a['KeyCode']['Z']+':'+_0x2153ef:_0x581ec4?_0x581ec4(i['RedoCommand']['id']):_0x2990f3['executeCommand'](i['RedoCommand']['id']);break;}}};}const Nn=function(_0x54db4c){const _0x30b51f=_0x5297e7;var _0x23f60d,_0x459d7a,_0x4fecd7;let {adapter:_0xaf457a,containerWidth:_0x2df7fe,containerHeight:_0x25e036,editingParams:_0x4fee2a,editingService:_0x5a4973,editorUnitId:_0xc68694,scaleX:_0x14f33f,scaleY:_0x16c7c8,verticalAlignCommandId:_0x433cdb}=_0x54db4c,_0x4041b6=_0x14f33f||0x1,_0x5ccdfd=_0x16c7c8||0x1,_0x3bd4a5=(0x0,a[_0x30b51f(0x15c)])(u[_0x30b51f(0x4d3)]),_0x53ae6f=(0x0,a['useDependency'])(c['IRenderManagerService']),_0x31fd76=(0x0,a['useDependency'])(i['IUniverInstanceService']),_0x2dc66f=(0x0,a['useDependency'])(i[_0x30b51f(0x11b)]),_0x361711=(0x0,a[_0x30b51f(0x15c)])(l[_0x30b51f(0x50c)]),_0x222a13=(0x0,a['useDependency'])(i['LocaleService']),_0x4d346b=(0x0,n[_0x30b51f(0x4f3)])(()=>_0x222a13['t']('shape-editor-ui.textEditor.placeholder'),[(0x0,a[_0x30b51f(0x3b0)])(()=>_0x222a13[_0x30b51f(0x3d8)],_0x222a13[_0x30b51f(0x100)](),!0x1,[_0x222a13]),_0x222a13]),_0x379297=(0x0,a[_0x30b51f(0x3b0)])(_0x5a4973[_0x30b51f(0x15d)]),_0x30cf8d=(0x0,n[_0x30b51f(0x459)])(!0x1),_0x12c11e=(0x0,n[_0x30b51f(0x459)])(null),_0x47f0f8=(0x0,n[_0x30b51f(0x459)])(null),_0x5b1618=(0x0,n['useRef'])(null),_0x3cbbd3=(0x0,n['useRef'])(null),_0xe50a59=(0x0,n[_0x30b51f(0x459)])(null),_0x3655f7=(0x0,n['useRef'])(null),_0x29ab12=(0x0,n['useRef'])(null),_0x3cf1fb=(0x0,n['useRef'])({'width':0x0,'height':0x0}),_0x2a96dc=(0x0,n[_0x30b51f(0x459)])(null),_0xe38977=(0x0,n[_0x30b51f(0x459)])(()=>{}),_0x33855a=(0x0,n[_0x30b51f(0x459)])(()=>{}),_0x21ccfc=(0x0,n[_0x30b51f(0x459)])(()=>{}),[_0x1d0bca,_0x2b26a3]=(0x0,n[_0x30b51f(0x38d)])({'documentMarginTop':0x0,'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x2df7fe,'editorHeight':_0x25e036});_0x30cf8d['current']=!!_0x379297;let _0x16adf2=(0x0,n[_0x30b51f(0x3c7)])(_0x513106=>{En(_0x47f0f8['current'],_0x513106),queueMicrotask(()=>{_0x2b26a3(_0x111db0=>Qt(_0x111db0,_0x513106)?_0x111db0:_0x513106);});},[]),_0x155e10=(0x0,n[_0x30b51f(0x3c7)])(()=>_0x31fd76[_0x30b51f(0x5d4)](_0xc68694,i[_0x30b51f(0x207)][_0x30b51f(0x3a8)]),[_0xc68694,_0x31fd76]),_0x89eabd=(0x0,n[_0x30b51f(0x3c7)])(()=>{const _0x290b0f=_0x30b51f;var _0xa97c11;let _0x5058d8=_0x4041b6,_0x57c3e7=_0x5ccdfd;if(!_0x4fee2a)return{'scaleAdjust':0x1,'renderScaleX':_0x5058d8,'renderScaleY':_0x57c3e7};let _0x152586=_0x53ae6f[_0x290b0f(0x43f)](_0x4fee2a[_0x290b0f(0x1f3)]),_0x379723=_0x152586==null?void 0x0:_0x152586[_0x290b0f(0x65c)][_0x290b0f(0x143)](),_0x5b3e8e=_0x152586==null?void 0x0:_0x152586[_0x290b0f(0x457)][_0x290b0f(0x5ec)](),_0x3f0a50=_0x5b3e8e?Number[_0x290b0f(0x450)](_0x5b3e8e[_0x290b0f(0x2a1)][_0x290b0f(0x28e)]||''):0x0,_0x2969d3=(_0xa97c11=_0x5b3e8e==null?void 0x0:_0x5b3e8e[_0x290b0f(0x351)]()[_0x290b0f(0x28e)])==null?0x0:_0xa97c11,_0x19cb86=_0x3f0a50>0x0&&_0x2969d3>0x0?_0x2969d3/_0x3f0a50:0x1;return{'scaleAdjust':Number[_0x290b0f(0x4cd)](_0x19cb86)&&_0x19cb86>0x0?_0x19cb86:0x1,'renderScaleX':(_0x379723==null?void 0x0:_0x379723[_0x290b0f(0x1f1)])||_0x5058d8,'renderScaleY':(_0x379723==null?void 0x0:_0x379723['scaleY'])||_0x57c3e7};},[_0x4041b6,_0x5ccdfd,_0x4fee2a,_0x53ae6f]),_0x53d4a2=(0x0,n[_0x30b51f(0x3c7)])(()=>{if(!_0x4fee2a)return{'left':0x0,'top':0x0,'width':_0x2df7fe/_0x4041b6,'height':_0x25e036/_0x5ccdfd};let {unitId:_0x309aa5,subUnitId:_0x45817f,shapeId:_0x5d98a7}=_0x4fee2a,_0x27c415=_0xaf457a['getShapeModel'](_0x309aa5,_0x45817f,_0x5d98a7);return _0x27c415?on({'hostRect':{'left':0x0,'top':0x0,'width':_0x2df7fe/_0x4041b6,'height':_0x25e036/_0x5ccdfd},'shapeModel':_0x27c415}):{'left':0x0,'top':0x0,'width':_0x2df7fe/_0x4041b6,'height':_0x25e036/_0x5ccdfd};},[_0xaf457a,_0x4fee2a,_0x2df7fe,_0x25e036,_0x4041b6,_0x5ccdfd]),_0x23c884=(0x0,n['useCallback'])(()=>{const _0x25c183=_0x30b51f;var _0x258a0c,_0xcbc072;if(!_0x4fee2a)return null;let {unitId:_0xc24921,subUnitId:_0x3b5501,shapeId:_0x5ba284}=_0x4fee2a,_0x24996d=_0xaf457a[_0x25c183(0x63a)](_0xc24921,_0x3b5501,_0x5ba284);if(!_0x24996d)return null;let _0xd0c341=(_0x258a0c=_0xaf457a[_0x25c183(0x412)])==null?void 0x0:_0x258a0c[_0x25c183(0x16d)](_0xaf457a,_0xc24921,_0x3b5501,_0x5ba284),_0x5769bb=_0x24996d[_0x25c183(0x5a8)]();if(!_0x5769bb)return null;let _0x13bf24=St(_0xd0c341,_0x5769bb),_0xe5af48=(_0xcbc072=_0xaf457a[_0x25c183(0x14d)](_0xc24921,_0x3b5501,_0x5ba284))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0xcbc072,_0x32a71b={'left':0x0,'top':0x0,'width':_0x2df7fe/_0x4041b6,'height':_0x25e036/_0x5ccdfd},_0x5f0f55=_0x24996d[_0x25c183(0x552)](_0x32a71b),_0x557083,_0x4980ea=i[_0x25c183(0x11d)][_0x25c183(0x32b)],_0x25c76b=i['HorizontalAlign'][_0x25c183(0x64a)];if(_0x25c183(0x4aa)in _0x5769bb&&_0x5769bb[_0x25c183(0x4aa)]){var _0x3e8c10,_0x2c2420,_0x550f4b,_0x5b5f0d,_0x39f707,_0x2b6247;let _0x5ad91e=A(_0x5769bb[_0x25c183(0x4aa)]);_0x5ad91e!=null&&_0x5ad91e['doc']&&(_0x557083=_0x5ad91e[_0x25c183(0x2fd)]),_0x4980ea=(_0x3e8c10=(_0x2c2420=_0x5ad91e==null?void 0x0:_0x5ad91e['va'])==null?_0x557083==null||(_0x550f4b=_0x557083[_0x25c183(0x1bc)])==null||(_0x550f4b=_0x550f4b['renderConfig'])==null?void 0x0:_0x550f4b[_0x25c183(0x341)]:_0x2c2420)==null?i['VerticalAlign'][_0x25c183(0x32b)]:_0x3e8c10,_0x25c76b=(_0x5b5f0d=(_0x39f707=_0x5ad91e==null?void 0x0:_0x5ad91e['ha'])==null?_0x557083==null||(_0x2b6247=_0x557083[_0x25c183(0x1bc)])==null||(_0x2b6247=_0x2b6247[_0x25c183(0xec)])==null?void 0x0:_0x2b6247[_0x25c183(0x60a)]:_0x39f707)==null?i[_0x25c183(0x4a2)][_0x25c183(0x64a)]:_0x5b5f0d;}let _0x4b94a5=(0x0,s[_0x25c183(0xdd)])(_0x13bf24),_0x3d1691=_0x4b94a5[_0x25c183(0x117)]===_0x25c183(0x525)?Wt({'documentData':_0x557083,'horizontalAlign':_0x25c76b,'horizontalAnchor':_0x4b94a5['horizontalAnchor'],'isHorizontal':_0x5769bb[_0x25c183(0x59f)],'textRect':_0x5f0f55,'textWrap':_0x4b94a5['textWrap'],'widthBuffer':0x2})['textRect']:_0x5f0f55;return{'shapeText':_0x5769bb,'bodyBehavior':_0x4b94a5,'doc':_0x557083,'verticalAlign':_0x4980ea,'horizontalAlign':_0x25c76b,'wrapStrategy':Tt(_0x13bf24),'autoFitNoWrap':Dt(_0x13bf24),'textRect':_0x3d1691,'transform':_0xe5af48,'isHorizontal':_0x5769bb[_0x25c183(0x59f)],'isTextBox':_0x13bf24[_0x25c183(0x5c1)]===!0x0};},[_0xaf457a,_0x4fee2a,_0x2df7fe,_0x25e036,_0x4041b6,_0x5ccdfd]),_0x13b768=(0x0,n[_0x30b51f(0x4f3)])(()=>{const _0x1fd0d2=_0x30b51f;let _0x2cd21c=_0x23c884();if(_0x2cd21c!=null&&_0x2cd21c[_0x1fd0d2(0x2fd)])return K(_0x2cd21c[_0x1fd0d2(0x2fd)],{'bodyBehavior':_0x2cd21c[_0x1fd0d2(0x22e)],'isHorizontal':_0x2cd21c[_0x1fd0d2(0x59f)],'textRect':_0x2cd21c[_0x1fd0d2(0x5ee)],'verticalAlign':_0x2cd21c[_0x1fd0d2(0x341)],'horizontalAlign':_0x2cd21c['horizontalAlign'],'wrapStrategy':_0x2cd21c['wrapStrategy']});let _0x254e13=cn(_0xc68694,_0x2df7fe/_0x4041b6);return _0x2cd21c?K(_0x254e13,{'bodyBehavior':_0x2cd21c['bodyBehavior'],'isHorizontal':_0x2cd21c['isHorizontal'],'textRect':_0x2cd21c[_0x1fd0d2(0x5ee)],'verticalAlign':_0x2cd21c[_0x1fd0d2(0x341)],'horizontalAlign':_0x2cd21c[_0x1fd0d2(0x60a)],'wrapStrategy':_0x2cd21c['wrapStrategy']}):_0x254e13;},[_0x23c884,_0x2df7fe,_0x4041b6]),[_0x1f78d7,_0x218b59]=(0x0,n[_0x30b51f(0x38d)])(()=>Gt(_0x13b768)),_0x3dc8a3=(0x0,u[_0x30b51f(0x2c7)])({'editorId':_0xc68694,'initialValue':_0x13b768,'container':_0x47f0f8,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,n['useEffect'])(()=>{const _0x5708d2=_0x30b51f;if(!_0x3dc8a3)return;let _0xa68064=_0x53ae6f[_0x5708d2(0x43f)](_0xc68694);kn(_0xa68064),An(_0xa68064);},[_0x3dc8a3,_0xc68694,_0x53ae6f]);let _0x13b860=en(_0xc68694),_0x15d851=_0x4fee2a?(_0x23f60d=(_0x459d7a=_0xaf457a[_0x30b51f(0x577)])==null?void 0x0:_0x459d7a[_0x30b51f(0x16d)](_0xaf457a,_0x4fee2a))==null?!0x1:_0x23f60d:!0x1,_0x4f4804=(_0x4fecd7=_0x13b768[_0x30b51f(0x1bc)])==null||(_0x4fecd7=_0x4fecd7['textStyle'])==null?void 0x0:_0x4fecd7['fs'];(0x0,u[_0x30b51f(0x3fe)])(_0x13b860,(0x0,n[_0x30b51f(0x4f3)])(()=>Mn(_0x2dc66f,_0x4f4225=>{const _0x496140=_0x30b51f;(0x0,u[_0x496140(0xf4)])({'commandId':_0x4f4225,'commandService':_0x2dc66f,'editorUnitId':_0xc68694,'univerInstanceService':_0x31fd76});},{'commitOnEnter':_0x15d851,'cancel':()=>{const _0x134bd1=_0x30b51f;if(_0x5a4973[_0x134bd1(0x1c3)]){_0x5a4973[_0x134bd1(0x1c3)]();return;}_0x5a4973[_0x134bd1(0x46c)](null);},'commit':()=>{const _0x2d0522=_0x30b51f;if(_0x5a4973[_0x2d0522(0x5b9)]){_0x5a4973['completeEditing']();return;}_0x5a4973[_0x2d0522(0x46c)](null);},'currentFontSize':_0x4f4804}),[_0x2dc66f,_0x15d851,_0x4f4804,_0x5a4973,_0xc68694,_0x31fd76]),_0x3dc8a3),(0x0,u[_0x30b51f(0x514)])(_0x13b860,!0x1,_0x3dc8a3),(0x0,n['useEffect'])(()=>{const _0x4286b8=_0x30b51f;if(!(_0x4fee2a!=null&&_0x4fee2a[_0x4286b8(0x550)]))return;let _0x1b9d6a=_0x24efb8=>{const _0x471dcb=_0x4286b8;if(_0x24efb8[_0x471dcb(0x1c0)]===0x0&&an(_0x24efb8[_0x471dcb(0x34f)],_0x12c11e['current'])){if(_0x5a4973[_0x471dcb(0x5b9)]){_0x5a4973['completeEditing'](_0x24efb8);return;}_0x5a4973[_0x471dcb(0x46c)](null);}};return document[_0x4286b8(0x4a8)]('pointerdown',_0x1b9d6a,!0x0),()=>{const _0x486082=_0x4286b8;document[_0x486082(0x674)](_0x486082(0x5aa),_0x1b9d6a,!0x0);};},[_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x550)],_0x5a4973]),(0x0,n['useEffect'])(()=>{const _0x30e5e2=_0x30b51f;_0x3cf1fb[_0x30e5e2(0x3c5)]=_0x4fee2a?{'width':_0x2df7fe/_0x4041b6,'height':_0x25e036/_0x5ccdfd}:{'width':0x0,'height':0x0};},[_0x2df7fe,_0x25e036,_0x4041b6,_0x5ccdfd,_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x1f3)],_0x4fee2a==null?void 0x0:_0x4fee2a['subUnitId'],_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x560)]]),(0x0,n[_0x30b51f(0x1de)])(()=>{const _0x37abe6=_0x30b51f;_0x2a96dc[_0x37abe6(0x3c5)]=null;},[_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x1f3)],_0x4fee2a==null?void 0x0:_0x4fee2a['subUnitId'],_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x560)],_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x147)]]);let _0x520a4b=(0x0,n['useCallback'])(()=>{const _0x1a45e5=_0x30b51f;let _0x37f5a3=_0x2a96dc[_0x1a45e5(0x3c5)];if(_0x37f5a3)return _0x2a96dc[_0x1a45e5(0x3c5)]=null,_0x3cf1fb[_0x1a45e5(0x3c5)]={'width':_0x37f5a3['width'],'height':_0x37f5a3[_0x1a45e5(0x609)]},_0x37f5a3;},[]),_0xdccdd3=(0x0,n[_0x30b51f(0x3c7)])((_0x7d5fe8=!0x0,_0x5d30b9=!0x1)=>{const _0x1d513b=_0x30b51f;var _0x581b16,_0x1d53b1,_0x171b22;if(!_0x3dc8a3)return;let _0x415a1b=_0x3dc8a3[_0x1d513b(0x2c3)]()[_0x1d513b(0x176)](_0x2c2e6d=>_0x2c2e6d[_0x1d513b(0x4df)]),_0x2e1794=((_0x581b16=(_0x1d53b1=_0x3dc8a3['getDocumentData']()[_0x1d513b(0x17b)])==null?void 0x0:_0x1d53b1['dataStream'][_0x1d513b(0x24d)])==null?0x2:_0x581b16)-0x2,_0x368bc9=(_0x171b22=_0x415a1b==null?void 0x0:_0x415a1b[_0x1d513b(0x225)])==null?_0x7d5fe8?_0x2e1794:null:_0x171b22;_0x368bc9!==null&&_0x3dc8a3['setSelectionRanges']([{'startOffset':_0x368bc9,'endOffset':_0x368bc9}],_0x5d30b9);},[_0x3dc8a3]);_0x33855a[_0x30b51f(0x3c5)]=_0xdccdd3;let _0x722ee9=(0x0,n[_0x30b51f(0x3c7)])(()=>{const _0x562ca5=_0x30b51f;_0xe50a59[_0x562ca5(0x3c5)]!==null&&(cancelAnimationFrame(_0xe50a59['current']),_0xe50a59[_0x562ca5(0x3c5)]=null),_0xe50a59[_0x562ca5(0x3c5)]=requestAnimationFrame(()=>{const _0x56e406=_0x562ca5;_0xe50a59[_0x56e406(0x3c5)]=null,_0x33855a[_0x56e406(0x3c5)](!0x0,!0x0);});},[]),_0x2d853a=(0x0,n[_0x30b51f(0x3c7)])(()=>{const _0x4df010=_0x30b51f;_0x3655f7[_0x4df010(0x3c5)]!==null&&(cancelAnimationFrame(_0x3655f7[_0x4df010(0x3c5)]),_0x3655f7[_0x4df010(0x3c5)]=null),_0x29ab12[_0x4df010(0x3c5)]!==null&&(window['clearTimeout'](_0x29ab12[_0x4df010(0x3c5)]),_0x29ab12['current']=null);},[]),_0x2cfc7b=(0x0,n[_0x30b51f(0x3c7)])(()=>{const _0x2c4e57=_0x30b51f;var _0x2b31f9,_0x8ba629,_0x20e556,_0x12444b,_0x478170,_0x1e784b,_0x196fb2,_0xf02909,_0x34644f;if(!_0x3dc8a3)return;let _0x4894a1=_0x53ae6f['getRenderById'](_0xc68694);An(_0x4894a1);let _0x2601f9=_0x4894a1==null?void 0x0:_0x4894a1['with'](l['DocSkeletonManagerService']);if(!_0x2601f9)return;let _0x753064=_0x2601f9[_0x2c4e57(0x505)](),_0x17f901=_0x155e10(),{renderScaleX:_0x5df973,renderScaleY:_0x452aa8,scaleAdjust:_0x2d547a}=_0x89eabd(),_0x320159=_0x23c884(),_0x1a3413=(_0x2b31f9=_0x320159==null?void 0x0:_0x320159[_0x2c4e57(0x341)])==null?i[_0x2c4e57(0x11d)]['TOP']:_0x2b31f9,_0x45a8ec=(_0x8ba629=_0x320159==null?void 0x0:_0x320159[_0x2c4e57(0x60a)])==null?i['HorizontalAlign'][_0x2c4e57(0x64a)]:_0x8ba629,_0x4c3428=(_0x20e556=_0x320159==null?void 0x0:_0x320159[_0x2c4e57(0x1e4)])==null?i[_0x2c4e57(0x2ca)][_0x2c4e57(0x2ba)]:_0x20e556,_0x519133=(_0x12444b=_0x320159==null?void 0x0:_0x320159['autoFitNoWrap'])==null?!0x1:_0x12444b,_0x53020d=(_0x478170=_0x53d4a2())==null?{'left':0x0,'top':0x0,'width':_0x2df7fe/_0x4041b6,'height':_0x25e036/_0x5ccdfd}:_0x478170,_0x36f31f=Ot({'shapeText':_0x320159==null?void 0x0:_0x320159[_0x2c4e57(0x516)]}),_0x5186fe=_0x17f901==null?void 0x0:_0x17f901[_0x2c4e57(0x2ef)](),_0x11651d=Gt(_0x5186fe),_0x1cfbc7=_0x36f31f==='width'?_0x53020d[_0x2c4e57(0x28e)]:_0x53020d[_0x2c4e57(0x609)],_0x1af671=_0x519133?fn(_0x5186fe)+0x2:_0x1cfbc7,_0x6d112b=dn({'autoFitNoWrap':_0x519133,'maxAutoFitWidth':_0x1af671,'textRectWidth':_0x1cfbc7}),_0x31e7fb=!0x1;if(_0x17f901){var _0x48a601;_0x31e7fb=Nt((_0x48a601=_0x17f901[_0x2c4e57(0x2ef)]()['documentStyle'])==null||(_0x48a601=_0x48a601[_0x2c4e57(0xec)])==null?void 0x0:_0x48a601[_0x2c4e57(0xe1)]),_0x17f901[_0x2c4e57(0x308)](Math[_0x2c4e57(0x130)](_0x5df973,_0x452aa8)),_0x17f901[_0x2c4e57(0x4e1)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x6d112b,'height':0x1/0x0}}),_0x17f901[_0x2c4e57(0x546)]({'verticalAlign':bn({'opticalVerticalAlign':_0x31e7fb,'verticalAlign':_0x1a3413}),'horizontalAlign':_0x45a8ec,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x4c3428}),_0x17f901[_0x2c4e57(0x5be)]({'t':0x0});}(_0x1e784b=_0x753064[_0x2c4e57(0x4eb)])==null||_0x1e784b['call'](_0x753064),_0x753064[_0x2c4e57(0x198)]();let {actualWidth:_0xbb3cca,actualHeight:_0x5e9661}=_0x753064[_0x2c4e57(0x3cc)](),_0xd8d227=Zt(_0x4894a1==null||(_0x196fb2=_0x4894a1[_0x2c4e57(0x54d)](u['DocSelectionRenderService']))==null?void 0x0:_0x196fb2[_0x2c4e57(0x4ba)]()),_0x238545=Xt(Rt(_0x753064,_0x5e9661),_0xd8d227),_0x99189=_0x31e7fb?zt(_0x753064,_0x53020d['height'],_0x1a3413):void 0x0,_0x37acb0=pn({'actualWidth':_0xbb3cca,'autoFitNoWrap':_0x519133,'measuredContentWidth':_0x1af671,'textRectWidth':_0x1cfbc7}),_0x534ac9=vn({'adapter':_0xaf457a,'editingParams':_0x4fee2a}),_0x3c1d6c=wn({'flowAxis':_0x36f31f,'flowAxisLength':mn({'actualWidth':_0xbb3cca,'allowShrink':_0x534ac9,'autoFitNoWrap':_0x519133,'measuredContentWidth':_0x1af671,'renderedContentWidth':_0x37acb0}),'crossAxisLength':_0x238545}),_0x2592d8=xn({'actualHeight':_0x238545,'contentWidth':_0x37acb0,'opticalVerticalOffset':_0x99189,'scaleX':_0x4041b6,'scaleY':_0x5ccdfd,'textRect':_0x53020d,'verticalAlign':_0x1a3413}),_0x4c5b58=_0x2df7fe/_0x4041b6,_0x4e87ab=_0x25e036/_0x5ccdfd,_0x50461e=Cn({'hostWidth':_0x4c5b58,'hostHeight':_0x4e87ab,'textRect':_0x53020d,'contentWidth':_0x3c1d6c[_0x2c4e57(0x28e)],'contentHeight':_0x3c1d6c['height'],'allowShrink':_0x534ac9}),_0x2639b2=_0x320159!=null&&_0x320159[_0x2c4e57(0x5c1)]&&_0x11651d?ln({'isHorizontal':_0x320159[_0x2c4e57(0x59f)],'placeholderWidth':un(_0x5186fe==null?_0x13b768:_0x5186fe,_0x4d346b)}):null,_0x328509=Math[_0x2c4e57(0x2f0)](Math[_0x2c4e57(0x130)](_0x50461e[_0x2c4e57(0x28e)],(_0xf02909=_0x2639b2==null?void 0x0:_0x2639b2[_0x2c4e57(0x28e)])==null?0x0:_0xf02909)),_0x3f4e15=Math[_0x2c4e57(0x2f0)](Math[_0x2c4e57(0x130)](_0x50461e[_0x2c4e57(0x609)],(_0x34644f=_0x2639b2==null?void 0x0:_0x2639b2[_0x2c4e57(0x609)])==null?0x0:_0x34644f)),_0x1ea65f=_0x3cf1fb[_0x2c4e57(0x3c5)],_0x1cd1cf=_n({'nextWidth':_0x328509,'nextHeight':_0x3f4e15,'baselineWidth':_0x4c5b58,'baselineHeight':_0x4e87ab}),_0x6ec890=_n({'nextWidth':_0x328509,'nextHeight':_0x3f4e15,'baselineWidth':_0x1ea65f[_0x2c4e57(0x28e)],'baselineHeight':_0x1ea65f[_0x2c4e57(0x609)]}),_0x334999=_0x4fee2a&&_0xaf457a['updateHostSize']&&_0x1cd1cf&&_0x6ec890,_0x32d8d9=yn({'adapter':_0xaf457a,'editingParams':_0x4fee2a}),_0x5870dd=_n({'nextWidth':_0x4c5b58,'nextHeight':_0x3f4e15,'baselineWidth':_0x4c5b58,'baselineHeight':_0x4e87ab}),_0x5da501=_n({'nextWidth':_0x4c5b58,'nextHeight':_0x3f4e15,'baselineWidth':_0x4c5b58,'baselineHeight':_0x1ea65f[_0x2c4e57(0x609)]}),_0x236d64=_0x4fee2a&&_0xaf457a[_0x2c4e57(0x4a5)]&&_0x3f4e15>_0x4e87ab&&_0x3f4e15>_0x1ea65f[_0x2c4e57(0x609)]&&_0x5870dd&&_0x5da501,_0x5cfc47=gn({'autoFitNoWrap':_0x519133,'editorWidth':_0x2592d8[_0x2c4e57(0x139)],'measurePageWidth':_0x6d112b,'renderedContentWidth':_0x37acb0,'scaleX':_0x4041b6});if(_0x16adf2({'documentMarginTop':_0x2592d8[_0x2c4e57(0x194)]*_0x5ccdfd,'editorLeft':_0x2592d8[_0x2c4e57(0x58a)],'editorTop':_0x2592d8[_0x2c4e57(0x37c)],'editorWidth':_0x2592d8['editorWidth'],'editorHeight':_0x2592d8[_0x2c4e57(0x1b9)],'editorSurfaceWidth':_0x5cfc47}),_0x17f901){let _0x228c5b=hn({'autoFitNoWrap':_0x519133,'measurePageWidth':_0x6d112b,'renderedContentWidth':_0x37acb0,'textRectWidth':_0x1cfbc7});_0x17f901[_0x2c4e57(0x4e1)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x228c5b,'height':_0x2592d8[_0x2c4e57(0x503)]}}),_0x17f901[_0x2c4e57(0x5be)]({'t':_0x2592d8[_0x2c4e57(0x194)]}),_0x753064[_0x2c4e57(0x198)]();}if(_0x4894a1){_0x2592d8[_0x2c4e57(0x139)];let _0x100923=_0x2592d8['editorHeight'];_0x4894a1[_0x2c4e57(0x65c)][_0x2c4e57(0x1b4)]({'width':_0x5cfc47*_0x2d547a/_0x5df973,'height':_0x100923*_0x2d547a/_0x452aa8,'scaleX':_0x5df973*_0x2d547a,'scaleY':_0x452aa8*_0x2d547a}),_0x4894a1[_0x2c4e57(0x3b6)]&&_0x4894a1['mainComponent'][_0x2c4e57(0x509)](_0x5cfc47*_0x2d547a/_0x5df973,_0x100923*_0x2d547a/_0x452aa8),jn(_0x4894a1);}if(_0x32d8d9&&_0x4fee2a&&_0xaf457a[_0x2c4e57(0x4e5)]){var _0x2e1083;let _0x4010a8={'unitId':_0x4fee2a['unitId'],'subUnitId':_0x4fee2a[_0x2c4e57(0x48d)],'shapeId':_0x4fee2a['shapeId'],'width':_0x328509,'height':_0x3f4e15};_0x2a96dc[_0x2c4e57(0x3c5)]=_0x4010a8,(_0x2e1083=_0xaf457a[_0x2c4e57(0x291)])==null||_0x2e1083[_0x2c4e57(0x16d)](_0xaf457a,_0x4010a8);}if(_0x334999&&_0x4fee2a&&_0xaf457a[_0x2c4e57(0x4e5)]){if(_0x32d8d9)return;_0x2a96dc[_0x2c4e57(0x3c5)]=null,_0x3cf1fb[_0x2c4e57(0x3c5)]={'width':_0x328509,'height':_0x3f4e15},_0xaf457a['updateHostSize']({'unitId':_0x4fee2a[_0x2c4e57(0x1f3)],'subUnitId':_0x4fee2a['subUnitId'],'shapeId':_0x4fee2a['shapeId'],'width':_0x328509,'height':_0x3f4e15}),_0x722ee9();}else{if(_0x236d64&&_0x4fee2a&&_0xaf457a[_0x2c4e57(0x4a5)]){if(_0x32d8d9)return;_0x2a96dc[_0x2c4e57(0x3c5)]=null,_0x3cf1fb[_0x2c4e57(0x3c5)]={'width':_0x4c5b58,'height':_0x3f4e15},_0xaf457a[_0x2c4e57(0x4a5)]({'unitId':_0x4fee2a[_0x2c4e57(0x1f3)],'subUnitId':_0x4fee2a['subUnitId'],'shapeId':_0x4fee2a[_0x2c4e57(0x560)],'height':_0x3f4e15}),_0x722ee9();}}},[_0x3dc8a3,_0xaf457a,_0x4fee2a,_0x53ae6f,_0x155e10,_0x89eabd,_0x23c884,_0x53d4a2,_0x2df7fe,_0x25e036,_0x4041b6,_0x5ccdfd,_0x13b768,_0x4d346b,_0x722ee9,_0x16adf2]);_0xe38977['current']=_0x2cfc7b;let _0x4b82d9=(0x0,n[_0x30b51f(0x3c7)])((_0xe9b976=!0x1)=>{const _0x5aaad1=_0x30b51f;_0x2d853a(),_0x3655f7[_0x5aaad1(0x3c5)]=requestAnimationFrame(()=>{const _0x5e70e1=_0x5aaad1;_0x2cfc7b(),_0xe9b976&&_0xdccdd3(!0x1),_0x3655f7[_0x5e70e1(0x3c5)]=null,_0x29ab12[_0x5e70e1(0x3c5)]=window['setTimeout'](()=>{const _0x10dbc4=_0x5e70e1;_0x2cfc7b(),_0xe9b976&&_0xdccdd3(!0x1),_0x29ab12[_0x10dbc4(0x3c5)]=null;},0x14);});},[_0x2cfc7b,_0x2d853a,_0xdccdd3]);_0x21ccfc[_0x30b51f(0x3c5)]=_0x4b82d9,(0x0,n['useEffect'])(()=>{const _0x398a38=_0x30b51f;if(!(_0x4fee2a!=null&&_0x4fee2a['visible'])||!_0x3dc8a3)return;let _0x1a9e97=!0x1,_0xa91a13=_0x361711[_0x398a38(0x384)][_0x398a38(0x5e9)](_0x322a59=>{const _0x202313=_0x398a38;if(!_0x1a9e97){_0x1a9e97=!0x0;return;}!_0x322a59||_0x322a59['unitId']!==_0xc68694||_0x322a59[_0x202313(0x2b8)]||(_0x218b59(Gt(On(_0x3dc8a3))),_0x21ccfc[_0x202313(0x3c5)](!0x1));});return()=>{const _0x5175da=_0x398a38;_0xa91a13[_0x5175da(0x2cf)]();};},[_0x361711,_0x3dc8a3,_0xc68694,_0x4fee2a==null?void 0x0:_0x4fee2a['shapeId'],_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x147)],_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x48d)],_0x4fee2a==null?void 0x0:_0x4fee2a['unitId'],_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x550)]]);let _0x57b106=(0x0,n[_0x30b51f(0x3c7)])(()=>{_0x2d853a(),_0xe38977['current']();},[_0x2d853a]);(0x0,n['useEffect'])(()=>{const _0x41f364=_0x30b51f;if(!_0x3dc8a3||!_0x4fee2a)return;let {shapeId:_0xdaa989,unitId:_0x506672}=_0x4fee2a;if(_0x379297){var _0x13c58f,_0xe63a7f,_0xf86c93,_0x17a7b8,_0x3f737b,_0x387317,_0x3e50c6,_0xd42f11;let _0x1997e0=_0x23c884(),_0x150261=On(_0x3dc8a3);if(!_0x150261)return;let _0x649011=(_0x13c58f=(_0xe63a7f=_0x1997e0==null?void 0x0:_0x1997e0['verticalAlign'])==null?(_0xf86c93=_0x5b1618[_0x41f364(0x3c5)])==null?void 0x0:_0xf86c93['va']:_0xe63a7f)==null?i[_0x41f364(0x11d)][_0x41f364(0x32b)]:_0x13c58f,{horizontalAlign:_0x47e3c8,verticalAlign:_0x521c1e}=W(_0x150261,{'verticalAlign':_0x649011,'horizontalAlign':(_0x17a7b8=(_0x3f737b=_0x1997e0==null?void 0x0:_0x1997e0[_0x41f364(0x60a)])==null?(_0x387317=_0x5b1618[_0x41f364(0x3c5)])==null?void 0x0:_0x387317['ha']:_0x3f737b)==null?i[_0x41f364(0x4a2)][_0x41f364(0x64a)]:_0x17a7b8}),_0x164c85=Nt((_0x3e50c6=_0x150261[_0x41f364(0x1bc)])==null||(_0x3e50c6=_0x3e50c6[_0x41f364(0xec)])==null?void 0x0:_0x3e50c6['shapeTextOpticalVerticalAlign'])?_0x649011:_0x521c1e,_0x1c8908={'va':_0x164c85,'ha':_0x47e3c8,'doc':pe(_0x150261,{'bodyBehavior':_0x1997e0==null?void 0x0:_0x1997e0['bodyBehavior'],'verticalAlign':_0x164c85,'horizontalAlign':_0x47e3c8})};_0x57b106();let _0x2077d1=_0x520a4b();_0xaf457a[_0x41f364(0x2af)]({'unitId':_0x506672,'subUnitId':_0x4fee2a[_0x41f364(0x48d)],'shapeId':_0xdaa989,'shapeText':sn({'shapeText':_0x1997e0==null?void 0x0:_0x1997e0['shapeText'],'isHorizontal':_0x1997e0==null?void 0x0:_0x1997e0[_0x41f364(0x59f)],'dataModel':_0x1c8908}),'oldShapeText':sn({'shapeText':_0x1997e0==null?void 0x0:_0x1997e0[_0x41f364(0x516)],'isHorizontal':_0x1997e0==null?void 0x0:_0x1997e0[_0x41f364(0x59f)],'dataModel':(_0xd42f11=_0x5b1618[_0x41f364(0x3c5)])==null?void 0x0:_0xd42f11}),..._0x2077d1?{'hostSize':_0x2077d1}:null}),_0x5a4973['setEditing'](null);return;}let _0x52d102=_0x23c884();if(_0x52d102!=null&&_0x52d102[_0x41f364(0x2fd)]){_0x5b1618[_0x41f364(0x3c5)]={'va':_0x52d102[_0x41f364(0x341)],'ha':_0x52d102[_0x41f364(0x60a)],'doc':me(_0x52d102[_0x41f364(0x2fd)])};let _0x1869e6=K(_0x52d102['doc'],{'bodyBehavior':_0x52d102[_0x41f364(0x22e)],'isHorizontal':_0x52d102['isHorizontal'],'textRect':_0x52d102['textRect'],'verticalAlign':_0x52d102[_0x41f364(0x341)],'horizontalAlign':_0x52d102[_0x41f364(0x60a)],'wrapStrategy':_0x52d102[_0x41f364(0x1e4)]});return Dn(_0x3dc8a3,_0x1869e6,null),_0x218b59(Gt(_0x1869e6)),()=>{const _0x40465f=_0x41f364;var _0x58d8fc,_0x3211ec,_0x2c0f08,_0x1982d2,_0x4c5687,_0x10bc29,_0x2da8c7,_0x2c9e07;if(_0x30cf8d[_0x40465f(0x3c5)])return;let _0x5cc77a=_0x23c884(),_0x5f1bc3=On(_0x3dc8a3);if(!_0x5f1bc3)return;let _0x57a445=(_0x58d8fc=(_0x3211ec=_0x5cc77a==null?void 0x0:_0x5cc77a[_0x40465f(0x341)])==null?(_0x2c0f08=_0x5b1618[_0x40465f(0x3c5)])==null?void 0x0:_0x2c0f08['va']:_0x3211ec)==null?i['VerticalAlign'][_0x40465f(0x32b)]:_0x58d8fc,{horizontalAlign:_0x57b5f7,verticalAlign:_0x1016eb}=W(_0x5f1bc3,{'verticalAlign':_0x57a445,'horizontalAlign':(_0x1982d2=(_0x4c5687=_0x5cc77a==null?void 0x0:_0x5cc77a[_0x40465f(0x60a)])==null?(_0x10bc29=_0x5b1618[_0x40465f(0x3c5)])==null?void 0x0:_0x10bc29['ha']:_0x4c5687)==null?i[_0x40465f(0x4a2)][_0x40465f(0x64a)]:_0x1982d2}),_0x2b96c6=Nt((_0x2da8c7=_0x5f1bc3['documentStyle'])==null||(_0x2da8c7=_0x2da8c7[_0x40465f(0xec)])==null?void 0x0:_0x2da8c7['shapeTextOpticalVerticalAlign'])?_0x57a445:_0x1016eb,_0x26fcdb={'va':_0x2b96c6,'ha':_0x57b5f7,'doc':pe(_0x5f1bc3,{'bodyBehavior':_0x5cc77a==null?void 0x0:_0x5cc77a[_0x40465f(0x22e)],'verticalAlign':_0x2b96c6,'horizontalAlign':_0x57b5f7})};_0x57b106();let _0x1b4523=_0x520a4b();_0xaf457a['updateShapeText']({'unitId':_0x506672,'subUnitId':_0x4fee2a[_0x40465f(0x48d)],'shapeId':_0xdaa989,'shapeText':sn({'shapeText':_0x5cc77a==null?void 0x0:_0x5cc77a[_0x40465f(0x516)],'isHorizontal':_0x5cc77a==null?void 0x0:_0x5cc77a['isHorizontal'],'dataModel':_0x26fcdb}),'oldShapeText':sn({'shapeText':_0x5cc77a==null?void 0x0:_0x5cc77a[_0x40465f(0x516)],'isHorizontal':_0x5cc77a==null?void 0x0:_0x5cc77a[_0x40465f(0x59f)],'dataModel':(_0x2c9e07=_0x5b1618[_0x40465f(0x3c5)])==null?void 0x0:_0x2c9e07}),..._0x1b4523?{'hostSize':_0x1b4523}:null});};}else Dn(_0x3dc8a3,_0x13b768,null),_0x218b59(Gt(_0x13b768));},[_0x3dc8a3,_0x4fee2a,_0x379297]);let _0xcb5707=rn({'editorUnitId':_0xc68694,'editingParams':_0x4fee2a});(0x0,n[_0x30b51f(0x1de)])(()=>{const _0x211906=_0x30b51f;if(!(!_0x3dc8a3||!_0xcb5707||!(_0x4fee2a!=null&&_0x4fee2a['visible'])))return _0x3bd4a5[_0x211906(0x460)](!0x0),_0xe38977['current'](),_0x3cbbd3['current']=requestAnimationFrame(()=>{const _0x3c757a=_0x211906;_0x3bd4a5['focus'](_0xc68694),_0x33855a[_0x3c757a(0x3c5)](!0x0,!0x0),_0x3dc8a3[_0x3c757a(0x126)](),_0x21ccfc[_0x3c757a(0x3c5)](),_0x3cbbd3['current']=null;}),()=>{const _0x3d5bd3=_0x211906;_0x3cbbd3['current']!==null&&(cancelAnimationFrame(_0x3cbbd3[_0x3d5bd3(0x3c5)]),_0x3cbbd3['current']=null),_0xe50a59['current']!==null&&(cancelAnimationFrame(_0xe50a59['current']),_0xe50a59['current']=null),_0x2d853a(),_0x3bd4a5[_0x3d5bd3(0x460)](!0x0);};},[_0x3dc8a3,_0x3bd4a5,_0xc68694,_0xcb5707,_0x4fee2a==null?void 0x0:_0x4fee2a[_0x30b51f(0x550)],_0x2d853a]),(0x0,n[_0x30b51f(0x1de)])(()=>{const _0x202795=_0x30b51f;if(!_0x3dc8a3)return;let _0x25d558=_0x2dc66f[_0x202795(0x453)](_0x28297e=>{const _0x5908ec=_0x202795;_0x28297e['id']===l[_0x5908ec(0x45b)]['id']&&_0x28297e[_0x5908ec(0x66c)][_0x5908ec(0x1f3)]===_0xc68694&&_0x4fee2a&&(_0x4fee2a['visible']?(_0x2cfc7b(),_0x4b82d9()):_0x5a4973['setEditing']({..._0x4fee2a,'visible':!0x0})),_0x433cdb&&_0x28297e['id']===_0x433cdb&&_0x4b82d9(!0x0);});return()=>{const _0x8a7f61=_0x202795;_0x25d558[_0x8a7f61(0x52e)]();};},[_0x3dc8a3,_0x2cfc7b,_0x4fee2a,_0x4b82d9,_0x5a4973,_0xc68694,_0x433cdb]),(0x0,n[_0x30b51f(0x1de)])(()=>(_0x2cfc7b(),_0x4b82d9(),()=>{_0x2d853a();}),[_0x2cfc7b,_0x4b82d9,_0x2d853a]);let _0x4dd10a=(0x0,n[_0x30b51f(0x4f3)])(()=>{const _0x1c95aa=_0x30b51f;var _0x40d674,_0x11182d;let _0x44ec96=(_0x40d674=_0x1d0bca['editorSurfaceWidth'])==null?_0x1d0bca[_0x1c95aa(0x139)]:_0x40d674;return{...Tn(_0x1d0bca[_0x1c95aa(0x58a)],_0x1d0bca[_0x1c95aa(0x37c)],_0x44ec96,Math['max'](0x1,_0x1d0bca[_0x1c95aa(0x1b9)])),..._0x4fee2a?(_0x11182d=_0xaf457a[_0x1c95aa(0x1ae)])==null?void 0x0:_0x11182d[_0x1c95aa(0x16d)](_0xaf457a,_0x4fee2a):void 0x0};},[_0xaf457a,_0x4fee2a,_0x1d0bca[_0x30b51f(0x1b9)],_0x1d0bca[_0x30b51f(0x58a)],_0x1d0bca[_0x30b51f(0x62d)],_0x1d0bca[_0x30b51f(0x37c)],_0x1d0bca[_0x30b51f(0x139)]]),_0x4023cc=(0x0,n['useMemo'])(()=>{const _0x5f2cfa=_0x30b51f;let _0x1c78ea=_0x23c884(),_0x38326e=_0x1c78ea==null?void 0x0:_0x1c78ea[_0x5f2cfa(0x17d)];return _0x38326e&&_0x38326e||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x23c884]),_0x54e89c=(0x0,n[_0x30b51f(0x4f3)])(()=>{const _0x5c49c7=_0x30b51f;var _0x46f4ef,_0x1885a1;return Sn({'documentMarginTop':_0x1d0bca[_0x5c49c7(0x194)],'editorLeft':_0x1d0bca['editorLeft'],'editorSurfaceWidth':_0x1d0bca[_0x5c49c7(0x62d)],'editorTop':_0x1d0bca[_0x5c49c7(0x37c)],'editorWidth':_0x1d0bca[_0x5c49c7(0x139)],'horizontalAlign':(_0x46f4ef=(_0x1885a1=_0x23c884())==null?void 0x0:_0x1885a1[_0x5c49c7(0x60a)])==null?i[_0x5c49c7(0x4a2)]['LEFT']:_0x46f4ef});},[_0x23c884,_0x1d0bca]);return(0x0,r[_0x30b51f(0x2eb)])(_0x30b51f(0x5ac),{'ref':_0x12c11e,'data-u-comp':'shape-text-editor','className':_0x30b51f(0x56c),'style':{'transform':_0x30b51f(0x261)+_0x4023cc['angle']+_0x30b51f(0x2f3)+(_0x4023cc[_0x30b51f(0x39e)]?-0x1:0x1)+')'},'children':[(0x0,r['jsx'])(_0x30b51f(0x5ac),{'ref':_0x47f0f8,'className':_0x30b51f(0xe5),'data-u-comp':_0x30b51f(0x369),'style':_0x4dd10a,'data-editorid':_0xc68694}),(_0x4fee2a==null?void 0x0:_0x4fee2a['visible'])&&_0x1f78d7&&(0x0,r[_0x30b51f(0x396)])(_0x30b51f(0x5ac),{'aria-hidden':_0x30b51f(0x10d),'className':_0x30b51f(0x488),'data-u-comp':'shape-text-editor-placeholder','style':{..._0x54e89c,'fontSize':_0x4f4804==null?0xe:_0x4f4804,'lineHeight':1.5},'children':_0x4d346b})]});};function _0x5ae5(){const _0x4f4baf=['getSkeleton','ShapeActionButtonHomeIcon','pointercancel','StrikethroughIcon','resize','getOwnPropertyDescriptor','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','DocStateEmitService','getObject','ShapeQuadArrowIcon','BracePair','contains','has','getSelfOrHeaderFooterModel','univer-grid\x20univer-grid-cols-2\x20univer-gap-2\x20[&>label]:univer-grid\x20[&>label]:univer-gap-1','useLeftAndRightArrow','ShapeAccentCallout3Icon','shapeText','DownArrow','shape-editor-ui.line.sketchType.handDrawn','ShapePentagonIcon','shape-editor-ui.line.dashType.longDashDot','componentKey','mouseup','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','IconManager','endArrow','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','ShapeUpArrowCalloutIcon','shape.type.curved-up-arrow','isBold','min','center','shape-editor-ui.fill.picture.align.br','Solid','Star24','ShapeCurvedConnector3Arrow2Icon','FontFamilyDropdown','shape.type.callout3','AlignTopIcon','NoAutoFit','dispose','plainShapeTextToDocumentData','ShapeDiamondIcon','4\x202','relatedTarget','Select','FlowchartMagneticDrum','forEach','AccentBorderCallout1','IrregularSeal2','shape-stroke-dash-dropdown','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','oKey','shape.type.star12','shape.type.gear9','univer--rotate-90\x20univer-text-xs','getDirection','backwardLabel','stopPropagation','isPrimary','shape-editor-ui.textEditor.paragraphType.heading2','ShapeUpDownArrowIcon','capType','IContextService','updateDocumentRenderConfig','ShapeActionButtonBlankIcon','ShapeTextAutoFitType','1537430QJCfqU','ShapeSnip1RectIcon','HEADING_1','editingParams$','with','basicShape','shape.type.star5','visible','FONT_SIZE_LIST','getShapeTextRect','textRanges','shape-editor-ui.line.title','ShapeLeftRightArrowCalloutIcon','getTextModel','ShapeLineEditor','shape.type.diamond','CircularArrow','color','shape-editor-ui.line.color','resolveShapeTextEditorTextRect','shape.type.rect','viewportScrollX','shape.type.frame','shapeId','source','[data-u-comp=\x22rect-popup\x22]','shape.type.border-callout2','shape.type.chart-x','853HcWEnw','defineProperty','Gear9','FlowchartOr','shape.type.bracket-pair','HEADING_4','univer-hidden','univer-relative\x20univer-size-full\x20univer-overflow-visible','shape-editor-ui.line.dashType.roundDot','shape-editor-ui.fill.picture.align.b','onBeforeCommand','DashDot','editorUnitId','Inject','ActionButtonMovie','dash','shape.type.flow-chart-punched-card','Star10','commitOnEnter','shape.type.line-inv','ShapeFlowChartMergeIcon','Rect','diamond','shape.type.action-button-end','ShapeFlowChartMagneticTapeIcon','ShapeArcIcon','flowAxis','shape-editor-ui.line.joinType.miter','univer-flex-1\x20univer-overflow-auto','ShapeChevronIcon','content','paddingBottom','ShapeTextDirection','ShapeCurvedUpArrowIcon','command:','ThemeService','univer-gap-2','editorLeft','none','ShapeSnip2SameRectIcon','ChartX','shape-editor-ui.fill.picture.align.tr','ShapeBentArrowIcon','ShapeUpDownArrowCalloutIcon','Segmented','UturnArrow','shape-editor-ui.toolbar.alignJustify','FoldedCorner','SetInlineFormatSuperscriptCommand','imageFillMode','docs-code.command.insert','PERIOD','worksheet','toStringTag','MathDivide','allowShrink','fillImageSource','Round1Rect','isHorizontal','scaleY','Arc','snapToGrid','shapeTypeOptions','shape.type.ellipse-ribbon','AccentCallout1','FlowchartCollate','shape.type.flow-chart-display','getShapeTextData','ShapeRtTriangleIcon','pointerdown','resolveShapeTextBoxResizePolicy','div','ShapeLineTypeEnum','SetInlineFormatUnderlineCommand','shape.type.left-up-arrow','createParagraphId','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','univer-box-border\x20univer-flex\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','shape.type.accent-callout2','univer-pointer-events-none\x20univer-opacity-60','shape.type.right-arrow','buildShapeTextDataUpdate','pictureFill','AlignJustifyCommand','completeEditing','VerticalCenterIcon','Cloud','sectionBreaks','flowAxisLength','updateDocumentDataMargin','\x0a\x20\x20\x20\x20\x20\x20!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x0a\x20\x20\x20\x20\x20\x20!univer-bg-transparent\x20!univer-px-1.5\x0a\x20\x20\x20\x20','ShapeAccentCallout2Icon','isTextBox','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-1\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','OvalArrow','getPositionOffset','PaintBucketDoubleIcon','getSkeletonData','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','Linear','ShapeFlowChartInputOutputIcon','\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-items-center\x20univer-justify-center\x20univer-border-none\x20univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','range','shape.type.block-arc','11GyXYYN','packageName','picture','shape.type.bevel','shape.type.wedge-rect-callout','shape.type.round-rect','viewportKeys','getUnit','memo','ShapeRound2DiagRectIcon','isStrike','shape.type.triangle','lineSpacing','LeftArrowCallout','shape.type.rt-triangle','univer-max-h-[75vh]\x20univer-overflow-y-auto','shape.type.flow-chart-manual-input','SolidLine','UnderlineIcon','univer-max-w-[min(760px,calc(100vw-32px))]','requestAnimationFrame','fontScale','direction','sessionKey','resolveShapeTextNoWrapLayout','TodoListDoubleIcon','gradientStops','round','subscribe','CodeIcon','paddingEnd','getCanvasElement','univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center','textRect','ShapeBracketPairIcon','H4Icon','placeholderWidth','FlowchartDelay','ShapeSwooshArrowIcon','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','shape.type.math-not-equal','shape.type.left-right-circular-arrow','verticalOffset','onPointerDown','univer-w-20\x20univer-flex-1','EllipseRibbon','FontColorDoubleIcon','ShapeQuadArrowCalloutIcon','shape-editor-ui.line.arrowType.ovalArrow','getImageSize','univer-flex\x20univer-min-w-0\x20univer-flex-col','value','ShapeStar7Icon','ShapeSquareTabsIcon','ShapeSnip2DiagRectIcon','getCurrentUnitOfType','decorate','2631928euTfAc','dataStream','name','height','horizontalAlign','shape.type.callout2','shape.type.left-brace','BlockArc','SHAPE_EDITOR_UI_PLUGIN','CornerTabs','fontFamily','1\x203','WedgeEllipseCallout','ImageFillModeEnum','shape-editor-ui.textEditor.paragraphType.code','FlowchartDisplay','ShapeAccentBorderCallout1Icon','shape-editor-ui.shape.','ShapeStraightConnector1Icon','UndoCommand','divides','univer-pt-2','Pentagon','ShapeMathEqualIcon','gradientType','shape.type.flow-chart-decision','ShapeSketchTypeEnum','shape-editor-ui.textBox.title','ShapeLineCapEnum','getViewport','ShapeEllipseRibbonIcon','shape.type.can','shape.type.bent-arrow','univer-w-[260px]','getBody','setConfig','univer-flex\x20univer-flex-col\x20univer-gap-3','Line','univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden','editorSurfaceWidth','Callout1','Snip2SameRect','ShapeWaveIcon','ShapeEllipseRibbon2Icon','createSectionId','CurvedDownArrow','SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','shape.type.heptagon','shape-floating-toolbar-font-family-menu','ShapeRectTextboxVerticalIcon','isShapeTextEditorDocumentEmpty','shape.type.up-down-arrow','getShapeModel','blockArrow','monospace','OVERFLOW','RightJustifyingIcon','disposeWithMe','ShapeActionButtonBeginningIcon','AlignTextBothIcon','univer-relative\x20univer-inline-flex\x20univer-justify-center','shape-editor-ui.fill.picture.source','group','univer-leading-none','makeDirty','527022rcANHr','ShapeSnipRoundRectIcon','count','LEFT','Stretch','shape.type.right-bracket','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','univer-w-[320px]\x20univer-p-2','ShapeCircularArrowIcon','BorderCallout2','BreakLineCommand','shape.type.heart','fill','RoundDot','shape-editor-ui.line.sketchType.none','SHAPE_EDITOR_TRANSFORMER_CONFIG','ChartPlus','ShapeAccentCallout1Icon','ShapeRound2SameRectIcon','text','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x20dark:!univer-border-l-gray-600','scene','ShapeRectTextboxHorizontalIcon','univer-shadow-none','clearActiveDrawingObjects','shape.type.action-button-beginning','univer-flex\x20univer-flex-col','ColorPicker','ShapeStar5Icon','_configService','ShapeTextBoxEditor','object','BooleanNumber','ShapeCubeIcon','univer-h-6\x20univer-w-6','1282MScItK','ShapeRibbonIcon','params','HomePlate','shape.type.chart-star','prepareShapeTextDocumentData','ShapeFlowChartMultidocumentIcon','create','FlowchartSort','shape-editor-ui.line.endArrowSize','removeEventListener','_context','univer-grid\x20univer-gap-2','active','shape.type.curved-right-arrow','shape.type.vertical-scroll','sketchType','shape.type.right-arrow-callout','Fragment','0\x200\x2048\x2020','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','findIndex','Parallelogram','callout','ShapeNotchedRightArrowIcon','resolveShapeTextBodyBehavior','univer-text-gray-600\x20univer-transition-transform','ShapeBevelIcon','ShapeHeartIcon','shapeTextOpticalVerticalAlign','OrderListCommand','SetInlineFormatSubscriptCommand','GroupIcon','univer-absolute','leftTop','HorizontallyIcon','get','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','strokeOpacity','span','renderConfig','shape.type.bent-up-arrow','ctrlKey','ShapeFillEditor','gradientEndColor','InputNumber','flatMap','lineStrokeType','executeEditorUndoRedoCommand','ShapeCanIcon','MathMinus','\x0a\x20\x20\x20\x20\x20\x20univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1\x20univer-shadow-sm\x0a\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20','DocSelectionManagerService','Digit8','ShapeFlowChartDecisionIcon','ShapePlusIcon','main','LeftRightArrow','clearUndoRedoHistory','ChartStar','getCurrentLocale','ShapeGear6Icon','ShapeTeardropIcon','opticalVerticalOffset','paragraphStyle','ShapeIrregularSeal1Icon','scrollContainer','ShapePieIcon','ShapeFlowChartOfflineStorageIcon','shape-editor-ui.toolbar.collapseShapeToolbar','radial','ShapeNoSmokingIcon','ShapeActionButtonReturnIcon','true','ShapePlaqueIcon','ShapeActionButtonEndIcon','ShapeFloatingToolbar','colStartX','Ellipse','shape.type.flow-chart-multidocument','onClick','ShapeLeftBracketIcon','header','horizontalAnchor','Accordion','univer-absolute\x20-univer-top-3\x20univer-left-1/2\x20univer-z-10\x20univer-flex\x20univer-h-3\x20univer-w-16\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-justify-center\x20univer-rounded-t-md\x20univer-border\x20univer-border-b-0\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','join','ICommandService','shape.type.right-brace','VerticalAlign','tiltY','isRichText','shape.type.left-right-ribbon','shape.type.moon','shape.type.ribbon2','_config','AccentBorderCallout2','bold','focus','ShapeBentConnector3Arrow2Icon','shape.type.star32','FlowchartDecision','disposable','backward','sort','shape.type.plaque','shape.type.border-callout1','endOffset','max','ShapeFloatingToolbarFontSizeSelect','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','#4086f4','Vert','buttonClassName','shape-editor-ui.toolbar.superscript','ShapeFolderCornerIcon','shiftKey','editorWidth','ShapeNonIsoscelesTrapezoidIcon','angle','BaselineOffset','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','_docCanvasPopManagerService','shape.type.curved-left-arrow','HEADING_3','ShapeWedgeRoundRectCalloutIcon','ActionButtonHelp','getAncestorScale','univer-w-12','typography-vertical-align-row','ShapeDoubleWaveIcon','shapeKey','pressure','ShapeFlowChartPunchedTapeIcon','subscribeEvent','resolveShapeTextEditorBehaviorShapeData','gradientAngle','getDrawingTransform','Module','ShapeSmileyFaceIcon','sections','ShapeMathNotEqualIcon','BentUpArrow','shape.type.cloud','ShapeLineDashEnum','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','univer-min-w-32\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','shape.type.flow-chart-offline-storage','ShapeBracePairIcon','shape-editor-ui.textBox.columnCount','shape.type.flow-chart-punched-tape','map','useDependency','onSavingEditorData$','shape-editor-ui.line.sketchType.title','icon','img','toPrimitive','shape.type.diag-stripe','ALT','pointerType','shape.type.star16','shape-editor-ui.align.top','dot','#8B5CF6','preventDefault','textFill','ShapeFloatingToolbarIcon','shouldClipShapeTextDocument','call','FOCUSING_PANEL_EDITOR','Square','contentHeight','SetInlineFormatTextFillCommand','DeleteRightCommand','Callout2','CTRL_COMMAND','vertical','find','ShapeStar4Icon','Star5','ShapeDownArrowCalloutIcon','H5Icon','body','TRUE','transform','nextHeight','middle','shape.type.flow-chart-collate','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','isArray','shape-editor-ui.fill.picture.rotateWithShape','ShapeAccentBorderCallout3Icon','allowHostSizeShrink','resolveShapeTextVerticalOffset','transparent','DELETE','section','shape.type.hexagon','shape.type.flow-chart-magnetic-disk','univer-w-[168px]','shape.type.pentagon','NamedStyleType','shape.type.down-arrow-callout','LeftRightUpArrow','ShapeMathMinusIcon','shape-editor-ui.textBox.columns','shape.type.round2-diag-rect','documentMarginTop','AccentBorderCallout3','shape.type.flow-chart-internal-storage','ShapeFillButton','calculate','ShapeVerticalScrollIcon','shape.type.ellipse-ribbon2','univer-text-sm','ShapeCallout2Icon','FlowchartConnector','SmileyFace','univer-w-28\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','clientX','Callout3','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','shape.type.callout1','fillType','univer-flex\x20univer-items-center\x20univer-gap-3','ShapeHorizontalScrollIcon','shape.type.left-arrow-callout','ShapeParallelogramIcon','shape.type.flow-chart-predefined-process','shape.type.rect-textbox-vertical','add','ShapeFrameIcon','shape.type.star7','getEditingContentStyle','solidFill','MIDDLE','heading:','shape.type.flow-chart-extract','ESC','transformByState','Frame','LineInv','self','Funnel','editorHeight','shape-editor-ui.textEditor.paragraphType.checkList','deepClone','documentStyle','shape.type.parallelogram','querySelector','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','button','group\x20univer-relative\x20univer-inline-block','SetParagraphNamedStyleCommand','cancelEditing','Ribbon2','MoreRightIcon','Tooltip','DocSelectAllCommand','Tile','#2563EB','Checkbox','textWrap','doc.operation.show-hyper-link-edit-popup','#111827','EllipseRibbon2','IUniverInstanceService','elementFromPoint','measureDocumentNoWrapTextRangeWidth','shape-floating-toolbar-collapsed','svg','SnipRoundRect','shape.type.accent-callout3','sub','rectangle','asc','shape.type.action-button-information','ShapeBorderCallout1Icon','shape-text','FlowchartManualOperation','shape.type.flow-chart-magnetic-tape','useEffect','BACKSPACE','LeftRightCircularArrow','univer-flex\x20univer-items-center\x20univer-justify-between','shape-editor-ui.textEditor.paragraphType.heading4','buttons','wrapStrategy','entries','ShapeWedgeRectCalloutIcon','string','shape.type.math-multiply','PictureFill','label','univer-gap-3','cornerRadius','Arrow','shape.type.half-frame','univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','files','scaleX','image/*','unitId','ShapeStar12Icon','FlowchartAlternateProcess','CloudCallout','univer-box-border\x20univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','AccentCallout2','twist','DiagStripe','isFocusing','#3B82F6','ShapeFlowChartTerminatorIcon','options','widthBuffer','AlignLeftCommand','BorderCallout1','title','ShapeChartXIcon','shape.type.down-arrow','Octagon','ActionButtonEnd','UniverInstanceType','UpArrow','setTimeout','FlowchartMultiDocument','univer-w-40','hostRect','direction$','RoundRect','actualWidth','DocumentFlavor','univer-text-primary-600','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','gradient','shape-editor-ui.deleteShape','marginTop','ShapeStar24Icon','push','boolean','shape.type.line','shape.type.flow-chart-input-output','ShapeLeftBraceIcon','click','univer-w-24','shape.type.accent-border-callout1','ShapeBorderCallout3Icon','fontSize','shape.type.action-button-movie','ShapeLeftCircularArrowIcon','shape-editor-ui.toolbar.alignCenter','Star7','startOffset','abs','viewportScrollY','lineJoinType','SetInlineFormatBoldCommand','SetInlineFormatTextBackgroundColorCommand','IRenderManagerService','ShapeCurvedConnector3Icon','shape.type.curved-connector3','bodyBehavior','ShapeRound1RectIcon','isActive','shape-editor-ui.line.dashType.longDash','lineType','ShapeIrregularSeal2Icon','textRectWidth','shape-editor-ui.fill.picture.offsetY','shape-editor-ui.toolbar.underline','ShapeCornerIcon','fromEntries','ShapeMathMultiplyIcon','shape-editor-ui.textEditor.paragraphType.callout','StealthArrow','shape.type.curved-connector3-arrow2','#000000','onChange','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','Flat','shape-editor-ui.line.arrowSize.small','shape.type.folder-corner','shape.type.round2-same-rect','shape.type.decagon','UnorderIcon','top','ShapeFillEnum','mode','shape-editor-ui.fill.picture.offsetX','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','IImageIoService','onFront','length','getTransformerByCreate','register','ENTER','isMixed','40TqwdPq','NonIsoscelesTrapezoid','GridType','shape.type.irregular-seal2','univer-text-xl\x20univer-text-gray-500','strikethrough','Chevron','Medium','shortcut','ShapePickerPanel','shape-editor-ui.fill.picture.alignment','BasicShape','imageTile','ShapeCurvedLeftArrowIcon','startNodePosition','rotate(','ShapeCallout3Icon','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','Dropdown','Curved','8\x202\x201\x202\x201\x202','ShapeCurvedDownArrowIcon','QuadArrow','ShapeUpArrowIcon','HEADING_5','Star4','Chord','WedgeRoundRectCallout','marginBottom','univer-w-32','TypographyIcon','ShapeLeftArrowIcon','shape.type.gear6','univer-flex\x20univer-h-7\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeTypeEnum','stops','step','shape-editor-ui.toolbar.textColor','ShapeActionButtonForwardNextIcon','univer-w-full','shape.type.wedge-round-rect-callout','shape.type.accent-callout1','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','getData','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','saveImage','ShapeSunIcon','includes','screenY','shape.type.rect-textbox-horizontal','shape.type.donut','executeCommand','shape.type.striped-right-arrow','NORMAL_TEXT','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','clientY','shape.type.flow-chart-offpage-connector','function','univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500','measuredContentWidth','width','1.0.0-alpha.5','shape.type.curved-down-arrow','previewHostSize','FlowchartDocument','textDirection','univer-text-xs','actions','KeyCode','opacity','spacing','None','LeftJustifyingIcon','tiltX','75042MjtmXo','pointerId','Hexagon','shape.type.math-equal','ShapeRoundRectIcon','style','toUpperCase','vertexAngle','COMMA','shape-editor-ui.align.bottom','DocParagraphTypeDropdown','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','shape.type.uturn-arrow','shape-editor-ui.textBox.autoFit','ShapeLeftRightArrowIcon','getColorFromTheme','Trapezoid','GradientFill','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','updateShapeText','docs-callout.command.insert','CurvedLeftArrow','SolidFill','createShapeTextBoxShapeData','shape-editor-ui.line.arrowType.none','ShapeActionButtonSoundIcon','solid','columns','isSync','Other','WRAP','shape-editor-ui.fill.title','shape.type.home-plate','Horz','ShapeStar32Icon','_docSelectionManagerService','resolveShapeTextBoxOptions','VERTICAL_ROTATE_ANGLE','shape-editor-ui.line.capType.round','getSelectionRanges','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeCallout1Icon','shape.type.cloud-callout','useEditor','VerticalScroll','shape-editor-ui.textBox.wrapText','WrapStrategy','size','DEFAULT','ShapePlaqueTabsIcon','filter','unsubscribe','ShapeStar6Icon','univer-flex-1','shape.type.action-button-help','#ffffff','shape.type.quad-arrow-callout','onBack','shape-editor-ui.textEditor.paragraphType.heading5','shape.type.horizontal-scroll','Small','univer-min-w-[240px]','SHIFT','activeAnObject','shape-editor-ui.fill.picture.insert','viewportHeight','ShapeTrapezoidIcon','TextTypeIcon','cancel','ShapeAccentBorderCallout2Icon','univer-w-[244px]','AlignBottomIcon','shape-editor-ui.fill.picture.tileAsTexture','paragraphs','shape-editor-ui.line.capType.flat','ShapeTextFloatToolbar','4885152pbceHn','ShapeFloatingToolbarDropdownTrigger','univer-text-sm\x20dark:!univer-text-gray-200','jsxs','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IrregularSeal1','MetaKeys','getSnapshot','ceil','RIGHT','ShapeFlowChartInternalStorageIcon','deg)\x20scaleY(','univer-w-14','ShapeRightBraceIcon','shape.type.action-button-home','MathNotEqual','ShapeFloatingToolbarMenuItem','univer-block\x20univer-w-full','univer-grid-cols-3','Radio','Round2DiagRect','doc','activateDrawingObject','univer-h-6\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','shape-editor-ui.textBox.padding','9ydHfKB','shape-floating-toolbar','ShapeChartStarIcon','rowStartY','textRuns','shape.type.snip-round-rect','ActionButtonBlank','setZoomRatio','NoLine','ShapeCloudIcon','FlowchartManualInput','ShapeRightBracketIcon','ActionButtonInformation','Decagon','shape-editor-ui.textEditor.paragraphType.orderedList','NoFill','number','stripShapeTextDocumentLayout','lines','altKey','primary.600','typography-horizontal-align-row','MoreDownIcon','measurePageWidth','univer.shape-editor-ui.floating-toolbar.collapsed','closest','renderedContentWidth','baselineHeight','trim','Star32','custom','FlowChartOfflineStorage','shape.type.math-divide','lineDashType','Gear6','shape-floating-toolbar-menu-panel','univer-flex\x20univer-items-center\x20univer-gap-2','shape-editor-ui.toolbar.expandShapeToolbar','textSelection$','domY','spaceBelow','opticalVerticalAlign','TOP','shape.type.flow-chart-connector','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','ShapeBackgroundColorDoubleIcon','CurvedConnector3','ShapeStrokePanelContent','ShapeLeftRightUpArrowIcon','frontLabel','ItalicIcon','LongDashDot','ShapeFlowChartExtractIcon','gradientFill','ShapeStar10Icon','segmentId','FlowchartPunchedCard','Plaque','shape.type.snip1-rect','JUSTIFIED','backgroundColor','shape-text-editor-position-wrapper','_hideFloatMenu','shape.type.left-right-up-arrow','verticalAlign','ShapeFlowChartSortIcon','shape.type.pie','nativeEvent','Triangle','zeroWidthParagraphBreak','onAfterChange','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','StripedRightArrow','BulletListCommand','_docSelectionRenderService','ShapeArrowTypeEnum','Injector','DeleteLeftCommand','target','ascent','getBoundingClientRect','stroke','resolveShapeTextDocumentPageHeight','rgb','Rectangle','Moon','split','Bevel','getShapeTextOpticalVerticalOffset','textSelectionInner$','ShapeStripedRightArrowIcon','abd','shape.type.accent-border-callout3','FALSE','7ivNutp','shape-editor-ui.line.sketchType.freehand','render','domX','ShapeCloudCalloutIcon','pageMarginTop','glyphGroup','ShapeImageFillEditor','FlowchartPreparation','FlowchartExtract','shape-text-editor-content','Button','ShapeBentConnector3Icon','centerAngle','ShapeEllipseIcon','ShapeFlowChartManualInputIcon','angular','backLabel','ShapeFlowChartMagneticDiskIcon','shape-editor-ui.fill.transparency','shape.type.non-isosceles-trapezoid','shape.type.double-wave','imageOpacity','left','textStyle','Disposable','shape.type.bent-connector3','shape-editor-ui.fill.gradientFill','_initSelectionChange','editorTop','input','shape-editor-ui.line.arrowType.diamondArrow','FlowchartOffPageConnector','shape.type.border-callout3','ShapeCurvedConnector3Arrow1Icon','applyShapeTextBoxOptions','univer-w-28','docStateChangeParams$','univer-mb-2\x20univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-xs\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','8\x202\x201\x202','pageMarginLeft','Star16','ShapeHexagonIcon','shape-text-placeholder','Diamond','end','useState','CENTER','isNaN','shape-editor-ui.fill.noFill','H1Icon','ShapeLineInvIcon','ShapeMathDivideIcon','univer-ml-auto\x20univer-whitespace-nowrap\x20univer-text-xs\x20univer-leading-none\x20univer-text-gray-400\x20rtl:univer-ml-0\x20rtl:univer-mr-auto\x20dark:!univer-text-gray-500','DEFAULT_STYLES','jsx','shape.type.swoosh-arrow','replace','strokeWidth','file','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','shape.type.action-button-return','flipY','shape-editor-ui.fill.color','autoFitNoWrap','shape.type.dodecagon','measureDocumentNoWrapTextWidth','shape.type.action-button-forward-next','shape.type.snip2-same-rect','shape.type.action-button-sound','shouldAllowShapeTextEditorHostSizeShrink','ShapeFunnelIcon','UNIVER_DOC','shape-editor-ui.line.dashType.dash','pluginName','LeftRightRibbon','bottom','NoSmoking','ShapeFlowChartOffpageConnectorIcon','ShapeTextWrapType','useObservable','SUBSCRIPT','shape.type.action-button-blank','isShapeTextOpticalVerticalAlignEnabled','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','shape-editor-ui.textBox.autoFitNone','mainComponent','descent','OpenArrow','shape-editor-ui.line.joinType.bevel','shape.type.star4','8\x202','univer-flex\x20univer-flex-col\x20univer-gap-1.5','ShapeDiagStripeIcon','getFreeze','ariaExpanded','pointerEvents','ShapeUturnArrowIcon','_injector','shape-editor-ui.line.noLine','ShapeLightningBoltIcon','current','univer-text-xl','useCallback','_showFloatMenu','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','fillOpacity','SetInlineFormatStrikethroughCommand','getActualSize','ShapeEditPanel','shape-editor-ui.line.width','autoFitType','dark:!univer-text-gray-200','UNSPECIFIED','resolveShapeTextDocumentAlignment','getStyleInTextRange','screenX','TextFillButton','PlaqueTabs','univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x20group-hover:univer-block\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800','currentLocale$','setDocumentData','textLike','BorderCallout3','Radial','titleKey','paragraphId','type','labelKey','@univerjs-pro/shape-editor-ui','Donut','align','shape.type.wedge-ellipse-callout','ShapeFlowChartOnlineStorageIcon','ShapeBlockArcIcon','hasParagraphAlign','ShapeRectIcon','univer-rounded-lg\x20univer-p-3','underline','univer-text-base','univer-w-auto','ShapePieWedgeIcon','shape.type.math-plus','ShapeGear9Icon','shape-editor-ui.line.beginArrowSize','isItalic','shape-editor-ui.fill.pictureFill','namedStyleType','ShapeChartPlusIcon','ShapeFlowChartSummingJunctionIcon','SetInlineFormatFontSizeCommand','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','flowchart','lineSpaceReduction','shape.type.straight-connector2','accent-primary-600\x20univer-h-1.5\x20univer-w-full\x20univer-cursor-pointer\x20univer-appearance-none\x20univer-rounded-full\x20univer-bg-gray-200\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-bg-gray-700\x20[&::-webkit-slider-thumb]:univer-size-3.5\x20[&::-webkit-slider-thumb]:univer-appearance-none\x20[&::-webkit-slider-thumb]:univer-rounded-full\x20[&::-webkit-slider-thumb]:univer-bg-primary-600\x20[&::-webkit-slider-thumb]:univer-shadow-sm','noFill','BOTTOM','useKeyboardEvent','onMouseDown','linear','univer-flex\x20univer-h-4\x20univer-w-14\x20-univer-translate-y-1\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-0\x20univer-text-[10px]\x20univer-text-gray-500\x20univer-shadow-sm\x20univer-transition-colors\x20hover:univer-border-gray-300\x20hover:univer-bg-gray-50\x20hover:univer-text-gray-700\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-300\x20dark:hover:!univer-bg-gray-800','shape.type.sun','Angular','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20rtl:univer-rounded-l-md\x20rtl:univer-rounded-r-none','shape-editor-ui.fill.picture.scaleY','setItem','HalfFrame','shape.type.flow-chart-alternate-process','ShapeFlowChartDisplayIcon','children','ShapeGradientTypeEnum','isConnectorShape','getHostTransform','ShapeActionButtonMovieIcon','measureDocumentUnbreakableTextWidth','onShapeClick','ShapeRightArrowIcon','getShapeData','_floatMenu','Heart','LocaleService','univer-h-5\x20univer-w-12','disabled','ShapeOctagonIcon','some','then','shape.type.wave','ShapeFlowChartMagneticDrumIcon','MathPlus','shape.type.action-button-back-previous','ShapeFlowChartPreparationIcon','shape-editor-ui.shapePosition','ILocalStorageService','shape-editor-ui.textBox.columnSpacing','Miter','4\x202\x201\x202','ShapeFlowChartDelayIcon','onTransformChange$','ShapeCornerTabsIcon','pages','shape.type.left-right-arrow-callout','shape.type.no-smoking','shape.type.round1-rect','getAbsolutePosition','Plus','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','shapeModel','Plugin','shape-editor-ui.line.dashType.longDashDotDot','getTextRanges','AccentCallout3','resolveShapeTextDocumentRenderLayout','ShapeFlowChartOrIcon','dsc','[data-u-comp=\x22shape-text-editor-content\x22]','offsetX','naturalCrossSize','ShapeFloatingToolbarMenuPanel','shape-editor-ui.line.joinType.round','shape.type.flow-chart-merge','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-2\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-50\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','clearTimeout','getRenderById','ShapeHeptagonIcon','ShapeHomePlateIcon','Digit7','ActionButtonReturn','66652tDrmWS','FlowchartOnlineStorage','shape-editor-ui.toolbar.strikethrough','Teardrop','ShapeCurvedRightArrowIcon','ShapeActionButtonDocumentIcon','startArrow','shape.type.trapezoid','ShapeFlowChartManualOperationIcon','ShapeBentConnector3Arrow1Icon','ShapeLeftRightCircularArrowIcon','Cube','parseFloat','ctr','select','onCommandExecuted','onScrollAfter$','shape-editor-ui.shape.group.','shape.type.star10','engine','shape-editor-ui.toolbar.textBackgroundColor','useRef','shouldAutoFitShapeTextEditorNoWrap','RichTextEditingMutation','shape.type.star24','ShapeDodecagonIcon','catch','BoldIcon','blur','clsx','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','getObjectIncludeInGroup','BentConnector3','shape-editor-ui.fill.picture.align.bl','merge','lineHeight','alignment','offset','hasOwnProperty','shape.type.left-circular-arrow','setEditing','MathEqual','shape-editor-ui.line.arrowType.stealthArrow','QuadArrowCallout','other','sizeClassName','ShapeTriangleIcon','equationShape','className','Wave','ShapeDownArrowIcon','ShapeDefaultConfig','ShapeLineJoinEnum','shape-editor-ui.line.beginArrowType','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','AlignCenterCommand','univer-rounded-lg\x20univer-p-3\x20!univer-shadow-none','shape.type.left-bracket','isUnderline','addImageSourceCache','Font\x20family','setContextValue','keys','prototype','ShapeFlowChartProcessIcon','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','HEADING_2','shape.type.chart-plus','univer-pointer-events-none\x20univer-absolute\x20univer-select-none\x20univer-whitespace-nowrap\x20univer-text-gray-400','univer-mb-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','italic','shape.type.curved-connector3-arrow1','ShapeArrowSizeEnum','subUnitId','shape-editor-ui.openPanel','borderClassName','shape-editor-ui.line.transparency','ShapeStar8Icon','univer-size-full','ShapeTextFloatMenuRenderControllerBase','ShapeIcon','LongDash','deferHostSizeUpdateDuringEditing','AlignRightCommand','shape-editor-ui.textWrap.inline','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','Separator','clearSelectedObjects','ShapeFlowChartPredefinedProcessIcon','currentColor','univer-w-[280px]','pointerup','StarAndBanner','BentArrow','HorizontalAlign','SetInlineFormatFontFamilyCommand','univer-w-20','updateHostHeight','padding','shape-editor-ui.textBox.autoFitResize','addEventListener','shape-editor-ui.toolbar.bold','dataModel','NormAutoFit','SUPERSCRIPT','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUnitId','ShapeHalfFrameIcon','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','ShapeRibbon2Icon','SquareDot','shape.type.corner','IConfigService','ShapeFlowChartPunchedCardIcon','ActionButtonHome','shape-editor-ui.line.capType.title','maxWidthClassName','shape-editor-ui.fill.solidFill','getActiveTextRange','currentFontSize','getDocRanges','generateRandomId','shape-editor-ui.line.arrowType.openArrow','tangentialPressure','columnProperties','ShapeBentUpArrowIcon','ShapeStrokePanelButton','Round','rgba(0,\x200,\x200,\x200)','shape-editor-ui.config','shape-editor-ui.textEditor.paragraphType.heading1','card','H2Icon','ShapePickerDropdown','gridType','shape-text-document','dashType','isFinite','Dash','shape-editor-ui.fill.picture.align.r','SetInlineFormatItalicCommand','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeStar16Icon','IEditorService','line','UpDownArrow','shape-editor-ui.toolbar.italic','shape.type.arc','key','commandId','getDrawingShapeKeyByDrawingSearch','ShapeFlowChartConnectorIcon','doc-paragraph-type-dropdown-popup','shape.type.up-down-arrow-callout','_registerIcons','collapsed','ShapeStrokeColorDoubleIcon','updateDocumentStyle','ShapeBorderCallout2Icon','LongDashDotDot','shape-editor-ui.textBox.textDirection','updateHostSize','ShapeFloatingToolbarContent','shape.type.lightning-bolt','starAndBanner','Snip1Rect','ResetInlineFormatTextBackgroundColorCommand','resetInitialWidth','right','CheckListCommand','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','Callout','startIndex','getTransformer','SpAutoFit','useMemo','ShapeDonutIcon','shape-editor-ui.line.sketchType.curved','univer-flex\x20univer-flex-col\x20univer-gap-2','symbol','ShapeStraightConnector2Icon','shape-editor-ui.line.joinType.title','ShapeRightArrowCalloutIcon','ShapeLeftArrowCalloutIcon','DownArrowCallout','shape-editor-ui.fill.picture.align.tl','test','shape-editor-ui.line.solidLine','univer-mb-2','imageRotateWithShape','shape.type.left-right-arrow','pageHeight','ShapeActionButtonHelpIcon'];_0x5ae5=function(){return _0x4f4baf;};return _0x5ae5();}function Pn(_0x2070e2,_0x1056e4){const _0x347c68=_0x5297e7;return Math[_0x347c68(0x226)](_0x2070e2-_0x1056e4)<=0.001;}function Fn(_0x3fd35a,_0x3cc4a0){const _0x642793=_0x5297e7;return Pn(_0x3fd35a[_0x642793(0x376)],_0x3cc4a0[_0x642793(0x376)])&&Pn(_0x3fd35a['top'],_0x3cc4a0[_0x642793(0x246)])&&Pn(_0x3fd35a[_0x642793(0x28e)],_0x3cc4a0['width'])&&Pn(_0x3fd35a[_0x642793(0x609)],_0x3cc4a0[_0x642793(0x609)])&&Pn(_0x3fd35a[_0x642793(0x13b)],_0x3cc4a0['angle'])&&Pn(_0x3fd35a[_0x642793(0x1f1)],_0x3cc4a0[_0x642793(0x1f1)])&&Pn(_0x3fd35a[_0x642793(0x5a0)],_0x3cc4a0[_0x642793(0x5a0)]);}function In(_0x5d497b,_0x4b0025){const _0x4537f8=_0x5297e7;return _0x4b0025?{..._0x5d497b,'left':_0x5d497b[_0x4537f8(0x376)]+_0x4b0025['left'],'top':_0x5d497b[_0x4537f8(0x246)]+_0x4b0025[_0x4537f8(0x246)]}:_0x5d497b;}const Ln={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function Rn(_0x4f0906,_0x41df45,_0x24417f,_0x4d50ab,_0x114595){const _0x9165c9=_0x5297e7;let {scaleX:_0x16c687,scaleY:_0x43bd0a}=_0x24417f['getAncestorScale'](),{startColumn:_0xf1d9a5,startRow:_0x49a6ba,xSplit:_0x1e8d10,ySplit:_0x1b345d}=_0x4d50ab[_0x9165c9(0x599)][_0x9165c9(0x3be)](),_0x533034=_0x24417f[_0x9165c9(0x623)](_0x114595[_0x9165c9(0xfc)]),_0x2fce68=_0x24417f['getViewport'](_0x114595[_0x9165c9(0xe6)]),_0x12cb62=_0x24417f[_0x9165c9(0x623)](_0x114595[_0x9165c9(0x246)]),_0x127606=_0x24417f[_0x9165c9(0x623)](_0x114595[_0x9165c9(0x376)]),{rowHeaderWidth:_0x29d7a2,columnHeaderHeight:_0x787630}=_0x4d50ab,_0x1b76fb=_0x4d50ab[_0x9165c9(0x304)](_0x49a6ba)+_0x787630,_0x55c307=_0x4d50ab[_0x9165c9(0x111)](_0xf1d9a5)+_0x29d7a2,_0x2813e0=_0x4d50ab[_0x9165c9(0x304)](_0x49a6ba-_0x1b345d)+_0x787630,_0xb8ea8e=_0x4d50ab['colStartX'](_0xf1d9a5-_0x1e8d10)+_0x29d7a2,_0x18b846=[],_0x4cc08d=(_0x34c0ec,_0x1e94b5,_0x27d797)=>{if(!_0x34c0ec)return null;let {viewportScrollX:_0xd386a4,viewportScrollY:_0x503c9e}=_0x34c0ec,_0x538e7c,_0x548744;return _0x538e7c=_0x1e94b5?(_0x4f0906-(_0xb8ea8e-_0x29d7a2))*_0x16c687:(_0x4f0906-_0xd386a4)*_0x16c687,_0x548744=_0x27d797?(_0x41df45-(_0x2813e0-_0x787630))*_0x43bd0a:(_0x41df45-_0x503c9e)*_0x43bd0a,{'domX':_0x538e7c,'domY':_0x548744};},_0x1fc82f=_0x4f0906<_0x55c307&&_0x1e8d10>0x0,_0x36b9de=_0x41df45<_0x1b76fb&&_0x1b345d>0x0,_0x39c1b9=_0x4f0906>=_0x55c307||_0x1e8d10===0x0,_0x16a8aa=_0x41df45>=_0x1b76fb||_0x1b345d===0x0;if(_0x1fc82f&&_0x36b9de&&_0x2fce68){let _0x25f4be=_0x4cc08d(_0x2fce68,!0x0,!0x0);_0x25f4be&&_0x18b846[_0x9165c9(0x217)](_0x25f4be);}if(_0x36b9de&&_0x39c1b9&&_0x12cb62){let _0x553e4a=_0x4cc08d(_0x12cb62,!0x1,!0x0);_0x553e4a&&_0x18b846[_0x9165c9(0x217)](_0x553e4a);}if(_0x1fc82f&&_0x16a8aa&&_0x127606){let _0x3ad5bf=_0x4cc08d(_0x127606,!0x0,!0x1);_0x3ad5bf&&_0x18b846[_0x9165c9(0x217)](_0x3ad5bf);}if(_0x39c1b9&&_0x16a8aa&&_0x533034){let _0x539b90=_0x4cc08d(_0x533034,!0x1,!0x1);_0x539b90&&_0x18b846[_0x9165c9(0x217)](_0x539b90);}if(_0x18b846['length']===0x0){var _0x5b428c,_0x5bb390;return{'domX':(_0x4f0906-((_0x5b428c=_0x533034==null?void 0x0:_0x533034[_0x9165c9(0x55e)])==null?0x0:_0x5b428c))*_0x16c687,'domY':(_0x41df45-((_0x5bb390=_0x533034==null?void 0x0:_0x533034[_0x9165c9(0x227)])==null?0x0:_0x5bb390))*_0x43bd0a};}let _0x364709=_0x18b846[0x0]['domX'],_0x3dbfb4=_0x18b846[0x0][_0x9165c9(0x328)];for(let _0x33d0e7 of _0x18b846)_0x33d0e7[_0x9165c9(0x362)]>_0x364709&&(_0x364709=_0x33d0e7[_0x9165c9(0x362)]),_0x33d0e7[_0x9165c9(0x328)]>_0x3dbfb4&&(_0x3dbfb4=_0x33d0e7[_0x9165c9(0x328)]);return{'domX':_0x364709,'domY':_0x3dbfb4};}function zn(_0x5693fd,_0x510df7,_0x4d16cf,_0x2ffd96,_0x45197d,_0x356109,_0x44358e,_0x956edf){const _0x15ac71=_0x5297e7;let {scaleX:_0x337891,scaleY:_0x241d75}=_0x356109[_0x15ac71(0x143)]();if(!_0x956edf||!_0x44358e[_0x15ac71(0xe6)]||!_0x44358e[_0x15ac71(0x246)]||!_0x44358e[_0x15ac71(0x376)]){var _0x41a2ea,_0x435ef5;let _0x36289c=_0x356109[_0x15ac71(0x623)](_0x44358e[_0x15ac71(0xfc)]),_0x5f2df9=(_0x41a2ea=_0x36289c==null?void 0x0:_0x36289c[_0x15ac71(0x55e)])==null?0x0:_0x41a2ea,_0x335c4d=(_0x435ef5=_0x36289c==null?void 0x0:_0x36289c[_0x15ac71(0x227)])==null?0x0:_0x435ef5;return{'left':(_0x5693fd-_0x5f2df9)*_0x337891,'top':(_0x510df7-_0x335c4d)*_0x241d75,'width':_0x4d16cf*_0x337891,'height':_0x2ffd96*_0x241d75,'angle':_0x45197d,'scaleX':_0x337891,'scaleY':_0x241d75};}let {domX:_0x1ff70e,domY:_0x346cf3}=Rn(_0x5693fd,_0x510df7,_0x356109,_0x956edf,_0x44358e);return{'left':_0x1ff70e,'top':_0x346cf3,'width':_0x4d16cf*_0x337891,'height':_0x2ffd96*_0x241d75,'angle':_0x45197d,'scaleX':_0x337891,'scaleY':_0x241d75};}function Bn(_0x5e5a7d){const _0x3068b8=_0x5297e7;let {editingParams:_0x10f751,scene:_0x1cc82c,skeleton:_0x3f2e01,viewportKeys:_0x4d776a,getShapeTransform:_0x17815a,getPositionOffset:_0x348e4e}=_0x5e5a7d,[_0x1f729a,_0x1bdd62]=(0x0,n[_0x3068b8(0x38d)])(Ln),_0x3d00e2=(0x0,n['useRef'])(_0x1f729a);_0x3d00e2['current']=_0x1f729a;let _0x1c94b7=(0x0,n['useCallback'])(()=>{const _0x24d94d=_0x3068b8;var _0x2a84d3;if(!_0x10f751||!_0x1cc82c){Fn(_0x3d00e2[_0x24d94d(0x3c5)],Ln)||_0x1bdd62(Ln);return;}let _0x20c03f=_0x17815a();if(!_0x20c03f){Fn(_0x3d00e2[_0x24d94d(0x3c5)],Ln)||_0x1bdd62(Ln);return;}let {left:_0x401036,top:_0x3aa8e7,width:_0x15dd40,height:_0x327db3,angle:_0x27c31b}=_0x20c03f;if(!_0x10f751[_0x24d94d(0x550)]){let {scaleX:_0x3889c0,scaleY:_0x24f152}=_0x1cc82c[_0x24d94d(0x143)](),_0x207fbf={'left':-0x270f,'top':-0x270f,'width':_0x15dd40*_0x3889c0,'height':_0x327db3*_0x24f152,'angle':0x0,'scaleX':_0x3889c0,'scaleY':_0x24f152};_0x1bdd62(_0xa57e4f=>Fn(_0xa57e4f,_0x207fbf)?_0xa57e4f:_0x207fbf);return;}let _0xdcf819=In(zn(_0x401036,_0x3aa8e7,_0x15dd40,_0x327db3,_0x27c31b,_0x1cc82c,_0x4d776a,_0x3f2e01),(_0x2a84d3=_0x348e4e==null?void 0x0:_0x348e4e())==null?null:_0x2a84d3);_0x1bdd62(_0x2d4236=>Fn(_0x2d4236,_0xdcf819)?_0x2d4236:_0xdcf819);},[_0x10f751,_0x1cc82c,_0x3f2e01,_0x4d776a,_0x17815a,_0x348e4e]);return(0x0,n[_0x3068b8(0x1de)])(()=>{_0x1c94b7();},[_0x10f751,_0x1c94b7]),{'position':_0x1f729a,'updatePosition':_0x1c94b7};}function Vn(_0x7366c8,_0x163795){const _0x56bebd=_0x5297e7;return!!(_0x7366c8!=null&&_0x7366c8[_0x56bebd(0x550)])&&!(_0x163795[_0x56bebd(0x376)]===-0x270f&&_0x163795[_0x56bebd(0x246)]===-0x270f);}function Hn(_0x1f48df){const _0x281a18=_0x5297e7;if(!_0x1f48df||typeof _0x1f48df!='object')return!0x1;let _0x4f171e=_0x1f48df;return typeof _0x4f171e[_0x281a18(0x376)]==_0x281a18(0x311)&&typeof _0x4f171e[_0x281a18(0x246)]==_0x281a18(0x311)&&typeof _0x4f171e[_0x281a18(0x28e)]==_0x281a18(0x311)&&typeof _0x4f171e[_0x281a18(0x609)]==_0x281a18(0x311);}function Un(_0x310bc0,_0x48ab87){const _0x4e8224=_0x5297e7;var _0xa66d6,_0x4a190f;let _0x5c1999=(_0xa66d6=_0x310bc0[_0x4e8224(0x50d)](_0x48ab87))==null?(_0x4a190f=_0x310bc0[_0x4e8224(0x463)])==null?void 0x0:_0x4a190f[_0x4e8224(0x16d)](_0x310bc0,_0x48ab87):_0xa66d6;return Hn(_0x5c1999)?_0x5c1999:null;}function Wn(_0x5ba9cc,_0x4881b7){const _0x4e3b60=_0x5297e7;return _0x5ba9cc['clientX']>=_0x4881b7['left']&&_0x5ba9cc[_0x4e3b60(0x1a0)]<=_0x4881b7['right']&&_0x5ba9cc['clientY']>=_0x4881b7[_0x4e3b60(0x246)]&&_0x5ba9cc[_0x4e3b60(0x289)]<=_0x4881b7[_0x4e3b60(0x3ac)];}function Gn(_0x5ce2d3,_0x2f8c13){const _0x41e93f=_0x5297e7;if(!(_0x5ce2d3 instanceof Node))return!0x1;let _0x3342dc=_0x2f8c13==null?void 0x0:_0x2f8c13[_0x41e93f(0x1be)](_0x41e93f(0x437));return!!(_0x3342dc!=null&&_0x3342dc['contains'](_0x5ce2d3));}function Kn(_0x10ea20){const _0x4ef973=_0x5297e7;let _0x53eaa8=_0x10ea20['nativeEvent'],_0xfdd2ef={'bubbles':!0x0,'cancelable':!0x0,'composed':!0x0,'view':window,'detail':_0x53eaa8['detail'],'screenX':_0x53eaa8[_0x4ef973(0x3d4)],'screenY':_0x53eaa8[_0x4ef973(0x282)],'clientX':_0x53eaa8[_0x4ef973(0x1a0)],'clientY':_0x53eaa8[_0x4ef973(0x289)],'ctrlKey':_0x53eaa8[_0x4ef973(0xee)],'shiftKey':_0x53eaa8[_0x4ef973(0x138)],'altKey':_0x53eaa8[_0x4ef973(0x314)],'metaKey':_0x53eaa8['metaKey'],'button':_0x53eaa8[_0x4ef973(0x1c0)],'buttons':_0x53eaa8[_0x4ef973(0x1e3)],'relatedTarget':_0x53eaa8[_0x4ef973(0x532)]};return typeof PointerEvent<'u'&&_0x53eaa8 instanceof PointerEvent?new PointerEvent(_0x53eaa8[_0x4ef973(0x3df)],{..._0xfdd2ef,'pointerId':_0x53eaa8[_0x4ef973(0x29d)],'width':_0x53eaa8[_0x4ef973(0x28e)],'height':_0x53eaa8[_0x4ef973(0x609)],'pressure':_0x53eaa8[_0x4ef973(0x148)],'tangentialPressure':_0x53eaa8[_0x4ef973(0x4bf)],'tiltX':_0x53eaa8[_0x4ef973(0x29b)],'tiltY':_0x53eaa8[_0x4ef973(0x11e)],'twist':_0x53eaa8[_0x4ef973(0x1f9)],'pointerType':_0x53eaa8[_0x4ef973(0x164)],'isPrimary':_0x53eaa8[_0x4ef973(0x541)]}):new MouseEvent(_0x53eaa8[_0x4ef973(0x3df)],_0xfdd2ef);}function qn(_0x41a95d){const _0xefd2cd=_0x5297e7;let _0x1684c7=_0x41a95d[_0xefd2cd(0x2a1)]['pointerEvents'],_0x51165f=!0x1,_0x5b31ae=null,_0x1c5984=()=>{const _0x1be7e6=_0xefd2cd;_0x51165f||(_0x51165f=!0x0,_0x41a95d[_0x1be7e6(0x2a1)]['pointerEvents']=_0x1684c7,document['removeEventListener'](_0x1be7e6(0x49f),_0x1c5984,!0x0),document[_0x1be7e6(0x674)]('pointercancel',_0x1c5984,!0x0),document[_0x1be7e6(0x674)](_0x1be7e6(0x51c),_0x1c5984,!0x0),document[_0x1be7e6(0x674)](_0x1be7e6(0x21c),_0x1c5984,!0x0),_0x5b31ae!==null&&window[_0x1be7e6(0x43e)](_0x5b31ae));};return _0x41a95d[_0xefd2cd(0x2a1)][_0xefd2cd(0x3c0)]=_0xefd2cd(0x58b),document[_0xefd2cd(0x4a8)](_0xefd2cd(0x49f),_0x1c5984,!0x0),document[_0xefd2cd(0x4a8)](_0xefd2cd(0x507),_0x1c5984,!0x0),document[_0xefd2cd(0x4a8)](_0xefd2cd(0x51c),_0x1c5984,!0x0),document[_0xefd2cd(0x4a8)](_0xefd2cd(0x21c),_0x1c5984,!0x0),_0x5b31ae=window[_0xefd2cd(0x209)](_0x1c5984,0x3e8),_0x1c5984;}function Jn(_0x20e084,_0x5bd557){const _0x472891=_0x5297e7;let _0x5a0c65=qn(_0x5bd557),_0x238f92=document[_0x472891(0x1d0)](_0x20e084[_0x472891(0x1a0)],_0x20e084[_0x472891(0x289)]);return!_0x238f92||_0x238f92===_0x5bd557||_0x5bd557['contains'](_0x238f92)?(_0x5a0c65(),!0x1):(_0x20e084[_0x472891(0x169)](),_0x20e084[_0x472891(0x540)](),_0x238f92['dispatchEvent'](Kn(_0x20e084)),!0x0);}function Yn(_0x204648){const _0x740a2f=_0x5297e7;var _0x2c8a6c;let {editingParams:_0x26d06c,positionOptions:_0x3439ad,renderUnit:_0x2cd1a9,scene:_0x5ae3a7}=_0x204648;if(!_0x26d06c)return null;let _0x2ead55=_0x2cd1a9?(_0x2c8a6c=_0x3439ad[_0x740a2f(0x40d)])==null?void 0x0:_0x2c8a6c['call'](_0x3439ad,_0x2cd1a9,_0x26d06c):null;if(Hn(_0x2ead55)){var _0x206fdc;return{'left':_0x2ead55[_0x740a2f(0x376)],'top':_0x2ead55[_0x740a2f(0x246)],'width':_0x2ead55['width'],'height':_0x2ead55[_0x740a2f(0x609)],'angle':(_0x206fdc=_0x2ead55[_0x740a2f(0x13b)])==null?0x0:_0x206fdc};}return _0x5ae3a7?Un(_0x5ae3a7,_0x26d06c[_0x740a2f(0x147)]):null;}const Xn=(0x0,n[_0x5297e7(0x5d5)])(_0x4272c4=>{const _0x3b00f8=_0x5297e7;let {children:_0x35eec8,editingParams:_0x3c6b8c,positionOptions:_0x540a25,onPositionUpdate:_0x26444c}=_0x4272c4,_0xf2ddaa=(0x0,n[_0x3b00f8(0x459)])(null),_0x348a4c=(0x0,a[_0x3b00f8(0x15c)])(c[_0x3b00f8(0x22b)]),_0x31fad4=(0x0,n[_0x3b00f8(0x4f3)])(()=>_0x3c6b8c?_0x348a4c[_0x3b00f8(0x43f)](_0x3c6b8c[_0x3b00f8(0x1f3)]):null,[_0x3c6b8c,_0x348a4c]),_0x1a1c14=(0x0,n['useMemo'])(()=>{const _0x5afd38=_0x3b00f8;var _0x198e10;return(_0x198e10=_0x31fad4==null?void 0x0:_0x31fad4[_0x5afd38(0x65c)])==null?null:_0x198e10;},[_0x31fad4]),_0x2b6253=(0x0,n['useMemo'])(()=>!_0x3c6b8c||!_0x31fad4||!_0x540a25[_0x3b00f8(0x505)]?null:_0x540a25[_0x3b00f8(0x505)](_0x31fad4,_0x3c6b8c),[_0x3c6b8c,_0x540a25,_0x31fad4]),_0x5e86c6=(0x0,n['useCallback'])(()=>{const _0x57d197=_0x3b00f8;var _0x2876ec;let _0x2c5c98=Yn({'editingParams':_0x3c6b8c,'positionOptions':_0x540a25,'renderUnit':_0x31fad4,'scene':_0x1a1c14});return _0x2c5c98?{'left':_0x2c5c98[_0x57d197(0x376)],'top':_0x2c5c98[_0x57d197(0x246)],'width':_0x2c5c98[_0x57d197(0x28e)],'height':_0x2c5c98[_0x57d197(0x609)],'angle':(_0x2876ec=_0x2c5c98[_0x57d197(0x13b)])==null?0x0:_0x2876ec}:null;},[_0x3c6b8c,_0x540a25,_0x31fad4,_0x1a1c14]),_0x1c26ea=(0x0,n[_0x3b00f8(0x3c7)])(()=>{const _0x5c10bc=_0x3b00f8;var _0x16b185,_0x1c4f4;return!_0x3c6b8c||!_0x31fad4||(_0x16b185=(_0x1c4f4=_0x540a25[_0x5c10bc(0x5c4)])==null?void 0x0:_0x1c4f4['call'](_0x540a25,_0x31fad4,_0x3c6b8c))==null?null:_0x16b185;},[_0x3c6b8c,_0x540a25,_0x31fad4]),{position:_0x5a658f,updatePosition:_0x2b6a28}=Bn({'editingParams':_0x3c6b8c,'scene':_0x1a1c14,'skeleton':_0x2b6253,'viewportKeys':_0x540a25[_0x3b00f8(0x5d3)],'getShapeTransform':_0x5e86c6,'getPositionOffset':_0x1c26ea}),_0xd772d0=(0x0,n['useCallback'])(()=>{const _0x593a5c=_0x3b00f8;let _0x32d327=_0xf2ddaa[_0x593a5c(0x3c5)];_0x32d327&&(_0x32d327[_0x593a5c(0x2a1)][_0x593a5c(0x376)]=_0x5a658f['left']+'px',_0x32d327[_0x593a5c(0x2a1)][_0x593a5c(0x246)]=_0x5a658f[_0x593a5c(0x246)]+'px',_0x32d327['style']['width']=_0x5a658f[_0x593a5c(0x28e)]+'px',_0x32d327[_0x593a5c(0x2a1)][_0x593a5c(0x609)]=_0x5a658f[_0x593a5c(0x609)]+'px');},[_0x5a658f]);(0x0,n[_0x3b00f8(0x1de)])(()=>{const _0x2035a9=_0x3b00f8;_0xd772d0(),Vn(_0x3c6b8c,_0x5a658f)&&(_0x26444c==null||_0x26444c({'width':_0x5a658f[_0x2035a9(0x28e)],'height':_0x5a658f['height'],'scaleX':_0x5a658f['scaleX'],'scaleY':_0x5a658f[_0x2035a9(0x5a0)]}));},[_0x3c6b8c,_0x5a658f,_0xd772d0,_0x26444c]),(0x0,n['useEffect'])(()=>{const _0x14bc2e=_0x3b00f8;if(!_0x1a1c14)return;let _0x581fe7=_0x1a1c14[_0x14bc2e(0x623)](_0x540a25['viewportKeys'][_0x14bc2e(0xfc)]);if(!_0x581fe7)return;let _0x1c171a=_0x581fe7[_0x14bc2e(0x454)]['subscribeEvent'](()=>{_0x2b6a28();});return()=>{const _0x231ebb=_0x14bc2e;_0x1c171a[_0x231ebb(0x2cf)]();};},[_0x540a25['viewportKeys'][_0x3b00f8(0xfc)],_0x1a1c14,_0x2b6a28]),(0x0,n[_0x3b00f8(0x1de)])(()=>{const _0x1a52d2=_0x3b00f8;var _0xf9853f,_0x37922a;let _0x4ba91f=_0x31fad4==null||(_0xf9853f=_0x31fad4[_0x1a52d2(0x457)])==null||(_0xf9853f=_0xf9853f['onTransformChange$'])==null?void 0x0:_0xf9853f[_0x1a52d2(0x14a)](()=>{_0x2b6a28();}),_0x577ded=_0x1a1c14==null||(_0x37922a=_0x1a1c14[_0x1a52d2(0x426)])==null?void 0x0:_0x37922a['subscribeEvent'](()=>{_0x2b6a28();});return()=>{const _0x470e52=_0x1a52d2;_0x4ba91f==null||_0x4ba91f[_0x470e52(0x2cf)](),_0x577ded==null||_0x577ded[_0x470e52(0x2cf)]();};},[_0x31fad4,_0x1a1c14,_0x2b6a28]),(0x0,n[_0x3b00f8(0x1de)])(()=>{const _0xed4485=_0x3b00f8;if(!_0x3c6b8c||!_0x1a1c14)return;let _0x3dd7d1=Un(_0x1a1c14,_0x3c6b8c[_0xed4485(0x147)]);if(_0x3dd7d1!=null&&_0x3dd7d1[_0xed4485(0x426)]){let _0x122801=_0x3dd7d1[_0xed4485(0x426)][_0xed4485(0x14a)](()=>{_0x2b6a28();});return()=>{const _0x25fc79=_0xed4485;_0x122801[_0x25fc79(0x2cf)]();};}},[_0x3c6b8c,_0x1a1c14,_0x2b6a28]);let _0x35e5c1=(0x0,n[_0x3b00f8(0x4f3)])(()=>({'left':_0x5a658f[_0x3b00f8(0x376)],'top':_0x5a658f[_0x3b00f8(0x246)],'width':_0x5a658f[_0x3b00f8(0x28e)],'height':_0x5a658f[_0x3b00f8(0x609)],'pointerEvents':_0x3c6b8c!=null&&_0x3c6b8c['visible']?'auto':_0x3b00f8(0x58b)}),[_0x5a658f,_0x3c6b8c==null?void 0x0:_0x3c6b8c[_0x3b00f8(0x550)]]),_0x29f945=(0x0,n[_0x3b00f8(0x3c7)])(_0x426029=>{const _0x55b69e=_0x3b00f8;let _0x5db6a8=_0xf2ddaa['current'];if(!_0x5db6a8||!(_0x3c6b8c!=null&&_0x3c6b8c[_0x55b69e(0x550)]))return;let _0x5e78de=_0x426029['target'];!(_0x5e78de instanceof Node)||!_0x5db6a8['contains'](_0x5e78de)||Gn(_0x5e78de,_0x5db6a8)||Wn(_0x426029[_0x55b69e(0x344)],_0x5db6a8[_0x55b69e(0x351)]())||Jn(_0x426029,_0x5db6a8);},[_0x3c6b8c==null?void 0x0:_0x3c6b8c[_0x3b00f8(0x550)]]);return(0x0,r['jsx'])(_0x3b00f8(0x5ac),{'ref':_0xf2ddaa,'data-u-comp':_0x3b00f8(0x33e),'className':_0x3b00f8(0x539),'style':_0x35e5c1,'onPointerDownCapture':_0x29f945,'onMouseDownCapture':_0x29f945,'onClickCapture':_0x29f945,'children':_0x35eec8});});function Zn(_0x349c00,_0x524303){const _0x4eb77f=_0x5297e7;return Math[_0x4eb77f(0x226)](_0x349c00[_0x4eb77f(0x28e)]-_0x524303[_0x4eb77f(0x28e)])<=0.001&&Math[_0x4eb77f(0x226)](_0x349c00[_0x4eb77f(0x609)]-_0x524303[_0x4eb77f(0x609)])<=0.001&&Math[_0x4eb77f(0x226)](_0x349c00['scaleX']-_0x524303[_0x4eb77f(0x1f1)])<=0.001&&Math[_0x4eb77f(0x226)](_0x349c00[_0x4eb77f(0x5a0)]-_0x524303[_0x4eb77f(0x5a0)])<=0.001;}const Qn=(0x0,n[_0x5297e7(0x5d5)])(_0x5ecbbc=>{const _0x1066ed=_0x5297e7;let {adapter:_0x2ee8c5,editorUnitId:_0xe78131,editingService:_0x5958d8,positionOptions:_0x1359e5,verticalAlignCommandId:_0x47732a}=_0x5ecbbc,_0x137feb=(0x0,a[_0x1066ed(0x3b0)])(_0x5958d8[_0x1066ed(0x54c)]),_0xf04221=(0x0,a[_0x1066ed(0x3b0)])(_0x5958d8[_0x1066ed(0x15d)]),_0x3968c7=rn({'editorUnitId':_0xe78131,'editingParams':_0x137feb}),_0x20e174=(0x0,n['useRef'])(!0x1),_0x5a33ee=(0x0,n['useRef'])(0x0),_0xd7a783=(_0x137feb==null?void 0x0:_0x137feb[_0x1066ed(0x550)])===!0x0;_0xd7a783&&!_0x20e174[_0x1066ed(0x3c5)]&&(_0x5a33ee['current']+=0x1),_0x20e174[_0x1066ed(0x3c5)]=_0xd7a783;let _0x405df6=_0x3968c7?_0x3968c7+'|'+_0x5a33ee[_0x1066ed(0x3c5)]:null,[_0xc37533,_0x74492c]=(0x0,n['useState'])(null),_0x28fb92=(0x0,n['useCallback'])(_0x4943e6=>{const _0x3b8028=_0x1066ed;if(!_0x405df6)return;let _0x3ddde7={'width':_0x4943e6[_0x3b8028(0x28e)],'height':_0x4943e6[_0x3b8028(0x609)],'scaleX':_0x4943e6[_0x3b8028(0x1f1)],'scaleY':_0x4943e6[_0x3b8028(0x5a0)]};_0x74492c(_0x3bf053=>(_0x3bf053==null?void 0x0:_0x3bf053[_0x3b8028(0x5e4)])===_0x405df6&&Zn(_0x3bf053[_0x3b8028(0x2cb)],_0x3ddde7)?_0x3bf053:{'sessionKey':_0x405df6,'size':_0x3ddde7});},[_0x405df6]);if(!_0x137feb||!_0x137feb[_0x1066ed(0x550)]&&!_0xf04221)return null;let _0x4e2d9f=(_0xc37533==null?void 0x0:_0xc37533[_0x1066ed(0x5e4)])===_0x405df6?_0xc37533[_0x1066ed(0x2cb)]:null;return(0x0,r[_0x1066ed(0x396)])(Xn,{'editingParams':_0x137feb,'positionOptions':_0x1359e5,'onPositionUpdate':_0x28fb92,'children':_0x4e2d9f?(0x0,r['jsx'])(Nn,{'adapter':_0x2ee8c5,'containerWidth':_0x4e2d9f['width'],'containerHeight':_0x4e2d9f[_0x1066ed(0x609)],'editingParams':_0x137feb,'editingService':_0x5958d8,'editorUnitId':_0xe78131,'scaleX':_0x4e2d9f[_0x1066ed(0x1f1)],'scaleY':_0x4e2d9f[_0x1066ed(0x5a0)],'verticalAlignCommandId':_0x47732a}):null},_0x405df6);}),$n=a['FONT_SIZE_LIST']['map'](_0x5d7bc0=>({'label':_0x5d7bc0[_0x5297e7(0x1ea)],'value':String(_0x5d7bc0[_0x5297e7(0x600)])})),er=[u[_0x5297e7(0x171)]['id'],u[_0x5297e7(0x22a)]['id'],u[_0x5297e7(0x4ea)]['id'],u[_0x5297e7(0x4a3)]['id'],u['SetInlineFormatFontSizeCommand']['id'],u[_0x5297e7(0x229)]['id'],u[_0x5297e7(0x4d0)]['id'],u['SetInlineFormatUnderlineCommand']['id'],u[_0x5297e7(0x3cb)]['id'],u[_0x5297e7(0xe3)]['id'],u[_0x5297e7(0x595)]['id'],l[_0x5297e7(0x45b)]['id'],l['SetTextSelectionsOperation']['id']],tr={'root':_0x5297e7(0xf7),'group':_0x5297e7(0x27c),'button':'\x0a\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-6\x20univer-min-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1\x20univer-text-sm\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-100\x0a\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-700\x0a\x20\x20\x20\x20','select':_0x5297e7(0x5bf)};function nr(_0x902192){const _0x5d97e2=_0x5297e7;return _0x902192 instanceof HTMLElement?!!_0x902192[_0x5d97e2(0x31a)]('input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select'):!0x1;}function rr(_0x43d362){const _0x11e1ec=_0x5297e7;return!!(_0x43d362&&typeof _0x43d362==_0x11e1ec(0x666)&&_0x43d362['s']===i[_0x11e1ec(0x667)][_0x11e1ec(0x17c)]);}function ir(_0x1e1482){const _0x50bea2=_0x5297e7;return(0x0,r['jsx'])(_0x50bea2(0x5ac),{'className':tr['group'],'children':_0x1e1482[_0x50bea2(0x40a)]});}function ar(_0x4738c2){const _0x3ddad3=_0x5297e7;return(0x0,r[_0x3ddad3(0x396)])(e[_0x3ddad3(0x1c6)],{'title':(0x0,a[_0x3ddad3(0x15c)])(i[_0x3ddad3(0x415)])['t'](_0x4738c2[_0x3ddad3(0x3dd)]),'placement':'bottom','children':(0x0,r['jsx'])(_0x3ddad3(0x1c0),{'type':_0x3ddad3(0x1c0),'className':(0x0,e[_0x3ddad3(0x461)])(tr[_0x3ddad3(0x1c0)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4738c2['active']}),'onClick':_0x4738c2[_0x3ddad3(0x114)],'children':_0x4738c2[_0x3ddad3(0x40a)]})});}function or(){const _0x470517=_0x5297e7;var _0x3607d4,_0x314d01,_0x4e7edd,_0x3661a3,_0x10a425,_0x2008d5;let _0x28e937=(0x0,a[_0x470517(0x15c)])(i['ICommandService']),_0x402cca=(0x0,a[_0x470517(0x15c)])(l[_0x470517(0xf8)]),_0x311a60=(0x0,a[_0x470517(0x15c)])(i[_0x470517(0x1cf)]),_0x1ec87e=(0x0,a[_0x470517(0x15c)])(i[_0x470517(0x588)]),[_0x1ed322,_0x56744a]=(0x0,n[_0x470517(0x38d)])({'cl':{'rgb':xe}});(0x0,n[_0x470517(0x1de)])(()=>{const _0x10985d=_0x470517;let _0x3dcac5=()=>{const _0x1c6b51=_0x51e3;var _0x4982f7,_0xb3052b,_0x3f27b7,_0x4fd83d,_0x237be2,_0x29ae75,_0xef01b8;let _0x45fa87=(_0x4982f7=_0x402cca[_0x1c6b51(0x432)]())==null?[]:_0x4982f7,_0x366473=_0x45fa87['length']>0x0?_0x45fa87[_0x1c6b51(0x2ce)](_0x1500bb=>_0x1500bb[_0x1c6b51(0x225)]!=null&&_0x1500bb['endOffset']!=null):_0x402cca[_0x1c6b51(0x4bc)](),_0x2cef10=(_0xb3052b=_0x366473[_0x1c6b51(0x176)](_0x439b21=>_0x439b21[_0x1c6b51(0x230)]))==null?_0x366473[0x0]:_0xb3052b;if(!_0x2cef10){_0x56744a({'cl':{'rgb':xe}});return;}let _0x171a9f=_0x311a60[_0x1c6b51(0x604)](i['UniverInstanceType']['UNIVER_DOC']);if(!_0x171a9f){_0x56744a({'cl':{'rgb':xe}});return;}let _0x4ad3c4=(_0x3f27b7=_0x171a9f[_0x1c6b51(0x512)](_0x2cef10[_0x1c6b51(0x338)]))==null?void 0x0:_0x3f27b7[_0x1c6b51(0x628)]();if(!_0x4ad3c4){_0x56744a({'cl':{'rgb':xe}});return;}let _0x23e8db=(_0x4fd83d=_0x171a9f['getSnapshot']()['documentStyle'])==null?void 0x0:_0x4fd83d['textStyle'];_0x56744a((0x0,u[_0x1c6b51(0x3d3)])(_0x4ad3c4,_0x2cef10,{..._0x23e8db,'ff':(_0x237be2=_0x23e8db==null?void 0x0:_0x23e8db['ff'])==null?i['DEFAULT_STYLES']['ff']:_0x237be2,'fs':(_0x29ae75=_0x23e8db==null?void 0x0:_0x23e8db['fs'])==null?i['DEFAULT_STYLES']['fs']:_0x29ae75,'cl':(_0xef01b8=_0x23e8db==null?void 0x0:_0x23e8db['cl'])==null?{'rgb':xe}:_0xef01b8}));};_0x3dcac5();let _0xde69c3=_0x28e937[_0x10985d(0x453)](_0x5a2268=>{const _0x562ebe=_0x10985d;er[_0x562ebe(0x281)](_0x5a2268['id'])&&_0x3dcac5();}),_0x12119f=_0x402cca['textSelection$'][_0x10985d(0x5e9)](_0x3dcac5);return()=>{const _0xc492b7=_0x10985d;_0xde69c3[_0xc492b7(0x52e)](),_0x12119f['unsubscribe']();};},[_0x28e937,_0x402cca,_0x311a60]);let _0x52c785=(_0x52c913,_0x41c229)=>{const _0x33fc73=_0x470517;_0x28e937[_0x33fc73(0x285)](_0x52c913,_0x41c229===void 0x0?void 0x0:{'value':_0x41c229});},_0x4d2df2=(_0x3607d4=_0x1ed322['ff'])==null?i[_0x470517(0x395)]['ff']:_0x3607d4,_0x24e59e=(_0x314d01=_0x1ed322['fs'])==null?i['DEFAULT_STYLES']['fs']:_0x314d01,_0x318ef4=_0x1ed322['bl']===i['BooleanNumber'][_0x470517(0x17c)],_0x5c4cb6=_0x1ed322['it']===i[_0x470517(0x667)][_0x470517(0x17c)],_0x4c9e16=rr(_0x1ed322['ul']),_0x1bdbcb=rr(_0x1ed322['st']),_0x1ace18=_0x1ed322['va']===i[_0x470517(0x13c)][_0x470517(0x3b1)],_0x5395b0=_0x1ed322['va']===i['BaselineOffset'][_0x470517(0x4ac)],_0x133cc7=(_0x4e7edd=(_0x3661a3=_0x1ed322['bg'])==null?void 0x0:_0x3661a3['rgb'])==null?_0x1ec87e['getColorFromTheme'](_0x470517(0x315)):_0x4e7edd;return(0x0,r['jsxs'])(_0x470517(0x5ac),{'onMouseDown':_0x379027=>{const _0x404a6f=_0x470517;_0x379027[_0x404a6f(0x540)](),nr(_0x379027[_0x404a6f(0x34f)])||_0x379027[_0x404a6f(0x169)]();},'className':(0x0,e[_0x470517(0x461)])(tr['root'],e[_0x470517(0x48f)]),'children':[(0x0,r[_0x470517(0x396)])(ir,{'children':(0x0,r[_0x470517(0x396)])(mt,{})}),(0x0,r[_0x470517(0x396)])(e[_0x470517(0x49a)],{'orientation':_0x470517(0x175)}),(0x0,r['jsxs'])(ir,{'children':[(0x0,r[_0x470517(0x396)])(a[_0x470517(0x52a)],{'ariaLabel':_0x470517(0x480),'className':'univer-w-28','inputClassName':_0x470517(0x3ec),'title':_0x4d2df2,'value':_0x4d2df2,'onChange':_0x57bbef=>_0x52c785(u[_0x470517(0x4a3)]['id'],_0x57bbef),'onMouseDown':_0x187309=>{const _0x345fcf=_0x470517;_0x187309[_0x345fcf(0x540)]();},'onPointerDown':_0x4bde4b=>{const _0x5680be=_0x470517;_0x4bde4b[_0x5680be(0x540)]();}}),(0x0,r[_0x470517(0x396)])(e['Select'],{'className':(0x0,e[_0x470517(0x461)])(tr[_0x470517(0x452)],_0x470517(0x2f4)),'value':String(_0x24e59e),'options':$n,'onChange':_0x28ddfc=>{const _0x440b7f=_0x470517;let _0x524666=Number(_0x28ddfc);Number[_0x440b7f(0x38f)](_0x524666)||_0x52c785(u[_0x440b7f(0x3f6)]['id'],_0x524666);}})]}),(0x0,r[_0x470517(0x396)])(e[_0x470517(0x49a)],{'orientation':_0x470517(0x175)}),(0x0,r['jsxs'])(ir,{'children':[(0x0,r[_0x470517(0x396)])(ar,{'titleKey':_0x470517(0x4a9),'active':_0x318ef4,'onClick':()=>_0x52c785(u['SetInlineFormatBoldCommand']['id']),'children':(0x0,r[_0x470517(0x396)])(t[_0x470517(0x45f)],{})}),(0x0,r[_0x470517(0x396)])(ar,{'titleKey':'shape-editor-ui.toolbar.italic','active':_0x5c4cb6,'onClick':()=>_0x52c785(u[_0x470517(0x4d0)]['id']),'children':(0x0,r[_0x470517(0x396)])(t['ItalicIcon'],{})}),(0x0,r[_0x470517(0x396)])(ar,{'titleKey':_0x470517(0x236),'active':_0x4c9e16,'onClick':()=>_0x52c785(u[_0x470517(0x5ae)]['id']),'children':(0x0,r[_0x470517(0x396)])(t[_0x470517(0x5df)],{})}),(0x0,r[_0x470517(0x396)])(ar,{'titleKey':_0x470517(0x446),'active':_0x1bdbcb,'onClick':()=>_0x52c785(u['SetInlineFormatStrikethroughCommand']['id']),'children':(0x0,r['jsx'])(t[_0x470517(0x508)],{})})]}),(0x0,r['jsx'])(e[_0x470517(0x49a)],{'orientation':_0x470517(0x175)}),(0x0,r['jsxs'])(ir,{'children':[(0x0,r[_0x470517(0x396)])(ar,{'titleKey':'shape-editor-ui.toolbar.subscript','active':_0x1ace18,'onClick':()=>_0x52c785(u[_0x470517(0xe3)]['id']),'children':(0x0,r[_0x470517(0x2eb)])('span',{'className':_0x470517(0x19b),'children':['X',(0x0,r[_0x470517(0x396)])(_0x470517(0x1d6),{'children':'2'})]})}),(0x0,r[_0x470517(0x396)])(ar,{'titleKey':_0x470517(0x136),'active':_0x5395b0,'onClick':()=>_0x52c785(u[_0x470517(0x595)]['id']),'children':(0x0,r[_0x470517(0x2eb)])(_0x470517(0xeb),{'className':_0x470517(0x19b),'children':['X',(0x0,r[_0x470517(0x396)])('sup',{'children':'2'})]})})]}),(0x0,r[_0x470517(0x396)])(e[_0x470517(0x49a)],{'orientation':_0x470517(0x175)}),(0x0,r[_0x470517(0x2eb)])(ir,{'children':[(0x0,r[_0x470517(0x396)])(Qe,{'titleKey':_0x470517(0x277),'textStyle':_0x1ed322,'fallbackColor':(_0x10a425=(_0x2008d5=_0x1ed322['cl'])==null?void 0x0:_0x2008d5[_0x470517(0x354)])==null?xe:_0x10a425,'onChange':_0x283134=>{const _0xf2ecf3=_0x470517;_0x28e937[_0xf2ecf3(0x285)](u[_0xf2ecf3(0x171)]['id'],{'value':_0x283134}),_0x56744a(_0x100e6f=>({..._0x100e6f,..._0x283134}));}}),(0x0,r['jsx'])($e,{'titleKey':'shape-editor-ui.toolbar.textBackgroundColor','color':_0x133cc7,'onApply':()=>_0x52c785(u[_0x470517(0x22a)]['id'],_0x133cc7),'onReset':()=>{const _0xf92298=_0x470517;_0x28e937[_0xf92298(0x285)](u[_0xf92298(0x4ea)]['id']),_0x56744a(_0x24be3f=>({..._0x24be3f,'bg':{'rgb':null}}));},'onChange':_0x3fc46b=>{const _0x2cdfa2=_0x470517;_0x52c785(u[_0x2cdfa2(0x22a)]['id'],_0x3fc46b),_0x56744a(_0x2ff35a=>({..._0x2ff35a,'bg':{'rgb':_0x3fc46b}}));}})]})]});}exports[_0x5297e7(0x2a6)]=mt,exports['FillStyleTabsEditor']=p,exports[_0x5297e7(0x656)]=k,exports[_0x5297e7(0x32d)]=be,exports[_0x5297e7(0x42e)]=_0x5297e7(0x2d3),exports[_0x5297e7(0x23f)]=xe,exports[_0x5297e7(0x634)]=0x10,exports[_0x5297e7(0x3f7)]=pt,exports[_0x5297e7(0x485)]=0x10,exports[_0x5297e7(0x3cd)]=re,exports[_0x5297e7(0x197)]=Ke,exports[_0x5297e7(0xef)]=F,exports[_0x5297e7(0x110)]=ot,exports[_0x5297e7(0x4e6)]=Oe,exports[_0x5297e7(0x2e9)]=Ae,exports[_0x5297e7(0x131)]=je,exports[_0x5297e7(0x16b)]=Ee,exports[_0x5297e7(0x2f8)]=nt,exports[_0x5297e7(0x43a)]=tt,exports['ShapeGroupEnum']=st,exports[_0x5297e7(0x366)]=N,exports[_0x5297e7(0x557)]=R,exports[_0x5297e7(0x4c9)]=ft,exports[_0x5297e7(0x25b)]=dt,exports[_0x5297e7(0x4c2)]=Be,exports[_0x5297e7(0x330)]=ze,exports[_0x5297e7(0x665)]=ne,exports['ShapeTextEditorContainer']=Qn,exports[_0x5297e7(0x493)]=jt,exports[_0x5297e7(0x2e7)]=or,exports[_0x5297e7(0x3d5)]=Qe,exports['TypographyPanelButton']=et,Object['defineProperty'](exports,'UniverShapeEditorUIPlugin',{'enumerable':!0x0,'get':function(){return T;}}),exports[_0x5297e7(0x2fe)]=D,exports[_0x5297e7(0x5b6)]=ve,exports[_0x5297e7(0x65f)]=O,exports[_0x5297e7(0x2b3)]=xt,exports['createShapeTextPlaceholderDocumentData']=Kt,exports['getInitialShapeFillType']=P,exports[_0x5297e7(0x359)]=zt,exports[_0x5297e7(0x556)]=j,exports['getTextStyle']=M,exports[_0x5297e7(0x638)]=Gt,exports[_0x5297e7(0x3b3)]=Nt,exports['normalizeShapeTextModel']=A,exports[_0x5297e7(0x52f)]=oe,exports[_0x5297e7(0x66f)]=K,exports[_0x5297e7(0x5ab)]=Yt,exports[_0x5297e7(0x3d2)]=W,exports[_0x5297e7(0x353)]=q,exports[_0x5297e7(0x434)]=Lt,exports[_0x5297e7(0x14b)]=St,exports['resolveShapeTextEditorFlowAxis']=Ot,exports[_0x5297e7(0x55c)]=on,exports['resolveShapeTextEditorWrapStrategy']=Tt,exports[_0x5297e7(0x5e5)]=Wt,exports[_0x5297e7(0x186)]=It,exports[_0x5297e7(0x5a3)]=ct,exports[_0x5297e7(0x3a6)]=kt,exports[_0x5297e7(0x45a)]=Dt,exports[_0x5297e7(0x16c)]=Et,exports[_0x5297e7(0x312)]=pe,exports['stripShapeTextPlainMarker']=Y;
|