File: //proc/self/root/opt/netdata/netdata-web-files/v3/271.9e64387db6a3262814ff.chunk.js
try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3897407d-5cee-4ab8-a0f1-7b77f8b6b8b4",e._sentryDebugIdIdentifier="sentry-dbid-3897407d-5cee-4ab8-a0f1-7b77f8b6b8b4")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"429f5763d5247afc6c9cc40929cfac6204d0b42a"}}catch(e){}}(),self.onmessage=function(e){const{collection:n,sortBy:i}=e.data,t={"alpha-asc":(e,n)=>String(e.label).localeCompare(String(n.label),void 0,{sensitivity:"accent",ignorePunctuation:!0,numeric:!0}),"alpha-desc":(e,n)=>String(n.label).localeCompare(String(e.label),void 0,{sensitivity:"accent",ignorePunctuation:!0,numeric:!0}),"num-asc":(e,n)=>String(e.pill_raw||e.pill||e.actualCount||e.count||0).localeCompare(String(n.pill_raw||n.pill||n.actualCount||n.count||0),void 0,{sensitivity:"accent",ignorePunctuation:!0,numeric:!0}),"num-desc":(e,n)=>String(n.pill_raw||n.pill||n.actualCount||n.count||0).localeCompare(String(e.pill_raw||e.pill||e.actualCount||e.count||0),void 0,{sensitivity:"accent",ignorePunctuation:!0,numeric:!0})},a=t[i]||t["alpha-asc"],l=n.slice().sort(a);self.postMessage(l)};