sloth-d2c-figma-plugin 2.0.3-beta110 → 2.0.3-beta112
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/core.cjs.js +1 -1
- package/package.json +1 -1
- package/dist/107.cjs.js +0 -1
- package/dist/370.cjs.js +0 -1
- package/dist/576.cjs.js +0 -1
- package/dist/695.cjs.js +0 -1
- package/dist/787.cjs.js +0 -1
- package/dist/948.cjs.js +0 -1
package/dist/948.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';const a4_0x21da67=a4_0x307a;(function(_0x166fb0,_0x3a5384){const _0x380ff1=a4_0x307a,_0x5764c2=_0x166fb0();while(!![]){try{const _0x20cfe0=parseInt(_0x380ff1(0x159))/0x1+-parseInt(_0x380ff1(0x167))/0x2+parseInt(_0x380ff1(0x152))/0x3*(-parseInt(_0x380ff1(0x168))/0x4)+parseInt(_0x380ff1(0x156))/0x5*(-parseInt(_0x380ff1(0x147))/0x6)+-parseInt(_0x380ff1(0x16f))/0x7*(-parseInt(_0x380ff1(0x175))/0x8)+parseInt(_0x380ff1(0x169))/0x9*(parseInt(_0x380ff1(0x14c))/0xa)+parseInt(_0x380ff1(0x155))/0xb*(parseInt(_0x380ff1(0x149))/0xc);if(_0x20cfe0===_0x3a5384)break;else _0x5764c2['push'](_0x5764c2['shift']());}catch(_0x52b87a){_0x5764c2['push'](_0x5764c2['shift']());}}}(a4_0x535d,0xe49ab));function a4_0x535d(){const _0x48b1e1=['map','naturalHeight','2421224MCqTae','modules','naturalWidth','join','style=','push','6Jfmmud','sync','24BqsKDP','toBlob','getContext','841210jpKHwT','fillRect','height','createElement','width','-webkit-filter','277161wCVavZ','indexOf','image/','2765169DQxbBe','1967285CwyFwV','0px','scale','920002yWqXCe','eager','svg','src','filter','string','box-shadow','replace','type','ids','drawImage','style','fillStyle','restore','926364LpTjCf','8TRFblX','27JcnteF','crossOrigin','isFinite','image/svg+xml','split','trim','7KmaqKP','max','slice','loading'];a4_0x535d=function(){return _0x48b1e1;};return a4_0x535d();}function a4_0x307a(_0x54d6bf,_0x3e8300){const _0x535dd2=a4_0x535d();return a4_0x307a=function(_0x307ac4,_0x130318){_0x307ac4=_0x307ac4-0x146;let _0x298eca=_0x535dd2[_0x307ac4];return _0x298eca;},a4_0x307a(_0x54d6bf,_0x3e8300);}exports['id']=0x3b4,exports[a4_0x21da67(0x162)]=[0x3b4],exports[a4_0x21da67(0x176)]={0x121ed:(_0x252f18,_0x4669f6,_0x38a46f)=>{_0x38a46f['d'](_0x4669f6,{'a':()=>_0x533f1b});var _0x1f685c=_0x38a46f(0x1029f);function _0x594cb9(_0x58b4e0){const _0x141a0f=a4_0x307a;let _0x4a4392=function(_0x22d16e){const _0x13f404=a4_0x307a;let _0xe7bffc=[],_0x52a3d8='',_0x50bcda=0x0;for(let _0x5a6f81=0x0;_0x5a6f81<_0x22d16e['length'];_0x5a6f81++){let _0x28af1f=_0x22d16e[_0x5a6f81];'('===_0x28af1f&&_0x50bcda++,')'===_0x28af1f&&(_0x50bcda=Math[_0x13f404(0x170)](0x0,_0x50bcda-0x1)),';'===_0x28af1f&&0x0===_0x50bcda?(_0xe7bffc[_0x13f404(0x146)](_0x52a3d8),_0x52a3d8=''):_0x52a3d8+=_0x28af1f;}return _0x52a3d8[_0x13f404(0x16e)]()&&_0xe7bffc[_0x13f404(0x146)](_0x52a3d8),_0xe7bffc[_0x13f404(0x173)](_0x198b55=>_0x198b55[_0x13f404(0x16e)]())[_0x13f404(0x15d)](Boolean);}(_0x58b4e0),_0x382f04=null,_0x4e7960=null,_0x29ea47=null,_0x383d17=[];for(let _0x22eede of _0x4a4392){let _0xa40752=_0x22eede[_0x141a0f(0x153)](':');if(_0xa40752<0x0)continue;let _0x38eb64=_0x22eede[_0x141a0f(0x171)](0x0,_0xa40752)['trim']()['toLowerCase'](),_0x3bda15=_0x22eede[_0x141a0f(0x171)](_0xa40752+0x1)[_0x141a0f(0x16e)]();_0x141a0f(0x15f)===_0x38eb64?_0x29ea47=_0x3bda15:_0x141a0f(0x15d)===_0x38eb64?_0x382f04=_0x3bda15:_0x141a0f(0x151)===_0x38eb64?_0x4e7960=_0x3bda15:_0x383d17[_0x141a0f(0x146)]([_0x38eb64,_0x3bda15]);}if(_0x29ea47){let _0xf3da83=function(_0x56d51e){const _0x277c38=_0x141a0f;let _0x67749=[],_0x3341ec='',_0x3feec5=0x0;for(let _0x5e60e9=0x0;_0x5e60e9<_0x56d51e['length'];_0x5e60e9++){let _0x129b90=_0x56d51e[_0x5e60e9];'('===_0x129b90&&_0x3feec5++,')'===_0x129b90&&(_0x3feec5=Math[_0x277c38(0x170)](0x0,_0x3feec5-0x1)),','===_0x129b90&&0x0===_0x3feec5?(_0x67749[_0x277c38(0x146)](_0x3341ec[_0x277c38(0x16e)]()),_0x3341ec=''):_0x3341ec+=_0x129b90;}_0x3341ec[_0x277c38(0x16e)]()&&_0x67749[_0x277c38(0x146)](_0x3341ec[_0x277c38(0x16e)]());let _0x3c8059=[];for(let _0x4515fc of _0x67749){if(/\binset\b/i['test'](_0x4515fc))continue;let _0x2f7b8f=_0x4515fc['match'](/-?\d+(?:\.\d+)?px/gi)||[],[_0x1cc9a5=_0x277c38(0x157),_0x55b4a8='0px',_0x2e38d0=_0x277c38(0x157)]=_0x2f7b8f,_0x35f859=_0x4515fc[_0x277c38(0x160)](/-?\d+(?:\.\d+)?px/gi,'')[_0x277c38(0x160)](/\binset\b/gi,'')[_0x277c38(0x16e)]()[_0x277c38(0x160)](/\s{2,}/g,'\x20'),_0x47bd06=!!_0x35f859&&','!==_0x35f859;_0x3c8059[_0x277c38(0x146)]('drop-shadow('+_0x1cc9a5+'\x20'+_0x55b4a8+'\x20'+_0x2e38d0+(_0x47bd06?'\x20'+_0x35f859:'')+')');}return _0x3c8059[_0x277c38(0x178)]('\x20');}(_0x29ea47);_0xf3da83&&(_0x382f04=_0x382f04?_0x382f04+'\x20'+_0xf3da83:_0xf3da83,_0x4e7960=_0x4e7960?_0x4e7960+'\x20'+_0xf3da83:_0xf3da83);}let _0x4896a3=[..._0x383d17];return _0x382f04&&_0x4896a3['push'](['filter',_0x382f04]),_0x4e7960&&_0x4896a3['push']([_0x141a0f(0x151),_0x4e7960]),_0x4896a3[_0x141a0f(0x173)](([_0x5bf8fb,_0x15bd6e])=>_0x5bf8fb+':'+_0x15bd6e)[_0x141a0f(0x178)](';');}function _0x3f552e(_0x40363a){if(!(0x0,_0x1f685c['b'])()||!function(_0x5a9cbf){const _0x5b7d56=a4_0x307a;return _0x5b7d56(0x15e)==typeof _0x5a9cbf&&/^data:image\/svg\+xml/i['test'](_0x5a9cbf);}(_0x40363a))return _0x40363a;try{let _0x232cf5=function(_0x36720f){const _0x25923b=a4_0x307a;let _0x308dcc=_0x36720f[_0x25923b(0x153)](',');return _0x308dcc>=0x0?decodeURIComponent(_0x36720f[_0x25923b(0x171)](_0x308dcc+0x1)):'';}(_0x40363a);return function(_0x3541d6){return'data:image/svg+xml;charset=utf-8,'+encodeURIComponent(_0x3541d6);}(function(_0x5000ed){const _0x5ab3fa=a4_0x307a;return(_0x5000ed=_0x5000ed[_0x5ab3fa(0x160)](/<style[^>]*>([\s\S]*?)<\/style>/gi,(_0x3d9a84,_0x265aa6)=>_0x3d9a84['replace'](_0x265aa6,function(_0x4d144a){const _0x4419dd=_0x5ab3fa;return _0x4d144a[_0x4419dd(0x160)](/([^{}]+)\{([^}]*)\}/g,(_0x2e956d,_0x559051,_0x4dfc15)=>_0x559051+'{'+_0x594cb9(_0x4dfc15)+'}');}(_0x265aa6))))[_0x5ab3fa(0x160)](/style=(['"])([\s\S]*?)\1/gi,(_0x4b210c,_0x1f3e2e,_0x2b5ce9)=>_0x5ab3fa(0x179)+_0x1f3e2e+_0x594cb9(_0x2b5ce9)+_0x1f3e2e);}(_0x232cf5));}catch{return _0x40363a;}}async function _0x533f1b(_0x1f33c8,_0xea6dd8){const _0x46856d=a4_0x307a;let {width:_0x466b74,height:_0x27e897,scale:_0x3f85de=0x1,dpr:_0x3dc763=0x1,meta:_0x61ab8a={},backgroundColor:_0x3ba880}=_0xea6dd8;_0x1f33c8=_0x3f552e(_0x1f33c8);let _0x2f090a=new Image();_0x2f090a[_0x46856d(0x172)]=_0x46856d(0x15a),_0x2f090a['decoding']=_0x46856d(0x148),_0x2f090a[_0x46856d(0x16a)]='anonymous',_0x2f090a[_0x46856d(0x15c)]=_0x1f33c8,await _0x2f090a['decode']();let _0x37d5f8,_0x4c31eb,_0x29eaa8=_0x2f090a[_0x46856d(0x177)],_0x281d06=_0x2f090a[_0x46856d(0x174)],_0x2efd3d=Number[_0x46856d(0x16b)](_0x61ab8a['w0'])?_0x61ab8a['w0']:_0x29eaa8,_0x182bd8=Number[_0x46856d(0x16b)](_0x61ab8a['h0'])?_0x61ab8a['h0']:_0x281d06,_0x4cf394=Number['isFinite'](_0x466b74),_0x49600e=Number[_0x46856d(0x16b)](_0x27e897);_0x4cf394&&_0x49600e?(_0x37d5f8=Math[_0x46856d(0x170)](0x1,_0x466b74),_0x4c31eb=Math[_0x46856d(0x170)](0x1,_0x27e897)):_0x4cf394?(_0x37d5f8=_0x466b74,_0x4c31eb=_0x182bd8*(_0x466b74/Math[_0x46856d(0x170)](0x1,_0x2efd3d))):_0x49600e?(_0x4c31eb=_0x27e897,_0x37d5f8=_0x2efd3d*(_0x27e897/Math['max'](0x1,_0x182bd8))):(_0x37d5f8=_0x29eaa8,_0x4c31eb=_0x281d06),_0x37d5f8*=_0x3f85de,_0x4c31eb*=_0x3f85de;let _0x3e4307=document[_0x46856d(0x14f)]('canvas');_0x3e4307[_0x46856d(0x150)]=_0x37d5f8*_0x3dc763,_0x3e4307[_0x46856d(0x14e)]=_0x4c31eb*_0x3dc763,_0x3e4307[_0x46856d(0x164)][_0x46856d(0x150)]=_0x37d5f8+'px',_0x3e4307[_0x46856d(0x164)][_0x46856d(0x14e)]=_0x4c31eb+'px';let _0x1e546f=_0x3e4307[_0x46856d(0x14b)]('2d');return 0x1!==_0x3dc763&&_0x1e546f[_0x46856d(0x158)](_0x3dc763,_0x3dc763),_0x3ba880&&(_0x1e546f['save'](),_0x1e546f[_0x46856d(0x165)]=_0x3ba880,_0x1e546f[_0x46856d(0x14d)](0x0,0x0,_0x37d5f8,_0x4c31eb),_0x1e546f[_0x46856d(0x166)]()),_0x1e546f[_0x46856d(0x163)](_0x2f090a,0x0,0x0,_0x37d5f8,_0x4c31eb),_0x3e4307;}},0x642c:(_0x5e0d51,_0x3d664c,_0x5e14bd)=>{_0x5e14bd['d'](_0x3d664c,{'a':()=>_0x4961fd});var _0x2c4cee=_0x5e14bd(0x121ed);async function _0x4961fd(_0x298566,_0x156d4f){const _0x24963a=a4_0x307a;let _0x40e381=_0x156d4f[_0x24963a(0x161)];if(_0x24963a(0x15b)===_0x40e381){let _0x638620=decodeURIComponent(_0x298566[_0x24963a(0x16d)](',')[0x1]);return new Blob([_0x638620],{'type':_0x24963a(0x16c)});}let _0x42323c=await(0x0,_0x2c4cee['a'])(_0x298566,_0x156d4f);return new Promise(_0x861d8e=>_0x42323c[_0x24963a(0x14a)](_0x3fd215=>_0x861d8e(_0x3fd215),_0x24963a(0x154)+_0x40e381,_0x156d4f['quality']));}},0x15b74:(_0xbb88d7,_0x222bff,_0x20b589)=>{_0x20b589['d'](_0x222bff,{'toBlob':()=>_0x31baa3['a']});var _0x31baa3=_0x20b589(0x642c);}};
|