@univer-cli/unit-layout-lint 1.5.2 → 1.6.0
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 _0x2b8321=_0xc35f;(function(_0x160c50,_0x444ec7){const _0x276d8d=_0xc35f,_0x123c5a=_0x160c50();while(!![]){try{const _0x9cb689=-parseInt(_0x276d8d(0x1d8))/0x1*(-parseInt(_0x276d8d(0x212))/0x2)+parseInt(_0x276d8d(0x241))/0x3+parseInt(_0x276d8d(0x1d0))/0x4*(-parseInt(_0x276d8d(0x1e3))/0x5)+-parseInt(_0x276d8d(0x22b))/0x6+parseInt(_0x276d8d(0x225))/0x7+parseInt(_0x276d8d(0x1a3))/0x8+-parseInt(_0x276d8d(0x1f0))/0x9;if(_0x9cb689===_0x444ec7)break;else _0x123c5a['push'](_0x123c5a['shift']());}catch(_0x46dbc2){_0x123c5a['push'](_0x123c5a['shift']());}}}(_0x2172,0x63291));import{createHash as _0x4a671c}from'node:crypto';var t=class extends Error{[_0x2b8321(0x1db)];constructor(_0xf0793d,_0x101577,_0x4bab0c){const _0x1ab87b=_0x2b8321;super(_0x101577,_0x4bab0c),this[_0x1ab87b(0x1a9)]=_0x1ab87b(0x1eb),this[_0x1ab87b(0x1db)]=_0xf0793d;}};function n(_0x42329b){return _0x42329b instanceof t;}async function r(_0x214ad8,_0x1ff34c){const _0x4b37fb=_0x2b8321;if(typeof _0x214ad8['unitData']['id']!=_0x4b37fb(0x199)||_0x214ad8[_0x4b37fb(0x18e)]['id'][_0x4b37fb(0x232)]()==='')throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x177));let _0x739521=_0x214ad8[_0x4b37fb(0x1ed)]??_0x4b37fb(0x1ec);if(_0x739521!==_0x4b37fb(0x231)&&_0x739521!=='rendered'&&_0x739521!==_0x4b37fb(0x1ec))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x191));if(_0x214ad8[_0x4b37fb(0x19d)]!==void 0x0&&(_0x739521===_0x4b37fb(0x231)||_0x214ad8['includeLabelPlan']||_0x214ad8[_0x4b37fb(0x1da)]||_0x214ad8[_0x4b37fb(0x19f)]!==void 0x0))throw new t(_0x4b37fb(0x22a),'A\x20layout\x20plan\x20requires\x20rendered\x20Board\x20analysis\x20and\x20one\x20planning\x20request');if(_0x214ad8['includeLabelPlan']===!0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x21e));if(_0x214ad8['includePortPlan']===!0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x206));if(_0x214ad8['textPlanElementIds']!==void 0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),'Text\x20plans\x20require\x20rendered\x20Board\x20analysis');let _0x879d6c=_0x214ad8[_0x4b37fb(0x239)];if(_0x879d6c!==void 0x0&&!l(_0x879d6c))throw new t('INVALID_INPUT',_0x4b37fb(0x1de));if(_0x879d6c!==void 0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x19b));let _0x2f3239=_0x214ad8[_0x4b37fb(0x18e)][_0x4b37fb(0x1ae)];if(!Array['isArray'](_0x2f3239)||_0x2f3239[_0x4b37fb(0x1b4)]===0x0||new Set(_0x2f3239)[_0x4b37fb(0x1d7)]!==_0x2f3239[_0x4b37fb(0x1b4)])throw new t('INVALID_INPUT',_0x4b37fb(0x1c5));if(_0x214ad8[_0x4b37fb(0x185)]?.[_0x4b37fb(0x1b4)]===0x0)throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x1f1));let _0x56872=[...new Set((_0x214ad8[_0x4b37fb(0x185)]??_0x2f3239)[_0x4b37fb(0x1ef)](_0x29e124=>{const _0x302830=_0x4b37fb;let _0x1c6f0d=typeof _0x29e124==_0x302830(0x1d4)?_0x29e124-0x1:_0x2f3239[_0x302830(0x1bb)](_0x29e124),_0x4af8d5=_0x2f3239[_0x1c6f0d];if(!Number[_0x302830(0x21d)](_0x1c6f0d)||_0x1c6f0d<0x0||_0x4af8d5===void 0x0||!_0x214ad8[_0x302830(0x18e)]['pages'][_0x4af8d5])throw new t(_0x302830(0x22a),_0x302830(0x1fe)+String(_0x29e124));return _0x4af8d5;}))][_0x4b37fb(0x1ef)](_0x5699fe=>({'page':_0x2f3239[_0x4b37fb(0x1bb)](_0x5699fe)+0x1,'pageId':_0x5699fe})),_0x2e2d8a=_0x214ad8['textPlanElementIds'];if(_0x2e2d8a!==void 0x0&&(!Array[_0x4b37fb(0x233)](_0x2e2d8a)||_0x2e2d8a[_0x4b37fb(0x1ca)](_0x409ff8=>typeof _0x409ff8!='string'||_0x409ff8['trim']()==='')||new Set(_0x2e2d8a)[_0x4b37fb(0x1d7)]!==_0x2e2d8a[_0x4b37fb(0x1b4)]||_0x2e2d8a['some'](_0x515203=>!_0x56872[_0x4b37fb(0x1ca)](({pageId:_0x491c30})=>_0x214ad8['unitData']['pages'][_0x491c30]?.[_0x4b37fb(0x1e0)][_0x515203]?.[_0x4b37fb(0x182)]===_0x4b37fb(0x1e9)))))throw new t('INVALID_INPUT',_0x4b37fb(0x1c7));let _0x24b588=_0x214ad8[_0x4b37fb(0x17b)];if(_0x24b588!==void 0x0&&(!Number[_0x4b37fb(0x1c8)](_0x24b588)||_0x24b588<0x1||_0x24b588>0x2||!_0x2e2d8a?.[_0x4b37fb(0x1b4)]))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x1cd));let _0x46cd5a=structuredClone({'unitType':_0x214ad8[_0x4b37fb(0x1c9)],'unitData':_0x214ad8[_0x4b37fb(0x18e)],..._0x214ad8[_0x4b37fb(0x1f8)]===void 0x0?{}:{'formulaReferenceUnits':_0x214ad8[_0x4b37fb(0x1f8)]},..._0x214ad8[_0x4b37fb(0x23d)]===void 0x0?{}:{'embeddedUnits':_0x214ad8[_0x4b37fb(0x23d)]},'pages':_0x56872[_0x4b37fb(0x1ef)](({pageId:_0x5152b9})=>_0x5152b9),'focusPadding':0x30,..._0x879d6c===void 0x0?{}:{'maximumAutomaticLabelDistance':_0x879d6c},..._0x214ad8['layoutPlan']===void 0x0?{}:{'layoutPlan':_0x214ad8['layoutPlan']},..._0x214ad8[_0x4b37fb(0x187)]===!0x0?{'includeLabelPlan':!0x0}:{},..._0x214ad8[_0x4b37fb(0x1da)]===!0x0?{'includePortPlan':!0x0}:{},..._0x2e2d8a===void 0x0?{}:{'textPlanElementIds':_0x2e2d8a},..._0x24b588===void 0x0?{}:{'textPlanMaximumWidthGrowth':_0x24b588}}),_0x57a11b=_0x4a671c(_0x4b37fb(0x1a2))['update'](JSON[_0x4b37fb(0x1b7)](_0x46cd5a))[_0x4b37fb(0x18f)]('hex'),_0x1a2ea6=_0x739521==='both'?[_0x4b37fb(0x231),_0x4b37fb(0x245)]:[_0x739521],_0x4eca75=[],_0x1315a5=_0x56872[_0x4b37fb(0x1ef)](_0x3a789c=>({..._0x3a789c})),_0x550edc=[];for(let _0x2d3883 of _0x1a2ea6){_0x214ad8['signal']?.[_0x4b37fb(0x1f2)]();let _0x5d7f23=_0x2d3883==='model'?_0x1ff34c['modelRuntime']?.[_0x4b37fb(0x1c2)][_0x4b37fb(0x201)](_0x1ff34c['modelRuntime']):_0x1ff34c[_0x4b37fb(0x1b2)]!==void 0x0&&_0x4b37fb(0x1b1)in _0x1ff34c['runtime']?_0x1ff34c[_0x4b37fb(0x1b2)][_0x4b37fb(0x1b1)][_0x4b37fb(0x201)](_0x1ff34c[_0x4b37fb(0x1b2)]):void 0x0;if(_0x5d7f23===void 0x0){for(let {pageId:_0x15fcce}of _0x56872)_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x15fcce,'source':_0x2d3883,'reason':_0x4b37fb(0x250)});continue;}let _0x4879cc=structuredClone(_0x46cd5a);_0x2d3883==='model'&&(delete _0x4879cc[_0x4b37fb(0x1da)],delete _0x4879cc[_0x4b37fb(0x19d)],delete _0x4879cc[_0x4b37fb(0x239)],delete _0x4879cc['textPlanElementIds'],delete _0x4879cc[_0x4b37fb(0x17b)]);let _0x41e67d=await _0x5d7f23({..._0x4879cc,..._0x214ad8['signal']===void 0x0?{}:{'signal':_0x214ad8[_0x4b37fb(0x216)]}});_0x214ad8['signal']?.[_0x4b37fb(0x1f2)](),i(_0x41e67d,_0x56872[_0x4b37fb(0x1ef)](({pageId:_0x5c5f65})=>_0x5c5f65),_0x2d3883);for(let _0x289e0a of _0x1315a5){let _0x2d6da2=_0x41e67d['pages'][_0x4b37fb(0x222)](({pageId:_0x503717})=>_0x503717===_0x289e0a['pageId']),_0x50a2a3=_0x2d6da2?.[_0x4b37fb(0x224)];if(_0x50a2a3===void 0x0){_0x4eca75['push']({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x190)});continue;}if(_0x289e0a[_0x2d3883]=_0x50a2a3,_0x2d3883===_0x4b37fb(0x245)&&_0x879d6c!==void 0x0&&!d(_0x50a2a3,_0x879d6c,_0x46cd5a[_0x4b37fb(0x18e)]['pages'][_0x289e0a[_0x4b37fb(0x1ac)]]['elements'])&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':_0x4b37fb(0x20e)}),_0x2d3883===_0x4b37fb(0x245)&&_0x46cd5a[_0x4b37fb(0x19d)]!==void 0x0){let _0x49a3c=_0x2d6da2?.[_0x4b37fb(0x24b)];if(_0x49a3c===void 0x0)_0x4eca75['push']({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':_0x4b37fb(0x1f7)});else{if(!a(_0x49a3c)||_0x49a3c[_0x4b37fb(0x20b)]!==_0x214ad8[_0x4b37fb(0x18e)]['id']||_0x49a3c[_0x4b37fb(0x1ac)]!==_0x289e0a[_0x4b37fb(0x1ac)]||_0x49a3c[_0x4b37fb(0x223)]!==_0x4b37fb(0x1e5)&&_0x49a3c[_0x4b37fb(0x223)]!==_0x4b37fb(0x215)||!Array[_0x4b37fb(0x233)](_0x49a3c[_0x4b37fb(0x1d5)])||!Array[_0x4b37fb(0x233)](_0x49a3c['patches'])||!Array[_0x4b37fb(0x233)](_0x49a3c['diagnostics']))throw new t('INVALID_RENDER_RESULT',_0x4b37fb(0x1fa));_0x289e0a['plan']=_0x49a3c,_0x49a3c[_0x4b37fb(0x223)]==='incomplete'&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x1fc)});}}if(_0x2d3883===_0x4b37fb(0x245)&&_0x214ad8[_0x4b37fb(0x187)]===!0x0){if(_0x2d6da2?.[_0x4b37fb(0x1bd)]===void 0x0)_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':'label-plan-unavailable'});else{if(_0x2d6da2[_0x4b37fb(0x1bd)]['unitId']!==_0x214ad8[_0x4b37fb(0x18e)]['id']||_0x2d6da2[_0x4b37fb(0x1bd)][_0x4b37fb(0x1ac)]!==_0x289e0a[_0x4b37fb(0x1ac)])throw new t(_0x4b37fb(0x208),_0x4b37fb(0x1c1));_0x289e0a[_0x4b37fb(0x1bd)]=_0x2d6da2[_0x4b37fb(0x1bd)];}}if(_0x2d3883===_0x4b37fb(0x245)&&_0x214ad8[_0x4b37fb(0x1da)]===!0x0){if(_0x2d6da2?.[_0x4b37fb(0x209)]===void 0x0)_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':'port-plan-unavailable'});else{if(_0x2d6da2[_0x4b37fb(0x209)][_0x4b37fb(0x20b)]!==_0x214ad8['unitData']['id']||_0x2d6da2['portPlan'][_0x4b37fb(0x1ac)]!==_0x289e0a['pageId']||_0x2d6da2[_0x4b37fb(0x209)][_0x4b37fb(0x223)]!==_0x4b37fb(0x1e5)&&_0x2d6da2[_0x4b37fb(0x209)][_0x4b37fb(0x223)]!=='incomplete')throw new t(_0x4b37fb(0x208),_0x4b37fb(0x230));_0x289e0a[_0x4b37fb(0x209)]=_0x2d6da2[_0x4b37fb(0x209)],_0x2d6da2[_0x4b37fb(0x209)]['status']===_0x4b37fb(0x215)&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x18a)});}}_0x2d3883===_0x4b37fb(0x245)&&_0x46cd5a[_0x4b37fb(0x19f)]!==void 0x0&&(_0x2d6da2?.[_0x4b37fb(0x1fb)]===void 0x0?_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x200)}):(f(_0x2d6da2['textPlan'],_0x214ad8[_0x4b37fb(0x18e)]['id'],_0x289e0a[_0x4b37fb(0x1ac)],_0x46cd5a['textPlanElementIds'],_0x46cd5a[_0x4b37fb(0x18e)][_0x4b37fb(0x185)][_0x289e0a[_0x4b37fb(0x1ac)]][_0x4b37fb(0x1e0)],_0x46cd5a[_0x4b37fb(0x17b)]),_0x289e0a[_0x4b37fb(0x1fb)]=_0x2d6da2[_0x4b37fb(0x1fb)],_0x2d6da2[_0x4b37fb(0x1fb)][_0x4b37fb(0x223)]===_0x4b37fb(0x215)&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':_0x4b37fb(0x1f6)})));for(let _0x2366c7 of _0x50a2a3[_0x4b37fb(0x243)])_0x550edc[_0x4b37fb(0x1e8)]({..._0x2366c7,'page':_0x289e0a[_0x4b37fb(0x220)],'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'fingerprint':_0x2d3883+':'+_0x289e0a[_0x4b37fb(0x1ac)]+':'+_0x2366c7[_0x4b37fb(0x251)]+':'+_0x2366c7['id']});}}for(let _0x5b1759 of _0x1315a5){let _0x5ca324=_0x739521===_0x4b37fb(0x231)?_0x4b37fb(0x231):_0x4b37fb(0x245),_0x25b461=_0x5b1759[_0x5ca324];(_0x25b461?.[_0x4b37fb(0x202)][_0x4b37fb(0x18c)]||_0x25b461?.[_0x4b37fb(0x17f)][_0x4b37fb(0x1ca)](_0x1fb215=>!_0x1fb215[_0x4b37fb(0x178)]))&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x5b1759[_0x4b37fb(0x1ac)],'source':_0x5ca324,'reason':_0x4b37fb(0x246)}),(_0x25b461?.[_0x4b37fb(0x243)][_0x4b37fb(0x1ca)](_0x4eead2=>_0x4eead2[_0x4b37fb(0x251)]===_0x4b37fb(0x247))||Object[_0x4b37fb(0x1d9)](_0x25b461?.[_0x4b37fb(0x23c)]??{})['some'](_0x20b817=>Object['values'](_0x20b817)[_0x4b37fb(0x1ca)](_0x2ed0d0=>_0x2ed0d0[_0x4b37fb(0x223)]===_0x4b37fb(0x17e))))&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x5b1759[_0x4b37fb(0x1ac)],'source':_0x5ca324,'reason':'unresolved-label'}),_0x25b461?.[_0x4b37fb(0x243)][_0x4b37fb(0x1ca)](_0x95611d=>_0x95611d[_0x4b37fb(0x251)]===_0x4b37fb(0x19e))&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x5b1759['pageId'],'source':_0x5ca324,'reason':'unresolved-element-text'});}return{'kind':_0x4b37fb(0x210),'unitId':_0x214ad8[_0x4b37fb(0x18e)]['id'],'unitType':_0x4b37fb(0x21b),'mode':_0x739521,'snapshotHash':_0x57a11b,'status':_0x4eca75['length']>0x0?_0x4b37fb(0x215):_0x550edc[_0x4b37fb(0x1b4)]>0x0?'findings':_0x4b37fb(0x1ad),'coverage':{'pages':_0x56872,'sources':_0x1a2ea6,'complete':_0x4eca75['length']===0x0,'incomplete':_0x4eca75,'limitations':_0x739521===_0x4b37fb(0x231)?['Model\x20analysis\x20does\x20not\x20establish\x20final\x20font\x20metrics\x20or\x20automatic\x20rendered\x20routes.']:_0x879d6c===void 0x0?[]:[_0x4b37fb(0x249)]},'analyses':_0x1315a5,'findings':_0x550edc};}function i(_0x558821,_0x439b22,_0x45db5f){const _0x307fc3=_0x2b8321;let _0x5edb85=new Set();for(let _0x862930 of _0x558821[_0x307fc3(0x185)]){if(!_0x439b22['includes'](_0x862930[_0x307fc3(0x1ac)])||_0x5edb85[_0x307fc3(0x203)](_0x862930[_0x307fc3(0x1ac)])||_0x862930[_0x307fc3(0x224)][_0x307fc3(0x1be)]!==_0x45db5f)throw new t(_0x307fc3(0x208),'Board\x20capture\x20contains\x20an\x20unexpected\x20page,\x20duplicate\x20page,\x20or\x20source');_0x5edb85[_0x307fc3(0x17a)](_0x862930[_0x307fc3(0x1ac)]);let {errorCount:_0x3b944d,warningCount:_0x2065d8,unresolvedConnectorCount:_0x84871d}=_0x862930[_0x307fc3(0x224)][_0x307fc3(0x202)];if([_0x3b944d,_0x2065d8,_0x84871d][_0x307fc3(0x1ca)](_0x29bf54=>!Number[_0x307fc3(0x205)](_0x29bf54)||_0x29bf54<0x0))throw new t(_0x307fc3(0x208),_0x307fc3(0x1bf));if(_0x3b944d!==_0x862930[_0x307fc3(0x224)][_0x307fc3(0x243)][_0x307fc3(0x20c)](({severity:_0x28dc48})=>_0x28dc48==='error')['length']||_0x2065d8!==_0x862930['analysis'][_0x307fc3(0x243)][_0x307fc3(0x20c)](({severity:_0x17f9ed})=>_0x17f9ed===_0x307fc3(0x217))[_0x307fc3(0x1b4)])throw new t(_0x307fc3(0x208),'Board\x20capture\x20issue\x20counts\x20do\x20not\x20match\x20its\x20summary');if(_0x862930[_0x307fc3(0x224)][_0x307fc3(0x23c)]!==void 0x0&&!s(_0x862930['analysis'][_0x307fc3(0x23c)]))throw new t(_0x307fc3(0x208),_0x307fc3(0x1b3));if(_0x862930[_0x307fc3(0x224)]['labelDistanceInspection']!==void 0x0&&(!a(_0x862930[_0x307fc3(0x224)][_0x307fc3(0x21f)])||!l(_0x862930['analysis'][_0x307fc3(0x21f)][_0x307fc3(0x239)])||_0x862930[_0x307fc3(0x224)][_0x307fc3(0x21f)][_0x307fc3(0x207)]!=='rendered-stroke-polyline-v1'))throw new t(_0x307fc3(0x208),_0x307fc3(0x1a0));for(let _0x218395 of _0x862930[_0x307fc3(0x224)][_0x307fc3(0x243)]){if(_0x218395[_0x307fc3(0x1a8)]!==void 0x0&&(!a(_0x218395['labelDistance'])||!l(_0x218395[_0x307fc3(0x1a8)][_0x307fc3(0x235)])||!l(_0x218395['labelDistance'][_0x307fc3(0x1d1)])))throw new t(_0x307fc3(0x208),_0x307fc3(0x22e));if(_0x218395[_0x307fc3(0x1d3)]!==void 0x0){let _0x378780=_0x218395[_0x307fc3(0x1d3)];if(!_0x378780||![_0x378780[_0x307fc3(0x196)],_0x378780['endRow'],_0x378780[_0x307fc3(0x1b8)],_0x378780['endColumn']][_0x307fc3(0x1df)](_0x23d43c=>Number[_0x307fc3(0x21d)](_0x23d43c)&&_0x23d43c>=0x0)||_0x378780[_0x307fc3(0x196)]>_0x378780['endRow']||_0x378780[_0x307fc3(0x1b8)]>_0x378780[_0x307fc3(0x1b0)])throw new t(_0x307fc3(0x208),_0x307fc3(0x197));}if(_0x218395[_0x307fc3(0x1d2)]!==void 0x0&&(!c(_0x218395[_0x307fc3(0x1d2)]?.['availableSize'],!0x1)||!c(_0x218395['textLayout']?.['contentSize'],!0x0)))throw new t(_0x307fc3(0x208),'Board\x20capture\x20contains\x20invalid\x20text\x20measurements');}}}function a(_0x4335b2){const _0x2ee8da=_0x2b8321;if(!_0x4335b2||typeof _0x4335b2!=_0x2ee8da(0x1b5)||Array['isArray'](_0x4335b2))return!0x1;let _0x17b16f=Object[_0x2ee8da(0x22c)](_0x4335b2);return _0x17b16f===Object['prototype']||_0x17b16f===null;}function o(_0x36e04a){const _0x35db48=_0x2b8321;return a(_0x36e04a)&&c(_0x36e04a,!0x0)&&[_0x36e04a['left'],_0x36e04a[_0x35db48(0x1cb)]][_0x35db48(0x1df)](_0x15ad02=>typeof _0x15ad02==_0x35db48(0x1d4)&&Number['isFinite'](_0x15ad02));}function s(_0x3466c9){const _0xc1941d=_0x2b8321;if(!a(_0x3466c9))return!0x1;for(let [_0x178b78,_0x4175cb]of Object[_0xc1941d(0x1e7)](_0x3466c9)){if(_0x178b78[_0xc1941d(0x232)]()===''||!a(_0x4175cb))return!0x1;for(let [_0x7f0e15,_0xe40acc]of Object[_0xc1941d(0x1e7)](_0x4175cb)){if(_0x7f0e15[_0xc1941d(0x232)]()===''||!a(_0xe40acc))return!0x1;if(_0xe40acc[_0xc1941d(0x223)]==='unresolved'){if(Reflect[_0xc1941d(0x21a)](_0xe40acc)[_0xc1941d(0x1b4)]!==0x1||!Object[_0xc1941d(0x1f9)][_0xc1941d(0x20f)][_0xc1941d(0x1fd)](_0xe40acc,_0xc1941d(0x223)))return!0x1;continue;}if(_0xe40acc['status']!==_0xc1941d(0x1e5)||_0xe40acc[_0xc1941d(0x218)]!==void 0x0&&!u(_0xe40acc['automaticLabelDistance'])||!o(_0xe40acc[_0xc1941d(0x252)])||!o(_0xe40acc[_0xc1941d(0x244)])||typeof _0xe40acc[_0xc1941d(0x1ea)]!=_0xc1941d(0x1d4)||!Number[_0xc1941d(0x1c8)](_0xe40acc[_0xc1941d(0x1ea)])||!a(_0xe40acc[_0xc1941d(0x19c)])||!c(_0xe40acc[_0xc1941d(0x19c)],!0x0)||!a(_0xe40acc[_0xc1941d(0x1a1)])||!c(_0xe40acc[_0xc1941d(0x1a1)],!0x0)||![_0xe40acc[_0xc1941d(0x19a)],_0xe40acc[_0xc1941d(0x1f3)],_0xe40acc[_0xc1941d(0x1c0)]][_0xc1941d(0x1df)](_0x4e7220=>typeof _0x4e7220=='boolean'))return!0x1;}}return!0x0;}function c(_0x92ec8c,_0x26b4b5){const _0x13bbf2=_0x2b8321;if(!_0x92ec8c||typeof _0x92ec8c!=_0x13bbf2(0x1b5))return!0x1;let _0xb6d8bf=_0x92ec8c;return[_0xb6d8bf['width'],_0xb6d8bf[_0x13bbf2(0x221)]][_0x13bbf2(0x1df)](_0x546817=>typeof _0x546817==_0x13bbf2(0x1d4)&&Number[_0x13bbf2(0x1c8)](_0x546817)&&(_0x26b4b5?_0x546817>=0x0:_0x546817>0x0));}function l(_0x5e4c81){const _0x24cbf2=_0x2b8321;return typeof _0x5e4c81=='number'&&Number[_0x24cbf2(0x1c8)](_0x5e4c81)&&_0x5e4c81>=0x0;}function u(_0x1f20b5){const _0x2f7fee=_0x2b8321;return a(_0x1f20b5)?_0x1f20b5['status']===_0x2f7fee(0x1e5)?l(_0x1f20b5[_0x2f7fee(0x254)]):_0x1f20b5[_0x2f7fee(0x223)]==='excluded'?typeof _0x1f20b5[_0x2f7fee(0x1cf)]==_0x2f7fee(0x199)&&[_0x2f7fee(0x19a),_0x2f7fee(0x24a),_0x2f7fee(0x1c6)]['includes'](_0x1f20b5[_0x2f7fee(0x1cf)]):_0x1f20b5[_0x2f7fee(0x223)]==='unresolved'&&Reflect[_0x2f7fee(0x21a)](_0x1f20b5)[_0x2f7fee(0x1b4)]===0x1:!0x1;}function d(_0x1f91d8,_0x3545d5,_0x5dde7a){const _0x3cadf6=_0x2b8321;let _0x52173c=_0x1f91d8[_0x3cadf6(0x21f)];if(_0x52173c===void 0x0)return!0x1;if(_0x52173c[_0x3cadf6(0x239)]!==_0x3545d5)throw new t(_0x3cadf6(0x208),_0x3cadf6(0x1dd));let _0x36a172=_0x1f91d8[_0x3cadf6(0x23c)];if(_0x36a172===void 0x0)return!0x1;let _0x144f40=!0x0;for(let _0x2708f0 of _0x1f91d8[_0x3cadf6(0x17f)]){let _0x2f75a7=_0x5dde7a[_0x2708f0[_0x3cadf6(0x1ba)]];if(!(!_0x2f75a7||!('connectorData'in _0x2f75a7))){for(let _0x476feb of _0x2f75a7[_0x3cadf6(0x1cc)]['labels']??[])Object[_0x3cadf6(0x227)](_0x36a172[_0x2708f0[_0x3cadf6(0x1ba)]]??{},_0x476feb['id'])||(_0x144f40=!0x1);}}for(let [_0x2ea052,_0x4fe7d5]of Object[_0x3cadf6(0x1e7)](_0x36a172))for(let [_0x39eaee,_0x2e1db4]of Object[_0x3cadf6(0x1e7)](_0x4fe7d5)){if(_0x2e1db4[_0x3cadf6(0x223)]===_0x3cadf6(0x17e)||_0x2e1db4[_0x3cadf6(0x218)]===void 0x0){_0x144f40=!0x1;continue;}let _0x1883ab=_0x2e1db4[_0x3cadf6(0x218)];if(_0x1883ab[_0x3cadf6(0x223)]==='unresolved'&&(_0x144f40=!0x1),_0x1883ab['status']===_0x3cadf6(0x204)&&_0x1883ab[_0x3cadf6(0x1cf)]===_0x3cadf6(0x19a)!==_0x2e1db4['empty']||_0x1883ab[_0x3cadf6(0x223)]==='ready'&&_0x2e1db4[_0x3cadf6(0x19a)])throw new t(_0x3cadf6(0x208),_0x3cadf6(0x1af));if(_0x1883ab['status']===_0x3cadf6(0x1e5)&&_0x1883ab['distance']>_0x3545d5+0.001&&!_0x1f91d8[_0x3cadf6(0x243)][_0x3cadf6(0x1ca)](_0x5b15fa=>_0x5b15fa[_0x3cadf6(0x251)]===_0x3cadf6(0x17c)&&_0x5b15fa[_0x3cadf6(0x1b6)][_0x3cadf6(0x184)](_0x2ea052)&&_0x5b15fa[_0x3cadf6(0x211)]?.[_0x3cadf6(0x184)](_0x39eaee)))throw new t('INVALID_RENDER_RESULT','Missing\x20native\x20label-distance\x20finding');}for(let _0x250c32 of _0x1f91d8[_0x3cadf6(0x243)]){if(_0x250c32['rule']!==_0x3cadf6(0x17c)&&_0x250c32['rule']!==_0x3cadf6(0x189))continue;let _0x1ffabf=_0x250c32[_0x3cadf6(0x1b6)][0x0],_0x4bd863=_0x250c32[_0x3cadf6(0x211)]?.[0x0],_0xdbd6bc=_0x1ffabf&&_0x4bd863?_0x36a172[_0x1ffabf]?.[_0x4bd863]:void 0x0,_0x2ccb5d=_0xdbd6bc?.[_0x3cadf6(0x223)]==='ready'?_0xdbd6bc[_0x3cadf6(0x218)]:void 0x0,_0x4be535=_0x250c32[_0x3cadf6(0x251)]===_0x3cadf6(0x17c)?_0x2ccb5d?.['status']===_0x3cadf6(0x1e5)&&_0x2ccb5d[_0x3cadf6(0x254)]>_0x3545d5+0.001&&_0x250c32[_0x3cadf6(0x23e)]==='error'&&_0x250c32['labelDistance']?.[_0x3cadf6(0x235)]===_0x2ccb5d[_0x3cadf6(0x254)]&&_0x250c32[_0x3cadf6(0x1a8)]?.[_0x3cadf6(0x1d1)]===_0x3545d5:_0x2ccb5d?.[_0x3cadf6(0x223)]===_0x3cadf6(0x17e)&&_0x250c32[_0x3cadf6(0x23e)]===_0x3cadf6(0x217)&&_0x250c32[_0x3cadf6(0x1a8)]===void 0x0;if(_0x250c32[_0x3cadf6(0x1b6)][_0x3cadf6(0x1b4)]!==0x1||_0x250c32[_0x3cadf6(0x211)]?.[_0x3cadf6(0x1b4)]!==0x1||!_0x4be535)throw new t('INVALID_RENDER_RESULT',_0x3cadf6(0x240));}return _0x144f40;}function f(_0x48a6c7,_0x25bb36,_0x972f8c,_0x29a403,_0x32e268,_0x381330){const _0x5d4f7e=_0x2b8321;let _0x4e6c56=()=>{const _0x359718=_0xc35f;throw new t(_0x359718(0x208),_0x359718(0x1f5));};(!a(_0x48a6c7)||_0x48a6c7['unitId']!==_0x25bb36||_0x48a6c7[_0x5d4f7e(0x1ac)]!==_0x972f8c||_0x48a6c7[_0x5d4f7e(0x223)]!==_0x5d4f7e(0x1e5)&&_0x48a6c7[_0x5d4f7e(0x223)]!==_0x5d4f7e(0x215)||!Array[_0x5d4f7e(0x233)](_0x48a6c7[_0x5d4f7e(0x183)])||!Array[_0x5d4f7e(0x233)](_0x48a6c7['preconditions']))&&_0x4e6c56();let _0x567a01=new Set(_0x29a403),_0xea2e63=new Set();for(let _0x155bc8 of _0x48a6c7['patches']){(!a(_0x155bc8)||typeof _0x155bc8['elementId']!='string'||!_0x567a01[_0x5d4f7e(0x203)](_0x155bc8['elementId'])||_0xea2e63[_0x5d4f7e(0x203)](_0x155bc8[_0x5d4f7e(0x181)])||_0x32e268[_0x155bc8[_0x5d4f7e(0x181)]]?.['type']!==_0x5d4f7e(0x1e9)||Object[_0x5d4f7e(0x1e2)](_0x155bc8)[_0x5d4f7e(0x1ca)](_0x4dc446=>_0x4dc446!==_0x5d4f7e(0x181)&&_0x4dc446!==_0x5d4f7e(0x22f))||!a(_0x155bc8[_0x5d4f7e(0x22f)]))&&_0x4e6c56();let _0x8ef450=_0x155bc8[_0x5d4f7e(0x22f)],_0x24c401=_0x32e268[_0x155bc8[_0x5d4f7e(0x181)]][_0x5d4f7e(0x22f)];(Object['keys'](_0x8ef450)['some'](_0x322468=>_0x322468!=='width'&&_0x322468!==_0x5d4f7e(0x221))||typeof _0x8ef450[_0x5d4f7e(0x214)]!=_0x5d4f7e(0x1d4)||!Number[_0x5d4f7e(0x1c8)](_0x8ef450[_0x5d4f7e(0x214)])||_0x8ef450[_0x5d4f7e(0x214)]<=0x0||_0x8ef450['width']<(_0x24c401[_0x5d4f7e(0x214)]??0x0)||_0x381330!==void 0x0&&_0x8ef450['width']>(_0x24c401[_0x5d4f7e(0x214)]??0x0)*_0x381330||typeof _0x8ef450[_0x5d4f7e(0x221)]!=_0x5d4f7e(0x1d4)||!Number['isFinite'](_0x8ef450['height'])||_0x8ef450[_0x5d4f7e(0x221)]<=0x0||_0x8ef450[_0x5d4f7e(0x221)]<(_0x24c401[_0x5d4f7e(0x221)]??0x0))&&_0x4e6c56(),_0xea2e63[_0x5d4f7e(0x17a)](_0x155bc8['elementId']);}}var p=0x2,m=0x6,h=0.02,g=0.15,_=0.5,v=new Set([_0x2b8321(0x252),_0x2b8321(0x226)]),y=[_0x2b8321(0x1dc),_0x2b8321(0x24e),_0x2b8321(0x1e6)];function _0x2172(){const _0xeff354=['textPlanElementIds','Invalid\x20label-distance\x20receipt','requiredSize','sha256','3258520TxzlIN','\x20by\x20','slice','round','Unit\x20layout\x20lint\x20supports\x20Slide\x20and\x20Board\x20only','labelDistance','name','text','box','pageId','clean','pageOrder','Contradictory\x20empty-label\x20distance','endColumn','captureBoardLayout','runtime','Board\x20capture\x20contains\x20invalid\x20connector\x20label\x20measurements','length','object','connectorIds','stringify','startColumn','right\x20','connectorId','indexOf','zIndex','labelPlan','source','Board\x20capture\x20contains\x20invalid\x20summary\x20counts','endpointConstrained','Label\x20plan\x20targets\x20an\x20unexpected\x20Unit\x20or\x20page','captureBoardModelLayout','Render\x20result\x20contains\x20unrequested\x20Slide\x20pages','\x20=\x20','Board\x20pageOrder\x20must\x20contain\x20unique\x20page\x20IDs','endpoint-role','textPlanElementIds\x20must\x20select\x20unique\x20non-empty\x20shape\x20IDs\x20on\x20the\x20requested\x20pages','isFinite','unitType','some','top','connectorData','textPlanMaximumWidthGrowth\x20requires\x20selected\x20shape\x20IDs\x20and\x20a\x20finite\x20number\x20from\x201\x20to\x202','pageWidth','reason','216wTBuVD','maximum','textLayout','tableRange','number','preconditions','top\x20','size','220526wxqDvm','values','includePortPlan','code','text-off-page','Label-distance\x20threshold\x20was\x20not\x20echoed','maximumAutomaticLabelDistance\x20must\x20be\x20a\x20finite\x20non-negative\x20number','every','elements','\x20overlaps\x20\x22','keys','37150JLkZSF','layout:','ready','text-overlaps-text','entries','push','shape','angleRadians','UnitLayoutLintError','both','mode','pageHeight','map','10000998AwbIwi','pages\x20must\x20not\x20be\x20empty','throwIfAborted','overflow','ink','Text\x20plan\x20does\x20not\x20match\x20its\x20requested\x20Unit,\x20page\x20or\x20shape-size\x20selection','text-plan-incomplete','layout-plan-unavailable','formulaReferenceUnits','prototype','Layout\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page,\x20status\x20or\x20payload','textPlan','layout-plan-incomplete','call','Board\x20page\x20selector\x20is\x20invalid:\x20','element','text-plan-unavailable','bind','summary','has','excluded','isSafeInteger','Port\x20plans\x20require\x20rendered\x20Board\x20analysis','metric','INVALID_RENDER_RESULT','portPlan','fill','unitId','filter','area','automatic-label-distance-unavailable','hasOwnProperty','unit-layout-lint','labelIds','4cEWxnC','captureSlideLayout','width','incomplete','signal','warning','automaticLabelDistance','slideOrder','ownKeys','board','fingerprint','isInteger','Label\x20plans\x20require\x20rendered\x20Board\x20analysis','labelDistanceInspection','page','height','find','status','analysis','4813991MfxiJA','roundRect','hasOwn','Slide\x20page\x20selector\x20is\x20invalid:\x20','startsWith','INVALID_INPUT','1803234YzQLIH','getPrototypeOf','text\x20\x22','Invalid\x20label-distance\x20evidence','transform','Port\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page\x20or\x20status','model','trim','isArray','right','measured',');\x20ink\x20','slide','shapeType','maximumAutomaticLabelDistance','\x20\x20opacity\x20','max','connectorLabelLayouts','embeddedUnits','severity','get','Contradictory\x20native\x20label-distance\x20finding','2049186uBTnET','opacity','issues','bounds','rendered','unresolved-route','connector-label-layout-unresolved','bottom','Automatic\x20label\x20distance\x20uses\x20the\x20native\x20sampled,\x20marker-trimmed\x20stroke\x20centerline\x20before\x20dash\x20gaps\x20and\x20label\x20clipping;\x20it\x20is\x20not\x20raster-ink\x20distance.','authored-placement','plan','Slide\x20layout\x20runtime\x20is\x20required','elementType','text-escapes-container','localeCompare','runtime-unavailable','rule','rect',',\x20page\x20','distance','Board\x20unitData.id\x20is\x20required','resolved','\x22\x20runs\x20off\x20the\x20page\x20(','add','textPlanMaximumWidthGrowth','connector-label-distance-exceeded','content','unresolved','routes','left','elementId','type','patches','includes','pages','none','includeLabelPlan','findIndex','connector-label-distance-unresolved','port-plan-incomplete','left\x20','unresolvedConnectorCount','replace','unitData','digest','analysis-missing','Board\x20mode\x20must\x20be\x20model,\x20rendered,\x20or\x20both','min','%\x20of\x20the\x20smaller\x20glyph\x20band;\x20ink\x20','Slide\x20unitData.id\x20is\x20required','color','startRow','Board\x20capture\x20contains\x20an\x20invalid\x20table\x20cell\x20range','sort','string','empty','Label\x20distance\x20requires\x20rendered\x20Board\x20analysis','outerSize','layoutPlan','element-text-layout-unresolved'];_0x2172=function(){return _0xeff354;};return _0x2172();}function b(_0x21ddbb){return{async 'lint'(_0x4d5432){const _0x2692a7=_0xc35f;if(_0x4d5432[_0x2692a7(0x1c9)]===_0x2692a7(0x21b))return await r(_0x4d5432,_0x21ddbb);if(_0x4d5432[_0x2692a7(0x1c9)]!==_0x2692a7(0x237))throw new t(_0x2692a7(0x22a),_0x2692a7(0x1a7));if(_0x2692a7(0x239)in _0x4d5432&&_0x4d5432[_0x2692a7(0x239)]!==void 0x0)throw new t('INVALID_INPUT','Label\x20distance\x20is\x20only\x20supported\x20for\x20Board');let _0x4d0ed9=z(_0x4d5432[_0x2692a7(0x18e)]['id']),_0x1095ec=x(_0x4d5432[_0x2692a7(0x18e)][_0x2692a7(0x219)]??[],_0x4d5432[_0x2692a7(0x185)]);if(_0x21ddbb[_0x2692a7(0x1b2)]===void 0x0||!(_0x2692a7(0x213)in _0x21ddbb['runtime']))throw new t('INVALID_INPUT',_0x2692a7(0x24c));let _0x41f865=await _0x21ddbb[_0x2692a7(0x1b2)][_0x2692a7(0x213)]({'unitType':_0x2692a7(0x237),'unitData':_0x4d5432['unitData'],..._0x4d5432[_0x2692a7(0x1f8)]===void 0x0?{}:{'formulaReferenceUnits':_0x4d5432[_0x2692a7(0x1f8)]},'pages':_0x1095ec['map'](({page:_0x42152d})=>_0x42152d),..._0x4d5432[_0x2692a7(0x216)]===void 0x0?{}:{'signal':_0x4d5432[_0x2692a7(0x216)]}});return S(_0x41f865,_0x1095ec),{'kind':_0x2692a7(0x210),'unitId':_0x4d0ed9,'unitType':_0x2692a7(0x237),'coverage':{'pages':_0x1095ec,'rules':y},'findings':C(_0x41f865)};}};}function x(_0x3d6a25,_0xd26d90){const _0x470db7=_0x2b8321;if(_0x3d6a25[_0x470db7(0x1b4)]===0x0)throw new t(_0x470db7(0x22a),'Slide\x20has\x20no\x20pages\x20to\x20lint');if(_0xd26d90!==void 0x0&&_0xd26d90[_0x470db7(0x1b4)]===0x0)throw new t('INVALID_INPUT',_0x470db7(0x1f1));let _0x181fb9=_0xd26d90??_0x3d6a25[_0x470db7(0x1ef)]((_0x4e2b2f,_0x3168a6)=>_0x3168a6+0x1),_0x786110=new Set(),_0x5466b6=[];for(let _0x15647a of _0x181fb9){let _0x228483=typeof _0x15647a==_0x470db7(0x1d4)?_0x15647a:_0x3d6a25[_0x470db7(0x188)](_0xeee160=>_0xeee160===_0x15647a)+0x1;if(!Number[_0x470db7(0x21d)](_0x228483)||_0x228483<0x1||_0x228483>_0x3d6a25[_0x470db7(0x1b4)])throw new t(_0x470db7(0x22a),_0x470db7(0x228)+String(_0x15647a));let _0x29dd48=_0x3d6a25[_0x228483-0x1];_0x786110[_0x470db7(0x203)](_0x29dd48)||(_0x786110[_0x470db7(0x17a)](_0x29dd48),_0x5466b6[_0x470db7(0x1e8)]({'page':_0x228483,'pageId':_0x29dd48}));}return _0x5466b6;}function S(_0x2d278c,_0x3f1ba0){const _0x1b80e0=_0x2b8321;let _0x2c6656=new Map();for(let _0x20ca11 of _0x2d278c[_0x1b80e0(0x185)]){let _0x1f11b4=_0x2c6656[_0x1b80e0(0x23f)](_0x20ca11[_0x1b80e0(0x1ac)])??[];_0x1f11b4[_0x1b80e0(0x1e8)](_0x20ca11),_0x2c6656['set'](_0x20ca11[_0x1b80e0(0x1ac)],_0x1f11b4);}for(let _0x3c0b39 of _0x3f1ba0){let _0x23f878=_0x2c6656[_0x1b80e0(0x23f)](_0x3c0b39['pageId'])??[];if(_0x23f878[_0x1b80e0(0x1b4)]!==0x1||_0x23f878[0x0]?.['page']!==_0x3c0b39[_0x1b80e0(0x220)])throw new t(_0x1b80e0(0x208),'Render\x20result\x20does\x20not\x20contain\x20exactly\x20one\x20matching\x20page\x20'+_0x3c0b39[_0x1b80e0(0x1ac)]);let _0x382040=_0x23f878[0x0]['elements']['map'](({elementId:_0x2aead6})=>_0x2aead6);if(new Set(_0x382040)[_0x1b80e0(0x1d7)]!==_0x382040[_0x1b80e0(0x1b4)])throw new t('INVALID_RENDER_RESULT','Render\x20result\x20contains\x20duplicate\x20element\x20identities\x20on\x20page\x20'+_0x3c0b39['pageId']);}if(_0x2d278c[_0x1b80e0(0x185)][_0x1b80e0(0x1b4)]!==_0x3f1ba0[_0x1b80e0(0x1b4)])throw new t(_0x1b80e0(0x208),_0x1b80e0(0x1c3));}function C(_0x3ac437){const _0x4d5d4a=_0x2b8321;let _0x5efdfc=[];for(let _0x4cf8b9 of _0x3ac437[_0x4d5d4a(0x185)]){let _0x59a7ac=_0x4cf8b9[_0x4d5d4a(0x1e0)][_0x4d5d4a(0x20c)](_0x36770e=>!_0x36770e['elementId'][_0x4d5d4a(0x229)](_0x4d5d4a(0x1e4))),_0x3006b8=_0x59a7ac[_0x4d5d4a(0x20c)](_0x53393d=>_0x53393d[_0x4d5d4a(0x1aa)]!==void 0x0&&_0x53393d[_0x4d5d4a(0x1aa)][_0x4d5d4a(0x17d)][_0x4d5d4a(0x232)]()!=='');for(let _0x52d55b of _0x3006b8){let _0x39d8fe=T(_0x52d55b[_0x4d5d4a(0x1aa)]['ink']),_0x1246e0={..._0x39d8fe[_0x4d5d4a(0x180)]<-0x2?{'left':O(-_0x39d8fe[_0x4d5d4a(0x180)])}:{},..._0x39d8fe[_0x4d5d4a(0x1cb)]<-0x2?{'top':O(-_0x39d8fe['top'])}:{},..._0x39d8fe[_0x4d5d4a(0x234)]>_0x4cf8b9['pageWidth']+p?{'right':O(_0x39d8fe[_0x4d5d4a(0x234)]-_0x4cf8b9['pageWidth'])}:{},..._0x39d8fe[_0x4d5d4a(0x248)]>_0x4cf8b9[_0x4d5d4a(0x1ee)]+p?{'bottom':O(_0x39d8fe['bottom']-_0x4cf8b9[_0x4d5d4a(0x1ee)])}:{}},_0x32c96f=R(_0x1246e0);if(_0x32c96f!=='-'){let _0x58471f=j(_0x52d55b),_0x51b2e6=A({'left':0x0,'top':0x0,'width':_0x4cf8b9[_0x4d5d4a(0x1ce)],'height':_0x4cf8b9[_0x4d5d4a(0x1ee)]});_0x5efdfc[_0x4d5d4a(0x1e8)](w({'page':_0x4cf8b9[_0x4d5d4a(0x220)],'pageId':_0x4cf8b9[_0x4d5d4a(0x1ac)],'rule':_0x4d5d4a(0x1dc),'id':_0x52d55b[_0x4d5d4a(0x181)],'text':_0x58471f,'pageBox':_0x51b2e6,'overflow':_0x1246e0,'detail':_0x4d5d4a(0x22d)+k(_0x58471f[_0x4d5d4a(0x17d)])+_0x4d5d4a(0x179)+_0x32c96f+_0x4d5d4a(0x236)+F(_0x58471f[_0x4d5d4a(0x1f4)])+_0x4d5d4a(0x253)+F(_0x51b2e6)}));}}for(let _0x5cf749 of _0x3006b8){let _0x4506f6=L(_0x5cf749,_0x59a7ac,_0x4cf8b9);if(_0x4506f6===void 0x0)continue;let _0x589ccf=T(_0x5cf749['text'][_0x4d5d4a(0x1f4)]),_0x3c164d=T(_0x4506f6['declared']),_0x5c0893=Math[_0x4d5d4a(0x23b)](m,h*(_0x3c164d[_0x4d5d4a(0x234)]-_0x3c164d[_0x4d5d4a(0x180)])),_0x3eb3f4={..._0x3c164d[_0x4d5d4a(0x180)]-_0x589ccf[_0x4d5d4a(0x180)]>_0x5c0893?{'left':O(_0x3c164d['left']-_0x589ccf['left'])}:{},..._0x589ccf['right']-_0x3c164d[_0x4d5d4a(0x234)]>_0x5c0893?{'right':O(_0x589ccf[_0x4d5d4a(0x234)]-_0x3c164d[_0x4d5d4a(0x234)])}:{},..._0x589ccf['bottom']-_0x3c164d[_0x4d5d4a(0x248)]>_0x5c0893?{'bottom':O(_0x589ccf['bottom']-_0x3c164d[_0x4d5d4a(0x248)])}:{}},_0x278c87=R(_0x3eb3f4);if(_0x278c87!=='-'){let _0x446da7=j(_0x5cf749),_0x3c4003=N(_0x4506f6);_0x5efdfc[_0x4d5d4a(0x1e8)](w({'page':_0x4cf8b9['page'],'pageId':_0x4cf8b9['pageId'],'rule':_0x4d5d4a(0x24e),'id':_0x5cf749['elementId'],'related':_0x4506f6[_0x4d5d4a(0x181)],'text':_0x446da7,'container':_0x3c4003,'overflow':_0x3eb3f4,'detail':_0x4d5d4a(0x22d)+k(_0x446da7['content'])+'\x22\x20escapes\x20'+_0x3c4003['id']+'\x20('+_0x278c87+_0x4d5d4a(0x236)+F(_0x446da7[_0x4d5d4a(0x1f4)])+',\x20'+_0x3c4003['id']+_0x4d5d4a(0x1c4)+_0x3c4003[_0x4d5d4a(0x182)]+'\x20'+P(_0x3c4003['fill'])+'\x20'+F(_0x3c4003[_0x4d5d4a(0x1ab)])}));}}for(let _0x5c31d4=0x0;_0x5c31d4<_0x3006b8[_0x4d5d4a(0x1b4)];_0x5c31d4+=0x1)for(let _0x4106cd=_0x5c31d4+0x1;_0x4106cd<_0x3006b8[_0x4d5d4a(0x1b4)];_0x4106cd+=0x1){let _0xc019f4=_0x3006b8[_0x5c31d4],_0x520fe3=_0x3006b8[_0x4106cd],_0x58880a=T(_0xc019f4[_0x4d5d4a(0x1aa)]['ink']),_0x3336af=T(_0x520fe3[_0x4d5d4a(0x1aa)][_0x4d5d4a(0x1f4)]),_0xdd8a35=E(D(_0x58880a,_0x3336af));if(_0xdd8a35<=0x1)continue;let _0x2b2194=_0xdd8a35/Math[_0x4d5d4a(0x23b)](0x1,Math[_0x4d5d4a(0x192)](E(_0x58880a),E(_0x3336af)));if(_0x2b2194<=g)continue;let _0x3d7929=j(_0xc019f4),_0x2da3e2=j(_0x520fe3);_0x5efdfc[_0x4d5d4a(0x1e8)](w({'page':_0x4cf8b9[_0x4d5d4a(0x220)],'pageId':_0x4cf8b9[_0x4d5d4a(0x1ac)],'rule':'text-overlaps-text','id':_0xc019f4[_0x4d5d4a(0x181)],'related':_0x520fe3[_0x4d5d4a(0x181)],'text':_0x3d7929,'other':_0x2da3e2,'overlapRatio':Math[_0x4d5d4a(0x1a6)](_0x2b2194*0x64)/0x64,'detail':_0x4d5d4a(0x22d)+k(_0x3d7929['content'])+'\x22'+M(_0x3d7929)+_0x4d5d4a(0x1e1)+k(_0x2da3e2[_0x4d5d4a(0x17d)])+'\x22'+M(_0x2da3e2)+_0x4d5d4a(0x1a4)+Math[_0x4d5d4a(0x1a6)](_0x2b2194*0x64)+_0x4d5d4a(0x193)+F(_0x3d7929[_0x4d5d4a(0x1f4)])+',\x20'+F(_0x2da3e2[_0x4d5d4a(0x1f4)])}));}}return _0x5efdfc[_0x4d5d4a(0x198)]((_0xda3c3b,_0x381980)=>_0xda3c3b[_0x4d5d4a(0x21c)][_0x4d5d4a(0x24f)](_0x381980[_0x4d5d4a(0x21c)]));}function w(_0x3b86c8){const _0x205599=_0x2b8321;return{..._0x3b86c8,'fingerprint':[_0x3b86c8[_0x205599(0x251)],_0x3b86c8[_0x205599(0x1ac)],_0x3b86c8['id'],_0x3b86c8['related']??'']['join'](':'),'severity':_0x205599(0x217)};}function T(_0x5a8994){const _0x50e3ab=_0x2b8321;return{'left':_0x5a8994[_0x50e3ab(0x180)],'top':_0x5a8994[_0x50e3ab(0x1cb)],'right':_0x5a8994[_0x50e3ab(0x180)]+_0x5a8994[_0x50e3ab(0x214)],'bottom':_0x5a8994[_0x50e3ab(0x1cb)]+_0x5a8994[_0x50e3ab(0x221)]};}function E(_0x3d6b4b){const _0x24062c=_0x2b8321;return Math['max'](0x0,_0x3d6b4b[_0x24062c(0x234)]-_0x3d6b4b[_0x24062c(0x180)])*Math[_0x24062c(0x23b)](0x0,_0x3d6b4b[_0x24062c(0x248)]-_0x3d6b4b[_0x24062c(0x1cb)]);}function D(_0x316f4a,_0x508f64){const _0x1f819b=_0x2b8321;return{'left':Math[_0x1f819b(0x23b)](_0x316f4a[_0x1f819b(0x180)],_0x508f64['left']),'top':Math['max'](_0x316f4a['top'],_0x508f64[_0x1f819b(0x1cb)]),'right':Math[_0x1f819b(0x192)](_0x316f4a[_0x1f819b(0x234)],_0x508f64[_0x1f819b(0x234)]),'bottom':Math[_0x1f819b(0x192)](_0x316f4a[_0x1f819b(0x248)],_0x508f64['bottom'])};}function O(_0x487604){const _0x30563d=_0x2b8321;return Math[_0x30563d(0x1a6)](_0x487604);}function k(_0x403258){const _0x37180d=_0x2b8321;let _0x440986=_0x403258[_0x37180d(0x18d)](/\s+/gu,'\x20')['trim']();return _0x440986[_0x37180d(0x1b4)]<=0x10?_0x440986:_0x440986[_0x37180d(0x1a5)](0x0,0x10)+'…';}function A(_0x506e73){const _0x163ef1=_0x2b8321;return{'left':O(_0x506e73[_0x163ef1(0x180)]),'top':O(_0x506e73['top']),'width':O(_0x506e73[_0x163ef1(0x214)]),'height':O(_0x506e73[_0x163ef1(0x221)])};}function j(_0x3df76a){const _0x2a04f1=_0x2b8321;let _0x5a9029=_0x3df76a[_0x2a04f1(0x1aa)];return{'id':_0x3df76a[_0x2a04f1(0x181)],'content':_0x5a9029[_0x2a04f1(0x17d)],'ink':A(_0x5a9029[_0x2a04f1(0x1f4)]),..._0x5a9029[_0x2a04f1(0x195)]===void 0x0?{}:{'color':_0x5a9029[_0x2a04f1(0x195)]},..._0x5a9029[_0x2a04f1(0x242)]===void 0x0?{}:{'opacity':_0x5a9029[_0x2a04f1(0x242)]}};}function M(_0x3a5246){const _0x445b3f=_0x2b8321;return _0x3a5246[_0x445b3f(0x195)]===void 0x0&&_0x3a5246[_0x445b3f(0x242)]===void 0x0?'':''+(_0x3a5246[_0x445b3f(0x195)]===void 0x0?'':'\x20\x20'+_0x3a5246[_0x445b3f(0x195)])+(_0x3a5246[_0x445b3f(0x242)]===void 0x0?'':_0x445b3f(0x23a)+_0x3a5246[_0x445b3f(0x242)]);}function N(_0x415313){const _0x4c9f85=_0x2b8321;return{'id':_0x415313['elementId'],'type':_0x415313['shapeType']===void 0x0?_0x415313[_0x4c9f85(0x24d)]:_0x415313['elementType']+':'+_0x415313[_0x4c9f85(0x238)],..._0x415313[_0x4c9f85(0x20a)]===void 0x0?{}:{'fill':_0x415313[_0x4c9f85(0x20a)]},'box':A(_0x415313['declared'])};}function P(_0x37f075){const _0x10846e=_0x2b8321;if(_0x37f075===void 0x0)return'no\x20fill';let _0x164897=_0x37f075['opacity']===void 0x0||_0x37f075[_0x10846e(0x242)]===0x1?'':'\x20@'+_0x37f075['opacity'];return((_0x37f075['type']??'?')+'\x20'+(_0x37f075[_0x10846e(0x195)]??'')+_0x164897)[_0x10846e(0x232)]();}function F(_0x33f7a7){const _0x1a1a9d=_0x2b8321;return'('+_0x33f7a7['left']+','+_0x33f7a7[_0x1a1a9d(0x1cb)]+'\x20'+_0x33f7a7[_0x1a1a9d(0x214)]+'×'+_0x33f7a7[_0x1a1a9d(0x221)]+')';}function I(_0x51be74){const _0x177daa=_0x2b8321;let _0x4f520e=_0x51be74[_0x177daa(0x20a)];return!(_0x4f520e===void 0x0||_0x4f520e[_0x177daa(0x182)]===_0x177daa(0x186)||_0x4f520e[_0x177daa(0x242)]!==void 0x0&&_0x4f520e[_0x177daa(0x242)]<_||_0x51be74[_0x177daa(0x238)]===void 0x0||!v[_0x177daa(0x203)](_0x51be74[_0x177daa(0x238)])||_0x51be74['visible']===!0x1);}function L(_0x2c45ea,_0x10468c,_0x31a3a7){const _0x18a7f4=_0x2b8321;let _0x280a34=T(_0x2c45ea[_0x18a7f4(0x1aa)][_0x18a7f4(0x1f4)]),_0x5bb9fa;for(let _0xfd3eaf of _0x10468c){if(_0xfd3eaf['zIndex']>=_0x2c45ea[_0x18a7f4(0x1bc)]||!I(_0xfd3eaf))continue;let _0x4496c9=T(_0xfd3eaf['declared']),_0x5916d8=E(_0x4496c9);if(_0x5916d8>=0.5*_0x31a3a7[_0x18a7f4(0x1ce)]*_0x31a3a7[_0x18a7f4(0x1ee)])continue;let _0x582c3f=_0x280a34[_0x18a7f4(0x1cb)]>=_0x4496c9[_0x18a7f4(0x1cb)]-p&&_0x280a34['bottom']<=_0x4496c9['bottom']+p,_0x5f1292=_0x280a34['left']>=_0x4496c9[_0x18a7f4(0x180)]-p&&_0x280a34['left']<=_0x4496c9[_0x18a7f4(0x234)]+p&&_0x280a34[_0x18a7f4(0x1cb)]>=_0x4496c9['top']-p,_0x58f939=E(D(_0x280a34,_0x4496c9))/Math[_0x18a7f4(0x23b)](E(_0x280a34),0x1);!_0x582c3f||!_0x5f1292||_0x58f939<0.35||(_0x5bb9fa===void 0x0||_0x5916d8<_0x5bb9fa[_0x18a7f4(0x20d)])&&(_0x5bb9fa={'element':_0xfd3eaf,'area':_0x5916d8});}return _0x5bb9fa?.[_0x18a7f4(0x1ff)];}function R(_0x25d0cb){const _0x35d395=_0x2b8321;let _0x3c355f=[_0x25d0cb[_0x35d395(0x180)]===void 0x0?'':_0x35d395(0x18b)+_0x25d0cb[_0x35d395(0x180)]+'px',_0x25d0cb['top']===void 0x0?'':_0x35d395(0x1d6)+_0x25d0cb[_0x35d395(0x1cb)]+'px',_0x25d0cb[_0x35d395(0x234)]===void 0x0?'':_0x35d395(0x1b9)+_0x25d0cb[_0x35d395(0x234)]+'px',_0x25d0cb[_0x35d395(0x248)]===void 0x0?'':'bottom\x20'+_0x25d0cb[_0x35d395(0x248)]+'px'][_0x35d395(0x20c)](_0x23aeb3=>_0x23aeb3!=='');return _0x3c355f['length']===0x0?'-':_0x3c355f['join'](',\x20');}function z(_0x4c8c75){const _0xc947d4=_0x2b8321;if(typeof _0x4c8c75!=_0xc947d4(0x199)||_0x4c8c75[_0xc947d4(0x232)]()==='')throw new t(_0xc947d4(0x22a),_0xc947d4(0x194));return _0x4c8c75;}function _0xc35f(_0x280c09,_0x1d48e1){_0x280c09=_0x280c09-0x177;const _0x217274=_0x2172();let _0xc35fec=_0x217274[_0x280c09];return _0xc35fec;}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.0",
|
|
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.0"
|
|
22
22
|
}
|
|
23
23
|
}
|