@univer-cli/unit-layout-lint 1.5.2 → 1.6.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/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x191bdf=_0x4cb0;(function(_0x3370e1,_0x5bf934){const _0x371602=_0x4cb0,_0x2f0d84=_0x3370e1();while(!![]){try{const _0x29364c=-parseInt(_0x371602(0x194))/0x1*(parseInt(_0x371602(0x13e))/0x2)+parseInt(_0x371602(0x1ab))/0x3*(parseInt(_0x371602(0x1eb))/0x4)+parseInt(_0x371602(0x1f1))/0x5*(-parseInt(_0x371602(0x13c))/0x6)+-parseInt(_0x371602(0x148))/0x7*(parseInt(_0x371602(0x18c))/0x8)+-parseInt(_0x371602(0x149))/0x9+parseInt(_0x371602(0x159))/0xa*(-parseInt(_0x371602(0x14d))/0xb)+-parseInt(_0x371602(0x154))/0xc*(-parseInt(_0x371602(0x144))/0xd);if(_0x29364c===_0x5bf934)break;else _0x2f0d84['push'](_0x2f0d84['shift']());}catch(_0x4118af){_0x2f0d84['push'](_0x2f0d84['shift']());}}}(_0x44db,0xd99cf));import{createHash as _0x294883}from'node:crypto';var t=class extends Error{['code'];constructor(_0xd48637,_0x18bc60,_0x26260d){const _0x35eb70=_0x4cb0;super(_0x18bc60,_0x26260d),this[_0x35eb70(0x1e1)]=_0x35eb70(0x140),this[_0x35eb70(0x1e4)]=_0xd48637;}};function n(_0xfcc5fe){return _0xfcc5fe instanceof t;}async function r(_0x5888e8,_0x2b25f2){const _0x5be19b=_0x4cb0;if(typeof _0x5888e8['unitData']['id']!='string'||_0x5888e8['unitData']['id'][_0x5be19b(0x1e5)]()==='')throw new t(_0x5be19b(0x17f),_0x5be19b(0x1ea));let _0x4e250b=_0x5888e8[_0x5be19b(0x186)]??_0x5be19b(0x195);if(_0x4e250b!==_0x5be19b(0x15a)&&_0x4e250b!==_0x5be19b(0x1f9)&&_0x4e250b!=='both')throw new t(_0x5be19b(0x17f),'Board\x20mode\x20must\x20be\x20model,\x20rendered,\x20or\x20both');if(_0x5888e8['layoutPlan']!==void 0x0&&(_0x4e250b===_0x5be19b(0x15a)||_0x5888e8[_0x5be19b(0x189)]||_0x5888e8[_0x5be19b(0x14a)]||_0x5888e8['textPlanElementIds']!==void 0x0))throw new t(_0x5be19b(0x17f),_0x5be19b(0x17b));if(_0x5888e8[_0x5be19b(0x189)]===!0x0&&_0x4e250b==='model')throw new t(_0x5be19b(0x17f),'Label\x20plans\x20require\x20rendered\x20Board\x20analysis');if(_0x5888e8[_0x5be19b(0x14a)]===!0x0&&_0x4e250b==='model')throw new t(_0x5be19b(0x17f),_0x5be19b(0x1aa));if(_0x5888e8['textPlanElementIds']!==void 0x0&&_0x4e250b==='model')throw new t(_0x5be19b(0x17f),'Text\x20plans\x20require\x20rendered\x20Board\x20analysis');let _0x34c63d=_0x5888e8['maximumAutomaticLabelDistance'];if(_0x34c63d!==void 0x0&&!l(_0x34c63d))throw new t(_0x5be19b(0x17f),_0x5be19b(0x1b9));if(_0x34c63d!==void 0x0&&_0x4e250b===_0x5be19b(0x15a))throw new t(_0x5be19b(0x17f),_0x5be19b(0x16c));let _0x485f95=_0x5888e8[_0x5be19b(0x1da)][_0x5be19b(0x127)];if(!Array[_0x5be19b(0x158)](_0x485f95)||_0x485f95[_0x5be19b(0x19b)]===0x0||new Set(_0x485f95)[_0x5be19b(0x13f)]!==_0x485f95[_0x5be19b(0x19b)])throw new t(_0x5be19b(0x17f),_0x5be19b(0x193));if(_0x5888e8[_0x5be19b(0x17e)]?.[_0x5be19b(0x19b)]===0x0)throw new t(_0x5be19b(0x17f),'pages\x20must\x20not\x20be\x20empty');let _0x3ce50a=[...new Set((_0x5888e8[_0x5be19b(0x17e)]??_0x485f95)[_0x5be19b(0x1f2)](_0x21dccc=>{const _0x2dc105=_0x5be19b;let _0x3da968=typeof _0x21dccc==_0x2dc105(0x172)?_0x21dccc-0x1:_0x485f95[_0x2dc105(0x18b)](_0x21dccc),_0x39e72e=_0x485f95[_0x3da968];if(!Number[_0x2dc105(0x1c1)](_0x3da968)||_0x3da968<0x0||_0x39e72e===void 0x0||!_0x5888e8[_0x2dc105(0x1da)][_0x2dc105(0x17e)][_0x39e72e])throw new t(_0x2dc105(0x17f),'Board\x20page\x20selector\x20is\x20invalid:\x20'+String(_0x21dccc));return _0x39e72e;}))]['map'](_0x11dd14=>({'page':_0x485f95['indexOf'](_0x11dd14)+0x1,'pageId':_0x11dd14})),_0x35e37b=_0x5888e8['textPlanElementIds'];if(_0x35e37b!==void 0x0&&(!Array[_0x5be19b(0x158)](_0x35e37b)||_0x35e37b[_0x5be19b(0x1fb)](_0x4e521e=>typeof _0x4e521e!=_0x5be19b(0x12a)||_0x4e521e[_0x5be19b(0x1e5)]()==='')||new Set(_0x35e37b)[_0x5be19b(0x13f)]!==_0x35e37b[_0x5be19b(0x19b)]||_0x35e37b['some'](_0x5d609d=>!_0x3ce50a[_0x5be19b(0x1fb)](({pageId:_0x24b538})=>_0x5888e8[_0x5be19b(0x1da)][_0x5be19b(0x17e)][_0x24b538]?.[_0x5be19b(0x146)][_0x5d609d]?.[_0x5be19b(0x1d7)]===_0x5be19b(0x1bd)))))throw new t(_0x5be19b(0x17f),_0x5be19b(0x1af));let _0x4ae16c=_0x5888e8[_0x5be19b(0x1df)];if(_0x4ae16c!==void 0x0&&(!Number['isFinite'](_0x4ae16c)||_0x4ae16c<0x1||_0x4ae16c>0x2||!_0x35e37b?.['length']))throw new t('INVALID_INPUT','textPlanMaximumWidthGrowth\x20requires\x20selected\x20shape\x20IDs\x20and\x20a\x20finite\x20number\x20from\x201\x20to\x202');let _0x438492=structuredClone({'unitType':_0x5888e8[_0x5be19b(0x1fa)],'unitData':_0x5888e8[_0x5be19b(0x1da)],..._0x5888e8[_0x5be19b(0x168)]===void 0x0?{}:{'formulaReferenceUnits':_0x5888e8[_0x5be19b(0x168)]},..._0x5888e8[_0x5be19b(0x123)]===void 0x0?{}:{'embeddedUnits':_0x5888e8[_0x5be19b(0x123)]},'pages':_0x3ce50a[_0x5be19b(0x1f2)](({pageId:_0x4dfa5a})=>_0x4dfa5a),'focusPadding':0x30,..._0x34c63d===void 0x0?{}:{'maximumAutomaticLabelDistance':_0x34c63d},..._0x5888e8[_0x5be19b(0x139)]===void 0x0?{}:{'layoutPlan':_0x5888e8['layoutPlan']},..._0x5888e8[_0x5be19b(0x189)]===!0x0?{'includeLabelPlan':!0x0}:{},..._0x5888e8[_0x5be19b(0x14a)]===!0x0?{'includePortPlan':!0x0}:{},..._0x35e37b===void 0x0?{}:{'textPlanElementIds':_0x35e37b},..._0x4ae16c===void 0x0?{}:{'textPlanMaximumWidthGrowth':_0x4ae16c}}),_0x5b58b8=_0x294883(_0x5be19b(0x16a))[_0x5be19b(0x135)](JSON['stringify'](_0x438492))[_0x5be19b(0x14f)](_0x5be19b(0x1d6)),_0x2cb861=_0x4e250b===_0x5be19b(0x195)?['model','rendered']:[_0x4e250b],_0x31628e=[],_0x39fd4d=_0x3ce50a[_0x5be19b(0x1f2)](_0x2c1ffd=>({..._0x2c1ffd})),_0x18f1dc=[];for(let _0x474754 of _0x2cb861){_0x5888e8['signal']?.[_0x5be19b(0x138)]();let _0x5095ba=_0x474754===_0x5be19b(0x15a)?_0x2b25f2[_0x5be19b(0x1ec)]?.[_0x5be19b(0x160)][_0x5be19b(0x14e)](_0x2b25f2[_0x5be19b(0x1ec)]):_0x2b25f2[_0x5be19b(0x150)]!==void 0x0&&'captureBoardLayout'in _0x2b25f2[_0x5be19b(0x150)]?_0x2b25f2[_0x5be19b(0x150)][_0x5be19b(0x1b2)][_0x5be19b(0x14e)](_0x2b25f2['runtime']):void 0x0;if(_0x5095ba===void 0x0){for(let {pageId:_0x1ced7a}of _0x3ce50a)_0x31628e[_0x5be19b(0x152)]({'pageId':_0x1ced7a,'source':_0x474754,'reason':_0x5be19b(0x145)});continue;}let _0x54819d=structuredClone(_0x438492);_0x474754===_0x5be19b(0x15a)&&(delete _0x54819d[_0x5be19b(0x14a)],delete _0x54819d[_0x5be19b(0x139)],delete _0x54819d[_0x5be19b(0x1bc)],delete _0x54819d[_0x5be19b(0x1fe)],delete _0x54819d[_0x5be19b(0x1df)]);let _0x1e0d2f=await _0x5095ba({..._0x54819d,..._0x5888e8[_0x5be19b(0x157)]===void 0x0?{}:{'signal':_0x5888e8['signal']}});_0x5888e8[_0x5be19b(0x157)]?.[_0x5be19b(0x138)](),i(_0x1e0d2f,_0x3ce50a[_0x5be19b(0x1f2)](({pageId:_0x3a12ad})=>_0x3a12ad),_0x474754);for(let _0x2654c9 of _0x39fd4d){let _0x3900f8=_0x1e0d2f[_0x5be19b(0x17e)][_0x5be19b(0x147)](({pageId:_0x2a2a78})=>_0x2a2a78===_0x2654c9['pageId']),_0x577574=_0x3900f8?.[_0x5be19b(0x1e9)];if(_0x577574===void 0x0){_0x31628e[_0x5be19b(0x152)]({'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'reason':_0x5be19b(0x133)});continue;}if(_0x2654c9[_0x474754]=_0x577574,_0x474754===_0x5be19b(0x1f9)&&_0x34c63d!==void 0x0&&!d(_0x577574,_0x34c63d,_0x438492['unitData'][_0x5be19b(0x17e)][_0x2654c9['pageId']][_0x5be19b(0x146)])&&_0x31628e['push']({'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'reason':'automatic-label-distance-unavailable'}),_0x474754===_0x5be19b(0x1f9)&&_0x438492[_0x5be19b(0x139)]!==void 0x0){let _0x32fb2c=_0x3900f8?.['plan'];if(_0x32fb2c===void 0x0)_0x31628e[_0x5be19b(0x152)]({'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'reason':_0x5be19b(0x15b)});else{if(!a(_0x32fb2c)||_0x32fb2c[_0x5be19b(0x165)]!==_0x5888e8[_0x5be19b(0x1da)]['id']||_0x32fb2c[_0x5be19b(0x1e0)]!==_0x2654c9[_0x5be19b(0x1e0)]||_0x32fb2c[_0x5be19b(0x1f0)]!==_0x5be19b(0x13b)&&_0x32fb2c[_0x5be19b(0x1f0)]!==_0x5be19b(0x180)||!Array[_0x5be19b(0x158)](_0x32fb2c[_0x5be19b(0x1f7)])||!Array[_0x5be19b(0x158)](_0x32fb2c[_0x5be19b(0x202)])||!Array[_0x5be19b(0x158)](_0x32fb2c['diagnostics']))throw new t('INVALID_RENDER_RESULT','Layout\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page,\x20status\x20or\x20payload');_0x2654c9['plan']=_0x32fb2c,_0x32fb2c[_0x5be19b(0x1f0)]==='incomplete'&&_0x31628e['push']({'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'reason':_0x5be19b(0x174)});}}if(_0x474754===_0x5be19b(0x1f9)&&_0x5888e8[_0x5be19b(0x189)]===!0x0){if(_0x3900f8?.[_0x5be19b(0x1b5)]===void 0x0)_0x31628e['push']({'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'reason':_0x5be19b(0x15c)});else{if(_0x3900f8['labelPlan']['unitId']!==_0x5888e8[_0x5be19b(0x1da)]['id']||_0x3900f8['labelPlan']['pageId']!==_0x2654c9[_0x5be19b(0x1e0)])throw new t(_0x5be19b(0x1b4),_0x5be19b(0x1bb));_0x2654c9[_0x5be19b(0x1b5)]=_0x3900f8[_0x5be19b(0x1b5)];}}if(_0x474754===_0x5be19b(0x1f9)&&_0x5888e8['includePortPlan']===!0x0){if(_0x3900f8?.['portPlan']===void 0x0)_0x31628e['push']({'pageId':_0x2654c9['pageId'],'source':_0x474754,'reason':_0x5be19b(0x1ff)});else{if(_0x3900f8[_0x5be19b(0x1c9)][_0x5be19b(0x165)]!==_0x5888e8[_0x5be19b(0x1da)]['id']||_0x3900f8[_0x5be19b(0x1c9)][_0x5be19b(0x1e0)]!==_0x2654c9[_0x5be19b(0x1e0)]||_0x3900f8[_0x5be19b(0x1c9)][_0x5be19b(0x1f0)]!==_0x5be19b(0x13b)&&_0x3900f8[_0x5be19b(0x1c9)][_0x5be19b(0x1f0)]!==_0x5be19b(0x180))throw new t(_0x5be19b(0x1b4),'Port\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page\x20or\x20status');_0x2654c9[_0x5be19b(0x1c9)]=_0x3900f8[_0x5be19b(0x1c9)],_0x3900f8['portPlan']['status']===_0x5be19b(0x180)&&_0x31628e['push']({'pageId':_0x2654c9['pageId'],'source':_0x474754,'reason':_0x5be19b(0x1ba)});}}_0x474754===_0x5be19b(0x1f9)&&_0x438492[_0x5be19b(0x1fe)]!==void 0x0&&(_0x3900f8?.['textPlan']===void 0x0?_0x31628e[_0x5be19b(0x152)]({'pageId':_0x2654c9['pageId'],'source':_0x474754,'reason':_0x5be19b(0x1b8)}):(f(_0x3900f8[_0x5be19b(0x162)],_0x5888e8[_0x5be19b(0x1da)]['id'],_0x2654c9[_0x5be19b(0x1e0)],_0x438492[_0x5be19b(0x1fe)],_0x438492[_0x5be19b(0x1da)][_0x5be19b(0x17e)][_0x2654c9['pageId']][_0x5be19b(0x146)],_0x438492[_0x5be19b(0x1df)]),_0x2654c9[_0x5be19b(0x162)]=_0x3900f8[_0x5be19b(0x162)],_0x3900f8[_0x5be19b(0x162)][_0x5be19b(0x1f0)]===_0x5be19b(0x180)&&_0x31628e['push']({'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'reason':_0x5be19b(0x15f)})));for(let _0x52033c of _0x577574[_0x5be19b(0x17d)])_0x18f1dc[_0x5be19b(0x152)]({..._0x52033c,'page':_0x2654c9[_0x5be19b(0x14b)],'pageId':_0x2654c9[_0x5be19b(0x1e0)],'source':_0x474754,'fingerprint':_0x474754+':'+_0x2654c9[_0x5be19b(0x1e0)]+':'+_0x52033c[_0x5be19b(0x19a)]+':'+_0x52033c['id']});}}for(let _0x454f27 of _0x39fd4d){let _0x396936=_0x4e250b===_0x5be19b(0x15a)?'model':'rendered',_0x53380f=_0x454f27[_0x396936];(_0x53380f?.['summary'][_0x5be19b(0x1cb)]||_0x53380f?.[_0x5be19b(0x128)][_0x5be19b(0x1fb)](_0x1aded7=>!_0x1aded7[_0x5be19b(0x19e)]))&&_0x31628e[_0x5be19b(0x152)]({'pageId':_0x454f27[_0x5be19b(0x1e0)],'source':_0x396936,'reason':_0x5be19b(0x14c)}),(_0x53380f?.[_0x5be19b(0x17d)][_0x5be19b(0x1fb)](_0x4347ca=>_0x4347ca[_0x5be19b(0x19a)]===_0x5be19b(0x16b))||Object[_0x5be19b(0x141)](_0x53380f?.[_0x5be19b(0x1ad)]??{})['some'](_0x271550=>Object[_0x5be19b(0x141)](_0x271550)[_0x5be19b(0x1fb)](_0x1676e4=>_0x1676e4['status']===_0x5be19b(0x143))))&&_0x31628e[_0x5be19b(0x152)]({'pageId':_0x454f27[_0x5be19b(0x1e0)],'source':_0x396936,'reason':_0x5be19b(0x125)}),_0x53380f?.[_0x5be19b(0x17d)][_0x5be19b(0x1fb)](_0x5f104b=>_0x5f104b[_0x5be19b(0x19a)]===_0x5be19b(0x1fc))&&_0x31628e['push']({'pageId':_0x454f27[_0x5be19b(0x1e0)],'source':_0x396936,'reason':_0x5be19b(0x1a3)});}return{'kind':_0x5be19b(0x132),'unitId':_0x5888e8[_0x5be19b(0x1da)]['id'],'unitType':_0x5be19b(0x203),'mode':_0x4e250b,'snapshotHash':_0x5b58b8,'status':_0x31628e[_0x5be19b(0x19b)]>0x0?_0x5be19b(0x180):_0x18f1dc[_0x5be19b(0x19b)]>0x0?_0x5be19b(0x19c):_0x5be19b(0x1e3),'coverage':{'pages':_0x3ce50a,'sources':_0x2cb861,'complete':_0x31628e[_0x5be19b(0x19b)]===0x0,'incomplete':_0x31628e,'limitations':_0x4e250b===_0x5be19b(0x15a)?[_0x5be19b(0x1db)]:_0x34c63d===void 0x0?[]:[_0x5be19b(0x142)]},'analyses':_0x39fd4d,'findings':_0x18f1dc};}function i(_0x239eda,_0x3402cd,_0x588a14){const _0x4575d8=_0x4cb0;let _0x4b8a5b=new Set();for(let _0x21b74d of _0x239eda[_0x4575d8(0x17e)]){if(!_0x3402cd[_0x4575d8(0x1c6)](_0x21b74d[_0x4575d8(0x1e0)])||_0x4b8a5b['has'](_0x21b74d[_0x4575d8(0x1e0)])||_0x21b74d[_0x4575d8(0x1e9)][_0x4575d8(0x18f)]!==_0x588a14)throw new t('INVALID_RENDER_RESULT','Board\x20capture\x20contains\x20an\x20unexpected\x20page,\x20duplicate\x20page,\x20or\x20source');_0x4b8a5b[_0x4575d8(0x1d3)](_0x21b74d['pageId']);let {errorCount:_0x293e70,warningCount:_0x2cb189,unresolvedConnectorCount:_0x188258}=_0x21b74d['analysis']['summary'];if([_0x293e70,_0x2cb189,_0x188258][_0x4575d8(0x1fb)](_0x29a732=>!Number[_0x4575d8(0x200)](_0x29a732)||_0x29a732<0x0))throw new t(_0x4575d8(0x1b4),_0x4575d8(0x1a7));if(_0x293e70!==_0x21b74d[_0x4575d8(0x1e9)][_0x4575d8(0x17d)][_0x4575d8(0x1d8)](({severity:_0x38e243})=>_0x38e243===_0x4575d8(0x1ca))[_0x4575d8(0x19b)]||_0x2cb189!==_0x21b74d['analysis'][_0x4575d8(0x17d)]['filter'](({severity:_0x26f597})=>_0x26f597==='warning')[_0x4575d8(0x19b)])throw new t('INVALID_RENDER_RESULT',_0x4575d8(0x16e));if(_0x21b74d['analysis'][_0x4575d8(0x1ad)]!==void 0x0&&!s(_0x21b74d[_0x4575d8(0x1e9)][_0x4575d8(0x1ad)]))throw new t('INVALID_RENDER_RESULT','Board\x20capture\x20contains\x20invalid\x20connector\x20label\x20measurements');if(_0x21b74d['analysis'][_0x4575d8(0x1b7)]!==void 0x0&&(!a(_0x21b74d[_0x4575d8(0x1e9)][_0x4575d8(0x1b7)])||!l(_0x21b74d[_0x4575d8(0x1e9)]['labelDistanceInspection'][_0x4575d8(0x1bc)])||_0x21b74d[_0x4575d8(0x1e9)][_0x4575d8(0x1b7)]['metric']!==_0x4575d8(0x185)))throw new t(_0x4575d8(0x1b4),_0x4575d8(0x1ae));for(let _0x263688 of _0x21b74d['analysis'][_0x4575d8(0x17d)]){if(_0x263688[_0x4575d8(0x124)]!==void 0x0&&(!a(_0x263688['labelDistance'])||!l(_0x263688[_0x4575d8(0x124)][_0x4575d8(0x164)])||!l(_0x263688[_0x4575d8(0x124)][_0x4575d8(0x1be)])))throw new t(_0x4575d8(0x1b4),_0x4575d8(0x192));if(_0x263688['tableRange']!==void 0x0){let _0x35ebb8=_0x263688['tableRange'];if(!_0x35ebb8||![_0x35ebb8[_0x4575d8(0x1c3)],_0x35ebb8[_0x4575d8(0x13a)],_0x35ebb8['startColumn'],_0x35ebb8[_0x4575d8(0x166)]][_0x4575d8(0x1c8)](_0x4d64ad=>Number[_0x4575d8(0x1c1)](_0x4d64ad)&&_0x4d64ad>=0x0)||_0x35ebb8['startRow']>_0x35ebb8[_0x4575d8(0x13a)]||_0x35ebb8[_0x4575d8(0x176)]>_0x35ebb8['endColumn'])throw new t('INVALID_RENDER_RESULT',_0x4575d8(0x1ef));}if(_0x263688[_0x4575d8(0x179)]!==void 0x0&&(!c(_0x263688[_0x4575d8(0x179)]?.[_0x4575d8(0x187)],!0x1)||!c(_0x263688[_0x4575d8(0x179)]?.['contentSize'],!0x0)))throw new t('INVALID_RENDER_RESULT',_0x4575d8(0x190));}}}function a(_0x36cc25){const _0x57364d=_0x4cb0;if(!_0x36cc25||typeof _0x36cc25!=_0x57364d(0x1a0)||Array['isArray'](_0x36cc25))return!0x1;let _0x2d2d9a=Object[_0x57364d(0x175)](_0x36cc25);return _0x2d2d9a===Object[_0x57364d(0x19d)]||_0x2d2d9a===null;}function o(_0x7f914f){const _0xa57a7a=_0x4cb0;return a(_0x7f914f)&&c(_0x7f914f,!0x0)&&[_0x7f914f[_0xa57a7a(0x1d1)],_0x7f914f['top']][_0xa57a7a(0x1c8)](_0xf65591=>typeof _0xf65591==_0xa57a7a(0x172)&&Number[_0xa57a7a(0x15e)](_0xf65591));}function s(_0xa31fd4){const _0x32f24b=_0x4cb0;if(!a(_0xa31fd4))return!0x1;for(let [_0x4d7be3,_0x52b1ff]of Object[_0x32f24b(0x1c7)](_0xa31fd4)){if(_0x4d7be3[_0x32f24b(0x1e5)]()===''||!a(_0x52b1ff))return!0x1;for(let [_0x283364,_0x98a206]of Object[_0x32f24b(0x1c7)](_0x52b1ff)){if(_0x283364[_0x32f24b(0x1e5)]()===''||!a(_0x98a206))return!0x1;if(_0x98a206[_0x32f24b(0x1f0)]===_0x32f24b(0x143)){if(Reflect[_0x32f24b(0x16d)](_0x98a206)[_0x32f24b(0x19b)]!==0x1||!Object[_0x32f24b(0x19d)]['hasOwnProperty'][_0x32f24b(0x1a4)](_0x98a206,_0x32f24b(0x1f0)))return!0x1;continue;}if(_0x98a206['status']!==_0x32f24b(0x13b)||_0x98a206[_0x32f24b(0x126)]!==void 0x0&&!u(_0x98a206[_0x32f24b(0x126)])||!o(_0x98a206['rect'])||!o(_0x98a206[_0x32f24b(0x153)])||typeof _0x98a206['angleRadians']!=_0x32f24b(0x172)||!Number[_0x32f24b(0x15e)](_0x98a206['angleRadians'])||!a(_0x98a206['outerSize'])||!c(_0x98a206[_0x32f24b(0x15d)],!0x0)||!a(_0x98a206['requiredSize'])||!c(_0x98a206['requiredSize'],!0x0)||![_0x98a206[_0x32f24b(0x1c2)],_0x98a206[_0x32f24b(0x18a)],_0x98a206[_0x32f24b(0x167)]][_0x32f24b(0x1c8)](_0x1fe530=>typeof _0x1fe530=='boolean'))return!0x1;}}return!0x0;}function _0x4cb0(_0x26ee8e,_0x15e0f0){_0x26ee8e=_0x26ee8e-0x123;const _0x44db37=_0x44db();let _0x4cb02a=_0x44db37[_0x26ee8e];return _0x4cb02a;}function c(_0x5db698,_0xe2ad34){const _0x17a8a0=_0x4cb0;if(!_0x5db698||typeof _0x5db698!=_0x17a8a0(0x1a0))return!0x1;let _0x1f0d57=_0x5db698;return[_0x1f0d57['width'],_0x1f0d57['height']]['every'](_0x116f9a=>typeof _0x116f9a=='number'&&Number[_0x17a8a0(0x15e)](_0x116f9a)&&(_0xe2ad34?_0x116f9a>=0x0:_0x116f9a>0x0));}function l(_0x2caa16){const _0x75834=_0x4cb0;return typeof _0x2caa16==_0x75834(0x172)&&Number[_0x75834(0x15e)](_0x2caa16)&&_0x2caa16>=0x0;}function u(_0x46eb12){const _0x238bbc=_0x4cb0;return a(_0x46eb12)?_0x46eb12['status']===_0x238bbc(0x13b)?l(_0x46eb12['distance']):_0x46eb12[_0x238bbc(0x1f0)]===_0x238bbc(0x1f5)?typeof _0x46eb12['reason']=='string'&&['empty',_0x238bbc(0x1c4),_0x238bbc(0x1ac)]['includes'](_0x46eb12[_0x238bbc(0x196)]):_0x46eb12[_0x238bbc(0x1f0)]===_0x238bbc(0x143)&&Reflect[_0x238bbc(0x16d)](_0x46eb12)[_0x238bbc(0x19b)]===0x1:!0x1;}function d(_0x5a1774,_0x1c2879,_0x3b8cd2){const _0x3b9ab4=_0x4cb0;let _0x408ba9=_0x5a1774['labelDistanceInspection'];if(_0x408ba9===void 0x0)return!0x1;if(_0x408ba9['maximumAutomaticLabelDistance']!==_0x1c2879)throw new t('INVALID_RENDER_RESULT',_0x3b9ab4(0x1dc));let _0xb5ee7e=_0x5a1774[_0x3b9ab4(0x1ad)];if(_0xb5ee7e===void 0x0)return!0x1;let _0x2bdd9b=!0x0;for(let _0x446f42 of _0x5a1774['routes']){let _0x28022e=_0x3b8cd2[_0x446f42[_0x3b9ab4(0x130)]];if(!(!_0x28022e||!(_0x3b9ab4(0x1d5)in _0x28022e))){for(let _0x6ccdbf of _0x28022e[_0x3b9ab4(0x1d5)]['labels']??[])Object[_0x3b9ab4(0x1ed)](_0xb5ee7e[_0x446f42[_0x3b9ab4(0x130)]]??{},_0x6ccdbf['id'])||(_0x2bdd9b=!0x1);}}for(let [_0x5e645e,_0x3a0dfd]of Object['entries'](_0xb5ee7e))for(let [_0x4b8d66,_0x1bd240]of Object[_0x3b9ab4(0x1c7)](_0x3a0dfd)){if(_0x1bd240[_0x3b9ab4(0x1f0)]==='unresolved'||_0x1bd240[_0x3b9ab4(0x126)]===void 0x0){_0x2bdd9b=!0x1;continue;}let _0x116c00=_0x1bd240['automaticLabelDistance'];if(_0x116c00[_0x3b9ab4(0x1f0)]===_0x3b9ab4(0x143)&&(_0x2bdd9b=!0x1),_0x116c00['status']===_0x3b9ab4(0x1f5)&&_0x116c00[_0x3b9ab4(0x196)]===_0x3b9ab4(0x1c2)!==_0x1bd240[_0x3b9ab4(0x1c2)]||_0x116c00[_0x3b9ab4(0x1f0)]===_0x3b9ab4(0x13b)&&_0x1bd240[_0x3b9ab4(0x1c2)])throw new t(_0x3b9ab4(0x1b4),_0x3b9ab4(0x17a));if(_0x116c00[_0x3b9ab4(0x1f0)]===_0x3b9ab4(0x13b)&&_0x116c00[_0x3b9ab4(0x163)]>_0x1c2879+0.001&&!_0x5a1774[_0x3b9ab4(0x17d)][_0x3b9ab4(0x1fb)](_0x13a427=>_0x13a427[_0x3b9ab4(0x19a)]===_0x3b9ab4(0x1a6)&&_0x13a427[_0x3b9ab4(0x1cd)]['includes'](_0x5e645e)&&_0x13a427[_0x3b9ab4(0x19f)]?.[_0x3b9ab4(0x1c6)](_0x4b8d66)))throw new t(_0x3b9ab4(0x1b4),_0x3b9ab4(0x134));}for(let _0x534119 of _0x5a1774[_0x3b9ab4(0x17d)]){if(_0x534119[_0x3b9ab4(0x19a)]!==_0x3b9ab4(0x1a6)&&_0x534119['rule']!==_0x3b9ab4(0x1dd))continue;let _0x4da561=_0x534119[_0x3b9ab4(0x1cd)][0x0],_0x55431a=_0x534119[_0x3b9ab4(0x19f)]?.[0x0],_0x4c7d42=_0x4da561&&_0x55431a?_0xb5ee7e[_0x4da561]?.[_0x55431a]:void 0x0,_0x1b7fc3=_0x4c7d42?.[_0x3b9ab4(0x1f0)]==='ready'?_0x4c7d42['automaticLabelDistance']:void 0x0,_0x3eb102=_0x534119[_0x3b9ab4(0x19a)]===_0x3b9ab4(0x1a6)?_0x1b7fc3?.[_0x3b9ab4(0x1f0)]===_0x3b9ab4(0x13b)&&_0x1b7fc3[_0x3b9ab4(0x163)]>_0x1c2879+0.001&&_0x534119[_0x3b9ab4(0x1d4)]===_0x3b9ab4(0x1ca)&&_0x534119[_0x3b9ab4(0x124)]?.[_0x3b9ab4(0x164)]===_0x1b7fc3[_0x3b9ab4(0x163)]&&_0x534119[_0x3b9ab4(0x124)]?.[_0x3b9ab4(0x1be)]===_0x1c2879:_0x1b7fc3?.[_0x3b9ab4(0x1f0)]==='unresolved'&&_0x534119['severity']===_0x3b9ab4(0x1a2)&&_0x534119[_0x3b9ab4(0x124)]===void 0x0;if(_0x534119[_0x3b9ab4(0x1cd)]['length']!==0x1||_0x534119['labelIds']?.[_0x3b9ab4(0x19b)]!==0x1||!_0x3eb102)throw new t(_0x3b9ab4(0x1b4),_0x3b9ab4(0x17c));}return _0x2bdd9b;}function f(_0xb3baf7,_0x40f4c4,_0x51d07b,_0x18117d,_0x31a064,_0xfcef3b){const _0x1bb227=_0x4cb0;let _0x3a299f=()=>{const _0xcd0aa7=_0x4cb0;throw new t(_0xcd0aa7(0x1b4),_0xcd0aa7(0x12d));};(!a(_0xb3baf7)||_0xb3baf7[_0x1bb227(0x165)]!==_0x40f4c4||_0xb3baf7[_0x1bb227(0x1e0)]!==_0x51d07b||_0xb3baf7[_0x1bb227(0x1f0)]!==_0x1bb227(0x13b)&&_0xb3baf7[_0x1bb227(0x1f0)]!==_0x1bb227(0x180)||!Array['isArray'](_0xb3baf7[_0x1bb227(0x202)])||!Array['isArray'](_0xb3baf7[_0x1bb227(0x1f7)]))&&_0x3a299f();let _0x440b8a=new Set(_0x18117d),_0x4c881b=new Set();for(let _0x4ceb4e of _0xb3baf7['patches']){(!a(_0x4ceb4e)||typeof _0x4ceb4e[_0x1bb227(0x1f4)]!=_0x1bb227(0x12a)||!_0x440b8a[_0x1bb227(0x1e7)](_0x4ceb4e[_0x1bb227(0x1f4)])||_0x4c881b[_0x1bb227(0x1e7)](_0x4ceb4e['elementId'])||_0x31a064[_0x4ceb4e[_0x1bb227(0x1f4)]]?.[_0x1bb227(0x1d7)]!==_0x1bb227(0x1bd)||Object[_0x1bb227(0x12e)](_0x4ceb4e)[_0x1bb227(0x1fb)](_0x2a7405=>_0x2a7405!==_0x1bb227(0x1f4)&&_0x2a7405!==_0x1bb227(0x12c))||!a(_0x4ceb4e[_0x1bb227(0x12c)]))&&_0x3a299f();let _0x256e86=_0x4ceb4e[_0x1bb227(0x12c)],_0x168a19=_0x31a064[_0x4ceb4e['elementId']][_0x1bb227(0x12c)];(Object[_0x1bb227(0x12e)](_0x256e86)[_0x1bb227(0x1fb)](_0x58767a=>_0x58767a!==_0x1bb227(0x155)&&_0x58767a!=='height')||typeof _0x256e86['width']!='number'||!Number[_0x1bb227(0x15e)](_0x256e86['width'])||_0x256e86[_0x1bb227(0x155)]<=0x0||_0x256e86[_0x1bb227(0x155)]<(_0x168a19[_0x1bb227(0x155)]??0x0)||_0xfcef3b!==void 0x0&&_0x256e86[_0x1bb227(0x155)]>(_0x168a19[_0x1bb227(0x155)]??0x0)*_0xfcef3b||typeof _0x256e86['height']!=_0x1bb227(0x172)||!Number[_0x1bb227(0x15e)](_0x256e86[_0x1bb227(0x131)])||_0x256e86['height']<=0x0||_0x256e86[_0x1bb227(0x131)]<(_0x168a19[_0x1bb227(0x131)]??0x0))&&_0x3a299f(),_0x4c881b[_0x1bb227(0x1d3)](_0x4ceb4e[_0x1bb227(0x1f4)]);}}var p=0x2,m=0x6,h=0.02,g=0.15,_=0.5,v=new Set([_0x191bdf(0x151),'roundRect']),y=[_0x191bdf(0x137),_0x191bdf(0x173),_0x191bdf(0x1a5)];function _0x44db(){const _0x5311c4=['textPlanElementIds\x20must\x20select\x20unique\x20non-empty\x20shape\x20IDs\x20on\x20the\x20requested\x20pages','top\x20','\x20=\x20','captureBoardLayout','related','INVALID_RENDER_RESULT','labelPlan','right','labelDistanceInspection','text-plan-unavailable','maximumAutomaticLabelDistance\x20must\x20be\x20a\x20finite\x20non-negative\x20number','port-plan-incomplete','Label\x20plan\x20targets\x20an\x20unexpected\x20Unit\x20or\x20page','maximumAutomaticLabelDistance','shape','maximum','text\x20\x22','Slide\x20layout\x20runtime\x20is\x20required','isInteger','empty','startRow','authored-placement','content','includes','entries','every','portPlan','error','unresolvedConnectorCount','%\x20of\x20the\x20smaller\x20glyph\x20band;\x20ink\x20','connectorIds','\x22\x20runs\x20off\x20the\x20page\x20(','box',');\x20ink\x20','left',',\x20page\x20','add','severity','connectorData','hex','type','filter','fill','unitData','Model\x20analysis\x20does\x20not\x20establish\x20final\x20font\x20metrics\x20or\x20automatic\x20rendered\x20routes.','Label-distance\x20threshold\x20was\x20not\x20echoed','connector-label-distance-unresolved','none','textPlanMaximumWidthGrowth','pageId','name','min','clean','code','trim','bottom\x20','has','join','analysis','Board\x20unitData.id\x20is\x20required','8sdYSOX','modelRuntime','hasOwn','Slide\x20has\x20no\x20pages\x20to\x20lint','Board\x20capture\x20contains\x20an\x20invalid\x20table\x20cell\x20range','status','50RrgXKB','map','sort','elementId','excluded','pageHeight','preconditions','left\x20','rendered','unitType','some','element-text-layout-unresolved','zIndex','textPlanElementIds','port-plan-unavailable','isSafeInteger','replace','patches','board','embeddedUnits','labelDistance','unresolved-label','automaticLabelDistance','pageOrder','routes','get','string','pageWidth','transform','Text\x20plan\x20does\x20not\x20match\x20its\x20requested\x20Unit,\x20page\x20or\x20shape-size\x20selection','keys','color','connectorId','height','unit-layout-lint','analysis-missing','Missing\x20native\x20label-distance\x20finding','update','top','text-off-page','throwIfAborted','layoutPlan','endRow','ready','933126tMMXgt','Slide\x20page\x20selector\x20is\x20invalid:\x20','2iWrbKO','size','UnitLayoutLintError','values','Automatic\x20label\x20distance\x20uses\x20the\x20native\x20sampled,\x20marker-trimmed\x20stroke\x20centerline\x20before\x20dash\x20gaps\x20and\x20label\x20clipping;\x20it\x20is\x20not\x20raster-ink\x20distance.','unresolved','247btjyln','runtime-unavailable','elements','find','77bWgPez','12388311FFcAOQ','includePortPlan','page','unresolved-route','11MegMEV','bind','digest','runtime','rect','push','bounds','3539748JzcHup','width','layout:','signal','isArray','1033460RkIbRQ','model','layout-plan-unavailable','label-plan-unavailable','outerSize','isFinite','text-plan-incomplete','captureBoardModelLayout','localeCompare','textPlan','distance','measured','unitId','endColumn','endpointConstrained','formulaReferenceUnits','startsWith','sha256','connector-label-layout-unresolved','Label\x20distance\x20requires\x20rendered\x20Board\x20analysis','ownKeys','Board\x20capture\x20issue\x20counts\x20do\x20not\x20match\x20its\x20summary','round','shapeType','opacity','number','text-escapes-container','layout-plan-incomplete','getPrototypeOf','startColumn','elementType','text','textLayout','Contradictory\x20empty-label\x20distance','A\x20layout\x20plan\x20requires\x20rendered\x20Board\x20analysis\x20and\x20one\x20planning\x20request','Contradictory\x20native\x20label-distance\x20finding','issues','pages','INVALID_INPUT','incomplete','Unit\x20layout\x20lint\x20supports\x20Slide\x20and\x20Board\x20only','ink','Slide\x20unitData.id\x20is\x20required','declared','rendered-stroke-polyline-v1','mode','availableSize','fingerprint','includeLabelPlan','overflow','indexOf','115048XRWRIZ','max','slide','source','Board\x20capture\x20contains\x20invalid\x20text\x20measurements','element','Invalid\x20label-distance\x20evidence','Board\x20pageOrder\x20must\x20contain\x20unique\x20page\x20IDs','1639460nyxgiO','both','reason','\x22\x20escapes\x20','visible','area','rule','length','findings','prototype','resolved','labelIds','object','bottom','warning','unresolved-element-text','call','text-overlaps-text','connector-label-distance-exceeded','Board\x20capture\x20contains\x20invalid\x20summary\x20counts','slice','captureSlideLayout','Port\x20plans\x20require\x20rendered\x20Board\x20analysis','179142qvzsBR','endpoint-role','connectorLabelLayouts','Invalid\x20label-distance\x20receipt'];_0x44db=function(){return _0x5311c4;};return _0x44db();}function b(_0x2e772d){return{async 'lint'(_0x30f31e){const _0x1a8e7a=_0x4cb0;if(_0x30f31e['unitType']===_0x1a8e7a(0x203))return await r(_0x30f31e,_0x2e772d);if(_0x30f31e['unitType']!==_0x1a8e7a(0x18e))throw new t(_0x1a8e7a(0x17f),_0x1a8e7a(0x181));if(_0x1a8e7a(0x1bc)in _0x30f31e&&_0x30f31e['maximumAutomaticLabelDistance']!==void 0x0)throw new t(_0x1a8e7a(0x17f),'Label\x20distance\x20is\x20only\x20supported\x20for\x20Board');let _0x1732ab=z(_0x30f31e[_0x1a8e7a(0x1da)]['id']),_0x3d12c0=x(_0x30f31e[_0x1a8e7a(0x1da)]['slideOrder']??[],_0x30f31e[_0x1a8e7a(0x17e)]);if(_0x2e772d[_0x1a8e7a(0x150)]===void 0x0||!(_0x1a8e7a(0x1a9)in _0x2e772d['runtime']))throw new t(_0x1a8e7a(0x17f),_0x1a8e7a(0x1c0));let _0x5dd8e5=await _0x2e772d[_0x1a8e7a(0x150)]['captureSlideLayout']({'unitType':_0x1a8e7a(0x18e),'unitData':_0x30f31e[_0x1a8e7a(0x1da)],..._0x30f31e[_0x1a8e7a(0x168)]===void 0x0?{}:{'formulaReferenceUnits':_0x30f31e[_0x1a8e7a(0x168)]},'pages':_0x3d12c0['map'](({page:_0x4f99d5})=>_0x4f99d5),..._0x30f31e[_0x1a8e7a(0x157)]===void 0x0?{}:{'signal':_0x30f31e[_0x1a8e7a(0x157)]}});return S(_0x5dd8e5,_0x3d12c0),{'kind':_0x1a8e7a(0x132),'unitId':_0x1732ab,'unitType':_0x1a8e7a(0x18e),'coverage':{'pages':_0x3d12c0,'rules':y},'findings':C(_0x5dd8e5)};}};}function x(_0x147d9a,_0x363736){const _0x4ea193=_0x191bdf;if(_0x147d9a[_0x4ea193(0x19b)]===0x0)throw new t(_0x4ea193(0x17f),_0x4ea193(0x1ee));if(_0x363736!==void 0x0&&_0x363736[_0x4ea193(0x19b)]===0x0)throw new t('INVALID_INPUT','pages\x20must\x20not\x20be\x20empty');let _0x24e30b=_0x363736??_0x147d9a['map']((_0x2a2174,_0xe5e93f)=>_0xe5e93f+0x1),_0x130325=new Set(),_0x13813b=[];for(let _0x18d645 of _0x24e30b){let _0x54bc95=typeof _0x18d645=='number'?_0x18d645:_0x147d9a['findIndex'](_0x199cb0=>_0x199cb0===_0x18d645)+0x1;if(!Number['isInteger'](_0x54bc95)||_0x54bc95<0x1||_0x54bc95>_0x147d9a[_0x4ea193(0x19b)])throw new t('INVALID_INPUT',_0x4ea193(0x13d)+String(_0x18d645));let _0x8b7804=_0x147d9a[_0x54bc95-0x1];_0x130325[_0x4ea193(0x1e7)](_0x8b7804)||(_0x130325['add'](_0x8b7804),_0x13813b['push']({'page':_0x54bc95,'pageId':_0x8b7804}));}return _0x13813b;}function S(_0x2cef39,_0x8b727a){const _0x4ac797=_0x191bdf;let _0x52b3b0=new Map();for(let _0x6114ce of _0x2cef39[_0x4ac797(0x17e)]){let _0x4e2af7=_0x52b3b0['get'](_0x6114ce[_0x4ac797(0x1e0)])??[];_0x4e2af7[_0x4ac797(0x152)](_0x6114ce),_0x52b3b0['set'](_0x6114ce[_0x4ac797(0x1e0)],_0x4e2af7);}for(let _0x340ad1 of _0x8b727a){let _0x2e78e7=_0x52b3b0[_0x4ac797(0x129)](_0x340ad1[_0x4ac797(0x1e0)])??[];if(_0x2e78e7['length']!==0x1||_0x2e78e7[0x0]?.[_0x4ac797(0x14b)]!==_0x340ad1[_0x4ac797(0x14b)])throw new t(_0x4ac797(0x1b4),'Render\x20result\x20does\x20not\x20contain\x20exactly\x20one\x20matching\x20page\x20'+_0x340ad1['pageId']);let _0x4f4990=_0x2e78e7[0x0][_0x4ac797(0x146)][_0x4ac797(0x1f2)](({elementId:_0x50eb0a})=>_0x50eb0a);if(new Set(_0x4f4990)[_0x4ac797(0x13f)]!==_0x4f4990[_0x4ac797(0x19b)])throw new t(_0x4ac797(0x1b4),'Render\x20result\x20contains\x20duplicate\x20element\x20identities\x20on\x20page\x20'+_0x340ad1[_0x4ac797(0x1e0)]);}if(_0x2cef39[_0x4ac797(0x17e)][_0x4ac797(0x19b)]!==_0x8b727a[_0x4ac797(0x19b)])throw new t(_0x4ac797(0x1b4),'Render\x20result\x20contains\x20unrequested\x20Slide\x20pages');}function C(_0x580adb){const _0x2aa6d2=_0x191bdf;let _0x24d0ef=[];for(let _0x40d37a of _0x580adb['pages']){let _0x38cea1=_0x40d37a['elements'][_0x2aa6d2(0x1d8)](_0xb8a3a2=>!_0xb8a3a2[_0x2aa6d2(0x1f4)][_0x2aa6d2(0x169)](_0x2aa6d2(0x156))),_0x826942=_0x38cea1['filter'](_0x2a3483=>_0x2a3483[_0x2aa6d2(0x178)]!==void 0x0&&_0x2a3483['text'][_0x2aa6d2(0x1c5)][_0x2aa6d2(0x1e5)]()!=='');for(let _0x5a475f of _0x826942){let _0x514a97=T(_0x5a475f['text'][_0x2aa6d2(0x182)]),_0x811410={..._0x514a97[_0x2aa6d2(0x1d1)]<-0x2?{'left':O(-_0x514a97[_0x2aa6d2(0x1d1)])}:{},..._0x514a97[_0x2aa6d2(0x136)]<-0x2?{'top':O(-_0x514a97[_0x2aa6d2(0x136)])}:{},..._0x514a97[_0x2aa6d2(0x1b6)]>_0x40d37a[_0x2aa6d2(0x12b)]+p?{'right':O(_0x514a97[_0x2aa6d2(0x1b6)]-_0x40d37a[_0x2aa6d2(0x12b)])}:{},..._0x514a97['bottom']>_0x40d37a[_0x2aa6d2(0x1f6)]+p?{'bottom':O(_0x514a97[_0x2aa6d2(0x1a1)]-_0x40d37a[_0x2aa6d2(0x1f6)])}:{}},_0x4f6e69=R(_0x811410);if(_0x4f6e69!=='-'){let _0x4a7aef=j(_0x5a475f),_0x4e1078=A({'left':0x0,'top':0x0,'width':_0x40d37a[_0x2aa6d2(0x12b)],'height':_0x40d37a['pageHeight']});_0x24d0ef[_0x2aa6d2(0x152)](w({'page':_0x40d37a[_0x2aa6d2(0x14b)],'pageId':_0x40d37a[_0x2aa6d2(0x1e0)],'rule':_0x2aa6d2(0x137),'id':_0x5a475f[_0x2aa6d2(0x1f4)],'text':_0x4a7aef,'pageBox':_0x4e1078,'overflow':_0x811410,'detail':'text\x20\x22'+k(_0x4a7aef[_0x2aa6d2(0x1c5)])+_0x2aa6d2(0x1ce)+_0x4f6e69+');\x20ink\x20'+F(_0x4a7aef[_0x2aa6d2(0x182)])+_0x2aa6d2(0x1d2)+F(_0x4e1078)}));}}for(let _0x4677f5 of _0x826942){let _0x102070=L(_0x4677f5,_0x38cea1,_0x40d37a);if(_0x102070===void 0x0)continue;let _0x371b2c=T(_0x4677f5[_0x2aa6d2(0x178)][_0x2aa6d2(0x182)]),_0x26df68=T(_0x102070['declared']),_0x19a0c5=Math[_0x2aa6d2(0x18d)](m,h*(_0x26df68[_0x2aa6d2(0x1b6)]-_0x26df68[_0x2aa6d2(0x1d1)])),_0x5dc95d={..._0x26df68['left']-_0x371b2c['left']>_0x19a0c5?{'left':O(_0x26df68['left']-_0x371b2c[_0x2aa6d2(0x1d1)])}:{},..._0x371b2c[_0x2aa6d2(0x1b6)]-_0x26df68['right']>_0x19a0c5?{'right':O(_0x371b2c[_0x2aa6d2(0x1b6)]-_0x26df68['right'])}:{},..._0x371b2c[_0x2aa6d2(0x1a1)]-_0x26df68[_0x2aa6d2(0x1a1)]>_0x19a0c5?{'bottom':O(_0x371b2c[_0x2aa6d2(0x1a1)]-_0x26df68[_0x2aa6d2(0x1a1)])}:{}},_0x2c34c3=R(_0x5dc95d);if(_0x2c34c3!=='-'){let _0x5763b0=j(_0x4677f5),_0x2b03f2=N(_0x102070);_0x24d0ef[_0x2aa6d2(0x152)](w({'page':_0x40d37a[_0x2aa6d2(0x14b)],'pageId':_0x40d37a[_0x2aa6d2(0x1e0)],'rule':_0x2aa6d2(0x173),'id':_0x4677f5['elementId'],'related':_0x102070[_0x2aa6d2(0x1f4)],'text':_0x5763b0,'container':_0x2b03f2,'overflow':_0x5dc95d,'detail':_0x2aa6d2(0x1bf)+k(_0x5763b0[_0x2aa6d2(0x1c5)])+_0x2aa6d2(0x197)+_0x2b03f2['id']+'\x20('+_0x2c34c3+_0x2aa6d2(0x1d0)+F(_0x5763b0[_0x2aa6d2(0x182)])+',\x20'+_0x2b03f2['id']+_0x2aa6d2(0x1b1)+_0x2b03f2['type']+'\x20'+P(_0x2b03f2[_0x2aa6d2(0x1d9)])+'\x20'+F(_0x2b03f2[_0x2aa6d2(0x1cf)])}));}}for(let _0x20d78f=0x0;_0x20d78f<_0x826942[_0x2aa6d2(0x19b)];_0x20d78f+=0x1)for(let _0x1588b2=_0x20d78f+0x1;_0x1588b2<_0x826942[_0x2aa6d2(0x19b)];_0x1588b2+=0x1){let _0x257ca7=_0x826942[_0x20d78f],_0x117cb3=_0x826942[_0x1588b2],_0x99938a=T(_0x257ca7[_0x2aa6d2(0x178)][_0x2aa6d2(0x182)]),_0x4948ec=T(_0x117cb3['text'][_0x2aa6d2(0x182)]),_0x44fd63=E(D(_0x99938a,_0x4948ec));if(_0x44fd63<=0x1)continue;let _0x22f214=_0x44fd63/Math[_0x2aa6d2(0x18d)](0x1,Math[_0x2aa6d2(0x1e2)](E(_0x99938a),E(_0x4948ec)));if(_0x22f214<=g)continue;let _0x322894=j(_0x257ca7),_0xfa04a5=j(_0x117cb3);_0x24d0ef['push'](w({'page':_0x40d37a[_0x2aa6d2(0x14b)],'pageId':_0x40d37a['pageId'],'rule':_0x2aa6d2(0x1a5),'id':_0x257ca7[_0x2aa6d2(0x1f4)],'related':_0x117cb3['elementId'],'text':_0x322894,'other':_0xfa04a5,'overlapRatio':Math[_0x2aa6d2(0x16f)](_0x22f214*0x64)/0x64,'detail':_0x2aa6d2(0x1bf)+k(_0x322894['content'])+'\x22'+M(_0x322894)+'\x20overlaps\x20\x22'+k(_0xfa04a5[_0x2aa6d2(0x1c5)])+'\x22'+M(_0xfa04a5)+'\x20by\x20'+Math[_0x2aa6d2(0x16f)](_0x22f214*0x64)+_0x2aa6d2(0x1cc)+F(_0x322894[_0x2aa6d2(0x182)])+',\x20'+F(_0xfa04a5['ink'])}));}}return _0x24d0ef[_0x2aa6d2(0x1f3)]((_0xcc125,_0x1bb7fc)=>_0xcc125['fingerprint'][_0x2aa6d2(0x161)](_0x1bb7fc[_0x2aa6d2(0x188)]));}function w(_0x5e0087){const _0x30bf45=_0x191bdf;return{..._0x5e0087,'fingerprint':[_0x5e0087[_0x30bf45(0x19a)],_0x5e0087[_0x30bf45(0x1e0)],_0x5e0087['id'],_0x5e0087[_0x30bf45(0x1b3)]??''][_0x30bf45(0x1e8)](':'),'severity':_0x30bf45(0x1a2)};}function T(_0x5934c5){const _0x4685de=_0x191bdf;return{'left':_0x5934c5[_0x4685de(0x1d1)],'top':_0x5934c5[_0x4685de(0x136)],'right':_0x5934c5[_0x4685de(0x1d1)]+_0x5934c5[_0x4685de(0x155)],'bottom':_0x5934c5[_0x4685de(0x136)]+_0x5934c5['height']};}function E(_0xc3d1c0){const _0x1bd755=_0x191bdf;return Math[_0x1bd755(0x18d)](0x0,_0xc3d1c0[_0x1bd755(0x1b6)]-_0xc3d1c0[_0x1bd755(0x1d1)])*Math[_0x1bd755(0x18d)](0x0,_0xc3d1c0['bottom']-_0xc3d1c0[_0x1bd755(0x136)]);}function D(_0x543114,_0x4d242a){const _0x14edfd=_0x191bdf;return{'left':Math[_0x14edfd(0x18d)](_0x543114[_0x14edfd(0x1d1)],_0x4d242a[_0x14edfd(0x1d1)]),'top':Math[_0x14edfd(0x18d)](_0x543114['top'],_0x4d242a['top']),'right':Math[_0x14edfd(0x1e2)](_0x543114[_0x14edfd(0x1b6)],_0x4d242a[_0x14edfd(0x1b6)]),'bottom':Math[_0x14edfd(0x1e2)](_0x543114[_0x14edfd(0x1a1)],_0x4d242a['bottom'])};}function O(_0x3bcd3a){return Math['round'](_0x3bcd3a);}function k(_0x4a121e){const _0x51c81c=_0x191bdf;let _0x5b6f70=_0x4a121e[_0x51c81c(0x201)](/\s+/gu,'\x20')[_0x51c81c(0x1e5)]();return _0x5b6f70[_0x51c81c(0x19b)]<=0x10?_0x5b6f70:_0x5b6f70[_0x51c81c(0x1a8)](0x0,0x10)+'…';}function A(_0x43675b){const _0x4ee0b5=_0x191bdf;return{'left':O(_0x43675b[_0x4ee0b5(0x1d1)]),'top':O(_0x43675b[_0x4ee0b5(0x136)]),'width':O(_0x43675b[_0x4ee0b5(0x155)]),'height':O(_0x43675b['height'])};}function j(_0x2ea76f){const _0x22cae9=_0x191bdf;let _0x3d720c=_0x2ea76f[_0x22cae9(0x178)];return{'id':_0x2ea76f[_0x22cae9(0x1f4)],'content':_0x3d720c[_0x22cae9(0x1c5)],'ink':A(_0x3d720c['ink']),..._0x3d720c[_0x22cae9(0x12f)]===void 0x0?{}:{'color':_0x3d720c[_0x22cae9(0x12f)]},..._0x3d720c['opacity']===void 0x0?{}:{'opacity':_0x3d720c[_0x22cae9(0x171)]}};}function M(_0x27fcbf){const _0x5eee40=_0x191bdf;return _0x27fcbf[_0x5eee40(0x12f)]===void 0x0&&_0x27fcbf[_0x5eee40(0x171)]===void 0x0?'':''+(_0x27fcbf['color']===void 0x0?'':'\x20\x20'+_0x27fcbf['color'])+(_0x27fcbf[_0x5eee40(0x171)]===void 0x0?'':'\x20\x20opacity\x20'+_0x27fcbf[_0x5eee40(0x171)]);}function N(_0x4e3a13){const _0x2a7a96=_0x191bdf;return{'id':_0x4e3a13[_0x2a7a96(0x1f4)],'type':_0x4e3a13['shapeType']===void 0x0?_0x4e3a13[_0x2a7a96(0x177)]:_0x4e3a13[_0x2a7a96(0x177)]+':'+_0x4e3a13[_0x2a7a96(0x170)],..._0x4e3a13['fill']===void 0x0?{}:{'fill':_0x4e3a13[_0x2a7a96(0x1d9)]},'box':A(_0x4e3a13[_0x2a7a96(0x184)])};}function P(_0xf631d0){const _0x1797da=_0x191bdf;if(_0xf631d0===void 0x0)return'no\x20fill';let _0x22cd6d=_0xf631d0[_0x1797da(0x171)]===void 0x0||_0xf631d0[_0x1797da(0x171)]===0x1?'':'\x20@'+_0xf631d0['opacity'];return((_0xf631d0[_0x1797da(0x1d7)]??'?')+'\x20'+(_0xf631d0['color']??'')+_0x22cd6d)[_0x1797da(0x1e5)]();}function F(_0x223fe7){const _0x25ee53=_0x191bdf;return'('+_0x223fe7['left']+','+_0x223fe7[_0x25ee53(0x136)]+'\x20'+_0x223fe7[_0x25ee53(0x155)]+'×'+_0x223fe7['height']+')';}function I(_0x2550d0){const _0x2e718a=_0x191bdf;let _0x720701=_0x2550d0['fill'];return!(_0x720701===void 0x0||_0x720701[_0x2e718a(0x1d7)]===_0x2e718a(0x1de)||_0x720701[_0x2e718a(0x171)]!==void 0x0&&_0x720701[_0x2e718a(0x171)]<_||_0x2550d0[_0x2e718a(0x170)]===void 0x0||!v[_0x2e718a(0x1e7)](_0x2550d0[_0x2e718a(0x170)])||_0x2550d0[_0x2e718a(0x198)]===!0x1);}function L(_0x598e76,_0x43863c,_0x1dc8b4){const _0x13dd93=_0x191bdf;let _0x1dc163=T(_0x598e76[_0x13dd93(0x178)][_0x13dd93(0x182)]),_0x68ad57;for(let _0x44f89a of _0x43863c){if(_0x44f89a[_0x13dd93(0x1fd)]>=_0x598e76['zIndex']||!I(_0x44f89a))continue;let _0x5e92c2=T(_0x44f89a[_0x13dd93(0x184)]),_0x1f48aa=E(_0x5e92c2);if(_0x1f48aa>=0.5*_0x1dc8b4[_0x13dd93(0x12b)]*_0x1dc8b4[_0x13dd93(0x1f6)])continue;let _0x224bb8=_0x1dc163['top']>=_0x5e92c2[_0x13dd93(0x136)]-p&&_0x1dc163[_0x13dd93(0x1a1)]<=_0x5e92c2[_0x13dd93(0x1a1)]+p,_0x175a80=_0x1dc163['left']>=_0x5e92c2[_0x13dd93(0x1d1)]-p&&_0x1dc163[_0x13dd93(0x1d1)]<=_0x5e92c2['right']+p&&_0x1dc163[_0x13dd93(0x136)]>=_0x5e92c2[_0x13dd93(0x136)]-p,_0x2ea702=E(D(_0x1dc163,_0x5e92c2))/Math['max'](E(_0x1dc163),0x1);!_0x224bb8||!_0x175a80||_0x2ea702<0.35||(_0x68ad57===void 0x0||_0x1f48aa<_0x68ad57[_0x13dd93(0x199)])&&(_0x68ad57={'element':_0x44f89a,'area':_0x1f48aa});}return _0x68ad57?.[_0x13dd93(0x191)];}function R(_0x3d07a0){const _0x177ee8=_0x191bdf;let _0x82ae10=[_0x3d07a0[_0x177ee8(0x1d1)]===void 0x0?'':_0x177ee8(0x1f8)+_0x3d07a0[_0x177ee8(0x1d1)]+'px',_0x3d07a0[_0x177ee8(0x136)]===void 0x0?'':_0x177ee8(0x1b0)+_0x3d07a0['top']+'px',_0x3d07a0[_0x177ee8(0x1b6)]===void 0x0?'':'right\x20'+_0x3d07a0[_0x177ee8(0x1b6)]+'px',_0x3d07a0['bottom']===void 0x0?'':_0x177ee8(0x1e6)+_0x3d07a0[_0x177ee8(0x1a1)]+'px'][_0x177ee8(0x1d8)](_0x4854ed=>_0x4854ed!=='');return _0x82ae10[_0x177ee8(0x19b)]===0x0?'-':_0x82ae10[_0x177ee8(0x1e8)](',\x20');}function z(_0x4137c3){const _0x4ba233=_0x191bdf;if(typeof _0x4137c3!=_0x4ba233(0x12a)||_0x4137c3[_0x4ba233(0x1e5)]()==='')throw new t('INVALID_INPUT',_0x4ba233(0x183));return _0x4137c3;}export{t as UnitLayoutLintError,b as createUnitLayoutLint,n as isUnitLayoutLintError};
|
|
1
|
+
const _0x1377f6=_0x6a96;(function(_0x38a8f1,_0x3844d3){const _0x2d30dd=_0x6a96,_0x982d2c=_0x38a8f1();while(!![]){try{const _0xda3d0e=-parseInt(_0x2d30dd(0x111))/0x1+parseInt(_0x2d30dd(0xb1))/0x2+-parseInt(_0x2d30dd(0xa1))/0x3+-parseInt(_0x2d30dd(0xfc))/0x4+parseInt(_0x2d30dd(0x75))/0x5+parseInt(_0x2d30dd(0x78))/0x6*(-parseInt(_0x2d30dd(0xc4))/0x7)+parseInt(_0x2d30dd(0x13b))/0x8;if(_0xda3d0e===_0x3844d3)break;else _0x982d2c['push'](_0x982d2c['shift']());}catch(_0x3e7b44){_0x982d2c['push'](_0x982d2c['shift']());}}}(_0xb18b,0xb7fe7));import{createHash as _0x1e7581}from'node:crypto';var t=class extends Error{[_0x1377f6(0x115)];constructor(_0x2e2d27,_0x2bcba6,_0x3afd73){const _0x4884c7=_0x1377f6;super(_0x2bcba6,_0x3afd73),this[_0x4884c7(0x125)]='UnitLayoutLintError',this['code']=_0x2e2d27;}};function n(_0xa41f31){return _0xa41f31 instanceof t;}async function r(_0x39c66e,_0x4e96d6){const _0x5577e4=_0x1377f6;if(typeof _0x39c66e['unitData']['id']!='string'||_0x39c66e['unitData']['id']['trim']()==='')throw new t('INVALID_INPUT',_0x5577e4(0xab));let _0x5a71d7=_0x39c66e['mode']??'both';if(_0x5a71d7!=='model'&&_0x5a71d7!==_0x5577e4(0x14a)&&_0x5a71d7!=='both')throw new t('INVALID_INPUT',_0x5577e4(0x84));if(_0x39c66e['layoutPlan']!==void 0x0&&(_0x5a71d7==='model'||_0x39c66e['includeLabelPlan']||_0x39c66e[_0x5577e4(0x8b)]||_0x39c66e[_0x5577e4(0x14d)]!==void 0x0))throw new t('INVALID_INPUT',_0x5577e4(0x124));if(_0x39c66e[_0x5577e4(0xe6)]===!0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t('INVALID_INPUT',_0x5577e4(0xd7));if(_0x39c66e[_0x5577e4(0x8b)]===!0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t('INVALID_INPUT','Port\x20plans\x20require\x20rendered\x20Board\x20analysis');if(_0x39c66e['textPlanElementIds']!==void 0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t(_0x5577e4(0x140),_0x5577e4(0x104));let _0x3d10c2=_0x39c66e[_0x5577e4(0x12e)];if(_0x3d10c2!==void 0x0&&!l(_0x3d10c2))throw new t(_0x5577e4(0x140),'maximumAutomaticLabelDistance\x20must\x20be\x20a\x20finite\x20non-negative\x20number');if(_0x3d10c2!==void 0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t(_0x5577e4(0x140),_0x5577e4(0x7b));let _0x5a2f36=_0x39c66e['unitData'][_0x5577e4(0xcc)];if(!Array[_0x5577e4(0x8e)](_0x5a2f36)||_0x5a2f36['length']===0x0||new Set(_0x5a2f36)[_0x5577e4(0x139)]!==_0x5a2f36['length'])throw new t(_0x5577e4(0x140),'Board\x20pageOrder\x20must\x20contain\x20unique\x20page\x20IDs');if(_0x39c66e[_0x5577e4(0x129)]?.['length']===0x0)throw new t(_0x5577e4(0x140),'pages\x20must\x20not\x20be\x20empty');let _0x93dbb=[...new Set((_0x39c66e[_0x5577e4(0x129)]??_0x5a2f36)[_0x5577e4(0xdb)](_0x3daf36=>{const _0x76c9c1=_0x5577e4;let _0x259db0=typeof _0x3daf36==_0x76c9c1(0xe4)?_0x3daf36-0x1:_0x5a2f36['indexOf'](_0x3daf36),_0x1b406e=_0x5a2f36[_0x259db0];if(!Number['isInteger'](_0x259db0)||_0x259db0<0x0||_0x1b406e===void 0x0||!_0x39c66e[_0x76c9c1(0x11d)]['pages'][_0x1b406e])throw new t('INVALID_INPUT','Board\x20page\x20selector\x20is\x20invalid:\x20'+String(_0x3daf36));return _0x1b406e;}))][_0x5577e4(0xdb)](_0x5433ed=>({'page':_0x5a2f36[_0x5577e4(0xac)](_0x5433ed)+0x1,'pageId':_0x5433ed})),_0x5981ac=_0x39c66e[_0x5577e4(0x14d)];if(_0x5981ac!==void 0x0&&(!Array[_0x5577e4(0x8e)](_0x5981ac)||_0x5981ac[_0x5577e4(0xe5)](_0x2c64bd=>typeof _0x2c64bd!=_0x5577e4(0x9e)||_0x2c64bd[_0x5577e4(0x8a)]()==='')||new Set(_0x5981ac)[_0x5577e4(0x139)]!==_0x5981ac[_0x5577e4(0x11b)]||_0x5981ac[_0x5577e4(0xe5)](_0xdc98c8=>!_0x93dbb[_0x5577e4(0xe5)](({pageId:_0x32bb3e})=>_0x39c66e['unitData'][_0x5577e4(0x129)][_0x32bb3e]?.[_0x5577e4(0x138)][_0xdc98c8]?.[_0x5577e4(0x13e)]==='shape'))))throw new t(_0x5577e4(0x140),_0x5577e4(0xfb));let _0x500e72=_0x39c66e[_0x5577e4(0x107)];if(_0x500e72!==void 0x0&&(!Number[_0x5577e4(0x141)](_0x500e72)||_0x500e72<0x1||_0x500e72>0x2||!_0x5981ac?.['length']))throw new t(_0x5577e4(0x140),_0x5577e4(0xb9));let _0x2c2f17=structuredClone({'unitType':_0x39c66e['unitType'],'unitData':_0x39c66e['unitData'],..._0x39c66e[_0x5577e4(0x10c)]===void 0x0?{}:{'formulaReferenceUnits':_0x39c66e['formulaReferenceUnits']},..._0x39c66e['embeddedUnits']===void 0x0?{}:{'embeddedUnits':_0x39c66e[_0x5577e4(0xb6)]},'pages':_0x93dbb[_0x5577e4(0xdb)](({pageId:_0x4b9fcd})=>_0x4b9fcd),'focusPadding':0x30,..._0x3d10c2===void 0x0?{}:{'maximumAutomaticLabelDistance':_0x3d10c2},..._0x39c66e[_0x5577e4(0xc1)]===void 0x0?{}:{'layoutPlan':_0x39c66e[_0x5577e4(0xc1)]},..._0x39c66e[_0x5577e4(0xe6)]===!0x0?{'includeLabelPlan':!0x0}:{},..._0x39c66e['includePortPlan']===!0x0?{'includePortPlan':!0x0}:{},..._0x5981ac===void 0x0?{}:{'textPlanElementIds':_0x5981ac},..._0x500e72===void 0x0?{}:{'textPlanMaximumWidthGrowth':_0x500e72}}),_0x28f85=_0x1e7581('sha256')[_0x5577e4(0xe1)](JSON[_0x5577e4(0x93)](_0x2c2f17))[_0x5577e4(0x95)](_0x5577e4(0x113)),_0x178f02=_0x5a71d7===_0x5577e4(0xd8)?[_0x5577e4(0x7c),_0x5577e4(0x14a)]:[_0x5a71d7],_0x3d8dfc=[],_0x491afc=_0x93dbb[_0x5577e4(0xdb)](_0x4ce458=>({..._0x4ce458})),_0x173dcd=[];for(let _0x650421 of _0x178f02){_0x39c66e[_0x5577e4(0x86)]?.[_0x5577e4(0x145)]();let _0x493ce1=_0x650421==='model'?_0x4e96d6[_0x5577e4(0xfe)]?.['captureBoardModelLayout']['bind'](_0x4e96d6[_0x5577e4(0xfe)]):_0x4e96d6['runtime']!==void 0x0&&_0x5577e4(0x128)in _0x4e96d6[_0x5577e4(0x7a)]?_0x4e96d6['runtime'][_0x5577e4(0x128)]['bind'](_0x4e96d6[_0x5577e4(0x7a)]):void 0x0;if(_0x493ce1===void 0x0){for(let {pageId:_0x193c48}of _0x93dbb)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x193c48,'source':_0x650421,'reason':_0x5577e4(0x76)});continue;}let _0x3273f9=structuredClone(_0x2c2f17);_0x650421===_0x5577e4(0x7c)&&(delete _0x3273f9[_0x5577e4(0x8b)],delete _0x3273f9[_0x5577e4(0xc1)],delete _0x3273f9[_0x5577e4(0x12e)],delete _0x3273f9[_0x5577e4(0x14d)],delete _0x3273f9[_0x5577e4(0x107)]);let _0x2ff151=await _0x493ce1({..._0x3273f9,..._0x39c66e[_0x5577e4(0x86)]===void 0x0?{}:{'signal':_0x39c66e[_0x5577e4(0x86)]}});_0x39c66e[_0x5577e4(0x86)]?.[_0x5577e4(0x145)](),i(_0x2ff151,_0x93dbb[_0x5577e4(0xdb)](({pageId:_0x3e3586})=>_0x3e3586),_0x650421);for(let _0x544506 of _0x491afc){let _0xc59d27=_0x2ff151[_0x5577e4(0x129)][_0x5577e4(0xff)](({pageId:_0x22bd16})=>_0x22bd16===_0x544506[_0x5577e4(0xd0)]),_0x240de3=_0xc59d27?.[_0x5577e4(0x14b)];if(_0x240de3===void 0x0){_0x3d8dfc['push']({'pageId':_0x544506['pageId'],'source':_0x650421,'reason':_0x5577e4(0x74)});continue;}if(_0x544506[_0x650421]=_0x240de3,_0x650421===_0x5577e4(0x14a)&&_0x3d10c2!==void 0x0&&!d(_0x240de3,_0x3d10c2,_0x2c2f17['unitData'][_0x5577e4(0x129)][_0x544506[_0x5577e4(0xd0)]][_0x5577e4(0x138)])&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506['pageId'],'source':_0x650421,'reason':_0x5577e4(0xc2)}),_0x650421==='rendered'&&_0x2c2f17[_0x5577e4(0xc1)]!==void 0x0){let _0x2123db=_0xc59d27?.['plan'];if(_0x2123db===void 0x0)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0xba)});else{if(!a(_0x2123db)||_0x2123db[_0x5577e4(0x109)]!==_0x39c66e[_0x5577e4(0x11d)]['id']||_0x2123db[_0x5577e4(0xd0)]!==_0x544506[_0x5577e4(0xd0)]||_0x2123db[_0x5577e4(0x130)]!==_0x5577e4(0x119)&&_0x2123db[_0x5577e4(0x130)]!==_0x5577e4(0xda)||!Array[_0x5577e4(0x8e)](_0x2123db['preconditions'])||!Array[_0x5577e4(0x8e)](_0x2123db['patches'])||!Array[_0x5577e4(0x8e)](_0x2123db[_0x5577e4(0x127)]))throw new t('INVALID_RENDER_RESULT',_0x5577e4(0x82));_0x544506['plan']=_0x2123db,_0x2123db[_0x5577e4(0x130)]===_0x5577e4(0xda)&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0x103)});}}if(_0x650421==='rendered'&&_0x39c66e[_0x5577e4(0xe6)]===!0x0){if(_0xc59d27?.['labelPlan']===void 0x0)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0x100)});else{if(_0xc59d27['labelPlan'][_0x5577e4(0x109)]!==_0x39c66e[_0x5577e4(0x11d)]['id']||_0xc59d27[_0x5577e4(0x9c)][_0x5577e4(0xd0)]!==_0x544506[_0x5577e4(0xd0)])throw new t('INVALID_RENDER_RESULT','Label\x20plan\x20targets\x20an\x20unexpected\x20Unit\x20or\x20page');_0x544506['labelPlan']=_0xc59d27[_0x5577e4(0x9c)];}}if(_0x650421===_0x5577e4(0x14a)&&_0x39c66e['includePortPlan']===!0x0){if(_0xc59d27?.['portPlan']===void 0x0)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':'port-plan-unavailable'});else{if(_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x109)]!==_0x39c66e['unitData']['id']||_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0xd0)]!==_0x544506['pageId']||_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x130)]!==_0x5577e4(0x119)&&_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x130)]!=='incomplete')throw new t(_0x5577e4(0x133),_0x5577e4(0xeb));_0x544506[_0x5577e4(0x10f)]=_0xc59d27['portPlan'],_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x130)]===_0x5577e4(0xda)&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506['pageId'],'source':_0x650421,'reason':'port-plan-incomplete'});}}_0x650421===_0x5577e4(0x14a)&&_0x2c2f17[_0x5577e4(0x14d)]!==void 0x0&&(_0xc59d27?.['textPlan']===void 0x0?_0x3d8dfc['push']({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0xe7)}):(f(_0xc59d27[_0x5577e4(0xe8)],_0x39c66e[_0x5577e4(0x11d)]['id'],_0x544506[_0x5577e4(0xd0)],_0x2c2f17[_0x5577e4(0x14d)],_0x2c2f17[_0x5577e4(0x11d)]['pages'][_0x544506[_0x5577e4(0xd0)]][_0x5577e4(0x138)],_0x2c2f17[_0x5577e4(0x107)]),_0x544506[_0x5577e4(0xe8)]=_0xc59d27[_0x5577e4(0xe8)],_0xc59d27[_0x5577e4(0xe8)][_0x5577e4(0x130)]===_0x5577e4(0xda)&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':'text-plan-incomplete'})));for(let _0x394192 of _0x240de3[_0x5577e4(0xf5)])_0x173dcd[_0x5577e4(0xaa)]({..._0x394192,'page':_0x544506[_0x5577e4(0xa4)],'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'fingerprint':_0x650421+':'+_0x544506['pageId']+':'+_0x394192[_0x5577e4(0x118)]+':'+_0x394192['id']});}}for(let _0x11309e of _0x491afc){let _0xb50cb6=_0x5a71d7===_0x5577e4(0x7c)?_0x5577e4(0x7c):_0x5577e4(0x14a),_0x412d1d=_0x11309e[_0xb50cb6];(_0x412d1d?.[_0x5577e4(0xe0)][_0x5577e4(0xea)]||_0x412d1d?.['routes'][_0x5577e4(0xe5)](_0x42e6c3=>!_0x42e6c3[_0x5577e4(0x150)]))&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x11309e[_0x5577e4(0xd0)],'source':_0xb50cb6,'reason':_0x5577e4(0xf7)}),(_0x412d1d?.[_0x5577e4(0xf5)][_0x5577e4(0xe5)](_0x47782e=>_0x47782e[_0x5577e4(0x118)]===_0x5577e4(0xdc))||Object[_0x5577e4(0x148)](_0x412d1d?.[_0x5577e4(0xe9)]??{})[_0x5577e4(0xe5)](_0x3661b9=>Object['values'](_0x3661b9)[_0x5577e4(0xe5)](_0x4a7541=>_0x4a7541[_0x5577e4(0x130)]===_0x5577e4(0x12b))))&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x11309e[_0x5577e4(0xd0)],'source':_0xb50cb6,'reason':_0x5577e4(0x11a)}),_0x412d1d?.[_0x5577e4(0xf5)][_0x5577e4(0xe5)](_0x1bac21=>_0x1bac21['rule']===_0x5577e4(0xc7))&&_0x3d8dfc['push']({'pageId':_0x11309e[_0x5577e4(0xd0)],'source':_0xb50cb6,'reason':_0x5577e4(0x97)});}return{'kind':_0x5577e4(0xfd),'unitId':_0x39c66e[_0x5577e4(0x11d)]['id'],'unitType':_0x5577e4(0xf8),'mode':_0x5a71d7,'snapshotHash':_0x28f85,'status':_0x3d8dfc[_0x5577e4(0x11b)]>0x0?_0x5577e4(0xda):_0x173dcd[_0x5577e4(0x11b)]>0x0?_0x5577e4(0xbf):'clean','coverage':{'pages':_0x93dbb,'sources':_0x178f02,'complete':_0x3d8dfc[_0x5577e4(0x11b)]===0x0,'incomplete':_0x3d8dfc,'limitations':_0x5a71d7===_0x5577e4(0x7c)?[_0x5577e4(0x96)]:_0x3d10c2===void 0x0?[]:[_0x5577e4(0x12f)]},'analyses':_0x491afc,'findings':_0x173dcd};}function _0x6a96(_0x2cc1e8,_0x31eabf){_0x2cc1e8=_0x2cc1e8-0x74;const _0xb18b75=_0xb18b();let _0x6a96d9=_0xb18b75[_0x2cc1e8];return _0x6a96d9;}function i(_0x5ccb56,_0x1d6a22,_0x4bfd94){const _0x11360a=_0x1377f6;let _0x40d067=new Set();for(let _0x3b1b0a of _0x5ccb56[_0x11360a(0x129)]){if(!_0x1d6a22[_0x11360a(0xc0)](_0x3b1b0a[_0x11360a(0xd0)])||_0x40d067[_0x11360a(0x146)](_0x3b1b0a[_0x11360a(0xd0)])||_0x3b1b0a[_0x11360a(0x14b)]['source']!==_0x4bfd94)throw new t(_0x11360a(0x133),_0x11360a(0x136));_0x40d067[_0x11360a(0x8f)](_0x3b1b0a['pageId']);let {errorCount:_0x3407c9,warningCount:_0x4d46e3,unresolvedConnectorCount:_0x4c6e89}=_0x3b1b0a[_0x11360a(0x14b)]['summary'];if([_0x3407c9,_0x4d46e3,_0x4c6e89][_0x11360a(0xe5)](_0x50b795=>!Number[_0x11360a(0xa2)](_0x50b795)||_0x50b795<0x0))throw new t(_0x11360a(0x133),_0x11360a(0x11f));if(_0x3407c9!==_0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0xf5)][_0x11360a(0x12c)](({severity:_0x150c80})=>_0x150c80===_0x11360a(0x8c))['length']||_0x4d46e3!==_0x3b1b0a[_0x11360a(0x14b)]['issues'][_0x11360a(0x12c)](({severity:_0x12db96})=>_0x12db96===_0x11360a(0xa5))[_0x11360a(0x11b)])throw new t(_0x11360a(0x133),_0x11360a(0x13a));if(_0x3b1b0a[_0x11360a(0x14b)]['connectorLabelLayouts']!==void 0x0&&!s(_0x3b1b0a[_0x11360a(0x14b)]['connectorLabelLayouts']))throw new t(_0x11360a(0x133),_0x11360a(0xe3));if(_0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0x98)]!==void 0x0&&(!a(_0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0x98)])||!l(_0x3b1b0a[_0x11360a(0x14b)]['labelDistanceInspection'][_0x11360a(0x12e)])||_0x3b1b0a['analysis']['labelDistanceInspection']['metric']!==_0x11360a(0x132)))throw new t('INVALID_RENDER_RESULT',_0x11360a(0xde));for(let _0x299c7c of _0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0xf5)]){if(_0x299c7c[_0x11360a(0x143)]!==void 0x0&&(!a(_0x299c7c[_0x11360a(0x143)])||!l(_0x299c7c['labelDistance']['measured'])||!l(_0x299c7c[_0x11360a(0x143)][_0x11360a(0xfa)])))throw new t('INVALID_RENDER_RESULT','Invalid\x20label-distance\x20evidence');if(_0x299c7c[_0x11360a(0x9d)]!==void 0x0){let _0x1b792f=_0x299c7c['tableRange'];if(!_0x1b792f||![_0x1b792f[_0x11360a(0x91)],_0x1b792f['endRow'],_0x1b792f[_0x11360a(0x110)],_0x1b792f[_0x11360a(0xb0)]][_0x11360a(0xa8)](_0x1e066f=>Number[_0x11360a(0x9f)](_0x1e066f)&&_0x1e066f>=0x0)||_0x1b792f['startRow']>_0x1b792f[_0x11360a(0xcf)]||_0x1b792f[_0x11360a(0x110)]>_0x1b792f[_0x11360a(0xb0)])throw new t('INVALID_RENDER_RESULT',_0x11360a(0x80));}if(_0x299c7c[_0x11360a(0x92)]!==void 0x0&&(!c(_0x299c7c[_0x11360a(0x92)]?.[_0x11360a(0x94)],!0x1)||!c(_0x299c7c[_0x11360a(0x92)]?.[_0x11360a(0xd9)],!0x0)))throw new t(_0x11360a(0x133),_0x11360a(0x10a));}}}function a(_0x6014b1){const _0x7a19f8=_0x1377f6;if(!_0x6014b1||typeof _0x6014b1!=_0x7a19f8(0xa6)||Array['isArray'](_0x6014b1))return!0x1;let _0x272fce=Object[_0x7a19f8(0xef)](_0x6014b1);return _0x272fce===Object['prototype']||_0x272fce===null;}function _0xb18b(){const _0x4a77fe=['push','Board\x20unitData.id\x20is\x20required','indexOf','ink','Slide\x20unitData.id\x20is\x20required','Unit\x20layout\x20lint\x20supports\x20Slide\x20and\x20Board\x20only','endColumn','497794pMVyoh','shapeType','labels','pages\x20must\x20not\x20be\x20empty','fingerprint','embeddedUnits','Render\x20result\x20contains\x20duplicate\x20element\x20identities\x20on\x20page\x20','bottom','textPlanMaximumWidthGrowth\x20requires\x20selected\x20shape\x20IDs\x20and\x20a\x20finite\x20number\x20from\x201\x20to\x202','layout-plan-unavailable','fill','overflow','\x20\x20opacity\x20','width','findings','includes','layoutPlan','automatic-label-distance-unavailable','angleRadians','10913XKiRQq','connectorId','join','element-text-layout-unresolved','hasOwn','\x20=\x20','right','measured','pageOrder','hasOwnProperty','Contradictory\x20native\x20label-distance\x20finding','endRow','pageId','Slide\x20page\x20selector\x20is\x20invalid:\x20','text','Slide\x20layout\x20runtime\x20is\x20required','connectorData','max',');\x20ink\x20','Label\x20plans\x20require\x20rendered\x20Board\x20analysis','both','contentSize','incomplete','map','connector-label-layout-unresolved','Render\x20result\x20does\x20not\x20contain\x20exactly\x20one\x20matching\x20page\x20','Invalid\x20label-distance\x20receipt','top\x20','summary','update','outerSize','Board\x20capture\x20contains\x20invalid\x20connector\x20label\x20measurements','number','some','includeLabelPlan','text-plan-unavailable','textPlan','connectorLabelLayouts','unresolvedConnectorCount','Port\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page\x20or\x20status','left','requiredSize','connectorIds','getPrototypeOf','rect','text-off-page','elementId','none',',\x20page\x20','issues','left\x20','unresolved-route','board','top','maximum','textPlanElementIds\x20must\x20select\x20unique\x20non-empty\x20shape\x20IDs\x20on\x20the\x20requested\x20pages','2916876lerLpI','unit-layout-lint','modelRuntime','find','label-plan-unavailable','captureSlideLayout','unitType','layout-plan-incomplete','Text\x20plans\x20require\x20rendered\x20Board\x20analysis','boolean','Label\x20distance\x20is\x20only\x20supported\x20for\x20Board','textPlanMaximumWidthGrowth','entries','unitId','Board\x20capture\x20contains\x20invalid\x20text\x20measurements','patches','formulaReferenceUnits','call','replace','portPlan','startColumn','803246RFVjda','elementType','hex','pageHeight','code','shape','findIndex','rule','ready','unresolved-label','length','declared','unitData','slice','Board\x20capture\x20contains\x20invalid\x20summary\x20counts','get','\x22\x20escapes\x20','reason','empty','A\x20layout\x20plan\x20requires\x20rendered\x20Board\x20analysis\x20and\x20one\x20planning\x20request','name','height','diagnostics','captureBoardLayout','pages','labelIds','unresolved','filter','automaticLabelDistance','maximumAutomaticLabelDistance','Automatic\x20label\x20distance\x20uses\x20the\x20native\x20sampled,\x20marker-trimmed\x20stroke\x20centerline\x20before\x20dash\x20gaps\x20and\x20label\x20clipping;\x20it\x20is\x20not\x20raster-ink\x20distance.','status','severity','rendered-stroke-polyline-v1','INVALID_RENDER_RESULT','ownKeys','opacity','Board\x20capture\x20contains\x20an\x20unexpected\x20page,\x20duplicate\x20page,\x20or\x20source','text\x20\x22','elements','size','Board\x20capture\x20issue\x20counts\x20do\x20not\x20match\x20its\x20summary','25007288kXSNNY','slide','area','type','text-escapes-container','INVALID_INPUT','isFinite','roundRect','labelDistance','\x20by\x20','throwIfAborted','has','\x22\x20runs\x20off\x20the\x20page\x20(','values','visible','rendered','analysis','pageWidth','textPlanElementIds','set','bounds','resolved','analysis-missing','89035tBDKmn','runtime-unavailable','color','1038bHEqou','connector-label-distance-exceeded','runtime','Label\x20distance\x20requires\x20rendered\x20Board\x20analysis','model','Render\x20result\x20contains\x20unrequested\x20Slide\x20pages','min','connector-label-distance-unresolved','Board\x20capture\x20contains\x20an\x20invalid\x20table\x20cell\x20range','round','Layout\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page,\x20status\x20or\x20payload','distance','Board\x20mode\x20must\x20be\x20model,\x20rendered,\x20or\x20both','Missing\x20native\x20label-distance\x20finding','signal','%\x20of\x20the\x20smaller\x20glyph\x20band;\x20ink\x20','layout:','prototype','trim','includePortPlan','error','transform','isArray','add','content','startRow','textLayout','stringify','availableSize','digest','Model\x20analysis\x20does\x20not\x20establish\x20final\x20font\x20metrics\x20or\x20automatic\x20rendered\x20routes.','unresolved-element-text','labelDistanceInspection','zIndex','\x20overlaps\x20\x22','Contradictory\x20empty-label\x20distance','labelPlan','tableRange','string','isInteger','Slide\x20has\x20no\x20pages\x20to\x20lint','2510412sglFAU','isSafeInteger','text-overlaps-text','page','warning','object','authored-placement','every','excluded'];_0xb18b=function(){return _0x4a77fe;};return _0xb18b();}function o(_0x531ccf){const _0x20f545=_0x1377f6;return a(_0x531ccf)&&c(_0x531ccf,!0x0)&&[_0x531ccf[_0x20f545(0xec)],_0x531ccf[_0x20f545(0xf9)]][_0x20f545(0xa8)](_0x4c985e=>typeof _0x4c985e==_0x20f545(0xe4)&&Number[_0x20f545(0x141)](_0x4c985e));}function s(_0x5838e6){const _0x5d2d55=_0x1377f6;if(!a(_0x5838e6))return!0x1;for(let [_0x2202e2,_0x254c95]of Object[_0x5d2d55(0x108)](_0x5838e6)){if(_0x2202e2[_0x5d2d55(0x8a)]()===''||!a(_0x254c95))return!0x1;for(let [_0x374a34,_0x36caec]of Object[_0x5d2d55(0x108)](_0x254c95)){if(_0x374a34[_0x5d2d55(0x8a)]()===''||!a(_0x36caec))return!0x1;if(_0x36caec['status']==='unresolved'){if(Reflect[_0x5d2d55(0x134)](_0x36caec)[_0x5d2d55(0x11b)]!==0x1||!Object[_0x5d2d55(0x89)][_0x5d2d55(0xcd)][_0x5d2d55(0x10d)](_0x36caec,_0x5d2d55(0x130)))return!0x1;continue;}if(_0x36caec[_0x5d2d55(0x130)]!=='ready'||_0x36caec[_0x5d2d55(0x12d)]!==void 0x0&&!u(_0x36caec['automaticLabelDistance'])||!o(_0x36caec[_0x5d2d55(0xf0)])||!o(_0x36caec[_0x5d2d55(0x14f)])||typeof _0x36caec[_0x5d2d55(0xc3)]!='number'||!Number[_0x5d2d55(0x141)](_0x36caec['angleRadians'])||!a(_0x36caec[_0x5d2d55(0xe2)])||!c(_0x36caec[_0x5d2d55(0xe2)],!0x0)||!a(_0x36caec[_0x5d2d55(0xed)])||!c(_0x36caec[_0x5d2d55(0xed)],!0x0)||![_0x36caec['empty'],_0x36caec[_0x5d2d55(0xbc)],_0x36caec['endpointConstrained']][_0x5d2d55(0xa8)](_0x5dde9b=>typeof _0x5dde9b==_0x5d2d55(0x105)))return!0x1;}}return!0x0;}function c(_0x2e779e,_0x2c6b70){const _0x4fcc1b=_0x1377f6;if(!_0x2e779e||typeof _0x2e779e!=_0x4fcc1b(0xa6))return!0x1;let _0x3cd746=_0x2e779e;return[_0x3cd746[_0x4fcc1b(0xbe)],_0x3cd746['height']][_0x4fcc1b(0xa8)](_0x2f622a=>typeof _0x2f622a==_0x4fcc1b(0xe4)&&Number[_0x4fcc1b(0x141)](_0x2f622a)&&(_0x2c6b70?_0x2f622a>=0x0:_0x2f622a>0x0));}function l(_0x53b374){const _0x596e1e=_0x1377f6;return typeof _0x53b374==_0x596e1e(0xe4)&&Number[_0x596e1e(0x141)](_0x53b374)&&_0x53b374>=0x0;}function u(_0x5a5661){const _0x1ed429=_0x1377f6;return a(_0x5a5661)?_0x5a5661[_0x1ed429(0x130)]===_0x1ed429(0x119)?l(_0x5a5661[_0x1ed429(0x83)]):_0x5a5661['status']===_0x1ed429(0xa9)?typeof _0x5a5661[_0x1ed429(0x122)]==_0x1ed429(0x9e)&&[_0x1ed429(0x123),_0x1ed429(0xa7),'endpoint-role']['includes'](_0x5a5661[_0x1ed429(0x122)]):_0x5a5661[_0x1ed429(0x130)]===_0x1ed429(0x12b)&&Reflect[_0x1ed429(0x134)](_0x5a5661)[_0x1ed429(0x11b)]===0x1:!0x1;}function d(_0x4a5cf0,_0x4ed552,_0x28dc62){const _0x492cf4=_0x1377f6;let _0x472e8a=_0x4a5cf0[_0x492cf4(0x98)];if(_0x472e8a===void 0x0)return!0x1;if(_0x472e8a[_0x492cf4(0x12e)]!==_0x4ed552)throw new t(_0x492cf4(0x133),'Label-distance\x20threshold\x20was\x20not\x20echoed');let _0x551281=_0x4a5cf0[_0x492cf4(0xe9)];if(_0x551281===void 0x0)return!0x1;let _0xf8fd54=!0x0;for(let _0x4e83d0 of _0x4a5cf0['routes']){let _0x4a0de7=_0x28dc62[_0x4e83d0[_0x492cf4(0xc5)]];if(!(!_0x4a0de7||!(_0x492cf4(0xd4)in _0x4a0de7))){for(let _0x51b3cd of _0x4a0de7[_0x492cf4(0xd4)][_0x492cf4(0xb3)]??[])Object[_0x492cf4(0xc8)](_0x551281[_0x4e83d0['connectorId']]??{},_0x51b3cd['id'])||(_0xf8fd54=!0x1);}}for(let [_0x2bdaff,_0x1c5b58]of Object['entries'](_0x551281))for(let [_0x20200c,_0x354f59]of Object[_0x492cf4(0x108)](_0x1c5b58)){if(_0x354f59[_0x492cf4(0x130)]==='unresolved'||_0x354f59['automaticLabelDistance']===void 0x0){_0xf8fd54=!0x1;continue;}let _0x4b06e8=_0x354f59['automaticLabelDistance'];if(_0x4b06e8['status']===_0x492cf4(0x12b)&&(_0xf8fd54=!0x1),_0x4b06e8[_0x492cf4(0x130)]===_0x492cf4(0xa9)&&_0x4b06e8['reason']==='empty'!==_0x354f59[_0x492cf4(0x123)]||_0x4b06e8[_0x492cf4(0x130)]===_0x492cf4(0x119)&&_0x354f59[_0x492cf4(0x123)])throw new t(_0x492cf4(0x133),_0x492cf4(0x9b));if(_0x4b06e8[_0x492cf4(0x130)]===_0x492cf4(0x119)&&_0x4b06e8[_0x492cf4(0x83)]>_0x4ed552+0.001&&!_0x4a5cf0[_0x492cf4(0xf5)][_0x492cf4(0xe5)](_0x2d98a6=>_0x2d98a6[_0x492cf4(0x118)]===_0x492cf4(0x79)&&_0x2d98a6[_0x492cf4(0xee)][_0x492cf4(0xc0)](_0x2bdaff)&&_0x2d98a6[_0x492cf4(0x12a)]?.['includes'](_0x20200c)))throw new t(_0x492cf4(0x133),_0x492cf4(0x85));}for(let _0x4a1fd1 of _0x4a5cf0['issues']){if(_0x4a1fd1[_0x492cf4(0x118)]!==_0x492cf4(0x79)&&_0x4a1fd1[_0x492cf4(0x118)]!==_0x492cf4(0x7f))continue;let _0x4949ea=_0x4a1fd1[_0x492cf4(0xee)][0x0],_0x36e827=_0x4a1fd1['labelIds']?.[0x0],_0x4ed7fb=_0x4949ea&&_0x36e827?_0x551281[_0x4949ea]?.[_0x36e827]:void 0x0,_0x4f8f41=_0x4ed7fb?.[_0x492cf4(0x130)]==='ready'?_0x4ed7fb[_0x492cf4(0x12d)]:void 0x0,_0x549641=_0x4a1fd1[_0x492cf4(0x118)]===_0x492cf4(0x79)?_0x4f8f41?.['status']==='ready'&&_0x4f8f41['distance']>_0x4ed552+0.001&&_0x4a1fd1['severity']===_0x492cf4(0x8c)&&_0x4a1fd1['labelDistance']?.[_0x492cf4(0xcb)]===_0x4f8f41[_0x492cf4(0x83)]&&_0x4a1fd1['labelDistance']?.[_0x492cf4(0xfa)]===_0x4ed552:_0x4f8f41?.[_0x492cf4(0x130)]===_0x492cf4(0x12b)&&_0x4a1fd1[_0x492cf4(0x131)]==='warning'&&_0x4a1fd1[_0x492cf4(0x143)]===void 0x0;if(_0x4a1fd1[_0x492cf4(0xee)][_0x492cf4(0x11b)]!==0x1||_0x4a1fd1[_0x492cf4(0x12a)]?.[_0x492cf4(0x11b)]!==0x1||!_0x549641)throw new t(_0x492cf4(0x133),_0x492cf4(0xce));}return _0xf8fd54;}function f(_0x25f647,_0x202a8e,_0x1d3661,_0x12dc74,_0x27b894,_0x4500c4){const _0x57a105=_0x1377f6;let _0x24212c=()=>{throw new t('INVALID_RENDER_RESULT','Text\x20plan\x20does\x20not\x20match\x20its\x20requested\x20Unit,\x20page\x20or\x20shape-size\x20selection');};(!a(_0x25f647)||_0x25f647[_0x57a105(0x109)]!==_0x202a8e||_0x25f647[_0x57a105(0xd0)]!==_0x1d3661||_0x25f647[_0x57a105(0x130)]!==_0x57a105(0x119)&&_0x25f647[_0x57a105(0x130)]!==_0x57a105(0xda)||!Array[_0x57a105(0x8e)](_0x25f647[_0x57a105(0x10b)])||!Array[_0x57a105(0x8e)](_0x25f647['preconditions']))&&_0x24212c();let _0x44b9a6=new Set(_0x12dc74),_0x140249=new Set();for(let _0x55db1d of _0x25f647[_0x57a105(0x10b)]){(!a(_0x55db1d)||typeof _0x55db1d[_0x57a105(0xf2)]!=_0x57a105(0x9e)||!_0x44b9a6[_0x57a105(0x146)](_0x55db1d[_0x57a105(0xf2)])||_0x140249[_0x57a105(0x146)](_0x55db1d[_0x57a105(0xf2)])||_0x27b894[_0x55db1d[_0x57a105(0xf2)]]?.[_0x57a105(0x13e)]!==_0x57a105(0x116)||Object['keys'](_0x55db1d)[_0x57a105(0xe5)](_0x380f8c=>_0x380f8c!==_0x57a105(0xf2)&&_0x380f8c!==_0x57a105(0x8d))||!a(_0x55db1d[_0x57a105(0x8d)]))&&_0x24212c();let _0x1a613c=_0x55db1d[_0x57a105(0x8d)],_0x358782=_0x27b894[_0x55db1d['elementId']][_0x57a105(0x8d)];(Object['keys'](_0x1a613c)['some'](_0x3a3d1f=>_0x3a3d1f!==_0x57a105(0xbe)&&_0x3a3d1f!==_0x57a105(0x126))||typeof _0x1a613c[_0x57a105(0xbe)]!=_0x57a105(0xe4)||!Number[_0x57a105(0x141)](_0x1a613c[_0x57a105(0xbe)])||_0x1a613c[_0x57a105(0xbe)]<=0x0||_0x1a613c[_0x57a105(0xbe)]<(_0x358782['width']??0x0)||_0x4500c4!==void 0x0&&_0x1a613c[_0x57a105(0xbe)]>(_0x358782[_0x57a105(0xbe)]??0x0)*_0x4500c4||typeof _0x1a613c[_0x57a105(0x126)]!=_0x57a105(0xe4)||!Number[_0x57a105(0x141)](_0x1a613c[_0x57a105(0x126)])||_0x1a613c[_0x57a105(0x126)]<=0x0||_0x1a613c[_0x57a105(0x126)]<(_0x358782[_0x57a105(0x126)]??0x0))&&_0x24212c(),_0x140249['add'](_0x55db1d[_0x57a105(0xf2)]);}}var p=0x2,m=0x6,h=0.02,g=0.15,_=0.5,v=new Set(['rect',_0x1377f6(0x142)]),y=[_0x1377f6(0xf1),_0x1377f6(0x13f),_0x1377f6(0xa3)];function b(_0x42e8f5){return{async 'lint'(_0x4ed4ae){const _0x5dd3f5=_0x6a96;if(_0x4ed4ae[_0x5dd3f5(0x102)]===_0x5dd3f5(0xf8))return await r(_0x4ed4ae,_0x42e8f5);if(_0x4ed4ae['unitType']!==_0x5dd3f5(0x13c))throw new t(_0x5dd3f5(0x140),_0x5dd3f5(0xaf));if(_0x5dd3f5(0x12e)in _0x4ed4ae&&_0x4ed4ae[_0x5dd3f5(0x12e)]!==void 0x0)throw new t(_0x5dd3f5(0x140),_0x5dd3f5(0x106));let _0x2c4a19=z(_0x4ed4ae[_0x5dd3f5(0x11d)]['id']),_0x4982ce=x(_0x4ed4ae[_0x5dd3f5(0x11d)]['slideOrder']??[],_0x4ed4ae['pages']);if(_0x42e8f5[_0x5dd3f5(0x7a)]===void 0x0||!('captureSlideLayout'in _0x42e8f5[_0x5dd3f5(0x7a)]))throw new t('INVALID_INPUT',_0x5dd3f5(0xd3));let _0x4050da=await _0x42e8f5['runtime'][_0x5dd3f5(0x101)]({'unitType':_0x5dd3f5(0x13c),'unitData':_0x4ed4ae['unitData'],..._0x4ed4ae[_0x5dd3f5(0x10c)]===void 0x0?{}:{'formulaReferenceUnits':_0x4ed4ae[_0x5dd3f5(0x10c)]},'pages':_0x4982ce['map'](({page:_0x108236})=>_0x108236),..._0x4ed4ae['signal']===void 0x0?{}:{'signal':_0x4ed4ae[_0x5dd3f5(0x86)]}});return S(_0x4050da,_0x4982ce),{'kind':'unit-layout-lint','unitId':_0x2c4a19,'unitType':_0x5dd3f5(0x13c),'coverage':{'pages':_0x4982ce,'rules':y},'findings':C(_0x4050da)};}};}function x(_0x5a102d,_0x1074f7){const _0x1cf776=_0x1377f6;if(_0x5a102d['length']===0x0)throw new t('INVALID_INPUT',_0x1cf776(0xa0));if(_0x1074f7!==void 0x0&&_0x1074f7[_0x1cf776(0x11b)]===0x0)throw new t(_0x1cf776(0x140),_0x1cf776(0xb4));let _0x4c7d42=_0x1074f7??_0x5a102d['map']((_0x11e6c6,_0x315cbc)=>_0x315cbc+0x1),_0x5e2a89=new Set(),_0x2e0807=[];for(let _0x57515a of _0x4c7d42){let _0x20680c=typeof _0x57515a==_0x1cf776(0xe4)?_0x57515a:_0x5a102d[_0x1cf776(0x117)](_0x2c5e16=>_0x2c5e16===_0x57515a)+0x1;if(!Number[_0x1cf776(0x9f)](_0x20680c)||_0x20680c<0x1||_0x20680c>_0x5a102d[_0x1cf776(0x11b)])throw new t(_0x1cf776(0x140),_0x1cf776(0xd1)+String(_0x57515a));let _0x178374=_0x5a102d[_0x20680c-0x1];_0x5e2a89[_0x1cf776(0x146)](_0x178374)||(_0x5e2a89[_0x1cf776(0x8f)](_0x178374),_0x2e0807['push']({'page':_0x20680c,'pageId':_0x178374}));}return _0x2e0807;}function S(_0x23baab,_0x11a70c){const _0x74bec0=_0x1377f6;let _0x1e7d99=new Map();for(let _0x3bdbc6 of _0x23baab[_0x74bec0(0x129)]){let _0x4bcf5b=_0x1e7d99[_0x74bec0(0x120)](_0x3bdbc6['pageId'])??[];_0x4bcf5b['push'](_0x3bdbc6),_0x1e7d99[_0x74bec0(0x14e)](_0x3bdbc6[_0x74bec0(0xd0)],_0x4bcf5b);}for(let _0x52a18f of _0x11a70c){let _0xd037dd=_0x1e7d99[_0x74bec0(0x120)](_0x52a18f[_0x74bec0(0xd0)])??[];if(_0xd037dd[_0x74bec0(0x11b)]!==0x1||_0xd037dd[0x0]?.['page']!==_0x52a18f['page'])throw new t(_0x74bec0(0x133),_0x74bec0(0xdd)+_0x52a18f['pageId']);let _0x17bfa1=_0xd037dd[0x0][_0x74bec0(0x138)]['map'](({elementId:_0x4b3e85})=>_0x4b3e85);if(new Set(_0x17bfa1)[_0x74bec0(0x139)]!==_0x17bfa1[_0x74bec0(0x11b)])throw new t(_0x74bec0(0x133),_0x74bec0(0xb7)+_0x52a18f[_0x74bec0(0xd0)]);}if(_0x23baab[_0x74bec0(0x129)]['length']!==_0x11a70c[_0x74bec0(0x11b)])throw new t(_0x74bec0(0x133),_0x74bec0(0x7d));}function C(_0x14552d){const _0x1974c4=_0x1377f6;let _0x46cf9c=[];for(let _0x33ddfe of _0x14552d[_0x1974c4(0x129)]){let _0xfe34a1=_0x33ddfe[_0x1974c4(0x138)]['filter'](_0x6e859b=>!_0x6e859b['elementId']['startsWith'](_0x1974c4(0x88))),_0x4a645f=_0xfe34a1[_0x1974c4(0x12c)](_0x3a8063=>_0x3a8063[_0x1974c4(0xd2)]!==void 0x0&&_0x3a8063['text'][_0x1974c4(0x90)][_0x1974c4(0x8a)]()!=='');for(let _0x2a0d9d of _0x4a645f){let _0x34f112=T(_0x2a0d9d[_0x1974c4(0xd2)][_0x1974c4(0xad)]),_0x113339={..._0x34f112['left']<-0x2?{'left':O(-_0x34f112[_0x1974c4(0xec)])}:{},..._0x34f112[_0x1974c4(0xf9)]<-0x2?{'top':O(-_0x34f112['top'])}:{},..._0x34f112['right']>_0x33ddfe[_0x1974c4(0x14c)]+p?{'right':O(_0x34f112[_0x1974c4(0xca)]-_0x33ddfe[_0x1974c4(0x14c)])}:{},..._0x34f112[_0x1974c4(0xb8)]>_0x33ddfe[_0x1974c4(0x114)]+p?{'bottom':O(_0x34f112[_0x1974c4(0xb8)]-_0x33ddfe[_0x1974c4(0x114)])}:{}},_0xe1baf=R(_0x113339);if(_0xe1baf!=='-'){let _0x3ea8f6=j(_0x2a0d9d),_0x17848c=A({'left':0x0,'top':0x0,'width':_0x33ddfe[_0x1974c4(0x14c)],'height':_0x33ddfe[_0x1974c4(0x114)]});_0x46cf9c[_0x1974c4(0xaa)](w({'page':_0x33ddfe[_0x1974c4(0xa4)],'pageId':_0x33ddfe[_0x1974c4(0xd0)],'rule':_0x1974c4(0xf1),'id':_0x2a0d9d[_0x1974c4(0xf2)],'text':_0x3ea8f6,'pageBox':_0x17848c,'overflow':_0x113339,'detail':_0x1974c4(0x137)+k(_0x3ea8f6[_0x1974c4(0x90)])+_0x1974c4(0x147)+_0xe1baf+_0x1974c4(0xd6)+F(_0x3ea8f6[_0x1974c4(0xad)])+_0x1974c4(0xf4)+F(_0x17848c)}));}}for(let _0x4189fb of _0x4a645f){let _0x50822d=L(_0x4189fb,_0xfe34a1,_0x33ddfe);if(_0x50822d===void 0x0)continue;let _0x577920=T(_0x4189fb[_0x1974c4(0xd2)]['ink']),_0x410a5a=T(_0x50822d[_0x1974c4(0x11c)]),_0x20d26c=Math[_0x1974c4(0xd5)](m,h*(_0x410a5a['right']-_0x410a5a[_0x1974c4(0xec)])),_0x4f2b46={..._0x410a5a[_0x1974c4(0xec)]-_0x577920['left']>_0x20d26c?{'left':O(_0x410a5a[_0x1974c4(0xec)]-_0x577920[_0x1974c4(0xec)])}:{},..._0x577920['right']-_0x410a5a['right']>_0x20d26c?{'right':O(_0x577920[_0x1974c4(0xca)]-_0x410a5a[_0x1974c4(0xca)])}:{},..._0x577920[_0x1974c4(0xb8)]-_0x410a5a[_0x1974c4(0xb8)]>_0x20d26c?{'bottom':O(_0x577920[_0x1974c4(0xb8)]-_0x410a5a[_0x1974c4(0xb8)])}:{}},_0x158661=R(_0x4f2b46);if(_0x158661!=='-'){let _0x3166ef=j(_0x4189fb),_0x4bb7cc=N(_0x50822d);_0x46cf9c['push'](w({'page':_0x33ddfe[_0x1974c4(0xa4)],'pageId':_0x33ddfe[_0x1974c4(0xd0)],'rule':'text-escapes-container','id':_0x4189fb[_0x1974c4(0xf2)],'related':_0x50822d[_0x1974c4(0xf2)],'text':_0x3166ef,'container':_0x4bb7cc,'overflow':_0x4f2b46,'detail':_0x1974c4(0x137)+k(_0x3166ef[_0x1974c4(0x90)])+_0x1974c4(0x121)+_0x4bb7cc['id']+'\x20('+_0x158661+');\x20ink\x20'+F(_0x3166ef[_0x1974c4(0xad)])+',\x20'+_0x4bb7cc['id']+_0x1974c4(0xc9)+_0x4bb7cc[_0x1974c4(0x13e)]+'\x20'+P(_0x4bb7cc[_0x1974c4(0xbb)])+'\x20'+F(_0x4bb7cc['box'])}));}}for(let _0xe1e387=0x0;_0xe1e387<_0x4a645f[_0x1974c4(0x11b)];_0xe1e387+=0x1)for(let _0x2e6853=_0xe1e387+0x1;_0x2e6853<_0x4a645f['length'];_0x2e6853+=0x1){let _0x3061da=_0x4a645f[_0xe1e387],_0x35e1e3=_0x4a645f[_0x2e6853],_0x58e47c=T(_0x3061da[_0x1974c4(0xd2)]['ink']),_0x207474=T(_0x35e1e3[_0x1974c4(0xd2)][_0x1974c4(0xad)]),_0x24a68d=E(D(_0x58e47c,_0x207474));if(_0x24a68d<=0x1)continue;let _0x542778=_0x24a68d/Math['max'](0x1,Math[_0x1974c4(0x7e)](E(_0x58e47c),E(_0x207474)));if(_0x542778<=g)continue;let _0x4b2cb1=j(_0x3061da),_0x51256b=j(_0x35e1e3);_0x46cf9c['push'](w({'page':_0x33ddfe[_0x1974c4(0xa4)],'pageId':_0x33ddfe[_0x1974c4(0xd0)],'rule':_0x1974c4(0xa3),'id':_0x3061da[_0x1974c4(0xf2)],'related':_0x35e1e3[_0x1974c4(0xf2)],'text':_0x4b2cb1,'other':_0x51256b,'overlapRatio':Math['round'](_0x542778*0x64)/0x64,'detail':_0x1974c4(0x137)+k(_0x4b2cb1['content'])+'\x22'+M(_0x4b2cb1)+_0x1974c4(0x9a)+k(_0x51256b[_0x1974c4(0x90)])+'\x22'+M(_0x51256b)+_0x1974c4(0x144)+Math[_0x1974c4(0x81)](_0x542778*0x64)+_0x1974c4(0x87)+F(_0x4b2cb1[_0x1974c4(0xad)])+',\x20'+F(_0x51256b[_0x1974c4(0xad)])}));}}return _0x46cf9c['sort']((_0x22ae0e,_0xf32c5b)=>_0x22ae0e[_0x1974c4(0xb5)]['localeCompare'](_0xf32c5b['fingerprint']));}function w(_0x2c2c74){const _0x44f368=_0x1377f6;return{..._0x2c2c74,'fingerprint':[_0x2c2c74[_0x44f368(0x118)],_0x2c2c74[_0x44f368(0xd0)],_0x2c2c74['id'],_0x2c2c74['related']??''][_0x44f368(0xc6)](':'),'severity':_0x44f368(0xa5)};}function T(_0x1a581c){const _0x5cae19=_0x1377f6;return{'left':_0x1a581c[_0x5cae19(0xec)],'top':_0x1a581c['top'],'right':_0x1a581c[_0x5cae19(0xec)]+_0x1a581c[_0x5cae19(0xbe)],'bottom':_0x1a581c[_0x5cae19(0xf9)]+_0x1a581c['height']};}function E(_0x805721){const _0x52b457=_0x1377f6;return Math[_0x52b457(0xd5)](0x0,_0x805721['right']-_0x805721['left'])*Math[_0x52b457(0xd5)](0x0,_0x805721[_0x52b457(0xb8)]-_0x805721[_0x52b457(0xf9)]);}function D(_0x2464be,_0x28a9cb){const _0x33578c=_0x1377f6;return{'left':Math['max'](_0x2464be[_0x33578c(0xec)],_0x28a9cb[_0x33578c(0xec)]),'top':Math[_0x33578c(0xd5)](_0x2464be[_0x33578c(0xf9)],_0x28a9cb[_0x33578c(0xf9)]),'right':Math[_0x33578c(0x7e)](_0x2464be['right'],_0x28a9cb['right']),'bottom':Math[_0x33578c(0x7e)](_0x2464be[_0x33578c(0xb8)],_0x28a9cb[_0x33578c(0xb8)])};}function O(_0xf58aa){return Math['round'](_0xf58aa);}function k(_0x5a9fec){const _0x124982=_0x1377f6;let _0x5b49b6=_0x5a9fec[_0x124982(0x10e)](/\s+/gu,'\x20')[_0x124982(0x8a)]();return _0x5b49b6[_0x124982(0x11b)]<=0x10?_0x5b49b6:_0x5b49b6[_0x124982(0x11e)](0x0,0x10)+'…';}function A(_0x424a81){const _0x294078=_0x1377f6;return{'left':O(_0x424a81['left']),'top':O(_0x424a81[_0x294078(0xf9)]),'width':O(_0x424a81[_0x294078(0xbe)]),'height':O(_0x424a81[_0x294078(0x126)])};}function j(_0x422a7c){const _0x3d6b1d=_0x1377f6;let _0x124d92=_0x422a7c[_0x3d6b1d(0xd2)];return{'id':_0x422a7c[_0x3d6b1d(0xf2)],'content':_0x124d92[_0x3d6b1d(0x90)],'ink':A(_0x124d92[_0x3d6b1d(0xad)]),..._0x124d92[_0x3d6b1d(0x77)]===void 0x0?{}:{'color':_0x124d92['color']},..._0x124d92[_0x3d6b1d(0x135)]===void 0x0?{}:{'opacity':_0x124d92[_0x3d6b1d(0x135)]}};}function M(_0x5b98b0){const _0xd94282=_0x1377f6;return _0x5b98b0['color']===void 0x0&&_0x5b98b0[_0xd94282(0x135)]===void 0x0?'':''+(_0x5b98b0[_0xd94282(0x77)]===void 0x0?'':'\x20\x20'+_0x5b98b0[_0xd94282(0x77)])+(_0x5b98b0[_0xd94282(0x135)]===void 0x0?'':_0xd94282(0xbd)+_0x5b98b0[_0xd94282(0x135)]);}function N(_0xf3e812){const _0x65935b=_0x1377f6;return{'id':_0xf3e812['elementId'],'type':_0xf3e812[_0x65935b(0xb2)]===void 0x0?_0xf3e812[_0x65935b(0x112)]:_0xf3e812['elementType']+':'+_0xf3e812[_0x65935b(0xb2)],..._0xf3e812['fill']===void 0x0?{}:{'fill':_0xf3e812[_0x65935b(0xbb)]},'box':A(_0xf3e812[_0x65935b(0x11c)])};}function P(_0xfbac36){const _0x4e0b7f=_0x1377f6;if(_0xfbac36===void 0x0)return'no\x20fill';let _0x245106=_0xfbac36['opacity']===void 0x0||_0xfbac36[_0x4e0b7f(0x135)]===0x1?'':'\x20@'+_0xfbac36['opacity'];return((_0xfbac36[_0x4e0b7f(0x13e)]??'?')+'\x20'+(_0xfbac36['color']??'')+_0x245106)['trim']();}function F(_0x517a2c){const _0x494d79=_0x1377f6;return'('+_0x517a2c[_0x494d79(0xec)]+','+_0x517a2c[_0x494d79(0xf9)]+'\x20'+_0x517a2c[_0x494d79(0xbe)]+'×'+_0x517a2c[_0x494d79(0x126)]+')';}function I(_0x148dd3){const _0x4e35b0=_0x1377f6;let _0x534c2=_0x148dd3[_0x4e35b0(0xbb)];return!(_0x534c2===void 0x0||_0x534c2[_0x4e35b0(0x13e)]===_0x4e35b0(0xf3)||_0x534c2[_0x4e35b0(0x135)]!==void 0x0&&_0x534c2[_0x4e35b0(0x135)]<_||_0x148dd3['shapeType']===void 0x0||!v['has'](_0x148dd3[_0x4e35b0(0xb2)])||_0x148dd3[_0x4e35b0(0x149)]===!0x1);}function L(_0x149851,_0x2654d0,_0x2387f9){const _0x118ff7=_0x1377f6;let _0x37eb53=T(_0x149851[_0x118ff7(0xd2)][_0x118ff7(0xad)]),_0x128269;for(let _0x4eea08 of _0x2654d0){if(_0x4eea08[_0x118ff7(0x99)]>=_0x149851[_0x118ff7(0x99)]||!I(_0x4eea08))continue;let _0x11f10b=T(_0x4eea08[_0x118ff7(0x11c)]),_0x377cad=E(_0x11f10b);if(_0x377cad>=0.5*_0x2387f9[_0x118ff7(0x14c)]*_0x2387f9[_0x118ff7(0x114)])continue;let _0x336bd0=_0x37eb53['top']>=_0x11f10b[_0x118ff7(0xf9)]-p&&_0x37eb53['bottom']<=_0x11f10b['bottom']+p,_0x14194a=_0x37eb53[_0x118ff7(0xec)]>=_0x11f10b[_0x118ff7(0xec)]-p&&_0x37eb53[_0x118ff7(0xec)]<=_0x11f10b[_0x118ff7(0xca)]+p&&_0x37eb53[_0x118ff7(0xf9)]>=_0x11f10b['top']-p,_0x2de6ef=E(D(_0x37eb53,_0x11f10b))/Math['max'](E(_0x37eb53),0x1);!_0x336bd0||!_0x14194a||_0x2de6ef<0.35||(_0x128269===void 0x0||_0x377cad<_0x128269[_0x118ff7(0x13d)])&&(_0x128269={'element':_0x4eea08,'area':_0x377cad});}return _0x128269?.['element'];}function R(_0x35bc1b){const _0x303b0d=_0x1377f6;let _0x4a257d=[_0x35bc1b[_0x303b0d(0xec)]===void 0x0?'':_0x303b0d(0xf6)+_0x35bc1b[_0x303b0d(0xec)]+'px',_0x35bc1b['top']===void 0x0?'':_0x303b0d(0xdf)+_0x35bc1b[_0x303b0d(0xf9)]+'px',_0x35bc1b[_0x303b0d(0xca)]===void 0x0?'':'right\x20'+_0x35bc1b[_0x303b0d(0xca)]+'px',_0x35bc1b[_0x303b0d(0xb8)]===void 0x0?'':'bottom\x20'+_0x35bc1b[_0x303b0d(0xb8)]+'px'][_0x303b0d(0x12c)](_0xdf614c=>_0xdf614c!=='');return _0x4a257d[_0x303b0d(0x11b)]===0x0?'-':_0x4a257d[_0x303b0d(0xc6)](',\x20');}function z(_0x3a7774){const _0x1b8f71=_0x1377f6;if(typeof _0x3a7774!=_0x1b8f71(0x9e)||_0x3a7774['trim']()==='')throw new t('INVALID_INPUT',_0x1b8f71(0xae));return _0x3a7774;}export{t as UnitLayoutLintError,b as createUnitLayoutLint,n as isUnitLayoutLintError};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univer-cli/unit-layout-lint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.1",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"README.zh-CN.md"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@univer-cli/univer-render-runtime": "1.
|
|
21
|
+
"@univer-cli/univer-render-runtime": "1.6.1"
|
|
22
22
|
}
|
|
23
23
|
}
|