@univerjs-pro/shape-editor-ui 1.0.0-alpha.0 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +16 -0
- 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 +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1ed3a4=_0x388e;(function(_0x3adf4a,_0x3bfbc3){const _0x446354=_0x388e,_0x61d6c2=_0x3adf4a();while(!![]){try{const _0x50b167=parseInt(_0x446354(0x29a))/0x1*(-parseInt(_0x446354(0x1ed))/0x2)+-parseInt(_0x446354(0x3fc))/0x3+parseInt(_0x446354(0x25c))/0x4*(parseInt(_0x446354(0x33a))/0x5)+parseInt(_0x446354(0x417))/0x6+-parseInt(_0x446354(0x18f))/0x7*(parseInt(_0x446354(0x2e6))/0x8)+-parseInt(_0x446354(0x283))/0x9+-parseInt(_0x446354(0x3a2))/0xa*(-parseInt(_0x446354(0x373))/0xb);if(_0x50b167===_0x3bfbc3)break;else _0x61d6c2['push'](_0x61d6c2['shift']());}catch(_0x4756ac){_0x61d6c2['push'](_0x61d6c2['shift']());}}}(_0x312e,0x3c238),Object[_0x1ed3a4(0x37e)](exports,Symbol[_0x1ed3a4(0x1e8)],{'value':_0x1ed3a4(0x1cb)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs-pro/engine-shape'),a=require('@univerjs/core'),o=require('@univerjs/ui'),s=require('@univerjs/drawing'),c=require('@univerjs/docs'),l=require('@univerjs/docs-ui'),u=require('@univerjs/engine-render');const d={'noFill':'No\x20fill','solidFill':_0x1ed3a4(0x2f9),'gradientFill':_0x1ed3a4(0x30c),'pictureFill':_0x1ed3a4(0x1a7),'color':_0x1ed3a4(0x1a8),'transparency':_0x1ed3a4(0x23b)},f={'none':'none','solid':_0x1ed3a4(0x20d),'gradient':_0x1ed3a4(0x270),'picture':_0x1ed3a4(0x1ab)},p={'type':_0x1ed3a4(0x21a),'angle':0x0,'stops':[{'color':_0x1ed3a4(0x3d0),'offset':0x0},{'color':_0x1ed3a4(0x219),'offset':0x64}]};function m(_0x4bc6da){const _0x56d5eb=_0x1ed3a4;var _0x2eda9a,_0x5c34dc,_0x14066d,_0x36d185,_0x5869e2;let {className:_0x2906e2,compact:_0x3d11d4=!0x0,disabled:_0x489156=!0x1,value:_0x2fa3d4,typeValues:_0x39b4e1=f,color:_0x90a1d='#ffffff',transparency:_0x3503e2=0x0,gradientValue:_0xde136c=p,labels:_0x37c04,tabLabels:_0x4a6d9c,noFillEditor:_0x2bde65,pictureFillEditor:_0x3d6ee9,renderColorIcon:_0x464383,keepColorPickerOpenOnChange:_0x35d86d=!0x1,onChange:_0x421ef8,onColorChange:_0x1c0f9f,onTransparencyChange:_0x39569b,onGradientChange:_0x2a4e8f}=_0x4bc6da,[_0x7b161d,_0x2c207f]=(0x0,n[_0x56d5eb(0x24b)])(!0x1),_0x43d214={...d,..._0x37c04},_0x3373ab=[{'label':(_0x2eda9a=_0x4a6d9c==null?void 0x0:_0x4a6d9c['noFill'])==null?_0x43d214[_0x56d5eb(0x162)]:_0x2eda9a,'value':_0x39b4e1['none']},{'label':(_0x5c34dc=_0x4a6d9c==null?void 0x0:_0x4a6d9c['solidFill'])==null?_0x43d214['solidFill']:_0x5c34dc,'value':_0x39b4e1[_0x56d5eb(0x20d)]},{'label':(_0x14066d=_0x4a6d9c==null?void 0x0:_0x4a6d9c[_0x56d5eb(0x360)])==null?_0x43d214[_0x56d5eb(0x360)]:_0x14066d,'value':_0x39b4e1[_0x56d5eb(0x270)]},{'label':(_0x36d185=_0x4a6d9c==null?void 0x0:_0x4a6d9c[_0x56d5eb(0x3b1)])==null?_0x43d214[_0x56d5eb(0x3b1)]:_0x36d185,'value':_0x39b4e1[_0x56d5eb(0x1ab)]}];return(0x0,r[_0x56d5eb(0x243)])('div',{'className':(0x0,e[_0x56d5eb(0x2c8)])(_0x56d5eb(0x266),_0x3d11d4?_0x56d5eb(0x318):_0x56d5eb(0x41b),_0x2906e2),'children':[(0x0,r[_0x56d5eb(0x3a5)])(e[_0x56d5eb(0x35a)],{'className':(0x0,e[_0x56d5eb(0x2c8)])(_0x56d5eb(0x40c),_0x3d11d4&&_0x56d5eb(0x3ed),_0x489156&&'univer-pointer-events-none\x20univer-opacity-60'),'items':_0x3373ab,'value':_0x2fa3d4,'onChange':_0x2bc6d1=>{_0x489156||_0x421ef8==null||_0x421ef8(_0x2bc6d1);}}),_0x2fa3d4===_0x39b4e1['none']&&_0x2bde65,_0x2fa3d4===_0x39b4e1['solid']&&(0x0,r[_0x56d5eb(0x243)])(_0x56d5eb(0x413),{'className':(0x0,e[_0x56d5eb(0x2c8)])(_0x56d5eb(0x267),_0x3d11d4?_0x56d5eb(0x226):_0x56d5eb(0x318)),'children':[(0x0,r[_0x56d5eb(0x243)])(_0x56d5eb(0x413),{'className':_0x56d5eb(0x3a1),'children':[(0x0,r[_0x56d5eb(0x3a5)])('span',{'className':_0x56d5eb(0x3ce),'children':_0x43d214[_0x56d5eb(0x15d)]}),(0x0,r[_0x56d5eb(0x3a5)])(e[_0x56d5eb(0x38b)],{'disabled':_0x489156,'overlay':(0x0,r[_0x56d5eb(0x3a5)])('div',{'className':_0x56d5eb(0x303),'children':(0x0,r[_0x56d5eb(0x3a5)])(e[_0x56d5eb(0x258)],{'value':_0x90a1d,'onChange':_0x423eab=>{_0x1c0f9f==null||_0x1c0f9f(_0x423eab),_0x35d86d||_0x2c207f(!0x1);}})}),'open':_0x7b161d,'onOpenChange':_0x2c207f,'children':(0x0,r[_0x56d5eb(0x243)])('a',{'className':_0x56d5eb(0x239),'children':[(_0x5869e2=_0x464383==null?void 0x0:_0x464383(_0x90a1d))==null?(0x0,r[_0x56d5eb(0x3a5)])(t[_0x56d5eb(0x26a)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x90a1d}}):_0x5869e2,(0x0,r['jsx'])(t[_0x56d5eb(0x3fb)],{'className':(0x0,e[_0x56d5eb(0x2c8)])(_0x56d5eb(0x202),{'univer-rotate-180':_0x7b161d})})]})})]}),(0x0,r[_0x56d5eb(0x243)])(_0x56d5eb(0x413),{'className':_0x56d5eb(0x3a1),'children':[(0x0,r[_0x56d5eb(0x3a5)])(_0x56d5eb(0x277),{'className':_0x56d5eb(0x3ce),'children':_0x43d214[_0x56d5eb(0x17c)]}),(0x0,r[_0x56d5eb(0x3a5)])(_0x56d5eb(0x413),{'className':_0x56d5eb(0x182),'children':(0x0,r[_0x56d5eb(0x3a5)])(e['InputNumber'],{'className':'univer-w-full','value':_0x3503e2,'disabled':_0x489156,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1c6958=>_0x1c6958+'%','parser':_0x116622=>(_0x116622==null?void 0x0:_0x116622['replace']('%',''))||'','onChange':_0x59eb0f=>_0x39569b==null?void 0x0:_0x39569b(_0x59eb0f==null?0x0:_0x59eb0f)})})]})]}),_0x2fa3d4===_0x39b4e1[_0x56d5eb(0x270)]&&(0x0,r[_0x56d5eb(0x3a5)])(e[_0x56d5eb(0x348)],{'compact':_0x3d11d4,'value':_0xde136c,'onChange':_0x2a4e8f}),_0x2fa3d4===_0x39b4e1[_0x56d5eb(0x1ab)]&&_0x3d6ee9]});}function h(_0x1e3390){const _0x782b7f=_0x1ed3a4;var _0x2d4754,_0x423dfb,_0x12bcf1,_0x1f7ba6,_0x39ea71,_0x37282,_0x3c17c5,_0x3a8e4a,_0x2d19a0,_0x49c46b,_0x54fc08,_0x3843ab,_0x179c36;let {shapeData:_0x4d82ce,disableShapeOption:_0x51a652,onUpdateShapeData:_0x1a1b1d,onUpdateShapeFillImage:_0x549ad6}=_0x1e3390,_0x96f982=(0x0,o['useDependency'])(a['LocaleService']),_0x2f957f=(0x0,o[_0x782b7f(0x34f)])(a[_0x782b7f(0x352)]),_0x806787=(0x0,o[_0x782b7f(0x34f)])(s[_0x782b7f(0x390)]),_0x2e51c7=(0x0,n[_0x782b7f(0x265)])(null),_0x58c4f3=_0x4d82ce[_0x782b7f(0x214)],_0x3a4352=!!(_0x58c4f3!=null&&_0x58c4f3['fillImageSource']),[_0x38c49f,_0x16c614]=(0x0,n[_0x782b7f(0x24b)])((_0x2d4754=_0x58c4f3==null?void 0x0:_0x58c4f3[_0x782b7f(0x3e8)])==null?0x1:_0x2d4754),[_0x5a4a35,_0xb7557c]=(0x0,n['useState'])((_0x423dfb=_0x58c4f3==null?void 0x0:_0x58c4f3['imageFillMode'])==null?i[_0x782b7f(0x40a)]['Stretch']:_0x423dfb),[_0x22c52c,_0x397377]=(0x0,n[_0x782b7f(0x24b)])((_0x12bcf1=_0x58c4f3==null?void 0x0:_0x58c4f3['imageRotateWithShape'])==null?!0x1:_0x12bcf1),[_0x22624a,_0x30bbe3]=(0x0,n[_0x782b7f(0x24b)])((_0x1f7ba6=_0x58c4f3==null||(_0x39ea71=_0x58c4f3[_0x782b7f(0x40f)])==null?void 0x0:_0x39ea71[_0x782b7f(0x180)])==null?0x0:_0x1f7ba6),[_0xcd76cf,_0x20a58f]=(0x0,n[_0x782b7f(0x24b)])((_0x37282=_0x58c4f3==null||(_0x3c17c5=_0x58c4f3[_0x782b7f(0x40f)])==null?void 0x0:_0x3c17c5['offsetY'])==null?0x0:_0x37282),[_0x47e758,_0x42ae85]=(0x0,n['useState'])((_0x3a8e4a=_0x58c4f3==null||(_0x2d19a0=_0x58c4f3[_0x782b7f(0x40f)])==null?void 0x0:_0x2d19a0[_0x782b7f(0x172)])==null?0x1:_0x3a8e4a),[_0x1850c6,_0x576df4]=(0x0,n[_0x782b7f(0x24b)])((_0x49c46b=_0x58c4f3==null||(_0x54fc08=_0x58c4f3[_0x782b7f(0x40f)])==null?void 0x0:_0x54fc08[_0x782b7f(0x3c0)])==null?0x1:_0x49c46b),[_0x4d27dd,_0x1b5442]=(0x0,n[_0x782b7f(0x24b)])((_0x3843ab=_0x58c4f3==null||(_0x179c36=_0x58c4f3[_0x782b7f(0x40f)])==null?void 0x0:_0x179c36[_0x782b7f(0x147)])==null?'tl':_0x3843ab),_0x5220d7=_0x5a4a35===i[_0x782b7f(0x40a)]['Tile'],_0x5c03f9=Math[_0x782b7f(0x131)]((0x1-_0x38c49f)*0x64),_0x2219c5=Math[_0x782b7f(0x131)](_0x47e758*0x64),_0x3fe16a=Math[_0x782b7f(0x131)](_0x1850c6*0x64),_0x448091=[{'label':_0x96f982['t'](_0x782b7f(0x2f3)),'value':'tl'},{'label':_0x96f982['t'](_0x782b7f(0x1f3)),'value':'t'},{'label':_0x96f982['t'](_0x782b7f(0x193)),'value':'tr'},{'label':_0x96f982['t'](_0x782b7f(0x184)),'value':'l'},{'label':_0x96f982['t'](_0x782b7f(0x2cd)),'value':_0x782b7f(0x1dc)},{'label':_0x96f982['t'](_0x782b7f(0x24d)),'value':'r'},{'label':_0x96f982['t'](_0x782b7f(0x1ca)),'value':'bl'},{'label':_0x96f982['t'](_0x782b7f(0x287)),'value':'b'},{'label':_0x96f982['t']('shape-editor-ui.fill.picture.align.br'),'value':'br'}],_0x230b97=_0x51e6b3=>{_0x1a1b1d({'oldShapeData':{'fill':_0x58c4f3?{..._0x58c4f3}:void 0x0}},{'fill':{..._0x58c4f3,..._0x51e6b3}});},_0x2c364a=_0x1f2698=>{_0x230b97({'imageTile':{..._0x58c4f3==null?void 0x0:_0x58c4f3['imageTile'],..._0x1f2698}});},_0x48065e=()=>{const _0x134064=_0x782b7f;var _0x22b10c;return(_0x22b10c=_0x2e51c7[_0x134064(0x2fb)])==null?void 0x0:_0x22b10c[_0x134064(0x160)]();},_0xe6824c=async _0x1e074b=>{const _0x590465=_0x782b7f;var _0x5e9dc5;let _0x19f404=(_0x5e9dc5=_0x1e074b[_0x590465(0x23c)][_0x590465(0x14e)])==null?void 0x0:_0x5e9dc5[0x0];if(!_0x19f404)return;_0x1e074b[_0x590465(0x23c)][_0x590465(0x164)]='';let _0x4b27d6=await _0x806787[_0x590465(0x349)](_0x19f404);if(_0x4b27d6==null)return;let {imageSourceType:_0x518c8b,source:_0x4d89fe,base64Cache:_0x1a6e18}=_0x4b27d6,{image:_0x210e18}=await(0x0,s['getImageSize'])(_0x1a6e18||'');_0x806787[_0x590465(0x218)](_0x4d89fe,_0x518c8b,_0x210e18),_0x1a1b1d({'oldShapeData':{'fill':_0x58c4f3?{..._0x58c4f3}:void 0x0}},{'fill':{..._0x58c4f3,'fillType':i[_0x590465(0x391)][_0x590465(0x1d6)],'fillImageSource':_0x4d89fe,'fillImageSourceType':_0x518c8b}}),_0x549ad6==null||_0x549ad6(_0x210e18);},_0x4c2219=_0x782b7f(0x346),_0x5f0a5a=_0x782b7f(0x3a1);return(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x782b7f(0x137),'children':[(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x782b7f(0x220),'children':[(0x0,r[_0x782b7f(0x3a5)])('span',{'className':_0x4c2219,'children':_0x96f982['t'](_0x782b7f(0x1f8))}),(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x782b7f(0x34a),'children':[(0x0,r[_0x782b7f(0x3a5)])('input',{'ref':_0x2e51c7,'type':'file','accept':_0x782b7f(0x134),'className':_0x782b7f(0x29d),'onChange':_0xe6824c}),(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x782b7f(0x33e),'children':[(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x268),{'type':_0x782b7f(0x268),'disabled':_0x51a652,'className':_0x782b7f(0x324),'onClick':_0x48065e,'children':(0x0,r[_0x782b7f(0x243)])('span',{'children':[_0x96f982['t'](_0x782b7f(0x237)),'\x20']})}),_0x3a4352&&(0x0,r[_0x782b7f(0x3a5)])('div',{'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[_0x782b7f(0x3a5)])('img',{'src':_0x58c4f3==null?void 0x0:_0x58c4f3['fillImageSource'],'alt':'','className':_0x782b7f(0x3e4)})})]})]})]}),(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x5f0a5a,'children':[(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x277),{'className':_0x4c2219,'children':_0x96f982['t']('shape-editor-ui.fill.transparency')}),(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x413),{'className':_0x782b7f(0x182),'children':(0x0,r[_0x782b7f(0x3a5)])(e[_0x782b7f(0x2e5)],{'className':'univer-w-full','value':_0x5c03f9,'disabled':_0x51a652,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5c19e4=>_0x5c19e4+'%','parser':_0x5c5336=>(_0x5c5336==null?void 0x0:_0x5c5336[_0x782b7f(0x3b9)]('%',''))||'','onChange':_0x3c35aa=>{const _0x54a622=_0x782b7f;let _0x2470d4=(0x64-Math[_0x54a622(0x40e)](0x0,Math[_0x54a622(0x1da)](0x64,_0x3c35aa==null?0x0:_0x3c35aa)))/0x64;_0x16c614(_0x2470d4),_0x230b97({'imageOpacity':_0x2470d4}),_0x2f957f[_0x54a622(0x21b)](a[_0x54a622(0x28e)],!0x1);},'onFocus':()=>_0x2f957f[_0x782b7f(0x21b)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x2f957f[_0x782b7f(0x21b)](a[_0x782b7f(0x28e)],!0x1)})})]}),(0x0,r[_0x782b7f(0x3a5)])(e[_0x782b7f(0x135)],{'checked':_0x5220d7,'disabled':_0x51a652,'onChange':_0x4bfd84=>{const _0xe3b10e=_0x782b7f;let _0x25a21e=_0x4bfd84?i['ImageFillModeEnum'][_0xe3b10e(0x36d)]:i['ImageFillModeEnum'][_0xe3b10e(0x37a)];_0xb7557c(_0x25a21e),_0x230b97({'imageFillMode':_0x25a21e});},'children':(0x0,r['jsx'])('span',{'className':_0x782b7f(0x359),'children':_0x96f982['t'](_0x782b7f(0x330))})}),_0x5220d7&&(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x782b7f(0x377),'children':[(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x5f0a5a,'children':[(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x277),{'className':_0x4c2219,'children':_0x96f982['t'](_0x782b7f(0x25b))}),(0x0,r[_0x782b7f(0x3a5)])('div',{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0x782b7f(0x2e5)],{'className':_0x782b7f(0x1cd),'value':_0x22624a,'disabled':_0x51a652,'step':0x1,'onChange':_0x49d3ea=>{_0x2c364a({'offsetX':_0x49d3ea==null?0x0:_0x49d3ea}),_0x30bbe3(_0x49d3ea==null?0x0:_0x49d3ea);},'onFocus':()=>_0x2f957f['setContextValue'](a[_0x782b7f(0x28e)],!0x0),'onBlur':()=>_0x2f957f[_0x782b7f(0x21b)](a['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r['jsxs'])('div',{'className':_0x5f0a5a,'children':[(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x277),{'className':_0x4c2219,'children':_0x96f982['t'](_0x782b7f(0x2e4))}),(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x413),{'className':_0x782b7f(0x182),'children':(0x0,r[_0x782b7f(0x3a5)])(e[_0x782b7f(0x2e5)],{'className':_0x782b7f(0x1cd),'value':_0xcd76cf,'disabled':_0x51a652,'step':0x1,'onChange':_0xf4211e=>{_0x2c364a({'offsetY':_0xf4211e==null?0x0:_0xf4211e}),_0x20a58f(_0xf4211e==null?0x0:_0xf4211e);},'onFocus':()=>_0x2f957f[_0x782b7f(0x21b)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x2f957f[_0x782b7f(0x21b)](a[_0x782b7f(0x28e)],!0x1)})})]}),(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x5f0a5a,'children':[(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x277),{'className':_0x4c2219,'children':_0x96f982['t'](_0x782b7f(0x30f))}),(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x413),{'className':_0x782b7f(0x182),'children':(0x0,r[_0x782b7f(0x3a5)])(e[_0x782b7f(0x2e5)],{'className':_0x782b7f(0x1cd),'value':_0x2219c5,'disabled':_0x51a652,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x5e5a1f=>_0x5e5a1f+'%','parser':_0x56184e=>(_0x56184e==null?void 0x0:_0x56184e[_0x782b7f(0x3b9)]('%',''))||'','onChange':_0x4c544b=>{const _0x39a7d5=_0x782b7f;let _0x5bd01f=Math[_0x39a7d5(0x40e)](0.01,(_0x4c544b==null?0x64:_0x4c544b)/0x64);_0x42ae85(_0x5bd01f),_0x2c364a({'scaleX':_0x5bd01f}),_0x2f957f[_0x39a7d5(0x21b)](a[_0x39a7d5(0x28e)],!0x1);},'onFocus':()=>_0x2f957f[_0x782b7f(0x21b)](a[_0x782b7f(0x28e)],!0x0),'onBlur':()=>_0x2f957f[_0x782b7f(0x21b)](a[_0x782b7f(0x28e)],!0x1)})})]}),(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x5f0a5a,'children':[(0x0,r['jsx'])(_0x782b7f(0x277),{'className':_0x4c2219,'children':_0x96f982['t'](_0x782b7f(0x381))}),(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x413),{'className':'univer-w-20','children':(0x0,r[_0x782b7f(0x3a5)])(e['InputNumber'],{'className':'univer-w-full','value':_0x3fe16a,'disabled':_0x51a652,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3f026f=>_0x3f026f+'%','parser':_0x37b8b9=>(_0x37b8b9==null?void 0x0:_0x37b8b9[_0x782b7f(0x3b9)]('%',''))||'','onChange':_0xaa5e1b=>{const _0x3c4f37=_0x782b7f;let _0x5f2a2b=Math[_0x3c4f37(0x40e)](0.01,(_0xaa5e1b==null?0x64:_0xaa5e1b)/0x64);_0x576df4(_0x5f2a2b),_0x2c364a({'scaleY':_0x5f2a2b}),_0x2f957f[_0x3c4f37(0x21b)](a[_0x3c4f37(0x28e)],!0x1);},'onFocus':()=>_0x2f957f[_0x782b7f(0x21b)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x2f957f['setContextValue'](a['FOCUSING_PANEL_EDITOR'],!0x1)})})]}),(0x0,r[_0x782b7f(0x243)])(_0x782b7f(0x413),{'className':_0x5f0a5a,'children':[(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x277),{'className':_0x4c2219,'children':_0x96f982['t']('shape-editor-ui.fill.picture.alignment')}),(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x413),{'className':_0x782b7f(0x203),'children':(0x0,r[_0x782b7f(0x3a5)])(e['Select'],{'className':'univer-w-full','value':_0x4d27dd,'options':_0x448091,'disabled':_0x51a652,'onChange':_0xb4774f=>{_0x1b5442(_0xb4774f),_0x2c364a({'alignment':_0xb4774f});}})})]})]}),(0x0,r[_0x782b7f(0x3a5)])(e[_0x782b7f(0x135)],{'checked':_0x22c52c,'disabled':_0x51a652,'onChange':_0x4e37a4=>{_0x397377(_0x4e37a4),_0x230b97({'imageRotateWithShape':_0x4e37a4});},'children':(0x0,r[_0x782b7f(0x3a5)])(_0x782b7f(0x277),{'className':_0x782b7f(0x359),'children':_0x96f982['t'](_0x782b7f(0x15e))})})]});}function g(_0x421f09){const _0x11eb03=_0x1ed3a4;var _0x119188,_0x156dd2;return(_0x119188=(_0x156dd2=_0x421f09[_0x11eb03(0x214)])==null?void 0x0:_0x156dd2[_0x11eb03(0x3a6)])==null?i['ShapeFillEnum'][_0x11eb03(0x340)]:_0x119188;}function _(_0x4253d1){const _0x1b95d4=_0x1ed3a4;var _0x1437d5,_0x199bc2,_0x1b01b4,_0x1029f3;let _0x4b345c=(0x0,o[_0x1b95d4(0x34f)])(a[_0x1b95d4(0x1db)]),_0x405a6f=(0x0,o[_0x1b95d4(0x34f)])(a[_0x1b95d4(0x352)]),{shapeData:_0x2687a3,isLineShape:_0x2c304c,shapeId:_0x5496f8,disableShapeOption:_0x8ee462,onUpdateShapeData:_0xaf7483,onUpdateShapeFillImage:_0x5de0a4}=_0x4253d1,[_0x5a27aa,_0x1de459]=(0x0,n[_0x1b95d4(0x24b)])(g(_0x2687a3)),[_0x1ec66b,_0x477661]=(0x0,n[_0x1b95d4(0x24b)])((_0x1437d5=(_0x199bc2=_0x2687a3[_0x1b95d4(0x214)])==null?void 0x0:_0x199bc2['color'])==null?i[_0x1b95d4(0x3d2)][_0x1b95d4(0x214)]:_0x1437d5),[_0x44bf91,_0x22a684]=(0x0,n[_0x1b95d4(0x24b)])((_0x1b01b4=(_0x1029f3=_0x2687a3[_0x1b95d4(0x214)])==null?void 0x0:_0x1029f3['opacity'])==null?0x1:_0x1b01b4),[_0x5f3e82,_0x403a44]=(0x0,n[_0x1b95d4(0x24b)])(!0x1);if(_0x2c304c)return null;let _0x5a9341=0x64-_0x44bf91*0x64;return(0x0,r[_0x1b95d4(0x243)])(_0x1b95d4(0x413),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r['jsxs'])(e[_0x1b95d4(0x179)],{'value':_0x5a27aa,'disabled':_0x8ee462,'onChange':_0x1f80d6=>{const _0x52f03d=_0x1b95d4;var _0x43d60a;_0xaf7483({'oldShapeData':{'fill':{'fillType':(_0x43d60a=_0x2687a3[_0x52f03d(0x214)])==null?void 0x0:_0x43d60a[_0x52f03d(0x3a6)]}}},{'fill':{'fillType':_0x1f80d6}}),_0x1de459(_0x1f80d6);},'direction':_0x1b95d4(0x3c5),'children':[(0x0,r[_0x1b95d4(0x3a5)])(e['Radio'],{'value':i[_0x1b95d4(0x391)][_0x1b95d4(0x340)],'children':(0x0,r[_0x1b95d4(0x3a5)])('span',{'className':'univer-text-sm','children':_0x4b345c['t'](_0x1b95d4(0x22c))})}),(0x0,r[_0x1b95d4(0x3a5)])(e[_0x1b95d4(0x37b)],{'value':i[_0x1b95d4(0x391)][_0x1b95d4(0x1e4)],'children':(0x0,r['jsx'])('span',{'className':'univer-text-sm','children':_0x4b345c['t'](_0x1b95d4(0x363))})}),(0x0,r[_0x1b95d4(0x3a5)])(e[_0x1b95d4(0x37b)],{'value':i['ShapeFillEnum'][_0x1b95d4(0x3bf)],'children':(0x0,r[_0x1b95d4(0x3a5)])(_0x1b95d4(0x277),{'className':_0x1b95d4(0x359),'children':_0x4b345c['t']('shape-editor-ui.fill.gradientFill')})}),(0x0,r[_0x1b95d4(0x3a5)])(e[_0x1b95d4(0x37b)],{'value':i[_0x1b95d4(0x391)][_0x1b95d4(0x1d6)],'children':(0x0,r[_0x1b95d4(0x3a5)])(_0x1b95d4(0x277),{'className':'univer-text-sm','children':_0x4b345c['t'](_0x1b95d4(0x24f))})})]}),_0x5a27aa===i['ShapeFillEnum']['SolidFill']&&(0x0,r['jsxs'])(_0x1b95d4(0x413),{'className':_0x1b95d4(0x2f2),'children':[(0x0,r[_0x1b95d4(0x243)])(_0x1b95d4(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x1b95d4(0x3a5)])(_0x1b95d4(0x277),{'className':_0x1b95d4(0x1b9),'children':_0x4b345c['t'](_0x1b95d4(0x3c1))}),(0x0,r[_0x1b95d4(0x3a5)])(e[_0x1b95d4(0x38b)],{'disabled':_0x8ee462,'overlay':(0x0,r[_0x1b95d4(0x3a5)])(_0x1b95d4(0x413),{'className':_0x1b95d4(0x303),'children':(0x0,r['jsx'])(e[_0x1b95d4(0x258)],{'value':_0x1ec66b,'onChange':_0x1b700f=>{const _0x30f315=_0x1b95d4;var _0x650c03;_0xaf7483({'oldShapeData':{'fill':{'color':(_0x650c03=_0x2687a3['fill'])==null?void 0x0:_0x650c03[_0x30f315(0x15d)]}}},{'fill':{'color':_0x1b700f}}),_0x477661(_0x1b700f),_0x403a44(!0x1);}})}),'open':_0x5f3e82,'onOpenChange':_0x403a44,'children':(0x0,r['jsxs'])('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[_0x1b95d4(0x3a5)])(t[_0x1b95d4(0x1a4)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x1ec66b}}),(0x0,r['jsx'])(t[_0x1b95d4(0x3fb)],{'className':(0x0,e[_0x1b95d4(0x2c8)])(_0x1b95d4(0x202),{'univer-rotate-180':_0x5f3e82})})]})})]}),(0x0,r[_0x1b95d4(0x243)])(_0x1b95d4(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x1b95d4(0x3a5)])('span',{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4b345c['t']('shape-editor-ui.fill.transparency')}),(0x0,r[_0x1b95d4(0x3a5)])(_0x1b95d4(0x413),{'className':_0x1b95d4(0x3cb),'children':(0x0,r[_0x1b95d4(0x3a5)])(_0x1b95d4(0x413),{'className':_0x1b95d4(0x182),'children':(0x0,r[_0x1b95d4(0x3a5)])(e[_0x1b95d4(0x2e5)],{'className':'univer-w-full','value':_0x5a9341,'disabled':_0x8ee462,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x186561=>_0x186561+'%','parser':_0x15ca56=>(_0x15ca56==null?void 0x0:_0x15ca56['replace']('%',''))||'','onChange':_0x35e887=>{const _0x4ec1bc=_0x1b95d4;let _0x18f96d=(0x64-Math[_0x4ec1bc(0x40e)](0x0,Math['min'](0x64,_0x35e887==null?0x0:_0x35e887)))/0x64;_0x22a684(_0x18f96d),_0xaf7483({'oldShapeData':{'fill':{..._0x2687a3['fill'],'fillType':_0x5a27aa}}},{'fill':{..._0x2687a3[_0x4ec1bc(0x214)],'fillType':_0x5a27aa,'opacity':_0x18f96d}}),_0x405a6f[_0x4ec1bc(0x21b)](a[_0x4ec1bc(0x28e)],!0x1);},'onFocus':()=>_0x405a6f['setContextValue'](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x168a87=_0x1b95d4;_0x405a6f[_0x168a87(0x21b)](a['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x5a27aa===i[_0x1b95d4(0x391)]['GradientFill']&&(0x0,r[_0x1b95d4(0x3a5)])(b,{'shapeData':_0x2687a3,'disableShapeOption':_0x8ee462,'onUpdate':_0x19bf33=>{_0xaf7483({'oldShapeData':{'fill':{..._0x2687a3['fill']}}},{'fill':{..._0x2687a3['fill'],..._0x19bf33}});}}),_0x5a27aa===i['ShapeFillEnum']['PictureFill']&&(0x0,r[_0x1b95d4(0x3a5)])(h,{'shapeId':_0x5496f8,'shapeData':_0x2687a3,'disableShapeOption':_0x8ee462,'onUpdateShapeData':_0xaf7483,'onUpdateShapeFillImage':_0x5de0a4})]});}function v(_0x3361f0){const _0x1711cc=_0x1ed3a4;switch(_0x3361f0){case i[_0x1711cc(0x358)][_0x1711cc(0x18e)]:return _0x1711cc(0x21a);case i['ShapeGradientTypeEnum'][_0x1711cc(0x1bf)]:return _0x1711cc(0x1ad);case i['ShapeGradientTypeEnum']['Angular']:return _0x1711cc(0x370);case i[_0x1711cc(0x358)][_0x1711cc(0x365)]:return _0x1711cc(0x143);default:return'linear';}}function y(_0x265c1b){const _0x2b2c3d=_0x1ed3a4;switch(_0x265c1b){case _0x2b2c3d(0x21a):return i[_0x2b2c3d(0x358)][_0x2b2c3d(0x18e)];case _0x2b2c3d(0x1ad):return i[_0x2b2c3d(0x358)][_0x2b2c3d(0x1bf)];case'angular':return i['ShapeGradientTypeEnum']['Angular'];case _0x2b2c3d(0x143):return i[_0x2b2c3d(0x358)]['Diamond'];default:return i['ShapeGradientTypeEnum'][_0x2b2c3d(0x18e)];}}function b(_0x2b7438){const _0x59c344=_0x1ed3a4;let {shapeData:_0x500b4f,disableShapeOption:_0x2b286f,onUpdate:_0x3658a2}=_0x2b7438,_0x2f44dc=(0x0,n[_0x59c344(0x1d2)])(()=>{const _0x1f1ad6=_0x59c344;var _0x4971ef;let _0x2ad43a=_0x500b4f[_0x1f1ad6(0x214)];return{'type':v(_0x2ad43a==null?void 0x0:_0x2ad43a[_0x1f1ad6(0x208)]),'angle':(_0x4971ef=_0x2ad43a==null?void 0x0:_0x2ad43a['gradientAngle'])==null?0x0:_0x4971ef,'stops':_0x2ad43a!=null&&_0x2ad43a[_0x1f1ad6(0x3e1)]&&_0x2ad43a[_0x1f1ad6(0x3e1)][_0x1f1ad6(0x362)]>=0x2?_0x2ad43a[_0x1f1ad6(0x3e1)][_0x1f1ad6(0x1c2)](_0x4dc0fc=>({'color':_0x4dc0fc[_0x1f1ad6(0x15d)],'offset':_0x4dc0fc['position']*0x64,'opacity':_0x4dc0fc['opacity']})):[{'color':(_0x2ad43a==null?void 0x0:_0x2ad43a[_0x1f1ad6(0x15d)])||_0x1f1ad6(0x3d0),'offset':0x0},{'color':_0x1f1ad6(0x219),'offset':0x64}]};},[_0x500b4f[_0x59c344(0x214)]]);return(0x0,r['jsx'])(_0x59c344(0x413),{'className':_0x59c344(0x171),'children':(0x0,r['jsx'])(e[_0x59c344(0x348)],{'value':_0x2f44dc,'onChange':_0x138906=>{const _0x4b33e6=_0x59c344;let _0x46ef6b=y(_0x138906['type']),_0x1b7338=_0x138906[_0x4b33e6(0x408)];_0x3658a2({'gradientType':_0x46ef6b,'gradientAngle':_0x1b7338,'gradientStops':_0x138906[_0x4b33e6(0x2ff)][_0x4b33e6(0x1c2)](_0x30939f=>({'color':_0x30939f[_0x4b33e6(0x15d)],'position':_0x30939f[_0x4b33e6(0x30e)]/0x64,'opacity':_0x30939f[_0x4b33e6(0x1be)]}))});}})});}function x(_0x301701){const _0x1885bd=_0x1ed3a4;var _0x5a0e34,_0x131157,_0x1af96d,_0x59b263,_0x40216c,_0x540c3a,_0x14325e,_0x4448cd,_0x42857d,_0x14225f,_0x1a84ab,_0x453728,_0x3031a8,_0x401432,_0x41b4d2,_0x4db86e,_0x53f32a;let _0x2b8ae6=(0x0,o[_0x1885bd(0x34f)])(a[_0x1885bd(0x1db)]),_0x2e746a=(0x0,o['useDependency'])(a[_0x1885bd(0x352)]),{shapeData:_0x3e2daa,isLineShape:_0x2e155d,disableShapeOption:_0x3f38b0,onUpdateShapeData:_0x1734d3,onUpdateLineShapeData:_0x1aca33}=_0x301701,_0x7e14ed=_0x3e2daa[_0x1885bd(0x161)],[_0x4a2860,_0x1be5a2]=(0x0,n[_0x1885bd(0x24b)])((_0x5a0e34=_0x7e14ed==null?void 0x0:_0x7e14ed['lineStrokeType'])==null?i['ShapeLineTypeEnum'][_0x1885bd(0x2d1)]:_0x5a0e34),[_0x53cd66,_0x9206a8]=(0x0,n[_0x1885bd(0x24b)])((_0x131157=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x15d)])==null?i[_0x1885bd(0x3d2)][_0x1885bd(0x161)]:_0x131157),[_0x284ea3,_0x193e2f]=(0x0,n[_0x1885bd(0x24b)])((_0x1af96d=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x1be)])==null?0x1:_0x1af96d),[_0x230ff8,_0x58a998]=(0x0,n['useState'])((_0x59b263=_0x7e14ed==null?void 0x0:_0x7e14ed['width'])==null?i[_0x1885bd(0x3d2)][_0x1885bd(0x351)]:_0x59b263),[_0x443651,_0x47e418]=(0x0,n[_0x1885bd(0x24b)])((_0x40216c=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x1ef)])==null?0x0:_0x40216c),[_0xe54325,_0x51dabf]=(0x0,n['useState'])((_0x540c3a=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x141)])==null?i[_0x1885bd(0x414)][_0x1885bd(0x2f9)]:_0x540c3a),[_0x3690ae,_0x3d1ad8]=(0x0,n['useState'])((_0x14325e=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x254)])==null?i['ShapeLineCapEnum'][_0x1885bd(0x421)]:_0x14325e),[_0x3b57f0,_0x1b16da]=(0x0,n[_0x1885bd(0x24b)])((_0x4448cd=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x2ed)])==null?i['ShapeLineJoinEnum'][_0x1885bd(0x247)]:_0x4448cd),[_0x5238ce,_0x152deb]=(0x0,n[_0x1885bd(0x24b)])((_0x42857d=_0x7e14ed==null?void 0x0:_0x7e14ed[_0x1885bd(0x2f8)])==null?i['ShapeSketchTypeEnum'][_0x1885bd(0x20f)]:_0x42857d),_0x32d36e=_0x3e2daa,[_0x30482f,_0x3fd487]=(0x0,n['useState'])((_0x14225f=(_0x1a84ab=_0x32d36e['ln'])==null||(_0x1a84ab=_0x1a84ab[_0x1885bd(0x1e1)])==null?void 0x0:_0x1a84ab[_0x1885bd(0x3ca)])==null?i[_0x1885bd(0x22b)][_0x1885bd(0x20f)]:_0x14225f),[_0x5befeb,_0xeae05b]=(0x0,n[_0x1885bd(0x24b)])((_0x453728=(_0x3031a8=_0x32d36e['ln'])==null||(_0x3031a8=_0x3031a8[_0x1885bd(0x1e1)])==null?void 0x0:_0x3031a8[_0x1885bd(0x34b)])==null?i['ShapeArrowSizeEnum'][_0x1885bd(0x35c)]:_0x453728),[_0x51211a,_0x198ab0]=(0x0,n[_0x1885bd(0x24b)])((_0x401432=(_0x41b4d2=_0x32d36e['ln'])==null||(_0x41b4d2=_0x41b4d2[_0x1885bd(0x3da)])==null?void 0x0:_0x41b4d2[_0x1885bd(0x3ca)])==null?i[_0x1885bd(0x22b)][_0x1885bd(0x20f)]:_0x401432),[_0x32b47d,_0x30eaa9]=(0x0,n[_0x1885bd(0x24b)])((_0x4db86e=(_0x53f32a=_0x32d36e['ln'])==null||(_0x53f32a=_0x53f32a[_0x1885bd(0x3da)])==null?void 0x0:_0x53f32a[_0x1885bd(0x34b)])==null?i[_0x1885bd(0x389)][_0x1885bd(0x35c)]:_0x4db86e),[_0x1632c1,_0x12d045]=(0x0,n['useState'])(!0x1),_0x3d2e00=0x64-_0x284ea3*0x64,_0x26b01d=[{'label':_0x2b8ae6['t'](_0x1885bd(0x3a4)),'value':String(i['ShapeLineDashEnum']['Solid'])},{'label':_0x2b8ae6['t'](_0x1885bd(0x3d8)),'value':String(i[_0x1885bd(0x414)][_0x1885bd(0x19a)])},{'label':_0x2b8ae6['t']('shape-editor-ui.line.dashType.squareDot'),'value':String(i[_0x1885bd(0x414)][_0x1885bd(0x37c)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x177)),'value':String(i['ShapeLineDashEnum'][_0x1885bd(0x17a)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x2b4)),'value':String(i['ShapeLineDashEnum'][_0x1885bd(0x165)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x14f)),'value':String(i['ShapeLineDashEnum']['LongDash'])},{'label':_0x2b8ae6['t'](_0x1885bd(0x1fc)),'value':String(i[_0x1885bd(0x414)]['LongDashDot'])},{'label':_0x2b8ae6['t'](_0x1885bd(0x321)),'value':String(i[_0x1885bd(0x414)][_0x1885bd(0x39f)])}],_0x44b08a=[{'label':_0x2b8ae6['t'](_0x1885bd(0x284)),'value':String(i[_0x1885bd(0x3f7)][_0x1885bd(0x421)])},{'label':_0x2b8ae6['t']('shape-editor-ui.line.capType.round'),'value':String(i[_0x1885bd(0x3f7)][_0x1885bd(0x273)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x3bd)),'value':String(i[_0x1885bd(0x3f7)][_0x1885bd(0x13a)])}],_0xef81ca=[{'label':_0x2b8ae6['t'](_0x1885bd(0x150)),'value':String(i['ShapeSketchTypeEnum'][_0x1885bd(0x20f)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x166)),'value':String(i[_0x1885bd(0x424)][_0x1885bd(0x3a3)])},{'label':_0x2b8ae6['t']('shape-editor-ui.line.sketchType.freehand'),'value':String(i[_0x1885bd(0x424)][_0x1885bd(0x1ae)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x3dd)),'value':String(i['ShapeSketchTypeEnum']['HandDrawn'])}],_0x192bf0=[{'label':_0x2b8ae6['t'](_0x1885bd(0x2e2)),'value':String(i[_0x1885bd(0x2fa)][_0x1885bd(0x247)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x2d7)),'value':String(i[_0x1885bd(0x2fa)][_0x1885bd(0x273)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x375)),'value':String(i[_0x1885bd(0x2fa)][_0x1885bd(0x3ec)])}],_0x1a05fc=[{'label':_0x2b8ae6['t'](_0x1885bd(0x2c2)),'value':String(i[_0x1885bd(0x22b)][_0x1885bd(0x20f)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x353)),'value':String(i[_0x1885bd(0x22b)][_0x1885bd(0x1c1)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x28a)),'value':String(i[_0x1885bd(0x22b)][_0x1885bd(0x19c)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x23d)),'value':String(i[_0x1885bd(0x22b)][_0x1885bd(0x341)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x3ef)),'value':String(i[_0x1885bd(0x22b)][_0x1885bd(0x278)])},{'label':_0x2b8ae6['t']('shape-editor-ui.line.arrowType.ovalArrow'),'value':String(i[_0x1885bd(0x22b)][_0x1885bd(0x130)])}],_0x492ab6=[{'label':_0x2b8ae6['t'](_0x1885bd(0x34d)),'value':String(i[_0x1885bd(0x389)][_0x1885bd(0x367)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x196)),'value':String(i['ShapeArrowSizeEnum'][_0x1885bd(0x35c)])},{'label':_0x2b8ae6['t'](_0x1885bd(0x227)),'value':String(i['ShapeArrowSizeEnum'][_0x1885bd(0x16d)])}];return(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,r[_0x1885bd(0x243)])(e['RadioGroup'],{'value':String(_0x4a2860),'disabled':_0x3f38b0,'onChange':_0x531353=>{const _0x948fea=_0x1885bd;var _0x59e9e8;_0x1be5a2(Number(_0x531353)),_0x1734d3({'oldShapeData':{'stroke':{'lineStrokeType':(_0x59e9e8=_0x3e2daa[_0x948fea(0x161)])==null?void 0x0:_0x59e9e8[_0x948fea(0x1f0)]}}},{'stroke':{'lineStrokeType':Number(_0x531353)}});},'direction':'vertical','children':[(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x37b)],{'value':String(i['ShapeLineTypeEnum'][_0x1885bd(0x23e)]),'children':(0x0,r[_0x1885bd(0x3a5)])('span',{'className':'univer-text-sm','children':_0x2b8ae6['t'](_0x1885bd(0x153))})}),(0x0,r['jsx'])(e[_0x1885bd(0x37b)],{'value':String(i[_0x1885bd(0x197)][_0x1885bd(0x2d1)]),'children':(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x277),{'className':_0x1885bd(0x359),'children':_0x2b8ae6['t'](_0x1885bd(0x178))})})]}),_0x4a2860!==i[_0x1885bd(0x197)][_0x1885bd(0x23e)]&&(0x0,r['jsxs'])(_0x1885bd(0x413),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':_0x1885bd(0x28f),'children':[(0x0,r['jsx'])('span',{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t']('shape-editor-ui.line.color')}),(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x38b)],{'disabled':_0x3f38b0,'overlay':(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':_0x1885bd(0x303),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x258)],{'value':_0x53cd66,'onChange':_0x504707=>{const _0x51f52e=_0x1885bd;var _0x4d06b1;_0x1734d3({'oldShapeData':{'stroke':{'color':(_0x4d06b1=_0x3e2daa['stroke'])==null?void 0x0:_0x4d06b1[_0x51f52e(0x15d)]}}},{'stroke':{'color':_0x504707}}),_0x9206a8(_0x504707),_0x12d045(!0x1);}})}),'open':_0x1632c1,'onOpenChange':_0x12d045,'children':(0x0,r[_0x1885bd(0x243)])('a',{'className':_0x1885bd(0x239),'children':[(0x0,r[_0x1885bd(0x3a5)])(t['ShapeStrokeColorDoubleIcon'],{'className':_0x1885bd(0x2c4),'extend':{'colorChannel1':_0x53cd66}}),(0x0,r[_0x1885bd(0x3a5)])(t[_0x1885bd(0x3fb)],{'className':(0x0,e['clsx'])(_0x1885bd(0x202),{'univer-rotate-180':_0x1632c1})})]})})]}),(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x277),{'className':_0x1885bd(0x346),'children':_0x2b8ae6['t'](_0x1885bd(0x1d3))}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':_0x1885bd(0x3a1),'children':(0x0,r['jsx'])('div',{'className':_0x1885bd(0x38a),'children':(0x0,r[_0x1885bd(0x3a5)])(e['InputNumber'],{'className':'univer-w-full','value':_0x3d2e00,'disabled':_0x3f38b0,'min':0x0,'max':0x64,'formatter':_0x3623cc=>_0x3623cc+'%','parser':_0x39b103=>(_0x39b103==null?void 0x0:_0x39b103[_0x1885bd(0x3b9)]('%',''))||'','onChange':_0x53fb8b=>{const _0x1ec95f=_0x1885bd;var _0x4e0d35;let _0x50e271=(0x64-Math[_0x1ec95f(0x40e)](0x0,Math[_0x1ec95f(0x1da)](0x64,_0x53fb8b==null?0x0:_0x53fb8b)))/0x64;_0x193e2f(_0x50e271),_0x1734d3({'oldShapeData':{'stroke':{'opacity':(_0x4e0d35=_0x3e2daa[_0x1ec95f(0x161)])==null?void 0x0:_0x4e0d35['opacity']}}},{'stroke':{'opacity':_0x50e271}}),_0x2e746a['setContextValue'](a[_0x1ec95f(0x28e)],!0x1);},'onFocus':()=>_0x2e746a[_0x1885bd(0x21b)](a[_0x1885bd(0x28e)],!0x0),'onBlur':_0x52839c=>{const _0x2fce59=_0x1885bd;_0x2e746a[_0x2fce59(0x21b)](a[_0x2fce59(0x28e)],!0x1);}})})})]}),(0x0,r[_0x1885bd(0x243)])('div',{'className':_0x1885bd(0x3a1),'children':[(0x0,r['jsx'])(_0x1885bd(0x277),{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x301))}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':'univer-w-20','children':(0x0,r[_0x1885bd(0x3a5)])(e['InputNumber'],{'className':'univer-w-full','disabled':_0x3f38b0,'value':_0x230ff8,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x57f34b=>_0x57f34b+_0x1885bd(0x39c),'parser':_0x2b4579=>(_0x2b4579==null?void 0x0:_0x2b4579[_0x1885bd(0x3b9)]('\x20px',''))||'','onChange':_0x42c953=>{const _0x49f4c1=_0x1885bd;if(!Number['isNaN'](_0x42c953)&&_0x42c953!==null){var _0x34597c;_0x1734d3({'oldShapeData':{'stroke':{'width':(_0x34597c=_0x3e2daa['stroke'])==null?void 0x0:_0x34597c[_0x49f4c1(0x233)]}}},{'stroke':{'width':_0x42c953}});}_0x2e746a[_0x49f4c1(0x21b)](a[_0x49f4c1(0x28e)],!0x1);},'onFocus':()=>_0x2e746a['setContextValue'](a[_0x1885bd(0x28e)],!0x0),'onBlur':_0x3e7e4f=>{const _0x106676=_0x1885bd;_0x2e746a[_0x106676(0x21b)](a[_0x106676(0x28e)],!0x1);}})})]}),_0x2e155d&&(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':_0x1885bd(0x3a1),'children':[(0x0,r[_0x1885bd(0x3a5)])('span',{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x355))}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':_0x1885bd(0x182),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x2e5)],{'className':_0x1885bd(0x1cd),'disabled':_0x3f38b0,'value':_0x443651,'min':0x0,'step':0x1,'formatter':_0x58d638=>_0x58d638+_0x1885bd(0x39c),'parser':_0xfbd480=>(_0xfbd480==null?void 0x0:_0xfbd480[_0x1885bd(0x3b9)](_0x1885bd(0x39c),''))||'','onChange':_0x21e1bc=>{const _0x206cc2=_0x1885bd;var _0x4048cb;let _0xbf4077=Math[_0x206cc2(0x40e)](0x0,_0x21e1bc==null?0x0:_0x21e1bc);_0x47e418(_0xbf4077),_0x1734d3({'oldShapeData':{'stroke':{'cornerRadius':(_0x4048cb=_0x3e2daa[_0x206cc2(0x161)])==null?void 0x0:_0x4048cb[_0x206cc2(0x1ef)]}}},{'stroke':{'cornerRadius':_0xbf4077}}),_0x2e746a[_0x206cc2(0x21b)](a[_0x206cc2(0x28e)],!0x1);},'onFocus':()=>_0x2e746a[_0x1885bd(0x21b)](a[_0x1885bd(0x28e)],!0x0),'onBlur':()=>{const _0x52d726=_0x1885bd;_0x2e746a['setContextValue'](a[_0x52d726(0x28e)],!0x1);}})})]}),(0x0,r['jsxs'])(_0x1885bd(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x1885bd(0x277),{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x415))}),(0x0,r['jsx'])('div',{'className':_0x1885bd(0x203),'children':(0x0,r['jsx'])(e[_0x1885bd(0x286)],{'className':'univer-w-full','value':String(_0xe54325),'options':_0x26b01d,'disabled':_0x3f38b0,'onChange':_0x225176=>{const _0xbad8ef=_0x1885bd;var _0x59a55d;_0x51dabf(Number(_0x225176)),_0x1734d3({'oldShapeData':{'stroke':{'dashType':(_0x59a55d=_0x3e2daa[_0xbad8ef(0x161)])==null?void 0x0:_0x59a55d['dashType']}}},{'stroke':{'dashType':Number(_0x225176)}});}})})]}),(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x277),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2b8ae6['t'](_0x1885bd(0x31d))}),(0x0,r[_0x1885bd(0x3a5)])('div',{'className':_0x1885bd(0x203),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x286)],{'className':_0x1885bd(0x1cd),'value':String(_0x3690ae),'options':_0x44b08a,'disabled':_0x3f38b0,'onChange':_0x5187e4=>{const _0x15150c=_0x1885bd;var _0x179061;_0x3d1ad8(Number(_0x5187e4)),_0x1734d3({'oldShapeData':{'stroke':{'capType':(_0x179061=_0x3e2daa[_0x15150c(0x161)])==null?void 0x0:_0x179061['capType']}}},{'stroke':{'capType':Number(_0x5187e4)}});}})})]}),(0x0,r['jsxs'])(_0x1885bd(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x1885bd(0x277),{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x39e))}),(0x0,r['jsx'])(_0x1885bd(0x413),{'className':_0x1885bd(0x203),'children':(0x0,r['jsx'])(e[_0x1885bd(0x286)],{'className':'univer-w-full','value':String(_0x3b57f0),'options':_0x192bf0,'disabled':_0x3f38b0,'onChange':_0xe41a26=>{const _0x17fd09=_0x1885bd;var _0x41409a;_0x1b16da(Number(_0xe41a26)),_0x1734d3({'oldShapeData':{'stroke':{'lineJoinType':(_0x41409a=_0x3e2daa[_0x17fd09(0x161)])==null?void 0x0:_0x41409a[_0x17fd09(0x2ed)]}}},{'stroke':{'lineJoinType':Number(_0xe41a26)}});}})})]}),!_0x2e155d&&(0x0,r['jsxs'])(_0x1885bd(0x413),{'className':_0x1885bd(0x28f),'children':[(0x0,r['jsx'])('span',{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x35e))}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':_0x1885bd(0x203),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x286)],{'className':'univer-w-full','value':String(_0x5238ce),'options':_0xef81ca,'disabled':_0x3f38b0,'onChange':_0x4df18b=>{const _0x5c8881=_0x1885bd;var _0xc63aba;_0x152deb(Number(_0x4df18b)),_0x1734d3({'oldShapeData':{'stroke':{'sketchType':(_0xc63aba=_0x3e2daa[_0x5c8881(0x161)])==null?void 0x0:_0xc63aba[_0x5c8881(0x2f8)]}}},{'stroke':{'sketchType':Number(_0x4df18b)}});}})})]}),_0x2e155d&&(0x0,r['jsxs'])(r[_0x1885bd(0x26b)],{'children':[(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':_0x1885bd(0x28f),'children':[(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x277),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2b8ae6['t']('shape-editor-ui.line.beginArrowType')}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':_0x1885bd(0x203),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x286)],{'className':'univer-w-full','value':String(_0x30482f),'options':_0x1a05fc,'onChange':_0x461caf=>{const _0x309db3=_0x1885bd;var _0x34db2b;_0x3fd487(Number(_0x461caf));let _0x42fa4d={'ln':{'startArrow':{'type':(_0x34db2b=_0x3e2daa['ln'])==null||(_0x34db2b=_0x34db2b[_0x309db3(0x1e1)])==null?void 0x0:_0x34db2b[_0x309db3(0x3ca)]}}};_0x1aca33==null||_0x1aca33({'oldShapeData':_0x42fa4d},{'ln':{'startArrow':{'type':Number(_0x461caf)}}});}})})]}),(0x0,r[_0x1885bd(0x243)])(_0x1885bd(0x413),{'className':_0x1885bd(0x28f),'children':[(0x0,r['jsx'])(_0x1885bd(0x277),{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x281))}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':'univer-w-28','children':(0x0,r['jsx'])(e['Select'],{'className':'univer-w-full','value':String(_0x5befeb),'options':_0x492ab6,'onChange':_0x17da1d=>{const _0x2a7dfb=_0x1885bd;var _0x4251a6;_0xeae05b(Number(_0x17da1d));let _0x1654f6={'ln':{'startArrow':{'size':(_0x4251a6=_0x3e2daa['ln'])==null||(_0x4251a6=_0x4251a6['startArrow'])==null?void 0x0:_0x4251a6[_0x2a7dfb(0x34b)]}}};_0x1aca33==null||_0x1aca33({'oldShapeData':_0x1654f6},{'ln':{'startArrow':{'size':Number(_0x17da1d)}}});}})})]}),(0x0,r['jsxs'])(_0x1885bd(0x413),{'className':_0x1885bd(0x28f),'children':[(0x0,r[_0x1885bd(0x3a5)])('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2b8ae6['t'](_0x1885bd(0x194))}),(0x0,r[_0x1885bd(0x3a5)])(_0x1885bd(0x413),{'className':_0x1885bd(0x203),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x286)],{'className':_0x1885bd(0x1cd),'value':String(_0x51211a),'options':_0x1a05fc,'onChange':_0x345c77=>{const _0x33a731=_0x1885bd;var _0x31a915;_0x198ab0(Number(_0x345c77));let _0x5f4fc1={'ln':{'endArrow':{'type':(_0x31a915=_0x3e2daa['ln'])==null||(_0x31a915=_0x31a915[_0x33a731(0x3da)])==null?void 0x0:_0x31a915[_0x33a731(0x3ca)]}}};_0x1aca33==null||_0x1aca33({'oldShapeData':_0x5f4fc1},{'ln':{'endArrow':{'type':Number(_0x345c77)}}});}})})]}),(0x0,r['jsxs'])(_0x1885bd(0x413),{'className':_0x1885bd(0x28f),'children':[(0x0,r['jsx'])(_0x1885bd(0x277),{'className':_0x1885bd(0x1b9),'children':_0x2b8ae6['t'](_0x1885bd(0x269))}),(0x0,r[_0x1885bd(0x3a5)])('div',{'className':_0x1885bd(0x203),'children':(0x0,r[_0x1885bd(0x3a5)])(e[_0x1885bd(0x286)],{'className':_0x1885bd(0x1cd),'value':String(_0x32b47d),'options':_0x492ab6,'onChange':_0x3d54c5=>{const _0x722eb3=_0x1885bd;var _0x3695f1;_0x30eaa9(Number(_0x3d54c5));let _0x46cbfc={'ln':{'endArrow':{'size':(_0x3695f1=_0x3e2daa['ln'])==null||(_0x3695f1=_0x3695f1['endArrow'])==null?void 0x0:_0x3695f1[_0x722eb3(0x34b)]}}};_0x1aca33==null||_0x1aca33({'oldShapeData':_0x46cbfc},{'ln':{'endArrow':{'size':Number(_0x3d54c5)}}});}})})]})]})]})]});}function S(_0x52ccb2){const _0x28a1cd=_0x1ed3a4;let {shapeData:_0x5bbd8f,shapeId:_0x53642d,shapeType:_0x54fe64,version:_0x9e5cb5,disableShapeOption:_0x5c1805,positionEditor:_0x32853d,onUpdateShapeData:_0x5260e3,onUpdateLineShapeData:_0x334d06,onUpdateShapeFillImage:_0x4b5209}=_0x52ccb2,_0x460268=(0x0,o[_0x28a1cd(0x34f)])(a['LocaleService']),_0x2e9e86=(0x0,i[_0x28a1cd(0x19b)])(_0x54fe64),[_0x32b430,_0x41d62f]=(0x0,n['useState'])(0x0),_0x4f1a90=[{'label':(0x0,r['jsx'])(_0x28a1cd(0x413),{'children':_0x460268['t'](_0x28a1cd(0x15c))}),'children':(0x0,r[_0x28a1cd(0x3a5)])(_0x28a1cd(0x2c3),{'className':_0x28a1cd(0x342),'children':(0x0,r[_0x28a1cd(0x3a5)])(_,{'shapeId':_0x53642d,'shapeData':_0x5bbd8f,'isLineShape':_0x2e9e86,'disableShapeOption':_0x5c1805,'onUpdateShapeData':_0x5260e3,'onUpdateShapeFillImage':_0x4b5209},_0x53642d+'-'+_0x9e5cb5+_0x28a1cd(0x2ab))})},{'label':(0x0,r['jsx'])('div',{'children':_0x460268['t'](_0x28a1cd(0x2e3))}),'children':(0x0,r[_0x28a1cd(0x3a5)])(_0x28a1cd(0x2c3),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,r[_0x28a1cd(0x3a5)])(x,{'shapeId':_0x53642d,'shapeData':_0x5bbd8f,'isLineShape':_0x2e9e86,'disableShapeOption':_0x5c1805,'onUpdateShapeData':_0x5260e3,'onUpdateLineShapeData':_0x334d06},_0x53642d+'-'+_0x9e5cb5+_0x28a1cd(0x405))})}];return(0x0,r[_0x28a1cd(0x243)])(_0x28a1cd(0x413),{'className':'univer-size-full','children':[(0x0,r[_0x28a1cd(0x243)])(_0x28a1cd(0x413),{'className':_0x28a1cd(0x2a3),'children':[(0x0,r['jsxs'])(_0x28a1cd(0x413),{'className':(0x0,e[_0x28a1cd(0x2c8)])(_0x28a1cd(0x3d5),_0x32b430===0x0?_0x28a1cd(0x3cf):_0x28a1cd(0x331)),'onClick':()=>_0x41d62f(0x0),'children':[_0x460268['t'](_0x28a1cd(0x259)),(0x0,r[_0x28a1cd(0x3a5)])(_0x28a1cd(0x413),{'className':(0x0,e[_0x28a1cd(0x2c8)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x32b430===0x0,'univer-bg-transparent':_0x32b430!==0x0})})]}),(0x0,r[_0x28a1cd(0x243)])(_0x28a1cd(0x413),{'className':(0x0,e[_0x28a1cd(0x2c8)])('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',{'univer-text-primary-600':_0x32b430===0x1,'univer-text-gray-500':_0x32b430!==0x1}),'onClick':()=>_0x41d62f(0x1),'children':[_0x460268['t'](_0x28a1cd(0x215)),(0x0,r[_0x28a1cd(0x3a5)])('div',{'className':(0x0,e[_0x28a1cd(0x2c8)])(_0x28a1cd(0x32f),{'univer-bg-primary-600':_0x32b430===0x1,'univer-bg-transparent':_0x32b430!==0x1})})]})]}),(0x0,r[_0x28a1cd(0x3a5)])(_0x28a1cd(0x413),{'className':_0x28a1cd(0x25a),'children':_0x32b430===0x0?(0x0,r[_0x28a1cd(0x3a5)])('div',{'className':'','children':(0x0,r[_0x28a1cd(0x3a5)])(e['Accordion'],{'items':_0x4f1a90})},_0x9e5cb5):_0x32853d})]});}function C(_0x162ce4){const _0x22dfb1=_0x1ed3a4;return _0x162ce4[_0x22dfb1(0x3b9)](/\r\n/g,'\x0a')[_0x22dfb1(0x3b9)](/\r/g,'\x0a');}function w(_0x2e77e2){const _0x5ec7ca=_0x1ed3a4;if(_0x2e77e2&&_0x5ec7ca(0x1b4)in _0x2e77e2&&typeof _0x2e77e2[_0x5ec7ca(0x1b4)]==_0x5ec7ca(0x2df))return _0x2e77e2[_0x5ec7ca(0x1b4)];}function T(_0x17ef8c){const _0x4aeb88=_0x1ed3a4;if(!(!_0x17ef8c||!(_0x4aeb88(0x13f)in _0x17ef8c)||_0x17ef8c[_0x4aeb88(0x13f)]!==!0x1))return{..._0x17ef8c[_0x4aeb88(0x198)]?{'ff':_0x17ef8c[_0x4aeb88(0x198)]}:{},..._0x17ef8c[_0x4aeb88(0x1f9)]===void 0x0?{}:{'fs':_0x17ef8c['fontSize']},..._0x17ef8c[_0x4aeb88(0x15d)]?{'cl':{'rgb':_0x17ef8c[_0x4aeb88(0x15d)]}}:{},..._0x17ef8c[_0x4aeb88(0x288)]===void 0x0?{}:{'bl':_0x17ef8c[_0x4aeb88(0x288)]?a[_0x4aeb88(0x3a0)][_0x4aeb88(0x253)]:a[_0x4aeb88(0x3a0)][_0x4aeb88(0x2d2)]},..._0x17ef8c['italic']===void 0x0?{}:{'it':_0x17ef8c[_0x4aeb88(0x1fd)]?a[_0x4aeb88(0x3a0)]['TRUE']:a[_0x4aeb88(0x3a0)][_0x4aeb88(0x2d2)]},..._0x17ef8c[_0x4aeb88(0x200)]===void 0x0?{}:{'ul':{'s':_0x17ef8c['underline']?a[_0x4aeb88(0x3a0)]['TRUE']:a[_0x4aeb88(0x3a0)][_0x4aeb88(0x2d2)]}}};}function E(_0x49e46e,_0x1d2112=a[_0x1ed3a4(0x1df)][_0x1ed3a4(0x138)],_0x1a72c5=''){const _0x569395=_0x1ed3a4;let _0x30427e=C(_0x1a72c5)['split']('\x0a'),_0x29ca73=_0x30427e[_0x569395(0x332)]('\x0d')+'\x0d\x0a',_0x6f11b7=Math['max'](0x0,_0x29ca73['length']-0x2),_0x5b8937=new Set(),_0x570841=0x0,_0x37f165=_0x30427e['map'](_0x56530c=>{const _0x3958fe=_0x569395;let _0x35d825={'startIndex':_0x570841+_0x56530c['length'],'paragraphId':(0x0,a[_0x3958fe(0x394)])(_0x5b8937),'paragraphStyle':{'horizontalAlign':_0x1d2112}};return _0x570841+=_0x56530c[_0x3958fe(0x362)]+0x1,_0x35d825;});return{'id':_0x569395(0x376),'body':{'dataStream':_0x29ca73,'textRuns':_0x49e46e?[{'st':0x0,'ed':Math[_0x569395(0x40e)](0x1,_0x6f11b7),'ts':{..._0x49e46e}}]:[],'paragraphs':_0x37f165},'documentStyle':{'textStyle':_0x49e46e?{..._0x49e46e}:void 0x0}};}function D(_0x4a6c2e,_0x469407){const _0x1d1930=_0x1ed3a4;var _0x17b6f2,_0x5c0f48,_0x517001;let _0x4ff1c0=_0x4a6c2e[_0x1d1930(0x20c)],_0x396328=_0x4ff1c0&&_0x1d1930(0x28b)in _0x4ff1c0?_0x4ff1c0[_0x1d1930(0x28b)]:void 0x0,_0x35d451=(_0x17b6f2=(_0x5c0f48=_0x469407[_0x1d1930(0x3db)])==null?_0x396328==null?void 0x0:_0x396328['ha']:_0x5c0f48)==null?a[_0x1d1930(0x1df)][_0x1d1930(0x138)]:_0x17b6f2,_0x5e2344={...T(_0x4ff1c0),..._0x469407[_0x1d1930(0x209)]},_0x197f93=Object[_0x1d1930(0x329)](_0x5e2344)[_0x1d1930(0x362)]>0x0;if(_0x396328!=null&&_0x396328['doc']){var _0x4a33c9,_0x1016e2;return{'va':(_0x4a33c9=_0x396328['va'])==null?a[_0x1d1930(0x190)][_0x1d1930(0x211)]:_0x4a33c9,'ha':(_0x1016e2=_0x396328['ha'])==null?a['HorizontalAlign'][_0x1d1930(0x138)]:_0x1016e2,'doc':a['Tools'][_0x1d1930(0x1e2)](_0x396328[_0x1d1930(0x40b)])};}return{'va':a[_0x1d1930(0x190)][_0x1d1930(0x211)],'ha':_0x35d451,'doc':E(_0x197f93?_0x5e2344:void 0x0,_0x35d451,(_0x517001=w(_0x4ff1c0))==null?'':_0x517001)};}function O(_0x599829,_0x2decf5){const _0x1d8c8b=_0x1ed3a4;var _0x441b1d,_0x1971e9,_0x108e18,_0x5d30a9,_0x3f3fca;let _0x261996=_0x599829[_0x1d8c8b(0x20c)],_0x3f123f=_0x261996&&_0x1d8c8b(0x28b)in _0x261996&&_0x261996['dataModel']&&typeof _0x261996[_0x1d8c8b(0x28b)]==_0x1d8c8b(0x2f4)?_0x261996[_0x1d8c8b(0x28b)]:{},_0xc9b92c=w(_0x261996),_0x37e99f=D(_0x599829,_0x2decf5),_0x43a757=(_0x441b1d=_0x2decf5[_0x1d8c8b(0x3db)])==null?_0x37e99f['ha']:_0x441b1d,_0x12934b=(_0x1971e9=_0x2decf5[_0x1d8c8b(0x263)])==null?_0x37e99f['va']:_0x1971e9,_0x168aa3=_0x37e99f[_0x1d8c8b(0x40b)];if(_0x168aa3[_0x1d8c8b(0x1ba)]={..._0x168aa3[_0x1d8c8b(0x1ba)],'renderConfig':{...(_0x108e18=_0x168aa3['documentStyle'])==null?void 0x0:_0x108e18[_0x1d8c8b(0x34c)],'horizontalAlign':_0x43a757,'verticalAlign':_0x12934b}},_0x2decf5['textStyle']){var _0x3474a3,_0x2f9bf5;_0x168aa3['documentStyle']={..._0x168aa3[_0x1d8c8b(0x1ba)],'textStyle':{...(_0x3474a3=_0x168aa3[_0x1d8c8b(0x1ba)])==null?void 0x0:_0x3474a3['textStyle'],..._0x2decf5[_0x1d8c8b(0x209)]}};let _0x1d2d78=(_0x2f9bf5=_0x168aa3[_0x1d8c8b(0x186)])==null?void 0x0:_0x2f9bf5[_0x1d8c8b(0x1bb)];if(_0x1d2d78){for(let _0x4eded0 of _0x1d2d78)_0x4eded0['ts']={..._0x4eded0['ts'],..._0x2decf5['textStyle']};}}let _0x3effe1=(_0x5d30a9=_0x168aa3['body'])==null?void 0x0:_0x5d30a9[_0x1d8c8b(0x1ea)];if(_0x3effe1){for(let _0x150473 of _0x3effe1)_0x150473[_0x1d8c8b(0x289)]={..._0x150473[_0x1d8c8b(0x289)],'horizontalAlign':_0x43a757};}return{'shapeText':{..._0x261996==null?{}:_0x261996,'isHorizontal':(_0x3f3fca=_0x261996==null?void 0x0:_0x261996['isHorizontal'])==null?!0x0:_0x3f3fca,..._0xc9b92c===void 0x0?{}:{'text':_0xc9b92c},'dataModel':{..._0x3f123f,'va':_0x12934b,'ha':_0x43a757,'doc':_0x168aa3}}};}const k=_0x1ed3a4(0x336),A={'none':i['ShapeFillEnum'][_0x1ed3a4(0x340)],'solid':i[_0x1ed3a4(0x391)][_0x1ed3a4(0x1e4)],'gradient':i['ShapeFillEnum'][_0x1ed3a4(0x3bf)],'picture':i['ShapeFillEnum'][_0x1ed3a4(0x1d6)]};function j(_0x38b874){const _0x5384da=_0x1ed3a4;return _0x38b874 instanceof HTMLElement?!!_0x38b874[_0x5384da(0x2ca)](_0x5384da(0x206)):!0x1;}function M(_0x365148){const _0x2ce03c=_0x1ed3a4;j(_0x365148[_0x2ce03c(0x23c)])||_0x365148['preventDefault']();}function N(_0x24f319){_0x24f319['stopPropagation'](),M(_0x24f319);}function P(_0x21460c){const _0x324c0e=_0x1ed3a4;let _0x3f9e65=(0x0,n[_0x324c0e(0x265)])(!0x1),_0x5c7bd7=(0x0,n[_0x324c0e(0x265)])(null);return{'handleOpenChange':_0x28cb9d=>{const _0x2a3ce6=_0x324c0e;!_0x28cb9d&&_0x3f9e65[_0x2a3ce6(0x2fb)]||_0x21460c(_0x28cb9d);},'markInternalInteraction':()=>{const _0x879b0b=_0x324c0e;_0x3f9e65['current']=!0x0,_0x5c7bd7[_0x879b0b(0x2fb)]&&clearTimeout(_0x5c7bd7[_0x879b0b(0x2fb)]),_0x5c7bd7[_0x879b0b(0x2fb)]=setTimeout(()=>{const _0x4698f1=_0x879b0b;_0x3f9e65[_0x4698f1(0x2fb)]=!0x1,_0x5c7bd7[_0x4698f1(0x2fb)]=null;},0x1f4);}};}function F(){const _0x129621=_0x1ed3a4;return(0x0,r[_0x129621(0x243)])(_0x129621(0x412),{'viewBox':_0x129621(0x33d),'width':_0x129621(0x39b),'height':_0x129621(0x39b),'fill':_0x129621(0x297),'aria-hidden':_0x129621(0x173),'children':[(0x0,r[_0x129621(0x3a5)])('path',{'d':_0x129621(0x2af),'stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,r[_0x129621(0x3a5)])('path',{'d':_0x129621(0x17b),'stroke':_0x129621(0x2dc),'strokeWidth':_0x129621(0x2a1),'strokeLinecap':_0x129621(0x131)}),(0x0,r[_0x129621(0x3a5)])(_0x129621(0x2f6),{'d':'M2.5\x2010H5.7','stroke':_0x129621(0x2dc),'strokeWidth':_0x129621(0x2a1),'strokeLinecap':'round'}),(0x0,r[_0x129621(0x3a5)])(_0x129621(0x2f6),{'d':_0x129621(0x25d),'stroke':_0x129621(0x2dc),'strokeWidth':'1.4','strokeLinecap':_0x129621(0x131)}),(0x0,r[_0x129621(0x3a5)])(_0x129621(0x2f6),{'d':_0x129621(0x2bd),'stroke':'currentColor','strokeWidth':_0x129621(0x2a1),'strokeLinecap':'round'}),(0x0,r[_0x129621(0x3a5)])('path',{'d':_0x129621(0x183),'stroke':_0x129621(0x2dc),'strokeWidth':_0x129621(0x2a1),'strokeLinecap':'round'}),(0x0,r[_0x129621(0x3a5)])(_0x129621(0x304),{'x':_0x129621(0x22d),'y':'7','width':_0x129621(0x369),'height':'6','rx':'1','stroke':_0x129621(0x2dc),'strokeWidth':'1.4'})]});}function I(){const _0x3e4f2a=_0x1ed3a4;return(0x0,r[_0x3e4f2a(0x3a5)])('span',{'className':_0x3e4f2a(0x37d)});}function L(_0x4540b1){const _0x59b5e8=_0x1ed3a4;return(0x0,r[_0x59b5e8(0x3a5)])(_0x59b5e8(0x413),{'className':_0x59b5e8(0x2ec),'children':_0x4540b1['children']});}function R(_0x388613){const _0x1bc83c=_0x1ed3a4;return(0x0,r[_0x1bc83c(0x3a5)])(e[_0x1bc83c(0x334)],{'title':_0x388613[_0x1bc83c(0x249)],'placement':_0x1bc83c(0x36e),'children':(0x0,r[_0x1bc83c(0x3a5)])(_0x1bc83c(0x268),{'type':_0x1bc83c(0x268),'disabled':_0x388613[_0x1bc83c(0x2b3)],'onClick':_0x388613['onClick'],'className':(0x0,e[_0x1bc83c(0x2c8)])('univer-flex\x20univer-h-6\x20univer-w-6\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',{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x388613[_0x1bc83c(0x2dd)]}),'children':_0x388613['children']})});}function z(_0x553e9b){const _0x5d04a1=_0x1ed3a4;let {title:_0x1789e7,open:_0x15aec1,disabled:_0xb68366,icon:_0x3030bf,overlay:_0x4e914a,onApply:_0x355828,onOpenChange:_0x4f9b6e}=_0x553e9b,_0x2ccdaf=_0x5d04a1(0x271);return(0x0,r[_0x5d04a1(0x243)])(_0x5d04a1(0x413),{'className':'univer-flex\x20univer-h-6\x20univer-items-center','children':[(0x0,r['jsx'])(e[_0x5d04a1(0x334)],{'title':_0x1789e7,'placement':_0x5d04a1(0x36e),'children':(0x0,r['jsx'])(_0x5d04a1(0x268),{'type':_0x5d04a1(0x268),'disabled':_0xb68366,'onClick':_0x355828,'className':(0x0,e[_0x5d04a1(0x2c8)])(_0x2ccdaf,'univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none',{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x15aec1}),'children':_0x3030bf})}),(0x0,r['jsx'])(e[_0x5d04a1(0x38b)],{'disabled':_0xb68366,'open':_0x15aec1,'onOpenChange':_0x4f9b6e,'overlay':_0x4e914a,'children':(0x0,r[_0x5d04a1(0x3a5)])(_0x5d04a1(0x277),{'children':(0x0,r[_0x5d04a1(0x3a5)])(e[_0x5d04a1(0x334)],{'title':_0x1789e7,'placement':_0x5d04a1(0x36e),'children':(0x0,r[_0x5d04a1(0x3a5)])('button',{'type':'button','disabled':_0xb68366,'className':(0x0,e['clsx'])(_0x2ccdaf,_0x5d04a1(0x3fa),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x15aec1}),'children':(0x0,r[_0x5d04a1(0x3a5)])(t[_0x5d04a1(0x3fb)],{'className':(0x0,e['clsx'])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x15aec1})})})})})})]});}function B(_0x4a5a0e){const _0x2e5b08=_0x1ed3a4;switch(_0x4a5a0e){case i[_0x2e5b08(0x414)][_0x2e5b08(0x19a)]:case i[_0x2e5b08(0x414)][_0x2e5b08(0x37c)]:return'1\x203';case i['ShapeLineDashEnum'][_0x2e5b08(0x17a)]:return _0x2e5b08(0x36b);case i[_0x2e5b08(0x414)][_0x2e5b08(0x165)]:return'4\x202\x201\x202';case i[_0x2e5b08(0x414)][_0x2e5b08(0x176)]:return _0x2e5b08(0x1f5);case i[_0x2e5b08(0x414)][_0x2e5b08(0x311)]:return _0x2e5b08(0x3ab);case i[_0x2e5b08(0x414)][_0x2e5b08(0x39f)]:return _0x2e5b08(0x1e6);case i[_0x2e5b08(0x414)][_0x2e5b08(0x2f9)]:default:return;}}function V(_0x5b1ac9){const _0x17ead1=_0x1ed3a4;let {lineStrokeType:_0x2d37e7,dashType:_0x2a0df4,color:_0x5f0575='currentColor',width:_0x23c5e4=0x2,className:_0x1f636a}=_0x5b1ac9;return _0x2d37e7===i[_0x17ead1(0x197)]['NoLine']?(0x0,r['jsxs'])(_0x17ead1(0x277),{'className':(0x0,e[_0x17ead1(0x2c8)])(_0x17ead1(0x407),_0x1f636a),'children':[(0x0,r[_0x17ead1(0x3a5)])('span',{'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[_0x17ead1(0x3a5)])(_0x17ead1(0x277),{'className':_0x17ead1(0x418)})]}):(0x0,r[_0x17ead1(0x3a5)])('svg',{'className':(0x0,e[_0x17ead1(0x2c8)])(_0x17ead1(0x210),_0x1f636a),'viewBox':_0x17ead1(0x299),'aria-hidden':_0x17ead1(0x173),'children':(0x0,r[_0x17ead1(0x3a5)])(_0x17ead1(0x3eb),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x5f0575,'strokeWidth':Math[_0x17ead1(0x40e)](0x1,Math['min'](0x4,_0x23c5e4)),'strokeDasharray':B(_0x2a0df4),'strokeLinecap':_0x2a0df4===i[_0x17ead1(0x414)][_0x17ead1(0x19a)]?_0x17ead1(0x131):_0x17ead1(0x317)})});}function H(_0x257778){const _0x47235a=_0x1ed3a4;return(0x0,r[_0x47235a(0x3a5)])(_0x47235a(0x277),{'className':'univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','children':(0x0,r['jsx'])(V,{'dashType':_0x257778['dashType'],'color':_0x257778['color'],'width':_0x257778[_0x47235a(0x233)]})});}function U(_0x57a69b){const _0x5bbf0f=_0x1ed3a4;let {label:_0x16b59c,value:_0x4c2835,min:_0x767bb6,max:_0x3e4d05,step:_0x4b526c,disabled:_0xd26f4a,suffix:_0x1b9f40='',onChange:_0x13207d}=_0x57a69b;return(0x0,r[_0x5bbf0f(0x243)])('div',{'className':_0x5bbf0f(0x191),'children':[(0x0,r[_0x5bbf0f(0x243)])(_0x5bbf0f(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x5bbf0f(0x3a5)])(_0x5bbf0f(0x277),{'className':_0x5bbf0f(0x1ec),'children':_0x16b59c}),(0x0,r[_0x5bbf0f(0x243)])('span',{'className':_0x5bbf0f(0x156),'children':[_0x4c2835,_0x1b9f40]})]}),(0x0,r['jsx'])(_0x5bbf0f(0x315),{'type':'range','min':_0x767bb6,'max':_0x3e4d05,'step':_0x4b526c,'value':_0x4c2835,'disabled':_0xd26f4a,'onChange':_0x1b9108=>_0x13207d(Number(_0x1b9108[_0x5bbf0f(0x23c)][_0x5bbf0f(0x164)])),'className':_0x5bbf0f(0x20e)})]});}function W(_0x224700){const _0x80a7ca=_0x1ed3a4;var _0x2c0aad,_0x2ff750,_0x2e2093,_0x3112e6,_0x4e13f0;let {title:_0x2e6d3d,shapeData:_0xb51d8a,disabled:_0x488228,resetLabel:_0x39a7d6,onReset:_0x5187a4,onUpdateShapeData:_0x3d8d8f}=_0x224700,_0x552336=(0x0,o[_0x80a7ca(0x34f)])(a[_0x80a7ca(0x1db)]),[_0xa49f85,_0xd48cb4]=(0x0,n['useState'])(!0x1),[_0x51dbb6,_0x313fb5]=(0x0,n[_0x80a7ca(0x24b)])(!0x1),{handleOpenChange:_0x4978c5,markInternalInteraction:_0x3e38b3}=P(_0xd48cb4),_0x58a056=_0xb51d8a[_0x80a7ca(0x161)],_0x8143e5=(_0x2c0aad=_0x58a056==null?void 0x0:_0x58a056[_0x80a7ca(0x15d)])==null?_0x80a7ca(0x3b8):_0x2c0aad,_0x3e607e=Math['max'](0x1,Math['min'](0xa,Math['round']((_0x2ff750=_0x58a056==null?void 0x0:_0x58a056[_0x80a7ca(0x233)])==null?0x1:_0x2ff750))),_0x2b0e62=Math[_0x80a7ca(0x131)]((0x1-((_0x2e2093=_0x58a056==null?void 0x0:_0x58a056[_0x80a7ca(0x1be)])==null?0x1:_0x2e2093))*0x64),_0x1af647=(_0x3112e6=_0x58a056==null?void 0x0:_0x58a056[_0x80a7ca(0x141)])==null?i[_0x80a7ca(0x414)][_0x80a7ca(0x2f9)]:_0x3112e6,_0xaa90a1=(_0x4e13f0=_0x58a056==null?void 0x0:_0x58a056[_0x80a7ca(0x1f0)])==null?i[_0x80a7ca(0x197)][_0x80a7ca(0x2d1)]:_0x4e13f0,_0x2b9bbf=_0xaa90a1!==i[_0x80a7ca(0x197)][_0x80a7ca(0x23e)]&&_0x1af647!==i[_0x80a7ca(0x414)][_0x80a7ca(0x2f9)]&&_0x1af647!==i[_0x80a7ca(0x414)][_0x80a7ca(0x17a)],_0x1d4b67=_0xaa90a1===i[_0x80a7ca(0x197)]['NoLine']?_0x80a7ca(0x297):_0x1af647===i[_0x80a7ca(0x414)][_0x80a7ca(0x2f9)]?_0x80a7ca(0x20d):_0x1af647===i['ShapeLineDashEnum'][_0x80a7ca(0x17a)]?'dash':_0x80a7ca(0x1a6),_0x2e6c01=[{'label':(0x0,r[_0x80a7ca(0x3a5)])(H,{'dashType':i[_0x80a7ca(0x414)][_0x80a7ca(0x2f9)],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x2f9)])},{'label':(0x0,r[_0x80a7ca(0x3a5)])(H,{'dashType':i[_0x80a7ca(0x414)][_0x80a7ca(0x19a)],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x19a)])},{'label':(0x0,r['jsx'])(H,{'dashType':i[_0x80a7ca(0x414)]['SquareDot'],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x37c)])},{'label':(0x0,r[_0x80a7ca(0x3a5)])(H,{'dashType':i['ShapeLineDashEnum'][_0x80a7ca(0x17a)],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x17a)])},{'label':(0x0,r[_0x80a7ca(0x3a5)])(H,{'dashType':i['ShapeLineDashEnum'][_0x80a7ca(0x165)],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x165)])},{'label':(0x0,r['jsx'])(H,{'dashType':i[_0x80a7ca(0x414)][_0x80a7ca(0x176)],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i['ShapeLineDashEnum']['LongDash'])},{'label':(0x0,r[_0x80a7ca(0x3a5)])(H,{'dashType':i[_0x80a7ca(0x414)][_0x80a7ca(0x311)],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x311)])},{'label':(0x0,r[_0x80a7ca(0x3a5)])(H,{'dashType':i[_0x80a7ca(0x414)]['LongDashDotDot'],'color':_0x8143e5,'width':_0x3e607e}),'value':String(i[_0x80a7ca(0x414)][_0x80a7ca(0x39f)])}];(0x0,n['useEffect'])(()=>{const _0x59408c=_0x80a7ca;(!_0xa49f85||_0xaa90a1===i[_0x59408c(0x197)][_0x59408c(0x23e)])&&_0x313fb5(!0x1);},[_0xaa90a1,_0xa49f85]);let _0xf24b17=_0x35100c=>{_0x3d8d8f({'oldShapeData':{'stroke':_0xb51d8a['stroke']}},{'stroke':_0x35100c});},_0x3ca076=_0x186bc2=>{var _0x5c8189;_0xf24b17({..._0x58a056,'lineStrokeType':_0xaa90a1,'color':_0x8143e5,'width':_0x3e607e,'opacity':(_0x5c8189=_0x58a056==null?void 0x0:_0x58a056['opacity'])==null?0x1:_0x5c8189,'dashType':_0x1af647,..._0x186bc2});},_0x128a59=_0x5837ec=>{const _0x28ac1a=_0x80a7ca;if(_0x5837ec===_0x28ac1a(0x297)){_0x3ca076({'lineStrokeType':i[_0x28ac1a(0x197)]['NoLine']});return;}_0x3ca076({'lineStrokeType':i[_0x28ac1a(0x197)][_0x28ac1a(0x2d1)],'dashType':_0x5837ec===_0x28ac1a(0x20d)?i[_0x28ac1a(0x414)][_0x28ac1a(0x2f9)]:i[_0x28ac1a(0x414)][_0x28ac1a(0x17a)]});};return(0x0,r[_0x80a7ca(0x3a5)])(e[_0x80a7ca(0x38b)],{'disabled':_0x488228,'open':_0xa49f85,'onOpenChange':_0x4978c5,'overlay':(0x0,r['jsx'])(_0x80a7ca(0x413),{'onPointerDownCapture':_0x50236b=>{_0x3e38b3(),M(_0x50236b);},'onMouseDownCapture':_0x5a9638=>{_0x3e38b3(),M(_0x5a9638);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x167266=>{const _0x256d7f=_0x80a7ca;_0x167266[_0x256d7f(0x33c)](),(!(_0x167266[_0x256d7f(0x23c)]instanceof HTMLElement)||!_0x167266[_0x256d7f(0x23c)]['closest'](_0x256d7f(0x1b1)))&&_0x313fb5(!0x1);},'className':_0x80a7ca(0x24e),'children':(0x0,r['jsxs'])(_0x80a7ca(0x413),{'className':_0x80a7ca(0x29f),'children':[(0x0,r[_0x80a7ca(0x3a5)])('span',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','children':_0x552336['t'](_0x80a7ca(0x2e3))}),(0x0,r[_0x80a7ca(0x243)])('div',{'className':_0x80a7ca(0x356),'children':[[_0x80a7ca(0x297),_0x80a7ca(0x20d),_0x80a7ca(0x175)][_0x80a7ca(0x1c2)](_0x2b263c=>(0x0,r[_0x80a7ca(0x3a5)])(e[_0x80a7ca(0x334)],{'title':_0x2b263c===_0x80a7ca(0x297)?_0x552336['t'](_0x80a7ca(0x153)):_0x2b263c===_0x80a7ca(0x20d)?_0x552336['t'](_0x80a7ca(0x178)):_0x552336['t'](_0x80a7ca(0x177)),'placement':_0x80a7ca(0x2b0),'children':(0x0,r[_0x80a7ca(0x3a5)])('button',{'type':_0x80a7ca(0x268),'disabled':_0x488228,'aria-label':_0x2b263c,'onClick':()=>_0x128a59(_0x2b263c),'className':(0x0,e[_0x80a7ca(0x2c8)])(_0x80a7ca(0x32a),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x1d4b67===_0x2b263c}),'children':(0x0,r[_0x80a7ca(0x3a5)])(V,{'lineStrokeType':_0x2b263c==='none'?i[_0x80a7ca(0x197)]['NoLine']:i['ShapeLineTypeEnum']['SolidLine'],'dashType':_0x2b263c===_0x80a7ca(0x175)?i[_0x80a7ca(0x414)][_0x80a7ca(0x17a)]:i[_0x80a7ca(0x414)]['Solid'],'color':_0x2b263c==='none'?void 0x0:_0x8143e5,'width':_0x2b263c===_0x80a7ca(0x297)?0x2:_0x3e607e})})},_0x2b263c)),(0x0,r[_0x80a7ca(0x3a5)])(e[_0x80a7ca(0x38b)],{'disabled':_0x488228||_0xaa90a1===i[_0x80a7ca(0x197)][_0x80a7ca(0x23e)],'open':_0x51dbb6,'onOpenChange':_0x313fb5,'overlay':(0x0,r[_0x80a7ca(0x3a5)])('div',{'data-u-comp':_0x80a7ca(0x251),'onPointerDownCapture':_0x476a44=>{_0x3e38b3(),M(_0x476a44);},'onMouseDownCapture':_0x5001c9=>{_0x3e38b3(),M(_0x5001c9);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x54d2b1=>_0x54d2b1[_0x80a7ca(0x33c)](),'className':_0x80a7ca(0x3e3),'children':_0x2e6c01[_0x80a7ca(0x1c2)](_0x2f7077=>(0x0,r['jsx'])(_0x80a7ca(0x268),{'type':'button','onClick':()=>{const _0x40a3c1=_0x80a7ca;let _0x14a278=Number(_0x2f7077[_0x40a3c1(0x164)]);_0x3ca076({'lineStrokeType':i[_0x40a3c1(0x197)][_0x40a3c1(0x2d1)],'dashType':_0x14a278}),_0x313fb5(!0x1);},'className':(0x0,e[_0x80a7ca(0x2c8)])('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':_0x2f7077[_0x80a7ca(0x164)]===String(_0x1af647)}),'children':_0x2f7077[_0x80a7ca(0x22a)]},_0x2f7077[_0x80a7ca(0x164)]))}),'children':(0x0,r[_0x80a7ca(0x3a5)])(_0x80a7ca(0x277),{'className':_0x80a7ca(0x402),'data-u-comp':_0x80a7ca(0x251),'children':(0x0,r['jsx'])(e['Tooltip'],{'title':_0x552336['t'](_0x80a7ca(0x177)),'placement':_0x80a7ca(0x2b0),'children':(0x0,r[_0x80a7ca(0x243)])(_0x80a7ca(0x268),{'type':_0x80a7ca(0x268),'role':_0x80a7ca(0x2a0),'aria-expanded':_0x51dbb6,'disabled':_0x488228||_0xaa90a1===i[_0x80a7ca(0x197)][_0x80a7ca(0x23e)],'onClick':_0x5ddc1c=>{_0x5ddc1c['stopPropagation'](),_0x313fb5(_0x2c5815=>!_0x2c5815);},'className':(0x0,e[_0x80a7ca(0x2c8)])(_0x80a7ca(0x2d9),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x2b9bbf}),'children':[(0x0,r[_0x80a7ca(0x3a5)])(V,{'dashType':i['ShapeLineDashEnum']['LongDashDot'],'color':_0x8143e5,'width':_0x3e607e,'className':_0x80a7ca(0x3b3)}),(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e[_0x80a7ca(0x2c8)])(_0x80a7ca(0x36f),{'univer-rotate-180':_0x51dbb6})})]})})})})]}),(0x0,r['jsx'])(U,{'label':_0x552336['t'](_0x80a7ca(0x301)),'value':_0x3e607e,'min':0x1,'max':0xa,'step':0x1,'disabled':_0x488228||_0xaa90a1===i[_0x80a7ca(0x197)]['NoLine'],'onChange':_0x5dd30b=>{const _0x3bdec2=_0x80a7ca;_0x3ca076({'lineStrokeType':i['ShapeLineTypeEnum'][_0x3bdec2(0x2d1)],'width':_0x5dd30b});}}),(0x0,r[_0x80a7ca(0x3a5)])(_0x80a7ca(0x413),{'className':_0x80a7ca(0x2f7)}),_0x5187a4&&(0x0,r[_0x80a7ca(0x3a5)])('button',{'type':_0x80a7ca(0x268),'disabled':_0x488228,'onClick':()=>{_0x5187a4(),_0xd48cb4(!0x1);},'className':_0x80a7ca(0x279),'children':_0x39a7d6==null?'Reset\x20color':_0x39a7d6}),(0x0,r[_0x80a7ca(0x3a5)])(e['ColorPicker'],{'value':_0x8143e5,'onChange':_0x3ba83d=>{const _0x21bc85=_0x80a7ca;_0x3ca076({'lineStrokeType':i[_0x21bc85(0x197)][_0x21bc85(0x2d1)],'color':_0x3ba83d});}}),(0x0,r[_0x80a7ca(0x3a5)])(U,{'label':_0x552336['t'](_0x80a7ca(0x1d3)),'value':_0x2b0e62,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x488228||_0xaa90a1===i[_0x80a7ca(0x197)]['NoLine'],'onChange':_0xdf2405=>{const _0xa6d851=_0x80a7ca;_0x3ca076({'opacity':(0x64-Math[_0xa6d851(0x40e)](0x0,Math[_0xa6d851(0x1da)](0x64,_0xdf2405)))/0x64});}})]})}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x80a7ca(0x3a5)])(e[_0x80a7ca(0x334)],{'title':_0x2e6d3d,'placement':_0x80a7ca(0x36e),'children':(0x0,r[_0x80a7ca(0x243)])('button',{'type':_0x80a7ca(0x268),'disabled':_0x488228,'className':(0x0,e[_0x80a7ca(0x2c8)])(_0x80a7ca(0x335),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0xa49f85}),'children':[(0x0,r['jsx'])(t[_0x80a7ca(0x361)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x8143e5}}),(0x0,r[_0x80a7ca(0x3a5)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x80a7ca(0x36f),{'univer-rotate-180':_0xa49f85})})]})})})});}function G(_0x31bf0f){const _0x218925=_0x1ed3a4;var _0x18ac10,_0xa9d1c5;return(_0x18ac10=(_0xa9d1c5=_0x31bf0f[_0x218925(0x214)])==null?void 0x0:_0xa9d1c5[_0x218925(0x3a6)])==null?i[_0x218925(0x391)][_0x218925(0x340)]:_0x18ac10;}function K(_0x31e7b6){const _0x26255b=_0x1ed3a4;switch(_0x31e7b6){case i[_0x26255b(0x358)][_0x26255b(0x1bf)]:return _0x26255b(0x1ad);case i[_0x26255b(0x358)][_0x26255b(0x2db)]:return _0x26255b(0x370);case i[_0x26255b(0x358)][_0x26255b(0x365)]:return _0x26255b(0x143);case i[_0x26255b(0x358)]['Linear']:default:return _0x26255b(0x21a);}}function q(_0x2ee860){const _0x226613=_0x1ed3a4;switch(_0x2ee860){case _0x226613(0x1ad):return i[_0x226613(0x358)][_0x226613(0x1bf)];case'angular':return i[_0x226613(0x358)][_0x226613(0x2db)];case'diamond':return i['ShapeGradientTypeEnum'][_0x226613(0x365)];default:return i[_0x226613(0x358)]['Linear'];}}function J(_0x22f90e,_0xf22942){const _0x77fa08=_0x1ed3a4;var _0x395f53;let _0x552d87=_0x22f90e['fill'];return{'type':K(_0x552d87==null?void 0x0:_0x552d87[_0x77fa08(0x208)]),'angle':(_0x395f53=_0x552d87==null?void 0x0:_0x552d87[_0x77fa08(0x12f)])==null?0x0:_0x395f53,'stops':_0x552d87!=null&&_0x552d87[_0x77fa08(0x3e1)]&&_0x552d87[_0x77fa08(0x3e1)][_0x77fa08(0x362)]>=0x2?_0x552d87[_0x77fa08(0x3e1)]['map'](_0x7c857e=>({'color':_0x7c857e['color'],'offset':_0x7c857e[_0x77fa08(0x27c)]*0x64,'opacity':_0x7c857e['opacity']})):[{'color':_0xf22942,'offset':0x0},{'color':'#000000','offset':0x64}]};}function ee(_0x45629e){const _0x573577=_0x1ed3a4;var _0x5f2afc,_0x34b540,_0x41183e;let {shapeData:_0x3f7857,disabled:_0x1f71e9,onUpdateShapeData:_0x572a8c}=_0x45629e,_0x37b810=(0x0,o[_0x573577(0x34f)])(a['LocaleService']),_0x58aefc=(0x0,o[_0x573577(0x34f)])(a['IContextService']),_0x262d6c=(0x0,o[_0x573577(0x34f)])(s[_0x573577(0x390)]),_0x52c9f0=(0x0,n[_0x573577(0x265)])(null),_0xda2ec4=_0x3f7857[_0x573577(0x214)],_0x2226c4=(_0x5f2afc=(_0x34b540=_0xda2ec4==null?void 0x0:_0xda2ec4[_0x573577(0x3e8)])==null?_0xda2ec4==null?void 0x0:_0xda2ec4[_0x573577(0x1be)]:_0x34b540)==null?0x1:_0x5f2afc,_0x1541d5=Math[_0x573577(0x131)]((0x1-_0x2226c4)*0x64),_0x55cba4=_0xda2ec4!=null&&_0xda2ec4[_0x573577(0x192)]&&/^(?:data:|https?:)/[_0x573577(0x3f0)](_0xda2ec4[_0x573577(0x192)])?_0xda2ec4['fillImageSource']:void 0x0,_0x538d75=_0xa9425f=>{const _0x46b186=_0x573577;var _0x4ef70b;_0x572a8c({'oldShapeData':{'fill':_0xda2ec4?{..._0xda2ec4}:void 0x0}},{'fill':{..._0xda2ec4,'fillType':i[_0x46b186(0x391)][_0x46b186(0x1d6)],'imageFillMode':(_0x4ef70b=_0xda2ec4==null?void 0x0:_0xda2ec4[_0x46b186(0x3c9)])==null?i[_0x46b186(0x40a)][_0x46b186(0x37a)]:_0x4ef70b,..._0xa9425f}});};return(0x0,r['jsxs'])('div',{'className':_0x573577(0x220),'children':[(0x0,r['jsxs'])(_0x573577(0x413),{'className':_0x573577(0x3a1),'children':[(0x0,r[_0x573577(0x3a5)])('span',{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x37b810['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0x573577(0x3a5)])('input',{'ref':_0x52c9f0,'type':'file','accept':'image/*','className':_0x573577(0x29d),'onChange':async _0x399ee0=>{const _0x5deec0=_0x573577;var _0xe7d50e;let _0x743813=(_0xe7d50e=_0x399ee0[_0x5deec0(0x23c)][_0x5deec0(0x14e)])==null?void 0x0:_0xe7d50e[0x0];if(!_0x743813)return;_0x399ee0[_0x5deec0(0x23c)][_0x5deec0(0x164)]='';let _0x58da99=await _0x262d6c['saveImage'](_0x743813);if(_0x58da99==null)return;let {imageSourceType:_0x24a690,source:_0x32f711,base64Cache:_0x1291f8}=_0x58da99,{image:_0x2b7bab}=await(0x0,s['getImageSize'])(_0x1291f8||'');_0x262d6c[_0x5deec0(0x218)](_0x32f711,_0x24a690,_0x2b7bab),_0x538d75({'fillImageSource':_0x32f711,'fillImageSourceType':_0x24a690,'imageOpacity':_0x2226c4});}}),(0x0,r[_0x573577(0x3a5)])('button',{'type':'button','disabled':_0x1f71e9,'onClick':()=>{const _0x2576ea=_0x573577;var _0x1ba9f8;return(_0x1ba9f8=_0x52c9f0[_0x2576ea(0x2fb)])==null?void 0x0:_0x1ba9f8[_0x2576ea(0x160)]();},'className':_0x573577(0x154),'children':_0x37b810['t'](_0x573577(0x237))})]}),_0x55cba4&&(0x0,r['jsx'])(_0x573577(0x3af),{'src':_0x55cba4,'alt':'','className':_0x573577(0x133)}),(0x0,r['jsxs'])(_0x573577(0x413),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x573577(0x3a5)])(_0x573577(0x277),{'className':_0x573577(0x3ce),'children':_0x37b810['t'](_0x573577(0x398))}),(0x0,r['jsx'])('div',{'className':_0x573577(0x182),'children':(0x0,r[_0x573577(0x3a5)])(e[_0x573577(0x2e5)],{'className':'univer-w-full','value':_0x1541d5,'disabled':_0x1f71e9,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1629d6=>_0x1629d6+'%','parser':_0x156aed=>(_0x156aed==null?void 0x0:_0x156aed['replace']('%',''))||'','onChange':_0x4a198d=>{const _0x854824=_0x573577;_0x538d75({'imageOpacity':(0x64-Math[_0x854824(0x40e)](0x0,Math[_0x854824(0x1da)](0x64,_0x4a198d==null?0x0:_0x4a198d)))/0x64}),_0x58aefc[_0x854824(0x21b)](a[_0x854824(0x28e)],!0x1);},'onFocus':()=>_0x58aefc[_0x573577(0x21b)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x58aefc[_0x573577(0x21b)](a[_0x573577(0x28e)],!0x1)})})]}),(0x0,r['jsx'])(e[_0x573577(0x135)],{'checked':(_0x41183e=_0xda2ec4==null?void 0x0:_0xda2ec4[_0x573577(0x24a)])==null?!0x1:_0x41183e,'disabled':_0x1f71e9,'onChange':_0x11da71=>{_0x538d75({'imageRotateWithShape':_0x11da71});},'children':(0x0,r[_0x573577(0x3a5)])(_0x573577(0x277),{'className':_0x573577(0x3ed),'children':_0x37b810['t'](_0x573577(0x15e))})})]});}function te(_0x286ed7){const _0xbcac18=_0x1ed3a4;var _0x521eab,_0x42ec72;let {title:_0x2e7c66,shapeData:_0x387a54,disabled:_0x2a005f,onUpdateShapeData:_0x1364eb}=_0x286ed7,_0x1a39be=(0x0,o['useDependency'])(a[_0xbcac18(0x1db)]),[_0x1b7f0f,_0x367d65]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x216d13,markInternalInteraction:_0x269ed1}=P(_0x367d65),_0x1b4f3=_0x387a54[_0xbcac18(0x214)],_0x1bae0e=G(_0x387a54),_0x260190=(_0x521eab=_0x1b4f3==null?void 0x0:_0x1b4f3[_0xbcac18(0x15d)])==null?_0xbcac18(0x1a1):_0x521eab,_0x2806eb=_0x5ec57e=>{_0x1364eb({'oldShapeData':{'fill':_0x1b4f3?{..._0x1b4f3}:void 0x0}},{'fill':_0x5ec57e});},_0xac99d5=()=>{const _0x3db275=_0xbcac18;let _0x45779e=J(_0x387a54,_0x260190);return{..._0x1b4f3,'fillType':i[_0x3db275(0x391)][_0x3db275(0x3bf)],'color':_0x260190,'gradientType':q(_0x45779e['type']),'gradientAngle':_0x45779e['angle'],'gradientStops':_0x45779e[_0x3db275(0x2ff)][_0x3db275(0x1c2)](_0x2009ee=>({'position':_0x2009ee[_0x3db275(0x30e)]/0x64,'color':_0x2009ee[_0x3db275(0x15d)],'opacity':_0x2009ee['opacity']}))};};return(0x0,r['jsx'])(e[_0xbcac18(0x38b)],{'disabled':_0x2a005f,'open':_0x1b7f0f,'onOpenChange':_0x216d13,'overlay':(0x0,r[_0xbcac18(0x3a5)])(_0xbcac18(0x413),{'onPointerDownCapture':_0x1d2305=>{_0x269ed1(),M(_0x1d2305);},'onMouseDownCapture':_0x4345a1=>{_0x269ed1(),M(_0x4345a1);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x4dbfa3=>_0x4dbfa3[_0xbcac18(0x33c)](),'className':_0xbcac18(0x25f),'children':(0x0,r['jsx'])(m,{'compact':!0x0,'disabled':_0x2a005f,'value':_0x1bae0e,'typeValues':A,'color':_0x260190,'transparency':Math['round']((0x1-((_0x42ec72=_0x1b4f3==null?void 0x0:_0x1b4f3[_0xbcac18(0x1be)])==null?0x1:_0x42ec72))*0x64),'gradientValue':J(_0x387a54,_0x260190),'labels':{'noFill':_0x1a39be['t'](_0xbcac18(0x22c)),'solidFill':_0x1a39be['t'](_0xbcac18(0x363)),'gradientFill':_0x1a39be['t'](_0xbcac18(0x1d8)),'pictureFill':_0x1a39be['t']('shape-editor-ui.fill.pictureFill'),'color':_0x1a39be['t']('shape-editor-ui.fill.color'),'transparency':_0x1a39be['t'](_0xbcac18(0x398))},'tabLabels':{'noFill':_0x1a39be['t'](_0xbcac18(0x22c)),'solidFill':_0x1a39be['t'](_0xbcac18(0x363)),'gradientFill':_0x1a39be['t'](_0xbcac18(0x1d8)),'pictureFill':_0x1a39be['t']('shape-editor-ui.fill.pictureFill')},'renderColorIcon':_0x354bc5=>(0x0,r['jsx'])(t[_0xbcac18(0x1a4)],{'className':_0xbcac18(0x2c4),'extend':{'colorChannel1':_0x354bc5}}),'onChange':_0x18aed9=>{const _0x1c1606=_0xbcac18;if(_0x18aed9===i[_0x1c1606(0x391)]['NoFill'])_0x2806eb({..._0x1b4f3,'fillType':i[_0x1c1606(0x391)][_0x1c1606(0x340)]});else{if(_0x18aed9===i[_0x1c1606(0x391)][_0x1c1606(0x1e4)]){var _0x4a39a1;_0x2806eb({..._0x1b4f3,'fillType':i['ShapeFillEnum']['SolidFill'],'color':_0x260190,'opacity':(_0x4a39a1=_0x1b4f3==null?void 0x0:_0x1b4f3['opacity'])==null?0x1:_0x4a39a1});}else{if(_0x18aed9===i[_0x1c1606(0x391)]['GradientFill'])_0x2806eb(_0xac99d5());else{if(_0x18aed9===i['ShapeFillEnum'][_0x1c1606(0x1d6)]){var _0x1265de,_0x311810;_0x2806eb({..._0x1b4f3,'fillType':i['ShapeFillEnum'][_0x1c1606(0x1d6)],'color':_0x260190,'imageOpacity':(_0x1265de=_0x1b4f3==null?void 0x0:_0x1b4f3['imageOpacity'])==null?0x1:_0x1265de,'imageFillMode':(_0x311810=_0x1b4f3==null?void 0x0:_0x1b4f3[_0x1c1606(0x3c9)])==null?i[_0x1c1606(0x40a)]['Stretch']:_0x311810});}}}}},'onColorChange':_0x3c2338=>{const _0x390784=_0xbcac18;var _0x3b34d2;_0x2806eb({..._0x1b4f3,'fillType':i[_0x390784(0x391)][_0x390784(0x1e4)],'color':_0x3c2338,'opacity':(_0x3b34d2=_0x1b4f3==null?void 0x0:_0x1b4f3[_0x390784(0x1be)])==null?0x1:_0x3b34d2});},'onTransparencyChange':_0x44b565=>{const _0x390c7f=_0xbcac18;_0x2806eb({..._0x1b4f3,'fillType':i[_0x390c7f(0x391)][_0x390c7f(0x1e4)],'color':_0x260190,'opacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x44b565)))/0x64});},'onGradientChange':_0xaf82a7=>{const _0x295fcd=_0xbcac18;_0x2806eb({..._0x1b4f3,'fillType':i[_0x295fcd(0x391)][_0x295fcd(0x3bf)],'color':_0x260190,'gradientType':q(_0xaf82a7[_0x295fcd(0x3ca)]),'gradientAngle':_0xaf82a7[_0x295fcd(0x408)],'gradientStops':_0xaf82a7[_0x295fcd(0x2ff)][_0x295fcd(0x1c2)](_0x300916=>({'position':_0x300916[_0x295fcd(0x30e)]/0x64,'color':_0x300916[_0x295fcd(0x15d)],'opacity':_0x300916['opacity']}))});},'pictureFillEditor':(0x0,r['jsx'])(ee,{'shapeData':_0x387a54,'disabled':_0x2a005f,'onUpdateShapeData':_0x1364eb})})}),'children':(0x0,r['jsx'])(_0xbcac18(0x277),{'children':(0x0,r[_0xbcac18(0x3a5)])(e['Tooltip'],{'title':_0x2e7c66,'placement':_0xbcac18(0x36e),'children':(0x0,r['jsxs'])('button',{'type':_0xbcac18(0x268),'disabled':_0x2a005f,'className':(0x0,e[_0xbcac18(0x2c8)])(_0xbcac18(0x335),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x1b7f0f}),'children':[(0x0,r['jsx'])(t[_0xbcac18(0x1a4)],{'className':_0xbcac18(0x333),'extend':{'colorChannel1':_0x1bae0e===i[_0xbcac18(0x391)][_0xbcac18(0x340)]?'transparent':_0x260190}}),(0x0,r[_0xbcac18(0x3a5)])(t[_0xbcac18(0x3fb)],{'className':(0x0,e[_0xbcac18(0x2c8)])(_0xbcac18(0x36f),{'univer-rotate-180':_0x1b7f0f})})]})})})});}function ne(_0x1868d6){const _0x45cdfc=_0x1ed3a4;switch(_0x1868d6==null?void 0x0:_0x1868d6[_0x45cdfc(0x3ca)]){case _0x45cdfc(0x297):return i[_0x45cdfc(0x391)][_0x45cdfc(0x340)];case _0x45cdfc(0x270):return i[_0x45cdfc(0x391)][_0x45cdfc(0x3bf)];case _0x45cdfc(0x1ab):return i[_0x45cdfc(0x391)]['PictureFill'];default:return i['ShapeFillEnum'][_0x45cdfc(0x1e4)];}}function Y(_0x4c0d6a,_0x18a3f0){const _0x4ef229=_0x1ed3a4;var _0x23c416,_0x2486ff,_0x6742a,_0x29bdf4,_0x39ed62;return{'type':(_0x23c416=_0x4c0d6a==null||(_0x2486ff=_0x4c0d6a[_0x4ef229(0x270)])==null?void 0x0:_0x2486ff['type'])==null?_0x4ef229(0x21a):_0x23c416,'angle':(_0x6742a=_0x4c0d6a==null||(_0x29bdf4=_0x4c0d6a[_0x4ef229(0x270)])==null?void 0x0:_0x29bdf4[_0x4ef229(0x408)])==null?0x0:_0x6742a,'stops':!(_0x4c0d6a==null||(_0x39ed62=_0x4c0d6a[_0x4ef229(0x270)])==null)&&_0x39ed62[_0x4ef229(0x2ff)]&&_0x4c0d6a['gradient'][_0x4ef229(0x2ff)]['length']>=0x2?_0x4c0d6a[_0x4ef229(0x270)]['stops'][_0x4ef229(0x1c2)](_0x4a919d=>({'color':_0x4a919d[_0x4ef229(0x15d)],'offset':_0x4a919d[_0x4ef229(0x30e)],'opacity':_0x4a919d[_0x4ef229(0x1be)]})):[{'color':_0x18a3f0,'offset':0x0},{'color':_0x4ef229(0x3b0),'offset':0x64}]};}function X(_0x4a07a0,_0x35a9a6){const _0x3d135b=_0x1ed3a4;var _0x2c6d32,_0x18954c,_0x42801b;return(_0x2c6d32=_0x4a07a0[_0x3d135b(0x320)])==null?{'type':_0x3d135b(0x20d),'color':(_0x18954c=(_0x42801b=_0x4a07a0['cl'])==null?void 0x0:_0x42801b['rgb'])==null?_0x35a9a6:_0x18954c,'opacity':0x1}:_0x2c6d32;}function re(_0x37ffa3,_0x424873){const _0xc44ab2=_0x1ed3a4;var _0x3ac689,_0x1fc789,_0x5af3a3;return(_0x3ac689=(_0x1fc789=_0x37ffa3['color'])==null?(_0x5af3a3=_0x37ffa3[_0xc44ab2(0x270)])==null||(_0x5af3a3=_0x5af3a3['stops'])==null||(_0x5af3a3=_0x5af3a3[0x0])==null?void 0x0:_0x5af3a3[_0xc44ab2(0x15d)]:_0x1fc789)==null?_0x424873:_0x3ac689;}function ie(_0x2b5694){const _0xa6a2a3=_0x1ed3a4;var _0xa5f18c,_0x51c5cf,_0x23b2a4,_0x4e54bf;let {fill:_0x5d0916,disabled:_0x1870f0,onChange:_0x1a962f}=_0x2b5694,_0x4b2cc9=(0x0,o['useDependency'])(a[_0xa6a2a3(0x1db)]),_0x17b932=(0x0,o[_0xa6a2a3(0x34f)])(a[_0xa6a2a3(0x352)]),_0x420e08=(0x0,o[_0xa6a2a3(0x34f)])(s[_0xa6a2a3(0x390)]),_0x254893=(0x0,n[_0xa6a2a3(0x265)])(null),_0x21858a=(_0xa5f18c=(_0x51c5cf=(_0x23b2a4=_0x5d0916[_0xa6a2a3(0x1ab)])==null?void 0x0:_0x23b2a4[_0xa6a2a3(0x1be)])==null?_0x5d0916[_0xa6a2a3(0x1be)]:_0x51c5cf)==null?0x1:_0xa5f18c,_0xaed3d9=Math['round']((0x1-_0x21858a)*0x64),_0x2713a9=(_0x4e54bf=_0x5d0916[_0xa6a2a3(0x1ab)])!=null&&_0x4e54bf[_0xa6a2a3(0x15b)]&&/^(?:data:|https?:)/['test'](_0x5d0916[_0xa6a2a3(0x1ab)][_0xa6a2a3(0x15b)])?_0x5d0916[_0xa6a2a3(0x1ab)][_0xa6a2a3(0x15b)]:void 0x0,_0x3d4141=_0x14e5a0=>{const _0x550812=_0xa6a2a3;var _0x52cb41,_0x18ee02;_0x1a962f({..._0x5d0916,'type':_0x550812(0x1ab),'picture':{..._0x5d0916[_0x550812(0x1ab)],'mode':(_0x52cb41=(_0x18ee02=_0x5d0916[_0x550812(0x1ab)])==null?void 0x0:_0x18ee02[_0x550812(0x3e0)])==null?_0x550812(0x393):_0x52cb41,..._0x14e5a0}});};return(0x0,r[_0xa6a2a3(0x243)])(_0xa6a2a3(0x413),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,r['jsxs'])('div',{'className':_0xa6a2a3(0x3a1),'children':[(0x0,r['jsx'])(_0xa6a2a3(0x277),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4b2cc9['t'](_0xa6a2a3(0x1f8))}),(0x0,r[_0xa6a2a3(0x3a5)])(_0xa6a2a3(0x315),{'ref':_0x254893,'type':'file','accept':_0xa6a2a3(0x134),'className':_0xa6a2a3(0x29d),'onChange':async _0x2083f1=>{const _0x5f2030=_0xa6a2a3;var _0x3c6434;let _0x6291a5=(_0x3c6434=_0x2083f1[_0x5f2030(0x23c)][_0x5f2030(0x14e)])==null?void 0x0:_0x3c6434[0x0];if(!_0x6291a5)return;_0x2083f1['target']['value']='';let _0x4a212c=await _0x420e08[_0x5f2030(0x349)](_0x6291a5);if(_0x4a212c==null)return;let {imageSourceType:_0x1f4e84,source:_0x11439d,base64Cache:_0x4d5a24}=_0x4a212c;_0x3d4141({'source':_0x4d5a24||_0x11439d,'sourceType':_0x1f4e84,'opacity':_0x21858a});}}),(0x0,r[_0xa6a2a3(0x3a5)])(_0xa6a2a3(0x268),{'type':'button','disabled':_0x1870f0,'onClick':()=>{const _0x371f35=_0xa6a2a3;var _0x3ff08d;return(_0x3ff08d=_0x254893[_0x371f35(0x2fb)])==null?void 0x0:_0x3ff08d[_0x371f35(0x160)]();},'className':_0xa6a2a3(0x154),'children':_0x4b2cc9['t'](_0xa6a2a3(0x237))})]}),_0x2713a9&&(0x0,r[_0xa6a2a3(0x3a5)])('img',{'src':_0x2713a9,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r[_0xa6a2a3(0x243)])(_0xa6a2a3(0x413),{'className':_0xa6a2a3(0x3a1),'children':[(0x0,r[_0xa6a2a3(0x3a5)])(_0xa6a2a3(0x277),{'className':_0xa6a2a3(0x3ce),'children':_0x4b2cc9['t'](_0xa6a2a3(0x398))}),(0x0,r[_0xa6a2a3(0x3a5)])('div',{'className':_0xa6a2a3(0x182),'children':(0x0,r[_0xa6a2a3(0x3a5)])(e[_0xa6a2a3(0x2e5)],{'className':'univer-w-full','value':_0xaed3d9,'disabled':_0x1870f0,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2acccf=>_0x2acccf+'%','parser':_0x1def8f=>(_0x1def8f==null?void 0x0:_0x1def8f[_0xa6a2a3(0x3b9)]('%',''))||'','onChange':_0x2082d8=>{const _0xfbdb13=_0xa6a2a3;_0x3d4141({'opacity':(0x64-Math[_0xfbdb13(0x40e)](0x0,Math[_0xfbdb13(0x1da)](0x64,_0x2082d8==null?0x0:_0x2082d8)))/0x64}),_0x17b932[_0xfbdb13(0x21b)](a[_0xfbdb13(0x28e)],!0x1);},'onFocus':()=>_0x17b932[_0xa6a2a3(0x21b)](a[_0xa6a2a3(0x28e)],!0x0),'onBlur':()=>_0x17b932[_0xa6a2a3(0x21b)](a[_0xa6a2a3(0x28e)],!0x1)})})]})]});}function Z(_0xe57ca8){const _0x4524ad=_0x1ed3a4;var _0x24976f;let {title:_0x3d8ab0,textStyle:_0x2e1a50,fallbackColor:_0x3be262,onChange:_0x6e8130}=_0xe57ca8,_0x36b1be=(0x0,o[_0x4524ad(0x34f)])(a[_0x4524ad(0x1db)]),[_0xba674c,_0x2c3580]=(0x0,n[_0x4524ad(0x24b)])(!0x1),{handleOpenChange:_0x725c9,markInternalInteraction:_0x223217}=P(_0x2c3580),_0xa8b68=X(_0x2e1a50,_0x3be262),_0x2f667a=ne(_0xa8b68),_0x5f5c40=re(_0xa8b68,_0x3be262),_0x4570d5=_0x4c3e56=>{const _0x48b731=_0x4524ad;_0x6e8130({'cl':{'rgb':_0x4c3e56[_0x48b731(0x3ca)]===_0x48b731(0x297)?_0x48b731(0x149):re(_0x4c3e56,_0x3be262)},'textFill':_0x4c3e56});},_0x8ef6e=()=>{const _0x36ad13=_0x4524ad;let _0x3675c5=Y(_0xa8b68,_0x5f5c40);return{..._0xa8b68,'type':_0x36ad13(0x270),'gradient':{'type':_0x3675c5[_0x36ad13(0x3ca)],'angle':_0x3675c5[_0x36ad13(0x408)],'stops':_0x3675c5['stops']['map'](_0x53cb1e=>({'offset':_0x53cb1e[_0x36ad13(0x30e)],'color':_0x53cb1e[_0x36ad13(0x15d)],'opacity':_0x53cb1e['opacity']}))}};};return(0x0,r[_0x4524ad(0x3a5)])(z,{'title':_0x3d8ab0,'open':_0xba674c,'icon':(0x0,r[_0x4524ad(0x3a5)])(t[_0x4524ad(0x291)],{'className':_0x4524ad(0x333),'extend':{'colorChannel1':_0x5f5c40}}),'onApply':()=>{const _0x4fd3cb=_0x4524ad;var _0x2f5899;return _0x4570d5({..._0xa8b68,'type':_0x4fd3cb(0x20d),'color':_0x5f5c40,'opacity':(_0x2f5899=_0xa8b68[_0x4fd3cb(0x1be)])==null?0x1:_0x2f5899});},'onOpenChange':_0x725c9,'overlay':(0x0,r[_0x4524ad(0x3a5)])('div',{'onPointerDownCapture':_0x2b2cc9=>{_0x223217(),M(_0x2b2cc9);},'onMouseDownCapture':_0x5a9e58=>{_0x223217(),M(_0x5a9e58);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x37d440=>_0x37d440['stopPropagation'](),'className':_0x4524ad(0x25f),'children':(0x0,r[_0x4524ad(0x3a5)])(m,{'compact':!0x0,'value':_0x2f667a,'typeValues':A,'color':_0x5f5c40,'transparency':Math['round']((0x1-((_0x24976f=_0xa8b68[_0x4524ad(0x1be)])==null?0x1:_0x24976f))*0x64),'gradientValue':Y(_0xa8b68,_0x5f5c40),'labels':{'noFill':_0x36b1be['t'](_0x4524ad(0x22c)),'solidFill':_0x36b1be['t'](_0x4524ad(0x363)),'gradientFill':_0x36b1be['t'](_0x4524ad(0x1d8)),'pictureFill':_0x36b1be['t'](_0x4524ad(0x24f)),'color':_0x36b1be['t'](_0x4524ad(0x3c1)),'transparency':_0x36b1be['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x36b1be['t']('shape-editor-ui.fill.noFill'),'solidFill':_0x36b1be['t'](_0x4524ad(0x363)),'gradientFill':_0x36b1be['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x36b1be['t']('shape-editor-ui.fill.pictureFill')},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x129ee8=>{const _0x4bc6a2=_0x4524ad;if(_0x129ee8===i[_0x4bc6a2(0x391)]['NoFill'])_0x4570d5({..._0xa8b68,'type':'none'});else{if(_0x129ee8===i[_0x4bc6a2(0x391)][_0x4bc6a2(0x1e4)]){var _0x4fb86d;_0x4570d5({..._0xa8b68,'type':'solid','color':_0x5f5c40,'opacity':(_0x4fb86d=_0xa8b68['opacity'])==null?0x1:_0x4fb86d});}else{if(_0x129ee8===i['ShapeFillEnum'][_0x4bc6a2(0x3bf)])_0x4570d5(_0x8ef6e());else{if(_0x129ee8===i['ShapeFillEnum'][_0x4bc6a2(0x1d6)]){var _0x3c0014,_0x4449b3,_0x3881ae,_0x534ee6;_0x4570d5({..._0xa8b68,'type':'picture','color':_0x5f5c40,'picture':{..._0xa8b68[_0x4bc6a2(0x1ab)],'opacity':(_0x3c0014=(_0x4449b3=_0xa8b68[_0x4bc6a2(0x1ab)])==null?void 0x0:_0x4449b3[_0x4bc6a2(0x1be)])==null?0x1:_0x3c0014,'mode':(_0x3881ae=(_0x534ee6=_0xa8b68[_0x4bc6a2(0x1ab)])==null?void 0x0:_0x534ee6[_0x4bc6a2(0x3e0)])==null?_0x4bc6a2(0x393):_0x3881ae}});}}}}},'onColorChange':_0x2f6be0=>{const _0x2bbd2c=_0x4524ad;var _0x379682;_0x4570d5({..._0xa8b68,'type':'solid','color':_0x2f6be0,'opacity':(_0x379682=_0xa8b68[_0x2bbd2c(0x1be)])==null?0x1:_0x379682});},'onTransparencyChange':_0x3a9cdb=>{const _0x4c2f12=_0x4524ad;_0x4570d5({..._0xa8b68,'type':_0x4c2f12(0x20d),'color':_0x5f5c40,'opacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x3a9cdb)))/0x64});},'onGradientChange':_0x11a587=>{const _0x3dfa14=_0x4524ad;_0x4570d5({..._0xa8b68,'type':_0x3dfa14(0x270),'gradient':{'type':_0x11a587[_0x3dfa14(0x3ca)],'angle':_0x11a587[_0x3dfa14(0x408)],'stops':_0x11a587[_0x3dfa14(0x2ff)][_0x3dfa14(0x1c2)](_0x1e79ac=>({'offset':_0x1e79ac[_0x3dfa14(0x30e)],'color':_0x1e79ac[_0x3dfa14(0x15d)],'opacity':_0x1e79ac[_0x3dfa14(0x1be)]}))}});},'pictureFillEditor':(0x0,r[_0x4524ad(0x3a5)])(ie,{'fill':_0xa8b68,'onChange':_0x4570d5})})})});}function Q(_0x2fb9f4){const _0x8145ab=_0x1ed3a4;let {title:_0x35d96d,color:_0x43330d,resetLabel:_0x2d90dc,onApply:_0x2abdf6,onReset:_0x1335c8,onChange:_0x5f355d}=_0x2fb9f4,[_0x3f6c41,_0x42324c]=(0x0,n[_0x8145ab(0x24b)])(!0x1),{handleOpenChange:_0x1bbb80,markInternalInteraction:_0x828d37}=P(_0x42324c);return(0x0,r[_0x8145ab(0x3a5)])(z,{'title':_0x35d96d,'open':_0x3f6c41,'icon':(0x0,r[_0x8145ab(0x3a5)])(t[_0x8145ab(0x26a)],{'className':'univer-text-xl','extend':{'colorChannel1':_0x43330d}}),'onApply':_0x2abdf6,'onOpenChange':_0x1bbb80,'overlay':(0x0,r[_0x8145ab(0x243)])(_0x8145ab(0x413),{'onPointerDownCapture':_0x1522a1=>{_0x828d37(),M(_0x1522a1);},'onMouseDownCapture':_0x49c962=>{_0x828d37(),M(_0x49c962);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x2ee69c=>_0x2ee69c[_0x8145ab(0x33c)](),'className':_0x8145ab(0x1c7),'children':[_0x1335c8&&(0x0,r['jsx'])(_0x8145ab(0x268),{'type':'button','onClick':()=>{_0x1335c8(),_0x42324c(!0x1);},'className':_0x8145ab(0x2b6),'children':_0x2d90dc==null?'Reset\x20color':_0x2d90dc}),(0x0,r[_0x8145ab(0x3a5)])(e[_0x8145ab(0x258)],{'value':_0x43330d,'onChange':_0x4c75c3=>{_0x5f355d(_0x4c75c3),_0x42324c(!0x1);}})]})});}function ae(_0x1489ad){const _0x2cfbfb=_0x1ed3a4;let {title:_0x558395,textStyle:_0x2f99e1,horizontalAlign:_0x3b6ef4,verticalAlign:_0x227516,horizontalAlignOptions:_0x28e4a9,verticalAlignOptions:_0x1ced56,onUpdateText:_0x2c0e18}=_0x1489ad,_0x21d9bb=(0x0,o[_0x2cfbfb(0x34f)])(a[_0x2cfbfb(0x1db)]),[_0x4b3388,_0x567e06]=(0x0,n[_0x2cfbfb(0x24b)])(!0x1),{handleOpenChange:_0x53ccec,markInternalInteraction:_0x1336a4}=P(_0x567e06),_0x5dc976=[{'key':_0x2cfbfb(0x288),'title':_0x21d9bb['t'](_0x2cfbfb(0x1aa)),'active':_0x2f99e1[_0x2cfbfb(0x31e)],'icon':(0x0,r[_0x2cfbfb(0x3a5)])(t[_0x2cfbfb(0x368)],{}),'onClick':()=>_0x2c0e18({'textStyle':{'bl':_0x2f99e1[_0x2cfbfb(0x31e)]?a[_0x2cfbfb(0x3a0)][_0x2cfbfb(0x2d2)]:a[_0x2cfbfb(0x3a0)]['TRUE']}})},{'key':_0x2cfbfb(0x1fd),'title':_0x21d9bb['t']('shape-editor-ui.toolbar.italic'),'active':_0x2f99e1[_0x2cfbfb(0x274)],'icon':(0x0,r['jsx'])(t[_0x2cfbfb(0x337)],{}),'onClick':()=>_0x2c0e18({'textStyle':{'it':_0x2f99e1[_0x2cfbfb(0x274)]?a[_0x2cfbfb(0x3a0)][_0x2cfbfb(0x2d2)]:a[_0x2cfbfb(0x3a0)][_0x2cfbfb(0x253)]}})},{'key':_0x2cfbfb(0x200),'title':_0x21d9bb['t']('shape-editor-ui.toolbar.underline'),'active':_0x2f99e1[_0x2cfbfb(0x3c6)],'icon':(0x0,r[_0x2cfbfb(0x3a5)])(t[_0x2cfbfb(0x174)],{}),'onClick':()=>_0x2c0e18({'textStyle':{'ul':{'s':_0x2f99e1[_0x2cfbfb(0x3c6)]?a[_0x2cfbfb(0x3a0)][_0x2cfbfb(0x2d2)]:a[_0x2cfbfb(0x3a0)][_0x2cfbfb(0x253)]}}})},{'key':_0x2cfbfb(0x1fa),'title':_0x21d9bb['t'](_0x2cfbfb(0x230)),'active':_0x2f99e1[_0x2cfbfb(0x1b7)],'icon':(0x0,r[_0x2cfbfb(0x3a5)])(t[_0x2cfbfb(0x1a5)],{}),'onClick':()=>_0x2c0e18({'textStyle':{'st':{'s':_0x2f99e1[_0x2cfbfb(0x1b7)]?a['BooleanNumber'][_0x2cfbfb(0x2d2)]:a[_0x2cfbfb(0x3a0)]['TRUE']}}})}],_0x3d8d32=_0x5dc6d8=>(0x0,r[_0x2cfbfb(0x3a5)])(e['Tooltip'],{'title':_0x5dc6d8[_0x2cfbfb(0x249)],'placement':_0x2cfbfb(0x2b0),'children':(0x0,r[_0x2cfbfb(0x3a5)])(_0x2cfbfb(0x268),{'type':_0x2cfbfb(0x268),'onClick':_0x5dc6d8['onClick'],'className':(0x0,e[_0x2cfbfb(0x2c8)])(_0x2cfbfb(0x13c),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5dc6d8[_0x2cfbfb(0x2dd)]}),'children':_0x5dc6d8['icon']})},String(_0x5dc6d8[_0x2cfbfb(0x145)]));return(0x0,r[_0x2cfbfb(0x3a5)])(e['Dropdown'],{'open':_0x4b3388,'onOpenChange':_0x53ccec,'overlay':(0x0,r[_0x2cfbfb(0x3a5)])(_0x2cfbfb(0x413),{'onPointerDownCapture':_0x4607cb=>{_0x1336a4(),M(_0x4607cb);},'onMouseDownCapture':_0xab078=>{_0x1336a4(),M(_0xab078);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x2c2427=>_0x2c2427[_0x2cfbfb(0x33c)](),'className':_0x2cfbfb(0x38c),'children':(0x0,r[_0x2cfbfb(0x243)])(_0x2cfbfb(0x413),{'className':_0x2cfbfb(0x191),'children':[(0x0,r['jsx'])(_0x2cfbfb(0x413),{'className':_0x2cfbfb(0x28f),'children':_0x5dc976['map'](_0x3d8d32)}),(0x0,r[_0x2cfbfb(0x3a5)])(_0x2cfbfb(0x413),{'className':_0x2cfbfb(0x2f7)}),(0x0,r[_0x2cfbfb(0x3a5)])(_0x2cfbfb(0x413),{'data-u-comp':_0x2cfbfb(0x411),'className':_0x2cfbfb(0x28f),'children':_0x28e4a9['map'](_0x403b3b=>_0x3d8d32({'key':_0x403b3b[_0x2cfbfb(0x164)],'title':_0x403b3b['label'],'active':_0x403b3b[_0x2cfbfb(0x164)]===_0x3b6ef4,'icon':_0x403b3b[_0x2cfbfb(0x3c8)],'onClick':()=>_0x2c0e18({'horizontalAlign':_0x403b3b['value']})}))}),(0x0,r[_0x2cfbfb(0x3a5)])(_0x2cfbfb(0x413),{'data-u-comp':'typography-vertical-align-row','className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':_0x1ced56['map'](_0x4bdfe1=>_0x3d8d32({'key':_0x4bdfe1[_0x2cfbfb(0x164)],'title':_0x4bdfe1[_0x2cfbfb(0x22a)],'active':_0x4bdfe1['value']===_0x227516,'icon':_0x4bdfe1[_0x2cfbfb(0x3c8)],'onClick':()=>_0x2c0e18({'verticalAlign':_0x4bdfe1[_0x2cfbfb(0x164)]})}))})]})}),'children':(0x0,r['jsx'])('span',{'children':(0x0,r[_0x2cfbfb(0x3a5)])(e[_0x2cfbfb(0x334)],{'title':_0x558395,'placement':'bottom','children':(0x0,r['jsxs'])(_0x2cfbfb(0x268),{'type':_0x2cfbfb(0x268),'className':(0x0,e[_0x2cfbfb(0x2c8)])(_0x2cfbfb(0x248),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x4b3388}),'children':[(0x0,r[_0x2cfbfb(0x3a5)])(t[_0x2cfbfb(0x2bb)],{'className':_0x2cfbfb(0x35f)}),(0x0,r[_0x2cfbfb(0x3a5)])(t[_0x2cfbfb(0x3fb)],{'className':(0x0,e[_0x2cfbfb(0x2c8)])(_0x2cfbfb(0x36f),{'univer-rotate-180':_0x4b3388})})]})})})});}function oe(_0x4c0a89){const _0x18ff72=_0x1ed3a4;var _0x24d29b;let [_0x34d97c,_0xfb2e27]=(0x0,n[_0x18ff72(0x24b)])(!0x1),_0x16e946=(_0x24d29b=_0x4c0a89[_0x18ff72(0x264)][_0x18ff72(0x32c)](_0x581dcd=>_0x581dcd[_0x18ff72(0x164)]===_0x4c0a89[_0x18ff72(0x164)]))==null?_0x4c0a89[_0x18ff72(0x264)][0x0]:_0x24d29b;return _0x16e946?(0x0,r[_0x18ff72(0x3a5)])(e[_0x18ff72(0x38b)],{'open':_0x34d97c,'onOpenChange':_0xfb2e27,'overlay':(0x0,r['jsx'])(_0x18ff72(0x413),{'className':_0x18ff72(0x235),'children':_0x4c0a89[_0x18ff72(0x264)][_0x18ff72(0x1c2)](_0xf03e85=>(0x0,r[_0x18ff72(0x243)])(_0x18ff72(0x268),{'type':'button','onClick':()=>{const _0x298b1d=_0x18ff72;_0x4c0a89[_0x298b1d(0x1e5)](_0xf03e85['value']),_0xfb2e27(!0x1);},'className':(0x0,e[_0x18ff72(0x2c8)])(_0x18ff72(0x1f2),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0xf03e85[_0x18ff72(0x164)]===_0x4c0a89[_0x18ff72(0x164)]}),'children':[(0x0,r[_0x18ff72(0x3a5)])(_0x18ff72(0x277),{'className':_0x18ff72(0x1c5),'children':_0xf03e85['icon']}),(0x0,r[_0x18ff72(0x3a5)])('span',{'className':'univer-flex-1','children':_0xf03e85[_0x18ff72(0x22a)]})]},_0xf03e85['value']))}),'children':(0x0,r[_0x18ff72(0x3a5)])(_0x18ff72(0x277),{'children':(0x0,r['jsx'])(e[_0x18ff72(0x334)],{'title':_0x4c0a89['title'],'placement':_0x18ff72(0x36e),'children':(0x0,r['jsxs'])(_0x18ff72(0x268),{'type':_0x18ff72(0x268),'className':(0x0,e[_0x18ff72(0x2c8)])(_0x18ff72(0x16e),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x34d97c}),'children':[_0x16e946[_0x18ff72(0x3c8)],(0x0,r[_0x18ff72(0x3a5)])(t[_0x18ff72(0x3fb)],{'className':_0x18ff72(0x3ed)})]})})})}):null;}function se(_0x2ea747){const _0x52454e=_0x1ed3a4;let {action:_0x5e2965}=_0x2ea747,_0x2380df=_0x5e2965[_0x52454e(0x3ca)]===_0x52454e(0x3dc)?t[_0x52454e(0x31a)]:t[_0x52454e(0x15a)];return(0x0,r[_0x52454e(0x3a5)])(R,{'title':_0x5e2965['label'],'onClick':_0x5e2965[_0x52454e(0x20b)],'children':(0x0,r['jsx'])(_0x2380df,{})});}function ce(_0x3faf88){const _0x31c256=_0x1ed3a4;return(0x0,r[_0x31c256(0x243)])(_0x31c256(0x268),{'type':_0x31c256(0x268),'onClick':_0x3faf88['onClick'],'className':_0x31c256(0x1f2),'children':[(0x0,r[_0x31c256(0x3a5)])(_0x31c256(0x277),{'className':_0x31c256(0x282),'children':_0x3faf88[_0x31c256(0x3c8)]}),(0x0,r[_0x31c256(0x3a5)])(_0x31c256(0x277),{'className':_0x31c256(0x2ae),'children':_0x3faf88['label']})]});}function le(_0x469eec){const _0x3b011f=_0x1ed3a4;let {actions:_0x528a41}=_0x469eec,[_0x109d77,_0x3da002]=(0x0,n[_0x3b011f(0x24b)])(!0x1),{handleOpenChange:_0x42db14,markInternalInteraction:_0x4b2b23}=P(_0x3da002);return(0x0,r[_0x3b011f(0x3a5)])(e[_0x3b011f(0x38b)],{'open':_0x109d77,'onOpenChange':_0x42db14,'overlay':(0x0,r[_0x3b011f(0x243)])(_0x3b011f(0x413),{'onPointerDownCapture':_0x2e3779=>{_0x4b2b23(),M(_0x2e3779);},'onMouseDownCapture':_0x143ba0=>{_0x4b2b23(),M(_0x143ba0);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x2f00d5=>_0x2f00d5[_0x3b011f(0x33c)](),'className':_0x3b011f(0x1b5),'children':[(0x0,r[_0x3b011f(0x3a5)])(ce,{'label':_0x528a41[_0x3b011f(0x3ad)],'icon':(0x0,r['jsx'])(t[_0x3b011f(0x22f)],{}),'onClick':_0x528a41[_0x3b011f(0x29b)]}),(0x0,r['jsx'])(ce,{'label':_0x528a41[_0x3b011f(0x26f)],'icon':(0x0,r[_0x3b011f(0x3a5)])(t['TopmostIcon'],{}),'onClick':_0x528a41[_0x3b011f(0x275)]}),(0x0,r[_0x3b011f(0x3a5)])(_0x3b011f(0x413),{'className':_0x3b011f(0x3c3)}),(0x0,r[_0x3b011f(0x3a5)])(ce,{'label':_0x528a41[_0x3b011f(0x3d9)],'icon':(0x0,r[_0x3b011f(0x3a5)])(t[_0x3b011f(0x1a3)],{}),'onClick':_0x528a41[_0x3b011f(0x2d3)]}),(0x0,r[_0x3b011f(0x3a5)])(ce,{'label':_0x528a41['backLabel'],'icon':(0x0,r[_0x3b011f(0x3a5)])(t[_0x3b011f(0x188)],{}),'onClick':_0x528a41[_0x3b011f(0x3f9)]})]}),'children':(0x0,r[_0x3b011f(0x3a5)])(_0x3b011f(0x277),{'children':(0x0,r[_0x3b011f(0x3a5)])(e[_0x3b011f(0x334)],{'title':_0x528a41[_0x3b011f(0x249)],'placement':'bottom','children':(0x0,r[_0x3b011f(0x243)])(_0x3b011f(0x268),{'type':'button','className':(0x0,e[_0x3b011f(0x2c8)])(_0x3b011f(0x16e),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x109d77}),'children':[(0x0,r[_0x3b011f(0x3a5)])(t[_0x3b011f(0x322)],{}),(0x0,r[_0x3b011f(0x3a5)])(t[_0x3b011f(0x3fb)],{'className':(0x0,e['clsx'])('univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300',{'univer-rotate-180':_0x109d77})})]})})})});}function ue(_0x231930){const _0x16ca96=_0x1ed3a4;var _0x515847,_0x50a6da,_0x34a866,_0x2a5082,_0x45fe62,_0x51f905,_0x559eab,_0x52235e,_0x327d55,_0x11547b,_0x48d2ab,_0x224fcd;let {shapeData:_0x4fdc1a,shapeType:_0x4fed1e,textStyle:_0x5a113f,textModel:_0x1dd420,fontOptions:_0x35e3fc,wrappingStyle:_0x4b94c1,wrappingStyleOptions:_0x1ca51b,enableShapeStrokeReset:_0x254fd6=!0x1,enableTextBackgroundReset:_0x509e80=!0x1,deferUntilCollapsedStateLoaded:_0x45d2de=!0x1,onUpdateShapeData:_0x47f10a,onUpdateText:_0x50907b,onUpdateWrappingStyle:_0x39c223,groupAction:_0xf12651,layerActions:_0x11325b,onOpenPanel:_0x2cec91,onDelete:_0x3ab78b}=_0x231930,_0x16aed5=(0x0,o['useDependency'])(a[_0x16ca96(0x1db)]),_0x1c50ee=(0x0,o[_0x16ca96(0x34f)])(a[_0x16ca96(0x352)]),_0x2ced2c=(0x0,o[_0x16ca96(0x34f)])(a[_0x16ca96(0x309)]),[_0x5cd438,_0x4bb1ac]=(0x0,n['useState'])(!0x1),[_0x5f2fcf,_0xe6e6a6]=(0x0,n[_0x16ca96(0x24b)])(!0x1);(0x0,n[_0x16ca96(0x409)])(()=>{const _0x295f8f=_0x16ca96;let _0x3156d3=!0x1;return _0x2ced2c[_0x295f8f(0x26e)](k)[_0x295f8f(0x27b)](_0x107d0f=>{const _0x4e231c=_0x295f8f;!_0x3156d3&&typeof _0x107d0f==_0x4e231c(0x41e)&&_0x4bb1ac(_0x107d0f);})[_0x295f8f(0x185)](()=>void 0x0)[_0x295f8f(0x18d)](()=>{_0x3156d3||_0xe6e6a6(!0x0);}),()=>{_0x3156d3=!0x0;};},[_0x2ced2c]);let _0x2739b3=_0x1e324c=>{const _0x3b0c8b=_0x16ca96;_0x4bb1ac(_0x1e324c),_0x2ced2c[_0x3b0c8b(0x1bd)](k,_0x1e324c)[_0x3b0c8b(0x185)](()=>void 0x0);},_0x4c76c2=!!_0x4fdc1a&&_0x4fed1e!==void 0x0,_0x51523e=!!_0xf12651||!!_0x11325b,_0x1caf06=_0x4fed1e!==void 0x0&&(0x0,i[_0x16ca96(0x19b)])(_0x4fed1e),_0x42ae7b=(_0x515847=(_0x50a6da=_0x5a113f['cl'])==null?void 0x0:_0x50a6da['rgb'])==null?_0x16ca96(0x3cd):_0x515847,_0x44f286=(_0x34a866=(_0x2a5082=_0x5a113f['bg'])==null?void 0x0:_0x2a5082[_0x16ca96(0x2c0)])==null?_0x16ca96(0x3d0):_0x34a866,_0xcbe9cd=(_0x45fe62=_0x5a113f['ff'])==null?_0x16ca96(0x14c):_0x45fe62,_0x32e344=(_0x51f905=_0x5a113f['fs'])==null?0xe:_0x51f905,_0x1214dc=_0x5a113f['bl']===a[_0x16ca96(0x3a0)][_0x16ca96(0x253)],_0x2fabbc=_0x5a113f['it']===a[_0x16ca96(0x3a0)][_0x16ca96(0x253)],_0xb7e383=((_0x559eab=_0x5a113f['ul'])==null?void 0x0:_0x559eab['s'])===a[_0x16ca96(0x3a0)][_0x16ca96(0x253)],_0x3b33ed=((_0x52235e=_0x5a113f['st'])==null?void 0x0:_0x52235e['s'])===a[_0x16ca96(0x3a0)][_0x16ca96(0x253)],_0x21dff7=o['FONT_SIZE_LIST'][_0x16ca96(0x1c2)](_0x1f3816=>({'label':_0x1f3816[_0x16ca96(0x22a)],'value':String(_0x1f3816['value'])})),_0x5b7ea4=(_0x327d55=_0x1dd420==null?void 0x0:_0x1dd420['ha'])==null?a['HorizontalAlign'][_0x16ca96(0x138)]:_0x327d55,_0x484c41=(_0x11547b=_0x1dd420==null?void 0x0:_0x1dd420['va'])==null?a[_0x16ca96(0x190)][_0x16ca96(0x211)]:_0x11547b,_0x4c7610=[{'label':_0x16aed5['t'](_0x16ca96(0x323)),'value':a[_0x16ca96(0x1df)][_0x16ca96(0x138)],'icon':(0x0,r['jsx'])(t[_0x16ca96(0x2d6)],{})},{'label':_0x16aed5['t'](_0x16ca96(0x386)),'value':a[_0x16ca96(0x1df)][_0x16ca96(0x140)],'icon':(0x0,r['jsx'])(t[_0x16ca96(0x234)],{})},{'label':_0x16aed5['t'](_0x16ca96(0x168)),'value':a[_0x16ca96(0x1df)]['RIGHT'],'icon':(0x0,r[_0x16ca96(0x3a5)])(t['RightJustifyingIcon'],{})},{'label':_0x16aed5['t'](_0x16ca96(0x280)),'value':a[_0x16ca96(0x1df)][_0x16ca96(0x222)],'icon':(0x0,r['jsx'])(t[_0x16ca96(0x34e)],{})}],_0x38d825=[{'label':_0x16aed5['t'](_0x16ca96(0x19e)),'value':a[_0x16ca96(0x190)][_0x16ca96(0x211)],'icon':(0x0,r[_0x16ca96(0x3a5)])(t[_0x16ca96(0x28d)],{})},{'label':_0x16aed5['t']('shape-editor-ui.align.middle'),'value':a['VerticalAlign']['MIDDLE'],'icon':(0x0,r[_0x16ca96(0x3a5)])(t['VerticalCenterIcon'],{})},{'label':_0x16aed5['t'](_0x16ca96(0x2fc)),'value':a['VerticalAlign'][_0x16ca96(0x1b0)],'icon':(0x0,r[_0x16ca96(0x3a5)])(t[_0x16ca96(0x27f)],{})}];return!_0x4c76c2&&!_0x51523e&&!_0x2cec91&&!_0x3ab78b||_0x45d2de&&!_0x5f2fcf?null:_0x5cd438?(0x0,r[_0x16ca96(0x3a5)])(_0x16ca96(0x268),{'type':'button','data-u-comp':_0x16ca96(0x3bb),'aria-label':_0x16aed5['t'](_0x16ca96(0x2fe)),'onMouseDown':N,'onClick':()=>_0x2739b3(!0x1),'className':_0x16ca96(0x3ae),'children':(0x0,r['jsx'])(t[_0x16ca96(0x195)],{'className':_0x16ca96(0x410)})}):(0x0,r[_0x16ca96(0x243)])('div',{'data-u-comp':_0x16ca96(0x16b),'className':_0x16ca96(0x2b8),'children':[(0x0,r[_0x16ca96(0x3a5)])('button',{'type':_0x16ca96(0x268),'aria-label':_0x16aed5['t'](_0x16ca96(0x1e7)),'onMouseDown':N,'onClick':()=>_0x2739b3(!0x0),'className':_0x16ca96(0x1f6),'children':(0x0,r[_0x16ca96(0x3a5)])(t['MoreRightIcon'],{'className':_0x16ca96(0x3ed),'style':{'transform':_0x16ca96(0x2a4)}})}),(0x0,r['jsxs'])(_0x16ca96(0x413),{'onMouseDown':_0x13e0ba=>{const _0x7ab5a7=_0x16ca96;_0x13e0ba[_0x7ab5a7(0x33c)](),j(_0x13e0ba[_0x7ab5a7(0x23c)])||_0x13e0ba['preventDefault']();},'className':(0x0,e[_0x16ca96(0x2c8)])('univer-box-border\x20univer-flex\x20univer-max-w-[760px]\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',e['borderClassName']),'children':[_0x4c76c2&&(0x0,r[_0x16ca96(0x243)])(r[_0x16ca96(0x26b)],{'children':[(0x0,r['jsxs'])(L,{'children':[(0x0,r[_0x16ca96(0x3a5)])(te,{'title':_0x16aed5['t'](_0x16ca96(0x15c)),'shapeData':_0x4fdc1a,'disabled':_0x1caf06,'onUpdateShapeData':_0x47f10a}),(0x0,r['jsx'])(W,{'title':_0x16aed5['t']('shape-editor-ui.line.title'),'shapeData':_0x4fdc1a,'resetLabel':_0x16aed5['t'](_0x16ca96(0x155)),'onReset':_0x254fd6?()=>{const _0x57f899=_0x16ca96;_0x47f10a({'oldShapeData':{'stroke':_0x4fdc1a['stroke']}},{'stroke':{..._0x4fdc1a[_0x57f899(0x161)],'lineStrokeType':i[_0x57f899(0x197)][_0x57f899(0x23e)]}});}:void 0x0,'onUpdateShapeData':_0x47f10a})]}),(0x0,r[_0x16ca96(0x3a5)])(I,{}),(0x0,r[_0x16ca96(0x243)])(L,{'children':[(0x0,r[_0x16ca96(0x3a5)])(e[_0x16ca96(0x286)],{'className':'!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':_0xcbe9cd,'options':_0x35e3fc,'onChange':_0x445f81=>_0x50907b({'textStyle':{'ff':String(_0x445f81)}})}),(0x0,r[_0x16ca96(0x3a5)])(e[_0x16ca96(0x286)],{'className':_0x16ca96(0x30d),'value':String(_0x32e344),'options':_0x21dff7,'onChange':_0x2c666b=>{const _0x35d75d=_0x16ca96;let _0x35f6b2=Number(_0x2c666b);Number[_0x35d75d(0x31f)](_0x35f6b2)||_0x50907b({'textStyle':{'fs':_0x35f6b2}}),_0x1c50ee['setContextValue'](a[_0x35d75d(0x28e)],!0x1);}}),(0x0,r[_0x16ca96(0x3a5)])(ae,{'title':_0x16ca96(0x316),'textStyle':{'isBold':_0x1214dc,'isItalic':_0x2fabbc,'isUnderline':_0xb7e383,'isStrike':_0x3b33ed},'horizontalAlign':_0x5b7ea4,'verticalAlign':_0x484c41,'horizontalAlignOptions':_0x4c7610,'verticalAlignOptions':_0x38d825,'onUpdateText':_0x50907b})]}),(0x0,r['jsx'])(I,{}),(0x0,r['jsxs'])(L,{'children':[(0x0,r[_0x16ca96(0x3a5)])(Z,{'title':_0x16aed5['t'](_0x16ca96(0x207)),'textStyle':_0x5a113f,'fallbackColor':_0x42ae7b,'onChange':_0x11d191=>_0x50907b({'textStyle':_0x11d191})}),(0x0,r[_0x16ca96(0x3a5)])(Q,{'title':_0x16aed5['t']('shape-editor-ui.toolbar.textBackgroundColor'),'color':_0x44f286,'resetLabel':_0x16aed5['t'](_0x16ca96(0x155)),'onApply':()=>_0x50907b({'textStyle':{'bg':{'rgb':_0x44f286}}}),'onReset':_0x509e80?()=>_0x50907b({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0x2be1eb=>_0x50907b({'textStyle':{'bg':{'rgb':_0x2be1eb}}})})]})]}),_0x4c76c2&&_0x4b94c1!==void 0x0&&_0x1ca51b&&_0x39c223&&(0x0,r['jsxs'])(r[_0x16ca96(0x26b)],{'children':[(0x0,r[_0x16ca96(0x3a5)])(I,{}),(0x0,r[_0x16ca96(0x3a5)])(L,{'children':(0x0,r[_0x16ca96(0x3a5)])(oe,{'title':(_0x48d2ab=(_0x224fcd=_0x1ca51b[_0x16ca96(0x32c)](_0x34484b=>_0x34484b[_0x16ca96(0x164)]===_0x4b94c1))==null?void 0x0:_0x224fcd[_0x16ca96(0x22a)])==null?_0x16aed5['t'](_0x16ca96(0x35b)):_0x48d2ab,'value':_0x4b94c1,'options':_0x1ca51b,'onChange':_0x39c223})})]}),_0x51523e&&(0x0,r[_0x16ca96(0x243)])(r['Fragment'],{'children':[(0x0,r[_0x16ca96(0x3a5)])(I,{}),(0x0,r[_0x16ca96(0x243)])(L,{'children':[_0xf12651&&(0x0,r[_0x16ca96(0x3a5)])(se,{'action':_0xf12651}),_0x11325b&&(0x0,r['jsx'])(le,{'actions':_0x11325b})]})]}),(_0x2cec91||_0x3ab78b)&&(0x0,r[_0x16ca96(0x243)])(r['Fragment'],{'children':[(0x0,r[_0x16ca96(0x3a5)])(I,{}),(0x0,r[_0x16ca96(0x243)])(L,{'children':[_0x2cec91&&(0x0,r[_0x16ca96(0x3a5)])(R,{'title':_0x16aed5['t'](_0x16ca96(0x404)),'onClick':()=>{_0x2739b3(!0x0),_0x2cec91();},'children':(0x0,r[_0x16ca96(0x3a5)])(t[_0x16ca96(0x310)],{})}),_0x3ab78b&&(0x0,r[_0x16ca96(0x3a5)])(R,{'title':_0x16aed5['t']('shape-editor-ui.deleteShape'),'onClick':_0x3ab78b,'children':(0x0,r[_0x16ca96(0x3a5)])(t[_0x16ca96(0x308)],{})})]})]})]})]});}function de(_0x50d87b){const _0x799765=_0x1ed3a4;var _0x367441,_0x235c94,_0x522511;let {title:_0x373625,popupDataComponent:_0x44a4ea='doc-paragraph-type-dropdown-popup'}=_0x50d87b,_0x5dc3a3=(0x0,o[_0x799765(0x34f)])(a[_0x799765(0x422)]),_0x25d603=(0x0,o[_0x799765(0x34f)])(c['DocSelectionManagerService']),_0x19bc87=(0x0,o[_0x799765(0x34f)])(a[_0x799765(0x1db)]),_0x1e6eff=(0x0,o[_0x799765(0x34f)])(a[_0x799765(0x314)]),[_0x5bf19e,_0x3f519f]=(0x0,n[_0x799765(0x24b)])(!0x1),[_0x7cbe4e,_0x4f0d34]=(0x0,n['useState'])(a[_0x799765(0x3ba)][_0x799765(0x302)]),_0x2c00bc=()=>{const _0x310ffe=_0x799765;var _0x32e347,_0x162f9a;let _0x33a08e=he(_0x1e6eff['getCurrentUnitOfType'](a[_0x310ffe(0x384)][_0x310ffe(0x3bc)]),me(_0x25d603));_0x4f0d34((_0x32e347=_0x33a08e==null||(_0x162f9a=_0x33a08e[_0x310ffe(0x289)])==null?void 0x0:_0x162f9a['namedStyleType'])==null?a[_0x310ffe(0x3ba)]['NORMAL_TEXT']:_0x32e347);};(0x0,n[_0x799765(0x409)])(()=>{const _0xdabc56=_0x799765;_0x2c00bc();let _0x766eab=_0x5dc3a3['onCommandExecuted'](_0x23536b=>{const _0x2bc081=_0x388e;(_0x23536b['id']===c[_0x2bc081(0x1e9)]['id']||_0x23536b['id']===c['SetTextSelectionsOperation']['id']||_0x23536b['id']===l[_0x2bc081(0x21d)]['id']||_0x23536b['id']===l[_0x2bc081(0x2f5)]['id']||_0x23536b['id']===l[_0x2bc081(0x1d7)]['id']||_0x23536b['id']===l[_0x2bc081(0x403)]['id'])&&_0x2c00bc();}),_0x497474=_0x25d603[_0xdabc56(0x380)][_0xdabc56(0x262)](_0x2c00bc);return()=>{const _0x43c594=_0xdabc56;_0x766eab[_0x43c594(0x41f)](),_0x497474[_0x43c594(0x1de)]();};},[_0x5dc3a3,_0x25d603,_0x1e6eff]);let _0x41e6b6=(0x0,n[_0x799765(0x1d2)])(()=>fe(_0x19bc87,_0x5dc3a3),[_0x5dc3a3,_0x19bc87]),_0x36a608=(_0x367441=_0x41e6b6[_0x799765(0x32c)](_0x2d48e8=>_0x2d48e8[_0x799765(0x27a)]===_0x7cbe4e))==null?_0x41e6b6[0x0]:_0x367441,_0x31889a=_0x21d5cc=>{const _0x35d75e=_0x799765;var _0x401fbc;let _0x3f67ed=_0x1e6eff[_0x35d75e(0x39d)](a[_0x35d75e(0x384)][_0x35d75e(0x3bc)]),_0x32e613=me(_0x25d603);if((_0x401fbc=_0x50d87b[_0x35d75e(0x1e0)])==null||_0x401fbc[_0x35d75e(0x26d)](_0x50d87b),_0x21d5cc['namedStyleType']!==void 0x0){let _0x1b5c78={'value':_0x21d5cc[_0x35d75e(0x27a)]};_0x32e613&&(_0x1b5c78[_0x35d75e(0x224)]=[_0x32e613]),_0x5dc3a3[_0x35d75e(0x387)](l[_0x35d75e(0x21d)]['id'],_0x1b5c78);}else{if(_0x21d5cc[_0x35d75e(0x256)]===l[_0x35d75e(0x2f5)]['id']||_0x21d5cc[_0x35d75e(0x256)]===l[_0x35d75e(0x1d7)]['id']||_0x21d5cc[_0x35d75e(0x256)]===l[_0x35d75e(0x403)]['id']){let _0x3adfc5=_0x32e613?{'docRange':[_0x32e613]}:void 0x0;_0x5dc3a3[_0x35d75e(0x387)](_0x21d5cc[_0x35d75e(0x256)],_0x3adfc5);}else _0x21d5cc[_0x35d75e(0x256)]&&_0x5dc3a3[_0x35d75e(0x387)](_0x21d5cc['commandId'],{'unitId':_0x3f67ed==null?void 0x0:_0x3f67ed[_0x35d75e(0x3ee)](),'startOffset':_0x32e613==null?void 0x0:_0x32e613['startOffset'],'endOffset':_0x32e613==null?void 0x0:_0x32e613['endOffset']});}_0x3f519f(!0x1),window[_0x35d75e(0x1d4)](()=>{var _0x29971a;_0x2c00bc(),(_0x29971a=_0x50d87b['onAfterCommand'])==null||_0x29971a['call'](_0x50d87b);});};return(0x0,r[_0x799765(0x3a5)])(e[_0x799765(0x38b)],{'open':_0x5bf19e,'onOpenChange':_0x3f519f,'overlay':(0x0,r[_0x799765(0x3a5)])(_0x799765(0x413),{'className':(0x0,e[_0x799765(0x2c8)])(_0x799765(0x1f7),_0x50d87b['className']),'data-u-comp':_0x44a4ea,'onMouseDown':_0x37aef8=>_0x37aef8['preventDefault'](),'children':_0x41e6b6[_0x799765(0x1c2)](_0x33253e=>(0x0,r[_0x799765(0x243)])(_0x799765(0x268),{'type':'button','className':(0x0,e[_0x799765(0x2c8)])(_0x799765(0x1f2),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x33253e['value']===(_0x36a608==null?void 0x0:_0x36a608[_0x799765(0x164)])}),'onClick':()=>_0x31889a(_0x33253e),'onMouseDown':_0x5e89fd=>_0x5e89fd[_0x799765(0x372)](),'children':[(0x0,r[_0x799765(0x3a5)])(_0x799765(0x277),{'className':_0x799765(0x1c5),'children':_0x33253e[_0x799765(0x3c8)]}),(0x0,r[_0x799765(0x3a5)])(_0x799765(0x277),{'className':_0x799765(0x2ae),'children':_0x33253e[_0x799765(0x22a)]})]},_0x33253e[_0x799765(0x164)]))}),'children':(0x0,r[_0x799765(0x3a5)])(_0x799765(0x277),{'children':(0x0,r['jsx'])(e[_0x799765(0x334)],{'title':_0x373625,'placement':_0x799765(0x36e),'children':(0x0,r[_0x799765(0x243)])(_0x799765(0x268),{'type':_0x799765(0x268),'aria-expanded':_0x5bf19e,'aria-label':_0x373625,'title':_0x373625,'className':(0x0,e[_0x799765(0x2c8)])('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',_0x50d87b[_0x799765(0x189)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x5bf19e}),'onMouseDown':(_0x235c94=_0x50d87b['onMouseDown'])==null?_0x946f9e=>_0x946f9e[_0x799765(0x372)]():_0x235c94,'children':[(0x0,r[_0x799765(0x3a5)])(_0x799765(0x277),{'className':_0x799765(0x1c5),'children':(_0x522511=_0x36a608==null?void 0x0:_0x36a608[_0x799765(0x3c8)])==null?(0x0,r[_0x799765(0x3a5)])(t[_0x799765(0x3f4)],{}):_0x522511}),(0x0,r[_0x799765(0x3a5)])(t[_0x799765(0x3fb)],{'className':_0x799765(0x3ed)})]})})})});}function fe(_0x123fe0,_0xbc7129){const _0x554480=_0x1ed3a4;let _0x4fc4ef=[pe(_0x123fe0,a[_0x554480(0x3ba)]['NORMAL_TEXT'],(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x3f4)],{}),_0x554480(0x374)),pe(_0x123fe0,a[_0x554480(0x3ba)]['HEADING_1'],(0x0,r['jsx'])(t[_0x554480(0x1f4)],{}),'ui.toolbar.heading.1'),pe(_0x123fe0,a[_0x554480(0x3ba)][_0x554480(0x3fd)],(0x0,r[_0x554480(0x3a5)])(t['H2Icon'],{}),_0x554480(0x23a)),pe(_0x123fe0,a[_0x554480(0x3ba)][_0x554480(0x213)],(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x146)],{}),'ui.toolbar.heading.3'),pe(_0x123fe0,a[_0x554480(0x3ba)]['HEADING_4'],(0x0,r['jsx'])(t[_0x554480(0x245)],{}),_0x554480(0x181)),pe(_0x123fe0,a[_0x554480(0x3ba)]['HEADING_5'],(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x2a9)],{}),'ui.toolbar.heading.5'),$(_0x123fe0,l[_0x554480(0x2f5)]['id'],(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x2ba)],{}),_0x554480(0x416)),$(_0x123fe0,l['BulletListCommand']['id'],(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x255)],{}),'docs-ui.rightClick.bulletList'),$(_0x123fe0,l['CheckListCommand']['id'],(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x294)],{}),_0x554480(0x30a))],_0x5c6e48=[$(_0x123fe0,_0x554480(0x31c),(0x0,r[_0x554480(0x3a5)])(_0x554480(0x277),{'className':_0x554480(0x35f),'children':'\x22'}),_0x554480(0x3b7)),$(_0x123fe0,'docs-code.command.insert',(0x0,r[_0x554480(0x3a5)])(t[_0x554480(0x395)],{}),_0x554480(0x397)),$(_0x123fe0,'docs-callout.command.insert',(0x0,r['jsx'])(t[_0x554480(0x1d9)],{}),_0x554480(0x285))]['filter'](_0x3f84e4=>_0xbc7129[_0x554480(0x32e)](_0x3f84e4[_0x554480(0x256)]));return[..._0x4fc4ef,..._0x5c6e48];}function pe(_0x591d1d,_0x86dc42,_0x35762e,_0x2a6d74){return{'icon':_0x35762e,'label':_0x591d1d['t'](_0x2a6d74),'namedStyleType':_0x86dc42,'value':'heading:'+_0x86dc42};}function $(_0x1c6a8b,_0x1ad9db,_0x5526bf,_0x20e3ba){const _0x3b427f=_0x1ed3a4;return{'commandId':_0x1ad9db,'icon':_0x5526bf,'label':_0x1c6a8b['t'](_0x20e3ba),'value':_0x3b427f(0x23f)+_0x1ad9db};}function me(_0x31b001){const _0x33a5dd=_0x1ed3a4;var _0x1c23b9,_0x442ad2,_0x46f30c,_0x1250ea;let _0x366d8c=(_0x1c23b9=_0x31b001[_0x33a5dd(0x423)])==null?void 0x0:_0x1c23b9[_0x33a5dd(0x26d)](_0x31b001);if(_0x366d8c)return _0x366d8c;let _0x6ddaef=(_0x442ad2=_0x31b001[_0x33a5dd(0x136)]())==null?[]:_0x442ad2;return(_0x46f30c=(_0x1250ea=_0x6ddaef[_0x33a5dd(0x32c)](_0xe0a331=>_0xe0a331[_0x33a5dd(0x1fb)]))==null?_0x6ddaef[0x0]:_0x1250ea)==null?null:_0x46f30c;}function he(_0x26cc2a,_0x37745f){const _0x4d9578=_0x1ed3a4;var _0x415c7f,_0x38e71,_0x26f38b;let _0x4d8900=_0x37745f!=null&&_0x37745f[_0x4d9578(0x1b8)]?_0x26cc2a==null?void 0x0:_0x26cc2a[_0x4d9578(0x13b)](_0x37745f['segmentId'])['getBody']():_0x26cc2a==null?void 0x0:_0x26cc2a[_0x4d9578(0x32d)](),_0x40ea8c=(_0x415c7f=_0x4d8900==null?void 0x0:_0x4d8900[_0x4d9578(0x1ea)])==null?[]:_0x415c7f,_0x556723=(_0x38e71=_0x37745f==null?void 0x0:_0x37745f[_0x4d9578(0x371)])==null?0x0:_0x38e71;return(_0x26f38b=_0x40ea8c[_0x4d9578(0x32c)](_0x2dcf0a=>_0x2dcf0a[_0x4d9578(0x39a)]>=_0x556723))==null?_0x40ea8c[_0x40ea8c[_0x4d9578(0x362)]-0x1]:_0x26f38b;}function ge(_0x23cdf1,_0x1e64cc){return Math['abs'](_0x23cdf1-_0x1e64cc)<=0.001;}function _e(_0x53c2f2,_0x2c76d3){const _0xbbb831=_0x1ed3a4;return ge(_0x53c2f2[_0xbbb831(0x2b1)],_0x2c76d3['left'])&&ge(_0x53c2f2[_0xbbb831(0x2b0)],_0x2c76d3[_0xbbb831(0x2b0)])&&ge(_0x53c2f2['width'],_0x2c76d3[_0xbbb831(0x233)])&&ge(_0x53c2f2['height'],_0x2c76d3[_0xbbb831(0x382)])&&ge(_0x53c2f2[_0xbbb831(0x408)],_0x2c76d3[_0xbbb831(0x408)])&&ge(_0x53c2f2[_0xbbb831(0x172)],_0x2c76d3[_0xbbb831(0x172)])&&ge(_0x53c2f2[_0xbbb831(0x3c0)],_0x2c76d3[_0xbbb831(0x3c0)]);}function _0x312e(){const _0x1cdad3=['setSelectionRanges','5qlEObJ','SetInlineFormatFontFamilyCommand','stopPropagation','0\x200\x2020\x2020','group\x20univer-relative\x20univer-inline-block','shapeKey','NoFill','StealthArrow','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','vertexAngle','opticalVerticalAlign','style','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','SetInlineFormatItalicCommand','GradientColorPicker','saveImage','univer-flex\x20univer-items-center\x20univer-gap-2','size','renderConfig','shape-editor-ui.line.arrowSize.small','AlignTextBothIcon','useDependency','lineSpacing','strokeWidth','IContextService','shape-editor-ui.line.arrowType.arrow','params','shape-editor-ui.line.cornerRadius','univer-grid\x20univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]\x20univer-items-center\x20univer-gap-1','fonts$','ShapeGradientTypeEnum','univer-text-sm','Segmented','shape-editor-ui.textWrap.inline','Medium','getObject','shape-editor-ui.line.sketchType.title','univer-text-base','gradientFill','ShapeStrokeColorDoubleIcon','length','shape-editor-ui.fill.solidFill','CLIP','Diamond','zeroWidthParagraphBreak','Small','BoldIcon','6.4','borderClassName','4\x202','DocSkeletonManagerService','Tile','bottom','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','angular','startOffset','preventDefault','8430103VYBOFD','ui.toolbar.heading.normal','shape-editor-ui.line.joinType.bevel','shape-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','endNodePosition','domY','Stretch','Radio','SquareDot','univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','defineProperty','shapeTextOpticalVerticalAlign','textSelection$','shape-editor-ui.fill.picture.scaleY','height','leftTop','UniverInstanceType','disposable','shape-editor-ui.toolbar.alignCenter','executeCommand','ShapeFillEditor','ShapeArrowSizeEnum','univer-w-20\x20univer-flex-1','Dropdown','univer-w-[168px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','flipY','asc','AlignCenterCommand','IImageIoService','ShapeFillEnum','iterator','stretch','createParagraphId','CodeIcon','editorLeft','docs-code-ui.menu.code','shape-editor-ui.fill.transparency','ShapeTextFloatToolbar','startIndex','1em','\x20px','getCurrentUnitOfType','shape-editor-ui.line.joinType.title','LongDashDotDot','BooleanNumber','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','10ChEKor','Curved','shape-editor-ui.line.dashType.solid','jsx','fillType','KeyCode','filter','DocSelectAllCommand','gridType','8\x202\x201\x202','shape-editor-ui.toolbar.subscript','forwardLabel','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','img','#8B5CF6','pictureFill','marginTop','univer-w-12','SetInlineFormatBoldCommand','calculate','GridType','docs-quote-ui.menu.quote','#2563EB','replace','NamedStyleType','shape-floating-toolbar-collapsed','UNIVER_DOC','shape-editor-ui.line.capType.square','register','GradientFill','scaleY','shape-editor-ui.fill.color','divider','univer-my-1\x20univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','_docCanvasPopManagerService','vertical','isUnderline','WRAP','icon','imageFillMode','type','univer-flex\x20univer-items-center\x20univer-gap-3','viewportScrollY','#111827','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-text-primary-600','#ffffff','transparent','ShapeDefaultConfig','IFontService','getShapeTextRect','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','getCanvasElement','end','shape-editor-ui.line.dashType.roundDot','backwardLabel','endArrow','horizontalAlign','group','shape-editor-ui.line.sketchType.handDrawn','textWrap','_hideFloatMenu','mode','gradientStops','visible','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','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','executeEditorUndoRedoCommand','DeleteRightCommand','clearUndoRedoHistory','imageOpacity','onCommandExecuted','setDocumentData','line','Bevel','univer-text-xs','getUnitId','shape-editor-ui.line.arrowType.diamondArrow','test','editingParams$','allowHostSizeShrink','shape-text-editor-position-wrapper','TextTypeIcon','updateDocumentDataMargin','direction','ShapeLineCapEnum','univer-absolute','onBack','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20univer-border-l\x20univer-border-solid\x20univer-border-gray-200\x20dark:!univer-border-gray-700','MoreDownIcon','1445487EMibvl','HEADING_2','transform','\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','number','_context','univer-block\x20univer-w-full','CheckListCommand','shape-editor-ui.openPanel','-line','createDefaultShapeTextDocument','univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center','angle','useEffect','ImageFillModeEnum','doc','univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden','calcShapePosition','max','imageTile','-univer-rotate-90\x20univer-text-xs','typography-horizontal-align-row','svg','div','ShapeLineDashEnum','shape-editor-ui.line.dashType.title','docs-ui.rightClick.orderList','1397094BasTXG','univer-absolute\x20univer-h-7\x20univer-w-0\x20univer-rotate-45\x20univer-border-l-2\x20univer-border-solid\x20univer-border-red-500','documentMarginTop','getSnapshot','univer-gap-4','editorWidth','setZoomRatio','boolean','dispose','useCallback','Flat','ICommandService','getActiveTextRange','ShapeSketchTypeEnum','gradientAngle','OvalArrow','round','scene','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','image/*','Checkbox','getTextRanges','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','LEFT','ShapeTextEditor','Square','getSelfOrHeaderFooterModel','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','IEditorService','sections','isRichText','CENTER','dashType','onScrollAfter$','diamond','subUnitId','key','H3Icon','alignment','getStyleInTextRange','rgba(0,\x200,\x200,\x200)','getShapeTextEditorKeyboardConfig','DELETE','monospace','shape-editor-ui.toolbar.superscript','files','shape-editor-ui.line.dashType.longDash','shape-editor-ui.line.sketchType.none','content','domX','shape-editor-ui.line.noLine','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','shape-editor-ui.toolbar.resetColor','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','DEFAULT_STYLES','glyphGroup','FillStyleTabsEditor','UngroupIcon','source','shape-editor-ui.fill.title','color','shape-editor-ui.fill.picture.rotateWithShape','focus','click','stroke','noFill','SUBSCRIPT','value','DashDot','shape-editor-ui.line.sketchType.curved','\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','shape-editor-ui.toolbar.alignRight','getInitialShapeFillType','centerAngle','shape-floating-toolbar','symbol','Large','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','DocParagraphTypeDropdown','updateHostHeight','univer-pt-2','scaleX','true','UnderlineIcon','dash','LongDash','shape-editor-ui.line.dashType.dash','shape-editor-ui.line.solidLine','RadioGroup','Dash','M11.8\x204.5H17.5','transparency','CTRL_COMMAND','SetTextSelectionsOperation','TextWrapShapeIcon','offsetX','ui.toolbar.heading.4','univer-w-20','M11.8\x2015.5H17.5','shape-editor-ui.fill.picture.align.l','catch','body','SetInlineFormatSubscriptCommand','BottomIcon','buttonClassName','isFinite','blur','IRenderManagerService','finally','Linear','1505gjtCSx','VerticalAlign','univer-flex\x20univer-flex-col\x20univer-gap-1.5','fillImageSource','shape-editor-ui.fill.picture.align.tr','shape-editor-ui.line.endArrowType','MoreRightIcon','shape-editor-ui.line.arrowSize.medium','ShapeLineTypeEnum','fontFamily','useObservable','RoundDot','isConnectorShape','OpenArrow','sub','shape-editor-ui.align.top','_floatMenu','getSkeletonData','#3B82F6','ShapeLineEditor','MoveDownIcon','ShapeBackgroundColorDoubleIcon','StrikethroughIcon','custom','Picture','Color','AlignRightCommand','shape-editor-ui.toolbar.bold','picture','bBox','radial','Freehand','toolbarComponent','BOTTOM','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','subscribeEvent','getDocRanges','text','univer-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','disposeWithMe','isStrike','segmentId','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','documentStyle','textRuns','dataStream','setItem','opacity','Radial','ShapeTextPositionWrapper','Arrow','map','getObjectIncludeInGroup','resetInitialWidth','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','useKeyboardEvent','univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','DEFAULT','viewportScrollX','shape-editor-ui.fill.picture.align.bl','Module','onSelectionStart$','univer-w-full','textRect','_initSelectionChange','MetaKeys','abs','useMemo','shape-editor-ui.line.transparency','requestAnimationFrame','wrapStrategy','PictureFill','BulletListCommand','shape-editor-ui.fill.gradientFill','ShapeCallout1Icon','min','LocaleService','ctr','_config','unsubscribe','HorizontalAlign','onBeforeCommand','startArrow','deepClone','square','SolidFill','onChange','8\x202\x201\x202\x201\x202','shape-editor-ui.toolbar.collapseShapeToolbar','toStringTag','RichTextEditingMutation','paragraphs','editorUnitId','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','485972VbpWeB','componentKey','cornerRadius','lineStrokeType','updateDocumentStyle','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','shape-editor-ui.fill.picture.align.t','H1Icon','8\x202','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','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','shape-editor-ui.fill.picture.source','fontSize','strikethrough','isActive','shape-editor-ui.line.dashType.longDashDot','italic','columns','\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','underline','_docSelectionRenderService','univer-text-gray-600\x20univer-transition-transform','univer-w-28','divides','editorHeight','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','shape-editor-ui.toolbar.textColor','gradientType','textStyle','useIsFocusing','onClick','shapeText','solid','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','None','univer-h-5\x20univer-w-12','TOP','UndoCommand','HEADING_3','fill','shape-editor-ui.shapePosition','useEditor','_showFloatMenu','addImageSourceCache','#000000','linear','setContextValue','getActualSize','SetParagraphNamedStyleCommand','shape-editor-ui.toolbar.italic','updateHostSize','univer-flex\x20univer-flex-col\x20univer-gap-2','WrapStrategy','JUSTIFIED','viewportKeys','textRanges','nextHeight','univer-gap-2','shape-editor-ui.line.arrowSize.large','getShapeTextEditorContentStyle','main','label','ShapeArrowTypeEnum','shape-editor-ui.fill.noFill','6.8','SetInlineFormatStrikethroughCommand','MoveUpIcon','shape-editor-ui.toolbar.strikethrough','BACKSPACE','rowStartY','width','HorizontallyIcon','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','spaceBelow','shape-editor-ui.fill.picture.insert','parseFloat','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','ui.toolbar.heading.2','Transparency','target','shape-editor-ui.line.arrowType.stealthArrow','NoLine','command:','SetInlineFormatUnderlineCommand','endOffset','univer-w-14','jsxs','MIDDLE','H4Icon','getRenderById','Miter','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','title','imageRotateWithShape','useState','engine','shape-editor-ui.fill.picture.align.r','univer-w-[280px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','shape-editor-ui.fill.pictureFill','COMMA','shape-stroke-dash-dropdown','top-center','TRUE','capType','UnorderIcon','commandId','SetInlineFormatTextBackgroundColorCommand','ColorPicker','shape-editor-ui.shapeStyle','univer-flex-1\x20univer-overflow-auto','shape-editor-ui.fill.picture.offsetX','1267652arrbvZ','M14.3\x2010H17.5','DeleteLeftCommand','univer-w-[260px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','function','SetInlineFormatFontSizeCommand','subscribe','verticalAlign','options','useRef','univer-flex\x20univer-min-w-0\x20univer-flex-col','univer-flex\x20univer-flex-col','button','shape-editor-ui.line.endArrowSize','PaintBucketDoubleIcon','Fragment','BreakLineCommand','call','getItem','frontLabel','gradient','\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','useShapePosition','Round','isItalic','onFront','some','span','DiamondArrow','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','namedStyleType','then','position','getSelectionRanges','mainComponent','AlignBottomIcon','shape-editor-ui.toolbar.alignJustify','shape-editor-ui.line.beginArrowSize','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-base','1527903dKeUHP','shape-editor-ui.line.capType.flat','docs-callout-ui.menu.callout','Select','shape-editor-ui.fill.picture.align.b','bold','paragraphStyle','shape-editor-ui.line.arrowType.openArrow','dataModel','getViewport','AlignTopIcon','FOCUSING_PANEL_EDITOR','univer-flex\x20univer-items-center\x20univer-justify-between','_componentManager','FontColorDoubleIcon','RedoCommand','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','TodoListDoubleIcon','Digit7','VERTICAL_ROTATE_ANGLE','none','transformByState','0\x200\x2048\x2020','1lGNRod','onForward','ceil','univer-hidden','Digit8','univer-flex\x20univer-flex-col\x20univer-gap-3','combobox','1.4','onTransformChange$','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','rotate(-90deg)','memo','startNodePosition','bottom-center','pages','H5Icon','buildShapeTextDataUpdate','-fill','getShapeTextModel','shapeId','univer-flex-1','M2.5\x204.5H8.2','top','left','DocSelectionManagerService','disabled','shape-editor-ui.line.dashType.dashDot','getUnit','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','getAncestorScale','univer-relative\x20univer-inline-flex\x20univer-justify-center','deg)\x20scaleY(','OrderIcon','TypographyIcon','SetInlineFormatSuperscriptCommand','M2.5\x2015.5H8.2','ShapeEditPanel','SetInlineFormatTextFillCommand','rgb','getDrawingTransform','shape-editor-ui.line.arrowType.none','section','univer-text-xl\x20univer-text-gray-500','updateDocumentRenderConfig','constructor','_docSelectionManagerService','clsx','resize','closest','pageMarginTop','getFreeze','shape-editor-ui.fill.picture.align.ctr','clearTimeout','editorTop','attachPopupToRange','SolidLine','FALSE','onBackward','BaselineOffset','ResetInlineFormatTextBackgroundColorCommand','LeftJustifyingIcon','shape-editor-ui.line.joinType.round','children','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','backward','Angular','currentColor','active','getSkeleton','string','updateShapeText','push','shape-editor-ui.line.joinType.miter','shape-editor-ui.line.title','shape-editor-ui.fill.picture.offsetY','InputNumber','6520sFAeWt','prepareShapeTextDocumentData','isHorizontal','sup','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','ENTER','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','lineJoinType','ShapeImageFillEditor','auto','pageMarginLeft','sessionKey','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','shape-editor-ui.fill.picture.align.tl','object','OrderListCommand','path','univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','sketchType','Solid','ShapeLineJoinEnum','current','shape-editor-ui.align.bottom','stripShapeTextDocumentLayout','shape-editor-ui.toolbar.expandShapeToolbar','stops','getDocumentData','shape-editor-ui.line.width','NORMAL_TEXT','univer-rounded-lg\x20univer-p-3','rect','sectionBreaks','getShapeModel','Tools','DeleteIcon','ILocalStorageService','docs-ui.rightClick.checkList','spaceAbove','Gradient','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','offset','shape-editor-ui.fill.picture.scaleX','DocSettingIcon','LongDashDot','deepCompare','setEditing','IUniverInstanceService','input','Typography','butt','univer-gap-3','collapsed','GroupIcon','setTimeout','docs-quote.command.insert','shape-editor-ui.line.capType.title','isBold','isNaN','textFill','shape-editor-ui.line.dashType.longDashDotDot','TopmostIcon','shape-editor-ui.toolbar.alignLeft','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','onSavingEditorData$','snapToGrid','shape-text-editor-content','rotate(','keys','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','unitId','find','getBody','hasCommand','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','shape-editor-ui.fill.picture.tileAsTexture','univer-text-gray-500','join','univer-text-xl','Tooltip','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.shape-editor-ui.floating-toolbar.collapsed','ItalicIcon','prototype'];_0x312e=function(){return _0x1cdad3;};return _0x312e();}const ve={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function ye(_0x264fbd,_0x3e8276,_0x1e6117,_0x2989c3,_0x1bf8f2){const _0x4d6cb9=_0x1ed3a4;let {scaleX:_0x423b96,scaleY:_0x5ae48e}=_0x1e6117[_0x4d6cb9(0x2b7)](),{startColumn:_0x3bb987,startRow:_0x361854,xSplit:_0x3bed92,ySplit:_0x593bbf}=_0x2989c3['worksheet'][_0x4d6cb9(0x2cc)](),_0x3d42f9=_0x1e6117[_0x4d6cb9(0x28c)](_0x1bf8f2[_0x4d6cb9(0x229)]),_0x21fcb3=_0x1e6117['getViewport'](_0x1bf8f2[_0x4d6cb9(0x383)]),_0x29f0a8=_0x1e6117['getViewport'](_0x1bf8f2[_0x4d6cb9(0x2b0)]),_0x49468a=_0x1e6117[_0x4d6cb9(0x28c)](_0x1bf8f2[_0x4d6cb9(0x2b1)]),{rowHeaderWidth:_0x35dfa9,columnHeaderHeight:_0x5ecf16}=_0x2989c3,_0xf7a500=_0x2989c3['rowStartY'](_0x361854)+_0x5ecf16,_0x355919=_0x2989c3['colStartX'](_0x3bb987)+_0x35dfa9,_0x582a35=_0x2989c3[_0x4d6cb9(0x232)](_0x361854-_0x593bbf)+_0x5ecf16,_0x2a169e=_0x2989c3['colStartX'](_0x3bb987-_0x3bed92)+_0x35dfa9,_0x41b111=[],_0x923c1e=(_0xf0cd6b,_0x1ecb69,_0x1125d2)=>{if(!_0xf0cd6b)return null;let {viewportScrollX:_0x41f2c5,viewportScrollY:_0x1b53d5}=_0xf0cd6b,_0x1c3057,_0x429ef0;return _0x1c3057=_0x1ecb69?(_0x264fbd-(_0x2a169e-_0x35dfa9))*_0x423b96:(_0x264fbd-_0x41f2c5)*_0x423b96,_0x429ef0=_0x1125d2?(_0x3e8276-(_0x582a35-_0x5ecf16))*_0x5ae48e:(_0x3e8276-_0x1b53d5)*_0x5ae48e,{'domX':_0x1c3057,'domY':_0x429ef0};},_0x4f2951=_0x264fbd<_0x355919&&_0x3bed92>0x0,_0x489cdb=_0x3e8276<_0xf7a500&&_0x593bbf>0x0,_0x5b4217=_0x264fbd>=_0x355919||_0x3bed92===0x0,_0x3fa59b=_0x3e8276>=_0xf7a500||_0x593bbf===0x0;if(_0x4f2951&&_0x489cdb&&_0x21fcb3){let _0x48006c=_0x923c1e(_0x21fcb3,!0x0,!0x0);_0x48006c&&_0x41b111[_0x4d6cb9(0x2e1)](_0x48006c);}if(_0x489cdb&&_0x5b4217&&_0x29f0a8){let _0x42cfa3=_0x923c1e(_0x29f0a8,!0x1,!0x0);_0x42cfa3&&_0x41b111[_0x4d6cb9(0x2e1)](_0x42cfa3);}if(_0x4f2951&&_0x3fa59b&&_0x49468a){let _0x509b6c=_0x923c1e(_0x49468a,!0x0,!0x1);_0x509b6c&&_0x41b111[_0x4d6cb9(0x2e1)](_0x509b6c);}if(_0x5b4217&&_0x3fa59b&&_0x3d42f9){let _0x25e7dc=_0x923c1e(_0x3d42f9,!0x1,!0x1);_0x25e7dc&&_0x41b111['push'](_0x25e7dc);}if(_0x41b111[_0x4d6cb9(0x362)]===0x0){var _0x13d1c3,_0x10bb18;return{'domX':(_0x264fbd-((_0x13d1c3=_0x3d42f9==null?void 0x0:_0x3d42f9[_0x4d6cb9(0x1c9)])==null?0x0:_0x13d1c3))*_0x423b96,'domY':(_0x3e8276-((_0x10bb18=_0x3d42f9==null?void 0x0:_0x3d42f9[_0x4d6cb9(0x3cc)])==null?0x0:_0x10bb18))*_0x5ae48e};}let _0x12017e=_0x41b111[0x0]['domX'],_0x5c9780=_0x41b111[0x0][_0x4d6cb9(0x379)];for(let _0x1a711f of _0x41b111)_0x1a711f[_0x4d6cb9(0x152)]>_0x12017e&&(_0x12017e=_0x1a711f[_0x4d6cb9(0x152)]),_0x1a711f['domY']>_0x5c9780&&(_0x5c9780=_0x1a711f[_0x4d6cb9(0x379)]);return{'domX':_0x12017e,'domY':_0x5c9780};}function be(_0x2ec7d6,_0x51ef87,_0x46f706,_0x291c11,_0x471908,_0x149501,_0x3f7833,_0x40c8a6){const _0x3836b6=_0x1ed3a4;let {scaleX:_0x49472d,scaleY:_0x1e0488}=_0x149501[_0x3836b6(0x2b7)]();if(!_0x40c8a6||!_0x3f7833[_0x3836b6(0x383)]||!_0x3f7833[_0x3836b6(0x2b0)]||!_0x3f7833[_0x3836b6(0x2b1)]){var _0x410ce0,_0x175837;let _0x207f1d=_0x149501[_0x3836b6(0x28c)](_0x3f7833[_0x3836b6(0x229)]),_0x2faa16=(_0x410ce0=_0x207f1d==null?void 0x0:_0x207f1d['viewportScrollX'])==null?0x0:_0x410ce0,_0x42767d=(_0x175837=_0x207f1d==null?void 0x0:_0x207f1d[_0x3836b6(0x3cc)])==null?0x0:_0x175837;return{'left':(_0x2ec7d6-_0x2faa16)*_0x49472d,'top':(_0x51ef87-_0x42767d)*_0x1e0488,'width':_0x46f706*_0x49472d,'height':_0x291c11*_0x1e0488,'angle':_0x471908,'scaleX':_0x49472d,'scaleY':_0x1e0488};}let {domX:_0x452f99,domY:_0x591d4c}=ye(_0x2ec7d6,_0x51ef87,_0x149501,_0x40c8a6,_0x3f7833);return{'left':_0x452f99,'top':_0x591d4c,'width':_0x46f706*_0x49472d,'height':_0x291c11*_0x1e0488,'angle':_0x471908,'scaleX':_0x49472d,'scaleY':_0x1e0488};}function xe(_0x4b9847){const _0x4166be=_0x1ed3a4;let {editingParams:_0x996ccf,scene:_0x47b56c,skeleton:_0x19c299,viewportKeys:_0x49f3a3,getShapeTransform:_0x248c2b}=_0x4b9847,[_0x5e2212,_0x45c252]=(0x0,n['useState'])(ve),_0x30b3ea=(0x0,n[_0x4166be(0x265)])(_0x5e2212);_0x30b3ea[_0x4166be(0x2fb)]=_0x5e2212;let _0x3afc34=(0x0,n[_0x4166be(0x420)])(()=>{const _0x3db283=_0x4166be;if(!_0x996ccf||!_0x47b56c){_e(_0x30b3ea[_0x3db283(0x2fb)],ve)||_0x45c252(ve);return;}let _0x321662=_0x248c2b();if(!_0x321662){_e(_0x30b3ea[_0x3db283(0x2fb)],ve)||_0x45c252(ve);return;}let {left:_0x44c74b,top:_0x2cde7a,width:_0x48f8d5,height:_0x302ee7,angle:_0x4be582}=_0x321662;if(!_0x996ccf['visible']){let {scaleX:_0x4852fe,scaleY:_0x9a4931}=_0x47b56c[_0x3db283(0x2b7)](),_0x5cdbe7={'left':-0x270f,'top':-0x270f,'width':_0x48f8d5*_0x4852fe,'height':_0x302ee7*_0x9a4931,'angle':0x0,'scaleX':_0x4852fe,'scaleY':_0x9a4931};_0x45c252(_0x4f0147=>_e(_0x4f0147,_0x5cdbe7)?_0x4f0147:_0x5cdbe7);return;}let _0x1b0b7c=be(_0x44c74b,_0x2cde7a,_0x48f8d5,_0x302ee7,_0x4be582,_0x47b56c,_0x49f3a3,_0x19c299);_0x45c252(_0xd776f6=>_e(_0xd776f6,_0x1b0b7c)?_0xd776f6:_0x1b0b7c);},[_0x996ccf,_0x47b56c,_0x19c299,_0x49f3a3,_0x248c2b]);return(0x0,n[_0x4166be(0x409)])(()=>{_0x3afc34();},[_0x996ccf,_0x3afc34]),{'position':_0x5e2212,'updatePosition':_0x3afc34};}function Se(_0x372dfb){const _0x779330=_0x1ed3a4;var _0x39cec5;return(_0x39cec5=_0x372dfb['body'])==null||(_0x39cec5=_0x39cec5[_0x779330(0x1ea)])==null||(_0x39cec5=_0x39cec5['find'](_0x1a1b2b=>{const _0x17bee9=_0x779330;var _0xb53b27;return((_0xb53b27=_0x1a1b2b[_0x17bee9(0x289)])==null?void 0x0:_0xb53b27[_0x17bee9(0x3db)])!==void 0x0;}))==null||(_0x39cec5=_0x39cec5[_0x779330(0x289)])==null?void 0x0:_0x39cec5[_0x779330(0x3db)];}function Ce(_0x4dbb85,_0x6aed13={}){const _0x44e89e=_0x1ed3a4;var _0x488f30,_0x1189b3,_0x405163,_0xaeaaf1;let _0x356050=(_0x488f30=_0x4dbb85[_0x44e89e(0x1ba)])==null?void 0x0:_0x488f30[_0x44e89e(0x34c)];return{'horizontalAlign':(_0x1189b3=(_0x405163=Se(_0x4dbb85))==null?_0x356050==null?void 0x0:_0x356050['horizontalAlign']:_0x405163)==null?_0x6aed13[_0x44e89e(0x3db)]:_0x1189b3,'verticalAlign':(_0xaeaaf1=_0x356050==null?void 0x0:_0x356050[_0x44e89e(0x263)])==null?_0x6aed13[_0x44e89e(0x263)]:_0xaeaaf1};}function we(_0x234348,_0xe702a3){const _0xeed704=_0x1ed3a4;var _0x51e4ca;let _0x13067d=(_0x51e4ca=_0x234348[_0xeed704(0x1ba)])==null?{}:_0x51e4ca,_0x104074={..._0x13067d['renderConfig']};if(_0xe702a3['verticalAlign']!==void 0x0&&(_0x104074[_0xeed704(0x263)]=_0xe702a3[_0xeed704(0x263)]),_0xe702a3[_0xeed704(0x3db)]!==void 0x0){var _0x259cad;_0x104074[_0xeed704(0x3db)]=_0xe702a3[_0xeed704(0x3db)];let _0x1c31a7=(_0x259cad=_0x234348['body'])==null?void 0x0:_0x259cad[_0xeed704(0x1ea)];if(_0x1c31a7){for(let _0x4923a5 of _0x1c31a7)_0x4923a5[_0xeed704(0x289)]={..._0x4923a5['paragraphStyle'],'horizontalAlign':_0xe702a3[_0xeed704(0x3db)]};}}_0x234348[_0xeed704(0x1ba)]={..._0x13067d,'renderConfig':Object[_0xeed704(0x329)](_0x104074)[_0xeed704(0x362)]>0x0?_0x104074:void 0x0};}function Te(_0x34ef5c){const _0x2ec1cf=_0x1ed3a4;var _0xb4ab99,_0x1c8d11,_0x3ea26c,_0x285591;let _0x5542e7=(_0xb4ab99=(_0x1c8d11=_0x34ef5c[_0x2ec1cf(0x186)])==null||(_0x1c8d11=_0x1c8d11[_0x2ec1cf(0x1bc)])==null?void 0x0:_0x1c8d11[_0x2ec1cf(0x362)])==null?0x0:_0xb4ab99,_0x42007b=(_0x3ea26c=_0x34ef5c['body'])==null?void 0x0:_0x3ea26c['sectionBreaks'];if(_0x42007b!=null&&_0x42007b[_0x2ec1cf(0x362)])for(let _0x3a45e5 of _0x42007b){var _0x4de3e7;_0x3a45e5[_0x2ec1cf(0x3aa)]=(_0x4de3e7=_0x3a45e5[_0x2ec1cf(0x3aa)])==null?a[_0x2ec1cf(0x3b6)][_0x2ec1cf(0x1c8)]:_0x4de3e7;}else _0x34ef5c[_0x2ec1cf(0x186)]&&(_0x34ef5c[_0x2ec1cf(0x186)][_0x2ec1cf(0x305)]=[{'startIndex':Math[_0x2ec1cf(0x40e)](0x0,_0x5542e7-0x1),'gridType':a['GridType'][_0x2ec1cf(0x1c8)]}]);let _0x421b2b=(_0x285591=_0x34ef5c[_0x2ec1cf(0x186)])==null?void 0x0:_0x285591['paragraphs'];if(_0x421b2b)for(let _0x5b9bb2 of _0x421b2b){var _0x5051a1,_0x5a951e,_0x34b1c2,_0xd8a12,_0x52cc33,_0x27439e,_0x38c18e,_0x5737db;_0x5b9bb2[_0x2ec1cf(0x289)]={..._0x5b9bb2['paragraphStyle'],'lineSpacing':(_0x5051a1=(_0x5a951e=_0x5b9bb2[_0x2ec1cf(0x289)])==null?void 0x0:_0x5a951e[_0x2ec1cf(0x350)])==null?0x1:_0x5051a1,'snapToGrid':(_0x34b1c2=(_0xd8a12=_0x5b9bb2[_0x2ec1cf(0x289)])==null?void 0x0:_0xd8a12[_0x2ec1cf(0x326)])==null?a[_0x2ec1cf(0x3a0)][_0x2ec1cf(0x2d2)]:_0x34b1c2,'spaceAbove':(_0x52cc33=(_0x27439e=_0x5b9bb2['paragraphStyle'])==null?void 0x0:_0x27439e[_0x2ec1cf(0x30b)])==null?{'v':0x0}:_0x52cc33,'spaceBelow':(_0x38c18e=(_0x5737db=_0x5b9bb2[_0x2ec1cf(0x289)])==null?void 0x0:_0x5737db[_0x2ec1cf(0x236)])==null?{'v':0x0}:_0x38c18e};}}function Ee(_0x585f15){const _0x43d951=_0x1ed3a4;let _0xa317c1=_0x585f15[_0x43d951(0x186)],_0x3b8566=_0xa317c1==null?void 0x0:_0xa317c1['paragraphs'],_0x59b05d=_0xa317c1==null?void 0x0:_0xa317c1[_0x43d951(0x1bc)];if(!_0xa317c1||!(_0x3b8566!=null&&_0x3b8566[_0x43d951(0x362)])||!_0x59b05d)return;let _0x4c8f41=[];for(let _0x365d83=0x0;_0x365d83<_0x59b05d['length'];_0x365d83++)_0x59b05d[_0x365d83]==='\x0d'&&_0x4c8f41[_0x43d951(0x2e1)](_0x365d83);_0x4c8f41[_0x43d951(0x362)]===_0x3b8566[_0x43d951(0x362)]&&(_0xa317c1[_0x43d951(0x1ea)]=_0x3b8566[_0x43d951(0x1c2)]((_0x2607c3,_0x28f6e2)=>({..._0x2607c3,'startIndex':_0x4c8f41[_0x28f6e2]})));}function De(_0x3d1f17,_0x2221b8){const _0x447d50=_0x1ed3a4;var _0x1d820e,_0x4a5633,_0x1b2699,_0x3f053b,_0x21012c,_0x28b4d4,_0x420311,_0x361dc2,_0x994cd2,_0x2c936b,_0x3b5702;let {isHorizontal:_0x4f0bd1,textRect:_0x29e376}=_0x2221b8,_0x495c26=_0x4f0bd1?_0x29e376[_0x447d50(0x233)]:_0x29e376[_0x447d50(0x382)],_0x211032=a[_0x447d50(0x307)]['deepClone'](_0x3d1f17),_0x88689a=(_0x1d820e=_0x211032[_0x447d50(0x1ba)])==null?{}:_0x1d820e,_0x24d3f5={..._0x88689a[_0x447d50(0x34c)],'centerAngle':_0x4f0bd1?0x0:u[_0x447d50(0x296)],'vertexAngle':_0x4f0bd1?0x0:u[_0x447d50(0x296)],'wrapStrategy':(_0x4a5633=(_0x1b2699=_0x2221b8['wrapStrategy'])==null?(_0x3f053b=_0x88689a[_0x447d50(0x34c)])==null?void 0x0:_0x3f053b['wrapStrategy']:_0x1b2699)==null?a[_0x447d50(0x221)]['WRAP']:_0x4a5633,'zeroWidthParagraphBreak':(_0x21012c=(_0x28b4d4=_0x88689a[_0x447d50(0x34c)])==null?void 0x0:_0x28b4d4[_0x447d50(0x366)])==null?a[_0x447d50(0x3a0)][_0x447d50(0x253)]:_0x21012c,'shapeTextOpticalVerticalAlign':(_0x420311=(_0x361dc2=_0x88689a[_0x447d50(0x34c)])==null?void 0x0:_0x361dc2[_0x447d50(0x37f)])==null?a[_0x447d50(0x3a0)]['TRUE']:_0x420311};_0x211032[_0x447d50(0x1ba)]={..._0x88689a,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x495c26,'height':0x1/0x0},'renderConfig':_0x24d3f5},Ee(_0x211032),Te(_0x211032);let _0x456dc1=Ce(_0x211032,_0x2221b8);return we(_0x211032,{'horizontalAlign':(_0x994cd2=_0x2221b8[_0x447d50(0x3db)])==null?_0x456dc1[_0x447d50(0x3db)]:_0x994cd2,'verticalAlign':(_0x2c936b=_0x2221b8[_0x447d50(0x263)])==null?_0x456dc1[_0x447d50(0x263)]:_0x2c936b}),(_0x3b5702=_0x211032['documentStyle'])==null||(_0x3b5702=_0x3b5702[_0x447d50(0x34c)])==null||delete _0x3b5702['horizontalAlign'],_0x211032;}function Oe(_0x4e493c,_0x1a0700={}){const _0x5dfc42=_0x1ed3a4;var _0xae226,_0x28208b,_0xc97df0;let _0x3d45fc=a['Tools']['deepClone'](_0x4e493c),_0x581736=(_0xae226=_0x3d45fc[_0x5dfc42(0x1ba)])==null?{}:_0xae226,_0x9089e5={..._0x581736['renderConfig']},_0x45d727=Ce(_0x3d45fc,_0x1a0700),_0x24f944=(_0x28208b=_0x1a0700[_0x5dfc42(0x3db)])==null?_0x45d727[_0x5dfc42(0x3db)]:_0x28208b,_0x135a8c=(_0xc97df0=_0x1a0700[_0x5dfc42(0x263)])==null?_0x45d727[_0x5dfc42(0x263)]:_0xc97df0;delete _0x9089e5[_0x5dfc42(0x16a)],delete _0x9089e5[_0x5dfc42(0x343)],delete _0x9089e5[_0x5dfc42(0x1d5)];let _0x4fdc7d=_0x9089e5[_0x5dfc42(0x37f)];return(_0x4fdc7d===a[_0x5dfc42(0x3a0)][_0x5dfc42(0x253)]||_0x4fdc7d===!0x0)&&delete _0x9089e5[_0x5dfc42(0x37f)],_0x3d45fc[_0x5dfc42(0x1ba)]={..._0x581736,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x5dfc42(0x329)](_0x9089e5)['length']>0x0?_0x9089e5:void 0x0},we(_0x3d45fc,{'horizontalAlign':_0x24f944,'verticalAlign':_0x135a8c}),_0x3d45fc;}function ke(_0x2f6d22){'@babel/helpers - typeof';const _0x113671=_0x1ed3a4;return ke=typeof Symbol==_0x113671(0x260)&&typeof Symbol[_0x113671(0x392)]==_0x113671(0x16c)?function(_0x16dfca){return typeof _0x16dfca;}:function(_0x229c62){const _0xaddd68=_0x113671;return _0x229c62&&typeof Symbol==_0xaddd68(0x260)&&_0x229c62[_0xaddd68(0x2c6)]===Symbol&&_0x229c62!==Symbol[_0xaddd68(0x338)]?_0xaddd68(0x16c):typeof _0x229c62;},ke(_0x2f6d22);}function Ae(_0x269e4d,_0x56eafe){const _0x59bea1=_0x1ed3a4;if(ke(_0x269e4d)!=_0x59bea1(0x2f4)||!_0x269e4d)return _0x269e4d;var _0x3f7ce7=_0x269e4d[Symbol['toPrimitive']];if(_0x3f7ce7!==void 0x0){var _0x455343=_0x3f7ce7[_0x59bea1(0x26d)](_0x269e4d,_0x56eafe||'default');if(ke(_0x455343)!=_0x59bea1(0x2f4))return _0x455343;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x56eafe==='string'?String:Number)(_0x269e4d);}function je(_0x494f71){const _0x3c5dda=_0x1ed3a4;var _0x415bab=Ae(_0x494f71,_0x3c5dda(0x2df));return ke(_0x415bab)==_0x3c5dda(0x16c)?_0x415bab:_0x415bab+'';}function Me(_0x70149f,_0x1ac4b3,_0x3d877b){return(_0x1ac4b3=je(_0x1ac4b3))in _0x70149f?Object['defineProperty'](_0x70149f,_0x1ac4b3,{'value':_0x3d877b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x70149f[_0x1ac4b3]=_0x3d877b,_0x70149f;}function Ne(_0x3f3949,_0xad08b6){const _0x1b0b28=_0x1ed3a4;if(_0x3f3949==null||_0xad08b6==null)return!0x1;let {glyph:_0x5eca21,..._0x58465b}=_0x3f3949,{glyph:_0xc2a45a,..._0x167d5a}=_0xad08b6;return(0x0,a[_0x1b0b28(0x312)])(_0x58465b,_0x167d5a);}var Pe=class extends a['Disposable']{constructor(_0x40ebf9,_0x286ae9,_0x6f07f6,_0x10b941,_0x5785ca,_0x3d9532){const _0x17c2c4=_0x1ed3a4;super(),this[_0x17c2c4(0x401)]=_0x40ebf9,this[_0x17c2c4(0x2c7)]=_0x286ae9,this[_0x17c2c4(0x3c4)]=_0x6f07f6,this['_componentManager']=_0x10b941,this[_0x17c2c4(0x201)]=_0x5785ca,this[_0x17c2c4(0x1dd)]=_0x3d9532,Me(this,_0x17c2c4(0x19f),null),this['_context'][_0x17c2c4(0x32b)]===this[_0x17c2c4(0x1dd)][_0x17c2c4(0x1eb)]&&(this[_0x17c2c4(0x1b6)](this[_0x17c2c4(0x290)][_0x17c2c4(0x3be)](this[_0x17c2c4(0x1dd)][_0x17c2c4(0x1ee)],this['_config'][_0x17c2c4(0x1af)])),this[_0x17c2c4(0x1cf)](),this[_0x17c2c4(0x1b6)](()=>this['_hideFloatMenu']()));}['_initSelectionChange'](){const _0x4091ea=_0x1ed3a4;this[_0x4091ea(0x1b6)](this[_0x4091ea(0x201)][_0x4091ea(0x1cc)][_0x4091ea(0x262)](()=>{const _0x5df619=_0x4091ea;this[_0x5df619(0x3df)]();})),this[_0x4091ea(0x1b6)](this[_0x4091ea(0x2c7)][_0x4091ea(0x380)]['subscribe'](_0x5f28d4=>{const _0x4c1811=_0x4091ea;var _0x44c31f,_0x2a6e9d;let {unitId:_0x4f2ad2,textRanges:_0x47cfa5}=_0x5f28d4;if(_0x4f2ad2!==this[_0x4c1811(0x401)][_0x4c1811(0x32b)])return;let _0x1239ed=_0x47cfa5[_0x4c1811(0x32c)](_0xe672fb=>!_0xe672fb[_0x4c1811(0x319)]);if(!_0x1239ed){this[_0x4c1811(0x3df)]();return;}_0x1239ed[_0x4c1811(0x371)]===((_0x44c31f=this[_0x4c1811(0x19f)])==null?void 0x0:_0x44c31f['start'])&&_0x1239ed[_0x4c1811(0x241)]===((_0x2a6e9d=this[_0x4c1811(0x19f)])==null?void 0x0:_0x2a6e9d[_0x4c1811(0x3d7)])||(this[_0x4c1811(0x3df)](),this[_0x4c1811(0x217)](_0x4f2ad2,_0x1239ed));}));}[_0x1ed3a4(0x3df)](){const _0x480295=_0x1ed3a4;var _0xe66854;(_0xe66854=this[_0x480295(0x19f)])==null||_0xe66854[_0x480295(0x385)][_0x480295(0x41f)](),this['_floatMenu']=null;}[_0x1ed3a4(0x217)](_0x486c94,_0x12783c){const _0x4ee0f4=_0x1ed3a4;this['_floatMenu']={'disposable':this[_0x4ee0f4(0x3c4)][_0x4ee0f4(0x2d0)](_0x12783c,{'componentKey':this[_0x4ee0f4(0x1dd)]['componentKey'],'direction':_0x12783c[_0x4ee0f4(0x3f6)]===_0x4ee0f4(0x2da)||Ne(_0x12783c[_0x4ee0f4(0x2a6)],_0x12783c[_0x4ee0f4(0x378)])?_0x4ee0f4(0x252):_0x4ee0f4(0x2a7),'offset':[0x0,0x4]},_0x486c94),'start':_0x12783c[_0x4ee0f4(0x371)],'end':_0x12783c[_0x4ee0f4(0x241)]};}};function Fe(_0x428544,_0x2ea9d4){const _0x4c6bad=_0x1ed3a4;return Math[_0x4c6bad(0x1d1)](_0x428544['editorLeft']-_0x2ea9d4[_0x4c6bad(0x396)])<=0.001&&Math[_0x4c6bad(0x1d1)](_0x428544['editorTop']-_0x2ea9d4[_0x4c6bad(0x2cf)])<=0.001&&Math['abs'](_0x428544[_0x4c6bad(0x41c)]-_0x2ea9d4[_0x4c6bad(0x41c)])<=0.001&&Math[_0x4c6bad(0x1d1)](_0x428544[_0x4c6bad(0x205)]-_0x2ea9d4['editorHeight'])<=0.001;}function Ie(_0x2ebda0){const _0x5ddd83=_0x1ed3a4;return _0x2ebda0===!0x0||_0x2ebda0===a[_0x5ddd83(0x3a0)][_0x5ddd83(0x253)];}function Le(_0x31e586){const _0x981fa7=_0x1ed3a4;return typeof(_0x31e586==null?void 0x0:_0x31e586[_0x981fa7(0x151)])==_0x981fa7(0x2df)&&_0x31e586[_0x981fa7(0x151)]['trim']()[_0x981fa7(0x362)]>0x0;}function Re(_0x295fd9,_0x225d10,_0xd79ab9){const _0x22fd78=_0x1ed3a4;var _0xa73ae2;if(_0xd79ab9===void 0x0||_0xd79ab9===a['VerticalAlign']['UNSPECIFIED'])return 0x0;let _0x5d1109=_0x295fd9[_0x22fd78(0x1a0)]();if(!(!(_0x5d1109==null||(_0xa73ae2=_0x5d1109[_0x22fd78(0x2a8)])==null)&&_0xa73ae2[_0x22fd78(0x362)]))return 0x0;let _0x54a1b8=0x1/0x0,_0x2d98df=-0x1/0x0,_0x3f8c8f=0x0;for(let _0x396024 of _0x5d1109[_0x22fd78(0x2a8)]){var _0x1df957,_0x21000e;let _0x1a7616=(_0x1df957=_0x396024[_0x22fd78(0x3b2)])==null?0x0:_0x1df957;for(let _0x44536f of(_0x21000e=_0x396024[_0x22fd78(0x13e)])==null?[]:_0x21000e){var _0x26b3a6,_0x22ec7d;let _0x472e92=(_0x26b3a6=_0x44536f[_0x22fd78(0x2b0)])==null?0x0:_0x26b3a6;for(let _0x181200 of(_0x22ec7d=_0x44536f[_0x22fd78(0x1fe)])==null?[]:_0x22ec7d){var _0x189541;for(let _0x43d89d of(_0x189541=_0x181200['lines'])==null?[]:_0x189541){var _0x2a73b9,_0x2d598c,_0x3e1c75,_0x3ecd1c,_0x4dc4af;let _0x21bacc=_0x3f8c8f+_0x1a7616+_0x472e92+((_0x2a73b9=_0x43d89d['top'])==null?0x0:_0x2a73b9)+((_0x2d598c=_0x43d89d[_0x22fd78(0x3b2)])==null?0x0:_0x2d598c)+((_0x3e1c75=_0x43d89d['paddingTop'])==null?0x0:_0x3e1c75)+((_0x3ecd1c=_0x43d89d[_0x22fd78(0x38e)])==null?0x0:_0x3ecd1c);for(let _0x3eab0c of(_0x4dc4af=_0x43d89d[_0x22fd78(0x204)])==null?[]:_0x4dc4af){var _0x422c5f;for(let _0x45e59c of(_0x422c5f=_0x3eab0c[_0x22fd78(0x158)])==null?[]:_0x422c5f){var _0x33e4bd,_0x1187a7,_0x13e8e2,_0x2c71d3;Le(_0x45e59c)&&(_0x54a1b8=Math[_0x22fd78(0x1da)](_0x54a1b8,_0x21bacc-((_0x33e4bd=(_0x1187a7=_0x45e59c[_0x22fd78(0x1ac)])==null?void 0x0:_0x1187a7['aba'])==null?0x0:_0x33e4bd)),_0x2d98df=Math[_0x22fd78(0x40e)](_0x2d98df,_0x21bacc+((_0x13e8e2=(_0x2c71d3=_0x45e59c[_0x22fd78(0x1ac)])==null?void 0x0:_0x2c71d3['abd'])==null?0x0:_0x13e8e2)));}}}}}let _0xfa3a84=Number[_0x22fd78(0x18a)](_0x396024['pageHeight'])?_0x396024['pageHeight']:_0x396024[_0x22fd78(0x382)];_0x3f8c8f+=_0xfa3a84==null?0x0:_0xfa3a84;}return!Number[_0x22fd78(0x18a)](_0x54a1b8)||!Number['isFinite'](_0x2d98df)?0x0:_0xd79ab9===a['VerticalAlign'][_0x22fd78(0x1b0)]?_0x225d10-_0x2d98df:_0xd79ab9===a[_0x22fd78(0x190)][_0x22fd78(0x244)]?_0x225d10/0x2-(_0x54a1b8+_0x2d98df)/0x2:_0xd79ab9===a[_0x22fd78(0x190)]['TOP']?-_0x54a1b8:0x0;}function ze(_0x1abc28){const _0x479744=_0x1ed3a4;let {editorUnitId:_0x14608f,editingParams:_0xc71987}=_0x1abc28;return _0xc71987?[_0x14608f,_0xc71987['unitId'],_0xc71987[_0x479744(0x144)],_0xc71987['shapeId'],_0xc71987['shapeKey'],_0xc71987[_0x479744(0x3e2)]?'visible':'hidden'][_0x479744(0x332)]('|'):null;}function Be(_0x2bc9f9){const _0x285e2d=_0x1ed3a4;var _0x2bdaf7,_0x2c4a97;let _0x35942b=_0x2bc9f9;return(_0x35942b==null?void 0x0:_0x35942b[_0x285e2d(0x3de)])==='none'?a[_0x285e2d(0x221)][_0x285e2d(0x364)]:(_0x35942b==null?void 0x0:_0x35942b[_0x285e2d(0x3de)])===_0x285e2d(0x1e3)||(_0x2bdaf7=_0x35942b==null||(_0x2c4a97=_0x35942b['dataModel'])==null||(_0x2c4a97=_0x2c4a97[_0x285e2d(0x40b)])==null||(_0x2c4a97=_0x2c4a97[_0x285e2d(0x1ba)])==null||(_0x2c4a97=_0x2c4a97[_0x285e2d(0x34c)])==null?void 0x0:_0x2c4a97[_0x285e2d(0x1d5)])==null?a[_0x285e2d(0x221)][_0x285e2d(0x3c7)]:_0x2bdaf7;}function Ve(_0x427363){const _0x4f1b91=_0x1ed3a4;var _0x302fd4;let _0x22df96=(_0x302fd4=_0x427363['tolerance'])==null?0x1:_0x302fd4;return Math[_0x4f1b91(0x1d1)](_0x427363['nextWidth']-_0x427363['baselineWidth'])>_0x22df96||Math[_0x4f1b91(0x1d1)](_0x427363[_0x4f1b91(0x225)]-_0x427363['baselineHeight'])>_0x22df96;}function He(_0x5a9f8c){const _0x1b3b7a=_0x1ed3a4;var _0x253e6c,_0x4b4a88;let {adapter:_0x3d3bde,editingParams:_0x4ea700}=_0x5a9f8c;return!_0x3d3bde[_0x1b3b7a(0x21f)]||!_0x4ea700?!0x1:(_0x253e6c=(_0x4b4a88=_0x3d3bde[_0x1b3b7a(0x3f2)])==null?void 0x0:_0x4b4a88[_0x1b3b7a(0x26d)](_0x3d3bde,_0x4ea700))==null?!0x0:_0x253e6c;}function Ue(_0x49bb7b){const _0x577eaf=_0x1ed3a4;return _0x49bb7b[_0x577eaf(0x344)]?a[_0x577eaf(0x190)][_0x577eaf(0x211)]:_0x49bb7b[_0x577eaf(0x263)];}function We(_0x47aaf5){const _0xefec3=_0x1ed3a4;let {actualHeight:_0x27022d,opticalVerticalOffset:_0x4bdee0,scaleX:_0x2a94d0,scaleY:_0x2027bf,textRect:_0x456c76,verticalAlign:_0x24efc1}=_0x47aaf5,_0x5f459c=Math[_0xefec3(0x40e)](0x1,_0x456c76[_0xefec3(0x382)]),_0x2bddb6=Math[_0xefec3(0x40e)](_0x5f459c,_0x27022d),_0xb84852=0x0,_0x4dd208=0x0;return _0x4bdee0===void 0x0?_0x27022d<=_0x5f459c?_0x24efc1===a[_0xefec3(0x190)][_0xefec3(0x244)]?_0x4dd208=(_0x5f459c-_0x27022d)/0x2:_0x24efc1===a['VerticalAlign'][_0xefec3(0x1b0)]&&(_0x4dd208=_0x5f459c-_0x27022d):_0x24efc1===a[_0xefec3(0x190)][_0xefec3(0x244)]?_0xb84852=(_0x5f459c-_0x27022d)/0x2:_0x24efc1===a['VerticalAlign'][_0xefec3(0x1b0)]&&(_0xb84852=_0x5f459c-_0x27022d):_0x4bdee0<0x0?_0xb84852=_0x4bdee0:_0x4dd208=_0x4bdee0,{'documentMarginTop':_0x4dd208,'editorLeft':Math[_0xefec3(0x40e)](0x0,_0x456c76[_0xefec3(0x2b1)])*_0x2a94d0,'editorTop':(Math['max'](0x0,_0x456c76[_0xefec3(0x2b0)])+_0xb84852)*_0x2027bf,'editorWidth':Math['max'](0x1,_0x456c76['width'])*_0x2a94d0,'editorHeight':_0x2bddb6*_0x2027bf,'pageHeight':_0x2bddb6};}function Ge(_0x567df9){const _0x47abcf=_0x1ed3a4;let {allowShrink:_0x13de5b=!0x1,hostWidth:_0x291d4e,hostHeight:_0x386304,textRect:_0xd38a77,contentWidth:_0x2dab23,contentHeight:_0x142bae}=_0x567df9,_0x34f18a=Number[_0x47abcf(0x18a)](_0x291d4e)&&_0x291d4e>0x0?_0x291d4e:0x1,_0x5e418d=Number['isFinite'](_0x386304)&&_0x386304>0x0?_0x386304:0x1,_0x18df9e=Math[_0x47abcf(0x40e)](0x0,_0xd38a77[_0x47abcf(0x2b1)]),_0x2c05ca=Math['max'](0x0,_0xd38a77[_0x47abcf(0x2b0)]),_0x4480bb=Math[_0x47abcf(0x40e)](0x1,_0xd38a77[_0x47abcf(0x233)]),_0x575f1a=Math[_0x47abcf(0x40e)](0x1,_0xd38a77[_0x47abcf(0x382)]),_0x3c76c9=Math[_0x47abcf(0x40e)](0x0,_0x34f18a-_0x18df9e-_0x4480bb),_0x199d4e=Math[_0x47abcf(0x40e)](0x0,_0x5e418d-_0x2c05ca-_0x575f1a),_0x2ccace=Math['max'](0x1,_0x13de5b?_0x2dab23:Math[_0x47abcf(0x40e)](_0x4480bb,_0x2dab23)),_0x4d854d=Math[_0x47abcf(0x40e)](0x1,_0x13de5b?_0x142bae:Math['max'](_0x575f1a,_0x142bae)),_0x30fdef=Math[_0x47abcf(0x29c)](_0x18df9e+_0x2ccace+_0x3c76c9),_0x21c671=Math[_0x47abcf(0x29c)](_0x2c05ca+_0x4d854d+_0x199d4e);return{'width':_0x13de5b?_0x30fdef:Math[_0x47abcf(0x40e)](_0x34f18a,_0x30fdef),'height':_0x13de5b?_0x21c671:Math[_0x47abcf(0x40e)](_0x5e418d,_0x21c671)};}function Ke(_0x23e8fd,_0x3321d9,_0x3f5fe2,_0x4ad701){const _0x5b5797=_0x1ed3a4;return{'top':_0x4ad701===void 0x0?0x0:_0x3321d9,'left':_0x3f5fe2===void 0x0?0x0:_0x23e8fd,'width':_0x3f5fe2==null?_0x23e8fd:_0x3f5fe2,'height':_0x4ad701==null?_0x3321d9:_0x4ad701,'borderColor':_0x5b5797(0x3d1),'outlineColor':_0x5b5797(0x3d1),'backgroundColor':_0x5b5797(0x3d1)};}function qe(_0x41f41a,..._0x1dae7c){const _0x28db05=_0x1ed3a4;_0x41f41a[_0x28db05(0x3ea)](..._0x1dae7c),_0x41f41a[_0x28db05(0x3e7)]();}function Je(_0x4e8c45){const _0x46f9f8=_0x1ed3a4;var _0x30f365,_0x506771;let _0x1e0c94=_0x4e8c45==null||(_0x30f365=_0x4e8c45[_0x46f9f8(0x24c)])==null||(_0x506771=_0x30f365[_0x46f9f8(0x3d6)])==null?void 0x0:_0x506771[_0x46f9f8(0x26d)](_0x30f365);_0x1e0c94&&(_0x1e0c94[_0x46f9f8(0x345)]['backgroundColor']=_0x46f9f8(0x3d1));}function Ye(_0x21e06b){const _0x1f608c=_0x1ed3a4;var _0x260666,_0x3ad4d4;let _0x663dc2=_0xbd4567=>{const _0x570462=_0x388e;if(!_0xbd4567||typeof _0xbd4567!=_0x570462(0x2f4))return;let _0x17b0c2=_0xbd4567;_0x17b0c2[_0x570462(0x2f0)]!==void 0x0&&(_0x17b0c2[_0x570462(0x2f0)]=0x0),_0x17b0c2[_0x570462(0x2cb)]!==void 0x0&&(_0x17b0c2[_0x570462(0x2cb)]=0x0);};_0x663dc2(_0x21e06b==null?void 0x0:_0x21e06b[_0x1f608c(0x27e)]),_0x21e06b==null||(_0x260666=_0x21e06b['components'])==null||(_0x3ad4d4=_0x260666['forEach'])==null||_0x3ad4d4[_0x1f608c(0x26d)](_0x260666,_0x663dc2);}function Xe(_0x122cc7,_0x1101b9){const _0x3a6948=_0x1ed3a4;let _0x120735=o[_0x3a6948(0x1d0)][_0x3a6948(0x17d)],_0x1ba48f=o[_0x3a6948(0x1d0)][_0x3a6948(0x17d)]|o['MetaKeys']['SHIFT'];return{'keyCodes':[{'keyCode':o[_0x3a6948(0x3a7)][_0x3a6948(0x2eb)]},{'keyCode':o['KeyCode'][_0x3a6948(0x231)]},{'keyCode':o[_0x3a6948(0x3a7)][_0x3a6948(0x14b)]},{'keyCode':o[_0x3a6948(0x3a7)]['A'],'metaKey':_0x120735},{'keyCode':o[_0x3a6948(0x3a7)]['B'],'metaKey':_0x120735},{'keyCode':o[_0x3a6948(0x3a7)]['I'],'metaKey':_0x120735},{'keyCode':o[_0x3a6948(0x3a7)]['U'],'metaKey':_0x120735},{'keyCode':o[_0x3a6948(0x3a7)]['X'],'metaKey':_0x1ba48f},{'keyCode':o['KeyCode'][_0x3a6948(0x250)],'metaKey':_0x120735},{'keyCode':o['KeyCode']['PERIOD'],'metaKey':_0x120735},{'keyCode':o[_0x3a6948(0x3a7)]['L'],'metaKey':_0x1ba48f},{'keyCode':o[_0x3a6948(0x3a7)]['R'],'metaKey':_0x1ba48f},{'keyCode':o[_0x3a6948(0x3a7)]['E'],'metaKey':_0x1ba48f},{'keyCode':o['KeyCode']['J'],'metaKey':_0x1ba48f},{'keyCode':o[_0x3a6948(0x3a7)][_0x3a6948(0x295)],'metaKey':_0x1ba48f},{'keyCode':o[_0x3a6948(0x3a7)]['Digit8'],'metaKey':_0x1ba48f},{'keyCode':o[_0x3a6948(0x3a7)]['Z'],'metaKey':_0x120735},{'keyCode':o[_0x3a6948(0x3a7)]['Y'],'metaKey':_0x120735},{'keyCode':o['KeyCode']['Z'],'metaKey':_0x1ba48f}],'handler':(_0x5a8ae9,_0x363817)=>{const _0x5d2ac2=_0x3a6948;switch(_0x5a8ae9+':'+(_0x363817==null?0x0:_0x363817)){case o[_0x5d2ac2(0x3a7)][_0x5d2ac2(0x2eb)]+':0':_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x26c)]['id']);break;case o['KeyCode'][_0x5d2ac2(0x231)]+':0':_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x25e)]['id']);break;case o['KeyCode'][_0x5d2ac2(0x14b)]+':0':_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x3e6)]['id']);break;case o['KeyCode']['A']+':'+_0x120735:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x3a9)]['id']);break;case o[_0x5d2ac2(0x3a7)]['B']+':'+_0x120735:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x3b4)]['id']);break;case o[_0x5d2ac2(0x3a7)]['I']+':'+_0x120735:_0x122cc7['executeCommand'](l[_0x5d2ac2(0x347)]['id']);break;case o[_0x5d2ac2(0x3a7)]['U']+':'+_0x120735:_0x122cc7[_0x5d2ac2(0x387)](l['SetInlineFormatUnderlineCommand']['id']);break;case o[_0x5d2ac2(0x3a7)]['X']+':'+_0x1ba48f:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x22e)]['id']);break;case o[_0x5d2ac2(0x3a7)]['COMMA']+':'+_0x120735:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x187)]['id']);break;case o['KeyCode']['PERIOD']+':'+_0x120735:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x2bc)]['id']);break;case o[_0x5d2ac2(0x3a7)]['L']+':'+_0x1ba48f:_0x122cc7['executeCommand'](l['AlignLeftCommand']['id']);break;case o[_0x5d2ac2(0x3a7)]['R']+':'+_0x1ba48f:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x1a9)]['id']);break;case o['KeyCode']['E']+':'+_0x1ba48f:_0x122cc7['executeCommand'](l[_0x5d2ac2(0x38f)]['id']);break;case o[_0x5d2ac2(0x3a7)]['J']+':'+_0x1ba48f:_0x122cc7[_0x5d2ac2(0x387)](l['AlignJustifyCommand']['id']);break;case o['KeyCode']['Digit7']+':'+_0x1ba48f:_0x122cc7[_0x5d2ac2(0x387)](l[_0x5d2ac2(0x2f5)]['id']);break;case o[_0x5d2ac2(0x3a7)][_0x5d2ac2(0x29e)]+':'+_0x1ba48f:_0x122cc7['executeCommand'](l['BulletListCommand']['id']);break;case o[_0x5d2ac2(0x3a7)]['Z']+':'+_0x120735:_0x1101b9?_0x1101b9(a['UndoCommand']['id']):_0x122cc7[_0x5d2ac2(0x387)](a[_0x5d2ac2(0x212)]['id']);break;case o['KeyCode']['Y']+':'+_0x120735:case o[_0x5d2ac2(0x3a7)]['Z']+':'+_0x1ba48f:_0x1101b9?_0x1101b9(a['RedoCommand']['id']):_0x122cc7['executeCommand'](a[_0x5d2ac2(0x292)]['id']);break;}}};}const Ze=function(_0x2b66de){const _0x32c102=_0x1ed3a4;let {adapter:_0xc14f66,containerWidth:_0x3dfde3,containerHeight:_0x3ddc7a,editingParams:_0x2983e5,editingService:_0x183618,editorUnitId:_0x52a4e8,scaleX:_0x25251d,scaleY:_0x13b637,verticalAlignCommandId:_0x558f83}=_0x2b66de,_0xe145ae=_0x25251d||0x1,_0x2abaeb=_0x13b637||0x1,_0x178d59=(0x0,o['useDependency'])(l[_0x32c102(0x13d)]),_0x26b6b0=(0x0,o[_0x32c102(0x34f)])(u[_0x32c102(0x18c)]),_0x1c9ce4=(0x0,o['useDependency'])(a[_0x32c102(0x314)]),_0x4a5b63=(0x0,o[_0x32c102(0x34f)])(a[_0x32c102(0x422)]),_0x1aa3ba=(0x0,o[_0x32c102(0x199)])(_0x183618[_0x32c102(0x325)]),_0x4cfacd=(0x0,n['useRef'])(null),_0xb69f8f=(0x0,n[_0x32c102(0x265)])(null),_0x2db6df=(0x0,n[_0x32c102(0x265)])(null),_0x3c3e87=(0x0,n[_0x32c102(0x265)])(null),_0x35b8b7=(0x0,n[_0x32c102(0x265)])(null),_0x51fdf7=(0x0,n[_0x32c102(0x265)])(null),_0x2c3acd=(0x0,n[_0x32c102(0x265)])({'width':0x0,'height':0x0}),_0x964d06=(0x0,n[_0x32c102(0x265)])(()=>{}),_0x180741=(0x0,n[_0x32c102(0x265)])(()=>{}),_0x34e4ab=(0x0,n['useRef'])(()=>{}),[_0x443570,_0x2ef2e1]=(0x0,n[_0x32c102(0x24b)])({'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x3dfde3,'editorHeight':_0x3ddc7a}),_0x1ff232=(0x0,n[_0x32c102(0x420)])(_0x231be1=>{queueMicrotask(()=>{_0x2ef2e1(_0x4ee878=>Fe(_0x4ee878,_0x231be1)?_0x4ee878:_0x231be1);});},[]),_0x26f370=(0x0,n[_0x32c102(0x420)])(()=>_0x1c9ce4[_0x32c102(0x2b5)](_0x52a4e8,a['UniverInstanceType'][_0x32c102(0x3bc)]),[_0x52a4e8,_0x1c9ce4]),_0xf96767=(0x0,n[_0x32c102(0x420)])(()=>{const _0x42b450=_0x32c102;var _0x497c64;let _0x2e060c=_0xe145ae,_0x2c0fc8=_0x2abaeb;if(!_0x2983e5)return{'scaleAdjust':0x1,'renderScaleX':_0x2e060c,'renderScaleY':_0x2c0fc8};let _0x337eca=_0x26b6b0[_0x42b450(0x246)](_0x2983e5[_0x42b450(0x32b)]),_0x2b40bf=_0x337eca==null?void 0x0:_0x337eca[_0x42b450(0x132)]['getAncestorScale'](),_0x4e807c=_0x337eca==null?void 0x0:_0x337eca['engine'][_0x42b450(0x3d6)](),_0x1f2815=_0x4e807c?Number[_0x42b450(0x238)](_0x4e807c[_0x42b450(0x345)][_0x42b450(0x233)]||''):0x0,_0x391897=(_0x497c64=_0x4e807c==null?void 0x0:_0x4e807c['getBoundingClientRect']()[_0x42b450(0x233)])==null?0x0:_0x497c64,_0x2f7a7f=_0x1f2815>0x0&&_0x391897>0x0?_0x391897/_0x1f2815:0x1;return{'scaleAdjust':Number[_0x42b450(0x18a)](_0x2f7a7f)&&_0x2f7a7f>0x0?_0x2f7a7f:0x1,'renderScaleX':(_0x2b40bf==null?void 0x0:_0x2b40bf[_0x42b450(0x172)])||_0x2e060c,'renderScaleY':(_0x2b40bf==null?void 0x0:_0x2b40bf[_0x42b450(0x3c0)])||_0x2c0fc8};},[_0xe145ae,_0x2abaeb,_0x2983e5,_0x26b6b0]),_0x5c3db4=(0x0,n[_0x32c102(0x420)])(()=>{const _0x5de3d3=_0x32c102;if(!_0x2983e5)return{'left':0x0,'top':0x0,'width':_0x3dfde3/_0xe145ae,'height':_0x3ddc7a/_0x2abaeb};let {unitId:_0x41ab2f,subUnitId:_0x542254,shapeId:_0x59a9ac}=_0x2983e5,_0x14764d=_0xc14f66[_0x5de3d3(0x306)](_0x41ab2f,_0x542254,_0x59a9ac);if(!_0x14764d)return{'left':0x0,'top':0x0,'width':_0x3dfde3/_0xe145ae,'height':_0x3ddc7a/_0x2abaeb};let _0x5d8ba1={'left':0x0,'top':0x0,'width':_0x3dfde3/_0xe145ae,'height':_0x3ddc7a/_0x2abaeb};return _0x14764d[_0x5de3d3(0x3d4)](_0x5d8ba1);},[_0xc14f66,_0x2983e5,_0x3dfde3,_0x3ddc7a,_0xe145ae,_0x2abaeb]),_0x526b39=(0x0,n[_0x32c102(0x420)])(()=>{const _0x3ab71a=_0x32c102;var _0x416d83;if(!_0x2983e5)return null;let {unitId:_0x2ca225,subUnitId:_0x3857f0,shapeId:_0x20c034}=_0x2983e5,_0x444d68=_0xc14f66[_0x3ab71a(0x306)](_0x2ca225,_0x3857f0,_0x20c034);if(!_0x444d68)return null;let _0x5ea4a5=_0x444d68['getShapeTextData']();if(!_0x5ea4a5)return null;let _0x280450=(_0x416d83=_0xc14f66[_0x3ab71a(0x2c1)](_0x2ca225,_0x3857f0,_0x20c034))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x416d83,_0x57f26a={'left':0x0,'top':0x0,'width':_0x3dfde3/_0xe145ae,'height':_0x3ddc7a/_0x2abaeb},_0x120dc8=_0x444d68['getShapeTextRect'](_0x57f26a),_0x398d5c,_0x5c28b2=a[_0x3ab71a(0x190)][_0x3ab71a(0x211)],_0x3d4543=a['HorizontalAlign'][_0x3ab71a(0x138)];if(_0x3ab71a(0x28b)in _0x5ea4a5&&_0x5ea4a5['dataModel']){var _0x23b6bf,_0xa95bdf,_0x70023a,_0x1659fb,_0x3853a8,_0x1bb528;let _0x179e9b=_0x5ea4a5[_0x3ab71a(0x28b)];_0x179e9b!=null&&_0x179e9b['doc']&&(_0x398d5c=_0x179e9b[_0x3ab71a(0x40b)]),_0x5c28b2=(_0x23b6bf=(_0xa95bdf=_0x179e9b==null?void 0x0:_0x179e9b['va'])==null?_0x398d5c==null||(_0x70023a=_0x398d5c['documentStyle'])==null||(_0x70023a=_0x70023a['renderConfig'])==null?void 0x0:_0x70023a[_0x3ab71a(0x263)]:_0xa95bdf)==null?a[_0x3ab71a(0x190)][_0x3ab71a(0x211)]:_0x23b6bf,_0x3d4543=(_0x1659fb=(_0x3853a8=_0x179e9b==null?void 0x0:_0x179e9b['ha'])==null?_0x398d5c==null||(_0x1bb528=_0x398d5c['documentStyle'])==null||(_0x1bb528=_0x1bb528[_0x3ab71a(0x34c)])==null?void 0x0:_0x1bb528[_0x3ab71a(0x3db)]:_0x3853a8)==null?a[_0x3ab71a(0x1df)]['LEFT']:_0x1659fb;}return{'doc':_0x398d5c,'verticalAlign':_0x5c28b2,'horizontalAlign':_0x3d4543,'wrapStrategy':Be(_0x5ea4a5),'textRect':_0x120dc8,'transform':_0x280450,'isHorizontal':_0x5ea4a5[_0x3ab71a(0x2e8)]};},[_0xc14f66,_0x2983e5,_0x3dfde3,_0x3ddc7a,_0xe145ae,_0x2abaeb]),_0x437bb7=(0x0,n[_0x32c102(0x1d2)])(()=>{const _0x44b1e8=_0x32c102;let _0x43bfda=_0x526b39();return _0x43bfda!=null&&_0x43bfda[_0x44b1e8(0x40b)]?De(_0x43bfda['doc'],{'isHorizontal':!0x0,'textRect':_0x43bfda[_0x44b1e8(0x1ce)],'verticalAlign':_0x43bfda[_0x44b1e8(0x263)],'horizontalAlign':_0x43bfda[_0x44b1e8(0x3db)],'wrapStrategy':_0x43bfda[_0x44b1e8(0x1d5)]}):{'id':_0x52a4e8,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,a[_0x44b1e8(0x394)])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x3dfde3/_0xe145ae,'height':0x1/0x0}}};},[_0x526b39,_0x3dfde3,_0xe145ae]),_0xb553dd=(0x0,l[_0x32c102(0x216)])({'editorId':_0x52a4e8,'initialValue':_0x437bb7,'container':_0xb69f8f,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x32c102(0x3d1)},'isSingle':!0x1});(0x0,n[_0x32c102(0x409)])(()=>{const _0x182019=_0x32c102;if(!_0xb553dd)return;let _0x5bcade=_0x26b6b0[_0x182019(0x246)](_0x52a4e8);Je(_0x5bcade),Ye(_0x5bcade);},[_0xb553dd,_0x52a4e8,_0x26b6b0]);let _0xe76668=(0x0,l[_0x32c102(0x20a)])(_0x52a4e8);(0x0,l[_0x32c102(0x1c6)])(_0xe76668,(0x0,n['useMemo'])(()=>Xe(_0x4a5b63,_0x80fed=>{const _0x209935=_0x32c102;(0x0,l[_0x209935(0x3e5)])({'commandId':_0x80fed,'commandService':_0x4a5b63,'editorUnitId':_0x52a4e8,'univerInstanceService':_0x1c9ce4});}),[_0x4a5b63,_0x52a4e8,_0x1c9ce4]),_0xb553dd),(0x0,l['useLeftAndRightArrow'])(_0xe76668,!0x1,_0xb553dd),(0x0,n[_0x32c102(0x409)])(()=>{const _0x408b7c=_0x32c102;_0x2c3acd[_0x408b7c(0x2fb)]=_0x2983e5?{'width':_0x3dfde3/_0xe145ae,'height':_0x3ddc7a/_0x2abaeb}:{'width':0x0,'height':0x0};},[_0x3dfde3,_0x3ddc7a,_0xe145ae,_0x2abaeb,_0x2983e5==null?void 0x0:_0x2983e5[_0x32c102(0x2ad)]]);let _0x4ee216=(0x0,n[_0x32c102(0x420)])((_0x58b7ce=!0x0)=>{const _0x382c3b=_0x32c102;var _0x55ca5a,_0x325b0c,_0x819cf3;if(!_0xb553dd)return;let _0x1d4323=_0xb553dd[_0x382c3b(0x27d)]()['find'](_0x40998a=>_0x40998a['collapsed']),_0x317a79=((_0x55ca5a=(_0x325b0c=_0xb553dd[_0x382c3b(0x300)]()[_0x382c3b(0x186)])==null?void 0x0:_0x325b0c[_0x382c3b(0x1bc)][_0x382c3b(0x362)])==null?0x2:_0x55ca5a)-0x2,_0x227ed4=(_0x819cf3=_0x1d4323==null?void 0x0:_0x1d4323[_0x382c3b(0x371)])==null?_0x58b7ce?_0x317a79:null:_0x819cf3;_0x227ed4!==null&&_0xb553dd[_0x382c3b(0x339)]([{'startOffset':_0x227ed4,'endOffset':_0x227ed4}],!0x1);},[_0xb553dd]);_0x180741[_0x32c102(0x2fb)]=_0x4ee216;let _0x3169e7=(0x0,n[_0x32c102(0x420)])(()=>{const _0x27b14d=_0x32c102;_0x35b8b7[_0x27b14d(0x2fb)]!==null&&(cancelAnimationFrame(_0x35b8b7[_0x27b14d(0x2fb)]),_0x35b8b7['current']=null),_0x51fdf7[_0x27b14d(0x2fb)]!==null&&(window[_0x27b14d(0x2ce)](_0x51fdf7[_0x27b14d(0x2fb)]),_0x51fdf7[_0x27b14d(0x2fb)]=null);},[]),_0x585f8a=(0x0,n[_0x32c102(0x420)])(()=>{const _0x57d2dc=_0x32c102;var _0x37d99d,_0x5e2cb5,_0xd521a2,_0x49ca9b,_0x3115d6;if(!_0xb553dd)return;let _0x4aae39=_0x26b6b0[_0x57d2dc(0x246)](_0x52a4e8);Ye(_0x4aae39);let _0x30fae4=_0x4aae39==null?void 0x0:_0x4aae39['with'](c[_0x57d2dc(0x36c)]);if(!_0x30fae4)return;let _0x4a741c=_0x30fae4['getSkeleton'](),_0x55a441=_0x26f370(),{renderScaleX:_0x18e061,renderScaleY:_0x15d39e,scaleAdjust:_0x391d49}=_0xf96767(),_0x42a3f7=_0x526b39(),_0x4cce6e=(_0x37d99d=_0x42a3f7==null?void 0x0:_0x42a3f7[_0x57d2dc(0x263)])==null?a[_0x57d2dc(0x190)][_0x57d2dc(0x211)]:_0x37d99d,_0x3d9b04=(_0x5e2cb5=_0x42a3f7==null?void 0x0:_0x42a3f7['horizontalAlign'])==null?a[_0x57d2dc(0x1df)]['LEFT']:_0x5e2cb5,_0x255b38=(_0xd521a2=_0x42a3f7==null?void 0x0:_0x42a3f7[_0x57d2dc(0x1d5)])==null?a[_0x57d2dc(0x221)]['WRAP']:_0xd521a2,_0x3ee99c=(_0x49ca9b=_0x5c3db4())==null?{'left':0x0,'top':0x0,'width':_0x3dfde3/_0xe145ae,'height':_0x3ddc7a/_0x2abaeb}:_0x49ca9b,_0x5514fb=!0x1;if(_0x55a441){var _0xbbd50c;_0x5514fb=Ie((_0xbbd50c=_0x55a441[_0x57d2dc(0x41a)]()[_0x57d2dc(0x1ba)])==null||(_0xbbd50c=_0xbbd50c['renderConfig'])==null?void 0x0:_0xbbd50c['shapeTextOpticalVerticalAlign']),_0x55a441[_0x57d2dc(0x41d)](Math[_0x57d2dc(0x40e)](_0x18e061,_0x15d39e)),_0x55a441[_0x57d2dc(0x1f1)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x3ee99c[_0x57d2dc(0x233)],'height':0x1/0x0}}),_0x55a441[_0x57d2dc(0x2c5)]({'verticalAlign':Ue({'opticalVerticalAlign':_0x5514fb,'verticalAlign':_0x4cce6e}),'horizontalAlign':_0x3d9b04,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x255b38}),_0x55a441[_0x57d2dc(0x3f5)]({'t':0x0});}(_0x3115d6=_0x4a741c[_0x57d2dc(0x1c4)])==null||_0x3115d6[_0x57d2dc(0x26d)](_0x4a741c),_0x4a741c[_0x57d2dc(0x3b5)]();let {actualWidth:_0x179c24,actualHeight:_0x35589e}=_0x4a741c[_0x57d2dc(0x21c)](),_0x13eba5=We({'actualHeight':_0x35589e,'opticalVerticalOffset':_0x5514fb?Re(_0x4a741c,_0x3ee99c[_0x57d2dc(0x382)],_0x4cce6e):void 0x0,'scaleX':_0xe145ae,'scaleY':_0x2abaeb,'textRect':_0x3ee99c,'verticalAlign':_0x4cce6e}),_0x1af8f6=_0x3dfde3/_0xe145ae,_0x19528d=_0x3ddc7a/_0x2abaeb,_0x2af7df=Ge({'hostWidth':_0x1af8f6,'hostHeight':_0x19528d,'textRect':_0x3ee99c,'contentWidth':_0x179c24,'contentHeight':_0x35589e,'allowShrink':He({'adapter':_0xc14f66,'editingParams':_0x2983e5})}),_0x455bc4=Math[_0x57d2dc(0x29c)](_0x2af7df['width']),_0x428f2f=Math[_0x57d2dc(0x29c)](_0x2af7df[_0x57d2dc(0x382)]),_0x24b4b2=_0x2c3acd[_0x57d2dc(0x2fb)],_0x429603=Ve({'nextWidth':_0x455bc4,'nextHeight':_0x428f2f,'baselineWidth':_0x1af8f6,'baselineHeight':_0x19528d}),_0x153968=Ve({'nextWidth':_0x455bc4,'nextHeight':_0x428f2f,'baselineWidth':_0x24b4b2['width'],'baselineHeight':_0x24b4b2[_0x57d2dc(0x382)]}),_0x5a5476=_0x2983e5&&_0xc14f66[_0x57d2dc(0x21f)]&&_0x429603&&_0x153968,_0x2f0251=Ve({'nextWidth':_0x1af8f6,'nextHeight':_0x428f2f,'baselineWidth':_0x1af8f6,'baselineHeight':_0x19528d}),_0x12e619=Ve({'nextWidth':_0x1af8f6,'nextHeight':_0x428f2f,'baselineWidth':_0x1af8f6,'baselineHeight':_0x24b4b2[_0x57d2dc(0x382)]}),_0x463f4c=_0x2983e5&&_0xc14f66['updateHostHeight']&&_0x428f2f>_0x19528d&&_0x428f2f>_0x24b4b2['height']&&_0x2f0251&&_0x12e619;if(_0x5a5476&&_0x2983e5&&_0xc14f66[_0x57d2dc(0x21f)]?(_0x2c3acd[_0x57d2dc(0x2fb)]={'width':_0x455bc4,'height':_0x428f2f},_0xc14f66[_0x57d2dc(0x21f)]({'unitId':_0x2983e5[_0x57d2dc(0x32b)],'subUnitId':_0x2983e5['subUnitId'],'shapeId':_0x2983e5[_0x57d2dc(0x2ad)],'width':_0x455bc4,'height':_0x428f2f})):_0x463f4c&&_0x2983e5&&_0xc14f66[_0x57d2dc(0x170)]&&(_0x2c3acd[_0x57d2dc(0x2fb)]={'width':_0x1af8f6,'height':_0x428f2f},_0xc14f66[_0x57d2dc(0x170)]({'unitId':_0x2983e5[_0x57d2dc(0x32b)],'subUnitId':_0x2983e5[_0x57d2dc(0x144)],'shapeId':_0x2983e5[_0x57d2dc(0x2ad)],'height':_0x428f2f})),_0x1ff232({'editorLeft':_0x13eba5[_0x57d2dc(0x396)],'editorTop':_0x13eba5[_0x57d2dc(0x2cf)],'editorWidth':_0x13eba5[_0x57d2dc(0x41c)],'editorHeight':_0x13eba5[_0x57d2dc(0x205)]}),_0x55a441&&(_0x55a441[_0x57d2dc(0x1f1)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x3ee99c[_0x57d2dc(0x233)],'height':_0x13eba5['pageHeight']}}),_0x55a441[_0x57d2dc(0x3f5)]({'t':_0x13eba5[_0x57d2dc(0x419)]}),_0x4a741c['calculate']()),_0x4aae39){let _0x53da1c=_0x13eba5['editorWidth'],_0x423de2=_0x13eba5['editorHeight'];_0x4aae39[_0x57d2dc(0x132)][_0x57d2dc(0x298)]({'width':_0x53da1c*_0x391d49/_0x18e061,'height':_0x423de2*_0x391d49/_0x15d39e,'scaleX':_0x18e061*_0x391d49,'scaleY':_0x15d39e*_0x391d49}),_0x4aae39[_0x57d2dc(0x27e)]&&_0x4aae39[_0x57d2dc(0x27e)][_0x57d2dc(0x2c9)](_0x53da1c*_0x391d49/_0x18e061,_0x423de2*_0x391d49/_0x15d39e);}},[_0xb553dd,_0xc14f66,_0x2983e5,_0x26b6b0,_0x26f370,_0xf96767,_0x526b39,_0x5c3db4,_0x3dfde3,_0x3ddc7a,_0xe145ae,_0x2abaeb,_0x1ff232]);_0x964d06[_0x32c102(0x2fb)]=_0x585f8a;let _0x10812f=(0x0,n['useCallback'])((_0x3c1a00=!0x1)=>{_0x3169e7(),_0x35b8b7['current']=requestAnimationFrame(()=>{const _0x45020e=_0x388e;_0x585f8a(),_0x3c1a00&&_0x4ee216(!0x1),_0x35b8b7[_0x45020e(0x2fb)]=null,_0x51fdf7[_0x45020e(0x2fb)]=window[_0x45020e(0x31b)](()=>{_0x585f8a(),_0x3c1a00&&_0x4ee216(!0x1),_0x51fdf7['current']=null;},0x14);});},[_0x585f8a,_0x3169e7,_0x4ee216]);_0x34e4ab[_0x32c102(0x2fb)]=_0x10812f,(0x0,n[_0x32c102(0x409)])(()=>{const _0xaf2985=_0x32c102;if(!_0xb553dd||!_0x2983e5)return;let {shapeId:_0x4e94bf,unitId:_0x2da02f}=_0x2983e5;if(_0x1aa3ba){var _0xd15aa7,_0x37b93d,_0x30a09c,_0x490e89,_0x5da943,_0x53679a,_0x302f77,_0xcac40b,_0x50992d;let _0x26d279=_0x526b39(),_0x4f5d45=_0xb553dd[_0xaf2985(0x300)](),_0x57b86b=(_0xd15aa7=(_0x37b93d=_0x26d279==null?void 0x0:_0x26d279['verticalAlign'])==null?(_0x30a09c=_0x2db6df[_0xaf2985(0x2fb)])==null?void 0x0:_0x30a09c['va']:_0x37b93d)==null?a[_0xaf2985(0x190)][_0xaf2985(0x211)]:_0xd15aa7,{horizontalAlign:_0x2250e4,verticalAlign:_0x4dc229}=Ce(_0x4f5d45,{'verticalAlign':_0x57b86b,'horizontalAlign':(_0x490e89=(_0x5da943=_0x26d279==null?void 0x0:_0x26d279[_0xaf2985(0x3db)])==null?(_0x53679a=_0x2db6df[_0xaf2985(0x2fb)])==null?void 0x0:_0x53679a['ha']:_0x5da943)==null?a[_0xaf2985(0x1df)]['LEFT']:_0x490e89}),_0x2c284d=Ie((_0x302f77=_0x4f5d45[_0xaf2985(0x1ba)])==null||(_0x302f77=_0x302f77[_0xaf2985(0x34c)])==null?void 0x0:_0x302f77['shapeTextOpticalVerticalAlign'])?_0x57b86b:_0x4dc229,_0x1113eb={'va':_0x2c284d,'ha':_0x2250e4,'doc':Oe(_0x4f5d45,{'verticalAlign':_0x2c284d,'horizontalAlign':_0x2250e4})};_0xc14f66[_0xaf2985(0x2e0)]({'unitId':_0x2da02f,'subUnitId':_0x2983e5[_0xaf2985(0x144)],'shapeId':_0x4e94bf,'shapeText':{'isHorizontal':(_0xcac40b=_0x26d279==null?void 0x0:_0x26d279['isHorizontal'])==null?!0x0:_0xcac40b,'dataModel':_0x1113eb},'oldShapeText':{'isHorizontal':(_0x50992d=_0x26d279==null?void 0x0:_0x26d279['isHorizontal'])==null?!0x0:_0x50992d,'dataModel':_0x2db6df[_0xaf2985(0x2fb)]}});return;}let _0x4dc3dd=_0x526b39();if(_0x4dc3dd!=null&&_0x4dc3dd[_0xaf2985(0x40b)])return _0x2db6df[_0xaf2985(0x2fb)]={'va':_0x4dc3dd[_0xaf2985(0x263)],'ha':_0x4dc3dd[_0xaf2985(0x3db)],'doc':a[_0xaf2985(0x307)][_0xaf2985(0x1e2)](_0x4dc3dd[_0xaf2985(0x40b)])},qe(_0xb553dd,De(_0x4dc3dd[_0xaf2985(0x40b)],{'isHorizontal':!0x0,'textRect':_0x4dc3dd[_0xaf2985(0x1ce)],'verticalAlign':_0x4dc3dd[_0xaf2985(0x263)],'horizontalAlign':_0x4dc3dd[_0xaf2985(0x3db)],'wrapStrategy':_0x4dc3dd[_0xaf2985(0x1d5)]}),null),()=>{const _0x4e44b1=_0xaf2985;var _0xdcb245,_0x5b158a,_0x1a1721,_0xceaac,_0x32c043,_0x259ba8,_0x5c534d,_0x1e985c,_0x42bf7a;let _0x1a49ed=_0x526b39(),_0xa16e11=_0xb553dd['getDocumentData'](),_0x5d2b57=(_0xdcb245=(_0x5b158a=_0x1a49ed==null?void 0x0:_0x1a49ed[_0x4e44b1(0x263)])==null?(_0x1a1721=_0x2db6df[_0x4e44b1(0x2fb)])==null?void 0x0:_0x1a1721['va']:_0x5b158a)==null?a['VerticalAlign'][_0x4e44b1(0x211)]:_0xdcb245,{horizontalAlign:_0x1dcc81,verticalAlign:_0x2243ea}=Ce(_0xa16e11,{'verticalAlign':_0x5d2b57,'horizontalAlign':(_0xceaac=(_0x32c043=_0x1a49ed==null?void 0x0:_0x1a49ed[_0x4e44b1(0x3db)])==null?(_0x259ba8=_0x2db6df[_0x4e44b1(0x2fb)])==null?void 0x0:_0x259ba8['ha']:_0x32c043)==null?a[_0x4e44b1(0x1df)][_0x4e44b1(0x138)]:_0xceaac}),_0x571098=Ie((_0x5c534d=_0xa16e11[_0x4e44b1(0x1ba)])==null||(_0x5c534d=_0x5c534d[_0x4e44b1(0x34c)])==null?void 0x0:_0x5c534d['shapeTextOpticalVerticalAlign'])?_0x5d2b57:_0x2243ea,_0x3642f0={'va':_0x571098,'ha':_0x1dcc81,'doc':Oe(_0xa16e11,{'verticalAlign':_0x571098,'horizontalAlign':_0x1dcc81})};_0xc14f66[_0x4e44b1(0x2e0)]({'unitId':_0x2da02f,'subUnitId':_0x2983e5[_0x4e44b1(0x144)],'shapeId':_0x4e94bf,'shapeText':{'isHorizontal':(_0x1e985c=_0x1a49ed==null?void 0x0:_0x1a49ed['isHorizontal'])==null?!0x0:_0x1e985c,'dataModel':_0x3642f0},'oldShapeText':{'isHorizontal':(_0x42bf7a=_0x1a49ed==null?void 0x0:_0x1a49ed[_0x4e44b1(0x2e8)])==null?!0x0:_0x42bf7a,'dataModel':_0x2db6df[_0x4e44b1(0x2fb)]}});};qe(_0xb553dd,_0x437bb7,null);},[_0xb553dd,_0x2983e5,_0x1aa3ba]);let _0x63d2c7=ze({'editorUnitId':_0x52a4e8,'editingParams':_0x2983e5});(0x0,n['useEffect'])(()=>{const _0x5961c7=_0x32c102;if(!(!_0xb553dd||!_0x63d2c7))return _0x178d59[_0x5961c7(0x18b)](!0x0),_0x964d06[_0x5961c7(0x2fb)](),_0x3c3e87['current']=requestAnimationFrame(()=>{const _0x51ac79=_0x5961c7;_0x178d59[_0x51ac79(0x15f)](_0x52a4e8),_0x180741[_0x51ac79(0x2fb)](),_0x34e4ab[_0x51ac79(0x2fb)](),_0x3c3e87[_0x51ac79(0x2fb)]=null;}),()=>{const _0x417143=_0x5961c7;_0x3c3e87[_0x417143(0x2fb)]!==null&&(cancelAnimationFrame(_0x3c3e87['current']),_0x3c3e87['current']=null),_0x3169e7(),_0x178d59[_0x417143(0x18b)](!0x0);};},[_0xb553dd,_0x178d59,_0x52a4e8,_0x63d2c7,_0x3169e7]),(0x0,n[_0x32c102(0x409)])(()=>{const _0x4d5361=_0x32c102;if(!_0xb553dd)return;let _0x277f9d=_0x4a5b63[_0x4d5361(0x3e9)](_0x44167c=>{const _0x1bc6c4=_0x4d5361;_0x44167c['id']===c[_0x1bc6c4(0x1e9)]['id']&&_0x44167c[_0x1bc6c4(0x354)]['unitId']===_0x52a4e8&&_0x2983e5&&(_0x2983e5[_0x1bc6c4(0x3e2)]?_0x585f8a():_0x183618[_0x1bc6c4(0x313)]({..._0x2983e5,'visible':!0x0})),_0x558f83&&_0x44167c['id']===_0x558f83&&_0x10812f(!0x0);});return()=>{const _0x13cbb2=_0x4d5361;_0x277f9d[_0x13cbb2(0x41f)]();};},[_0xb553dd,_0x585f8a,_0x2983e5,_0x10812f,_0x183618,_0x52a4e8,_0x558f83]),(0x0,n[_0x32c102(0x409)])(()=>(_0x585f8a(),_0x10812f(),()=>{_0x3169e7();}),[_0x585f8a,_0x10812f,_0x3169e7]);let _0x609df7=(0x0,n[_0x32c102(0x1d2)])(()=>Ke(_0x443570[_0x32c102(0x396)],_0x443570['editorTop'],_0x443570[_0x32c102(0x41c)],Math[_0x32c102(0x40e)](0x1,_0x443570['editorHeight'])),[_0x443570['editorHeight'],_0x443570[_0x32c102(0x396)],_0x443570[_0x32c102(0x2cf)],_0x443570[_0x32c102(0x41c)]]),_0x33aea8=(0x0,n[_0x32c102(0x1d2)])(()=>{const _0x1d87b0=_0x32c102;let _0x152731=_0x526b39(),_0x5106aa=_0x152731==null?void 0x0:_0x152731[_0x1d87b0(0x3fe)];return _0x5106aa&&_0x5106aa||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x526b39]);return(0x0,r[_0x32c102(0x3a5)])(_0x32c102(0x413),{'ref':_0x4cfacd,'data-u-comp':'shape-text-editor','className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':_0x32c102(0x328)+_0x33aea8[_0x32c102(0x408)]+_0x32c102(0x2b9)+(_0x33aea8[_0x32c102(0x38d)]?-0x1:0x1)+')'},'children':(0x0,r[_0x32c102(0x3a5)])(_0x32c102(0x413),{'ref':_0xb69f8f,'className':_0x32c102(0x3f8),'data-u-comp':_0x32c102(0x327),'style':_0x609df7,'data-editorid':_0x52a4e8})});};function Qe(_0x5a301e,_0x3defe8){const _0x368d9d=_0x1ed3a4;return!!(_0x5a301e!=null&&_0x5a301e[_0x368d9d(0x3e2)])&&!(_0x3defe8['left']===-0x270f&&_0x3defe8['top']===-0x270f);}function $e(_0x4b9b66){const _0x4d1bd4=_0x1ed3a4;if(!_0x4b9b66||typeof _0x4b9b66!=_0x4d1bd4(0x2f4))return!0x1;let _0x40e547=_0x4b9b66;return typeof _0x40e547[_0x4d1bd4(0x2b1)]==_0x4d1bd4(0x400)&&typeof _0x40e547[_0x4d1bd4(0x2b0)]==_0x4d1bd4(0x400)&&typeof _0x40e547[_0x4d1bd4(0x233)]==_0x4d1bd4(0x400)&&typeof _0x40e547['height']==_0x4d1bd4(0x400);}function et(_0x18d8d7,_0x31303f){const _0x58f250=_0x1ed3a4;var _0xde2987,_0x52eb77;let _0x18441e=(_0xde2987=_0x18d8d7[_0x58f250(0x35d)](_0x31303f))==null?(_0x52eb77=_0x18d8d7[_0x58f250(0x1c3)])==null?void 0x0:_0x52eb77['call'](_0x18d8d7,_0x31303f):_0xde2987;return $e(_0x18441e)?_0x18441e:null;}const tt=(0x0,n[_0x1ed3a4(0x2a5)])(_0x125a76=>{const _0x3f9655=_0x1ed3a4;let {children:_0x5d09c0,editingParams:_0x1e82ea,positionOptions:_0x5b7361,onPositionUpdate:_0x16ae8c}=_0x125a76,_0x2ab27a=(0x0,n[_0x3f9655(0x265)])(null),_0x459bc3=(0x0,o['useDependency'])(u[_0x3f9655(0x18c)]),_0x4c7156=(0x0,n[_0x3f9655(0x1d2)])(()=>_0x1e82ea?_0x459bc3[_0x3f9655(0x246)](_0x1e82ea[_0x3f9655(0x32b)]):null,[_0x1e82ea,_0x459bc3]),_0x4c9e54=(0x0,n['useMemo'])(()=>{const _0x13a747=_0x3f9655;var _0x36c7f4;return(_0x36c7f4=_0x4c7156==null?void 0x0:_0x4c7156[_0x13a747(0x132)])==null?null:_0x36c7f4;},[_0x4c7156]),_0x19cdb2=(0x0,n['useMemo'])(()=>!_0x1e82ea||!_0x4c7156||!_0x5b7361[_0x3f9655(0x2de)]?null:_0x5b7361[_0x3f9655(0x2de)](_0x4c7156,_0x1e82ea),[_0x1e82ea,_0x5b7361,_0x4c7156]),_0x2d7a1e=(0x0,n[_0x3f9655(0x420)])(()=>{const _0x1e71ca=_0x3f9655;var _0x1ff574;if(!_0x1e82ea||!_0x4c9e54)return null;let _0x552f89=et(_0x4c9e54,_0x1e82ea[_0x1e71ca(0x33f)]);return _0x552f89?{'left':_0x552f89[_0x1e71ca(0x2b1)],'top':_0x552f89[_0x1e71ca(0x2b0)],'width':_0x552f89[_0x1e71ca(0x233)],'height':_0x552f89[_0x1e71ca(0x382)],'angle':(_0x1ff574=_0x552f89[_0x1e71ca(0x408)])==null?0x0:_0x1ff574}:null;},[_0x1e82ea,_0x4c9e54]),{position:_0x5cf2b0,updatePosition:_0x24504d}=xe({'editingParams':_0x1e82ea,'scene':_0x4c9e54,'skeleton':_0x19cdb2,'viewportKeys':_0x5b7361['viewportKeys'],'getShapeTransform':_0x2d7a1e}),_0x47495f=(0x0,n[_0x3f9655(0x420)])(()=>{const _0x59dafe=_0x3f9655;let _0x1b24e6=_0x2ab27a[_0x59dafe(0x2fb)];_0x1b24e6&&(_0x1b24e6[_0x59dafe(0x345)][_0x59dafe(0x2b1)]=_0x5cf2b0[_0x59dafe(0x2b1)]+'px',_0x1b24e6[_0x59dafe(0x345)][_0x59dafe(0x2b0)]=_0x5cf2b0[_0x59dafe(0x2b0)]+'px',_0x1b24e6[_0x59dafe(0x345)][_0x59dafe(0x233)]=_0x5cf2b0['width']+'px',_0x1b24e6[_0x59dafe(0x345)][_0x59dafe(0x382)]=_0x5cf2b0[_0x59dafe(0x382)]+'px');},[_0x5cf2b0]);return(0x0,n[_0x3f9655(0x409)])(()=>{const _0x31369e=_0x3f9655;_0x47495f(),Qe(_0x1e82ea,_0x5cf2b0)&&(_0x16ae8c==null||_0x16ae8c({'width':_0x5cf2b0[_0x31369e(0x233)],'height':_0x5cf2b0[_0x31369e(0x382)],'scaleX':_0x5cf2b0[_0x31369e(0x172)],'scaleY':_0x5cf2b0[_0x31369e(0x3c0)]}));},[_0x1e82ea,_0x5cf2b0,_0x47495f,_0x16ae8c]),(0x0,n[_0x3f9655(0x409)])(()=>{const _0x1740c8=_0x3f9655;if(!_0x4c9e54)return;let _0x35473a=_0x4c9e54[_0x1740c8(0x28c)](_0x5b7361[_0x1740c8(0x223)][_0x1740c8(0x229)]);if(!_0x35473a)return;let _0x5d0abf=_0x35473a[_0x1740c8(0x142)][_0x1740c8(0x1b2)](()=>{_0x24504d();});return()=>{const _0x3730cf=_0x1740c8;_0x5d0abf[_0x3730cf(0x1de)]();};},[_0x5b7361[_0x3f9655(0x223)][_0x3f9655(0x229)],_0x4c9e54,_0x24504d]),(0x0,n[_0x3f9655(0x409)])(()=>{const _0x2f13d8=_0x3f9655;if(!_0x1e82ea||!_0x4c9e54)return;let _0x376613=et(_0x4c9e54,_0x1e82ea['shapeKey']);if(_0x376613!=null&&_0x376613[_0x2f13d8(0x2a2)]){let _0x51a8f5=_0x376613[_0x2f13d8(0x2a2)][_0x2f13d8(0x1b2)](()=>{_0x24504d();});return()=>{const _0x50b972=_0x2f13d8;_0x51a8f5[_0x50b972(0x1de)]();};}},[_0x1e82ea,_0x4c9e54,_0x24504d]),(0x0,r[_0x3f9655(0x3a5)])(_0x3f9655(0x413),{'ref':_0x2ab27a,'data-u-comp':_0x3f9655(0x3f3),'className':_0x3f9655(0x2ea),'style':(0x0,n[_0x3f9655(0x1d2)])(()=>({'left':_0x5cf2b0['left'],'top':_0x5cf2b0[_0x3f9655(0x2b0)],'width':_0x5cf2b0[_0x3f9655(0x233)],'height':_0x5cf2b0['height'],'pointerEvents':_0x1e82ea!=null&&_0x1e82ea[_0x3f9655(0x3e2)]?_0x3f9655(0x2ef):_0x3f9655(0x297)}),[_0x5cf2b0,_0x1e82ea==null?void 0x0:_0x1e82ea[_0x3f9655(0x3e2)]]),'children':_0x5d09c0});});function _0x388e(_0x1f340b,_0x6994ff){_0x1f340b=_0x1f340b-0x12f;const _0x312e76=_0x312e();let _0x388ec3=_0x312e76[_0x1f340b];return _0x388ec3;}function nt(_0x752e98,_0xae6512){const _0x23b027=_0x1ed3a4;return Math[_0x23b027(0x1d1)](_0x752e98[_0x23b027(0x233)]-_0xae6512[_0x23b027(0x233)])<=0.001&&Math[_0x23b027(0x1d1)](_0x752e98[_0x23b027(0x382)]-_0xae6512[_0x23b027(0x382)])<=0.001&&Math[_0x23b027(0x1d1)](_0x752e98[_0x23b027(0x172)]-_0xae6512[_0x23b027(0x172)])<=0.001&&Math[_0x23b027(0x1d1)](_0x752e98['scaleY']-_0xae6512['scaleY'])<=0.001;}const rt=(0x0,n[_0x1ed3a4(0x2a5)])(_0x4af0b6=>{const _0x4049b0=_0x1ed3a4;let {adapter:_0x1d82af,editorUnitId:_0x9462bc,editingService:_0x5e69c9,positionOptions:_0x840f07,verticalAlignCommandId:_0x156809}=_0x4af0b6,_0x5db15f=(0x0,o[_0x4049b0(0x199)])(_0x5e69c9[_0x4049b0(0x3f1)]),_0x561a7d=ze({'editorUnitId':_0x9462bc,'editingParams':_0x5db15f}),[_0x44f13c,_0x119d13]=(0x0,n['useState'])(null),_0x2d6d81=(0x0,n[_0x4049b0(0x420)])(_0x46d3da=>{const _0x2e9501=_0x4049b0;if(!_0x561a7d)return;let _0x1f4859={'width':_0x46d3da[_0x2e9501(0x233)],'height':_0x46d3da[_0x2e9501(0x382)],'scaleX':_0x46d3da[_0x2e9501(0x172)],'scaleY':_0x46d3da[_0x2e9501(0x3c0)]};_0x119d13(_0x43931f=>(_0x43931f==null?void 0x0:_0x43931f[_0x2e9501(0x2f1)])===_0x561a7d&&nt(_0x43931f[_0x2e9501(0x34b)],_0x1f4859)?_0x43931f:{'sessionKey':_0x561a7d,'size':_0x1f4859});},[_0x561a7d]);if(!(_0x5db15f!=null&&_0x5db15f['visible']))return null;let _0x6b4b6=(_0x44f13c==null?void 0x0:_0x44f13c['sessionKey'])===_0x561a7d?_0x44f13c['size']:null;return(0x0,r['jsx'])(tt,{'editingParams':_0x5db15f,'positionOptions':_0x840f07,'onPositionUpdate':_0x2d6d81,'children':_0x6b4b6?(0x0,r[_0x4049b0(0x3a5)])(Ze,{'adapter':_0x1d82af,'containerWidth':_0x6b4b6[_0x4049b0(0x233)],'containerHeight':_0x6b4b6[_0x4049b0(0x382)],'editingParams':_0x5db15f,'editingService':_0x5e69c9,'editorUnitId':_0x9462bc,'scaleX':_0x6b4b6[_0x4049b0(0x172)],'scaleY':_0x6b4b6[_0x4049b0(0x3c0)],'verticalAlignCommandId':_0x156809}):null});}),it=_0x1ed3a4(0x3cd),at=o['FONT_SIZE_LIST']['map'](_0x5efa83=>({'label':_0x5efa83[_0x1ed3a4(0x22a)],'value':String(_0x5efa83['value'])})),ot=[l['SetInlineFormatTextFillCommand']['id'],l[_0x1ed3a4(0x257)]['id'],l[_0x1ed3a4(0x2d5)]['id'],l[_0x1ed3a4(0x33b)]['id'],l[_0x1ed3a4(0x261)]['id'],l[_0x1ed3a4(0x3b4)]['id'],l['SetInlineFormatItalicCommand']['id'],l[_0x1ed3a4(0x240)]['id'],l[_0x1ed3a4(0x22e)]['id'],l[_0x1ed3a4(0x187)]['id'],l[_0x1ed3a4(0x2bc)]['id'],c[_0x1ed3a4(0x1e9)]['id'],c[_0x1ed3a4(0x17e)]['id']],st={'root':_0x1ed3a4(0x167),'group':_0x1ed3a4(0x293),'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':_0x1ed3a4(0x3ff),'select':_0x1ed3a4(0x1ff)};function ct(_0x1c7be2){const _0x219fd6=_0x1ed3a4;return _0x1c7be2 instanceof HTMLElement?!!_0x1c7be2[_0x219fd6(0x2ca)](_0x219fd6(0x206)):!0x1;}function lt(_0x5506f3){const _0xdab15d=_0x1ed3a4;return!!(_0x5506f3&&typeof _0x5506f3=='object'&&_0x5506f3['s']===a[_0xdab15d(0x3a0)][_0xdab15d(0x253)]);}function ut(_0x31e937){const _0x2cebd1=_0x1ed3a4;return(0x0,r[_0x2cebd1(0x3a5)])('div',{'className':st[_0x2cebd1(0x3dc)],'children':_0x31e937['children']});}function dt(){const _0x54871d=_0x1ed3a4;return(0x0,r[_0x54871d(0x3a5)])(_0x54871d(0x277),{'className':st[_0x54871d(0x3c2)]});}function ft(_0x337a1e){const _0x229bde=_0x1ed3a4;return(0x0,r[_0x229bde(0x3a5)])(e[_0x229bde(0x334)],{'title':_0x337a1e[_0x229bde(0x249)],'placement':_0x229bde(0x36e),'children':(0x0,r['jsx'])(_0x229bde(0x268),{'type':_0x229bde(0x268),'className':(0x0,e[_0x229bde(0x2c8)])(st[_0x229bde(0x268)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x337a1e[_0x229bde(0x2dd)]}),'onClick':_0x337a1e['onClick'],'children':_0x337a1e[_0x229bde(0x2d8)]})});}function pt(){const _0x147506=_0x1ed3a4;var _0x17af40,_0x4864a7,_0x24ac9a,_0x2a86f7,_0x40fa03,_0x3cff7c;let _0x1bb296=(0x0,o[_0x147506(0x34f)])(a[_0x147506(0x422)]),_0x1897a2=(0x0,o[_0x147506(0x34f)])(c[_0x147506(0x2b2)]),_0x16ca9e=(0x0,o[_0x147506(0x34f)])(o[_0x147506(0x3d3)]),_0x3b430d=(0x0,o['useDependency'])(a[_0x147506(0x1db)]),_0x57c084=(0x0,o[_0x147506(0x34f)])(a['IUniverInstanceService']),[_0x2e58cc,_0x5afe4e]=(0x0,n['useState'])({'cl':{'rgb':it}}),_0x172b0b=(0x0,o['useObservable'])(_0x16ca9e[_0x147506(0x357)]);(0x0,n[_0x147506(0x409)])(()=>{const _0x2ebe1f=_0x147506;let _0x3c6c0e=()=>{const _0x1617c1=_0x388e;var _0x50226c,_0x4e9985,_0x4c6712,_0x4a6256,_0x5c2914,_0x26fea7;let _0xd12ccd=(_0x50226c=_0x1897a2[_0x1617c1(0x136)]())==null?[]:_0x50226c,_0x69058b=_0xd12ccd[_0x1617c1(0x362)]>0x0?_0xd12ccd[_0x1617c1(0x3a8)](_0x504168=>_0x504168[_0x1617c1(0x371)]!=null&&_0x504168[_0x1617c1(0x241)]!=null):_0x1897a2[_0x1617c1(0x1b3)](),_0x48ce9e=(_0x4e9985=_0x69058b[_0x1617c1(0x32c)](_0x30dbff=>_0x30dbff['isActive']))==null?_0x69058b[0x0]:_0x4e9985;if(!_0x48ce9e){_0x5afe4e({'cl':{'rgb':it}});return;}let _0x5ebf90=_0x57c084[_0x1617c1(0x39d)](a[_0x1617c1(0x384)][_0x1617c1(0x3bc)]);if(!_0x5ebf90){_0x5afe4e({'cl':{'rgb':it}});return;}let _0x3fab65=_0x5ebf90==null?void 0x0:_0x5ebf90['getSelfOrHeaderFooterModel'](_0x48ce9e[_0x1617c1(0x1b8)])['getBody']();if(!_0x3fab65){_0x5afe4e({'cl':{'rgb':it}});return;}let _0x57b3f6=(_0x4c6712=_0x5ebf90[_0x1617c1(0x41a)]()['documentStyle'])==null?void 0x0:_0x4c6712['textStyle'];_0x5afe4e((0x0,l[_0x1617c1(0x148)])(_0x3fab65,_0x48ce9e,{..._0x57b3f6,'ff':(_0x4a6256=_0x57b3f6==null?void 0x0:_0x57b3f6['ff'])==null?a[_0x1617c1(0x157)]['ff']:_0x4a6256,'fs':(_0x5c2914=_0x57b3f6==null?void 0x0:_0x57b3f6['fs'])==null?a[_0x1617c1(0x157)]['fs']:_0x5c2914,'cl':(_0x26fea7=_0x57b3f6==null?void 0x0:_0x57b3f6['cl'])==null?{'rgb':it}:_0x26fea7}));};_0x3c6c0e();let _0x57b79a=_0x1bb296['onCommandExecuted'](_0x187da9=>{ot['includes'](_0x187da9['id'])&&_0x3c6c0e();}),_0x1bf29b=_0x1897a2[_0x2ebe1f(0x380)]['subscribe'](_0x3c6c0e);return()=>{const _0x28eb2c=_0x2ebe1f;_0x57b79a[_0x28eb2c(0x41f)](),_0x1bf29b[_0x28eb2c(0x1de)]();};},[_0x1bb296,_0x1897a2,_0x57c084]);let _0x8a3e25=(_0x1faaa9,_0x5778bf)=>{const _0x27b50c=_0x147506;_0x1bb296[_0x27b50c(0x387)](_0x1faaa9,_0x5778bf===void 0x0?void 0x0:{'value':_0x5778bf});},_0x6965ee=(_0x17af40=_0x2e58cc['ff'])==null?a[_0x147506(0x157)]['ff']:_0x17af40,_0x316f5f=(_0x4864a7=_0x2e58cc['fs'])==null?a[_0x147506(0x157)]['fs']:_0x4864a7,_0x10096a=(0x0,n[_0x147506(0x1d2)])(()=>{const _0x475f9a=_0x147506;let _0xbe88b1=(_0x172b0b==null?[]:_0x172b0b)[_0x475f9a(0x1c2)](_0x234603=>({'label':_0x3b430d['t'](_0x234603['label']),'value':_0x234603[_0x475f9a(0x164)]}));return _0xbe88b1[_0x475f9a(0x276)](_0x5bf379=>_0x5bf379[_0x475f9a(0x164)]===_0x6965ee)?_0xbe88b1:[{'label':_0x6965ee,'value':_0x6965ee},..._0xbe88b1];},[_0x6965ee,_0x172b0b,_0x3b430d]),_0x5e90fb=_0x2e58cc['bl']===a[_0x147506(0x3a0)]['TRUE'],_0x5a0cd9=_0x2e58cc['it']===a[_0x147506(0x3a0)]['TRUE'],_0x23457e=lt(_0x2e58cc['ul']),_0x2076ca=lt(_0x2e58cc['st']),_0x929eaf=_0x2e58cc['va']===a[_0x147506(0x2d4)][_0x147506(0x163)],_0x2a460e=_0x2e58cc['va']===a[_0x147506(0x2d4)]['SUPERSCRIPT'],_0x305caf=(_0x24ac9a=(_0x2a86f7=_0x2e58cc['bg'])==null?void 0x0:_0x2a86f7[_0x147506(0x2c0)])==null?_0x147506(0x3d0):_0x24ac9a;return(0x0,r['jsxs'])('div',{'onMouseDown':_0x596e76=>{const _0x5baf7b=_0x147506;_0x596e76[_0x5baf7b(0x33c)](),ct(_0x596e76[_0x5baf7b(0x23c)])||_0x596e76[_0x5baf7b(0x372)]();},'className':(0x0,e['clsx'])(st['root'],e[_0x147506(0x36a)]),'children':[(0x0,r['jsx'])(ut,{'children':(0x0,r[_0x147506(0x3a5)])(de,{})}),(0x0,r['jsx'])(dt,{}),(0x0,r[_0x147506(0x243)])(ut,{'children':[(0x0,r[_0x147506(0x3a5)])(e[_0x147506(0x286)],{'className':(0x0,e[_0x147506(0x2c8)])(st['select'],_0x147506(0x203)),'value':_0x6965ee,'options':_0x10096a,'onChange':_0x242a49=>_0x8a3e25(l['SetInlineFormatFontFamilyCommand']['id'],_0x242a49)}),(0x0,r[_0x147506(0x3a5)])(e[_0x147506(0x286)],{'className':(0x0,e[_0x147506(0x2c8)])(st['select'],_0x147506(0x242)),'value':String(_0x316f5f),'options':at,'onChange':_0x121fa0=>{const _0x42a659=_0x147506;let _0x295b9b=Number(_0x121fa0);Number[_0x42a659(0x31f)](_0x295b9b)||_0x8a3e25(l['SetInlineFormatFontSizeCommand']['id'],_0x295b9b);}})]}),(0x0,r[_0x147506(0x3a5)])(dt,{}),(0x0,r[_0x147506(0x243)])(ut,{'children':[(0x0,r[_0x147506(0x3a5)])(ft,{'title':_0x3b430d['t'](_0x147506(0x1aa)),'active':_0x5e90fb,'onClick':()=>_0x8a3e25(l[_0x147506(0x3b4)]['id']),'children':(0x0,r[_0x147506(0x3a5)])(t[_0x147506(0x368)],{})}),(0x0,r['jsx'])(ft,{'title':_0x3b430d['t'](_0x147506(0x21e)),'active':_0x5a0cd9,'onClick':()=>_0x8a3e25(l[_0x147506(0x347)]['id']),'children':(0x0,r[_0x147506(0x3a5)])(t[_0x147506(0x337)],{})}),(0x0,r[_0x147506(0x3a5)])(ft,{'title':_0x3b430d['t']('shape-editor-ui.toolbar.underline'),'active':_0x23457e,'onClick':()=>_0x8a3e25(l[_0x147506(0x240)]['id']),'children':(0x0,r['jsx'])(t['UnderlineIcon'],{})}),(0x0,r[_0x147506(0x3a5)])(ft,{'title':_0x3b430d['t'](_0x147506(0x230)),'active':_0x2076ca,'onClick':()=>_0x8a3e25(l['SetInlineFormatStrikethroughCommand']['id']),'children':(0x0,r[_0x147506(0x3a5)])(t[_0x147506(0x1a5)],{})})]}),(0x0,r['jsx'])(dt,{}),(0x0,r[_0x147506(0x243)])(ut,{'children':[(0x0,r[_0x147506(0x3a5)])(ft,{'title':_0x3b430d['t'](_0x147506(0x3ac)),'active':_0x929eaf,'onClick':()=>_0x8a3e25(l[_0x147506(0x187)]['id']),'children':(0x0,r['jsxs'])('span',{'className':_0x147506(0x359),'children':['X',(0x0,r[_0x147506(0x3a5)])(_0x147506(0x19d),{'children':'2'})]})}),(0x0,r[_0x147506(0x3a5)])(ft,{'title':_0x3b430d['t'](_0x147506(0x14d)),'active':_0x2a460e,'onClick':()=>_0x8a3e25(l['SetInlineFormatSuperscriptCommand']['id']),'children':(0x0,r[_0x147506(0x243)])(_0x147506(0x277),{'className':_0x147506(0x359),'children':['X',(0x0,r[_0x147506(0x3a5)])(_0x147506(0x2e9),{'children':'2'})]})})]}),(0x0,r[_0x147506(0x3a5)])(dt,{}),(0x0,r[_0x147506(0x243)])(ut,{'children':[(0x0,r[_0x147506(0x3a5)])(Z,{'title':_0x3b430d['t'](_0x147506(0x207)),'textStyle':_0x2e58cc,'fallbackColor':(_0x40fa03=(_0x3cff7c=_0x2e58cc['cl'])==null?void 0x0:_0x3cff7c[_0x147506(0x2c0)])==null?it:_0x40fa03,'onChange':_0x49a94c=>{const _0x57450e=_0x147506;_0x1bb296[_0x57450e(0x387)](l[_0x57450e(0x2bf)]['id'],{'value':_0x49a94c}),_0x5afe4e(_0x5d1e71=>({..._0x5d1e71,..._0x49a94c}));}}),(0x0,r[_0x147506(0x3a5)])(Q,{'title':_0x3b430d['t']('shape-editor-ui.toolbar.textBackgroundColor'),'color':_0x305caf,'resetLabel':_0x3b430d['t']('shape-editor-ui.toolbar.resetColor'),'onApply':()=>_0x8a3e25(l['SetInlineFormatTextBackgroundColorCommand']['id'],_0x305caf),'onReset':()=>{const _0x5e3285=_0x147506;_0x1bb296[_0x5e3285(0x387)](l[_0x5e3285(0x2d5)]['id']),_0x5afe4e(_0x2052c6=>({..._0x2052c6,'bg':{'rgb':null}}));},'onChange':_0x2aea06=>{const _0xe9cc22=_0x147506;_0x8a3e25(l[_0xe9cc22(0x257)]['id'],_0x2aea06),_0x5afe4e(_0x9acab6=>({..._0x9acab6,'bg':{'rgb':_0x2aea06}}));}})]})]});}exports[_0x1ed3a4(0x16f)]=de,exports[_0x1ed3a4(0x159)]=m,exports[_0x1ed3a4(0x2be)]=S,exports[_0x1ed3a4(0x388)]=_,exports['ShapeFloatingToolbar']=ue,exports[_0x1ed3a4(0x2ee)]=h,exports[_0x1ed3a4(0x1a2)]=x,exports[_0x1ed3a4(0x139)]=Ze,exports['ShapeTextEditorContainer']=rt,exports['ShapeTextFloatMenuRenderControllerBase']=Pe,exports[_0x1ed3a4(0x399)]=pt,exports[_0x1ed3a4(0x1c0)]=tt,exports[_0x1ed3a4(0x17f)]=F,exports['applyShapeTextEditorCanvasTransparency']=Je,exports[_0x1ed3a4(0x2aa)]=O,exports[_0x1ed3a4(0x40d)]=be,exports[_0x1ed3a4(0x406)]=E,exports[_0x1ed3a4(0x169)]=g,exports[_0x1ed3a4(0x228)]=Ke,exports[_0x1ed3a4(0x14a)]=Xe,exports[_0x1ed3a4(0x2ac)]=D,exports[_0x1ed3a4(0x2e7)]=De,exports[_0x1ed3a4(0x2fd)]=Oe,exports[_0x1ed3a4(0x272)]=xe;
|
|
1
|
+
const _0x55b3f9=_0x3eb8;(function(_0x18bcfe,_0x579bf3){const _0x49af0e=_0x3eb8,_0x59e3e1=_0x18bcfe();while(!![]){try{const _0x4085c6=parseInt(_0x49af0e(0x29f))/0x1+-parseInt(_0x49af0e(0x3bf))/0x2*(parseInt(_0x49af0e(0x22d))/0x3)+-parseInt(_0x49af0e(0x1aa))/0x4*(-parseInt(_0x49af0e(0x3cf))/0x5)+-parseInt(_0x49af0e(0x10d))/0x6*(-parseInt(_0x49af0e(0x19d))/0x7)+parseInt(_0x49af0e(0x16a))/0x8*(-parseInt(_0x49af0e(0x127))/0x9)+parseInt(_0x49af0e(0x142))/0xa+parseInt(_0x49af0e(0x148))/0xb*(-parseInt(_0x49af0e(0x2f0))/0xc);if(_0x4085c6===_0x579bf3)break;else _0x59e3e1['push'](_0x59e3e1['shift']());}catch(_0x51aa9f){_0x59e3e1['push'](_0x59e3e1['shift']());}}}(_0x16b9,0x5e90f),Object[_0x55b3f9(0x117)](exports,Symbol[_0x55b3f9(0x3b5)],{'value':_0x55b3f9(0x26c)}));let e=require('@univerjs/design'),t=require('@univerjs/icons'),n=require('react'),r=require('react/jsx-runtime'),i=require('@univerjs-pro/engine-shape'),a=require('@univerjs/core'),o=require('@univerjs/ui'),s=require('@univerjs/drawing'),c=require('@univerjs/docs'),l=require('@univerjs/docs-ui'),u=require('@univerjs/engine-render');const d={'noFill':'No\x20fill','solidFill':_0x55b3f9(0x3c9),'gradientFill':_0x55b3f9(0x28a),'pictureFill':_0x55b3f9(0x1ac),'color':_0x55b3f9(0x24f),'transparency':'Transparency'},f={'none':_0x55b3f9(0x39c),'solid':_0x55b3f9(0x17f),'gradient':_0x55b3f9(0x178),'picture':_0x55b3f9(0x1bc)},p={'type':_0x55b3f9(0x3b4),'angle':0x0,'stops':[{'color':_0x55b3f9(0x1ef),'offset':0x0},{'color':'#000000','offset':0x64}]};function m(_0x1ab208){const _0x172f10=_0x55b3f9;var _0x3d2bb6,_0x1edb81,_0x389115,_0x47a5f3,_0x2475d5;let {className:_0x8bc058,compact:_0x52ffe0=!0x0,disabled:_0x45480a=!0x1,value:_0x379cdd,typeValues:_0x5ed8ec=f,color:_0x54d157=_0x172f10(0x1ef),transparency:_0x4233d2=0x0,gradientValue:_0x2ae288=p,labels:_0x1ae675,tabLabels:_0x346334,noFillEditor:_0x295349,pictureFillEditor:_0x30a421,renderColorIcon:_0x19bece,keepColorPickerOpenOnChange:_0x434f77=!0x1,onChange:_0x1f5e4d,onColorChange:_0x14ca8d,onTransparencyChange:_0x5bd754,onGradientChange:_0x2d2cf3}=_0x1ab208,[_0x402ce3,_0xca3816]=(0x0,n[_0x172f10(0x1ea)])(!0x1),_0xc872fa={...d,..._0x1ae675},_0x1b3bca=[{'label':(_0x3d2bb6=_0x346334==null?void 0x0:_0x346334[_0x172f10(0x18c)])==null?_0xc872fa[_0x172f10(0x18c)]:_0x3d2bb6,'value':_0x5ed8ec[_0x172f10(0x39c)]},{'label':(_0x1edb81=_0x346334==null?void 0x0:_0x346334['solidFill'])==null?_0xc872fa[_0x172f10(0x1ed)]:_0x1edb81,'value':_0x5ed8ec['solid']},{'label':(_0x389115=_0x346334==null?void 0x0:_0x346334['gradientFill'])==null?_0xc872fa['gradientFill']:_0x389115,'value':_0x5ed8ec[_0x172f10(0x178)]},{'label':(_0x47a5f3=_0x346334==null?void 0x0:_0x346334[_0x172f10(0x1e5)])==null?_0xc872fa['pictureFill']:_0x47a5f3,'value':_0x5ed8ec[_0x172f10(0x1bc)]}];return(0x0,r[_0x172f10(0x38f)])('div',{'className':(0x0,e['clsx'])('univer-flex\x20univer-min-w-0\x20univer-flex-col',_0x52ffe0?'univer-gap-3':'univer-gap-4',_0x8bc058),'children':[(0x0,r[_0x172f10(0x29d)])(e[_0x172f10(0x234)],{'className':(0x0,e[_0x172f10(0x27b)])('univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden',_0x52ffe0&&'univer-text-xs',_0x45480a&&_0x172f10(0x1f0)),'items':_0x1b3bca,'value':_0x379cdd,'onChange':_0x28c80e=>{_0x45480a||_0x1f5e4d==null||_0x1f5e4d(_0x28c80e);}}),_0x379cdd===_0x5ed8ec[_0x172f10(0x39c)]&&_0x295349,_0x379cdd===_0x5ed8ec[_0x172f10(0x17f)]&&(0x0,r[_0x172f10(0x38f)])(_0x172f10(0x1c0),{'className':(0x0,e['clsx'])(_0x172f10(0x365),_0x52ffe0?_0x172f10(0x227):_0x172f10(0x16f)),'children':[(0x0,r[_0x172f10(0x38f)])(_0x172f10(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x172f10(0x29d)])('span',{'className':_0x172f10(0x12e),'children':_0xc872fa[_0x172f10(0x3c8)]}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x45480a,'overlay':(0x0,r[_0x172f10(0x29d)])('div',{'className':_0x172f10(0x22f),'children':(0x0,r[_0x172f10(0x29d)])(e[_0x172f10(0x11b)],{'value':_0x54d157,'onChange':_0x500565=>{_0x14ca8d==null||_0x14ca8d(_0x500565),_0x434f77||_0xca3816(!0x1);}})}),'open':_0x402ce3,'onOpenChange':_0xca3816,'children':(0x0,r['jsxs'])('a',{'className':_0x172f10(0x170),'children':[(_0x2475d5=_0x19bece==null?void 0x0:_0x19bece(_0x54d157))==null?(0x0,r[_0x172f10(0x29d)])(t[_0x172f10(0x397)],{'className':_0x172f10(0x122),'extend':{'colorChannel1':_0x54d157}}):_0x2475d5,(0x0,r['jsx'])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x172f10(0x158),{'univer-rotate-180':_0x402ce3})})]})})]}),(0x0,r['jsxs'])(_0x172f10(0x1c0),{'className':_0x172f10(0x29e),'children':[(0x0,r[_0x172f10(0x29d)])(_0x172f10(0x360),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xc872fa[_0x172f10(0x16c)]}),(0x0,r[_0x172f10(0x29d)])('div',{'className':_0x172f10(0x31d),'children':(0x0,r['jsx'])(e[_0x172f10(0x1fb)],{'className':_0x172f10(0x35b),'value':_0x4233d2,'disabled':_0x45480a,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x437a9a=>_0x437a9a+'%','parser':_0x417fd2=>(_0x417fd2==null?void 0x0:_0x417fd2[_0x172f10(0x272)]('%',''))||'','onChange':_0xbaf575=>_0x5bd754==null?void 0x0:_0x5bd754(_0xbaf575==null?0x0:_0xbaf575)})})]})]}),_0x379cdd===_0x5ed8ec[_0x172f10(0x178)]&&(0x0,r[_0x172f10(0x29d)])(e[_0x172f10(0x298)],{'compact':_0x52ffe0,'value':_0x2ae288,'onChange':_0x2d2cf3}),_0x379cdd===_0x5ed8ec['picture']&&_0x30a421]});}function h(_0x2589f6){const _0xf96cba=_0x55b3f9;var _0xb89136,_0x5784af,_0x10721e,_0x34bb35,_0x17b1fb,_0x22c44a,_0x196d6c,_0x2c809d,_0xa124ab,_0x2973cb,_0x370f33,_0x4bf639,_0xffbeec;let {shapeData:_0x27583d,disableShapeOption:_0x316dbd,onUpdateShapeData:_0xe775c1,onUpdateShapeFillImage:_0x4dbe3b}=_0x2589f6,_0x4224f7=(0x0,o[_0xf96cba(0x176)])(a['LocaleService']),_0x1a4cb8=(0x0,o[_0xf96cba(0x176)])(a[_0xf96cba(0x145)]),_0x49f84c=(0x0,o['useDependency'])(s[_0xf96cba(0x185)]),_0x440029=(0x0,n['useRef'])(null),_0x412beb=_0x27583d[_0xf96cba(0x2ab)],_0x503e2d=!!(_0x412beb!=null&&_0x412beb[_0xf96cba(0x350)]),[_0x4d6d10,_0x23710f]=(0x0,n[_0xf96cba(0x1ea)])((_0xb89136=_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x324)])==null?0x1:_0xb89136),[_0x5b7e75,_0x12605c]=(0x0,n[_0xf96cba(0x1ea)])((_0x5784af=_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x3a4)])==null?i[_0xf96cba(0x3a0)]['Stretch']:_0x5784af),[_0x18937d,_0x1fe4e5]=(0x0,n[_0xf96cba(0x1ea)])((_0x10721e=_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x213)])==null?!0x1:_0x10721e),[_0x195280,_0x29078b]=(0x0,n[_0xf96cba(0x1ea)])((_0x34bb35=_0x412beb==null||(_0x17b1fb=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0x17b1fb['offsetX'])==null?0x0:_0x34bb35),[_0xbd10d2,_0x1108a0]=(0x0,n['useState'])((_0x22c44a=_0x412beb==null||(_0x196d6c=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0x196d6c[_0xf96cba(0x3b6)])==null?0x0:_0x22c44a),[_0x6e4d2d,_0x5ba605]=(0x0,n['useState'])((_0x2c809d=_0x412beb==null||(_0xa124ab=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0xa124ab[_0xf96cba(0x12b)])==null?0x1:_0x2c809d),[_0x1960c8,_0x1438a3]=(0x0,n[_0xf96cba(0x1ea)])((_0x2973cb=_0x412beb==null||(_0x370f33=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0x370f33[_0xf96cba(0x37d)])==null?0x1:_0x2973cb),[_0x3ad116,_0xb1bc8d]=(0x0,n[_0xf96cba(0x1ea)])((_0x4bf639=_0x412beb==null||(_0xffbeec=_0x412beb[_0xf96cba(0x3cd)])==null?void 0x0:_0xffbeec['alignment'])==null?'tl':_0x4bf639),_0x475379=_0x5b7e75===i[_0xf96cba(0x3a0)]['Tile'],_0x32b172=Math[_0xf96cba(0xfc)]((0x1-_0x4d6d10)*0x64),_0x409214=Math[_0xf96cba(0xfc)](_0x6e4d2d*0x64),_0x1bbf02=Math[_0xf96cba(0xfc)](_0x1960c8*0x64),_0x273669=[{'label':_0x4224f7['t']('shape-editor-ui.fill.picture.align.tl'),'value':'tl'},{'label':_0x4224f7['t'](_0xf96cba(0xf4)),'value':'t'},{'label':_0x4224f7['t'](_0xf96cba(0x3ce)),'value':'tr'},{'label':_0x4224f7['t'](_0xf96cba(0x159)),'value':'l'},{'label':_0x4224f7['t'](_0xf96cba(0x174)),'value':_0xf96cba(0x261)},{'label':_0x4224f7['t'](_0xf96cba(0x20d)),'value':'r'},{'label':_0x4224f7['t'](_0xf96cba(0x16b)),'value':'bl'},{'label':_0x4224f7['t'](_0xf96cba(0x1f7)),'value':'b'},{'label':_0x4224f7['t']('shape-editor-ui.fill.picture.align.br'),'value':'br'}],_0x1ee7b4=_0x3341b2=>{_0xe775c1({'oldShapeData':{'fill':_0x412beb?{..._0x412beb}:void 0x0}},{'fill':{..._0x412beb,..._0x3341b2}});},_0x383bd6=_0x2509f4=>{const _0xc0768b=_0xf96cba;_0x1ee7b4({'imageTile':{..._0x412beb==null?void 0x0:_0x412beb[_0xc0768b(0x3cd)],..._0x2509f4}});},_0x51ae9a=()=>{const _0x2f0e0c=_0xf96cba;var _0x5d1ffc;return(_0x5d1ffc=_0x440029[_0x2f0e0c(0x2d1)])==null?void 0x0:_0x5d1ffc[_0x2f0e0c(0x173)]();},_0x3fb7c3=async _0x551568=>{const _0x2b457f=_0xf96cba;var _0x5cf0bf;let _0x2605db=(_0x5cf0bf=_0x551568[_0x2b457f(0x1df)]['files'])==null?void 0x0:_0x5cf0bf[0x0];if(!_0x2605db)return;_0x551568[_0x2b457f(0x1df)][_0x2b457f(0x250)]='';let _0x40305b=await _0x49f84c[_0x2b457f(0x196)](_0x2605db);if(_0x40305b==null)return;let {imageSourceType:_0x4f4ab3,source:_0x3ff467,base64Cache:_0x3afce7}=_0x40305b,{image:_0x2ad30d}=await(0x0,s[_0x2b457f(0x2d5)])(_0x3afce7||'');_0x49f84c[_0x2b457f(0x146)](_0x3ff467,_0x4f4ab3,_0x2ad30d),_0xe775c1({'oldShapeData':{'fill':_0x412beb?{..._0x412beb}:void 0x0}},{'fill':{..._0x412beb,'fillType':i['ShapeFillEnum'][_0x2b457f(0x371)],'fillImageSource':_0x3ff467,'fillImageSourceType':_0x4f4ab3}}),_0x4dbe3b==null||_0x4dbe3b(_0x2ad30d);},_0x44fef3='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x1ba0a6=_0xf96cba(0x29e);return(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x14c),'children':[(0x0,r['jsxs'])(_0xf96cba(0x1c0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x3a2),{'ref':_0x440029,'type':_0xf96cba(0x25a),'accept':'image/*','className':_0xf96cba(0x11e),'onChange':_0x3fb7c3}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x20b),'children':[(0x0,r[_0xf96cba(0x29d)])('button',{'type':_0xf96cba(0x188),'disabled':_0x316dbd,'className':_0xf96cba(0x1f5),'onClick':_0x51ae9a,'children':(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x360),{'children':[_0x4224f7['t'](_0xf96cba(0x1ad)),'\x20']})}),_0x503e2d&&(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'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[_0xf96cba(0x29d)])(_0xf96cba(0x11a),{'src':_0x412beb==null?void 0x0:_0x412beb[_0xf96cba(0x350)],'alt':'','className':_0xf96cba(0x19e)})})]})]})]}),(0x0,r['jsxs'])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.transparency')}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x31d),'children':(0x0,r['jsx'])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0x32b172,'disabled':_0x316dbd,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x5a815e=>_0x5a815e+'%','parser':_0x3499ea=>(_0x3499ea==null?void 0x0:_0x3499ea[_0xf96cba(0x272)]('%',''))||'','onChange':_0x116e83=>{const _0xaaba77=_0xf96cba;let _0x313acd=(0x64-Math[_0xaaba77(0x23d)](0x0,Math[_0xaaba77(0x301)](0x64,_0x116e83==null?0x0:_0x116e83)))/0x64;_0x23710f(_0x313acd),_0x1ee7b4({'imageOpacity':_0x313acd}),_0x1a4cb8[_0xaaba77(0x141)](a[_0xaaba77(0x2cb)],!0x1);},'onFocus':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8['setContextValue'](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x29d)])(e['Checkbox'],{'checked':_0x475379,'disabled':_0x316dbd,'onChange':_0x87741a=>{const _0x3676f3=_0xf96cba;let _0x3ecf9d=_0x87741a?i[_0x3676f3(0x3a0)][_0x3676f3(0x2f6)]:i[_0x3676f3(0x3a0)]['Stretch'];_0x12605c(_0x3ecf9d),_0x1ee7b4({'imageFillMode':_0x3ecf9d});},'children':(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':'univer-text-sm','children':_0x4224f7['t']('shape-editor-ui.fill.picture.tileAsTexture')})}),_0x475379&&(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x30e),'children':[(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.offsetX')}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0x195280,'disabled':_0x316dbd,'step':0x1,'onChange':_0x5cd0b0=>{_0x383bd6({'offsetX':_0x5cd0b0==null?0x0:_0x5cd0b0}),_0x29078b(_0x5cd0b0==null?0x0:_0x5cd0b0);},'onFocus':()=>_0x1a4cb8['setContextValue'](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r['jsxs'])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t'](_0xf96cba(0x2e7))}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x31d),'children':(0x0,r[_0xf96cba(0x29d)])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0xbd10d2,'disabled':_0x316dbd,'step':0x1,'onChange':_0x46ccd0=>{_0x383bd6({'offsetY':_0x46ccd0==null?0x0:_0x46ccd0}),_0x1108a0(_0x46ccd0==null?0x0:_0x46ccd0);},'onFocus':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t'](_0xf96cba(0x13d))}),(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x1c0),{'className':_0xf96cba(0x31d),'children':(0x0,r[_0xf96cba(0x29d)])(e['InputNumber'],{'className':_0xf96cba(0x35b),'value':_0x409214,'disabled':_0x316dbd,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x4d52c6=>_0x4d52c6+'%','parser':_0x299d22=>(_0x299d22==null?void 0x0:_0x299d22[_0xf96cba(0x272)]('%',''))||'','onChange':_0x10a342=>{const _0x573fb7=_0xf96cba;let _0x34d877=Math['max'](0.01,(_0x10a342==null?0x64:_0x10a342)/0x64);_0x5ba605(_0x34d877),_0x383bd6({'scaleX':_0x34d877}),_0x1a4cb8[_0x573fb7(0x141)](a[_0x573fb7(0x2cb)],!0x1);},'onFocus':()=>_0x1a4cb8[_0xf96cba(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r['jsx'])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.scaleY')}),(0x0,r['jsx'])('div',{'className':_0xf96cba(0x31d),'children':(0x0,r['jsx'])(e[_0xf96cba(0x1fb)],{'className':_0xf96cba(0x35b),'value':_0x1bbf02,'disabled':_0x316dbd,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x8e659b=>_0x8e659b+'%','parser':_0x3e6951=>(_0x3e6951==null?void 0x0:_0x3e6951['replace']('%',''))||'','onChange':_0x1066b6=>{const _0x1815aa=_0xf96cba;let _0x3971f9=Math[_0x1815aa(0x23d)](0.01,(_0x1066b6==null?0x64:_0x1066b6)/0x64);_0x1438a3(_0x3971f9),_0x383bd6({'scaleY':_0x3971f9}),_0x1a4cb8[_0x1815aa(0x141)](a[_0x1815aa(0x2cb)],!0x1);},'onFocus':()=>_0x1a4cb8['setContextValue'](a[_0xf96cba(0x2cb)],!0x0),'onBlur':()=>_0x1a4cb8[_0xf96cba(0x141)](a[_0xf96cba(0x2cb)],!0x1)})})]}),(0x0,r[_0xf96cba(0x38f)])(_0xf96cba(0x1c0),{'className':_0x1ba0a6,'children':[(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0x44fef3,'children':_0x4224f7['t']('shape-editor-ui.fill.picture.alignment')}),(0x0,r[_0xf96cba(0x29d)])('div',{'className':_0xf96cba(0x2b0),'children':(0x0,r[_0xf96cba(0x29d)])(e[_0xf96cba(0x14d)],{'className':_0xf96cba(0x35b),'value':_0x3ad116,'options':_0x273669,'disabled':_0x316dbd,'onChange':_0x1c964b=>{_0xb1bc8d(_0x1c964b),_0x383bd6({'alignment':_0x1c964b});}})})]})]}),(0x0,r[_0xf96cba(0x29d)])(e[_0xf96cba(0x1e4)],{'checked':_0x18937d,'disabled':_0x316dbd,'onChange':_0x5f52ea=>{_0x1fe4e5(_0x5f52ea),_0x1ee7b4({'imageRotateWithShape':_0x5f52ea});},'children':(0x0,r[_0xf96cba(0x29d)])(_0xf96cba(0x360),{'className':_0xf96cba(0x3af),'children':_0x4224f7['t']('shape-editor-ui.fill.picture.rotateWithShape')})})]});}function g(_0x44dfec){const _0x56cf27=_0x55b3f9;var _0x579c44,_0xa52f33;return(_0x579c44=(_0xa52f33=_0x44dfec[_0x56cf27(0x2ab)])==null?void 0x0:_0xa52f33[_0x56cf27(0x359)])==null?i['ShapeFillEnum'][_0x56cf27(0x258)]:_0x579c44;}function _(_0x2cc779){const _0x499426=_0x55b3f9;var _0x4143c9,_0x2836cb,_0x47186d,_0x111951;let _0x53ab3e=(0x0,o[_0x499426(0x176)])(a['LocaleService']),_0x5e2397=(0x0,o['useDependency'])(a[_0x499426(0x145)]),{shapeData:_0x450ce2,isLineShape:_0x237585,shapeId:_0x564c54,disableShapeOption:_0x37ca98,onUpdateShapeData:_0x277462,onUpdateShapeFillImage:_0x583524}=_0x2cc779,[_0x3d1d78,_0x731be7]=(0x0,n[_0x499426(0x1ea)])(g(_0x450ce2)),[_0x4314d8,_0x207759]=(0x0,n[_0x499426(0x1ea)])((_0x4143c9=(_0x2836cb=_0x450ce2['fill'])==null?void 0x0:_0x2836cb[_0x499426(0x3c8)])==null?i[_0x499426(0x2af)][_0x499426(0x2ab)]:_0x4143c9),[_0x386161,_0x46ae14]=(0x0,n[_0x499426(0x1ea)])((_0x47186d=(_0x111951=_0x450ce2[_0x499426(0x2ab)])==null?void 0x0:_0x111951[_0x499426(0x219)])==null?0x1:_0x47186d),[_0x1032a0,_0x23bf7c]=(0x0,n[_0x499426(0x1ea)])(!0x1);if(_0x237585)return null;let _0x215c36=0x64-_0x386161*0x64;return(0x0,r['jsxs'])('div',{'className':_0x499426(0x269),'children':[(0x0,r['jsxs'])(e[_0x499426(0x3b2)],{'value':_0x3d1d78,'disabled':_0x37ca98,'onChange':_0x49dbff=>{const _0x16717a=_0x499426;var _0x4a0d5a;_0x277462({'oldShapeData':{'fill':{'fillType':(_0x4a0d5a=_0x450ce2['fill'])==null?void 0x0:_0x4a0d5a[_0x16717a(0x359)]}}},{'fill':{'fillType':_0x49dbff}}),_0x731be7(_0x49dbff);},'direction':_0x499426(0x286),'children':[(0x0,r[_0x499426(0x29d)])(e['Radio'],{'value':i[_0x499426(0x1d7)][_0x499426(0x258)],'children':(0x0,r[_0x499426(0x29d)])(_0x499426(0x360),{'className':_0x499426(0x3af),'children':_0x53ab3e['t']('shape-editor-ui.fill.noFill')})}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x3b0)],{'value':i[_0x499426(0x1d7)][_0x499426(0x2f1)],'children':(0x0,r[_0x499426(0x29d)])('span',{'className':'univer-text-sm','children':_0x53ab3e['t']('shape-editor-ui.fill.solidFill')})}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x3b0)],{'value':i[_0x499426(0x1d7)][_0x499426(0x1d9)],'children':(0x0,r[_0x499426(0x29d)])(_0x499426(0x360),{'className':_0x499426(0x3af),'children':_0x53ab3e['t'](_0x499426(0x343))})}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x3b0)],{'value':i[_0x499426(0x1d7)][_0x499426(0x371)],'children':(0x0,r['jsx'])(_0x499426(0x360),{'className':_0x499426(0x3af),'children':_0x53ab3e['t'](_0x499426(0x292))})})]}),_0x3d1d78===i['ShapeFillEnum'][_0x499426(0x2f1)]&&(0x0,r[_0x499426(0x38f)])(_0x499426(0x1c0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[(0x0,r[_0x499426(0x38f)])(_0x499426(0x1c0),{'className':_0x499426(0x1bb),'children':[(0x0,r[_0x499426(0x29d)])('span',{'className':_0x499426(0x22c),'children':_0x53ab3e['t'](_0x499426(0x119))}),(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x14e)],{'disabled':_0x37ca98,'overlay':(0x0,r[_0x499426(0x29d)])(_0x499426(0x1c0),{'className':_0x499426(0x22f),'children':(0x0,r[_0x499426(0x29d)])(e[_0x499426(0x11b)],{'value':_0x4314d8,'onChange':_0x4a6d2b=>{const _0x227f5d=_0x499426;var _0x2bdc76;_0x277462({'oldShapeData':{'fill':{'color':(_0x2bdc76=_0x450ce2[_0x227f5d(0x2ab)])==null?void 0x0:_0x2bdc76[_0x227f5d(0x3c8)]}}},{'fill':{'color':_0x4a6d2b}}),_0x207759(_0x4a6d2b),_0x23bf7c(!0x1);}})}),'open':_0x1032a0,'onOpenChange':_0x23bf7c,'children':(0x0,r['jsxs'])('a',{'className':_0x499426(0x170),'children':[(0x0,r[_0x499426(0x29d)])(t[_0x499426(0x10b)],{'className':_0x499426(0x122),'extend':{'colorChannel1':_0x4314d8}}),(0x0,r[_0x499426(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x499426(0x158),{'univer-rotate-180':_0x1032a0})})]})})]}),(0x0,r[_0x499426(0x38f)])(_0x499426(0x1c0),{'className':_0x499426(0x29e),'children':[(0x0,r[_0x499426(0x29d)])('span',{'className':_0x499426(0x395),'children':_0x53ab3e['t'](_0x499426(0x104))}),(0x0,r[_0x499426(0x29d)])('div',{'className':_0x499426(0x1f8),'children':(0x0,r[_0x499426(0x29d)])(_0x499426(0x1c0),{'className':_0x499426(0x31d),'children':(0x0,r[_0x499426(0x29d)])(e['InputNumber'],{'className':_0x499426(0x35b),'value':_0x215c36,'disabled':_0x37ca98,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x375cc3=>_0x375cc3+'%','parser':_0x4de6ef=>(_0x4de6ef==null?void 0x0:_0x4de6ef[_0x499426(0x272)]('%',''))||'','onChange':_0x396d5f=>{const _0xa12515=_0x499426;let _0x3fd7bb=(0x64-Math[_0xa12515(0x23d)](0x0,Math['min'](0x64,_0x396d5f==null?0x0:_0x396d5f)))/0x64;_0x46ae14(_0x3fd7bb),_0x277462({'oldShapeData':{'fill':{..._0x450ce2[_0xa12515(0x2ab)],'fillType':_0x3d1d78}}},{'fill':{..._0x450ce2[_0xa12515(0x2ab)],'fillType':_0x3d1d78,'opacity':_0x3fd7bb}}),_0x5e2397[_0xa12515(0x141)](a[_0xa12515(0x2cb)],!0x1);},'onFocus':()=>_0x5e2397[_0x499426(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':()=>{const _0x40ef87=_0x499426;_0x5e2397[_0x40ef87(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);}})})})]})]}),_0x3d1d78===i[_0x499426(0x1d7)][_0x499426(0x1d9)]&&(0x0,r['jsx'])(b,{'shapeData':_0x450ce2,'disableShapeOption':_0x37ca98,'onUpdate':_0x7afc6b=>{const _0x2da23e=_0x499426;_0x277462({'oldShapeData':{'fill':{..._0x450ce2[_0x2da23e(0x2ab)]}}},{'fill':{..._0x450ce2[_0x2da23e(0x2ab)],..._0x7afc6b}});}}),_0x3d1d78===i[_0x499426(0x1d7)][_0x499426(0x371)]&&(0x0,r['jsx'])(h,{'shapeId':_0x564c54,'shapeData':_0x450ce2,'disableShapeOption':_0x37ca98,'onUpdateShapeData':_0x277462,'onUpdateShapeFillImage':_0x583524})]});}function v(_0x496f65){const _0x45ea5c=_0x55b3f9;switch(_0x496f65){case i[_0x45ea5c(0x2b6)][_0x45ea5c(0xf2)]:return _0x45ea5c(0x3b4);case i[_0x45ea5c(0x2b6)][_0x45ea5c(0x11f)]:return _0x45ea5c(0x162);case i[_0x45ea5c(0x2b6)]['Angular']:return _0x45ea5c(0x2c7);case i[_0x45ea5c(0x2b6)][_0x45ea5c(0x390)]:return'diamond';default:return _0x45ea5c(0x3b4);}}function y(_0x49c048){const _0x58813f=_0x55b3f9;switch(_0x49c048){case _0x58813f(0x3b4):return i['ShapeGradientTypeEnum']['Linear'];case _0x58813f(0x162):return i[_0x58813f(0x2b6)]['Radial'];case'angular':return i[_0x58813f(0x2b6)][_0x58813f(0x283)];case _0x58813f(0x3ca):return i[_0x58813f(0x2b6)][_0x58813f(0x390)];default:return i[_0x58813f(0x2b6)][_0x58813f(0xf2)];}}function b(_0x205a7c){const _0x1052d3=_0x55b3f9;let {shapeData:_0x1f0121,disableShapeOption:_0x13f0ee,onUpdate:_0xfca6ea}=_0x205a7c,_0x34d09d=(0x0,n[_0x1052d3(0x32a)])(()=>{const _0x236424=_0x1052d3;var _0x27abba;let _0x5d2488=_0x1f0121[_0x236424(0x2ab)];return{'type':v(_0x5d2488==null?void 0x0:_0x5d2488[_0x236424(0x17a)]),'angle':(_0x27abba=_0x5d2488==null?void 0x0:_0x5d2488[_0x236424(0x15a)])==null?0x0:_0x27abba,'stops':_0x5d2488!=null&&_0x5d2488[_0x236424(0x2e6)]&&_0x5d2488[_0x236424(0x2e6)][_0x236424(0x2e1)]>=0x2?_0x5d2488[_0x236424(0x2e6)][_0x236424(0x34d)](_0x57f766=>({'color':_0x57f766[_0x236424(0x3c8)],'offset':_0x57f766['position']*0x64,'opacity':_0x57f766[_0x236424(0x219)]})):[{'color':(_0x5d2488==null?void 0x0:_0x5d2488[_0x236424(0x3c8)])||_0x236424(0x1ef),'offset':0x0},{'color':_0x236424(0x2d9),'offset':0x64}]};},[_0x1f0121[_0x1052d3(0x2ab)]]);return(0x0,r[_0x1052d3(0x29d)])('div',{'className':_0x1052d3(0x1c9),'children':(0x0,r[_0x1052d3(0x29d)])(e[_0x1052d3(0x298)],{'value':_0x34d09d,'onChange':_0xb27286=>{const _0x5e4756=_0x1052d3;let _0x18ac1a=y(_0xb27286['type']),_0x1961ef=_0xb27286['angle'];_0xfca6ea({'gradientType':_0x18ac1a,'gradientAngle':_0x1961ef,'gradientStops':_0xb27286[_0x5e4756(0x2ec)]['map'](_0x14bd0e=>({'color':_0x14bd0e['color'],'position':_0x14bd0e[_0x5e4756(0x3a5)]/0x64,'opacity':_0x14bd0e[_0x5e4756(0x219)]}))});}})});}function x(_0x3208e9){const _0x543a8c=_0x55b3f9;var _0x1e4f1b,_0x47f0ad,_0x2421b9,_0x30c34e,_0x49002f,_0x997850,_0x2c5074,_0x36655a,_0x42a370,_0x384bc3,_0x4d84f4,_0x14ee35,_0x15be56,_0x2af816,_0x18f7f1,_0x8ca27b,_0x484564;let _0x3091b3=(0x0,o['useDependency'])(a['LocaleService']),_0x1b04b0=(0x0,o['useDependency'])(a[_0x543a8c(0x145)]),{shapeData:_0x1d1c60,isLineShape:_0x3a8da3,disableShapeOption:_0x28d247,onUpdateShapeData:_0x171156,onUpdateLineShapeData:_0x13bbfa}=_0x3208e9,_0x4bd81d=_0x1d1c60['stroke'],[_0x46e33e,_0x5a9fc2]=(0x0,n[_0x543a8c(0x1ea)])((_0x1e4f1b=_0x4bd81d==null?void 0x0:_0x4bd81d['lineStrokeType'])==null?i[_0x543a8c(0x118)][_0x543a8c(0x26a)]:_0x1e4f1b),[_0x6b6b30,_0x33d6d0]=(0x0,n[_0x543a8c(0x1ea)])((_0x47f0ad=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x3c8)])==null?i['ShapeDefaultConfig']['stroke']:_0x47f0ad),[_0x289b33,_0x436d29]=(0x0,n[_0x543a8c(0x1ea)])((_0x2421b9=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x219)])==null?0x1:_0x2421b9),[_0x44b414,_0x2bc4da]=(0x0,n[_0x543a8c(0x1ea)])((_0x30c34e=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x10f)])==null?i[_0x543a8c(0x2af)]['strokeWidth']:_0x30c34e),[_0x2c2843,_0x1d8e9f]=(0x0,n['useState'])((_0x49002f=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x19c)])==null?0x0:_0x49002f),[_0x3207a4,_0x3d6782]=(0x0,n[_0x543a8c(0x1ea)])((_0x997850=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x35e)])==null?i[_0x543a8c(0x1b9)]['Solid']:_0x997850),[_0x62d394,_0x59d26]=(0x0,n['useState'])((_0x2c5074=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x211)])==null?i['ShapeLineCapEnum']['Flat']:_0x2c5074),[_0x1752c2,_0x473d33]=(0x0,n[_0x543a8c(0x1ea)])((_0x36655a=_0x4bd81d==null?void 0x0:_0x4bd81d[_0x543a8c(0x21e)])==null?i[_0x543a8c(0x326)]['Miter']:_0x36655a),[_0x43de32,_0x351c56]=(0x0,n[_0x543a8c(0x1ea)])((_0x42a370=_0x4bd81d==null?void 0x0:_0x4bd81d['sketchType'])==null?i[_0x543a8c(0x255)][_0x543a8c(0x1ba)]:_0x42a370),_0x5e7b88=_0x1d1c60,[_0x3694ab,_0x292e78]=(0x0,n[_0x543a8c(0x1ea)])((_0x384bc3=(_0x4d84f4=_0x5e7b88['ln'])==null||(_0x4d84f4=_0x4d84f4[_0x543a8c(0x14b)])==null?void 0x0:_0x4d84f4['type'])==null?i[_0x543a8c(0x276)][_0x543a8c(0x1ba)]:_0x384bc3),[_0x541ec7,_0x350844]=(0x0,n[_0x543a8c(0x1ea)])((_0x14ee35=(_0x15be56=_0x5e7b88['ln'])==null||(_0x15be56=_0x15be56[_0x543a8c(0x14b)])==null?void 0x0:_0x15be56['size'])==null?i[_0x543a8c(0x31e)][_0x543a8c(0x1d6)]:_0x14ee35),[_0x2c355b,_0x2f6957]=(0x0,n[_0x543a8c(0x1ea)])((_0x2af816=(_0x18f7f1=_0x5e7b88['ln'])==null||(_0x18f7f1=_0x18f7f1[_0x543a8c(0x3c4)])==null?void 0x0:_0x18f7f1['type'])==null?i[_0x543a8c(0x276)]['None']:_0x2af816),[_0x42ed8b,_0x5ab230]=(0x0,n[_0x543a8c(0x1ea)])((_0x8ca27b=(_0x484564=_0x5e7b88['ln'])==null||(_0x484564=_0x484564['endArrow'])==null?void 0x0:_0x484564['size'])==null?i[_0x543a8c(0x31e)][_0x543a8c(0x1d6)]:_0x8ca27b),[_0x3d7d95,_0x5ee2e8]=(0x0,n[_0x543a8c(0x1ea)])(!0x1),_0x2fb880=0x64-_0x289b33*0x64,_0xa80bca=[{'label':_0x3091b3['t'](_0x543a8c(0x374)),'value':String(i['ShapeLineDashEnum'][_0x543a8c(0x3c9)])},{'label':_0x3091b3['t'](_0x543a8c(0x12f)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x23f)])},{'label':_0x3091b3['t'](_0x543a8c(0x1b6)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x1e0)])},{'label':_0x3091b3['t'](_0x543a8c(0x396)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x27e)])},{'label':_0x3091b3['t']('shape-editor-ui.line.dashType.dashDot'),'value':String(i[_0x543a8c(0x1b9)]['DashDot'])},{'label':_0x3091b3['t']('shape-editor-ui.line.dashType.longDash'),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x2a5)])},{'label':_0x3091b3['t'](_0x543a8c(0x34f)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x140)])},{'label':_0x3091b3['t'](_0x543a8c(0x2e3)),'value':String(i[_0x543a8c(0x1b9)][_0x543a8c(0x101)])}],_0x45a716=[{'label':_0x3091b3['t']('shape-editor-ui.line.capType.flat'),'value':String(i[_0x543a8c(0x342)][_0x543a8c(0x348)])},{'label':_0x3091b3['t'](_0x543a8c(0x218)),'value':String(i[_0x543a8c(0x342)][_0x543a8c(0x13e)])},{'label':_0x3091b3['t'](_0x543a8c(0x263)),'value':String(i[_0x543a8c(0x342)][_0x543a8c(0x28e)])}],_0x3cc325=[{'label':_0x3091b3['t'](_0x543a8c(0x17c)),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x1ba)])},{'label':_0x3091b3['t']('shape-editor-ui.line.sketchType.curved'),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x221)])},{'label':_0x3091b3['t']('shape-editor-ui.line.sketchType.freehand'),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x2da)])},{'label':_0x3091b3['t']('shape-editor-ui.line.sketchType.handDrawn'),'value':String(i[_0x543a8c(0x255)][_0x543a8c(0x373)])}],_0x441456=[{'label':_0x3091b3['t'](_0x543a8c(0x29b)),'value':String(i['ShapeLineJoinEnum']['Miter'])},{'label':_0x3091b3['t'](_0x543a8c(0x216)),'value':String(i[_0x543a8c(0x326)][_0x543a8c(0x13e)])},{'label':_0x3091b3['t'](_0x543a8c(0x312)),'value':String(i[_0x543a8c(0x326)][_0x543a8c(0x1d4)])}],_0x10d8a6=[{'label':_0x3091b3['t'](_0x543a8c(0x18f)),'value':String(i[_0x543a8c(0x276)]['None'])},{'label':_0x3091b3['t']('shape-editor-ui.line.arrowType.arrow'),'value':String(i['ShapeArrowTypeEnum'][_0x543a8c(0x2d4)])},{'label':_0x3091b3['t'](_0x543a8c(0x295)),'value':String(i[_0x543a8c(0x276)][_0x543a8c(0x252)])},{'label':_0x3091b3['t']('shape-editor-ui.line.arrowType.stealthArrow'),'value':String(i[_0x543a8c(0x276)][_0x543a8c(0x2cc)])},{'label':_0x3091b3['t'](_0x543a8c(0x366)),'value':String(i['ShapeArrowTypeEnum'][_0x543a8c(0x184)])},{'label':_0x3091b3['t'](_0x543a8c(0x39d)),'value':String(i[_0x543a8c(0x276)]['OvalArrow'])}],_0x2f99c6=[{'label':_0x3091b3['t']('shape-editor-ui.line.arrowSize.small'),'value':String(i[_0x543a8c(0x31e)][_0x543a8c(0x20a)])},{'label':_0x3091b3['t'](_0x543a8c(0x294)),'value':String(i[_0x543a8c(0x31e)][_0x543a8c(0x1d6)])},{'label':_0x3091b3['t'](_0x543a8c(0x1ec)),'value':String(i[_0x543a8c(0x31e)][_0x543a8c(0x108)])}];return(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x269),'children':[(0x0,r[_0x543a8c(0x38f)])(e[_0x543a8c(0x3b2)],{'value':String(_0x46e33e),'disabled':_0x28d247,'onChange':_0x111286=>{const _0x255e90=_0x543a8c;var _0x5248b8;_0x5a9fc2(Number(_0x111286)),_0x171156({'oldShapeData':{'stroke':{'lineStrokeType':(_0x5248b8=_0x1d1c60['stroke'])==null?void 0x0:_0x5248b8[_0x255e90(0x2c6)]}}},{'stroke':{'lineStrokeType':Number(_0x111286)}});},'direction':_0x543a8c(0x286),'children':[(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x3b0)],{'value':String(i['ShapeLineTypeEnum'][_0x543a8c(0x165)]),'children':(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x3af),'children':_0x3091b3['t'](_0x543a8c(0x2bc))})}),(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x3b0)],{'value':String(i[_0x543a8c(0x118)]['SolidLine']),'children':(0x0,r['jsx'])(_0x543a8c(0x360),{'className':_0x543a8c(0x3af),'children':_0x3091b3['t']('shape-editor-ui.line.solidLine')})})]}),_0x46e33e!==i[_0x543a8c(0x118)]['NoLine']&&(0x0,r['jsxs'])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x181),'children':[(0x0,r['jsxs'])('div',{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x33e))}),(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14e)],{'disabled':_0x28d247,'overlay':(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x22f),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x11b)],{'value':_0x6b6b30,'onChange':_0x3fa4eb=>{const _0x394890=_0x543a8c;var _0x434f70;_0x171156({'oldShapeData':{'stroke':{'color':(_0x434f70=_0x1d1c60['stroke'])==null?void 0x0:_0x434f70[_0x394890(0x3c8)]}}},{'stroke':{'color':_0x3fa4eb}}),_0x33d6d0(_0x3fa4eb),_0x5ee2e8(!0x1);}})}),'open':_0x3d7d95,'onOpenChange':_0x5ee2e8,'children':(0x0,r[_0x543a8c(0x38f)])('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[_0x543a8c(0x307)],{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x6b6b30}}),(0x0,r[_0x543a8c(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e[_0x543a8c(0x27b)])(_0x543a8c(0x158),{'univer-rotate-180':_0x3d7d95})})]})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x395),'children':_0x3091b3['t'](_0x543a8c(0x183))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':(0x0,r[_0x543a8c(0x29d)])('div',{'className':'univer-w-20\x20univer-flex-1','children':(0x0,r[_0x543a8c(0x29d)])(e['InputNumber'],{'className':'univer-w-full','value':_0x2fb880,'disabled':_0x28d247,'min':0x0,'max':0x64,'formatter':_0x2c4468=>_0x2c4468+'%','parser':_0xd0e497=>(_0xd0e497==null?void 0x0:_0xd0e497[_0x543a8c(0x272)]('%',''))||'','onChange':_0xa9b89b=>{const _0x2f5dfc=_0x543a8c;var _0x427948;let _0x176273=(0x64-Math[_0x2f5dfc(0x23d)](0x0,Math['min'](0x64,_0xa9b89b==null?0x0:_0xa9b89b)))/0x64;_0x436d29(_0x176273),_0x171156({'oldShapeData':{'stroke':{'opacity':(_0x427948=_0x1d1c60[_0x2f5dfc(0x36e)])==null?void 0x0:_0x427948[_0x2f5dfc(0x219)]}}},{'stroke':{'opacity':_0x176273}}),_0x1b04b0[_0x2f5dfc(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x1b04b0[_0x543a8c(0x141)](a[_0x543a8c(0x2cb)],!0x0),'onBlur':_0x3785d4=>{const _0x481069=_0x543a8c;_0x1b04b0[_0x481069(0x141)](a[_0x481069(0x2cb)],!0x1);}})})})]}),(0x0,r['jsxs'])('div',{'className':_0x543a8c(0x29e),'children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x30f))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x31d),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x1fb)],{'className':_0x543a8c(0x35b),'disabled':_0x28d247,'value':_0x44b414,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x520b19=>_0x520b19+_0x543a8c(0x280),'parser':_0x4af6e2=>(_0x4af6e2==null?void 0x0:_0x4af6e2[_0x543a8c(0x272)](_0x543a8c(0x280),''))||'','onChange':_0x4fc835=>{const _0x45adcf=_0x543a8c;if(!Number[_0x45adcf(0x364)](_0x4fc835)&&_0x4fc835!==null){var _0x42f665;_0x171156({'oldShapeData':{'stroke':{'width':(_0x42f665=_0x1d1c60[_0x45adcf(0x36e)])==null?void 0x0:_0x42f665[_0x45adcf(0x10f)]}}},{'stroke':{'width':_0x4fc835}});}_0x1b04b0[_0x45adcf(0x141)](a[_0x45adcf(0x2cb)],!0x1);},'onFocus':()=>_0x1b04b0[_0x543a8c(0x141)](a[_0x543a8c(0x2cb)],!0x0),'onBlur':_0x3601a0=>{const _0x561661=_0x543a8c;_0x1b04b0[_0x561661(0x141)](a[_0x561661(0x2cb)],!0x1);}})})]}),_0x3a8da3&&(0x0,r['jsxs'])('div',{'className':_0x543a8c(0x29e),'children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x21f))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':'univer-w-20','children':(0x0,r['jsx'])(e[_0x543a8c(0x1fb)],{'className':_0x543a8c(0x35b),'disabled':_0x28d247,'value':_0x2c2843,'min':0x0,'step':0x1,'formatter':_0x401e70=>_0x401e70+_0x543a8c(0x280),'parser':_0x296453=>(_0x296453==null?void 0x0:_0x296453[_0x543a8c(0x272)](_0x543a8c(0x280),''))||'','onChange':_0x527759=>{const _0x503750=_0x543a8c;var _0x36fdc0;let _0x3f9cd7=Math[_0x503750(0x23d)](0x0,_0x527759==null?0x0:_0x527759);_0x1d8e9f(_0x3f9cd7),_0x171156({'oldShapeData':{'stroke':{'cornerRadius':(_0x36fdc0=_0x1d1c60[_0x503750(0x36e)])==null?void 0x0:_0x36fdc0[_0x503750(0x19c)]}}},{'stroke':{'cornerRadius':_0x3f9cd7}}),_0x1b04b0[_0x503750(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);},'onFocus':()=>_0x1b04b0['setContextValue'](a[_0x543a8c(0x2cb)],!0x0),'onBlur':()=>{const _0x213486=_0x543a8c;_0x1b04b0['setContextValue'](a[_0x213486(0x2cb)],!0x1);}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x204))}),(0x0,r['jsx'])('div',{'className':'univer-w-28','children':(0x0,r[_0x543a8c(0x29d)])(e['Select'],{'className':_0x543a8c(0x35b),'value':String(_0x3207a4),'options':_0xa80bca,'disabled':_0x28d247,'onChange':_0x447234=>{const _0x65de39=_0x543a8c;var _0x1403cc;_0x3d6782(Number(_0x447234)),_0x171156({'oldShapeData':{'stroke':{'dashType':(_0x1403cc=_0x1d1c60[_0x65de39(0x36e)])==null?void 0x0:_0x1403cc[_0x65de39(0x35e)]}}},{'stroke':{'dashType':Number(_0x447234)}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r['jsx'])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x30d))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x62d394),'options':_0x45a716,'disabled':_0x28d247,'onChange':_0x204bfa=>{const _0x8f9918=_0x543a8c;var _0x478cfe;_0x59d26(Number(_0x204bfa)),_0x171156({'oldShapeData':{'stroke':{'capType':(_0x478cfe=_0x1d1c60[_0x8f9918(0x36e)])==null?void 0x0:_0x478cfe[_0x8f9918(0x211)]}}},{'stroke':{'capType':Number(_0x204bfa)}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x21a))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':'univer-w-28','children':(0x0,r['jsx'])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x1752c2),'options':_0x441456,'disabled':_0x28d247,'onChange':_0x2ee910=>{const _0x56ab10=_0x543a8c;var _0x2dab76;_0x473d33(Number(_0x2ee910)),_0x171156({'oldShapeData':{'stroke':{'lineJoinType':(_0x2dab76=_0x1d1c60[_0x56ab10(0x36e)])==null?void 0x0:_0x2dab76[_0x56ab10(0x21e)]}}},{'stroke':{'lineJoinType':Number(_0x2ee910)}});}})})]}),!_0x3a8da3&&(0x0,r[_0x543a8c(0x38f)])('div',{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x387))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x43de32),'options':_0x3cc325,'disabled':_0x28d247,'onChange':_0x35e756=>{const _0x55661b=_0x543a8c;var _0x48618b;_0x351c56(Number(_0x35e756)),_0x171156({'oldShapeData':{'stroke':{'sketchType':(_0x48618b=_0x1d1c60[_0x55661b(0x36e)])==null?void 0x0:_0x48618b[_0x55661b(0x37b)]}}},{'stroke':{'sketchType':Number(_0x35e756)}});}})})]}),_0x3a8da3&&(0x0,r[_0x543a8c(0x38f)])(r[_0x543a8c(0x2e0)],{'children':[(0x0,r['jsxs'])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r['jsx'])(_0x543a8c(0x360),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3091b3['t'](_0x543a8c(0x2a0))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e[_0x543a8c(0x14d)],{'className':'univer-w-full','value':String(_0x3694ab),'options':_0x10d8a6,'onChange':_0x54c2f2=>{const _0xeb363a=_0x543a8c;var _0x3da770;_0x292e78(Number(_0x54c2f2));let _0x58e717={'ln':{'startArrow':{'type':(_0x3da770=_0x1d1c60['ln'])==null||(_0x3da770=_0x3da770[_0xeb363a(0x14b)])==null?void 0x0:_0x3da770[_0xeb363a(0x1fd)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x58e717},{'ln':{'startArrow':{'type':Number(_0x54c2f2)}}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r['jsx'])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t']('shape-editor-ui.line.beginArrowSize')}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r['jsx'])(e[_0x543a8c(0x14d)],{'className':_0x543a8c(0x35b),'value':String(_0x541ec7),'options':_0x2f99c6,'onChange':_0x30083e=>{const _0xbb9cb3=_0x543a8c;var _0x3cbd99;_0x350844(Number(_0x30083e));let _0x35dc79={'ln':{'startArrow':{'size':(_0x3cbd99=_0x1d1c60['ln'])==null||(_0x3cbd99=_0x3cbd99[_0xbb9cb3(0x14b)])==null?void 0x0:_0x3cbd99[_0xbb9cb3(0xf7)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x35dc79},{'ln':{'startArrow':{'size':Number(_0x30083e)}}});}})})]}),(0x0,r[_0x543a8c(0x38f)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x1bb),'children':[(0x0,r[_0x543a8c(0x29d)])('span',{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x369))}),(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r[_0x543a8c(0x29d)])(e['Select'],{'className':_0x543a8c(0x35b),'value':String(_0x2c355b),'options':_0x10d8a6,'onChange':_0x492822=>{const _0x34d65e=_0x543a8c;var _0x24437d;_0x2f6957(Number(_0x492822));let _0x25aa91={'ln':{'endArrow':{'type':(_0x24437d=_0x1d1c60['ln'])==null||(_0x24437d=_0x24437d[_0x34d65e(0x3c4)])==null?void 0x0:_0x24437d[_0x34d65e(0x1fd)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x25aa91},{'ln':{'endArrow':{'type':Number(_0x492822)}}});}})})]}),(0x0,r[_0x543a8c(0x38f)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,r[_0x543a8c(0x29d)])(_0x543a8c(0x360),{'className':_0x543a8c(0x22c),'children':_0x3091b3['t'](_0x543a8c(0x137))}),(0x0,r['jsx'])(_0x543a8c(0x1c0),{'className':_0x543a8c(0x2b0),'children':(0x0,r['jsx'])(e['Select'],{'className':_0x543a8c(0x35b),'value':String(_0x42ed8b),'options':_0x2f99c6,'onChange':_0x48c714=>{const _0x26b884=_0x543a8c;var _0x2babd7;_0x5ab230(Number(_0x48c714));let _0x99b758={'ln':{'endArrow':{'size':(_0x2babd7=_0x1d1c60['ln'])==null||(_0x2babd7=_0x2babd7['endArrow'])==null?void 0x0:_0x2babd7[_0x26b884(0xf7)]}}};_0x13bbfa==null||_0x13bbfa({'oldShapeData':_0x99b758},{'ln':{'endArrow':{'size':Number(_0x48c714)}}});}})})]})]})]})]});}function S(_0x4ad6c8){const _0x356ca4=_0x55b3f9;let {shapeData:_0x3bd543,shapeId:_0x5713c0,shapeType:_0x110819,version:_0xde3455,disableShapeOption:_0x4b770d,positionEditor:_0x2b1d42,onUpdateShapeData:_0x12f20c,onUpdateLineShapeData:_0x182abd,onUpdateShapeFillImage:_0x41808b}=_0x4ad6c8,_0x37e762=(0x0,o[_0x356ca4(0x176)])(a[_0x356ca4(0x164)]),_0x58f181=(0x0,i['isConnectorShape'])(_0x110819),[_0x3f0f5c,_0x125243]=(0x0,n[_0x356ca4(0x1ea)])(0x0),_0x2484e8=[{'label':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'children':_0x37e762['t'](_0x356ca4(0x36a))}),'children':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x3d1),{'className':_0x356ca4(0x267),'children':(0x0,r['jsx'])(_,{'shapeId':_0x5713c0,'shapeData':_0x3bd543,'isLineShape':_0x58f181,'disableShapeOption':_0x4b770d,'onUpdateShapeData':_0x12f20c,'onUpdateShapeFillImage':_0x41808b},_0x5713c0+'-'+_0xde3455+'-fill')})},{'label':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'children':_0x37e762['t'](_0x356ca4(0x163))}),'children':(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x3d1),{'className':_0x356ca4(0x267),'children':(0x0,r[_0x356ca4(0x29d)])(x,{'shapeId':_0x5713c0,'shapeData':_0x3bd543,'isLineShape':_0x58f181,'disableShapeOption':_0x4b770d,'onUpdateShapeData':_0x12f20c,'onUpdateLineShapeData':_0x182abd},_0x5713c0+'-'+_0xde3455+_0x356ca4(0x10c))})}];return(0x0,r[_0x356ca4(0x38f)])('div',{'className':_0x356ca4(0x257),'children':[(0x0,r[_0x356ca4(0x38f)])(_0x356ca4(0x1c0),{'className':_0x356ca4(0x1a3),'children':[(0x0,r[_0x356ca4(0x38f)])('div',{'className':(0x0,e[_0x356ca4(0x27b)])(_0x356ca4(0x171),_0x3f0f5c===0x0?_0x356ca4(0x13c):'univer-text-gray-500'),'onClick':()=>_0x125243(0x0),'children':[_0x37e762['t']('shape-editor-ui.shapeStyle'),(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'className':(0x0,e[_0x356ca4(0x27b)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x3f0f5c===0x0,'univer-bg-transparent':_0x3f0f5c!==0x0})})]}),(0x0,r[_0x356ca4(0x38f)])(_0x356ca4(0x1c0),{'className':(0x0,e[_0x356ca4(0x27b)])(_0x356ca4(0x171),{'univer-text-primary-600':_0x3f0f5c===0x1,'univer-text-gray-500':_0x3f0f5c!==0x1}),'onClick':()=>_0x125243(0x1),'children':[_0x37e762['t'](_0x356ca4(0x18e)),(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'className':(0x0,e['clsx'])(_0x356ca4(0x2c8),{'univer-bg-primary-600':_0x3f0f5c===0x1,'univer-bg-transparent':_0x3f0f5c!==0x1})})]})]}),(0x0,r[_0x356ca4(0x29d)])(_0x356ca4(0x1c0),{'className':_0x356ca4(0x1cd),'children':_0x3f0f5c===0x0?(0x0,r['jsx'])(_0x356ca4(0x1c0),{'className':'','children':(0x0,r[_0x356ca4(0x29d)])(e[_0x356ca4(0x34b)],{'items':_0x2484e8})},_0xde3455):_0x2b1d42})]});}function C(_0x2d198c){const _0x590be5=_0x55b3f9;return _0x2d198c[_0x590be5(0x272)](/\r\n/g,'\x0a')['replace'](/\r/g,'\x0a');}function w(_0x4d608c){const _0x48d1f8=_0x55b3f9;if(_0x4d608c&&_0x48d1f8(0x18d)in _0x4d608c&&typeof _0x4d608c[_0x48d1f8(0x18d)]==_0x48d1f8(0x2f9))return _0x4d608c[_0x48d1f8(0x18d)];}function T(_0x50b7c7){const _0x85a29c=_0x55b3f9;if(!(!_0x50b7c7||!(_0x85a29c(0x131)in _0x50b7c7)||_0x50b7c7['isRichText']!==!0x1))return{..._0x50b7c7[_0x85a29c(0x144)]?{'ff':_0x50b7c7[_0x85a29c(0x144)]}:{},..._0x50b7c7[_0x85a29c(0x3be)]===void 0x0?{}:{'fs':_0x50b7c7[_0x85a29c(0x3be)]},..._0x50b7c7[_0x85a29c(0x3c8)]?{'cl':{'rgb':_0x50b7c7['color']}}:{},..._0x50b7c7['bold']===void 0x0?{}:{'bl':_0x50b7c7[_0x85a29c(0x229)]?a[_0x85a29c(0x317)]['TRUE']:a['BooleanNumber'][_0x85a29c(0x177)]},..._0x50b7c7[_0x85a29c(0x27a)]===void 0x0?{}:{'it':_0x50b7c7[_0x85a29c(0x27a)]?a[_0x85a29c(0x317)]['TRUE']:a[_0x85a29c(0x317)][_0x85a29c(0x177)]},..._0x50b7c7[_0x85a29c(0x313)]===void 0x0?{}:{'ul':{'s':_0x50b7c7[_0x85a29c(0x313)]?a['BooleanNumber'][_0x85a29c(0x1a0)]:a['BooleanNumber'][_0x85a29c(0x177)]}}};}function E(_0x131e67,_0x83092c=a[_0x55b3f9(0xff)][_0x55b3f9(0x152)],_0x440c73=''){const _0x340d8d=_0x55b3f9;let _0x3a3971=C(_0x440c73)['split']('\x0a'),_0xf67a4=_0x3a3971[_0x340d8d(0x25c)]('\x0d')+'\x0d\x0a',_0x145fcb=Math['max'](0x0,_0xf67a4[_0x340d8d(0x2e1)]-0x2),_0x10a2c4=new Set(),_0x452820=0x0,_0x3639ff=_0x3a3971[_0x340d8d(0x34d)](_0x256c53=>{const _0x4ba9b3=_0x340d8d;let _0x1ef833={'startIndex':_0x452820+_0x256c53[_0x4ba9b3(0x2e1)],'paragraphId':(0x0,a[_0x4ba9b3(0x355)])(_0x10a2c4),'paragraphStyle':{'horizontalAlign':_0x83092c}};return _0x452820+=_0x256c53[_0x4ba9b3(0x2e1)]+0x1,_0x1ef833;});return{'id':_0x340d8d(0x382),'body':{'dataStream':_0xf67a4,'textRuns':_0x131e67?[{'st':0x0,'ed':Math[_0x340d8d(0x23d)](0x1,_0x145fcb),'ts':{..._0x131e67}}]:[],'paragraphs':_0x3639ff},'documentStyle':{'textStyle':_0x131e67?{..._0x131e67}:void 0x0}};}function D(_0x19e45a,_0x32e5bf){const _0x11817f=_0x55b3f9;var _0x3d78f8,_0x32c804,_0x434392;let _0x57b96f=_0x19e45a['shapeText'],_0xd9beb7=_0x57b96f&&_0x11817f(0x1c2)in _0x57b96f?_0x57b96f['dataModel']:void 0x0,_0x2ee289=(_0x3d78f8=(_0x32c804=_0x32e5bf[_0x11817f(0x2bf)])==null?_0xd9beb7==null?void 0x0:_0xd9beb7['ha']:_0x32c804)==null?a[_0x11817f(0xff)][_0x11817f(0x152)]:_0x3d78f8,_0x4bae93={...T(_0x57b96f),..._0x32e5bf[_0x11817f(0x1b2)]},_0x29450d=Object['keys'](_0x4bae93)[_0x11817f(0x2e1)]>0x0;if(_0xd9beb7!=null&&_0xd9beb7[_0x11817f(0x15c)]){var _0x2b90ed,_0x2e2fed;return{'va':(_0x2b90ed=_0xd9beb7['va'])==null?a[_0x11817f(0x111)][_0x11817f(0x2ca)]:_0x2b90ed,'ha':(_0x2e2fed=_0xd9beb7['ha'])==null?a[_0x11817f(0xff)][_0x11817f(0x152)]:_0x2e2fed,'doc':a[_0x11817f(0x31a)][_0x11817f(0x2f2)](_0xd9beb7['doc'])};}return{'va':a[_0x11817f(0x111)]['TOP'],'ha':_0x2ee289,'doc':E(_0x29450d?_0x4bae93:void 0x0,_0x2ee289,(_0x434392=w(_0x57b96f))==null?'':_0x434392)};}function O(_0xfe0a6e,_0x48c63d){const _0x4b7d81=_0x55b3f9;var _0x2119ff,_0x102c62,_0x3346a2,_0xdc07b1,_0x3ad34b;let _0x4ee98e=_0xfe0a6e[_0x4b7d81(0x136)],_0x5187dd=_0x4ee98e&&_0x4b7d81(0x1c2)in _0x4ee98e&&_0x4ee98e[_0x4b7d81(0x1c2)]&&typeof _0x4ee98e[_0x4b7d81(0x1c2)]==_0x4b7d81(0x233)?_0x4ee98e[_0x4b7d81(0x1c2)]:{},_0x3d8f0b=w(_0x4ee98e),_0x2da01c=D(_0xfe0a6e,_0x48c63d),_0x3bff63=(_0x2119ff=_0x48c63d[_0x4b7d81(0x2bf)])==null?_0x2da01c['ha']:_0x2119ff,_0x10db9c=(_0x102c62=_0x48c63d[_0x4b7d81(0x1ce)])==null?_0x2da01c['va']:_0x102c62,_0x1b545e=_0x2da01c[_0x4b7d81(0x15c)];if(_0x1b545e[_0x4b7d81(0x3b7)]={..._0x1b545e['documentStyle'],'renderConfig':{...(_0x3346a2=_0x1b545e[_0x4b7d81(0x3b7)])==null?void 0x0:_0x3346a2[_0x4b7d81(0x2fb)],'horizontalAlign':_0x3bff63,'verticalAlign':_0x10db9c}},_0x48c63d[_0x4b7d81(0x1b2)]){var _0x408c2c,_0x329d4e;_0x1b545e[_0x4b7d81(0x3b7)]={..._0x1b545e[_0x4b7d81(0x3b7)],'textStyle':{...(_0x408c2c=_0x1b545e['documentStyle'])==null?void 0x0:_0x408c2c[_0x4b7d81(0x1b2)],..._0x48c63d[_0x4b7d81(0x1b2)]}};let _0x3e5553=(_0x329d4e=_0x1b545e[_0x4b7d81(0x315)])==null?void 0x0:_0x329d4e[_0x4b7d81(0x2ac)];if(_0x3e5553){for(let _0x54fedd of _0x3e5553)_0x54fedd['ts']={..._0x54fedd['ts'],..._0x48c63d[_0x4b7d81(0x1b2)]};}}let _0x4c8be3=(_0xdc07b1=_0x1b545e[_0x4b7d81(0x315)])==null?void 0x0:_0xdc07b1[_0x4b7d81(0x1dc)];if(_0x4c8be3){for(let _0x50acde of _0x4c8be3)_0x50acde[_0x4b7d81(0x1b4)]={..._0x50acde['paragraphStyle'],'horizontalAlign':_0x3bff63};}return{'shapeText':{..._0x4ee98e==null?{}:_0x4ee98e,'isHorizontal':(_0x3ad34b=_0x4ee98e==null?void 0x0:_0x4ee98e[_0x4b7d81(0x1ee)])==null?!0x0:_0x3ad34b,..._0x3d8f0b===void 0x0?{}:{'text':_0x3d8f0b},'dataModel':{..._0x5187dd,'va':_0x10db9c,'ha':_0x3bff63,'doc':_0x1b545e}}};}function _0x3eb8(_0x57e53a,_0xf525ee){_0x57e53a=_0x57e53a-0xf1;const _0x16b94c=_0x16b9();let _0x3eb8d3=_0x16b94c[_0x57e53a];return _0x3eb8d3;}const k='univer.shape-editor-ui.floating-toolbar.collapsed',A={'none':i[_0x55b3f9(0x1d7)][_0x55b3f9(0x258)],'solid':i['ShapeFillEnum'][_0x55b3f9(0x2f1)],'gradient':i['ShapeFillEnum'][_0x55b3f9(0x1d9)],'picture':i['ShapeFillEnum'][_0x55b3f9(0x371)]};function j(_0x28cc07){const _0xae9368=_0x55b3f9;return _0x28cc07 instanceof HTMLElement?!!_0x28cc07[_0xae9368(0x36d)](_0xae9368(0x1c1)):!0x1;}function M(_0x52424e){const _0xfc654=_0x55b3f9;j(_0x52424e[_0xfc654(0x1df)])||_0x52424e[_0xfc654(0x3b3)]();}function N(_0x1063f9){const _0x1f195f=_0x55b3f9;_0x1063f9[_0x1f195f(0x33a)](),M(_0x1063f9);}function P(_0xc2210c){const _0x19af36=_0x55b3f9;let _0x32f44f=(0x0,n[_0x19af36(0x333)])(!0x1),_0x5693=(0x0,n[_0x19af36(0x333)])(null);return{'handleOpenChange':_0x17fc28=>{!_0x17fc28&&_0x32f44f['current']||_0xc2210c(_0x17fc28);},'markInternalInteraction':()=>{const _0x1918eb=_0x19af36;_0x32f44f[_0x1918eb(0x2d1)]=!0x0,_0x5693[_0x1918eb(0x2d1)]&&clearTimeout(_0x5693[_0x1918eb(0x2d1)]),_0x5693['current']=setTimeout(()=>{const _0x45908f=_0x1918eb;_0x32f44f[_0x45908f(0x2d1)]=!0x1,_0x5693[_0x45908f(0x2d1)]=null;},0x1f4);}};}function F(){const _0x1af36b=_0x55b3f9;return(0x0,r[_0x1af36b(0x38f)])(_0x1af36b(0x330),{'viewBox':_0x1af36b(0x24c),'width':_0x1af36b(0x1c6),'height':'1em','fill':'none','aria-hidden':_0x1af36b(0x1f1),'children':[(0x0,r[_0x1af36b(0x29d)])(_0x1af36b(0x133),{'d':'M2.5\x204.5H8.2','stroke':_0x1af36b(0x251),'strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])('path',{'d':'M11.8\x204.5H17.5','stroke':_0x1af36b(0x251),'strokeWidth':'1.4','strokeLinecap':'round'}),(0x0,r['jsx'])(_0x1af36b(0x133),{'d':_0x1af36b(0x327),'stroke':_0x1af36b(0x251),'strokeWidth':'1.4','strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])(_0x1af36b(0x133),{'d':'M14.3\x2010H17.5','stroke':_0x1af36b(0x251),'strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])('path',{'d':_0x1af36b(0x398),'stroke':'currentColor','strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r[_0x1af36b(0x29d)])('path',{'d':'M11.8\x2015.5H17.5','stroke':_0x1af36b(0x251),'strokeWidth':_0x1af36b(0x100),'strokeLinecap':_0x1af36b(0xfc)}),(0x0,r['jsx'])(_0x1af36b(0x244),{'x':_0x1af36b(0x1a8),'y':'7','width':'6.4','height':'6','rx':'1','stroke':'currentColor','strokeWidth':_0x1af36b(0x100)})]});}function I(){const _0x4c9c9e=_0x55b3f9;return(0x0,r[_0x4c9c9e(0x29d)])(_0x4c9c9e(0x360),{'className':_0x4c9c9e(0x123)});}function L(_0x2da465){const _0x3347b9=_0x55b3f9;return(0x0,r['jsx'])(_0x3347b9(0x1c0),{'className':_0x3347b9(0x128),'children':_0x2da465[_0x3347b9(0x35c)]});}function R(_0x59a03c){const _0xdb4d28=_0x55b3f9;return(0x0,r[_0xdb4d28(0x29d)])(e[_0xdb4d28(0x345)],{'title':_0x59a03c[_0xdb4d28(0x1ae)],'placement':_0xdb4d28(0x254),'children':(0x0,r[_0xdb4d28(0x29d)])(_0xdb4d28(0x188),{'type':_0xdb4d28(0x188),'disabled':_0x59a03c[_0xdb4d28(0x265)],'onClick':_0x59a03c[_0xdb4d28(0x15f)],'className':(0x0,e['clsx'])(_0xdb4d28(0x306),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x59a03c['active']}),'children':_0x59a03c['children']})});}function z(_0x4cb9f7){const _0x5c839d=_0x55b3f9;let {title:_0x321ce1,open:_0x8950f1,disabled:_0x2bfb36,icon:_0x5969fa,overlay:_0x53eb5b,onApply:_0x328951,onOpenChange:_0x1ec755}=_0x4cb9f7,_0x1084a4=_0x5c839d(0x2bd);return(0x0,r[_0x5c839d(0x38f)])(_0x5c839d(0x1c0),{'className':_0x5c839d(0x206),'children':[(0x0,r['jsx'])(e[_0x5c839d(0x345)],{'title':_0x321ce1,'placement':'bottom','children':(0x0,r[_0x5c839d(0x29d)])(_0x5c839d(0x188),{'type':_0x5c839d(0x188),'disabled':_0x2bfb36,'onClick':_0x328951,'className':(0x0,e['clsx'])(_0x1084a4,_0x5c839d(0x1cb),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x8950f1}),'children':_0x5969fa})}),(0x0,r['jsx'])(e['Dropdown'],{'disabled':_0x2bfb36,'open':_0x8950f1,'onOpenChange':_0x1ec755,'overlay':_0x53eb5b,'children':(0x0,r[_0x5c839d(0x29d)])(_0x5c839d(0x360),{'children':(0x0,r[_0x5c839d(0x29d)])(e[_0x5c839d(0x345)],{'title':_0x321ce1,'placement':_0x5c839d(0x254),'children':(0x0,r[_0x5c839d(0x29d)])(_0x5c839d(0x188),{'type':'button','disabled':_0x2bfb36,'className':(0x0,e['clsx'])(_0x1084a4,_0x5c839d(0x167),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x8950f1}),'children':(0x0,r[_0x5c839d(0x29d)])(t[_0x5c839d(0x2c1)],{'className':(0x0,e['clsx'])(_0x5c839d(0x23e),{'univer-rotate-180':_0x8950f1})})})})})})]});}function B(_0x19cf8c){const _0x5f471f=_0x55b3f9;switch(_0x19cf8c){case i['ShapeLineDashEnum'][_0x5f471f(0x23f)]:case i[_0x5f471f(0x1b9)]['SquareDot']:return _0x5f471f(0x30c);case i['ShapeLineDashEnum'][_0x5f471f(0x27e)]:return _0x5f471f(0x1a2);case i[_0x5f471f(0x1b9)]['DashDot']:return _0x5f471f(0x1a1);case i[_0x5f471f(0x1b9)][_0x5f471f(0x2a5)]:return _0x5f471f(0x372);case i[_0x5f471f(0x1b9)]['LongDashDot']:return _0x5f471f(0x1ab);case i[_0x5f471f(0x1b9)][_0x5f471f(0x101)]:return'8\x202\x201\x202\x201\x202';case i[_0x5f471f(0x1b9)][_0x5f471f(0x3c9)]:default:return;}}function V(_0x2eb8b3){const _0xe8ea1d=_0x55b3f9;let {lineStrokeType:_0x48d42d,dashType:_0x7e18c7,color:_0x692ab5=_0xe8ea1d(0x251),width:_0x33ef18=0x2,className:_0x586c7d}=_0x2eb8b3;return _0x48d42d===i[_0xe8ea1d(0x118)][_0xe8ea1d(0x165)]?(0x0,r[_0xe8ea1d(0x38f)])(_0xe8ea1d(0x360),{'className':(0x0,e['clsx'])(_0xe8ea1d(0x105),_0x586c7d),'children':[(0x0,r[_0xe8ea1d(0x29d)])('span',{'className':_0xe8ea1d(0x380)}),(0x0,r['jsx'])(_0xe8ea1d(0x360),{'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'])(_0xe8ea1d(0x330),{'className':(0x0,e[_0xe8ea1d(0x27b)])(_0xe8ea1d(0x182),_0x586c7d),'viewBox':_0xe8ea1d(0x1f2),'aria-hidden':_0xe8ea1d(0x1f1),'children':(0x0,r[_0xe8ea1d(0x29d)])(_0xe8ea1d(0x1e3),{'x1':'4','y1':'10','x2':'44','y2':'10','stroke':_0x692ab5,'strokeWidth':Math[_0xe8ea1d(0x23d)](0x1,Math[_0xe8ea1d(0x301)](0x4,_0x33ef18)),'strokeDasharray':B(_0x7e18c7),'strokeLinecap':_0x7e18c7===i['ShapeLineDashEnum'][_0xe8ea1d(0x23f)]?'round':_0xe8ea1d(0x392)})});}function H(_0x4480f5){const _0x385efa=_0x55b3f9;return(0x0,r[_0x385efa(0x29d)])('span',{'className':_0x385efa(0x150),'children':(0x0,r['jsx'])(V,{'dashType':_0x4480f5[_0x385efa(0x35e)],'color':_0x4480f5[_0x385efa(0x3c8)],'width':_0x4480f5[_0x385efa(0x10f)]})});}function U(_0x1597c1){const _0x5a4157=_0x55b3f9;let {label:_0x4d8699,value:_0x1ae067,min:_0xb1b719,max:_0x4205d3,step:_0x2cb946,disabled:_0x4530ea,suffix:_0x5c1d3a='',onChange:_0x6e3f6e}=_0x1597c1;return(0x0,r[_0x5a4157(0x38f)])(_0x5a4157(0x1c0),{'className':_0x5a4157(0x3b8),'children':[(0x0,r[_0x5a4157(0x38f)])('div',{'className':_0x5a4157(0x29e),'children':[(0x0,r['jsx'])(_0x5a4157(0x360),{'className':_0x5a4157(0x34e),'children':_0x4d8699}),(0x0,r[_0x5a4157(0x38f)])('span',{'className':_0x5a4157(0x2c3),'children':[_0x1ae067,_0x5c1d3a]})]}),(0x0,r[_0x5a4157(0x29d)])('input',{'type':_0x5a4157(0xfe),'min':_0xb1b719,'max':_0x4205d3,'step':_0x2cb946,'value':_0x1ae067,'disabled':_0x4530ea,'onChange':_0x471a4f=>_0x6e3f6e(Number(_0x471a4f[_0x5a4157(0x1df)]['value'])),'className':_0x5a4157(0x296)})]});}function W(_0x503e83){const _0x2662ac=_0x55b3f9;var _0x1d54ac,_0x3ea076,_0x99e329,_0x1e443d,_0x27df62;let {title:_0x462de2,shapeData:_0x58a0fd,disabled:_0x2add35,resetLabel:_0x2ebd05,onReset:_0x1770de,onUpdateShapeData:_0x5102bb}=_0x503e83,_0x30392e=(0x0,o[_0x2662ac(0x176)])(a[_0x2662ac(0x164)]),[_0xb323ee,_0xca5247]=(0x0,n[_0x2662ac(0x1ea)])(!0x1),[_0x1f7a55,_0x4959e7]=(0x0,n[_0x2662ac(0x1ea)])(!0x1),{handleOpenChange:_0x107883,markInternalInteraction:_0x48c7fe}=P(_0xca5247),_0x29bb8e=_0x58a0fd['stroke'],_0xa1493a=(_0x1d54ac=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x3c8)])==null?_0x2662ac(0x318):_0x1d54ac,_0x3cad4d=Math['max'](0x1,Math[_0x2662ac(0x301)](0xa,Math[_0x2662ac(0xfc)]((_0x3ea076=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x10f)])==null?0x1:_0x3ea076))),_0x4bdb29=Math['round']((0x1-((_0x99e329=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x219)])==null?0x1:_0x99e329))*0x64),_0x15e668=(_0x1e443d=_0x29bb8e==null?void 0x0:_0x29bb8e[_0x2662ac(0x35e)])==null?i['ShapeLineDashEnum'][_0x2662ac(0x3c9)]:_0x1e443d,_0x2d4aea=(_0x27df62=_0x29bb8e==null?void 0x0:_0x29bb8e['lineStrokeType'])==null?i[_0x2662ac(0x118)][_0x2662ac(0x26a)]:_0x27df62,_0x436b18=_0x2d4aea!==i[_0x2662ac(0x118)]['NoLine']&&_0x15e668!==i['ShapeLineDashEnum']['Solid']&&_0x15e668!==i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)],_0x466af5=_0x2d4aea===i[_0x2662ac(0x118)][_0x2662ac(0x165)]?_0x2662ac(0x39c):_0x15e668===i['ShapeLineDashEnum'][_0x2662ac(0x3c9)]?_0x2662ac(0x17f):_0x15e668===i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)]?_0x2662ac(0x3bb):_0x2662ac(0x15e),_0x25b242=[{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x3c9)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)][_0x2662ac(0x3c9)])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x23f)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)]['RoundDot'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x1e0)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)]['SquareDot'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i['ShapeLineDashEnum']['Dash'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x2d6)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)]['DashDot'])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x2a5)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)][_0x2662ac(0x2a5)])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i['ShapeLineDashEnum'][_0x2662ac(0x140)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i[_0x2662ac(0x1b9)][_0x2662ac(0x140)])},{'label':(0x0,r[_0x2662ac(0x29d)])(H,{'dashType':i[_0x2662ac(0x1b9)][_0x2662ac(0x101)],'color':_0xa1493a,'width':_0x3cad4d}),'value':String(i['ShapeLineDashEnum'][_0x2662ac(0x101)])}];(0x0,n[_0x2662ac(0x352)])(()=>{const _0x3c43c9=_0x2662ac;(!_0xb323ee||_0x2d4aea===i[_0x3c43c9(0x118)]['NoLine'])&&_0x4959e7(!0x1);},[_0x2d4aea,_0xb323ee]);let _0x381f84=_0x2b9860=>{const _0x385ac7=_0x2662ac;_0x5102bb({'oldShapeData':{'stroke':_0x58a0fd[_0x385ac7(0x36e)]}},{'stroke':_0x2b9860});},_0x248872=_0x467c72=>{var _0x1a5f28;_0x381f84({..._0x29bb8e,'lineStrokeType':_0x2d4aea,'color':_0xa1493a,'width':_0x3cad4d,'opacity':(_0x1a5f28=_0x29bb8e==null?void 0x0:_0x29bb8e['opacity'])==null?0x1:_0x1a5f28,'dashType':_0x15e668,..._0x467c72});},_0x3edadf=_0x51cfe6=>{const _0x51db8e=_0x2662ac;if(_0x51cfe6===_0x51db8e(0x39c)){_0x248872({'lineStrokeType':i[_0x51db8e(0x118)][_0x51db8e(0x165)]});return;}_0x248872({'lineStrokeType':i[_0x51db8e(0x118)]['SolidLine'],'dashType':_0x51cfe6===_0x51db8e(0x17f)?i[_0x51db8e(0x1b9)][_0x51db8e(0x3c9)]:i[_0x51db8e(0x1b9)]['Dash']});};return(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x14e)],{'disabled':_0x2add35,'open':_0xb323ee,'onOpenChange':_0x107883,'overlay':(0x0,r[_0x2662ac(0x29d)])('div',{'onPointerDownCapture':_0x4fd679=>{_0x48c7fe(),M(_0x4fd679);},'onMouseDownCapture':_0x5d5a1a=>{_0x48c7fe(),M(_0x5d5a1a);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x46231c=>{const _0x1485b1=_0x2662ac;_0x46231c[_0x1485b1(0x33a)](),(!(_0x46231c['target']instanceof HTMLElement)||!_0x46231c[_0x1485b1(0x1df)]['closest'](_0x1485b1(0x358)))&&_0x4959e7(!0x1);},'className':'univer-w-[280px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','children':(0x0,r[_0x2662ac(0x38f)])(_0x2662ac(0x1c0),{'className':_0x2662ac(0x269),'children':[(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x360),{'className':_0x2662ac(0x203),'children':_0x30392e['t'](_0x2662ac(0x163))}),(0x0,r['jsxs'])(_0x2662ac(0x1c0),{'className':_0x2662ac(0x304),'children':[[_0x2662ac(0x39c),_0x2662ac(0x17f),_0x2662ac(0x3bb)][_0x2662ac(0x34d)](_0x553434=>(0x0,r['jsx'])(e[_0x2662ac(0x345)],{'title':_0x553434===_0x2662ac(0x39c)?_0x30392e['t'](_0x2662ac(0x2bc)):_0x553434===_0x2662ac(0x17f)?_0x30392e['t'](_0x2662ac(0x311)):_0x30392e['t'](_0x2662ac(0x396)),'placement':'top','children':(0x0,r['jsx'])(_0x2662ac(0x188),{'type':_0x2662ac(0x188),'disabled':_0x2add35,'aria-label':_0x553434,'onClick':()=>_0x3edadf(_0x553434),'className':(0x0,e['clsx'])(_0x2662ac(0x1b8),{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x466af5===_0x553434}),'children':(0x0,r[_0x2662ac(0x29d)])(V,{'lineStrokeType':_0x553434==='none'?i[_0x2662ac(0x118)][_0x2662ac(0x165)]:i[_0x2662ac(0x118)][_0x2662ac(0x26a)],'dashType':_0x553434==='dash'?i[_0x2662ac(0x1b9)][_0x2662ac(0x27e)]:i[_0x2662ac(0x1b9)][_0x2662ac(0x3c9)],'color':_0x553434===_0x2662ac(0x39c)?void 0x0:_0xa1493a,'width':_0x553434==='none'?0x2:_0x3cad4d})})},_0x553434)),(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x14e)],{'disabled':_0x2add35||_0x2d4aea===i[_0x2662ac(0x118)][_0x2662ac(0x165)],'open':_0x1f7a55,'onOpenChange':_0x4959e7,'overlay':(0x0,r[_0x2662ac(0x29d)])('div',{'data-u-comp':_0x2662ac(0x166),'onPointerDownCapture':_0x476be5=>{_0x48c7fe(),M(_0x476be5);},'onMouseDownCapture':_0x5a3467=>{_0x48c7fe(),M(_0x5a3467);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x51cfeb=>_0x51cfeb[_0x2662ac(0x33a)](),'className':_0x2662ac(0x3ba),'children':_0x25b242[_0x2662ac(0x34d)](_0x375fee=>(0x0,r[_0x2662ac(0x29d)])('button',{'type':_0x2662ac(0x188),'onClick':()=>{const _0x269b83=_0x2662ac;let _0x1769ac=Number(_0x375fee[_0x269b83(0x250)]);_0x248872({'lineStrokeType':i[_0x269b83(0x118)][_0x269b83(0x26a)],'dashType':_0x1769ac}),_0x4959e7(!0x1);},'className':(0x0,e['clsx'])(_0x2662ac(0x19b),{'univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x375fee[_0x2662ac(0x250)]===String(_0x15e668)}),'children':_0x375fee[_0x2662ac(0x1db)]},_0x375fee[_0x2662ac(0x250)]))}),'children':(0x0,r[_0x2662ac(0x29d)])('span',{'className':_0x2662ac(0x242),'data-u-comp':_0x2662ac(0x166),'children':(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x345)],{'title':_0x30392e['t'](_0x2662ac(0x396)),'placement':'top','children':(0x0,r['jsxs'])(_0x2662ac(0x188),{'type':'button','role':'combobox','aria-expanded':_0x1f7a55,'disabled':_0x2add35||_0x2d4aea===i[_0x2662ac(0x118)][_0x2662ac(0x165)],'onClick':_0x2c741d=>{const _0x4d7462=_0x2662ac;_0x2c741d[_0x4d7462(0x33a)](),_0x4959e7(_0x44c2ee=>!_0x44c2ee);},'className':(0x0,e[_0x2662ac(0x27b)])('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',{'univer-border-primary-600\x20univer-bg-primary-50\x20dark:!univer-bg-gray-800':_0x436b18}),'children':[(0x0,r[_0x2662ac(0x29d)])(V,{'dashType':i[_0x2662ac(0x1b9)]['LongDashDot'],'color':_0xa1493a,'width':_0x3cad4d,'className':_0x2662ac(0x27c)}),(0x0,r[_0x2662ac(0x29d)])(t[_0x2662ac(0x2c1)],{'className':(0x0,e['clsx'])(_0x2662ac(0x23e),{'univer-rotate-180':_0x1f7a55})})]})})})})]}),(0x0,r[_0x2662ac(0x29d)])(U,{'label':_0x30392e['t']('shape-editor-ui.line.width'),'value':_0x3cad4d,'min':0x1,'max':0xa,'step':0x1,'disabled':_0x2add35||_0x2d4aea===i[_0x2662ac(0x118)]['NoLine'],'onChange':_0x3e71db=>{const _0xe32592=_0x2662ac;_0x248872({'lineStrokeType':i['ShapeLineTypeEnum'][_0xe32592(0x26a)],'width':_0x3e71db});}}),(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x1c0),{'className':'univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700'}),_0x1770de&&(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x188),{'type':_0x2662ac(0x188),'disabled':_0x2add35,'onClick':()=>{_0x1770de(),_0xca5247(!0x1);},'className':_0x2662ac(0x15b),'children':_0x2ebd05==null?_0x2662ac(0x3c2):_0x2ebd05}),(0x0,r[_0x2662ac(0x29d)])(e[_0x2662ac(0x11b)],{'value':_0xa1493a,'onChange':_0x1af062=>{const _0x5bfb4a=_0x2662ac;_0x248872({'lineStrokeType':i[_0x5bfb4a(0x118)][_0x5bfb4a(0x26a)],'color':_0x1af062});}}),(0x0,r['jsx'])(U,{'label':_0x30392e['t'](_0x2662ac(0x183)),'value':_0x4bdb29,'min':0x0,'max':0x64,'step':0x5,'suffix':'%','disabled':_0x2add35||_0x2d4aea===i['ShapeLineTypeEnum'][_0x2662ac(0x165)],'onChange':_0x16dcfa=>{_0x248872({'opacity':(0x64-Math['max'](0x0,Math['min'](0x64,_0x16dcfa)))/0x64});}})]})}),'children':(0x0,r[_0x2662ac(0x29d)])(_0x2662ac(0x360),{'children':(0x0,r[_0x2662ac(0x29d)])(e['Tooltip'],{'title':_0x462de2,'placement':_0x2662ac(0x254),'children':(0x0,r[_0x2662ac(0x38f)])(_0x2662ac(0x188),{'type':'button','disabled':_0x2add35,'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':_0xb323ee}),'children':[(0x0,r[_0x2662ac(0x29d)])(t[_0x2662ac(0x307)],{'className':_0x2662ac(0x3d0),'extend':{'colorChannel1':_0xa1493a}}),(0x0,r[_0x2662ac(0x29d)])(t[_0x2662ac(0x2c1)],{'className':(0x0,e['clsx'])(_0x2662ac(0x23e),{'univer-rotate-180':_0xb323ee})})]})})})});}function G(_0x1527a1){const _0x298baf=_0x55b3f9;var _0x524aee,_0x571abb;return(_0x524aee=(_0x571abb=_0x1527a1[_0x298baf(0x2ab)])==null?void 0x0:_0x571abb[_0x298baf(0x359)])==null?i[_0x298baf(0x1d7)][_0x298baf(0x258)]:_0x524aee;}function K(_0x57918d){const _0x3b7b6f=_0x55b3f9;switch(_0x57918d){case i[_0x3b7b6f(0x2b6)]['Radial']:return _0x3b7b6f(0x162);case i[_0x3b7b6f(0x2b6)][_0x3b7b6f(0x283)]:return _0x3b7b6f(0x2c7);case i[_0x3b7b6f(0x2b6)][_0x3b7b6f(0x390)]:return _0x3b7b6f(0x3ca);case i['ShapeGradientTypeEnum'][_0x3b7b6f(0xf2)]:default:return _0x3b7b6f(0x3b4);}}function q(_0x2942b3){const _0x3e08fe=_0x55b3f9;switch(_0x2942b3){case _0x3e08fe(0x162):return i['ShapeGradientTypeEnum'][_0x3e08fe(0x11f)];case _0x3e08fe(0x2c7):return i['ShapeGradientTypeEnum'][_0x3e08fe(0x283)];case'diamond':return i[_0x3e08fe(0x2b6)][_0x3e08fe(0x390)];default:return i[_0x3e08fe(0x2b6)][_0x3e08fe(0xf2)];}}function J(_0x7fc9e3,_0x2496b5){const _0x451770=_0x55b3f9;var _0x50ef7c;let _0x5e8ae8=_0x7fc9e3['fill'];return{'type':K(_0x5e8ae8==null?void 0x0:_0x5e8ae8['gradientType']),'angle':(_0x50ef7c=_0x5e8ae8==null?void 0x0:_0x5e8ae8[_0x451770(0x15a)])==null?0x0:_0x50ef7c,'stops':_0x5e8ae8!=null&&_0x5e8ae8[_0x451770(0x2e6)]&&_0x5e8ae8['gradientStops'][_0x451770(0x2e1)]>=0x2?_0x5e8ae8[_0x451770(0x2e6)][_0x451770(0x34d)](_0x57bcfd=>({'color':_0x57bcfd['color'],'offset':_0x57bcfd['position']*0x64,'opacity':_0x57bcfd[_0x451770(0x219)]})):[{'color':_0x2496b5,'offset':0x0},{'color':_0x451770(0x2d9),'offset':0x64}]};}function ee(_0xb6386){const _0x45aabb=_0x55b3f9;var _0x35dd11,_0x52f639,_0x5a8d94;let {shapeData:_0x50924e,disabled:_0x1a3949,onUpdateShapeData:_0x304e56}=_0xb6386,_0x4adc7b=(0x0,o[_0x45aabb(0x176)])(a['LocaleService']),_0x7608b5=(0x0,o[_0x45aabb(0x176)])(a['IContextService']),_0x59a94c=(0x0,o[_0x45aabb(0x176)])(s[_0x45aabb(0x185)]),_0x57dd16=(0x0,n[_0x45aabb(0x333)])(null),_0x10587c=_0x50924e[_0x45aabb(0x2ab)],_0x3258e6=(_0x35dd11=(_0x52f639=_0x10587c==null?void 0x0:_0x10587c[_0x45aabb(0x324)])==null?_0x10587c==null?void 0x0:_0x10587c[_0x45aabb(0x219)]:_0x52f639)==null?0x1:_0x35dd11,_0x506ca3=Math[_0x45aabb(0xfc)]((0x1-_0x3258e6)*0x64),_0x460bd7=_0x10587c!=null&&_0x10587c[_0x45aabb(0x350)]&&/^(?:data:|https?:)/['test'](_0x10587c[_0x45aabb(0x350)])?_0x10587c[_0x45aabb(0x350)]:void 0x0,_0x19df25=_0x56b185=>{const _0x5754e7=_0x45aabb;var _0x535be9;_0x304e56({'oldShapeData':{'fill':_0x10587c?{..._0x10587c}:void 0x0}},{'fill':{..._0x10587c,'fillType':i[_0x5754e7(0x1d7)]['PictureFill'],'imageFillMode':(_0x535be9=_0x10587c==null?void 0x0:_0x10587c[_0x5754e7(0x3a4)])==null?i[_0x5754e7(0x3a0)][_0x5754e7(0x2b8)]:_0x535be9,..._0x56b185}});};return(0x0,r[_0x45aabb(0x38f)])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x180),'children':[(0x0,r[_0x45aabb(0x38f)])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x29e),'children':[(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x360),{'className':_0x45aabb(0x12e),'children':_0x4adc7b['t']('shape-editor-ui.fill.picture.source')}),(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x3a2),{'ref':_0x57dd16,'type':_0x45aabb(0x25a),'accept':_0x45aabb(0x205),'className':_0x45aabb(0x11e),'onChange':async _0x1c83b7=>{const _0x155971=_0x45aabb;var _0x22e004;let _0x59854b=(_0x22e004=_0x1c83b7[_0x155971(0x1df)][_0x155971(0x32d)])==null?void 0x0:_0x22e004[0x0];if(!_0x59854b)return;_0x1c83b7['target']['value']='';let _0x121600=await _0x59a94c['saveImage'](_0x59854b);if(_0x121600==null)return;let {imageSourceType:_0x17a032,source:_0x5a2ba9,base64Cache:_0x33b896}=_0x121600,{image:_0x16e543}=await(0x0,s[_0x155971(0x2d5)])(_0x33b896||'');_0x59a94c[_0x155971(0x146)](_0x5a2ba9,_0x17a032,_0x16e543),_0x19df25({'fillImageSource':_0x5a2ba9,'fillImageSourceType':_0x17a032,'imageOpacity':_0x3258e6});}}),(0x0,r[_0x45aabb(0x29d)])('button',{'type':_0x45aabb(0x188),'disabled':_0x1a3949,'onClick':()=>{const _0x56e998=_0x45aabb;var _0x15b3d3;return(_0x15b3d3=_0x57dd16[_0x56e998(0x2d1)])==null?void 0x0:_0x15b3d3[_0x56e998(0x173)]();},'className':_0x45aabb(0x2ce),'children':_0x4adc7b['t']('shape-editor-ui.fill.picture.insert')})]}),_0x460bd7&&(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x11a),{'src':_0x460bd7,'alt':'','className':_0x45aabb(0x2ee)}),(0x0,r[_0x45aabb(0x38f)])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x29e),'children':[(0x0,r[_0x45aabb(0x29d)])('span',{'className':_0x45aabb(0x12e),'children':_0x4adc7b['t'](_0x45aabb(0x104))}),(0x0,r['jsx'])(_0x45aabb(0x1c0),{'className':_0x45aabb(0x31d),'children':(0x0,r['jsx'])(e[_0x45aabb(0x1fb)],{'className':_0x45aabb(0x35b),'value':_0x506ca3,'disabled':_0x1a3949,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x132f5e=>_0x132f5e+'%','parser':_0x48c0d1=>(_0x48c0d1==null?void 0x0:_0x48c0d1[_0x45aabb(0x272)]('%',''))||'','onChange':_0x17fdfd=>{const _0x1d2946=_0x45aabb;_0x19df25({'imageOpacity':(0x64-Math[_0x1d2946(0x23d)](0x0,Math[_0x1d2946(0x301)](0x64,_0x17fdfd==null?0x0:_0x17fdfd)))/0x64}),_0x7608b5[_0x1d2946(0x141)](a[_0x1d2946(0x2cb)],!0x1);},'onFocus':()=>_0x7608b5[_0x45aabb(0x141)](a[_0x45aabb(0x2cb)],!0x0),'onBlur':()=>_0x7608b5[_0x45aabb(0x141)](a[_0x45aabb(0x2cb)],!0x1)})})]}),(0x0,r[_0x45aabb(0x29d)])(e[_0x45aabb(0x1e4)],{'checked':(_0x5a8d94=_0x10587c==null?void 0x0:_0x10587c[_0x45aabb(0x213)])==null?!0x1:_0x5a8d94,'disabled':_0x1a3949,'onChange':_0x112c73=>{_0x19df25({'imageRotateWithShape':_0x112c73});},'children':(0x0,r[_0x45aabb(0x29d)])(_0x45aabb(0x360),{'className':_0x45aabb(0x33b),'children':_0x4adc7b['t'](_0x45aabb(0x192))})})]});}function te(_0x5e5eb9){const _0x448f75=_0x55b3f9;var _0x196f03,_0x3b980d;let {title:_0x4b1b11,shapeData:_0x18d385,disabled:_0x473cdf,onUpdateShapeData:_0x132c55}=_0x5e5eb9,_0x31b54b=(0x0,o[_0x448f75(0x176)])(a[_0x448f75(0x164)]),[_0x3092d4,_0x5874bc]=(0x0,n[_0x448f75(0x1ea)])(!0x1),{handleOpenChange:_0x2a7fce,markInternalInteraction:_0x49959e}=P(_0x5874bc),_0x4b689d=_0x18d385[_0x448f75(0x2ab)],_0x2dba96=G(_0x18d385),_0x28a5f5=(_0x196f03=_0x4b689d==null?void 0x0:_0x4b689d[_0x448f75(0x3c8)])==null?_0x448f75(0x2ef):_0x196f03,_0xae753b=_0x55616d=>{_0x132c55({'oldShapeData':{'fill':_0x4b689d?{..._0x4b689d}:void 0x0}},{'fill':_0x55616d});},_0x4e5b38=()=>{const _0x235c48=_0x448f75;let _0x404370=J(_0x18d385,_0x28a5f5);return{..._0x4b689d,'fillType':i[_0x235c48(0x1d7)][_0x235c48(0x1d9)],'color':_0x28a5f5,'gradientType':q(_0x404370['type']),'gradientAngle':_0x404370[_0x235c48(0x2d2)],'gradientStops':_0x404370[_0x235c48(0x2ec)][_0x235c48(0x34d)](_0x566a29=>({'position':_0x566a29['offset']/0x64,'color':_0x566a29[_0x235c48(0x3c8)],'opacity':_0x566a29['opacity']}))};};return(0x0,r[_0x448f75(0x29d)])(e[_0x448f75(0x14e)],{'disabled':_0x473cdf,'open':_0x3092d4,'onOpenChange':_0x2a7fce,'overlay':(0x0,r[_0x448f75(0x29d)])(_0x448f75(0x1c0),{'onPointerDownCapture':_0x332ee4=>{_0x49959e(),M(_0x332ee4);},'onMouseDownCapture':_0x2b3a11=>{_0x49959e(),M(_0x2b3a11);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x9ad9ff=>_0x9ad9ff[_0x448f75(0x33a)](),'className':_0x448f75(0x207),'children':(0x0,r[_0x448f75(0x29d)])(m,{'compact':!0x0,'disabled':_0x473cdf,'value':_0x2dba96,'typeValues':A,'color':_0x28a5f5,'transparency':Math[_0x448f75(0xfc)]((0x1-((_0x3b980d=_0x4b689d==null?void 0x0:_0x4b689d[_0x448f75(0x219)])==null?0x1:_0x3b980d))*0x64),'gradientValue':J(_0x18d385,_0x28a5f5),'labels':{'noFill':_0x31b54b['t'](_0x448f75(0x22a)),'solidFill':_0x31b54b['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x31b54b['t'](_0x448f75(0x343)),'pictureFill':_0x31b54b['t'](_0x448f75(0x292)),'color':_0x31b54b['t'](_0x448f75(0x119)),'transparency':_0x31b54b['t']('shape-editor-ui.fill.transparency')},'tabLabels':{'noFill':_0x31b54b['t'](_0x448f75(0x22a)),'solidFill':_0x31b54b['t'](_0x448f75(0x2cf)),'gradientFill':_0x31b54b['t'](_0x448f75(0x343)),'pictureFill':_0x31b54b['t'](_0x448f75(0x292))},'renderColorIcon':_0x380d65=>(0x0,r['jsx'])(t[_0x448f75(0x10b)],{'className':_0x448f75(0x122),'extend':{'colorChannel1':_0x380d65}}),'onChange':_0x283d0e=>{const _0x5ddff2=_0x448f75;if(_0x283d0e===i[_0x5ddff2(0x1d7)][_0x5ddff2(0x258)])_0xae753b({..._0x4b689d,'fillType':i[_0x5ddff2(0x1d7)][_0x5ddff2(0x258)]});else{if(_0x283d0e===i[_0x5ddff2(0x1d7)]['SolidFill']){var _0x576340;_0xae753b({..._0x4b689d,'fillType':i[_0x5ddff2(0x1d7)][_0x5ddff2(0x2f1)],'color':_0x28a5f5,'opacity':(_0x576340=_0x4b689d==null?void 0x0:_0x4b689d[_0x5ddff2(0x219)])==null?0x1:_0x576340});}else{if(_0x283d0e===i[_0x5ddff2(0x1d7)][_0x5ddff2(0x1d9)])_0xae753b(_0x4e5b38());else{if(_0x283d0e===i[_0x5ddff2(0x1d7)]['PictureFill']){var _0x17767e,_0x37d080;_0xae753b({..._0x4b689d,'fillType':i[_0x5ddff2(0x1d7)][_0x5ddff2(0x371)],'color':_0x28a5f5,'imageOpacity':(_0x17767e=_0x4b689d==null?void 0x0:_0x4b689d[_0x5ddff2(0x324)])==null?0x1:_0x17767e,'imageFillMode':(_0x37d080=_0x4b689d==null?void 0x0:_0x4b689d['imageFillMode'])==null?i[_0x5ddff2(0x3a0)]['Stretch']:_0x37d080});}}}}},'onColorChange':_0x3c601e=>{const _0x41332a=_0x448f75;var _0x3edc94;_0xae753b({..._0x4b689d,'fillType':i['ShapeFillEnum'][_0x41332a(0x2f1)],'color':_0x3c601e,'opacity':(_0x3edc94=_0x4b689d==null?void 0x0:_0x4b689d['opacity'])==null?0x1:_0x3edc94});},'onTransparencyChange':_0x35da84=>{const _0x2c5f0a=_0x448f75;_0xae753b({..._0x4b689d,'fillType':i[_0x2c5f0a(0x1d7)]['SolidFill'],'color':_0x28a5f5,'opacity':(0x64-Math[_0x2c5f0a(0x23d)](0x0,Math[_0x2c5f0a(0x301)](0x64,_0x35da84)))/0x64});},'onGradientChange':_0x4b98ab=>{const _0x186546=_0x448f75;_0xae753b({..._0x4b689d,'fillType':i[_0x186546(0x1d7)][_0x186546(0x1d9)],'color':_0x28a5f5,'gradientType':q(_0x4b98ab[_0x186546(0x1fd)]),'gradientAngle':_0x4b98ab[_0x186546(0x2d2)],'gradientStops':_0x4b98ab['stops']['map'](_0x21b390=>({'position':_0x21b390[_0x186546(0x3a5)]/0x64,'color':_0x21b390[_0x186546(0x3c8)],'opacity':_0x21b390[_0x186546(0x219)]}))});},'pictureFillEditor':(0x0,r[_0x448f75(0x29d)])(ee,{'shapeData':_0x18d385,'disabled':_0x473cdf,'onUpdateShapeData':_0x132c55})})}),'children':(0x0,r[_0x448f75(0x29d)])('span',{'children':(0x0,r[_0x448f75(0x29d)])(e[_0x448f75(0x345)],{'title':_0x4b1b11,'placement':'bottom','children':(0x0,r[_0x448f75(0x38f)])(_0x448f75(0x188),{'type':'button','disabled':_0x473cdf,'className':(0x0,e[_0x448f75(0x27b)])('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':_0x3092d4}),'children':[(0x0,r[_0x448f75(0x29d)])(t[_0x448f75(0x10b)],{'className':_0x448f75(0x3d0),'extend':{'colorChannel1':_0x2dba96===i[_0x448f75(0x1d7)][_0x448f75(0x258)]?_0x448f75(0x33c):_0x28a5f5}}),(0x0,r[_0x448f75(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x448f75(0x23e),{'univer-rotate-180':_0x3092d4})})]})})})});}function ne(_0xc05363){const _0x22c666=_0x55b3f9;switch(_0xc05363==null?void 0x0:_0xc05363[_0x22c666(0x1fd)]){case'none':return i[_0x22c666(0x1d7)][_0x22c666(0x258)];case _0x22c666(0x178):return i[_0x22c666(0x1d7)][_0x22c666(0x1d9)];case _0x22c666(0x1bc):return i[_0x22c666(0x1d7)][_0x22c666(0x371)];default:return i[_0x22c666(0x1d7)]['SolidFill'];}}function Y(_0x23a247,_0xe85e05){const _0x4a78ba=_0x55b3f9;var _0x412642,_0x442231,_0x365f98,_0x5d91fe,_0x376f1a;return{'type':(_0x412642=_0x23a247==null||(_0x442231=_0x23a247[_0x4a78ba(0x178)])==null?void 0x0:_0x442231[_0x4a78ba(0x1fd)])==null?_0x4a78ba(0x3b4):_0x412642,'angle':(_0x365f98=_0x23a247==null||(_0x5d91fe=_0x23a247[_0x4a78ba(0x178)])==null?void 0x0:_0x5d91fe['angle'])==null?0x0:_0x365f98,'stops':!(_0x23a247==null||(_0x376f1a=_0x23a247[_0x4a78ba(0x178)])==null)&&_0x376f1a[_0x4a78ba(0x2ec)]&&_0x23a247[_0x4a78ba(0x178)][_0x4a78ba(0x2ec)][_0x4a78ba(0x2e1)]>=0x2?_0x23a247[_0x4a78ba(0x178)]['stops'][_0x4a78ba(0x34d)](_0x1fd9c3=>({'color':_0x1fd9c3[_0x4a78ba(0x3c8)],'offset':_0x1fd9c3[_0x4a78ba(0x3a5)],'opacity':_0x1fd9c3[_0x4a78ba(0x219)]})):[{'color':_0xe85e05,'offset':0x0},{'color':_0x4a78ba(0x3ad),'offset':0x64}]};}function X(_0x110118,_0x133987){const _0x3f014c=_0x55b3f9;var _0x443122,_0x29ffed,_0x5dfee5;return(_0x443122=_0x110118[_0x3f014c(0x33d)])==null?{'type':'solid','color':(_0x29ffed=(_0x5dfee5=_0x110118['cl'])==null?void 0x0:_0x5dfee5[_0x3f014c(0xf1)])==null?_0x133987:_0x29ffed,'opacity':0x1}:_0x443122;}function re(_0x5e547e,_0x154085){const _0x284276=_0x55b3f9;var _0x16bb46,_0x3a2942,_0x5773f7;return(_0x16bb46=(_0x3a2942=_0x5e547e['color'])==null?(_0x5773f7=_0x5e547e[_0x284276(0x178)])==null||(_0x5773f7=_0x5773f7[_0x284276(0x2ec)])==null||(_0x5773f7=_0x5773f7[0x0])==null?void 0x0:_0x5773f7[_0x284276(0x3c8)]:_0x3a2942)==null?_0x154085:_0x16bb46;}function ie(_0xc80f11){const _0x2df777=_0x55b3f9;var _0x1f911f,_0x3075f7,_0x8f46ef,_0x2d6e56;let {fill:_0x3bfd56,disabled:_0x4ffc27,onChange:_0x2805bb}=_0xc80f11,_0x5cc77f=(0x0,o[_0x2df777(0x176)])(a[_0x2df777(0x164)]),_0x2e07b9=(0x0,o[_0x2df777(0x176)])(a['IContextService']),_0x3305ab=(0x0,o[_0x2df777(0x176)])(s[_0x2df777(0x185)]),_0x414eba=(0x0,n['useRef'])(null),_0x12349b=(_0x1f911f=(_0x3075f7=(_0x8f46ef=_0x3bfd56[_0x2df777(0x1bc)])==null?void 0x0:_0x8f46ef[_0x2df777(0x219)])==null?_0x3bfd56[_0x2df777(0x219)]:_0x3075f7)==null?0x1:_0x1f911f,_0x299638=Math[_0x2df777(0xfc)]((0x1-_0x12349b)*0x64),_0x300c7d=(_0x2d6e56=_0x3bfd56[_0x2df777(0x1bc)])!=null&&_0x2d6e56[_0x2df777(0x378)]&&/^(?:data:|https?:)/[_0x2df777(0x21b)](_0x3bfd56[_0x2df777(0x1bc)][_0x2df777(0x378)])?_0x3bfd56[_0x2df777(0x1bc)][_0x2df777(0x378)]:void 0x0,_0xce7119=_0x188fcc=>{const _0x559f9d=_0x2df777;var _0x22a7a9,_0x3f035d;_0x2805bb({..._0x3bfd56,'type':_0x559f9d(0x1bc),'picture':{..._0x3bfd56[_0x559f9d(0x1bc)],'mode':(_0x22a7a9=(_0x3f035d=_0x3bfd56[_0x559f9d(0x1bc)])==null?void 0x0:_0x3f035d[_0x559f9d(0x30a)])==null?'stretch':_0x22a7a9,..._0x188fcc}});};return(0x0,r['jsxs'])('div',{'className':_0x2df777(0x180),'children':[(0x0,r[_0x2df777(0x38f)])(_0x2df777(0x1c0),{'className':_0x2df777(0x29e),'children':[(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x360),{'className':_0x2df777(0x12e),'children':_0x5cc77f['t'](_0x2df777(0x32f))}),(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x3a2),{'ref':_0x414eba,'type':_0x2df777(0x25a),'accept':_0x2df777(0x205),'className':'univer-hidden','onChange':async _0xa9598a=>{const _0x1e4adc=_0x2df777;var _0x1363a5;let _0x376d59=(_0x1363a5=_0xa9598a[_0x1e4adc(0x1df)][_0x1e4adc(0x32d)])==null?void 0x0:_0x1363a5[0x0];if(!_0x376d59)return;_0xa9598a[_0x1e4adc(0x1df)][_0x1e4adc(0x250)]='';let _0x29228a=await _0x3305ab[_0x1e4adc(0x196)](_0x376d59);if(_0x29228a==null)return;let {imageSourceType:_0x5b576a,source:_0x585e99,base64Cache:_0x54a170}=_0x29228a;_0xce7119({'source':_0x54a170||_0x585e99,'sourceType':_0x5b576a,'opacity':_0x12349b});}}),(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x188),{'type':_0x2df777(0x188),'disabled':_0x4ffc27,'onClick':()=>{const _0xe592b1=_0x2df777;var _0x1fd641;return(_0x1fd641=_0x414eba[_0xe592b1(0x2d1)])==null?void 0x0:_0x1fd641[_0xe592b1(0x173)]();},'className':_0x2df777(0x2ce),'children':_0x5cc77f['t'](_0x2df777(0x1ad))})]}),_0x300c7d&&(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x11a),{'src':_0x300c7d,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),(0x0,r['jsxs'])(_0x2df777(0x1c0),{'className':_0x2df777(0x29e),'children':[(0x0,r[_0x2df777(0x29d)])(_0x2df777(0x360),{'className':_0x2df777(0x12e),'children':_0x5cc77f['t'](_0x2df777(0x104))}),(0x0,r['jsx'])(_0x2df777(0x1c0),{'className':'univer-w-20','children':(0x0,r[_0x2df777(0x29d)])(e['InputNumber'],{'className':'univer-w-full','value':_0x299638,'disabled':_0x4ffc27,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2c8c86=>_0x2c8c86+'%','parser':_0x3273a1=>(_0x3273a1==null?void 0x0:_0x3273a1[_0x2df777(0x272)]('%',''))||'','onChange':_0x3b4a43=>{const _0x5a1dbe=_0x2df777;_0xce7119({'opacity':(0x64-Math[_0x5a1dbe(0x23d)](0x0,Math[_0x5a1dbe(0x301)](0x64,_0x3b4a43==null?0x0:_0x3b4a43)))/0x64}),_0x2e07b9[_0x5a1dbe(0x141)](a[_0x5a1dbe(0x2cb)],!0x1);},'onFocus':()=>_0x2e07b9[_0x2df777(0x141)](a[_0x2df777(0x2cb)],!0x0),'onBlur':()=>_0x2e07b9['setContextValue'](a[_0x2df777(0x2cb)],!0x1)})})]})]});}function Z(_0x28d34d){const _0x12d813=_0x55b3f9;var _0x5ccabc;let {title:_0x45784c,textStyle:_0x2ea87f,fallbackColor:_0x384550,onChange:_0x2c31ec}=_0x28d34d,_0x307ad5=(0x0,o['useDependency'])(a['LocaleService']),[_0x517dc5,_0x168220]=(0x0,n[_0x12d813(0x1ea)])(!0x1),{handleOpenChange:_0x37ea25,markInternalInteraction:_0x45f043}=P(_0x168220),_0x37d050=X(_0x2ea87f,_0x384550),_0x4c8800=ne(_0x37d050),_0x3ee594=re(_0x37d050,_0x384550),_0x46482c=_0x24af5f=>{const _0x4cb710=_0x12d813;_0x2c31ec({'cl':{'rgb':_0x24af5f[_0x4cb710(0x1fd)]===_0x4cb710(0x39c)?_0x4cb710(0x24a):re(_0x24af5f,_0x384550)},'textFill':_0x24af5f});},_0x2eff27=()=>{const _0x1c08e5=_0x12d813;let _0x102842=Y(_0x37d050,_0x3ee594);return{..._0x37d050,'type':_0x1c08e5(0x178),'gradient':{'type':_0x102842['type'],'angle':_0x102842[_0x1c08e5(0x2d2)],'stops':_0x102842['stops'][_0x1c08e5(0x34d)](_0x42d0d4=>({'offset':_0x42d0d4[_0x1c08e5(0x3a5)],'color':_0x42d0d4['color'],'opacity':_0x42d0d4[_0x1c08e5(0x219)]}))}};};return(0x0,r[_0x12d813(0x29d)])(z,{'title':_0x45784c,'open':_0x517dc5,'icon':(0x0,r['jsx'])(t['FontColorDoubleIcon'],{'className':'univer-text-xl','extend':{'colorChannel1':_0x3ee594}}),'onApply':()=>{const _0x1f8d96=_0x12d813;var _0x4dcdcf;return _0x46482c({..._0x37d050,'type':_0x1f8d96(0x17f),'color':_0x3ee594,'opacity':(_0x4dcdcf=_0x37d050[_0x1f8d96(0x219)])==null?0x1:_0x4dcdcf});},'onOpenChange':_0x37ea25,'overlay':(0x0,r[_0x12d813(0x29d)])(_0x12d813(0x1c0),{'onPointerDownCapture':_0x28472f=>{_0x45f043(),M(_0x28472f);},'onMouseDownCapture':_0x326d12=>{_0x45f043(),M(_0x326d12);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x5e72c0=>_0x5e72c0[_0x12d813(0x33a)](),'className':'univer-w-[260px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','children':(0x0,r[_0x12d813(0x29d)])(m,{'compact':!0x0,'value':_0x4c8800,'typeValues':A,'color':_0x3ee594,'transparency':Math['round']((0x1-((_0x5ccabc=_0x37d050[_0x12d813(0x219)])==null?0x1:_0x5ccabc))*0x64),'gradientValue':Y(_0x37d050,_0x3ee594),'labels':{'noFill':_0x307ad5['t'](_0x12d813(0x22a)),'solidFill':_0x307ad5['t'](_0x12d813(0x2cf)),'gradientFill':_0x307ad5['t'](_0x12d813(0x343)),'pictureFill':_0x307ad5['t'](_0x12d813(0x292)),'color':_0x307ad5['t'](_0x12d813(0x119)),'transparency':_0x307ad5['t'](_0x12d813(0x104))},'tabLabels':{'noFill':_0x307ad5['t'](_0x12d813(0x22a)),'solidFill':_0x307ad5['t']('shape-editor-ui.fill.solidFill'),'gradientFill':_0x307ad5['t']('shape-editor-ui.fill.gradientFill'),'pictureFill':_0x307ad5['t']('shape-editor-ui.fill.pictureFill')},'keepColorPickerOpenOnChange':!0x0,'onChange':_0x126d00=>{const _0x4fdf0b=_0x12d813;if(_0x126d00===i['ShapeFillEnum']['NoFill'])_0x46482c({..._0x37d050,'type':_0x4fdf0b(0x39c)});else{if(_0x126d00===i[_0x4fdf0b(0x1d7)][_0x4fdf0b(0x2f1)]){var _0x1dc9fb;_0x46482c({..._0x37d050,'type':_0x4fdf0b(0x17f),'color':_0x3ee594,'opacity':(_0x1dc9fb=_0x37d050['opacity'])==null?0x1:_0x1dc9fb});}else{if(_0x126d00===i[_0x4fdf0b(0x1d7)][_0x4fdf0b(0x1d9)])_0x46482c(_0x2eff27());else{if(_0x126d00===i[_0x4fdf0b(0x1d7)][_0x4fdf0b(0x371)]){var _0x33d824,_0x2d4fad,_0x206a2e,_0x273842;_0x46482c({..._0x37d050,'type':'picture','color':_0x3ee594,'picture':{..._0x37d050[_0x4fdf0b(0x1bc)],'opacity':(_0x33d824=(_0x2d4fad=_0x37d050[_0x4fdf0b(0x1bc)])==null?void 0x0:_0x2d4fad[_0x4fdf0b(0x219)])==null?0x1:_0x33d824,'mode':(_0x206a2e=(_0x273842=_0x37d050[_0x4fdf0b(0x1bc)])==null?void 0x0:_0x273842[_0x4fdf0b(0x30a)])==null?_0x4fdf0b(0x38b):_0x206a2e}});}}}}},'onColorChange':_0xb6887b=>{var _0x5cf787;_0x46482c({..._0x37d050,'type':'solid','color':_0xb6887b,'opacity':(_0x5cf787=_0x37d050['opacity'])==null?0x1:_0x5cf787});},'onTransparencyChange':_0x244f59=>{const _0x29604a=_0x12d813;_0x46482c({..._0x37d050,'type':_0x29604a(0x17f),'color':_0x3ee594,'opacity':(0x64-Math['max'](0x0,Math[_0x29604a(0x301)](0x64,_0x244f59)))/0x64});},'onGradientChange':_0x10eabd=>{const _0xcaf90a=_0x12d813;_0x46482c({..._0x37d050,'type':'gradient','gradient':{'type':_0x10eabd[_0xcaf90a(0x1fd)],'angle':_0x10eabd['angle'],'stops':_0x10eabd[_0xcaf90a(0x2ec)][_0xcaf90a(0x34d)](_0x1f9938=>({'offset':_0x1f9938[_0xcaf90a(0x3a5)],'color':_0x1f9938['color'],'opacity':_0x1f9938[_0xcaf90a(0x219)]}))}});},'pictureFillEditor':(0x0,r[_0x12d813(0x29d)])(ie,{'fill':_0x37d050,'onChange':_0x46482c})})})});}function Q(_0x2f45d3){const _0x218ef6=_0x55b3f9;let {title:_0x410c77,color:_0x2c7b9f,resetLabel:_0x4bcd33,onApply:_0x53d49e,onReset:_0x3d3cf1,onChange:_0x431fd9}=_0x2f45d3,[_0x3dc3c1,_0x1121c7]=(0x0,n[_0x218ef6(0x1ea)])(!0x1),{handleOpenChange:_0xc0c84f,markInternalInteraction:_0x579aec}=P(_0x1121c7);return(0x0,r['jsx'])(z,{'title':_0x410c77,'open':_0x3dc3c1,'icon':(0x0,r['jsx'])(t[_0x218ef6(0x397)],{'className':_0x218ef6(0x3d0),'extend':{'colorChannel1':_0x2c7b9f}}),'onApply':_0x53d49e,'onOpenChange':_0xc0c84f,'overlay':(0x0,r[_0x218ef6(0x38f)])(_0x218ef6(0x1c0),{'onPointerDownCapture':_0x464464=>{_0x579aec(),M(_0x464464);},'onMouseDownCapture':_0x58db05=>{_0x579aec(),M(_0x58db05);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x81d020=>_0x81d020[_0x218ef6(0x33a)](),'className':_0x218ef6(0x3ab),'children':[_0x3d3cf1&&(0x0,r['jsx'])(_0x218ef6(0x188),{'type':_0x218ef6(0x188),'onClick':()=>{_0x3d3cf1(),_0x1121c7(!0x1);},'className':_0x218ef6(0x361),'children':_0x4bcd33==null?_0x218ef6(0x3c2):_0x4bcd33}),(0x0,r[_0x218ef6(0x29d)])(e[_0x218ef6(0x11b)],{'value':_0x2c7b9f,'onChange':_0x16dca9=>{_0x431fd9(_0x16dca9),_0x1121c7(!0x1);}})]})});}function ae(_0x51c5a7){const _0x47f2be=_0x55b3f9;let {title:_0x478196,textStyle:_0x48294e,horizontalAlign:_0x6f4ab9,verticalAlign:_0x150d60,horizontalAlignOptions:_0x385d76,verticalAlignOptions:_0x32d9b6,onUpdateText:_0x536aa8}=_0x51c5a7,_0x16e123=(0x0,o[_0x47f2be(0x176)])(a[_0x47f2be(0x164)]),[_0x5a6979,_0x5f1e6a]=(0x0,n['useState'])(!0x1),{handleOpenChange:_0x2d8104,markInternalInteraction:_0x3ec09c}=P(_0x5f1e6a),_0x491572=[{'key':_0x47f2be(0x229),'title':_0x16e123['t'](_0x47f2be(0x228)),'active':_0x48294e[_0x47f2be(0x2c5)],'icon':(0x0,r[_0x47f2be(0x29d)])(t['BoldIcon'],{}),'onClick':()=>_0x536aa8({'textStyle':{'bl':_0x48294e['isBold']?a[_0x47f2be(0x317)]['FALSE']:a[_0x47f2be(0x317)][_0x47f2be(0x1a0)]}})},{'key':_0x47f2be(0x27a),'title':_0x16e123['t']('shape-editor-ui.toolbar.italic'),'active':_0x48294e[_0x47f2be(0x220)],'icon':(0x0,r[_0x47f2be(0x29d)])(t[_0x47f2be(0x1b3)],{}),'onClick':()=>_0x536aa8({'textStyle':{'it':_0x48294e[_0x47f2be(0x220)]?a['BooleanNumber'][_0x47f2be(0x177)]:a['BooleanNumber'][_0x47f2be(0x1a0)]}})},{'key':_0x47f2be(0x313),'title':_0x16e123['t'](_0x47f2be(0x319)),'active':_0x48294e[_0x47f2be(0x120)],'icon':(0x0,r['jsx'])(t['UnderlineIcon'],{}),'onClick':()=>_0x536aa8({'textStyle':{'ul':{'s':_0x48294e['isUnderline']?a[_0x47f2be(0x317)][_0x47f2be(0x177)]:a[_0x47f2be(0x317)]['TRUE']}}})},{'key':_0x47f2be(0x399),'title':_0x16e123['t']('shape-editor-ui.toolbar.strikethrough'),'active':_0x48294e[_0x47f2be(0x19a)],'icon':(0x0,r[_0x47f2be(0x29d)])(t[_0x47f2be(0x28f)],{}),'onClick':()=>_0x536aa8({'textStyle':{'st':{'s':_0x48294e[_0x47f2be(0x19a)]?a[_0x47f2be(0x317)][_0x47f2be(0x177)]:a[_0x47f2be(0x317)][_0x47f2be(0x1a0)]}}})}],_0x1e244d=_0x25d727=>(0x0,r[_0x47f2be(0x29d)])(e[_0x47f2be(0x345)],{'title':_0x25d727['title'],'placement':'top','children':(0x0,r['jsx'])('button',{'type':_0x47f2be(0x188),'onClick':_0x25d727[_0x47f2be(0x15f)],'className':(0x0,e[_0x47f2be(0x27b)])(_0x47f2be(0x1fe),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x25d727[_0x47f2be(0x246)]}),'children':_0x25d727[_0x47f2be(0x3ae)]})},String(_0x25d727[_0x47f2be(0x200)]));return(0x0,r['jsx'])(e[_0x47f2be(0x14e)],{'open':_0x5a6979,'onOpenChange':_0x2d8104,'overlay':(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x1c0),{'onPointerDownCapture':_0x3dca3e=>{_0x3ec09c(),M(_0x3dca3e);},'onMouseDownCapture':_0xbffc28=>{_0x3ec09c(),M(_0xbffc28);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x3379fc=>_0x3379fc[_0x47f2be(0x33a)](),'className':_0x47f2be(0x37a),'children':(0x0,r[_0x47f2be(0x38f)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1.5','children':[(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x1c0),{'className':_0x47f2be(0x1bb),'children':_0x491572[_0x47f2be(0x34d)](_0x1e244d)}),(0x0,r[_0x47f2be(0x29d)])('div',{'className':_0x47f2be(0x1a7)}),(0x0,r['jsx'])('div',{'data-u-comp':_0x47f2be(0x2e2),'className':_0x47f2be(0x1bb),'children':_0x385d76[_0x47f2be(0x34d)](_0x2b7e4b=>_0x1e244d({'key':_0x2b7e4b[_0x47f2be(0x250)],'title':_0x2b7e4b[_0x47f2be(0x1db)],'active':_0x2b7e4b[_0x47f2be(0x250)]===_0x6f4ab9,'icon':_0x2b7e4b[_0x47f2be(0x3ae)],'onClick':()=>_0x536aa8({'horizontalAlign':_0x2b7e4b[_0x47f2be(0x250)]})}))}),(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x1c0),{'data-u-comp':_0x47f2be(0x2a8),'className':_0x47f2be(0x1bb),'children':_0x32d9b6[_0x47f2be(0x34d)](_0x2d7df9=>_0x1e244d({'key':_0x2d7df9[_0x47f2be(0x250)],'title':_0x2d7df9[_0x47f2be(0x1db)],'active':_0x2d7df9[_0x47f2be(0x250)]===_0x150d60,'icon':_0x2d7df9['icon'],'onClick':()=>_0x536aa8({'verticalAlign':_0x2d7df9['value']})}))})]})}),'children':(0x0,r[_0x47f2be(0x29d)])(_0x47f2be(0x360),{'children':(0x0,r[_0x47f2be(0x29d)])(e['Tooltip'],{'title':_0x478196,'placement':_0x47f2be(0x254),'children':(0x0,r[_0x47f2be(0x38f)])('button',{'type':_0x47f2be(0x188),'className':(0x0,e[_0x47f2be(0x27b)])(_0x47f2be(0x3a6),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5a6979}),'children':[(0x0,r[_0x47f2be(0x29d)])(t['TypographyIcon'],{'className':_0x47f2be(0x25d)}),(0x0,r['jsx'])(t[_0x47f2be(0x2c1)],{'className':(0x0,e[_0x47f2be(0x27b)])(_0x47f2be(0x23e),{'univer-rotate-180':_0x5a6979})})]})})})});}function oe(_0x370b1e){const _0x162442=_0x55b3f9;var _0x39df4f;let [_0x9dd996,_0x41d59e]=(0x0,n['useState'])(!0x1),_0x18cbee=(_0x39df4f=_0x370b1e['options']['find'](_0x3c6f6e=>_0x3c6f6e['value']===_0x370b1e[_0x162442(0x250)]))==null?_0x370b1e[_0x162442(0x2b4)][0x0]:_0x39df4f;return _0x18cbee?(0x0,r[_0x162442(0x29d)])(e[_0x162442(0x14e)],{'open':_0x9dd996,'onOpenChange':_0x41d59e,'overlay':(0x0,r['jsx'])(_0x162442(0x1c0),{'className':_0x162442(0x1bf),'children':_0x370b1e[_0x162442(0x2b4)]['map'](_0x8728c0=>(0x0,r[_0x162442(0x38f)])(_0x162442(0x188),{'type':'button','onClick':()=>{const _0x2cceb9=_0x162442;_0x370b1e[_0x2cceb9(0x11d)](_0x8728c0[_0x2cceb9(0x250)]),_0x41d59e(!0x1);},'className':(0x0,e[_0x162442(0x27b)])(_0x162442(0x3b1),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x8728c0[_0x162442(0x250)]===_0x370b1e[_0x162442(0x250)]}),'children':[(0x0,r['jsx'])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x8728c0['icon']}),(0x0,r['jsx'])(_0x162442(0x360),{'className':_0x162442(0x161),'children':_0x8728c0[_0x162442(0x1db)]})]},_0x8728c0[_0x162442(0x250)]))}),'children':(0x0,r[_0x162442(0x29d)])('span',{'children':(0x0,r[_0x162442(0x29d)])(e[_0x162442(0x345)],{'title':_0x370b1e['title'],'placement':_0x162442(0x254),'children':(0x0,r[_0x162442(0x38f)])(_0x162442(0x188),{'type':_0x162442(0x188),'className':(0x0,e['clsx'])(_0x162442(0x375),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x9dd996}),'children':[_0x18cbee[_0x162442(0x3ae)],(0x0,r[_0x162442(0x29d)])(t['MoreDownIcon'],{'className':_0x162442(0x33b)})]})})})}):null;}function se(_0x51ac68){const _0x3a4a49=_0x55b3f9;let {action:_0x3904aa}=_0x51ac68,_0x3e0d61=_0x3904aa['type']===_0x3a4a49(0x249)?t['GroupIcon']:t['UngroupIcon'];return(0x0,r[_0x3a4a49(0x29d)])(R,{'title':_0x3904aa[_0x3a4a49(0x1db)],'onClick':_0x3904aa[_0x3a4a49(0x15f)],'children':(0x0,r[_0x3a4a49(0x29d)])(_0x3e0d61,{})});}function ce(_0x1c9fb7){const _0xe8443=_0x55b3f9;return(0x0,r[_0xe8443(0x38f)])(_0xe8443(0x188),{'type':_0xe8443(0x188),'onClick':_0x1c9fb7[_0xe8443(0x15f)],'className':_0xe8443(0x3b1),'children':[(0x0,r[_0xe8443(0x29d)])(_0xe8443(0x360),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-base','children':_0x1c9fb7[_0xe8443(0x3ae)]}),(0x0,r[_0xe8443(0x29d)])(_0xe8443(0x360),{'className':_0xe8443(0x161),'children':_0x1c9fb7[_0xe8443(0x1db)]})]});}function le(_0x87c68){const _0x5a9146=_0x55b3f9;let {actions:_0x59e2f3}=_0x87c68,[_0x1f274b,_0x1e5ebd]=(0x0,n[_0x5a9146(0x1ea)])(!0x1),{handleOpenChange:_0x1197a1,markInternalInteraction:_0x3b722e}=P(_0x1e5ebd);return(0x0,r[_0x5a9146(0x29d)])(e[_0x5a9146(0x14e)],{'open':_0x1f274b,'onOpenChange':_0x1197a1,'overlay':(0x0,r[_0x5a9146(0x38f)])(_0x5a9146(0x1c0),{'onPointerDownCapture':_0x1b0297=>{_0x3b722e(),M(_0x1b0297);},'onMouseDownCapture':_0x3b5992=>{_0x3b722e(),M(_0x3b5992);},'onPointerDown':N,'onMouseDown':N,'onClick':_0x4b5d5a=>_0x4b5d5a[_0x5a9146(0x33a)](),'className':'univer-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','children':[(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x305)],'icon':(0x0,r[_0x5a9146(0x29d)])(t[_0x5a9146(0x277)],{}),'onClick':_0x59e2f3[_0x5a9146(0x2a3)]}),(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x12a)],'icon':(0x0,r['jsx'])(t[_0x5a9146(0x1d1)],{}),'onClick':_0x59e2f3['onFront']}),(0x0,r[_0x5a9146(0x29d)])(_0x5a9146(0x1c0),{'className':_0x5a9146(0x20f)}),(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x25b)],'icon':(0x0,r[_0x5a9146(0x29d)])(t['MoveDownIcon'],{}),'onClick':_0x59e2f3[_0x5a9146(0x187)]}),(0x0,r[_0x5a9146(0x29d)])(ce,{'label':_0x59e2f3[_0x5a9146(0x126)],'icon':(0x0,r[_0x5a9146(0x29d)])(t[_0x5a9146(0x310)],{}),'onClick':_0x59e2f3[_0x5a9146(0x125)]})]}),'children':(0x0,r[_0x5a9146(0x29d)])('span',{'children':(0x0,r['jsx'])(e[_0x5a9146(0x345)],{'title':_0x59e2f3['title'],'placement':_0x5a9146(0x254),'children':(0x0,r[_0x5a9146(0x38f)])('button',{'type':_0x5a9146(0x188),'className':(0x0,e[_0x5a9146(0x27b)])(_0x5a9146(0x375),{'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x1f274b}),'children':[(0x0,r[_0x5a9146(0x29d)])(t['TopmostIcon'],{}),(0x0,r[_0x5a9146(0x29d)])(t['MoreDownIcon'],{'className':(0x0,e['clsx'])(_0x5a9146(0x23e),{'univer-rotate-180':_0x1f274b})})]})})})});}function ue(_0x474369){const _0x2aa734=_0x55b3f9;var _0x20e929,_0xa1ec41,_0x17ba08,_0x23e11a,_0x312e1e,_0x152945,_0x511e2c,_0x1e2307,_0x4bb5c3,_0x5bcde7,_0x4f4405,_0x1bc538;let {shapeData:_0x4945ed,shapeType:_0x572d9e,textStyle:_0x4b76d1,textModel:_0x2d28e9,fontOptions:_0x17ab38,wrappingStyle:_0x4675bf,wrappingStyleOptions:_0x382478,enableShapeStrokeReset:_0x3cc6e1=!0x1,enableTextBackgroundReset:_0x516581=!0x1,deferUntilCollapsedStateLoaded:_0x20dbce=!0x1,onUpdateShapeData:_0x275785,onUpdateText:_0x201882,onUpdateWrappingStyle:_0x190346,groupAction:_0x3340d5,layerActions:_0xfbbe3f,onOpenPanel:_0x36698b,onDelete:_0x399a0d}=_0x474369,_0x444078=(0x0,o['useDependency'])(a[_0x2aa734(0x164)]),_0x22185c=(0x0,o[_0x2aa734(0x176)])(a[_0x2aa734(0x145)]),_0x14dfee=(0x0,o[_0x2aa734(0x176)])(a[_0x2aa734(0x1af)]),[_0x25644a,_0x51fd64]=(0x0,n['useState'])(!0x1),[_0x3f6657,_0x4ce94b]=(0x0,n[_0x2aa734(0x1ea)])(!0x1);(0x0,n[_0x2aa734(0x352)])(()=>{const _0x4cae9e=_0x2aa734;let _0x12c650=!0x1;return _0x14dfee[_0x4cae9e(0xfb)](k)[_0x4cae9e(0x3a3)](_0x4798df=>{const _0x51b630=_0x4cae9e;!_0x12c650&&typeof _0x4798df==_0x51b630(0x157)&&_0x51fd64(_0x4798df);})[_0x4cae9e(0x132)](()=>void 0x0)[_0x4cae9e(0x335)](()=>{_0x12c650||_0x4ce94b(!0x0);}),()=>{_0x12c650=!0x0;};},[_0x14dfee]);let _0x3053e9=_0x416933=>{const _0x5682f1=_0x2aa734;_0x51fd64(_0x416933),_0x14dfee[_0x5682f1(0x201)](k,_0x416933)['catch'](()=>void 0x0);},_0x4c99b2=!!_0x4945ed&&_0x572d9e!==void 0x0,_0x5e1fe6=!!_0x3340d5||!!_0xfbbe3f,_0x522f8b=_0x572d9e!==void 0x0&&(0x0,i['isConnectorShape'])(_0x572d9e),_0x3c58b2=(_0x20e929=(_0xa1ec41=_0x4b76d1['cl'])==null?void 0x0:_0xa1ec41[_0x2aa734(0xf1)])==null?_0x2aa734(0x1a5):_0x20e929,_0x1dd30b=(_0x17ba08=(_0x23e11a=_0x4b76d1['bg'])==null?void 0x0:_0x23e11a[_0x2aa734(0xf1)])==null?_0x2aa734(0x1ef):_0x17ba08,_0x184a54=(_0x312e1e=_0x4b76d1['ff'])==null?_0x2aa734(0x2d7):_0x312e1e,_0x4f86f5=(_0x152945=_0x4b76d1['fs'])==null?0xe:_0x152945,_0x561f7f=_0x4b76d1['bl']===a[_0x2aa734(0x317)][_0x2aa734(0x1a0)],_0x37d4e9=_0x4b76d1['it']===a['BooleanNumber'][_0x2aa734(0x1a0)],_0x1178c6=((_0x511e2c=_0x4b76d1['ul'])==null?void 0x0:_0x511e2c['s'])===a[_0x2aa734(0x317)]['TRUE'],_0x3efe5c=((_0x1e2307=_0x4b76d1['st'])==null?void 0x0:_0x1e2307['s'])===a['BooleanNumber'][_0x2aa734(0x1a0)],_0x2c520d=o[_0x2aa734(0x37c)][_0x2aa734(0x34d)](_0x238271=>({'label':_0x238271[_0x2aa734(0x1db)],'value':String(_0x238271[_0x2aa734(0x250)])})),_0x124ed2=(_0x4bb5c3=_0x2d28e9==null?void 0x0:_0x2d28e9['ha'])==null?a['HorizontalAlign']['LEFT']:_0x4bb5c3,_0x4dd587=(_0x5bcde7=_0x2d28e9==null?void 0x0:_0x2d28e9['va'])==null?a['VerticalAlign']['TOP']:_0x5bcde7,_0x3de114=[{'label':_0x444078['t'](_0x2aa734(0x339)),'value':a['HorizontalAlign'][_0x2aa734(0x152)],'icon':(0x0,r[_0x2aa734(0x29d)])(t['LeftJustifyingIcon'],{})},{'label':_0x444078['t'](_0x2aa734(0x2e4)),'value':a[_0x2aa734(0xff)]['CENTER'],'icon':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x2bb)],{})},{'label':_0x444078['t'](_0x2aa734(0x153)),'value':a[_0x2aa734(0xff)][_0x2aa734(0x370)],'icon':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x323)],{})},{'label':_0x444078['t'](_0x2aa734(0x325)),'value':a[_0x2aa734(0xff)]['JUSTIFIED'],'icon':(0x0,r[_0x2aa734(0x29d)])(t['AlignTextBothIcon'],{})}],_0x43e29e=[{'label':_0x444078['t']('shape-editor-ui.align.top'),'value':a[_0x2aa734(0x111)]['TOP'],'icon':(0x0,r['jsx'])(t[_0x2aa734(0x379)],{})},{'label':_0x444078['t'](_0x2aa734(0x1c8)),'value':a['VerticalAlign'][_0x2aa734(0x2dc)],'icon':(0x0,r['jsx'])(t[_0x2aa734(0x12c)],{})},{'label':_0x444078['t'](_0x2aa734(0x37e)),'value':a[_0x2aa734(0x111)][_0x2aa734(0x225)],'icon':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x186)],{})}];return!_0x4c99b2&&!_0x5e1fe6&&!_0x36698b&&!_0x399a0d||_0x20dbce&&!_0x3f6657?null:_0x25644a?(0x0,r[_0x2aa734(0x29d)])('button',{'type':_0x2aa734(0x188),'data-u-comp':_0x2aa734(0x2f8),'aria-label':_0x444078['t'](_0x2aa734(0x29a)),'onMouseDown':N,'onClick':()=>_0x3053e9(!0x1),'className':'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','children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x270)],{'className':'-univer-rotate-90\x20univer-text-xs'})}):(0x0,r['jsxs'])(_0x2aa734(0x1c0),{'data-u-comp':_0x2aa734(0x38a),'className':_0x2aa734(0x243),'children':[(0x0,r['jsx'])('button',{'type':_0x2aa734(0x188),'aria-label':_0x444078['t'](_0x2aa734(0x1b1)),'onMouseDown':N,'onClick':()=>_0x3053e9(!0x0),'className':_0x2aa734(0x20c),'children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x270)],{'className':_0x2aa734(0x33b),'style':{'transform':_0x2aa734(0x31c)}})}),(0x0,r[_0x2aa734(0x38f)])('div',{'onMouseDown':_0x54b77a=>{const _0x3dd995=_0x2aa734;_0x54b77a[_0x3dd995(0x33a)](),j(_0x54b77a[_0x3dd995(0x1df)])||_0x54b77a[_0x3dd995(0x3b3)]();},'className':(0x0,e[_0x2aa734(0x27b)])(_0x2aa734(0x3c0),e[_0x2aa734(0x1e1)]),'children':[_0x4c99b2&&(0x0,r['jsxs'])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x38f)])(L,{'children':[(0x0,r[_0x2aa734(0x29d)])(te,{'title':_0x444078['t'](_0x2aa734(0x36a)),'shapeData':_0x4945ed,'disabled':_0x522f8b,'onUpdateShapeData':_0x275785}),(0x0,r[_0x2aa734(0x29d)])(W,{'title':_0x444078['t'](_0x2aa734(0x163)),'shapeData':_0x4945ed,'resetLabel':_0x444078['t'](_0x2aa734(0x314)),'onReset':_0x3cc6e1?()=>{_0x275785({'oldShapeData':{'stroke':_0x4945ed['stroke']}},{'stroke':{..._0x4945ed['stroke'],'lineStrokeType':i['ShapeLineTypeEnum']['NoLine']}});}:void 0x0,'onUpdateShapeData':_0x275785})]}),(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r[_0x2aa734(0x38f)])(L,{'children':[(0x0,r[_0x2aa734(0x29d)])(e['Select'],{'className':_0x2aa734(0xfa),'value':_0x184a54,'options':_0x17ab38,'onChange':_0x456cb9=>_0x201882({'textStyle':{'ff':String(_0x456cb9)}})}),(0x0,r[_0x2aa734(0x29d)])(e['Select'],{'className':_0x2aa734(0x28b),'value':String(_0x4f86f5),'options':_0x2c520d,'onChange':_0x5309e2=>{const _0x56c3fc=_0x2aa734;let _0x4196b7=Number(_0x5309e2);Number[_0x56c3fc(0x364)](_0x4196b7)||_0x201882({'textStyle':{'fs':_0x4196b7}}),_0x22185c[_0x56c3fc(0x141)](a['FOCUSING_PANEL_EDITOR'],!0x1);}}),(0x0,r['jsx'])(ae,{'title':_0x2aa734(0x1c7),'textStyle':{'isBold':_0x561f7f,'isItalic':_0x37d4e9,'isUnderline':_0x1178c6,'isStrike':_0x3efe5c},'horizontalAlign':_0x124ed2,'verticalAlign':_0x4dd587,'horizontalAlignOptions':_0x3de114,'verticalAlignOptions':_0x43e29e,'onUpdateText':_0x201882})]}),(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r[_0x2aa734(0x38f)])(L,{'children':[(0x0,r[_0x2aa734(0x29d)])(Z,{'title':_0x444078['t'](_0x2aa734(0x17d)),'textStyle':_0x4b76d1,'fallbackColor':_0x3c58b2,'onChange':_0x3e1996=>_0x201882({'textStyle':_0x3e1996})}),(0x0,r['jsx'])(Q,{'title':_0x444078['t'](_0x2aa734(0x299)),'color':_0x1dd30b,'resetLabel':_0x444078['t'](_0x2aa734(0x314)),'onApply':()=>_0x201882({'textStyle':{'bg':{'rgb':_0x1dd30b}}}),'onReset':_0x516581?()=>_0x201882({'textStyle':{'bg':{'rgb':null}}}):void 0x0,'onChange':_0xc933bb=>_0x201882({'textStyle':{'bg':{'rgb':_0xc933bb}}})})]})]}),_0x4c99b2&&_0x4675bf!==void 0x0&&_0x382478&&_0x190346&&(0x0,r[_0x2aa734(0x38f)])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r[_0x2aa734(0x29d)])(L,{'children':(0x0,r[_0x2aa734(0x29d)])(oe,{'title':(_0x4f4405=(_0x1bc538=_0x382478[_0x2aa734(0x2e8)](_0x31637b=>_0x31637b['value']===_0x4675bf))==null?void 0x0:_0x1bc538[_0x2aa734(0x1db)])==null?_0x444078['t'](_0x2aa734(0x329)):_0x4f4405,'value':_0x4675bf,'options':_0x382478,'onChange':_0x190346})})]}),_0x5e1fe6&&(0x0,r['jsxs'])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r['jsxs'])(L,{'children':[_0x3340d5&&(0x0,r[_0x2aa734(0x29d)])(se,{'action':_0x3340d5}),_0xfbbe3f&&(0x0,r[_0x2aa734(0x29d)])(le,{'actions':_0xfbbe3f})]})]}),(_0x36698b||_0x399a0d)&&(0x0,r['jsxs'])(r[_0x2aa734(0x2e0)],{'children':[(0x0,r[_0x2aa734(0x29d)])(I,{}),(0x0,r['jsxs'])(L,{'children':[_0x36698b&&(0x0,r[_0x2aa734(0x29d)])(R,{'title':_0x444078['t'](_0x2aa734(0x160)),'onClick':()=>{_0x3053e9(!0x0),_0x36698b();},'children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x33f)],{})}),_0x399a0d&&(0x0,r[_0x2aa734(0x29d)])(R,{'title':_0x444078['t'](_0x2aa734(0x1f6)),'onClick':_0x399a0d,'children':(0x0,r[_0x2aa734(0x29d)])(t[_0x2aa734(0x2c0)],{})})]})]})]})]});}function de(_0x220fcb){const _0x506244=_0x55b3f9;var _0x3c03fd,_0x501b96,_0x17343b;let {title:_0x5919b1,popupDataComponent:_0x28b149='doc-paragraph-type-dropdown-popup'}=_0x220fcb,_0x5954e3=(0x0,o[_0x506244(0x176)])(a[_0x506244(0x1b7)]),_0x3ed7ed=(0x0,o[_0x506244(0x176)])(c[_0x506244(0x368)]),_0x39377a=(0x0,o[_0x506244(0x176)])(a[_0x506244(0x164)]),_0x5e3d6a=(0x0,o[_0x506244(0x176)])(a['IUniverInstanceService']),[_0x32df55,_0x43ea1c]=(0x0,n[_0x506244(0x1ea)])(!0x1),[_0xc41213,_0x4af8d9]=(0x0,n['useState'])(a[_0x506244(0x27d)][_0x506244(0x2b1)]),_0x1d40f2=()=>{const _0x328dc5=_0x506244;var _0x5de6d2,_0x4221d3;let _0x5a76b6=he(_0x5e3d6a[_0x328dc5(0x386)](a[_0x328dc5(0x245)][_0x328dc5(0x278)]),me(_0x3ed7ed));_0x4af8d9((_0x5de6d2=_0x5a76b6==null||(_0x4221d3=_0x5a76b6['paragraphStyle'])==null?void 0x0:_0x4221d3[_0x328dc5(0x23a)])==null?a['NamedStyleType'][_0x328dc5(0x2b1)]:_0x5de6d2);};(0x0,n[_0x506244(0x352)])(()=>{const _0x71bd8b=_0x506244;_0x1d40f2();let _0x1377f0=_0x5954e3[_0x71bd8b(0x195)](_0x5deb03=>{const _0x2c9a44=_0x71bd8b;(_0x5deb03['id']===c[_0x2c9a44(0x199)]['id']||_0x5deb03['id']===c[_0x2c9a44(0x28d)]['id']||_0x5deb03['id']===l[_0x2c9a44(0x26f)]['id']||_0x5deb03['id']===l['OrderListCommand']['id']||_0x5deb03['id']===l[_0x2c9a44(0x363)]['id']||_0x5deb03['id']===l[_0x2c9a44(0x26d)]['id'])&&_0x1d40f2();}),_0x208ce2=_0x3ed7ed[_0x71bd8b(0x3c7)][_0x71bd8b(0x321)](_0x1d40f2);return()=>{const _0x4e0f8a=_0x71bd8b;_0x1377f0[_0x4e0f8a(0x262)](),_0x208ce2[_0x4e0f8a(0x154)]();};},[_0x5954e3,_0x3ed7ed,_0x5e3d6a]);let _0x204e98=(0x0,n['useMemo'])(()=>fe(_0x39377a,_0x5954e3),[_0x5954e3,_0x39377a]),_0x35a531=(_0x3c03fd=_0x204e98[_0x506244(0x2e8)](_0x4ac022=>_0x4ac022['namedStyleType']===_0xc41213))==null?_0x204e98[0x0]:_0x3c03fd,_0x5bacbb=_0x1ed0df=>{const _0x5b69d1=_0x506244;var _0x503a5e;let _0x12d801=_0x5e3d6a['getCurrentUnitOfType'](a[_0x5b69d1(0x245)][_0x5b69d1(0x278)]),_0x1a94c1=me(_0x3ed7ed);if((_0x503a5e=_0x220fcb[_0x5b69d1(0x190)])==null||_0x503a5e['call'](_0x220fcb),_0x1ed0df[_0x5b69d1(0x23a)]!==void 0x0){let _0x22624f={'value':_0x1ed0df[_0x5b69d1(0x23a)]};_0x1a94c1&&(_0x22624f[_0x5b69d1(0x2f3)]=[_0x1a94c1]),_0x5954e3[_0x5b69d1(0x39b)](l[_0x5b69d1(0x26f)]['id'],_0x22624f);}else{if(_0x1ed0df[_0x5b69d1(0x20e)]===l[_0x5b69d1(0x2ed)]['id']||_0x1ed0df[_0x5b69d1(0x20e)]===l[_0x5b69d1(0x363)]['id']||_0x1ed0df[_0x5b69d1(0x20e)]===l[_0x5b69d1(0x26d)]['id']){let _0x22e7e1=_0x1a94c1?{'docRange':[_0x1a94c1]}:void 0x0;_0x5954e3[_0x5b69d1(0x39b)](_0x1ed0df[_0x5b69d1(0x20e)],_0x22e7e1);}else _0x1ed0df['commandId']&&_0x5954e3[_0x5b69d1(0x39b)](_0x1ed0df[_0x5b69d1(0x20e)],{'unitId':_0x12d801==null?void 0x0:_0x12d801[_0x5b69d1(0x217)](),'startOffset':_0x1a94c1==null?void 0x0:_0x1a94c1[_0x5b69d1(0x38d)],'endOffset':_0x1a94c1==null?void 0x0:_0x1a94c1[_0x5b69d1(0x259)]});}_0x43ea1c(!0x1),window[_0x5b69d1(0xf3)](()=>{const _0x25cd03=_0x5b69d1;var _0x400160;_0x1d40f2(),(_0x400160=_0x220fcb[_0x25cd03(0x139)])==null||_0x400160['call'](_0x220fcb);});};return(0x0,r['jsx'])(e[_0x506244(0x14e)],{'open':_0x32df55,'onOpenChange':_0x43ea1c,'overlay':(0x0,r['jsx'])('div',{'className':(0x0,e['clsx'])(_0x506244(0x26b),_0x220fcb[_0x506244(0x275)]),'data-u-comp':_0x28b149,'onMouseDown':_0x1d82db=>_0x1d82db[_0x506244(0x3b3)](),'children':_0x204e98[_0x506244(0x34d)](_0x233878=>(0x0,r[_0x506244(0x38f)])(_0x506244(0x188),{'type':'button','className':(0x0,e[_0x506244(0x27b)])(_0x506244(0x3b1),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x233878[_0x506244(0x250)]===(_0x35a531==null?void 0x0:_0x35a531['value'])}),'onClick':()=>_0x5bacbb(_0x233878),'onMouseDown':_0x1dc4d8=>_0x1dc4d8[_0x506244(0x3b3)](),'children':[(0x0,r[_0x506244(0x29d)])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x233878[_0x506244(0x3ae)]}),(0x0,r[_0x506244(0x29d)])(_0x506244(0x360),{'className':'univer-flex-1','children':_0x233878[_0x506244(0x1db)]})]},_0x233878[_0x506244(0x250)]))}),'children':(0x0,r[_0x506244(0x29d)])(_0x506244(0x360),{'children':(0x0,r['jsx'])(e['Tooltip'],{'title':_0x5919b1,'placement':_0x506244(0x254),'children':(0x0,r[_0x506244(0x38f)])(_0x506244(0x188),{'type':_0x506244(0x188),'aria-expanded':_0x32df55,'aria-label':_0x5919b1,'title':_0x5919b1,'className':(0x0,e[_0x506244(0x27b)])(_0x506244(0x230),_0x220fcb[_0x506244(0x36b)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32df55}),'onMouseDown':(_0x501b96=_0x220fcb['onMouseDown'])==null?_0x4c6bd5=>_0x4c6bd5[_0x506244(0x3b3)]():_0x501b96,'children':[(0x0,r[_0x506244(0x29d)])(_0x506244(0x360),{'className':_0x506244(0x24e),'children':(_0x17343b=_0x35a531==null?void 0x0:_0x35a531['icon'])==null?(0x0,r[_0x506244(0x29d)])(t['TextTypeIcon'],{}):_0x17343b}),(0x0,r[_0x506244(0x29d)])(t[_0x506244(0x2c1)],{'className':_0x506244(0x33b)})]})})})});}function fe(_0x9967b2,_0x1008b3){const _0x38bddd=_0x55b3f9;let _0x28feed=[pe(_0x9967b2,a[_0x38bddd(0x27d)]['NORMAL_TEXT'],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x232)],{}),_0x38bddd(0x21d)),pe(_0x9967b2,a['NamedStyleType']['HEADING_1'],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x1c5)],{}),_0x38bddd(0x39e)),pe(_0x9967b2,a['NamedStyleType'][_0x38bddd(0x222)],(0x0,r['jsx'])(t[_0x38bddd(0x290)],{}),'shape-editor-ui.textEditor.paragraphType.heading2'),pe(_0x9967b2,a['NamedStyleType'][_0x38bddd(0xf9)],(0x0,r['jsx'])(t[_0x38bddd(0x377)],{}),_0x38bddd(0x202)),pe(_0x9967b2,a[_0x38bddd(0x27d)][_0x38bddd(0x168)],(0x0,r['jsx'])(t[_0x38bddd(0x115)],{}),'shape-editor-ui.textEditor.paragraphType.heading4'),pe(_0x9967b2,a[_0x38bddd(0x27d)][_0x38bddd(0x155)],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x209)],{}),'shape-editor-ui.textEditor.paragraphType.heading5'),$(_0x9967b2,l[_0x38bddd(0x2ed)]['id'],(0x0,r['jsx'])(t[_0x38bddd(0x1de)],{}),_0x38bddd(0x210)),$(_0x9967b2,l[_0x38bddd(0x363)]['id'],(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x193)],{}),'shape-editor-ui.textEditor.paragraphType.bulletList'),$(_0x9967b2,l[_0x38bddd(0x26d)]['id'],(0x0,r['jsx'])(t[_0x38bddd(0x1a6)],{}),'shape-editor-ui.textEditor.paragraphType.checkList')],_0x9746ea=[$(_0x9967b2,_0x38bddd(0x35f),(0x0,r[_0x38bddd(0x29d)])('span',{'className':_0x38bddd(0x25d),'children':'\x22'}),_0x38bddd(0x25f)),$(_0x9967b2,'docs-code.command.insert',(0x0,r[_0x38bddd(0x29d)])(t['CodeIcon'],{}),_0x38bddd(0x2b7)),$(_0x9967b2,_0x38bddd(0x288),(0x0,r[_0x38bddd(0x29d)])(t[_0x38bddd(0x240)],{}),'shape-editor-ui.textEditor.paragraphType.callout')]['filter'](_0x4e4203=>_0x1008b3['hasCommand'](_0x4e4203[_0x38bddd(0x20e)]));return[..._0x28feed,..._0x9746ea];}function pe(_0x1719ce,_0x1cdf6f,_0x1d9376,_0x4789a6){const _0x86325c=_0x55b3f9;return{'icon':_0x1d9376,'label':_0x1719ce['t'](_0x4789a6),'namedStyleType':_0x1cdf6f,'value':_0x86325c(0x236)+_0x1cdf6f};}function $(_0x5443f7,_0x54d2a0,_0x500069,_0x326567){const _0x17dbc9=_0x55b3f9;return{'commandId':_0x54d2a0,'icon':_0x500069,'label':_0x5443f7['t'](_0x326567),'value':_0x17dbc9(0x130)+_0x54d2a0};}function me(_0x120646){const _0x42c771=_0x55b3f9;var _0xe9e2f8,_0x379f37,_0x25bb37,_0x4dcf1e;let _0x431421=(_0xe9e2f8=_0x120646[_0x42c771(0x35d)])==null?void 0x0:_0xe9e2f8['call'](_0x120646);if(_0x431421)return _0x431421;let _0x45dfc8=(_0x379f37=_0x120646[_0x42c771(0x293)]())==null?[]:_0x379f37;return(_0x25bb37=(_0x4dcf1e=_0x45dfc8[_0x42c771(0x2e8)](_0x5c8d1f=>_0x5c8d1f[_0x42c771(0x2ea)]))==null?_0x45dfc8[0x0]:_0x4dcf1e)==null?null:_0x25bb37;}function he(_0x64a777,_0x5b33ce){const _0x5f48f0=_0x55b3f9;var _0x228d18,_0x54c373,_0x1abe9a;let _0x375e55=_0x5b33ce!=null&&_0x5b33ce[_0x5f48f0(0x116)]?_0x64a777==null?void 0x0:_0x64a777[_0x5f48f0(0x393)](_0x5b33ce[_0x5f48f0(0x116)])[_0x5f48f0(0x19f)]():_0x64a777==null?void 0x0:_0x64a777['getBody'](),_0x6dfc07=(_0x228d18=_0x375e55==null?void 0x0:_0x375e55[_0x5f48f0(0x1dc)])==null?[]:_0x228d18,_0x2b24a4=(_0x54c373=_0x5b33ce==null?void 0x0:_0x5b33ce['startOffset'])==null?0x0:_0x54c373;return(_0x1abe9a=_0x6dfc07[_0x5f48f0(0x2e8)](_0x518cc3=>_0x518cc3['startIndex']>=_0x2b24a4))==null?_0x6dfc07[_0x6dfc07['length']-0x1]:_0x1abe9a;}function ge(_0x4443fc,_0x59ddf4){const _0x4fa13c=_0x55b3f9;return Math[_0x4fa13c(0x112)](_0x4443fc-_0x59ddf4)<=0.001;}function _e(_0x4ce46f,_0x3cd52a){const _0x18be6a=_0x55b3f9;return ge(_0x4ce46f[_0x18be6a(0xf8)],_0x3cd52a[_0x18be6a(0xf8)])&&ge(_0x4ce46f[_0x18be6a(0x106)],_0x3cd52a[_0x18be6a(0x106)])&&ge(_0x4ce46f[_0x18be6a(0x10f)],_0x3cd52a[_0x18be6a(0x10f)])&&ge(_0x4ce46f[_0x18be6a(0x11c)],_0x3cd52a[_0x18be6a(0x11c)])&&ge(_0x4ce46f[_0x18be6a(0x2d2)],_0x3cd52a['angle'])&&ge(_0x4ce46f['scaleX'],_0x3cd52a[_0x18be6a(0x12b)])&&ge(_0x4ce46f[_0x18be6a(0x37d)],_0x3cd52a[_0x18be6a(0x37d)]);}function _0x16b9(){const _0x44fea2=['H2Icon','subUnitId','shape-editor-ui.fill.pictureFill','getTextRanges','shape-editor-ui.line.arrowSize.medium','shape-editor-ui.line.arrowType.openArrow','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','KeyCode','GradientColorPicker','shape-editor-ui.toolbar.textBackgroundColor','shape-editor-ui.toolbar.expandShapeToolbar','shape-editor-ui.line.joinType.miter','getActualSize','jsx','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','566350wMIKnY','shape-editor-ui.line.beginArrowType','pages','shape-editor-ui.toolbar.strikethrough','onForward','endNodePosition','LongDash','useIsFocusing','_context','typography-vertical-align-row','select','blur','fill','textRuns','main','SetInlineFormatSuperscriptCommand','ShapeDefaultConfig','univer-w-28','NORMAL_TEXT','useObservable','transformByState','options','root','ShapeGradientTypeEnum','shape-editor-ui.textEditor.paragraphType.code','Stretch','number','\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','HorizontallyIcon','shape-editor-ui.line.noLine','\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','shape-editor-ui.toolbar.italic','horizontalAlign','DeleteIcon','MoreDownIcon','content','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-300','DELETE','isBold','lineStrokeType','angular','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','AlignJustifyCommand','TOP','FOCUSING_PANEL_EDITOR','StealthArrow','toPrimitive','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','shape-editor-ui.fill.solidFill','function','current','angle','top-center','Arrow','getImageSize','DashDot','monospace','BaselineOffset','#000000','Freehand','ShapeLineEditor','MIDDLE','with','PERIOD','register','Fragment','length','typography-horizontal-align-row','shape-editor-ui.line.dashType.longDashDotDot','shape-editor-ui.toolbar.alignCenter','SetInlineFormatStrikethroughCommand','gradientStops','shape-editor-ui.fill.picture.offsetY','find','domY','isActive','updateDocumentRenderConfig','stops','OrderListCommand','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','#3B82F6','24AjqZAf','SolidFill','deepClone','textRanges','SetInlineFormatFontSizeCommand','SetInlineFormatBoldCommand','Tile','pageMarginTop','shape-floating-toolbar-collapsed','string','BACKSPACE','renderConfig','SetInlineFormatTextFillCommand','UNSPECIFIED','getSkeletonData','univer-relative\x20univer-size-full\x20univer-overflow-visible','square','min','viewportKeys','WrapStrategy','univer-grid\x20univer-grid-cols-[repeat(3,minmax(0,1fr))_76px]\x20univer-items-center\x20univer-gap-1','forwardLabel','univer-flex\x20univer-h-6\x20univer-w-6\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','ShapeStrokeColorDoubleIcon','useCallback','getSkeleton','mode','prototype','1\x203','shape-editor-ui.line.capType.title','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','shape-editor-ui.line.width','BottomIcon','shape-editor-ui.line.solidLine','shape-editor-ui.line.joinType.bevel','underline','shape-editor-ui.toolbar.resetColor','body','Digit8','BooleanNumber','#2563EB','shape-editor-ui.toolbar.underline','Tools','ResetInlineFormatTextBackgroundColorCommand','rotate(-90deg)','univer-w-20','ShapeArrowSizeEnum','SUPERSCRIPT','paddingTop','subscribe','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','RightJustifyingIcon','imageOpacity','shape-editor-ui.toolbar.alignJustify','ShapeLineJoinEnum','M2.5\x2010H5.7','applyShapeTextEditorCanvasTransparency','shape-editor-ui.textWrap.inline','useMemo','AlignCenterCommand','MetaKeys','files','collapsed','shape-editor-ui.fill.picture.source','svg','createDefaultShapeTextDocument','abd','useRef','\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','finally','allowHostSizeShrink','vertexAngle','style','shape-editor-ui.toolbar.alignLeft','stopPropagation','univer-text-xs','transparent','textFill','shape-editor-ui.line.color','DocSettingIcon','getAncestorScale','getViewport','ShapeLineCapEnum','shape-editor-ui.fill.gradientFill','getSnapshot','Tooltip','bottom-center','toolbarComponent','Flat','IRenderManagerService','prepareShapeTextDocumentData','Accordion','updateDocumentDataMargin','map','univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.longDashDot','fillImageSource','editorLeft','useEffect','getShapeModel','dataStream','createParagraphId','SetInlineFormatTextBackgroundColorCommand','Digit7','[data-u-comp=\x22shape-stroke-dash-dropdown\x22]','fillType','setEditing','univer-w-full','children','getActiveTextRange','dashType','docs-quote.command.insert','span','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','flipY','BulletListCommand','isNaN','univer-flex\x20univer-flex-col','shape-editor-ui.line.arrowType.diamondArrow','includes','DocSelectionManagerService','shape-editor-ui.line.endArrowType','shape-editor-ui.fill.title','buttonClassName','engine','closest','stroke','updateShapeText','RIGHT','PictureFill','8\x202','HandDrawn','shape-editor-ui.line.dashType.solid','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','Disposable','H3Icon','source','AlignTopIcon','univer-w-[168px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','sketchType','FONT_SIZE_LIST','scaleY','shape-editor-ui.align.bottom','ceil','univer-h-0\x20univer-w-7\x20univer-border-t-2\x20univer-border-solid\x20univer-border-gray-400\x20dark:!univer-border-gray-300','colStartX','shape-text','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getShapeTextEditorKeyboardConfig','getShapeTextModel','getCurrentUnitOfType','shape-editor-ui.line.sketchType.title','sectionBreaks','_floatMenu','shape-floating-toolbar','stretch','AlignRightCommand','startOffset','updateDocumentStyle','jsxs','Diamond','AlignLeftCommand','butt','getSelfOrHeaderFooterModel','_docSelectionRenderService','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.dash','PaintBucketDoubleIcon','M2.5\x2015.5H8.2','strikethrough','getRenderById','executeCommand','none','shape-editor-ui.line.arrowType.ovalArrow','shape-editor-ui.textEditor.paragraphType.heading1','trim','ImageFillModeEnum','filter','input','then','imageFillMode','offset','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','getObjectIncludeInGroup','baselineHeight','getShapeTextRect','onTransformChange$','univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','getShapeTextData','#8B5CF6','icon','univer-text-sm','Radio','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','RadioGroup','preventDefault','linear','toStringTag','offsetY','documentStyle','univer-flex\x20univer-flex-col\x20univer-gap-1.5','wrapStrategy','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','dash','DeleteLeftCommand','_componentManager','fontSize','8214SYtVnA','univer-box-border\x20univer-flex\x20univer-max-w-[760px]\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','componentKey','Reset\x20color','updateHostHeight','endArrow','shape-text-editor-position-wrapper','columns','textSelection$','color','Solid','diamond','univer-w-14','SHIFT','imageTile','shape-editor-ui.fill.picture.align.tr','3165nzABRj','univer-text-xl','section','nextWidth','rgb','Linear','requestAnimationFrame','shape-editor-ui.fill.picture.align.t','getBoundingClientRect','backgroundColor','size','left','HEADING_3','!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','getItem','round','stripShapeTextDocumentLayout','range','HorizontalAlign','1.4','LongDashDotDot','shape-text-editor','attachPopupToRange','shape-editor-ui.fill.transparency','univer-relative\x20univer-flex\x20univer-h-5\x20univer-w-10\x20univer-items-center\x20univer-justify-center','top','centerAngle','Large','SetInlineFormatItalicCommand','UndoCommand','ShapeBackgroundColorDoubleIcon','-line','12MWcnMg','call','width','memo','VerticalAlign','abs','useKeyboardEvent','end','H4Icon','segmentId','defineProperty','ShapeLineTypeEnum','shape-editor-ui.fill.color','img','ColorPicker','height','onChange','univer-hidden','Radial','isUnderline','keys','univer-text-xl\x20univer-text-gray-500','univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','DocSelectAllCommand','onBack','backLabel','117wnMOBs','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','forEach','frontLabel','scaleX','VerticalCenterIcon','startNodePosition','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-editor-ui.line.dashType.roundDot','command:','isRichText','catch','path','pageHeight','getStyleInTextRange','shapeText','shape-editor-ui.line.endArrowSize','backward','onAfterCommand','editingParams$','\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','univer-text-primary-600','shape-editor-ui.fill.picture.scaleX','Round','editorHeight','LongDashDot','setContextValue','6023760KVLFAe','parseFloat','fontFamily','IContextService','addImageSourceCache','DocumentFlavor','4097093mYgAqM','shape-text-editor-content','DocSkeletonManagerService','startArrow','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','Select','Dropdown','DEFAULT_STYLES','univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center','SetInlineFormatUnderlineCommand','LEFT','shape-editor-ui.toolbar.alignRight','unsubscribe','HEADING_5','setTimeout','boolean','univer-text-gray-600\x20univer-transition-transform','shape-editor-ui.fill.picture.align.l','gradientAngle','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','doc','univer-absolute','custom','onClick','shape-editor-ui.openPanel','univer-flex-1','radial','shape-editor-ui.line.title','LocaleService','NoLine','shape-stroke-dash-dropdown','univer-w-4\x20univer-rounded-l-none\x20univer-rounded-r-md\x20univer-border-l\x20univer-border-solid\x20univer-border-gray-200\x20dark:!univer-border-gray-700','HEADING_4','divider','317096BnXvGr','shape-editor-ui.fill.picture.align.bl','transparency','_config','setSelectionRanges','univer-gap-3','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','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','fonts$','click','shape-editor-ui.fill.picture.align.ctr','ShapeEditPanel','useDependency','FALSE','gradient','domX','gradientType','onScrollAfter$','shape-editor-ui.line.sketchType.none','shape-editor-ui.toolbar.textColor','components','solid','univer-flex\x20univer-flex-col\x20univer-gap-2','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','univer-h-5\x20univer-w-12','shape-editor-ui.line.transparency','DiamondArrow','IImageIoService','AlignBottomIcon','onBackward','button','scene','shapeKey','ShapeTextPositionWrapper','noFill','text','shape-editor-ui.shapePosition','shape-editor-ui.line.arrowType.none','onBeforeCommand','useLeftAndRightArrow','shape-editor-ui.fill.picture.rotateWithShape','UnorderIcon','opticalVerticalAlign','onCommandExecuted','saveImage','shapeId','COMMA','RichTextEditingMutation','isStrike','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','cornerRadius','1234191MWTUui','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','getBody','TRUE','4\x202\x201\x202','4\x202','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','sup','#111827','TodoListDoubleIcon','univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','6.8','GridType','2692LGFYAl','8\x202\x201\x202','Picture','shape-editor-ui.fill.picture.insert','title','ILocalStorageService','clearUndoRedoHistory','shape-editor-ui.toolbar.collapseShapeToolbar','textStyle','ItalicIcon','paragraphStyle','disposeWithMe','shape-editor-ui.line.dashType.squareDot','ICommandService','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','ShapeLineDashEnum','None','univer-flex\x20univer-items-center\x20univer-justify-between','picture','shape-editor-ui.toolbar.superscript','divides','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','div','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20[data-u-comp=\x22select\x22],\x20.univer-select','dataModel','sub','textWrap','H1Icon','1em','Typography','shape-editor-ui.align.middle','univer-pt-2','useEditor','univer-w-7\x20univer-rounded-l-md\x20univer-rounded-r-none','getDocRanges','univer-flex-1\x20univer-overflow-auto','verticalAlign','ShapeTextFloatMenuRenderControllerBase','_hideFloatMenu','TopmostIcon','gridType','nextHeight','Bevel','getDocumentData','Medium','ShapeFillEnum','symbol','GradientFill','visible','label','paragraphs','unitId','OrderIcon','target','SquareDot','borderClassName','push','line','Checkbox','pictureFill','subscribeEvent','spaceAbove','ShapeImageFillEditor','onSelectionStart$','useState','SUBSCRIPT','shape-editor-ui.line.arrowSize.large','solidFill','isHorizontal','#ffffff','univer-pointer-events-none\x20univer-opacity-60','true','0\x200\x2048\x2020','deepCompare','constructor','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','shape-editor-ui.deleteShape','shape-editor-ui.fill.picture.align.b','univer-flex\x20univer-items-center\x20univer-gap-3','iterator','getObject','InputNumber','lines','type','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','DEFAULT','key','setItem','shape-editor-ui.textEditor.paragraphType.heading3','univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x20dark:!univer-text-gray-100','shape-editor-ui.line.dashType.title','image/*','univer-flex\x20univer-h-6\x20univer-items-center','univer-w-[260px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','_docSelectionManagerService','H5Icon','Small','group\x20univer-relative\x20univer-inline-block','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','shape-editor-ui.fill.picture.align.r','commandId','univer-my-1\x20univer-h-px\x20univer-bg-gray-200\x20dark:!univer-bg-gray-700','shape-editor-ui.textEditor.paragraphType.orderedList','capType','BoldIcon','imageRotateWithShape','_docCanvasPopManagerService','auto','shape-editor-ui.line.joinType.round','getUnitId','shape-editor-ui.line.capType.round','opacity','shape-editor-ui.line.joinType.title','test','shapeTextOpticalVerticalAlign','shape-editor-ui.textEditor.paragraphType.normal','lineJoinType','shape-editor-ui.line.cornerRadius','isItalic','Curved','HEADING_2','bBox','rowStartY','BOTTOM','_showFloatMenu','univer-gap-2','shape-editor-ui.toolbar.bold','bold','shape-editor-ui.fill.noFill','asc','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','219fqUnkI','_initSelectionChange','univer-rounded-lg\x20univer-p-3','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','getSelectionRanges','TextTypeIcon','object','Segmented','direction','heading:','deg)\x20scaleY(','worksheet','editorWidth','namedStyleType','WRAP','start','max','univer-text-xs\x20univer-text-gray-600\x20univer-transition-transform\x20dark:!univer-text-gray-300','RoundDot','ShapeCallout1Icon','isFinite','univer-block\x20univer-w-full','univer-relative\x20univer-inline-flex\x20univer-justify-center','rect','UniverInstanceType','active','calculate','leftTop','group','rgba(0,\x200,\x200,\x200)','ShapeTextEditor','0\x200\x2020\x2020','getFreeze','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','Color','value','currentColor','OpenArrow','sections','bottom','ShapeSketchTypeEnum','editorUnitId','univer-size-full','NoFill','endOffset','file','backwardLabel','join','univer-text-base','getCanvasElement','shape-editor-ui.textEditor.paragraphType.quote','mainComponent','ctr','dispose','shape-editor-ui.line.capType.square','executeEditorUndoRedoCommand','disabled','getUnit','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','textRect','univer-flex\x20univer-flex-col\x20univer-gap-3','SolidLine','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','Module','CheckListCommand','IUniverInstanceService','SetParagraphNamedStyleCommand','MoreRightIcon','SetInlineFormatSubscriptCommand','replace','zeroWidthParagraphBreak','RedoCommand','className','ShapeArrowTypeEnum','MoveUpIcon','UNIVER_DOC','editorTop','italic','clsx','univer-w-12','NamedStyleType','Dash','VERTICAL_ROTATE_ANGLE','\x20px','updateHostSize','aba','Angular','TRADITIONAL','setZoomRatio','vertical','getDrawingTransform','docs-callout.command.insert','marginTop','Gradient','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','pageMarginLeft','SetTextSelectionsOperation','Square','StrikethroughIcon'];_0x16b9=function(){return _0x44fea2;};return _0x16b9();}const ve={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function ye(_0x495304,_0xf74936,_0x4f71be,_0x336b85,_0x2112d2){const _0x4c77b4=_0x55b3f9;let {scaleX:_0x21214c,scaleY:_0x53cceb}=_0x4f71be[_0x4c77b4(0x340)](),{startColumn:_0x5082d6,startRow:_0x47ccb3,xSplit:_0x5384e9,ySplit:_0x57912d}=_0x336b85[_0x4c77b4(0x238)][_0x4c77b4(0x24d)](),_0x1b77bf=_0x4f71be[_0x4c77b4(0x341)](_0x2112d2[_0x4c77b4(0x2ad)]),_0x179652=_0x4f71be['getViewport'](_0x2112d2['leftTop']),_0x2dafda=_0x4f71be[_0x4c77b4(0x341)](_0x2112d2['top']),_0x391e61=_0x4f71be[_0x4c77b4(0x341)](_0x2112d2['left']),{rowHeaderWidth:_0x395426,columnHeaderHeight:_0xc01a42}=_0x336b85,_0x56636b=_0x336b85['rowStartY'](_0x47ccb3)+_0xc01a42,_0x580e62=_0x336b85[_0x4c77b4(0x381)](_0x5082d6)+_0x395426,_0x148e65=_0x336b85[_0x4c77b4(0x224)](_0x47ccb3-_0x57912d)+_0xc01a42,_0x28173a=_0x336b85[_0x4c77b4(0x381)](_0x5082d6-_0x5384e9)+_0x395426,_0x5cd5d9=[],_0x3c9a85=(_0x842f40,_0x19caa4,_0x26b750)=>{if(!_0x842f40)return null;let {viewportScrollX:_0xdca34d,viewportScrollY:_0x4f892c}=_0x842f40,_0x46a163,_0x9e1a7d;return _0x46a163=_0x19caa4?(_0x495304-(_0x28173a-_0x395426))*_0x21214c:(_0x495304-_0xdca34d)*_0x21214c,_0x9e1a7d=_0x26b750?(_0xf74936-(_0x148e65-_0xc01a42))*_0x53cceb:(_0xf74936-_0x4f892c)*_0x53cceb,{'domX':_0x46a163,'domY':_0x9e1a7d};},_0x28d01d=_0x495304<_0x580e62&&_0x5384e9>0x0,_0x2b8928=_0xf74936<_0x56636b&&_0x57912d>0x0,_0x50fefd=_0x495304>=_0x580e62||_0x5384e9===0x0,_0x50e829=_0xf74936>=_0x56636b||_0x57912d===0x0;if(_0x28d01d&&_0x2b8928&&_0x179652){let _0x26f663=_0x3c9a85(_0x179652,!0x0,!0x0);_0x26f663&&_0x5cd5d9[_0x4c77b4(0x1e2)](_0x26f663);}if(_0x2b8928&&_0x50fefd&&_0x2dafda){let _0x41ef11=_0x3c9a85(_0x2dafda,!0x1,!0x0);_0x41ef11&&_0x5cd5d9[_0x4c77b4(0x1e2)](_0x41ef11);}if(_0x28d01d&&_0x50e829&&_0x391e61){let _0x135f8f=_0x3c9a85(_0x391e61,!0x0,!0x1);_0x135f8f&&_0x5cd5d9['push'](_0x135f8f);}if(_0x50fefd&&_0x50e829&&_0x1b77bf){let _0x40f0c3=_0x3c9a85(_0x1b77bf,!0x1,!0x1);_0x40f0c3&&_0x5cd5d9[_0x4c77b4(0x1e2)](_0x40f0c3);}if(_0x5cd5d9[_0x4c77b4(0x2e1)]===0x0){var _0x8b7902,_0xfb3b8;return{'domX':(_0x495304-((_0x8b7902=_0x1b77bf==null?void 0x0:_0x1b77bf['viewportScrollX'])==null?0x0:_0x8b7902))*_0x21214c,'domY':(_0xf74936-((_0xfb3b8=_0x1b77bf==null?void 0x0:_0x1b77bf['viewportScrollY'])==null?0x0:_0xfb3b8))*_0x53cceb};}let _0x5bb7d2=_0x5cd5d9[0x0][_0x4c77b4(0x179)],_0x48bc0d=_0x5cd5d9[0x0][_0x4c77b4(0x2e9)];for(let _0x528f16 of _0x5cd5d9)_0x528f16[_0x4c77b4(0x179)]>_0x5bb7d2&&(_0x5bb7d2=_0x528f16['domX']),_0x528f16[_0x4c77b4(0x2e9)]>_0x48bc0d&&(_0x48bc0d=_0x528f16[_0x4c77b4(0x2e9)]);return{'domX':_0x5bb7d2,'domY':_0x48bc0d};}function be(_0x31ecdc,_0x4c8cc9,_0x185797,_0xb7a39c,_0xf3b01b,_0x30e51d,_0x3dc7a6,_0x41c8c1){const _0x3ac93f=_0x55b3f9;let {scaleX:_0x498ce1,scaleY:_0x2277d6}=_0x30e51d[_0x3ac93f(0x340)]();if(!_0x41c8c1||!_0x3dc7a6[_0x3ac93f(0x248)]||!_0x3dc7a6[_0x3ac93f(0x106)]||!_0x3dc7a6[_0x3ac93f(0xf8)]){var _0x3926d6,_0x4cb12d;let _0x4afe65=_0x30e51d['getViewport'](_0x3dc7a6[_0x3ac93f(0x2ad)]),_0x1610b1=(_0x3926d6=_0x4afe65==null?void 0x0:_0x4afe65['viewportScrollX'])==null?0x0:_0x3926d6,_0x599e4b=(_0x4cb12d=_0x4afe65==null?void 0x0:_0x4afe65['viewportScrollY'])==null?0x0:_0x4cb12d;return{'left':(_0x31ecdc-_0x1610b1)*_0x498ce1,'top':(_0x4c8cc9-_0x599e4b)*_0x2277d6,'width':_0x185797*_0x498ce1,'height':_0xb7a39c*_0x2277d6,'angle':_0xf3b01b,'scaleX':_0x498ce1,'scaleY':_0x2277d6};}let {domX:_0x48b869,domY:_0x135d09}=ye(_0x31ecdc,_0x4c8cc9,_0x30e51d,_0x41c8c1,_0x3dc7a6);return{'left':_0x48b869,'top':_0x135d09,'width':_0x185797*_0x498ce1,'height':_0xb7a39c*_0x2277d6,'angle':_0xf3b01b,'scaleX':_0x498ce1,'scaleY':_0x2277d6};}function xe(_0x45618c){const _0x133ba7=_0x55b3f9;let {editingParams:_0x50412f,scene:_0x13efab,skeleton:_0x203707,viewportKeys:_0x5970dc,getShapeTransform:_0x284abc}=_0x45618c,[_0x541ce4,_0x4aebf5]=(0x0,n[_0x133ba7(0x1ea)])(ve),_0x1b554a=(0x0,n['useRef'])(_0x541ce4);_0x1b554a[_0x133ba7(0x2d1)]=_0x541ce4;let _0x14fe4c=(0x0,n[_0x133ba7(0x308)])(()=>{const _0x5a943a=_0x133ba7;if(!_0x50412f||!_0x13efab){_e(_0x1b554a[_0x5a943a(0x2d1)],ve)||_0x4aebf5(ve);return;}let _0x2977ae=_0x284abc();if(!_0x2977ae){_e(_0x1b554a[_0x5a943a(0x2d1)],ve)||_0x4aebf5(ve);return;}let {left:_0x474be8,top:_0x2a5c24,width:_0x5daa2a,height:_0x5ba432,angle:_0x54ed30}=_0x2977ae;if(!_0x50412f[_0x5a943a(0x1da)]){let {scaleX:_0x527e4c,scaleY:_0x5e3d73}=_0x13efab[_0x5a943a(0x340)](),_0x312b93={'left':-0x270f,'top':-0x270f,'width':_0x5daa2a*_0x527e4c,'height':_0x5ba432*_0x5e3d73,'angle':0x0,'scaleX':_0x527e4c,'scaleY':_0x5e3d73};_0x4aebf5(_0x550952=>_e(_0x550952,_0x312b93)?_0x550952:_0x312b93);return;}let _0x130259=be(_0x474be8,_0x2a5c24,_0x5daa2a,_0x5ba432,_0x54ed30,_0x13efab,_0x5970dc,_0x203707);_0x4aebf5(_0x5c5c87=>_e(_0x5c5c87,_0x130259)?_0x5c5c87:_0x130259);},[_0x50412f,_0x13efab,_0x203707,_0x5970dc,_0x284abc]);return(0x0,n[_0x133ba7(0x352)])(()=>{_0x14fe4c();},[_0x50412f,_0x14fe4c]),{'position':_0x541ce4,'updatePosition':_0x14fe4c};}function Se(_0x2d4c0e){const _0x25b690=_0x55b3f9;var _0x5e3ef7;let _0x5aece2=(_0x5e3ef7=_0x2d4c0e[_0x25b690(0x315)])==null?void 0x0:_0x5e3ef7[_0x25b690(0x1dc)],_0x26577e,_0xd7fa9d=!0x1;if(!_0x5aece2)return{'hasParagraphAlign':_0xd7fa9d,'isMixed':!0x1};for(let _0x344b75 of _0x5aece2){var _0x58d736;let _0x2a9216=(_0x58d736=_0x344b75[_0x25b690(0x1b4)])==null?void 0x0:_0x58d736['horizontalAlign'];if(_0x2a9216!==void 0x0){if(!_0xd7fa9d){_0x26577e=_0x2a9216,_0xd7fa9d=!0x0;continue;}if(_0x26577e!==_0x2a9216)return{'hasParagraphAlign':!0x0,'isMixed':!0x0};}}return{'horizontalAlign':_0x26577e,'hasParagraphAlign':_0xd7fa9d,'isMixed':!0x1};}function Ce(_0x3bd932,_0x4b2c84={}){const _0x3a279d=_0x55b3f9;var _0x269c19,_0x3955a9,_0x391d72;let _0x46605f=(_0x269c19=_0x3bd932['documentStyle'])==null?void 0x0:_0x269c19[_0x3a279d(0x2fb)],_0x2a5d42=Se(_0x3bd932);return{'horizontalAlign':_0x2a5d42['hasParagraphAlign']?_0x2a5d42['isMixed']?void 0x0:_0x2a5d42[_0x3a279d(0x2bf)]:(_0x3955a9=_0x46605f==null?void 0x0:_0x46605f['horizontalAlign'])==null?_0x4b2c84[_0x3a279d(0x2bf)]:_0x3955a9,'verticalAlign':(_0x391d72=_0x46605f==null?void 0x0:_0x46605f[_0x3a279d(0x1ce)])==null?_0x4b2c84['verticalAlign']:_0x391d72};}function we(_0x458a86,_0x1a06fe){const _0x545911=_0x55b3f9;var _0x5d2fe8;let _0x59818c=(_0x5d2fe8=_0x458a86[_0x545911(0x3b7)])==null?{}:_0x5d2fe8,_0x381d9e={..._0x59818c[_0x545911(0x2fb)]};if(_0x1a06fe[_0x545911(0x1ce)]!==void 0x0&&(_0x381d9e[_0x545911(0x1ce)]=_0x1a06fe['verticalAlign']),_0x1a06fe['horizontalAlign']!==void 0x0){var _0x5165f2;_0x381d9e[_0x545911(0x2bf)]=_0x1a06fe[_0x545911(0x2bf)];let _0x11d77d=(_0x5165f2=_0x458a86['body'])==null?void 0x0:_0x5165f2['paragraphs'];if(_0x11d77d){for(let _0x466c00 of _0x11d77d)_0x466c00[_0x545911(0x1b4)]={..._0x466c00[_0x545911(0x1b4)],'horizontalAlign':_0x1a06fe[_0x545911(0x2bf)]};}}_0x458a86[_0x545911(0x3b7)]={..._0x59818c,'renderConfig':Object['keys'](_0x381d9e)[_0x545911(0x2e1)]>0x0?_0x381d9e:void 0x0};}function Te(_0x391e7b){const _0x328683=_0x55b3f9;var _0x9db080,_0x4ef28,_0x3d8892,_0x3b53aa;let _0x3aa2b8=(_0x9db080=(_0x4ef28=_0x391e7b[_0x328683(0x315)])==null||(_0x4ef28=_0x4ef28['dataStream'])==null?void 0x0:_0x4ef28[_0x328683(0x2e1)])==null?0x0:_0x9db080,_0x76b07d=(_0x3d8892=_0x391e7b[_0x328683(0x315)])==null?void 0x0:_0x3d8892[_0x328683(0x388)];if(_0x76b07d!=null&&_0x76b07d['length'])for(let _0x622816 of _0x76b07d){var _0x17c107;_0x622816[_0x328683(0x1d2)]=(_0x17c107=_0x622816['gridType'])==null?a[_0x328683(0x1a9)][_0x328683(0x1ff)]:_0x17c107;}else _0x391e7b[_0x328683(0x315)]&&(_0x391e7b[_0x328683(0x315)]['sectionBreaks']=[{'startIndex':Math[_0x328683(0x23d)](0x0,_0x3aa2b8-0x1),'gridType':a[_0x328683(0x1a9)][_0x328683(0x1ff)]}]);let _0x32e15c=(_0x3b53aa=_0x391e7b[_0x328683(0x315)])==null?void 0x0:_0x3b53aa[_0x328683(0x1dc)];if(_0x32e15c)for(let _0x21fb70 of _0x32e15c){var _0x53b264,_0x349b6b,_0xc05da7,_0x24ae31,_0x4adfd2,_0x127a4b,_0x47b147,_0x5e6e8a;_0x21fb70[_0x328683(0x1b4)]={..._0x21fb70['paragraphStyle'],'lineSpacing':(_0x53b264=(_0x349b6b=_0x21fb70[_0x328683(0x1b4)])==null?void 0x0:_0x349b6b['lineSpacing'])==null?0x1:_0x53b264,'snapToGrid':(_0xc05da7=(_0x24ae31=_0x21fb70[_0x328683(0x1b4)])==null?void 0x0:_0x24ae31['snapToGrid'])==null?a[_0x328683(0x317)][_0x328683(0x177)]:_0xc05da7,'spaceAbove':(_0x4adfd2=(_0x127a4b=_0x21fb70['paragraphStyle'])==null?void 0x0:_0x127a4b[_0x328683(0x1e7)])==null?{'v':0x0}:_0x4adfd2,'spaceBelow':(_0x47b147=(_0x5e6e8a=_0x21fb70['paragraphStyle'])==null?void 0x0:_0x5e6e8a['spaceBelow'])==null?{'v':0x0}:_0x47b147};}}function Ee(_0x4fbe93){const _0x31ec18=_0x55b3f9;let _0xa03800=_0x4fbe93[_0x31ec18(0x315)],_0x13ba68=_0xa03800==null?void 0x0:_0xa03800[_0x31ec18(0x1dc)],_0x5db8a3=_0xa03800==null?void 0x0:_0xa03800[_0x31ec18(0x354)];if(!_0xa03800||!(_0x13ba68!=null&&_0x13ba68[_0x31ec18(0x2e1)])||!_0x5db8a3)return;let _0x5c8ffb=[];for(let _0x42be9d=0x0;_0x42be9d<_0x5db8a3['length'];_0x42be9d++)_0x5db8a3[_0x42be9d]==='\x0d'&&_0x5c8ffb[_0x31ec18(0x1e2)](_0x42be9d);_0x5c8ffb[_0x31ec18(0x2e1)]===_0x13ba68[_0x31ec18(0x2e1)]&&(_0xa03800[_0x31ec18(0x1dc)]=_0x13ba68['map']((_0x4c9d55,_0xa19c5c)=>({..._0x4c9d55,'startIndex':_0x5c8ffb[_0xa19c5c]})));}function De(_0x22940b,_0x335ccd){const _0xcaf13e=_0x55b3f9;var _0x166498,_0x676ded,_0x440f65,_0x89d1f6,_0x2d0193,_0x5c424a,_0x2e68c3,_0x50a542,_0xa15d1e,_0x3ca671,_0x2d4132;let {isHorizontal:_0x5c7334,textRect:_0x2f51d3}=_0x335ccd,_0x42a810=_0x5c7334?_0x2f51d3[_0xcaf13e(0x10f)]:_0x2f51d3[_0xcaf13e(0x11c)],_0x4942c9=a[_0xcaf13e(0x31a)]['deepClone'](_0x22940b),_0x22ef5c=(_0x166498=_0x4942c9[_0xcaf13e(0x3b7)])==null?{}:_0x166498,_0x2e727b={..._0x22ef5c[_0xcaf13e(0x2fb)],'centerAngle':_0x5c7334?0x0:u['VERTICAL_ROTATE_ANGLE'],'vertexAngle':_0x5c7334?0x0:u[_0xcaf13e(0x27f)],'wrapStrategy':(_0x676ded=(_0x440f65=_0x335ccd[_0xcaf13e(0x3b9)])==null?(_0x89d1f6=_0x22ef5c[_0xcaf13e(0x2fb)])==null?void 0x0:_0x89d1f6[_0xcaf13e(0x3b9)]:_0x440f65)==null?a[_0xcaf13e(0x303)][_0xcaf13e(0x23b)]:_0x676ded,'zeroWidthParagraphBreak':(_0x2d0193=(_0x5c424a=_0x22ef5c[_0xcaf13e(0x2fb)])==null?void 0x0:_0x5c424a[_0xcaf13e(0x273)])==null?a[_0xcaf13e(0x317)][_0xcaf13e(0x1a0)]:_0x2d0193,'shapeTextOpticalVerticalAlign':_0x5c7334?(_0x2e68c3=(_0x50a542=_0x22ef5c['renderConfig'])==null?void 0x0:_0x50a542[_0xcaf13e(0x21c)])==null?a[_0xcaf13e(0x317)][_0xcaf13e(0x1a0)]:_0x2e68c3:a[_0xcaf13e(0x317)]['FALSE']};_0x4942c9[_0xcaf13e(0x3b7)]={..._0x22ef5c,'documentFlavor':a[_0xcaf13e(0x147)][_0xcaf13e(0x284)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x42a810,'height':0x1/0x0},'renderConfig':_0x2e727b},Ee(_0x4942c9),Te(_0x4942c9);let _0x5afba0=Ce(_0x4942c9,_0x335ccd);return we(_0x4942c9,{'horizontalAlign':(_0xa15d1e=_0x335ccd[_0xcaf13e(0x2bf)])==null?_0x5afba0[_0xcaf13e(0x2bf)]:_0xa15d1e,'verticalAlign':(_0x3ca671=_0x335ccd[_0xcaf13e(0x1ce)])==null?_0x5afba0[_0xcaf13e(0x1ce)]:_0x3ca671}),(_0x2d4132=_0x4942c9['documentStyle'])==null||(_0x2d4132=_0x2d4132[_0xcaf13e(0x2fb)])==null||delete _0x2d4132['horizontalAlign'],_0x4942c9;}function Oe(_0x2a8dac,_0x38d20b={}){const _0xf88aea=_0x55b3f9;var _0x35a1ec,_0x2955ea,_0x1450da;let _0x29ac49=a[_0xf88aea(0x31a)][_0xf88aea(0x2f2)](_0x2a8dac),_0x565d4a=(_0x35a1ec=_0x29ac49['documentStyle'])==null?{}:_0x35a1ec,_0x210449={..._0x565d4a[_0xf88aea(0x2fb)]},_0x2aa576=Ce(_0x29ac49,_0x38d20b),_0x43f459=(_0x2955ea=_0x38d20b[_0xf88aea(0x2bf)])==null?_0x2aa576['horizontalAlign']:_0x2955ea,_0x18026f=(_0x1450da=_0x38d20b[_0xf88aea(0x1ce)])==null?_0x2aa576[_0xf88aea(0x1ce)]:_0x1450da;delete _0x210449[_0xf88aea(0x107)],delete _0x210449[_0xf88aea(0x337)],delete _0x210449['wrapStrategy'];let _0x1bd97c=_0x210449['shapeTextOpticalVerticalAlign'];return(_0x1bd97c===a[_0xf88aea(0x317)][_0xf88aea(0x1a0)]||_0x1bd97c===!0x0)&&delete _0x210449['shapeTextOpticalVerticalAlign'],_0x29ac49[_0xf88aea(0x3b7)]={..._0x565d4a,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0xf88aea(0x121)](_0x210449)[_0xf88aea(0x2e1)]>0x0?_0x210449:void 0x0},we(_0x29ac49,{'horizontalAlign':_0x43f459,'verticalAlign':_0x18026f}),_0x29ac49;}function ke(_0x553a1d){'@babel/helpers - typeof';const _0x3ddc3b=_0x55b3f9;return ke=typeof Symbol==_0x3ddc3b(0x2d0)&&typeof Symbol[_0x3ddc3b(0x1f9)]==_0x3ddc3b(0x1d8)?function(_0x1bc5c6){return typeof _0x1bc5c6;}:function(_0x4e5e29){const _0x563a06=_0x3ddc3b;return _0x4e5e29&&typeof Symbol==_0x563a06(0x2d0)&&_0x4e5e29[_0x563a06(0x1f4)]===Symbol&&_0x4e5e29!==Symbol[_0x563a06(0x30b)]?_0x563a06(0x1d8):typeof _0x4e5e29;},ke(_0x553a1d);}function Ae(_0x5a6628,_0x3ac0a0){const _0x400718=_0x55b3f9;if(ke(_0x5a6628)!=_0x400718(0x233)||!_0x5a6628)return _0x5a6628;var _0x3f8e7e=_0x5a6628[Symbol[_0x400718(0x2cd)]];if(_0x3f8e7e!==void 0x0){var _0x286467=_0x3f8e7e['call'](_0x5a6628,_0x3ac0a0||'default');if(ke(_0x286467)!=_0x400718(0x233))return _0x286467;throw TypeError(_0x400718(0x383));}return(_0x3ac0a0===_0x400718(0x2f9)?String:Number)(_0x5a6628);}function je(_0x434bd7){const _0x32ecc9=_0x55b3f9;var _0x289cb5=Ae(_0x434bd7,_0x32ecc9(0x2f9));return ke(_0x289cb5)==_0x32ecc9(0x1d8)?_0x289cb5:_0x289cb5+'';}function Me(_0x560c07,_0x288f25,_0xb390ec){const _0x516fa8=_0x55b3f9;return(_0x288f25=je(_0x288f25))in _0x560c07?Object[_0x516fa8(0x117)](_0x560c07,_0x288f25,{'value':_0xb390ec,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x560c07[_0x288f25]=_0xb390ec,_0x560c07;}function Ne(_0x450c7f,_0x28dc8b){const _0x9f7c6d=_0x55b3f9;if(_0x450c7f==null||_0x28dc8b==null)return!0x1;let {glyph:_0x2a444c,..._0x1bf41a}=_0x450c7f,{glyph:_0x1ee430,..._0x7dfb8}=_0x28dc8b;return(0x0,a[_0x9f7c6d(0x1f3)])(_0x1bf41a,_0x7dfb8);}var Pe=class extends a[_0x55b3f9(0x376)]{constructor(_0x20f359,_0x5c7b59,_0x631912,_0x28d882,_0x1bf609,_0x23eb88){const _0x6eb058=_0x55b3f9;super(),this['_context']=_0x20f359,this[_0x6eb058(0x208)]=_0x5c7b59,this[_0x6eb058(0x214)]=_0x631912,this['_componentManager']=_0x28d882,this[_0x6eb058(0x394)]=_0x1bf609,this[_0x6eb058(0x16d)]=_0x23eb88,Me(this,_0x6eb058(0x389),null),this[_0x6eb058(0x2a7)][_0x6eb058(0x1dd)]===this[_0x6eb058(0x16d)][_0x6eb058(0x256)]&&(this[_0x6eb058(0x1b5)](this[_0x6eb058(0x3bd)][_0x6eb058(0x2df)](this[_0x6eb058(0x16d)]['componentKey'],this['_config'][_0x6eb058(0x347)])),this[_0x6eb058(0x22e)](),this['disposeWithMe'](()=>this['_hideFloatMenu']()));}[_0x55b3f9(0x22e)](){const _0x1260c4=_0x55b3f9;this[_0x1260c4(0x1b5)](this[_0x1260c4(0x394)][_0x1260c4(0x1e9)][_0x1260c4(0x321)](()=>{const _0x322039=_0x1260c4;this[_0x322039(0x1d0)]();})),this[_0x1260c4(0x1b5)](this['_docSelectionManagerService']['textSelection$'][_0x1260c4(0x321)](_0x4b75bf=>{const _0x4faad5=_0x1260c4;var _0x40e232,_0x3f8573;let {unitId:_0x397faf,textRanges:_0x50ac12}=_0x4b75bf;if(_0x397faf!==this[_0x4faad5(0x2a7)][_0x4faad5(0x1dd)])return;let _0x5e2e63=_0x50ac12[_0x4faad5(0x2e8)](_0x416989=>!_0x416989[_0x4faad5(0x32e)]);if(!_0x5e2e63){this[_0x4faad5(0x1d0)]();return;}_0x5e2e63['startOffset']===((_0x40e232=this[_0x4faad5(0x389)])==null?void 0x0:_0x40e232[_0x4faad5(0x23c)])&&_0x5e2e63[_0x4faad5(0x259)]===((_0x3f8573=this['_floatMenu'])==null?void 0x0:_0x3f8573[_0x4faad5(0x114)])||(this[_0x4faad5(0x1d0)](),this[_0x4faad5(0x226)](_0x397faf,_0x5e2e63));}));}[_0x55b3f9(0x1d0)](){const _0x273b3e=_0x55b3f9;var _0xfdbd17;(_0xfdbd17=this[_0x273b3e(0x389)])==null||_0xfdbd17['disposable'][_0x273b3e(0x262)](),this[_0x273b3e(0x389)]=null;}[_0x55b3f9(0x226)](_0x2ee3e1,_0x70f354){const _0x26822d=_0x55b3f9;this[_0x26822d(0x389)]={'disposable':this[_0x26822d(0x214)][_0x26822d(0x103)](_0x70f354,{'componentKey':this[_0x26822d(0x16d)][_0x26822d(0x3c1)],'direction':_0x70f354[_0x26822d(0x235)]===_0x26822d(0x138)||Ne(_0x70f354[_0x26822d(0x12d)],_0x70f354[_0x26822d(0x2a4)])?_0x26822d(0x2d3):_0x26822d(0x346),'offset':[0x0,0x4]},_0x2ee3e1),'start':_0x70f354['startOffset'],'end':_0x70f354[_0x26822d(0x259)]};}};function Fe(_0x5ae7e5,_0x39653b){const _0x12b6f6=_0x55b3f9;return Math[_0x12b6f6(0x112)](_0x5ae7e5['editorLeft']-_0x39653b[_0x12b6f6(0x351)])<=0.001&&Math[_0x12b6f6(0x112)](_0x5ae7e5[_0x12b6f6(0x279)]-_0x39653b[_0x12b6f6(0x279)])<=0.001&&Math[_0x12b6f6(0x112)](_0x5ae7e5['editorWidth']-_0x39653b[_0x12b6f6(0x239)])<=0.001&&Math[_0x12b6f6(0x112)](_0x5ae7e5[_0x12b6f6(0x13f)]-_0x39653b[_0x12b6f6(0x13f)])<=0.001;}function Ie(_0x452ada){const _0x33c423=_0x55b3f9;return _0x452ada===!0x0||_0x452ada===a[_0x33c423(0x317)][_0x33c423(0x1a0)];}function Le(_0x37e1bf){const _0x3feaa8=_0x55b3f9;return typeof(_0x37e1bf==null?void 0x0:_0x37e1bf[_0x3feaa8(0x2c2)])==_0x3feaa8(0x2f9)&&_0x37e1bf[_0x3feaa8(0x2c2)][_0x3feaa8(0x39f)]()[_0x3feaa8(0x2e1)]>0x0;}function Re(_0x445315,_0xf02d3e,_0x5d3ed1){const _0x50bf36=_0x55b3f9;var _0x9177d9;if(_0x5d3ed1===void 0x0||_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x2fd)])return 0x0;let _0x360ee0=_0x445315[_0x50bf36(0x2fe)]();if(!(!(_0x360ee0==null||(_0x9177d9=_0x360ee0[_0x50bf36(0x2a1)])==null)&&_0x9177d9['length']))return 0x0;let _0x2b64e2=0x1/0x0,_0x58ed12=-0x1/0x0,_0x28f50b=0x0;for(let _0x5c433c of _0x360ee0[_0x50bf36(0x2a1)]){var _0x1b8a42,_0x2ca42d;let _0x488e83=(_0x1b8a42=_0x5c433c[_0x50bf36(0x289)])==null?0x0:_0x1b8a42;for(let _0x4d5ab9 of(_0x2ca42d=_0x5c433c[_0x50bf36(0x253)])==null?[]:_0x2ca42d){var _0x44a10d,_0x5834c2;let _0x4d8ee3=(_0x44a10d=_0x4d5ab9[_0x50bf36(0x106)])==null?0x0:_0x44a10d;for(let _0x3ee014 of(_0x5834c2=_0x4d5ab9[_0x50bf36(0x3c6)])==null?[]:_0x5834c2){var _0xf48081;for(let _0x57a223 of(_0xf48081=_0x3ee014[_0x50bf36(0x1fc)])==null?[]:_0xf48081){var _0x28895e,_0x2f8c46,_0x4699c4,_0x2bc2b2,_0x5ccea2;let _0x510643=_0x28f50b+_0x488e83+_0x4d8ee3+((_0x28895e=_0x57a223[_0x50bf36(0x106)])==null?0x0:_0x28895e)+((_0x2f8c46=_0x57a223[_0x50bf36(0x289)])==null?0x0:_0x2f8c46)+((_0x4699c4=_0x57a223[_0x50bf36(0x320)])==null?0x0:_0x4699c4)+((_0x2bc2b2=_0x57a223[_0x50bf36(0x22b)])==null?0x0:_0x2bc2b2);for(let _0x174780 of(_0x5ccea2=_0x57a223[_0x50bf36(0x1be)])==null?[]:_0x5ccea2){var _0x2141ef;for(let _0x1c4b0a of(_0x2141ef=_0x174780['glyphGroup'])==null?[]:_0x2141ef){var _0x521666,_0x334679,_0x3e1944,_0x1c9848;Le(_0x1c4b0a)&&(_0x2b64e2=Math[_0x50bf36(0x301)](_0x2b64e2,_0x510643-((_0x521666=(_0x334679=_0x1c4b0a[_0x50bf36(0x223)])==null?void 0x0:_0x334679[_0x50bf36(0x282)])==null?0x0:_0x521666)),_0x58ed12=Math['max'](_0x58ed12,_0x510643+((_0x3e1944=(_0x1c9848=_0x1c4b0a['bBox'])==null?void 0x0:_0x1c9848[_0x50bf36(0x332)])==null?0x0:_0x3e1944)));}}}}}let _0x46eac6=Number['isFinite'](_0x5c433c['pageHeight'])?_0x5c433c[_0x50bf36(0x134)]:_0x5c433c[_0x50bf36(0x11c)];_0x28f50b+=_0x46eac6==null?0x0:_0x46eac6;}return!Number[_0x50bf36(0x241)](_0x2b64e2)||!Number['isFinite'](_0x58ed12)?0x0:_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x225)]?_0xf02d3e-_0x58ed12:_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x2dc)]?_0xf02d3e/0x2-(_0x2b64e2+_0x58ed12)/0x2:_0x5d3ed1===a[_0x50bf36(0x111)][_0x50bf36(0x2ca)]?-_0x2b64e2:0x0;}function ze(_0x4b4f36){const _0xd7c0b2=_0x55b3f9;let {editorUnitId:_0x27e37a,editingParams:_0x1c9cb4}=_0x4b4f36;return _0x1c9cb4?[_0x27e37a,_0x1c9cb4[_0xd7c0b2(0x1dd)],_0x1c9cb4['subUnitId'],_0x1c9cb4[_0xd7c0b2(0x197)],_0x1c9cb4['shapeKey'],_0x1c9cb4[_0xd7c0b2(0x1da)]?_0xd7c0b2(0x1da):'hidden']['join']('|'):null;}function Be(_0x8744e2){const _0x1df4fb=_0x55b3f9;var _0x5a22d1,_0x1df7da;let _0x2f40b2=_0x8744e2;return(_0x2f40b2==null?void 0x0:_0x2f40b2[_0x1df4fb(0x1c4)])===_0x1df4fb(0x39c)?a[_0x1df4fb(0x303)]['CLIP']:(_0x2f40b2==null?void 0x0:_0x2f40b2[_0x1df4fb(0x1c4)])===_0x1df4fb(0x300)||(_0x5a22d1=_0x2f40b2==null||(_0x1df7da=_0x2f40b2[_0x1df4fb(0x1c2)])==null||(_0x1df7da=_0x1df7da[_0x1df4fb(0x15c)])==null||(_0x1df7da=_0x1df7da[_0x1df4fb(0x3b7)])==null||(_0x1df7da=_0x1df7da[_0x1df4fb(0x2fb)])==null?void 0x0:_0x1df7da[_0x1df4fb(0x3b9)])==null?a[_0x1df4fb(0x303)][_0x1df4fb(0x23b)]:_0x5a22d1;}function Ve(_0x1e6ddd){const _0x312781=_0x55b3f9;var _0x201785;let _0x2ac437=(_0x201785=_0x1e6ddd['tolerance'])==null?0x1:_0x201785;return Math[_0x312781(0x112)](_0x1e6ddd[_0x312781(0x3d2)]-_0x1e6ddd['baselineWidth'])>_0x2ac437||Math['abs'](_0x1e6ddd[_0x312781(0x1d3)]-_0x1e6ddd[_0x312781(0x3a8)])>_0x2ac437;}function He(_0x3ff82c){const _0xb3e8d9=_0x55b3f9;var _0xe1b12,_0x45be8d;let {adapter:_0x3883da,editingParams:_0x3424ea}=_0x3ff82c;return!_0x3883da[_0xb3e8d9(0x281)]||!_0x3424ea?!0x1:(_0xe1b12=(_0x45be8d=_0x3883da[_0xb3e8d9(0x336)])==null?void 0x0:_0x45be8d['call'](_0x3883da,_0x3424ea))==null?!0x0:_0xe1b12;}function Ue(_0x2e13fd){const _0x3813a2=_0x55b3f9;return _0x2e13fd[_0x3813a2(0x194)]?a[_0x3813a2(0x111)][_0x3813a2(0x2ca)]:_0x2e13fd[_0x3813a2(0x1ce)];}function We(_0x589c71){const _0x281a9d=_0x55b3f9;let {actualHeight:_0x22d013,opticalVerticalOffset:_0x23ce82,scaleX:_0x37b60b,scaleY:_0x567486,textRect:_0x8378f9,verticalAlign:_0x154974}=_0x589c71,_0x5a64ac=Math[_0x281a9d(0x23d)](0x1,_0x8378f9[_0x281a9d(0x11c)]),_0xe906c8=Math[_0x281a9d(0x23d)](_0x5a64ac,_0x22d013),_0x2c8675=0x0,_0x2c3b84=0x0;return _0x23ce82===void 0x0?_0x22d013<=_0x5a64ac?_0x154974===a['VerticalAlign'][_0x281a9d(0x2dc)]?_0x2c3b84=(_0x5a64ac-_0x22d013)/0x2:_0x154974===a[_0x281a9d(0x111)]['BOTTOM']&&(_0x2c3b84=_0x5a64ac-_0x22d013):_0x154974===a[_0x281a9d(0x111)][_0x281a9d(0x2dc)]?_0x2c8675=(_0x5a64ac-_0x22d013)/0x2:_0x154974===a[_0x281a9d(0x111)][_0x281a9d(0x225)]&&(_0x2c8675=_0x5a64ac-_0x22d013):_0x23ce82<0x0?_0x2c8675=_0x23ce82:_0x2c3b84=_0x23ce82,{'documentMarginTop':_0x2c3b84,'editorLeft':Math[_0x281a9d(0x23d)](0x0,_0x8378f9[_0x281a9d(0xf8)])*_0x37b60b,'editorTop':(Math[_0x281a9d(0x23d)](0x0,_0x8378f9[_0x281a9d(0x106)])+_0x2c8675)*_0x567486,'editorWidth':Math[_0x281a9d(0x23d)](0x1,_0x8378f9[_0x281a9d(0x10f)])*_0x37b60b,'editorHeight':_0xe906c8*_0x567486,'pageHeight':_0xe906c8};}function Ge(_0xeaaa88){const _0x3256b8=_0x55b3f9;let {allowShrink:_0x115b51=!0x1,hostWidth:_0x4a16d1,hostHeight:_0x33b788,textRect:_0x30c160,contentWidth:_0x12ff3e,contentHeight:_0x423e23}=_0xeaaa88,_0xff80eb=Number['isFinite'](_0x4a16d1)&&_0x4a16d1>0x0?_0x4a16d1:0x1,_0x59f865=Number[_0x3256b8(0x241)](_0x33b788)&&_0x33b788>0x0?_0x33b788:0x1,_0x48c812=Math['max'](0x0,_0x30c160['left']),_0x938d4d=Math[_0x3256b8(0x23d)](0x0,_0x30c160[_0x3256b8(0x106)]),_0x346f74=Math[_0x3256b8(0x23d)](0x1,_0x30c160[_0x3256b8(0x10f)]),_0x5a0cf7=Math['max'](0x1,_0x30c160['height']),_0x28c53c=Math[_0x3256b8(0x23d)](0x0,_0xff80eb-_0x48c812-_0x346f74),_0x500804=Math[_0x3256b8(0x23d)](0x0,_0x59f865-_0x938d4d-_0x5a0cf7),_0xa47589=Math[_0x3256b8(0x23d)](0x1,_0x115b51?_0x12ff3e:Math[_0x3256b8(0x23d)](_0x346f74,_0x12ff3e)),_0x585a42=Math[_0x3256b8(0x23d)](0x1,_0x115b51?_0x423e23:Math[_0x3256b8(0x23d)](_0x5a0cf7,_0x423e23)),_0x3a8777=Math[_0x3256b8(0x37f)](_0x48c812+_0xa47589+_0x28c53c),_0x224afe=Math['ceil'](_0x938d4d+_0x585a42+_0x500804);return{'width':_0x115b51?_0x3a8777:Math['max'](_0xff80eb,_0x3a8777),'height':_0x115b51?_0x224afe:Math['max'](_0x59f865,_0x224afe)};}function Ke(_0x185900,_0x973371,_0x163fb9,_0x431239){const _0x7fffa3=_0x55b3f9;return{'top':_0x431239===void 0x0?0x0:_0x973371,'left':_0x163fb9===void 0x0?0x0:_0x185900,'width':_0x163fb9==null?_0x185900:_0x163fb9,'height':_0x431239==null?_0x973371:_0x431239,'borderColor':_0x7fffa3(0x33c),'outlineColor':_0x7fffa3(0x33c),'backgroundColor':_0x7fffa3(0x33c)};}function qe(_0x53c541,..._0x369828){const _0x2a636e=_0x55b3f9;_0x53c541['setDocumentData'](..._0x369828),_0x53c541[_0x2a636e(0x1b0)]();}function Je(_0xf0dc39){const _0x37983b=_0x55b3f9;var _0x3de6c2,_0x4800d6;let _0x740dfa=_0xf0dc39==null||(_0x3de6c2=_0xf0dc39[_0x37983b(0x36c)])==null||(_0x4800d6=_0x3de6c2[_0x37983b(0x25e)])==null?void 0x0:_0x4800d6[_0x37983b(0x10e)](_0x3de6c2);_0x740dfa&&(_0x740dfa[_0x37983b(0x338)][_0x37983b(0xf6)]=_0x37983b(0x33c));}function Ye(_0x3bf5c0){const _0x3fb7e1=_0x55b3f9;var _0x356375,_0x1a58ea;let _0x50ea0d=_0x2d702a=>{const _0x38b38a=_0x3eb8;if(!_0x2d702a||typeof _0x2d702a!=_0x38b38a(0x233))return;let _0xe1a404=_0x2d702a;_0xe1a404[_0x38b38a(0x28c)]!==void 0x0&&(_0xe1a404[_0x38b38a(0x28c)]=0x0),_0xe1a404[_0x38b38a(0x2f7)]!==void 0x0&&(_0xe1a404[_0x38b38a(0x2f7)]=0x0);};_0x50ea0d(_0x3bf5c0==null?void 0x0:_0x3bf5c0[_0x3fb7e1(0x260)]),_0x3bf5c0==null||(_0x356375=_0x3bf5c0[_0x3fb7e1(0x17e)])==null||(_0x1a58ea=_0x356375[_0x3fb7e1(0x129)])==null||_0x1a58ea[_0x3fb7e1(0x10e)](_0x356375,_0x50ea0d);}function Xe(_0xc00e43,_0x1b8ea0){const _0x5673bd=_0x55b3f9;let _0x1b8455=o[_0x5673bd(0x32c)]['CTRL_COMMAND'],_0x3dd069=o[_0x5673bd(0x32c)]['CTRL_COMMAND']|o[_0x5673bd(0x32c)][_0x5673bd(0x3cc)];return{'keyCodes':[{'keyCode':o['KeyCode']['ENTER']},{'keyCode':o['KeyCode'][_0x5673bd(0x2fa)]},{'keyCode':o['KeyCode'][_0x5673bd(0x2c4)]},{'keyCode':o[_0x5673bd(0x297)]['A'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['B'],'metaKey':_0x1b8455},{'keyCode':o['KeyCode']['I'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['U'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['X'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)][_0x5673bd(0x198)],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)][_0x5673bd(0x2de)],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['L'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['R'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['E'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['J'],'metaKey':_0x3dd069},{'keyCode':o['KeyCode']['Digit7'],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)][_0x5673bd(0x316)],'metaKey':_0x3dd069},{'keyCode':o[_0x5673bd(0x297)]['Z'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['Y'],'metaKey':_0x1b8455},{'keyCode':o[_0x5673bd(0x297)]['Z'],'metaKey':_0x3dd069}],'handler':(_0x40b888,_0x166bfb)=>{const _0x316640=_0x5673bd;switch(_0x40b888+':'+(_0x166bfb==null?0x0:_0x166bfb)){case o['KeyCode']['ENTER']+':0':_0xc00e43[_0x316640(0x39b)](l['BreakLineCommand']['id']);break;case o[_0x316640(0x297)]['BACKSPACE']+':0':_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x3bc)]['id']);break;case o[_0x316640(0x297)][_0x316640(0x2c4)]+':0':_0xc00e43['executeCommand'](l['DeleteRightCommand']['id']);break;case o['KeyCode']['A']+':'+_0x1b8455:_0xc00e43['executeCommand'](l[_0x316640(0x124)]['id']);break;case o['KeyCode']['B']+':'+_0x1b8455:_0xc00e43['executeCommand'](l[_0x316640(0x2f5)]['id']);break;case o[_0x316640(0x297)]['I']+':'+_0x1b8455:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x109)]['id']);break;case o[_0x316640(0x297)]['U']+':'+_0x1b8455:_0xc00e43[_0x316640(0x39b)](l['SetInlineFormatUnderlineCommand']['id']);break;case o['KeyCode']['X']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x2e5)]['id']);break;case o[_0x316640(0x297)][_0x316640(0x198)]+':'+_0x1b8455:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x271)]['id']);break;case o[_0x316640(0x297)]['PERIOD']+':'+_0x1b8455:_0xc00e43['executeCommand'](l[_0x316640(0x2ae)]['id']);break;case o['KeyCode']['L']+':'+_0x3dd069:_0xc00e43['executeCommand'](l[_0x316640(0x391)]['id']);break;case o['KeyCode']['R']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x38c)]['id']);break;case o[_0x316640(0x297)]['E']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x32b)]['id']);break;case o['KeyCode']['J']+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x2c9)]['id']);break;case o[_0x316640(0x297)][_0x316640(0x357)]+':'+_0x3dd069:_0xc00e43[_0x316640(0x39b)](l[_0x316640(0x2ed)]['id']);break;case o[_0x316640(0x297)]['Digit8']+':'+_0x3dd069:_0xc00e43['executeCommand'](l[_0x316640(0x363)]['id']);break;case o[_0x316640(0x297)]['Z']+':'+_0x1b8455:_0x1b8ea0?_0x1b8ea0(a[_0x316640(0x10a)]['id']):_0xc00e43['executeCommand'](a['UndoCommand']['id']);break;case o[_0x316640(0x297)]['Y']+':'+_0x1b8455:case o[_0x316640(0x297)]['Z']+':'+_0x3dd069:_0x1b8ea0?_0x1b8ea0(a['RedoCommand']['id']):_0xc00e43[_0x316640(0x39b)](a[_0x316640(0x274)]['id']);break;}}};}const Ze=function(_0x5b47c4){const _0x26e25b=_0x55b3f9;let {adapter:_0xd1fd20,containerWidth:_0x15db49,containerHeight:_0xdacff0,editingParams:_0x57e15f,editingService:_0x17f009,editorUnitId:_0x381234,scaleX:_0x6edff8,scaleY:_0x10ee4b,verticalAlignCommandId:_0x4b2018}=_0x5b47c4,_0x54a4c1=_0x6edff8||0x1,_0x48189a=_0x10ee4b||0x1,_0x49a649=(0x0,o['useDependency'])(l['IEditorService']),_0x44be7d=(0x0,o['useDependency'])(u[_0x26e25b(0x349)]),_0x1cd397=(0x0,o[_0x26e25b(0x176)])(a[_0x26e25b(0x26e)]),_0x5f1b88=(0x0,o[_0x26e25b(0x176)])(a[_0x26e25b(0x1b7)]),_0x9174eb=(0x0,o[_0x26e25b(0x2b2)])(_0x17f009['onSavingEditorData$']),_0xe7b41a=(0x0,n[_0x26e25b(0x333)])(null),_0x28b875=(0x0,n[_0x26e25b(0x333)])(null),_0x2d7cb5=(0x0,n[_0x26e25b(0x333)])(null),_0x1a01e5=(0x0,n[_0x26e25b(0x333)])(null),_0x2213b6=(0x0,n[_0x26e25b(0x333)])(null),_0x34a1e9=(0x0,n[_0x26e25b(0x333)])(null),_0x1bab47=(0x0,n[_0x26e25b(0x333)])({'width':0x0,'height':0x0}),_0x596a7f=(0x0,n['useRef'])(()=>{}),_0x159d38=(0x0,n[_0x26e25b(0x333)])(()=>{}),_0x17cfd5=(0x0,n[_0x26e25b(0x333)])(()=>{}),[_0x1fb976,_0x46cb7d]=(0x0,n[_0x26e25b(0x1ea)])({'editorLeft':0x0,'editorTop':0x0,'editorWidth':_0x15db49,'editorHeight':_0xdacff0}),_0x280b9f=(0x0,n[_0x26e25b(0x308)])(_0x179d6a=>{queueMicrotask(()=>{_0x46cb7d(_0xd88d3=>Fe(_0xd88d3,_0x179d6a)?_0xd88d3:_0x179d6a);});},[]),_0x3f237d=(0x0,n[_0x26e25b(0x308)])(()=>_0x1cd397[_0x26e25b(0x266)](_0x381234,a[_0x26e25b(0x245)]['UNIVER_DOC']),[_0x381234,_0x1cd397]),_0x466a5d=(0x0,n['useCallback'])(()=>{const _0x32d821=_0x26e25b;var _0x7d9e50;let _0x4de744=_0x54a4c1,_0x1645e4=_0x48189a;if(!_0x57e15f)return{'scaleAdjust':0x1,'renderScaleX':_0x4de744,'renderScaleY':_0x1645e4};let _0x308a7d=_0x44be7d[_0x32d821(0x39a)](_0x57e15f['unitId']),_0x23ee41=_0x308a7d==null?void 0x0:_0x308a7d['scene']['getAncestorScale'](),_0x506f83=_0x308a7d==null?void 0x0:_0x308a7d[_0x32d821(0x36c)]['getCanvasElement'](),_0x642c31=_0x506f83?Number[_0x32d821(0x143)](_0x506f83[_0x32d821(0x338)][_0x32d821(0x10f)]||''):0x0,_0xbd097c=(_0x7d9e50=_0x506f83==null?void 0x0:_0x506f83[_0x32d821(0xf5)]()[_0x32d821(0x10f)])==null?0x0:_0x7d9e50,_0x1a7c26=_0x642c31>0x0&&_0xbd097c>0x0?_0xbd097c/_0x642c31:0x1;return{'scaleAdjust':Number['isFinite'](_0x1a7c26)&&_0x1a7c26>0x0?_0x1a7c26:0x1,'renderScaleX':(_0x23ee41==null?void 0x0:_0x23ee41['scaleX'])||_0x4de744,'renderScaleY':(_0x23ee41==null?void 0x0:_0x23ee41[_0x32d821(0x37d)])||_0x1645e4};},[_0x54a4c1,_0x48189a,_0x57e15f,_0x44be7d]),_0x2a07c3=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x3209f4=_0x26e25b;if(!_0x57e15f)return{'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a};let {unitId:_0xedf325,subUnitId:_0x3d5922,shapeId:_0x291123}=_0x57e15f,_0x5da7d5=_0xd1fd20[_0x3209f4(0x353)](_0xedf325,_0x3d5922,_0x291123);if(!_0x5da7d5)return{'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a};let _0x3d349a={'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a};return _0x5da7d5['getShapeTextRect'](_0x3d349a);},[_0xd1fd20,_0x57e15f,_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a]),_0x5f1a25=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x4501ee=_0x26e25b;var _0x12d33d;if(!_0x57e15f)return null;let {unitId:_0x5c3637,subUnitId:_0x4d02df,shapeId:_0x45c152}=_0x57e15f,_0x40b8f7=_0xd1fd20[_0x4501ee(0x353)](_0x5c3637,_0x4d02df,_0x45c152);if(!_0x40b8f7)return null;let _0x18c1e6=_0x40b8f7[_0x4501ee(0x3ac)]();if(!_0x18c1e6)return null;let _0x436de7=(_0x12d33d=_0xd1fd20[_0x4501ee(0x287)](_0x5c3637,_0x4d02df,_0x45c152))==null?{'angle':0x0,'flipX':!0x1,'flipY':!0x1}:_0x12d33d,_0x46d6a0={'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a},_0xa119b5=_0x40b8f7[_0x4501ee(0x3a9)](_0x46d6a0),_0x47faac,_0x1f1e1e=a[_0x4501ee(0x111)]['TOP'],_0x5a0b21=a[_0x4501ee(0xff)]['LEFT'];if('dataModel'in _0x18c1e6&&_0x18c1e6[_0x4501ee(0x1c2)]){var _0x49ccdd,_0x315ddb,_0x58cc26,_0x13b662,_0x34cbad,_0x925ed6;let _0x1ea1c0=_0x18c1e6[_0x4501ee(0x1c2)];_0x1ea1c0!=null&&_0x1ea1c0[_0x4501ee(0x15c)]&&(_0x47faac=_0x1ea1c0['doc']),_0x1f1e1e=(_0x49ccdd=(_0x315ddb=_0x1ea1c0==null?void 0x0:_0x1ea1c0['va'])==null?_0x47faac==null||(_0x58cc26=_0x47faac[_0x4501ee(0x3b7)])==null||(_0x58cc26=_0x58cc26[_0x4501ee(0x2fb)])==null?void 0x0:_0x58cc26[_0x4501ee(0x1ce)]:_0x315ddb)==null?a[_0x4501ee(0x111)][_0x4501ee(0x2ca)]:_0x49ccdd,_0x5a0b21=(_0x13b662=(_0x34cbad=_0x1ea1c0==null?void 0x0:_0x1ea1c0['ha'])==null?_0x47faac==null||(_0x925ed6=_0x47faac[_0x4501ee(0x3b7)])==null||(_0x925ed6=_0x925ed6[_0x4501ee(0x2fb)])==null?void 0x0:_0x925ed6[_0x4501ee(0x2bf)]:_0x34cbad)==null?a[_0x4501ee(0xff)][_0x4501ee(0x152)]:_0x13b662;}return{'doc':_0x47faac,'verticalAlign':_0x1f1e1e,'horizontalAlign':_0x5a0b21,'wrapStrategy':Be(_0x18c1e6),'textRect':_0xa119b5,'transform':_0x436de7,'isHorizontal':_0x18c1e6[_0x4501ee(0x1ee)]};},[_0xd1fd20,_0x57e15f,_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a]),_0x197209=(0x0,n[_0x26e25b(0x32a)])(()=>{const _0x11f81c=_0x26e25b;let _0x4eca10=_0x5f1a25();return _0x4eca10!=null&&_0x4eca10[_0x11f81c(0x15c)]?De(_0x4eca10[_0x11f81c(0x15c)],{'isHorizontal':!0x0,'textRect':_0x4eca10[_0x11f81c(0x268)],'verticalAlign':_0x4eca10[_0x11f81c(0x1ce)],'horizontalAlign':_0x4eca10['horizontalAlign'],'wrapStrategy':_0x4eca10[_0x11f81c(0x3b9)]}):{'id':_0x381234,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,a['createParagraphId'])(new Set())}]},'documentStyle':{'pageSize':{'width':_0x15db49/_0x54a4c1,'height':0x1/0x0}}};},[_0x5f1a25,_0x15db49,_0x54a4c1]),_0x4a6155=(0x0,l[_0x26e25b(0x1ca)])({'editorId':_0x381234,'initialValue':_0x197209,'container':_0x28b875,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});(0x0,n[_0x26e25b(0x352)])(()=>{const _0x2795db=_0x26e25b;if(!_0x4a6155)return;let _0x2fa6c3=_0x44be7d[_0x2795db(0x39a)](_0x381234);Je(_0x2fa6c3),Ye(_0x2fa6c3);},[_0x4a6155,_0x381234,_0x44be7d]);let _0x5a6519=(0x0,l[_0x26e25b(0x2a6)])(_0x381234);(0x0,l[_0x26e25b(0x113)])(_0x5a6519,(0x0,n['useMemo'])(()=>Xe(_0x5f1b88,_0x1f2c35=>{const _0x34503a=_0x26e25b;(0x0,l[_0x34503a(0x264)])({'commandId':_0x1f2c35,'commandService':_0x5f1b88,'editorUnitId':_0x381234,'univerInstanceService':_0x1cd397});}),[_0x5f1b88,_0x381234,_0x1cd397]),_0x4a6155),(0x0,l[_0x26e25b(0x191)])(_0x5a6519,!0x1,_0x4a6155),(0x0,n['useEffect'])(()=>{const _0x4c7323=_0x26e25b;_0x1bab47[_0x4c7323(0x2d1)]=_0x57e15f?{'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a}:{'width':0x0,'height':0x0};},[_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a,_0x57e15f==null?void 0x0:_0x57e15f[_0x26e25b(0x197)]]);let _0x27fc96=(0x0,n[_0x26e25b(0x308)])((_0x379a01=!0x0)=>{const _0x179257=_0x26e25b;var _0xa3fe34,_0x364047,_0x4330cc;if(!_0x4a6155)return;let _0x55c2c2=_0x4a6155[_0x179257(0x231)]()['find'](_0x5663c5=>_0x5663c5[_0x179257(0x32e)]),_0x1f1cf6=((_0xa3fe34=(_0x364047=_0x4a6155[_0x179257(0x1d5)]()[_0x179257(0x315)])==null?void 0x0:_0x364047[_0x179257(0x354)][_0x179257(0x2e1)])==null?0x2:_0xa3fe34)-0x2,_0x30e175=(_0x4330cc=_0x55c2c2==null?void 0x0:_0x55c2c2[_0x179257(0x38d)])==null?_0x379a01?_0x1f1cf6:null:_0x4330cc;_0x30e175!==null&&_0x4a6155[_0x179257(0x16e)]([{'startOffset':_0x30e175,'endOffset':_0x30e175}],!0x1);},[_0x4a6155]);_0x159d38['current']=_0x27fc96;let _0x35502c=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x43d20f=_0x26e25b;_0x2213b6['current']!==null&&(cancelAnimationFrame(_0x2213b6[_0x43d20f(0x2d1)]),_0x2213b6[_0x43d20f(0x2d1)]=null),_0x34a1e9['current']!==null&&(window['clearTimeout'](_0x34a1e9[_0x43d20f(0x2d1)]),_0x34a1e9[_0x43d20f(0x2d1)]=null);},[]),_0x5e91ac=(0x0,n[_0x26e25b(0x308)])(()=>{const _0x13db62=_0x26e25b;var _0x6d8341,_0x413cdd,_0x553a7f,_0x1a006d,_0x404b8e;if(!_0x4a6155)return;let _0x3d88d4=_0x44be7d['getRenderById'](_0x381234);Ye(_0x3d88d4);let _0x260660=_0x3d88d4==null?void 0x0:_0x3d88d4[_0x13db62(0x2dd)](c[_0x13db62(0x14a)]);if(!_0x260660)return;let _0x4b5cc9=_0x260660[_0x13db62(0x309)](),_0x43376d=_0x3f237d(),{renderScaleX:_0x306e9d,renderScaleY:_0x1b81ff,scaleAdjust:_0x24b476}=_0x466a5d(),_0x307361=_0x5f1a25(),_0x3fa36d=(_0x6d8341=_0x307361==null?void 0x0:_0x307361[_0x13db62(0x1ce)])==null?a[_0x13db62(0x111)][_0x13db62(0x2ca)]:_0x6d8341,_0x1f3933=(_0x413cdd=_0x307361==null?void 0x0:_0x307361['horizontalAlign'])==null?a[_0x13db62(0xff)][_0x13db62(0x152)]:_0x413cdd,_0x3f4f28=(_0x553a7f=_0x307361==null?void 0x0:_0x307361[_0x13db62(0x3b9)])==null?a[_0x13db62(0x303)]['WRAP']:_0x553a7f,_0x5d3ade=(_0x1a006d=_0x2a07c3())==null?{'left':0x0,'top':0x0,'width':_0x15db49/_0x54a4c1,'height':_0xdacff0/_0x48189a}:_0x1a006d,_0x132681=!0x1;if(_0x43376d){var _0x220428;_0x132681=Ie((_0x220428=_0x43376d['getSnapshot']()[_0x13db62(0x3b7)])==null||(_0x220428=_0x220428['renderConfig'])==null?void 0x0:_0x220428[_0x13db62(0x21c)]),_0x43376d[_0x13db62(0x285)](Math[_0x13db62(0x23d)](_0x306e9d,_0x1b81ff)),_0x43376d[_0x13db62(0x38e)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x5d3ade[_0x13db62(0x10f)],'height':0x1/0x0}}),_0x43376d[_0x13db62(0x2eb)]({'verticalAlign':Ue({'opticalVerticalAlign':_0x132681,'verticalAlign':_0x3fa36d}),'horizontalAlign':_0x1f3933,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x3f4f28}),_0x43376d[_0x13db62(0x34c)]({'t':0x0});}(_0x404b8e=_0x4b5cc9['resetInitialWidth'])==null||_0x404b8e[_0x13db62(0x10e)](_0x4b5cc9),_0x4b5cc9[_0x13db62(0x247)]();let {actualWidth:_0x4dbdb9,actualHeight:_0x57e8f4}=_0x4b5cc9[_0x13db62(0x29c)](),_0x1ba3b5=We({'actualHeight':_0x57e8f4,'opticalVerticalOffset':_0x132681?Re(_0x4b5cc9,_0x5d3ade[_0x13db62(0x11c)],_0x3fa36d):void 0x0,'scaleX':_0x54a4c1,'scaleY':_0x48189a,'textRect':_0x5d3ade,'verticalAlign':_0x3fa36d}),_0x38575d=_0x15db49/_0x54a4c1,_0x350560=_0xdacff0/_0x48189a,_0x503426=Ge({'hostWidth':_0x38575d,'hostHeight':_0x350560,'textRect':_0x5d3ade,'contentWidth':_0x4dbdb9,'contentHeight':_0x57e8f4,'allowShrink':He({'adapter':_0xd1fd20,'editingParams':_0x57e15f})}),_0x36a735=Math[_0x13db62(0x37f)](_0x503426[_0x13db62(0x10f)]),_0xa86c9e=Math[_0x13db62(0x37f)](_0x503426['height']),_0x155903=_0x1bab47[_0x13db62(0x2d1)],_0x5f20cd=Ve({'nextWidth':_0x36a735,'nextHeight':_0xa86c9e,'baselineWidth':_0x38575d,'baselineHeight':_0x350560}),_0x364ec6=Ve({'nextWidth':_0x36a735,'nextHeight':_0xa86c9e,'baselineWidth':_0x155903[_0x13db62(0x10f)],'baselineHeight':_0x155903[_0x13db62(0x11c)]}),_0x4ca985=_0x57e15f&&_0xd1fd20[_0x13db62(0x281)]&&_0x5f20cd&&_0x364ec6,_0x1c9534=Ve({'nextWidth':_0x38575d,'nextHeight':_0xa86c9e,'baselineWidth':_0x38575d,'baselineHeight':_0x350560}),_0x427933=Ve({'nextWidth':_0x38575d,'nextHeight':_0xa86c9e,'baselineWidth':_0x38575d,'baselineHeight':_0x155903['height']}),_0x4b2062=_0x57e15f&&_0xd1fd20[_0x13db62(0x3c3)]&&_0xa86c9e>_0x350560&&_0xa86c9e>_0x155903[_0x13db62(0x11c)]&&_0x1c9534&&_0x427933;if(_0x4ca985&&_0x57e15f&&_0xd1fd20[_0x13db62(0x281)]?(_0x1bab47[_0x13db62(0x2d1)]={'width':_0x36a735,'height':_0xa86c9e},_0xd1fd20[_0x13db62(0x281)]({'unitId':_0x57e15f[_0x13db62(0x1dd)],'subUnitId':_0x57e15f[_0x13db62(0x291)],'shapeId':_0x57e15f[_0x13db62(0x197)],'width':_0x36a735,'height':_0xa86c9e})):_0x4b2062&&_0x57e15f&&_0xd1fd20[_0x13db62(0x3c3)]&&(_0x1bab47[_0x13db62(0x2d1)]={'width':_0x38575d,'height':_0xa86c9e},_0xd1fd20['updateHostHeight']({'unitId':_0x57e15f['unitId'],'subUnitId':_0x57e15f[_0x13db62(0x291)],'shapeId':_0x57e15f[_0x13db62(0x197)],'height':_0xa86c9e})),_0x280b9f({'editorLeft':_0x1ba3b5[_0x13db62(0x351)],'editorTop':_0x1ba3b5[_0x13db62(0x279)],'editorWidth':_0x1ba3b5[_0x13db62(0x239)],'editorHeight':_0x1ba3b5[_0x13db62(0x13f)]}),_0x43376d&&(_0x43376d[_0x13db62(0x38e)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x5d3ade[_0x13db62(0x10f)],'height':_0x1ba3b5[_0x13db62(0x134)]}}),_0x43376d[_0x13db62(0x34c)]({'t':_0x1ba3b5['documentMarginTop']}),_0x4b5cc9['calculate']()),_0x3d88d4){let _0x5081ad=_0x1ba3b5[_0x13db62(0x239)],_0x402c03=_0x1ba3b5[_0x13db62(0x13f)];_0x3d88d4['scene'][_0x13db62(0x2b3)]({'width':_0x5081ad*_0x24b476/_0x306e9d,'height':_0x402c03*_0x24b476/_0x1b81ff,'scaleX':_0x306e9d*_0x24b476,'scaleY':_0x1b81ff*_0x24b476}),_0x3d88d4['mainComponent']&&_0x3d88d4[_0x13db62(0x260)]['resize'](_0x5081ad*_0x24b476/_0x306e9d,_0x402c03*_0x24b476/_0x1b81ff);}},[_0x4a6155,_0xd1fd20,_0x57e15f,_0x44be7d,_0x3f237d,_0x466a5d,_0x5f1a25,_0x2a07c3,_0x15db49,_0xdacff0,_0x54a4c1,_0x48189a,_0x280b9f]);_0x596a7f['current']=_0x5e91ac;let _0x52067a=(0x0,n['useCallback'])((_0x46a47e=!0x1)=>{const _0x469d7f=_0x26e25b;_0x35502c(),_0x2213b6[_0x469d7f(0x2d1)]=requestAnimationFrame(()=>{const _0x5e0443=_0x469d7f;_0x5e91ac(),_0x46a47e&&_0x27fc96(!0x1),_0x2213b6[_0x5e0443(0x2d1)]=null,_0x34a1e9[_0x5e0443(0x2d1)]=window[_0x5e0443(0x156)](()=>{const _0x2a4a28=_0x5e0443;_0x5e91ac(),_0x46a47e&&_0x27fc96(!0x1),_0x34a1e9[_0x2a4a28(0x2d1)]=null;},0x14);});},[_0x5e91ac,_0x35502c,_0x27fc96]);_0x17cfd5[_0x26e25b(0x2d1)]=_0x52067a,(0x0,n[_0x26e25b(0x352)])(()=>{const _0x457a00=_0x26e25b;if(!_0x4a6155||!_0x57e15f)return;let {shapeId:_0x124152,unitId:_0x272eb7}=_0x57e15f;if(_0x9174eb){var _0x2510d3,_0x31c2b6,_0x4ec7ff,_0xf32f21,_0x5de5ae,_0x103f0c,_0x440167,_0x3a3ba5,_0x4ac36f;let _0x32a74d=_0x5f1a25(),_0x437a8b=_0x4a6155[_0x457a00(0x1d5)](),_0x471037=(_0x2510d3=(_0x31c2b6=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x1ce)])==null?(_0x4ec7ff=_0x2d7cb5[_0x457a00(0x2d1)])==null?void 0x0:_0x4ec7ff['va']:_0x31c2b6)==null?a[_0x457a00(0x111)][_0x457a00(0x2ca)]:_0x2510d3,{horizontalAlign:_0x3983b2,verticalAlign:_0x4a8feb}=Ce(_0x437a8b,{'verticalAlign':_0x471037,'horizontalAlign':(_0xf32f21=(_0x5de5ae=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x2bf)])==null?(_0x103f0c=_0x2d7cb5[_0x457a00(0x2d1)])==null?void 0x0:_0x103f0c['ha']:_0x5de5ae)==null?a['HorizontalAlign'][_0x457a00(0x152)]:_0xf32f21}),_0x303657=Ie((_0x440167=_0x437a8b['documentStyle'])==null||(_0x440167=_0x440167[_0x457a00(0x2fb)])==null?void 0x0:_0x440167[_0x457a00(0x21c)])?_0x471037:_0x4a8feb,_0x49d8f8={'va':_0x303657,'ha':_0x3983b2,'doc':Oe(_0x437a8b,{'verticalAlign':_0x303657,'horizontalAlign':_0x3983b2})};_0xd1fd20[_0x457a00(0x36f)]({'unitId':_0x272eb7,'subUnitId':_0x57e15f[_0x457a00(0x291)],'shapeId':_0x124152,'shapeText':{'isHorizontal':(_0x3a3ba5=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x1ee)])==null?!0x0:_0x3a3ba5,'dataModel':_0x49d8f8},'oldShapeText':{'isHorizontal':(_0x4ac36f=_0x32a74d==null?void 0x0:_0x32a74d[_0x457a00(0x1ee)])==null?!0x0:_0x4ac36f,'dataModel':_0x2d7cb5[_0x457a00(0x2d1)]}});return;}let _0xfa6de9=_0x5f1a25();if(_0xfa6de9!=null&&_0xfa6de9[_0x457a00(0x15c)])return _0x2d7cb5['current']={'va':_0xfa6de9[_0x457a00(0x1ce)],'ha':_0xfa6de9['horizontalAlign'],'doc':a[_0x457a00(0x31a)][_0x457a00(0x2f2)](_0xfa6de9[_0x457a00(0x15c)])},qe(_0x4a6155,De(_0xfa6de9['doc'],{'isHorizontal':!0x0,'textRect':_0xfa6de9[_0x457a00(0x268)],'verticalAlign':_0xfa6de9[_0x457a00(0x1ce)],'horizontalAlign':_0xfa6de9['horizontalAlign'],'wrapStrategy':_0xfa6de9[_0x457a00(0x3b9)]}),null),()=>{const _0x517006=_0x457a00;var _0x469146,_0x556f09,_0x491c57,_0x479749,_0x42ec45,_0x26f872,_0x327a2d,_0x1c75fd,_0x3e494c;let _0x5744ce=_0x5f1a25(),_0x3396e0=_0x4a6155[_0x517006(0x1d5)](),_0x10ffbd=(_0x469146=(_0x556f09=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x1ce)])==null?(_0x491c57=_0x2d7cb5[_0x517006(0x2d1)])==null?void 0x0:_0x491c57['va']:_0x556f09)==null?a[_0x517006(0x111)]['TOP']:_0x469146,{horizontalAlign:_0x722891,verticalAlign:_0x26bc2f}=Ce(_0x3396e0,{'verticalAlign':_0x10ffbd,'horizontalAlign':(_0x479749=(_0x42ec45=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x2bf)])==null?(_0x26f872=_0x2d7cb5[_0x517006(0x2d1)])==null?void 0x0:_0x26f872['ha']:_0x42ec45)==null?a['HorizontalAlign']['LEFT']:_0x479749}),_0x1d0b35=Ie((_0x327a2d=_0x3396e0[_0x517006(0x3b7)])==null||(_0x327a2d=_0x327a2d['renderConfig'])==null?void 0x0:_0x327a2d[_0x517006(0x21c)])?_0x10ffbd:_0x26bc2f,_0x61a8bd={'va':_0x1d0b35,'ha':_0x722891,'doc':Oe(_0x3396e0,{'verticalAlign':_0x1d0b35,'horizontalAlign':_0x722891})};_0xd1fd20[_0x517006(0x36f)]({'unitId':_0x272eb7,'subUnitId':_0x57e15f[_0x517006(0x291)],'shapeId':_0x124152,'shapeText':{'isHorizontal':(_0x1c75fd=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x1ee)])==null?!0x0:_0x1c75fd,'dataModel':_0x61a8bd},'oldShapeText':{'isHorizontal':(_0x3e494c=_0x5744ce==null?void 0x0:_0x5744ce[_0x517006(0x1ee)])==null?!0x0:_0x3e494c,'dataModel':_0x2d7cb5[_0x517006(0x2d1)]}});};qe(_0x4a6155,_0x197209,null);},[_0x4a6155,_0x57e15f,_0x9174eb]);let _0x304b4f=ze({'editorUnitId':_0x381234,'editingParams':_0x57e15f});(0x0,n[_0x26e25b(0x352)])(()=>{const _0x2f2538=_0x26e25b;if(!(!_0x4a6155||!_0x304b4f))return _0x49a649[_0x2f2538(0x2aa)](!0x0),_0x596a7f[_0x2f2538(0x2d1)](),_0x1a01e5[_0x2f2538(0x2d1)]=requestAnimationFrame(()=>{const _0x3c2e9d=_0x2f2538;_0x49a649['focus'](_0x381234),_0x159d38[_0x3c2e9d(0x2d1)](),_0x17cfd5[_0x3c2e9d(0x2d1)](),_0x1a01e5[_0x3c2e9d(0x2d1)]=null;}),()=>{const _0x4ac4d0=_0x2f2538;_0x1a01e5[_0x4ac4d0(0x2d1)]!==null&&(cancelAnimationFrame(_0x1a01e5['current']),_0x1a01e5[_0x4ac4d0(0x2d1)]=null),_0x35502c(),_0x49a649[_0x4ac4d0(0x2aa)](!0x0);};},[_0x4a6155,_0x49a649,_0x381234,_0x304b4f,_0x35502c]),(0x0,n[_0x26e25b(0x352)])(()=>{const _0x3749ce=_0x26e25b;if(!_0x4a6155)return;let _0x230192=_0x5f1b88[_0x3749ce(0x195)](_0xec88d9=>{const _0x2fd4d0=_0x3749ce;_0xec88d9['id']===c[_0x2fd4d0(0x199)]['id']&&_0xec88d9['params'][_0x2fd4d0(0x1dd)]===_0x381234&&_0x57e15f&&(_0x57e15f[_0x2fd4d0(0x1da)]?_0x5e91ac():_0x17f009[_0x2fd4d0(0x35a)]({..._0x57e15f,'visible':!0x0})),_0x4b2018&&_0xec88d9['id']===_0x4b2018&&_0x52067a(!0x0);});return()=>{_0x230192['dispose']();};},[_0x4a6155,_0x5e91ac,_0x57e15f,_0x52067a,_0x17f009,_0x381234,_0x4b2018]),(0x0,n[_0x26e25b(0x352)])(()=>(_0x5e91ac(),_0x52067a(),()=>{_0x35502c();}),[_0x5e91ac,_0x52067a,_0x35502c]);let _0x14095e=(0x0,n[_0x26e25b(0x32a)])(()=>Ke(_0x1fb976[_0x26e25b(0x351)],_0x1fb976[_0x26e25b(0x279)],_0x1fb976[_0x26e25b(0x239)],Math[_0x26e25b(0x23d)](0x1,_0x1fb976['editorHeight'])),[_0x1fb976[_0x26e25b(0x13f)],_0x1fb976[_0x26e25b(0x351)],_0x1fb976[_0x26e25b(0x279)],_0x1fb976[_0x26e25b(0x239)]]),_0x183cb5=(0x0,n[_0x26e25b(0x32a)])(()=>{let _0x1058e2=_0x5f1a25(),_0x5864d7=_0x1058e2==null?void 0x0:_0x1058e2['transform'];return _0x5864d7&&_0x5864d7||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x5f1a25]);return(0x0,r[_0x26e25b(0x29d)])(_0x26e25b(0x1c0),{'ref':_0xe7b41a,'data-u-comp':_0x26e25b(0x102),'className':_0x26e25b(0x2ff),'style':{'transform':'rotate('+_0x183cb5[_0x26e25b(0x2d2)]+_0x26e25b(0x237)+(_0x183cb5[_0x26e25b(0x362)]?-0x1:0x1)+')'},'children':(0x0,r[_0x26e25b(0x29d)])(_0x26e25b(0x1c0),{'ref':_0x28b875,'className':_0x26e25b(0x15d),'data-u-comp':_0x26e25b(0x149),'style':_0x14095e,'data-editorid':_0x381234})});};function Qe(_0x19c7e7,_0x4b0a61){const _0x4f3cca=_0x55b3f9;return!!(_0x19c7e7!=null&&_0x19c7e7['visible'])&&!(_0x4b0a61[_0x4f3cca(0xf8)]===-0x270f&&_0x4b0a61[_0x4f3cca(0x106)]===-0x270f);}function $e(_0x13ed09){const _0x60b2b2=_0x55b3f9;if(!_0x13ed09||typeof _0x13ed09!=_0x60b2b2(0x233))return!0x1;let _0x27d5fd=_0x13ed09;return typeof _0x27d5fd[_0x60b2b2(0xf8)]=='number'&&typeof _0x27d5fd[_0x60b2b2(0x106)]==_0x60b2b2(0x2b9)&&typeof _0x27d5fd['width']==_0x60b2b2(0x2b9)&&typeof _0x27d5fd[_0x60b2b2(0x11c)]=='number';}function et(_0x23969c,_0x4b08f9){const _0x4e3d16=_0x55b3f9;var _0x39db47,_0x4dcf28;let _0x1558b4=(_0x39db47=_0x23969c[_0x4e3d16(0x1fa)](_0x4b08f9))==null?(_0x4dcf28=_0x23969c[_0x4e3d16(0x3a7)])==null?void 0x0:_0x4dcf28[_0x4e3d16(0x10e)](_0x23969c,_0x4b08f9):_0x39db47;return $e(_0x1558b4)?_0x1558b4:null;}const tt=(0x0,n['memo'])(_0x3424eb=>{const _0xd0bd21=_0x55b3f9;let {children:_0x3fea8d,editingParams:_0x554feb,positionOptions:_0x59e909,onPositionUpdate:_0x44c4b0}=_0x3424eb,_0x2f3d0b=(0x0,n[_0xd0bd21(0x333)])(null),_0x312614=(0x0,o[_0xd0bd21(0x176)])(u[_0xd0bd21(0x349)]),_0x4bbb8d=(0x0,n[_0xd0bd21(0x32a)])(()=>_0x554feb?_0x312614['getRenderById'](_0x554feb[_0xd0bd21(0x1dd)]):null,[_0x554feb,_0x312614]),_0x184cab=(0x0,n[_0xd0bd21(0x32a)])(()=>{const _0x5d1169=_0xd0bd21;var _0x2f4d78;return(_0x2f4d78=_0x4bbb8d==null?void 0x0:_0x4bbb8d[_0x5d1169(0x189)])==null?null:_0x2f4d78;},[_0x4bbb8d]),_0x279c14=(0x0,n['useMemo'])(()=>!_0x554feb||!_0x4bbb8d||!_0x59e909[_0xd0bd21(0x309)]?null:_0x59e909[_0xd0bd21(0x309)](_0x4bbb8d,_0x554feb),[_0x554feb,_0x59e909,_0x4bbb8d]),_0x2ff260=(0x0,n['useCallback'])(()=>{const _0x4b937c=_0xd0bd21;var _0x953e47;if(!_0x554feb||!_0x184cab)return null;let _0x56acdf=et(_0x184cab,_0x554feb[_0x4b937c(0x18a)]);return _0x56acdf?{'left':_0x56acdf[_0x4b937c(0xf8)],'top':_0x56acdf[_0x4b937c(0x106)],'width':_0x56acdf[_0x4b937c(0x10f)],'height':_0x56acdf[_0x4b937c(0x11c)],'angle':(_0x953e47=_0x56acdf['angle'])==null?0x0:_0x953e47}:null;},[_0x554feb,_0x184cab]),{position:_0x4f7b37,updatePosition:_0x366e6c}=xe({'editingParams':_0x554feb,'scene':_0x184cab,'skeleton':_0x279c14,'viewportKeys':_0x59e909['viewportKeys'],'getShapeTransform':_0x2ff260}),_0x359048=(0x0,n[_0xd0bd21(0x308)])(()=>{const _0x45427b=_0xd0bd21;let _0x2f87dd=_0x2f3d0b['current'];_0x2f87dd&&(_0x2f87dd[_0x45427b(0x338)][_0x45427b(0xf8)]=_0x4f7b37['left']+'px',_0x2f87dd['style'][_0x45427b(0x106)]=_0x4f7b37[_0x45427b(0x106)]+'px',_0x2f87dd[_0x45427b(0x338)][_0x45427b(0x10f)]=_0x4f7b37[_0x45427b(0x10f)]+'px',_0x2f87dd['style']['height']=_0x4f7b37[_0x45427b(0x11c)]+'px');},[_0x4f7b37]);return(0x0,n[_0xd0bd21(0x352)])(()=>{const _0x5bba8a=_0xd0bd21;_0x359048(),Qe(_0x554feb,_0x4f7b37)&&(_0x44c4b0==null||_0x44c4b0({'width':_0x4f7b37['width'],'height':_0x4f7b37[_0x5bba8a(0x11c)],'scaleX':_0x4f7b37[_0x5bba8a(0x12b)],'scaleY':_0x4f7b37[_0x5bba8a(0x37d)]}));},[_0x554feb,_0x4f7b37,_0x359048,_0x44c4b0]),(0x0,n[_0xd0bd21(0x352)])(()=>{const _0x1398e6=_0xd0bd21;if(!_0x184cab)return;let _0xc080a1=_0x184cab['getViewport'](_0x59e909[_0x1398e6(0x302)]['main']);if(!_0xc080a1)return;let _0x2ec6a7=_0xc080a1[_0x1398e6(0x17b)][_0x1398e6(0x1e6)](()=>{_0x366e6c();});return()=>{_0x2ec6a7['unsubscribe']();};},[_0x59e909['viewportKeys'][_0xd0bd21(0x2ad)],_0x184cab,_0x366e6c]),(0x0,n[_0xd0bd21(0x352)])(()=>{const _0x1977ec=_0xd0bd21;if(!_0x554feb||!_0x184cab)return;let _0x2a4019=et(_0x184cab,_0x554feb[_0x1977ec(0x18a)]);if(_0x2a4019!=null&&_0x2a4019['onTransformChange$']){let _0x33de60=_0x2a4019[_0x1977ec(0x3aa)][_0x1977ec(0x1e6)](()=>{_0x366e6c();});return()=>{_0x33de60['unsubscribe']();};}},[_0x554feb,_0x184cab,_0x366e6c]),(0x0,r['jsx'])(_0xd0bd21(0x1c0),{'ref':_0x2f3d0b,'data-u-comp':_0xd0bd21(0x3c5),'className':_0xd0bd21(0x322),'style':(0x0,n[_0xd0bd21(0x32a)])(()=>({'left':_0x4f7b37[_0xd0bd21(0xf8)],'top':_0x4f7b37[_0xd0bd21(0x106)],'width':_0x4f7b37[_0xd0bd21(0x10f)],'height':_0x4f7b37[_0xd0bd21(0x11c)],'pointerEvents':_0x554feb!=null&&_0x554feb[_0xd0bd21(0x1da)]?_0xd0bd21(0x215):_0xd0bd21(0x39c)}),[_0x4f7b37,_0x554feb==null?void 0x0:_0x554feb[_0xd0bd21(0x1da)]]),'children':_0x3fea8d});});function nt(_0x39a36c,_0x395512){const _0x1e76d3=_0x55b3f9;return Math[_0x1e76d3(0x112)](_0x39a36c[_0x1e76d3(0x10f)]-_0x395512[_0x1e76d3(0x10f)])<=0.001&&Math[_0x1e76d3(0x112)](_0x39a36c[_0x1e76d3(0x11c)]-_0x395512['height'])<=0.001&&Math[_0x1e76d3(0x112)](_0x39a36c[_0x1e76d3(0x12b)]-_0x395512[_0x1e76d3(0x12b)])<=0.001&&Math[_0x1e76d3(0x112)](_0x39a36c['scaleY']-_0x395512['scaleY'])<=0.001;}const rt=(0x0,n[_0x55b3f9(0x110)])(_0x2104cd=>{const _0x7e88af=_0x55b3f9;let {adapter:_0x137535,editorUnitId:_0x2ed44d,editingService:_0x524bf8,positionOptions:_0x2b49e9,verticalAlignCommandId:_0x3fa710}=_0x2104cd,_0x4beb33=(0x0,o[_0x7e88af(0x2b2)])(_0x524bf8[_0x7e88af(0x13a)]),_0x321bfc=ze({'editorUnitId':_0x2ed44d,'editingParams':_0x4beb33}),[_0x4a02a1,_0x130489]=(0x0,n[_0x7e88af(0x1ea)])(null),_0x3849b1=(0x0,n[_0x7e88af(0x308)])(_0x1b1492=>{const _0x4932ba=_0x7e88af;if(!_0x321bfc)return;let _0x48d4cc={'width':_0x1b1492['width'],'height':_0x1b1492['height'],'scaleX':_0x1b1492[_0x4932ba(0x12b)],'scaleY':_0x1b1492[_0x4932ba(0x37d)]};_0x130489(_0x2e9faf=>(_0x2e9faf==null?void 0x0:_0x2e9faf['sessionKey'])===_0x321bfc&&nt(_0x2e9faf[_0x4932ba(0xf7)],_0x48d4cc)?_0x2e9faf:{'sessionKey':_0x321bfc,'size':_0x48d4cc});},[_0x321bfc]);if(!(_0x4beb33!=null&&_0x4beb33[_0x7e88af(0x1da)]))return null;let _0x304092=(_0x4a02a1==null?void 0x0:_0x4a02a1['sessionKey'])===_0x321bfc?_0x4a02a1[_0x7e88af(0xf7)]:null;return(0x0,r['jsx'])(tt,{'editingParams':_0x4beb33,'positionOptions':_0x2b49e9,'onPositionUpdate':_0x3849b1,'children':_0x304092?(0x0,r[_0x7e88af(0x29d)])(Ze,{'adapter':_0x137535,'containerWidth':_0x304092['width'],'containerHeight':_0x304092['height'],'editingParams':_0x4beb33,'editingService':_0x524bf8,'editorUnitId':_0x2ed44d,'scaleX':_0x304092['scaleX'],'scaleY':_0x304092[_0x7e88af(0x37d)],'verticalAlignCommandId':_0x3fa710}):null});}),it=_0x55b3f9(0x1a5),at=o['FONT_SIZE_LIST'][_0x55b3f9(0x34d)](_0x34691b=>({'label':_0x34691b[_0x55b3f9(0x1db)],'value':String(_0x34691b[_0x55b3f9(0x250)])})),ot=[l[_0x55b3f9(0x2fc)]['id'],l[_0x55b3f9(0x356)]['id'],l[_0x55b3f9(0x31b)]['id'],l['SetInlineFormatFontFamilyCommand']['id'],l[_0x55b3f9(0x2f4)]['id'],l['SetInlineFormatBoldCommand']['id'],l[_0x55b3f9(0x109)]['id'],l['SetInlineFormatUnderlineCommand']['id'],l['SetInlineFormatStrikethroughCommand']['id'],l[_0x55b3f9(0x271)]['id'],l[_0x55b3f9(0x2ae)]['id'],c['RichTextEditingMutation']['id'],c[_0x55b3f9(0x28d)]['id']],st={'root':_0x55b3f9(0x13b),'group':'univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-0.5\x20univer-px-1','divider':_0x55b3f9(0x2ba),'button':_0x55b3f9(0x334),'select':'\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'};function ct(_0x185fc2){const _0x5226ef=_0x55b3f9;return _0x185fc2 instanceof HTMLElement?!!_0x185fc2[_0x5226ef(0x36d)](_0x5226ef(0x1c1)):!0x1;}function lt(_0x153195){const _0xd2b72=_0x55b3f9;return!!(_0x153195&&typeof _0x153195==_0xd2b72(0x233)&&_0x153195['s']===a['BooleanNumber'][_0xd2b72(0x1a0)]);}function ut(_0x589ea2){const _0xbf21e9=_0x55b3f9;return(0x0,r['jsx'])(_0xbf21e9(0x1c0),{'className':st[_0xbf21e9(0x249)],'children':_0x589ea2[_0xbf21e9(0x35c)]});}function dt(){const _0x14d8b7=_0x55b3f9;return(0x0,r[_0x14d8b7(0x29d)])(_0x14d8b7(0x360),{'className':st[_0x14d8b7(0x169)]});}function ft(_0x5d5c1a){const _0x1b8aae=_0x55b3f9;return(0x0,r['jsx'])(e[_0x1b8aae(0x345)],{'title':_0x5d5c1a['title'],'placement':_0x1b8aae(0x254),'children':(0x0,r[_0x1b8aae(0x29d)])(_0x1b8aae(0x188),{'type':'button','className':(0x0,e[_0x1b8aae(0x27b)])(st[_0x1b8aae(0x188)],{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x5d5c1a[_0x1b8aae(0x246)]}),'onClick':_0x5d5c1a[_0x1b8aae(0x15f)],'children':_0x5d5c1a[_0x1b8aae(0x35c)]})});}function pt(){const _0xd834df=_0x55b3f9;var _0x572437,_0x2779b4,_0x10c450,_0xa5062c,_0x4d527b,_0x2c59a0;let _0x74373=(0x0,o[_0xd834df(0x176)])(a[_0xd834df(0x1b7)]),_0x247d8f=(0x0,o[_0xd834df(0x176)])(c[_0xd834df(0x368)]),_0x4ef77c=(0x0,o[_0xd834df(0x176)])(o['IFontService']),_0x373f14=(0x0,o[_0xd834df(0x176)])(a[_0xd834df(0x164)]),_0xfb48c1=(0x0,o[_0xd834df(0x176)])(a['IUniverInstanceService']),[_0x443d9b,_0x7b7f]=(0x0,n[_0xd834df(0x1ea)])({'cl':{'rgb':it}}),_0xd7629e=(0x0,o['useObservable'])(_0x4ef77c[_0xd834df(0x172)]);(0x0,n['useEffect'])(()=>{const _0x4f04d6=_0xd834df;let _0xe47f92=()=>{const _0x55e695=_0x3eb8;var _0xc4c40d,_0x261329,_0x3f02d0,_0xd9dc7,_0x393681,_0x756c98;let _0x5d1ea1=(_0xc4c40d=_0x247d8f['getTextRanges']())==null?[]:_0xc4c40d,_0x1c335b=_0x5d1ea1[_0x55e695(0x2e1)]>0x0?_0x5d1ea1[_0x55e695(0x3a1)](_0x25326c=>_0x25326c[_0x55e695(0x38d)]!=null&&_0x25326c[_0x55e695(0x259)]!=null):_0x247d8f[_0x55e695(0x1cc)](),_0x1d8d20=(_0x261329=_0x1c335b[_0x55e695(0x2e8)](_0x45a53e=>_0x45a53e['isActive']))==null?_0x1c335b[0x0]:_0x261329;if(!_0x1d8d20){_0x7b7f({'cl':{'rgb':it}});return;}let _0x26a4dd=_0xfb48c1[_0x55e695(0x386)](a['UniverInstanceType']['UNIVER_DOC']);if(!_0x26a4dd){_0x7b7f({'cl':{'rgb':it}});return;}let _0x4a9a4a=_0x26a4dd==null?void 0x0:_0x26a4dd['getSelfOrHeaderFooterModel'](_0x1d8d20['segmentId'])['getBody']();if(!_0x4a9a4a){_0x7b7f({'cl':{'rgb':it}});return;}let _0x4efeaf=(_0x3f02d0=_0x26a4dd[_0x55e695(0x344)]()[_0x55e695(0x3b7)])==null?void 0x0:_0x3f02d0[_0x55e695(0x1b2)];_0x7b7f((0x0,l[_0x55e695(0x135)])(_0x4a9a4a,_0x1d8d20,{..._0x4efeaf,'ff':(_0xd9dc7=_0x4efeaf==null?void 0x0:_0x4efeaf['ff'])==null?a['DEFAULT_STYLES']['ff']:_0xd9dc7,'fs':(_0x393681=_0x4efeaf==null?void 0x0:_0x4efeaf['fs'])==null?a[_0x55e695(0x14f)]['fs']:_0x393681,'cl':(_0x756c98=_0x4efeaf==null?void 0x0:_0x4efeaf['cl'])==null?{'rgb':it}:_0x756c98}));};_0xe47f92();let _0x806994=_0x74373[_0x4f04d6(0x195)](_0x4d1c52=>{const _0x2bc5ac=_0x4f04d6;ot[_0x2bc5ac(0x367)](_0x4d1c52['id'])&&_0xe47f92();}),_0x517b27=_0x247d8f[_0x4f04d6(0x3c7)][_0x4f04d6(0x321)](_0xe47f92);return()=>{const _0x1aa271=_0x4f04d6;_0x806994[_0x1aa271(0x262)](),_0x517b27['unsubscribe']();};},[_0x74373,_0x247d8f,_0xfb48c1]);let _0x504e2c=(_0x2e1a4e,_0x1f57e3)=>{const _0x3550c0=_0xd834df;_0x74373[_0x3550c0(0x39b)](_0x2e1a4e,_0x1f57e3===void 0x0?void 0x0:{'value':_0x1f57e3});},_0x1c34fb=(_0x572437=_0x443d9b['ff'])==null?a['DEFAULT_STYLES']['ff']:_0x572437,_0x3448f1=(_0x2779b4=_0x443d9b['fs'])==null?a[_0xd834df(0x14f)]['fs']:_0x2779b4,_0x17a7e6=(0x0,n[_0xd834df(0x32a)])(()=>{const _0x32d2ce=_0xd834df;let _0x24ff90=(_0xd7629e==null?[]:_0xd7629e)[_0x32d2ce(0x34d)](_0x584572=>({'label':_0x373f14['t'](_0x584572[_0x32d2ce(0x1db)]),'value':_0x584572[_0x32d2ce(0x250)]}));return _0x24ff90['some'](_0x266dfb=>_0x266dfb['value']===_0x1c34fb)?_0x24ff90:[{'label':_0x1c34fb,'value':_0x1c34fb},..._0x24ff90];},[_0x1c34fb,_0xd7629e,_0x373f14]),_0x21570b=_0x443d9b['bl']===a[_0xd834df(0x317)][_0xd834df(0x1a0)],_0x208433=_0x443d9b['it']===a['BooleanNumber'][_0xd834df(0x1a0)],_0x3c1744=lt(_0x443d9b['ul']),_0x2f3202=lt(_0x443d9b['st']),_0x1962c1=_0x443d9b['va']===a[_0xd834df(0x2d8)][_0xd834df(0x1eb)],_0xd8a01a=_0x443d9b['va']===a[_0xd834df(0x2d8)][_0xd834df(0x31f)],_0x3482b2=(_0x10c450=(_0xa5062c=_0x443d9b['bg'])==null?void 0x0:_0xa5062c[_0xd834df(0xf1)])==null?_0xd834df(0x1ef):_0x10c450;return(0x0,r[_0xd834df(0x38f)])(_0xd834df(0x1c0),{'onMouseDown':_0x4f6bd0=>{const _0x54fe9a=_0xd834df;_0x4f6bd0[_0x54fe9a(0x33a)](),ct(_0x4f6bd0[_0x54fe9a(0x1df)])||_0x4f6bd0[_0x54fe9a(0x3b3)]();},'className':(0x0,e['clsx'])(st[_0xd834df(0x2b5)],e[_0xd834df(0x1e1)]),'children':[(0x0,r[_0xd834df(0x29d)])(ut,{'children':(0x0,r['jsx'])(de,{})}),(0x0,r[_0xd834df(0x29d)])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r['jsx'])(e[_0xd834df(0x14d)],{'className':(0x0,e[_0xd834df(0x27b)])(st[_0xd834df(0x2a9)],'univer-w-28'),'value':_0x1c34fb,'options':_0x17a7e6,'onChange':_0x5c4b60=>_0x504e2c(l['SetInlineFormatFontFamilyCommand']['id'],_0x5c4b60)}),(0x0,r['jsx'])(e[_0xd834df(0x14d)],{'className':(0x0,e['clsx'])(st[_0xd834df(0x2a9)],_0xd834df(0x3cb)),'value':String(_0x3448f1),'options':at,'onChange':_0x199530=>{const _0xaf1d79=_0xd834df;let _0x4742b3=Number(_0x199530);Number[_0xaf1d79(0x364)](_0x4742b3)||_0x504e2c(l[_0xaf1d79(0x2f4)]['id'],_0x4742b3);}})]}),(0x0,r[_0xd834df(0x29d)])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r['jsx'])(ft,{'title':_0x373f14['t'](_0xd834df(0x228)),'active':_0x21570b,'onClick':()=>_0x504e2c(l[_0xd834df(0x2f5)]['id']),'children':(0x0,r[_0xd834df(0x29d)])(t[_0xd834df(0x212)],{})}),(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t'](_0xd834df(0x2be)),'active':_0x208433,'onClick':()=>_0x504e2c(l[_0xd834df(0x109)]['id']),'children':(0x0,r[_0xd834df(0x29d)])(t[_0xd834df(0x1b3)],{})}),(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t'](_0xd834df(0x319)),'active':_0x3c1744,'onClick':()=>_0x504e2c(l[_0xd834df(0x151)]['id']),'children':(0x0,r['jsx'])(t['UnderlineIcon'],{})}),(0x0,r['jsx'])(ft,{'title':_0x373f14['t'](_0xd834df(0x2a2)),'active':_0x2f3202,'onClick':()=>_0x504e2c(l[_0xd834df(0x2e5)]['id']),'children':(0x0,r[_0xd834df(0x29d)])(t[_0xd834df(0x28f)],{})})]}),(0x0,r['jsx'])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t']('shape-editor-ui.toolbar.subscript'),'active':_0x1962c1,'onClick':()=>_0x504e2c(l['SetInlineFormatSubscriptCommand']['id']),'children':(0x0,r[_0xd834df(0x38f)])(_0xd834df(0x360),{'className':_0xd834df(0x3af),'children':['X',(0x0,r['jsx'])(_0xd834df(0x1c3),{'children':'2'})]})}),(0x0,r[_0xd834df(0x29d)])(ft,{'title':_0x373f14['t'](_0xd834df(0x1bd)),'active':_0xd8a01a,'onClick':()=>_0x504e2c(l['SetInlineFormatSuperscriptCommand']['id']),'children':(0x0,r['jsxs'])(_0xd834df(0x360),{'className':_0xd834df(0x3af),'children':['X',(0x0,r['jsx'])(_0xd834df(0x1a4),{'children':'2'})]})})]}),(0x0,r[_0xd834df(0x29d)])(dt,{}),(0x0,r[_0xd834df(0x38f)])(ut,{'children':[(0x0,r[_0xd834df(0x29d)])(Z,{'title':_0x373f14['t'](_0xd834df(0x17d)),'textStyle':_0x443d9b,'fallbackColor':(_0x4d527b=(_0x2c59a0=_0x443d9b['cl'])==null?void 0x0:_0x2c59a0[_0xd834df(0xf1)])==null?it:_0x4d527b,'onChange':_0x185d80=>{const _0x27ea44=_0xd834df;_0x74373[_0x27ea44(0x39b)](l[_0x27ea44(0x2fc)]['id'],{'value':_0x185d80}),_0x7b7f(_0x4399eb=>({..._0x4399eb,..._0x185d80}));}}),(0x0,r[_0xd834df(0x29d)])(Q,{'title':_0x373f14['t'](_0xd834df(0x299)),'color':_0x3482b2,'resetLabel':_0x373f14['t'](_0xd834df(0x314)),'onApply':()=>_0x504e2c(l[_0xd834df(0x356)]['id'],_0x3482b2),'onReset':()=>{const _0x2d2b38=_0xd834df;_0x74373[_0x2d2b38(0x39b)](l[_0x2d2b38(0x31b)]['id']),_0x7b7f(_0x3f8f98=>({..._0x3f8f98,'bg':{'rgb':null}}));},'onChange':_0x18b8ed=>{const _0x197575=_0xd834df;_0x504e2c(l[_0x197575(0x356)]['id'],_0x18b8ed),_0x7b7f(_0x41106f=>({..._0x41106f,'bg':{'rgb':_0x18b8ed}}));}})]})]});}exports['DocParagraphTypeDropdown']=de,exports['FillStyleTabsEditor']=m,exports[_0x55b3f9(0x175)]=S,exports['ShapeFillEditor']=_,exports['ShapeFloatingToolbar']=ue,exports[_0x55b3f9(0x1e8)]=h,exports[_0x55b3f9(0x2db)]=x,exports[_0x55b3f9(0x24b)]=Ze,exports['ShapeTextEditorContainer']=rt,exports[_0x55b3f9(0x1cf)]=Pe,exports['ShapeTextFloatToolbar']=pt,exports[_0x55b3f9(0x18b)]=tt,exports['TextWrapShapeIcon']=F,exports[_0x55b3f9(0x328)]=Je,exports['buildShapeTextDataUpdate']=O,exports['calcShapePosition']=be,exports[_0x55b3f9(0x331)]=E,exports['getInitialShapeFillType']=g,exports['getShapeTextEditorContentStyle']=Ke,exports[_0x55b3f9(0x384)]=Xe,exports[_0x55b3f9(0x385)]=D,exports[_0x55b3f9(0x34a)]=De,exports[_0x55b3f9(0xfd)]=Oe,exports['useShapePosition']=xe;
|