(function(){'use strict';const a='yy-cursor-style';function b(e){if(!e||e['id']===0x0)return'';const f=e['--yy-cursor-default']==='default'?'default':'url(\x27'+e['--yy-cursor-default']+'\x27)\x20'+(e['d_x']||0x0)+'\x20'+(e['d_y']||0x0)+',\x20auto',g=e['--yy-cursor-pointer']==='pointer'?'pointer':'url(\x27'+e['--yy-cursor-pointer']+'\x27)\x20'+(e['p_x']||0x0)+'\x20'+(e['p_y']||0x0)+',\x20auto';return'\x0a\x20\x20\x20\x20\x20\x20*,\x20*::before,\x20*::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20'+f+'\x20!important;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20a,\x20button,\x20[role=\x22button\x22],\x20input[type=\x22button\x22],\x20input[type=\x22submit\x22],\x0a\x20\x20\x20\x20\x20\x20input[type=\x22reset\x22],\x20select,\x20[onclick],\x20[ng-click],\x20label[for],\x0a\x20\x20\x20\x20\x20\x20[tabindex]:not([tabindex=\x22-1\x22]),\x20[class*=\x22btn\x22],\x20[class*=\x22button\x22],\x0a\x20\x20\x20\x20\x20\x20[class*=\x22click\x22],\x20[class*=\x22link\x22],\x20[class*=\x22pointer\x22],\x0a\x20\x20\x20\x20\x20\x20summary,\x20details,\x20option,\x20[data-click],\x20[data-toggle]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20'+g+'\x20!important;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20';}function c(e){let f=document['getElementById'](a);if(!e||e['id']===0x0){if(f)f['remove']();return;}const g=b(e);if(!g){if(f)f['remove']();return;}!f&&(f=document['createElement']('style'),f['id']=a,f['type']='text/css',(document['head']||document['documentElement'])['appendChild'](f)),f['textContent']=g;}function d(){if(!chrome?.['storage']?.['local'])return;chrome['storage']['local']['get']('yy_cursor_data',e=>{e['yy_cursor_data']&&c(e['yy_cursor_data']);});}chrome?.['storage']?.['onChanged']&&chrome['storage']['onChanged']['addListener']((e,f)=>{f==='local'&&e['yy_cursor_data']&&c(e['yy_cursor_data']['newValue']);}),d();}());