OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / preferences / preferences.model.js

1 lines · javascript ref:
(function(_0x965b36,_0x4eec51){const _0x22ad88={_0x26cd59:0x157,_0x50ab72:0x15b,_0xaf02ec:0x159,_0x319767:0x19c,_0x52446d:0x1a0,_0x1f7396:0x15d,_0x3fdbb0:0x197,_0x2e0a4b:0x19c,_0x4f69be:0x19a,_0x1fb0f0:0x15a,_0x38c12e:0x160,_0x23282a:0x157,_0x53f5b5:0x155,_0x48094a:0x151,_0x14b674:0x14f,_0x2129fe:0x1a9,_0xb73b49:0x19d,_0x3c6996:0x1a2,_0x24349e:0x161,_0x50c72c:0x15b,_0x4f8426:0x15f,_0x1a0caf:0x153,_0x194c98:0x158,_0x2eeb0d:0x19b,_0x40f783:0x19d,_0x17a261:0x1a0},_0x217e8a={_0x488569:0xdd},_0x2fedb4={_0x1d4345:0x21b};function _0x2be4c9(_0x62f6e,_0x3d4322,_0x3b0e6b,_0x351780){return _0x1d3a(_0x3d4322- -_0x2fedb4._0x1d4345,_0x351780);}function _0x99f45c(_0xdfb641,_0x775255,_0x3d169b,_0x5e488b){return _0x1d3a(_0x3d169b-_0x217e8a._0x488569,_0xdfb641);}const _0x1af0d8=_0x965b36();while(!![]){try{const _0x1128c4=parseInt(_0x2be4c9(-_0x22ad88._0x26cd59,-0x159,-_0x22ad88._0x50ab72,-_0x22ad88._0xaf02ec))/(-0xd4e+0x9b3+0x42*0xe)+parseInt(_0x99f45c(0x19e,_0x22ad88._0x319767,_0x22ad88._0x52446d,0x19f))/(0xde4+0x36c+-0x2*0x8a7)+-parseInt(_0x2be4c9(-0x155,-_0x22ad88._0x26cd59,-_0x22ad88._0x1f7396,-0x150))/(-0x10c2+-0x1*-0x1b88+0x227*-0x5)*(parseInt(_0x99f45c(0x194,_0x22ad88._0x3fdbb0,_0x22ad88._0x2e0a4b,_0x22ad88._0x4f69be))/(-0x220*0xe+0x2*-0xeb7+0x3b32*0x1))+parseInt(_0x2be4c9(-_0x22ad88._0xaf02ec,-_0x22ad88._0x1fb0f0,-_0x22ad88._0x38c12e,-_0x22ad88._0x23282a))/(-0x1383+0x2*0x10eb+-0xe4e)+parseInt(_0x2be4c9(-0x150,-_0x22ad88._0x53f5b5,-_0x22ad88._0x48094a,-_0x22ad88._0x14b674))/(-0x115*0x19+-0x1*0xc0b+0x271e)+parseInt(_0x99f45c(_0x22ad88._0x2129fe,_0x22ad88._0xb73b49,_0x22ad88._0x3c6996,0x19e))/(0xf*-0x72+-0x1d26+0x1*0x23db)*(-parseInt(_0x2be4c9(-_0x22ad88._0x24349e,-_0x22ad88._0x1f7396,-_0x22ad88._0x50c72c,-_0x22ad88._0x4f8426))/(0x8*-0x403+-0x19d*-0xa+0xffe))+-parseInt(_0x2be4c9(-0x151,-_0x22ad88._0x1a0caf,-0x157,-_0x22ad88._0x194c98))/(0x1224+0x13c2+-0x25dd)*(parseInt(_0x99f45c(_0x22ad88._0x2eeb0d,0x19e,_0x22ad88._0x40f783,_0x22ad88._0x17a261))/(-0x1cdf+-0x1*0x7b5+-0x56*-0x6d));if(_0x1128c4===_0x4eec51)break;else _0x1af0d8['push'](_0x1af0d8['shift']());}catch(_0x457824){_0x1af0d8['push'](_0x1af0d8['shift']());}}}(_0x3031,0x5e*0xf4f+0x5f1b7*-0x1+0x50e4d));const _0x5d2f6e=(function(){let _0x213be5=!![];return function(_0x426532,_0x39556e){const _0x406834=_0x213be5?function(){if(_0x39556e){const _0x30aa6c=_0x39556e['apply'](_0x426532,arguments);return _0x39556e=null,_0x30aa6c;}}:function(){};return _0x213be5=![],_0x406834;};}()),_0x3cfa6c=_0x5d2f6e(this,function(){const _0x2890a4={_0x280fdb:0x45,_0x124ae1:0x4b,_0x584f8d:0x4e,_0x45cc49:0x46,_0x3c8fbe:0x50,_0x62265:0x48,_0xe27443:0x4b,_0x1a3f21:0x14a,_0xb12137:0x149,_0x5dfe17:0x49,_0x1bc89c:0x55},_0x21db7e={_0xca083e:0x7e},_0x127ec8={_0x4d2b31:0x215};function _0x2fcf4b(_0x5d2795,_0x2a94dc,_0xca3c21,_0x5accaa){return _0x1d3a(_0xca3c21- -_0x127ec8._0x4d2b31,_0x5d2795);}function _0x34e960(_0x2346e1,_0x41d088,_0x141608,_0x4e6a1e){return _0x1d3a(_0x41d088- -_0x21db7e._0xca083e,_0x2346e1);}return _0x3cfa6c[_0x34e960(_0x2890a4._0x280fdb,_0x2890a4._0x124ae1,_0x2890a4._0x584f8d,_0x2890a4._0x45cc49)]()[_0x34e960(0x48,_0x2890a4._0x584f8d,_0x2890a4._0x124ae1,_0x2890a4._0x3c8fbe)]('(((.+)+)+)'+'+$')[_0x34e960(_0x2890a4._0x62265,_0x2890a4._0xe27443,_0x2890a4._0x584f8d,0x52)]()[_0x2fcf4b(-0x14c,-0x14b,-_0x2890a4._0x1a3f21,-_0x2890a4._0xb12137)+'r'](_0x3cfa6c)[_0x34e960(_0x2890a4._0x5dfe17,0x4e,0x4d,_0x2890a4._0x1bc89c)]('(((.+)+)+)'+'+$');});_0x3cfa6c();import{MIGRATED_PREFERENCES,PREFERENCES}from'./preferences.constant';export const PREFERENCE_KEYS=Object[_0x420b1d(0x7,0x0,-0x4,0x2)](PREFERENCES);function _0x1d3a(_0x44aabd,_0x321c64){const _0x44fab2=_0x3031();return _0x1d3a=function(_0x1052a4,_0x1bbaa4){_0x1052a4=_0x1052a4-(-0x2399+0x209a*-0x1+-0x35*-0x14d);let _0x115915=_0x44fab2[_0x1052a4];return _0x115915;},_0x1d3a(_0x44aabd,_0x321c64);}function _0x2904df(_0x326f30,_0x2ae059,_0x4e83de,_0x42e4a4){const _0x13da72={_0x45a4ee:0xf};return _0x1d3a(_0x4e83de- -_0x13da72._0x45a4ee,_0x326f30);}export const isValidPreferencesKey=_0x3d9558=>_0x3d9558&&PREFERENCE_KEYS[_0x420b1d(0x9,0x1,-0x1,0x5)](_0x3d9558);export const MIGRATED_PREFERENCE_KEYS=Object[_0x420b1d(0x3,-0x2,0x1,0x2)](MIGRATED_PREFERENCES);function _0x420b1d(_0x5ca6bd,_0x3e6426,_0x206274,_0x164890){const _0x1259f0={_0x53b840:0xc5};return _0x1d3a(_0x164890- -_0x1259f0._0x53b840,_0x3e6426);}function _0x3031(){const _0x1ea6f2=['9zsrFxb','toString','includes','constructo','search','120iyXgKv','4MPbVhY','2312950pHpusY','2183080XTiReG','528840XzrTRf','364506TiMMHa','629787AfHcnD','225155LYtdcN','516948wOgWdX','values'];_0x3031=function(){return _0x1ea6f2;};return _0x3031();}export const isMigratedPreferencesKey=_0x50bd4b=>_0x50bd4b&&MIGRATED_PREFERENCE_KEYS[_0x2904df(0xc3,0xb9,0xbb,0xb9)](_0x50bd4b);