@univer-cli/unit-layout-lint 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x3c171c=_0xdb3e;(function(_0x165b91,_0x469788){const _0x45e616=_0xdb3e,_0x2f4a8e=_0x165b91();while(!![]){try{const _0x3a7842=-parseInt(_0x45e616(0x148))/0x1+parseInt(_0x45e616(0x155))/0x2*(parseInt(_0x45e616(0x134))/0x3)+-parseInt(_0x45e616(0x15b))/0x4+parseInt(_0x45e616(0x16e))/0x5+-parseInt(_0x45e616(0x184))/0x6+-parseInt(_0x45e616(0x11f))/0x7*(parseInt(_0x45e616(0xdf))/0x8)+-parseInt(_0x45e616(0x151))/0x9*(-parseInt(_0x45e616(0x129))/0xa);if(_0x3a7842===_0x469788)break;else _0x2f4a8e['push'](_0x2f4a8e['shift']());}catch(_0x4df435){_0x2f4a8e['push'](_0x2f4a8e['shift']());}}}(_0x861a,0x9d414));import{createHash as _0xf61454}from'node:crypto';var t=class extends Error{[_0x3c171c(0xaf)];constructor(_0x537a8f,_0x3fa487,_0x260fb2){const _0x53b680=_0x3c171c;super(_0x3fa487,_0x260fb2),this['name']=_0x53b680(0x13d),this['code']=_0x537a8f;}};function n(_0x395bed){return _0x395bed instanceof t;}async function r(_0x32c35d,_0xd1ab51){const _0x197b0d=_0x3c171c;if(typeof _0x32c35d[_0x197b0d(0x127)]['id']!=_0x197b0d(0x165)||_0x32c35d[_0x197b0d(0x127)]['id'][_0x197b0d(0xe5)]()==='')throw new t(_0x197b0d(0xad),_0x197b0d(0xe9));let _0x2e5164=_0x32c35d[_0x197b0d(0xb0)]??'both';if(_0x2e5164!==_0x197b0d(0xb6)&&_0x2e5164!==_0x197b0d(0xe3)&&_0x2e5164!==_0x197b0d(0xff))throw new t(_0x197b0d(0xad),_0x197b0d(0xc3));if(_0x32c35d['layoutPlan']!==void 0x0&&(_0x2e5164==='model'||_0x32c35d[_0x197b0d(0x11e)]||_0x32c35d[_0x197b0d(0x156)]||_0x32c35d['textPlanElementIds']!==void 0x0))throw new t(_0x197b0d(0xad),_0x197b0d(0x122));if(_0x32c35d['includeLabelPlan']===!0x0&&_0x2e5164===_0x197b0d(0xb6))throw new t('INVALID_INPUT',_0x197b0d(0x175));if(_0x32c35d[_0x197b0d(0x156)]===!0x0&&_0x2e5164===_0x197b0d(0xb6))throw new t(_0x197b0d(0xad),_0x197b0d(0x16f));if(_0x32c35d['textPlanElementIds']!==void 0x0&&_0x2e5164===_0x197b0d(0xb6))throw new t(_0x197b0d(0xad),'Text\x20plans\x20require\x20rendered\x20Board\x20analysis');let _0x5dc9ea=_0x32c35d[_0x197b0d(0x118)];if(_0x5dc9ea!==void 0x0&&!l(_0x5dc9ea))throw new t(_0x197b0d(0xad),_0x197b0d(0xc7));if(_0x5dc9ea!==void 0x0&&_0x2e5164===_0x197b0d(0xb6))throw new t(_0x197b0d(0xad),'Label\x20distance\x20requires\x20rendered\x20Board\x20analysis');let _0x2d2a82=_0x32c35d['unitData'][_0x197b0d(0x181)];if(!Array[_0x197b0d(0x161)](_0x2d2a82)||_0x2d2a82[_0x197b0d(0x116)]===0x0||new Set(_0x2d2a82)[_0x197b0d(0xd7)]!==_0x2d2a82[_0x197b0d(0x116)])throw new t('INVALID_INPUT',_0x197b0d(0xba));if(_0x32c35d[_0x197b0d(0xb1)]?.[_0x197b0d(0x116)]===0x0)throw new t(_0x197b0d(0xad),_0x197b0d(0xe2));let _0x1d87df=[...new Set((_0x32c35d[_0x197b0d(0xb1)]??_0x2d2a82)[_0x197b0d(0xd1)](_0x305068=>{const _0x4c79d6=_0x197b0d;let _0x57abe8=typeof _0x305068==_0x4c79d6(0xb7)?_0x305068-0x1:_0x2d2a82['indexOf'](_0x305068),_0x5c58e2=_0x2d2a82[_0x57abe8];if(!Number[_0x4c79d6(0x112)](_0x57abe8)||_0x57abe8<0x0||_0x5c58e2===void 0x0||!_0x32c35d[_0x4c79d6(0x127)][_0x4c79d6(0xb1)][_0x5c58e2])throw new t(_0x4c79d6(0xad),_0x4c79d6(0xc5)+String(_0x305068));return _0x5c58e2;}))]['map'](_0x1af81f=>({'page':_0x2d2a82['indexOf'](_0x1af81f)+0x1,'pageId':_0x1af81f})),_0x31046a=_0x32c35d[_0x197b0d(0xf0)];if(_0x31046a!==void 0x0&&(!Array[_0x197b0d(0x161)](_0x31046a)||_0x31046a[_0x197b0d(0x16d)](_0x23d550=>typeof _0x23d550!='string'||_0x23d550['trim']()==='')||new Set(_0x31046a)[_0x197b0d(0xd7)]!==_0x31046a[_0x197b0d(0x116)]||_0x31046a[_0x197b0d(0x16d)](_0x44a324=>!_0x1d87df[_0x197b0d(0x16d)](({pageId:_0x613a79})=>_0x32c35d[_0x197b0d(0x127)][_0x197b0d(0xb1)][_0x613a79]?.['elements'][_0x44a324]?.[_0x197b0d(0x102)]===_0x197b0d(0x150)))))throw new t(_0x197b0d(0xad),_0x197b0d(0x100));let _0x4baa46=_0x32c35d[_0x197b0d(0x10e)];if(_0x4baa46!==void 0x0&&(!Number['isFinite'](_0x4baa46)||_0x4baa46<0x1||_0x4baa46>0x2||!_0x31046a?.['length']))throw new t(_0x197b0d(0xad),_0x197b0d(0x14b));let _0x64daf2=structuredClone({'unitType':_0x32c35d[_0x197b0d(0xb2)],'unitData':_0x32c35d[_0x197b0d(0x127)],..._0x32c35d[_0x197b0d(0xda)]===void 0x0?{}:{'formulaReferenceUnits':_0x32c35d['formulaReferenceUnits']},..._0x32c35d['embeddedUnits']===void 0x0?{}:{'embeddedUnits':_0x32c35d[_0x197b0d(0x15c)]},'pages':_0x1d87df[_0x197b0d(0xd1)](({pageId:_0xc2210e})=>_0xc2210e),'focusPadding':0x30,..._0x5dc9ea===void 0x0?{}:{'maximumAutomaticLabelDistance':_0x5dc9ea},..._0x32c35d['layoutPlan']===void 0x0?{}:{'layoutPlan':_0x32c35d[_0x197b0d(0x114)]},..._0x32c35d[_0x197b0d(0x11e)]===!0x0?{'includeLabelPlan':!0x0}:{},..._0x32c35d[_0x197b0d(0x156)]===!0x0?{'includePortPlan':!0x0}:{},..._0x31046a===void 0x0?{}:{'textPlanElementIds':_0x31046a},..._0x4baa46===void 0x0?{}:{'textPlanMaximumWidthGrowth':_0x4baa46}}),_0x5713=_0xf61454(_0x197b0d(0x115))[_0x197b0d(0x162)](JSON[_0x197b0d(0xeb)](_0x64daf2))[_0x197b0d(0x17d)]('hex'),_0x525d60=_0x2e5164==='both'?[_0x197b0d(0xb6),_0x197b0d(0xe3)]:[_0x2e5164],_0x2b4941=[],_0x12051e=_0x1d87df[_0x197b0d(0xd1)](_0x2541ca=>({..._0x2541ca})),_0x2563c1=[];for(let _0x3d314c of _0x525d60){_0x32c35d[_0x197b0d(0xcd)]?.[_0x197b0d(0x15f)]();let _0x533ff4=_0x3d314c===_0x197b0d(0xb6)?_0xd1ab51[_0x197b0d(0x145)]?.[_0x197b0d(0x177)]['bind'](_0xd1ab51[_0x197b0d(0x145)]):_0xd1ab51[_0x197b0d(0xc6)]!==void 0x0&&_0x197b0d(0xcc)in _0xd1ab51[_0x197b0d(0xc6)]?_0xd1ab51[_0x197b0d(0xc6)][_0x197b0d(0xcc)][_0x197b0d(0xf3)](_0xd1ab51[_0x197b0d(0xc6)]):void 0x0;if(_0x533ff4===void 0x0){for(let {pageId:_0x2ec64e}of _0x1d87df)_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x2ec64e,'source':_0x3d314c,'reason':_0x197b0d(0xdd)});continue;}let _0x146f01=structuredClone(_0x64daf2);_0x3d314c==='model'&&(delete _0x146f01['includePortPlan'],delete _0x146f01[_0x197b0d(0x114)],delete _0x146f01[_0x197b0d(0x118)],delete _0x146f01[_0x197b0d(0xf0)],delete _0x146f01[_0x197b0d(0x10e)]);let _0x216846=await _0x533ff4({..._0x146f01,..._0x32c35d[_0x197b0d(0xcd)]===void 0x0?{}:{'signal':_0x32c35d[_0x197b0d(0xcd)]}});_0x32c35d[_0x197b0d(0xcd)]?.[_0x197b0d(0x15f)](),i(_0x216846,_0x1d87df['map'](({pageId:_0x1aa5f9})=>_0x1aa5f9),_0x3d314c);for(let _0x42fcc5 of _0x12051e){let _0x59cf99=_0x216846['pages']['find'](({pageId:_0x2075fd})=>_0x2075fd===_0x42fcc5[_0x197b0d(0x126)]),_0x14330c=_0x59cf99?.[_0x197b0d(0x124)];if(_0x14330c===void 0x0){_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':'analysis-missing'});continue;}if(_0x42fcc5[_0x3d314c]=_0x14330c,_0x3d314c===_0x197b0d(0xe3)&&_0x5dc9ea!==void 0x0&&!d(_0x14330c,_0x5dc9ea,_0x64daf2[_0x197b0d(0x127)][_0x197b0d(0xb1)][_0x42fcc5[_0x197b0d(0x126)]][_0x197b0d(0x12a)])&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':_0x197b0d(0xef)}),_0x3d314c===_0x197b0d(0xe3)&&_0x64daf2[_0x197b0d(0x114)]!==void 0x0){let _0x5e7ddf=_0x59cf99?.['plan'];if(_0x5e7ddf===void 0x0)_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':_0x197b0d(0xbb)});else{if(!a(_0x5e7ddf)||_0x5e7ddf[_0x197b0d(0x13b)]!==_0x32c35d['unitData']['id']||_0x5e7ddf[_0x197b0d(0x126)]!==_0x42fcc5[_0x197b0d(0x126)]||_0x5e7ddf[_0x197b0d(0xfd)]!=='ready'&&_0x5e7ddf[_0x197b0d(0xfd)]!==_0x197b0d(0xbf)||!Array['isArray'](_0x5e7ddf[_0x197b0d(0x144)])||!Array[_0x197b0d(0x161)](_0x5e7ddf[_0x197b0d(0x119)])||!Array[_0x197b0d(0x161)](_0x5e7ddf[_0x197b0d(0xd6)]))throw new t(_0x197b0d(0x159),_0x197b0d(0x17a));_0x42fcc5[_0x197b0d(0xb9)]=_0x5e7ddf,_0x5e7ddf[_0x197b0d(0xfd)]==='incomplete'&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':_0x197b0d(0xe0)});}}if(_0x3d314c===_0x197b0d(0xe3)&&_0x32c35d[_0x197b0d(0x11e)]===!0x0){if(_0x59cf99?.[_0x197b0d(0xf1)]===void 0x0)_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':'label-plan-unavailable'});else{if(_0x59cf99[_0x197b0d(0xf1)][_0x197b0d(0x13b)]!==_0x32c35d[_0x197b0d(0x127)]['id']||_0x59cf99[_0x197b0d(0xf1)][_0x197b0d(0x126)]!==_0x42fcc5[_0x197b0d(0x126)])throw new t(_0x197b0d(0x159),_0x197b0d(0x167));_0x42fcc5['labelPlan']=_0x59cf99[_0x197b0d(0xf1)];}}if(_0x3d314c===_0x197b0d(0xe3)&&_0x32c35d[_0x197b0d(0x156)]===!0x0){if(_0x59cf99?.['portPlan']===void 0x0)_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':_0x197b0d(0xe4)});else{if(_0x59cf99[_0x197b0d(0xf2)][_0x197b0d(0x13b)]!==_0x32c35d[_0x197b0d(0x127)]['id']||_0x59cf99[_0x197b0d(0xf2)]['pageId']!==_0x42fcc5[_0x197b0d(0x126)]||_0x59cf99[_0x197b0d(0xf2)]['status']!==_0x197b0d(0x15a)&&_0x59cf99[_0x197b0d(0xf2)][_0x197b0d(0xfd)]!=='incomplete')throw new t('INVALID_RENDER_RESULT','Port\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page\x20or\x20status');_0x42fcc5[_0x197b0d(0xf2)]=_0x59cf99[_0x197b0d(0xf2)],_0x59cf99[_0x197b0d(0xf2)][_0x197b0d(0xfd)]==='incomplete'&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':_0x197b0d(0xa7)});}}_0x3d314c===_0x197b0d(0xe3)&&_0x64daf2[_0x197b0d(0xf0)]!==void 0x0&&(_0x59cf99?.[_0x197b0d(0xfa)]===void 0x0?_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5['pageId'],'source':_0x3d314c,'reason':_0x197b0d(0x16a)}):(f(_0x59cf99['textPlan'],_0x32c35d[_0x197b0d(0x127)]['id'],_0x42fcc5[_0x197b0d(0x126)],_0x64daf2[_0x197b0d(0xf0)],_0x64daf2[_0x197b0d(0x127)][_0x197b0d(0xb1)][_0x42fcc5[_0x197b0d(0x126)]][_0x197b0d(0x12a)],_0x64daf2[_0x197b0d(0x10e)]),_0x42fcc5[_0x197b0d(0xfa)]=_0x59cf99[_0x197b0d(0xfa)],_0x59cf99[_0x197b0d(0xfa)][_0x197b0d(0xfd)]==='incomplete'&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x42fcc5[_0x197b0d(0x126)],'source':_0x3d314c,'reason':'text-plan-incomplete'})));for(let _0x28eb1b of _0x14330c[_0x197b0d(0x147)])_0x2563c1[_0x197b0d(0x17b)]({..._0x28eb1b,'page':_0x42fcc5['page'],'pageId':_0x42fcc5['pageId'],'source':_0x3d314c,'fingerprint':_0x3d314c+':'+_0x42fcc5['pageId']+':'+_0x28eb1b[_0x197b0d(0x12d)]+':'+_0x28eb1b['id']});}}for(let _0x3c63b2 of _0x12051e){let _0x1352dc=_0x2e5164===_0x197b0d(0xb6)?_0x197b0d(0xb6):_0x197b0d(0xe3),_0x2d8523=_0x3c63b2[_0x1352dc];(_0x2d8523?.[_0x197b0d(0x14e)][_0x197b0d(0xfc)]||_0x2d8523?.['routes'][_0x197b0d(0x16d)](_0x482ff0=>!_0x482ff0[_0x197b0d(0x164)]))&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x3c63b2[_0x197b0d(0x126)],'source':_0x1352dc,'reason':_0x197b0d(0x123)}),(_0x2d8523?.['issues'][_0x197b0d(0x16d)](_0x39a8a9=>_0x39a8a9[_0x197b0d(0x12d)]===_0x197b0d(0x12e))||Object[_0x197b0d(0x103)](_0x2d8523?.['connectorLabelLayouts']??{})[_0x197b0d(0x16d)](_0x3a5b72=>Object[_0x197b0d(0x103)](_0x3a5b72)[_0x197b0d(0x16d)](_0x176846=>_0x176846[_0x197b0d(0xfd)]==='unresolved')))&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x3c63b2[_0x197b0d(0x126)],'source':_0x1352dc,'reason':_0x197b0d(0xb8)}),_0x2d8523?.[_0x197b0d(0x147)][_0x197b0d(0x16d)](_0x41b452=>_0x41b452[_0x197b0d(0x12d)]===_0x197b0d(0x172))&&_0x2b4941[_0x197b0d(0x17b)]({'pageId':_0x3c63b2[_0x197b0d(0x126)],'source':_0x1352dc,'reason':_0x197b0d(0x13e)});}return{'kind':_0x197b0d(0x17c),'unitId':_0x32c35d['unitData']['id'],'unitType':_0x197b0d(0xf8),'mode':_0x2e5164,'snapshotHash':_0x5713,'status':_0x2b4941[_0x197b0d(0x116)]>0x0?_0x197b0d(0xbf):_0x2563c1[_0x197b0d(0x116)]>0x0?_0x197b0d(0xfe):_0x197b0d(0x10b),'coverage':{'pages':_0x1d87df,'sources':_0x525d60,'complete':_0x2b4941[_0x197b0d(0x116)]===0x0,'incomplete':_0x2b4941,'limitations':_0x2e5164===_0x197b0d(0xb6)?[_0x197b0d(0xa6)]:_0x5dc9ea===void 0x0?[]:['Automatic\x20label\x20distance\x20uses\x20the\x20native\x20sampled,\x20marker-trimmed\x20stroke\x20centerline\x20before\x20dash\x20gaps\x20and\x20label\x20clipping;\x20it\x20is\x20not\x20raster-ink\x20distance.']},'analyses':_0x12051e,'findings':_0x2563c1};}function i(_0x58c4cf,_0xe43633,_0x2b5a30){const _0x329365=_0x3c171c;let _0x396db7=new Set();for(let _0x14129c of _0x58c4cf[_0x329365(0xb1)]){if(!_0xe43633[_0x329365(0x136)](_0x14129c[_0x329365(0x126)])||_0x396db7[_0x329365(0xaa)](_0x14129c[_0x329365(0x126)])||_0x14129c[_0x329365(0x124)]['source']!==_0x2b5a30)throw new t(_0x329365(0x159),_0x329365(0x128));_0x396db7[_0x329365(0xdb)](_0x14129c['pageId']);let {errorCount:_0x47153d,warningCount:_0x24c2e1,unresolvedConnectorCount:_0x410e8e}=_0x14129c[_0x329365(0x124)]['summary'];if([_0x47153d,_0x24c2e1,_0x410e8e][_0x329365(0x16d)](_0xb5d809=>!Number['isSafeInteger'](_0xb5d809)||_0xb5d809<0x0))throw new t(_0x329365(0x159),_0x329365(0xf9));if(_0x47153d!==_0x14129c['analysis'][_0x329365(0x147)][_0x329365(0x14d)](({severity:_0x4803da})=>_0x4803da===_0x329365(0x188))[_0x329365(0x116)]||_0x24c2e1!==_0x14129c[_0x329365(0x124)][_0x329365(0x147)][_0x329365(0x14d)](({severity:_0x15e2e3})=>_0x15e2e3===_0x329365(0x130))[_0x329365(0x116)])throw new t(_0x329365(0x159),_0x329365(0xe7));if(_0x14129c[_0x329365(0x124)][_0x329365(0xa5)]!==void 0x0&&!s(_0x14129c['analysis']['connectorLabelLayouts']))throw new t(_0x329365(0x159),_0x329365(0x142));if(_0x14129c['analysis'][_0x329365(0x16b)]!==void 0x0&&(!a(_0x14129c['analysis'][_0x329365(0x16b)])||!l(_0x14129c[_0x329365(0x124)]['labelDistanceInspection'][_0x329365(0x118)])||_0x14129c[_0x329365(0x124)][_0x329365(0x16b)][_0x329365(0xab)]!=='rendered-stroke-polyline-v1'))throw new t(_0x329365(0x159),_0x329365(0xd9));for(let _0x1731bc of _0x14129c[_0x329365(0x124)]['issues']){if(_0x1731bc[_0x329365(0xd5)]!==void 0x0&&(!a(_0x1731bc[_0x329365(0xd5)])||!l(_0x1731bc[_0x329365(0xd5)][_0x329365(0xd8)])||!l(_0x1731bc[_0x329365(0xd5)]['maximum'])))throw new t(_0x329365(0x159),_0x329365(0x180));if(_0x1731bc[_0x329365(0xbe)]!==void 0x0){let _0x2460f9=_0x1731bc['tableRange'];if(!_0x2460f9||![_0x2460f9[_0x329365(0xc4)],_0x2460f9['endRow'],_0x2460f9[_0x329365(0xcf)],_0x2460f9[_0x329365(0xa8)]][_0x329365(0x104)](_0xa078be=>Number[_0x329365(0x112)](_0xa078be)&&_0xa078be>=0x0)||_0x2460f9['startRow']>_0x2460f9[_0x329365(0x12c)]||_0x2460f9['startColumn']>_0x2460f9[_0x329365(0xa8)])throw new t(_0x329365(0x159),'Board\x20capture\x20contains\x20an\x20invalid\x20table\x20cell\x20range');}if(_0x1731bc[_0x329365(0x121)]!==void 0x0&&(!c(_0x1731bc[_0x329365(0x121)]?.[_0x329365(0xdc)],!0x1)||!c(_0x1731bc[_0x329365(0x121)]?.[_0x329365(0x17e)],!0x0)))throw new t(_0x329365(0x159),_0x329365(0x15d));}}}function a(_0x470b09){const _0x1d3a9a=_0x3c171c;if(!_0x470b09||typeof _0x470b09!='object'||Array['isArray'](_0x470b09))return!0x1;let _0x48260f=Object[_0x1d3a9a(0x12f)](_0x470b09);return _0x48260f===Object['prototype']||_0x48260f===null;}function o(_0x4f40e0){const _0xb0c935=_0x3c171c;return a(_0x4f40e0)&&c(_0x4f40e0,!0x0)&&[_0x4f40e0[_0xb0c935(0xc9)],_0x4f40e0['top']][_0xb0c935(0x104)](_0x207dee=>typeof _0x207dee==_0xb0c935(0xb7)&&Number[_0xb0c935(0xbd)](_0x207dee));}function s(_0x4b1a2b){const _0x54c75b=_0x3c171c;if(!a(_0x4b1a2b))return!0x1;for(let [_0x3408a9,_0x556c0e]of Object['entries'](_0x4b1a2b)){if(_0x3408a9[_0x54c75b(0xe5)]()===''||!a(_0x556c0e))return!0x1;for(let [_0x280699,_0x1dc6c0]of Object[_0x54c75b(0xed)](_0x556c0e)){if(_0x280699[_0x54c75b(0xe5)]()===''||!a(_0x1dc6c0))return!0x1;if(_0x1dc6c0['status']===_0x54c75b(0x137)){if(Reflect['ownKeys'](_0x1dc6c0)['length']!==0x1||!Object[_0x54c75b(0x113)][_0x54c75b(0x14f)][_0x54c75b(0x163)](_0x1dc6c0,_0x54c75b(0xfd)))return!0x1;continue;}if(_0x1dc6c0['status']!==_0x54c75b(0x15a)||_0x1dc6c0[_0x54c75b(0xfb)]!==void 0x0&&!u(_0x1dc6c0[_0x54c75b(0xfb)])||!o(_0x1dc6c0['rect'])||!o(_0x1dc6c0[_0x54c75b(0x105)])||typeof _0x1dc6c0[_0x54c75b(0x11b)]!=_0x54c75b(0xb7)||!Number[_0x54c75b(0xbd)](_0x1dc6c0[_0x54c75b(0x11b)])||!a(_0x1dc6c0['outerSize'])||!c(_0x1dc6c0[_0x54c75b(0x10a)],!0x0)||!a(_0x1dc6c0['requiredSize'])||!c(_0x1dc6c0[_0x54c75b(0x11c)],!0x0)||![_0x1dc6c0['empty'],_0x1dc6c0['overflow'],_0x1dc6c0[_0x54c75b(0x14a)]][_0x54c75b(0x104)](_0x9f0eb5=>typeof _0x9f0eb5==_0x54c75b(0x109)))return!0x1;}}return!0x0;}function _0x861a(){const _0x1c0fbc=['signal','top','startColumn','Label-distance\x20threshold\x20was\x20not\x20echoed','map','Missing\x20native\x20label-distance\x20finding','visible','localeCompare','labelDistance','diagnostics','size','measured','Invalid\x20label-distance\x20receipt','formulaReferenceUnits','add','availableSize','runtime-unavailable','empty','3665432aROgcf','layout-plan-incomplete','object','pages\x20must\x20not\x20be\x20empty','rendered','port-plan-unavailable','trim','join','Board\x20capture\x20issue\x20counts\x20do\x20not\x20match\x20its\x20summary','text','Board\x20unitData.id\x20is\x20required',',\x20page\x20','stringify','Render\x20result\x20contains\x20unrequested\x20Slide\x20pages','entries','text-escapes-container','automatic-label-distance-unavailable','textPlanElementIds','labelPlan','portPlan','bind','none','text-off-page','fill','routes','board','Board\x20capture\x20contains\x20invalid\x20summary\x20counts','textPlan','automaticLabelDistance','unresolvedConnectorCount','status','findings','both','textPlanElementIds\x20must\x20select\x20unique\x20non-empty\x20shape\x20IDs\x20on\x20the\x20requested\x20pages','replace','type','values','every','bounds','element','top\x20','area','boolean','outerSize','clean','Slide\x20page\x20selector\x20is\x20invalid:\x20','keys','textPlanMaximumWidthGrowth','reason','Render\x20result\x20contains\x20duplicate\x20element\x20identities\x20on\x20page\x20','set','isInteger','prototype','layoutPlan','sha256','length','color','maximumAutomaticLabelDistance','patches','text-overlaps-text','angleRadians','requiredSize','layout:','includeLabelPlan','14luOjql','labels','textLayout','A\x20layout\x20plan\x20requires\x20rendered\x20Board\x20analysis\x20and\x20one\x20planning\x20request','unresolved-route','analysis','declared','pageId','unitData','Board\x20capture\x20contains\x20an\x20unexpected\x20page,\x20duplicate\x20page,\x20or\x20source','13157490JEwxjj','elements','distance','endRow','rule','connector-label-layout-unresolved','getPrototypeOf','warning','Label\x20distance\x20is\x20only\x20supported\x20for\x20Board','connector-label-distance-unresolved','opacity','413121MDoMkE','severity','includes','unresolved','pageWidth','transform','connectorId','unitId','no\x20fill','UnitLayoutLintError','unresolved-element-text','connectorData','content','rect','Board\x20capture\x20contains\x20invalid\x20connector\x20label\x20measurements','\x20=\x20','preconditions','modelRuntime','pageHeight','issues','1211270XgXHLP','Slide\x20layout\x20runtime\x20is\x20required','endpointConstrained','textPlanMaximumWidthGrowth\x20requires\x20selected\x20shape\x20IDs\x20and\x20a\x20finite\x20number\x20from\x201\x20to\x202','max','filter','summary','hasOwnProperty','shape','27KnsjIG','roundRect','round','startsWith','12qCVIJV','includePortPlan','hasOwn','slide','INVALID_RENDER_RESULT','ready','4928036ggGeMO','embeddedUnits','Board\x20capture\x20contains\x20invalid\x20text\x20measurements','bottom\x20','throwIfAborted','Slide\x20unitData.id\x20is\x20required','isArray','update','call','resolved','string','authored-placement','Label\x20plan\x20targets\x20an\x20unexpected\x20Unit\x20or\x20page','related','\x20\x20opacity\x20','text-plan-unavailable','labelDistanceInspection','captureSlideLayout','some','1482865qDacUx','Port\x20plans\x20require\x20rendered\x20Board\x20analysis','get','page','element-text-layout-unresolved','\x22\x20runs\x20off\x20the\x20page\x20(','text\x20\x22','Label\x20plans\x20require\x20rendered\x20Board\x20analysis','Text\x20plan\x20does\x20not\x20match\x20its\x20requested\x20Unit,\x20page\x20or\x20shape-size\x20selection','captureBoardModelLayout',');\x20ink\x20','fingerprint','Layout\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page,\x20status\x20or\x20payload','push','unit-layout-lint','digest','contentSize','maximum','Invalid\x20label-distance\x20evidence','pageOrder','height','elementType','6397854MmyMXu','elementId','width','Contradictory\x20empty-label\x20distance','error','bottom','\x20by\x20','connectorLabelLayouts','Model\x20analysis\x20does\x20not\x20establish\x20final\x20font\x20metrics\x20or\x20automatic\x20rendered\x20routes.','port-plan-incomplete','endColumn','labelIds','has','metric','ownKeys','INVALID_INPUT','left\x20','code','mode','pages','unitType','shapeType','Unit\x20layout\x20lint\x20supports\x20Slide\x20and\x20Board\x20only','min','model','number','unresolved-label','plan','Board\x20pageOrder\x20must\x20contain\x20unique\x20page\x20IDs','layout-plan-unavailable','connectorIds','isFinite','tableRange','incomplete','\x20overlaps\x20\x22','excluded','right','Board\x20mode\x20must\x20be\x20model,\x20rendered,\x20or\x20both','startRow','Board\x20page\x20selector\x20is\x20invalid:\x20','runtime','maximumAutomaticLabelDistance\x20must\x20be\x20a\x20finite\x20non-negative\x20number','ink','left','\x22\x20escapes\x20','sort','captureBoardLayout'];_0x861a=function(){return _0x1c0fbc;};return _0x861a();}function c(_0x3e2013,_0x449d06){const _0x5d9a97=_0x3c171c;if(!_0x3e2013||typeof _0x3e2013!=_0x5d9a97(0xe1))return!0x1;let _0x608035=_0x3e2013;return[_0x608035['width'],_0x608035[_0x5d9a97(0x182)]][_0x5d9a97(0x104)](_0x2abfc3=>typeof _0x2abfc3=='number'&&Number[_0x5d9a97(0xbd)](_0x2abfc3)&&(_0x449d06?_0x2abfc3>=0x0:_0x2abfc3>0x0));}function l(_0x147cff){const _0xb4c6fd=_0x3c171c;return typeof _0x147cff==_0xb4c6fd(0xb7)&&Number[_0xb4c6fd(0xbd)](_0x147cff)&&_0x147cff>=0x0;}function _0xdb3e(_0x24b703,_0x179787){_0x24b703=_0x24b703-0xa4;const _0x861a59=_0x861a();let _0xdb3ee3=_0x861a59[_0x24b703];return _0xdb3ee3;}function u(_0xcc8bd3){const _0x1facb1=_0x3c171c;return a(_0xcc8bd3)?_0xcc8bd3[_0x1facb1(0xfd)]==='ready'?l(_0xcc8bd3[_0x1facb1(0x12b)]):_0xcc8bd3[_0x1facb1(0xfd)]===_0x1facb1(0xc1)?typeof _0xcc8bd3[_0x1facb1(0x10f)]=='string'&&[_0x1facb1(0xde),_0x1facb1(0x166),'endpoint-role'][_0x1facb1(0x136)](_0xcc8bd3[_0x1facb1(0x10f)]):_0xcc8bd3['status']===_0x1facb1(0x137)&&Reflect[_0x1facb1(0xac)](_0xcc8bd3)[_0x1facb1(0x116)]===0x1:!0x1;}function d(_0x18f3fa,_0x547932,_0xcc4d93){const _0x35f1c7=_0x3c171c;let _0x28106c=_0x18f3fa[_0x35f1c7(0x16b)];if(_0x28106c===void 0x0)return!0x1;if(_0x28106c[_0x35f1c7(0x118)]!==_0x547932)throw new t(_0x35f1c7(0x159),_0x35f1c7(0xd0));let _0x21b29f=_0x18f3fa[_0x35f1c7(0xa5)];if(_0x21b29f===void 0x0)return!0x1;let _0x58ab6b=!0x0;for(let _0x31f5f8 of _0x18f3fa[_0x35f1c7(0xf7)]){let _0x48edef=_0xcc4d93[_0x31f5f8[_0x35f1c7(0x13a)]];if(!(!_0x48edef||!(_0x35f1c7(0x13f)in _0x48edef))){for(let _0x721096 of _0x48edef[_0x35f1c7(0x13f)][_0x35f1c7(0x120)]??[])Object[_0x35f1c7(0x157)](_0x21b29f[_0x31f5f8[_0x35f1c7(0x13a)]]??{},_0x721096['id'])||(_0x58ab6b=!0x1);}}for(let [_0x40c96d,_0x45eecd]of Object['entries'](_0x21b29f))for(let [_0x3caffc,_0x11f0ce]of Object[_0x35f1c7(0xed)](_0x45eecd)){if(_0x11f0ce[_0x35f1c7(0xfd)]===_0x35f1c7(0x137)||_0x11f0ce['automaticLabelDistance']===void 0x0){_0x58ab6b=!0x1;continue;}let _0xe1e95e=_0x11f0ce[_0x35f1c7(0xfb)];if(_0xe1e95e[_0x35f1c7(0xfd)]===_0x35f1c7(0x137)&&(_0x58ab6b=!0x1),_0xe1e95e['status']===_0x35f1c7(0xc1)&&_0xe1e95e['reason']===_0x35f1c7(0xde)!==_0x11f0ce[_0x35f1c7(0xde)]||_0xe1e95e['status']===_0x35f1c7(0x15a)&&_0x11f0ce[_0x35f1c7(0xde)])throw new t(_0x35f1c7(0x159),_0x35f1c7(0x187));if(_0xe1e95e[_0x35f1c7(0xfd)]===_0x35f1c7(0x15a)&&_0xe1e95e[_0x35f1c7(0x12b)]>_0x547932+0.001&&!_0x18f3fa[_0x35f1c7(0x147)][_0x35f1c7(0x16d)](_0x4087cf=>_0x4087cf[_0x35f1c7(0x12d)]==='connector-label-distance-exceeded'&&_0x4087cf[_0x35f1c7(0xbc)][_0x35f1c7(0x136)](_0x40c96d)&&_0x4087cf[_0x35f1c7(0xa9)]?.[_0x35f1c7(0x136)](_0x3caffc)))throw new t(_0x35f1c7(0x159),_0x35f1c7(0xd2));}for(let _0x2c950b of _0x18f3fa[_0x35f1c7(0x147)]){if(_0x2c950b['rule']!=='connector-label-distance-exceeded'&&_0x2c950b[_0x35f1c7(0x12d)]!==_0x35f1c7(0x132))continue;let _0x3d0c99=_0x2c950b[_0x35f1c7(0xbc)][0x0],_0x401062=_0x2c950b[_0x35f1c7(0xa9)]?.[0x0],_0x130077=_0x3d0c99&&_0x401062?_0x21b29f[_0x3d0c99]?.[_0x401062]:void 0x0,_0x1acad4=_0x130077?.['status']===_0x35f1c7(0x15a)?_0x130077['automaticLabelDistance']:void 0x0,_0x4f1a2b=_0x2c950b[_0x35f1c7(0x12d)]==='connector-label-distance-exceeded'?_0x1acad4?.[_0x35f1c7(0xfd)]===_0x35f1c7(0x15a)&&_0x1acad4[_0x35f1c7(0x12b)]>_0x547932+0.001&&_0x2c950b[_0x35f1c7(0x135)]===_0x35f1c7(0x188)&&_0x2c950b[_0x35f1c7(0xd5)]?.[_0x35f1c7(0xd8)]===_0x1acad4[_0x35f1c7(0x12b)]&&_0x2c950b[_0x35f1c7(0xd5)]?.[_0x35f1c7(0x17f)]===_0x547932:_0x1acad4?.['status']===_0x35f1c7(0x137)&&_0x2c950b[_0x35f1c7(0x135)]===_0x35f1c7(0x130)&&_0x2c950b['labelDistance']===void 0x0;if(_0x2c950b[_0x35f1c7(0xbc)][_0x35f1c7(0x116)]!==0x1||_0x2c950b['labelIds']?.[_0x35f1c7(0x116)]!==0x1||!_0x4f1a2b)throw new t(_0x35f1c7(0x159),'Contradictory\x20native\x20label-distance\x20finding');}return _0x58ab6b;}function f(_0x38f70d,_0xe3b006,_0x32c674,_0x91c7a7,_0x44c185,_0x427698){const _0x4e8af8=_0x3c171c;let _0x45a6f9=()=>{const _0xd89fba=_0xdb3e;throw new t(_0xd89fba(0x159),_0xd89fba(0x176));};(!a(_0x38f70d)||_0x38f70d[_0x4e8af8(0x13b)]!==_0xe3b006||_0x38f70d[_0x4e8af8(0x126)]!==_0x32c674||_0x38f70d[_0x4e8af8(0xfd)]!==_0x4e8af8(0x15a)&&_0x38f70d['status']!==_0x4e8af8(0xbf)||!Array[_0x4e8af8(0x161)](_0x38f70d[_0x4e8af8(0x119)])||!Array[_0x4e8af8(0x161)](_0x38f70d[_0x4e8af8(0x144)]))&&_0x45a6f9();let _0x189f86=new Set(_0x91c7a7),_0x3d12cd=new Set();for(let _0x57881f of _0x38f70d['patches']){(!a(_0x57881f)||typeof _0x57881f[_0x4e8af8(0x185)]!='string'||!_0x189f86[_0x4e8af8(0xaa)](_0x57881f['elementId'])||_0x3d12cd[_0x4e8af8(0xaa)](_0x57881f[_0x4e8af8(0x185)])||_0x44c185[_0x57881f[_0x4e8af8(0x185)]]?.[_0x4e8af8(0x102)]!=='shape'||Object[_0x4e8af8(0x10d)](_0x57881f)[_0x4e8af8(0x16d)](_0x4ca9e7=>_0x4ca9e7!=='elementId'&&_0x4ca9e7!==_0x4e8af8(0x139))||!a(_0x57881f[_0x4e8af8(0x139)]))&&_0x45a6f9();let _0x17bd9f=_0x57881f[_0x4e8af8(0x139)],_0x4175f4=_0x44c185[_0x57881f[_0x4e8af8(0x185)]]['transform'];(Object[_0x4e8af8(0x10d)](_0x17bd9f)[_0x4e8af8(0x16d)](_0x30351e=>_0x30351e!==_0x4e8af8(0x186)&&_0x30351e!==_0x4e8af8(0x182))||typeof _0x17bd9f[_0x4e8af8(0x186)]!=_0x4e8af8(0xb7)||!Number[_0x4e8af8(0xbd)](_0x17bd9f[_0x4e8af8(0x186)])||_0x17bd9f[_0x4e8af8(0x186)]<=0x0||_0x17bd9f['width']<(_0x4175f4[_0x4e8af8(0x186)]??0x0)||_0x427698!==void 0x0&&_0x17bd9f[_0x4e8af8(0x186)]>(_0x4175f4['width']??0x0)*_0x427698||typeof _0x17bd9f[_0x4e8af8(0x182)]!=_0x4e8af8(0xb7)||!Number[_0x4e8af8(0xbd)](_0x17bd9f[_0x4e8af8(0x182)])||_0x17bd9f['height']<=0x0||_0x17bd9f[_0x4e8af8(0x182)]<(_0x4175f4[_0x4e8af8(0x182)]??0x0))&&_0x45a6f9(),_0x3d12cd[_0x4e8af8(0xdb)](_0x57881f[_0x4e8af8(0x185)]);}}var p=0x2,m=0x6,h=0.02,g=0.15,_=0.5,v=new Set([_0x3c171c(0x141),_0x3c171c(0x152)]),y=['text-off-page',_0x3c171c(0xee),_0x3c171c(0x11a)];function b(_0x2d6ee9){return{async 'lint'(_0x2499bc){const _0x53c299=_0xdb3e;if(_0x2499bc['unitType']===_0x53c299(0xf8))return await r(_0x2499bc,_0x2d6ee9);if(_0x2499bc[_0x53c299(0xb2)]!=='slide')throw new t(_0x53c299(0xad),_0x53c299(0xb4));if(_0x53c299(0x118)in _0x2499bc&&_0x2499bc[_0x53c299(0x118)]!==void 0x0)throw new t(_0x53c299(0xad),_0x53c299(0x131));let _0x2409a3=z(_0x2499bc[_0x53c299(0x127)]['id']),_0x48faa2=x(_0x2499bc['unitData']['slideOrder']??[],_0x2499bc['pages']);if(_0x2d6ee9[_0x53c299(0xc6)]===void 0x0||!('captureSlideLayout'in _0x2d6ee9['runtime']))throw new t(_0x53c299(0xad),_0x53c299(0x149));let _0x4d9ac0=await _0x2d6ee9['runtime'][_0x53c299(0x16c)]({'unitType':_0x53c299(0x158),'unitData':_0x2499bc['unitData'],..._0x2499bc[_0x53c299(0xda)]===void 0x0?{}:{'formulaReferenceUnits':_0x2499bc[_0x53c299(0xda)]},'pages':_0x48faa2[_0x53c299(0xd1)](({page:_0x15fc37})=>_0x15fc37),..._0x2499bc[_0x53c299(0xcd)]===void 0x0?{}:{'signal':_0x2499bc[_0x53c299(0xcd)]}});return S(_0x4d9ac0,_0x48faa2),{'kind':_0x53c299(0x17c),'unitId':_0x2409a3,'unitType':_0x53c299(0x158),'coverage':{'pages':_0x48faa2,'rules':y},'findings':C(_0x4d9ac0)};}};}function x(_0x24888d,_0x1a2e7b){const _0x349b4c=_0x3c171c;if(_0x24888d[_0x349b4c(0x116)]===0x0)throw new t(_0x349b4c(0xad),'Slide\x20has\x20no\x20pages\x20to\x20lint');if(_0x1a2e7b!==void 0x0&&_0x1a2e7b[_0x349b4c(0x116)]===0x0)throw new t(_0x349b4c(0xad),'pages\x20must\x20not\x20be\x20empty');let _0x1d617a=_0x1a2e7b??_0x24888d[_0x349b4c(0xd1)]((_0x473d62,_0x1bdaaa)=>_0x1bdaaa+0x1),_0xdcdc58=new Set(),_0x2f0984=[];for(let _0x2b1008 of _0x1d617a){let _0x598bda=typeof _0x2b1008=='number'?_0x2b1008:_0x24888d['findIndex'](_0x2fce77=>_0x2fce77===_0x2b1008)+0x1;if(!Number[_0x349b4c(0x112)](_0x598bda)||_0x598bda<0x1||_0x598bda>_0x24888d['length'])throw new t(_0x349b4c(0xad),_0x349b4c(0x10c)+String(_0x2b1008));let _0x2541b1=_0x24888d[_0x598bda-0x1];_0xdcdc58['has'](_0x2541b1)||(_0xdcdc58['add'](_0x2541b1),_0x2f0984['push']({'page':_0x598bda,'pageId':_0x2541b1}));}return _0x2f0984;}function S(_0x1df155,_0x5cfcff){const _0x4ae135=_0x3c171c;let _0x4e2d6e=new Map();for(let _0x563e60 of _0x1df155[_0x4ae135(0xb1)]){let _0x1565c7=_0x4e2d6e[_0x4ae135(0x170)](_0x563e60['pageId'])??[];_0x1565c7[_0x4ae135(0x17b)](_0x563e60),_0x4e2d6e[_0x4ae135(0x111)](_0x563e60[_0x4ae135(0x126)],_0x1565c7);}for(let _0x166772 of _0x5cfcff){let _0x39b884=_0x4e2d6e['get'](_0x166772[_0x4ae135(0x126)])??[];if(_0x39b884[_0x4ae135(0x116)]!==0x1||_0x39b884[0x0]?.[_0x4ae135(0x171)]!==_0x166772['page'])throw new t(_0x4ae135(0x159),'Render\x20result\x20does\x20not\x20contain\x20exactly\x20one\x20matching\x20page\x20'+_0x166772[_0x4ae135(0x126)]);let _0x49227c=_0x39b884[0x0][_0x4ae135(0x12a)][_0x4ae135(0xd1)](({elementId:_0x964951})=>_0x964951);if(new Set(_0x49227c)[_0x4ae135(0xd7)]!==_0x49227c[_0x4ae135(0x116)])throw new t(_0x4ae135(0x159),_0x4ae135(0x110)+_0x166772[_0x4ae135(0x126)]);}if(_0x1df155[_0x4ae135(0xb1)][_0x4ae135(0x116)]!==_0x5cfcff[_0x4ae135(0x116)])throw new t(_0x4ae135(0x159),_0x4ae135(0xec));}function C(_0x2c4608){const _0x28e229=_0x3c171c;let _0x2e0d99=[];for(let _0x6d6810 of _0x2c4608['pages']){let _0x4ac3b9=_0x6d6810[_0x28e229(0x12a)][_0x28e229(0x14d)](_0x59b018=>!_0x59b018[_0x28e229(0x185)][_0x28e229(0x154)](_0x28e229(0x11d))),_0x81c5d7=_0x4ac3b9['filter'](_0x2c80be=>_0x2c80be[_0x28e229(0xe8)]!==void 0x0&&_0x2c80be[_0x28e229(0xe8)]['content'][_0x28e229(0xe5)]()!=='');for(let _0x32c6d9 of _0x81c5d7){let _0x216b6a=T(_0x32c6d9['text'][_0x28e229(0xc8)]),_0x2632c9={..._0x216b6a[_0x28e229(0xc9)]<-0x2?{'left':O(-_0x216b6a[_0x28e229(0xc9)])}:{},..._0x216b6a[_0x28e229(0xce)]<-0x2?{'top':O(-_0x216b6a[_0x28e229(0xce)])}:{},..._0x216b6a['right']>_0x6d6810[_0x28e229(0x138)]+p?{'right':O(_0x216b6a[_0x28e229(0xc2)]-_0x6d6810['pageWidth'])}:{},..._0x216b6a[_0x28e229(0x189)]>_0x6d6810[_0x28e229(0x146)]+p?{'bottom':O(_0x216b6a[_0x28e229(0x189)]-_0x6d6810['pageHeight'])}:{}},_0x1c2a23=R(_0x2632c9);if(_0x1c2a23!=='-'){let _0x508691=j(_0x32c6d9),_0x26155e=A({'left':0x0,'top':0x0,'width':_0x6d6810[_0x28e229(0x138)],'height':_0x6d6810[_0x28e229(0x146)]});_0x2e0d99[_0x28e229(0x17b)](w({'page':_0x6d6810[_0x28e229(0x171)],'pageId':_0x6d6810[_0x28e229(0x126)],'rule':_0x28e229(0xf5),'id':_0x32c6d9[_0x28e229(0x185)],'text':_0x508691,'pageBox':_0x26155e,'overflow':_0x2632c9,'detail':_0x28e229(0x174)+k(_0x508691['content'])+_0x28e229(0x173)+_0x1c2a23+');\x20ink\x20'+F(_0x508691[_0x28e229(0xc8)])+_0x28e229(0xea)+F(_0x26155e)}));}}for(let _0x3208ad of _0x81c5d7){let _0x22feed=L(_0x3208ad,_0x4ac3b9,_0x6d6810);if(_0x22feed===void 0x0)continue;let _0x28ce8f=T(_0x3208ad[_0x28e229(0xe8)][_0x28e229(0xc8)]),_0x5198f6=T(_0x22feed[_0x28e229(0x125)]),_0x2cb5c8=Math[_0x28e229(0x14c)](m,h*(_0x5198f6[_0x28e229(0xc2)]-_0x5198f6[_0x28e229(0xc9)])),_0x596726={..._0x5198f6['left']-_0x28ce8f[_0x28e229(0xc9)]>_0x2cb5c8?{'left':O(_0x5198f6[_0x28e229(0xc9)]-_0x28ce8f[_0x28e229(0xc9)])}:{},..._0x28ce8f[_0x28e229(0xc2)]-_0x5198f6[_0x28e229(0xc2)]>_0x2cb5c8?{'right':O(_0x28ce8f['right']-_0x5198f6['right'])}:{},..._0x28ce8f[_0x28e229(0x189)]-_0x5198f6[_0x28e229(0x189)]>_0x2cb5c8?{'bottom':O(_0x28ce8f[_0x28e229(0x189)]-_0x5198f6['bottom'])}:{}},_0x39b1a2=R(_0x596726);if(_0x39b1a2!=='-'){let _0x181815=j(_0x3208ad),_0x44531f=N(_0x22feed);_0x2e0d99[_0x28e229(0x17b)](w({'page':_0x6d6810[_0x28e229(0x171)],'pageId':_0x6d6810[_0x28e229(0x126)],'rule':_0x28e229(0xee),'id':_0x3208ad[_0x28e229(0x185)],'related':_0x22feed[_0x28e229(0x185)],'text':_0x181815,'container':_0x44531f,'overflow':_0x596726,'detail':_0x28e229(0x174)+k(_0x181815[_0x28e229(0x140)])+_0x28e229(0xca)+_0x44531f['id']+'\x20('+_0x39b1a2+_0x28e229(0x178)+F(_0x181815[_0x28e229(0xc8)])+',\x20'+_0x44531f['id']+_0x28e229(0x143)+_0x44531f['type']+'\x20'+P(_0x44531f[_0x28e229(0xf6)])+'\x20'+F(_0x44531f['box'])}));}}for(let _0x44d948=0x0;_0x44d948<_0x81c5d7[_0x28e229(0x116)];_0x44d948+=0x1)for(let _0x42f756=_0x44d948+0x1;_0x42f756<_0x81c5d7[_0x28e229(0x116)];_0x42f756+=0x1){let _0x22ac91=_0x81c5d7[_0x44d948],_0x1c2ad3=_0x81c5d7[_0x42f756],_0x373899=T(_0x22ac91['text'][_0x28e229(0xc8)]),_0x2a18c3=T(_0x1c2ad3[_0x28e229(0xe8)]['ink']),_0x5f22ab=E(D(_0x373899,_0x2a18c3));if(_0x5f22ab<=0x1)continue;let _0x57acf7=_0x5f22ab/Math[_0x28e229(0x14c)](0x1,Math[_0x28e229(0xb5)](E(_0x373899),E(_0x2a18c3)));if(_0x57acf7<=g)continue;let _0x57558c=j(_0x22ac91),_0x52ab66=j(_0x1c2ad3);_0x2e0d99[_0x28e229(0x17b)](w({'page':_0x6d6810[_0x28e229(0x171)],'pageId':_0x6d6810[_0x28e229(0x126)],'rule':'text-overlaps-text','id':_0x22ac91[_0x28e229(0x185)],'related':_0x1c2ad3[_0x28e229(0x185)],'text':_0x57558c,'other':_0x52ab66,'overlapRatio':Math[_0x28e229(0x153)](_0x57acf7*0x64)/0x64,'detail':_0x28e229(0x174)+k(_0x57558c[_0x28e229(0x140)])+'\x22'+M(_0x57558c)+_0x28e229(0xc0)+k(_0x52ab66[_0x28e229(0x140)])+'\x22'+M(_0x52ab66)+_0x28e229(0xa4)+Math['round'](_0x57acf7*0x64)+'%\x20of\x20the\x20smaller\x20glyph\x20band;\x20ink\x20'+F(_0x57558c[_0x28e229(0xc8)])+',\x20'+F(_0x52ab66[_0x28e229(0xc8)])}));}}return _0x2e0d99[_0x28e229(0xcb)]((_0x2ce545,_0x3d94dc)=>_0x2ce545[_0x28e229(0x179)][_0x28e229(0xd4)](_0x3d94dc[_0x28e229(0x179)]));}function w(_0x324040){const _0x482624=_0x3c171c;return{..._0x324040,'fingerprint':[_0x324040[_0x482624(0x12d)],_0x324040[_0x482624(0x126)],_0x324040['id'],_0x324040[_0x482624(0x168)]??''][_0x482624(0xe6)](':'),'severity':_0x482624(0x130)};}function T(_0x51a2a3){const _0x2c9ee=_0x3c171c;return{'left':_0x51a2a3['left'],'top':_0x51a2a3['top'],'right':_0x51a2a3['left']+_0x51a2a3[_0x2c9ee(0x186)],'bottom':_0x51a2a3[_0x2c9ee(0xce)]+_0x51a2a3['height']};}function E(_0x381b05){const _0x12107f=_0x3c171c;return Math[_0x12107f(0x14c)](0x0,_0x381b05[_0x12107f(0xc2)]-_0x381b05[_0x12107f(0xc9)])*Math[_0x12107f(0x14c)](0x0,_0x381b05['bottom']-_0x381b05[_0x12107f(0xce)]);}function D(_0x2a2e2a,_0x4f3fe6){const _0x38d853=_0x3c171c;return{'left':Math['max'](_0x2a2e2a[_0x38d853(0xc9)],_0x4f3fe6['left']),'top':Math['max'](_0x2a2e2a['top'],_0x4f3fe6[_0x38d853(0xce)]),'right':Math[_0x38d853(0xb5)](_0x2a2e2a[_0x38d853(0xc2)],_0x4f3fe6[_0x38d853(0xc2)]),'bottom':Math[_0x38d853(0xb5)](_0x2a2e2a[_0x38d853(0x189)],_0x4f3fe6['bottom'])};}function O(_0x5e9ef8){const _0x3e14f4=_0x3c171c;return Math[_0x3e14f4(0x153)](_0x5e9ef8);}function k(_0x348364){const _0x416906=_0x3c171c;let _0x430491=_0x348364[_0x416906(0x101)](/\s+/gu,'\x20')[_0x416906(0xe5)]();return _0x430491[_0x416906(0x116)]<=0x10?_0x430491:_0x430491['slice'](0x0,0x10)+'…';}function A(_0x381c8d){const _0x1cd5ed=_0x3c171c;return{'left':O(_0x381c8d[_0x1cd5ed(0xc9)]),'top':O(_0x381c8d[_0x1cd5ed(0xce)]),'width':O(_0x381c8d[_0x1cd5ed(0x186)]),'height':O(_0x381c8d[_0x1cd5ed(0x182)])};}function j(_0x561b17){const _0x2b5241=_0x3c171c;let _0xf08a81=_0x561b17['text'];return{'id':_0x561b17['elementId'],'content':_0xf08a81['content'],'ink':A(_0xf08a81[_0x2b5241(0xc8)]),..._0xf08a81[_0x2b5241(0x117)]===void 0x0?{}:{'color':_0xf08a81['color']},..._0xf08a81[_0x2b5241(0x133)]===void 0x0?{}:{'opacity':_0xf08a81['opacity']}};}function M(_0x3fa86d){const _0x3084d8=_0x3c171c;return _0x3fa86d[_0x3084d8(0x117)]===void 0x0&&_0x3fa86d[_0x3084d8(0x133)]===void 0x0?'':''+(_0x3fa86d[_0x3084d8(0x117)]===void 0x0?'':'\x20\x20'+_0x3fa86d['color'])+(_0x3fa86d[_0x3084d8(0x133)]===void 0x0?'':_0x3084d8(0x169)+_0x3fa86d[_0x3084d8(0x133)]);}function N(_0x39885b){const _0x4b4314=_0x3c171c;return{'id':_0x39885b['elementId'],'type':_0x39885b['shapeType']===void 0x0?_0x39885b[_0x4b4314(0x183)]:_0x39885b['elementType']+':'+_0x39885b[_0x4b4314(0xb3)],..._0x39885b[_0x4b4314(0xf6)]===void 0x0?{}:{'fill':_0x39885b[_0x4b4314(0xf6)]},'box':A(_0x39885b[_0x4b4314(0x125)])};}function P(_0xe550ef){const _0x5ad288=_0x3c171c;if(_0xe550ef===void 0x0)return _0x5ad288(0x13c);let _0x9cabd9=_0xe550ef[_0x5ad288(0x133)]===void 0x0||_0xe550ef[_0x5ad288(0x133)]===0x1?'':'\x20@'+_0xe550ef['opacity'];return((_0xe550ef['type']??'?')+'\x20'+(_0xe550ef[_0x5ad288(0x117)]??'')+_0x9cabd9)['trim']();}function F(_0x1bb0f6){const _0x32274d=_0x3c171c;return'('+_0x1bb0f6[_0x32274d(0xc9)]+','+_0x1bb0f6[_0x32274d(0xce)]+'\x20'+_0x1bb0f6['width']+'×'+_0x1bb0f6[_0x32274d(0x182)]+')';}function I(_0x248448){const _0xf1f131=_0x3c171c;let _0x2fc7f3=_0x248448[_0xf1f131(0xf6)];return!(_0x2fc7f3===void 0x0||_0x2fc7f3[_0xf1f131(0x102)]===_0xf1f131(0xf4)||_0x2fc7f3[_0xf1f131(0x133)]!==void 0x0&&_0x2fc7f3['opacity']<_||_0x248448[_0xf1f131(0xb3)]===void 0x0||!v[_0xf1f131(0xaa)](_0x248448[_0xf1f131(0xb3)])||_0x248448[_0xf1f131(0xd3)]===!0x1);}function L(_0x36af9f,_0x18873a,_0x382776){const _0x54bf86=_0x3c171c;let _0x3ef69c=T(_0x36af9f[_0x54bf86(0xe8)][_0x54bf86(0xc8)]),_0x1fa087;for(let _0x2ba7d7 of _0x18873a){if(_0x2ba7d7['zIndex']>=_0x36af9f['zIndex']||!I(_0x2ba7d7))continue;let _0x419b8b=T(_0x2ba7d7[_0x54bf86(0x125)]),_0x7f52ad=E(_0x419b8b);if(_0x7f52ad>=0.5*_0x382776[_0x54bf86(0x138)]*_0x382776[_0x54bf86(0x146)])continue;let _0x592651=_0x3ef69c[_0x54bf86(0xce)]>=_0x419b8b['top']-p&&_0x3ef69c['bottom']<=_0x419b8b[_0x54bf86(0x189)]+p,_0x3aa538=_0x3ef69c[_0x54bf86(0xc9)]>=_0x419b8b[_0x54bf86(0xc9)]-p&&_0x3ef69c[_0x54bf86(0xc9)]<=_0x419b8b[_0x54bf86(0xc2)]+p&&_0x3ef69c[_0x54bf86(0xce)]>=_0x419b8b[_0x54bf86(0xce)]-p,_0x240db6=E(D(_0x3ef69c,_0x419b8b))/Math[_0x54bf86(0x14c)](E(_0x3ef69c),0x1);!_0x592651||!_0x3aa538||_0x240db6<0.35||(_0x1fa087===void 0x0||_0x7f52ad<_0x1fa087[_0x54bf86(0x108)])&&(_0x1fa087={'element':_0x2ba7d7,'area':_0x7f52ad});}return _0x1fa087?.[_0x54bf86(0x106)];}function R(_0x4434d6){const _0x13bb6=_0x3c171c;let _0x14e349=[_0x4434d6['left']===void 0x0?'':_0x13bb6(0xae)+_0x4434d6[_0x13bb6(0xc9)]+'px',_0x4434d6[_0x13bb6(0xce)]===void 0x0?'':_0x13bb6(0x107)+_0x4434d6[_0x13bb6(0xce)]+'px',_0x4434d6[_0x13bb6(0xc2)]===void 0x0?'':'right\x20'+_0x4434d6['right']+'px',_0x4434d6[_0x13bb6(0x189)]===void 0x0?'':_0x13bb6(0x15e)+_0x4434d6[_0x13bb6(0x189)]+'px'][_0x13bb6(0x14d)](_0x4d6e26=>_0x4d6e26!=='');return _0x14e349[_0x13bb6(0x116)]===0x0?'-':_0x14e349[_0x13bb6(0xe6)](',\x20');}function z(_0x5216fd){const _0x47d499=_0x3c171c;if(typeof _0x5216fd!='string'||_0x5216fd[_0x47d499(0xe5)]()==='')throw new t(_0x47d499(0xad),_0x47d499(0x160));return _0x5216fd;}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.6.
|
|
4
|
+
"version": "1.6.2",
|
|
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.6.
|
|
21
|
+
"@univer-cli/univer-render-runtime": "1.6.2"
|
|
22
22
|
}
|
|
23
23
|
}
|